From a71df15a587ec060147aaef2dcfc12d19500fdc8 Mon Sep 17 00:00:00 2001 From: Phoenix He Date: Fri, 25 Oct 2019 16:49:00 +0800 Subject: [PATCH] Fix json format by prettier --- .../2019-05-01-preview/appplatform.json | 2 +- .../examples/getDscNodeReportContent.json | 2 +- .../examples/getRunbookContent.json | 2 +- .../examples/getRunbookDraftContent.json | 2 +- .../examples/replaceRunbookDraftContent.json | 2 +- .../examples/getRunbookContent.json | 2 +- .../examples/getRunbookDraftContent.json | 2 +- .../examples/replaceRunbookDraftContent.json | 2 +- .../v1.0/examples/SuccessfulQueryRequest.json | 18 +- .../preview/v2.0/FormRecognizer.json | 4 +- .../preview/v2.0/examples/AnalyzeBatch.json | 3 +- .../v2.0/examples/AnalyzeOperationResult.json | 12 +- .../preview/v2.0/examples/GetModel.json | 9 +- .../preview/v2.0/examples/GetModels.json | 14 +- .../preview/v2.0/examples/ReceiptsBatch.json | 3 +- .../v2.0/examples/ReceiptsBatchResult.json | 43 +- .../preview/v2.0/examples/TrainBatch.json | 4 +- .../examples/TrainBatchWithSubFolders.json | 8 +- .../preview/v3.0/LUIS-Authoring.json | 52 +- ...essfulAddEntityFeatureRelationRequest.json | 40 +- ...essfulAddIntentFeatureRelationRequest.json | 40 +- ...fulDeleteEntityFeatureRelationRequest.json | 40 +- ...fulDeleteIntentFeatureRelationRequest.json | 40 +- ...uccessfulGetEntityFeaturesInfoRequest.json | 2 +- ...uccessfulGetIntentFeaturesInfoRequest.json | 2 +- ...uccessfulReplaceEntityFeaturesRequest.json | 50 +- ...uccessfulReplaceIntentFeaturesRequest.json | 50 +- .../preview/v1.0/Personalizer.json | 4 +- .../QnAMaker/stable/v4.0/QnAMakerRuntime.json | 6 +- .../SuccessfulVisualSearchRequest.json | 16 +- .../stable/2017-04-18/cognitiveservices.json | 10 +- .../stable/2019-07-01/compute.json | 26 +- .../stable/2019-07-01/disk.json | 13 +- .../examples/CreateADiskEncryptionSet.json | 4 +- ...reateAScaleSetWithAnAzureLoadBalancer.json | 2 +- .../CreateAScaleSetWithAutomaticRepairs.json | 329 ++- ...ScalesetWithDiskEncryptionSetResource.json | 26 +- ...reateAVmWithDiskEncryptionSetResource.json | 96 +- ...FromAManagedDiskWithDiskEncryptionSet.json | 2 +- ...ageFromASnapshotWithDiskEncryptionSet.json | 2 +- ...ateVirtualMachineScaleSetVMExtensions.json | 92 +- ...eteVirtualMachineScaleSetVMExtensions.json | 26 +- ...GetInformationAboutADiskEncryptionSet.json | 8 +- .../examples/GetVirtualMachine.json | 212 +- .../GetVirtualMachineInstanceView.json | 188 +- ...GetVirtualMachineScaleSetVMExtensions.json | 50 +- ...istDiskEncryptionSetsInAResourceGroup.json | 16 +- ...ListDiskEncryptionSetsInASubscription.json | 16 +- ...istVirtualMachineScaleSetVMExtensions.json | 68 +- ...ateVirtualMachineScaleSetVMExtensions.json | 64 +- .../stable/2019-10-01/consumption.json | 916 +++--- .../ChargesListByModernBillingAccount.json | 2 +- ...BillingAccountGroupByBillingProfileId.json | 6 +- ...ModernBillingAccountGroupByCustomerId.json | 12 +- ...BillingAccountGroupByInvoiceSectionId.json | 6 +- ...BillingProfileGroupByInvoiceSectionId.json | 10 +- ...tByModernBillingProfileInvoiceSection.json | 8 +- .../CreditSummaryByBillingProfile.json | 2 +- .../examples/EventsListByBillingProfile.json | 2 +- .../examples/LotsListByBillingProfile.json | 2 +- ...vationRecommendationsByBillingAccount.json | 4 +- ...vationRecommendationsByBillingProfile.json | 128 +- ...ervationRecommendationsBySubscription.json | 4 +- ...rBySubscriptionForScopeLookBackPeriod.json | 6 +- .../UsageDetailsListByMCABillingAccount.json | 76 +- .../UsageDetailsListByMCABillingProfile.json | 76 +- .../UsageDetailsListByMCACustomer.json | 76 +- .../UsageDetailsListByMCAInvoiceSection.json | 76 +- ...osmosDBCollectionGetMetricDefinitions.json | 2 +- ...DBDatabaseAccountGetMetricDefinitions.json | 2 +- .../CosmosDBDatabaseGetMetricDefinitions.json | 2 +- .../examples/CosmosDBSqlDatabaseGet.json | 4 +- .../examples/CosmosDBSqlDatabaseList.json | 4 +- ...osmosDBCollectionGetMetricDefinitions.json | 2 +- ...DBDatabaseAccountGetMetricDefinitions.json | 2 +- .../CosmosDBDatabaseGetMetricDefinitions.json | 2 +- .../examples/CosmosDBSqlDatabaseGet.json | 4 +- .../examples/CosmosDBSqlDatabaseList.json | 4 +- .../stable/2019-10-01/costmanagement.json | 34 +- .../examples/BillingAccountQuery.json | 100 +- .../examples/BillingAccountQueryGrouping.json | 74 +- .../2019-10-01/examples/DepartmentQuery.json | 100 +- .../examples/DepartmentQueryGrouping.json | 74 +- .../examples/EnrollmentAccountQuery.json | 100 +- .../EnrollmentAccountQueryGrouping.json | 88 +- .../examples/MCABillingAccountQuery.json | 100 +- .../MCABillingAccountQueryGrouping.json | 74 +- .../examples/MCABillingProfileQuery.json | 100 +- .../MCABillingProfileQueryGrouping.json | 74 +- .../2019-10-01/examples/MCACustomerQuery.json | 100 +- .../examples/MCACustomerQueryGrouping.json | 74 +- .../examples/MCAInvoiceSectionQuery.json | 100 +- .../MCAInvoiceSectionQueryGrouping.json | 74 +- .../examples/ManagementGroupQuery.json | 100 +- .../ManagementGroupQueryGrouping.json | 88 +- .../examples/ResourceGroupQuery.json | 76 +- .../examples/ResourceGroupQueryGrouping.json | 76 +- .../examples/SubscriptionQuery.json | 100 +- .../examples/SubscriptionQueryGrouping.json | 84 +- .../2018-09-01-preview/customproviders.json | 4 +- .../preview/2018-11-01-preview/DataShare.json | 2 +- .../examples/DataSetMappings_Create.json | 2 +- .../examples/DataSetMappings_Get.json | 2 +- ...taSetMappings_ListByShareSubscription.json | 2 +- .../DataSetMappings_SqlDB_Create.json | 8 +- ...ngs_SqlDWDataSetToAdlsGen2File_Create.json | 2 +- .../DataSetMappings_SqlDW_Create.json | 8 +- .../examples/DataSets_Create.json | 2 +- .../examples/DataSets_Get.json | 2 +- .../examples/DataSets_ListByShare.json | 2 +- .../examples/DataSets_SqlDBTable_Create.json | 2 +- .../examples/DataSets_SqlDWTable_Create.json | 8 +- ...roviderShareSubscriptions_ListByShare.json | 2 +- .../stable/2018-01-01/Storage.json | 2 +- .../preview/2020-01-01-preview/EventGrid.json | 70 +- .../preview/2019-03-18/HybridCompute.json | 2 +- .../preview/2019-08-02/HybridCompute.json | 2481 ++++++++--------- .../2019-08-02/examples/GETExtension.json | 68 +- .../2019-08-02/examples/LISTExtension.json | 70 +- .../2019-08-02/examples/Machines_Delete.json | 5 +- .../2019-08-02/examples/Machines_Get.json | 52 +- .../Machines_ListByResourceGroup.json | 36 +- .../examples/Machines_ListBySubscription.json | 34 +- .../2019-08-02/examples/Machines_Update.json | 2 +- .../2019-08-02/examples/PUTExtension.json | 115 +- .../2019-08-02/examples/UpdateExtension.json | 91 +- .../GetMarketplaceRegistrationDefinition.json | 2 +- .../2019-09-01/examples/IpGroupsCreate.json | 110 +- .../2019-09-01/examples/IpGroupsDelete.json | 24 +- .../2019-09-01/examples/IpGroupsGet.json | 58 +- .../examples/IpGroupsListByResourceGroup.json | 102 +- .../examples/IpGroupsListBySubscription.json | 100 +- .../examples/IpGroupsUpdateTags.json | 70 +- .../stable/2019-09-01/ipGroups.json | 2 +- .../stable/2019-09-01/privateLinkService.json | 2 +- .../2019-04-01/examples/GetCatalog.json | 2 +- .../preview/2019-04-01/reservations.json | 2 +- .../2019-10-01-preview/deploymentScripts.json | 7 +- .../examples/DeploymentScripts_Get.json | 1 - .../examples/DeploymentScripts_GetLogs.json | 1 - .../DeploymentScripts_GetLogsDefault.json | 1 - .../DeploymentScripts_ListBySubscription.json | 3 +- .../DeploymentScripts_Min_Create.json | 2 +- .../examples/DeploymentScripts_Update.json | 12 +- .../stable/6.2/examples/CreateService-1.json | 4 +- .../stable/6.2/examples/CreateService-2.json | 4 +- .../stable/6.2/examples/CreateService-3.json | 6 +- .../stable/6.2/examples/CreateService-4.json | 6 +- .../GetContainerLogsDeployedOnNode-2.json | 2 +- .../stable/6.2/examples/UpdateService-1.json | 2 +- .../stable/6.3/examples/CreateService-1.json | 4 +- .../stable/6.3/examples/CreateService-2.json | 4 +- .../stable/6.3/examples/CreateService-3.json | 6 +- .../stable/6.3/examples/CreateService-4.json | 6 +- .../GetContainerLogsDeployedOnNode-2.json | 2 +- .../stable/6.3/examples/UpdateService-1.json | 2 +- .../stable/6.4/examples/CreateService-1.json | 4 +- .../stable/6.4/examples/CreateService-2.json | 4 +- .../stable/6.4/examples/CreateService-3.json | 6 +- .../stable/6.4/examples/CreateService-4.json | 6 +- .../GetContainerLogsDeployedOnNode-2.json | 2 +- .../stable/6.4/examples/UpdateService-1.json | 2 +- .../stable/6.5/examples/CreateService-1.json | 4 +- .../stable/6.5/examples/CreateService-2.json | 4 +- .../stable/6.5/examples/CreateService-3.json | 6 +- .../stable/6.5/examples/CreateService-4.json | 6 +- .../GetContainerLogsDeployedOnNode-2.json | 2 +- .../stable/6.5/examples/UpdateService-1.json | 2 +- .../CheckNameAvailabilityServerInvalid.json | 2 +- ...ccountDeletePrivateEndpointConnection.json | 2 +- ...geAccountGetPrivateEndpointConnection.json | 50 +- ...torageAccountListPrivateLinkResources.json | 196 +- ...geAccountPutPrivateEndpointConnection.json | 68 +- .../stable/2019-04-01/vmwarecloudsimple.json | 2 +- .../stable/2018-02-01/WebApps.json | 4 +- 175 files changed, 4480 insertions(+), 4473 deletions(-) diff --git a/specification/appplatform/resource-manager/Microsoft.AppPlatform/preview/2019-05-01-preview/appplatform.json b/specification/appplatform/resource-manager/Microsoft.AppPlatform/preview/2019-05-01-preview/appplatform.json index 63c90804716b..26e43dd604cd 100644 --- a/specification/appplatform/resource-manager/Microsoft.AppPlatform/preview/2019-05-01-preview/appplatform.json +++ b/specification/appplatform/resource-manager/Microsoft.AppPlatform/preview/2019-05-01-preview/appplatform.json @@ -2839,4 +2839,4 @@ ] } ] -} \ No newline at end of file +} diff --git a/specification/automation/resource-manager/Microsoft.Automation/stable/2015-10-31/examples/getDscNodeReportContent.json b/specification/automation/resource-manager/Microsoft.Automation/stable/2015-10-31/examples/getDscNodeReportContent.json index a7e022751551..ec45158df0a4 100644 --- a/specification/automation/resource-manager/Microsoft.Automation/stable/2015-10-31/examples/getDscNodeReportContent.json +++ b/specification/automation/resource-manager/Microsoft.Automation/stable/2015-10-31/examples/getDscNodeReportContent.json @@ -10,7 +10,7 @@ "responses": { "200": { "headers": {}, - "body": "{\"JobId\":\"903a5ead-140c-11e7-a943-000d3a6140c9\",\"OperationType\":\"Consistency\",\"NodeName\":\"DSCCOMP\",\"IpAddress\":\"172.16.2.5;127.0.0.1;fe80::4c51:9518:aa3c:256a%5;::2000:0:0:0;::1;::2000:0:0:0;2001:0:9d38:78cf:106b:130a:53ef:fdfa;fe80::106b:130a:53ef:fdfa%7\",\"LCMVersion\":\"2.0\",\"ReportFormatVersion\":\"2.0\",\"StartTime\":\"2017-03-28T23:16:27.5870000+00:00\",\"Errors\":[],\"StatusData\":[\"{\\\"IPV4Addresses\\\":[\\\"172.16.2.5\\\",\\\"127.0.0.1\\\"],\\\"CurrentChecksum\\\":\\\"7ABB723643164D83E81032A9607FF164CE685487E5C2A8827284479582853DA4\\\",\\\"MACAddresses\\\":[\\\"00-0D-3A-61-40-C9\\\",\\\"00-00-00-00-00-00-00-E0\\\",\\\"00-00-00-00-00-00-00-E0\\\"],\\\"Type\\\":\\\"Consistency\\\",\\\"HostName\\\":\\\"DSCCOMP\\\",\\\"Locale\\\":\\\"en-US\\\",\\\"StartDate\\\":\\\"2017-03-28T23:16:27.5870000+00:00\\\",\\\"JobID\\\":\\\"{903A5EAD-140C-11E7-A943-000D3A6140C9}\\\",\\\"LCMVersion\\\":\\\"2.0\\\",\\\"IPV6Addresses\\\":[\\\"fe80::4c51:9518:aa3c:256a%5\\\",\\\"::2000:0:0:0\\\",\\\"::1\\\",\\\"::2000:0:0:0\\\",\\\"2001:0:9d38:78cf:106b:130a:53ef:fdfa\\\",\\\"fe80::106b:130a:53ef:fdfa%7\\\"]}\"],\"AdditionalData\":[{\"Key\":\"OSVersion\",\"Value\":\"{\\\"VersionString\\\":\\\"Microsoft Windows NT 10.0.14393.0\\\",\\\"ServicePack\\\":\\\"\\\",\\\"Platform\\\":\\\"Win32NT\\\"}\"},{\"Key\":\"PSVersion\",\"Value\":\"{\\\"CLRVersion\\\":\\\"4.0.30319.42000\\\",\\\"PSVersion\\\":\\\"5.1.14393.693\\\",\\\"BuildVersion\\\":\\\"10.0.14393.693\\\"}\"}]}\r\n\r\n{\"JobId\":\"903a5ead-140c-11e7-a943-000d3a6140c9\",\"OperationType\":\"Consistency\",\"RefreshMode\":\"Pull\",\"Status\":\"Success\",\"ReportFormatVersion\":\"2.0\",\"ConfigurationVersion\":\"2.0.0\",\"StartTime\":\"2017-03-28T23:16:27.5870000+00:00\",\"EndTime\":\"2017-03-28T23:16:27.5870000+00:00\",\"RebootRequested\":\"False\",\"Errors\":[],\"StatusData\":[\"{\\\"StartDate\\\":\\\"2017-03-28T23:16:27.5870000+00:00\\\",\\\"IPV6Addresses\\\":[\\\"fe80::4c51:9518:aa3c:256a%5\\\",\\\"::2000:0:0:0\\\",\\\"::1\\\",\\\"::2000:0:0:0\\\",\\\"2001:0:9d38:78cf:106b:130a:53ef:fdfa\\\",\\\"fe80::106b:130a:53ef:fdfa%7\\\"],\\\"DurationInSeconds\\\":\\\"0\\\",\\\"JobID\\\":\\\"{903A5EAD-140C-11E7-A943-000D3A6140C9}\\\",\\\"CurrentChecksum\\\":\\\"7ABB723643164D83E81032A9607FF164CE685487E5C2A8827284479582853DA4\\\",\\\"MetaData\\\":\\\"Author: Administrator; Name: SetupServer; Version: 2.0.0; GenerationDate: 03\/28\/2017 22:27:31; GenerationHost: CLIENT;\\\",\\\"RebootRequested\\\":\\\"False\\\",\\\"Status\\\":\\\"Success\\\",\\\"IPV4Addresses\\\":[\\\"172.16.2.5\\\",\\\"127.0.0.1\\\"],\\\"LCMVersion\\\":\\\"2.0\\\",\\\"NumberOfResources\\\":\\\"1\\\",\\\"Type\\\":\\\"Consistency\\\",\\\"HostName\\\":\\\"DSCCOMP\\\",\\\"ResourcesInDesiredState\\\":[{\\\"SourceInfo\\\":\\\"::4::32::WindowsFeature\\\",\\\"ModuleName\\\":\\\"PsDesiredStateConfiguration\\\",\\\"DurationInSeconds\\\":\\\"0.25\\\",\\\"InstanceName\\\":\\\"IIS\\\",\\\"StartDate\\\":\\\"2017-03-28T23:16:28.1810000+00:00\\\",\\\"ResourceName\\\":\\\"WindowsFeature\\\",\\\"ModuleVersion\\\":\\\"1.1\\\",\\\"RebootRequested\\\":\\\"False\\\",\\\"ResourceId\\\":\\\"[WindowsFeature]IIS\\\",\\\"ConfigurationName\\\":\\\"SetupServer\\\",\\\"InDesiredState\\\":\\\"True\\\"}],\\\"MACAddresses\\\":[\\\"00-0D-3A-61-40-C9\\\",\\\"00-00-00-00-00-00-00-E0\\\",\\\"00-00-00-00-00-00-00-E0\\\"],\\\"MetaConfiguration\\\":{\\\"AgentId\\\":\\\"CE4DA358-F216-11E6-A942-000D3A6140C9\\\",\\\"SignatureValidations\\\":[],\\\"ConfigurationDownloadManagers\\\":[{\\\"RegistrationKey\\\":\\\"\\\",\\\"ServerURL\\\":\\\"https:\/\/eus2-agentservice-prod-1.azure-automation.net\/accounts\/0e44bf26-7f40-490b-bd6d-2ea0d422ace0\\\",\\\"ResourceId\\\":\\\"[ConfigurationRepositoryWeb]AzureAutomationDSC\\\",\\\"ConfigurationNames\\\":[],\\\"SourceInfo\\\":\\\"C:\\\\\\\\Packages\\\\\\\\Plugins\\\\\\\\Microsoft.Powershell.DSC\\\\\\\\2.22.0.0\\\\\\\\DSCWork\\\\\\\\RegistrationMetaConfigV2.1\\\\\\\\RegistrationMetaConfigV2.ps1::69::9::ConfigurationRepositoryWeb\\\"}],\\\"ActionAfterReboot\\\":\\\"ContinueConfiguration\\\",\\\"LCMCompatibleVersions\\\":[\\\"1.0\\\",\\\"2.0\\\"],\\\"LCMState\\\":\\\"Idle\\\",\\\"ResourceModuleManagers\\\":[{\\\"RegistrationKey\\\":\\\"\\\",\\\"ServerURL\\\":\\\"https:\/\/eus2-agentservice-prod-1.azure-automation.net\/accounts\/0e44bf26-7f40-490b-bd6d-2ea0d422ace0\\\",\\\"ResourceId\\\":\\\"[ResourceRepositoryWeb]AzureAutomationDSC\\\",\\\"SourceInfo\\\":\\\"C:\\\\\\\\Packages\\\\\\\\Plugins\\\\\\\\Microsoft.Powershell.DSC\\\\\\\\2.22.0.0\\\\\\\\DSCWork\\\\\\\\RegistrationMetaConfigV2.1\\\\\\\\RegistrationMetaConfigV2.ps1::76::9::ResourceRepositoryWeb\\\"}],\\\"ReportManagers\\\":[{\\\"RegistrationKey\\\":\\\"\\\",\\\"ServerURL\\\":\\\"https:\/\/eus2-agentservice-prod-1.azure-automation.net\/accounts\/0e44bf26-7f40-490b-bd6d-2ea0d422ace0\\\",\\\"ResourceId\\\":\\\"[ReportServerWeb]AzureAutomationDSC\\\",\\\"SourceInfo\\\":\\\"C:\\\\\\\\Packages\\\\\\\\Plugins\\\\\\\\Microsoft.Powershell.DSC\\\\\\\\2.22.0.0\\\\\\\\DSCWork\\\\\\\\RegistrationMetaConfigV2.1\\\\\\\\RegistrationMetaConfigV2.ps1::82::9::ReportServerWeb\\\"}],\\\"StatusRetentionTimeInDays\\\":\\\"10\\\",\\\"LCMVersion\\\":\\\"2.0\\\",\\\"MaximumDownloadSizeMB\\\":\\\"500\\\",\\\"ConfigurationMode\\\":\\\"ApplyAndMonitor\\\",\\\"RefreshFrequencyMins\\\":\\\"30\\\",\\\"RebootNodeIfNeeded\\\":\\\"False\\\",\\\"SignatureValidationPolicy\\\":\\\"NONE\\\",\\\"RefreshMode\\\":\\\"Pull\\\",\\\"DebugMode\\\":[\\\"NONE\\\"],\\\"CertificateID\\\":\\\"89D09942A682169E05ED0FB5B4BD9A4EA1F169F0\\\",\\\"AllowModuleOverwrite\\\":\\\"False\\\",\\\"ConfigurationModeFrequencyMins\\\":\\\"15\\\",\\\"LCMStateDetail\\\":\\\"\\\"},\\\"Locale\\\":\\\"en-US\\\",\\\"Mode\\\":\\\"Pull\\\"}\"],\"AdditionalData\":[{\"Key\":\"OSVersion\",\"Value\":\"{\\\"VersionString\\\":\\\"Microsoft Windows NT 10.0.14393.0\\\",\\\"ServicePack\\\":\\\"\\\",\\\"Platform\\\":\\\"Win32NT\\\"}\"},{\"Key\":\"PSVersion\",\"Value\":\"{\\\"CLRVersion\\\":\\\"4.0.30319.42000\\\",\\\"PSVersion\\\":\\\"5.1.14393.693\\\",\\\"BuildVersion\\\":\\\"10.0.14393.693\\\"}\"}]}\r\n\r\n" + "body": "{\"JobId\":\"903a5ead-140c-11e7-a943-000d3a6140c9\",\"OperationType\":\"Consistency\",\"NodeName\":\"DSCCOMP\",\"IpAddress\":\"172.16.2.5;127.0.0.1;fe80::4c51:9518:aa3c:256a%5;::2000:0:0:0;::1;::2000:0:0:0;2001:0:9d38:78cf:106b:130a:53ef:fdfa;fe80::106b:130a:53ef:fdfa%7\",\"LCMVersion\":\"2.0\",\"ReportFormatVersion\":\"2.0\",\"StartTime\":\"2017-03-28T23:16:27.5870000+00:00\",\"Errors\":[],\"StatusData\":[\"{\\\"IPV4Addresses\\\":[\\\"172.16.2.5\\\",\\\"127.0.0.1\\\"],\\\"CurrentChecksum\\\":\\\"7ABB723643164D83E81032A9607FF164CE685487E5C2A8827284479582853DA4\\\",\\\"MACAddresses\\\":[\\\"00-0D-3A-61-40-C9\\\",\\\"00-00-00-00-00-00-00-E0\\\",\\\"00-00-00-00-00-00-00-E0\\\"],\\\"Type\\\":\\\"Consistency\\\",\\\"HostName\\\":\\\"DSCCOMP\\\",\\\"Locale\\\":\\\"en-US\\\",\\\"StartDate\\\":\\\"2017-03-28T23:16:27.5870000+00:00\\\",\\\"JobID\\\":\\\"{903A5EAD-140C-11E7-A943-000D3A6140C9}\\\",\\\"LCMVersion\\\":\\\"2.0\\\",\\\"IPV6Addresses\\\":[\\\"fe80::4c51:9518:aa3c:256a%5\\\",\\\"::2000:0:0:0\\\",\\\"::1\\\",\\\"::2000:0:0:0\\\",\\\"2001:0:9d38:78cf:106b:130a:53ef:fdfa\\\",\\\"fe80::106b:130a:53ef:fdfa%7\\\"]}\"],\"AdditionalData\":[{\"Key\":\"OSVersion\",\"Value\":\"{\\\"VersionString\\\":\\\"Microsoft Windows NT 10.0.14393.0\\\",\\\"ServicePack\\\":\\\"\\\",\\\"Platform\\\":\\\"Win32NT\\\"}\"},{\"Key\":\"PSVersion\",\"Value\":\"{\\\"CLRVersion\\\":\\\"4.0.30319.42000\\\",\\\"PSVersion\\\":\\\"5.1.14393.693\\\",\\\"BuildVersion\\\":\\\"10.0.14393.693\\\"}\"}]}\r\n\r\n{\"JobId\":\"903a5ead-140c-11e7-a943-000d3a6140c9\",\"OperationType\":\"Consistency\",\"RefreshMode\":\"Pull\",\"Status\":\"Success\",\"ReportFormatVersion\":\"2.0\",\"ConfigurationVersion\":\"2.0.0\",\"StartTime\":\"2017-03-28T23:16:27.5870000+00:00\",\"EndTime\":\"2017-03-28T23:16:27.5870000+00:00\",\"RebootRequested\":\"False\",\"Errors\":[],\"StatusData\":[\"{\\\"StartDate\\\":\\\"2017-03-28T23:16:27.5870000+00:00\\\",\\\"IPV6Addresses\\\":[\\\"fe80::4c51:9518:aa3c:256a%5\\\",\\\"::2000:0:0:0\\\",\\\"::1\\\",\\\"::2000:0:0:0\\\",\\\"2001:0:9d38:78cf:106b:130a:53ef:fdfa\\\",\\\"fe80::106b:130a:53ef:fdfa%7\\\"],\\\"DurationInSeconds\\\":\\\"0\\\",\\\"JobID\\\":\\\"{903A5EAD-140C-11E7-A943-000D3A6140C9}\\\",\\\"CurrentChecksum\\\":\\\"7ABB723643164D83E81032A9607FF164CE685487E5C2A8827284479582853DA4\\\",\\\"MetaData\\\":\\\"Author: Administrator; Name: SetupServer; Version: 2.0.0; GenerationDate: 03/28/2017 22:27:31; GenerationHost: CLIENT;\\\",\\\"RebootRequested\\\":\\\"False\\\",\\\"Status\\\":\\\"Success\\\",\\\"IPV4Addresses\\\":[\\\"172.16.2.5\\\",\\\"127.0.0.1\\\"],\\\"LCMVersion\\\":\\\"2.0\\\",\\\"NumberOfResources\\\":\\\"1\\\",\\\"Type\\\":\\\"Consistency\\\",\\\"HostName\\\":\\\"DSCCOMP\\\",\\\"ResourcesInDesiredState\\\":[{\\\"SourceInfo\\\":\\\"::4::32::WindowsFeature\\\",\\\"ModuleName\\\":\\\"PsDesiredStateConfiguration\\\",\\\"DurationInSeconds\\\":\\\"0.25\\\",\\\"InstanceName\\\":\\\"IIS\\\",\\\"StartDate\\\":\\\"2017-03-28T23:16:28.1810000+00:00\\\",\\\"ResourceName\\\":\\\"WindowsFeature\\\",\\\"ModuleVersion\\\":\\\"1.1\\\",\\\"RebootRequested\\\":\\\"False\\\",\\\"ResourceId\\\":\\\"[WindowsFeature]IIS\\\",\\\"ConfigurationName\\\":\\\"SetupServer\\\",\\\"InDesiredState\\\":\\\"True\\\"}],\\\"MACAddresses\\\":[\\\"00-0D-3A-61-40-C9\\\",\\\"00-00-00-00-00-00-00-E0\\\",\\\"00-00-00-00-00-00-00-E0\\\"],\\\"MetaConfiguration\\\":{\\\"AgentId\\\":\\\"CE4DA358-F216-11E6-A942-000D3A6140C9\\\",\\\"SignatureValidations\\\":[],\\\"ConfigurationDownloadManagers\\\":[{\\\"RegistrationKey\\\":\\\"\\\",\\\"ServerURL\\\":\\\"https://eus2-agentservice-prod-1.azure-automation.net/accounts/0e44bf26-7f40-490b-bd6d-2ea0d422ace0\\\",\\\"ResourceId\\\":\\\"[ConfigurationRepositoryWeb]AzureAutomationDSC\\\",\\\"ConfigurationNames\\\":[],\\\"SourceInfo\\\":\\\"C:\\\\\\\\Packages\\\\\\\\Plugins\\\\\\\\Microsoft.Powershell.DSC\\\\\\\\2.22.0.0\\\\\\\\DSCWork\\\\\\\\RegistrationMetaConfigV2.1\\\\\\\\RegistrationMetaConfigV2.ps1::69::9::ConfigurationRepositoryWeb\\\"}],\\\"ActionAfterReboot\\\":\\\"ContinueConfiguration\\\",\\\"LCMCompatibleVersions\\\":[\\\"1.0\\\",\\\"2.0\\\"],\\\"LCMState\\\":\\\"Idle\\\",\\\"ResourceModuleManagers\\\":[{\\\"RegistrationKey\\\":\\\"\\\",\\\"ServerURL\\\":\\\"https://eus2-agentservice-prod-1.azure-automation.net/accounts/0e44bf26-7f40-490b-bd6d-2ea0d422ace0\\\",\\\"ResourceId\\\":\\\"[ResourceRepositoryWeb]AzureAutomationDSC\\\",\\\"SourceInfo\\\":\\\"C:\\\\\\\\Packages\\\\\\\\Plugins\\\\\\\\Microsoft.Powershell.DSC\\\\\\\\2.22.0.0\\\\\\\\DSCWork\\\\\\\\RegistrationMetaConfigV2.1\\\\\\\\RegistrationMetaConfigV2.ps1::76::9::ResourceRepositoryWeb\\\"}],\\\"ReportManagers\\\":[{\\\"RegistrationKey\\\":\\\"\\\",\\\"ServerURL\\\":\\\"https://eus2-agentservice-prod-1.azure-automation.net/accounts/0e44bf26-7f40-490b-bd6d-2ea0d422ace0\\\",\\\"ResourceId\\\":\\\"[ReportServerWeb]AzureAutomationDSC\\\",\\\"SourceInfo\\\":\\\"C:\\\\\\\\Packages\\\\\\\\Plugins\\\\\\\\Microsoft.Powershell.DSC\\\\\\\\2.22.0.0\\\\\\\\DSCWork\\\\\\\\RegistrationMetaConfigV2.1\\\\\\\\RegistrationMetaConfigV2.ps1::82::9::ReportServerWeb\\\"}],\\\"StatusRetentionTimeInDays\\\":\\\"10\\\",\\\"LCMVersion\\\":\\\"2.0\\\",\\\"MaximumDownloadSizeMB\\\":\\\"500\\\",\\\"ConfigurationMode\\\":\\\"ApplyAndMonitor\\\",\\\"RefreshFrequencyMins\\\":\\\"30\\\",\\\"RebootNodeIfNeeded\\\":\\\"False\\\",\\\"SignatureValidationPolicy\\\":\\\"NONE\\\",\\\"RefreshMode\\\":\\\"Pull\\\",\\\"DebugMode\\\":[\\\"NONE\\\"],\\\"CertificateID\\\":\\\"89D09942A682169E05ED0FB5B4BD9A4EA1F169F0\\\",\\\"AllowModuleOverwrite\\\":\\\"False\\\",\\\"ConfigurationModeFrequencyMins\\\":\\\"15\\\",\\\"LCMStateDetail\\\":\\\"\\\"},\\\"Locale\\\":\\\"en-US\\\",\\\"Mode\\\":\\\"Pull\\\"}\"],\"AdditionalData\":[{\"Key\":\"OSVersion\",\"Value\":\"{\\\"VersionString\\\":\\\"Microsoft Windows NT 10.0.14393.0\\\",\\\"ServicePack\\\":\\\"\\\",\\\"Platform\\\":\\\"Win32NT\\\"}\"},{\"Key\":\"PSVersion\",\"Value\":\"{\\\"CLRVersion\\\":\\\"4.0.30319.42000\\\",\\\"PSVersion\\\":\\\"5.1.14393.693\\\",\\\"BuildVersion\\\":\\\"10.0.14393.693\\\"}\"}]}\r\n\r\n" } } } diff --git a/specification/automation/resource-manager/Microsoft.Automation/stable/2015-10-31/examples/getRunbookContent.json b/specification/automation/resource-manager/Microsoft.Automation/stable/2015-10-31/examples/getRunbookContent.json index 13530844117f..362002ecc781 100644 --- a/specification/automation/resource-manager/Microsoft.Automation/stable/2015-10-31/examples/getRunbookContent.json +++ b/specification/automation/resource-manager/Microsoft.Automation/stable/2015-10-31/examples/getRunbookContent.json @@ -11,7 +11,7 @@ "headers": { "Content-Type": "text/powershell" }, - "body": "<#\r\n .DESCRIPTION\r\n An example runbook which prints out the first10 Azure VMs in your subscription (ordered alphabetically).\r\n For more information about how this runbook authenticates to your Azure subscription, see our documentation here: http: \/\/aka.ms\/fxu3mn\r\n\r\n .NOTES\r\n AUTHOR: Azure Automation Team\r\n LASTEDIT: Mar27,\r\n 2015\r\n#>\r\nworkflow Get-AzureVMTutorial{\r\n #The name of the Automation Credential Asset this runbook will use to authenticate to Azure.\r\n $CredentialAssetName = 'DefaultAzureCredential'\r\n\r\n #Get the credential with the above name from the Automation Asset store\r\n $Cred = Get-AutomationPSCredential -Name $CredentialAssetName\r\n if(!$Cred){\r\n Throw\"Could not find an Automation Credential Asset named '${CredentialAssetName}'. Make sure you have created one in this Automation Account.\"\r\n }\r\n\r\n #Connect to your Azure Account\r\n $Account = Add-AzureAccount -Credential $Cred\r\n if(!$Account){\r\n Throw\"Could not authenticate to Azure using the credential asset '${CredentialAssetName}'. Make sure the user name and password are correct.\"\r\n }\r\n\r\n #TODO (optional): pick the right subscription to use. Without this line, the default subscription for your Azure Account will be used.\r\n #Select-AzureSubscription -SubscriptionName\"TODO: your Azure subscription name here\"\r\n \r\n #Get all the VMs you have in your Azure subscription\r\n $VMs = Get-AzureVM\r\n\r\n #Print out up to10 of those VMs\r\n if(!$VMs){\r\n Write-Output\"No VMs were found in your subscription.\"\r\n } else{\r\n Write-Output $VMs[0..9\r\n ]\r\n }\r\n }" + "body": "<#\r\n .DESCRIPTION\r\n An example runbook which prints out the first10 Azure VMs in your subscription (ordered alphabetically).\r\n For more information about how this runbook authenticates to your Azure subscription, see our documentation here: http: //aka.ms/fxu3mn\r\n\r\n .NOTES\r\n AUTHOR: Azure Automation Team\r\n LASTEDIT: Mar27,\r\n 2015\r\n#>\r\nworkflow Get-AzureVMTutorial{\r\n #The name of the Automation Credential Asset this runbook will use to authenticate to Azure.\r\n $CredentialAssetName = 'DefaultAzureCredential'\r\n\r\n #Get the credential with the above name from the Automation Asset store\r\n $Cred = Get-AutomationPSCredential -Name $CredentialAssetName\r\n if(!$Cred){\r\n Throw\"Could not find an Automation Credential Asset named '${CredentialAssetName}'. Make sure you have created one in this Automation Account.\"\r\n }\r\n\r\n #Connect to your Azure Account\r\n $Account = Add-AzureAccount -Credential $Cred\r\n if(!$Account){\r\n Throw\"Could not authenticate to Azure using the credential asset '${CredentialAssetName}'. Make sure the user name and password are correct.\"\r\n }\r\n\r\n #TODO (optional): pick the right subscription to use. Without this line, the default subscription for your Azure Account will be used.\r\n #Select-AzureSubscription -SubscriptionName\"TODO: your Azure subscription name here\"\r\n \r\n #Get all the VMs you have in your Azure subscription\r\n $VMs = Get-AzureVM\r\n\r\n #Print out up to10 of those VMs\r\n if(!$VMs){\r\n Write-Output\"No VMs were found in your subscription.\"\r\n } else{\r\n Write-Output $VMs[0..9\r\n ]\r\n }\r\n }" } } } diff --git a/specification/automation/resource-manager/Microsoft.Automation/stable/2015-10-31/examples/getRunbookDraftContent.json b/specification/automation/resource-manager/Microsoft.Automation/stable/2015-10-31/examples/getRunbookDraftContent.json index 13530844117f..362002ecc781 100644 --- a/specification/automation/resource-manager/Microsoft.Automation/stable/2015-10-31/examples/getRunbookDraftContent.json +++ b/specification/automation/resource-manager/Microsoft.Automation/stable/2015-10-31/examples/getRunbookDraftContent.json @@ -11,7 +11,7 @@ "headers": { "Content-Type": "text/powershell" }, - "body": "<#\r\n .DESCRIPTION\r\n An example runbook which prints out the first10 Azure VMs in your subscription (ordered alphabetically).\r\n For more information about how this runbook authenticates to your Azure subscription, see our documentation here: http: \/\/aka.ms\/fxu3mn\r\n\r\n .NOTES\r\n AUTHOR: Azure Automation Team\r\n LASTEDIT: Mar27,\r\n 2015\r\n#>\r\nworkflow Get-AzureVMTutorial{\r\n #The name of the Automation Credential Asset this runbook will use to authenticate to Azure.\r\n $CredentialAssetName = 'DefaultAzureCredential'\r\n\r\n #Get the credential with the above name from the Automation Asset store\r\n $Cred = Get-AutomationPSCredential -Name $CredentialAssetName\r\n if(!$Cred){\r\n Throw\"Could not find an Automation Credential Asset named '${CredentialAssetName}'. Make sure you have created one in this Automation Account.\"\r\n }\r\n\r\n #Connect to your Azure Account\r\n $Account = Add-AzureAccount -Credential $Cred\r\n if(!$Account){\r\n Throw\"Could not authenticate to Azure using the credential asset '${CredentialAssetName}'. Make sure the user name and password are correct.\"\r\n }\r\n\r\n #TODO (optional): pick the right subscription to use. Without this line, the default subscription for your Azure Account will be used.\r\n #Select-AzureSubscription -SubscriptionName\"TODO: your Azure subscription name here\"\r\n \r\n #Get all the VMs you have in your Azure subscription\r\n $VMs = Get-AzureVM\r\n\r\n #Print out up to10 of those VMs\r\n if(!$VMs){\r\n Write-Output\"No VMs were found in your subscription.\"\r\n } else{\r\n Write-Output $VMs[0..9\r\n ]\r\n }\r\n }" + "body": "<#\r\n .DESCRIPTION\r\n An example runbook which prints out the first10 Azure VMs in your subscription (ordered alphabetically).\r\n For more information about how this runbook authenticates to your Azure subscription, see our documentation here: http: //aka.ms/fxu3mn\r\n\r\n .NOTES\r\n AUTHOR: Azure Automation Team\r\n LASTEDIT: Mar27,\r\n 2015\r\n#>\r\nworkflow Get-AzureVMTutorial{\r\n #The name of the Automation Credential Asset this runbook will use to authenticate to Azure.\r\n $CredentialAssetName = 'DefaultAzureCredential'\r\n\r\n #Get the credential with the above name from the Automation Asset store\r\n $Cred = Get-AutomationPSCredential -Name $CredentialAssetName\r\n if(!$Cred){\r\n Throw\"Could not find an Automation Credential Asset named '${CredentialAssetName}'. Make sure you have created one in this Automation Account.\"\r\n }\r\n\r\n #Connect to your Azure Account\r\n $Account = Add-AzureAccount -Credential $Cred\r\n if(!$Account){\r\n Throw\"Could not authenticate to Azure using the credential asset '${CredentialAssetName}'. Make sure the user name and password are correct.\"\r\n }\r\n\r\n #TODO (optional): pick the right subscription to use. Without this line, the default subscription for your Azure Account will be used.\r\n #Select-AzureSubscription -SubscriptionName\"TODO: your Azure subscription name here\"\r\n \r\n #Get all the VMs you have in your Azure subscription\r\n $VMs = Get-AzureVM\r\n\r\n #Print out up to10 of those VMs\r\n if(!$VMs){\r\n Write-Output\"No VMs were found in your subscription.\"\r\n } else{\r\n Write-Output $VMs[0..9\r\n ]\r\n }\r\n }" } } } diff --git a/specification/automation/resource-manager/Microsoft.Automation/stable/2015-10-31/examples/replaceRunbookDraftContent.json b/specification/automation/resource-manager/Microsoft.Automation/stable/2015-10-31/examples/replaceRunbookDraftContent.json index 44dd0fcc84e0..bdd4c1e4beb7 100644 --- a/specification/automation/resource-manager/Microsoft.Automation/stable/2015-10-31/examples/replaceRunbookDraftContent.json +++ b/specification/automation/resource-manager/Microsoft.Automation/stable/2015-10-31/examples/replaceRunbookDraftContent.json @@ -5,7 +5,7 @@ "automationAccountName": "ContoseAutomationAccount", "runbookName": "Get-AzureVMTutorial", "api-version": "2015-10-31", - "runbookContent": "<#\r\n .DESCRIPTION\r\n An example runbook which prints out the first10 Azure VMs in your subscription (ordered alphabetically).\r\n For more information about how this runbook authenticates to your Azure subscription, see our documentation here: http: \/\/aka.ms\/fxu3mn\r\n\r\n .NOTES\r\n AUTHOR: Azure Automation Team\r\n LASTEDIT: Mar27,\r\n 2015\r\n #>\r\n workflow Get-AzureVMTutorial{\r\n #The name of the Automation Credential Asset this runbook will use to authenticate to Azure.\r\n $CredentialAssetName = 'DefaultAzureCredential'\r\n\r\n #Get the credential with the above name from the Automation Asset store\r\n $Cred = Get-AutomationPSCredential -Name $CredentialAssetName\r\n if(!$Cred){\r\n Throw\"Could not find an Automation Credential Asset named '${CredentialAssetName}'. Make sure you have created one in this Automation Account.\"\r\n }\r\n\r\n #Connect to your Azure Account\r\n $Account = Add-AzureAccount -Credential $Cred\r\n if(!$Account){\r\n Throw\"Could not authenticate to Azure using the credential asset '${CredentialAssetName}'. Make sure the user name and password are correct.\"\r\n }\r\n\r\n #TODO (optional): pick the right subscription to use. Without this line, the default subscription for your Azure Account will be used.\r\n #Select-AzureSubscription -SubscriptionName\"TODO: your Azure subscription name here\"\r\n \r\n #Get all the VMs you have in your Azure subscription\r\n $VMs = Get-AzureVM\r\n\r\n #Print out up to10 of those VMs\r\n if(!$VMs){\r\n Write-Output\"No VMs were found in your subscription.\"\r\n } else{\r\n Write-Output $VMs[0..9\r\n ]\r\n }\r\n }" + "runbookContent": "<#\r\n .DESCRIPTION\r\n An example runbook which prints out the first10 Azure VMs in your subscription (ordered alphabetically).\r\n For more information about how this runbook authenticates to your Azure subscription, see our documentation here: http: //aka.ms/fxu3mn\r\n\r\n .NOTES\r\n AUTHOR: Azure Automation Team\r\n LASTEDIT: Mar27,\r\n 2015\r\n #>\r\n workflow Get-AzureVMTutorial{\r\n #The name of the Automation Credential Asset this runbook will use to authenticate to Azure.\r\n $CredentialAssetName = 'DefaultAzureCredential'\r\n\r\n #Get the credential with the above name from the Automation Asset store\r\n $Cred = Get-AutomationPSCredential -Name $CredentialAssetName\r\n if(!$Cred){\r\n Throw\"Could not find an Automation Credential Asset named '${CredentialAssetName}'. Make sure you have created one in this Automation Account.\"\r\n }\r\n\r\n #Connect to your Azure Account\r\n $Account = Add-AzureAccount -Credential $Cred\r\n if(!$Account){\r\n Throw\"Could not authenticate to Azure using the credential asset '${CredentialAssetName}'. Make sure the user name and password are correct.\"\r\n }\r\n\r\n #TODO (optional): pick the right subscription to use. Without this line, the default subscription for your Azure Account will be used.\r\n #Select-AzureSubscription -SubscriptionName\"TODO: your Azure subscription name here\"\r\n \r\n #Get all the VMs you have in your Azure subscription\r\n $VMs = Get-AzureVM\r\n\r\n #Print out up to10 of those VMs\r\n if(!$VMs){\r\n Write-Output\"No VMs were found in your subscription.\"\r\n } else{\r\n Write-Output $VMs[0..9\r\n ]\r\n }\r\n }" }, "responses": { "202": { diff --git a/specification/automation/resource-manager/Microsoft.Automation/stable/2018-06-30/examples/getRunbookContent.json b/specification/automation/resource-manager/Microsoft.Automation/stable/2018-06-30/examples/getRunbookContent.json index 3b302bd2a268..90664fb2eaa5 100644 --- a/specification/automation/resource-manager/Microsoft.Automation/stable/2018-06-30/examples/getRunbookContent.json +++ b/specification/automation/resource-manager/Microsoft.Automation/stable/2018-06-30/examples/getRunbookContent.json @@ -11,7 +11,7 @@ "headers": { "Content-Type": "text/powershell" }, - "body": "<#\r\n .DESCRIPTION\r\n An example runbook which prints out the first10 Azure VMs in your subscription (ordered alphabetically).\r\n For more information about how this runbook authenticates to your Azure subscription, see our documentation here: http: \/\/aka.ms\/fxu3mn\r\n\r\n .NOTES\r\n AUTHOR: Azure Automation Team\r\n LASTEDIT: Mar27,\r\n 2015\r\n#>\r\nworkflow Get-AzureVMTutorial{\r\n #The name of the Automation Credential Asset this runbook will use to authenticate to Azure.\r\n $CredentialAssetName = 'DefaultAzureCredential'\r\n\r\n #Get the credential with the above name from the Automation Asset store\r\n $Cred = Get-AutomationPSCredential -Name $CredentialAssetName\r\n if(!$Cred){\r\n Throw\"Could not find an Automation Credential Asset named '${CredentialAssetName}'. Make sure you have created one in this Automation Account.\"\r\n }\r\n\r\n #Connect to your Azure Account\r\n $Account = Add-AzureAccount -Credential $Cred\r\n if(!$Account){\r\n Throw\"Could not authenticate to Azure using the credential asset '${CredentialAssetName}'. Make sure the user name and password are correct.\"\r\n }\r\n\r\n #TODO (optional): pick the right subscription to use. Without this line, the default subscription for your Azure Account will be used.\r\n #Select-AzureSubscription -SubscriptionName\"TODO: your Azure subscription name here\"\r\n \r\n #Get all the VMs you have in your Azure subscription\r\n $VMs = Get-AzureVM\r\n\r\n #Print out up to10 of those VMs\r\n if(!$VMs){\r\n Write-Output\"No VMs were found in your subscription.\"\r\n } else{\r\n Write-Output $VMs[0..9\r\n ]\r\n }\r\n }" + "body": "<#\r\n .DESCRIPTION\r\n An example runbook which prints out the first10 Azure VMs in your subscription (ordered alphabetically).\r\n For more information about how this runbook authenticates to your Azure subscription, see our documentation here: http: //aka.ms/fxu3mn\r\n\r\n .NOTES\r\n AUTHOR: Azure Automation Team\r\n LASTEDIT: Mar27,\r\n 2015\r\n#>\r\nworkflow Get-AzureVMTutorial{\r\n #The name of the Automation Credential Asset this runbook will use to authenticate to Azure.\r\n $CredentialAssetName = 'DefaultAzureCredential'\r\n\r\n #Get the credential with the above name from the Automation Asset store\r\n $Cred = Get-AutomationPSCredential -Name $CredentialAssetName\r\n if(!$Cred){\r\n Throw\"Could not find an Automation Credential Asset named '${CredentialAssetName}'. Make sure you have created one in this Automation Account.\"\r\n }\r\n\r\n #Connect to your Azure Account\r\n $Account = Add-AzureAccount -Credential $Cred\r\n if(!$Account){\r\n Throw\"Could not authenticate to Azure using the credential asset '${CredentialAssetName}'. Make sure the user name and password are correct.\"\r\n }\r\n\r\n #TODO (optional): pick the right subscription to use. Without this line, the default subscription for your Azure Account will be used.\r\n #Select-AzureSubscription -SubscriptionName\"TODO: your Azure subscription name here\"\r\n \r\n #Get all the VMs you have in your Azure subscription\r\n $VMs = Get-AzureVM\r\n\r\n #Print out up to10 of those VMs\r\n if(!$VMs){\r\n Write-Output\"No VMs were found in your subscription.\"\r\n } else{\r\n Write-Output $VMs[0..9\r\n ]\r\n }\r\n }" } } } diff --git a/specification/automation/resource-manager/Microsoft.Automation/stable/2018-06-30/examples/getRunbookDraftContent.json b/specification/automation/resource-manager/Microsoft.Automation/stable/2018-06-30/examples/getRunbookDraftContent.json index 3b302bd2a268..90664fb2eaa5 100644 --- a/specification/automation/resource-manager/Microsoft.Automation/stable/2018-06-30/examples/getRunbookDraftContent.json +++ b/specification/automation/resource-manager/Microsoft.Automation/stable/2018-06-30/examples/getRunbookDraftContent.json @@ -11,7 +11,7 @@ "headers": { "Content-Type": "text/powershell" }, - "body": "<#\r\n .DESCRIPTION\r\n An example runbook which prints out the first10 Azure VMs in your subscription (ordered alphabetically).\r\n For more information about how this runbook authenticates to your Azure subscription, see our documentation here: http: \/\/aka.ms\/fxu3mn\r\n\r\n .NOTES\r\n AUTHOR: Azure Automation Team\r\n LASTEDIT: Mar27,\r\n 2015\r\n#>\r\nworkflow Get-AzureVMTutorial{\r\n #The name of the Automation Credential Asset this runbook will use to authenticate to Azure.\r\n $CredentialAssetName = 'DefaultAzureCredential'\r\n\r\n #Get the credential with the above name from the Automation Asset store\r\n $Cred = Get-AutomationPSCredential -Name $CredentialAssetName\r\n if(!$Cred){\r\n Throw\"Could not find an Automation Credential Asset named '${CredentialAssetName}'. Make sure you have created one in this Automation Account.\"\r\n }\r\n\r\n #Connect to your Azure Account\r\n $Account = Add-AzureAccount -Credential $Cred\r\n if(!$Account){\r\n Throw\"Could not authenticate to Azure using the credential asset '${CredentialAssetName}'. Make sure the user name and password are correct.\"\r\n }\r\n\r\n #TODO (optional): pick the right subscription to use. Without this line, the default subscription for your Azure Account will be used.\r\n #Select-AzureSubscription -SubscriptionName\"TODO: your Azure subscription name here\"\r\n \r\n #Get all the VMs you have in your Azure subscription\r\n $VMs = Get-AzureVM\r\n\r\n #Print out up to10 of those VMs\r\n if(!$VMs){\r\n Write-Output\"No VMs were found in your subscription.\"\r\n } else{\r\n Write-Output $VMs[0..9\r\n ]\r\n }\r\n }" + "body": "<#\r\n .DESCRIPTION\r\n An example runbook which prints out the first10 Azure VMs in your subscription (ordered alphabetically).\r\n For more information about how this runbook authenticates to your Azure subscription, see our documentation here: http: //aka.ms/fxu3mn\r\n\r\n .NOTES\r\n AUTHOR: Azure Automation Team\r\n LASTEDIT: Mar27,\r\n 2015\r\n#>\r\nworkflow Get-AzureVMTutorial{\r\n #The name of the Automation Credential Asset this runbook will use to authenticate to Azure.\r\n $CredentialAssetName = 'DefaultAzureCredential'\r\n\r\n #Get the credential with the above name from the Automation Asset store\r\n $Cred = Get-AutomationPSCredential -Name $CredentialAssetName\r\n if(!$Cred){\r\n Throw\"Could not find an Automation Credential Asset named '${CredentialAssetName}'. Make sure you have created one in this Automation Account.\"\r\n }\r\n\r\n #Connect to your Azure Account\r\n $Account = Add-AzureAccount -Credential $Cred\r\n if(!$Account){\r\n Throw\"Could not authenticate to Azure using the credential asset '${CredentialAssetName}'. Make sure the user name and password are correct.\"\r\n }\r\n\r\n #TODO (optional): pick the right subscription to use. Without this line, the default subscription for your Azure Account will be used.\r\n #Select-AzureSubscription -SubscriptionName\"TODO: your Azure subscription name here\"\r\n \r\n #Get all the VMs you have in your Azure subscription\r\n $VMs = Get-AzureVM\r\n\r\n #Print out up to10 of those VMs\r\n if(!$VMs){\r\n Write-Output\"No VMs were found in your subscription.\"\r\n } else{\r\n Write-Output $VMs[0..9\r\n ]\r\n }\r\n }" } } } diff --git a/specification/automation/resource-manager/Microsoft.Automation/stable/2018-06-30/examples/replaceRunbookDraftContent.json b/specification/automation/resource-manager/Microsoft.Automation/stable/2018-06-30/examples/replaceRunbookDraftContent.json index 14fe1a06cfd3..e46d7b30ddf8 100644 --- a/specification/automation/resource-manager/Microsoft.Automation/stable/2018-06-30/examples/replaceRunbookDraftContent.json +++ b/specification/automation/resource-manager/Microsoft.Automation/stable/2018-06-30/examples/replaceRunbookDraftContent.json @@ -5,7 +5,7 @@ "automationAccountName": "ContoseAutomationAccount", "runbookName": "Get-AzureVMTutorial", "api-version": "2018-06-30", - "runbookContent": "<#\r\n .DESCRIPTION\r\n An example runbook which prints out the first10 Azure VMs in your subscription (ordered alphabetically).\r\n For more information about how this runbook authenticates to your Azure subscription, see our documentation here: http: \/\/aka.ms\/fxu3mn\r\n\r\n .NOTES\r\n AUTHOR: Azure Automation Team\r\n LASTEDIT: Mar27,\r\n 2015\r\n #>\r\n workflow Get-AzureVMTutorial{\r\n #The name of the Automation Credential Asset this runbook will use to authenticate to Azure.\r\n $CredentialAssetName = 'DefaultAzureCredential'\r\n\r\n #Get the credential with the above name from the Automation Asset store\r\n $Cred = Get-AutomationPSCredential -Name $CredentialAssetName\r\n if(!$Cred){\r\n Throw\"Could not find an Automation Credential Asset named '${CredentialAssetName}'. Make sure you have created one in this Automation Account.\"\r\n }\r\n\r\n #Connect to your Azure Account\r\n $Account = Add-AzureAccount -Credential $Cred\r\n if(!$Account){\r\n Throw\"Could not authenticate to Azure using the credential asset '${CredentialAssetName}'. Make sure the user name and password are correct.\"\r\n }\r\n\r\n #TODO (optional): pick the right subscription to use. Without this line, the default subscription for your Azure Account will be used.\r\n #Select-AzureSubscription -SubscriptionName\"TODO: your Azure subscription name here\"\r\n \r\n #Get all the VMs you have in your Azure subscription\r\n $VMs = Get-AzureVM\r\n\r\n #Print out up to10 of those VMs\r\n if(!$VMs){\r\n Write-Output\"No VMs were found in your subscription.\"\r\n } else{\r\n Write-Output $VMs[0..9\r\n ]\r\n }\r\n }" + "runbookContent": "<#\r\n .DESCRIPTION\r\n An example runbook which prints out the first10 Azure VMs in your subscription (ordered alphabetically).\r\n For more information about how this runbook authenticates to your Azure subscription, see our documentation here: http: //aka.ms/fxu3mn\r\n\r\n .NOTES\r\n AUTHOR: Azure Automation Team\r\n LASTEDIT: Mar27,\r\n 2015\r\n #>\r\n workflow Get-AzureVMTutorial{\r\n #The name of the Automation Credential Asset this runbook will use to authenticate to Azure.\r\n $CredentialAssetName = 'DefaultAzureCredential'\r\n\r\n #Get the credential with the above name from the Automation Asset store\r\n $Cred = Get-AutomationPSCredential -Name $CredentialAssetName\r\n if(!$Cred){\r\n Throw\"Could not find an Automation Credential Asset named '${CredentialAssetName}'. Make sure you have created one in this Automation Account.\"\r\n }\r\n\r\n #Connect to your Azure Account\r\n $Account = Add-AzureAccount -Credential $Cred\r\n if(!$Account){\r\n Throw\"Could not authenticate to Azure using the credential asset '${CredentialAssetName}'. Make sure the user name and password are correct.\"\r\n }\r\n\r\n #TODO (optional): pick the right subscription to use. Without this line, the default subscription for your Azure Account will be used.\r\n #Select-AzureSubscription -SubscriptionName\"TODO: your Azure subscription name here\"\r\n \r\n #Get all the VMs you have in your Azure subscription\r\n $VMs = Get-AzureVM\r\n\r\n #Print out up to10 of those VMs\r\n if(!$VMs){\r\n Write-Output\"No VMs were found in your subscription.\"\r\n } else{\r\n Write-Output $VMs[0..9\r\n ]\r\n }\r\n }" }, "responses": { "202": { diff --git a/specification/cognitiveservices/data-plane/AutoSuggest/stable/v1.0/examples/SuccessfulQueryRequest.json b/specification/cognitiveservices/data-plane/AutoSuggest/stable/v1.0/examples/SuccessfulQueryRequest.json index 3a95b0c412a3..eb48fae13c61 100644 --- a/specification/cognitiveservices/data-plane/AutoSuggest/stable/v1.0/examples/SuccessfulQueryRequest.json +++ b/specification/cognitiveservices/data-plane/AutoSuggest/stable/v1.0/examples/SuccessfulQueryRequest.json @@ -15,61 +15,61 @@ }, "suggestionGroups": [ { - "_type": "Suggestions\/SuggestionGroup", + "_type": "Suggestions/SuggestionGroup", "name": "Web", "searchSuggestions": [ { "_type": "SearchAction", - "url": "https:\/\/www.bing.com\/search?q=amazon&FORM=USBAPI", + "url": "https://www.bing.com/search?q=amazon&FORM=USBAPI", "displayText": "amazon", "query": "amazon", "searchKind": "WebSearch" }, { "_type": "SearchAction", - "url": "https:\/\/www.bing.com\/search?q=alaska+airlines&FORM=USBAPI", + "url": "https://www.bing.com/search?q=alaska+airlines&FORM=USBAPI", "displayText": "alaska airlines", "query": "alaska airlines", "searchKind": "WebSearch" }, { "_type": "SearchAction", - "url": "https:\/\/www.bing.com\/search?q=aol&FORM=USBAPI", + "url": "https://www.bing.com/search?q=aol&FORM=USBAPI", "displayText": "aol", "query": "aol", "searchKind": "WebSearch" }, { "_type": "SearchAction", - "url": "https:\/\/www.bing.com\/search?q=amazon+prime&FORM=USBAPI", + "url": "https://www.bing.com/search?q=amazon+prime&FORM=USBAPI", "displayText": "amazon prime", "query": "amazon prime", "searchKind": "WebSearch" }, { "_type": "SearchAction", - "url": "https:\/\/www.bing.com\/search?q=airbnb&FORM=USBAPI", + "url": "https://www.bing.com/search?q=airbnb&FORM=USBAPI", "displayText": "airbnb", "query": "airbnb", "searchKind": "WebSearch" }, { "_type": "SearchAction", - "url": "https:\/\/www.bing.com\/search?q=american+express&FORM=USBAPI", + "url": "https://www.bing.com/search?q=american+express&FORM=USBAPI", "displayText": "american express", "query": "american express", "searchKind": "WebSearch" }, { "_type": "SearchAction", - "url": "https:\/\/www.bing.com\/search?q=autotrader&FORM=USBAPI", + "url": "https://www.bing.com/search?q=autotrader&FORM=USBAPI", "displayText": "autotrader", "query": "autotrader", "searchKind": "WebSearch" }, { "_type": "SearchAction", - "url": "https:\/\/www.bing.com\/search?q=autozone&FORM=USBAPI", + "url": "https://www.bing.com/search?q=autozone&FORM=USBAPI", "displayText": "autozone", "query": "autozone", "searchKind": "WebSearch" diff --git a/specification/cognitiveservices/data-plane/FormRecognizer/preview/v2.0/FormRecognizer.json b/specification/cognitiveservices/data-plane/FormRecognizer/preview/v2.0/FormRecognizer.json index c8d731724ddc..d6e561e33ef8 100644 --- a/specification/cognitiveservices/data-plane/FormRecognizer/preview/v2.0/FormRecognizer.json +++ b/specification/cognitiveservices/data-plane/FormRecognizer/preview/v2.0/FormRecognizer.json @@ -621,7 +621,7 @@ "description": "A pdf document or image (jpg,png,tiff) file to analyze.", "type": "object" }, - "ModelInfo":{ + "ModelInfo": { "description": "Basic custom model information.", "type": "object", "required": [ @@ -716,7 +716,7 @@ "modelInfo" ], "properties": { - "modelInfo":{ + "modelInfo": { "$ref": "#/definitions/ModelInfo", "description": "Basic custom model information." }, diff --git a/specification/cognitiveservices/data-plane/FormRecognizer/preview/v2.0/examples/AnalyzeBatch.json b/specification/cognitiveservices/data-plane/FormRecognizer/preview/v2.0/examples/AnalyzeBatch.json index 30c55dcbfae4..82886aff5613 100644 --- a/specification/cognitiveservices/data-plane/FormRecognizer/preview/v2.0/examples/AnalyzeBatch.json +++ b/specification/cognitiveservices/data-plane/FormRecognizer/preview/v2.0/examples/AnalyzeBatch.json @@ -4,8 +4,7 @@ "Content-Type": "application/json", "Ocp-Apim-Subscription-Key": "{API key}", "modelId": "{Model Id}", - "body": { - } + "body": {} }, "responses": { "202": { diff --git a/specification/cognitiveservices/data-plane/FormRecognizer/preview/v2.0/examples/AnalyzeOperationResult.json b/specification/cognitiveservices/data-plane/FormRecognizer/preview/v2.0/examples/AnalyzeOperationResult.json index 79916579278d..ac3e01056b61 100644 --- a/specification/cognitiveservices/data-plane/FormRecognizer/preview/v2.0/examples/AnalyzeOperationResult.json +++ b/specification/cognitiveservices/data-plane/FormRecognizer/preview/v2.0/examples/AnalyzeOperationResult.json @@ -9,16 +9,16 @@ }, "responses": { "200": { - "body":{ + "body": { "status": "running", "createdDateTime": "2019-05-01T10:53:21Z", "lastUpdatedDateTime": "2019-05-01T10:53:23Z", "analyzeResult": { - "version":"v2.0", - "readResults":[], - "pageResults":[], - "documentResults":[], - "errors":[] + "version": "v2.0", + "readResults": [], + "pageResults": [], + "documentResults": [], + "errors": [] } } } diff --git a/specification/cognitiveservices/data-plane/FormRecognizer/preview/v2.0/examples/GetModel.json b/specification/cognitiveservices/data-plane/FormRecognizer/preview/v2.0/examples/GetModel.json index 7a2fa74b83e3..3a34fea1ae13 100644 --- a/specification/cognitiveservices/data-plane/FormRecognizer/preview/v2.0/examples/GetModel.json +++ b/specification/cognitiveservices/data-plane/FormRecognizer/preview/v2.0/examples/GetModel.json @@ -28,11 +28,10 @@ } }, "trainResult": { - "trainingDocuments":[], - "fields":[], - "averageModelAccuracy":0, - "errors":[ - ] + "trainingDocuments": [], + "fields": [], + "averageModelAccuracy": 0, + "errors": [] } } } diff --git a/specification/cognitiveservices/data-plane/FormRecognizer/preview/v2.0/examples/GetModels.json b/specification/cognitiveservices/data-plane/FormRecognizer/preview/v2.0/examples/GetModels.json index 01064aba1fb1..1ebb45e86268 100644 --- a/specification/cognitiveservices/data-plane/FormRecognizer/preview/v2.0/examples/GetModels.json +++ b/specification/cognitiveservices/data-plane/FormRecognizer/preview/v2.0/examples/GetModels.json @@ -9,26 +9,26 @@ "responses": { "200": { "body": { - "summary":{ - "count":5, - "limit":5000, - "lastUpdatedDateTime":"2019-05-01T10:53:21Z" + "summary": { + "count": 5, + "limit": 5000, + "lastUpdatedDateTime": "2019-05-01T10:53:21Z" }, "modelList": [ { "modelId": "f973e3c1-1148-43bb-bea8-49d0603ab3a8", "status": "ready", "createdDateTime": "2019-05-01T10:53:21Z", - "lastUpdatedDateTime": "2019-05-01T10:53:23Z" + "lastUpdatedDateTime": "2019-05-01T10:53:23Z" }, { "modelId": "f973e3c1-0001-43bb-bea8-49d0603ab3a8", "status": "ready", "createdDateTime": "2019-05-01T10:53:21Z", - "lastUpdatedDateTime": "2019-05-01T10:53:23Z" + "lastUpdatedDateTime": "2019-05-01T10:53:23Z" } ], - "nextLink":"" + "nextLink": "" } } } diff --git a/specification/cognitiveservices/data-plane/FormRecognizer/preview/v2.0/examples/ReceiptsBatch.json b/specification/cognitiveservices/data-plane/FormRecognizer/preview/v2.0/examples/ReceiptsBatch.json index 8e59339b7846..9b5b2ba0f8dd 100644 --- a/specification/cognitiveservices/data-plane/FormRecognizer/preview/v2.0/examples/ReceiptsBatch.json +++ b/specification/cognitiveservices/data-plane/FormRecognizer/preview/v2.0/examples/ReceiptsBatch.json @@ -3,8 +3,7 @@ "endpoint": "{endpoint}", "Content-Type": "application/json", "Ocp-Apim-Subscription-Key": "{API key}", - "body": { - } + "body": {} }, "responses": { "202": { diff --git a/specification/cognitiveservices/data-plane/FormRecognizer/preview/v2.0/examples/ReceiptsBatchResult.json b/specification/cognitiveservices/data-plane/FormRecognizer/preview/v2.0/examples/ReceiptsBatchResult.json index 4b03d3e3150a..ac3e01056b61 100644 --- a/specification/cognitiveservices/data-plane/FormRecognizer/preview/v2.0/examples/ReceiptsBatchResult.json +++ b/specification/cognitiveservices/data-plane/FormRecognizer/preview/v2.0/examples/ReceiptsBatchResult.json @@ -1,27 +1,26 @@ { - "parameters": { - "endpoint": "{endpoint}", - "Content-Type": "application/json", - "Ocp-Apim-Subscription-Key": "{API key}", - "modelId": "{model Id}", - "resultId": "{result Id}", - "body": {} - }, - "responses": { - "200": { - "body":{ - "status": "running", - "createdDateTime": "2019-05-01T10:53:21Z", - "lastUpdatedDateTime": "2019-05-01T10:53:23Z", - "analyzeResult": { - "version":"v2.0", - "readResults":[], - "pageResults":[], - "documentResults":[], - "errors":[] - } + "parameters": { + "endpoint": "{endpoint}", + "Content-Type": "application/json", + "Ocp-Apim-Subscription-Key": "{API key}", + "modelId": "{model Id}", + "resultId": "{result Id}", + "body": {} + }, + "responses": { + "200": { + "body": { + "status": "running", + "createdDateTime": "2019-05-01T10:53:21Z", + "lastUpdatedDateTime": "2019-05-01T10:53:23Z", + "analyzeResult": { + "version": "v2.0", + "readResults": [], + "pageResults": [], + "documentResults": [], + "errors": [] } } } } - \ No newline at end of file +} diff --git a/specification/cognitiveservices/data-plane/FormRecognizer/preview/v2.0/examples/TrainBatch.json b/specification/cognitiveservices/data-plane/FormRecognizer/preview/v2.0/examples/TrainBatch.json index ceece7e8dd20..e46593143196 100644 --- a/specification/cognitiveservices/data-plane/FormRecognizer/preview/v2.0/examples/TrainBatch.json +++ b/specification/cognitiveservices/data-plane/FormRecognizer/preview/v2.0/examples/TrainBatch.json @@ -13,6 +13,6 @@ "headers": { "Location": "{endpoint}/formrecognizer/v2.0-preview/custom/models/{modelId}" } - } + } } -} \ No newline at end of file +} diff --git a/specification/cognitiveservices/data-plane/FormRecognizer/preview/v2.0/examples/TrainBatchWithSubFolders.json b/specification/cognitiveservices/data-plane/FormRecognizer/preview/v2.0/examples/TrainBatchWithSubFolders.json index 09ab7be43ad2..d802556456f5 100644 --- a/specification/cognitiveservices/data-plane/FormRecognizer/preview/v2.0/examples/TrainBatchWithSubFolders.json +++ b/specification/cognitiveservices/data-plane/FormRecognizer/preview/v2.0/examples/TrainBatchWithSubFolders.json @@ -15,9 +15,9 @@ }, "responses": { "201": { - "headers": { - "Location": "{endpoint}/formrecognizer/v2.0-preview/custom/models/{modelId}" - } - } + "headers": { + "Location": "{endpoint}/formrecognizer/v2.0-preview/custom/models/{modelId}" + } + } } } diff --git a/specification/cognitiveservices/data-plane/LUIS/Authoring/preview/v3.0/LUIS-Authoring.json b/specification/cognitiveservices/data-plane/LUIS/Authoring/preview/v3.0/LUIS-Authoring.json index 44dc8baf0e6d..0ac2369a08a0 100644 --- a/specification/cognitiveservices/data-plane/LUIS/Authoring/preview/v3.0/LUIS-Authoring.json +++ b/specification/cognitiveservices/data-plane/LUIS/Authoring/preview/v3.0/LUIS-Authoring.json @@ -1381,18 +1381,18 @@ } ], "responses": { - "200": { - "description": "A list of feature information objects for the intent.", - "schema": { - "$ref": "#/definitions/FeaturesPerModelResponseObject" - } - }, - "default": { - "description": "Error Response.", - "schema": { - "$ref": "#/definitions/ErrorResponse" - } - } + "200": { + "description": "A list of feature information objects for the intent.", + "schema": { + "$ref": "#/definitions/FeaturesPerModelResponseObject" + } + }, + "default": { + "description": "Error Response.", + "schema": { + "$ref": "#/definitions/ErrorResponse" + } + } }, "produces": [ "application/json" @@ -1564,18 +1564,18 @@ } ], "responses": { - "200": { - "description": "A list of feature information objects for the entity.", - "schema": { - "$ref": "#/definitions/FeaturesPerModelResponseObject" - } - }, - "default": { - "description": "Error Response.", - "schema": { - "$ref": "#/definitions/ErrorResponse" - } - } + "200": { + "description": "A list of feature information objects for the entity.", + "schema": { + "$ref": "#/definitions/FeaturesPerModelResponseObject" + } + }, + "default": { + "description": "Error Response.", + "schema": { + "$ref": "#/definitions/ErrorResponse" + } + } }, "produces": [ "application/json" @@ -10134,14 +10134,14 @@ } } }, - "FeaturesPerModelResponseObject":{ + "FeaturesPerModelResponseObject": { "description": "A list of feature information objects per model.", "type": "array", "items": { "$ref": "#/definitions/ModelFeatureInformation" } }, - "ModelFeatureInformation":{ + "ModelFeatureInformation": { "description": "An object containing the model feature information either the model name or feature name.", "type": "object", "properties": { diff --git a/specification/cognitiveservices/data-plane/LUIS/Authoring/preview/v3.0/examples/model/SuccessfulAddEntityFeatureRelationRequest.json b/specification/cognitiveservices/data-plane/LUIS/Authoring/preview/v3.0/examples/model/SuccessfulAddEntityFeatureRelationRequest.json index 03f889dfae4f..57e58c5c4f0c 100644 --- a/specification/cognitiveservices/data-plane/LUIS/Authoring/preview/v3.0/examples/model/SuccessfulAddEntityFeatureRelationRequest.json +++ b/specification/cognitiveservices/data-plane/LUIS/Authoring/preview/v3.0/examples/model/SuccessfulAddEntityFeatureRelationRequest.json @@ -1,21 +1,21 @@ { - "parameters": { - "Endpoint": "{Endpoint}", - "Ocp-Apim-Subscription-Key": "00000000000000000000000000000000", - "appId": "86226c53-b7a6-416f-876b-226b2b5ab07b", - "versionId": "0.1", - "entityId": "d7a08f1a-d276-4364-b2d5-b0235c61e37f", - "featureRelationCreateObject": { - "featureName": "Phraselist1" - } - }, - "responses": { - "200": { - "headers": {}, - "body": { - "code": "Success", - "message": "Operation Successful" - } - } - } -} \ No newline at end of file + "parameters": { + "Endpoint": "{Endpoint}", + "Ocp-Apim-Subscription-Key": "00000000000000000000000000000000", + "appId": "86226c53-b7a6-416f-876b-226b2b5ab07b", + "versionId": "0.1", + "entityId": "d7a08f1a-d276-4364-b2d5-b0235c61e37f", + "featureRelationCreateObject": { + "featureName": "Phraselist1" + } + }, + "responses": { + "200": { + "headers": {}, + "body": { + "code": "Success", + "message": "Operation Successful" + } + } + } +} diff --git a/specification/cognitiveservices/data-plane/LUIS/Authoring/preview/v3.0/examples/model/SuccessfulAddIntentFeatureRelationRequest.json b/specification/cognitiveservices/data-plane/LUIS/Authoring/preview/v3.0/examples/model/SuccessfulAddIntentFeatureRelationRequest.json index 232262f1e80e..2d7ee0655191 100644 --- a/specification/cognitiveservices/data-plane/LUIS/Authoring/preview/v3.0/examples/model/SuccessfulAddIntentFeatureRelationRequest.json +++ b/specification/cognitiveservices/data-plane/LUIS/Authoring/preview/v3.0/examples/model/SuccessfulAddIntentFeatureRelationRequest.json @@ -1,21 +1,21 @@ { - "parameters": { - "Endpoint": "{Endpoint}", - "Ocp-Apim-Subscription-Key": "00000000000000000000000000000000", - "appId": "86226c53-b7a6-416f-876b-226b2b5ab07b", - "versionId": "0.1", - "intentId": "d7a08f1a-d276-4364-b2d5-b0235c61e37f", - "featureRelationCreateObject": { - "featureName": "Phraselist1" - } - }, - "responses": { - "200": { - "headers": {}, - "body": { - "code": "Success", - "message": "Operation Successful" - } - } - } -} \ No newline at end of file + "parameters": { + "Endpoint": "{Endpoint}", + "Ocp-Apim-Subscription-Key": "00000000000000000000000000000000", + "appId": "86226c53-b7a6-416f-876b-226b2b5ab07b", + "versionId": "0.1", + "intentId": "d7a08f1a-d276-4364-b2d5-b0235c61e37f", + "featureRelationCreateObject": { + "featureName": "Phraselist1" + } + }, + "responses": { + "200": { + "headers": {}, + "body": { + "code": "Success", + "message": "Operation Successful" + } + } + } +} diff --git a/specification/cognitiveservices/data-plane/LUIS/Authoring/preview/v3.0/examples/model/SuccessfulDeleteEntityFeatureRelationRequest.json b/specification/cognitiveservices/data-plane/LUIS/Authoring/preview/v3.0/examples/model/SuccessfulDeleteEntityFeatureRelationRequest.json index bead51b78678..77bcdbd7c486 100644 --- a/specification/cognitiveservices/data-plane/LUIS/Authoring/preview/v3.0/examples/model/SuccessfulDeleteEntityFeatureRelationRequest.json +++ b/specification/cognitiveservices/data-plane/LUIS/Authoring/preview/v3.0/examples/model/SuccessfulDeleteEntityFeatureRelationRequest.json @@ -1,21 +1,21 @@ { - "parameters": { - "Endpoint": "{Endpoint}", - "Ocp-Apim-Subscription-Key": "00000000000000000000000000000000", - "appId": "86226c53-b7a6-416f-876b-226b2b5ab07b", - "versionId": "0.1", - "entityId": "d7a08f1a-d276-4364-b2d5-b0235c61e37f", - "featureRelationDeleteObject": { - "featureName": "Phraselist1" - } - }, - "responses": { - "200": { - "headers": {}, - "body": { - "code": "Success", - "message": "Operation Successful" - } - } - } -} \ No newline at end of file + "parameters": { + "Endpoint": "{Endpoint}", + "Ocp-Apim-Subscription-Key": "00000000000000000000000000000000", + "appId": "86226c53-b7a6-416f-876b-226b2b5ab07b", + "versionId": "0.1", + "entityId": "d7a08f1a-d276-4364-b2d5-b0235c61e37f", + "featureRelationDeleteObject": { + "featureName": "Phraselist1" + } + }, + "responses": { + "200": { + "headers": {}, + "body": { + "code": "Success", + "message": "Operation Successful" + } + } + } +} diff --git a/specification/cognitiveservices/data-plane/LUIS/Authoring/preview/v3.0/examples/model/SuccessfulDeleteIntentFeatureRelationRequest.json b/specification/cognitiveservices/data-plane/LUIS/Authoring/preview/v3.0/examples/model/SuccessfulDeleteIntentFeatureRelationRequest.json index d59cbeb99c3f..90d8a50f666a 100644 --- a/specification/cognitiveservices/data-plane/LUIS/Authoring/preview/v3.0/examples/model/SuccessfulDeleteIntentFeatureRelationRequest.json +++ b/specification/cognitiveservices/data-plane/LUIS/Authoring/preview/v3.0/examples/model/SuccessfulDeleteIntentFeatureRelationRequest.json @@ -1,21 +1,21 @@ { - "parameters": { - "Endpoint": "{Endpoint}", - "Ocp-Apim-Subscription-Key": "00000000000000000000000000000000", - "appId": "86226c53-b7a6-416f-876b-226b2b5ab07b", - "versionId": "0.1", - "intentId": "d7a08f1a-d276-4364-b2d5-b0235c61e37f", - "featureRelationDeleteObject": { - "featureName": "Phraselist1" - } - }, - "responses": { - "200": { - "headers": {}, - "body": { - "code": "Success", - "message": "Operation Successful" - } - } - } -} \ No newline at end of file + "parameters": { + "Endpoint": "{Endpoint}", + "Ocp-Apim-Subscription-Key": "00000000000000000000000000000000", + "appId": "86226c53-b7a6-416f-876b-226b2b5ab07b", + "versionId": "0.1", + "intentId": "d7a08f1a-d276-4364-b2d5-b0235c61e37f", + "featureRelationDeleteObject": { + "featureName": "Phraselist1" + } + }, + "responses": { + "200": { + "headers": {}, + "body": { + "code": "Success", + "message": "Operation Successful" + } + } + } +} diff --git a/specification/cognitiveservices/data-plane/LUIS/Authoring/preview/v3.0/examples/model/SuccessfulGetEntityFeaturesInfoRequest.json b/specification/cognitiveservices/data-plane/LUIS/Authoring/preview/v3.0/examples/model/SuccessfulGetEntityFeaturesInfoRequest.json index b52055a2289c..6bc5840cc97f 100644 --- a/specification/cognitiveservices/data-plane/LUIS/Authoring/preview/v3.0/examples/model/SuccessfulGetEntityFeaturesInfoRequest.json +++ b/specification/cognitiveservices/data-plane/LUIS/Authoring/preview/v3.0/examples/model/SuccessfulGetEntityFeaturesInfoRequest.json @@ -19,4 +19,4 @@ ] } } -} \ No newline at end of file +} diff --git a/specification/cognitiveservices/data-plane/LUIS/Authoring/preview/v3.0/examples/model/SuccessfulGetIntentFeaturesInfoRequest.json b/specification/cognitiveservices/data-plane/LUIS/Authoring/preview/v3.0/examples/model/SuccessfulGetIntentFeaturesInfoRequest.json index 12130103cb4b..8836884506bf 100644 --- a/specification/cognitiveservices/data-plane/LUIS/Authoring/preview/v3.0/examples/model/SuccessfulGetIntentFeaturesInfoRequest.json +++ b/specification/cognitiveservices/data-plane/LUIS/Authoring/preview/v3.0/examples/model/SuccessfulGetIntentFeaturesInfoRequest.json @@ -19,4 +19,4 @@ ] } } -} \ No newline at end of file +} diff --git a/specification/cognitiveservices/data-plane/LUIS/Authoring/preview/v3.0/examples/model/SuccessfulReplaceEntityFeaturesRequest.json b/specification/cognitiveservices/data-plane/LUIS/Authoring/preview/v3.0/examples/model/SuccessfulReplaceEntityFeaturesRequest.json index 3f682ab3ac02..816fd7bb83d8 100644 --- a/specification/cognitiveservices/data-plane/LUIS/Authoring/preview/v3.0/examples/model/SuccessfulReplaceEntityFeaturesRequest.json +++ b/specification/cognitiveservices/data-plane/LUIS/Authoring/preview/v3.0/examples/model/SuccessfulReplaceEntityFeaturesRequest.json @@ -1,26 +1,26 @@ { - "parameters": { - "Endpoint": "{Endpoint}", - "Ocp-Apim-Subscription-Key": "00000000000000000000000000000000", - "appId": "86226c53-b7a6-416f-876b-226b2b5ab07b", - "versionId": "0.1", - "entityId": "d7a08f1a-d276-4364-b2d5-b0235c61e37f", - "featureRelationsUpdateObject": [ - { - "featureName": "Phraselist1" - }, - { - "modelName": "None" - } - ] - }, - "responses": { - "200": { - "headers": {}, - "body": { - "code": "Success", - "message": "Operation Successful" - } - } - } -} \ No newline at end of file + "parameters": { + "Endpoint": "{Endpoint}", + "Ocp-Apim-Subscription-Key": "00000000000000000000000000000000", + "appId": "86226c53-b7a6-416f-876b-226b2b5ab07b", + "versionId": "0.1", + "entityId": "d7a08f1a-d276-4364-b2d5-b0235c61e37f", + "featureRelationsUpdateObject": [ + { + "featureName": "Phraselist1" + }, + { + "modelName": "None" + } + ] + }, + "responses": { + "200": { + "headers": {}, + "body": { + "code": "Success", + "message": "Operation Successful" + } + } + } +} diff --git a/specification/cognitiveservices/data-plane/LUIS/Authoring/preview/v3.0/examples/model/SuccessfulReplaceIntentFeaturesRequest.json b/specification/cognitiveservices/data-plane/LUIS/Authoring/preview/v3.0/examples/model/SuccessfulReplaceIntentFeaturesRequest.json index a5246bf438ca..64834fe5bd24 100644 --- a/specification/cognitiveservices/data-plane/LUIS/Authoring/preview/v3.0/examples/model/SuccessfulReplaceIntentFeaturesRequest.json +++ b/specification/cognitiveservices/data-plane/LUIS/Authoring/preview/v3.0/examples/model/SuccessfulReplaceIntentFeaturesRequest.json @@ -1,26 +1,26 @@ { - "parameters": { - "Endpoint": "{Endpoint}", - "Ocp-Apim-Subscription-Key": "00000000000000000000000000000000", - "appId": "86226c53-b7a6-416f-876b-226b2b5ab07b", - "versionId": "0.1", - "intentId": "d7a08f1a-d276-4364-b2d5-b0235c61e37f", - "featureRelationsUpdateObject": [ - { - "featureName": "Phraselist1" - }, - { - "modelName": "None" - } - ] - }, - "responses": { - "200": { - "headers": {}, - "body": { - "code": "Success", - "message": "Operation Successful" - } - } - } -} \ No newline at end of file + "parameters": { + "Endpoint": "{Endpoint}", + "Ocp-Apim-Subscription-Key": "00000000000000000000000000000000", + "appId": "86226c53-b7a6-416f-876b-226b2b5ab07b", + "versionId": "0.1", + "intentId": "d7a08f1a-d276-4364-b2d5-b0235c61e37f", + "featureRelationsUpdateObject": [ + { + "featureName": "Phraselist1" + }, + { + "modelName": "None" + } + ] + }, + "responses": { + "200": { + "headers": {}, + "body": { + "code": "Success", + "message": "Operation Successful" + } + } + } +} diff --git a/specification/cognitiveservices/data-plane/Personalizer/preview/v1.0/Personalizer.json b/specification/cognitiveservices/data-plane/Personalizer/preview/v1.0/Personalizer.json index 5850d1809521..ea99baedc0b5 100644 --- a/specification/cognitiveservices/data-plane/Personalizer/preview/v1.0/Personalizer.json +++ b/specification/cognitiveservices/data-plane/Personalizer/preview/v1.0/Personalizer.json @@ -277,7 +277,7 @@ } }, "RankableAction": { - "description": "An action with it\u0027s associated features used for ranking.", + "description": "An action with it's associated features used for ranking.", "required": [ "id", "features" @@ -317,7 +317,7 @@ "readOnly": true }, "rewardActionId": { - "description": "The action chosen by the Personalizer service. This is the action for which to report the reward. This might not be the \r\nfirst found in \u0027ranking\u0027 if an action in the request in first position was part of the excluded ids.", + "description": "The action chosen by the Personalizer service. This is the action for which to report the reward. This might not be the \r\nfirst found in 'ranking' if an action in the request in first position was part of the excluded ids.", "maxLength": 256, "type": "string", "readOnly": true 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 4707f478307c..5011550648dc 100644 --- a/specification/cognitiveservices/data-plane/QnAMaker/stable/v4.0/QnAMakerRuntime.json +++ b/specification/cognitiveservices/data-plane/QnAMaker/stable/v4.0/QnAMakerRuntime.json @@ -357,9 +357,9 @@ } ] }, - "rankerType": { - "type": "string", - "description": "Optional field. Set to 'QuestionOnly' for using a question only Ranker." + "rankerType": { + "type": "string", + "description": "Optional field. Set to 'QuestionOnly' for using a question only Ranker." }, "strictFilters": { "type": "array", diff --git a/specification/cognitiveservices/data-plane/VisualSearch/preview/v1.0/examples/SuccessfulVisualSearchRequest.json b/specification/cognitiveservices/data-plane/VisualSearch/preview/v1.0/examples/SuccessfulVisualSearchRequest.json index ee56d96d053c..443a25e6d143 100644 --- a/specification/cognitiveservices/data-plane/VisualSearch/preview/v1.0/examples/SuccessfulVisualSearchRequest.json +++ b/specification/cognitiveservices/data-plane/VisualSearch/preview/v1.0/examples/SuccessfulVisualSearchRequest.json @@ -14,7 +14,7 @@ "tags": [ { "image": { - "thumbnailUrl": "https:\/\/tse4.mm.bing.net\/th?q=Space+Needle&pid=Api&mkt=en-US&adlt=moderate" + "thumbnailUrl": "https://tse4.mm.bing.net/th?q=Space+Needle&pid=Api&mkt=en-US&adlt=moderate" }, "displayName": "Space Needle", "boundingBox": { @@ -60,13 +60,13 @@ "_type": "ImageAction", "actionType": "ImageById", "image": { - "webSearchUrl": "https:\/\/www.bing.com\/images\/search?view=detailv2&FORM=OIIRPO", + "webSearchUrl": "https://www.bing.com/images/search?view=detailv2&FORM=OIIRPO", "name": "", - "contentUrl": "https:\/\/assets0.roadtrippers.com\/uploads\/poi_gallery_image\/image\/319703805\/-quality_60_-interlace_Plane_-resize_1024x480_U__-gravity_center_-extent_1024x480\/poi_gallery_image-image-9e436dcb-f4af-4965-9fd6-d526b1af1758.jpg", - "hostPageUrl": "https:\/\/assets0.roadtrippers.com\/uploads\/poi_gallery_image\/image\/319703805\/-quality_60_-interlace_Plane_-resize_1024x480_U__-gravity_center_-extent_1024x480\/poi_gallery_image-image-9e436dcb-f4af-4965-9fd6-d526b1af1758.jpg", + "contentUrl": "https://assets0.roadtrippers.com/uploads/poi_gallery_image/image/319703805/-quality_60_-interlace_Plane_-resize_1024x480_U__-gravity_center_-extent_1024x480/poi_gallery_image-image-9e436dcb-f4af-4965-9fd6-d526b1af1758.jpg", + "hostPageUrl": "https://assets0.roadtrippers.com/uploads/poi_gallery_image/image/319703805/-quality_60_-interlace_Plane_-resize_1024x480_U__-gravity_center_-extent_1024x480/poi_gallery_image-image-9e436dcb-f4af-4965-9fd6-d526b1af1758.jpg", "contentSize": "47157 B", "encodingFormat": "jpeg", - "hostPageDisplayUrl": "https:\/\/assets0.roadtrippers.com\/uploads\/poi_gallery_image\/image\/319703805\/-quality_60_-interlace_Plane_-resize_1024x480_U__-gravity_center_-extent_1024x480\/poi_gallery_image-image-9e436dcb-f4af-4965-9fd6-d526b1af1758.jpg", + "hostPageDisplayUrl": "https://assets0.roadtrippers.com/uploads/poi_gallery_image/image/319703805/-quality_60_-interlace_Plane_-resize_1024x480_U__-gravity_center_-extent_1024x480/poi_gallery_image-image-9e436dcb-f4af-4965-9fd6-d526b1af1758.jpg", "width": 1024, "height": 480, "thumbnail": { @@ -80,7 +80,7 @@ }, { "image": { - "thumbnailUrl": "https:\/\/tse4.mm.bing.net\/th?q=city&pid=Api&mkt=en-US&adlt=moderate" + "thumbnailUrl": "https://tse4.mm.bing.net/th?q=city&pid=Api&mkt=en-US&adlt=moderate" }, "displayName": "city", "boundingBox": { @@ -124,9 +124,9 @@ "actions": [ { "_type": "ImageAction", - "webSearchUrl": "https:\/\/www.bing.com\/images\/search?q=city", + "webSearchUrl": "https://www.bing.com/images/search?q=city", "displayName": "city", - "serviceUrl": "https:\/\/www.bing.com\/api\/v7\/images\/search?q=city", + "serviceUrl": "https://www.bing.com/api/v7/images/search?q=city", "actionType": "ImageResults" } ] 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 b5988fc4f27a..578647611f03 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 @@ -124,7 +124,7 @@ "description": "The name of Cognitive Services account." }, { - "name": "account", + "name": "account", "in": "body", "required": true, "schema": { @@ -875,14 +875,14 @@ "eventHubConnectionString": { "type": "string", "description": "(Personalization Only) The flag to enable statistics of Bing Search.", - "pattern": "^( *)Endpoint=sb://(.*);( *)SharedAccessKeyName=(.*);( *)SharedAccessKey=(.*)$", - "maxLength": 1000 + "pattern": "^( *)Endpoint=sb://(.*);( *)SharedAccessKeyName=(.*);( *)SharedAccessKey=(.*)$", + "maxLength": 1000 }, "storageAccountConnectionString": { "type": "string", "description": "(Personalization Only) The storage account connection string.", - "pattern": "^(( *)DefaultEndpointsProtocol=(http|https)( *);( *))?AccountName=(.*)AccountKey=(.*)EndpointSuffix=(.*)$", - "maxLength": 1000 + "pattern": "^(( *)DefaultEndpointsProtocol=(http|https)( *);( *))?AccountName=(.*)AccountKey=(.*)EndpointSuffix=(.*)$", + "maxLength": 1000 } }, "description": "The api properties for special APIs." diff --git a/specification/compute/resource-manager/Microsoft.Compute/stable/2019-07-01/compute.json b/specification/compute/resource-manager/Microsoft.Compute/stable/2019-07-01/compute.json index 94b1e654dd27..d628559d8a76 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/stable/2019-07-01/compute.json +++ b/specification/compute/resource-manager/Microsoft.Compute/stable/2019-07-01/compute.json @@ -4498,7 +4498,7 @@ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachineScaleSets/{vmScaleSetName}/virtualMachines/{instanceId}/extensions/{vmExtensionName}": { "put": { "tags": [ - "VirtualMachineScaleSetVMExtensions" + "VirtualMachineScaleSetVMExtensions" ], "operationId": "VirtualMachineScaleSetVMExtensions_CreateOrUpdate", "description": "The operation to create or update the VMSS VM extension.", @@ -4576,7 +4576,7 @@ }, "patch": { "tags": [ - "VirtualMachineScaleSetVMExtensions" + "VirtualMachineScaleSetVMExtensions" ], "operationId": "VirtualMachineScaleSetVMExtensions_Update", "description": "The operation to update the VMSS VM extension.", @@ -4785,7 +4785,7 @@ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachineScaleSets/{vmScaleSetName}/virtualMachines/{instanceId}/extensions": { "get": { "tags": [ - "VirtualMachineScaleSetVMExtensions" + "VirtualMachineScaleSetVMExtensions" ], "operationId": "VirtualMachineScaleSetVMExtensions_List", "description": "The operation to get all extensions of an instance in Virtual Machine Scaleset.", @@ -7151,13 +7151,13 @@ }, "diskIOPSReadWrite": { "type": "integer", - "readOnly": true, + "readOnly": true, "format": "int64", "description": "Specifies the Read-Write IOPS for the managed disk when StorageAccountType is UltraSSD_LRS. Returned only for VirtualMachine ScaleSet VM disks. Can be updated only via updates to the VirtualMachine Scale Set." }, "diskMBpsReadWrite": { "type": "integer", - "readOnly": true, + "readOnly": true, "format": "int64", "description": "Specifies the bandwidth in MB per second for the managed disk when StorageAccountType is UltraSSD_LRS. Returned only for VirtualMachine ScaleSet VM disks. Can be updated only via updates to the VirtualMachine Scale Set." } @@ -7427,7 +7427,7 @@ "description": "The amount of time for which automatic repairs are suspended due to a state change on VM. The grace time starts after the state change has completed. This helps avoid premature or accidental repairs. The time duration should be specified in ISO 8601 format. The default value is 5 minutes (PT5M)." }, "maxInstanceRepairsPercent": { - "type": "integer", + "type": "integer", "description": "The percentage (capacity of scaleset) of virtual machines that will be simultaneously repaired. The default value is 20%." } }, @@ -8067,9 +8067,9 @@ } }, "allOf": [ - { - "$ref": "#/definitions/ImageDisk" - } + { + "$ref": "#/definitions/ImageDisk" + } ], "required": [ "osType", @@ -8086,9 +8086,9 @@ } }, "allOf": [ - { - "$ref": "#/definitions/ImageDisk" - } + { + "$ref": "#/definitions/ImageDisk" + } ], "required": [ "lun" @@ -8097,7 +8097,7 @@ }, "ImageDisk": { "properties": { - "snapshot": { + "snapshot": { "$ref": "#/definitions/SubResource", "description": "The snapshot." }, diff --git a/specification/compute/resource-manager/Microsoft.Compute/stable/2019-07-01/disk.json b/specification/compute/resource-manager/Microsoft.Compute/stable/2019-07-01/disk.json index 85990d2b960a..ca9fa69cbe3c 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/stable/2019-07-01/disk.json +++ b/specification/compute/resource-manager/Microsoft.Compute/stable/2019-07-01/disk.json @@ -926,7 +926,7 @@ "x-ms-pageable": { "nextLinkName": "nextLink" } - } + } }, "/subscriptions/{subscriptionId}/providers/Microsoft.Compute/diskEncryptionSets": { "get": { @@ -965,7 +965,7 @@ "x-ms-pageable": { "nextLinkName": "nextLink" } - } + } } }, "definitions": { @@ -1458,9 +1458,9 @@ "type": { "type": "string", "description": "The type of key used to encrypt the data of the disk.", - "enum": [ - "EncryptionAtRestWithPlatformKey", - "EncryptionAtRestWithCustomerKey" + "enum": [ + "EncryptionAtRestWithPlatformKey", + "EncryptionAtRestWithCustomerKey" ], "x-ms-enum": { "name": "EncryptionType", @@ -1547,8 +1547,7 @@ }, "DiskEncryptionSetUpdateProperties": { "properties": { - "activeKey": - { + "activeKey": { "$ref": "#/definitions/KeyVaultAndKeyReference" } }, diff --git a/specification/compute/resource-manager/Microsoft.Compute/stable/2019-07-01/examples/CreateADiskEncryptionSet.json b/specification/compute/resource-manager/Microsoft.Compute/stable/2019-07-01/examples/CreateADiskEncryptionSet.json index 6c71c6e1c87c..cf0f403d3086 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/stable/2019-07-01/examples/CreateADiskEncryptionSet.json +++ b/specification/compute/resource-manager/Microsoft.Compute/stable/2019-07-01/examples/CreateADiskEncryptionSet.json @@ -10,8 +10,8 @@ "type": "SystemAssigned" }, "properties": { - "activeKey": { - "sourceVault": { + "activeKey": { + "sourceVault": { "id": "/subscriptions/{subscriptionId}/resourceGroups/myResourceGroup/providers/Microsoft.KeyVault/vaults/myVMVault" }, "keyUrl": "https://myvmvault.vault-int.azure-int.net/keys/{key}" diff --git a/specification/compute/resource-manager/Microsoft.Compute/stable/2019-07-01/examples/CreateAScaleSetWithAnAzureLoadBalancer.json b/specification/compute/resource-manager/Microsoft.Compute/stable/2019-07-01/examples/CreateAScaleSetWithAnAzureLoadBalancer.json index bc3631a913c8..0bbb9bfc658f 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/stable/2019-07-01/examples/CreateAScaleSetWithAnAzureLoadBalancer.json +++ b/specification/compute/resource-manager/Microsoft.Compute/stable/2019-07-01/examples/CreateAScaleSetWithAnAzureLoadBalancer.json @@ -51,7 +51,7 @@ "publicIPAddressConfiguration": { "name": "{vmss-name}", "properties": { - "publicIPAddressVersion": "IPv4" + "publicIPAddressVersion": "IPv4" } }, "loadBalancerInboundNatPools": [ diff --git a/specification/compute/resource-manager/Microsoft.Compute/stable/2019-07-01/examples/CreateAScaleSetWithAutomaticRepairs.json b/specification/compute/resource-manager/Microsoft.Compute/stable/2019-07-01/examples/CreateAScaleSetWithAutomaticRepairs.json index b24cd1e84500..04db97b2889d 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/stable/2019-07-01/examples/CreateAScaleSetWithAutomaticRepairs.json +++ b/specification/compute/resource-manager/Microsoft.Compute/stable/2019-07-01/examples/CreateAScaleSetWithAutomaticRepairs.json @@ -1,18 +1,85 @@ { + "parameters": { + "subscriptionId": "{subscription-id}", + "resourceGroupName": "myResourceGroup", + "vmScaleSetName": "{vmss-name}", + "api-version": "2019-07-01", "parameters": { - "subscriptionId": "{subscription-id}", - "resourceGroupName": "myResourceGroup", - "vmScaleSetName": "{vmss-name}", - "api-version": "2019-07-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}" + } + } + } + ] + } + } + ] + } + }, + "upgradePolicy": { + "mode": "Manual" + }, + "automaticRepairsPolicy": { + "enabled": true, + "gracePeriod": "PT3M", + "maxInstanceRepairsPercent": 100 + } + } + } + }, + "responses": { + "200": { + "body": { "sku": { "tier": "Standard", "capacity": 3, "name": "Standard_D1_v2" }, - "location": "westus", + "name": "{vmss-name}", "properties": { + "singlePlacementGroup": true, "overprovision": true, + "uniqueId": "d053ec5a-8da6-495f-ab13-38216503c6d7", "virtualMachineProfile": { "storageProfile": { "imageReference": { @@ -32,13 +99,20 @@ "osProfile": { "computerNamePrefix": "{vmss-name}", "adminUsername": "{your-username}", - "adminPassword": "{your-password}" + "secrets": [], + "windowsConfiguration": { + "provisionVMAgent": true, + "enableAutomaticUpdates": true + } }, "networkProfile": { "networkInterfaceConfigurations": [ { "name": "{vmss-name}", "properties": { + "dnsSettings": { + "dnsServers": [] + }, "primary": true, "enableIPForwarding": true, "ipConfigurations": [ @@ -46,11 +120,13 @@ "name": "{vmss-name}", "properties": { "subnet": { - "id": "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/{existing-virtual-network-name}/subnets/{existing-subnet-name}" - } + "id": "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/nsgExistingVnet/subnets/nsgExistingSubnet" + }, + "privateIPAddressVersion": "IPv4" } } - ] + ], + "enableAcceleratedNetworking": false } } ] @@ -60,172 +136,95 @@ "mode": "Manual" }, "automaticRepairsPolicy": { - "enabled": true, + "enabled": true, "gracePeriod": "PT3M", "maxInstanceRepairsPercent": 100 - } - } + }, + "provisioningState": "Creating" + }, + "location": "westus", + "type": "Microsoft.Compute/virtualMachineScaleSets", + "id": "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/virtualMachineScaleSets/{vmss-name}" } }, - "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 - } + "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" }, - "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 - } - } - ] + "osDisk": { + "caching": "ReadWrite", + "managedDisk": { + "storageAccountType": "Standard_LRS" + }, + "createOption": "FromImage" } }, - "upgradePolicy": { - "mode": "Manual" - }, - "automaticRepairsPolicy": { - "enabled": true, - "gracePeriod": "PT3M", - "maxInstanceRepairsPercent": 100 + "osProfile": { + "computerNamePrefix": "{vmss-name}", + "adminUsername": "{your-username}", + "secrets": [], + "windowsConfiguration": { + "provisionVMAgent": true, + "enableAutomaticUpdates": true + } }, - "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" - } + "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 - } + } + ], + "enableAcceleratedNetworking": false } - ] - } - }, - "upgradePolicy": { - "mode": "Manual" - }, - "automaticRepairsPolicy": { - "enabled": true, - "gracePeriod": "PT3M", - "maxInstanceRepairsPercent": 100 - }, - "provisioningState": "Creating" + } + ] + } }, - "location": "westus", - "type": "Microsoft.Compute/virtualMachineScaleSets", - "id": "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/virtualMachineScaleSets/{vmss-name}" - } + "upgradePolicy": { + "mode": "Manual" + }, + "automaticRepairsPolicy": { + "enabled": true, + "gracePeriod": "PT3M", + "maxInstanceRepairsPercent": 100 + }, + "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 +} diff --git a/specification/compute/resource-manager/Microsoft.Compute/stable/2019-07-01/examples/CreateAScalesetWithDiskEncryptionSetResource.json b/specification/compute/resource-manager/Microsoft.Compute/stable/2019-07-01/examples/CreateAScalesetWithDiskEncryptionSetResource.json index 6e77c5e1e3d2..c1461518d4d5 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/stable/2019-07-01/examples/CreateAScalesetWithDiskEncryptionSetResource.json +++ b/specification/compute/resource-manager/Microsoft.Compute/stable/2019-07-01/examples/CreateAScalesetWithDiskEncryptionSetResource.json @@ -22,24 +22,24 @@ "managedDisk": { "storageAccountType": "Standard_LRS", "diskEncryptionSet": { - "id": "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/diskEncryptionSets/{existing-diskEncryptionSet-name}" + "id": "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/diskEncryptionSets/{existing-diskEncryptionSet-name}" } }, "createOption": "FromImage" }, "dataDisks": [ - { - "caching": "ReadWrite", - "managedDisk": { - "storageAccountType": "Standard_LRS", - "diskEncryptionSet": { - "id": "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/diskEncryptionSets/{existing-diskEncryptionSet-name}" - } - }, - "diskSizeGB": 1023, - "createOption": "Empty", - "lun": 0 - } + { + "caching": "ReadWrite", + "managedDisk": { + "storageAccountType": "Standard_LRS", + "diskEncryptionSet": { + "id": "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/diskEncryptionSets/{existing-diskEncryptionSet-name}" + } + }, + "diskSizeGB": 1023, + "createOption": "Empty", + "lun": 0 + } ] }, "osProfile": { diff --git a/specification/compute/resource-manager/Microsoft.Compute/stable/2019-07-01/examples/CreateAVmWithDiskEncryptionSetResource.json b/specification/compute/resource-manager/Microsoft.Compute/stable/2019-07-01/examples/CreateAVmWithDiskEncryptionSetResource.json index 38817d67e796..acd36925567b 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/stable/2019-07-01/examples/CreateAVmWithDiskEncryptionSetResource.json +++ b/specification/compute/resource-manager/Microsoft.Compute/stable/2019-07-01/examples/CreateAVmWithDiskEncryptionSetResource.json @@ -113,31 +113,31 @@ "osType": "Linux" }, "dataDisks": [ - { - "caching": "ReadWrite", - "managedDisk": { - "storageAccountType": "Standard_LRS", - "diskEncryptionSet": { - "id": "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/diskEncryptionSets/{existing-diskEncryptionSet-name}" - } - }, - "diskSizeGB": 1023, - "createOption": "Empty", - "lun": 0 + { + "caching": "ReadWrite", + "managedDisk": { + "storageAccountType": "Standard_LRS", + "diskEncryptionSet": { + "id": "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/diskEncryptionSets/{existing-diskEncryptionSet-name}" + } }, - { - "caching": "ReadWrite", - "managedDisk": { - "id": "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/{existing-managed-disk-name}", - "storageAccountType": "Standard_LRS", - "diskEncryptionSet": { - "id": "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/diskEncryptionSets/{existing-diskEncryptionSet-name}" - } - }, - "diskSizeGB": 1023, - "createOption": "Attach", - "lun": 1 - } + "diskSizeGB": 1023, + "createOption": "Empty", + "lun": 0 + }, + { + "caching": "ReadWrite", + "managedDisk": { + "id": "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/{existing-managed-disk-name}", + "storageAccountType": "Standard_LRS", + "diskEncryptionSet": { + "id": "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/diskEncryptionSets/{existing-diskEncryptionSet-name}" + } + }, + "diskSizeGB": 1023, + "createOption": "Attach", + "lun": 1 + } ] }, "vmId": "71aa3d5a-d73d-4970-9182-8580433b2865", @@ -188,31 +188,31 @@ "osType": "Linux" }, "dataDisks": [ - { - "caching": "ReadWrite", - "managedDisk": { - "storageAccountType": "Standard_LRS", - "diskEncryptionSet": { - "id": "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/diskEncryptionSets/{existing-diskEncryptionSet-name}" - } - }, - "diskSizeGB": 1023, - "createOption": "Empty", - "lun": 0 + { + "caching": "ReadWrite", + "managedDisk": { + "storageAccountType": "Standard_LRS", + "diskEncryptionSet": { + "id": "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/diskEncryptionSets/{existing-diskEncryptionSet-name}" + } }, - { - "caching": "ReadWrite", - "managedDisk": { - "id": "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/{existing-managed-disk-name}", - "storageAccountType": "Standard_LRS", - "diskEncryptionSet": { - "id": "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/diskEncryptionSets/{existing-diskEncryptionSet-name}" - } - }, - "diskSizeGB": 1023, - "createOption": "Attach", - "lun": 1 - } + "diskSizeGB": 1023, + "createOption": "Empty", + "lun": 0 + }, + { + "caching": "ReadWrite", + "managedDisk": { + "id": "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/{existing-managed-disk-name}", + "storageAccountType": "Standard_LRS", + "diskEncryptionSet": { + "id": "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/diskEncryptionSets/{existing-diskEncryptionSet-name}" + } + }, + "diskSizeGB": 1023, + "createOption": "Attach", + "lun": 1 + } ] }, "vmId": "71aa3d5a-d73d-4970-9182-8580433b2865", diff --git a/specification/compute/resource-manager/Microsoft.Compute/stable/2019-07-01/examples/CreateAnImageFromAManagedDiskWithDiskEncryptionSet.json b/specification/compute/resource-manager/Microsoft.Compute/stable/2019-07-01/examples/CreateAnImageFromAManagedDiskWithDiskEncryptionSet.json index eaad87dd0151..094a858d799d 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/stable/2019-07-01/examples/CreateAnImageFromAManagedDiskWithDiskEncryptionSet.json +++ b/specification/compute/resource-manager/Microsoft.Compute/stable/2019-07-01/examples/CreateAnImageFromAManagedDiskWithDiskEncryptionSet.json @@ -14,7 +14,7 @@ "id": "subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/myManagedDisk" }, "diskEncryptionSet": { - "id": "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/diskEncryptionSets/{existing-diskEncryptionSet-name}" + "id": "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/diskEncryptionSets/{existing-diskEncryptionSet-name}" }, "osState": "Generalized" } diff --git a/specification/compute/resource-manager/Microsoft.Compute/stable/2019-07-01/examples/CreateAnImageFromASnapshotWithDiskEncryptionSet.json b/specification/compute/resource-manager/Microsoft.Compute/stable/2019-07-01/examples/CreateAnImageFromASnapshotWithDiskEncryptionSet.json index 63788cf408de..555be69eb392 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/stable/2019-07-01/examples/CreateAnImageFromASnapshotWithDiskEncryptionSet.json +++ b/specification/compute/resource-manager/Microsoft.Compute/stable/2019-07-01/examples/CreateAnImageFromASnapshotWithDiskEncryptionSet.json @@ -14,7 +14,7 @@ "id": "subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/snapshots/mySnapshot" }, "diskEncryptionSet": { - "id": "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/diskEncryptionSets/{existing-diskEncryptionSet-name}" + "id": "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/diskEncryptionSets/{existing-diskEncryptionSet-name}" }, "osState": "Generalized" } diff --git a/specification/compute/resource-manager/Microsoft.Compute/stable/2019-07-01/examples/CreateOrUpdateVirtualMachineScaleSetVMExtensions.json b/specification/compute/resource-manager/Microsoft.Compute/stable/2019-07-01/examples/CreateOrUpdateVirtualMachineScaleSetVMExtensions.json index 080c96490c75..9179523838a1 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/stable/2019-07-01/examples/CreateOrUpdateVirtualMachineScaleSetVMExtensions.json +++ b/specification/compute/resource-manager/Microsoft.Compute/stable/2019-07-01/examples/CreateOrUpdateVirtualMachineScaleSetVMExtensions.json @@ -1,54 +1,60 @@ { - "parameters": { - "subscriptionId": "{subscription-id}", - "resourceGroupName": "myResourceGroup", - "vmScaleSetName": "myvmScaleSet", - "instanceId": "0", - "vmExtensionName":"myVMExtension", - "api-version": "2019-07-01", - "extensionParameters": { + "parameters": { + "subscriptionId": "{subscription-id}", + "resourceGroupName": "myResourceGroup", + "vmScaleSetName": "myvmScaleSet", + "instanceId": "0", + "vmExtensionName": "myVMExtension", + "api-version": "2019-07-01", + "extensionParameters": { + "location": "westus", + "properties": { + "autoUpgradeMinorVersion": true, + "publisher": "extPublisher", + "type": "extType", + "typeHandlerVersion": "1.2", + "settings": { + "UserName": "xyz@microsoft.com" + } + } + } + }, + "responses": { + "201": { + "body": { + "name": "myVMExtension", "location": "westus", + "type": "Microsoft.Compute/virtualMachineScaleSets/virtualMachines/extensions", + "id": "/subscriptions/{subscriptionId}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/virtualMachineScaleSets/myvmScaleSet/virtualMachines/0/extensions/myVMExtension", "properties": { - "autoUpgradeMinorVersion": true, - "publisher": "extPublisher", - "type": "extType", - "typeHandlerVersion": "1.2", - "settings": { "UserName": "xyz@microsoft.com" } + "autoUpgradeMinorVersion": true, + "provisioningState": "Creating", + "publisher": "extPublisher", + "type": "extType", + "typeHandlerVersion": "1.2", + "settings": { + "UserName": "xyz@microsoft.com" + } } } }, - "responses": { - "201": { - "body": { - "name": "myVMExtension", - "location": "westus", - "type":"Microsoft.Compute/virtualMachineScaleSets/virtualMachines/extensions", - "id": "/subscriptions/{subscriptionId}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/virtualMachineScaleSets/myvmScaleSet/virtualMachines/0/extensions/myVMExtension", - "properties": { - "autoUpgradeMinorVersion": true, - "provisioningState": "Creating", - "publisher": "extPublisher", - "type": "extType", - "typeHandlerVersion": "1.2", - "settings": {"UserName":"xyz@microsoft.com"} + "200": { + "body": { + "name": "myVMExtension", + "location": "westus", + "type": "Microsoft.Compute/virtualMachineScaleSets/virtualMachines/extensions", + "id": "/subscriptions/{subscriptionId}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/virtualMachineScaleSets/myvmScaleSet/virtualMachines/0/extensions/myVMExtension", + "properties": { + "autoUpgradeMinorVersion": true, + "provisioningState": "Creating", + "publisher": "extPublisher", + "type": "extType", + "typeHandlerVersion": "1.2", + "settings": { + "UserName": "xyz@microsoft.com" } } - }, - "200": { - "body": { - "name": "myVMExtension", - "location": "westus", - "type":"Microsoft.Compute/virtualMachineScaleSets/virtualMachines/extensions", - "id": "/subscriptions/{subscriptionId}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/virtualMachineScaleSets/myvmScaleSet/virtualMachines/0/extensions/myVMExtension", - "properties": { - "autoUpgradeMinorVersion": true, - "provisioningState": "Creating", - "publisher": "extPublisher", - "type": "extType", - "typeHandlerVersion": "1.2", - "settings": {"UserName":"xyz@microsoft.com"} - } - } } } } +} diff --git a/specification/compute/resource-manager/Microsoft.Compute/stable/2019-07-01/examples/DeleteVirtualMachineScaleSetVMExtensions.json b/specification/compute/resource-manager/Microsoft.Compute/stable/2019-07-01/examples/DeleteVirtualMachineScaleSetVMExtensions.json index caba488648b0..db6207d8f09a 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/stable/2019-07-01/examples/DeleteVirtualMachineScaleSetVMExtensions.json +++ b/specification/compute/resource-manager/Microsoft.Compute/stable/2019-07-01/examples/DeleteVirtualMachineScaleSetVMExtensions.json @@ -1,15 +1,15 @@ { - "parameters": { - "subscriptionId": "{subscription-id}", - "resourceGroupName": "myResourceGroup", - "vmScaleSetName": "myvmScaleSet", - "instanceId": "0", - "vmExtensionName":"myVMExtension", - "api-version": "2019-07-01" - }, - "responses": { - "200": {}, - "202": {}, - "204": {} - } + "parameters": { + "subscriptionId": "{subscription-id}", + "resourceGroupName": "myResourceGroup", + "vmScaleSetName": "myvmScaleSet", + "instanceId": "0", + "vmExtensionName": "myVMExtension", + "api-version": "2019-07-01" + }, + "responses": { + "200": {}, + "202": {}, + "204": {} } +} diff --git a/specification/compute/resource-manager/Microsoft.Compute/stable/2019-07-01/examples/GetInformationAboutADiskEncryptionSet.json b/specification/compute/resource-manager/Microsoft.Compute/stable/2019-07-01/examples/GetInformationAboutADiskEncryptionSet.json index 4226d9f36200..86e3fe86147d 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/stable/2019-07-01/examples/GetInformationAboutADiskEncryptionSet.json +++ b/specification/compute/resource-manager/Microsoft.Compute/stable/2019-07-01/examples/GetInformationAboutADiskEncryptionSet.json @@ -14,20 +14,20 @@ "properties": { "activeKey": { "sourceVault": { - "id": "/subscriptions/{subscriptionId}/resourceGroups/myResourceGroup/providers/Microsoft.KeyVault/vaults/myVMVault" + "id": "/subscriptions/{subscriptionId}/resourceGroups/myResourceGroup/providers/Microsoft.KeyVault/vaults/myVMVault" }, "keyUrl": "https://myvmvault.vault-int.azure-int.net/keys/{key}" }, "previousKeys": [], "provisioningState": "Succeeded" }, - "type": "Microsoft.Compute/diskEncryptionSet", + "type": "Microsoft.Compute/diskEncryptionSet", "location": "westus", "tags": { - "department": "Development", + "department": "Development", "project": "Encryption" }, - "id": "/subscriptions/{subscriptionId}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/diskEncryptionSet/myDiskEncryptionSet", + "id": "/subscriptions/{subscriptionId}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/diskEncryptionSet/myDiskEncryptionSet", "name": "myDiskEncryptionSet" } } diff --git a/specification/compute/resource-manager/Microsoft.Compute/stable/2019-07-01/examples/GetVirtualMachine.json b/specification/compute/resource-manager/Microsoft.Compute/stable/2019-07-01/examples/GetVirtualMachine.json index 434d91c22485..ab3de830d2a4 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/stable/2019-07-01/examples/GetVirtualMachine.json +++ b/specification/compute/resource-manager/Microsoft.Compute/stable/2019-07-01/examples/GetVirtualMachine.json @@ -1,120 +1,118 @@ { "parameters": { "subscriptionId": "{subscription-id}", - "resourceGroupName": "myResourceGroup", - "vmName": "myVM", + "resourceGroupName": "myResourceGroup", + "vmName": "myVM", "api-version": "2019-07-01" }, "responses": { "200": { - "body": { + "body": { "name": "myVM", - "id" : "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/virtualMachines/myVM", - "type" : "Microsoft.Compute/virtualMachines", - "location": "West US", - "tags" : { - "myTag1" : "tagValue1" - }, + "id": "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/virtualMachines/myVM", + "type": "Microsoft.Compute/virtualMachines", + "location": "West US", + "tags": { + "myTag1": "tagValue1" + }, "properties": { - "vmId" : "0f47b100-583c-48e3-a4c0-aefc2c9bbcc1", - "availabilitySet" : { - "id" : "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/availabilitySets/my-AvailabilitySet" - }, - "proximityPlacementGroup" : { - "id" : "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/proximityPlacementGroups/my-ppg01" - }, - "hardwareProfile" : { - "vmSize" : "Standard_DS3_v2" - }, - "storageProfile" : { - "imageReference" : { - "publisher" : "MicrosoftWindowsServer", - "offer" : "WindowsServer", - "sku" : "2016-Datacenter", - "version" : "latest" - }, - "osDisk" : { - "osType": "Windows", - "name": "myOsDisk", - "createOption": "FromImage", - "caching": "ReadWrite", - "managedDisk": { - "storageAccountType": "Premium_LRS", - "id": "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/myOsDisk" - }, - "diskSizeGB": 30 - }, - "dataDisks" : [ - { - "lun": 0, - "name": "myDataDisk0", - "createOption": "Empty", - "caching": "ReadWrite", - "managedDisk": { - "storageAccountType": "Premium_LRS", - "id": "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/myDataDisk0" - }, - "diskSizeGB": 30 - }, - { - "lun": 1, - "name": "myDataDisk1", - "createOption": "Attach", - "caching": "ReadWrite", - "managedDisk": { - "storageAccountType": "Premium_LRS", - "id": "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/myDataDisk1" - }, - "diskSizeGB": 100 - } - ] - }, - "osProfile" : { - "computerName" : "myVM", - "adminUsername" : "admin", - "windowsConfiguration" : { - "provisionVMAgent" : true, - "enableAutomaticUpdates" : false - }, - "secrets" : [ - ] - }, - "networkProfile" : { - "networkInterfaces" : [{ - "id" : "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Network/networkInterfaces/{myNIC}" - } - ] - }, - "diagnosticsProfile" : { - "bootDiagnostics" : { - "enabled" : true, - "storageUri" : "http://{myStorageAccount}.blob.core.windows.net" - } - }, - "provisioningState" : "Succeeded" - }, - "resources" : [{ - "name" : "CustomScriptExtension-DSC", - "id" : "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/virtualMachines/myVM/extensions/CustomScriptExtension-DSC", - "type" : "Microsoft.Compute/virtualMachines/extensions", - "location" : "west us", - "tags" : { - "displayName" : "CustomScriptExtension-DSC" - }, - "properties" : { - "autoUpgradeMinorVersion" : true, - "provisioningState" : "Succeeded", - "publisher" : "Microsoft.Compute", - "type" : "CustomScriptExtension", - "typeHandlerVersion" : "1.9", - "settings" : { - } - } - }] + "vmId": "0f47b100-583c-48e3-a4c0-aefc2c9bbcc1", + "availabilitySet": { + "id": "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/availabilitySets/my-AvailabilitySet" + }, + "proximityPlacementGroup": { + "id": "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/proximityPlacementGroups/my-ppg01" + }, + "hardwareProfile": { + "vmSize": "Standard_DS3_v2" + }, + "storageProfile": { + "imageReference": { + "publisher": "MicrosoftWindowsServer", + "offer": "WindowsServer", + "sku": "2016-Datacenter", + "version": "latest" + }, + "osDisk": { + "osType": "Windows", + "name": "myOsDisk", + "createOption": "FromImage", + "caching": "ReadWrite", + "managedDisk": { + "storageAccountType": "Premium_LRS", + "id": "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/myOsDisk" + }, + "diskSizeGB": 30 + }, + "dataDisks": [ + { + "lun": 0, + "name": "myDataDisk0", + "createOption": "Empty", + "caching": "ReadWrite", + "managedDisk": { + "storageAccountType": "Premium_LRS", + "id": "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/myDataDisk0" + }, + "diskSizeGB": 30 + }, + { + "lun": 1, + "name": "myDataDisk1", + "createOption": "Attach", + "caching": "ReadWrite", + "managedDisk": { + "storageAccountType": "Premium_LRS", + "id": "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/myDataDisk1" + }, + "diskSizeGB": 100 + } + ] + }, + "osProfile": { + "computerName": "myVM", + "adminUsername": "admin", + "windowsConfiguration": { + "provisionVMAgent": true, + "enableAutomaticUpdates": false + }, + "secrets": [] + }, + "networkProfile": { + "networkInterfaces": [ + { + "id": "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Network/networkInterfaces/{myNIC}" + } + ] + }, + "diagnosticsProfile": { + "bootDiagnostics": { + "enabled": true, + "storageUri": "http://{myStorageAccount}.blob.core.windows.net" + } + }, + "provisioningState": "Succeeded" + }, + "resources": [ + { + "name": "CustomScriptExtension-DSC", + "id": "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/virtualMachines/myVM/extensions/CustomScriptExtension-DSC", + "type": "Microsoft.Compute/virtualMachines/extensions", + "location": "west us", + "tags": { + "displayName": "CustomScriptExtension-DSC" + }, + "properties": { + "autoUpgradeMinorVersion": true, + "provisioningState": "Succeeded", + "publisher": "Microsoft.Compute", + "type": "CustomScriptExtension", + "typeHandlerVersion": "1.9", + "settings": {} + } + } + ] } } } } - - - diff --git a/specification/compute/resource-manager/Microsoft.Compute/stable/2019-07-01/examples/GetVirtualMachineInstanceView.json b/specification/compute/resource-manager/Microsoft.Compute/stable/2019-07-01/examples/GetVirtualMachineInstanceView.json index fff895e335e0..962dead238a1 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/stable/2019-07-01/examples/GetVirtualMachineInstanceView.json +++ b/specification/compute/resource-manager/Microsoft.Compute/stable/2019-07-01/examples/GetVirtualMachineInstanceView.json @@ -1,91 +1,99 @@ { - "parameters" : { - "subscriptionId" : "{subscription-id}", - "resourceGroupName" : "myResourceGroup", - "api-version" : "2019-07-01", - "vmName" : "myVM" - }, - "responses" : { - "200" : { - "body" : { - "platformUpdateDomain" : 1, - "platformFaultDomain" : 1, - "computerName" : "myVM", - "osName" : "Windows Server 2016 Datacenter", - "osVersion" : "Microsoft Windows NT 10.0.14393.0", - "vmAgent" : { - "vmAgentVersion" : "2.7.41491.949", - "statuses" : [{ - "code" : "ProvisioningState/succeeded", - "level" : "Info", - "displayStatus" : "Ready", - "message" : "GuestAgent is running and accepting new configurations.", - "time" : "2019-10-14T23:11:22+00:00" - } - ], - "extensionHandlers" : [{ - "type" : "Microsoft.Azure.Security.IaaSAntimalware", - "typeHandlerVersion" : "1.5.5.9", - "status" : { - "code" : "ProvisioningState/succeeded", - "level" : "Info", - "displayStatus" : "Ready" - } - } - ] - }, - "disks" : [ - { - "name" : "myOsDisk", - "statuses" : [{ - "code" : "ProvisioningState/succeeded", - "level" : "Info", - "displayStatus" : "Provisioning succeeded", - "time" : "2019-10-14T21:29:47.477089+00:00" - } - ] - }, - { - "name" : "myDataDisk0", - "statuses" : [{ - "code" : "ProvisioningState/succeeded", - "level" : "Info", - "displayStatus" : "Provisioning succeeded", - "time" : "2019-10-14T21:29:47.461517+00:00" - } - ] - } - ], - "bootDiagnostics" : { - "consoleScreenshotBlobUri" : "https://{myStorageAccount}.blob.core.windows.net/bootdiagnostics-myOsDisk/myOsDisk.screenshot.bmp", - "serialConsoleLogBlobUri" : "https://{myStorageAccount}.blob.core.windows.net/bootdiagnostics-myOsDisk/myOsDisk.serialconsole.log" - }, - "extensions" : [{ - "name" : "IaaSAntiMalware-ext0", - "type" : "Microsoft.Azure.Security.IaaSAntimalware", - "typeHandlerVersion" : "1.5.5.9", - "statuses" : [{ - "code" : "ProvisioningState/succeeded", - "level" : "Info", - "displayStatus" : "Provisioning succeeded", - "message" : "Microsoft Antimalware enabled" - } - ] - } - ], - "hyperVGeneration" : "V1", - "statuses" : [{ - "code" : "ProvisioningState/succeeded", - "level" : "Info", - "displayStatus" : "Provisioning succeeded", - "time" : "2019-10-14T21:30:12.8051917+00:00" - }, { - "code" : "PowerState/running", - "level" : "Info", - "displayStatus" : "VM running" - } - ] - } - } - } -} \ No newline at end of file + "parameters": { + "subscriptionId": "{subscription-id}", + "resourceGroupName": "myResourceGroup", + "api-version": "2019-07-01", + "vmName": "myVM" + }, + "responses": { + "200": { + "body": { + "platformUpdateDomain": 1, + "platformFaultDomain": 1, + "computerName": "myVM", + "osName": "Windows Server 2016 Datacenter", + "osVersion": "Microsoft Windows NT 10.0.14393.0", + "vmAgent": { + "vmAgentVersion": "2.7.41491.949", + "statuses": [ + { + "code": "ProvisioningState/succeeded", + "level": "Info", + "displayStatus": "Ready", + "message": "GuestAgent is running and accepting new configurations.", + "time": "2019-10-14T23:11:22+00:00" + } + ], + "extensionHandlers": [ + { + "type": "Microsoft.Azure.Security.IaaSAntimalware", + "typeHandlerVersion": "1.5.5.9", + "status": { + "code": "ProvisioningState/succeeded", + "level": "Info", + "displayStatus": "Ready" + } + } + ] + }, + "disks": [ + { + "name": "myOsDisk", + "statuses": [ + { + "code": "ProvisioningState/succeeded", + "level": "Info", + "displayStatus": "Provisioning succeeded", + "time": "2019-10-14T21:29:47.477089+00:00" + } + ] + }, + { + "name": "myDataDisk0", + "statuses": [ + { + "code": "ProvisioningState/succeeded", + "level": "Info", + "displayStatus": "Provisioning succeeded", + "time": "2019-10-14T21:29:47.461517+00:00" + } + ] + } + ], + "bootDiagnostics": { + "consoleScreenshotBlobUri": "https://{myStorageAccount}.blob.core.windows.net/bootdiagnostics-myOsDisk/myOsDisk.screenshot.bmp", + "serialConsoleLogBlobUri": "https://{myStorageAccount}.blob.core.windows.net/bootdiagnostics-myOsDisk/myOsDisk.serialconsole.log" + }, + "extensions": [ + { + "name": "IaaSAntiMalware-ext0", + "type": "Microsoft.Azure.Security.IaaSAntimalware", + "typeHandlerVersion": "1.5.5.9", + "statuses": [ + { + "code": "ProvisioningState/succeeded", + "level": "Info", + "displayStatus": "Provisioning succeeded", + "message": "Microsoft Antimalware enabled" + } + ] + } + ], + "hyperVGeneration": "V1", + "statuses": [ + { + "code": "ProvisioningState/succeeded", + "level": "Info", + "displayStatus": "Provisioning succeeded", + "time": "2019-10-14T21:30:12.8051917+00:00" + }, + { + "code": "PowerState/running", + "level": "Info", + "displayStatus": "VM running" + } + ] + } + } + } +} diff --git a/specification/compute/resource-manager/Microsoft.Compute/stable/2019-07-01/examples/GetVirtualMachineScaleSetVMExtensions.json b/specification/compute/resource-manager/Microsoft.Compute/stable/2019-07-01/examples/GetVirtualMachineScaleSetVMExtensions.json index 5af5fe255613..19fb1669c966 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/stable/2019-07-01/examples/GetVirtualMachineScaleSetVMExtensions.json +++ b/specification/compute/resource-manager/Microsoft.Compute/stable/2019-07-01/examples/GetVirtualMachineScaleSetVMExtensions.json @@ -1,28 +1,30 @@ { - "parameters": { - "subscriptionId": "{subscription-id}", - "resourceGroupName": "myResourceGroup", - "vmScaleSetName": "myvmScaleSet", - "instanceId": "0", - "vmExtensionName":"myVMExtension", - "api-version": "2019-07-01" - }, - "responses": { - "200": { - "body": { - "properties": { - "autoUpgradeMinorVersion": true, - "provisioningState": "Creating", - "publisher": "extPublisher", - "type": "extType", - "typeHandlerVersion": "1.2", - "settings": {"UserName":"xyz@microsoft.com"} - }, - "name": "myVMExtension", - "location": "westus", - "type":"Microsoft.Compute/virtualMachineScaleSets/virtualMachines/extensions", - "id": "/subscriptions/{subscriptionId}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/virtualMachineScaleSets/myvmScaleSet/virtualMachines/0/extensions/myVMExtension" - } + "parameters": { + "subscriptionId": "{subscription-id}", + "resourceGroupName": "myResourceGroup", + "vmScaleSetName": "myvmScaleSet", + "instanceId": "0", + "vmExtensionName": "myVMExtension", + "api-version": "2019-07-01" + }, + "responses": { + "200": { + "body": { + "properties": { + "autoUpgradeMinorVersion": true, + "provisioningState": "Creating", + "publisher": "extPublisher", + "type": "extType", + "typeHandlerVersion": "1.2", + "settings": { + "UserName": "xyz@microsoft.com" + } + }, + "name": "myVMExtension", + "location": "westus", + "type": "Microsoft.Compute/virtualMachineScaleSets/virtualMachines/extensions", + "id": "/subscriptions/{subscriptionId}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/virtualMachineScaleSets/myvmScaleSet/virtualMachines/0/extensions/myVMExtension" } } } +} diff --git a/specification/compute/resource-manager/Microsoft.Compute/stable/2019-07-01/examples/ListDiskEncryptionSetsInAResourceGroup.json b/specification/compute/resource-manager/Microsoft.Compute/stable/2019-07-01/examples/ListDiskEncryptionSetsInAResourceGroup.json index 60beaa08a3b6..765903ddc404 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/stable/2019-07-01/examples/ListDiskEncryptionSetsInAResourceGroup.json +++ b/specification/compute/resource-manager/Microsoft.Compute/stable/2019-07-01/examples/ListDiskEncryptionSetsInAResourceGroup.json @@ -15,20 +15,20 @@ "properties": { "activeKey": { "sourceVault": { - "id": "/subscriptions/{subscriptionId}/resourceGroups/myResourceGroup/providers/Microsoft.KeyVault/vaults/myVMVault" + "id": "/subscriptions/{subscriptionId}/resourceGroups/myResourceGroup/providers/Microsoft.KeyVault/vaults/myVMVault" }, "keyUrl": "https://myvmvault.vault-int.azure-int.net/keys/{key}" }, "previousKeys": [], "provisioningState": "Succeeded" }, - "type": "Microsoft.Compute/diskEncryptionSet", + "type": "Microsoft.Compute/diskEncryptionSet", "location": "westus", "tags": { - "department": "Development", + "department": "Development", "project": "Encryption" }, - "id": "/subscriptions/{subscriptionId}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/diskEncryptionSet/myDiskEncryptionSet", + "id": "/subscriptions/{subscriptionId}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/diskEncryptionSet/myDiskEncryptionSet", "name": "myDiskEncryptionSet" }, { @@ -38,20 +38,20 @@ "properties": { "activeKey": { "sourceVault": { - "id": "/subscriptions/{subscriptionId}/resourceGroups/myResourceGroup/providers/Microsoft.KeyVault/vaults/myVMVault2" + "id": "/subscriptions/{subscriptionId}/resourceGroups/myResourceGroup/providers/Microsoft.KeyVault/vaults/myVMVault2" }, "keyUrl": "https://myvmvault.vault-int.azure-int.net/keys/{key}" }, "previousKeys": [], "provisioningState": "Succeeded" }, - "type": "Microsoft.Compute/diskEncryptionSet", + "type": "Microsoft.Compute/diskEncryptionSet", "location": "westus", "tags": { - "department": "Development", + "department": "Development", "project": "Encryption" }, - "id": "/subscriptions/{subscriptionId}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/diskEncryptionSet/myDiskEncryptionSet2", + "id": "/subscriptions/{subscriptionId}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/diskEncryptionSet/myDiskEncryptionSet2", "name": "myDiskEncryptionSet2" } ], diff --git a/specification/compute/resource-manager/Microsoft.Compute/stable/2019-07-01/examples/ListDiskEncryptionSetsInASubscription.json b/specification/compute/resource-manager/Microsoft.Compute/stable/2019-07-01/examples/ListDiskEncryptionSetsInASubscription.json index 62655bcf80dc..fa863421fa03 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/stable/2019-07-01/examples/ListDiskEncryptionSetsInASubscription.json +++ b/specification/compute/resource-manager/Microsoft.Compute/stable/2019-07-01/examples/ListDiskEncryptionSetsInASubscription.json @@ -14,20 +14,20 @@ "properties": { "activeKey": { "sourceVault": { - "id": "/subscriptions/{subscriptionId}/resourceGroups/myResourceGroup/providers/Microsoft.KeyVault/vaults/myVMVault" + "id": "/subscriptions/{subscriptionId}/resourceGroups/myResourceGroup/providers/Microsoft.KeyVault/vaults/myVMVault" }, "keyUrl": "https://myvmvault.vault-int.azure-int.net/keys/{key}" }, "previousKeys": [], "provisioningState": "Succeeded" }, - "type": "Microsoft.Compute/diskEncryptionSet", + "type": "Microsoft.Compute/diskEncryptionSet", "location": "westus", "tags": { - "department": "Development", + "department": "Development", "project": "Encryption" }, - "id": "/subscriptions/{subscriptionId}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/diskEncryptionSet/myDiskEncryptionSet", + "id": "/subscriptions/{subscriptionId}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/diskEncryptionSet/myDiskEncryptionSet", "name": "myDiskEncryptionSet" }, { @@ -37,20 +37,20 @@ "properties": { "activeKey": { "sourceVault": { - "id": "/subscriptions/{subscriptionId}/resourceGroups/myResourceGroup/providers/Microsoft.KeyVault/vaults/myVMVault2" + "id": "/subscriptions/{subscriptionId}/resourceGroups/myResourceGroup/providers/Microsoft.KeyVault/vaults/myVMVault2" }, "keyUrl": "https://myvmvault.vault-int.azure-int.net/keys/{key}" }, "previousKeys": [], "provisioningState": "Succeeded" }, - "type": "Microsoft.Compute/diskEncryptionSet", + "type": "Microsoft.Compute/diskEncryptionSet", "location": "westus", "tags": { - "department": "Development", + "department": "Development", "project": "Encryption" }, - "id": "/subscriptions/{subscriptionId}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/diskEncryptionSet/myDiskEncryptionSet2", + "id": "/subscriptions/{subscriptionId}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/diskEncryptionSet/myDiskEncryptionSet2", "name": "myDiskEncryptionSet2" } ], diff --git a/specification/compute/resource-manager/Microsoft.Compute/stable/2019-07-01/examples/ListVirtualMachineScaleSetVMExtensions.json b/specification/compute/resource-manager/Microsoft.Compute/stable/2019-07-01/examples/ListVirtualMachineScaleSetVMExtensions.json index 234274c9440b..397a96e2ecaa 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/stable/2019-07-01/examples/ListVirtualMachineScaleSetVMExtensions.json +++ b/specification/compute/resource-manager/Microsoft.Compute/stable/2019-07-01/examples/ListVirtualMachineScaleSetVMExtensions.json @@ -1,44 +1,48 @@ { - "parameters": { - "subscriptionId": "{subscription-id}", - "resourceGroupName": "myResourceGroup", - "vmScaleSetName": "myvmScaleSet", - "instanceId": "0", - "api-version": "2019-07-01" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "properties": { - "autoUpgradeMinorVersion": true, - "provisioningState": "Succeeded", - "publisher": "extPublisher", - "type": "extType", - "typeHandlerVersion": "1.2", - "settings": {"UserName":"xyz@microsoft.com"} + "parameters": { + "subscriptionId": "{subscription-id}", + "resourceGroupName": "myResourceGroup", + "vmScaleSetName": "myvmScaleSet", + "instanceId": "0", + "api-version": "2019-07-01" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "properties": { + "autoUpgradeMinorVersion": true, + "provisioningState": "Succeeded", + "publisher": "extPublisher", + "type": "extType", + "typeHandlerVersion": "1.2", + "settings": { + "UserName": "xyz@microsoft.com" + } }, "name": "myVMExtension", "location": "westus", - "type":"Microsoft.Compute/virtualMachineScaleSets/virtualMachines/extensions", + "type": "Microsoft.Compute/virtualMachineScaleSets/virtualMachines/extensions", "id": "/subscriptions/{subscriptionId}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/virtualMachineScaleSets/myvmScaleSet/virtualMachines/0/extensions/myVMExtension" - }, - { - "properties": { - "autoUpgradeMinorVersion": true, - "provisioningState": "Succeeded", - "publisher": "extPublisher1", - "type": "extType1", - "typeHandlerVersion": "1.0", - "settings": {"UserName":"xyz@microsoft.com"} + }, + { + "properties": { + "autoUpgradeMinorVersion": true, + "provisioningState": "Succeeded", + "publisher": "extPublisher1", + "type": "extType1", + "typeHandlerVersion": "1.0", + "settings": { + "UserName": "xyz@microsoft.com" + } }, "name": "myVMExtension1", "location": "westus", - "type":"Microsoft.Compute/virtualMachineScaleSets/virtualMachines/extensions", + "type": "Microsoft.Compute/virtualMachineScaleSets/virtualMachines/extensions", "id": "/subscriptions/{subscriptionId}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/virtualMachineScaleSets/myvmScaleSet/virtualMachines/0/extensions/myVMExtension1" - } - ] + } + ] } } } diff --git a/specification/compute/resource-manager/Microsoft.Compute/stable/2019-07-01/examples/UpdateVirtualMachineScaleSetVMExtensions.json b/specification/compute/resource-manager/Microsoft.Compute/stable/2019-07-01/examples/UpdateVirtualMachineScaleSetVMExtensions.json index 913b1afdee28..50dc47946f3e 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/stable/2019-07-01/examples/UpdateVirtualMachineScaleSetVMExtensions.json +++ b/specification/compute/resource-manager/Microsoft.Compute/stable/2019-07-01/examples/UpdateVirtualMachineScaleSetVMExtensions.json @@ -1,37 +1,41 @@ { - "parameters": { - "subscriptionId": "{subscription-id}", - "resourceGroupName": "myResourceGroup", - "vmScaleSetName": "myvmScaleSet", - "instanceId": "0", - "vmExtensionName":"myVMExtension", - "api-version": "2019-07-01", - "extensionParameters": { - "properties": { - "autoUpgradeMinorVersion": true, - "publisher": "extPublisher", - "type": "extType", - "typeHandlerVersion": "1.2", - "settings": { "UserName": "xyz@microsoft.com" } + "parameters": { + "subscriptionId": "{subscription-id}", + "resourceGroupName": "myResourceGroup", + "vmScaleSetName": "myvmScaleSet", + "instanceId": "0", + "vmExtensionName": "myVMExtension", + "api-version": "2019-07-01", + "extensionParameters": { + "properties": { + "autoUpgradeMinorVersion": true, + "publisher": "extPublisher", + "type": "extType", + "typeHandlerVersion": "1.2", + "settings": { + "UserName": "xyz@microsoft.com" } } - }, - "responses": { - "200": { - "body": { - "name": "myVMExtension", - "location": "westus", - "type":"Microsoft.Compute/virtualMachineScaleSets/virtualMachines/extensions", - "id": "/subscriptions/{subscriptionId}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/virtualMachineScaleSets/myvmScaleSet/virtualMachines/0/extensions/myVMExtension", - "properties": { - "autoUpgradeMinorVersion": true, - "provisioningState": "Creating", - "publisher": "extPublisher", - "type": "extType", - "typeHandlerVersion": "1.2", - "settings": {"UserName":"xyz@microsoft.com"} - } + } + }, + "responses": { + "200": { + "body": { + "name": "myVMExtension", + "location": "westus", + "type": "Microsoft.Compute/virtualMachineScaleSets/virtualMachines/extensions", + "id": "/subscriptions/{subscriptionId}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/virtualMachineScaleSets/myvmScaleSet/virtualMachines/0/extensions/myVMExtension", + "properties": { + "autoUpgradeMinorVersion": true, + "provisioningState": "Creating", + "publisher": "extPublisher", + "type": "extType", + "typeHandlerVersion": "1.2", + "settings": { + "UserName": "xyz@microsoft.com" + } } } } } +} diff --git a/specification/consumption/resource-manager/Microsoft.Consumption/stable/2019-10-01/consumption.json b/specification/consumption/resource-manager/Microsoft.Consumption/stable/2019-10-01/consumption.json index 37ce10522d0d..e9095e2221de 100644 --- a/specification/consumption/resource-manager/Microsoft.Consumption/stable/2019-10-01/consumption.json +++ b/specification/consumption/resource-manager/Microsoft.Consumption/stable/2019-10-01/consumption.json @@ -529,22 +529,22 @@ { "$ref": "#/parameters/apiVersionParameter" }, - { - "name": "startDate", - "in": "query", - "description": "Start date", - "required": false, - "type": "string", - "x-ms-parameter-location": "method" - }, - { - "name": "endDate", - "in": "query", - "description": "End date", - "required": false, - "type": "string", - "x-ms-parameter-location": "method" - }, + { + "name": "startDate", + "in": "query", + "description": "Start date", + "required": false, + "type": "string", + "x-ms-parameter-location": "method" + }, + { + "name": "endDate", + "in": "query", + "description": "End date", + "required": false, + "type": "string", + "x-ms-parameter-location": "method" + }, { "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 (:).", @@ -552,13 +552,13 @@ "required": false, "type": "string" }, - { - "name": "$apply", - "description": "May be used to group charges for billingAccount scope by properties/billingProfileId, properties/invoiceSectionId, properties/customerId (specific for Partner Led), or for billingProfile scope by properties/invoiceSectionId.", - "in": "query", - "required": false, - "type": "string" - } + { + "name": "$apply", + "description": "May be used to group charges for billingAccount scope by properties/billingProfileId, properties/invoiceSectionId, properties/customerId (specific for Partner Led), or for billingProfile scope by properties/invoiceSectionId.", + "in": "query", + "required": false, + "type": "string" + } ], "responses": { "200": { @@ -801,22 +801,22 @@ { "$ref": "#/parameters/grainParameter" }, - { - "name": "startDate", - "in": "query", - "description": "Start date", - "required": false, - "type": "string", - "x-ms-parameter-location": "method" - }, - { - "name": "endDate", - "in": "query", - "description": "End date", - "required": false, - "type": "string", - "x-ms-parameter-location": "method" - }, + { + "name": "startDate", + "in": "query", + "description": "Start date", + "required": false, + "type": "string", + "x-ms-parameter-location": "method" + }, + { + "name": "endDate", + "in": "query", + "description": "End date", + "required": false, + "type": "string", + "x-ms-parameter-location": "method" + }, { "name": "$filter", "description": "Required only for daily grain. The properties/UsageDate for start date and end date. The filter supports 'le' and 'ge'", @@ -970,22 +970,22 @@ { "$ref": "#/parameters/scopeReservationDetailsParameter" }, - { - "name": "startDate", - "in": "query", - "description": "Start date", - "required": false, - "type": "string", - "x-ms-parameter-location": "method" - }, - { - "name": "endDate", - "in": "query", - "description": "End date", - "required": false, - "type": "string", - "x-ms-parameter-location": "method" - }, + { + "name": "startDate", + "in": "query", + "description": "Start date", + "required": false, + "type": "string", + "x-ms-parameter-location": "method" + }, + { + "name": "endDate", + "in": "query", + "description": "End date", + "required": false, + "type": "string", + "x-ms-parameter-location": "method" + }, { "name": "$filter", "description": "Filter reservation details by date range. The properties/UsageDate for start date and end date. The filter supports 'le' and 'ge' ", @@ -1033,13 +1033,12 @@ "ReservationRecommendationsFilterBySubscriptionForScopeLookBackPeriod-Legacy": { "$ref": "./examples/ReservationRecommendationsFilterBySubscriptionForScopeLookBackPeriod.json" }, - "ReservationRecommendationsByBillingAccount-Legacy": { + "ReservationRecommendationsByBillingAccount-Legacy": { "$ref": "./examples/ReservationRecommendationsByBillingAccount.json" }, - "ReservationRecommendationsByBillingProfile-Modern": { + "ReservationRecommendationsByBillingProfile-Modern": { "$ref": "./examples/ReservationRecommendationsByBillingProfile.json" } - }, "parameters": [ { @@ -1432,143 +1431,143 @@ } } }, - "/providers/Microsoft.Billing/billingAccounts/{billingAccountId}/billingProfiles/{billingProfileId}/providers/Microsoft.Consumption/events": { - "get": { - "tags": [ - "Events" - ], - "operationId": "Events_List", - "description": "Lists the events by billingAccountId and billingProfileId for given start and end date.", - "externalDocs": { - "url": "https://docs.microsoft.com/en-us/rest/api/consumption/" - }, - "x-ms-examples": { - "EventsListByBillingProfile": { - "$ref": "./examples/EventsListByBillingProfile.json" - } - }, - "parameters": [ - { - "$ref": "#/parameters/billingAccountIdParameter" - }, - { - "$ref": "#/parameters/billingProfileIdParameter" - }, - { - "$ref": "#/parameters/apiVersionParameter" - }, - { - "$ref": "#/parameters/startDateParameter" - }, - { - "$ref": "#/parameters/endDateParameter" - } - ], - "responses": { - "200": { - "description": "OK. The request has succeeded.", - "schema": { - "$ref": "#/definitions/Events" - } - }, - "default": { - "description": "Error response describing why the operation failed.", - "schema": { - "$ref": "#/definitions/ErrorResponse" - } - } - }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - } - } - }, - "/providers/Microsoft.Billing/billingAccounts/{billingAccountId}/billingProfiles/{billingProfileId}/providers/Microsoft.Consumption/lots": { - "get": { - "tags": [ - "Lots" - ], - "operationId": "Lots_List", - "description": "Lists the lots by billingAccountId and billingProfileId.", - "externalDocs": { - "url": "https://docs.microsoft.com/en-us/rest/api/consumption/" - }, - "x-ms-examples": { - "EventsListByBillingProfile": { - "$ref": "./examples/LotsListByBillingProfile.json" - } - }, - "parameters": [ - { - "$ref": "#/parameters/billingAccountIdParameter" - }, - { - "$ref": "#/parameters/billingProfileIdParameter" - }, - { - "$ref": "#/parameters/apiVersionParameter" - } - ], - "responses": { - "200": { - "description": "OK. The request has succeeded.", - "schema": { - "$ref": "#/definitions/Lots" - } - }, - "default": { - "description": "Error response describing why the operation failed.", - "schema": { - "$ref": "#/definitions/ErrorResponse" - } - } - }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - } - } - }, - "/providers/Microsoft.Billing/billingAccounts/{billingAccountId}/billingProfiles/{billingProfileId}/providers/Microsoft.Consumption/credits/balanceSummary": { - "get": { - "tags": [ - "Credits" - ], - "operationId": "Credits_Get", - "description": "The credit summary by billingAccountId and billingProfileId.", - "externalDocs": { - "url": "https://docs.microsoft.com/en-us/rest/api/consumption/" - }, - "x-ms-examples": { - "CreditSummaryByBillingProfile": { - "$ref": "./examples/CreditSummaryByBillingProfile.json" - } - }, - "parameters": [ - { - "$ref": "#/parameters/billingAccountIdParameter" - }, - { - "$ref": "#/parameters/billingProfileIdParameter" - }, - { - "$ref": "#/parameters/apiVersionParameter" - } - ], - "responses": { - "200": { - "description": "OK. The request has succeeded.", - "schema": { - "$ref": "#/definitions/CreditSummary" - } - }, - "default": { - "description": "Error response describing why the operation failed.", - "schema": { - "$ref": "#/definitions/ErrorResponse" - } - } - } - } + "/providers/Microsoft.Billing/billingAccounts/{billingAccountId}/billingProfiles/{billingProfileId}/providers/Microsoft.Consumption/events": { + "get": { + "tags": [ + "Events" + ], + "operationId": "Events_List", + "description": "Lists the events by billingAccountId and billingProfileId for given start and end date.", + "externalDocs": { + "url": "https://docs.microsoft.com/en-us/rest/api/consumption/" + }, + "x-ms-examples": { + "EventsListByBillingProfile": { + "$ref": "./examples/EventsListByBillingProfile.json" + } + }, + "parameters": [ + { + "$ref": "#/parameters/billingAccountIdParameter" + }, + { + "$ref": "#/parameters/billingProfileIdParameter" + }, + { + "$ref": "#/parameters/apiVersionParameter" + }, + { + "$ref": "#/parameters/startDateParameter" + }, + { + "$ref": "#/parameters/endDateParameter" + } + ], + "responses": { + "200": { + "description": "OK. The request has succeeded.", + "schema": { + "$ref": "#/definitions/Events" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/ErrorResponse" + } + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/providers/Microsoft.Billing/billingAccounts/{billingAccountId}/billingProfiles/{billingProfileId}/providers/Microsoft.Consumption/lots": { + "get": { + "tags": [ + "Lots" + ], + "operationId": "Lots_List", + "description": "Lists the lots by billingAccountId and billingProfileId.", + "externalDocs": { + "url": "https://docs.microsoft.com/en-us/rest/api/consumption/" + }, + "x-ms-examples": { + "EventsListByBillingProfile": { + "$ref": "./examples/LotsListByBillingProfile.json" + } + }, + "parameters": [ + { + "$ref": "#/parameters/billingAccountIdParameter" + }, + { + "$ref": "#/parameters/billingProfileIdParameter" + }, + { + "$ref": "#/parameters/apiVersionParameter" + } + ], + "responses": { + "200": { + "description": "OK. The request has succeeded.", + "schema": { + "$ref": "#/definitions/Lots" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/ErrorResponse" + } + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/providers/Microsoft.Billing/billingAccounts/{billingAccountId}/billingProfiles/{billingProfileId}/providers/Microsoft.Consumption/credits/balanceSummary": { + "get": { + "tags": [ + "Credits" + ], + "operationId": "Credits_Get", + "description": "The credit summary by billingAccountId and billingProfileId.", + "externalDocs": { + "url": "https://docs.microsoft.com/en-us/rest/api/consumption/" + }, + "x-ms-examples": { + "CreditSummaryByBillingProfile": { + "$ref": "./examples/CreditSummaryByBillingProfile.json" + } + }, + "parameters": [ + { + "$ref": "#/parameters/billingAccountIdParameter" + }, + { + "$ref": "#/parameters/billingProfileIdParameter" + }, + { + "$ref": "#/parameters/apiVersionParameter" + } + ], + "responses": { + "200": { + "description": "OK. The request has succeeded.", + "schema": { + "$ref": "#/definitions/CreditSummary" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/ErrorResponse" + } + } + } + } } }, "definitions": { @@ -2152,13 +2151,13 @@ "type": "number", "format": "decimal", "readOnly": true - }, + }, "costInPricingCurrency": { "description": "ExtendedCost or blended cost before tax in pricing currency to correlate with prices.", "type": "number", "format": "decimal", "readOnly": true - }, + }, "exchangeRate": { "description": "Exchange rate used in conversion from pricing currency to billing currency.", "type": "string", @@ -2840,7 +2839,7 @@ } } }, - "ReservationRecommendation": { + "ReservationRecommendation": { "description": "A reservation recommendation resource.", "type": "object", "discriminator": "kind", @@ -2989,7 +2988,7 @@ } } }, - "ModernReservationRecommendation": { + "ModernReservationRecommendation": { "description": "Modern reservation recommendation.", "type": "object", "x-ms-discriminator-value": "modern", @@ -4073,254 +4072,255 @@ } } }, - "Events": { - "description": "Result of listing event summary.", - "properties": { - "value": { - "description": "The list of event summary.", - "type": "array", - "readOnly": true, - "items": { - "$ref": "#/definitions/EventSummary" - } - }, - "nextLink": { - "description": "The link (url) to the next page of results.", - "type": "string", - "readOnly": true - } - } - }, - "EventSummary": { - "description": "An event summary resource.", - "type": "object", - "allOf": [{ - "$ref": "#/definitions/Resource" - } - ], - "properties": { - "properties": { - "x-ms-client-flatten": true, - "$ref": "#/definitions/EventProperties", - "title": "Event summary properties" - } - } - }, - "EventProperties": { + "Events": { + "description": "Result of listing event summary.", + "properties": { + "value": { + "description": "The list of event summary.", + "type": "array", + "readOnly": true, + "items": { + "$ref": "#/definitions/EventSummary" + } + }, + "nextLink": { + "description": "The link (url) to the next page of results.", + "type": "string", + "readOnly": true + } + } + }, + "EventSummary": { + "description": "An event summary resource.", + "type": "object", + "allOf": [ + { + "$ref": "#/definitions/Resource" + } + ], + "properties": { + "properties": { + "x-ms-client-flatten": true, + "$ref": "#/definitions/EventProperties", + "title": "Event summary properties" + } + } + }, + "EventProperties": { "description": "The event properties.", - "properties": { - "transactionDate": { - "description": "Transaction date.", - "type": "string", - "format": "date-time", - "readOnly": true - }, - "description": { - "description": "Transaction description.", - "type": "string", - "readOnly": true - }, - "newCredit": { - "description": "New Credit.", - "readOnly": true, - "$ref": "#/definitions/amount" - }, - "adjustments": { - "description": "Adjustments amount.", - "readOnly": true, - "$ref": "#/definitions/amount" - }, - "creditExpired": { - "description": "Credit expired.", - "readOnly": true, - "$ref": "#/definitions/amount" - }, - "charges": { - "description": "Charges amount.", - "readOnly": true, - "$ref": "#/definitions/amount" - }, - "closedBalance": { - "description": "Closed balance.", - "readOnly": true, - "$ref": "#/definitions/amount" - }, - "eventType": { - "description": "The type of event.", - "type": "string", - "enum": [ - "SettledCharges", - "PendingCharges", - "PendingAdjustments", - "PendingNewCredit", - "PendingExpiredCredit", - "UnKnown", - "NewCredit" - ], - "x-ms-enum": { - "name": "EventType", - "modelAsString": true - } - }, - "invoiceNumber": { - "description": "Invoice number.", - "type": "string", - "readOnly": true - } - } - }, - "Lots": { - "description": "Result of listing lot summary.", - "properties": { - "value": { - "description": "The list of lot summary.", - "type": "array", - "readOnly": true, - "items": { - "$ref": "#/definitions/LotSummary" - } - }, - "nextLink": { - "description": "The link (url) to the next page of results.", - "type": "string", - "readOnly": true - } - } - }, - "LotSummary": { - "description": "A lot summary resource.", - "type": "object", - "allOf": [ - { - "$ref": "#/definitions/Resource" - } - ], - "properties": { - "properties": { - "x-ms-client-flatten": true, - "$ref": "#/definitions/LotProperties", - "title": "Lot summary properties" - } - } - }, - "LotProperties": { - "description": "The lot properties.", - "properties": { - "originalAmount": { - "description": "Original amount.", - "readOnly": true, - "$ref": "#/definitions/amount" - }, - "closedBalance": { - "description": "Closed balance.", - "readOnly": true, - "$ref": "#/definitions/amount" - }, - "source": { - "description": "Lot source.", - "type": "string", - "enum": [ - "PurchasedCredit", - "PromotionalCredit" - ], - "x-ms-enum": { - "name": "LotSource", - "modelAsString": true - }, - "readOnly": true - }, - "startDate": { - "description": "Start date.", - "type": "string", - "format": "date-time", - "readOnly": true - }, - "expirationDate": { - "description": "Expiration date.", - "type": "string", - "format": "date-time", - "readOnly": true - }, - "poNumber": { - "description": "PO number.", - "type": "string", - "readOnly": true - } - } - }, - "CreditSummary": { - "description": "A credit summary resource.", - "type": "object", - "allOf": [ - { - "$ref": "#/definitions/Resource" - } - ], - "properties": { - "properties": { - "x-ms-client-flatten": true, - "$ref": "#/definitions/CreditSummaryProperties", - "title": "Credit summary properties" - } - } - }, - "CreditSummaryProperties": { - "description": "The properties of the credit summary.", - "type": "object", - "properties": { - "balanceSummary": { - "description": "Summary of balances associated with this credit summary.", - "readOnly": true, - "$ref": "#/definitions/CreditBalanceSummary" - }, - "pendingCreditAdjustments": { - "description": "Pending credit adjustments.", - "readOnly": true, - "$ref": "#/definitions/amount" - }, - "expiredCredit": { - "description": "Expired credit.", - "readOnly": true, - "$ref": "#/definitions/amount" - }, - "pendingEligibleCharges": { - "description": "Pending eligible charges.", - "readOnly": true, - "$ref": "#/definitions/amount" - } - } - }, - "CreditBalanceSummary": { - "description": "Summary of credit balances.", - "properties": { - "estimatedBalance": { - "description": "Estimated balance.", - "readOnly": true, - "$ref": "#/definitions/amount" - }, - "currentBalance": { - "description": "Current balance.", - "readOnly": true, - "$ref": "#/definitions/amount" - } - } - }, - "amount": { - "description": "The amount plus currency .", - "properties": { - "currency":{ - "readOnly": true, + "properties": { + "transactionDate": { + "description": "Transaction date.", + "type": "string", + "format": "date-time", + "readOnly": true + }, + "description": { + "description": "Transaction description.", + "type": "string", + "readOnly": true + }, + "newCredit": { + "description": "New Credit.", + "readOnly": true, + "$ref": "#/definitions/amount" + }, + "adjustments": { + "description": "Adjustments amount.", + "readOnly": true, + "$ref": "#/definitions/amount" + }, + "creditExpired": { + "description": "Credit expired.", + "readOnly": true, + "$ref": "#/definitions/amount" + }, + "charges": { + "description": "Charges amount.", + "readOnly": true, + "$ref": "#/definitions/amount" + }, + "closedBalance": { + "description": "Closed balance.", + "readOnly": true, + "$ref": "#/definitions/amount" + }, + "eventType": { + "description": "The type of event.", + "type": "string", + "enum": [ + "SettledCharges", + "PendingCharges", + "PendingAdjustments", + "PendingNewCredit", + "PendingExpiredCredit", + "UnKnown", + "NewCredit" + ], + "x-ms-enum": { + "name": "EventType", + "modelAsString": true + } + }, + "invoiceNumber": { + "description": "Invoice number.", + "type": "string", + "readOnly": true + } + } + }, + "Lots": { + "description": "Result of listing lot summary.", + "properties": { + "value": { + "description": "The list of lot summary.", + "type": "array", + "readOnly": true, + "items": { + "$ref": "#/definitions/LotSummary" + } + }, + "nextLink": { + "description": "The link (url) to the next page of results.", + "type": "string", + "readOnly": true + } + } + }, + "LotSummary": { + "description": "A lot summary resource.", + "type": "object", + "allOf": [ + { + "$ref": "#/definitions/Resource" + } + ], + "properties": { + "properties": { + "x-ms-client-flatten": true, + "$ref": "#/definitions/LotProperties", + "title": "Lot summary properties" + } + } + }, + "LotProperties": { + "description": "The lot properties.", + "properties": { + "originalAmount": { + "description": "Original amount.", + "readOnly": true, + "$ref": "#/definitions/amount" + }, + "closedBalance": { + "description": "Closed balance.", + "readOnly": true, + "$ref": "#/definitions/amount" + }, + "source": { + "description": "Lot source.", + "type": "string", + "enum": [ + "PurchasedCredit", + "PromotionalCredit" + ], + "x-ms-enum": { + "name": "LotSource", + "modelAsString": true + }, + "readOnly": true + }, + "startDate": { + "description": "Start date.", + "type": "string", + "format": "date-time", + "readOnly": true + }, + "expirationDate": { + "description": "Expiration date.", + "type": "string", + "format": "date-time", + "readOnly": true + }, + "poNumber": { + "description": "PO number.", + "type": "string", + "readOnly": true + } + } + }, + "CreditSummary": { + "description": "A credit summary resource.", + "type": "object", + "allOf": [ + { + "$ref": "#/definitions/Resource" + } + ], + "properties": { + "properties": { + "x-ms-client-flatten": true, + "$ref": "#/definitions/CreditSummaryProperties", + "title": "Credit summary properties" + } + } + }, + "CreditSummaryProperties": { + "description": "The properties of the credit summary.", + "type": "object", + "properties": { + "balanceSummary": { + "description": "Summary of balances associated with this credit summary.", + "readOnly": true, + "$ref": "#/definitions/CreditBalanceSummary" + }, + "pendingCreditAdjustments": { + "description": "Pending credit adjustments.", + "readOnly": true, + "$ref": "#/definitions/amount" + }, + "expiredCredit": { + "description": "Expired credit.", + "readOnly": true, + "$ref": "#/definitions/amount" + }, + "pendingEligibleCharges": { + "description": "Pending eligible charges.", + "readOnly": true, + "$ref": "#/definitions/amount" + } + } + }, + "CreditBalanceSummary": { + "description": "Summary of credit balances.", + "properties": { + "estimatedBalance": { + "description": "Estimated balance.", + "readOnly": true, + "$ref": "#/definitions/amount" + }, + "currentBalance": { + "description": "Current balance.", + "readOnly": true, + "$ref": "#/definitions/amount" + } + } + }, + "amount": { + "description": "The amount plus currency .", + "properties": { + "currency": { + "readOnly": true, "type": "string", "description": "Amount currency." - }, - "value":{ + }, + "value": { "readOnly": true, "type": "number", "format": "decimal", - "description": "Amount." - } - } - }, + "description": "Amount." + } + } + }, "Resource": { "description": "The Resource model definition.", "properties": { @@ -4437,7 +4437,7 @@ "x-ms-parameter-location": "method", "x-ms-skip-url-encoding": true }, - "scopeReservationsSummariesParameter": { + "scopeReservationsSummariesParameter": { "name": "scope", "in": "path", "required": true, @@ -4446,7 +4446,7 @@ "x-ms-parameter-location": "method", "x-ms-skip-url-encoding": true }, - "scopeReservationDetailsParameter": { + "scopeReservationDetailsParameter": { "name": "scope", "in": "path", "required": true, @@ -4455,7 +4455,7 @@ "x-ms-parameter-location": "method", "x-ms-skip-url-encoding": true }, - "scopeReservationRecommendationsParameter": { + "scopeReservationRecommendationsParameter": { "name": "scope", "in": "path", "required": true, @@ -4594,22 +4594,22 @@ "type": "string", "x-ms-parameter-location": "method" }, - "startDateParameter": { - "name": "startDate", - "in": "query", - "description": "Start date", - "required": true, - "type": "string", + "startDateParameter": { + "name": "startDate", + "in": "query", + "description": "Start date", + "required": true, + "type": "string", "x-ms-parameter-location": "method" - }, - "endDateParameter": { - "name": "endDate", - "in": "query", - "description": "End date", - "required": true, - "type": "string", + }, + "endDateParameter": { + "name": "endDate", + "in": "query", + "description": "End date", + "required": true, + "type": "string", "x-ms-parameter-location": "method" - }, + }, "metricParameter": { "name": "metric", "in": "query", diff --git a/specification/consumption/resource-manager/Microsoft.Consumption/stable/2019-10-01/examples/ChargesListByModernBillingAccount.json b/specification/consumption/resource-manager/Microsoft.Consumption/stable/2019-10-01/examples/ChargesListByModernBillingAccount.json index 6636da8be40d..eee1aee59c45 100644 --- a/specification/consumption/resource-manager/Microsoft.Consumption/stable/2019-10-01/examples/ChargesListByModernBillingAccount.json +++ b/specification/consumption/resource-manager/Microsoft.Consumption/stable/2019-10-01/examples/ChargesListByModernBillingAccount.json @@ -40,4 +40,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/consumption/resource-manager/Microsoft.Consumption/stable/2019-10-01/examples/ChargesListByModernBillingAccountGroupByBillingProfileId.json b/specification/consumption/resource-manager/Microsoft.Consumption/stable/2019-10-01/examples/ChargesListByModernBillingAccountGroupByBillingProfileId.json index 294ef5ac70b3..b28561317755 100644 --- a/specification/consumption/resource-manager/Microsoft.Consumption/stable/2019-10-01/examples/ChargesListByModernBillingAccountGroupByBillingProfileId.json +++ b/specification/consumption/resource-manager/Microsoft.Consumption/stable/2019-10-01/examples/ChargesListByModernBillingAccountGroupByBillingProfileId.json @@ -4,7 +4,7 @@ "scope": "providers/Microsoft.Billing/billingAccounts/1234:56789", "startDate": "2019-09-01", "endDate": "2019-09-30", - "$apply": "groupby((properties/billingProfileId))" + "$apply": "groupby((properties/billingProfileId))" }, "responses": { "200": { @@ -16,7 +16,7 @@ "type": "Microsoft.Consumption/charges", "kind": "modern", "properties": { - "isInvoiced": false, + "isInvoiced": false, "billingPeriodId": "/providers/Microsoft.Billing/billingAccounts/1234:56789/billingProfiles/123456/providers/Microsoft.Billing/billingPeriods/201909", "usageStart": "2019-09-01", "usageEnd": "2019-09-30", @@ -65,4 +65,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/consumption/resource-manager/Microsoft.Consumption/stable/2019-10-01/examples/ChargesListByModernBillingAccountGroupByCustomerId.json b/specification/consumption/resource-manager/Microsoft.Consumption/stable/2019-10-01/examples/ChargesListByModernBillingAccountGroupByCustomerId.json index 45702222424d..56f2bfeb61f8 100644 --- a/specification/consumption/resource-manager/Microsoft.Consumption/stable/2019-10-01/examples/ChargesListByModernBillingAccountGroupByCustomerId.json +++ b/specification/consumption/resource-manager/Microsoft.Consumption/stable/2019-10-01/examples/ChargesListByModernBillingAccountGroupByCustomerId.json @@ -4,7 +4,7 @@ "scope": "providers/Microsoft.Billing/billingAccounts/1234:56789", "startDate": "2019-09-01", "endDate": "2019-09-30", - "$apply": "groupby((properties/customerId))" + "$apply": "groupby((properties/customerId))" }, "responses": { "200": { @@ -16,8 +16,8 @@ "type": "Microsoft.Consumption/charges", "kind": "modern", "properties": { - "customerId": "/providers/Microsoft.Billing/billingAccounts/1234:56789/customers/67890", - "isInvoiced": false, + "customerId": "/providers/Microsoft.Billing/billingAccounts/1234:56789/customers/67890", + "isInvoiced": false, "billingPeriodId": "/providers/Microsoft.Billing/billingAccounts/1234:56789/providers/Microsoft.Billing/billingPeriods/201909", "usageStart": "2019-09-01", "usageEnd": "2019-09-30", @@ -44,8 +44,8 @@ "type": "Microsoft.Consumption/charges", "kind": "modern", "properties": { - "customerId": "/providers/Microsoft.Billing/billingAccounts/1234:56789/customers/123456", - "isInvoiced": false, + "customerId": "/providers/Microsoft.Billing/billingAccounts/1234:56789/customers/123456", + "isInvoiced": false, "billingPeriodId": "/providers/Microsoft.Billing/billingAccounts/1234:56789/providers/Microsoft.Billing/billingPeriods/201909", "usageStart": "2019-09-01", "usageEnd": "2019-09-30", @@ -70,4 +70,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/consumption/resource-manager/Microsoft.Consumption/stable/2019-10-01/examples/ChargesListByModernBillingAccountGroupByInvoiceSectionId.json b/specification/consumption/resource-manager/Microsoft.Consumption/stable/2019-10-01/examples/ChargesListByModernBillingAccountGroupByInvoiceSectionId.json index 8fd9a01546cc..d86df3f0ef1d 100644 --- a/specification/consumption/resource-manager/Microsoft.Consumption/stable/2019-10-01/examples/ChargesListByModernBillingAccountGroupByInvoiceSectionId.json +++ b/specification/consumption/resource-manager/Microsoft.Consumption/stable/2019-10-01/examples/ChargesListByModernBillingAccountGroupByInvoiceSectionId.json @@ -4,7 +4,7 @@ "scope": "providers/Microsoft.Billing/billingAccounts/1234:56789/billingProfiles/42425", "startDate": "2019-09-01", "endDate": "2019-09-30", - "$apply": "groupby((properties/invoiceSectionId))" + "$apply": "groupby((properties/invoiceSectionId))" }, "responses": { "200": { @@ -17,7 +17,7 @@ "kind": "modern", "properties": { "isInvoiced": false, - "billingPeriodId": "/providers/Microsoft.Billing/billingAccounts/1234:56789/providers/Microsoft.Billing/billingPeriods/201909", + "billingPeriodId": "/providers/Microsoft.Billing/billingAccounts/1234:56789/providers/Microsoft.Billing/billingPeriods/201909", "usageStart": "2019-09-01", "usageEnd": "2019-09-30", "azureCharges": { @@ -68,4 +68,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/consumption/resource-manager/Microsoft.Consumption/stable/2019-10-01/examples/ChargesListByModernBillingProfileGroupByInvoiceSectionId.json b/specification/consumption/resource-manager/Microsoft.Consumption/stable/2019-10-01/examples/ChargesListByModernBillingProfileGroupByInvoiceSectionId.json index d35ff42ddd66..d86df3f0ef1d 100644 --- a/specification/consumption/resource-manager/Microsoft.Consumption/stable/2019-10-01/examples/ChargesListByModernBillingProfileGroupByInvoiceSectionId.json +++ b/specification/consumption/resource-manager/Microsoft.Consumption/stable/2019-10-01/examples/ChargesListByModernBillingProfileGroupByInvoiceSectionId.json @@ -4,7 +4,7 @@ "scope": "providers/Microsoft.Billing/billingAccounts/1234:56789/billingProfiles/42425", "startDate": "2019-09-01", "endDate": "2019-09-30", - "$apply": "groupby((properties/invoiceSectionId))" + "$apply": "groupby((properties/invoiceSectionId))" }, "responses": { "200": { @@ -16,8 +16,8 @@ "type": "Microsoft.Consumption/charges", "kind": "modern", "properties": { - "isInvoiced": false, - "billingPeriodId": "/providers/Microsoft.Billing/billingAccounts/1234:56789/providers/Microsoft.Billing/billingPeriods/201909", + "isInvoiced": false, + "billingPeriodId": "/providers/Microsoft.Billing/billingAccounts/1234:56789/providers/Microsoft.Billing/billingPeriods/201909", "usageStart": "2019-09-01", "usageEnd": "2019-09-30", "azureCharges": { @@ -43,7 +43,7 @@ "type": "Microsoft.Consumption/charges", "kind": "modern", "properties": { - "isInvoiced": false, + "isInvoiced": false, "billingPeriodId": "/providers/Microsoft.Billing/billingAccounts/1234:56789/providers/Microsoft.Billing/billingPeriods/201909", "usageStart": "2019-09-01", "usageEnd": "2019-09-30", @@ -68,4 +68,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/consumption/resource-manager/Microsoft.Consumption/stable/2019-10-01/examples/ChargesListByModernBillingProfileInvoiceSection.json b/specification/consumption/resource-manager/Microsoft.Consumption/stable/2019-10-01/examples/ChargesListByModernBillingProfileInvoiceSection.json index 4c20ceba9999..905647a9b557 100644 --- a/specification/consumption/resource-manager/Microsoft.Consumption/stable/2019-10-01/examples/ChargesListByModernBillingProfileInvoiceSection.json +++ b/specification/consumption/resource-manager/Microsoft.Consumption/stable/2019-10-01/examples/ChargesListByModernBillingProfileInvoiceSection.json @@ -3,7 +3,7 @@ "api-version": "2019-10-01", "startDate": "2019-09-01", "endDate": "2019-10-31", - "scope" : "providers/Microsoft.Billing/billingAccounts/1234:56789/billingProfiles/42425/invoiceSections/67890" + "scope": "providers/Microsoft.Billing/billingAccounts/1234:56789/billingProfiles/42425/invoiceSections/67890" }, "responses": { "200": { @@ -15,7 +15,7 @@ "type": "Microsoft.Consumption/charges", "kind": "modern", "properties": { - "isInvoiced": false, + "isInvoiced": false, "billingPeriodId": "/providers/Microsoft.Billing/billingAccounts/1234:56789/providers/Microsoft.Billing/billingPeriods/201909", "usageStart": "2019-09-01", "usageEnd": "2019-09-30", @@ -42,7 +42,7 @@ "type": "Microsoft.Consumption/charges", "kind": "modern", "properties": { - "isInvoiced": false, + "isInvoiced": false, "billingPeriodId": "/providers/Microsoft.Billing/billingAccounts/1234:56789/providers/Microsoft.Billing/billingPeriods/201910", "usageStart": "2019-10-01", "usageEnd": "2019-10-31", @@ -67,4 +67,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/consumption/resource-manager/Microsoft.Consumption/stable/2019-10-01/examples/CreditSummaryByBillingProfile.json b/specification/consumption/resource-manager/Microsoft.Consumption/stable/2019-10-01/examples/CreditSummaryByBillingProfile.json index 60a0899f1671..77dd075699c9 100644 --- a/specification/consumption/resource-manager/Microsoft.Consumption/stable/2019-10-01/examples/CreditSummaryByBillingProfile.json +++ b/specification/consumption/resource-manager/Microsoft.Consumption/stable/2019-10-01/examples/CreditSummaryByBillingProfile.json @@ -37,4 +37,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/consumption/resource-manager/Microsoft.Consumption/stable/2019-10-01/examples/EventsListByBillingProfile.json b/specification/consumption/resource-manager/Microsoft.Consumption/stable/2019-10-01/examples/EventsListByBillingProfile.json index 5ab4587adb1e..636924d3b392 100644 --- a/specification/consumption/resource-manager/Microsoft.Consumption/stable/2019-10-01/examples/EventsListByBillingProfile.json +++ b/specification/consumption/resource-manager/Microsoft.Consumption/stable/2019-10-01/examples/EventsListByBillingProfile.json @@ -138,4 +138,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/consumption/resource-manager/Microsoft.Consumption/stable/2019-10-01/examples/LotsListByBillingProfile.json b/specification/consumption/resource-manager/Microsoft.Consumption/stable/2019-10-01/examples/LotsListByBillingProfile.json index 2a06222b67fc..323660d282cd 100644 --- a/specification/consumption/resource-manager/Microsoft.Consumption/stable/2019-10-01/examples/LotsListByBillingProfile.json +++ b/specification/consumption/resource-manager/Microsoft.Consumption/stable/2019-10-01/examples/LotsListByBillingProfile.json @@ -50,4 +50,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/consumption/resource-manager/Microsoft.Consumption/stable/2019-10-01/examples/ReservationRecommendationsByBillingAccount.json b/specification/consumption/resource-manager/Microsoft.Consumption/stable/2019-10-01/examples/ReservationRecommendationsByBillingAccount.json index f33b47e5d4b6..d7ab001244eb 100644 --- a/specification/consumption/resource-manager/Microsoft.Consumption/stable/2019-10-01/examples/ReservationRecommendationsByBillingAccount.json +++ b/specification/consumption/resource-manager/Microsoft.Consumption/stable/2019-10-01/examples/ReservationRecommendationsByBillingAccount.json @@ -13,7 +13,7 @@ "type": "Microsoft.Consumption/reservationRecommendations", "location": "westus", "sku": "Standard_DS1_v2", - "kind": "legacy", + "kind": "legacy", "properties": { "meterId": "00000000-0000-0000-0000-000000000000", "term": "P1Y", @@ -46,7 +46,7 @@ "type": "Microsoft.Consumption/reservationRecommendations", "location": "westus", "sku": "Standard_DS1_v2", - "kind": "legacy", + "kind": "legacy", "properties": { "meterId": "00000000-0000-0000-0000-000000000000", "term": "P1Y", diff --git a/specification/consumption/resource-manager/Microsoft.Consumption/stable/2019-10-01/examples/ReservationRecommendationsByBillingProfile.json b/specification/consumption/resource-manager/Microsoft.Consumption/stable/2019-10-01/examples/ReservationRecommendationsByBillingProfile.json index ae8a3c2fabb3..10f286f0974a 100644 --- a/specification/consumption/resource-manager/Microsoft.Consumption/stable/2019-10-01/examples/ReservationRecommendationsByBillingProfile.json +++ b/specification/consumption/resource-manager/Microsoft.Consumption/stable/2019-10-01/examples/ReservationRecommendationsByBillingProfile.json @@ -13,40 +13,40 @@ "type": "Microsoft.Consumption/reservationRecommendations", "location": "westus", "sku": "Standard_DS1_v2", - "kind": "modern", + "kind": "modern", "properties": { - "meterId": "00000000-0000-0000-0000-000000000000", - "term": "P1Y", - "costWithNoReservedInstances": { - "currency": "USD", - "value": 1.4749000882 - }, - "recommendedQuantity": 1, - "totalCostWithReservedInstances": { - "currency": "USD", - "value": 1.07665757024628 - }, - "netSavings": { - "currency": "USD", - "value": 0.39824251795372 - }, - "firstUsageDate": "2019-07-07T00:00:00-07:00", - "scope": "Shared", - "lookBackPeriod": "Last7Days", - "instanceFlexibilityRatio": 1, - "instanceFlexibilityGroup": "DSv2 Series", - "normalizedSize": "Standard_DS1_v2", - "recommendedQuantityNormalized": 1, - "skuProperties": [ - { - "name": "Cores", - "value": "1" + "meterId": "00000000-0000-0000-0000-000000000000", + "term": "P1Y", + "costWithNoReservedInstances": { + "currency": "USD", + "value": 1.4749000882 }, - { - "name": "Ram", - "value": "1" - } - ] + "recommendedQuantity": 1, + "totalCostWithReservedInstances": { + "currency": "USD", + "value": 1.07665757024628 + }, + "netSavings": { + "currency": "USD", + "value": 0.39824251795372 + }, + "firstUsageDate": "2019-07-07T00:00:00-07:00", + "scope": "Shared", + "lookBackPeriod": "Last7Days", + "instanceFlexibilityRatio": 1, + "instanceFlexibilityGroup": "DSv2 Series", + "normalizedSize": "Standard_DS1_v2", + "recommendedQuantityNormalized": 1, + "skuProperties": [ + { + "name": "Cores", + "value": "1" + }, + { + "name": "Ram", + "value": "1" + } + ] } }, { @@ -55,40 +55,40 @@ "type": "Microsoft.Consumption/reservationRecommendations", "location": "westus", "sku": "Standard_DS1_v2", - "kind": "modern", + "kind": "modern", "properties": { - "meterId": "00000000-0000-0000-0000-000000000000", - "term": "P1Y", - "costWithNoReservedInstances": { - "currency": "USD", - "value": 1.4896 - }, - "recommendedQuantity": 1, - "totalCostWithReservedInstances": { - "currency": "USD", - "value": 1.08265753424628 - }, - "netSavings": { - "currency": "USD", - "value": 0.40694246575372 - }, - "firstUsageDate": "2019-07-07T00:00:00-07:00", - "scope": "Shared", - "lookBackPeriod": "Last7Days", - "instanceFlexibilityRatio": 1, - "instanceFlexibilityGroup": "DSv2 Series", - "normalizedSize": "Standard_DS1", - "recommendedQuantityNormalized": 1.2, - "skuProperties": [ - { - "name": "SkuDisplayName", - "value": "B" + "meterId": "00000000-0000-0000-0000-000000000000", + "term": "P1Y", + "costWithNoReservedInstances": { + "currency": "USD", + "value": 1.4896 + }, + "recommendedQuantity": 1, + "totalCostWithReservedInstances": { + "currency": "USD", + "value": 1.08265753424628 + }, + "netSavings": { + "currency": "USD", + "value": 0.40694246575372 }, - { - "name": "CPU", - "value": "1" - } - ] + "firstUsageDate": "2019-07-07T00:00:00-07:00", + "scope": "Shared", + "lookBackPeriod": "Last7Days", + "instanceFlexibilityRatio": 1, + "instanceFlexibilityGroup": "DSv2 Series", + "normalizedSize": "Standard_DS1", + "recommendedQuantityNormalized": 1.2, + "skuProperties": [ + { + "name": "SkuDisplayName", + "value": "B" + }, + { + "name": "CPU", + "value": "1" + } + ] } } ], diff --git a/specification/consumption/resource-manager/Microsoft.Consumption/stable/2019-10-01/examples/ReservationRecommendationsBySubscription.json b/specification/consumption/resource-manager/Microsoft.Consumption/stable/2019-10-01/examples/ReservationRecommendationsBySubscription.json index fc79284bf7dd..a2b9649823d1 100644 --- a/specification/consumption/resource-manager/Microsoft.Consumption/stable/2019-10-01/examples/ReservationRecommendationsBySubscription.json +++ b/specification/consumption/resource-manager/Microsoft.Consumption/stable/2019-10-01/examples/ReservationRecommendationsBySubscription.json @@ -13,7 +13,7 @@ "type": "Microsoft.Consumption/reservationRecommendations", "sku": "Standard_DS1_v2", "location": "northeurope", - "kind": "legacy", + "kind": "legacy", "properties": { "lookBackPeriod": "Last7Days", "meterId": "00000000-0000-0000-0000-000000000000", @@ -32,7 +32,7 @@ "type": "Microsoft.Consumption/reservationRecommendations", "sku": "Standard_DS1_v2", "location": "northeurope", - "kind": "legacy", + "kind": "legacy", "properties": { "lookBackPeriod": "Last7Days", "meterId": "00000000-0000-0000-0000-000000000000", diff --git a/specification/consumption/resource-manager/Microsoft.Consumption/stable/2019-10-01/examples/ReservationRecommendationsFilterBySubscriptionForScopeLookBackPeriod.json b/specification/consumption/resource-manager/Microsoft.Consumption/stable/2019-10-01/examples/ReservationRecommendationsFilterBySubscriptionForScopeLookBackPeriod.json index ee9f49e2cc5b..8cb515b0cb1b 100644 --- a/specification/consumption/resource-manager/Microsoft.Consumption/stable/2019-10-01/examples/ReservationRecommendationsFilterBySubscriptionForScopeLookBackPeriod.json +++ b/specification/consumption/resource-manager/Microsoft.Consumption/stable/2019-10-01/examples/ReservationRecommendationsFilterBySubscriptionForScopeLookBackPeriod.json @@ -14,8 +14,8 @@ "type": "Microsoft.Consumption/reservationRecommendations", "sku": "Standard_DS1_v2", "location": "northeurope", - "kind": "legacy", - "properties": { + "kind": "legacy", + "properties": { "lookBackPeriod": "Last7Days", "meterId": "00000000-0000-0000-0000-000000000000", "term": "P1Y", @@ -43,7 +43,7 @@ "type": "Microsoft.Consumption/reservationRecommendations", "sku": "Standard_DS1_v2", "location": "northeurope", - "kind": "legacy", + "kind": "legacy", "properties": { "lookBackPeriod": "Last7Days", "meterId": "00000000-0000-0000-0000-000000000000", diff --git a/specification/consumption/resource-manager/Microsoft.Consumption/stable/2019-10-01/examples/UsageDetailsListByMCABillingAccount.json b/specification/consumption/resource-manager/Microsoft.Consumption/stable/2019-10-01/examples/UsageDetailsListByMCABillingAccount.json index 95287cb6774b..cddefc406d0f 100644 --- a/specification/consumption/resource-manager/Microsoft.Consumption/stable/2019-10-01/examples/UsageDetailsListByMCABillingAccount.json +++ b/specification/consumption/resource-manager/Microsoft.Consumption/stable/2019-10-01/examples/UsageDetailsListByMCABillingAccount.json @@ -34,48 +34,48 @@ "consumedService": "Microsoft.Storage", "instanceName": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/Resource Group 1/providers/Microsoft.Storage/storageAccounts/Resource Name 1", "invoiceSectionId": "98765", - "invoiceSectionName": "Invoice Section 1", + "invoiceSectionName": "Invoice Section 1", "costCenter": "DEV", "resourceGroup": "Resource Group 1", "isAzureCreditEligible": false, "chargeType": "Usage", - "additionalInfo": "{ \"UsageType\": \"ComputeHR\", \"ImageType\": \"Windows Client BYOL\", \"ServiceType\": \"Standard_D1\", \"VMName\": null, \"VMProperties\": null, \"VCPUs\": 1, \"CPUs\": 0}", - "costInBillingCurrency": 1.84763819095477, - "costInPricingCurrency": 1.84763819095477, - "exchangeRate": "1", - "exchangeRateDate": "2019-10-01T00:00:00Z", - "invoiceId": "", - "previousInvoiceId": "", - "pricingCurrencyCode": "USD", - "product": "Virtual Machines D Series - D1 - US East", - "productIdentifier": "DZH318Z0BQ4B00FV", - "productOrderId": "a3db7880-70eb-4b4c-6a79-1425a058df5a", - "productOrderName": "Azure plan", - "publisherName": "Microsoft", - "publisherType": "1PP", - "resourceLocationNormalized": "US East", - "serviceInfo1": "", - "serviceInfo2": "Windows Client BYOL", - "servicePeriodEndDate": "2019-12-01T00:00:00Z", - "servicePeriodStartDate": "2019-10-01T00:00:00Z", - "customerTenantId": "00000000-0000-0000-0000-000000000000", - "customerName": "Modern Azure Customer 1", - "partnerTenantId": "00000000-0000-0000-0000-000000000000", - "partnerName": "Partner Name 1", - "resellerMpnId": "", - "resellerName": "Reseller Name 1", - "publisherId": "", - "reservationId": "", - "reservationName": "", - "frequency": "UsageBased", - "term": "", - "marketPrice": 0.077, - "costInUSD": 1.84763819095477, - "paygCostInBillingCurrency": 1.848, - "paygCostInUSD": 1.848, - "exchangeRatePricingToBilling": 0.077, - "partnerEarnedCreditRate": 0.077, - "partnerEarnedCreditApplied": "0" + "additionalInfo": "{ \"UsageType\": \"ComputeHR\", \"ImageType\": \"Windows Client BYOL\", \"ServiceType\": \"Standard_D1\", \"VMName\": null, \"VMProperties\": null, \"VCPUs\": 1, \"CPUs\": 0}", + "costInBillingCurrency": 1.84763819095477, + "costInPricingCurrency": 1.84763819095477, + "exchangeRate": "1", + "exchangeRateDate": "2019-10-01T00:00:00Z", + "invoiceId": "", + "previousInvoiceId": "", + "pricingCurrencyCode": "USD", + "product": "Virtual Machines D Series - D1 - US East", + "productIdentifier": "DZH318Z0BQ4B00FV", + "productOrderId": "a3db7880-70eb-4b4c-6a79-1425a058df5a", + "productOrderName": "Azure plan", + "publisherName": "Microsoft", + "publisherType": "1PP", + "resourceLocationNormalized": "US East", + "serviceInfo1": "", + "serviceInfo2": "Windows Client BYOL", + "servicePeriodEndDate": "2019-12-01T00:00:00Z", + "servicePeriodStartDate": "2019-10-01T00:00:00Z", + "customerTenantId": "00000000-0000-0000-0000-000000000000", + "customerName": "Modern Azure Customer 1", + "partnerTenantId": "00000000-0000-0000-0000-000000000000", + "partnerName": "Partner Name 1", + "resellerMpnId": "", + "resellerName": "Reseller Name 1", + "publisherId": "", + "reservationId": "", + "reservationName": "", + "frequency": "UsageBased", + "term": "", + "marketPrice": 0.077, + "costInUSD": 1.84763819095477, + "paygCostInBillingCurrency": 1.848, + "paygCostInUSD": 1.848, + "exchangeRatePricingToBilling": 0.077, + "partnerEarnedCreditRate": 0.077, + "partnerEarnedCreditApplied": "0" } } ] diff --git a/specification/consumption/resource-manager/Microsoft.Consumption/stable/2019-10-01/examples/UsageDetailsListByMCABillingProfile.json b/specification/consumption/resource-manager/Microsoft.Consumption/stable/2019-10-01/examples/UsageDetailsListByMCABillingProfile.json index 29bad2b24732..66506715f999 100644 --- a/specification/consumption/resource-manager/Microsoft.Consumption/stable/2019-10-01/examples/UsageDetailsListByMCABillingProfile.json +++ b/specification/consumption/resource-manager/Microsoft.Consumption/stable/2019-10-01/examples/UsageDetailsListByMCABillingProfile.json @@ -34,48 +34,48 @@ "consumedService": "Microsoft.Storage", "instanceName": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/Resource Group 1/providers/Microsoft.Storage/storageAccounts/Resource Name 1", "invoiceSectionId": "98765", - "invoiceSectionName": "Invoice Section 1", + "invoiceSectionName": "Invoice Section 1", "costCenter": "DEV", "resourceGroup": "Resource Group 1", "isAzureCreditEligible": false, "chargeType": "Usage", - "additionalInfo": "{ \"UsageType\": \"ComputeHR\", \"ImageType\": \"Windows Client BYOL\", \"ServiceType\": \"Standard_D1\", \"VMName\": null, \"VMProperties\": null, \"VCPUs\": 1, \"CPUs\": 0}", - "costInBillingCurrency": 1.84763819095477, - "costInPricingCurrency": 1.84763819095477, - "exchangeRate": "1", - "exchangeRateDate": "2019-10-01T00:00:00Z", - "invoiceId": "", - "previousInvoiceId": "", - "pricingCurrencyCode": "USD", - "product": "Virtual Machines D Series - D1 - US East", - "productIdentifier": "DZH318Z0BQ4B00FV", - "productOrderId": "a3db7880-70eb-4b4c-6a79-1425a058df5a", - "productOrderName": "Azure plan", - "publisherName": "Microsoft", - "publisherType": "1PP", - "resourceLocationNormalized": "US East", - "serviceInfo1": "", - "serviceInfo2": "Windows Client BYOL", - "servicePeriodEndDate": "2019-12-01T00:00:00Z", - "servicePeriodStartDate": "2019-10-01T00:00:00Z", - "customerTenantId": "00000000-0000-0000-0000-000000000000", - "customerName": "Modern Azure Customer 1", - "partnerTenantId": "00000000-0000-0000-0000-000000000000", - "partnerName": "Partner Name 1", - "resellerMpnId": "", - "resellerName": "Reseller Name 1", - "publisherId": "", - "reservationId": "", - "reservationName": "", - "frequency": "UsageBased", - "term": "", - "marketPrice": 0.077, - "costInUSD": 1.84763819095477, - "paygCostInBillingCurrency": 1.848, - "paygCostInUSD": 1.848, - "exchangeRatePricingToBilling": 0.077, - "partnerEarnedCreditRate": 0.077, - "partnerEarnedCreditApplied": "0" + "additionalInfo": "{ \"UsageType\": \"ComputeHR\", \"ImageType\": \"Windows Client BYOL\", \"ServiceType\": \"Standard_D1\", \"VMName\": null, \"VMProperties\": null, \"VCPUs\": 1, \"CPUs\": 0}", + "costInBillingCurrency": 1.84763819095477, + "costInPricingCurrency": 1.84763819095477, + "exchangeRate": "1", + "exchangeRateDate": "2019-10-01T00:00:00Z", + "invoiceId": "", + "previousInvoiceId": "", + "pricingCurrencyCode": "USD", + "product": "Virtual Machines D Series - D1 - US East", + "productIdentifier": "DZH318Z0BQ4B00FV", + "productOrderId": "a3db7880-70eb-4b4c-6a79-1425a058df5a", + "productOrderName": "Azure plan", + "publisherName": "Microsoft", + "publisherType": "1PP", + "resourceLocationNormalized": "US East", + "serviceInfo1": "", + "serviceInfo2": "Windows Client BYOL", + "servicePeriodEndDate": "2019-12-01T00:00:00Z", + "servicePeriodStartDate": "2019-10-01T00:00:00Z", + "customerTenantId": "00000000-0000-0000-0000-000000000000", + "customerName": "Modern Azure Customer 1", + "partnerTenantId": "00000000-0000-0000-0000-000000000000", + "partnerName": "Partner Name 1", + "resellerMpnId": "", + "resellerName": "Reseller Name 1", + "publisherId": "", + "reservationId": "", + "reservationName": "", + "frequency": "UsageBased", + "term": "", + "marketPrice": 0.077, + "costInUSD": 1.84763819095477, + "paygCostInBillingCurrency": 1.848, + "paygCostInUSD": 1.848, + "exchangeRatePricingToBilling": 0.077, + "partnerEarnedCreditRate": 0.077, + "partnerEarnedCreditApplied": "0" } } ] diff --git a/specification/consumption/resource-manager/Microsoft.Consumption/stable/2019-10-01/examples/UsageDetailsListByMCACustomer.json b/specification/consumption/resource-manager/Microsoft.Consumption/stable/2019-10-01/examples/UsageDetailsListByMCACustomer.json index b61daa293a20..b76b2f52e19e 100644 --- a/specification/consumption/resource-manager/Microsoft.Consumption/stable/2019-10-01/examples/UsageDetailsListByMCACustomer.json +++ b/specification/consumption/resource-manager/Microsoft.Consumption/stable/2019-10-01/examples/UsageDetailsListByMCACustomer.json @@ -34,48 +34,48 @@ "consumedService": "Microsoft.Storage", "instanceName": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/Resource Group 1/providers/Microsoft.Storage/storageAccounts/Resource Name 1", "invoiceSectionId": "98765", - "invoiceSectionName": "Invoice Section 1", + "invoiceSectionName": "Invoice Section 1", "costCenter": "DEV", "resourceGroup": "Resource Group 1", "isAzureCreditEligible": false, "chargeType": "Usage", - "additionalInfo": "{ \"UsageType\": \"ComputeHR\", \"ImageType\": \"Windows Client BYOL\", \"ServiceType\": \"Standard_D1\", \"VMName\": null, \"VMProperties\": null, \"VCPUs\": 1, \"CPUs\": 0}", - "costInBillingCurrency": 1.84763819095477, - "costInPricingCurrency": 1.84763819095477, - "exchangeRate": "1", - "exchangeRateDate": "2019-10-01T00:00:00Z", - "invoiceId": "", - "previousInvoiceId": "", - "pricingCurrencyCode": "USD", - "product": "Virtual Machines D Series - D1 - US East", - "productIdentifier": "DZH318Z0BQ4B00FV", - "productOrderId": "a3db7880-70eb-4b4c-6a79-1425a058df5a", - "productOrderName": "Azure plan", - "publisherName": "Microsoft", - "publisherType": "1PP", - "resourceLocationNormalized": "US East", - "serviceInfo1": "", - "serviceInfo2": "Windows Client BYOL", - "servicePeriodEndDate": "2019-12-01T00:00:00Z", - "servicePeriodStartDate": "2019-10-01T00:00:00Z", - "customerTenantId": "00000000-0000-0000-0000-000000000000", - "customerName": "Modern Azure Customer 1", - "partnerTenantId": "00000000-0000-0000-0000-000000000000", - "partnerName": "Partner Name 1", - "resellerMpnId": "", - "resellerName": "Reseller Name 1", - "publisherId": "", - "reservationId": "", - "reservationName": "", - "frequency": "UsageBased", - "term": "", - "marketPrice": 0.077, - "costInUSD": 1.84763819095477, - "paygCostInBillingCurrency": 1.848, - "paygCostInUSD": 1.848, - "exchangeRatePricingToBilling": 0.077, - "partnerEarnedCreditRate": 0.077, - "partnerEarnedCreditApplied": "0" + "additionalInfo": "{ \"UsageType\": \"ComputeHR\", \"ImageType\": \"Windows Client BYOL\", \"ServiceType\": \"Standard_D1\", \"VMName\": null, \"VMProperties\": null, \"VCPUs\": 1, \"CPUs\": 0}", + "costInBillingCurrency": 1.84763819095477, + "costInPricingCurrency": 1.84763819095477, + "exchangeRate": "1", + "exchangeRateDate": "2019-10-01T00:00:00Z", + "invoiceId": "", + "previousInvoiceId": "", + "pricingCurrencyCode": "USD", + "product": "Virtual Machines D Series - D1 - US East", + "productIdentifier": "DZH318Z0BQ4B00FV", + "productOrderId": "a3db7880-70eb-4b4c-6a79-1425a058df5a", + "productOrderName": "Azure plan", + "publisherName": "Microsoft", + "publisherType": "1PP", + "resourceLocationNormalized": "US East", + "serviceInfo1": "", + "serviceInfo2": "Windows Client BYOL", + "servicePeriodEndDate": "2019-12-01T00:00:00Z", + "servicePeriodStartDate": "2019-10-01T00:00:00Z", + "customerTenantId": "00000000-0000-0000-0000-000000000000", + "customerName": "Modern Azure Customer 1", + "partnerTenantId": "00000000-0000-0000-0000-000000000000", + "partnerName": "Partner Name 1", + "resellerMpnId": "", + "resellerName": "Reseller Name 1", + "publisherId": "", + "reservationId": "", + "reservationName": "", + "frequency": "UsageBased", + "term": "", + "marketPrice": 0.077, + "costInUSD": 1.84763819095477, + "paygCostInBillingCurrency": 1.848, + "paygCostInUSD": 1.848, + "exchangeRatePricingToBilling": 0.077, + "partnerEarnedCreditRate": 0.077, + "partnerEarnedCreditApplied": "0" } } ] diff --git a/specification/consumption/resource-manager/Microsoft.Consumption/stable/2019-10-01/examples/UsageDetailsListByMCAInvoiceSection.json b/specification/consumption/resource-manager/Microsoft.Consumption/stable/2019-10-01/examples/UsageDetailsListByMCAInvoiceSection.json index e5e6b6db2571..f1133b561e9c 100644 --- a/specification/consumption/resource-manager/Microsoft.Consumption/stable/2019-10-01/examples/UsageDetailsListByMCAInvoiceSection.json +++ b/specification/consumption/resource-manager/Microsoft.Consumption/stable/2019-10-01/examples/UsageDetailsListByMCAInvoiceSection.json @@ -34,48 +34,48 @@ "consumedService": "Microsoft.Storage", "instanceName": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/Resource Group 1/providers/Microsoft.Storage/storageAccounts/Resource Name 1", "invoiceSectionId": "98765", - "invoiceSectionName": "Invoice Section 1", + "invoiceSectionName": "Invoice Section 1", "costCenter": "DEV", "resourceGroup": "Resource Group 1", "isAzureCreditEligible": false, "chargeType": "Usage", - "additionalInfo": "{ \"UsageType\": \"ComputeHR\", \"ImageType\": \"Windows Client BYOL\", \"ServiceType\": \"Standard_D1\", \"VMName\": null, \"VMProperties\": null, \"VCPUs\": 1, \"CPUs\": 0}", - "costInBillingCurrency": 1.84763819095477, - "costInPricingCurrency": 1.84763819095477, - "exchangeRate": "1", - "exchangeRateDate": "2019-10-01T00:00:00Z", - "invoiceId": "", - "previousInvoiceId": "", - "pricingCurrencyCode": "USD", - "product": "Virtual Machines D Series - D1 - US East", - "productIdentifier": "DZH318Z0BQ4B00FV", - "productOrderId": "a3db7880-70eb-4b4c-6a79-1425a058df5a", - "productOrderName": "Azure plan", - "publisherName": "Microsoft", - "publisherType": "1PP", - "resourceLocationNormalized": "US East", - "serviceInfo1": "", - "serviceInfo2": "Windows Client BYOL", - "servicePeriodEndDate": "2019-12-01T00:00:00Z", - "servicePeriodStartDate": "2019-10-01T00:00:00Z", - "customerTenantId": "00000000-0000-0000-0000-000000000000", - "customerName": "Modern Azure Customer 1", - "partnerTenantId": "00000000-0000-0000-0000-000000000000", - "partnerName": "Partner Name 1", - "resellerMpnId": "", - "resellerName": "Reseller Name 1", - "publisherId": "", - "reservationId": "", - "reservationName": "", - "frequency": "UsageBased", - "term": "", - "marketPrice": 0.077, - "costInUSD": 1.84763819095477, - "paygCostInBillingCurrency": 1.848, - "paygCostInUSD": 1.848, - "exchangeRatePricingToBilling": 0.077, - "partnerEarnedCreditRate": 0.077, - "partnerEarnedCreditApplied": "0" + "additionalInfo": "{ \"UsageType\": \"ComputeHR\", \"ImageType\": \"Windows Client BYOL\", \"ServiceType\": \"Standard_D1\", \"VMName\": null, \"VMProperties\": null, \"VCPUs\": 1, \"CPUs\": 0}", + "costInBillingCurrency": 1.84763819095477, + "costInPricingCurrency": 1.84763819095477, + "exchangeRate": "1", + "exchangeRateDate": "2019-10-01T00:00:00Z", + "invoiceId": "", + "previousInvoiceId": "", + "pricingCurrencyCode": "USD", + "product": "Virtual Machines D Series - D1 - US East", + "productIdentifier": "DZH318Z0BQ4B00FV", + "productOrderId": "a3db7880-70eb-4b4c-6a79-1425a058df5a", + "productOrderName": "Azure plan", + "publisherName": "Microsoft", + "publisherType": "1PP", + "resourceLocationNormalized": "US East", + "serviceInfo1": "", + "serviceInfo2": "Windows Client BYOL", + "servicePeriodEndDate": "2019-12-01T00:00:00Z", + "servicePeriodStartDate": "2019-10-01T00:00:00Z", + "customerTenantId": "00000000-0000-0000-0000-000000000000", + "customerName": "Modern Azure Customer 1", + "partnerTenantId": "00000000-0000-0000-0000-000000000000", + "partnerName": "Partner Name 1", + "resellerMpnId": "", + "resellerName": "Reseller Name 1", + "publisherId": "", + "reservationId": "", + "reservationName": "", + "frequency": "UsageBased", + "term": "", + "marketPrice": 0.077, + "costInUSD": 1.84763819095477, + "paygCostInBillingCurrency": 1.848, + "paygCostInUSD": 1.848, + "exchangeRatePricingToBilling": 0.077, + "partnerEarnedCreditRate": 0.077, + "partnerEarnedCreditApplied": "0" } } ] diff --git a/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2015-04-08/examples/CosmosDBCollectionGetMetricDefinitions.json b/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2015-04-08/examples/CosmosDBCollectionGetMetricDefinitions.json index 152e7d214a53..0c6cd6052b9a 100644 --- a/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2015-04-08/examples/CosmosDBCollectionGetMetricDefinitions.json +++ b/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2015-04-08/examples/CosmosDBCollectionGetMetricDefinitions.json @@ -28,7 +28,7 @@ ], "primaryAggregationType": "Total", "unit": "Count", - "resourceUri": "\/subscriptions\/subId\/resourceGroups\/rg1\/providers\/Microsoft.DocumentDB\/databaseAccounts\/ddb1", + "resourceUri": "/subscriptions/subId/resourceGroups/rg1/providers/Microsoft.DocumentDB/databaseAccounts/ddb1", "name": { "value": "Total Requests", "localizedValue": "Total Requests" diff --git a/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2015-04-08/examples/CosmosDBDatabaseAccountGetMetricDefinitions.json b/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2015-04-08/examples/CosmosDBDatabaseAccountGetMetricDefinitions.json index bca1e3bf032b..cadd0fb3fe73 100644 --- a/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2015-04-08/examples/CosmosDBDatabaseAccountGetMetricDefinitions.json +++ b/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2015-04-08/examples/CosmosDBDatabaseAccountGetMetricDefinitions.json @@ -26,7 +26,7 @@ ], "primaryAggregationType": "Total", "unit": "Count", - "resourceUri": "\/subscriptions\/subId\/resourceGroups\/rg1\/providers\/Microsoft.DocumentDB\/databaseAccounts\/ddb1", + "resourceUri": "/subscriptions/subId/resourceGroups/rg1/providers/Microsoft.DocumentDB/databaseAccounts/ddb1", "name": { "value": "Total Requests", "localizedValue": "Total Requests" diff --git a/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2015-04-08/examples/CosmosDBDatabaseGetMetricDefinitions.json b/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2015-04-08/examples/CosmosDBDatabaseGetMetricDefinitions.json index da325cde351b..26624751acce 100644 --- a/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2015-04-08/examples/CosmosDBDatabaseGetMetricDefinitions.json +++ b/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2015-04-08/examples/CosmosDBDatabaseGetMetricDefinitions.json @@ -27,7 +27,7 @@ ], "primaryAggregationType": "Total", "unit": "Count", - "resourceUri": "\/subscriptions\/subId\/resourceGroups\/rg1\/providers\/Microsoft.DocumentDB\/databaseAccounts\/ddb1", + "resourceUri": "/subscriptions/subId/resourceGroups/rg1/providers/Microsoft.DocumentDB/databaseAccounts/ddb1", "name": { "value": "Total Requests", "localizedValue": "Total Requests" diff --git a/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2015-04-08/examples/CosmosDBSqlDatabaseGet.json b/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2015-04-08/examples/CosmosDBSqlDatabaseGet.json index 594afb2deff7..d635e6dfd81e 100644 --- a/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2015-04-08/examples/CosmosDBSqlDatabaseGet.json +++ b/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2015-04-08/examples/CosmosDBSqlDatabaseGet.json @@ -17,8 +17,8 @@ "_rid": "CqNBAA==", "_ts": 1449602962, "_etag": "\"00000a00-0000-0000-0000-56672f920000\"", - "_colls": "colls\/", - "_users": "users\/" + "_colls": "colls/", + "_users": "users/" } } } diff --git a/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2015-04-08/examples/CosmosDBSqlDatabaseList.json b/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2015-04-08/examples/CosmosDBSqlDatabaseList.json index 1194d33b31f1..52cb013e2f8f 100644 --- a/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2015-04-08/examples/CosmosDBSqlDatabaseList.json +++ b/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2015-04-08/examples/CosmosDBSqlDatabaseList.json @@ -18,8 +18,8 @@ "_rid": "CqNBAA==", "_ts": 1449602962, "_etag": "\"00000a00-0000-0000-0000-56672f920000\"", - "_colls": "colls\/", - "_users": "users\/" + "_colls": "colls/", + "_users": "users/" } } ] diff --git a/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2019-08-01/examples/CosmosDBCollectionGetMetricDefinitions.json b/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2019-08-01/examples/CosmosDBCollectionGetMetricDefinitions.json index 3bdf5f342167..bb93c8f9ae10 100644 --- a/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2019-08-01/examples/CosmosDBCollectionGetMetricDefinitions.json +++ b/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2019-08-01/examples/CosmosDBCollectionGetMetricDefinitions.json @@ -28,7 +28,7 @@ ], "primaryAggregationType": "Total", "unit": "Count", - "resourceUri": "\/subscriptions\/subId\/resourceGroups\/rg1\/providers\/Microsoft.DocumentDB\/databaseAccounts\/ddb1", + "resourceUri": "/subscriptions/subId/resourceGroups/rg1/providers/Microsoft.DocumentDB/databaseAccounts/ddb1", "name": { "value": "Total Requests", "localizedValue": "Total Requests" diff --git a/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2019-08-01/examples/CosmosDBDatabaseAccountGetMetricDefinitions.json b/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2019-08-01/examples/CosmosDBDatabaseAccountGetMetricDefinitions.json index b55ed88f43e6..8678381c56fc 100644 --- a/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2019-08-01/examples/CosmosDBDatabaseAccountGetMetricDefinitions.json +++ b/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2019-08-01/examples/CosmosDBDatabaseAccountGetMetricDefinitions.json @@ -26,7 +26,7 @@ ], "primaryAggregationType": "Total", "unit": "Count", - "resourceUri": "\/subscriptions\/subId\/resourceGroups\/rg1\/providers\/Microsoft.DocumentDB\/databaseAccounts\/ddb1", + "resourceUri": "/subscriptions/subId/resourceGroups/rg1/providers/Microsoft.DocumentDB/databaseAccounts/ddb1", "name": { "value": "Total Requests", "localizedValue": "Total Requests" diff --git a/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2019-08-01/examples/CosmosDBDatabaseGetMetricDefinitions.json b/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2019-08-01/examples/CosmosDBDatabaseGetMetricDefinitions.json index a27df0e5f865..3fa96487396e 100644 --- a/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2019-08-01/examples/CosmosDBDatabaseGetMetricDefinitions.json +++ b/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2019-08-01/examples/CosmosDBDatabaseGetMetricDefinitions.json @@ -27,7 +27,7 @@ ], "primaryAggregationType": "Total", "unit": "Count", - "resourceUri": "\/subscriptions\/subId\/resourceGroups\/rg1\/providers\/Microsoft.DocumentDB\/databaseAccounts\/ddb1", + "resourceUri": "/subscriptions/subId/resourceGroups/rg1/providers/Microsoft.DocumentDB/databaseAccounts/ddb1", "name": { "value": "Total Requests", "localizedValue": "Total Requests" diff --git a/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2019-08-01/examples/CosmosDBSqlDatabaseGet.json b/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2019-08-01/examples/CosmosDBSqlDatabaseGet.json index 46e06b47313a..a6d860f2e7c9 100644 --- a/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2019-08-01/examples/CosmosDBSqlDatabaseGet.json +++ b/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2019-08-01/examples/CosmosDBSqlDatabaseGet.json @@ -19,8 +19,8 @@ "_rid": "CqNBAA==", "_ts": 1449602962, "_etag": "\"00000a00-0000-0000-0000-56672f920000\"", - "_colls": "colls\/", - "_users": "users\/" + "_colls": "colls/", + "_users": "users/" } } } diff --git a/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2019-08-01/examples/CosmosDBSqlDatabaseList.json b/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2019-08-01/examples/CosmosDBSqlDatabaseList.json index 17cde7a9fc66..47848359f50a 100644 --- a/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2019-08-01/examples/CosmosDBSqlDatabaseList.json +++ b/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2019-08-01/examples/CosmosDBSqlDatabaseList.json @@ -20,8 +20,8 @@ "_rid": "CqNBAA==", "_ts": 1449602962, "_etag": "\"00000a00-0000-0000-0000-56672f920000\"", - "_colls": "colls\/", - "_users": "users\/" + "_colls": "colls/", + "_users": "users/" } } ] diff --git a/specification/cost-management/resource-manager/Microsoft.CostManagement/stable/2019-10-01/costmanagement.json b/specification/cost-management/resource-manager/Microsoft.CostManagement/stable/2019-10-01/costmanagement.json index 72b1fe659ebf..93c69f44d141 100644 --- a/specification/cost-management/resource-manager/Microsoft.CostManagement/stable/2019-10-01/costmanagement.json +++ b/specification/cost-management/resource-manager/Microsoft.CostManagement/stable/2019-10-01/costmanagement.json @@ -750,55 +750,55 @@ "type": "object", "properties": { "description": { - "description": "Dimension description.", + "description": "Dimension description.", "type": "string", - "readOnly": true + "readOnly": true }, "filterEnabled": { - "description": "Filter enabled.", + "description": "Filter enabled.", "type": "boolean", - "readOnly": true + "readOnly": true }, "groupingEnabled": { "description": "Grouping enabled.", - "type": "boolean", - "readOnly": true + "type": "boolean", + "readOnly": true }, "data": { "type": "array", "items": { "description": "Dimension data item.", "type": "string", - "readOnly": true + "readOnly": true } }, "total": { "description": "Total number of data for the dimension.", "format": "int32", "type": "integer", - "readOnly": true - }, + "readOnly": true + }, "category": { "description": "Dimension category.", "type": "string", - "readOnly": true + "readOnly": true }, "usageStart": { "description": "Usage start.", "format": "date-time", "type": "string", - "readOnly": true + "readOnly": true }, "usageEnd": { "description": "Usage end.", "format": "date-time", "type": "string", - "readOnly": true + "readOnly": true }, "nextLink": { "description": "The link (url) to the next page of results.", "type": "string", - "readOnly": true + "readOnly": true } } }, @@ -822,7 +822,7 @@ "type": "object", "properties": { "nextLink": { - "description": "The link (url) to the next page of results.", + "description": "The link (url) to the next page of results.", "type": "string" }, "columns": { @@ -847,11 +847,11 @@ "properties": { "name": { "description": "The name of column.", - "type": "string" + "type": "string" }, "type": { "description": "The type of column.", - "type": "string" + "type": "string" } } }, @@ -1504,4 +1504,4 @@ "x-ms-parameter-location": "method" } } -} \ No newline at end of file +} diff --git a/specification/cost-management/resource-manager/Microsoft.CostManagement/stable/2019-10-01/examples/BillingAccountQuery.json b/specification/cost-management/resource-manager/Microsoft.CostManagement/stable/2019-10-01/examples/BillingAccountQuery.json index 7afe642f1694..80d3082985f3 100644 --- a/specification/cost-management/resource-manager/Microsoft.CostManagement/stable/2019-10-01/examples/BillingAccountQuery.json +++ b/specification/cost-management/resource-manager/Microsoft.CostManagement/stable/2019-10-01/examples/BillingAccountQuery.json @@ -51,56 +51,56 @@ "responses": { "200": { "body": { - "id": "providers/Microsoft.Billing/billingAccounts/70664866/providers/Microsoft.CostManagement/Query/ad67fd91-c131-4bda-9ba9-7187ecb1cebd", - "name": "ad67fd91-c131-4bda-9ba9-7187ecb1cebd", - "type": "microsoft.costmanagement/Query", - "properties": { - "nextLink": "https://management.azure.com/providers/Microsoft.Billing/billingAccounts/70664866/providers/Microsoft.CostManagement/Query?api-version=2019-10-01&$skiptoken=AQAAAA%3D%3D", - "columns": [ - { - "name": "PreTaxCost", - "type": "Number" - }, - { - "name": "ResourceGroup", - "type": "String" - }, - { - "name": "UsageDate", - "type": "Number" - }, - { - "name": "Currency", - "type": "String" - } - ], - "rows": [ - [ - 19.545363672276512, - "JapanUnifia-Trial", - 20180331, - "USD" - ], - [ - 173.41979241290323, - "RVIIOT-TRIAL", - 20180331, - "USD" - ], - [ - 20.359416562625452, - "VSTSHOL-1595322048000", - 20180331, - "USD" - ], - [ - 0.16677720329728665, - "gs-stms-dev", - 20180331, - "USD" - ] - ] - } + "id": "providers/Microsoft.Billing/billingAccounts/70664866/providers/Microsoft.CostManagement/Query/ad67fd91-c131-4bda-9ba9-7187ecb1cebd", + "name": "ad67fd91-c131-4bda-9ba9-7187ecb1cebd", + "type": "microsoft.costmanagement/Query", + "properties": { + "nextLink": "https://management.azure.com/providers/Microsoft.Billing/billingAccounts/70664866/providers/Microsoft.CostManagement/Query?api-version=2019-10-01&$skiptoken=AQAAAA%3D%3D", + "columns": [ + { + "name": "PreTaxCost", + "type": "Number" + }, + { + "name": "ResourceGroup", + "type": "String" + }, + { + "name": "UsageDate", + "type": "Number" + }, + { + "name": "Currency", + "type": "String" + } + ], + "rows": [ + [ + 19.545363672276512, + "JapanUnifia-Trial", + 20180331, + "USD" + ], + [ + 173.41979241290323, + "RVIIOT-TRIAL", + 20180331, + "USD" + ], + [ + 20.359416562625452, + "VSTSHOL-1595322048000", + 20180331, + "USD" + ], + [ + 0.16677720329728665, + "gs-stms-dev", + 20180331, + "USD" + ] + ] + } } } } diff --git a/specification/cost-management/resource-manager/Microsoft.CostManagement/stable/2019-10-01/examples/BillingAccountQueryGrouping.json b/specification/cost-management/resource-manager/Microsoft.CostManagement/stable/2019-10-01/examples/BillingAccountQueryGrouping.json index d437f36df920..cc666efa60dd 100644 --- a/specification/cost-management/resource-manager/Microsoft.CostManagement/stable/2019-10-01/examples/BillingAccountQueryGrouping.json +++ b/specification/cost-management/resource-manager/Microsoft.CostManagement/stable/2019-10-01/examples/BillingAccountQueryGrouping.json @@ -26,43 +26,43 @@ "responses": { "200": { "body": { - "id": "providers/Microsoft.Billing/billingAccounts/70664866/providers/Microsoft.CostManagement/Query/ad67fd91-c131-4bda-9ba9-7187ecb1cebd", - "name": "ad67fd91-c131-4bda-9ba9-7187ecb1cebd", - "type": "microsoft.costmanagement/Query", - "properties": { - "nextLink": "https://management.azure.com/providers/Microsoft.Billing/billingAccounts/70664866/providers/Microsoft.CostManagement/Query?api-version=2019-10-01&$skiptoken=AQAAAA%3D%3D", - "columns": [ - { - "name": "PreTaxCost", - "type": "Number" - }, - { - "name": "ResourceGroup", - "type": "String" - }, - { - "name": "Currency", - "type": "String" - } - ], - "rows": [ - [ - 19.545363672276512, - "JapanUnifia-Trial", - "USD" - ], - [ - 173.41979241290323, - "RVIIOT-TRIAL", - "USD" - ], - [ - 20.359416562625452, - "VSTSHOL-1595322048000", - "USD" - ] - ] - } + "id": "providers/Microsoft.Billing/billingAccounts/70664866/providers/Microsoft.CostManagement/Query/ad67fd91-c131-4bda-9ba9-7187ecb1cebd", + "name": "ad67fd91-c131-4bda-9ba9-7187ecb1cebd", + "type": "microsoft.costmanagement/Query", + "properties": { + "nextLink": "https://management.azure.com/providers/Microsoft.Billing/billingAccounts/70664866/providers/Microsoft.CostManagement/Query?api-version=2019-10-01&$skiptoken=AQAAAA%3D%3D", + "columns": [ + { + "name": "PreTaxCost", + "type": "Number" + }, + { + "name": "ResourceGroup", + "type": "String" + }, + { + "name": "Currency", + "type": "String" + } + ], + "rows": [ + [ + 19.545363672276512, + "JapanUnifia-Trial", + "USD" + ], + [ + 173.41979241290323, + "RVIIOT-TRIAL", + "USD" + ], + [ + 20.359416562625452, + "VSTSHOL-1595322048000", + "USD" + ] + ] + } } } } diff --git a/specification/cost-management/resource-manager/Microsoft.CostManagement/stable/2019-10-01/examples/DepartmentQuery.json b/specification/cost-management/resource-manager/Microsoft.CostManagement/stable/2019-10-01/examples/DepartmentQuery.json index cd2f56f2a845..59cd36defe51 100644 --- a/specification/cost-management/resource-manager/Microsoft.CostManagement/stable/2019-10-01/examples/DepartmentQuery.json +++ b/specification/cost-management/resource-manager/Microsoft.CostManagement/stable/2019-10-01/examples/DepartmentQuery.json @@ -52,56 +52,56 @@ "responses": { "200": { "body": { - "id": "providers/Microsoft.Billing/billingAccounts/70664866/departments/123/providers/Microsoft.CostManagement/Query/ad67fd91-c131-4bda-9ba9-7187ecb1cebd", - "name": "ad67fd91-c131-4bda-9ba9-7187ecb1cebd", - "type": "microsoft.costmanagement/Query", - "properties": { - "nextLink": "https://management.azure.com/providers/Microsoft.Billing/billingAccounts/70664866/departments/123/providers/Microsoft.CostManagement/Query?api-version=2019-10-01&$skiptoken=AQAAAA%3D%3D", - "columns": [ - { - "name": "PreTaxCost", - "type": "Number" - }, - { - "name": "ResourceGroup", - "type": "String" - }, - { - "name": "UsageDate", - "type": "Number" - }, - { - "name": "Currency", - "type": "String" - } - ], - "rows": [ - [ - 19.545363672276512, - "JapanUnifia-Trial", - 20180331, - "USD" - ], - [ - 173.41979241290323, - "RVIIOT-TRIAL", - 20180331, - "USD" - ], - [ - 20.359416562625452, - "VSTSHOL-1595322048000", - 20180331, - "USD" - ], - [ - 0.16677720329728665, - "gs-stms-dev", - 20180331, - "USD" - ] - ] - } + "id": "providers/Microsoft.Billing/billingAccounts/70664866/departments/123/providers/Microsoft.CostManagement/Query/ad67fd91-c131-4bda-9ba9-7187ecb1cebd", + "name": "ad67fd91-c131-4bda-9ba9-7187ecb1cebd", + "type": "microsoft.costmanagement/Query", + "properties": { + "nextLink": "https://management.azure.com/providers/Microsoft.Billing/billingAccounts/70664866/departments/123/providers/Microsoft.CostManagement/Query?api-version=2019-10-01&$skiptoken=AQAAAA%3D%3D", + "columns": [ + { + "name": "PreTaxCost", + "type": "Number" + }, + { + "name": "ResourceGroup", + "type": "String" + }, + { + "name": "UsageDate", + "type": "Number" + }, + { + "name": "Currency", + "type": "String" + } + ], + "rows": [ + [ + 19.545363672276512, + "JapanUnifia-Trial", + 20180331, + "USD" + ], + [ + 173.41979241290323, + "RVIIOT-TRIAL", + 20180331, + "USD" + ], + [ + 20.359416562625452, + "VSTSHOL-1595322048000", + 20180331, + "USD" + ], + [ + 0.16677720329728665, + "gs-stms-dev", + 20180331, + "USD" + ] + ] + } } } } diff --git a/specification/cost-management/resource-manager/Microsoft.CostManagement/stable/2019-10-01/examples/DepartmentQueryGrouping.json b/specification/cost-management/resource-manager/Microsoft.CostManagement/stable/2019-10-01/examples/DepartmentQueryGrouping.json index 8b2e5bb2e05b..27ae96d00be2 100644 --- a/specification/cost-management/resource-manager/Microsoft.CostManagement/stable/2019-10-01/examples/DepartmentQueryGrouping.json +++ b/specification/cost-management/resource-manager/Microsoft.CostManagement/stable/2019-10-01/examples/DepartmentQueryGrouping.json @@ -27,43 +27,43 @@ "responses": { "200": { "body": { - "id": "providers/Microsoft.Billing/billingAccounts/70664866/departments/123/providers/Microsoft.CostManagement/Query/ad67fd91-c131-4bda-9ba9-7187ecb1cebd", - "name": "ad67fd91-c131-4bda-9ba9-7187ecb1cebd", - "type": "microsoft.costmanagement/Query", - "properties": { - "nextLink": "https://management.azure.com/providers/Microsoft.Billing/billingAccounts/70664866/departments/123/providers/Microsoft.CostManagement/Query?api-version=2019-10-01&$skiptoken=AQAAAA%3D%3D", - "columns": [ - { - "name": "PreTaxCost", - "type": "Number" - }, - { - "name": "ResourceGroup", - "type": "String" - }, - { - "name": "Currency", - "type": "String" - } - ], - "rows": [ - [ - 19.545363672276512, - "JapanUnifia-Trial", - "USD" - ], - [ - 173.41979241290323, - "RVIIOT-TRIAL", - "USD" - ], - [ - 20.359416562625452, - "VSTSHOL-1595322048000", - "USD" - ] - ] - } + "id": "providers/Microsoft.Billing/billingAccounts/70664866/departments/123/providers/Microsoft.CostManagement/Query/ad67fd91-c131-4bda-9ba9-7187ecb1cebd", + "name": "ad67fd91-c131-4bda-9ba9-7187ecb1cebd", + "type": "microsoft.costmanagement/Query", + "properties": { + "nextLink": "https://management.azure.com/providers/Microsoft.Billing/billingAccounts/70664866/departments/123/providers/Microsoft.CostManagement/Query?api-version=2019-10-01&$skiptoken=AQAAAA%3D%3D", + "columns": [ + { + "name": "PreTaxCost", + "type": "Number" + }, + { + "name": "ResourceGroup", + "type": "String" + }, + { + "name": "Currency", + "type": "String" + } + ], + "rows": [ + [ + 19.545363672276512, + "JapanUnifia-Trial", + "USD" + ], + [ + 173.41979241290323, + "RVIIOT-TRIAL", + "USD" + ], + [ + 20.359416562625452, + "VSTSHOL-1595322048000", + "USD" + ] + ] + } } } } diff --git a/specification/cost-management/resource-manager/Microsoft.CostManagement/stable/2019-10-01/examples/EnrollmentAccountQuery.json b/specification/cost-management/resource-manager/Microsoft.CostManagement/stable/2019-10-01/examples/EnrollmentAccountQuery.json index 5010705d4751..d8adb4734eea 100644 --- a/specification/cost-management/resource-manager/Microsoft.CostManagement/stable/2019-10-01/examples/EnrollmentAccountQuery.json +++ b/specification/cost-management/resource-manager/Microsoft.CostManagement/stable/2019-10-01/examples/EnrollmentAccountQuery.json @@ -52,56 +52,56 @@ "responses": { "200": { "body": { - "id": "providers/Microsoft.Billing/billingAccounts/70664866/enrollmentAccounts/456/providers/Microsoft.CostManagement/Query/ad67fd91-c131-4bda-9ba9-7187ecb1cebd", - "name": "ad67fd91-c131-4bda-9ba9-7187ecb1cebd", - "type": "microsoft.costmanagement/Query", - "properties": { - "nextLink": "https://management.azure.com/providers/Microsoft.Billing/billingAccounts/70664866/enrollmentAccounts/456/providers/Microsoft.CostManagement/Query?api-version=2019-10-01&$skiptoken=AQAAAA%3D%3D", - "columns": [ - { - "name": "PreTaxCost", - "type": "Number" - }, - { - "name": "ResourceGroup", - "type": "String" - }, - { - "name": "UsageDate", - "type": "Number" - }, - { - "name": "Currency", - "type": "String" - } - ], - "rows": [ - [ - 19.545363672276512, - "JapanUnifia-Trial", - 20180331, - "USD" - ], - [ - 173.41979241290323, - "RVIIOT-TRIAL", - 20180331, - "USD" - ], - [ - 20.359416562625452, - "VSTSHOL-1595322048000", - 20180331, - "USD" - ], - [ - 0.16677720329728665, - "gs-stms-dev", - 20180331, - "USD" - ] - ] - } + "id": "providers/Microsoft.Billing/billingAccounts/70664866/enrollmentAccounts/456/providers/Microsoft.CostManagement/Query/ad67fd91-c131-4bda-9ba9-7187ecb1cebd", + "name": "ad67fd91-c131-4bda-9ba9-7187ecb1cebd", + "type": "microsoft.costmanagement/Query", + "properties": { + "nextLink": "https://management.azure.com/providers/Microsoft.Billing/billingAccounts/70664866/enrollmentAccounts/456/providers/Microsoft.CostManagement/Query?api-version=2019-10-01&$skiptoken=AQAAAA%3D%3D", + "columns": [ + { + "name": "PreTaxCost", + "type": "Number" + }, + { + "name": "ResourceGroup", + "type": "String" + }, + { + "name": "UsageDate", + "type": "Number" + }, + { + "name": "Currency", + "type": "String" + } + ], + "rows": [ + [ + 19.545363672276512, + "JapanUnifia-Trial", + 20180331, + "USD" + ], + [ + 173.41979241290323, + "RVIIOT-TRIAL", + 20180331, + "USD" + ], + [ + 20.359416562625452, + "VSTSHOL-1595322048000", + 20180331, + "USD" + ], + [ + 0.16677720329728665, + "gs-stms-dev", + 20180331, + "USD" + ] + ] + } } } } diff --git a/specification/cost-management/resource-manager/Microsoft.CostManagement/stable/2019-10-01/examples/EnrollmentAccountQueryGrouping.json b/specification/cost-management/resource-manager/Microsoft.CostManagement/stable/2019-10-01/examples/EnrollmentAccountQueryGrouping.json index 947477b35fff..0abc39cf554c 100644 --- a/specification/cost-management/resource-manager/Microsoft.CostManagement/stable/2019-10-01/examples/EnrollmentAccountQueryGrouping.json +++ b/specification/cost-management/resource-manager/Microsoft.CostManagement/stable/2019-10-01/examples/EnrollmentAccountQueryGrouping.json @@ -32,50 +32,50 @@ "responses": { "200": { "body": { - "id": "providers/Microsoft.Billing/billingAccounts/70664866/enrollmentAccounts/456/providers/Microsoft.CostManagement/Query/ad67fd91-c131-4bda-9ba9-7187ecb1cebd", - "name": "ad67fd91-c131-4bda-9ba9-7187ecb1cebd", - "type": "microsoft.costmanagement/Query", - "properties": { - "nextLink": "https://management.azure.com/providers/Microsoft.Billing/billingAccounts/70664866/enrollmentAccounts/456/providers/Microsoft.CostManagement/Query?api-version=2019-10-01&$skiptoken=AQAAAA%3D%3D", - "columns": [ - { - "name": "PreTaxCost", - "type": "Number" - }, - { - "name": "ResourceGroup", - "type": "String" - }, - { - "name": "UsageDate", - "type": "Number" - }, - { - "name": "Currency", - "type": "String" - } - ], - "rows": [ - [ - 19.545363672276512, - "JapanUnifia-Trial", - 20180331, - "USD" - ], - [ - 173.41979241290323, - "RVIIOT-TRIAL", - 20180331, - "USD" - ], - [ - 20.359416562625452, - "VSTSHOL-1595322048000", - 20180331, - "USD" - ] - ] - } + "id": "providers/Microsoft.Billing/billingAccounts/70664866/enrollmentAccounts/456/providers/Microsoft.CostManagement/Query/ad67fd91-c131-4bda-9ba9-7187ecb1cebd", + "name": "ad67fd91-c131-4bda-9ba9-7187ecb1cebd", + "type": "microsoft.costmanagement/Query", + "properties": { + "nextLink": "https://management.azure.com/providers/Microsoft.Billing/billingAccounts/70664866/enrollmentAccounts/456/providers/Microsoft.CostManagement/Query?api-version=2019-10-01&$skiptoken=AQAAAA%3D%3D", + "columns": [ + { + "name": "PreTaxCost", + "type": "Number" + }, + { + "name": "ResourceGroup", + "type": "String" + }, + { + "name": "UsageDate", + "type": "Number" + }, + { + "name": "Currency", + "type": "String" + } + ], + "rows": [ + [ + 19.545363672276512, + "JapanUnifia-Trial", + 20180331, + "USD" + ], + [ + 173.41979241290323, + "RVIIOT-TRIAL", + 20180331, + "USD" + ], + [ + 20.359416562625452, + "VSTSHOL-1595322048000", + 20180331, + "USD" + ] + ] + } } } } diff --git a/specification/cost-management/resource-manager/Microsoft.CostManagement/stable/2019-10-01/examples/MCABillingAccountQuery.json b/specification/cost-management/resource-manager/Microsoft.CostManagement/stable/2019-10-01/examples/MCABillingAccountQuery.json index 86538a05da60..8abfb5dc2eca 100644 --- a/specification/cost-management/resource-manager/Microsoft.CostManagement/stable/2019-10-01/examples/MCABillingAccountQuery.json +++ b/specification/cost-management/resource-manager/Microsoft.CostManagement/stable/2019-10-01/examples/MCABillingAccountQuery.json @@ -51,56 +51,56 @@ "responses": { "200": { "body": { - "id": "providers/Microsoft.Billing/billingAccounts/12345:6789/providers/Microsoft.CostManagement/Query/ad67fd91-c131-4bda-9ba9-7187ecb1cebd", - "name": "ad67fd91-c131-4bda-9ba9-7187ecb1cebd", - "type": "microsoft.costmanagement/Query", - "properties": { - "nextLink": "https://management.azure.com/providers/Microsoft.Billing/billingAccounts/12345:6789/providers/Microsoft.CostManagement/Query?api-version=2019-10-01&$skiptoken=AQAAAA%3D%3D", - "columns": [ - { - "name": "PreTaxCost", - "type": "Number" - }, - { - "name": "ResourceGroup", - "type": "String" - }, - { - "name": "UsageDate", - "type": "Number" - }, - { - "name": "Currency", - "type": "String" - } - ], - "rows": [ - [ - 19.545363672276512, - "JapanUnifia-Trial", - 20180331, - "USD" - ], - [ - 173.41979241290323, - "RVIIOT-TRIAL", - 20180331, - "USD" - ], - [ - 20.359416562625452, - "VSTSHOL-1595322048000", - 20180331, - "USD" - ], - [ - 0.16677720329728665, - "gs-stms-dev", - 20180331, - "USD" - ] - ] - } + "id": "providers/Microsoft.Billing/billingAccounts/12345:6789/providers/Microsoft.CostManagement/Query/ad67fd91-c131-4bda-9ba9-7187ecb1cebd", + "name": "ad67fd91-c131-4bda-9ba9-7187ecb1cebd", + "type": "microsoft.costmanagement/Query", + "properties": { + "nextLink": "https://management.azure.com/providers/Microsoft.Billing/billingAccounts/12345:6789/providers/Microsoft.CostManagement/Query?api-version=2019-10-01&$skiptoken=AQAAAA%3D%3D", + "columns": [ + { + "name": "PreTaxCost", + "type": "Number" + }, + { + "name": "ResourceGroup", + "type": "String" + }, + { + "name": "UsageDate", + "type": "Number" + }, + { + "name": "Currency", + "type": "String" + } + ], + "rows": [ + [ + 19.545363672276512, + "JapanUnifia-Trial", + 20180331, + "USD" + ], + [ + 173.41979241290323, + "RVIIOT-TRIAL", + 20180331, + "USD" + ], + [ + 20.359416562625452, + "VSTSHOL-1595322048000", + 20180331, + "USD" + ], + [ + 0.16677720329728665, + "gs-stms-dev", + 20180331, + "USD" + ] + ] + } } } } diff --git a/specification/cost-management/resource-manager/Microsoft.CostManagement/stable/2019-10-01/examples/MCABillingAccountQueryGrouping.json b/specification/cost-management/resource-manager/Microsoft.CostManagement/stable/2019-10-01/examples/MCABillingAccountQueryGrouping.json index 4de5de1a35f7..648ebf053be2 100644 --- a/specification/cost-management/resource-manager/Microsoft.CostManagement/stable/2019-10-01/examples/MCABillingAccountQueryGrouping.json +++ b/specification/cost-management/resource-manager/Microsoft.CostManagement/stable/2019-10-01/examples/MCABillingAccountQueryGrouping.json @@ -26,43 +26,43 @@ "responses": { "200": { "body": { - "id": "providers/Microsoft.Billing/billingAccounts/12345:6789/providers/Microsoft.CostManagement/Query/ad67fd91-c131-4bda-9ba9-7187ecb1cebd", - "name": "ad67fd91-c131-4bda-9ba9-7187ecb1cebd", - "type": "microsoft.costmanagement/Query", - "properties": { - "nextLink": "https://management.azure.com/providers/Microsoft.Billing/billingAccounts/12345:6789/providers/Microsoft.CostManagement/Query?api-version=2019-10-01&$skiptoken=AQAAAA%3D%3D", - "columns": [ - { - "name": "PreTaxCost", - "type": "Number" - }, - { - "name": "ResourceGroup", - "type": "String" - }, - { - "name": "Currency", - "type": "String" - } - ], - "rows": [ - [ - 19.545363672276512, - "JapanUnifia-Trial", - "USD" - ], - [ - 173.41979241290323, - "RVIIOT-TRIAL", - "USD" - ], - [ - 20.359416562625452, - "VSTSHOL-1595322048000", - "USD" - ] - ] - } + "id": "providers/Microsoft.Billing/billingAccounts/12345:6789/providers/Microsoft.CostManagement/Query/ad67fd91-c131-4bda-9ba9-7187ecb1cebd", + "name": "ad67fd91-c131-4bda-9ba9-7187ecb1cebd", + "type": "microsoft.costmanagement/Query", + "properties": { + "nextLink": "https://management.azure.com/providers/Microsoft.Billing/billingAccounts/12345:6789/providers/Microsoft.CostManagement/Query?api-version=2019-10-01&$skiptoken=AQAAAA%3D%3D", + "columns": [ + { + "name": "PreTaxCost", + "type": "Number" + }, + { + "name": "ResourceGroup", + "type": "String" + }, + { + "name": "Currency", + "type": "String" + } + ], + "rows": [ + [ + 19.545363672276512, + "JapanUnifia-Trial", + "USD" + ], + [ + 173.41979241290323, + "RVIIOT-TRIAL", + "USD" + ], + [ + 20.359416562625452, + "VSTSHOL-1595322048000", + "USD" + ] + ] + } } } } diff --git a/specification/cost-management/resource-manager/Microsoft.CostManagement/stable/2019-10-01/examples/MCABillingProfileQuery.json b/specification/cost-management/resource-manager/Microsoft.CostManagement/stable/2019-10-01/examples/MCABillingProfileQuery.json index 7c06b2384402..89e2f2fb78ca 100644 --- a/specification/cost-management/resource-manager/Microsoft.CostManagement/stable/2019-10-01/examples/MCABillingProfileQuery.json +++ b/specification/cost-management/resource-manager/Microsoft.CostManagement/stable/2019-10-01/examples/MCABillingProfileQuery.json @@ -52,56 +52,56 @@ "responses": { "200": { "body": { - "id": "providers/Microsoft.Billing/billingAccounts/12345:6789/billingProfiles/13579/providers/Microsoft.CostManagement/Query/ad67fd91-c131-4bda-9ba9-7187ecb1cebd", - "name": "ad67fd91-c131-4bda-9ba9-7187ecb1cebd", - "type": "microsoft.costmanagement/Query", - "properties": { - "nextLink": "https://management.azure.com/providers/Microsoft.Billing/billingAccounts/12345:6789/billingProfiles/13579/providers/Microsoft.CostManagement/Query?api-version=2019-10-01&$skiptoken=AQAAAA%3D%3D", - "columns": [ - { - "name": "PreTaxCost", - "type": "Number" - }, - { - "name": "ResourceGroup", - "type": "String" - }, - { - "name": "UsageDate", - "type": "Number" - }, - { - "name": "Currency", - "type": "String" - } - ], - "rows": [ - [ - 19.545363672276512, - "JapanUnifia-Trial", - 20180331, - "USD" - ], - [ - 173.41979241290323, - "RVIIOT-TRIAL", - 20180331, - "USD" - ], - [ - 20.359416562625452, - "VSTSHOL-1595322048000", - 20180331, - "USD" - ], - [ - 0.16677720329728665, - "gs-stms-dev", - 20180331, - "USD" - ] - ] - } + "id": "providers/Microsoft.Billing/billingAccounts/12345:6789/billingProfiles/13579/providers/Microsoft.CostManagement/Query/ad67fd91-c131-4bda-9ba9-7187ecb1cebd", + "name": "ad67fd91-c131-4bda-9ba9-7187ecb1cebd", + "type": "microsoft.costmanagement/Query", + "properties": { + "nextLink": "https://management.azure.com/providers/Microsoft.Billing/billingAccounts/12345:6789/billingProfiles/13579/providers/Microsoft.CostManagement/Query?api-version=2019-10-01&$skiptoken=AQAAAA%3D%3D", + "columns": [ + { + "name": "PreTaxCost", + "type": "Number" + }, + { + "name": "ResourceGroup", + "type": "String" + }, + { + "name": "UsageDate", + "type": "Number" + }, + { + "name": "Currency", + "type": "String" + } + ], + "rows": [ + [ + 19.545363672276512, + "JapanUnifia-Trial", + 20180331, + "USD" + ], + [ + 173.41979241290323, + "RVIIOT-TRIAL", + 20180331, + "USD" + ], + [ + 20.359416562625452, + "VSTSHOL-1595322048000", + 20180331, + "USD" + ], + [ + 0.16677720329728665, + "gs-stms-dev", + 20180331, + "USD" + ] + ] + } } } } diff --git a/specification/cost-management/resource-manager/Microsoft.CostManagement/stable/2019-10-01/examples/MCABillingProfileQueryGrouping.json b/specification/cost-management/resource-manager/Microsoft.CostManagement/stable/2019-10-01/examples/MCABillingProfileQueryGrouping.json index c262bd0f5d47..3946eb12c2cf 100644 --- a/specification/cost-management/resource-manager/Microsoft.CostManagement/stable/2019-10-01/examples/MCABillingProfileQueryGrouping.json +++ b/specification/cost-management/resource-manager/Microsoft.CostManagement/stable/2019-10-01/examples/MCABillingProfileQueryGrouping.json @@ -27,43 +27,43 @@ "responses": { "200": { "body": { - "id": "providers/Microsoft.Billing/billingAccounts/12345:6789/billingProfiles/13579/providers/Microsoft.CostManagement/Query/ad67fd91-c131-4bda-9ba9-7187ecb1cebd", - "name": "ad67fd91-c131-4bda-9ba9-7187ecb1cebd", - "type": "microsoft.costmanagement/Query", - "properties": { - "nextLink": "https://management.azure.com/providers/Microsoft.Billing/billingAccounts/12345:6789/billingProfiles/13579/providers/Microsoft.CostManagement/Query?api-version=2019-10-01&$skiptoken=AQAAAA%3D%3D", - "columns": [ - { - "name": "PreTaxCost", - "type": "Number" - }, - { - "name": "ResourceGroup", - "type": "String" - }, - { - "name": "Currency", - "type": "String" - } - ], - "rows": [ - [ - 19.545363672276512, - "JapanUnifia-Trial", - "USD" - ], - [ - 173.41979241290323, - "RVIIOT-TRIAL", - "USD" - ], - [ - 20.359416562625452, - "VSTSHOL-1595322048000", - "USD" - ] - ] - } + "id": "providers/Microsoft.Billing/billingAccounts/12345:6789/billingProfiles/13579/providers/Microsoft.CostManagement/Query/ad67fd91-c131-4bda-9ba9-7187ecb1cebd", + "name": "ad67fd91-c131-4bda-9ba9-7187ecb1cebd", + "type": "microsoft.costmanagement/Query", + "properties": { + "nextLink": "https://management.azure.com/providers/Microsoft.Billing/billingAccounts/12345:6789/billingProfiles/13579/providers/Microsoft.CostManagement/Query?api-version=2019-10-01&$skiptoken=AQAAAA%3D%3D", + "columns": [ + { + "name": "PreTaxCost", + "type": "Number" + }, + { + "name": "ResourceGroup", + "type": "String" + }, + { + "name": "Currency", + "type": "String" + } + ], + "rows": [ + [ + 19.545363672276512, + "JapanUnifia-Trial", + "USD" + ], + [ + 173.41979241290323, + "RVIIOT-TRIAL", + "USD" + ], + [ + 20.359416562625452, + "VSTSHOL-1595322048000", + "USD" + ] + ] + } } } } diff --git a/specification/cost-management/resource-manager/Microsoft.CostManagement/stable/2019-10-01/examples/MCACustomerQuery.json b/specification/cost-management/resource-manager/Microsoft.CostManagement/stable/2019-10-01/examples/MCACustomerQuery.json index 28e65f8fff6d..41a095e8750c 100644 --- a/specification/cost-management/resource-manager/Microsoft.CostManagement/stable/2019-10-01/examples/MCACustomerQuery.json +++ b/specification/cost-management/resource-manager/Microsoft.CostManagement/stable/2019-10-01/examples/MCACustomerQuery.json @@ -52,56 +52,56 @@ "responses": { "200": { "body": { - "id": "providers/Microsoft.Billing/billingAccounts/12345:6789/customers/5678/providers/Microsoft.CostManagement/Query/ad67fd91-c131-4bda-9ba9-7187ecb1cebd", - "name": "ad67fd91-c131-4bda-9ba9-7187ecb1cebd", - "type": "microsoft.costmanagement/Query", - "properties": { - "nextLink": "https://management.azure.com/providers/Microsoft.Billing/billingAccounts/12345:6789/customers/5678/providers/Microsoft.CostManagement/Query?api-version=2019-10-01&$skiptoken=AQAAAA%3D%3D", - "columns": [ - { - "name": "PreTaxCost", - "type": "Number" - }, - { - "name": "ResourceGroup", - "type": "String" - }, - { - "name": "UsageDate", - "type": "Number" - }, - { - "name": "Currency", - "type": "String" - } - ], - "rows": [ - [ - 19.545363672276512, - "JapanUnifia-Trial", - 20180331, - "USD" - ], - [ - 173.41979241290323, - "RVIIOT-TRIAL", - 20180331, - "USD" - ], - [ - 20.359416562625452, - "VSTSHOL-1595322048000", - 20180331, - "USD" - ], - [ - 0.16677720329728665, - "gs-stms-dev", - 20180331, - "USD" - ] - ] - } + "id": "providers/Microsoft.Billing/billingAccounts/12345:6789/customers/5678/providers/Microsoft.CostManagement/Query/ad67fd91-c131-4bda-9ba9-7187ecb1cebd", + "name": "ad67fd91-c131-4bda-9ba9-7187ecb1cebd", + "type": "microsoft.costmanagement/Query", + "properties": { + "nextLink": "https://management.azure.com/providers/Microsoft.Billing/billingAccounts/12345:6789/customers/5678/providers/Microsoft.CostManagement/Query?api-version=2019-10-01&$skiptoken=AQAAAA%3D%3D", + "columns": [ + { + "name": "PreTaxCost", + "type": "Number" + }, + { + "name": "ResourceGroup", + "type": "String" + }, + { + "name": "UsageDate", + "type": "Number" + }, + { + "name": "Currency", + "type": "String" + } + ], + "rows": [ + [ + 19.545363672276512, + "JapanUnifia-Trial", + 20180331, + "USD" + ], + [ + 173.41979241290323, + "RVIIOT-TRIAL", + 20180331, + "USD" + ], + [ + 20.359416562625452, + "VSTSHOL-1595322048000", + 20180331, + "USD" + ], + [ + 0.16677720329728665, + "gs-stms-dev", + 20180331, + "USD" + ] + ] + } } } } diff --git a/specification/cost-management/resource-manager/Microsoft.CostManagement/stable/2019-10-01/examples/MCACustomerQueryGrouping.json b/specification/cost-management/resource-manager/Microsoft.CostManagement/stable/2019-10-01/examples/MCACustomerQueryGrouping.json index c90d17bf1bce..a4629cc12c8c 100644 --- a/specification/cost-management/resource-manager/Microsoft.CostManagement/stable/2019-10-01/examples/MCACustomerQueryGrouping.json +++ b/specification/cost-management/resource-manager/Microsoft.CostManagement/stable/2019-10-01/examples/MCACustomerQueryGrouping.json @@ -27,43 +27,43 @@ "responses": { "200": { "body": { - "id": "providers/Microsoft.Billing/billingAccounts/12345:6789/customers/5678/providers/Microsoft.CostManagement/Query/ad67fd91-c131-4bda-9ba9-7187ecb1cebd", - "name": "ad67fd91-c131-4bda-9ba9-7187ecb1cebd", - "type": "microsoft.costmanagement/Query", - "properties": { - "nextLink": "https://management.azure.com/providers/Microsoft.Billing/billingAccounts/12345:6789/customers/5678/providers/Microsoft.CostManagement/Query?api-version=2019-10-01&$skiptoken=AQAAAA%3D%3D", - "columns": [ - { - "name": "PreTaxCost", - "type": "Number" - }, - { - "name": "ResourceGroup", - "type": "String" - }, - { - "name": "Currency", - "type": "String" - } - ], - "rows": [ - [ - 19.545363672276512, - "JapanUnifia-Trial", - "USD" - ], - [ - 173.41979241290323, - "RVIIOT-TRIAL", - "USD" - ], - [ - 20.359416562625452, - "VSTSHOL-1595322048000", - "USD" - ] - ] - } + "id": "providers/Microsoft.Billing/billingAccounts/12345:6789/customers/5678/providers/Microsoft.CostManagement/Query/ad67fd91-c131-4bda-9ba9-7187ecb1cebd", + "name": "ad67fd91-c131-4bda-9ba9-7187ecb1cebd", + "type": "microsoft.costmanagement/Query", + "properties": { + "nextLink": "https://management.azure.com/providers/Microsoft.Billing/billingAccounts/12345:6789/customers/5678/providers/Microsoft.CostManagement/Query?api-version=2019-10-01&$skiptoken=AQAAAA%3D%3D", + "columns": [ + { + "name": "PreTaxCost", + "type": "Number" + }, + { + "name": "ResourceGroup", + "type": "String" + }, + { + "name": "Currency", + "type": "String" + } + ], + "rows": [ + [ + 19.545363672276512, + "JapanUnifia-Trial", + "USD" + ], + [ + 173.41979241290323, + "RVIIOT-TRIAL", + "USD" + ], + [ + 20.359416562625452, + "VSTSHOL-1595322048000", + "USD" + ] + ] + } } } } diff --git a/specification/cost-management/resource-manager/Microsoft.CostManagement/stable/2019-10-01/examples/MCAInvoiceSectionQuery.json b/specification/cost-management/resource-manager/Microsoft.CostManagement/stable/2019-10-01/examples/MCAInvoiceSectionQuery.json index d11082ef2cba..ddacc8d3b487 100644 --- a/specification/cost-management/resource-manager/Microsoft.CostManagement/stable/2019-10-01/examples/MCAInvoiceSectionQuery.json +++ b/specification/cost-management/resource-manager/Microsoft.CostManagement/stable/2019-10-01/examples/MCAInvoiceSectionQuery.json @@ -53,56 +53,56 @@ "responses": { "200": { "body": { - "id": "providers/Microsoft.Billing/billingAccounts/12345:6789/billingProfiles/13579/invoiceSections/9876/providers/Microsoft.CostManagement/Query/ad67fd91-c131-4bda-9ba9-7187ecb1cebd", - "name": "ad67fd91-c131-4bda-9ba9-7187ecb1cebd", - "type": "microsoft.costmanagement/Query", - "properties": { - "nextLink": "https://management.azure.com/providers/Microsoft.Billing/billingAccounts/12345:6789/billingProfiles/13579/invoiceSections/9876/providers/Microsoft.CostManagement/Query?api-version=2019-10-01&$skiptoken=AQAAAA%3D%3D", - "columns": [ - { - "name": "PreTaxCost", - "type": "Number" - }, - { - "name": "ResourceGroup", - "type": "String" - }, - { - "name": "UsageDate", - "type": "Number" - }, - { - "name": "Currency", - "type": "String" - } - ], - "rows": [ - [ - 19.545363672276512, - "JapanUnifia-Trial", - 20180331, - "USD" - ], - [ - 173.41979241290323, - "RVIIOT-TRIAL", - 20180331, - "USD" - ], - [ - 20.359416562625452, - "VSTSHOL-1595322048000", - 20180331, - "USD" - ], - [ - 0.16677720329728665, - "gs-stms-dev", - 20180331, - "USD" - ] - ] - } + "id": "providers/Microsoft.Billing/billingAccounts/12345:6789/billingProfiles/13579/invoiceSections/9876/providers/Microsoft.CostManagement/Query/ad67fd91-c131-4bda-9ba9-7187ecb1cebd", + "name": "ad67fd91-c131-4bda-9ba9-7187ecb1cebd", + "type": "microsoft.costmanagement/Query", + "properties": { + "nextLink": "https://management.azure.com/providers/Microsoft.Billing/billingAccounts/12345:6789/billingProfiles/13579/invoiceSections/9876/providers/Microsoft.CostManagement/Query?api-version=2019-10-01&$skiptoken=AQAAAA%3D%3D", + "columns": [ + { + "name": "PreTaxCost", + "type": "Number" + }, + { + "name": "ResourceGroup", + "type": "String" + }, + { + "name": "UsageDate", + "type": "Number" + }, + { + "name": "Currency", + "type": "String" + } + ], + "rows": [ + [ + 19.545363672276512, + "JapanUnifia-Trial", + 20180331, + "USD" + ], + [ + 173.41979241290323, + "RVIIOT-TRIAL", + 20180331, + "USD" + ], + [ + 20.359416562625452, + "VSTSHOL-1595322048000", + 20180331, + "USD" + ], + [ + 0.16677720329728665, + "gs-stms-dev", + 20180331, + "USD" + ] + ] + } } } } diff --git a/specification/cost-management/resource-manager/Microsoft.CostManagement/stable/2019-10-01/examples/MCAInvoiceSectionQueryGrouping.json b/specification/cost-management/resource-manager/Microsoft.CostManagement/stable/2019-10-01/examples/MCAInvoiceSectionQueryGrouping.json index fdd3555cef81..c680c09d1ac3 100644 --- a/specification/cost-management/resource-manager/Microsoft.CostManagement/stable/2019-10-01/examples/MCAInvoiceSectionQueryGrouping.json +++ b/specification/cost-management/resource-manager/Microsoft.CostManagement/stable/2019-10-01/examples/MCAInvoiceSectionQueryGrouping.json @@ -28,43 +28,43 @@ "responses": { "200": { "body": { - "id": "providers/Microsoft.Billing/billingAccounts/12345:6789/billingProfiles/13579/invoiceSections/9876/providers/Microsoft.CostManagement/Query/ad67fd91-c131-4bda-9ba9-7187ecb1cebd", - "name": "ad67fd91-c131-4bda-9ba9-7187ecb1cebd", - "type": "microsoft.costmanagement/Query", - "properties": { - "nextLink": "https://management.azure.com/providers/Microsoft.Billing/billingAccounts/12345:6789/billingProfiles/13579/invoiceSections/9876/providers/Microsoft.CostManagement/Query?api-version=2019-10-01&$skiptoken=AQAAAA%3D%3D", - "columns": [ - { - "name": "PreTaxCost", - "type": "Number" - }, - { - "name": "ResourceGroup", - "type": "String" - }, - { - "name": "Currency", - "type": "String" - } - ], - "rows": [ - [ - 19.545363672276512, - "JapanUnifia-Trial", - "USD" - ], - [ - 173.41979241290323, - "RVIIOT-TRIAL", - "USD" - ], - [ - 20.359416562625452, - "VSTSHOL-1595322048000", - "USD" - ] - ] - } + "id": "providers/Microsoft.Billing/billingAccounts/12345:6789/billingProfiles/13579/invoiceSections/9876/providers/Microsoft.CostManagement/Query/ad67fd91-c131-4bda-9ba9-7187ecb1cebd", + "name": "ad67fd91-c131-4bda-9ba9-7187ecb1cebd", + "type": "microsoft.costmanagement/Query", + "properties": { + "nextLink": "https://management.azure.com/providers/Microsoft.Billing/billingAccounts/12345:6789/billingProfiles/13579/invoiceSections/9876/providers/Microsoft.CostManagement/Query?api-version=2019-10-01&$skiptoken=AQAAAA%3D%3D", + "columns": [ + { + "name": "PreTaxCost", + "type": "Number" + }, + { + "name": "ResourceGroup", + "type": "String" + }, + { + "name": "Currency", + "type": "String" + } + ], + "rows": [ + [ + 19.545363672276512, + "JapanUnifia-Trial", + "USD" + ], + [ + 173.41979241290323, + "RVIIOT-TRIAL", + "USD" + ], + [ + 20.359416562625452, + "VSTSHOL-1595322048000", + "USD" + ] + ] + } } } } diff --git a/specification/cost-management/resource-manager/Microsoft.CostManagement/stable/2019-10-01/examples/ManagementGroupQuery.json b/specification/cost-management/resource-manager/Microsoft.CostManagement/stable/2019-10-01/examples/ManagementGroupQuery.json index debdbdaf7942..8bb619cee8e3 100644 --- a/specification/cost-management/resource-manager/Microsoft.CostManagement/stable/2019-10-01/examples/ManagementGroupQuery.json +++ b/specification/cost-management/resource-manager/Microsoft.CostManagement/stable/2019-10-01/examples/ManagementGroupQuery.json @@ -51,56 +51,56 @@ "responses": { "200": { "body": { - "id": "providers/Microsoft.Management/managementGroups/MyMgId/providers/Microsoft.CostManagement/Query/ad67fd91-c131-4bda-9ba9-7187ecb1cebd", - "name": "ad67fd91-c131-4bda-9ba9-7187ecb1cebd", - "type": "microsoft.costmanagement/Query", - "properties": { - "nextLink": "https://management.azure.com/providers/Microsoft.Management/managementGroups/MyMgId/providers/Microsoft.CostManagement/Query?api-version=2019-10-01&$skiptoken=AQAAAA%3D%3D", - "columns": [ - { - "name": "PreTaxCost", - "type": "Number" - }, - { - "name": "ResourceGroup", - "type": "String" - }, - { - "name": "UsageDate", - "type": "Number" - }, - { - "name": "Currency", - "type": "String" - } - ], - "rows": [ - [ - 19.545363672276512, - "JapanUnifia-Trial", - 20180331, - "USD" - ], - [ - 173.41979241290323, - "RVIIOT-TRIAL", - 20180331, - "USD" - ], - [ - 20.359416562625452, - "VSTSHOL-1595322048000", - 20180331, - "USD" - ], - [ - 0.16677720329728665, - "gs-stms-dev", - 20180331, - "USD" - ] - ] - } + "id": "providers/Microsoft.Management/managementGroups/MyMgId/providers/Microsoft.CostManagement/Query/ad67fd91-c131-4bda-9ba9-7187ecb1cebd", + "name": "ad67fd91-c131-4bda-9ba9-7187ecb1cebd", + "type": "microsoft.costmanagement/Query", + "properties": { + "nextLink": "https://management.azure.com/providers/Microsoft.Management/managementGroups/MyMgId/providers/Microsoft.CostManagement/Query?api-version=2019-10-01&$skiptoken=AQAAAA%3D%3D", + "columns": [ + { + "name": "PreTaxCost", + "type": "Number" + }, + { + "name": "ResourceGroup", + "type": "String" + }, + { + "name": "UsageDate", + "type": "Number" + }, + { + "name": "Currency", + "type": "String" + } + ], + "rows": [ + [ + 19.545363672276512, + "JapanUnifia-Trial", + 20180331, + "USD" + ], + [ + 173.41979241290323, + "RVIIOT-TRIAL", + 20180331, + "USD" + ], + [ + 20.359416562625452, + "VSTSHOL-1595322048000", + 20180331, + "USD" + ], + [ + 0.16677720329728665, + "gs-stms-dev", + 20180331, + "USD" + ] + ] + } } } } diff --git a/specification/cost-management/resource-manager/Microsoft.CostManagement/stable/2019-10-01/examples/ManagementGroupQueryGrouping.json b/specification/cost-management/resource-manager/Microsoft.CostManagement/stable/2019-10-01/examples/ManagementGroupQueryGrouping.json index 93402f98f435..958f6e65481a 100644 --- a/specification/cost-management/resource-manager/Microsoft.CostManagement/stable/2019-10-01/examples/ManagementGroupQueryGrouping.json +++ b/specification/cost-management/resource-manager/Microsoft.CostManagement/stable/2019-10-01/examples/ManagementGroupQueryGrouping.json @@ -32,50 +32,50 @@ "responses": { "200": { "body": { - "id": "providers/Microsoft.Management/managementGroups/MyMgId/providers/Microsoft.CostManagement/Query/ad67fd91-c131-4bda-9ba9-7187ecb1cebd", - "name": "ad67fd91-c131-4bda-9ba9-7187ecb1cebd", - "type": "microsoft.costmanagement/Query", - "properties": { - "nextLink": "https://management.azure.com/providers/Microsoft.Management/managementGroups/MyMgId/providers/Microsoft.CostManagement/Query?api-version=2019-10-01&$skiptoken=AQAAAA%3D%3D", - "columns": [ - { - "name": "PreTaxCost", - "type": "Number" - }, - { - "name": "ResourceGroup", - "type": "String" - }, - { - "name": "UsageDate", - "type": "Number" - }, - { - "name": "Currency", - "type": "String" - } - ], - "rows": [ - [ - 20.359416562625452, - "VSTSHOL-1595322048000", - 20180331, - "USD" - ], - [ - 173.41979241290323, - "RVIIOT-TRIAL", - 20180331, - "USD" - ], - [ - 19.545363672276512, - "JapanUnifia-Trial", - 20180331, - "USD" - ] - ] - } + "id": "providers/Microsoft.Management/managementGroups/MyMgId/providers/Microsoft.CostManagement/Query/ad67fd91-c131-4bda-9ba9-7187ecb1cebd", + "name": "ad67fd91-c131-4bda-9ba9-7187ecb1cebd", + "type": "microsoft.costmanagement/Query", + "properties": { + "nextLink": "https://management.azure.com/providers/Microsoft.Management/managementGroups/MyMgId/providers/Microsoft.CostManagement/Query?api-version=2019-10-01&$skiptoken=AQAAAA%3D%3D", + "columns": [ + { + "name": "PreTaxCost", + "type": "Number" + }, + { + "name": "ResourceGroup", + "type": "String" + }, + { + "name": "UsageDate", + "type": "Number" + }, + { + "name": "Currency", + "type": "String" + } + ], + "rows": [ + [ + 20.359416562625452, + "VSTSHOL-1595322048000", + 20180331, + "USD" + ], + [ + 173.41979241290323, + "RVIIOT-TRIAL", + 20180331, + "USD" + ], + [ + 19.545363672276512, + "JapanUnifia-Trial", + 20180331, + "USD" + ] + ] + } } } } diff --git a/specification/cost-management/resource-manager/Microsoft.CostManagement/stable/2019-10-01/examples/ResourceGroupQuery.json b/specification/cost-management/resource-manager/Microsoft.CostManagement/stable/2019-10-01/examples/ResourceGroupQuery.json index af8a2d67d97f..052910483e76 100644 --- a/specification/cost-management/resource-manager/Microsoft.CostManagement/stable/2019-10-01/examples/ResourceGroupQuery.json +++ b/specification/cost-management/resource-manager/Microsoft.CostManagement/stable/2019-10-01/examples/ResourceGroupQuery.json @@ -52,44 +52,44 @@ "responses": { "200": { "body": { - "id": "subscriptions/55312978-ba1b-415c-9304-c4b9c43c0481/resourcegroups/ScreenSharingTest-peer/providers/Microsoft.CostManagement/Query/9af9459d-441d-4055-9ed0-83d4c4a363fb", - "name": "9af9459d-441d-4055-9ed0-83d4c4a363fb", - "type": "microsoft.costmanagement/Query", - "properties": { - "nextLink": null, - "columns": [ - { - "name": "PreTaxCost", - "type": "Number" - }, - { - "name": "ResourceGroup", - "type": "String" - }, - { - "name": "UsageDate", - "type": "Number" - }, - { - "name": "Currency", - "type": "String" - } - ], - "rows": [ - [ - 2.10333307059661, - "ScreenSharingTest-peer", - 20180417, - "USD" - ], - [ - 20.10333307059661, - "ScreenSharingTest-peer", - 20180418, - "USD" - ] - ] - } + "id": "subscriptions/55312978-ba1b-415c-9304-c4b9c43c0481/resourcegroups/ScreenSharingTest-peer/providers/Microsoft.CostManagement/Query/9af9459d-441d-4055-9ed0-83d4c4a363fb", + "name": "9af9459d-441d-4055-9ed0-83d4c4a363fb", + "type": "microsoft.costmanagement/Query", + "properties": { + "nextLink": null, + "columns": [ + { + "name": "PreTaxCost", + "type": "Number" + }, + { + "name": "ResourceGroup", + "type": "String" + }, + { + "name": "UsageDate", + "type": "Number" + }, + { + "name": "Currency", + "type": "String" + } + ], + "rows": [ + [ + 2.10333307059661, + "ScreenSharingTest-peer", + 20180417, + "USD" + ], + [ + 20.10333307059661, + "ScreenSharingTest-peer", + 20180418, + "USD" + ] + ] + } } } } diff --git a/specification/cost-management/resource-manager/Microsoft.CostManagement/stable/2019-10-01/examples/ResourceGroupQueryGrouping.json b/specification/cost-management/resource-manager/Microsoft.CostManagement/stable/2019-10-01/examples/ResourceGroupQueryGrouping.json index 999a8ff3f8ff..bf515793c726 100644 --- a/specification/cost-management/resource-manager/Microsoft.CostManagement/stable/2019-10-01/examples/ResourceGroupQueryGrouping.json +++ b/specification/cost-management/resource-manager/Microsoft.CostManagement/stable/2019-10-01/examples/ResourceGroupQueryGrouping.json @@ -33,44 +33,44 @@ "responses": { "200": { "body": { - "id": "subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/ScreenSharingTest-peer/providers/Microsoft.CostManagement/Query/9af9459d-441d-4055-9ed0-83d4c4a363fb", - "name": "9af9459d-441d-4055-9ed0-83d4c4a363fb", - "type": "microsoft.costmanagement/Query", - "properties": { - "nextLink": null, - "columns": [ - { - "name": "PreTaxCost", - "type": "Number" - }, - { - "name": "ResourceType", - "type": "String" - }, - { - "name": "UsageDate", - "type": "Number" - }, - { - "name": "Currency", - "type": "String" - } - ], - "rows": [ - [ - 2.10333307059661, - "Microsoft.SqlServer", - 20180417, - "USD" - ], - [ - 20.10333307059661, - "Microsoft.Compute", - 20180418, - "USD" - ] - ] - } + "id": "subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/ScreenSharingTest-peer/providers/Microsoft.CostManagement/Query/9af9459d-441d-4055-9ed0-83d4c4a363fb", + "name": "9af9459d-441d-4055-9ed0-83d4c4a363fb", + "type": "microsoft.costmanagement/Query", + "properties": { + "nextLink": null, + "columns": [ + { + "name": "PreTaxCost", + "type": "Number" + }, + { + "name": "ResourceType", + "type": "String" + }, + { + "name": "UsageDate", + "type": "Number" + }, + { + "name": "Currency", + "type": "String" + } + ], + "rows": [ + [ + 2.10333307059661, + "Microsoft.SqlServer", + 20180417, + "USD" + ], + [ + 20.10333307059661, + "Microsoft.Compute", + 20180418, + "USD" + ] + ] + } } } } diff --git a/specification/cost-management/resource-manager/Microsoft.CostManagement/stable/2019-10-01/examples/SubscriptionQuery.json b/specification/cost-management/resource-manager/Microsoft.CostManagement/stable/2019-10-01/examples/SubscriptionQuery.json index 19e69ad58978..cdd160f87e20 100644 --- a/specification/cost-management/resource-manager/Microsoft.CostManagement/stable/2019-10-01/examples/SubscriptionQuery.json +++ b/specification/cost-management/resource-manager/Microsoft.CostManagement/stable/2019-10-01/examples/SubscriptionQuery.json @@ -57,56 +57,56 @@ "responses": { "200": { "body": { - "id": "subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.CostManagement/Query/00000000-0000-0000-0000-000000000000", - "name": "55312978-ba1b-415c-9304-cfd9c43c0481", - "type": "microsoft.costmanagement/Query", - "properties": { - "nextLink": null, - "columns": [ - { - "name": "PreTaxCost", - "type": "Number" - }, - { - "name": "ResourceGroup", - "type": "String" - }, - { - "name": "UsageDate", - "type": "Number" - }, - { - "name": "Currency", - "type": "String" - } - ], - "rows": [ - [ - 2.10333307059661, - "ScreenSharingTest-peer", - 20180331, - "USD" - ], - [ - 218.68795741935486, - "Ict_StratAndPlan_GoldSprova_Prod", - 20180331, - "USD" - ], - [ - 0.14384913581657052, - "ssbciotelement01", - 20180401, - "USD" - ], - [ - 0.009865586851323632, - "ict_stratandplan_goldsprova_prod", - 20180429, - "USD" - ] - ] - } + "id": "subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.CostManagement/Query/00000000-0000-0000-0000-000000000000", + "name": "55312978-ba1b-415c-9304-cfd9c43c0481", + "type": "microsoft.costmanagement/Query", + "properties": { + "nextLink": null, + "columns": [ + { + "name": "PreTaxCost", + "type": "Number" + }, + { + "name": "ResourceGroup", + "type": "String" + }, + { + "name": "UsageDate", + "type": "Number" + }, + { + "name": "Currency", + "type": "String" + } + ], + "rows": [ + [ + 2.10333307059661, + "ScreenSharingTest-peer", + 20180331, + "USD" + ], + [ + 218.68795741935486, + "Ict_StratAndPlan_GoldSprova_Prod", + 20180331, + "USD" + ], + [ + 0.14384913581657052, + "ssbciotelement01", + 20180401, + "USD" + ], + [ + 0.009865586851323632, + "ict_stratandplan_goldsprova_prod", + 20180429, + "USD" + ] + ] + } } } } diff --git a/specification/cost-management/resource-manager/Microsoft.CostManagement/stable/2019-10-01/examples/SubscriptionQueryGrouping.json b/specification/cost-management/resource-manager/Microsoft.CostManagement/stable/2019-10-01/examples/SubscriptionQueryGrouping.json index ff8d76c8d233..48b607773991 100644 --- a/specification/cost-management/resource-manager/Microsoft.CostManagement/stable/2019-10-01/examples/SubscriptionQueryGrouping.json +++ b/specification/cost-management/resource-manager/Microsoft.CostManagement/stable/2019-10-01/examples/SubscriptionQueryGrouping.json @@ -31,48 +31,48 @@ "responses": { "200": { "body": { - "id": "subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.CostManagement/Query/00000000-0000-0000-0000-000000000000", - "name": "55312978-ba1b-415c-9304-cfd9c43c0481", - "type": "microsoft.costmanagement/Query", - "properties": { - "nextLink": null, - "columns": [ - { - "name": "PreTaxCost", - "type": "Number" - }, - { - "name": "ResourceGroup", - "type": "String" - }, - { - "name": "Currency", - "type": "String" - } - ], - "rows": [ - [ - 0.009865586851323632, - "Ict_StratAndPlan_GoldSprova_Prod_0", - "USD" - ], - [ - 218.68795741935486, - "Ict_StratAndPlan_GoldSprova_Prod_1", - "USD" - ], - [ - 2.10333307059661, - "ScreenSharingTest-peer1", - "USD" - ], - [ - 0.14384913581657052, - "Ssbciotelement01", - "USD" - ] - ] - } + "id": "subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.CostManagement/Query/00000000-0000-0000-0000-000000000000", + "name": "55312978-ba1b-415c-9304-cfd9c43c0481", + "type": "microsoft.costmanagement/Query", + "properties": { + "nextLink": null, + "columns": [ + { + "name": "PreTaxCost", + "type": "Number" + }, + { + "name": "ResourceGroup", + "type": "String" + }, + { + "name": "Currency", + "type": "String" + } + ], + "rows": [ + [ + 0.009865586851323632, + "Ict_StratAndPlan_GoldSprova_Prod_0", + "USD" + ], + [ + 218.68795741935486, + "Ict_StratAndPlan_GoldSprova_Prod_1", + "USD" + ], + [ + 2.10333307059661, + "ScreenSharingTest-peer1", + "USD" + ], + [ + 0.14384913581657052, + "Ssbciotelement01", + "USD" + ] + ] + } } } } 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 24b22825f4ca..ee3f05f5b736 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 @@ -632,7 +632,7 @@ "endpoint": { "type": "string", "description": "The route definition endpoint URI that the custom resource provider will proxy requests to. This can be in the form of a flat URI (e.g. 'https://testendpoint/') or can specify to route via a path (e.g. 'https://testendpoint/{requestPath}')", - "pattern": "^https:\/\/.+" + "pattern": "^https://.+" } } }, @@ -699,7 +699,7 @@ "specification": { "type": "string", "description": "A link to the validation specification. The specification must be hosted on raw.githubusercontent.com.", - "pattern": "^https:\/\/raw.githubusercontent.com\/.+" + "pattern": "^https://raw.githubusercontent.com/.+" } } }, 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 ef2eb3b00daa..8ed796fbc17a 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 @@ -5821,4 +5821,4 @@ } ], "tags": [] -} \ 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 7d5624e94759..0cd33cd8ba76 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 @@ -66,4 +66,4 @@ } } } -} \ 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 042b82b80e9e..bd9a4b256169 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 @@ -32,4 +32,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 bafa2b3b3773..4fbda6edc6b8 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 @@ -49,4 +49,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/datashare/resource-manager/Microsoft.DataShare/preview/2018-11-01-preview/examples/DataSetMappings_SqlDB_Create.json b/specification/datashare/resource-manager/Microsoft.DataShare/preview/2018-11-01-preview/examples/DataSetMappings_SqlDB_Create.json index 43eaa8fa5c7e..fae5b953c5c6 100644 --- a/specification/datashare/resource-manager/Microsoft.DataShare/preview/2018-11-01-preview/examples/DataSetMappings_SqlDB_Create.json +++ b/specification/datashare/resource-manager/Microsoft.DataShare/preview/2018-11-01-preview/examples/DataSetMappings_SqlDB_Create.json @@ -10,7 +10,7 @@ "kind": "SqlDBTable", "properties": { "dataSetId": "a08f184b-0567-4b11-ba22-a1199336d226", - "sqlServerResourceId": "/subscriptions/433a8dfd-e5d5-4e77-ad86-90acdc75eb1a/resourceGroups/SampleResourceGroup/providers/Microsoft.Sql/servers/Server1", + "sqlServerResourceId": "/subscriptions/433a8dfd-e5d5-4e77-ad86-90acdc75eb1a/resourceGroups/SampleResourceGroup/providers/Microsoft.Sql/servers/Server1", "databaseName": "Database1", "tableName": "Table1" } @@ -29,7 +29,7 @@ "kind": "SqlDBTable", "properties": { "dataSetId": "a08f184b-0567-4b11-ba22-a1199336d226", - "sqlServerResourceId": "/subscriptions/433a8dfd-e5d5-4e77-ad86-90acdc75eb1a/resourceGroups/SampleResourceGroup/providers/Microsoft.Sql/servers/Server1", + "sqlServerResourceId": "/subscriptions/433a8dfd-e5d5-4e77-ad86-90acdc75eb1a/resourceGroups/SampleResourceGroup/providers/Microsoft.Sql/servers/Server1", "databaseName": "Database1", "tableName": "Table1" }, @@ -50,7 +50,7 @@ "kind": "SqlDBTable", "properties": { "dataSetId": "a08f184b-0567-4b11-ba22-a1199336d226", - "sqlServerResourceId": "/subscriptions/433a8dfd-e5d5-4e77-ad86-90acdc75eb1a/resourceGroups/SampleResourceGroup/providers/Microsoft.Sql/servers/Server1", + "sqlServerResourceId": "/subscriptions/433a8dfd-e5d5-4e77-ad86-90acdc75eb1a/resourceGroups/SampleResourceGroup/providers/Microsoft.Sql/servers/Server1", "databaseName": "Database1", "tableName": "Table1" }, @@ -60,4 +60,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/datashare/resource-manager/Microsoft.DataShare/preview/2018-11-01-preview/examples/DataSetMappings_SqlDWDataSetToAdlsGen2File_Create.json b/specification/datashare/resource-manager/Microsoft.DataShare/preview/2018-11-01-preview/examples/DataSetMappings_SqlDWDataSetToAdlsGen2File_Create.json index d51bdd02a23a..10c2a7fc5d7e 100644 --- a/specification/datashare/resource-manager/Microsoft.DataShare/preview/2018-11-01-preview/examples/DataSetMappings_SqlDWDataSetToAdlsGen2File_Create.json +++ b/specification/datashare/resource-manager/Microsoft.DataShare/preview/2018-11-01-preview/examples/DataSetMappings_SqlDWDataSetToAdlsGen2File_Create.json @@ -69,4 +69,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/datashare/resource-manager/Microsoft.DataShare/preview/2018-11-01-preview/examples/DataSetMappings_SqlDW_Create.json b/specification/datashare/resource-manager/Microsoft.DataShare/preview/2018-11-01-preview/examples/DataSetMappings_SqlDW_Create.json index d7461ffdffee..9a5c1a48b5cf 100644 --- a/specification/datashare/resource-manager/Microsoft.DataShare/preview/2018-11-01-preview/examples/DataSetMappings_SqlDW_Create.json +++ b/specification/datashare/resource-manager/Microsoft.DataShare/preview/2018-11-01-preview/examples/DataSetMappings_SqlDW_Create.json @@ -10,7 +10,7 @@ "kind": "SqlDWTable", "properties": { "dataSetId": "a08f184b-0567-4b11-ba22-a1199336d226", - "sqlServerResourceId": "/subscriptions/433a8dfd-e5d5-4e77-ad86-90acdc75eb1a/resourceGroups/SampleResourceGroup/providers/Microsoft.Sql/servers/Server1", + "sqlServerResourceId": "/subscriptions/433a8dfd-e5d5-4e77-ad86-90acdc75eb1a/resourceGroups/SampleResourceGroup/providers/Microsoft.Sql/servers/Server1", "dataWarehouseName": "DataWarehouse1", "tableName": "Table1" } @@ -29,7 +29,7 @@ "kind": "SqlDWTable", "properties": { "dataSetId": "a08f184b-0567-4b11-ba22-a1199336d226", - "sqlServerResourceId": "/subscriptions/433a8dfd-e5d5-4e77-ad86-90acdc75eb1a/resourceGroups/SampleResourceGroup/providers/Microsoft.Sql/servers/Server1", + "sqlServerResourceId": "/subscriptions/433a8dfd-e5d5-4e77-ad86-90acdc75eb1a/resourceGroups/SampleResourceGroup/providers/Microsoft.Sql/servers/Server1", "dataWarehouseName": "DataWarehouse1", "tableName": "Table1" }, @@ -50,7 +50,7 @@ "kind": "SqlDWTable", "properties": { "dataSetId": "a08f184b-0567-4b11-ba22-a1199336d226", - "sqlServerResourceId": "/subscriptions/433a8dfd-e5d5-4e77-ad86-90acdc75eb1a/resourceGroups/SampleResourceGroup/providers/Microsoft.Sql/servers/Server1", + "sqlServerResourceId": "/subscriptions/433a8dfd-e5d5-4e77-ad86-90acdc75eb1a/resourceGroups/SampleResourceGroup/providers/Microsoft.Sql/servers/Server1", "dataWarehouseName": "DataWarehouse1", "tableName": "Table1" }, @@ -60,4 +60,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_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/DataSets_SqlDBTable_Create.json b/specification/datashare/resource-manager/Microsoft.DataShare/preview/2018-11-01-preview/examples/DataSets_SqlDBTable_Create.json index dfae36d27bc8..a01248d5ae12 100644 --- a/specification/datashare/resource-manager/Microsoft.DataShare/preview/2018-11-01-preview/examples/DataSets_SqlDBTable_Create.json +++ b/specification/datashare/resource-manager/Microsoft.DataShare/preview/2018-11-01-preview/examples/DataSets_SqlDBTable_Create.json @@ -59,4 +59,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/datashare/resource-manager/Microsoft.DataShare/preview/2018-11-01-preview/examples/DataSets_SqlDWTable_Create.json b/specification/datashare/resource-manager/Microsoft.DataShare/preview/2018-11-01-preview/examples/DataSets_SqlDWTable_Create.json index 2758b144c390..3560759e22f7 100644 --- a/specification/datashare/resource-manager/Microsoft.DataShare/preview/2018-11-01-preview/examples/DataSets_SqlDWTable_Create.json +++ b/specification/datashare/resource-manager/Microsoft.DataShare/preview/2018-11-01-preview/examples/DataSets_SqlDWTable_Create.json @@ -9,7 +9,7 @@ "dataSet": { "kind": "SqlDWTable", "properties": { - "sqlServerResourceId": "/subscriptions/433a8dfd-e5d5-4e77-ad86-90acdc75eb1a/resourceGroups/SampleResourceGroup/providers/Microsoft.Sql/servers/Server1", + "sqlServerResourceId": "/subscriptions/433a8dfd-e5d5-4e77-ad86-90acdc75eb1a/resourceGroups/SampleResourceGroup/providers/Microsoft.Sql/servers/Server1", "dataWarehouseName": "DataWarehouse1", "tableName": "Table1" } @@ -28,7 +28,7 @@ "kind": "SqlDWTable", "properties": { "dataSetId": "a08f184b-0567-4b11-ba22-a1199336d226", - "sqlServerResourceId": "/subscriptions/433a8dfd-e5d5-4e77-ad86-90acdc75eb1a/resourceGroups/SampleResourceGroup/providers/Microsoft.Sql/servers/Server1", + "sqlServerResourceId": "/subscriptions/433a8dfd-e5d5-4e77-ad86-90acdc75eb1a/resourceGroups/SampleResourceGroup/providers/Microsoft.Sql/servers/Server1", "dataWarehouseName": "DataWarehouse1", "tableName": "Table1" }, @@ -49,7 +49,7 @@ "kind": "SqlDWTable", "properties": { "dataSetId": "a08f184b-0567-4b11-ba22-a1199336d226", - "sqlServerResourceId": "/subscriptions/433a8dfd-e5d5-4e77-ad86-90acdc75eb1a/resourceGroups/SampleResourceGroup/providers/Microsoft.Sql/servers/Server1", + "sqlServerResourceId": "/subscriptions/433a8dfd-e5d5-4e77-ad86-90acdc75eb1a/resourceGroups/SampleResourceGroup/providers/Microsoft.Sql/servers/Server1", "dataWarehouseName": "DataWarehouse1", "tableName": "Table1" }, @@ -59,4 +59,4 @@ } } } -} \ 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/eventgrid/data-plane/Microsoft.Storage/stable/2018-01-01/Storage.json b/specification/eventgrid/data-plane/Microsoft.Storage/stable/2018-01-01/Storage.json index ee1aea01e036..a7cde63a4d63 100644 --- a/specification/eventgrid/data-plane/Microsoft.Storage/stable/2018-01-01/Storage.json +++ b/specification/eventgrid/data-plane/Microsoft.Storage/stable/2018-01-01/Storage.json @@ -258,4 +258,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2020-01-01-preview/EventGrid.json b/specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2020-01-01-preview/EventGrid.json index 02091d0b8ef0..0698ebb4fe5b 100644 --- a/specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2020-01-01-preview/EventGrid.json +++ b/specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2020-01-01-preview/EventGrid.json @@ -3208,26 +3208,26 @@ "description": "The properties that represent the Service Bus Topic destination of an event subscription.", "type": "object", "properties": { - "resourceId": { - "description": "The Azure Resource Id that represents the endpoint of the Service Bus Topic destination of an event subscription.", - "type": "string" - } - } + "resourceId": { + "description": "The Azure Resource Id that represents the endpoint of the Service Bus Topic destination of an event subscription.", + "type": "string" + } + } }, "ServiceBusTopicEventSubscriptionDestination": { "description": "Information about the service bus topic destination for an event subscription.", "type": "object", "allOf": [ - { - "$ref": "#/definitions/EventSubscriptionDestination" - } + { + "$ref": "#/definitions/EventSubscriptionDestination" + } ], "properties": { - "properties": { - "$ref": "#/definitions/ServiceBusTopicEventSubscriptionDestinationProperties", - "description": "Service Bus Topic Properties of the event subscription destination.", - "x-ms-client-flatten": true - } + "properties": { + "$ref": "#/definitions/ServiceBusTopicEventSubscriptionDestinationProperties", + "description": "Service Bus Topic Properties of the event subscription destination.", + "x-ms-client-flatten": true + } }, "x-ms-discriminator-value": "ServiceBusTopic" }, @@ -3235,36 +3235,36 @@ "description": "The properties that represent the Azure Function destination of an event subscription.", "type": "object", "properties": { - "resourceId": { - "description": "The Azure Resource Id that represents the endpoint of the Azure Function destination of an event subscription.", - "type": "string" - }, - "maxEventsPerBatch": { - "format": "int32", - "description": "Maximum number of events per batch.", - "type": "integer" - }, - "preferredBatchSizeInKilobytes": { - "format": "int32", - "description": "Preferred batch size in Kilobytes.", - "type": "integer" - } + "resourceId": { + "description": "The Azure Resource Id that represents the endpoint of the Azure Function destination of an event subscription.", + "type": "string" + }, + "maxEventsPerBatch": { + "format": "int32", + "description": "Maximum number of events per batch.", + "type": "integer" + }, + "preferredBatchSizeInKilobytes": { + "format": "int32", + "description": "Preferred batch size in Kilobytes.", + "type": "integer" + } } }, "AzureFunctionEventSubscriptionDestination": { "description": "Information about the azure function destination for an event subscription.", "type": "object", "allOf": [ - { - "$ref": "#/definitions/EventSubscriptionDestination" - } + { + "$ref": "#/definitions/EventSubscriptionDestination" + } ], "properties": { - "properties": { - "$ref": "#/definitions/AzureFunctionEventSubscriptionDestinationProperties", - "description": "Azure Function Properties of the event subscription destination.", - "x-ms-client-flatten": true - } + "properties": { + "$ref": "#/definitions/AzureFunctionEventSubscriptionDestinationProperties", + "description": "Azure Function Properties of the event subscription destination.", + "x-ms-client-flatten": true + } }, "x-ms-discriminator-value": "AzureFunction" }, diff --git a/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2019-03-18/HybridCompute.json b/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2019-03-18/HybridCompute.json index 7243fe2f0b19..7c4442599652 100644 --- a/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2019-03-18/HybridCompute.json +++ b/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2019-03-18/HybridCompute.json @@ -786,4 +786,4 @@ "description": "Client Api Version." } } -} \ No newline at end of file +} diff --git a/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2019-08-02/HybridCompute.json b/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2019-08-02/HybridCompute.json index 42cdd6fec784..2d0be54a64f8 100644 --- a/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2019-08-02/HybridCompute.json +++ b/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2019-08-02/HybridCompute.json @@ -1,1270 +1,1269 @@ { - "swagger":"2.0", - "info":{ - "title":"HybridComputeManagementClient", - "description":"The Hybrid Compute Management Client.", - "version":"2019-08-02-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": "HybridComputeManagementClient", + "description": "The Hybrid Compute Management Client.", + "version": "2019-08-02-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.HybridCompute/machines/{name}": { + "put": { + "tags": [ + "machines" + ], + "operationId": "Machines_CreateOrUpdate", + "description": "The operation to create or update a hybrid machine resource identity in Azure.", + "parameters": [ + { + "$ref": "#/parameters/ApiVersionParameter" + }, + { + "$ref": "#/parameters/SubscriptionIdParameter" + }, + { + "name": "resourceGroupName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the resource group." + }, + { + "name": "name", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the hybrid machine." + }, + { + "name": "parameters", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/Machine" + }, + "description": "Parameters supplied to the Create hybrid machine operation." + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/Machine" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Create or Update a Machine": { + "$ref": "./examples/Machines_CreateOrUpdate.json" + } + } + }, + "patch": { + "tags": [ + "machines" + ], + "operationId": "Machines_Update", + "description": "The operation to update a hybrid machine.", + "parameters": [ + { + "$ref": "#/parameters/ApiVersionParameter" + }, + { + "$ref": "#/parameters/SubscriptionIdParameter" + }, + { + "name": "resourceGroupName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the resource group." + }, + { + "name": "name", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the hybrid machine." + }, + { + "name": "parameters", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/MachineUpdate" + }, + "description": "Parameters supplied to the Update hybrid machine operation." + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/Machine" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Update a Machine": { + "$ref": "./examples/Machines_Update.json" + } + } + }, + "delete": { + "tags": [ + "machines" + ], + "operationId": "Machines_Delete", + "description": "The operation to remove a hybrid machine identity in Azure.", + "parameters": [ + { + "$ref": "#/parameters/ApiVersionParameter" + }, + { + "$ref": "#/parameters/SubscriptionIdParameter" + }, + { + "name": "resourceGroupName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the resource group." + }, + { + "name": "name", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the hybrid machine." + } + ], + "responses": { + "200": { + "description": "OK" + }, + "204": { + "description": "No Content" + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Delete a Machine": { + "$ref": "./examples/Machines_Delete.json" + } + } + }, + "get": { + "tags": [ + "machines" + ], + "operationId": "Machines_Get", + "description": "Retrieves information about the model view or the instance view of a hybrid machine.", + "parameters": [ + { + "$ref": "#/parameters/ApiVersionParameter" + }, + { + "$ref": "#/parameters/SubscriptionIdParameter" + }, + { + "name": "resourceGroupName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the resource group." + }, + { + "name": "name", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the hybrid 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 + } + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/Machine" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Get Machine": { + "$ref": "./examples/Machines_Get.json" } - } + } + } }, - "paths":{ - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HybridCompute/machines/{name}":{ - "put":{ - "tags":[ - "machines" - ], - "operationId":"Machines_CreateOrUpdate", - "description":"The operation to create or update a hybrid machine resource identity in Azure.", - "parameters":[ - { - "$ref":"#/parameters/ApiVersionParameter" - }, - { - "$ref":"#/parameters/SubscriptionIdParameter" - }, - { - "name":"resourceGroupName", - "in":"path", - "required":true, - "type":"string", - "description":"The name of the resource group." - }, - { - "name":"name", - "in":"path", - "required":true, - "type":"string", - "description":"The name of the hybrid machine." - }, - { - "name":"parameters", - "in":"body", - "required":true, - "schema":{ - "$ref":"#/definitions/Machine" - }, - "description":"Parameters supplied to the Create hybrid machine operation." - } - ], - "responses":{ - "200":{ - "description":"OK", - "schema":{ - "$ref":"#/definitions/Machine" - } - }, - "default":{ - "description":"Error response describing why the operation failed.", - "schema":{ - "$ref":"#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "Create or Update a Machine": { - "$ref": "./examples/Machines_CreateOrUpdate.json" - } + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HybridCompute/machines/{name}/reconnect": { + "post": { + "tags": [ + "machines" + ], + "operationId": "Machines_Reconnect", + "description": "The operation to reconnect a hybrid machine resource to its identity in Azure.", + "parameters": [ + { + "$ref": "#/parameters/ApiVersionParameter" + }, + { + "$ref": "#/parameters/SubscriptionIdParameter" + }, + { + "name": "resourceGroupName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the resource group." + }, + { + "name": "name", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the hybrid machine." + }, + { + "name": "parameters", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/MachineReconnect" + }, + "description": "Parameters supplied to the Reconnect hybrid machine operation." + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/Machine" } }, - "patch":{ - "tags":[ - "machines" - ], - "operationId":"Machines_Update", - "description":"The operation to update a hybrid machine.", - "parameters":[ - { - "$ref":"#/parameters/ApiVersionParameter" - }, - { - "$ref":"#/parameters/SubscriptionIdParameter" - }, - { - "name":"resourceGroupName", - "in":"path", - "required":true, - "type":"string", - "description":"The name of the resource group." - }, - { - "name":"name", - "in":"path", - "required":true, - "type":"string", - "description":"The name of the hybrid machine." - }, - { - "name":"parameters", - "in":"body", - "required":true, - "schema":{ - "$ref":"#/definitions/MachineUpdate" - }, - "description":"Parameters supplied to the Update hybrid machine operation." - } - ], - "responses":{ - "200":{ - "description":"OK", - "schema":{ - "$ref":"#/definitions/Machine" - } - }, - "default":{ - "description":"Error response describing why the operation failed.", - "schema":{ - "$ref":"#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "Update a Machine": { - "$ref": "./examples/Machines_Update.json" - } + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/ErrorResponse" } + } + }, + "x-ms-examples": { + "Reconnect a Machine": { + "$ref": "./examples/Machines_Reconnect.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HybridCompute/machines": { + "get": { + "tags": [ + "machines" + ], + "operationId": "Machines_ListByResourceGroup", + "description": "Lists all the hybrid machines in the specified resource group. Use the nextLink property in the response to get the next page of hybrid machines.", + "parameters": [ + { + "$ref": "#/parameters/ApiVersionParameter" }, - "delete":{ - "tags":[ - "machines" - ], - "operationId":"Machines_Delete", - "description":"The operation to remove a hybrid machine identity in Azure.", - "parameters":[ - { - "$ref":"#/parameters/ApiVersionParameter" - }, - { - "$ref":"#/parameters/SubscriptionIdParameter" - }, - { - "name":"resourceGroupName", - "in":"path", - "required":true, - "type":"string", - "description":"The name of the resource group." - }, - { - "name":"name", - "in":"path", - "required":true, - "type":"string", - "description":"The name of the hybrid machine." - } - ], - "responses":{ - "200":{ - "description":"OK" - }, - "204":{ - "description":"No Content" - }, - "default":{ - "description":"Error response describing why the operation failed.", - "schema":{ - "$ref":"#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "Delete a Machine": { - "$ref": "./examples/Machines_Delete.json" - } + { + "$ref": "#/parameters/SubscriptionIdParameter" + }, + { + "name": "resourceGroupName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the resource group." + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/MachineListResult" } }, - "get":{ - "tags":[ - "machines" - ], - "operationId":"Machines_Get", - "description":"Retrieves information about the model view or the instance view of a hybrid machine.", - "parameters":[ - { - "$ref":"#/parameters/ApiVersionParameter" - }, - { - "$ref":"#/parameters/SubscriptionIdParameter" - }, - { - "name":"resourceGroupName", - "in":"path", - "required":true, - "type":"string", - "description":"The name of the resource group." - }, - { - "name":"name", - "in":"path", - "required":true, - "type":"string", - "description":"The name of the hybrid 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 - } - } - ], - "responses":{ - "200":{ - "description":"OK", - "schema":{ - "$ref":"#/definitions/Machine" - } - }, - "default":{ - "description":"Error response describing why the operation failed.", - "schema":{ - "$ref":"#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "Get Machine": { - "$ref": "./examples/Machines_Get.json" - } + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/ErrorResponse" } } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HybridCompute/machines/{name}/reconnect":{ - "post":{ - "tags":[ - "machines" - ], - "operationId":"Machines_Reconnect", - "description":"The operation to reconnect a hybrid machine resource to its identity in Azure.", - "parameters":[ - { - "$ref":"#/parameters/ApiVersionParameter" - }, - { - "$ref":"#/parameters/SubscriptionIdParameter" - }, - { - "name":"resourceGroupName", - "in":"path", - "required":true, - "type":"string", - "description":"The name of the resource group." - }, - { - "name":"name", - "in":"path", - "required":true, - "type":"string", - "description":"The name of the hybrid machine." - }, - { - "name":"parameters", - "in":"body", - "required":true, - "schema":{ - "$ref":"#/definitions/MachineReconnect" - }, - "description":"Parameters supplied to the Reconnect hybrid machine operation." - } - ], - "responses":{ - "200":{ - "description":"OK", - "schema":{ - "$ref":"#/definitions/Machine" - } - }, - "default":{ - "description":"Error response describing why the operation failed.", - "schema":{ - "$ref":"#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "Reconnect a Machine": { - "$ref": "./examples/Machines_Reconnect.json" - } + }, + "x-ms-examples": { + "List Machines by resource group": { + "$ref": "./examples/Machines_ListByResourceGroup.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/providers/Microsoft.HybridCompute/machines": { + "get": { + "tags": [ + "machines" + ], + "operationId": "Machines_ListBySubscription", + "description": "Lists all the hybrid machines in the specified subscription. Use the nextLink property in the response to get the next page of hybrid machines.", + "parameters": [ + { + "$ref": "#/parameters/ApiVersionParameter" + }, + { + "$ref": "#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/MachineListResult" } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "List Machines by resource group": { + "$ref": "./examples/Machines_ListBySubscription.json" } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HybridCompute/machines":{ - "get":{ - "tags":[ - "machines" - ], - "operationId":"Machines_ListByResourceGroup", - "description":"Lists all the hybrid machines in the specified resource group. Use the nextLink property in the response to get the next page of hybrid machines.", - "parameters":[ - { - "$ref":"#/parameters/ApiVersionParameter" - }, - { - "$ref":"#/parameters/SubscriptionIdParameter" - }, - { - "name":"resourceGroupName", - "in":"path", - "required":true, - "type":"string", - "description":"The name of the resource group." - } - ], - "responses":{ - "200":{ - "description":"OK", - "schema":{ - "$ref":"#/definitions/MachineListResult" - } - }, - "default":{ - "description":"Error response describing why the operation failed.", - "schema":{ - "$ref":"#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "List Machines by resource group": { - "$ref": "./examples/Machines_ListByResourceGroup.json" - } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HybridCompute/machines/{name}/extensions/{extensionName}": { + "put": { + "tags": [ + "MachineExtensions" + ], + "operationId": "MachineExtensions_CreateOrUpdate", + "description": "The operation to create or update the extension.", + "parameters": [ + { + "name": "resourceGroupName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the resource group." + }, + { + "name": "name", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the machine where the extension should be created or updated." + }, + { + "name": "extensionName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the machine extension." + }, + { + "name": "extensionParameters", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/MachineExtension" }, - "x-ms-pageable":{ - "nextLinkName":"nextLink" - } + "description": "Parameters supplied to the Create Machine Extension operation." + }, + { + "$ref": "#/parameters/ApiVersionParameter" + }, + { + "$ref": "#/parameters/SubscriptionIdParameter" } - }, - "/subscriptions/{subscriptionId}/providers/Microsoft.HybridCompute/machines":{ - "get":{ - "tags":[ - "machines" - ], - "operationId":"Machines_ListBySubscription", - "description":"Lists all the hybrid machines in the specified subscription. Use the nextLink property in the response to get the next page of hybrid machines.", - "parameters":[ - { - "$ref":"#/parameters/ApiVersionParameter" - }, - { - "$ref":"#/parameters/SubscriptionIdParameter" - } - ], - "responses":{ - "200":{ - "description":"OK", - "schema":{ - "$ref":"#/definitions/MachineListResult" - } - }, - "default":{ - "description":"Error response describing why the operation failed.", - "schema":{ - "$ref":"#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "List Machines by resource group": { - "$ref": "./examples/Machines_ListBySubscription.json" - } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/MachineExtension" + } + }, + "202": { + "description": "HTTP 202 (Accepted) if the operation was successfully started and will complete asynchronously." + } + }, + "x-ms-examples": { + "Create or Update a Machine Extension": { + "$ref": "./examples/PUTExtension.json" + } + }, + "x-ms-long-running-operation": true + }, + "patch": { + "tags": [ + "MachineExtensions" + ], + "operationId": "MachineExtensions_Update", + "description": "The operation to create or update the extension.", + "parameters": [ + { + "name": "resourceGroupName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the resource group." + }, + { + "name": "name", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the machine where the extension should be created or updated." + }, + { + "name": "extensionName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the machine extension." + }, + { + "name": "extensionParameters", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/MachineExtensionUpdate" }, - "x-ms-pageable":{ - "nextLinkName":"nextLink" - } + "description": "Parameters supplied to the Create Machine Extension operation." + }, + { + "$ref": "#/parameters/ApiVersionParameter" + }, + { + "$ref": "#/parameters/SubscriptionIdParameter" } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HybridCompute/machines/{name}/extensions/{extensionName}":{ - "put":{ - "tags":[ - "MachineExtensions" - ], - "operationId":"MachineExtensions_CreateOrUpdate", - "description":"The operation to create or update the extension.", - "parameters":[ - { - "name":"resourceGroupName", - "in":"path", - "required":true, - "type":"string", - "description":"The name of the resource group." - }, - { - "name":"name", - "in":"path", - "required":true, - "type":"string", - "description":"The name of the machine where the extension should be created or updated." - }, - { - "name":"extensionName", - "in":"path", - "required":true, - "type":"string", - "description":"The name of the machine extension." - }, - { - "name":"extensionParameters", - "in":"body", - "required":true, - "schema":{ - "$ref":"#/definitions/MachineExtension" - }, - "description":"Parameters supplied to the Create Machine Extension operation." - }, - { - "$ref":"#/parameters/ApiVersionParameter" - }, - { - "$ref":"#/parameters/SubscriptionIdParameter" - } - ], - "responses":{ - "200":{ - "description":"OK", - "schema":{ - "$ref":"#/definitions/MachineExtension" - } - }, - "202":{ - "description":"HTTP 202 (Accepted) if the operation was successfully started and will complete asynchronously." - } - }, - "x-ms-examples": { - "Create or Update a Machine Extension": { - "$ref": "./examples/PUTExtension.json" - } - }, - "x-ms-long-running-operation":true - }, - "patch":{ - "tags":[ - "MachineExtensions" - ], - "operationId":"MachineExtensions_Update", - "description":"The operation to create or update the extension.", - "parameters":[ - { - "name":"resourceGroupName", - "in":"path", - "required":true, - "type":"string", - "description":"The name of the resource group." - }, - { - "name":"name", - "in":"path", - "required":true, - "type":"string", - "description":"The name of the machine where the extension should be created or updated." - }, - { - "name":"extensionName", - "in":"path", - "required":true, - "type":"string", - "description":"The name of the machine extension." - }, - { - "name":"extensionParameters", - "in":"body", - "required":true, - "schema":{ - "$ref":"#/definitions/MachineExtensionUpdate" - }, - "description":"Parameters supplied to the Create Machine Extension operation." - }, - { - "$ref":"#/parameters/ApiVersionParameter" - }, - { - "$ref":"#/parameters/SubscriptionIdParameter" - } - ], - "responses":{ - "200":{ - "description":"OK", - "schema":{ - "$ref":"#/definitions/MachineExtension" - } - }, - "202":{ - "description":"Accepted" - } - }, - "x-ms-examples": { - "Create or Update a Machine Extension": { - "$ref": "./examples/UpdateExtension.json" - } - }, - "x-ms-long-running-operation":true - }, - "delete":{ - "tags":[ - "MachineExtensions" - ], - "operationId":"MachineExtensions_Delete", - "description":"The operation to delete the extension.", - "parameters":[ - { - "name":"resourceGroupName", - "in":"path", - "required":true, - "type":"string", - "description":"The name of the resource group." - }, - { - "name":"name", - "in":"path", - "required":true, - "type":"string", - "description":"The name of the machine where the extension should be deleted." - }, - { - "name":"extensionName", - "in":"path", - "required":true, - "type":"string", - "description":"The name of the machine extension." - }, - { - "$ref":"#/parameters/ApiVersionParameter" - }, - { - "$ref":"#/parameters/SubscriptionIdParameter" - } - ], - "responses":{ - "200":{ - "description":"OK" - }, - "202":{ - "description":"Accepted" - }, - "204":{ - "description":"No Content" - } - }, - "x-ms-long-running-operation":true, - "x-ms-examples":{ + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/MachineExtension" } }, - "get":{ - "tags":[ - "MachineExtensions" - ], - "operationId":"MachineExtensions_Get", - "description":"The operation to get the extension.", - "parameters":[ - { - "name":"resourceGroupName", - "in":"path", - "required":true, - "type":"string", - "description":"The name of the resource group." - }, - { - "name":"name", - "in":"path", - "required":true, - "type":"string", - "description":"The name of the machine containing the extension." - }, - { - "name":"extensionName", - "in":"path", - "required":true, - "type":"string", - "description":"The name of the machine extension." - }, - { - "$ref":"#/parameters/ApiVersionParameter" - }, - { - "$ref":"#/parameters/SubscriptionIdParameter" - } - ], - "responses":{ - "200":{ - "description":"OK", - "schema":{ - "$ref":"#/definitions/MachineExtension" - } - } - }, - "x-ms-examples": { - "GET Machine Extension": { - "$ref": "./examples/GETExtension.json" - } - } + "202": { + "description": "Accepted" + } + }, + "x-ms-examples": { + "Create or Update a Machine Extension": { + "$ref": "./examples/UpdateExtension.json" + } + }, + "x-ms-long-running-operation": true + }, + "delete": { + "tags": [ + "MachineExtensions" + ], + "operationId": "MachineExtensions_Delete", + "description": "The operation to delete the extension.", + "parameters": [ + { + "name": "resourceGroupName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the resource group." + }, + { + "name": "name", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the machine where the extension should be deleted." + }, + { + "name": "extensionName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the machine extension." + }, + { + "$ref": "#/parameters/ApiVersionParameter" + }, + { + "$ref": "#/parameters/SubscriptionIdParameter" } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HybridCompute/machines/{name}/extensions":{ - "get":{ - "tags":[ - "MachineExtensions" - ], - "operationId":"MachineExtensions_List", - "description":"The operation to get all extensions of a non-Azure machine", - "parameters":[ - { - "name":"resourceGroupName", - "in":"path", - "required":true, - "type":"string", - "description":"The name of the resource group." - }, - { - "name":"name", - "in":"path", - "required":true, - "type":"string", - "description":"The name of the machine containing the extension." - }, - { - "name":"$expand", - "in":"query", - "required":false, - "type":"string", - "description":"The expand expression to apply on the operation." - }, - { - "$ref":"#/parameters/ApiVersionParameter" - }, - { - "$ref":"#/parameters/SubscriptionIdParameter" - } - ], - "responses":{ - "200":{ - "description":"OK", - "schema":{ - "$ref":"#/definitions/MachineExtensionsListResult" - } - } - }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - }, - "x-ms-examples": { - "GET all Machine Extensions": { - "$ref": "./examples/LISTExtension.json" - } - } + ], + "responses": { + "200": { + "description": "OK" + }, + "202": { + "description": "Accepted" + }, + "204": { + "description": "No Content" + } + }, + "x-ms-long-running-operation": true, + "x-ms-examples": {} + }, + "get": { + "tags": [ + "MachineExtensions" + ], + "operationId": "MachineExtensions_Get", + "description": "The operation to get the extension.", + "parameters": [ + { + "name": "resourceGroupName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the resource group." + }, + { + "name": "name", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the machine containing the extension." + }, + { + "name": "extensionName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the machine extension." + }, + { + "$ref": "#/parameters/ApiVersionParameter" + }, + { + "$ref": "#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/MachineExtension" + } } - }, - "/providers/Microsoft.HybridCompute/operations":{ - "get":{ - "tags":[ - "operations" - ], - "operationId":"Operations_List", - "description":"Gets a list of hybrid 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/ErrorResponse" - } - } - }, - "x-ms-pageable":{ - "nextLinkName":null - } + }, + "x-ms-examples": { + "GET Machine Extension": { + "$ref": "./examples/GETExtension.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":"Display properties" - } - }, - "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 Hybrid Compute Operation Value Display." - }, - "OSProfile":{ - "readOnly":true, - "properties":{ - "computerName":{ - "type":"string", - "readOnly":true, - "description":"Specifies the host OS name of the hybrid machine." - } - }, - "description":"Specifies the operating system settings for the hybrid machine." - }, - "MachineProperties":{ - "properties":{ - "osProfile":{ - "$ref":"#/definitions/OSProfile", - "description":"Specifies the operating system settings for the hybrid machine." - }, - "provisioningState":{ - "readOnly":true, - "type":"string", - "description":"The provisioning state, which only appears in the response." - }, - "status":{ - "readOnly":true, - "type":"string", - "description":"The status of the hybrid machine agent.", - "enum":[ - "Connected", - "Disconnected", - "Error" - ], - "x-ms-enum":{ - "name":"StatusTypes", - "modelAsString":false - } - }, - "lastStatusChange":{ - "readOnly":true, - "type":"string", - "format":"date-time", - "description":"The time of the last status change." - }, - "errorDetails":{ - "readOnly":true, - "type":"array", - "items":{ - "$ref":"#/definitions/ErrorDetail" - }, - "description":"Details about the error state." - }, - "agentVersion":{ - "readOnly":true, - "type":"string", - "description":"The hybrid machine agent full version." - }, - "vmId":{ - "readOnly":true, - "type":"string", - "description":"Specifies the hybrid machine unique ID." - }, - "displayName":{ - "readOnly":true, - "type":"string", - "description":"Specifies the hybrid machine display name." - }, - "machineFqdn":{ - "readOnly":true, - "type":"string", - "description":"Specifies the hybrid machine FQDN." - }, - "physicalLocation":{ - "type":"string", - "description":"Resource's Physical Location" - }, - "clientPublicKey":{ - "type":"string", - "description":"Public Key that the client provides to be used during initial resource onboarding" - }, - "osName":{ - "readOnly":true, - "type":"string", - "description":"The Operating System running on the hybrid machine." - }, - "osVersion":{ - "readOnly":true, - "type":"string", - "description":"The version of Operating System running on the hybrid machine." - }, - "extensions":{ - "type":"array", - "items":{ - "$ref":"#/definitions/MachineExtensionInstanceView" - }, - "description":"Machine Extensions information" - } - }, - "description":"Describes the properties of a hybrid machine." - }, - "MachineReconnectProperties":{ - "properties":{ - "vmId":{ - "type":"string", - "description":"Specifies the hybrid machine unique ID." - }, - "clientPublicKey":{ - "type":"string", - "description":"Public Key that the client provides to be used during initial resource onboarding." - } - }, - "description":"Describes the properties required to reconnect a hybrid machine." - }, - "MachineUpdateProperties":{ - "properties":{ - "physicalLocation":{ - "type":"string", - "description":"Resource's Physical Location" - } - }, - "description":"Describes the ARM updatable properties of a hybrid machine." - }, - "Machine":{ - "properties":{ - "properties":{ - "x-ms-client-flatten":true, - "$ref":"#/definitions/MachineProperties", - "description":"Hybrid Compute Machine properties" - } - }, - "allOf":[ - { - "$ref":"#/definitions/Resource" - } - ], - "description":"Describes a hybrid machine." - }, - "MachineUpdate":{ - "properties":{ - "identity":{ - "x-ms-client-flatten":true, - "$ref":"#/definitions/Identity", - "description":"Hybrid Compute Machine Managed Identity" - }, - "properties":{ - "x-ms-client-flatten":true, - "$ref":"#/definitions/MachineUpdateProperties", - "description":"Hybrid Compute Machine properties" - } - }, - "allOf":[ - { - "$ref":"#/definitions/UpdateResource" - } - ], - "description":"Describes a hybrid machine Update." - }, - "MachineReconnect":{ - "properties":{ - "properties":{ - "x-ms-client-flatten":true, - "$ref":"#/definitions/MachineReconnectProperties", - "description":"Hybrid Compute Machine properties" - } - }, - "description":"Describes a hybrid machine reconnect." - }, - "MachineListResult":{ - "properties":{ - "value":{ - "type":"array", - "items":{ - "$ref":"#/definitions/Machine" - }, - "description":"The list of hybrid machines." - }, - "nextLink":{ - "type":"string", - "description":"The URI to fetch the next page of Machines. Call ListNext() with this URI to fetch the next page of hybrid machines." - } - }, - "required":[ - "value" - ], - "description":"The List hybrid machine operation response." - }, - "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":[ - "create", - "read" - ] - }, - "tags":{ - "type":"object", - "additionalProperties":{ - "type":"string" - }, - "description":"Resource tags" - }, - "identity":{ - "x-ms-client-flatten":true, - "$ref":"#/definitions/Identity", - "description":"Hybrid Compute Machine Managed Identity" - } - }, - "required":[ - "location" + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HybridCompute/machines/{name}/extensions": { + "get": { + "tags": [ + "MachineExtensions" + ], + "operationId": "MachineExtensions_List", + "description": "The operation to get all extensions of a non-Azure machine", + "parameters": [ + { + "name": "resourceGroupName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the resource group." + }, + { + "name": "name", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the machine containing the extension." + }, + { + "name": "$expand", + "in": "query", + "required": false, + "type": "string", + "description": "The expand expression to apply on the operation." + }, + { + "$ref": "#/parameters/ApiVersionParameter" + }, + { + "$ref": "#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/MachineExtensionsListResult" + } + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + }, + "x-ms-examples": { + "GET all Machine Extensions": { + "$ref": "./examples/LISTExtension.json" + } + } + } + }, + "/providers/Microsoft.HybridCompute/operations": { + "get": { + "tags": [ + "operations" + ], + "operationId": "Operations_List", + "description": "Gets a list of hybrid 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/ErrorResponse" + } + } + }, + "x-ms-pageable": { + "nextLinkName": null + } + } + } + }, + "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": "Display properties" + } + }, + "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 Hybrid Compute Operation Value Display." + }, + "OSProfile": { + "readOnly": true, + "properties": { + "computerName": { + "type": "string", + "readOnly": true, + "description": "Specifies the host OS name of the hybrid machine." + } + }, + "description": "Specifies the operating system settings for the hybrid machine." + }, + "MachineProperties": { + "properties": { + "osProfile": { + "$ref": "#/definitions/OSProfile", + "description": "Specifies the operating system settings for the hybrid machine." + }, + "provisioningState": { + "readOnly": true, + "type": "string", + "description": "The provisioning state, which only appears in the response." + }, + "status": { + "readOnly": true, + "type": "string", + "description": "The status of the hybrid machine agent.", + "enum": [ + "Connected", + "Disconnected", + "Error" ], - "x-ms-azure-resource":true - }, - "UpdateResource":{ - "description":"The Update Resource model definition.", - "properties":{ - "tags":{ - "type":"object", - "additionalProperties":{ - "type":"string" - }, - "description":"Resource tags" - } + "x-ms-enum": { + "name": "StatusTypes", + "modelAsString": false } - }, - "ErrorDetail":{ - "title":"Error details.", - "type":"object", - "properties":{ - "code":{ - "description":"The error's code.", - "type":"string" - }, - "message":{ - "description":"A human readable error message.", - "type":"string" - }, - "target":{ - "description":"Indicates which property in the request is responsible for the error.", - "type":"string" - }, - "details":{ - "description":"Additional error details.", - "type":"array", - "items":{ - "$ref":"#/definitions/ErrorDetail" - } - } - }, - "required":[ - "code", - "message" - ] - }, - "ErrorResponse":{ - "title":"Error response.", - "description":"Contains details when the response code indicates an error.", - "type":"object", - "properties":{ - "error":{ - "description":"The error details.", - "$ref":"#/definitions/ErrorDetail" - } - }, - "required":[ - "error" + }, + "lastStatusChange": { + "readOnly": true, + "type": "string", + "format": "date-time", + "description": "The time of the last status change." + }, + "errorDetails": { + "readOnly": true, + "type": "array", + "items": { + "$ref": "#/definitions/ErrorDetail" + }, + "description": "Details about the error state." + }, + "agentVersion": { + "readOnly": true, + "type": "string", + "description": "The hybrid machine agent full version." + }, + "vmId": { + "readOnly": true, + "type": "string", + "description": "Specifies the hybrid machine unique ID." + }, + "displayName": { + "readOnly": true, + "type": "string", + "description": "Specifies the hybrid machine display name." + }, + "machineFqdn": { + "readOnly": true, + "type": "string", + "description": "Specifies the hybrid machine FQDN." + }, + "physicalLocation": { + "type": "string", + "description": "Resource's Physical Location" + }, + "clientPublicKey": { + "type": "string", + "description": "Public Key that the client provides to be used during initial resource onboarding" + }, + "osName": { + "readOnly": true, + "type": "string", + "description": "The Operating System running on the hybrid machine." + }, + "osVersion": { + "readOnly": true, + "type": "string", + "description": "The version of Operating System running on the hybrid machine." + }, + "extensions": { + "type": "array", + "items": { + "$ref": "#/definitions/MachineExtensionInstanceView" + }, + "description": "Machine Extensions information" + } + }, + "description": "Describes the properties of a hybrid machine." + }, + "MachineReconnectProperties": { + "properties": { + "vmId": { + "type": "string", + "description": "Specifies the hybrid machine unique ID." + }, + "clientPublicKey": { + "type": "string", + "description": "Public Key that the client provides to be used during initial resource onboarding." + } + }, + "description": "Describes the properties required to reconnect a hybrid machine." + }, + "MachineUpdateProperties": { + "properties": { + "physicalLocation": { + "type": "string", + "description": "Resource's Physical Location" + } + }, + "description": "Describes the ARM updatable properties of a hybrid machine." + }, + "Machine": { + "properties": { + "properties": { + "x-ms-client-flatten": true, + "$ref": "#/definitions/MachineProperties", + "description": "Hybrid Compute Machine properties" + } + }, + "allOf": [ + { + "$ref": "#/definitions/Resource" + } + ], + "description": "Describes a hybrid machine." + }, + "MachineUpdate": { + "properties": { + "identity": { + "x-ms-client-flatten": true, + "$ref": "#/definitions/Identity", + "description": "Hybrid Compute Machine Managed Identity" + }, + "properties": { + "x-ms-client-flatten": true, + "$ref": "#/definitions/MachineUpdateProperties", + "description": "Hybrid Compute Machine properties" + } + }, + "allOf": [ + { + "$ref": "#/definitions/UpdateResource" + } + ], + "description": "Describes a hybrid machine Update." + }, + "MachineReconnect": { + "properties": { + "properties": { + "x-ms-client-flatten": true, + "$ref": "#/definitions/MachineReconnectProperties", + "description": "Hybrid Compute Machine properties" + } + }, + "description": "Describes a hybrid machine reconnect." + }, + "MachineListResult": { + "properties": { + "value": { + "type": "array", + "items": { + "$ref": "#/definitions/Machine" + }, + "description": "The list of hybrid machines." + }, + "nextLink": { + "type": "string", + "description": "The URI to fetch the next page of Machines. Call ListNext() with this URI to fetch the next page of hybrid machines." + } + }, + "required": [ + "value" + ], + "description": "The List hybrid machine operation response." + }, + "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": [ + "create", + "read" ] - }, - "Identity":{ - "title":"Managed Identity.", - "type":"object", - "properties":{ - "type":{ - "description":"The identity type.", - "type":"string" - }, - "principalId":{ - "readOnly":true, - "description":"The identity's principal id.", - "type":"string" - }, - "tenantId":{ - "readOnly":true, - "description":"The identity's tenant id.", - "type":"string" - } + }, + "tags": { + "type": "object", + "additionalProperties": { + "type": "string" + }, + "description": "Resource tags" + }, + "identity": { + "x-ms-client-flatten": true, + "$ref": "#/definitions/Identity", + "description": "Hybrid Compute Machine Managed Identity" + } + }, + "required": [ + "location" + ], + "x-ms-azure-resource": true + }, + "UpdateResource": { + "description": "The Update Resource model definition.", + "properties": { + "tags": { + "type": "object", + "additionalProperties": { + "type": "string" + }, + "description": "Resource tags" + } + } + }, + "ErrorDetail": { + "title": "Error details.", + "type": "object", + "properties": { + "code": { + "description": "The error's code.", + "type": "string" + }, + "message": { + "description": "A human readable error message.", + "type": "string" + }, + "target": { + "description": "Indicates which property in the request is responsible for the error.", + "type": "string" + }, + "details": { + "description": "Additional error details.", + "type": "array", + "items": { + "$ref": "#/definitions/ErrorDetail" } - }, - "MachineExtension":{ - "properties":{ - "properties":{ - "x-ms-client-flatten":true, - "$ref":"#/definitions/MachineExtensionProperties", - "description":"Describes Machine Extension Properties." - } - }, - "allOf":[ - { - "$ref":"#/definitions/Resource" - } - ], - "description":"Describes a Machine Extension." - }, - "MachineExtensionUpdate": { - "properties": { - "properties": { - "x-ms-client-flatten": true, - "$ref": "#/definitions/MachineExtensionUpdateProperties", - "description":"Describes Machine Extension Update Properties." - } - }, - "allOf": [ - { - "$ref": "#/definitions/UpdateResource" - } - ], - "description": "Describes a Machine Extension Update." - }, - "MachineExtensionProperties":{ - "properties":{ - "forceUpdateTag":{ - "type":"string", - "description":"How the extension handler should be forced to update even if the extension configuration has not changed." - }, - "publisher":{ - "type":"string", - "description":"The name of the extension handler publisher." - }, - "type":{ - "type":"string", - "description":"Specifies the type of the extension; an example is \"CustomScriptExtension\"." - }, - "typeHandlerVersion":{ - "type":"string", - "description":"Specifies the version of the script handler." - }, - "autoUpgradeMinorVersion":{ - "type":"boolean", - "description":"Indicates whether the extension should use a newer minor version if one is available at deployment time. Once deployed, however, the extension will not upgrade minor versions unless redeployed, even with this property set to true." - }, - "settings":{ - "type":"object", - "description":"Json formatted public settings for the extension." - }, - "protectedSettings":{ - "type":"object", - "description":"The extension can contain either protectedSettings or protectedSettingsFromKeyVault or no protected settings at all." - }, - "provisioningState":{ - "readOnly":true, - "type":"string", - "description":"The provisioning state, which only appears in the response." - }, - "instanceView":{ - "$ref":"#/definitions/MachineExtensionInstanceView", - "description":"The machine extension instance view." - } - }, - "description":"Describes the properties of a Machine Extension." - }, - "MachineExtensionUpdateProperties": { - "properties": { - "forceUpdateTag": { - "type": "string", - "description": "How the extension handler should be forced to update even if the extension configuration has not changed." - }, - "publisher": { - "type": "string", - "description": "The name of the extension handler publisher." - }, - "type": { - "type": "string", - "description": "Specifies the type of the extension; an example is \"CustomScriptExtension\"." - }, - "typeHandlerVersion": { - "type": "string", - "description": "Specifies the version of the script handler." - }, - "autoUpgradeMinorVersion": { - "type": "boolean", - "description": "Indicates whether the extension should use a newer minor version if one is available at deployment time. Once deployed, however, the extension will not upgrade minor versions unless redeployed, even with this property set to true." - }, - "settings": { - "type": "object", - "description": "Json formatted public settings for the extension." - }, - "protectedSettings": { - "type": "object", - "description": "The extension can contain either protectedSettings or protectedSettingsFromKeyVault or no protected settings at all." - } - }, - "description": "Describes the properties of a Machine Extension." - }, - "MachineExtensionInstanceView":{ - "properties":{ - "name":{ - "type":"string", - "description":"The machine extension name." - }, - "type":{ - "type":"string", - "description":"Specifies the type of the extension; an example is \"CustomScriptExtension\"." - }, - "typeHandlerVersion":{ - "type":"string", - "description":"Specifies the version of the script handler." - }, - "status":{ - "properties":{ - "code":{ - "type":"string", - "description":"The status code." - }, - "level":{ - "type":"string", - "description":"The level code.", - "enum":[ - "Info", - "Warning", - "Error" - ], - "x-ms-enum":{ - "name":"StatusLevelTypes", - "modelAsString":false - } - }, - "displayStatus":{ - "type":"string", - "description":"The short localizable label for the status." - }, - "message":{ - "type":"string", - "description":"The detailed status message, including for alerts and error messages." - }, - "time":{ - "type":"string", - "format":"date-time", - "description":"The time of the status." - } - }, - "description":"Instance view status." - } - }, - "description":"Describes the Machine Extension Instance View." - }, - "MachineExtensionsListResult":{ - "properties":{ - "value":{ - "type":"array", - "items":{ - "$ref":"#/definitions/MachineExtension" - }, - "description":"The list of extensions" - }, - "nextLink": { - "type": "string", - "description": "The uri to fetch the next page of machine extensions. Call ListNext() with this to fetch the next page of extensions." - } - }, - "description":"Describes the Machine Extensions List Result." - } + } + }, + "required": [ + "code", + "message" + ] + }, + "ErrorResponse": { + "title": "Error response.", + "description": "Contains details when the response code indicates an error.", + "type": "object", + "properties": { + "error": { + "description": "The error details.", + "$ref": "#/definitions/ErrorDetail" + } + }, + "required": [ + "error" + ] + }, + "Identity": { + "title": "Managed Identity.", + "type": "object", + "properties": { + "type": { + "description": "The identity type.", + "type": "string" + }, + "principalId": { + "readOnly": true, + "description": "The identity's principal id.", + "type": "string" + }, + "tenantId": { + "readOnly": true, + "description": "The identity's tenant id.", + "type": "string" + } + } + }, + "MachineExtension": { + "properties": { + "properties": { + "x-ms-client-flatten": true, + "$ref": "#/definitions/MachineExtensionProperties", + "description": "Describes Machine Extension Properties." + } + }, + "allOf": [ + { + "$ref": "#/definitions/Resource" + } + ], + "description": "Describes a Machine Extension." + }, + "MachineExtensionUpdate": { + "properties": { + "properties": { + "x-ms-client-flatten": true, + "$ref": "#/definitions/MachineExtensionUpdateProperties", + "description": "Describes Machine Extension Update Properties." + } + }, + "allOf": [ + { + "$ref": "#/definitions/UpdateResource" + } + ], + "description": "Describes a Machine Extension Update." + }, + "MachineExtensionProperties": { + "properties": { + "forceUpdateTag": { + "type": "string", + "description": "How the extension handler should be forced to update even if the extension configuration has not changed." + }, + "publisher": { + "type": "string", + "description": "The name of the extension handler publisher." + }, + "type": { + "type": "string", + "description": "Specifies the type of the extension; an example is \"CustomScriptExtension\"." + }, + "typeHandlerVersion": { + "type": "string", + "description": "Specifies the version of the script handler." + }, + "autoUpgradeMinorVersion": { + "type": "boolean", + "description": "Indicates whether the extension should use a newer minor version if one is available at deployment time. Once deployed, however, the extension will not upgrade minor versions unless redeployed, even with this property set to true." + }, + "settings": { + "type": "object", + "description": "Json formatted public settings for the extension." + }, + "protectedSettings": { + "type": "object", + "description": "The extension can contain either protectedSettings or protectedSettingsFromKeyVault or no protected settings at all." + }, + "provisioningState": { + "readOnly": true, + "type": "string", + "description": "The provisioning state, which only appears in the response." + }, + "instanceView": { + "$ref": "#/definitions/MachineExtensionInstanceView", + "description": "The machine extension instance view." + } + }, + "description": "Describes the properties of a Machine Extension." + }, + "MachineExtensionUpdateProperties": { + "properties": { + "forceUpdateTag": { + "type": "string", + "description": "How the extension handler should be forced to update even if the extension configuration has not changed." + }, + "publisher": { + "type": "string", + "description": "The name of the extension handler publisher." + }, + "type": { + "type": "string", + "description": "Specifies the type of the extension; an example is \"CustomScriptExtension\"." + }, + "typeHandlerVersion": { + "type": "string", + "description": "Specifies the version of the script handler." + }, + "autoUpgradeMinorVersion": { + "type": "boolean", + "description": "Indicates whether the extension should use a newer minor version if one is available at deployment time. Once deployed, however, the extension will not upgrade minor versions unless redeployed, even with this property set to true." + }, + "settings": { + "type": "object", + "description": "Json formatted public settings for the extension." + }, + "protectedSettings": { + "type": "object", + "description": "The extension can contain either protectedSettings or protectedSettingsFromKeyVault or no protected settings at all." + } + }, + "description": "Describes the properties of a Machine Extension." + }, + "MachineExtensionInstanceView": { + "properties": { + "name": { + "type": "string", + "description": "The machine extension name." + }, + "type": { + "type": "string", + "description": "Specifies the type of the extension; an example is \"CustomScriptExtension\"." + }, + "typeHandlerVersion": { + "type": "string", + "description": "Specifies the version of the script handler." + }, + "status": { + "properties": { + "code": { + "type": "string", + "description": "The status code." + }, + "level": { + "type": "string", + "description": "The level code.", + "enum": [ + "Info", + "Warning", + "Error" + ], + "x-ms-enum": { + "name": "StatusLevelTypes", + "modelAsString": false + } + }, + "displayStatus": { + "type": "string", + "description": "The short localizable label for the status." + }, + "message": { + "type": "string", + "description": "The detailed status message, including for alerts and error messages." + }, + "time": { + "type": "string", + "format": "date-time", + "description": "The time of the status." + } + }, + "description": "Instance view status." + } + }, + "description": "Describes the Machine Extension Instance View." + }, + "MachineExtensionsListResult": { + "properties": { + "value": { + "type": "array", + "items": { + "$ref": "#/definitions/MachineExtension" + }, + "description": "The list of extensions" + }, + "nextLink": { + "type": "string", + "description": "The uri to fetch the next page of machine extensions. Call ListNext() with this to fetch the next page of extensions." + } + }, + "description": "Describes the Machine Extensions List Result." + } + }, + "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." }, - "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." - }, - "ApiVersionParameter":{ - "name":"api-version", - "in":"query", - "required":true, - "type":"string", - "description":"Client Api Version." - } + "ApiVersionParameter": { + "name": "api-version", + "in": "query", + "required": true, + "type": "string", + "description": "Client Api Version." } - } \ No newline at end of file + } +} diff --git a/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2019-08-02/examples/GETExtension.json b/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2019-08-02/examples/GETExtension.json index 79cb2c875d27..b4833b780c33 100644 --- a/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2019-08-02/examples/GETExtension.json +++ b/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2019-08-02/examples/GETExtension.json @@ -1,41 +1,41 @@ { - "parameters": { - "subscriptionId": "{subscription-id}", - "resourceGroupName": "myResourceGroup", - "name": "myMachine", - "extensionName": "MMA", - "api-version": "2019-08-02" - }, - "responses": { - "200": { - "body": { - "id": "string", + "parameters": { + "subscriptionId": "{subscription-id}", + "resourceGroupName": "myResourceGroup", + "name": "myMachine", + "extensionName": "MMA", + "api-version": "2019-08-02" + }, + "responses": { + "200": { + "body": { + "id": "string", + "name": "string", + "type": "string", + "location": "string", + "properties": { + "forceUpdateTag": "string", + "publisher": "string", + "type": "string", + "typeHandlerVersion": "string", + "autoUpgradeMinorVersion": true, + "settings": {}, + "protectedSettings": {}, + "provisioningState": "string", + "instanceView": { "name": "string", "type": "string", - "location": "string", - "properties": { - "forceUpdateTag": "string", - "publisher": "string", - "type": "string", - "typeHandlerVersion": "string", - "autoUpgradeMinorVersion": true, - "settings": {}, - "protectedSettings": {}, - "provisioningState": "string", - "instanceView": { - "name": "string", - "type": "string", - "typeHandlerVersion": "string", - "status": { - "code": "string", - "level": "Info", - "displayStatus": "string", - "message": "string", - "time": "2019-08-08T20:42:10.999Z" - } - } + "typeHandlerVersion": "string", + "status": { + "code": "string", + "level": "Info", + "displayStatus": "string", + "message": "string", + "time": "2019-08-08T20:42:10.999Z" } + } } } } - } \ No newline at end of file + } +} diff --git a/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2019-08-02/examples/LISTExtension.json b/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2019-08-02/examples/LISTExtension.json index 36a2fe4ad836..068738f2433d 100644 --- a/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2019-08-02/examples/LISTExtension.json +++ b/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2019-08-02/examples/LISTExtension.json @@ -1,45 +1,45 @@ { - "parameters": { - "subscriptionId": "{subscription-id}", - "resourceGroupName": "myResourceGroup", - "name": "myMachine", - "api-version": "2019-08-02" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "id": "string", - "name": "string", + "parameters": { + "subscriptionId": "{subscription-id}", + "resourceGroupName": "myResourceGroup", + "name": "myMachine", + "api-version": "2019-08-02" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "string", + "name": "string", + "type": "string", + "location": "string", + "properties": { + "forceUpdateTag": "string", + "publisher": "string", "type": "string", - "location": "string", - "properties": { - "forceUpdateTag": "string", - "publisher": "string", + "typeHandlerVersion": "string", + "autoUpgradeMinorVersion": true, + "settings": {}, + "protectedSettings": {}, + "provisioningState": "string", + "instanceView": { + "name": "string", "type": "string", "typeHandlerVersion": "string", - "autoUpgradeMinorVersion": true, - "settings": {}, - "protectedSettings": {}, - "provisioningState": "string", - "instanceView": { - "name": "string", - "type": "string", - "typeHandlerVersion": "string", - "status": { - "code": "string", - "level": "Info", - "displayStatus": "string", - "message": "string", - "time": "2019-08-13T17:18:57.405Z" - } + "status": { + "code": "string", + "level": "Info", + "displayStatus": "string", + "message": "string", + "time": "2019-08-13T17:18:57.405Z" } } } - ], - "nextLink": "string" - } + } + ], + "nextLink": "string" } } } +} diff --git a/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2019-08-02/examples/Machines_Delete.json b/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2019-08-02/examples/Machines_Delete.json index 3f2fb9421e7c..618ae12841b4 100644 --- a/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2019-08-02/examples/Machines_Delete.json +++ b/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2019-08-02/examples/Machines_Delete.json @@ -6,8 +6,7 @@ "api-version": "2019-08-02-preview" }, "responses": { - "200": { - }, - "204": { } + "200": {}, + "204": {} } } diff --git a/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2019-08-02/examples/Machines_Get.json b/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2019-08-02/examples/Machines_Get.json index d59ae778ca80..4473a69357b1 100644 --- a/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2019-08-02/examples/Machines_Get.json +++ b/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2019-08-02/examples/Machines_Get.json @@ -8,34 +8,34 @@ "responses": { "200": { "body": { - "id": "string", - "name": "string", - "location": "string", - "tags": { }, - "identity": { - "type": "SystemAssigned", - "principalId": "string", - "tenantId": "string" + "id": "string", + "name": "string", + "location": "string", + "tags": {}, + "identity": { + "type": "SystemAssigned", + "principalId": "string", + "tenantId": "string" + }, + "type": "Microsoft.HybridCompute/machines", + "properties": { + "provisioningState": "string", + "agentVersion": null, + "status": null, + "lastStatusChange": null, + "errorDetails": null, + "displayName": null, + "machineFqdn": null, + "osName": null, + "osVersion": null, + "osProfile": { + "computerName": null }, - "type": "Microsoft.HybridCompute/machines", - "properties": { - "provisioningState": "string", - "agentVersion": null, - "status": null, - "lastStatusChange": null, - "errorDetails": null, - "displayName": null, - "machineFqdn": null, - "osName": null, - "osVersion": null, - "osProfile": { - "computerName": null - }, - "vmId": "string", - "physicalLocation": "", - "clientPublicKey": "string" - } + "vmId": "string", + "physicalLocation": "", + "clientPublicKey": "string" } } } + } } diff --git a/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2019-08-02/examples/Machines_ListByResourceGroup.json b/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2019-08-02/examples/Machines_ListByResourceGroup.json index c4b3eccaaacb..a99af0c9715e 100644 --- a/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2019-08-02/examples/Machines_ListByResourceGroup.json +++ b/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2019-08-02/examples/Machines_ListByResourceGroup.json @@ -1,22 +1,22 @@ { - "parameters": { - "subscriptionId": "{subscription-id}", - "resourceGroupName": "myResourceGroup", - "api-version": "2019-08-02" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "id": "string", - "name": "string", - "type": "string", - "location": "string" - } - ], - "nextLink": "string" - } + "parameters": { + "subscriptionId": "{subscription-id}", + "resourceGroupName": "myResourceGroup", + "api-version": "2019-08-02" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "string", + "name": "string", + "type": "string", + "location": "string" + } + ], + "nextLink": "string" } } } +} diff --git a/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2019-08-02/examples/Machines_ListBySubscription.json b/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2019-08-02/examples/Machines_ListBySubscription.json index 1358bfc3c944..9e8d1674e26a 100644 --- a/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2019-08-02/examples/Machines_ListBySubscription.json +++ b/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2019-08-02/examples/Machines_ListBySubscription.json @@ -1,21 +1,21 @@ { - "parameters": { - "subscriptionId": "{subscription-id}", - "api-version": "2019-08-02" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "id": "string", - "name": "string", - "type": "string", - "location": "string" - } - ], - "nextLink": "string" - } + "parameters": { + "subscriptionId": "{subscription-id}", + "api-version": "2019-08-02" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "string", + "name": "string", + "type": "string", + "location": "string" + } + ], + "nextLink": "string" } } } +} diff --git a/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2019-08-02/examples/Machines_Update.json b/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2019-08-02/examples/Machines_Update.json index b76dae837072..f87871a1716e 100644 --- a/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2019-08-02/examples/Machines_Update.json +++ b/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2019-08-02/examples/Machines_Update.json @@ -7,7 +7,7 @@ "location": "eastus2euap", "parameters": "string", "properties": { - "physicalLocation": "newLocation" + "physicalLocation": "newLocation" }, "identity": { "Type": "SystemAssigned" diff --git a/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2019-08-02/examples/PUTExtension.json b/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2019-08-02/examples/PUTExtension.json index cde51ea1d8cf..95482c8657f5 100644 --- a/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2019-08-02/examples/PUTExtension.json +++ b/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2019-08-02/examples/PUTExtension.json @@ -1,67 +1,66 @@ { - "parameters": { - "subscriptionId": "{subscription-id}", - "resourceGroupName": "myResourceGroup", - "name": "myMachine", - "extensionName": "MMA", - "api-version": "2019-08-02", - "extensionParameters": { - "location": "string", - "properties": { - "forceUpdateTag": "false", - "publisher": "Publisher1", - "type": "string", - "typeHandlerVersion": "1.0", - "autoUpgradeMinorVersion": true, - "settings": {}, - "protectedSettings": {}, - "instanceView": { - "name": "string", - "type": "string", - "typeHandlerVersion": "string", - "status": { - "code": "string", - "level": "Info", - "displayStatus": "string", - "message": "string", - "time": "2019-08-08T20:36:46.620Z" - } - } + "parameters": { + "subscriptionId": "{subscription-id}", + "resourceGroupName": "myResourceGroup", + "name": "myMachine", + "extensionName": "MMA", + "api-version": "2019-08-02", + "extensionParameters": { + "location": "string", + "properties": { + "forceUpdateTag": "false", + "publisher": "Publisher1", + "type": "string", + "typeHandlerVersion": "1.0", + "autoUpgradeMinorVersion": true, + "settings": {}, + "protectedSettings": {}, + "instanceView": { + "name": "string", + "type": "string", + "typeHandlerVersion": "string", + "status": { + "code": "string", + "level": "Info", + "displayStatus": "string", + "message": "string", + "time": "2019-08-08T20:36:46.620Z" } + } } - }, - "responses": { - "200": { - "body": { - "id": "string", + } + }, + "responses": { + "200": { + "body": { + "id": "string", + "name": "string", + "type": "string", + "location": "string", + "properties": { + "forceUpdateTag": "string", + "publisher": "string", + "type": "string", + "typeHandlerVersion": "string", + "autoUpgradeMinorVersion": true, + "settings": {}, + "protectedSettings": {}, + "provisioningState": "string", + "instanceView": { "name": "string", "type": "string", - "location": "string", - "properties": { - "forceUpdateTag": "string", - "publisher": "string", - "type": "string", - "typeHandlerVersion": "string", - "autoUpgradeMinorVersion": true, - "settings": {}, - "protectedSettings": {}, - "provisioningState": "string", - "instanceView": { - "name": "string", - "type": "string", - "typeHandlerVersion": "string", - "status": { - "code": "string", - "level": "Info", - "displayStatus": "string", - "message": "string", - "time": "2019-08-08T20:42:10.999Z" - } - } + "typeHandlerVersion": "string", + "status": { + "code": "string", + "level": "Info", + "displayStatus": "string", + "message": "string", + "time": "2019-08-08T20:42:10.999Z" } + } } - }, - "202": { } - } + }, + "202": {} } +} diff --git a/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2019-08-02/examples/UpdateExtension.json b/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2019-08-02/examples/UpdateExtension.json index a4698159a7e5..8eaf6b619661 100644 --- a/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2019-08-02/examples/UpdateExtension.json +++ b/specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2019-08-02/examples/UpdateExtension.json @@ -1,54 +1,53 @@ { - "parameters": { - "subscriptionId": "{subscription-id}", - "resourceGroupName": "myResourceGroup", - "name": "myMachine", - "extensionName": "MMA", - "api-version": "2019-08-02", - "extensionParameters": { - "properties": { - "forceUpdateTag": "false", - "publisher": "Publisher1", - "type": "string", - "typeHandlerVersion": "1.0", - "autoUpgradeMinorVersion": true, - "settings": {}, - "protectedSettings": {} - } + "parameters": { + "subscriptionId": "{subscription-id}", + "resourceGroupName": "myResourceGroup", + "name": "myMachine", + "extensionName": "MMA", + "api-version": "2019-08-02", + "extensionParameters": { + "properties": { + "forceUpdateTag": "false", + "publisher": "Publisher1", + "type": "string", + "typeHandlerVersion": "1.0", + "autoUpgradeMinorVersion": true, + "settings": {}, + "protectedSettings": {} } - }, - "responses": { - "200": { - "body": { - "id": "string", + } + }, + "responses": { + "200": { + "body": { + "id": "string", + "name": "string", + "type": "string", + "location": "string", + "properties": { + "forceUpdateTag": "string", + "publisher": "string", + "type": "string", + "typeHandlerVersion": "string", + "autoUpgradeMinorVersion": true, + "settings": {}, + "protectedSettings": {}, + "provisioningState": "string", + "instanceView": { "name": "string", "type": "string", - "location": "string", - "properties": { - "forceUpdateTag": "string", - "publisher": "string", - "type": "string", - "typeHandlerVersion": "string", - "autoUpgradeMinorVersion": true, - "settings": {}, - "protectedSettings": {}, - "provisioningState": "string", - "instanceView": { - "name": "string", - "type": "string", - "typeHandlerVersion": "string", - "status": { - "code": "string", - "level": "Info", - "displayStatus": "string", - "message": "string", - "time": "2019-08-08T20:42:10.999Z" - } - } + "typeHandlerVersion": "string", + "status": { + "code": "string", + "level": "Info", + "displayStatus": "string", + "message": "string", + "time": "2019-08-08T20:42:10.999Z" } + } } - }, - "202": { } - } + }, + "202": {} } +} diff --git a/specification/managedservices/resource-manager/Microsoft.ManagedServices/stable/2019-09-01/examples/GetMarketplaceRegistrationDefinition.json b/specification/managedservices/resource-manager/Microsoft.ManagedServices/stable/2019-09-01/examples/GetMarketplaceRegistrationDefinition.json index 422c0d0b3f5f..a8d48818f2a0 100644 --- a/specification/managedservices/resource-manager/Microsoft.ManagedServices/stable/2019-09-01/examples/GetMarketplaceRegistrationDefinition.json +++ b/specification/managedservices/resource-manager/Microsoft.ManagedServices/stable/2019-09-01/examples/GetMarketplaceRegistrationDefinition.json @@ -32,4 +32,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/IpGroupsCreate.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/IpGroupsCreate.json index 71fbe1881992..f80dac4b540a 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/IpGroupsCreate.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/IpGroupsCreate.json @@ -1,67 +1,67 @@ { + "parameters": { + "api-version": "2019-09-01", + "subscriptionId": "subId", + "resourceGroupName": "myResourceGroup", + "ipGroupsName": "ipGroups1", "parameters": { - "api-version": "2019-09-01", - "subscriptionId": "subId", - "resourceGroupName": "myResourceGroup", - "ipGroupsName": "ipGroups1", - "parameters": { - "tags": { - "key1": "value1" - }, - "location": "West US", + "tags": { + "key1": "value1" + }, + "location": "West US", + "properties": { + "ipAddresses": [ + "13.64.39.16/32", + "40.74.146.80/31", + "40.74.147.32/28" + ] + } + } + }, + "responses": { + "200": { + "body": { + "name": "ipGroups1", + "id": "/subscriptions/subId/providers/Microsoft.Network/resourceGroup/myResourceGroup/ipGroups/ipGroups1", + "type": "Microsoft.Network/ipGroups", + "location": "westcentralus", "properties": { + "provisioningState": "Succeeded", "ipAddresses": [ "13.64.39.16/32", "40.74.146.80/31", "40.74.147.32/28" + ], + "firewalls": [ + { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/azureFirewalls/azurefirewall" + } ] - } + }, + "etag": "w/\\00000000-0000-0000-0000-000000000000\\" } }, - "responses": { - "200": { - "body": { - "name": "ipGroups1", - "id": "/subscriptions/subId/providers/Microsoft.Network/resourceGroup/myResourceGroup/ipGroups/ipGroups1", - "type": "Microsoft.Network/ipGroups", - "location": "westcentralus", - "properties": { - "provisioningState": "Succeeded", - "ipAddresses": [ - "13.64.39.16/32", - "40.74.146.80/31", - "40.74.147.32/28" - ], - "firewalls": [ - { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/azureFirewalls/azurefirewall" - } - ] - }, - "etag": "w/\\00000000-0000-0000-0000-000000000000\\" - } - }, - "201": { - "body": { - "name": "ipGroups1", - "id": "/subscriptions/subId/providers/Microsoft.Network/resourceGroup/myResourceGroup/ipGroups/ipGroups1", - "type": "Microsoft.Network/ipGroups", - "location": "westcentralus", - "properties": { - "provisioningState": "Succeeded", - "ipAddresses": [ - "13.64.39.16/32", - "40.74.146.80/31", - "40.74.147.32/28" - ], - "firewalls": [ - { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/azureFirewalls/azurefirewall" - } - ] - }, - "etag": "w/\\00000000-0000-0000-0000-000000000000\\" - } + "201": { + "body": { + "name": "ipGroups1", + "id": "/subscriptions/subId/providers/Microsoft.Network/resourceGroup/myResourceGroup/ipGroups/ipGroups1", + "type": "Microsoft.Network/ipGroups", + "location": "westcentralus", + "properties": { + "provisioningState": "Succeeded", + "ipAddresses": [ + "13.64.39.16/32", + "40.74.146.80/31", + "40.74.147.32/28" + ], + "firewalls": [ + { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/azureFirewalls/azurefirewall" + } + ] + }, + "etag": "w/\\00000000-0000-0000-0000-000000000000\\" } } - } \ No newline at end of file + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/IpGroupsDelete.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/IpGroupsDelete.json index 27e2f1b75f9e..2a2ad8e27326 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/IpGroupsDelete.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/IpGroupsDelete.json @@ -1,13 +1,13 @@ { - "parameters": { - "api-version": "2019-09-01", - "subscriptionId": "subId", - "resourceGroupName": "myResourceGroup", - "ipGroupsName": "ipGroups1" - }, - "responses": { - "200": {}, - "202": {}, - "204": {} - } - } \ No newline at end of file + "parameters": { + "api-version": "2019-09-01", + "subscriptionId": "subId", + "resourceGroupName": "myResourceGroup", + "ipGroupsName": "ipGroups1" + }, + "responses": { + "200": {}, + "202": {}, + "204": {} + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/IpGroupsGet.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/IpGroupsGet.json index f70ac4a60a08..daba5879653c 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/IpGroupsGet.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/IpGroupsGet.json @@ -1,32 +1,32 @@ { - "parameters": { - "api-version": "2019-09-01", - "subscriptionId": "subId", - "resourceGroupName": "myResourceGroup", - "ipGroupsName": "ipGroups1" - }, - "responses": { - "200": { - "body": { - "name": "ipGroups1", - "id": "/subscriptions/subId/providers/Microsoft.Network/resourceGroup/myResourceGroup/ipGroups/ipGroups1", - "type": "Microsoft.Network/ipGroups", - "location": "westcentralus", - "properties": { - "provisioningState": "Succeeded", - "ipAddresses": [ - "13.64.39.16/32", - "40.74.146.80/31", - "40.74.147.32/28" - ], - "firewalls": [ - { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/azureFirewalls/azurefirewall" - } - ] - }, - "etag": "w/\\00000000-0000-0000-0000-000000000000\\" - } + "parameters": { + "api-version": "2019-09-01", + "subscriptionId": "subId", + "resourceGroupName": "myResourceGroup", + "ipGroupsName": "ipGroups1" + }, + "responses": { + "200": { + "body": { + "name": "ipGroups1", + "id": "/subscriptions/subId/providers/Microsoft.Network/resourceGroup/myResourceGroup/ipGroups/ipGroups1", + "type": "Microsoft.Network/ipGroups", + "location": "westcentralus", + "properties": { + "provisioningState": "Succeeded", + "ipAddresses": [ + "13.64.39.16/32", + "40.74.146.80/31", + "40.74.147.32/28" + ], + "firewalls": [ + { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/azureFirewalls/azurefirewall" + } + ] + }, + "etag": "w/\\00000000-0000-0000-0000-000000000000\\" } } - } \ No newline at end of file + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/IpGroupsListByResourceGroup.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/IpGroupsListByResourceGroup.json index de7cf32e55d8..4c238250f053 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/IpGroupsListByResourceGroup.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/IpGroupsListByResourceGroup.json @@ -1,55 +1,55 @@ { - "parameters": { - "api-version": "2019-09-01", - "subscriptionId": "subId", - "resourceGroupName": "myResourceGroup" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "name": "ipGroups1", - "id": "/subscriptions/subId/providers/Microsoft.Network/resourceGroup/myResourceGroup/ipGroups", - "type": "Microsoft.Network/ipGroups", - "location": "westcentralus", - "properties": { - "provisioningState": "Succeeded", - "ipAddresses": [ - "13.64.39.16/32", - "40.74.146.80/31", - "40.74.147.32/28" - ], - "firewalls": [ - { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/azureFirewalls/azurefirewall" - } - ] - }, - "etag": "w/\\00000000-0000-0000-0000-000000000000\\" + "parameters": { + "api-version": "2019-09-01", + "subscriptionId": "subId", + "resourceGroupName": "myResourceGroup" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "ipGroups1", + "id": "/subscriptions/subId/providers/Microsoft.Network/resourceGroup/myResourceGroup/ipGroups", + "type": "Microsoft.Network/ipGroups", + "location": "westcentralus", + "properties": { + "provisioningState": "Succeeded", + "ipAddresses": [ + "13.64.39.16/32", + "40.74.146.80/31", + "40.74.147.32/28" + ], + "firewalls": [ + { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/azureFirewalls/azurefirewall" + } + ] }, - { - "name": "ipGroups2", - "id": "/subscriptions/subId/providers/Microsoft.Network/resourceGroup/myResourceGroup/ipGroups", - "type": "Microsoft.Network/ipGroups", - "location": "centralus", - "properties": { - "provisioningState": "Succeeded", - "ipAddresses": [ - "14.64.39.16/32", - "41.74.146.80/31", - "42.74.147.32/28" - ], - "firewalls": [ - { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/azureFirewalls/azurefirewall" - } - ] - }, - "etag": "w/\\00000000-0000-0000-0000-000000000000\\" - } - ] - } + "etag": "w/\\00000000-0000-0000-0000-000000000000\\" + }, + { + "name": "ipGroups2", + "id": "/subscriptions/subId/providers/Microsoft.Network/resourceGroup/myResourceGroup/ipGroups", + "type": "Microsoft.Network/ipGroups", + "location": "centralus", + "properties": { + "provisioningState": "Succeeded", + "ipAddresses": [ + "14.64.39.16/32", + "41.74.146.80/31", + "42.74.147.32/28" + ], + "firewalls": [ + { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/azureFirewalls/azurefirewall" + } + ] + }, + "etag": "w/\\00000000-0000-0000-0000-000000000000\\" + } + ] } } - } \ No newline at end of file + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/IpGroupsListBySubscription.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/IpGroupsListBySubscription.json index 879878cbf8ce..a777e8fb4730 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/IpGroupsListBySubscription.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/IpGroupsListBySubscription.json @@ -1,54 +1,54 @@ { - "parameters": { - "api-version": "2019-09-01", - "subscriptionId": "subId" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "name": "iptag1", - "id": "/subscriptions/subId/providers/Microsoft.Network/resourceGroup/myResourceGroup1/ipGroups", - "type": "Microsoft.Network/ipGroups", - "location": "westcentralus", - "properties": { - "provisioningState": "Succeeded", - "ipAddresses": [ - "13.64.39.16/32", - "40.74.146.80/31", - "40.74.147.32/28" - ], - "firewalls": [ - { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/azureFirewalls/azurefirewall" - } - ] - }, - "etag": "w/\\00000000-0000-0000-0000-000000000000\\" + "parameters": { + "api-version": "2019-09-01", + "subscriptionId": "subId" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "iptag1", + "id": "/subscriptions/subId/providers/Microsoft.Network/resourceGroup/myResourceGroup1/ipGroups", + "type": "Microsoft.Network/ipGroups", + "location": "westcentralus", + "properties": { + "provisioningState": "Succeeded", + "ipAddresses": [ + "13.64.39.16/32", + "40.74.146.80/31", + "40.74.147.32/28" + ], + "firewalls": [ + { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/azureFirewalls/azurefirewall" + } + ] }, - { - "name": "iptag2", - "id": "/subscriptions/subId/providers/Microsoft.Network/resourceGroup/myResourceGroup2/ipGroups", - "type": "Microsoft.Network/ipGroups", - "location": "centralus", - "properties": { - "provisioningState": "Succeeded", - "ipAddresses": [ - "14.64.39.16/32", - "41.74.146.80/31", - "42.74.147.32/28" - ], - "firewalls": [ - { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/azureFirewalls/azurefirewall" - } - ] - }, - "etag": "w/\\00000000-0000-0000-0000-000000000000\\" - } - ] - } + "etag": "w/\\00000000-0000-0000-0000-000000000000\\" + }, + { + "name": "iptag2", + "id": "/subscriptions/subId/providers/Microsoft.Network/resourceGroup/myResourceGroup2/ipGroups", + "type": "Microsoft.Network/ipGroups", + "location": "centralus", + "properties": { + "provisioningState": "Succeeded", + "ipAddresses": [ + "14.64.39.16/32", + "41.74.146.80/31", + "42.74.147.32/28" + ], + "firewalls": [ + { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/azureFirewalls/azurefirewall" + } + ] + }, + "etag": "w/\\00000000-0000-0000-0000-000000000000\\" + } + ] } } - } \ No newline at end of file + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/IpGroupsUpdateTags.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/IpGroupsUpdateTags.json index 41b5d3b0c716..877535a29646 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/IpGroupsUpdateTags.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/examples/IpGroupsUpdateTags.json @@ -1,42 +1,42 @@ { + "parameters": { + "ipGroupsName": "ipGroups1", + "resourceGroupName": "myResourceGroup", + "api-version": "2019-09-01", + "subscriptionId": "subId", "parameters": { - "ipGroupsName": "ipGroups1", - "resourceGroupName": "myResourceGroup", - "api-version": "2019-09-01", - "subscriptionId": "subId", - "parameters": { + "tags": { + "key1": "value1", + "key2": "value2" + } + } + }, + "responses": { + "200": { + "body": { + "name": "ipGroups1", + "id": "/subscriptions/subId/providers/Microsoft.Network/resourceGroup/myResourceGroup/ipGroups/ipGroups1", + "type": "Microsoft.Network/ipGroups", + "location": "westcentralus", "tags": { "key1": "value1", "key2": "value2" - } - } - }, - "responses": { - "200": { - "body": { - "name": "ipGroups1", - "id": "/subscriptions/subId/providers/Microsoft.Network/resourceGroup/myResourceGroup/ipGroups/ipGroups1", - "type": "Microsoft.Network/ipGroups", - "location": "westcentralus", - "tags": { - "key1": "value1", - "key2": "value2" - }, - "properties": { - "provisioningState": "Succeeded", - "ipAddresses": [ - "13.64.39.16/32", - "40.74.146.80/31", - "40.74.147.32/28" - ], - "firewalls": [ - { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/azureFirewalls/azurefirewall" - } - ] - }, - "etag": "w/\\00000000-0000-0000-0000-000000000000\\" - } + }, + "properties": { + "provisioningState": "Succeeded", + "ipAddresses": [ + "13.64.39.16/32", + "40.74.146.80/31", + "40.74.147.32/28" + ], + "firewalls": [ + { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/azureFirewalls/azurefirewall" + } + ] + }, + "etag": "w/\\00000000-0000-0000-0000-000000000000\\" } } - } \ No newline at end of file + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/ipGroups.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/ipGroups.json index 4582d4143da3..0485e31ff3f6 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/ipGroups.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/ipGroups.json @@ -419,4 +419,4 @@ "description": "The IpGroups property information." } } -} \ No newline at end of file +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/privateLinkService.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/privateLinkService.json index cd103296540d..37af797fd7d9 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/privateLinkService.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/privateLinkService.json @@ -488,7 +488,7 @@ } } }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/privateLinkServices/{serviceName}/privateEndpointConnections" : { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/privateLinkServices/{serviceName}/privateEndpointConnections": { "get": { "tags": [ "PrivateLinkServices" 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 eef9cedf9faf..9964e3ffff69 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 @@ -174,4 +174,4 @@ ] } } -} \ 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 a85dbf13e255..9502311983bd 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 @@ -1738,4 +1738,4 @@ "description": "Order Id of the reservation" } } -} \ No newline at end of file +} diff --git a/specification/resources/resource-manager/Microsoft.Resources/preview/2019-10-01-preview/deploymentScripts.json b/specification/resources/resource-manager/Microsoft.Resources/preview/2019-10-01-preview/deploymentScripts.json index 56a53796f73b..d15176061033 100644 --- a/specification/resources/resource-manager/Microsoft.Resources/preview/2019-10-01-preview/deploymentScripts.json +++ b/specification/resources/resource-manager/Microsoft.Resources/preview/2019-10-01-preview/deploymentScripts.json @@ -291,7 +291,7 @@ "200": { "description": "OK -- Returns deployment script logs if available.", "schema": { - "$ref": "#/definitions/ScriptLogsList" + "$ref": "#/definitions/ScriptLogsList" } }, "default": { @@ -405,7 +405,10 @@ }, "location": { "type": "string", - "x-ms-mutability": [ "read", "create" ], + "x-ms-mutability": [ + "read", + "create" + ], "description": "The location of the ACI and the storage account for the deployment script." }, "tags": { diff --git a/specification/resources/resource-manager/Microsoft.Resources/preview/2019-10-01-preview/examples/DeploymentScripts_Get.json b/specification/resources/resource-manager/Microsoft.Resources/preview/2019-10-01-preview/examples/DeploymentScripts_Get.json index 2229356c8221..ee19875a981b 100644 --- a/specification/resources/resource-manager/Microsoft.Resources/preview/2019-10-01-preview/examples/DeploymentScripts_Get.json +++ b/specification/resources/resource-manager/Microsoft.Resources/preview/2019-10-01-preview/examples/DeploymentScripts_Get.json @@ -39,4 +39,3 @@ } } } - diff --git a/specification/resources/resource-manager/Microsoft.Resources/preview/2019-10-01-preview/examples/DeploymentScripts_GetLogs.json b/specification/resources/resource-manager/Microsoft.Resources/preview/2019-10-01-preview/examples/DeploymentScripts_GetLogs.json index 8d8367c9c069..1c0eb430228c 100644 --- a/specification/resources/resource-manager/Microsoft.Resources/preview/2019-10-01-preview/examples/DeploymentScripts_GetLogs.json +++ b/specification/resources/resource-manager/Microsoft.Resources/preview/2019-10-01-preview/examples/DeploymentScripts_GetLogs.json @@ -19,4 +19,3 @@ } } } - diff --git a/specification/resources/resource-manager/Microsoft.Resources/preview/2019-10-01-preview/examples/DeploymentScripts_GetLogsDefault.json b/specification/resources/resource-manager/Microsoft.Resources/preview/2019-10-01-preview/examples/DeploymentScripts_GetLogsDefault.json index 86afac3c5038..a20746044a78 100644 --- a/specification/resources/resource-manager/Microsoft.Resources/preview/2019-10-01-preview/examples/DeploymentScripts_GetLogsDefault.json +++ b/specification/resources/resource-manager/Microsoft.Resources/preview/2019-10-01-preview/examples/DeploymentScripts_GetLogsDefault.json @@ -15,4 +15,3 @@ } } } - diff --git a/specification/resources/resource-manager/Microsoft.Resources/preview/2019-10-01-preview/examples/DeploymentScripts_ListBySubscription.json b/specification/resources/resource-manager/Microsoft.Resources/preview/2019-10-01-preview/examples/DeploymentScripts_ListBySubscription.json index 7e78a294bba4..199c1ed77b31 100644 --- a/specification/resources/resource-manager/Microsoft.Resources/preview/2019-10-01-preview/examples/DeploymentScripts_ListBySubscription.json +++ b/specification/resources/resource-manager/Microsoft.Resources/preview/2019-10-01-preview/examples/DeploymentScripts_ListBySubscription.json @@ -13,8 +13,7 @@ "identity": { "type": "UserAssigned", "userAssignedIdentities": { - "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/scriptRG/providers/Microsoft.ManagedIdentity/userAssignedIdentities/uai": - {} + "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/scriptRG/providers/Microsoft.ManagedIdentity/userAssignedIdentities/uai": {} } }, "properties": { diff --git a/specification/resources/resource-manager/Microsoft.Resources/preview/2019-10-01-preview/examples/DeploymentScripts_Min_Create.json b/specification/resources/resource-manager/Microsoft.Resources/preview/2019-10-01-preview/examples/DeploymentScripts_Min_Create.json index dc4436f997b4..b411784c4591 100644 --- a/specification/resources/resource-manager/Microsoft.Resources/preview/2019-10-01-preview/examples/DeploymentScripts_Min_Create.json +++ b/specification/resources/resource-manager/Microsoft.Resources/preview/2019-10-01-preview/examples/DeploymentScripts_Min_Create.json @@ -21,7 +21,7 @@ } } }, - "responses": { + "responses": { "201": { "body": { "kind": "AzurePowerShell", diff --git a/specification/resources/resource-manager/Microsoft.Resources/preview/2019-10-01-preview/examples/DeploymentScripts_Update.json b/specification/resources/resource-manager/Microsoft.Resources/preview/2019-10-01-preview/examples/DeploymentScripts_Update.json index bddfbbee0d83..c365156e2a9d 100644 --- a/specification/resources/resource-manager/Microsoft.Resources/preview/2019-10-01-preview/examples/DeploymentScripts_Update.json +++ b/specification/resources/resource-manager/Microsoft.Resources/preview/2019-10-01-preview/examples/DeploymentScripts_Update.json @@ -14,8 +14,7 @@ "properties": { "provisioningState": "Succeeded", "azPowerShellVersion": "1.7.0", - "scriptContent": - "Param([string]$Location,[string]$Name) $deploymentScriptOutputs['test'] = 'value' Get-AzResourceGroup -Location $Location -Name $Name", + "scriptContent": "Param([string]$Location,[string]$Name) $deploymentScriptOutputs['test'] = 'value' Get-AzResourceGroup -Location $Location -Name $Name", "arguments": "-Location 'westus' -Name \"*rg2\"", "supportingScriptUris": [ "https://uri1.to.supporting.script", @@ -25,10 +24,8 @@ "timeout": "PT1H", "cleanupPreference": "Always", "status": { - "containerInstanceId": - "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/scriptRG/providers/Microsoft.ContainerInstance/containerGroups/scriptContainer", - "storageAccountId": - "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/scriptRG/providers/Microsoft.Storage/storageAccounts/scriptStorage", + "containerInstanceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/scriptRG/providers/Microsoft.ContainerInstance/containerGroups/scriptContainer", + "storageAccountId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/scriptRG/providers/Microsoft.Storage/storageAccounts/scriptStorage", "startTime": "2018-11-13T15:19:45-08:00", "endTime": "2018-11-13T15:19:45-08:00", "expirationTime": "2018-11-13T15:19:45-08:00" @@ -42,8 +39,7 @@ "identity": { "type": "UserAssigned", "userAssignedIdentities": { - "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/scriptRG/providers/Microsoft.ManagedIdentity/userAssignedIdentities/uai": - {} + "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/scriptRG/providers/Microsoft.ManagedIdentity/userAssignedIdentities/uai": {} } }, "tags": {} 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 88c214abd88c..a969c12cd8a9 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 @@ -6,8 +6,8 @@ "api-version": "6.0", "ServiceDescription": { "ServiceKind": "Stateless", - "ApplicationName": "fabric:\/test", - "ServiceName": "fabric:\/test\/test1", + "ApplicationName": "fabric:/test", + "ServiceName": "fabric:/test/test1", "ServiceTypeName": "StatelessFrontendService", "PartitionDescription": { "PartitionScheme": "Singleton" 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 b909e6c58b05..bc7ada6bb8be 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 @@ -6,8 +6,8 @@ "api-version": "6.0", "ServiceDescription": { "ServiceKind": "Stateful", - "ApplicationName": "fabric:\/test", - "ServiceName": "fabric:\/test\/test2", + "ApplicationName": "fabric:/test", + "ServiceName": "fabric:/test/test2", "ServiceTypeName": "StatefulBackendService", "PartitionDescription": { "PartitionScheme": "Singleton" 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 74461b9b5eef..1d12712e405e 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 @@ -6,8 +6,8 @@ "api-version": "6.0", "ServiceDescription": { "ServiceKind": "Stateless", - "ApplicationName": "fabric:\/test", - "ServiceName": "fabric:\/test\/test1", + "ApplicationName": "fabric:/test", + "ServiceName": "fabric:/test/test1", "ServiceTypeName": "StatelessFrontendService", "InitializationData": [], "PartitionDescription": { @@ -26,7 +26,7 @@ { "ScalingTrigger": { "Kind": "AveragePartitionLoad", - "MetricName": "servicefabric:\/_CpuCores", + "MetricName": "servicefabric:/_CpuCores", "LowerLoadThreshold": 0.300000, "UpperLoadThreshold": 0.800000, "ScaleIntervalInSeconds": 600 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 a83ca1445d09..46f7beb2ade5 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 @@ -6,8 +6,8 @@ "api-version": "6.0", "ServiceDescription": { "ServiceKind": "Stateful", - "ApplicationName": "fabric:\/test", - "ServiceName": "fabric:\/test\/test2", + "ApplicationName": "fabric:/test", + "ServiceName": "fabric:/test/test2", "ServiceTypeName": "StatefulBackendService", "InitializationData": [], "PartitionDescription": { @@ -25,7 +25,7 @@ { "ScalingTrigger": { "Kind": "AverageServiceLoad", - "MetricName": "servicefabric:\/_MemoryInMB", + "MetricName": "servicefabric:/_MemoryInMB", "LowerLoadThreshold": 500, "UpperLoadThreshold": 900, "ScaleIntervalInSeconds": 600 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 669943a0d4cb..9f1025363561 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 @@ -13,7 +13,7 @@ "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" + "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" } } } 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 6d14c7ebe614..584a8d780a51 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 @@ -13,7 +13,7 @@ { "ScalingTrigger": { "Kind": "AveragePartitionLoad", - "MetricName": "servicefabric:\/_CpuCores", + "MetricName": "servicefabric:/_CpuCores", "LowerLoadThreshold": 0.500000, "UpperLoadThreshold": 0.800000, "ScaleIntervalInSeconds": 900 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 88c214abd88c..a969c12cd8a9 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 @@ -6,8 +6,8 @@ "api-version": "6.0", "ServiceDescription": { "ServiceKind": "Stateless", - "ApplicationName": "fabric:\/test", - "ServiceName": "fabric:\/test\/test1", + "ApplicationName": "fabric:/test", + "ServiceName": "fabric:/test/test1", "ServiceTypeName": "StatelessFrontendService", "PartitionDescription": { "PartitionScheme": "Singleton" 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 b909e6c58b05..bc7ada6bb8be 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 @@ -6,8 +6,8 @@ "api-version": "6.0", "ServiceDescription": { "ServiceKind": "Stateful", - "ApplicationName": "fabric:\/test", - "ServiceName": "fabric:\/test\/test2", + "ApplicationName": "fabric:/test", + "ServiceName": "fabric:/test/test2", "ServiceTypeName": "StatefulBackendService", "PartitionDescription": { "PartitionScheme": "Singleton" 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 74461b9b5eef..1d12712e405e 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 @@ -6,8 +6,8 @@ "api-version": "6.0", "ServiceDescription": { "ServiceKind": "Stateless", - "ApplicationName": "fabric:\/test", - "ServiceName": "fabric:\/test\/test1", + "ApplicationName": "fabric:/test", + "ServiceName": "fabric:/test/test1", "ServiceTypeName": "StatelessFrontendService", "InitializationData": [], "PartitionDescription": { @@ -26,7 +26,7 @@ { "ScalingTrigger": { "Kind": "AveragePartitionLoad", - "MetricName": "servicefabric:\/_CpuCores", + "MetricName": "servicefabric:/_CpuCores", "LowerLoadThreshold": 0.300000, "UpperLoadThreshold": 0.800000, "ScaleIntervalInSeconds": 600 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 a83ca1445d09..46f7beb2ade5 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 @@ -6,8 +6,8 @@ "api-version": "6.0", "ServiceDescription": { "ServiceKind": "Stateful", - "ApplicationName": "fabric:\/test", - "ServiceName": "fabric:\/test\/test2", + "ApplicationName": "fabric:/test", + "ServiceName": "fabric:/test/test2", "ServiceTypeName": "StatefulBackendService", "InitializationData": [], "PartitionDescription": { @@ -25,7 +25,7 @@ { "ScalingTrigger": { "Kind": "AverageServiceLoad", - "MetricName": "servicefabric:\/_MemoryInMB", + "MetricName": "servicefabric:/_MemoryInMB", "LowerLoadThreshold": 500, "UpperLoadThreshold": 900, "ScaleIntervalInSeconds": 600 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 669943a0d4cb..9f1025363561 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 @@ -13,7 +13,7 @@ "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" + "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" } } } 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 6d14c7ebe614..584a8d780a51 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 @@ -13,7 +13,7 @@ { "ScalingTrigger": { "Kind": "AveragePartitionLoad", - "MetricName": "servicefabric:\/_CpuCores", + "MetricName": "servicefabric:/_CpuCores", "LowerLoadThreshold": 0.500000, "UpperLoadThreshold": 0.800000, "ScaleIntervalInSeconds": 900 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 88c214abd88c..a969c12cd8a9 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 @@ -6,8 +6,8 @@ "api-version": "6.0", "ServiceDescription": { "ServiceKind": "Stateless", - "ApplicationName": "fabric:\/test", - "ServiceName": "fabric:\/test\/test1", + "ApplicationName": "fabric:/test", + "ServiceName": "fabric:/test/test1", "ServiceTypeName": "StatelessFrontendService", "PartitionDescription": { "PartitionScheme": "Singleton" 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 b909e6c58b05..bc7ada6bb8be 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 @@ -6,8 +6,8 @@ "api-version": "6.0", "ServiceDescription": { "ServiceKind": "Stateful", - "ApplicationName": "fabric:\/test", - "ServiceName": "fabric:\/test\/test2", + "ApplicationName": "fabric:/test", + "ServiceName": "fabric:/test/test2", "ServiceTypeName": "StatefulBackendService", "PartitionDescription": { "PartitionScheme": "Singleton" 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 74461b9b5eef..1d12712e405e 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 @@ -6,8 +6,8 @@ "api-version": "6.0", "ServiceDescription": { "ServiceKind": "Stateless", - "ApplicationName": "fabric:\/test", - "ServiceName": "fabric:\/test\/test1", + "ApplicationName": "fabric:/test", + "ServiceName": "fabric:/test/test1", "ServiceTypeName": "StatelessFrontendService", "InitializationData": [], "PartitionDescription": { @@ -26,7 +26,7 @@ { "ScalingTrigger": { "Kind": "AveragePartitionLoad", - "MetricName": "servicefabric:\/_CpuCores", + "MetricName": "servicefabric:/_CpuCores", "LowerLoadThreshold": 0.300000, "UpperLoadThreshold": 0.800000, "ScaleIntervalInSeconds": 600 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 a83ca1445d09..46f7beb2ade5 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 @@ -6,8 +6,8 @@ "api-version": "6.0", "ServiceDescription": { "ServiceKind": "Stateful", - "ApplicationName": "fabric:\/test", - "ServiceName": "fabric:\/test\/test2", + "ApplicationName": "fabric:/test", + "ServiceName": "fabric:/test/test2", "ServiceTypeName": "StatefulBackendService", "InitializationData": [], "PartitionDescription": { @@ -25,7 +25,7 @@ { "ScalingTrigger": { "Kind": "AverageServiceLoad", - "MetricName": "servicefabric:\/_MemoryInMB", + "MetricName": "servicefabric:/_MemoryInMB", "LowerLoadThreshold": 500, "UpperLoadThreshold": 900, "ScaleIntervalInSeconds": 600 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 669943a0d4cb..9f1025363561 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 @@ -13,7 +13,7 @@ "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" + "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" } } } 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 6d14c7ebe614..584a8d780a51 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 @@ -13,7 +13,7 @@ { "ScalingTrigger": { "Kind": "AveragePartitionLoad", - "MetricName": "servicefabric:\/_CpuCores", + "MetricName": "servicefabric:/_CpuCores", "LowerLoadThreshold": 0.500000, "UpperLoadThreshold": 0.800000, "ScaleIntervalInSeconds": 900 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 88c214abd88c..a969c12cd8a9 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 @@ -6,8 +6,8 @@ "api-version": "6.0", "ServiceDescription": { "ServiceKind": "Stateless", - "ApplicationName": "fabric:\/test", - "ServiceName": "fabric:\/test\/test1", + "ApplicationName": "fabric:/test", + "ServiceName": "fabric:/test/test1", "ServiceTypeName": "StatelessFrontendService", "PartitionDescription": { "PartitionScheme": "Singleton" 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 b909e6c58b05..bc7ada6bb8be 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 @@ -6,8 +6,8 @@ "api-version": "6.0", "ServiceDescription": { "ServiceKind": "Stateful", - "ApplicationName": "fabric:\/test", - "ServiceName": "fabric:\/test\/test2", + "ApplicationName": "fabric:/test", + "ServiceName": "fabric:/test/test2", "ServiceTypeName": "StatefulBackendService", "PartitionDescription": { "PartitionScheme": "Singleton" 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 74461b9b5eef..1d12712e405e 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 @@ -6,8 +6,8 @@ "api-version": "6.0", "ServiceDescription": { "ServiceKind": "Stateless", - "ApplicationName": "fabric:\/test", - "ServiceName": "fabric:\/test\/test1", + "ApplicationName": "fabric:/test", + "ServiceName": "fabric:/test/test1", "ServiceTypeName": "StatelessFrontendService", "InitializationData": [], "PartitionDescription": { @@ -26,7 +26,7 @@ { "ScalingTrigger": { "Kind": "AveragePartitionLoad", - "MetricName": "servicefabric:\/_CpuCores", + "MetricName": "servicefabric:/_CpuCores", "LowerLoadThreshold": 0.300000, "UpperLoadThreshold": 0.800000, "ScaleIntervalInSeconds": 600 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 a83ca1445d09..46f7beb2ade5 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 @@ -6,8 +6,8 @@ "api-version": "6.0", "ServiceDescription": { "ServiceKind": "Stateful", - "ApplicationName": "fabric:\/test", - "ServiceName": "fabric:\/test\/test2", + "ApplicationName": "fabric:/test", + "ServiceName": "fabric:/test/test2", "ServiceTypeName": "StatefulBackendService", "InitializationData": [], "PartitionDescription": { @@ -25,7 +25,7 @@ { "ScalingTrigger": { "Kind": "AverageServiceLoad", - "MetricName": "servicefabric:\/_MemoryInMB", + "MetricName": "servicefabric:/_MemoryInMB", "LowerLoadThreshold": 500, "UpperLoadThreshold": 900, "ScaleIntervalInSeconds": 600 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 669943a0d4cb..9f1025363561 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 @@ -13,7 +13,7 @@ "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" + "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" } } } 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 6d14c7ebe614..584a8d780a51 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 @@ -13,7 +13,7 @@ { "ScalingTrigger": { "Kind": "AveragePartitionLoad", - "MetricName": "servicefabric:\/_CpuCores", + "MetricName": "servicefabric:/_CpuCores", "LowerLoadThreshold": 0.500000, "UpperLoadThreshold": 0.800000, "ScaleIntervalInSeconds": 900 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 3e7e9788ca6c..d45414d04e2e 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 @@ -13,7 +13,7 @@ "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." + "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 '.' or '_' characters and can't start or end with '-' character." } } } diff --git a/specification/storage/resource-manager/Microsoft.Storage/stable/2019-06-01/examples/StorageAccountDeletePrivateEndpointConnection.json b/specification/storage/resource-manager/Microsoft.Storage/stable/2019-06-01/examples/StorageAccountDeletePrivateEndpointConnection.json index ba3a18432002..00f982aa7123 100644 --- a/specification/storage/resource-manager/Microsoft.Storage/stable/2019-06-01/examples/StorageAccountDeletePrivateEndpointConnection.json +++ b/specification/storage/resource-manager/Microsoft.Storage/stable/2019-06-01/examples/StorageAccountDeletePrivateEndpointConnection.json @@ -3,7 +3,7 @@ "subscriptionId": "{subscription-id}", "resourceGroupName": "res6977", "accountName": "sto2527", - "privateEndpointConnectionName":"{privateEndpointConnectionName}", + "privateEndpointConnectionName": "{privateEndpointConnectionName}", "api-version": "2019-06-01", "monitor": "true" }, diff --git a/specification/storage/resource-manager/Microsoft.Storage/stable/2019-06-01/examples/StorageAccountGetPrivateEndpointConnection.json b/specification/storage/resource-manager/Microsoft.Storage/stable/2019-06-01/examples/StorageAccountGetPrivateEndpointConnection.json index 038fc8cc6131..dd7c6f8d5f8a 100644 --- a/specification/storage/resource-manager/Microsoft.Storage/stable/2019-06-01/examples/StorageAccountGetPrivateEndpointConnection.json +++ b/specification/storage/resource-manager/Microsoft.Storage/stable/2019-06-01/examples/StorageAccountGetPrivateEndpointConnection.json @@ -1,30 +1,30 @@ { - "parameters":{ - "subscriptionId":"{subscription-id}", - "resourceGroupName":"res6977", - "accountName":"sto2527", - "privateEndpointConnectionName":"{privateEndpointConnectionName}", - "api-version":"2019-06-01", - "monitor":"true" + "parameters": { + "subscriptionId": "{subscription-id}", + "resourceGroupName": "res6977", + "accountName": "sto2527", + "privateEndpointConnectionName": "{privateEndpointConnectionName}", + "api-version": "2019-06-01", + "monitor": "true" }, - "responses":{ - "200":{ - "body":{ - "id":"/subscriptions/{subscription-id}/resourceGroups/res7231/providers/Microsoft.Storage/storageAccounts/sto288/privateEndpointConnections/{privateEndpointConnectionName}", - "name":"{privateEndpointConnectionName}", - "type":"Microsoft.Storage/storageAccounts/privateEndpointConnections", - "properties":{ - "provisioningState":"Succeeded", - "privateEndpoint":{ - "id":"/subscriptions/{subscription-id}/resourceGroups/res7231/providers/Microsoft.Network/privateEndpoints/petest01" - }, - "privateLinkServiceConnectionState":{ - "status":"Approved", - "description":"Auto-Approved", - "actionRequired":"None" - } - } + "responses": { + "200": { + "body": { + "id": "/subscriptions/{subscription-id}/resourceGroups/res7231/providers/Microsoft.Storage/storageAccounts/sto288/privateEndpointConnections/{privateEndpointConnectionName}", + "name": "{privateEndpointConnectionName}", + "type": "Microsoft.Storage/storageAccounts/privateEndpointConnections", + "properties": { + "provisioningState": "Succeeded", + "privateEndpoint": { + "id": "/subscriptions/{subscription-id}/resourceGroups/res7231/providers/Microsoft.Network/privateEndpoints/petest01" + }, + "privateLinkServiceConnectionState": { + "status": "Approved", + "description": "Auto-Approved", + "actionRequired": "None" + } } - } + } + } } } diff --git a/specification/storage/resource-manager/Microsoft.Storage/stable/2019-06-01/examples/StorageAccountListPrivateLinkResources.json b/specification/storage/resource-manager/Microsoft.Storage/stable/2019-06-01/examples/StorageAccountListPrivateLinkResources.json index fda020777151..2ce179fe5039 100644 --- a/specification/storage/resource-manager/Microsoft.Storage/stable/2019-06-01/examples/StorageAccountListPrivateLinkResources.json +++ b/specification/storage/resource-manager/Microsoft.Storage/stable/2019-06-01/examples/StorageAccountListPrivateLinkResources.json @@ -1,101 +1,101 @@ { - "parameters":{ - "subscriptionId":"{subscription-id}", - "resourceGroupName":"res6977", - "accountName":"sto2527", - "api-version":"2019-06-01", - "monitor":"true" - }, - "responses":{ - "200":{ - "body":{ - "value":[ - { - "id":"/subscriptions/{subscription-id}/resourceGroups/res6977/providers/Microsoft.Storage/storageAccounts/sto2527/privateLinkResources/blob", - "name":"blob", - "type":"Microsoft.Storage/storageAccounts/privateLinkResources", - "properties":{ - "groupId":"blob", - "requiredMembers":[ - "blob" - ], - "requiredZoneNames":[ - "privatelink.blob.core.windows.net" - ] - } - }, - { - "id":"/subscriptions/{subscription-id}/resourceGroups/res6977/providers/Microsoft.Storage/storageAccounts/sto2527/privateLinkResources/blob_secondary", - "name":"blob_secondary", - "type":"Microsoft.Storage/storageAccounts/privateLinkResources", - "properties":{ - "groupId":"blob_secondary", - "requiredMembers":[ - "blob_secondary" - ], - "requiredZoneNames":[ - "privatelink.blob.core.windows.net" - ] - } - }, - { - "id":"/subscriptions/{subscription-id}/resourceGroups/res6977/providers/Microsoft.Storage/storageAccounts/sto2527/privateLinkResources/table", - "name":"table", - "type":"Microsoft.Storage/storageAccounts/privateLinkResources", - "properties":{ - "groupId":"table", - "requiredMembers":[ - "table" - ], - "requiredZoneNames":[ - "privatelink.table.core.windows.net" - ] - } - }, - { - "id":"/subscriptions/{subscription-id}/resourceGroups/res6977/providers/Microsoft.Storage/storageAccounts/sto2527/privateLinkResources/table_secondary", - "name":"table_secondary", - "type":"Microsoft.Storage/storageAccounts/privateLinkResources", - "properties":{ - "groupId":"table_secondary", - "requiredMembers":[ - "table_secondary" - ], - "requiredZoneNames":[ - "privatelink.table.core.windows.net" - ] - } - }, - { - "id":"/subscriptions/{subscription-id}/resourceGroups/res6977/providers/Microsoft.Storage/storageAccounts/sto2527/privateLinkResources/dfs", - "name":"dfs", - "type":"Microsoft.Storage/storageAccounts/privateLinkResources", - "properties":{ - "groupId":"dfs", - "requiredMembers":[ - "dfs" - ], - "requiredZoneNames":[ - "privatelink.dfs.core.windows.net" - ] - } - }, - { - "id":"/subscriptions/{subscription-id}/resourceGroups/res6977/providers/Microsoft.Storage/storageAccounts/sto2527/privateLinkResources/dfs_secondary", - "name":"dfs_secondary", - "type":"Microsoft.Storage/storageAccounts/privateLinkResources", - "properties":{ - "groupId":"dfs_secondary", - "requiredMembers":[ - "dfs_secondary" - ], - "requiredZoneNames":[ - "privatelink.dfs.core.windows.net" - ] - } - } - ] - } + "parameters": { + "subscriptionId": "{subscription-id}", + "resourceGroupName": "res6977", + "accountName": "sto2527", + "api-version": "2019-06-01", + "monitor": "true" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/subscriptions/{subscription-id}/resourceGroups/res6977/providers/Microsoft.Storage/storageAccounts/sto2527/privateLinkResources/blob", + "name": "blob", + "type": "Microsoft.Storage/storageAccounts/privateLinkResources", + "properties": { + "groupId": "blob", + "requiredMembers": [ + "blob" + ], + "requiredZoneNames": [ + "privatelink.blob.core.windows.net" + ] + } + }, + { + "id": "/subscriptions/{subscription-id}/resourceGroups/res6977/providers/Microsoft.Storage/storageAccounts/sto2527/privateLinkResources/blob_secondary", + "name": "blob_secondary", + "type": "Microsoft.Storage/storageAccounts/privateLinkResources", + "properties": { + "groupId": "blob_secondary", + "requiredMembers": [ + "blob_secondary" + ], + "requiredZoneNames": [ + "privatelink.blob.core.windows.net" + ] + } + }, + { + "id": "/subscriptions/{subscription-id}/resourceGroups/res6977/providers/Microsoft.Storage/storageAccounts/sto2527/privateLinkResources/table", + "name": "table", + "type": "Microsoft.Storage/storageAccounts/privateLinkResources", + "properties": { + "groupId": "table", + "requiredMembers": [ + "table" + ], + "requiredZoneNames": [ + "privatelink.table.core.windows.net" + ] + } + }, + { + "id": "/subscriptions/{subscription-id}/resourceGroups/res6977/providers/Microsoft.Storage/storageAccounts/sto2527/privateLinkResources/table_secondary", + "name": "table_secondary", + "type": "Microsoft.Storage/storageAccounts/privateLinkResources", + "properties": { + "groupId": "table_secondary", + "requiredMembers": [ + "table_secondary" + ], + "requiredZoneNames": [ + "privatelink.table.core.windows.net" + ] + } + }, + { + "id": "/subscriptions/{subscription-id}/resourceGroups/res6977/providers/Microsoft.Storage/storageAccounts/sto2527/privateLinkResources/dfs", + "name": "dfs", + "type": "Microsoft.Storage/storageAccounts/privateLinkResources", + "properties": { + "groupId": "dfs", + "requiredMembers": [ + "dfs" + ], + "requiredZoneNames": [ + "privatelink.dfs.core.windows.net" + ] + } + }, + { + "id": "/subscriptions/{subscription-id}/resourceGroups/res6977/providers/Microsoft.Storage/storageAccounts/sto2527/privateLinkResources/dfs_secondary", + "name": "dfs_secondary", + "type": "Microsoft.Storage/storageAccounts/privateLinkResources", + "properties": { + "groupId": "dfs_secondary", + "requiredMembers": [ + "dfs_secondary" + ], + "requiredZoneNames": [ + "privatelink.dfs.core.windows.net" + ] + } + } + ] } - } + } + } } diff --git a/specification/storage/resource-manager/Microsoft.Storage/stable/2019-06-01/examples/StorageAccountPutPrivateEndpointConnection.json b/specification/storage/resource-manager/Microsoft.Storage/stable/2019-06-01/examples/StorageAccountPutPrivateEndpointConnection.json index f07f9454ff04..330ceaacbe5e 100644 --- a/specification/storage/resource-manager/Microsoft.Storage/stable/2019-06-01/examples/StorageAccountPutPrivateEndpointConnection.json +++ b/specification/storage/resource-manager/Microsoft.Storage/stable/2019-06-01/examples/StorageAccountPutPrivateEndpointConnection.json @@ -1,38 +1,38 @@ { - "parameters":{ - "subscriptionId":"{subscription-id}", - "resourceGroupName":"res7687", - "accountName":"sto9699", - "privateEndpointConnectionName":"{privateEndpointConnectionName}", - "api-version":"2019-06-01", - "monitor":"true", - "properties":{ - "properties":{ - "privateLinkServiceConnectionState":{ - "status":"Approved", - "description":"Auto-Approved" - } - } + "parameters": { + "subscriptionId": "{subscription-id}", + "resourceGroupName": "res7687", + "accountName": "sto9699", + "privateEndpointConnectionName": "{privateEndpointConnectionName}", + "api-version": "2019-06-01", + "monitor": "true", + "properties": { + "properties": { + "privateLinkServiceConnectionState": { + "status": "Approved", + "description": "Auto-Approved" + } } - }, - "responses":{ - "200":{ - "body":{ - "id":"/subscriptions/{subscription-id}/resourceGroups/res7231/providers/Microsoft.Storage/storageAccounts/sto288/privateEndpointConnections/{privateEndpointConnectionName}", - "name":"{privateEndpointConnectionName}", - "type":"Microsoft.Storage/storageAccounts/privateEndpointConnections", - "properties":{ - "provisioningState":"Succeeded", - "privateEndpoint":{ - "id":"/subscriptions/{subscription-id}/resourceGroups/res7231/providers/Microsoft.Network/privateEndpoints/petest01" - }, - "privateLinkServiceConnectionState":{ - "status":"Approved", - "description":"Auto-Approved", - "actionRequired":"None" - } - } - } + } + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/{subscription-id}/resourceGroups/res7231/providers/Microsoft.Storage/storageAccounts/sto288/privateEndpointConnections/{privateEndpointConnectionName}", + "name": "{privateEndpointConnectionName}", + "type": "Microsoft.Storage/storageAccounts/privateEndpointConnections", + "properties": { + "provisioningState": "Succeeded", + "privateEndpoint": { + "id": "/subscriptions/{subscription-id}/resourceGroups/res7231/providers/Microsoft.Network/privateEndpoints/petest01" + }, + "privateLinkServiceConnectionState": { + "status": "Approved", + "description": "Auto-Approved", + "actionRequired": "None" + } + } } - } + } + } } 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 787249b005df..2af53a9c9fa5 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 @@ -2737,7 +2737,7 @@ "type": "string" }, "limit": { - "description": "indicates how many resources of a given SKU is available in a AZ-\u003ePG", + "description": "indicates how many resources of a given SKU is available in a AZ->PG", "type": "integer" }, "resourceType": { diff --git a/specification/web/resource-manager/Microsoft.Web/stable/2018-02-01/WebApps.json b/specification/web/resource-manager/Microsoft.Web/stable/2018-02-01/WebApps.json index ca580ebea02f..d34de140f970 100644 --- a/specification/web/resource-manager/Microsoft.Web/stable/2018-02-01/WebApps.json +++ b/specification/web/resource-manager/Microsoft.Web/stable/2018-02-01/WebApps.json @@ -21855,7 +21855,7 @@ "items": { "$ref": "./CommonDefinitions.json#/definitions/GeoDistribution" } - } + } }, "x-ms-client-flatten": true }, @@ -22616,4 +22616,4 @@ ] } ] -} \ No newline at end of file +}