From e85aa20ec13a15efbd5aa7e7eade7a39fd423d15 Mon Sep 17 00:00:00 2001 From: Sean McCullough <44180881+seanmcc-msft@users.noreply.github.com> Date: Fri, 18 Jun 2021 11:54:47 -0500 Subject: [PATCH 01/27] Added App Context and Env Var switch for BlobRequestConditions validation (#21967) --- .../Azure.Storage.Blobs/src/Azure.Storage.Blobs.csproj | 1 + sdk/storage/Azure.Storage.Blobs/src/BlobExtensions.cs | 7 +++++++ sdk/storage/Azure.Storage.Common/src/Shared/Constants.cs | 3 +++ 3 files changed, 11 insertions(+) diff --git a/sdk/storage/Azure.Storage.Blobs/src/Azure.Storage.Blobs.csproj b/sdk/storage/Azure.Storage.Blobs/src/Azure.Storage.Blobs.csproj index e512ca8c25e8..b3ac3a36dac0 100644 --- a/sdk/storage/Azure.Storage.Blobs/src/Azure.Storage.Blobs.csproj +++ b/sdk/storage/Azure.Storage.Blobs/src/Azure.Storage.Blobs.csproj @@ -25,6 +25,7 @@ + diff --git a/sdk/storage/Azure.Storage.Blobs/src/BlobExtensions.cs b/sdk/storage/Azure.Storage.Blobs/src/BlobExtensions.cs index 78c83f08647c..f5849ee4255c 100644 --- a/sdk/storage/Azure.Storage.Blobs/src/BlobExtensions.cs +++ b/sdk/storage/Azure.Storage.Blobs/src/BlobExtensions.cs @@ -1377,6 +1377,13 @@ internal static BlobLegalHoldResult ToBlobLegalHoldInfo(this ResponseWithHeaders #region ValidateConditionsNotPresent internal static void ValidateConditionsNotPresent(this BlobRequestConditions requestConditions, BlobRequestConditionProperty invalidConditions) { + if (AppContextSwitchHelper.GetConfigValue( + Constants.DisableRequestConditionsValidationSwitchName, + Constants.DisableRequestConditionsValidationEnvVar)) + { + return; + } + if (requestConditions == null) { return; diff --git a/sdk/storage/Azure.Storage.Common/src/Shared/Constants.cs b/sdk/storage/Azure.Storage.Common/src/Shared/Constants.cs index b7bef9738e6f..a07f2760fb7c 100644 --- a/sdk/storage/Azure.Storage.Common/src/Shared/Constants.cs +++ b/sdk/storage/Azure.Storage.Common/src/Shared/Constants.cs @@ -104,6 +104,9 @@ internal static class Constants public const string Iso8601Format = "yyyy'-'MM'-'dd'T'HH':'mm':'ssZ"; + public const string DisableRequestConditionsValidationSwitchName = "Azure.Storage.DisableRequestConditionsValidation"; + public const string DisableRequestConditionsValidationEnvVar = "AZURE_STORAGE_DISABLE_REQUEST_CONDITIONS_VALIDATION"; + /// /// Storage Connection String constant values. /// From 2bad3ff3fdac096175a98817f9e400e70ca69b05 Mon Sep 17 00:00:00 2001 From: Chidozie Ononiwu <31145988+chidozieononiwu@users.noreply.github.com> Date: Fri, 18 Jun 2021 10:10:54 -0700 Subject: [PATCH 02/27] update hardcoded master to default branch (#21946) --- eng/pipelines/aggregate-reports.yml | 3 ++- eng/pipelines/mgmt.yml | 1 + eng/pipelines/templates/jobs/ci.yml | 3 ++- eng/scripts/Update-Mgmt-Yml.ps1 | 1 + 4 files changed, 6 insertions(+), 2 deletions(-) diff --git a/eng/pipelines/aggregate-reports.yml b/eng/pipelines/aggregate-reports.yml index 4746a51e1f03..943fe6353be9 100644 --- a/eng/pipelines/aggregate-reports.yml +++ b/eng/pipelines/aggregate-reports.yml @@ -3,7 +3,7 @@ resources: - pipeline: net-core project: internal source: net - core - branch: master + branch: main tags: - scheduled @@ -13,6 +13,7 @@ pr: branches: include: - master + - main paths: include: - eng/pipelines/aggregate-reports.yml diff --git a/eng/pipelines/mgmt.yml b/eng/pipelines/mgmt.yml index 6419664f1345..42628c1d2a99 100644 --- a/eng/pipelines/mgmt.yml +++ b/eng/pipelines/mgmt.yml @@ -3,6 +3,7 @@ pr: branches: include: - master + - main - '*-preview' - 'feature/cplat*' paths: diff --git a/eng/pipelines/templates/jobs/ci.yml b/eng/pipelines/templates/jobs/ci.yml index cf92d54bd4cc..678e5851e6ce 100644 --- a/eng/pipelines/templates/jobs/ci.yml +++ b/eng/pipelines/templates/jobs/ci.yml @@ -48,10 +48,11 @@ jobs: PackageName: "Azure.Template" ServiceDirectory: "template" TestPipeline: ${{ parameters.TestPipeline }} + - template: /eng/common/pipelines/templates/steps/set-default-branch.yml - pwsh: | echo "##vso[build.addbuildtag]Scheduled" displayName: "Tag scheduled builds" - condition: and(eq(variables['Build.SourceBranchName'],'master'),eq(variables['Build.Reason'],'Schedule')) + condition: and(eq(variables['Build.SourceBranchName'],variables['DefaultBranch']),eq(variables['Build.Reason'],'Schedule')) - template: /eng/common/pipelines/templates/steps/daily-dev-build-variable.yml parameters: ServiceDirectory: ${{ parameters.ServiceDirectory }} diff --git a/eng/scripts/Update-Mgmt-Yml.ps1 b/eng/scripts/Update-Mgmt-Yml.ps1 index d6fcf3d81ed0..e4503df207e5 100644 --- a/eng/scripts/Update-Mgmt-Yml.ps1 +++ b/eng/scripts/Update-Mgmt-Yml.ps1 @@ -57,6 +57,7 @@ foreach ($Item in $MgmtDirs) { # Ci and Pr section $PrIncludes.Add('master') +$PrIncludes.Add('main') $PrIncludes.Add('*-preview') $PrBranches.Add("include", $PrIncludes) $PrPaths.Add("include", $Includes) From 6c2d70003ba77ef2b82d661cf70c641d1fa62338 Mon Sep 17 00:00:00 2001 From: Kamil Sobol <61715331+kasobol-msft@users.noreply.github.com> Date: Fri, 18 Jun 2021 10:27:29 -0700 Subject: [PATCH 03/27] [Storage][Webjobs] Honor custom value of QueueOptions.MaxPollingInterval in Development env. (#21969) * if not on defaults, honor custom value. * changelog. --- .../tests/TestHelpers.cs | 14 +++++--- .../CHANGELOG.md | 1 + .../StorageQueuesWebJobsBuilderExtensions.cs | 2 +- ...rageQueuesWebJobsBuilderExtensionsTests.cs | 32 +++++++++++++++++++ 4 files changed, 44 insertions(+), 5 deletions(-) diff --git a/sdk/storage/Microsoft.Azure.WebJobs.Extensions.Storage.Common/tests/TestHelpers.cs b/sdk/storage/Microsoft.Azure.WebJobs.Extensions.Storage.Common/tests/TestHelpers.cs index 03aa87472d95..aa323077d94b 100644 --- a/sdk/storage/Microsoft.Azure.WebJobs.Extensions.Storage.Common/tests/TestHelpers.cs +++ b/sdk/storage/Microsoft.Azure.WebJobs.Extensions.Storage.Common/tests/TestHelpers.cs @@ -29,9 +29,9 @@ public static class TestHelpers /// Delegate used to configure the target extension. /// Set of test configuration values to apply. /// - public static TOptions GetConfiguredOptions(Action configure, Dictionary configValues) where TOptions : class, new() + public static TOptions GetConfiguredOptions(Action configure, Dictionary configValues, string env = default) where TOptions : class, new() { - IHost host = new HostBuilder() + IHostBuilder hostBuilder = new HostBuilder() .ConfigureDefaultTestHost(b => { configure(b); @@ -39,8 +39,14 @@ public static class TestHelpers .ConfigureAppConfiguration(cb => { cb.AddInMemoryCollection(configValues); - }) - .Build(); + }); + + if (env != default) + { + hostBuilder.UseEnvironment(env); + } + + IHost host = hostBuilder.Build(); TOptions options = host.Services.GetRequiredService>().Value; return options; diff --git a/sdk/storage/Microsoft.Azure.WebJobs.Extensions.Storage.Queues/CHANGELOG.md b/sdk/storage/Microsoft.Azure.WebJobs.Extensions.Storage.Queues/CHANGELOG.md index 8ab3d3ec87b2..c20a695f4db8 100644 --- a/sdk/storage/Microsoft.Azure.WebJobs.Extensions.Storage.Queues/CHANGELOG.md +++ b/sdk/storage/Microsoft.Azure.WebJobs.Extensions.Storage.Queues/CHANGELOG.md @@ -1,6 +1,7 @@ # Release History ## 5.0.0-beta.5 (Unreleased) +- QueuesOptions.MaxPollingInterval other than default is now honored in "Development" environment. ## 5.0.0-beta.4 (2021-05-18) diff --git a/sdk/storage/Microsoft.Azure.WebJobs.Extensions.Storage.Queues/src/StorageQueuesWebJobsBuilderExtensions.cs b/sdk/storage/Microsoft.Azure.WebJobs.Extensions.Storage.Queues/src/StorageQueuesWebJobsBuilderExtensions.cs index 2841be5345fc..50af1d956e67 100644 --- a/sdk/storage/Microsoft.Azure.WebJobs.Extensions.Storage.Queues/src/StorageQueuesWebJobsBuilderExtensions.cs +++ b/sdk/storage/Microsoft.Azure.WebJobs.Extensions.Storage.Queues/src/StorageQueuesWebJobsBuilderExtensions.cs @@ -55,7 +55,7 @@ public static IWebJobsBuilder AddAzureStorageQueues(this IWebJobsBuilder builder builder.Services.AddOptions() .Configure((options, env) => { - if (env.IsDevelopment()) + if (env.IsDevelopment() && options.MaxPollingInterval == QueuePollingIntervals.DefaultMaximum) { options.MaxPollingInterval = TimeSpan.FromSeconds(2); } diff --git a/sdk/storage/Microsoft.Azure.WebJobs.Extensions.Storage.Queues/tests/StorageQueuesWebJobsBuilderExtensionsTests.cs b/sdk/storage/Microsoft.Azure.WebJobs.Extensions.Storage.Queues/tests/StorageQueuesWebJobsBuilderExtensionsTests.cs index 1784a992a37e..661f45819337 100644 --- a/sdk/storage/Microsoft.Azure.WebJobs.Extensions.Storage.Queues/tests/StorageQueuesWebJobsBuilderExtensionsTests.cs +++ b/sdk/storage/Microsoft.Azure.WebJobs.Extensions.Storage.Queues/tests/StorageQueuesWebJobsBuilderExtensionsTests.cs @@ -61,5 +61,37 @@ public void ConfigureOptions_AppliesValuesCorrectly_Queues() Assert.AreEqual(10, options.MaxDequeueCount); Assert.AreEqual(TimeSpan.FromSeconds(15), options.VisibilityTimeout); } + + [Test] + public void ConfigureOptions_SetsPollingIntervalToTwoSecondsInDevelopment() + { + var values = new Dictionary + { + }; + + QueuesOptions options = TestHelpers.GetConfiguredOptions(b => + { + b.AddAzureStorageQueues(); + }, values, env: "Development"); + + Assert.AreEqual(TimeSpan.FromSeconds(2), options.MaxPollingInterval); + } + + [Test] + public void ConfigureOptions_HonorsExplicitlySetPollingIntervalInDevelopment() + { + string extensionPath = "AzureWebJobs:Extensions:Queues"; + var values = new Dictionary + { + { $"{extensionPath}:MaxPollingInterval", "00:00:42" }, + }; + + QueuesOptions options = TestHelpers.GetConfiguredOptions(b => + { + b.AddAzureStorageQueues(); + }, values, env: "Development"); + + Assert.AreEqual(TimeSpan.FromSeconds(42), options.MaxPollingInterval); + } } } From 60a3daf1583c1fd89907bf70d3c5eef3724d70d5 Mon Sep 17 00:00:00 2001 From: Caio Saldanha Date: Fri, 18 Jun 2021 10:39:03 -0700 Subject: [PATCH 04/27] [MetricsAdvisor] Minor API changes (#21949) --- .../Azure.AI.MetricsAdvisor/CHANGELOG.md | 2 ++ .../Azure.AI.MetricsAdvisor.netstandard2.0.cs | 7 ++--- .../src/MetricsAdvisorClient.cs | 22 ++++++++-------- .../src/Models/TimeSeries/MetricSeriesData.cs | 18 ++++++++++--- .../AnomalyDetectionLiveTests.cs | 2 +- .../AnomalyDetectionTests.cs | 26 +++++++++---------- .../TimeSeriesLiveTests.cs | 7 +++-- .../Sample09_QueryTimeSeriesInformation.cs | 6 ++--- 8 files changed, 52 insertions(+), 38 deletions(-) diff --git a/sdk/metricsadvisor/Azure.AI.MetricsAdvisor/CHANGELOG.md b/sdk/metricsadvisor/Azure.AI.MetricsAdvisor/CHANGELOG.md index 0e258c5c5de4..b438f70799af 100644 --- a/sdk/metricsadvisor/Azure.AI.MetricsAdvisor/CHANGELOG.md +++ b/sdk/metricsadvisor/Azure.AI.MetricsAdvisor/CHANGELOG.md @@ -8,12 +8,14 @@ - `DataFeedMissingDataPointFillSettings` constructor now takes the required `fillType` parameter. For this reason, the property `FillType` is not nullable anymore. - `EmailNotificationHook` constructor now takes the required `name` parameter. - `WebNotificationHook` constructor now takes the required `name` and `endpoint` parameters. +- In `MetricSeriesData`, removed the `Definition` property. Now, properties `MetricId` and `SeriesKey` can be accessed directly from `MetricSeriesData`. - In `DataPointAnomaly`, renamed property `AnomalyDetectionConfigurationId` to `DetectionConfigurationId`. - In `DataFeedMetric`, renamed constructor parameter `metricName` to `name` only. - In `DataFeedDimension`, renamed constructor parameter `dimensionName` to `name` only. - Moved `GetAlertConfigurationsOptions`, `GetDatasourceCredentialsOptions`, and `GetDetectionConfigurationsOptions` to the `Azure.AI.MetricsAdvisor.Administration` namespace. - Moved `DatasourceCredential`, `DataFeedSource`, `NotificationHook`, and all of their concrete child types to the `Azure.AI.MetricsAdvisor.Administration` namespace. - Moved `MetricFeedback` and all of its concrete child types to the `Azure.AI.MetricsAdvisor` namespace. +- Changed order of parameters of `MetricsAdvisorClient.GetMetricEnrichedSeriesData`. Now, `detectionConfigurationId` appears first. ## 1.0.0-beta.4 (2021-06-07) diff --git a/sdk/metricsadvisor/Azure.AI.MetricsAdvisor/api/Azure.AI.MetricsAdvisor.netstandard2.0.cs b/sdk/metricsadvisor/Azure.AI.MetricsAdvisor/api/Azure.AI.MetricsAdvisor.netstandard2.0.cs index 80cf98d8eb26..09fdebdf631e 100644 --- a/sdk/metricsadvisor/Azure.AI.MetricsAdvisor/api/Azure.AI.MetricsAdvisor.netstandard2.0.cs +++ b/sdk/metricsadvisor/Azure.AI.MetricsAdvisor/api/Azure.AI.MetricsAdvisor.netstandard2.0.cs @@ -203,8 +203,8 @@ public MetricsAdvisorClient(System.Uri endpoint, Azure.Core.TokenCredential cred public virtual Azure.AsyncPageable GetIncidentsAsync(string alertConfigurationId, string alertId, Azure.AI.MetricsAdvisor.GetIncidentsForAlertOptions options = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public virtual Azure.Pageable GetMetricDimensionValues(string metricId, string dimensionName, Azure.AI.MetricsAdvisor.GetMetricDimensionValuesOptions options = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public virtual Azure.AsyncPageable GetMetricDimensionValuesAsync(string metricId, string dimensionName, Azure.AI.MetricsAdvisor.GetMetricDimensionValuesOptions options = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual Azure.Pageable GetMetricEnrichedSeriesData(System.Collections.Generic.IEnumerable seriesKeys, string detectionConfigurationId, System.DateTimeOffset startTime, System.DateTimeOffset endTime, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual Azure.AsyncPageable GetMetricEnrichedSeriesDataAsync(System.Collections.Generic.IEnumerable seriesKeys, string detectionConfigurationId, System.DateTimeOffset startTime, System.DateTimeOffset endTime, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.Pageable GetMetricEnrichedSeriesData(string detectionConfigurationId, System.Collections.Generic.IEnumerable seriesKeys, System.DateTimeOffset startTime, System.DateTimeOffset endTime, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.AsyncPageable GetMetricEnrichedSeriesDataAsync(string detectionConfigurationId, System.Collections.Generic.IEnumerable seriesKeys, System.DateTimeOffset startTime, System.DateTimeOffset endTime, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public virtual Azure.Pageable GetMetricEnrichmentStatuses(string metricId, Azure.AI.MetricsAdvisor.GetMetricEnrichmentStatusesOptions options, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public virtual Azure.AsyncPageable GetMetricEnrichmentStatusesAsync(string metricId, Azure.AI.MetricsAdvisor.GetMetricEnrichmentStatusesOptions options, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public virtual Azure.Pageable GetMetricSeriesData(string metricId, Azure.AI.MetricsAdvisor.GetMetricSeriesDataOptions options, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } @@ -1169,8 +1169,9 @@ internal MetricEnrichedSeriesData() { } public partial class MetricSeriesData { internal MetricSeriesData() { } - public Azure.AI.MetricsAdvisor.Models.MetricSeriesDefinition Definition { get { throw null; } } + public string MetricId { get { throw null; } } public System.Collections.Generic.IReadOnlyList MetricValues { get { throw null; } } + public Azure.AI.MetricsAdvisor.Models.DimensionKey SeriesKey { get { throw null; } } public System.Collections.Generic.IReadOnlyList Timestamps { get { throw null; } } } public partial class MetricSeriesDefinition diff --git a/sdk/metricsadvisor/Azure.AI.MetricsAdvisor/src/MetricsAdvisorClient.cs b/sdk/metricsadvisor/Azure.AI.MetricsAdvisor/src/MetricsAdvisorClient.cs index 7f70792cfb54..0fcdede9a477 100644 --- a/sdk/metricsadvisor/Azure.AI.MetricsAdvisor/src/MetricsAdvisorClient.cs +++ b/sdk/metricsadvisor/Azure.AI.MetricsAdvisor/src/MetricsAdvisorClient.cs @@ -1309,18 +1309,18 @@ Page NextPageFunc(string nextLink, int? pageSizeHint) /// /// Query series enriched by anomaly detection. /// - /// The detection series keys. /// The unique identifier of the . + /// The detection series keys. /// Filters the result. Only data points after this point in time, in UTC, will be returned. /// Filters the result. Only data points after this point in time, in UTC, will be returned. /// A controlling the request lifetime. /// An containing the collection of s. - /// or is null. - /// or is empty; or is not a valid GUID. - public virtual AsyncPageable GetMetricEnrichedSeriesDataAsync(IEnumerable seriesKeys, string detectionConfigurationId, DateTimeOffset startTime, DateTimeOffset endTime, CancellationToken cancellationToken = default) + /// or is null. + /// or is empty; or is not a valid GUID. + public virtual AsyncPageable GetMetricEnrichedSeriesDataAsync(string detectionConfigurationId, IEnumerable seriesKeys, DateTimeOffset startTime, DateTimeOffset endTime, CancellationToken cancellationToken = default) { - Argument.AssertNotNullOrEmpty(seriesKeys, nameof(seriesKeys)); // TODO: add validation for seriesKeys.Dimension? Argument.AssertNotNullOrEmpty(detectionConfigurationId, nameof(detectionConfigurationId)); + Argument.AssertNotNullOrEmpty(seriesKeys, nameof(seriesKeys)); // TODO: add validation for seriesKeys.Dimension? Guid detectionConfigurationGuid = ClientCommon.ValidateGuid(detectionConfigurationId, nameof(detectionConfigurationId)); IEnumerable seriesIdentities = seriesKeys.Select(key => key.ConvertToSeriesIdentity()); @@ -1349,18 +1349,18 @@ async Task> FirstPageFunc(int? pageSizeHint) /// /// Query series enriched by anomaly detection. /// - /// The detection series keys. /// The unique identifier of the . + /// The detection series keys. /// Filters the result. Only data points after this point in time, in UTC, will be returned. /// Filters the result. Only data points after this point in time, in UTC, will be returned. /// A controlling the request lifetime. - /// A containing the collection of s. - /// or is null. - /// or is empty; or is not a valid GUID. - public virtual Pageable GetMetricEnrichedSeriesData(IEnumerable seriesKeys, string detectionConfigurationId, DateTimeOffset startTime, DateTimeOffset endTime, CancellationToken cancellationToken = default) + /// An containing the collection of s. + /// or is null. + /// or is empty; or is not a valid GUID. + public virtual Pageable GetMetricEnrichedSeriesData(string detectionConfigurationId, IEnumerable seriesKeys, DateTimeOffset startTime, DateTimeOffset endTime, CancellationToken cancellationToken = default) { - Argument.AssertNotNullOrEmpty(seriesKeys, nameof(seriesKeys)); // TODO: add validation for seriesKeys.Dimension? Argument.AssertNotNullOrEmpty(detectionConfigurationId, nameof(detectionConfigurationId)); + Argument.AssertNotNullOrEmpty(seriesKeys, nameof(seriesKeys)); // TODO: add validation for seriesKeys.Dimension? Guid detectionConfigurationGuid = ClientCommon.ValidateGuid(detectionConfigurationId, nameof(detectionConfigurationId)); IEnumerable seriesIdentities = seriesKeys.Select(key => key.ConvertToSeriesIdentity()); diff --git a/sdk/metricsadvisor/Azure.AI.MetricsAdvisor/src/Models/TimeSeries/MetricSeriesData.cs b/sdk/metricsadvisor/Azure.AI.MetricsAdvisor/src/Models/TimeSeries/MetricSeriesData.cs index efe0d5c682bf..4b830c7947a3 100644 --- a/sdk/metricsadvisor/Azure.AI.MetricsAdvisor/src/Models/TimeSeries/MetricSeriesData.cs +++ b/sdk/metricsadvisor/Azure.AI.MetricsAdvisor/src/Models/TimeSeries/MetricSeriesData.cs @@ -16,10 +16,16 @@ namespace Azure.AI.MetricsAdvisor.Models public partial class MetricSeriesData { /// - /// Uniquely defines a time series within a . + /// The unique identifier of the associated with this + /// time series. /// - [CodeGenMember("Id")] - public MetricSeriesDefinition Definition { get; } + public string MetricId => Definition.MetricId; + + /// + /// The key that, within a metric, uniquely identifies a time series. Every dimension + /// contained in the associated has been assigned a value. + /// + public DimensionKey SeriesKey => Definition.SeriesKey; /// /// The timestamps, in UTC, of the data points present in this time series. @@ -32,5 +38,11 @@ public partial class MetricSeriesData /// [CodeGenMember("ValueList")] public IReadOnlyList MetricValues { get; } + + /// + /// Uniquely defines a time series within a . + /// + [CodeGenMember("Id")] + internal MetricSeriesDefinition Definition { get; } } } diff --git a/sdk/metricsadvisor/Azure.AI.MetricsAdvisor/tests/MetricsAdvisorClient/AnomalyDetectionLiveTests.cs b/sdk/metricsadvisor/Azure.AI.MetricsAdvisor/tests/MetricsAdvisorClient/AnomalyDetectionLiveTests.cs index b7f0f1f7ef9b..a1be74c82d3a 100644 --- a/sdk/metricsadvisor/Azure.AI.MetricsAdvisor/tests/MetricsAdvisorClient/AnomalyDetectionLiveTests.cs +++ b/sdk/metricsadvisor/Azure.AI.MetricsAdvisor/tests/MetricsAdvisorClient/AnomalyDetectionLiveTests.cs @@ -365,7 +365,7 @@ public async Task GetMetricEnrichedSeriesData(bool useTokenCredential) var seriesKeys = new List() { seriesKey1, seriesKey2 }; var returnedKeys = new List(); - await foreach (MetricEnrichedSeriesData seriesData in client.GetMetricEnrichedSeriesDataAsync(seriesKeys, DetectionConfigurationId, SamplingStartTime, SamplingEndTime)) + await foreach (MetricEnrichedSeriesData seriesData in client.GetMetricEnrichedSeriesDataAsync(DetectionConfigurationId, seriesKeys, SamplingStartTime, SamplingEndTime)) { Assert.That(seriesData, Is.Not.Null); Assert.That(seriesData.SeriesKey, Is.Not.Null); diff --git a/sdk/metricsadvisor/Azure.AI.MetricsAdvisor/tests/MetricsAdvisorClient/AnomalyDetectionTests.cs b/sdk/metricsadvisor/Azure.AI.MetricsAdvisor/tests/MetricsAdvisorClient/AnomalyDetectionTests.cs index 88471504ad8c..9d532f79e367 100644 --- a/sdk/metricsadvisor/Azure.AI.MetricsAdvisor/tests/MetricsAdvisorClient/AnomalyDetectionTests.cs +++ b/sdk/metricsadvisor/Azure.AI.MetricsAdvisor/tests/MetricsAdvisorClient/AnomalyDetectionTests.cs @@ -200,17 +200,17 @@ public void GetMetricEnrichedSeriesDataValidatesArguments() var emptyList = new List(); var seriesKeys = new List() { new DimensionKey() }; - Assert.That(() => client.GetMetricEnrichedSeriesDataAsync(null, FakeGuid, default, default), Throws.InstanceOf()); - Assert.That(() => client.GetMetricEnrichedSeriesDataAsync(emptyList, FakeGuid, default, default), Throws.InstanceOf()); - Assert.That(() => client.GetMetricEnrichedSeriesDataAsync(seriesKeys, null, default, default), Throws.InstanceOf()); - Assert.That(() => client.GetMetricEnrichedSeriesDataAsync(seriesKeys, "", default, default), Throws.InstanceOf()); - Assert.That(() => client.GetMetricEnrichedSeriesDataAsync(seriesKeys, "configId", default, default), Throws.InstanceOf().With.InnerException.TypeOf(typeof(FormatException))); - - Assert.That(() => client.GetMetricEnrichedSeriesData(null, FakeGuid, default, default), Throws.InstanceOf()); - Assert.That(() => client.GetMetricEnrichedSeriesData(emptyList, FakeGuid, default, default), Throws.InstanceOf()); - Assert.That(() => client.GetMetricEnrichedSeriesData(seriesKeys, null, default, default), Throws.InstanceOf()); - Assert.That(() => client.GetMetricEnrichedSeriesData(seriesKeys, "", default, default), Throws.InstanceOf()); - Assert.That(() => client.GetMetricEnrichedSeriesData(seriesKeys, "configId", default, default), Throws.InstanceOf().With.InnerException.TypeOf(typeof(FormatException))); + Assert.That(() => client.GetMetricEnrichedSeriesDataAsync(FakeGuid, null, default, default), Throws.InstanceOf()); + Assert.That(() => client.GetMetricEnrichedSeriesDataAsync(FakeGuid, emptyList, default, default), Throws.InstanceOf()); + Assert.That(() => client.GetMetricEnrichedSeriesDataAsync(null, seriesKeys, default, default), Throws.InstanceOf()); + Assert.That(() => client.GetMetricEnrichedSeriesDataAsync("", seriesKeys, default, default), Throws.InstanceOf()); + Assert.That(() => client.GetMetricEnrichedSeriesDataAsync("configId", seriesKeys, default, default), Throws.InstanceOf().With.InnerException.TypeOf(typeof(FormatException))); + + Assert.That(() => client.GetMetricEnrichedSeriesData(FakeGuid, null, default, default), Throws.InstanceOf()); + Assert.That(() => client.GetMetricEnrichedSeriesData(FakeGuid, emptyList, default, default), Throws.InstanceOf()); + Assert.That(() => client.GetMetricEnrichedSeriesData(null, seriesKeys, default, default), Throws.InstanceOf()); + Assert.That(() => client.GetMetricEnrichedSeriesData("", seriesKeys, default, default), Throws.InstanceOf()); + Assert.That(() => client.GetMetricEnrichedSeriesData("configId", seriesKeys, default, default), Throws.InstanceOf().With.InnerException.TypeOf(typeof(FormatException))); } [Test] @@ -224,10 +224,10 @@ public void GetMetricEnrichedSeriesDataRespectsTheCancellationToken() using var cancellationSource = new CancellationTokenSource(); cancellationSource.Cancel(); - IAsyncEnumerator asyncEnumerator = client.GetMetricEnrichedSeriesDataAsync(seriesKeys, FakeGuid, default, default, cancellationSource.Token).GetAsyncEnumerator(); + IAsyncEnumerator asyncEnumerator = client.GetMetricEnrichedSeriesDataAsync(FakeGuid, seriesKeys, default, default, cancellationSource.Token).GetAsyncEnumerator(); Assert.That(async () => await asyncEnumerator.MoveNextAsync(), Throws.InstanceOf()); - IEnumerator enumerator = client.GetMetricEnrichedSeriesData(seriesKeys, FakeGuid, default, default, cancellationSource.Token).GetEnumerator(); + IEnumerator enumerator = client.GetMetricEnrichedSeriesData(FakeGuid, seriesKeys, default, default, cancellationSource.Token).GetEnumerator(); Assert.That(() => enumerator.MoveNext(), Throws.InstanceOf()); } diff --git a/sdk/metricsadvisor/Azure.AI.MetricsAdvisor/tests/MetricsAdvisorClient/TimeSeriesLiveTests.cs b/sdk/metricsadvisor/Azure.AI.MetricsAdvisor/tests/MetricsAdvisorClient/TimeSeriesLiveTests.cs index 42c64b588d12..5066072921cf 100644 --- a/sdk/metricsadvisor/Azure.AI.MetricsAdvisor/tests/MetricsAdvisorClient/TimeSeriesLiveTests.cs +++ b/sdk/metricsadvisor/Azure.AI.MetricsAdvisor/tests/MetricsAdvisorClient/TimeSeriesLiveTests.cs @@ -160,12 +160,11 @@ public async Task GetMetricSeriesData(bool useTokenCredential) await foreach (MetricSeriesData seriesData in client.GetMetricSeriesDataAsync(MetricId, options)) { Assert.That(seriesData, Is.Not.Null); - Assert.That(seriesData.Definition, Is.Not.Null); - Assert.That(seriesData.Definition.SeriesKey, Is.Not.Null); + Assert.That(seriesData.SeriesKey, Is.Not.Null); Assert.That(seriesData.Timestamps, Is.Not.Null); Assert.That(seriesData.MetricValues, Is.Not.Null); - Assert.That(seriesData.Definition.MetricId, Is.EqualTo(MetricId)); + Assert.That(seriesData.MetricId, Is.EqualTo(MetricId)); Assert.That(seriesData.Timestamps.Count, Is.EqualTo(seriesData.MetricValues.Count)); @@ -174,7 +173,7 @@ public async Task GetMetricSeriesData(bool useTokenCredential) Assert.That(timestamp, Is.InRange(SamplingStartTime, SamplingEndTime)); } - returnedKeys.Add(seriesData.Definition.SeriesKey); + returnedKeys.Add(seriesData.SeriesKey); } Assert.That(returnedKeys.Count, Is.EqualTo(2)); diff --git a/sdk/metricsadvisor/Azure.AI.MetricsAdvisor/tests/Samples/Sample09_QueryTimeSeriesInformation.cs b/sdk/metricsadvisor/Azure.AI.MetricsAdvisor/tests/Samples/Sample09_QueryTimeSeriesInformation.cs index 8500a9c956be..edc5e81e1561 100644 --- a/sdk/metricsadvisor/Azure.AI.MetricsAdvisor/tests/Samples/Sample09_QueryTimeSeriesInformation.cs +++ b/sdk/metricsadvisor/Azure.AI.MetricsAdvisor/tests/Samples/Sample09_QueryTimeSeriesInformation.cs @@ -180,10 +180,10 @@ public async Task GetMetricSeriesDataAsync() await foreach (MetricSeriesData seriesData in client.GetMetricSeriesDataAsync(metricId, options)) { - Console.WriteLine($"Time series metric ID: {seriesData.Definition.MetricId}"); + Console.WriteLine($"Time series metric ID: {seriesData.MetricId}"); Console.WriteLine("Time series key:"); - foreach (KeyValuePair keyValuePair in seriesData.Definition.SeriesKey.AsDictionary()) + foreach (KeyValuePair keyValuePair in seriesData.SeriesKey.AsDictionary()) { Console.WriteLine($" Dimension '{keyValuePair.Key}': {keyValuePair.Value}"); } @@ -229,7 +229,7 @@ public async Task GetMetricEnrichedSeriesDataAsync() var startTime = DateTimeOffset.Parse("2020-01-01T00:00:00Z"); var endTime = DateTimeOffset.UtcNow; - await foreach (MetricEnrichedSeriesData seriesData in client.GetMetricEnrichedSeriesDataAsync(seriesKeys, detectionConfigurationId, startTime, endTime)) + await foreach (MetricEnrichedSeriesData seriesData in client.GetMetricEnrichedSeriesDataAsync(detectionConfigurationId, seriesKeys, startTime, endTime)) { Console.WriteLine("Time series key:"); From 6a5198bc6d982a9f6b29f4a26d443dcb68f174ef Mon Sep 17 00:00:00 2001 From: Heath Stewart Date: Fri, 18 Jun 2021 10:50:10 -0700 Subject: [PATCH 05/27] Remove Microsoft.Azure.KeyVault.sln (#21896) Since track 1 SDKs are deprecated, remove the solution to avoid having to type the solution name when building from sdk/keyvault each time. This shouldn't affect the build which enumerates projects within service directories. --- sdk/keyvault/Microsoft.Azure.KeyVault.sln | 76 ----------------------- 1 file changed, 76 deletions(-) delete mode 100644 sdk/keyvault/Microsoft.Azure.KeyVault.sln diff --git a/sdk/keyvault/Microsoft.Azure.KeyVault.sln b/sdk/keyvault/Microsoft.Azure.KeyVault.sln deleted file mode 100644 index 86360ca17cb2..000000000000 --- a/sdk/keyvault/Microsoft.Azure.KeyVault.sln +++ /dev/null @@ -1,76 +0,0 @@ - -Microsoft Visual Studio Solution File, Format Version 12.00 -# Visual Studio 15 -VisualStudioVersion = 15.0.26430.16 -MinimumVisualStudioVersion = 10.0.40219.1 -Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Microsoft.Azure.KeyVault", "Microsoft.Azure.KeyVault\src\Microsoft.Azure.KeyVault.csproj", "{F0FBD614-4B4B-445B-B562-235CDB3844B7}" -EndProject -Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Microsoft.Azure.KeyVault.Tests", "Microsoft.Azure.KeyVault\tests\Microsoft.Azure.KeyVault.Tests.csproj", "{6F5823CD-D1D7-4DF4-BE61-F07FD8134400}" -EndProject -Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Microsoft.Azure.KeyVault.Core", "Microsoft.Azure.KeyVault.Core\src\Microsoft.Azure.KeyVault.Core.csproj", "{BE53CF33-9A3D-4101-9DFD-62AC09CADADA}" -EndProject -Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Microsoft.Azure.KeyVault.Cryptography", "Microsoft.Azure.KeyVault.Cryptography\src\Microsoft.Azure.KeyVault.Cryptography.csproj", "{9021F320-DE06-433B-ADBC-25A5BC0AA43B}" -EndProject -Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Microsoft.Azure.KeyVault.Cryptography.Tests", "Microsoft.Azure.KeyVault.Cryptography\tests\Microsoft.Azure.KeyVault.Cryptography.Tests.csproj", "{E01674C0-B8D7-4598-971C-48B0180E273F}" -EndProject -Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Microsoft.Azure.KeyVault.Extensions", "Microsoft.Azure.KeyVault.Extensions\src\Microsoft.Azure.KeyVault.Extensions.csproj", "{9021F320-DE06-433B-ADBC-25A5BC0AA43C}" -EndProject -Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Microsoft.Azure.KeyVault.Extensions.Tests", "Microsoft.Azure.KeyVault.Extensions\tests\Microsoft.Azure.KeyVault.Extensions.Tests.csproj", "{E01674C0-B8D7-4598-971C-48B0180E274A}" -EndProject -Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Microsoft.Azure.KeyVault.TestFramework", "Microsoft.Azure.KeyVault\tests\TestFramework\Microsoft.Azure.KeyVault.TestFramework.csproj", "{6F5823CD-D1D7-4DF4-BE61-F07FD8134433}" -EndProject -Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Microsoft.Azure.KeyVault.WebKey", "Microsoft.Azure.KeyVault.WebKey\src\Microsoft.Azure.KeyVault.WebKey.csproj", "{643372AD-2DBC-4395-95B9-61183D3F2904}" -EndProject -Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Microsoft.Azure.KeyVault.WebKey.Tests", "Microsoft.Azure.KeyVault.WebKey\tests\Microsoft.Azure.KeyVault.WebKey.Tests.csproj", "{6F5823CD-D1D7-4DF4-BE61-F07FD813440A}" -EndProject -Global - GlobalSection(SolutionConfigurationPlatforms) = preSolution - Debug|Any CPU = Debug|Any CPU - Release|Any CPU = Release|Any CPU - EndGlobalSection - GlobalSection(ProjectConfigurationPlatforms) = postSolution - {F0FBD614-4B4B-445B-B562-235CDB3844B7}.Debug|Any CPU.ActiveCfg = Debug|Any CPU - {F0FBD614-4B4B-445B-B562-235CDB3844B7}.Debug|Any CPU.Build.0 = Debug|Any CPU - {F0FBD614-4B4B-445B-B562-235CDB3844B7}.Release|Any CPU.ActiveCfg = Release|Any CPU - {F0FBD614-4B4B-445B-B562-235CDB3844B7}.Release|Any CPU.Build.0 = Release|Any CPU - {6F5823CD-D1D7-4DF4-BE61-F07FD8134400}.Debug|Any CPU.ActiveCfg = Debug|Any CPU - {6F5823CD-D1D7-4DF4-BE61-F07FD8134400}.Debug|Any CPU.Build.0 = Debug|Any CPU - {6F5823CD-D1D7-4DF4-BE61-F07FD8134400}.Release|Any CPU.ActiveCfg = Release|Any CPU - {6F5823CD-D1D7-4DF4-BE61-F07FD8134400}.Release|Any CPU.Build.0 = Release|Any CPU - {BE53CF33-9A3D-4101-9DFD-62AC09CADADA}.Debug|Any CPU.ActiveCfg = Debug|Any CPU - {BE53CF33-9A3D-4101-9DFD-62AC09CADADA}.Debug|Any CPU.Build.0 = Debug|Any CPU - {BE53CF33-9A3D-4101-9DFD-62AC09CADADA}.Release|Any CPU.ActiveCfg = Release|Any CPU - {BE53CF33-9A3D-4101-9DFD-62AC09CADADA}.Release|Any CPU.Build.0 = Release|Any CPU - {9021F320-DE06-433B-ADBC-25A5BC0AA43B}.Debug|Any CPU.ActiveCfg = Debug|Any CPU - {9021F320-DE06-433B-ADBC-25A5BC0AA43B}.Debug|Any CPU.Build.0 = Debug|Any CPU - {9021F320-DE06-433B-ADBC-25A5BC0AA43B}.Release|Any CPU.ActiveCfg = Release|Any CPU - {9021F320-DE06-433B-ADBC-25A5BC0AA43B}.Release|Any CPU.Build.0 = Release|Any CPU - {E01674C0-B8D7-4598-971C-48B0180E273F}.Debug|Any CPU.ActiveCfg = Debug|Any CPU - {E01674C0-B8D7-4598-971C-48B0180E273F}.Debug|Any CPU.Build.0 = Debug|Any CPU - {E01674C0-B8D7-4598-971C-48B0180E273F}.Release|Any CPU.ActiveCfg = Release|Any CPU - {E01674C0-B8D7-4598-971C-48B0180E273F}.Release|Any CPU.Build.0 = Release|Any CPU - {9021F320-DE06-433B-ADBC-25A5BC0AA43C}.Debug|Any CPU.ActiveCfg = Debug|Any CPU - {9021F320-DE06-433B-ADBC-25A5BC0AA43C}.Debug|Any CPU.Build.0 = Debug|Any CPU - {9021F320-DE06-433B-ADBC-25A5BC0AA43C}.Release|Any CPU.ActiveCfg = Release|Any CPU - {9021F320-DE06-433B-ADBC-25A5BC0AA43C}.Release|Any CPU.Build.0 = Release|Any CPU - {E01674C0-B8D7-4598-971C-48B0180E274A}.Debug|Any CPU.ActiveCfg = Debug|Any CPU - {E01674C0-B8D7-4598-971C-48B0180E274A}.Debug|Any CPU.Build.0 = Debug|Any CPU - {E01674C0-B8D7-4598-971C-48B0180E274A}.Release|Any CPU.ActiveCfg = Release|Any CPU - {E01674C0-B8D7-4598-971C-48B0180E274A}.Release|Any CPU.Build.0 = Release|Any CPU - {6F5823CD-D1D7-4DF4-BE61-F07FD8134433}.Debug|Any CPU.ActiveCfg = Debug|Any CPU - {6F5823CD-D1D7-4DF4-BE61-F07FD8134433}.Debug|Any CPU.Build.0 = Debug|Any CPU - {6F5823CD-D1D7-4DF4-BE61-F07FD8134433}.Release|Any CPU.ActiveCfg = Release|Any CPU - {6F5823CD-D1D7-4DF4-BE61-F07FD8134433}.Release|Any CPU.Build.0 = Release|Any CPU - {643372AD-2DBC-4395-95B9-61183D3F2904}.Debug|Any CPU.ActiveCfg = Debug|Any CPU - {643372AD-2DBC-4395-95B9-61183D3F2904}.Debug|Any CPU.Build.0 = Debug|Any CPU - {643372AD-2DBC-4395-95B9-61183D3F2904}.Release|Any CPU.ActiveCfg = Release|Any CPU - {643372AD-2DBC-4395-95B9-61183D3F2904}.Release|Any CPU.Build.0 = Release|Any CPU - {6F5823CD-D1D7-4DF4-BE61-F07FD813440A}.Debug|Any CPU.ActiveCfg = Debug|Any CPU - {6F5823CD-D1D7-4DF4-BE61-F07FD813440A}.Debug|Any CPU.Build.0 = Debug|Any CPU - {6F5823CD-D1D7-4DF4-BE61-F07FD813440A}.Release|Any CPU.ActiveCfg = Release|Any CPU - {6F5823CD-D1D7-4DF4-BE61-F07FD813440A}.Release|Any CPU.Build.0 = Release|Any CPU - EndGlobalSection - GlobalSection(SolutionProperties) = preSolution - HideSolutionNode = FALSE - EndGlobalSection -EndGlobal From a140aaf186ab157a2133cbbf3e4eccb9407640b6 Mon Sep 17 00:00:00 2001 From: Scott Addie <10702007+scottaddie@users.noreply.github.com> Date: Fri, 18 Jun 2021 15:09:45 -0500 Subject: [PATCH 06/27] fix typo in Monitor Query package description (#21752) --- sdk/monitor/Azure.Monitor.Query/src/Azure.Monitor.Query.csproj | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sdk/monitor/Azure.Monitor.Query/src/Azure.Monitor.Query.csproj b/sdk/monitor/Azure.Monitor.Query/src/Azure.Monitor.Query.csproj index 856c49c228c4..5925eea8a79b 100644 --- a/sdk/monitor/Azure.Monitor.Query/src/Azure.Monitor.Query.csproj +++ b/sdk/monitor/Azure.Monitor.Query/src/Azure.Monitor.Query.csproj @@ -1,6 +1,6 @@ - This library allows querying logs and metrics from the Azure Motnitor service. + This library allows querying logs and metrics from the Azure Monitor service. Azure Monitor Query client library 1.0.0-beta.2 Azure Monitor Query From e5eab14f2554617127da8f44bc952742e94373d1 Mon Sep 17 00:00:00 2001 From: Sean McCullough <44180881+seanmcc-msft@users.noreply.github.com> Date: Fri, 18 Jun 2021 15:17:42 -0500 Subject: [PATCH 07/27] [Storage] AppendBlobClient request validation (#21974) --- .../src/AppendBlobClient.cs | 20 ++++ .../Azure.Storage.Blobs/src/BlobExtensions.cs | 64 +++++++++-- .../Internal/BlobRequestConditionProperty.cs | 5 +- .../tests/AppendBlobClientTests.cs | 108 +++++++++++++++++- ...stConditions(%IfAppendPositionEqual%).json | 6 + ...ditions(%IfAppendPositionEqual%)Async.json | 6 + ...onditions(%IfMaxSizeLessThanOrEqual%).json | 6 + ...ions(%IfMaxSizeLessThanOrEqual%)Async.json | 6 + ...lidSourceRequestConditions(%LeaseId%).json | 6 + ...urceRequestConditions(%LeaseId%)Async.json | 6 + ...rceRequestConditions(%TagConditions%).json | 6 + ...questConditions(%TagConditions%)Async.json | 6 + ...stConditions(%IfAppendPositionEqual%).json | 6 + ...ditions(%IfAppendPositionEqual%)Async.json | 6 + ...onditions(%IfMaxSizeLessThanOrEqual%).json | 6 + ...ions(%IfMaxSizeLessThanOrEqual%)Async.json | 6 + ...onditions(%IfMaxSizeLessThanOrEqual%).json | 6 + ...ions(%IfMaxSizeLessThanOrEqual%)Async.json | 6 + ...lidRequestConditions(%TagConditions%).json | 6 + ...questConditions(%TagConditions%)Async.json | 6 + 20 files changed, 283 insertions(+), 10 deletions(-) create mode 100644 sdk/storage/Azure.Storage.Blobs/tests/SessionRecords/AppendBlobClientTests/AppendBlockFromUriAsync_InvalidSourceRequestConditions(%IfAppendPositionEqual%).json create mode 100644 sdk/storage/Azure.Storage.Blobs/tests/SessionRecords/AppendBlobClientTests/AppendBlockFromUriAsync_InvalidSourceRequestConditions(%IfAppendPositionEqual%)Async.json create mode 100644 sdk/storage/Azure.Storage.Blobs/tests/SessionRecords/AppendBlobClientTests/AppendBlockFromUriAsync_InvalidSourceRequestConditions(%IfMaxSizeLessThanOrEqual%).json create mode 100644 sdk/storage/Azure.Storage.Blobs/tests/SessionRecords/AppendBlobClientTests/AppendBlockFromUriAsync_InvalidSourceRequestConditions(%IfMaxSizeLessThanOrEqual%)Async.json create mode 100644 sdk/storage/Azure.Storage.Blobs/tests/SessionRecords/AppendBlobClientTests/AppendBlockFromUriAsync_InvalidSourceRequestConditions(%LeaseId%).json create mode 100644 sdk/storage/Azure.Storage.Blobs/tests/SessionRecords/AppendBlobClientTests/AppendBlockFromUriAsync_InvalidSourceRequestConditions(%LeaseId%)Async.json create mode 100644 sdk/storage/Azure.Storage.Blobs/tests/SessionRecords/AppendBlobClientTests/AppendBlockFromUriAsync_InvalidSourceRequestConditions(%TagConditions%).json create mode 100644 sdk/storage/Azure.Storage.Blobs/tests/SessionRecords/AppendBlobClientTests/AppendBlockFromUriAsync_InvalidSourceRequestConditions(%TagConditions%)Async.json create mode 100644 sdk/storage/Azure.Storage.Blobs/tests/SessionRecords/AppendBlobClientTests/CreateAsync_InvalidRequestConditions(%IfAppendPositionEqual%).json create mode 100644 sdk/storage/Azure.Storage.Blobs/tests/SessionRecords/AppendBlobClientTests/CreateAsync_InvalidRequestConditions(%IfAppendPositionEqual%)Async.json create mode 100644 sdk/storage/Azure.Storage.Blobs/tests/SessionRecords/AppendBlobClientTests/CreateAsync_InvalidRequestConditions(%IfMaxSizeLessThanOrEqual%).json create mode 100644 sdk/storage/Azure.Storage.Blobs/tests/SessionRecords/AppendBlobClientTests/CreateAsync_InvalidRequestConditions(%IfMaxSizeLessThanOrEqual%)Async.json create mode 100644 sdk/storage/Azure.Storage.Blobs/tests/SessionRecords/AppendBlobClientTests/SealAsync_InvalidRequestConditions(%IfMaxSizeLessThanOrEqual%).json create mode 100644 sdk/storage/Azure.Storage.Blobs/tests/SessionRecords/AppendBlobClientTests/SealAsync_InvalidRequestConditions(%IfMaxSizeLessThanOrEqual%)Async.json create mode 100644 sdk/storage/Azure.Storage.Blobs/tests/SessionRecords/AppendBlobClientTests/SealAsync_InvalidRequestConditions(%TagConditions%).json create mode 100644 sdk/storage/Azure.Storage.Blobs/tests/SessionRecords/AppendBlobClientTests/SealAsync_InvalidRequestConditions(%TagConditions%)Async.json diff --git a/sdk/storage/Azure.Storage.Blobs/src/AppendBlobClient.cs b/sdk/storage/Azure.Storage.Blobs/src/AppendBlobClient.cs index e2ab12a22f7c..e4512245fdd2 100644 --- a/sdk/storage/Azure.Storage.Blobs/src/AppendBlobClient.cs +++ b/sdk/storage/Azure.Storage.Blobs/src/AppendBlobClient.cs @@ -866,6 +866,10 @@ private async Task> CreateInternal( DiagnosticScope scope = ClientConfiguration.ClientDiagnostics.CreateScope($"{nameof(AppendBlobClient)}.{nameof(Create)}"); + conditions.ValidateConditionsNotPresent( + BlobRequestConditionProperty.IfAppendPositionEqual + | BlobRequestConditionProperty.IfMaxSizeLessThanOrEqual); + try { scope.Start(); @@ -1127,6 +1131,9 @@ internal async Task> AppendBlockInternal( DiagnosticScope scope = ClientConfiguration.ClientDiagnostics.CreateScope($"{nameof(AppendBlobClient)}.{nameof(AppendBlock)}"); + // All AppendBlobRequestConditions are valid. + conditions.ValidateConditionsNotPresent(BlobRequestConditionProperty.None); + try { scope.Start(); @@ -1522,6 +1529,15 @@ private async Task> AppendBlockFromUriInternal( DiagnosticScope scope = ClientConfiguration.ClientDiagnostics.CreateScope($"{nameof(AppendBlobClient)}.{nameof(AppendBlockFromUri)}"); + // All destination AppendBlobRequestConditions are valid. + conditions.ValidateConditionsNotPresent(BlobRequestConditionProperty.None); + + sourceConditions.ValidateConditionsNotPresent( + BlobRequestConditionProperty.LeaseId + | BlobRequestConditionProperty.TagConditions + | BlobRequestConditionProperty.IfAppendPositionEqual + | BlobRequestConditionProperty.IfMaxSizeLessThanOrEqual); + try { scope.Start(); @@ -1691,6 +1707,10 @@ private async Task> SealInternal( { DiagnosticScope scope = ClientConfiguration.ClientDiagnostics.CreateScope($"{nameof(AppendBlobClient)}.{nameof(Seal)}"); + conditions.ValidateConditionsNotPresent( + BlobRequestConditionProperty.IfMaxSizeLessThanOrEqual + | BlobRequestConditionProperty.TagConditions); + try { scope.Start(); diff --git a/sdk/storage/Azure.Storage.Blobs/src/BlobExtensions.cs b/sdk/storage/Azure.Storage.Blobs/src/BlobExtensions.cs index f5849ee4255c..9f6d0ad097d8 100644 --- a/sdk/storage/Azure.Storage.Blobs/src/BlobExtensions.cs +++ b/sdk/storage/Azure.Storage.Blobs/src/BlobExtensions.cs @@ -1375,7 +1375,7 @@ internal static BlobLegalHoldResult ToBlobLegalHoldInfo(this ResponseWithHeaders #endregion #region ValidateConditionsNotPresent - internal static void ValidateConditionsNotPresent(this BlobRequestConditions requestConditions, BlobRequestConditionProperty invalidConditions) + internal static void ValidateConditionsNotPresent(this BlobLeaseRequestConditions requestConditions, BlobRequestConditionProperty invalidConditions) { if (AppContextSwitchHelper.GetConfigValue( Constants.DisableRequestConditionsValidationSwitchName, @@ -1389,12 +1389,6 @@ internal static void ValidateConditionsNotPresent(this BlobRequestConditions req return; } - if ((invalidConditions & BlobRequestConditionProperty.LeaseId) == BlobRequestConditionProperty.LeaseId - && requestConditions.LeaseId != null) - { - throw new ArgumentException($"{nameof(BlobRequestConditions.LeaseId)} is not applicable to this API."); - } - if ((invalidConditions & BlobRequestConditionProperty.TagConditions) == BlobRequestConditionProperty.TagConditions && requestConditions.TagConditions != null) { @@ -1425,6 +1419,62 @@ internal static void ValidateConditionsNotPresent(this BlobRequestConditions req throw new ArgumentException($"{nameof(BlobRequestConditions.IfNoneMatch)} is not applicable to this API."); } } + + internal static void ValidateConditionsNotPresent(this BlobRequestConditions requestConditions, BlobRequestConditionProperty invalidConditions) + { + if (AppContextSwitchHelper.GetConfigValue( + Constants.DisableRequestConditionsValidationSwitchName, + Constants.DisableRequestConditionsValidationEnvVar)) + { + return; + } + + if (requestConditions == null) + { + return; + } + + // Validate BlobLeaseRequestConditions conditions. + ((BlobLeaseRequestConditions)requestConditions).ValidateConditionsNotPresent(invalidConditions); + + // Validate BlobRequestConditions specific conditions. + if ((invalidConditions & BlobRequestConditionProperty.LeaseId) == BlobRequestConditionProperty.LeaseId + && requestConditions.LeaseId != null) + { + throw new ArgumentException($"{nameof(BlobRequestConditions.LeaseId)} is not applicable to this API."); + } + } + + internal static void ValidateConditionsNotPresent(this AppendBlobRequestConditions requestConditions, BlobRequestConditionProperty invalidConditions) + { + if (AppContextSwitchHelper.GetConfigValue( + Constants.DisableRequestConditionsValidationSwitchName, + Constants.DisableRequestConditionsValidationEnvVar)) + { + return; + } + + if (requestConditions == null) + { + return; + } + + // Validate BlobRequestConditions + ((BlobRequestConditions)requestConditions).ValidateConditionsNotPresent(invalidConditions); + + // Validate AppendBlobRequestConditions specific conditions. + if ((invalidConditions & BlobRequestConditionProperty.IfAppendPositionEqual) == BlobRequestConditionProperty.IfAppendPositionEqual + && requestConditions.IfAppendPositionEqual != null) + { + throw new ArgumentException($"{nameof(AppendBlobRequestConditions.IfAppendPositionEqual)} is not applicable to this API."); + } + + if ((invalidConditions & BlobRequestConditionProperty.IfMaxSizeLessThanOrEqual) == BlobRequestConditionProperty.IfMaxSizeLessThanOrEqual + && requestConditions.IfMaxSizeLessThanOrEqual != null) + { + throw new ArgumentException($"{nameof(AppendBlobRequestConditions.IfMaxSizeLessThanOrEqual)} is not applicable to this API."); + } + } #endregion } } diff --git a/sdk/storage/Azure.Storage.Blobs/src/Models/Internal/BlobRequestConditionProperty.cs b/sdk/storage/Azure.Storage.Blobs/src/Models/Internal/BlobRequestConditionProperty.cs index 3341d19d26b5..7446cb3f16a7 100644 --- a/sdk/storage/Azure.Storage.Blobs/src/Models/Internal/BlobRequestConditionProperty.cs +++ b/sdk/storage/Azure.Storage.Blobs/src/Models/Internal/BlobRequestConditionProperty.cs @@ -5,11 +5,14 @@ namespace Azure.Storage.Blobs.Models { internal enum BlobRequestConditionProperty { + None = 0, LeaseId = 1, TagConditions = 2, IfModifiedSince = 4, IfUnmodifiedSince = 8, IfMatch = 16, - IfNoneMatch = 32 + IfNoneMatch = 32, + IfAppendPositionEqual = 64, + IfMaxSizeLessThanOrEqual = 128 } } diff --git a/sdk/storage/Azure.Storage.Blobs/tests/AppendBlobClientTests.cs b/sdk/storage/Azure.Storage.Blobs/tests/AppendBlobClientTests.cs index 044bafb36afa..9c65b1a04bd4 100644 --- a/sdk/storage/Azure.Storage.Blobs/tests/AppendBlobClientTests.cs +++ b/sdk/storage/Azure.Storage.Blobs/tests/AppendBlobClientTests.cs @@ -230,6 +230,39 @@ public async Task CreateAsync() Assert.AreEqual(blobName, blobs.First().Name); } + [RecordedTest] + [TestCase(nameof(AppendBlobRequestConditions.IfAppendPositionEqual))] + [TestCase(nameof(AppendBlobRequestConditions.IfMaxSizeLessThanOrEqual))] + public async Task CreateAsync_InvalidRequestConditions(string invalidCondition) + { + // Arrange + Uri uri = new Uri("https://www.doesntmatter.com"); + AppendBlobClient appendBlobClient = new AppendBlobClient(uri, GetOptions()); + + AppendBlobRequestConditions conditions = new AppendBlobRequestConditions(); + + switch (invalidCondition) + { + case nameof(AppendBlobRequestConditions.IfAppendPositionEqual): + conditions.IfAppendPositionEqual = 0; + break; + case nameof(AppendBlobRequestConditions.IfMaxSizeLessThanOrEqual): + conditions.IfMaxSizeLessThanOrEqual = 0; + break; + } + + AppendBlobCreateOptions options = new AppendBlobCreateOptions + { + Conditions = conditions + }; + + // Act + await TestHelper.AssertExpectedExceptionAsync( + appendBlobClient.CreateAsync( + options), + e => Assert.AreEqual($"{invalidCondition} is not applicable to this API.", e.Message)); + } + [RecordedTest] [ServiceVersion(Min = BlobClientOptions.ServiceVersion.V2019_12_12)] public async Task CreateAsync_Tags() @@ -962,6 +995,48 @@ public async Task AppendBlockFromUriAsync_Min() } } + [RecordedTest] + [TestCase(nameof(AppendBlobRequestConditions.LeaseId))] + [TestCase(nameof(AppendBlobRequestConditions.TagConditions))] + [TestCase(nameof(AppendBlobRequestConditions.IfAppendPositionEqual))] + [TestCase(nameof(AppendBlobRequestConditions.IfMaxSizeLessThanOrEqual))] + public async Task AppendBlockFromUriAsync_InvalidSourceRequestConditions(string invalidSourceCondition) + { + // Arrange + Uri uri = new Uri("https://www.doesntmatter.com"); + AppendBlobClient appendBlobClient = new AppendBlobClient(uri, GetOptions()); + + AppendBlobRequestConditions sourceConditions = new AppendBlobRequestConditions(); + + switch (invalidSourceCondition) + { + case nameof(AppendBlobRequestConditions.LeaseId): + sourceConditions.LeaseId = "LeaseId"; + break; + case nameof(AppendBlobRequestConditions.TagConditions): + sourceConditions.TagConditions = "TagConditions"; + break; + case nameof(AppendBlobRequestConditions.IfAppendPositionEqual): + sourceConditions.IfAppendPositionEqual = 0; + break; + case nameof(AppendBlobRequestConditions.IfMaxSizeLessThanOrEqual): + sourceConditions.IfMaxSizeLessThanOrEqual = 0; + break; + } + + AppendBlobAppendBlockFromUriOptions options = new AppendBlobAppendBlockFromUriOptions + { + SourceConditions = sourceConditions + }; + + // Act + await TestHelper.AssertExpectedExceptionAsync( + appendBlobClient.AppendBlockFromUriAsync( + uri, + options), + e => Assert.AreEqual($"{invalidSourceCondition} is not applicable to this API.", e.Message)); + } + [RecordedTest] public async Task AppendBlockFromUriAsync_CPK() { @@ -1472,6 +1547,35 @@ public async Task SealAsync() Assert.IsTrue(blobs.First().Properties.IsSealed); } + [RecordedTest] + [ServiceVersion(Min = BlobClientOptions.ServiceVersion.V2019_12_12)] + [TestCase(nameof(AppendBlobRequestConditions.IfMaxSizeLessThanOrEqual))] + [TestCase(nameof(AppendBlobRequestConditions.TagConditions))] + public async Task SealAsync_InvalidRequestConditions(string invalidCondition) + { + // Arrange + Uri uri = new Uri("https://www.doesntmatter.com"); + AppendBlobClient appendBlobClient = new AppendBlobClient(uri, GetOptions()); + + AppendBlobRequestConditions conditions = new AppendBlobRequestConditions(); + + switch (invalidCondition) + { + case nameof(AppendBlobRequestConditions.IfMaxSizeLessThanOrEqual): + conditions.IfMaxSizeLessThanOrEqual = 0; + break; + case nameof(AppendBlobRequestConditions.TagConditions): + conditions.TagConditions = "TagConditions"; + break; + } + + // Act + await TestHelper.AssertExpectedExceptionAsync( + appendBlobClient.SealAsync( + conditions), + e => Assert.AreEqual($"{invalidCondition} is not applicable to this API.", e.Message)); + } + [RecordedTest] [ServiceVersion(Min = BlobClientOptions.ServiceVersion.V2019_12_12)] public async Task SealAsync_Error() @@ -1866,8 +1970,8 @@ public async Task OpenWriteAsync_AccessConditions(bool overwrite) new AccessConditionParameters { Match = ReceivedETag }, new AccessConditionParameters { NoneMatch = GarbageETag }, new AccessConditionParameters { LeaseId = ReceivedLeaseId }, - new AccessConditionParameters { AppendPosE = 0 }, - new AccessConditionParameters { MaxSizeLTE = 100 } + new AccessConditionParameters { AppendPosE = overwrite ? null : 0 }, + new AccessConditionParameters { MaxSizeLTE = overwrite ? null : 100 } }; foreach (AccessConditionParameters parameters in testCases) { diff --git a/sdk/storage/Azure.Storage.Blobs/tests/SessionRecords/AppendBlobClientTests/AppendBlockFromUriAsync_InvalidSourceRequestConditions(%IfAppendPositionEqual%).json b/sdk/storage/Azure.Storage.Blobs/tests/SessionRecords/AppendBlobClientTests/AppendBlockFromUriAsync_InvalidSourceRequestConditions(%IfAppendPositionEqual%).json new file mode 100644 index 000000000000..22da0cc17f5a --- /dev/null +++ b/sdk/storage/Azure.Storage.Blobs/tests/SessionRecords/AppendBlobClientTests/AppendBlockFromUriAsync_InvalidSourceRequestConditions(%IfAppendPositionEqual%).json @@ -0,0 +1,6 @@ +{ + "Entries": [], + "Variables": { + "RandomSeed": "1066223535" + } +} \ No newline at end of file diff --git a/sdk/storage/Azure.Storage.Blobs/tests/SessionRecords/AppendBlobClientTests/AppendBlockFromUriAsync_InvalidSourceRequestConditions(%IfAppendPositionEqual%)Async.json b/sdk/storage/Azure.Storage.Blobs/tests/SessionRecords/AppendBlobClientTests/AppendBlockFromUriAsync_InvalidSourceRequestConditions(%IfAppendPositionEqual%)Async.json new file mode 100644 index 000000000000..20c51ce5d012 --- /dev/null +++ b/sdk/storage/Azure.Storage.Blobs/tests/SessionRecords/AppendBlobClientTests/AppendBlockFromUriAsync_InvalidSourceRequestConditions(%IfAppendPositionEqual%)Async.json @@ -0,0 +1,6 @@ +{ + "Entries": [], + "Variables": { + "RandomSeed": "1797526152" + } +} \ No newline at end of file diff --git a/sdk/storage/Azure.Storage.Blobs/tests/SessionRecords/AppendBlobClientTests/AppendBlockFromUriAsync_InvalidSourceRequestConditions(%IfMaxSizeLessThanOrEqual%).json b/sdk/storage/Azure.Storage.Blobs/tests/SessionRecords/AppendBlobClientTests/AppendBlockFromUriAsync_InvalidSourceRequestConditions(%IfMaxSizeLessThanOrEqual%).json new file mode 100644 index 000000000000..f0d9bad075d4 --- /dev/null +++ b/sdk/storage/Azure.Storage.Blobs/tests/SessionRecords/AppendBlobClientTests/AppendBlockFromUriAsync_InvalidSourceRequestConditions(%IfMaxSizeLessThanOrEqual%).json @@ -0,0 +1,6 @@ +{ + "Entries": [], + "Variables": { + "RandomSeed": "1256587583" + } +} \ No newline at end of file diff --git a/sdk/storage/Azure.Storage.Blobs/tests/SessionRecords/AppendBlobClientTests/AppendBlockFromUriAsync_InvalidSourceRequestConditions(%IfMaxSizeLessThanOrEqual%)Async.json b/sdk/storage/Azure.Storage.Blobs/tests/SessionRecords/AppendBlobClientTests/AppendBlockFromUriAsync_InvalidSourceRequestConditions(%IfMaxSizeLessThanOrEqual%)Async.json new file mode 100644 index 000000000000..64eac7358831 --- /dev/null +++ b/sdk/storage/Azure.Storage.Blobs/tests/SessionRecords/AppendBlobClientTests/AppendBlockFromUriAsync_InvalidSourceRequestConditions(%IfMaxSizeLessThanOrEqual%)Async.json @@ -0,0 +1,6 @@ +{ + "Entries": [], + "Variables": { + "RandomSeed": "2042257016" + } +} \ No newline at end of file diff --git a/sdk/storage/Azure.Storage.Blobs/tests/SessionRecords/AppendBlobClientTests/AppendBlockFromUriAsync_InvalidSourceRequestConditions(%LeaseId%).json b/sdk/storage/Azure.Storage.Blobs/tests/SessionRecords/AppendBlobClientTests/AppendBlockFromUriAsync_InvalidSourceRequestConditions(%LeaseId%).json new file mode 100644 index 000000000000..4bd7b2c2d550 --- /dev/null +++ b/sdk/storage/Azure.Storage.Blobs/tests/SessionRecords/AppendBlobClientTests/AppendBlockFromUriAsync_InvalidSourceRequestConditions(%LeaseId%).json @@ -0,0 +1,6 @@ +{ + "Entries": [], + "Variables": { + "RandomSeed": "332731075" + } +} \ No newline at end of file diff --git a/sdk/storage/Azure.Storage.Blobs/tests/SessionRecords/AppendBlobClientTests/AppendBlockFromUriAsync_InvalidSourceRequestConditions(%LeaseId%)Async.json b/sdk/storage/Azure.Storage.Blobs/tests/SessionRecords/AppendBlobClientTests/AppendBlockFromUriAsync_InvalidSourceRequestConditions(%LeaseId%)Async.json new file mode 100644 index 000000000000..8606998e5c8a --- /dev/null +++ b/sdk/storage/Azure.Storage.Blobs/tests/SessionRecords/AppendBlobClientTests/AppendBlockFromUriAsync_InvalidSourceRequestConditions(%LeaseId%)Async.json @@ -0,0 +1,6 @@ +{ + "Entries": [], + "Variables": { + "RandomSeed": "831658752" + } +} \ No newline at end of file diff --git a/sdk/storage/Azure.Storage.Blobs/tests/SessionRecords/AppendBlobClientTests/AppendBlockFromUriAsync_InvalidSourceRequestConditions(%TagConditions%).json b/sdk/storage/Azure.Storage.Blobs/tests/SessionRecords/AppendBlobClientTests/AppendBlockFromUriAsync_InvalidSourceRequestConditions(%TagConditions%).json new file mode 100644 index 000000000000..2ac2762abd55 --- /dev/null +++ b/sdk/storage/Azure.Storage.Blobs/tests/SessionRecords/AppendBlobClientTests/AppendBlockFromUriAsync_InvalidSourceRequestConditions(%TagConditions%).json @@ -0,0 +1,6 @@ +{ + "Entries": [], + "Variables": { + "RandomSeed": "15265864" + } +} \ No newline at end of file diff --git a/sdk/storage/Azure.Storage.Blobs/tests/SessionRecords/AppendBlobClientTests/AppendBlockFromUriAsync_InvalidSourceRequestConditions(%TagConditions%)Async.json b/sdk/storage/Azure.Storage.Blobs/tests/SessionRecords/AppendBlobClientTests/AppendBlockFromUriAsync_InvalidSourceRequestConditions(%TagConditions%)Async.json new file mode 100644 index 000000000000..2c8b1b7c230e --- /dev/null +++ b/sdk/storage/Azure.Storage.Blobs/tests/SessionRecords/AppendBlobClientTests/AppendBlockFromUriAsync_InvalidSourceRequestConditions(%TagConditions%)Async.json @@ -0,0 +1,6 @@ +{ + "Entries": [], + "Variables": { + "RandomSeed": "828924827" + } +} \ No newline at end of file diff --git a/sdk/storage/Azure.Storage.Blobs/tests/SessionRecords/AppendBlobClientTests/CreateAsync_InvalidRequestConditions(%IfAppendPositionEqual%).json b/sdk/storage/Azure.Storage.Blobs/tests/SessionRecords/AppendBlobClientTests/CreateAsync_InvalidRequestConditions(%IfAppendPositionEqual%).json new file mode 100644 index 000000000000..a8704853f0c2 --- /dev/null +++ b/sdk/storage/Azure.Storage.Blobs/tests/SessionRecords/AppendBlobClientTests/CreateAsync_InvalidRequestConditions(%IfAppendPositionEqual%).json @@ -0,0 +1,6 @@ +{ + "Entries": [], + "Variables": { + "RandomSeed": "216803847" + } +} \ No newline at end of file diff --git a/sdk/storage/Azure.Storage.Blobs/tests/SessionRecords/AppendBlobClientTests/CreateAsync_InvalidRequestConditions(%IfAppendPositionEqual%)Async.json b/sdk/storage/Azure.Storage.Blobs/tests/SessionRecords/AppendBlobClientTests/CreateAsync_InvalidRequestConditions(%IfAppendPositionEqual%)Async.json new file mode 100644 index 000000000000..a1f711893da7 --- /dev/null +++ b/sdk/storage/Azure.Storage.Blobs/tests/SessionRecords/AppendBlobClientTests/CreateAsync_InvalidRequestConditions(%IfAppendPositionEqual%)Async.json @@ -0,0 +1,6 @@ +{ + "Entries": [], + "Variables": { + "RandomSeed": "1259946500" + } +} \ No newline at end of file diff --git a/sdk/storage/Azure.Storage.Blobs/tests/SessionRecords/AppendBlobClientTests/CreateAsync_InvalidRequestConditions(%IfMaxSizeLessThanOrEqual%).json b/sdk/storage/Azure.Storage.Blobs/tests/SessionRecords/AppendBlobClientTests/CreateAsync_InvalidRequestConditions(%IfMaxSizeLessThanOrEqual%).json new file mode 100644 index 000000000000..9ea39630616c --- /dev/null +++ b/sdk/storage/Azure.Storage.Blobs/tests/SessionRecords/AppendBlobClientTests/CreateAsync_InvalidRequestConditions(%IfMaxSizeLessThanOrEqual%).json @@ -0,0 +1,6 @@ +{ + "Entries": [], + "Variables": { + "RandomSeed": "29920996" + } +} \ No newline at end of file diff --git a/sdk/storage/Azure.Storage.Blobs/tests/SessionRecords/AppendBlobClientTests/CreateAsync_InvalidRequestConditions(%IfMaxSizeLessThanOrEqual%)Async.json b/sdk/storage/Azure.Storage.Blobs/tests/SessionRecords/AppendBlobClientTests/CreateAsync_InvalidRequestConditions(%IfMaxSizeLessThanOrEqual%)Async.json new file mode 100644 index 000000000000..7476326be539 --- /dev/null +++ b/sdk/storage/Azure.Storage.Blobs/tests/SessionRecords/AppendBlobClientTests/CreateAsync_InvalidRequestConditions(%IfMaxSizeLessThanOrEqual%)Async.json @@ -0,0 +1,6 @@ +{ + "Entries": [], + "Variables": { + "RandomSeed": "426807611" + } +} \ No newline at end of file diff --git a/sdk/storage/Azure.Storage.Blobs/tests/SessionRecords/AppendBlobClientTests/SealAsync_InvalidRequestConditions(%IfMaxSizeLessThanOrEqual%).json b/sdk/storage/Azure.Storage.Blobs/tests/SessionRecords/AppendBlobClientTests/SealAsync_InvalidRequestConditions(%IfMaxSizeLessThanOrEqual%).json new file mode 100644 index 000000000000..b23ae4ecd493 --- /dev/null +++ b/sdk/storage/Azure.Storage.Blobs/tests/SessionRecords/AppendBlobClientTests/SealAsync_InvalidRequestConditions(%IfMaxSizeLessThanOrEqual%).json @@ -0,0 +1,6 @@ +{ + "Entries": [], + "Variables": { + "RandomSeed": "1986047280" + } +} \ No newline at end of file diff --git a/sdk/storage/Azure.Storage.Blobs/tests/SessionRecords/AppendBlobClientTests/SealAsync_InvalidRequestConditions(%IfMaxSizeLessThanOrEqual%)Async.json b/sdk/storage/Azure.Storage.Blobs/tests/SessionRecords/AppendBlobClientTests/SealAsync_InvalidRequestConditions(%IfMaxSizeLessThanOrEqual%)Async.json new file mode 100644 index 000000000000..12e96e033aee --- /dev/null +++ b/sdk/storage/Azure.Storage.Blobs/tests/SessionRecords/AppendBlobClientTests/SealAsync_InvalidRequestConditions(%IfMaxSizeLessThanOrEqual%)Async.json @@ -0,0 +1,6 @@ +{ + "Entries": [], + "Variables": { + "RandomSeed": "1848003368" + } +} \ No newline at end of file diff --git a/sdk/storage/Azure.Storage.Blobs/tests/SessionRecords/AppendBlobClientTests/SealAsync_InvalidRequestConditions(%TagConditions%).json b/sdk/storage/Azure.Storage.Blobs/tests/SessionRecords/AppendBlobClientTests/SealAsync_InvalidRequestConditions(%TagConditions%).json new file mode 100644 index 000000000000..7fd148afd45a --- /dev/null +++ b/sdk/storage/Azure.Storage.Blobs/tests/SessionRecords/AppendBlobClientTests/SealAsync_InvalidRequestConditions(%TagConditions%).json @@ -0,0 +1,6 @@ +{ + "Entries": [], + "Variables": { + "RandomSeed": "1419599387" + } +} \ No newline at end of file diff --git a/sdk/storage/Azure.Storage.Blobs/tests/SessionRecords/AppendBlobClientTests/SealAsync_InvalidRequestConditions(%TagConditions%)Async.json b/sdk/storage/Azure.Storage.Blobs/tests/SessionRecords/AppendBlobClientTests/SealAsync_InvalidRequestConditions(%TagConditions%)Async.json new file mode 100644 index 000000000000..692c9fdf4b11 --- /dev/null +++ b/sdk/storage/Azure.Storage.Blobs/tests/SessionRecords/AppendBlobClientTests/SealAsync_InvalidRequestConditions(%TagConditions%)Async.json @@ -0,0 +1,6 @@ +{ + "Entries": [], + "Variables": { + "RandomSeed": "827513766" + } +} \ No newline at end of file From 24135502ce03dc68e94efe4606f8e5268027dd72 Mon Sep 17 00:00:00 2001 From: Azure SDK Bot <53356347+azure-sdk@users.noreply.github.com> Date: Fri, 18 Jun 2021 13:44:34 -0700 Subject: [PATCH 08/27] Fix hard-coded master (#21970) Co-authored-by: Chidozie Ononiwu --- eng/common/pipelines/templates/steps/set-default-branch.yml | 4 ++-- eng/common/scripts/update-docs-metadata.ps1 | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/eng/common/pipelines/templates/steps/set-default-branch.yml b/eng/common/pipelines/templates/steps/set-default-branch.yml index e3eed4512d97..491edaa8b68d 100644 --- a/eng/common/pipelines/templates/steps/set-default-branch.yml +++ b/eng/common/pipelines/templates/steps/set-default-branch.yml @@ -5,8 +5,8 @@ steps: - pwsh: | $setDefaultBranch = (git remote show ${{ parameters.RemoteRepo }} | Out-String) -replace "(?ms).*HEAD branch: (\w+).*", '$1' if ($LASTEXITCODE -ne 0) { - Write-Host "Not able to fetch the default branch from git command. Set to master." - $setDefaultBranch = 'master' + Write-Host "Not able to fetch the default branch from git command. Set to main." + $setDefaultBranch = 'main' } Write-Host "Setting DefaultBranch=$setDefaultBranch" Write-Host "##vso[task.setvariable variable=DefaultBranch]$setDefaultBranch" diff --git a/eng/common/scripts/update-docs-metadata.ps1 b/eng/common/scripts/update-docs-metadata.ps1 index fc16fea9e552..6154afd51591 100644 --- a/eng/common/scripts/update-docs-metadata.ps1 +++ b/eng/common/scripts/update-docs-metadata.ps1 @@ -24,7 +24,7 @@ param ( . (Join-Path $PSScriptRoot common.ps1) -$releaseReplaceRegex = "(https://github.com/$RepoId/(?:blob|tree)/)master" +$releaseReplaceRegex = "(https://github.com/$RepoId/(?:blob|tree)/)main" function GetMetaData { if (Test-Path Variable:MetadataUri) { From 088f548a248ae9e1f0fc58ff28b889aa9695a41d Mon Sep 17 00:00:00 2001 From: JoshLove-msft <54595583+JoshLove-msft@users.noreply.github.com> Date: Fri, 18 Jun 2021 15:01:18 -0700 Subject: [PATCH 09/27] Add public ctor for SubscriptionValidationResponse (#21975) * Add public ctor for SubscriptionValidationResponse * Comment out package reference. --- .../Azure.Messaging.EventGrid.netstandard2.0.cs | 5 +++-- .../src/Customization/EventGridModelFactory.cs | 10 ++++++++++ .../src/Generated/EventGridModelFactory.cs | 8 -------- ...ubscriptionValidationResponse.Serialization.cs | 15 +++++++++++++-- .../Models/SubscriptionValidationResponse.cs | 4 ++-- .../Azure.Messaging.EventGrid/src/autorest.md | 5 ++++- ...crosoft.Azure.WebJobs.Extensions.EventGrid.sln | 6 ++++++ ...soft.Azure.WebJobs.Extensions.EventGrid.csproj | 8 +++++++- .../src/TriggerBinding/HttpRequestProcessor.cs | 6 ++++-- .../SubscriptionValidationResponse.cs | 13 ------------- 10 files changed, 49 insertions(+), 31 deletions(-) delete mode 100644 sdk/eventgrid/Microsoft.Azure.WebJobs.Extensions.EventGrid/src/TriggerBinding/SubscriptionValidationResponse.cs diff --git a/sdk/eventgrid/Azure.Messaging.EventGrid/api/Azure.Messaging.EventGrid.netstandard2.0.cs b/sdk/eventgrid/Azure.Messaging.EventGrid/api/Azure.Messaging.EventGrid.netstandard2.0.cs index 96421f735e1c..9bc0184e334f 100644 --- a/sdk/eventgrid/Azure.Messaging.EventGrid/api/Azure.Messaging.EventGrid.netstandard2.0.cs +++ b/sdk/eventgrid/Azure.Messaging.EventGrid/api/Azure.Messaging.EventGrid.netstandard2.0.cs @@ -147,6 +147,7 @@ public static partial class EventGridModelFactory public static Azure.Messaging.EventGrid.SystemEvents.StorageLifecyclePolicyCompletedEventData StorageLifecyclePolicyCompletedEventData(string scheduleTime = null, Azure.Messaging.EventGrid.SystemEvents.StorageLifecyclePolicyActionSummaryDetail deleteSummary = null, Azure.Messaging.EventGrid.SystemEvents.StorageLifecyclePolicyActionSummaryDetail tierToCoolSummary = null, Azure.Messaging.EventGrid.SystemEvents.StorageLifecyclePolicyActionSummaryDetail tierToArchiveSummary = null) { throw null; } public static Azure.Messaging.EventGrid.SystemEvents.SubscriptionDeletedEventData SubscriptionDeletedEventData(string eventSubscriptionId = null) { throw null; } public static Azure.Messaging.EventGrid.SystemEvents.SubscriptionValidationEventData SubscriptionValidationEventData(string validationCode = null, string validationUrl = null) { throw null; } + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] public static Azure.Messaging.EventGrid.SystemEvents.SubscriptionValidationResponse SubscriptionValidationResponse(string validationResponse = null) { throw null; } public static Azure.Messaging.EventGrid.SystemEvents.WebAppServicePlanUpdatedEventData WebAppServicePlanUpdatedEventData(Azure.Messaging.EventGrid.SystemEvents.AppServicePlanEventTypeDetail appServicePlanEventTypeDetail = null, Azure.Messaging.EventGrid.SystemEvents.WebAppServicePlanUpdatedEventDataSku sku = null, string name = null, string clientRequestId = null, string correlationRequestId = null, string requestId = null, string address = null, string verb = null) { throw null; } public static Azure.Messaging.EventGrid.SystemEvents.WebAppServicePlanUpdatedEventDataSku WebAppServicePlanUpdatedEventDataSku(string name = null, string tier = null, string size = null, string family = null, string capacity = null) { throw null; } @@ -1673,8 +1674,8 @@ internal SubscriptionValidationEventData() { } } public partial class SubscriptionValidationResponse { - internal SubscriptionValidationResponse() { } - public string ValidationResponse { get { throw null; } } + public SubscriptionValidationResponse() { } + public string ValidationResponse { get { throw null; } set { } } } public partial class WebAppServicePlanUpdatedEventData { diff --git a/sdk/eventgrid/Azure.Messaging.EventGrid/src/Customization/EventGridModelFactory.cs b/sdk/eventgrid/Azure.Messaging.EventGrid/src/Customization/EventGridModelFactory.cs index c948e25c527b..29c22c93eb13 100644 --- a/sdk/eventgrid/Azure.Messaging.EventGrid/src/Customization/EventGridModelFactory.cs +++ b/sdk/eventgrid/Azure.Messaging.EventGrid/src/Customization/EventGridModelFactory.cs @@ -1,6 +1,7 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. +using System.ComponentModel; using System.Text.Json; using Azure.Core; using Azure.Messaging.EventGrid.SystemEvents; @@ -180,6 +181,15 @@ public static ResourceActionCancelEventData ResourceActionCancelEventData(string { return new(tenantId, subscriptionId, resourceGroup, resourceProvider, resourceUri, operationName, status, JsonDocument.Parse(authorization).RootElement, JsonDocument.Parse(claims).RootElement, correlationId, JsonDocument.Parse(httpRequest).RootElement); } + + /// Initializes new instance of SubscriptionValidationResponse class. + /// The validation response sent by the subscriber to Azure Event Grid to complete the validation of an event subscription. + /// A new instance for mocking. + [EditorBrowsable(EditorBrowsableState.Never)] + public static SubscriptionValidationResponse SubscriptionValidationResponse(string validationResponse = default) + { + return new(validationResponse); + } } #pragma warning restore CA1054 // URI-like parameters should not be strings } diff --git a/sdk/eventgrid/Azure.Messaging.EventGrid/src/Generated/EventGridModelFactory.cs b/sdk/eventgrid/Azure.Messaging.EventGrid/src/Generated/EventGridModelFactory.cs index 1cf4d75c0340..bb4915a94fac 100644 --- a/sdk/eventgrid/Azure.Messaging.EventGrid/src/Generated/EventGridModelFactory.cs +++ b/sdk/eventgrid/Azure.Messaging.EventGrid/src/Generated/EventGridModelFactory.cs @@ -204,14 +204,6 @@ public static SubscriptionValidationEventData SubscriptionValidationEventData(st return new SubscriptionValidationEventData(validationCode, validationUrl); } - /// Initializes new instance of SubscriptionValidationResponse class. - /// The validation response sent by the subscriber to Azure Event Grid to complete the validation of an event subscription. - /// A new instance for mocking. - public static SubscriptionValidationResponse SubscriptionValidationResponse(string validationResponse = default) - { - return new SubscriptionValidationResponse(validationResponse); - } - /// Initializes new instance of SubscriptionDeletedEventData class. /// The Azure resource ID of the deleted event subscription. /// A new instance for mocking. diff --git a/sdk/eventgrid/Azure.Messaging.EventGrid/src/Generated/Models/SubscriptionValidationResponse.Serialization.cs b/sdk/eventgrid/Azure.Messaging.EventGrid/src/Generated/Models/SubscriptionValidationResponse.Serialization.cs index 1bee1720997f..f6103c2c9781 100644 --- a/sdk/eventgrid/Azure.Messaging.EventGrid/src/Generated/Models/SubscriptionValidationResponse.Serialization.cs +++ b/sdk/eventgrid/Azure.Messaging.EventGrid/src/Generated/Models/SubscriptionValidationResponse.Serialization.cs @@ -13,8 +13,19 @@ namespace Azure.Messaging.EventGrid.SystemEvents { [JsonConverter(typeof(SubscriptionValidationResponseConverter))] - public partial class SubscriptionValidationResponse + public partial class SubscriptionValidationResponse : IUtf8JsonSerializable { + void IUtf8JsonSerializable.Write(Utf8JsonWriter writer) + { + writer.WriteStartObject(); + if (Optional.IsDefined(ValidationResponse)) + { + writer.WritePropertyName("validationResponse"); + writer.WriteStringValue(ValidationResponse); + } + writer.WriteEndObject(); + } + internal static SubscriptionValidationResponse DeserializeSubscriptionValidationResponse(JsonElement element) { Optional validationResponse = default; @@ -33,7 +44,7 @@ internal partial class SubscriptionValidationResponseConverter : JsonConverter Initializes a new instance of SubscriptionValidationResponse. - internal SubscriptionValidationResponse() + public SubscriptionValidationResponse() { } @@ -23,6 +23,6 @@ internal SubscriptionValidationResponse(string validationResponse) } /// The validation response sent by the subscriber to Azure Event Grid to complete the validation of an event subscription. - public string ValidationResponse { get; } + public string ValidationResponse { get; set; } } } diff --git a/sdk/eventgrid/Azure.Messaging.EventGrid/src/autorest.md b/sdk/eventgrid/Azure.Messaging.EventGrid/src/autorest.md index 68cc31e01460..8240f3379486 100644 --- a/sdk/eventgrid/Azure.Messaging.EventGrid/src/autorest.md +++ b/sdk/eventgrid/Azure.Messaging.EventGrid/src/autorest.md @@ -63,12 +63,15 @@ directive: $[path]["x-namespace"] = namespace; } if (path.endsWith("EventData") || - path.endsWith("SubscriptionValidationResponse") || path.includes("EventGridEvent") || ($[path]["x-ms-client-name"] && $[path]["x-ms-client-name"].endsWith("EventData"))) { $[path]["x-csharp-usage"] = "model,output,converter"; } + if (path.endsWith("SubscriptionValidationResponse")) + { + $[path]["x-csharp-usage"] = "model,input,output,converter"; + } $[path]["x-csharp-formats"] = "json"; if (path.includes("WebAppServicePlanUpdatedEventData")) { diff --git a/sdk/eventgrid/Microsoft.Azure.WebJobs.Extensions.EventGrid/Microsoft.Azure.WebJobs.Extensions.EventGrid.sln b/sdk/eventgrid/Microsoft.Azure.WebJobs.Extensions.EventGrid/Microsoft.Azure.WebJobs.Extensions.EventGrid.sln index da305ef0daa7..044ee1337edc 100644 --- a/sdk/eventgrid/Microsoft.Azure.WebJobs.Extensions.EventGrid/Microsoft.Azure.WebJobs.Extensions.EventGrid.sln +++ b/sdk/eventgrid/Microsoft.Azure.WebJobs.Extensions.EventGrid/Microsoft.Azure.WebJobs.Extensions.EventGrid.sln @@ -7,6 +7,8 @@ Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Microsoft.Azure.WebJobs.Ext EndProject Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Microsoft.Azure.WebJobs.Extensions.EventGrid", "src\Microsoft.Azure.WebJobs.Extensions.EventGrid.csproj", "{9322A9CD-ADC3-4BF3-B3AA-063A66585113}" EndProject +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Azure.Messaging.EventGrid", "..\Azure.Messaging.EventGrid\src\Azure.Messaging.EventGrid.csproj", "{3E40026E-2DE9-4FE0-8E25-73F7B35F5D24}" +EndProject Global GlobalSection(SolutionConfigurationPlatforms) = preSolution Debug|Any CPU = Debug|Any CPU @@ -21,6 +23,10 @@ Global {9322A9CD-ADC3-4BF3-B3AA-063A66585113}.Debug|Any CPU.Build.0 = Debug|Any CPU {9322A9CD-ADC3-4BF3-B3AA-063A66585113}.Release|Any CPU.ActiveCfg = Release|Any CPU {9322A9CD-ADC3-4BF3-B3AA-063A66585113}.Release|Any CPU.Build.0 = Release|Any CPU + {3E40026E-2DE9-4FE0-8E25-73F7B35F5D24}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {3E40026E-2DE9-4FE0-8E25-73F7B35F5D24}.Debug|Any CPU.Build.0 = Debug|Any CPU + {3E40026E-2DE9-4FE0-8E25-73F7B35F5D24}.Release|Any CPU.ActiveCfg = Release|Any CPU + {3E40026E-2DE9-4FE0-8E25-73F7B35F5D24}.Release|Any CPU.Build.0 = Release|Any CPU EndGlobalSection GlobalSection(SolutionProperties) = preSolution HideSolutionNode = FALSE diff --git a/sdk/eventgrid/Microsoft.Azure.WebJobs.Extensions.EventGrid/src/Microsoft.Azure.WebJobs.Extensions.EventGrid.csproj b/sdk/eventgrid/Microsoft.Azure.WebJobs.Extensions.EventGrid/src/Microsoft.Azure.WebJobs.Extensions.EventGrid.csproj index 0623906be7d9..9aa40b3bebb6 100644 --- a/sdk/eventgrid/Microsoft.Azure.WebJobs.Extensions.EventGrid/src/Microsoft.Azure.WebJobs.Extensions.EventGrid.csproj +++ b/sdk/eventgrid/Microsoft.Azure.WebJobs.Extensions.EventGrid/src/Microsoft.Azure.WebJobs.Extensions.EventGrid.csproj @@ -9,7 +9,13 @@ - + + + + + + + diff --git a/sdk/eventgrid/Microsoft.Azure.WebJobs.Extensions.EventGrid/src/TriggerBinding/HttpRequestProcessor.cs b/sdk/eventgrid/Microsoft.Azure.WebJobs.Extensions.EventGrid/src/TriggerBinding/HttpRequestProcessor.cs index 9f6d1629aa2f..da41927eab6b 100644 --- a/sdk/eventgrid/Microsoft.Azure.WebJobs.Extensions.EventGrid/src/TriggerBinding/HttpRequestProcessor.cs +++ b/sdk/eventgrid/Microsoft.Azure.WebJobs.Extensions.EventGrid/src/TriggerBinding/HttpRequestProcessor.cs @@ -8,9 +8,10 @@ using System.Net.Http; using System.Threading; using System.Threading.Tasks; +using Azure.Messaging.EventGrid.SystemEvents; using Microsoft.Extensions.Logging; -using Newtonsoft.Json; using Newtonsoft.Json.Linq; +using STJ = System.Text.Json; namespace Microsoft.Azure.WebJobs.Extensions.EventGrid { @@ -69,7 +70,8 @@ internal async Task ProcessAsync( SubscriptionValidationResponse validationResponse = new(){ ValidationResponse = validationCode }; var returnMessage = new HttpResponseMessage(HttpStatusCode.OK) { - Content = new StringContent(JsonConvert.SerializeObject(validationResponse)) + // use System.Text.Json to leverage the custom converter so that the casing is correct. + Content = new StringContent(STJ.JsonSerializer.Serialize(validationResponse)) }; _logger.LogInformation($"perform handshake with eventGrid for function: {functionName}"); return returnMessage; diff --git a/sdk/eventgrid/Microsoft.Azure.WebJobs.Extensions.EventGrid/src/TriggerBinding/SubscriptionValidationResponse.cs b/sdk/eventgrid/Microsoft.Azure.WebJobs.Extensions.EventGrid/src/TriggerBinding/SubscriptionValidationResponse.cs deleted file mode 100644 index ec5cb4cba718..000000000000 --- a/sdk/eventgrid/Microsoft.Azure.WebJobs.Extensions.EventGrid/src/TriggerBinding/SubscriptionValidationResponse.cs +++ /dev/null @@ -1,13 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. - -using Newtonsoft.Json; - -namespace Microsoft.Azure.WebJobs.Extensions.EventGrid -{ - internal class SubscriptionValidationResponse - { - [JsonProperty(PropertyName = "validationResponse")] - public string ValidationResponse { get; set; } - } -} From b3a32b4755cfd28499f8b355d23401cecc79ad59 Mon Sep 17 00:00:00 2001 From: Magnus Gideryd Date: Sat, 19 Jun 2021 01:27:51 +0200 Subject: [PATCH 10/27] TelemetryItem.Time format to keep time precision (#20476) --- .../src/TelemetryPartA.cs | 10 ++++++++-- .../TelemetryPartATests.cs | 4 ++-- 2 files changed, 10 insertions(+), 4 deletions(-) diff --git a/sdk/monitor/Azure.Monitor.OpenTelemetry.Exporter/src/TelemetryPartA.cs b/sdk/monitor/Azure.Monitor.OpenTelemetry.Exporter/src/TelemetryPartA.cs index 755ea04dd591..39b2e405a046 100644 --- a/sdk/monitor/Azure.Monitor.OpenTelemetry.Exporter/src/TelemetryPartA.cs +++ b/sdk/monitor/Azure.Monitor.OpenTelemetry.Exporter/src/TelemetryPartA.cs @@ -18,6 +18,7 @@ namespace Azure.Monitor.OpenTelemetry.Exporter /// internal class TelemetryPartA { + private const string DateTimeFormat = "yyyy-MM-ddTHH:mm:ss.fffffffZ"; private static readonly IReadOnlyDictionary PartA_Name_Mapping = new Dictionary { [TelemetryType.Request] = "Request", @@ -32,7 +33,7 @@ internal class TelemetryPartA internal static TelemetryItem GetTelemetryItem(Activity activity, Resource resource, string instrumentationKey) { - TelemetryItem telemetryItem = new TelemetryItem(PartA_Name_Mapping[activity.GetTelemetryType()], activity.StartTimeUtc.ToString(CultureInfo.InvariantCulture)) + TelemetryItem telemetryItem = new TelemetryItem(PartA_Name_Mapping[activity.GetTelemetryType()], FormatUtcTimestamp(activity.StartTimeUtc)) { InstrumentationKey = instrumentationKey }; @@ -55,7 +56,7 @@ internal static TelemetryItem GetTelemetryItem(Activity activity, Resource resou internal static TelemetryItem GetTelemetryItem(LogRecord logRecord, string instrumentationKey) { var name = PartA_Name_Mapping[TelemetryType.Message]; - var time = logRecord.Timestamp.ToString(CultureInfo.InvariantCulture); + var time = FormatUtcTimestamp(logRecord.Timestamp); TelemetryItem telemetryItem = new TelemetryItem(name, time) { @@ -122,5 +123,10 @@ internal static void InitRoleInfo(Resource resource) RoleName = serviceName; } } + + internal static string FormatUtcTimestamp(System.DateTime utcTimestamp) + { + return utcTimestamp.ToString(DateTimeFormat, CultureInfo.InvariantCulture); + } } } diff --git a/sdk/monitor/Azure.Monitor.OpenTelemetry.Exporter/tests/Azure.Monitor.OpenTelemetry.Exporter.Tests/TelemetryPartATests.cs b/sdk/monitor/Azure.Monitor.OpenTelemetry.Exporter/tests/Azure.Monitor.OpenTelemetry.Exporter.Tests/TelemetryPartATests.cs index c35cbd499fc8..45f7102f2038 100644 --- a/sdk/monitor/Azure.Monitor.OpenTelemetry.Exporter/tests/Azure.Monitor.OpenTelemetry.Exporter.Tests/TelemetryPartATests.cs +++ b/sdk/monitor/Azure.Monitor.OpenTelemetry.Exporter/tests/Azure.Monitor.OpenTelemetry.Exporter.Tests/TelemetryPartATests.cs @@ -116,7 +116,7 @@ public void GeneratePartAEnvelope_DefaultActivity_DefaultResource() var telemetryItem = TelemetryPartA.GetTelemetryItem(activity, resource, null); Assert.Equal("RemoteDependency", telemetryItem.Name); - Assert.Equal(activity.StartTimeUtc.ToString(CultureInfo.InvariantCulture), telemetryItem.Time); + Assert.Equal(TelemetryPartA.FormatUtcTimestamp(activity.StartTimeUtc), telemetryItem.Time); Assert.StartsWith("unknown_service", telemetryItem.Tags[ContextTagKeys.AiCloudRole.ToString()]); Assert.Null(telemetryItem.Tags[ContextTagKeys.AiCloudRoleInstance.ToString()]); Assert.NotNull(telemetryItem.Tags[ContextTagKeys.AiOperationId.ToString()]); @@ -133,7 +133,7 @@ public void GeneratePartAEnvelope_Activity_WithResource() var telemetryItem = TelemetryPartA.GetTelemetryItem(activity, resource, null); Assert.Equal("RemoteDependency", telemetryItem.Name); - Assert.Equal(activity.StartTimeUtc.ToString(CultureInfo.InvariantCulture), telemetryItem.Time); + Assert.Equal(TelemetryPartA.FormatUtcTimestamp(activity.StartTimeUtc), telemetryItem.Time); Assert.Equal("my-service", telemetryItem.Tags[ContextTagKeys.AiCloudRole.ToString()]); Assert.Equal("my-instance", telemetryItem.Tags[ContextTagKeys.AiCloudRoleInstance.ToString()]); Assert.Equal(activity.TraceId.ToHexString(), telemetryItem.Tags[ContextTagKeys.AiOperationId.ToString()]); From a111864584c84c8053ea4c4f7fe11d433395a1c6 Mon Sep 17 00:00:00 2001 From: Amit Singh <31076927+amisi01@users.noreply.github.com> Date: Fri, 18 Jun 2021 16:31:25 -0700 Subject: [PATCH 11/27] Add Stable API Version for point-in-time restore. (#21768) * Add Stable API Version for point-in-time restore. * Newly generated SDK from latest swagger * Updating testcases to fix the CI break. * Fixing test errors * Fixed failing tests * Updated SDK Version and updated release notes. * Bumping up AssemblyVersion/AssemblyFileVersion("3.1.0.0") from ("3.0.0.0") --- .../cosmos-db_resource-manager.txt | 9 +- .../AzSdk.RP.props | 2 +- .../Generated/CassandraResourcesOperations.cs | 64 - .../src/Generated/CollectionOperations.cs | 12 - .../CollectionPartitionOperations.cs | 8 - .../CollectionPartitionRegionOperations.cs | 4 - .../Generated/CollectionRegionOperations.cs | 4 - .../src/Generated/CosmosDBManagementClient.cs | 50 +- .../DatabaseAccountRegionOperations.cs | 4 - .../Generated/DatabaseAccountsOperations.cs | 64 - .../src/Generated/DatabaseOperations.cs | 12 - .../Generated/GremlinResourcesOperations.cs | 64 - .../Generated/ICosmosDBManagementClient.cs | 39 +- .../IRestorableDatabaseAccountsOperations.cs | 105 + ...IRestorableMongodbCollectionsOperations.cs | 61 + .../IRestorableMongodbDatabasesOperations.cs | 58 + .../IRestorableMongodbResourcesOperations.cs | 64 + .../IRestorableSqlContainersOperations.cs | 69 + .../IRestorableSqlDatabasesOperations.cs | 58 + .../IRestorableSqlResourcesOperations.cs | 64 + .../src/Generated/ISqlResourcesOperations.cs | 68 + .../Models/AnalyticalStorageConfiguration.cs | 54 + .../Models/AnalyticalStorageSchemaType.cs | 22 + .../src/Generated/Models/ApiType.cs | 26 + .../src/Generated/Models/BackupInformation.cs | 52 + .../src/Generated/Models/BackupPolicy.cs | 18 + .../Models/BackupPolicyMigrationState.cs | 77 + .../Models/BackupPolicyMigrationStatus.cs | 24 + .../Models/ContinuousBackupInformation.cs | 54 + .../Models/ContinuousBackupRestoreLocation.cs | 54 + .../Models/ContinuousModeBackupPolicy.cs | 10 + .../src/Generated/Models/CreateMode.cs | 22 + .../src/Generated/Models/CreatedByType.cs | 24 + .../DatabaseAccountCreateUpdateParameters.cs | 42 +- .../Models/DatabaseAccountGetResults.cs | 60 +- .../Models/DatabaseAccountUpdateParameters.cs | 22 +- .../Models/DatabaseRestoreResource.cs | 63 + .../src/Generated/Models/OperationType.cs | 24 + .../Models/PeriodicModeBackupPolicy.cs | 5 +- .../RestorableDatabaseAccountGetResult.cs | 136 + .../Models/RestorableLocationResource.cs | 82 + .../RestorableMongodbCollectionGetResult.cs | 83 + ...ableMongodbCollectionPropertiesResource.cs | 91 + .../RestorableMongodbDatabaseGetResult.cs | 83 + ...orableMongodbDatabasePropertiesResource.cs | 91 + .../Models/RestorableSqlContainerGetResult.cs | 95 + ...estorableSqlContainerPropertiesResource.cs | 113 + ...SqlContainerPropertiesResourceContainer.cs | 169 + .../Models/RestorableSqlDatabaseGetResult.cs | 95 + ...RestorableSqlDatabasePropertiesResource.cs | 113 + ...leSqlDatabasePropertiesResourceDatabase.cs | 126 + .../src/Generated/Models/RestoreMode.cs | 21 + .../src/Generated/Models/RestoreParameters.cs | 86 + .../src/Generated/Models/SystemData.cs | 103 + .../Generated/MongoDBResourcesOperations.cs | 64 - .../Generated/NotebookWorkspacesOperations.cs | 28 - .../PartitionKeyRangeIdOperations.cs | 4 - .../PartitionKeyRangeIdRegionOperations.cs | 4 - .../src/Generated/PercentileOperations.cs | 4 - .../PercentileSourceTargetOperations.cs | 4 - .../Generated/PercentileTargetOperations.cs | 4 - .../PrivateEndpointConnectionsOperations.cs | 16 - .../PrivateLinkResourcesOperations.cs | 8 - .../RestorableDatabaseAccountsOperations.cs | 666 +++ ...bleDatabaseAccountsOperationsExtensions.cs | 147 + .../RestorableMongodbCollectionsOperations.cs | 276 ++ ...eMongodbCollectionsOperationsExtensions.cs | 81 + .../RestorableMongodbDatabasesOperations.cs | 269 ++ ...bleMongodbDatabasesOperationsExtensions.cs | 77 + .../RestorableMongodbResourcesOperations.cs | 284 ++ ...bleMongodbResourcesOperationsExtensions.cs | 87 + .../RestorableSqlContainersOperations.cs | 292 ++ ...orableSqlContainersOperationsExtensions.cs | 93 + .../RestorableSqlDatabasesOperations.cs | 269 ++ ...torableSqlDatabasesOperationsExtensions.cs | 77 + .../RestorableSqlResourcesOperations.cs | 284 ++ ...torableSqlResourcesOperationsExtensions.cs | 87 + .../SdkInfo_CosmosDBManagementClient.cs | 55 +- .../src/Generated/SqlResourcesOperations.cs | 443 +- .../SqlResourcesOperationsExtensions.cs | 116 + .../src/Generated/TableResourcesOperations.cs | 32 - ...Microsoft.Azure.Management.CosmosDB.csproj | 15 +- .../src/Properties/AssemblyInfo.cs | 4 +- .../DatabaseAccountOperationsTest.cs | 89 +- .../MongoResourcesOperationsTests.cs | 4 +- .../RestoreDatabaseAccountOperationsTests.cs | 186 + ...rieveSqlContainerBackupInformationTests.cs | 93 + .../SqlResourcesOperationsTests.cs | 40 +- .../CassandraCRUDTests.json | 572 +-- .../DatabaseAccountCRUDTests.json | 1796 +++----- ...RestorableSqlDatabaseResourceFeedTest.json | 3240 ++++++++++++++ .../GraphCRUDTests.json | 296 +- .../ManagedCassandraCRUDTests.json | 3877 ----------------- .../MongoCRUDTests.json | 515 +-- .../OperationsTests/ListOperationsTest.json | 98 +- .../RestorableMongodb32Tests.json | 197 - .../RestorableMongodb36Tests.json | 197 - .../RestorableSqlTests.json | 323 -- .../RestoreDatabaseAccountFeedTests.json | 580 ++- .../RestoreDatabaseAccountTests.json | 963 ++-- .../RetrieveContinuousBackupInfoTest.json | 938 ++++ .../SqlCRUDTests.json | 812 ++-- .../SqlRoleTests.json | 700 +-- .../TableCRUDTests.json | 212 +- 104 files changed, 13443 insertions(+), 9098 deletions(-) create mode 100644 sdk/cosmosdb/Microsoft.Azure.Management.CosmosDB/src/Generated/IRestorableDatabaseAccountsOperations.cs create mode 100644 sdk/cosmosdb/Microsoft.Azure.Management.CosmosDB/src/Generated/IRestorableMongodbCollectionsOperations.cs create mode 100644 sdk/cosmosdb/Microsoft.Azure.Management.CosmosDB/src/Generated/IRestorableMongodbDatabasesOperations.cs create mode 100644 sdk/cosmosdb/Microsoft.Azure.Management.CosmosDB/src/Generated/IRestorableMongodbResourcesOperations.cs create mode 100644 sdk/cosmosdb/Microsoft.Azure.Management.CosmosDB/src/Generated/IRestorableSqlContainersOperations.cs create mode 100644 sdk/cosmosdb/Microsoft.Azure.Management.CosmosDB/src/Generated/IRestorableSqlDatabasesOperations.cs create mode 100644 sdk/cosmosdb/Microsoft.Azure.Management.CosmosDB/src/Generated/IRestorableSqlResourcesOperations.cs create mode 100644 sdk/cosmosdb/Microsoft.Azure.Management.CosmosDB/src/Generated/Models/AnalyticalStorageConfiguration.cs create mode 100644 sdk/cosmosdb/Microsoft.Azure.Management.CosmosDB/src/Generated/Models/AnalyticalStorageSchemaType.cs create mode 100644 sdk/cosmosdb/Microsoft.Azure.Management.CosmosDB/src/Generated/Models/ApiType.cs create mode 100644 sdk/cosmosdb/Microsoft.Azure.Management.CosmosDB/src/Generated/Models/BackupInformation.cs create mode 100644 sdk/cosmosdb/Microsoft.Azure.Management.CosmosDB/src/Generated/Models/BackupPolicyMigrationState.cs create mode 100644 sdk/cosmosdb/Microsoft.Azure.Management.CosmosDB/src/Generated/Models/BackupPolicyMigrationStatus.cs create mode 100644 sdk/cosmosdb/Microsoft.Azure.Management.CosmosDB/src/Generated/Models/ContinuousBackupInformation.cs create mode 100644 sdk/cosmosdb/Microsoft.Azure.Management.CosmosDB/src/Generated/Models/ContinuousBackupRestoreLocation.cs create mode 100644 sdk/cosmosdb/Microsoft.Azure.Management.CosmosDB/src/Generated/Models/CreateMode.cs create mode 100644 sdk/cosmosdb/Microsoft.Azure.Management.CosmosDB/src/Generated/Models/CreatedByType.cs create mode 100644 sdk/cosmosdb/Microsoft.Azure.Management.CosmosDB/src/Generated/Models/DatabaseRestoreResource.cs create mode 100644 sdk/cosmosdb/Microsoft.Azure.Management.CosmosDB/src/Generated/Models/OperationType.cs create mode 100644 sdk/cosmosdb/Microsoft.Azure.Management.CosmosDB/src/Generated/Models/RestorableDatabaseAccountGetResult.cs create mode 100644 sdk/cosmosdb/Microsoft.Azure.Management.CosmosDB/src/Generated/Models/RestorableLocationResource.cs create mode 100644 sdk/cosmosdb/Microsoft.Azure.Management.CosmosDB/src/Generated/Models/RestorableMongodbCollectionGetResult.cs create mode 100644 sdk/cosmosdb/Microsoft.Azure.Management.CosmosDB/src/Generated/Models/RestorableMongodbCollectionPropertiesResource.cs create mode 100644 sdk/cosmosdb/Microsoft.Azure.Management.CosmosDB/src/Generated/Models/RestorableMongodbDatabaseGetResult.cs create mode 100644 sdk/cosmosdb/Microsoft.Azure.Management.CosmosDB/src/Generated/Models/RestorableMongodbDatabasePropertiesResource.cs create mode 100644 sdk/cosmosdb/Microsoft.Azure.Management.CosmosDB/src/Generated/Models/RestorableSqlContainerGetResult.cs create mode 100644 sdk/cosmosdb/Microsoft.Azure.Management.CosmosDB/src/Generated/Models/RestorableSqlContainerPropertiesResource.cs create mode 100644 sdk/cosmosdb/Microsoft.Azure.Management.CosmosDB/src/Generated/Models/RestorableSqlContainerPropertiesResourceContainer.cs create mode 100644 sdk/cosmosdb/Microsoft.Azure.Management.CosmosDB/src/Generated/Models/RestorableSqlDatabaseGetResult.cs create mode 100644 sdk/cosmosdb/Microsoft.Azure.Management.CosmosDB/src/Generated/Models/RestorableSqlDatabasePropertiesResource.cs create mode 100644 sdk/cosmosdb/Microsoft.Azure.Management.CosmosDB/src/Generated/Models/RestorableSqlDatabasePropertiesResourceDatabase.cs create mode 100644 sdk/cosmosdb/Microsoft.Azure.Management.CosmosDB/src/Generated/Models/RestoreMode.cs create mode 100644 sdk/cosmosdb/Microsoft.Azure.Management.CosmosDB/src/Generated/Models/RestoreParameters.cs create mode 100644 sdk/cosmosdb/Microsoft.Azure.Management.CosmosDB/src/Generated/Models/SystemData.cs create mode 100644 sdk/cosmosdb/Microsoft.Azure.Management.CosmosDB/src/Generated/RestorableDatabaseAccountsOperations.cs create mode 100644 sdk/cosmosdb/Microsoft.Azure.Management.CosmosDB/src/Generated/RestorableDatabaseAccountsOperationsExtensions.cs create mode 100644 sdk/cosmosdb/Microsoft.Azure.Management.CosmosDB/src/Generated/RestorableMongodbCollectionsOperations.cs create mode 100644 sdk/cosmosdb/Microsoft.Azure.Management.CosmosDB/src/Generated/RestorableMongodbCollectionsOperationsExtensions.cs create mode 100644 sdk/cosmosdb/Microsoft.Azure.Management.CosmosDB/src/Generated/RestorableMongodbDatabasesOperations.cs create mode 100644 sdk/cosmosdb/Microsoft.Azure.Management.CosmosDB/src/Generated/RestorableMongodbDatabasesOperationsExtensions.cs create mode 100644 sdk/cosmosdb/Microsoft.Azure.Management.CosmosDB/src/Generated/RestorableMongodbResourcesOperations.cs create mode 100644 sdk/cosmosdb/Microsoft.Azure.Management.CosmosDB/src/Generated/RestorableMongodbResourcesOperationsExtensions.cs create mode 100644 sdk/cosmosdb/Microsoft.Azure.Management.CosmosDB/src/Generated/RestorableSqlContainersOperations.cs create mode 100644 sdk/cosmosdb/Microsoft.Azure.Management.CosmosDB/src/Generated/RestorableSqlContainersOperationsExtensions.cs create mode 100644 sdk/cosmosdb/Microsoft.Azure.Management.CosmosDB/src/Generated/RestorableSqlDatabasesOperations.cs create mode 100644 sdk/cosmosdb/Microsoft.Azure.Management.CosmosDB/src/Generated/RestorableSqlDatabasesOperationsExtensions.cs create mode 100644 sdk/cosmosdb/Microsoft.Azure.Management.CosmosDB/src/Generated/RestorableSqlResourcesOperations.cs create mode 100644 sdk/cosmosdb/Microsoft.Azure.Management.CosmosDB/src/Generated/RestorableSqlResourcesOperationsExtensions.cs create mode 100644 sdk/cosmosdb/Microsoft.Azure.Management.CosmosDB/tests/ScenarioTests/RestoreDatabaseAccountOperationsTests.cs create mode 100644 sdk/cosmosdb/Microsoft.Azure.Management.CosmosDB/tests/ScenarioTests/RetrieveSqlContainerBackupInformationTests.cs create mode 100644 sdk/cosmosdb/Microsoft.Azure.Management.CosmosDB/tests/SessionRecords/DatabaseAccountOperationsTests/RestorableSqlDatabaseResourceFeedTest.json delete mode 100644 sdk/cosmosdb/Microsoft.Azure.Management.CosmosDB/tests/SessionRecords/ManagedCassandraResourcesOperationsTests/ManagedCassandraCRUDTests.json delete mode 100644 sdk/cosmosdb/Microsoft.Azure.Management.CosmosDB/tests/SessionRecords/RestorableMongoOperationsTests/RestorableMongodb32Tests.json delete mode 100644 sdk/cosmosdb/Microsoft.Azure.Management.CosmosDB/tests/SessionRecords/RestorableMongoOperationsTests/RestorableMongodb36Tests.json delete mode 100644 sdk/cosmosdb/Microsoft.Azure.Management.CosmosDB/tests/SessionRecords/RestorableSqlOperationsTests/RestorableSqlTests.json create mode 100644 sdk/cosmosdb/Microsoft.Azure.Management.CosmosDB/tests/SessionRecords/RetrieveSqlContainerBackupInformationTests/RetrieveContinuousBackupInfoTest.json diff --git a/eng/mgmt/mgmtmetadata/cosmos-db_resource-manager.txt b/eng/mgmt/mgmtmetadata/cosmos-db_resource-manager.txt index a169c744260d..10e8f7e4e681 100644 --- a/eng/mgmt/mgmtmetadata/cosmos-db_resource-manager.txt +++ b/eng/mgmt/mgmtmetadata/cosmos-db_resource-manager.txt @@ -3,12 +3,13 @@ AutoRest installed successfully. Commencing code generation Generating CSharp code Executing AutoRest command -cmd.exe /c autorest.cmd https://github.com/Azure/azure-rest-api-specs/blob/master/specification/cosmos-db/resource-manager/readme.md --csharp --version=v2 --reflect-api-versions --csharp-sdks-folder=D:\azure-sdk-for-net\sdk -2021-04-27 17:09:09 UTC +cmd.exe /c autorest.cmd https://github.com/Azure/azure-rest-api-specs/blob/master/specification/cosmos-db/resource-manager/readme.md --csharp --version=v2 --reflect-api-versions --csharp-sdks-folder=E:\azure-sdk-for-net\sdk +Autorest CSharp Version: 2.3.82 +2021-06-15 23:57:32 UTC Azure-rest-api-specs repository information GitHub fork: Azure Branch: master -Commit: c1f66424b3b3636ec4cdb6c911dc75ca9abbe146 +Commit: b392b4e5d04c73acde2c02ed034247ac55b8892f AutoRest information Requested version: v2 -Bootstrapper version: autorest@3.1.4 +Bootstrapper version: autorest@2.0.4413 diff --git a/sdk/cosmosdb/Microsoft.Azure.Management.CosmosDB/AzSdk.RP.props b/sdk/cosmosdb/Microsoft.Azure.Management.CosmosDB/AzSdk.RP.props index 0c984b8893f1..c479893ed2ab 100644 --- a/sdk/cosmosdb/Microsoft.Azure.Management.CosmosDB/AzSdk.RP.props +++ b/sdk/cosmosdb/Microsoft.Azure.Management.CosmosDB/AzSdk.RP.props @@ -1,7 +1,7 @@  - CosmosDB_2021-04-15 + CosmosDB_2021-06-15 $(PackageTags);$(CommonTags);$(AzureApiTag); diff --git a/sdk/cosmosdb/Microsoft.Azure.Management.CosmosDB/src/Generated/CassandraResourcesOperations.cs b/sdk/cosmosdb/Microsoft.Azure.Management.CosmosDB/src/Generated/CassandraResourcesOperations.cs index 3f02a6250fe7..ae3d1c82d4e3 100644 --- a/sdk/cosmosdb/Microsoft.Azure.Management.CosmosDB/src/Generated/CassandraResourcesOperations.cs +++ b/sdk/cosmosdb/Microsoft.Azure.Management.CosmosDB/src/Generated/CassandraResourcesOperations.cs @@ -108,10 +108,6 @@ internal CassandraResourcesOperations(CosmosDBManagementClient client) { throw new ValidationException(ValidationRules.MinLength, "resourceGroupName", 1); } - if (!System.Text.RegularExpressions.Regex.IsMatch(resourceGroupName, "^[-\\w\\._\\(\\)]+$")) - { - throw new ValidationException(ValidationRules.Pattern, "resourceGroupName", "^[-\\w\\._\\(\\)]+$"); - } } if (accountName == null) { @@ -352,10 +348,6 @@ internal CassandraResourcesOperations(CosmosDBManagementClient client) { throw new ValidationException(ValidationRules.MinLength, "resourceGroupName", 1); } - if (!System.Text.RegularExpressions.Regex.IsMatch(resourceGroupName, "^[-\\w\\._\\(\\)]+$")) - { - throw new ValidationException(ValidationRules.Pattern, "resourceGroupName", "^[-\\w\\._\\(\\)]+$"); - } } if (accountName == null) { @@ -655,10 +647,6 @@ internal CassandraResourcesOperations(CosmosDBManagementClient client) { throw new ValidationException(ValidationRules.MinLength, "resourceGroupName", 1); } - if (!System.Text.RegularExpressions.Regex.IsMatch(resourceGroupName, "^[-\\w\\._\\(\\)]+$")) - { - throw new ValidationException(ValidationRules.Pattern, "resourceGroupName", "^[-\\w\\._\\(\\)]+$"); - } } if (accountName == null) { @@ -986,10 +974,6 @@ internal CassandraResourcesOperations(CosmosDBManagementClient client) { throw new ValidationException(ValidationRules.MinLength, "resourceGroupName", 1); } - if (!System.Text.RegularExpressions.Regex.IsMatch(resourceGroupName, "^[-\\w\\._\\(\\)]+$")) - { - throw new ValidationException(ValidationRules.Pattern, "resourceGroupName", "^[-\\w\\._\\(\\)]+$"); - } } if (accountName == null) { @@ -1239,10 +1223,6 @@ internal CassandraResourcesOperations(CosmosDBManagementClient client) { throw new ValidationException(ValidationRules.MinLength, "resourceGroupName", 1); } - if (!System.Text.RegularExpressions.Regex.IsMatch(resourceGroupName, "^[-\\w\\._\\(\\)]+$")) - { - throw new ValidationException(ValidationRules.Pattern, "resourceGroupName", "^[-\\w\\._\\(\\)]+$"); - } } if (accountName == null) { @@ -1557,10 +1537,6 @@ internal CassandraResourcesOperations(CosmosDBManagementClient client) { throw new ValidationException(ValidationRules.MinLength, "resourceGroupName", 1); } - if (!System.Text.RegularExpressions.Regex.IsMatch(resourceGroupName, "^[-\\w\\._\\(\\)]+$")) - { - throw new ValidationException(ValidationRules.Pattern, "resourceGroupName", "^[-\\w\\._\\(\\)]+$"); - } } if (accountName == null) { @@ -1905,10 +1881,6 @@ internal CassandraResourcesOperations(CosmosDBManagementClient client) { throw new ValidationException(ValidationRules.MinLength, "resourceGroupName", 1); } - if (!System.Text.RegularExpressions.Regex.IsMatch(resourceGroupName, "^[-\\w\\._\\(\\)]+$")) - { - throw new ValidationException(ValidationRules.Pattern, "resourceGroupName", "^[-\\w\\._\\(\\)]+$"); - } } if (accountName == null) { @@ -2166,10 +2138,6 @@ internal CassandraResourcesOperations(CosmosDBManagementClient client) { throw new ValidationException(ValidationRules.MinLength, "resourceGroupName", 1); } - if (!System.Text.RegularExpressions.Regex.IsMatch(resourceGroupName, "^[-\\w\\._\\(\\)]+$")) - { - throw new ValidationException(ValidationRules.Pattern, "resourceGroupName", "^[-\\w\\._\\(\\)]+$"); - } } if (accountName == null) { @@ -2401,10 +2369,6 @@ internal CassandraResourcesOperations(CosmosDBManagementClient client) { throw new ValidationException(ValidationRules.MinLength, "resourceGroupName", 1); } - if (!System.Text.RegularExpressions.Regex.IsMatch(resourceGroupName, "^[-\\w\\._\\(\\)]+$")) - { - throw new ValidationException(ValidationRules.Pattern, "resourceGroupName", "^[-\\w\\._\\(\\)]+$"); - } } if (accountName == null) { @@ -2666,10 +2630,6 @@ internal CassandraResourcesOperations(CosmosDBManagementClient client) { throw new ValidationException(ValidationRules.MinLength, "resourceGroupName", 1); } - if (!System.Text.RegularExpressions.Regex.IsMatch(resourceGroupName, "^[-\\w\\._\\(\\)]+$")) - { - throw new ValidationException(ValidationRules.Pattern, "resourceGroupName", "^[-\\w\\._\\(\\)]+$"); - } } if (accountName == null) { @@ -2916,10 +2876,6 @@ internal CassandraResourcesOperations(CosmosDBManagementClient client) { throw new ValidationException(ValidationRules.MinLength, "resourceGroupName", 1); } - if (!System.Text.RegularExpressions.Regex.IsMatch(resourceGroupName, "^[-\\w\\._\\(\\)]+$")) - { - throw new ValidationException(ValidationRules.Pattern, "resourceGroupName", "^[-\\w\\._\\(\\)]+$"); - } } if (accountName == null) { @@ -3171,10 +3127,6 @@ internal CassandraResourcesOperations(CosmosDBManagementClient client) { throw new ValidationException(ValidationRules.MinLength, "resourceGroupName", 1); } - if (!System.Text.RegularExpressions.Regex.IsMatch(resourceGroupName, "^[-\\w\\._\\(\\)]+$")) - { - throw new ValidationException(ValidationRules.Pattern, "resourceGroupName", "^[-\\w\\._\\(\\)]+$"); - } } if (accountName == null) { @@ -3441,10 +3393,6 @@ internal CassandraResourcesOperations(CosmosDBManagementClient client) { throw new ValidationException(ValidationRules.MinLength, "resourceGroupName", 1); } - if (!System.Text.RegularExpressions.Regex.IsMatch(resourceGroupName, "^[-\\w\\._\\(\\)]+$")) - { - throw new ValidationException(ValidationRules.Pattern, "resourceGroupName", "^[-\\w\\._\\(\\)]+$"); - } } if (accountName == null) { @@ -3685,10 +3633,6 @@ internal CassandraResourcesOperations(CosmosDBManagementClient client) { throw new ValidationException(ValidationRules.MinLength, "resourceGroupName", 1); } - if (!System.Text.RegularExpressions.Regex.IsMatch(resourceGroupName, "^[-\\w\\._\\(\\)]+$")) - { - throw new ValidationException(ValidationRules.Pattern, "resourceGroupName", "^[-\\w\\._\\(\\)]+$"); - } } if (accountName == null) { @@ -3959,10 +3903,6 @@ internal CassandraResourcesOperations(CosmosDBManagementClient client) { throw new ValidationException(ValidationRules.MinLength, "resourceGroupName", 1); } - if (!System.Text.RegularExpressions.Regex.IsMatch(resourceGroupName, "^[-\\w\\._\\(\\)]+$")) - { - throw new ValidationException(ValidationRules.Pattern, "resourceGroupName", "^[-\\w\\._\\(\\)]+$"); - } } if (accountName == null) { @@ -4218,10 +4158,6 @@ internal CassandraResourcesOperations(CosmosDBManagementClient client) { throw new ValidationException(ValidationRules.MinLength, "resourceGroupName", 1); } - if (!System.Text.RegularExpressions.Regex.IsMatch(resourceGroupName, "^[-\\w\\._\\(\\)]+$")) - { - throw new ValidationException(ValidationRules.Pattern, "resourceGroupName", "^[-\\w\\._\\(\\)]+$"); - } } if (accountName == null) { diff --git a/sdk/cosmosdb/Microsoft.Azure.Management.CosmosDB/src/Generated/CollectionOperations.cs b/sdk/cosmosdb/Microsoft.Azure.Management.CosmosDB/src/Generated/CollectionOperations.cs index 9895b247cbbb..034262f0468e 100644 --- a/sdk/cosmosdb/Microsoft.Azure.Management.CosmosDB/src/Generated/CollectionOperations.cs +++ b/sdk/cosmosdb/Microsoft.Azure.Management.CosmosDB/src/Generated/CollectionOperations.cs @@ -120,10 +120,6 @@ internal CollectionOperations(CosmosDBManagementClient client) { throw new ValidationException(ValidationRules.MinLength, "resourceGroupName", 1); } - if (!System.Text.RegularExpressions.Regex.IsMatch(resourceGroupName, "^[-\\w\\._\\(\\)]+$")) - { - throw new ValidationException(ValidationRules.Pattern, "resourceGroupName", "^[-\\w\\._\\(\\)]+$"); - } } if (accountName == null) { @@ -392,10 +388,6 @@ internal CollectionOperations(CosmosDBManagementClient client) { throw new ValidationException(ValidationRules.MinLength, "resourceGroupName", 1); } - if (!System.Text.RegularExpressions.Regex.IsMatch(resourceGroupName, "^[-\\w\\._\\(\\)]+$")) - { - throw new ValidationException(ValidationRules.Pattern, "resourceGroupName", "^[-\\w\\._\\(\\)]+$"); - } } if (accountName == null) { @@ -655,10 +647,6 @@ internal CollectionOperations(CosmosDBManagementClient client) { throw new ValidationException(ValidationRules.MinLength, "resourceGroupName", 1); } - if (!System.Text.RegularExpressions.Regex.IsMatch(resourceGroupName, "^[-\\w\\._\\(\\)]+$")) - { - throw new ValidationException(ValidationRules.Pattern, "resourceGroupName", "^[-\\w\\._\\(\\)]+$"); - } } if (accountName == null) { diff --git a/sdk/cosmosdb/Microsoft.Azure.Management.CosmosDB/src/Generated/CollectionPartitionOperations.cs b/sdk/cosmosdb/Microsoft.Azure.Management.CosmosDB/src/Generated/CollectionPartitionOperations.cs index 19e56cbd3001..6e2217dd5eae 100644 --- a/sdk/cosmosdb/Microsoft.Azure.Management.CosmosDB/src/Generated/CollectionPartitionOperations.cs +++ b/sdk/cosmosdb/Microsoft.Azure.Management.CosmosDB/src/Generated/CollectionPartitionOperations.cs @@ -120,10 +120,6 @@ internal CollectionPartitionOperations(CosmosDBManagementClient client) { throw new ValidationException(ValidationRules.MinLength, "resourceGroupName", 1); } - if (!System.Text.RegularExpressions.Regex.IsMatch(resourceGroupName, "^[-\\w\\._\\(\\)]+$")) - { - throw new ValidationException(ValidationRules.Pattern, "resourceGroupName", "^[-\\w\\._\\(\\)]+$"); - } } if (accountName == null) { @@ -393,10 +389,6 @@ internal CollectionPartitionOperations(CosmosDBManagementClient client) { throw new ValidationException(ValidationRules.MinLength, "resourceGroupName", 1); } - if (!System.Text.RegularExpressions.Regex.IsMatch(resourceGroupName, "^[-\\w\\._\\(\\)]+$")) - { - throw new ValidationException(ValidationRules.Pattern, "resourceGroupName", "^[-\\w\\._\\(\\)]+$"); - } } if (accountName == null) { diff --git a/sdk/cosmosdb/Microsoft.Azure.Management.CosmosDB/src/Generated/CollectionPartitionRegionOperations.cs b/sdk/cosmosdb/Microsoft.Azure.Management.CosmosDB/src/Generated/CollectionPartitionRegionOperations.cs index 920539d777ec..0dbae254a8ec 100644 --- a/sdk/cosmosdb/Microsoft.Azure.Management.CosmosDB/src/Generated/CollectionPartitionRegionOperations.cs +++ b/sdk/cosmosdb/Microsoft.Azure.Management.CosmosDB/src/Generated/CollectionPartitionRegionOperations.cs @@ -123,10 +123,6 @@ internal CollectionPartitionRegionOperations(CosmosDBManagementClient client) { throw new ValidationException(ValidationRules.MinLength, "resourceGroupName", 1); } - if (!System.Text.RegularExpressions.Regex.IsMatch(resourceGroupName, "^[-\\w\\._\\(\\)]+$")) - { - throw new ValidationException(ValidationRules.Pattern, "resourceGroupName", "^[-\\w\\._\\(\\)]+$"); - } } if (accountName == null) { diff --git a/sdk/cosmosdb/Microsoft.Azure.Management.CosmosDB/src/Generated/CollectionRegionOperations.cs b/sdk/cosmosdb/Microsoft.Azure.Management.CosmosDB/src/Generated/CollectionRegionOperations.cs index 02ff8134dfe1..99bfdd323a00 100644 --- a/sdk/cosmosdb/Microsoft.Azure.Management.CosmosDB/src/Generated/CollectionRegionOperations.cs +++ b/sdk/cosmosdb/Microsoft.Azure.Management.CosmosDB/src/Generated/CollectionRegionOperations.cs @@ -123,10 +123,6 @@ internal CollectionRegionOperations(CosmosDBManagementClient client) { throw new ValidationException(ValidationRules.MinLength, "resourceGroupName", 1); } - if (!System.Text.RegularExpressions.Regex.IsMatch(resourceGroupName, "^[-\\w\\._\\(\\)]+$")) - { - throw new ValidationException(ValidationRules.Pattern, "resourceGroupName", "^[-\\w\\._\\(\\)]+$"); - } } if (accountName == null) { diff --git a/sdk/cosmosdb/Microsoft.Azure.Management.CosmosDB/src/Generated/CosmosDBManagementClient.cs b/sdk/cosmosdb/Microsoft.Azure.Management.CosmosDB/src/Generated/CosmosDBManagementClient.cs index 25b7694ddf45..22336683cb88 100644 --- a/sdk/cosmosdb/Microsoft.Azure.Management.CosmosDB/src/Generated/CosmosDBManagementClient.cs +++ b/sdk/cosmosdb/Microsoft.Azure.Management.CosmosDB/src/Generated/CosmosDBManagementClient.cs @@ -166,15 +166,50 @@ public partial class CosmosDBManagementClient : ServiceClient public virtual INotebookWorkspacesOperations NotebookWorkspaces { get; private set; } + /// + /// Gets the IPrivateEndpointConnectionsOperations. + /// + public virtual IPrivateEndpointConnectionsOperations PrivateEndpointConnections { get; private set; } + /// /// Gets the IPrivateLinkResourcesOperations. /// public virtual IPrivateLinkResourcesOperations PrivateLinkResources { get; private set; } /// - /// Gets the IPrivateEndpointConnectionsOperations. + /// Gets the IRestorableDatabaseAccountsOperations. /// - public virtual IPrivateEndpointConnectionsOperations PrivateEndpointConnections { get; private set; } + public virtual IRestorableDatabaseAccountsOperations RestorableDatabaseAccounts { get; private set; } + + /// + /// Gets the IRestorableSqlDatabasesOperations. + /// + public virtual IRestorableSqlDatabasesOperations RestorableSqlDatabases { get; private set; } + + /// + /// Gets the IRestorableSqlContainersOperations. + /// + public virtual IRestorableSqlContainersOperations RestorableSqlContainers { get; private set; } + + /// + /// Gets the IRestorableSqlResourcesOperations. + /// + public virtual IRestorableSqlResourcesOperations RestorableSqlResources { get; private set; } + + /// + /// Gets the IRestorableMongodbDatabasesOperations. + /// + public virtual IRestorableMongodbDatabasesOperations RestorableMongodbDatabases { get; private set; } + + /// + /// Gets the IRestorableMongodbCollectionsOperations. + /// + public virtual IRestorableMongodbCollectionsOperations RestorableMongodbCollections { get; private set; } + + /// + /// Gets the IRestorableMongodbResourcesOperations. + /// + public virtual IRestorableMongodbResourcesOperations RestorableMongodbResources { get; private set; } /// /// Initializes a new instance of the CosmosDBManagementClient class. @@ -436,10 +471,17 @@ private void Initialize() CassandraResources = new CassandraResourcesOperations(this); GremlinResources = new GremlinResourcesOperations(this); NotebookWorkspaces = new NotebookWorkspacesOperations(this); - PrivateLinkResources = new PrivateLinkResourcesOperations(this); PrivateEndpointConnections = new PrivateEndpointConnectionsOperations(this); + PrivateLinkResources = new PrivateLinkResourcesOperations(this); + RestorableDatabaseAccounts = new RestorableDatabaseAccountsOperations(this); + RestorableSqlDatabases = new RestorableSqlDatabasesOperations(this); + RestorableSqlContainers = new RestorableSqlContainersOperations(this); + RestorableSqlResources = new RestorableSqlResourcesOperations(this); + RestorableMongodbDatabases = new RestorableMongodbDatabasesOperations(this); + RestorableMongodbCollections = new RestorableMongodbCollectionsOperations(this); + RestorableMongodbResources = new RestorableMongodbResourcesOperations(this); BaseUri = new System.Uri("https://management.azure.com"); - ApiVersion = "2021-04-15"; + ApiVersion = "2021-06-15"; AcceptLanguage = "en-US"; LongRunningOperationRetryTimeout = 30; GenerateClientRequestId = true; diff --git a/sdk/cosmosdb/Microsoft.Azure.Management.CosmosDB/src/Generated/DatabaseAccountRegionOperations.cs b/sdk/cosmosdb/Microsoft.Azure.Management.CosmosDB/src/Generated/DatabaseAccountRegionOperations.cs index 49d1bc40cb2c..17f4943dcb72 100644 --- a/sdk/cosmosdb/Microsoft.Azure.Management.CosmosDB/src/Generated/DatabaseAccountRegionOperations.cs +++ b/sdk/cosmosdb/Microsoft.Azure.Management.CosmosDB/src/Generated/DatabaseAccountRegionOperations.cs @@ -117,10 +117,6 @@ internal DatabaseAccountRegionOperations(CosmosDBManagementClient client) { throw new ValidationException(ValidationRules.MinLength, "resourceGroupName", 1); } - if (!System.Text.RegularExpressions.Regex.IsMatch(resourceGroupName, "^[-\\w\\._\\(\\)]+$")) - { - throw new ValidationException(ValidationRules.Pattern, "resourceGroupName", "^[-\\w\\._\\(\\)]+$"); - } } if (accountName == null) { diff --git a/sdk/cosmosdb/Microsoft.Azure.Management.CosmosDB/src/Generated/DatabaseAccountsOperations.cs b/sdk/cosmosdb/Microsoft.Azure.Management.CosmosDB/src/Generated/DatabaseAccountsOperations.cs index 22bfa79fb675..07a55df535a2 100644 --- a/sdk/cosmosdb/Microsoft.Azure.Management.CosmosDB/src/Generated/DatabaseAccountsOperations.cs +++ b/sdk/cosmosdb/Microsoft.Azure.Management.CosmosDB/src/Generated/DatabaseAccountsOperations.cs @@ -107,10 +107,6 @@ internal DatabaseAccountsOperations(CosmosDBManagementClient client) { throw new ValidationException(ValidationRules.MinLength, "resourceGroupName", 1); } - if (!System.Text.RegularExpressions.Regex.IsMatch(resourceGroupName, "^[-\\w\\._\\(\\)]+$")) - { - throw new ValidationException(ValidationRules.Pattern, "resourceGroupName", "^[-\\w\\._\\(\\)]+$"); - } } if (accountName == null) { @@ -629,10 +625,6 @@ internal DatabaseAccountsOperations(CosmosDBManagementClient client) { throw new ValidationException(ValidationRules.MinLength, "resourceGroupName", 1); } - if (!System.Text.RegularExpressions.Regex.IsMatch(resourceGroupName, "^[-\\w\\._\\(\\)]+$")) - { - throw new ValidationException(ValidationRules.Pattern, "resourceGroupName", "^[-\\w\\._\\(\\)]+$"); - } } if (Client.ApiVersion == null) { @@ -859,10 +851,6 @@ internal DatabaseAccountsOperations(CosmosDBManagementClient client) { throw new ValidationException(ValidationRules.MinLength, "resourceGroupName", 1); } - if (!System.Text.RegularExpressions.Regex.IsMatch(resourceGroupName, "^[-\\w\\._\\(\\)]+$")) - { - throw new ValidationException(ValidationRules.Pattern, "resourceGroupName", "^[-\\w\\._\\(\\)]+$"); - } } if (accountName == null) { @@ -1100,10 +1088,6 @@ internal DatabaseAccountsOperations(CosmosDBManagementClient client) { throw new ValidationException(ValidationRules.MinLength, "resourceGroupName", 1); } - if (!System.Text.RegularExpressions.Regex.IsMatch(resourceGroupName, "^[-\\w\\._\\(\\)]+$")) - { - throw new ValidationException(ValidationRules.Pattern, "resourceGroupName", "^[-\\w\\._\\(\\)]+$"); - } } if (accountName == null) { @@ -1393,10 +1377,6 @@ internal DatabaseAccountsOperations(CosmosDBManagementClient client) { throw new ValidationException(ValidationRules.MinLength, "resourceGroupName", 1); } - if (!System.Text.RegularExpressions.Regex.IsMatch(resourceGroupName, "^[-\\w\\._\\(\\)]+$")) - { - throw new ValidationException(ValidationRules.Pattern, "resourceGroupName", "^[-\\w\\._\\(\\)]+$"); - } } if (accountName == null) { @@ -1634,10 +1614,6 @@ internal DatabaseAccountsOperations(CosmosDBManagementClient client) { throw new ValidationException(ValidationRules.MinLength, "resourceGroupName", 1); } - if (!System.Text.RegularExpressions.Regex.IsMatch(resourceGroupName, "^[-\\w\\._\\(\\)]+$")) - { - throw new ValidationException(ValidationRules.Pattern, "resourceGroupName", "^[-\\w\\._\\(\\)]+$"); - } } if (accountName == null) { @@ -2093,10 +2069,6 @@ internal DatabaseAccountsOperations(CosmosDBManagementClient client) { throw new ValidationException(ValidationRules.MinLength, "resourceGroupName", 1); } - if (!System.Text.RegularExpressions.Regex.IsMatch(resourceGroupName, "^[-\\w\\._\\(\\)]+$")) - { - throw new ValidationException(ValidationRules.Pattern, "resourceGroupName", "^[-\\w\\._\\(\\)]+$"); - } } if (accountName == null) { @@ -2347,10 +2319,6 @@ internal DatabaseAccountsOperations(CosmosDBManagementClient client) { throw new ValidationException(ValidationRules.MinLength, "resourceGroupName", 1); } - if (!System.Text.RegularExpressions.Regex.IsMatch(resourceGroupName, "^[-\\w\\._\\(\\)]+$")) - { - throw new ValidationException(ValidationRules.Pattern, "resourceGroupName", "^[-\\w\\._\\(\\)]+$"); - } } if (accountName == null) { @@ -2592,10 +2560,6 @@ internal DatabaseAccountsOperations(CosmosDBManagementClient client) { throw new ValidationException(ValidationRules.MinLength, "resourceGroupName", 1); } - if (!System.Text.RegularExpressions.Regex.IsMatch(resourceGroupName, "^[-\\w\\._\\(\\)]+$")) - { - throw new ValidationException(ValidationRules.Pattern, "resourceGroupName", "^[-\\w\\._\\(\\)]+$"); - } } if (accountName == null) { @@ -2835,10 +2799,6 @@ internal DatabaseAccountsOperations(CosmosDBManagementClient client) { throw new ValidationException(ValidationRules.MinLength, "resourceGroupName", 1); } - if (!System.Text.RegularExpressions.Regex.IsMatch(resourceGroupName, "^[-\\w\\._\\(\\)]+$")) - { - throw new ValidationException(ValidationRules.Pattern, "resourceGroupName", "^[-\\w\\._\\(\\)]+$"); - } } if (accountName == null) { @@ -3090,10 +3050,6 @@ internal DatabaseAccountsOperations(CosmosDBManagementClient client) { throw new ValidationException(ValidationRules.MinLength, "resourceGroupName", 1); } - if (!System.Text.RegularExpressions.Regex.IsMatch(resourceGroupName, "^[-\\w\\._\\(\\)]+$")) - { - throw new ValidationException(ValidationRules.Pattern, "resourceGroupName", "^[-\\w\\._\\(\\)]+$"); - } } if (accountName == null) { @@ -3342,10 +3298,6 @@ internal DatabaseAccountsOperations(CosmosDBManagementClient client) { throw new ValidationException(ValidationRules.MinLength, "resourceGroupName", 1); } - if (!System.Text.RegularExpressions.Regex.IsMatch(resourceGroupName, "^[-\\w\\._\\(\\)]+$")) - { - throw new ValidationException(ValidationRules.Pattern, "resourceGroupName", "^[-\\w\\._\\(\\)]+$"); - } } if (accountName == null) { @@ -3568,10 +3520,6 @@ internal DatabaseAccountsOperations(CosmosDBManagementClient client) { throw new ValidationException(ValidationRules.MinLength, "resourceGroupName", 1); } - if (!System.Text.RegularExpressions.Regex.IsMatch(resourceGroupName, "^[-\\w\\._\\(\\)]+$")) - { - throw new ValidationException(ValidationRules.Pattern, "resourceGroupName", "^[-\\w\\._\\(\\)]+$"); - } } if (accountName == null) { @@ -3806,10 +3754,6 @@ internal DatabaseAccountsOperations(CosmosDBManagementClient client) { throw new ValidationException(ValidationRules.MinLength, "resourceGroupName", 1); } - if (!System.Text.RegularExpressions.Regex.IsMatch(resourceGroupName, "^[-\\w\\._\\(\\)]+$")) - { - throw new ValidationException(ValidationRules.Pattern, "resourceGroupName", "^[-\\w\\._\\(\\)]+$"); - } } if (accountName == null) { @@ -4039,10 +3983,6 @@ internal DatabaseAccountsOperations(CosmosDBManagementClient client) { throw new ValidationException(ValidationRules.MinLength, "resourceGroupName", 1); } - if (!System.Text.RegularExpressions.Regex.IsMatch(resourceGroupName, "^[-\\w\\._\\(\\)]+$")) - { - throw new ValidationException(ValidationRules.Pattern, "resourceGroupName", "^[-\\w\\._\\(\\)]+$"); - } } if (accountName == null) { @@ -4272,10 +4212,6 @@ internal DatabaseAccountsOperations(CosmosDBManagementClient client) { throw new ValidationException(ValidationRules.MinLength, "resourceGroupName", 1); } - if (!System.Text.RegularExpressions.Regex.IsMatch(resourceGroupName, "^[-\\w\\._\\(\\)]+$")) - { - throw new ValidationException(ValidationRules.Pattern, "resourceGroupName", "^[-\\w\\._\\(\\)]+$"); - } } if (accountName == null) { diff --git a/sdk/cosmosdb/Microsoft.Azure.Management.CosmosDB/src/Generated/DatabaseOperations.cs b/sdk/cosmosdb/Microsoft.Azure.Management.CosmosDB/src/Generated/DatabaseOperations.cs index 9355f5c552ba..541d6775a12d 100644 --- a/sdk/cosmosdb/Microsoft.Azure.Management.CosmosDB/src/Generated/DatabaseOperations.cs +++ b/sdk/cosmosdb/Microsoft.Azure.Management.CosmosDB/src/Generated/DatabaseOperations.cs @@ -117,10 +117,6 @@ internal DatabaseOperations(CosmosDBManagementClient client) { throw new ValidationException(ValidationRules.MinLength, "resourceGroupName", 1); } - if (!System.Text.RegularExpressions.Regex.IsMatch(resourceGroupName, "^[-\\w\\._\\(\\)]+$")) - { - throw new ValidationException(ValidationRules.Pattern, "resourceGroupName", "^[-\\w\\._\\(\\)]+$"); - } } if (accountName == null) { @@ -380,10 +376,6 @@ internal DatabaseOperations(CosmosDBManagementClient client) { throw new ValidationException(ValidationRules.MinLength, "resourceGroupName", 1); } - if (!System.Text.RegularExpressions.Regex.IsMatch(resourceGroupName, "^[-\\w\\._\\(\\)]+$")) - { - throw new ValidationException(ValidationRules.Pattern, "resourceGroupName", "^[-\\w\\._\\(\\)]+$"); - } } if (accountName == null) { @@ -634,10 +626,6 @@ internal DatabaseOperations(CosmosDBManagementClient client) { throw new ValidationException(ValidationRules.MinLength, "resourceGroupName", 1); } - if (!System.Text.RegularExpressions.Regex.IsMatch(resourceGroupName, "^[-\\w\\._\\(\\)]+$")) - { - throw new ValidationException(ValidationRules.Pattern, "resourceGroupName", "^[-\\w\\._\\(\\)]+$"); - } } if (accountName == null) { diff --git a/sdk/cosmosdb/Microsoft.Azure.Management.CosmosDB/src/Generated/GremlinResourcesOperations.cs b/sdk/cosmosdb/Microsoft.Azure.Management.CosmosDB/src/Generated/GremlinResourcesOperations.cs index fd62ef24aac7..d18fa497c4a8 100644 --- a/sdk/cosmosdb/Microsoft.Azure.Management.CosmosDB/src/Generated/GremlinResourcesOperations.cs +++ b/sdk/cosmosdb/Microsoft.Azure.Management.CosmosDB/src/Generated/GremlinResourcesOperations.cs @@ -108,10 +108,6 @@ internal GremlinResourcesOperations(CosmosDBManagementClient client) { throw new ValidationException(ValidationRules.MinLength, "resourceGroupName", 1); } - if (!System.Text.RegularExpressions.Regex.IsMatch(resourceGroupName, "^[-\\w\\._\\(\\)]+$")) - { - throw new ValidationException(ValidationRules.Pattern, "resourceGroupName", "^[-\\w\\._\\(\\)]+$"); - } } if (accountName == null) { @@ -352,10 +348,6 @@ internal GremlinResourcesOperations(CosmosDBManagementClient client) { throw new ValidationException(ValidationRules.MinLength, "resourceGroupName", 1); } - if (!System.Text.RegularExpressions.Regex.IsMatch(resourceGroupName, "^[-\\w\\._\\(\\)]+$")) - { - throw new ValidationException(ValidationRules.Pattern, "resourceGroupName", "^[-\\w\\._\\(\\)]+$"); - } } if (accountName == null) { @@ -655,10 +647,6 @@ internal GremlinResourcesOperations(CosmosDBManagementClient client) { throw new ValidationException(ValidationRules.MinLength, "resourceGroupName", 1); } - if (!System.Text.RegularExpressions.Regex.IsMatch(resourceGroupName, "^[-\\w\\._\\(\\)]+$")) - { - throw new ValidationException(ValidationRules.Pattern, "resourceGroupName", "^[-\\w\\._\\(\\)]+$"); - } } if (accountName == null) { @@ -985,10 +973,6 @@ internal GremlinResourcesOperations(CosmosDBManagementClient client) { throw new ValidationException(ValidationRules.MinLength, "resourceGroupName", 1); } - if (!System.Text.RegularExpressions.Regex.IsMatch(resourceGroupName, "^[-\\w\\._\\(\\)]+$")) - { - throw new ValidationException(ValidationRules.Pattern, "resourceGroupName", "^[-\\w\\._\\(\\)]+$"); - } } if (accountName == null) { @@ -1237,10 +1221,6 @@ internal GremlinResourcesOperations(CosmosDBManagementClient client) { throw new ValidationException(ValidationRules.MinLength, "resourceGroupName", 1); } - if (!System.Text.RegularExpressions.Regex.IsMatch(resourceGroupName, "^[-\\w\\._\\(\\)]+$")) - { - throw new ValidationException(ValidationRules.Pattern, "resourceGroupName", "^[-\\w\\._\\(\\)]+$"); - } } if (accountName == null) { @@ -1555,10 +1535,6 @@ internal GremlinResourcesOperations(CosmosDBManagementClient client) { throw new ValidationException(ValidationRules.MinLength, "resourceGroupName", 1); } - if (!System.Text.RegularExpressions.Regex.IsMatch(resourceGroupName, "^[-\\w\\._\\(\\)]+$")) - { - throw new ValidationException(ValidationRules.Pattern, "resourceGroupName", "^[-\\w\\._\\(\\)]+$"); - } } if (accountName == null) { @@ -1903,10 +1879,6 @@ internal GremlinResourcesOperations(CosmosDBManagementClient client) { throw new ValidationException(ValidationRules.MinLength, "resourceGroupName", 1); } - if (!System.Text.RegularExpressions.Regex.IsMatch(resourceGroupName, "^[-\\w\\._\\(\\)]+$")) - { - throw new ValidationException(ValidationRules.Pattern, "resourceGroupName", "^[-\\w\\._\\(\\)]+$"); - } } if (accountName == null) { @@ -2164,10 +2136,6 @@ internal GremlinResourcesOperations(CosmosDBManagementClient client) { throw new ValidationException(ValidationRules.MinLength, "resourceGroupName", 1); } - if (!System.Text.RegularExpressions.Regex.IsMatch(resourceGroupName, "^[-\\w\\._\\(\\)]+$")) - { - throw new ValidationException(ValidationRules.Pattern, "resourceGroupName", "^[-\\w\\._\\(\\)]+$"); - } } if (accountName == null) { @@ -2399,10 +2367,6 @@ internal GremlinResourcesOperations(CosmosDBManagementClient client) { throw new ValidationException(ValidationRules.MinLength, "resourceGroupName", 1); } - if (!System.Text.RegularExpressions.Regex.IsMatch(resourceGroupName, "^[-\\w\\._\\(\\)]+$")) - { - throw new ValidationException(ValidationRules.Pattern, "resourceGroupName", "^[-\\w\\._\\(\\)]+$"); - } } if (accountName == null) { @@ -2664,10 +2628,6 @@ internal GremlinResourcesOperations(CosmosDBManagementClient client) { throw new ValidationException(ValidationRules.MinLength, "resourceGroupName", 1); } - if (!System.Text.RegularExpressions.Regex.IsMatch(resourceGroupName, "^[-\\w\\._\\(\\)]+$")) - { - throw new ValidationException(ValidationRules.Pattern, "resourceGroupName", "^[-\\w\\._\\(\\)]+$"); - } } if (accountName == null) { @@ -2914,10 +2874,6 @@ internal GremlinResourcesOperations(CosmosDBManagementClient client) { throw new ValidationException(ValidationRules.MinLength, "resourceGroupName", 1); } - if (!System.Text.RegularExpressions.Regex.IsMatch(resourceGroupName, "^[-\\w\\._\\(\\)]+$")) - { - throw new ValidationException(ValidationRules.Pattern, "resourceGroupName", "^[-\\w\\._\\(\\)]+$"); - } } if (accountName == null) { @@ -3169,10 +3125,6 @@ internal GremlinResourcesOperations(CosmosDBManagementClient client) { throw new ValidationException(ValidationRules.MinLength, "resourceGroupName", 1); } - if (!System.Text.RegularExpressions.Regex.IsMatch(resourceGroupName, "^[-\\w\\._\\(\\)]+$")) - { - throw new ValidationException(ValidationRules.Pattern, "resourceGroupName", "^[-\\w\\._\\(\\)]+$"); - } } if (accountName == null) { @@ -3439,10 +3391,6 @@ internal GremlinResourcesOperations(CosmosDBManagementClient client) { throw new ValidationException(ValidationRules.MinLength, "resourceGroupName", 1); } - if (!System.Text.RegularExpressions.Regex.IsMatch(resourceGroupName, "^[-\\w\\._\\(\\)]+$")) - { - throw new ValidationException(ValidationRules.Pattern, "resourceGroupName", "^[-\\w\\._\\(\\)]+$"); - } } if (accountName == null) { @@ -3683,10 +3631,6 @@ internal GremlinResourcesOperations(CosmosDBManagementClient client) { throw new ValidationException(ValidationRules.MinLength, "resourceGroupName", 1); } - if (!System.Text.RegularExpressions.Regex.IsMatch(resourceGroupName, "^[-\\w\\._\\(\\)]+$")) - { - throw new ValidationException(ValidationRules.Pattern, "resourceGroupName", "^[-\\w\\._\\(\\)]+$"); - } } if (accountName == null) { @@ -3957,10 +3901,6 @@ internal GremlinResourcesOperations(CosmosDBManagementClient client) { throw new ValidationException(ValidationRules.MinLength, "resourceGroupName", 1); } - if (!System.Text.RegularExpressions.Regex.IsMatch(resourceGroupName, "^[-\\w\\._\\(\\)]+$")) - { - throw new ValidationException(ValidationRules.Pattern, "resourceGroupName", "^[-\\w\\._\\(\\)]+$"); - } } if (accountName == null) { @@ -4216,10 +4156,6 @@ internal GremlinResourcesOperations(CosmosDBManagementClient client) { throw new ValidationException(ValidationRules.MinLength, "resourceGroupName", 1); } - if (!System.Text.RegularExpressions.Regex.IsMatch(resourceGroupName, "^[-\\w\\._\\(\\)]+$")) - { - throw new ValidationException(ValidationRules.Pattern, "resourceGroupName", "^[-\\w\\._\\(\\)]+$"); - } } if (accountName == null) { diff --git a/sdk/cosmosdb/Microsoft.Azure.Management.CosmosDB/src/Generated/ICosmosDBManagementClient.cs b/sdk/cosmosdb/Microsoft.Azure.Management.CosmosDB/src/Generated/ICosmosDBManagementClient.cs index 6825f20dff2a..70be011f245b 100644 --- a/sdk/cosmosdb/Microsoft.Azure.Management.CosmosDB/src/Generated/ICosmosDBManagementClient.cs +++ b/sdk/cosmosdb/Microsoft.Azure.Management.CosmosDB/src/Generated/ICosmosDBManagementClient.cs @@ -163,15 +163,50 @@ public partial interface ICosmosDBManagementClient : System.IDisposable /// INotebookWorkspacesOperations NotebookWorkspaces { get; } + /// + /// Gets the IPrivateEndpointConnectionsOperations. + /// + IPrivateEndpointConnectionsOperations PrivateEndpointConnections { get; } + /// /// Gets the IPrivateLinkResourcesOperations. /// IPrivateLinkResourcesOperations PrivateLinkResources { get; } /// - /// Gets the IPrivateEndpointConnectionsOperations. + /// Gets the IRestorableDatabaseAccountsOperations. /// - IPrivateEndpointConnectionsOperations PrivateEndpointConnections { get; } + IRestorableDatabaseAccountsOperations RestorableDatabaseAccounts { get; } + + /// + /// Gets the IRestorableSqlDatabasesOperations. + /// + IRestorableSqlDatabasesOperations RestorableSqlDatabases { get; } + + /// + /// Gets the IRestorableSqlContainersOperations. + /// + IRestorableSqlContainersOperations RestorableSqlContainers { get; } + + /// + /// Gets the IRestorableSqlResourcesOperations. + /// + IRestorableSqlResourcesOperations RestorableSqlResources { get; } + + /// + /// Gets the IRestorableMongodbDatabasesOperations. + /// + IRestorableMongodbDatabasesOperations RestorableMongodbDatabases { get; } + + /// + /// Gets the IRestorableMongodbCollectionsOperations. + /// + IRestorableMongodbCollectionsOperations RestorableMongodbCollections { get; } + + /// + /// Gets the IRestorableMongodbResourcesOperations. + /// + IRestorableMongodbResourcesOperations RestorableMongodbResources { get; } } } diff --git a/sdk/cosmosdb/Microsoft.Azure.Management.CosmosDB/src/Generated/IRestorableDatabaseAccountsOperations.cs b/sdk/cosmosdb/Microsoft.Azure.Management.CosmosDB/src/Generated/IRestorableDatabaseAccountsOperations.cs new file mode 100644 index 000000000000..e1a26f87e10b --- /dev/null +++ b/sdk/cosmosdb/Microsoft.Azure.Management.CosmosDB/src/Generated/IRestorableDatabaseAccountsOperations.cs @@ -0,0 +1,105 @@ +// +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See License.txt in the project root for +// license information. +// +// Code generated by Microsoft (R) AutoRest Code Generator. +// Changes may cause incorrect behavior and will be lost if the code is +// regenerated. +// + +namespace Microsoft.Azure.Management.CosmosDB +{ + using Microsoft.Rest; + using Microsoft.Rest.Azure; + using Models; + using System.Collections; + using System.Collections.Generic; + using System.Threading; + using System.Threading.Tasks; + + /// + /// RestorableDatabaseAccountsOperations operations. + /// + public partial interface IRestorableDatabaseAccountsOperations + { + /// + /// Lists all the restorable Azure Cosmos DB database accounts + /// available under the subscription and in a region. This call + /// requires + /// 'Microsoft.DocumentDB/locations/restorableDatabaseAccounts/read' + /// permission. + /// + /// + /// Cosmos DB region, with spaces between words and each word + /// capitalized. + /// + /// + /// The headers that will be added to request. + /// + /// + /// The cancellation token. + /// + /// + /// Thrown when the operation returned an invalid status code + /// + /// + /// Thrown when unable to deserialize the response + /// + /// + /// Thrown when a required parameter is null + /// + Task>> ListByLocationWithHttpMessagesAsync(string location, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + /// + /// Lists all the restorable Azure Cosmos DB database accounts + /// available under the subscription. This call requires + /// 'Microsoft.DocumentDB/locations/restorableDatabaseAccounts/read' + /// permission. + /// + /// + /// The headers that will be added to request. + /// + /// + /// The cancellation token. + /// + /// + /// Thrown when the operation returned an invalid status code + /// + /// + /// Thrown when unable to deserialize the response + /// + /// + /// Thrown when a required parameter is null + /// + Task>> ListWithHttpMessagesAsync(Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + /// + /// Retrieves the properties of an existing Azure Cosmos DB restorable + /// database account. This call requires + /// 'Microsoft.DocumentDB/locations/restorableDatabaseAccounts/read/*' + /// permission. + /// + /// + /// Cosmos DB region, with spaces between words and each word + /// capitalized. + /// + /// + /// The instanceId GUID of a restorable database account. + /// + /// + /// The headers that will be added to request. + /// + /// + /// The cancellation token. + /// + /// + /// Thrown when the operation returned an invalid status code + /// + /// + /// Thrown when unable to deserialize the response + /// + /// + /// Thrown when a required parameter is null + /// + Task> GetByLocationWithHttpMessagesAsync(string location, string instanceId, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + } +} diff --git a/sdk/cosmosdb/Microsoft.Azure.Management.CosmosDB/src/Generated/IRestorableMongodbCollectionsOperations.cs b/sdk/cosmosdb/Microsoft.Azure.Management.CosmosDB/src/Generated/IRestorableMongodbCollectionsOperations.cs new file mode 100644 index 000000000000..b37c85352e82 --- /dev/null +++ b/sdk/cosmosdb/Microsoft.Azure.Management.CosmosDB/src/Generated/IRestorableMongodbCollectionsOperations.cs @@ -0,0 +1,61 @@ +// +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See License.txt in the project root for +// license information. +// +// Code generated by Microsoft (R) AutoRest Code Generator. +// Changes may cause incorrect behavior and will be lost if the code is +// regenerated. +// + +namespace Microsoft.Azure.Management.CosmosDB +{ + using Microsoft.Rest; + using Microsoft.Rest.Azure; + using Models; + using System.Collections; + using System.Collections.Generic; + using System.Threading; + using System.Threading.Tasks; + + /// + /// RestorableMongodbCollectionsOperations operations. + /// + public partial interface IRestorableMongodbCollectionsOperations + { + /// + /// Show the event feed of all mutations done on all the Azure Cosmos + /// DB MongoDB collections under a specific database. This helps in + /// scenario where container was accidentally deleted. This API + /// requires + /// 'Microsoft.DocumentDB/locations/restorableDatabaseAccounts/.../read' + /// permission + /// + /// + /// Cosmos DB region, with spaces between words and each word + /// capitalized. + /// + /// + /// The instanceId GUID of a restorable database account. + /// + /// + /// The resource ID of the MongoDB database. + /// + /// + /// The headers that will be added to request. + /// + /// + /// The cancellation token. + /// + /// + /// Thrown when the operation returned an invalid status code + /// + /// + /// Thrown when unable to deserialize the response + /// + /// + /// Thrown when a required parameter is null + /// + Task>> ListWithHttpMessagesAsync(string location, string instanceId, string restorableMongodbDatabaseRid = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + } +} diff --git a/sdk/cosmosdb/Microsoft.Azure.Management.CosmosDB/src/Generated/IRestorableMongodbDatabasesOperations.cs b/sdk/cosmosdb/Microsoft.Azure.Management.CosmosDB/src/Generated/IRestorableMongodbDatabasesOperations.cs new file mode 100644 index 000000000000..e448a153744b --- /dev/null +++ b/sdk/cosmosdb/Microsoft.Azure.Management.CosmosDB/src/Generated/IRestorableMongodbDatabasesOperations.cs @@ -0,0 +1,58 @@ +// +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See License.txt in the project root for +// license information. +// +// Code generated by Microsoft (R) AutoRest Code Generator. +// Changes may cause incorrect behavior and will be lost if the code is +// regenerated. +// + +namespace Microsoft.Azure.Management.CosmosDB +{ + using Microsoft.Rest; + using Microsoft.Rest.Azure; + using Models; + using System.Collections; + using System.Collections.Generic; + using System.Threading; + using System.Threading.Tasks; + + /// + /// RestorableMongodbDatabasesOperations operations. + /// + public partial interface IRestorableMongodbDatabasesOperations + { + /// + /// Show the event feed of all mutations done on all the Azure Cosmos + /// DB MongoDB databases under the restorable account. This helps in + /// scenario where database was accidentally deleted to get the + /// deletion time. This API requires + /// 'Microsoft.DocumentDB/locations/restorableDatabaseAccounts/.../read' + /// permission + /// + /// + /// Cosmos DB region, with spaces between words and each word + /// capitalized. + /// + /// + /// The instanceId GUID of a restorable database account. + /// + /// + /// The headers that will be added to request. + /// + /// + /// The cancellation token. + /// + /// + /// Thrown when the operation returned an invalid status code + /// + /// + /// Thrown when unable to deserialize the response + /// + /// + /// Thrown when a required parameter is null + /// + Task>> ListWithHttpMessagesAsync(string location, string instanceId, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + } +} diff --git a/sdk/cosmosdb/Microsoft.Azure.Management.CosmosDB/src/Generated/IRestorableMongodbResourcesOperations.cs b/sdk/cosmosdb/Microsoft.Azure.Management.CosmosDB/src/Generated/IRestorableMongodbResourcesOperations.cs new file mode 100644 index 000000000000..c218372523e0 --- /dev/null +++ b/sdk/cosmosdb/Microsoft.Azure.Management.CosmosDB/src/Generated/IRestorableMongodbResourcesOperations.cs @@ -0,0 +1,64 @@ +// +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See License.txt in the project root for +// license information. +// +// Code generated by Microsoft (R) AutoRest Code Generator. +// Changes may cause incorrect behavior and will be lost if the code is +// regenerated. +// + +namespace Microsoft.Azure.Management.CosmosDB +{ + using Microsoft.Rest; + using Microsoft.Rest.Azure; + using Models; + using System.Collections; + using System.Collections.Generic; + using System.Threading; + using System.Threading.Tasks; + + /// + /// RestorableMongodbResourcesOperations operations. + /// + public partial interface IRestorableMongodbResourcesOperations + { + /// + /// Return a list of database and collection combo that exist on the + /// account at the given timestamp and location. This helps in + /// scenarios to validate what resources exist at given timestamp and + /// location. This API requires + /// 'Microsoft.DocumentDB/locations/restorableDatabaseAccounts/.../read' + /// permission. + /// + /// + /// Cosmos DB region, with spaces between words and each word + /// capitalized. + /// + /// + /// The instanceId GUID of a restorable database account. + /// + /// + /// The location where the restorable resources are located. + /// + /// + /// The timestamp when the restorable resources existed. + /// + /// + /// The headers that will be added to request. + /// + /// + /// The cancellation token. + /// + /// + /// Thrown when the operation returned an invalid status code + /// + /// + /// Thrown when unable to deserialize the response + /// + /// + /// Thrown when a required parameter is null + /// + Task>> ListWithHttpMessagesAsync(string location, string instanceId, string restoreLocation = default(string), string restoreTimestampInUtc = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + } +} diff --git a/sdk/cosmosdb/Microsoft.Azure.Management.CosmosDB/src/Generated/IRestorableSqlContainersOperations.cs b/sdk/cosmosdb/Microsoft.Azure.Management.CosmosDB/src/Generated/IRestorableSqlContainersOperations.cs new file mode 100644 index 000000000000..703b77b68312 --- /dev/null +++ b/sdk/cosmosdb/Microsoft.Azure.Management.CosmosDB/src/Generated/IRestorableSqlContainersOperations.cs @@ -0,0 +1,69 @@ +// +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See License.txt in the project root for +// license information. +// +// Code generated by Microsoft (R) AutoRest Code Generator. +// Changes may cause incorrect behavior and will be lost if the code is +// regenerated. +// + +namespace Microsoft.Azure.Management.CosmosDB +{ + using Microsoft.Rest; + using Microsoft.Rest.Azure; + using Models; + using System.Collections; + using System.Collections.Generic; + using System.Threading; + using System.Threading.Tasks; + + /// + /// RestorableSqlContainersOperations operations. + /// + public partial interface IRestorableSqlContainersOperations + { + /// + /// Show the event feed of all mutations done on all the Azure Cosmos + /// DB SQL containers under a specific database. This helps in + /// scenario where container was accidentally deleted. This API + /// requires + /// 'Microsoft.DocumentDB/locations/restorableDatabaseAccounts/.../read' + /// permission + /// + /// + /// Cosmos DB region, with spaces between words and each word + /// capitalized. + /// + /// + /// The instanceId GUID of a restorable database account. + /// + /// + /// The resource ID of the SQL database. + /// + /// + /// The snapshot create timestamp after which snapshots need to be + /// listed. + /// + /// + /// The snapshot create timestamp before which snapshots need to be + /// listed. + /// + /// + /// The headers that will be added to request. + /// + /// + /// The cancellation token. + /// + /// + /// Thrown when the operation returned an invalid status code + /// + /// + /// Thrown when unable to deserialize the response + /// + /// + /// Thrown when a required parameter is null + /// + Task>> ListWithHttpMessagesAsync(string location, string instanceId, string restorableSqlDatabaseRid = default(string), string startTime = default(string), string endTime = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + } +} diff --git a/sdk/cosmosdb/Microsoft.Azure.Management.CosmosDB/src/Generated/IRestorableSqlDatabasesOperations.cs b/sdk/cosmosdb/Microsoft.Azure.Management.CosmosDB/src/Generated/IRestorableSqlDatabasesOperations.cs new file mode 100644 index 000000000000..9e5f0df87d0f --- /dev/null +++ b/sdk/cosmosdb/Microsoft.Azure.Management.CosmosDB/src/Generated/IRestorableSqlDatabasesOperations.cs @@ -0,0 +1,58 @@ +// +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See License.txt in the project root for +// license information. +// +// Code generated by Microsoft (R) AutoRest Code Generator. +// Changes may cause incorrect behavior and will be lost if the code is +// regenerated. +// + +namespace Microsoft.Azure.Management.CosmosDB +{ + using Microsoft.Rest; + using Microsoft.Rest.Azure; + using Models; + using System.Collections; + using System.Collections.Generic; + using System.Threading; + using System.Threading.Tasks; + + /// + /// RestorableSqlDatabasesOperations operations. + /// + public partial interface IRestorableSqlDatabasesOperations + { + /// + /// Show the event feed of all mutations done on all the Azure Cosmos + /// DB SQL databases under the restorable account. This helps in + /// scenario where database was accidentally deleted to get the + /// deletion time. This API requires + /// 'Microsoft.DocumentDB/locations/restorableDatabaseAccounts/.../read' + /// permission + /// + /// + /// Cosmos DB region, with spaces between words and each word + /// capitalized. + /// + /// + /// The instanceId GUID of a restorable database account. + /// + /// + /// The headers that will be added to request. + /// + /// + /// The cancellation token. + /// + /// + /// Thrown when the operation returned an invalid status code + /// + /// + /// Thrown when unable to deserialize the response + /// + /// + /// Thrown when a required parameter is null + /// + Task>> ListWithHttpMessagesAsync(string location, string instanceId, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + } +} diff --git a/sdk/cosmosdb/Microsoft.Azure.Management.CosmosDB/src/Generated/IRestorableSqlResourcesOperations.cs b/sdk/cosmosdb/Microsoft.Azure.Management.CosmosDB/src/Generated/IRestorableSqlResourcesOperations.cs new file mode 100644 index 000000000000..096ec270e22a --- /dev/null +++ b/sdk/cosmosdb/Microsoft.Azure.Management.CosmosDB/src/Generated/IRestorableSqlResourcesOperations.cs @@ -0,0 +1,64 @@ +// +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See License.txt in the project root for +// license information. +// +// Code generated by Microsoft (R) AutoRest Code Generator. +// Changes may cause incorrect behavior and will be lost if the code is +// regenerated. +// + +namespace Microsoft.Azure.Management.CosmosDB +{ + using Microsoft.Rest; + using Microsoft.Rest.Azure; + using Models; + using System.Collections; + using System.Collections.Generic; + using System.Threading; + using System.Threading.Tasks; + + /// + /// RestorableSqlResourcesOperations operations. + /// + public partial interface IRestorableSqlResourcesOperations + { + /// + /// Return a list of database and container combo that exist on the + /// account at the given timestamp and location. This helps in + /// scenarios to validate what resources exist at given timestamp and + /// location. This API requires + /// 'Microsoft.DocumentDB/locations/restorableDatabaseAccounts/.../read' + /// permission. + /// + /// + /// Cosmos DB region, with spaces between words and each word + /// capitalized. + /// + /// + /// The instanceId GUID of a restorable database account. + /// + /// + /// The location where the restorable resources are located. + /// + /// + /// The timestamp when the restorable resources existed. + /// + /// + /// The headers that will be added to request. + /// + /// + /// The cancellation token. + /// + /// + /// Thrown when the operation returned an invalid status code + /// + /// + /// Thrown when unable to deserialize the response + /// + /// + /// Thrown when a required parameter is null + /// + Task>> ListWithHttpMessagesAsync(string location, string instanceId, string restoreLocation = default(string), string restoreTimestampInUtc = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + } +} diff --git a/sdk/cosmosdb/Microsoft.Azure.Management.CosmosDB/src/Generated/ISqlResourcesOperations.cs b/sdk/cosmosdb/Microsoft.Azure.Management.CosmosDB/src/Generated/ISqlResourcesOperations.cs index 1c70deb2f903..81ce9991bc6a 100644 --- a/sdk/cosmosdb/Microsoft.Azure.Management.CosmosDB/src/Generated/ISqlResourcesOperations.cs +++ b/sdk/cosmosdb/Microsoft.Azure.Management.CosmosDB/src/Generated/ISqlResourcesOperations.cs @@ -1133,6 +1133,40 @@ public partial interface ISqlResourcesOperations /// Task>> ListSqlRoleAssignmentsWithHttpMessagesAsync(string resourceGroupName, string accountName, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); /// + /// Retrieves continuous backup information for a container resource. + /// + /// + /// The name of the resource group. The name is case insensitive. + /// + /// + /// Cosmos DB database account name. + /// + /// + /// Cosmos DB database name. + /// + /// + /// Cosmos DB container name. + /// + /// + /// The name of the continuous backup restore location. + /// + /// + /// The headers that will be added to request. + /// + /// + /// The cancellation token. + /// + /// + /// Thrown when the operation returned an invalid status code + /// + /// + /// Thrown when unable to deserialize the response + /// + /// + /// Thrown when a required parameter is null + /// + Task> RetrieveContinuousBackupInformationWithHttpMessagesAsync(string resourceGroupName, string accountName, string databaseName, string containerName, ContinuousBackupRestoreLocation location, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + /// /// Create or update an Azure Cosmos DB SQL database /// /// @@ -1755,5 +1789,39 @@ public partial interface ISqlResourcesOperations /// Thrown when a required parameter is null /// Task BeginDeleteSqlRoleAssignmentWithHttpMessagesAsync(string roleAssignmentId, string resourceGroupName, string accountName, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + /// + /// Retrieves continuous backup information for a container resource. + /// + /// + /// The name of the resource group. The name is case insensitive. + /// + /// + /// Cosmos DB database account name. + /// + /// + /// Cosmos DB database name. + /// + /// + /// Cosmos DB container name. + /// + /// + /// The name of the continuous backup restore location. + /// + /// + /// The headers that will be added to request. + /// + /// + /// The cancellation token. + /// + /// + /// Thrown when the operation returned an invalid status code + /// + /// + /// Thrown when unable to deserialize the response + /// + /// + /// Thrown when a required parameter is null + /// + Task> BeginRetrieveContinuousBackupInformationWithHttpMessagesAsync(string resourceGroupName, string accountName, string databaseName, string containerName, ContinuousBackupRestoreLocation location, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); } } diff --git a/sdk/cosmosdb/Microsoft.Azure.Management.CosmosDB/src/Generated/Models/AnalyticalStorageConfiguration.cs b/sdk/cosmosdb/Microsoft.Azure.Management.CosmosDB/src/Generated/Models/AnalyticalStorageConfiguration.cs new file mode 100644 index 000000000000..e2f25b399e7d --- /dev/null +++ b/sdk/cosmosdb/Microsoft.Azure.Management.CosmosDB/src/Generated/Models/AnalyticalStorageConfiguration.cs @@ -0,0 +1,54 @@ +// +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See License.txt in the project root for +// license information. +// +// Code generated by Microsoft (R) AutoRest Code Generator. +// Changes may cause incorrect behavior and will be lost if the code is +// regenerated. +// + +namespace Microsoft.Azure.Management.CosmosDB.Models +{ + using Newtonsoft.Json; + using System.Linq; + + /// + /// Analytical storage specific properties. + /// + public partial class AnalyticalStorageConfiguration + { + /// + /// Initializes a new instance of the AnalyticalStorageConfiguration + /// class. + /// + public AnalyticalStorageConfiguration() + { + CustomInit(); + } + + /// + /// Initializes a new instance of the AnalyticalStorageConfiguration + /// class. + /// + /// Possible values include: 'WellDefined', + /// 'FullFidelity' + public AnalyticalStorageConfiguration(string schemaType = default(string)) + { + SchemaType = schemaType; + CustomInit(); + } + + /// + /// An initialization method that performs custom operations like setting defaults + /// + partial void CustomInit(); + + /// + /// Gets or sets possible values include: 'WellDefined', 'FullFidelity' + /// + [JsonProperty(PropertyName = "schemaType")] + public string SchemaType { get; set; } + + } +} diff --git a/sdk/cosmosdb/Microsoft.Azure.Management.CosmosDB/src/Generated/Models/AnalyticalStorageSchemaType.cs b/sdk/cosmosdb/Microsoft.Azure.Management.CosmosDB/src/Generated/Models/AnalyticalStorageSchemaType.cs new file mode 100644 index 000000000000..4ae73b6f2567 --- /dev/null +++ b/sdk/cosmosdb/Microsoft.Azure.Management.CosmosDB/src/Generated/Models/AnalyticalStorageSchemaType.cs @@ -0,0 +1,22 @@ +// +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See License.txt in the project root for +// license information. +// +// Code generated by Microsoft (R) AutoRest Code Generator. +// Changes may cause incorrect behavior and will be lost if the code is +// regenerated. +// + +namespace Microsoft.Azure.Management.CosmosDB.Models +{ + + /// + /// Defines values for AnalyticalStorageSchemaType. + /// + public static class AnalyticalStorageSchemaType + { + public const string WellDefined = "WellDefined"; + public const string FullFidelity = "FullFidelity"; + } +} diff --git a/sdk/cosmosdb/Microsoft.Azure.Management.CosmosDB/src/Generated/Models/ApiType.cs b/sdk/cosmosdb/Microsoft.Azure.Management.CosmosDB/src/Generated/Models/ApiType.cs new file mode 100644 index 000000000000..b263e9b9ec11 --- /dev/null +++ b/sdk/cosmosdb/Microsoft.Azure.Management.CosmosDB/src/Generated/Models/ApiType.cs @@ -0,0 +1,26 @@ +// +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See License.txt in the project root for +// license information. +// +// Code generated by Microsoft (R) AutoRest Code Generator. +// Changes may cause incorrect behavior and will be lost if the code is +// regenerated. +// + +namespace Microsoft.Azure.Management.CosmosDB.Models +{ + + /// + /// Defines values for ApiType. + /// + public static class ApiType + { + public const string MongoDB = "MongoDB"; + public const string Gremlin = "Gremlin"; + public const string Cassandra = "Cassandra"; + public const string Table = "Table"; + public const string Sql = "Sql"; + public const string GremlinV2 = "GremlinV2"; + } +} diff --git a/sdk/cosmosdb/Microsoft.Azure.Management.CosmosDB/src/Generated/Models/BackupInformation.cs b/sdk/cosmosdb/Microsoft.Azure.Management.CosmosDB/src/Generated/Models/BackupInformation.cs new file mode 100644 index 000000000000..fd6ce1be799a --- /dev/null +++ b/sdk/cosmosdb/Microsoft.Azure.Management.CosmosDB/src/Generated/Models/BackupInformation.cs @@ -0,0 +1,52 @@ +// +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See License.txt in the project root for +// license information. +// +// Code generated by Microsoft (R) AutoRest Code Generator. +// Changes may cause incorrect behavior and will be lost if the code is +// regenerated. +// + +namespace Microsoft.Azure.Management.CosmosDB.Models +{ + using Newtonsoft.Json; + using System.Linq; + + /// + /// Backup information of a resource. + /// + public partial class BackupInformation + { + /// + /// Initializes a new instance of the BackupInformation class. + /// + public BackupInformation() + { + CustomInit(); + } + + /// + /// Initializes a new instance of the BackupInformation class. + /// + /// Information about the + /// status of continuous backups. + public BackupInformation(ContinuousBackupInformation continuousBackupInformation = default(ContinuousBackupInformation)) + { + ContinuousBackupInformation = continuousBackupInformation; + CustomInit(); + } + + /// + /// An initialization method that performs custom operations like setting defaults + /// + partial void CustomInit(); + + /// + /// Gets or sets information about the status of continuous backups. + /// + [JsonProperty(PropertyName = "continuousBackupInformation")] + public ContinuousBackupInformation ContinuousBackupInformation { get; set; } + + } +} diff --git a/sdk/cosmosdb/Microsoft.Azure.Management.CosmosDB/src/Generated/Models/BackupPolicy.cs b/sdk/cosmosdb/Microsoft.Azure.Management.CosmosDB/src/Generated/Models/BackupPolicy.cs index 867cca31c5c9..f7840d7f6c17 100644 --- a/sdk/cosmosdb/Microsoft.Azure.Management.CosmosDB/src/Generated/Models/BackupPolicy.cs +++ b/sdk/cosmosdb/Microsoft.Azure.Management.CosmosDB/src/Generated/Models/BackupPolicy.cs @@ -10,6 +10,7 @@ namespace Microsoft.Azure.Management.CosmosDB.Models { + using Newtonsoft.Json; using System.Linq; /// @@ -25,11 +26,28 @@ public BackupPolicy() CustomInit(); } + /// + /// Initializes a new instance of the BackupPolicy class. + /// + /// The object representing the state of + /// the migration between the backup policies. + public BackupPolicy(BackupPolicyMigrationState migrationState = default(BackupPolicyMigrationState)) + { + MigrationState = migrationState; + CustomInit(); + } /// /// An initialization method that performs custom operations like setting defaults /// partial void CustomInit(); + /// + /// Gets or sets the object representing the state of the migration + /// between the backup policies. + /// + [JsonProperty(PropertyName = "migrationState")] + public BackupPolicyMigrationState MigrationState { get; set; } + } } diff --git a/sdk/cosmosdb/Microsoft.Azure.Management.CosmosDB/src/Generated/Models/BackupPolicyMigrationState.cs b/sdk/cosmosdb/Microsoft.Azure.Management.CosmosDB/src/Generated/Models/BackupPolicyMigrationState.cs new file mode 100644 index 000000000000..b063b6fc10b2 --- /dev/null +++ b/sdk/cosmosdb/Microsoft.Azure.Management.CosmosDB/src/Generated/Models/BackupPolicyMigrationState.cs @@ -0,0 +1,77 @@ +// +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See License.txt in the project root for +// license information. +// +// Code generated by Microsoft (R) AutoRest Code Generator. +// Changes may cause incorrect behavior and will be lost if the code is +// regenerated. +// + +namespace Microsoft.Azure.Management.CosmosDB.Models +{ + using Newtonsoft.Json; + using System.Linq; + + /// + /// The object representing the state of the migration between the backup + /// policies. + /// + public partial class BackupPolicyMigrationState + { + /// + /// Initializes a new instance of the BackupPolicyMigrationState class. + /// + public BackupPolicyMigrationState() + { + CustomInit(); + } + + /// + /// Initializes a new instance of the BackupPolicyMigrationState class. + /// + /// Describes the status of migration between + /// backup policy types. Possible values include: 'Invalid', + /// 'InProgress', 'Completed', 'Failed' + /// Describes the target backup policy type of + /// the backup policy migration. Possible values include: 'Periodic', + /// 'Continuous' + /// Time at which the backup policy migration + /// started (ISO-8601 format). + public BackupPolicyMigrationState(string status = default(string), string targetType = default(string), System.DateTime? startTime = default(System.DateTime?)) + { + Status = status; + TargetType = targetType; + StartTime = startTime; + CustomInit(); + } + + /// + /// An initialization method that performs custom operations like setting defaults + /// + partial void CustomInit(); + + /// + /// Gets or sets describes the status of migration between backup + /// policy types. Possible values include: 'Invalid', 'InProgress', + /// 'Completed', 'Failed' + /// + [JsonProperty(PropertyName = "status")] + public string Status { get; set; } + + /// + /// Gets or sets describes the target backup policy type of the backup + /// policy migration. Possible values include: 'Periodic', 'Continuous' + /// + [JsonProperty(PropertyName = "targetType")] + public string TargetType { get; set; } + + /// + /// Gets or sets time at which the backup policy migration started + /// (ISO-8601 format). + /// + [JsonProperty(PropertyName = "startTime")] + public System.DateTime? StartTime { get; set; } + + } +} diff --git a/sdk/cosmosdb/Microsoft.Azure.Management.CosmosDB/src/Generated/Models/BackupPolicyMigrationStatus.cs b/sdk/cosmosdb/Microsoft.Azure.Management.CosmosDB/src/Generated/Models/BackupPolicyMigrationStatus.cs new file mode 100644 index 000000000000..c44e7638dbdb --- /dev/null +++ b/sdk/cosmosdb/Microsoft.Azure.Management.CosmosDB/src/Generated/Models/BackupPolicyMigrationStatus.cs @@ -0,0 +1,24 @@ +// +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See License.txt in the project root for +// license information. +// +// Code generated by Microsoft (R) AutoRest Code Generator. +// Changes may cause incorrect behavior and will be lost if the code is +// regenerated. +// + +namespace Microsoft.Azure.Management.CosmosDB.Models +{ + + /// + /// Defines values for BackupPolicyMigrationStatus. + /// + public static class BackupPolicyMigrationStatus + { + public const string Invalid = "Invalid"; + public const string InProgress = "InProgress"; + public const string Completed = "Completed"; + public const string Failed = "Failed"; + } +} diff --git a/sdk/cosmosdb/Microsoft.Azure.Management.CosmosDB/src/Generated/Models/ContinuousBackupInformation.cs b/sdk/cosmosdb/Microsoft.Azure.Management.CosmosDB/src/Generated/Models/ContinuousBackupInformation.cs new file mode 100644 index 000000000000..d3e1d0b8cbc4 --- /dev/null +++ b/sdk/cosmosdb/Microsoft.Azure.Management.CosmosDB/src/Generated/Models/ContinuousBackupInformation.cs @@ -0,0 +1,54 @@ +// +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See License.txt in the project root for +// license information. +// +// Code generated by Microsoft (R) AutoRest Code Generator. +// Changes may cause incorrect behavior and will be lost if the code is +// regenerated. +// + +namespace Microsoft.Azure.Management.CosmosDB.Models +{ + using Newtonsoft.Json; + using System.Linq; + + /// + /// Information about the status of continuous backups. + /// + public partial class ContinuousBackupInformation + { + /// + /// Initializes a new instance of the ContinuousBackupInformation + /// class. + /// + public ContinuousBackupInformation() + { + CustomInit(); + } + + /// + /// Initializes a new instance of the ContinuousBackupInformation + /// class. + /// + /// The latest restorable + /// timestamp for a resource. + public ContinuousBackupInformation(string latestRestorableTimestamp = default(string)) + { + LatestRestorableTimestamp = latestRestorableTimestamp; + CustomInit(); + } + + /// + /// An initialization method that performs custom operations like setting defaults + /// + partial void CustomInit(); + + /// + /// Gets or sets the latest restorable timestamp for a resource. + /// + [JsonProperty(PropertyName = "latestRestorableTimestamp")] + public string LatestRestorableTimestamp { get; set; } + + } +} diff --git a/sdk/cosmosdb/Microsoft.Azure.Management.CosmosDB/src/Generated/Models/ContinuousBackupRestoreLocation.cs b/sdk/cosmosdb/Microsoft.Azure.Management.CosmosDB/src/Generated/Models/ContinuousBackupRestoreLocation.cs new file mode 100644 index 000000000000..7025ac59194e --- /dev/null +++ b/sdk/cosmosdb/Microsoft.Azure.Management.CosmosDB/src/Generated/Models/ContinuousBackupRestoreLocation.cs @@ -0,0 +1,54 @@ +// +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See License.txt in the project root for +// license information. +// +// Code generated by Microsoft (R) AutoRest Code Generator. +// Changes may cause incorrect behavior and will be lost if the code is +// regenerated. +// + +namespace Microsoft.Azure.Management.CosmosDB.Models +{ + using Newtonsoft.Json; + using System.Linq; + + /// + /// Properties of the regional restorable account. + /// + public partial class ContinuousBackupRestoreLocation + { + /// + /// Initializes a new instance of the ContinuousBackupRestoreLocation + /// class. + /// + public ContinuousBackupRestoreLocation() + { + CustomInit(); + } + + /// + /// Initializes a new instance of the ContinuousBackupRestoreLocation + /// class. + /// + /// The name of the continuous backup restore + /// location. + public ContinuousBackupRestoreLocation(string location = default(string)) + { + Location = location; + CustomInit(); + } + + /// + /// An initialization method that performs custom operations like setting defaults + /// + partial void CustomInit(); + + /// + /// Gets or sets the name of the continuous backup restore location. + /// + [JsonProperty(PropertyName = "location")] + public string Location { get; set; } + + } +} diff --git a/sdk/cosmosdb/Microsoft.Azure.Management.CosmosDB/src/Generated/Models/ContinuousModeBackupPolicy.cs b/sdk/cosmosdb/Microsoft.Azure.Management.CosmosDB/src/Generated/Models/ContinuousModeBackupPolicy.cs index 0c4e775c04e5..c581ca350658 100644 --- a/sdk/cosmosdb/Microsoft.Azure.Management.CosmosDB/src/Generated/Models/ContinuousModeBackupPolicy.cs +++ b/sdk/cosmosdb/Microsoft.Azure.Management.CosmosDB/src/Generated/Models/ContinuousModeBackupPolicy.cs @@ -27,6 +27,16 @@ public ContinuousModeBackupPolicy() CustomInit(); } + /// + /// Initializes a new instance of the ContinuousModeBackupPolicy class. + /// + /// The object representing the state of + /// the migration between the backup policies. + public ContinuousModeBackupPolicy(BackupPolicyMigrationState migrationState = default(BackupPolicyMigrationState)) + : base(migrationState) + { + CustomInit(); + } /// /// An initialization method that performs custom operations like setting defaults diff --git a/sdk/cosmosdb/Microsoft.Azure.Management.CosmosDB/src/Generated/Models/CreateMode.cs b/sdk/cosmosdb/Microsoft.Azure.Management.CosmosDB/src/Generated/Models/CreateMode.cs new file mode 100644 index 000000000000..59efcacc2735 --- /dev/null +++ b/sdk/cosmosdb/Microsoft.Azure.Management.CosmosDB/src/Generated/Models/CreateMode.cs @@ -0,0 +1,22 @@ +// +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See License.txt in the project root for +// license information. +// +// Code generated by Microsoft (R) AutoRest Code Generator. +// Changes may cause incorrect behavior and will be lost if the code is +// regenerated. +// + +namespace Microsoft.Azure.Management.CosmosDB.Models +{ + + /// + /// Defines values for CreateMode. + /// + public static class CreateMode + { + public const string Default = "Default"; + public const string Restore = "Restore"; + } +} diff --git a/sdk/cosmosdb/Microsoft.Azure.Management.CosmosDB/src/Generated/Models/CreatedByType.cs b/sdk/cosmosdb/Microsoft.Azure.Management.CosmosDB/src/Generated/Models/CreatedByType.cs new file mode 100644 index 000000000000..53a064c23e09 --- /dev/null +++ b/sdk/cosmosdb/Microsoft.Azure.Management.CosmosDB/src/Generated/Models/CreatedByType.cs @@ -0,0 +1,24 @@ +// +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See License.txt in the project root for +// license information. +// +// Code generated by Microsoft (R) AutoRest Code Generator. +// Changes may cause incorrect behavior and will be lost if the code is +// regenerated. +// + +namespace Microsoft.Azure.Management.CosmosDB.Models +{ + + /// + /// Defines values for CreatedByType. + /// + public static class CreatedByType + { + public const string User = "User"; + public const string Application = "Application"; + public const string ManagedIdentity = "ManagedIdentity"; + public const string Key = "Key"; + } +} diff --git a/sdk/cosmosdb/Microsoft.Azure.Management.CosmosDB/src/Generated/Models/DatabaseAccountCreateUpdateParameters.cs b/sdk/cosmosdb/Microsoft.Azure.Management.CosmosDB/src/Generated/Models/DatabaseAccountCreateUpdateParameters.cs index e46e5b0b74bd..7e62fd3f2ca0 100644 --- a/sdk/cosmosdb/Microsoft.Azure.Management.CosmosDB/src/Generated/Models/DatabaseAccountCreateUpdateParameters.cs +++ b/sdk/cosmosdb/Microsoft.Azure.Management.CosmosDB/src/Generated/Models/DatabaseAccountCreateUpdateParameters.cs @@ -85,6 +85,10 @@ public DatabaseAccountCreateUpdateParameters() /// supported only for MongoDB API. /// Flag to indicate whether to /// enable storage analytics. + /// Analytical storage + /// specific properties. + /// Enum to indicate the mode of account + /// creation. Possible values include: 'Default', 'Restore' /// The object representing the policy for /// taking backups on an account. /// The CORS policy for the Cosmos DB database @@ -95,7 +99,12 @@ public DatabaseAccountCreateUpdateParameters() /// An array that contains /// the Resource Ids for Network Acl Bypass for the Cosmos DB /// account. - public DatabaseAccountCreateUpdateParameters(IList locations, string id = default(string), string name = default(string), string type = default(string), string location = default(string), IDictionary tags = default(IDictionary), string kind = default(string), ManagedServiceIdentity identity = default(ManagedServiceIdentity), ConsistencyPolicy consistencyPolicy = default(ConsistencyPolicy), IList ipRules = default(IList), bool? isVirtualNetworkFilterEnabled = default(bool?), bool? enableAutomaticFailover = default(bool?), IList capabilities = default(IList), IList virtualNetworkRules = default(IList), bool? enableMultipleWriteLocations = default(bool?), bool? enableCassandraConnector = default(bool?), string connectorOffer = default(string), bool? disableKeyBasedMetadataWriteAccess = default(bool?), string keyVaultKeyUri = default(string), string defaultIdentity = default(string), string publicNetworkAccess = default(string), bool? enableFreeTier = default(bool?), ApiProperties apiProperties = default(ApiProperties), bool? enableAnalyticalStorage = default(bool?), BackupPolicy backupPolicy = default(BackupPolicy), IList cors = default(IList), NetworkAclBypass? networkAclBypass = default(NetworkAclBypass?), IList networkAclBypassResourceIds = default(IList)) + /// Opt-out of local authentication and + /// ensure only MSI and AAD can be used exclusively for + /// authentication. + /// Parameters to indicate the + /// information about the restore. + public DatabaseAccountCreateUpdateParameters(IList locations, string id = default(string), string name = default(string), string type = default(string), string location = default(string), IDictionary tags = default(IDictionary), string kind = default(string), ManagedServiceIdentity identity = default(ManagedServiceIdentity), ConsistencyPolicy consistencyPolicy = default(ConsistencyPolicy), IList ipRules = default(IList), bool? isVirtualNetworkFilterEnabled = default(bool?), bool? enableAutomaticFailover = default(bool?), IList capabilities = default(IList), IList virtualNetworkRules = default(IList), bool? enableMultipleWriteLocations = default(bool?), bool? enableCassandraConnector = default(bool?), string connectorOffer = default(string), bool? disableKeyBasedMetadataWriteAccess = default(bool?), string keyVaultKeyUri = default(string), string defaultIdentity = default(string), string publicNetworkAccess = default(string), bool? enableFreeTier = default(bool?), ApiProperties apiProperties = default(ApiProperties), bool? enableAnalyticalStorage = default(bool?), AnalyticalStorageConfiguration analyticalStorageConfiguration = default(AnalyticalStorageConfiguration), string createMode = default(string), BackupPolicy backupPolicy = default(BackupPolicy), IList cors = default(IList), NetworkAclBypass? networkAclBypass = default(NetworkAclBypass?), IList networkAclBypassResourceIds = default(IList), bool? disableLocalAuth = default(bool?), RestoreParameters restoreParameters = default(RestoreParameters)) : base(id, name, type, location, tags) { Kind = kind; @@ -117,10 +126,14 @@ public DatabaseAccountCreateUpdateParameters() EnableFreeTier = enableFreeTier; ApiProperties = apiProperties; EnableAnalyticalStorage = enableAnalyticalStorage; + AnalyticalStorageConfiguration = analyticalStorageConfiguration; + CreateMode = createMode; BackupPolicy = backupPolicy; Cors = cors; NetworkAclBypass = networkAclBypass; NetworkAclBypassResourceIds = networkAclBypassResourceIds; + DisableLocalAuth = disableLocalAuth; + RestoreParameters = restoreParameters; CustomInit(); } /// @@ -266,6 +279,19 @@ static DatabaseAccountCreateUpdateParameters() [JsonProperty(PropertyName = "properties.enableAnalyticalStorage")] public bool? EnableAnalyticalStorage { get; set; } + /// + /// Gets or sets analytical storage specific properties. + /// + [JsonProperty(PropertyName = "properties.analyticalStorageConfiguration")] + public AnalyticalStorageConfiguration AnalyticalStorageConfiguration { get; set; } + + /// + /// Gets or sets enum to indicate the mode of account creation. + /// Possible values include: 'Default', 'Restore' + /// + [JsonProperty(PropertyName = "properties.createMode")] + public string CreateMode { get; set; } + /// /// Gets or sets the object representing the policy for taking backups /// on an account. @@ -293,6 +319,20 @@ static DatabaseAccountCreateUpdateParameters() [JsonProperty(PropertyName = "properties.networkAclBypassResourceIds")] public IList NetworkAclBypassResourceIds { get; set; } + /// + /// Gets or sets opt-out of local authentication and ensure only MSI + /// and AAD can be used exclusively for authentication. + /// + [JsonProperty(PropertyName = "properties.disableLocalAuth")] + public bool? DisableLocalAuth { get; set; } + + /// + /// Gets or sets parameters to indicate the information about the + /// restore. + /// + [JsonProperty(PropertyName = "properties.restoreParameters")] + public RestoreParameters RestoreParameters { get; set; } + /// /// The offer type for the database /// diff --git a/sdk/cosmosdb/Microsoft.Azure.Management.CosmosDB/src/Generated/Models/DatabaseAccountGetResults.cs b/sdk/cosmosdb/Microsoft.Azure.Management.CosmosDB/src/Generated/Models/DatabaseAccountGetResults.cs index 279ee25e4518..35d7da5ca574 100644 --- a/sdk/cosmosdb/Microsoft.Azure.Management.CosmosDB/src/Generated/Models/DatabaseAccountGetResults.cs +++ b/sdk/cosmosdb/Microsoft.Azure.Management.CosmosDB/src/Generated/Models/DatabaseAccountGetResults.cs @@ -95,6 +95,14 @@ public DatabaseAccountGetResults() /// API specific properties. /// Flag to indicate whether to /// enable storage analytics. + /// Analytical storage + /// specific properties. + /// A unique identifier assigned to the + /// database account + /// Enum to indicate the mode of account + /// creation. Possible values include: 'Default', 'Restore' + /// Parameters to indicate the + /// information about the restore. /// The object representing the policy for /// taking backups on an account. /// The CORS policy for the Cosmos DB database @@ -105,7 +113,12 @@ public DatabaseAccountGetResults() /// An array that contains /// the Resource Ids for Network Acl Bypass for the Cosmos DB /// account. - public DatabaseAccountGetResults(string id = default(string), string name = default(string), string type = default(string), string location = default(string), IDictionary tags = default(IDictionary), string kind = default(string), ManagedServiceIdentity identity = default(ManagedServiceIdentity), string provisioningState = default(string), string documentEndpoint = default(string), DatabaseAccountOfferType? databaseAccountOfferType = default(DatabaseAccountOfferType?), IList ipRules = default(IList), bool? isVirtualNetworkFilterEnabled = default(bool?), bool? enableAutomaticFailover = default(bool?), ConsistencyPolicy consistencyPolicy = default(ConsistencyPolicy), IList capabilities = default(IList), IList writeLocations = default(IList), IList readLocations = default(IList), IList locations = default(IList), IList failoverPolicies = default(IList), IList virtualNetworkRules = default(IList), IList privateEndpointConnections = default(IList), bool? enableMultipleWriteLocations = default(bool?), bool? enableCassandraConnector = default(bool?), string connectorOffer = default(string), bool? disableKeyBasedMetadataWriteAccess = default(bool?), string keyVaultKeyUri = default(string), string defaultIdentity = default(string), string publicNetworkAccess = default(string), bool? enableFreeTier = default(bool?), ApiProperties apiProperties = default(ApiProperties), bool? enableAnalyticalStorage = default(bool?), BackupPolicy backupPolicy = default(BackupPolicy), IList cors = default(IList), NetworkAclBypass? networkAclBypass = default(NetworkAclBypass?), IList networkAclBypassResourceIds = default(IList)) + /// Opt-out of local authentication and + /// ensure only MSI and AAD can be used exclusively for + /// authentication. + /// The system meta data relating to this + /// resource. + public DatabaseAccountGetResults(string id = default(string), string name = default(string), string type = default(string), string location = default(string), IDictionary tags = default(IDictionary), string kind = default(string), ManagedServiceIdentity identity = default(ManagedServiceIdentity), string provisioningState = default(string), string documentEndpoint = default(string), DatabaseAccountOfferType? databaseAccountOfferType = default(DatabaseAccountOfferType?), IList ipRules = default(IList), bool? isVirtualNetworkFilterEnabled = default(bool?), bool? enableAutomaticFailover = default(bool?), ConsistencyPolicy consistencyPolicy = default(ConsistencyPolicy), IList capabilities = default(IList), IList writeLocations = default(IList), IList readLocations = default(IList), IList locations = default(IList), IList failoverPolicies = default(IList), IList virtualNetworkRules = default(IList), IList privateEndpointConnections = default(IList), bool? enableMultipleWriteLocations = default(bool?), bool? enableCassandraConnector = default(bool?), string connectorOffer = default(string), bool? disableKeyBasedMetadataWriteAccess = default(bool?), string keyVaultKeyUri = default(string), string defaultIdentity = default(string), string publicNetworkAccess = default(string), bool? enableFreeTier = default(bool?), ApiProperties apiProperties = default(ApiProperties), bool? enableAnalyticalStorage = default(bool?), AnalyticalStorageConfiguration analyticalStorageConfiguration = default(AnalyticalStorageConfiguration), string instanceId = default(string), string createMode = default(string), RestoreParameters restoreParameters = default(RestoreParameters), BackupPolicy backupPolicy = default(BackupPolicy), IList cors = default(IList), NetworkAclBypass? networkAclBypass = default(NetworkAclBypass?), IList networkAclBypassResourceIds = default(IList), bool? disableLocalAuth = default(bool?), SystemData systemData = default(SystemData)) : base(id, name, type, location, tags) { Kind = kind; @@ -134,10 +147,16 @@ public DatabaseAccountGetResults() EnableFreeTier = enableFreeTier; ApiProperties = apiProperties; EnableAnalyticalStorage = enableAnalyticalStorage; + AnalyticalStorageConfiguration = analyticalStorageConfiguration; + InstanceId = instanceId; + CreateMode = createMode; + RestoreParameters = restoreParameters; BackupPolicy = backupPolicy; Cors = cors; NetworkAclBypass = networkAclBypass; NetworkAclBypassResourceIds = networkAclBypassResourceIds; + DisableLocalAuth = disableLocalAuth; + SystemData = systemData; CustomInit(); } @@ -322,6 +341,32 @@ public DatabaseAccountGetResults() [JsonProperty(PropertyName = "properties.enableAnalyticalStorage")] public bool? EnableAnalyticalStorage { get; set; } + /// + /// Gets or sets analytical storage specific properties. + /// + [JsonProperty(PropertyName = "properties.analyticalStorageConfiguration")] + public AnalyticalStorageConfiguration AnalyticalStorageConfiguration { get; set; } + + /// + /// Gets a unique identifier assigned to the database account + /// + [JsonProperty(PropertyName = "properties.instanceId")] + public string InstanceId { get; private set; } + + /// + /// Gets or sets enum to indicate the mode of account creation. + /// Possible values include: 'Default', 'Restore' + /// + [JsonProperty(PropertyName = "properties.createMode")] + public string CreateMode { get; set; } + + /// + /// Gets or sets parameters to indicate the information about the + /// restore. + /// + [JsonProperty(PropertyName = "properties.restoreParameters")] + public RestoreParameters RestoreParameters { get; set; } + /// /// Gets or sets the object representing the policy for taking backups /// on an account. @@ -349,6 +394,19 @@ public DatabaseAccountGetResults() [JsonProperty(PropertyName = "properties.networkAclBypassResourceIds")] public IList NetworkAclBypassResourceIds { get; set; } + /// + /// Gets or sets opt-out of local authentication and ensure only MSI + /// and AAD can be used exclusively for authentication. + /// + [JsonProperty(PropertyName = "properties.disableLocalAuth")] + public bool? DisableLocalAuth { get; set; } + + /// + /// Gets the system meta data relating to this resource. + /// + [JsonProperty(PropertyName = "systemData")] + public SystemData SystemData { get; private set; } + /// /// Validate the object. /// diff --git a/sdk/cosmosdb/Microsoft.Azure.Management.CosmosDB/src/Generated/Models/DatabaseAccountUpdateParameters.cs b/sdk/cosmosdb/Microsoft.Azure.Management.CosmosDB/src/Generated/Models/DatabaseAccountUpdateParameters.cs index 024a4c9e8ed0..b105d623d6b1 100644 --- a/sdk/cosmosdb/Microsoft.Azure.Management.CosmosDB/src/Generated/Models/DatabaseAccountUpdateParameters.cs +++ b/sdk/cosmosdb/Microsoft.Azure.Management.CosmosDB/src/Generated/Models/DatabaseAccountUpdateParameters.cs @@ -78,6 +78,8 @@ public DatabaseAccountUpdateParameters() /// supported only for MongoDB API. /// Flag to indicate whether to /// enable storage analytics. + /// Analytical storage + /// specific properties. /// The object representing the policy for /// taking backups on an account. /// The CORS policy for the Cosmos DB database @@ -88,7 +90,10 @@ public DatabaseAccountUpdateParameters() /// An array that contains /// the Resource Ids for Network Acl Bypass for the Cosmos DB /// account. - public DatabaseAccountUpdateParameters(IDictionary tags = default(IDictionary), string location = default(string), ManagedServiceIdentity identity = default(ManagedServiceIdentity), ConsistencyPolicy consistencyPolicy = default(ConsistencyPolicy), IList locations = default(IList), IList ipRules = default(IList), bool? isVirtualNetworkFilterEnabled = default(bool?), bool? enableAutomaticFailover = default(bool?), IList capabilities = default(IList), IList virtualNetworkRules = default(IList), bool? enableMultipleWriteLocations = default(bool?), bool? enableCassandraConnector = default(bool?), string connectorOffer = default(string), bool? disableKeyBasedMetadataWriteAccess = default(bool?), string keyVaultKeyUri = default(string), string defaultIdentity = default(string), string publicNetworkAccess = default(string), bool? enableFreeTier = default(bool?), ApiProperties apiProperties = default(ApiProperties), bool? enableAnalyticalStorage = default(bool?), BackupPolicy backupPolicy = default(BackupPolicy), IList cors = default(IList), NetworkAclBypass? networkAclBypass = default(NetworkAclBypass?), IList networkAclBypassResourceIds = default(IList)) + /// Opt-out of local authentication and + /// ensure only MSI and AAD can be used exclusively for + /// authentication. + public DatabaseAccountUpdateParameters(IDictionary tags = default(IDictionary), string location = default(string), ManagedServiceIdentity identity = default(ManagedServiceIdentity), ConsistencyPolicy consistencyPolicy = default(ConsistencyPolicy), IList locations = default(IList), IList ipRules = default(IList), bool? isVirtualNetworkFilterEnabled = default(bool?), bool? enableAutomaticFailover = default(bool?), IList capabilities = default(IList), IList virtualNetworkRules = default(IList), bool? enableMultipleWriteLocations = default(bool?), bool? enableCassandraConnector = default(bool?), string connectorOffer = default(string), bool? disableKeyBasedMetadataWriteAccess = default(bool?), string keyVaultKeyUri = default(string), string defaultIdentity = default(string), string publicNetworkAccess = default(string), bool? enableFreeTier = default(bool?), ApiProperties apiProperties = default(ApiProperties), bool? enableAnalyticalStorage = default(bool?), AnalyticalStorageConfiguration analyticalStorageConfiguration = default(AnalyticalStorageConfiguration), BackupPolicy backupPolicy = default(BackupPolicy), IList cors = default(IList), NetworkAclBypass? networkAclBypass = default(NetworkAclBypass?), IList networkAclBypassResourceIds = default(IList), bool? disableLocalAuth = default(bool?)) { Tags = tags; Location = location; @@ -110,10 +115,12 @@ public DatabaseAccountUpdateParameters() EnableFreeTier = enableFreeTier; ApiProperties = apiProperties; EnableAnalyticalStorage = enableAnalyticalStorage; + AnalyticalStorageConfiguration = analyticalStorageConfiguration; BackupPolicy = backupPolicy; Cors = cors; NetworkAclBypass = networkAclBypass; NetworkAclBypassResourceIds = networkAclBypassResourceIds; + DisableLocalAuth = disableLocalAuth; CustomInit(); } @@ -256,6 +263,12 @@ public DatabaseAccountUpdateParameters() [JsonProperty(PropertyName = "properties.enableAnalyticalStorage")] public bool? EnableAnalyticalStorage { get; set; } + /// + /// Gets or sets analytical storage specific properties. + /// + [JsonProperty(PropertyName = "properties.analyticalStorageConfiguration")] + public AnalyticalStorageConfiguration AnalyticalStorageConfiguration { get; set; } + /// /// Gets or sets the object representing the policy for taking backups /// on an account. @@ -283,6 +296,13 @@ public DatabaseAccountUpdateParameters() [JsonProperty(PropertyName = "properties.networkAclBypassResourceIds")] public IList NetworkAclBypassResourceIds { get; set; } + /// + /// Gets or sets opt-out of local authentication and ensure only MSI + /// and AAD can be used exclusively for authentication. + /// + [JsonProperty(PropertyName = "properties.disableLocalAuth")] + public bool? DisableLocalAuth { get; set; } + /// /// Validate the object. /// diff --git a/sdk/cosmosdb/Microsoft.Azure.Management.CosmosDB/src/Generated/Models/DatabaseRestoreResource.cs b/sdk/cosmosdb/Microsoft.Azure.Management.CosmosDB/src/Generated/Models/DatabaseRestoreResource.cs new file mode 100644 index 000000000000..1a34d450130d --- /dev/null +++ b/sdk/cosmosdb/Microsoft.Azure.Management.CosmosDB/src/Generated/Models/DatabaseRestoreResource.cs @@ -0,0 +1,63 @@ +// +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See License.txt in the project root for +// license information. +// +// Code generated by Microsoft (R) AutoRest Code Generator. +// Changes may cause incorrect behavior and will be lost if the code is +// regenerated. +// + +namespace Microsoft.Azure.Management.CosmosDB.Models +{ + using Newtonsoft.Json; + using System.Collections; + using System.Collections.Generic; + using System.Linq; + + /// + /// Specific Databases to restore. + /// + public partial class DatabaseRestoreResource + { + /// + /// Initializes a new instance of the DatabaseRestoreResource class. + /// + public DatabaseRestoreResource() + { + CustomInit(); + } + + /// + /// Initializes a new instance of the DatabaseRestoreResource class. + /// + /// The name of the database available for + /// restore. + /// The names of the collections + /// available for restore. + public DatabaseRestoreResource(string databaseName = default(string), IList collectionNames = default(IList)) + { + DatabaseName = databaseName; + CollectionNames = collectionNames; + CustomInit(); + } + + /// + /// An initialization method that performs custom operations like setting defaults + /// + partial void CustomInit(); + + /// + /// Gets or sets the name of the database available for restore. + /// + [JsonProperty(PropertyName = "databaseName")] + public string DatabaseName { get; set; } + + /// + /// Gets or sets the names of the collections available for restore. + /// + [JsonProperty(PropertyName = "collectionNames")] + public IList CollectionNames { get; set; } + + } +} diff --git a/sdk/cosmosdb/Microsoft.Azure.Management.CosmosDB/src/Generated/Models/OperationType.cs b/sdk/cosmosdb/Microsoft.Azure.Management.CosmosDB/src/Generated/Models/OperationType.cs new file mode 100644 index 000000000000..8fd9dcaeff9b --- /dev/null +++ b/sdk/cosmosdb/Microsoft.Azure.Management.CosmosDB/src/Generated/Models/OperationType.cs @@ -0,0 +1,24 @@ +// +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See License.txt in the project root for +// license information. +// +// Code generated by Microsoft (R) AutoRest Code Generator. +// Changes may cause incorrect behavior and will be lost if the code is +// regenerated. +// + +namespace Microsoft.Azure.Management.CosmosDB.Models +{ + + /// + /// Defines values for OperationType. + /// + public static class OperationType + { + public const string Create = "Create"; + public const string Replace = "Replace"; + public const string Delete = "Delete"; + public const string SystemOperation = "SystemOperation"; + } +} diff --git a/sdk/cosmosdb/Microsoft.Azure.Management.CosmosDB/src/Generated/Models/PeriodicModeBackupPolicy.cs b/sdk/cosmosdb/Microsoft.Azure.Management.CosmosDB/src/Generated/Models/PeriodicModeBackupPolicy.cs index 5415b93fbf75..348975c8a669 100644 --- a/sdk/cosmosdb/Microsoft.Azure.Management.CosmosDB/src/Generated/Models/PeriodicModeBackupPolicy.cs +++ b/sdk/cosmosdb/Microsoft.Azure.Management.CosmosDB/src/Generated/Models/PeriodicModeBackupPolicy.cs @@ -30,9 +30,12 @@ public PeriodicModeBackupPolicy() /// /// Initializes a new instance of the PeriodicModeBackupPolicy class. /// + /// The object representing the state of + /// the migration between the backup policies. /// Configuration values for /// periodic mode backup - public PeriodicModeBackupPolicy(PeriodicModeProperties periodicModeProperties = default(PeriodicModeProperties)) + public PeriodicModeBackupPolicy(BackupPolicyMigrationState migrationState = default(BackupPolicyMigrationState), PeriodicModeProperties periodicModeProperties = default(PeriodicModeProperties)) + : base(migrationState) { PeriodicModeProperties = periodicModeProperties; CustomInit(); diff --git a/sdk/cosmosdb/Microsoft.Azure.Management.CosmosDB/src/Generated/Models/RestorableDatabaseAccountGetResult.cs b/sdk/cosmosdb/Microsoft.Azure.Management.CosmosDB/src/Generated/Models/RestorableDatabaseAccountGetResult.cs new file mode 100644 index 000000000000..6b06cc51ff4d --- /dev/null +++ b/sdk/cosmosdb/Microsoft.Azure.Management.CosmosDB/src/Generated/Models/RestorableDatabaseAccountGetResult.cs @@ -0,0 +1,136 @@ +// +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See License.txt in the project root for +// license information. +// +// Code generated by Microsoft (R) AutoRest Code Generator. +// Changes may cause incorrect behavior and will be lost if the code is +// regenerated. +// + +namespace Microsoft.Azure.Management.CosmosDB.Models +{ + using Microsoft.Rest; + using Microsoft.Rest.Serialization; + using Newtonsoft.Json; + using System.Collections; + using System.Collections.Generic; + using System.Linq; + + /// + /// A Azure Cosmos DB restorable database account. + /// + [Rest.Serialization.JsonTransformation] + public partial class RestorableDatabaseAccountGetResult + { + /// + /// Initializes a new instance of the + /// RestorableDatabaseAccountGetResult class. + /// + public RestorableDatabaseAccountGetResult() + { + CustomInit(); + } + + /// + /// Initializes a new instance of the + /// RestorableDatabaseAccountGetResult class. + /// + /// The name of the global database + /// account + /// The creation time of the restorable + /// database account (ISO-8601 format). + /// The time at which the restorable + /// database account has been deleted (ISO-8601 format). + /// The API type of the restorable database + /// account. Possible values include: 'MongoDB', 'Gremlin', + /// 'Cassandra', 'Table', 'Sql', 'GremlinV2' + /// List of regions where the of the + /// database account can be restored from. + /// The unique resource identifier of the ARM + /// resource. + /// The name of the ARM resource. + /// The type of Azure resource. + /// The location of the resource group to which + /// the resource belongs. + public RestorableDatabaseAccountGetResult(string accountName = default(string), System.DateTime? creationTime = default(System.DateTime?), System.DateTime? deletionTime = default(System.DateTime?), string apiType = default(string), IList restorableLocations = default(IList), string id = default(string), string name = default(string), string type = default(string), string location = default(string)) + { + AccountName = accountName; + CreationTime = creationTime; + DeletionTime = deletionTime; + ApiType = apiType; + RestorableLocations = restorableLocations; + Id = id; + Name = name; + Type = type; + Location = location; + CustomInit(); + } + + /// + /// An initialization method that performs custom operations like setting defaults + /// + partial void CustomInit(); + + /// + /// Gets or sets the name of the global database account + /// + [JsonProperty(PropertyName = "properties.accountName")] + public string AccountName { get; set; } + + /// + /// Gets or sets the creation time of the restorable database account + /// (ISO-8601 format). + /// + [JsonProperty(PropertyName = "properties.creationTime")] + public System.DateTime? CreationTime { get; set; } + + /// + /// Gets or sets the time at which the restorable database account has + /// been deleted (ISO-8601 format). + /// + [JsonProperty(PropertyName = "properties.deletionTime")] + public System.DateTime? DeletionTime { get; set; } + + /// + /// Gets the API type of the restorable database account. Possible + /// values include: 'MongoDB', 'Gremlin', 'Cassandra', 'Table', 'Sql', + /// 'GremlinV2' + /// + [JsonProperty(PropertyName = "properties.apiType")] + public string ApiType { get; private set; } + + /// + /// Gets list of regions where the of the database account can be + /// restored from. + /// + [JsonProperty(PropertyName = "properties.restorableLocations")] + public IList RestorableLocations { get; private set; } + + /// + /// Gets the unique resource identifier of the ARM resource. + /// + [JsonProperty(PropertyName = "id")] + public string Id { get; private set; } + + /// + /// Gets the name of the ARM resource. + /// + [JsonProperty(PropertyName = "name")] + public string Name { get; private set; } + + /// + /// Gets the type of Azure resource. + /// + [JsonProperty(PropertyName = "type")] + public string Type { get; private set; } + + /// + /// Gets or sets the location of the resource group to which the + /// resource belongs. + /// + [JsonProperty(PropertyName = "location")] + public string Location { get; set; } + + } +} diff --git a/sdk/cosmosdb/Microsoft.Azure.Management.CosmosDB/src/Generated/Models/RestorableLocationResource.cs b/sdk/cosmosdb/Microsoft.Azure.Management.CosmosDB/src/Generated/Models/RestorableLocationResource.cs new file mode 100644 index 000000000000..0c942ae55b61 --- /dev/null +++ b/sdk/cosmosdb/Microsoft.Azure.Management.CosmosDB/src/Generated/Models/RestorableLocationResource.cs @@ -0,0 +1,82 @@ +// +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See License.txt in the project root for +// license information. +// +// Code generated by Microsoft (R) AutoRest Code Generator. +// Changes may cause incorrect behavior and will be lost if the code is +// regenerated. +// + +namespace Microsoft.Azure.Management.CosmosDB.Models +{ + using Newtonsoft.Json; + using System.Linq; + + /// + /// Properties of the regional restorable account. + /// + public partial class RestorableLocationResource + { + /// + /// Initializes a new instance of the RestorableLocationResource class. + /// + public RestorableLocationResource() + { + CustomInit(); + } + + /// + /// Initializes a new instance of the RestorableLocationResource class. + /// + /// The location of the regional restorable + /// account. + /// The instance id of + /// the regional restorable account. + /// The creation time of the regional + /// restorable database account (ISO-8601 format). + /// The time at which the regional + /// restorable database account has been deleted (ISO-8601 + /// format). + public RestorableLocationResource(string locationName = default(string), string regionalDatabaseAccountInstanceId = default(string), System.DateTime? creationTime = default(System.DateTime?), System.DateTime? deletionTime = default(System.DateTime?)) + { + LocationName = locationName; + RegionalDatabaseAccountInstanceId = regionalDatabaseAccountInstanceId; + CreationTime = creationTime; + DeletionTime = deletionTime; + CustomInit(); + } + + /// + /// An initialization method that performs custom operations like setting defaults + /// + partial void CustomInit(); + + /// + /// Gets the location of the regional restorable account. + /// + [JsonProperty(PropertyName = "locationName")] + public string LocationName { get; private set; } + + /// + /// Gets the instance id of the regional restorable account. + /// + [JsonProperty(PropertyName = "regionalDatabaseAccountInstanceId")] + public string RegionalDatabaseAccountInstanceId { get; private set; } + + /// + /// Gets the creation time of the regional restorable database account + /// (ISO-8601 format). + /// + [JsonProperty(PropertyName = "creationTime")] + public System.DateTime? CreationTime { get; private set; } + + /// + /// Gets the time at which the regional restorable database account has + /// been deleted (ISO-8601 format). + /// + [JsonProperty(PropertyName = "deletionTime")] + public System.DateTime? DeletionTime { get; private set; } + + } +} diff --git a/sdk/cosmosdb/Microsoft.Azure.Management.CosmosDB/src/Generated/Models/RestorableMongodbCollectionGetResult.cs b/sdk/cosmosdb/Microsoft.Azure.Management.CosmosDB/src/Generated/Models/RestorableMongodbCollectionGetResult.cs new file mode 100644 index 000000000000..4b39c95048b5 --- /dev/null +++ b/sdk/cosmosdb/Microsoft.Azure.Management.CosmosDB/src/Generated/Models/RestorableMongodbCollectionGetResult.cs @@ -0,0 +1,83 @@ +// +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See License.txt in the project root for +// license information. +// +// Code generated by Microsoft (R) AutoRest Code Generator. +// Changes may cause incorrect behavior and will be lost if the code is +// regenerated. +// + +namespace Microsoft.Azure.Management.CosmosDB.Models +{ + using Microsoft.Rest; + using Microsoft.Rest.Serialization; + using Newtonsoft.Json; + using System.Linq; + + /// + /// An Azure Cosmos DB MongoDB collection event + /// + [Rest.Serialization.JsonTransformation] + public partial class RestorableMongodbCollectionGetResult + { + /// + /// Initializes a new instance of the + /// RestorableMongodbCollectionGetResult class. + /// + public RestorableMongodbCollectionGetResult() + { + CustomInit(); + } + + /// + /// Initializes a new instance of the + /// RestorableMongodbCollectionGetResult class. + /// + /// The resource of an Azure Cosmos DB MongoDB + /// collection event + /// The unique resource Identifier of the ARM + /// resource. + /// The name of the ARM resource. + /// The type of Azure resource. + public RestorableMongodbCollectionGetResult(RestorableMongodbCollectionPropertiesResource resource = default(RestorableMongodbCollectionPropertiesResource), string id = default(string), string name = default(string), string type = default(string)) + { + Resource = resource; + Id = id; + Name = name; + Type = type; + CustomInit(); + } + + /// + /// An initialization method that performs custom operations like setting defaults + /// + partial void CustomInit(); + + /// + /// Gets or sets the resource of an Azure Cosmos DB MongoDB collection + /// event + /// + [JsonProperty(PropertyName = "properties.resource")] + public RestorableMongodbCollectionPropertiesResource Resource { get; set; } + + /// + /// Gets the unique resource Identifier of the ARM resource. + /// + [JsonProperty(PropertyName = "id")] + public string Id { get; private set; } + + /// + /// Gets the name of the ARM resource. + /// + [JsonProperty(PropertyName = "name")] + public string Name { get; private set; } + + /// + /// Gets the type of Azure resource. + /// + [JsonProperty(PropertyName = "type")] + public string Type { get; private set; } + + } +} diff --git a/sdk/cosmosdb/Microsoft.Azure.Management.CosmosDB/src/Generated/Models/RestorableMongodbCollectionPropertiesResource.cs b/sdk/cosmosdb/Microsoft.Azure.Management.CosmosDB/src/Generated/Models/RestorableMongodbCollectionPropertiesResource.cs new file mode 100644 index 000000000000..463b850ec05e --- /dev/null +++ b/sdk/cosmosdb/Microsoft.Azure.Management.CosmosDB/src/Generated/Models/RestorableMongodbCollectionPropertiesResource.cs @@ -0,0 +1,91 @@ +// +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See License.txt in the project root for +// license information. +// +// Code generated by Microsoft (R) AutoRest Code Generator. +// Changes may cause incorrect behavior and will be lost if the code is +// regenerated. +// + +namespace Microsoft.Azure.Management.CosmosDB.Models +{ + using Newtonsoft.Json; + using System.Linq; + + /// + /// The resource of an Azure Cosmos DB MongoDB collection event + /// + public partial class RestorableMongodbCollectionPropertiesResource + { + /// + /// Initializes a new instance of the + /// RestorableMongodbCollectionPropertiesResource class. + /// + public RestorableMongodbCollectionPropertiesResource() + { + CustomInit(); + } + + /// + /// Initializes a new instance of the + /// RestorableMongodbCollectionPropertiesResource class. + /// + /// A system generated property. A unique + /// identifier. + /// The operation type of this collection + /// event. Possible values include: 'Create', 'Replace', 'Delete', + /// 'SystemOperation' + /// The time when this collection event + /// happened. + /// The name of this MongoDB collection. + /// The resource ID of this MongoDB + /// collection. + public RestorableMongodbCollectionPropertiesResource(string _rid = default(string), string operationType = default(string), string eventTimestamp = default(string), string ownerId = default(string), string ownerResourceId = default(string)) + { + this._rid = _rid; + OperationType = operationType; + EventTimestamp = eventTimestamp; + OwnerId = ownerId; + OwnerResourceId = ownerResourceId; + CustomInit(); + } + + /// + /// An initialization method that performs custom operations like setting defaults + /// + partial void CustomInit(); + + /// + /// Gets a system generated property. A unique identifier. + /// + [JsonProperty(PropertyName = "_rid")] + public string _rid { get; private set; } + + /// + /// Gets the operation type of this collection event. Possible values + /// include: 'Create', 'Replace', 'Delete', 'SystemOperation' + /// + [JsonProperty(PropertyName = "operationType")] + public string OperationType { get; private set; } + + /// + /// Gets the time when this collection event happened. + /// + [JsonProperty(PropertyName = "eventTimestamp")] + public string EventTimestamp { get; private set; } + + /// + /// Gets the name of this MongoDB collection. + /// + [JsonProperty(PropertyName = "ownerId")] + public string OwnerId { get; private set; } + + /// + /// Gets the resource ID of this MongoDB collection. + /// + [JsonProperty(PropertyName = "ownerResourceId")] + public string OwnerResourceId { get; private set; } + + } +} diff --git a/sdk/cosmosdb/Microsoft.Azure.Management.CosmosDB/src/Generated/Models/RestorableMongodbDatabaseGetResult.cs b/sdk/cosmosdb/Microsoft.Azure.Management.CosmosDB/src/Generated/Models/RestorableMongodbDatabaseGetResult.cs new file mode 100644 index 000000000000..b002f0197c38 --- /dev/null +++ b/sdk/cosmosdb/Microsoft.Azure.Management.CosmosDB/src/Generated/Models/RestorableMongodbDatabaseGetResult.cs @@ -0,0 +1,83 @@ +// +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See License.txt in the project root for +// license information. +// +// Code generated by Microsoft (R) AutoRest Code Generator. +// Changes may cause incorrect behavior and will be lost if the code is +// regenerated. +// + +namespace Microsoft.Azure.Management.CosmosDB.Models +{ + using Microsoft.Rest; + using Microsoft.Rest.Serialization; + using Newtonsoft.Json; + using System.Linq; + + /// + /// An Azure Cosmos DB MongoDB database event + /// + [Rest.Serialization.JsonTransformation] + public partial class RestorableMongodbDatabaseGetResult + { + /// + /// Initializes a new instance of the + /// RestorableMongodbDatabaseGetResult class. + /// + public RestorableMongodbDatabaseGetResult() + { + CustomInit(); + } + + /// + /// Initializes a new instance of the + /// RestorableMongodbDatabaseGetResult class. + /// + /// The resource of an Azure Cosmos DB MongoDB + /// database event + /// The unique resource Identifier of the ARM + /// resource. + /// The name of the ARM resource. + /// The type of Azure resource. + public RestorableMongodbDatabaseGetResult(RestorableMongodbDatabasePropertiesResource resource = default(RestorableMongodbDatabasePropertiesResource), string id = default(string), string name = default(string), string type = default(string)) + { + Resource = resource; + Id = id; + Name = name; + Type = type; + CustomInit(); + } + + /// + /// An initialization method that performs custom operations like setting defaults + /// + partial void CustomInit(); + + /// + /// Gets or sets the resource of an Azure Cosmos DB MongoDB database + /// event + /// + [JsonProperty(PropertyName = "properties.resource")] + public RestorableMongodbDatabasePropertiesResource Resource { get; set; } + + /// + /// Gets the unique resource Identifier of the ARM resource. + /// + [JsonProperty(PropertyName = "id")] + public string Id { get; private set; } + + /// + /// Gets the name of the ARM resource. + /// + [JsonProperty(PropertyName = "name")] + public string Name { get; private set; } + + /// + /// Gets the type of Azure resource. + /// + [JsonProperty(PropertyName = "type")] + public string Type { get; private set; } + + } +} diff --git a/sdk/cosmosdb/Microsoft.Azure.Management.CosmosDB/src/Generated/Models/RestorableMongodbDatabasePropertiesResource.cs b/sdk/cosmosdb/Microsoft.Azure.Management.CosmosDB/src/Generated/Models/RestorableMongodbDatabasePropertiesResource.cs new file mode 100644 index 000000000000..7c06c8643d71 --- /dev/null +++ b/sdk/cosmosdb/Microsoft.Azure.Management.CosmosDB/src/Generated/Models/RestorableMongodbDatabasePropertiesResource.cs @@ -0,0 +1,91 @@ +// +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See License.txt in the project root for +// license information. +// +// Code generated by Microsoft (R) AutoRest Code Generator. +// Changes may cause incorrect behavior and will be lost if the code is +// regenerated. +// + +namespace Microsoft.Azure.Management.CosmosDB.Models +{ + using Newtonsoft.Json; + using System.Linq; + + /// + /// The resource of an Azure Cosmos DB MongoDB database event + /// + public partial class RestorableMongodbDatabasePropertiesResource + { + /// + /// Initializes a new instance of the + /// RestorableMongodbDatabasePropertiesResource class. + /// + public RestorableMongodbDatabasePropertiesResource() + { + CustomInit(); + } + + /// + /// Initializes a new instance of the + /// RestorableMongodbDatabasePropertiesResource class. + /// + /// A system generated property. A unique + /// identifier. + /// The operation type of this database + /// event. Possible values include: 'Create', 'Replace', 'Delete', + /// 'SystemOperation' + /// The time when this database event + /// happened. + /// The name of this MongoDB database. + /// The resource ID of this MongoDB + /// database. + public RestorableMongodbDatabasePropertiesResource(string _rid = default(string), string operationType = default(string), string eventTimestamp = default(string), string ownerId = default(string), string ownerResourceId = default(string)) + { + this._rid = _rid; + OperationType = operationType; + EventTimestamp = eventTimestamp; + OwnerId = ownerId; + OwnerResourceId = ownerResourceId; + CustomInit(); + } + + /// + /// An initialization method that performs custom operations like setting defaults + /// + partial void CustomInit(); + + /// + /// Gets a system generated property. A unique identifier. + /// + [JsonProperty(PropertyName = "_rid")] + public string _rid { get; private set; } + + /// + /// Gets the operation type of this database event. Possible values + /// include: 'Create', 'Replace', 'Delete', 'SystemOperation' + /// + [JsonProperty(PropertyName = "operationType")] + public string OperationType { get; private set; } + + /// + /// Gets the time when this database event happened. + /// + [JsonProperty(PropertyName = "eventTimestamp")] + public string EventTimestamp { get; private set; } + + /// + /// Gets the name of this MongoDB database. + /// + [JsonProperty(PropertyName = "ownerId")] + public string OwnerId { get; private set; } + + /// + /// Gets the resource ID of this MongoDB database. + /// + [JsonProperty(PropertyName = "ownerResourceId")] + public string OwnerResourceId { get; private set; } + + } +} diff --git a/sdk/cosmosdb/Microsoft.Azure.Management.CosmosDB/src/Generated/Models/RestorableSqlContainerGetResult.cs b/sdk/cosmosdb/Microsoft.Azure.Management.CosmosDB/src/Generated/Models/RestorableSqlContainerGetResult.cs new file mode 100644 index 000000000000..fa5bf9dc46d2 --- /dev/null +++ b/sdk/cosmosdb/Microsoft.Azure.Management.CosmosDB/src/Generated/Models/RestorableSqlContainerGetResult.cs @@ -0,0 +1,95 @@ +// +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See License.txt in the project root for +// license information. +// +// Code generated by Microsoft (R) AutoRest Code Generator. +// Changes may cause incorrect behavior and will be lost if the code is +// regenerated. +// + +namespace Microsoft.Azure.Management.CosmosDB.Models +{ + using Microsoft.Rest; + using Microsoft.Rest.Serialization; + using Newtonsoft.Json; + using System.Linq; + + /// + /// An Azure Cosmos DB SQL container event + /// + [Rest.Serialization.JsonTransformation] + public partial class RestorableSqlContainerGetResult + { + /// + /// Initializes a new instance of the RestorableSqlContainerGetResult + /// class. + /// + public RestorableSqlContainerGetResult() + { + CustomInit(); + } + + /// + /// Initializes a new instance of the RestorableSqlContainerGetResult + /// class. + /// + /// The resource of an Azure Cosmos DB SQL + /// container event + /// The unique resource Identifier of the ARM + /// resource. + /// The name of the ARM resource. + /// The type of Azure resource. + public RestorableSqlContainerGetResult(RestorableSqlContainerPropertiesResource resource = default(RestorableSqlContainerPropertiesResource), string id = default(string), string name = default(string), string type = default(string)) + { + Resource = resource; + Id = id; + Name = name; + Type = type; + CustomInit(); + } + + /// + /// An initialization method that performs custom operations like setting defaults + /// + partial void CustomInit(); + + /// + /// Gets or sets the resource of an Azure Cosmos DB SQL container event + /// + [JsonProperty(PropertyName = "properties.resource")] + public RestorableSqlContainerPropertiesResource Resource { get; set; } + + /// + /// Gets the unique resource Identifier of the ARM resource. + /// + [JsonProperty(PropertyName = "id")] + public string Id { get; private set; } + + /// + /// Gets the name of the ARM resource. + /// + [JsonProperty(PropertyName = "name")] + public string Name { get; private set; } + + /// + /// Gets the type of Azure resource. + /// + [JsonProperty(PropertyName = "type")] + public string Type { get; private set; } + + /// + /// Validate the object. + /// + /// + /// Thrown if validation fails + /// + public virtual void Validate() + { + if (Resource != null) + { + Resource.Validate(); + } + } + } +} diff --git a/sdk/cosmosdb/Microsoft.Azure.Management.CosmosDB/src/Generated/Models/RestorableSqlContainerPropertiesResource.cs b/sdk/cosmosdb/Microsoft.Azure.Management.CosmosDB/src/Generated/Models/RestorableSqlContainerPropertiesResource.cs new file mode 100644 index 000000000000..511fea7331af --- /dev/null +++ b/sdk/cosmosdb/Microsoft.Azure.Management.CosmosDB/src/Generated/Models/RestorableSqlContainerPropertiesResource.cs @@ -0,0 +1,113 @@ +// +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See License.txt in the project root for +// license information. +// +// Code generated by Microsoft (R) AutoRest Code Generator. +// Changes may cause incorrect behavior and will be lost if the code is +// regenerated. +// + +namespace Microsoft.Azure.Management.CosmosDB.Models +{ + using Newtonsoft.Json; + using System.Linq; + + /// + /// The resource of an Azure Cosmos DB SQL container event + /// + public partial class RestorableSqlContainerPropertiesResource + { + /// + /// Initializes a new instance of the + /// RestorableSqlContainerPropertiesResource class. + /// + public RestorableSqlContainerPropertiesResource() + { + CustomInit(); + } + + /// + /// Initializes a new instance of the + /// RestorableSqlContainerPropertiesResource class. + /// + /// A system generated property. A unique + /// identifier. + /// The operation type of this container + /// event. Possible values include: 'Create', 'Replace', 'Delete', + /// 'SystemOperation' + /// The when this container event + /// happened. + /// The name of this SQL container. + /// The resource ID of this SQL + /// container. + /// Cosmos DB SQL container resource + /// object + public RestorableSqlContainerPropertiesResource(string _rid = default(string), string operationType = default(string), string eventTimestamp = default(string), string ownerId = default(string), string ownerResourceId = default(string), RestorableSqlContainerPropertiesResourceContainer container = default(RestorableSqlContainerPropertiesResourceContainer)) + { + this._rid = _rid; + OperationType = operationType; + EventTimestamp = eventTimestamp; + OwnerId = ownerId; + OwnerResourceId = ownerResourceId; + Container = container; + CustomInit(); + } + + /// + /// An initialization method that performs custom operations like setting defaults + /// + partial void CustomInit(); + + /// + /// Gets a system generated property. A unique identifier. + /// + [JsonProperty(PropertyName = "_rid")] + public string _rid { get; private set; } + + /// + /// Gets the operation type of this container event. Possible values + /// include: 'Create', 'Replace', 'Delete', 'SystemOperation' + /// + [JsonProperty(PropertyName = "operationType")] + public string OperationType { get; private set; } + + /// + /// Gets the when this container event happened. + /// + [JsonProperty(PropertyName = "eventTimestamp")] + public string EventTimestamp { get; private set; } + + /// + /// Gets the name of this SQL container. + /// + [JsonProperty(PropertyName = "ownerId")] + public string OwnerId { get; private set; } + + /// + /// Gets the resource ID of this SQL container. + /// + [JsonProperty(PropertyName = "ownerResourceId")] + public string OwnerResourceId { get; private set; } + + /// + /// Gets or sets cosmos DB SQL container resource object + /// + [JsonProperty(PropertyName = "container")] + public RestorableSqlContainerPropertiesResourceContainer Container { get; set; } + + /// + /// Validate the object. + /// + /// + /// Thrown if validation fails + /// + public virtual void Validate() + { + if (Container != null) + { + Container.Validate(); + } + } + } +} diff --git a/sdk/cosmosdb/Microsoft.Azure.Management.CosmosDB/src/Generated/Models/RestorableSqlContainerPropertiesResourceContainer.cs b/sdk/cosmosdb/Microsoft.Azure.Management.CosmosDB/src/Generated/Models/RestorableSqlContainerPropertiesResourceContainer.cs new file mode 100644 index 000000000000..57f76559317f --- /dev/null +++ b/sdk/cosmosdb/Microsoft.Azure.Management.CosmosDB/src/Generated/Models/RestorableSqlContainerPropertiesResourceContainer.cs @@ -0,0 +1,169 @@ +// +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See License.txt in the project root for +// license information. +// +// Code generated by Microsoft (R) AutoRest Code Generator. +// Changes may cause incorrect behavior and will be lost if the code is +// regenerated. +// + +namespace Microsoft.Azure.Management.CosmosDB.Models +{ + using Microsoft.Rest; + using Newtonsoft.Json; + using System.Linq; + + /// + /// Cosmos DB SQL container resource object + /// + public partial class RestorableSqlContainerPropertiesResourceContainer + { + /// + /// Initializes a new instance of the + /// RestorableSqlContainerPropertiesResourceContainer class. + /// + public RestorableSqlContainerPropertiesResourceContainer() + { + CustomInit(); + } + + /// + /// Initializes a new instance of the + /// RestorableSqlContainerPropertiesResourceContainer class. + /// + /// Name of the Cosmos DB SQL container + /// The configuration of the indexing + /// policy. By default, the indexing is automatic for all document + /// paths within the container + /// The configuration of the partition key + /// to be used for partitioning data into multiple partitions + /// Default time to live + /// The unique key policy configuration + /// for specifying uniqueness constraints on documents in the + /// collection in the Azure Cosmos DB service. + /// The conflict resolution + /// policy for the container. + /// Analytical TTL. + /// A system generated property. A unique + /// identifier. + /// A system generated property that denotes the last + /// updated timestamp of the resource. + /// A system generated property representing the + /// resource etag required for optimistic concurrency control. + /// A system generated property that specifies the + /// addressable path of the container resource. + public RestorableSqlContainerPropertiesResourceContainer(string id, IndexingPolicy indexingPolicy = default(IndexingPolicy), ContainerPartitionKey partitionKey = default(ContainerPartitionKey), int? defaultTtl = default(int?), UniqueKeyPolicy uniqueKeyPolicy = default(UniqueKeyPolicy), ConflictResolutionPolicy conflictResolutionPolicy = default(ConflictResolutionPolicy), long? analyticalStorageTtl = default(long?), string _rid = default(string), double? _ts = default(double?), string _etag = default(string), string _self = default(string)) + { + Id = id; + IndexingPolicy = indexingPolicy; + PartitionKey = partitionKey; + DefaultTtl = defaultTtl; + UniqueKeyPolicy = uniqueKeyPolicy; + ConflictResolutionPolicy = conflictResolutionPolicy; + AnalyticalStorageTtl = analyticalStorageTtl; + this._rid = _rid; + this._ts = _ts; + this._etag = _etag; + this._self = _self; + CustomInit(); + } + + /// + /// An initialization method that performs custom operations like setting defaults + /// + partial void CustomInit(); + + /// + /// Gets or sets name of the Cosmos DB SQL container + /// + [JsonProperty(PropertyName = "id")] + public string Id { get; set; } + + /// + /// Gets or sets the configuration of the indexing policy. By default, + /// the indexing is automatic for all document paths within the + /// container + /// + [JsonProperty(PropertyName = "indexingPolicy")] + public IndexingPolicy IndexingPolicy { get; set; } + + /// + /// Gets or sets the configuration of the partition key to be used for + /// partitioning data into multiple partitions + /// + [JsonProperty(PropertyName = "partitionKey")] + public ContainerPartitionKey PartitionKey { get; set; } + + /// + /// Gets or sets default time to live + /// + [JsonProperty(PropertyName = "defaultTtl")] + public int? DefaultTtl { get; set; } + + /// + /// Gets or sets the unique key policy configuration for specifying + /// uniqueness constraints on documents in the collection in the Azure + /// Cosmos DB service. + /// + [JsonProperty(PropertyName = "uniqueKeyPolicy")] + public UniqueKeyPolicy UniqueKeyPolicy { get; set; } + + /// + /// Gets or sets the conflict resolution policy for the container. + /// + [JsonProperty(PropertyName = "conflictResolutionPolicy")] + public ConflictResolutionPolicy ConflictResolutionPolicy { get; set; } + + /// + /// Gets or sets analytical TTL. + /// + [JsonProperty(PropertyName = "analyticalStorageTtl")] + public long? AnalyticalStorageTtl { get; set; } + + /// + /// Gets a system generated property. A unique identifier. + /// + [JsonProperty(PropertyName = "_rid")] + public string _rid { get; private set; } + + /// + /// Gets a system generated property that denotes the last updated + /// timestamp of the resource. + /// + [JsonProperty(PropertyName = "_ts")] + public double? _ts { get; private set; } + + /// + /// Gets a system generated property representing the resource etag + /// required for optimistic concurrency control. + /// + [JsonProperty(PropertyName = "_etag")] + public string _etag { get; private set; } + + /// + /// Gets a system generated property that specifies the addressable + /// path of the container resource. + /// + [JsonProperty(PropertyName = "_self")] + public string _self { get; private set; } + + /// + /// Validate the object. + /// + /// + /// Thrown if validation fails + /// + public virtual void Validate() + { + if (Id == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "Id"); + } + if (PartitionKey != null) + { + PartitionKey.Validate(); + } + } + } +} diff --git a/sdk/cosmosdb/Microsoft.Azure.Management.CosmosDB/src/Generated/Models/RestorableSqlDatabaseGetResult.cs b/sdk/cosmosdb/Microsoft.Azure.Management.CosmosDB/src/Generated/Models/RestorableSqlDatabaseGetResult.cs new file mode 100644 index 000000000000..b9b9a715c381 --- /dev/null +++ b/sdk/cosmosdb/Microsoft.Azure.Management.CosmosDB/src/Generated/Models/RestorableSqlDatabaseGetResult.cs @@ -0,0 +1,95 @@ +// +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See License.txt in the project root for +// license information. +// +// Code generated by Microsoft (R) AutoRest Code Generator. +// Changes may cause incorrect behavior and will be lost if the code is +// regenerated. +// + +namespace Microsoft.Azure.Management.CosmosDB.Models +{ + using Microsoft.Rest; + using Microsoft.Rest.Serialization; + using Newtonsoft.Json; + using System.Linq; + + /// + /// An Azure Cosmos DB SQL database event + /// + [Rest.Serialization.JsonTransformation] + public partial class RestorableSqlDatabaseGetResult + { + /// + /// Initializes a new instance of the RestorableSqlDatabaseGetResult + /// class. + /// + public RestorableSqlDatabaseGetResult() + { + CustomInit(); + } + + /// + /// Initializes a new instance of the RestorableSqlDatabaseGetResult + /// class. + /// + /// The resource of an Azure Cosmos DB SQL + /// database event + /// The unique resource Identifier of the ARM + /// resource. + /// The name of the ARM resource. + /// The type of Azure resource. + public RestorableSqlDatabaseGetResult(RestorableSqlDatabasePropertiesResource resource = default(RestorableSqlDatabasePropertiesResource), string id = default(string), string name = default(string), string type = default(string)) + { + Resource = resource; + Id = id; + Name = name; + Type = type; + CustomInit(); + } + + /// + /// An initialization method that performs custom operations like setting defaults + /// + partial void CustomInit(); + + /// + /// Gets or sets the resource of an Azure Cosmos DB SQL database event + /// + [JsonProperty(PropertyName = "properties.resource")] + public RestorableSqlDatabasePropertiesResource Resource { get; set; } + + /// + /// Gets the unique resource Identifier of the ARM resource. + /// + [JsonProperty(PropertyName = "id")] + public string Id { get; private set; } + + /// + /// Gets the name of the ARM resource. + /// + [JsonProperty(PropertyName = "name")] + public string Name { get; private set; } + + /// + /// Gets the type of Azure resource. + /// + [JsonProperty(PropertyName = "type")] + public string Type { get; private set; } + + /// + /// Validate the object. + /// + /// + /// Thrown if validation fails + /// + public virtual void Validate() + { + if (Resource != null) + { + Resource.Validate(); + } + } + } +} diff --git a/sdk/cosmosdb/Microsoft.Azure.Management.CosmosDB/src/Generated/Models/RestorableSqlDatabasePropertiesResource.cs b/sdk/cosmosdb/Microsoft.Azure.Management.CosmosDB/src/Generated/Models/RestorableSqlDatabasePropertiesResource.cs new file mode 100644 index 000000000000..ba9bbcbdb6f9 --- /dev/null +++ b/sdk/cosmosdb/Microsoft.Azure.Management.CosmosDB/src/Generated/Models/RestorableSqlDatabasePropertiesResource.cs @@ -0,0 +1,113 @@ +// +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See License.txt in the project root for +// license information. +// +// Code generated by Microsoft (R) AutoRest Code Generator. +// Changes may cause incorrect behavior and will be lost if the code is +// regenerated. +// + +namespace Microsoft.Azure.Management.CosmosDB.Models +{ + using Newtonsoft.Json; + using System.Linq; + + /// + /// The resource of an Azure Cosmos DB SQL database event + /// + public partial class RestorableSqlDatabasePropertiesResource + { + /// + /// Initializes a new instance of the + /// RestorableSqlDatabasePropertiesResource class. + /// + public RestorableSqlDatabasePropertiesResource() + { + CustomInit(); + } + + /// + /// Initializes a new instance of the + /// RestorableSqlDatabasePropertiesResource class. + /// + /// A system generated property. A unique + /// identifier. + /// The operation type of this database + /// event. Possible values include: 'Create', 'Replace', 'Delete', + /// 'SystemOperation' + /// The time when this database event + /// happened. + /// The name of the SQL database. + /// The resource ID of the SQL + /// database. + /// Cosmos DB SQL database resource + /// object + public RestorableSqlDatabasePropertiesResource(string _rid = default(string), string operationType = default(string), string eventTimestamp = default(string), string ownerId = default(string), string ownerResourceId = default(string), RestorableSqlDatabasePropertiesResourceDatabase database = default(RestorableSqlDatabasePropertiesResourceDatabase)) + { + this._rid = _rid; + OperationType = operationType; + EventTimestamp = eventTimestamp; + OwnerId = ownerId; + OwnerResourceId = ownerResourceId; + Database = database; + CustomInit(); + } + + /// + /// An initialization method that performs custom operations like setting defaults + /// + partial void CustomInit(); + + /// + /// Gets a system generated property. A unique identifier. + /// + [JsonProperty(PropertyName = "_rid")] + public string _rid { get; private set; } + + /// + /// Gets the operation type of this database event. Possible values + /// include: 'Create', 'Replace', 'Delete', 'SystemOperation' + /// + [JsonProperty(PropertyName = "operationType")] + public string OperationType { get; private set; } + + /// + /// Gets the time when this database event happened. + /// + [JsonProperty(PropertyName = "eventTimestamp")] + public string EventTimestamp { get; private set; } + + /// + /// Gets the name of the SQL database. + /// + [JsonProperty(PropertyName = "ownerId")] + public string OwnerId { get; private set; } + + /// + /// Gets the resource ID of the SQL database. + /// + [JsonProperty(PropertyName = "ownerResourceId")] + public string OwnerResourceId { get; private set; } + + /// + /// Gets or sets cosmos DB SQL database resource object + /// + [JsonProperty(PropertyName = "database")] + public RestorableSqlDatabasePropertiesResourceDatabase Database { get; set; } + + /// + /// Validate the object. + /// + /// + /// Thrown if validation fails + /// + public virtual void Validate() + { + if (Database != null) + { + Database.Validate(); + } + } + } +} diff --git a/sdk/cosmosdb/Microsoft.Azure.Management.CosmosDB/src/Generated/Models/RestorableSqlDatabasePropertiesResourceDatabase.cs b/sdk/cosmosdb/Microsoft.Azure.Management.CosmosDB/src/Generated/Models/RestorableSqlDatabasePropertiesResourceDatabase.cs new file mode 100644 index 000000000000..d17a30ea4a3e --- /dev/null +++ b/sdk/cosmosdb/Microsoft.Azure.Management.CosmosDB/src/Generated/Models/RestorableSqlDatabasePropertiesResourceDatabase.cs @@ -0,0 +1,126 @@ +// +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See License.txt in the project root for +// license information. +// +// Code generated by Microsoft (R) AutoRest Code Generator. +// Changes may cause incorrect behavior and will be lost if the code is +// regenerated. +// + +namespace Microsoft.Azure.Management.CosmosDB.Models +{ + using Microsoft.Rest; + using Newtonsoft.Json; + using System.Linq; + + /// + /// Cosmos DB SQL database resource object + /// + public partial class RestorableSqlDatabasePropertiesResourceDatabase + { + /// + /// Initializes a new instance of the + /// RestorableSqlDatabasePropertiesResourceDatabase class. + /// + public RestorableSqlDatabasePropertiesResourceDatabase() + { + CustomInit(); + } + + /// + /// Initializes a new instance of the + /// RestorableSqlDatabasePropertiesResourceDatabase class. + /// + /// Name of the Cosmos DB SQL database + /// A system generated property. A unique + /// identifier. + /// A system generated property that denotes the last + /// updated timestamp of the resource. + /// A system generated property representing the + /// resource etag required for optimistic concurrency control. + /// A system generated property that specified the + /// addressable path of the collections resource. + /// A system generated property that specifies the + /// addressable path of the users resource. + /// A system generated property that specifies the + /// addressable path of the database resource. + public RestorableSqlDatabasePropertiesResourceDatabase(string id, string _rid = default(string), double? _ts = default(double?), string _etag = default(string), string _colls = default(string), string _users = default(string), string _self = default(string)) + { + Id = id; + this._rid = _rid; + this._ts = _ts; + this._etag = _etag; + this._colls = _colls; + this._users = _users; + this._self = _self; + CustomInit(); + } + + /// + /// An initialization method that performs custom operations like setting defaults + /// + partial void CustomInit(); + + /// + /// Gets or sets name of the Cosmos DB SQL database + /// + [JsonProperty(PropertyName = "id")] + public string Id { get; set; } + + /// + /// Gets a system generated property. A unique identifier. + /// + [JsonProperty(PropertyName = "_rid")] + public string _rid { get; private set; } + + /// + /// Gets a system generated property that denotes the last updated + /// timestamp of the resource. + /// + [JsonProperty(PropertyName = "_ts")] + public double? _ts { get; private set; } + + /// + /// Gets a system generated property representing the resource etag + /// required for optimistic concurrency control. + /// + [JsonProperty(PropertyName = "_etag")] + public string _etag { get; private set; } + + /// + /// Gets a system generated property that specified the addressable + /// path of the collections resource. + /// + [JsonProperty(PropertyName = "_colls")] + public string _colls { get; private set; } + + /// + /// Gets a system generated property that specifies the addressable + /// path of the users resource. + /// + [JsonProperty(PropertyName = "_users")] + public string _users { get; private set; } + + /// + /// Gets a system generated property that specifies the addressable + /// path of the database resource. + /// + [JsonProperty(PropertyName = "_self")] + public string _self { get; private set; } + + /// + /// Validate the object. + /// + /// + /// Thrown if validation fails + /// + public virtual void Validate() + { + if (Id == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "Id"); + } + } + } +} diff --git a/sdk/cosmosdb/Microsoft.Azure.Management.CosmosDB/src/Generated/Models/RestoreMode.cs b/sdk/cosmosdb/Microsoft.Azure.Management.CosmosDB/src/Generated/Models/RestoreMode.cs new file mode 100644 index 000000000000..347b1a4033f2 --- /dev/null +++ b/sdk/cosmosdb/Microsoft.Azure.Management.CosmosDB/src/Generated/Models/RestoreMode.cs @@ -0,0 +1,21 @@ +// +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See License.txt in the project root for +// license information. +// +// Code generated by Microsoft (R) AutoRest Code Generator. +// Changes may cause incorrect behavior and will be lost if the code is +// regenerated. +// + +namespace Microsoft.Azure.Management.CosmosDB.Models +{ + + /// + /// Defines values for RestoreMode. + /// + public static class RestoreMode + { + public const string PointInTime = "PointInTime"; + } +} diff --git a/sdk/cosmosdb/Microsoft.Azure.Management.CosmosDB/src/Generated/Models/RestoreParameters.cs b/sdk/cosmosdb/Microsoft.Azure.Management.CosmosDB/src/Generated/Models/RestoreParameters.cs new file mode 100644 index 000000000000..2fd078b19f03 --- /dev/null +++ b/sdk/cosmosdb/Microsoft.Azure.Management.CosmosDB/src/Generated/Models/RestoreParameters.cs @@ -0,0 +1,86 @@ +// +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See License.txt in the project root for +// license information. +// +// Code generated by Microsoft (R) AutoRest Code Generator. +// Changes may cause incorrect behavior and will be lost if the code is +// regenerated. +// + +namespace Microsoft.Azure.Management.CosmosDB.Models +{ + using Newtonsoft.Json; + using System.Collections; + using System.Collections.Generic; + using System.Linq; + + /// + /// Parameters to indicate the information about the restore. + /// + public partial class RestoreParameters + { + /// + /// Initializes a new instance of the RestoreParameters class. + /// + public RestoreParameters() + { + CustomInit(); + } + + /// + /// Initializes a new instance of the RestoreParameters class. + /// + /// Describes the mode of the restore. + /// Possible values include: 'PointInTime' + /// The id of the restorable database + /// account from which the restore has to be initiated. For example: + /// /subscriptions/{subscriptionId}/providers/Microsoft.DocumentDB/locations/{location}/restorableDatabaseAccounts/{restorableDatabaseAccountName} + /// Time to which the account has + /// to be restored (ISO-8601 format). + /// List of specific databases + /// available for restore. + public RestoreParameters(string restoreMode = default(string), string restoreSource = default(string), System.DateTime? restoreTimestampInUtc = default(System.DateTime?), IList databasesToRestore = default(IList)) + { + RestoreMode = restoreMode; + RestoreSource = restoreSource; + RestoreTimestampInUtc = restoreTimestampInUtc; + DatabasesToRestore = databasesToRestore; + CustomInit(); + } + + /// + /// An initialization method that performs custom operations like setting defaults + /// + partial void CustomInit(); + + /// + /// Gets or sets describes the mode of the restore. Possible values + /// include: 'PointInTime' + /// + [JsonProperty(PropertyName = "restoreMode")] + public string RestoreMode { get; set; } + + /// + /// Gets or sets the id of the restorable database account from which + /// the restore has to be initiated. For example: + /// /subscriptions/{subscriptionId}/providers/Microsoft.DocumentDB/locations/{location}/restorableDatabaseAccounts/{restorableDatabaseAccountName} + /// + [JsonProperty(PropertyName = "restoreSource")] + public string RestoreSource { get; set; } + + /// + /// Gets or sets time to which the account has to be restored (ISO-8601 + /// format). + /// + [JsonProperty(PropertyName = "restoreTimestampInUtc")] + public System.DateTime? RestoreTimestampInUtc { get; set; } + + /// + /// Gets or sets list of specific databases available for restore. + /// + [JsonProperty(PropertyName = "databasesToRestore")] + public IList DatabasesToRestore { get; set; } + + } +} diff --git a/sdk/cosmosdb/Microsoft.Azure.Management.CosmosDB/src/Generated/Models/SystemData.cs b/sdk/cosmosdb/Microsoft.Azure.Management.CosmosDB/src/Generated/Models/SystemData.cs new file mode 100644 index 000000000000..9cb1fb8254a0 --- /dev/null +++ b/sdk/cosmosdb/Microsoft.Azure.Management.CosmosDB/src/Generated/Models/SystemData.cs @@ -0,0 +1,103 @@ +// +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See License.txt in the project root for +// license information. +// +// Code generated by Microsoft (R) AutoRest Code Generator. +// Changes may cause incorrect behavior and will be lost if the code is +// regenerated. +// + +namespace Microsoft.Azure.Management.CosmosDB.Models +{ + using Newtonsoft.Json; + using System.Linq; + + /// + /// Metadata pertaining to creation and last modification of the resource. + /// + public partial class SystemData + { + /// + /// Initializes a new instance of the SystemData class. + /// + public SystemData() + { + CustomInit(); + } + + /// + /// Initializes a new instance of the SystemData class. + /// + /// The identity that created the + /// resource. + /// The type of identity that created the + /// resource. Possible values include: 'User', 'Application', + /// 'ManagedIdentity', 'Key' + /// The timestamp of resource creation + /// (UTC). + /// The identity that last modified the + /// resource. + /// The type of identity that last + /// modified the resource. Possible values include: 'User', + /// 'Application', 'ManagedIdentity', 'Key' + /// The timestamp of resource last + /// modification (UTC) + public SystemData(string createdBy = default(string), string createdByType = default(string), System.DateTime? createdAt = default(System.DateTime?), string lastModifiedBy = default(string), string lastModifiedByType = default(string), System.DateTime? lastModifiedAt = default(System.DateTime?)) + { + CreatedBy = createdBy; + CreatedByType = createdByType; + CreatedAt = createdAt; + LastModifiedBy = lastModifiedBy; + LastModifiedByType = lastModifiedByType; + LastModifiedAt = lastModifiedAt; + CustomInit(); + } + + /// + /// An initialization method that performs custom operations like setting defaults + /// + partial void CustomInit(); + + /// + /// Gets or sets the identity that created the resource. + /// + [JsonProperty(PropertyName = "createdBy")] + public string CreatedBy { get; set; } + + /// + /// Gets or sets the type of identity that created the resource. + /// Possible values include: 'User', 'Application', 'ManagedIdentity', + /// 'Key' + /// + [JsonProperty(PropertyName = "createdByType")] + public string CreatedByType { get; set; } + + /// + /// Gets or sets the timestamp of resource creation (UTC). + /// + [JsonProperty(PropertyName = "createdAt")] + public System.DateTime? CreatedAt { get; set; } + + /// + /// Gets or sets the identity that last modified the resource. + /// + [JsonProperty(PropertyName = "lastModifiedBy")] + public string LastModifiedBy { get; set; } + + /// + /// Gets or sets the type of identity that last modified the resource. + /// Possible values include: 'User', 'Application', 'ManagedIdentity', + /// 'Key' + /// + [JsonProperty(PropertyName = "lastModifiedByType")] + public string LastModifiedByType { get; set; } + + /// + /// Gets or sets the timestamp of resource last modification (UTC) + /// + [JsonProperty(PropertyName = "lastModifiedAt")] + public System.DateTime? LastModifiedAt { get; set; } + + } +} diff --git a/sdk/cosmosdb/Microsoft.Azure.Management.CosmosDB/src/Generated/MongoDBResourcesOperations.cs b/sdk/cosmosdb/Microsoft.Azure.Management.CosmosDB/src/Generated/MongoDBResourcesOperations.cs index 465fb26b1ef6..18646bec6c93 100644 --- a/sdk/cosmosdb/Microsoft.Azure.Management.CosmosDB/src/Generated/MongoDBResourcesOperations.cs +++ b/sdk/cosmosdb/Microsoft.Azure.Management.CosmosDB/src/Generated/MongoDBResourcesOperations.cs @@ -108,10 +108,6 @@ internal MongoDBResourcesOperations(CosmosDBManagementClient client) { throw new ValidationException(ValidationRules.MinLength, "resourceGroupName", 1); } - if (!System.Text.RegularExpressions.Regex.IsMatch(resourceGroupName, "^[-\\w\\._\\(\\)]+$")) - { - throw new ValidationException(ValidationRules.Pattern, "resourceGroupName", "^[-\\w\\._\\(\\)]+$"); - } } if (accountName == null) { @@ -352,10 +348,6 @@ internal MongoDBResourcesOperations(CosmosDBManagementClient client) { throw new ValidationException(ValidationRules.MinLength, "resourceGroupName", 1); } - if (!System.Text.RegularExpressions.Regex.IsMatch(resourceGroupName, "^[-\\w\\._\\(\\)]+$")) - { - throw new ValidationException(ValidationRules.Pattern, "resourceGroupName", "^[-\\w\\._\\(\\)]+$"); - } } if (accountName == null) { @@ -655,10 +647,6 @@ internal MongoDBResourcesOperations(CosmosDBManagementClient client) { throw new ValidationException(ValidationRules.MinLength, "resourceGroupName", 1); } - if (!System.Text.RegularExpressions.Regex.IsMatch(resourceGroupName, "^[-\\w\\._\\(\\)]+$")) - { - throw new ValidationException(ValidationRules.Pattern, "resourceGroupName", "^[-\\w\\._\\(\\)]+$"); - } } if (accountName == null) { @@ -986,10 +974,6 @@ internal MongoDBResourcesOperations(CosmosDBManagementClient client) { throw new ValidationException(ValidationRules.MinLength, "resourceGroupName", 1); } - if (!System.Text.RegularExpressions.Regex.IsMatch(resourceGroupName, "^[-\\w\\._\\(\\)]+$")) - { - throw new ValidationException(ValidationRules.Pattern, "resourceGroupName", "^[-\\w\\._\\(\\)]+$"); - } } if (accountName == null) { @@ -1239,10 +1223,6 @@ internal MongoDBResourcesOperations(CosmosDBManagementClient client) { throw new ValidationException(ValidationRules.MinLength, "resourceGroupName", 1); } - if (!System.Text.RegularExpressions.Regex.IsMatch(resourceGroupName, "^[-\\w\\._\\(\\)]+$")) - { - throw new ValidationException(ValidationRules.Pattern, "resourceGroupName", "^[-\\w\\._\\(\\)]+$"); - } } if (accountName == null) { @@ -1557,10 +1537,6 @@ internal MongoDBResourcesOperations(CosmosDBManagementClient client) { throw new ValidationException(ValidationRules.MinLength, "resourceGroupName", 1); } - if (!System.Text.RegularExpressions.Regex.IsMatch(resourceGroupName, "^[-\\w\\._\\(\\)]+$")) - { - throw new ValidationException(ValidationRules.Pattern, "resourceGroupName", "^[-\\w\\._\\(\\)]+$"); - } } if (accountName == null) { @@ -1905,10 +1881,6 @@ internal MongoDBResourcesOperations(CosmosDBManagementClient client) { throw new ValidationException(ValidationRules.MinLength, "resourceGroupName", 1); } - if (!System.Text.RegularExpressions.Regex.IsMatch(resourceGroupName, "^[-\\w\\._\\(\\)]+$")) - { - throw new ValidationException(ValidationRules.Pattern, "resourceGroupName", "^[-\\w\\._\\(\\)]+$"); - } } if (accountName == null) { @@ -2166,10 +2138,6 @@ internal MongoDBResourcesOperations(CosmosDBManagementClient client) { throw new ValidationException(ValidationRules.MinLength, "resourceGroupName", 1); } - if (!System.Text.RegularExpressions.Regex.IsMatch(resourceGroupName, "^[-\\w\\._\\(\\)]+$")) - { - throw new ValidationException(ValidationRules.Pattern, "resourceGroupName", "^[-\\w\\._\\(\\)]+$"); - } } if (accountName == null) { @@ -2401,10 +2369,6 @@ internal MongoDBResourcesOperations(CosmosDBManagementClient client) { throw new ValidationException(ValidationRules.MinLength, "resourceGroupName", 1); } - if (!System.Text.RegularExpressions.Regex.IsMatch(resourceGroupName, "^[-\\w\\._\\(\\)]+$")) - { - throw new ValidationException(ValidationRules.Pattern, "resourceGroupName", "^[-\\w\\._\\(\\)]+$"); - } } if (accountName == null) { @@ -2666,10 +2630,6 @@ internal MongoDBResourcesOperations(CosmosDBManagementClient client) { throw new ValidationException(ValidationRules.MinLength, "resourceGroupName", 1); } - if (!System.Text.RegularExpressions.Regex.IsMatch(resourceGroupName, "^[-\\w\\._\\(\\)]+$")) - { - throw new ValidationException(ValidationRules.Pattern, "resourceGroupName", "^[-\\w\\._\\(\\)]+$"); - } } if (accountName == null) { @@ -2916,10 +2876,6 @@ internal MongoDBResourcesOperations(CosmosDBManagementClient client) { throw new ValidationException(ValidationRules.MinLength, "resourceGroupName", 1); } - if (!System.Text.RegularExpressions.Regex.IsMatch(resourceGroupName, "^[-\\w\\._\\(\\)]+$")) - { - throw new ValidationException(ValidationRules.Pattern, "resourceGroupName", "^[-\\w\\._\\(\\)]+$"); - } } if (accountName == null) { @@ -3171,10 +3127,6 @@ internal MongoDBResourcesOperations(CosmosDBManagementClient client) { throw new ValidationException(ValidationRules.MinLength, "resourceGroupName", 1); } - if (!System.Text.RegularExpressions.Regex.IsMatch(resourceGroupName, "^[-\\w\\._\\(\\)]+$")) - { - throw new ValidationException(ValidationRules.Pattern, "resourceGroupName", "^[-\\w\\._\\(\\)]+$"); - } } if (accountName == null) { @@ -3441,10 +3393,6 @@ internal MongoDBResourcesOperations(CosmosDBManagementClient client) { throw new ValidationException(ValidationRules.MinLength, "resourceGroupName", 1); } - if (!System.Text.RegularExpressions.Regex.IsMatch(resourceGroupName, "^[-\\w\\._\\(\\)]+$")) - { - throw new ValidationException(ValidationRules.Pattern, "resourceGroupName", "^[-\\w\\._\\(\\)]+$"); - } } if (accountName == null) { @@ -3685,10 +3633,6 @@ internal MongoDBResourcesOperations(CosmosDBManagementClient client) { throw new ValidationException(ValidationRules.MinLength, "resourceGroupName", 1); } - if (!System.Text.RegularExpressions.Regex.IsMatch(resourceGroupName, "^[-\\w\\._\\(\\)]+$")) - { - throw new ValidationException(ValidationRules.Pattern, "resourceGroupName", "^[-\\w\\._\\(\\)]+$"); - } } if (accountName == null) { @@ -3959,10 +3903,6 @@ internal MongoDBResourcesOperations(CosmosDBManagementClient client) { throw new ValidationException(ValidationRules.MinLength, "resourceGroupName", 1); } - if (!System.Text.RegularExpressions.Regex.IsMatch(resourceGroupName, "^[-\\w\\._\\(\\)]+$")) - { - throw new ValidationException(ValidationRules.Pattern, "resourceGroupName", "^[-\\w\\._\\(\\)]+$"); - } } if (accountName == null) { @@ -4218,10 +4158,6 @@ internal MongoDBResourcesOperations(CosmosDBManagementClient client) { throw new ValidationException(ValidationRules.MinLength, "resourceGroupName", 1); } - if (!System.Text.RegularExpressions.Regex.IsMatch(resourceGroupName, "^[-\\w\\._\\(\\)]+$")) - { - throw new ValidationException(ValidationRules.Pattern, "resourceGroupName", "^[-\\w\\._\\(\\)]+$"); - } } if (accountName == null) { diff --git a/sdk/cosmosdb/Microsoft.Azure.Management.CosmosDB/src/Generated/NotebookWorkspacesOperations.cs b/sdk/cosmosdb/Microsoft.Azure.Management.CosmosDB/src/Generated/NotebookWorkspacesOperations.cs index cd345eace5e0..44f42b376404 100644 --- a/sdk/cosmosdb/Microsoft.Azure.Management.CosmosDB/src/Generated/NotebookWorkspacesOperations.cs +++ b/sdk/cosmosdb/Microsoft.Azure.Management.CosmosDB/src/Generated/NotebookWorkspacesOperations.cs @@ -107,10 +107,6 @@ internal NotebookWorkspacesOperations(CosmosDBManagementClient client) { throw new ValidationException(ValidationRules.MinLength, "resourceGroupName", 1); } - if (!System.Text.RegularExpressions.Regex.IsMatch(resourceGroupName, "^[-\\w\\._\\(\\)]+$")) - { - throw new ValidationException(ValidationRules.Pattern, "resourceGroupName", "^[-\\w\\._\\(\\)]+$"); - } } if (Client.ApiVersion == null) { @@ -342,10 +338,6 @@ internal NotebookWorkspacesOperations(CosmosDBManagementClient client) { throw new ValidationException(ValidationRules.MinLength, "resourceGroupName", 1); } - if (!System.Text.RegularExpressions.Regex.IsMatch(resourceGroupName, "^[-\\w\\._\\(\\)]+$")) - { - throw new ValidationException(ValidationRules.Pattern, "resourceGroupName", "^[-\\w\\._\\(\\)]+$"); - } } if (Client.ApiVersion == null) { @@ -624,10 +616,6 @@ internal NotebookWorkspacesOperations(CosmosDBManagementClient client) { throw new ValidationException(ValidationRules.MinLength, "resourceGroupName", 1); } - if (!System.Text.RegularExpressions.Regex.IsMatch(resourceGroupName, "^[-\\w\\._\\(\\)]+$")) - { - throw new ValidationException(ValidationRules.Pattern, "resourceGroupName", "^[-\\w\\._\\(\\)]+$"); - } } if (Client.ApiVersion == null) { @@ -906,10 +894,6 @@ internal NotebookWorkspacesOperations(CosmosDBManagementClient client) { throw new ValidationException(ValidationRules.MinLength, "resourceGroupName", 1); } - if (!System.Text.RegularExpressions.Regex.IsMatch(resourceGroupName, "^[-\\w\\._\\(\\)]+$")) - { - throw new ValidationException(ValidationRules.Pattern, "resourceGroupName", "^[-\\w\\._\\(\\)]+$"); - } } if (Client.ApiVersion == null) { @@ -1149,10 +1133,6 @@ internal NotebookWorkspacesOperations(CosmosDBManagementClient client) { throw new ValidationException(ValidationRules.MinLength, "resourceGroupName", 1); } - if (!System.Text.RegularExpressions.Regex.IsMatch(resourceGroupName, "^[-\\w\\._\\(\\)]+$")) - { - throw new ValidationException(ValidationRules.Pattern, "resourceGroupName", "^[-\\w\\._\\(\\)]+$"); - } } if (Client.ApiVersion == null) { @@ -1366,10 +1346,6 @@ internal NotebookWorkspacesOperations(CosmosDBManagementClient client) { throw new ValidationException(ValidationRules.MinLength, "resourceGroupName", 1); } - if (!System.Text.RegularExpressions.Regex.IsMatch(resourceGroupName, "^[-\\w\\._\\(\\)]+$")) - { - throw new ValidationException(ValidationRules.Pattern, "resourceGroupName", "^[-\\w\\._\\(\\)]+$"); - } } if (Client.ApiVersion == null) { @@ -1583,10 +1559,6 @@ internal NotebookWorkspacesOperations(CosmosDBManagementClient client) { throw new ValidationException(ValidationRules.MinLength, "resourceGroupName", 1); } - if (!System.Text.RegularExpressions.Regex.IsMatch(resourceGroupName, "^[-\\w\\._\\(\\)]+$")) - { - throw new ValidationException(ValidationRules.Pattern, "resourceGroupName", "^[-\\w\\._\\(\\)]+$"); - } } if (Client.ApiVersion == null) { diff --git a/sdk/cosmosdb/Microsoft.Azure.Management.CosmosDB/src/Generated/PartitionKeyRangeIdOperations.cs b/sdk/cosmosdb/Microsoft.Azure.Management.CosmosDB/src/Generated/PartitionKeyRangeIdOperations.cs index 1590e2151a3a..911e686adeae 100644 --- a/sdk/cosmosdb/Microsoft.Azure.Management.CosmosDB/src/Generated/PartitionKeyRangeIdOperations.cs +++ b/sdk/cosmosdb/Microsoft.Azure.Management.CosmosDB/src/Generated/PartitionKeyRangeIdOperations.cs @@ -123,10 +123,6 @@ internal PartitionKeyRangeIdOperations(CosmosDBManagementClient client) { throw new ValidationException(ValidationRules.MinLength, "resourceGroupName", 1); } - if (!System.Text.RegularExpressions.Regex.IsMatch(resourceGroupName, "^[-\\w\\._\\(\\)]+$")) - { - throw new ValidationException(ValidationRules.Pattern, "resourceGroupName", "^[-\\w\\._\\(\\)]+$"); - } } if (accountName == null) { diff --git a/sdk/cosmosdb/Microsoft.Azure.Management.CosmosDB/src/Generated/PartitionKeyRangeIdRegionOperations.cs b/sdk/cosmosdb/Microsoft.Azure.Management.CosmosDB/src/Generated/PartitionKeyRangeIdRegionOperations.cs index 6a118c9fda03..1214ed73af45 100644 --- a/sdk/cosmosdb/Microsoft.Azure.Management.CosmosDB/src/Generated/PartitionKeyRangeIdRegionOperations.cs +++ b/sdk/cosmosdb/Microsoft.Azure.Management.CosmosDB/src/Generated/PartitionKeyRangeIdRegionOperations.cs @@ -126,10 +126,6 @@ internal PartitionKeyRangeIdRegionOperations(CosmosDBManagementClient client) { throw new ValidationException(ValidationRules.MinLength, "resourceGroupName", 1); } - if (!System.Text.RegularExpressions.Regex.IsMatch(resourceGroupName, "^[-\\w\\._\\(\\)]+$")) - { - throw new ValidationException(ValidationRules.Pattern, "resourceGroupName", "^[-\\w\\._\\(\\)]+$"); - } } if (accountName == null) { diff --git a/sdk/cosmosdb/Microsoft.Azure.Management.CosmosDB/src/Generated/PercentileOperations.cs b/sdk/cosmosdb/Microsoft.Azure.Management.CosmosDB/src/Generated/PercentileOperations.cs index 8c37a40f2cb1..85cf19d0558a 100644 --- a/sdk/cosmosdb/Microsoft.Azure.Management.CosmosDB/src/Generated/PercentileOperations.cs +++ b/sdk/cosmosdb/Microsoft.Azure.Management.CosmosDB/src/Generated/PercentileOperations.cs @@ -114,10 +114,6 @@ internal PercentileOperations(CosmosDBManagementClient client) { throw new ValidationException(ValidationRules.MinLength, "resourceGroupName", 1); } - if (!System.Text.RegularExpressions.Regex.IsMatch(resourceGroupName, "^[-\\w\\._\\(\\)]+$")) - { - throw new ValidationException(ValidationRules.Pattern, "resourceGroupName", "^[-\\w\\._\\(\\)]+$"); - } } if (accountName == null) { diff --git a/sdk/cosmosdb/Microsoft.Azure.Management.CosmosDB/src/Generated/PercentileSourceTargetOperations.cs b/sdk/cosmosdb/Microsoft.Azure.Management.CosmosDB/src/Generated/PercentileSourceTargetOperations.cs index 125a8300bd6a..80dc89af3033 100644 --- a/sdk/cosmosdb/Microsoft.Azure.Management.CosmosDB/src/Generated/PercentileSourceTargetOperations.cs +++ b/sdk/cosmosdb/Microsoft.Azure.Management.CosmosDB/src/Generated/PercentileSourceTargetOperations.cs @@ -123,10 +123,6 @@ internal PercentileSourceTargetOperations(CosmosDBManagementClient client) { throw new ValidationException(ValidationRules.MinLength, "resourceGroupName", 1); } - if (!System.Text.RegularExpressions.Regex.IsMatch(resourceGroupName, "^[-\\w\\._\\(\\)]+$")) - { - throw new ValidationException(ValidationRules.Pattern, "resourceGroupName", "^[-\\w\\._\\(\\)]+$"); - } } if (accountName == null) { diff --git a/sdk/cosmosdb/Microsoft.Azure.Management.CosmosDB/src/Generated/PercentileTargetOperations.cs b/sdk/cosmosdb/Microsoft.Azure.Management.CosmosDB/src/Generated/PercentileTargetOperations.cs index 3170cdfc1754..8fdead41d1f2 100644 --- a/sdk/cosmosdb/Microsoft.Azure.Management.CosmosDB/src/Generated/PercentileTargetOperations.cs +++ b/sdk/cosmosdb/Microsoft.Azure.Management.CosmosDB/src/Generated/PercentileTargetOperations.cs @@ -118,10 +118,6 @@ internal PercentileTargetOperations(CosmosDBManagementClient client) { throw new ValidationException(ValidationRules.MinLength, "resourceGroupName", 1); } - if (!System.Text.RegularExpressions.Regex.IsMatch(resourceGroupName, "^[-\\w\\._\\(\\)]+$")) - { - throw new ValidationException(ValidationRules.Pattern, "resourceGroupName", "^[-\\w\\._\\(\\)]+$"); - } } if (accountName == null) { diff --git a/sdk/cosmosdb/Microsoft.Azure.Management.CosmosDB/src/Generated/PrivateEndpointConnectionsOperations.cs b/sdk/cosmosdb/Microsoft.Azure.Management.CosmosDB/src/Generated/PrivateEndpointConnectionsOperations.cs index 04d3107596df..f0312253fad4 100644 --- a/sdk/cosmosdb/Microsoft.Azure.Management.CosmosDB/src/Generated/PrivateEndpointConnectionsOperations.cs +++ b/sdk/cosmosdb/Microsoft.Azure.Management.CosmosDB/src/Generated/PrivateEndpointConnectionsOperations.cs @@ -107,10 +107,6 @@ internal PrivateEndpointConnectionsOperations(CosmosDBManagementClient client) { throw new ValidationException(ValidationRules.MinLength, "resourceGroupName", 1); } - if (!System.Text.RegularExpressions.Regex.IsMatch(resourceGroupName, "^[-\\w\\._\\(\\)]+$")) - { - throw new ValidationException(ValidationRules.Pattern, "resourceGroupName", "^[-\\w\\._\\(\\)]+$"); - } } if (Client.ApiVersion == null) { @@ -350,10 +346,6 @@ internal PrivateEndpointConnectionsOperations(CosmosDBManagementClient client) { throw new ValidationException(ValidationRules.MinLength, "resourceGroupName", 1); } - if (!System.Text.RegularExpressions.Regex.IsMatch(resourceGroupName, "^[-\\w\\._\\(\\)]+$")) - { - throw new ValidationException(ValidationRules.Pattern, "resourceGroupName", "^[-\\w\\._\\(\\)]+$"); - } } if (Client.ApiVersion == null) { @@ -653,10 +645,6 @@ internal PrivateEndpointConnectionsOperations(CosmosDBManagementClient client) { throw new ValidationException(ValidationRules.MinLength, "resourceGroupName", 1); } - if (!System.Text.RegularExpressions.Regex.IsMatch(resourceGroupName, "^[-\\w\\._\\(\\)]+$")) - { - throw new ValidationException(ValidationRules.Pattern, "resourceGroupName", "^[-\\w\\._\\(\\)]+$"); - } } if (Client.ApiVersion == null) { @@ -905,10 +893,6 @@ internal PrivateEndpointConnectionsOperations(CosmosDBManagementClient client) { throw new ValidationException(ValidationRules.MinLength, "resourceGroupName", 1); } - if (!System.Text.RegularExpressions.Regex.IsMatch(resourceGroupName, "^[-\\w\\._\\(\\)]+$")) - { - throw new ValidationException(ValidationRules.Pattern, "resourceGroupName", "^[-\\w\\._\\(\\)]+$"); - } } if (Client.ApiVersion == null) { diff --git a/sdk/cosmosdb/Microsoft.Azure.Management.CosmosDB/src/Generated/PrivateLinkResourcesOperations.cs b/sdk/cosmosdb/Microsoft.Azure.Management.CosmosDB/src/Generated/PrivateLinkResourcesOperations.cs index 254571ca6f4d..68094748b27b 100644 --- a/sdk/cosmosdb/Microsoft.Azure.Management.CosmosDB/src/Generated/PrivateLinkResourcesOperations.cs +++ b/sdk/cosmosdb/Microsoft.Azure.Management.CosmosDB/src/Generated/PrivateLinkResourcesOperations.cs @@ -108,10 +108,6 @@ internal PrivateLinkResourcesOperations(CosmosDBManagementClient client) { throw new ValidationException(ValidationRules.MinLength, "resourceGroupName", 1); } - if (!System.Text.RegularExpressions.Regex.IsMatch(resourceGroupName, "^[-\\w\\._\\(\\)]+$")) - { - throw new ValidationException(ValidationRules.Pattern, "resourceGroupName", "^[-\\w\\._\\(\\)]+$"); - } } if (Client.ApiVersion == null) { @@ -352,10 +348,6 @@ internal PrivateLinkResourcesOperations(CosmosDBManagementClient client) { throw new ValidationException(ValidationRules.MinLength, "resourceGroupName", 1); } - if (!System.Text.RegularExpressions.Regex.IsMatch(resourceGroupName, "^[-\\w\\._\\(\\)]+$")) - { - throw new ValidationException(ValidationRules.Pattern, "resourceGroupName", "^[-\\w\\._\\(\\)]+$"); - } } if (Client.ApiVersion == null) { diff --git a/sdk/cosmosdb/Microsoft.Azure.Management.CosmosDB/src/Generated/RestorableDatabaseAccountsOperations.cs b/sdk/cosmosdb/Microsoft.Azure.Management.CosmosDB/src/Generated/RestorableDatabaseAccountsOperations.cs new file mode 100644 index 000000000000..ff6c0c1e5ac1 --- /dev/null +++ b/sdk/cosmosdb/Microsoft.Azure.Management.CosmosDB/src/Generated/RestorableDatabaseAccountsOperations.cs @@ -0,0 +1,666 @@ +// +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See License.txt in the project root for +// license information. +// +// Code generated by Microsoft (R) AutoRest Code Generator. +// Changes may cause incorrect behavior and will be lost if the code is +// regenerated. +// + +namespace Microsoft.Azure.Management.CosmosDB +{ + using Microsoft.Rest; + using Microsoft.Rest.Azure; + using Models; + using Newtonsoft.Json; + using System.Collections; + using System.Collections.Generic; + using System.Linq; + using System.Net; + using System.Net.Http; + using System.Threading; + using System.Threading.Tasks; + + /// + /// RestorableDatabaseAccountsOperations operations. + /// + internal partial class RestorableDatabaseAccountsOperations : IServiceOperations, IRestorableDatabaseAccountsOperations + { + /// + /// Initializes a new instance of the RestorableDatabaseAccountsOperations class. + /// + /// + /// Reference to the service client. + /// + /// + /// Thrown when a required parameter is null + /// + internal RestorableDatabaseAccountsOperations(CosmosDBManagementClient client) + { + if (client == null) + { + throw new System.ArgumentNullException("client"); + } + Client = client; + } + + /// + /// Gets a reference to the CosmosDBManagementClient + /// + public CosmosDBManagementClient Client { get; private set; } + + /// + /// Lists all the restorable Azure Cosmos DB database accounts available under + /// the subscription and in a region. This call requires + /// 'Microsoft.DocumentDB/locations/restorableDatabaseAccounts/read' + /// permission. + /// + /// + /// Cosmos DB region, with spaces between words and each word capitalized. + /// + /// + /// Headers that will be added to request. + /// + /// + /// The cancellation token. + /// + /// + /// Thrown when the operation returned an invalid status code + /// + /// + /// Thrown when unable to deserialize the response + /// + /// + /// Thrown when a required parameter is null + /// + /// + /// Thrown when a required parameter is null + /// + /// + /// A response object containing the response body and response headers. + /// + public async Task>> ListByLocationWithHttpMessagesAsync(string location, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + { + if (Client.ApiVersion == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.ApiVersion"); + } + if (Client.ApiVersion != null) + { + if (Client.ApiVersion.Length < 1) + { + throw new ValidationException(ValidationRules.MinLength, "Client.ApiVersion", 1); + } + } + if (Client.SubscriptionId == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId"); + } + if (Client.SubscriptionId != null) + { + if (Client.SubscriptionId.Length < 1) + { + throw new ValidationException(ValidationRules.MinLength, "Client.SubscriptionId", 1); + } + } + if (location == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "location"); + } + // Tracing + bool _shouldTrace = ServiceClientTracing.IsEnabled; + string _invocationId = null; + if (_shouldTrace) + { + _invocationId = ServiceClientTracing.NextInvocationId.ToString(); + Dictionary tracingParameters = new Dictionary(); + tracingParameters.Add("location", location); + tracingParameters.Add("cancellationToken", cancellationToken); + ServiceClientTracing.Enter(_invocationId, this, "ListByLocation", tracingParameters); + } + // Construct URL + var _baseUrl = Client.BaseUri.AbsoluteUri; + var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "subscriptions/{subscriptionId}/providers/Microsoft.DocumentDB/locations/{location}/restorableDatabaseAccounts").ToString(); + _url = _url.Replace("{subscriptionId}", System.Uri.EscapeDataString(Client.SubscriptionId)); + _url = _url.Replace("{location}", System.Uri.EscapeDataString(location)); + List _queryParameters = new List(); + if (Client.ApiVersion != null) + { + _queryParameters.Add(string.Format("api-version={0}", System.Uri.EscapeDataString(Client.ApiVersion))); + } + if (_queryParameters.Count > 0) + { + _url += (_url.Contains("?") ? "&" : "?") + string.Join("&", _queryParameters); + } + // Create HTTP transport objects + var _httpRequest = new HttpRequestMessage(); + HttpResponseMessage _httpResponse = null; + _httpRequest.Method = new HttpMethod("GET"); + _httpRequest.RequestUri = new System.Uri(_url); + // Set Headers + if (Client.GenerateClientRequestId != null && Client.GenerateClientRequestId.Value) + { + _httpRequest.Headers.TryAddWithoutValidation("x-ms-client-request-id", System.Guid.NewGuid().ToString()); + } + if (Client.AcceptLanguage != null) + { + if (_httpRequest.Headers.Contains("accept-language")) + { + _httpRequest.Headers.Remove("accept-language"); + } + _httpRequest.Headers.TryAddWithoutValidation("accept-language", Client.AcceptLanguage); + } + + + if (customHeaders != null) + { + foreach(var _header in customHeaders) + { + if (_httpRequest.Headers.Contains(_header.Key)) + { + _httpRequest.Headers.Remove(_header.Key); + } + _httpRequest.Headers.TryAddWithoutValidation(_header.Key, _header.Value); + } + } + + // Serialize Request + string _requestContent = null; + // Set Credentials + if (Client.Credentials != null) + { + cancellationToken.ThrowIfCancellationRequested(); + await Client.Credentials.ProcessHttpRequestAsync(_httpRequest, cancellationToken).ConfigureAwait(false); + } + // Send Request + if (_shouldTrace) + { + ServiceClientTracing.SendRequest(_invocationId, _httpRequest); + } + cancellationToken.ThrowIfCancellationRequested(); + _httpResponse = await Client.HttpClient.SendAsync(_httpRequest, cancellationToken).ConfigureAwait(false); + if (_shouldTrace) + { + ServiceClientTracing.ReceiveResponse(_invocationId, _httpResponse); + } + HttpStatusCode _statusCode = _httpResponse.StatusCode; + cancellationToken.ThrowIfCancellationRequested(); + string _responseContent = null; + if ((int)_statusCode != 200) + { + var ex = new CloudException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); + try + { + _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); + CloudError _errorBody = Rest.Serialization.SafeJsonConvert.DeserializeObject(_responseContent, Client.DeserializationSettings); + if (_errorBody != null) + { + ex = new CloudException(_errorBody.Message); + ex.Body = _errorBody; + } + } + catch (JsonException) + { + // Ignore the exception + } + ex.Request = new HttpRequestMessageWrapper(_httpRequest, _requestContent); + ex.Response = new HttpResponseMessageWrapper(_httpResponse, _responseContent); + if (_httpResponse.Headers.Contains("x-ms-request-id")) + { + ex.RequestId = _httpResponse.Headers.GetValues("x-ms-request-id").FirstOrDefault(); + } + if (_shouldTrace) + { + ServiceClientTracing.Error(_invocationId, ex); + } + _httpRequest.Dispose(); + if (_httpResponse != null) + { + _httpResponse.Dispose(); + } + throw ex; + } + // Create Result + var _result = new AzureOperationResponse>(); + _result.Request = _httpRequest; + _result.Response = _httpResponse; + if (_httpResponse.Headers.Contains("x-ms-request-id")) + { + _result.RequestId = _httpResponse.Headers.GetValues("x-ms-request-id").FirstOrDefault(); + } + // Deserialize Response + if ((int)_statusCode == 200) + { + _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); + try + { + _result.Body = Rest.Serialization.SafeJsonConvert.DeserializeObject>(_responseContent, Client.DeserializationSettings); + } + catch (JsonException ex) + { + _httpRequest.Dispose(); + if (_httpResponse != null) + { + _httpResponse.Dispose(); + } + throw new SerializationException("Unable to deserialize the response.", _responseContent, ex); + } + } + if (_shouldTrace) + { + ServiceClientTracing.Exit(_invocationId, _result); + } + return _result; + } + + /// + /// Lists all the restorable Azure Cosmos DB database accounts available under + /// the subscription. This call requires + /// 'Microsoft.DocumentDB/locations/restorableDatabaseAccounts/read' + /// permission. + /// + /// + /// Headers that will be added to request. + /// + /// + /// The cancellation token. + /// + /// + /// Thrown when the operation returned an invalid status code + /// + /// + /// Thrown when unable to deserialize the response + /// + /// + /// Thrown when a required parameter is null + /// + /// + /// Thrown when a required parameter is null + /// + /// + /// A response object containing the response body and response headers. + /// + public async Task>> ListWithHttpMessagesAsync(Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + { + if (Client.ApiVersion == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.ApiVersion"); + } + if (Client.ApiVersion != null) + { + if (Client.ApiVersion.Length < 1) + { + throw new ValidationException(ValidationRules.MinLength, "Client.ApiVersion", 1); + } + } + if (Client.SubscriptionId == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId"); + } + if (Client.SubscriptionId != null) + { + if (Client.SubscriptionId.Length < 1) + { + throw new ValidationException(ValidationRules.MinLength, "Client.SubscriptionId", 1); + } + } + // Tracing + bool _shouldTrace = ServiceClientTracing.IsEnabled; + string _invocationId = null; + if (_shouldTrace) + { + _invocationId = ServiceClientTracing.NextInvocationId.ToString(); + Dictionary tracingParameters = new Dictionary(); + tracingParameters.Add("cancellationToken", cancellationToken); + ServiceClientTracing.Enter(_invocationId, this, "List", tracingParameters); + } + // Construct URL + var _baseUrl = Client.BaseUri.AbsoluteUri; + var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "subscriptions/{subscriptionId}/providers/Microsoft.DocumentDB/restorableDatabaseAccounts").ToString(); + _url = _url.Replace("{subscriptionId}", System.Uri.EscapeDataString(Client.SubscriptionId)); + List _queryParameters = new List(); + if (Client.ApiVersion != null) + { + _queryParameters.Add(string.Format("api-version={0}", System.Uri.EscapeDataString(Client.ApiVersion))); + } + if (_queryParameters.Count > 0) + { + _url += (_url.Contains("?") ? "&" : "?") + string.Join("&", _queryParameters); + } + // Create HTTP transport objects + var _httpRequest = new HttpRequestMessage(); + HttpResponseMessage _httpResponse = null; + _httpRequest.Method = new HttpMethod("GET"); + _httpRequest.RequestUri = new System.Uri(_url); + // Set Headers + if (Client.GenerateClientRequestId != null && Client.GenerateClientRequestId.Value) + { + _httpRequest.Headers.TryAddWithoutValidation("x-ms-client-request-id", System.Guid.NewGuid().ToString()); + } + if (Client.AcceptLanguage != null) + { + if (_httpRequest.Headers.Contains("accept-language")) + { + _httpRequest.Headers.Remove("accept-language"); + } + _httpRequest.Headers.TryAddWithoutValidation("accept-language", Client.AcceptLanguage); + } + + + if (customHeaders != null) + { + foreach(var _header in customHeaders) + { + if (_httpRequest.Headers.Contains(_header.Key)) + { + _httpRequest.Headers.Remove(_header.Key); + } + _httpRequest.Headers.TryAddWithoutValidation(_header.Key, _header.Value); + } + } + + // Serialize Request + string _requestContent = null; + // Set Credentials + if (Client.Credentials != null) + { + cancellationToken.ThrowIfCancellationRequested(); + await Client.Credentials.ProcessHttpRequestAsync(_httpRequest, cancellationToken).ConfigureAwait(false); + } + // Send Request + if (_shouldTrace) + { + ServiceClientTracing.SendRequest(_invocationId, _httpRequest); + } + cancellationToken.ThrowIfCancellationRequested(); + _httpResponse = await Client.HttpClient.SendAsync(_httpRequest, cancellationToken).ConfigureAwait(false); + if (_shouldTrace) + { + ServiceClientTracing.ReceiveResponse(_invocationId, _httpResponse); + } + HttpStatusCode _statusCode = _httpResponse.StatusCode; + cancellationToken.ThrowIfCancellationRequested(); + string _responseContent = null; + if ((int)_statusCode != 200) + { + var ex = new CloudException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); + try + { + _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); + CloudError _errorBody = Rest.Serialization.SafeJsonConvert.DeserializeObject(_responseContent, Client.DeserializationSettings); + if (_errorBody != null) + { + ex = new CloudException(_errorBody.Message); + ex.Body = _errorBody; + } + } + catch (JsonException) + { + // Ignore the exception + } + ex.Request = new HttpRequestMessageWrapper(_httpRequest, _requestContent); + ex.Response = new HttpResponseMessageWrapper(_httpResponse, _responseContent); + if (_httpResponse.Headers.Contains("x-ms-request-id")) + { + ex.RequestId = _httpResponse.Headers.GetValues("x-ms-request-id").FirstOrDefault(); + } + if (_shouldTrace) + { + ServiceClientTracing.Error(_invocationId, ex); + } + _httpRequest.Dispose(); + if (_httpResponse != null) + { + _httpResponse.Dispose(); + } + throw ex; + } + // Create Result + var _result = new AzureOperationResponse>(); + _result.Request = _httpRequest; + _result.Response = _httpResponse; + if (_httpResponse.Headers.Contains("x-ms-request-id")) + { + _result.RequestId = _httpResponse.Headers.GetValues("x-ms-request-id").FirstOrDefault(); + } + // Deserialize Response + if ((int)_statusCode == 200) + { + _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); + try + { + _result.Body = Rest.Serialization.SafeJsonConvert.DeserializeObject>(_responseContent, Client.DeserializationSettings); + } + catch (JsonException ex) + { + _httpRequest.Dispose(); + if (_httpResponse != null) + { + _httpResponse.Dispose(); + } + throw new SerializationException("Unable to deserialize the response.", _responseContent, ex); + } + } + if (_shouldTrace) + { + ServiceClientTracing.Exit(_invocationId, _result); + } + return _result; + } + + /// + /// Retrieves the properties of an existing Azure Cosmos DB restorable database + /// account. This call requires + /// 'Microsoft.DocumentDB/locations/restorableDatabaseAccounts/read/*' + /// permission. + /// + /// + /// Cosmos DB region, with spaces between words and each word capitalized. + /// + /// + /// The instanceId GUID of a restorable database account. + /// + /// + /// Headers that will be added to request. + /// + /// + /// The cancellation token. + /// + /// + /// Thrown when the operation returned an invalid status code + /// + /// + /// Thrown when unable to deserialize the response + /// + /// + /// Thrown when a required parameter is null + /// + /// + /// Thrown when a required parameter is null + /// + /// + /// A response object containing the response body and response headers. + /// + public async Task> GetByLocationWithHttpMessagesAsync(string location, string instanceId, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + { + if (Client.ApiVersion == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.ApiVersion"); + } + if (Client.ApiVersion != null) + { + if (Client.ApiVersion.Length < 1) + { + throw new ValidationException(ValidationRules.MinLength, "Client.ApiVersion", 1); + } + } + if (Client.SubscriptionId == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId"); + } + if (Client.SubscriptionId != null) + { + if (Client.SubscriptionId.Length < 1) + { + throw new ValidationException(ValidationRules.MinLength, "Client.SubscriptionId", 1); + } + } + if (location == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "location"); + } + if (instanceId == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "instanceId"); + } + // Tracing + bool _shouldTrace = ServiceClientTracing.IsEnabled; + string _invocationId = null; + if (_shouldTrace) + { + _invocationId = ServiceClientTracing.NextInvocationId.ToString(); + Dictionary tracingParameters = new Dictionary(); + tracingParameters.Add("location", location); + tracingParameters.Add("instanceId", instanceId); + tracingParameters.Add("cancellationToken", cancellationToken); + ServiceClientTracing.Enter(_invocationId, this, "GetByLocation", tracingParameters); + } + // Construct URL + var _baseUrl = Client.BaseUri.AbsoluteUri; + var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "subscriptions/{subscriptionId}/providers/Microsoft.DocumentDB/locations/{location}/restorableDatabaseAccounts/{instanceId}").ToString(); + _url = _url.Replace("{subscriptionId}", System.Uri.EscapeDataString(Client.SubscriptionId)); + _url = _url.Replace("{location}", System.Uri.EscapeDataString(location)); + _url = _url.Replace("{instanceId}", System.Uri.EscapeDataString(instanceId)); + List _queryParameters = new List(); + if (Client.ApiVersion != null) + { + _queryParameters.Add(string.Format("api-version={0}", System.Uri.EscapeDataString(Client.ApiVersion))); + } + if (_queryParameters.Count > 0) + { + _url += (_url.Contains("?") ? "&" : "?") + string.Join("&", _queryParameters); + } + // Create HTTP transport objects + var _httpRequest = new HttpRequestMessage(); + HttpResponseMessage _httpResponse = null; + _httpRequest.Method = new HttpMethod("GET"); + _httpRequest.RequestUri = new System.Uri(_url); + // Set Headers + if (Client.GenerateClientRequestId != null && Client.GenerateClientRequestId.Value) + { + _httpRequest.Headers.TryAddWithoutValidation("x-ms-client-request-id", System.Guid.NewGuid().ToString()); + } + if (Client.AcceptLanguage != null) + { + if (_httpRequest.Headers.Contains("accept-language")) + { + _httpRequest.Headers.Remove("accept-language"); + } + _httpRequest.Headers.TryAddWithoutValidation("accept-language", Client.AcceptLanguage); + } + + + if (customHeaders != null) + { + foreach(var _header in customHeaders) + { + if (_httpRequest.Headers.Contains(_header.Key)) + { + _httpRequest.Headers.Remove(_header.Key); + } + _httpRequest.Headers.TryAddWithoutValidation(_header.Key, _header.Value); + } + } + + // Serialize Request + string _requestContent = null; + // Set Credentials + if (Client.Credentials != null) + { + cancellationToken.ThrowIfCancellationRequested(); + await Client.Credentials.ProcessHttpRequestAsync(_httpRequest, cancellationToken).ConfigureAwait(false); + } + // Send Request + if (_shouldTrace) + { + ServiceClientTracing.SendRequest(_invocationId, _httpRequest); + } + cancellationToken.ThrowIfCancellationRequested(); + _httpResponse = await Client.HttpClient.SendAsync(_httpRequest, cancellationToken).ConfigureAwait(false); + if (_shouldTrace) + { + ServiceClientTracing.ReceiveResponse(_invocationId, _httpResponse); + } + HttpStatusCode _statusCode = _httpResponse.StatusCode; + cancellationToken.ThrowIfCancellationRequested(); + string _responseContent = null; + if ((int)_statusCode != 200) + { + var ex = new CloudException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); + try + { + _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); + CloudError _errorBody = Rest.Serialization.SafeJsonConvert.DeserializeObject(_responseContent, Client.DeserializationSettings); + if (_errorBody != null) + { + ex = new CloudException(_errorBody.Message); + ex.Body = _errorBody; + } + } + catch (JsonException) + { + // Ignore the exception + } + ex.Request = new HttpRequestMessageWrapper(_httpRequest, _requestContent); + ex.Response = new HttpResponseMessageWrapper(_httpResponse, _responseContent); + if (_httpResponse.Headers.Contains("x-ms-request-id")) + { + ex.RequestId = _httpResponse.Headers.GetValues("x-ms-request-id").FirstOrDefault(); + } + if (_shouldTrace) + { + ServiceClientTracing.Error(_invocationId, ex); + } + _httpRequest.Dispose(); + if (_httpResponse != null) + { + _httpResponse.Dispose(); + } + throw ex; + } + // Create Result + var _result = new AzureOperationResponse(); + _result.Request = _httpRequest; + _result.Response = _httpResponse; + if (_httpResponse.Headers.Contains("x-ms-request-id")) + { + _result.RequestId = _httpResponse.Headers.GetValues("x-ms-request-id").FirstOrDefault(); + } + // Deserialize Response + if ((int)_statusCode == 200) + { + _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); + try + { + _result.Body = Rest.Serialization.SafeJsonConvert.DeserializeObject(_responseContent, Client.DeserializationSettings); + } + catch (JsonException ex) + { + _httpRequest.Dispose(); + if (_httpResponse != null) + { + _httpResponse.Dispose(); + } + throw new SerializationException("Unable to deserialize the response.", _responseContent, ex); + } + } + if (_shouldTrace) + { + ServiceClientTracing.Exit(_invocationId, _result); + } + return _result; + } + + } +} diff --git a/sdk/cosmosdb/Microsoft.Azure.Management.CosmosDB/src/Generated/RestorableDatabaseAccountsOperationsExtensions.cs b/sdk/cosmosdb/Microsoft.Azure.Management.CosmosDB/src/Generated/RestorableDatabaseAccountsOperationsExtensions.cs new file mode 100644 index 000000000000..3de1f9e51ec1 --- /dev/null +++ b/sdk/cosmosdb/Microsoft.Azure.Management.CosmosDB/src/Generated/RestorableDatabaseAccountsOperationsExtensions.cs @@ -0,0 +1,147 @@ +// +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See License.txt in the project root for +// license information. +// +// Code generated by Microsoft (R) AutoRest Code Generator. +// Changes may cause incorrect behavior and will be lost if the code is +// regenerated. +// + +namespace Microsoft.Azure.Management.CosmosDB +{ + using Microsoft.Rest; + using Microsoft.Rest.Azure; + using Models; + using System.Collections; + using System.Collections.Generic; + using System.Threading; + using System.Threading.Tasks; + + /// + /// Extension methods for RestorableDatabaseAccountsOperations. + /// + public static partial class RestorableDatabaseAccountsOperationsExtensions + { + /// + /// Lists all the restorable Azure Cosmos DB database accounts available under + /// the subscription and in a region. This call requires + /// 'Microsoft.DocumentDB/locations/restorableDatabaseAccounts/read' + /// permission. + /// + /// + /// The operations group for this extension method. + /// + /// + /// Cosmos DB region, with spaces between words and each word capitalized. + /// + public static IEnumerable ListByLocation(this IRestorableDatabaseAccountsOperations operations, string location) + { + return operations.ListByLocationAsync(location).GetAwaiter().GetResult(); + } + + /// + /// Lists all the restorable Azure Cosmos DB database accounts available under + /// the subscription and in a region. This call requires + /// 'Microsoft.DocumentDB/locations/restorableDatabaseAccounts/read' + /// permission. + /// + /// + /// The operations group for this extension method. + /// + /// + /// Cosmos DB region, with spaces between words and each word capitalized. + /// + /// + /// The cancellation token. + /// + public static async Task> ListByLocationAsync(this IRestorableDatabaseAccountsOperations operations, string location, CancellationToken cancellationToken = default(CancellationToken)) + { + using (var _result = await operations.ListByLocationWithHttpMessagesAsync(location, null, cancellationToken).ConfigureAwait(false)) + { + return _result.Body; + } + } + + /// + /// Lists all the restorable Azure Cosmos DB database accounts available under + /// the subscription. This call requires + /// 'Microsoft.DocumentDB/locations/restorableDatabaseAccounts/read' + /// permission. + /// + /// + /// The operations group for this extension method. + /// + public static IEnumerable List(this IRestorableDatabaseAccountsOperations operations) + { + return operations.ListAsync().GetAwaiter().GetResult(); + } + + /// + /// Lists all the restorable Azure Cosmos DB database accounts available under + /// the subscription. This call requires + /// 'Microsoft.DocumentDB/locations/restorableDatabaseAccounts/read' + /// permission. + /// + /// + /// The operations group for this extension method. + /// + /// + /// The cancellation token. + /// + public static async Task> ListAsync(this IRestorableDatabaseAccountsOperations operations, CancellationToken cancellationToken = default(CancellationToken)) + { + using (var _result = await operations.ListWithHttpMessagesAsync(null, cancellationToken).ConfigureAwait(false)) + { + return _result.Body; + } + } + + /// + /// Retrieves the properties of an existing Azure Cosmos DB restorable database + /// account. This call requires + /// 'Microsoft.DocumentDB/locations/restorableDatabaseAccounts/read/*' + /// permission. + /// + /// + /// The operations group for this extension method. + /// + /// + /// Cosmos DB region, with spaces between words and each word capitalized. + /// + /// + /// The instanceId GUID of a restorable database account. + /// + public static RestorableDatabaseAccountGetResult GetByLocation(this IRestorableDatabaseAccountsOperations operations, string location, string instanceId) + { + return operations.GetByLocationAsync(location, instanceId).GetAwaiter().GetResult(); + } + + /// + /// Retrieves the properties of an existing Azure Cosmos DB restorable database + /// account. This call requires + /// 'Microsoft.DocumentDB/locations/restorableDatabaseAccounts/read/*' + /// permission. + /// + /// + /// The operations group for this extension method. + /// + /// + /// Cosmos DB region, with spaces between words and each word capitalized. + /// + /// + /// The instanceId GUID of a restorable database account. + /// + /// + /// The cancellation token. + /// + public static async Task GetByLocationAsync(this IRestorableDatabaseAccountsOperations operations, string location, string instanceId, CancellationToken cancellationToken = default(CancellationToken)) + { + using (var _result = await operations.GetByLocationWithHttpMessagesAsync(location, instanceId, null, cancellationToken).ConfigureAwait(false)) + { + return _result.Body; + } + } + + } +} diff --git a/sdk/cosmosdb/Microsoft.Azure.Management.CosmosDB/src/Generated/RestorableMongodbCollectionsOperations.cs b/sdk/cosmosdb/Microsoft.Azure.Management.CosmosDB/src/Generated/RestorableMongodbCollectionsOperations.cs new file mode 100644 index 000000000000..d2ba923127ec --- /dev/null +++ b/sdk/cosmosdb/Microsoft.Azure.Management.CosmosDB/src/Generated/RestorableMongodbCollectionsOperations.cs @@ -0,0 +1,276 @@ +// +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See License.txt in the project root for +// license information. +// +// Code generated by Microsoft (R) AutoRest Code Generator. +// Changes may cause incorrect behavior and will be lost if the code is +// regenerated. +// + +namespace Microsoft.Azure.Management.CosmosDB +{ + using Microsoft.Rest; + using Microsoft.Rest.Azure; + using Models; + using Newtonsoft.Json; + using System.Collections; + using System.Collections.Generic; + using System.Linq; + using System.Net; + using System.Net.Http; + using System.Threading; + using System.Threading.Tasks; + + /// + /// RestorableMongodbCollectionsOperations operations. + /// + internal partial class RestorableMongodbCollectionsOperations : IServiceOperations, IRestorableMongodbCollectionsOperations + { + /// + /// Initializes a new instance of the RestorableMongodbCollectionsOperations class. + /// + /// + /// Reference to the service client. + /// + /// + /// Thrown when a required parameter is null + /// + internal RestorableMongodbCollectionsOperations(CosmosDBManagementClient client) + { + if (client == null) + { + throw new System.ArgumentNullException("client"); + } + Client = client; + } + + /// + /// Gets a reference to the CosmosDBManagementClient + /// + public CosmosDBManagementClient Client { get; private set; } + + /// + /// Show the event feed of all mutations done on all the Azure Cosmos DB + /// MongoDB collections under a specific database. This helps in scenario + /// where container was accidentally deleted. This API requires + /// 'Microsoft.DocumentDB/locations/restorableDatabaseAccounts/.../read' + /// permission + /// + /// + /// Cosmos DB region, with spaces between words and each word capitalized. + /// + /// + /// The instanceId GUID of a restorable database account. + /// + /// + /// The resource ID of the MongoDB database. + /// + /// + /// Headers that will be added to request. + /// + /// + /// The cancellation token. + /// + /// + /// Thrown when the operation returned an invalid status code + /// + /// + /// Thrown when unable to deserialize the response + /// + /// + /// Thrown when a required parameter is null + /// + /// + /// Thrown when a required parameter is null + /// + /// + /// A response object containing the response body and response headers. + /// + public async Task>> ListWithHttpMessagesAsync(string location, string instanceId, string restorableMongodbDatabaseRid = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + { + if (Client.ApiVersion == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.ApiVersion"); + } + if (Client.ApiVersion != null) + { + if (Client.ApiVersion.Length < 1) + { + throw new ValidationException(ValidationRules.MinLength, "Client.ApiVersion", 1); + } + } + if (Client.SubscriptionId == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId"); + } + if (Client.SubscriptionId != null) + { + if (Client.SubscriptionId.Length < 1) + { + throw new ValidationException(ValidationRules.MinLength, "Client.SubscriptionId", 1); + } + } + if (location == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "location"); + } + if (instanceId == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "instanceId"); + } + // Tracing + bool _shouldTrace = ServiceClientTracing.IsEnabled; + string _invocationId = null; + if (_shouldTrace) + { + _invocationId = ServiceClientTracing.NextInvocationId.ToString(); + Dictionary tracingParameters = new Dictionary(); + tracingParameters.Add("location", location); + tracingParameters.Add("instanceId", instanceId); + tracingParameters.Add("restorableMongodbDatabaseRid", restorableMongodbDatabaseRid); + tracingParameters.Add("cancellationToken", cancellationToken); + ServiceClientTracing.Enter(_invocationId, this, "List", tracingParameters); + } + // Construct URL + var _baseUrl = Client.BaseUri.AbsoluteUri; + var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "subscriptions/{subscriptionId}/providers/Microsoft.DocumentDB/locations/{location}/restorableDatabaseAccounts/{instanceId}/restorableMongodbCollections").ToString(); + _url = _url.Replace("{subscriptionId}", System.Uri.EscapeDataString(Client.SubscriptionId)); + _url = _url.Replace("{location}", System.Uri.EscapeDataString(location)); + _url = _url.Replace("{instanceId}", System.Uri.EscapeDataString(instanceId)); + List _queryParameters = new List(); + if (Client.ApiVersion != null) + { + _queryParameters.Add(string.Format("api-version={0}", System.Uri.EscapeDataString(Client.ApiVersion))); + } + if (restorableMongodbDatabaseRid != null) + { + _queryParameters.Add(string.Format("restorableMongodbDatabaseRid={0}", System.Uri.EscapeDataString(restorableMongodbDatabaseRid))); + } + if (_queryParameters.Count > 0) + { + _url += (_url.Contains("?") ? "&" : "?") + string.Join("&", _queryParameters); + } + // Create HTTP transport objects + var _httpRequest = new HttpRequestMessage(); + HttpResponseMessage _httpResponse = null; + _httpRequest.Method = new HttpMethod("GET"); + _httpRequest.RequestUri = new System.Uri(_url); + // Set Headers + if (Client.GenerateClientRequestId != null && Client.GenerateClientRequestId.Value) + { + _httpRequest.Headers.TryAddWithoutValidation("x-ms-client-request-id", System.Guid.NewGuid().ToString()); + } + if (Client.AcceptLanguage != null) + { + if (_httpRequest.Headers.Contains("accept-language")) + { + _httpRequest.Headers.Remove("accept-language"); + } + _httpRequest.Headers.TryAddWithoutValidation("accept-language", Client.AcceptLanguage); + } + + + if (customHeaders != null) + { + foreach(var _header in customHeaders) + { + if (_httpRequest.Headers.Contains(_header.Key)) + { + _httpRequest.Headers.Remove(_header.Key); + } + _httpRequest.Headers.TryAddWithoutValidation(_header.Key, _header.Value); + } + } + + // Serialize Request + string _requestContent = null; + // Set Credentials + if (Client.Credentials != null) + { + cancellationToken.ThrowIfCancellationRequested(); + await Client.Credentials.ProcessHttpRequestAsync(_httpRequest, cancellationToken).ConfigureAwait(false); + } + // Send Request + if (_shouldTrace) + { + ServiceClientTracing.SendRequest(_invocationId, _httpRequest); + } + cancellationToken.ThrowIfCancellationRequested(); + _httpResponse = await Client.HttpClient.SendAsync(_httpRequest, cancellationToken).ConfigureAwait(false); + if (_shouldTrace) + { + ServiceClientTracing.ReceiveResponse(_invocationId, _httpResponse); + } + HttpStatusCode _statusCode = _httpResponse.StatusCode; + cancellationToken.ThrowIfCancellationRequested(); + string _responseContent = null; + if ((int)_statusCode != 200) + { + var ex = new CloudException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); + try + { + _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); + CloudError _errorBody = Rest.Serialization.SafeJsonConvert.DeserializeObject(_responseContent, Client.DeserializationSettings); + if (_errorBody != null) + { + ex = new CloudException(_errorBody.Message); + ex.Body = _errorBody; + } + } + catch (JsonException) + { + // Ignore the exception + } + ex.Request = new HttpRequestMessageWrapper(_httpRequest, _requestContent); + ex.Response = new HttpResponseMessageWrapper(_httpResponse, _responseContent); + if (_httpResponse.Headers.Contains("x-ms-request-id")) + { + ex.RequestId = _httpResponse.Headers.GetValues("x-ms-request-id").FirstOrDefault(); + } + if (_shouldTrace) + { + ServiceClientTracing.Error(_invocationId, ex); + } + _httpRequest.Dispose(); + if (_httpResponse != null) + { + _httpResponse.Dispose(); + } + throw ex; + } + // Create Result + var _result = new AzureOperationResponse>(); + _result.Request = _httpRequest; + _result.Response = _httpResponse; + if (_httpResponse.Headers.Contains("x-ms-request-id")) + { + _result.RequestId = _httpResponse.Headers.GetValues("x-ms-request-id").FirstOrDefault(); + } + // Deserialize Response + if ((int)_statusCode == 200) + { + _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); + try + { + _result.Body = Rest.Serialization.SafeJsonConvert.DeserializeObject>(_responseContent, Client.DeserializationSettings); + } + catch (JsonException ex) + { + _httpRequest.Dispose(); + if (_httpResponse != null) + { + _httpResponse.Dispose(); + } + throw new SerializationException("Unable to deserialize the response.", _responseContent, ex); + } + } + if (_shouldTrace) + { + ServiceClientTracing.Exit(_invocationId, _result); + } + return _result; + } + + } +} diff --git a/sdk/cosmosdb/Microsoft.Azure.Management.CosmosDB/src/Generated/RestorableMongodbCollectionsOperationsExtensions.cs b/sdk/cosmosdb/Microsoft.Azure.Management.CosmosDB/src/Generated/RestorableMongodbCollectionsOperationsExtensions.cs new file mode 100644 index 000000000000..65d92af706a9 --- /dev/null +++ b/sdk/cosmosdb/Microsoft.Azure.Management.CosmosDB/src/Generated/RestorableMongodbCollectionsOperationsExtensions.cs @@ -0,0 +1,81 @@ +// +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See License.txt in the project root for +// license information. +// +// Code generated by Microsoft (R) AutoRest Code Generator. +// Changes may cause incorrect behavior and will be lost if the code is +// regenerated. +// + +namespace Microsoft.Azure.Management.CosmosDB +{ + using Microsoft.Rest; + using Microsoft.Rest.Azure; + using Models; + using System.Collections; + using System.Collections.Generic; + using System.Threading; + using System.Threading.Tasks; + + /// + /// Extension methods for RestorableMongodbCollectionsOperations. + /// + public static partial class RestorableMongodbCollectionsOperationsExtensions + { + /// + /// Show the event feed of all mutations done on all the Azure Cosmos DB + /// MongoDB collections under a specific database. This helps in scenario + /// where container was accidentally deleted. This API requires + /// 'Microsoft.DocumentDB/locations/restorableDatabaseAccounts/.../read' + /// permission + /// + /// + /// The operations group for this extension method. + /// + /// + /// Cosmos DB region, with spaces between words and each word capitalized. + /// + /// + /// The instanceId GUID of a restorable database account. + /// + /// + /// The resource ID of the MongoDB database. + /// + public static IEnumerable List(this IRestorableMongodbCollectionsOperations operations, string location, string instanceId, string restorableMongodbDatabaseRid = default(string)) + { + return operations.ListAsync(location, instanceId, restorableMongodbDatabaseRid).GetAwaiter().GetResult(); + } + + /// + /// Show the event feed of all mutations done on all the Azure Cosmos DB + /// MongoDB collections under a specific database. This helps in scenario + /// where container was accidentally deleted. This API requires + /// 'Microsoft.DocumentDB/locations/restorableDatabaseAccounts/.../read' + /// permission + /// + /// + /// The operations group for this extension method. + /// + /// + /// Cosmos DB region, with spaces between words and each word capitalized. + /// + /// + /// The instanceId GUID of a restorable database account. + /// + /// + /// The resource ID of the MongoDB database. + /// + /// + /// The cancellation token. + /// + public static async Task> ListAsync(this IRestorableMongodbCollectionsOperations operations, string location, string instanceId, string restorableMongodbDatabaseRid = default(string), CancellationToken cancellationToken = default(CancellationToken)) + { + using (var _result = await operations.ListWithHttpMessagesAsync(location, instanceId, restorableMongodbDatabaseRid, null, cancellationToken).ConfigureAwait(false)) + { + return _result.Body; + } + } + + } +} diff --git a/sdk/cosmosdb/Microsoft.Azure.Management.CosmosDB/src/Generated/RestorableMongodbDatabasesOperations.cs b/sdk/cosmosdb/Microsoft.Azure.Management.CosmosDB/src/Generated/RestorableMongodbDatabasesOperations.cs new file mode 100644 index 000000000000..873426f77faf --- /dev/null +++ b/sdk/cosmosdb/Microsoft.Azure.Management.CosmosDB/src/Generated/RestorableMongodbDatabasesOperations.cs @@ -0,0 +1,269 @@ +// +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See License.txt in the project root for +// license information. +// +// Code generated by Microsoft (R) AutoRest Code Generator. +// Changes may cause incorrect behavior and will be lost if the code is +// regenerated. +// + +namespace Microsoft.Azure.Management.CosmosDB +{ + using Microsoft.Rest; + using Microsoft.Rest.Azure; + using Models; + using Newtonsoft.Json; + using System.Collections; + using System.Collections.Generic; + using System.Linq; + using System.Net; + using System.Net.Http; + using System.Threading; + using System.Threading.Tasks; + + /// + /// RestorableMongodbDatabasesOperations operations. + /// + internal partial class RestorableMongodbDatabasesOperations : IServiceOperations, IRestorableMongodbDatabasesOperations + { + /// + /// Initializes a new instance of the RestorableMongodbDatabasesOperations class. + /// + /// + /// Reference to the service client. + /// + /// + /// Thrown when a required parameter is null + /// + internal RestorableMongodbDatabasesOperations(CosmosDBManagementClient client) + { + if (client == null) + { + throw new System.ArgumentNullException("client"); + } + Client = client; + } + + /// + /// Gets a reference to the CosmosDBManagementClient + /// + public CosmosDBManagementClient Client { get; private set; } + + /// + /// Show the event feed of all mutations done on all the Azure Cosmos DB + /// MongoDB databases under the restorable account. This helps in scenario + /// where database was accidentally deleted to get the deletion time. This API + /// requires + /// 'Microsoft.DocumentDB/locations/restorableDatabaseAccounts/.../read' + /// permission + /// + /// + /// Cosmos DB region, with spaces between words and each word capitalized. + /// + /// + /// The instanceId GUID of a restorable database account. + /// + /// + /// Headers that will be added to request. + /// + /// + /// The cancellation token. + /// + /// + /// Thrown when the operation returned an invalid status code + /// + /// + /// Thrown when unable to deserialize the response + /// + /// + /// Thrown when a required parameter is null + /// + /// + /// Thrown when a required parameter is null + /// + /// + /// A response object containing the response body and response headers. + /// + public async Task>> ListWithHttpMessagesAsync(string location, string instanceId, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + { + if (Client.ApiVersion == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.ApiVersion"); + } + if (Client.ApiVersion != null) + { + if (Client.ApiVersion.Length < 1) + { + throw new ValidationException(ValidationRules.MinLength, "Client.ApiVersion", 1); + } + } + if (Client.SubscriptionId == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId"); + } + if (Client.SubscriptionId != null) + { + if (Client.SubscriptionId.Length < 1) + { + throw new ValidationException(ValidationRules.MinLength, "Client.SubscriptionId", 1); + } + } + if (location == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "location"); + } + if (instanceId == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "instanceId"); + } + // Tracing + bool _shouldTrace = ServiceClientTracing.IsEnabled; + string _invocationId = null; + if (_shouldTrace) + { + _invocationId = ServiceClientTracing.NextInvocationId.ToString(); + Dictionary tracingParameters = new Dictionary(); + tracingParameters.Add("location", location); + tracingParameters.Add("instanceId", instanceId); + tracingParameters.Add("cancellationToken", cancellationToken); + ServiceClientTracing.Enter(_invocationId, this, "List", tracingParameters); + } + // Construct URL + var _baseUrl = Client.BaseUri.AbsoluteUri; + var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "subscriptions/{subscriptionId}/providers/Microsoft.DocumentDB/locations/{location}/restorableDatabaseAccounts/{instanceId}/restorableMongodbDatabases").ToString(); + _url = _url.Replace("{subscriptionId}", System.Uri.EscapeDataString(Client.SubscriptionId)); + _url = _url.Replace("{location}", System.Uri.EscapeDataString(location)); + _url = _url.Replace("{instanceId}", System.Uri.EscapeDataString(instanceId)); + List _queryParameters = new List(); + if (Client.ApiVersion != null) + { + _queryParameters.Add(string.Format("api-version={0}", System.Uri.EscapeDataString(Client.ApiVersion))); + } + if (_queryParameters.Count > 0) + { + _url += (_url.Contains("?") ? "&" : "?") + string.Join("&", _queryParameters); + } + // Create HTTP transport objects + var _httpRequest = new HttpRequestMessage(); + HttpResponseMessage _httpResponse = null; + _httpRequest.Method = new HttpMethod("GET"); + _httpRequest.RequestUri = new System.Uri(_url); + // Set Headers + if (Client.GenerateClientRequestId != null && Client.GenerateClientRequestId.Value) + { + _httpRequest.Headers.TryAddWithoutValidation("x-ms-client-request-id", System.Guid.NewGuid().ToString()); + } + if (Client.AcceptLanguage != null) + { + if (_httpRequest.Headers.Contains("accept-language")) + { + _httpRequest.Headers.Remove("accept-language"); + } + _httpRequest.Headers.TryAddWithoutValidation("accept-language", Client.AcceptLanguage); + } + + + if (customHeaders != null) + { + foreach(var _header in customHeaders) + { + if (_httpRequest.Headers.Contains(_header.Key)) + { + _httpRequest.Headers.Remove(_header.Key); + } + _httpRequest.Headers.TryAddWithoutValidation(_header.Key, _header.Value); + } + } + + // Serialize Request + string _requestContent = null; + // Set Credentials + if (Client.Credentials != null) + { + cancellationToken.ThrowIfCancellationRequested(); + await Client.Credentials.ProcessHttpRequestAsync(_httpRequest, cancellationToken).ConfigureAwait(false); + } + // Send Request + if (_shouldTrace) + { + ServiceClientTracing.SendRequest(_invocationId, _httpRequest); + } + cancellationToken.ThrowIfCancellationRequested(); + _httpResponse = await Client.HttpClient.SendAsync(_httpRequest, cancellationToken).ConfigureAwait(false); + if (_shouldTrace) + { + ServiceClientTracing.ReceiveResponse(_invocationId, _httpResponse); + } + HttpStatusCode _statusCode = _httpResponse.StatusCode; + cancellationToken.ThrowIfCancellationRequested(); + string _responseContent = null; + if ((int)_statusCode != 200) + { + var ex = new CloudException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); + try + { + _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); + CloudError _errorBody = Rest.Serialization.SafeJsonConvert.DeserializeObject(_responseContent, Client.DeserializationSettings); + if (_errorBody != null) + { + ex = new CloudException(_errorBody.Message); + ex.Body = _errorBody; + } + } + catch (JsonException) + { + // Ignore the exception + } + ex.Request = new HttpRequestMessageWrapper(_httpRequest, _requestContent); + ex.Response = new HttpResponseMessageWrapper(_httpResponse, _responseContent); + if (_httpResponse.Headers.Contains("x-ms-request-id")) + { + ex.RequestId = _httpResponse.Headers.GetValues("x-ms-request-id").FirstOrDefault(); + } + if (_shouldTrace) + { + ServiceClientTracing.Error(_invocationId, ex); + } + _httpRequest.Dispose(); + if (_httpResponse != null) + { + _httpResponse.Dispose(); + } + throw ex; + } + // Create Result + var _result = new AzureOperationResponse>(); + _result.Request = _httpRequest; + _result.Response = _httpResponse; + if (_httpResponse.Headers.Contains("x-ms-request-id")) + { + _result.RequestId = _httpResponse.Headers.GetValues("x-ms-request-id").FirstOrDefault(); + } + // Deserialize Response + if ((int)_statusCode == 200) + { + _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); + try + { + _result.Body = Rest.Serialization.SafeJsonConvert.DeserializeObject>(_responseContent, Client.DeserializationSettings); + } + catch (JsonException ex) + { + _httpRequest.Dispose(); + if (_httpResponse != null) + { + _httpResponse.Dispose(); + } + throw new SerializationException("Unable to deserialize the response.", _responseContent, ex); + } + } + if (_shouldTrace) + { + ServiceClientTracing.Exit(_invocationId, _result); + } + return _result; + } + + } +} diff --git a/sdk/cosmosdb/Microsoft.Azure.Management.CosmosDB/src/Generated/RestorableMongodbDatabasesOperationsExtensions.cs b/sdk/cosmosdb/Microsoft.Azure.Management.CosmosDB/src/Generated/RestorableMongodbDatabasesOperationsExtensions.cs new file mode 100644 index 000000000000..60d7154789b1 --- /dev/null +++ b/sdk/cosmosdb/Microsoft.Azure.Management.CosmosDB/src/Generated/RestorableMongodbDatabasesOperationsExtensions.cs @@ -0,0 +1,77 @@ +// +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See License.txt in the project root for +// license information. +// +// Code generated by Microsoft (R) AutoRest Code Generator. +// Changes may cause incorrect behavior and will be lost if the code is +// regenerated. +// + +namespace Microsoft.Azure.Management.CosmosDB +{ + using Microsoft.Rest; + using Microsoft.Rest.Azure; + using Models; + using System.Collections; + using System.Collections.Generic; + using System.Threading; + using System.Threading.Tasks; + + /// + /// Extension methods for RestorableMongodbDatabasesOperations. + /// + public static partial class RestorableMongodbDatabasesOperationsExtensions + { + /// + /// Show the event feed of all mutations done on all the Azure Cosmos DB + /// MongoDB databases under the restorable account. This helps in scenario + /// where database was accidentally deleted to get the deletion time. This API + /// requires + /// 'Microsoft.DocumentDB/locations/restorableDatabaseAccounts/.../read' + /// permission + /// + /// + /// The operations group for this extension method. + /// + /// + /// Cosmos DB region, with spaces between words and each word capitalized. + /// + /// + /// The instanceId GUID of a restorable database account. + /// + public static IEnumerable List(this IRestorableMongodbDatabasesOperations operations, string location, string instanceId) + { + return operations.ListAsync(location, instanceId).GetAwaiter().GetResult(); + } + + /// + /// Show the event feed of all mutations done on all the Azure Cosmos DB + /// MongoDB databases under the restorable account. This helps in scenario + /// where database was accidentally deleted to get the deletion time. This API + /// requires + /// 'Microsoft.DocumentDB/locations/restorableDatabaseAccounts/.../read' + /// permission + /// + /// + /// The operations group for this extension method. + /// + /// + /// Cosmos DB region, with spaces between words and each word capitalized. + /// + /// + /// The instanceId GUID of a restorable database account. + /// + /// + /// The cancellation token. + /// + public static async Task> ListAsync(this IRestorableMongodbDatabasesOperations operations, string location, string instanceId, CancellationToken cancellationToken = default(CancellationToken)) + { + using (var _result = await operations.ListWithHttpMessagesAsync(location, instanceId, null, cancellationToken).ConfigureAwait(false)) + { + return _result.Body; + } + } + + } +} diff --git a/sdk/cosmosdb/Microsoft.Azure.Management.CosmosDB/src/Generated/RestorableMongodbResourcesOperations.cs b/sdk/cosmosdb/Microsoft.Azure.Management.CosmosDB/src/Generated/RestorableMongodbResourcesOperations.cs new file mode 100644 index 000000000000..2ee2f8209e4f --- /dev/null +++ b/sdk/cosmosdb/Microsoft.Azure.Management.CosmosDB/src/Generated/RestorableMongodbResourcesOperations.cs @@ -0,0 +1,284 @@ +// +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See License.txt in the project root for +// license information. +// +// Code generated by Microsoft (R) AutoRest Code Generator. +// Changes may cause incorrect behavior and will be lost if the code is +// regenerated. +// + +namespace Microsoft.Azure.Management.CosmosDB +{ + using Microsoft.Rest; + using Microsoft.Rest.Azure; + using Models; + using Newtonsoft.Json; + using System.Collections; + using System.Collections.Generic; + using System.Linq; + using System.Net; + using System.Net.Http; + using System.Threading; + using System.Threading.Tasks; + + /// + /// RestorableMongodbResourcesOperations operations. + /// + internal partial class RestorableMongodbResourcesOperations : IServiceOperations, IRestorableMongodbResourcesOperations + { + /// + /// Initializes a new instance of the RestorableMongodbResourcesOperations class. + /// + /// + /// Reference to the service client. + /// + /// + /// Thrown when a required parameter is null + /// + internal RestorableMongodbResourcesOperations(CosmosDBManagementClient client) + { + if (client == null) + { + throw new System.ArgumentNullException("client"); + } + Client = client; + } + + /// + /// Gets a reference to the CosmosDBManagementClient + /// + public CosmosDBManagementClient Client { get; private set; } + + /// + /// Return a list of database and collection combo that exist on the account at + /// the given timestamp and location. This helps in scenarios to validate what + /// resources exist at given timestamp and location. This API requires + /// 'Microsoft.DocumentDB/locations/restorableDatabaseAccounts/.../read' + /// permission. + /// + /// + /// Cosmos DB region, with spaces between words and each word capitalized. + /// + /// + /// The instanceId GUID of a restorable database account. + /// + /// + /// The location where the restorable resources are located. + /// + /// + /// The timestamp when the restorable resources existed. + /// + /// + /// Headers that will be added to request. + /// + /// + /// The cancellation token. + /// + /// + /// Thrown when the operation returned an invalid status code + /// + /// + /// Thrown when unable to deserialize the response + /// + /// + /// Thrown when a required parameter is null + /// + /// + /// Thrown when a required parameter is null + /// + /// + /// A response object containing the response body and response headers. + /// + public async Task>> ListWithHttpMessagesAsync(string location, string instanceId, string restoreLocation = default(string), string restoreTimestampInUtc = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + { + if (Client.ApiVersion == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.ApiVersion"); + } + if (Client.ApiVersion != null) + { + if (Client.ApiVersion.Length < 1) + { + throw new ValidationException(ValidationRules.MinLength, "Client.ApiVersion", 1); + } + } + if (Client.SubscriptionId == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId"); + } + if (Client.SubscriptionId != null) + { + if (Client.SubscriptionId.Length < 1) + { + throw new ValidationException(ValidationRules.MinLength, "Client.SubscriptionId", 1); + } + } + if (location == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "location"); + } + if (instanceId == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "instanceId"); + } + // Tracing + bool _shouldTrace = ServiceClientTracing.IsEnabled; + string _invocationId = null; + if (_shouldTrace) + { + _invocationId = ServiceClientTracing.NextInvocationId.ToString(); + Dictionary tracingParameters = new Dictionary(); + tracingParameters.Add("location", location); + tracingParameters.Add("instanceId", instanceId); + tracingParameters.Add("restoreLocation", restoreLocation); + tracingParameters.Add("restoreTimestampInUtc", restoreTimestampInUtc); + tracingParameters.Add("cancellationToken", cancellationToken); + ServiceClientTracing.Enter(_invocationId, this, "List", tracingParameters); + } + // Construct URL + var _baseUrl = Client.BaseUri.AbsoluteUri; + var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "subscriptions/{subscriptionId}/providers/Microsoft.DocumentDB/locations/{location}/restorableDatabaseAccounts/{instanceId}/restorableMongodbResources").ToString(); + _url = _url.Replace("{subscriptionId}", System.Uri.EscapeDataString(Client.SubscriptionId)); + _url = _url.Replace("{location}", System.Uri.EscapeDataString(location)); + _url = _url.Replace("{instanceId}", System.Uri.EscapeDataString(instanceId)); + List _queryParameters = new List(); + if (Client.ApiVersion != null) + { + _queryParameters.Add(string.Format("api-version={0}", System.Uri.EscapeDataString(Client.ApiVersion))); + } + if (restoreLocation != null) + { + _queryParameters.Add(string.Format("restoreLocation={0}", System.Uri.EscapeDataString(restoreLocation))); + } + if (restoreTimestampInUtc != null) + { + _queryParameters.Add(string.Format("restoreTimestampInUtc={0}", System.Uri.EscapeDataString(restoreTimestampInUtc))); + } + if (_queryParameters.Count > 0) + { + _url += (_url.Contains("?") ? "&" : "?") + string.Join("&", _queryParameters); + } + // Create HTTP transport objects + var _httpRequest = new HttpRequestMessage(); + HttpResponseMessage _httpResponse = null; + _httpRequest.Method = new HttpMethod("GET"); + _httpRequest.RequestUri = new System.Uri(_url); + // Set Headers + if (Client.GenerateClientRequestId != null && Client.GenerateClientRequestId.Value) + { + _httpRequest.Headers.TryAddWithoutValidation("x-ms-client-request-id", System.Guid.NewGuid().ToString()); + } + if (Client.AcceptLanguage != null) + { + if (_httpRequest.Headers.Contains("accept-language")) + { + _httpRequest.Headers.Remove("accept-language"); + } + _httpRequest.Headers.TryAddWithoutValidation("accept-language", Client.AcceptLanguage); + } + + + if (customHeaders != null) + { + foreach(var _header in customHeaders) + { + if (_httpRequest.Headers.Contains(_header.Key)) + { + _httpRequest.Headers.Remove(_header.Key); + } + _httpRequest.Headers.TryAddWithoutValidation(_header.Key, _header.Value); + } + } + + // Serialize Request + string _requestContent = null; + // Set Credentials + if (Client.Credentials != null) + { + cancellationToken.ThrowIfCancellationRequested(); + await Client.Credentials.ProcessHttpRequestAsync(_httpRequest, cancellationToken).ConfigureAwait(false); + } + // Send Request + if (_shouldTrace) + { + ServiceClientTracing.SendRequest(_invocationId, _httpRequest); + } + cancellationToken.ThrowIfCancellationRequested(); + _httpResponse = await Client.HttpClient.SendAsync(_httpRequest, cancellationToken).ConfigureAwait(false); + if (_shouldTrace) + { + ServiceClientTracing.ReceiveResponse(_invocationId, _httpResponse); + } + HttpStatusCode _statusCode = _httpResponse.StatusCode; + cancellationToken.ThrowIfCancellationRequested(); + string _responseContent = null; + if ((int)_statusCode != 200) + { + var ex = new CloudException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); + try + { + _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); + CloudError _errorBody = Rest.Serialization.SafeJsonConvert.DeserializeObject(_responseContent, Client.DeserializationSettings); + if (_errorBody != null) + { + ex = new CloudException(_errorBody.Message); + ex.Body = _errorBody; + } + } + catch (JsonException) + { + // Ignore the exception + } + ex.Request = new HttpRequestMessageWrapper(_httpRequest, _requestContent); + ex.Response = new HttpResponseMessageWrapper(_httpResponse, _responseContent); + if (_httpResponse.Headers.Contains("x-ms-request-id")) + { + ex.RequestId = _httpResponse.Headers.GetValues("x-ms-request-id").FirstOrDefault(); + } + if (_shouldTrace) + { + ServiceClientTracing.Error(_invocationId, ex); + } + _httpRequest.Dispose(); + if (_httpResponse != null) + { + _httpResponse.Dispose(); + } + throw ex; + } + // Create Result + var _result = new AzureOperationResponse>(); + _result.Request = _httpRequest; + _result.Response = _httpResponse; + if (_httpResponse.Headers.Contains("x-ms-request-id")) + { + _result.RequestId = _httpResponse.Headers.GetValues("x-ms-request-id").FirstOrDefault(); + } + // Deserialize Response + if ((int)_statusCode == 200) + { + _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); + try + { + _result.Body = Rest.Serialization.SafeJsonConvert.DeserializeObject>(_responseContent, Client.DeserializationSettings); + } + catch (JsonException ex) + { + _httpRequest.Dispose(); + if (_httpResponse != null) + { + _httpResponse.Dispose(); + } + throw new SerializationException("Unable to deserialize the response.", _responseContent, ex); + } + } + if (_shouldTrace) + { + ServiceClientTracing.Exit(_invocationId, _result); + } + return _result; + } + + } +} diff --git a/sdk/cosmosdb/Microsoft.Azure.Management.CosmosDB/src/Generated/RestorableMongodbResourcesOperationsExtensions.cs b/sdk/cosmosdb/Microsoft.Azure.Management.CosmosDB/src/Generated/RestorableMongodbResourcesOperationsExtensions.cs new file mode 100644 index 000000000000..52725d0a663c --- /dev/null +++ b/sdk/cosmosdb/Microsoft.Azure.Management.CosmosDB/src/Generated/RestorableMongodbResourcesOperationsExtensions.cs @@ -0,0 +1,87 @@ +// +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See License.txt in the project root for +// license information. +// +// Code generated by Microsoft (R) AutoRest Code Generator. +// Changes may cause incorrect behavior and will be lost if the code is +// regenerated. +// + +namespace Microsoft.Azure.Management.CosmosDB +{ + using Microsoft.Rest; + using Microsoft.Rest.Azure; + using Models; + using System.Collections; + using System.Collections.Generic; + using System.Threading; + using System.Threading.Tasks; + + /// + /// Extension methods for RestorableMongodbResourcesOperations. + /// + public static partial class RestorableMongodbResourcesOperationsExtensions + { + /// + /// Return a list of database and collection combo that exist on the account at + /// the given timestamp and location. This helps in scenarios to validate what + /// resources exist at given timestamp and location. This API requires + /// 'Microsoft.DocumentDB/locations/restorableDatabaseAccounts/.../read' + /// permission. + /// + /// + /// The operations group for this extension method. + /// + /// + /// Cosmos DB region, with spaces between words and each word capitalized. + /// + /// + /// The instanceId GUID of a restorable database account. + /// + /// + /// The location where the restorable resources are located. + /// + /// + /// The timestamp when the restorable resources existed. + /// + public static IEnumerable List(this IRestorableMongodbResourcesOperations operations, string location, string instanceId, string restoreLocation = default(string), string restoreTimestampInUtc = default(string)) + { + return operations.ListAsync(location, instanceId, restoreLocation, restoreTimestampInUtc).GetAwaiter().GetResult(); + } + + /// + /// Return a list of database and collection combo that exist on the account at + /// the given timestamp and location. This helps in scenarios to validate what + /// resources exist at given timestamp and location. This API requires + /// 'Microsoft.DocumentDB/locations/restorableDatabaseAccounts/.../read' + /// permission. + /// + /// + /// The operations group for this extension method. + /// + /// + /// Cosmos DB region, with spaces between words and each word capitalized. + /// + /// + /// The instanceId GUID of a restorable database account. + /// + /// + /// The location where the restorable resources are located. + /// + /// + /// The timestamp when the restorable resources existed. + /// + /// + /// The cancellation token. + /// + public static async Task> ListAsync(this IRestorableMongodbResourcesOperations operations, string location, string instanceId, string restoreLocation = default(string), string restoreTimestampInUtc = default(string), CancellationToken cancellationToken = default(CancellationToken)) + { + using (var _result = await operations.ListWithHttpMessagesAsync(location, instanceId, restoreLocation, restoreTimestampInUtc, null, cancellationToken).ConfigureAwait(false)) + { + return _result.Body; + } + } + + } +} diff --git a/sdk/cosmosdb/Microsoft.Azure.Management.CosmosDB/src/Generated/RestorableSqlContainersOperations.cs b/sdk/cosmosdb/Microsoft.Azure.Management.CosmosDB/src/Generated/RestorableSqlContainersOperations.cs new file mode 100644 index 000000000000..67279345471b --- /dev/null +++ b/sdk/cosmosdb/Microsoft.Azure.Management.CosmosDB/src/Generated/RestorableSqlContainersOperations.cs @@ -0,0 +1,292 @@ +// +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See License.txt in the project root for +// license information. +// +// Code generated by Microsoft (R) AutoRest Code Generator. +// Changes may cause incorrect behavior and will be lost if the code is +// regenerated. +// + +namespace Microsoft.Azure.Management.CosmosDB +{ + using Microsoft.Rest; + using Microsoft.Rest.Azure; + using Models; + using Newtonsoft.Json; + using System.Collections; + using System.Collections.Generic; + using System.Linq; + using System.Net; + using System.Net.Http; + using System.Threading; + using System.Threading.Tasks; + + /// + /// RestorableSqlContainersOperations operations. + /// + internal partial class RestorableSqlContainersOperations : IServiceOperations, IRestorableSqlContainersOperations + { + /// + /// Initializes a new instance of the RestorableSqlContainersOperations class. + /// + /// + /// Reference to the service client. + /// + /// + /// Thrown when a required parameter is null + /// + internal RestorableSqlContainersOperations(CosmosDBManagementClient client) + { + if (client == null) + { + throw new System.ArgumentNullException("client"); + } + Client = client; + } + + /// + /// Gets a reference to the CosmosDBManagementClient + /// + public CosmosDBManagementClient Client { get; private set; } + + /// + /// Show the event feed of all mutations done on all the Azure Cosmos DB SQL + /// containers under a specific database. This helps in scenario where + /// container was accidentally deleted. This API requires + /// 'Microsoft.DocumentDB/locations/restorableDatabaseAccounts/.../read' + /// permission + /// + /// + /// Cosmos DB region, with spaces between words and each word capitalized. + /// + /// + /// The instanceId GUID of a restorable database account. + /// + /// + /// The resource ID of the SQL database. + /// + /// + /// The snapshot create timestamp after which snapshots need to be listed. + /// + /// + /// The snapshot create timestamp before which snapshots need to be listed. + /// + /// + /// Headers that will be added to request. + /// + /// + /// The cancellation token. + /// + /// + /// Thrown when the operation returned an invalid status code + /// + /// + /// Thrown when unable to deserialize the response + /// + /// + /// Thrown when a required parameter is null + /// + /// + /// Thrown when a required parameter is null + /// + /// + /// A response object containing the response body and response headers. + /// + public async Task>> ListWithHttpMessagesAsync(string location, string instanceId, string restorableSqlDatabaseRid = default(string), string startTime = default(string), string endTime = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + { + if (Client.ApiVersion == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.ApiVersion"); + } + if (Client.ApiVersion != null) + { + if (Client.ApiVersion.Length < 1) + { + throw new ValidationException(ValidationRules.MinLength, "Client.ApiVersion", 1); + } + } + if (Client.SubscriptionId == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId"); + } + if (Client.SubscriptionId != null) + { + if (Client.SubscriptionId.Length < 1) + { + throw new ValidationException(ValidationRules.MinLength, "Client.SubscriptionId", 1); + } + } + if (location == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "location"); + } + if (instanceId == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "instanceId"); + } + // Tracing + bool _shouldTrace = ServiceClientTracing.IsEnabled; + string _invocationId = null; + if (_shouldTrace) + { + _invocationId = ServiceClientTracing.NextInvocationId.ToString(); + Dictionary tracingParameters = new Dictionary(); + tracingParameters.Add("location", location); + tracingParameters.Add("instanceId", instanceId); + tracingParameters.Add("restorableSqlDatabaseRid", restorableSqlDatabaseRid); + tracingParameters.Add("startTime", startTime); + tracingParameters.Add("endTime", endTime); + tracingParameters.Add("cancellationToken", cancellationToken); + ServiceClientTracing.Enter(_invocationId, this, "List", tracingParameters); + } + // Construct URL + var _baseUrl = Client.BaseUri.AbsoluteUri; + var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "subscriptions/{subscriptionId}/providers/Microsoft.DocumentDB/locations/{location}/restorableDatabaseAccounts/{instanceId}/restorableSqlContainers").ToString(); + _url = _url.Replace("{subscriptionId}", System.Uri.EscapeDataString(Client.SubscriptionId)); + _url = _url.Replace("{location}", System.Uri.EscapeDataString(location)); + _url = _url.Replace("{instanceId}", System.Uri.EscapeDataString(instanceId)); + List _queryParameters = new List(); + if (Client.ApiVersion != null) + { + _queryParameters.Add(string.Format("api-version={0}", System.Uri.EscapeDataString(Client.ApiVersion))); + } + if (restorableSqlDatabaseRid != null) + { + _queryParameters.Add(string.Format("restorableSqlDatabaseRid={0}", System.Uri.EscapeDataString(restorableSqlDatabaseRid))); + } + if (startTime != null) + { + _queryParameters.Add(string.Format("startTime={0}", System.Uri.EscapeDataString(startTime))); + } + if (endTime != null) + { + _queryParameters.Add(string.Format("endTime={0}", System.Uri.EscapeDataString(endTime))); + } + if (_queryParameters.Count > 0) + { + _url += (_url.Contains("?") ? "&" : "?") + string.Join("&", _queryParameters); + } + // Create HTTP transport objects + var _httpRequest = new HttpRequestMessage(); + HttpResponseMessage _httpResponse = null; + _httpRequest.Method = new HttpMethod("GET"); + _httpRequest.RequestUri = new System.Uri(_url); + // Set Headers + if (Client.GenerateClientRequestId != null && Client.GenerateClientRequestId.Value) + { + _httpRequest.Headers.TryAddWithoutValidation("x-ms-client-request-id", System.Guid.NewGuid().ToString()); + } + if (Client.AcceptLanguage != null) + { + if (_httpRequest.Headers.Contains("accept-language")) + { + _httpRequest.Headers.Remove("accept-language"); + } + _httpRequest.Headers.TryAddWithoutValidation("accept-language", Client.AcceptLanguage); + } + + + if (customHeaders != null) + { + foreach(var _header in customHeaders) + { + if (_httpRequest.Headers.Contains(_header.Key)) + { + _httpRequest.Headers.Remove(_header.Key); + } + _httpRequest.Headers.TryAddWithoutValidation(_header.Key, _header.Value); + } + } + + // Serialize Request + string _requestContent = null; + // Set Credentials + if (Client.Credentials != null) + { + cancellationToken.ThrowIfCancellationRequested(); + await Client.Credentials.ProcessHttpRequestAsync(_httpRequest, cancellationToken).ConfigureAwait(false); + } + // Send Request + if (_shouldTrace) + { + ServiceClientTracing.SendRequest(_invocationId, _httpRequest); + } + cancellationToken.ThrowIfCancellationRequested(); + _httpResponse = await Client.HttpClient.SendAsync(_httpRequest, cancellationToken).ConfigureAwait(false); + if (_shouldTrace) + { + ServiceClientTracing.ReceiveResponse(_invocationId, _httpResponse); + } + HttpStatusCode _statusCode = _httpResponse.StatusCode; + cancellationToken.ThrowIfCancellationRequested(); + string _responseContent = null; + if ((int)_statusCode != 200) + { + var ex = new CloudException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); + try + { + _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); + CloudError _errorBody = Rest.Serialization.SafeJsonConvert.DeserializeObject(_responseContent, Client.DeserializationSettings); + if (_errorBody != null) + { + ex = new CloudException(_errorBody.Message); + ex.Body = _errorBody; + } + } + catch (JsonException) + { + // Ignore the exception + } + ex.Request = new HttpRequestMessageWrapper(_httpRequest, _requestContent); + ex.Response = new HttpResponseMessageWrapper(_httpResponse, _responseContent); + if (_httpResponse.Headers.Contains("x-ms-request-id")) + { + ex.RequestId = _httpResponse.Headers.GetValues("x-ms-request-id").FirstOrDefault(); + } + if (_shouldTrace) + { + ServiceClientTracing.Error(_invocationId, ex); + } + _httpRequest.Dispose(); + if (_httpResponse != null) + { + _httpResponse.Dispose(); + } + throw ex; + } + // Create Result + var _result = new AzureOperationResponse>(); + _result.Request = _httpRequest; + _result.Response = _httpResponse; + if (_httpResponse.Headers.Contains("x-ms-request-id")) + { + _result.RequestId = _httpResponse.Headers.GetValues("x-ms-request-id").FirstOrDefault(); + } + // Deserialize Response + if ((int)_statusCode == 200) + { + _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); + try + { + _result.Body = Rest.Serialization.SafeJsonConvert.DeserializeObject>(_responseContent, Client.DeserializationSettings); + } + catch (JsonException ex) + { + _httpRequest.Dispose(); + if (_httpResponse != null) + { + _httpResponse.Dispose(); + } + throw new SerializationException("Unable to deserialize the response.", _responseContent, ex); + } + } + if (_shouldTrace) + { + ServiceClientTracing.Exit(_invocationId, _result); + } + return _result; + } + + } +} diff --git a/sdk/cosmosdb/Microsoft.Azure.Management.CosmosDB/src/Generated/RestorableSqlContainersOperationsExtensions.cs b/sdk/cosmosdb/Microsoft.Azure.Management.CosmosDB/src/Generated/RestorableSqlContainersOperationsExtensions.cs new file mode 100644 index 000000000000..d0798f918273 --- /dev/null +++ b/sdk/cosmosdb/Microsoft.Azure.Management.CosmosDB/src/Generated/RestorableSqlContainersOperationsExtensions.cs @@ -0,0 +1,93 @@ +// +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See License.txt in the project root for +// license information. +// +// Code generated by Microsoft (R) AutoRest Code Generator. +// Changes may cause incorrect behavior and will be lost if the code is +// regenerated. +// + +namespace Microsoft.Azure.Management.CosmosDB +{ + using Microsoft.Rest; + using Microsoft.Rest.Azure; + using Models; + using System.Collections; + using System.Collections.Generic; + using System.Threading; + using System.Threading.Tasks; + + /// + /// Extension methods for RestorableSqlContainersOperations. + /// + public static partial class RestorableSqlContainersOperationsExtensions + { + /// + /// Show the event feed of all mutations done on all the Azure Cosmos DB SQL + /// containers under a specific database. This helps in scenario where + /// container was accidentally deleted. This API requires + /// 'Microsoft.DocumentDB/locations/restorableDatabaseAccounts/.../read' + /// permission + /// + /// + /// The operations group for this extension method. + /// + /// + /// Cosmos DB region, with spaces between words and each word capitalized. + /// + /// + /// The instanceId GUID of a restorable database account. + /// + /// + /// The resource ID of the SQL database. + /// + /// + /// The snapshot create timestamp after which snapshots need to be listed. + /// + /// + /// The snapshot create timestamp before which snapshots need to be listed. + /// + public static IEnumerable List(this IRestorableSqlContainersOperations operations, string location, string instanceId, string restorableSqlDatabaseRid = default(string), string startTime = default(string), string endTime = default(string)) + { + return operations.ListAsync(location, instanceId, restorableSqlDatabaseRid, startTime, endTime).GetAwaiter().GetResult(); + } + + /// + /// Show the event feed of all mutations done on all the Azure Cosmos DB SQL + /// containers under a specific database. This helps in scenario where + /// container was accidentally deleted. This API requires + /// 'Microsoft.DocumentDB/locations/restorableDatabaseAccounts/.../read' + /// permission + /// + /// + /// The operations group for this extension method. + /// + /// + /// Cosmos DB region, with spaces between words and each word capitalized. + /// + /// + /// The instanceId GUID of a restorable database account. + /// + /// + /// The resource ID of the SQL database. + /// + /// + /// The snapshot create timestamp after which snapshots need to be listed. + /// + /// + /// The snapshot create timestamp before which snapshots need to be listed. + /// + /// + /// The cancellation token. + /// + public static async Task> ListAsync(this IRestorableSqlContainersOperations operations, string location, string instanceId, string restorableSqlDatabaseRid = default(string), string startTime = default(string), string endTime = default(string), CancellationToken cancellationToken = default(CancellationToken)) + { + using (var _result = await operations.ListWithHttpMessagesAsync(location, instanceId, restorableSqlDatabaseRid, startTime, endTime, null, cancellationToken).ConfigureAwait(false)) + { + return _result.Body; + } + } + + } +} diff --git a/sdk/cosmosdb/Microsoft.Azure.Management.CosmosDB/src/Generated/RestorableSqlDatabasesOperations.cs b/sdk/cosmosdb/Microsoft.Azure.Management.CosmosDB/src/Generated/RestorableSqlDatabasesOperations.cs new file mode 100644 index 000000000000..db23ce64f1b8 --- /dev/null +++ b/sdk/cosmosdb/Microsoft.Azure.Management.CosmosDB/src/Generated/RestorableSqlDatabasesOperations.cs @@ -0,0 +1,269 @@ +// +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See License.txt in the project root for +// license information. +// +// Code generated by Microsoft (R) AutoRest Code Generator. +// Changes may cause incorrect behavior and will be lost if the code is +// regenerated. +// + +namespace Microsoft.Azure.Management.CosmosDB +{ + using Microsoft.Rest; + using Microsoft.Rest.Azure; + using Models; + using Newtonsoft.Json; + using System.Collections; + using System.Collections.Generic; + using System.Linq; + using System.Net; + using System.Net.Http; + using System.Threading; + using System.Threading.Tasks; + + /// + /// RestorableSqlDatabasesOperations operations. + /// + internal partial class RestorableSqlDatabasesOperations : IServiceOperations, IRestorableSqlDatabasesOperations + { + /// + /// Initializes a new instance of the RestorableSqlDatabasesOperations class. + /// + /// + /// Reference to the service client. + /// + /// + /// Thrown when a required parameter is null + /// + internal RestorableSqlDatabasesOperations(CosmosDBManagementClient client) + { + if (client == null) + { + throw new System.ArgumentNullException("client"); + } + Client = client; + } + + /// + /// Gets a reference to the CosmosDBManagementClient + /// + public CosmosDBManagementClient Client { get; private set; } + + /// + /// Show the event feed of all mutations done on all the Azure Cosmos DB SQL + /// databases under the restorable account. This helps in scenario where + /// database was accidentally deleted to get the deletion time. This API + /// requires + /// 'Microsoft.DocumentDB/locations/restorableDatabaseAccounts/.../read' + /// permission + /// + /// + /// Cosmos DB region, with spaces between words and each word capitalized. + /// + /// + /// The instanceId GUID of a restorable database account. + /// + /// + /// Headers that will be added to request. + /// + /// + /// The cancellation token. + /// + /// + /// Thrown when the operation returned an invalid status code + /// + /// + /// Thrown when unable to deserialize the response + /// + /// + /// Thrown when a required parameter is null + /// + /// + /// Thrown when a required parameter is null + /// + /// + /// A response object containing the response body and response headers. + /// + public async Task>> ListWithHttpMessagesAsync(string location, string instanceId, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + { + if (Client.ApiVersion == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.ApiVersion"); + } + if (Client.ApiVersion != null) + { + if (Client.ApiVersion.Length < 1) + { + throw new ValidationException(ValidationRules.MinLength, "Client.ApiVersion", 1); + } + } + if (Client.SubscriptionId == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId"); + } + if (Client.SubscriptionId != null) + { + if (Client.SubscriptionId.Length < 1) + { + throw new ValidationException(ValidationRules.MinLength, "Client.SubscriptionId", 1); + } + } + if (location == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "location"); + } + if (instanceId == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "instanceId"); + } + // Tracing + bool _shouldTrace = ServiceClientTracing.IsEnabled; + string _invocationId = null; + if (_shouldTrace) + { + _invocationId = ServiceClientTracing.NextInvocationId.ToString(); + Dictionary tracingParameters = new Dictionary(); + tracingParameters.Add("location", location); + tracingParameters.Add("instanceId", instanceId); + tracingParameters.Add("cancellationToken", cancellationToken); + ServiceClientTracing.Enter(_invocationId, this, "List", tracingParameters); + } + // Construct URL + var _baseUrl = Client.BaseUri.AbsoluteUri; + var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "subscriptions/{subscriptionId}/providers/Microsoft.DocumentDB/locations/{location}/restorableDatabaseAccounts/{instanceId}/restorableSqlDatabases").ToString(); + _url = _url.Replace("{subscriptionId}", System.Uri.EscapeDataString(Client.SubscriptionId)); + _url = _url.Replace("{location}", System.Uri.EscapeDataString(location)); + _url = _url.Replace("{instanceId}", System.Uri.EscapeDataString(instanceId)); + List _queryParameters = new List(); + if (Client.ApiVersion != null) + { + _queryParameters.Add(string.Format("api-version={0}", System.Uri.EscapeDataString(Client.ApiVersion))); + } + if (_queryParameters.Count > 0) + { + _url += (_url.Contains("?") ? "&" : "?") + string.Join("&", _queryParameters); + } + // Create HTTP transport objects + var _httpRequest = new HttpRequestMessage(); + HttpResponseMessage _httpResponse = null; + _httpRequest.Method = new HttpMethod("GET"); + _httpRequest.RequestUri = new System.Uri(_url); + // Set Headers + if (Client.GenerateClientRequestId != null && Client.GenerateClientRequestId.Value) + { + _httpRequest.Headers.TryAddWithoutValidation("x-ms-client-request-id", System.Guid.NewGuid().ToString()); + } + if (Client.AcceptLanguage != null) + { + if (_httpRequest.Headers.Contains("accept-language")) + { + _httpRequest.Headers.Remove("accept-language"); + } + _httpRequest.Headers.TryAddWithoutValidation("accept-language", Client.AcceptLanguage); + } + + + if (customHeaders != null) + { + foreach(var _header in customHeaders) + { + if (_httpRequest.Headers.Contains(_header.Key)) + { + _httpRequest.Headers.Remove(_header.Key); + } + _httpRequest.Headers.TryAddWithoutValidation(_header.Key, _header.Value); + } + } + + // Serialize Request + string _requestContent = null; + // Set Credentials + if (Client.Credentials != null) + { + cancellationToken.ThrowIfCancellationRequested(); + await Client.Credentials.ProcessHttpRequestAsync(_httpRequest, cancellationToken).ConfigureAwait(false); + } + // Send Request + if (_shouldTrace) + { + ServiceClientTracing.SendRequest(_invocationId, _httpRequest); + } + cancellationToken.ThrowIfCancellationRequested(); + _httpResponse = await Client.HttpClient.SendAsync(_httpRequest, cancellationToken).ConfigureAwait(false); + if (_shouldTrace) + { + ServiceClientTracing.ReceiveResponse(_invocationId, _httpResponse); + } + HttpStatusCode _statusCode = _httpResponse.StatusCode; + cancellationToken.ThrowIfCancellationRequested(); + string _responseContent = null; + if ((int)_statusCode != 200) + { + var ex = new CloudException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); + try + { + _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); + CloudError _errorBody = Rest.Serialization.SafeJsonConvert.DeserializeObject(_responseContent, Client.DeserializationSettings); + if (_errorBody != null) + { + ex = new CloudException(_errorBody.Message); + ex.Body = _errorBody; + } + } + catch (JsonException) + { + // Ignore the exception + } + ex.Request = new HttpRequestMessageWrapper(_httpRequest, _requestContent); + ex.Response = new HttpResponseMessageWrapper(_httpResponse, _responseContent); + if (_httpResponse.Headers.Contains("x-ms-request-id")) + { + ex.RequestId = _httpResponse.Headers.GetValues("x-ms-request-id").FirstOrDefault(); + } + if (_shouldTrace) + { + ServiceClientTracing.Error(_invocationId, ex); + } + _httpRequest.Dispose(); + if (_httpResponse != null) + { + _httpResponse.Dispose(); + } + throw ex; + } + // Create Result + var _result = new AzureOperationResponse>(); + _result.Request = _httpRequest; + _result.Response = _httpResponse; + if (_httpResponse.Headers.Contains("x-ms-request-id")) + { + _result.RequestId = _httpResponse.Headers.GetValues("x-ms-request-id").FirstOrDefault(); + } + // Deserialize Response + if ((int)_statusCode == 200) + { + _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); + try + { + _result.Body = Rest.Serialization.SafeJsonConvert.DeserializeObject>(_responseContent, Client.DeserializationSettings); + } + catch (JsonException ex) + { + _httpRequest.Dispose(); + if (_httpResponse != null) + { + _httpResponse.Dispose(); + } + throw new SerializationException("Unable to deserialize the response.", _responseContent, ex); + } + } + if (_shouldTrace) + { + ServiceClientTracing.Exit(_invocationId, _result); + } + return _result; + } + + } +} diff --git a/sdk/cosmosdb/Microsoft.Azure.Management.CosmosDB/src/Generated/RestorableSqlDatabasesOperationsExtensions.cs b/sdk/cosmosdb/Microsoft.Azure.Management.CosmosDB/src/Generated/RestorableSqlDatabasesOperationsExtensions.cs new file mode 100644 index 000000000000..1466ae87bed7 --- /dev/null +++ b/sdk/cosmosdb/Microsoft.Azure.Management.CosmosDB/src/Generated/RestorableSqlDatabasesOperationsExtensions.cs @@ -0,0 +1,77 @@ +// +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See License.txt in the project root for +// license information. +// +// Code generated by Microsoft (R) AutoRest Code Generator. +// Changes may cause incorrect behavior and will be lost if the code is +// regenerated. +// + +namespace Microsoft.Azure.Management.CosmosDB +{ + using Microsoft.Rest; + using Microsoft.Rest.Azure; + using Models; + using System.Collections; + using System.Collections.Generic; + using System.Threading; + using System.Threading.Tasks; + + /// + /// Extension methods for RestorableSqlDatabasesOperations. + /// + public static partial class RestorableSqlDatabasesOperationsExtensions + { + /// + /// Show the event feed of all mutations done on all the Azure Cosmos DB SQL + /// databases under the restorable account. This helps in scenario where + /// database was accidentally deleted to get the deletion time. This API + /// requires + /// 'Microsoft.DocumentDB/locations/restorableDatabaseAccounts/.../read' + /// permission + /// + /// + /// The operations group for this extension method. + /// + /// + /// Cosmos DB region, with spaces between words and each word capitalized. + /// + /// + /// The instanceId GUID of a restorable database account. + /// + public static IEnumerable List(this IRestorableSqlDatabasesOperations operations, string location, string instanceId) + { + return operations.ListAsync(location, instanceId).GetAwaiter().GetResult(); + } + + /// + /// Show the event feed of all mutations done on all the Azure Cosmos DB SQL + /// databases under the restorable account. This helps in scenario where + /// database was accidentally deleted to get the deletion time. This API + /// requires + /// 'Microsoft.DocumentDB/locations/restorableDatabaseAccounts/.../read' + /// permission + /// + /// + /// The operations group for this extension method. + /// + /// + /// Cosmos DB region, with spaces between words and each word capitalized. + /// + /// + /// The instanceId GUID of a restorable database account. + /// + /// + /// The cancellation token. + /// + public static async Task> ListAsync(this IRestorableSqlDatabasesOperations operations, string location, string instanceId, CancellationToken cancellationToken = default(CancellationToken)) + { + using (var _result = await operations.ListWithHttpMessagesAsync(location, instanceId, null, cancellationToken).ConfigureAwait(false)) + { + return _result.Body; + } + } + + } +} diff --git a/sdk/cosmosdb/Microsoft.Azure.Management.CosmosDB/src/Generated/RestorableSqlResourcesOperations.cs b/sdk/cosmosdb/Microsoft.Azure.Management.CosmosDB/src/Generated/RestorableSqlResourcesOperations.cs new file mode 100644 index 000000000000..e59fb7d25429 --- /dev/null +++ b/sdk/cosmosdb/Microsoft.Azure.Management.CosmosDB/src/Generated/RestorableSqlResourcesOperations.cs @@ -0,0 +1,284 @@ +// +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See License.txt in the project root for +// license information. +// +// Code generated by Microsoft (R) AutoRest Code Generator. +// Changes may cause incorrect behavior and will be lost if the code is +// regenerated. +// + +namespace Microsoft.Azure.Management.CosmosDB +{ + using Microsoft.Rest; + using Microsoft.Rest.Azure; + using Models; + using Newtonsoft.Json; + using System.Collections; + using System.Collections.Generic; + using System.Linq; + using System.Net; + using System.Net.Http; + using System.Threading; + using System.Threading.Tasks; + + /// + /// RestorableSqlResourcesOperations operations. + /// + internal partial class RestorableSqlResourcesOperations : IServiceOperations, IRestorableSqlResourcesOperations + { + /// + /// Initializes a new instance of the RestorableSqlResourcesOperations class. + /// + /// + /// Reference to the service client. + /// + /// + /// Thrown when a required parameter is null + /// + internal RestorableSqlResourcesOperations(CosmosDBManagementClient client) + { + if (client == null) + { + throw new System.ArgumentNullException("client"); + } + Client = client; + } + + /// + /// Gets a reference to the CosmosDBManagementClient + /// + public CosmosDBManagementClient Client { get; private set; } + + /// + /// Return a list of database and container combo that exist on the account at + /// the given timestamp and location. This helps in scenarios to validate what + /// resources exist at given timestamp and location. This API requires + /// 'Microsoft.DocumentDB/locations/restorableDatabaseAccounts/.../read' + /// permission. + /// + /// + /// Cosmos DB region, with spaces between words and each word capitalized. + /// + /// + /// The instanceId GUID of a restorable database account. + /// + /// + /// The location where the restorable resources are located. + /// + /// + /// The timestamp when the restorable resources existed. + /// + /// + /// Headers that will be added to request. + /// + /// + /// The cancellation token. + /// + /// + /// Thrown when the operation returned an invalid status code + /// + /// + /// Thrown when unable to deserialize the response + /// + /// + /// Thrown when a required parameter is null + /// + /// + /// Thrown when a required parameter is null + /// + /// + /// A response object containing the response body and response headers. + /// + public async Task>> ListWithHttpMessagesAsync(string location, string instanceId, string restoreLocation = default(string), string restoreTimestampInUtc = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + { + if (Client.ApiVersion == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.ApiVersion"); + } + if (Client.ApiVersion != null) + { + if (Client.ApiVersion.Length < 1) + { + throw new ValidationException(ValidationRules.MinLength, "Client.ApiVersion", 1); + } + } + if (Client.SubscriptionId == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId"); + } + if (Client.SubscriptionId != null) + { + if (Client.SubscriptionId.Length < 1) + { + throw new ValidationException(ValidationRules.MinLength, "Client.SubscriptionId", 1); + } + } + if (location == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "location"); + } + if (instanceId == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "instanceId"); + } + // Tracing + bool _shouldTrace = ServiceClientTracing.IsEnabled; + string _invocationId = null; + if (_shouldTrace) + { + _invocationId = ServiceClientTracing.NextInvocationId.ToString(); + Dictionary tracingParameters = new Dictionary(); + tracingParameters.Add("location", location); + tracingParameters.Add("instanceId", instanceId); + tracingParameters.Add("restoreLocation", restoreLocation); + tracingParameters.Add("restoreTimestampInUtc", restoreTimestampInUtc); + tracingParameters.Add("cancellationToken", cancellationToken); + ServiceClientTracing.Enter(_invocationId, this, "List", tracingParameters); + } + // Construct URL + var _baseUrl = Client.BaseUri.AbsoluteUri; + var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "subscriptions/{subscriptionId}/providers/Microsoft.DocumentDB/locations/{location}/restorableDatabaseAccounts/{instanceId}/restorableSqlResources").ToString(); + _url = _url.Replace("{subscriptionId}", System.Uri.EscapeDataString(Client.SubscriptionId)); + _url = _url.Replace("{location}", System.Uri.EscapeDataString(location)); + _url = _url.Replace("{instanceId}", System.Uri.EscapeDataString(instanceId)); + List _queryParameters = new List(); + if (Client.ApiVersion != null) + { + _queryParameters.Add(string.Format("api-version={0}", System.Uri.EscapeDataString(Client.ApiVersion))); + } + if (restoreLocation != null) + { + _queryParameters.Add(string.Format("restoreLocation={0}", System.Uri.EscapeDataString(restoreLocation))); + } + if (restoreTimestampInUtc != null) + { + _queryParameters.Add(string.Format("restoreTimestampInUtc={0}", System.Uri.EscapeDataString(restoreTimestampInUtc))); + } + if (_queryParameters.Count > 0) + { + _url += (_url.Contains("?") ? "&" : "?") + string.Join("&", _queryParameters); + } + // Create HTTP transport objects + var _httpRequest = new HttpRequestMessage(); + HttpResponseMessage _httpResponse = null; + _httpRequest.Method = new HttpMethod("GET"); + _httpRequest.RequestUri = new System.Uri(_url); + // Set Headers + if (Client.GenerateClientRequestId != null && Client.GenerateClientRequestId.Value) + { + _httpRequest.Headers.TryAddWithoutValidation("x-ms-client-request-id", System.Guid.NewGuid().ToString()); + } + if (Client.AcceptLanguage != null) + { + if (_httpRequest.Headers.Contains("accept-language")) + { + _httpRequest.Headers.Remove("accept-language"); + } + _httpRequest.Headers.TryAddWithoutValidation("accept-language", Client.AcceptLanguage); + } + + + if (customHeaders != null) + { + foreach(var _header in customHeaders) + { + if (_httpRequest.Headers.Contains(_header.Key)) + { + _httpRequest.Headers.Remove(_header.Key); + } + _httpRequest.Headers.TryAddWithoutValidation(_header.Key, _header.Value); + } + } + + // Serialize Request + string _requestContent = null; + // Set Credentials + if (Client.Credentials != null) + { + cancellationToken.ThrowIfCancellationRequested(); + await Client.Credentials.ProcessHttpRequestAsync(_httpRequest, cancellationToken).ConfigureAwait(false); + } + // Send Request + if (_shouldTrace) + { + ServiceClientTracing.SendRequest(_invocationId, _httpRequest); + } + cancellationToken.ThrowIfCancellationRequested(); + _httpResponse = await Client.HttpClient.SendAsync(_httpRequest, cancellationToken).ConfigureAwait(false); + if (_shouldTrace) + { + ServiceClientTracing.ReceiveResponse(_invocationId, _httpResponse); + } + HttpStatusCode _statusCode = _httpResponse.StatusCode; + cancellationToken.ThrowIfCancellationRequested(); + string _responseContent = null; + if ((int)_statusCode != 200) + { + var ex = new CloudException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); + try + { + _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); + CloudError _errorBody = Rest.Serialization.SafeJsonConvert.DeserializeObject(_responseContent, Client.DeserializationSettings); + if (_errorBody != null) + { + ex = new CloudException(_errorBody.Message); + ex.Body = _errorBody; + } + } + catch (JsonException) + { + // Ignore the exception + } + ex.Request = new HttpRequestMessageWrapper(_httpRequest, _requestContent); + ex.Response = new HttpResponseMessageWrapper(_httpResponse, _responseContent); + if (_httpResponse.Headers.Contains("x-ms-request-id")) + { + ex.RequestId = _httpResponse.Headers.GetValues("x-ms-request-id").FirstOrDefault(); + } + if (_shouldTrace) + { + ServiceClientTracing.Error(_invocationId, ex); + } + _httpRequest.Dispose(); + if (_httpResponse != null) + { + _httpResponse.Dispose(); + } + throw ex; + } + // Create Result + var _result = new AzureOperationResponse>(); + _result.Request = _httpRequest; + _result.Response = _httpResponse; + if (_httpResponse.Headers.Contains("x-ms-request-id")) + { + _result.RequestId = _httpResponse.Headers.GetValues("x-ms-request-id").FirstOrDefault(); + } + // Deserialize Response + if ((int)_statusCode == 200) + { + _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); + try + { + _result.Body = Rest.Serialization.SafeJsonConvert.DeserializeObject>(_responseContent, Client.DeserializationSettings); + } + catch (JsonException ex) + { + _httpRequest.Dispose(); + if (_httpResponse != null) + { + _httpResponse.Dispose(); + } + throw new SerializationException("Unable to deserialize the response.", _responseContent, ex); + } + } + if (_shouldTrace) + { + ServiceClientTracing.Exit(_invocationId, _result); + } + return _result; + } + + } +} diff --git a/sdk/cosmosdb/Microsoft.Azure.Management.CosmosDB/src/Generated/RestorableSqlResourcesOperationsExtensions.cs b/sdk/cosmosdb/Microsoft.Azure.Management.CosmosDB/src/Generated/RestorableSqlResourcesOperationsExtensions.cs new file mode 100644 index 000000000000..367fe6bce803 --- /dev/null +++ b/sdk/cosmosdb/Microsoft.Azure.Management.CosmosDB/src/Generated/RestorableSqlResourcesOperationsExtensions.cs @@ -0,0 +1,87 @@ +// +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See License.txt in the project root for +// license information. +// +// Code generated by Microsoft (R) AutoRest Code Generator. +// Changes may cause incorrect behavior and will be lost if the code is +// regenerated. +// + +namespace Microsoft.Azure.Management.CosmosDB +{ + using Microsoft.Rest; + using Microsoft.Rest.Azure; + using Models; + using System.Collections; + using System.Collections.Generic; + using System.Threading; + using System.Threading.Tasks; + + /// + /// Extension methods for RestorableSqlResourcesOperations. + /// + public static partial class RestorableSqlResourcesOperationsExtensions + { + /// + /// Return a list of database and container combo that exist on the account at + /// the given timestamp and location. This helps in scenarios to validate what + /// resources exist at given timestamp and location. This API requires + /// 'Microsoft.DocumentDB/locations/restorableDatabaseAccounts/.../read' + /// permission. + /// + /// + /// The operations group for this extension method. + /// + /// + /// Cosmos DB region, with spaces between words and each word capitalized. + /// + /// + /// The instanceId GUID of a restorable database account. + /// + /// + /// The location where the restorable resources are located. + /// + /// + /// The timestamp when the restorable resources existed. + /// + public static IEnumerable List(this IRestorableSqlResourcesOperations operations, string location, string instanceId, string restoreLocation = default(string), string restoreTimestampInUtc = default(string)) + { + return operations.ListAsync(location, instanceId, restoreLocation, restoreTimestampInUtc).GetAwaiter().GetResult(); + } + + /// + /// Return a list of database and container combo that exist on the account at + /// the given timestamp and location. This helps in scenarios to validate what + /// resources exist at given timestamp and location. This API requires + /// 'Microsoft.DocumentDB/locations/restorableDatabaseAccounts/.../read' + /// permission. + /// + /// + /// The operations group for this extension method. + /// + /// + /// Cosmos DB region, with spaces between words and each word capitalized. + /// + /// + /// The instanceId GUID of a restorable database account. + /// + /// + /// The location where the restorable resources are located. + /// + /// + /// The timestamp when the restorable resources existed. + /// + /// + /// The cancellation token. + /// + public static async Task> ListAsync(this IRestorableSqlResourcesOperations operations, string location, string instanceId, string restoreLocation = default(string), string restoreTimestampInUtc = default(string), CancellationToken cancellationToken = default(CancellationToken)) + { + using (var _result = await operations.ListWithHttpMessagesAsync(location, instanceId, restoreLocation, restoreTimestampInUtc, null, cancellationToken).ConfigureAwait(false)) + { + return _result.Body; + } + } + + } +} diff --git a/sdk/cosmosdb/Microsoft.Azure.Management.CosmosDB/src/Generated/SdkInfo_CosmosDBManagementClient.cs b/sdk/cosmosdb/Microsoft.Azure.Management.CosmosDB/src/Generated/SdkInfo_CosmosDBManagementClient.cs index dbd05d2ed84a..9b41da805a54 100644 --- a/sdk/cosmosdb/Microsoft.Azure.Management.CosmosDB/src/Generated/SdkInfo_CosmosDBManagementClient.cs +++ b/sdk/cosmosdb/Microsoft.Azure.Management.CosmosDB/src/Generated/SdkInfo_CosmosDBManagementClient.cs @@ -19,37 +19,44 @@ public static IEnumerable> ApiInfo_CosmosDBManagem { return new Tuple[] { - new Tuple("DocumentDB", "CassandraResources", "2021-04-15"), - new Tuple("DocumentDB", "Collection", "2021-04-15"), - new Tuple("DocumentDB", "CollectionPartition", "2021-04-15"), - new Tuple("DocumentDB", "CollectionPartitionRegion", "2021-04-15"), - new Tuple("DocumentDB", "CollectionRegion", "2021-04-15"), - new Tuple("DocumentDB", "Database", "2021-04-15"), - new Tuple("DocumentDB", "DatabaseAccountRegion", "2021-04-15"), - new Tuple("DocumentDB", "DatabaseAccounts", "2021-04-15"), - new Tuple("DocumentDB", "GremlinResources", "2021-04-15"), - new Tuple("DocumentDB", "MongoDBResources", "2021-04-15"), - new Tuple("DocumentDB", "NotebookWorkspaces", "2021-04-15"), - new Tuple("DocumentDB", "Operations", "2021-04-15"), - new Tuple("DocumentDB", "PartitionKeyRangeId", "2021-04-15"), - new Tuple("DocumentDB", "PartitionKeyRangeIdRegion", "2021-04-15"), - new Tuple("DocumentDB", "Percentile", "2021-04-15"), - new Tuple("DocumentDB", "PercentileSourceTarget", "2021-04-15"), - new Tuple("DocumentDB", "PercentileTarget", "2021-04-15"), - new Tuple("DocumentDB", "PrivateEndpointConnections", "2021-04-15"), - new Tuple("DocumentDB", "PrivateLinkResources", "2021-04-15"), - new Tuple("DocumentDB", "SqlResources", "2021-04-15"), - new Tuple("DocumentDB", "TableResources", "2021-04-15"), + new Tuple("DocumentDB", "CassandraResources", "2021-06-15"), + new Tuple("DocumentDB", "Collection", "2021-06-15"), + new Tuple("DocumentDB", "CollectionPartition", "2021-06-15"), + new Tuple("DocumentDB", "CollectionPartitionRegion", "2021-06-15"), + new Tuple("DocumentDB", "CollectionRegion", "2021-06-15"), + new Tuple("DocumentDB", "Database", "2021-06-15"), + new Tuple("DocumentDB", "DatabaseAccountRegion", "2021-06-15"), + new Tuple("DocumentDB", "DatabaseAccounts", "2021-06-15"), + new Tuple("DocumentDB", "GremlinResources", "2021-06-15"), + new Tuple("DocumentDB", "MongoDBResources", "2021-06-15"), + new Tuple("DocumentDB", "NotebookWorkspaces", "2021-06-15"), + new Tuple("DocumentDB", "Operations", "2021-06-15"), + new Tuple("DocumentDB", "PartitionKeyRangeId", "2021-06-15"), + new Tuple("DocumentDB", "PartitionKeyRangeIdRegion", "2021-06-15"), + new Tuple("DocumentDB", "Percentile", "2021-06-15"), + new Tuple("DocumentDB", "PercentileSourceTarget", "2021-06-15"), + new Tuple("DocumentDB", "PercentileTarget", "2021-06-15"), + new Tuple("DocumentDB", "PrivateEndpointConnections", "2021-06-15"), + new Tuple("DocumentDB", "PrivateLinkResources", "2021-06-15"), + new Tuple("DocumentDB", "RestorableDatabaseAccounts", "2021-06-15"), + new Tuple("DocumentDB", "RestorableMongodbCollections", "2021-06-15"), + new Tuple("DocumentDB", "RestorableMongodbDatabases", "2021-06-15"), + new Tuple("DocumentDB", "RestorableMongodbResources", "2021-06-15"), + new Tuple("DocumentDB", "RestorableSqlContainers", "2021-06-15"), + new Tuple("DocumentDB", "RestorableSqlDatabases", "2021-06-15"), + new Tuple("DocumentDB", "RestorableSqlResources", "2021-06-15"), + new Tuple("DocumentDB", "SqlResources", "2021-06-15"), + new Tuple("DocumentDB", "TableResources", "2021-06-15"), }.AsEnumerable(); } } // BEGIN: Code Generation Metadata Section public static readonly String AutoRestVersion = "v2"; - public static readonly String AutoRestBootStrapperVersion = "autorest@3.1.4"; - public static readonly String AutoRestCmdExecuted = "cmd.exe /c autorest.cmd https://github.com/Azure/azure-rest-api-specs/blob/master/specification/cosmos-db/resource-manager/readme.md --csharp --version=v2 --reflect-api-versions --csharp-sdks-folder=D:\\azure-sdk-for-net\\sdk"; + public static readonly String AutoRestBootStrapperVersion = "autorest@2.0.4413"; + public static readonly String AutoRestCmdExecuted = "cmd.exe /c autorest.cmd https://github.com/Azure/azure-rest-api-specs/blob/master/specification/cosmos-db/resource-manager/readme.md --csharp --version=v2 --reflect-api-versions --csharp-sdks-folder=E:\\azure-sdk-for-net\\sdk"; public static readonly String GithubForkName = "Azure"; public static readonly String GithubBranchName = "master"; - public static readonly String GithubCommidId = "c1f66424b3b3636ec4cdb6c911dc75ca9abbe146"; + public static readonly String GithubCommidId = "b392b4e5d04c73acde2c02ed034247ac55b8892f"; public static readonly String CodeGenerationErrors = ""; public static readonly String GithubRepoName = "azure-rest-api-specs"; // END: Code Generation Metadata Section diff --git a/sdk/cosmosdb/Microsoft.Azure.Management.CosmosDB/src/Generated/SqlResourcesOperations.cs b/sdk/cosmosdb/Microsoft.Azure.Management.CosmosDB/src/Generated/SqlResourcesOperations.cs index b54bc2524efb..6e3f933018e9 100644 --- a/sdk/cosmosdb/Microsoft.Azure.Management.CosmosDB/src/Generated/SqlResourcesOperations.cs +++ b/sdk/cosmosdb/Microsoft.Azure.Management.CosmosDB/src/Generated/SqlResourcesOperations.cs @@ -107,10 +107,6 @@ internal SqlResourcesOperations(CosmosDBManagementClient client) { throw new ValidationException(ValidationRules.MinLength, "resourceGroupName", 1); } - if (!System.Text.RegularExpressions.Regex.IsMatch(resourceGroupName, "^[-\\w\\._\\(\\)]+$")) - { - throw new ValidationException(ValidationRules.Pattern, "resourceGroupName", "^[-\\w\\._\\(\\)]+$"); - } } if (accountName == null) { @@ -351,10 +347,6 @@ internal SqlResourcesOperations(CosmosDBManagementClient client) { throw new ValidationException(ValidationRules.MinLength, "resourceGroupName", 1); } - if (!System.Text.RegularExpressions.Regex.IsMatch(resourceGroupName, "^[-\\w\\._\\(\\)]+$")) - { - throw new ValidationException(ValidationRules.Pattern, "resourceGroupName", "^[-\\w\\._\\(\\)]+$"); - } } if (accountName == null) { @@ -654,10 +646,6 @@ internal SqlResourcesOperations(CosmosDBManagementClient client) { throw new ValidationException(ValidationRules.MinLength, "resourceGroupName", 1); } - if (!System.Text.RegularExpressions.Regex.IsMatch(resourceGroupName, "^[-\\w\\._\\(\\)]+$")) - { - throw new ValidationException(ValidationRules.Pattern, "resourceGroupName", "^[-\\w\\._\\(\\)]+$"); - } } if (accountName == null) { @@ -982,10 +970,6 @@ internal SqlResourcesOperations(CosmosDBManagementClient client) { throw new ValidationException(ValidationRules.MinLength, "resourceGroupName", 1); } - if (!System.Text.RegularExpressions.Regex.IsMatch(resourceGroupName, "^[-\\w\\._\\(\\)]+$")) - { - throw new ValidationException(ValidationRules.Pattern, "resourceGroupName", "^[-\\w\\._\\(\\)]+$"); - } } if (accountName == null) { @@ -1234,10 +1218,6 @@ internal SqlResourcesOperations(CosmosDBManagementClient client) { throw new ValidationException(ValidationRules.MinLength, "resourceGroupName", 1); } - if (!System.Text.RegularExpressions.Regex.IsMatch(resourceGroupName, "^[-\\w\\._\\(\\)]+$")) - { - throw new ValidationException(ValidationRules.Pattern, "resourceGroupName", "^[-\\w\\._\\(\\)]+$"); - } } if (accountName == null) { @@ -1552,10 +1532,6 @@ internal SqlResourcesOperations(CosmosDBManagementClient client) { throw new ValidationException(ValidationRules.MinLength, "resourceGroupName", 1); } - if (!System.Text.RegularExpressions.Regex.IsMatch(resourceGroupName, "^[-\\w\\._\\(\\)]+$")) - { - throw new ValidationException(ValidationRules.Pattern, "resourceGroupName", "^[-\\w\\._\\(\\)]+$"); - } } if (accountName == null) { @@ -1901,10 +1877,6 @@ internal SqlResourcesOperations(CosmosDBManagementClient client) { throw new ValidationException(ValidationRules.MinLength, "resourceGroupName", 1); } - if (!System.Text.RegularExpressions.Regex.IsMatch(resourceGroupName, "^[-\\w\\._\\(\\)]+$")) - { - throw new ValidationException(ValidationRules.Pattern, "resourceGroupName", "^[-\\w\\._\\(\\)]+$"); - } } if (accountName == null) { @@ -2163,10 +2135,6 @@ internal SqlResourcesOperations(CosmosDBManagementClient client) { throw new ValidationException(ValidationRules.MinLength, "resourceGroupName", 1); } - if (!System.Text.RegularExpressions.Regex.IsMatch(resourceGroupName, "^[-\\w\\._\\(\\)]+$")) - { - throw new ValidationException(ValidationRules.Pattern, "resourceGroupName", "^[-\\w\\._\\(\\)]+$"); - } } if (accountName == null) { @@ -2493,10 +2461,6 @@ internal SqlResourcesOperations(CosmosDBManagementClient client) { throw new ValidationException(ValidationRules.MinLength, "resourceGroupName", 1); } - if (!System.Text.RegularExpressions.Regex.IsMatch(resourceGroupName, "^[-\\w\\._\\(\\)]+$")) - { - throw new ValidationException(ValidationRules.Pattern, "resourceGroupName", "^[-\\w\\._\\(\\)]+$"); - } } if (accountName == null) { @@ -2755,10 +2719,6 @@ internal SqlResourcesOperations(CosmosDBManagementClient client) { throw new ValidationException(ValidationRules.MinLength, "resourceGroupName", 1); } - if (!System.Text.RegularExpressions.Regex.IsMatch(resourceGroupName, "^[-\\w\\._\\(\\)]+$")) - { - throw new ValidationException(ValidationRules.Pattern, "resourceGroupName", "^[-\\w\\._\\(\\)]+$"); - } } if (accountName == null) { @@ -3084,10 +3044,6 @@ internal SqlResourcesOperations(CosmosDBManagementClient client) { throw new ValidationException(ValidationRules.MinLength, "resourceGroupName", 1); } - if (!System.Text.RegularExpressions.Regex.IsMatch(resourceGroupName, "^[-\\w\\._\\(\\)]+$")) - { - throw new ValidationException(ValidationRules.Pattern, "resourceGroupName", "^[-\\w\\._\\(\\)]+$"); - } } if (accountName == null) { @@ -3345,10 +3301,6 @@ internal SqlResourcesOperations(CosmosDBManagementClient client) { throw new ValidationException(ValidationRules.MinLength, "resourceGroupName", 1); } - if (!System.Text.RegularExpressions.Regex.IsMatch(resourceGroupName, "^[-\\w\\._\\(\\)]+$")) - { - throw new ValidationException(ValidationRules.Pattern, "resourceGroupName", "^[-\\w\\._\\(\\)]+$"); - } } if (accountName == null) { @@ -3676,10 +3628,6 @@ internal SqlResourcesOperations(CosmosDBManagementClient client) { throw new ValidationException(ValidationRules.MinLength, "resourceGroupName", 1); } - if (!System.Text.RegularExpressions.Regex.IsMatch(resourceGroupName, "^[-\\w\\._\\(\\)]+$")) - { - throw new ValidationException(ValidationRules.Pattern, "resourceGroupName", "^[-\\w\\._\\(\\)]+$"); - } } if (accountName == null) { @@ -3971,10 +3919,6 @@ internal SqlResourcesOperations(CosmosDBManagementClient client) { throw new ValidationException(ValidationRules.MinLength, "resourceGroupName", 1); } - if (!System.Text.RegularExpressions.Regex.IsMatch(resourceGroupName, "^[-\\w\\._\\(\\)]+$")) - { - throw new ValidationException(ValidationRules.Pattern, "resourceGroupName", "^[-\\w\\._\\(\\)]+$"); - } } if (accountName == null) { @@ -4219,10 +4163,6 @@ internal SqlResourcesOperations(CosmosDBManagementClient client) { throw new ValidationException(ValidationRules.MinLength, "resourceGroupName", 1); } - if (!System.Text.RegularExpressions.Regex.IsMatch(resourceGroupName, "^[-\\w\\._\\(\\)]+$")) - { - throw new ValidationException(ValidationRules.Pattern, "resourceGroupName", "^[-\\w\\._\\(\\)]+$"); - } } if (accountName == null) { @@ -4514,10 +4454,6 @@ internal SqlResourcesOperations(CosmosDBManagementClient client) { throw new ValidationException(ValidationRules.MinLength, "resourceGroupName", 1); } - if (!System.Text.RegularExpressions.Regex.IsMatch(resourceGroupName, "^[-\\w\\._\\(\\)]+$")) - { - throw new ValidationException(ValidationRules.Pattern, "resourceGroupName", "^[-\\w\\._\\(\\)]+$"); - } } if (accountName == null) { @@ -4697,6 +4633,37 @@ internal SqlResourcesOperations(CosmosDBManagementClient client) return _result; } + /// + /// Retrieves continuous backup information for a container resource. + /// + /// + /// The name of the resource group. The name is case insensitive. + /// + /// + /// Cosmos DB database account name. + /// + /// + /// Cosmos DB database name. + /// + /// + /// Cosmos DB container name. + /// + /// + /// The name of the continuous backup restore location. + /// + /// + /// The headers that will be added to request. + /// + /// + /// The cancellation token. + /// + public async Task> RetrieveContinuousBackupInformationWithHttpMessagesAsync(string resourceGroupName, string accountName, string databaseName, string containerName, ContinuousBackupRestoreLocation location, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + { + // Send request + AzureOperationResponse _response = await BeginRetrieveContinuousBackupInformationWithHttpMessagesAsync(resourceGroupName, accountName, databaseName, containerName, location, customHeaders, cancellationToken).ConfigureAwait(false); + return await Client.GetPostOrDeleteOperationResultAsync(_response, customHeaders, cancellationToken).ConfigureAwait(false); + } + /// /// Create or update an Azure Cosmos DB SQL database /// @@ -4760,10 +4727,6 @@ internal SqlResourcesOperations(CosmosDBManagementClient client) { throw new ValidationException(ValidationRules.MinLength, "resourceGroupName", 1); } - if (!System.Text.RegularExpressions.Regex.IsMatch(resourceGroupName, "^[-\\w\\._\\(\\)]+$")) - { - throw new ValidationException(ValidationRules.Pattern, "resourceGroupName", "^[-\\w\\._\\(\\)]+$"); - } } if (accountName == null) { @@ -5021,10 +4984,6 @@ internal SqlResourcesOperations(CosmosDBManagementClient client) { throw new ValidationException(ValidationRules.MinLength, "resourceGroupName", 1); } - if (!System.Text.RegularExpressions.Regex.IsMatch(resourceGroupName, "^[-\\w\\._\\(\\)]+$")) - { - throw new ValidationException(ValidationRules.Pattern, "resourceGroupName", "^[-\\w\\._\\(\\)]+$"); - } } if (accountName == null) { @@ -5256,10 +5215,6 @@ internal SqlResourcesOperations(CosmosDBManagementClient client) { throw new ValidationException(ValidationRules.MinLength, "resourceGroupName", 1); } - if (!System.Text.RegularExpressions.Regex.IsMatch(resourceGroupName, "^[-\\w\\._\\(\\)]+$")) - { - throw new ValidationException(ValidationRules.Pattern, "resourceGroupName", "^[-\\w\\._\\(\\)]+$"); - } } if (accountName == null) { @@ -5520,10 +5475,6 @@ internal SqlResourcesOperations(CosmosDBManagementClient client) { throw new ValidationException(ValidationRules.MinLength, "resourceGroupName", 1); } - if (!System.Text.RegularExpressions.Regex.IsMatch(resourceGroupName, "^[-\\w\\._\\(\\)]+$")) - { - throw new ValidationException(ValidationRules.Pattern, "resourceGroupName", "^[-\\w\\._\\(\\)]+$"); - } } if (accountName == null) { @@ -5769,10 +5720,6 @@ internal SqlResourcesOperations(CosmosDBManagementClient client) { throw new ValidationException(ValidationRules.MinLength, "resourceGroupName", 1); } - if (!System.Text.RegularExpressions.Regex.IsMatch(resourceGroupName, "^[-\\w\\._\\(\\)]+$")) - { - throw new ValidationException(ValidationRules.Pattern, "resourceGroupName", "^[-\\w\\._\\(\\)]+$"); - } } if (accountName == null) { @@ -6024,10 +5971,6 @@ internal SqlResourcesOperations(CosmosDBManagementClient client) { throw new ValidationException(ValidationRules.MinLength, "resourceGroupName", 1); } - if (!System.Text.RegularExpressions.Regex.IsMatch(resourceGroupName, "^[-\\w\\._\\(\\)]+$")) - { - throw new ValidationException(ValidationRules.Pattern, "resourceGroupName", "^[-\\w\\._\\(\\)]+$"); - } } if (accountName == null) { @@ -6294,10 +6237,6 @@ internal SqlResourcesOperations(CosmosDBManagementClient client) { throw new ValidationException(ValidationRules.MinLength, "resourceGroupName", 1); } - if (!System.Text.RegularExpressions.Regex.IsMatch(resourceGroupName, "^[-\\w\\._\\(\\)]+$")) - { - throw new ValidationException(ValidationRules.Pattern, "resourceGroupName", "^[-\\w\\._\\(\\)]+$"); - } } if (accountName == null) { @@ -6538,10 +6477,6 @@ internal SqlResourcesOperations(CosmosDBManagementClient client) { throw new ValidationException(ValidationRules.MinLength, "resourceGroupName", 1); } - if (!System.Text.RegularExpressions.Regex.IsMatch(resourceGroupName, "^[-\\w\\._\\(\\)]+$")) - { - throw new ValidationException(ValidationRules.Pattern, "resourceGroupName", "^[-\\w\\._\\(\\)]+$"); - } } if (accountName == null) { @@ -6812,10 +6747,6 @@ internal SqlResourcesOperations(CosmosDBManagementClient client) { throw new ValidationException(ValidationRules.MinLength, "resourceGroupName", 1); } - if (!System.Text.RegularExpressions.Regex.IsMatch(resourceGroupName, "^[-\\w\\._\\(\\)]+$")) - { - throw new ValidationException(ValidationRules.Pattern, "resourceGroupName", "^[-\\w\\._\\(\\)]+$"); - } } if (accountName == null) { @@ -7071,10 +7002,6 @@ internal SqlResourcesOperations(CosmosDBManagementClient client) { throw new ValidationException(ValidationRules.MinLength, "resourceGroupName", 1); } - if (!System.Text.RegularExpressions.Regex.IsMatch(resourceGroupName, "^[-\\w\\._\\(\\)]+$")) - { - throw new ValidationException(ValidationRules.Pattern, "resourceGroupName", "^[-\\w\\._\\(\\)]+$"); - } } if (accountName == null) { @@ -7335,10 +7262,6 @@ internal SqlResourcesOperations(CosmosDBManagementClient client) { throw new ValidationException(ValidationRules.MinLength, "resourceGroupName", 1); } - if (!System.Text.RegularExpressions.Regex.IsMatch(resourceGroupName, "^[-\\w\\._\\(\\)]+$")) - { - throw new ValidationException(ValidationRules.Pattern, "resourceGroupName", "^[-\\w\\._\\(\\)]+$"); - } } if (accountName == null) { @@ -7614,10 +7537,6 @@ internal SqlResourcesOperations(CosmosDBManagementClient client) { throw new ValidationException(ValidationRules.MinLength, "resourceGroupName", 1); } - if (!System.Text.RegularExpressions.Regex.IsMatch(resourceGroupName, "^[-\\w\\._\\(\\)]+$")) - { - throw new ValidationException(ValidationRules.Pattern, "resourceGroupName", "^[-\\w\\._\\(\\)]+$"); - } } if (accountName == null) { @@ -7866,10 +7785,6 @@ internal SqlResourcesOperations(CosmosDBManagementClient client) { throw new ValidationException(ValidationRules.MinLength, "resourceGroupName", 1); } - if (!System.Text.RegularExpressions.Regex.IsMatch(resourceGroupName, "^[-\\w\\._\\(\\)]+$")) - { - throw new ValidationException(ValidationRules.Pattern, "resourceGroupName", "^[-\\w\\._\\(\\)]+$"); - } } if (accountName == null) { @@ -8145,10 +8060,6 @@ internal SqlResourcesOperations(CosmosDBManagementClient client) { throw new ValidationException(ValidationRules.MinLength, "resourceGroupName", 1); } - if (!System.Text.RegularExpressions.Regex.IsMatch(resourceGroupName, "^[-\\w\\._\\(\\)]+$")) - { - throw new ValidationException(ValidationRules.Pattern, "resourceGroupName", "^[-\\w\\._\\(\\)]+$"); - } } if (accountName == null) { @@ -8397,10 +8308,6 @@ internal SqlResourcesOperations(CosmosDBManagementClient client) { throw new ValidationException(ValidationRules.MinLength, "resourceGroupName", 1); } - if (!System.Text.RegularExpressions.Regex.IsMatch(resourceGroupName, "^[-\\w\\._\\(\\)]+$")) - { - throw new ValidationException(ValidationRules.Pattern, "resourceGroupName", "^[-\\w\\._\\(\\)]+$"); - } } if (accountName == null) { @@ -8676,10 +8583,6 @@ internal SqlResourcesOperations(CosmosDBManagementClient client) { throw new ValidationException(ValidationRules.MinLength, "resourceGroupName", 1); } - if (!System.Text.RegularExpressions.Regex.IsMatch(resourceGroupName, "^[-\\w\\._\\(\\)]+$")) - { - throw new ValidationException(ValidationRules.Pattern, "resourceGroupName", "^[-\\w\\._\\(\\)]+$"); - } } if (accountName == null) { @@ -8926,10 +8829,6 @@ internal SqlResourcesOperations(CosmosDBManagementClient client) { throw new ValidationException(ValidationRules.MinLength, "resourceGroupName", 1); } - if (!System.Text.RegularExpressions.Regex.IsMatch(resourceGroupName, "^[-\\w\\._\\(\\)]+$")) - { - throw new ValidationException(ValidationRules.Pattern, "resourceGroupName", "^[-\\w\\._\\(\\)]+$"); - } } if (accountName == null) { @@ -9183,10 +9082,6 @@ internal SqlResourcesOperations(CosmosDBManagementClient client) { throw new ValidationException(ValidationRules.MinLength, "resourceGroupName", 1); } - if (!System.Text.RegularExpressions.Regex.IsMatch(resourceGroupName, "^[-\\w\\._\\(\\)]+$")) - { - throw new ValidationException(ValidationRules.Pattern, "resourceGroupName", "^[-\\w\\._\\(\\)]+$"); - } } if (accountName == null) { @@ -9417,10 +9312,6 @@ internal SqlResourcesOperations(CosmosDBManagementClient client) { throw new ValidationException(ValidationRules.MinLength, "resourceGroupName", 1); } - if (!System.Text.RegularExpressions.Regex.IsMatch(resourceGroupName, "^[-\\w\\._\\(\\)]+$")) - { - throw new ValidationException(ValidationRules.Pattern, "resourceGroupName", "^[-\\w\\._\\(\\)]+$"); - } } if (accountName == null) { @@ -9674,10 +9565,6 @@ internal SqlResourcesOperations(CosmosDBManagementClient client) { throw new ValidationException(ValidationRules.MinLength, "resourceGroupName", 1); } - if (!System.Text.RegularExpressions.Regex.IsMatch(resourceGroupName, "^[-\\w\\._\\(\\)]+$")) - { - throw new ValidationException(ValidationRules.Pattern, "resourceGroupName", "^[-\\w\\._\\(\\)]+$"); - } } if (accountName == null) { @@ -9841,5 +9728,273 @@ internal SqlResourcesOperations(CosmosDBManagementClient client) return _result; } + /// + /// Retrieves continuous backup information for a container resource. + /// + /// + /// The name of the resource group. The name is case insensitive. + /// + /// + /// Cosmos DB database account name. + /// + /// + /// Cosmos DB database name. + /// + /// + /// Cosmos DB container name. + /// + /// + /// The name of the continuous backup restore location. + /// + /// + /// Headers that will be added to request. + /// + /// + /// The cancellation token. + /// + /// + /// Thrown when the operation returned an invalid status code + /// + /// + /// Thrown when unable to deserialize the response + /// + /// + /// Thrown when a required parameter is null + /// + /// + /// Thrown when a required parameter is null + /// + /// + /// A response object containing the response body and response headers. + /// + public async Task> BeginRetrieveContinuousBackupInformationWithHttpMessagesAsync(string resourceGroupName, string accountName, string databaseName, string containerName, ContinuousBackupRestoreLocation location, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + { + if (Client.SubscriptionId == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId"); + } + if (Client.SubscriptionId != null) + { + if (Client.SubscriptionId.Length < 1) + { + throw new ValidationException(ValidationRules.MinLength, "Client.SubscriptionId", 1); + } + } + if (resourceGroupName == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "resourceGroupName"); + } + if (resourceGroupName != null) + { + if (resourceGroupName.Length > 90) + { + throw new ValidationException(ValidationRules.MaxLength, "resourceGroupName", 90); + } + if (resourceGroupName.Length < 1) + { + throw new ValidationException(ValidationRules.MinLength, "resourceGroupName", 1); + } + } + if (accountName == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "accountName"); + } + if (accountName != null) + { + if (accountName.Length > 50) + { + throw new ValidationException(ValidationRules.MaxLength, "accountName", 50); + } + if (accountName.Length < 3) + { + throw new ValidationException(ValidationRules.MinLength, "accountName", 3); + } + if (!System.Text.RegularExpressions.Regex.IsMatch(accountName, "^[a-z0-9]+(-[a-z0-9]+)*")) + { + throw new ValidationException(ValidationRules.Pattern, "accountName", "^[a-z0-9]+(-[a-z0-9]+)*"); + } + } + if (databaseName == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "databaseName"); + } + if (containerName == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "containerName"); + } + if (Client.ApiVersion == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.ApiVersion"); + } + if (Client.ApiVersion != null) + { + if (Client.ApiVersion.Length < 1) + { + throw new ValidationException(ValidationRules.MinLength, "Client.ApiVersion", 1); + } + } + if (location == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "location"); + } + // Tracing + bool _shouldTrace = ServiceClientTracing.IsEnabled; + string _invocationId = null; + if (_shouldTrace) + { + _invocationId = ServiceClientTracing.NextInvocationId.ToString(); + Dictionary tracingParameters = new Dictionary(); + tracingParameters.Add("resourceGroupName", resourceGroupName); + tracingParameters.Add("accountName", accountName); + tracingParameters.Add("databaseName", databaseName); + tracingParameters.Add("containerName", containerName); + tracingParameters.Add("location", location); + tracingParameters.Add("cancellationToken", cancellationToken); + ServiceClientTracing.Enter(_invocationId, this, "BeginRetrieveContinuousBackupInformation", tracingParameters); + } + // Construct URL + var _baseUrl = Client.BaseUri.AbsoluteUri; + var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/databaseAccounts/{accountName}/sqlDatabases/{databaseName}/containers/{containerName}/retrieveContinuousBackupInformation").ToString(); + _url = _url.Replace("{subscriptionId}", System.Uri.EscapeDataString(Client.SubscriptionId)); + _url = _url.Replace("{resourceGroupName}", System.Uri.EscapeDataString(resourceGroupName)); + _url = _url.Replace("{accountName}", System.Uri.EscapeDataString(accountName)); + _url = _url.Replace("{databaseName}", System.Uri.EscapeDataString(databaseName)); + _url = _url.Replace("{containerName}", System.Uri.EscapeDataString(containerName)); + List _queryParameters = new List(); + if (Client.ApiVersion != null) + { + _queryParameters.Add(string.Format("api-version={0}", System.Uri.EscapeDataString(Client.ApiVersion))); + } + if (_queryParameters.Count > 0) + { + _url += (_url.Contains("?") ? "&" : "?") + string.Join("&", _queryParameters); + } + // Create HTTP transport objects + var _httpRequest = new HttpRequestMessage(); + HttpResponseMessage _httpResponse = null; + _httpRequest.Method = new HttpMethod("POST"); + _httpRequest.RequestUri = new System.Uri(_url); + // Set Headers + if (Client.GenerateClientRequestId != null && Client.GenerateClientRequestId.Value) + { + _httpRequest.Headers.TryAddWithoutValidation("x-ms-client-request-id", System.Guid.NewGuid().ToString()); + } + if (Client.AcceptLanguage != null) + { + if (_httpRequest.Headers.Contains("accept-language")) + { + _httpRequest.Headers.Remove("accept-language"); + } + _httpRequest.Headers.TryAddWithoutValidation("accept-language", Client.AcceptLanguage); + } + + + if (customHeaders != null) + { + foreach(var _header in customHeaders) + { + if (_httpRequest.Headers.Contains(_header.Key)) + { + _httpRequest.Headers.Remove(_header.Key); + } + _httpRequest.Headers.TryAddWithoutValidation(_header.Key, _header.Value); + } + } + + // Serialize Request + string _requestContent = null; + if(location != null) + { + _requestContent = Rest.Serialization.SafeJsonConvert.SerializeObject(location, Client.SerializationSettings); + _httpRequest.Content = new StringContent(_requestContent, System.Text.Encoding.UTF8); + _httpRequest.Content.Headers.ContentType =System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json; charset=utf-8"); + } + // Set Credentials + if (Client.Credentials != null) + { + cancellationToken.ThrowIfCancellationRequested(); + await Client.Credentials.ProcessHttpRequestAsync(_httpRequest, cancellationToken).ConfigureAwait(false); + } + // Send Request + if (_shouldTrace) + { + ServiceClientTracing.SendRequest(_invocationId, _httpRequest); + } + cancellationToken.ThrowIfCancellationRequested(); + _httpResponse = await Client.HttpClient.SendAsync(_httpRequest, cancellationToken).ConfigureAwait(false); + if (_shouldTrace) + { + ServiceClientTracing.ReceiveResponse(_invocationId, _httpResponse); + } + HttpStatusCode _statusCode = _httpResponse.StatusCode; + cancellationToken.ThrowIfCancellationRequested(); + string _responseContent = null; + if ((int)_statusCode != 200 && (int)_statusCode != 202) + { + var ex = new CloudException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); + try + { + _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); + CloudError _errorBody = Rest.Serialization.SafeJsonConvert.DeserializeObject(_responseContent, Client.DeserializationSettings); + if (_errorBody != null) + { + ex = new CloudException(_errorBody.Message); + ex.Body = _errorBody; + } + } + catch (JsonException) + { + // Ignore the exception + } + ex.Request = new HttpRequestMessageWrapper(_httpRequest, _requestContent); + ex.Response = new HttpResponseMessageWrapper(_httpResponse, _responseContent); + if (_httpResponse.Headers.Contains("x-ms-request-id")) + { + ex.RequestId = _httpResponse.Headers.GetValues("x-ms-request-id").FirstOrDefault(); + } + if (_shouldTrace) + { + ServiceClientTracing.Error(_invocationId, ex); + } + _httpRequest.Dispose(); + if (_httpResponse != null) + { + _httpResponse.Dispose(); + } + throw ex; + } + // Create Result + var _result = new AzureOperationResponse(); + _result.Request = _httpRequest; + _result.Response = _httpResponse; + if (_httpResponse.Headers.Contains("x-ms-request-id")) + { + _result.RequestId = _httpResponse.Headers.GetValues("x-ms-request-id").FirstOrDefault(); + } + // Deserialize Response + if ((int)_statusCode == 200) + { + _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); + try + { + _result.Body = Rest.Serialization.SafeJsonConvert.DeserializeObject(_responseContent, Client.DeserializationSettings); + } + catch (JsonException ex) + { + _httpRequest.Dispose(); + if (_httpResponse != null) + { + _httpResponse.Dispose(); + } + throw new SerializationException("Unable to deserialize the response.", _responseContent, ex); + } + } + if (_shouldTrace) + { + ServiceClientTracing.Exit(_invocationId, _result); + } + return _result; + } + } } diff --git a/sdk/cosmosdb/Microsoft.Azure.Management.CosmosDB/src/Generated/SqlResourcesOperationsExtensions.cs b/sdk/cosmosdb/Microsoft.Azure.Management.CosmosDB/src/Generated/SqlResourcesOperationsExtensions.cs index ad4e54282b50..d5a5b04bcf08 100644 --- a/sdk/cosmosdb/Microsoft.Azure.Management.CosmosDB/src/Generated/SqlResourcesOperationsExtensions.cs +++ b/sdk/cosmosdb/Microsoft.Azure.Management.CosmosDB/src/Generated/SqlResourcesOperationsExtensions.cs @@ -1888,6 +1888,64 @@ public static IEnumerable ListSqlRoleAssignments(th } } + /// + /// Retrieves continuous backup information for a container resource. + /// + /// + /// The operations group for this extension method. + /// + /// + /// The name of the resource group. The name is case insensitive. + /// + /// + /// Cosmos DB database account name. + /// + /// + /// Cosmos DB database name. + /// + /// + /// Cosmos DB container name. + /// + /// + /// The name of the continuous backup restore location. + /// + public static BackupInformation RetrieveContinuousBackupInformation(this ISqlResourcesOperations operations, string resourceGroupName, string accountName, string databaseName, string containerName, ContinuousBackupRestoreLocation location) + { + return operations.RetrieveContinuousBackupInformationAsync(resourceGroupName, accountName, databaseName, containerName, location).GetAwaiter().GetResult(); + } + + /// + /// Retrieves continuous backup information for a container resource. + /// + /// + /// The operations group for this extension method. + /// + /// + /// The name of the resource group. The name is case insensitive. + /// + /// + /// Cosmos DB database account name. + /// + /// + /// Cosmos DB database name. + /// + /// + /// Cosmos DB container name. + /// + /// + /// The name of the continuous backup restore location. + /// + /// + /// The cancellation token. + /// + public static async Task RetrieveContinuousBackupInformationAsync(this ISqlResourcesOperations operations, string resourceGroupName, string accountName, string databaseName, string containerName, ContinuousBackupRestoreLocation location, CancellationToken cancellationToken = default(CancellationToken)) + { + using (var _result = await operations.RetrieveContinuousBackupInformationWithHttpMessagesAsync(resourceGroupName, accountName, databaseName, containerName, location, null, cancellationToken).ConfigureAwait(false)) + { + return _result.Body; + } + } + /// /// Create or update an Azure Cosmos DB SQL database /// @@ -2951,5 +3009,63 @@ public static void BeginDeleteSqlRoleAssignment(this ISqlResourcesOperations ope (await operations.BeginDeleteSqlRoleAssignmentWithHttpMessagesAsync(roleAssignmentId, resourceGroupName, accountName, null, cancellationToken).ConfigureAwait(false)).Dispose(); } + /// + /// Retrieves continuous backup information for a container resource. + /// + /// + /// The operations group for this extension method. + /// + /// + /// The name of the resource group. The name is case insensitive. + /// + /// + /// Cosmos DB database account name. + /// + /// + /// Cosmos DB database name. + /// + /// + /// Cosmos DB container name. + /// + /// + /// The name of the continuous backup restore location. + /// + public static BackupInformation BeginRetrieveContinuousBackupInformation(this ISqlResourcesOperations operations, string resourceGroupName, string accountName, string databaseName, string containerName, ContinuousBackupRestoreLocation location) + { + return operations.BeginRetrieveContinuousBackupInformationAsync(resourceGroupName, accountName, databaseName, containerName, location).GetAwaiter().GetResult(); + } + + /// + /// Retrieves continuous backup information for a container resource. + /// + /// + /// The operations group for this extension method. + /// + /// + /// The name of the resource group. The name is case insensitive. + /// + /// + /// Cosmos DB database account name. + /// + /// + /// Cosmos DB database name. + /// + /// + /// Cosmos DB container name. + /// + /// + /// The name of the continuous backup restore location. + /// + /// + /// The cancellation token. + /// + public static async Task BeginRetrieveContinuousBackupInformationAsync(this ISqlResourcesOperations operations, string resourceGroupName, string accountName, string databaseName, string containerName, ContinuousBackupRestoreLocation location, CancellationToken cancellationToken = default(CancellationToken)) + { + using (var _result = await operations.BeginRetrieveContinuousBackupInformationWithHttpMessagesAsync(resourceGroupName, accountName, databaseName, containerName, location, null, cancellationToken).ConfigureAwait(false)) + { + return _result.Body; + } + } + } } diff --git a/sdk/cosmosdb/Microsoft.Azure.Management.CosmosDB/src/Generated/TableResourcesOperations.cs b/sdk/cosmosdb/Microsoft.Azure.Management.CosmosDB/src/Generated/TableResourcesOperations.cs index 845ebc2fbc90..86e9525cb65f 100644 --- a/sdk/cosmosdb/Microsoft.Azure.Management.CosmosDB/src/Generated/TableResourcesOperations.cs +++ b/sdk/cosmosdb/Microsoft.Azure.Management.CosmosDB/src/Generated/TableResourcesOperations.cs @@ -107,10 +107,6 @@ internal TableResourcesOperations(CosmosDBManagementClient client) { throw new ValidationException(ValidationRules.MinLength, "resourceGroupName", 1); } - if (!System.Text.RegularExpressions.Regex.IsMatch(resourceGroupName, "^[-\\w\\._\\(\\)]+$")) - { - throw new ValidationException(ValidationRules.Pattern, "resourceGroupName", "^[-\\w\\._\\(\\)]+$"); - } } if (accountName == null) { @@ -351,10 +347,6 @@ internal TableResourcesOperations(CosmosDBManagementClient client) { throw new ValidationException(ValidationRules.MinLength, "resourceGroupName", 1); } - if (!System.Text.RegularExpressions.Regex.IsMatch(resourceGroupName, "^[-\\w\\._\\(\\)]+$")) - { - throw new ValidationException(ValidationRules.Pattern, "resourceGroupName", "^[-\\w\\._\\(\\)]+$"); - } } if (accountName == null) { @@ -654,10 +646,6 @@ internal TableResourcesOperations(CosmosDBManagementClient client) { throw new ValidationException(ValidationRules.MinLength, "resourceGroupName", 1); } - if (!System.Text.RegularExpressions.Regex.IsMatch(resourceGroupName, "^[-\\w\\._\\(\\)]+$")) - { - throw new ValidationException(ValidationRules.Pattern, "resourceGroupName", "^[-\\w\\._\\(\\)]+$"); - } } if (accountName == null) { @@ -984,10 +972,6 @@ internal TableResourcesOperations(CosmosDBManagementClient client) { throw new ValidationException(ValidationRules.MinLength, "resourceGroupName", 1); } - if (!System.Text.RegularExpressions.Regex.IsMatch(resourceGroupName, "^[-\\w\\._\\(\\)]+$")) - { - throw new ValidationException(ValidationRules.Pattern, "resourceGroupName", "^[-\\w\\._\\(\\)]+$"); - } } if (accountName == null) { @@ -1245,10 +1229,6 @@ internal TableResourcesOperations(CosmosDBManagementClient client) { throw new ValidationException(ValidationRules.MinLength, "resourceGroupName", 1); } - if (!System.Text.RegularExpressions.Regex.IsMatch(resourceGroupName, "^[-\\w\\._\\(\\)]+$")) - { - throw new ValidationException(ValidationRules.Pattern, "resourceGroupName", "^[-\\w\\._\\(\\)]+$"); - } } if (accountName == null) { @@ -1479,10 +1459,6 @@ internal TableResourcesOperations(CosmosDBManagementClient client) { throw new ValidationException(ValidationRules.MinLength, "resourceGroupName", 1); } - if (!System.Text.RegularExpressions.Regex.IsMatch(resourceGroupName, "^[-\\w\\._\\(\\)]+$")) - { - throw new ValidationException(ValidationRules.Pattern, "resourceGroupName", "^[-\\w\\._\\(\\)]+$"); - } } if (accountName == null) { @@ -1743,10 +1719,6 @@ internal TableResourcesOperations(CosmosDBManagementClient client) { throw new ValidationException(ValidationRules.MinLength, "resourceGroupName", 1); } - if (!System.Text.RegularExpressions.Regex.IsMatch(resourceGroupName, "^[-\\w\\._\\(\\)]+$")) - { - throw new ValidationException(ValidationRules.Pattern, "resourceGroupName", "^[-\\w\\._\\(\\)]+$"); - } } if (accountName == null) { @@ -1992,10 +1964,6 @@ internal TableResourcesOperations(CosmosDBManagementClient client) { throw new ValidationException(ValidationRules.MinLength, "resourceGroupName", 1); } - if (!System.Text.RegularExpressions.Regex.IsMatch(resourceGroupName, "^[-\\w\\._\\(\\)]+$")) - { - throw new ValidationException(ValidationRules.Pattern, "resourceGroupName", "^[-\\w\\._\\(\\)]+$"); - } } if (accountName == null) { diff --git a/sdk/cosmosdb/Microsoft.Azure.Management.CosmosDB/src/Microsoft.Azure.Management.CosmosDB.csproj b/sdk/cosmosdb/Microsoft.Azure.Management.CosmosDB/src/Microsoft.Azure.Management.CosmosDB.csproj index 35990cef7157..062e2c50372e 100644 --- a/sdk/cosmosdb/Microsoft.Azure.Management.CosmosDB/src/Microsoft.Azure.Management.CosmosDB.csproj +++ b/sdk/cosmosdb/Microsoft.Azure.Management.CosmosDB/src/Microsoft.Azure.Management.CosmosDB.csproj @@ -6,20 +6,15 @@ Microsoft.Azure.Management.CosmosDB Provides developers with libraries for the CosmosDB under Azure Resource manager to manage CosmosDB Account, Databases and child resources and their available management capabilities. Create, Delete, Update CosmosDB Account, Databases and child resources. Note: This client library is for CosmosDB under Azure Resource Manager. - 3.0.0 + 3.1.0 Microsoft.Azure.Management.CosmosDB management;cosmosdb; diff --git a/sdk/cosmosdb/Microsoft.Azure.Management.CosmosDB/src/Properties/AssemblyInfo.cs b/sdk/cosmosdb/Microsoft.Azure.Management.CosmosDB/src/Properties/AssemblyInfo.cs index 22678ff34239..da6bbe1e35a6 100644 --- a/sdk/cosmosdb/Microsoft.Azure.Management.CosmosDB/src/Properties/AssemblyInfo.cs +++ b/sdk/cosmosdb/Microsoft.Azure.Management.CosmosDB/src/Properties/AssemblyInfo.cs @@ -7,8 +7,8 @@ [assembly: AssemblyTitle("Microsoft Azure CosmosDB Management Library")] [assembly: AssemblyDescription("Provides management functionality for Microsoft Azure CosmosDB Resources.")] -[assembly: AssemblyVersion("3.0.0.0")] -[assembly: AssemblyFileVersion("3.0.0.0")] +[assembly: AssemblyVersion("3.1.0.0")] +[assembly: AssemblyFileVersion("3.1.0.0")] [assembly: AssemblyConfiguration("")] [assembly: AssemblyCompany("Microsoft")] [assembly: AssemblyProduct("Microsoft Azure .NET SDK")] diff --git a/sdk/cosmosdb/Microsoft.Azure.Management.CosmosDB/tests/ScenarioTests/DatabaseAccountOperationsTest.cs b/sdk/cosmosdb/Microsoft.Azure.Management.CosmosDB/tests/ScenarioTests/DatabaseAccountOperationsTest.cs index a4c54ab0d409..a852e2c3eb78 100644 --- a/sdk/cosmosdb/Microsoft.Azure.Management.CosmosDB/tests/ScenarioTests/DatabaseAccountOperationsTest.cs +++ b/sdk/cosmosdb/Microsoft.Azure.Management.CosmosDB/tests/ScenarioTests/DatabaseAccountOperationsTest.cs @@ -9,6 +9,7 @@ using Microsoft.Rest.ClientRuntime.Azure.TestFramework; using Microsoft.Azure.Management.CosmosDB.Models; using System.Collections.Generic; +using System.Threading.Tasks; namespace CosmosDB.Tests.ScenarioTests { @@ -54,8 +55,6 @@ public void DatabaseAccountCRUDTests() IsVirtualNetworkFilterEnabled = true, EnableAutomaticFailover = false, EnableMultipleWriteLocations = true, - EnableCassandraConnector = true, - ConnectorOffer = "Small", DisableKeyBasedMetadataWriteAccess = false, NetworkAclBypass = NetworkAclBypass.AzureServices, NetworkAclBypassResourceIds = new List @@ -94,8 +93,6 @@ public void DatabaseAccountCRUDTests() }, IsVirtualNetworkFilterEnabled = false, EnableAutomaticFailover = true, - EnableCassandraConnector = true, - ConnectorOffer = "Small", DisableKeyBasedMetadataWriteAccess = true, NetworkAclBypass = NetworkAclBypass.AzureServices, NetworkAclBypassResourceIds = new List @@ -143,6 +140,86 @@ public void DatabaseAccountCRUDTests() } } + [Fact] + public async Task RestorableSqlDatabaseResourceFeedTest() + { + var handler1 = new RecordedDelegatingHandler { StatusCodeToReturn = HttpStatusCode.OK }; + var handler2 = new RecordedDelegatingHandler { StatusCodeToReturn = HttpStatusCode.OK }; + + using (MockContext context = MockContext.Start(this.GetType())) + { + // Create client + CosmosDBManagementClient cosmosDBManagementClient = CosmosDBTestUtilities.GetCosmosDBClient(context, handler1); + ResourceManagementClient resourcesClient = CosmosDBTestUtilities.GetResourceManagementClient(context, handler2); + + string resourceGroupName = CosmosDBTestUtilities.CreateResourceGroup(resourcesClient); + string databaseAccountName = TestUtilities.GenerateName(prefix: "accountname"); + + List locations = new List(); + locations.Add(new Location(locationName: "East US 2")); + DatabaseAccountCreateUpdateParameters databaseAccountCreateUpdateParameters = new DatabaseAccountCreateUpdateParameters + { + Location = "EAST US 2", + Tags = new Dictionary + { + {"key1","value1"}, + {"key2","value2"} + }, + Kind = "MongoDB", + ConsistencyPolicy = new ConsistencyPolicy + { + DefaultConsistencyLevel = DefaultConsistencyLevel.BoundedStaleness, + MaxStalenessPrefix = 300, + MaxIntervalInSeconds = 1000 + }, + Locations = locations + }; + + DatabaseAccountGetResults databaseAccount = cosmosDBManagementClient.DatabaseAccounts.CreateOrUpdateWithHttpMessagesAsync(resourceGroupName, databaseAccountName, databaseAccountCreateUpdateParameters).GetAwaiter().GetResult().Body; + Assert.NotNull(databaseAccount); + + List databaseFeedResult = (await cosmosDBManagementClient.DatabaseAccounts.ListByResourceGroupAsync(resourceGroupName)).ToList(); + Assert.Single(databaseFeedResult); + + DatabaseAccountUpdateParameters databaseAccountUpdateParameters = new DatabaseAccountUpdateParameters + { + Location = "EAST US 2", + Tags = new Dictionary + { + {"key3","value3"}, + {"key4","value4"} + }, + ConsistencyPolicy = new ConsistencyPolicy + { + DefaultConsistencyLevel = DefaultConsistencyLevel.Session, + MaxStalenessPrefix = 1300, + MaxIntervalInSeconds = 12000 + }, + Locations = locations, + IpRules = new List + { + new IpAddressOrRange("23.43.230.120") + }, + IsVirtualNetworkFilterEnabled = false, + EnableAutomaticFailover = true, + DisableKeyBasedMetadataWriteAccess = true, + NetworkAclBypass = NetworkAclBypass.AzureServices, + NetworkAclBypassResourceIds = new List + { + "/subscriptions/subId/resourcegroups/rgName/providers/Microsoft.Synapse/workspaces/workspaceName", + "/subscriptions/subId/resourcegroups/rgName/providers/Microsoft.Synapse/workspaces/workspaceName2" + } + }; + DatabaseAccountGetResults updatedDatabaseAccount = cosmosDBManagementClient.DatabaseAccounts.UpdateWithHttpMessagesAsync(resourceGroupName, databaseAccountName, databaseAccountUpdateParameters).GetAwaiter().GetResult().Body; + Assert.NotNull(updatedDatabaseAccount); + + databaseFeedResult = (await cosmosDBManagementClient.DatabaseAccounts.ListByResourceGroupAsync(resourceGroupName)).ToList(); + Assert.Single(databaseFeedResult); + + await cosmosDBManagementClient.DatabaseAccounts.DeleteWithHttpMessagesAsync(resourceGroupName, databaseAccountName); + } + } + private static void VerifyCosmosDBAccount(DatabaseAccountGetResults databaseAccount, DatabaseAccountCreateUpdateParameters parameters) { Assert.Equal(databaseAccount.Location.ToLower(), parameters.Location.ToLower()); @@ -153,8 +230,6 @@ private static void VerifyCosmosDBAccount(DatabaseAccountGetResults databaseAcco Assert.Equal(databaseAccount.IsVirtualNetworkFilterEnabled, parameters.IsVirtualNetworkFilterEnabled); Assert.Equal(databaseAccount.EnableAutomaticFailover, parameters.EnableAutomaticFailover); Assert.Equal(databaseAccount.EnableMultipleWriteLocations, parameters.EnableMultipleWriteLocations); - Assert.Equal(databaseAccount.EnableCassandraConnector, parameters.EnableCassandraConnector); - Assert.Equal(databaseAccount.ConnectorOffer, parameters.ConnectorOffer); Assert.Equal(databaseAccount.DisableKeyBasedMetadataWriteAccess, parameters.DisableKeyBasedMetadataWriteAccess); Assert.Equal(databaseAccount.NetworkAclBypassResourceIds.Count, parameters.NetworkAclBypassResourceIds.Count); } @@ -167,8 +242,6 @@ private static void VerifyCosmosDBAccount(DatabaseAccountGetResults databaseAcco VerifyConsistencyPolicy(databaseAccount.ConsistencyPolicy, parameters.ConsistencyPolicy); Assert.Equal(databaseAccount.IsVirtualNetworkFilterEnabled, parameters.IsVirtualNetworkFilterEnabled); Assert.Equal(databaseAccount.EnableAutomaticFailover, parameters.EnableAutomaticFailover); - Assert.Equal(databaseAccount.EnableCassandraConnector, parameters.EnableCassandraConnector); - Assert.Equal(databaseAccount.ConnectorOffer, parameters.ConnectorOffer); Assert.Equal(databaseAccount.DisableKeyBasedMetadataWriteAccess, parameters.DisableKeyBasedMetadataWriteAccess); } diff --git a/sdk/cosmosdb/Microsoft.Azure.Management.CosmosDB/tests/ScenarioTests/MongoResourcesOperationsTests.cs b/sdk/cosmosdb/Microsoft.Azure.Management.CosmosDB/tests/ScenarioTests/MongoResourcesOperationsTests.cs index a14f3214f7d0..d240446e45f5 100644 --- a/sdk/cosmosdb/Microsoft.Azure.Management.CosmosDB/tests/ScenarioTests/MongoResourcesOperationsTests.cs +++ b/sdk/cosmosdb/Microsoft.Azure.Management.CosmosDB/tests/ScenarioTests/MongoResourcesOperationsTests.cs @@ -18,7 +18,7 @@ public class MongoResourcesOperationsTests const string location = "EAST US 2"; // using an existing DB account, since Account provisioning takes 10-15 minutes const string resourceGroupName = "CosmosDBResourceGroup3668"; - const string databaseAccountName = "db001"; + const string databaseAccountName = "db003"; const string databaseName = "databaseName3668"; const string databaseName2 = "databaseName23668"; @@ -62,7 +62,7 @@ public void MongoCRUDTests() } }; - databaseAccount = cosmosDBManagementClient.DatabaseAccounts.CreateOrUpdateWithHttpMessagesAsync(resourceGroupName, databaseAccountName, databaseAccountCreateUpdateParameters).GetAwaiter().GetResult().Body; + databaseAccount = cosmosDBManagementClient.DatabaseAccounts.CreateOrUpdateWithHttpMessagesAsync(resourceGroupName, databaseAccountName, databaseAccountCreateUpdateParameters).GetAwaiter().GetResult().Body; Assert.Equal(databaseAccount.Name, databaseAccountName); } diff --git a/sdk/cosmosdb/Microsoft.Azure.Management.CosmosDB/tests/ScenarioTests/RestoreDatabaseAccountOperationsTests.cs b/sdk/cosmosdb/Microsoft.Azure.Management.CosmosDB/tests/ScenarioTests/RestoreDatabaseAccountOperationsTests.cs new file mode 100644 index 000000000000..28eb84670bd2 --- /dev/null +++ b/sdk/cosmosdb/Microsoft.Azure.Management.CosmosDB/tests/ScenarioTests/RestoreDatabaseAccountOperationsTests.cs @@ -0,0 +1,186 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See License.txt in the project root for license information. + +using Microsoft.Azure.Management.CosmosDB; +using Microsoft.Azure.Management.CosmosDB.Models; +using Microsoft.Azure.Management.Resources; +using Microsoft.Rest.ClientRuntime.Azure.TestFramework; +using System; +using System.Collections.Generic; +using System.Linq; +using System.Net; +using System.Threading.Tasks; +using Xunit; + +namespace CosmosDB.Tests.ScenarioTests +{ + public class RestoreDatabaseAccountOperationsTests + { + const string location = "eastus2"; + // using an existing DB account, since Account provisioning takes 10-15 minutes + const string resourceGroupName = "CosmosDBResourceGroup3668"; + const string sourceDatabaseAccountName = "sqltestaccount124"; + + [Fact] + public async Task RestoreDatabaseAccountTests() + { + var handler1 = new RecordedDelegatingHandler { StatusCodeToReturn = HttpStatusCode.OK }; + using (MockContext context = MockContext.Start(this.GetType())) + { + // Create client + CosmosDBManagementClient cosmosDBManagementClient = CosmosDBTestUtilities.GetCosmosDBClient(context, handler1); + ResourceManagementClient resourcesClient = CosmosDBTestUtilities.GetResourceManagementClient(context, handler1); + string restoredatabaseAccountName = TestUtilities.GenerateName(prefix: "restoredaccountname"); + + DatabaseAccountGetResults databaseAccount = null; + bool isDatabaseNameExists = cosmosDBManagementClient.DatabaseAccounts.CheckNameExistsWithHttpMessagesAsync(sourceDatabaseAccountName).GetAwaiter().GetResult().Body; + if (!isDatabaseNameExists) + { + DatabaseAccountCreateUpdateParameters databaseAccountCreateUpdateParameters1 = new DatabaseAccountCreateUpdateParameters + { + Location = location, + Kind = DatabaseAccountKind.GlobalDocumentDB, + Locations = new List { new Location { LocationName = location } }, + BackupPolicy = new ContinuousModeBackupPolicy(), + }; + + databaseAccount = cosmosDBManagementClient.DatabaseAccounts.CreateOrUpdateWithHttpMessagesAsync(resourceGroupName, sourceDatabaseAccountName, databaseAccountCreateUpdateParameters1).GetAwaiter().GetResult().Body; + Assert.Equal(databaseAccount.Name, sourceDatabaseAccountName); + } + databaseAccount = await cosmosDBManagementClient.DatabaseAccounts.GetAsync(resourceGroupName, sourceDatabaseAccountName); + + DateTime restoreTs = DateTime.UtcNow; + + List restorableAccounts = (await cosmosDBManagementClient.RestorableDatabaseAccounts.ListByLocationAsync(location)).ToList(); + RestorableDatabaseAccountGetResult restorableDatabaseAccount = restorableAccounts. + SingleOrDefault(account => account.AccountName.Equals(databaseAccount.Name, StringComparison.OrdinalIgnoreCase)); + + DatabaseAccountCreateUpdateParameters databaseAccountCreateUpdateParameters = new DatabaseAccountCreateUpdateParameters + { + Location = location, + Tags = new Dictionary + { + {"key1","value1"}, + {"key2","value2"} + }, + Kind = "GlobalDocumentDB", + Locations = new List + { + new Location(locationName: location) + }, + CreateMode = CreateMode.Restore, + RestoreParameters = new RestoreParameters() + { + RestoreMode = "PointInTime", + RestoreTimestampInUtc = restoreTs, + RestoreSource = restorableDatabaseAccount.Id + } + }; + + DatabaseAccountGetResults restoredDatabaseAccount = (await cosmosDBManagementClient.DatabaseAccounts.CreateOrUpdateWithHttpMessagesAsync(resourceGroupName, restoredatabaseAccountName, databaseAccountCreateUpdateParameters)).Body; + Assert.NotNull(restoredDatabaseAccount); + Assert.NotNull(restoredDatabaseAccount.RestoreParameters); + Assert.Equal(restoredDatabaseAccount.RestoreParameters.RestoreSource.ToLower(), restorableDatabaseAccount.Id.ToLower()); + Assert.True(restoredDatabaseAccount.BackupPolicy is ContinuousModeBackupPolicy); + } + } + + [Fact] + public async Task RestoreDatabaseAccountFeedTests() + { + RecordedDelegatingHandler handler = new RecordedDelegatingHandler { StatusCodeToReturn = HttpStatusCode.OK }; + + using (MockContext context = MockContext.Start(this.GetType())) + { + // Create client + CosmosDBManagementClient cosmosDBManagementClient = CosmosDBTestUtilities.GetCosmosDBClient(context, handler); + + await RestoreDatabaseAccountFeedTestHelperAsync(cosmosDBManagementClient, "pitr-sql-stage-source", ApiType.Sql, 1); + await RestoreDatabaseAccountFeedTestHelperAsync(cosmosDBManagementClient, "pitr-mongo32-stage-source", ApiType.MongoDB, 1); + await RestoreDatabaseAccountFeedTestHelperAsync(cosmosDBManagementClient, "pitr-mongo36-stage-source", ApiType.MongoDB, 1); + } + } + + private async Task RestoreDatabaseAccountFeedTestHelperAsync( + CosmosDBManagementClient cosmosDBManagementClient, + string sourceDatabaseAccountName, + string sourceApiType, + int expectedRestorableLocationCount) + { + DatabaseAccountGetResults sourceDatabaseAccount = await CreateDatabaseAccountIfNotExists(cosmosDBManagementClient, sourceDatabaseAccountName, location, sourceApiType); + + List restorableAccountsFromGlobalFeed = (await cosmosDBManagementClient.RestorableDatabaseAccounts.ListByLocationAsync(location)).ToList(); + + //List restorableAccounts = (await cosmosDBManagementClient.RestorableDatabaseAccounts.ListByLocationAsync(westus2)).ToList(); + RestorableDatabaseAccountGetResult restorableDatabaseAccount = restorableAccountsFromGlobalFeed. + Single(account => account.Name.Equals(sourceDatabaseAccount.InstanceId, StringComparison.OrdinalIgnoreCase)); + + ValidateRestorableDatabaseAccount(restorableDatabaseAccount, sourceDatabaseAccount, sourceApiType, expectedRestorableLocationCount); + + List restorableAccountsFromRegionalFeed = + (await cosmosDBManagementClient.RestorableDatabaseAccounts.ListByLocationAsync(location)).ToList(); + + restorableDatabaseAccount = restorableAccountsFromRegionalFeed. + Single(account => account.Name.Equals(sourceDatabaseAccount.InstanceId, StringComparison.OrdinalIgnoreCase)); + + ValidateRestorableDatabaseAccount(restorableDatabaseAccount, sourceDatabaseAccount, sourceApiType, expectedRestorableLocationCount); + + restorableDatabaseAccount = + await cosmosDBManagementClient.RestorableDatabaseAccounts.GetByLocationAsync(location, sourceDatabaseAccount.InstanceId); + + ValidateRestorableDatabaseAccount(restorableDatabaseAccount, sourceDatabaseAccount, sourceApiType, expectedRestorableLocationCount); + } + + private static void ValidateRestorableDatabaseAccount( + RestorableDatabaseAccountGetResult restorableDatabaseAccount, + DatabaseAccountGetResults sourceDatabaseAccount, + string expectedApiType, + int expectedRestorableLocations) + { + Assert.Equal(expectedApiType, restorableDatabaseAccount.ApiType); + Assert.Equal(expectedRestorableLocations, restorableDatabaseAccount.RestorableLocations.Count); + Assert.Equal("Microsoft.DocumentDB/locations/restorableDatabaseAccounts", restorableDatabaseAccount.Type); + Assert.Equal(sourceDatabaseAccount.Location, restorableDatabaseAccount.Location); + Assert.Equal(sourceDatabaseAccount.Name, restorableDatabaseAccount.AccountName); + } + + private static async Task CreateDatabaseAccountIfNotExists( + CosmosDBManagementClient cosmosDBManagementClient, + string databaseAccountName, + string armLocation, + string kind) + { + bool isDatabaseNameExists = cosmosDBManagementClient.DatabaseAccounts.CheckNameExistsWithHttpMessagesAsync(databaseAccountName).GetAwaiter().GetResult().Body; + String databaseKind = null; + List locations = null; + if (kind == ApiType.Sql) + { + databaseKind = DatabaseAccountKind.GlobalDocumentDB; + locations = new List { new Location { LocationName = "westus" }, new Location { LocationName = "eastus" }, new Location { LocationName = "eastus2" } }; + } + else if (kind == ApiType.MongoDB) + { + databaseKind = DatabaseAccountKind.MongoDB; + locations = new List { new Location { LocationName = "westus" }, new Location { LocationName = "eastus" } }; + } + + DatabaseAccountGetResults databaseAccount = null; + if (!isDatabaseNameExists) + { + DatabaseAccountCreateUpdateParameters databaseAccountCreateUpdateParameters = new DatabaseAccountCreateUpdateParameters + { + Location = armLocation, + Kind = databaseKind, + Locations = locations, + BackupPolicy = new ContinuousModeBackupPolicy() + }; + + databaseAccount = cosmosDBManagementClient.DatabaseAccounts.CreateOrUpdateWithHttpMessagesAsync(resourceGroupName, databaseAccountName, databaseAccountCreateUpdateParameters).GetAwaiter().GetResult().Body; + Assert.Equal(databaseAccount.Name, databaseAccountName); + } + databaseAccount = await cosmosDBManagementClient.DatabaseAccounts.GetAsync(resourceGroupName, databaseAccountName); + + return databaseAccount; + } + } +} diff --git a/sdk/cosmosdb/Microsoft.Azure.Management.CosmosDB/tests/ScenarioTests/RetrieveSqlContainerBackupInformationTests.cs b/sdk/cosmosdb/Microsoft.Azure.Management.CosmosDB/tests/ScenarioTests/RetrieveSqlContainerBackupInformationTests.cs new file mode 100644 index 000000000000..d0a14669c79d --- /dev/null +++ b/sdk/cosmosdb/Microsoft.Azure.Management.CosmosDB/tests/ScenarioTests/RetrieveSqlContainerBackupInformationTests.cs @@ -0,0 +1,93 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See License.txt in the project root for license information. + +using System; +using System.Net; +using System.Collections.Generic; +using Xunit; +using Microsoft.Azure.Management.CosmosDB; +using Microsoft.Azure.Management.CosmosDB.Models; +using Microsoft.Rest.ClientRuntime.Azure.TestFramework; + +namespace CosmosDB.Tests.ScenarioTests +{ + public class RetrieveSqlContainerBackupInformationTests + { + const string location = "eastus2"; + const string resourceGroupName = "CosmosDBResourceGroup3668"; + const string databaseAccountName = "sqltestaccount124"; + const string databaseName = "TestDB1"; + const string containerName = "TestContainer2"; + + [Fact] + public void RetrieveContinuousBackupInfoTest() + { + var handler1 = new RecordedDelegatingHandler { StatusCodeToReturn = HttpStatusCode.OK }; + using (MockContext context = MockContext.Start(this.GetType())) + { + // Create client + CosmosDBManagementClient cosmosDBManagementClient = CosmosDBTestUtilities.GetCosmosDBClient(context, handler1); + ContinuousBackupRestoreLocation restoreLocation = new ContinuousBackupRestoreLocation(location); + + SqlContainerCreateUpdateParameters sqlContainerCreateUpdateParameters = new SqlContainerCreateUpdateParameters() + { + Resource = new SqlContainerResource(containerName, partitionKey: new ContainerPartitionKey(new List() { "/id" })), + Options = new CreateUpdateOptions + { + Throughput = 400 + } + }; + + SqlContainerGetResults createContainerResult = cosmosDBManagementClient.SqlResources.CreateUpdateSqlContainer( + resourceGroupName, + databaseAccountName, + databaseName, + containerName, + sqlContainerCreateUpdateParameters); + Assert.NotNull(createContainerResult); + Assert.NotNull(createContainerResult.Id); + + BackupInformation backupInformation = cosmosDBManagementClient.SqlResources.RetrieveContinuousBackupInformation( + resourceGroupName, + databaseAccountName, + databaseName, + containerName, + restoreLocation); + + Assert.NotNull(backupInformation); + Assert.NotNull(backupInformation.ContinuousBackupInformation); + Assert.True(Int32.Parse(backupInformation.ContinuousBackupInformation.LatestRestorableTimestamp) > 0); + int prevRestoreTime = Int32.Parse(backupInformation.ContinuousBackupInformation.LatestRestorableTimestamp); + + ThroughputSettingsUpdateParameters throughputSettingsUpdateParameters = new ThroughputSettingsUpdateParameters() + { + Resource = new ThroughputSettingsResource() + { + Throughput = 4000 + } + }; + ThroughputSettingsGetResults throughputSettingsGetResults = cosmosDBManagementClient.SqlResources.UpdateSqlContainerThroughput( + resourceGroupName, + databaseAccountName, + databaseName, + containerName, + throughputSettingsUpdateParameters); + Assert.NotNull(throughputSettingsGetResults); + Assert.NotNull(throughputSettingsGetResults.Id); + + backupInformation = cosmosDBManagementClient.SqlResources.RetrieveContinuousBackupInformation( + resourceGroupName, + databaseAccountName, + databaseName, + containerName, + restoreLocation); + + Assert.NotNull(backupInformation); + Assert.NotNull(backupInformation.ContinuousBackupInformation); + Assert.True(Int32.Parse(backupInformation.ContinuousBackupInformation.LatestRestorableTimestamp) >= prevRestoreTime); + + cosmosDBManagementClient.SqlResources.DeleteSqlContainer(resourceGroupName, databaseAccountName, databaseName, containerName); + } + } + } +} diff --git a/sdk/cosmosdb/Microsoft.Azure.Management.CosmosDB/tests/ScenarioTests/SqlResourcesOperationsTests.cs b/sdk/cosmosdb/Microsoft.Azure.Management.CosmosDB/tests/ScenarioTests/SqlResourcesOperationsTests.cs index 7c47904d3b1c..efa6be18679b 100644 --- a/sdk/cosmosdb/Microsoft.Azure.Management.CosmosDB/tests/ScenarioTests/SqlResourcesOperationsTests.cs +++ b/sdk/cosmosdb/Microsoft.Azure.Management.CosmosDB/tests/ScenarioTests/SqlResourcesOperationsTests.cs @@ -17,12 +17,13 @@ public class SqlResourcesOperationsTests // using an existing DB account, since Account provisioning takes 10-15 minutes const string resourceGroupName = "CosmosDBResourceGroup3668"; - const string databaseAccountName = "cli124"; - const string databaseAccountName2 = "rbac"; + const string databaseAccountName = "cli126"; + const string databaseAccountName2 = "rbac126"; const string databaseName = "databaseName"; const string databaseName2 = "databaseName2"; const string containerName = "containerName"; + const string containerName2 = "containerName2"; const string storedProcedureName = "storedProcedureName"; const string triggerName = "triggerName"; const string userDefinedFunctionName = "userDefinedFunctionName"; @@ -71,9 +72,9 @@ public void SqlCRUDTests() { {new Location(locationName: location) } } - }; + }; - databaseAccount = cosmosDBManagementClient.DatabaseAccounts.CreateOrUpdateWithHttpMessagesAsync(resourceGroupName, databaseAccountName, databaseAccountCreateUpdateParameters).GetAwaiter().GetResult().Body; + databaseAccount = cosmosDBManagementClient.DatabaseAccounts.CreateOrUpdateWithHttpMessagesAsync(resourceGroupName, databaseAccountName, databaseAccountCreateUpdateParameters).GetAwaiter().GetResult().Body; Assert.Equal(databaseAccount.Name, databaseAccountName); } @@ -118,12 +119,13 @@ public void SqlCRUDTests() SqlContainerCreateUpdateParameters sqlContainerCreateUpdateParameters = new SqlContainerCreateUpdateParameters { - Resource = new SqlContainerResource { - Id = containerName, + Resource = new SqlContainerResource + { + Id = containerName2, PartitionKey = new ContainerPartitionKey { Kind = "Hash", - Paths = new List { "/address/zipCode"} + Paths = new List { "/address/zipCode" } }, IndexingPolicy = new IndexingPolicy { @@ -158,7 +160,7 @@ public void SqlCRUDTests() } }; - SqlContainerGetResults sqlContainerGetResults = cosmosDBManagementClient.SqlResources.CreateUpdateSqlContainerWithHttpMessagesAsync(resourceGroupName, databaseAccountName, databaseName, containerName, sqlContainerCreateUpdateParameters).GetAwaiter().GetResult().Body; + SqlContainerGetResults sqlContainerGetResults = cosmosDBManagementClient.SqlResources.CreateUpdateSqlContainerWithHttpMessagesAsync(resourceGroupName, databaseAccountName, databaseName, containerName2, sqlContainerCreateUpdateParameters).GetAwaiter().GetResult().Body; Assert.NotNull(sqlContainerGetResults); IEnumerable sqlContainers = cosmosDBManagementClient.SqlResources.ListSqlContainersWithHttpMessagesAsync(resourceGroupName, databaseAccountName, databaseName).GetAwaiter().GetResult().Body; @@ -177,7 +179,7 @@ public void SqlCRUDTests() Options = new CreateUpdateOptions() }; - SqlStoredProcedureGetResults sqlStoredProcedureGetResults = cosmosDBManagementClient.SqlResources.CreateUpdateSqlStoredProcedureWithHttpMessagesAsync(resourceGroupName, databaseAccountName, databaseName, containerName, storedProcedureName, sqlStoredProcedureCreateUpdateParameters).GetAwaiter().GetResult().Body; + SqlStoredProcedureGetResults sqlStoredProcedureGetResults = cosmosDBManagementClient.SqlResources.CreateUpdateSqlStoredProcedureWithHttpMessagesAsync(resourceGroupName, databaseAccountName, databaseName, containerName2, storedProcedureName, sqlStoredProcedureCreateUpdateParameters).GetAwaiter().GetResult().Body; Assert.NotNull(sqlStoredProcedureGetResults); Assert.Equal(sqlStoredProcedureGetResults.Resource.Body, sqlStoredProcedureGetResults.Resource.Body); @@ -186,7 +188,7 @@ public void SqlCRUDTests() foreach (SqlStoredProcedureGetResults sqlStoredProcedure in sqlStoredProcedures) { - cosmosDBManagementClient.SqlResources.DeleteSqlStoredProcedureWithHttpMessagesAsync(resourceGroupName, databaseAccountName, databaseName, containerName, sqlStoredProcedure.Name); + cosmosDBManagementClient.SqlResources.DeleteSqlStoredProcedureWithHttpMessagesAsync(resourceGroupName, databaseAccountName, databaseName, containerName2, sqlStoredProcedure.Name); } SqlUserDefinedFunctionCreateUpdateParameters sqlUserDefinedFunctionCreateUpdateParameters = new SqlUserDefinedFunctionCreateUpdateParameters @@ -212,7 +214,7 @@ public void SqlCRUDTests() foreach (SqlUserDefinedFunctionGetResults sqlUserDefinedFunction in sqlUserDefinedFunctions) { - cosmosDBManagementClient.SqlResources.DeleteSqlUserDefinedFunctionWithHttpMessagesAsync(resourceGroupName, databaseAccountName, databaseName, containerName, sqlUserDefinedFunction.Name); + cosmosDBManagementClient.SqlResources.DeleteSqlUserDefinedFunctionWithHttpMessagesAsync(resourceGroupName, databaseAccountName, databaseName, containerName2, sqlUserDefinedFunction.Name); } SqlTriggerCreateUpdateParameters sqlTriggerCreateUpdateParameters = new SqlTriggerCreateUpdateParameters @@ -241,7 +243,7 @@ public void SqlCRUDTests() foreach (SqlTriggerGetResults sqlTrigger in sqlTriggers) { - cosmosDBManagementClient.SqlResources.DeleteSqlTriggerWithHttpMessagesAsync(resourceGroupName, databaseAccountName, databaseName, containerName, sqlTrigger.Name); + cosmosDBManagementClient.SqlResources.DeleteSqlTriggerWithHttpMessagesAsync(resourceGroupName, databaseAccountName, databaseName, containerName2, sqlTrigger.Name); } foreach (SqlContainerGetResults sqlContainer in sqlContainers) @@ -357,7 +359,14 @@ public void SqlRoleTests() Assert.NotNull(sqlRoleDefinitions); foreach (SqlRoleDefinitionGetResults sqlRoleDefinition in sqlRoleDefinitions) { - VerifyEqualSqlRoleDefinitions(sqlRoleDefinition.Name == sqlRoleDefinitionGetResults3.Name ? sqlRoleDefinitionGetResults3 : sqlRoleDefinitionGetResults4, sqlRoleDefinition); + if (sqlRoleDefinition.Name == sqlRoleDefinitionGetResults3.Name) + { + VerifyEqualSqlRoleDefinitions(sqlRoleDefinitionGetResults3, sqlRoleDefinition); + } + if (sqlRoleDefinition.Name == sqlRoleDefinitionGetResults4.Name) + { + VerifyEqualSqlRoleDefinitions(sqlRoleDefinitionGetResults4, sqlRoleDefinition); + } } SqlRoleAssignmentCreateUpdateParameters sqlRoleAssignmentCreateUpdateParameters = new SqlRoleAssignmentCreateUpdateParameters @@ -404,7 +413,10 @@ public void SqlRoleTests() foreach (SqlRoleDefinitionGetResults sqlRoleDefinition in sqlRoleDefinitions) { - cosmosDBManagementClient.SqlResources.DeleteSqlRoleDefinitionWithHttpMessagesAsync(sqlRoleDefinition.Name, resourceGroupName, databaseAccountName2).GetAwaiter().GetResult(); + if (sqlRoleDefinition.Name == sqlRoleDefinitionGetResults3.Name || sqlRoleDefinition.Name == sqlRoleDefinitionGetResults4.Name) + { + cosmosDBManagementClient.SqlResources.DeleteSqlRoleDefinitionWithHttpMessagesAsync(sqlRoleDefinition.Name, resourceGroupName, databaseAccountName2).GetAwaiter().GetResult(); + } } const string InvalidActionName = "invalid-action-name"; diff --git a/sdk/cosmosdb/Microsoft.Azure.Management.CosmosDB/tests/SessionRecords/CassandraResourcesOperationsTests/CassandraCRUDTests.json b/sdk/cosmosdb/Microsoft.Azure.Management.CosmosDB/tests/SessionRecords/CassandraResourcesOperationsTests/CassandraCRUDTests.json index 5f309438c24d..d7fd8cb0fb94 100644 --- a/sdk/cosmosdb/Microsoft.Azure.Management.CosmosDB/tests/SessionRecords/CassandraResourcesOperationsTests/CassandraCRUDTests.json +++ b/sdk/cosmosdb/Microsoft.Azure.Management.CosmosDB/tests/SessionRecords/CassandraResourcesOperationsTests/CassandraCRUDTests.json @@ -1,297 +1,21 @@ { "Entries": [ { - "RequestUri": "/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/resourceGroups/CosmosDBResourceGroup3668/providers/Microsoft.DocumentDB/databaseAccounts/cli124/sqlDatabases/databaseName/containers/containerName/triggers/triggerName?api-version=2021-04-15", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvODBiZTM5NjEtMDUyMS00YTBhLTg1NzAtNWNkNWE0ZTJmOThjL3Jlc291cmNlR3JvdXBzL0Nvc21vc0RCUmVzb3VyY2VHcm91cDM2NjgvcHJvdmlkZXJzL01pY3Jvc29mdC5Eb2N1bWVudERCL2RhdGFiYXNlQWNjb3VudHMvY2xpMTI0L3NxbERhdGFiYXNlcy9kYXRhYmFzZU5hbWUvY29udGFpbmVycy9jb250YWluZXJOYW1lL3RyaWdnZXJzL3RyaWdnZXJOYW1lP2FwaS12ZXJzaW9uPTIwMjEtMDQtMTU=", - "RequestMethod": "DELETE", - "RequestBody": "", - "RequestHeaders": { - "x-ms-client-request-id": [ - "28bbcc58-553f-4bba-974e-ea5a9fb8f4cd" - ], - "Accept-Language": [ - "en-US" - ], - "User-Agent": [ - "FxVersion/4.6.29916.01", - "OSName/Windows", - "OSVersion/Microsoft.Windows.10.0.19042.", - "Microsoft.Azure.Management.CosmosDB.CosmosDBManagementClient/3.0.0.0" - ] - }, - "ResponseHeaders": { - "Cache-Control": [ - "no-store, no-cache" - ], - "Pragma": [ - "no-cache" - ], - "Location": [ - "https://management.azure.com/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/resourceGroups/CosmosDBResourceGroup3668/providers/Microsoft.DocumentDB/databaseAccounts/cli124/sqlDatabases/databaseName/containers/containerName/triggers/triggerName/operationResults/94d60f8a-6b9b-4b5b-a7b8-fa4cb7395b87?api-version=2021-04-15" - ], - "Azure-AsyncOperation": [ - "https://management.azure.com/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/providers/Microsoft.DocumentDB/locations/eastus2/operationsStatus/94d60f8a-6b9b-4b5b-a7b8-fa4cb7395b87?api-version=2021-04-15" - ], - "x-ms-request-id": [ - "94d60f8a-6b9b-4b5b-a7b8-fa4cb7395b87" - ], - "Strict-Transport-Security": [ - "max-age=31536000; includeSubDomains" - ], - "x-ms-gatewayversion": [ - "version=2.11.0" - ], - "Server": [ - "Microsoft-HTTPAPI/2.0" - ], - "x-ms-ratelimit-remaining-subscription-deletes": [ - "14997" - ], - "x-ms-correlation-request-id": [ - "726722ee-8faa-49d0-ac60-6cc2d7aae8c9" - ], - "x-ms-routing-request-id": [ - "WESTCENTRALUS:20210427T174739Z:726722ee-8faa-49d0-ac60-6cc2d7aae8c9" - ], - "X-Content-Type-Options": [ - "nosniff" - ], - "Date": [ - "Tue, 27 Apr 2021 17:47:38 GMT" - ], - "Content-Length": [ - "21" - ], - "Content-Type": [ - "application/json" - ] - }, - "ResponseBody": "{\r\n \"status\": \"Enqueued\"\r\n}", - "StatusCode": 202 - }, - { - "RequestUri": "/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/resourceGroups/CosmosDBResourceGroup3668/providers/Microsoft.DocumentDB/databaseAccounts/cli124/sqlDatabases/databaseName2?api-version=2021-04-15", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvODBiZTM5NjEtMDUyMS00YTBhLTg1NzAtNWNkNWE0ZTJmOThjL3Jlc291cmNlR3JvdXBzL0Nvc21vc0RCUmVzb3VyY2VHcm91cDM2NjgvcHJvdmlkZXJzL01pY3Jvc29mdC5Eb2N1bWVudERCL2RhdGFiYXNlQWNjb3VudHMvY2xpMTI0L3NxbERhdGFiYXNlcy9kYXRhYmFzZU5hbWUyP2FwaS12ZXJzaW9uPTIwMjEtMDQtMTU=", - "RequestMethod": "DELETE", - "RequestBody": "", - "RequestHeaders": { - "x-ms-client-request-id": [ - "6cd1d9bd-b477-4bbe-bd60-f6b1ba6c3c50" - ], - "Accept-Language": [ - "en-US" - ], - "User-Agent": [ - "FxVersion/4.6.29916.01", - "OSName/Windows", - "OSVersion/Microsoft.Windows.10.0.19042.", - "Microsoft.Azure.Management.CosmosDB.CosmosDBManagementClient/3.0.0.0" - ] - }, - "ResponseHeaders": { - "Cache-Control": [ - "no-store, no-cache" - ], - "Pragma": [ - "no-cache" - ], - "Location": [ - "https://management.azure.com/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/resourceGroups/CosmosDBResourceGroup3668/providers/Microsoft.DocumentDB/databaseAccounts/cli124/sqlDatabases/databaseName2/operationResults/e1c048db-8895-4928-9550-efa5103929f0?api-version=2021-04-15" - ], - "Azure-AsyncOperation": [ - "https://management.azure.com/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/providers/Microsoft.DocumentDB/locations/eastus2/operationsStatus/e1c048db-8895-4928-9550-efa5103929f0?api-version=2021-04-15" - ], - "x-ms-request-id": [ - "e1c048db-8895-4928-9550-efa5103929f0" - ], - "Strict-Transport-Security": [ - "max-age=31536000; includeSubDomains" - ], - "x-ms-gatewayversion": [ - "version=2.11.0" - ], - "Server": [ - "Microsoft-HTTPAPI/2.0" - ], - "x-ms-ratelimit-remaining-subscription-deletes": [ - "14999" - ], - "x-ms-correlation-request-id": [ - "6fee37d4-1f77-4228-86de-05b6d5fa90cc" - ], - "x-ms-routing-request-id": [ - "WESTUS:20210427T174740Z:6fee37d4-1f77-4228-86de-05b6d5fa90cc" - ], - "X-Content-Type-Options": [ - "nosniff" - ], - "Date": [ - "Tue, 27 Apr 2021 17:47:39 GMT" - ], - "Content-Length": [ - "21" - ], - "Content-Type": [ - "application/json" - ] - }, - "ResponseBody": "{\r\n \"status\": \"Enqueued\"\r\n}", - "StatusCode": 202 - }, - { - "RequestUri": "/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/resourceGroups/CosmosDBResourceGroup3668/providers/Microsoft.DocumentDB/databaseAccounts/cli124/sqlDatabases/databaseName/containers/containerName?api-version=2021-04-15", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvODBiZTM5NjEtMDUyMS00YTBhLTg1NzAtNWNkNWE0ZTJmOThjL3Jlc291cmNlR3JvdXBzL0Nvc21vc0RCUmVzb3VyY2VHcm91cDM2NjgvcHJvdmlkZXJzL01pY3Jvc29mdC5Eb2N1bWVudERCL2RhdGFiYXNlQWNjb3VudHMvY2xpMTI0L3NxbERhdGFiYXNlcy9kYXRhYmFzZU5hbWUvY29udGFpbmVycy9jb250YWluZXJOYW1lP2FwaS12ZXJzaW9uPTIwMjEtMDQtMTU=", - "RequestMethod": "DELETE", - "RequestBody": "", - "RequestHeaders": { - "x-ms-client-request-id": [ - "79a91908-283b-416e-8cdc-f99e772edc6d" - ], - "Accept-Language": [ - "en-US" - ], - "User-Agent": [ - "FxVersion/4.6.29916.01", - "OSName/Windows", - "OSVersion/Microsoft.Windows.10.0.19042.", - "Microsoft.Azure.Management.CosmosDB.CosmosDBManagementClient/3.0.0.0" - ] - }, - "ResponseHeaders": { - "Cache-Control": [ - "no-store, no-cache" - ], - "Pragma": [ - "no-cache" - ], - "Location": [ - "https://management.azure.com/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/resourceGroups/CosmosDBResourceGroup3668/providers/Microsoft.DocumentDB/databaseAccounts/cli124/sqlDatabases/databaseName/containers/containerName/operationResults/60b90905-8556-4544-acec-1d3f9f188f36?api-version=2021-04-15" - ], - "Azure-AsyncOperation": [ - "https://management.azure.com/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/providers/Microsoft.DocumentDB/locations/eastus2/operationsStatus/60b90905-8556-4544-acec-1d3f9f188f36?api-version=2021-04-15" - ], - "x-ms-request-id": [ - "60b90905-8556-4544-acec-1d3f9f188f36" - ], - "Strict-Transport-Security": [ - "max-age=31536000; includeSubDomains" - ], - "x-ms-gatewayversion": [ - "version=2.11.0" - ], - "Server": [ - "Microsoft-HTTPAPI/2.0" - ], - "x-ms-ratelimit-remaining-subscription-deletes": [ - "14999" - ], - "x-ms-correlation-request-id": [ - "515d7330-56aa-4784-95ec-ee4122bfef6f" - ], - "x-ms-routing-request-id": [ - "WESTUS:20210427T174740Z:515d7330-56aa-4784-95ec-ee4122bfef6f" - ], - "X-Content-Type-Options": [ - "nosniff" - ], - "Date": [ - "Tue, 27 Apr 2021 17:47:39 GMT" - ], - "Content-Length": [ - "21" - ], - "Content-Type": [ - "application/json" - ] - }, - "ResponseBody": "{\r\n \"status\": \"Enqueued\"\r\n}", - "StatusCode": 202 - }, - { - "RequestUri": "/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/resourceGroups/CosmosDBResourceGroup3668/providers/Microsoft.DocumentDB/databaseAccounts/cli124/sqlDatabases/databaseName?api-version=2021-04-15", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvODBiZTM5NjEtMDUyMS00YTBhLTg1NzAtNWNkNWE0ZTJmOThjL3Jlc291cmNlR3JvdXBzL0Nvc21vc0RCUmVzb3VyY2VHcm91cDM2NjgvcHJvdmlkZXJzL01pY3Jvc29mdC5Eb2N1bWVudERCL2RhdGFiYXNlQWNjb3VudHMvY2xpMTI0L3NxbERhdGFiYXNlcy9kYXRhYmFzZU5hbWU/YXBpLXZlcnNpb249MjAyMS0wNC0xNQ==", - "RequestMethod": "DELETE", - "RequestBody": "", - "RequestHeaders": { - "x-ms-client-request-id": [ - "a9d15954-ff2a-4311-9679-fdf0c73f8868" - ], - "Accept-Language": [ - "en-US" - ], - "User-Agent": [ - "FxVersion/4.6.29916.01", - "OSName/Windows", - "OSVersion/Microsoft.Windows.10.0.19042.", - "Microsoft.Azure.Management.CosmosDB.CosmosDBManagementClient/3.0.0.0" - ] - }, - "ResponseHeaders": { - "Cache-Control": [ - "no-store, no-cache" - ], - "Pragma": [ - "no-cache" - ], - "Location": [ - "https://management.azure.com/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/resourceGroups/CosmosDBResourceGroup3668/providers/Microsoft.DocumentDB/databaseAccounts/cli124/sqlDatabases/databaseName/operationResults/c90f7d62-88d0-493c-9638-50750e043441?api-version=2021-04-15" - ], - "Azure-AsyncOperation": [ - "https://management.azure.com/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/providers/Microsoft.DocumentDB/locations/eastus2/operationsStatus/c90f7d62-88d0-493c-9638-50750e043441?api-version=2021-04-15" - ], - "x-ms-request-id": [ - "c90f7d62-88d0-493c-9638-50750e043441" - ], - "Strict-Transport-Security": [ - "max-age=31536000; includeSubDomains" - ], - "x-ms-gatewayversion": [ - "version=2.11.0" - ], - "Server": [ - "Microsoft-HTTPAPI/2.0" - ], - "x-ms-ratelimit-remaining-subscription-deletes": [ - "14999" - ], - "x-ms-correlation-request-id": [ - "e43c116b-883e-4c52-8685-77ebec203f08" - ], - "x-ms-routing-request-id": [ - "WESTUS:20210427T174740Z:e43c116b-883e-4c52-8685-77ebec203f08" - ], - "X-Content-Type-Options": [ - "nosniff" - ], - "Date": [ - "Tue, 27 Apr 2021 17:47:39 GMT" - ], - "Content-Length": [ - "21" - ], - "Content-Type": [ - "application/json" - ] - }, - "ResponseBody": "{\r\n \"status\": \"Enqueued\"\r\n}", - "StatusCode": 202 - }, - { - "RequestUri": "/providers/Microsoft.DocumentDB/databaseAccountNames/db8192?api-version=2021-04-15", - "EncodedRequestUri": "L3Byb3ZpZGVycy9NaWNyb3NvZnQuRG9jdW1lbnREQi9kYXRhYmFzZUFjY291bnROYW1lcy9kYjgxOTI/YXBpLXZlcnNpb249MjAyMS0wNC0xNQ==", + "RequestUri": "/providers/Microsoft.DocumentDB/databaseAccountNames/db8192?api-version=2021-06-15", + "EncodedRequestUri": "L3Byb3ZpZGVycy9NaWNyb3NvZnQuRG9jdW1lbnREQi9kYXRhYmFzZUFjY291bnROYW1lcy9kYjgxOTI/YXBpLXZlcnNpb249MjAyMS0wNi0xNQ==", "RequestMethod": "HEAD", "RequestBody": "", "RequestHeaders": { "x-ms-client-request-id": [ - "dd3681f1-68fe-46ff-a6d1-119773100b65" + "dde07586-6fa8-4303-b5f3-61883a43db99" ], "Accept-Language": [ "en-US" ], "User-Agent": [ - "FxVersion/4.6.29916.01", + "FxVersion/4.6.28207.03", "OSName/Windows", - "OSVersion/Microsoft.Windows.10.0.19042.", + "OSVersion/Microsoft.Windows.10.0.19043.", "Microsoft.Azure.Management.CosmosDB.CosmosDBManagementClient/3.0.0.0" ] }, @@ -306,7 +30,7 @@ "max-age=31536000; includeSubDomains" ], "x-ms-activity-id": [ - "dd3681f1-68fe-46ff-a6d1-119773100b65" + "dde07586-6fa8-4303-b5f3-61883a43db99" ], "Server": [ "Microsoft-HTTPAPI/2.0" @@ -315,19 +39,19 @@ "11999" ], "x-ms-request-id": [ - "7104e4e4-7cf9-4cd1-ba3f-2d93ccef4f17" + "beab185d-95f3-4a80-8ece-cc7d9f1ff791" ], "x-ms-correlation-request-id": [ - "7104e4e4-7cf9-4cd1-ba3f-2d93ccef4f17" + "beab185d-95f3-4a80-8ece-cc7d9f1ff791" ], "x-ms-routing-request-id": [ - "WESTUS:20210427T174740Z:7104e4e4-7cf9-4cd1-ba3f-2d93ccef4f17" + "WESTUS2:20210616T050603Z:beab185d-95f3-4a80-8ece-cc7d9f1ff791" ], "X-Content-Type-Options": [ "nosniff" ], "Date": [ - "Tue, 27 Apr 2021 17:47:39 GMT" + "Wed, 16 Jun 2021 05:06:03 GMT" ], "Content-Length": [ "0" @@ -337,21 +61,21 @@ "StatusCode": 200 }, { - "RequestUri": "/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/resourceGroups/CosmosDBResourceGroup3668/providers/Microsoft.DocumentDB/databaseAccounts/db8192/cassandraKeyspaces/keyspaceName2510?api-version=2021-04-15", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvODBiZTM5NjEtMDUyMS00YTBhLTg1NzAtNWNkNWE0ZTJmOThjL3Jlc291cmNlR3JvdXBzL0Nvc21vc0RCUmVzb3VyY2VHcm91cDM2NjgvcHJvdmlkZXJzL01pY3Jvc29mdC5Eb2N1bWVudERCL2RhdGFiYXNlQWNjb3VudHMvZGI4MTkyL2Nhc3NhbmRyYUtleXNwYWNlcy9rZXlzcGFjZU5hbWUyNTEwP2FwaS12ZXJzaW9uPTIwMjEtMDQtMTU=", + "RequestUri": "/subscriptions/259fbb24-9bcd-4cfc-865c-fc33b22fe38a/resourceGroups/CosmosDBResourceGroup3668/providers/Microsoft.DocumentDB/databaseAccounts/db8192/cassandraKeyspaces/keyspaceName2510?api-version=2021-06-15", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMjU5ZmJiMjQtOWJjZC00Y2ZjLTg2NWMtZmMzM2IyMmZlMzhhL3Jlc291cmNlR3JvdXBzL0Nvc21vc0RCUmVzb3VyY2VHcm91cDM2NjgvcHJvdmlkZXJzL01pY3Jvc29mdC5Eb2N1bWVudERCL2RhdGFiYXNlQWNjb3VudHMvZGI4MTkyL2Nhc3NhbmRyYUtleXNwYWNlcy9rZXlzcGFjZU5hbWUyNTEwP2FwaS12ZXJzaW9uPTIwMjEtMDYtMTU=", "RequestMethod": "PUT", "RequestBody": "{\r\n \"properties\": {\r\n \"resource\": {\r\n \"id\": \"keyspaceName2510\"\r\n },\r\n \"options\": {}\r\n }\r\n}", "RequestHeaders": { "x-ms-client-request-id": [ - "a0ae7e95-567a-4f7c-880a-c3063b2d2ac4" + "a0b62795-6d89-4386-ba75-7249794f384d" ], "Accept-Language": [ "en-US" ], "User-Agent": [ - "FxVersion/4.6.29916.01", + "FxVersion/4.6.28207.03", "OSName/Windows", - "OSVersion/Microsoft.Windows.10.0.19042.", + "OSVersion/Microsoft.Windows.10.0.19043.", "Microsoft.Azure.Management.CosmosDB.CosmosDBManagementClient/3.0.0.0" ], "Content-Type": [ @@ -369,19 +93,19 @@ "no-cache" ], "Location": [ - "https://management.azure.com/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/resourceGroups/CosmosDBResourceGroup3668/providers/Microsoft.DocumentDB/databaseAccounts/db8192/cassandraKeyspaces/keyspaceName2510/operationResults/81a66ce3-8f21-419b-8372-b1510c56ba6b?api-version=2021-04-15" + "https://management.azure.com/subscriptions/259fbb24-9bcd-4cfc-865c-fc33b22fe38a/resourceGroups/CosmosDBResourceGroup3668/providers/Microsoft.DocumentDB/databaseAccounts/db8192/cassandraKeyspaces/keyspaceName2510/operationResults/27266bce-a1b9-4313-b1fd-3c281e29ed3e?api-version=2021-06-15" ], "Azure-AsyncOperation": [ - "https://management.azure.com/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/providers/Microsoft.DocumentDB/locations/eastus2/operationsStatus/81a66ce3-8f21-419b-8372-b1510c56ba6b?api-version=2021-04-15" + "https://management.azure.com/subscriptions/259fbb24-9bcd-4cfc-865c-fc33b22fe38a/providers/Microsoft.DocumentDB/locations/eastus2/operationsStatus/27266bce-a1b9-4313-b1fd-3c281e29ed3e?api-version=2021-06-15" ], "x-ms-request-id": [ - "81a66ce3-8f21-419b-8372-b1510c56ba6b" + "27266bce-a1b9-4313-b1fd-3c281e29ed3e" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "x-ms-gatewayversion": [ - "version=2.11.0" + "version=2.14.0" ], "Server": [ "Microsoft-HTTPAPI/2.0" @@ -390,16 +114,16 @@ "1199" ], "x-ms-correlation-request-id": [ - "8ef18277-d913-443d-958f-77d326532fa1" + "986c454c-81cd-4b14-a19d-c3e191dbc22b" ], "x-ms-routing-request-id": [ - "WESTUS:20210427T174741Z:8ef18277-d913-443d-958f-77d326532fa1" + "WESTUS2:20210616T050604Z:986c454c-81cd-4b14-a19d-c3e191dbc22b" ], "X-Content-Type-Options": [ "nosniff" ], "Date": [ - "Tue, 27 Apr 2021 17:47:40 GMT" + "Wed, 16 Jun 2021 05:06:04 GMT" ], "Content-Length": [ "21" @@ -412,15 +136,15 @@ "StatusCode": 202 }, { - "RequestUri": "/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/providers/Microsoft.DocumentDB/locations/eastus2/operationsStatus/81a66ce3-8f21-419b-8372-b1510c56ba6b?api-version=2021-04-15", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvODBiZTM5NjEtMDUyMS00YTBhLTg1NzAtNWNkNWE0ZTJmOThjL3Byb3ZpZGVycy9NaWNyb3NvZnQuRG9jdW1lbnREQi9sb2NhdGlvbnMvZWFzdHVzMi9vcGVyYXRpb25zU3RhdHVzLzgxYTY2Y2UzLThmMjEtNDE5Yi04MzcyLWIxNTEwYzU2YmE2Yj9hcGktdmVyc2lvbj0yMDIxLTA0LTE1", + "RequestUri": "/subscriptions/259fbb24-9bcd-4cfc-865c-fc33b22fe38a/providers/Microsoft.DocumentDB/locations/eastus2/operationsStatus/27266bce-a1b9-4313-b1fd-3c281e29ed3e?api-version=2021-06-15", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMjU5ZmJiMjQtOWJjZC00Y2ZjLTg2NWMtZmMzM2IyMmZlMzhhL3Byb3ZpZGVycy9NaWNyb3NvZnQuRG9jdW1lbnREQi9sb2NhdGlvbnMvZWFzdHVzMi9vcGVyYXRpb25zU3RhdHVzLzI3MjY2YmNlLWExYjktNDMxMy1iMWZkLTNjMjgxZTI5ZWQzZT9hcGktdmVyc2lvbj0yMDIxLTA2LTE1", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { "User-Agent": [ - "FxVersion/4.6.29916.01", + "FxVersion/4.6.28207.03", "OSName/Windows", - "OSVersion/Microsoft.Windows.10.0.19042.", + "OSVersion/Microsoft.Windows.10.0.19043.", "Microsoft.Azure.Management.CosmosDB.CosmosDBManagementClient/3.0.0.0" ] }, @@ -435,7 +159,7 @@ "max-age=31536000; includeSubDomains" ], "x-ms-gatewayversion": [ - "version=2.11.0" + "version=2.14.0" ], "Server": [ "Microsoft-HTTPAPI/2.0" @@ -444,19 +168,19 @@ "11999" ], "x-ms-request-id": [ - "3d33c631-8e28-4832-9a8d-53b13c900c0f" + "dea58551-7fd4-4a22-9f59-1abe768c8f5b" ], "x-ms-correlation-request-id": [ - "3d33c631-8e28-4832-9a8d-53b13c900c0f" + "dea58551-7fd4-4a22-9f59-1abe768c8f5b" ], "x-ms-routing-request-id": [ - "WESTUS:20210427T174811Z:3d33c631-8e28-4832-9a8d-53b13c900c0f" + "WESTUS2:20210616T050634Z:dea58551-7fd4-4a22-9f59-1abe768c8f5b" ], "X-Content-Type-Options": [ "nosniff" ], "Date": [ - "Tue, 27 Apr 2021 17:48:11 GMT" + "Wed, 16 Jun 2021 05:06:34 GMT" ], "Content-Length": [ "22" @@ -469,15 +193,15 @@ "StatusCode": 200 }, { - "RequestUri": "/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/resourceGroups/CosmosDBResourceGroup3668/providers/Microsoft.DocumentDB/databaseAccounts/db8192/cassandraKeyspaces/keyspaceName2510?api-version=2021-04-15", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvODBiZTM5NjEtMDUyMS00YTBhLTg1NzAtNWNkNWE0ZTJmOThjL3Jlc291cmNlR3JvdXBzL0Nvc21vc0RCUmVzb3VyY2VHcm91cDM2NjgvcHJvdmlkZXJzL01pY3Jvc29mdC5Eb2N1bWVudERCL2RhdGFiYXNlQWNjb3VudHMvZGI4MTkyL2Nhc3NhbmRyYUtleXNwYWNlcy9rZXlzcGFjZU5hbWUyNTEwP2FwaS12ZXJzaW9uPTIwMjEtMDQtMTU=", + "RequestUri": "/subscriptions/259fbb24-9bcd-4cfc-865c-fc33b22fe38a/resourceGroups/CosmosDBResourceGroup3668/providers/Microsoft.DocumentDB/databaseAccounts/db8192/cassandraKeyspaces/keyspaceName2510?api-version=2021-06-15", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMjU5ZmJiMjQtOWJjZC00Y2ZjLTg2NWMtZmMzM2IyMmZlMzhhL3Jlc291cmNlR3JvdXBzL0Nvc21vc0RCUmVzb3VyY2VHcm91cDM2NjgvcHJvdmlkZXJzL01pY3Jvc29mdC5Eb2N1bWVudERCL2RhdGFiYXNlQWNjb3VudHMvZGI4MTkyL2Nhc3NhbmRyYUtleXNwYWNlcy9rZXlzcGFjZU5hbWUyNTEwP2FwaS12ZXJzaW9uPTIwMjEtMDYtMTU=", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { "User-Agent": [ - "FxVersion/4.6.29916.01", + "FxVersion/4.6.28207.03", "OSName/Windows", - "OSVersion/Microsoft.Windows.10.0.19042.", + "OSVersion/Microsoft.Windows.10.0.19043.", "Microsoft.Azure.Management.CosmosDB.CosmosDBManagementClient/3.0.0.0" ] }, @@ -492,7 +216,7 @@ "max-age=31536000; includeSubDomains" ], "x-ms-gatewayversion": [ - "version=2.11.0" + "version=2.14.0" ], "Server": [ "Microsoft-HTTPAPI/2.0" @@ -501,19 +225,19 @@ "11998" ], "x-ms-request-id": [ - "b82e0dc8-0119-4c9e-a5a6-67dbec5ba7f8" + "d4c8da32-54a9-4778-b6d1-60b49e159f15" ], "x-ms-correlation-request-id": [ - "b82e0dc8-0119-4c9e-a5a6-67dbec5ba7f8" + "d4c8da32-54a9-4778-b6d1-60b49e159f15" ], "x-ms-routing-request-id": [ - "WESTUS:20210427T174811Z:b82e0dc8-0119-4c9e-a5a6-67dbec5ba7f8" + "WESTUS2:20210616T050635Z:d4c8da32-54a9-4778-b6d1-60b49e159f15" ], "X-Content-Type-Options": [ "nosniff" ], "Date": [ - "Tue, 27 Apr 2021 17:48:11 GMT" + "Wed, 16 Jun 2021 05:06:34 GMT" ], "Content-Length": [ "422" @@ -522,25 +246,25 @@ "application/json" ] }, - "ResponseBody": "{\r\n \"id\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/resourceGroups/CosmosDBResourceGroup3668/providers/Microsoft.DocumentDB/databaseAccounts/db8192/cassandraKeyspaces/keyspaceName2510\",\r\n \"type\": \"Microsoft.DocumentDB/databaseAccounts/cassandraKeyspaces\",\r\n \"name\": \"keyspaceName2510\",\r\n \"properties\": {\r\n \"resource\": {\r\n \"id\": \"keyspaceName2510\",\r\n \"_rid\": \"Xl87AA==\",\r\n \"_etag\": \"\\\"00000100-0000-0200-0000-60884e430000\\\"\",\r\n \"_ts\": 1619545667\r\n }\r\n }\r\n}", + "ResponseBody": "{\r\n \"id\": \"/subscriptions/259fbb24-9bcd-4cfc-865c-fc33b22fe38a/resourceGroups/CosmosDBResourceGroup3668/providers/Microsoft.DocumentDB/databaseAccounts/db8192/cassandraKeyspaces/keyspaceName2510\",\r\n \"type\": \"Microsoft.DocumentDB/databaseAccounts/cassandraKeyspaces\",\r\n \"name\": \"keyspaceName2510\",\r\n \"properties\": {\r\n \"resource\": {\r\n \"id\": \"keyspaceName2510\",\r\n \"_rid\": \"8uZ2AA==\",\r\n \"_etag\": \"\\\"0000bb34-0000-0200-0000-60c11a870000\\\"\",\r\n \"_ts\": 1623267975\r\n }\r\n }\r\n}", "StatusCode": 200 }, { - "RequestUri": "/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/resourceGroups/CosmosDBResourceGroup3668/providers/Microsoft.DocumentDB/databaseAccounts/db8192/cassandraKeyspaces/keyspaceName2510?api-version=2021-04-15", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvODBiZTM5NjEtMDUyMS00YTBhLTg1NzAtNWNkNWE0ZTJmOThjL3Jlc291cmNlR3JvdXBzL0Nvc21vc0RCUmVzb3VyY2VHcm91cDM2NjgvcHJvdmlkZXJzL01pY3Jvc29mdC5Eb2N1bWVudERCL2RhdGFiYXNlQWNjb3VudHMvZGI4MTkyL2Nhc3NhbmRyYUtleXNwYWNlcy9rZXlzcGFjZU5hbWUyNTEwP2FwaS12ZXJzaW9uPTIwMjEtMDQtMTU=", + "RequestUri": "/subscriptions/259fbb24-9bcd-4cfc-865c-fc33b22fe38a/resourceGroups/CosmosDBResourceGroup3668/providers/Microsoft.DocumentDB/databaseAccounts/db8192/cassandraKeyspaces/keyspaceName2510?api-version=2021-06-15", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMjU5ZmJiMjQtOWJjZC00Y2ZjLTg2NWMtZmMzM2IyMmZlMzhhL3Jlc291cmNlR3JvdXBzL0Nvc21vc0RCUmVzb3VyY2VHcm91cDM2NjgvcHJvdmlkZXJzL01pY3Jvc29mdC5Eb2N1bWVudERCL2RhdGFiYXNlQWNjb3VudHMvZGI4MTkyL2Nhc3NhbmRyYUtleXNwYWNlcy9rZXlzcGFjZU5hbWUyNTEwP2FwaS12ZXJzaW9uPTIwMjEtMDYtMTU=", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { "x-ms-client-request-id": [ - "f0338bea-680c-4047-afb2-300f8e1f663d" + "6fc73548-4ad7-4621-952f-a9216ff0cebd" ], "Accept-Language": [ "en-US" ], "User-Agent": [ - "FxVersion/4.6.29916.01", + "FxVersion/4.6.28207.03", "OSName/Windows", - "OSVersion/Microsoft.Windows.10.0.19042.", + "OSVersion/Microsoft.Windows.10.0.19043.", "Microsoft.Azure.Management.CosmosDB.CosmosDBManagementClient/3.0.0.0" ] }, @@ -555,7 +279,7 @@ "max-age=31536000; includeSubDomains" ], "x-ms-gatewayversion": [ - "version=2.11.0" + "version=2.14.0" ], "Server": [ "Microsoft-HTTPAPI/2.0" @@ -564,19 +288,19 @@ "11997" ], "x-ms-request-id": [ - "3d05259a-9b2f-42e4-bf9a-56be40a6b825" + "32ef104d-4923-4a4e-85ec-eb90502194aa" ], "x-ms-correlation-request-id": [ - "3d05259a-9b2f-42e4-bf9a-56be40a6b825" + "32ef104d-4923-4a4e-85ec-eb90502194aa" ], "x-ms-routing-request-id": [ - "WESTUS:20210427T174812Z:3d05259a-9b2f-42e4-bf9a-56be40a6b825" + "WESTUS2:20210616T050635Z:32ef104d-4923-4a4e-85ec-eb90502194aa" ], "X-Content-Type-Options": [ "nosniff" ], "Date": [ - "Tue, 27 Apr 2021 17:48:11 GMT" + "Wed, 16 Jun 2021 05:06:34 GMT" ], "Content-Length": [ "422" @@ -585,25 +309,25 @@ "application/json" ] }, - "ResponseBody": "{\r\n \"id\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/resourceGroups/CosmosDBResourceGroup3668/providers/Microsoft.DocumentDB/databaseAccounts/db8192/cassandraKeyspaces/keyspaceName2510\",\r\n \"type\": \"Microsoft.DocumentDB/databaseAccounts/cassandraKeyspaces\",\r\n \"name\": \"keyspaceName2510\",\r\n \"properties\": {\r\n \"resource\": {\r\n \"id\": \"keyspaceName2510\",\r\n \"_rid\": \"Xl87AA==\",\r\n \"_etag\": \"\\\"00000100-0000-0200-0000-60884e430000\\\"\",\r\n \"_ts\": 1619545667\r\n }\r\n }\r\n}", + "ResponseBody": "{\r\n \"id\": \"/subscriptions/259fbb24-9bcd-4cfc-865c-fc33b22fe38a/resourceGroups/CosmosDBResourceGroup3668/providers/Microsoft.DocumentDB/databaseAccounts/db8192/cassandraKeyspaces/keyspaceName2510\",\r\n \"type\": \"Microsoft.DocumentDB/databaseAccounts/cassandraKeyspaces\",\r\n \"name\": \"keyspaceName2510\",\r\n \"properties\": {\r\n \"resource\": {\r\n \"id\": \"keyspaceName2510\",\r\n \"_rid\": \"8uZ2AA==\",\r\n \"_etag\": \"\\\"0000bb34-0000-0200-0000-60c11a870000\\\"\",\r\n \"_ts\": 1623267975\r\n }\r\n }\r\n}", "StatusCode": 200 }, { - "RequestUri": "/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/resourceGroups/CosmosDBResourceGroup3668/providers/Microsoft.DocumentDB/databaseAccounts/db8192/cassandraKeyspaces/keyspaceName22510?api-version=2021-04-15", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvODBiZTM5NjEtMDUyMS00YTBhLTg1NzAtNWNkNWE0ZTJmOThjL3Jlc291cmNlR3JvdXBzL0Nvc21vc0RCUmVzb3VyY2VHcm91cDM2NjgvcHJvdmlkZXJzL01pY3Jvc29mdC5Eb2N1bWVudERCL2RhdGFiYXNlQWNjb3VudHMvZGI4MTkyL2Nhc3NhbmRyYUtleXNwYWNlcy9rZXlzcGFjZU5hbWUyMjUxMD9hcGktdmVyc2lvbj0yMDIxLTA0LTE1", + "RequestUri": "/subscriptions/259fbb24-9bcd-4cfc-865c-fc33b22fe38a/resourceGroups/CosmosDBResourceGroup3668/providers/Microsoft.DocumentDB/databaseAccounts/db8192/cassandraKeyspaces/keyspaceName22510?api-version=2021-06-15", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMjU5ZmJiMjQtOWJjZC00Y2ZjLTg2NWMtZmMzM2IyMmZlMzhhL3Jlc291cmNlR3JvdXBzL0Nvc21vc0RCUmVzb3VyY2VHcm91cDM2NjgvcHJvdmlkZXJzL01pY3Jvc29mdC5Eb2N1bWVudERCL2RhdGFiYXNlQWNjb3VudHMvZGI4MTkyL2Nhc3NhbmRyYUtleXNwYWNlcy9rZXlzcGFjZU5hbWUyMjUxMD9hcGktdmVyc2lvbj0yMDIxLTA2LTE1", "RequestMethod": "PUT", "RequestBody": "{\r\n \"properties\": {\r\n \"resource\": {\r\n \"id\": \"keyspaceName22510\"\r\n },\r\n \"options\": {\r\n \"throughput\": 700\r\n }\r\n },\r\n \"location\": \"EAST US 2\",\r\n \"tags\": {\r\n \"key3\": \"value3\",\r\n \"key4\": \"value4\"\r\n }\r\n}", "RequestHeaders": { "x-ms-client-request-id": [ - "678f2f81-8c02-4887-8525-ce089c99eb82" + "337e0cdb-9bd5-4a03-99e8-d6fe4c9bf236" ], "Accept-Language": [ "en-US" ], "User-Agent": [ - "FxVersion/4.6.29916.01", + "FxVersion/4.6.28207.03", "OSName/Windows", - "OSVersion/Microsoft.Windows.10.0.19042.", + "OSVersion/Microsoft.Windows.10.0.19043.", "Microsoft.Azure.Management.CosmosDB.CosmosDBManagementClient/3.0.0.0" ], "Content-Type": [ @@ -621,19 +345,19 @@ "no-cache" ], "Location": [ - "https://management.azure.com/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/resourceGroups/CosmosDBResourceGroup3668/providers/Microsoft.DocumentDB/databaseAccounts/db8192/cassandraKeyspaces/keyspaceName22510/operationResults/6234a1d3-42b9-4090-ab3b-17f87846ecc5?api-version=2021-04-15" + "https://management.azure.com/subscriptions/259fbb24-9bcd-4cfc-865c-fc33b22fe38a/resourceGroups/CosmosDBResourceGroup3668/providers/Microsoft.DocumentDB/databaseAccounts/db8192/cassandraKeyspaces/keyspaceName22510/operationResults/5a13f6b8-026e-4ac7-a825-087da080479a?api-version=2021-06-15" ], "Azure-AsyncOperation": [ - "https://management.azure.com/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/providers/Microsoft.DocumentDB/locations/eastus2/operationsStatus/6234a1d3-42b9-4090-ab3b-17f87846ecc5?api-version=2021-04-15" + "https://management.azure.com/subscriptions/259fbb24-9bcd-4cfc-865c-fc33b22fe38a/providers/Microsoft.DocumentDB/locations/eastus2/operationsStatus/5a13f6b8-026e-4ac7-a825-087da080479a?api-version=2021-06-15" ], "x-ms-request-id": [ - "6234a1d3-42b9-4090-ab3b-17f87846ecc5" + "5a13f6b8-026e-4ac7-a825-087da080479a" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "x-ms-gatewayversion": [ - "version=2.11.0" + "version=2.14.0" ], "Server": [ "Microsoft-HTTPAPI/2.0" @@ -642,16 +366,16 @@ "1198" ], "x-ms-correlation-request-id": [ - "381e5274-a313-463b-8764-325b58adb702" + "718c0597-d9ef-49cf-9622-35f4e95b8114" ], "x-ms-routing-request-id": [ - "WESTUS:20210427T174813Z:381e5274-a313-463b-8764-325b58adb702" + "WESTUS2:20210616T050636Z:718c0597-d9ef-49cf-9622-35f4e95b8114" ], "X-Content-Type-Options": [ "nosniff" ], "Date": [ - "Tue, 27 Apr 2021 17:48:12 GMT" + "Wed, 16 Jun 2021 05:06:35 GMT" ], "Content-Length": [ "21" @@ -664,15 +388,15 @@ "StatusCode": 202 }, { - "RequestUri": "/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/providers/Microsoft.DocumentDB/locations/eastus2/operationsStatus/6234a1d3-42b9-4090-ab3b-17f87846ecc5?api-version=2021-04-15", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvODBiZTM5NjEtMDUyMS00YTBhLTg1NzAtNWNkNWE0ZTJmOThjL3Byb3ZpZGVycy9NaWNyb3NvZnQuRG9jdW1lbnREQi9sb2NhdGlvbnMvZWFzdHVzMi9vcGVyYXRpb25zU3RhdHVzLzYyMzRhMWQzLTQyYjktNDA5MC1hYjNiLTE3Zjg3ODQ2ZWNjNT9hcGktdmVyc2lvbj0yMDIxLTA0LTE1", + "RequestUri": "/subscriptions/259fbb24-9bcd-4cfc-865c-fc33b22fe38a/providers/Microsoft.DocumentDB/locations/eastus2/operationsStatus/5a13f6b8-026e-4ac7-a825-087da080479a?api-version=2021-06-15", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMjU5ZmJiMjQtOWJjZC00Y2ZjLTg2NWMtZmMzM2IyMmZlMzhhL3Byb3ZpZGVycy9NaWNyb3NvZnQuRG9jdW1lbnREQi9sb2NhdGlvbnMvZWFzdHVzMi9vcGVyYXRpb25zU3RhdHVzLzVhMTNmNmI4LTAyNmUtNGFjNy1hODI1LTA4N2RhMDgwNDc5YT9hcGktdmVyc2lvbj0yMDIxLTA2LTE1", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { "User-Agent": [ - "FxVersion/4.6.29916.01", + "FxVersion/4.6.28207.03", "OSName/Windows", - "OSVersion/Microsoft.Windows.10.0.19042.", + "OSVersion/Microsoft.Windows.10.0.19043.", "Microsoft.Azure.Management.CosmosDB.CosmosDBManagementClient/3.0.0.0" ] }, @@ -687,7 +411,7 @@ "max-age=31536000; includeSubDomains" ], "x-ms-gatewayversion": [ - "version=2.11.0" + "version=2.14.0" ], "Server": [ "Microsoft-HTTPAPI/2.0" @@ -696,19 +420,19 @@ "11996" ], "x-ms-request-id": [ - "d35314d5-25b3-4cc8-bff4-465fabc1b74e" + "48eaf714-0608-4431-8ea0-8a744e397ad1" ], "x-ms-correlation-request-id": [ - "d35314d5-25b3-4cc8-bff4-465fabc1b74e" + "48eaf714-0608-4431-8ea0-8a744e397ad1" ], "x-ms-routing-request-id": [ - "WESTUS:20210427T174843Z:d35314d5-25b3-4cc8-bff4-465fabc1b74e" + "WESTUS2:20210616T050706Z:48eaf714-0608-4431-8ea0-8a744e397ad1" ], "X-Content-Type-Options": [ "nosniff" ], "Date": [ - "Tue, 27 Apr 2021 17:48:42 GMT" + "Wed, 16 Jun 2021 05:07:05 GMT" ], "Content-Length": [ "22" @@ -721,15 +445,15 @@ "StatusCode": 200 }, { - "RequestUri": "/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/resourceGroups/CosmosDBResourceGroup3668/providers/Microsoft.DocumentDB/databaseAccounts/db8192/cassandraKeyspaces/keyspaceName22510?api-version=2021-04-15", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvODBiZTM5NjEtMDUyMS00YTBhLTg1NzAtNWNkNWE0ZTJmOThjL3Jlc291cmNlR3JvdXBzL0Nvc21vc0RCUmVzb3VyY2VHcm91cDM2NjgvcHJvdmlkZXJzL01pY3Jvc29mdC5Eb2N1bWVudERCL2RhdGFiYXNlQWNjb3VudHMvZGI4MTkyL2Nhc3NhbmRyYUtleXNwYWNlcy9rZXlzcGFjZU5hbWUyMjUxMD9hcGktdmVyc2lvbj0yMDIxLTA0LTE1", + "RequestUri": "/subscriptions/259fbb24-9bcd-4cfc-865c-fc33b22fe38a/resourceGroups/CosmosDBResourceGroup3668/providers/Microsoft.DocumentDB/databaseAccounts/db8192/cassandraKeyspaces/keyspaceName22510?api-version=2021-06-15", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMjU5ZmJiMjQtOWJjZC00Y2ZjLTg2NWMtZmMzM2IyMmZlMzhhL3Jlc291cmNlR3JvdXBzL0Nvc21vc0RCUmVzb3VyY2VHcm91cDM2NjgvcHJvdmlkZXJzL01pY3Jvc29mdC5Eb2N1bWVudERCL2RhdGFiYXNlQWNjb3VudHMvZGI4MTkyL2Nhc3NhbmRyYUtleXNwYWNlcy9rZXlzcGFjZU5hbWUyMjUxMD9hcGktdmVyc2lvbj0yMDIxLTA2LTE1", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { "User-Agent": [ - "FxVersion/4.6.29916.01", + "FxVersion/4.6.28207.03", "OSName/Windows", - "OSVersion/Microsoft.Windows.10.0.19042.", + "OSVersion/Microsoft.Windows.10.0.19043.", "Microsoft.Azure.Management.CosmosDB.CosmosDBManagementClient/3.0.0.0" ] }, @@ -744,7 +468,7 @@ "max-age=31536000; includeSubDomains" ], "x-ms-gatewayversion": [ - "version=2.11.0" + "version=2.14.0" ], "Server": [ "Microsoft-HTTPAPI/2.0" @@ -753,19 +477,19 @@ "11995" ], "x-ms-request-id": [ - "7be470de-6188-4819-a080-e3bb9a178830" + "d0338d1e-2033-4483-b0ec-7157712f0f19" ], "x-ms-correlation-request-id": [ - "7be470de-6188-4819-a080-e3bb9a178830" + "d0338d1e-2033-4483-b0ec-7157712f0f19" ], "x-ms-routing-request-id": [ - "WESTUS:20210427T174843Z:7be470de-6188-4819-a080-e3bb9a178830" + "WESTUS2:20210616T050706Z:d0338d1e-2033-4483-b0ec-7157712f0f19" ], "X-Content-Type-Options": [ "nosniff" ], "Date": [ - "Tue, 27 Apr 2021 17:48:43 GMT" + "Wed, 16 Jun 2021 05:07:05 GMT" ], "Content-Length": [ "425" @@ -774,25 +498,25 @@ "application/json" ] }, - "ResponseBody": "{\r\n \"id\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/resourceGroups/CosmosDBResourceGroup3668/providers/Microsoft.DocumentDB/databaseAccounts/db8192/cassandraKeyspaces/keyspaceName22510\",\r\n \"type\": \"Microsoft.DocumentDB/databaseAccounts/cassandraKeyspaces\",\r\n \"name\": \"keyspaceName22510\",\r\n \"properties\": {\r\n \"resource\": {\r\n \"id\": \"keyspaceName22510\",\r\n \"_rid\": \"mkNJAA==\",\r\n \"_etag\": \"\\\"00000300-0000-0200-0000-60884e670000\\\"\",\r\n \"_ts\": 1619545703\r\n }\r\n }\r\n}", + "ResponseBody": "{\r\n \"id\": \"/subscriptions/259fbb24-9bcd-4cfc-865c-fc33b22fe38a/resourceGroups/CosmosDBResourceGroup3668/providers/Microsoft.DocumentDB/databaseAccounts/db8192/cassandraKeyspaces/keyspaceName22510\",\r\n \"type\": \"Microsoft.DocumentDB/databaseAccounts/cassandraKeyspaces\",\r\n \"name\": \"keyspaceName22510\",\r\n \"properties\": {\r\n \"resource\": {\r\n \"id\": \"keyspaceName22510\",\r\n \"_rid\": \"y5o1AA==\",\r\n \"_etag\": \"\\\"0000c734-0000-0200-0000-60c11aa90000\\\"\",\r\n \"_ts\": 1623268009\r\n }\r\n }\r\n}", "StatusCode": 200 }, { - "RequestUri": "/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/resourceGroups/CosmosDBResourceGroup3668/providers/Microsoft.DocumentDB/databaseAccounts/db8192/cassandraKeyspaces?api-version=2021-04-15", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvODBiZTM5NjEtMDUyMS00YTBhLTg1NzAtNWNkNWE0ZTJmOThjL3Jlc291cmNlR3JvdXBzL0Nvc21vc0RCUmVzb3VyY2VHcm91cDM2NjgvcHJvdmlkZXJzL01pY3Jvc29mdC5Eb2N1bWVudERCL2RhdGFiYXNlQWNjb3VudHMvZGI4MTkyL2Nhc3NhbmRyYUtleXNwYWNlcz9hcGktdmVyc2lvbj0yMDIxLTA0LTE1", + "RequestUri": "/subscriptions/259fbb24-9bcd-4cfc-865c-fc33b22fe38a/resourceGroups/CosmosDBResourceGroup3668/providers/Microsoft.DocumentDB/databaseAccounts/db8192/cassandraKeyspaces?api-version=2021-06-15", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMjU5ZmJiMjQtOWJjZC00Y2ZjLTg2NWMtZmMzM2IyMmZlMzhhL3Jlc291cmNlR3JvdXBzL0Nvc21vc0RCUmVzb3VyY2VHcm91cDM2NjgvcHJvdmlkZXJzL01pY3Jvc29mdC5Eb2N1bWVudERCL2RhdGFiYXNlQWNjb3VudHMvZGI4MTkyL2Nhc3NhbmRyYUtleXNwYWNlcz9hcGktdmVyc2lvbj0yMDIxLTA2LTE1", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { "x-ms-client-request-id": [ - "aee71252-edc4-4462-9322-d91aa98450c9" + "09473c92-121f-4019-9b73-10589636ed17" ], "Accept-Language": [ "en-US" ], "User-Agent": [ - "FxVersion/4.6.29916.01", + "FxVersion/4.6.28207.03", "OSName/Windows", - "OSVersion/Microsoft.Windows.10.0.19042.", + "OSVersion/Microsoft.Windows.10.0.19043.", "Microsoft.Azure.Management.CosmosDB.CosmosDBManagementClient/3.0.0.0" ] }, @@ -807,7 +531,7 @@ "max-age=31536000; includeSubDomains" ], "x-ms-gatewayversion": [ - "version=2.11.0" + "version=2.14.0" ], "Server": [ "Microsoft-HTTPAPI/2.0" @@ -816,19 +540,19 @@ "11994" ], "x-ms-request-id": [ - "fd14a9fe-c7ba-4842-9517-dde1f08ca286" + "09145d69-a632-4763-af39-6ec914450d68" ], "x-ms-correlation-request-id": [ - "fd14a9fe-c7ba-4842-9517-dde1f08ca286" + "09145d69-a632-4763-af39-6ec914450d68" ], "x-ms-routing-request-id": [ - "WESTUS:20210427T174843Z:fd14a9fe-c7ba-4842-9517-dde1f08ca286" + "WESTUS2:20210616T050706Z:09145d69-a632-4763-af39-6ec914450d68" ], "X-Content-Type-Options": [ "nosniff" ], "Date": [ - "Tue, 27 Apr 2021 17:48:43 GMT" + "Wed, 16 Jun 2021 05:07:05 GMT" ], "Content-Length": [ "860" @@ -837,25 +561,25 @@ "application/json" ] }, - "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/resourceGroups/CosmosDBResourceGroup3668/providers/Microsoft.DocumentDB/databaseAccounts/db8192/cassandraKeyspaces/keyspaceName2510\",\r\n \"type\": \"Microsoft.DocumentDB/databaseAccounts/cassandraKeyspaces\",\r\n \"name\": \"keyspaceName2510\",\r\n \"properties\": {\r\n \"resource\": {\r\n \"id\": \"keyspaceName2510\",\r\n \"_rid\": \"Xl87AA==\",\r\n \"_etag\": \"\\\"00000100-0000-0200-0000-60884e430000\\\"\",\r\n \"_ts\": 1619545667\r\n }\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/resourceGroups/CosmosDBResourceGroup3668/providers/Microsoft.DocumentDB/databaseAccounts/db8192/cassandraKeyspaces/keyspaceName22510\",\r\n \"type\": \"Microsoft.DocumentDB/databaseAccounts/cassandraKeyspaces\",\r\n \"name\": \"keyspaceName22510\",\r\n \"properties\": {\r\n \"resource\": {\r\n \"id\": \"keyspaceName22510\",\r\n \"_rid\": \"mkNJAA==\",\r\n \"_etag\": \"\\\"00000300-0000-0200-0000-60884e670000\\\"\",\r\n \"_ts\": 1619545703\r\n }\r\n }\r\n }\r\n ]\r\n}", + "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/subscriptions/259fbb24-9bcd-4cfc-865c-fc33b22fe38a/resourceGroups/CosmosDBResourceGroup3668/providers/Microsoft.DocumentDB/databaseAccounts/db8192/cassandraKeyspaces/keyspaceName22510\",\r\n \"type\": \"Microsoft.DocumentDB/databaseAccounts/cassandraKeyspaces\",\r\n \"name\": \"keyspaceName22510\",\r\n \"properties\": {\r\n \"resource\": {\r\n \"id\": \"keyspaceName22510\",\r\n \"_rid\": \"y5o1AA==\",\r\n \"_etag\": \"\\\"0000c734-0000-0200-0000-60c11aa90000\\\"\",\r\n \"_ts\": 1623268009\r\n }\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/259fbb24-9bcd-4cfc-865c-fc33b22fe38a/resourceGroups/CosmosDBResourceGroup3668/providers/Microsoft.DocumentDB/databaseAccounts/db8192/cassandraKeyspaces/keyspaceName2510\",\r\n \"type\": \"Microsoft.DocumentDB/databaseAccounts/cassandraKeyspaces\",\r\n \"name\": \"keyspaceName2510\",\r\n \"properties\": {\r\n \"resource\": {\r\n \"id\": \"keyspaceName2510\",\r\n \"_rid\": \"8uZ2AA==\",\r\n \"_etag\": \"\\\"0000bb34-0000-0200-0000-60c11a870000\\\"\",\r\n \"_ts\": 1623267975\r\n }\r\n }\r\n }\r\n ]\r\n}", "StatusCode": 200 }, { - "RequestUri": "/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/resourceGroups/CosmosDBResourceGroup3668/providers/Microsoft.DocumentDB/databaseAccounts/db8192/cassandraKeyspaces/keyspaceName22510/throughputSettings/default?api-version=2021-04-15", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvODBiZTM5NjEtMDUyMS00YTBhLTg1NzAtNWNkNWE0ZTJmOThjL3Jlc291cmNlR3JvdXBzL0Nvc21vc0RCUmVzb3VyY2VHcm91cDM2NjgvcHJvdmlkZXJzL01pY3Jvc29mdC5Eb2N1bWVudERCL2RhdGFiYXNlQWNjb3VudHMvZGI4MTkyL2Nhc3NhbmRyYUtleXNwYWNlcy9rZXlzcGFjZU5hbWUyMjUxMC90aHJvdWdocHV0U2V0dGluZ3MvZGVmYXVsdD9hcGktdmVyc2lvbj0yMDIxLTA0LTE1", + "RequestUri": "/subscriptions/259fbb24-9bcd-4cfc-865c-fc33b22fe38a/resourceGroups/CosmosDBResourceGroup3668/providers/Microsoft.DocumentDB/databaseAccounts/db8192/cassandraKeyspaces/keyspaceName22510/throughputSettings/default?api-version=2021-06-15", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMjU5ZmJiMjQtOWJjZC00Y2ZjLTg2NWMtZmMzM2IyMmZlMzhhL3Jlc291cmNlR3JvdXBzL0Nvc21vc0RCUmVzb3VyY2VHcm91cDM2NjgvcHJvdmlkZXJzL01pY3Jvc29mdC5Eb2N1bWVudERCL2RhdGFiYXNlQWNjb3VudHMvZGI4MTkyL2Nhc3NhbmRyYUtleXNwYWNlcy9rZXlzcGFjZU5hbWUyMjUxMC90aHJvdWdocHV0U2V0dGluZ3MvZGVmYXVsdD9hcGktdmVyc2lvbj0yMDIxLTA2LTE1", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { "x-ms-client-request-id": [ - "64580ee5-4973-41c3-abce-164f80ed4384" + "b993922f-6795-4394-b9af-54cd3b759b71" ], "Accept-Language": [ "en-US" ], "User-Agent": [ - "FxVersion/4.6.29916.01", + "FxVersion/4.6.28207.03", "OSName/Windows", - "OSVersion/Microsoft.Windows.10.0.19042.", + "OSVersion/Microsoft.Windows.10.0.19043.", "Microsoft.Azure.Management.CosmosDB.CosmosDBManagementClient/3.0.0.0" ] }, @@ -870,7 +594,7 @@ "max-age=31536000; includeSubDomains" ], "x-ms-gatewayversion": [ - "version=2.11.0" + "version=2.14.0" ], "Server": [ "Microsoft-HTTPAPI/2.0" @@ -879,19 +603,19 @@ "11993" ], "x-ms-request-id": [ - "e5f18089-c959-4712-89ca-4c37e25f300f" + "2f27a505-b059-46b6-8fc4-f9cdf68ec70b" ], "x-ms-correlation-request-id": [ - "e5f18089-c959-4712-89ca-4c37e25f300f" + "2f27a505-b059-46b6-8fc4-f9cdf68ec70b" ], "x-ms-routing-request-id": [ - "WESTUS:20210427T174843Z:e5f18089-c959-4712-89ca-4c37e25f300f" + "WESTUS2:20210616T050706Z:2f27a505-b059-46b6-8fc4-f9cdf68ec70b" ], "X-Content-Type-Options": [ "nosniff" ], "Date": [ - "Tue, 27 Apr 2021 17:48:43 GMT" + "Wed, 16 Jun 2021 05:07:06 GMT" ], "Content-Length": [ "390" @@ -900,25 +624,25 @@ "application/json" ] }, - "ResponseBody": "{\r\n \"id\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/resourceGroups/CosmosDBResourceGroup3668/providers/Microsoft.DocumentDB/databaseAccounts/db8192/cassandraKeyspaces/keyspaceName22510/throughputSettings/default\",\r\n \"type\": \"Microsoft.DocumentDB/databaseAccounts/cassandraKeyspaces/throughputSettings\",\r\n \"name\": \"LHsU\",\r\n \"properties\": {\r\n \"resource\": {\r\n \"throughput\": 700,\r\n \"minimumThroughput\": \"400\"\r\n }\r\n }\r\n}", + "ResponseBody": "{\r\n \"id\": \"/subscriptions/259fbb24-9bcd-4cfc-865c-fc33b22fe38a/resourceGroups/CosmosDBResourceGroup3668/providers/Microsoft.DocumentDB/databaseAccounts/db8192/cassandraKeyspaces/keyspaceName22510/throughputSettings/default\",\r\n \"type\": \"Microsoft.DocumentDB/databaseAccounts/cassandraKeyspaces/throughputSettings\",\r\n \"name\": \"Q3Ty\",\r\n \"properties\": {\r\n \"resource\": {\r\n \"throughput\": 700,\r\n \"minimumThroughput\": \"400\"\r\n }\r\n }\r\n}", "StatusCode": 200 }, { - "RequestUri": "/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/resourceGroups/CosmosDBResourceGroup3668/providers/Microsoft.DocumentDB/databaseAccounts/db8192/cassandraKeyspaces/keyspaceName2510/tables/tableName2510?api-version=2021-04-15", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvODBiZTM5NjEtMDUyMS00YTBhLTg1NzAtNWNkNWE0ZTJmOThjL3Jlc291cmNlR3JvdXBzL0Nvc21vc0RCUmVzb3VyY2VHcm91cDM2NjgvcHJvdmlkZXJzL01pY3Jvc29mdC5Eb2N1bWVudERCL2RhdGFiYXNlQWNjb3VudHMvZGI4MTkyL2Nhc3NhbmRyYUtleXNwYWNlcy9rZXlzcGFjZU5hbWUyNTEwL3RhYmxlcy90YWJsZU5hbWUyNTEwP2FwaS12ZXJzaW9uPTIwMjEtMDQtMTU=", + "RequestUri": "/subscriptions/259fbb24-9bcd-4cfc-865c-fc33b22fe38a/resourceGroups/CosmosDBResourceGroup3668/providers/Microsoft.DocumentDB/databaseAccounts/db8192/cassandraKeyspaces/keyspaceName2510/tables/tableName2510?api-version=2021-06-15", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMjU5ZmJiMjQtOWJjZC00Y2ZjLTg2NWMtZmMzM2IyMmZlMzhhL3Jlc291cmNlR3JvdXBzL0Nvc21vc0RCUmVzb3VyY2VHcm91cDM2NjgvcHJvdmlkZXJzL01pY3Jvc29mdC5Eb2N1bWVudERCL2RhdGFiYXNlQWNjb3VudHMvZGI4MTkyL2Nhc3NhbmRyYUtleXNwYWNlcy9rZXlzcGFjZU5hbWUyNTEwL3RhYmxlcy90YWJsZU5hbWUyNTEwP2FwaS12ZXJzaW9uPTIwMjEtMDYtMTU=", "RequestMethod": "PUT", "RequestBody": "{\r\n \"properties\": {\r\n \"resource\": {\r\n \"id\": \"tableName2510\",\r\n \"schema\": {\r\n \"columns\": [\r\n {\r\n \"name\": \"columnA\",\r\n \"type\": \"int\"\r\n },\r\n {\r\n \"name\": \"columnB\",\r\n \"type\": \"ascii\"\r\n }\r\n ],\r\n \"partitionKeys\": [\r\n {\r\n \"name\": \"columnA\"\r\n }\r\n ],\r\n \"clusterKeys\": [\r\n {\r\n \"name\": \"columnB\",\r\n \"orderBy\": \"Asc\"\r\n }\r\n ]\r\n }\r\n },\r\n \"options\": {}\r\n }\r\n}", "RequestHeaders": { "x-ms-client-request-id": [ - "2d870b9a-8316-4a94-ad84-fd2236a90890" + "825e91de-eeb3-4f54-85cc-b7d373406744" ], "Accept-Language": [ "en-US" ], "User-Agent": [ - "FxVersion/4.6.29916.01", + "FxVersion/4.6.28207.03", "OSName/Windows", - "OSVersion/Microsoft.Windows.10.0.19042.", + "OSVersion/Microsoft.Windows.10.0.19043.", "Microsoft.Azure.Management.CosmosDB.CosmosDBManagementClient/3.0.0.0" ], "Content-Type": [ @@ -936,19 +660,19 @@ "no-cache" ], "Location": [ - "https://management.azure.com/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/resourceGroups/CosmosDBResourceGroup3668/providers/Microsoft.DocumentDB/databaseAccounts/db8192/cassandraKeyspaces/keyspaceName2510/tables/tableName2510/operationResults/12940a6f-780b-41cb-b01a-a1b9a0d215ac?api-version=2021-04-15" + "https://management.azure.com/subscriptions/259fbb24-9bcd-4cfc-865c-fc33b22fe38a/resourceGroups/CosmosDBResourceGroup3668/providers/Microsoft.DocumentDB/databaseAccounts/db8192/cassandraKeyspaces/keyspaceName2510/tables/tableName2510/operationResults/792083c0-bd1f-4b3b-9288-f1de4b47c82c?api-version=2021-06-15" ], "Azure-AsyncOperation": [ - "https://management.azure.com/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/providers/Microsoft.DocumentDB/locations/eastus2/operationsStatus/12940a6f-780b-41cb-b01a-a1b9a0d215ac?api-version=2021-04-15" + "https://management.azure.com/subscriptions/259fbb24-9bcd-4cfc-865c-fc33b22fe38a/providers/Microsoft.DocumentDB/locations/eastus2/operationsStatus/792083c0-bd1f-4b3b-9288-f1de4b47c82c?api-version=2021-06-15" ], "x-ms-request-id": [ - "12940a6f-780b-41cb-b01a-a1b9a0d215ac" + "792083c0-bd1f-4b3b-9288-f1de4b47c82c" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "x-ms-gatewayversion": [ - "version=2.11.0" + "version=2.14.0" ], "Server": [ "Microsoft-HTTPAPI/2.0" @@ -957,16 +681,16 @@ "1197" ], "x-ms-correlation-request-id": [ - "11e39df1-0f5b-43fc-8acb-e2116be4c6dc" + "53a245ba-a48b-44a4-bd1c-2ea2efc90dba" ], "x-ms-routing-request-id": [ - "WESTUS:20210427T174844Z:11e39df1-0f5b-43fc-8acb-e2116be4c6dc" + "WESTUS2:20210616T050707Z:53a245ba-a48b-44a4-bd1c-2ea2efc90dba" ], "X-Content-Type-Options": [ "nosniff" ], "Date": [ - "Tue, 27 Apr 2021 17:48:44 GMT" + "Wed, 16 Jun 2021 05:07:06 GMT" ], "Content-Length": [ "21" @@ -979,15 +703,15 @@ "StatusCode": 202 }, { - "RequestUri": "/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/providers/Microsoft.DocumentDB/locations/eastus2/operationsStatus/12940a6f-780b-41cb-b01a-a1b9a0d215ac?api-version=2021-04-15", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvODBiZTM5NjEtMDUyMS00YTBhLTg1NzAtNWNkNWE0ZTJmOThjL3Byb3ZpZGVycy9NaWNyb3NvZnQuRG9jdW1lbnREQi9sb2NhdGlvbnMvZWFzdHVzMi9vcGVyYXRpb25zU3RhdHVzLzEyOTQwYTZmLTc4MGItNDFjYi1iMDFhLWExYjlhMGQyMTVhYz9hcGktdmVyc2lvbj0yMDIxLTA0LTE1", + "RequestUri": "/subscriptions/259fbb24-9bcd-4cfc-865c-fc33b22fe38a/providers/Microsoft.DocumentDB/locations/eastus2/operationsStatus/792083c0-bd1f-4b3b-9288-f1de4b47c82c?api-version=2021-06-15", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMjU5ZmJiMjQtOWJjZC00Y2ZjLTg2NWMtZmMzM2IyMmZlMzhhL3Byb3ZpZGVycy9NaWNyb3NvZnQuRG9jdW1lbnREQi9sb2NhdGlvbnMvZWFzdHVzMi9vcGVyYXRpb25zU3RhdHVzLzc5MjA4M2MwLWJkMWYtNGIzYi05Mjg4LWYxZGU0YjQ3YzgyYz9hcGktdmVyc2lvbj0yMDIxLTA2LTE1", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { "User-Agent": [ - "FxVersion/4.6.29916.01", + "FxVersion/4.6.28207.03", "OSName/Windows", - "OSVersion/Microsoft.Windows.10.0.19042.", + "OSVersion/Microsoft.Windows.10.0.19043.", "Microsoft.Azure.Management.CosmosDB.CosmosDBManagementClient/3.0.0.0" ] }, @@ -1002,7 +726,7 @@ "max-age=31536000; includeSubDomains" ], "x-ms-gatewayversion": [ - "version=2.11.0" + "version=2.14.0" ], "Server": [ "Microsoft-HTTPAPI/2.0" @@ -1011,19 +735,19 @@ "11992" ], "x-ms-request-id": [ - "51d982fa-7dd7-437f-bc9b-7bd2748d75f2" + "e4dde72f-ce3c-4a36-9c6f-4e2d49b7df06" ], "x-ms-correlation-request-id": [ - "51d982fa-7dd7-437f-bc9b-7bd2748d75f2" + "e4dde72f-ce3c-4a36-9c6f-4e2d49b7df06" ], "x-ms-routing-request-id": [ - "WESTUS:20210427T174914Z:51d982fa-7dd7-437f-bc9b-7bd2748d75f2" + "WESTUS2:20210616T050737Z:e4dde72f-ce3c-4a36-9c6f-4e2d49b7df06" ], "X-Content-Type-Options": [ "nosniff" ], "Date": [ - "Tue, 27 Apr 2021 17:49:14 GMT" + "Wed, 16 Jun 2021 05:07:37 GMT" ], "Content-Length": [ "22" @@ -1036,15 +760,15 @@ "StatusCode": 200 }, { - "RequestUri": "/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/resourceGroups/CosmosDBResourceGroup3668/providers/Microsoft.DocumentDB/databaseAccounts/db8192/cassandraKeyspaces/keyspaceName2510/tables/tableName2510?api-version=2021-04-15", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvODBiZTM5NjEtMDUyMS00YTBhLTg1NzAtNWNkNWE0ZTJmOThjL3Jlc291cmNlR3JvdXBzL0Nvc21vc0RCUmVzb3VyY2VHcm91cDM2NjgvcHJvdmlkZXJzL01pY3Jvc29mdC5Eb2N1bWVudERCL2RhdGFiYXNlQWNjb3VudHMvZGI4MTkyL2Nhc3NhbmRyYUtleXNwYWNlcy9rZXlzcGFjZU5hbWUyNTEwL3RhYmxlcy90YWJsZU5hbWUyNTEwP2FwaS12ZXJzaW9uPTIwMjEtMDQtMTU=", + "RequestUri": "/subscriptions/259fbb24-9bcd-4cfc-865c-fc33b22fe38a/resourceGroups/CosmosDBResourceGroup3668/providers/Microsoft.DocumentDB/databaseAccounts/db8192/cassandraKeyspaces/keyspaceName2510/tables/tableName2510?api-version=2021-06-15", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMjU5ZmJiMjQtOWJjZC00Y2ZjLTg2NWMtZmMzM2IyMmZlMzhhL3Jlc291cmNlR3JvdXBzL0Nvc21vc0RCUmVzb3VyY2VHcm91cDM2NjgvcHJvdmlkZXJzL01pY3Jvc29mdC5Eb2N1bWVudERCL2RhdGFiYXNlQWNjb3VudHMvZGI4MTkyL2Nhc3NhbmRyYUtleXNwYWNlcy9rZXlzcGFjZU5hbWUyNTEwL3RhYmxlcy90YWJsZU5hbWUyNTEwP2FwaS12ZXJzaW9uPTIwMjEtMDYtMTU=", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { "User-Agent": [ - "FxVersion/4.6.29916.01", + "FxVersion/4.6.28207.03", "OSName/Windows", - "OSVersion/Microsoft.Windows.10.0.19042.", + "OSVersion/Microsoft.Windows.10.0.19043.", "Microsoft.Azure.Management.CosmosDB.CosmosDBManagementClient/3.0.0.0" ] }, @@ -1059,7 +783,7 @@ "max-age=31536000; includeSubDomains" ], "x-ms-gatewayversion": [ - "version=2.11.0" + "version=2.14.0" ], "Server": [ "Microsoft-HTTPAPI/2.0" @@ -1068,19 +792,19 @@ "11991" ], "x-ms-request-id": [ - "628a13e4-b3af-4469-8913-dffa7d0e2d96" + "5b74b782-81f8-4145-8df7-2c794d5313cf" ], "x-ms-correlation-request-id": [ - "628a13e4-b3af-4469-8913-dffa7d0e2d96" + "5b74b782-81f8-4145-8df7-2c794d5313cf" ], "x-ms-routing-request-id": [ - "WESTUS:20210427T174915Z:628a13e4-b3af-4469-8913-dffa7d0e2d96" + "WESTUS2:20210616T050738Z:5b74b782-81f8-4145-8df7-2c794d5313cf" ], "X-Content-Type-Options": [ "nosniff" ], "Date": [ - "Tue, 27 Apr 2021 17:49:14 GMT" + "Wed, 16 Jun 2021 05:07:37 GMT" ], "Content-Length": [ "640" @@ -1089,25 +813,25 @@ "application/json" ] }, - "ResponseBody": "{\r\n \"id\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/resourceGroups/CosmosDBResourceGroup3668/providers/Microsoft.DocumentDB/databaseAccounts/db8192/cassandraKeyspaces/keyspaceName2510/tables/tableName2510\",\r\n \"type\": \"Microsoft.DocumentDB/databaseAccounts/cassandraKeyspaces/tables\",\r\n \"name\": \"tableName2510\",\r\n \"properties\": {\r\n \"resource\": {\r\n \"id\": \"tableName2510\",\r\n \"_rid\": \"Xl87AKuKufw=\",\r\n \"_etag\": \"\\\"00000700-0000-0200-0000-60884e810000\\\"\",\r\n \"_ts\": 1619545729,\r\n \"defaultTtl\": 0,\r\n \"schema\": {\r\n \"columns\": [\r\n {\r\n \"name\": \"columnA\",\r\n \"type\": \"int\"\r\n },\r\n {\r\n \"name\": \"columnB\",\r\n \"type\": \"ascii\"\r\n }\r\n ],\r\n \"partitionKeys\": [\r\n {\r\n \"name\": \"columnA\"\r\n }\r\n ],\r\n \"clusterKeys\": [\r\n {\r\n \"name\": \"columnB\",\r\n \"orderBy\": \"Asc\"\r\n }\r\n ]\r\n }\r\n }\r\n }\r\n}", + "ResponseBody": "{\r\n \"id\": \"/subscriptions/259fbb24-9bcd-4cfc-865c-fc33b22fe38a/resourceGroups/CosmosDBResourceGroup3668/providers/Microsoft.DocumentDB/databaseAccounts/db8192/cassandraKeyspaces/keyspaceName2510/tables/tableName2510\",\r\n \"type\": \"Microsoft.DocumentDB/databaseAccounts/cassandraKeyspaces/tables\",\r\n \"name\": \"tableName2510\",\r\n \"properties\": {\r\n \"resource\": {\r\n \"id\": \"tableName2510\",\r\n \"_rid\": \"8uZ2APFHxmo=\",\r\n \"_etag\": \"\\\"000017f5-0000-0200-0000-60c986ff0000\\\"\",\r\n \"_ts\": 1623820031,\r\n \"defaultTtl\": 0,\r\n \"schema\": {\r\n \"columns\": [\r\n {\r\n \"name\": \"columnA\",\r\n \"type\": \"int\"\r\n },\r\n {\r\n \"name\": \"columnB\",\r\n \"type\": \"ascii\"\r\n }\r\n ],\r\n \"partitionKeys\": [\r\n {\r\n \"name\": \"columnA\"\r\n }\r\n ],\r\n \"clusterKeys\": [\r\n {\r\n \"name\": \"columnB\",\r\n \"orderBy\": \"Asc\"\r\n }\r\n ]\r\n }\r\n }\r\n }\r\n}", "StatusCode": 200 }, { - "RequestUri": "/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/resourceGroups/CosmosDBResourceGroup3668/providers/Microsoft.DocumentDB/databaseAccounts/db8192/cassandraKeyspaces/keyspaceName2510/tables?api-version=2021-04-15", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvODBiZTM5NjEtMDUyMS00YTBhLTg1NzAtNWNkNWE0ZTJmOThjL3Jlc291cmNlR3JvdXBzL0Nvc21vc0RCUmVzb3VyY2VHcm91cDM2NjgvcHJvdmlkZXJzL01pY3Jvc29mdC5Eb2N1bWVudERCL2RhdGFiYXNlQWNjb3VudHMvZGI4MTkyL2Nhc3NhbmRyYUtleXNwYWNlcy9rZXlzcGFjZU5hbWUyNTEwL3RhYmxlcz9hcGktdmVyc2lvbj0yMDIxLTA0LTE1", + "RequestUri": "/subscriptions/259fbb24-9bcd-4cfc-865c-fc33b22fe38a/resourceGroups/CosmosDBResourceGroup3668/providers/Microsoft.DocumentDB/databaseAccounts/db8192/cassandraKeyspaces/keyspaceName2510/tables?api-version=2021-06-15", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMjU5ZmJiMjQtOWJjZC00Y2ZjLTg2NWMtZmMzM2IyMmZlMzhhL3Jlc291cmNlR3JvdXBzL0Nvc21vc0RCUmVzb3VyY2VHcm91cDM2NjgvcHJvdmlkZXJzL01pY3Jvc29mdC5Eb2N1bWVudERCL2RhdGFiYXNlQWNjb3VudHMvZGI4MTkyL2Nhc3NhbmRyYUtleXNwYWNlcy9rZXlzcGFjZU5hbWUyNTEwL3RhYmxlcz9hcGktdmVyc2lvbj0yMDIxLTA2LTE1", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { "x-ms-client-request-id": [ - "41ff11da-2ceb-44c6-be4b-cbbb85e463f6" + "7830932e-8513-4bac-ad9f-a4016679fc63" ], "Accept-Language": [ "en-US" ], "User-Agent": [ - "FxVersion/4.6.29916.01", + "FxVersion/4.6.28207.03", "OSName/Windows", - "OSVersion/Microsoft.Windows.10.0.19042.", + "OSVersion/Microsoft.Windows.10.0.19043.", "Microsoft.Azure.Management.CosmosDB.CosmosDBManagementClient/3.0.0.0" ] }, @@ -1122,7 +846,7 @@ "max-age=31536000; includeSubDomains" ], "x-ms-gatewayversion": [ - "version=2.11.0" + "version=2.14.0" ], "Server": [ "Microsoft-HTTPAPI/2.0" @@ -1131,19 +855,19 @@ "11990" ], "x-ms-request-id": [ - "7fe843da-5ad0-4e45-87ca-31265c4334ba" + "4cf97473-f4ea-4c0e-9108-f851fe18f442" ], "x-ms-correlation-request-id": [ - "7fe843da-5ad0-4e45-87ca-31265c4334ba" + "4cf97473-f4ea-4c0e-9108-f851fe18f442" ], "x-ms-routing-request-id": [ - "WESTUS:20210427T174915Z:7fe843da-5ad0-4e45-87ca-31265c4334ba" + "WESTUS2:20210616T050738Z:4cf97473-f4ea-4c0e-9108-f851fe18f442" ], "X-Content-Type-Options": [ "nosniff" ], "Date": [ - "Tue, 27 Apr 2021 17:49:14 GMT" + "Wed, 16 Jun 2021 05:07:38 GMT" ], "Content-Length": [ "652" @@ -1152,12 +876,12 @@ "application/json" ] }, - "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/resourceGroups/CosmosDBResourceGroup3668/providers/Microsoft.DocumentDB/databaseAccounts/db8192/cassandraKeyspaces/keyspaceName2510/tables/tableName2510\",\r\n \"type\": \"Microsoft.DocumentDB/databaseAccounts/cassandraKeyspaces/tables\",\r\n \"name\": \"tableName2510\",\r\n \"properties\": {\r\n \"resource\": {\r\n \"id\": \"tableName2510\",\r\n \"_rid\": \"Xl87AKuKufw=\",\r\n \"_etag\": \"\\\"00000700-0000-0200-0000-60884e810000\\\"\",\r\n \"_ts\": 1619545729,\r\n \"defaultTtl\": 0,\r\n \"schema\": {\r\n \"columns\": [\r\n {\r\n \"name\": \"columnA\",\r\n \"type\": \"int\"\r\n },\r\n {\r\n \"name\": \"columnB\",\r\n \"type\": \"ascii\"\r\n }\r\n ],\r\n \"partitionKeys\": [\r\n {\r\n \"name\": \"columnA\"\r\n }\r\n ],\r\n \"clusterKeys\": [\r\n {\r\n \"name\": \"columnB\",\r\n \"orderBy\": \"Asc\"\r\n }\r\n ]\r\n }\r\n }\r\n }\r\n }\r\n ]\r\n}", + "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/subscriptions/259fbb24-9bcd-4cfc-865c-fc33b22fe38a/resourceGroups/CosmosDBResourceGroup3668/providers/Microsoft.DocumentDB/databaseAccounts/db8192/cassandraKeyspaces/keyspaceName2510/tables/tableName2510\",\r\n \"type\": \"Microsoft.DocumentDB/databaseAccounts/cassandraKeyspaces/tables\",\r\n \"name\": \"tableName2510\",\r\n \"properties\": {\r\n \"resource\": {\r\n \"id\": \"tableName2510\",\r\n \"_rid\": \"8uZ2APFHxmo=\",\r\n \"_etag\": \"\\\"000017f5-0000-0200-0000-60c986ff0000\\\"\",\r\n \"_ts\": 1623820031,\r\n \"defaultTtl\": 0,\r\n \"schema\": {\r\n \"columns\": [\r\n {\r\n \"name\": \"columnA\",\r\n \"type\": \"int\"\r\n },\r\n {\r\n \"name\": \"columnB\",\r\n \"type\": \"ascii\"\r\n }\r\n ],\r\n \"partitionKeys\": [\r\n {\r\n \"name\": \"columnA\"\r\n }\r\n ],\r\n \"clusterKeys\": [\r\n {\r\n \"name\": \"columnB\",\r\n \"orderBy\": \"Asc\"\r\n }\r\n ]\r\n }\r\n }\r\n }\r\n }\r\n ]\r\n}", "StatusCode": 200 } ], "Names": {}, "Variables": { - "SubscriptionId": "80be3961-0521-4a0a-8570-5cd5a4e2f98c" + "SubscriptionId": "259fbb24-9bcd-4cfc-865c-fc33b22fe38a" } } \ No newline at end of file diff --git a/sdk/cosmosdb/Microsoft.Azure.Management.CosmosDB/tests/SessionRecords/DatabaseAccountOperationsTests/DatabaseAccountCRUDTests.json b/sdk/cosmosdb/Microsoft.Azure.Management.CosmosDB/tests/SessionRecords/DatabaseAccountOperationsTests/DatabaseAccountCRUDTests.json index b57a0a4dbbcc..ffcd493be215 100644 --- a/sdk/cosmosdb/Microsoft.Azure.Management.CosmosDB/tests/SessionRecords/DatabaseAccountOperationsTests/DatabaseAccountCRUDTests.json +++ b/sdk/cosmosdb/Microsoft.Azure.Management.CosmosDB/tests/SessionRecords/DatabaseAccountOperationsTests/DatabaseAccountCRUDTests.json @@ -1,21 +1,21 @@ { "Entries": [ { - "RequestUri": "/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/resourcegroups/CosmosDBResourceGroup6394?api-version=2015-11-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvODBiZTM5NjEtMDUyMS00YTBhLTg1NzAtNWNkNWE0ZTJmOThjL3Jlc291cmNlZ3JvdXBzL0Nvc21vc0RCUmVzb3VyY2VHcm91cDYzOTQ/YXBpLXZlcnNpb249MjAxNS0xMS0wMQ==", + "RequestUri": "/subscriptions/259fbb24-9bcd-4cfc-865c-fc33b22fe38a/resourcegroups/CosmosDBResourceGroup8650?api-version=2015-11-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMjU5ZmJiMjQtOWJjZC00Y2ZjLTg2NWMtZmMzM2IyMmZlMzhhL3Jlc291cmNlZ3JvdXBzL0Nvc21vc0RCUmVzb3VyY2VHcm91cDg2NTA/YXBpLXZlcnNpb249MjAxNS0xMS0wMQ==", "RequestMethod": "HEAD", "RequestBody": "", "RequestHeaders": { "x-ms-client-request-id": [ - "fced846c-4e19-4e56-9c3f-be42812c4a35" + "bf608a80-ce51-4b7c-970b-682bd746c6ae" ], "Accept-Language": [ "en-US" ], "User-Agent": [ - "FxVersion/4.6.29916.01", + "FxVersion/4.6.28207.03", "OSName/Windows", - "OSVersion/Microsoft.Windows.10.0.19042.", + "OSVersion/Microsoft.Windows.10.0.19043.", "Microsoft.Azure.Management.Resources.ResourceManagementClient/1.0.0.0" ] }, @@ -33,13 +33,13 @@ "11999" ], "x-ms-request-id": [ - "db603aef-8d6e-4276-a46d-cbeb531212c6" + "9a2c50fa-bcdc-4057-a8de-b34c4950b3ba" ], "x-ms-correlation-request-id": [ - "db603aef-8d6e-4276-a46d-cbeb531212c6" + "9a2c50fa-bcdc-4057-a8de-b34c4950b3ba" ], "x-ms-routing-request-id": [ - "WESTCENTRALUS:20210427T171654Z:db603aef-8d6e-4276-a46d-cbeb531212c6" + "WESTUS2:20210616T050754Z:9a2c50fa-bcdc-4057-a8de-b34c4950b3ba" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -48,7 +48,7 @@ "nosniff" ], "Date": [ - "Tue, 27 Apr 2021 17:16:53 GMT" + "Wed, 16 Jun 2021 05:07:54 GMT" ], "Content-Length": [ "117" @@ -64,21 +64,21 @@ "StatusCode": 404 }, { - "RequestUri": "/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/resourcegroups/CosmosDBResourceGroup6394?api-version=2015-11-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvODBiZTM5NjEtMDUyMS00YTBhLTg1NzAtNWNkNWE0ZTJmOThjL3Jlc291cmNlZ3JvdXBzL0Nvc21vc0RCUmVzb3VyY2VHcm91cDYzOTQ/YXBpLXZlcnNpb249MjAxNS0xMS0wMQ==", + "RequestUri": "/subscriptions/259fbb24-9bcd-4cfc-865c-fc33b22fe38a/resourcegroups/CosmosDBResourceGroup8650?api-version=2015-11-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMjU5ZmJiMjQtOWJjZC00Y2ZjLTg2NWMtZmMzM2IyMmZlMzhhL3Jlc291cmNlZ3JvdXBzL0Nvc21vc0RCUmVzb3VyY2VHcm91cDg2NTA/YXBpLXZlcnNpb249MjAxNS0xMS0wMQ==", "RequestMethod": "PUT", "RequestBody": "{\r\n \"location\": \"eastus2\"\r\n}", "RequestHeaders": { "x-ms-client-request-id": [ - "2537d2c9-4dd7-4236-ae45-0a4a9e6cd3b8" + "daf2ce27-b519-467b-892b-ca3a0a3ec577" ], "Accept-Language": [ "en-US" ], "User-Agent": [ - "FxVersion/4.6.29916.01", + "FxVersion/4.6.28207.03", "OSName/Windows", - "OSVersion/Microsoft.Windows.10.0.19042.", + "OSVersion/Microsoft.Windows.10.0.19043.", "Microsoft.Azure.Management.Resources.ResourceManagementClient/1.0.0.0" ], "Content-Type": [ @@ -99,13 +99,13 @@ "1199" ], "x-ms-request-id": [ - "99db5df8-cb6c-4bff-9eb4-ceb4b4da5d80" + "16a316d1-2611-4c9d-8183-368b8cd190a3" ], "x-ms-correlation-request-id": [ - "99db5df8-cb6c-4bff-9eb4-ceb4b4da5d80" + "16a316d1-2611-4c9d-8183-368b8cd190a3" ], "x-ms-routing-request-id": [ - "WESTCENTRALUS:20210427T171656Z:99db5df8-cb6c-4bff-9eb4-ceb4b4da5d80" + "WESTUS2:20210616T050756Z:16a316d1-2611-4c9d-8183-368b8cd190a3" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -114,7 +114,7 @@ "nosniff" ], "Date": [ - "Tue, 27 Apr 2021 17:16:56 GMT" + "Wed, 16 Jun 2021 05:07:55 GMT" ], "Content-Length": [ "204" @@ -126,32 +126,32 @@ "-1" ] }, - "ResponseBody": "{\r\n \"id\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/resourceGroups/CosmosDBResourceGroup6394\",\r\n \"name\": \"CosmosDBResourceGroup6394\",\r\n \"location\": \"eastus2\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n}", + "ResponseBody": "{\r\n \"id\": \"/subscriptions/259fbb24-9bcd-4cfc-865c-fc33b22fe38a/resourceGroups/CosmosDBResourceGroup8650\",\r\n \"name\": \"CosmosDBResourceGroup8650\",\r\n \"location\": \"eastus2\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n}", "StatusCode": 201 }, { - "RequestUri": "/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/resourceGroups/CosmosDBResourceGroup6394/providers/Microsoft.DocumentDB/databaseAccounts/accountname9088?api-version=2021-04-15", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvODBiZTM5NjEtMDUyMS00YTBhLTg1NzAtNWNkNWE0ZTJmOThjL3Jlc291cmNlR3JvdXBzL0Nvc21vc0RCUmVzb3VyY2VHcm91cDYzOTQvcHJvdmlkZXJzL01pY3Jvc29mdC5Eb2N1bWVudERCL2RhdGFiYXNlQWNjb3VudHMvYWNjb3VudG5hbWU5MDg4P2FwaS12ZXJzaW9uPTIwMjEtMDQtMTU=", + "RequestUri": "/subscriptions/259fbb24-9bcd-4cfc-865c-fc33b22fe38a/resourceGroups/CosmosDBResourceGroup8650/providers/Microsoft.DocumentDB/databaseAccounts/accountname4002?api-version=2021-06-15", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMjU5ZmJiMjQtOWJjZC00Y2ZjLTg2NWMtZmMzM2IyMmZlMzhhL3Jlc291cmNlR3JvdXBzL0Nvc21vc0RCUmVzb3VyY2VHcm91cDg2NTAvcHJvdmlkZXJzL01pY3Jvc29mdC5Eb2N1bWVudERCL2RhdGFiYXNlQWNjb3VudHMvYWNjb3VudG5hbWU0MDAyP2FwaS12ZXJzaW9uPTIwMjEtMDYtMTU=", "RequestMethod": "PUT", - "RequestBody": "{\r\n \"kind\": \"MongoDB\",\r\n \"properties\": {\r\n \"consistencyPolicy\": {\r\n \"defaultConsistencyLevel\": \"BoundedStaleness\",\r\n \"maxStalenessPrefix\": 300,\r\n \"maxIntervalInSeconds\": 1000\r\n },\r\n \"locations\": [\r\n {\r\n \"locationName\": \"East US 2\"\r\n }\r\n ],\r\n \"ipRules\": [\r\n {\r\n \"ipAddressOrRange\": \"23.43.230.120\"\r\n }\r\n ],\r\n \"isVirtualNetworkFilterEnabled\": true,\r\n \"enableAutomaticFailover\": false,\r\n \"enableMultipleWriteLocations\": true,\r\n \"enableCassandraConnector\": true,\r\n \"connectorOffer\": \"Small\",\r\n \"disableKeyBasedMetadataWriteAccess\": false,\r\n \"networkAclBypass\": \"AzureServices\",\r\n \"networkAclBypassResourceIds\": [\r\n \"/subscriptions/subId/resourcegroups/rgName/providers/Microsoft.Synapse/workspaces/workspaceName\"\r\n ],\r\n \"databaseAccountOfferType\": \"Standard\"\r\n },\r\n \"location\": \"EAST US 2\",\r\n \"tags\": {\r\n \"key1\": \"value1\",\r\n \"key2\": \"value2\"\r\n }\r\n}", + "RequestBody": "{\r\n \"kind\": \"MongoDB\",\r\n \"properties\": {\r\n \"consistencyPolicy\": {\r\n \"defaultConsistencyLevel\": \"BoundedStaleness\",\r\n \"maxStalenessPrefix\": 300,\r\n \"maxIntervalInSeconds\": 1000\r\n },\r\n \"locations\": [\r\n {\r\n \"locationName\": \"East US 2\"\r\n }\r\n ],\r\n \"ipRules\": [\r\n {\r\n \"ipAddressOrRange\": \"23.43.230.120\"\r\n }\r\n ],\r\n \"isVirtualNetworkFilterEnabled\": true,\r\n \"enableAutomaticFailover\": false,\r\n \"enableMultipleWriteLocations\": true,\r\n \"disableKeyBasedMetadataWriteAccess\": false,\r\n \"networkAclBypass\": \"AzureServices\",\r\n \"networkAclBypassResourceIds\": [\r\n \"/subscriptions/subId/resourcegroups/rgName/providers/Microsoft.Synapse/workspaces/workspaceName\"\r\n ],\r\n \"databaseAccountOfferType\": \"Standard\"\r\n },\r\n \"location\": \"EAST US 2\",\r\n \"tags\": {\r\n \"key1\": \"value1\",\r\n \"key2\": \"value2\"\r\n }\r\n}", "RequestHeaders": { "x-ms-client-request-id": [ - "8d89d502-b25f-46d1-8bf6-a6adc135b0eb" + "7c3e8db8-258e-4c37-89c7-6dd9ee0d80e1" ], "Accept-Language": [ "en-US" ], "User-Agent": [ - "FxVersion/4.6.29916.01", + "FxVersion/4.6.28207.03", "OSName/Windows", - "OSVersion/Microsoft.Windows.10.0.19042.", + "OSVersion/Microsoft.Windows.10.0.19043.", "Microsoft.Azure.Management.CosmosDB.CosmosDBManagementClient/3.0.0.0" ], "Content-Type": [ "application/json; charset=utf-8" ], "Content-Length": [ - "958" + "887" ] }, "ResponseHeaders": { @@ -162,19 +162,19 @@ "no-cache" ], "Location": [ - "https://management.azure.com/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/resourceGroups/CosmosDBResourceGroup6394/providers/Microsoft.DocumentDB/databaseAccounts/accountname9088/operationResults/e41e39b6-2e43-494e-9923-0dc3f1469f47?api-version=2021-04-15" + "https://management.azure.com/subscriptions/259fbb24-9bcd-4cfc-865c-fc33b22fe38a/resourceGroups/CosmosDBResourceGroup8650/providers/Microsoft.DocumentDB/databaseAccounts/accountname4002/operationResults/f08075c3-9641-4561-8f5e-eb0154c3de83?api-version=2021-06-15" ], "x-ms-request-id": [ - "e41e39b6-2e43-494e-9923-0dc3f1469f47" + "f08075c3-9641-4561-8f5e-eb0154c3de83" ], "Azure-AsyncOperation": [ - "https://management.azure.com/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/providers/Microsoft.DocumentDB/locations/eastus2/operationsStatus/e41e39b6-2e43-494e-9923-0dc3f1469f47?api-version=2021-04-15" + "https://management.azure.com/subscriptions/259fbb24-9bcd-4cfc-865c-fc33b22fe38a/providers/Microsoft.DocumentDB/locations/eastus2/operationsStatus/f08075c3-9641-4561-8f5e-eb0154c3de83?api-version=2021-06-15" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "x-ms-gatewayversion": [ - "version=2.11.0" + "version=2.14.0" ], "Server": [ "Microsoft-HTTPAPI/2.0" @@ -183,37 +183,37 @@ "1199" ], "x-ms-correlation-request-id": [ - "59e42a3a-6bdf-4f72-9ccd-a40ce736054a" + "16b6834b-09aa-4afe-9164-bf82795162eb" ], "x-ms-routing-request-id": [ - "WESTCENTRALUS:20210427T171705Z:59e42a3a-6bdf-4f72-9ccd-a40ce736054a" + "WESTUS2:20210616T050802Z:16b6834b-09aa-4afe-9164-bf82795162eb" ], "X-Content-Type-Options": [ "nosniff" ], "Date": [ - "Tue, 27 Apr 2021 17:17:04 GMT" + "Wed, 16 Jun 2021 05:08:02 GMT" ], "Content-Length": [ - "2241" + "2182" ], "Content-Type": [ "application/json" ] }, - "ResponseBody": "{\r\n \"id\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/resourceGroups/CosmosDBResourceGroup6394/providers/Microsoft.DocumentDB/databaseAccounts/accountname9088\",\r\n \"name\": \"accountname9088\",\r\n \"location\": \"East US 2\",\r\n \"type\": \"Microsoft.DocumentDB/databaseAccounts\",\r\n \"kind\": \"MongoDB\",\r\n \"tags\": {\r\n \"key1\": \"value1\",\r\n \"key2\": \"value2\"\r\n },\r\n \"systemData\": {\r\n \"createdAt\": \"2021-04-27T17:17:01.5647502Z\"\r\n },\r\n \"properties\": {\r\n \"provisioningState\": \"Creating\",\r\n \"publicNetworkAccess\": \"Enabled\",\r\n \"enableAutomaticFailover\": false,\r\n \"enableMultipleWriteLocations\": true,\r\n \"enablePartitionKeyMonitor\": false,\r\n \"isVirtualNetworkFilterEnabled\": true,\r\n \"virtualNetworkRules\": [],\r\n \"EnabledApiTypes\": \"MongoDB\",\r\n \"disableKeyBasedMetadataWriteAccess\": false,\r\n \"enableFreeTier\": false,\r\n \"enableAnalyticalStorage\": false,\r\n \"analyticalStorageConfiguration\": null,\r\n \"instanceId\": \"c3f52ca9-535e-46c4-85d4-8b8c6a46d967\",\r\n \"createMode\": \"Default\",\r\n \"databaseAccountOfferType\": \"Standard\",\r\n \"enableCassandraConnector\": true,\r\n \"connectorOffer\": \"Small\",\r\n \"enableMaterializedViews\": false,\r\n \"enableFullFidelityChangeFeed\": false,\r\n \"defaultIdentity\": \"\",\r\n \"networkAclBypass\": \"AzureServices\",\r\n \"consistencyPolicy\": {\r\n \"defaultConsistencyLevel\": \"BoundedStaleness\",\r\n \"maxIntervalInSeconds\": 1000,\r\n \"maxStalenessPrefix\": 300\r\n },\r\n \"apiProperties\": {\r\n \"serverVersion\": \"3.6\"\r\n },\r\n \"configurationOverrides\": {},\r\n \"writeLocations\": [\r\n {\r\n \"id\": \"accountname9088-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"provisioningState\": \"Creating\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"readLocations\": [\r\n {\r\n \"id\": \"accountname9088-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"provisioningState\": \"Creating\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"locations\": [\r\n {\r\n \"id\": \"accountname9088-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"provisioningState\": \"Creating\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"failoverPolicies\": [\r\n {\r\n \"id\": \"accountname9088-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"failoverPriority\": 0\r\n }\r\n ],\r\n \"cors\": [],\r\n \"capabilities\": [\r\n {\r\n \"name\": \"EnableMongo\"\r\n }\r\n ],\r\n \"ipRules\": [\r\n {\r\n \"ipAddressOrRange\": \"23.43.230.120\"\r\n }\r\n ],\r\n \"backupPolicy\": {\r\n \"type\": \"Periodic\",\r\n \"periodicModeProperties\": {\r\n \"backupIntervalInMinutes\": 240,\r\n \"backupRetentionIntervalInHours\": 8,\r\n \"backupStorageRedundancy\": \"Geo\"\r\n }\r\n },\r\n \"networkAclBypassResourceIds\": [\r\n \"/subscriptions/subId/resourcegroups/rgName/providers/Microsoft.Synapse/workspaces/workspaceName\"\r\n ]\r\n },\r\n \"identity\": {\r\n \"type\": \"None\"\r\n }\r\n}", + "ResponseBody": "{\r\n \"id\": \"/subscriptions/259fbb24-9bcd-4cfc-865c-fc33b22fe38a/resourceGroups/CosmosDBResourceGroup8650/providers/Microsoft.DocumentDB/databaseAccounts/accountname4002\",\r\n \"name\": \"accountname4002\",\r\n \"location\": \"East US 2\",\r\n \"type\": \"Microsoft.DocumentDB/databaseAccounts\",\r\n \"kind\": \"MongoDB\",\r\n \"tags\": {\r\n \"key1\": \"value1\",\r\n \"key2\": \"value2\"\r\n },\r\n \"systemData\": {\r\n \"createdAt\": \"2021-06-16T05:08:00.4844542Z\"\r\n },\r\n \"properties\": {\r\n \"provisioningState\": \"Creating\",\r\n \"publicNetworkAccess\": \"Enabled\",\r\n \"enableAutomaticFailover\": false,\r\n \"enableMultipleWriteLocations\": true,\r\n \"enablePartitionKeyMonitor\": false,\r\n \"isVirtualNetworkFilterEnabled\": true,\r\n \"virtualNetworkRules\": [],\r\n \"EnabledApiTypes\": \"MongoDB\",\r\n \"disableKeyBasedMetadataWriteAccess\": false,\r\n \"enableFreeTier\": false,\r\n \"enableAnalyticalStorage\": false,\r\n \"analyticalStorageConfiguration\": {\r\n \"analyticalStorageSchemaType\": \"FullFidelity\"\r\n },\r\n \"instanceId\": \"125165e8-3796-40d3-80cd-83d7f3094110\",\r\n \"createMode\": \"Default\",\r\n \"databaseAccountOfferType\": \"Standard\",\r\n \"defaultIdentity\": \"\",\r\n \"networkAclBypass\": \"AzureServices\",\r\n \"disableLocalAuth\": false,\r\n \"consistencyPolicy\": {\r\n \"defaultConsistencyLevel\": \"BoundedStaleness\",\r\n \"maxIntervalInSeconds\": 1000,\r\n \"maxStalenessPrefix\": 300\r\n },\r\n \"apiProperties\": {\r\n \"serverVersion\": \"3.6\"\r\n },\r\n \"configurationOverrides\": {},\r\n \"writeLocations\": [\r\n {\r\n \"id\": \"accountname4002-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"provisioningState\": \"Creating\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"readLocations\": [\r\n {\r\n \"id\": \"accountname4002-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"provisioningState\": \"Creating\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"locations\": [\r\n {\r\n \"id\": \"accountname4002-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"provisioningState\": \"Creating\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"failoverPolicies\": [\r\n {\r\n \"id\": \"accountname4002-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"failoverPriority\": 0\r\n }\r\n ],\r\n \"cors\": [],\r\n \"capabilities\": [\r\n {\r\n \"name\": \"EnableMongo\"\r\n }\r\n ],\r\n \"ipRules\": [\r\n {\r\n \"ipAddressOrRange\": \"23.43.230.120\"\r\n }\r\n ],\r\n \"backupPolicy\": {\r\n \"type\": \"Periodic\",\r\n \"periodicModeProperties\": {\r\n \"backupIntervalInMinutes\": 240,\r\n \"backupRetentionIntervalInHours\": 8,\r\n \"backupStorageRedundancy\": \"Geo\"\r\n }\r\n },\r\n \"networkAclBypassResourceIds\": [\r\n \"/subscriptions/subId/resourcegroups/rgName/providers/Microsoft.Synapse/workspaces/workspaceName\"\r\n ]\r\n },\r\n \"identity\": {\r\n \"type\": \"None\"\r\n }\r\n}", "StatusCode": 200 }, { - "RequestUri": "/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/providers/Microsoft.DocumentDB/locations/eastus2/operationsStatus/e41e39b6-2e43-494e-9923-0dc3f1469f47?api-version=2021-04-15", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvODBiZTM5NjEtMDUyMS00YTBhLTg1NzAtNWNkNWE0ZTJmOThjL3Byb3ZpZGVycy9NaWNyb3NvZnQuRG9jdW1lbnREQi9sb2NhdGlvbnMvZWFzdHVzMi9vcGVyYXRpb25zU3RhdHVzL2U0MWUzOWI2LTJlNDMtNDk0ZS05OTIzLTBkYzNmMTQ2OWY0Nz9hcGktdmVyc2lvbj0yMDIxLTA0LTE1", + "RequestUri": "/subscriptions/259fbb24-9bcd-4cfc-865c-fc33b22fe38a/providers/Microsoft.DocumentDB/locations/eastus2/operationsStatus/f08075c3-9641-4561-8f5e-eb0154c3de83?api-version=2021-06-15", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMjU5ZmJiMjQtOWJjZC00Y2ZjLTg2NWMtZmMzM2IyMmZlMzhhL3Byb3ZpZGVycy9NaWNyb3NvZnQuRG9jdW1lbnREQi9sb2NhdGlvbnMvZWFzdHVzMi9vcGVyYXRpb25zU3RhdHVzL2YwODA3NWMzLTk2NDEtNDU2MS04ZjVlLWViMDE1NGMzZGU4Mz9hcGktdmVyc2lvbj0yMDIxLTA2LTE1", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { "User-Agent": [ - "FxVersion/4.6.29916.01", + "FxVersion/4.6.28207.03", "OSName/Windows", - "OSVersion/Microsoft.Windows.10.0.19042.", + "OSVersion/Microsoft.Windows.10.0.19043.", "Microsoft.Azure.Management.CosmosDB.CosmosDBManagementClient/3.0.0.0" ] }, @@ -228,7 +228,7 @@ "max-age=31536000; includeSubDomains" ], "x-ms-gatewayversion": [ - "version=2.11.0" + "version=2.14.0" ], "Server": [ "Microsoft-HTTPAPI/2.0" @@ -237,19 +237,19 @@ "11999" ], "x-ms-request-id": [ - "eb91b81e-1804-43ea-9d17-5178fdf24df9" + "48ee02db-f594-4788-961b-1fdd80ed87a7" ], "x-ms-correlation-request-id": [ - "eb91b81e-1804-43ea-9d17-5178fdf24df9" + "48ee02db-f594-4788-961b-1fdd80ed87a7" ], "x-ms-routing-request-id": [ - "WESTCENTRALUS:20210427T171735Z:eb91b81e-1804-43ea-9d17-5178fdf24df9" + "WESTUS2:20210616T050833Z:48ee02db-f594-4788-961b-1fdd80ed87a7" ], "X-Content-Type-Options": [ "nosniff" ], "Date": [ - "Tue, 27 Apr 2021 17:17:35 GMT" + "Wed, 16 Jun 2021 05:08:33 GMT" ], "Content-Length": [ "21" @@ -262,15 +262,15 @@ "StatusCode": 200 }, { - "RequestUri": "/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/providers/Microsoft.DocumentDB/locations/eastus2/operationsStatus/e41e39b6-2e43-494e-9923-0dc3f1469f47?api-version=2021-04-15", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvODBiZTM5NjEtMDUyMS00YTBhLTg1NzAtNWNkNWE0ZTJmOThjL3Byb3ZpZGVycy9NaWNyb3NvZnQuRG9jdW1lbnREQi9sb2NhdGlvbnMvZWFzdHVzMi9vcGVyYXRpb25zU3RhdHVzL2U0MWUzOWI2LTJlNDMtNDk0ZS05OTIzLTBkYzNmMTQ2OWY0Nz9hcGktdmVyc2lvbj0yMDIxLTA0LTE1", + "RequestUri": "/subscriptions/259fbb24-9bcd-4cfc-865c-fc33b22fe38a/providers/Microsoft.DocumentDB/locations/eastus2/operationsStatus/f08075c3-9641-4561-8f5e-eb0154c3de83?api-version=2021-06-15", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMjU5ZmJiMjQtOWJjZC00Y2ZjLTg2NWMtZmMzM2IyMmZlMzhhL3Byb3ZpZGVycy9NaWNyb3NvZnQuRG9jdW1lbnREQi9sb2NhdGlvbnMvZWFzdHVzMi9vcGVyYXRpb25zU3RhdHVzL2YwODA3NWMzLTk2NDEtNDU2MS04ZjVlLWViMDE1NGMzZGU4Mz9hcGktdmVyc2lvbj0yMDIxLTA2LTE1", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { "User-Agent": [ - "FxVersion/4.6.29916.01", + "FxVersion/4.6.28207.03", "OSName/Windows", - "OSVersion/Microsoft.Windows.10.0.19042.", + "OSVersion/Microsoft.Windows.10.0.19043.", "Microsoft.Azure.Management.CosmosDB.CosmosDBManagementClient/3.0.0.0" ] }, @@ -285,7 +285,7 @@ "max-age=31536000; includeSubDomains" ], "x-ms-gatewayversion": [ - "version=2.11.0" + "version=2.14.0" ], "Server": [ "Microsoft-HTTPAPI/2.0" @@ -294,19 +294,19 @@ "11998" ], "x-ms-request-id": [ - "fb7037c6-6c20-4b6b-b51a-ffcefa3adb73" + "f7a835e1-f179-4ae7-8698-28021474710b" ], "x-ms-correlation-request-id": [ - "fb7037c6-6c20-4b6b-b51a-ffcefa3adb73" + "f7a835e1-f179-4ae7-8698-28021474710b" ], "x-ms-routing-request-id": [ - "WESTCENTRALUS:20210427T171805Z:fb7037c6-6c20-4b6b-b51a-ffcefa3adb73" + "WESTUS2:20210616T050903Z:f7a835e1-f179-4ae7-8698-28021474710b" ], "X-Content-Type-Options": [ "nosniff" ], "Date": [ - "Tue, 27 Apr 2021 17:18:05 GMT" + "Wed, 16 Jun 2021 05:09:03 GMT" ], "Content-Length": [ "21" @@ -319,15 +319,15 @@ "StatusCode": 200 }, { - "RequestUri": "/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/providers/Microsoft.DocumentDB/locations/eastus2/operationsStatus/e41e39b6-2e43-494e-9923-0dc3f1469f47?api-version=2021-04-15", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvODBiZTM5NjEtMDUyMS00YTBhLTg1NzAtNWNkNWE0ZTJmOThjL3Byb3ZpZGVycy9NaWNyb3NvZnQuRG9jdW1lbnREQi9sb2NhdGlvbnMvZWFzdHVzMi9vcGVyYXRpb25zU3RhdHVzL2U0MWUzOWI2LTJlNDMtNDk0ZS05OTIzLTBkYzNmMTQ2OWY0Nz9hcGktdmVyc2lvbj0yMDIxLTA0LTE1", + "RequestUri": "/subscriptions/259fbb24-9bcd-4cfc-865c-fc33b22fe38a/providers/Microsoft.DocumentDB/locations/eastus2/operationsStatus/f08075c3-9641-4561-8f5e-eb0154c3de83?api-version=2021-06-15", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMjU5ZmJiMjQtOWJjZC00Y2ZjLTg2NWMtZmMzM2IyMmZlMzhhL3Byb3ZpZGVycy9NaWNyb3NvZnQuRG9jdW1lbnREQi9sb2NhdGlvbnMvZWFzdHVzMi9vcGVyYXRpb25zU3RhdHVzL2YwODA3NWMzLTk2NDEtNDU2MS04ZjVlLWViMDE1NGMzZGU4Mz9hcGktdmVyc2lvbj0yMDIxLTA2LTE1", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { "User-Agent": [ - "FxVersion/4.6.29916.01", + "FxVersion/4.6.28207.03", "OSName/Windows", - "OSVersion/Microsoft.Windows.10.0.19042.", + "OSVersion/Microsoft.Windows.10.0.19043.", "Microsoft.Azure.Management.CosmosDB.CosmosDBManagementClient/3.0.0.0" ] }, @@ -342,7 +342,7 @@ "max-age=31536000; includeSubDomains" ], "x-ms-gatewayversion": [ - "version=2.11.0" + "version=2.14.0" ], "Server": [ "Microsoft-HTTPAPI/2.0" @@ -351,19 +351,19 @@ "11997" ], "x-ms-request-id": [ - "f64bbaa8-682c-41a8-b344-bae02b908e99" + "f230d095-d9ba-4a4b-968e-b57b74a2e4b7" ], "x-ms-correlation-request-id": [ - "f64bbaa8-682c-41a8-b344-bae02b908e99" + "f230d095-d9ba-4a4b-968e-b57b74a2e4b7" ], "x-ms-routing-request-id": [ - "WESTCENTRALUS:20210427T171835Z:f64bbaa8-682c-41a8-b344-bae02b908e99" + "WESTUS2:20210616T050933Z:f230d095-d9ba-4a4b-968e-b57b74a2e4b7" ], "X-Content-Type-Options": [ "nosniff" ], "Date": [ - "Tue, 27 Apr 2021 17:18:35 GMT" + "Wed, 16 Jun 2021 05:09:32 GMT" ], "Content-Length": [ "21" @@ -376,15 +376,15 @@ "StatusCode": 200 }, { - "RequestUri": "/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/providers/Microsoft.DocumentDB/locations/eastus2/operationsStatus/e41e39b6-2e43-494e-9923-0dc3f1469f47?api-version=2021-04-15", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvODBiZTM5NjEtMDUyMS00YTBhLTg1NzAtNWNkNWE0ZTJmOThjL3Byb3ZpZGVycy9NaWNyb3NvZnQuRG9jdW1lbnREQi9sb2NhdGlvbnMvZWFzdHVzMi9vcGVyYXRpb25zU3RhdHVzL2U0MWUzOWI2LTJlNDMtNDk0ZS05OTIzLTBkYzNmMTQ2OWY0Nz9hcGktdmVyc2lvbj0yMDIxLTA0LTE1", + "RequestUri": "/subscriptions/259fbb24-9bcd-4cfc-865c-fc33b22fe38a/providers/Microsoft.DocumentDB/locations/eastus2/operationsStatus/f08075c3-9641-4561-8f5e-eb0154c3de83?api-version=2021-06-15", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMjU5ZmJiMjQtOWJjZC00Y2ZjLTg2NWMtZmMzM2IyMmZlMzhhL3Byb3ZpZGVycy9NaWNyb3NvZnQuRG9jdW1lbnREQi9sb2NhdGlvbnMvZWFzdHVzMi9vcGVyYXRpb25zU3RhdHVzL2YwODA3NWMzLTk2NDEtNDU2MS04ZjVlLWViMDE1NGMzZGU4Mz9hcGktdmVyc2lvbj0yMDIxLTA2LTE1", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { "User-Agent": [ - "FxVersion/4.6.29916.01", + "FxVersion/4.6.28207.03", "OSName/Windows", - "OSVersion/Microsoft.Windows.10.0.19042.", + "OSVersion/Microsoft.Windows.10.0.19043.", "Microsoft.Azure.Management.CosmosDB.CosmosDBManagementClient/3.0.0.0" ] }, @@ -399,7 +399,7 @@ "max-age=31536000; includeSubDomains" ], "x-ms-gatewayversion": [ - "version=2.11.0" + "version=2.14.0" ], "Server": [ "Microsoft-HTTPAPI/2.0" @@ -408,19 +408,19 @@ "11996" ], "x-ms-request-id": [ - "c4da72a6-4b36-4048-951a-fb9bea1f0103" + "81142d87-d28b-4a39-99be-2e5166511156" ], "x-ms-correlation-request-id": [ - "c4da72a6-4b36-4048-951a-fb9bea1f0103" + "81142d87-d28b-4a39-99be-2e5166511156" ], "x-ms-routing-request-id": [ - "WESTCENTRALUS:20210427T171905Z:c4da72a6-4b36-4048-951a-fb9bea1f0103" + "WESTUS2:20210616T051003Z:81142d87-d28b-4a39-99be-2e5166511156" ], "X-Content-Type-Options": [ "nosniff" ], "Date": [ - "Tue, 27 Apr 2021 17:19:05 GMT" + "Wed, 16 Jun 2021 05:10:03 GMT" ], "Content-Length": [ "21" @@ -433,15 +433,15 @@ "StatusCode": 200 }, { - "RequestUri": "/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/providers/Microsoft.DocumentDB/locations/eastus2/operationsStatus/e41e39b6-2e43-494e-9923-0dc3f1469f47?api-version=2021-04-15", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvODBiZTM5NjEtMDUyMS00YTBhLTg1NzAtNWNkNWE0ZTJmOThjL3Byb3ZpZGVycy9NaWNyb3NvZnQuRG9jdW1lbnREQi9sb2NhdGlvbnMvZWFzdHVzMi9vcGVyYXRpb25zU3RhdHVzL2U0MWUzOWI2LTJlNDMtNDk0ZS05OTIzLTBkYzNmMTQ2OWY0Nz9hcGktdmVyc2lvbj0yMDIxLTA0LTE1", + "RequestUri": "/subscriptions/259fbb24-9bcd-4cfc-865c-fc33b22fe38a/providers/Microsoft.DocumentDB/locations/eastus2/operationsStatus/f08075c3-9641-4561-8f5e-eb0154c3de83?api-version=2021-06-15", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMjU5ZmJiMjQtOWJjZC00Y2ZjLTg2NWMtZmMzM2IyMmZlMzhhL3Byb3ZpZGVycy9NaWNyb3NvZnQuRG9jdW1lbnREQi9sb2NhdGlvbnMvZWFzdHVzMi9vcGVyYXRpb25zU3RhdHVzL2YwODA3NWMzLTk2NDEtNDU2MS04ZjVlLWViMDE1NGMzZGU4Mz9hcGktdmVyc2lvbj0yMDIxLTA2LTE1", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { "User-Agent": [ - "FxVersion/4.6.29916.01", + "FxVersion/4.6.28207.03", "OSName/Windows", - "OSVersion/Microsoft.Windows.10.0.19042.", + "OSVersion/Microsoft.Windows.10.0.19043.", "Microsoft.Azure.Management.CosmosDB.CosmosDBManagementClient/3.0.0.0" ] }, @@ -456,7 +456,7 @@ "max-age=31536000; includeSubDomains" ], "x-ms-gatewayversion": [ - "version=2.11.0" + "version=2.14.0" ], "Server": [ "Microsoft-HTTPAPI/2.0" @@ -465,19 +465,19 @@ "11995" ], "x-ms-request-id": [ - "b6912713-9498-497a-9bcb-b0fdf4e7744b" + "7064445d-bd21-452b-974b-600287663a25" ], "x-ms-correlation-request-id": [ - "b6912713-9498-497a-9bcb-b0fdf4e7744b" + "7064445d-bd21-452b-974b-600287663a25" ], "x-ms-routing-request-id": [ - "WESTCENTRALUS:20210427T171936Z:b6912713-9498-497a-9bcb-b0fdf4e7744b" + "WESTUS2:20210616T051033Z:7064445d-bd21-452b-974b-600287663a25" ], "X-Content-Type-Options": [ "nosniff" ], "Date": [ - "Tue, 27 Apr 2021 17:19:35 GMT" + "Wed, 16 Jun 2021 05:10:33 GMT" ], "Content-Length": [ "21" @@ -490,15 +490,15 @@ "StatusCode": 200 }, { - "RequestUri": "/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/providers/Microsoft.DocumentDB/locations/eastus2/operationsStatus/e41e39b6-2e43-494e-9923-0dc3f1469f47?api-version=2021-04-15", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvODBiZTM5NjEtMDUyMS00YTBhLTg1NzAtNWNkNWE0ZTJmOThjL3Byb3ZpZGVycy9NaWNyb3NvZnQuRG9jdW1lbnREQi9sb2NhdGlvbnMvZWFzdHVzMi9vcGVyYXRpb25zU3RhdHVzL2U0MWUzOWI2LTJlNDMtNDk0ZS05OTIzLTBkYzNmMTQ2OWY0Nz9hcGktdmVyc2lvbj0yMDIxLTA0LTE1", + "RequestUri": "/subscriptions/259fbb24-9bcd-4cfc-865c-fc33b22fe38a/providers/Microsoft.DocumentDB/locations/eastus2/operationsStatus/f08075c3-9641-4561-8f5e-eb0154c3de83?api-version=2021-06-15", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMjU5ZmJiMjQtOWJjZC00Y2ZjLTg2NWMtZmMzM2IyMmZlMzhhL3Byb3ZpZGVycy9NaWNyb3NvZnQuRG9jdW1lbnREQi9sb2NhdGlvbnMvZWFzdHVzMi9vcGVyYXRpb25zU3RhdHVzL2YwODA3NWMzLTk2NDEtNDU2MS04ZjVlLWViMDE1NGMzZGU4Mz9hcGktdmVyc2lvbj0yMDIxLTA2LTE1", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { "User-Agent": [ - "FxVersion/4.6.29916.01", + "FxVersion/4.6.28207.03", "OSName/Windows", - "OSVersion/Microsoft.Windows.10.0.19042.", + "OSVersion/Microsoft.Windows.10.0.19043.", "Microsoft.Azure.Management.CosmosDB.CosmosDBManagementClient/3.0.0.0" ] }, @@ -513,7 +513,7 @@ "max-age=31536000; includeSubDomains" ], "x-ms-gatewayversion": [ - "version=2.11.0" + "version=2.14.0" ], "Server": [ "Microsoft-HTTPAPI/2.0" @@ -522,19 +522,19 @@ "11994" ], "x-ms-request-id": [ - "43fedda9-db66-4ab0-947c-c404b75eaaf4" + "def722cd-fdc3-4188-98c0-283bb6357435" ], "x-ms-correlation-request-id": [ - "43fedda9-db66-4ab0-947c-c404b75eaaf4" + "def722cd-fdc3-4188-98c0-283bb6357435" ], "x-ms-routing-request-id": [ - "WESTCENTRALUS:20210427T172006Z:43fedda9-db66-4ab0-947c-c404b75eaaf4" + "WESTUS2:20210616T051103Z:def722cd-fdc3-4188-98c0-283bb6357435" ], "X-Content-Type-Options": [ "nosniff" ], "Date": [ - "Tue, 27 Apr 2021 17:20:05 GMT" + "Wed, 16 Jun 2021 05:11:03 GMT" ], "Content-Length": [ "21" @@ -547,15 +547,15 @@ "StatusCode": 200 }, { - "RequestUri": "/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/providers/Microsoft.DocumentDB/locations/eastus2/operationsStatus/e41e39b6-2e43-494e-9923-0dc3f1469f47?api-version=2021-04-15", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvODBiZTM5NjEtMDUyMS00YTBhLTg1NzAtNWNkNWE0ZTJmOThjL3Byb3ZpZGVycy9NaWNyb3NvZnQuRG9jdW1lbnREQi9sb2NhdGlvbnMvZWFzdHVzMi9vcGVyYXRpb25zU3RhdHVzL2U0MWUzOWI2LTJlNDMtNDk0ZS05OTIzLTBkYzNmMTQ2OWY0Nz9hcGktdmVyc2lvbj0yMDIxLTA0LTE1", + "RequestUri": "/subscriptions/259fbb24-9bcd-4cfc-865c-fc33b22fe38a/providers/Microsoft.DocumentDB/locations/eastus2/operationsStatus/f08075c3-9641-4561-8f5e-eb0154c3de83?api-version=2021-06-15", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMjU5ZmJiMjQtOWJjZC00Y2ZjLTg2NWMtZmMzM2IyMmZlMzhhL3Byb3ZpZGVycy9NaWNyb3NvZnQuRG9jdW1lbnREQi9sb2NhdGlvbnMvZWFzdHVzMi9vcGVyYXRpb25zU3RhdHVzL2YwODA3NWMzLTk2NDEtNDU2MS04ZjVlLWViMDE1NGMzZGU4Mz9hcGktdmVyc2lvbj0yMDIxLTA2LTE1", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { "User-Agent": [ - "FxVersion/4.6.29916.01", + "FxVersion/4.6.28207.03", "OSName/Windows", - "OSVersion/Microsoft.Windows.10.0.19042.", + "OSVersion/Microsoft.Windows.10.0.19043.", "Microsoft.Azure.Management.CosmosDB.CosmosDBManagementClient/3.0.0.0" ] }, @@ -570,7 +570,7 @@ "max-age=31536000; includeSubDomains" ], "x-ms-gatewayversion": [ - "version=2.11.0" + "version=2.14.0" ], "Server": [ "Microsoft-HTTPAPI/2.0" @@ -579,703 +579,19 @@ "11993" ], "x-ms-request-id": [ - "01deba08-5a4d-43bd-a850-860b1f185ab8" + "cd10479d-3d5e-4290-949b-eaefb3ff4850" ], "x-ms-correlation-request-id": [ - "01deba08-5a4d-43bd-a850-860b1f185ab8" + "cd10479d-3d5e-4290-949b-eaefb3ff4850" ], "x-ms-routing-request-id": [ - "WESTCENTRALUS:20210427T172036Z:01deba08-5a4d-43bd-a850-860b1f185ab8" + "WESTUS2:20210616T051134Z:cd10479d-3d5e-4290-949b-eaefb3ff4850" ], "X-Content-Type-Options": [ "nosniff" ], "Date": [ - "Tue, 27 Apr 2021 17:20:35 GMT" - ], - "Content-Length": [ - "21" - ], - "Content-Type": [ - "application/json" - ] - }, - "ResponseBody": "{\r\n \"status\": \"Dequeued\"\r\n}", - "StatusCode": 200 - }, - { - "RequestUri": "/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/providers/Microsoft.DocumentDB/locations/eastus2/operationsStatus/e41e39b6-2e43-494e-9923-0dc3f1469f47?api-version=2021-04-15", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvODBiZTM5NjEtMDUyMS00YTBhLTg1NzAtNWNkNWE0ZTJmOThjL3Byb3ZpZGVycy9NaWNyb3NvZnQuRG9jdW1lbnREQi9sb2NhdGlvbnMvZWFzdHVzMi9vcGVyYXRpb25zU3RhdHVzL2U0MWUzOWI2LTJlNDMtNDk0ZS05OTIzLTBkYzNmMTQ2OWY0Nz9hcGktdmVyc2lvbj0yMDIxLTA0LTE1", - "RequestMethod": "GET", - "RequestBody": "", - "RequestHeaders": { - "User-Agent": [ - "FxVersion/4.6.29916.01", - "OSName/Windows", - "OSVersion/Microsoft.Windows.10.0.19042.", - "Microsoft.Azure.Management.CosmosDB.CosmosDBManagementClient/3.0.0.0" - ] - }, - "ResponseHeaders": { - "Cache-Control": [ - "no-store, no-cache" - ], - "Pragma": [ - "no-cache" - ], - "Strict-Transport-Security": [ - "max-age=31536000; includeSubDomains" - ], - "x-ms-gatewayversion": [ - "version=2.11.0" - ], - "Server": [ - "Microsoft-HTTPAPI/2.0" - ], - "x-ms-ratelimit-remaining-subscription-reads": [ - "11992" - ], - "x-ms-request-id": [ - "11c208b4-efda-4511-bdf9-8fde16086871" - ], - "x-ms-correlation-request-id": [ - "11c208b4-efda-4511-bdf9-8fde16086871" - ], - "x-ms-routing-request-id": [ - "WESTCENTRALUS:20210427T172106Z:11c208b4-efda-4511-bdf9-8fde16086871" - ], - "X-Content-Type-Options": [ - "nosniff" - ], - "Date": [ - "Tue, 27 Apr 2021 17:21:06 GMT" - ], - "Content-Length": [ - "21" - ], - "Content-Type": [ - "application/json" - ] - }, - "ResponseBody": "{\r\n \"status\": \"Dequeued\"\r\n}", - "StatusCode": 200 - }, - { - "RequestUri": "/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/providers/Microsoft.DocumentDB/locations/eastus2/operationsStatus/e41e39b6-2e43-494e-9923-0dc3f1469f47?api-version=2021-04-15", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvODBiZTM5NjEtMDUyMS00YTBhLTg1NzAtNWNkNWE0ZTJmOThjL3Byb3ZpZGVycy9NaWNyb3NvZnQuRG9jdW1lbnREQi9sb2NhdGlvbnMvZWFzdHVzMi9vcGVyYXRpb25zU3RhdHVzL2U0MWUzOWI2LTJlNDMtNDk0ZS05OTIzLTBkYzNmMTQ2OWY0Nz9hcGktdmVyc2lvbj0yMDIxLTA0LTE1", - "RequestMethod": "GET", - "RequestBody": "", - "RequestHeaders": { - "User-Agent": [ - "FxVersion/4.6.29916.01", - "OSName/Windows", - "OSVersion/Microsoft.Windows.10.0.19042.", - "Microsoft.Azure.Management.CosmosDB.CosmosDBManagementClient/3.0.0.0" - ] - }, - "ResponseHeaders": { - "Cache-Control": [ - "no-store, no-cache" - ], - "Pragma": [ - "no-cache" - ], - "Strict-Transport-Security": [ - "max-age=31536000; includeSubDomains" - ], - "x-ms-gatewayversion": [ - "version=2.11.0" - ], - "Server": [ - "Microsoft-HTTPAPI/2.0" - ], - "x-ms-ratelimit-remaining-subscription-reads": [ - "11991" - ], - "x-ms-request-id": [ - "41f9f06f-608c-4035-884f-cdd4b30198c6" - ], - "x-ms-correlation-request-id": [ - "41f9f06f-608c-4035-884f-cdd4b30198c6" - ], - "x-ms-routing-request-id": [ - "WESTCENTRALUS:20210427T172136Z:41f9f06f-608c-4035-884f-cdd4b30198c6" - ], - "X-Content-Type-Options": [ - "nosniff" - ], - "Date": [ - "Tue, 27 Apr 2021 17:21:36 GMT" - ], - "Content-Length": [ - "21" - ], - "Content-Type": [ - "application/json" - ] - }, - "ResponseBody": "{\r\n \"status\": \"Dequeued\"\r\n}", - "StatusCode": 200 - }, - { - "RequestUri": "/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/providers/Microsoft.DocumentDB/locations/eastus2/operationsStatus/e41e39b6-2e43-494e-9923-0dc3f1469f47?api-version=2021-04-15", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvODBiZTM5NjEtMDUyMS00YTBhLTg1NzAtNWNkNWE0ZTJmOThjL3Byb3ZpZGVycy9NaWNyb3NvZnQuRG9jdW1lbnREQi9sb2NhdGlvbnMvZWFzdHVzMi9vcGVyYXRpb25zU3RhdHVzL2U0MWUzOWI2LTJlNDMtNDk0ZS05OTIzLTBkYzNmMTQ2OWY0Nz9hcGktdmVyc2lvbj0yMDIxLTA0LTE1", - "RequestMethod": "GET", - "RequestBody": "", - "RequestHeaders": { - "User-Agent": [ - "FxVersion/4.6.29916.01", - "OSName/Windows", - "OSVersion/Microsoft.Windows.10.0.19042.", - "Microsoft.Azure.Management.CosmosDB.CosmosDBManagementClient/3.0.0.0" - ] - }, - "ResponseHeaders": { - "Cache-Control": [ - "no-store, no-cache" - ], - "Pragma": [ - "no-cache" - ], - "Strict-Transport-Security": [ - "max-age=31536000; includeSubDomains" - ], - "x-ms-gatewayversion": [ - "version=2.11.0" - ], - "Server": [ - "Microsoft-HTTPAPI/2.0" - ], - "x-ms-ratelimit-remaining-subscription-reads": [ - "11990" - ], - "x-ms-request-id": [ - "0300e4df-b204-4eed-89cb-07f7a588b319" - ], - "x-ms-correlation-request-id": [ - "0300e4df-b204-4eed-89cb-07f7a588b319" - ], - "x-ms-routing-request-id": [ - "WESTCENTRALUS:20210427T172206Z:0300e4df-b204-4eed-89cb-07f7a588b319" - ], - "X-Content-Type-Options": [ - "nosniff" - ], - "Date": [ - "Tue, 27 Apr 2021 17:22:05 GMT" - ], - "Content-Length": [ - "21" - ], - "Content-Type": [ - "application/json" - ] - }, - "ResponseBody": "{\r\n \"status\": \"Dequeued\"\r\n}", - "StatusCode": 200 - }, - { - "RequestUri": "/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/providers/Microsoft.DocumentDB/locations/eastus2/operationsStatus/e41e39b6-2e43-494e-9923-0dc3f1469f47?api-version=2021-04-15", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvODBiZTM5NjEtMDUyMS00YTBhLTg1NzAtNWNkNWE0ZTJmOThjL3Byb3ZpZGVycy9NaWNyb3NvZnQuRG9jdW1lbnREQi9sb2NhdGlvbnMvZWFzdHVzMi9vcGVyYXRpb25zU3RhdHVzL2U0MWUzOWI2LTJlNDMtNDk0ZS05OTIzLTBkYzNmMTQ2OWY0Nz9hcGktdmVyc2lvbj0yMDIxLTA0LTE1", - "RequestMethod": "GET", - "RequestBody": "", - "RequestHeaders": { - "User-Agent": [ - "FxVersion/4.6.29916.01", - "OSName/Windows", - "OSVersion/Microsoft.Windows.10.0.19042.", - "Microsoft.Azure.Management.CosmosDB.CosmosDBManagementClient/3.0.0.0" - ] - }, - "ResponseHeaders": { - "Cache-Control": [ - "no-store, no-cache" - ], - "Pragma": [ - "no-cache" - ], - "Strict-Transport-Security": [ - "max-age=31536000; includeSubDomains" - ], - "x-ms-gatewayversion": [ - "version=2.11.0" - ], - "Server": [ - "Microsoft-HTTPAPI/2.0" - ], - "x-ms-ratelimit-remaining-subscription-reads": [ - "11989" - ], - "x-ms-request-id": [ - "548e6b77-aed1-4763-ade2-d45c8c7b1eb2" - ], - "x-ms-correlation-request-id": [ - "548e6b77-aed1-4763-ade2-d45c8c7b1eb2" - ], - "x-ms-routing-request-id": [ - "WESTCENTRALUS:20210427T172236Z:548e6b77-aed1-4763-ade2-d45c8c7b1eb2" - ], - "X-Content-Type-Options": [ - "nosniff" - ], - "Date": [ - "Tue, 27 Apr 2021 17:22:36 GMT" - ], - "Content-Length": [ - "21" - ], - "Content-Type": [ - "application/json" - ] - }, - "ResponseBody": "{\r\n \"status\": \"Dequeued\"\r\n}", - "StatusCode": 200 - }, - { - "RequestUri": "/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/providers/Microsoft.DocumentDB/locations/eastus2/operationsStatus/e41e39b6-2e43-494e-9923-0dc3f1469f47?api-version=2021-04-15", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvODBiZTM5NjEtMDUyMS00YTBhLTg1NzAtNWNkNWE0ZTJmOThjL3Byb3ZpZGVycy9NaWNyb3NvZnQuRG9jdW1lbnREQi9sb2NhdGlvbnMvZWFzdHVzMi9vcGVyYXRpb25zU3RhdHVzL2U0MWUzOWI2LTJlNDMtNDk0ZS05OTIzLTBkYzNmMTQ2OWY0Nz9hcGktdmVyc2lvbj0yMDIxLTA0LTE1", - "RequestMethod": "GET", - "RequestBody": "", - "RequestHeaders": { - "User-Agent": [ - "FxVersion/4.6.29916.01", - "OSName/Windows", - "OSVersion/Microsoft.Windows.10.0.19042.", - "Microsoft.Azure.Management.CosmosDB.CosmosDBManagementClient/3.0.0.0" - ] - }, - "ResponseHeaders": { - "Cache-Control": [ - "no-store, no-cache" - ], - "Pragma": [ - "no-cache" - ], - "Strict-Transport-Security": [ - "max-age=31536000; includeSubDomains" - ], - "x-ms-gatewayversion": [ - "version=2.11.0" - ], - "Server": [ - "Microsoft-HTTPAPI/2.0" - ], - "x-ms-ratelimit-remaining-subscription-reads": [ - "11988" - ], - "x-ms-request-id": [ - "21d27e61-d90a-4638-b464-09135e0c4844" - ], - "x-ms-correlation-request-id": [ - "21d27e61-d90a-4638-b464-09135e0c4844" - ], - "x-ms-routing-request-id": [ - "WESTCENTRALUS:20210427T172307Z:21d27e61-d90a-4638-b464-09135e0c4844" - ], - "X-Content-Type-Options": [ - "nosniff" - ], - "Date": [ - "Tue, 27 Apr 2021 17:23:06 GMT" - ], - "Content-Length": [ - "21" - ], - "Content-Type": [ - "application/json" - ] - }, - "ResponseBody": "{\r\n \"status\": \"Dequeued\"\r\n}", - "StatusCode": 200 - }, - { - "RequestUri": "/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/providers/Microsoft.DocumentDB/locations/eastus2/operationsStatus/e41e39b6-2e43-494e-9923-0dc3f1469f47?api-version=2021-04-15", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvODBiZTM5NjEtMDUyMS00YTBhLTg1NzAtNWNkNWE0ZTJmOThjL3Byb3ZpZGVycy9NaWNyb3NvZnQuRG9jdW1lbnREQi9sb2NhdGlvbnMvZWFzdHVzMi9vcGVyYXRpb25zU3RhdHVzL2U0MWUzOWI2LTJlNDMtNDk0ZS05OTIzLTBkYzNmMTQ2OWY0Nz9hcGktdmVyc2lvbj0yMDIxLTA0LTE1", - "RequestMethod": "GET", - "RequestBody": "", - "RequestHeaders": { - "User-Agent": [ - "FxVersion/4.6.29916.01", - "OSName/Windows", - "OSVersion/Microsoft.Windows.10.0.19042.", - "Microsoft.Azure.Management.CosmosDB.CosmosDBManagementClient/3.0.0.0" - ] - }, - "ResponseHeaders": { - "Cache-Control": [ - "no-store, no-cache" - ], - "Pragma": [ - "no-cache" - ], - "Strict-Transport-Security": [ - "max-age=31536000; includeSubDomains" - ], - "x-ms-gatewayversion": [ - "version=2.11.0" - ], - "Server": [ - "Microsoft-HTTPAPI/2.0" - ], - "x-ms-ratelimit-remaining-subscription-reads": [ - "11987" - ], - "x-ms-request-id": [ - "d8257c38-88e8-46c7-a5b4-c3e67e0bee6c" - ], - "x-ms-correlation-request-id": [ - "d8257c38-88e8-46c7-a5b4-c3e67e0bee6c" - ], - "x-ms-routing-request-id": [ - "WESTCENTRALUS:20210427T172337Z:d8257c38-88e8-46c7-a5b4-c3e67e0bee6c" - ], - "X-Content-Type-Options": [ - "nosniff" - ], - "Date": [ - "Tue, 27 Apr 2021 17:23:36 GMT" - ], - "Content-Length": [ - "21" - ], - "Content-Type": [ - "application/json" - ] - }, - "ResponseBody": "{\r\n \"status\": \"Dequeued\"\r\n}", - "StatusCode": 200 - }, - { - "RequestUri": "/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/providers/Microsoft.DocumentDB/locations/eastus2/operationsStatus/e41e39b6-2e43-494e-9923-0dc3f1469f47?api-version=2021-04-15", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvODBiZTM5NjEtMDUyMS00YTBhLTg1NzAtNWNkNWE0ZTJmOThjL3Byb3ZpZGVycy9NaWNyb3NvZnQuRG9jdW1lbnREQi9sb2NhdGlvbnMvZWFzdHVzMi9vcGVyYXRpb25zU3RhdHVzL2U0MWUzOWI2LTJlNDMtNDk0ZS05OTIzLTBkYzNmMTQ2OWY0Nz9hcGktdmVyc2lvbj0yMDIxLTA0LTE1", - "RequestMethod": "GET", - "RequestBody": "", - "RequestHeaders": { - "User-Agent": [ - "FxVersion/4.6.29916.01", - "OSName/Windows", - "OSVersion/Microsoft.Windows.10.0.19042.", - "Microsoft.Azure.Management.CosmosDB.CosmosDBManagementClient/3.0.0.0" - ] - }, - "ResponseHeaders": { - "Cache-Control": [ - "no-store, no-cache" - ], - "Pragma": [ - "no-cache" - ], - "Strict-Transport-Security": [ - "max-age=31536000; includeSubDomains" - ], - "x-ms-gatewayversion": [ - "version=2.11.0" - ], - "Server": [ - "Microsoft-HTTPAPI/2.0" - ], - "x-ms-ratelimit-remaining-subscription-reads": [ - "11986" - ], - "x-ms-request-id": [ - "8d399985-89df-4ec8-bf8d-81f54247c05e" - ], - "x-ms-correlation-request-id": [ - "8d399985-89df-4ec8-bf8d-81f54247c05e" - ], - "x-ms-routing-request-id": [ - "WESTCENTRALUS:20210427T172407Z:8d399985-89df-4ec8-bf8d-81f54247c05e" - ], - "X-Content-Type-Options": [ - "nosniff" - ], - "Date": [ - "Tue, 27 Apr 2021 17:24:06 GMT" - ], - "Content-Length": [ - "21" - ], - "Content-Type": [ - "application/json" - ] - }, - "ResponseBody": "{\r\n \"status\": \"Dequeued\"\r\n}", - "StatusCode": 200 - }, - { - "RequestUri": "/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/providers/Microsoft.DocumentDB/locations/eastus2/operationsStatus/e41e39b6-2e43-494e-9923-0dc3f1469f47?api-version=2021-04-15", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvODBiZTM5NjEtMDUyMS00YTBhLTg1NzAtNWNkNWE0ZTJmOThjL3Byb3ZpZGVycy9NaWNyb3NvZnQuRG9jdW1lbnREQi9sb2NhdGlvbnMvZWFzdHVzMi9vcGVyYXRpb25zU3RhdHVzL2U0MWUzOWI2LTJlNDMtNDk0ZS05OTIzLTBkYzNmMTQ2OWY0Nz9hcGktdmVyc2lvbj0yMDIxLTA0LTE1", - "RequestMethod": "GET", - "RequestBody": "", - "RequestHeaders": { - "User-Agent": [ - "FxVersion/4.6.29916.01", - "OSName/Windows", - "OSVersion/Microsoft.Windows.10.0.19042.", - "Microsoft.Azure.Management.CosmosDB.CosmosDBManagementClient/3.0.0.0" - ] - }, - "ResponseHeaders": { - "Cache-Control": [ - "no-store, no-cache" - ], - "Pragma": [ - "no-cache" - ], - "Strict-Transport-Security": [ - "max-age=31536000; includeSubDomains" - ], - "x-ms-gatewayversion": [ - "version=2.11.0" - ], - "Server": [ - "Microsoft-HTTPAPI/2.0" - ], - "x-ms-ratelimit-remaining-subscription-reads": [ - "11985" - ], - "x-ms-request-id": [ - "587d8947-0be3-4bf0-bbbd-490b97c9c910" - ], - "x-ms-correlation-request-id": [ - "587d8947-0be3-4bf0-bbbd-490b97c9c910" - ], - "x-ms-routing-request-id": [ - "WESTCENTRALUS:20210427T172437Z:587d8947-0be3-4bf0-bbbd-490b97c9c910" - ], - "X-Content-Type-Options": [ - "nosniff" - ], - "Date": [ - "Tue, 27 Apr 2021 17:24:36 GMT" - ], - "Content-Length": [ - "21" - ], - "Content-Type": [ - "application/json" - ] - }, - "ResponseBody": "{\r\n \"status\": \"Dequeued\"\r\n}", - "StatusCode": 200 - }, - { - "RequestUri": "/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/providers/Microsoft.DocumentDB/locations/eastus2/operationsStatus/e41e39b6-2e43-494e-9923-0dc3f1469f47?api-version=2021-04-15", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvODBiZTM5NjEtMDUyMS00YTBhLTg1NzAtNWNkNWE0ZTJmOThjL3Byb3ZpZGVycy9NaWNyb3NvZnQuRG9jdW1lbnREQi9sb2NhdGlvbnMvZWFzdHVzMi9vcGVyYXRpb25zU3RhdHVzL2U0MWUzOWI2LTJlNDMtNDk0ZS05OTIzLTBkYzNmMTQ2OWY0Nz9hcGktdmVyc2lvbj0yMDIxLTA0LTE1", - "RequestMethod": "GET", - "RequestBody": "", - "RequestHeaders": { - "User-Agent": [ - "FxVersion/4.6.29916.01", - "OSName/Windows", - "OSVersion/Microsoft.Windows.10.0.19042.", - "Microsoft.Azure.Management.CosmosDB.CosmosDBManagementClient/3.0.0.0" - ] - }, - "ResponseHeaders": { - "Cache-Control": [ - "no-store, no-cache" - ], - "Pragma": [ - "no-cache" - ], - "Strict-Transport-Security": [ - "max-age=31536000; includeSubDomains" - ], - "x-ms-gatewayversion": [ - "version=2.11.0" - ], - "Server": [ - "Microsoft-HTTPAPI/2.0" - ], - "x-ms-ratelimit-remaining-subscription-reads": [ - "11984" - ], - "x-ms-request-id": [ - "f4a466eb-3da2-4217-ac11-fc5526d4a7da" - ], - "x-ms-correlation-request-id": [ - "f4a466eb-3da2-4217-ac11-fc5526d4a7da" - ], - "x-ms-routing-request-id": [ - "WESTCENTRALUS:20210427T172507Z:f4a466eb-3da2-4217-ac11-fc5526d4a7da" - ], - "X-Content-Type-Options": [ - "nosniff" - ], - "Date": [ - "Tue, 27 Apr 2021 17:25:07 GMT" - ], - "Content-Length": [ - "21" - ], - "Content-Type": [ - "application/json" - ] - }, - "ResponseBody": "{\r\n \"status\": \"Dequeued\"\r\n}", - "StatusCode": 200 - }, - { - "RequestUri": "/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/providers/Microsoft.DocumentDB/locations/eastus2/operationsStatus/e41e39b6-2e43-494e-9923-0dc3f1469f47?api-version=2021-04-15", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvODBiZTM5NjEtMDUyMS00YTBhLTg1NzAtNWNkNWE0ZTJmOThjL3Byb3ZpZGVycy9NaWNyb3NvZnQuRG9jdW1lbnREQi9sb2NhdGlvbnMvZWFzdHVzMi9vcGVyYXRpb25zU3RhdHVzL2U0MWUzOWI2LTJlNDMtNDk0ZS05OTIzLTBkYzNmMTQ2OWY0Nz9hcGktdmVyc2lvbj0yMDIxLTA0LTE1", - "RequestMethod": "GET", - "RequestBody": "", - "RequestHeaders": { - "User-Agent": [ - "FxVersion/4.6.29916.01", - "OSName/Windows", - "OSVersion/Microsoft.Windows.10.0.19042.", - "Microsoft.Azure.Management.CosmosDB.CosmosDBManagementClient/3.0.0.0" - ] - }, - "ResponseHeaders": { - "Cache-Control": [ - "no-store, no-cache" - ], - "Pragma": [ - "no-cache" - ], - "Strict-Transport-Security": [ - "max-age=31536000; includeSubDomains" - ], - "x-ms-gatewayversion": [ - "version=2.11.0" - ], - "Server": [ - "Microsoft-HTTPAPI/2.0" - ], - "x-ms-ratelimit-remaining-subscription-reads": [ - "11983" - ], - "x-ms-request-id": [ - "dd5b4fab-be14-4d77-956c-e8e6cfab4107" - ], - "x-ms-correlation-request-id": [ - "dd5b4fab-be14-4d77-956c-e8e6cfab4107" - ], - "x-ms-routing-request-id": [ - "WESTCENTRALUS:20210427T172537Z:dd5b4fab-be14-4d77-956c-e8e6cfab4107" - ], - "X-Content-Type-Options": [ - "nosniff" - ], - "Date": [ - "Tue, 27 Apr 2021 17:25:37 GMT" - ], - "Content-Length": [ - "21" - ], - "Content-Type": [ - "application/json" - ] - }, - "ResponseBody": "{\r\n \"status\": \"Dequeued\"\r\n}", - "StatusCode": 200 - }, - { - "RequestUri": "/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/providers/Microsoft.DocumentDB/locations/eastus2/operationsStatus/e41e39b6-2e43-494e-9923-0dc3f1469f47?api-version=2021-04-15", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvODBiZTM5NjEtMDUyMS00YTBhLTg1NzAtNWNkNWE0ZTJmOThjL3Byb3ZpZGVycy9NaWNyb3NvZnQuRG9jdW1lbnREQi9sb2NhdGlvbnMvZWFzdHVzMi9vcGVyYXRpb25zU3RhdHVzL2U0MWUzOWI2LTJlNDMtNDk0ZS05OTIzLTBkYzNmMTQ2OWY0Nz9hcGktdmVyc2lvbj0yMDIxLTA0LTE1", - "RequestMethod": "GET", - "RequestBody": "", - "RequestHeaders": { - "User-Agent": [ - "FxVersion/4.6.29916.01", - "OSName/Windows", - "OSVersion/Microsoft.Windows.10.0.19042.", - "Microsoft.Azure.Management.CosmosDB.CosmosDBManagementClient/3.0.0.0" - ] - }, - "ResponseHeaders": { - "Cache-Control": [ - "no-store, no-cache" - ], - "Pragma": [ - "no-cache" - ], - "Strict-Transport-Security": [ - "max-age=31536000; includeSubDomains" - ], - "x-ms-gatewayversion": [ - "version=2.11.0" - ], - "Server": [ - "Microsoft-HTTPAPI/2.0" - ], - "x-ms-ratelimit-remaining-subscription-reads": [ - "11982" - ], - "x-ms-request-id": [ - "575b23a8-b019-4f73-b920-83b0c366c22a" - ], - "x-ms-correlation-request-id": [ - "575b23a8-b019-4f73-b920-83b0c366c22a" - ], - "x-ms-routing-request-id": [ - "WESTCENTRALUS:20210427T172607Z:575b23a8-b019-4f73-b920-83b0c366c22a" - ], - "X-Content-Type-Options": [ - "nosniff" - ], - "Date": [ - "Tue, 27 Apr 2021 17:26:06 GMT" - ], - "Content-Length": [ - "21" - ], - "Content-Type": [ - "application/json" - ] - }, - "ResponseBody": "{\r\n \"status\": \"Dequeued\"\r\n}", - "StatusCode": 200 - }, - { - "RequestUri": "/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/providers/Microsoft.DocumentDB/locations/eastus2/operationsStatus/e41e39b6-2e43-494e-9923-0dc3f1469f47?api-version=2021-04-15", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvODBiZTM5NjEtMDUyMS00YTBhLTg1NzAtNWNkNWE0ZTJmOThjL3Byb3ZpZGVycy9NaWNyb3NvZnQuRG9jdW1lbnREQi9sb2NhdGlvbnMvZWFzdHVzMi9vcGVyYXRpb25zU3RhdHVzL2U0MWUzOWI2LTJlNDMtNDk0ZS05OTIzLTBkYzNmMTQ2OWY0Nz9hcGktdmVyc2lvbj0yMDIxLTA0LTE1", - "RequestMethod": "GET", - "RequestBody": "", - "RequestHeaders": { - "User-Agent": [ - "FxVersion/4.6.29916.01", - "OSName/Windows", - "OSVersion/Microsoft.Windows.10.0.19042.", - "Microsoft.Azure.Management.CosmosDB.CosmosDBManagementClient/3.0.0.0" - ] - }, - "ResponseHeaders": { - "Cache-Control": [ - "no-store, no-cache" - ], - "Pragma": [ - "no-cache" - ], - "Strict-Transport-Security": [ - "max-age=31536000; includeSubDomains" - ], - "x-ms-gatewayversion": [ - "version=2.11.0" - ], - "Server": [ - "Microsoft-HTTPAPI/2.0" - ], - "x-ms-ratelimit-remaining-subscription-reads": [ - "11981" - ], - "x-ms-request-id": [ - "fa807ff2-4932-4c80-8990-28ec48fb983b" - ], - "x-ms-correlation-request-id": [ - "fa807ff2-4932-4c80-8990-28ec48fb983b" - ], - "x-ms-routing-request-id": [ - "WESTCENTRALUS:20210427T172637Z:fa807ff2-4932-4c80-8990-28ec48fb983b" - ], - "X-Content-Type-Options": [ - "nosniff" - ], - "Date": [ - "Tue, 27 Apr 2021 17:26:36 GMT" + "Wed, 16 Jun 2021 05:11:33 GMT" ], "Content-Length": [ "22" @@ -1288,15 +604,15 @@ "StatusCode": 200 }, { - "RequestUri": "/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/resourceGroups/CosmosDBResourceGroup6394/providers/Microsoft.DocumentDB/databaseAccounts/accountname9088?api-version=2021-04-15", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvODBiZTM5NjEtMDUyMS00YTBhLTg1NzAtNWNkNWE0ZTJmOThjL3Jlc291cmNlR3JvdXBzL0Nvc21vc0RCUmVzb3VyY2VHcm91cDYzOTQvcHJvdmlkZXJzL01pY3Jvc29mdC5Eb2N1bWVudERCL2RhdGFiYXNlQWNjb3VudHMvYWNjb3VudG5hbWU5MDg4P2FwaS12ZXJzaW9uPTIwMjEtMDQtMTU=", + "RequestUri": "/subscriptions/259fbb24-9bcd-4cfc-865c-fc33b22fe38a/resourceGroups/CosmosDBResourceGroup8650/providers/Microsoft.DocumentDB/databaseAccounts/accountname4002?api-version=2021-06-15", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMjU5ZmJiMjQtOWJjZC00Y2ZjLTg2NWMtZmMzM2IyMmZlMzhhL3Jlc291cmNlR3JvdXBzL0Nvc21vc0RCUmVzb3VyY2VHcm91cDg2NTAvcHJvdmlkZXJzL01pY3Jvc29mdC5Eb2N1bWVudERCL2RhdGFiYXNlQWNjb3VudHMvYWNjb3VudG5hbWU0MDAyP2FwaS12ZXJzaW9uPTIwMjEtMDYtMTU=", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { "User-Agent": [ - "FxVersion/4.6.29916.01", + "FxVersion/4.6.28207.03", "OSName/Windows", - "OSVersion/Microsoft.Windows.10.0.19042.", + "OSVersion/Microsoft.Windows.10.0.19043.", "Microsoft.Azure.Management.CosmosDB.CosmosDBManagementClient/3.0.0.0" ] }, @@ -1311,55 +627,55 @@ "max-age=31536000; includeSubDomains" ], "x-ms-gatewayversion": [ - "version=2.11.0" + "version=2.14.0" ], "Server": [ "Microsoft-HTTPAPI/2.0" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "11980" + "11992" ], "x-ms-request-id": [ - "0621a79c-d677-44d6-ab41-c3148fbb8903" + "8a3d1272-940f-4b07-8730-f8acaf3980c9" ], "x-ms-correlation-request-id": [ - "0621a79c-d677-44d6-ab41-c3148fbb8903" + "8a3d1272-940f-4b07-8730-f8acaf3980c9" ], "x-ms-routing-request-id": [ - "WESTCENTRALUS:20210427T172637Z:0621a79c-d677-44d6-ab41-c3148fbb8903" + "WESTUS2:20210616T051134Z:8a3d1272-940f-4b07-8730-f8acaf3980c9" ], "X-Content-Type-Options": [ "nosniff" ], "Date": [ - "Tue, 27 Apr 2021 17:26:37 GMT" + "Wed, 16 Jun 2021 05:11:34 GMT" ], "Content-Length": [ - "2724" + "2603" ], "Content-Type": [ "application/json" ] }, - "ResponseBody": "{\r\n \"id\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/resourceGroups/CosmosDBResourceGroup6394/providers/Microsoft.DocumentDB/databaseAccounts/accountname9088\",\r\n \"name\": \"accountname9088\",\r\n \"location\": \"East US 2\",\r\n \"type\": \"Microsoft.DocumentDB/databaseAccounts\",\r\n \"kind\": \"MongoDB\",\r\n \"tags\": {\r\n \"key1\": \"value1\",\r\n \"key2\": \"value2\"\r\n },\r\n \"systemData\": {\r\n \"createdAt\": \"2021-04-27T17:25:41.0988424Z\"\r\n },\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"documentEndpoint\": \"https://accountname9088.documents-staging.windows-ppe.net:443/\",\r\n \"mongoEndpoint\": \"https://accountname9088.mongo.cosmos.windows-ppe.net:443/\",\r\n \"publicNetworkAccess\": \"Enabled\",\r\n \"enableAutomaticFailover\": false,\r\n \"enableMultipleWriteLocations\": true,\r\n \"enablePartitionKeyMonitor\": false,\r\n \"isVirtualNetworkFilterEnabled\": true,\r\n \"virtualNetworkRules\": [],\r\n \"EnabledApiTypes\": \"MongoDB\",\r\n \"disableKeyBasedMetadataWriteAccess\": false,\r\n \"enableFreeTier\": false,\r\n \"enableAnalyticalStorage\": false,\r\n \"analyticalStorageConfiguration\": null,\r\n \"instanceId\": \"c3f52ca9-535e-46c4-85d4-8b8c6a46d967\",\r\n \"createMode\": \"Default\",\r\n \"databaseAccountOfferType\": \"Standard\",\r\n \"enableCassandraConnector\": true,\r\n \"connectorOffer\": \"Small\",\r\n \"enableMaterializedViews\": false,\r\n \"enableFullFidelityChangeFeed\": false,\r\n \"defaultIdentity\": \"FirstPartyIdentity\",\r\n \"networkAclBypass\": \"AzureServices\",\r\n \"consistencyPolicy\": {\r\n \"defaultConsistencyLevel\": \"BoundedStaleness\",\r\n \"maxIntervalInSeconds\": 1000,\r\n \"maxStalenessPrefix\": 300\r\n },\r\n \"apiProperties\": {\r\n \"serverVersion\": \"3.6\"\r\n },\r\n \"configurationOverrides\": {\r\n \"EnableBsonSchema\": \"True\"\r\n },\r\n \"writeLocations\": [\r\n {\r\n \"id\": \"accountname9088-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://accountname9088-eastus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"readLocations\": [\r\n {\r\n \"id\": \"accountname9088-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://accountname9088-eastus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"locations\": [\r\n {\r\n \"id\": \"accountname9088-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://accountname9088-eastus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"failoverPolicies\": [\r\n {\r\n \"id\": \"accountname9088-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"failoverPriority\": 0\r\n }\r\n ],\r\n \"cors\": [],\r\n \"capabilities\": [\r\n {\r\n \"name\": \"EnableMongo\"\r\n }\r\n ],\r\n \"ipRules\": [\r\n {\r\n \"ipAddressOrRange\": \"23.43.230.120\"\r\n }\r\n ],\r\n \"backupPolicy\": {\r\n \"type\": \"Periodic\",\r\n \"periodicModeProperties\": {\r\n \"backupIntervalInMinutes\": 240,\r\n \"backupRetentionIntervalInHours\": 8,\r\n \"backupStorageRedundancy\": \"Geo\"\r\n }\r\n },\r\n \"networkAclBypassResourceIds\": [\r\n \"/subscriptions/subId/resourcegroups/rgName/providers/Microsoft.Synapse/workspaces/workspaceName\"\r\n ]\r\n },\r\n \"identity\": {\r\n \"type\": \"None\"\r\n }\r\n}", + "ResponseBody": "{\r\n \"id\": \"/subscriptions/259fbb24-9bcd-4cfc-865c-fc33b22fe38a/resourceGroups/CosmosDBResourceGroup8650/providers/Microsoft.DocumentDB/databaseAccounts/accountname4002\",\r\n \"name\": \"accountname4002\",\r\n \"location\": \"East US 2\",\r\n \"type\": \"Microsoft.DocumentDB/databaseAccounts\",\r\n \"kind\": \"MongoDB\",\r\n \"tags\": {\r\n \"key1\": \"value1\",\r\n \"key2\": \"value2\"\r\n },\r\n \"systemData\": {\r\n \"createdAt\": \"2021-06-16T05:10:36.0450002Z\"\r\n },\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"documentEndpoint\": \"https://accountname4002.documents.azure.com:443/\",\r\n \"mongoEndpoint\": \"https://accountname4002.mongo.cosmos.azure.com:443/\",\r\n \"publicNetworkAccess\": \"Enabled\",\r\n \"enableAutomaticFailover\": false,\r\n \"enableMultipleWriteLocations\": true,\r\n \"enablePartitionKeyMonitor\": false,\r\n \"isVirtualNetworkFilterEnabled\": true,\r\n \"virtualNetworkRules\": [],\r\n \"EnabledApiTypes\": \"MongoDB\",\r\n \"disableKeyBasedMetadataWriteAccess\": false,\r\n \"enableFreeTier\": false,\r\n \"enableAnalyticalStorage\": false,\r\n \"analyticalStorageConfiguration\": {\r\n \"analyticalStorageSchemaType\": \"FullFidelity\"\r\n },\r\n \"instanceId\": \"125165e8-3796-40d3-80cd-83d7f3094110\",\r\n \"createMode\": \"Default\",\r\n \"databaseAccountOfferType\": \"Standard\",\r\n \"defaultIdentity\": \"FirstPartyIdentity\",\r\n \"networkAclBypass\": \"AzureServices\",\r\n \"disableLocalAuth\": false,\r\n \"consistencyPolicy\": {\r\n \"defaultConsistencyLevel\": \"BoundedStaleness\",\r\n \"maxIntervalInSeconds\": 1000,\r\n \"maxStalenessPrefix\": 300\r\n },\r\n \"apiProperties\": {\r\n \"serverVersion\": \"3.6\"\r\n },\r\n \"configurationOverrides\": {\r\n \"EnableBsonSchema\": \"True\"\r\n },\r\n \"writeLocations\": [\r\n {\r\n \"id\": \"accountname4002-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://accountname4002-eastus2.documents.azure.com:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"readLocations\": [\r\n {\r\n \"id\": \"accountname4002-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://accountname4002-eastus2.documents.azure.com:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"locations\": [\r\n {\r\n \"id\": \"accountname4002-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://accountname4002-eastus2.documents.azure.com:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"failoverPolicies\": [\r\n {\r\n \"id\": \"accountname4002-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"failoverPriority\": 0\r\n }\r\n ],\r\n \"cors\": [],\r\n \"capabilities\": [\r\n {\r\n \"name\": \"EnableMongo\"\r\n }\r\n ],\r\n \"ipRules\": [\r\n {\r\n \"ipAddressOrRange\": \"23.43.230.120\"\r\n }\r\n ],\r\n \"backupPolicy\": {\r\n \"type\": \"Periodic\",\r\n \"periodicModeProperties\": {\r\n \"backupIntervalInMinutes\": 240,\r\n \"backupRetentionIntervalInHours\": 8,\r\n \"backupStorageRedundancy\": \"Geo\"\r\n }\r\n },\r\n \"networkAclBypassResourceIds\": [\r\n \"/subscriptions/subId/resourcegroups/rgName/providers/Microsoft.Synapse/workspaces/workspaceName\"\r\n ]\r\n },\r\n \"identity\": {\r\n \"type\": \"None\"\r\n }\r\n}", "StatusCode": 200 }, { - "RequestUri": "/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/resourceGroups/CosmosDBResourceGroup6394/providers/Microsoft.DocumentDB/databaseAccounts/accountname9088?api-version=2021-04-15", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvODBiZTM5NjEtMDUyMS00YTBhLTg1NzAtNWNkNWE0ZTJmOThjL3Jlc291cmNlR3JvdXBzL0Nvc21vc0RCUmVzb3VyY2VHcm91cDYzOTQvcHJvdmlkZXJzL01pY3Jvc29mdC5Eb2N1bWVudERCL2RhdGFiYXNlQWNjb3VudHMvYWNjb3VudG5hbWU5MDg4P2FwaS12ZXJzaW9uPTIwMjEtMDQtMTU=", + "RequestUri": "/subscriptions/259fbb24-9bcd-4cfc-865c-fc33b22fe38a/resourceGroups/CosmosDBResourceGroup8650/providers/Microsoft.DocumentDB/databaseAccounts/accountname4002?api-version=2021-06-15", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMjU5ZmJiMjQtOWJjZC00Y2ZjLTg2NWMtZmMzM2IyMmZlMzhhL3Jlc291cmNlR3JvdXBzL0Nvc21vc0RCUmVzb3VyY2VHcm91cDg2NTAvcHJvdmlkZXJzL01pY3Jvc29mdC5Eb2N1bWVudERCL2RhdGFiYXNlQWNjb3VudHMvYWNjb3VudG5hbWU0MDAyP2FwaS12ZXJzaW9uPTIwMjEtMDYtMTU=", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { "x-ms-client-request-id": [ - "946a906c-aca9-4100-a469-4b4ad6a51cd4" + "ee5fb78b-6f10-4a17-9b0b-969a486e0b53" ], "Accept-Language": [ "en-US" ], "User-Agent": [ - "FxVersion/4.6.29916.01", + "FxVersion/4.6.28207.03", "OSName/Windows", - "OSVersion/Microsoft.Windows.10.0.19042.", + "OSVersion/Microsoft.Windows.10.0.19043.", "Microsoft.Azure.Management.CosmosDB.CosmosDBManagementClient/3.0.0.0" ] }, @@ -1374,49 +690,49 @@ "max-age=31536000; includeSubDomains" ], "x-ms-gatewayversion": [ - "version=2.11.0" + "version=2.14.0" ], "Server": [ "Microsoft-HTTPAPI/2.0" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "11979" + "11991" ], "x-ms-request-id": [ - "6d5cd112-fcf2-4654-ab9d-0ad15ca09bb0" + "3db587b9-0e10-47d1-ab9f-3f2749747ec7" ], "x-ms-correlation-request-id": [ - "6d5cd112-fcf2-4654-ab9d-0ad15ca09bb0" + "3db587b9-0e10-47d1-ab9f-3f2749747ec7" ], "x-ms-routing-request-id": [ - "WESTCENTRALUS:20210427T172638Z:6d5cd112-fcf2-4654-ab9d-0ad15ca09bb0" + "WESTUS2:20210616T051134Z:3db587b9-0e10-47d1-ab9f-3f2749747ec7" ], "X-Content-Type-Options": [ "nosniff" ], "Date": [ - "Tue, 27 Apr 2021 17:26:37 GMT" + "Wed, 16 Jun 2021 05:11:34 GMT" ], "Content-Length": [ - "2724" + "2603" ], "Content-Type": [ "application/json" ] }, - "ResponseBody": "{\r\n \"id\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/resourceGroups/CosmosDBResourceGroup6394/providers/Microsoft.DocumentDB/databaseAccounts/accountname9088\",\r\n \"name\": \"accountname9088\",\r\n \"location\": \"East US 2\",\r\n \"type\": \"Microsoft.DocumentDB/databaseAccounts\",\r\n \"kind\": \"MongoDB\",\r\n \"tags\": {\r\n \"key1\": \"value1\",\r\n \"key2\": \"value2\"\r\n },\r\n \"systemData\": {\r\n \"createdAt\": \"2021-04-27T17:25:41.0988424Z\"\r\n },\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"documentEndpoint\": \"https://accountname9088.documents-staging.windows-ppe.net:443/\",\r\n \"mongoEndpoint\": \"https://accountname9088.mongo.cosmos.windows-ppe.net:443/\",\r\n \"publicNetworkAccess\": \"Enabled\",\r\n \"enableAutomaticFailover\": false,\r\n \"enableMultipleWriteLocations\": true,\r\n \"enablePartitionKeyMonitor\": false,\r\n \"isVirtualNetworkFilterEnabled\": true,\r\n \"virtualNetworkRules\": [],\r\n \"EnabledApiTypes\": \"MongoDB\",\r\n \"disableKeyBasedMetadataWriteAccess\": false,\r\n \"enableFreeTier\": false,\r\n \"enableAnalyticalStorage\": false,\r\n \"analyticalStorageConfiguration\": null,\r\n \"instanceId\": \"c3f52ca9-535e-46c4-85d4-8b8c6a46d967\",\r\n \"createMode\": \"Default\",\r\n \"databaseAccountOfferType\": \"Standard\",\r\n \"enableCassandraConnector\": true,\r\n \"connectorOffer\": \"Small\",\r\n \"enableMaterializedViews\": false,\r\n \"enableFullFidelityChangeFeed\": false,\r\n \"defaultIdentity\": \"FirstPartyIdentity\",\r\n \"networkAclBypass\": \"AzureServices\",\r\n \"consistencyPolicy\": {\r\n \"defaultConsistencyLevel\": \"BoundedStaleness\",\r\n \"maxIntervalInSeconds\": 1000,\r\n \"maxStalenessPrefix\": 300\r\n },\r\n \"apiProperties\": {\r\n \"serverVersion\": \"3.6\"\r\n },\r\n \"configurationOverrides\": {\r\n \"EnableBsonSchema\": \"True\"\r\n },\r\n \"writeLocations\": [\r\n {\r\n \"id\": \"accountname9088-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://accountname9088-eastus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"readLocations\": [\r\n {\r\n \"id\": \"accountname9088-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://accountname9088-eastus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"locations\": [\r\n {\r\n \"id\": \"accountname9088-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://accountname9088-eastus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"failoverPolicies\": [\r\n {\r\n \"id\": \"accountname9088-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"failoverPriority\": 0\r\n }\r\n ],\r\n \"cors\": [],\r\n \"capabilities\": [\r\n {\r\n \"name\": \"EnableMongo\"\r\n }\r\n ],\r\n \"ipRules\": [\r\n {\r\n \"ipAddressOrRange\": \"23.43.230.120\"\r\n }\r\n ],\r\n \"backupPolicy\": {\r\n \"type\": \"Periodic\",\r\n \"periodicModeProperties\": {\r\n \"backupIntervalInMinutes\": 240,\r\n \"backupRetentionIntervalInHours\": 8,\r\n \"backupStorageRedundancy\": \"Geo\"\r\n }\r\n },\r\n \"networkAclBypassResourceIds\": [\r\n \"/subscriptions/subId/resourcegroups/rgName/providers/Microsoft.Synapse/workspaces/workspaceName\"\r\n ]\r\n },\r\n \"identity\": {\r\n \"type\": \"None\"\r\n }\r\n}", + "ResponseBody": "{\r\n \"id\": \"/subscriptions/259fbb24-9bcd-4cfc-865c-fc33b22fe38a/resourceGroups/CosmosDBResourceGroup8650/providers/Microsoft.DocumentDB/databaseAccounts/accountname4002\",\r\n \"name\": \"accountname4002\",\r\n \"location\": \"East US 2\",\r\n \"type\": \"Microsoft.DocumentDB/databaseAccounts\",\r\n \"kind\": \"MongoDB\",\r\n \"tags\": {\r\n \"key1\": \"value1\",\r\n \"key2\": \"value2\"\r\n },\r\n \"systemData\": {\r\n \"createdAt\": \"2021-06-16T05:10:36.0450002Z\"\r\n },\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"documentEndpoint\": \"https://accountname4002.documents.azure.com:443/\",\r\n \"mongoEndpoint\": \"https://accountname4002.mongo.cosmos.azure.com:443/\",\r\n \"publicNetworkAccess\": \"Enabled\",\r\n \"enableAutomaticFailover\": false,\r\n \"enableMultipleWriteLocations\": true,\r\n \"enablePartitionKeyMonitor\": false,\r\n \"isVirtualNetworkFilterEnabled\": true,\r\n \"virtualNetworkRules\": [],\r\n \"EnabledApiTypes\": \"MongoDB\",\r\n \"disableKeyBasedMetadataWriteAccess\": false,\r\n \"enableFreeTier\": false,\r\n \"enableAnalyticalStorage\": false,\r\n \"analyticalStorageConfiguration\": {\r\n \"analyticalStorageSchemaType\": \"FullFidelity\"\r\n },\r\n \"instanceId\": \"125165e8-3796-40d3-80cd-83d7f3094110\",\r\n \"createMode\": \"Default\",\r\n \"databaseAccountOfferType\": \"Standard\",\r\n \"defaultIdentity\": \"FirstPartyIdentity\",\r\n \"networkAclBypass\": \"AzureServices\",\r\n \"disableLocalAuth\": false,\r\n \"consistencyPolicy\": {\r\n \"defaultConsistencyLevel\": \"BoundedStaleness\",\r\n \"maxIntervalInSeconds\": 1000,\r\n \"maxStalenessPrefix\": 300\r\n },\r\n \"apiProperties\": {\r\n \"serverVersion\": \"3.6\"\r\n },\r\n \"configurationOverrides\": {\r\n \"EnableBsonSchema\": \"True\"\r\n },\r\n \"writeLocations\": [\r\n {\r\n \"id\": \"accountname4002-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://accountname4002-eastus2.documents.azure.com:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"readLocations\": [\r\n {\r\n \"id\": \"accountname4002-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://accountname4002-eastus2.documents.azure.com:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"locations\": [\r\n {\r\n \"id\": \"accountname4002-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://accountname4002-eastus2.documents.azure.com:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"failoverPolicies\": [\r\n {\r\n \"id\": \"accountname4002-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"failoverPriority\": 0\r\n }\r\n ],\r\n \"cors\": [],\r\n \"capabilities\": [\r\n {\r\n \"name\": \"EnableMongo\"\r\n }\r\n ],\r\n \"ipRules\": [\r\n {\r\n \"ipAddressOrRange\": \"23.43.230.120\"\r\n }\r\n ],\r\n \"backupPolicy\": {\r\n \"type\": \"Periodic\",\r\n \"periodicModeProperties\": {\r\n \"backupIntervalInMinutes\": 240,\r\n \"backupRetentionIntervalInHours\": 8,\r\n \"backupStorageRedundancy\": \"Geo\"\r\n }\r\n },\r\n \"networkAclBypassResourceIds\": [\r\n \"/subscriptions/subId/resourcegroups/rgName/providers/Microsoft.Synapse/workspaces/workspaceName\"\r\n ]\r\n },\r\n \"identity\": {\r\n \"type\": \"None\"\r\n }\r\n}", "StatusCode": 200 }, { - "RequestUri": "/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/resourceGroups/CosmosDBResourceGroup6394/providers/Microsoft.DocumentDB/databaseAccounts/accountname9088?api-version=2021-04-15", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvODBiZTM5NjEtMDUyMS00YTBhLTg1NzAtNWNkNWE0ZTJmOThjL3Jlc291cmNlR3JvdXBzL0Nvc21vc0RCUmVzb3VyY2VHcm91cDYzOTQvcHJvdmlkZXJzL01pY3Jvc29mdC5Eb2N1bWVudERCL2RhdGFiYXNlQWNjb3VudHMvYWNjb3VudG5hbWU5MDg4P2FwaS12ZXJzaW9uPTIwMjEtMDQtMTU=", + "RequestUri": "/subscriptions/259fbb24-9bcd-4cfc-865c-fc33b22fe38a/resourceGroups/CosmosDBResourceGroup8650/providers/Microsoft.DocumentDB/databaseAccounts/accountname4002?api-version=2021-06-15", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMjU5ZmJiMjQtOWJjZC00Y2ZjLTg2NWMtZmMzM2IyMmZlMzhhL3Jlc291cmNlR3JvdXBzL0Nvc21vc0RCUmVzb3VyY2VHcm91cDg2NTAvcHJvdmlkZXJzL01pY3Jvc29mdC5Eb2N1bWVudERCL2RhdGFiYXNlQWNjb3VudHMvYWNjb3VudG5hbWU0MDAyP2FwaS12ZXJzaW9uPTIwMjEtMDYtMTU=", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { "User-Agent": [ - "FxVersion/4.6.29916.01", + "FxVersion/4.6.28207.03", "OSName/Windows", - "OSVersion/Microsoft.Windows.10.0.19042.", + "OSVersion/Microsoft.Windows.10.0.19043.", "Microsoft.Azure.Management.CosmosDB.CosmosDBManagementClient/3.0.0.0" ] }, @@ -1431,62 +747,62 @@ "max-age=31536000; includeSubDomains" ], "x-ms-gatewayversion": [ - "version=2.11.0" + "version=2.14.0" ], "Server": [ "Microsoft-HTTPAPI/2.0" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "11954" + "11968" ], "x-ms-request-id": [ - "2b5f8ef6-f481-432b-ab60-3647e1646737" + "750050c0-26df-4723-96e7-7b3ce989bb94" ], "x-ms-correlation-request-id": [ - "2b5f8ef6-f481-432b-ab60-3647e1646737" + "750050c0-26df-4723-96e7-7b3ce989bb94" ], "x-ms-routing-request-id": [ - "WESTCENTRALUS:20210427T173814Z:2b5f8ef6-f481-432b-ab60-3647e1646737" + "WESTUS2:20210616T052241Z:750050c0-26df-4723-96e7-7b3ce989bb94" ], "X-Content-Type-Options": [ "nosniff" ], "Date": [ - "Tue, 27 Apr 2021 17:38:13 GMT" + "Wed, 16 Jun 2021 05:22:40 GMT" ], "Content-Length": [ - "2810" + "2689" ], "Content-Type": [ "application/json" ] }, - "ResponseBody": "{\r\n \"id\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/resourceGroups/CosmosDBResourceGroup6394/providers/Microsoft.DocumentDB/databaseAccounts/accountname9088\",\r\n \"name\": \"accountname9088\",\r\n \"location\": \"East US 2\",\r\n \"type\": \"Microsoft.DocumentDB/databaseAccounts\",\r\n \"kind\": \"MongoDB\",\r\n \"tags\": {\r\n \"key3\": \"value3\",\r\n \"key4\": \"value4\"\r\n },\r\n \"systemData\": {\r\n \"createdAt\": \"2021-04-27T17:25:41.0988424Z\"\r\n },\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"documentEndpoint\": \"https://accountname9088.documents-staging.windows-ppe.net:443/\",\r\n \"mongoEndpoint\": \"https://accountname9088.mongo.cosmos.windows-ppe.net:443/\",\r\n \"publicNetworkAccess\": \"Enabled\",\r\n \"enableAutomaticFailover\": true,\r\n \"enableMultipleWriteLocations\": true,\r\n \"enablePartitionKeyMonitor\": false,\r\n \"isVirtualNetworkFilterEnabled\": false,\r\n \"virtualNetworkRules\": [],\r\n \"EnabledApiTypes\": \"MongoDB\",\r\n \"disableKeyBasedMetadataWriteAccess\": true,\r\n \"enableFreeTier\": false,\r\n \"enableAnalyticalStorage\": false,\r\n \"analyticalStorageConfiguration\": null,\r\n \"instanceId\": \"c3f52ca9-535e-46c4-85d4-8b8c6a46d967\",\r\n \"createMode\": \"Default\",\r\n \"databaseAccountOfferType\": \"Standard\",\r\n \"enableCassandraConnector\": true,\r\n \"connectorOffer\": \"Small\",\r\n \"enableMaterializedViews\": false,\r\n \"enableFullFidelityChangeFeed\": false,\r\n \"defaultIdentity\": \"FirstPartyIdentity\",\r\n \"networkAclBypass\": \"AzureServices\",\r\n \"consistencyPolicy\": {\r\n \"defaultConsistencyLevel\": \"Session\",\r\n \"maxIntervalInSeconds\": 5,\r\n \"maxStalenessPrefix\": 100\r\n },\r\n \"apiProperties\": {\r\n \"serverVersion\": \"3.6\"\r\n },\r\n \"configurationOverrides\": {\r\n \"EnableBsonSchema\": \"True\"\r\n },\r\n \"writeLocations\": [\r\n {\r\n \"id\": \"accountname9088-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://accountname9088-eastus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"readLocations\": [\r\n {\r\n \"id\": \"accountname9088-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://accountname9088-eastus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"locations\": [\r\n {\r\n \"id\": \"accountname9088-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://accountname9088-eastus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"failoverPolicies\": [\r\n {\r\n \"id\": \"accountname9088-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"failoverPriority\": 0\r\n }\r\n ],\r\n \"cors\": [],\r\n \"capabilities\": [\r\n {\r\n \"name\": \"EnableMongo\"\r\n }\r\n ],\r\n \"ipRules\": [\r\n {\r\n \"ipAddressOrRange\": \"23.43.230.120\"\r\n }\r\n ],\r\n \"backupPolicy\": {\r\n \"type\": \"Periodic\",\r\n \"periodicModeProperties\": {\r\n \"backupIntervalInMinutes\": 240,\r\n \"backupRetentionIntervalInHours\": 8,\r\n \"backupStorageRedundancy\": \"Geo\"\r\n }\r\n },\r\n \"networkAclBypassResourceIds\": [\r\n \"/subscriptions/subId/resourcegroups/rgName/providers/Microsoft.Synapse/workspaces/workspaceName\",\r\n \"/subscriptions/subId/resourcegroups/rgName/providers/Microsoft.Synapse/workspaces/workspaceName2\"\r\n ]\r\n },\r\n \"identity\": {\r\n \"type\": \"None\"\r\n }\r\n}", + "ResponseBody": "{\r\n \"id\": \"/subscriptions/259fbb24-9bcd-4cfc-865c-fc33b22fe38a/resourceGroups/CosmosDBResourceGroup8650/providers/Microsoft.DocumentDB/databaseAccounts/accountname4002\",\r\n \"name\": \"accountname4002\",\r\n \"location\": \"East US 2\",\r\n \"type\": \"Microsoft.DocumentDB/databaseAccounts\",\r\n \"kind\": \"MongoDB\",\r\n \"tags\": {\r\n \"key3\": \"value3\",\r\n \"key4\": \"value4\"\r\n },\r\n \"systemData\": {\r\n \"createdAt\": \"2021-06-16T05:10:36.0450002Z\"\r\n },\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"documentEndpoint\": \"https://accountname4002.documents.azure.com:443/\",\r\n \"mongoEndpoint\": \"https://accountname4002.mongo.cosmos.azure.com:443/\",\r\n \"publicNetworkAccess\": \"Enabled\",\r\n \"enableAutomaticFailover\": true,\r\n \"enableMultipleWriteLocations\": true,\r\n \"enablePartitionKeyMonitor\": false,\r\n \"isVirtualNetworkFilterEnabled\": false,\r\n \"virtualNetworkRules\": [],\r\n \"EnabledApiTypes\": \"MongoDB\",\r\n \"disableKeyBasedMetadataWriteAccess\": true,\r\n \"enableFreeTier\": false,\r\n \"enableAnalyticalStorage\": false,\r\n \"analyticalStorageConfiguration\": {\r\n \"analyticalStorageSchemaType\": \"FullFidelity\"\r\n },\r\n \"instanceId\": \"125165e8-3796-40d3-80cd-83d7f3094110\",\r\n \"createMode\": \"Default\",\r\n \"databaseAccountOfferType\": \"Standard\",\r\n \"defaultIdentity\": \"FirstPartyIdentity\",\r\n \"networkAclBypass\": \"AzureServices\",\r\n \"disableLocalAuth\": false,\r\n \"consistencyPolicy\": {\r\n \"defaultConsistencyLevel\": \"Session\",\r\n \"maxIntervalInSeconds\": 5,\r\n \"maxStalenessPrefix\": 100\r\n },\r\n \"apiProperties\": {\r\n \"serverVersion\": \"3.6\"\r\n },\r\n \"configurationOverrides\": {\r\n \"EnableBsonSchema\": \"True\"\r\n },\r\n \"writeLocations\": [\r\n {\r\n \"id\": \"accountname4002-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://accountname4002-eastus2.documents.azure.com:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"readLocations\": [\r\n {\r\n \"id\": \"accountname4002-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://accountname4002-eastus2.documents.azure.com:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"locations\": [\r\n {\r\n \"id\": \"accountname4002-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://accountname4002-eastus2.documents.azure.com:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"failoverPolicies\": [\r\n {\r\n \"id\": \"accountname4002-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"failoverPriority\": 0\r\n }\r\n ],\r\n \"cors\": [],\r\n \"capabilities\": [\r\n {\r\n \"name\": \"EnableMongo\"\r\n }\r\n ],\r\n \"ipRules\": [\r\n {\r\n \"ipAddressOrRange\": \"23.43.230.120\"\r\n }\r\n ],\r\n \"backupPolicy\": {\r\n \"type\": \"Periodic\",\r\n \"periodicModeProperties\": {\r\n \"backupIntervalInMinutes\": 240,\r\n \"backupRetentionIntervalInHours\": 8,\r\n \"backupStorageRedundancy\": \"Geo\"\r\n }\r\n },\r\n \"networkAclBypassResourceIds\": [\r\n \"/subscriptions/subId/resourcegroups/rgName/providers/Microsoft.Synapse/workspaces/workspaceName\",\r\n \"/subscriptions/subId/resourcegroups/rgName/providers/Microsoft.Synapse/workspaces/workspaceName2\"\r\n ]\r\n },\r\n \"identity\": {\r\n \"type\": \"None\"\r\n }\r\n}", "StatusCode": 200 }, { - "RequestUri": "/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/resourceGroups/CosmosDBResourceGroup6394/providers/Microsoft.DocumentDB/databaseAccounts/accountname9088?api-version=2021-04-15", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvODBiZTM5NjEtMDUyMS00YTBhLTg1NzAtNWNkNWE0ZTJmOThjL3Jlc291cmNlR3JvdXBzL0Nvc21vc0RCUmVzb3VyY2VHcm91cDYzOTQvcHJvdmlkZXJzL01pY3Jvc29mdC5Eb2N1bWVudERCL2RhdGFiYXNlQWNjb3VudHMvYWNjb3VudG5hbWU5MDg4P2FwaS12ZXJzaW9uPTIwMjEtMDQtMTU=", + "RequestUri": "/subscriptions/259fbb24-9bcd-4cfc-865c-fc33b22fe38a/resourceGroups/CosmosDBResourceGroup8650/providers/Microsoft.DocumentDB/databaseAccounts/accountname4002?api-version=2021-06-15", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMjU5ZmJiMjQtOWJjZC00Y2ZjLTg2NWMtZmMzM2IyMmZlMzhhL3Jlc291cmNlR3JvdXBzL0Nvc21vc0RCUmVzb3VyY2VHcm91cDg2NTAvcHJvdmlkZXJzL01pY3Jvc29mdC5Eb2N1bWVudERCL2RhdGFiYXNlQWNjb3VudHMvYWNjb3VudG5hbWU0MDAyP2FwaS12ZXJzaW9uPTIwMjEtMDYtMTU=", "RequestMethod": "PATCH", - "RequestBody": "{\r\n \"tags\": {\r\n \"key3\": \"value3\",\r\n \"key4\": \"value4\"\r\n },\r\n \"location\": \"EAST US 2\",\r\n \"properties\": {\r\n \"consistencyPolicy\": {\r\n \"defaultConsistencyLevel\": \"Session\",\r\n \"maxStalenessPrefix\": 1300,\r\n \"maxIntervalInSeconds\": 12000\r\n },\r\n \"locations\": [\r\n {\r\n \"locationName\": \"East US 2\"\r\n }\r\n ],\r\n \"ipRules\": [\r\n {\r\n \"ipAddressOrRange\": \"23.43.230.120\"\r\n }\r\n ],\r\n \"isVirtualNetworkFilterEnabled\": false,\r\n \"enableAutomaticFailover\": true,\r\n \"enableCassandraConnector\": true,\r\n \"connectorOffer\": \"Small\",\r\n \"disableKeyBasedMetadataWriteAccess\": true,\r\n \"networkAclBypass\": \"AzureServices\",\r\n \"networkAclBypassResourceIds\": [\r\n \"/subscriptions/subId/resourcegroups/rgName/providers/Microsoft.Synapse/workspaces/workspaceName\",\r\n \"/subscriptions/subId/resourcegroups/rgName/providers/Microsoft.Synapse/workspaces/workspaceName2\"\r\n ]\r\n }\r\n}", + "RequestBody": "{\r\n \"tags\": {\r\n \"key3\": \"value3\",\r\n \"key4\": \"value4\"\r\n },\r\n \"location\": \"EAST US 2\",\r\n \"properties\": {\r\n \"consistencyPolicy\": {\r\n \"defaultConsistencyLevel\": \"Session\",\r\n \"maxStalenessPrefix\": 1300,\r\n \"maxIntervalInSeconds\": 12000\r\n },\r\n \"locations\": [\r\n {\r\n \"locationName\": \"East US 2\"\r\n }\r\n ],\r\n \"ipRules\": [\r\n {\r\n \"ipAddressOrRange\": \"23.43.230.120\"\r\n }\r\n ],\r\n \"isVirtualNetworkFilterEnabled\": false,\r\n \"enableAutomaticFailover\": true,\r\n \"disableKeyBasedMetadataWriteAccess\": true,\r\n \"networkAclBypass\": \"AzureServices\",\r\n \"networkAclBypassResourceIds\": [\r\n \"/subscriptions/subId/resourcegroups/rgName/providers/Microsoft.Synapse/workspaces/workspaceName\",\r\n \"/subscriptions/subId/resourcegroups/rgName/providers/Microsoft.Synapse/workspaces/workspaceName2\"\r\n ]\r\n }\r\n}", "RequestHeaders": { "x-ms-client-request-id": [ - "1b0871e4-ebc2-458c-a4ea-b46053e9ed04" + "b0e70c6e-07fd-460c-ad59-da22bf36493a" ], "Accept-Language": [ "en-US" ], "User-Agent": [ - "FxVersion/4.6.29916.01", + "FxVersion/4.6.28207.03", "OSName/Windows", - "OSVersion/Microsoft.Windows.10.0.19042.", + "OSVersion/Microsoft.Windows.10.0.19043.", "Microsoft.Azure.Management.CosmosDB.CosmosDBManagementClient/3.0.0.0" ], "Content-Type": [ "application/json; charset=utf-8" ], "Content-Length": [ - "947" + "876" ] }, "ResponseHeaders": { @@ -1497,19 +813,19 @@ "no-cache" ], "Location": [ - "https://management.azure.com/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/resourceGroups/CosmosDBResourceGroup6394/providers/Microsoft.DocumentDB/databaseAccounts/accountname9088/operationResults/d2c15fa7-fc9c-48c7-b54f-713b1575829e?api-version=2021-04-15" + "https://management.azure.com/subscriptions/259fbb24-9bcd-4cfc-865c-fc33b22fe38a/resourceGroups/CosmosDBResourceGroup8650/providers/Microsoft.DocumentDB/databaseAccounts/accountname4002/operationResults/10d641a5-f14c-4a28-8d5b-d31115b79117?api-version=2021-06-15" ], "x-ms-request-id": [ - "d2c15fa7-fc9c-48c7-b54f-713b1575829e" + "10d641a5-f14c-4a28-8d5b-d31115b79117" ], "Azure-AsyncOperation": [ - "https://management.azure.com/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/providers/Microsoft.DocumentDB/locations/eastus2/operationsStatus/d2c15fa7-fc9c-48c7-b54f-713b1575829e?api-version=2021-04-15" + "https://management.azure.com/subscriptions/259fbb24-9bcd-4cfc-865c-fc33b22fe38a/providers/Microsoft.DocumentDB/locations/eastus2/operationsStatus/10d641a5-f14c-4a28-8d5b-d31115b79117?api-version=2021-06-15" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "x-ms-gatewayversion": [ - "version=2.11.0" + "version=2.14.0" ], "Server": [ "Microsoft-HTTPAPI/2.0" @@ -1518,94 +834,37 @@ "1198" ], "x-ms-correlation-request-id": [ - "273e3b33-1c6f-40f2-89b7-55550ce00bc7" - ], - "x-ms-routing-request-id": [ - "WESTCENTRALUS:20210427T172641Z:273e3b33-1c6f-40f2-89b7-55550ce00bc7" - ], - "X-Content-Type-Options": [ - "nosniff" - ], - "Date": [ - "Tue, 27 Apr 2021 17:26:41 GMT" - ], - "Content-Length": [ - "2720" - ], - "Content-Type": [ - "application/json" - ] - }, - "ResponseBody": "{\r\n \"id\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/resourceGroups/CosmosDBResourceGroup6394/providers/Microsoft.DocumentDB/databaseAccounts/accountname9088\",\r\n \"name\": \"accountname9088\",\r\n \"location\": \"East US 2\",\r\n \"type\": \"Microsoft.DocumentDB/databaseAccounts\",\r\n \"kind\": \"MongoDB\",\r\n \"tags\": {\r\n \"key1\": \"value1\",\r\n \"key2\": \"value2\"\r\n },\r\n \"systemData\": {\r\n \"createdAt\": \"2021-04-27T17:25:41.0988424Z\"\r\n },\r\n \"properties\": {\r\n \"provisioningState\": \"Updating\",\r\n \"documentEndpoint\": \"https://accountname9088.documents-staging.windows-ppe.net:443/\",\r\n \"mongoEndpoint\": \"https://accountname9088.mongo.cosmos.windows-ppe.net:443/\",\r\n \"publicNetworkAccess\": \"Enabled\",\r\n \"enableAutomaticFailover\": false,\r\n \"enableMultipleWriteLocations\": true,\r\n \"enablePartitionKeyMonitor\": false,\r\n \"isVirtualNetworkFilterEnabled\": true,\r\n \"virtualNetworkRules\": [],\r\n \"EnabledApiTypes\": \"MongoDB\",\r\n \"disableKeyBasedMetadataWriteAccess\": false,\r\n \"enableFreeTier\": false,\r\n \"enableAnalyticalStorage\": false,\r\n \"analyticalStorageConfiguration\": null,\r\n \"instanceId\": \"c3f52ca9-535e-46c4-85d4-8b8c6a46d967\",\r\n \"createMode\": \"Default\",\r\n \"databaseAccountOfferType\": \"Standard\",\r\n \"enableCassandraConnector\": true,\r\n \"connectorOffer\": \"Small\",\r\n \"enableMaterializedViews\": false,\r\n \"enableFullFidelityChangeFeed\": false,\r\n \"defaultIdentity\": \"FirstPartyIdentity\",\r\n \"networkAclBypass\": \"AzureServices\",\r\n \"consistencyPolicy\": {\r\n \"defaultConsistencyLevel\": \"BoundedStaleness\",\r\n \"maxIntervalInSeconds\": 1000,\r\n \"maxStalenessPrefix\": 300\r\n },\r\n \"apiProperties\": {\r\n \"serverVersion\": \"3.6\"\r\n },\r\n \"configurationOverrides\": {\r\n \"EnableBsonSchema\": \"True\"\r\n },\r\n \"writeLocations\": [\r\n {\r\n \"id\": \"accountname9088-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://accountname9088-eastus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Updating\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"readLocations\": [\r\n {\r\n \"id\": \"accountname9088-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://accountname9088-eastus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Updating\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"locations\": [\r\n {\r\n \"id\": \"accountname9088-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://accountname9088-eastus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Updating\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"failoverPolicies\": [\r\n {\r\n \"id\": \"accountname9088-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"failoverPriority\": 0\r\n }\r\n ],\r\n \"cors\": [],\r\n \"capabilities\": [\r\n {\r\n \"name\": \"EnableMongo\"\r\n }\r\n ],\r\n \"ipRules\": [\r\n {\r\n \"ipAddressOrRange\": \"23.43.230.120\"\r\n }\r\n ],\r\n \"backupPolicy\": {\r\n \"type\": \"Periodic\",\r\n \"periodicModeProperties\": {\r\n \"backupIntervalInMinutes\": 240,\r\n \"backupRetentionIntervalInHours\": 8,\r\n \"backupStorageRedundancy\": \"Geo\"\r\n }\r\n },\r\n \"networkAclBypassResourceIds\": [\r\n \"/subscriptions/subId/resourcegroups/rgName/providers/Microsoft.Synapse/workspaces/workspaceName\"\r\n ]\r\n },\r\n \"identity\": {\r\n \"type\": \"None\"\r\n }\r\n}", - "StatusCode": 200 - }, - { - "RequestUri": "/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/providers/Microsoft.DocumentDB/locations/eastus2/operationsStatus/d2c15fa7-fc9c-48c7-b54f-713b1575829e?api-version=2021-04-15", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvODBiZTM5NjEtMDUyMS00YTBhLTg1NzAtNWNkNWE0ZTJmOThjL3Byb3ZpZGVycy9NaWNyb3NvZnQuRG9jdW1lbnREQi9sb2NhdGlvbnMvZWFzdHVzMi9vcGVyYXRpb25zU3RhdHVzL2QyYzE1ZmE3LWZjOWMtNDhjNy1iNTRmLTcxM2IxNTc1ODI5ZT9hcGktdmVyc2lvbj0yMDIxLTA0LTE1", - "RequestMethod": "GET", - "RequestBody": "", - "RequestHeaders": { - "User-Agent": [ - "FxVersion/4.6.29916.01", - "OSName/Windows", - "OSVersion/Microsoft.Windows.10.0.19042.", - "Microsoft.Azure.Management.CosmosDB.CosmosDBManagementClient/3.0.0.0" - ] - }, - "ResponseHeaders": { - "Cache-Control": [ - "no-store, no-cache" - ], - "Pragma": [ - "no-cache" - ], - "Strict-Transport-Security": [ - "max-age=31536000; includeSubDomains" - ], - "x-ms-gatewayversion": [ - "version=2.11.0" - ], - "Server": [ - "Microsoft-HTTPAPI/2.0" - ], - "x-ms-ratelimit-remaining-subscription-reads": [ - "11977" - ], - "x-ms-request-id": [ - "a4ae5214-2756-45d7-b4e0-8cd98f205170" - ], - "x-ms-correlation-request-id": [ - "a4ae5214-2756-45d7-b4e0-8cd98f205170" + "5ec96539-31b3-40c1-a1f7-6d6f252434b8" ], "x-ms-routing-request-id": [ - "WESTCENTRALUS:20210427T172711Z:a4ae5214-2756-45d7-b4e0-8cd98f205170" + "WESTUS2:20210616T051137Z:5ec96539-31b3-40c1-a1f7-6d6f252434b8" ], "X-Content-Type-Options": [ "nosniff" ], "Date": [ - "Tue, 27 Apr 2021 17:27:11 GMT" + "Wed, 16 Jun 2021 05:11:37 GMT" ], "Content-Length": [ - "21" + "2599" ], "Content-Type": [ "application/json" ] }, - "ResponseBody": "{\r\n \"status\": \"Dequeued\"\r\n}", + "ResponseBody": "{\r\n \"id\": \"/subscriptions/259fbb24-9bcd-4cfc-865c-fc33b22fe38a/resourceGroups/CosmosDBResourceGroup8650/providers/Microsoft.DocumentDB/databaseAccounts/accountname4002\",\r\n \"name\": \"accountname4002\",\r\n \"location\": \"East US 2\",\r\n \"type\": \"Microsoft.DocumentDB/databaseAccounts\",\r\n \"kind\": \"MongoDB\",\r\n \"tags\": {\r\n \"key1\": \"value1\",\r\n \"key2\": \"value2\"\r\n },\r\n \"systemData\": {\r\n \"createdAt\": \"2021-06-16T05:10:36.0450002Z\"\r\n },\r\n \"properties\": {\r\n \"provisioningState\": \"Updating\",\r\n \"documentEndpoint\": \"https://accountname4002.documents.azure.com:443/\",\r\n \"mongoEndpoint\": \"https://accountname4002.mongo.cosmos.azure.com:443/\",\r\n \"publicNetworkAccess\": \"Enabled\",\r\n \"enableAutomaticFailover\": false,\r\n \"enableMultipleWriteLocations\": true,\r\n \"enablePartitionKeyMonitor\": false,\r\n \"isVirtualNetworkFilterEnabled\": true,\r\n \"virtualNetworkRules\": [],\r\n \"EnabledApiTypes\": \"MongoDB\",\r\n \"disableKeyBasedMetadataWriteAccess\": false,\r\n \"enableFreeTier\": false,\r\n \"enableAnalyticalStorage\": false,\r\n \"analyticalStorageConfiguration\": {\r\n \"analyticalStorageSchemaType\": \"FullFidelity\"\r\n },\r\n \"instanceId\": \"125165e8-3796-40d3-80cd-83d7f3094110\",\r\n \"createMode\": \"Default\",\r\n \"databaseAccountOfferType\": \"Standard\",\r\n \"defaultIdentity\": \"FirstPartyIdentity\",\r\n \"networkAclBypass\": \"AzureServices\",\r\n \"disableLocalAuth\": false,\r\n \"consistencyPolicy\": {\r\n \"defaultConsistencyLevel\": \"BoundedStaleness\",\r\n \"maxIntervalInSeconds\": 1000,\r\n \"maxStalenessPrefix\": 300\r\n },\r\n \"apiProperties\": {\r\n \"serverVersion\": \"3.6\"\r\n },\r\n \"configurationOverrides\": {\r\n \"EnableBsonSchema\": \"True\"\r\n },\r\n \"writeLocations\": [\r\n {\r\n \"id\": \"accountname4002-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://accountname4002-eastus2.documents.azure.com:443/\",\r\n \"provisioningState\": \"Updating\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"readLocations\": [\r\n {\r\n \"id\": \"accountname4002-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://accountname4002-eastus2.documents.azure.com:443/\",\r\n \"provisioningState\": \"Updating\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"locations\": [\r\n {\r\n \"id\": \"accountname4002-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://accountname4002-eastus2.documents.azure.com:443/\",\r\n \"provisioningState\": \"Updating\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"failoverPolicies\": [\r\n {\r\n \"id\": \"accountname4002-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"failoverPriority\": 0\r\n }\r\n ],\r\n \"cors\": [],\r\n \"capabilities\": [\r\n {\r\n \"name\": \"EnableMongo\"\r\n }\r\n ],\r\n \"ipRules\": [\r\n {\r\n \"ipAddressOrRange\": \"23.43.230.120\"\r\n }\r\n ],\r\n \"backupPolicy\": {\r\n \"type\": \"Periodic\",\r\n \"periodicModeProperties\": {\r\n \"backupIntervalInMinutes\": 240,\r\n \"backupRetentionIntervalInHours\": 8,\r\n \"backupStorageRedundancy\": \"Geo\"\r\n }\r\n },\r\n \"networkAclBypassResourceIds\": [\r\n \"/subscriptions/subId/resourcegroups/rgName/providers/Microsoft.Synapse/workspaces/workspaceName\"\r\n ]\r\n },\r\n \"identity\": {\r\n \"type\": \"None\"\r\n }\r\n}", "StatusCode": 200 }, { - "RequestUri": "/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/providers/Microsoft.DocumentDB/locations/eastus2/operationsStatus/d2c15fa7-fc9c-48c7-b54f-713b1575829e?api-version=2021-04-15", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvODBiZTM5NjEtMDUyMS00YTBhLTg1NzAtNWNkNWE0ZTJmOThjL3Byb3ZpZGVycy9NaWNyb3NvZnQuRG9jdW1lbnREQi9sb2NhdGlvbnMvZWFzdHVzMi9vcGVyYXRpb25zU3RhdHVzL2QyYzE1ZmE3LWZjOWMtNDhjNy1iNTRmLTcxM2IxNTc1ODI5ZT9hcGktdmVyc2lvbj0yMDIxLTA0LTE1", + "RequestUri": "/subscriptions/259fbb24-9bcd-4cfc-865c-fc33b22fe38a/providers/Microsoft.DocumentDB/locations/eastus2/operationsStatus/10d641a5-f14c-4a28-8d5b-d31115b79117?api-version=2021-06-15", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMjU5ZmJiMjQtOWJjZC00Y2ZjLTg2NWMtZmMzM2IyMmZlMzhhL3Byb3ZpZGVycy9NaWNyb3NvZnQuRG9jdW1lbnREQi9sb2NhdGlvbnMvZWFzdHVzMi9vcGVyYXRpb25zU3RhdHVzLzEwZDY0MWE1LWYxNGMtNGEyOC04ZDViLWQzMTExNWI3OTExNz9hcGktdmVyc2lvbj0yMDIxLTA2LTE1", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { "User-Agent": [ - "FxVersion/4.6.29916.01", + "FxVersion/4.6.28207.03", "OSName/Windows", - "OSVersion/Microsoft.Windows.10.0.19042.", + "OSVersion/Microsoft.Windows.10.0.19043.", "Microsoft.Azure.Management.CosmosDB.CosmosDBManagementClient/3.0.0.0" ] }, @@ -1620,28 +879,28 @@ "max-age=31536000; includeSubDomains" ], "x-ms-gatewayversion": [ - "version=2.11.0" + "version=2.14.0" ], "Server": [ "Microsoft-HTTPAPI/2.0" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "11976" + "11990" ], "x-ms-request-id": [ - "1afc71e3-5a39-405f-89ea-7c32c0b82251" + "221ee91b-0ee7-48b1-843b-65ebe44f1e4b" ], "x-ms-correlation-request-id": [ - "1afc71e3-5a39-405f-89ea-7c32c0b82251" + "221ee91b-0ee7-48b1-843b-65ebe44f1e4b" ], "x-ms-routing-request-id": [ - "WESTCENTRALUS:20210427T172741Z:1afc71e3-5a39-405f-89ea-7c32c0b82251" + "WESTUS2:20210616T051208Z:221ee91b-0ee7-48b1-843b-65ebe44f1e4b" ], "X-Content-Type-Options": [ "nosniff" ], "Date": [ - "Tue, 27 Apr 2021 17:27:41 GMT" + "Wed, 16 Jun 2021 05:12:07 GMT" ], "Content-Length": [ "21" @@ -1654,15 +913,15 @@ "StatusCode": 200 }, { - "RequestUri": "/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/providers/Microsoft.DocumentDB/locations/eastus2/operationsStatus/d2c15fa7-fc9c-48c7-b54f-713b1575829e?api-version=2021-04-15", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvODBiZTM5NjEtMDUyMS00YTBhLTg1NzAtNWNkNWE0ZTJmOThjL3Byb3ZpZGVycy9NaWNyb3NvZnQuRG9jdW1lbnREQi9sb2NhdGlvbnMvZWFzdHVzMi9vcGVyYXRpb25zU3RhdHVzL2QyYzE1ZmE3LWZjOWMtNDhjNy1iNTRmLTcxM2IxNTc1ODI5ZT9hcGktdmVyc2lvbj0yMDIxLTA0LTE1", + "RequestUri": "/subscriptions/259fbb24-9bcd-4cfc-865c-fc33b22fe38a/providers/Microsoft.DocumentDB/locations/eastus2/operationsStatus/10d641a5-f14c-4a28-8d5b-d31115b79117?api-version=2021-06-15", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMjU5ZmJiMjQtOWJjZC00Y2ZjLTg2NWMtZmMzM2IyMmZlMzhhL3Byb3ZpZGVycy9NaWNyb3NvZnQuRG9jdW1lbnREQi9sb2NhdGlvbnMvZWFzdHVzMi9vcGVyYXRpb25zU3RhdHVzLzEwZDY0MWE1LWYxNGMtNGEyOC04ZDViLWQzMTExNWI3OTExNz9hcGktdmVyc2lvbj0yMDIxLTA2LTE1", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { "User-Agent": [ - "FxVersion/4.6.29916.01", + "FxVersion/4.6.28207.03", "OSName/Windows", - "OSVersion/Microsoft.Windows.10.0.19042.", + "OSVersion/Microsoft.Windows.10.0.19043.", "Microsoft.Azure.Management.CosmosDB.CosmosDBManagementClient/3.0.0.0" ] }, @@ -1677,28 +936,28 @@ "max-age=31536000; includeSubDomains" ], "x-ms-gatewayversion": [ - "version=2.11.0" + "version=2.14.0" ], "Server": [ "Microsoft-HTTPAPI/2.0" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "11975" + "11989" ], "x-ms-request-id": [ - "5e5955aa-78bc-478f-9b2f-17f5232a912c" + "fd8a6d99-b6c9-4bc4-8acc-47d4d0138ddf" ], "x-ms-correlation-request-id": [ - "5e5955aa-78bc-478f-9b2f-17f5232a912c" + "fd8a6d99-b6c9-4bc4-8acc-47d4d0138ddf" ], "x-ms-routing-request-id": [ - "WESTCENTRALUS:20210427T172812Z:5e5955aa-78bc-478f-9b2f-17f5232a912c" + "WESTUS2:20210616T051238Z:fd8a6d99-b6c9-4bc4-8acc-47d4d0138ddf" ], "X-Content-Type-Options": [ "nosniff" ], "Date": [ - "Tue, 27 Apr 2021 17:28:11 GMT" + "Wed, 16 Jun 2021 05:12:37 GMT" ], "Content-Length": [ "21" @@ -1711,15 +970,15 @@ "StatusCode": 200 }, { - "RequestUri": "/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/providers/Microsoft.DocumentDB/locations/eastus2/operationsStatus/d2c15fa7-fc9c-48c7-b54f-713b1575829e?api-version=2021-04-15", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvODBiZTM5NjEtMDUyMS00YTBhLTg1NzAtNWNkNWE0ZTJmOThjL3Byb3ZpZGVycy9NaWNyb3NvZnQuRG9jdW1lbnREQi9sb2NhdGlvbnMvZWFzdHVzMi9vcGVyYXRpb25zU3RhdHVzL2QyYzE1ZmE3LWZjOWMtNDhjNy1iNTRmLTcxM2IxNTc1ODI5ZT9hcGktdmVyc2lvbj0yMDIxLTA0LTE1", + "RequestUri": "/subscriptions/259fbb24-9bcd-4cfc-865c-fc33b22fe38a/providers/Microsoft.DocumentDB/locations/eastus2/operationsStatus/10d641a5-f14c-4a28-8d5b-d31115b79117?api-version=2021-06-15", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMjU5ZmJiMjQtOWJjZC00Y2ZjLTg2NWMtZmMzM2IyMmZlMzhhL3Byb3ZpZGVycy9NaWNyb3NvZnQuRG9jdW1lbnREQi9sb2NhdGlvbnMvZWFzdHVzMi9vcGVyYXRpb25zU3RhdHVzLzEwZDY0MWE1LWYxNGMtNGEyOC04ZDViLWQzMTExNWI3OTExNz9hcGktdmVyc2lvbj0yMDIxLTA2LTE1", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { "User-Agent": [ - "FxVersion/4.6.29916.01", + "FxVersion/4.6.28207.03", "OSName/Windows", - "OSVersion/Microsoft.Windows.10.0.19042.", + "OSVersion/Microsoft.Windows.10.0.19043.", "Microsoft.Azure.Management.CosmosDB.CosmosDBManagementClient/3.0.0.0" ] }, @@ -1734,28 +993,28 @@ "max-age=31536000; includeSubDomains" ], "x-ms-gatewayversion": [ - "version=2.11.0" + "version=2.14.0" ], "Server": [ "Microsoft-HTTPAPI/2.0" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "11974" + "11988" ], "x-ms-request-id": [ - "406553c5-c07b-49e2-b269-2ed160138f11" + "5fb2e12f-3492-4f82-aa21-504f19080579" ], "x-ms-correlation-request-id": [ - "406553c5-c07b-49e2-b269-2ed160138f11" + "5fb2e12f-3492-4f82-aa21-504f19080579" ], "x-ms-routing-request-id": [ - "WESTCENTRALUS:20210427T172842Z:406553c5-c07b-49e2-b269-2ed160138f11" + "WESTUS2:20210616T051308Z:5fb2e12f-3492-4f82-aa21-504f19080579" ], "X-Content-Type-Options": [ "nosniff" ], "Date": [ - "Tue, 27 Apr 2021 17:28:41 GMT" + "Wed, 16 Jun 2021 05:13:08 GMT" ], "Content-Length": [ "21" @@ -1768,15 +1027,15 @@ "StatusCode": 200 }, { - "RequestUri": "/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/providers/Microsoft.DocumentDB/locations/eastus2/operationsStatus/d2c15fa7-fc9c-48c7-b54f-713b1575829e?api-version=2021-04-15", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvODBiZTM5NjEtMDUyMS00YTBhLTg1NzAtNWNkNWE0ZTJmOThjL3Byb3ZpZGVycy9NaWNyb3NvZnQuRG9jdW1lbnREQi9sb2NhdGlvbnMvZWFzdHVzMi9vcGVyYXRpb25zU3RhdHVzL2QyYzE1ZmE3LWZjOWMtNDhjNy1iNTRmLTcxM2IxNTc1ODI5ZT9hcGktdmVyc2lvbj0yMDIxLTA0LTE1", + "RequestUri": "/subscriptions/259fbb24-9bcd-4cfc-865c-fc33b22fe38a/providers/Microsoft.DocumentDB/locations/eastus2/operationsStatus/10d641a5-f14c-4a28-8d5b-d31115b79117?api-version=2021-06-15", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMjU5ZmJiMjQtOWJjZC00Y2ZjLTg2NWMtZmMzM2IyMmZlMzhhL3Byb3ZpZGVycy9NaWNyb3NvZnQuRG9jdW1lbnREQi9sb2NhdGlvbnMvZWFzdHVzMi9vcGVyYXRpb25zU3RhdHVzLzEwZDY0MWE1LWYxNGMtNGEyOC04ZDViLWQzMTExNWI3OTExNz9hcGktdmVyc2lvbj0yMDIxLTA2LTE1", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { "User-Agent": [ - "FxVersion/4.6.29916.01", + "FxVersion/4.6.28207.03", "OSName/Windows", - "OSVersion/Microsoft.Windows.10.0.19042.", + "OSVersion/Microsoft.Windows.10.0.19043.", "Microsoft.Azure.Management.CosmosDB.CosmosDBManagementClient/3.0.0.0" ] }, @@ -1791,28 +1050,28 @@ "max-age=31536000; includeSubDomains" ], "x-ms-gatewayversion": [ - "version=2.11.0" + "version=2.14.0" ], "Server": [ "Microsoft-HTTPAPI/2.0" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "11973" + "11987" ], "x-ms-request-id": [ - "64841ae0-1566-4c36-a376-f7fe752874d9" + "daf71b55-9088-43e0-af45-ac9f4ff38769" ], "x-ms-correlation-request-id": [ - "64841ae0-1566-4c36-a376-f7fe752874d9" + "daf71b55-9088-43e0-af45-ac9f4ff38769" ], "x-ms-routing-request-id": [ - "WESTCENTRALUS:20210427T172912Z:64841ae0-1566-4c36-a376-f7fe752874d9" + "WESTUS2:20210616T051338Z:daf71b55-9088-43e0-af45-ac9f4ff38769" ], "X-Content-Type-Options": [ "nosniff" ], "Date": [ - "Tue, 27 Apr 2021 17:29:11 GMT" + "Wed, 16 Jun 2021 05:13:37 GMT" ], "Content-Length": [ "21" @@ -1825,15 +1084,15 @@ "StatusCode": 200 }, { - "RequestUri": "/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/providers/Microsoft.DocumentDB/locations/eastus2/operationsStatus/d2c15fa7-fc9c-48c7-b54f-713b1575829e?api-version=2021-04-15", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvODBiZTM5NjEtMDUyMS00YTBhLTg1NzAtNWNkNWE0ZTJmOThjL3Byb3ZpZGVycy9NaWNyb3NvZnQuRG9jdW1lbnREQi9sb2NhdGlvbnMvZWFzdHVzMi9vcGVyYXRpb25zU3RhdHVzL2QyYzE1ZmE3LWZjOWMtNDhjNy1iNTRmLTcxM2IxNTc1ODI5ZT9hcGktdmVyc2lvbj0yMDIxLTA0LTE1", + "RequestUri": "/subscriptions/259fbb24-9bcd-4cfc-865c-fc33b22fe38a/providers/Microsoft.DocumentDB/locations/eastus2/operationsStatus/10d641a5-f14c-4a28-8d5b-d31115b79117?api-version=2021-06-15", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMjU5ZmJiMjQtOWJjZC00Y2ZjLTg2NWMtZmMzM2IyMmZlMzhhL3Byb3ZpZGVycy9NaWNyb3NvZnQuRG9jdW1lbnREQi9sb2NhdGlvbnMvZWFzdHVzMi9vcGVyYXRpb25zU3RhdHVzLzEwZDY0MWE1LWYxNGMtNGEyOC04ZDViLWQzMTExNWI3OTExNz9hcGktdmVyc2lvbj0yMDIxLTA2LTE1", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { "User-Agent": [ - "FxVersion/4.6.29916.01", + "FxVersion/4.6.28207.03", "OSName/Windows", - "OSVersion/Microsoft.Windows.10.0.19042.", + "OSVersion/Microsoft.Windows.10.0.19043.", "Microsoft.Azure.Management.CosmosDB.CosmosDBManagementClient/3.0.0.0" ] }, @@ -1848,28 +1107,28 @@ "max-age=31536000; includeSubDomains" ], "x-ms-gatewayversion": [ - "version=2.11.0" + "version=2.14.0" ], "Server": [ "Microsoft-HTTPAPI/2.0" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "11972" + "11986" ], "x-ms-request-id": [ - "fe69d497-0c47-4bca-a720-416ae8a90049" + "41b95d19-cdc6-4469-afd2-1faf16898301" ], "x-ms-correlation-request-id": [ - "fe69d497-0c47-4bca-a720-416ae8a90049" + "41b95d19-cdc6-4469-afd2-1faf16898301" ], "x-ms-routing-request-id": [ - "WESTCENTRALUS:20210427T172942Z:fe69d497-0c47-4bca-a720-416ae8a90049" + "WESTUS2:20210616T051408Z:41b95d19-cdc6-4469-afd2-1faf16898301" ], "X-Content-Type-Options": [ "nosniff" ], "Date": [ - "Tue, 27 Apr 2021 17:29:42 GMT" + "Wed, 16 Jun 2021 05:14:07 GMT" ], "Content-Length": [ "21" @@ -1882,15 +1141,15 @@ "StatusCode": 200 }, { - "RequestUri": "/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/providers/Microsoft.DocumentDB/locations/eastus2/operationsStatus/d2c15fa7-fc9c-48c7-b54f-713b1575829e?api-version=2021-04-15", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvODBiZTM5NjEtMDUyMS00YTBhLTg1NzAtNWNkNWE0ZTJmOThjL3Byb3ZpZGVycy9NaWNyb3NvZnQuRG9jdW1lbnREQi9sb2NhdGlvbnMvZWFzdHVzMi9vcGVyYXRpb25zU3RhdHVzL2QyYzE1ZmE3LWZjOWMtNDhjNy1iNTRmLTcxM2IxNTc1ODI5ZT9hcGktdmVyc2lvbj0yMDIxLTA0LTE1", + "RequestUri": "/subscriptions/259fbb24-9bcd-4cfc-865c-fc33b22fe38a/providers/Microsoft.DocumentDB/locations/eastus2/operationsStatus/10d641a5-f14c-4a28-8d5b-d31115b79117?api-version=2021-06-15", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMjU5ZmJiMjQtOWJjZC00Y2ZjLTg2NWMtZmMzM2IyMmZlMzhhL3Byb3ZpZGVycy9NaWNyb3NvZnQuRG9jdW1lbnREQi9sb2NhdGlvbnMvZWFzdHVzMi9vcGVyYXRpb25zU3RhdHVzLzEwZDY0MWE1LWYxNGMtNGEyOC04ZDViLWQzMTExNWI3OTExNz9hcGktdmVyc2lvbj0yMDIxLTA2LTE1", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { "User-Agent": [ - "FxVersion/4.6.29916.01", + "FxVersion/4.6.28207.03", "OSName/Windows", - "OSVersion/Microsoft.Windows.10.0.19042.", + "OSVersion/Microsoft.Windows.10.0.19043.", "Microsoft.Azure.Management.CosmosDB.CosmosDBManagementClient/3.0.0.0" ] }, @@ -1905,28 +1164,28 @@ "max-age=31536000; includeSubDomains" ], "x-ms-gatewayversion": [ - "version=2.11.0" + "version=2.14.0" ], "Server": [ "Microsoft-HTTPAPI/2.0" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "11971" + "11985" ], "x-ms-request-id": [ - "7fc41564-4010-46ae-a005-ad20575db27e" + "02871278-3612-4b98-8c00-c4bbfc01770b" ], "x-ms-correlation-request-id": [ - "7fc41564-4010-46ae-a005-ad20575db27e" + "02871278-3612-4b98-8c00-c4bbfc01770b" ], "x-ms-routing-request-id": [ - "WESTCENTRALUS:20210427T173012Z:7fc41564-4010-46ae-a005-ad20575db27e" + "WESTUS2:20210616T051438Z:02871278-3612-4b98-8c00-c4bbfc01770b" ], "X-Content-Type-Options": [ "nosniff" ], "Date": [ - "Tue, 27 Apr 2021 17:30:12 GMT" + "Wed, 16 Jun 2021 05:14:38 GMT" ], "Content-Length": [ "21" @@ -1939,15 +1198,15 @@ "StatusCode": 200 }, { - "RequestUri": "/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/providers/Microsoft.DocumentDB/locations/eastus2/operationsStatus/d2c15fa7-fc9c-48c7-b54f-713b1575829e?api-version=2021-04-15", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvODBiZTM5NjEtMDUyMS00YTBhLTg1NzAtNWNkNWE0ZTJmOThjL3Byb3ZpZGVycy9NaWNyb3NvZnQuRG9jdW1lbnREQi9sb2NhdGlvbnMvZWFzdHVzMi9vcGVyYXRpb25zU3RhdHVzL2QyYzE1ZmE3LWZjOWMtNDhjNy1iNTRmLTcxM2IxNTc1ODI5ZT9hcGktdmVyc2lvbj0yMDIxLTA0LTE1", + "RequestUri": "/subscriptions/259fbb24-9bcd-4cfc-865c-fc33b22fe38a/providers/Microsoft.DocumentDB/locations/eastus2/operationsStatus/10d641a5-f14c-4a28-8d5b-d31115b79117?api-version=2021-06-15", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMjU5ZmJiMjQtOWJjZC00Y2ZjLTg2NWMtZmMzM2IyMmZlMzhhL3Byb3ZpZGVycy9NaWNyb3NvZnQuRG9jdW1lbnREQi9sb2NhdGlvbnMvZWFzdHVzMi9vcGVyYXRpb25zU3RhdHVzLzEwZDY0MWE1LWYxNGMtNGEyOC04ZDViLWQzMTExNWI3OTExNz9hcGktdmVyc2lvbj0yMDIxLTA2LTE1", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { "User-Agent": [ - "FxVersion/4.6.29916.01", + "FxVersion/4.6.28207.03", "OSName/Windows", - "OSVersion/Microsoft.Windows.10.0.19042.", + "OSVersion/Microsoft.Windows.10.0.19043.", "Microsoft.Azure.Management.CosmosDB.CosmosDBManagementClient/3.0.0.0" ] }, @@ -1962,28 +1221,28 @@ "max-age=31536000; includeSubDomains" ], "x-ms-gatewayversion": [ - "version=2.11.0" + "version=2.14.0" ], "Server": [ "Microsoft-HTTPAPI/2.0" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "11970" + "11984" ], "x-ms-request-id": [ - "3ca739b9-107c-4541-90d4-035aba822590" + "14c53cc3-cd0f-40a3-85c2-f39607dcb7cb" ], "x-ms-correlation-request-id": [ - "3ca739b9-107c-4541-90d4-035aba822590" + "14c53cc3-cd0f-40a3-85c2-f39607dcb7cb" ], "x-ms-routing-request-id": [ - "WESTCENTRALUS:20210427T173042Z:3ca739b9-107c-4541-90d4-035aba822590" + "WESTUS2:20210616T051508Z:14c53cc3-cd0f-40a3-85c2-f39607dcb7cb" ], "X-Content-Type-Options": [ "nosniff" ], "Date": [ - "Tue, 27 Apr 2021 17:30:42 GMT" + "Wed, 16 Jun 2021 05:15:08 GMT" ], "Content-Length": [ "21" @@ -1996,15 +1255,15 @@ "StatusCode": 200 }, { - "RequestUri": "/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/providers/Microsoft.DocumentDB/locations/eastus2/operationsStatus/d2c15fa7-fc9c-48c7-b54f-713b1575829e?api-version=2021-04-15", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvODBiZTM5NjEtMDUyMS00YTBhLTg1NzAtNWNkNWE0ZTJmOThjL3Byb3ZpZGVycy9NaWNyb3NvZnQuRG9jdW1lbnREQi9sb2NhdGlvbnMvZWFzdHVzMi9vcGVyYXRpb25zU3RhdHVzL2QyYzE1ZmE3LWZjOWMtNDhjNy1iNTRmLTcxM2IxNTc1ODI5ZT9hcGktdmVyc2lvbj0yMDIxLTA0LTE1", + "RequestUri": "/subscriptions/259fbb24-9bcd-4cfc-865c-fc33b22fe38a/providers/Microsoft.DocumentDB/locations/eastus2/operationsStatus/10d641a5-f14c-4a28-8d5b-d31115b79117?api-version=2021-06-15", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMjU5ZmJiMjQtOWJjZC00Y2ZjLTg2NWMtZmMzM2IyMmZlMzhhL3Byb3ZpZGVycy9NaWNyb3NvZnQuRG9jdW1lbnREQi9sb2NhdGlvbnMvZWFzdHVzMi9vcGVyYXRpb25zU3RhdHVzLzEwZDY0MWE1LWYxNGMtNGEyOC04ZDViLWQzMTExNWI3OTExNz9hcGktdmVyc2lvbj0yMDIxLTA2LTE1", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { "User-Agent": [ - "FxVersion/4.6.29916.01", + "FxVersion/4.6.28207.03", "OSName/Windows", - "OSVersion/Microsoft.Windows.10.0.19042.", + "OSVersion/Microsoft.Windows.10.0.19043.", "Microsoft.Azure.Management.CosmosDB.CosmosDBManagementClient/3.0.0.0" ] }, @@ -2019,28 +1278,28 @@ "max-age=31536000; includeSubDomains" ], "x-ms-gatewayversion": [ - "version=2.11.0" + "version=2.14.0" ], "Server": [ "Microsoft-HTTPAPI/2.0" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "11969" + "11983" ], "x-ms-request-id": [ - "ce81ec11-5fd8-4066-9738-014cf0149397" + "4d0c4b19-e646-496e-8808-a6e2df1f60e0" ], "x-ms-correlation-request-id": [ - "ce81ec11-5fd8-4066-9738-014cf0149397" + "4d0c4b19-e646-496e-8808-a6e2df1f60e0" ], "x-ms-routing-request-id": [ - "WESTCENTRALUS:20210427T173112Z:ce81ec11-5fd8-4066-9738-014cf0149397" + "WESTUS2:20210616T051539Z:4d0c4b19-e646-496e-8808-a6e2df1f60e0" ], "X-Content-Type-Options": [ "nosniff" ], "Date": [ - "Tue, 27 Apr 2021 17:31:12 GMT" + "Wed, 16 Jun 2021 05:15:38 GMT" ], "Content-Length": [ "21" @@ -2053,15 +1312,15 @@ "StatusCode": 200 }, { - "RequestUri": "/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/providers/Microsoft.DocumentDB/locations/eastus2/operationsStatus/d2c15fa7-fc9c-48c7-b54f-713b1575829e?api-version=2021-04-15", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvODBiZTM5NjEtMDUyMS00YTBhLTg1NzAtNWNkNWE0ZTJmOThjL3Byb3ZpZGVycy9NaWNyb3NvZnQuRG9jdW1lbnREQi9sb2NhdGlvbnMvZWFzdHVzMi9vcGVyYXRpb25zU3RhdHVzL2QyYzE1ZmE3LWZjOWMtNDhjNy1iNTRmLTcxM2IxNTc1ODI5ZT9hcGktdmVyc2lvbj0yMDIxLTA0LTE1", + "RequestUri": "/subscriptions/259fbb24-9bcd-4cfc-865c-fc33b22fe38a/providers/Microsoft.DocumentDB/locations/eastus2/operationsStatus/10d641a5-f14c-4a28-8d5b-d31115b79117?api-version=2021-06-15", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMjU5ZmJiMjQtOWJjZC00Y2ZjLTg2NWMtZmMzM2IyMmZlMzhhL3Byb3ZpZGVycy9NaWNyb3NvZnQuRG9jdW1lbnREQi9sb2NhdGlvbnMvZWFzdHVzMi9vcGVyYXRpb25zU3RhdHVzLzEwZDY0MWE1LWYxNGMtNGEyOC04ZDViLWQzMTExNWI3OTExNz9hcGktdmVyc2lvbj0yMDIxLTA2LTE1", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { "User-Agent": [ - "FxVersion/4.6.29916.01", + "FxVersion/4.6.28207.03", "OSName/Windows", - "OSVersion/Microsoft.Windows.10.0.19042.", + "OSVersion/Microsoft.Windows.10.0.19043.", "Microsoft.Azure.Management.CosmosDB.CosmosDBManagementClient/3.0.0.0" ] }, @@ -2076,28 +1335,28 @@ "max-age=31536000; includeSubDomains" ], "x-ms-gatewayversion": [ - "version=2.11.0" + "version=2.14.0" ], "Server": [ "Microsoft-HTTPAPI/2.0" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "11968" + "11982" ], "x-ms-request-id": [ - "da1ad909-88d1-4e39-ab6b-a90b0d10bb74" + "0a1a6071-e1be-4a9a-9aaa-0e59d1b387e6" ], "x-ms-correlation-request-id": [ - "da1ad909-88d1-4e39-ab6b-a90b0d10bb74" + "0a1a6071-e1be-4a9a-9aaa-0e59d1b387e6" ], "x-ms-routing-request-id": [ - "WESTCENTRALUS:20210427T173142Z:da1ad909-88d1-4e39-ab6b-a90b0d10bb74" + "WESTUS2:20210616T051609Z:0a1a6071-e1be-4a9a-9aaa-0e59d1b387e6" ], "X-Content-Type-Options": [ "nosniff" ], "Date": [ - "Tue, 27 Apr 2021 17:31:42 GMT" + "Wed, 16 Jun 2021 05:16:08 GMT" ], "Content-Length": [ "21" @@ -2110,15 +1369,15 @@ "StatusCode": 200 }, { - "RequestUri": "/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/providers/Microsoft.DocumentDB/locations/eastus2/operationsStatus/d2c15fa7-fc9c-48c7-b54f-713b1575829e?api-version=2021-04-15", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvODBiZTM5NjEtMDUyMS00YTBhLTg1NzAtNWNkNWE0ZTJmOThjL3Byb3ZpZGVycy9NaWNyb3NvZnQuRG9jdW1lbnREQi9sb2NhdGlvbnMvZWFzdHVzMi9vcGVyYXRpb25zU3RhdHVzL2QyYzE1ZmE3LWZjOWMtNDhjNy1iNTRmLTcxM2IxNTc1ODI5ZT9hcGktdmVyc2lvbj0yMDIxLTA0LTE1", + "RequestUri": "/subscriptions/259fbb24-9bcd-4cfc-865c-fc33b22fe38a/providers/Microsoft.DocumentDB/locations/eastus2/operationsStatus/10d641a5-f14c-4a28-8d5b-d31115b79117?api-version=2021-06-15", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMjU5ZmJiMjQtOWJjZC00Y2ZjLTg2NWMtZmMzM2IyMmZlMzhhL3Byb3ZpZGVycy9NaWNyb3NvZnQuRG9jdW1lbnREQi9sb2NhdGlvbnMvZWFzdHVzMi9vcGVyYXRpb25zU3RhdHVzLzEwZDY0MWE1LWYxNGMtNGEyOC04ZDViLWQzMTExNWI3OTExNz9hcGktdmVyc2lvbj0yMDIxLTA2LTE1", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { "User-Agent": [ - "FxVersion/4.6.29916.01", + "FxVersion/4.6.28207.03", "OSName/Windows", - "OSVersion/Microsoft.Windows.10.0.19042.", + "OSVersion/Microsoft.Windows.10.0.19043.", "Microsoft.Azure.Management.CosmosDB.CosmosDBManagementClient/3.0.0.0" ] }, @@ -2133,28 +1392,28 @@ "max-age=31536000; includeSubDomains" ], "x-ms-gatewayversion": [ - "version=2.11.0" + "version=2.14.0" ], "Server": [ "Microsoft-HTTPAPI/2.0" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "11967" + "11981" ], "x-ms-request-id": [ - "35467efd-cbfc-4eb1-987a-5a1c6da1d473" + "5029e5c5-0def-4513-b308-1d07da365636" ], "x-ms-correlation-request-id": [ - "35467efd-cbfc-4eb1-987a-5a1c6da1d473" + "5029e5c5-0def-4513-b308-1d07da365636" ], "x-ms-routing-request-id": [ - "WESTCENTRALUS:20210427T173213Z:35467efd-cbfc-4eb1-987a-5a1c6da1d473" + "WESTUS2:20210616T051639Z:5029e5c5-0def-4513-b308-1d07da365636" ], "X-Content-Type-Options": [ "nosniff" ], "Date": [ - "Tue, 27 Apr 2021 17:32:12 GMT" + "Wed, 16 Jun 2021 05:16:38 GMT" ], "Content-Length": [ "21" @@ -2167,15 +1426,15 @@ "StatusCode": 200 }, { - "RequestUri": "/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/providers/Microsoft.DocumentDB/locations/eastus2/operationsStatus/d2c15fa7-fc9c-48c7-b54f-713b1575829e?api-version=2021-04-15", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvODBiZTM5NjEtMDUyMS00YTBhLTg1NzAtNWNkNWE0ZTJmOThjL3Byb3ZpZGVycy9NaWNyb3NvZnQuRG9jdW1lbnREQi9sb2NhdGlvbnMvZWFzdHVzMi9vcGVyYXRpb25zU3RhdHVzL2QyYzE1ZmE3LWZjOWMtNDhjNy1iNTRmLTcxM2IxNTc1ODI5ZT9hcGktdmVyc2lvbj0yMDIxLTA0LTE1", + "RequestUri": "/subscriptions/259fbb24-9bcd-4cfc-865c-fc33b22fe38a/providers/Microsoft.DocumentDB/locations/eastus2/operationsStatus/10d641a5-f14c-4a28-8d5b-d31115b79117?api-version=2021-06-15", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMjU5ZmJiMjQtOWJjZC00Y2ZjLTg2NWMtZmMzM2IyMmZlMzhhL3Byb3ZpZGVycy9NaWNyb3NvZnQuRG9jdW1lbnREQi9sb2NhdGlvbnMvZWFzdHVzMi9vcGVyYXRpb25zU3RhdHVzLzEwZDY0MWE1LWYxNGMtNGEyOC04ZDViLWQzMTExNWI3OTExNz9hcGktdmVyc2lvbj0yMDIxLTA2LTE1", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { "User-Agent": [ - "FxVersion/4.6.29916.01", + "FxVersion/4.6.28207.03", "OSName/Windows", - "OSVersion/Microsoft.Windows.10.0.19042.", + "OSVersion/Microsoft.Windows.10.0.19043.", "Microsoft.Azure.Management.CosmosDB.CosmosDBManagementClient/3.0.0.0" ] }, @@ -2190,28 +1449,28 @@ "max-age=31536000; includeSubDomains" ], "x-ms-gatewayversion": [ - "version=2.11.0" + "version=2.14.0" ], "Server": [ "Microsoft-HTTPAPI/2.0" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "11966" + "11980" ], "x-ms-request-id": [ - "301c19f8-bcec-4c9e-887d-6a13097d9f11" + "0d948bc7-4d04-4006-b794-21913a0231f0" ], "x-ms-correlation-request-id": [ - "301c19f8-bcec-4c9e-887d-6a13097d9f11" + "0d948bc7-4d04-4006-b794-21913a0231f0" ], "x-ms-routing-request-id": [ - "WESTCENTRALUS:20210427T173243Z:301c19f8-bcec-4c9e-887d-6a13097d9f11" + "WESTUS2:20210616T051709Z:0d948bc7-4d04-4006-b794-21913a0231f0" ], "X-Content-Type-Options": [ "nosniff" ], "Date": [ - "Tue, 27 Apr 2021 17:32:43 GMT" + "Wed, 16 Jun 2021 05:17:09 GMT" ], "Content-Length": [ "21" @@ -2224,15 +1483,15 @@ "StatusCode": 200 }, { - "RequestUri": "/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/providers/Microsoft.DocumentDB/locations/eastus2/operationsStatus/d2c15fa7-fc9c-48c7-b54f-713b1575829e?api-version=2021-04-15", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvODBiZTM5NjEtMDUyMS00YTBhLTg1NzAtNWNkNWE0ZTJmOThjL3Byb3ZpZGVycy9NaWNyb3NvZnQuRG9jdW1lbnREQi9sb2NhdGlvbnMvZWFzdHVzMi9vcGVyYXRpb25zU3RhdHVzL2QyYzE1ZmE3LWZjOWMtNDhjNy1iNTRmLTcxM2IxNTc1ODI5ZT9hcGktdmVyc2lvbj0yMDIxLTA0LTE1", + "RequestUri": "/subscriptions/259fbb24-9bcd-4cfc-865c-fc33b22fe38a/providers/Microsoft.DocumentDB/locations/eastus2/operationsStatus/10d641a5-f14c-4a28-8d5b-d31115b79117?api-version=2021-06-15", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMjU5ZmJiMjQtOWJjZC00Y2ZjLTg2NWMtZmMzM2IyMmZlMzhhL3Byb3ZpZGVycy9NaWNyb3NvZnQuRG9jdW1lbnREQi9sb2NhdGlvbnMvZWFzdHVzMi9vcGVyYXRpb25zU3RhdHVzLzEwZDY0MWE1LWYxNGMtNGEyOC04ZDViLWQzMTExNWI3OTExNz9hcGktdmVyc2lvbj0yMDIxLTA2LTE1", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { "User-Agent": [ - "FxVersion/4.6.29916.01", + "FxVersion/4.6.28207.03", "OSName/Windows", - "OSVersion/Microsoft.Windows.10.0.19042.", + "OSVersion/Microsoft.Windows.10.0.19043.", "Microsoft.Azure.Management.CosmosDB.CosmosDBManagementClient/3.0.0.0" ] }, @@ -2247,28 +1506,28 @@ "max-age=31536000; includeSubDomains" ], "x-ms-gatewayversion": [ - "version=2.11.0" + "version=2.14.0" ], "Server": [ "Microsoft-HTTPAPI/2.0" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "11965" + "11979" ], "x-ms-request-id": [ - "b4032c3f-9750-47da-aef9-e207393d1fe6" + "a254e26e-67da-4fd3-8afa-c10ab0666843" ], "x-ms-correlation-request-id": [ - "b4032c3f-9750-47da-aef9-e207393d1fe6" + "a254e26e-67da-4fd3-8afa-c10ab0666843" ], "x-ms-routing-request-id": [ - "WESTCENTRALUS:20210427T173313Z:b4032c3f-9750-47da-aef9-e207393d1fe6" + "WESTUS2:20210616T051739Z:a254e26e-67da-4fd3-8afa-c10ab0666843" ], "X-Content-Type-Options": [ "nosniff" ], "Date": [ - "Tue, 27 Apr 2021 17:33:12 GMT" + "Wed, 16 Jun 2021 05:17:39 GMT" ], "Content-Length": [ "21" @@ -2281,15 +1540,15 @@ "StatusCode": 200 }, { - "RequestUri": "/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/providers/Microsoft.DocumentDB/locations/eastus2/operationsStatus/d2c15fa7-fc9c-48c7-b54f-713b1575829e?api-version=2021-04-15", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvODBiZTM5NjEtMDUyMS00YTBhLTg1NzAtNWNkNWE0ZTJmOThjL3Byb3ZpZGVycy9NaWNyb3NvZnQuRG9jdW1lbnREQi9sb2NhdGlvbnMvZWFzdHVzMi9vcGVyYXRpb25zU3RhdHVzL2QyYzE1ZmE3LWZjOWMtNDhjNy1iNTRmLTcxM2IxNTc1ODI5ZT9hcGktdmVyc2lvbj0yMDIxLTA0LTE1", + "RequestUri": "/subscriptions/259fbb24-9bcd-4cfc-865c-fc33b22fe38a/providers/Microsoft.DocumentDB/locations/eastus2/operationsStatus/10d641a5-f14c-4a28-8d5b-d31115b79117?api-version=2021-06-15", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMjU5ZmJiMjQtOWJjZC00Y2ZjLTg2NWMtZmMzM2IyMmZlMzhhL3Byb3ZpZGVycy9NaWNyb3NvZnQuRG9jdW1lbnREQi9sb2NhdGlvbnMvZWFzdHVzMi9vcGVyYXRpb25zU3RhdHVzLzEwZDY0MWE1LWYxNGMtNGEyOC04ZDViLWQzMTExNWI3OTExNz9hcGktdmVyc2lvbj0yMDIxLTA2LTE1", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { "User-Agent": [ - "FxVersion/4.6.29916.01", + "FxVersion/4.6.28207.03", "OSName/Windows", - "OSVersion/Microsoft.Windows.10.0.19042.", + "OSVersion/Microsoft.Windows.10.0.19043.", "Microsoft.Azure.Management.CosmosDB.CosmosDBManagementClient/3.0.0.0" ] }, @@ -2304,28 +1563,28 @@ "max-age=31536000; includeSubDomains" ], "x-ms-gatewayversion": [ - "version=2.11.0" + "version=2.14.0" ], "Server": [ "Microsoft-HTTPAPI/2.0" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "11964" + "11978" ], "x-ms-request-id": [ - "2315a953-13c1-4e4e-8654-4fbefbf5e969" + "cd1ca1ec-8a84-4d67-b0d3-8c0e1df526ee" ], "x-ms-correlation-request-id": [ - "2315a953-13c1-4e4e-8654-4fbefbf5e969" + "cd1ca1ec-8a84-4d67-b0d3-8c0e1df526ee" ], "x-ms-routing-request-id": [ - "WESTCENTRALUS:20210427T173343Z:2315a953-13c1-4e4e-8654-4fbefbf5e969" + "WESTUS2:20210616T051809Z:cd1ca1ec-8a84-4d67-b0d3-8c0e1df526ee" ], "X-Content-Type-Options": [ "nosniff" ], "Date": [ - "Tue, 27 Apr 2021 17:33:42 GMT" + "Wed, 16 Jun 2021 05:18:08 GMT" ], "Content-Length": [ "21" @@ -2338,15 +1597,15 @@ "StatusCode": 200 }, { - "RequestUri": "/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/providers/Microsoft.DocumentDB/locations/eastus2/operationsStatus/d2c15fa7-fc9c-48c7-b54f-713b1575829e?api-version=2021-04-15", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvODBiZTM5NjEtMDUyMS00YTBhLTg1NzAtNWNkNWE0ZTJmOThjL3Byb3ZpZGVycy9NaWNyb3NvZnQuRG9jdW1lbnREQi9sb2NhdGlvbnMvZWFzdHVzMi9vcGVyYXRpb25zU3RhdHVzL2QyYzE1ZmE3LWZjOWMtNDhjNy1iNTRmLTcxM2IxNTc1ODI5ZT9hcGktdmVyc2lvbj0yMDIxLTA0LTE1", + "RequestUri": "/subscriptions/259fbb24-9bcd-4cfc-865c-fc33b22fe38a/providers/Microsoft.DocumentDB/locations/eastus2/operationsStatus/10d641a5-f14c-4a28-8d5b-d31115b79117?api-version=2021-06-15", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMjU5ZmJiMjQtOWJjZC00Y2ZjLTg2NWMtZmMzM2IyMmZlMzhhL3Byb3ZpZGVycy9NaWNyb3NvZnQuRG9jdW1lbnREQi9sb2NhdGlvbnMvZWFzdHVzMi9vcGVyYXRpb25zU3RhdHVzLzEwZDY0MWE1LWYxNGMtNGEyOC04ZDViLWQzMTExNWI3OTExNz9hcGktdmVyc2lvbj0yMDIxLTA2LTE1", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { "User-Agent": [ - "FxVersion/4.6.29916.01", + "FxVersion/4.6.28207.03", "OSName/Windows", - "OSVersion/Microsoft.Windows.10.0.19042.", + "OSVersion/Microsoft.Windows.10.0.19043.", "Microsoft.Azure.Management.CosmosDB.CosmosDBManagementClient/3.0.0.0" ] }, @@ -2361,28 +1620,28 @@ "max-age=31536000; includeSubDomains" ], "x-ms-gatewayversion": [ - "version=2.11.0" + "version=2.14.0" ], "Server": [ "Microsoft-HTTPAPI/2.0" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "11963" + "11977" ], "x-ms-request-id": [ - "88928078-edba-4ea2-a8fb-7fb99b69d206" + "e031eaf6-1b1a-4b1f-b1e3-2d2ff84f3ab2" ], "x-ms-correlation-request-id": [ - "88928078-edba-4ea2-a8fb-7fb99b69d206" + "e031eaf6-1b1a-4b1f-b1e3-2d2ff84f3ab2" ], "x-ms-routing-request-id": [ - "WESTCENTRALUS:20210427T173413Z:88928078-edba-4ea2-a8fb-7fb99b69d206" + "WESTUS2:20210616T051839Z:e031eaf6-1b1a-4b1f-b1e3-2d2ff84f3ab2" ], "X-Content-Type-Options": [ "nosniff" ], "Date": [ - "Tue, 27 Apr 2021 17:34:13 GMT" + "Wed, 16 Jun 2021 05:18:39 GMT" ], "Content-Length": [ "21" @@ -2395,15 +1654,15 @@ "StatusCode": 200 }, { - "RequestUri": "/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/providers/Microsoft.DocumentDB/locations/eastus2/operationsStatus/d2c15fa7-fc9c-48c7-b54f-713b1575829e?api-version=2021-04-15", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvODBiZTM5NjEtMDUyMS00YTBhLTg1NzAtNWNkNWE0ZTJmOThjL3Byb3ZpZGVycy9NaWNyb3NvZnQuRG9jdW1lbnREQi9sb2NhdGlvbnMvZWFzdHVzMi9vcGVyYXRpb25zU3RhdHVzL2QyYzE1ZmE3LWZjOWMtNDhjNy1iNTRmLTcxM2IxNTc1ODI5ZT9hcGktdmVyc2lvbj0yMDIxLTA0LTE1", + "RequestUri": "/subscriptions/259fbb24-9bcd-4cfc-865c-fc33b22fe38a/providers/Microsoft.DocumentDB/locations/eastus2/operationsStatus/10d641a5-f14c-4a28-8d5b-d31115b79117?api-version=2021-06-15", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMjU5ZmJiMjQtOWJjZC00Y2ZjLTg2NWMtZmMzM2IyMmZlMzhhL3Byb3ZpZGVycy9NaWNyb3NvZnQuRG9jdW1lbnREQi9sb2NhdGlvbnMvZWFzdHVzMi9vcGVyYXRpb25zU3RhdHVzLzEwZDY0MWE1LWYxNGMtNGEyOC04ZDViLWQzMTExNWI3OTExNz9hcGktdmVyc2lvbj0yMDIxLTA2LTE1", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { "User-Agent": [ - "FxVersion/4.6.29916.01", + "FxVersion/4.6.28207.03", "OSName/Windows", - "OSVersion/Microsoft.Windows.10.0.19042.", + "OSVersion/Microsoft.Windows.10.0.19043.", "Microsoft.Azure.Management.CosmosDB.CosmosDBManagementClient/3.0.0.0" ] }, @@ -2418,28 +1677,28 @@ "max-age=31536000; includeSubDomains" ], "x-ms-gatewayversion": [ - "version=2.11.0" + "version=2.14.0" ], "Server": [ "Microsoft-HTTPAPI/2.0" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "11962" + "11976" ], "x-ms-request-id": [ - "cfdb28d3-1dfa-4f1a-bf47-f293c30dfd1a" + "449a7f89-17f4-4d19-8cea-d1360029af6a" ], "x-ms-correlation-request-id": [ - "cfdb28d3-1dfa-4f1a-bf47-f293c30dfd1a" + "449a7f89-17f4-4d19-8cea-d1360029af6a" ], "x-ms-routing-request-id": [ - "WESTCENTRALUS:20210427T173443Z:cfdb28d3-1dfa-4f1a-bf47-f293c30dfd1a" + "WESTUS2:20210616T051909Z:449a7f89-17f4-4d19-8cea-d1360029af6a" ], "X-Content-Type-Options": [ "nosniff" ], "Date": [ - "Tue, 27 Apr 2021 17:34:43 GMT" + "Wed, 16 Jun 2021 05:19:09 GMT" ], "Content-Length": [ "21" @@ -2452,15 +1711,15 @@ "StatusCode": 200 }, { - "RequestUri": "/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/providers/Microsoft.DocumentDB/locations/eastus2/operationsStatus/d2c15fa7-fc9c-48c7-b54f-713b1575829e?api-version=2021-04-15", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvODBiZTM5NjEtMDUyMS00YTBhLTg1NzAtNWNkNWE0ZTJmOThjL3Byb3ZpZGVycy9NaWNyb3NvZnQuRG9jdW1lbnREQi9sb2NhdGlvbnMvZWFzdHVzMi9vcGVyYXRpb25zU3RhdHVzL2QyYzE1ZmE3LWZjOWMtNDhjNy1iNTRmLTcxM2IxNTc1ODI5ZT9hcGktdmVyc2lvbj0yMDIxLTA0LTE1", + "RequestUri": "/subscriptions/259fbb24-9bcd-4cfc-865c-fc33b22fe38a/providers/Microsoft.DocumentDB/locations/eastus2/operationsStatus/10d641a5-f14c-4a28-8d5b-d31115b79117?api-version=2021-06-15", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMjU5ZmJiMjQtOWJjZC00Y2ZjLTg2NWMtZmMzM2IyMmZlMzhhL3Byb3ZpZGVycy9NaWNyb3NvZnQuRG9jdW1lbnREQi9sb2NhdGlvbnMvZWFzdHVzMi9vcGVyYXRpb25zU3RhdHVzLzEwZDY0MWE1LWYxNGMtNGEyOC04ZDViLWQzMTExNWI3OTExNz9hcGktdmVyc2lvbj0yMDIxLTA2LTE1", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { "User-Agent": [ - "FxVersion/4.6.29916.01", + "FxVersion/4.6.28207.03", "OSName/Windows", - "OSVersion/Microsoft.Windows.10.0.19042.", + "OSVersion/Microsoft.Windows.10.0.19043.", "Microsoft.Azure.Management.CosmosDB.CosmosDBManagementClient/3.0.0.0" ] }, @@ -2475,28 +1734,28 @@ "max-age=31536000; includeSubDomains" ], "x-ms-gatewayversion": [ - "version=2.11.0" + "version=2.14.0" ], "Server": [ "Microsoft-HTTPAPI/2.0" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "11961" + "11975" ], "x-ms-request-id": [ - "17fd2f82-00b6-401d-88c8-ac6281bfd616" + "6c9ec22b-1c3c-416b-abb2-ea497a1e0718" ], "x-ms-correlation-request-id": [ - "17fd2f82-00b6-401d-88c8-ac6281bfd616" + "6c9ec22b-1c3c-416b-abb2-ea497a1e0718" ], "x-ms-routing-request-id": [ - "WESTCENTRALUS:20210427T173513Z:17fd2f82-00b6-401d-88c8-ac6281bfd616" + "WESTUS2:20210616T051940Z:6c9ec22b-1c3c-416b-abb2-ea497a1e0718" ], "X-Content-Type-Options": [ "nosniff" ], "Date": [ - "Tue, 27 Apr 2021 17:35:12 GMT" + "Wed, 16 Jun 2021 05:19:39 GMT" ], "Content-Length": [ "21" @@ -2509,15 +1768,15 @@ "StatusCode": 200 }, { - "RequestUri": "/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/providers/Microsoft.DocumentDB/locations/eastus2/operationsStatus/d2c15fa7-fc9c-48c7-b54f-713b1575829e?api-version=2021-04-15", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvODBiZTM5NjEtMDUyMS00YTBhLTg1NzAtNWNkNWE0ZTJmOThjL3Byb3ZpZGVycy9NaWNyb3NvZnQuRG9jdW1lbnREQi9sb2NhdGlvbnMvZWFzdHVzMi9vcGVyYXRpb25zU3RhdHVzL2QyYzE1ZmE3LWZjOWMtNDhjNy1iNTRmLTcxM2IxNTc1ODI5ZT9hcGktdmVyc2lvbj0yMDIxLTA0LTE1", + "RequestUri": "/subscriptions/259fbb24-9bcd-4cfc-865c-fc33b22fe38a/providers/Microsoft.DocumentDB/locations/eastus2/operationsStatus/10d641a5-f14c-4a28-8d5b-d31115b79117?api-version=2021-06-15", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMjU5ZmJiMjQtOWJjZC00Y2ZjLTg2NWMtZmMzM2IyMmZlMzhhL3Byb3ZpZGVycy9NaWNyb3NvZnQuRG9jdW1lbnREQi9sb2NhdGlvbnMvZWFzdHVzMi9vcGVyYXRpb25zU3RhdHVzLzEwZDY0MWE1LWYxNGMtNGEyOC04ZDViLWQzMTExNWI3OTExNz9hcGktdmVyc2lvbj0yMDIxLTA2LTE1", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { "User-Agent": [ - "FxVersion/4.6.29916.01", + "FxVersion/4.6.28207.03", "OSName/Windows", - "OSVersion/Microsoft.Windows.10.0.19042.", + "OSVersion/Microsoft.Windows.10.0.19043.", "Microsoft.Azure.Management.CosmosDB.CosmosDBManagementClient/3.0.0.0" ] }, @@ -2532,28 +1791,28 @@ "max-age=31536000; includeSubDomains" ], "x-ms-gatewayversion": [ - "version=2.11.0" + "version=2.14.0" ], "Server": [ "Microsoft-HTTPAPI/2.0" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "11960" + "11974" ], "x-ms-request-id": [ - "454faa58-500a-4606-a72d-fb5960b18722" + "6934ecd8-902b-467c-ba04-e33237cdf2b1" ], "x-ms-correlation-request-id": [ - "454faa58-500a-4606-a72d-fb5960b18722" + "6934ecd8-902b-467c-ba04-e33237cdf2b1" ], "x-ms-routing-request-id": [ - "WESTCENTRALUS:20210427T173543Z:454faa58-500a-4606-a72d-fb5960b18722" + "WESTUS2:20210616T052010Z:6934ecd8-902b-467c-ba04-e33237cdf2b1" ], "X-Content-Type-Options": [ "nosniff" ], "Date": [ - "Tue, 27 Apr 2021 17:35:43 GMT" + "Wed, 16 Jun 2021 05:20:09 GMT" ], "Content-Length": [ "21" @@ -2566,15 +1825,15 @@ "StatusCode": 200 }, { - "RequestUri": "/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/providers/Microsoft.DocumentDB/locations/eastus2/operationsStatus/d2c15fa7-fc9c-48c7-b54f-713b1575829e?api-version=2021-04-15", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvODBiZTM5NjEtMDUyMS00YTBhLTg1NzAtNWNkNWE0ZTJmOThjL3Byb3ZpZGVycy9NaWNyb3NvZnQuRG9jdW1lbnREQi9sb2NhdGlvbnMvZWFzdHVzMi9vcGVyYXRpb25zU3RhdHVzL2QyYzE1ZmE3LWZjOWMtNDhjNy1iNTRmLTcxM2IxNTc1ODI5ZT9hcGktdmVyc2lvbj0yMDIxLTA0LTE1", + "RequestUri": "/subscriptions/259fbb24-9bcd-4cfc-865c-fc33b22fe38a/providers/Microsoft.DocumentDB/locations/eastus2/operationsStatus/10d641a5-f14c-4a28-8d5b-d31115b79117?api-version=2021-06-15", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMjU5ZmJiMjQtOWJjZC00Y2ZjLTg2NWMtZmMzM2IyMmZlMzhhL3Byb3ZpZGVycy9NaWNyb3NvZnQuRG9jdW1lbnREQi9sb2NhdGlvbnMvZWFzdHVzMi9vcGVyYXRpb25zU3RhdHVzLzEwZDY0MWE1LWYxNGMtNGEyOC04ZDViLWQzMTExNWI3OTExNz9hcGktdmVyc2lvbj0yMDIxLTA2LTE1", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { "User-Agent": [ - "FxVersion/4.6.29916.01", + "FxVersion/4.6.28207.03", "OSName/Windows", - "OSVersion/Microsoft.Windows.10.0.19042.", + "OSVersion/Microsoft.Windows.10.0.19043.", "Microsoft.Azure.Management.CosmosDB.CosmosDBManagementClient/3.0.0.0" ] }, @@ -2589,28 +1848,28 @@ "max-age=31536000; includeSubDomains" ], "x-ms-gatewayversion": [ - "version=2.11.0" + "version=2.14.0" ], "Server": [ "Microsoft-HTTPAPI/2.0" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "11959" + "11973" ], "x-ms-request-id": [ - "43c95a25-6130-404f-8885-15983d28b4c4" + "0f8c818f-5d04-4529-b446-1f4f11987f4a" ], "x-ms-correlation-request-id": [ - "43c95a25-6130-404f-8885-15983d28b4c4" + "0f8c818f-5d04-4529-b446-1f4f11987f4a" ], "x-ms-routing-request-id": [ - "WESTCENTRALUS:20210427T173614Z:43c95a25-6130-404f-8885-15983d28b4c4" + "WESTUS2:20210616T052040Z:0f8c818f-5d04-4529-b446-1f4f11987f4a" ], "X-Content-Type-Options": [ "nosniff" ], "Date": [ - "Tue, 27 Apr 2021 17:36:13 GMT" + "Wed, 16 Jun 2021 05:20:39 GMT" ], "Content-Length": [ "21" @@ -2623,15 +1882,15 @@ "StatusCode": 200 }, { - "RequestUri": "/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/providers/Microsoft.DocumentDB/locations/eastus2/operationsStatus/d2c15fa7-fc9c-48c7-b54f-713b1575829e?api-version=2021-04-15", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvODBiZTM5NjEtMDUyMS00YTBhLTg1NzAtNWNkNWE0ZTJmOThjL3Byb3ZpZGVycy9NaWNyb3NvZnQuRG9jdW1lbnREQi9sb2NhdGlvbnMvZWFzdHVzMi9vcGVyYXRpb25zU3RhdHVzL2QyYzE1ZmE3LWZjOWMtNDhjNy1iNTRmLTcxM2IxNTc1ODI5ZT9hcGktdmVyc2lvbj0yMDIxLTA0LTE1", + "RequestUri": "/subscriptions/259fbb24-9bcd-4cfc-865c-fc33b22fe38a/providers/Microsoft.DocumentDB/locations/eastus2/operationsStatus/10d641a5-f14c-4a28-8d5b-d31115b79117?api-version=2021-06-15", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMjU5ZmJiMjQtOWJjZC00Y2ZjLTg2NWMtZmMzM2IyMmZlMzhhL3Byb3ZpZGVycy9NaWNyb3NvZnQuRG9jdW1lbnREQi9sb2NhdGlvbnMvZWFzdHVzMi9vcGVyYXRpb25zU3RhdHVzLzEwZDY0MWE1LWYxNGMtNGEyOC04ZDViLWQzMTExNWI3OTExNz9hcGktdmVyc2lvbj0yMDIxLTA2LTE1", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { "User-Agent": [ - "FxVersion/4.6.29916.01", + "FxVersion/4.6.28207.03", "OSName/Windows", - "OSVersion/Microsoft.Windows.10.0.19042.", + "OSVersion/Microsoft.Windows.10.0.19043.", "Microsoft.Azure.Management.CosmosDB.CosmosDBManagementClient/3.0.0.0" ] }, @@ -2646,28 +1905,28 @@ "max-age=31536000; includeSubDomains" ], "x-ms-gatewayversion": [ - "version=2.11.0" + "version=2.14.0" ], "Server": [ "Microsoft-HTTPAPI/2.0" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "11958" + "11972" ], "x-ms-request-id": [ - "13b0d0f4-1e93-45c1-bcee-304203cda0d3" + "c9606a83-e109-4b54-aa35-a78770d6f9c0" ], "x-ms-correlation-request-id": [ - "13b0d0f4-1e93-45c1-bcee-304203cda0d3" + "c9606a83-e109-4b54-aa35-a78770d6f9c0" ], "x-ms-routing-request-id": [ - "WESTCENTRALUS:20210427T173644Z:13b0d0f4-1e93-45c1-bcee-304203cda0d3" + "WESTUS2:20210616T052110Z:c9606a83-e109-4b54-aa35-a78770d6f9c0" ], "X-Content-Type-Options": [ "nosniff" ], "Date": [ - "Tue, 27 Apr 2021 17:36:44 GMT" + "Wed, 16 Jun 2021 05:21:10 GMT" ], "Content-Length": [ "21" @@ -2680,15 +1939,15 @@ "StatusCode": 200 }, { - "RequestUri": "/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/providers/Microsoft.DocumentDB/locations/eastus2/operationsStatus/d2c15fa7-fc9c-48c7-b54f-713b1575829e?api-version=2021-04-15", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvODBiZTM5NjEtMDUyMS00YTBhLTg1NzAtNWNkNWE0ZTJmOThjL3Byb3ZpZGVycy9NaWNyb3NvZnQuRG9jdW1lbnREQi9sb2NhdGlvbnMvZWFzdHVzMi9vcGVyYXRpb25zU3RhdHVzL2QyYzE1ZmE3LWZjOWMtNDhjNy1iNTRmLTcxM2IxNTc1ODI5ZT9hcGktdmVyc2lvbj0yMDIxLTA0LTE1", + "RequestUri": "/subscriptions/259fbb24-9bcd-4cfc-865c-fc33b22fe38a/providers/Microsoft.DocumentDB/locations/eastus2/operationsStatus/10d641a5-f14c-4a28-8d5b-d31115b79117?api-version=2021-06-15", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMjU5ZmJiMjQtOWJjZC00Y2ZjLTg2NWMtZmMzM2IyMmZlMzhhL3Byb3ZpZGVycy9NaWNyb3NvZnQuRG9jdW1lbnREQi9sb2NhdGlvbnMvZWFzdHVzMi9vcGVyYXRpb25zU3RhdHVzLzEwZDY0MWE1LWYxNGMtNGEyOC04ZDViLWQzMTExNWI3OTExNz9hcGktdmVyc2lvbj0yMDIxLTA2LTE1", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { "User-Agent": [ - "FxVersion/4.6.29916.01", + "FxVersion/4.6.28207.03", "OSName/Windows", - "OSVersion/Microsoft.Windows.10.0.19042.", + "OSVersion/Microsoft.Windows.10.0.19043.", "Microsoft.Azure.Management.CosmosDB.CosmosDBManagementClient/3.0.0.0" ] }, @@ -2703,28 +1962,28 @@ "max-age=31536000; includeSubDomains" ], "x-ms-gatewayversion": [ - "version=2.11.0" + "version=2.14.0" ], "Server": [ "Microsoft-HTTPAPI/2.0" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "11957" + "11971" ], "x-ms-request-id": [ - "0d9ce290-e2d8-4901-8451-cf1e05fbb637" + "e063fcf7-c901-4a0d-a678-2fa0d41c6600" ], "x-ms-correlation-request-id": [ - "0d9ce290-e2d8-4901-8451-cf1e05fbb637" + "e063fcf7-c901-4a0d-a678-2fa0d41c6600" ], "x-ms-routing-request-id": [ - "WESTCENTRALUS:20210427T173714Z:0d9ce290-e2d8-4901-8451-cf1e05fbb637" + "WESTUS2:20210616T052140Z:e063fcf7-c901-4a0d-a678-2fa0d41c6600" ], "X-Content-Type-Options": [ "nosniff" ], "Date": [ - "Tue, 27 Apr 2021 17:37:13 GMT" + "Wed, 16 Jun 2021 05:21:40 GMT" ], "Content-Length": [ "21" @@ -2737,15 +1996,15 @@ "StatusCode": 200 }, { - "RequestUri": "/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/providers/Microsoft.DocumentDB/locations/eastus2/operationsStatus/d2c15fa7-fc9c-48c7-b54f-713b1575829e?api-version=2021-04-15", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvODBiZTM5NjEtMDUyMS00YTBhLTg1NzAtNWNkNWE0ZTJmOThjL3Byb3ZpZGVycy9NaWNyb3NvZnQuRG9jdW1lbnREQi9sb2NhdGlvbnMvZWFzdHVzMi9vcGVyYXRpb25zU3RhdHVzL2QyYzE1ZmE3LWZjOWMtNDhjNy1iNTRmLTcxM2IxNTc1ODI5ZT9hcGktdmVyc2lvbj0yMDIxLTA0LTE1", + "RequestUri": "/subscriptions/259fbb24-9bcd-4cfc-865c-fc33b22fe38a/providers/Microsoft.DocumentDB/locations/eastus2/operationsStatus/10d641a5-f14c-4a28-8d5b-d31115b79117?api-version=2021-06-15", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMjU5ZmJiMjQtOWJjZC00Y2ZjLTg2NWMtZmMzM2IyMmZlMzhhL3Byb3ZpZGVycy9NaWNyb3NvZnQuRG9jdW1lbnREQi9sb2NhdGlvbnMvZWFzdHVzMi9vcGVyYXRpb25zU3RhdHVzLzEwZDY0MWE1LWYxNGMtNGEyOC04ZDViLWQzMTExNWI3OTExNz9hcGktdmVyc2lvbj0yMDIxLTA2LTE1", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { "User-Agent": [ - "FxVersion/4.6.29916.01", + "FxVersion/4.6.28207.03", "OSName/Windows", - "OSVersion/Microsoft.Windows.10.0.19042.", + "OSVersion/Microsoft.Windows.10.0.19043.", "Microsoft.Azure.Management.CosmosDB.CosmosDBManagementClient/3.0.0.0" ] }, @@ -2760,28 +2019,28 @@ "max-age=31536000; includeSubDomains" ], "x-ms-gatewayversion": [ - "version=2.11.0" + "version=2.14.0" ], "Server": [ "Microsoft-HTTPAPI/2.0" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "11956" + "11970" ], "x-ms-request-id": [ - "73fdd176-4e71-4c7d-b07d-4acb93ae9346" + "8e85069b-622c-492e-978e-ba5ca08d9d50" ], "x-ms-correlation-request-id": [ - "73fdd176-4e71-4c7d-b07d-4acb93ae9346" + "8e85069b-622c-492e-978e-ba5ca08d9d50" ], "x-ms-routing-request-id": [ - "WESTCENTRALUS:20210427T173744Z:73fdd176-4e71-4c7d-b07d-4acb93ae9346" + "WESTUS2:20210616T052210Z:8e85069b-622c-492e-978e-ba5ca08d9d50" ], "X-Content-Type-Options": [ "nosniff" ], "Date": [ - "Tue, 27 Apr 2021 17:37:43 GMT" + "Wed, 16 Jun 2021 05:22:10 GMT" ], "Content-Length": [ "21" @@ -2794,15 +2053,15 @@ "StatusCode": 200 }, { - "RequestUri": "/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/providers/Microsoft.DocumentDB/locations/eastus2/operationsStatus/d2c15fa7-fc9c-48c7-b54f-713b1575829e?api-version=2021-04-15", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvODBiZTM5NjEtMDUyMS00YTBhLTg1NzAtNWNkNWE0ZTJmOThjL3Byb3ZpZGVycy9NaWNyb3NvZnQuRG9jdW1lbnREQi9sb2NhdGlvbnMvZWFzdHVzMi9vcGVyYXRpb25zU3RhdHVzL2QyYzE1ZmE3LWZjOWMtNDhjNy1iNTRmLTcxM2IxNTc1ODI5ZT9hcGktdmVyc2lvbj0yMDIxLTA0LTE1", + "RequestUri": "/subscriptions/259fbb24-9bcd-4cfc-865c-fc33b22fe38a/providers/Microsoft.DocumentDB/locations/eastus2/operationsStatus/10d641a5-f14c-4a28-8d5b-d31115b79117?api-version=2021-06-15", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMjU5ZmJiMjQtOWJjZC00Y2ZjLTg2NWMtZmMzM2IyMmZlMzhhL3Byb3ZpZGVycy9NaWNyb3NvZnQuRG9jdW1lbnREQi9sb2NhdGlvbnMvZWFzdHVzMi9vcGVyYXRpb25zU3RhdHVzLzEwZDY0MWE1LWYxNGMtNGEyOC04ZDViLWQzMTExNWI3OTExNz9hcGktdmVyc2lvbj0yMDIxLTA2LTE1", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { "User-Agent": [ - "FxVersion/4.6.29916.01", + "FxVersion/4.6.28207.03", "OSName/Windows", - "OSVersion/Microsoft.Windows.10.0.19042.", + "OSVersion/Microsoft.Windows.10.0.19043.", "Microsoft.Azure.Management.CosmosDB.CosmosDBManagementClient/3.0.0.0" ] }, @@ -2817,28 +2076,28 @@ "max-age=31536000; includeSubDomains" ], "x-ms-gatewayversion": [ - "version=2.11.0" + "version=2.14.0" ], "Server": [ "Microsoft-HTTPAPI/2.0" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "11955" + "11969" ], "x-ms-request-id": [ - "188ef861-c629-4108-b956-e441c677fd74" + "bd6c31fc-6c3a-4642-a52d-eacb91b45e0a" ], "x-ms-correlation-request-id": [ - "188ef861-c629-4108-b956-e441c677fd74" + "bd6c31fc-6c3a-4642-a52d-eacb91b45e0a" ], "x-ms-routing-request-id": [ - "WESTCENTRALUS:20210427T173814Z:188ef861-c629-4108-b956-e441c677fd74" + "WESTUS2:20210616T052241Z:bd6c31fc-6c3a-4642-a52d-eacb91b45e0a" ], "X-Content-Type-Options": [ "nosniff" ], "Date": [ - "Tue, 27 Apr 2021 17:38:13 GMT" + "Wed, 16 Jun 2021 05:22:40 GMT" ], "Content-Length": [ "22" @@ -2851,21 +2110,21 @@ "StatusCode": 200 }, { - "RequestUri": "/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/providers/Microsoft.DocumentDB/databaseAccounts?api-version=2021-04-15", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvODBiZTM5NjEtMDUyMS00YTBhLTg1NzAtNWNkNWE0ZTJmOThjL3Byb3ZpZGVycy9NaWNyb3NvZnQuRG9jdW1lbnREQi9kYXRhYmFzZUFjY291bnRzP2FwaS12ZXJzaW9uPTIwMjEtMDQtMTU=", + "RequestUri": "/subscriptions/259fbb24-9bcd-4cfc-865c-fc33b22fe38a/providers/Microsoft.DocumentDB/databaseAccounts?api-version=2021-06-15", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMjU5ZmJiMjQtOWJjZC00Y2ZjLTg2NWMtZmMzM2IyMmZlMzhhL3Byb3ZpZGVycy9NaWNyb3NvZnQuRG9jdW1lbnREQi9kYXRhYmFzZUFjY291bnRzP2FwaS12ZXJzaW9uPTIwMjEtMDYtMTU=", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { "x-ms-client-request-id": [ - "c0bc23ba-ea55-4cc0-b1a8-c953e4fafd4b" + "abf18789-85a3-43d8-8b0b-4a7f131607a7" ], "Accept-Language": [ "en-US" ], "User-Agent": [ - "FxVersion/4.6.29916.01", + "FxVersion/4.6.28207.03", "OSName/Windows", - "OSVersion/Microsoft.Windows.10.0.19042.", + "OSVersion/Microsoft.Windows.10.0.19043.", "Microsoft.Azure.Management.CosmosDB.CosmosDBManagementClient/3.0.0.0" ] }, @@ -2882,19 +2141,21 @@ "", "", "", + "", + "", "" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "11953" + "11967" ], "x-ms-request-id": [ - "4cb8265c-b460-4876-929b-cf4e34723a35" + "0173f46d-2af3-497c-8d69-25e7dbdfa410" ], "x-ms-correlation-request-id": [ - "4cb8265c-b460-4876-929b-cf4e34723a35" + "0173f46d-2af3-497c-8d69-25e7dbdfa410" ], "x-ms-routing-request-id": [ - "WESTCENTRALUS:20210427T173822Z:4cb8265c-b460-4876-929b-cf4e34723a35" + "WESTUS2:20210616T052242Z:0173f46d-2af3-497c-8d69-25e7dbdfa410" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -2903,7 +2164,7 @@ "nosniff" ], "Date": [ - "Tue, 27 Apr 2021 17:38:21 GMT" + "Wed, 16 Jun 2021 05:22:41 GMT" ], "Content-Type": [ "application/json; charset=utf-8" @@ -2912,28 +2173,28 @@ "-1" ], "Content-Length": [ - "1611920" + "305223" ] }, - "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/resourceGroups/ragil/providers/Microsoft.DocumentDB/databaseAccounts/ragil-mongo-36\",\r\n \"name\": \"ragil-mongo-36\",\r\n \"location\": \"France Central\",\r\n \"type\": \"Microsoft.DocumentDB/databaseAccounts\",\r\n \"kind\": \"MongoDB\",\r\n \"tags\": {\r\n \"defaultExperience\": \"Azure Cosmos DB for MongoDB API\",\r\n \"hidden-cosmos-mmspecial\": \"\",\r\n \"CosmosAccountType\": \"Non-Production\"\r\n },\r\n \"systemData\": {\r\n \"createdAt\": \"2020-05-20T17:32:19.64468Z\"\r\n },\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"documentEndpoint\": \"https://ragil-mongo-36.documents.azure.com:443/\",\r\n \"mongoEndpoint\": \"https://ragil-mongo-36.mongo.cosmos.azure.com:443/\",\r\n \"publicNetworkAccess\": \"Enabled\",\r\n \"enableAutomaticFailover\": false,\r\n \"enableMultipleWriteLocations\": false,\r\n \"enablePartitionKeyMonitor\": false,\r\n \"isVirtualNetworkFilterEnabled\": false,\r\n \"virtualNetworkRules\": [],\r\n \"EnabledApiTypes\": \"MongoDB\",\r\n \"disableKeyBasedMetadataWriteAccess\": false,\r\n \"enableFreeTier\": false,\r\n \"enableAnalyticalStorage\": false,\r\n \"instanceId\": \"e1276bdc-92ab-4806-91b0-ab3c9a7cad45\",\r\n \"createMode\": \"Default\",\r\n \"databaseAccountOfferType\": \"Standard\",\r\n \"defaultIdentity\": \"\",\r\n \"networkAclBypass\": \"None\",\r\n \"consistencyPolicy\": {\r\n \"defaultConsistencyLevel\": \"Session\",\r\n \"maxIntervalInSeconds\": 5,\r\n \"maxStalenessPrefix\": 100\r\n },\r\n \"apiProperties\": {\r\n \"serverVersion\": \"3.6\"\r\n },\r\n \"configurationOverrides\": {\r\n \"EnableBsonSchema\": \"True\"\r\n },\r\n \"writeLocations\": [\r\n {\r\n \"id\": \"ragil-mongo-36-francecentral\",\r\n \"locationName\": \"France Central\",\r\n \"documentEndpoint\": \"https://ragil-mongo-36-francecentral.documents.azure.com:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"readLocations\": [\r\n {\r\n \"id\": \"ragil-mongo-36-francecentral\",\r\n \"locationName\": \"France Central\",\r\n \"documentEndpoint\": \"https://ragil-mongo-36-francecentral.documents.azure.com:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"locations\": [\r\n {\r\n \"id\": \"ragil-mongo-36-francecentral\",\r\n \"locationName\": \"France Central\",\r\n \"documentEndpoint\": \"https://ragil-mongo-36-francecentral.documents.azure.com:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"failoverPolicies\": [\r\n {\r\n \"id\": \"ragil-mongo-36-francecentral\",\r\n \"locationName\": \"France Central\",\r\n \"failoverPriority\": 0\r\n }\r\n ],\r\n \"cors\": [],\r\n \"capabilities\": [\r\n {\r\n \"name\": \"EnableMongo\"\r\n },\r\n {\r\n \"name\": \"DisableRateLimitingResponses\"\r\n }\r\n ],\r\n \"ipRules\": [],\r\n \"backupPolicy\": {\r\n \"type\": \"Periodic\",\r\n \"periodicModeProperties\": {\r\n \"backupIntervalInMinutes\": 240,\r\n \"backupRetentionIntervalInHours\": 8,\r\n \"backupStorageRedundancy\": \"Geo\"\r\n }\r\n },\r\n \"networkAclBypassResourceIds\": []\r\n },\r\n \"identity\": {\r\n \"type\": \"None\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/resourceGroups/mekaushi-test-mongo/providers/Microsoft.DocumentDB/databaseAccounts/actualmongoqwert36singlelocation\",\r\n \"name\": \"actualmongoqwert36singlelocation\",\r\n \"location\": \"France Central\",\r\n \"type\": \"Microsoft.DocumentDB/databaseAccounts\",\r\n \"kind\": \"MongoDB\",\r\n \"tags\": {},\r\n \"systemData\": {\r\n \"createdAt\": \"2020-11-17T01:42:42.6939712Z\"\r\n },\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"documentEndpoint\": \"https://actualmongoqwert36singlelocation.documents.azure.com:443/\",\r\n \"mongoEndpoint\": \"https://actualmongoqwert36singlelocation.mongo.cosmos.azure.com:443/\",\r\n \"publicNetworkAccess\": \"Enabled\",\r\n \"enableAutomaticFailover\": false,\r\n \"enableMultipleWriteLocations\": false,\r\n \"enablePartitionKeyMonitor\": false,\r\n \"isVirtualNetworkFilterEnabled\": false,\r\n \"virtualNetworkRules\": [],\r\n \"EnabledApiTypes\": \"MongoDB\",\r\n \"disableKeyBasedMetadataWriteAccess\": false,\r\n \"enableFreeTier\": false,\r\n \"enableAnalyticalStorage\": false,\r\n \"instanceId\": \"1d7750a0-7edf-4939-b486-370d049c1e5b\",\r\n \"createMode\": \"Default\",\r\n \"databaseAccountOfferType\": \"Standard\",\r\n \"defaultIdentity\": \"\",\r\n \"networkAclBypass\": \"None\",\r\n \"consistencyPolicy\": {\r\n \"defaultConsistencyLevel\": \"Session\",\r\n \"maxIntervalInSeconds\": 5,\r\n \"maxStalenessPrefix\": 100\r\n },\r\n \"apiProperties\": {\r\n \"serverVersion\": \"3.6\"\r\n },\r\n \"configurationOverrides\": {\r\n \"EnableBsonSchema\": \"True\"\r\n },\r\n \"writeLocations\": [\r\n {\r\n \"id\": \"actualmongoqwert36singlelocation-francecentral\",\r\n \"locationName\": \"France Central\",\r\n \"documentEndpoint\": \"https://actualmongoqwert36singlelocation-francecentral.documents.azure.com:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"readLocations\": [\r\n {\r\n \"id\": \"actualmongoqwert36singlelocation-francecentral\",\r\n \"locationName\": \"France Central\",\r\n \"documentEndpoint\": \"https://actualmongoqwert36singlelocation-francecentral.documents.azure.com:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"locations\": [\r\n {\r\n \"id\": \"actualmongoqwert36singlelocation-francecentral\",\r\n \"locationName\": \"France Central\",\r\n \"documentEndpoint\": \"https://actualmongoqwert36singlelocation-francecentral.documents.azure.com:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"failoverPolicies\": [\r\n {\r\n \"id\": \"actualmongoqwert36singlelocation-francecentral\",\r\n \"locationName\": \"France Central\",\r\n \"failoverPriority\": 0\r\n }\r\n ],\r\n \"cors\": [],\r\n \"capabilities\": [\r\n {\r\n \"name\": \"EnableMongo\"\r\n }\r\n ],\r\n \"ipRules\": [],\r\n \"backupPolicy\": {\r\n \"type\": \"Periodic\",\r\n \"periodicModeProperties\": {\r\n \"backupIntervalInMinutes\": 240,\r\n \"backupRetentionIntervalInHours\": 8,\r\n \"backupStorageRedundancy\": \"Geo\"\r\n }\r\n },\r\n \"networkAclBypassResourceIds\": []\r\n },\r\n \"identity\": {\r\n \"type\": \"None\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/resourceGroups/ratnakv/providers/Microsoft.DocumentDB/databaseAccounts/ratna-test\",\r\n \"name\": \"ratna-test\",\r\n \"location\": \"France Central\",\r\n \"type\": \"Microsoft.DocumentDB/databaseAccounts\",\r\n \"kind\": \"MongoDB\",\r\n \"tags\": {\r\n \"defaultExperience\": \"Azure Cosmos DB for MongoDB API\"\r\n },\r\n \"systemData\": {\r\n \"createdAt\": \"2019-05-31T23:05:44.5987225Z\"\r\n },\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"documentEndpoint\": \"https://ratna-test.documents.azure.com:443/\",\r\n \"publicNetworkAccess\": \"Enabled\",\r\n \"enableAutomaticFailover\": false,\r\n \"enableMultipleWriteLocations\": false,\r\n \"enablePartitionKeyMonitor\": false,\r\n \"isVirtualNetworkFilterEnabled\": false,\r\n \"virtualNetworkRules\": [],\r\n \"EnabledApiTypes\": \"MongoDB\",\r\n \"disableKeyBasedMetadataWriteAccess\": false,\r\n \"enableFreeTier\": false,\r\n \"enableAnalyticalStorage\": false,\r\n \"instanceId\": \"dea07b6f-1d64-4485-939b-4f04b34e8769\",\r\n \"createMode\": \"Default\",\r\n \"databaseAccountOfferType\": \"Standard\",\r\n \"defaultIdentity\": \"\",\r\n \"networkAclBypass\": \"None\",\r\n \"consistencyPolicy\": {\r\n \"defaultConsistencyLevel\": \"Session\",\r\n \"maxIntervalInSeconds\": 5,\r\n \"maxStalenessPrefix\": 100\r\n },\r\n \"apiProperties\": {\r\n \"serverVersion\": \"3.2\"\r\n },\r\n \"configurationOverrides\": {\r\n \"EnableBsonSchema\": \"True\"\r\n },\r\n \"writeLocations\": [\r\n {\r\n \"id\": \"ratna-test-francecentral\",\r\n \"locationName\": \"France Central\",\r\n \"documentEndpoint\": \"https://ratna-test-francecentral.documents.azure.com:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"readLocations\": [\r\n {\r\n \"id\": \"ratna-test-francecentral\",\r\n \"locationName\": \"France Central\",\r\n \"documentEndpoint\": \"https://ratna-test-francecentral.documents.azure.com:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"locations\": [\r\n {\r\n \"id\": \"ratna-test-francecentral\",\r\n \"locationName\": \"France Central\",\r\n \"documentEndpoint\": \"https://ratna-test-francecentral.documents.azure.com:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"failoverPolicies\": [\r\n {\r\n \"id\": \"ratna-test-francecentral\",\r\n \"locationName\": \"France Central\",\r\n \"failoverPriority\": 0\r\n }\r\n ],\r\n \"cors\": [],\r\n \"capabilities\": [\r\n {\r\n \"name\": \"EnableAggregationPipeline\"\r\n },\r\n {\r\n \"name\": \"AllowSelfServeUpgradeToMongo36\"\r\n }\r\n ],\r\n \"ipRules\": [],\r\n \"backupPolicy\": {\r\n \"type\": \"Periodic\",\r\n \"periodicModeProperties\": {\r\n \"backupIntervalInMinutes\": 240,\r\n \"backupRetentionIntervalInHours\": 8,\r\n \"backupStorageRedundancy\": \"Geo\"\r\n }\r\n },\r\n \"networkAclBypassResourceIds\": []\r\n },\r\n \"identity\": {\r\n \"type\": \"None\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/resourceGroups/ashtest/providers/Microsoft.DocumentDB/databaseAccounts/ash-sql123\",\r\n \"name\": \"ash-sql123\",\r\n \"location\": \"Australia Central\",\r\n \"type\": \"Microsoft.DocumentDB/databaseAccounts\",\r\n \"kind\": \"GlobalDocumentDB\",\r\n \"tags\": {\r\n \"defaultExperience\": \"Core (SQL)\"\r\n },\r\n \"systemData\": {\r\n \"createdAt\": \"2019-11-15T00:15:57.3414948Z\"\r\n },\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"documentEndpoint\": \"https://ash-sql123.documents.azure.com:443/\",\r\n \"publicNetworkAccess\": \"Enabled\",\r\n \"enableAutomaticFailover\": false,\r\n \"enableMultipleWriteLocations\": true,\r\n \"enablePartitionKeyMonitor\": false,\r\n \"isVirtualNetworkFilterEnabled\": false,\r\n \"virtualNetworkRules\": [],\r\n \"EnabledApiTypes\": \"Sql\",\r\n \"disableKeyBasedMetadataWriteAccess\": false,\r\n \"enableFreeTier\": false,\r\n \"enableAnalyticalStorage\": false,\r\n \"instanceId\": \"69a22da2-80fc-4341-9690-9218800628c2\",\r\n \"createMode\": \"Default\",\r\n \"databaseAccountOfferType\": \"Standard\",\r\n \"defaultIdentity\": \"\",\r\n \"networkAclBypass\": \"None\",\r\n \"consistencyPolicy\": {\r\n \"defaultConsistencyLevel\": \"Session\",\r\n \"maxIntervalInSeconds\": 5,\r\n \"maxStalenessPrefix\": 100\r\n },\r\n \"configurationOverrides\": {},\r\n \"writeLocations\": [\r\n {\r\n \"id\": \"ash-sql123-australiacentral\",\r\n \"locationName\": \"Australia Central\",\r\n \"documentEndpoint\": \"https://ash-sql123-australiacentral.documents.azure.com:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n },\r\n {\r\n \"id\": \"ash-sql123-southeastasia\",\r\n \"locationName\": \"Southeast Asia\",\r\n \"documentEndpoint\": \"https://ash-sql123-southeastasia.documents.azure.com:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 1,\r\n \"isZoneRedundant\": false\r\n },\r\n {\r\n \"id\": \"ash-sql123-eastasia\",\r\n \"locationName\": \"East Asia\",\r\n \"documentEndpoint\": \"https://ash-sql123-eastasia.documents.azure.com:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 2,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"readLocations\": [\r\n {\r\n \"id\": \"ash-sql123-australiacentral\",\r\n \"locationName\": \"Australia Central\",\r\n \"documentEndpoint\": \"https://ash-sql123-australiacentral.documents.azure.com:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n },\r\n {\r\n \"id\": \"ash-sql123-southeastasia\",\r\n \"locationName\": \"Southeast Asia\",\r\n \"documentEndpoint\": \"https://ash-sql123-southeastasia.documents.azure.com:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 1,\r\n \"isZoneRedundant\": false\r\n },\r\n {\r\n \"id\": \"ash-sql123-eastasia\",\r\n \"locationName\": \"East Asia\",\r\n \"documentEndpoint\": \"https://ash-sql123-eastasia.documents.azure.com:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 2,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"locations\": [\r\n {\r\n \"id\": \"ash-sql123-australiacentral\",\r\n \"locationName\": \"Australia Central\",\r\n \"documentEndpoint\": \"https://ash-sql123-australiacentral.documents.azure.com:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n },\r\n {\r\n \"id\": \"ash-sql123-southeastasia\",\r\n \"locationName\": \"Southeast Asia\",\r\n \"documentEndpoint\": \"https://ash-sql123-southeastasia.documents.azure.com:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 1,\r\n \"isZoneRedundant\": false\r\n },\r\n {\r\n \"id\": \"ash-sql123-eastasia\",\r\n \"locationName\": \"East Asia\",\r\n \"documentEndpoint\": \"https://ash-sql123-eastasia.documents.azure.com:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 2,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"failoverPolicies\": [\r\n {\r\n \"id\": \"ash-sql123-australiacentral\",\r\n \"locationName\": \"Australia Central\",\r\n \"failoverPriority\": 0\r\n },\r\n {\r\n \"id\": \"ash-sql123-southeastasia\",\r\n \"locationName\": \"Southeast Asia\",\r\n \"failoverPriority\": 1\r\n },\r\n {\r\n \"id\": \"ash-sql123-eastasia\",\r\n \"locationName\": \"East Asia\",\r\n \"failoverPriority\": 2\r\n }\r\n ],\r\n \"cors\": [],\r\n \"capabilities\": [],\r\n \"ipRules\": [],\r\n \"backupPolicy\": {\r\n \"type\": \"Periodic\",\r\n \"periodicModeProperties\": {\r\n \"backupIntervalInMinutes\": 240,\r\n \"backupRetentionIntervalInHours\": 10,\r\n \"backupStorageRedundancy\": \"Geo\"\r\n }\r\n },\r\n \"networkAclBypassResourceIds\": []\r\n },\r\n \"identity\": {\r\n \"type\": \"None\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/resourceGroups/abinav_stage_rg/providers/Microsoft.DocumentDB/databaseAccounts/testdupdel\",\r\n \"name\": \"testdupdel\",\r\n \"location\": \"Australia Central\",\r\n \"type\": \"Microsoft.DocumentDB/databaseAccounts\",\r\n \"kind\": \"GlobalDocumentDB\",\r\n \"tags\": {\r\n \"defaultExperience\": \"Core (SQL)\"\r\n },\r\n \"systemData\": {\r\n \"createdAt\": \"2019-10-24T18:04:52.1779802Z\"\r\n },\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"documentEndpoint\": \"https://testdupdel.documents.azure.com:443/\",\r\n \"publicNetworkAccess\": \"Enabled\",\r\n \"enableAutomaticFailover\": false,\r\n \"enableMultipleWriteLocations\": false,\r\n \"enablePartitionKeyMonitor\": false,\r\n \"isVirtualNetworkFilterEnabled\": false,\r\n \"virtualNetworkRules\": [],\r\n \"EnabledApiTypes\": \"Sql\",\r\n \"disableKeyBasedMetadataWriteAccess\": false,\r\n \"enableFreeTier\": false,\r\n \"enableAnalyticalStorage\": false,\r\n \"instanceId\": \"a6124ad6-c6d8-4082-b0a7-f422eef7bf22\",\r\n \"createMode\": \"Default\",\r\n \"databaseAccountOfferType\": \"Standard\",\r\n \"defaultIdentity\": \"\",\r\n \"networkAclBypass\": \"None\",\r\n \"consistencyPolicy\": {\r\n \"defaultConsistencyLevel\": \"Session\",\r\n \"maxIntervalInSeconds\": 5,\r\n \"maxStalenessPrefix\": 100\r\n },\r\n \"configurationOverrides\": {},\r\n \"writeLocations\": [\r\n {\r\n \"id\": \"testdupdel-australiacentral\",\r\n \"locationName\": \"Australia Central\",\r\n \"documentEndpoint\": \"https://testdupdel-australiacentral.documents.azure.com:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"readLocations\": [\r\n {\r\n \"id\": \"testdupdel-australiacentral\",\r\n \"locationName\": \"Australia Central\",\r\n \"documentEndpoint\": \"https://testdupdel-australiacentral.documents.azure.com:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"locations\": [\r\n {\r\n \"id\": \"testdupdel-australiacentral\",\r\n \"locationName\": \"Australia Central\",\r\n \"documentEndpoint\": \"https://testdupdel-australiacentral.documents.azure.com:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"failoverPolicies\": [\r\n {\r\n \"id\": \"testdupdel-australiacentral\",\r\n \"locationName\": \"Australia Central\",\r\n \"failoverPriority\": 0\r\n }\r\n ],\r\n \"cors\": [],\r\n \"capabilities\": [],\r\n \"ipRules\": [],\r\n \"backupPolicy\": {\r\n \"type\": \"Periodic\",\r\n \"periodicModeProperties\": {\r\n \"backupIntervalInMinutes\": 240,\r\n \"backupRetentionIntervalInHours\": 8,\r\n \"backupStorageRedundancy\": \"Geo\"\r\n }\r\n },\r\n \"networkAclBypassResourceIds\": []\r\n },\r\n \"identity\": {\r\n \"type\": \"None\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/resourceGroups/mekaushi-test-mongo/providers/Microsoft.DocumentDB/databaseAccounts/actualmongoqwert2\",\r\n \"name\": \"actualmongoqwert2\",\r\n \"location\": \"Australia Central\",\r\n \"type\": \"Microsoft.DocumentDB/databaseAccounts\",\r\n \"kind\": \"MongoDB\",\r\n \"tags\": {},\r\n \"systemData\": {\r\n \"createdAt\": \"2020-11-17T01:45:36.1697892Z\"\r\n },\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"documentEndpoint\": \"https://actualmongoqwert2.documents.azure.com:443/\",\r\n \"publicNetworkAccess\": \"Enabled\",\r\n \"enableAutomaticFailover\": false,\r\n \"enableMultipleWriteLocations\": false,\r\n \"enablePartitionKeyMonitor\": false,\r\n \"isVirtualNetworkFilterEnabled\": false,\r\n \"virtualNetworkRules\": [],\r\n \"EnabledApiTypes\": \"MongoDB\",\r\n \"disableKeyBasedMetadataWriteAccess\": false,\r\n \"enableFreeTier\": false,\r\n \"enableAnalyticalStorage\": false,\r\n \"instanceId\": \"9ee6cd48-1f3a-48a1-99df-b952f975f176\",\r\n \"createMode\": \"Default\",\r\n \"databaseAccountOfferType\": \"Standard\",\r\n \"defaultIdentity\": \"\",\r\n \"networkAclBypass\": \"None\",\r\n \"consistencyPolicy\": {\r\n \"defaultConsistencyLevel\": \"Session\",\r\n \"maxIntervalInSeconds\": 5,\r\n \"maxStalenessPrefix\": 100\r\n },\r\n \"apiProperties\": {\r\n \"serverVersion\": \"3.2\"\r\n },\r\n \"configurationOverrides\": {\r\n \"EnableBsonSchema\": \"True\"\r\n },\r\n \"writeLocations\": [\r\n {\r\n \"id\": \"actualmongoqwert2-australiacentral\",\r\n \"locationName\": \"Australia Central\",\r\n \"documentEndpoint\": \"https://actualmongoqwert2-australiacentral.documents.azure.com:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"readLocations\": [\r\n {\r\n \"id\": \"actualmongoqwert2-australiacentral\",\r\n \"locationName\": \"Australia Central\",\r\n \"documentEndpoint\": \"https://actualmongoqwert2-australiacentral.documents.azure.com:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n },\r\n {\r\n \"id\": \"actualmongoqwert2-francecentral\",\r\n \"locationName\": \"France Central\",\r\n \"documentEndpoint\": \"https://actualmongoqwert2-francecentral.documents.azure.com:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 1,\r\n \"isZoneRedundant\": false\r\n },\r\n {\r\n \"id\": \"actualmongoqwert2-eastus\",\r\n \"locationName\": \"East US\",\r\n \"documentEndpoint\": \"https://actualmongoqwert2-eastus.documents.azure.com:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 2,\r\n \"isZoneRedundant\": false\r\n },\r\n {\r\n \"id\": \"actualmongoqwert2-germanywestcentral\",\r\n \"locationName\": \"Germany West Central\",\r\n \"documentEndpoint\": \"https://actualmongoqwert2-germanywestcentral.documents.azure.com:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 3,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"locations\": [\r\n {\r\n \"id\": \"actualmongoqwert2-australiacentral\",\r\n \"locationName\": \"Australia Central\",\r\n \"documentEndpoint\": \"https://actualmongoqwert2-australiacentral.documents.azure.com:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n },\r\n {\r\n \"id\": \"actualmongoqwert2-francecentral\",\r\n \"locationName\": \"France Central\",\r\n \"documentEndpoint\": \"https://actualmongoqwert2-francecentral.documents.azure.com:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 1,\r\n \"isZoneRedundant\": false\r\n },\r\n {\r\n \"id\": \"actualmongoqwert2-eastus\",\r\n \"locationName\": \"East US\",\r\n \"documentEndpoint\": \"https://actualmongoqwert2-eastus.documents.azure.com:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 2,\r\n \"isZoneRedundant\": false\r\n },\r\n {\r\n \"id\": \"actualmongoqwert2-germanywestcentral\",\r\n \"locationName\": \"Germany West Central\",\r\n \"documentEndpoint\": \"https://actualmongoqwert2-germanywestcentral.documents.azure.com:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 3,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"failoverPolicies\": [\r\n {\r\n \"id\": \"actualmongoqwert2-australiacentral\",\r\n \"locationName\": \"Australia Central\",\r\n \"failoverPriority\": 0\r\n },\r\n {\r\n \"id\": \"actualmongoqwert2-francecentral\",\r\n \"locationName\": \"France Central\",\r\n \"failoverPriority\": 1\r\n },\r\n {\r\n \"id\": \"actualmongoqwert2-eastus\",\r\n \"locationName\": \"East US\",\r\n \"failoverPriority\": 2\r\n },\r\n {\r\n \"id\": \"actualmongoqwert2-germanywestcentral\",\r\n \"locationName\": \"Germany West Central\",\r\n \"failoverPriority\": 3\r\n }\r\n ],\r\n \"cors\": [],\r\n \"capabilities\": [],\r\n \"ipRules\": [],\r\n \"backupPolicy\": {\r\n \"type\": \"Periodic\",\r\n \"periodicModeProperties\": {\r\n \"backupIntervalInMinutes\": 240,\r\n \"backupRetentionIntervalInHours\": 8,\r\n \"backupStorageRedundancy\": \"Geo\"\r\n }\r\n },\r\n \"networkAclBypassResourceIds\": []\r\n },\r\n \"identity\": {\r\n \"type\": \"None\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/resourceGroups/mekaushi-test-mongo/providers/Microsoft.DocumentDB/databaseAccounts/actualmongoqwert36\",\r\n \"name\": \"actualmongoqwert36\",\r\n \"location\": \"Australia Central\",\r\n \"type\": \"Microsoft.DocumentDB/databaseAccounts\",\r\n \"kind\": \"MongoDB\",\r\n \"tags\": {},\r\n \"systemData\": {\r\n \"createdAt\": \"2020-11-17T01:45:20.280228Z\"\r\n },\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"documentEndpoint\": \"https://actualmongoqwert36.documents.azure.com:443/\",\r\n \"mongoEndpoint\": \"https://actualmongoqwert36.mongo.cosmos.azure.com:443/\",\r\n \"publicNetworkAccess\": \"Enabled\",\r\n \"enableAutomaticFailover\": false,\r\n \"enableMultipleWriteLocations\": false,\r\n \"enablePartitionKeyMonitor\": false,\r\n \"isVirtualNetworkFilterEnabled\": false,\r\n \"virtualNetworkRules\": [],\r\n \"EnabledApiTypes\": \"MongoDB\",\r\n \"disableKeyBasedMetadataWriteAccess\": false,\r\n \"enableFreeTier\": false,\r\n \"enableAnalyticalStorage\": false,\r\n \"instanceId\": \"22ceddea-71b4-4a5e-beb2-5ab8231205fc\",\r\n \"createMode\": \"Default\",\r\n \"databaseAccountOfferType\": \"Standard\",\r\n \"defaultIdentity\": \"\",\r\n \"networkAclBypass\": \"None\",\r\n \"consistencyPolicy\": {\r\n \"defaultConsistencyLevel\": \"Session\",\r\n \"maxIntervalInSeconds\": 5,\r\n \"maxStalenessPrefix\": 100\r\n },\r\n \"apiProperties\": {\r\n \"serverVersion\": \"3.6\"\r\n },\r\n \"configurationOverrides\": {\r\n \"EnableBsonSchema\": \"True\"\r\n },\r\n \"writeLocations\": [\r\n {\r\n \"id\": \"actualmongoqwert36-australiacentral\",\r\n \"locationName\": \"Australia Central\",\r\n \"documentEndpoint\": \"https://actualmongoqwert36-australiacentral.documents.azure.com:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"readLocations\": [\r\n {\r\n \"id\": \"actualmongoqwert36-australiacentral\",\r\n \"locationName\": \"Australia Central\",\r\n \"documentEndpoint\": \"https://actualmongoqwert36-australiacentral.documents.azure.com:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n },\r\n {\r\n \"id\": \"actualmongoqwert36-francecentral\",\r\n \"locationName\": \"France Central\",\r\n \"documentEndpoint\": \"https://actualmongoqwert36-francecentral.documents.azure.com:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 1,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"locations\": [\r\n {\r\n \"id\": \"actualmongoqwert36-australiacentral\",\r\n \"locationName\": \"Australia Central\",\r\n \"documentEndpoint\": \"https://actualmongoqwert36-australiacentral.documents.azure.com:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n },\r\n {\r\n \"id\": \"actualmongoqwert36-francecentral\",\r\n \"locationName\": \"France Central\",\r\n \"documentEndpoint\": \"https://actualmongoqwert36-francecentral.documents.azure.com:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 1,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"failoverPolicies\": [\r\n {\r\n \"id\": \"actualmongoqwert36-australiacentral\",\r\n \"locationName\": \"Australia Central\",\r\n \"failoverPriority\": 0\r\n },\r\n {\r\n \"id\": \"actualmongoqwert36-francecentral\",\r\n \"locationName\": \"France Central\",\r\n \"failoverPriority\": 1\r\n }\r\n ],\r\n \"cors\": [],\r\n \"capabilities\": [\r\n {\r\n \"name\": \"EnableMongo\"\r\n }\r\n ],\r\n \"ipRules\": [],\r\n \"backupPolicy\": {\r\n \"type\": \"Periodic\",\r\n \"periodicModeProperties\": {\r\n \"backupIntervalInMinutes\": 240,\r\n \"backupRetentionIntervalInHours\": 8,\r\n \"backupStorageRedundancy\": \"Geo\"\r\n }\r\n },\r\n \"networkAclBypassResourceIds\": []\r\n },\r\n \"identity\": {\r\n \"type\": \"None\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/resourceGroups/abinav_stage_rg/providers/Microsoft.DocumentDB/databaseAccounts/asdfasdfasdfasdf123456788921\",\r\n \"name\": \"asdfasdfasdfasdf123456788921\",\r\n \"location\": \"Australia Central\",\r\n \"type\": \"Microsoft.DocumentDB/databaseAccounts\",\r\n \"kind\": \"GlobalDocumentDB\",\r\n \"tags\": {\r\n \"defaultExperience\": \"Core (SQL)\"\r\n },\r\n \"systemData\": {\r\n \"createdAt\": \"2019-11-12T23:23:02.7912894Z\"\r\n },\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"documentEndpoint\": \"https://asdfasdfasdfasdf123456788921.documents.azure.com:443/\",\r\n \"publicNetworkAccess\": \"Enabled\",\r\n \"enableAutomaticFailover\": false,\r\n \"enableMultipleWriteLocations\": false,\r\n \"enablePartitionKeyMonitor\": false,\r\n \"isVirtualNetworkFilterEnabled\": false,\r\n \"virtualNetworkRules\": [],\r\n \"EnabledApiTypes\": \"Sql\",\r\n \"disableKeyBasedMetadataWriteAccess\": false,\r\n \"enableFreeTier\": false,\r\n \"enableAnalyticalStorage\": false,\r\n \"instanceId\": \"34d91df2-6e99-4100-bdc0-1540e6a4ed0a\",\r\n \"createMode\": \"Default\",\r\n \"databaseAccountOfferType\": \"Standard\",\r\n \"defaultIdentity\": \"\",\r\n \"networkAclBypass\": \"None\",\r\n \"consistencyPolicy\": {\r\n \"defaultConsistencyLevel\": \"Session\",\r\n \"maxIntervalInSeconds\": 5,\r\n \"maxStalenessPrefix\": 100\r\n },\r\n \"configurationOverrides\": {},\r\n \"writeLocations\": [\r\n {\r\n \"id\": \"asdfasdfasdfasdf123456788921-australiacentral\",\r\n \"locationName\": \"Australia Central\",\r\n \"documentEndpoint\": \"https://asdfasdfasdfasdf123456788921-australiacentral.documents.azure.com:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"readLocations\": [\r\n {\r\n \"id\": \"asdfasdfasdfasdf123456788921-australiacentral\",\r\n \"locationName\": \"Australia Central\",\r\n \"documentEndpoint\": \"https://asdfasdfasdfasdf123456788921-australiacentral.documents.azure.com:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"locations\": [\r\n {\r\n \"id\": \"asdfasdfasdfasdf123456788921-australiacentral\",\r\n \"locationName\": \"Australia Central\",\r\n \"documentEndpoint\": \"https://asdfasdfasdfasdf123456788921-australiacentral.documents.azure.com:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"failoverPolicies\": [\r\n {\r\n \"id\": \"asdfasdfasdfasdf123456788921-australiacentral\",\r\n \"locationName\": \"Australia Central\",\r\n \"failoverPriority\": 0\r\n }\r\n ],\r\n \"cors\": [],\r\n \"capabilities\": [],\r\n \"ipRules\": [],\r\n \"backupPolicy\": {\r\n \"type\": \"Periodic\",\r\n \"periodicModeProperties\": {\r\n \"backupIntervalInMinutes\": 240,\r\n \"backupRetentionIntervalInHours\": 8,\r\n \"backupStorageRedundancy\": \"Geo\"\r\n }\r\n },\r\n \"networkAclBypassResourceIds\": []\r\n },\r\n \"identity\": {\r\n \"type\": \"None\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/resourceGroups/ash/providers/Microsoft.DocumentDB/databaseAccounts/ash-sqltest1\",\r\n \"name\": \"ash-sqltest1\",\r\n \"location\": \"Australia Central\",\r\n \"type\": \"Microsoft.DocumentDB/databaseAccounts\",\r\n \"kind\": \"GlobalDocumentDB\",\r\n \"tags\": {\r\n \"defaultExperience\": \"Core (SQL)\"\r\n },\r\n \"systemData\": {\r\n \"createdAt\": \"2019-09-25T19:31:26.5143301Z\"\r\n },\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"documentEndpoint\": \"https://ash-sqltest1.documents.azure.com:443/\",\r\n \"publicNetworkAccess\": \"Enabled\",\r\n \"enableAutomaticFailover\": false,\r\n \"enableMultipleWriteLocations\": false,\r\n \"enablePartitionKeyMonitor\": false,\r\n \"isVirtualNetworkFilterEnabled\": false,\r\n \"virtualNetworkRules\": [],\r\n \"EnabledApiTypes\": \"Sql\",\r\n \"disableKeyBasedMetadataWriteAccess\": false,\r\n \"enableFreeTier\": false,\r\n \"enableAnalyticalStorage\": false,\r\n \"instanceId\": \"c96a51f5-e646-469a-bccf-ca0834269ada\",\r\n \"createMode\": \"Default\",\r\n \"databaseAccountOfferType\": \"Standard\",\r\n \"defaultIdentity\": \"\",\r\n \"networkAclBypass\": \"None\",\r\n \"consistencyPolicy\": {\r\n \"defaultConsistencyLevel\": \"Session\",\r\n \"maxIntervalInSeconds\": 5,\r\n \"maxStalenessPrefix\": 100\r\n },\r\n \"configurationOverrides\": {},\r\n \"writeLocations\": [\r\n {\r\n \"id\": \"ash-sqltest1-australiacentral\",\r\n \"locationName\": \"Australia Central\",\r\n \"documentEndpoint\": \"https://ash-sqltest1-australiacentral.documents.azure.com:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"readLocations\": [\r\n {\r\n \"id\": \"ash-sqltest1-australiacentral\",\r\n \"locationName\": \"Australia Central\",\r\n \"documentEndpoint\": \"https://ash-sqltest1-australiacentral.documents.azure.com:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"locations\": [\r\n {\r\n \"id\": \"ash-sqltest1-australiacentral\",\r\n \"locationName\": \"Australia Central\",\r\n \"documentEndpoint\": \"https://ash-sqltest1-australiacentral.documents.azure.com:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"failoverPolicies\": [\r\n {\r\n \"id\": \"ash-sqltest1-australiacentral\",\r\n \"locationName\": \"Australia Central\",\r\n \"failoverPriority\": 0\r\n }\r\n ],\r\n \"cors\": [],\r\n \"capabilities\": [],\r\n \"ipRules\": [],\r\n \"backupPolicy\": {\r\n \"type\": \"Periodic\",\r\n \"periodicModeProperties\": {\r\n \"backupIntervalInMinutes\": 240,\r\n \"backupRetentionIntervalInHours\": 8,\r\n \"backupStorageRedundancy\": \"Geo\"\r\n }\r\n },\r\n \"networkAclBypassResourceIds\": []\r\n },\r\n \"identity\": {\r\n \"type\": \"None\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/resourceGroups/Devansh-Test_env/providers/Microsoft.DocumentDB/databaseAccounts/defrag-testing\",\r\n \"name\": \"defrag-testing\",\r\n \"location\": \"Australia Central\",\r\n \"type\": \"Microsoft.DocumentDB/databaseAccounts\",\r\n \"kind\": \"GlobalDocumentDB\",\r\n \"tags\": {\r\n \"defaultExperience\": \"Core (SQL)\"\r\n },\r\n \"systemData\": {\r\n \"createdAt\": \"2019-10-01T03:28:01.8404106Z\"\r\n },\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"documentEndpoint\": \"https://defrag-testing.documents.azure.com:443/\",\r\n \"publicNetworkAccess\": \"Enabled\",\r\n \"enableAutomaticFailover\": false,\r\n \"enableMultipleWriteLocations\": true,\r\n \"enablePartitionKeyMonitor\": false,\r\n \"isVirtualNetworkFilterEnabled\": false,\r\n \"virtualNetworkRules\": [],\r\n \"EnabledApiTypes\": \"Sql\",\r\n \"disableKeyBasedMetadataWriteAccess\": false,\r\n \"enableFreeTier\": false,\r\n \"enableAnalyticalStorage\": false,\r\n \"instanceId\": \"68cff86c-b880-4d09-8211-4a6e4b38a9a0\",\r\n \"createMode\": \"Default\",\r\n \"databaseAccountOfferType\": \"Standard\",\r\n \"defaultIdentity\": \"\",\r\n \"networkAclBypass\": \"None\",\r\n \"consistencyPolicy\": {\r\n \"defaultConsistencyLevel\": \"Session\",\r\n \"maxIntervalInSeconds\": 5,\r\n \"maxStalenessPrefix\": 100\r\n },\r\n \"configurationOverrides\": {},\r\n \"writeLocations\": [\r\n {\r\n \"id\": \"defrag-testing-australiacentral\",\r\n \"locationName\": \"Australia Central\",\r\n \"documentEndpoint\": \"https://defrag-testing-australiacentral.documents.azure.com:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n },\r\n {\r\n \"id\": \"defrag-testing-australiacentral2\",\r\n \"locationName\": \"Australia Central 2\",\r\n \"documentEndpoint\": \"https://defrag-testing-australiacentral2.documents.azure.com:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 1,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"readLocations\": [\r\n {\r\n \"id\": \"defrag-testing-australiacentral\",\r\n \"locationName\": \"Australia Central\",\r\n \"documentEndpoint\": \"https://defrag-testing-australiacentral.documents.azure.com:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n },\r\n {\r\n \"id\": \"defrag-testing-australiacentral2\",\r\n \"locationName\": \"Australia Central 2\",\r\n \"documentEndpoint\": \"https://defrag-testing-australiacentral2.documents.azure.com:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 1,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"locations\": [\r\n {\r\n \"id\": \"defrag-testing-australiacentral\",\r\n \"locationName\": \"Australia Central\",\r\n \"documentEndpoint\": \"https://defrag-testing-australiacentral.documents.azure.com:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n },\r\n {\r\n \"id\": \"defrag-testing-australiacentral2\",\r\n \"locationName\": \"Australia Central 2\",\r\n \"documentEndpoint\": \"https://defrag-testing-australiacentral2.documents.azure.com:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 1,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"failoverPolicies\": [\r\n {\r\n \"id\": \"defrag-testing-australiacentral\",\r\n \"locationName\": \"Australia Central\",\r\n \"failoverPriority\": 0\r\n },\r\n {\r\n \"id\": \"defrag-testing-australiacentral2\",\r\n \"locationName\": \"Australia Central 2\",\r\n \"failoverPriority\": 1\r\n }\r\n ],\r\n \"cors\": [],\r\n \"capabilities\": [\r\n {\r\n \"name\": \"EnableNotebooks\"\r\n }\r\n ],\r\n \"ipRules\": [],\r\n \"backupPolicy\": {\r\n \"type\": \"Periodic\",\r\n \"periodicModeProperties\": {\r\n \"backupIntervalInMinutes\": 240,\r\n \"backupRetentionIntervalInHours\": 8,\r\n \"backupStorageRedundancy\": \"Geo\"\r\n }\r\n },\r\n \"networkAclBypassResourceIds\": []\r\n },\r\n \"identity\": {\r\n \"type\": \"None\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/resourceGroups/mekaushi-test-mongo/providers/Microsoft.DocumentDB/databaseAccounts/mongo-ahc7b66s2t4kc\",\r\n \"name\": \"mongo-ahc7b66s2t4kc\",\r\n \"location\": \"Australia Central\",\r\n \"type\": \"Microsoft.DocumentDB/databaseAccounts\",\r\n \"kind\": \"MongoDB\",\r\n \"tags\": {},\r\n \"systemData\": {\r\n \"createdAt\": \"2020-03-10T18:27:13.1493942Z\"\r\n },\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"documentEndpoint\": \"https://mongo-ahc7b66s2t4kc.documents.azure.com:443/\",\r\n \"publicNetworkAccess\": \"Enabled\",\r\n \"enableAutomaticFailover\": false,\r\n \"enableMultipleWriteLocations\": false,\r\n \"enablePartitionKeyMonitor\": false,\r\n \"isVirtualNetworkFilterEnabled\": false,\r\n \"virtualNetworkRules\": [],\r\n \"EnabledApiTypes\": \"MongoDB\",\r\n \"disableKeyBasedMetadataWriteAccess\": false,\r\n \"enableFreeTier\": false,\r\n \"enableAnalyticalStorage\": false,\r\n \"instanceId\": \"8cac4b70-6901-442c-80bb-4c5b946099fd\",\r\n \"createMode\": \"Default\",\r\n \"databaseAccountOfferType\": \"Standard\",\r\n \"defaultIdentity\": \"\",\r\n \"networkAclBypass\": \"None\",\r\n \"consistencyPolicy\": {\r\n \"defaultConsistencyLevel\": \"Session\",\r\n \"maxIntervalInSeconds\": 5,\r\n \"maxStalenessPrefix\": 100\r\n },\r\n \"apiProperties\": {\r\n \"serverVersion\": \"3.2\"\r\n },\r\n \"configurationOverrides\": {\r\n \"EnableBsonSchema\": \"True\"\r\n },\r\n \"writeLocations\": [\r\n {\r\n \"id\": \"mongo-ahc7b66s2t4kc-australiacentral\",\r\n \"locationName\": \"Australia Central\",\r\n \"documentEndpoint\": \"https://mongo-ahc7b66s2t4kc-australiacentral.documents.azure.com:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"readLocations\": [\r\n {\r\n \"id\": \"mongo-ahc7b66s2t4kc-australiacentral\",\r\n \"locationName\": \"Australia Central\",\r\n \"documentEndpoint\": \"https://mongo-ahc7b66s2t4kc-australiacentral.documents.azure.com:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"locations\": [\r\n {\r\n \"id\": \"mongo-ahc7b66s2t4kc-australiacentral\",\r\n \"locationName\": \"Australia Central\",\r\n \"documentEndpoint\": \"https://mongo-ahc7b66s2t4kc-australiacentral.documents.azure.com:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"failoverPolicies\": [\r\n {\r\n \"id\": \"mongo-ahc7b66s2t4kc-australiacentral\",\r\n \"locationName\": \"Australia Central\",\r\n \"failoverPriority\": 0\r\n }\r\n ],\r\n \"cors\": [],\r\n \"capabilities\": [\r\n {\r\n \"name\": \"AllowSelfServeUpgradeToMongo36\"\r\n },\r\n {\r\n \"name\": \"DisableRateLimitingResponses\"\r\n }\r\n ],\r\n \"ipRules\": [],\r\n \"backupPolicy\": {\r\n \"type\": \"Periodic\",\r\n \"periodicModeProperties\": {\r\n \"backupIntervalInMinutes\": 240,\r\n \"backupRetentionIntervalInHours\": 8,\r\n \"backupStorageRedundancy\": \"Geo\"\r\n }\r\n },\r\n \"networkAclBypassResourceIds\": []\r\n },\r\n \"identity\": {\r\n \"type\": \"None\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/resourceGroups/mekaushi-test-mongo/providers/Microsoft.DocumentDB/databaseAccounts/mongoclient2222\",\r\n \"name\": \"mongoclient2222\",\r\n \"location\": \"Australia Central\",\r\n \"type\": \"Microsoft.DocumentDB/databaseAccounts\",\r\n \"kind\": \"MongoDB\",\r\n \"tags\": {},\r\n \"systemData\": {\r\n \"createdAt\": \"2020-07-23T22:45:44.9511468Z\"\r\n },\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"documentEndpoint\": \"https://mongoclient2222.documents.azure.com:443/\",\r\n \"mongoEndpoint\": \"https://mongoclient2222.mongo.cosmos.azure.com:443/\",\r\n \"publicNetworkAccess\": \"Enabled\",\r\n \"enableAutomaticFailover\": false,\r\n \"enableMultipleWriteLocations\": false,\r\n \"enablePartitionKeyMonitor\": false,\r\n \"isVirtualNetworkFilterEnabled\": false,\r\n \"virtualNetworkRules\": [],\r\n \"EnabledApiTypes\": \"MongoDB\",\r\n \"disableKeyBasedMetadataWriteAccess\": false,\r\n \"enableFreeTier\": false,\r\n \"enableAnalyticalStorage\": false,\r\n \"instanceId\": \"bec6897c-ab77-4059-afa2-83ce4b16f2bd\",\r\n \"createMode\": \"Default\",\r\n \"databaseAccountOfferType\": \"Standard\",\r\n \"defaultIdentity\": \"\",\r\n \"networkAclBypass\": \"None\",\r\n \"consistencyPolicy\": {\r\n \"defaultConsistencyLevel\": \"Session\",\r\n \"maxIntervalInSeconds\": 5,\r\n \"maxStalenessPrefix\": 100\r\n },\r\n \"apiProperties\": {\r\n \"serverVersion\": \"3.6\"\r\n },\r\n \"configurationOverrides\": {\r\n \"EnableBsonSchema\": \"True\"\r\n },\r\n \"writeLocations\": [\r\n {\r\n \"id\": \"mongoclient2222-australiacentral\",\r\n \"locationName\": \"Australia Central\",\r\n \"documentEndpoint\": \"https://mongoclient2222-australiacentral.documents.azure.com:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"readLocations\": [\r\n {\r\n \"id\": \"mongoclient2222-australiacentral\",\r\n \"locationName\": \"Australia Central\",\r\n \"documentEndpoint\": \"https://mongoclient2222-australiacentral.documents.azure.com:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"locations\": [\r\n {\r\n \"id\": \"mongoclient2222-australiacentral\",\r\n \"locationName\": \"Australia Central\",\r\n \"documentEndpoint\": \"https://mongoclient2222-australiacentral.documents.azure.com:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"failoverPolicies\": [\r\n {\r\n \"id\": \"mongoclient2222-australiacentral\",\r\n \"locationName\": \"Australia Central\",\r\n \"failoverPriority\": 0\r\n }\r\n ],\r\n \"cors\": [],\r\n \"capabilities\": [\r\n {\r\n \"name\": \"EnableMongo\"\r\n }\r\n ],\r\n \"ipRules\": [],\r\n \"backupPolicy\": {\r\n \"type\": \"Periodic\",\r\n \"periodicModeProperties\": {\r\n \"backupIntervalInMinutes\": 240,\r\n \"backupRetentionIntervalInHours\": 8,\r\n \"backupStorageRedundancy\": \"Geo\"\r\n }\r\n },\r\n \"networkAclBypassResourceIds\": []\r\n },\r\n \"identity\": {\r\n \"type\": \"None\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/resourceGroups/mekaushi-test-mongo/providers/Microsoft.DocumentDB/databaseAccounts/mongodb-ahc7b66s2t4kc\",\r\n \"name\": \"mongodb-ahc7b66s2t4kc\",\r\n \"location\": \"Australia Central\",\r\n \"type\": \"Microsoft.DocumentDB/databaseAccounts\",\r\n \"kind\": \"MongoDB\",\r\n \"tags\": {},\r\n \"systemData\": {\r\n \"createdAt\": \"2020-03-10T00:11:44.1130123Z\"\r\n },\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"documentEndpoint\": \"https://mongodb-ahc7b66s2t4kc.documents.azure.com:443/\",\r\n \"publicNetworkAccess\": \"Enabled\",\r\n \"enableAutomaticFailover\": false,\r\n \"enableMultipleWriteLocations\": false,\r\n \"enablePartitionKeyMonitor\": false,\r\n \"isVirtualNetworkFilterEnabled\": false,\r\n \"virtualNetworkRules\": [],\r\n \"EnabledApiTypes\": \"MongoDB\",\r\n \"disableKeyBasedMetadataWriteAccess\": false,\r\n \"enableFreeTier\": false,\r\n \"enableAnalyticalStorage\": false,\r\n \"instanceId\": \"14ce2af7-9f51-480f-8c7a-3875188fc020\",\r\n \"createMode\": \"Default\",\r\n \"databaseAccountOfferType\": \"Standard\",\r\n \"defaultIdentity\": \"\",\r\n \"networkAclBypass\": \"None\",\r\n \"consistencyPolicy\": {\r\n \"defaultConsistencyLevel\": \"Session\",\r\n \"maxIntervalInSeconds\": 5,\r\n \"maxStalenessPrefix\": 100\r\n },\r\n \"apiProperties\": {\r\n \"serverVersion\": \"3.2\"\r\n },\r\n \"configurationOverrides\": {\r\n \"EnableBsonSchema\": \"True\"\r\n },\r\n \"writeLocations\": [\r\n {\r\n \"id\": \"mongodb-ahc7b66s2t4kc-australiacentral\",\r\n \"locationName\": \"Australia Central\",\r\n \"documentEndpoint\": \"https://mongodb-ahc7b66s2t4kc-australiacentral.documents.azure.com:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"readLocations\": [\r\n {\r\n \"id\": \"mongodb-ahc7b66s2t4kc-australiacentral\",\r\n \"locationName\": \"Australia Central\",\r\n \"documentEndpoint\": \"https://mongodb-ahc7b66s2t4kc-australiacentral.documents.azure.com:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n },\r\n {\r\n \"id\": \"mongodb-ahc7b66s2t4kc-switzerlandnorth\",\r\n \"locationName\": \"Switzerland North\",\r\n \"documentEndpoint\": \"https://mongodb-ahc7b66s2t4kc-switzerlandnorth.documents.azure.com:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 1,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"locations\": [\r\n {\r\n \"id\": \"mongodb-ahc7b66s2t4kc-australiacentral\",\r\n \"locationName\": \"Australia Central\",\r\n \"documentEndpoint\": \"https://mongodb-ahc7b66s2t4kc-australiacentral.documents.azure.com:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n },\r\n {\r\n \"id\": \"mongodb-ahc7b66s2t4kc-switzerlandnorth\",\r\n \"locationName\": \"Switzerland North\",\r\n \"documentEndpoint\": \"https://mongodb-ahc7b66s2t4kc-switzerlandnorth.documents.azure.com:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 1,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"failoverPolicies\": [\r\n {\r\n \"id\": \"mongodb-ahc7b66s2t4kc-australiacentral\",\r\n \"locationName\": \"Australia Central\",\r\n \"failoverPriority\": 0\r\n },\r\n {\r\n \"id\": \"mongodb-ahc7b66s2t4kc-switzerlandnorth\",\r\n \"locationName\": \"Switzerland North\",\r\n \"failoverPriority\": 1\r\n }\r\n ],\r\n \"cors\": [],\r\n \"capabilities\": [\r\n {\r\n \"name\": \"AllowSelfServeUpgradeToMongo36\"\r\n }\r\n ],\r\n \"ipRules\": [],\r\n \"backupPolicy\": {\r\n \"type\": \"Periodic\",\r\n \"periodicModeProperties\": {\r\n \"backupIntervalInMinutes\": 240,\r\n \"backupRetentionIntervalInHours\": 8,\r\n \"backupStorageRedundancy\": \"Geo\"\r\n }\r\n },\r\n \"networkAclBypassResourceIds\": []\r\n },\r\n \"identity\": {\r\n \"type\": \"None\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/resourceGroups/mekaushi-test-mongo/providers/Microsoft.DocumentDB/databaseAccounts/mongodb1123\",\r\n \"name\": \"mongodb1123\",\r\n \"location\": \"Australia Central\",\r\n \"type\": \"Microsoft.DocumentDB/databaseAccounts\",\r\n \"kind\": \"MongoDB\",\r\n \"tags\": {},\r\n \"systemData\": {\r\n \"createdAt\": \"2020-03-10T00:29:19.9514236Z\"\r\n },\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"documentEndpoint\": \"https://mongodb1123.documents.azure.com:443/\",\r\n \"mongoEndpoint\": \"https://mongodb1123.mongo.cosmos.azure.com:443/\",\r\n \"publicNetworkAccess\": \"Enabled\",\r\n \"enableAutomaticFailover\": false,\r\n \"enableMultipleWriteLocations\": false,\r\n \"enablePartitionKeyMonitor\": false,\r\n \"isVirtualNetworkFilterEnabled\": false,\r\n \"virtualNetworkRules\": [],\r\n \"EnabledApiTypes\": \"MongoDB\",\r\n \"disableKeyBasedMetadataWriteAccess\": false,\r\n \"enableFreeTier\": false,\r\n \"enableAnalyticalStorage\": false,\r\n \"instanceId\": \"2e2249f2-12a8-4c01-be77-2c05c4049b8f\",\r\n \"createMode\": \"Default\",\r\n \"databaseAccountOfferType\": \"Standard\",\r\n \"defaultIdentity\": \"\",\r\n \"networkAclBypass\": \"None\",\r\n \"consistencyPolicy\": {\r\n \"defaultConsistencyLevel\": \"Session\",\r\n \"maxIntervalInSeconds\": 5,\r\n \"maxStalenessPrefix\": 100\r\n },\r\n \"apiProperties\": {\r\n \"serverVersion\": \"3.6\"\r\n },\r\n \"configurationOverrides\": {\r\n \"EnableBsonSchema\": \"True\"\r\n },\r\n \"writeLocations\": [\r\n {\r\n \"id\": \"mongodb1123-australiacentral\",\r\n \"locationName\": \"Australia Central\",\r\n \"documentEndpoint\": \"https://mongodb1123-australiacentral.documents.azure.com:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"readLocations\": [\r\n {\r\n \"id\": \"mongodb1123-australiacentral\",\r\n \"locationName\": \"Australia Central\",\r\n \"documentEndpoint\": \"https://mongodb1123-australiacentral.documents.azure.com:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n },\r\n {\r\n \"id\": \"mongodb1123-francecentral\",\r\n \"locationName\": \"France Central\",\r\n \"documentEndpoint\": \"https://mongodb1123-francecentral.documents.azure.com:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 1,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"locations\": [\r\n {\r\n \"id\": \"mongodb1123-australiacentral\",\r\n \"locationName\": \"Australia Central\",\r\n \"documentEndpoint\": \"https://mongodb1123-australiacentral.documents.azure.com:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n },\r\n {\r\n \"id\": \"mongodb1123-francecentral\",\r\n \"locationName\": \"France Central\",\r\n \"documentEndpoint\": \"https://mongodb1123-francecentral.documents.azure.com:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 1,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"failoverPolicies\": [\r\n {\r\n \"id\": \"mongodb1123-australiacentral\",\r\n \"locationName\": \"Australia Central\",\r\n \"failoverPriority\": 0\r\n },\r\n {\r\n \"id\": \"mongodb1123-francecentral\",\r\n \"locationName\": \"France Central\",\r\n \"failoverPriority\": 1\r\n }\r\n ],\r\n \"cors\": [],\r\n \"capabilities\": [\r\n {\r\n \"name\": \"MongoDBv3.4\"\r\n },\r\n {\r\n \"name\": \"EnableMongo\"\r\n }\r\n ],\r\n \"ipRules\": [],\r\n \"backupPolicy\": {\r\n \"type\": \"Periodic\",\r\n \"periodicModeProperties\": {\r\n \"backupIntervalInMinutes\": 240,\r\n \"backupRetentionIntervalInHours\": 8,\r\n \"backupStorageRedundancy\": \"Geo\"\r\n }\r\n },\r\n \"networkAclBypassResourceIds\": []\r\n },\r\n \"identity\": {\r\n \"type\": \"None\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/resourceGroups/mekaushi-test-mongo/providers/Microsoft.DocumentDB/databaseAccounts/mongoqwert\",\r\n \"name\": \"mongoqwert\",\r\n \"location\": \"Australia Central\",\r\n \"type\": \"Microsoft.DocumentDB/databaseAccounts\",\r\n \"kind\": \"MongoDB\",\r\n \"tags\": {},\r\n \"systemData\": {\r\n \"createdAt\": \"2020-03-10T00:54:16.955988Z\"\r\n },\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"documentEndpoint\": \"https://mongoqwert.documents.azure.com:443/\",\r\n \"publicNetworkAccess\": \"Enabled\",\r\n \"enableAutomaticFailover\": false,\r\n \"enableMultipleWriteLocations\": false,\r\n \"enablePartitionKeyMonitor\": false,\r\n \"isVirtualNetworkFilterEnabled\": false,\r\n \"virtualNetworkRules\": [],\r\n \"EnabledApiTypes\": \"MongoDB\",\r\n \"disableKeyBasedMetadataWriteAccess\": false,\r\n \"enableFreeTier\": false,\r\n \"enableAnalyticalStorage\": false,\r\n \"instanceId\": \"d9ddecd5-4460-4106-b074-b6c09bcb4104\",\r\n \"createMode\": \"Default\",\r\n \"databaseAccountOfferType\": \"Standard\",\r\n \"defaultIdentity\": \"\",\r\n \"networkAclBypass\": \"None\",\r\n \"consistencyPolicy\": {\r\n \"defaultConsistencyLevel\": \"Session\",\r\n \"maxIntervalInSeconds\": 5,\r\n \"maxStalenessPrefix\": 100\r\n },\r\n \"apiProperties\": {\r\n \"serverVersion\": \"3.2\"\r\n },\r\n \"configurationOverrides\": {\r\n \"EnableBsonSchema\": \"True\"\r\n },\r\n \"writeLocations\": [\r\n {\r\n \"id\": \"mongoqwert-australiacentral\",\r\n \"locationName\": \"Australia Central\",\r\n \"documentEndpoint\": \"https://mongoqwert-australiacentral.documents.azure.com:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"readLocations\": [\r\n {\r\n \"id\": \"mongoqwert-australiacentral\",\r\n \"locationName\": \"Australia Central\",\r\n \"documentEndpoint\": \"https://mongoqwert-australiacentral.documents.azure.com:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n },\r\n {\r\n \"id\": \"mongoqwert-francecentral\",\r\n \"locationName\": \"France Central\",\r\n \"documentEndpoint\": \"https://mongoqwert-francecentral.documents.azure.com:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 1,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"locations\": [\r\n {\r\n \"id\": \"mongoqwert-australiacentral\",\r\n \"locationName\": \"Australia Central\",\r\n \"documentEndpoint\": \"https://mongoqwert-australiacentral.documents.azure.com:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n },\r\n {\r\n \"id\": \"mongoqwert-francecentral\",\r\n \"locationName\": \"France Central\",\r\n \"documentEndpoint\": \"https://mongoqwert-francecentral.documents.azure.com:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 1,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"failoverPolicies\": [\r\n {\r\n \"id\": \"mongoqwert-australiacentral\",\r\n \"locationName\": \"Australia Central\",\r\n \"failoverPriority\": 0\r\n },\r\n {\r\n \"id\": \"mongoqwert-francecentral\",\r\n \"locationName\": \"France Central\",\r\n \"failoverPriority\": 1\r\n }\r\n ],\r\n \"cors\": [],\r\n \"capabilities\": [\r\n {\r\n \"name\": \"AllowSelfServeUpgradeToMongo36\"\r\n }\r\n ],\r\n \"ipRules\": [],\r\n \"backupPolicy\": {\r\n \"type\": \"Periodic\",\r\n \"periodicModeProperties\": {\r\n \"backupIntervalInMinutes\": 240,\r\n \"backupRetentionIntervalInHours\": 8,\r\n \"backupStorageRedundancy\": \"Geo\"\r\n }\r\n },\r\n \"networkAclBypassResourceIds\": []\r\n },\r\n \"identity\": {\r\n \"type\": \"None\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/resourceGroups/ash/providers/Microsoft.DocumentDB/databaseAccounts/ash-gremlin-test\",\r\n \"name\": \"ash-gremlin-test\",\r\n \"location\": \"North Central US\",\r\n \"type\": \"Microsoft.DocumentDB/databaseAccounts\",\r\n \"kind\": \"GlobalDocumentDB\",\r\n \"tags\": {\r\n \"defaultExperience\": \"Gremlin (graph)\",\r\n \"hidden-cosmos-mmspecial\": \"\"\r\n },\r\n \"systemData\": {\r\n \"createdAt\": \"2019-09-25T22:02:12.9775347Z\"\r\n },\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"documentEndpoint\": \"https://ash-gremlin-test.documents-staging.windows-ppe.net:443/\",\r\n \"gremlinEndpoint\": \"https://ash-gremlin-test.gremlin.cosmos.windows-ppe.net:443/\",\r\n \"publicNetworkAccess\": \"Enabled\",\r\n \"enableAutomaticFailover\": false,\r\n \"enableMultipleWriteLocations\": false,\r\n \"enablePartitionKeyMonitor\": false,\r\n \"isVirtualNetworkFilterEnabled\": false,\r\n \"virtualNetworkRules\": [],\r\n \"EnabledApiTypes\": \"Gremlin, Sql\",\r\n \"disableKeyBasedMetadataWriteAccess\": false,\r\n \"enableFreeTier\": false,\r\n \"enableAnalyticalStorage\": false,\r\n \"analyticalStorageConfiguration\": null,\r\n \"instanceId\": \"0830695b-8432-4b15-88d3-45b685e0b6a4\",\r\n \"createMode\": \"Default\",\r\n \"databaseAccountOfferType\": \"Standard\",\r\n \"enableCassandraConnector\": false,\r\n \"connectorOffer\": \"\",\r\n \"defaultIdentity\": \"\",\r\n \"networkAclBypass\": \"None\",\r\n \"consistencyPolicy\": {\r\n \"defaultConsistencyLevel\": \"Session\",\r\n \"maxIntervalInSeconds\": 5,\r\n \"maxStalenessPrefix\": 100\r\n },\r\n \"configurationOverrides\": {},\r\n \"writeLocations\": [\r\n {\r\n \"id\": \"ash-gremlin-test-northcentralus\",\r\n \"locationName\": \"North Central US\",\r\n \"documentEndpoint\": \"https://ash-gremlin-test-northcentralus.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"readLocations\": [\r\n {\r\n \"id\": \"ash-gremlin-test-northcentralus\",\r\n \"locationName\": \"North Central US\",\r\n \"documentEndpoint\": \"https://ash-gremlin-test-northcentralus.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"locations\": [\r\n {\r\n \"id\": \"ash-gremlin-test-northcentralus\",\r\n \"locationName\": \"North Central US\",\r\n \"documentEndpoint\": \"https://ash-gremlin-test-northcentralus.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"failoverPolicies\": [\r\n {\r\n \"id\": \"ash-gremlin-test-northcentralus\",\r\n \"locationName\": \"North Central US\",\r\n \"failoverPriority\": 0\r\n }\r\n ],\r\n \"cors\": [],\r\n \"capabilities\": [\r\n {\r\n \"name\": \"EnableGremlin\"\r\n }\r\n ],\r\n \"ipRules\": [],\r\n \"backupPolicy\": {\r\n \"type\": \"Periodic\",\r\n \"periodicModeProperties\": {\r\n \"backupIntervalInMinutes\": 60,\r\n \"backupRetentionIntervalInHours\": 8,\r\n \"backupStorageRedundancy\": \"Geo\"\r\n }\r\n },\r\n \"networkAclBypassResourceIds\": []\r\n },\r\n \"identity\": {\r\n \"type\": \"None\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/resourceGroups/ash/providers/Microsoft.DocumentDB/databaseAccounts/ash-table-test\",\r\n \"name\": \"ash-table-test\",\r\n \"location\": \"North Central US\",\r\n \"type\": \"Microsoft.DocumentDB/databaseAccounts\",\r\n \"kind\": \"GlobalDocumentDB\",\r\n \"tags\": {\r\n \"defaultExperience\": \"Azure Table\",\r\n \"hidden-cosmos-mmspecial\": \"\"\r\n },\r\n \"systemData\": {\r\n \"createdAt\": \"2019-09-25T23:21:50.1375571Z\"\r\n },\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"documentEndpoint\": \"https://ash-table-test.documents-staging.windows-ppe.net:443/\",\r\n \"tableEndpoint\": \"https://ash-table-test.table.cosmos.windows-ppe.net:443/\",\r\n \"publicNetworkAccess\": \"Enabled\",\r\n \"enableAutomaticFailover\": false,\r\n \"enableMultipleWriteLocations\": false,\r\n \"enablePartitionKeyMonitor\": false,\r\n \"isVirtualNetworkFilterEnabled\": false,\r\n \"virtualNetworkRules\": [],\r\n \"EnabledApiTypes\": \"Table, Sql\",\r\n \"disableKeyBasedMetadataWriteAccess\": false,\r\n \"enableFreeTier\": false,\r\n \"enableAnalyticalStorage\": false,\r\n \"analyticalStorageConfiguration\": null,\r\n \"instanceId\": \"38b9a7a6-ac1c-4b98-b010-848d48deab03\",\r\n \"createMode\": \"Default\",\r\n \"databaseAccountOfferType\": \"Standard\",\r\n \"enableCassandraConnector\": false,\r\n \"connectorOffer\": \"\",\r\n \"defaultIdentity\": \"\",\r\n \"networkAclBypass\": \"None\",\r\n \"consistencyPolicy\": {\r\n \"defaultConsistencyLevel\": \"Session\",\r\n \"maxIntervalInSeconds\": 5,\r\n \"maxStalenessPrefix\": 100\r\n },\r\n \"configurationOverrides\": {},\r\n \"writeLocations\": [\r\n {\r\n \"id\": \"ash-table-test-northcentralus\",\r\n \"locationName\": \"North Central US\",\r\n \"documentEndpoint\": \"https://ash-table-test-northcentralus.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"readLocations\": [\r\n {\r\n \"id\": \"ash-table-test-northcentralus\",\r\n \"locationName\": \"North Central US\",\r\n \"documentEndpoint\": \"https://ash-table-test-northcentralus.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"locations\": [\r\n {\r\n \"id\": \"ash-table-test-northcentralus\",\r\n \"locationName\": \"North Central US\",\r\n \"documentEndpoint\": \"https://ash-table-test-northcentralus.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"failoverPolicies\": [\r\n {\r\n \"id\": \"ash-table-test-northcentralus\",\r\n \"locationName\": \"North Central US\",\r\n \"failoverPriority\": 0\r\n }\r\n ],\r\n \"cors\": [\r\n {\r\n \"allowedOrigins\": \"*\"\r\n }\r\n ],\r\n \"capabilities\": [\r\n {\r\n \"name\": \"EnableTable\"\r\n }\r\n ],\r\n \"ipRules\": [],\r\n \"backupPolicy\": {\r\n \"type\": \"Periodic\",\r\n \"periodicModeProperties\": {\r\n \"backupIntervalInMinutes\": 60,\r\n \"backupRetentionIntervalInHours\": 8,\r\n \"backupStorageRedundancy\": \"Geo\"\r\n }\r\n },\r\n \"networkAclBypassResourceIds\": []\r\n },\r\n \"identity\": {\r\n \"type\": \"None\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/resourceGroups/boeing-garyrush/providers/Microsoft.DocumentDB/databaseAccounts/boeingevents\",\r\n \"name\": \"boeingevents\",\r\n \"location\": \"North Central US\",\r\n \"type\": \"Microsoft.DocumentDB/databaseAccounts\",\r\n \"kind\": \"GlobalDocumentDB\",\r\n \"tags\": {\r\n \"defaultExperience\": \"Cassandra\"\r\n },\r\n \"systemData\": {\r\n \"createdAt\": \"2018-09-04T19:57:40.2034526Z\"\r\n },\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"documentEndpoint\": \"https://boeingevents.documents-staging.windows-ppe.net:443/\",\r\n \"cassandraEndpoint\": \"https://boeingevents.cassandra.cosmosdb.windows-ppe.net:443/\",\r\n \"publicNetworkAccess\": \"Enabled\",\r\n \"enableAutomaticFailover\": false,\r\n \"enableMultipleWriteLocations\": false,\r\n \"enablePartitionKeyMonitor\": false,\r\n \"isVirtualNetworkFilterEnabled\": false,\r\n \"virtualNetworkRules\": [],\r\n \"EnabledApiTypes\": \"Cassandra\",\r\n \"disableKeyBasedMetadataWriteAccess\": false,\r\n \"enableFreeTier\": false,\r\n \"enableAnalyticalStorage\": false,\r\n \"analyticalStorageConfiguration\": null,\r\n \"instanceId\": \"b8f5d2d7-f46e-4b55-99ef-a287df9dfbea\",\r\n \"createMode\": \"Default\",\r\n \"databaseAccountOfferType\": \"Standard\",\r\n \"defaultIdentity\": \"\",\r\n \"networkAclBypass\": \"None\",\r\n \"consistencyPolicy\": {\r\n \"defaultConsistencyLevel\": \"Session\",\r\n \"maxIntervalInSeconds\": 5,\r\n \"maxStalenessPrefix\": 100\r\n },\r\n \"configurationOverrides\": {},\r\n \"writeLocations\": [\r\n {\r\n \"id\": \"boeingevents-northcentralus\",\r\n \"locationName\": \"North Central US\",\r\n \"documentEndpoint\": \"https://boeingevents-northcentralus.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"readLocations\": [\r\n {\r\n \"id\": \"boeingevents-northcentralus\",\r\n \"locationName\": \"North Central US\",\r\n \"documentEndpoint\": \"https://boeingevents-northcentralus.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"locations\": [\r\n {\r\n \"id\": \"boeingevents-northcentralus\",\r\n \"locationName\": \"North Central US\",\r\n \"documentEndpoint\": \"https://boeingevents-northcentralus.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"failoverPolicies\": [\r\n {\r\n \"id\": \"boeingevents-northcentralus\",\r\n \"locationName\": \"North Central US\",\r\n \"failoverPriority\": 0\r\n }\r\n ],\r\n \"cors\": [],\r\n \"capabilities\": [\r\n {\r\n \"name\": \"EnableCassandra\"\r\n }\r\n ],\r\n \"ipRules\": [],\r\n \"backupPolicy\": {\r\n \"type\": \"Periodic\",\r\n \"periodicModeProperties\": {\r\n \"backupIntervalInMinutes\": 240,\r\n \"backupRetentionIntervalInHours\": 8,\r\n \"backupStorageRedundancy\": \"Geo\"\r\n }\r\n },\r\n \"networkAclBypassResourceIds\": []\r\n },\r\n \"identity\": {\r\n \"type\": \"None\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/resourceGroups/CANARY/providers/Microsoft.DocumentDB/databaseAccounts/canary-stagenorthcentralus1cm1\",\r\n \"name\": \"canary-stagenorthcentralus1cm1\",\r\n \"location\": \"North Central US\",\r\n \"type\": \"Microsoft.DocumentDB/databaseAccounts\",\r\n \"kind\": \"DocumentDB\",\r\n \"tags\": {},\r\n \"systemData\": {\r\n \"createdAt\": \"2020-06-12T22:39:06.6621633Z\"\r\n },\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"documentEndpoint\": \"https://canary-stagenorthcentralus1cm1.documents-staging.windows-ppe.net:443/\",\r\n \"cassandraEndpoint\": \"https://canary-stagenorthcentralus1cm1.cassandra.cosmos.windows-ppe.net:443/\",\r\n \"publicNetworkAccess\": \"Enabled\",\r\n \"enableAutomaticFailover\": false,\r\n \"enableMultipleWriteLocations\": false,\r\n \"enablePartitionKeyMonitor\": false,\r\n \"isVirtualNetworkFilterEnabled\": false,\r\n \"virtualNetworkRules\": [],\r\n \"EnabledApiTypes\": \"Cassandra\",\r\n \"disableKeyBasedMetadataWriteAccess\": false,\r\n \"enableFreeTier\": false,\r\n \"enableAnalyticalStorage\": false,\r\n \"analyticalStorageConfiguration\": null,\r\n \"instanceId\": \"0ed64378-9372-4bdc-85d5-96ccfeae9509\",\r\n \"createMode\": \"Default\",\r\n \"databaseAccountOfferType\": \"Standard\",\r\n \"defaultIdentity\": \"\",\r\n \"networkAclBypass\": \"None\",\r\n \"consistencyPolicy\": {\r\n \"defaultConsistencyLevel\": \"Session\",\r\n \"maxIntervalInSeconds\": 5,\r\n \"maxStalenessPrefix\": 100\r\n },\r\n \"configurationOverrides\": {},\r\n \"writeLocations\": [\r\n {\r\n \"id\": \"canary-stagenorthcentralus1cm1-northcentralus\",\r\n \"locationName\": \"North Central US\",\r\n \"documentEndpoint\": \"https://canary-stagenorthcentralus1cm1-northcentralus.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"readLocations\": [\r\n {\r\n \"id\": \"canary-stagenorthcentralus1cm1-northcentralus\",\r\n \"locationName\": \"North Central US\",\r\n \"documentEndpoint\": \"https://canary-stagenorthcentralus1cm1-northcentralus.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"locations\": [\r\n {\r\n \"id\": \"canary-stagenorthcentralus1cm1-northcentralus\",\r\n \"locationName\": \"North Central US\",\r\n \"documentEndpoint\": \"https://canary-stagenorthcentralus1cm1-northcentralus.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"failoverPolicies\": [\r\n {\r\n \"id\": \"canary-stagenorthcentralus1cm1-northcentralus\",\r\n \"locationName\": \"North Central US\",\r\n \"failoverPriority\": 0\r\n }\r\n ],\r\n \"cors\": [],\r\n \"capabilities\": [\r\n {\r\n \"name\": \"EnableCassandra\"\r\n }\r\n ],\r\n \"ipRules\": [],\r\n \"backupPolicy\": {\r\n \"type\": \"Periodic\",\r\n \"periodicModeProperties\": {\r\n \"backupIntervalInMinutes\": 240,\r\n \"backupRetentionIntervalInHours\": 8,\r\n \"backupStorageRedundancy\": \"Geo\"\r\n }\r\n },\r\n \"networkAclBypassResourceIds\": []\r\n },\r\n \"identity\": {\r\n \"type\": \"None\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/resourceGroups/CANARY/providers/Microsoft.DocumentDB/databaseAccounts/canary-staging2\",\r\n \"name\": \"canary-staging2\",\r\n \"location\": \"North Central US\",\r\n \"type\": \"Microsoft.DocumentDB/databaseAccounts\",\r\n \"kind\": \"DocumentDB\",\r\n \"tags\": {},\r\n \"systemData\": {\r\n \"createdAt\": \"2020-10-16T21:30:41.3739266Z\"\r\n },\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"documentEndpoint\": \"https://canary-staging2.documents-staging.windows-ppe.net:443/\",\r\n \"publicNetworkAccess\": \"Enabled\",\r\n \"enableAutomaticFailover\": false,\r\n \"enableMultipleWriteLocations\": false,\r\n \"enablePartitionKeyMonitor\": false,\r\n \"isVirtualNetworkFilterEnabled\": false,\r\n \"virtualNetworkRules\": [],\r\n \"EnabledApiTypes\": \"Sql\",\r\n \"disableKeyBasedMetadataWriteAccess\": false,\r\n \"enableFreeTier\": false,\r\n \"enableAnalyticalStorage\": false,\r\n \"analyticalStorageConfiguration\": null,\r\n \"instanceId\": \"61b7d6c8-81c7-41ff-b29c-d7adde252039\",\r\n \"createMode\": \"Default\",\r\n \"databaseAccountOfferType\": \"Standard\",\r\n \"defaultIdentity\": \"\",\r\n \"networkAclBypass\": \"None\",\r\n \"consistencyPolicy\": {\r\n \"defaultConsistencyLevel\": \"Session\",\r\n \"maxIntervalInSeconds\": 5,\r\n \"maxStalenessPrefix\": 100\r\n },\r\n \"configurationOverrides\": {},\r\n \"writeLocations\": [\r\n {\r\n \"id\": \"canary-staging2-northcentralus\",\r\n \"locationName\": \"North Central US\",\r\n \"documentEndpoint\": \"https://canary-staging2-northcentralus.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"readLocations\": [\r\n {\r\n \"id\": \"canary-staging2-northcentralus\",\r\n \"locationName\": \"North Central US\",\r\n \"documentEndpoint\": \"https://canary-staging2-northcentralus.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"locations\": [\r\n {\r\n \"id\": \"canary-staging2-northcentralus\",\r\n \"locationName\": \"North Central US\",\r\n \"documentEndpoint\": \"https://canary-staging2-northcentralus.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"failoverPolicies\": [\r\n {\r\n \"id\": \"canary-staging2-northcentralus\",\r\n \"locationName\": \"North Central US\",\r\n \"failoverPriority\": 0\r\n }\r\n ],\r\n \"cors\": [],\r\n \"capabilities\": [],\r\n \"ipRules\": [],\r\n \"backupPolicy\": {\r\n \"type\": \"Periodic\",\r\n \"periodicModeProperties\": {\r\n \"backupIntervalInMinutes\": 240,\r\n \"backupRetentionIntervalInHours\": 8,\r\n \"backupStorageRedundancy\": \"Geo\"\r\n }\r\n },\r\n \"networkAclBypassResourceIds\": []\r\n },\r\n \"identity\": {\r\n \"type\": \"None\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/resourceGroups/jihmmtest/providers/Microsoft.DocumentDB/databaseAccounts/casey-mm-test\",\r\n \"name\": \"casey-mm-test\",\r\n \"location\": \"North Central US\",\r\n \"type\": \"Microsoft.DocumentDB/databaseAccounts\",\r\n \"kind\": \"GlobalDocumentDB\",\r\n \"tags\": {\r\n \"defaultExperience\": \"DocumentDB\"\r\n },\r\n \"systemData\": {\r\n \"createdAt\": \"2018-09-18T04:02:51.220772Z\"\r\n },\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"documentEndpoint\": \"https://casey-mm-test.documents-staging.windows-ppe.net:443/\",\r\n \"publicNetworkAccess\": \"Enabled\",\r\n \"enableAutomaticFailover\": false,\r\n \"enableMultipleWriteLocations\": true,\r\n \"enablePartitionKeyMonitor\": false,\r\n \"isVirtualNetworkFilterEnabled\": false,\r\n \"virtualNetworkRules\": [],\r\n \"EnabledApiTypes\": \"Sql\",\r\n \"disableKeyBasedMetadataWriteAccess\": false,\r\n \"enableFreeTier\": false,\r\n \"enableAnalyticalStorage\": false,\r\n \"analyticalStorageConfiguration\": null,\r\n \"instanceId\": \"71f7e1be-2559-4117-8a47-93851f42e94f\",\r\n \"createMode\": \"Default\",\r\n \"databaseAccountOfferType\": \"Standard\",\r\n \"defaultIdentity\": \"\",\r\n \"networkAclBypass\": \"None\",\r\n \"consistencyPolicy\": {\r\n \"defaultConsistencyLevel\": \"Session\",\r\n \"maxIntervalInSeconds\": 5,\r\n \"maxStalenessPrefix\": 100\r\n },\r\n \"configurationOverrides\": {},\r\n \"writeLocations\": [\r\n {\r\n \"id\": \"casey-mm-test-southeastasia\",\r\n \"locationName\": \"Southeast Asia\",\r\n \"documentEndpoint\": \"https://casey-mm-test-southeastasia.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n },\r\n {\r\n \"id\": \"casey-mm-test-westus2\",\r\n \"locationName\": \"West US 2\",\r\n \"documentEndpoint\": \"https://casey-mm-test-westus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 1,\r\n \"isZoneRedundant\": false\r\n },\r\n {\r\n \"id\": \"casey-mm-test-northcentralus\",\r\n \"locationName\": \"North Central US\",\r\n \"documentEndpoint\": \"https://casey-mm-test-northcentralus.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 2,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"readLocations\": [\r\n {\r\n \"id\": \"casey-mm-test-southeastasia\",\r\n \"locationName\": \"Southeast Asia\",\r\n \"documentEndpoint\": \"https://casey-mm-test-southeastasia.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n },\r\n {\r\n \"id\": \"casey-mm-test-westus2\",\r\n \"locationName\": \"West US 2\",\r\n \"documentEndpoint\": \"https://casey-mm-test-westus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 1,\r\n \"isZoneRedundant\": false\r\n },\r\n {\r\n \"id\": \"casey-mm-test-northcentralus\",\r\n \"locationName\": \"North Central US\",\r\n \"documentEndpoint\": \"https://casey-mm-test-northcentralus.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 2,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"locations\": [\r\n {\r\n \"id\": \"casey-mm-test-southeastasia\",\r\n \"locationName\": \"Southeast Asia\",\r\n \"documentEndpoint\": \"https://casey-mm-test-southeastasia.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n },\r\n {\r\n \"id\": \"casey-mm-test-westus2\",\r\n \"locationName\": \"West US 2\",\r\n \"documentEndpoint\": \"https://casey-mm-test-westus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 1,\r\n \"isZoneRedundant\": false\r\n },\r\n {\r\n \"id\": \"casey-mm-test-northcentralus\",\r\n \"locationName\": \"North Central US\",\r\n \"documentEndpoint\": \"https://casey-mm-test-northcentralus.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 2,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"failoverPolicies\": [\r\n {\r\n \"id\": \"casey-mm-test-southeastasia\",\r\n \"locationName\": \"Southeast Asia\",\r\n \"failoverPriority\": 0\r\n },\r\n {\r\n \"id\": \"casey-mm-test-westus2\",\r\n \"locationName\": \"West US 2\",\r\n \"failoverPriority\": 1\r\n },\r\n {\r\n \"id\": \"casey-mm-test-northcentralus\",\r\n \"locationName\": \"North Central US\",\r\n \"failoverPriority\": 2\r\n }\r\n ],\r\n \"cors\": [],\r\n \"capabilities\": [],\r\n \"ipRules\": [],\r\n \"backupPolicy\": {\r\n \"type\": \"Periodic\",\r\n \"periodicModeProperties\": {\r\n \"backupIntervalInMinutes\": 240,\r\n \"backupRetentionIntervalInHours\": 8,\r\n \"backupStorageRedundancy\": \"Geo\"\r\n }\r\n },\r\n \"networkAclBypassResourceIds\": []\r\n },\r\n \"identity\": {\r\n \"type\": \"None\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/resourceGroups/cassandra-platform-signoff-ncus03-rg/providers/Microsoft.DocumentDB/databaseAccounts/cassandra-platform-signoff-ncus03\",\r\n \"name\": \"cassandra-platform-signoff-ncus03\",\r\n \"location\": \"North Central US\",\r\n \"type\": \"Microsoft.DocumentDB/databaseAccounts\",\r\n \"kind\": \"GlobalDocumentDB\",\r\n \"tags\": {},\r\n \"systemData\": {\r\n \"createdAt\": \"2018-10-15T10:36:12.4906826Z\"\r\n },\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"documentEndpoint\": \"https://cassandra-platform-signoff-ncus03.documents-staging.windows-ppe.net:443/\",\r\n \"cassandraEndpoint\": \"https://cassandra-platform-signoff-ncus03.cassandra.cosmosdb.windows-ppe.net:443/\",\r\n \"publicNetworkAccess\": \"Enabled\",\r\n \"enableAutomaticFailover\": false,\r\n \"enableMultipleWriteLocations\": false,\r\n \"enablePartitionKeyMonitor\": false,\r\n \"isVirtualNetworkFilterEnabled\": false,\r\n \"virtualNetworkRules\": [],\r\n \"EnabledApiTypes\": \"Cassandra\",\r\n \"disableKeyBasedMetadataWriteAccess\": false,\r\n \"enableFreeTier\": false,\r\n \"enableAnalyticalStorage\": false,\r\n \"analyticalStorageConfiguration\": null,\r\n \"instanceId\": \"d87fd03a-7c5e-4ec2-9de1-778dcdf98987\",\r\n \"createMode\": \"Default\",\r\n \"databaseAccountOfferType\": \"Standard\",\r\n \"defaultIdentity\": \"\",\r\n \"networkAclBypass\": \"None\",\r\n \"consistencyPolicy\": {\r\n \"defaultConsistencyLevel\": \"BoundedStaleness\",\r\n \"maxIntervalInSeconds\": 5,\r\n \"maxStalenessPrefix\": 100\r\n },\r\n \"configurationOverrides\": {},\r\n \"writeLocations\": [\r\n {\r\n \"id\": \"cassandra-platform-signoff-ncus03-northcentralus\",\r\n \"locationName\": \"North Central US\",\r\n \"documentEndpoint\": \"https://cassandra-platform-signoff-ncus03-northcentralus.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"readLocations\": [\r\n {\r\n \"id\": \"cassandra-platform-signoff-ncus03-northcentralus\",\r\n \"locationName\": \"North Central US\",\r\n \"documentEndpoint\": \"https://cassandra-platform-signoff-ncus03-northcentralus.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"locations\": [\r\n {\r\n \"id\": \"cassandra-platform-signoff-ncus03-northcentralus\",\r\n \"locationName\": \"North Central US\",\r\n \"documentEndpoint\": \"https://cassandra-platform-signoff-ncus03-northcentralus.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"failoverPolicies\": [\r\n {\r\n \"id\": \"cassandra-platform-signoff-ncus03-northcentralus\",\r\n \"locationName\": \"North Central US\",\r\n \"failoverPriority\": 0\r\n }\r\n ],\r\n \"cors\": [],\r\n \"capabilities\": [\r\n {\r\n \"name\": \"EnableCassandra\"\r\n }\r\n ],\r\n \"ipRules\": [],\r\n \"backupPolicy\": {\r\n \"type\": \"Periodic\",\r\n \"periodicModeProperties\": {\r\n \"backupIntervalInMinutes\": 240,\r\n \"backupRetentionIntervalInHours\": 8,\r\n \"backupStorageRedundancy\": \"Geo\"\r\n }\r\n },\r\n \"networkAclBypassResourceIds\": []\r\n },\r\n \"identity\": {\r\n \"type\": \"None\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/resourceGroups/vivekrasignoff/providers/Microsoft.DocumentDB/databaseAccounts/cassandraquerysignoff\",\r\n \"name\": \"cassandraquerysignoff\",\r\n \"location\": \"North Central US\",\r\n \"type\": \"Microsoft.DocumentDB/databaseAccounts\",\r\n \"kind\": \"GlobalDocumentDB\",\r\n \"tags\": {\r\n \"defaultExperience\": \"Cassandra\"\r\n },\r\n \"systemData\": {\r\n \"createdAt\": \"2019-07-19T17:30:36.8546547Z\"\r\n },\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"documentEndpoint\": \"https://cassandraquerysignoff.documents-staging.windows-ppe.net:443/\",\r\n \"cassandraEndpoint\": \"https://cassandraquerysignoff.cassandra.cosmos.windows-ppe.net:443/\",\r\n \"publicNetworkAccess\": \"Enabled\",\r\n \"enableAutomaticFailover\": false,\r\n \"enableMultipleWriteLocations\": false,\r\n \"enablePartitionKeyMonitor\": false,\r\n \"isVirtualNetworkFilterEnabled\": false,\r\n \"virtualNetworkRules\": [],\r\n \"EnabledApiTypes\": \"Cassandra\",\r\n \"disableKeyBasedMetadataWriteAccess\": false,\r\n \"enableFreeTier\": false,\r\n \"enableAnalyticalStorage\": false,\r\n \"analyticalStorageConfiguration\": null,\r\n \"instanceId\": \"93e68f3b-99a2-492a-a4a5-77e994432a0f\",\r\n \"createMode\": \"Default\",\r\n \"databaseAccountOfferType\": \"Standard\",\r\n \"enableCassandraConnector\": false,\r\n \"connectorOffer\": \"\",\r\n \"defaultIdentity\": \"\",\r\n \"networkAclBypass\": \"None\",\r\n \"consistencyPolicy\": {\r\n \"defaultConsistencyLevel\": \"Session\",\r\n \"maxIntervalInSeconds\": 5,\r\n \"maxStalenessPrefix\": 100\r\n },\r\n \"configurationOverrides\": {},\r\n \"writeLocations\": [\r\n {\r\n \"id\": \"cassandraquerysignoff-northcentralus\",\r\n \"locationName\": \"North Central US\",\r\n \"documentEndpoint\": \"https://cassandraquerysignoff-northcentralus.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"readLocations\": [\r\n {\r\n \"id\": \"cassandraquerysignoff-northcentralus\",\r\n \"locationName\": \"North Central US\",\r\n \"documentEndpoint\": \"https://cassandraquerysignoff-northcentralus.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"locations\": [\r\n {\r\n \"id\": \"cassandraquerysignoff-northcentralus\",\r\n \"locationName\": \"North Central US\",\r\n \"documentEndpoint\": \"https://cassandraquerysignoff-northcentralus.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"failoverPolicies\": [\r\n {\r\n \"id\": \"cassandraquerysignoff-northcentralus\",\r\n \"locationName\": \"North Central US\",\r\n \"failoverPriority\": 0\r\n }\r\n ],\r\n \"cors\": [],\r\n \"capabilities\": [\r\n {\r\n \"name\": \"EnableCassandra\"\r\n }\r\n ],\r\n \"ipRules\": [],\r\n \"backupPolicy\": {\r\n \"type\": \"Periodic\",\r\n \"periodicModeProperties\": {\r\n \"backupIntervalInMinutes\": 240,\r\n \"backupRetentionIntervalInHours\": 8,\r\n \"backupStorageRedundancy\": \"Geo\"\r\n }\r\n },\r\n \"networkAclBypassResourceIds\": []\r\n },\r\n \"identity\": {\r\n \"type\": \"None\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/resourceGroups/stagerunner/providers/Microsoft.DocumentDB/databaseAccounts/cassandrastagemetricsrunner\",\r\n \"name\": \"cassandrastagemetricsrunner\",\r\n \"location\": \"North Central US\",\r\n \"type\": \"Microsoft.DocumentDB/databaseAccounts\",\r\n \"kind\": \"GlobalDocumentDB\",\r\n \"tags\": {\r\n \"defaultExperience\": \"Cassandra\",\r\n \"owner\": \"vivekra\"\r\n },\r\n \"systemData\": {\r\n \"createdAt\": \"2018-11-15T20:32:07.5253872Z\"\r\n },\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"documentEndpoint\": \"https://cassandrastagemetricsrunner.documents-staging.windows-ppe.net:443/\",\r\n \"cassandraEndpoint\": \"https://cassandrastagemetricsrunner.cassandra.cosmosdb.windows-ppe.net:443/\",\r\n \"publicNetworkAccess\": \"Enabled\",\r\n \"enableAutomaticFailover\": false,\r\n \"enableMultipleWriteLocations\": false,\r\n \"enablePartitionKeyMonitor\": false,\r\n \"isVirtualNetworkFilterEnabled\": false,\r\n \"virtualNetworkRules\": [],\r\n \"EnabledApiTypes\": \"Cassandra\",\r\n \"disableKeyBasedMetadataWriteAccess\": false,\r\n \"enableFreeTier\": false,\r\n \"enableAnalyticalStorage\": false,\r\n \"analyticalStorageConfiguration\": null,\r\n \"instanceId\": \"22dfff04-c0bf-4387-8f4e-72028fafb564\",\r\n \"createMode\": \"Default\",\r\n \"databaseAccountOfferType\": \"Standard\",\r\n \"defaultIdentity\": \"\",\r\n \"networkAclBypass\": \"None\",\r\n \"consistencyPolicy\": {\r\n \"defaultConsistencyLevel\": \"Session\",\r\n \"maxIntervalInSeconds\": 5,\r\n \"maxStalenessPrefix\": 100\r\n },\r\n \"configurationOverrides\": {},\r\n \"writeLocations\": [\r\n {\r\n \"id\": \"cassandrastagemetricsrunner-northcentralus\",\r\n \"locationName\": \"North Central US\",\r\n \"documentEndpoint\": \"https://cassandrastagemetricsrunner-northcentralus.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"readLocations\": [\r\n {\r\n \"id\": \"cassandrastagemetricsrunner-northcentralus\",\r\n \"locationName\": \"North Central US\",\r\n \"documentEndpoint\": \"https://cassandrastagemetricsrunner-northcentralus.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"locations\": [\r\n {\r\n \"id\": \"cassandrastagemetricsrunner-northcentralus\",\r\n \"locationName\": \"North Central US\",\r\n \"documentEndpoint\": \"https://cassandrastagemetricsrunner-northcentralus.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"failoverPolicies\": [\r\n {\r\n \"id\": \"cassandrastagemetricsrunner-northcentralus\",\r\n \"locationName\": \"North Central US\",\r\n \"failoverPriority\": 0\r\n }\r\n ],\r\n \"cors\": [],\r\n \"capabilities\": [\r\n {\r\n \"name\": \"EnableCassandra\"\r\n }\r\n ],\r\n \"ipRules\": [],\r\n \"backupPolicy\": {\r\n \"type\": \"Periodic\",\r\n \"periodicModeProperties\": {\r\n \"backupIntervalInMinutes\": 240,\r\n \"backupRetentionIntervalInHours\": 8,\r\n \"backupStorageRedundancy\": \"Geo\"\r\n }\r\n },\r\n \"networkAclBypassResourceIds\": []\r\n },\r\n \"identity\": {\r\n \"type\": \"None\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/resourceGroups/vivekrasignoff/providers/Microsoft.DocumentDB/databaseAccounts/cassstagesignoffvivekra\",\r\n \"name\": \"cassstagesignoffvivekra\",\r\n \"location\": \"North Central US\",\r\n \"type\": \"Microsoft.DocumentDB/databaseAccounts\",\r\n \"kind\": \"GlobalDocumentDB\",\r\n \"tags\": {\r\n \"defaultExperience\": \"Cassandra\"\r\n },\r\n \"systemData\": {\r\n \"createdAt\": \"2019-06-10T18:34:35.5190767Z\"\r\n },\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"documentEndpoint\": \"https://cassstagesignoffvivekra.documents-staging.windows-ppe.net:443/\",\r\n \"cassandraEndpoint\": \"https://cassstagesignoffvivekra.cassandra.cosmos.windows-ppe.net:443/\",\r\n \"publicNetworkAccess\": \"Enabled\",\r\n \"enableAutomaticFailover\": false,\r\n \"enableMultipleWriteLocations\": false,\r\n \"enablePartitionKeyMonitor\": false,\r\n \"isVirtualNetworkFilterEnabled\": false,\r\n \"virtualNetworkRules\": [],\r\n \"EnabledApiTypes\": \"Cassandra\",\r\n \"disableKeyBasedMetadataWriteAccess\": false,\r\n \"enableFreeTier\": false,\r\n \"enableAnalyticalStorage\": false,\r\n \"analyticalStorageConfiguration\": null,\r\n \"instanceId\": \"9b178109-696d-4630-8c69-49c479d44b1c\",\r\n \"createMode\": \"Default\",\r\n \"databaseAccountOfferType\": \"Standard\",\r\n \"defaultIdentity\": \"\",\r\n \"networkAclBypass\": \"None\",\r\n \"consistencyPolicy\": {\r\n \"defaultConsistencyLevel\": \"Session\",\r\n \"maxIntervalInSeconds\": 5,\r\n \"maxStalenessPrefix\": 100\r\n },\r\n \"configurationOverrides\": {},\r\n \"writeLocations\": [\r\n {\r\n \"id\": \"cassstagesignoffvivekra-northcentralus\",\r\n \"locationName\": \"North Central US\",\r\n \"documentEndpoint\": \"https://cassstagesignoffvivekra-northcentralus.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"readLocations\": [\r\n {\r\n \"id\": \"cassstagesignoffvivekra-northcentralus\",\r\n \"locationName\": \"North Central US\",\r\n \"documentEndpoint\": \"https://cassstagesignoffvivekra-northcentralus.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"locations\": [\r\n {\r\n \"id\": \"cassstagesignoffvivekra-northcentralus\",\r\n \"locationName\": \"North Central US\",\r\n \"documentEndpoint\": \"https://cassstagesignoffvivekra-northcentralus.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"failoverPolicies\": [\r\n {\r\n \"id\": \"cassstagesignoffvivekra-northcentralus\",\r\n \"locationName\": \"North Central US\",\r\n \"failoverPriority\": 0\r\n }\r\n ],\r\n \"cors\": [],\r\n \"capabilities\": [\r\n {\r\n \"name\": \"EnableCassandra\"\r\n }\r\n ],\r\n \"ipRules\": [],\r\n \"backupPolicy\": {\r\n \"type\": \"Periodic\",\r\n \"periodicModeProperties\": {\r\n \"backupIntervalInMinutes\": 240,\r\n \"backupRetentionIntervalInHours\": 8,\r\n \"backupStorageRedundancy\": \"Geo\"\r\n }\r\n },\r\n \"networkAclBypassResourceIds\": []\r\n },\r\n \"identity\": {\r\n \"type\": \"None\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/resourceGroups/ccxstagevalidationrg/providers/Microsoft.DocumentDB/databaseAccounts/ccx-edge-mm-demo-backup\",\r\n \"name\": \"ccx-edge-mm-demo-backup\",\r\n \"location\": \"North Central US\",\r\n \"type\": \"Microsoft.DocumentDB/databaseAccounts\",\r\n \"kind\": \"GlobalDocumentDB\",\r\n \"tags\": {\r\n \"defaultExperience\": \"Cassandra\",\r\n \"hidden-cosmos-mmspecial\": \"\"\r\n },\r\n \"systemData\": {\r\n \"createdAt\": \"2019-12-11T00:08:26.5965782Z\"\r\n },\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"documentEndpoint\": \"https://ccx-edge-mm-demo-backup.documents-staging.windows-ppe.net:443/\",\r\n \"cassandraEndpoint\": \"https://ccx-edge-mm-demo-backup.cassandra.cosmos.windows-ppe.net:443/\",\r\n \"publicNetworkAccess\": \"Enabled\",\r\n \"enableAutomaticFailover\": false,\r\n \"enableMultipleWriteLocations\": false,\r\n \"enablePartitionKeyMonitor\": false,\r\n \"isVirtualNetworkFilterEnabled\": false,\r\n \"virtualNetworkRules\": [],\r\n \"EnabledApiTypes\": \"Cassandra\",\r\n \"disableKeyBasedMetadataWriteAccess\": false,\r\n \"enableFreeTier\": false,\r\n \"enableAnalyticalStorage\": false,\r\n \"analyticalStorageConfiguration\": null,\r\n \"instanceId\": \"2e5499ec-ff2e-4928-941d-36781974cac9\",\r\n \"createMode\": \"Default\",\r\n \"databaseAccountOfferType\": \"Standard\",\r\n \"enableCassandraConnector\": true,\r\n \"connectorOffer\": \"small\",\r\n \"defaultIdentity\": \"\",\r\n \"networkAclBypass\": \"None\",\r\n \"consistencyPolicy\": {\r\n \"defaultConsistencyLevel\": \"Session\",\r\n \"maxIntervalInSeconds\": 5,\r\n \"maxStalenessPrefix\": 100\r\n },\r\n \"configurationOverrides\": {},\r\n \"writeLocations\": [\r\n {\r\n \"id\": \"ccx-edge-mm-demo-backup-northcentralus\",\r\n \"locationName\": \"North Central US\",\r\n \"documentEndpoint\": \"https://ccx-edge-mm-demo-backup-northcentralus.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"readLocations\": [\r\n {\r\n \"id\": \"ccx-edge-mm-demo-backup-northcentralus\",\r\n \"locationName\": \"North Central US\",\r\n \"documentEndpoint\": \"https://ccx-edge-mm-demo-backup-northcentralus.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"locations\": [\r\n {\r\n \"id\": \"ccx-edge-mm-demo-backup-northcentralus\",\r\n \"locationName\": \"North Central US\",\r\n \"documentEndpoint\": \"https://ccx-edge-mm-demo-backup-northcentralus.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"failoverPolicies\": [\r\n {\r\n \"id\": \"ccx-edge-mm-demo-backup-northcentralus\",\r\n \"locationName\": \"North Central US\",\r\n \"failoverPriority\": 0\r\n }\r\n ],\r\n \"cors\": [],\r\n \"capabilities\": [\r\n {\r\n \"name\": \"EnableCassandra\"\r\n }\r\n ],\r\n \"ipRules\": [],\r\n \"backupPolicy\": {\r\n \"type\": \"Periodic\",\r\n \"periodicModeProperties\": {\r\n \"backupIntervalInMinutes\": 60,\r\n \"backupRetentionIntervalInHours\": 8,\r\n \"backupStorageRedundancy\": \"Geo\"\r\n }\r\n },\r\n \"networkAclBypassResourceIds\": []\r\n },\r\n \"identity\": {\r\n \"type\": \"None\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/resourceGroups/chrande-test/providers/Microsoft.DocumentDB/databaseAccounts/chrande-mongo-test-40-portal\",\r\n \"name\": \"chrande-mongo-test-40-portal\",\r\n \"location\": \"North Central US\",\r\n \"type\": \"Microsoft.DocumentDB/databaseAccounts\",\r\n \"kind\": \"MongoDB\",\r\n \"tags\": {\r\n \"defaultExperience\": \"Azure Cosmos DB for MongoDB API\",\r\n \"hidden-cosmos-mmspecial\": \"\",\r\n \"CosmosAccountType\": \"Non-Production\"\r\n },\r\n \"systemData\": {\r\n \"createdAt\": \"2021-02-22T02:28:23.312616Z\"\r\n },\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"documentEndpoint\": \"https://chrande-mongo-test-40-portal.documents-staging.windows-ppe.net:443/\",\r\n \"mongoEndpoint\": \"https://chrande-mongo-test-40-portal.mongo.cosmos.windows-ppe.net:443/\",\r\n \"publicNetworkAccess\": \"Enabled\",\r\n \"enableAutomaticFailover\": false,\r\n \"enableMultipleWriteLocations\": false,\r\n \"enablePartitionKeyMonitor\": false,\r\n \"isVirtualNetworkFilterEnabled\": false,\r\n \"virtualNetworkRules\": [],\r\n \"EnabledApiTypes\": \"MongoDB\",\r\n \"disableKeyBasedMetadataWriteAccess\": false,\r\n \"enableFreeTier\": false,\r\n \"enableAnalyticalStorage\": false,\r\n \"analyticalStorageConfiguration\": null,\r\n \"instanceId\": \"8bd4d04e-56a6-450c-9b0b-761242f321ee\",\r\n \"createMode\": \"Default\",\r\n \"databaseAccountOfferType\": \"Standard\",\r\n \"enableCassandraConnector\": false,\r\n \"connectorOffer\": \"\",\r\n \"defaultIdentity\": \"\",\r\n \"networkAclBypass\": \"None\",\r\n \"consistencyPolicy\": {\r\n \"defaultConsistencyLevel\": \"Session\",\r\n \"maxIntervalInSeconds\": 5,\r\n \"maxStalenessPrefix\": 100\r\n },\r\n \"apiProperties\": {\r\n \"serverVersion\": \"3.6\"\r\n },\r\n \"configurationOverrides\": {\r\n \"EnableBsonSchema\": \"True\"\r\n },\r\n \"writeLocations\": [\r\n {\r\n \"id\": \"chrande-mongo-test-40-portal-northcentralus\",\r\n \"locationName\": \"North Central US\",\r\n \"documentEndpoint\": \"https://chrande-mongo-test-40-portal-northcentralus.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"readLocations\": [\r\n {\r\n \"id\": \"chrande-mongo-test-40-portal-northcentralus\",\r\n \"locationName\": \"North Central US\",\r\n \"documentEndpoint\": \"https://chrande-mongo-test-40-portal-northcentralus.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"locations\": [\r\n {\r\n \"id\": \"chrande-mongo-test-40-portal-northcentralus\",\r\n \"locationName\": \"North Central US\",\r\n \"documentEndpoint\": \"https://chrande-mongo-test-40-portal-northcentralus.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"failoverPolicies\": [\r\n {\r\n \"id\": \"chrande-mongo-test-40-portal-northcentralus\",\r\n \"locationName\": \"North Central US\",\r\n \"failoverPriority\": 0\r\n }\r\n ],\r\n \"cors\": [],\r\n \"capabilities\": [\r\n {\r\n \"name\": \"EnableMongo\"\r\n },\r\n {\r\n \"name\": \"DisableRateLimitingResponses\"\r\n }\r\n ],\r\n \"ipRules\": [],\r\n \"backupPolicy\": {\r\n \"type\": \"Periodic\",\r\n \"periodicModeProperties\": {\r\n \"backupIntervalInMinutes\": 240,\r\n \"backupRetentionIntervalInHours\": 8,\r\n \"backupStorageRedundancy\": \"Geo\"\r\n }\r\n },\r\n \"networkAclBypassResourceIds\": []\r\n },\r\n \"identity\": {\r\n \"type\": \"None\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/resourceGroups/chrande-test/providers/Microsoft.DocumentDB/databaseAccounts/chrande-test-mongo-32-update\",\r\n \"name\": \"chrande-test-mongo-32-update\",\r\n \"location\": \"North Central US\",\r\n \"type\": \"Microsoft.DocumentDB/databaseAccounts\",\r\n \"kind\": \"MongoDB\",\r\n \"tags\": {\r\n \"defaultExperience\": \"Azure Cosmos DB for MongoDB API\",\r\n \"hidden-cosmos-mmspecial\": \"\",\r\n \"CosmosAccountType\": \"Non-Production\"\r\n },\r\n \"systemData\": {\r\n \"createdAt\": \"2021-02-22T04:34:44.2723741Z\"\r\n },\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"documentEndpoint\": \"https://chrande-test-mongo-32-update.documents-staging.windows-ppe.net:443/\",\r\n \"mongoEndpoint\": \"https://chrande-test-mongo-32-update.mongo.cosmos.windows-ppe.net:443/\",\r\n \"publicNetworkAccess\": \"Enabled\",\r\n \"enableAutomaticFailover\": false,\r\n \"enableMultipleWriteLocations\": false,\r\n \"enablePartitionKeyMonitor\": false,\r\n \"isVirtualNetworkFilterEnabled\": false,\r\n \"virtualNetworkRules\": [],\r\n \"EnabledApiTypes\": \"MongoDB\",\r\n \"disableKeyBasedMetadataWriteAccess\": false,\r\n \"enableFreeTier\": false,\r\n \"enableAnalyticalStorage\": false,\r\n \"analyticalStorageConfiguration\": null,\r\n \"instanceId\": \"f99944e3-ffe6-4214-b163-6beb06deb5a1\",\r\n \"createMode\": \"Default\",\r\n \"databaseAccountOfferType\": \"Standard\",\r\n \"enableCassandraConnector\": false,\r\n \"connectorOffer\": \"\",\r\n \"defaultIdentity\": \"\",\r\n \"networkAclBypass\": \"None\",\r\n \"consistencyPolicy\": {\r\n \"defaultConsistencyLevel\": \"Session\",\r\n \"maxIntervalInSeconds\": 5,\r\n \"maxStalenessPrefix\": 100\r\n },\r\n \"apiProperties\": {\r\n \"serverVersion\": \"4.0\"\r\n },\r\n \"configurationOverrides\": {\r\n \"EnableBsonSchema\": \"True\"\r\n },\r\n \"writeLocations\": [\r\n {\r\n \"id\": \"chrande-test-mongo-32-update-northcentralus\",\r\n \"locationName\": \"North Central US\",\r\n \"documentEndpoint\": \"https://chrande-test-mongo-32-update-northcentralus.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"readLocations\": [\r\n {\r\n \"id\": \"chrande-test-mongo-32-update-northcentralus\",\r\n \"locationName\": \"North Central US\",\r\n \"documentEndpoint\": \"https://chrande-test-mongo-32-update-northcentralus.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"locations\": [\r\n {\r\n \"id\": \"chrande-test-mongo-32-update-northcentralus\",\r\n \"locationName\": \"North Central US\",\r\n \"documentEndpoint\": \"https://chrande-test-mongo-32-update-northcentralus.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"failoverPolicies\": [\r\n {\r\n \"id\": \"chrande-test-mongo-32-update-northcentralus\",\r\n \"locationName\": \"North Central US\",\r\n \"failoverPriority\": 0\r\n }\r\n ],\r\n \"cors\": [],\r\n \"capabilities\": [\r\n {\r\n \"name\": \"EnableMongo\"\r\n },\r\n {\r\n \"name\": \"DisableRateLimitingResponses\"\r\n }\r\n ],\r\n \"ipRules\": [],\r\n \"backupPolicy\": {\r\n \"type\": \"Periodic\",\r\n \"periodicModeProperties\": {\r\n \"backupIntervalInMinutes\": 240,\r\n \"backupRetentionIntervalInHours\": 8,\r\n \"backupStorageRedundancy\": \"Geo\"\r\n }\r\n },\r\n \"networkAclBypassResourceIds\": []\r\n },\r\n \"identity\": {\r\n \"type\": \"None\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/resourceGroups/ratnakv/providers/Microsoft.DocumentDB/databaseAccounts/computecachetest\",\r\n \"name\": \"computecachetest\",\r\n \"location\": \"North Central US\",\r\n \"type\": \"Microsoft.DocumentDB/databaseAccounts\",\r\n \"kind\": \"MongoDB\",\r\n \"tags\": {\r\n \"defaultExperience\": \"Azure Cosmos DB for MongoDB API\"\r\n },\r\n \"systemData\": {\r\n \"createdAt\": \"2019-04-29T18:40:43.9744746Z\"\r\n },\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"documentEndpoint\": \"https://computecachetest.documents-staging.windows-ppe.net:443/\",\r\n \"publicNetworkAccess\": \"Enabled\",\r\n \"enableAutomaticFailover\": false,\r\n \"enableMultipleWriteLocations\": false,\r\n \"enablePartitionKeyMonitor\": false,\r\n \"isVirtualNetworkFilterEnabled\": false,\r\n \"virtualNetworkRules\": [],\r\n \"EnabledApiTypes\": \"MongoDB\",\r\n \"disableKeyBasedMetadataWriteAccess\": false,\r\n \"enableFreeTier\": false,\r\n \"enableAnalyticalStorage\": false,\r\n \"analyticalStorageConfiguration\": null,\r\n \"instanceId\": \"c39267d2-3c84-4da9-a57f-59b1c4a65a50\",\r\n \"createMode\": \"Default\",\r\n \"databaseAccountOfferType\": \"Standard\",\r\n \"defaultIdentity\": \"\",\r\n \"networkAclBypass\": \"None\",\r\n \"consistencyPolicy\": {\r\n \"defaultConsistencyLevel\": \"Session\",\r\n \"maxIntervalInSeconds\": 5,\r\n \"maxStalenessPrefix\": 100\r\n },\r\n \"apiProperties\": {\r\n \"serverVersion\": \"3.2\"\r\n },\r\n \"configurationOverrides\": {\r\n \"EnableBsonSchema\": \"True\"\r\n },\r\n \"writeLocations\": [\r\n {\r\n \"id\": \"computecachetest-northcentralus\",\r\n \"locationName\": \"North Central US\",\r\n \"documentEndpoint\": \"https://computecachetest-northcentralus.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"readLocations\": [\r\n {\r\n \"id\": \"computecachetest-northcentralus\",\r\n \"locationName\": \"North Central US\",\r\n \"documentEndpoint\": \"https://computecachetest-northcentralus.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"locations\": [\r\n {\r\n \"id\": \"computecachetest-northcentralus\",\r\n \"locationName\": \"North Central US\",\r\n \"documentEndpoint\": \"https://computecachetest-northcentralus.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"failoverPolicies\": [\r\n {\r\n \"id\": \"computecachetest-northcentralus\",\r\n \"locationName\": \"North Central US\",\r\n \"failoverPriority\": 0\r\n }\r\n ],\r\n \"cors\": [],\r\n \"capabilities\": [],\r\n \"ipRules\": [],\r\n \"backupPolicy\": {\r\n \"type\": \"Periodic\",\r\n \"periodicModeProperties\": {\r\n \"backupIntervalInMinutes\": 240,\r\n \"backupRetentionIntervalInHours\": 8,\r\n \"backupStorageRedundancy\": \"Geo\"\r\n }\r\n },\r\n \"networkAclBypassResourceIds\": []\r\n },\r\n \"identity\": {\r\n \"type\": \"None\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/resourceGroups/ratnakv/providers/Microsoft.DocumentDB/databaseAccounts/computecachetest2\",\r\n \"name\": \"computecachetest2\",\r\n \"location\": \"North Central US\",\r\n \"type\": \"Microsoft.DocumentDB/databaseAccounts\",\r\n \"kind\": \"MongoDB\",\r\n \"tags\": {\r\n \"defaultExperience\": \"Azure Cosmos DB for MongoDB API\"\r\n },\r\n \"systemData\": {\r\n \"createdAt\": \"2019-04-29T19:04:39.9778253Z\"\r\n },\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"documentEndpoint\": \"https://computecachetest2.documents-staging.windows-ppe.net:443/\",\r\n \"publicNetworkAccess\": \"Enabled\",\r\n \"enableAutomaticFailover\": false,\r\n \"enableMultipleWriteLocations\": false,\r\n \"enablePartitionKeyMonitor\": false,\r\n \"isVirtualNetworkFilterEnabled\": false,\r\n \"virtualNetworkRules\": [],\r\n \"EnabledApiTypes\": \"MongoDB\",\r\n \"disableKeyBasedMetadataWriteAccess\": false,\r\n \"enableFreeTier\": false,\r\n \"enableAnalyticalStorage\": false,\r\n \"analyticalStorageConfiguration\": null,\r\n \"instanceId\": \"9c5c13db-83a8-4fe8-b88b-ec237724175a\",\r\n \"createMode\": \"Default\",\r\n \"databaseAccountOfferType\": \"Standard\",\r\n \"defaultIdentity\": \"\",\r\n \"networkAclBypass\": \"None\",\r\n \"consistencyPolicy\": {\r\n \"defaultConsistencyLevel\": \"Session\",\r\n \"maxIntervalInSeconds\": 5,\r\n \"maxStalenessPrefix\": 100\r\n },\r\n \"apiProperties\": {\r\n \"serverVersion\": \"3.2\"\r\n },\r\n \"configurationOverrides\": {\r\n \"EnableBsonSchema\": \"True\"\r\n },\r\n \"writeLocations\": [\r\n {\r\n \"id\": \"computecachetest2-northcentralus\",\r\n \"locationName\": \"North Central US\",\r\n \"documentEndpoint\": \"https://computecachetest2-northcentralus.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"readLocations\": [\r\n {\r\n \"id\": \"computecachetest2-northcentralus\",\r\n \"locationName\": \"North Central US\",\r\n \"documentEndpoint\": \"https://computecachetest2-northcentralus.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"locations\": [\r\n {\r\n \"id\": \"computecachetest2-northcentralus\",\r\n \"locationName\": \"North Central US\",\r\n \"documentEndpoint\": \"https://computecachetest2-northcentralus.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"failoverPolicies\": [\r\n {\r\n \"id\": \"computecachetest2-northcentralus\",\r\n \"locationName\": \"North Central US\",\r\n \"failoverPriority\": 0\r\n }\r\n ],\r\n \"cors\": [],\r\n \"capabilities\": [],\r\n \"ipRules\": [],\r\n \"backupPolicy\": {\r\n \"type\": \"Periodic\",\r\n \"periodicModeProperties\": {\r\n \"backupIntervalInMinutes\": 240,\r\n \"backupRetentionIntervalInHours\": 8,\r\n \"backupStorageRedundancy\": \"Geo\"\r\n }\r\n },\r\n \"networkAclBypassResourceIds\": []\r\n },\r\n \"identity\": {\r\n \"type\": \"None\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/resourceGroups/demo/providers/Microsoft.DocumentDB/databaseAccounts/cosmos-gremlin-cli-signoff\",\r\n \"name\": \"cosmos-gremlin-cli-signoff\",\r\n \"location\": \"North Central US\",\r\n \"type\": \"Microsoft.DocumentDB/databaseAccounts\",\r\n \"kind\": \"GlobalDocumentDB\",\r\n \"tags\": {},\r\n \"systemData\": {\r\n \"createdAt\": \"2019-05-10T22:08:25.8050599Z\"\r\n },\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"documentEndpoint\": \"https://cosmos-gremlin-cli-signoff.documents-staging.windows-ppe.net:443/\",\r\n \"gremlinEndpoint\": \"https://cosmos-gremlin-cli-signoff.gremlin.cosmos.windows-ppe.net:443/\",\r\n \"publicNetworkAccess\": \"Enabled\",\r\n \"enableAutomaticFailover\": false,\r\n \"enableMultipleWriteLocations\": false,\r\n \"enablePartitionKeyMonitor\": false,\r\n \"isVirtualNetworkFilterEnabled\": false,\r\n \"virtualNetworkRules\": [],\r\n \"EnabledApiTypes\": \"Gremlin, Sql\",\r\n \"disableKeyBasedMetadataWriteAccess\": false,\r\n \"enableFreeTier\": false,\r\n \"enableAnalyticalStorage\": false,\r\n \"analyticalStorageConfiguration\": null,\r\n \"instanceId\": \"3793a1a9-5d81-4f95-a6b9-952bcabe863c\",\r\n \"createMode\": \"Default\",\r\n \"databaseAccountOfferType\": \"Standard\",\r\n \"defaultIdentity\": \"\",\r\n \"networkAclBypass\": \"None\",\r\n \"consistencyPolicy\": {\r\n \"defaultConsistencyLevel\": \"Session\",\r\n \"maxIntervalInSeconds\": 5,\r\n \"maxStalenessPrefix\": 100\r\n },\r\n \"configurationOverrides\": {},\r\n \"writeLocations\": [\r\n {\r\n \"id\": \"cosmos-gremlin-cli-signoff-northcentralus\",\r\n \"locationName\": \"North Central US\",\r\n \"documentEndpoint\": \"https://cosmos-gremlin-cli-signoff-northcentralus.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"readLocations\": [\r\n {\r\n \"id\": \"cosmos-gremlin-cli-signoff-northcentralus\",\r\n \"locationName\": \"North Central US\",\r\n \"documentEndpoint\": \"https://cosmos-gremlin-cli-signoff-northcentralus.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"locations\": [\r\n {\r\n \"id\": \"cosmos-gremlin-cli-signoff-northcentralus\",\r\n \"locationName\": \"North Central US\",\r\n \"documentEndpoint\": \"https://cosmos-gremlin-cli-signoff-northcentralus.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"failoverPolicies\": [\r\n {\r\n \"id\": \"cosmos-gremlin-cli-signoff-northcentralus\",\r\n \"locationName\": \"North Central US\",\r\n \"failoverPriority\": 0\r\n }\r\n ],\r\n \"cors\": [],\r\n \"capabilities\": [\r\n {\r\n \"name\": \"EnableGremlin\"\r\n }\r\n ],\r\n \"ipRules\": [],\r\n \"backupPolicy\": {\r\n \"type\": \"Periodic\",\r\n \"periodicModeProperties\": {\r\n \"backupIntervalInMinutes\": 240,\r\n \"backupRetentionIntervalInHours\": 8,\r\n \"backupStorageRedundancy\": \"Geo\"\r\n }\r\n },\r\n \"networkAclBypassResourceIds\": []\r\n },\r\n \"identity\": {\r\n \"type\": \"None\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/resourceGroups/cosmosxinfrastructure/providers/Microsoft.DocumentDB/databaseAccounts/cosmosxinfradb\",\r\n \"name\": \"cosmosxinfradb\",\r\n \"location\": \"North Central US\",\r\n \"type\": \"Microsoft.DocumentDB/databaseAccounts\",\r\n \"kind\": \"GlobalDocumentDB\",\r\n \"tags\": {\r\n \"defaultExperience\": \"DocumentDB\",\r\n \"contact\": \"cosmosxc\"\r\n },\r\n \"systemData\": {\r\n \"createdAt\": \"2018-10-25T06:18:35.0254807Z\"\r\n },\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"documentEndpoint\": \"https://cosmosxinfradb.documents-staging.windows-ppe.net:443/\",\r\n \"sqlEndpoint\": \"https://cosmosxinfradb.documents-staging.windows-ppe.net:443/\",\r\n \"publicNetworkAccess\": \"Enabled\",\r\n \"enableAutomaticFailover\": false,\r\n \"enableMultipleWriteLocations\": true,\r\n \"enablePartitionKeyMonitor\": false,\r\n \"isVirtualNetworkFilterEnabled\": false,\r\n \"virtualNetworkRules\": [],\r\n \"EnabledApiTypes\": \"Sql\",\r\n \"disableKeyBasedMetadataWriteAccess\": false,\r\n \"enableFreeTier\": false,\r\n \"enableAnalyticalStorage\": false,\r\n \"analyticalStorageConfiguration\": null,\r\n \"instanceId\": \"355ca5b8-788f-46cd-967c-c2337782b8a4\",\r\n \"createMode\": \"Default\",\r\n \"databaseAccountOfferType\": \"Standard\",\r\n \"defaultIdentity\": \"\",\r\n \"networkAclBypass\": \"None\",\r\n \"consistencyPolicy\": {\r\n \"defaultConsistencyLevel\": \"Session\",\r\n \"maxIntervalInSeconds\": 5,\r\n \"maxStalenessPrefix\": 100\r\n },\r\n \"configurationOverrides\": {},\r\n \"writeLocations\": [\r\n {\r\n \"id\": \"cosmosxinfradb-southeastasia\",\r\n \"locationName\": \"Southeast Asia\",\r\n \"documentEndpoint\": \"https://cosmosxinfradb-southeastasia.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"readLocations\": [\r\n {\r\n \"id\": \"cosmosxinfradb-southeastasia\",\r\n \"locationName\": \"Southeast Asia\",\r\n \"documentEndpoint\": \"https://cosmosxinfradb-southeastasia.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"locations\": [\r\n {\r\n \"id\": \"cosmosxinfradb-southeastasia\",\r\n \"locationName\": \"Southeast Asia\",\r\n \"documentEndpoint\": \"https://cosmosxinfradb-southeastasia.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"failoverPolicies\": [\r\n {\r\n \"id\": \"cosmosxinfradb-southeastasia\",\r\n \"locationName\": \"Southeast Asia\",\r\n \"failoverPriority\": 0\r\n }\r\n ],\r\n \"cors\": [],\r\n \"capabilities\": [\r\n {\r\n \"name\": \"EnableSql\"\r\n }\r\n ],\r\n \"ipRules\": [],\r\n \"backupPolicy\": {\r\n \"type\": \"Periodic\",\r\n \"periodicModeProperties\": {\r\n \"backupIntervalInMinutes\": 240,\r\n \"backupRetentionIntervalInHours\": 8,\r\n \"backupStorageRedundancy\": \"Geo\"\r\n }\r\n },\r\n \"networkAclBypassResourceIds\": []\r\n },\r\n \"identity\": {\r\n \"type\": \"None\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/resourceGroups/crowdkeeppreview/providers/Microsoft.DocumentDB/databaseAccounts/crowdkeep\",\r\n \"name\": \"crowdkeep\",\r\n \"location\": \"North Central US\",\r\n \"type\": \"Microsoft.DocumentDB/databaseAccounts\",\r\n \"kind\": \"GlobalDocumentDB\",\r\n \"tags\": {\r\n \"defaultExperience\": \"Cassandra\"\r\n },\r\n \"systemData\": {\r\n \"createdAt\": \"2018-09-06T08:42:40.758407Z\"\r\n },\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"documentEndpoint\": \"https://crowdkeep.documents-staging.windows-ppe.net:443/\",\r\n \"cassandraEndpoint\": \"https://crowdkeep.cassandra.cosmosdb.windows-ppe.net:443/\",\r\n \"publicNetworkAccess\": \"Enabled\",\r\n \"enableAutomaticFailover\": false,\r\n \"enableMultipleWriteLocations\": false,\r\n \"enablePartitionKeyMonitor\": false,\r\n \"isVirtualNetworkFilterEnabled\": false,\r\n \"virtualNetworkRules\": [],\r\n \"EnabledApiTypes\": \"Cassandra\",\r\n \"disableKeyBasedMetadataWriteAccess\": false,\r\n \"enableFreeTier\": false,\r\n \"enableAnalyticalStorage\": false,\r\n \"analyticalStorageConfiguration\": null,\r\n \"instanceId\": \"5a0a760f-04e9-45c5-98f3-b393685acc68\",\r\n \"createMode\": \"Default\",\r\n \"databaseAccountOfferType\": \"Standard\",\r\n \"defaultIdentity\": \"\",\r\n \"networkAclBypass\": \"None\",\r\n \"consistencyPolicy\": {\r\n \"defaultConsistencyLevel\": \"Session\",\r\n \"maxIntervalInSeconds\": 5,\r\n \"maxStalenessPrefix\": 100\r\n },\r\n \"configurationOverrides\": {},\r\n \"writeLocations\": [\r\n {\r\n \"id\": \"crowdkeep-northcentralus\",\r\n \"locationName\": \"North Central US\",\r\n \"documentEndpoint\": \"https://crowdkeep-northcentralus.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"readLocations\": [\r\n {\r\n \"id\": \"crowdkeep-northcentralus\",\r\n \"locationName\": \"North Central US\",\r\n \"documentEndpoint\": \"https://crowdkeep-northcentralus.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"locations\": [\r\n {\r\n \"id\": \"crowdkeep-northcentralus\",\r\n \"locationName\": \"North Central US\",\r\n \"documentEndpoint\": \"https://crowdkeep-northcentralus.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"failoverPolicies\": [\r\n {\r\n \"id\": \"crowdkeep-northcentralus\",\r\n \"locationName\": \"North Central US\",\r\n \"failoverPriority\": 0\r\n }\r\n ],\r\n \"cors\": [],\r\n \"capabilities\": [\r\n {\r\n \"name\": \"EnableCassandra\"\r\n }\r\n ],\r\n \"ipRules\": [],\r\n \"backupPolicy\": {\r\n \"type\": \"Periodic\",\r\n \"periodicModeProperties\": {\r\n \"backupIntervalInMinutes\": 240,\r\n \"backupRetentionIntervalInHours\": 8,\r\n \"backupStorageRedundancy\": \"Geo\"\r\n }\r\n },\r\n \"networkAclBypassResourceIds\": []\r\n },\r\n \"identity\": {\r\n \"type\": \"None\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/resourceGroups/mongo-stage-signoff/providers/Microsoft.DocumentDB/databaseAccounts/cursortest-mongo\",\r\n \"name\": \"cursortest-mongo\",\r\n \"location\": \"North Central US\",\r\n \"type\": \"Microsoft.DocumentDB/databaseAccounts\",\r\n \"kind\": \"MongoDB\",\r\n \"tags\": {\r\n \"defaultExperience\": \"MongoDB\"\r\n },\r\n \"systemData\": {\r\n \"createdAt\": \"2018-11-07T22:17:50.0537296Z\"\r\n },\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"documentEndpoint\": \"https://cursortest-mongo.documents-staging.windows-ppe.net:443/\",\r\n \"mongoEndpoint\": \"https://cursortest-mongo.mongo.cosmos.windows-ppe.net:443/\",\r\n \"publicNetworkAccess\": \"Enabled\",\r\n \"enableAutomaticFailover\": false,\r\n \"enableMultipleWriteLocations\": true,\r\n \"enablePartitionKeyMonitor\": false,\r\n \"isVirtualNetworkFilterEnabled\": false,\r\n \"virtualNetworkRules\": [],\r\n \"EnabledApiTypes\": \"MongoDB\",\r\n \"disableKeyBasedMetadataWriteAccess\": false,\r\n \"enableFreeTier\": false,\r\n \"enableAnalyticalStorage\": false,\r\n \"analyticalStorageConfiguration\": null,\r\n \"instanceId\": \"57029808-86eb-4ac9-96ef-675990245d9f\",\r\n \"createMode\": \"Default\",\r\n \"databaseAccountOfferType\": \"Standard\",\r\n \"defaultIdentity\": \"\",\r\n \"networkAclBypass\": \"None\",\r\n \"consistencyPolicy\": {\r\n \"defaultConsistencyLevel\": \"Session\",\r\n \"maxIntervalInSeconds\": 5,\r\n \"maxStalenessPrefix\": 100\r\n },\r\n \"apiProperties\": {\r\n \"serverVersion\": \"3.6\"\r\n },\r\n \"configurationOverrides\": {\r\n \"EnableBsonSchema\": \"True\"\r\n },\r\n \"writeLocations\": [\r\n {\r\n \"id\": \"cursortest-mongo-westus2\",\r\n \"locationName\": \"West US 2\",\r\n \"documentEndpoint\": \"https://cursortest-mongo-westus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n },\r\n {\r\n \"id\": \"cursortest-mongo-northcentralus\",\r\n \"locationName\": \"North Central US\",\r\n \"documentEndpoint\": \"https://cursortest-mongo-northcentralus.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 1,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"readLocations\": [\r\n {\r\n \"id\": \"cursortest-mongo-westus2\",\r\n \"locationName\": \"West US 2\",\r\n \"documentEndpoint\": \"https://cursortest-mongo-westus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n },\r\n {\r\n \"id\": \"cursortest-mongo-northcentralus\",\r\n \"locationName\": \"North Central US\",\r\n \"documentEndpoint\": \"https://cursortest-mongo-northcentralus.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 1,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"locations\": [\r\n {\r\n \"id\": \"cursortest-mongo-westus2\",\r\n \"locationName\": \"West US 2\",\r\n \"documentEndpoint\": \"https://cursortest-mongo-westus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n },\r\n {\r\n \"id\": \"cursortest-mongo-northcentralus\",\r\n \"locationName\": \"North Central US\",\r\n \"documentEndpoint\": \"https://cursortest-mongo-northcentralus.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 1,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"failoverPolicies\": [\r\n {\r\n \"id\": \"cursortest-mongo-westus2\",\r\n \"locationName\": \"West US 2\",\r\n \"failoverPriority\": 0\r\n },\r\n {\r\n \"id\": \"cursortest-mongo-northcentralus\",\r\n \"locationName\": \"North Central US\",\r\n \"failoverPriority\": 1\r\n }\r\n ],\r\n \"cors\": [],\r\n \"capabilities\": [\r\n {\r\n \"name\": \"EnableMongo\"\r\n }\r\n ],\r\n \"ipRules\": [],\r\n \"backupPolicy\": {\r\n \"type\": \"Periodic\",\r\n \"periodicModeProperties\": {\r\n \"backupIntervalInMinutes\": 240,\r\n \"backupRetentionIntervalInHours\": 8,\r\n \"backupStorageRedundancy\": \"Geo\"\r\n }\r\n },\r\n \"networkAclBypassResourceIds\": []\r\n },\r\n \"identity\": {\r\n \"type\": \"None\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/resourceGroups/cosmosdbqueryteam/providers/Microsoft.DocumentDB/databaseAccounts/customertest1\",\r\n \"name\": \"customertest1\",\r\n \"location\": \"North Central US\",\r\n \"type\": \"Microsoft.DocumentDB/databaseAccounts\",\r\n \"kind\": \"GlobalDocumentDB\",\r\n \"tags\": {\r\n \"defaultExperience\": \"Core (SQL)\"\r\n },\r\n \"systemData\": {\r\n \"createdAt\": \"2019-02-12T07:13:03.2287797Z\"\r\n },\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"documentEndpoint\": \"https://customertest1.documents-staging.windows-ppe.net:443/\",\r\n \"publicNetworkAccess\": \"Enabled\",\r\n \"enableAutomaticFailover\": false,\r\n \"enableMultipleWriteLocations\": false,\r\n \"enablePartitionKeyMonitor\": false,\r\n \"isVirtualNetworkFilterEnabled\": false,\r\n \"virtualNetworkRules\": [],\r\n \"EnabledApiTypes\": \"Sql\",\r\n \"disableKeyBasedMetadataWriteAccess\": false,\r\n \"enableFreeTier\": false,\r\n \"enableAnalyticalStorage\": false,\r\n \"analyticalStorageConfiguration\": null,\r\n \"instanceId\": \"a20ca0bd-f814-4153-8fe0-afd87f2fa65c\",\r\n \"createMode\": \"Default\",\r\n \"databaseAccountOfferType\": \"Standard\",\r\n \"defaultIdentity\": \"\",\r\n \"networkAclBypass\": \"None\",\r\n \"consistencyPolicy\": {\r\n \"defaultConsistencyLevel\": \"Session\",\r\n \"maxIntervalInSeconds\": 5,\r\n \"maxStalenessPrefix\": 100\r\n },\r\n \"configurationOverrides\": {},\r\n \"writeLocations\": [\r\n {\r\n \"id\": \"customertest1-northcentralus\",\r\n \"locationName\": \"North Central US\",\r\n \"documentEndpoint\": \"https://customertest1-northcentralus.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"readLocations\": [\r\n {\r\n \"id\": \"customertest1-northcentralus\",\r\n \"locationName\": \"North Central US\",\r\n \"documentEndpoint\": \"https://customertest1-northcentralus.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"locations\": [\r\n {\r\n \"id\": \"customertest1-northcentralus\",\r\n \"locationName\": \"North Central US\",\r\n \"documentEndpoint\": \"https://customertest1-northcentralus.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"failoverPolicies\": [\r\n {\r\n \"id\": \"customertest1-northcentralus\",\r\n \"locationName\": \"North Central US\",\r\n \"failoverPriority\": 0\r\n }\r\n ],\r\n \"cors\": [\r\n {\r\n \"allowedOrigins\": \"*\"\r\n }\r\n ],\r\n \"capabilities\": [],\r\n \"ipRules\": [],\r\n \"backupPolicy\": {\r\n \"type\": \"Periodic\",\r\n \"periodicModeProperties\": {\r\n \"backupIntervalInMinutes\": 240,\r\n \"backupRetentionIntervalInHours\": 8,\r\n \"backupStorageRedundancy\": \"Geo\"\r\n }\r\n },\r\n \"networkAclBypassResourceIds\": []\r\n },\r\n \"identity\": {\r\n \"type\": \"None\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/resourceGroups/dox-staging/providers/Microsoft.DocumentDB/databaseAccounts/dox-table-staging-mm\",\r\n \"name\": \"dox-table-staging-mm\",\r\n \"location\": \"North Central US\",\r\n \"type\": \"Microsoft.DocumentDB/databaseAccounts\",\r\n \"kind\": \"GlobalDocumentDB\",\r\n \"tags\": {\r\n \"defaultExperience\": \"Table\"\r\n },\r\n \"systemData\": {\r\n \"createdAt\": \"2018-09-18T17:36:03.1916682Z\"\r\n },\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"documentEndpoint\": \"https://dox-table-staging-mm.documents-staging.windows-ppe.net:443/\",\r\n \"tableEndpoint\": \"https://dox-table-staging-mm.table.cosmosdb.windows-ppe.net:443/\",\r\n \"publicNetworkAccess\": \"Enabled\",\r\n \"enableAutomaticFailover\": false,\r\n \"enableMultipleWriteLocations\": true,\r\n \"enablePartitionKeyMonitor\": false,\r\n \"isVirtualNetworkFilterEnabled\": false,\r\n \"virtualNetworkRules\": [],\r\n \"EnabledApiTypes\": \"Table, Sql\",\r\n \"disableKeyBasedMetadataWriteAccess\": false,\r\n \"enableFreeTier\": false,\r\n \"enableAnalyticalStorage\": false,\r\n \"analyticalStorageConfiguration\": null,\r\n \"instanceId\": \"d8c3478a-f2f1-4e12-901f-27f929138d85\",\r\n \"createMode\": \"Default\",\r\n \"databaseAccountOfferType\": \"Standard\",\r\n \"defaultIdentity\": \"\",\r\n \"networkAclBypass\": \"None\",\r\n \"consistencyPolicy\": {\r\n \"defaultConsistencyLevel\": \"BoundedStaleness\",\r\n \"maxIntervalInSeconds\": 86400,\r\n \"maxStalenessPrefix\": 1000000\r\n },\r\n \"configurationOverrides\": {},\r\n \"writeLocations\": [\r\n {\r\n \"id\": \"dox-table-staging-mm-southeastasia\",\r\n \"locationName\": \"Southeast Asia\",\r\n \"documentEndpoint\": \"https://dox-table-staging-mm-southeastasia.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n },\r\n {\r\n \"id\": \"dox-table-staging-mm-westus2\",\r\n \"locationName\": \"West US 2\",\r\n \"documentEndpoint\": \"https://dox-table-staging-mm-westus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 1,\r\n \"isZoneRedundant\": false\r\n },\r\n {\r\n \"id\": \"dox-table-staging-mm-northcentralus\",\r\n \"locationName\": \"North Central US\",\r\n \"documentEndpoint\": \"https://dox-table-staging-mm-northcentralus.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 2,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"readLocations\": [\r\n {\r\n \"id\": \"dox-table-staging-mm-southeastasia\",\r\n \"locationName\": \"Southeast Asia\",\r\n \"documentEndpoint\": \"https://dox-table-staging-mm-southeastasia.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n },\r\n {\r\n \"id\": \"dox-table-staging-mm-westus2\",\r\n \"locationName\": \"West US 2\",\r\n \"documentEndpoint\": \"https://dox-table-staging-mm-westus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 1,\r\n \"isZoneRedundant\": false\r\n },\r\n {\r\n \"id\": \"dox-table-staging-mm-northcentralus\",\r\n \"locationName\": \"North Central US\",\r\n \"documentEndpoint\": \"https://dox-table-staging-mm-northcentralus.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 2,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"locations\": [\r\n {\r\n \"id\": \"dox-table-staging-mm-southeastasia\",\r\n \"locationName\": \"Southeast Asia\",\r\n \"documentEndpoint\": \"https://dox-table-staging-mm-southeastasia.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n },\r\n {\r\n \"id\": \"dox-table-staging-mm-westus2\",\r\n \"locationName\": \"West US 2\",\r\n \"documentEndpoint\": \"https://dox-table-staging-mm-westus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 1,\r\n \"isZoneRedundant\": false\r\n },\r\n {\r\n \"id\": \"dox-table-staging-mm-northcentralus\",\r\n \"locationName\": \"North Central US\",\r\n \"documentEndpoint\": \"https://dox-table-staging-mm-northcentralus.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 2,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"failoverPolicies\": [\r\n {\r\n \"id\": \"dox-table-staging-mm-southeastasia\",\r\n \"locationName\": \"Southeast Asia\",\r\n \"failoverPriority\": 0\r\n },\r\n {\r\n \"id\": \"dox-table-staging-mm-westus2\",\r\n \"locationName\": \"West US 2\",\r\n \"failoverPriority\": 1\r\n },\r\n {\r\n \"id\": \"dox-table-staging-mm-northcentralus\",\r\n \"locationName\": \"North Central US\",\r\n \"failoverPriority\": 2\r\n }\r\n ],\r\n \"cors\": [],\r\n \"capabilities\": [\r\n {\r\n \"name\": \"EnableTable\"\r\n }\r\n ],\r\n \"ipRules\": [],\r\n \"backupPolicy\": {\r\n \"type\": \"Periodic\",\r\n \"periodicModeProperties\": {\r\n \"backupIntervalInMinutes\": 240,\r\n \"backupRetentionIntervalInHours\": 8,\r\n \"backupStorageRedundancy\": \"Geo\"\r\n }\r\n },\r\n \"networkAclBypassResourceIds\": []\r\n },\r\n \"identity\": {\r\n \"type\": \"None\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/resourceGroups/dxcpreview/providers/Microsoft.DocumentDB/databaseAccounts/dxc\",\r\n \"name\": \"dxc\",\r\n \"location\": \"North Central US\",\r\n \"type\": \"Microsoft.DocumentDB/databaseAccounts\",\r\n \"kind\": \"GlobalDocumentDB\",\r\n \"tags\": {\r\n \"defaultExperience\": \"Cassandra\"\r\n },\r\n \"systemData\": {\r\n \"createdAt\": \"2018-09-06T07:07:13.5966847Z\"\r\n },\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"documentEndpoint\": \"https://dxc.documents-staging.windows-ppe.net:443/\",\r\n \"cassandraEndpoint\": \"https://dxc.cassandra.cosmosdb.windows-ppe.net:443/\",\r\n \"publicNetworkAccess\": \"Enabled\",\r\n \"enableAutomaticFailover\": false,\r\n \"enableMultipleWriteLocations\": false,\r\n \"enablePartitionKeyMonitor\": false,\r\n \"isVirtualNetworkFilterEnabled\": false,\r\n \"virtualNetworkRules\": [],\r\n \"EnabledApiTypes\": \"Cassandra\",\r\n \"disableKeyBasedMetadataWriteAccess\": false,\r\n \"enableFreeTier\": false,\r\n \"enableAnalyticalStorage\": false,\r\n \"analyticalStorageConfiguration\": null,\r\n \"instanceId\": \"0b42126d-b8d4-4977-8bca-868f791e49f6\",\r\n \"createMode\": \"Default\",\r\n \"databaseAccountOfferType\": \"Standard\",\r\n \"defaultIdentity\": \"\",\r\n \"networkAclBypass\": \"None\",\r\n \"consistencyPolicy\": {\r\n \"defaultConsistencyLevel\": \"Session\",\r\n \"maxIntervalInSeconds\": 5,\r\n \"maxStalenessPrefix\": 100\r\n },\r\n \"configurationOverrides\": {},\r\n \"writeLocations\": [\r\n {\r\n \"id\": \"dxc-northcentralus\",\r\n \"locationName\": \"North Central US\",\r\n \"documentEndpoint\": \"https://dxc-northcentralus.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"readLocations\": [\r\n {\r\n \"id\": \"dxc-northcentralus\",\r\n \"locationName\": \"North Central US\",\r\n \"documentEndpoint\": \"https://dxc-northcentralus.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"locations\": [\r\n {\r\n \"id\": \"dxc-northcentralus\",\r\n \"locationName\": \"North Central US\",\r\n \"documentEndpoint\": \"https://dxc-northcentralus.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"failoverPolicies\": [\r\n {\r\n \"id\": \"dxc-northcentralus\",\r\n \"locationName\": \"North Central US\",\r\n \"failoverPriority\": 0\r\n }\r\n ],\r\n \"cors\": [],\r\n \"capabilities\": [\r\n {\r\n \"name\": \"EnableCassandra\"\r\n }\r\n ],\r\n \"ipRules\": [],\r\n \"backupPolicy\": {\r\n \"type\": \"Periodic\",\r\n \"periodicModeProperties\": {\r\n \"backupIntervalInMinutes\": 240,\r\n \"backupRetentionIntervalInHours\": 8,\r\n \"backupStorageRedundancy\": \"Geo\"\r\n }\r\n },\r\n \"networkAclBypassResourceIds\": []\r\n },\r\n \"identity\": {\r\n \"type\": \"None\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/resourceGroups/testetcd/providers/Microsoft.DocumentDB/databaseAccounts/etcdsignoff0610a\",\r\n \"name\": \"etcdsignoff0610a\",\r\n \"location\": \"North Central US\",\r\n \"type\": \"Microsoft.DocumentDB/databaseAccounts\",\r\n \"kind\": \"GlobalDocumentDB\",\r\n \"tags\": {\r\n \"defaultExperience\": \"Etcd\"\r\n },\r\n \"systemData\": {\r\n \"createdAt\": \"2020-06-10T18:51:29.7518184Z\"\r\n },\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"documentEndpoint\": \"https://etcdsignoff0610a.documents-staging.windows-ppe.net:443/\",\r\n \"etcdEndpoint\": \"https://etcdsignoff0610a.etcd.cosmos.windows-ppe.net:443/\",\r\n \"publicNetworkAccess\": \"Enabled\",\r\n \"enableAutomaticFailover\": false,\r\n \"enableMultipleWriteLocations\": false,\r\n \"enablePartitionKeyMonitor\": false,\r\n \"isVirtualNetworkFilterEnabled\": false,\r\n \"virtualNetworkRules\": [],\r\n \"EnabledApiTypes\": \"Sql, Etcd\",\r\n \"disableKeyBasedMetadataWriteAccess\": false,\r\n \"enableFreeTier\": false,\r\n \"enableAnalyticalStorage\": false,\r\n \"analyticalStorageConfiguration\": null,\r\n \"instanceId\": \"2bec1ce6-81cd-4e63-a48a-4537b38a7b6e\",\r\n \"createMode\": \"Default\",\r\n \"databaseAccountOfferType\": \"Standard\",\r\n \"enableCassandraConnector\": false,\r\n \"connectorOffer\": \"\",\r\n \"defaultIdentity\": \"\",\r\n \"networkAclBypass\": \"None\",\r\n \"consistencyPolicy\": {\r\n \"defaultConsistencyLevel\": \"BoundedStaleness\",\r\n \"maxIntervalInSeconds\": 5,\r\n \"maxStalenessPrefix\": 100\r\n },\r\n \"configurationOverrides\": {},\r\n \"writeLocations\": [\r\n {\r\n \"id\": \"etcdsignoff0610a-northcentralus\",\r\n \"locationName\": \"North Central US\",\r\n \"documentEndpoint\": \"https://etcdsignoff0610a-northcentralus.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"readLocations\": [\r\n {\r\n \"id\": \"etcdsignoff0610a-northcentralus\",\r\n \"locationName\": \"North Central US\",\r\n \"documentEndpoint\": \"https://etcdsignoff0610a-northcentralus.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"locations\": [\r\n {\r\n \"id\": \"etcdsignoff0610a-northcentralus\",\r\n \"locationName\": \"North Central US\",\r\n \"documentEndpoint\": \"https://etcdsignoff0610a-northcentralus.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"failoverPolicies\": [\r\n {\r\n \"id\": \"etcdsignoff0610a-northcentralus\",\r\n \"locationName\": \"North Central US\",\r\n \"failoverPriority\": 0\r\n }\r\n ],\r\n \"cors\": [],\r\n \"capabilities\": [\r\n {\r\n \"name\": \"EnableEtcd\"\r\n }\r\n ],\r\n \"ipRules\": [],\r\n \"backupPolicy\": {\r\n \"type\": \"Periodic\",\r\n \"periodicModeProperties\": {\r\n \"backupIntervalInMinutes\": 60,\r\n \"backupRetentionIntervalInHours\": 8,\r\n \"backupStorageRedundancy\": \"Geo\"\r\n }\r\n },\r\n \"networkAclBypassResourceIds\": []\r\n },\r\n \"identity\": {\r\n \"type\": \"None\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/resourceGroups/etcdstage/providers/Microsoft.DocumentDB/databaseAccounts/etcdstagencus1\",\r\n \"name\": \"etcdstagencus1\",\r\n \"location\": \"North Central US\",\r\n \"type\": \"Microsoft.DocumentDB/databaseAccounts\",\r\n \"kind\": \"GlobalDocumentDB\",\r\n \"tags\": {\r\n \"defaultExperience\": \"Etcd\"\r\n },\r\n \"systemData\": {\r\n \"createdAt\": \"2019-01-25T20:38:35.0298082Z\"\r\n },\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"documentEndpoint\": \"https://etcdstagencus1.documents-staging.windows-ppe.net:443/\",\r\n \"etcdEndpoint\": \"https://etcdstagencus1.etcd.cosmos.windows-ppe.net:443/\",\r\n \"publicNetworkAccess\": \"Enabled\",\r\n \"enableAutomaticFailover\": false,\r\n \"enableMultipleWriteLocations\": false,\r\n \"enablePartitionKeyMonitor\": false,\r\n \"isVirtualNetworkFilterEnabled\": false,\r\n \"virtualNetworkRules\": [],\r\n \"EnabledApiTypes\": \"Sql, Etcd\",\r\n \"disableKeyBasedMetadataWriteAccess\": false,\r\n \"enableFreeTier\": false,\r\n \"enableAnalyticalStorage\": false,\r\n \"analyticalStorageConfiguration\": null,\r\n \"instanceId\": \"f92d5e56-da24-4bad-ba46-9d6e1154349d\",\r\n \"createMode\": \"Default\",\r\n \"databaseAccountOfferType\": \"Standard\",\r\n \"defaultIdentity\": \"\",\r\n \"networkAclBypass\": \"None\",\r\n \"consistencyPolicy\": {\r\n \"defaultConsistencyLevel\": \"BoundedStaleness\",\r\n \"maxIntervalInSeconds\": 5,\r\n \"maxStalenessPrefix\": 100\r\n },\r\n \"configurationOverrides\": {},\r\n \"writeLocations\": [\r\n {\r\n \"id\": \"etcdstagencus1-northcentralus\",\r\n \"locationName\": \"North Central US\",\r\n \"documentEndpoint\": \"https://etcdstagencus1-northcentralus.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"readLocations\": [\r\n {\r\n \"id\": \"etcdstagencus1-northcentralus\",\r\n \"locationName\": \"North Central US\",\r\n \"documentEndpoint\": \"https://etcdstagencus1-northcentralus.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"locations\": [\r\n {\r\n \"id\": \"etcdstagencus1-northcentralus\",\r\n \"locationName\": \"North Central US\",\r\n \"documentEndpoint\": \"https://etcdstagencus1-northcentralus.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"failoverPolicies\": [\r\n {\r\n \"id\": \"etcdstagencus1-northcentralus\",\r\n \"locationName\": \"North Central US\",\r\n \"failoverPriority\": 0\r\n }\r\n ],\r\n \"cors\": [],\r\n \"capabilities\": [\r\n {\r\n \"name\": \"EnableEtcd\"\r\n }\r\n ],\r\n \"ipRules\": [],\r\n \"backupPolicy\": {\r\n \"type\": \"Periodic\",\r\n \"periodicModeProperties\": {\r\n \"backupIntervalInMinutes\": 240,\r\n \"backupRetentionIntervalInHours\": 8,\r\n \"backupStorageRedundancy\": \"Geo\"\r\n }\r\n },\r\n \"networkAclBypassResourceIds\": []\r\n },\r\n \"identity\": {\r\n \"type\": \"None\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/resourceGroups/etcdstage/providers/Microsoft.DocumentDB/databaseAccounts/etcdstagencus2\",\r\n \"name\": \"etcdstagencus2\",\r\n \"location\": \"North Central US\",\r\n \"type\": \"Microsoft.DocumentDB/databaseAccounts\",\r\n \"kind\": \"GlobalDocumentDB\",\r\n \"tags\": {\r\n \"defaultExperience\": \"Etcd\"\r\n },\r\n \"systemData\": {\r\n \"createdAt\": \"2019-03-26T22:17:59.1224071Z\"\r\n },\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"documentEndpoint\": \"https://etcdstagencus2.documents-staging.windows-ppe.net:443/\",\r\n \"etcdEndpoint\": \"https://etcdstagencus2.etcd.cosmos.windows-ppe.net:443/\",\r\n \"publicNetworkAccess\": \"Enabled\",\r\n \"enableAutomaticFailover\": false,\r\n \"enableMultipleWriteLocations\": false,\r\n \"enablePartitionKeyMonitor\": false,\r\n \"isVirtualNetworkFilterEnabled\": false,\r\n \"virtualNetworkRules\": [],\r\n \"EnabledApiTypes\": \"Sql, Etcd\",\r\n \"disableKeyBasedMetadataWriteAccess\": false,\r\n \"enableFreeTier\": false,\r\n \"enableAnalyticalStorage\": false,\r\n \"analyticalStorageConfiguration\": null,\r\n \"instanceId\": \"a0991bac-ea4c-446c-9953-121557e9fa95\",\r\n \"createMode\": \"Default\",\r\n \"databaseAccountOfferType\": \"Standard\",\r\n \"defaultIdentity\": \"\",\r\n \"networkAclBypass\": \"None\",\r\n \"consistencyPolicy\": {\r\n \"defaultConsistencyLevel\": \"BoundedStaleness\",\r\n \"maxIntervalInSeconds\": 5,\r\n \"maxStalenessPrefix\": 100\r\n },\r\n \"configurationOverrides\": {},\r\n \"writeLocations\": [\r\n {\r\n \"id\": \"etcdstagencus2-northcentralus\",\r\n \"locationName\": \"North Central US\",\r\n \"documentEndpoint\": \"https://etcdstagencus2-northcentralus.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"readLocations\": [\r\n {\r\n \"id\": \"etcdstagencus2-northcentralus\",\r\n \"locationName\": \"North Central US\",\r\n \"documentEndpoint\": \"https://etcdstagencus2-northcentralus.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"locations\": [\r\n {\r\n \"id\": \"etcdstagencus2-northcentralus\",\r\n \"locationName\": \"North Central US\",\r\n \"documentEndpoint\": \"https://etcdstagencus2-northcentralus.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"failoverPolicies\": [\r\n {\r\n \"id\": \"etcdstagencus2-northcentralus\",\r\n \"locationName\": \"North Central US\",\r\n \"failoverPriority\": 0\r\n }\r\n ],\r\n \"cors\": [],\r\n \"capabilities\": [\r\n {\r\n \"name\": \"EnableEtcd\"\r\n }\r\n ],\r\n \"ipRules\": [],\r\n \"backupPolicy\": {\r\n \"type\": \"Periodic\",\r\n \"periodicModeProperties\": {\r\n \"backupIntervalInMinutes\": 240,\r\n \"backupRetentionIntervalInHours\": 8,\r\n \"backupStorageRedundancy\": \"Geo\"\r\n }\r\n },\r\n \"networkAclBypassResourceIds\": []\r\n },\r\n \"identity\": {\r\n \"type\": \"None\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/resourceGroups/jihmmtest/providers/Microsoft.DocumentDB/databaseAccounts/ford-mongo-mm\",\r\n \"name\": \"ford-mongo-mm\",\r\n \"location\": \"North Central US\",\r\n \"type\": \"Microsoft.DocumentDB/databaseAccounts\",\r\n \"kind\": \"GlobalDocumentDB\",\r\n \"tags\": {\r\n \"defaultExperience\": \"MongoDB\"\r\n },\r\n \"systemData\": {\r\n \"createdAt\": \"2018-09-12T18:21:28.2105353Z\"\r\n },\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"documentEndpoint\": \"https://ford-mongo-mm.documents-staging.windows-ppe.net:443/\",\r\n \"publicNetworkAccess\": \"Enabled\",\r\n \"enableAutomaticFailover\": false,\r\n \"enableMultipleWriteLocations\": true,\r\n \"enablePartitionKeyMonitor\": false,\r\n \"isVirtualNetworkFilterEnabled\": false,\r\n \"virtualNetworkRules\": [],\r\n \"EnabledApiTypes\": \"Sql\",\r\n \"disableKeyBasedMetadataWriteAccess\": false,\r\n \"enableFreeTier\": false,\r\n \"enableAnalyticalStorage\": false,\r\n \"analyticalStorageConfiguration\": null,\r\n \"instanceId\": \"5d390740-cf60-4622-8cc7-6fc474a7b377\",\r\n \"createMode\": \"Default\",\r\n \"databaseAccountOfferType\": \"Standard\",\r\n \"defaultIdentity\": \"\",\r\n \"networkAclBypass\": \"None\",\r\n \"consistencyPolicy\": {\r\n \"defaultConsistencyLevel\": \"Session\",\r\n \"maxIntervalInSeconds\": 5,\r\n \"maxStalenessPrefix\": 100\r\n },\r\n \"configurationOverrides\": {},\r\n \"writeLocations\": [\r\n {\r\n \"id\": \"ford-mongo-mm-southeastasia\",\r\n \"locationName\": \"Southeast Asia\",\r\n \"documentEndpoint\": \"https://ford-mongo-mm-southeastasia.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n },\r\n {\r\n \"id\": \"ford-mongo-mm-northcentralus\",\r\n \"locationName\": \"North Central US\",\r\n \"documentEndpoint\": \"https://ford-mongo-mm-northcentralus.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 2,\r\n \"isZoneRedundant\": false\r\n },\r\n {\r\n \"id\": \"ford-mongo-mm-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://ford-mongo-mm-eastus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 1,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"readLocations\": [\r\n {\r\n \"id\": \"ford-mongo-mm-southeastasia\",\r\n \"locationName\": \"Southeast Asia\",\r\n \"documentEndpoint\": \"https://ford-mongo-mm-southeastasia.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n },\r\n {\r\n \"id\": \"ford-mongo-mm-northcentralus\",\r\n \"locationName\": \"North Central US\",\r\n \"documentEndpoint\": \"https://ford-mongo-mm-northcentralus.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 2,\r\n \"isZoneRedundant\": false\r\n },\r\n {\r\n \"id\": \"ford-mongo-mm-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://ford-mongo-mm-eastus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 1,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"locations\": [\r\n {\r\n \"id\": \"ford-mongo-mm-southeastasia\",\r\n \"locationName\": \"Southeast Asia\",\r\n \"documentEndpoint\": \"https://ford-mongo-mm-southeastasia.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n },\r\n {\r\n \"id\": \"ford-mongo-mm-northcentralus\",\r\n \"locationName\": \"North Central US\",\r\n \"documentEndpoint\": \"https://ford-mongo-mm-northcentralus.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 2,\r\n \"isZoneRedundant\": false\r\n },\r\n {\r\n \"id\": \"ford-mongo-mm-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://ford-mongo-mm-eastus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 1,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"failoverPolicies\": [\r\n {\r\n \"id\": \"ford-mongo-mm-southeastasia\",\r\n \"locationName\": \"Southeast Asia\",\r\n \"failoverPriority\": 0\r\n },\r\n {\r\n \"id\": \"ford-mongo-mm-northcentralus\",\r\n \"locationName\": \"North Central US\",\r\n \"failoverPriority\": 2\r\n },\r\n {\r\n \"id\": \"ford-mongo-mm-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"failoverPriority\": 1\r\n }\r\n ],\r\n \"cors\": [],\r\n \"capabilities\": [],\r\n \"ipRules\": [],\r\n \"backupPolicy\": {\r\n \"type\": \"Periodic\",\r\n \"periodicModeProperties\": {\r\n \"backupIntervalInMinutes\": 240,\r\n \"backupRetentionIntervalInHours\": 8,\r\n \"backupStorageRedundancy\": \"Geo\"\r\n }\r\n },\r\n \"networkAclBypassResourceIds\": []\r\n },\r\n \"identity\": {\r\n \"type\": \"None\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/resourceGroups/gremlin-staging/providers/Microsoft.DocumentDB/databaseAccounts/gremlin-create-7-2\",\r\n \"name\": \"gremlin-create-7-2\",\r\n \"location\": \"North Central US\",\r\n \"type\": \"Microsoft.DocumentDB/databaseAccounts\",\r\n \"kind\": \"GlobalDocumentDB\",\r\n \"tags\": {},\r\n \"systemData\": {\r\n \"createdAt\": \"2019-07-11T18:45:42.0201653Z\"\r\n },\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"documentEndpoint\": \"https://gremlin-create-7-2.documents-staging.windows-ppe.net:443/\",\r\n \"gremlinEndpoint\": \"https://gremlin-create-7-2.gremlin.cosmos.windows-ppe.net:443/\",\r\n \"publicNetworkAccess\": \"Enabled\",\r\n \"enableAutomaticFailover\": false,\r\n \"enableMultipleWriteLocations\": false,\r\n \"enablePartitionKeyMonitor\": false,\r\n \"isVirtualNetworkFilterEnabled\": false,\r\n \"virtualNetworkRules\": [],\r\n \"EnabledApiTypes\": \"Gremlin, Sql\",\r\n \"disableKeyBasedMetadataWriteAccess\": false,\r\n \"enableFreeTier\": false,\r\n \"enableAnalyticalStorage\": false,\r\n \"analyticalStorageConfiguration\": null,\r\n \"instanceId\": \"0376d463-5459-48d7-8836-601f60a7c7ae\",\r\n \"createMode\": \"Default\",\r\n \"databaseAccountOfferType\": \"Standard\",\r\n \"enableCassandraConnector\": false,\r\n \"connectorOffer\": \"\",\r\n \"defaultIdentity\": \"\",\r\n \"networkAclBypass\": \"None\",\r\n \"consistencyPolicy\": {\r\n \"defaultConsistencyLevel\": \"Session\",\r\n \"maxIntervalInSeconds\": 5,\r\n \"maxStalenessPrefix\": 100\r\n },\r\n \"configurationOverrides\": {},\r\n \"writeLocations\": [\r\n {\r\n \"id\": \"gremlin-create-7-2-northcentralus\",\r\n \"locationName\": \"North Central US\",\r\n \"documentEndpoint\": \"https://gremlin-create-7-2-northcentralus.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"readLocations\": [\r\n {\r\n \"id\": \"gremlin-create-7-2-northcentralus\",\r\n \"locationName\": \"North Central US\",\r\n \"documentEndpoint\": \"https://gremlin-create-7-2-northcentralus.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"locations\": [\r\n {\r\n \"id\": \"gremlin-create-7-2-northcentralus\",\r\n \"locationName\": \"North Central US\",\r\n \"documentEndpoint\": \"https://gremlin-create-7-2-northcentralus.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"failoverPolicies\": [\r\n {\r\n \"id\": \"gremlin-create-7-2-northcentralus\",\r\n \"locationName\": \"North Central US\",\r\n \"failoverPriority\": 0\r\n }\r\n ],\r\n \"cors\": [],\r\n \"capabilities\": [\r\n {\r\n \"name\": \"EnableGremlin\"\r\n }\r\n ],\r\n \"ipRules\": [],\r\n \"backupPolicy\": {\r\n \"type\": \"Periodic\",\r\n \"periodicModeProperties\": {\r\n \"backupIntervalInMinutes\": 240,\r\n \"backupRetentionIntervalInHours\": 8,\r\n \"backupStorageRedundancy\": \"Geo\"\r\n }\r\n },\r\n \"networkAclBypassResourceIds\": []\r\n },\r\n \"identity\": {\r\n \"type\": \"None\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/resourceGroups/gremlin-staging/providers/Microsoft.DocumentDB/databaseAccounts/gremlin-create-test\",\r\n \"name\": \"gremlin-create-test\",\r\n \"location\": \"North Central US\",\r\n \"type\": \"Microsoft.DocumentDB/databaseAccounts\",\r\n \"kind\": \"GlobalDocumentDB\",\r\n \"tags\": {\r\n \"defaultExperience\": \"Gremlin (graph)\"\r\n },\r\n \"systemData\": {\r\n \"createdAt\": \"2019-06-22T02:08:31.6561524Z\"\r\n },\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"documentEndpoint\": \"https://gremlin-create-test.documents-staging.windows-ppe.net:443/\",\r\n \"gremlinEndpoint\": \"https://gremlin-create-test.gremlin.cosmos.windows-ppe.net:443/\",\r\n \"publicNetworkAccess\": \"Enabled\",\r\n \"enableAutomaticFailover\": false,\r\n \"enableMultipleWriteLocations\": false,\r\n \"enablePartitionKeyMonitor\": false,\r\n \"isVirtualNetworkFilterEnabled\": false,\r\n \"virtualNetworkRules\": [],\r\n \"EnabledApiTypes\": \"Gremlin, Sql\",\r\n \"disableKeyBasedMetadataWriteAccess\": false,\r\n \"enableFreeTier\": false,\r\n \"enableAnalyticalStorage\": false,\r\n \"analyticalStorageConfiguration\": null,\r\n \"instanceId\": \"36566f00-f45f-45b3-bc89-3a74fd1ab6ac\",\r\n \"createMode\": \"Default\",\r\n \"databaseAccountOfferType\": \"Standard\",\r\n \"defaultIdentity\": \"\",\r\n \"networkAclBypass\": \"None\",\r\n \"consistencyPolicy\": {\r\n \"defaultConsistencyLevel\": \"Session\",\r\n \"maxIntervalInSeconds\": 5,\r\n \"maxStalenessPrefix\": 100\r\n },\r\n \"configurationOverrides\": {},\r\n \"writeLocations\": [\r\n {\r\n \"id\": \"gremlin-create-test-northcentralus\",\r\n \"locationName\": \"North Central US\",\r\n \"documentEndpoint\": \"https://gremlin-create-test-northcentralus.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"readLocations\": [\r\n {\r\n \"id\": \"gremlin-create-test-northcentralus\",\r\n \"locationName\": \"North Central US\",\r\n \"documentEndpoint\": \"https://gremlin-create-test-northcentralus.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"locations\": [\r\n {\r\n \"id\": \"gremlin-create-test-northcentralus\",\r\n \"locationName\": \"North Central US\",\r\n \"documentEndpoint\": \"https://gremlin-create-test-northcentralus.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"failoverPolicies\": [\r\n {\r\n \"id\": \"gremlin-create-test-northcentralus\",\r\n \"locationName\": \"North Central US\",\r\n \"failoverPriority\": 0\r\n }\r\n ],\r\n \"cors\": [],\r\n \"capabilities\": [\r\n {\r\n \"name\": \"EnableGremlin\"\r\n }\r\n ],\r\n \"ipRules\": [],\r\n \"backupPolicy\": {\r\n \"type\": \"Periodic\",\r\n \"periodicModeProperties\": {\r\n \"backupIntervalInMinutes\": 240,\r\n \"backupRetentionIntervalInHours\": 8,\r\n \"backupStorageRedundancy\": \"Geo\"\r\n }\r\n },\r\n \"networkAclBypassResourceIds\": []\r\n },\r\n \"identity\": {\r\n \"type\": \"None\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/resourceGroups/gremlin-staging/providers/Microsoft.DocumentDB/databaseAccounts/gremlin-en20180628\",\r\n \"name\": \"gremlin-en20180628\",\r\n \"location\": \"North Central US\",\r\n \"type\": \"Microsoft.DocumentDB/databaseAccounts\",\r\n \"kind\": \"GlobalDocumentDB\",\r\n \"tags\": {\r\n \"defaultExperience\": \"Graph\"\r\n },\r\n \"systemData\": {\r\n \"createdAt\": \"2018-07-12T19:17:20.4275521Z\"\r\n },\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"documentEndpoint\": \"https://gremlin-en20180628.documents-staging.windows-ppe.net:443/\",\r\n \"gremlinEndpoint\": \"https://gremlin-en20180628.gremlin.cosmosdb.windows-ppe.net:443/\",\r\n \"publicNetworkAccess\": \"Enabled\",\r\n \"enableAutomaticFailover\": false,\r\n \"enableMultipleWriteLocations\": false,\r\n \"enablePartitionKeyMonitor\": false,\r\n \"isVirtualNetworkFilterEnabled\": false,\r\n \"virtualNetworkRules\": [],\r\n \"EnabledApiTypes\": \"Gremlin, Sql\",\r\n \"disableKeyBasedMetadataWriteAccess\": false,\r\n \"enableFreeTier\": false,\r\n \"enableAnalyticalStorage\": false,\r\n \"analyticalStorageConfiguration\": null,\r\n \"instanceId\": \"9cfe8d1c-0362-490a-9d73-1512d2b4cdd7\",\r\n \"createMode\": \"Default\",\r\n \"databaseAccountOfferType\": \"Standard\",\r\n \"defaultIdentity\": \"\",\r\n \"networkAclBypass\": \"None\",\r\n \"consistencyPolicy\": {\r\n \"defaultConsistencyLevel\": \"Session\",\r\n \"maxIntervalInSeconds\": 5,\r\n \"maxStalenessPrefix\": 100\r\n },\r\n \"configurationOverrides\": {},\r\n \"writeLocations\": [\r\n {\r\n \"id\": \"gremlin-en20180628-northcentralus\",\r\n \"locationName\": \"North Central US\",\r\n \"documentEndpoint\": \"https://gremlin-en20180628-northcentralus.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"readLocations\": [\r\n {\r\n \"id\": \"gremlin-en20180628-northcentralus\",\r\n \"locationName\": \"North Central US\",\r\n \"documentEndpoint\": \"https://gremlin-en20180628-northcentralus.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"locations\": [\r\n {\r\n \"id\": \"gremlin-en20180628-northcentralus\",\r\n \"locationName\": \"North Central US\",\r\n \"documentEndpoint\": \"https://gremlin-en20180628-northcentralus.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"failoverPolicies\": [\r\n {\r\n \"id\": \"gremlin-en20180628-northcentralus\",\r\n \"locationName\": \"North Central US\",\r\n \"failoverPriority\": 0\r\n }\r\n ],\r\n \"cors\": [],\r\n \"capabilities\": [\r\n {\r\n \"name\": \"EnableGremlin\"\r\n }\r\n ],\r\n \"ipRules\": [],\r\n \"backupPolicy\": {\r\n \"type\": \"Periodic\",\r\n \"periodicModeProperties\": {\r\n \"backupIntervalInMinutes\": 240,\r\n \"backupRetentionIntervalInHours\": 8,\r\n \"backupStorageRedundancy\": \"Geo\"\r\n }\r\n },\r\n \"networkAclBypassResourceIds\": []\r\n },\r\n \"identity\": {\r\n \"type\": \"None\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/resourceGroups/gremlin-staging-eastus2/providers/Microsoft.DocumentDB/databaseAccounts/gremlin-maxjoin-test2\",\r\n \"name\": \"gremlin-maxjoin-test2\",\r\n \"location\": \"North Central US\",\r\n \"type\": \"Microsoft.DocumentDB/databaseAccounts\",\r\n \"kind\": \"GlobalDocumentDB\",\r\n \"tags\": {\r\n \"defaultExperience\": \"Gremlin (graph)\"\r\n },\r\n \"systemData\": {\r\n \"createdAt\": \"2019-06-17T19:14:52.2282262Z\"\r\n },\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"documentEndpoint\": \"https://gremlin-maxjoin-test2.documents-staging.windows-ppe.net:443/\",\r\n \"gremlinEndpoint\": \"https://gremlin-maxjoin-test2.gremlin.cosmos.windows-ppe.net:443/\",\r\n \"publicNetworkAccess\": \"Enabled\",\r\n \"enableAutomaticFailover\": false,\r\n \"enableMultipleWriteLocations\": false,\r\n \"enablePartitionKeyMonitor\": false,\r\n \"isVirtualNetworkFilterEnabled\": false,\r\n \"virtualNetworkRules\": [],\r\n \"EnabledApiTypes\": \"Gremlin, Sql\",\r\n \"disableKeyBasedMetadataWriteAccess\": false,\r\n \"enableFreeTier\": false,\r\n \"enableAnalyticalStorage\": false,\r\n \"analyticalStorageConfiguration\": null,\r\n \"instanceId\": \"83c9546d-797a-4bf7-959f-a45a403f45ff\",\r\n \"createMode\": \"Default\",\r\n \"databaseAccountOfferType\": \"Standard\",\r\n \"defaultIdentity\": \"\",\r\n \"networkAclBypass\": \"None\",\r\n \"consistencyPolicy\": {\r\n \"defaultConsistencyLevel\": \"Session\",\r\n \"maxIntervalInSeconds\": 5,\r\n \"maxStalenessPrefix\": 100\r\n },\r\n \"configurationOverrides\": {},\r\n \"writeLocations\": [\r\n {\r\n \"id\": \"gremlin-maxjoin-test2-northcentralus\",\r\n \"locationName\": \"North Central US\",\r\n \"documentEndpoint\": \"https://gremlin-maxjoin-test2-northcentralus.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"readLocations\": [\r\n {\r\n \"id\": \"gremlin-maxjoin-test2-northcentralus\",\r\n \"locationName\": \"North Central US\",\r\n \"documentEndpoint\": \"https://gremlin-maxjoin-test2-northcentralus.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"locations\": [\r\n {\r\n \"id\": \"gremlin-maxjoin-test2-northcentralus\",\r\n \"locationName\": \"North Central US\",\r\n \"documentEndpoint\": \"https://gremlin-maxjoin-test2-northcentralus.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"failoverPolicies\": [\r\n {\r\n \"id\": \"gremlin-maxjoin-test2-northcentralus\",\r\n \"locationName\": \"North Central US\",\r\n \"failoverPriority\": 0\r\n }\r\n ],\r\n \"cors\": [],\r\n \"capabilities\": [\r\n {\r\n \"name\": \"EnableGremlin\"\r\n }\r\n ],\r\n \"ipRules\": [],\r\n \"backupPolicy\": {\r\n \"type\": \"Periodic\",\r\n \"periodicModeProperties\": {\r\n \"backupIntervalInMinutes\": 240,\r\n \"backupRetentionIntervalInHours\": 8,\r\n \"backupStorageRedundancy\": \"Geo\"\r\n }\r\n },\r\n \"networkAclBypassResourceIds\": []\r\n },\r\n \"identity\": {\r\n \"type\": \"None\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/resourceGroups/gremlin-staging/providers/Microsoft.DocumentDB/databaseAccounts/gremlin-staging-ncus\",\r\n \"name\": \"gremlin-staging-ncus\",\r\n \"location\": \"North Central US\",\r\n \"type\": \"Microsoft.DocumentDB/databaseAccounts\",\r\n \"kind\": \"GlobalDocumentDB\",\r\n \"tags\": {\r\n \"defaultExperience\": \"Gremlin (graph)\",\r\n \"hidden-cosmos-mmspecial\": \"\"\r\n },\r\n \"systemData\": {\r\n \"createdAt\": \"2019-11-12T19:35:58.2885645Z\"\r\n },\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"documentEndpoint\": \"https://gremlin-staging-ncus.documents-staging.windows-ppe.net:443/\",\r\n \"gremlinEndpoint\": \"https://gremlin-staging-ncus.gremlin.cosmos.windows-ppe.net:443/\",\r\n \"publicNetworkAccess\": \"Enabled\",\r\n \"enableAutomaticFailover\": false,\r\n \"enableMultipleWriteLocations\": false,\r\n \"enablePartitionKeyMonitor\": false,\r\n \"isVirtualNetworkFilterEnabled\": false,\r\n \"virtualNetworkRules\": [],\r\n \"EnabledApiTypes\": \"Gremlin, Sql\",\r\n \"disableKeyBasedMetadataWriteAccess\": false,\r\n \"enableFreeTier\": false,\r\n \"enableAnalyticalStorage\": false,\r\n \"analyticalStorageConfiguration\": null,\r\n \"instanceId\": \"0201e780-2feb-454c-aeb0-a591b2f786d4\",\r\n \"createMode\": \"Default\",\r\n \"databaseAccountOfferType\": \"Standard\",\r\n \"enableCassandraConnector\": false,\r\n \"connectorOffer\": \"\",\r\n \"defaultIdentity\": \"\",\r\n \"networkAclBypass\": \"None\",\r\n \"consistencyPolicy\": {\r\n \"defaultConsistencyLevel\": \"Session\",\r\n \"maxIntervalInSeconds\": 5,\r\n \"maxStalenessPrefix\": 100\r\n },\r\n \"configurationOverrides\": {},\r\n \"writeLocations\": [\r\n {\r\n \"id\": \"gremlin-staging-ncus-northcentralus\",\r\n \"locationName\": \"North Central US\",\r\n \"documentEndpoint\": \"https://gremlin-staging-ncus-northcentralus.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"readLocations\": [\r\n {\r\n \"id\": \"gremlin-staging-ncus-northcentralus\",\r\n \"locationName\": \"North Central US\",\r\n \"documentEndpoint\": \"https://gremlin-staging-ncus-northcentralus.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"locations\": [\r\n {\r\n \"id\": \"gremlin-staging-ncus-northcentralus\",\r\n \"locationName\": \"North Central US\",\r\n \"documentEndpoint\": \"https://gremlin-staging-ncus-northcentralus.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"failoverPolicies\": [\r\n {\r\n \"id\": \"gremlin-staging-ncus-northcentralus\",\r\n \"locationName\": \"North Central US\",\r\n \"failoverPriority\": 0\r\n }\r\n ],\r\n \"cors\": [],\r\n \"capabilities\": [\r\n {\r\n \"name\": \"EnableGremlin\"\r\n }\r\n ],\r\n \"ipRules\": [],\r\n \"backupPolicy\": {\r\n \"type\": \"Periodic\",\r\n \"periodicModeProperties\": {\r\n \"backupIntervalInMinutes\": 60,\r\n \"backupRetentionIntervalInHours\": 8,\r\n \"backupStorageRedundancy\": \"Geo\"\r\n }\r\n },\r\n \"networkAclBypassResourceIds\": []\r\n },\r\n \"identity\": {\r\n \"type\": \"None\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/resourceGroups/gremlin-staging/providers/Microsoft.DocumentDB/databaseAccounts/gremlin-staging-ncus-v2sdk\",\r\n \"name\": \"gremlin-staging-ncus-v2sdk\",\r\n \"location\": \"North Central US\",\r\n \"type\": \"Microsoft.DocumentDB/databaseAccounts\",\r\n \"kind\": \"GlobalDocumentDB\",\r\n \"tags\": {\r\n \"defaultExperience\": \"Gremlin (graph)\",\r\n \"hidden-cosmos-mmspecial\": \"\",\r\n \"CosmosAccountType\": \"Non-Production\"\r\n },\r\n \"systemData\": {\r\n \"createdAt\": \"2020-02-28T20:26:53.2466425Z\"\r\n },\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"documentEndpoint\": \"https://gremlin-staging-ncus-v2sdk.documents-staging.windows-ppe.net:443/\",\r\n \"gremlinEndpoint\": \"https://gremlin-staging-ncus-v2sdk.gremlin.cosmos.windows-ppe.net:443/\",\r\n \"publicNetworkAccess\": \"Enabled\",\r\n \"enableAutomaticFailover\": false,\r\n \"enableMultipleWriteLocations\": false,\r\n \"enablePartitionKeyMonitor\": false,\r\n \"isVirtualNetworkFilterEnabled\": false,\r\n \"virtualNetworkRules\": [],\r\n \"EnabledApiTypes\": \"Gremlin, Sql\",\r\n \"disableKeyBasedMetadataWriteAccess\": false,\r\n \"enableFreeTier\": false,\r\n \"enableAnalyticalStorage\": false,\r\n \"analyticalStorageConfiguration\": null,\r\n \"instanceId\": \"ca02791b-1b0e-45de-86a3-7b9b82f7a686\",\r\n \"createMode\": \"Default\",\r\n \"databaseAccountOfferType\": \"Standard\",\r\n \"enableCassandraConnector\": false,\r\n \"connectorOffer\": \"\",\r\n \"defaultIdentity\": \"\",\r\n \"networkAclBypass\": \"None\",\r\n \"consistencyPolicy\": {\r\n \"defaultConsistencyLevel\": \"Session\",\r\n \"maxIntervalInSeconds\": 5,\r\n \"maxStalenessPrefix\": 100\r\n },\r\n \"configurationOverrides\": {},\r\n \"writeLocations\": [\r\n {\r\n \"id\": \"gremlin-staging-ncus-v2sdk-northcentralus\",\r\n \"locationName\": \"North Central US\",\r\n \"documentEndpoint\": \"https://gremlin-staging-ncus-v2sdk-northcentralus.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"readLocations\": [\r\n {\r\n \"id\": \"gremlin-staging-ncus-v2sdk-northcentralus\",\r\n \"locationName\": \"North Central US\",\r\n \"documentEndpoint\": \"https://gremlin-staging-ncus-v2sdk-northcentralus.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"locations\": [\r\n {\r\n \"id\": \"gremlin-staging-ncus-v2sdk-northcentralus\",\r\n \"locationName\": \"North Central US\",\r\n \"documentEndpoint\": \"https://gremlin-staging-ncus-v2sdk-northcentralus.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"failoverPolicies\": [\r\n {\r\n \"id\": \"gremlin-staging-ncus-v2sdk-northcentralus\",\r\n \"locationName\": \"North Central US\",\r\n \"failoverPriority\": 0\r\n }\r\n ],\r\n \"cors\": [],\r\n \"capabilities\": [\r\n {\r\n \"name\": \"EnableStorageAnalytics\"\r\n },\r\n {\r\n \"name\": \"EnableGremlin\"\r\n }\r\n ],\r\n \"ipRules\": [],\r\n \"backupPolicy\": {\r\n \"type\": \"Periodic\",\r\n \"periodicModeProperties\": {\r\n \"backupIntervalInMinutes\": 60,\r\n \"backupRetentionIntervalInHours\": 8,\r\n \"backupStorageRedundancy\": \"Geo\"\r\n }\r\n },\r\n \"networkAclBypassResourceIds\": []\r\n },\r\n \"identity\": {\r\n \"type\": \"None\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/resourceGroups/gremlin-staging/providers/Microsoft.DocumentDB/databaseAccounts/gremlinstage1010cli\",\r\n \"name\": \"gremlinstage1010cli\",\r\n \"location\": \"North Central US\",\r\n \"type\": \"Microsoft.DocumentDB/databaseAccounts\",\r\n \"kind\": \"GlobalDocumentDB\",\r\n \"tags\": {},\r\n \"systemData\": {\r\n \"createdAt\": \"2019-10-16T00:32:33.729965Z\"\r\n },\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"documentEndpoint\": \"https://gremlinstage1010cli.documents-staging.windows-ppe.net:443/\",\r\n \"gremlinEndpoint\": \"https://gremlinstage1010cli.gremlin.cosmos.windows-ppe.net:443/\",\r\n \"publicNetworkAccess\": \"Enabled\",\r\n \"enableAutomaticFailover\": false,\r\n \"enableMultipleWriteLocations\": false,\r\n \"enablePartitionKeyMonitor\": false,\r\n \"isVirtualNetworkFilterEnabled\": false,\r\n \"virtualNetworkRules\": [],\r\n \"EnabledApiTypes\": \"Gremlin, Sql\",\r\n \"disableKeyBasedMetadataWriteAccess\": false,\r\n \"enableFreeTier\": false,\r\n \"enableAnalyticalStorage\": false,\r\n \"analyticalStorageConfiguration\": null,\r\n \"instanceId\": \"e7cccc46-4940-4d20-b8ae-93ed87375647\",\r\n \"createMode\": \"Default\",\r\n \"databaseAccountOfferType\": \"Standard\",\r\n \"enableCassandraConnector\": false,\r\n \"connectorOffer\": \"\",\r\n \"defaultIdentity\": \"\",\r\n \"networkAclBypass\": \"None\",\r\n \"consistencyPolicy\": {\r\n \"defaultConsistencyLevel\": \"Session\",\r\n \"maxIntervalInSeconds\": 5,\r\n \"maxStalenessPrefix\": 100\r\n },\r\n \"configurationOverrides\": {},\r\n \"writeLocations\": [\r\n {\r\n \"id\": \"gremlinstage1010cli-northcentralus\",\r\n \"locationName\": \"North Central US\",\r\n \"documentEndpoint\": \"https://gremlinstage1010cli-northcentralus.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"readLocations\": [\r\n {\r\n \"id\": \"gremlinstage1010cli-northcentralus\",\r\n \"locationName\": \"North Central US\",\r\n \"documentEndpoint\": \"https://gremlinstage1010cli-northcentralus.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"locations\": [\r\n {\r\n \"id\": \"gremlinstage1010cli-northcentralus\",\r\n \"locationName\": \"North Central US\",\r\n \"documentEndpoint\": \"https://gremlinstage1010cli-northcentralus.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"failoverPolicies\": [\r\n {\r\n \"id\": \"gremlinstage1010cli-northcentralus\",\r\n \"locationName\": \"North Central US\",\r\n \"failoverPriority\": 0\r\n }\r\n ],\r\n \"cors\": [],\r\n \"capabilities\": [\r\n {\r\n \"name\": \"EnableGremlin\"\r\n }\r\n ],\r\n \"ipRules\": [],\r\n \"backupPolicy\": {\r\n \"type\": \"Periodic\",\r\n \"periodicModeProperties\": {\r\n \"backupIntervalInMinutes\": 60,\r\n \"backupRetentionIntervalInHours\": 8,\r\n \"backupStorageRedundancy\": \"Geo\"\r\n }\r\n },\r\n \"networkAclBypassResourceIds\": []\r\n },\r\n \"identity\": {\r\n \"type\": \"None\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/resourceGroups/harinic/providers/Microsoft.DocumentDB/databaseAccounts/harinicstage2\",\r\n \"name\": \"harinicstage2\",\r\n \"location\": \"North Central US\",\r\n \"type\": \"Microsoft.DocumentDB/databaseAccounts\",\r\n \"kind\": \"GlobalDocumentDB\",\r\n \"tags\": {\r\n \"defaultExperience\": \"Core (SQL)\",\r\n \"hidden-cosmos-mmspecial\": \"\",\r\n \"CosmosAccountType\": \"Non-Production\"\r\n },\r\n \"systemData\": {\r\n \"createdAt\": \"2020-06-26T18:20:24.9238086Z\"\r\n },\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"documentEndpoint\": \"https://harinicstage2.documents-staging.windows-ppe.net:443/\",\r\n \"publicNetworkAccess\": \"Enabled\",\r\n \"enableAutomaticFailover\": false,\r\n \"enableMultipleWriteLocations\": false,\r\n \"enablePartitionKeyMonitor\": false,\r\n \"isVirtualNetworkFilterEnabled\": false,\r\n \"virtualNetworkRules\": [],\r\n \"EnabledApiTypes\": \"Sql\",\r\n \"disableKeyBasedMetadataWriteAccess\": false,\r\n \"enableFreeTier\": false,\r\n \"enableAnalyticalStorage\": false,\r\n \"analyticalStorageConfiguration\": null,\r\n \"instanceId\": \"120101e0-7e5f-4194-9539-0ea9acec4348\",\r\n \"createMode\": \"Default\",\r\n \"databaseAccountOfferType\": \"Standard\",\r\n \"enableCassandraConnector\": false,\r\n \"connectorOffer\": \"\",\r\n \"defaultIdentity\": \"\",\r\n \"networkAclBypass\": \"None\",\r\n \"consistencyPolicy\": {\r\n \"defaultConsistencyLevel\": \"Session\",\r\n \"maxIntervalInSeconds\": 5,\r\n \"maxStalenessPrefix\": 100\r\n },\r\n \"configurationOverrides\": {},\r\n \"writeLocations\": [\r\n {\r\n \"id\": \"harinicstage2-northcentralus\",\r\n \"locationName\": \"North Central US\",\r\n \"documentEndpoint\": \"https://harinicstage2-northcentralus.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"readLocations\": [\r\n {\r\n \"id\": \"harinicstage2-northcentralus\",\r\n \"locationName\": \"North Central US\",\r\n \"documentEndpoint\": \"https://harinicstage2-northcentralus.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n },\r\n {\r\n \"id\": \"harinicstage2-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://harinicstage2-eastus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 1,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"locations\": [\r\n {\r\n \"id\": \"harinicstage2-northcentralus\",\r\n \"locationName\": \"North Central US\",\r\n \"documentEndpoint\": \"https://harinicstage2-northcentralus.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n },\r\n {\r\n \"id\": \"harinicstage2-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://harinicstage2-eastus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 1,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"failoverPolicies\": [\r\n {\r\n \"id\": \"harinicstage2-northcentralus\",\r\n \"locationName\": \"North Central US\",\r\n \"failoverPriority\": 0\r\n },\r\n {\r\n \"id\": \"harinicstage2-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"failoverPriority\": 1\r\n }\r\n ],\r\n \"cors\": [],\r\n \"capabilities\": [],\r\n \"ipRules\": [],\r\n \"backupPolicy\": {\r\n \"type\": \"Periodic\",\r\n \"periodicModeProperties\": {\r\n \"backupIntervalInMinutes\": 60,\r\n \"backupRetentionIntervalInHours\": 8,\r\n \"backupStorageRedundancy\": \"Geo\"\r\n }\r\n },\r\n \"networkAclBypassResourceIds\": []\r\n },\r\n \"identity\": {\r\n \"type\": \"None\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/resourceGroups/akash-cassandra-northcentralus-resource/providers/Microsoft.DocumentDB/databaseAccounts/harsudantest7\",\r\n \"name\": \"harsudantest7\",\r\n \"location\": \"North Central US\",\r\n \"type\": \"Microsoft.DocumentDB/databaseAccounts\",\r\n \"kind\": \"GlobalDocumentDB\",\r\n \"tags\": {\r\n \"defaultExperience\": \"DocumentDB\"\r\n },\r\n \"systemData\": {\r\n \"createdAt\": \"2018-09-18T21:56:18.8457915Z\"\r\n },\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"documentEndpoint\": \"https://harsudantest7.documents-staging.windows-ppe.net:443/\",\r\n \"publicNetworkAccess\": \"Enabled\",\r\n \"enableAutomaticFailover\": false,\r\n \"enableMultipleWriteLocations\": false,\r\n \"enablePartitionKeyMonitor\": false,\r\n \"isVirtualNetworkFilterEnabled\": false,\r\n \"virtualNetworkRules\": [],\r\n \"EnabledApiTypes\": \"Sql\",\r\n \"disableKeyBasedMetadataWriteAccess\": false,\r\n \"enableFreeTier\": false,\r\n \"enableAnalyticalStorage\": false,\r\n \"analyticalStorageConfiguration\": null,\r\n \"instanceId\": \"91c4cf3f-907d-479f-9bdc-d7e7a67b802e\",\r\n \"createMode\": \"Default\",\r\n \"databaseAccountOfferType\": \"Standard\",\r\n \"defaultIdentity\": \"\",\r\n \"networkAclBypass\": \"None\",\r\n \"consistencyPolicy\": {\r\n \"defaultConsistencyLevel\": \"Session\",\r\n \"maxIntervalInSeconds\": 5,\r\n \"maxStalenessPrefix\": 100\r\n },\r\n \"configurationOverrides\": {},\r\n \"writeLocations\": [\r\n {\r\n \"id\": \"harsudantest7-northcentralus\",\r\n \"locationName\": \"North Central US\",\r\n \"documentEndpoint\": \"https://harsudantest7-northcentralus.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"readLocations\": [\r\n {\r\n \"id\": \"harsudantest7-northcentralus\",\r\n \"locationName\": \"North Central US\",\r\n \"documentEndpoint\": \"https://harsudantest7-northcentralus.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n },\r\n {\r\n \"id\": \"harsudantest7-westus2\",\r\n \"locationName\": \"West US 2\",\r\n \"documentEndpoint\": \"https://harsudantest7-westus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 1,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"locations\": [\r\n {\r\n \"id\": \"harsudantest7-northcentralus\",\r\n \"locationName\": \"North Central US\",\r\n \"documentEndpoint\": \"https://harsudantest7-northcentralus.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n },\r\n {\r\n \"id\": \"harsudantest7-westus2\",\r\n \"locationName\": \"West US 2\",\r\n \"documentEndpoint\": \"https://harsudantest7-westus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 1,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"failoverPolicies\": [\r\n {\r\n \"id\": \"harsudantest7-northcentralus\",\r\n \"locationName\": \"North Central US\",\r\n \"failoverPriority\": 0\r\n },\r\n {\r\n \"id\": \"harsudantest7-westus2\",\r\n \"locationName\": \"West US 2\",\r\n \"failoverPriority\": 1\r\n }\r\n ],\r\n \"cors\": [],\r\n \"capabilities\": [],\r\n \"ipRules\": [],\r\n \"backupPolicy\": {\r\n \"type\": \"Periodic\",\r\n \"periodicModeProperties\": {\r\n \"backupIntervalInMinutes\": 240,\r\n \"backupRetentionIntervalInHours\": 8,\r\n \"backupStorageRedundancy\": \"Geo\"\r\n }\r\n },\r\n \"networkAclBypassResourceIds\": []\r\n },\r\n \"identity\": {\r\n \"type\": \"None\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/resourceGroups/kuma/providers/Microsoft.DocumentDB/databaseAccounts/kumacapital-nc\",\r\n \"name\": \"kumacapital-nc\",\r\n \"location\": \"North Central US\",\r\n \"type\": \"Microsoft.DocumentDB/databaseAccounts\",\r\n \"kind\": \"GlobalDocumentDB\",\r\n \"tags\": {\r\n \"defaultExperience\": \"Cassandra\"\r\n },\r\n \"systemData\": {\r\n \"createdAt\": \"2018-08-24T05:39:24.5145204Z\"\r\n },\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"documentEndpoint\": \"https://kumacapital-nc.documents-staging.windows-ppe.net:443/\",\r\n \"cassandraEndpoint\": \"https://kumacapital-nc.cassandra.cosmosdb.windows-ppe.net:443/\",\r\n \"publicNetworkAccess\": \"Enabled\",\r\n \"enableAutomaticFailover\": false,\r\n \"enableMultipleWriteLocations\": false,\r\n \"enablePartitionKeyMonitor\": false,\r\n \"isVirtualNetworkFilterEnabled\": false,\r\n \"virtualNetworkRules\": [],\r\n \"EnabledApiTypes\": \"Cassandra\",\r\n \"disableKeyBasedMetadataWriteAccess\": false,\r\n \"enableFreeTier\": false,\r\n \"enableAnalyticalStorage\": false,\r\n \"analyticalStorageConfiguration\": null,\r\n \"instanceId\": \"6092a46a-47bc-4c2c-ad36-26ab6c9d867f\",\r\n \"createMode\": \"Default\",\r\n \"databaseAccountOfferType\": \"Standard\",\r\n \"defaultIdentity\": \"\",\r\n \"networkAclBypass\": \"None\",\r\n \"consistencyPolicy\": {\r\n \"defaultConsistencyLevel\": \"Session\",\r\n \"maxIntervalInSeconds\": 5,\r\n \"maxStalenessPrefix\": 100\r\n },\r\n \"configurationOverrides\": {},\r\n \"writeLocations\": [\r\n {\r\n \"id\": \"kumacapital-nc-northcentralus\",\r\n \"locationName\": \"North Central US\",\r\n \"documentEndpoint\": \"https://kumacapital-nc-northcentralus.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"readLocations\": [\r\n {\r\n \"id\": \"kumacapital-nc-northcentralus\",\r\n \"locationName\": \"North Central US\",\r\n \"documentEndpoint\": \"https://kumacapital-nc-northcentralus.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"locations\": [\r\n {\r\n \"id\": \"kumacapital-nc-northcentralus\",\r\n \"locationName\": \"North Central US\",\r\n \"documentEndpoint\": \"https://kumacapital-nc-northcentralus.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"failoverPolicies\": [\r\n {\r\n \"id\": \"kumacapital-nc-northcentralus\",\r\n \"locationName\": \"North Central US\",\r\n \"failoverPriority\": 0\r\n }\r\n ],\r\n \"cors\": [],\r\n \"capabilities\": [\r\n {\r\n \"name\": \"EnableCassandra\"\r\n }\r\n ],\r\n \"ipRules\": [],\r\n \"backupPolicy\": {\r\n \"type\": \"Periodic\",\r\n \"periodicModeProperties\": {\r\n \"backupIntervalInMinutes\": 240,\r\n \"backupRetentionIntervalInHours\": 8,\r\n \"backupStorageRedundancy\": \"Geo\"\r\n }\r\n },\r\n \"networkAclBypassResourceIds\": []\r\n },\r\n \"identity\": {\r\n \"type\": \"None\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/resourceGroups/shreshts/providers/Microsoft.DocumentDB/databaseAccounts/messi\",\r\n \"name\": \"messi\",\r\n \"location\": \"North Central US\",\r\n \"type\": \"Microsoft.DocumentDB/databaseAccounts\",\r\n \"kind\": \"GlobalDocumentDB\",\r\n \"tags\": {\r\n \"defaultExperience\": \"DocumentDB\"\r\n },\r\n \"systemData\": {\r\n \"createdAt\": \"2018-09-16T19:20:28.5202571Z\"\r\n },\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"documentEndpoint\": \"https://messi.documents-staging.windows-ppe.net:443/\",\r\n \"publicNetworkAccess\": \"Enabled\",\r\n \"enableAutomaticFailover\": false,\r\n \"enableMultipleWriteLocations\": true,\r\n \"enablePartitionKeyMonitor\": false,\r\n \"isVirtualNetworkFilterEnabled\": false,\r\n \"virtualNetworkRules\": [],\r\n \"EnabledApiTypes\": \"Sql\",\r\n \"disableKeyBasedMetadataWriteAccess\": false,\r\n \"enableFreeTier\": false,\r\n \"enableAnalyticalStorage\": false,\r\n \"analyticalStorageConfiguration\": null,\r\n \"instanceId\": \"519a68a6-21bc-4840-a6aa-4bac329bcee6\",\r\n \"createMode\": \"Default\",\r\n \"databaseAccountOfferType\": \"Standard\",\r\n \"defaultIdentity\": \"\",\r\n \"networkAclBypass\": \"None\",\r\n \"consistencyPolicy\": {\r\n \"defaultConsistencyLevel\": \"Session\",\r\n \"maxIntervalInSeconds\": 5,\r\n \"maxStalenessPrefix\": 100\r\n },\r\n \"configurationOverrides\": {},\r\n \"writeLocations\": [\r\n {\r\n \"id\": \"messi-southeastasia\",\r\n \"locationName\": \"Southeast Asia\",\r\n \"documentEndpoint\": \"https://messi-southeastasia.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n },\r\n {\r\n \"id\": \"messi-northcentralus\",\r\n \"locationName\": \"North Central US\",\r\n \"documentEndpoint\": \"https://messi-northcentralus.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 2,\r\n \"isZoneRedundant\": false\r\n },\r\n {\r\n \"id\": \"messi-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://messi-eastus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 1,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"readLocations\": [\r\n {\r\n \"id\": \"messi-southeastasia\",\r\n \"locationName\": \"Southeast Asia\",\r\n \"documentEndpoint\": \"https://messi-southeastasia.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n },\r\n {\r\n \"id\": \"messi-northcentralus\",\r\n \"locationName\": \"North Central US\",\r\n \"documentEndpoint\": \"https://messi-northcentralus.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 2,\r\n \"isZoneRedundant\": false\r\n },\r\n {\r\n \"id\": \"messi-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://messi-eastus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 1,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"locations\": [\r\n {\r\n \"id\": \"messi-southeastasia\",\r\n \"locationName\": \"Southeast Asia\",\r\n \"documentEndpoint\": \"https://messi-southeastasia.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n },\r\n {\r\n \"id\": \"messi-northcentralus\",\r\n \"locationName\": \"North Central US\",\r\n \"documentEndpoint\": \"https://messi-northcentralus.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 2,\r\n \"isZoneRedundant\": false\r\n },\r\n {\r\n \"id\": \"messi-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://messi-eastus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 1,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"failoverPolicies\": [\r\n {\r\n \"id\": \"messi-southeastasia\",\r\n \"locationName\": \"Southeast Asia\",\r\n \"failoverPriority\": 0\r\n },\r\n {\r\n \"id\": \"messi-northcentralus\",\r\n \"locationName\": \"North Central US\",\r\n \"failoverPriority\": 2\r\n },\r\n {\r\n \"id\": \"messi-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"failoverPriority\": 1\r\n }\r\n ],\r\n \"cors\": [],\r\n \"capabilities\": [],\r\n \"ipRules\": [],\r\n \"backupPolicy\": {\r\n \"type\": \"Periodic\",\r\n \"periodicModeProperties\": {\r\n \"backupIntervalInMinutes\": 240,\r\n \"backupRetentionIntervalInHours\": 8,\r\n \"backupStorageRedundancy\": \"Geo\"\r\n }\r\n },\r\n \"networkAclBypassResourceIds\": []\r\n },\r\n \"identity\": {\r\n \"type\": \"None\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/resourceGroups/shqintest/providers/Microsoft.DocumentDB/databaseAccounts/metricstestingstage\",\r\n \"name\": \"metricstestingstage\",\r\n \"location\": \"North Central US\",\r\n \"type\": \"Microsoft.DocumentDB/databaseAccounts\",\r\n \"kind\": \"GlobalDocumentDB\",\r\n \"tags\": {\r\n \"defaultExperience\": \"DocumentDB\",\r\n \"testtag\": \"abc\"\r\n },\r\n \"systemData\": {\r\n \"createdAt\": \"2018-12-11T23:59:06.0447436Z\"\r\n },\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"documentEndpoint\": \"https://metricstestingstage.documents-staging.windows-ppe.net:443/\",\r\n \"publicNetworkAccess\": \"Enabled\",\r\n \"enableAutomaticFailover\": false,\r\n \"enableMultipleWriteLocations\": true,\r\n \"enablePartitionKeyMonitor\": false,\r\n \"isVirtualNetworkFilterEnabled\": false,\r\n \"virtualNetworkRules\": [],\r\n \"EnabledApiTypes\": \"Sql\",\r\n \"disableKeyBasedMetadataWriteAccess\": false,\r\n \"enableFreeTier\": false,\r\n \"enableAnalyticalStorage\": false,\r\n \"analyticalStorageConfiguration\": null,\r\n \"instanceId\": \"828a4909-dc02-4f95-a2d2-9c159df2339d\",\r\n \"createMode\": \"Default\",\r\n \"databaseAccountOfferType\": \"Standard\",\r\n \"defaultIdentity\": \"\",\r\n \"networkAclBypass\": \"None\",\r\n \"consistencyPolicy\": {\r\n \"defaultConsistencyLevel\": \"Session\",\r\n \"maxIntervalInSeconds\": 5,\r\n \"maxStalenessPrefix\": 100\r\n },\r\n \"configurationOverrides\": {},\r\n \"writeLocations\": [\r\n {\r\n \"id\": \"metricstestingstage-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://metricstestingstage-eastus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"readLocations\": [\r\n {\r\n \"id\": \"metricstestingstage-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://metricstestingstage-eastus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"locations\": [\r\n {\r\n \"id\": \"metricstestingstage-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://metricstestingstage-eastus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"failoverPolicies\": [\r\n {\r\n \"id\": \"metricstestingstage-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"failoverPriority\": 0\r\n }\r\n ],\r\n \"cors\": [],\r\n \"capabilities\": [],\r\n \"ipRules\": [],\r\n \"backupPolicy\": {\r\n \"type\": \"Periodic\",\r\n \"periodicModeProperties\": {\r\n \"backupIntervalInMinutes\": 240,\r\n \"backupRetentionIntervalInHours\": 8,\r\n \"backupStorageRedundancy\": \"Geo\"\r\n }\r\n },\r\n \"networkAclBypassResourceIds\": []\r\n },\r\n \"identity\": {\r\n \"type\": \"None\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/resourceGroups/mkolt-stage/providers/Microsoft.DocumentDB/databaseAccounts/mkolt-stage-sm\",\r\n \"name\": \"mkolt-stage-sm\",\r\n \"location\": \"North Central US\",\r\n \"type\": \"Microsoft.DocumentDB/databaseAccounts\",\r\n \"kind\": \"GlobalDocumentDB\",\r\n \"tags\": {\r\n \"defaultExperience\": \"Core (SQL)\",\r\n \"hidden-cosmos-mmspecial\": \"\",\r\n \"CosmosAccountType\": \"Non-Production\"\r\n },\r\n \"systemData\": {\r\n \"createdAt\": \"2021-04-12T20:03:16.7583007Z\"\r\n },\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"documentEndpoint\": \"https://mkolt-stage-sm.documents-staging.windows-ppe.net:443/\",\r\n \"publicNetworkAccess\": \"Enabled\",\r\n \"enableAutomaticFailover\": true,\r\n \"enableMultipleWriteLocations\": false,\r\n \"enablePartitionKeyMonitor\": false,\r\n \"isVirtualNetworkFilterEnabled\": false,\r\n \"virtualNetworkRules\": [],\r\n \"EnabledApiTypes\": \"Sql\",\r\n \"disableKeyBasedMetadataWriteAccess\": false,\r\n \"enableFreeTier\": false,\r\n \"enableAnalyticalStorage\": false,\r\n \"analyticalStorageConfiguration\": null,\r\n \"instanceId\": \"6ae57f6a-1100-479e-b698-28c21a10e9f0\",\r\n \"createMode\": \"Default\",\r\n \"databaseAccountOfferType\": \"Standard\",\r\n \"enableCassandraConnector\": false,\r\n \"connectorOffer\": \"\",\r\n \"enableMaterializedViews\": false,\r\n \"enableFullFidelityChangeFeed\": false,\r\n \"defaultIdentity\": \"FirstPartyIdentity\",\r\n \"networkAclBypass\": \"None\",\r\n \"consistencyPolicy\": {\r\n \"defaultConsistencyLevel\": \"Session\",\r\n \"maxIntervalInSeconds\": 5,\r\n \"maxStalenessPrefix\": 100\r\n },\r\n \"configurationOverrides\": {},\r\n \"writeLocations\": [\r\n {\r\n \"id\": \"mkolt-stage-sm-northcentralus\",\r\n \"locationName\": \"North Central US\",\r\n \"documentEndpoint\": \"https://mkolt-stage-sm-northcentralus.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"readLocations\": [\r\n {\r\n \"id\": \"mkolt-stage-sm-northcentralus\",\r\n \"locationName\": \"North Central US\",\r\n \"documentEndpoint\": \"https://mkolt-stage-sm-northcentralus.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n },\r\n {\r\n \"id\": \"mkolt-stage-sm-westus2\",\r\n \"locationName\": \"West US 2\",\r\n \"documentEndpoint\": \"https://mkolt-stage-sm-westus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 1,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"locations\": [\r\n {\r\n \"id\": \"mkolt-stage-sm-northcentralus\",\r\n \"locationName\": \"North Central US\",\r\n \"documentEndpoint\": \"https://mkolt-stage-sm-northcentralus.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n },\r\n {\r\n \"id\": \"mkolt-stage-sm-westus2\",\r\n \"locationName\": \"West US 2\",\r\n \"documentEndpoint\": \"https://mkolt-stage-sm-westus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 1,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"failoverPolicies\": [\r\n {\r\n \"id\": \"mkolt-stage-sm-northcentralus\",\r\n \"locationName\": \"North Central US\",\r\n \"failoverPriority\": 0\r\n },\r\n {\r\n \"id\": \"mkolt-stage-sm-westus2\",\r\n \"locationName\": \"West US 2\",\r\n \"failoverPriority\": 1\r\n }\r\n ],\r\n \"cors\": [],\r\n \"capabilities\": [],\r\n \"ipRules\": [],\r\n \"backupPolicy\": {\r\n \"type\": \"Periodic\",\r\n \"periodicModeProperties\": {\r\n \"backupIntervalInMinutes\": 240,\r\n \"backupRetentionIntervalInHours\": 8,\r\n \"backupStorageRedundancy\": \"Geo\"\r\n }\r\n },\r\n \"networkAclBypassResourceIds\": []\r\n },\r\n \"identity\": {\r\n \"type\": \"None\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/resourceGroups/ashwsing-rg/providers/Microsoft.DocumentDB/databaseAccounts/mognostagesignoff7\",\r\n \"name\": \"mognostagesignoff7\",\r\n \"location\": \"North Central US\",\r\n \"type\": \"Microsoft.DocumentDB/databaseAccounts\",\r\n \"kind\": \"MongoDB\",\r\n \"tags\": {\r\n \"defaultExperience\": \"Azure Cosmos DB for MongoDB API\",\r\n \"hidden-cosmos-mmspecial\": \"\",\r\n \"CosmosAccountType\": \"Production\"\r\n },\r\n \"systemData\": {\r\n \"createdAt\": \"2020-06-26T18:18:36.2451251Z\"\r\n },\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"documentEndpoint\": \"https://mognostagesignoff7.documents-staging.windows-ppe.net:443/\",\r\n \"mongoEndpoint\": \"https://mognostagesignoff7.mongo.cosmos.windows-ppe.net:443/\",\r\n \"publicNetworkAccess\": \"Enabled\",\r\n \"enableAutomaticFailover\": false,\r\n \"enableMultipleWriteLocations\": true,\r\n \"enablePartitionKeyMonitor\": false,\r\n \"isVirtualNetworkFilterEnabled\": false,\r\n \"virtualNetworkRules\": [],\r\n \"EnabledApiTypes\": \"MongoDB\",\r\n \"disableKeyBasedMetadataWriteAccess\": false,\r\n \"enableFreeTier\": false,\r\n \"enableAnalyticalStorage\": false,\r\n \"analyticalStorageConfiguration\": null,\r\n \"instanceId\": \"2e96413c-65e2-49d8-aeef-0806e98e3a5e\",\r\n \"createMode\": \"Default\",\r\n \"databaseAccountOfferType\": \"Standard\",\r\n \"enableCassandraConnector\": false,\r\n \"connectorOffer\": \"\",\r\n \"defaultIdentity\": \"\",\r\n \"networkAclBypass\": \"None\",\r\n \"consistencyPolicy\": {\r\n \"defaultConsistencyLevel\": \"Session\",\r\n \"maxIntervalInSeconds\": 5,\r\n \"maxStalenessPrefix\": 100\r\n },\r\n \"apiProperties\": {\r\n \"serverVersion\": \"3.6\"\r\n },\r\n \"configurationOverrides\": {\r\n \"EnableBsonSchema\": \"True\"\r\n },\r\n \"writeLocations\": [\r\n {\r\n \"id\": \"mognostagesignoff7-northcentralus\",\r\n \"locationName\": \"North Central US\",\r\n \"documentEndpoint\": \"https://mognostagesignoff7-northcentralus.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"readLocations\": [\r\n {\r\n \"id\": \"mognostagesignoff7-northcentralus\",\r\n \"locationName\": \"North Central US\",\r\n \"documentEndpoint\": \"https://mognostagesignoff7-northcentralus.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"locations\": [\r\n {\r\n \"id\": \"mognostagesignoff7-northcentralus\",\r\n \"locationName\": \"North Central US\",\r\n \"documentEndpoint\": \"https://mognostagesignoff7-northcentralus.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"failoverPolicies\": [\r\n {\r\n \"id\": \"mognostagesignoff7-northcentralus\",\r\n \"locationName\": \"North Central US\",\r\n \"failoverPriority\": 0\r\n }\r\n ],\r\n \"cors\": [],\r\n \"capabilities\": [\r\n {\r\n \"name\": \"EnableMongo\"\r\n },\r\n {\r\n \"name\": \"DisableRateLimitingResponses\"\r\n }\r\n ],\r\n \"ipRules\": [\r\n {\r\n \"ipAddressOrRange\": \"104.42.195.92\"\r\n },\r\n {\r\n \"ipAddressOrRange\": \"40.76.54.131\"\r\n },\r\n {\r\n \"ipAddressOrRange\": \"52.176.6.30\"\r\n },\r\n {\r\n \"ipAddressOrRange\": \"52.169.50.45\"\r\n },\r\n {\r\n \"ipAddressOrRange\": \"52.187.184.26\"\r\n }\r\n ],\r\n \"backupPolicy\": {\r\n \"type\": \"Periodic\",\r\n \"periodicModeProperties\": {\r\n \"backupIntervalInMinutes\": 60,\r\n \"backupRetentionIntervalInHours\": 8,\r\n \"backupStorageRedundancy\": \"Geo\"\r\n }\r\n },\r\n \"networkAclBypassResourceIds\": []\r\n },\r\n \"identity\": {\r\n \"type\": \"None\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/resourceGroups/mominag-cassandra/providers/Microsoft.DocumentDB/databaseAccounts/mominag-stagec1\",\r\n \"name\": \"mominag-stagec1\",\r\n \"location\": \"North Central US\",\r\n \"type\": \"Microsoft.DocumentDB/databaseAccounts\",\r\n \"kind\": \"GlobalDocumentDB\",\r\n \"tags\": {\r\n \"defaultExperience\": \"Cassandra\"\r\n },\r\n \"systemData\": {\r\n \"createdAt\": \"2018-12-20T22:23:31.7773687Z\"\r\n },\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"documentEndpoint\": \"https://mominag-stagec1.documents-staging.windows-ppe.net:443/\",\r\n \"cassandraEndpoint\": \"https://mominag-stagec1.cassandra.cosmosdb.windows-ppe.net:443/\",\r\n \"publicNetworkAccess\": \"Enabled\",\r\n \"enableAutomaticFailover\": false,\r\n \"enableMultipleWriteLocations\": true,\r\n \"enablePartitionKeyMonitor\": false,\r\n \"isVirtualNetworkFilterEnabled\": false,\r\n \"virtualNetworkRules\": [],\r\n \"EnabledApiTypes\": \"Cassandra\",\r\n \"disableKeyBasedMetadataWriteAccess\": false,\r\n \"enableFreeTier\": false,\r\n \"enableAnalyticalStorage\": false,\r\n \"analyticalStorageConfiguration\": null,\r\n \"instanceId\": \"0b52698f-beb5-42c5-bcce-56e4497daa07\",\r\n \"createMode\": \"Default\",\r\n \"databaseAccountOfferType\": \"Standard\",\r\n \"defaultIdentity\": \"\",\r\n \"networkAclBypass\": \"None\",\r\n \"consistencyPolicy\": {\r\n \"defaultConsistencyLevel\": \"Session\",\r\n \"maxIntervalInSeconds\": 5,\r\n \"maxStalenessPrefix\": 100\r\n },\r\n \"configurationOverrides\": {},\r\n \"writeLocations\": [\r\n {\r\n \"id\": \"mominag-stagec1-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://mominag-stagec1-eastus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Updating\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n },\r\n {\r\n \"id\": \"mominag-stagec1-northcentralus\",\r\n \"locationName\": \"North Central US\",\r\n \"documentEndpoint\": \"https://mominag-stagec1-northcentralus.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 1,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"readLocations\": [\r\n {\r\n \"id\": \"mominag-stagec1-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://mominag-stagec1-eastus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Updating\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n },\r\n {\r\n \"id\": \"mominag-stagec1-northcentralus\",\r\n \"locationName\": \"North Central US\",\r\n \"documentEndpoint\": \"https://mominag-stagec1-northcentralus.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 1,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"locations\": [\r\n {\r\n \"id\": \"mominag-stagec1-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://mominag-stagec1-eastus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Updating\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n },\r\n {\r\n \"id\": \"mominag-stagec1-northcentralus\",\r\n \"locationName\": \"North Central US\",\r\n \"documentEndpoint\": \"https://mominag-stagec1-northcentralus.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 1,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"failoverPolicies\": [\r\n {\r\n \"id\": \"mominag-stagec1-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"failoverPriority\": 0\r\n },\r\n {\r\n \"id\": \"mominag-stagec1-northcentralus\",\r\n \"locationName\": \"North Central US\",\r\n \"failoverPriority\": 1\r\n }\r\n ],\r\n \"cors\": [],\r\n \"capabilities\": [\r\n {\r\n \"name\": \"EnableCassandra\"\r\n }\r\n ],\r\n \"ipRules\": [],\r\n \"backupPolicy\": {\r\n \"type\": \"Periodic\",\r\n \"periodicModeProperties\": {\r\n \"backupIntervalInMinutes\": 240,\r\n \"backupRetentionIntervalInHours\": 8,\r\n \"backupStorageRedundancy\": \"Geo\"\r\n }\r\n },\r\n \"networkAclBypassResourceIds\": []\r\n },\r\n \"identity\": {\r\n \"type\": \"None\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/resourceGroups/babatsai-rg-signoff/providers/Microsoft.DocumentDB/databaseAccounts/mong-test\",\r\n \"name\": \"mong-test\",\r\n \"location\": \"North Central US\",\r\n \"type\": \"Microsoft.DocumentDB/databaseAccounts\",\r\n \"kind\": \"MongoDB\",\r\n \"tags\": {\r\n \"defaultExperience\": \"Azure Cosmos DB for MongoDB API\"\r\n },\r\n \"systemData\": {\r\n \"createdAt\": \"2019-07-04T00:42:03.6377663Z\"\r\n },\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"documentEndpoint\": \"https://mong-test.documents-staging.windows-ppe.net:443/\",\r\n \"publicNetworkAccess\": \"Enabled\",\r\n \"enableAutomaticFailover\": false,\r\n \"enableMultipleWriteLocations\": false,\r\n \"enablePartitionKeyMonitor\": false,\r\n \"isVirtualNetworkFilterEnabled\": false,\r\n \"virtualNetworkRules\": [],\r\n \"EnabledApiTypes\": \"MongoDB\",\r\n \"disableKeyBasedMetadataWriteAccess\": false,\r\n \"enableFreeTier\": false,\r\n \"enableAnalyticalStorage\": false,\r\n \"analyticalStorageConfiguration\": null,\r\n \"instanceId\": \"4dc7f5de-13c9-4abb-8ac0-63f188e834c1\",\r\n \"createMode\": \"Default\",\r\n \"databaseAccountOfferType\": \"Standard\",\r\n \"enableCassandraConnector\": false,\r\n \"connectorOffer\": \"\",\r\n \"defaultIdentity\": \"\",\r\n \"networkAclBypass\": \"None\",\r\n \"consistencyPolicy\": {\r\n \"defaultConsistencyLevel\": \"Session\",\r\n \"maxIntervalInSeconds\": 5,\r\n \"maxStalenessPrefix\": 100\r\n },\r\n \"apiProperties\": {\r\n \"serverVersion\": \"3.2\"\r\n },\r\n \"configurationOverrides\": {\r\n \"EnableBsonSchema\": \"True\"\r\n },\r\n \"writeLocations\": [\r\n {\r\n \"id\": \"mong-test-northcentralus\",\r\n \"locationName\": \"North Central US\",\r\n \"documentEndpoint\": \"https://mong-test-northcentralus.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"readLocations\": [\r\n {\r\n \"id\": \"mong-test-northcentralus\",\r\n \"locationName\": \"North Central US\",\r\n \"documentEndpoint\": \"https://mong-test-northcentralus.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"locations\": [\r\n {\r\n \"id\": \"mong-test-northcentralus\",\r\n \"locationName\": \"North Central US\",\r\n \"documentEndpoint\": \"https://mong-test-northcentralus.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"failoverPolicies\": [\r\n {\r\n \"id\": \"mong-test-northcentralus\",\r\n \"locationName\": \"North Central US\",\r\n \"failoverPriority\": 0\r\n }\r\n ],\r\n \"cors\": [],\r\n \"capabilities\": [],\r\n \"ipRules\": [],\r\n \"backupPolicy\": {\r\n \"type\": \"Periodic\",\r\n \"periodicModeProperties\": {\r\n \"backupIntervalInMinutes\": 240,\r\n \"backupRetentionIntervalInHours\": 8,\r\n \"backupStorageRedundancy\": \"Geo\"\r\n }\r\n },\r\n \"networkAclBypassResourceIds\": []\r\n },\r\n \"identity\": {\r\n \"type\": \"None\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/resourceGroups/mongo-multimaster-signoff/providers/Microsoft.DocumentDB/databaseAccounts/mongo-multimaster-signoffalt\",\r\n \"name\": \"mongo-multimaster-signoffalt\",\r\n \"location\": \"North Central US\",\r\n \"type\": \"Microsoft.DocumentDB/databaseAccounts\",\r\n \"kind\": \"MongoDB\",\r\n \"tags\": {\r\n \"defaultExperience\": \"MongoDB\"\r\n },\r\n \"systemData\": {\r\n \"createdAt\": \"2018-10-09T18:34:18.9363857Z\"\r\n },\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"documentEndpoint\": \"https://mongo-multimaster-signoffalt.documents-staging.windows-ppe.net:443/\",\r\n \"publicNetworkAccess\": \"Enabled\",\r\n \"enableAutomaticFailover\": false,\r\n \"enableMultipleWriteLocations\": true,\r\n \"enablePartitionKeyMonitor\": false,\r\n \"isVirtualNetworkFilterEnabled\": false,\r\n \"virtualNetworkRules\": [],\r\n \"EnabledApiTypes\": \"MongoDB\",\r\n \"disableKeyBasedMetadataWriteAccess\": false,\r\n \"enableFreeTier\": false,\r\n \"enableAnalyticalStorage\": false,\r\n \"analyticalStorageConfiguration\": null,\r\n \"instanceId\": \"e3666bfd-d259-4244-842c-7c7739391e1f\",\r\n \"createMode\": \"Default\",\r\n \"databaseAccountOfferType\": \"Standard\",\r\n \"defaultIdentity\": \"\",\r\n \"networkAclBypass\": \"None\",\r\n \"consistencyPolicy\": {\r\n \"defaultConsistencyLevel\": \"Session\",\r\n \"maxIntervalInSeconds\": 5,\r\n \"maxStalenessPrefix\": 100\r\n },\r\n \"apiProperties\": {\r\n \"serverVersion\": \"3.2\"\r\n },\r\n \"configurationOverrides\": {\r\n \"EnableBsonSchema\": \"True\"\r\n },\r\n \"writeLocations\": [\r\n {\r\n \"id\": \"mongo-multimaster-signoffalt-southeastasia\",\r\n \"locationName\": \"Southeast Asia\",\r\n \"documentEndpoint\": \"https://mongo-multimaster-signoffalt-southeastasia.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n },\r\n {\r\n \"id\": \"mongo-multimaster-signoffalt-northcentralus\",\r\n \"locationName\": \"North Central US\",\r\n \"documentEndpoint\": \"https://mongo-multimaster-signoffalt-northcentralus.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 1,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"readLocations\": [\r\n {\r\n \"id\": \"mongo-multimaster-signoffalt-southeastasia\",\r\n \"locationName\": \"Southeast Asia\",\r\n \"documentEndpoint\": \"https://mongo-multimaster-signoffalt-southeastasia.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n },\r\n {\r\n \"id\": \"mongo-multimaster-signoffalt-northcentralus\",\r\n \"locationName\": \"North Central US\",\r\n \"documentEndpoint\": \"https://mongo-multimaster-signoffalt-northcentralus.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 1,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"locations\": [\r\n {\r\n \"id\": \"mongo-multimaster-signoffalt-southeastasia\",\r\n \"locationName\": \"Southeast Asia\",\r\n \"documentEndpoint\": \"https://mongo-multimaster-signoffalt-southeastasia.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n },\r\n {\r\n \"id\": \"mongo-multimaster-signoffalt-northcentralus\",\r\n \"locationName\": \"North Central US\",\r\n \"documentEndpoint\": \"https://mongo-multimaster-signoffalt-northcentralus.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 1,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"failoverPolicies\": [\r\n {\r\n \"id\": \"mongo-multimaster-signoffalt-southeastasia\",\r\n \"locationName\": \"Southeast Asia\",\r\n \"failoverPriority\": 0\r\n },\r\n {\r\n \"id\": \"mongo-multimaster-signoffalt-northcentralus\",\r\n \"locationName\": \"North Central US\",\r\n \"failoverPriority\": 1\r\n }\r\n ],\r\n \"cors\": [],\r\n \"capabilities\": [\r\n {\r\n \"name\": \"mongoEnableDocLevelTTL\"\r\n },\r\n {\r\n \"name\": \"EnableAggregationPipeline\"\r\n }\r\n ],\r\n \"ipRules\": [],\r\n \"backupPolicy\": {\r\n \"type\": \"Periodic\",\r\n \"periodicModeProperties\": {\r\n \"backupIntervalInMinutes\": 240,\r\n \"backupRetentionIntervalInHours\": 8,\r\n \"backupStorageRedundancy\": \"Geo\"\r\n }\r\n },\r\n \"networkAclBypassResourceIds\": []\r\n },\r\n \"identity\": {\r\n \"type\": \"None\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/resourceGroups/mongo-stage-signoff/providers/Microsoft.DocumentDB/databaseAccounts/mongo-stage-bsonv2-signoff\",\r\n \"name\": \"mongo-stage-bsonv2-signoff\",\r\n \"location\": \"North Central US\",\r\n \"type\": \"Microsoft.DocumentDB/databaseAccounts\",\r\n \"kind\": \"MongoDB\",\r\n \"tags\": {\r\n \"defaultExperience\": \"MongoDB\"\r\n },\r\n \"systemData\": {\r\n \"createdAt\": \"2018-05-17T18:11:55.0700337Z\"\r\n },\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"documentEndpoint\": \"https://mongo-stage-bsonv2-signoff.documents-staging.windows-ppe.net:443/\",\r\n \"publicNetworkAccess\": \"Enabled\",\r\n \"enableAutomaticFailover\": false,\r\n \"enableMultipleWriteLocations\": false,\r\n \"enablePartitionKeyMonitor\": false,\r\n \"isVirtualNetworkFilterEnabled\": false,\r\n \"virtualNetworkRules\": [],\r\n \"EnabledApiTypes\": \"MongoDB\",\r\n \"disableKeyBasedMetadataWriteAccess\": false,\r\n \"enableFreeTier\": false,\r\n \"enableAnalyticalStorage\": false,\r\n \"analyticalStorageConfiguration\": null,\r\n \"instanceId\": \"26e870fd-279c-4070-b303-27996d65667c\",\r\n \"createMode\": \"Default\",\r\n \"databaseAccountOfferType\": \"Standard\",\r\n \"defaultIdentity\": \"\",\r\n \"networkAclBypass\": \"None\",\r\n \"consistencyPolicy\": {\r\n \"defaultConsistencyLevel\": \"Session\",\r\n \"maxIntervalInSeconds\": 5,\r\n \"maxStalenessPrefix\": 100\r\n },\r\n \"apiProperties\": {\r\n \"serverVersion\": \"3.2\"\r\n },\r\n \"configurationOverrides\": {\r\n \"EnableBsonSchema\": \"True\"\r\n },\r\n \"writeLocations\": [\r\n {\r\n \"id\": \"mongo-stage-bsonv2-signoff-northcentralus\",\r\n \"locationName\": \"North Central US\",\r\n \"documentEndpoint\": \"https://mongo-stage-bsonv2-signoff-northcentralus.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"readLocations\": [\r\n {\r\n \"id\": \"mongo-stage-bsonv2-signoff-northcentralus\",\r\n \"locationName\": \"North Central US\",\r\n \"documentEndpoint\": \"https://mongo-stage-bsonv2-signoff-northcentralus.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"locations\": [\r\n {\r\n \"id\": \"mongo-stage-bsonv2-signoff-northcentralus\",\r\n \"locationName\": \"North Central US\",\r\n \"documentEndpoint\": \"https://mongo-stage-bsonv2-signoff-northcentralus.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"failoverPolicies\": [\r\n {\r\n \"id\": \"mongo-stage-bsonv2-signoff-northcentralus\",\r\n \"locationName\": \"North Central US\",\r\n \"failoverPriority\": 0\r\n }\r\n ],\r\n \"cors\": [],\r\n \"capabilities\": [\r\n {\r\n \"name\": \"EnableAggregationPipeline\"\r\n }\r\n ],\r\n \"ipRules\": [],\r\n \"backupPolicy\": {\r\n \"type\": \"Periodic\",\r\n \"periodicModeProperties\": {\r\n \"backupIntervalInMinutes\": 240,\r\n \"backupRetentionIntervalInHours\": 8,\r\n \"backupStorageRedundancy\": \"Geo\"\r\n }\r\n },\r\n \"networkAclBypassResourceIds\": []\r\n },\r\n \"identity\": {\r\n \"type\": \"None\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/resourceGroups/jasontho/providers/Microsoft.DocumentDB/databaseAccounts/mongo-stage-compute-serializer\",\r\n \"name\": \"mongo-stage-compute-serializer\",\r\n \"location\": \"North Central US\",\r\n \"type\": \"Microsoft.DocumentDB/databaseAccounts\",\r\n \"kind\": \"MongoDB\",\r\n \"tags\": {\r\n \"defaultExperience\": \"Azure Cosmos DB for MongoDB API\"\r\n },\r\n \"systemData\": {\r\n \"createdAt\": \"2019-05-21T03:11:55.1217816Z\"\r\n },\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"documentEndpoint\": \"https://mongo-stage-compute-serializer.documents-staging.windows-ppe.net:443/\",\r\n \"publicNetworkAccess\": \"Enabled\",\r\n \"enableAutomaticFailover\": false,\r\n \"enableMultipleWriteLocations\": false,\r\n \"enablePartitionKeyMonitor\": false,\r\n \"isVirtualNetworkFilterEnabled\": false,\r\n \"virtualNetworkRules\": [],\r\n \"EnabledApiTypes\": \"MongoDB\",\r\n \"disableKeyBasedMetadataWriteAccess\": false,\r\n \"enableFreeTier\": false,\r\n \"enableAnalyticalStorage\": false,\r\n \"analyticalStorageConfiguration\": null,\r\n \"instanceId\": \"d836ac83-9ff8-4615-a56a-40e5d0430246\",\r\n \"createMode\": \"Default\",\r\n \"databaseAccountOfferType\": \"Standard\",\r\n \"defaultIdentity\": \"\",\r\n \"networkAclBypass\": \"None\",\r\n \"consistencyPolicy\": {\r\n \"defaultConsistencyLevel\": \"Session\",\r\n \"maxIntervalInSeconds\": 5,\r\n \"maxStalenessPrefix\": 100\r\n },\r\n \"apiProperties\": {\r\n \"serverVersion\": \"3.2\"\r\n },\r\n \"configurationOverrides\": {\r\n \"EnableBsonSchema\": \"True\"\r\n },\r\n \"writeLocations\": [\r\n {\r\n \"id\": \"mongo-stage-compute-serializer-northcentralus\",\r\n \"locationName\": \"North Central US\",\r\n \"documentEndpoint\": \"https://mongo-stage-compute-serializer-northcentralus.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"readLocations\": [\r\n {\r\n \"id\": \"mongo-stage-compute-serializer-northcentralus\",\r\n \"locationName\": \"North Central US\",\r\n \"documentEndpoint\": \"https://mongo-stage-compute-serializer-northcentralus.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"locations\": [\r\n {\r\n \"id\": \"mongo-stage-compute-serializer-northcentralus\",\r\n \"locationName\": \"North Central US\",\r\n \"documentEndpoint\": \"https://mongo-stage-compute-serializer-northcentralus.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"failoverPolicies\": [\r\n {\r\n \"id\": \"mongo-stage-compute-serializer-northcentralus\",\r\n \"locationName\": \"North Central US\",\r\n \"failoverPriority\": 0\r\n }\r\n ],\r\n \"cors\": [],\r\n \"capabilities\": [\r\n {\r\n \"name\": \"EnableAggregationPipeline\"\r\n }\r\n ],\r\n \"ipRules\": [],\r\n \"backupPolicy\": {\r\n \"type\": \"Periodic\",\r\n \"periodicModeProperties\": {\r\n \"backupIntervalInMinutes\": 240,\r\n \"backupRetentionIntervalInHours\": 8,\r\n \"backupStorageRedundancy\": \"Geo\"\r\n }\r\n },\r\n \"networkAclBypassResourceIds\": []\r\n },\r\n \"identity\": {\r\n \"type\": \"None\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/resourceGroups/mongo-stage-signoff/providers/Microsoft.DocumentDB/databaseAccounts/mongo-stage-signoff\",\r\n \"name\": \"mongo-stage-signoff\",\r\n \"location\": \"North Central US\",\r\n \"type\": \"Microsoft.DocumentDB/databaseAccounts\",\r\n \"kind\": \"MongoDB\",\r\n \"tags\": {\r\n \"defaultExperience\": \"MongoDB\"\r\n },\r\n \"systemData\": {\r\n \"createdAt\": \"2018-05-16T21:06:30.1481817Z\"\r\n },\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"documentEndpoint\": \"https://mongo-stage-signoff.documents-staging.windows-ppe.net:443/\",\r\n \"publicNetworkAccess\": \"Enabled\",\r\n \"enableAutomaticFailover\": false,\r\n \"enableMultipleWriteLocations\": false,\r\n \"enablePartitionKeyMonitor\": false,\r\n \"isVirtualNetworkFilterEnabled\": false,\r\n \"virtualNetworkRules\": [],\r\n \"EnabledApiTypes\": \"MongoDB\",\r\n \"disableKeyBasedMetadataWriteAccess\": false,\r\n \"enableFreeTier\": false,\r\n \"enableAnalyticalStorage\": false,\r\n \"analyticalStorageConfiguration\": null,\r\n \"instanceId\": \"ac131391-5b9c-4739-922f-ee86a849895a\",\r\n \"createMode\": \"Default\",\r\n \"databaseAccountOfferType\": \"Standard\",\r\n \"defaultIdentity\": \"\",\r\n \"networkAclBypass\": \"None\",\r\n \"consistencyPolicy\": {\r\n \"defaultConsistencyLevel\": \"Session\",\r\n \"maxIntervalInSeconds\": 5,\r\n \"maxStalenessPrefix\": 100\r\n },\r\n \"apiProperties\": {\r\n \"serverVersion\": \"3.2\"\r\n },\r\n \"configurationOverrides\": {\r\n \"EnableBsonSchema\": \"False\"\r\n },\r\n \"writeLocations\": [\r\n {\r\n \"id\": \"mongo-stage-signoff-northcentralus\",\r\n \"locationName\": \"North Central US\",\r\n \"documentEndpoint\": \"https://mongo-stage-signoff-northcentralus.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"readLocations\": [\r\n {\r\n \"id\": \"mongo-stage-signoff-northcentralus\",\r\n \"locationName\": \"North Central US\",\r\n \"documentEndpoint\": \"https://mongo-stage-signoff-northcentralus.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"locations\": [\r\n {\r\n \"id\": \"mongo-stage-signoff-northcentralus\",\r\n \"locationName\": \"North Central US\",\r\n \"documentEndpoint\": \"https://mongo-stage-signoff-northcentralus.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"failoverPolicies\": [\r\n {\r\n \"id\": \"mongo-stage-signoff-northcentralus\",\r\n \"locationName\": \"North Central US\",\r\n \"failoverPriority\": 0\r\n }\r\n ],\r\n \"cors\": [],\r\n \"capabilities\": [\r\n {\r\n \"name\": \"EnableAggregationPipeline\"\r\n }\r\n ],\r\n \"ipRules\": [],\r\n \"backupPolicy\": {\r\n \"type\": \"Periodic\",\r\n \"periodicModeProperties\": {\r\n \"backupIntervalInMinutes\": 240,\r\n \"backupRetentionIntervalInHours\": 8,\r\n \"backupStorageRedundancy\": \"Geo\"\r\n }\r\n },\r\n \"networkAclBypassResourceIds\": []\r\n },\r\n \"identity\": {\r\n \"type\": \"None\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/resourceGroups/jasontho/providers/Microsoft.DocumentDB/databaseAccounts/mongo40stage-aleksey\",\r\n \"name\": \"mongo40stage-aleksey\",\r\n \"location\": \"North Central US\",\r\n \"type\": \"Microsoft.DocumentDB/databaseAccounts\",\r\n \"kind\": \"MongoDB\",\r\n \"tags\": {\r\n \"defaultExperience\": \"Azure Cosmos DB for MongoDB API\",\r\n \"hidden-cosmos-mmspecial\": \"\",\r\n \"CosmosAccountType\": \"Non-Production\"\r\n },\r\n \"systemData\": {\r\n \"createdAt\": \"2021-02-11T19:24:48.2610779Z\"\r\n },\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"documentEndpoint\": \"https://mongo40stage-aleksey.documents-staging.windows-ppe.net:443/\",\r\n \"mongoEndpoint\": \"https://mongo40stage-aleksey.mongo.cosmos.windows-ppe.net:443/\",\r\n \"publicNetworkAccess\": \"Enabled\",\r\n \"enableAutomaticFailover\": false,\r\n \"enableMultipleWriteLocations\": false,\r\n \"enablePartitionKeyMonitor\": false,\r\n \"isVirtualNetworkFilterEnabled\": false,\r\n \"virtualNetworkRules\": [],\r\n \"EnabledApiTypes\": \"MongoDB\",\r\n \"disableKeyBasedMetadataWriteAccess\": false,\r\n \"enableFreeTier\": false,\r\n \"enableAnalyticalStorage\": false,\r\n \"analyticalStorageConfiguration\": null,\r\n \"instanceId\": \"4849e84f-9118-449d-9274-fd244f073898\",\r\n \"createMode\": \"Default\",\r\n \"databaseAccountOfferType\": \"Standard\",\r\n \"enableCassandraConnector\": false,\r\n \"connectorOffer\": \"\",\r\n \"defaultIdentity\": \"\",\r\n \"networkAclBypass\": \"None\",\r\n \"consistencyPolicy\": {\r\n \"defaultConsistencyLevel\": \"Session\",\r\n \"maxIntervalInSeconds\": 5,\r\n \"maxStalenessPrefix\": 100\r\n },\r\n \"apiProperties\": {\r\n \"serverVersion\": \"4.0\"\r\n },\r\n \"configurationOverrides\": {\r\n \"EnableBsonSchema\": \"True\"\r\n },\r\n \"writeLocations\": [\r\n {\r\n \"id\": \"mongo40stage-aleksey-northcentralus\",\r\n \"locationName\": \"North Central US\",\r\n \"documentEndpoint\": \"https://mongo40stage-aleksey-northcentralus.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"readLocations\": [\r\n {\r\n \"id\": \"mongo40stage-aleksey-northcentralus\",\r\n \"locationName\": \"North Central US\",\r\n \"documentEndpoint\": \"https://mongo40stage-aleksey-northcentralus.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"locations\": [\r\n {\r\n \"id\": \"mongo40stage-aleksey-northcentralus\",\r\n \"locationName\": \"North Central US\",\r\n \"documentEndpoint\": \"https://mongo40stage-aleksey-northcentralus.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"failoverPolicies\": [\r\n {\r\n \"id\": \"mongo40stage-aleksey-northcentralus\",\r\n \"locationName\": \"North Central US\",\r\n \"failoverPriority\": 0\r\n }\r\n ],\r\n \"cors\": [],\r\n \"capabilities\": [\r\n {\r\n \"name\": \"EnableMongo\"\r\n },\r\n {\r\n \"name\": \"DisableRateLimitingResponses\"\r\n }\r\n ],\r\n \"ipRules\": [],\r\n \"backupPolicy\": {\r\n \"type\": \"Periodic\",\r\n \"periodicModeProperties\": {\r\n \"backupIntervalInMinutes\": 240,\r\n \"backupRetentionIntervalInHours\": 8,\r\n \"backupStorageRedundancy\": \"Geo\"\r\n }\r\n },\r\n \"networkAclBypassResourceIds\": []\r\n },\r\n \"identity\": {\r\n \"type\": \"None\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/resourceGroups/jasontho/providers/Microsoft.DocumentDB/databaseAccounts/mongo40stage-andy\",\r\n \"name\": \"mongo40stage-andy\",\r\n \"location\": \"North Central US\",\r\n \"type\": \"Microsoft.DocumentDB/databaseAccounts\",\r\n \"kind\": \"MongoDB\",\r\n \"tags\": {\r\n \"defaultExperience\": \"Azure Cosmos DB for MongoDB API\",\r\n \"hidden-cosmos-mmspecial\": \"\",\r\n \"CosmosAccountType\": \"Non-Production\"\r\n },\r\n \"systemData\": {\r\n \"createdAt\": \"2021-02-11T19:24:03.9943326Z\"\r\n },\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"documentEndpoint\": \"https://mongo40stage-andy.documents-staging.windows-ppe.net:443/\",\r\n \"mongoEndpoint\": \"https://mongo40stage-andy.mongo.cosmos.windows-ppe.net:443/\",\r\n \"publicNetworkAccess\": \"Enabled\",\r\n \"enableAutomaticFailover\": false,\r\n \"enableMultipleWriteLocations\": false,\r\n \"enablePartitionKeyMonitor\": false,\r\n \"isVirtualNetworkFilterEnabled\": false,\r\n \"virtualNetworkRules\": [],\r\n \"EnabledApiTypes\": \"MongoDB\",\r\n \"disableKeyBasedMetadataWriteAccess\": false,\r\n \"enableFreeTier\": false,\r\n \"enableAnalyticalStorage\": false,\r\n \"analyticalStorageConfiguration\": null,\r\n \"instanceId\": \"488529e6-a41e-41f0-a374-06fb670214c4\",\r\n \"createMode\": \"Default\",\r\n \"databaseAccountOfferType\": \"Standard\",\r\n \"enableCassandraConnector\": false,\r\n \"connectorOffer\": \"\",\r\n \"defaultIdentity\": \"\",\r\n \"networkAclBypass\": \"None\",\r\n \"consistencyPolicy\": {\r\n \"defaultConsistencyLevel\": \"Session\",\r\n \"maxIntervalInSeconds\": 5,\r\n \"maxStalenessPrefix\": 100\r\n },\r\n \"apiProperties\": {\r\n \"serverVersion\": \"4.0\"\r\n },\r\n \"configurationOverrides\": {\r\n \"EnableBsonSchema\": \"True\"\r\n },\r\n \"writeLocations\": [\r\n {\r\n \"id\": \"mongo40stage-andy-northcentralus\",\r\n \"locationName\": \"North Central US\",\r\n \"documentEndpoint\": \"https://mongo40stage-andy-northcentralus.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"readLocations\": [\r\n {\r\n \"id\": \"mongo40stage-andy-northcentralus\",\r\n \"locationName\": \"North Central US\",\r\n \"documentEndpoint\": \"https://mongo40stage-andy-northcentralus.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"locations\": [\r\n {\r\n \"id\": \"mongo40stage-andy-northcentralus\",\r\n \"locationName\": \"North Central US\",\r\n \"documentEndpoint\": \"https://mongo40stage-andy-northcentralus.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"failoverPolicies\": [\r\n {\r\n \"id\": \"mongo40stage-andy-northcentralus\",\r\n \"locationName\": \"North Central US\",\r\n \"failoverPriority\": 0\r\n }\r\n ],\r\n \"cors\": [],\r\n \"capabilities\": [\r\n {\r\n \"name\": \"EnableMongo\"\r\n },\r\n {\r\n \"name\": \"DisableRateLimitingResponses\"\r\n }\r\n ],\r\n \"ipRules\": [],\r\n \"backupPolicy\": {\r\n \"type\": \"Periodic\",\r\n \"periodicModeProperties\": {\r\n \"backupIntervalInMinutes\": 240,\r\n \"backupRetentionIntervalInHours\": 8,\r\n \"backupStorageRedundancy\": \"Geo\"\r\n }\r\n },\r\n \"networkAclBypassResourceIds\": []\r\n },\r\n \"identity\": {\r\n \"type\": \"None\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/resourceGroups/jasontho/providers/Microsoft.DocumentDB/databaseAccounts/mongo40stage-chris\",\r\n \"name\": \"mongo40stage-chris\",\r\n \"location\": \"North Central US\",\r\n \"type\": \"Microsoft.DocumentDB/databaseAccounts\",\r\n \"kind\": \"MongoDB\",\r\n \"tags\": {\r\n \"defaultExperience\": \"Azure Cosmos DB for MongoDB API\",\r\n \"hidden-cosmos-mmspecial\": \"\",\r\n \"CosmosAccountType\": \"Non-Production\"\r\n },\r\n \"systemData\": {\r\n \"createdAt\": \"2021-02-11T19:24:32.0250361Z\"\r\n },\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"documentEndpoint\": \"https://mongo40stage-chris.documents-staging.windows-ppe.net:443/\",\r\n \"mongoEndpoint\": \"https://mongo40stage-chris.mongo.cosmos.windows-ppe.net:443/\",\r\n \"publicNetworkAccess\": \"Enabled\",\r\n \"enableAutomaticFailover\": false,\r\n \"enableMultipleWriteLocations\": false,\r\n \"enablePartitionKeyMonitor\": false,\r\n \"isVirtualNetworkFilterEnabled\": false,\r\n \"virtualNetworkRules\": [],\r\n \"EnabledApiTypes\": \"MongoDB\",\r\n \"disableKeyBasedMetadataWriteAccess\": false,\r\n \"enableFreeTier\": false,\r\n \"enableAnalyticalStorage\": false,\r\n \"analyticalStorageConfiguration\": null,\r\n \"instanceId\": \"52474c7f-6f16-452d-8b21-6fb2095a3de8\",\r\n \"createMode\": \"Default\",\r\n \"databaseAccountOfferType\": \"Standard\",\r\n \"enableCassandraConnector\": false,\r\n \"connectorOffer\": \"\",\r\n \"defaultIdentity\": \"\",\r\n \"networkAclBypass\": \"None\",\r\n \"consistencyPolicy\": {\r\n \"defaultConsistencyLevel\": \"Session\",\r\n \"maxIntervalInSeconds\": 5,\r\n \"maxStalenessPrefix\": 100\r\n },\r\n \"apiProperties\": {\r\n \"serverVersion\": \"4.0\"\r\n },\r\n \"configurationOverrides\": {\r\n \"EnableBsonSchema\": \"True\"\r\n },\r\n \"writeLocations\": [\r\n {\r\n \"id\": \"mongo40stage-chris-northcentralus\",\r\n \"locationName\": \"North Central US\",\r\n \"documentEndpoint\": \"https://mongo40stage-chris-northcentralus.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"readLocations\": [\r\n {\r\n \"id\": \"mongo40stage-chris-northcentralus\",\r\n \"locationName\": \"North Central US\",\r\n \"documentEndpoint\": \"https://mongo40stage-chris-northcentralus.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"locations\": [\r\n {\r\n \"id\": \"mongo40stage-chris-northcentralus\",\r\n \"locationName\": \"North Central US\",\r\n \"documentEndpoint\": \"https://mongo40stage-chris-northcentralus.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"failoverPolicies\": [\r\n {\r\n \"id\": \"mongo40stage-chris-northcentralus\",\r\n \"locationName\": \"North Central US\",\r\n \"failoverPriority\": 0\r\n }\r\n ],\r\n \"cors\": [],\r\n \"capabilities\": [\r\n {\r\n \"name\": \"EnableMongo\"\r\n },\r\n {\r\n \"name\": \"DisableRateLimitingResponses\"\r\n }\r\n ],\r\n \"ipRules\": [],\r\n \"backupPolicy\": {\r\n \"type\": \"Periodic\",\r\n \"periodicModeProperties\": {\r\n \"backupIntervalInMinutes\": 240,\r\n \"backupRetentionIntervalInHours\": 8,\r\n \"backupStorageRedundancy\": \"Geo\"\r\n }\r\n },\r\n \"networkAclBypassResourceIds\": []\r\n },\r\n \"identity\": {\r\n \"type\": \"None\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/resourceGroups/jasontho/providers/Microsoft.DocumentDB/databaseAccounts/mongo40stage-gahl\",\r\n \"name\": \"mongo40stage-gahl\",\r\n \"location\": \"North Central US\",\r\n \"type\": \"Microsoft.DocumentDB/databaseAccounts\",\r\n \"kind\": \"MongoDB\",\r\n \"tags\": {\r\n \"defaultExperience\": \"Azure Cosmos DB for MongoDB API\",\r\n \"hidden-cosmos-mmspecial\": \"\",\r\n \"CosmosAccountType\": \"Non-Production\"\r\n },\r\n \"systemData\": {\r\n \"createdAt\": \"2021-02-11T19:24:42.4271159Z\"\r\n },\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"documentEndpoint\": \"https://mongo40stage-gahl.documents-staging.windows-ppe.net:443/\",\r\n \"mongoEndpoint\": \"https://mongo40stage-gahl.mongo.cosmos.windows-ppe.net:443/\",\r\n \"publicNetworkAccess\": \"Enabled\",\r\n \"enableAutomaticFailover\": false,\r\n \"enableMultipleWriteLocations\": false,\r\n \"enablePartitionKeyMonitor\": false,\r\n \"isVirtualNetworkFilterEnabled\": false,\r\n \"virtualNetworkRules\": [],\r\n \"EnabledApiTypes\": \"MongoDB\",\r\n \"disableKeyBasedMetadataWriteAccess\": false,\r\n \"enableFreeTier\": false,\r\n \"enableAnalyticalStorage\": false,\r\n \"analyticalStorageConfiguration\": null,\r\n \"instanceId\": \"8c1fa332-8606-40f7-b300-0a029116d969\",\r\n \"createMode\": \"Default\",\r\n \"databaseAccountOfferType\": \"Standard\",\r\n \"enableCassandraConnector\": false,\r\n \"connectorOffer\": \"\",\r\n \"defaultIdentity\": \"\",\r\n \"networkAclBypass\": \"None\",\r\n \"consistencyPolicy\": {\r\n \"defaultConsistencyLevel\": \"Session\",\r\n \"maxIntervalInSeconds\": 5,\r\n \"maxStalenessPrefix\": 100\r\n },\r\n \"apiProperties\": {\r\n \"serverVersion\": \"4.0\"\r\n },\r\n \"configurationOverrides\": {\r\n \"EnableBsonSchema\": \"True\"\r\n },\r\n \"writeLocations\": [\r\n {\r\n \"id\": \"mongo40stage-gahl-northcentralus\",\r\n \"locationName\": \"North Central US\",\r\n \"documentEndpoint\": \"https://mongo40stage-gahl-northcentralus.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"readLocations\": [\r\n {\r\n \"id\": \"mongo40stage-gahl-northcentralus\",\r\n \"locationName\": \"North Central US\",\r\n \"documentEndpoint\": \"https://mongo40stage-gahl-northcentralus.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"locations\": [\r\n {\r\n \"id\": \"mongo40stage-gahl-northcentralus\",\r\n \"locationName\": \"North Central US\",\r\n \"documentEndpoint\": \"https://mongo40stage-gahl-northcentralus.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"failoverPolicies\": [\r\n {\r\n \"id\": \"mongo40stage-gahl-northcentralus\",\r\n \"locationName\": \"North Central US\",\r\n \"failoverPriority\": 0\r\n }\r\n ],\r\n \"cors\": [],\r\n \"capabilities\": [\r\n {\r\n \"name\": \"EnableMongo\"\r\n },\r\n {\r\n \"name\": \"DisableRateLimitingResponses\"\r\n }\r\n ],\r\n \"ipRules\": [],\r\n \"backupPolicy\": {\r\n \"type\": \"Periodic\",\r\n \"periodicModeProperties\": {\r\n \"backupIntervalInMinutes\": 240,\r\n \"backupRetentionIntervalInHours\": 8,\r\n \"backupStorageRedundancy\": \"Geo\"\r\n }\r\n },\r\n \"networkAclBypassResourceIds\": []\r\n },\r\n \"identity\": {\r\n \"type\": \"None\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/resourceGroups/jasontho/providers/Microsoft.DocumentDB/databaseAccounts/mongo40stage-sergiy\",\r\n \"name\": \"mongo40stage-sergiy\",\r\n \"location\": \"North Central US\",\r\n \"type\": \"Microsoft.DocumentDB/databaseAccounts\",\r\n \"kind\": \"MongoDB\",\r\n \"tags\": {\r\n \"defaultExperience\": \"Azure Cosmos DB for MongoDB API\",\r\n \"hidden-cosmos-mmspecial\": \"\",\r\n \"CosmosAccountType\": \"Non-Production\"\r\n },\r\n \"systemData\": {\r\n \"createdAt\": \"2021-02-11T19:24:45.2172839Z\"\r\n },\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"documentEndpoint\": \"https://mongo40stage-sergiy.documents-staging.windows-ppe.net:443/\",\r\n \"mongoEndpoint\": \"https://mongo40stage-sergiy.mongo.cosmos.windows-ppe.net:443/\",\r\n \"publicNetworkAccess\": \"Enabled\",\r\n \"enableAutomaticFailover\": false,\r\n \"enableMultipleWriteLocations\": false,\r\n \"enablePartitionKeyMonitor\": false,\r\n \"isVirtualNetworkFilterEnabled\": false,\r\n \"virtualNetworkRules\": [],\r\n \"EnabledApiTypes\": \"MongoDB\",\r\n \"disableKeyBasedMetadataWriteAccess\": false,\r\n \"enableFreeTier\": false,\r\n \"enableAnalyticalStorage\": true,\r\n \"analyticalStorageConfiguration\": null,\r\n \"instanceId\": \"3fe5dd33-41cb-416a-93d2-19e7064e8355\",\r\n \"createMode\": \"Default\",\r\n \"databaseAccountOfferType\": \"Standard\",\r\n \"enableCassandraConnector\": false,\r\n \"connectorOffer\": \"\",\r\n \"defaultIdentity\": \"\",\r\n \"networkAclBypass\": \"None\",\r\n \"consistencyPolicy\": {\r\n \"defaultConsistencyLevel\": \"Session\",\r\n \"maxIntervalInSeconds\": 5,\r\n \"maxStalenessPrefix\": 100\r\n },\r\n \"apiProperties\": {\r\n \"serverVersion\": \"4.0\"\r\n },\r\n \"configurationOverrides\": {\r\n \"EnableBsonSchema\": \"True\"\r\n },\r\n \"writeLocations\": [\r\n {\r\n \"id\": \"mongo40stage-sergiy-northcentralus\",\r\n \"locationName\": \"North Central US\",\r\n \"documentEndpoint\": \"https://mongo40stage-sergiy-northcentralus.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"readLocations\": [\r\n {\r\n \"id\": \"mongo40stage-sergiy-northcentralus\",\r\n \"locationName\": \"North Central US\",\r\n \"documentEndpoint\": \"https://mongo40stage-sergiy-northcentralus.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"locations\": [\r\n {\r\n \"id\": \"mongo40stage-sergiy-northcentralus\",\r\n \"locationName\": \"North Central US\",\r\n \"documentEndpoint\": \"https://mongo40stage-sergiy-northcentralus.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"failoverPolicies\": [\r\n {\r\n \"id\": \"mongo40stage-sergiy-northcentralus\",\r\n \"locationName\": \"North Central US\",\r\n \"failoverPriority\": 0\r\n }\r\n ],\r\n \"cors\": [],\r\n \"capabilities\": [\r\n {\r\n \"name\": \"EnableMongo\"\r\n },\r\n {\r\n \"name\": \"DisableRateLimitingResponses\"\r\n }\r\n ],\r\n \"ipRules\": [],\r\n \"backupPolicy\": {\r\n \"type\": \"Periodic\",\r\n \"periodicModeProperties\": {\r\n \"backupIntervalInMinutes\": 240,\r\n \"backupRetentionIntervalInHours\": 8,\r\n \"backupStorageRedundancy\": \"Geo\"\r\n }\r\n },\r\n \"networkAclBypassResourceIds\": []\r\n },\r\n \"identity\": {\r\n \"type\": \"None\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/resourceGroups/ashwini-rg/providers/Microsoft.DocumentDB/databaseAccounts/mongolistcollection\",\r\n \"name\": \"mongolistcollection\",\r\n \"location\": \"North Central US\",\r\n \"type\": \"Microsoft.DocumentDB/databaseAccounts\",\r\n \"kind\": \"MongoDB\",\r\n \"tags\": {\r\n \"defaultExperience\": \"Azure Cosmos DB for MongoDB API\"\r\n },\r\n \"systemData\": {\r\n \"createdAt\": \"2019-04-17T22:27:07.193399Z\"\r\n },\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"documentEndpoint\": \"https://mongolistcollection.documents-staging.windows-ppe.net:443/\",\r\n \"publicNetworkAccess\": \"Enabled\",\r\n \"enableAutomaticFailover\": false,\r\n \"enableMultipleWriteLocations\": true,\r\n \"enablePartitionKeyMonitor\": false,\r\n \"isVirtualNetworkFilterEnabled\": false,\r\n \"virtualNetworkRules\": [],\r\n \"EnabledApiTypes\": \"MongoDB\",\r\n \"disableKeyBasedMetadataWriteAccess\": false,\r\n \"enableFreeTier\": false,\r\n \"enableAnalyticalStorage\": false,\r\n \"analyticalStorageConfiguration\": null,\r\n \"instanceId\": \"1e5181be-bdcf-4153-91e4-31dca1eeea83\",\r\n \"createMode\": \"Default\",\r\n \"databaseAccountOfferType\": \"Standard\",\r\n \"defaultIdentity\": \"\",\r\n \"networkAclBypass\": \"None\",\r\n \"consistencyPolicy\": {\r\n \"defaultConsistencyLevel\": \"Session\",\r\n \"maxIntervalInSeconds\": 5,\r\n \"maxStalenessPrefix\": 100\r\n },\r\n \"apiProperties\": {\r\n \"serverVersion\": \"3.2\"\r\n },\r\n \"configurationOverrides\": {\r\n \"EnableBsonSchema\": \"True\"\r\n },\r\n \"writeLocations\": [\r\n {\r\n \"id\": \"mongolistcollection-northcentralus\",\r\n \"locationName\": \"North Central US\",\r\n \"documentEndpoint\": \"https://mongolistcollection-northcentralus.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"readLocations\": [\r\n {\r\n \"id\": \"mongolistcollection-northcentralus\",\r\n \"locationName\": \"North Central US\",\r\n \"documentEndpoint\": \"https://mongolistcollection-northcentralus.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"locations\": [\r\n {\r\n \"id\": \"mongolistcollection-northcentralus\",\r\n \"locationName\": \"North Central US\",\r\n \"documentEndpoint\": \"https://mongolistcollection-northcentralus.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"failoverPolicies\": [\r\n {\r\n \"id\": \"mongolistcollection-northcentralus\",\r\n \"locationName\": \"North Central US\",\r\n \"failoverPriority\": 0\r\n }\r\n ],\r\n \"cors\": [],\r\n \"capabilities\": [\r\n {\r\n \"name\": \"EnableAggregationPipeline\"\r\n }\r\n ],\r\n \"ipRules\": [],\r\n \"backupPolicy\": {\r\n \"type\": \"Periodic\",\r\n \"periodicModeProperties\": {\r\n \"backupIntervalInMinutes\": 240,\r\n \"backupRetentionIntervalInHours\": 8,\r\n \"backupStorageRedundancy\": \"Geo\"\r\n }\r\n },\r\n \"networkAclBypassResourceIds\": []\r\n },\r\n \"identity\": {\r\n \"type\": \"None\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/resourceGroups/ashwini-rg/providers/Microsoft.DocumentDB/databaseAccounts/mongorgteststage\",\r\n \"name\": \"mongorgteststage\",\r\n \"location\": \"North Central US\",\r\n \"type\": \"Microsoft.DocumentDB/databaseAccounts\",\r\n \"kind\": \"MongoDB\",\r\n \"tags\": {\r\n \"defaultExperience\": \"Azure Cosmos DB for MongoDB API\",\r\n \"hidden-cosmos-mmspecial\": \"\"\r\n },\r\n \"systemData\": {\r\n \"createdAt\": \"2019-10-10T00:19:53.8997346Z\"\r\n },\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"documentEndpoint\": \"https://mongorgteststage.documents-staging.windows-ppe.net:443/\",\r\n \"mongoEndpoint\": \"https://mongorgteststage.mongo.cosmos.windows-ppe.net:443/\",\r\n \"publicNetworkAccess\": \"Enabled\",\r\n \"enableAutomaticFailover\": false,\r\n \"enableMultipleWriteLocations\": false,\r\n \"enablePartitionKeyMonitor\": false,\r\n \"isVirtualNetworkFilterEnabled\": false,\r\n \"virtualNetworkRules\": [],\r\n \"EnabledApiTypes\": \"MongoDB\",\r\n \"disableKeyBasedMetadataWriteAccess\": false,\r\n \"enableFreeTier\": false,\r\n \"enableAnalyticalStorage\": false,\r\n \"analyticalStorageConfiguration\": null,\r\n \"instanceId\": \"b386adb5-d7d7-41ec-a682-f4428d247c76\",\r\n \"createMode\": \"Default\",\r\n \"databaseAccountOfferType\": \"Standard\",\r\n \"enableCassandraConnector\": false,\r\n \"connectorOffer\": \"\",\r\n \"defaultIdentity\": \"\",\r\n \"networkAclBypass\": \"None\",\r\n \"consistencyPolicy\": {\r\n \"defaultConsistencyLevel\": \"Session\",\r\n \"maxIntervalInSeconds\": 5,\r\n \"maxStalenessPrefix\": 100\r\n },\r\n \"apiProperties\": {\r\n \"serverVersion\": \"3.6\"\r\n },\r\n \"configurationOverrides\": {\r\n \"EnableBsonSchema\": \"True\"\r\n },\r\n \"writeLocations\": [\r\n {\r\n \"id\": \"mongorgteststage-northcentralus\",\r\n \"locationName\": \"North Central US\",\r\n \"documentEndpoint\": \"https://mongorgteststage-northcentralus.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"readLocations\": [\r\n {\r\n \"id\": \"mongorgteststage-northcentralus\",\r\n \"locationName\": \"North Central US\",\r\n \"documentEndpoint\": \"https://mongorgteststage-northcentralus.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"locations\": [\r\n {\r\n \"id\": \"mongorgteststage-northcentralus\",\r\n \"locationName\": \"North Central US\",\r\n \"documentEndpoint\": \"https://mongorgteststage-northcentralus.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"failoverPolicies\": [\r\n {\r\n \"id\": \"mongorgteststage-northcentralus\",\r\n \"locationName\": \"North Central US\",\r\n \"failoverPriority\": 0\r\n }\r\n ],\r\n \"cors\": [],\r\n \"capabilities\": [\r\n {\r\n \"name\": \"EnableMongo\"\r\n }\r\n ],\r\n \"ipRules\": [],\r\n \"backupPolicy\": {\r\n \"type\": \"Periodic\",\r\n \"periodicModeProperties\": {\r\n \"backupIntervalInMinutes\": 60,\r\n \"backupRetentionIntervalInHours\": 8,\r\n \"backupStorageRedundancy\": \"Geo\"\r\n }\r\n },\r\n \"networkAclBypassResourceIds\": []\r\n },\r\n \"identity\": {\r\n \"type\": \"None\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/resourceGroups/ashwini-rg/providers/Microsoft.DocumentDB/databaseAccounts/monogstagesignoff\",\r\n \"name\": \"monogstagesignoff\",\r\n \"location\": \"North Central US\",\r\n \"type\": \"Microsoft.DocumentDB/databaseAccounts\",\r\n \"kind\": \"MongoDB\",\r\n \"tags\": {\r\n \"defaultExperience\": \"Azure Cosmos DB for MongoDB API\",\r\n \"hidden-cosmos-mmspecial\": \"\"\r\n },\r\n \"systemData\": {\r\n \"createdAt\": \"2019-09-10T23:27:16.6745666Z\"\r\n },\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"documentEndpoint\": \"https://monogstagesignoff.documents-staging.windows-ppe.net:443/\",\r\n \"mongoEndpoint\": \"https://monogstagesignoff.mongo.cosmos.windows-ppe.net:443/\",\r\n \"publicNetworkAccess\": \"Enabled\",\r\n \"enableAutomaticFailover\": false,\r\n \"enableMultipleWriteLocations\": false,\r\n \"enablePartitionKeyMonitor\": false,\r\n \"isVirtualNetworkFilterEnabled\": false,\r\n \"virtualNetworkRules\": [],\r\n \"EnabledApiTypes\": \"MongoDB\",\r\n \"disableKeyBasedMetadataWriteAccess\": false,\r\n \"enableFreeTier\": false,\r\n \"enableAnalyticalStorage\": false,\r\n \"analyticalStorageConfiguration\": null,\r\n \"instanceId\": \"5fde5536-6ba3-49ea-aad4-bab1b61ffd71\",\r\n \"createMode\": \"Default\",\r\n \"databaseAccountOfferType\": \"Standard\",\r\n \"enableCassandraConnector\": false,\r\n \"connectorOffer\": \"\",\r\n \"defaultIdentity\": \"\",\r\n \"networkAclBypass\": \"None\",\r\n \"consistencyPolicy\": {\r\n \"defaultConsistencyLevel\": \"Session\",\r\n \"maxIntervalInSeconds\": 5,\r\n \"maxStalenessPrefix\": 100\r\n },\r\n \"apiProperties\": {\r\n \"serverVersion\": \"3.6\"\r\n },\r\n \"configurationOverrides\": {\r\n \"EnableBsonSchema\": \"True\"\r\n },\r\n \"writeLocations\": [\r\n {\r\n \"id\": \"monogstagesignoff-northcentralus\",\r\n \"locationName\": \"North Central US\",\r\n \"documentEndpoint\": \"https://monogstagesignoff-northcentralus.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"readLocations\": [\r\n {\r\n \"id\": \"monogstagesignoff-northcentralus\",\r\n \"locationName\": \"North Central US\",\r\n \"documentEndpoint\": \"https://monogstagesignoff-northcentralus.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n },\r\n {\r\n \"id\": \"monogstagesignoff-southeastasia\",\r\n \"locationName\": \"Southeast Asia\",\r\n \"documentEndpoint\": \"https://monogstagesignoff-southeastasia.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 1,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"locations\": [\r\n {\r\n \"id\": \"monogstagesignoff-northcentralus\",\r\n \"locationName\": \"North Central US\",\r\n \"documentEndpoint\": \"https://monogstagesignoff-northcentralus.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n },\r\n {\r\n \"id\": \"monogstagesignoff-southeastasia\",\r\n \"locationName\": \"Southeast Asia\",\r\n \"documentEndpoint\": \"https://monogstagesignoff-southeastasia.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 1,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"failoverPolicies\": [\r\n {\r\n \"id\": \"monogstagesignoff-northcentralus\",\r\n \"locationName\": \"North Central US\",\r\n \"failoverPriority\": 0\r\n },\r\n {\r\n \"id\": \"monogstagesignoff-southeastasia\",\r\n \"locationName\": \"Southeast Asia\",\r\n \"failoverPriority\": 1\r\n }\r\n ],\r\n \"cors\": [],\r\n \"capabilities\": [\r\n {\r\n \"name\": \"EnableMongo\"\r\n }\r\n ],\r\n \"ipRules\": [],\r\n \"backupPolicy\": {\r\n \"type\": \"Periodic\",\r\n \"periodicModeProperties\": {\r\n \"backupIntervalInMinutes\": 240,\r\n \"backupRetentionIntervalInHours\": 8,\r\n \"backupStorageRedundancy\": \"Geo\"\r\n }\r\n },\r\n \"networkAclBypassResourceIds\": []\r\n },\r\n \"identity\": {\r\n \"type\": \"None\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/resourceGroups/mtccassatest/providers/Microsoft.DocumentDB/databaseAccounts/mtctesthou\",\r\n \"name\": \"mtctesthou\",\r\n \"location\": \"North Central US\",\r\n \"type\": \"Microsoft.DocumentDB/databaseAccounts\",\r\n \"kind\": \"GlobalDocumentDB\",\r\n \"tags\": {\r\n \"defaultExperience\": \"Cassandra\"\r\n },\r\n \"systemData\": {\r\n \"createdAt\": \"2018-09-20T03:23:25.005223Z\"\r\n },\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"documentEndpoint\": \"https://mtctesthou.documents-staging.windows-ppe.net:443/\",\r\n \"cassandraEndpoint\": \"https://mtctesthou.cassandra.cosmosdb.windows-ppe.net:443/\",\r\n \"publicNetworkAccess\": \"Enabled\",\r\n \"enableAutomaticFailover\": false,\r\n \"enableMultipleWriteLocations\": false,\r\n \"enablePartitionKeyMonitor\": false,\r\n \"isVirtualNetworkFilterEnabled\": false,\r\n \"virtualNetworkRules\": [],\r\n \"EnabledApiTypes\": \"Cassandra\",\r\n \"disableKeyBasedMetadataWriteAccess\": false,\r\n \"enableFreeTier\": false,\r\n \"enableAnalyticalStorage\": false,\r\n \"analyticalStorageConfiguration\": null,\r\n \"instanceId\": \"c6b1b220-0ab2-4e60-b9d0-7b34883b3119\",\r\n \"createMode\": \"Default\",\r\n \"databaseAccountOfferType\": \"Standard\",\r\n \"defaultIdentity\": \"\",\r\n \"networkAclBypass\": \"None\",\r\n \"consistencyPolicy\": {\r\n \"defaultConsistencyLevel\": \"Session\",\r\n \"maxIntervalInSeconds\": 5,\r\n \"maxStalenessPrefix\": 100\r\n },\r\n \"configurationOverrides\": {},\r\n \"writeLocations\": [\r\n {\r\n \"id\": \"mtctesthou-northcentralus\",\r\n \"locationName\": \"North Central US\",\r\n \"documentEndpoint\": \"https://mtctesthou-northcentralus.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"readLocations\": [\r\n {\r\n \"id\": \"mtctesthou-northcentralus\",\r\n \"locationName\": \"North Central US\",\r\n \"documentEndpoint\": \"https://mtctesthou-northcentralus.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"locations\": [\r\n {\r\n \"id\": \"mtctesthou-northcentralus\",\r\n \"locationName\": \"North Central US\",\r\n \"documentEndpoint\": \"https://mtctesthou-northcentralus.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"failoverPolicies\": [\r\n {\r\n \"id\": \"mtctesthou-northcentralus\",\r\n \"locationName\": \"North Central US\",\r\n \"failoverPriority\": 0\r\n }\r\n ],\r\n \"cors\": [],\r\n \"capabilities\": [\r\n {\r\n \"name\": \"EnableCassandra\"\r\n }\r\n ],\r\n \"ipRules\": [],\r\n \"backupPolicy\": {\r\n \"type\": \"Periodic\",\r\n \"periodicModeProperties\": {\r\n \"backupIntervalInMinutes\": 240,\r\n \"backupRetentionIntervalInHours\": 8,\r\n \"backupStorageRedundancy\": \"Geo\"\r\n }\r\n },\r\n \"networkAclBypassResourceIds\": []\r\n },\r\n \"identity\": {\r\n \"type\": \"None\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/resourceGroups/vivekrasignoff/providers/Microsoft.DocumentDB/databaseAccounts/multimasterconflictstest\",\r\n \"name\": \"multimasterconflictstest\",\r\n \"location\": \"North Central US\",\r\n \"type\": \"Microsoft.DocumentDB/databaseAccounts\",\r\n \"kind\": \"GlobalDocumentDB\",\r\n \"tags\": {\r\n \"defaultExperience\": \"Cassandra\",\r\n \"owner\": \"vivekra\"\r\n },\r\n \"systemData\": {\r\n \"createdAt\": \"2018-12-20T23:12:43.9098667Z\"\r\n },\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"documentEndpoint\": \"https://multimasterconflictstest.documents-staging.windows-ppe.net:443/\",\r\n \"cassandraEndpoint\": \"https://multimasterconflictstest.cassandra.cosmosdb.windows-ppe.net:443/\",\r\n \"publicNetworkAccess\": \"Enabled\",\r\n \"enableAutomaticFailover\": false,\r\n \"enableMultipleWriteLocations\": true,\r\n \"enablePartitionKeyMonitor\": false,\r\n \"isVirtualNetworkFilterEnabled\": false,\r\n \"virtualNetworkRules\": [],\r\n \"EnabledApiTypes\": \"Cassandra\",\r\n \"disableKeyBasedMetadataWriteAccess\": false,\r\n \"enableFreeTier\": false,\r\n \"enableAnalyticalStorage\": false,\r\n \"analyticalStorageConfiguration\": null,\r\n \"instanceId\": \"fb7af021-2a85-4e1a-9b01-68e451595c2e\",\r\n \"createMode\": \"Default\",\r\n \"databaseAccountOfferType\": \"Standard\",\r\n \"defaultIdentity\": \"\",\r\n \"networkAclBypass\": \"None\",\r\n \"consistencyPolicy\": {\r\n \"defaultConsistencyLevel\": \"Session\",\r\n \"maxIntervalInSeconds\": 5,\r\n \"maxStalenessPrefix\": 100\r\n },\r\n \"configurationOverrides\": {},\r\n \"writeLocations\": [\r\n {\r\n \"id\": \"multimasterconflictstest-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://multimasterconflictstest-eastus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Updating\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n },\r\n {\r\n \"id\": \"multimasterconflictstest-northcentralus\",\r\n \"locationName\": \"North Central US\",\r\n \"documentEndpoint\": \"https://multimasterconflictstest-northcentralus.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 1,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"readLocations\": [\r\n {\r\n \"id\": \"multimasterconflictstest-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://multimasterconflictstest-eastus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Updating\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n },\r\n {\r\n \"id\": \"multimasterconflictstest-northcentralus\",\r\n \"locationName\": \"North Central US\",\r\n \"documentEndpoint\": \"https://multimasterconflictstest-northcentralus.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 1,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"locations\": [\r\n {\r\n \"id\": \"multimasterconflictstest-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://multimasterconflictstest-eastus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Updating\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n },\r\n {\r\n \"id\": \"multimasterconflictstest-northcentralus\",\r\n \"locationName\": \"North Central US\",\r\n \"documentEndpoint\": \"https://multimasterconflictstest-northcentralus.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 1,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"failoverPolicies\": [\r\n {\r\n \"id\": \"multimasterconflictstest-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"failoverPriority\": 0\r\n },\r\n {\r\n \"id\": \"multimasterconflictstest-northcentralus\",\r\n \"locationName\": \"North Central US\",\r\n \"failoverPriority\": 1\r\n }\r\n ],\r\n \"cors\": [],\r\n \"capabilities\": [\r\n {\r\n \"name\": \"EnableCassandra\"\r\n }\r\n ],\r\n \"ipRules\": [],\r\n \"backupPolicy\": {\r\n \"type\": \"Periodic\",\r\n \"periodicModeProperties\": {\r\n \"backupIntervalInMinutes\": 240,\r\n \"backupRetentionIntervalInHours\": 8,\r\n \"backupStorageRedundancy\": \"Geo\"\r\n }\r\n },\r\n \"networkAclBypassResourceIds\": []\r\n },\r\n \"identity\": {\r\n \"type\": \"None\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/resourceGroups/nasimtest/providers/Microsoft.DocumentDB/databaseAccounts/nasimtest\",\r\n \"name\": \"nasimtest\",\r\n \"location\": \"North Central US\",\r\n \"type\": \"Microsoft.DocumentDB/databaseAccounts\",\r\n \"kind\": \"GlobalDocumentDB\",\r\n \"tags\": {\r\n \"defaultExperience\": \"Core (SQL)\"\r\n },\r\n \"systemData\": {\r\n \"createdAt\": \"2019-06-26T16:51:35.2135853Z\"\r\n },\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"documentEndpoint\": \"https://nasimtest.documents-staging.windows-ppe.net:443/\",\r\n \"publicNetworkAccess\": \"Enabled\",\r\n \"enableAutomaticFailover\": false,\r\n \"enableMultipleWriteLocations\": false,\r\n \"enablePartitionKeyMonitor\": false,\r\n \"isVirtualNetworkFilterEnabled\": false,\r\n \"virtualNetworkRules\": [],\r\n \"EnabledApiTypes\": \"Sql\",\r\n \"disableKeyBasedMetadataWriteAccess\": false,\r\n \"enableFreeTier\": false,\r\n \"enableAnalyticalStorage\": false,\r\n \"analyticalStorageConfiguration\": null,\r\n \"instanceId\": \"a2fc5e6f-fb71-4b50-a3cf-86d83533cf00\",\r\n \"createMode\": \"Default\",\r\n \"databaseAccountOfferType\": \"Standard\",\r\n \"defaultIdentity\": \"\",\r\n \"networkAclBypass\": \"None\",\r\n \"consistencyPolicy\": {\r\n \"defaultConsistencyLevel\": \"Session\",\r\n \"maxIntervalInSeconds\": 5,\r\n \"maxStalenessPrefix\": 100\r\n },\r\n \"configurationOverrides\": {},\r\n \"writeLocations\": [\r\n {\r\n \"id\": \"nasimtest-northcentralus\",\r\n \"locationName\": \"North Central US\",\r\n \"documentEndpoint\": \"https://nasimtest-northcentralus.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"readLocations\": [\r\n {\r\n \"id\": \"nasimtest-northcentralus\",\r\n \"locationName\": \"North Central US\",\r\n \"documentEndpoint\": \"https://nasimtest-northcentralus.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n },\r\n {\r\n \"id\": \"nasimtest-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://nasimtest-eastus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 1,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"locations\": [\r\n {\r\n \"id\": \"nasimtest-northcentralus\",\r\n \"locationName\": \"North Central US\",\r\n \"documentEndpoint\": \"https://nasimtest-northcentralus.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n },\r\n {\r\n \"id\": \"nasimtest-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://nasimtest-eastus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 1,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"failoverPolicies\": [\r\n {\r\n \"id\": \"nasimtest-northcentralus\",\r\n \"locationName\": \"North Central US\",\r\n \"failoverPriority\": 0\r\n },\r\n {\r\n \"id\": \"nasimtest-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"failoverPriority\": 1\r\n }\r\n ],\r\n \"cors\": [],\r\n \"capabilities\": [],\r\n \"ipRules\": [],\r\n \"backupPolicy\": {\r\n \"type\": \"Periodic\",\r\n \"periodicModeProperties\": {\r\n \"backupIntervalInMinutes\": 240,\r\n \"backupRetentionIntervalInHours\": 8,\r\n \"backupStorageRedundancy\": \"Geo\"\r\n }\r\n },\r\n \"networkAclBypassResourceIds\": []\r\n },\r\n \"identity\": {\r\n \"type\": \"None\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/resourceGroups/sdk-ci/providers/Microsoft.DocumentDB/databaseAccounts/python-multimaster\",\r\n \"name\": \"python-multimaster\",\r\n \"location\": \"North Central US\",\r\n \"type\": \"Microsoft.DocumentDB/databaseAccounts\",\r\n \"kind\": \"GlobalDocumentDB\",\r\n \"tags\": {\r\n \"defaultExperience\": \"DocumentDB\"\r\n },\r\n \"systemData\": {\r\n \"createdAt\": \"2018-09-13T22:44:25.225715Z\"\r\n },\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"documentEndpoint\": \"https://python-multimaster.documents-staging.windows-ppe.net:443/\",\r\n \"publicNetworkAccess\": \"Enabled\",\r\n \"enableAutomaticFailover\": false,\r\n \"enableMultipleWriteLocations\": true,\r\n \"enablePartitionKeyMonitor\": false,\r\n \"isVirtualNetworkFilterEnabled\": false,\r\n \"virtualNetworkRules\": [],\r\n \"EnabledApiTypes\": \"Sql\",\r\n \"disableKeyBasedMetadataWriteAccess\": false,\r\n \"enableFreeTier\": false,\r\n \"enableAnalyticalStorage\": false,\r\n \"analyticalStorageConfiguration\": null,\r\n \"instanceId\": \"ec32a605-a0a3-4eac-8185-f1d58cf9df5c\",\r\n \"createMode\": \"Default\",\r\n \"databaseAccountOfferType\": \"Standard\",\r\n \"defaultIdentity\": \"\",\r\n \"networkAclBypass\": \"None\",\r\n \"consistencyPolicy\": {\r\n \"defaultConsistencyLevel\": \"Session\",\r\n \"maxIntervalInSeconds\": 5,\r\n \"maxStalenessPrefix\": 100\r\n },\r\n \"configurationOverrides\": {},\r\n \"writeLocations\": [\r\n {\r\n \"id\": \"python-multimaster-southeastasia\",\r\n \"locationName\": \"Southeast Asia\",\r\n \"documentEndpoint\": \"https://python-multimaster-southeastasia.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n },\r\n {\r\n \"id\": \"python-multimaster-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://python-multimaster-eastus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 2,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"readLocations\": [\r\n {\r\n \"id\": \"python-multimaster-southeastasia\",\r\n \"locationName\": \"Southeast Asia\",\r\n \"documentEndpoint\": \"https://python-multimaster-southeastasia.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n },\r\n {\r\n \"id\": \"python-multimaster-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://python-multimaster-eastus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 2,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"locations\": [\r\n {\r\n \"id\": \"python-multimaster-southeastasia\",\r\n \"locationName\": \"Southeast Asia\",\r\n \"documentEndpoint\": \"https://python-multimaster-southeastasia.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n },\r\n {\r\n \"id\": \"python-multimaster-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://python-multimaster-eastus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 2,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"failoverPolicies\": [\r\n {\r\n \"id\": \"python-multimaster-southeastasia\",\r\n \"locationName\": \"Southeast Asia\",\r\n \"failoverPriority\": 0\r\n },\r\n {\r\n \"id\": \"python-multimaster-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"failoverPriority\": 2\r\n }\r\n ],\r\n \"cors\": [],\r\n \"capabilities\": [],\r\n \"ipRules\": [],\r\n \"backupPolicy\": {\r\n \"type\": \"Periodic\",\r\n \"periodicModeProperties\": {\r\n \"backupIntervalInMinutes\": 240,\r\n \"backupRetentionIntervalInHours\": 8,\r\n \"backupStorageRedundancy\": \"Geo\"\r\n }\r\n },\r\n \"networkAclBypassResourceIds\": []\r\n },\r\n \"identity\": {\r\n \"type\": \"None\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/resourceGroups/rogerspreview/providers/Microsoft.DocumentDB/databaseAccounts/rogersgeorge\",\r\n \"name\": \"rogersgeorge\",\r\n \"location\": \"North Central US\",\r\n \"type\": \"Microsoft.DocumentDB/databaseAccounts\",\r\n \"kind\": \"GlobalDocumentDB\",\r\n \"tags\": {\r\n \"defaultExperience\": \"Cassandra\"\r\n },\r\n \"systemData\": {\r\n \"createdAt\": \"2018-09-07T01:36:53.7368553Z\"\r\n },\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"documentEndpoint\": \"https://rogersgeorge.documents-staging.windows-ppe.net:443/\",\r\n \"cassandraEndpoint\": \"https://rogersgeorge.cassandra.cosmosdb.windows-ppe.net:443/\",\r\n \"publicNetworkAccess\": \"Enabled\",\r\n \"enableAutomaticFailover\": false,\r\n \"enableMultipleWriteLocations\": false,\r\n \"enablePartitionKeyMonitor\": false,\r\n \"isVirtualNetworkFilterEnabled\": false,\r\n \"virtualNetworkRules\": [],\r\n \"EnabledApiTypes\": \"Cassandra\",\r\n \"disableKeyBasedMetadataWriteAccess\": false,\r\n \"enableFreeTier\": false,\r\n \"enableAnalyticalStorage\": false,\r\n \"analyticalStorageConfiguration\": null,\r\n \"instanceId\": \"2ace3ca8-489b-4787-945e-6632e2d35436\",\r\n \"createMode\": \"Default\",\r\n \"databaseAccountOfferType\": \"Standard\",\r\n \"defaultIdentity\": \"\",\r\n \"networkAclBypass\": \"None\",\r\n \"consistencyPolicy\": {\r\n \"defaultConsistencyLevel\": \"Session\",\r\n \"maxIntervalInSeconds\": 5,\r\n \"maxStalenessPrefix\": 100\r\n },\r\n \"configurationOverrides\": {},\r\n \"writeLocations\": [\r\n {\r\n \"id\": \"rogersgeorge-northcentralus\",\r\n \"locationName\": \"North Central US\",\r\n \"documentEndpoint\": \"https://rogersgeorge-northcentralus.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"readLocations\": [\r\n {\r\n \"id\": \"rogersgeorge-northcentralus\",\r\n \"locationName\": \"North Central US\",\r\n \"documentEndpoint\": \"https://rogersgeorge-northcentralus.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"locations\": [\r\n {\r\n \"id\": \"rogersgeorge-northcentralus\",\r\n \"locationName\": \"North Central US\",\r\n \"documentEndpoint\": \"https://rogersgeorge-northcentralus.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"failoverPolicies\": [\r\n {\r\n \"id\": \"rogersgeorge-northcentralus\",\r\n \"locationName\": \"North Central US\",\r\n \"failoverPriority\": 0\r\n }\r\n ],\r\n \"cors\": [],\r\n \"capabilities\": [\r\n {\r\n \"name\": \"EnableCassandra\"\r\n }\r\n ],\r\n \"ipRules\": [],\r\n \"backupPolicy\": {\r\n \"type\": \"Periodic\",\r\n \"periodicModeProperties\": {\r\n \"backupIntervalInMinutes\": 240,\r\n \"backupRetentionIntervalInHours\": 8,\r\n \"backupStorageRedundancy\": \"Geo\"\r\n }\r\n },\r\n \"networkAclBypassResourceIds\": []\r\n },\r\n \"identity\": {\r\n \"type\": \"None\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/resourceGroups/sargup/providers/Microsoft.DocumentDB/databaseAccounts/sargup-testcpuspike\",\r\n \"name\": \"sargup-testcpuspike\",\r\n \"location\": \"North Central US\",\r\n \"type\": \"Microsoft.DocumentDB/databaseAccounts\",\r\n \"kind\": \"GlobalDocumentDB\",\r\n \"tags\": {\r\n \"defaultExperience\": \"Core (SQL)\",\r\n \"hidden-cosmos-mmspecial\": \"\",\r\n \"CosmosAccountType\": \"Non-Production\"\r\n },\r\n \"systemData\": {\r\n \"createdAt\": \"2020-04-10T00:22:21.9089302Z\"\r\n },\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"documentEndpoint\": \"https://sargup-testcpuspike.documents-staging.windows-ppe.net:443/\",\r\n \"publicNetworkAccess\": \"Enabled\",\r\n \"enableAutomaticFailover\": false,\r\n \"enableMultipleWriteLocations\": true,\r\n \"enablePartitionKeyMonitor\": false,\r\n \"isVirtualNetworkFilterEnabled\": false,\r\n \"virtualNetworkRules\": [],\r\n \"EnabledApiTypes\": \"Sql\",\r\n \"disableKeyBasedMetadataWriteAccess\": false,\r\n \"enableFreeTier\": false,\r\n \"enableAnalyticalStorage\": false,\r\n \"analyticalStorageConfiguration\": null,\r\n \"instanceId\": \"08eefb6e-13d8-4423-b2d1-7bef733b92ba\",\r\n \"createMode\": \"Default\",\r\n \"databaseAccountOfferType\": \"Standard\",\r\n \"enableCassandraConnector\": false,\r\n \"connectorOffer\": \"\",\r\n \"defaultIdentity\": \"\",\r\n \"networkAclBypass\": \"None\",\r\n \"consistencyPolicy\": {\r\n \"defaultConsistencyLevel\": \"Session\",\r\n \"maxIntervalInSeconds\": 5,\r\n \"maxStalenessPrefix\": 100\r\n },\r\n \"configurationOverrides\": {},\r\n \"writeLocations\": [\r\n {\r\n \"id\": \"sargup-testcpuspike-northcentralus\",\r\n \"locationName\": \"North Central US\",\r\n \"documentEndpoint\": \"https://sargup-testcpuspike-northcentralus.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n },\r\n {\r\n \"id\": \"sargup-testcpuspike-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://sargup-testcpuspike-eastus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 1,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"readLocations\": [\r\n {\r\n \"id\": \"sargup-testcpuspike-northcentralus\",\r\n \"locationName\": \"North Central US\",\r\n \"documentEndpoint\": \"https://sargup-testcpuspike-northcentralus.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n },\r\n {\r\n \"id\": \"sargup-testcpuspike-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://sargup-testcpuspike-eastus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 1,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"locations\": [\r\n {\r\n \"id\": \"sargup-testcpuspike-northcentralus\",\r\n \"locationName\": \"North Central US\",\r\n \"documentEndpoint\": \"https://sargup-testcpuspike-northcentralus.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n },\r\n {\r\n \"id\": \"sargup-testcpuspike-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://sargup-testcpuspike-eastus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 1,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"failoverPolicies\": [\r\n {\r\n \"id\": \"sargup-testcpuspike-northcentralus\",\r\n \"locationName\": \"North Central US\",\r\n \"failoverPriority\": 0\r\n },\r\n {\r\n \"id\": \"sargup-testcpuspike-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"failoverPriority\": 1\r\n }\r\n ],\r\n \"cors\": [],\r\n \"capabilities\": [\r\n {\r\n \"name\": \"EnableStorageAnalytics\"\r\n }\r\n ],\r\n \"ipRules\": [],\r\n \"backupPolicy\": {\r\n \"type\": \"Periodic\",\r\n \"periodicModeProperties\": {\r\n \"backupIntervalInMinutes\": 60,\r\n \"backupRetentionIntervalInHours\": 8,\r\n \"backupStorageRedundancy\": \"Geo\"\r\n }\r\n },\r\n \"networkAclBypassResourceIds\": []\r\n },\r\n \"identity\": {\r\n \"type\": \"None\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/resourceGroups/ankshah/providers/Microsoft.DocumentDB/databaseAccounts/sharedthroughput-ankshah\",\r\n \"name\": \"sharedthroughput-ankshah\",\r\n \"location\": \"North Central US\",\r\n \"type\": \"Microsoft.DocumentDB/databaseAccounts\",\r\n \"kind\": \"GlobalDocumentDB\",\r\n \"tags\": {\r\n \"defaultExperience\": \"DocumentDB\"\r\n },\r\n \"systemData\": {\r\n \"createdAt\": \"2018-05-16T21:04:43.983836Z\"\r\n },\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"documentEndpoint\": \"https://sharedthroughput-ankshah.documents-staging.windows-ppe.net:443/\",\r\n \"publicNetworkAccess\": \"Enabled\",\r\n \"enableAutomaticFailover\": false,\r\n \"enableMultipleWriteLocations\": false,\r\n \"enablePartitionKeyMonitor\": false,\r\n \"isVirtualNetworkFilterEnabled\": false,\r\n \"virtualNetworkRules\": [],\r\n \"EnabledApiTypes\": \"Sql\",\r\n \"disableKeyBasedMetadataWriteAccess\": false,\r\n \"enableFreeTier\": false,\r\n \"enableAnalyticalStorage\": false,\r\n \"analyticalStorageConfiguration\": null,\r\n \"instanceId\": \"04511201-e314-4108-95e7-b8818880fcbd\",\r\n \"createMode\": \"Default\",\r\n \"databaseAccountOfferType\": \"Standard\",\r\n \"defaultIdentity\": \"\",\r\n \"networkAclBypass\": \"None\",\r\n \"consistencyPolicy\": {\r\n \"defaultConsistencyLevel\": \"Session\",\r\n \"maxIntervalInSeconds\": 5,\r\n \"maxStalenessPrefix\": 100\r\n },\r\n \"configurationOverrides\": {},\r\n \"writeLocations\": [\r\n {\r\n \"id\": \"sharedthroughput-ankshah-northcentralus\",\r\n \"locationName\": \"North Central US\",\r\n \"documentEndpoint\": \"https://sharedthroughput-ankshah-northcentralus.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"readLocations\": [\r\n {\r\n \"id\": \"sharedthroughput-ankshah-northcentralus\",\r\n \"locationName\": \"North Central US\",\r\n \"documentEndpoint\": \"https://sharedthroughput-ankshah-northcentralus.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n },\r\n {\r\n \"id\": \"sharedthroughput-ankshah-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://sharedthroughput-ankshah-eastus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 1,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"locations\": [\r\n {\r\n \"id\": \"sharedthroughput-ankshah-northcentralus\",\r\n \"locationName\": \"North Central US\",\r\n \"documentEndpoint\": \"https://sharedthroughput-ankshah-northcentralus.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n },\r\n {\r\n \"id\": \"sharedthroughput-ankshah-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://sharedthroughput-ankshah-eastus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 1,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"failoverPolicies\": [\r\n {\r\n \"id\": \"sharedthroughput-ankshah-northcentralus\",\r\n \"locationName\": \"North Central US\",\r\n \"failoverPriority\": 0\r\n },\r\n {\r\n \"id\": \"sharedthroughput-ankshah-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"failoverPriority\": 1\r\n }\r\n ],\r\n \"cors\": [],\r\n \"capabilities\": [],\r\n \"ipRules\": [],\r\n \"backupPolicy\": {\r\n \"type\": \"Periodic\",\r\n \"periodicModeProperties\": {\r\n \"backupIntervalInMinutes\": 240,\r\n \"backupRetentionIntervalInHours\": 8,\r\n \"backupStorageRedundancy\": \"Geo\"\r\n }\r\n },\r\n \"networkAclBypassResourceIds\": []\r\n },\r\n \"identity\": {\r\n \"type\": \"None\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/resourceGroups/shtan-stage-signoff/providers/Microsoft.DocumentDB/databaseAccounts/shtan-ncus-signoff\",\r\n \"name\": \"shtan-ncus-signoff\",\r\n \"location\": \"North Central US\",\r\n \"type\": \"Microsoft.DocumentDB/databaseAccounts\",\r\n \"kind\": \"GlobalDocumentDB\",\r\n \"tags\": {\r\n \"defaultExperience\": \"Core (SQL)\",\r\n \"hidden-cosmos-mmspecial\": \"\"\r\n },\r\n \"systemData\": {\r\n \"createdAt\": \"2019-08-28T16:54:10.7184847Z\"\r\n },\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"documentEndpoint\": \"https://shtan-ncus-signoff.documents-staging.windows-ppe.net:443/\",\r\n \"publicNetworkAccess\": \"Enabled\",\r\n \"enableAutomaticFailover\": false,\r\n \"enableMultipleWriteLocations\": false,\r\n \"enablePartitionKeyMonitor\": false,\r\n \"isVirtualNetworkFilterEnabled\": false,\r\n \"virtualNetworkRules\": [],\r\n \"EnabledApiTypes\": \"Sql\",\r\n \"disableKeyBasedMetadataWriteAccess\": false,\r\n \"enableFreeTier\": false,\r\n \"enableAnalyticalStorage\": false,\r\n \"analyticalStorageConfiguration\": null,\r\n \"instanceId\": \"10a9c64a-9e9c-4956-b150-47c3998e22b2\",\r\n \"createMode\": \"Default\",\r\n \"databaseAccountOfferType\": \"Standard\",\r\n \"enableCassandraConnector\": false,\r\n \"connectorOffer\": \"\",\r\n \"defaultIdentity\": \"\",\r\n \"networkAclBypass\": \"None\",\r\n \"consistencyPolicy\": {\r\n \"defaultConsistencyLevel\": \"Session\",\r\n \"maxIntervalInSeconds\": 5,\r\n \"maxStalenessPrefix\": 100\r\n },\r\n \"configurationOverrides\": {},\r\n \"writeLocations\": [\r\n {\r\n \"id\": \"shtan-ncus-signoff-northcentralus\",\r\n \"locationName\": \"North Central US\",\r\n \"documentEndpoint\": \"https://shtan-ncus-signoff-northcentralus.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"readLocations\": [\r\n {\r\n \"id\": \"shtan-ncus-signoff-northcentralus\",\r\n \"locationName\": \"North Central US\",\r\n \"documentEndpoint\": \"https://shtan-ncus-signoff-northcentralus.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n },\r\n {\r\n \"id\": \"shtan-ncus-signoff-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://shtan-ncus-signoff-eastus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 1,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"locations\": [\r\n {\r\n \"id\": \"shtan-ncus-signoff-northcentralus\",\r\n \"locationName\": \"North Central US\",\r\n \"documentEndpoint\": \"https://shtan-ncus-signoff-northcentralus.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n },\r\n {\r\n \"id\": \"shtan-ncus-signoff-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://shtan-ncus-signoff-eastus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 1,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"failoverPolicies\": [\r\n {\r\n \"id\": \"shtan-ncus-signoff-northcentralus\",\r\n \"locationName\": \"North Central US\",\r\n \"failoverPriority\": 0\r\n },\r\n {\r\n \"id\": \"shtan-ncus-signoff-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"failoverPriority\": 1\r\n }\r\n ],\r\n \"cors\": [],\r\n \"capabilities\": [\r\n {\r\n \"name\": \"EnableStorageAnalytics\"\r\n }\r\n ],\r\n \"ipRules\": [],\r\n \"backupPolicy\": {\r\n \"type\": \"Periodic\",\r\n \"periodicModeProperties\": {\r\n \"backupIntervalInMinutes\": 120,\r\n \"backupRetentionIntervalInHours\": 8,\r\n \"backupStorageRedundancy\": \"Geo\"\r\n }\r\n },\r\n \"networkAclBypassResourceIds\": []\r\n },\r\n \"identity\": {\r\n \"type\": \"None\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/resourceGroups/shtan-stage-signoff/providers/Microsoft.DocumentDB/databaseAccounts/shtan-signoff-1204\",\r\n \"name\": \"shtan-signoff-1204\",\r\n \"location\": \"North Central US\",\r\n \"type\": \"Microsoft.DocumentDB/databaseAccounts\",\r\n \"kind\": \"GlobalDocumentDB\",\r\n \"tags\": {\r\n \"defaultExperience\": \"Core (SQL)\",\r\n \"hidden-cosmos-mmspecial\": \"\",\r\n \"restoredSourceDatabaseAccountName\": \"shtan-ncus-signoff\",\r\n \"restoredAtTimestamp\": \"12/4/2019 9:56:28 PM\"\r\n },\r\n \"systemData\": {\r\n \"createdAt\": \"2019-12-04T22:03:50.4636833Z\"\r\n },\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"documentEndpoint\": \"https://shtan-signoff-1204.documents-staging.windows-ppe.net:443/\",\r\n \"publicNetworkAccess\": \"Enabled\",\r\n \"enableAutomaticFailover\": false,\r\n \"enableMultipleWriteLocations\": false,\r\n \"enablePartitionKeyMonitor\": false,\r\n \"isVirtualNetworkFilterEnabled\": false,\r\n \"virtualNetworkRules\": [],\r\n \"EnabledApiTypes\": \"Sql\",\r\n \"disableKeyBasedMetadataWriteAccess\": false,\r\n \"enableFreeTier\": false,\r\n \"enableAnalyticalStorage\": false,\r\n \"analyticalStorageConfiguration\": null,\r\n \"instanceId\": \"08b15cb4-a159-4b89-85c9-3f7e6a6b7635\",\r\n \"createMode\": \"Default\",\r\n \"databaseAccountOfferType\": \"Standard\",\r\n \"enableCassandraConnector\": false,\r\n \"defaultIdentity\": \"\",\r\n \"networkAclBypass\": \"None\",\r\n \"consistencyPolicy\": {\r\n \"defaultConsistencyLevel\": \"Session\",\r\n \"maxIntervalInSeconds\": 5,\r\n \"maxStalenessPrefix\": 100\r\n },\r\n \"configurationOverrides\": {},\r\n \"writeLocations\": [\r\n {\r\n \"id\": \"shtan-signoff-1204-northcentralus\",\r\n \"locationName\": \"North Central US\",\r\n \"documentEndpoint\": \"https://shtan-signoff-1204-northcentralus.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"readLocations\": [\r\n {\r\n \"id\": \"shtan-signoff-1204-northcentralus\",\r\n \"locationName\": \"North Central US\",\r\n \"documentEndpoint\": \"https://shtan-signoff-1204-northcentralus.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"locations\": [\r\n {\r\n \"id\": \"shtan-signoff-1204-northcentralus\",\r\n \"locationName\": \"North Central US\",\r\n \"documentEndpoint\": \"https://shtan-signoff-1204-northcentralus.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"failoverPolicies\": [\r\n {\r\n \"id\": \"shtan-signoff-1204-northcentralus\",\r\n \"locationName\": \"North Central US\",\r\n \"failoverPriority\": 0\r\n }\r\n ],\r\n \"cors\": [],\r\n \"capabilities\": [],\r\n \"ipRules\": [],\r\n \"backupPolicy\": {\r\n \"type\": \"Periodic\",\r\n \"periodicModeProperties\": {\r\n \"backupIntervalInMinutes\": 15,\r\n \"backupRetentionIntervalInHours\": 8,\r\n \"backupStorageRedundancy\": \"Geo\"\r\n }\r\n },\r\n \"networkAclBypassResourceIds\": []\r\n },\r\n \"identity\": {\r\n \"type\": \"None\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/resourceGroups/soham-test-rg/providers/Microsoft.DocumentDB/databaseAccounts/sohamtestcosmosdb\",\r\n \"name\": \"sohamtestcosmosdb\",\r\n \"location\": \"North Central US\",\r\n \"type\": \"Microsoft.DocumentDB/databaseAccounts\",\r\n \"kind\": \"GlobalDocumentDB\",\r\n \"tags\": {\r\n \"defaultExperience\": \"Core (SQL)\"\r\n },\r\n \"systemData\": {\r\n \"createdAt\": \"2019-06-24T17:30:49.8983786Z\"\r\n },\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"documentEndpoint\": \"https://sohamtestcosmosdb.documents-staging.windows-ppe.net:443/\",\r\n \"publicNetworkAccess\": \"Enabled\",\r\n \"enableAutomaticFailover\": false,\r\n \"enableMultipleWriteLocations\": false,\r\n \"enablePartitionKeyMonitor\": false,\r\n \"isVirtualNetworkFilterEnabled\": false,\r\n \"virtualNetworkRules\": [],\r\n \"EnabledApiTypes\": \"Sql\",\r\n \"disableKeyBasedMetadataWriteAccess\": false,\r\n \"enableFreeTier\": false,\r\n \"enableAnalyticalStorage\": false,\r\n \"analyticalStorageConfiguration\": null,\r\n \"instanceId\": \"f85f68fd-b3cc-4ca2-9f50-5938c6d5e3e1\",\r\n \"createMode\": \"Default\",\r\n \"databaseAccountOfferType\": \"Standard\",\r\n \"defaultIdentity\": \"\",\r\n \"networkAclBypass\": \"None\",\r\n \"consistencyPolicy\": {\r\n \"defaultConsistencyLevel\": \"Eventual\",\r\n \"maxIntervalInSeconds\": 5,\r\n \"maxStalenessPrefix\": 100\r\n },\r\n \"configurationOverrides\": {},\r\n \"writeLocations\": [\r\n {\r\n \"id\": \"sohamtestcosmosdb-northcentralus\",\r\n \"locationName\": \"North Central US\",\r\n \"documentEndpoint\": \"https://sohamtestcosmosdb-northcentralus.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"readLocations\": [\r\n {\r\n \"id\": \"sohamtestcosmosdb-northcentralus\",\r\n \"locationName\": \"North Central US\",\r\n \"documentEndpoint\": \"https://sohamtestcosmosdb-northcentralus.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"locations\": [\r\n {\r\n \"id\": \"sohamtestcosmosdb-northcentralus\",\r\n \"locationName\": \"North Central US\",\r\n \"documentEndpoint\": \"https://sohamtestcosmosdb-northcentralus.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"failoverPolicies\": [\r\n {\r\n \"id\": \"sohamtestcosmosdb-northcentralus\",\r\n \"locationName\": \"North Central US\",\r\n \"failoverPriority\": 0\r\n }\r\n ],\r\n \"cors\": [],\r\n \"capabilities\": [],\r\n \"ipRules\": [],\r\n \"backupPolicy\": {\r\n \"type\": \"Periodic\",\r\n \"periodicModeProperties\": {\r\n \"backupIntervalInMinutes\": 240,\r\n \"backupRetentionIntervalInHours\": 8,\r\n \"backupStorageRedundancy\": \"Geo\"\r\n }\r\n },\r\n \"networkAclBypassResourceIds\": []\r\n },\r\n \"identity\": {\r\n \"type\": \"None\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/resourceGroups/StageSignoffEtcd/providers/Microsoft.DocumentDB/databaseAccounts/stagesignoff1\",\r\n \"name\": \"stagesignoff1\",\r\n \"location\": \"North Central US\",\r\n \"type\": \"Microsoft.DocumentDB/databaseAccounts\",\r\n \"kind\": \"GlobalDocumentDB\",\r\n \"tags\": {\r\n \"defaultExperience\": \"Etcd\"\r\n },\r\n \"systemData\": {\r\n \"createdAt\": \"2019-07-30T00:19:09.9776403Z\"\r\n },\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"documentEndpoint\": \"https://stagesignoff1.documents-staging.windows-ppe.net:443/\",\r\n \"etcdEndpoint\": \"https://stagesignoff1.etcd.cosmos.windows-ppe.net:443/\",\r\n \"publicNetworkAccess\": \"Enabled\",\r\n \"enableAutomaticFailover\": false,\r\n \"enableMultipleWriteLocations\": false,\r\n \"enablePartitionKeyMonitor\": false,\r\n \"isVirtualNetworkFilterEnabled\": false,\r\n \"virtualNetworkRules\": [],\r\n \"EnabledApiTypes\": \"Sql, Etcd\",\r\n \"disableKeyBasedMetadataWriteAccess\": false,\r\n \"enableFreeTier\": false,\r\n \"enableAnalyticalStorage\": false,\r\n \"analyticalStorageConfiguration\": null,\r\n \"instanceId\": \"254085ae-4367-40aa-aa05-b35ea7e8d71e\",\r\n \"createMode\": \"Default\",\r\n \"databaseAccountOfferType\": \"Standard\",\r\n \"enableCassandraConnector\": false,\r\n \"connectorOffer\": \"\",\r\n \"defaultIdentity\": \"\",\r\n \"networkAclBypass\": \"None\",\r\n \"consistencyPolicy\": {\r\n \"defaultConsistencyLevel\": \"BoundedStaleness\",\r\n \"maxIntervalInSeconds\": 5,\r\n \"maxStalenessPrefix\": 100\r\n },\r\n \"configurationOverrides\": {},\r\n \"writeLocations\": [\r\n {\r\n \"id\": \"stagesignoff1-northcentralus\",\r\n \"locationName\": \"North Central US\",\r\n \"documentEndpoint\": \"https://stagesignoff1-northcentralus.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"readLocations\": [\r\n {\r\n \"id\": \"stagesignoff1-northcentralus\",\r\n \"locationName\": \"North Central US\",\r\n \"documentEndpoint\": \"https://stagesignoff1-northcentralus.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"locations\": [\r\n {\r\n \"id\": \"stagesignoff1-northcentralus\",\r\n \"locationName\": \"North Central US\",\r\n \"documentEndpoint\": \"https://stagesignoff1-northcentralus.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"failoverPolicies\": [\r\n {\r\n \"id\": \"stagesignoff1-northcentralus\",\r\n \"locationName\": \"North Central US\",\r\n \"failoverPriority\": 0\r\n }\r\n ],\r\n \"cors\": [],\r\n \"capabilities\": [\r\n {\r\n \"name\": \"EnableEtcd\"\r\n }\r\n ],\r\n \"ipRules\": [],\r\n \"backupPolicy\": {\r\n \"type\": \"Periodic\",\r\n \"periodicModeProperties\": {\r\n \"backupIntervalInMinutes\": 240,\r\n \"backupRetentionIntervalInHours\": 8,\r\n \"backupStorageRedundancy\": \"Geo\"\r\n }\r\n },\r\n \"networkAclBypassResourceIds\": []\r\n },\r\n \"identity\": {\r\n \"type\": \"None\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/resourceGroups/StageSignoffEtcd/providers/Microsoft.DocumentDB/databaseAccounts/stagesignoffaks1\",\r\n \"name\": \"stagesignoffaks1\",\r\n \"location\": \"North Central US\",\r\n \"type\": \"Microsoft.DocumentDB/databaseAccounts\",\r\n \"kind\": \"GlobalDocumentDB\",\r\n \"tags\": {\r\n \"defaultExperience\": \"Etcd\"\r\n },\r\n \"systemData\": {\r\n \"createdAt\": \"2019-07-30T00:29:13.4846533Z\"\r\n },\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"documentEndpoint\": \"https://stagesignoffaks1.documents-staging.windows-ppe.net:443/\",\r\n \"etcdEndpoint\": \"https://stagesignoffaks1.etcd.cosmos.windows-ppe.net:443/\",\r\n \"publicNetworkAccess\": \"Enabled\",\r\n \"enableAutomaticFailover\": false,\r\n \"enableMultipleWriteLocations\": false,\r\n \"enablePartitionKeyMonitor\": false,\r\n \"isVirtualNetworkFilterEnabled\": false,\r\n \"virtualNetworkRules\": [],\r\n \"EnabledApiTypes\": \"Sql, Etcd\",\r\n \"disableKeyBasedMetadataWriteAccess\": false,\r\n \"enableFreeTier\": false,\r\n \"enableAnalyticalStorage\": false,\r\n \"analyticalStorageConfiguration\": null,\r\n \"instanceId\": \"a55a2306-91b9-47b7-a0c1-da904850095c\",\r\n \"createMode\": \"Default\",\r\n \"databaseAccountOfferType\": \"Standard\",\r\n \"enableCassandraConnector\": false,\r\n \"connectorOffer\": \"\",\r\n \"defaultIdentity\": \"\",\r\n \"networkAclBypass\": \"None\",\r\n \"consistencyPolicy\": {\r\n \"defaultConsistencyLevel\": \"BoundedStaleness\",\r\n \"maxIntervalInSeconds\": 5,\r\n \"maxStalenessPrefix\": 100\r\n },\r\n \"configurationOverrides\": {},\r\n \"writeLocations\": [\r\n {\r\n \"id\": \"stagesignoffaks1-northcentralus\",\r\n \"locationName\": \"North Central US\",\r\n \"documentEndpoint\": \"https://stagesignoffaks1-northcentralus.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"readLocations\": [\r\n {\r\n \"id\": \"stagesignoffaks1-northcentralus\",\r\n \"locationName\": \"North Central US\",\r\n \"documentEndpoint\": \"https://stagesignoffaks1-northcentralus.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"locations\": [\r\n {\r\n \"id\": \"stagesignoffaks1-northcentralus\",\r\n \"locationName\": \"North Central US\",\r\n \"documentEndpoint\": \"https://stagesignoffaks1-northcentralus.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"failoverPolicies\": [\r\n {\r\n \"id\": \"stagesignoffaks1-northcentralus\",\r\n \"locationName\": \"North Central US\",\r\n \"failoverPriority\": 0\r\n }\r\n ],\r\n \"cors\": [],\r\n \"capabilities\": [\r\n {\r\n \"name\": \"EnableEtcd\"\r\n }\r\n ],\r\n \"ipRules\": [],\r\n \"backupPolicy\": {\r\n \"type\": \"Periodic\",\r\n \"periodicModeProperties\": {\r\n \"backupIntervalInMinutes\": 240,\r\n \"backupRetentionIntervalInHours\": 8,\r\n \"backupStorageRedundancy\": \"Geo\"\r\n }\r\n },\r\n \"networkAclBypassResourceIds\": []\r\n },\r\n \"identity\": {\r\n \"type\": \"None\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/resourceGroups/sujitk/providers/Microsoft.DocumentDB/databaseAccounts/sujitkstage\",\r\n \"name\": \"sujitkstage\",\r\n \"location\": \"North Central US\",\r\n \"type\": \"Microsoft.DocumentDB/databaseAccounts\",\r\n \"kind\": \"GlobalDocumentDB\",\r\n \"tags\": {\r\n \"defaultExperience\": \"DocumentDB\"\r\n },\r\n \"systemData\": {\r\n \"createdAt\": \"2018-05-14T19:47:57.5962515Z\"\r\n },\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"documentEndpoint\": \"https://sujitkstage.documents-staging.windows-ppe.net:443/\",\r\n \"sqlEndpoint\": \"https://sujitkstage.sql.cosmos.windows-ppe.net:443/\",\r\n \"publicNetworkAccess\": \"Enabled\",\r\n \"enableAutomaticFailover\": false,\r\n \"enableMultipleWriteLocations\": false,\r\n \"enablePartitionKeyMonitor\": false,\r\n \"isVirtualNetworkFilterEnabled\": false,\r\n \"virtualNetworkRules\": [],\r\n \"EnabledApiTypes\": \"Sql\",\r\n \"disableKeyBasedMetadataWriteAccess\": false,\r\n \"enableFreeTier\": false,\r\n \"enableAnalyticalStorage\": false,\r\n \"analyticalStorageConfiguration\": null,\r\n \"instanceId\": \"eb4a65e1-6b69-4a4f-b5b8-1e44b73ccb99\",\r\n \"createMode\": \"Default\",\r\n \"databaseAccountOfferType\": \"Standard\",\r\n \"defaultIdentity\": \"\",\r\n \"networkAclBypass\": \"None\",\r\n \"consistencyPolicy\": {\r\n \"defaultConsistencyLevel\": \"Session\",\r\n \"maxIntervalInSeconds\": 5,\r\n \"maxStalenessPrefix\": 100\r\n },\r\n \"configurationOverrides\": {},\r\n \"writeLocations\": [\r\n {\r\n \"id\": \"sujitkstage-northcentralus\",\r\n \"locationName\": \"North Central US\",\r\n \"documentEndpoint\": \"https://sujitkstage-northcentralus.sql.cosmos.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"readLocations\": [\r\n {\r\n \"id\": \"sujitkstage-northcentralus\",\r\n \"locationName\": \"North Central US\",\r\n \"documentEndpoint\": \"https://sujitkstage-northcentralus.sql.cosmos.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n },\r\n {\r\n \"id\": \"sujitkstage-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://sujitkstage-eastus2.sql.cosmos.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 1,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"locations\": [\r\n {\r\n \"id\": \"sujitkstage-northcentralus\",\r\n \"locationName\": \"North Central US\",\r\n \"documentEndpoint\": \"https://sujitkstage-northcentralus.sql.cosmos.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n },\r\n {\r\n \"id\": \"sujitkstage-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://sujitkstage-eastus2.sql.cosmos.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 1,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"failoverPolicies\": [\r\n {\r\n \"id\": \"sujitkstage-northcentralus\",\r\n \"locationName\": \"North Central US\",\r\n \"failoverPriority\": 0\r\n },\r\n {\r\n \"id\": \"sujitkstage-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"failoverPriority\": 1\r\n }\r\n ],\r\n \"cors\": [],\r\n \"capabilities\": [\r\n {\r\n \"name\": \"EnableSql\"\r\n }\r\n ],\r\n \"ipRules\": [],\r\n \"backupPolicy\": {\r\n \"type\": \"Periodic\",\r\n \"periodicModeProperties\": {\r\n \"backupIntervalInMinutes\": 240,\r\n \"backupRetentionIntervalInHours\": 8,\r\n \"backupStorageRedundancy\": \"Geo\"\r\n }\r\n },\r\n \"networkAclBypassResourceIds\": []\r\n },\r\n \"identity\": {\r\n \"type\": \"None\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/resourceGroups/test1027group/providers/Microsoft.DocumentDB/databaseAccounts/test1027-1\",\r\n \"name\": \"test1027-1\",\r\n \"location\": \"North Central US\",\r\n \"type\": \"Microsoft.DocumentDB/databaseAccounts\",\r\n \"kind\": \"GlobalDocumentDB\",\r\n \"tags\": {\r\n \"restoredSourceDatabaseAccountName\": \"test1027-1\",\r\n \"restoredAtTimestamp\": \"11/20/2020 6:01:30 PM\"\r\n },\r\n \"systemData\": {\r\n \"createdAt\": \"2020-11-20T18:11:25.8147227Z\"\r\n },\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"documentEndpoint\": \"https://test1027-1.documents-staging.windows-ppe.net:443/\",\r\n \"publicNetworkAccess\": \"Enabled\",\r\n \"enableAutomaticFailover\": false,\r\n \"enableMultipleWriteLocations\": false,\r\n \"enablePartitionKeyMonitor\": false,\r\n \"isVirtualNetworkFilterEnabled\": false,\r\n \"virtualNetworkRules\": [],\r\n \"EnabledApiTypes\": \"Sql\",\r\n \"disableKeyBasedMetadataWriteAccess\": false,\r\n \"enableFreeTier\": false,\r\n \"enableAnalyticalStorage\": false,\r\n \"analyticalStorageConfiguration\": null,\r\n \"instanceId\": \"a0e85731-6c30-4525-927a-bf23ff2d05dc\",\r\n \"createMode\": \"Restore\",\r\n \"databaseAccountOfferType\": \"Standard\",\r\n \"enableCassandraConnector\": false,\r\n \"defaultIdentity\": \"\",\r\n \"networkAclBypass\": \"None\",\r\n \"consistencyPolicy\": {\r\n \"defaultConsistencyLevel\": \"Session\",\r\n \"maxIntervalInSeconds\": 5,\r\n \"maxStalenessPrefix\": 100\r\n },\r\n \"configurationOverrides\": {},\r\n \"writeLocations\": [\r\n {\r\n \"id\": \"test1027-1-northcentralus\",\r\n \"locationName\": \"North Central US\",\r\n \"documentEndpoint\": \"https://test1027-1-northcentralus.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"readLocations\": [\r\n {\r\n \"id\": \"test1027-1-northcentralus\",\r\n \"locationName\": \"North Central US\",\r\n \"documentEndpoint\": \"https://test1027-1-northcentralus.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"locations\": [\r\n {\r\n \"id\": \"test1027-1-northcentralus\",\r\n \"locationName\": \"North Central US\",\r\n \"documentEndpoint\": \"https://test1027-1-northcentralus.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"failoverPolicies\": [\r\n {\r\n \"id\": \"test1027-1-northcentralus\",\r\n \"locationName\": \"North Central US\",\r\n \"failoverPriority\": 0\r\n }\r\n ],\r\n \"cors\": [],\r\n \"capabilities\": [],\r\n \"ipRules\": [],\r\n \"backupPolicy\": {\r\n \"type\": \"Periodic\",\r\n \"periodicModeProperties\": {\r\n \"backupIntervalInMinutes\": 240,\r\n \"backupRetentionIntervalInHours\": 8,\r\n \"backupStorageRedundancy\": \"Geo\"\r\n }\r\n },\r\n \"restoreParameters\": {\r\n \"restoreMode\": \"PointInTime\",\r\n \"restoreSource\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/providers/Microsoft.DocumentDB/locations//restorableDatabaseAccounts/\",\r\n \"restoreTimestampInUtc\": \"2020-11-20T10:00:00Z\"\r\n },\r\n \"networkAclBypassResourceIds\": []\r\n },\r\n \"identity\": {\r\n \"type\": \"None\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/resourceGroups/test1027group/providers/Microsoft.DocumentDB/databaseAccounts/test1027-1-r1\",\r\n \"name\": \"test1027-1-r1\",\r\n \"location\": \"North Central US\",\r\n \"type\": \"Microsoft.DocumentDB/databaseAccounts\",\r\n \"kind\": \"GlobalDocumentDB\",\r\n \"tags\": {\r\n \"restoredSourceDatabaseAccountName\": \"test1027-1,test1027-1\",\r\n \"restoredAtTimestamp\": \"11/20/2020 6:01:30 PM,1/28/2021 9:25:20 PM\"\r\n },\r\n \"systemData\": {\r\n \"createdAt\": \"2021-01-28T21:38:47.9342393Z\"\r\n },\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"documentEndpoint\": \"https://test1027-1-r1.documents-staging.windows-ppe.net:443/\",\r\n \"publicNetworkAccess\": \"Enabled\",\r\n \"enableAutomaticFailover\": false,\r\n \"enableMultipleWriteLocations\": false,\r\n \"enablePartitionKeyMonitor\": false,\r\n \"isVirtualNetworkFilterEnabled\": false,\r\n \"virtualNetworkRules\": [],\r\n \"EnabledApiTypes\": \"Sql\",\r\n \"disableKeyBasedMetadataWriteAccess\": false,\r\n \"enableFreeTier\": false,\r\n \"enableAnalyticalStorage\": false,\r\n \"analyticalStorageConfiguration\": null,\r\n \"instanceId\": \"2024b2c0-2370-4248-a28c-9c449715b452\",\r\n \"createMode\": \"Restore\",\r\n \"databaseAccountOfferType\": \"Standard\",\r\n \"enableCassandraConnector\": false,\r\n \"defaultIdentity\": \"\",\r\n \"networkAclBypass\": \"None\",\r\n \"consistencyPolicy\": {\r\n \"defaultConsistencyLevel\": \"Session\",\r\n \"maxIntervalInSeconds\": 5,\r\n \"maxStalenessPrefix\": 100\r\n },\r\n \"configurationOverrides\": {},\r\n \"writeLocations\": [\r\n {\r\n \"id\": \"test1027-1-r1-northcentralus\",\r\n \"locationName\": \"North Central US\",\r\n \"documentEndpoint\": \"https://test1027-1-r1-northcentralus.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"readLocations\": [\r\n {\r\n \"id\": \"test1027-1-r1-northcentralus\",\r\n \"locationName\": \"North Central US\",\r\n \"documentEndpoint\": \"https://test1027-1-r1-northcentralus.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"locations\": [\r\n {\r\n \"id\": \"test1027-1-r1-northcentralus\",\r\n \"locationName\": \"North Central US\",\r\n \"documentEndpoint\": \"https://test1027-1-r1-northcentralus.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"failoverPolicies\": [\r\n {\r\n \"id\": \"test1027-1-r1-northcentralus\",\r\n \"locationName\": \"North Central US\",\r\n \"failoverPriority\": 0\r\n }\r\n ],\r\n \"cors\": [],\r\n \"capabilities\": [],\r\n \"ipRules\": [],\r\n \"backupPolicy\": {\r\n \"type\": \"Periodic\",\r\n \"periodicModeProperties\": {\r\n \"backupIntervalInMinutes\": 240,\r\n \"backupRetentionIntervalInHours\": 8,\r\n \"backupStorageRedundancy\": \"Geo\"\r\n }\r\n },\r\n \"restoreParameters\": {\r\n \"restoreMode\": \"PointInTime\",\r\n \"restoreSource\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/providers/Microsoft.DocumentDB/locations//restorableDatabaseAccounts/\",\r\n \"restoreTimestampInUtc\": \"2021-01-28T19:00:00Z\"\r\n },\r\n \"networkAclBypassResourceIds\": []\r\n },\r\n \"identity\": {\r\n \"type\": \"None\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/resourceGroups/test1027group/providers/Microsoft.DocumentDB/databaseAccounts/test1027-1-r2\",\r\n \"name\": \"test1027-1-r2\",\r\n \"location\": \"North Central US\",\r\n \"type\": \"Microsoft.DocumentDB/databaseAccounts\",\r\n \"kind\": \"GlobalDocumentDB\",\r\n \"tags\": {\r\n \"restoredSourceDatabaseAccountName\": \"test1027-1,test1027-1\",\r\n \"restoredAtTimestamp\": \"11/20/2020 6:01:30 PM,1/28/2021 9:25:32 PM\"\r\n },\r\n \"systemData\": {\r\n \"createdAt\": \"2021-01-28T21:31:21.8236001Z\"\r\n },\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"documentEndpoint\": \"https://test1027-1-r2.documents-staging.windows-ppe.net:443/\",\r\n \"publicNetworkAccess\": \"Enabled\",\r\n \"enableAutomaticFailover\": false,\r\n \"enableMultipleWriteLocations\": false,\r\n \"enablePartitionKeyMonitor\": false,\r\n \"isVirtualNetworkFilterEnabled\": false,\r\n \"virtualNetworkRules\": [],\r\n \"EnabledApiTypes\": \"Sql\",\r\n \"disableKeyBasedMetadataWriteAccess\": false,\r\n \"enableFreeTier\": false,\r\n \"enableAnalyticalStorage\": false,\r\n \"analyticalStorageConfiguration\": null,\r\n \"instanceId\": \"82eb4c16-123d-4b11-8d5c-b98a6fdc0f66\",\r\n \"createMode\": \"Restore\",\r\n \"databaseAccountOfferType\": \"Standard\",\r\n \"enableCassandraConnector\": false,\r\n \"defaultIdentity\": \"\",\r\n \"networkAclBypass\": \"None\",\r\n \"consistencyPolicy\": {\r\n \"defaultConsistencyLevel\": \"Session\",\r\n \"maxIntervalInSeconds\": 5,\r\n \"maxStalenessPrefix\": 100\r\n },\r\n \"configurationOverrides\": {},\r\n \"writeLocations\": [\r\n {\r\n \"id\": \"test1027-1-r2-northcentralus\",\r\n \"locationName\": \"North Central US\",\r\n \"documentEndpoint\": \"https://test1027-1-r2-northcentralus.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"readLocations\": [\r\n {\r\n \"id\": \"test1027-1-r2-northcentralus\",\r\n \"locationName\": \"North Central US\",\r\n \"documentEndpoint\": \"https://test1027-1-r2-northcentralus.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"locations\": [\r\n {\r\n \"id\": \"test1027-1-r2-northcentralus\",\r\n \"locationName\": \"North Central US\",\r\n \"documentEndpoint\": \"https://test1027-1-r2-northcentralus.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"failoverPolicies\": [\r\n {\r\n \"id\": \"test1027-1-r2-northcentralus\",\r\n \"locationName\": \"North Central US\",\r\n \"failoverPriority\": 0\r\n }\r\n ],\r\n \"cors\": [],\r\n \"capabilities\": [],\r\n \"ipRules\": [],\r\n \"backupPolicy\": {\r\n \"type\": \"Periodic\",\r\n \"periodicModeProperties\": {\r\n \"backupIntervalInMinutes\": 240,\r\n \"backupRetentionIntervalInHours\": 8,\r\n \"backupStorageRedundancy\": \"Geo\"\r\n }\r\n },\r\n \"restoreParameters\": {\r\n \"restoreMode\": \"PointInTime\",\r\n \"restoreSource\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/providers/Microsoft.DocumentDB/locations//restorableDatabaseAccounts/\",\r\n \"restoreTimestampInUtc\": \"2021-01-28T19:00:00Z\"\r\n },\r\n \"networkAclBypassResourceIds\": []\r\n },\r\n \"identity\": {\r\n \"type\": \"None\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/resourceGroups/test1027group/providers/Microsoft.DocumentDB/databaseAccounts/test1027-1-r3\",\r\n \"name\": \"test1027-1-r3\",\r\n \"location\": \"North Central US\",\r\n \"type\": \"Microsoft.DocumentDB/databaseAccounts\",\r\n \"kind\": \"GlobalDocumentDB\",\r\n \"tags\": {\r\n \"restoredSourceDatabaseAccountName\": \"test1027-1,test1027-1\",\r\n \"restoredAtTimestamp\": \"11/20/2020 6:01:30 PM,1/28/2021 9:25:52 PM\"\r\n },\r\n \"systemData\": {\r\n \"createdAt\": \"2021-01-28T21:33:16.3110564Z\"\r\n },\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"documentEndpoint\": \"https://test1027-1-r3.documents-staging.windows-ppe.net:443/\",\r\n \"publicNetworkAccess\": \"Enabled\",\r\n \"enableAutomaticFailover\": false,\r\n \"enableMultipleWriteLocations\": false,\r\n \"enablePartitionKeyMonitor\": false,\r\n \"isVirtualNetworkFilterEnabled\": false,\r\n \"virtualNetworkRules\": [],\r\n \"EnabledApiTypes\": \"Sql\",\r\n \"disableKeyBasedMetadataWriteAccess\": false,\r\n \"enableFreeTier\": false,\r\n \"enableAnalyticalStorage\": false,\r\n \"analyticalStorageConfiguration\": null,\r\n \"instanceId\": \"c5dc8520-be90-4df7-b107-1f91d69c4e04\",\r\n \"createMode\": \"Restore\",\r\n \"databaseAccountOfferType\": \"Standard\",\r\n \"enableCassandraConnector\": false,\r\n \"defaultIdentity\": \"\",\r\n \"networkAclBypass\": \"None\",\r\n \"consistencyPolicy\": {\r\n \"defaultConsistencyLevel\": \"Session\",\r\n \"maxIntervalInSeconds\": 5,\r\n \"maxStalenessPrefix\": 100\r\n },\r\n \"configurationOverrides\": {},\r\n \"writeLocations\": [\r\n {\r\n \"id\": \"test1027-1-r3-northcentralus\",\r\n \"locationName\": \"North Central US\",\r\n \"documentEndpoint\": \"https://test1027-1-r3-northcentralus.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"readLocations\": [\r\n {\r\n \"id\": \"test1027-1-r3-northcentralus\",\r\n \"locationName\": \"North Central US\",\r\n \"documentEndpoint\": \"https://test1027-1-r3-northcentralus.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"locations\": [\r\n {\r\n \"id\": \"test1027-1-r3-northcentralus\",\r\n \"locationName\": \"North Central US\",\r\n \"documentEndpoint\": \"https://test1027-1-r3-northcentralus.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"failoverPolicies\": [\r\n {\r\n \"id\": \"test1027-1-r3-northcentralus\",\r\n \"locationName\": \"North Central US\",\r\n \"failoverPriority\": 0\r\n }\r\n ],\r\n \"cors\": [],\r\n \"capabilities\": [],\r\n \"ipRules\": [],\r\n \"backupPolicy\": {\r\n \"type\": \"Periodic\",\r\n \"periodicModeProperties\": {\r\n \"backupIntervalInMinutes\": 240,\r\n \"backupRetentionIntervalInHours\": 8,\r\n \"backupStorageRedundancy\": \"Geo\"\r\n }\r\n },\r\n \"restoreParameters\": {\r\n \"restoreMode\": \"PointInTime\",\r\n \"restoreSource\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/providers/Microsoft.DocumentDB/locations//restorableDatabaseAccounts/\",\r\n \"restoreTimestampInUtc\": \"2021-01-28T19:00:00Z\"\r\n },\r\n \"networkAclBypassResourceIds\": []\r\n },\r\n \"identity\": {\r\n \"type\": \"None\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/resourceGroups/test1027group/providers/Microsoft.DocumentDB/databaseAccounts/test1027-1-r4-r1\",\r\n \"name\": \"test1027-1-r4-r1\",\r\n \"location\": \"North Central US\",\r\n \"type\": \"Microsoft.DocumentDB/databaseAccounts\",\r\n \"kind\": \"GlobalDocumentDB\",\r\n \"tags\": {\r\n \"restoredSourceDatabaseAccountName\": \"test1027-1,test1027-1,test1027-1-r4\",\r\n \"restoredAtTimestamp\": \"11/20/2020 6:01:30 PM,1/28/2021 9:26:28 PM,1/29/2021 7:16:36 PM\"\r\n },\r\n \"systemData\": {\r\n \"createdAt\": \"2021-01-29T19:23:04.0332667Z\"\r\n },\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"documentEndpoint\": \"https://test1027-1-r4-r1.documents-staging.windows-ppe.net:443/\",\r\n \"publicNetworkAccess\": \"Enabled\",\r\n \"enableAutomaticFailover\": false,\r\n \"enableMultipleWriteLocations\": false,\r\n \"enablePartitionKeyMonitor\": false,\r\n \"isVirtualNetworkFilterEnabled\": false,\r\n \"virtualNetworkRules\": [],\r\n \"EnabledApiTypes\": \"Sql\",\r\n \"disableKeyBasedMetadataWriteAccess\": false,\r\n \"enableFreeTier\": false,\r\n \"enableAnalyticalStorage\": false,\r\n \"analyticalStorageConfiguration\": null,\r\n \"instanceId\": \"249d3b84-6f24-486f-a712-9fde7a50b73d\",\r\n \"createMode\": \"Restore\",\r\n \"databaseAccountOfferType\": \"Standard\",\r\n \"enableCassandraConnector\": false,\r\n \"defaultIdentity\": \"\",\r\n \"networkAclBypass\": \"None\",\r\n \"consistencyPolicy\": {\r\n \"defaultConsistencyLevel\": \"Session\",\r\n \"maxIntervalInSeconds\": 5,\r\n \"maxStalenessPrefix\": 100\r\n },\r\n \"configurationOverrides\": {},\r\n \"writeLocations\": [\r\n {\r\n \"id\": \"test1027-1-r4-r1-northcentralus\",\r\n \"locationName\": \"North Central US\",\r\n \"documentEndpoint\": \"https://test1027-1-r4-r1-northcentralus.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"readLocations\": [\r\n {\r\n \"id\": \"test1027-1-r4-r1-northcentralus\",\r\n \"locationName\": \"North Central US\",\r\n \"documentEndpoint\": \"https://test1027-1-r4-r1-northcentralus.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"locations\": [\r\n {\r\n \"id\": \"test1027-1-r4-r1-northcentralus\",\r\n \"locationName\": \"North Central US\",\r\n \"documentEndpoint\": \"https://test1027-1-r4-r1-northcentralus.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"failoverPolicies\": [\r\n {\r\n \"id\": \"test1027-1-r4-r1-northcentralus\",\r\n \"locationName\": \"North Central US\",\r\n \"failoverPriority\": 0\r\n }\r\n ],\r\n \"cors\": [],\r\n \"capabilities\": [],\r\n \"ipRules\": [],\r\n \"backupPolicy\": {\r\n \"type\": \"Periodic\",\r\n \"periodicModeProperties\": {\r\n \"backupIntervalInMinutes\": 240,\r\n \"backupRetentionIntervalInHours\": 8,\r\n \"backupStorageRedundancy\": \"Geo\"\r\n }\r\n },\r\n \"restoreParameters\": {\r\n \"restoreMode\": \"PointInTime\",\r\n \"restoreSource\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/providers/Microsoft.DocumentDB/locations//restorableDatabaseAccounts/\",\r\n \"restoreTimestampInUtc\": \"2021-01-29T00:00:00Z\"\r\n },\r\n \"networkAclBypassResourceIds\": []\r\n },\r\n \"identity\": {\r\n \"type\": \"None\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/resourceGroups/test1027group/providers/Microsoft.DocumentDB/databaseAccounts/test1027-1-r4-r2\",\r\n \"name\": \"test1027-1-r4-r2\",\r\n \"location\": \"North Central US\",\r\n \"type\": \"Microsoft.DocumentDB/databaseAccounts\",\r\n \"kind\": \"GlobalDocumentDB\",\r\n \"tags\": {\r\n \"restoredSourceDatabaseAccountName\": \"test1027-1,test1027-1,test1027-1-r4\",\r\n \"restoredAtTimestamp\": \"11/20/2020 6:01:30 PM,1/28/2021 9:26:28 PM,1/29/2021 7:30:59 PM\"\r\n },\r\n \"systemData\": {\r\n \"createdAt\": \"2021-01-29T19:37:31.3335151Z\"\r\n },\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"documentEndpoint\": \"https://test1027-1-r4-r2.documents-staging.windows-ppe.net:443/\",\r\n \"publicNetworkAccess\": \"Enabled\",\r\n \"enableAutomaticFailover\": false,\r\n \"enableMultipleWriteLocations\": false,\r\n \"enablePartitionKeyMonitor\": false,\r\n \"isVirtualNetworkFilterEnabled\": false,\r\n \"virtualNetworkRules\": [],\r\n \"EnabledApiTypes\": \"Sql\",\r\n \"disableKeyBasedMetadataWriteAccess\": false,\r\n \"enableFreeTier\": false,\r\n \"enableAnalyticalStorage\": false,\r\n \"analyticalStorageConfiguration\": null,\r\n \"instanceId\": \"98fa1c0a-17ad-4a18-a6c4-0558656371cc\",\r\n \"createMode\": \"Restore\",\r\n \"databaseAccountOfferType\": \"Standard\",\r\n \"enableCassandraConnector\": false,\r\n \"defaultIdentity\": \"\",\r\n \"networkAclBypass\": \"None\",\r\n \"consistencyPolicy\": {\r\n \"defaultConsistencyLevel\": \"Session\",\r\n \"maxIntervalInSeconds\": 5,\r\n \"maxStalenessPrefix\": 100\r\n },\r\n \"configurationOverrides\": {},\r\n \"writeLocations\": [\r\n {\r\n \"id\": \"test1027-1-r4-r2-northcentralus\",\r\n \"locationName\": \"North Central US\",\r\n \"documentEndpoint\": \"https://test1027-1-r4-r2-northcentralus.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"readLocations\": [\r\n {\r\n \"id\": \"test1027-1-r4-r2-northcentralus\",\r\n \"locationName\": \"North Central US\",\r\n \"documentEndpoint\": \"https://test1027-1-r4-r2-northcentralus.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"locations\": [\r\n {\r\n \"id\": \"test1027-1-r4-r2-northcentralus\",\r\n \"locationName\": \"North Central US\",\r\n \"documentEndpoint\": \"https://test1027-1-r4-r2-northcentralus.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"failoverPolicies\": [\r\n {\r\n \"id\": \"test1027-1-r4-r2-northcentralus\",\r\n \"locationName\": \"North Central US\",\r\n \"failoverPriority\": 0\r\n }\r\n ],\r\n \"cors\": [],\r\n \"capabilities\": [],\r\n \"ipRules\": [],\r\n \"backupPolicy\": {\r\n \"type\": \"Periodic\",\r\n \"periodicModeProperties\": {\r\n \"backupIntervalInMinutes\": 240,\r\n \"backupRetentionIntervalInHours\": 8,\r\n \"backupStorageRedundancy\": \"Geo\"\r\n }\r\n },\r\n \"restoreParameters\": {\r\n \"restoreMode\": \"PointInTime\",\r\n \"restoreSource\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/providers/Microsoft.DocumentDB/locations//restorableDatabaseAccounts/\",\r\n \"restoreTimestampInUtc\": \"2021-01-29T00:00:00Z\"\r\n },\r\n \"networkAclBypassResourceIds\": []\r\n },\r\n \"identity\": {\r\n \"type\": \"None\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/resourceGroups/gremlin-staging/providers/Microsoft.DocumentDB/databaseAccounts/testaccountcreation-0904\",\r\n \"name\": \"testaccountcreation-0904\",\r\n \"location\": \"North Central US\",\r\n \"type\": \"Microsoft.DocumentDB/databaseAccounts\",\r\n \"kind\": \"GlobalDocumentDB\",\r\n \"tags\": {\r\n \"defaultExperience\": \"Gremlin (graph)\",\r\n \"hidden-cosmos-mmspecial\": \"\"\r\n },\r\n \"systemData\": {\r\n \"createdAt\": \"2019-09-10T20:37:56.0770654Z\"\r\n },\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"documentEndpoint\": \"https://testaccountcreation-0904.documents-staging.windows-ppe.net:443/\",\r\n \"gremlinEndpoint\": \"https://testaccountcreation-0904.gremlin.cosmos.windows-ppe.net:443/\",\r\n \"publicNetworkAccess\": \"Enabled\",\r\n \"enableAutomaticFailover\": false,\r\n \"enableMultipleWriteLocations\": false,\r\n \"enablePartitionKeyMonitor\": false,\r\n \"isVirtualNetworkFilterEnabled\": false,\r\n \"virtualNetworkRules\": [],\r\n \"EnabledApiTypes\": \"Gremlin, Sql\",\r\n \"disableKeyBasedMetadataWriteAccess\": false,\r\n \"enableFreeTier\": false,\r\n \"enableAnalyticalStorage\": false,\r\n \"analyticalStorageConfiguration\": null,\r\n \"instanceId\": \"6ea4f74d-f9ce-47ee-9185-47bc271db239\",\r\n \"createMode\": \"Default\",\r\n \"databaseAccountOfferType\": \"Standard\",\r\n \"enableCassandraConnector\": false,\r\n \"connectorOffer\": \"\",\r\n \"defaultIdentity\": \"\",\r\n \"networkAclBypass\": \"None\",\r\n \"consistencyPolicy\": {\r\n \"defaultConsistencyLevel\": \"Session\",\r\n \"maxIntervalInSeconds\": 5,\r\n \"maxStalenessPrefix\": 100\r\n },\r\n \"configurationOverrides\": {},\r\n \"writeLocations\": [\r\n {\r\n \"id\": \"testaccountcreation-0904-northcentralus\",\r\n \"locationName\": \"North Central US\",\r\n \"documentEndpoint\": \"https://testaccountcreation-0904-northcentralus.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"readLocations\": [\r\n {\r\n \"id\": \"testaccountcreation-0904-northcentralus\",\r\n \"locationName\": \"North Central US\",\r\n \"documentEndpoint\": \"https://testaccountcreation-0904-northcentralus.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"locations\": [\r\n {\r\n \"id\": \"testaccountcreation-0904-northcentralus\",\r\n \"locationName\": \"North Central US\",\r\n \"documentEndpoint\": \"https://testaccountcreation-0904-northcentralus.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"failoverPolicies\": [\r\n {\r\n \"id\": \"testaccountcreation-0904-northcentralus\",\r\n \"locationName\": \"North Central US\",\r\n \"failoverPriority\": 0\r\n }\r\n ],\r\n \"cors\": [],\r\n \"capabilities\": [\r\n {\r\n \"name\": \"EnableGremlin\"\r\n }\r\n ],\r\n \"ipRules\": [],\r\n \"backupPolicy\": {\r\n \"type\": \"Periodic\",\r\n \"periodicModeProperties\": {\r\n \"backupIntervalInMinutes\": 240,\r\n \"backupRetentionIntervalInHours\": 8,\r\n \"backupStorageRedundancy\": \"Geo\"\r\n }\r\n },\r\n \"networkAclBypassResourceIds\": []\r\n },\r\n \"identity\": {\r\n \"type\": \"None\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/resourceGroups/gremlin-staging/providers/Microsoft.DocumentDB/databaseAccounts/testaccountcreationcli0904\",\r\n \"name\": \"testaccountcreationcli0904\",\r\n \"location\": \"North Central US\",\r\n \"type\": \"Microsoft.DocumentDB/databaseAccounts\",\r\n \"kind\": \"GlobalDocumentDB\",\r\n \"tags\": {},\r\n \"systemData\": {\r\n \"createdAt\": \"2019-09-10T21:23:54.2821986Z\"\r\n },\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"documentEndpoint\": \"https://testaccountcreationcli0904.documents-staging.windows-ppe.net:443/\",\r\n \"gremlinEndpoint\": \"https://testaccountcreationcli0904.gremlin.cosmos.windows-ppe.net:443/\",\r\n \"publicNetworkAccess\": \"Enabled\",\r\n \"enableAutomaticFailover\": false,\r\n \"enableMultipleWriteLocations\": false,\r\n \"enablePartitionKeyMonitor\": false,\r\n \"isVirtualNetworkFilterEnabled\": false,\r\n \"virtualNetworkRules\": [],\r\n \"EnabledApiTypes\": \"Gremlin, Sql\",\r\n \"disableKeyBasedMetadataWriteAccess\": false,\r\n \"enableFreeTier\": false,\r\n \"enableAnalyticalStorage\": false,\r\n \"analyticalStorageConfiguration\": null,\r\n \"instanceId\": \"8b9d18c8-aed8-4d05-920b-1fcf290739c7\",\r\n \"createMode\": \"Default\",\r\n \"databaseAccountOfferType\": \"Standard\",\r\n \"enableCassandraConnector\": false,\r\n \"connectorOffer\": \"\",\r\n \"defaultIdentity\": \"\",\r\n \"networkAclBypass\": \"None\",\r\n \"consistencyPolicy\": {\r\n \"defaultConsistencyLevel\": \"Session\",\r\n \"maxIntervalInSeconds\": 5,\r\n \"maxStalenessPrefix\": 100\r\n },\r\n \"configurationOverrides\": {},\r\n \"writeLocations\": [\r\n {\r\n \"id\": \"testaccountcreationcli0904-northcentralus\",\r\n \"locationName\": \"North Central US\",\r\n \"documentEndpoint\": \"https://testaccountcreationcli0904-northcentralus.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"readLocations\": [\r\n {\r\n \"id\": \"testaccountcreationcli0904-northcentralus\",\r\n \"locationName\": \"North Central US\",\r\n \"documentEndpoint\": \"https://testaccountcreationcli0904-northcentralus.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"locations\": [\r\n {\r\n \"id\": \"testaccountcreationcli0904-northcentralus\",\r\n \"locationName\": \"North Central US\",\r\n \"documentEndpoint\": \"https://testaccountcreationcli0904-northcentralus.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"failoverPolicies\": [\r\n {\r\n \"id\": \"testaccountcreationcli0904-northcentralus\",\r\n \"locationName\": \"North Central US\",\r\n \"failoverPriority\": 0\r\n }\r\n ],\r\n \"cors\": [],\r\n \"capabilities\": [\r\n {\r\n \"name\": \"EnableGremlin\"\r\n }\r\n ],\r\n \"ipRules\": [],\r\n \"backupPolicy\": {\r\n \"type\": \"Periodic\",\r\n \"periodicModeProperties\": {\r\n \"backupIntervalInMinutes\": 240,\r\n \"backupRetentionIntervalInHours\": 8,\r\n \"backupStorageRedundancy\": \"Geo\"\r\n }\r\n },\r\n \"networkAclBypassResourceIds\": []\r\n },\r\n \"identity\": {\r\n \"type\": \"None\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/resourceGroups/abinav_stage_rg/providers/Microsoft.DocumentDB/databaseAccounts/testcassandracapability\",\r\n \"name\": \"testcassandracapability\",\r\n \"location\": \"North Central US\",\r\n \"type\": \"Microsoft.DocumentDB/databaseAccounts\",\r\n \"kind\": \"GlobalDocumentDB\",\r\n \"tags\": {\r\n \"defaultExperience\": \"Cassandra\"\r\n },\r\n \"systemData\": {\r\n \"createdAt\": \"2019-04-30T21:51:18.5968762Z\"\r\n },\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"documentEndpoint\": \"https://testcassandracapability.documents-staging.windows-ppe.net:443/\",\r\n \"cassandraEndpoint\": \"https://testcassandracapability.cassandra.cosmos.windows-ppe.net:443/\",\r\n \"publicNetworkAccess\": \"Enabled\",\r\n \"enableAutomaticFailover\": false,\r\n \"enableMultipleWriteLocations\": false,\r\n \"enablePartitionKeyMonitor\": false,\r\n \"isVirtualNetworkFilterEnabled\": false,\r\n \"virtualNetworkRules\": [],\r\n \"EnabledApiTypes\": \"Cassandra\",\r\n \"disableKeyBasedMetadataWriteAccess\": false,\r\n \"enableFreeTier\": false,\r\n \"enableAnalyticalStorage\": false,\r\n \"analyticalStorageConfiguration\": null,\r\n \"instanceId\": \"895dfeb5-68f2-489d-a111-29d2e12591bb\",\r\n \"createMode\": \"Default\",\r\n \"databaseAccountOfferType\": \"Standard\",\r\n \"defaultIdentity\": \"\",\r\n \"networkAclBypass\": \"None\",\r\n \"consistencyPolicy\": {\r\n \"defaultConsistencyLevel\": \"Session\",\r\n \"maxIntervalInSeconds\": 5,\r\n \"maxStalenessPrefix\": 100\r\n },\r\n \"configurationOverrides\": {},\r\n \"writeLocations\": [\r\n {\r\n \"id\": \"testcassandracapability-northcentralus\",\r\n \"locationName\": \"North Central US\",\r\n \"documentEndpoint\": \"https://testcassandracapability-northcentralus.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"readLocations\": [\r\n {\r\n \"id\": \"testcassandracapability-northcentralus\",\r\n \"locationName\": \"North Central US\",\r\n \"documentEndpoint\": \"https://testcassandracapability-northcentralus.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"locations\": [\r\n {\r\n \"id\": \"testcassandracapability-northcentralus\",\r\n \"locationName\": \"North Central US\",\r\n \"documentEndpoint\": \"https://testcassandracapability-northcentralus.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"failoverPolicies\": [\r\n {\r\n \"id\": \"testcassandracapability-northcentralus\",\r\n \"locationName\": \"North Central US\",\r\n \"failoverPriority\": 0\r\n }\r\n ],\r\n \"cors\": [],\r\n \"capabilities\": [\r\n {\r\n \"name\": \"EnableCassandra\"\r\n }\r\n ],\r\n \"ipRules\": [],\r\n \"backupPolicy\": {\r\n \"type\": \"Periodic\",\r\n \"periodicModeProperties\": {\r\n \"backupIntervalInMinutes\": 240,\r\n \"backupRetentionIntervalInHours\": 8,\r\n \"backupStorageRedundancy\": \"Geo\"\r\n }\r\n },\r\n \"networkAclBypassResourceIds\": []\r\n },\r\n \"identity\": {\r\n \"type\": \"None\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/resourceGroups/foobar/providers/Microsoft.DocumentDB/databaseAccounts/testmmcreation\",\r\n \"name\": \"testmmcreation\",\r\n \"location\": \"North Central US\",\r\n \"type\": \"Microsoft.DocumentDB/databaseAccounts\",\r\n \"kind\": \"GlobalDocumentDB\",\r\n \"tags\": {\r\n \"defaultExperience\": \"DocumentDB\"\r\n },\r\n \"systemData\": {\r\n \"createdAt\": \"2018-09-08T17:58:17.2503507Z\"\r\n },\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"documentEndpoint\": \"https://testmmcreation.documents-staging.windows-ppe.net:443/\",\r\n \"publicNetworkAccess\": \"Enabled\",\r\n \"enableAutomaticFailover\": false,\r\n \"enableMultipleWriteLocations\": true,\r\n \"enablePartitionKeyMonitor\": false,\r\n \"isVirtualNetworkFilterEnabled\": false,\r\n \"virtualNetworkRules\": [],\r\n \"EnabledApiTypes\": \"Sql\",\r\n \"disableKeyBasedMetadataWriteAccess\": false,\r\n \"enableFreeTier\": false,\r\n \"enableAnalyticalStorage\": false,\r\n \"analyticalStorageConfiguration\": null,\r\n \"instanceId\": \"3bb6ddfc-d39c-47d7-b868-cae477cf5d92\",\r\n \"createMode\": \"Default\",\r\n \"databaseAccountOfferType\": \"Standard\",\r\n \"defaultIdentity\": \"\",\r\n \"networkAclBypass\": \"None\",\r\n \"consistencyPolicy\": {\r\n \"defaultConsistencyLevel\": \"Session\",\r\n \"maxIntervalInSeconds\": 5,\r\n \"maxStalenessPrefix\": 100\r\n },\r\n \"configurationOverrides\": {},\r\n \"writeLocations\": [\r\n {\r\n \"id\": \"testmmcreation-southeastasia\",\r\n \"locationName\": \"Southeast Asia\",\r\n \"documentEndpoint\": \"https://testmmcreation-southeastasia.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n },\r\n {\r\n \"id\": \"testmmcreation-northcentralus\",\r\n \"locationName\": \"North Central US\",\r\n \"documentEndpoint\": \"https://testmmcreation-northcentralus.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 1,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"readLocations\": [\r\n {\r\n \"id\": \"testmmcreation-southeastasia\",\r\n \"locationName\": \"Southeast Asia\",\r\n \"documentEndpoint\": \"https://testmmcreation-southeastasia.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n },\r\n {\r\n \"id\": \"testmmcreation-northcentralus\",\r\n \"locationName\": \"North Central US\",\r\n \"documentEndpoint\": \"https://testmmcreation-northcentralus.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 1,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"locations\": [\r\n {\r\n \"id\": \"testmmcreation-southeastasia\",\r\n \"locationName\": \"Southeast Asia\",\r\n \"documentEndpoint\": \"https://testmmcreation-southeastasia.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n },\r\n {\r\n \"id\": \"testmmcreation-northcentralus\",\r\n \"locationName\": \"North Central US\",\r\n \"documentEndpoint\": \"https://testmmcreation-northcentralus.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 1,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"failoverPolicies\": [\r\n {\r\n \"id\": \"testmmcreation-southeastasia\",\r\n \"locationName\": \"Southeast Asia\",\r\n \"failoverPriority\": 0\r\n },\r\n {\r\n \"id\": \"testmmcreation-northcentralus\",\r\n \"locationName\": \"North Central US\",\r\n \"failoverPriority\": 1\r\n }\r\n ],\r\n \"cors\": [],\r\n \"capabilities\": [],\r\n \"ipRules\": [],\r\n \"backupPolicy\": {\r\n \"type\": \"Periodic\",\r\n \"periodicModeProperties\": {\r\n \"backupIntervalInMinutes\": 240,\r\n \"backupRetentionIntervalInHours\": 8,\r\n \"backupStorageRedundancy\": \"Geo\"\r\n }\r\n },\r\n \"networkAclBypassResourceIds\": []\r\n },\r\n \"identity\": {\r\n \"type\": \"None\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/resourceGroups/ashwini-rg/providers/Microsoft.DocumentDB/databaseAccounts/testmongoindex\",\r\n \"name\": \"testmongoindex\",\r\n \"location\": \"North Central US\",\r\n \"type\": \"Microsoft.DocumentDB/databaseAccounts\",\r\n \"kind\": \"MongoDB\",\r\n \"tags\": {\r\n \"defaultExperience\": \"Azure Cosmos DB for MongoDB API\",\r\n \"hidden-cosmos-mmspecial\": \"\"\r\n },\r\n \"systemData\": {\r\n \"createdAt\": \"2019-10-11T18:06:49.8161865Z\"\r\n },\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"documentEndpoint\": \"https://testmongoindex.documents-staging.windows-ppe.net:443/\",\r\n \"mongoEndpoint\": \"https://testmongoindex.mongo.cosmos.windows-ppe.net:443/\",\r\n \"publicNetworkAccess\": \"Enabled\",\r\n \"enableAutomaticFailover\": false,\r\n \"enableMultipleWriteLocations\": false,\r\n \"enablePartitionKeyMonitor\": false,\r\n \"isVirtualNetworkFilterEnabled\": false,\r\n \"virtualNetworkRules\": [],\r\n \"EnabledApiTypes\": \"MongoDB\",\r\n \"disableKeyBasedMetadataWriteAccess\": false,\r\n \"enableFreeTier\": false,\r\n \"enableAnalyticalStorage\": false,\r\n \"analyticalStorageConfiguration\": null,\r\n \"instanceId\": \"e020d70d-00a2-48ff-a8e1-5a1ba646f9bb\",\r\n \"createMode\": \"Default\",\r\n \"databaseAccountOfferType\": \"Standard\",\r\n \"enableCassandraConnector\": false,\r\n \"connectorOffer\": \"\",\r\n \"defaultIdentity\": \"\",\r\n \"networkAclBypass\": \"None\",\r\n \"consistencyPolicy\": {\r\n \"defaultConsistencyLevel\": \"Session\",\r\n \"maxIntervalInSeconds\": 5,\r\n \"maxStalenessPrefix\": 100\r\n },\r\n \"apiProperties\": {\r\n \"serverVersion\": \"3.6\"\r\n },\r\n \"configurationOverrides\": {\r\n \"EnableBsonSchema\": \"True\"\r\n },\r\n \"writeLocations\": [\r\n {\r\n \"id\": \"testmongoindex-northcentralus\",\r\n \"locationName\": \"North Central US\",\r\n \"documentEndpoint\": \"https://testmongoindex-northcentralus.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"readLocations\": [\r\n {\r\n \"id\": \"testmongoindex-northcentralus\",\r\n \"locationName\": \"North Central US\",\r\n \"documentEndpoint\": \"https://testmongoindex-northcentralus.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"locations\": [\r\n {\r\n \"id\": \"testmongoindex-northcentralus\",\r\n \"locationName\": \"North Central US\",\r\n \"documentEndpoint\": \"https://testmongoindex-northcentralus.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"failoverPolicies\": [\r\n {\r\n \"id\": \"testmongoindex-northcentralus\",\r\n \"locationName\": \"North Central US\",\r\n \"failoverPriority\": 0\r\n }\r\n ],\r\n \"cors\": [],\r\n \"capabilities\": [\r\n {\r\n \"name\": \"EnableMongo\"\r\n }\r\n ],\r\n \"ipRules\": [],\r\n \"backupPolicy\": {\r\n \"type\": \"Periodic\",\r\n \"periodicModeProperties\": {\r\n \"backupIntervalInMinutes\": 60,\r\n \"backupRetentionIntervalInHours\": 8,\r\n \"backupStorageRedundancy\": \"Geo\"\r\n }\r\n },\r\n \"networkAclBypassResourceIds\": []\r\n },\r\n \"identity\": {\r\n \"type\": \"None\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/resourceGroups/shtan-stage-signoff/providers/Microsoft.DocumentDB/databaseAccounts/testrestorelivesite\",\r\n \"name\": \"testrestorelivesite\",\r\n \"location\": \"North Central US\",\r\n \"type\": \"Microsoft.DocumentDB/databaseAccounts\",\r\n \"kind\": \"GlobalDocumentDB\",\r\n \"tags\": {\r\n \"defaultExperience\": \"Core (SQL)\",\r\n \"hidden-cosmos-mmspecial\": \"\"\r\n },\r\n \"systemData\": {\r\n \"createdAt\": \"2019-12-11T22:05:34.9312626Z\"\r\n },\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"documentEndpoint\": \"https://testrestorelivesite.documents-staging.windows-ppe.net:443/\",\r\n \"publicNetworkAccess\": \"Enabled\",\r\n \"enableAutomaticFailover\": false,\r\n \"enableMultipleWriteLocations\": false,\r\n \"enablePartitionKeyMonitor\": false,\r\n \"isVirtualNetworkFilterEnabled\": false,\r\n \"virtualNetworkRules\": [],\r\n \"EnabledApiTypes\": \"Sql\",\r\n \"disableKeyBasedMetadataWriteAccess\": false,\r\n \"enableFreeTier\": false,\r\n \"enableAnalyticalStorage\": false,\r\n \"analyticalStorageConfiguration\": null,\r\n \"instanceId\": \"fc3966b1-4234-48b6-85d4-f34e08baa243\",\r\n \"createMode\": \"Default\",\r\n \"databaseAccountOfferType\": \"Standard\",\r\n \"enableCassandraConnector\": false,\r\n \"connectorOffer\": \"\",\r\n \"defaultIdentity\": \"\",\r\n \"networkAclBypass\": \"None\",\r\n \"consistencyPolicy\": {\r\n \"defaultConsistencyLevel\": \"Session\",\r\n \"maxIntervalInSeconds\": 5,\r\n \"maxStalenessPrefix\": 100\r\n },\r\n \"configurationOverrides\": {},\r\n \"writeLocations\": [\r\n {\r\n \"id\": \"testrestorelivesite-northcentralus\",\r\n \"locationName\": \"North Central US\",\r\n \"documentEndpoint\": \"https://testrestorelivesite-northcentralus.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"readLocations\": [\r\n {\r\n \"id\": \"testrestorelivesite-northcentralus\",\r\n \"locationName\": \"North Central US\",\r\n \"documentEndpoint\": \"https://testrestorelivesite-northcentralus.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"locations\": [\r\n {\r\n \"id\": \"testrestorelivesite-northcentralus\",\r\n \"locationName\": \"North Central US\",\r\n \"documentEndpoint\": \"https://testrestorelivesite-northcentralus.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"failoverPolicies\": [\r\n {\r\n \"id\": \"testrestorelivesite-northcentralus\",\r\n \"locationName\": \"North Central US\",\r\n \"failoverPriority\": 0\r\n }\r\n ],\r\n \"cors\": [],\r\n \"capabilities\": [],\r\n \"ipRules\": [],\r\n \"backupPolicy\": {\r\n \"type\": \"Periodic\",\r\n \"periodicModeProperties\": {\r\n \"backupIntervalInMinutes\": 60,\r\n \"backupRetentionIntervalInHours\": 8,\r\n \"backupStorageRedundancy\": \"Geo\"\r\n }\r\n },\r\n \"networkAclBypassResourceIds\": []\r\n },\r\n \"identity\": {\r\n \"type\": \"None\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/resourceGroups/shtan-stage-signoff/providers/Microsoft.DocumentDB/databaseAccounts/testrestorelivesite-r1\",\r\n \"name\": \"testrestorelivesite-r1\",\r\n \"location\": \"North Central US\",\r\n \"type\": \"Microsoft.DocumentDB/databaseAccounts\",\r\n \"kind\": \"GlobalDocumentDB\",\r\n \"tags\": {\r\n \"defaultExperience\": \"Core (SQL)\",\r\n \"hidden-cosmos-mmspecial\": \"\",\r\n \"restoredSourceDatabaseAccountName\": \"testrestorelivesite\",\r\n \"restoredAtTimestamp\": \"12/11/2019 11:57:41 PM\"\r\n },\r\n \"systemData\": {\r\n \"createdAt\": \"2019-12-12T00:02:42.9515779Z\"\r\n },\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"documentEndpoint\": \"https://testrestorelivesite-r1.documents-staging.windows-ppe.net:443/\",\r\n \"publicNetworkAccess\": \"Enabled\",\r\n \"enableAutomaticFailover\": false,\r\n \"enableMultipleWriteLocations\": false,\r\n \"enablePartitionKeyMonitor\": false,\r\n \"isVirtualNetworkFilterEnabled\": false,\r\n \"virtualNetworkRules\": [],\r\n \"EnabledApiTypes\": \"Sql\",\r\n \"disableKeyBasedMetadataWriteAccess\": false,\r\n \"enableFreeTier\": false,\r\n \"enableAnalyticalStorage\": false,\r\n \"analyticalStorageConfiguration\": null,\r\n \"instanceId\": \"1d988033-abf1-4831-bb55-65c90712dbee\",\r\n \"createMode\": \"Default\",\r\n \"databaseAccountOfferType\": \"Standard\",\r\n \"enableCassandraConnector\": false,\r\n \"defaultIdentity\": \"\",\r\n \"networkAclBypass\": \"None\",\r\n \"consistencyPolicy\": {\r\n \"defaultConsistencyLevel\": \"Session\",\r\n \"maxIntervalInSeconds\": 5,\r\n \"maxStalenessPrefix\": 100\r\n },\r\n \"configurationOverrides\": {},\r\n \"writeLocations\": [\r\n {\r\n \"id\": \"testrestorelivesite-r1-northcentralus\",\r\n \"locationName\": \"North Central US\",\r\n \"documentEndpoint\": \"https://testrestorelivesite-r1-northcentralus.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"readLocations\": [\r\n {\r\n \"id\": \"testrestorelivesite-r1-northcentralus\",\r\n \"locationName\": \"North Central US\",\r\n \"documentEndpoint\": \"https://testrestorelivesite-r1-northcentralus.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"locations\": [\r\n {\r\n \"id\": \"testrestorelivesite-r1-northcentralus\",\r\n \"locationName\": \"North Central US\",\r\n \"documentEndpoint\": \"https://testrestorelivesite-r1-northcentralus.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"failoverPolicies\": [\r\n {\r\n \"id\": \"testrestorelivesite-r1-northcentralus\",\r\n \"locationName\": \"North Central US\",\r\n \"failoverPriority\": 0\r\n }\r\n ],\r\n \"cors\": [],\r\n \"capabilities\": [],\r\n \"ipRules\": [],\r\n \"backupPolicy\": {\r\n \"type\": \"Periodic\",\r\n \"periodicModeProperties\": {\r\n \"backupIntervalInMinutes\": 60,\r\n \"backupRetentionIntervalInHours\": 8,\r\n \"backupStorageRedundancy\": \"Geo\"\r\n }\r\n },\r\n \"networkAclBypassResourceIds\": []\r\n },\r\n \"identity\": {\r\n \"type\": \"None\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/resourceGroups/mekaushi/providers/Microsoft.DocumentDB/databaseAccounts/testserverless\",\r\n \"name\": \"testserverless\",\r\n \"location\": \"North Central US\",\r\n \"type\": \"Microsoft.DocumentDB/databaseAccounts\",\r\n \"kind\": \"MongoDB\",\r\n \"tags\": {},\r\n \"systemData\": {\r\n \"createdAt\": \"2020-10-14T19:46:50.9235709Z\"\r\n },\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"documentEndpoint\": \"https://testserverless.documents-staging.windows-ppe.net:443/\",\r\n \"mongoEndpoint\": \"https://testserverless.mongo.cosmos.windows-ppe.net:443/\",\r\n \"publicNetworkAccess\": \"Enabled\",\r\n \"enableAutomaticFailover\": false,\r\n \"enableMultipleWriteLocations\": false,\r\n \"enablePartitionKeyMonitor\": false,\r\n \"isVirtualNetworkFilterEnabled\": false,\r\n \"virtualNetworkRules\": [],\r\n \"EnabledApiTypes\": \"MongoDB\",\r\n \"disableKeyBasedMetadataWriteAccess\": false,\r\n \"enableFreeTier\": false,\r\n \"enableAnalyticalStorage\": false,\r\n \"analyticalStorageConfiguration\": null,\r\n \"instanceId\": \"d46ce3a4-770b-4cd8-b9b4-5c295d0cd979\",\r\n \"createMode\": \"Default\",\r\n \"databaseAccountOfferType\": \"Standard\",\r\n \"enableCassandraConnector\": false,\r\n \"connectorOffer\": \"\",\r\n \"defaultIdentity\": \"\",\r\n \"networkAclBypass\": \"None\",\r\n \"consistencyPolicy\": {\r\n \"defaultConsistencyLevel\": \"Session\",\r\n \"maxIntervalInSeconds\": 5,\r\n \"maxStalenessPrefix\": 100\r\n },\r\n \"apiProperties\": {\r\n \"serverVersion\": \"3.6\"\r\n },\r\n \"configurationOverrides\": {\r\n \"EnableBsonSchema\": \"True\"\r\n },\r\n \"writeLocations\": [\r\n {\r\n \"id\": \"testserverless-northcentralus\",\r\n \"locationName\": \"North Central US\",\r\n \"documentEndpoint\": \"https://testserverless-northcentralus.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"readLocations\": [\r\n {\r\n \"id\": \"testserverless-northcentralus\",\r\n \"locationName\": \"North Central US\",\r\n \"documentEndpoint\": \"https://testserverless-northcentralus.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"locations\": [\r\n {\r\n \"id\": \"testserverless-northcentralus\",\r\n \"locationName\": \"North Central US\",\r\n \"documentEndpoint\": \"https://testserverless-northcentralus.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"failoverPolicies\": [\r\n {\r\n \"id\": \"testserverless-northcentralus\",\r\n \"locationName\": \"North Central US\",\r\n \"failoverPriority\": 0\r\n }\r\n ],\r\n \"cors\": [],\r\n \"capabilities\": [\r\n {\r\n \"name\": \"EnableServerless\"\r\n },\r\n {\r\n \"name\": \"EnableMongo\"\r\n }\r\n ],\r\n \"ipRules\": [],\r\n \"backupPolicy\": {\r\n \"type\": \"Periodic\",\r\n \"periodicModeProperties\": {\r\n \"backupIntervalInMinutes\": 240,\r\n \"backupRetentionIntervalInHours\": 8,\r\n \"backupStorageRedundancy\": \"Geo\"\r\n }\r\n },\r\n \"networkAclBypassResourceIds\": []\r\n },\r\n \"identity\": {\r\n \"type\": \"None\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/resourceGroups/mekaushi/providers/Microsoft.DocumentDB/databaseAccounts/testserverlessthrr\",\r\n \"name\": \"testserverlessthrr\",\r\n \"location\": \"North Central US\",\r\n \"type\": \"Microsoft.DocumentDB/databaseAccounts\",\r\n \"kind\": \"MongoDB\",\r\n \"tags\": {},\r\n \"systemData\": {\r\n \"createdAt\": \"2020-10-19T22:27:52.8644543Z\"\r\n },\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"documentEndpoint\": \"https://testserverlessthrr.documents-staging.windows-ppe.net:443/\",\r\n \"mongoEndpoint\": \"https://testserverlessthrr.mongo.cosmos.windows-ppe.net:443/\",\r\n \"publicNetworkAccess\": \"Enabled\",\r\n \"enableAutomaticFailover\": false,\r\n \"enableMultipleWriteLocations\": false,\r\n \"enablePartitionKeyMonitor\": false,\r\n \"isVirtualNetworkFilterEnabled\": false,\r\n \"virtualNetworkRules\": [],\r\n \"EnabledApiTypes\": \"MongoDB\",\r\n \"disableKeyBasedMetadataWriteAccess\": false,\r\n \"enableFreeTier\": false,\r\n \"enableAnalyticalStorage\": false,\r\n \"analyticalStorageConfiguration\": null,\r\n \"instanceId\": \"cef21408-fe96-42c4-b8ef-7d03c6a2a106\",\r\n \"createMode\": \"Default\",\r\n \"databaseAccountOfferType\": \"Standard\",\r\n \"enableCassandraConnector\": false,\r\n \"connectorOffer\": \"\",\r\n \"defaultIdentity\": \"\",\r\n \"networkAclBypass\": \"None\",\r\n \"consistencyPolicy\": {\r\n \"defaultConsistencyLevel\": \"Session\",\r\n \"maxIntervalInSeconds\": 5,\r\n \"maxStalenessPrefix\": 100\r\n },\r\n \"apiProperties\": {\r\n \"serverVersion\": \"3.6\"\r\n },\r\n \"configurationOverrides\": {\r\n \"EnableBsonSchema\": \"True\"\r\n },\r\n \"writeLocations\": [\r\n {\r\n \"id\": \"testserverlessthrr-northcentralus\",\r\n \"locationName\": \"North Central US\",\r\n \"documentEndpoint\": \"https://testserverlessthrr-northcentralus.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"readLocations\": [\r\n {\r\n \"id\": \"testserverlessthrr-northcentralus\",\r\n \"locationName\": \"North Central US\",\r\n \"documentEndpoint\": \"https://testserverlessthrr-northcentralus.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"locations\": [\r\n {\r\n \"id\": \"testserverlessthrr-northcentralus\",\r\n \"locationName\": \"North Central US\",\r\n \"documentEndpoint\": \"https://testserverlessthrr-northcentralus.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"failoverPolicies\": [\r\n {\r\n \"id\": \"testserverlessthrr-northcentralus\",\r\n \"locationName\": \"North Central US\",\r\n \"failoverPriority\": 0\r\n }\r\n ],\r\n \"cors\": [],\r\n \"capabilities\": [\r\n {\r\n \"name\": \"EnableMongo\"\r\n }\r\n ],\r\n \"ipRules\": [],\r\n \"backupPolicy\": {\r\n \"type\": \"Periodic\",\r\n \"periodicModeProperties\": {\r\n \"backupIntervalInMinutes\": 240,\r\n \"backupRetentionIntervalInHours\": 8,\r\n \"backupStorageRedundancy\": \"Geo\"\r\n }\r\n },\r\n \"networkAclBypassResourceIds\": []\r\n },\r\n \"identity\": {\r\n \"type\": \"None\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/resourceGroups/testbyokvinod/providers/Microsoft.DocumentDB/databaseAccounts/testshbyokrev1\",\r\n \"name\": \"testshbyokrev1\",\r\n \"location\": \"North Central US\",\r\n \"type\": \"Microsoft.DocumentDB/databaseAccounts\",\r\n \"kind\": \"GlobalDocumentDB\",\r\n \"tags\": {},\r\n \"systemData\": {\r\n \"createdAt\": \"2020-02-20T00:14:40.3749607Z\"\r\n },\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"documentEndpoint\": \"https://testshbyokrev1.documents-staging.windows-ppe.net:443/\",\r\n \"publicNetworkAccess\": \"Enabled\",\r\n \"enableAutomaticFailover\": false,\r\n \"enableMultipleWriteLocations\": false,\r\n \"enablePartitionKeyMonitor\": false,\r\n \"isVirtualNetworkFilterEnabled\": false,\r\n \"virtualNetworkRules\": [],\r\n \"EnabledApiTypes\": \"Sql\",\r\n \"disableKeyBasedMetadataWriteAccess\": false,\r\n \"enableFreeTier\": false,\r\n \"enableAnalyticalStorage\": false,\r\n \"analyticalStorageConfiguration\": null,\r\n \"instanceId\": \"decb8ab5-06e7-4bce-8fc8-e9d9e4c21dad\",\r\n \"createMode\": \"Default\",\r\n \"databaseAccountOfferType\": \"Standard\",\r\n \"enableCassandraConnector\": false,\r\n \"connectorOffer\": \"\",\r\n \"keyVaultKeyUri\": \"https://testshkvrev.vault.azure.net/keys/key1\",\r\n \"defaultIdentity\": \"\",\r\n \"networkAclBypass\": \"None\",\r\n \"consistencyPolicy\": {\r\n \"defaultConsistencyLevel\": \"Session\",\r\n \"maxIntervalInSeconds\": 5,\r\n \"maxStalenessPrefix\": 100\r\n },\r\n \"configurationOverrides\": {},\r\n \"writeLocations\": [\r\n {\r\n \"id\": \"testshbyokrev1-northcentralus\",\r\n \"locationName\": \"North Central US\",\r\n \"documentEndpoint\": \"https://testshbyokrev1-northcentralus.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"readLocations\": [\r\n {\r\n \"id\": \"testshbyokrev1-northcentralus\",\r\n \"locationName\": \"North Central US\",\r\n \"documentEndpoint\": \"https://testshbyokrev1-northcentralus.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"locations\": [\r\n {\r\n \"id\": \"testshbyokrev1-northcentralus\",\r\n \"locationName\": \"North Central US\",\r\n \"documentEndpoint\": \"https://testshbyokrev1-northcentralus.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"failoverPolicies\": [\r\n {\r\n \"id\": \"testshbyokrev1-northcentralus\",\r\n \"locationName\": \"North Central US\",\r\n \"failoverPriority\": 0\r\n }\r\n ],\r\n \"cors\": [],\r\n \"capabilities\": [],\r\n \"ipRules\": [],\r\n \"backupPolicy\": {\r\n \"type\": \"Periodic\",\r\n \"periodicModeProperties\": {\r\n \"backupIntervalInMinutes\": 60,\r\n \"backupRetentionIntervalInHours\": 8,\r\n \"backupStorageRedundancy\": \"Geo\"\r\n }\r\n },\r\n \"networkAclBypassResourceIds\": []\r\n },\r\n \"identity\": {\r\n \"type\": \"None\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/resourceGroups/testbyokvinod/providers/Microsoft.DocumentDB/databaseAccounts/testshbyokrev2\",\r\n \"name\": \"testshbyokrev2\",\r\n \"location\": \"North Central US\",\r\n \"type\": \"Microsoft.DocumentDB/databaseAccounts\",\r\n \"kind\": \"GlobalDocumentDB\",\r\n \"tags\": {},\r\n \"systemData\": {\r\n \"createdAt\": \"2020-02-20T01:44:37.1015144Z\"\r\n },\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"documentEndpoint\": \"https://testshbyokrev2.documents-staging.windows-ppe.net:443/\",\r\n \"publicNetworkAccess\": \"Enabled\",\r\n \"enableAutomaticFailover\": false,\r\n \"enableMultipleWriteLocations\": false,\r\n \"enablePartitionKeyMonitor\": false,\r\n \"isVirtualNetworkFilterEnabled\": false,\r\n \"virtualNetworkRules\": [],\r\n \"EnabledApiTypes\": \"Sql\",\r\n \"disableKeyBasedMetadataWriteAccess\": false,\r\n \"enableFreeTier\": false,\r\n \"enableAnalyticalStorage\": false,\r\n \"analyticalStorageConfiguration\": null,\r\n \"instanceId\": \"dc12f588-a2de-4be4-bc7a-49489a1db805\",\r\n \"createMode\": \"Default\",\r\n \"databaseAccountOfferType\": \"Standard\",\r\n \"enableCassandraConnector\": false,\r\n \"connectorOffer\": \"\",\r\n \"keyVaultKeyUri\": \"https://testshkvrev.vault.azure.net/keys/key1\",\r\n \"defaultIdentity\": \"\",\r\n \"networkAclBypass\": \"None\",\r\n \"consistencyPolicy\": {\r\n \"defaultConsistencyLevel\": \"Session\",\r\n \"maxIntervalInSeconds\": 5,\r\n \"maxStalenessPrefix\": 100\r\n },\r\n \"configurationOverrides\": {},\r\n \"writeLocations\": [\r\n {\r\n \"id\": \"testshbyokrev2-northcentralus\",\r\n \"locationName\": \"North Central US\",\r\n \"documentEndpoint\": \"https://testshbyokrev2-northcentralus.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"readLocations\": [\r\n {\r\n \"id\": \"testshbyokrev2-northcentralus\",\r\n \"locationName\": \"North Central US\",\r\n \"documentEndpoint\": \"https://testshbyokrev2-northcentralus.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"locations\": [\r\n {\r\n \"id\": \"testshbyokrev2-northcentralus\",\r\n \"locationName\": \"North Central US\",\r\n \"documentEndpoint\": \"https://testshbyokrev2-northcentralus.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"failoverPolicies\": [\r\n {\r\n \"id\": \"testshbyokrev2-northcentralus\",\r\n \"locationName\": \"North Central US\",\r\n \"failoverPriority\": 0\r\n }\r\n ],\r\n \"cors\": [],\r\n \"capabilities\": [],\r\n \"ipRules\": [],\r\n \"backupPolicy\": {\r\n \"type\": \"Periodic\",\r\n \"periodicModeProperties\": {\r\n \"backupIntervalInMinutes\": 60,\r\n \"backupRetentionIntervalInHours\": 8,\r\n \"backupStorageRedundancy\": \"Geo\"\r\n }\r\n },\r\n \"networkAclBypassResourceIds\": []\r\n },\r\n \"identity\": {\r\n \"type\": \"None\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/resourceGroups/testshbyok/providers/Microsoft.DocumentDB/databaseAccounts/testshbyokstg2\",\r\n \"name\": \"testshbyokstg2\",\r\n \"location\": \"North Central US\",\r\n \"type\": \"Microsoft.DocumentDB/databaseAccounts\",\r\n \"kind\": \"GlobalDocumentDB\",\r\n \"tags\": {},\r\n \"systemData\": {\r\n \"createdAt\": \"2020-01-13T01:44:22.5047486Z\"\r\n },\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"documentEndpoint\": \"https://testshbyokstg2.documents-staging.windows-ppe.net:443/\",\r\n \"publicNetworkAccess\": \"Enabled\",\r\n \"enableAutomaticFailover\": false,\r\n \"enableMultipleWriteLocations\": false,\r\n \"enablePartitionKeyMonitor\": false,\r\n \"isVirtualNetworkFilterEnabled\": false,\r\n \"virtualNetworkRules\": [],\r\n \"EnabledApiTypes\": \"Sql\",\r\n \"disableKeyBasedMetadataWriteAccess\": false,\r\n \"enableFreeTier\": false,\r\n \"enableAnalyticalStorage\": false,\r\n \"analyticalStorageConfiguration\": null,\r\n \"instanceId\": \"7108a2b6-cffd-444b-8dc0-c1db17896c41\",\r\n \"createMode\": \"Default\",\r\n \"databaseAccountOfferType\": \"Standard\",\r\n \"enableCassandraConnector\": false,\r\n \"connectorOffer\": \"\",\r\n \"keyVaultKeyUri\": \"https://testshkv1.vault.azure.net/keys/key1\",\r\n \"defaultIdentity\": \"\",\r\n \"networkAclBypass\": \"None\",\r\n \"consistencyPolicy\": {\r\n \"defaultConsistencyLevel\": \"Session\",\r\n \"maxIntervalInSeconds\": 5,\r\n \"maxStalenessPrefix\": 100\r\n },\r\n \"configurationOverrides\": {},\r\n \"writeLocations\": [\r\n {\r\n \"id\": \"testshbyokstg2-northcentralus\",\r\n \"locationName\": \"North Central US\",\r\n \"documentEndpoint\": \"https://testshbyokstg2-northcentralus.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"readLocations\": [\r\n {\r\n \"id\": \"testshbyokstg2-northcentralus\",\r\n \"locationName\": \"North Central US\",\r\n \"documentEndpoint\": \"https://testshbyokstg2-northcentralus.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n },\r\n {\r\n \"id\": \"testshbyokstg2-westus2\",\r\n \"locationName\": \"West US 2\",\r\n \"documentEndpoint\": \"https://testshbyokstg2-westus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 1,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"locations\": [\r\n {\r\n \"id\": \"testshbyokstg2-northcentralus\",\r\n \"locationName\": \"North Central US\",\r\n \"documentEndpoint\": \"https://testshbyokstg2-northcentralus.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n },\r\n {\r\n \"id\": \"testshbyokstg2-westus2\",\r\n \"locationName\": \"West US 2\",\r\n \"documentEndpoint\": \"https://testshbyokstg2-westus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 1,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"failoverPolicies\": [\r\n {\r\n \"id\": \"testshbyokstg2-northcentralus\",\r\n \"locationName\": \"North Central US\",\r\n \"failoverPriority\": 0\r\n },\r\n {\r\n \"id\": \"testshbyokstg2-westus2\",\r\n \"locationName\": \"West US 2\",\r\n \"failoverPriority\": 1\r\n }\r\n ],\r\n \"cors\": [],\r\n \"capabilities\": [],\r\n \"ipRules\": [],\r\n \"backupPolicy\": {\r\n \"type\": \"Periodic\",\r\n \"periodicModeProperties\": {\r\n \"backupIntervalInMinutes\": 60,\r\n \"backupRetentionIntervalInHours\": 8,\r\n \"backupStorageRedundancy\": \"Geo\"\r\n }\r\n },\r\n \"networkAclBypassResourceIds\": []\r\n },\r\n \"identity\": {\r\n \"type\": \"None\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/resourceGroups/testshbyok/providers/Microsoft.DocumentDB/databaseAccounts/testshbyokstg6\",\r\n \"name\": \"testshbyokstg6\",\r\n \"location\": \"North Central US\",\r\n \"type\": \"Microsoft.DocumentDB/databaseAccounts\",\r\n \"kind\": \"GlobalDocumentDB\",\r\n \"tags\": {},\r\n \"systemData\": {\r\n \"createdAt\": \"2020-01-16T02:01:31.9773721Z\"\r\n },\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"documentEndpoint\": \"https://testshbyokstg6.documents-staging.windows-ppe.net:443/\",\r\n \"publicNetworkAccess\": \"Enabled\",\r\n \"enableAutomaticFailover\": false,\r\n \"enableMultipleWriteLocations\": false,\r\n \"enablePartitionKeyMonitor\": false,\r\n \"isVirtualNetworkFilterEnabled\": false,\r\n \"virtualNetworkRules\": [],\r\n \"EnabledApiTypes\": \"Sql\",\r\n \"disableKeyBasedMetadataWriteAccess\": false,\r\n \"enableFreeTier\": false,\r\n \"enableAnalyticalStorage\": false,\r\n \"analyticalStorageConfiguration\": null,\r\n \"instanceId\": \"d8cc95fd-e2e1-4fda-a95f-43261be1618a\",\r\n \"createMode\": \"Default\",\r\n \"databaseAccountOfferType\": \"Standard\",\r\n \"enableCassandraConnector\": false,\r\n \"connectorOffer\": \"\",\r\n \"keyVaultKeyUri\": \"https://testshkv2.vault.azure.net/keys/key1\",\r\n \"defaultIdentity\": \"\",\r\n \"networkAclBypass\": \"None\",\r\n \"consistencyPolicy\": {\r\n \"defaultConsistencyLevel\": \"Session\",\r\n \"maxIntervalInSeconds\": 5,\r\n \"maxStalenessPrefix\": 100\r\n },\r\n \"configurationOverrides\": {},\r\n \"writeLocations\": [\r\n {\r\n \"id\": \"testshbyokstg6-northcentralus\",\r\n \"locationName\": \"North Central US\",\r\n \"documentEndpoint\": \"https://testshbyokstg6-northcentralus.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"readLocations\": [\r\n {\r\n \"id\": \"testshbyokstg6-northcentralus\",\r\n \"locationName\": \"North Central US\",\r\n \"documentEndpoint\": \"https://testshbyokstg6-northcentralus.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"locations\": [\r\n {\r\n \"id\": \"testshbyokstg6-northcentralus\",\r\n \"locationName\": \"North Central US\",\r\n \"documentEndpoint\": \"https://testshbyokstg6-northcentralus.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"failoverPolicies\": [\r\n {\r\n \"id\": \"testshbyokstg6-northcentralus\",\r\n \"locationName\": \"North Central US\",\r\n \"failoverPriority\": 0\r\n }\r\n ],\r\n \"cors\": [],\r\n \"capabilities\": [],\r\n \"ipRules\": [],\r\n \"backupPolicy\": {\r\n \"type\": \"Periodic\",\r\n \"periodicModeProperties\": {\r\n \"backupIntervalInMinutes\": 60,\r\n \"backupRetentionIntervalInHours\": 8,\r\n \"backupStorageRedundancy\": \"Geo\"\r\n }\r\n },\r\n \"networkAclBypassResourceIds\": []\r\n },\r\n \"identity\": {\r\n \"type\": \"None\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/resourceGroups/thweiss-test/providers/Microsoft.DocumentDB/databaseAccounts/thweiss-notebooks-test\",\r\n \"name\": \"thweiss-notebooks-test\",\r\n \"location\": \"North Central US\",\r\n \"type\": \"Microsoft.DocumentDB/databaseAccounts\",\r\n \"kind\": \"GlobalDocumentDB\",\r\n \"tags\": {\r\n \"defaultExperience\": \"Core (SQL)\",\r\n \"hidden-cosmos-mmspecial\": \"\"\r\n },\r\n \"systemData\": {\r\n \"createdAt\": \"2019-08-31T00:14:36.507848Z\"\r\n },\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"documentEndpoint\": \"https://thweiss-notebooks-test.documents-staging.windows-ppe.net:443/\",\r\n \"publicNetworkAccess\": \"Enabled\",\r\n \"enableAutomaticFailover\": false,\r\n \"enableMultipleWriteLocations\": false,\r\n \"enablePartitionKeyMonitor\": false,\r\n \"isVirtualNetworkFilterEnabled\": false,\r\n \"virtualNetworkRules\": [],\r\n \"EnabledApiTypes\": \"Sql\",\r\n \"disableKeyBasedMetadataWriteAccess\": false,\r\n \"enableFreeTier\": false,\r\n \"enableAnalyticalStorage\": false,\r\n \"analyticalStorageConfiguration\": null,\r\n \"instanceId\": \"e41b2801-7b26-44de-8db5-7ce898126696\",\r\n \"createMode\": \"Default\",\r\n \"databaseAccountOfferType\": \"Standard\",\r\n \"enableCassandraConnector\": false,\r\n \"connectorOffer\": \"\",\r\n \"defaultIdentity\": \"\",\r\n \"networkAclBypass\": \"None\",\r\n \"consistencyPolicy\": {\r\n \"defaultConsistencyLevel\": \"Session\",\r\n \"maxIntervalInSeconds\": 5,\r\n \"maxStalenessPrefix\": 100\r\n },\r\n \"configurationOverrides\": {},\r\n \"writeLocations\": [\r\n {\r\n \"id\": \"thweiss-notebooks-test-northcentralus\",\r\n \"locationName\": \"North Central US\",\r\n \"documentEndpoint\": \"https://thweiss-notebooks-test-northcentralus.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"readLocations\": [\r\n {\r\n \"id\": \"thweiss-notebooks-test-northcentralus\",\r\n \"locationName\": \"North Central US\",\r\n \"documentEndpoint\": \"https://thweiss-notebooks-test-northcentralus.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"locations\": [\r\n {\r\n \"id\": \"thweiss-notebooks-test-northcentralus\",\r\n \"locationName\": \"North Central US\",\r\n \"documentEndpoint\": \"https://thweiss-notebooks-test-northcentralus.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"failoverPolicies\": [\r\n {\r\n \"id\": \"thweiss-notebooks-test-northcentralus\",\r\n \"locationName\": \"North Central US\",\r\n \"failoverPriority\": 0\r\n }\r\n ],\r\n \"cors\": [],\r\n \"capabilities\": [\r\n {\r\n \"name\": \"EnableNotebooks\"\r\n }\r\n ],\r\n \"ipRules\": [],\r\n \"backupPolicy\": {\r\n \"type\": \"Periodic\",\r\n \"periodicModeProperties\": {\r\n \"backupIntervalInMinutes\": 240,\r\n \"backupRetentionIntervalInHours\": 8,\r\n \"backupStorageRedundancy\": \"Geo\"\r\n }\r\n },\r\n \"networkAclBypassResourceIds\": []\r\n },\r\n \"identity\": {\r\n \"type\": \"None\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/resourceGroups/vivekrasignoff/providers/Microsoft.DocumentDB/databaseAccounts/vivekrastagesignoffncus\",\r\n \"name\": \"vivekrastagesignoffncus\",\r\n \"location\": \"North Central US\",\r\n \"type\": \"Microsoft.DocumentDB/databaseAccounts\",\r\n \"kind\": \"GlobalDocumentDB\",\r\n \"tags\": {\r\n \"defaultExperience\": \"Cassandra\",\r\n \"hidden-cosmos-mmspecial\": \"\"\r\n },\r\n \"systemData\": {\r\n \"createdAt\": \"2020-01-28T20:06:45.8340536Z\"\r\n },\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"documentEndpoint\": \"https://vivekrastagesignoffncus.documents-staging.windows-ppe.net:443/\",\r\n \"cassandraEndpoint\": \"https://vivekrastagesignoffncus.cassandra.cosmos.windows-ppe.net:443/\",\r\n \"publicNetworkAccess\": \"Enabled\",\r\n \"enableAutomaticFailover\": false,\r\n \"enableMultipleWriteLocations\": false,\r\n \"enablePartitionKeyMonitor\": false,\r\n \"isVirtualNetworkFilterEnabled\": false,\r\n \"virtualNetworkRules\": [],\r\n \"EnabledApiTypes\": \"Cassandra\",\r\n \"disableKeyBasedMetadataWriteAccess\": false,\r\n \"enableFreeTier\": false,\r\n \"enableAnalyticalStorage\": false,\r\n \"analyticalStorageConfiguration\": null,\r\n \"instanceId\": \"6fcefda2-fdf4-4b0d-a9ca-63d0b30474bf\",\r\n \"createMode\": \"Default\",\r\n \"databaseAccountOfferType\": \"Standard\",\r\n \"enableCassandraConnector\": false,\r\n \"connectorOffer\": \"\",\r\n \"defaultIdentity\": \"\",\r\n \"networkAclBypass\": \"None\",\r\n \"consistencyPolicy\": {\r\n \"defaultConsistencyLevel\": \"Session\",\r\n \"maxIntervalInSeconds\": 5,\r\n \"maxStalenessPrefix\": 100\r\n },\r\n \"configurationOverrides\": {},\r\n \"writeLocations\": [\r\n {\r\n \"id\": \"vivekrastagesignoffncus-northcentralus\",\r\n \"locationName\": \"North Central US\",\r\n \"documentEndpoint\": \"https://vivekrastagesignoffncus-northcentralus.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"readLocations\": [\r\n {\r\n \"id\": \"vivekrastagesignoffncus-northcentralus\",\r\n \"locationName\": \"North Central US\",\r\n \"documentEndpoint\": \"https://vivekrastagesignoffncus-northcentralus.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"locations\": [\r\n {\r\n \"id\": \"vivekrastagesignoffncus-northcentralus\",\r\n \"locationName\": \"North Central US\",\r\n \"documentEndpoint\": \"https://vivekrastagesignoffncus-northcentralus.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"failoverPolicies\": [\r\n {\r\n \"id\": \"vivekrastagesignoffncus-northcentralus\",\r\n \"locationName\": \"North Central US\",\r\n \"failoverPriority\": 0\r\n }\r\n ],\r\n \"cors\": [],\r\n \"capabilities\": [\r\n {\r\n \"name\": \"EnableStorageAnalytics\"\r\n },\r\n {\r\n \"name\": \"EnableCassandra\"\r\n }\r\n ],\r\n \"ipRules\": [],\r\n \"backupPolicy\": {\r\n \"type\": \"Periodic\",\r\n \"periodicModeProperties\": {\r\n \"backupIntervalInMinutes\": 60,\r\n \"backupRetentionIntervalInHours\": 8,\r\n \"backupStorageRedundancy\": \"Geo\"\r\n }\r\n },\r\n \"networkAclBypassResourceIds\": []\r\n },\r\n \"identity\": {\r\n \"type\": \"None\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/resourceGroups/jihmmtest/providers/Microsoft.DocumentDB/databaseAccounts/waterlinedata-mm-test\",\r\n \"name\": \"waterlinedata-mm-test\",\r\n \"location\": \"North Central US\",\r\n \"type\": \"Microsoft.DocumentDB/databaseAccounts\",\r\n \"kind\": \"GlobalDocumentDB\",\r\n \"tags\": {\r\n \"defaultExperience\": \"DocumentDB\"\r\n },\r\n \"systemData\": {\r\n \"createdAt\": \"2018-09-18T18:18:43.7313401Z\"\r\n },\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"documentEndpoint\": \"https://waterlinedata-mm-test.documents-staging.windows-ppe.net:443/\",\r\n \"publicNetworkAccess\": \"Enabled\",\r\n \"enableAutomaticFailover\": false,\r\n \"enableMultipleWriteLocations\": true,\r\n \"enablePartitionKeyMonitor\": false,\r\n \"isVirtualNetworkFilterEnabled\": false,\r\n \"virtualNetworkRules\": [],\r\n \"EnabledApiTypes\": \"Sql\",\r\n \"disableKeyBasedMetadataWriteAccess\": false,\r\n \"enableFreeTier\": false,\r\n \"enableAnalyticalStorage\": false,\r\n \"analyticalStorageConfiguration\": null,\r\n \"instanceId\": \"ec1e888d-fab1-44df-8845-d603d9dd4b54\",\r\n \"createMode\": \"Default\",\r\n \"databaseAccountOfferType\": \"Standard\",\r\n \"defaultIdentity\": \"\",\r\n \"networkAclBypass\": \"None\",\r\n \"consistencyPolicy\": {\r\n \"defaultConsistencyLevel\": \"Session\",\r\n \"maxIntervalInSeconds\": 5,\r\n \"maxStalenessPrefix\": 100\r\n },\r\n \"configurationOverrides\": {},\r\n \"writeLocations\": [\r\n {\r\n \"id\": \"waterlinedata-mm-test-southeastasia\",\r\n \"locationName\": \"Southeast Asia\",\r\n \"documentEndpoint\": \"https://waterlinedata-mm-test-southeastasia.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n },\r\n {\r\n \"id\": \"waterlinedata-mm-test-westus2\",\r\n \"locationName\": \"West US 2\",\r\n \"documentEndpoint\": \"https://waterlinedata-mm-test-westus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 1,\r\n \"isZoneRedundant\": false\r\n },\r\n {\r\n \"id\": \"waterlinedata-mm-test-northcentralus\",\r\n \"locationName\": \"North Central US\",\r\n \"documentEndpoint\": \"https://waterlinedata-mm-test-northcentralus.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 2,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"readLocations\": [\r\n {\r\n \"id\": \"waterlinedata-mm-test-southeastasia\",\r\n \"locationName\": \"Southeast Asia\",\r\n \"documentEndpoint\": \"https://waterlinedata-mm-test-southeastasia.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n },\r\n {\r\n \"id\": \"waterlinedata-mm-test-westus2\",\r\n \"locationName\": \"West US 2\",\r\n \"documentEndpoint\": \"https://waterlinedata-mm-test-westus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 1,\r\n \"isZoneRedundant\": false\r\n },\r\n {\r\n \"id\": \"waterlinedata-mm-test-northcentralus\",\r\n \"locationName\": \"North Central US\",\r\n \"documentEndpoint\": \"https://waterlinedata-mm-test-northcentralus.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 2,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"locations\": [\r\n {\r\n \"id\": \"waterlinedata-mm-test-southeastasia\",\r\n \"locationName\": \"Southeast Asia\",\r\n \"documentEndpoint\": \"https://waterlinedata-mm-test-southeastasia.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n },\r\n {\r\n \"id\": \"waterlinedata-mm-test-westus2\",\r\n \"locationName\": \"West US 2\",\r\n \"documentEndpoint\": \"https://waterlinedata-mm-test-westus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 1,\r\n \"isZoneRedundant\": false\r\n },\r\n {\r\n \"id\": \"waterlinedata-mm-test-northcentralus\",\r\n \"locationName\": \"North Central US\",\r\n \"documentEndpoint\": \"https://waterlinedata-mm-test-northcentralus.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 2,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"failoverPolicies\": [\r\n {\r\n \"id\": \"waterlinedata-mm-test-southeastasia\",\r\n \"locationName\": \"Southeast Asia\",\r\n \"failoverPriority\": 0\r\n },\r\n {\r\n \"id\": \"waterlinedata-mm-test-westus2\",\r\n \"locationName\": \"West US 2\",\r\n \"failoverPriority\": 1\r\n },\r\n {\r\n \"id\": \"waterlinedata-mm-test-northcentralus\",\r\n \"locationName\": \"North Central US\",\r\n \"failoverPriority\": 2\r\n }\r\n ],\r\n \"cors\": [],\r\n \"capabilities\": [],\r\n \"ipRules\": [],\r\n \"backupPolicy\": {\r\n \"type\": \"Periodic\",\r\n \"periodicModeProperties\": {\r\n \"backupIntervalInMinutes\": 240,\r\n \"backupRetentionIntervalInHours\": 8,\r\n \"backupStorageRedundancy\": \"Geo\"\r\n }\r\n },\r\n \"networkAclBypassResourceIds\": []\r\n },\r\n \"identity\": {\r\n \"type\": \"None\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/resourceGroups/wmengstagetest/providers/Microsoft.DocumentDB/databaseAccounts/wmengstagewestus2b\",\r\n \"name\": \"wmengstagewestus2b\",\r\n \"location\": \"West US 2\",\r\n \"type\": \"Microsoft.DocumentDB/databaseAccounts\",\r\n \"kind\": \"GlobalDocumentDB\",\r\n \"tags\": {\r\n \"ccc\": \"ddd\"\r\n },\r\n \"systemData\": {\r\n \"createdAt\": \"2020-09-19T06:55:42.961595Z\"\r\n },\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"documentEndpoint\": \"https://wmengstagewestus2b.documents-staging.windows-ppe.net:443/\",\r\n \"publicNetworkAccess\": \"Enabled\",\r\n \"enableAutomaticFailover\": false,\r\n \"enableMultipleWriteLocations\": false,\r\n \"enablePartitionKeyMonitor\": false,\r\n \"isVirtualNetworkFilterEnabled\": false,\r\n \"virtualNetworkRules\": [],\r\n \"EnabledApiTypes\": \"Sql\",\r\n \"disableKeyBasedMetadataWriteAccess\": false,\r\n \"enableFreeTier\": false,\r\n \"enableAnalyticalStorage\": false,\r\n \"analyticalStorageConfiguration\": null,\r\n \"instanceId\": \"d8c997a5-4b53-45a3-94e3-b232b999de9f\",\r\n \"createMode\": \"Default\",\r\n \"databaseAccountOfferType\": \"Standard\",\r\n \"enableCassandraConnector\": false,\r\n \"connectorOffer\": \"\",\r\n \"defaultIdentity\": \"\",\r\n \"networkAclBypass\": \"None\",\r\n \"consistencyPolicy\": {\r\n \"defaultConsistencyLevel\": \"Session\",\r\n \"maxIntervalInSeconds\": 5,\r\n \"maxStalenessPrefix\": 100\r\n },\r\n \"configurationOverrides\": {},\r\n \"writeLocations\": [\r\n {\r\n \"id\": \"wmengstagewestus2b-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://wmengstagewestus2b-eastus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"readLocations\": [\r\n {\r\n \"id\": \"wmengstagewestus2b-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://wmengstagewestus2b-eastus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n },\r\n {\r\n \"id\": \"wmengstagewestus2b-westus2\",\r\n \"locationName\": \"West US 2\",\r\n \"documentEndpoint\": \"https://wmengstagewestus2b-westus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 1,\r\n \"isZoneRedundant\": false\r\n },\r\n {\r\n \"id\": \"wmengstagewestus2b-southeastasia\",\r\n \"locationName\": \"Southeast Asia\",\r\n \"documentEndpoint\": \"https://wmengstagewestus2b-southeastasia.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 2,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"locations\": [\r\n {\r\n \"id\": \"wmengstagewestus2b-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://wmengstagewestus2b-eastus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n },\r\n {\r\n \"id\": \"wmengstagewestus2b-westus2\",\r\n \"locationName\": \"West US 2\",\r\n \"documentEndpoint\": \"https://wmengstagewestus2b-westus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 1,\r\n \"isZoneRedundant\": false\r\n },\r\n {\r\n \"id\": \"wmengstagewestus2b-southeastasia\",\r\n \"locationName\": \"Southeast Asia\",\r\n \"documentEndpoint\": \"https://wmengstagewestus2b-southeastasia.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 2,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"failoverPolicies\": [\r\n {\r\n \"id\": \"wmengstagewestus2b-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"failoverPriority\": 0\r\n },\r\n {\r\n \"id\": \"wmengstagewestus2b-westus2\",\r\n \"locationName\": \"West US 2\",\r\n \"failoverPriority\": 1\r\n },\r\n {\r\n \"id\": \"wmengstagewestus2b-southeastasia\",\r\n \"locationName\": \"Southeast Asia\",\r\n \"failoverPriority\": 2\r\n }\r\n ],\r\n \"cors\": [],\r\n \"capabilities\": [],\r\n \"ipRules\": [\r\n {\r\n \"ipAddressOrRange\": \"131.107.8.124\"\r\n },\r\n {\r\n \"ipAddressOrRange\": \"104.42.195.92\"\r\n },\r\n {\r\n \"ipAddressOrRange\": \"40.76.54.131\"\r\n },\r\n {\r\n \"ipAddressOrRange\": \"52.176.6.30\"\r\n },\r\n {\r\n \"ipAddressOrRange\": \"52.169.50.45\"\r\n },\r\n {\r\n \"ipAddressOrRange\": \"52.187.184.26\"\r\n }\r\n ],\r\n \"backupPolicy\": {\r\n \"type\": \"Periodic\",\r\n \"periodicModeProperties\": {\r\n \"backupIntervalInMinutes\": 240,\r\n \"backupRetentionIntervalInHours\": 10,\r\n \"backupStorageRedundancy\": \"Geo\"\r\n }\r\n },\r\n \"networkAclBypassResourceIds\": []\r\n },\r\n \"identity\": {\r\n \"type\": \"None\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/resourceGroups/analytics/providers/Microsoft.DocumentDB/databaseAccounts/analyticalstoresignoff\",\r\n \"name\": \"analyticalstoresignoff\",\r\n \"location\": \"West US 2\",\r\n \"type\": \"Microsoft.DocumentDB/databaseAccounts\",\r\n \"kind\": \"GlobalDocumentDB\",\r\n \"tags\": {\r\n \"defaultExperience\": \"Core (SQL)\"\r\n },\r\n \"systemData\": {\r\n \"createdAt\": \"2019-12-12T23:46:42.0510344Z\"\r\n },\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"documentEndpoint\": \"https://analyticalstoresignoff.documents-staging.windows-ppe.net:443/\",\r\n \"publicNetworkAccess\": \"Enabled\",\r\n \"enableAutomaticFailover\": false,\r\n \"enableMultipleWriteLocations\": false,\r\n \"enablePartitionKeyMonitor\": false,\r\n \"isVirtualNetworkFilterEnabled\": false,\r\n \"virtualNetworkRules\": [],\r\n \"EnabledApiTypes\": \"Sql\",\r\n \"disableKeyBasedMetadataWriteAccess\": false,\r\n \"enableFreeTier\": false,\r\n \"enableAnalyticalStorage\": false,\r\n \"analyticalStorageConfiguration\": null,\r\n \"instanceId\": \"74f7ed4b-67d5-4182-94fb-56047c11aef9\",\r\n \"createMode\": \"Default\",\r\n \"databaseAccountOfferType\": \"Standard\",\r\n \"enableCassandraConnector\": false,\r\n \"connectorOffer\": \"\",\r\n \"defaultIdentity\": \"\",\r\n \"networkAclBypass\": \"None\",\r\n \"consistencyPolicy\": {\r\n \"defaultConsistencyLevel\": \"Session\",\r\n \"maxIntervalInSeconds\": 5,\r\n \"maxStalenessPrefix\": 100\r\n },\r\n \"configurationOverrides\": {},\r\n \"writeLocations\": [\r\n {\r\n \"id\": \"analyticalstoresignoff-westus2\",\r\n \"locationName\": \"West US 2\",\r\n \"documentEndpoint\": \"https://analyticalstoresignoff-westus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"readLocations\": [\r\n {\r\n \"id\": \"analyticalstoresignoff-westus2\",\r\n \"locationName\": \"West US 2\",\r\n \"documentEndpoint\": \"https://analyticalstoresignoff-westus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"locations\": [\r\n {\r\n \"id\": \"analyticalstoresignoff-westus2\",\r\n \"locationName\": \"West US 2\",\r\n \"documentEndpoint\": \"https://analyticalstoresignoff-westus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"failoverPolicies\": [\r\n {\r\n \"id\": \"analyticalstoresignoff-westus2\",\r\n \"locationName\": \"West US 2\",\r\n \"failoverPriority\": 0\r\n }\r\n ],\r\n \"cors\": [],\r\n \"capabilities\": [\r\n {\r\n \"name\": \"EnableStorageAnalytics\"\r\n }\r\n ],\r\n \"ipRules\": [],\r\n \"backupPolicy\": {\r\n \"type\": \"Periodic\",\r\n \"periodicModeProperties\": {\r\n \"backupIntervalInMinutes\": 60,\r\n \"backupRetentionIntervalInHours\": 8,\r\n \"backupStorageRedundancy\": \"Geo\"\r\n }\r\n },\r\n \"networkAclBypassResourceIds\": []\r\n },\r\n \"identity\": {\r\n \"type\": \"None\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/resourceGroups/analytics/providers/Microsoft.DocumentDB/databaseAccounts/analyticsautosignoff\",\r\n \"name\": \"analyticsautosignoff\",\r\n \"location\": \"West US 2\",\r\n \"type\": \"Microsoft.DocumentDB/databaseAccounts\",\r\n \"kind\": \"GlobalDocumentDB\",\r\n \"tags\": {\r\n \"defaultExperience\": \"Core (SQL)\",\r\n \"hidden-cosmos-mmspecial\": \"\",\r\n \"CosmosAccountType\": \"Non-Production\"\r\n },\r\n \"systemData\": {\r\n \"createdAt\": \"2020-06-05T22:21:19.5313149Z\"\r\n },\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"documentEndpoint\": \"https://analyticsautosignoff.documents-staging.windows-ppe.net:443/\",\r\n \"publicNetworkAccess\": \"Enabled\",\r\n \"enableAutomaticFailover\": false,\r\n \"enableMultipleWriteLocations\": false,\r\n \"enablePartitionKeyMonitor\": false,\r\n \"isVirtualNetworkFilterEnabled\": false,\r\n \"virtualNetworkRules\": [],\r\n \"EnabledApiTypes\": \"Sql\",\r\n \"disableKeyBasedMetadataWriteAccess\": false,\r\n \"enableFreeTier\": false,\r\n \"enableAnalyticalStorage\": true,\r\n \"analyticalStorageConfiguration\": null,\r\n \"instanceId\": \"ede2b3f2-8341-426c-a767-d6bed585153c\",\r\n \"createMode\": \"Default\",\r\n \"databaseAccountOfferType\": \"Standard\",\r\n \"enableCassandraConnector\": false,\r\n \"connectorOffer\": \"\",\r\n \"defaultIdentity\": \"\",\r\n \"networkAclBypass\": \"None\",\r\n \"consistencyPolicy\": {\r\n \"defaultConsistencyLevel\": \"Session\",\r\n \"maxIntervalInSeconds\": 5,\r\n \"maxStalenessPrefix\": 100\r\n },\r\n \"configurationOverrides\": {},\r\n \"writeLocations\": [\r\n {\r\n \"id\": \"analyticsautosignoff-westus2\",\r\n \"locationName\": \"West US 2\",\r\n \"documentEndpoint\": \"https://analyticsautosignoff-westus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"readLocations\": [\r\n {\r\n \"id\": \"analyticsautosignoff-westus2\",\r\n \"locationName\": \"West US 2\",\r\n \"documentEndpoint\": \"https://analyticsautosignoff-westus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"locations\": [\r\n {\r\n \"id\": \"analyticsautosignoff-westus2\",\r\n \"locationName\": \"West US 2\",\r\n \"documentEndpoint\": \"https://analyticsautosignoff-westus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"failoverPolicies\": [\r\n {\r\n \"id\": \"analyticsautosignoff-westus2\",\r\n \"locationName\": \"West US 2\",\r\n \"failoverPriority\": 0\r\n }\r\n ],\r\n \"cors\": [],\r\n \"capabilities\": [],\r\n \"ipRules\": [],\r\n \"backupPolicy\": {\r\n \"type\": \"Periodic\",\r\n \"periodicModeProperties\": {\r\n \"backupIntervalInMinutes\": 60,\r\n \"backupRetentionIntervalInHours\": 8,\r\n \"backupStorageRedundancy\": \"Geo\"\r\n }\r\n },\r\n \"networkAclBypassResourceIds\": []\r\n },\r\n \"identity\": {\r\n \"type\": \"None\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/resourceGroups/virangai-test/providers/Microsoft.DocumentDB/databaseAccounts/ash-cassandra-nb\",\r\n \"name\": \"ash-cassandra-nb\",\r\n \"location\": \"West US 2\",\r\n \"type\": \"Microsoft.DocumentDB/databaseAccounts\",\r\n \"kind\": \"GlobalDocumentDB\",\r\n \"tags\": {\r\n \"defaultExperience\": \"Cassandra\"\r\n },\r\n \"systemData\": {\r\n \"createdAt\": \"2019-09-25T21:07:31.8759704Z\"\r\n },\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"documentEndpoint\": \"https://ash-cassandra-nb.documents-staging.windows-ppe.net:443/\",\r\n \"cassandraEndpoint\": \"https://ash-cassandra-nb.cassandra.cosmos.windows-ppe.net:443/\",\r\n \"publicNetworkAccess\": \"Enabled\",\r\n \"enableAutomaticFailover\": false,\r\n \"enableMultipleWriteLocations\": false,\r\n \"enablePartitionKeyMonitor\": false,\r\n \"isVirtualNetworkFilterEnabled\": false,\r\n \"virtualNetworkRules\": [],\r\n \"EnabledApiTypes\": \"Cassandra\",\r\n \"disableKeyBasedMetadataWriteAccess\": false,\r\n \"enableFreeTier\": false,\r\n \"enableAnalyticalStorage\": false,\r\n \"analyticalStorageConfiguration\": null,\r\n \"instanceId\": \"08be4bb6-a195-4e3b-8821-dc2d3681511b\",\r\n \"createMode\": \"Default\",\r\n \"databaseAccountOfferType\": \"Standard\",\r\n \"enableCassandraConnector\": false,\r\n \"connectorOffer\": \"\",\r\n \"defaultIdentity\": \"\",\r\n \"networkAclBypass\": \"None\",\r\n \"consistencyPolicy\": {\r\n \"defaultConsistencyLevel\": \"Session\",\r\n \"maxIntervalInSeconds\": 5,\r\n \"maxStalenessPrefix\": 100\r\n },\r\n \"configurationOverrides\": {},\r\n \"writeLocations\": [\r\n {\r\n \"id\": \"ash-cassandra-nb-westus2\",\r\n \"locationName\": \"West US 2\",\r\n \"documentEndpoint\": \"https://ash-cassandra-nb-westus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"readLocations\": [\r\n {\r\n \"id\": \"ash-cassandra-nb-westus2\",\r\n \"locationName\": \"West US 2\",\r\n \"documentEndpoint\": \"https://ash-cassandra-nb-westus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"locations\": [\r\n {\r\n \"id\": \"ash-cassandra-nb-westus2\",\r\n \"locationName\": \"West US 2\",\r\n \"documentEndpoint\": \"https://ash-cassandra-nb-westus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"failoverPolicies\": [\r\n {\r\n \"id\": \"ash-cassandra-nb-westus2\",\r\n \"locationName\": \"West US 2\",\r\n \"failoverPriority\": 0\r\n }\r\n ],\r\n \"cors\": [],\r\n \"capabilities\": [\r\n {\r\n \"name\": \"EnableCassandra\"\r\n },\r\n {\r\n \"name\": \"EnableNotebooks\"\r\n }\r\n ],\r\n \"ipRules\": [],\r\n \"backupPolicy\": {\r\n \"type\": \"Periodic\",\r\n \"periodicModeProperties\": {\r\n \"backupIntervalInMinutes\": 60,\r\n \"backupRetentionIntervalInHours\": 8,\r\n \"backupStorageRedundancy\": \"Geo\"\r\n }\r\n },\r\n \"networkAclBypassResourceIds\": []\r\n },\r\n \"identity\": {\r\n \"type\": \"None\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/resourceGroups/virangai-test/providers/Microsoft.DocumentDB/databaseAccounts/ash-mongo-nb\",\r\n \"name\": \"ash-mongo-nb\",\r\n \"location\": \"West US 2\",\r\n \"type\": \"Microsoft.DocumentDB/databaseAccounts\",\r\n \"kind\": \"MongoDB\",\r\n \"tags\": {\r\n \"defaultExperience\": \"Azure Cosmos DB for MongoDB API\"\r\n },\r\n \"systemData\": {\r\n \"createdAt\": \"2019-09-25T19:38:32.1919275Z\"\r\n },\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"documentEndpoint\": \"https://ash-mongo-nb.documents-staging.windows-ppe.net:443/\",\r\n \"mongoEndpoint\": \"https://ash-mongo-nb.mongo.cosmos.windows-ppe.net:443/\",\r\n \"publicNetworkAccess\": \"Enabled\",\r\n \"enableAutomaticFailover\": false,\r\n \"enableMultipleWriteLocations\": false,\r\n \"enablePartitionKeyMonitor\": false,\r\n \"isVirtualNetworkFilterEnabled\": false,\r\n \"virtualNetworkRules\": [],\r\n \"EnabledApiTypes\": \"MongoDB\",\r\n \"disableKeyBasedMetadataWriteAccess\": false,\r\n \"enableFreeTier\": false,\r\n \"enableAnalyticalStorage\": false,\r\n \"analyticalStorageConfiguration\": null,\r\n \"instanceId\": \"6077eeb2-f388-40d4-91b0-e0139d9ca387\",\r\n \"createMode\": \"Default\",\r\n \"databaseAccountOfferType\": \"Standard\",\r\n \"enableCassandraConnector\": false,\r\n \"connectorOffer\": \"\",\r\n \"defaultIdentity\": \"\",\r\n \"networkAclBypass\": \"None\",\r\n \"consistencyPolicy\": {\r\n \"defaultConsistencyLevel\": \"Session\",\r\n \"maxIntervalInSeconds\": 5,\r\n \"maxStalenessPrefix\": 100\r\n },\r\n \"apiProperties\": {\r\n \"serverVersion\": \"3.6\"\r\n },\r\n \"configurationOverrides\": {\r\n \"EnableBsonSchema\": \"True\"\r\n },\r\n \"writeLocations\": [\r\n {\r\n \"id\": \"ash-mongo-nb-westus2\",\r\n \"locationName\": \"West US 2\",\r\n \"documentEndpoint\": \"https://ash-mongo-nb-westus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"readLocations\": [\r\n {\r\n \"id\": \"ash-mongo-nb-westus2\",\r\n \"locationName\": \"West US 2\",\r\n \"documentEndpoint\": \"https://ash-mongo-nb-westus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"locations\": [\r\n {\r\n \"id\": \"ash-mongo-nb-westus2\",\r\n \"locationName\": \"West US 2\",\r\n \"documentEndpoint\": \"https://ash-mongo-nb-westus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"failoverPolicies\": [\r\n {\r\n \"id\": \"ash-mongo-nb-westus2\",\r\n \"locationName\": \"West US 2\",\r\n \"failoverPriority\": 0\r\n }\r\n ],\r\n \"cors\": [],\r\n \"capabilities\": [\r\n {\r\n \"name\": \"EnableNotebooks\"\r\n },\r\n {\r\n \"name\": \"EnableMongo\"\r\n }\r\n ],\r\n \"ipRules\": [],\r\n \"backupPolicy\": {\r\n \"type\": \"Periodic\",\r\n \"periodicModeProperties\": {\r\n \"backupIntervalInMinutes\": 60,\r\n \"backupRetentionIntervalInHours\": 8,\r\n \"backupStorageRedundancy\": \"Geo\"\r\n }\r\n },\r\n \"networkAclBypassResourceIds\": []\r\n },\r\n \"identity\": {\r\n \"type\": \"None\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/resourceGroups/ragil/providers/Microsoft.DocumentDB/databaseAccounts/autopilote2e\",\r\n \"name\": \"autopilote2e\",\r\n \"location\": \"West US 2\",\r\n \"type\": \"Microsoft.DocumentDB/databaseAccounts\",\r\n \"kind\": \"GlobalDocumentDB\",\r\n \"tags\": {},\r\n \"systemData\": {\r\n \"createdAt\": \"2020-04-07T21:58:50.3863566Z\"\r\n },\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"documentEndpoint\": \"https://autopilote2e.documents-staging.windows-ppe.net:443/\",\r\n \"publicNetworkAccess\": \"Enabled\",\r\n \"enableAutomaticFailover\": true,\r\n \"enableMultipleWriteLocations\": false,\r\n \"enablePartitionKeyMonitor\": false,\r\n \"isVirtualNetworkFilterEnabled\": false,\r\n \"virtualNetworkRules\": [],\r\n \"EnabledApiTypes\": \"Sql\",\r\n \"disableKeyBasedMetadataWriteAccess\": false,\r\n \"enableFreeTier\": false,\r\n \"enableAnalyticalStorage\": false,\r\n \"analyticalStorageConfiguration\": null,\r\n \"instanceId\": \"d3f55252-734c-4eba-921a-f5cd2e30fc03\",\r\n \"createMode\": \"Default\",\r\n \"databaseAccountOfferType\": \"Standard\",\r\n \"enableCassandraConnector\": false,\r\n \"connectorOffer\": \"\",\r\n \"defaultIdentity\": \"\",\r\n \"networkAclBypass\": \"None\",\r\n \"consistencyPolicy\": {\r\n \"defaultConsistencyLevel\": \"Session\",\r\n \"maxIntervalInSeconds\": 5,\r\n \"maxStalenessPrefix\": 100\r\n },\r\n \"configurationOverrides\": {},\r\n \"writeLocations\": [\r\n {\r\n \"id\": \"autopilote2e-westus2\",\r\n \"locationName\": \"West US 2\",\r\n \"documentEndpoint\": \"https://autopilote2e-westus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"readLocations\": [\r\n {\r\n \"id\": \"autopilote2e-westus2\",\r\n \"locationName\": \"West US 2\",\r\n \"documentEndpoint\": \"https://autopilote2e-westus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"locations\": [\r\n {\r\n \"id\": \"autopilote2e-westus2\",\r\n \"locationName\": \"West US 2\",\r\n \"documentEndpoint\": \"https://autopilote2e-westus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"failoverPolicies\": [\r\n {\r\n \"id\": \"autopilote2e-westus2\",\r\n \"locationName\": \"West US 2\",\r\n \"failoverPriority\": 0\r\n }\r\n ],\r\n \"cors\": [],\r\n \"capabilities\": [],\r\n \"ipRules\": [],\r\n \"backupPolicy\": {\r\n \"type\": \"Periodic\",\r\n \"periodicModeProperties\": {\r\n \"backupIntervalInMinutes\": 60,\r\n \"backupRetentionIntervalInHours\": 8,\r\n \"backupStorageRedundancy\": \"Geo\"\r\n }\r\n },\r\n \"networkAclBypassResourceIds\": []\r\n },\r\n \"identity\": {\r\n \"type\": \"None\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/resourceGroups/ash/providers/Microsoft.DocumentDB/databaseAccounts/ash-table-nb\",\r\n \"name\": \"ash-table-nb\",\r\n \"location\": \"West US 2\",\r\n \"type\": \"Microsoft.DocumentDB/databaseAccounts\",\r\n \"kind\": \"GlobalDocumentDB\",\r\n \"tags\": {\r\n \"defaultExperience\": \"Azure Table\"\r\n },\r\n \"systemData\": {\r\n \"createdAt\": \"2019-09-25T21:05:51.8725768Z\"\r\n },\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"documentEndpoint\": \"https://ash-table-nb.documents-staging.windows-ppe.net:443/\",\r\n \"tableEndpoint\": \"https://ash-table-nb.table.cosmos.windows-ppe.net:443/\",\r\n \"publicNetworkAccess\": \"Enabled\",\r\n \"enableAutomaticFailover\": false,\r\n \"enableMultipleWriteLocations\": false,\r\n \"enablePartitionKeyMonitor\": false,\r\n \"isVirtualNetworkFilterEnabled\": false,\r\n \"virtualNetworkRules\": [],\r\n \"EnabledApiTypes\": \"Table, Sql\",\r\n \"disableKeyBasedMetadataWriteAccess\": false,\r\n \"enableFreeTier\": false,\r\n \"enableAnalyticalStorage\": false,\r\n \"analyticalStorageConfiguration\": null,\r\n \"instanceId\": \"60498937-d6c9-4cc9-8da8-3275cece16b7\",\r\n \"createMode\": \"Default\",\r\n \"databaseAccountOfferType\": \"Standard\",\r\n \"enableCassandraConnector\": false,\r\n \"connectorOffer\": \"\",\r\n \"defaultIdentity\": \"\",\r\n \"networkAclBypass\": \"None\",\r\n \"consistencyPolicy\": {\r\n \"defaultConsistencyLevel\": \"BoundedStaleness\",\r\n \"maxIntervalInSeconds\": 86400,\r\n \"maxStalenessPrefix\": 1000000\r\n },\r\n \"configurationOverrides\": {},\r\n \"writeLocations\": [\r\n {\r\n \"id\": \"ash-table-nb-westus2\",\r\n \"locationName\": \"West US 2\",\r\n \"documentEndpoint\": \"https://ash-table-nb-westus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"readLocations\": [\r\n {\r\n \"id\": \"ash-table-nb-westus2\",\r\n \"locationName\": \"West US 2\",\r\n \"documentEndpoint\": \"https://ash-table-nb-westus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"locations\": [\r\n {\r\n \"id\": \"ash-table-nb-westus2\",\r\n \"locationName\": \"West US 2\",\r\n \"documentEndpoint\": \"https://ash-table-nb-westus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"failoverPolicies\": [\r\n {\r\n \"id\": \"ash-table-nb-westus2\",\r\n \"locationName\": \"West US 2\",\r\n \"failoverPriority\": 0\r\n }\r\n ],\r\n \"cors\": [],\r\n \"capabilities\": [\r\n {\r\n \"name\": \"EnableTable\"\r\n },\r\n {\r\n \"name\": \"EnableNotebooks\"\r\n }\r\n ],\r\n \"ipRules\": [],\r\n \"backupPolicy\": {\r\n \"type\": \"Periodic\",\r\n \"periodicModeProperties\": {\r\n \"backupIntervalInMinutes\": 60,\r\n \"backupRetentionIntervalInHours\": 8,\r\n \"backupStorageRedundancy\": \"Geo\"\r\n }\r\n },\r\n \"networkAclBypassResourceIds\": []\r\n },\r\n \"identity\": {\r\n \"type\": \"None\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/resourceGroups/backup-restore/providers/Microsoft.DocumentDB/databaseAccounts/backup-restore-mgmt-0\",\r\n \"name\": \"backup-restore-mgmt-0\",\r\n \"location\": \"West US 2\",\r\n \"type\": \"Microsoft.DocumentDB/databaseAccounts\",\r\n \"kind\": \"GlobalDocumentDB\",\r\n \"tags\": {\r\n \"defaultExperience\": \"DocumentDB\"\r\n },\r\n \"systemData\": {\r\n \"createdAt\": \"2018-11-03T17:20:47.1370235Z\"\r\n },\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"documentEndpoint\": \"https://backup-restore-mgmt-0.documents-staging.windows-ppe.net:443/\",\r\n \"publicNetworkAccess\": \"Enabled\",\r\n \"enableAutomaticFailover\": false,\r\n \"enableMultipleWriteLocations\": false,\r\n \"enablePartitionKeyMonitor\": false,\r\n \"isVirtualNetworkFilterEnabled\": false,\r\n \"virtualNetworkRules\": [],\r\n \"EnabledApiTypes\": \"Sql\",\r\n \"disableKeyBasedMetadataWriteAccess\": false,\r\n \"enableFreeTier\": false,\r\n \"enableAnalyticalStorage\": false,\r\n \"analyticalStorageConfiguration\": null,\r\n \"instanceId\": \"094e24d4-c422-4a7f-80fc-63d9c79b9c54\",\r\n \"createMode\": \"Default\",\r\n \"databaseAccountOfferType\": \"Standard\",\r\n \"defaultIdentity\": \"\",\r\n \"networkAclBypass\": \"None\",\r\n \"consistencyPolicy\": {\r\n \"defaultConsistencyLevel\": \"Session\",\r\n \"maxIntervalInSeconds\": 5,\r\n \"maxStalenessPrefix\": 100\r\n },\r\n \"configurationOverrides\": {},\r\n \"writeLocations\": [\r\n {\r\n \"id\": \"backup-restore-mgmt-0-westus2\",\r\n \"locationName\": \"West US 2\",\r\n \"documentEndpoint\": \"https://backup-restore-mgmt-0-westus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"readLocations\": [\r\n {\r\n \"id\": \"backup-restore-mgmt-0-westus2\",\r\n \"locationName\": \"West US 2\",\r\n \"documentEndpoint\": \"https://backup-restore-mgmt-0-westus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"locations\": [\r\n {\r\n \"id\": \"backup-restore-mgmt-0-westus2\",\r\n \"locationName\": \"West US 2\",\r\n \"documentEndpoint\": \"https://backup-restore-mgmt-0-westus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"failoverPolicies\": [\r\n {\r\n \"id\": \"backup-restore-mgmt-0-westus2\",\r\n \"locationName\": \"West US 2\",\r\n \"failoverPriority\": 0\r\n }\r\n ],\r\n \"cors\": [],\r\n \"capabilities\": [],\r\n \"ipRules\": [],\r\n \"backupPolicy\": {\r\n \"type\": \"Periodic\",\r\n \"periodicModeProperties\": {\r\n \"backupIntervalInMinutes\": 240,\r\n \"backupRetentionIntervalInHours\": 8,\r\n \"backupStorageRedundancy\": \"Geo\"\r\n }\r\n },\r\n \"networkAclBypassResourceIds\": []\r\n },\r\n \"identity\": {\r\n \"type\": \"None\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/resourceGroups/analytics/providers/Microsoft.DocumentDB/databaseAccounts/build-test\",\r\n \"name\": \"build-test\",\r\n \"location\": \"West US 2\",\r\n \"type\": \"Microsoft.DocumentDB/databaseAccounts\",\r\n \"kind\": \"GlobalDocumentDB\",\r\n \"tags\": {\r\n \"defaultExperience\": \"Core (SQL)\",\r\n \"hidden-cosmos-mmspecial\": \"\",\r\n \"CosmosAccountType\": \"Non-Production\"\r\n },\r\n \"systemData\": {\r\n \"createdAt\": \"2020-05-02T03:55:39.3975663Z\"\r\n },\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"documentEndpoint\": \"https://build-test.documents-staging.windows-ppe.net:443/\",\r\n \"publicNetworkAccess\": \"Enabled\",\r\n \"enableAutomaticFailover\": false,\r\n \"enableMultipleWriteLocations\": false,\r\n \"enablePartitionKeyMonitor\": false,\r\n \"isVirtualNetworkFilterEnabled\": false,\r\n \"virtualNetworkRules\": [],\r\n \"EnabledApiTypes\": \"Sql\",\r\n \"disableKeyBasedMetadataWriteAccess\": false,\r\n \"enableFreeTier\": false,\r\n \"enableAnalyticalStorage\": false,\r\n \"analyticalStorageConfiguration\": null,\r\n \"instanceId\": \"3d234c37-7005-4669-a910-b44fd9e672fd\",\r\n \"createMode\": \"Default\",\r\n \"databaseAccountOfferType\": \"Standard\",\r\n \"enableCassandraConnector\": false,\r\n \"connectorOffer\": \"\",\r\n \"defaultIdentity\": \"\",\r\n \"networkAclBypass\": \"None\",\r\n \"consistencyPolicy\": {\r\n \"defaultConsistencyLevel\": \"Session\",\r\n \"maxIntervalInSeconds\": 5,\r\n \"maxStalenessPrefix\": 100\r\n },\r\n \"configurationOverrides\": {},\r\n \"writeLocations\": [\r\n {\r\n \"id\": \"build-test-westus2\",\r\n \"locationName\": \"West US 2\",\r\n \"documentEndpoint\": \"https://build-test-westus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"readLocations\": [\r\n {\r\n \"id\": \"build-test-westus2\",\r\n \"locationName\": \"West US 2\",\r\n \"documentEndpoint\": \"https://build-test-westus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"locations\": [\r\n {\r\n \"id\": \"build-test-westus2\",\r\n \"locationName\": \"West US 2\",\r\n \"documentEndpoint\": \"https://build-test-westus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"failoverPolicies\": [\r\n {\r\n \"id\": \"build-test-westus2\",\r\n \"locationName\": \"West US 2\",\r\n \"failoverPriority\": 0\r\n }\r\n ],\r\n \"cors\": [],\r\n \"capabilities\": [\r\n {\r\n \"name\": \"EnableStorageAnalytics\"\r\n }\r\n ],\r\n \"ipRules\": [],\r\n \"backupPolicy\": {\r\n \"type\": \"Periodic\",\r\n \"periodicModeProperties\": {\r\n \"backupIntervalInMinutes\": 60,\r\n \"backupRetentionIntervalInHours\": 8,\r\n \"backupStorageRedundancy\": \"Geo\"\r\n }\r\n },\r\n \"networkAclBypassResourceIds\": []\r\n },\r\n \"identity\": {\r\n \"type\": \"None\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/resourceGroups/CANARY/providers/Microsoft.DocumentDB/databaseAccounts/canary-stagewestus2cm1\",\r\n \"name\": \"canary-stagewestus2cm1\",\r\n \"location\": \"West US 2\",\r\n \"type\": \"Microsoft.DocumentDB/databaseAccounts\",\r\n \"kind\": \"DocumentDB\",\r\n \"tags\": {},\r\n \"systemData\": {\r\n \"createdAt\": \"2020-06-12T22:43:23.3914536Z\"\r\n },\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"documentEndpoint\": \"https://canary-stagewestus2cm1.documents-staging.windows-ppe.net:443/\",\r\n \"cassandraEndpoint\": \"https://canary-stagewestus2cm1.cassandra.cosmos.windows-ppe.net:443/\",\r\n \"publicNetworkAccess\": \"Enabled\",\r\n \"enableAutomaticFailover\": false,\r\n \"enableMultipleWriteLocations\": false,\r\n \"enablePartitionKeyMonitor\": false,\r\n \"isVirtualNetworkFilterEnabled\": false,\r\n \"virtualNetworkRules\": [],\r\n \"EnabledApiTypes\": \"Cassandra\",\r\n \"disableKeyBasedMetadataWriteAccess\": false,\r\n \"enableFreeTier\": false,\r\n \"enableAnalyticalStorage\": false,\r\n \"analyticalStorageConfiguration\": null,\r\n \"instanceId\": \"32743747-9dca-42ba-ac6b-ec91aba23317\",\r\n \"createMode\": \"Default\",\r\n \"databaseAccountOfferType\": \"Standard\",\r\n \"defaultIdentity\": \"\",\r\n \"networkAclBypass\": \"None\",\r\n \"consistencyPolicy\": {\r\n \"defaultConsistencyLevel\": \"Session\",\r\n \"maxIntervalInSeconds\": 5,\r\n \"maxStalenessPrefix\": 100\r\n },\r\n \"configurationOverrides\": {},\r\n \"writeLocations\": [\r\n {\r\n \"id\": \"canary-stagewestus2cm1-westus2\",\r\n \"locationName\": \"West US 2\",\r\n \"documentEndpoint\": \"https://canary-stagewestus2cm1-westus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"readLocations\": [\r\n {\r\n \"id\": \"canary-stagewestus2cm1-westus2\",\r\n \"locationName\": \"West US 2\",\r\n \"documentEndpoint\": \"https://canary-stagewestus2cm1-westus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"locations\": [\r\n {\r\n \"id\": \"canary-stagewestus2cm1-westus2\",\r\n \"locationName\": \"West US 2\",\r\n \"documentEndpoint\": \"https://canary-stagewestus2cm1-westus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"failoverPolicies\": [\r\n {\r\n \"id\": \"canary-stagewestus2cm1-westus2\",\r\n \"locationName\": \"West US 2\",\r\n \"failoverPriority\": 0\r\n }\r\n ],\r\n \"cors\": [],\r\n \"capabilities\": [\r\n {\r\n \"name\": \"EnableCassandra\"\r\n }\r\n ],\r\n \"ipRules\": [],\r\n \"backupPolicy\": {\r\n \"type\": \"Periodic\",\r\n \"periodicModeProperties\": {\r\n \"backupIntervalInMinutes\": 240,\r\n \"backupRetentionIntervalInHours\": 8,\r\n \"backupStorageRedundancy\": \"Geo\"\r\n }\r\n },\r\n \"networkAclBypassResourceIds\": []\r\n },\r\n \"identity\": {\r\n \"type\": \"None\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/resourceGroups/cassandra-stage-signoff/providers/Microsoft.DocumentDB/databaseAccounts/cassandrastagetest\",\r\n \"name\": \"cassandrastagetest\",\r\n \"location\": \"West US 2\",\r\n \"type\": \"Microsoft.DocumentDB/databaseAccounts\",\r\n \"kind\": \"GlobalDocumentDB\",\r\n \"tags\": {\r\n \"defaultExperience\": \"Cassandra\",\r\n \"hidden-cosmos-mmspecial\": \"\"\r\n },\r\n \"systemData\": {\r\n \"createdAt\": \"2020-01-09T18:01:10.9408479Z\"\r\n },\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"documentEndpoint\": \"https://cassandrastagetest.documents-staging.windows-ppe.net:443/\",\r\n \"cassandraEndpoint\": \"https://cassandrastagetest.cassandra.cosmos.windows-ppe.net:443/\",\r\n \"publicNetworkAccess\": \"Enabled\",\r\n \"enableAutomaticFailover\": false,\r\n \"enableMultipleWriteLocations\": false,\r\n \"enablePartitionKeyMonitor\": false,\r\n \"isVirtualNetworkFilterEnabled\": false,\r\n \"virtualNetworkRules\": [],\r\n \"EnabledApiTypes\": \"Cassandra\",\r\n \"disableKeyBasedMetadataWriteAccess\": false,\r\n \"enableFreeTier\": false,\r\n \"enableAnalyticalStorage\": false,\r\n \"analyticalStorageConfiguration\": null,\r\n \"instanceId\": \"a40ceb7f-1ce9-43f0-bab1-e08c8c200f78\",\r\n \"createMode\": \"Default\",\r\n \"databaseAccountOfferType\": \"Standard\",\r\n \"enableCassandraConnector\": false,\r\n \"connectorOffer\": \"\",\r\n \"defaultIdentity\": \"\",\r\n \"networkAclBypass\": \"None\",\r\n \"consistencyPolicy\": {\r\n \"defaultConsistencyLevel\": \"Session\",\r\n \"maxIntervalInSeconds\": 5,\r\n \"maxStalenessPrefix\": 100\r\n },\r\n \"configurationOverrides\": {},\r\n \"writeLocations\": [\r\n {\r\n \"id\": \"cassandrastagetest-westus2\",\r\n \"locationName\": \"West US 2\",\r\n \"documentEndpoint\": \"https://cassandrastagetest-westus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"readLocations\": [\r\n {\r\n \"id\": \"cassandrastagetest-westus2\",\r\n \"locationName\": \"West US 2\",\r\n \"documentEndpoint\": \"https://cassandrastagetest-westus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"locations\": [\r\n {\r\n \"id\": \"cassandrastagetest-westus2\",\r\n \"locationName\": \"West US 2\",\r\n \"documentEndpoint\": \"https://cassandrastagetest-westus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"failoverPolicies\": [\r\n {\r\n \"id\": \"cassandrastagetest-westus2\",\r\n \"locationName\": \"West US 2\",\r\n \"failoverPriority\": 0\r\n }\r\n ],\r\n \"cors\": [],\r\n \"capabilities\": [\r\n {\r\n \"name\": \"EnableStorageAnalytics\"\r\n },\r\n {\r\n \"name\": \"EnableCassandra\"\r\n }\r\n ],\r\n \"ipRules\": [],\r\n \"backupPolicy\": {\r\n \"type\": \"Periodic\",\r\n \"periodicModeProperties\": {\r\n \"backupIntervalInMinutes\": 60,\r\n \"backupRetentionIntervalInHours\": 8,\r\n \"backupStorageRedundancy\": \"Geo\"\r\n }\r\n },\r\n \"networkAclBypassResourceIds\": []\r\n },\r\n \"identity\": {\r\n \"type\": \"None\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/resourceGroups/controlplanehealth-rg/providers/Microsoft.DocumentDB/databaseAccounts/controlplanehealth-stage-westus2\",\r\n \"name\": \"controlplanehealth-stage-westus2\",\r\n \"location\": \"West US 2\",\r\n \"type\": \"Microsoft.DocumentDB/databaseAccounts\",\r\n \"kind\": \"GlobalDocumentDB\",\r\n \"tags\": {},\r\n \"systemData\": {\r\n \"createdAt\": \"2020-07-15T19:42:37.5354165Z\"\r\n },\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"documentEndpoint\": \"https://controlplanehealth-stage-westus2.documents-staging.windows-ppe.net:443/\",\r\n \"publicNetworkAccess\": \"Enabled\",\r\n \"enableAutomaticFailover\": false,\r\n \"enableMultipleWriteLocations\": false,\r\n \"enablePartitionKeyMonitor\": false,\r\n \"isVirtualNetworkFilterEnabled\": false,\r\n \"virtualNetworkRules\": [],\r\n \"EnabledApiTypes\": \"Sql\",\r\n \"disableKeyBasedMetadataWriteAccess\": false,\r\n \"enableFreeTier\": false,\r\n \"enableAnalyticalStorage\": false,\r\n \"analyticalStorageConfiguration\": null,\r\n \"instanceId\": \"ace7bb3a-2068-4da2-aae1-6640e263fa4b\",\r\n \"createMode\": \"Default\",\r\n \"databaseAccountOfferType\": \"Standard\",\r\n \"enableCassandraConnector\": false,\r\n \"connectorOffer\": \"\",\r\n \"defaultIdentity\": \"\",\r\n \"networkAclBypass\": \"None\",\r\n \"consistencyPolicy\": {\r\n \"defaultConsistencyLevel\": \"Session\",\r\n \"maxIntervalInSeconds\": 5,\r\n \"maxStalenessPrefix\": 100\r\n },\r\n \"configurationOverrides\": {},\r\n \"writeLocations\": [\r\n {\r\n \"id\": \"controlplanehealth-stage-westus2-westus2\",\r\n \"locationName\": \"West US 2\",\r\n \"documentEndpoint\": \"https://controlplanehealth-stage-westus2-westus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"readLocations\": [\r\n {\r\n \"id\": \"controlplanehealth-stage-westus2-westus2\",\r\n \"locationName\": \"West US 2\",\r\n \"documentEndpoint\": \"https://controlplanehealth-stage-westus2-westus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n },\r\n {\r\n \"id\": \"controlplanehealth-stage-westus2-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://controlplanehealth-stage-westus2-eastus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 1,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"locations\": [\r\n {\r\n \"id\": \"controlplanehealth-stage-westus2-westus2\",\r\n \"locationName\": \"West US 2\",\r\n \"documentEndpoint\": \"https://controlplanehealth-stage-westus2-westus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n },\r\n {\r\n \"id\": \"controlplanehealth-stage-westus2-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://controlplanehealth-stage-westus2-eastus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 1,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"failoverPolicies\": [\r\n {\r\n \"id\": \"controlplanehealth-stage-westus2-westus2\",\r\n \"locationName\": \"West US 2\",\r\n \"failoverPriority\": 0\r\n },\r\n {\r\n \"id\": \"controlplanehealth-stage-westus2-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"failoverPriority\": 1\r\n }\r\n ],\r\n \"cors\": [],\r\n \"capabilities\": [],\r\n \"ipRules\": [],\r\n \"backupPolicy\": {\r\n \"type\": \"Periodic\",\r\n \"periodicModeProperties\": {\r\n \"backupIntervalInMinutes\": 240,\r\n \"backupRetentionIntervalInHours\": 8,\r\n \"backupStorageRedundancy\": \"Geo\"\r\n }\r\n },\r\n \"networkAclBypassResourceIds\": []\r\n },\r\n \"identity\": {\r\n \"type\": \"None\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/resourceGroups/controlplanehealth-rg/providers/Microsoft.DocumentDB/databaseAccounts/controlplanehealth-stage-westus2-cx\",\r\n \"name\": \"controlplanehealth-stage-westus2-cx\",\r\n \"location\": \"West US 2\",\r\n \"type\": \"Microsoft.DocumentDB/databaseAccounts\",\r\n \"kind\": \"GlobalDocumentDB\",\r\n \"tags\": {},\r\n \"systemData\": {\r\n \"createdAt\": \"2020-07-15T19:57:45.8822395Z\"\r\n },\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"documentEndpoint\": \"https://controlplanehealth-stage-westus2-cx.documents-staging.windows-ppe.net:443/\",\r\n \"cassandraEndpoint\": \"https://controlplanehealth-stage-westus2-cx.cassandra.cosmos.windows-ppe.net:443/\",\r\n \"publicNetworkAccess\": \"Enabled\",\r\n \"enableAutomaticFailover\": false,\r\n \"enableMultipleWriteLocations\": false,\r\n \"enablePartitionKeyMonitor\": false,\r\n \"isVirtualNetworkFilterEnabled\": false,\r\n \"virtualNetworkRules\": [],\r\n \"EnabledApiTypes\": \"Cassandra\",\r\n \"disableKeyBasedMetadataWriteAccess\": false,\r\n \"enableFreeTier\": false,\r\n \"enableAnalyticalStorage\": false,\r\n \"analyticalStorageConfiguration\": null,\r\n \"instanceId\": \"81633c01-3395-43a1-8173-58d2c9e20fab\",\r\n \"createMode\": \"Default\",\r\n \"databaseAccountOfferType\": \"Standard\",\r\n \"enableCassandraConnector\": false,\r\n \"connectorOffer\": \"\",\r\n \"defaultIdentity\": \"\",\r\n \"networkAclBypass\": \"None\",\r\n \"consistencyPolicy\": {\r\n \"defaultConsistencyLevel\": \"Session\",\r\n \"maxIntervalInSeconds\": 5,\r\n \"maxStalenessPrefix\": 100\r\n },\r\n \"configurationOverrides\": {},\r\n \"writeLocations\": [\r\n {\r\n \"id\": \"controlplanehealth-stage-westus2-cx-westus2\",\r\n \"locationName\": \"West US 2\",\r\n \"documentEndpoint\": \"https://controlplanehealth-stage-westus2-cx-westus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"readLocations\": [\r\n {\r\n \"id\": \"controlplanehealth-stage-westus2-cx-westus2\",\r\n \"locationName\": \"West US 2\",\r\n \"documentEndpoint\": \"https://controlplanehealth-stage-westus2-cx-westus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n },\r\n {\r\n \"id\": \"controlplanehealth-stage-westus2-cx-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://controlplanehealth-stage-westus2-cx-eastus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 1,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"locations\": [\r\n {\r\n \"id\": \"controlplanehealth-stage-westus2-cx-westus2\",\r\n \"locationName\": \"West US 2\",\r\n \"documentEndpoint\": \"https://controlplanehealth-stage-westus2-cx-westus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n },\r\n {\r\n \"id\": \"controlplanehealth-stage-westus2-cx-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://controlplanehealth-stage-westus2-cx-eastus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 1,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"failoverPolicies\": [\r\n {\r\n \"id\": \"controlplanehealth-stage-westus2-cx-westus2\",\r\n \"locationName\": \"West US 2\",\r\n \"failoverPriority\": 0\r\n },\r\n {\r\n \"id\": \"controlplanehealth-stage-westus2-cx-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"failoverPriority\": 1\r\n }\r\n ],\r\n \"cors\": [],\r\n \"capabilities\": [\r\n {\r\n \"name\": \"EnableCassandra\"\r\n }\r\n ],\r\n \"ipRules\": [],\r\n \"backupPolicy\": {\r\n \"type\": \"Periodic\",\r\n \"periodicModeProperties\": {\r\n \"backupIntervalInMinutes\": 240,\r\n \"backupRetentionIntervalInHours\": 8,\r\n \"backupStorageRedundancy\": \"Geo\"\r\n }\r\n },\r\n \"networkAclBypassResourceIds\": []\r\n },\r\n \"identity\": {\r\n \"type\": \"None\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/resourceGroups/controlplanehealth-rg/providers/Microsoft.DocumentDB/databaseAccounts/controlplanehealth-stage-westus2-gln\",\r\n \"name\": \"controlplanehealth-stage-westus2-gln\",\r\n \"location\": \"West US 2\",\r\n \"type\": \"Microsoft.DocumentDB/databaseAccounts\",\r\n \"kind\": \"GlobalDocumentDB\",\r\n \"tags\": {},\r\n \"systemData\": {\r\n \"createdAt\": \"2020-07-15T19:58:10.5720141Z\"\r\n },\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"documentEndpoint\": \"https://controlplanehealth-stage-westus2-gln.documents-staging.windows-ppe.net:443/\",\r\n \"gremlinEndpoint\": \"https://controlplanehealth-stage-westus2-gln.gremlin.cosmos.windows-ppe.net:443/\",\r\n \"publicNetworkAccess\": \"Enabled\",\r\n \"enableAutomaticFailover\": false,\r\n \"enableMultipleWriteLocations\": false,\r\n \"enablePartitionKeyMonitor\": false,\r\n \"isVirtualNetworkFilterEnabled\": false,\r\n \"virtualNetworkRules\": [],\r\n \"EnabledApiTypes\": \"Gremlin, Sql\",\r\n \"disableKeyBasedMetadataWriteAccess\": false,\r\n \"enableFreeTier\": false,\r\n \"enableAnalyticalStorage\": false,\r\n \"analyticalStorageConfiguration\": null,\r\n \"instanceId\": \"32dec277-404c-433e-8c57-de2c07d1051a\",\r\n \"createMode\": \"Default\",\r\n \"databaseAccountOfferType\": \"Standard\",\r\n \"enableCassandraConnector\": false,\r\n \"connectorOffer\": \"\",\r\n \"defaultIdentity\": \"\",\r\n \"networkAclBypass\": \"None\",\r\n \"consistencyPolicy\": {\r\n \"defaultConsistencyLevel\": \"Session\",\r\n \"maxIntervalInSeconds\": 5,\r\n \"maxStalenessPrefix\": 100\r\n },\r\n \"configurationOverrides\": {},\r\n \"writeLocations\": [\r\n {\r\n \"id\": \"controlplanehealth-stage-westus2-gln-westus2\",\r\n \"locationName\": \"West US 2\",\r\n \"documentEndpoint\": \"https://controlplanehealth-stage-westus2-gln-westus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"readLocations\": [\r\n {\r\n \"id\": \"controlplanehealth-stage-westus2-gln-westus2\",\r\n \"locationName\": \"West US 2\",\r\n \"documentEndpoint\": \"https://controlplanehealth-stage-westus2-gln-westus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n },\r\n {\r\n \"id\": \"controlplanehealth-stage-westus2-gln-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://controlplanehealth-stage-westus2-gln-eastus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 1,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"locations\": [\r\n {\r\n \"id\": \"controlplanehealth-stage-westus2-gln-westus2\",\r\n \"locationName\": \"West US 2\",\r\n \"documentEndpoint\": \"https://controlplanehealth-stage-westus2-gln-westus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n },\r\n {\r\n \"id\": \"controlplanehealth-stage-westus2-gln-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://controlplanehealth-stage-westus2-gln-eastus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 1,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"failoverPolicies\": [\r\n {\r\n \"id\": \"controlplanehealth-stage-westus2-gln-westus2\",\r\n \"locationName\": \"West US 2\",\r\n \"failoverPriority\": 0\r\n },\r\n {\r\n \"id\": \"controlplanehealth-stage-westus2-gln-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"failoverPriority\": 1\r\n }\r\n ],\r\n \"cors\": [],\r\n \"capabilities\": [\r\n {\r\n \"name\": \"EnableGremlin\"\r\n }\r\n ],\r\n \"ipRules\": [],\r\n \"backupPolicy\": {\r\n \"type\": \"Periodic\",\r\n \"periodicModeProperties\": {\r\n \"backupIntervalInMinutes\": 240,\r\n \"backupRetentionIntervalInHours\": 8,\r\n \"backupStorageRedundancy\": \"Geo\"\r\n }\r\n },\r\n \"networkAclBypassResourceIds\": []\r\n },\r\n \"identity\": {\r\n \"type\": \"None\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/resourceGroups/controlplanehealth-rg/providers/Microsoft.DocumentDB/databaseAccounts/controlplanehealth-stage-westus2-mgo\",\r\n \"name\": \"controlplanehealth-stage-westus2-mgo\",\r\n \"location\": \"West US 2\",\r\n \"type\": \"Microsoft.DocumentDB/databaseAccounts\",\r\n \"kind\": \"MongoDB\",\r\n \"tags\": {},\r\n \"systemData\": {\r\n \"createdAt\": \"2020-07-15T19:56:57.4525237Z\"\r\n },\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"documentEndpoint\": \"https://controlplanehealth-stage-westus2-mgo.documents-staging.windows-ppe.net:443/\",\r\n \"publicNetworkAccess\": \"Enabled\",\r\n \"enableAutomaticFailover\": false,\r\n \"enableMultipleWriteLocations\": false,\r\n \"enablePartitionKeyMonitor\": false,\r\n \"isVirtualNetworkFilterEnabled\": false,\r\n \"virtualNetworkRules\": [],\r\n \"EnabledApiTypes\": \"MongoDB\",\r\n \"disableKeyBasedMetadataWriteAccess\": false,\r\n \"enableFreeTier\": false,\r\n \"enableAnalyticalStorage\": false,\r\n \"analyticalStorageConfiguration\": null,\r\n \"instanceId\": \"2d4f5b9f-8157-4c3e-a541-d6876b5d9f9f\",\r\n \"createMode\": \"Default\",\r\n \"databaseAccountOfferType\": \"Standard\",\r\n \"enableCassandraConnector\": false,\r\n \"connectorOffer\": \"\",\r\n \"defaultIdentity\": \"\",\r\n \"networkAclBypass\": \"None\",\r\n \"consistencyPolicy\": {\r\n \"defaultConsistencyLevel\": \"Session\",\r\n \"maxIntervalInSeconds\": 5,\r\n \"maxStalenessPrefix\": 100\r\n },\r\n \"apiProperties\": {\r\n \"serverVersion\": \"3.2\"\r\n },\r\n \"configurationOverrides\": {\r\n \"EnableBsonSchema\": \"True\"\r\n },\r\n \"writeLocations\": [\r\n {\r\n \"id\": \"controlplanehealth-stage-westus2-mgo-westus2\",\r\n \"locationName\": \"West US 2\",\r\n \"documentEndpoint\": \"https://controlplanehealth-stage-westus2-mgo-westus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"readLocations\": [\r\n {\r\n \"id\": \"controlplanehealth-stage-westus2-mgo-westus2\",\r\n \"locationName\": \"West US 2\",\r\n \"documentEndpoint\": \"https://controlplanehealth-stage-westus2-mgo-westus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n },\r\n {\r\n \"id\": \"controlplanehealth-stage-westus2-mgo-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://controlplanehealth-stage-westus2-mgo-eastus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 1,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"locations\": [\r\n {\r\n \"id\": \"controlplanehealth-stage-westus2-mgo-westus2\",\r\n \"locationName\": \"West US 2\",\r\n \"documentEndpoint\": \"https://controlplanehealth-stage-westus2-mgo-westus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n },\r\n {\r\n \"id\": \"controlplanehealth-stage-westus2-mgo-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://controlplanehealth-stage-westus2-mgo-eastus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 1,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"failoverPolicies\": [\r\n {\r\n \"id\": \"controlplanehealth-stage-westus2-mgo-westus2\",\r\n \"locationName\": \"West US 2\",\r\n \"failoverPriority\": 0\r\n },\r\n {\r\n \"id\": \"controlplanehealth-stage-westus2-mgo-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"failoverPriority\": 1\r\n }\r\n ],\r\n \"cors\": [],\r\n \"capabilities\": [],\r\n \"ipRules\": [],\r\n \"backupPolicy\": {\r\n \"type\": \"Periodic\",\r\n \"periodicModeProperties\": {\r\n \"backupIntervalInMinutes\": 240,\r\n \"backupRetentionIntervalInHours\": 8,\r\n \"backupStorageRedundancy\": \"Geo\"\r\n }\r\n },\r\n \"networkAclBypassResourceIds\": []\r\n },\r\n \"identity\": {\r\n \"type\": \"None\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/resourceGroups/controlplanehealth-rg/providers/Microsoft.DocumentDB/databaseAccounts/controlplanehealth-stage-westus2-sql\",\r\n \"name\": \"controlplanehealth-stage-westus2-sql\",\r\n \"location\": \"West US 2\",\r\n \"type\": \"Microsoft.DocumentDB/databaseAccounts\",\r\n \"kind\": \"GlobalDocumentDB\",\r\n \"tags\": {},\r\n \"systemData\": {\r\n \"createdAt\": \"2020-07-15T19:56:39.1942591Z\"\r\n },\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"documentEndpoint\": \"https://controlplanehealth-stage-westus2-sql.documents-staging.windows-ppe.net:443/\",\r\n \"publicNetworkAccess\": \"Enabled\",\r\n \"enableAutomaticFailover\": false,\r\n \"enableMultipleWriteLocations\": false,\r\n \"enablePartitionKeyMonitor\": false,\r\n \"isVirtualNetworkFilterEnabled\": false,\r\n \"virtualNetworkRules\": [],\r\n \"EnabledApiTypes\": \"Sql\",\r\n \"disableKeyBasedMetadataWriteAccess\": false,\r\n \"enableFreeTier\": false,\r\n \"enableAnalyticalStorage\": false,\r\n \"analyticalStorageConfiguration\": null,\r\n \"instanceId\": \"4f22422a-8876-43f0-9a6b-c328456ad95d\",\r\n \"createMode\": \"Default\",\r\n \"databaseAccountOfferType\": \"Standard\",\r\n \"enableCassandraConnector\": false,\r\n \"connectorOffer\": \"\",\r\n \"defaultIdentity\": \"\",\r\n \"networkAclBypass\": \"None\",\r\n \"consistencyPolicy\": {\r\n \"defaultConsistencyLevel\": \"Session\",\r\n \"maxIntervalInSeconds\": 5,\r\n \"maxStalenessPrefix\": 100\r\n },\r\n \"configurationOverrides\": {},\r\n \"writeLocations\": [\r\n {\r\n \"id\": \"controlplanehealth-stage-westus2-sql-westus2\",\r\n \"locationName\": \"West US 2\",\r\n \"documentEndpoint\": \"https://controlplanehealth-stage-westus2-sql-westus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"readLocations\": [\r\n {\r\n \"id\": \"controlplanehealth-stage-westus2-sql-westus2\",\r\n \"locationName\": \"West US 2\",\r\n \"documentEndpoint\": \"https://controlplanehealth-stage-westus2-sql-westus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"locations\": [\r\n {\r\n \"id\": \"controlplanehealth-stage-westus2-sql-westus2\",\r\n \"locationName\": \"West US 2\",\r\n \"documentEndpoint\": \"https://controlplanehealth-stage-westus2-sql-westus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"failoverPolicies\": [\r\n {\r\n \"id\": \"controlplanehealth-stage-westus2-sql-westus2\",\r\n \"locationName\": \"West US 2\",\r\n \"failoverPriority\": 0\r\n }\r\n ],\r\n \"cors\": [],\r\n \"capabilities\": [],\r\n \"ipRules\": [],\r\n \"backupPolicy\": {\r\n \"type\": \"Periodic\",\r\n \"periodicModeProperties\": {\r\n \"backupIntervalInMinutes\": 240,\r\n \"backupRetentionIntervalInHours\": 8,\r\n \"backupStorageRedundancy\": \"Geo\"\r\n }\r\n },\r\n \"networkAclBypassResourceIds\": []\r\n },\r\n \"identity\": {\r\n \"type\": \"None\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/resourceGroups/controlplanehealth-rg/providers/Microsoft.DocumentDB/databaseAccounts/controlplanehealth-stage-westus2-tbl\",\r\n \"name\": \"controlplanehealth-stage-westus2-tbl\",\r\n \"location\": \"West US 2\",\r\n \"type\": \"Microsoft.DocumentDB/databaseAccounts\",\r\n \"kind\": \"GlobalDocumentDB\",\r\n \"tags\": {},\r\n \"systemData\": {\r\n \"createdAt\": \"2020-07-15T19:59:01.2129798Z\"\r\n },\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"documentEndpoint\": \"https://controlplanehealth-stage-westus2-tbl.documents-staging.windows-ppe.net:443/\",\r\n \"tableEndpoint\": \"https://controlplanehealth-stage-westus2-tbl.table.cosmos.windows-ppe.net:443/\",\r\n \"publicNetworkAccess\": \"Enabled\",\r\n \"enableAutomaticFailover\": false,\r\n \"enableMultipleWriteLocations\": false,\r\n \"enablePartitionKeyMonitor\": false,\r\n \"isVirtualNetworkFilterEnabled\": false,\r\n \"virtualNetworkRules\": [],\r\n \"EnabledApiTypes\": \"Table, Sql\",\r\n \"disableKeyBasedMetadataWriteAccess\": false,\r\n \"enableFreeTier\": false,\r\n \"enableAnalyticalStorage\": false,\r\n \"analyticalStorageConfiguration\": null,\r\n \"instanceId\": \"06f014ba-70ca-4520-9908-bf000e20c8cb\",\r\n \"createMode\": \"Default\",\r\n \"databaseAccountOfferType\": \"Standard\",\r\n \"enableCassandraConnector\": false,\r\n \"connectorOffer\": \"\",\r\n \"defaultIdentity\": \"\",\r\n \"networkAclBypass\": \"None\",\r\n \"consistencyPolicy\": {\r\n \"defaultConsistencyLevel\": \"BoundedStaleness\",\r\n \"maxIntervalInSeconds\": 86400,\r\n \"maxStalenessPrefix\": 1000000\r\n },\r\n \"configurationOverrides\": {},\r\n \"writeLocations\": [\r\n {\r\n \"id\": \"controlplanehealth-stage-westus2-tbl-westus2\",\r\n \"locationName\": \"West US 2\",\r\n \"documentEndpoint\": \"https://controlplanehealth-stage-westus2-tbl-westus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"readLocations\": [\r\n {\r\n \"id\": \"controlplanehealth-stage-westus2-tbl-westus2\",\r\n \"locationName\": \"West US 2\",\r\n \"documentEndpoint\": \"https://controlplanehealth-stage-westus2-tbl-westus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n },\r\n {\r\n \"id\": \"controlplanehealth-stage-westus2-tbl-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://controlplanehealth-stage-westus2-tbl-eastus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 1,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"locations\": [\r\n {\r\n \"id\": \"controlplanehealth-stage-westus2-tbl-westus2\",\r\n \"locationName\": \"West US 2\",\r\n \"documentEndpoint\": \"https://controlplanehealth-stage-westus2-tbl-westus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n },\r\n {\r\n \"id\": \"controlplanehealth-stage-westus2-tbl-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://controlplanehealth-stage-westus2-tbl-eastus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 1,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"failoverPolicies\": [\r\n {\r\n \"id\": \"controlplanehealth-stage-westus2-tbl-westus2\",\r\n \"locationName\": \"West US 2\",\r\n \"failoverPriority\": 0\r\n },\r\n {\r\n \"id\": \"controlplanehealth-stage-westus2-tbl-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"failoverPriority\": 1\r\n }\r\n ],\r\n \"cors\": [],\r\n \"capabilities\": [\r\n {\r\n \"name\": \"EnableTable\"\r\n }\r\n ],\r\n \"ipRules\": [],\r\n \"backupPolicy\": {\r\n \"type\": \"Periodic\",\r\n \"periodicModeProperties\": {\r\n \"backupIntervalInMinutes\": 240,\r\n \"backupRetentionIntervalInHours\": 8,\r\n \"backupStorageRedundancy\": \"Geo\"\r\n }\r\n },\r\n \"networkAclBypassResourceIds\": []\r\n },\r\n \"identity\": {\r\n \"type\": \"None\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/resourceGroups/build2020/providers/Microsoft.DocumentDB/databaseAccounts/cosmosdb-synpase-link\",\r\n \"name\": \"cosmosdb-synpase-link\",\r\n \"location\": \"West US 2\",\r\n \"type\": \"Microsoft.DocumentDB/databaseAccounts\",\r\n \"kind\": \"GlobalDocumentDB\",\r\n \"tags\": {\r\n \"defaultExperience\": \"Core (SQL)\",\r\n \"hidden-cosmos-mmspecial\": \"\",\r\n \"CosmosAccountType\": \"Non-Production\"\r\n },\r\n \"systemData\": {\r\n \"createdAt\": \"2020-05-13T02:57:02.6248367Z\"\r\n },\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"documentEndpoint\": \"https://cosmosdb-synpase-link.documents-staging.windows-ppe.net:443/\",\r\n \"publicNetworkAccess\": \"Enabled\",\r\n \"enableAutomaticFailover\": false,\r\n \"enableMultipleWriteLocations\": false,\r\n \"enablePartitionKeyMonitor\": false,\r\n \"isVirtualNetworkFilterEnabled\": false,\r\n \"virtualNetworkRules\": [],\r\n \"EnabledApiTypes\": \"Sql\",\r\n \"disableKeyBasedMetadataWriteAccess\": false,\r\n \"enableFreeTier\": false,\r\n \"enableAnalyticalStorage\": true,\r\n \"analyticalStorageConfiguration\": null,\r\n \"instanceId\": \"a4e39e24-755d-4f3e-a8b5-6d1d5d4d5e6c\",\r\n \"createMode\": \"Default\",\r\n \"databaseAccountOfferType\": \"Standard\",\r\n \"enableCassandraConnector\": false,\r\n \"connectorOffer\": \"\",\r\n \"defaultIdentity\": \"\",\r\n \"networkAclBypass\": \"None\",\r\n \"consistencyPolicy\": {\r\n \"defaultConsistencyLevel\": \"Session\",\r\n \"maxIntervalInSeconds\": 5,\r\n \"maxStalenessPrefix\": 100\r\n },\r\n \"configurationOverrides\": {},\r\n \"writeLocations\": [\r\n {\r\n \"id\": \"cosmosdb-synpase-link-westus2\",\r\n \"locationName\": \"West US 2\",\r\n \"documentEndpoint\": \"https://cosmosdb-synpase-link-westus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"readLocations\": [\r\n {\r\n \"id\": \"cosmosdb-synpase-link-westus2\",\r\n \"locationName\": \"West US 2\",\r\n \"documentEndpoint\": \"https://cosmosdb-synpase-link-westus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"locations\": [\r\n {\r\n \"id\": \"cosmosdb-synpase-link-westus2\",\r\n \"locationName\": \"West US 2\",\r\n \"documentEndpoint\": \"https://cosmosdb-synpase-link-westus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"failoverPolicies\": [\r\n {\r\n \"id\": \"cosmosdb-synpase-link-westus2\",\r\n \"locationName\": \"West US 2\",\r\n \"failoverPriority\": 0\r\n }\r\n ],\r\n \"cors\": [],\r\n \"capabilities\": [],\r\n \"ipRules\": [],\r\n \"backupPolicy\": {\r\n \"type\": \"Periodic\",\r\n \"periodicModeProperties\": {\r\n \"backupIntervalInMinutes\": 60,\r\n \"backupRetentionIntervalInHours\": 8,\r\n \"backupStorageRedundancy\": \"Geo\"\r\n }\r\n },\r\n \"networkAclBypassResourceIds\": []\r\n },\r\n \"identity\": {\r\n \"type\": \"None\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/resourceGroups/cosmosdbqueryteam/providers/Microsoft.DocumentDB/databaseAccounts/cosmosdbqueryteamwestus2\",\r\n \"name\": \"cosmosdbqueryteamwestus2\",\r\n \"location\": \"West US 2\",\r\n \"type\": \"Microsoft.DocumentDB/databaseAccounts\",\r\n \"kind\": \"GlobalDocumentDB\",\r\n \"tags\": {\r\n \"defaultExperience\": \"Core (SQL)\"\r\n },\r\n \"systemData\": {\r\n \"createdAt\": \"2019-03-27T19:19:46.723853Z\"\r\n },\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"documentEndpoint\": \"https://cosmosdbqueryteamwestus2.documents-staging.windows-ppe.net:443/\",\r\n \"publicNetworkAccess\": \"Enabled\",\r\n \"enableAutomaticFailover\": false,\r\n \"enableMultipleWriteLocations\": false,\r\n \"enablePartitionKeyMonitor\": false,\r\n \"isVirtualNetworkFilterEnabled\": false,\r\n \"virtualNetworkRules\": [],\r\n \"EnabledApiTypes\": \"Sql\",\r\n \"disableKeyBasedMetadataWriteAccess\": false,\r\n \"enableFreeTier\": false,\r\n \"enableAnalyticalStorage\": true,\r\n \"analyticalStorageConfiguration\": null,\r\n \"instanceId\": \"baa0b268-7d29-4794-b842-95a1178ba951\",\r\n \"createMode\": \"Default\",\r\n \"databaseAccountOfferType\": \"Standard\",\r\n \"defaultIdentity\": \"\",\r\n \"networkAclBypass\": \"None\",\r\n \"consistencyPolicy\": {\r\n \"defaultConsistencyLevel\": \"Session\",\r\n \"maxIntervalInSeconds\": 5,\r\n \"maxStalenessPrefix\": 100\r\n },\r\n \"configurationOverrides\": {},\r\n \"writeLocations\": [\r\n {\r\n \"id\": \"cosmosdbqueryteamwestus2-westus2\",\r\n \"locationName\": \"West US 2\",\r\n \"documentEndpoint\": \"https://cosmosdbqueryteamwestus2-westus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"readLocations\": [\r\n {\r\n \"id\": \"cosmosdbqueryteamwestus2-westus2\",\r\n \"locationName\": \"West US 2\",\r\n \"documentEndpoint\": \"https://cosmosdbqueryteamwestus2-westus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"locations\": [\r\n {\r\n \"id\": \"cosmosdbqueryteamwestus2-westus2\",\r\n \"locationName\": \"West US 2\",\r\n \"documentEndpoint\": \"https://cosmosdbqueryteamwestus2-westus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"failoverPolicies\": [\r\n {\r\n \"id\": \"cosmosdbqueryteamwestus2-westus2\",\r\n \"locationName\": \"West US 2\",\r\n \"failoverPriority\": 0\r\n }\r\n ],\r\n \"cors\": [],\r\n \"capabilities\": [],\r\n \"ipRules\": [],\r\n \"backupPolicy\": {\r\n \"type\": \"Periodic\",\r\n \"periodicModeProperties\": {\r\n \"backupIntervalInMinutes\": 240,\r\n \"backupRetentionIntervalInHours\": 8,\r\n \"backupStorageRedundancy\": \"Geo\"\r\n }\r\n },\r\n \"networkAclBypassResourceIds\": []\r\n },\r\n \"identity\": {\r\n \"type\": \"None\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/resourceGroups/sarguptest/providers/Microsoft.DocumentDB/databaseAccounts/cpuinvestigation3\",\r\n \"name\": \"cpuinvestigation3\",\r\n \"location\": \"West US 2\",\r\n \"type\": \"Microsoft.DocumentDB/databaseAccounts\",\r\n \"kind\": \"GlobalDocumentDB\",\r\n \"tags\": {},\r\n \"systemData\": {\r\n \"createdAt\": \"2020-05-15T17:56:23.0873917Z\"\r\n },\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"documentEndpoint\": \"https://cpuinvestigation3.documents-staging.windows-ppe.net:443/\",\r\n \"publicNetworkAccess\": \"Enabled\",\r\n \"enableAutomaticFailover\": false,\r\n \"enableMultipleWriteLocations\": false,\r\n \"enablePartitionKeyMonitor\": false,\r\n \"isVirtualNetworkFilterEnabled\": false,\r\n \"virtualNetworkRules\": [],\r\n \"EnabledApiTypes\": \"Sql\",\r\n \"disableKeyBasedMetadataWriteAccess\": false,\r\n \"enableFreeTier\": false,\r\n \"enableAnalyticalStorage\": false,\r\n \"analyticalStorageConfiguration\": null,\r\n \"instanceId\": \"6c6ac979-c326-4f93-87e9-db676257a3c0\",\r\n \"createMode\": \"Default\",\r\n \"databaseAccountOfferType\": \"Standard\",\r\n \"enableCassandraConnector\": false,\r\n \"connectorOffer\": \"\",\r\n \"defaultIdentity\": \"\",\r\n \"networkAclBypass\": \"None\",\r\n \"consistencyPolicy\": {\r\n \"defaultConsistencyLevel\": \"Session\",\r\n \"maxIntervalInSeconds\": 5,\r\n \"maxStalenessPrefix\": 100\r\n },\r\n \"configurationOverrides\": {},\r\n \"writeLocations\": [\r\n {\r\n \"id\": \"cpuinvestigation3-westus2\",\r\n \"locationName\": \"West US 2\",\r\n \"documentEndpoint\": \"https://cpuinvestigation3-westus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"readLocations\": [\r\n {\r\n \"id\": \"cpuinvestigation3-westus2\",\r\n \"locationName\": \"West US 2\",\r\n \"documentEndpoint\": \"https://cpuinvestigation3-westus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"locations\": [\r\n {\r\n \"id\": \"cpuinvestigation3-westus2\",\r\n \"locationName\": \"West US 2\",\r\n \"documentEndpoint\": \"https://cpuinvestigation3-westus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"failoverPolicies\": [\r\n {\r\n \"id\": \"cpuinvestigation3-westus2\",\r\n \"locationName\": \"West US 2\",\r\n \"failoverPriority\": 0\r\n }\r\n ],\r\n \"cors\": [],\r\n \"capabilities\": [],\r\n \"ipRules\": [],\r\n \"backupPolicy\": {\r\n \"type\": \"Periodic\",\r\n \"periodicModeProperties\": {\r\n \"backupIntervalInMinutes\": 60,\r\n \"backupRetentionIntervalInHours\": 8,\r\n \"backupStorageRedundancy\": \"Geo\"\r\n }\r\n },\r\n \"networkAclBypassResourceIds\": []\r\n },\r\n \"identity\": {\r\n \"type\": \"None\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/resourceGroups/mongo-stage-signoff/providers/Microsoft.DocumentDB/databaseAccounts/cursortest-mongo-westus\",\r\n \"name\": \"cursortest-mongo-westus\",\r\n \"location\": \"West US 2\",\r\n \"type\": \"Microsoft.DocumentDB/databaseAccounts\",\r\n \"kind\": \"MongoDB\",\r\n \"tags\": {\r\n \"defaultExperience\": \"MongoDB\"\r\n },\r\n \"systemData\": {\r\n \"createdAt\": \"2018-11-07T22:38:58.7256285Z\"\r\n },\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"documentEndpoint\": \"https://cursortest-mongo-westus.documents-staging.windows-ppe.net:443/\",\r\n \"publicNetworkAccess\": \"Enabled\",\r\n \"enableAutomaticFailover\": false,\r\n \"enableMultipleWriteLocations\": true,\r\n \"enablePartitionKeyMonitor\": false,\r\n \"isVirtualNetworkFilterEnabled\": false,\r\n \"virtualNetworkRules\": [],\r\n \"EnabledApiTypes\": \"MongoDB\",\r\n \"disableKeyBasedMetadataWriteAccess\": false,\r\n \"enableFreeTier\": false,\r\n \"enableAnalyticalStorage\": false,\r\n \"analyticalStorageConfiguration\": null,\r\n \"instanceId\": \"55ece9ab-1c58-4467-8e54-d5a9c45740d9\",\r\n \"createMode\": \"Default\",\r\n \"databaseAccountOfferType\": \"Standard\",\r\n \"defaultIdentity\": \"\",\r\n \"networkAclBypass\": \"None\",\r\n \"consistencyPolicy\": {\r\n \"defaultConsistencyLevel\": \"Session\",\r\n \"maxIntervalInSeconds\": 5,\r\n \"maxStalenessPrefix\": 100\r\n },\r\n \"apiProperties\": {\r\n \"serverVersion\": \"3.2\"\r\n },\r\n \"configurationOverrides\": {\r\n \"EnableBsonSchema\": \"True\"\r\n },\r\n \"writeLocations\": [\r\n {\r\n \"id\": \"cursortest-mongo-westus-westus2\",\r\n \"locationName\": \"West US 2\",\r\n \"documentEndpoint\": \"https://cursortest-mongo-westus-westus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"readLocations\": [\r\n {\r\n \"id\": \"cursortest-mongo-westus-westus2\",\r\n \"locationName\": \"West US 2\",\r\n \"documentEndpoint\": \"https://cursortest-mongo-westus-westus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"locations\": [\r\n {\r\n \"id\": \"cursortest-mongo-westus-westus2\",\r\n \"locationName\": \"West US 2\",\r\n \"documentEndpoint\": \"https://cursortest-mongo-westus-westus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"failoverPolicies\": [\r\n {\r\n \"id\": \"cursortest-mongo-westus-westus2\",\r\n \"locationName\": \"West US 2\",\r\n \"failoverPriority\": 0\r\n }\r\n ],\r\n \"cors\": [],\r\n \"capabilities\": [],\r\n \"ipRules\": [],\r\n \"backupPolicy\": {\r\n \"type\": \"Periodic\",\r\n \"periodicModeProperties\": {\r\n \"backupIntervalInMinutes\": 240,\r\n \"backupRetentionIntervalInHours\": 8,\r\n \"backupStorageRedundancy\": \"Geo\"\r\n }\r\n },\r\n \"networkAclBypassResourceIds\": []\r\n },\r\n \"identity\": {\r\n \"type\": \"None\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/resourceGroups/dech-stage-rg/providers/Microsoft.DocumentDB/databaseAccounts/dech-cosmos-nb-stage\",\r\n \"name\": \"dech-cosmos-nb-stage\",\r\n \"location\": \"West US 2\",\r\n \"type\": \"Microsoft.DocumentDB/databaseAccounts\",\r\n \"kind\": \"GlobalDocumentDB\",\r\n \"tags\": {\r\n \"defaultExperience\": \"Core (SQL)\",\r\n \"hidden-cosmos-mmspecial\": \"\",\r\n \"CosmosAccountType\": \"Non-Production\"\r\n },\r\n \"systemData\": {\r\n \"createdAt\": \"2020-05-08T22:22:16.854688Z\"\r\n },\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"documentEndpoint\": \"https://dech-cosmos-nb-stage.documents-staging.windows-ppe.net:443/\",\r\n \"publicNetworkAccess\": \"Enabled\",\r\n \"enableAutomaticFailover\": false,\r\n \"enableMultipleWriteLocations\": false,\r\n \"enablePartitionKeyMonitor\": false,\r\n \"isVirtualNetworkFilterEnabled\": false,\r\n \"virtualNetworkRules\": [],\r\n \"EnabledApiTypes\": \"Sql\",\r\n \"disableKeyBasedMetadataWriteAccess\": false,\r\n \"enableFreeTier\": false,\r\n \"enableAnalyticalStorage\": false,\r\n \"analyticalStorageConfiguration\": null,\r\n \"instanceId\": \"095e0fed-1899-46e9-903b-ca96407ac661\",\r\n \"createMode\": \"Default\",\r\n \"databaseAccountOfferType\": \"Standard\",\r\n \"enableCassandraConnector\": false,\r\n \"connectorOffer\": \"\",\r\n \"defaultIdentity\": \"\",\r\n \"networkAclBypass\": \"None\",\r\n \"consistencyPolicy\": {\r\n \"defaultConsistencyLevel\": \"Session\",\r\n \"maxIntervalInSeconds\": 5,\r\n \"maxStalenessPrefix\": 100\r\n },\r\n \"configurationOverrides\": {},\r\n \"writeLocations\": [\r\n {\r\n \"id\": \"dech-cosmos-nb-stage-westus2\",\r\n \"locationName\": \"West US 2\",\r\n \"documentEndpoint\": \"https://dech-cosmos-nb-stage-westus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"readLocations\": [\r\n {\r\n \"id\": \"dech-cosmos-nb-stage-westus2\",\r\n \"locationName\": \"West US 2\",\r\n \"documentEndpoint\": \"https://dech-cosmos-nb-stage-westus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"locations\": [\r\n {\r\n \"id\": \"dech-cosmos-nb-stage-westus2\",\r\n \"locationName\": \"West US 2\",\r\n \"documentEndpoint\": \"https://dech-cosmos-nb-stage-westus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"failoverPolicies\": [\r\n {\r\n \"id\": \"dech-cosmos-nb-stage-westus2\",\r\n \"locationName\": \"West US 2\",\r\n \"failoverPriority\": 0\r\n }\r\n ],\r\n \"cors\": [],\r\n \"capabilities\": [\r\n {\r\n \"name\": \"EnableStorageAnalytics\"\r\n }\r\n ],\r\n \"ipRules\": [],\r\n \"backupPolicy\": {\r\n \"type\": \"Periodic\",\r\n \"periodicModeProperties\": {\r\n \"backupIntervalInMinutes\": 60,\r\n \"backupRetentionIntervalInHours\": 8,\r\n \"backupStorageRedundancy\": \"Geo\"\r\n }\r\n },\r\n \"networkAclBypassResourceIds\": []\r\n },\r\n \"identity\": {\r\n \"type\": \"None\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/resourceGroups/dox-staging/providers/Microsoft.DocumentDB/databaseAccounts/dox-stage-table5\",\r\n \"name\": \"dox-stage-table5\",\r\n \"location\": \"West US 2\",\r\n \"type\": \"Microsoft.DocumentDB/databaseAccounts\",\r\n \"kind\": \"GlobalDocumentDB\",\r\n \"tags\": {\r\n \"defaultExperience\": \"Azure Table\"\r\n },\r\n \"systemData\": {\r\n \"createdAt\": \"2019-06-07T00:02:59.5668686Z\"\r\n },\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"documentEndpoint\": \"https://dox-stage-table5.documents-staging.windows-ppe.net:443/\",\r\n \"tableEndpoint\": \"https://dox-stage-table5.table.cosmos.windows-ppe.net:443/\",\r\n \"publicNetworkAccess\": \"Enabled\",\r\n \"enableAutomaticFailover\": false,\r\n \"enableMultipleWriteLocations\": false,\r\n \"enablePartitionKeyMonitor\": false,\r\n \"isVirtualNetworkFilterEnabled\": false,\r\n \"virtualNetworkRules\": [],\r\n \"EnabledApiTypes\": \"Table, Sql\",\r\n \"disableKeyBasedMetadataWriteAccess\": false,\r\n \"enableFreeTier\": false,\r\n \"enableAnalyticalStorage\": false,\r\n \"analyticalStorageConfiguration\": null,\r\n \"instanceId\": \"786d954f-72a5-4987-93e4-abaa45e4ca59\",\r\n \"createMode\": \"Default\",\r\n \"databaseAccountOfferType\": \"Standard\",\r\n \"defaultIdentity\": \"\",\r\n \"networkAclBypass\": \"None\",\r\n \"consistencyPolicy\": {\r\n \"defaultConsistencyLevel\": \"BoundedStaleness\",\r\n \"maxIntervalInSeconds\": 86400,\r\n \"maxStalenessPrefix\": 1000000\r\n },\r\n \"configurationOverrides\": {},\r\n \"writeLocations\": [\r\n {\r\n \"id\": \"dox-stage-table5-westus2\",\r\n \"locationName\": \"West US 2\",\r\n \"documentEndpoint\": \"https://dox-stage-table5-westus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"readLocations\": [\r\n {\r\n \"id\": \"dox-stage-table5-westus2\",\r\n \"locationName\": \"West US 2\",\r\n \"documentEndpoint\": \"https://dox-stage-table5-westus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"locations\": [\r\n {\r\n \"id\": \"dox-stage-table5-westus2\",\r\n \"locationName\": \"West US 2\",\r\n \"documentEndpoint\": \"https://dox-stage-table5-westus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"failoverPolicies\": [\r\n {\r\n \"id\": \"dox-stage-table5-westus2\",\r\n \"locationName\": \"West US 2\",\r\n \"failoverPriority\": 0\r\n }\r\n ],\r\n \"cors\": [],\r\n \"capabilities\": [\r\n {\r\n \"name\": \"EnableTable\"\r\n }\r\n ],\r\n \"ipRules\": [],\r\n \"backupPolicy\": {\r\n \"type\": \"Periodic\",\r\n \"periodicModeProperties\": {\r\n \"backupIntervalInMinutes\": 240,\r\n \"backupRetentionIntervalInHours\": 8,\r\n \"backupStorageRedundancy\": \"Geo\"\r\n }\r\n },\r\n \"networkAclBypassResourceIds\": []\r\n },\r\n \"identity\": {\r\n \"type\": \"None\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/resourceGroups/analytics/providers/Microsoft.DocumentDB/databaseAccounts/fastschemainference\",\r\n \"name\": \"fastschemainference\",\r\n \"location\": \"West US 2\",\r\n \"type\": \"Microsoft.DocumentDB/databaseAccounts\",\r\n \"kind\": \"GlobalDocumentDB\",\r\n \"tags\": {},\r\n \"systemData\": {\r\n \"createdAt\": \"2019-10-29T21:59:44.1356993Z\"\r\n },\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"documentEndpoint\": \"https://fastschemainference.documents-staging.windows-ppe.net:443/\",\r\n \"publicNetworkAccess\": \"Enabled\",\r\n \"enableAutomaticFailover\": false,\r\n \"enableMultipleWriteLocations\": false,\r\n \"enablePartitionKeyMonitor\": false,\r\n \"isVirtualNetworkFilterEnabled\": false,\r\n \"virtualNetworkRules\": [],\r\n \"EnabledApiTypes\": \"Sql\",\r\n \"disableKeyBasedMetadataWriteAccess\": false,\r\n \"enableFreeTier\": false,\r\n \"enableAnalyticalStorage\": false,\r\n \"analyticalStorageConfiguration\": null,\r\n \"instanceId\": \"d1397fdb-4edd-40de-9c40-5c4b9e6d7b27\",\r\n \"createMode\": \"Default\",\r\n \"databaseAccountOfferType\": \"Standard\",\r\n \"enableCassandraConnector\": false,\r\n \"connectorOffer\": \"\",\r\n \"defaultIdentity\": \"\",\r\n \"networkAclBypass\": \"None\",\r\n \"consistencyPolicy\": {\r\n \"defaultConsistencyLevel\": \"Session\",\r\n \"maxIntervalInSeconds\": 5,\r\n \"maxStalenessPrefix\": 100\r\n },\r\n \"configurationOverrides\": {},\r\n \"writeLocations\": [\r\n {\r\n \"id\": \"fastschemainference-westus2\",\r\n \"locationName\": \"West US 2\",\r\n \"documentEndpoint\": \"https://fastschemainference-westus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"readLocations\": [\r\n {\r\n \"id\": \"fastschemainference-westus2\",\r\n \"locationName\": \"West US 2\",\r\n \"documentEndpoint\": \"https://fastschemainference-westus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"locations\": [\r\n {\r\n \"id\": \"fastschemainference-westus2\",\r\n \"locationName\": \"West US 2\",\r\n \"documentEndpoint\": \"https://fastschemainference-westus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"failoverPolicies\": [\r\n {\r\n \"id\": \"fastschemainference-westus2\",\r\n \"locationName\": \"West US 2\",\r\n \"failoverPriority\": 0\r\n }\r\n ],\r\n \"cors\": [],\r\n \"capabilities\": [\r\n {\r\n \"name\": \"EnableStorageAnalytics\"\r\n }\r\n ],\r\n \"ipRules\": [],\r\n \"backupPolicy\": {\r\n \"type\": \"Periodic\",\r\n \"periodicModeProperties\": {\r\n \"backupIntervalInMinutes\": 60,\r\n \"backupRetentionIntervalInHours\": 8,\r\n \"backupStorageRedundancy\": \"Geo\"\r\n }\r\n },\r\n \"networkAclBypassResourceIds\": []\r\n },\r\n \"identity\": {\r\n \"type\": \"None\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/resourceGroups/gremlin-staging/providers/Microsoft.DocumentDB/databaseAccounts/gremlinstagetest\",\r\n \"name\": \"gremlinstagetest\",\r\n \"location\": \"West US 2\",\r\n \"type\": \"Microsoft.DocumentDB/databaseAccounts\",\r\n \"kind\": \"GlobalDocumentDB\",\r\n \"tags\": {\r\n \"defaultExperience\": \"Gremlin (graph)\",\r\n \"hidden-cosmos-mmspecial\": \"\"\r\n },\r\n \"systemData\": {\r\n \"createdAt\": \"2020-01-09T18:21:44.55748Z\"\r\n },\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"documentEndpoint\": \"https://gremlinstagetest.documents-staging.windows-ppe.net:443/\",\r\n \"gremlinEndpoint\": \"https://gremlinstagetest.gremlin.cosmos.windows-ppe.net:443/\",\r\n \"publicNetworkAccess\": \"Enabled\",\r\n \"enableAutomaticFailover\": false,\r\n \"enableMultipleWriteLocations\": false,\r\n \"enablePartitionKeyMonitor\": false,\r\n \"isVirtualNetworkFilterEnabled\": false,\r\n \"virtualNetworkRules\": [],\r\n \"EnabledApiTypes\": \"Gremlin, Sql\",\r\n \"disableKeyBasedMetadataWriteAccess\": false,\r\n \"enableFreeTier\": false,\r\n \"enableAnalyticalStorage\": false,\r\n \"analyticalStorageConfiguration\": null,\r\n \"instanceId\": \"c48c110a-468b-41af-a31a-7c4e04c2423d\",\r\n \"createMode\": \"Default\",\r\n \"databaseAccountOfferType\": \"Standard\",\r\n \"enableCassandraConnector\": false,\r\n \"connectorOffer\": \"\",\r\n \"defaultIdentity\": \"\",\r\n \"networkAclBypass\": \"None\",\r\n \"consistencyPolicy\": {\r\n \"defaultConsistencyLevel\": \"Session\",\r\n \"maxIntervalInSeconds\": 5,\r\n \"maxStalenessPrefix\": 100\r\n },\r\n \"configurationOverrides\": {},\r\n \"writeLocations\": [\r\n {\r\n \"id\": \"gremlinstagetest-westus2\",\r\n \"locationName\": \"West US 2\",\r\n \"documentEndpoint\": \"https://gremlinstagetest-westus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"readLocations\": [\r\n {\r\n \"id\": \"gremlinstagetest-westus2\",\r\n \"locationName\": \"West US 2\",\r\n \"documentEndpoint\": \"https://gremlinstagetest-westus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"locations\": [\r\n {\r\n \"id\": \"gremlinstagetest-westus2\",\r\n \"locationName\": \"West US 2\",\r\n \"documentEndpoint\": \"https://gremlinstagetest-westus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"failoverPolicies\": [\r\n {\r\n \"id\": \"gremlinstagetest-westus2\",\r\n \"locationName\": \"West US 2\",\r\n \"failoverPriority\": 0\r\n }\r\n ],\r\n \"cors\": [],\r\n \"capabilities\": [\r\n {\r\n \"name\": \"EnableStorageAnalytics\"\r\n },\r\n {\r\n \"name\": \"EnableGremlin\"\r\n }\r\n ],\r\n \"ipRules\": [],\r\n \"backupPolicy\": {\r\n \"type\": \"Periodic\",\r\n \"periodicModeProperties\": {\r\n \"backupIntervalInMinutes\": 60,\r\n \"backupRetentionIntervalInHours\": 8,\r\n \"backupStorageRedundancy\": \"Geo\"\r\n }\r\n },\r\n \"networkAclBypassResourceIds\": []\r\n },\r\n \"identity\": {\r\n \"type\": \"None\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/resourceGroups/akash-cassandra-northcentralus-resource/providers/Microsoft.DocumentDB/databaseAccounts/harsudantest4\",\r\n \"name\": \"harsudantest4\",\r\n \"location\": \"West US 2\",\r\n \"type\": \"Microsoft.DocumentDB/databaseAccounts\",\r\n \"kind\": \"GlobalDocumentDB\",\r\n \"tags\": {\r\n \"defaultExperience\": \"DocumentDB\"\r\n },\r\n \"systemData\": {\r\n \"createdAt\": \"2018-09-16T19:03:06.6536698Z\"\r\n },\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"documentEndpoint\": \"https://harsudantest4.documents-staging.windows-ppe.net:443/\",\r\n \"publicNetworkAccess\": \"Enabled\",\r\n \"enableAutomaticFailover\": false,\r\n \"enableMultipleWriteLocations\": false,\r\n \"enablePartitionKeyMonitor\": false,\r\n \"isVirtualNetworkFilterEnabled\": false,\r\n \"virtualNetworkRules\": [],\r\n \"EnabledApiTypes\": \"Sql\",\r\n \"disableKeyBasedMetadataWriteAccess\": false,\r\n \"enableFreeTier\": false,\r\n \"enableAnalyticalStorage\": false,\r\n \"analyticalStorageConfiguration\": null,\r\n \"instanceId\": \"3c1eb306-f67c-4b37-bc59-74b57fd4c6a7\",\r\n \"createMode\": \"Default\",\r\n \"databaseAccountOfferType\": \"Standard\",\r\n \"defaultIdentity\": \"\",\r\n \"networkAclBypass\": \"None\",\r\n \"consistencyPolicy\": {\r\n \"defaultConsistencyLevel\": \"Session\",\r\n \"maxIntervalInSeconds\": 5,\r\n \"maxStalenessPrefix\": 100\r\n },\r\n \"configurationOverrides\": {},\r\n \"writeLocations\": [\r\n {\r\n \"id\": \"harsudantest4-westus2\",\r\n \"locationName\": \"West US 2\",\r\n \"documentEndpoint\": \"https://harsudantest4-westus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"readLocations\": [\r\n {\r\n \"id\": \"harsudantest4-westus2\",\r\n \"locationName\": \"West US 2\",\r\n \"documentEndpoint\": \"https://harsudantest4-westus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"locations\": [\r\n {\r\n \"id\": \"harsudantest4-westus2\",\r\n \"locationName\": \"West US 2\",\r\n \"documentEndpoint\": \"https://harsudantest4-westus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"failoverPolicies\": [\r\n {\r\n \"id\": \"harsudantest4-westus2\",\r\n \"locationName\": \"West US 2\",\r\n \"failoverPriority\": 0\r\n }\r\n ],\r\n \"cors\": [],\r\n \"capabilities\": [],\r\n \"ipRules\": [],\r\n \"backupPolicy\": {\r\n \"type\": \"Periodic\",\r\n \"periodicModeProperties\": {\r\n \"backupIntervalInMinutes\": 240,\r\n \"backupRetentionIntervalInHours\": 8,\r\n \"backupStorageRedundancy\": \"Geo\"\r\n }\r\n },\r\n \"networkAclBypassResourceIds\": []\r\n },\r\n \"identity\": {\r\n \"type\": \"None\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/resourceGroups/sivethe/providers/Microsoft.DocumentDB/databaseAccounts/jaganma-firstam-sql-integration\",\r\n \"name\": \"jaganma-firstam-sql-integration\",\r\n \"location\": \"West US 2\",\r\n \"type\": \"Microsoft.DocumentDB/databaseAccounts\",\r\n \"kind\": \"GlobalDocumentDB\",\r\n \"tags\": {\r\n \"defaultExperience\": \"Cassandra\"\r\n },\r\n \"systemData\": {\r\n \"createdAt\": \"2019-06-13T22:28:58.9268694Z\"\r\n },\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"documentEndpoint\": \"https://jaganma-firstam-sql-integration.documents-staging.windows-ppe.net:443/\",\r\n \"cassandraEndpoint\": \"https://jaganma-firstam-sql-integration.cassandra.cosmos.windows-ppe.net:443/\",\r\n \"publicNetworkAccess\": \"Enabled\",\r\n \"enableAutomaticFailover\": false,\r\n \"enableMultipleWriteLocations\": false,\r\n \"enablePartitionKeyMonitor\": false,\r\n \"isVirtualNetworkFilterEnabled\": false,\r\n \"virtualNetworkRules\": [],\r\n \"EnabledApiTypes\": \"Cassandra\",\r\n \"disableKeyBasedMetadataWriteAccess\": false,\r\n \"enableFreeTier\": false,\r\n \"enableAnalyticalStorage\": false,\r\n \"analyticalStorageConfiguration\": null,\r\n \"instanceId\": \"3b75ccc4-286f-40f9-9c0f-3e21b3a2c48e\",\r\n \"createMode\": \"Default\",\r\n \"databaseAccountOfferType\": \"Standard\",\r\n \"defaultIdentity\": \"\",\r\n \"networkAclBypass\": \"None\",\r\n \"consistencyPolicy\": {\r\n \"defaultConsistencyLevel\": \"Session\",\r\n \"maxIntervalInSeconds\": 5,\r\n \"maxStalenessPrefix\": 100\r\n },\r\n \"configurationOverrides\": {},\r\n \"writeLocations\": [\r\n {\r\n \"id\": \"jaganma-firstam-sql-integration-westus2\",\r\n \"locationName\": \"West US 2\",\r\n \"documentEndpoint\": \"https://jaganma-firstam-sql-integration-westus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"readLocations\": [\r\n {\r\n \"id\": \"jaganma-firstam-sql-integration-westus2\",\r\n \"locationName\": \"West US 2\",\r\n \"documentEndpoint\": \"https://jaganma-firstam-sql-integration-westus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"locations\": [\r\n {\r\n \"id\": \"jaganma-firstam-sql-integration-westus2\",\r\n \"locationName\": \"West US 2\",\r\n \"documentEndpoint\": \"https://jaganma-firstam-sql-integration-westus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"failoverPolicies\": [\r\n {\r\n \"id\": \"jaganma-firstam-sql-integration-westus2\",\r\n \"locationName\": \"West US 2\",\r\n \"failoverPriority\": 0\r\n }\r\n ],\r\n \"cors\": [],\r\n \"capabilities\": [\r\n {\r\n \"name\": \"EnableCassandra\"\r\n }\r\n ],\r\n \"ipRules\": [],\r\n \"backupPolicy\": {\r\n \"type\": \"Periodic\",\r\n \"periodicModeProperties\": {\r\n \"backupIntervalInMinutes\": 240,\r\n \"backupRetentionIntervalInHours\": 8,\r\n \"backupStorageRedundancy\": \"Geo\"\r\n }\r\n },\r\n \"networkAclBypassResourceIds\": []\r\n },\r\n \"identity\": {\r\n \"type\": \"None\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/resourceGroups/jmondal-stg/providers/Microsoft.DocumentDB/databaseAccounts/jmondal-gremlin-stage\",\r\n \"name\": \"jmondal-gremlin-stage\",\r\n \"location\": \"West US 2\",\r\n \"type\": \"Microsoft.DocumentDB/databaseAccounts\",\r\n \"kind\": \"GlobalDocumentDB\",\r\n \"tags\": {\r\n \"defaultExperience\": \"Gremlin (graph)\"\r\n },\r\n \"systemData\": {\r\n \"createdAt\": \"2019-07-31T21:41:21.7266024Z\"\r\n },\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"documentEndpoint\": \"https://jmondal-gremlin-stage.documents-staging.windows-ppe.net:443/\",\r\n \"gremlinEndpoint\": \"https://jmondal-gremlin-stage.gremlin.cosmos.windows-ppe.net:443/\",\r\n \"publicNetworkAccess\": \"Enabled\",\r\n \"enableAutomaticFailover\": false,\r\n \"enableMultipleWriteLocations\": false,\r\n \"enablePartitionKeyMonitor\": false,\r\n \"isVirtualNetworkFilterEnabled\": false,\r\n \"virtualNetworkRules\": [],\r\n \"EnabledApiTypes\": \"Gremlin, Sql\",\r\n \"disableKeyBasedMetadataWriteAccess\": false,\r\n \"enableFreeTier\": false,\r\n \"enableAnalyticalStorage\": true,\r\n \"analyticalStorageConfiguration\": null,\r\n \"instanceId\": \"520ae4c5-a208-4c59-8d28-afed6d2fc162\",\r\n \"createMode\": \"Default\",\r\n \"databaseAccountOfferType\": \"Standard\",\r\n \"enableCassandraConnector\": false,\r\n \"connectorOffer\": \"\",\r\n \"defaultIdentity\": \"\",\r\n \"networkAclBypass\": \"None\",\r\n \"consistencyPolicy\": {\r\n \"defaultConsistencyLevel\": \"Session\",\r\n \"maxIntervalInSeconds\": 5,\r\n \"maxStalenessPrefix\": 100\r\n },\r\n \"configurationOverrides\": {},\r\n \"writeLocations\": [\r\n {\r\n \"id\": \"jmondal-gremlin-stage-westus2\",\r\n \"locationName\": \"West US 2\",\r\n \"documentEndpoint\": \"https://jmondal-gremlin-stage-westus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"readLocations\": [\r\n {\r\n \"id\": \"jmondal-gremlin-stage-westus2\",\r\n \"locationName\": \"West US 2\",\r\n \"documentEndpoint\": \"https://jmondal-gremlin-stage-westus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"locations\": [\r\n {\r\n \"id\": \"jmondal-gremlin-stage-westus2\",\r\n \"locationName\": \"West US 2\",\r\n \"documentEndpoint\": \"https://jmondal-gremlin-stage-westus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"failoverPolicies\": [\r\n {\r\n \"id\": \"jmondal-gremlin-stage-westus2\",\r\n \"locationName\": \"West US 2\",\r\n \"failoverPriority\": 0\r\n }\r\n ],\r\n \"cors\": [],\r\n \"capabilities\": [\r\n {\r\n \"name\": \"EnableGremlin\"\r\n }\r\n ],\r\n \"ipRules\": [],\r\n \"backupPolicy\": {\r\n \"type\": \"Periodic\",\r\n \"periodicModeProperties\": {\r\n \"backupIntervalInMinutes\": 240,\r\n \"backupRetentionIntervalInHours\": 8,\r\n \"backupStorageRedundancy\": \"Geo\"\r\n }\r\n },\r\n \"networkAclBypassResourceIds\": []\r\n },\r\n \"identity\": {\r\n \"type\": \"None\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/resourceGroups/kristynh/providers/Microsoft.DocumentDB/databaseAccounts/kristynh\",\r\n \"name\": \"kristynh\",\r\n \"location\": \"West US 2\",\r\n \"type\": \"Microsoft.DocumentDB/databaseAccounts\",\r\n \"kind\": \"GlobalDocumentDB\",\r\n \"tags\": {\r\n \"defaultExperience\": \"Core (SQL)\",\r\n \"hidden-cosmos-mmspecial\": \"\",\r\n \"CosmosAccountType\": \"Non-Production\"\r\n },\r\n \"systemData\": {\r\n \"createdAt\": \"2020-09-11T23:39:57.9708005Z\"\r\n },\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"documentEndpoint\": \"https://kristynh.documents-staging.windows-ppe.net:443/\",\r\n \"publicNetworkAccess\": \"Enabled\",\r\n \"enableAutomaticFailover\": false,\r\n \"enableMultipleWriteLocations\": false,\r\n \"enablePartitionKeyMonitor\": false,\r\n \"isVirtualNetworkFilterEnabled\": false,\r\n \"virtualNetworkRules\": [],\r\n \"EnabledApiTypes\": \"Sql\",\r\n \"disableKeyBasedMetadataWriteAccess\": false,\r\n \"enableFreeTier\": false,\r\n \"enableAnalyticalStorage\": false,\r\n \"analyticalStorageConfiguration\": null,\r\n \"instanceId\": \"48999b9a-5926-4205-96a6-102f331f2ea4\",\r\n \"createMode\": \"Default\",\r\n \"databaseAccountOfferType\": \"Standard\",\r\n \"enableCassandraConnector\": false,\r\n \"connectorOffer\": \"\",\r\n \"defaultIdentity\": \"\",\r\n \"networkAclBypass\": \"None\",\r\n \"consistencyPolicy\": {\r\n \"defaultConsistencyLevel\": \"Session\",\r\n \"maxIntervalInSeconds\": 5,\r\n \"maxStalenessPrefix\": 100\r\n },\r\n \"configurationOverrides\": {},\r\n \"writeLocations\": [\r\n {\r\n \"id\": \"kristynh-westus2\",\r\n \"locationName\": \"West US 2\",\r\n \"documentEndpoint\": \"https://kristynh-westus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"readLocations\": [\r\n {\r\n \"id\": \"kristynh-westus2\",\r\n \"locationName\": \"West US 2\",\r\n \"documentEndpoint\": \"https://kristynh-westus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"locations\": [\r\n {\r\n \"id\": \"kristynh-westus2\",\r\n \"locationName\": \"West US 2\",\r\n \"documentEndpoint\": \"https://kristynh-westus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"failoverPolicies\": [\r\n {\r\n \"id\": \"kristynh-westus2\",\r\n \"locationName\": \"West US 2\",\r\n \"failoverPriority\": 0\r\n }\r\n ],\r\n \"cors\": [],\r\n \"capabilities\": [],\r\n \"ipRules\": [],\r\n \"backupPolicy\": {\r\n \"type\": \"Periodic\",\r\n \"periodicModeProperties\": {\r\n \"backupIntervalInMinutes\": 240,\r\n \"backupRetentionIntervalInHours\": 8,\r\n \"backupStorageRedundancy\": \"Geo\"\r\n }\r\n },\r\n \"networkAclBypassResourceIds\": []\r\n },\r\n \"identity\": {\r\n \"type\": \"None\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/resourceGroups/jasontho/providers/Microsoft.DocumentDB/databaseAccounts/mongo-stage-signoff-rl\",\r\n \"name\": \"mongo-stage-signoff-rl\",\r\n \"location\": \"West US 2\",\r\n \"type\": \"Microsoft.DocumentDB/databaseAccounts\",\r\n \"kind\": \"MongoDB\",\r\n \"tags\": {\r\n \"defaultExperience\": \"Azure Cosmos DB for MongoDB API\",\r\n \"hidden-cosmos-mmspecial\": \"\"\r\n },\r\n \"systemData\": {\r\n \"createdAt\": \"2020-02-14T01:00:30.0218379Z\"\r\n },\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"documentEndpoint\": \"https://mongo-stage-signoff-rl.documents-staging.windows-ppe.net:443/\",\r\n \"mongoEndpoint\": \"https://mongo-stage-signoff-rl.mongo.cosmos.windows-ppe.net:443/\",\r\n \"publicNetworkAccess\": \"Enabled\",\r\n \"enableAutomaticFailover\": false,\r\n \"enableMultipleWriteLocations\": false,\r\n \"enablePartitionKeyMonitor\": false,\r\n \"isVirtualNetworkFilterEnabled\": false,\r\n \"virtualNetworkRules\": [],\r\n \"EnabledApiTypes\": \"MongoDB\",\r\n \"disableKeyBasedMetadataWriteAccess\": false,\r\n \"enableFreeTier\": false,\r\n \"enableAnalyticalStorage\": false,\r\n \"analyticalStorageConfiguration\": null,\r\n \"instanceId\": \"8a03998d-d046-4fd7-b217-a1ca75a43c56\",\r\n \"createMode\": \"Default\",\r\n \"databaseAccountOfferType\": \"Standard\",\r\n \"enableCassandraConnector\": false,\r\n \"connectorOffer\": \"\",\r\n \"defaultIdentity\": \"\",\r\n \"networkAclBypass\": \"None\",\r\n \"consistencyPolicy\": {\r\n \"defaultConsistencyLevel\": \"Session\",\r\n \"maxIntervalInSeconds\": 5,\r\n \"maxStalenessPrefix\": 100\r\n },\r\n \"apiProperties\": {\r\n \"serverVersion\": \"3.6\"\r\n },\r\n \"configurationOverrides\": {\r\n \"EnableBsonSchema\": \"True\"\r\n },\r\n \"writeLocations\": [\r\n {\r\n \"id\": \"mongo-stage-signoff-rl-westus2\",\r\n \"locationName\": \"West US 2\",\r\n \"documentEndpoint\": \"https://mongo-stage-signoff-rl-westus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"readLocations\": [\r\n {\r\n \"id\": \"mongo-stage-signoff-rl-westus2\",\r\n \"locationName\": \"West US 2\",\r\n \"documentEndpoint\": \"https://mongo-stage-signoff-rl-westus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"locations\": [\r\n {\r\n \"id\": \"mongo-stage-signoff-rl-westus2\",\r\n \"locationName\": \"West US 2\",\r\n \"documentEndpoint\": \"https://mongo-stage-signoff-rl-westus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"failoverPolicies\": [\r\n {\r\n \"id\": \"mongo-stage-signoff-rl-westus2\",\r\n \"locationName\": \"West US 2\",\r\n \"failoverPriority\": 0\r\n }\r\n ],\r\n \"cors\": [],\r\n \"capabilities\": [\r\n {\r\n \"name\": \"EnableStorageAnalytics\"\r\n },\r\n {\r\n \"name\": \"EnableMongo\"\r\n }\r\n ],\r\n \"ipRules\": [],\r\n \"backupPolicy\": {\r\n \"type\": \"Periodic\",\r\n \"periodicModeProperties\": {\r\n \"backupIntervalInMinutes\": 60,\r\n \"backupRetentionIntervalInHours\": 8,\r\n \"backupStorageRedundancy\": \"Geo\"\r\n }\r\n },\r\n \"networkAclBypassResourceIds\": []\r\n },\r\n \"identity\": {\r\n \"type\": \"None\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/resourceGroups/sivethe/providers/Microsoft.DocumentDB/databaseAccounts/mongooncompute-1\",\r\n \"name\": \"mongooncompute-1\",\r\n \"location\": \"West US 2\",\r\n \"type\": \"Microsoft.DocumentDB/databaseAccounts\",\r\n \"kind\": \"MongoDB\",\r\n \"tags\": {\r\n \"defaultExperience\": \"Azure Cosmos DB for MongoDB API\"\r\n },\r\n \"systemData\": {\r\n \"createdAt\": \"2019-08-06T17:43:11.1944572Z\"\r\n },\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"documentEndpoint\": \"https://mongooncompute-1.documents-staging.windows-ppe.net:443/\",\r\n \"mongoEndpoint\": \"https://mongooncompute-1.mongo.cosmos.windows-ppe.net:443/\",\r\n \"publicNetworkAccess\": \"Enabled\",\r\n \"enableAutomaticFailover\": false,\r\n \"enableMultipleWriteLocations\": false,\r\n \"enablePartitionKeyMonitor\": false,\r\n \"isVirtualNetworkFilterEnabled\": false,\r\n \"virtualNetworkRules\": [],\r\n \"EnabledApiTypes\": \"MongoDB\",\r\n \"disableKeyBasedMetadataWriteAccess\": false,\r\n \"enableFreeTier\": false,\r\n \"enableAnalyticalStorage\": false,\r\n \"analyticalStorageConfiguration\": null,\r\n \"instanceId\": \"b80a9bf2-fb5b-4718-a63f-a100c68e782d\",\r\n \"createMode\": \"Default\",\r\n \"databaseAccountOfferType\": \"Standard\",\r\n \"enableCassandraConnector\": false,\r\n \"connectorOffer\": \"\",\r\n \"defaultIdentity\": \"\",\r\n \"networkAclBypass\": \"None\",\r\n \"consistencyPolicy\": {\r\n \"defaultConsistencyLevel\": \"Session\",\r\n \"maxIntervalInSeconds\": 5,\r\n \"maxStalenessPrefix\": 100\r\n },\r\n \"apiProperties\": {\r\n \"serverVersion\": \"3.6\"\r\n },\r\n \"configurationOverrides\": {\r\n \"EnableBsonSchema\": \"True\"\r\n },\r\n \"writeLocations\": [\r\n {\r\n \"id\": \"mongooncompute-1-westus2\",\r\n \"locationName\": \"West US 2\",\r\n \"documentEndpoint\": \"https://mongooncompute-1-westus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"readLocations\": [\r\n {\r\n \"id\": \"mongooncompute-1-westus2\",\r\n \"locationName\": \"West US 2\",\r\n \"documentEndpoint\": \"https://mongooncompute-1-westus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"locations\": [\r\n {\r\n \"id\": \"mongooncompute-1-westus2\",\r\n \"locationName\": \"West US 2\",\r\n \"documentEndpoint\": \"https://mongooncompute-1-westus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"failoverPolicies\": [\r\n {\r\n \"id\": \"mongooncompute-1-westus2\",\r\n \"locationName\": \"West US 2\",\r\n \"failoverPriority\": 0\r\n }\r\n ],\r\n \"cors\": [],\r\n \"capabilities\": [\r\n {\r\n \"name\": \"EnableMongo\"\r\n }\r\n ],\r\n \"ipRules\": [],\r\n \"backupPolicy\": {\r\n \"type\": \"Periodic\",\r\n \"periodicModeProperties\": {\r\n \"backupIntervalInMinutes\": 240,\r\n \"backupRetentionIntervalInHours\": 8,\r\n \"backupStorageRedundancy\": \"Geo\"\r\n }\r\n },\r\n \"networkAclBypassResourceIds\": []\r\n },\r\n \"identity\": {\r\n \"type\": \"None\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/resourceGroups/nitesh-resource/providers/Microsoft.DocumentDB/databaseAccounts/nitesh-cri2-162282720\",\r\n \"name\": \"nitesh-cri2-162282720\",\r\n \"location\": \"West US 2\",\r\n \"type\": \"Microsoft.DocumentDB/databaseAccounts\",\r\n \"kind\": \"GlobalDocumentDB\",\r\n \"tags\": {\r\n \"defaultExperience\": \"Core (SQL)\",\r\n \"hidden-cosmos-mmspecial\": \"\"\r\n },\r\n \"systemData\": {\r\n \"createdAt\": \"2019-12-19T09:13:47.9132616Z\"\r\n },\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"documentEndpoint\": \"https://nitesh-cri2-162282720.documents-staging.windows-ppe.net:443/\",\r\n \"publicNetworkAccess\": \"Enabled\",\r\n \"enableAutomaticFailover\": false,\r\n \"enableMultipleWriteLocations\": false,\r\n \"enablePartitionKeyMonitor\": false,\r\n \"isVirtualNetworkFilterEnabled\": false,\r\n \"virtualNetworkRules\": [],\r\n \"EnabledApiTypes\": \"Sql\",\r\n \"disableKeyBasedMetadataWriteAccess\": false,\r\n \"enableFreeTier\": false,\r\n \"enableAnalyticalStorage\": false,\r\n \"analyticalStorageConfiguration\": null,\r\n \"instanceId\": \"78b42ade-0afe-42cf-a16c-98522d1f5e72\",\r\n \"createMode\": \"Default\",\r\n \"databaseAccountOfferType\": \"Standard\",\r\n \"enableCassandraConnector\": false,\r\n \"connectorOffer\": \"\",\r\n \"defaultIdentity\": \"\",\r\n \"networkAclBypass\": \"None\",\r\n \"consistencyPolicy\": {\r\n \"defaultConsistencyLevel\": \"Session\",\r\n \"maxIntervalInSeconds\": 5,\r\n \"maxStalenessPrefix\": 100\r\n },\r\n \"configurationOverrides\": {},\r\n \"writeLocations\": [\r\n {\r\n \"id\": \"nitesh-cri2-162282720-westus2\",\r\n \"locationName\": \"West US 2\",\r\n \"documentEndpoint\": \"https://nitesh-cri2-162282720-westus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"readLocations\": [\r\n {\r\n \"id\": \"nitesh-cri2-162282720-westus2\",\r\n \"locationName\": \"West US 2\",\r\n \"documentEndpoint\": \"https://nitesh-cri2-162282720-westus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"locations\": [\r\n {\r\n \"id\": \"nitesh-cri2-162282720-westus2\",\r\n \"locationName\": \"West US 2\",\r\n \"documentEndpoint\": \"https://nitesh-cri2-162282720-westus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"failoverPolicies\": [\r\n {\r\n \"id\": \"nitesh-cri2-162282720-westus2\",\r\n \"locationName\": \"West US 2\",\r\n \"failoverPriority\": 0\r\n }\r\n ],\r\n \"cors\": [],\r\n \"capabilities\": [\r\n {\r\n \"name\": \"EnableStorageAnalytics\"\r\n }\r\n ],\r\n \"ipRules\": [],\r\n \"backupPolicy\": {\r\n \"type\": \"Periodic\",\r\n \"periodicModeProperties\": {\r\n \"backupIntervalInMinutes\": 60,\r\n \"backupRetentionIntervalInHours\": 8,\r\n \"backupStorageRedundancy\": \"Geo\"\r\n }\r\n },\r\n \"networkAclBypassResourceIds\": []\r\n },\r\n \"identity\": {\r\n \"type\": \"None\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/resourceGroups/analytics/providers/Microsoft.DocumentDB/databaseAccounts/nologstore\",\r\n \"name\": \"nologstore\",\r\n \"location\": \"West US 2\",\r\n \"type\": \"Microsoft.DocumentDB/databaseAccounts\",\r\n \"kind\": \"GlobalDocumentDB\",\r\n \"tags\": {},\r\n \"systemData\": {\r\n \"createdAt\": \"2019-10-31T17:12:33.4690111Z\"\r\n },\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"documentEndpoint\": \"https://nologstore.documents-staging.windows-ppe.net:443/\",\r\n \"publicNetworkAccess\": \"Enabled\",\r\n \"enableAutomaticFailover\": false,\r\n \"enableMultipleWriteLocations\": false,\r\n \"enablePartitionKeyMonitor\": false,\r\n \"isVirtualNetworkFilterEnabled\": false,\r\n \"virtualNetworkRules\": [],\r\n \"EnabledApiTypes\": \"Sql\",\r\n \"disableKeyBasedMetadataWriteAccess\": false,\r\n \"enableFreeTier\": false,\r\n \"enableAnalyticalStorage\": false,\r\n \"analyticalStorageConfiguration\": null,\r\n \"instanceId\": \"a068ee4f-b3ab-4b63-8ff3-895d6d57be95\",\r\n \"createMode\": \"Default\",\r\n \"databaseAccountOfferType\": \"Standard\",\r\n \"enableCassandraConnector\": false,\r\n \"connectorOffer\": \"\",\r\n \"defaultIdentity\": \"\",\r\n \"networkAclBypass\": \"None\",\r\n \"consistencyPolicy\": {\r\n \"defaultConsistencyLevel\": \"Session\",\r\n \"maxIntervalInSeconds\": 5,\r\n \"maxStalenessPrefix\": 100\r\n },\r\n \"configurationOverrides\": {},\r\n \"writeLocations\": [\r\n {\r\n \"id\": \"nologstore-westus2\",\r\n \"locationName\": \"West US 2\",\r\n \"documentEndpoint\": \"https://nologstore-westus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"readLocations\": [\r\n {\r\n \"id\": \"nologstore-westus2\",\r\n \"locationName\": \"West US 2\",\r\n \"documentEndpoint\": \"https://nologstore-westus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"locations\": [\r\n {\r\n \"id\": \"nologstore-westus2\",\r\n \"locationName\": \"West US 2\",\r\n \"documentEndpoint\": \"https://nologstore-westus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"failoverPolicies\": [\r\n {\r\n \"id\": \"nologstore-westus2\",\r\n \"locationName\": \"West US 2\",\r\n \"failoverPriority\": 0\r\n }\r\n ],\r\n \"cors\": [],\r\n \"capabilities\": [],\r\n \"ipRules\": [],\r\n \"backupPolicy\": {\r\n \"type\": \"Periodic\",\r\n \"periodicModeProperties\": {\r\n \"backupIntervalInMinutes\": 60,\r\n \"backupRetentionIntervalInHours\": 8,\r\n \"backupStorageRedundancy\": \"Geo\"\r\n }\r\n },\r\n \"networkAclBypassResourceIds\": []\r\n },\r\n \"identity\": {\r\n \"type\": \"None\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/resourceGroups/olignattestrg321/providers/Microsoft.DocumentDB/databaseAccounts/olignattestcassandrawus2\",\r\n \"name\": \"olignattestcassandrawus2\",\r\n \"location\": \"West US 2\",\r\n \"type\": \"Microsoft.DocumentDB/databaseAccounts\",\r\n \"kind\": \"GlobalDocumentDB\",\r\n \"tags\": {\r\n \"defaultExperience\": \"Cassandra\"\r\n },\r\n \"systemData\": {\r\n \"createdAt\": \"2019-01-25T18:14:40.2725177Z\"\r\n },\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"documentEndpoint\": \"https://olignattestcassandrawus2.documents-staging.windows-ppe.net:443/\",\r\n \"cassandraEndpoint\": \"https://olignattestcassandrawus2.cassandra.cosmos.windows-ppe.net:443/\",\r\n \"publicNetworkAccess\": \"Enabled\",\r\n \"enableAutomaticFailover\": false,\r\n \"enableMultipleWriteLocations\": true,\r\n \"enablePartitionKeyMonitor\": false,\r\n \"isVirtualNetworkFilterEnabled\": false,\r\n \"virtualNetworkRules\": [],\r\n \"EnabledApiTypes\": \"Cassandra\",\r\n \"disableKeyBasedMetadataWriteAccess\": false,\r\n \"enableFreeTier\": false,\r\n \"enableAnalyticalStorage\": false,\r\n \"analyticalStorageConfiguration\": null,\r\n \"instanceId\": \"91eb3fe8-e9fd-4c86-ae8f-7109b7beb3fc\",\r\n \"createMode\": \"Default\",\r\n \"databaseAccountOfferType\": \"Standard\",\r\n \"defaultIdentity\": \"\",\r\n \"networkAclBypass\": \"None\",\r\n \"consistencyPolicy\": {\r\n \"defaultConsistencyLevel\": \"Session\",\r\n \"maxIntervalInSeconds\": 5,\r\n \"maxStalenessPrefix\": 100\r\n },\r\n \"configurationOverrides\": {},\r\n \"writeLocations\": [\r\n {\r\n \"id\": \"olignattestcassandrawus2-westus2\",\r\n \"locationName\": \"West US 2\",\r\n \"documentEndpoint\": \"https://olignattestcassandrawus2-westus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"readLocations\": [\r\n {\r\n \"id\": \"olignattestcassandrawus2-westus2\",\r\n \"locationName\": \"West US 2\",\r\n \"documentEndpoint\": \"https://olignattestcassandrawus2-westus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"locations\": [\r\n {\r\n \"id\": \"olignattestcassandrawus2-westus2\",\r\n \"locationName\": \"West US 2\",\r\n \"documentEndpoint\": \"https://olignattestcassandrawus2-westus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"failoverPolicies\": [\r\n {\r\n \"id\": \"olignattestcassandrawus2-westus2\",\r\n \"locationName\": \"West US 2\",\r\n \"failoverPriority\": 0\r\n }\r\n ],\r\n \"cors\": [],\r\n \"capabilities\": [\r\n {\r\n \"name\": \"EnableCassandra\"\r\n }\r\n ],\r\n \"ipRules\": [\r\n {\r\n \"ipAddressOrRange\": \"104.42.195.92\"\r\n },\r\n {\r\n \"ipAddressOrRange\": \"40.76.54.131\"\r\n },\r\n {\r\n \"ipAddressOrRange\": \"52.176.6.30\"\r\n },\r\n {\r\n \"ipAddressOrRange\": \"52.169.50.45\"\r\n },\r\n {\r\n \"ipAddressOrRange\": \"52.187.184.26\"\r\n }\r\n ],\r\n \"backupPolicy\": {\r\n \"type\": \"Periodic\",\r\n \"periodicModeProperties\": {\r\n \"backupIntervalInMinutes\": 240,\r\n \"backupRetentionIntervalInHours\": 8,\r\n \"backupStorageRedundancy\": \"Geo\"\r\n }\r\n },\r\n \"networkAclBypassResourceIds\": []\r\n },\r\n \"identity\": {\r\n \"type\": \"None\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/resourceGroups/jihmmtest/providers/Microsoft.DocumentDB/databaseAccounts/qwwetr12356\",\r\n \"name\": \"qwwetr12356\",\r\n \"location\": \"West US 2\",\r\n \"type\": \"Microsoft.DocumentDB/databaseAccounts\",\r\n \"kind\": \"GlobalDocumentDB\",\r\n \"tags\": {\r\n \"defaultExperience\": \"Core (SQL)\"\r\n },\r\n \"systemData\": {\r\n \"createdAt\": \"2019-10-08T01:11:04.1346455Z\"\r\n },\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"documentEndpoint\": \"https://qwwetr12356.documents-staging.windows-ppe.net:443/\",\r\n \"publicNetworkAccess\": \"Enabled\",\r\n \"enableAutomaticFailover\": false,\r\n \"enableMultipleWriteLocations\": true,\r\n \"enablePartitionKeyMonitor\": false,\r\n \"isVirtualNetworkFilterEnabled\": false,\r\n \"virtualNetworkRules\": [],\r\n \"EnabledApiTypes\": \"Sql\",\r\n \"disableKeyBasedMetadataWriteAccess\": false,\r\n \"enableFreeTier\": false,\r\n \"enableAnalyticalStorage\": false,\r\n \"analyticalStorageConfiguration\": null,\r\n \"instanceId\": \"c1a7210b-03ec-4440-8cba-2c3f4e776291\",\r\n \"createMode\": \"Default\",\r\n \"databaseAccountOfferType\": \"Standard\",\r\n \"enableCassandraConnector\": false,\r\n \"connectorOffer\": \"\",\r\n \"defaultIdentity\": \"\",\r\n \"networkAclBypass\": \"None\",\r\n \"consistencyPolicy\": {\r\n \"defaultConsistencyLevel\": \"Session\",\r\n \"maxIntervalInSeconds\": 5,\r\n \"maxStalenessPrefix\": 100\r\n },\r\n \"configurationOverrides\": {},\r\n \"writeLocations\": [\r\n {\r\n \"id\": \"qwwetr12356-westus2\",\r\n \"locationName\": \"West US 2\",\r\n \"documentEndpoint\": \"https://qwwetr12356-westus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"readLocations\": [\r\n {\r\n \"id\": \"qwwetr12356-westus2\",\r\n \"locationName\": \"West US 2\",\r\n \"documentEndpoint\": \"https://qwwetr12356-westus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"locations\": [\r\n {\r\n \"id\": \"qwwetr12356-westus2\",\r\n \"locationName\": \"West US 2\",\r\n \"documentEndpoint\": \"https://qwwetr12356-westus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"failoverPolicies\": [\r\n {\r\n \"id\": \"qwwetr12356-westus2\",\r\n \"locationName\": \"West US 2\",\r\n \"failoverPriority\": 0\r\n }\r\n ],\r\n \"cors\": [],\r\n \"capabilities\": [],\r\n \"ipRules\": [],\r\n \"backupPolicy\": {\r\n \"type\": \"Periodic\",\r\n \"periodicModeProperties\": {\r\n \"backupIntervalInMinutes\": 60,\r\n \"backupRetentionIntervalInHours\": 8,\r\n \"backupStorageRedundancy\": \"Geo\"\r\n }\r\n },\r\n \"networkAclBypassResourceIds\": []\r\n },\r\n \"identity\": {\r\n \"type\": \"None\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/resourceGroups/ragil/providers/Microsoft.DocumentDB/databaseAccounts/ragil-stage\",\r\n \"name\": \"ragil-stage\",\r\n \"location\": \"West US 2\",\r\n \"type\": \"Microsoft.DocumentDB/databaseAccounts\",\r\n \"kind\": \"GlobalDocumentDB\",\r\n \"tags\": {\r\n \"defaultExperience\": \"Core (SQL)\",\r\n \"hidden-cosmos-mmspecial\": \"\",\r\n \"CosmosAccountType\": \"Non-Production\"\r\n },\r\n \"systemData\": {\r\n \"createdAt\": \"2020-06-03T01:05:53.3507672Z\"\r\n },\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"documentEndpoint\": \"https://ragil-stage.documents-staging.windows-ppe.net:443/\",\r\n \"publicNetworkAccess\": \"Enabled\",\r\n \"enableAutomaticFailover\": false,\r\n \"enableMultipleWriteLocations\": false,\r\n \"enablePartitionKeyMonitor\": false,\r\n \"isVirtualNetworkFilterEnabled\": false,\r\n \"virtualNetworkRules\": [],\r\n \"EnabledApiTypes\": \"Sql\",\r\n \"disableKeyBasedMetadataWriteAccess\": false,\r\n \"enableFreeTier\": false,\r\n \"enableAnalyticalStorage\": false,\r\n \"analyticalStorageConfiguration\": null,\r\n \"instanceId\": \"1597cc97-59e2-4c65-82c4-8d2381d761e8\",\r\n \"createMode\": \"Default\",\r\n \"databaseAccountOfferType\": \"Standard\",\r\n \"enableCassandraConnector\": false,\r\n \"connectorOffer\": \"\",\r\n \"defaultIdentity\": \"\",\r\n \"networkAclBypass\": \"None\",\r\n \"consistencyPolicy\": {\r\n \"defaultConsistencyLevel\": \"Session\",\r\n \"maxIntervalInSeconds\": 5,\r\n \"maxStalenessPrefix\": 100\r\n },\r\n \"configurationOverrides\": {},\r\n \"writeLocations\": [\r\n {\r\n \"id\": \"ragil-stage-westus2\",\r\n \"locationName\": \"West US 2\",\r\n \"documentEndpoint\": \"https://ragil-stage-westus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"readLocations\": [\r\n {\r\n \"id\": \"ragil-stage-westus2\",\r\n \"locationName\": \"West US 2\",\r\n \"documentEndpoint\": \"https://ragil-stage-westus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"locations\": [\r\n {\r\n \"id\": \"ragil-stage-westus2\",\r\n \"locationName\": \"West US 2\",\r\n \"documentEndpoint\": \"https://ragil-stage-westus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"failoverPolicies\": [\r\n {\r\n \"id\": \"ragil-stage-westus2\",\r\n \"locationName\": \"West US 2\",\r\n \"failoverPriority\": 0\r\n }\r\n ],\r\n \"cors\": [],\r\n \"capabilities\": [],\r\n \"ipRules\": [],\r\n \"backupPolicy\": {\r\n \"type\": \"Periodic\",\r\n \"periodicModeProperties\": {\r\n \"backupIntervalInMinutes\": 60,\r\n \"backupRetentionIntervalInHours\": 8,\r\n \"backupStorageRedundancy\": \"Geo\"\r\n }\r\n },\r\n \"networkAclBypassResourceIds\": []\r\n },\r\n \"identity\": {\r\n \"type\": \"None\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/resourceGroups/ragil/providers/Microsoft.DocumentDB/databaseAccounts/ragil-tablesapi\",\r\n \"name\": \"ragil-tablesapi\",\r\n \"location\": \"West US 2\",\r\n \"type\": \"Microsoft.DocumentDB/databaseAccounts\",\r\n \"kind\": \"GlobalDocumentDB\",\r\n \"tags\": {\r\n \"defaultExperience\": \"Azure Table\",\r\n \"hidden-cosmos-mmspecial\": \"\",\r\n \"CosmosAccountType\": \"Non-Production\"\r\n },\r\n \"systemData\": {\r\n \"createdAt\": \"2020-09-08T19:56:56.3429741Z\"\r\n },\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"documentEndpoint\": \"https://ragil-tablesapi.documents-staging.windows-ppe.net:443/\",\r\n \"tableEndpoint\": \"https://ragil-tablesapi.table.cosmos.windows-ppe.net:443/\",\r\n \"publicNetworkAccess\": \"Enabled\",\r\n \"enableAutomaticFailover\": false,\r\n \"enableMultipleWriteLocations\": false,\r\n \"enablePartitionKeyMonitor\": false,\r\n \"isVirtualNetworkFilterEnabled\": false,\r\n \"virtualNetworkRules\": [],\r\n \"EnabledApiTypes\": \"Table, Sql\",\r\n \"disableKeyBasedMetadataWriteAccess\": false,\r\n \"enableFreeTier\": false,\r\n \"enableAnalyticalStorage\": false,\r\n \"analyticalStorageConfiguration\": null,\r\n \"instanceId\": \"a9f110f9-cc98-40a5-b9b9-e1c713b19703\",\r\n \"createMode\": \"Default\",\r\n \"databaseAccountOfferType\": \"Standard\",\r\n \"enableCassandraConnector\": false,\r\n \"connectorOffer\": \"\",\r\n \"defaultIdentity\": \"\",\r\n \"networkAclBypass\": \"None\",\r\n \"consistencyPolicy\": {\r\n \"defaultConsistencyLevel\": \"BoundedStaleness\",\r\n \"maxIntervalInSeconds\": 86400,\r\n \"maxStalenessPrefix\": 1000000\r\n },\r\n \"configurationOverrides\": {},\r\n \"writeLocations\": [\r\n {\r\n \"id\": \"ragil-tablesapi-westus2\",\r\n \"locationName\": \"West US 2\",\r\n \"documentEndpoint\": \"https://ragil-tablesapi-westus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"readLocations\": [\r\n {\r\n \"id\": \"ragil-tablesapi-westus2\",\r\n \"locationName\": \"West US 2\",\r\n \"documentEndpoint\": \"https://ragil-tablesapi-westus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"locations\": [\r\n {\r\n \"id\": \"ragil-tablesapi-westus2\",\r\n \"locationName\": \"West US 2\",\r\n \"documentEndpoint\": \"https://ragil-tablesapi-westus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"failoverPolicies\": [\r\n {\r\n \"id\": \"ragil-tablesapi-westus2\",\r\n \"locationName\": \"West US 2\",\r\n \"failoverPriority\": 0\r\n }\r\n ],\r\n \"cors\": [],\r\n \"capabilities\": [\r\n {\r\n \"name\": \"EnableTable\"\r\n }\r\n ],\r\n \"ipRules\": [],\r\n \"backupPolicy\": {\r\n \"type\": \"Periodic\",\r\n \"periodicModeProperties\": {\r\n \"backupIntervalInMinutes\": 240,\r\n \"backupRetentionIntervalInHours\": 8,\r\n \"backupStorageRedundancy\": \"Geo\"\r\n }\r\n },\r\n \"networkAclBypassResourceIds\": []\r\n },\r\n \"identity\": {\r\n \"type\": \"None\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/resourceGroups/analytics/providers/Microsoft.DocumentDB/databaseAccounts/ramkris\",\r\n \"name\": \"ramkris\",\r\n \"location\": \"West US 2\",\r\n \"type\": \"Microsoft.DocumentDB/databaseAccounts\",\r\n \"kind\": \"GlobalDocumentDB\",\r\n \"tags\": {},\r\n \"systemData\": {\r\n \"createdAt\": \"2019-10-02T22:38:55.6466865Z\"\r\n },\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"documentEndpoint\": \"https://ramkris.documents-staging.windows-ppe.net:443/\",\r\n \"publicNetworkAccess\": \"Enabled\",\r\n \"enableAutomaticFailover\": false,\r\n \"enableMultipleWriteLocations\": false,\r\n \"enablePartitionKeyMonitor\": false,\r\n \"isVirtualNetworkFilterEnabled\": false,\r\n \"virtualNetworkRules\": [],\r\n \"EnabledApiTypes\": \"Sql\",\r\n \"disableKeyBasedMetadataWriteAccess\": false,\r\n \"enableFreeTier\": false,\r\n \"enableAnalyticalStorage\": false,\r\n \"analyticalStorageConfiguration\": null,\r\n \"instanceId\": \"55a8e52d-4347-485f-a961-6aba964fe1d4\",\r\n \"createMode\": \"Default\",\r\n \"databaseAccountOfferType\": \"Standard\",\r\n \"enableCassandraConnector\": false,\r\n \"connectorOffer\": \"\",\r\n \"defaultIdentity\": \"\",\r\n \"networkAclBypass\": \"None\",\r\n \"consistencyPolicy\": {\r\n \"defaultConsistencyLevel\": \"Session\",\r\n \"maxIntervalInSeconds\": 5,\r\n \"maxStalenessPrefix\": 100\r\n },\r\n \"configurationOverrides\": {},\r\n \"writeLocations\": [\r\n {\r\n \"id\": \"ramkris-westus2\",\r\n \"locationName\": \"West US 2\",\r\n \"documentEndpoint\": \"https://ramkris-westus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"readLocations\": [\r\n {\r\n \"id\": \"ramkris-westus2\",\r\n \"locationName\": \"West US 2\",\r\n \"documentEndpoint\": \"https://ramkris-westus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"locations\": [\r\n {\r\n \"id\": \"ramkris-westus2\",\r\n \"locationName\": \"West US 2\",\r\n \"documentEndpoint\": \"https://ramkris-westus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"failoverPolicies\": [\r\n {\r\n \"id\": \"ramkris-westus2\",\r\n \"locationName\": \"West US 2\",\r\n \"failoverPriority\": 0\r\n }\r\n ],\r\n \"cors\": [],\r\n \"capabilities\": [\r\n {\r\n \"name\": \"EnableStorageAnalytics\"\r\n }\r\n ],\r\n \"ipRules\": [],\r\n \"backupPolicy\": {\r\n \"type\": \"Periodic\",\r\n \"periodicModeProperties\": {\r\n \"backupIntervalInMinutes\": 60,\r\n \"backupRetentionIntervalInHours\": 8,\r\n \"backupStorageRedundancy\": \"Geo\"\r\n }\r\n },\r\n \"networkAclBypassResourceIds\": []\r\n },\r\n \"identity\": {\r\n \"type\": \"None\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/resourceGroups/shatri/providers/Microsoft.DocumentDB/databaseAccounts/shatricass\",\r\n \"name\": \"shatricass\",\r\n \"location\": \"West US 2\",\r\n \"type\": \"Microsoft.DocumentDB/databaseAccounts\",\r\n \"kind\": \"GlobalDocumentDB\",\r\n \"tags\": {\r\n \"defaultExperience\": \"Cassandra\"\r\n },\r\n \"systemData\": {\r\n \"createdAt\": \"2019-10-09T23:13:25.9376276Z\"\r\n },\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"documentEndpoint\": \"https://shatricass.documents-staging.windows-ppe.net:443/\",\r\n \"cassandraEndpoint\": \"https://shatricass.cassandra.cosmos.windows-ppe.net:443/\",\r\n \"publicNetworkAccess\": \"Enabled\",\r\n \"enableAutomaticFailover\": false,\r\n \"enableMultipleWriteLocations\": false,\r\n \"enablePartitionKeyMonitor\": false,\r\n \"isVirtualNetworkFilterEnabled\": false,\r\n \"virtualNetworkRules\": [],\r\n \"EnabledApiTypes\": \"Cassandra\",\r\n \"disableKeyBasedMetadataWriteAccess\": false,\r\n \"enableFreeTier\": false,\r\n \"enableAnalyticalStorage\": false,\r\n \"analyticalStorageConfiguration\": null,\r\n \"instanceId\": \"05a1e329-ea8b-4183-acf3-1ad9640fa291\",\r\n \"createMode\": \"Default\",\r\n \"databaseAccountOfferType\": \"Standard\",\r\n \"enableCassandraConnector\": false,\r\n \"connectorOffer\": \"\",\r\n \"defaultIdentity\": \"\",\r\n \"networkAclBypass\": \"None\",\r\n \"consistencyPolicy\": {\r\n \"defaultConsistencyLevel\": \"Session\",\r\n \"maxIntervalInSeconds\": 5,\r\n \"maxStalenessPrefix\": 100\r\n },\r\n \"configurationOverrides\": {},\r\n \"writeLocations\": [\r\n {\r\n \"id\": \"shatricass-westus2\",\r\n \"locationName\": \"West US 2\",\r\n \"documentEndpoint\": \"https://shatricass-westus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"readLocations\": [\r\n {\r\n \"id\": \"shatricass-westus2\",\r\n \"locationName\": \"West US 2\",\r\n \"documentEndpoint\": \"https://shatricass-westus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"locations\": [\r\n {\r\n \"id\": \"shatricass-westus2\",\r\n \"locationName\": \"West US 2\",\r\n \"documentEndpoint\": \"https://shatricass-westus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"failoverPolicies\": [\r\n {\r\n \"id\": \"shatricass-westus2\",\r\n \"locationName\": \"West US 2\",\r\n \"failoverPriority\": 0\r\n }\r\n ],\r\n \"cors\": [],\r\n \"capabilities\": [\r\n {\r\n \"name\": \"EnableCassandra\"\r\n }\r\n ],\r\n \"ipRules\": [],\r\n \"backupPolicy\": {\r\n \"type\": \"Periodic\",\r\n \"periodicModeProperties\": {\r\n \"backupIntervalInMinutes\": 60,\r\n \"backupRetentionIntervalInHours\": 8,\r\n \"backupStorageRedundancy\": \"Geo\"\r\n }\r\n },\r\n \"networkAclBypassResourceIds\": []\r\n },\r\n \"identity\": {\r\n \"type\": \"None\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/resourceGroups/shtan-stage-signoff/providers/Microsoft.DocumentDB/databaseAccounts/shtan-stage\",\r\n \"name\": \"shtan-stage\",\r\n \"location\": \"West US 2\",\r\n \"type\": \"Microsoft.DocumentDB/databaseAccounts\",\r\n \"kind\": \"GlobalDocumentDB\",\r\n \"tags\": {\r\n \"defaultExperience\": \"DocumentDB\"\r\n },\r\n \"systemData\": {\r\n \"createdAt\": \"2018-11-13T20:44:04.4461593Z\"\r\n },\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"documentEndpoint\": \"https://shtan-stage.documents-staging.windows-ppe.net:443/\",\r\n \"publicNetworkAccess\": \"Enabled\",\r\n \"enableAutomaticFailover\": false,\r\n \"enableMultipleWriteLocations\": true,\r\n \"enablePartitionKeyMonitor\": false,\r\n \"isVirtualNetworkFilterEnabled\": false,\r\n \"virtualNetworkRules\": [],\r\n \"EnabledApiTypes\": \"Sql\",\r\n \"disableKeyBasedMetadataWriteAccess\": false,\r\n \"enableFreeTier\": false,\r\n \"enableAnalyticalStorage\": false,\r\n \"analyticalStorageConfiguration\": null,\r\n \"instanceId\": \"54d92f36-a35f-4b45-90d1-4b2a2c598bae\",\r\n \"createMode\": \"Default\",\r\n \"databaseAccountOfferType\": \"Standard\",\r\n \"defaultIdentity\": \"\",\r\n \"networkAclBypass\": \"None\",\r\n \"consistencyPolicy\": {\r\n \"defaultConsistencyLevel\": \"Session\",\r\n \"maxIntervalInSeconds\": 5,\r\n \"maxStalenessPrefix\": 100\r\n },\r\n \"configurationOverrides\": {},\r\n \"writeLocations\": [\r\n {\r\n \"id\": \"shtan-stage-southeastasia\",\r\n \"locationName\": \"Southeast Asia\",\r\n \"documentEndpoint\": \"https://shtan-stage-southeastasia.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n },\r\n {\r\n \"id\": \"shtan-stage-northcentralus\",\r\n \"locationName\": \"North Central US\",\r\n \"documentEndpoint\": \"https://shtan-stage-northcentralus.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 1,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"readLocations\": [\r\n {\r\n \"id\": \"shtan-stage-southeastasia\",\r\n \"locationName\": \"Southeast Asia\",\r\n \"documentEndpoint\": \"https://shtan-stage-southeastasia.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n },\r\n {\r\n \"id\": \"shtan-stage-northcentralus\",\r\n \"locationName\": \"North Central US\",\r\n \"documentEndpoint\": \"https://shtan-stage-northcentralus.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 1,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"locations\": [\r\n {\r\n \"id\": \"shtan-stage-southeastasia\",\r\n \"locationName\": \"Southeast Asia\",\r\n \"documentEndpoint\": \"https://shtan-stage-southeastasia.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n },\r\n {\r\n \"id\": \"shtan-stage-northcentralus\",\r\n \"locationName\": \"North Central US\",\r\n \"documentEndpoint\": \"https://shtan-stage-northcentralus.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 1,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"failoverPolicies\": [\r\n {\r\n \"id\": \"shtan-stage-southeastasia\",\r\n \"locationName\": \"Southeast Asia\",\r\n \"failoverPriority\": 0\r\n },\r\n {\r\n \"id\": \"shtan-stage-northcentralus\",\r\n \"locationName\": \"North Central US\",\r\n \"failoverPriority\": 1\r\n }\r\n ],\r\n \"cors\": [],\r\n \"capabilities\": [],\r\n \"ipRules\": [],\r\n \"backupPolicy\": {\r\n \"type\": \"Periodic\",\r\n \"periodicModeProperties\": {\r\n \"backupIntervalInMinutes\": 140,\r\n \"backupRetentionIntervalInHours\": 26,\r\n \"backupStorageRedundancy\": \"Geo\"\r\n }\r\n },\r\n \"networkAclBypassResourceIds\": []\r\n },\r\n \"identity\": {\r\n \"type\": \"None\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/resourceGroups/analytics/providers/Microsoft.DocumentDB/databaseAccounts/shthekkatestacc\",\r\n \"name\": \"shthekkatestacc\",\r\n \"location\": \"West US 2\",\r\n \"type\": \"Microsoft.DocumentDB/databaseAccounts\",\r\n \"kind\": \"GlobalDocumentDB\",\r\n \"tags\": {\r\n \"defaultExperience\": \"Core (SQL)\",\r\n \"hidden-cosmos-mmspecial\": \"\",\r\n \"CosmosAccountType\": \"Non-Production\"\r\n },\r\n \"systemData\": {\r\n \"createdAt\": \"2020-07-16T19:02:15.7189041Z\"\r\n },\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"documentEndpoint\": \"https://shthekkatestacc.documents-staging.windows-ppe.net:443/\",\r\n \"publicNetworkAccess\": \"Enabled\",\r\n \"enableAutomaticFailover\": false,\r\n \"enableMultipleWriteLocations\": false,\r\n \"enablePartitionKeyMonitor\": false,\r\n \"isVirtualNetworkFilterEnabled\": false,\r\n \"virtualNetworkRules\": [],\r\n \"EnabledApiTypes\": \"Sql\",\r\n \"disableKeyBasedMetadataWriteAccess\": false,\r\n \"enableFreeTier\": false,\r\n \"enableAnalyticalStorage\": true,\r\n \"analyticalStorageConfiguration\": null,\r\n \"instanceId\": \"a24a8e4b-8d9c-4057-8212-fa5c3cb974dc\",\r\n \"createMode\": \"Default\",\r\n \"databaseAccountOfferType\": \"Standard\",\r\n \"enableCassandraConnector\": false,\r\n \"connectorOffer\": \"\",\r\n \"defaultIdentity\": \"\",\r\n \"networkAclBypass\": \"None\",\r\n \"consistencyPolicy\": {\r\n \"defaultConsistencyLevel\": \"Session\",\r\n \"maxIntervalInSeconds\": 5,\r\n \"maxStalenessPrefix\": 100\r\n },\r\n \"configurationOverrides\": {},\r\n \"writeLocations\": [\r\n {\r\n \"id\": \"shthekkatestacc-westus2\",\r\n \"locationName\": \"West US 2\",\r\n \"documentEndpoint\": \"https://shthekkatestacc-westus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"readLocations\": [\r\n {\r\n \"id\": \"shthekkatestacc-westus2\",\r\n \"locationName\": \"West US 2\",\r\n \"documentEndpoint\": \"https://shthekkatestacc-westus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n },\r\n {\r\n \"id\": \"shthekkatestacc-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://shthekkatestacc-eastus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 1,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"locations\": [\r\n {\r\n \"id\": \"shthekkatestacc-westus2\",\r\n \"locationName\": \"West US 2\",\r\n \"documentEndpoint\": \"https://shthekkatestacc-westus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n },\r\n {\r\n \"id\": \"shthekkatestacc-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://shthekkatestacc-eastus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 1,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"failoverPolicies\": [\r\n {\r\n \"id\": \"shthekkatestacc-westus2\",\r\n \"locationName\": \"West US 2\",\r\n \"failoverPriority\": 0\r\n },\r\n {\r\n \"id\": \"shthekkatestacc-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"failoverPriority\": 1\r\n }\r\n ],\r\n \"cors\": [],\r\n \"capabilities\": [],\r\n \"ipRules\": [],\r\n \"backupPolicy\": {\r\n \"type\": \"Periodic\",\r\n \"periodicModeProperties\": {\r\n \"backupIntervalInMinutes\": 240,\r\n \"backupRetentionIntervalInHours\": 8,\r\n \"backupStorageRedundancy\": \"Geo\"\r\n }\r\n },\r\n \"networkAclBypassResourceIds\": []\r\n },\r\n \"identity\": {\r\n \"type\": \"None\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/resourceGroups/yungyang-test-rg/providers/Microsoft.DocumentDB/databaseAccounts/stageaccounttest\",\r\n \"name\": \"stageaccounttest\",\r\n \"location\": \"West US 2\",\r\n \"type\": \"Microsoft.DocumentDB/databaseAccounts\",\r\n \"kind\": \"GlobalDocumentDB\",\r\n \"tags\": {\r\n \"defaultExperience\": \"Core (SQL)\",\r\n \"hidden-cosmos-mmspecial\": \"\",\r\n \"CosmosAccountType\": \"Non-Production\"\r\n },\r\n \"systemData\": {\r\n \"createdAt\": \"2020-09-18T23:05:27.6084678Z\"\r\n },\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"documentEndpoint\": \"https://stageaccounttest.documents-staging.windows-ppe.net:443/\",\r\n \"publicNetworkAccess\": \"Enabled\",\r\n \"enableAutomaticFailover\": false,\r\n \"enableMultipleWriteLocations\": false,\r\n \"enablePartitionKeyMonitor\": false,\r\n \"isVirtualNetworkFilterEnabled\": false,\r\n \"virtualNetworkRules\": [],\r\n \"EnabledApiTypes\": \"Sql\",\r\n \"disableKeyBasedMetadataWriteAccess\": false,\r\n \"enableFreeTier\": false,\r\n \"enableAnalyticalStorage\": false,\r\n \"analyticalStorageConfiguration\": null,\r\n \"instanceId\": \"52fa848f-633c-48e6-8a03-41cd74da4156\",\r\n \"createMode\": \"Default\",\r\n \"databaseAccountOfferType\": \"Standard\",\r\n \"enableCassandraConnector\": false,\r\n \"connectorOffer\": \"\",\r\n \"defaultIdentity\": \"\",\r\n \"networkAclBypass\": \"None\",\r\n \"consistencyPolicy\": {\r\n \"defaultConsistencyLevel\": \"Session\",\r\n \"maxIntervalInSeconds\": 5,\r\n \"maxStalenessPrefix\": 100\r\n },\r\n \"configurationOverrides\": {},\r\n \"writeLocations\": [\r\n {\r\n \"id\": \"stageaccounttest-westus2\",\r\n \"locationName\": \"West US 2\",\r\n \"documentEndpoint\": \"https://stageaccounttest-westus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"readLocations\": [\r\n {\r\n \"id\": \"stageaccounttest-westus2\",\r\n \"locationName\": \"West US 2\",\r\n \"documentEndpoint\": \"https://stageaccounttest-westus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"locations\": [\r\n {\r\n \"id\": \"stageaccounttest-westus2\",\r\n \"locationName\": \"West US 2\",\r\n \"documentEndpoint\": \"https://stageaccounttest-westus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"failoverPolicies\": [\r\n {\r\n \"id\": \"stageaccounttest-westus2\",\r\n \"locationName\": \"West US 2\",\r\n \"failoverPriority\": 0\r\n }\r\n ],\r\n \"cors\": [],\r\n \"capabilities\": [],\r\n \"ipRules\": [],\r\n \"backupPolicy\": {\r\n \"type\": \"Periodic\",\r\n \"periodicModeProperties\": {\r\n \"backupIntervalInMinutes\": 240,\r\n \"backupRetentionIntervalInHours\": 8,\r\n \"backupStorageRedundancy\": \"Geo\"\r\n }\r\n },\r\n \"networkAclBypassResourceIds\": []\r\n },\r\n \"identity\": {\r\n \"type\": \"None\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/resourceGroups/sukans/providers/Microsoft.DocumentDB/databaseAccounts/sukans-noownerid\",\r\n \"name\": \"sukans-noownerid\",\r\n \"location\": \"West US 2\",\r\n \"type\": \"Microsoft.DocumentDB/databaseAccounts\",\r\n \"kind\": \"GlobalDocumentDB\",\r\n \"tags\": {\r\n \"defaultExperience\": \"Core (SQL)\"\r\n },\r\n \"systemData\": {\r\n \"createdAt\": \"2019-04-11T23:56:51.3427971Z\"\r\n },\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"documentEndpoint\": \"https://sukans-noownerid.documents-staging.windows-ppe.net:443/\",\r\n \"publicNetworkAccess\": \"Enabled\",\r\n \"enableAutomaticFailover\": false,\r\n \"enableMultipleWriteLocations\": false,\r\n \"enablePartitionKeyMonitor\": false,\r\n \"isVirtualNetworkFilterEnabled\": false,\r\n \"virtualNetworkRules\": [],\r\n \"EnabledApiTypes\": \"Sql\",\r\n \"disableKeyBasedMetadataWriteAccess\": false,\r\n \"enableFreeTier\": false,\r\n \"enableAnalyticalStorage\": false,\r\n \"analyticalStorageConfiguration\": null,\r\n \"instanceId\": \"f378c52f-6784-4196-a99f-6c3c934ca3cd\",\r\n \"createMode\": \"Default\",\r\n \"databaseAccountOfferType\": \"Standard\",\r\n \"defaultIdentity\": \"\",\r\n \"networkAclBypass\": \"None\",\r\n \"consistencyPolicy\": {\r\n \"defaultConsistencyLevel\": \"Session\",\r\n \"maxIntervalInSeconds\": 5,\r\n \"maxStalenessPrefix\": 100\r\n },\r\n \"configurationOverrides\": {},\r\n \"writeLocations\": [\r\n {\r\n \"id\": \"sukans-noownerid-westus2\",\r\n \"locationName\": \"West US 2\",\r\n \"documentEndpoint\": \"https://sukans-noownerid-westus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"readLocations\": [\r\n {\r\n \"id\": \"sukans-noownerid-westus2\",\r\n \"locationName\": \"West US 2\",\r\n \"documentEndpoint\": \"https://sukans-noownerid-westus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"locations\": [\r\n {\r\n \"id\": \"sukans-noownerid-westus2\",\r\n \"locationName\": \"West US 2\",\r\n \"documentEndpoint\": \"https://sukans-noownerid-westus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"failoverPolicies\": [\r\n {\r\n \"id\": \"sukans-noownerid-westus2\",\r\n \"locationName\": \"West US 2\",\r\n \"failoverPriority\": 0\r\n }\r\n ],\r\n \"cors\": [],\r\n \"capabilities\": [],\r\n \"ipRules\": [],\r\n \"backupPolicy\": {\r\n \"type\": \"Periodic\",\r\n \"periodicModeProperties\": {\r\n \"backupIntervalInMinutes\": 240,\r\n \"backupRetentionIntervalInHours\": 8,\r\n \"backupStorageRedundancy\": \"Geo\"\r\n }\r\n },\r\n \"networkAclBypassResourceIds\": []\r\n },\r\n \"identity\": {\r\n \"type\": \"None\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/resourceGroups/dech-stage-rg/providers/Microsoft.DocumentDB/databaseAccounts/dech-free-tier-test-2\",\r\n \"name\": \"dech-free-tier-test-2\",\r\n \"location\": \"West US 2\",\r\n \"type\": \"Microsoft.DocumentDB/databaseAccounts\",\r\n \"kind\": \"GlobalDocumentDB\",\r\n \"tags\": {\r\n \"defaultExperience\": \"Core (SQL)\",\r\n \"hidden-cosmos-mmspecial\": \"\",\r\n \"CosmosAccountType\": \"Non-Production\"\r\n },\r\n \"systemData\": {\r\n \"createdAt\": \"2020-02-29T04:43:57.365991Z\"\r\n },\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"documentEndpoint\": \"https://dech-free-tier-test-2.documents-staging.windows-ppe.net:443/\",\r\n \"publicNetworkAccess\": \"Enabled\",\r\n \"enableAutomaticFailover\": false,\r\n \"enableMultipleWriteLocations\": false,\r\n \"enablePartitionKeyMonitor\": false,\r\n \"isVirtualNetworkFilterEnabled\": false,\r\n \"virtualNetworkRules\": [],\r\n \"EnabledApiTypes\": \"Sql\",\r\n \"disableKeyBasedMetadataWriteAccess\": false,\r\n \"enableFreeTier\": true,\r\n \"enableAnalyticalStorage\": false,\r\n \"analyticalStorageConfiguration\": null,\r\n \"instanceId\": \"03bb9038-e800-4852-a229-6868a7e5b26c\",\r\n \"createMode\": \"Default\",\r\n \"databaseAccountOfferType\": \"Standard\",\r\n \"enableCassandraConnector\": false,\r\n \"connectorOffer\": \"\",\r\n \"defaultIdentity\": \"\",\r\n \"networkAclBypass\": \"None\",\r\n \"consistencyPolicy\": {\r\n \"defaultConsistencyLevel\": \"Session\",\r\n \"maxIntervalInSeconds\": 5,\r\n \"maxStalenessPrefix\": 100\r\n },\r\n \"configurationOverrides\": {},\r\n \"writeLocations\": [\r\n {\r\n \"id\": \"dech-free-tier-test-2-westus2\",\r\n \"locationName\": \"West US 2\",\r\n \"documentEndpoint\": \"https://dech-free-tier-test-2-westus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"readLocations\": [\r\n {\r\n \"id\": \"dech-free-tier-test-2-westus2\",\r\n \"locationName\": \"West US 2\",\r\n \"documentEndpoint\": \"https://dech-free-tier-test-2-westus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"locations\": [\r\n {\r\n \"id\": \"dech-free-tier-test-2-westus2\",\r\n \"locationName\": \"West US 2\",\r\n \"documentEndpoint\": \"https://dech-free-tier-test-2-westus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"failoverPolicies\": [\r\n {\r\n \"id\": \"dech-free-tier-test-2-westus2\",\r\n \"locationName\": \"West US 2\",\r\n \"failoverPriority\": 0\r\n }\r\n ],\r\n \"cors\": [],\r\n \"capabilities\": [\r\n {\r\n \"name\": \"EnableStorageAnalytics\"\r\n }\r\n ],\r\n \"ipRules\": [],\r\n \"backupPolicy\": {\r\n \"type\": \"Periodic\",\r\n \"periodicModeProperties\": {\r\n \"backupIntervalInMinutes\": 60,\r\n \"backupRetentionIntervalInHours\": 8,\r\n \"backupStorageRedundancy\": \"Geo\"\r\n }\r\n },\r\n \"networkAclBypassResourceIds\": []\r\n },\r\n \"identity\": {\r\n \"type\": \"None\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/resourceGroups/testshbyok/providers/Microsoft.DocumentDB/databaseAccounts/testtoporder\",\r\n \"name\": \"testtoporder\",\r\n \"location\": \"West US 2\",\r\n \"type\": \"Microsoft.DocumentDB/databaseAccounts\",\r\n \"kind\": \"GlobalDocumentDB\",\r\n \"tags\": {\r\n \"defaultExperience\": \"Core (SQL)\",\r\n \"hidden-cosmos-mmspecial\": \"\"\r\n },\r\n \"systemData\": {\r\n \"createdAt\": \"2020-01-12T18:30:58.8495415Z\"\r\n },\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"documentEndpoint\": \"https://testtoporder.documents-staging.windows-ppe.net:443/\",\r\n \"publicNetworkAccess\": \"Enabled\",\r\n \"enableAutomaticFailover\": false,\r\n \"enableMultipleWriteLocations\": false,\r\n \"enablePartitionKeyMonitor\": false,\r\n \"isVirtualNetworkFilterEnabled\": false,\r\n \"virtualNetworkRules\": [],\r\n \"EnabledApiTypes\": \"Sql\",\r\n \"disableKeyBasedMetadataWriteAccess\": false,\r\n \"enableFreeTier\": false,\r\n \"enableAnalyticalStorage\": false,\r\n \"analyticalStorageConfiguration\": null,\r\n \"instanceId\": \"ac3bf896-7c33-4e00-baf0-f5aa19e4000b\",\r\n \"createMode\": \"Default\",\r\n \"databaseAccountOfferType\": \"Standard\",\r\n \"enableCassandraConnector\": false,\r\n \"connectorOffer\": \"\",\r\n \"defaultIdentity\": \"\",\r\n \"networkAclBypass\": \"None\",\r\n \"consistencyPolicy\": {\r\n \"defaultConsistencyLevel\": \"Session\",\r\n \"maxIntervalInSeconds\": 5,\r\n \"maxStalenessPrefix\": 100\r\n },\r\n \"configurationOverrides\": {},\r\n \"writeLocations\": [\r\n {\r\n \"id\": \"testtoporder-westus2\",\r\n \"locationName\": \"West US 2\",\r\n \"documentEndpoint\": \"https://testtoporder-westus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"readLocations\": [\r\n {\r\n \"id\": \"testtoporder-westus2\",\r\n \"locationName\": \"West US 2\",\r\n \"documentEndpoint\": \"https://testtoporder-westus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n },\r\n {\r\n \"id\": \"testtoporder-southeastasia\",\r\n \"locationName\": \"Southeast Asia\",\r\n \"documentEndpoint\": \"https://testtoporder-southeastasia.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 1,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"locations\": [\r\n {\r\n \"id\": \"testtoporder-westus2\",\r\n \"locationName\": \"West US 2\",\r\n \"documentEndpoint\": \"https://testtoporder-westus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n },\r\n {\r\n \"id\": \"testtoporder-southeastasia\",\r\n \"locationName\": \"Southeast Asia\",\r\n \"documentEndpoint\": \"https://testtoporder-southeastasia.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 1,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"failoverPolicies\": [\r\n {\r\n \"id\": \"testtoporder-westus2\",\r\n \"locationName\": \"West US 2\",\r\n \"failoverPriority\": 0\r\n },\r\n {\r\n \"id\": \"testtoporder-southeastasia\",\r\n \"locationName\": \"Southeast Asia\",\r\n \"failoverPriority\": 1\r\n }\r\n ],\r\n \"cors\": [],\r\n \"capabilities\": [\r\n {\r\n \"name\": \"EnableStorageAnalytics\"\r\n }\r\n ],\r\n \"ipRules\": [],\r\n \"backupPolicy\": {\r\n \"type\": \"Periodic\",\r\n \"periodicModeProperties\": {\r\n \"backupIntervalInMinutes\": 60,\r\n \"backupRetentionIntervalInHours\": 8,\r\n \"backupStorageRedundancy\": \"Geo\"\r\n }\r\n },\r\n \"networkAclBypassResourceIds\": []\r\n },\r\n \"identity\": {\r\n \"type\": \"None\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/resourceGroups/abinav_stage_rg/providers/Microsoft.DocumentDB/databaseAccounts/haotest4\",\r\n \"name\": \"haotest4\",\r\n \"location\": \"West US 2\",\r\n \"type\": \"Microsoft.DocumentDB/databaseAccounts\",\r\n \"kind\": \"GlobalDocumentDB\",\r\n \"tags\": {\r\n \"defaultExperience\": \"Cassandra\"\r\n },\r\n \"systemData\": {\r\n \"createdAt\": \"2019-02-11T21:22:04.7695494Z\"\r\n },\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"documentEndpoint\": \"https://haotest4.documents-staging.windows-ppe.net:443/\",\r\n \"cassandraEndpoint\": \"https://haotest4.cassandra.cosmos.windows-ppe.net:443/\",\r\n \"publicNetworkAccess\": \"Enabled\",\r\n \"enableAutomaticFailover\": false,\r\n \"enableMultipleWriteLocations\": true,\r\n \"enablePartitionKeyMonitor\": false,\r\n \"isVirtualNetworkFilterEnabled\": false,\r\n \"virtualNetworkRules\": [],\r\n \"EnabledApiTypes\": \"Cassandra\",\r\n \"disableKeyBasedMetadataWriteAccess\": false,\r\n \"enableFreeTier\": false,\r\n \"enableAnalyticalStorage\": false,\r\n \"analyticalStorageConfiguration\": null,\r\n \"instanceId\": \"0ead4408-f3e1-4f47-a00e-7fd5518ffcda\",\r\n \"createMode\": \"Default\",\r\n \"databaseAccountOfferType\": \"Standard\",\r\n \"defaultIdentity\": \"\",\r\n \"networkAclBypass\": \"None\",\r\n \"consistencyPolicy\": {\r\n \"defaultConsistencyLevel\": \"Eventual\",\r\n \"maxIntervalInSeconds\": 5,\r\n \"maxStalenessPrefix\": 100\r\n },\r\n \"configurationOverrides\": {},\r\n \"writeLocations\": [\r\n {\r\n \"id\": \"haotest4-westus2\",\r\n \"locationName\": \"West US 2\",\r\n \"documentEndpoint\": \"https://haotest4-westus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"readLocations\": [\r\n {\r\n \"id\": \"haotest4-westus2\",\r\n \"locationName\": \"West US 2\",\r\n \"documentEndpoint\": \"https://haotest4-westus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"locations\": [\r\n {\r\n \"id\": \"haotest4-westus2\",\r\n \"locationName\": \"West US 2\",\r\n \"documentEndpoint\": \"https://haotest4-westus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"failoverPolicies\": [\r\n {\r\n \"id\": \"haotest4-westus2\",\r\n \"locationName\": \"West US 2\",\r\n \"failoverPriority\": 0\r\n }\r\n ],\r\n \"cors\": [],\r\n \"capabilities\": [\r\n {\r\n \"name\": \"EnableCassandra\"\r\n }\r\n ],\r\n \"ipRules\": [],\r\n \"backupPolicy\": {\r\n \"type\": \"Periodic\",\r\n \"periodicModeProperties\": {\r\n \"backupIntervalInMinutes\": 240,\r\n \"backupRetentionIntervalInHours\": 8,\r\n \"backupStorageRedundancy\": \"Geo\"\r\n }\r\n },\r\n \"networkAclBypassResourceIds\": []\r\n },\r\n \"identity\": {\r\n \"type\": \"None\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/resourceGroups/akash-cassandra-northcentralus-resource/providers/Microsoft.DocumentDB/databaseAccounts/harsudantest5\",\r\n \"name\": \"harsudantest5\",\r\n \"location\": \"West US 2\",\r\n \"type\": \"Microsoft.DocumentDB/databaseAccounts\",\r\n \"kind\": \"GlobalDocumentDB\",\r\n \"tags\": {\r\n \"defaultExperience\": \"DocumentDB\"\r\n },\r\n \"systemData\": {\r\n \"createdAt\": \"2018-09-16T19:04:32.9585625Z\"\r\n },\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"documentEndpoint\": \"https://harsudantest5.documents-staging.windows-ppe.net:443/\",\r\n \"publicNetworkAccess\": \"Enabled\",\r\n \"enableAutomaticFailover\": false,\r\n \"enableMultipleWriteLocations\": false,\r\n \"enablePartitionKeyMonitor\": false,\r\n \"isVirtualNetworkFilterEnabled\": false,\r\n \"virtualNetworkRules\": [],\r\n \"EnabledApiTypes\": \"Sql\",\r\n \"disableKeyBasedMetadataWriteAccess\": false,\r\n \"enableFreeTier\": false,\r\n \"enableAnalyticalStorage\": false,\r\n \"analyticalStorageConfiguration\": null,\r\n \"instanceId\": \"869f8c12-e696-481b-ae81-f3aadc0c9adf\",\r\n \"createMode\": \"Default\",\r\n \"databaseAccountOfferType\": \"Standard\",\r\n \"defaultIdentity\": \"\",\r\n \"networkAclBypass\": \"None\",\r\n \"consistencyPolicy\": {\r\n \"defaultConsistencyLevel\": \"Session\",\r\n \"maxIntervalInSeconds\": 5,\r\n \"maxStalenessPrefix\": 100\r\n },\r\n \"configurationOverrides\": {},\r\n \"writeLocations\": [\r\n {\r\n \"id\": \"harsudantest5-westus2\",\r\n \"locationName\": \"West US 2\",\r\n \"documentEndpoint\": \"https://harsudantest5-westus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"readLocations\": [\r\n {\r\n \"id\": \"harsudantest5-westus2\",\r\n \"locationName\": \"West US 2\",\r\n \"documentEndpoint\": \"https://harsudantest5-westus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n },\r\n {\r\n \"id\": \"harsudantest5-northcentralus\",\r\n \"locationName\": \"North Central US\",\r\n \"documentEndpoint\": \"https://harsudantest5-northcentralus.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 1,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"locations\": [\r\n {\r\n \"id\": \"harsudantest5-westus2\",\r\n \"locationName\": \"West US 2\",\r\n \"documentEndpoint\": \"https://harsudantest5-westus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n },\r\n {\r\n \"id\": \"harsudantest5-northcentralus\",\r\n \"locationName\": \"North Central US\",\r\n \"documentEndpoint\": \"https://harsudantest5-northcentralus.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 1,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"failoverPolicies\": [\r\n {\r\n \"id\": \"harsudantest5-westus2\",\r\n \"locationName\": \"West US 2\",\r\n \"failoverPriority\": 0\r\n },\r\n {\r\n \"id\": \"harsudantest5-northcentralus\",\r\n \"locationName\": \"North Central US\",\r\n \"failoverPriority\": 1\r\n }\r\n ],\r\n \"cors\": [],\r\n \"capabilities\": [],\r\n \"ipRules\": [],\r\n \"backupPolicy\": {\r\n \"type\": \"Periodic\",\r\n \"periodicModeProperties\": {\r\n \"backupIntervalInMinutes\": 240,\r\n \"backupRetentionIntervalInHours\": 8,\r\n \"backupStorageRedundancy\": \"Geo\"\r\n }\r\n },\r\n \"networkAclBypassResourceIds\": []\r\n },\r\n \"identity\": {\r\n \"type\": \"None\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/resourceGroups/vinh-stage-rp/providers/Microsoft.DocumentDB/databaseAccounts/vinh-stage\",\r\n \"name\": \"vinh-stage\",\r\n \"location\": \"West US 2\",\r\n \"type\": \"Microsoft.DocumentDB/databaseAccounts\",\r\n \"kind\": \"GlobalDocumentDB\",\r\n \"tags\": {},\r\n \"systemData\": {\r\n \"createdAt\": \"2019-11-22T21:40:11.4909444Z\"\r\n },\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"documentEndpoint\": \"https://vinh-stage.documents-staging.windows-ppe.net:443/\",\r\n \"publicNetworkAccess\": \"Enabled\",\r\n \"enableAutomaticFailover\": true,\r\n \"enableMultipleWriteLocations\": false,\r\n \"enablePartitionKeyMonitor\": false,\r\n \"isVirtualNetworkFilterEnabled\": false,\r\n \"virtualNetworkRules\": [],\r\n \"EnabledApiTypes\": \"Sql\",\r\n \"disableKeyBasedMetadataWriteAccess\": false,\r\n \"enableFreeTier\": false,\r\n \"enableAnalyticalStorage\": false,\r\n \"analyticalStorageConfiguration\": null,\r\n \"instanceId\": \"408511b1-2df1-4200-b4bb-a5ace8f2c8e9\",\r\n \"createMode\": \"Default\",\r\n \"databaseAccountOfferType\": \"Standard\",\r\n \"enableCassandraConnector\": false,\r\n \"connectorOffer\": \"\",\r\n \"defaultIdentity\": \"\",\r\n \"networkAclBypass\": \"None\",\r\n \"consistencyPolicy\": {\r\n \"defaultConsistencyLevel\": \"Session\",\r\n \"maxIntervalInSeconds\": 5,\r\n \"maxStalenessPrefix\": 100\r\n },\r\n \"configurationOverrides\": {},\r\n \"writeLocations\": [\r\n {\r\n \"id\": \"vinh-stage-northcentralus\",\r\n \"locationName\": \"North Central US\",\r\n \"documentEndpoint\": \"https://vinh-stage-northcentralus.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"readLocations\": [\r\n {\r\n \"id\": \"vinh-stage-northcentralus\",\r\n \"locationName\": \"North Central US\",\r\n \"documentEndpoint\": \"https://vinh-stage-northcentralus.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n },\r\n {\r\n \"id\": \"vinh-stage-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://vinh-stage-eastus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 1,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"locations\": [\r\n {\r\n \"id\": \"vinh-stage-northcentralus\",\r\n \"locationName\": \"North Central US\",\r\n \"documentEndpoint\": \"https://vinh-stage-northcentralus.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n },\r\n {\r\n \"id\": \"vinh-stage-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://vinh-stage-eastus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 1,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"failoverPolicies\": [\r\n {\r\n \"id\": \"vinh-stage-northcentralus\",\r\n \"locationName\": \"North Central US\",\r\n \"failoverPriority\": 0\r\n },\r\n {\r\n \"id\": \"vinh-stage-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"failoverPriority\": 1\r\n }\r\n ],\r\n \"cors\": [],\r\n \"capabilities\": [],\r\n \"ipRules\": [],\r\n \"backupPolicy\": {\r\n \"type\": \"Periodic\",\r\n \"periodicModeProperties\": {\r\n \"backupIntervalInMinutes\": 60,\r\n \"backupRetentionIntervalInHours\": 8,\r\n \"backupStorageRedundancy\": \"Geo\"\r\n }\r\n },\r\n \"networkAclBypassResourceIds\": []\r\n },\r\n \"identity\": {\r\n \"type\": \"None\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/resourceGroups/jasontho/providers/Microsoft.DocumentDB/databaseAccounts/jasontho-manydocuments\",\r\n \"name\": \"jasontho-manydocuments\",\r\n \"location\": \"West US 2\",\r\n \"type\": \"Microsoft.DocumentDB/databaseAccounts\",\r\n \"kind\": \"MongoDB\",\r\n \"tags\": {\r\n \"defaultExperience\": \"Azure Cosmos DB for MongoDB API\"\r\n },\r\n \"systemData\": {\r\n \"createdAt\": \"2019-12-05T23:02:39.3105938Z\"\r\n },\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"documentEndpoint\": \"https://jasontho-manydocuments.documents-staging.windows-ppe.net:443/\",\r\n \"mongoEndpoint\": \"https://jasontho-manydocuments.mongo.cosmos.windows-ppe.net:443/\",\r\n \"publicNetworkAccess\": \"Enabled\",\r\n \"enableAutomaticFailover\": false,\r\n \"enableMultipleWriteLocations\": false,\r\n \"enablePartitionKeyMonitor\": false,\r\n \"isVirtualNetworkFilterEnabled\": false,\r\n \"virtualNetworkRules\": [],\r\n \"EnabledApiTypes\": \"MongoDB\",\r\n \"disableKeyBasedMetadataWriteAccess\": false,\r\n \"enableFreeTier\": false,\r\n \"enableAnalyticalStorage\": false,\r\n \"analyticalStorageConfiguration\": null,\r\n \"instanceId\": \"bbb17b25-0fd6-4615-b12c-1d27d5f13401\",\r\n \"createMode\": \"Default\",\r\n \"databaseAccountOfferType\": \"Standard\",\r\n \"enableCassandraConnector\": false,\r\n \"connectorOffer\": \"\",\r\n \"defaultIdentity\": \"\",\r\n \"networkAclBypass\": \"None\",\r\n \"consistencyPolicy\": {\r\n \"defaultConsistencyLevel\": \"Session\",\r\n \"maxIntervalInSeconds\": 5,\r\n \"maxStalenessPrefix\": 100\r\n },\r\n \"apiProperties\": {\r\n \"serverVersion\": \"3.6\"\r\n },\r\n \"configurationOverrides\": {\r\n \"EnableBsonSchema\": \"True\"\r\n },\r\n \"writeLocations\": [\r\n {\r\n \"id\": \"jasontho-manydocuments-westus2\",\r\n \"locationName\": \"West US 2\",\r\n \"documentEndpoint\": \"https://jasontho-manydocuments-westus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"readLocations\": [\r\n {\r\n \"id\": \"jasontho-manydocuments-westus2\",\r\n \"locationName\": \"West US 2\",\r\n \"documentEndpoint\": \"https://jasontho-manydocuments-westus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"locations\": [\r\n {\r\n \"id\": \"jasontho-manydocuments-westus2\",\r\n \"locationName\": \"West US 2\",\r\n \"documentEndpoint\": \"https://jasontho-manydocuments-westus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"failoverPolicies\": [\r\n {\r\n \"id\": \"jasontho-manydocuments-westus2\",\r\n \"locationName\": \"West US 2\",\r\n \"failoverPriority\": 0\r\n }\r\n ],\r\n \"cors\": [],\r\n \"capabilities\": [\r\n {\r\n \"name\": \"EnableMongo\"\r\n }\r\n ],\r\n \"ipRules\": [],\r\n \"backupPolicy\": {\r\n \"type\": \"Periodic\",\r\n \"periodicModeProperties\": {\r\n \"backupIntervalInMinutes\": 240,\r\n \"backupRetentionIntervalInHours\": 8,\r\n \"backupStorageRedundancy\": \"Geo\"\r\n }\r\n },\r\n \"networkAclBypassResourceIds\": []\r\n },\r\n \"identity\": {\r\n \"type\": \"None\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/resourceGroups/kristynh/providers/Microsoft.DocumentDB/databaseAccounts/kristynh-rbac\",\r\n \"name\": \"kristynh-rbac\",\r\n \"location\": \"West US 2\",\r\n \"type\": \"Microsoft.DocumentDB/databaseAccounts\",\r\n \"kind\": \"GlobalDocumentDB\",\r\n \"tags\": {\r\n \"defaultExperience\": \"Core (SQL)\",\r\n \"hidden-cosmos-mmspecial\": \"\",\r\n \"CosmosAccountType\": \"Non-Production\"\r\n },\r\n \"systemData\": {\r\n \"createdAt\": \"2020-09-11T20:11:35.5618102Z\"\r\n },\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"documentEndpoint\": \"https://kristynh-rbac.documents-staging.windows-ppe.net:443/\",\r\n \"publicNetworkAccess\": \"Enabled\",\r\n \"enableAutomaticFailover\": false,\r\n \"enableMultipleWriteLocations\": false,\r\n \"enablePartitionKeyMonitor\": false,\r\n \"isVirtualNetworkFilterEnabled\": false,\r\n \"virtualNetworkRules\": [],\r\n \"EnabledApiTypes\": \"Sql\",\r\n \"disableKeyBasedMetadataWriteAccess\": false,\r\n \"enableFreeTier\": false,\r\n \"enableAnalyticalStorage\": false,\r\n \"analyticalStorageConfiguration\": null,\r\n \"instanceId\": \"6d2e96e3-baf1-41fd-a474-2c7758962ae3\",\r\n \"createMode\": \"Default\",\r\n \"databaseAccountOfferType\": \"Standard\",\r\n \"enableCassandraConnector\": false,\r\n \"connectorOffer\": \"\",\r\n \"defaultIdentity\": \"\",\r\n \"networkAclBypass\": \"None\",\r\n \"consistencyPolicy\": {\r\n \"defaultConsistencyLevel\": \"Session\",\r\n \"maxIntervalInSeconds\": 5,\r\n \"maxStalenessPrefix\": 100\r\n },\r\n \"configurationOverrides\": {},\r\n \"writeLocations\": [\r\n {\r\n \"id\": \"kristynh-rbac-westus2\",\r\n \"locationName\": \"West US 2\",\r\n \"documentEndpoint\": \"https://kristynh-rbac-westus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"readLocations\": [\r\n {\r\n \"id\": \"kristynh-rbac-westus2\",\r\n \"locationName\": \"West US 2\",\r\n \"documentEndpoint\": \"https://kristynh-rbac-westus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"locations\": [\r\n {\r\n \"id\": \"kristynh-rbac-westus2\",\r\n \"locationName\": \"West US 2\",\r\n \"documentEndpoint\": \"https://kristynh-rbac-westus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"failoverPolicies\": [\r\n {\r\n \"id\": \"kristynh-rbac-westus2\",\r\n \"locationName\": \"West US 2\",\r\n \"failoverPriority\": 0\r\n }\r\n ],\r\n \"cors\": [],\r\n \"capabilities\": [],\r\n \"ipRules\": [],\r\n \"backupPolicy\": {\r\n \"type\": \"Periodic\",\r\n \"periodicModeProperties\": {\r\n \"backupIntervalInMinutes\": 240,\r\n \"backupRetentionIntervalInHours\": 8,\r\n \"backupStorageRedundancy\": \"Geo\"\r\n }\r\n },\r\n \"networkAclBypassResourceIds\": []\r\n },\r\n \"identity\": {\r\n \"type\": \"None\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/resourceGroups/vinh-stage-rp/providers/Microsoft.DocumentDB/databaseAccounts/jordanstage\",\r\n \"name\": \"jordanstage\",\r\n \"location\": \"West US 2\",\r\n \"type\": \"Microsoft.DocumentDB/databaseAccounts\",\r\n \"kind\": \"GlobalDocumentDB\",\r\n \"tags\": {},\r\n \"systemData\": {\r\n \"createdAt\": \"2019-08-12T18:13:57.3416092Z\"\r\n },\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"documentEndpoint\": \"https://jordanstage.documents-staging.windows-ppe.net:443/\",\r\n \"publicNetworkAccess\": \"Enabled\",\r\n \"enableAutomaticFailover\": false,\r\n \"enableMultipleWriteLocations\": false,\r\n \"enablePartitionKeyMonitor\": false,\r\n \"isVirtualNetworkFilterEnabled\": false,\r\n \"virtualNetworkRules\": [],\r\n \"EnabledApiTypes\": \"Sql\",\r\n \"disableKeyBasedMetadataWriteAccess\": false,\r\n \"enableFreeTier\": false,\r\n \"enableAnalyticalStorage\": false,\r\n \"analyticalStorageConfiguration\": null,\r\n \"instanceId\": \"8af36c1f-0f77-4919-9c3e-95491e4b582c\",\r\n \"createMode\": \"Default\",\r\n \"databaseAccountOfferType\": \"Standard\",\r\n \"enableCassandraConnector\": false,\r\n \"connectorOffer\": \"\",\r\n \"defaultIdentity\": \"\",\r\n \"networkAclBypass\": \"None\",\r\n \"consistencyPolicy\": {\r\n \"defaultConsistencyLevel\": \"Session\",\r\n \"maxIntervalInSeconds\": 5,\r\n \"maxStalenessPrefix\": 100\r\n },\r\n \"configurationOverrides\": {},\r\n \"writeLocations\": [\r\n {\r\n \"id\": \"jordanstage-westus2\",\r\n \"locationName\": \"West US 2\",\r\n \"documentEndpoint\": \"https://jordanstage-westus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"readLocations\": [\r\n {\r\n \"id\": \"jordanstage-westus2\",\r\n \"locationName\": \"West US 2\",\r\n \"documentEndpoint\": \"https://jordanstage-westus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n },\r\n {\r\n \"id\": \"jordanstage-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://jordanstage-eastus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 1,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"locations\": [\r\n {\r\n \"id\": \"jordanstage-westus2\",\r\n \"locationName\": \"West US 2\",\r\n \"documentEndpoint\": \"https://jordanstage-westus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n },\r\n {\r\n \"id\": \"jordanstage-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://jordanstage-eastus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 1,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"failoverPolicies\": [\r\n {\r\n \"id\": \"jordanstage-westus2\",\r\n \"locationName\": \"West US 2\",\r\n \"failoverPriority\": 0\r\n },\r\n {\r\n \"id\": \"jordanstage-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"failoverPriority\": 1\r\n }\r\n ],\r\n \"cors\": [],\r\n \"capabilities\": [],\r\n \"ipRules\": [],\r\n \"backupPolicy\": {\r\n \"type\": \"Periodic\",\r\n \"periodicModeProperties\": {\r\n \"backupIntervalInMinutes\": 240,\r\n \"backupRetentionIntervalInHours\": 8,\r\n \"backupStorageRedundancy\": \"Geo\"\r\n }\r\n },\r\n \"networkAclBypassResourceIds\": []\r\n },\r\n \"identity\": {\r\n \"type\": \"None\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/resourceGroups/vinh-stage-rp/providers/Microsoft.DocumentDB/databaseAccounts/vinh2stage\",\r\n \"name\": \"vinh2stage\",\r\n \"location\": \"West US 2\",\r\n \"type\": \"Microsoft.DocumentDB/databaseAccounts\",\r\n \"kind\": \"GlobalDocumentDB\",\r\n \"tags\": {},\r\n \"systemData\": {\r\n \"createdAt\": \"2019-11-22T21:43:30.7934443Z\"\r\n },\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"documentEndpoint\": \"https://vinh2stage.documents-staging.windows-ppe.net:443/\",\r\n \"publicNetworkAccess\": \"Enabled\",\r\n \"enableAutomaticFailover\": true,\r\n \"enableMultipleWriteLocations\": false,\r\n \"enablePartitionKeyMonitor\": false,\r\n \"isVirtualNetworkFilterEnabled\": false,\r\n \"virtualNetworkRules\": [],\r\n \"EnabledApiTypes\": \"Sql\",\r\n \"disableKeyBasedMetadataWriteAccess\": false,\r\n \"enableFreeTier\": false,\r\n \"enableAnalyticalStorage\": false,\r\n \"analyticalStorageConfiguration\": null,\r\n \"instanceId\": \"83891f9d-eb4a-4ccd-be8f-a5928c84de73\",\r\n \"createMode\": \"Default\",\r\n \"databaseAccountOfferType\": \"Standard\",\r\n \"enableCassandraConnector\": false,\r\n \"connectorOffer\": \"\",\r\n \"defaultIdentity\": \"\",\r\n \"networkAclBypass\": \"None\",\r\n \"consistencyPolicy\": {\r\n \"defaultConsistencyLevel\": \"Session\",\r\n \"maxIntervalInSeconds\": 5,\r\n \"maxStalenessPrefix\": 100\r\n },\r\n \"configurationOverrides\": {},\r\n \"writeLocations\": [\r\n {\r\n \"id\": \"vinh2stage-northcentralus\",\r\n \"locationName\": \"North Central US\",\r\n \"documentEndpoint\": \"https://vinh2stage-northcentralus.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"readLocations\": [\r\n {\r\n \"id\": \"vinh2stage-northcentralus\",\r\n \"locationName\": \"North Central US\",\r\n \"documentEndpoint\": \"https://vinh2stage-northcentralus.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"locations\": [\r\n {\r\n \"id\": \"vinh2stage-northcentralus\",\r\n \"locationName\": \"North Central US\",\r\n \"documentEndpoint\": \"https://vinh2stage-northcentralus.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"failoverPolicies\": [\r\n {\r\n \"id\": \"vinh2stage-northcentralus\",\r\n \"locationName\": \"North Central US\",\r\n \"failoverPriority\": 0\r\n }\r\n ],\r\n \"cors\": [],\r\n \"capabilities\": [],\r\n \"ipRules\": [],\r\n \"backupPolicy\": {\r\n \"type\": \"Periodic\",\r\n \"periodicModeProperties\": {\r\n \"backupIntervalInMinutes\": 60,\r\n \"backupRetentionIntervalInHours\": 8,\r\n \"backupStorageRedundancy\": \"Geo\"\r\n }\r\n },\r\n \"networkAclBypassResourceIds\": []\r\n },\r\n \"identity\": {\r\n \"type\": \"None\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/resourceGroups/yungyang-test-rg/providers/Microsoft.DocumentDB/databaseAccounts/yungyang-test3\",\r\n \"name\": \"yungyang-test3\",\r\n \"location\": \"West US 2\",\r\n \"type\": \"Microsoft.DocumentDB/databaseAccounts\",\r\n \"kind\": \"GlobalDocumentDB\",\r\n \"tags\": {\r\n \"defaultExperience\": \"Core (SQL)\",\r\n \"hidden-cosmos-mmspecial\": \"\",\r\n \"CosmosAccountType\": \"Non-Production\"\r\n },\r\n \"systemData\": {\r\n \"createdAt\": \"2020-03-02T20:11:57.7163107Z\"\r\n },\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"documentEndpoint\": \"https://yungyang-test3.documents-staging.windows-ppe.net:443/\",\r\n \"publicNetworkAccess\": \"Enabled\",\r\n \"enableAutomaticFailover\": false,\r\n \"enableMultipleWriteLocations\": false,\r\n \"enablePartitionKeyMonitor\": false,\r\n \"isVirtualNetworkFilterEnabled\": false,\r\n \"virtualNetworkRules\": [],\r\n \"EnabledApiTypes\": \"Sql\",\r\n \"disableKeyBasedMetadataWriteAccess\": false,\r\n \"enableFreeTier\": false,\r\n \"enableAnalyticalStorage\": false,\r\n \"analyticalStorageConfiguration\": null,\r\n \"instanceId\": \"a9ebee1a-1f6f-44a3-9dcc-2f429e2325ec\",\r\n \"createMode\": \"Default\",\r\n \"databaseAccountOfferType\": \"Standard\",\r\n \"enableCassandraConnector\": false,\r\n \"connectorOffer\": \"\",\r\n \"defaultIdentity\": \"\",\r\n \"networkAclBypass\": \"None\",\r\n \"consistencyPolicy\": {\r\n \"defaultConsistencyLevel\": \"Session\",\r\n \"maxIntervalInSeconds\": 5,\r\n \"maxStalenessPrefix\": 100\r\n },\r\n \"configurationOverrides\": {},\r\n \"writeLocations\": [\r\n {\r\n \"id\": \"yungyang-test3-westus2\",\r\n \"locationName\": \"West US 2\",\r\n \"documentEndpoint\": \"https://yungyang-test3-westus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"readLocations\": [\r\n {\r\n \"id\": \"yungyang-test3-westus2\",\r\n \"locationName\": \"West US 2\",\r\n \"documentEndpoint\": \"https://yungyang-test3-westus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"locations\": [\r\n {\r\n \"id\": \"yungyang-test3-westus2\",\r\n \"locationName\": \"West US 2\",\r\n \"documentEndpoint\": \"https://yungyang-test3-westus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"failoverPolicies\": [\r\n {\r\n \"id\": \"yungyang-test3-westus2\",\r\n \"locationName\": \"West US 2\",\r\n \"failoverPriority\": 0\r\n }\r\n ],\r\n \"cors\": [],\r\n \"capabilities\": [\r\n {\r\n \"name\": \"EnableStorageAnalytics\"\r\n }\r\n ],\r\n \"ipRules\": [],\r\n \"backupPolicy\": {\r\n \"type\": \"Periodic\",\r\n \"periodicModeProperties\": {\r\n \"backupIntervalInMinutes\": 60,\r\n \"backupRetentionIntervalInHours\": 8,\r\n \"backupStorageRedundancy\": \"Geo\"\r\n }\r\n },\r\n \"networkAclBypassResourceIds\": []\r\n },\r\n \"identity\": {\r\n \"type\": \"None\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/resourceGroups/ragil/providers/Microsoft.DocumentDB/databaseAccounts/ragil-autoscale1\",\r\n \"name\": \"ragil-autoscale1\",\r\n \"location\": \"West US 2\",\r\n \"type\": \"Microsoft.DocumentDB/databaseAccounts\",\r\n \"kind\": \"GlobalDocumentDB\",\r\n \"tags\": {\r\n \"defaultExperience\": \"Core (SQL)\",\r\n \"hidden-cosmos-mmspecial\": \"\",\r\n \"CosmosAccountType\": \"Non-Production\"\r\n },\r\n \"systemData\": {\r\n \"createdAt\": \"2020-05-14T19:07:35.7285341Z\"\r\n },\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"documentEndpoint\": \"https://ragil-autoscale1.documents-staging.windows-ppe.net:443/\",\r\n \"publicNetworkAccess\": \"Enabled\",\r\n \"enableAutomaticFailover\": false,\r\n \"enableMultipleWriteLocations\": false,\r\n \"enablePartitionKeyMonitor\": false,\r\n \"isVirtualNetworkFilterEnabled\": false,\r\n \"virtualNetworkRules\": [],\r\n \"EnabledApiTypes\": \"Sql\",\r\n \"disableKeyBasedMetadataWriteAccess\": false,\r\n \"enableFreeTier\": false,\r\n \"enableAnalyticalStorage\": true,\r\n \"analyticalStorageConfiguration\": null,\r\n \"instanceId\": \"edad7712-57db-4a14-bb82-ee0568dd2e8e\",\r\n \"createMode\": \"Default\",\r\n \"databaseAccountOfferType\": \"Standard\",\r\n \"enableCassandraConnector\": false,\r\n \"connectorOffer\": \"\",\r\n \"defaultIdentity\": \"\",\r\n \"networkAclBypass\": \"None\",\r\n \"consistencyPolicy\": {\r\n \"defaultConsistencyLevel\": \"Session\",\r\n \"maxIntervalInSeconds\": 5,\r\n \"maxStalenessPrefix\": 100\r\n },\r\n \"configurationOverrides\": {},\r\n \"writeLocations\": [\r\n {\r\n \"id\": \"ragil-autoscale1-westus2\",\r\n \"locationName\": \"West US 2\",\r\n \"documentEndpoint\": \"https://ragil-autoscale1-westus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"readLocations\": [\r\n {\r\n \"id\": \"ragil-autoscale1-westus2\",\r\n \"locationName\": \"West US 2\",\r\n \"documentEndpoint\": \"https://ragil-autoscale1-westus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"locations\": [\r\n {\r\n \"id\": \"ragil-autoscale1-westus2\",\r\n \"locationName\": \"West US 2\",\r\n \"documentEndpoint\": \"https://ragil-autoscale1-westus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"failoverPolicies\": [\r\n {\r\n \"id\": \"ragil-autoscale1-westus2\",\r\n \"locationName\": \"West US 2\",\r\n \"failoverPriority\": 0\r\n }\r\n ],\r\n \"cors\": [],\r\n \"capabilities\": [],\r\n \"ipRules\": [],\r\n \"backupPolicy\": {\r\n \"type\": \"Periodic\",\r\n \"periodicModeProperties\": {\r\n \"backupIntervalInMinutes\": 60,\r\n \"backupRetentionIntervalInHours\": 8,\r\n \"backupStorageRedundancy\": \"Geo\"\r\n }\r\n },\r\n \"networkAclBypassResourceIds\": []\r\n },\r\n \"identity\": {\r\n \"type\": \"None\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/resourceGroups/ragil/providers/Microsoft.DocumentDB/databaseAccounts/rav-test\",\r\n \"name\": \"rav-test\",\r\n \"location\": \"West US 2\",\r\n \"type\": \"Microsoft.DocumentDB/databaseAccounts\",\r\n \"kind\": \"GlobalDocumentDB\",\r\n \"tags\": {\r\n \"defaultExperience\": \"Azure Table\",\r\n \"hidden-cosmos-mmspecial\": \"\",\r\n \"CosmosAccountType\": \"Non-Production\"\r\n },\r\n \"systemData\": {\r\n \"createdAt\": \"2020-09-04T18:07:47.2390398Z\"\r\n },\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"documentEndpoint\": \"https://rav-test.documents-staging.windows-ppe.net:443/\",\r\n \"tableEndpoint\": \"https://rav-test.table.cosmos.windows-ppe.net:443/\",\r\n \"publicNetworkAccess\": \"Enabled\",\r\n \"enableAutomaticFailover\": false,\r\n \"enableMultipleWriteLocations\": false,\r\n \"enablePartitionKeyMonitor\": false,\r\n \"isVirtualNetworkFilterEnabled\": false,\r\n \"virtualNetworkRules\": [],\r\n \"EnabledApiTypes\": \"Table, Sql\",\r\n \"disableKeyBasedMetadataWriteAccess\": false,\r\n \"enableFreeTier\": false,\r\n \"enableAnalyticalStorage\": false,\r\n \"analyticalStorageConfiguration\": null,\r\n \"instanceId\": \"4c530dfb-4e92-49ea-be7f-20f65fc9545c\",\r\n \"createMode\": \"Default\",\r\n \"databaseAccountOfferType\": \"Standard\",\r\n \"enableCassandraConnector\": false,\r\n \"connectorOffer\": \"\",\r\n \"defaultIdentity\": \"\",\r\n \"networkAclBypass\": \"None\",\r\n \"consistencyPolicy\": {\r\n \"defaultConsistencyLevel\": \"BoundedStaleness\",\r\n \"maxIntervalInSeconds\": 86400,\r\n \"maxStalenessPrefix\": 1000000\r\n },\r\n \"configurationOverrides\": {},\r\n \"writeLocations\": [\r\n {\r\n \"id\": \"rav-test-westus2\",\r\n \"locationName\": \"West US 2\",\r\n \"documentEndpoint\": \"https://rav-test-westus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"readLocations\": [\r\n {\r\n \"id\": \"rav-test-westus2\",\r\n \"locationName\": \"West US 2\",\r\n \"documentEndpoint\": \"https://rav-test-westus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"locations\": [\r\n {\r\n \"id\": \"rav-test-westus2\",\r\n \"locationName\": \"West US 2\",\r\n \"documentEndpoint\": \"https://rav-test-westus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"failoverPolicies\": [\r\n {\r\n \"id\": \"rav-test-westus2\",\r\n \"locationName\": \"West US 2\",\r\n \"failoverPriority\": 0\r\n }\r\n ],\r\n \"cors\": [],\r\n \"capabilities\": [\r\n {\r\n \"name\": \"EnableTable\"\r\n }\r\n ],\r\n \"ipRules\": [],\r\n \"backupPolicy\": {\r\n \"type\": \"Periodic\",\r\n \"periodicModeProperties\": {\r\n \"backupIntervalInMinutes\": 240,\r\n \"backupRetentionIntervalInHours\": 8,\r\n \"backupStorageRedundancy\": \"Geo\"\r\n }\r\n },\r\n \"networkAclBypassResourceIds\": []\r\n },\r\n \"identity\": {\r\n \"type\": \"None\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/resourceGroups/cassandra-stage-signoff-sea1/providers/Microsoft.DocumentDB/databaseAccounts/shatritestpolicystore\",\r\n \"name\": \"shatritestpolicystore\",\r\n \"location\": \"West US 2\",\r\n \"type\": \"Microsoft.DocumentDB/databaseAccounts\",\r\n \"kind\": \"GlobalDocumentDB\",\r\n \"tags\": {\r\n \"defaultExperience\": \"Cassandra\"\r\n },\r\n \"systemData\": {\r\n \"createdAt\": \"2019-01-03T22:02:23.1932563Z\"\r\n },\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"documentEndpoint\": \"https://shatritestpolicystore.documents-staging.windows-ppe.net:443/\",\r\n \"cassandraEndpoint\": \"https://shatritestpolicystore.cassandra.cosmosdb.windows-ppe.net:443/\",\r\n \"publicNetworkAccess\": \"Enabled\",\r\n \"enableAutomaticFailover\": false,\r\n \"enableMultipleWriteLocations\": false,\r\n \"enablePartitionKeyMonitor\": false,\r\n \"isVirtualNetworkFilterEnabled\": false,\r\n \"virtualNetworkRules\": [],\r\n \"EnabledApiTypes\": \"Cassandra\",\r\n \"disableKeyBasedMetadataWriteAccess\": false,\r\n \"enableFreeTier\": false,\r\n \"enableAnalyticalStorage\": false,\r\n \"analyticalStorageConfiguration\": null,\r\n \"instanceId\": \"88c4b305-a55e-463c-aa1d-eb57a17fac48\",\r\n \"createMode\": \"Default\",\r\n \"databaseAccountOfferType\": \"Standard\",\r\n \"defaultIdentity\": \"\",\r\n \"networkAclBypass\": \"None\",\r\n \"consistencyPolicy\": {\r\n \"defaultConsistencyLevel\": \"Session\",\r\n \"maxIntervalInSeconds\": 5,\r\n \"maxStalenessPrefix\": 100\r\n },\r\n \"configurationOverrides\": {},\r\n \"writeLocations\": [\r\n {\r\n \"id\": \"shatritestpolicystore-westus2\",\r\n \"locationName\": \"West US 2\",\r\n \"documentEndpoint\": \"https://shatritestpolicystore-westus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"readLocations\": [\r\n {\r\n \"id\": \"shatritestpolicystore-westus2\",\r\n \"locationName\": \"West US 2\",\r\n \"documentEndpoint\": \"https://shatritestpolicystore-westus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"locations\": [\r\n {\r\n \"id\": \"shatritestpolicystore-westus2\",\r\n \"locationName\": \"West US 2\",\r\n \"documentEndpoint\": \"https://shatritestpolicystore-westus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"failoverPolicies\": [\r\n {\r\n \"id\": \"shatritestpolicystore-westus2\",\r\n \"locationName\": \"West US 2\",\r\n \"failoverPriority\": 0\r\n }\r\n ],\r\n \"cors\": [],\r\n \"capabilities\": [\r\n {\r\n \"name\": \"EnableCassandra\"\r\n }\r\n ],\r\n \"ipRules\": [],\r\n \"backupPolicy\": {\r\n \"type\": \"Periodic\",\r\n \"periodicModeProperties\": {\r\n \"backupIntervalInMinutes\": 240,\r\n \"backupRetentionIntervalInHours\": 8,\r\n \"backupStorageRedundancy\": \"Geo\"\r\n }\r\n },\r\n \"networkAclBypassResourceIds\": []\r\n },\r\n \"identity\": {\r\n \"type\": \"None\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/resourceGroups/table-stage-signoff/providers/Microsoft.DocumentDB/databaseAccounts/tablestageperf\",\r\n \"name\": \"tablestageperf\",\r\n \"location\": \"West US 2\",\r\n \"type\": \"Microsoft.DocumentDB/databaseAccounts\",\r\n \"kind\": \"GlobalDocumentDB\",\r\n \"tags\": {\r\n \"defaultExperience\": \"Azure Table\",\r\n \"hidden-cosmos-mmspecial\": \"\",\r\n \"CosmosAccountType\": \"Non-Production\"\r\n },\r\n \"systemData\": {\r\n \"createdAt\": \"2020-06-04T23:07:12.1018565Z\"\r\n },\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"documentEndpoint\": \"https://tablestageperf.documents-staging.windows-ppe.net:443/\",\r\n \"tableEndpoint\": \"https://tablestageperf.table.cosmos.windows-ppe.net:443/\",\r\n \"publicNetworkAccess\": \"Enabled\",\r\n \"enableAutomaticFailover\": false,\r\n \"enableMultipleWriteLocations\": false,\r\n \"enablePartitionKeyMonitor\": false,\r\n \"isVirtualNetworkFilterEnabled\": false,\r\n \"virtualNetworkRules\": [],\r\n \"EnabledApiTypes\": \"Table, Sql\",\r\n \"disableKeyBasedMetadataWriteAccess\": false,\r\n \"enableFreeTier\": false,\r\n \"enableAnalyticalStorage\": false,\r\n \"analyticalStorageConfiguration\": null,\r\n \"instanceId\": \"65b9f6d7-ae38-4544-9796-747de97c3a59\",\r\n \"createMode\": \"Default\",\r\n \"databaseAccountOfferType\": \"Standard\",\r\n \"enableCassandraConnector\": false,\r\n \"connectorOffer\": \"\",\r\n \"defaultIdentity\": \"\",\r\n \"networkAclBypass\": \"None\",\r\n \"consistencyPolicy\": {\r\n \"defaultConsistencyLevel\": \"BoundedStaleness\",\r\n \"maxIntervalInSeconds\": 86400,\r\n \"maxStalenessPrefix\": 1000000\r\n },\r\n \"configurationOverrides\": {},\r\n \"writeLocations\": [\r\n {\r\n \"id\": \"tablestageperf-westus2\",\r\n \"locationName\": \"West US 2\",\r\n \"documentEndpoint\": \"https://tablestageperf-westus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"readLocations\": [\r\n {\r\n \"id\": \"tablestageperf-westus2\",\r\n \"locationName\": \"West US 2\",\r\n \"documentEndpoint\": \"https://tablestageperf-westus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"locations\": [\r\n {\r\n \"id\": \"tablestageperf-westus2\",\r\n \"locationName\": \"West US 2\",\r\n \"documentEndpoint\": \"https://tablestageperf-westus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"failoverPolicies\": [\r\n {\r\n \"id\": \"tablestageperf-westus2\",\r\n \"locationName\": \"West US 2\",\r\n \"failoverPriority\": 0\r\n }\r\n ],\r\n \"cors\": [],\r\n \"capabilities\": [\r\n {\r\n \"name\": \"EnableTable\"\r\n }\r\n ],\r\n \"ipRules\": [],\r\n \"backupPolicy\": {\r\n \"type\": \"Periodic\",\r\n \"periodicModeProperties\": {\r\n \"backupIntervalInMinutes\": 60,\r\n \"backupRetentionIntervalInHours\": 8,\r\n \"backupStorageRedundancy\": \"Geo\"\r\n }\r\n },\r\n \"networkAclBypassResourceIds\": []\r\n },\r\n \"identity\": {\r\n \"type\": \"None\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/resourceGroups/abinav_stage_rg/providers/Microsoft.DocumentDB/databaseAccounts/testcassandrastage123\",\r\n \"name\": \"testcassandrastage123\",\r\n \"location\": \"West US 2\",\r\n \"type\": \"Microsoft.DocumentDB/databaseAccounts\",\r\n \"kind\": \"GlobalDocumentDB\",\r\n \"tags\": {\r\n \"defaultExperience\": \"Cassandra\"\r\n },\r\n \"systemData\": {\r\n \"createdAt\": \"2018-11-21T17:47:46.0542311Z\"\r\n },\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"documentEndpoint\": \"https://testcassandrastage123.documents-staging.windows-ppe.net:443/\",\r\n \"cassandraEndpoint\": \"https://testcassandrastage123.cassandra.cosmosdb.windows-ppe.net:443/\",\r\n \"publicNetworkAccess\": \"Enabled\",\r\n \"enableAutomaticFailover\": false,\r\n \"enableMultipleWriteLocations\": true,\r\n \"enablePartitionKeyMonitor\": false,\r\n \"isVirtualNetworkFilterEnabled\": false,\r\n \"virtualNetworkRules\": [],\r\n \"EnabledApiTypes\": \"Cassandra\",\r\n \"disableKeyBasedMetadataWriteAccess\": false,\r\n \"enableFreeTier\": false,\r\n \"enableAnalyticalStorage\": false,\r\n \"analyticalStorageConfiguration\": null,\r\n \"instanceId\": \"fd490572-edba-460b-aa5a-afa1699638e4\",\r\n \"createMode\": \"Default\",\r\n \"databaseAccountOfferType\": \"Standard\",\r\n \"defaultIdentity\": \"\",\r\n \"networkAclBypass\": \"None\",\r\n \"consistencyPolicy\": {\r\n \"defaultConsistencyLevel\": \"Session\",\r\n \"maxIntervalInSeconds\": 5,\r\n \"maxStalenessPrefix\": 100\r\n },\r\n \"configurationOverrides\": {},\r\n \"writeLocations\": [\r\n {\r\n \"id\": \"testcassandrastage123-westus2\",\r\n \"locationName\": \"West US 2\",\r\n \"documentEndpoint\": \"https://testcassandrastage123-westus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"readLocations\": [\r\n {\r\n \"id\": \"testcassandrastage123-westus2\",\r\n \"locationName\": \"West US 2\",\r\n \"documentEndpoint\": \"https://testcassandrastage123-westus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"locations\": [\r\n {\r\n \"id\": \"testcassandrastage123-westus2\",\r\n \"locationName\": \"West US 2\",\r\n \"documentEndpoint\": \"https://testcassandrastage123-westus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"failoverPolicies\": [\r\n {\r\n \"id\": \"testcassandrastage123-westus2\",\r\n \"locationName\": \"West US 2\",\r\n \"failoverPriority\": 0\r\n }\r\n ],\r\n \"cors\": [],\r\n \"capabilities\": [\r\n {\r\n \"name\": \"EnableCassandra\"\r\n }\r\n ],\r\n \"ipRules\": [],\r\n \"backupPolicy\": {\r\n \"type\": \"Periodic\",\r\n \"periodicModeProperties\": {\r\n \"backupIntervalInMinutes\": 240,\r\n \"backupRetentionIntervalInHours\": 8,\r\n \"backupStorageRedundancy\": \"Geo\"\r\n }\r\n },\r\n \"networkAclBypassResourceIds\": []\r\n },\r\n \"identity\": {\r\n \"type\": \"None\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/resourceGroups/analytics/providers/Microsoft.DocumentDB/databaseAccounts/testupdatedcapprejain\",\r\n \"name\": \"testupdatedcapprejain\",\r\n \"location\": \"West US 2\",\r\n \"type\": \"Microsoft.DocumentDB/databaseAccounts\",\r\n \"kind\": \"GlobalDocumentDB\",\r\n \"tags\": {\r\n \"defaultExperience\": \"Core (SQL)\",\r\n \"hidden-cosmos-mmspecial\": \"\",\r\n \"CosmosAccountType\": \"Non-Production\"\r\n },\r\n \"systemData\": {\r\n \"createdAt\": \"2020-05-27T00:30:15.9722043Z\"\r\n },\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"documentEndpoint\": \"https://testupdatedcapprejain.documents-staging.windows-ppe.net:443/\",\r\n \"publicNetworkAccess\": \"Enabled\",\r\n \"enableAutomaticFailover\": false,\r\n \"enableMultipleWriteLocations\": false,\r\n \"enablePartitionKeyMonitor\": false,\r\n \"isVirtualNetworkFilterEnabled\": false,\r\n \"virtualNetworkRules\": [],\r\n \"EnabledApiTypes\": \"Sql\",\r\n \"disableKeyBasedMetadataWriteAccess\": false,\r\n \"enableFreeTier\": false,\r\n \"enableAnalyticalStorage\": false,\r\n \"analyticalStorageConfiguration\": null,\r\n \"instanceId\": \"167927f0-ce3e-478d-8c44-ae2bda0db443\",\r\n \"createMode\": \"Default\",\r\n \"databaseAccountOfferType\": \"Standard\",\r\n \"enableCassandraConnector\": false,\r\n \"connectorOffer\": \"\",\r\n \"defaultIdentity\": \"\",\r\n \"networkAclBypass\": \"None\",\r\n \"consistencyPolicy\": {\r\n \"defaultConsistencyLevel\": \"Session\",\r\n \"maxIntervalInSeconds\": 5,\r\n \"maxStalenessPrefix\": 100\r\n },\r\n \"configurationOverrides\": {},\r\n \"writeLocations\": [\r\n {\r\n \"id\": \"testupdatedcapprejain-westus2\",\r\n \"locationName\": \"West US 2\",\r\n \"documentEndpoint\": \"https://testupdatedcapprejain-westus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"readLocations\": [\r\n {\r\n \"id\": \"testupdatedcapprejain-westus2\",\r\n \"locationName\": \"West US 2\",\r\n \"documentEndpoint\": \"https://testupdatedcapprejain-westus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"locations\": [\r\n {\r\n \"id\": \"testupdatedcapprejain-westus2\",\r\n \"locationName\": \"West US 2\",\r\n \"documentEndpoint\": \"https://testupdatedcapprejain-westus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"failoverPolicies\": [\r\n {\r\n \"id\": \"testupdatedcapprejain-westus2\",\r\n \"locationName\": \"West US 2\",\r\n \"failoverPriority\": 0\r\n }\r\n ],\r\n \"cors\": [],\r\n \"capabilities\": [],\r\n \"ipRules\": [],\r\n \"backupPolicy\": {\r\n \"type\": \"Periodic\",\r\n \"periodicModeProperties\": {\r\n \"backupIntervalInMinutes\": 60,\r\n \"backupRetentionIntervalInHours\": 8,\r\n \"backupStorageRedundancy\": \"Geo\"\r\n }\r\n },\r\n \"networkAclBypassResourceIds\": []\r\n },\r\n \"identity\": {\r\n \"type\": \"None\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/resourceGroups/jasontho/providers/Microsoft.DocumentDB/databaseAccounts/jasontho-stagetest\",\r\n \"name\": \"jasontho-stagetest\",\r\n \"location\": \"West US 2\",\r\n \"type\": \"Microsoft.DocumentDB/databaseAccounts\",\r\n \"kind\": \"MongoDB\",\r\n \"tags\": {\r\n \"defaultExperience\": \"Azure Cosmos DB for MongoDB API\"\r\n },\r\n \"systemData\": {\r\n \"createdAt\": \"2019-12-05T04:46:51.1089085Z\"\r\n },\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"documentEndpoint\": \"https://jasontho-stagetest.documents-staging.windows-ppe.net:443/\",\r\n \"mongoEndpoint\": \"https://jasontho-stagetest.mongo.cosmos.windows-ppe.net:443/\",\r\n \"publicNetworkAccess\": \"Enabled\",\r\n \"enableAutomaticFailover\": false,\r\n \"enableMultipleWriteLocations\": false,\r\n \"enablePartitionKeyMonitor\": false,\r\n \"isVirtualNetworkFilterEnabled\": false,\r\n \"virtualNetworkRules\": [],\r\n \"EnabledApiTypes\": \"MongoDB\",\r\n \"disableKeyBasedMetadataWriteAccess\": false,\r\n \"enableFreeTier\": false,\r\n \"enableAnalyticalStorage\": false,\r\n \"analyticalStorageConfiguration\": null,\r\n \"instanceId\": \"8e6dd47b-b9e8-4034-97d7-435691d2574b\",\r\n \"createMode\": \"Default\",\r\n \"databaseAccountOfferType\": \"Standard\",\r\n \"enableCassandraConnector\": false,\r\n \"connectorOffer\": \"\",\r\n \"defaultIdentity\": \"\",\r\n \"networkAclBypass\": \"None\",\r\n \"consistencyPolicy\": {\r\n \"defaultConsistencyLevel\": \"Session\",\r\n \"maxIntervalInSeconds\": 5,\r\n \"maxStalenessPrefix\": 100\r\n },\r\n \"apiProperties\": {\r\n \"serverVersion\": \"3.6\"\r\n },\r\n \"configurationOverrides\": {\r\n \"EnableBsonSchema\": \"True\"\r\n },\r\n \"writeLocations\": [\r\n {\r\n \"id\": \"jasontho-stagetest-westus2\",\r\n \"locationName\": \"West US 2\",\r\n \"documentEndpoint\": \"https://jasontho-stagetest-westus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"readLocations\": [\r\n {\r\n \"id\": \"jasontho-stagetest-westus2\",\r\n \"locationName\": \"West US 2\",\r\n \"documentEndpoint\": \"https://jasontho-stagetest-westus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"locations\": [\r\n {\r\n \"id\": \"jasontho-stagetest-westus2\",\r\n \"locationName\": \"West US 2\",\r\n \"documentEndpoint\": \"https://jasontho-stagetest-westus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"failoverPolicies\": [\r\n {\r\n \"id\": \"jasontho-stagetest-westus2\",\r\n \"locationName\": \"West US 2\",\r\n \"failoverPriority\": 0\r\n }\r\n ],\r\n \"cors\": [],\r\n \"capabilities\": [\r\n {\r\n \"name\": \"EnableMongo\"\r\n }\r\n ],\r\n \"ipRules\": [],\r\n \"backupPolicy\": {\r\n \"type\": \"Periodic\",\r\n \"periodicModeProperties\": {\r\n \"backupIntervalInMinutes\": 60,\r\n \"backupRetentionIntervalInHours\": 8,\r\n \"backupStorageRedundancy\": \"Geo\"\r\n }\r\n },\r\n \"networkAclBypassResourceIds\": []\r\n },\r\n \"identity\": {\r\n \"type\": \"None\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/resourceGroups/ktresources/providers/Microsoft.DocumentDB/databaseAccounts/ktstage2\",\r\n \"name\": \"ktstage2\",\r\n \"location\": \"West US 2\",\r\n \"type\": \"Microsoft.DocumentDB/databaseAccounts\",\r\n \"kind\": \"GlobalDocumentDB\",\r\n \"tags\": {\r\n \"defaultExperience\": \"Core (SQL)\"\r\n },\r\n \"systemData\": {\r\n \"createdAt\": \"2019-03-26T00:22:29.6935046Z\"\r\n },\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"documentEndpoint\": \"https://ktstage2.documents-staging.windows-ppe.net:443/\",\r\n \"publicNetworkAccess\": \"Enabled\",\r\n \"enableAutomaticFailover\": false,\r\n \"enableMultipleWriteLocations\": false,\r\n \"enablePartitionKeyMonitor\": false,\r\n \"isVirtualNetworkFilterEnabled\": false,\r\n \"virtualNetworkRules\": [],\r\n \"EnabledApiTypes\": \"Sql\",\r\n \"disableKeyBasedMetadataWriteAccess\": false,\r\n \"enableFreeTier\": false,\r\n \"enableAnalyticalStorage\": false,\r\n \"analyticalStorageConfiguration\": null,\r\n \"instanceId\": \"72e06621-88ce-4674-bfa4-eaa1ce2f4f2c\",\r\n \"createMode\": \"Default\",\r\n \"databaseAccountOfferType\": \"Standard\",\r\n \"defaultIdentity\": \"\",\r\n \"networkAclBypass\": \"None\",\r\n \"consistencyPolicy\": {\r\n \"defaultConsistencyLevel\": \"Session\",\r\n \"maxIntervalInSeconds\": 5,\r\n \"maxStalenessPrefix\": 100\r\n },\r\n \"configurationOverrides\": {},\r\n \"writeLocations\": [\r\n {\r\n \"id\": \"ktstage2-westus2\",\r\n \"locationName\": \"West US 2\",\r\n \"documentEndpoint\": \"https://ktstage2-westus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"readLocations\": [\r\n {\r\n \"id\": \"ktstage2-westus2\",\r\n \"locationName\": \"West US 2\",\r\n \"documentEndpoint\": \"https://ktstage2-westus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"locations\": [\r\n {\r\n \"id\": \"ktstage2-westus2\",\r\n \"locationName\": \"West US 2\",\r\n \"documentEndpoint\": \"https://ktstage2-westus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"failoverPolicies\": [\r\n {\r\n \"id\": \"ktstage2-westus2\",\r\n \"locationName\": \"West US 2\",\r\n \"failoverPriority\": 0\r\n }\r\n ],\r\n \"cors\": [],\r\n \"capabilities\": [],\r\n \"ipRules\": [],\r\n \"backupPolicy\": {\r\n \"type\": \"Periodic\",\r\n \"periodicModeProperties\": {\r\n \"backupIntervalInMinutes\": 240,\r\n \"backupRetentionIntervalInHours\": 8,\r\n \"backupStorageRedundancy\": \"Geo\"\r\n }\r\n },\r\n \"networkAclBypassResourceIds\": []\r\n },\r\n \"identity\": {\r\n \"type\": \"None\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/resourceGroups/shreshts/providers/Microsoft.DocumentDB/databaseAccounts/shreshts-stage-prodarm\",\r\n \"name\": \"shreshts-stage-prodarm\",\r\n \"location\": \"West US 2\",\r\n \"type\": \"Microsoft.DocumentDB/databaseAccounts\",\r\n \"kind\": \"GlobalDocumentDB\",\r\n \"tags\": {\r\n \"defaultExperience\": \"Core (SQL)\"\r\n },\r\n \"systemData\": {\r\n \"createdAt\": \"2019-04-23T17:44:16.9716511Z\"\r\n },\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"documentEndpoint\": \"https://shreshts-stage-prodarm.documents-staging.windows-ppe.net:443/\",\r\n \"publicNetworkAccess\": \"Enabled\",\r\n \"enableAutomaticFailover\": false,\r\n \"enableMultipleWriteLocations\": false,\r\n \"enablePartitionKeyMonitor\": false,\r\n \"isVirtualNetworkFilterEnabled\": false,\r\n \"virtualNetworkRules\": [],\r\n \"EnabledApiTypes\": \"Sql\",\r\n \"disableKeyBasedMetadataWriteAccess\": false,\r\n \"enableFreeTier\": false,\r\n \"enableAnalyticalStorage\": false,\r\n \"analyticalStorageConfiguration\": null,\r\n \"instanceId\": \"9e9dda1a-0ed1-4df5-9d8b-c8503c9c6c6b\",\r\n \"createMode\": \"Default\",\r\n \"databaseAccountOfferType\": \"Standard\",\r\n \"defaultIdentity\": \"\",\r\n \"networkAclBypass\": \"None\",\r\n \"consistencyPolicy\": {\r\n \"defaultConsistencyLevel\": \"Session\",\r\n \"maxIntervalInSeconds\": 5,\r\n \"maxStalenessPrefix\": 100\r\n },\r\n \"configurationOverrides\": {},\r\n \"writeLocations\": [\r\n {\r\n \"id\": \"shreshts-stage-prodarm-westus2\",\r\n \"locationName\": \"West US 2\",\r\n \"documentEndpoint\": \"https://shreshts-stage-prodarm-westus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"readLocations\": [\r\n {\r\n \"id\": \"shreshts-stage-prodarm-westus2\",\r\n \"locationName\": \"West US 2\",\r\n \"documentEndpoint\": \"https://shreshts-stage-prodarm-westus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"locations\": [\r\n {\r\n \"id\": \"shreshts-stage-prodarm-westus2\",\r\n \"locationName\": \"West US 2\",\r\n \"documentEndpoint\": \"https://shreshts-stage-prodarm-westus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"failoverPolicies\": [\r\n {\r\n \"id\": \"shreshts-stage-prodarm-westus2\",\r\n \"locationName\": \"West US 2\",\r\n \"failoverPriority\": 0\r\n }\r\n ],\r\n \"cors\": [],\r\n \"capabilities\": [],\r\n \"ipRules\": [],\r\n \"backupPolicy\": {\r\n \"type\": \"Periodic\",\r\n \"periodicModeProperties\": {\r\n \"backupIntervalInMinutes\": 240,\r\n \"backupRetentionIntervalInHours\": 8,\r\n \"backupStorageRedundancy\": \"Geo\"\r\n }\r\n },\r\n \"networkAclBypassResourceIds\": []\r\n },\r\n \"identity\": {\r\n \"type\": \"None\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/resourceGroups/tamitta/providers/Microsoft.DocumentDB/databaseAccounts/tamitta-stage\",\r\n \"name\": \"tamitta-stage\",\r\n \"location\": \"West US 2\",\r\n \"type\": \"Microsoft.DocumentDB/databaseAccounts\",\r\n \"kind\": \"GlobalDocumentDB\",\r\n \"tags\": {\r\n \"defaultExperience\": \"Core (SQL)\",\r\n \"hidden-cosmos-mmspecial\": \"\",\r\n \"CosmosAccountType\": \"Non-Production\"\r\n },\r\n \"systemData\": {\r\n \"createdAt\": \"2020-07-24T18:01:30.9847186Z\"\r\n },\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"documentEndpoint\": \"https://tamitta-stage.documents-staging.windows-ppe.net:443/\",\r\n \"publicNetworkAccess\": \"Enabled\",\r\n \"enableAutomaticFailover\": false,\r\n \"enableMultipleWriteLocations\": false,\r\n \"enablePartitionKeyMonitor\": false,\r\n \"isVirtualNetworkFilterEnabled\": false,\r\n \"virtualNetworkRules\": [],\r\n \"EnabledApiTypes\": \"Sql\",\r\n \"disableKeyBasedMetadataWriteAccess\": false,\r\n \"enableFreeTier\": false,\r\n \"enableAnalyticalStorage\": false,\r\n \"analyticalStorageConfiguration\": null,\r\n \"instanceId\": \"f92d669f-68f8-4994-a178-ba210a01f259\",\r\n \"createMode\": \"Default\",\r\n \"databaseAccountOfferType\": \"Standard\",\r\n \"enableCassandraConnector\": false,\r\n \"connectorOffer\": \"\",\r\n \"defaultIdentity\": \"\",\r\n \"networkAclBypass\": \"None\",\r\n \"consistencyPolicy\": {\r\n \"defaultConsistencyLevel\": \"Session\",\r\n \"maxIntervalInSeconds\": 5,\r\n \"maxStalenessPrefix\": 100\r\n },\r\n \"configurationOverrides\": {},\r\n \"writeLocations\": [\r\n {\r\n \"id\": \"tamitta-stage-westus2\",\r\n \"locationName\": \"West US 2\",\r\n \"documentEndpoint\": \"https://tamitta-stage-westus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"readLocations\": [\r\n {\r\n \"id\": \"tamitta-stage-westus2\",\r\n \"locationName\": \"West US 2\",\r\n \"documentEndpoint\": \"https://tamitta-stage-westus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"locations\": [\r\n {\r\n \"id\": \"tamitta-stage-westus2\",\r\n \"locationName\": \"West US 2\",\r\n \"documentEndpoint\": \"https://tamitta-stage-westus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"failoverPolicies\": [\r\n {\r\n \"id\": \"tamitta-stage-westus2\",\r\n \"locationName\": \"West US 2\",\r\n \"failoverPriority\": 0\r\n }\r\n ],\r\n \"cors\": [],\r\n \"capabilities\": [],\r\n \"ipRules\": [],\r\n \"backupPolicy\": {\r\n \"type\": \"Periodic\",\r\n \"periodicModeProperties\": {\r\n \"backupIntervalInMinutes\": 240,\r\n \"backupRetentionIntervalInHours\": 8,\r\n \"backupStorageRedundancy\": \"Geo\"\r\n }\r\n },\r\n \"networkAclBypassResourceIds\": []\r\n },\r\n \"identity\": {\r\n \"type\": \"None\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/resourceGroups/abinav_stage_rg/providers/Microsoft.DocumentDB/databaseAccounts/testcosmosdbaccountcreate123\",\r\n \"name\": \"testcosmosdbaccountcreate123\",\r\n \"location\": \"West US 2\",\r\n \"type\": \"Microsoft.DocumentDB/databaseAccounts\",\r\n \"kind\": \"GlobalDocumentDB\",\r\n \"tags\": {\r\n \"defaultExperience\": \"DocumentDB\"\r\n },\r\n \"systemData\": {\r\n \"createdAt\": \"2018-11-21T17:38:24.4681012Z\"\r\n },\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"documentEndpoint\": \"https://testcosmosdbaccountcreate123.documents-staging.windows-ppe.net:443/\",\r\n \"publicNetworkAccess\": \"Enabled\",\r\n \"enableAutomaticFailover\": false,\r\n \"enableMultipleWriteLocations\": true,\r\n \"enablePartitionKeyMonitor\": false,\r\n \"isVirtualNetworkFilterEnabled\": false,\r\n \"virtualNetworkRules\": [],\r\n \"EnabledApiTypes\": \"Sql\",\r\n \"disableKeyBasedMetadataWriteAccess\": false,\r\n \"enableFreeTier\": false,\r\n \"enableAnalyticalStorage\": false,\r\n \"analyticalStorageConfiguration\": null,\r\n \"instanceId\": \"8b9ceea3-8273-4cfa-b2d9-297673b30191\",\r\n \"createMode\": \"Default\",\r\n \"databaseAccountOfferType\": \"Standard\",\r\n \"defaultIdentity\": \"\",\r\n \"networkAclBypass\": \"None\",\r\n \"consistencyPolicy\": {\r\n \"defaultConsistencyLevel\": \"Session\",\r\n \"maxIntervalInSeconds\": 5,\r\n \"maxStalenessPrefix\": 100\r\n },\r\n \"configurationOverrides\": {},\r\n \"writeLocations\": [\r\n {\r\n \"id\": \"testcosmosdbaccountcreate123-westus2\",\r\n \"locationName\": \"West US 2\",\r\n \"documentEndpoint\": \"https://testcosmosdbaccountcreate123-westus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"readLocations\": [\r\n {\r\n \"id\": \"testcosmosdbaccountcreate123-westus2\",\r\n \"locationName\": \"West US 2\",\r\n \"documentEndpoint\": \"https://testcosmosdbaccountcreate123-westus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"locations\": [\r\n {\r\n \"id\": \"testcosmosdbaccountcreate123-westus2\",\r\n \"locationName\": \"West US 2\",\r\n \"documentEndpoint\": \"https://testcosmosdbaccountcreate123-westus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"failoverPolicies\": [\r\n {\r\n \"id\": \"testcosmosdbaccountcreate123-westus2\",\r\n \"locationName\": \"West US 2\",\r\n \"failoverPriority\": 0\r\n }\r\n ],\r\n \"cors\": [],\r\n \"capabilities\": [],\r\n \"ipRules\": [],\r\n \"backupPolicy\": {\r\n \"type\": \"Periodic\",\r\n \"periodicModeProperties\": {\r\n \"backupIntervalInMinutes\": 240,\r\n \"backupRetentionIntervalInHours\": 8,\r\n \"backupStorageRedundancy\": \"Geo\"\r\n }\r\n },\r\n \"networkAclBypassResourceIds\": []\r\n },\r\n \"identity\": {\r\n \"type\": \"None\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/resourceGroups/yungyang-test-rg/providers/Microsoft.DocumentDB/databaseAccounts/yungyang-stageaccount\",\r\n \"name\": \"yungyang-stageaccount\",\r\n \"location\": \"West US 2\",\r\n \"type\": \"Microsoft.DocumentDB/databaseAccounts\",\r\n \"kind\": \"GlobalDocumentDB\",\r\n \"tags\": {\r\n \"defaultExperience\": \"Core (SQL)\",\r\n \"hidden-cosmos-mmspecial\": \"\",\r\n \"CosmosAccountType\": \"Non-Production\"\r\n },\r\n \"systemData\": {\r\n \"createdAt\": \"2020-08-29T07:09:13.4940855Z\"\r\n },\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"documentEndpoint\": \"https://yungyang-stageaccount.documents-staging.windows-ppe.net:443/\",\r\n \"publicNetworkAccess\": \"Enabled\",\r\n \"enableAutomaticFailover\": false,\r\n \"enableMultipleWriteLocations\": false,\r\n \"enablePartitionKeyMonitor\": false,\r\n \"isVirtualNetworkFilterEnabled\": false,\r\n \"virtualNetworkRules\": [],\r\n \"EnabledApiTypes\": \"Sql\",\r\n \"disableKeyBasedMetadataWriteAccess\": false,\r\n \"enableFreeTier\": false,\r\n \"enableAnalyticalStorage\": false,\r\n \"analyticalStorageConfiguration\": null,\r\n \"instanceId\": \"f7d29645-77b8-43ef-9757-dee41193ce68\",\r\n \"createMode\": \"Default\",\r\n \"databaseAccountOfferType\": \"Standard\",\r\n \"enableCassandraConnector\": false,\r\n \"connectorOffer\": \"\",\r\n \"defaultIdentity\": \"\",\r\n \"networkAclBypass\": \"None\",\r\n \"consistencyPolicy\": {\r\n \"defaultConsistencyLevel\": \"Session\",\r\n \"maxIntervalInSeconds\": 5,\r\n \"maxStalenessPrefix\": 100\r\n },\r\n \"configurationOverrides\": {},\r\n \"writeLocations\": [\r\n {\r\n \"id\": \"yungyang-stageaccount-westus2\",\r\n \"locationName\": \"West US 2\",\r\n \"documentEndpoint\": \"https://yungyang-stageaccount-westus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"readLocations\": [\r\n {\r\n \"id\": \"yungyang-stageaccount-westus2\",\r\n \"locationName\": \"West US 2\",\r\n \"documentEndpoint\": \"https://yungyang-stageaccount-westus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"locations\": [\r\n {\r\n \"id\": \"yungyang-stageaccount-westus2\",\r\n \"locationName\": \"West US 2\",\r\n \"documentEndpoint\": \"https://yungyang-stageaccount-westus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"failoverPolicies\": [\r\n {\r\n \"id\": \"yungyang-stageaccount-westus2\",\r\n \"locationName\": \"West US 2\",\r\n \"failoverPriority\": 0\r\n }\r\n ],\r\n \"cors\": [],\r\n \"capabilities\": [],\r\n \"ipRules\": [],\r\n \"backupPolicy\": {\r\n \"type\": \"Periodic\",\r\n \"periodicModeProperties\": {\r\n \"backupIntervalInMinutes\": 240,\r\n \"backupRetentionIntervalInHours\": 8,\r\n \"backupStorageRedundancy\": \"Geo\"\r\n }\r\n },\r\n \"networkAclBypassResourceIds\": []\r\n },\r\n \"identity\": {\r\n \"type\": \"None\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/resourceGroups/tamitta/providers/Microsoft.DocumentDB/databaseAccounts/tamitta-stage-serverless\",\r\n \"name\": \"tamitta-stage-serverless\",\r\n \"location\": \"West US 2\",\r\n \"type\": \"Microsoft.DocumentDB/databaseAccounts\",\r\n \"kind\": \"GlobalDocumentDB\",\r\n \"tags\": {\r\n \"defaultExperience\": \"Core (SQL)\",\r\n \"hidden-cosmos-mmspecial\": \"\",\r\n \"CosmosAccountType\": \"Non-Production\"\r\n },\r\n \"systemData\": {\r\n \"createdAt\": \"2020-08-27T22:14:48.3284991Z\"\r\n },\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"documentEndpoint\": \"https://tamitta-stage-serverless.documents-staging.windows-ppe.net:443/\",\r\n \"publicNetworkAccess\": \"Enabled\",\r\n \"enableAutomaticFailover\": false,\r\n \"enableMultipleWriteLocations\": false,\r\n \"enablePartitionKeyMonitor\": false,\r\n \"isVirtualNetworkFilterEnabled\": false,\r\n \"virtualNetworkRules\": [],\r\n \"EnabledApiTypes\": \"Sql\",\r\n \"disableKeyBasedMetadataWriteAccess\": false,\r\n \"enableFreeTier\": false,\r\n \"enableAnalyticalStorage\": false,\r\n \"analyticalStorageConfiguration\": null,\r\n \"instanceId\": \"d6e00e92-4636-46ff-b7f3-fa555521111f\",\r\n \"createMode\": \"Default\",\r\n \"databaseAccountOfferType\": \"Standard\",\r\n \"enableCassandraConnector\": false,\r\n \"connectorOffer\": \"\",\r\n \"defaultIdentity\": \"\",\r\n \"networkAclBypass\": \"None\",\r\n \"consistencyPolicy\": {\r\n \"defaultConsistencyLevel\": \"Session\",\r\n \"maxIntervalInSeconds\": 5,\r\n \"maxStalenessPrefix\": 100\r\n },\r\n \"configurationOverrides\": {},\r\n \"writeLocations\": [\r\n {\r\n \"id\": \"tamitta-stage-serverless-westus2\",\r\n \"locationName\": \"West US 2\",\r\n \"documentEndpoint\": \"https://tamitta-stage-serverless-westus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"readLocations\": [\r\n {\r\n \"id\": \"tamitta-stage-serverless-westus2\",\r\n \"locationName\": \"West US 2\",\r\n \"documentEndpoint\": \"https://tamitta-stage-serverless-westus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"locations\": [\r\n {\r\n \"id\": \"tamitta-stage-serverless-westus2\",\r\n \"locationName\": \"West US 2\",\r\n \"documentEndpoint\": \"https://tamitta-stage-serverless-westus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"failoverPolicies\": [\r\n {\r\n \"id\": \"tamitta-stage-serverless-westus2\",\r\n \"locationName\": \"West US 2\",\r\n \"failoverPriority\": 0\r\n }\r\n ],\r\n \"cors\": [],\r\n \"capabilities\": [\r\n {\r\n \"name\": \"EnableServerless\"\r\n }\r\n ],\r\n \"ipRules\": [],\r\n \"backupPolicy\": {\r\n \"type\": \"Periodic\",\r\n \"periodicModeProperties\": {\r\n \"backupIntervalInMinutes\": 240,\r\n \"backupRetentionIntervalInHours\": 8,\r\n \"backupStorageRedundancy\": \"Geo\"\r\n }\r\n },\r\n \"networkAclBypassResourceIds\": []\r\n },\r\n \"identity\": {\r\n \"type\": \"None\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/resourceGroups/tpcdsmongo/providers/Microsoft.DocumentDB/databaseAccounts/tpcdsmongotest\",\r\n \"name\": \"tpcdsmongotest\",\r\n \"location\": \"West US 2\",\r\n \"type\": \"Microsoft.DocumentDB/databaseAccounts\",\r\n \"kind\": \"MongoDB\",\r\n \"tags\": {\r\n \"defaultExperience\": \"Azure Cosmos DB for MongoDB API\",\r\n \"hidden-cosmos-mmspecial\": \"\",\r\n \"CosmosAccountType\": \"Non-Production\"\r\n },\r\n \"systemData\": {\r\n \"createdAt\": \"2020-07-15T22:58:56.0666418Z\"\r\n },\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"documentEndpoint\": \"https://tpcdsmongotest.documents-staging.windows-ppe.net:443/\",\r\n \"mongoEndpoint\": \"https://tpcdsmongotest.mongo.cosmos.windows-ppe.net:443/\",\r\n \"publicNetworkAccess\": \"Enabled\",\r\n \"enableAutomaticFailover\": false,\r\n \"enableMultipleWriteLocations\": false,\r\n \"enablePartitionKeyMonitor\": false,\r\n \"isVirtualNetworkFilterEnabled\": false,\r\n \"virtualNetworkRules\": [],\r\n \"EnabledApiTypes\": \"MongoDB\",\r\n \"disableKeyBasedMetadataWriteAccess\": false,\r\n \"enableFreeTier\": false,\r\n \"enableAnalyticalStorage\": true,\r\n \"analyticalStorageConfiguration\": null,\r\n \"instanceId\": \"80d4b4be-f359-45df-b7e2-c1d0efd4d716\",\r\n \"createMode\": \"Default\",\r\n \"databaseAccountOfferType\": \"Standard\",\r\n \"enableCassandraConnector\": false,\r\n \"connectorOffer\": \"\",\r\n \"defaultIdentity\": \"\",\r\n \"networkAclBypass\": \"None\",\r\n \"consistencyPolicy\": {\r\n \"defaultConsistencyLevel\": \"Session\",\r\n \"maxIntervalInSeconds\": 5,\r\n \"maxStalenessPrefix\": 100\r\n },\r\n \"apiProperties\": {\r\n \"serverVersion\": \"3.6\"\r\n },\r\n \"configurationOverrides\": {\r\n \"EnableBsonSchema\": \"True\"\r\n },\r\n \"writeLocations\": [\r\n {\r\n \"id\": \"tpcdsmongotest-westus2\",\r\n \"locationName\": \"West US 2\",\r\n \"documentEndpoint\": \"https://tpcdsmongotest-westus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"readLocations\": [\r\n {\r\n \"id\": \"tpcdsmongotest-westus2\",\r\n \"locationName\": \"West US 2\",\r\n \"documentEndpoint\": \"https://tpcdsmongotest-westus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"locations\": [\r\n {\r\n \"id\": \"tpcdsmongotest-westus2\",\r\n \"locationName\": \"West US 2\",\r\n \"documentEndpoint\": \"https://tpcdsmongotest-westus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"failoverPolicies\": [\r\n {\r\n \"id\": \"tpcdsmongotest-westus2\",\r\n \"locationName\": \"West US 2\",\r\n \"failoverPriority\": 0\r\n }\r\n ],\r\n \"cors\": [],\r\n \"capabilities\": [\r\n {\r\n \"name\": \"EnableMongo\"\r\n },\r\n {\r\n \"name\": \"DisableRateLimitingResponses\"\r\n }\r\n ],\r\n \"ipRules\": [],\r\n \"backupPolicy\": {\r\n \"type\": \"Periodic\",\r\n \"periodicModeProperties\": {\r\n \"backupIntervalInMinutes\": 240,\r\n \"backupRetentionIntervalInHours\": 8,\r\n \"backupStorageRedundancy\": \"Geo\"\r\n }\r\n },\r\n \"networkAclBypassResourceIds\": []\r\n },\r\n \"identity\": {\r\n \"type\": \"None\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/resourceGroups/akgoe-test-rg/providers/Microsoft.DocumentDB/databaseAccounts/cdb-stage-westus2-test\",\r\n \"name\": \"cdb-stage-westus2-test\",\r\n \"location\": \"West US 2\",\r\n \"type\": \"Microsoft.DocumentDB/databaseAccounts\",\r\n \"kind\": \"GlobalDocumentDB\",\r\n \"tags\": {\r\n \"defaultExperience\": \"Core (SQL)\",\r\n \"hidden-cosmos-mmspecial\": \"\",\r\n \"CosmosAccountType\": \"Production\"\r\n },\r\n \"systemData\": {\r\n \"createdAt\": \"2020-09-29T05:18:27.6324917Z\"\r\n },\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"documentEndpoint\": \"https://cdb-stage-westus2-test.documents-staging.windows-ppe.net:443/\",\r\n \"publicNetworkAccess\": \"Enabled\",\r\n \"enableAutomaticFailover\": false,\r\n \"enableMultipleWriteLocations\": false,\r\n \"enablePartitionKeyMonitor\": false,\r\n \"isVirtualNetworkFilterEnabled\": false,\r\n \"virtualNetworkRules\": [],\r\n \"EnabledApiTypes\": \"Sql\",\r\n \"disableKeyBasedMetadataWriteAccess\": false,\r\n \"enableFreeTier\": false,\r\n \"enableAnalyticalStorage\": false,\r\n \"analyticalStorageConfiguration\": null,\r\n \"instanceId\": \"a046b289-140d-467b-b0a3-be504cd76976\",\r\n \"createMode\": \"Default\",\r\n \"databaseAccountOfferType\": \"Standard\",\r\n \"enableCassandraConnector\": false,\r\n \"connectorOffer\": \"\",\r\n \"defaultIdentity\": \"\",\r\n \"networkAclBypass\": \"None\",\r\n \"consistencyPolicy\": {\r\n \"defaultConsistencyLevel\": \"Session\",\r\n \"maxIntervalInSeconds\": 5,\r\n \"maxStalenessPrefix\": 100\r\n },\r\n \"configurationOverrides\": {},\r\n \"writeLocations\": [\r\n {\r\n \"id\": \"cdb-stage-westus2-test-westus2\",\r\n \"locationName\": \"West US 2\",\r\n \"documentEndpoint\": \"https://cdb-stage-westus2-test-westus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"readLocations\": [\r\n {\r\n \"id\": \"cdb-stage-westus2-test-westus2\",\r\n \"locationName\": \"West US 2\",\r\n \"documentEndpoint\": \"https://cdb-stage-westus2-test-westus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"locations\": [\r\n {\r\n \"id\": \"cdb-stage-westus2-test-westus2\",\r\n \"locationName\": \"West US 2\",\r\n \"documentEndpoint\": \"https://cdb-stage-westus2-test-westus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"failoverPolicies\": [\r\n {\r\n \"id\": \"cdb-stage-westus2-test-westus2\",\r\n \"locationName\": \"West US 2\",\r\n \"failoverPriority\": 0\r\n }\r\n ],\r\n \"cors\": [],\r\n \"capabilities\": [],\r\n \"ipRules\": [],\r\n \"backupPolicy\": {\r\n \"type\": \"Periodic\",\r\n \"periodicModeProperties\": {\r\n \"backupIntervalInMinutes\": 240,\r\n \"backupRetentionIntervalInHours\": 8,\r\n \"backupStorageRedundancy\": \"Geo\"\r\n }\r\n },\r\n \"networkAclBypassResourceIds\": []\r\n },\r\n \"identity\": {\r\n \"type\": \"None\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/resourceGroups/ctlcontainerworkloads/providers/Microsoft.DocumentDB/databaseAccounts/ctljavacontainerworkload\",\r\n \"name\": \"ctljavacontainerworkload\",\r\n \"location\": \"West US 2\",\r\n \"type\": \"Microsoft.DocumentDB/databaseAccounts\",\r\n \"kind\": \"GlobalDocumentDB\",\r\n \"tags\": {\r\n \"defaultExperience\": \"Core (SQL)\",\r\n \"hidden-cosmos-mmspecial\": \"\",\r\n \"CosmosAccountType\": \"Non-Production\"\r\n },\r\n \"systemData\": {\r\n \"createdAt\": \"2020-10-01T22:41:46.9430744Z\"\r\n },\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"documentEndpoint\": \"https://ctljavacontainerworkload.documents-staging.windows-ppe.net:443/\",\r\n \"publicNetworkAccess\": \"Enabled\",\r\n \"enableAutomaticFailover\": false,\r\n \"enableMultipleWriteLocations\": false,\r\n \"enablePartitionKeyMonitor\": false,\r\n \"isVirtualNetworkFilterEnabled\": false,\r\n \"virtualNetworkRules\": [],\r\n \"EnabledApiTypes\": \"Sql\",\r\n \"disableKeyBasedMetadataWriteAccess\": false,\r\n \"enableFreeTier\": false,\r\n \"enableAnalyticalStorage\": false,\r\n \"analyticalStorageConfiguration\": null,\r\n \"instanceId\": \"1d70309d-21a4-4081-97b2-699e2fd83bdd\",\r\n \"createMode\": \"Default\",\r\n \"databaseAccountOfferType\": \"Standard\",\r\n \"enableCassandraConnector\": false,\r\n \"connectorOffer\": \"\",\r\n \"defaultIdentity\": \"\",\r\n \"networkAclBypass\": \"None\",\r\n \"consistencyPolicy\": {\r\n \"defaultConsistencyLevel\": \"Session\",\r\n \"maxIntervalInSeconds\": 5,\r\n \"maxStalenessPrefix\": 100\r\n },\r\n \"configurationOverrides\": {},\r\n \"writeLocations\": [\r\n {\r\n \"id\": \"ctljavacontainerworkload-westus2\",\r\n \"locationName\": \"West US 2\",\r\n \"documentEndpoint\": \"https://ctljavacontainerworkload-westus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"readLocations\": [\r\n {\r\n \"id\": \"ctljavacontainerworkload-westus2\",\r\n \"locationName\": \"West US 2\",\r\n \"documentEndpoint\": \"https://ctljavacontainerworkload-westus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"locations\": [\r\n {\r\n \"id\": \"ctljavacontainerworkload-westus2\",\r\n \"locationName\": \"West US 2\",\r\n \"documentEndpoint\": \"https://ctljavacontainerworkload-westus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"failoverPolicies\": [\r\n {\r\n \"id\": \"ctljavacontainerworkload-westus2\",\r\n \"locationName\": \"West US 2\",\r\n \"failoverPriority\": 0\r\n }\r\n ],\r\n \"cors\": [],\r\n \"capabilities\": [],\r\n \"ipRules\": [],\r\n \"backupPolicy\": {\r\n \"type\": \"Periodic\",\r\n \"periodicModeProperties\": {\r\n \"backupIntervalInMinutes\": 240,\r\n \"backupRetentionIntervalInHours\": 8,\r\n \"backupStorageRedundancy\": \"Geo\"\r\n }\r\n },\r\n \"networkAclBypassResourceIds\": []\r\n },\r\n \"identity\": {\r\n \"type\": \"None\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/resourceGroups/justipat_staging/providers/Microsoft.DocumentDB/databaseAccounts/testingjjp\",\r\n \"name\": \"testingjjp\",\r\n \"location\": \"West US 2\",\r\n \"type\": \"Microsoft.DocumentDB/databaseAccounts\",\r\n \"kind\": \"GlobalDocumentDB\",\r\n \"tags\": {\r\n \"defaultExperience\": \"Core (SQL)\",\r\n \"hidden-cosmos-mmspecial\": \"\",\r\n \"CosmosAccountType\": \"Non-Production\"\r\n },\r\n \"systemData\": {\r\n \"createdAt\": \"2020-10-08T17:38:23.792918Z\"\r\n },\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"documentEndpoint\": \"https://testingjjp.documents-staging.windows-ppe.net:443/\",\r\n \"publicNetworkAccess\": \"Enabled\",\r\n \"enableAutomaticFailover\": false,\r\n \"enableMultipleWriteLocations\": false,\r\n \"enablePartitionKeyMonitor\": false,\r\n \"isVirtualNetworkFilterEnabled\": false,\r\n \"virtualNetworkRules\": [],\r\n \"EnabledApiTypes\": \"Sql\",\r\n \"disableKeyBasedMetadataWriteAccess\": false,\r\n \"enableFreeTier\": false,\r\n \"enableAnalyticalStorage\": false,\r\n \"analyticalStorageConfiguration\": null,\r\n \"instanceId\": \"ca46b55d-ebe8-422f-96b3-9a5dc0e59894\",\r\n \"createMode\": \"Default\",\r\n \"databaseAccountOfferType\": \"Standard\",\r\n \"enableCassandraConnector\": false,\r\n \"connectorOffer\": \"\",\r\n \"defaultIdentity\": \"\",\r\n \"networkAclBypass\": \"None\",\r\n \"consistencyPolicy\": {\r\n \"defaultConsistencyLevel\": \"Session\",\r\n \"maxIntervalInSeconds\": 5,\r\n \"maxStalenessPrefix\": 100\r\n },\r\n \"configurationOverrides\": {},\r\n \"writeLocations\": [\r\n {\r\n \"id\": \"testingjjp-westus2\",\r\n \"locationName\": \"West US 2\",\r\n \"documentEndpoint\": \"https://testingjjp-westus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"readLocations\": [\r\n {\r\n \"id\": \"testingjjp-westus2\",\r\n \"locationName\": \"West US 2\",\r\n \"documentEndpoint\": \"https://testingjjp-westus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"locations\": [\r\n {\r\n \"id\": \"testingjjp-westus2\",\r\n \"locationName\": \"West US 2\",\r\n \"documentEndpoint\": \"https://testingjjp-westus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"failoverPolicies\": [\r\n {\r\n \"id\": \"testingjjp-westus2\",\r\n \"locationName\": \"West US 2\",\r\n \"failoverPriority\": 0\r\n }\r\n ],\r\n \"cors\": [],\r\n \"capabilities\": [],\r\n \"ipRules\": [],\r\n \"backupPolicy\": {\r\n \"type\": \"Periodic\",\r\n \"periodicModeProperties\": {\r\n \"backupIntervalInMinutes\": 240,\r\n \"backupRetentionIntervalInHours\": 8,\r\n \"backupStorageRedundancy\": \"Geo\"\r\n }\r\n },\r\n \"networkAclBypassResourceIds\": []\r\n },\r\n \"identity\": {\r\n \"type\": \"None\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/resourceGroups/foobar/providers/Microsoft.DocumentDB/databaseAccounts/bhushananalyticaltest\",\r\n \"name\": \"bhushananalyticaltest\",\r\n \"location\": \"West US 2\",\r\n \"type\": \"Microsoft.DocumentDB/databaseAccounts\",\r\n \"kind\": \"GlobalDocumentDB\",\r\n \"tags\": {\r\n \"defaultExperience\": \"Core (SQL)\",\r\n \"hidden-cosmos-mmspecial\": \"\",\r\n \"CosmosAccountType\": \"Non-Production\"\r\n },\r\n \"systemData\": {\r\n \"createdAt\": \"2020-10-08T17:56:05.909196Z\"\r\n },\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"documentEndpoint\": \"https://bhushananalyticaltest.documents-staging.windows-ppe.net:443/\",\r\n \"publicNetworkAccess\": \"Enabled\",\r\n \"enableAutomaticFailover\": false,\r\n \"enableMultipleWriteLocations\": false,\r\n \"enablePartitionKeyMonitor\": false,\r\n \"isVirtualNetworkFilterEnabled\": false,\r\n \"virtualNetworkRules\": [],\r\n \"EnabledApiTypes\": \"Sql\",\r\n \"disableKeyBasedMetadataWriteAccess\": false,\r\n \"enableFreeTier\": false,\r\n \"enableAnalyticalStorage\": true,\r\n \"analyticalStorageConfiguration\": null,\r\n \"instanceId\": \"888982c7-4b21-4c82-87d0-10963f622e94\",\r\n \"createMode\": \"Default\",\r\n \"databaseAccountOfferType\": \"Standard\",\r\n \"enableCassandraConnector\": false,\r\n \"connectorOffer\": \"\",\r\n \"defaultIdentity\": \"\",\r\n \"networkAclBypass\": \"None\",\r\n \"consistencyPolicy\": {\r\n \"defaultConsistencyLevel\": \"Session\",\r\n \"maxIntervalInSeconds\": 5,\r\n \"maxStalenessPrefix\": 100\r\n },\r\n \"configurationOverrides\": {},\r\n \"writeLocations\": [\r\n {\r\n \"id\": \"bhushananalyticaltest-westus2\",\r\n \"locationName\": \"West US 2\",\r\n \"documentEndpoint\": \"https://bhushananalyticaltest-westus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"readLocations\": [\r\n {\r\n \"id\": \"bhushananalyticaltest-westus2\",\r\n \"locationName\": \"West US 2\",\r\n \"documentEndpoint\": \"https://bhushananalyticaltest-westus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"locations\": [\r\n {\r\n \"id\": \"bhushananalyticaltest-westus2\",\r\n \"locationName\": \"West US 2\",\r\n \"documentEndpoint\": \"https://bhushananalyticaltest-westus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"failoverPolicies\": [\r\n {\r\n \"id\": \"bhushananalyticaltest-westus2\",\r\n \"locationName\": \"West US 2\",\r\n \"failoverPriority\": 0\r\n }\r\n ],\r\n \"cors\": [],\r\n \"capabilities\": [],\r\n \"ipRules\": [],\r\n \"backupPolicy\": {\r\n \"type\": \"Periodic\",\r\n \"periodicModeProperties\": {\r\n \"backupIntervalInMinutes\": 240,\r\n \"backupRetentionIntervalInHours\": 8,\r\n \"backupStorageRedundancy\": \"Geo\"\r\n }\r\n },\r\n \"networkAclBypassResourceIds\": []\r\n },\r\n \"identity\": {\r\n \"type\": \"None\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/resourceGroups/merge-partition/providers/Microsoft.DocumentDB/databaseAccounts/test-merge-empty-partition\",\r\n \"name\": \"test-merge-empty-partition\",\r\n \"location\": \"West US 2\",\r\n \"type\": \"Microsoft.DocumentDB/databaseAccounts\",\r\n \"kind\": \"GlobalDocumentDB\",\r\n \"tags\": {\r\n \"defaultExperience\": \"Core (SQL)\",\r\n \"hidden-cosmos-mmspecial\": \"\",\r\n \"CosmosAccountType\": \"Non-Production\"\r\n },\r\n \"systemData\": {\r\n \"createdAt\": \"2020-10-12T19:16:33.0077649Z\"\r\n },\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"documentEndpoint\": \"https://test-merge-empty-partition.documents-staging.windows-ppe.net:443/\",\r\n \"publicNetworkAccess\": \"Enabled\",\r\n \"enableAutomaticFailover\": false,\r\n \"enableMultipleWriteLocations\": false,\r\n \"enablePartitionKeyMonitor\": false,\r\n \"isVirtualNetworkFilterEnabled\": false,\r\n \"virtualNetworkRules\": [],\r\n \"EnabledApiTypes\": \"Sql\",\r\n \"disableKeyBasedMetadataWriteAccess\": false,\r\n \"enableFreeTier\": false,\r\n \"enableAnalyticalStorage\": false,\r\n \"analyticalStorageConfiguration\": null,\r\n \"instanceId\": \"d8f7bc07-c094-4841-8190-8705d0396e16\",\r\n \"createMode\": \"Default\",\r\n \"databaseAccountOfferType\": \"Standard\",\r\n \"enableCassandraConnector\": false,\r\n \"connectorOffer\": \"\",\r\n \"defaultIdentity\": \"\",\r\n \"networkAclBypass\": \"None\",\r\n \"consistencyPolicy\": {\r\n \"defaultConsistencyLevel\": \"Session\",\r\n \"maxIntervalInSeconds\": 5,\r\n \"maxStalenessPrefix\": 100\r\n },\r\n \"configurationOverrides\": {},\r\n \"writeLocations\": [\r\n {\r\n \"id\": \"test-merge-empty-partition-westus2\",\r\n \"locationName\": \"West US 2\",\r\n \"documentEndpoint\": \"https://test-merge-empty-partition-westus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"readLocations\": [\r\n {\r\n \"id\": \"test-merge-empty-partition-westus2\",\r\n \"locationName\": \"West US 2\",\r\n \"documentEndpoint\": \"https://test-merge-empty-partition-westus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"locations\": [\r\n {\r\n \"id\": \"test-merge-empty-partition-westus2\",\r\n \"locationName\": \"West US 2\",\r\n \"documentEndpoint\": \"https://test-merge-empty-partition-westus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"failoverPolicies\": [\r\n {\r\n \"id\": \"test-merge-empty-partition-westus2\",\r\n \"locationName\": \"West US 2\",\r\n \"failoverPriority\": 0\r\n }\r\n ],\r\n \"cors\": [],\r\n \"capabilities\": [],\r\n \"ipRules\": [],\r\n \"backupPolicy\": {\r\n \"type\": \"Periodic\",\r\n \"periodicModeProperties\": {\r\n \"backupIntervalInMinutes\": 240,\r\n \"backupRetentionIntervalInHours\": 8,\r\n \"backupStorageRedundancy\": \"Geo\"\r\n }\r\n },\r\n \"networkAclBypassResourceIds\": []\r\n },\r\n \"identity\": {\r\n \"type\": \"None\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/resourceGroups/CANARY/providers/Microsoft.DocumentDB/databaseAccounts/canary-stagewestus2fd1\",\r\n \"name\": \"canary-stagewestus2fd1\",\r\n \"location\": \"West US 2\",\r\n \"type\": \"Microsoft.DocumentDB/databaseAccounts\",\r\n \"kind\": \"DocumentDB\",\r\n \"tags\": {},\r\n \"systemData\": {\r\n \"createdAt\": \"2020-10-16T13:31:41.1683592Z\"\r\n },\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"documentEndpoint\": \"https://canary-stagewestus2fd1.documents-staging.windows-ppe.net:443/\",\r\n \"publicNetworkAccess\": \"Enabled\",\r\n \"enableAutomaticFailover\": false,\r\n \"enableMultipleWriteLocations\": false,\r\n \"enablePartitionKeyMonitor\": false,\r\n \"isVirtualNetworkFilterEnabled\": false,\r\n \"virtualNetworkRules\": [],\r\n \"EnabledApiTypes\": \"Sql\",\r\n \"disableKeyBasedMetadataWriteAccess\": false,\r\n \"enableFreeTier\": false,\r\n \"enableAnalyticalStorage\": false,\r\n \"analyticalStorageConfiguration\": null,\r\n \"instanceId\": \"dd94d90d-e22a-44d0-95ec-ce3b36988f8e\",\r\n \"createMode\": \"Default\",\r\n \"databaseAccountOfferType\": \"Standard\",\r\n \"defaultIdentity\": \"\",\r\n \"networkAclBypass\": \"None\",\r\n \"consistencyPolicy\": {\r\n \"defaultConsistencyLevel\": \"Session\",\r\n \"maxIntervalInSeconds\": 5,\r\n \"maxStalenessPrefix\": 100\r\n },\r\n \"configurationOverrides\": {},\r\n \"writeLocations\": [\r\n {\r\n \"id\": \"canary-stagewestus2fd1-westus2\",\r\n \"locationName\": \"West US 2\",\r\n \"documentEndpoint\": \"https://canary-stagewestus2fd1-westus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"readLocations\": [\r\n {\r\n \"id\": \"canary-stagewestus2fd1-westus2\",\r\n \"locationName\": \"West US 2\",\r\n \"documentEndpoint\": \"https://canary-stagewestus2fd1-westus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"locations\": [\r\n {\r\n \"id\": \"canary-stagewestus2fd1-westus2\",\r\n \"locationName\": \"West US 2\",\r\n \"documentEndpoint\": \"https://canary-stagewestus2fd1-westus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"failoverPolicies\": [\r\n {\r\n \"id\": \"canary-stagewestus2fd1-westus2\",\r\n \"locationName\": \"West US 2\",\r\n \"failoverPriority\": 0\r\n }\r\n ],\r\n \"cors\": [],\r\n \"capabilities\": [],\r\n \"ipRules\": [],\r\n \"backupPolicy\": {\r\n \"type\": \"Periodic\",\r\n \"periodicModeProperties\": {\r\n \"backupIntervalInMinutes\": 240,\r\n \"backupRetentionIntervalInHours\": 8,\r\n \"backupStorageRedundancy\": \"Geo\"\r\n }\r\n },\r\n \"networkAclBypassResourceIds\": []\r\n },\r\n \"identity\": {\r\n \"type\": \"None\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/resourceGroups/vimeng-rg/providers/Microsoft.DocumentDB/databaseAccounts/vimeng-sql-stage\",\r\n \"name\": \"vimeng-sql-stage\",\r\n \"location\": \"West US 2\",\r\n \"type\": \"Microsoft.DocumentDB/databaseAccounts\",\r\n \"kind\": \"GlobalDocumentDB\",\r\n \"tags\": {\r\n \"defaultExperience\": \"Core (SQL)\",\r\n \"hidden-cosmos-mmspecial\": \"\",\r\n \"CosmosAccountType\": \"Non-Production\"\r\n },\r\n \"systemData\": {\r\n \"createdAt\": \"2020-10-23T00:32:41.278046Z\"\r\n },\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"documentEndpoint\": \"https://vimeng-sql-stage.documents-staging.windows-ppe.net:443/\",\r\n \"publicNetworkAccess\": \"Enabled\",\r\n \"enableAutomaticFailover\": false,\r\n \"enableMultipleWriteLocations\": false,\r\n \"enablePartitionKeyMonitor\": false,\r\n \"isVirtualNetworkFilterEnabled\": false,\r\n \"virtualNetworkRules\": [],\r\n \"EnabledApiTypes\": \"Sql\",\r\n \"disableKeyBasedMetadataWriteAccess\": false,\r\n \"enableFreeTier\": false,\r\n \"enableAnalyticalStorage\": true,\r\n \"analyticalStorageConfiguration\": null,\r\n \"instanceId\": \"7c7fdaeb-dc26-4c27-a0ac-c6e55ecc05a0\",\r\n \"createMode\": \"Default\",\r\n \"databaseAccountOfferType\": \"Standard\",\r\n \"enableCassandraConnector\": false,\r\n \"connectorOffer\": \"\",\r\n \"defaultIdentity\": \"\",\r\n \"networkAclBypass\": \"None\",\r\n \"consistencyPolicy\": {\r\n \"defaultConsistencyLevel\": \"Session\",\r\n \"maxIntervalInSeconds\": 5,\r\n \"maxStalenessPrefix\": 100\r\n },\r\n \"configurationOverrides\": {},\r\n \"writeLocations\": [\r\n {\r\n \"id\": \"vimeng-sql-stage-westus2\",\r\n \"locationName\": \"West US 2\",\r\n \"documentEndpoint\": \"https://vimeng-sql-stage-westus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"readLocations\": [\r\n {\r\n \"id\": \"vimeng-sql-stage-westus2\",\r\n \"locationName\": \"West US 2\",\r\n \"documentEndpoint\": \"https://vimeng-sql-stage-westus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"locations\": [\r\n {\r\n \"id\": \"vimeng-sql-stage-westus2\",\r\n \"locationName\": \"West US 2\",\r\n \"documentEndpoint\": \"https://vimeng-sql-stage-westus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"failoverPolicies\": [\r\n {\r\n \"id\": \"vimeng-sql-stage-westus2\",\r\n \"locationName\": \"West US 2\",\r\n \"failoverPriority\": 0\r\n }\r\n ],\r\n \"cors\": [],\r\n \"capabilities\": [],\r\n \"ipRules\": [],\r\n \"backupPolicy\": {\r\n \"type\": \"Periodic\",\r\n \"periodicModeProperties\": {\r\n \"backupIntervalInMinutes\": 240,\r\n \"backupRetentionIntervalInHours\": 8,\r\n \"backupStorageRedundancy\": \"Geo\"\r\n }\r\n },\r\n \"networkAclBypassResourceIds\": []\r\n },\r\n \"identity\": {\r\n \"type\": \"None\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/resourceGroups/vimeng-rg/providers/Microsoft.DocumentDB/databaseAccounts/vimeng-stage-sql-2\",\r\n \"name\": \"vimeng-stage-sql-2\",\r\n \"location\": \"West US 2\",\r\n \"type\": \"Microsoft.DocumentDB/databaseAccounts\",\r\n \"kind\": \"GlobalDocumentDB\",\r\n \"tags\": {\r\n \"defaultExperience\": \"Core (SQL)\",\r\n \"hidden-cosmos-mmspecial\": \"\",\r\n \"CosmosAccountType\": \"Non-Production\"\r\n },\r\n \"systemData\": {\r\n \"createdAt\": \"2020-10-23T18:12:14.7771083Z\"\r\n },\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"documentEndpoint\": \"https://vimeng-stage-sql-2.documents-staging.windows-ppe.net:443/\",\r\n \"publicNetworkAccess\": \"Enabled\",\r\n \"enableAutomaticFailover\": false,\r\n \"enableMultipleWriteLocations\": false,\r\n \"enablePartitionKeyMonitor\": false,\r\n \"isVirtualNetworkFilterEnabled\": false,\r\n \"virtualNetworkRules\": [],\r\n \"EnabledApiTypes\": \"Sql\",\r\n \"disableKeyBasedMetadataWriteAccess\": false,\r\n \"enableFreeTier\": false,\r\n \"enableAnalyticalStorage\": false,\r\n \"analyticalStorageConfiguration\": null,\r\n \"instanceId\": \"abb03545-5576-413f-89cd-ad61411d1f9e\",\r\n \"createMode\": \"Default\",\r\n \"databaseAccountOfferType\": \"Standard\",\r\n \"enableCassandraConnector\": false,\r\n \"connectorOffer\": \"\",\r\n \"defaultIdentity\": \"\",\r\n \"networkAclBypass\": \"None\",\r\n \"consistencyPolicy\": {\r\n \"defaultConsistencyLevel\": \"Session\",\r\n \"maxIntervalInSeconds\": 5,\r\n \"maxStalenessPrefix\": 100\r\n },\r\n \"configurationOverrides\": {},\r\n \"writeLocations\": [\r\n {\r\n \"id\": \"vimeng-stage-sql-2-westus2\",\r\n \"locationName\": \"West US 2\",\r\n \"documentEndpoint\": \"https://vimeng-stage-sql-2-westus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"readLocations\": [\r\n {\r\n \"id\": \"vimeng-stage-sql-2-westus2\",\r\n \"locationName\": \"West US 2\",\r\n \"documentEndpoint\": \"https://vimeng-stage-sql-2-westus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"locations\": [\r\n {\r\n \"id\": \"vimeng-stage-sql-2-westus2\",\r\n \"locationName\": \"West US 2\",\r\n \"documentEndpoint\": \"https://vimeng-stage-sql-2-westus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"failoverPolicies\": [\r\n {\r\n \"id\": \"vimeng-stage-sql-2-westus2\",\r\n \"locationName\": \"West US 2\",\r\n \"failoverPriority\": 0\r\n }\r\n ],\r\n \"cors\": [],\r\n \"capabilities\": [],\r\n \"ipRules\": [],\r\n \"backupPolicy\": {\r\n \"type\": \"Periodic\",\r\n \"periodicModeProperties\": {\r\n \"backupIntervalInMinutes\": 240,\r\n \"backupRetentionIntervalInHours\": 8,\r\n \"backupStorageRedundancy\": \"Geo\"\r\n }\r\n },\r\n \"networkAclBypassResourceIds\": []\r\n },\r\n \"identity\": {\r\n \"type\": \"None\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/resourceGroups/soeom-test/providers/Microsoft.DocumentDB/databaseAccounts/0000fix\",\r\n \"name\": \"0000fix\",\r\n \"location\": \"West US 2\",\r\n \"type\": \"Microsoft.DocumentDB/databaseAccounts\",\r\n \"kind\": \"GlobalDocumentDB\",\r\n \"tags\": {},\r\n \"systemData\": {\r\n \"createdAt\": \"2020-10-23T20:44:43.9638239Z\"\r\n },\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"documentEndpoint\": \"https://0000fix.documents-staging.windows-ppe.net:443/\",\r\n \"publicNetworkAccess\": \"Enabled\",\r\n \"enableAutomaticFailover\": false,\r\n \"enableMultipleWriteLocations\": false,\r\n \"enablePartitionKeyMonitor\": false,\r\n \"isVirtualNetworkFilterEnabled\": false,\r\n \"virtualNetworkRules\": [],\r\n \"EnabledApiTypes\": \"Sql\",\r\n \"disableKeyBasedMetadataWriteAccess\": false,\r\n \"enableFreeTier\": false,\r\n \"enableAnalyticalStorage\": false,\r\n \"analyticalStorageConfiguration\": null,\r\n \"instanceId\": \"167ed16c-2d74-4b6c-8eb2-a290498350cc\",\r\n \"createMode\": \"Default\",\r\n \"databaseAccountOfferType\": \"Standard\",\r\n \"enableCassandraConnector\": false,\r\n \"connectorOffer\": \"\",\r\n \"defaultIdentity\": \"\",\r\n \"networkAclBypass\": \"None\",\r\n \"consistencyPolicy\": {\r\n \"defaultConsistencyLevel\": \"Session\",\r\n \"maxIntervalInSeconds\": 5,\r\n \"maxStalenessPrefix\": 100\r\n },\r\n \"configurationOverrides\": {},\r\n \"writeLocations\": [\r\n {\r\n \"id\": \"0000fix-westus2\",\r\n \"locationName\": \"West US 2\",\r\n \"documentEndpoint\": \"https://0000fix-westus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"readLocations\": [\r\n {\r\n \"id\": \"0000fix-westus2\",\r\n \"locationName\": \"West US 2\",\r\n \"documentEndpoint\": \"https://0000fix-westus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"locations\": [\r\n {\r\n \"id\": \"0000fix-westus2\",\r\n \"locationName\": \"West US 2\",\r\n \"documentEndpoint\": \"https://0000fix-westus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"failoverPolicies\": [\r\n {\r\n \"id\": \"0000fix-westus2\",\r\n \"locationName\": \"West US 2\",\r\n \"failoverPriority\": 0\r\n }\r\n ],\r\n \"cors\": [],\r\n \"capabilities\": [],\r\n \"ipRules\": [\r\n {\r\n \"ipAddressOrRange\": \"40.76.54.131\"\r\n },\r\n {\r\n \"ipAddressOrRange\": \"52.176.6.30\"\r\n },\r\n {\r\n \"ipAddressOrRange\": \"52.169.50.45\"\r\n },\r\n {\r\n \"ipAddressOrRange\": \"52.187.184.26\"\r\n },\r\n {\r\n \"ipAddressOrRange\": \"0.0.0.0\"\r\n },\r\n {\r\n \"ipAddressOrRange\": \"104.42.195.92\"\r\n }\r\n ],\r\n \"backupPolicy\": {\r\n \"type\": \"Periodic\",\r\n \"periodicModeProperties\": {\r\n \"backupIntervalInMinutes\": 240,\r\n \"backupRetentionIntervalInHours\": 8,\r\n \"backupStorageRedundancy\": \"Geo\"\r\n }\r\n },\r\n \"networkAclBypassResourceIds\": []\r\n },\r\n \"identity\": {\r\n \"type\": \"None\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/resourceGroups/gremlin-staging/providers/Microsoft.DocumentDB/databaseAccounts/gremlin-staging-wus2-flatschema\",\r\n \"name\": \"gremlin-staging-wus2-flatschema\",\r\n \"location\": \"West US 2\",\r\n \"type\": \"Microsoft.DocumentDB/databaseAccounts\",\r\n \"kind\": \"GlobalDocumentDB\",\r\n \"tags\": {\r\n \"defaultExperience\": \"Gremlin (graph)\",\r\n \"hidden-cosmos-mmspecial\": \"\",\r\n \"CosmosAccountType\": \"Non-Production\"\r\n },\r\n \"systemData\": {\r\n \"createdAt\": \"2020-10-26T20:24:04.1960566Z\"\r\n },\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"documentEndpoint\": \"https://gremlin-staging-wus2-flatschema.documents-staging.windows-ppe.net:443/\",\r\n \"gremlinEndpoint\": \"https://gremlin-staging-wus2-flatschema.gremlin.cosmos.windows-ppe.net:443/\",\r\n \"publicNetworkAccess\": \"Enabled\",\r\n \"enableAutomaticFailover\": false,\r\n \"enableMultipleWriteLocations\": false,\r\n \"enablePartitionKeyMonitor\": false,\r\n \"isVirtualNetworkFilterEnabled\": false,\r\n \"virtualNetworkRules\": [],\r\n \"EnabledApiTypes\": \"Gremlin, Sql\",\r\n \"disableKeyBasedMetadataWriteAccess\": false,\r\n \"enableFreeTier\": false,\r\n \"enableAnalyticalStorage\": false,\r\n \"analyticalStorageConfiguration\": null,\r\n \"instanceId\": \"65a6856c-9ca8-4b59-802f-5a2b25cfcb71\",\r\n \"createMode\": \"Default\",\r\n \"databaseAccountOfferType\": \"Standard\",\r\n \"enableCassandraConnector\": false,\r\n \"connectorOffer\": \"\",\r\n \"defaultIdentity\": \"\",\r\n \"networkAclBypass\": \"None\",\r\n \"consistencyPolicy\": {\r\n \"defaultConsistencyLevel\": \"Session\",\r\n \"maxIntervalInSeconds\": 5,\r\n \"maxStalenessPrefix\": 100\r\n },\r\n \"configurationOverrides\": {},\r\n \"writeLocations\": [\r\n {\r\n \"id\": \"gremlin-staging-wus2-flatschema-westus2\",\r\n \"locationName\": \"West US 2\",\r\n \"documentEndpoint\": \"https://gremlin-staging-wus2-flatschema-westus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"readLocations\": [\r\n {\r\n \"id\": \"gremlin-staging-wus2-flatschema-westus2\",\r\n \"locationName\": \"West US 2\",\r\n \"documentEndpoint\": \"https://gremlin-staging-wus2-flatschema-westus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"locations\": [\r\n {\r\n \"id\": \"gremlin-staging-wus2-flatschema-westus2\",\r\n \"locationName\": \"West US 2\",\r\n \"documentEndpoint\": \"https://gremlin-staging-wus2-flatschema-westus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"failoverPolicies\": [\r\n {\r\n \"id\": \"gremlin-staging-wus2-flatschema-westus2\",\r\n \"locationName\": \"West US 2\",\r\n \"failoverPriority\": 0\r\n }\r\n ],\r\n \"cors\": [],\r\n \"capabilities\": [\r\n {\r\n \"name\": \"EnableGremlin\"\r\n }\r\n ],\r\n \"ipRules\": [],\r\n \"backupPolicy\": {\r\n \"type\": \"Periodic\",\r\n \"periodicModeProperties\": {\r\n \"backupIntervalInMinutes\": 240,\r\n \"backupRetentionIntervalInHours\": 8,\r\n \"backupStorageRedundancy\": \"Geo\"\r\n }\r\n },\r\n \"networkAclBypassResourceIds\": []\r\n },\r\n \"identity\": {\r\n \"type\": \"None\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/resourceGroups/pjohari/providers/Microsoft.DocumentDB/databaseAccounts/pjohari-test-west2\",\r\n \"name\": \"pjohari-test-west2\",\r\n \"location\": \"West US 2\",\r\n \"type\": \"Microsoft.DocumentDB/databaseAccounts\",\r\n \"kind\": \"GlobalDocumentDB\",\r\n \"tags\": {\r\n \"defaultExperience\": \"Core (SQL)\",\r\n \"hidden-cosmos-mmspecial\": \"\",\r\n \"CosmosAccountType\": \"Non-Production\"\r\n },\r\n \"systemData\": {\r\n \"createdAt\": \"2020-10-29T01:36:00.5299323Z\"\r\n },\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"documentEndpoint\": \"https://pjohari-test-west2.documents-staging.windows-ppe.net:443/\",\r\n \"publicNetworkAccess\": \"Enabled\",\r\n \"enableAutomaticFailover\": false,\r\n \"enableMultipleWriteLocations\": false,\r\n \"enablePartitionKeyMonitor\": false,\r\n \"isVirtualNetworkFilterEnabled\": false,\r\n \"virtualNetworkRules\": [],\r\n \"EnabledApiTypes\": \"Sql\",\r\n \"disableKeyBasedMetadataWriteAccess\": false,\r\n \"enableFreeTier\": false,\r\n \"enableAnalyticalStorage\": false,\r\n \"analyticalStorageConfiguration\": null,\r\n \"instanceId\": \"6885ee72-b5a0-47bb-9e44-7e613fa09786\",\r\n \"createMode\": \"Default\",\r\n \"databaseAccountOfferType\": \"Standard\",\r\n \"enableCassandraConnector\": false,\r\n \"connectorOffer\": \"\",\r\n \"defaultIdentity\": \"\",\r\n \"networkAclBypass\": \"None\",\r\n \"consistencyPolicy\": {\r\n \"defaultConsistencyLevel\": \"Session\",\r\n \"maxIntervalInSeconds\": 5,\r\n \"maxStalenessPrefix\": 100\r\n },\r\n \"configurationOverrides\": {},\r\n \"writeLocations\": [\r\n {\r\n \"id\": \"pjohari-test-west2-westus2\",\r\n \"locationName\": \"West US 2\",\r\n \"documentEndpoint\": \"https://pjohari-test-west2-westus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"readLocations\": [\r\n {\r\n \"id\": \"pjohari-test-west2-westus2\",\r\n \"locationName\": \"West US 2\",\r\n \"documentEndpoint\": \"https://pjohari-test-west2-westus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n },\r\n {\r\n \"id\": \"pjohari-test-west2-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://pjohari-test-west2-eastus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 1,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"locations\": [\r\n {\r\n \"id\": \"pjohari-test-west2-westus2\",\r\n \"locationName\": \"West US 2\",\r\n \"documentEndpoint\": \"https://pjohari-test-west2-westus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n },\r\n {\r\n \"id\": \"pjohari-test-west2-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://pjohari-test-west2-eastus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 1,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"failoverPolicies\": [\r\n {\r\n \"id\": \"pjohari-test-west2-westus2\",\r\n \"locationName\": \"West US 2\",\r\n \"failoverPriority\": 0\r\n },\r\n {\r\n \"id\": \"pjohari-test-west2-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"failoverPriority\": 1\r\n }\r\n ],\r\n \"cors\": [],\r\n \"capabilities\": [],\r\n \"ipRules\": [],\r\n \"backupPolicy\": {\r\n \"type\": \"Periodic\",\r\n \"periodicModeProperties\": {\r\n \"backupIntervalInMinutes\": 240,\r\n \"backupRetentionIntervalInHours\": 8,\r\n \"backupStorageRedundancy\": \"Geo\"\r\n }\r\n },\r\n \"networkAclBypassResourceIds\": []\r\n },\r\n \"identity\": {\r\n \"type\": \"None\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/resourceGroups/hidhawal/providers/Microsoft.DocumentDB/databaseAccounts/hidhawal-test\",\r\n \"name\": \"hidhawal-test\",\r\n \"location\": \"West US 2\",\r\n \"type\": \"Microsoft.DocumentDB/databaseAccounts\",\r\n \"kind\": \"GlobalDocumentDB\",\r\n \"tags\": {\r\n \"defaultExperience\": \"Core (SQL)\",\r\n \"hidden-cosmos-mmspecial\": \"\",\r\n \"CosmosAccountType\": \"Non-Production\"\r\n },\r\n \"systemData\": {\r\n \"createdAt\": \"2020-10-30T04:46:00.4066141Z\"\r\n },\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"documentEndpoint\": \"https://hidhawal-test.documents-staging.windows-ppe.net:443/\",\r\n \"publicNetworkAccess\": \"Enabled\",\r\n \"enableAutomaticFailover\": false,\r\n \"enableMultipleWriteLocations\": false,\r\n \"enablePartitionKeyMonitor\": false,\r\n \"isVirtualNetworkFilterEnabled\": false,\r\n \"virtualNetworkRules\": [],\r\n \"EnabledApiTypes\": \"Sql\",\r\n \"disableKeyBasedMetadataWriteAccess\": false,\r\n \"enableFreeTier\": false,\r\n \"enableAnalyticalStorage\": false,\r\n \"analyticalStorageConfiguration\": null,\r\n \"instanceId\": \"04660086-1070-4d5d-a8bc-9c074af31f13\",\r\n \"createMode\": \"Default\",\r\n \"databaseAccountOfferType\": \"Standard\",\r\n \"enableCassandraConnector\": false,\r\n \"connectorOffer\": \"\",\r\n \"defaultIdentity\": \"\",\r\n \"networkAclBypass\": \"None\",\r\n \"consistencyPolicy\": {\r\n \"defaultConsistencyLevel\": \"Session\",\r\n \"maxIntervalInSeconds\": 5,\r\n \"maxStalenessPrefix\": 100\r\n },\r\n \"configurationOverrides\": {},\r\n \"writeLocations\": [\r\n {\r\n \"id\": \"hidhawal-test-westus2\",\r\n \"locationName\": \"West US 2\",\r\n \"documentEndpoint\": \"https://hidhawal-test-westus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"readLocations\": [\r\n {\r\n \"id\": \"hidhawal-test-westus2\",\r\n \"locationName\": \"West US 2\",\r\n \"documentEndpoint\": \"https://hidhawal-test-westus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"locations\": [\r\n {\r\n \"id\": \"hidhawal-test-westus2\",\r\n \"locationName\": \"West US 2\",\r\n \"documentEndpoint\": \"https://hidhawal-test-westus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"failoverPolicies\": [\r\n {\r\n \"id\": \"hidhawal-test-westus2\",\r\n \"locationName\": \"West US 2\",\r\n \"failoverPriority\": 0\r\n }\r\n ],\r\n \"cors\": [],\r\n \"capabilities\": [],\r\n \"ipRules\": [],\r\n \"backupPolicy\": {\r\n \"type\": \"Periodic\",\r\n \"periodicModeProperties\": {\r\n \"backupIntervalInMinutes\": 240,\r\n \"backupRetentionIntervalInHours\": 8,\r\n \"backupStorageRedundancy\": \"Geo\"\r\n }\r\n },\r\n \"networkAclBypassResourceIds\": []\r\n },\r\n \"identity\": {\r\n \"type\": \"None\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/resourceGroups/vinh-stage-rp/providers/Microsoft.DocumentDB/databaseAccounts/vinhstagepitr\",\r\n \"name\": \"vinhstagepitr\",\r\n \"location\": \"West US 2\",\r\n \"type\": \"Microsoft.DocumentDB/databaseAccounts\",\r\n \"kind\": \"GlobalDocumentDB\",\r\n \"tags\": {},\r\n \"systemData\": {\r\n \"createdAt\": \"2020-11-02T23:44:13.0056918Z\"\r\n },\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"documentEndpoint\": \"https://vinhstagepitr.documents-staging.windows-ppe.net:443/\",\r\n \"publicNetworkAccess\": \"Enabled\",\r\n \"enableAutomaticFailover\": false,\r\n \"enableMultipleWriteLocations\": false,\r\n \"enablePartitionKeyMonitor\": false,\r\n \"isVirtualNetworkFilterEnabled\": false,\r\n \"virtualNetworkRules\": [],\r\n \"EnabledApiTypes\": \"Sql\",\r\n \"disableKeyBasedMetadataWriteAccess\": false,\r\n \"enableFreeTier\": false,\r\n \"enableAnalyticalStorage\": false,\r\n \"analyticalStorageConfiguration\": null,\r\n \"instanceId\": \"5dee0717-8f84-40d7-b7c1-921552ba61a5\",\r\n \"createMode\": \"Default\",\r\n \"databaseAccountOfferType\": \"Standard\",\r\n \"enableCassandraConnector\": false,\r\n \"connectorOffer\": \"\",\r\n \"defaultIdentity\": \"\",\r\n \"networkAclBypass\": \"None\",\r\n \"consistencyPolicy\": {\r\n \"defaultConsistencyLevel\": \"Session\",\r\n \"maxIntervalInSeconds\": 5,\r\n \"maxStalenessPrefix\": 100\r\n },\r\n \"configurationOverrides\": {},\r\n \"writeLocations\": [\r\n {\r\n \"id\": \"vinhstagepitr-westus2\",\r\n \"locationName\": \"West US 2\",\r\n \"documentEndpoint\": \"https://vinhstagepitr-westus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"readLocations\": [\r\n {\r\n \"id\": \"vinhstagepitr-westus2\",\r\n \"locationName\": \"West US 2\",\r\n \"documentEndpoint\": \"https://vinhstagepitr-westus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"locations\": [\r\n {\r\n \"id\": \"vinhstagepitr-westus2\",\r\n \"locationName\": \"West US 2\",\r\n \"documentEndpoint\": \"https://vinhstagepitr-westus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"failoverPolicies\": [\r\n {\r\n \"id\": \"vinhstagepitr-westus2\",\r\n \"locationName\": \"West US 2\",\r\n \"failoverPriority\": 0\r\n }\r\n ],\r\n \"cors\": [],\r\n \"capabilities\": [],\r\n \"ipRules\": [],\r\n \"backupPolicy\": {\r\n \"type\": \"Continuous\"\r\n },\r\n \"networkAclBypassResourceIds\": []\r\n },\r\n \"identity\": {\r\n \"type\": \"None\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/resourceGroups/hidhawal/providers/Microsoft.DocumentDB/databaseAccounts/hidhawal-test2\",\r\n \"name\": \"hidhawal-test2\",\r\n \"location\": \"West US 2\",\r\n \"type\": \"Microsoft.DocumentDB/databaseAccounts\",\r\n \"kind\": \"GlobalDocumentDB\",\r\n \"tags\": {\r\n \"defaultExperience\": \"Core (SQL)\",\r\n \"hidden-cosmos-mmspecial\": \"\",\r\n \"CosmosAccountType\": \"Non-Production\"\r\n },\r\n \"systemData\": {\r\n \"createdAt\": \"2020-11-03T02:43:38.2623252Z\"\r\n },\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"documentEndpoint\": \"https://hidhawal-test2.documents-staging.windows-ppe.net:443/\",\r\n \"publicNetworkAccess\": \"Enabled\",\r\n \"enableAutomaticFailover\": false,\r\n \"enableMultipleWriteLocations\": false,\r\n \"enablePartitionKeyMonitor\": false,\r\n \"isVirtualNetworkFilterEnabled\": false,\r\n \"virtualNetworkRules\": [],\r\n \"EnabledApiTypes\": \"Sql\",\r\n \"disableKeyBasedMetadataWriteAccess\": false,\r\n \"enableFreeTier\": false,\r\n \"enableAnalyticalStorage\": false,\r\n \"analyticalStorageConfiguration\": null,\r\n \"instanceId\": \"8585d369-799b-442b-af20-2c249bbf15b1\",\r\n \"createMode\": \"Default\",\r\n \"databaseAccountOfferType\": \"Standard\",\r\n \"enableCassandraConnector\": false,\r\n \"connectorOffer\": \"\",\r\n \"defaultIdentity\": \"\",\r\n \"networkAclBypass\": \"None\",\r\n \"consistencyPolicy\": {\r\n \"defaultConsistencyLevel\": \"Session\",\r\n \"maxIntervalInSeconds\": 5,\r\n \"maxStalenessPrefix\": 100\r\n },\r\n \"configurationOverrides\": {},\r\n \"writeLocations\": [\r\n {\r\n \"id\": \"hidhawal-test2-westus2\",\r\n \"locationName\": \"West US 2\",\r\n \"documentEndpoint\": \"https://hidhawal-test2-westus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"readLocations\": [\r\n {\r\n \"id\": \"hidhawal-test2-westus2\",\r\n \"locationName\": \"West US 2\",\r\n \"documentEndpoint\": \"https://hidhawal-test2-westus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"locations\": [\r\n {\r\n \"id\": \"hidhawal-test2-westus2\",\r\n \"locationName\": \"West US 2\",\r\n \"documentEndpoint\": \"https://hidhawal-test2-westus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"failoverPolicies\": [\r\n {\r\n \"id\": \"hidhawal-test2-westus2\",\r\n \"locationName\": \"West US 2\",\r\n \"failoverPriority\": 0\r\n }\r\n ],\r\n \"cors\": [],\r\n \"capabilities\": [],\r\n \"ipRules\": [],\r\n \"backupPolicy\": {\r\n \"type\": \"Periodic\",\r\n \"periodicModeProperties\": {\r\n \"backupIntervalInMinutes\": 240,\r\n \"backupRetentionIntervalInHours\": 8,\r\n \"backupStorageRedundancy\": \"Geo\"\r\n }\r\n },\r\n \"networkAclBypassResourceIds\": []\r\n },\r\n \"identity\": {\r\n \"type\": \"None\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/resourceGroups/hidhawal/providers/Microsoft.DocumentDB/databaseAccounts/hidhawal-test4\",\r\n \"name\": \"hidhawal-test4\",\r\n \"location\": \"West US 2\",\r\n \"type\": \"Microsoft.DocumentDB/databaseAccounts\",\r\n \"kind\": \"GlobalDocumentDB\",\r\n \"tags\": {\r\n \"defaultExperience\": \"Core (SQL)\",\r\n \"hidden-cosmos-mmspecial\": \"\",\r\n \"CosmosAccountType\": \"Non-Production\"\r\n },\r\n \"systemData\": {\r\n \"createdAt\": \"2020-11-10T00:31:03.0211304Z\"\r\n },\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"documentEndpoint\": \"https://hidhawal-test4.documents-staging.windows-ppe.net:443/\",\r\n \"publicNetworkAccess\": \"Enabled\",\r\n \"enableAutomaticFailover\": false,\r\n \"enableMultipleWriteLocations\": false,\r\n \"enablePartitionKeyMonitor\": false,\r\n \"isVirtualNetworkFilterEnabled\": false,\r\n \"virtualNetworkRules\": [],\r\n \"EnabledApiTypes\": \"Sql\",\r\n \"disableKeyBasedMetadataWriteAccess\": false,\r\n \"enableFreeTier\": false,\r\n \"enableAnalyticalStorage\": false,\r\n \"analyticalStorageConfiguration\": null,\r\n \"instanceId\": \"99969d83-1c81-417e-8bbf-48d5547d438b\",\r\n \"createMode\": \"Default\",\r\n \"databaseAccountOfferType\": \"Standard\",\r\n \"enableCassandraConnector\": false,\r\n \"connectorOffer\": \"\",\r\n \"defaultIdentity\": \"\",\r\n \"networkAclBypass\": \"None\",\r\n \"consistencyPolicy\": {\r\n \"defaultConsistencyLevel\": \"Session\",\r\n \"maxIntervalInSeconds\": 5,\r\n \"maxStalenessPrefix\": 100\r\n },\r\n \"configurationOverrides\": {},\r\n \"writeLocations\": [\r\n {\r\n \"id\": \"hidhawal-test4-westus2\",\r\n \"locationName\": \"West US 2\",\r\n \"documentEndpoint\": \"https://hidhawal-test4-westus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"readLocations\": [\r\n {\r\n \"id\": \"hidhawal-test4-westus2\",\r\n \"locationName\": \"West US 2\",\r\n \"documentEndpoint\": \"https://hidhawal-test4-westus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"locations\": [\r\n {\r\n \"id\": \"hidhawal-test4-westus2\",\r\n \"locationName\": \"West US 2\",\r\n \"documentEndpoint\": \"https://hidhawal-test4-westus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"failoverPolicies\": [\r\n {\r\n \"id\": \"hidhawal-test4-westus2\",\r\n \"locationName\": \"West US 2\",\r\n \"failoverPriority\": 0\r\n }\r\n ],\r\n \"cors\": [],\r\n \"capabilities\": [],\r\n \"ipRules\": [],\r\n \"backupPolicy\": {\r\n \"type\": \"Periodic\",\r\n \"periodicModeProperties\": {\r\n \"backupIntervalInMinutes\": 240,\r\n \"backupRetentionIntervalInHours\": 8,\r\n \"backupStorageRedundancy\": \"Geo\"\r\n }\r\n },\r\n \"networkAclBypassResourceIds\": []\r\n },\r\n \"identity\": {\r\n \"type\": \"None\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/resourceGroups/jasontho/providers/Microsoft.DocumentDB/databaseAccounts/jasontho-newstage36\",\r\n \"name\": \"jasontho-newstage36\",\r\n \"location\": \"West US 2\",\r\n \"type\": \"Microsoft.DocumentDB/databaseAccounts\",\r\n \"kind\": \"MongoDB\",\r\n \"tags\": {\r\n \"defaultExperience\": \"Azure Cosmos DB for MongoDB API\",\r\n \"hidden-cosmos-mmspecial\": \"\",\r\n \"CosmosAccountType\": \"Non-Production\"\r\n },\r\n \"systemData\": {\r\n \"createdAt\": \"2020-11-21T00:28:50.2585254Z\"\r\n },\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"documentEndpoint\": \"https://jasontho-newstage36.documents-staging.windows-ppe.net:443/\",\r\n \"mongoEndpoint\": \"https://jasontho-newstage36.mongo.cosmos.windows-ppe.net:443/\",\r\n \"publicNetworkAccess\": \"Enabled\",\r\n \"enableAutomaticFailover\": false,\r\n \"enableMultipleWriteLocations\": false,\r\n \"enablePartitionKeyMonitor\": false,\r\n \"isVirtualNetworkFilterEnabled\": false,\r\n \"virtualNetworkRules\": [],\r\n \"EnabledApiTypes\": \"MongoDB\",\r\n \"disableKeyBasedMetadataWriteAccess\": false,\r\n \"enableFreeTier\": false,\r\n \"enableAnalyticalStorage\": false,\r\n \"analyticalStorageConfiguration\": null,\r\n \"instanceId\": \"9630b5fc-dd1b-4c8a-8d2a-b64fea18608a\",\r\n \"createMode\": \"Default\",\r\n \"databaseAccountOfferType\": \"Standard\",\r\n \"enableCassandraConnector\": false,\r\n \"connectorOffer\": \"\",\r\n \"defaultIdentity\": \"\",\r\n \"networkAclBypass\": \"None\",\r\n \"consistencyPolicy\": {\r\n \"defaultConsistencyLevel\": \"Session\",\r\n \"maxIntervalInSeconds\": 5,\r\n \"maxStalenessPrefix\": 100\r\n },\r\n \"apiProperties\": {\r\n \"serverVersion\": \"3.6\"\r\n },\r\n \"configurationOverrides\": {\r\n \"EnableBsonSchema\": \"True\"\r\n },\r\n \"writeLocations\": [\r\n {\r\n \"id\": \"jasontho-newstage36-westus2\",\r\n \"locationName\": \"West US 2\",\r\n \"documentEndpoint\": \"https://jasontho-newstage36-westus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"readLocations\": [\r\n {\r\n \"id\": \"jasontho-newstage36-westus2\",\r\n \"locationName\": \"West US 2\",\r\n \"documentEndpoint\": \"https://jasontho-newstage36-westus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"locations\": [\r\n {\r\n \"id\": \"jasontho-newstage36-westus2\",\r\n \"locationName\": \"West US 2\",\r\n \"documentEndpoint\": \"https://jasontho-newstage36-westus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"failoverPolicies\": [\r\n {\r\n \"id\": \"jasontho-newstage36-westus2\",\r\n \"locationName\": \"West US 2\",\r\n \"failoverPriority\": 0\r\n }\r\n ],\r\n \"cors\": [],\r\n \"capabilities\": [\r\n {\r\n \"name\": \"EnableMongo\"\r\n },\r\n {\r\n \"name\": \"DisableRateLimitingResponses\"\r\n }\r\n ],\r\n \"ipRules\": [],\r\n \"backupPolicy\": {\r\n \"type\": \"Periodic\",\r\n \"periodicModeProperties\": {\r\n \"backupIntervalInMinutes\": 240,\r\n \"backupRetentionIntervalInHours\": 8,\r\n \"backupStorageRedundancy\": \"Geo\"\r\n }\r\n },\r\n \"networkAclBypassResourceIds\": []\r\n },\r\n \"identity\": {\r\n \"type\": \"None\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/resourceGroups/cosmosdbqueryteam/providers/Microsoft.DocumentDB/databaseAccounts/mongoquerytest\",\r\n \"name\": \"mongoquerytest\",\r\n \"location\": \"West US 2\",\r\n \"type\": \"Microsoft.DocumentDB/databaseAccounts\",\r\n \"kind\": \"MongoDB\",\r\n \"tags\": {\r\n \"defaultExperience\": \"Azure Cosmos DB for MongoDB API\",\r\n \"hidden-cosmos-mmspecial\": \"\",\r\n \"CosmosAccountType\": \"Non-Production\"\r\n },\r\n \"systemData\": {\r\n \"createdAt\": \"2020-11-23T19:53:04.4044685Z\"\r\n },\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"documentEndpoint\": \"https://mongoquerytest.documents-staging.windows-ppe.net:443/\",\r\n \"mongoEndpoint\": \"https://mongoquerytest.mongo.cosmos.windows-ppe.net:443/\",\r\n \"publicNetworkAccess\": \"Enabled\",\r\n \"enableAutomaticFailover\": false,\r\n \"enableMultipleWriteLocations\": false,\r\n \"enablePartitionKeyMonitor\": false,\r\n \"isVirtualNetworkFilterEnabled\": false,\r\n \"virtualNetworkRules\": [],\r\n \"EnabledApiTypes\": \"MongoDB\",\r\n \"disableKeyBasedMetadataWriteAccess\": false,\r\n \"enableFreeTier\": false,\r\n \"enableAnalyticalStorage\": false,\r\n \"analyticalStorageConfiguration\": null,\r\n \"instanceId\": \"787dc229-72b6-46f1-af38-30407d84560b\",\r\n \"createMode\": \"Default\",\r\n \"databaseAccountOfferType\": \"Standard\",\r\n \"enableCassandraConnector\": false,\r\n \"connectorOffer\": \"\",\r\n \"defaultIdentity\": \"\",\r\n \"networkAclBypass\": \"None\",\r\n \"consistencyPolicy\": {\r\n \"defaultConsistencyLevel\": \"Session\",\r\n \"maxIntervalInSeconds\": 5,\r\n \"maxStalenessPrefix\": 100\r\n },\r\n \"apiProperties\": {\r\n \"serverVersion\": \"3.6\"\r\n },\r\n \"configurationOverrides\": {\r\n \"EnableBsonSchema\": \"True\"\r\n },\r\n \"writeLocations\": [\r\n {\r\n \"id\": \"mongoquerytest-westus2\",\r\n \"locationName\": \"West US 2\",\r\n \"documentEndpoint\": \"https://mongoquerytest-westus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"readLocations\": [\r\n {\r\n \"id\": \"mongoquerytest-westus2\",\r\n \"locationName\": \"West US 2\",\r\n \"documentEndpoint\": \"https://mongoquerytest-westus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"locations\": [\r\n {\r\n \"id\": \"mongoquerytest-westus2\",\r\n \"locationName\": \"West US 2\",\r\n \"documentEndpoint\": \"https://mongoquerytest-westus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"failoverPolicies\": [\r\n {\r\n \"id\": \"mongoquerytest-westus2\",\r\n \"locationName\": \"West US 2\",\r\n \"failoverPriority\": 0\r\n }\r\n ],\r\n \"cors\": [],\r\n \"capabilities\": [\r\n {\r\n \"name\": \"EnableMongo\"\r\n },\r\n {\r\n \"name\": \"DisableRateLimitingResponses\"\r\n }\r\n ],\r\n \"ipRules\": [],\r\n \"backupPolicy\": {\r\n \"type\": \"Periodic\",\r\n \"periodicModeProperties\": {\r\n \"backupIntervalInMinutes\": 240,\r\n \"backupRetentionIntervalInHours\": 8,\r\n \"backupStorageRedundancy\": \"Geo\"\r\n }\r\n },\r\n \"networkAclBypassResourceIds\": []\r\n },\r\n \"identity\": {\r\n \"type\": \"None\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/resourceGroups/vinh-stage-rp/providers/Microsoft.DocumentDB/databaseAccounts/vinhstagemongopitr\",\r\n \"name\": \"vinhstagemongopitr\",\r\n \"location\": \"West US 2\",\r\n \"type\": \"Microsoft.DocumentDB/databaseAccounts\",\r\n \"kind\": \"MongoDB\",\r\n \"tags\": {\r\n \"defaultExperience\": \"Azure Cosmos DB for MongoDB API\",\r\n \"hidden-cosmos-mmspecial\": \"\",\r\n \"CosmosAccountType\": \"Non-Production\"\r\n },\r\n \"systemData\": {\r\n \"createdAt\": \"2020-11-25T17:07:32.8844415Z\"\r\n },\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"documentEndpoint\": \"https://vinhstagemongopitr.documents-staging.windows-ppe.net:443/\",\r\n \"mongoEndpoint\": \"https://vinhstagemongopitr.mongo.cosmos.windows-ppe.net:443/\",\r\n \"publicNetworkAccess\": \"Enabled\",\r\n \"enableAutomaticFailover\": false,\r\n \"enableMultipleWriteLocations\": false,\r\n \"enablePartitionKeyMonitor\": false,\r\n \"isVirtualNetworkFilterEnabled\": false,\r\n \"virtualNetworkRules\": [],\r\n \"EnabledApiTypes\": \"MongoDB\",\r\n \"disableKeyBasedMetadataWriteAccess\": false,\r\n \"enableFreeTier\": false,\r\n \"enableAnalyticalStorage\": false,\r\n \"analyticalStorageConfiguration\": null,\r\n \"instanceId\": \"5cfa410f-ea0c-4995-aa59-9809a69c21f8\",\r\n \"createMode\": \"Default\",\r\n \"databaseAccountOfferType\": \"Standard\",\r\n \"enableCassandraConnector\": false,\r\n \"connectorOffer\": \"\",\r\n \"defaultIdentity\": \"\",\r\n \"networkAclBypass\": \"None\",\r\n \"consistencyPolicy\": {\r\n \"defaultConsistencyLevel\": \"Session\",\r\n \"maxIntervalInSeconds\": 5,\r\n \"maxStalenessPrefix\": 100\r\n },\r\n \"apiProperties\": {\r\n \"serverVersion\": \"3.6\"\r\n },\r\n \"configurationOverrides\": {\r\n \"EnableBsonSchema\": \"True\"\r\n },\r\n \"writeLocations\": [\r\n {\r\n \"id\": \"vinhstagemongopitr-westus2\",\r\n \"locationName\": \"West US 2\",\r\n \"documentEndpoint\": \"https://vinhstagemongopitr-westus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"readLocations\": [\r\n {\r\n \"id\": \"vinhstagemongopitr-westus2\",\r\n \"locationName\": \"West US 2\",\r\n \"documentEndpoint\": \"https://vinhstagemongopitr-westus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"locations\": [\r\n {\r\n \"id\": \"vinhstagemongopitr-westus2\",\r\n \"locationName\": \"West US 2\",\r\n \"documentEndpoint\": \"https://vinhstagemongopitr-westus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"failoverPolicies\": [\r\n {\r\n \"id\": \"vinhstagemongopitr-westus2\",\r\n \"locationName\": \"West US 2\",\r\n \"failoverPriority\": 0\r\n }\r\n ],\r\n \"cors\": [],\r\n \"capabilities\": [\r\n {\r\n \"name\": \"EnableMongo\"\r\n },\r\n {\r\n \"name\": \"DisableRateLimitingResponses\"\r\n }\r\n ],\r\n \"ipRules\": [],\r\n \"backupPolicy\": {\r\n \"type\": \"Continuous\"\r\n },\r\n \"networkAclBypassResourceIds\": []\r\n },\r\n \"identity\": {\r\n \"type\": \"None\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/resourceGroups/virangai-test/providers/Microsoft.DocumentDB/databaseAccounts/test-virangai-vinhstagemongopitr-del-res1\",\r\n \"name\": \"test-virangai-vinhstagemongopitr-del-res1\",\r\n \"location\": \"West US 2\",\r\n \"type\": \"Microsoft.DocumentDB/databaseAccounts\",\r\n \"kind\": \"MongoDB\",\r\n \"tags\": {\r\n \"defaultExperience\": \"Azure Cosmos DB for MongoDB API\",\r\n \"hidden-cosmos-mmspecial\": \"\",\r\n \"CosmosAccountType\": \"Non-Production\"\r\n },\r\n \"systemData\": {\r\n \"createdAt\": \"2020-11-30T23:17:01.5955663Z\"\r\n },\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"documentEndpoint\": \"https://test-virangai-vinhstagemongopitr-del-res1.documents-staging.windows-ppe.net:443/\",\r\n \"mongoEndpoint\": \"https://test-virangai-vinhstagemongopitr-del-res1.mongo.cosmos.windows-ppe.net:443/\",\r\n \"publicNetworkAccess\": \"Enabled\",\r\n \"enableAutomaticFailover\": false,\r\n \"enableMultipleWriteLocations\": false,\r\n \"enablePartitionKeyMonitor\": false,\r\n \"isVirtualNetworkFilterEnabled\": false,\r\n \"virtualNetworkRules\": [],\r\n \"EnabledApiTypes\": \"MongoDB\",\r\n \"disableKeyBasedMetadataWriteAccess\": false,\r\n \"enableFreeTier\": false,\r\n \"enableAnalyticalStorage\": false,\r\n \"analyticalStorageConfiguration\": null,\r\n \"instanceId\": \"2b5e6412-19dc-4d79-88ae-178f5e30dd78\",\r\n \"createMode\": \"Restore\",\r\n \"databaseAccountOfferType\": \"Standard\",\r\n \"enableCassandraConnector\": false,\r\n \"defaultIdentity\": \"\",\r\n \"networkAclBypass\": \"None\",\r\n \"consistencyPolicy\": {\r\n \"defaultConsistencyLevel\": \"Session\",\r\n \"maxIntervalInSeconds\": 5,\r\n \"maxStalenessPrefix\": 100\r\n },\r\n \"apiProperties\": {\r\n \"serverVersion\": \"3.6\"\r\n },\r\n \"configurationOverrides\": {\r\n \"EnableBsonSchema\": \"True\"\r\n },\r\n \"writeLocations\": [\r\n {\r\n \"id\": \"test-virangai-vinhstagemongopitr-del-res1-westus2\",\r\n \"locationName\": \"West US 2\",\r\n \"documentEndpoint\": \"https://test-virangai-vinhstagemongopitr-del-res1-westus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"readLocations\": [\r\n {\r\n \"id\": \"test-virangai-vinhstagemongopitr-del-res1-westus2\",\r\n \"locationName\": \"West US 2\",\r\n \"documentEndpoint\": \"https://test-virangai-vinhstagemongopitr-del-res1-westus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"locations\": [\r\n {\r\n \"id\": \"test-virangai-vinhstagemongopitr-del-res1-westus2\",\r\n \"locationName\": \"West US 2\",\r\n \"documentEndpoint\": \"https://test-virangai-vinhstagemongopitr-del-res1-westus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"failoverPolicies\": [\r\n {\r\n \"id\": \"test-virangai-vinhstagemongopitr-del-res1-westus2\",\r\n \"locationName\": \"West US 2\",\r\n \"failoverPriority\": 0\r\n }\r\n ],\r\n \"cors\": [],\r\n \"capabilities\": [\r\n {\r\n \"name\": \"EnableMongo\"\r\n },\r\n {\r\n \"name\": \"DisableRateLimitingResponses\"\r\n }\r\n ],\r\n \"ipRules\": [],\r\n \"backupPolicy\": {\r\n \"type\": \"Continuous\"\r\n },\r\n \"restoreParameters\": {\r\n \"restoreMode\": \"PointInTime\",\r\n \"restoreSource\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/providers/Microsoft.DocumentDB/locations/westus2/restorableDatabaseAccounts/5631ca54-c65e-4c02-97ad-57a7a12b8da0\",\r\n \"restoreTimestampInUtc\": \"2020-11-30T22:39:00Z\",\r\n \"databasesToRestore\": []\r\n },\r\n \"networkAclBypassResourceIds\": []\r\n },\r\n \"identity\": {\r\n \"type\": \"None\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/resourceGroups/pitr-stage-rg/providers/Microsoft.DocumentDB/databaseAccounts/pitr-sql-stage-source\",\r\n \"name\": \"pitr-sql-stage-source\",\r\n \"location\": \"West US 2\",\r\n \"type\": \"Microsoft.DocumentDB/databaseAccounts\",\r\n \"kind\": \"GlobalDocumentDB\",\r\n \"tags\": {},\r\n \"systemData\": {\r\n \"createdAt\": \"2020-12-08T18:18:46.0964181Z\"\r\n },\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"documentEndpoint\": \"https://pitr-sql-stage-source.documents-staging.windows-ppe.net:443/\",\r\n \"publicNetworkAccess\": \"Enabled\",\r\n \"enableAutomaticFailover\": false,\r\n \"enableMultipleWriteLocations\": false,\r\n \"enablePartitionKeyMonitor\": false,\r\n \"isVirtualNetworkFilterEnabled\": false,\r\n \"virtualNetworkRules\": [],\r\n \"EnabledApiTypes\": \"Sql\",\r\n \"disableKeyBasedMetadataWriteAccess\": false,\r\n \"enableFreeTier\": false,\r\n \"enableAnalyticalStorage\": false,\r\n \"analyticalStorageConfiguration\": null,\r\n \"instanceId\": \"9a4b63c3-49d1-4c87-b28e-92e92aeaa0ea\",\r\n \"createMode\": \"Default\",\r\n \"databaseAccountOfferType\": \"Standard\",\r\n \"enableCassandraConnector\": false,\r\n \"connectorOffer\": \"\",\r\n \"defaultIdentity\": \"\",\r\n \"networkAclBypass\": \"None\",\r\n \"consistencyPolicy\": {\r\n \"defaultConsistencyLevel\": \"Session\",\r\n \"maxIntervalInSeconds\": 5,\r\n \"maxStalenessPrefix\": 100\r\n },\r\n \"configurationOverrides\": {},\r\n \"writeLocations\": [\r\n {\r\n \"id\": \"pitr-sql-stage-source-westus2\",\r\n \"locationName\": \"West US 2\",\r\n \"documentEndpoint\": \"https://pitr-sql-stage-source-westus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"readLocations\": [\r\n {\r\n \"id\": \"pitr-sql-stage-source-westus2\",\r\n \"locationName\": \"West US 2\",\r\n \"documentEndpoint\": \"https://pitr-sql-stage-source-westus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n },\r\n {\r\n \"id\": \"pitr-sql-stage-source-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://pitr-sql-stage-source-eastus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 1,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"locations\": [\r\n {\r\n \"id\": \"pitr-sql-stage-source-westus2\",\r\n \"locationName\": \"West US 2\",\r\n \"documentEndpoint\": \"https://pitr-sql-stage-source-westus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n },\r\n {\r\n \"id\": \"pitr-sql-stage-source-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://pitr-sql-stage-source-eastus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 1,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"failoverPolicies\": [\r\n {\r\n \"id\": \"pitr-sql-stage-source-westus2\",\r\n \"locationName\": \"West US 2\",\r\n \"failoverPriority\": 0\r\n },\r\n {\r\n \"id\": \"pitr-sql-stage-source-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"failoverPriority\": 1\r\n }\r\n ],\r\n \"cors\": [],\r\n \"capabilities\": [],\r\n \"ipRules\": [],\r\n \"backupPolicy\": {\r\n \"type\": \"Continuous\"\r\n },\r\n \"networkAclBypassResourceIds\": []\r\n },\r\n \"identity\": {\r\n \"type\": \"None\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/resourceGroups/vinh-stage-rp/providers/Microsoft.DocumentDB/databaseAccounts/restore-test1\",\r\n \"name\": \"restore-test1\",\r\n \"location\": \"West US 2\",\r\n \"type\": \"Microsoft.DocumentDB/databaseAccounts\",\r\n \"kind\": \"GlobalDocumentDB\",\r\n \"tags\": {},\r\n \"systemData\": {\r\n \"createdAt\": \"2020-12-08T21:44:46.139089Z\"\r\n },\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"documentEndpoint\": \"https://restore-test1.documents-staging.windows-ppe.net:443/\",\r\n \"publicNetworkAccess\": \"Enabled\",\r\n \"enableAutomaticFailover\": false,\r\n \"enableMultipleWriteLocations\": false,\r\n \"enablePartitionKeyMonitor\": false,\r\n \"isVirtualNetworkFilterEnabled\": false,\r\n \"virtualNetworkRules\": [],\r\n \"EnabledApiTypes\": \"Sql\",\r\n \"disableKeyBasedMetadataWriteAccess\": false,\r\n \"enableFreeTier\": false,\r\n \"enableAnalyticalStorage\": false,\r\n \"analyticalStorageConfiguration\": null,\r\n \"instanceId\": \"7d98d6c0-eadf-4d7e-a166-696de37c91fc\",\r\n \"createMode\": \"Restore\",\r\n \"databaseAccountOfferType\": \"Standard\",\r\n \"enableCassandraConnector\": false,\r\n \"defaultIdentity\": \"\",\r\n \"networkAclBypass\": \"None\",\r\n \"consistencyPolicy\": {\r\n \"defaultConsistencyLevel\": \"Session\",\r\n \"maxIntervalInSeconds\": 5,\r\n \"maxStalenessPrefix\": 100\r\n },\r\n \"configurationOverrides\": {},\r\n \"writeLocations\": [\r\n {\r\n \"id\": \"restore-test1-westus2\",\r\n \"locationName\": \"West US 2\",\r\n \"documentEndpoint\": \"https://restore-test1-westus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"readLocations\": [\r\n {\r\n \"id\": \"restore-test1-westus2\",\r\n \"locationName\": \"West US 2\",\r\n \"documentEndpoint\": \"https://restore-test1-westus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"locations\": [\r\n {\r\n \"id\": \"restore-test1-westus2\",\r\n \"locationName\": \"West US 2\",\r\n \"documentEndpoint\": \"https://restore-test1-westus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"failoverPolicies\": [\r\n {\r\n \"id\": \"restore-test1-westus2\",\r\n \"locationName\": \"West US 2\",\r\n \"failoverPriority\": 0\r\n }\r\n ],\r\n \"cors\": [],\r\n \"capabilities\": [],\r\n \"ipRules\": [],\r\n \"backupPolicy\": {\r\n \"type\": \"Continuous\"\r\n },\r\n \"restoreParameters\": {\r\n \"restoreMode\": \"PointInTime\",\r\n \"restoreSource\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/providers/Microsoft.DocumentDB/locations/westus2/restorableDatabaseAccounts/5dee0717-8f84-40d7-b7c1-921552ba61a5\",\r\n \"restoreTimestampInUtc\": \"2020-11-12T00:40:36Z\",\r\n \"databasesToRestore\": [\r\n {\r\n \"databaseName\": \"CosmosPITRTest\",\r\n \"collectionNames\": [\r\n \"Test0\",\r\n \"Test1\"\r\n ]\r\n }\r\n ]\r\n },\r\n \"networkAclBypassResourceIds\": []\r\n },\r\n \"identity\": {\r\n \"type\": \"None\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/resourceGroups/virangai/providers/Microsoft.DocumentDB/databaseAccounts/test-virangai-vinhstagemongopitr-1\",\r\n \"name\": \"test-virangai-vinhstagemongopitr-1\",\r\n \"location\": \"West US 2\",\r\n \"type\": \"Microsoft.DocumentDB/databaseAccounts\",\r\n \"kind\": \"MongoDB\",\r\n \"tags\": {\r\n \"defaultExperience\": \"Azure Cosmos DB for MongoDB API\",\r\n \"hidden-cosmos-mmspecial\": \"\",\r\n \"CosmosAccountType\": \"Non-Production\"\r\n },\r\n \"systemData\": {\r\n \"createdAt\": \"2020-12-09T10:37:07.3408295Z\"\r\n },\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"documentEndpoint\": \"https://test-virangai-vinhstagemongopitr-1.documents-staging.windows-ppe.net:443/\",\r\n \"mongoEndpoint\": \"https://test-virangai-vinhstagemongopitr-1.mongo.cosmos.windows-ppe.net:443/\",\r\n \"publicNetworkAccess\": \"Enabled\",\r\n \"enableAutomaticFailover\": false,\r\n \"enableMultipleWriteLocations\": false,\r\n \"enablePartitionKeyMonitor\": false,\r\n \"isVirtualNetworkFilterEnabled\": false,\r\n \"virtualNetworkRules\": [],\r\n \"EnabledApiTypes\": \"MongoDB\",\r\n \"disableKeyBasedMetadataWriteAccess\": false,\r\n \"enableFreeTier\": false,\r\n \"enableAnalyticalStorage\": false,\r\n \"analyticalStorageConfiguration\": null,\r\n \"instanceId\": \"08155af7-e63f-4db1-82ed-c99b8a08e541\",\r\n \"createMode\": \"Restore\",\r\n \"databaseAccountOfferType\": \"Standard\",\r\n \"enableCassandraConnector\": false,\r\n \"defaultIdentity\": \"\",\r\n \"networkAclBypass\": \"None\",\r\n \"consistencyPolicy\": {\r\n \"defaultConsistencyLevel\": \"Session\",\r\n \"maxIntervalInSeconds\": 5,\r\n \"maxStalenessPrefix\": 100\r\n },\r\n \"apiProperties\": {\r\n \"serverVersion\": \"3.6\"\r\n },\r\n \"configurationOverrides\": {\r\n \"EnableBsonSchema\": \"True\"\r\n },\r\n \"writeLocations\": [\r\n {\r\n \"id\": \"test-virangai-vinhstagemongopitr-1-westus2\",\r\n \"locationName\": \"West US 2\",\r\n \"documentEndpoint\": \"https://test-virangai-vinhstagemongopitr-1-westus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"readLocations\": [\r\n {\r\n \"id\": \"test-virangai-vinhstagemongopitr-1-westus2\",\r\n \"locationName\": \"West US 2\",\r\n \"documentEndpoint\": \"https://test-virangai-vinhstagemongopitr-1-westus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"locations\": [\r\n {\r\n \"id\": \"test-virangai-vinhstagemongopitr-1-westus2\",\r\n \"locationName\": \"West US 2\",\r\n \"documentEndpoint\": \"https://test-virangai-vinhstagemongopitr-1-westus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"failoverPolicies\": [\r\n {\r\n \"id\": \"test-virangai-vinhstagemongopitr-1-westus2\",\r\n \"locationName\": \"West US 2\",\r\n \"failoverPriority\": 0\r\n }\r\n ],\r\n \"cors\": [],\r\n \"capabilities\": [\r\n {\r\n \"name\": \"EnableMongo\"\r\n },\r\n {\r\n \"name\": \"DisableRateLimitingResponses\"\r\n }\r\n ],\r\n \"ipRules\": [],\r\n \"backupPolicy\": {\r\n \"type\": \"Continuous\"\r\n },\r\n \"restoreParameters\": {\r\n \"restoreMode\": \"PointInTime\",\r\n \"restoreSource\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/providers/Microsoft.DocumentDB/locations/westus2/restorableDatabaseAccounts/5cfa410f-ea0c-4995-aa59-9809a69c21f8\",\r\n \"restoreTimestampInUtc\": \"2020-11-25T17:25:31Z\",\r\n \"databasesToRestore\": [\r\n {\r\n \"databaseName\": \"mongodbdb\",\r\n \"collectionNames\": [\r\n \"coll2\",\r\n \"collone\"\r\n ]\r\n }\r\n ]\r\n },\r\n \"networkAclBypassResourceIds\": []\r\n },\r\n \"identity\": {\r\n \"type\": \"None\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/resourceGroups/virangai/providers/Microsoft.DocumentDB/databaseAccounts/virangai-test-vinhstagepitr-restore1\",\r\n \"name\": \"virangai-test-vinhstagepitr-restore1\",\r\n \"location\": \"West US 2\",\r\n \"type\": \"Microsoft.DocumentDB/databaseAccounts\",\r\n \"kind\": \"GlobalDocumentDB\",\r\n \"tags\": {},\r\n \"systemData\": {\r\n \"createdAt\": \"2020-12-10T02:08:17.9156245Z\"\r\n },\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"documentEndpoint\": \"https://virangai-test-vinhstagepitr-restore1.documents-staging.windows-ppe.net:443/\",\r\n \"publicNetworkAccess\": \"Enabled\",\r\n \"enableAutomaticFailover\": false,\r\n \"enableMultipleWriteLocations\": false,\r\n \"enablePartitionKeyMonitor\": false,\r\n \"isVirtualNetworkFilterEnabled\": false,\r\n \"virtualNetworkRules\": [],\r\n \"EnabledApiTypes\": \"Sql\",\r\n \"disableKeyBasedMetadataWriteAccess\": false,\r\n \"enableFreeTier\": false,\r\n \"enableAnalyticalStorage\": false,\r\n \"analyticalStorageConfiguration\": null,\r\n \"instanceId\": \"d0cb2ece-f253-4f20-86d0-01897e729eba\",\r\n \"createMode\": \"Restore\",\r\n \"databaseAccountOfferType\": \"Standard\",\r\n \"enableCassandraConnector\": false,\r\n \"defaultIdentity\": \"\",\r\n \"networkAclBypass\": \"None\",\r\n \"consistencyPolicy\": {\r\n \"defaultConsistencyLevel\": \"Session\",\r\n \"maxIntervalInSeconds\": 5,\r\n \"maxStalenessPrefix\": 100\r\n },\r\n \"configurationOverrides\": {},\r\n \"writeLocations\": [\r\n {\r\n \"id\": \"virangai-test-vinhstagepitr-restore1-westus2\",\r\n \"locationName\": \"West US 2\",\r\n \"documentEndpoint\": \"https://virangai-test-vinhstagepitr-restore1-westus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"readLocations\": [\r\n {\r\n \"id\": \"virangai-test-vinhstagepitr-restore1-westus2\",\r\n \"locationName\": \"West US 2\",\r\n \"documentEndpoint\": \"https://virangai-test-vinhstagepitr-restore1-westus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"locations\": [\r\n {\r\n \"id\": \"virangai-test-vinhstagepitr-restore1-westus2\",\r\n \"locationName\": \"West US 2\",\r\n \"documentEndpoint\": \"https://virangai-test-vinhstagepitr-restore1-westus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"failoverPolicies\": [\r\n {\r\n \"id\": \"virangai-test-vinhstagepitr-restore1-westus2\",\r\n \"locationName\": \"West US 2\",\r\n \"failoverPriority\": 0\r\n }\r\n ],\r\n \"cors\": [],\r\n \"capabilities\": [],\r\n \"ipRules\": [],\r\n \"backupPolicy\": {\r\n \"type\": \"Continuous\"\r\n },\r\n \"restoreParameters\": {\r\n \"restoreMode\": \"PointInTime\",\r\n \"restoreSource\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/providers/Microsoft.DocumentDB/locations/westus2/restorableDatabaseAccounts/5dee0717-8f84-40d7-b7c1-921552ba61a5\",\r\n \"restoreTimestampInUtc\": \"2020-11-12T00:40:54Z\",\r\n \"databasesToRestore\": [\r\n {\r\n \"databaseName\": \"db1\",\r\n \"collectionNames\": [\r\n \"container1\"\r\n ]\r\n },\r\n {\r\n \"databaseName\": \"CosmosPITRTest\",\r\n \"collectionNames\": [\r\n \"Test13\",\r\n \"Test5\",\r\n \"Test2\",\r\n \"Test9\",\r\n \"Test22\",\r\n \"Test12\",\r\n \"Test7\",\r\n \"Test11\",\r\n \"Test3\",\r\n \"Test18\",\r\n \"Test6\",\r\n \"Test0\",\r\n \"Test8\",\r\n \"Test14\",\r\n \"Test17\",\r\n \"Test25\",\r\n \"Test1\",\r\n \"Test19\",\r\n \"Test15\",\r\n \"Test10\",\r\n \"Test26\",\r\n \"Test21\",\r\n \"Test24\",\r\n \"Test23\",\r\n \"Test16\",\r\n \"Test4\",\r\n \"Test20\"\r\n ]\r\n },\r\n {\r\n \"databaseName\": \"CosmosIOTDemo\",\r\n \"collectionNames\": [\r\n \"VehicleData\"\r\n ]\r\n }\r\n ]\r\n },\r\n \"networkAclBypassResourceIds\": []\r\n },\r\n \"identity\": {\r\n \"type\": \"None\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/resourceGroups/virangai/providers/Microsoft.DocumentDB/databaseAccounts/virangai-test-vinhstagepitr-restore2\",\r\n \"name\": \"virangai-test-vinhstagepitr-restore2\",\r\n \"location\": \"West US 2\",\r\n \"type\": \"Microsoft.DocumentDB/databaseAccounts\",\r\n \"kind\": \"GlobalDocumentDB\",\r\n \"tags\": {},\r\n \"systemData\": {\r\n \"createdAt\": \"2020-12-10T03:12:30.5345961Z\"\r\n },\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"documentEndpoint\": \"https://virangai-test-vinhstagepitr-restore2.documents-staging.windows-ppe.net:443/\",\r\n \"publicNetworkAccess\": \"Enabled\",\r\n \"enableAutomaticFailover\": false,\r\n \"enableMultipleWriteLocations\": false,\r\n \"enablePartitionKeyMonitor\": false,\r\n \"isVirtualNetworkFilterEnabled\": false,\r\n \"virtualNetworkRules\": [],\r\n \"EnabledApiTypes\": \"Sql\",\r\n \"disableKeyBasedMetadataWriteAccess\": false,\r\n \"enableFreeTier\": false,\r\n \"enableAnalyticalStorage\": false,\r\n \"analyticalStorageConfiguration\": null,\r\n \"instanceId\": \"9373a8d7-1889-4be9-9ddb-e589e406d04b\",\r\n \"createMode\": \"Restore\",\r\n \"databaseAccountOfferType\": \"Standard\",\r\n \"enableCassandraConnector\": false,\r\n \"defaultIdentity\": \"\",\r\n \"networkAclBypass\": \"None\",\r\n \"consistencyPolicy\": {\r\n \"defaultConsistencyLevel\": \"Session\",\r\n \"maxIntervalInSeconds\": 5,\r\n \"maxStalenessPrefix\": 100\r\n },\r\n \"configurationOverrides\": {},\r\n \"writeLocations\": [\r\n {\r\n \"id\": \"virangai-test-vinhstagepitr-restore2-westus2\",\r\n \"locationName\": \"West US 2\",\r\n \"documentEndpoint\": \"https://virangai-test-vinhstagepitr-restore2-westus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"readLocations\": [\r\n {\r\n \"id\": \"virangai-test-vinhstagepitr-restore2-westus2\",\r\n \"locationName\": \"West US 2\",\r\n \"documentEndpoint\": \"https://virangai-test-vinhstagepitr-restore2-westus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"locations\": [\r\n {\r\n \"id\": \"virangai-test-vinhstagepitr-restore2-westus2\",\r\n \"locationName\": \"West US 2\",\r\n \"documentEndpoint\": \"https://virangai-test-vinhstagepitr-restore2-westus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"failoverPolicies\": [\r\n {\r\n \"id\": \"virangai-test-vinhstagepitr-restore2-westus2\",\r\n \"locationName\": \"West US 2\",\r\n \"failoverPriority\": 0\r\n }\r\n ],\r\n \"cors\": [],\r\n \"capabilities\": [],\r\n \"ipRules\": [],\r\n \"backupPolicy\": {\r\n \"type\": \"Continuous\"\r\n },\r\n \"restoreParameters\": {\r\n \"restoreMode\": \"PointInTime\",\r\n \"restoreSource\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/providers/Microsoft.DocumentDB/locations/westus2/restorableDatabaseAccounts/5dee0717-8f84-40d7-b7c1-921552ba61a5\",\r\n \"restoreTimestampInUtc\": \"2020-11-12T00:41:12Z\",\r\n \"databasesToRestore\": [\r\n {\r\n \"databaseName\": \"db1\",\r\n \"collectionNames\": [\r\n \"container1\"\r\n ]\r\n },\r\n {\r\n \"databaseName\": \"CosmosPITRTest\",\r\n \"collectionNames\": [\r\n \"Test13\",\r\n \"Test5\",\r\n \"Test37\",\r\n \"Test44\",\r\n \"Test2\",\r\n \"Test9\",\r\n \"Test34\",\r\n \"Test22\",\r\n \"Test12\",\r\n \"Test40\",\r\n \"Test46\",\r\n \"Test7\",\r\n \"Test35\",\r\n \"Test11\",\r\n \"Test3\",\r\n \"Test18\",\r\n \"Test6\",\r\n \"Test0\",\r\n \"Test41\",\r\n \"Test28\",\r\n \"Test8\",\r\n \"Test14\",\r\n \"Test17\",\r\n \"Test30\",\r\n \"Test25\",\r\n \"Test42\",\r\n \"Test1\",\r\n \"Test19\",\r\n \"Test15\",\r\n \"Test48\",\r\n \"Test27\",\r\n \"Test47\",\r\n \"Test31\",\r\n \"Test32\",\r\n \"Test10\",\r\n \"Test26\",\r\n \"Test21\",\r\n \"Test38\",\r\n \"Test45\",\r\n \"Test39\",\r\n \"Test36\",\r\n \"Test24\",\r\n \"Test49\",\r\n \"Test33\",\r\n \"Test23\",\r\n \"Test29\",\r\n \"Test16\",\r\n \"Test43\",\r\n \"Test4\",\r\n \"Test20\"\r\n ]\r\n },\r\n {\r\n \"databaseName\": \"CosmosIOTDemo\",\r\n \"collectionNames\": [\r\n \"VehicleData\"\r\n ]\r\n }\r\n ]\r\n },\r\n \"networkAclBypassResourceIds\": []\r\n },\r\n \"identity\": {\r\n \"type\": \"None\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/resourceGroups/pitr-stage-rg/providers/Microsoft.DocumentDB/databaseAccounts/restoredaccountname637435832535194992\",\r\n \"name\": \"restoredaccountname637435832535194992\",\r\n \"location\": \"West US 2\",\r\n \"type\": \"Microsoft.DocumentDB/databaseAccounts\",\r\n \"kind\": \"GlobalDocumentDB\",\r\n \"tags\": {},\r\n \"systemData\": {\r\n \"createdAt\": \"2020-12-15T23:04:00.348964Z\"\r\n },\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"documentEndpoint\": \"https://restoredaccountname637435832535194992.documents-staging.windows-ppe.net:443/\",\r\n \"publicNetworkAccess\": \"Enabled\",\r\n \"enableAutomaticFailover\": false,\r\n \"enableMultipleWriteLocations\": false,\r\n \"enablePartitionKeyMonitor\": false,\r\n \"isVirtualNetworkFilterEnabled\": false,\r\n \"virtualNetworkRules\": [],\r\n \"EnabledApiTypes\": \"Sql\",\r\n \"disableKeyBasedMetadataWriteAccess\": false,\r\n \"enableFreeTier\": false,\r\n \"enableAnalyticalStorage\": false,\r\n \"analyticalStorageConfiguration\": null,\r\n \"instanceId\": \"530b269d-274b-4987-94e1-f54b09abecff\",\r\n \"createMode\": \"Restore\",\r\n \"databaseAccountOfferType\": \"Standard\",\r\n \"enableCassandraConnector\": false,\r\n \"defaultIdentity\": \"\",\r\n \"networkAclBypass\": \"None\",\r\n \"consistencyPolicy\": {\r\n \"defaultConsistencyLevel\": \"Session\",\r\n \"maxIntervalInSeconds\": 5,\r\n \"maxStalenessPrefix\": 100\r\n },\r\n \"configurationOverrides\": {},\r\n \"writeLocations\": [\r\n {\r\n \"id\": \"restoredaccountname637435832535194992-westus2\",\r\n \"locationName\": \"West US 2\",\r\n \"documentEndpoint\": \"https://restoredaccountname637435832535194992-westus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"readLocations\": [\r\n {\r\n \"id\": \"restoredaccountname637435832535194992-westus2\",\r\n \"locationName\": \"West US 2\",\r\n \"documentEndpoint\": \"https://restoredaccountname637435832535194992-westus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"locations\": [\r\n {\r\n \"id\": \"restoredaccountname637435832535194992-westus2\",\r\n \"locationName\": \"West US 2\",\r\n \"documentEndpoint\": \"https://restoredaccountname637435832535194992-westus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"failoverPolicies\": [\r\n {\r\n \"id\": \"restoredaccountname637435832535194992-westus2\",\r\n \"locationName\": \"West US 2\",\r\n \"failoverPriority\": 0\r\n }\r\n ],\r\n \"cors\": [],\r\n \"capabilities\": [],\r\n \"ipRules\": [],\r\n \"backupPolicy\": {\r\n \"type\": \"Continuous\"\r\n },\r\n \"restoreParameters\": {\r\n \"restoreMode\": \"PointInTime\",\r\n \"restoreSource\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/providers/Microsoft.DocumentDB/locations/westus2/restorableDatabaseAccounts/9a4b63c3-49d1-4c87-b28e-92e92aeaa0ea\",\r\n \"restoreTimestampInUtc\": \"2020-12-14T22:54:13.5194992Z\",\r\n \"databasesToRestore\": []\r\n },\r\n \"networkAclBypassResourceIds\": []\r\n },\r\n \"identity\": {\r\n \"type\": \"None\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/resourceGroups/pitr-stage-rg/providers/Microsoft.DocumentDB/databaseAccounts/restoredaccountname359\",\r\n \"name\": \"restoredaccountname359\",\r\n \"location\": \"West US 2\",\r\n \"type\": \"Microsoft.DocumentDB/databaseAccounts\",\r\n \"kind\": \"GlobalDocumentDB\",\r\n \"tags\": {},\r\n \"systemData\": {\r\n \"createdAt\": \"2020-12-16T00:51:05.9707658Z\"\r\n },\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"documentEndpoint\": \"https://restoredaccountname359.documents-staging.windows-ppe.net:443/\",\r\n \"publicNetworkAccess\": \"Enabled\",\r\n \"enableAutomaticFailover\": false,\r\n \"enableMultipleWriteLocations\": false,\r\n \"enablePartitionKeyMonitor\": false,\r\n \"isVirtualNetworkFilterEnabled\": false,\r\n \"virtualNetworkRules\": [],\r\n \"EnabledApiTypes\": \"Sql\",\r\n \"disableKeyBasedMetadataWriteAccess\": false,\r\n \"enableFreeTier\": false,\r\n \"enableAnalyticalStorage\": false,\r\n \"analyticalStorageConfiguration\": null,\r\n \"instanceId\": \"4993c7e8-c48b-4e45-9353-9baea1ce9e2a\",\r\n \"createMode\": \"Restore\",\r\n \"databaseAccountOfferType\": \"Standard\",\r\n \"enableCassandraConnector\": false,\r\n \"defaultIdentity\": \"\",\r\n \"networkAclBypass\": \"None\",\r\n \"consistencyPolicy\": {\r\n \"defaultConsistencyLevel\": \"Session\",\r\n \"maxIntervalInSeconds\": 5,\r\n \"maxStalenessPrefix\": 100\r\n },\r\n \"configurationOverrides\": {},\r\n \"writeLocations\": [\r\n {\r\n \"id\": \"restoredaccountname359-westus2\",\r\n \"locationName\": \"West US 2\",\r\n \"documentEndpoint\": \"https://restoredaccountname359-westus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"readLocations\": [\r\n {\r\n \"id\": \"restoredaccountname359-westus2\",\r\n \"locationName\": \"West US 2\",\r\n \"documentEndpoint\": \"https://restoredaccountname359-westus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"locations\": [\r\n {\r\n \"id\": \"restoredaccountname359-westus2\",\r\n \"locationName\": \"West US 2\",\r\n \"documentEndpoint\": \"https://restoredaccountname359-westus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"failoverPolicies\": [\r\n {\r\n \"id\": \"restoredaccountname359-westus2\",\r\n \"locationName\": \"West US 2\",\r\n \"failoverPriority\": 0\r\n }\r\n ],\r\n \"cors\": [],\r\n \"capabilities\": [],\r\n \"ipRules\": [],\r\n \"backupPolicy\": {\r\n \"type\": \"Continuous\"\r\n },\r\n \"restoreParameters\": {\r\n \"restoreMode\": \"PointInTime\",\r\n \"restoreSource\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/providers/Microsoft.DocumentDB/locations/westus2/restorableDatabaseAccounts/9a4b63c3-49d1-4c87-b28e-92e92aeaa0ea\",\r\n \"restoreTimestampInUtc\": \"2020-12-16T00:00:00Z\",\r\n \"databasesToRestore\": []\r\n },\r\n \"networkAclBypassResourceIds\": []\r\n },\r\n \"identity\": {\r\n \"type\": \"None\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/resourceGroups/pitr-stage-rg/providers/Microsoft.DocumentDB/databaseAccounts/pitr-sql-stage-restored-from-new-portal\",\r\n \"name\": \"pitr-sql-stage-restored-from-new-portal\",\r\n \"location\": \"West US 2\",\r\n \"type\": \"Microsoft.DocumentDB/databaseAccounts\",\r\n \"kind\": \"GlobalDocumentDB\",\r\n \"tags\": {},\r\n \"systemData\": {\r\n \"createdAt\": \"2021-01-05T00:28:33.8472693Z\"\r\n },\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"documentEndpoint\": \"https://pitr-sql-stage-restored-from-new-portal.documents-staging.windows-ppe.net:443/\",\r\n \"publicNetworkAccess\": \"Enabled\",\r\n \"enableAutomaticFailover\": false,\r\n \"enableMultipleWriteLocations\": false,\r\n \"enablePartitionKeyMonitor\": false,\r\n \"isVirtualNetworkFilterEnabled\": false,\r\n \"virtualNetworkRules\": [],\r\n \"EnabledApiTypes\": \"Sql\",\r\n \"disableKeyBasedMetadataWriteAccess\": false,\r\n \"enableFreeTier\": false,\r\n \"enableAnalyticalStorage\": false,\r\n \"analyticalStorageConfiguration\": null,\r\n \"instanceId\": \"d673eaa8-f7fa-421f-9d61-ba314864a431\",\r\n \"createMode\": \"Restore\",\r\n \"databaseAccountOfferType\": \"Standard\",\r\n \"enableCassandraConnector\": false,\r\n \"defaultIdentity\": \"\",\r\n \"networkAclBypass\": \"None\",\r\n \"consistencyPolicy\": {\r\n \"defaultConsistencyLevel\": \"Session\",\r\n \"maxIntervalInSeconds\": 5,\r\n \"maxStalenessPrefix\": 100\r\n },\r\n \"configurationOverrides\": {},\r\n \"writeLocations\": [\r\n {\r\n \"id\": \"pitr-sql-stage-restored-from-new-portal-westus2\",\r\n \"locationName\": \"West US 2\",\r\n \"documentEndpoint\": \"https://pitr-sql-stage-restored-from-new-portal-westus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"readLocations\": [\r\n {\r\n \"id\": \"pitr-sql-stage-restored-from-new-portal-westus2\",\r\n \"locationName\": \"West US 2\",\r\n \"documentEndpoint\": \"https://pitr-sql-stage-restored-from-new-portal-westus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"locations\": [\r\n {\r\n \"id\": \"pitr-sql-stage-restored-from-new-portal-westus2\",\r\n \"locationName\": \"West US 2\",\r\n \"documentEndpoint\": \"https://pitr-sql-stage-restored-from-new-portal-westus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"failoverPolicies\": [\r\n {\r\n \"id\": \"pitr-sql-stage-restored-from-new-portal-westus2\",\r\n \"locationName\": \"West US 2\",\r\n \"failoverPriority\": 0\r\n }\r\n ],\r\n \"cors\": [],\r\n \"capabilities\": [],\r\n \"ipRules\": [],\r\n \"backupPolicy\": {\r\n \"type\": \"Continuous\"\r\n },\r\n \"restoreParameters\": {\r\n \"restoreMode\": \"PointInTime\",\r\n \"restoreSource\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/providers/Microsoft.DocumentDB/locations/westus2/restorableDatabaseAccounts/9a4b63c3-49d1-4c87-b28e-92e92aeaa0ea\",\r\n \"restoreTimestampInUtc\": \"2020-12-08T22:00:02Z\",\r\n \"databasesToRestore\": [\r\n {\r\n \"databaseName\": \"database1\",\r\n \"collectionNames\": [\r\n \"container1\"\r\n ]\r\n }\r\n ]\r\n },\r\n \"networkAclBypassResourceIds\": []\r\n },\r\n \"identity\": {\r\n \"type\": \"None\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/resourceGroups/vinh-stage-rp/providers/Microsoft.DocumentDB/databaseAccounts/pitrtest1-res1\",\r\n \"name\": \"pitrtest1-res1\",\r\n \"location\": \"West US 2\",\r\n \"type\": \"Microsoft.DocumentDB/databaseAccounts\",\r\n \"kind\": \"GlobalDocumentDB\",\r\n \"tags\": {},\r\n \"systemData\": {\r\n \"createdAt\": \"2021-01-05T23:45:54.8433804Z\"\r\n },\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"documentEndpoint\": \"https://pitrtest1-res1.documents-staging.windows-ppe.net:443/\",\r\n \"publicNetworkAccess\": \"Enabled\",\r\n \"enableAutomaticFailover\": false,\r\n \"enableMultipleWriteLocations\": false,\r\n \"enablePartitionKeyMonitor\": false,\r\n \"isVirtualNetworkFilterEnabled\": false,\r\n \"virtualNetworkRules\": [],\r\n \"EnabledApiTypes\": \"Sql\",\r\n \"disableKeyBasedMetadataWriteAccess\": false,\r\n \"enableFreeTier\": false,\r\n \"enableAnalyticalStorage\": false,\r\n \"analyticalStorageConfiguration\": null,\r\n \"instanceId\": \"6d6384ae-d623-4323-8388-65ca7df02733\",\r\n \"createMode\": \"Restore\",\r\n \"databaseAccountOfferType\": \"Standard\",\r\n \"enableCassandraConnector\": false,\r\n \"defaultIdentity\": \"\",\r\n \"networkAclBypass\": \"None\",\r\n \"consistencyPolicy\": {\r\n \"defaultConsistencyLevel\": \"Session\",\r\n \"maxIntervalInSeconds\": 5,\r\n \"maxStalenessPrefix\": 100\r\n },\r\n \"configurationOverrides\": {},\r\n \"writeLocations\": [\r\n {\r\n \"id\": \"pitrtest1-res1-westus2\",\r\n \"locationName\": \"West US 2\",\r\n \"documentEndpoint\": \"https://pitrtest1-res1-westus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"readLocations\": [\r\n {\r\n \"id\": \"pitrtest1-res1-westus2\",\r\n \"locationName\": \"West US 2\",\r\n \"documentEndpoint\": \"https://pitrtest1-res1-westus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"locations\": [\r\n {\r\n \"id\": \"pitrtest1-res1-westus2\",\r\n \"locationName\": \"West US 2\",\r\n \"documentEndpoint\": \"https://pitrtest1-res1-westus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"failoverPolicies\": [\r\n {\r\n \"id\": \"pitrtest1-res1-westus2\",\r\n \"locationName\": \"West US 2\",\r\n \"failoverPriority\": 0\r\n }\r\n ],\r\n \"cors\": [],\r\n \"capabilities\": [],\r\n \"ipRules\": [],\r\n \"backupPolicy\": {\r\n \"type\": \"Continuous\"\r\n },\r\n \"restoreParameters\": {\r\n \"restoreMode\": \"PointInTime\",\r\n \"restoreSource\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/providers/Microsoft.DocumentDB/locations/westus2/restorableDatabaseAccounts/5dee0717-8f84-40d7-b7c1-921552ba61a5\",\r\n \"restoreTimestampInUtc\": \"2020-12-12T00:41:10Z\",\r\n \"databasesToRestore\": [\r\n {\r\n \"databaseName\": \"db1\",\r\n \"collectionNames\": [\r\n \"container1\"\r\n ]\r\n }\r\n ]\r\n },\r\n \"networkAclBypassResourceIds\": []\r\n },\r\n \"identity\": {\r\n \"type\": \"None\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/resourceGroups/vinh-stage-rp/providers/Microsoft.DocumentDB/databaseAccounts/pitrtest1-res2\",\r\n \"name\": \"pitrtest1-res2\",\r\n \"location\": \"West US 2\",\r\n \"type\": \"Microsoft.DocumentDB/databaseAccounts\",\r\n \"kind\": \"GlobalDocumentDB\",\r\n \"tags\": {},\r\n \"systemData\": {\r\n \"createdAt\": \"2021-01-05T23:46:36.9885427Z\"\r\n },\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"documentEndpoint\": \"https://pitrtest1-res2.documents-staging.windows-ppe.net:443/\",\r\n \"publicNetworkAccess\": \"Enabled\",\r\n \"enableAutomaticFailover\": false,\r\n \"enableMultipleWriteLocations\": false,\r\n \"enablePartitionKeyMonitor\": false,\r\n \"isVirtualNetworkFilterEnabled\": false,\r\n \"virtualNetworkRules\": [],\r\n \"EnabledApiTypes\": \"Sql\",\r\n \"disableKeyBasedMetadataWriteAccess\": false,\r\n \"enableFreeTier\": false,\r\n \"enableAnalyticalStorage\": false,\r\n \"analyticalStorageConfiguration\": null,\r\n \"instanceId\": \"0bcf9a9b-1ca1-4406-9652-aa087d5f0b3f\",\r\n \"createMode\": \"Restore\",\r\n \"databaseAccountOfferType\": \"Standard\",\r\n \"enableCassandraConnector\": false,\r\n \"defaultIdentity\": \"\",\r\n \"networkAclBypass\": \"None\",\r\n \"consistencyPolicy\": {\r\n \"defaultConsistencyLevel\": \"Session\",\r\n \"maxIntervalInSeconds\": 5,\r\n \"maxStalenessPrefix\": 100\r\n },\r\n \"configurationOverrides\": {},\r\n \"writeLocations\": [\r\n {\r\n \"id\": \"pitrtest1-res2-westus2\",\r\n \"locationName\": \"West US 2\",\r\n \"documentEndpoint\": \"https://pitrtest1-res2-westus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"readLocations\": [\r\n {\r\n \"id\": \"pitrtest1-res2-westus2\",\r\n \"locationName\": \"West US 2\",\r\n \"documentEndpoint\": \"https://pitrtest1-res2-westus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"locations\": [\r\n {\r\n \"id\": \"pitrtest1-res2-westus2\",\r\n \"locationName\": \"West US 2\",\r\n \"documentEndpoint\": \"https://pitrtest1-res2-westus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"failoverPolicies\": [\r\n {\r\n \"id\": \"pitrtest1-res2-westus2\",\r\n \"locationName\": \"West US 2\",\r\n \"failoverPriority\": 0\r\n }\r\n ],\r\n \"cors\": [],\r\n \"capabilities\": [],\r\n \"ipRules\": [],\r\n \"backupPolicy\": {\r\n \"type\": \"Continuous\"\r\n },\r\n \"restoreParameters\": {\r\n \"restoreMode\": \"PointInTime\",\r\n \"restoreSource\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/providers/Microsoft.DocumentDB/locations/westus2/restorableDatabaseAccounts/5dee0717-8f84-40d7-b7c1-921552ba61a5\",\r\n \"restoreTimestampInUtc\": \"2020-12-12T00:41:10Z\",\r\n \"databasesToRestore\": [\r\n {\r\n \"databaseName\": \"db1\",\r\n \"collectionNames\": [\r\n \"container1\"\r\n ]\r\n }\r\n ]\r\n },\r\n \"networkAclBypassResourceIds\": []\r\n },\r\n \"identity\": {\r\n \"type\": \"None\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/resourceGroups/virangai-test/providers/Microsoft.DocumentDB/databaseAccounts/test-virangai-vinhstagepitr-1\",\r\n \"name\": \"test-virangai-vinhstagepitr-1\",\r\n \"location\": \"West US 2\",\r\n \"type\": \"Microsoft.DocumentDB/databaseAccounts\",\r\n \"kind\": \"GlobalDocumentDB\",\r\n \"tags\": {},\r\n \"systemData\": {\r\n \"createdAt\": \"2021-01-06T09:24:06.8099413Z\"\r\n },\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"documentEndpoint\": \"https://test-virangai-vinhstagepitr-1.documents-staging.windows-ppe.net:443/\",\r\n \"publicNetworkAccess\": \"Enabled\",\r\n \"enableAutomaticFailover\": false,\r\n \"enableMultipleWriteLocations\": false,\r\n \"enablePartitionKeyMonitor\": false,\r\n \"isVirtualNetworkFilterEnabled\": false,\r\n \"virtualNetworkRules\": [],\r\n \"EnabledApiTypes\": \"Sql\",\r\n \"disableKeyBasedMetadataWriteAccess\": false,\r\n \"enableFreeTier\": false,\r\n \"enableAnalyticalStorage\": false,\r\n \"analyticalStorageConfiguration\": null,\r\n \"instanceId\": \"b15e30f1-4e37-4fca-b77b-303516959017\",\r\n \"createMode\": \"Restore\",\r\n \"databaseAccountOfferType\": \"Standard\",\r\n \"enableCassandraConnector\": false,\r\n \"defaultIdentity\": \"\",\r\n \"networkAclBypass\": \"None\",\r\n \"consistencyPolicy\": {\r\n \"defaultConsistencyLevel\": \"Session\",\r\n \"maxIntervalInSeconds\": 5,\r\n \"maxStalenessPrefix\": 100\r\n },\r\n \"configurationOverrides\": {},\r\n \"writeLocations\": [\r\n {\r\n \"id\": \"test-virangai-vinhstagepitr-1-westus2\",\r\n \"locationName\": \"West US 2\",\r\n \"documentEndpoint\": \"https://test-virangai-vinhstagepitr-1-westus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"readLocations\": [\r\n {\r\n \"id\": \"test-virangai-vinhstagepitr-1-westus2\",\r\n \"locationName\": \"West US 2\",\r\n \"documentEndpoint\": \"https://test-virangai-vinhstagepitr-1-westus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"locations\": [\r\n {\r\n \"id\": \"test-virangai-vinhstagepitr-1-westus2\",\r\n \"locationName\": \"West US 2\",\r\n \"documentEndpoint\": \"https://test-virangai-vinhstagepitr-1-westus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"failoverPolicies\": [\r\n {\r\n \"id\": \"test-virangai-vinhstagepitr-1-westus2\",\r\n \"locationName\": \"West US 2\",\r\n \"failoverPriority\": 0\r\n }\r\n ],\r\n \"cors\": [],\r\n \"capabilities\": [],\r\n \"ipRules\": [],\r\n \"backupPolicy\": {\r\n \"type\": \"Continuous\"\r\n },\r\n \"restoreParameters\": {\r\n \"restoreMode\": \"PointInTime\",\r\n \"restoreSource\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/providers/Microsoft.DocumentDB/locations/westus2/restorableDatabaseAccounts/5dee0717-8f84-40d7-b7c1-921552ba61a5\",\r\n \"restoreTimestampInUtc\": \"2020-12-12T00:41:13Z\",\r\n \"databasesToRestore\": [\r\n {\r\n \"databaseName\": \"db1\",\r\n \"collectionNames\": [\r\n \"container1\"\r\n ]\r\n },\r\n {\r\n \"databaseName\": \"CosmosPITRTest\",\r\n \"collectionNames\": [\r\n \"Test13\",\r\n \"Test5\",\r\n \"Test37\",\r\n \"Test44\",\r\n \"Test2\",\r\n \"Test9\",\r\n \"Test34\",\r\n \"Test22\",\r\n \"Test12\",\r\n \"Test40\",\r\n \"Test46\",\r\n \"Test7\",\r\n \"Test35\",\r\n \"Test11\",\r\n \"Test3\",\r\n \"Test18\",\r\n \"Test6\",\r\n \"Test0\",\r\n \"Test41\",\r\n \"Test28\",\r\n \"Test8\",\r\n \"Test14\",\r\n \"Test17\",\r\n \"Test30\",\r\n \"Test25\",\r\n \"Test42\",\r\n \"Test1\",\r\n \"Test19\",\r\n \"Test15\",\r\n \"Test48\",\r\n \"Test27\",\r\n \"Test47\",\r\n \"Test31\",\r\n \"Test32\",\r\n \"Test10\",\r\n \"Test26\",\r\n \"Test21\",\r\n \"Test38\",\r\n \"Test45\",\r\n \"Test39\",\r\n \"Test36\",\r\n \"Test24\",\r\n \"Test49\",\r\n \"Test33\",\r\n \"Test23\",\r\n \"Test29\",\r\n \"Test16\",\r\n \"Test43\",\r\n \"Test4\",\r\n \"Test20\"\r\n ]\r\n },\r\n {\r\n \"databaseName\": \"CosmosIOTDemo\",\r\n \"collectionNames\": [\r\n \"VehicleData\"\r\n ]\r\n }\r\n ]\r\n },\r\n \"networkAclBypassResourceIds\": []\r\n },\r\n \"identity\": {\r\n \"type\": \"None\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/resourceGroups/virangai-test/providers/Microsoft.DocumentDB/databaseAccounts/test-virangai-vinhstagepitr-2\",\r\n \"name\": \"test-virangai-vinhstagepitr-2\",\r\n \"location\": \"West US 2\",\r\n \"type\": \"Microsoft.DocumentDB/databaseAccounts\",\r\n \"kind\": \"GlobalDocumentDB\",\r\n \"tags\": {},\r\n \"systemData\": {\r\n \"createdAt\": \"2021-01-06T09:33:05.9310034Z\"\r\n },\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"documentEndpoint\": \"https://test-virangai-vinhstagepitr-2.documents-staging.windows-ppe.net:443/\",\r\n \"publicNetworkAccess\": \"Enabled\",\r\n \"enableAutomaticFailover\": false,\r\n \"enableMultipleWriteLocations\": false,\r\n \"enablePartitionKeyMonitor\": false,\r\n \"isVirtualNetworkFilterEnabled\": false,\r\n \"virtualNetworkRules\": [],\r\n \"EnabledApiTypes\": \"Sql\",\r\n \"disableKeyBasedMetadataWriteAccess\": false,\r\n \"enableFreeTier\": false,\r\n \"enableAnalyticalStorage\": false,\r\n \"analyticalStorageConfiguration\": null,\r\n \"instanceId\": \"617f5c88-2a93-45b4-be38-0cd7addea976\",\r\n \"createMode\": \"Restore\",\r\n \"databaseAccountOfferType\": \"Standard\",\r\n \"enableCassandraConnector\": false,\r\n \"defaultIdentity\": \"\",\r\n \"networkAclBypass\": \"None\",\r\n \"consistencyPolicy\": {\r\n \"defaultConsistencyLevel\": \"Session\",\r\n \"maxIntervalInSeconds\": 5,\r\n \"maxStalenessPrefix\": 100\r\n },\r\n \"configurationOverrides\": {},\r\n \"writeLocations\": [\r\n {\r\n \"id\": \"test-virangai-vinhstagepitr-2-westus2\",\r\n \"locationName\": \"West US 2\",\r\n \"documentEndpoint\": \"https://test-virangai-vinhstagepitr-2-westus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"readLocations\": [\r\n {\r\n \"id\": \"test-virangai-vinhstagepitr-2-westus2\",\r\n \"locationName\": \"West US 2\",\r\n \"documentEndpoint\": \"https://test-virangai-vinhstagepitr-2-westus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"locations\": [\r\n {\r\n \"id\": \"test-virangai-vinhstagepitr-2-westus2\",\r\n \"locationName\": \"West US 2\",\r\n \"documentEndpoint\": \"https://test-virangai-vinhstagepitr-2-westus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"failoverPolicies\": [\r\n {\r\n \"id\": \"test-virangai-vinhstagepitr-2-westus2\",\r\n \"locationName\": \"West US 2\",\r\n \"failoverPriority\": 0\r\n }\r\n ],\r\n \"cors\": [],\r\n \"capabilities\": [],\r\n \"ipRules\": [],\r\n \"backupPolicy\": {\r\n \"type\": \"Continuous\"\r\n },\r\n \"restoreParameters\": {\r\n \"restoreMode\": \"PointInTime\",\r\n \"restoreSource\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/providers/Microsoft.DocumentDB/locations/westus2/restorableDatabaseAccounts/5dee0717-8f84-40d7-b7c1-921552ba61a5\",\r\n \"restoreTimestampInUtc\": \"2020-12-12T00:41:13Z\",\r\n \"databasesToRestore\": [\r\n {\r\n \"databaseName\": \"db1\",\r\n \"collectionNames\": [\r\n \"container1\"\r\n ]\r\n },\r\n {\r\n \"databaseName\": \"CosmosPITRTest\",\r\n \"collectionNames\": [\r\n \"Test13\",\r\n \"Test5\",\r\n \"Test37\",\r\n \"Test44\",\r\n \"Test2\",\r\n \"Test9\",\r\n \"Test34\",\r\n \"Test22\",\r\n \"Test12\",\r\n \"Test40\",\r\n \"Test46\",\r\n \"Test7\",\r\n \"Test35\",\r\n \"Test11\",\r\n \"Test3\",\r\n \"Test18\",\r\n \"Test6\",\r\n \"Test0\",\r\n \"Test41\",\r\n \"Test28\",\r\n \"Test8\",\r\n \"Test14\",\r\n \"Test17\",\r\n \"Test30\",\r\n \"Test25\",\r\n \"Test42\",\r\n \"Test1\",\r\n \"Test19\",\r\n \"Test15\",\r\n \"Test48\",\r\n \"Test27\",\r\n \"Test47\",\r\n \"Test31\",\r\n \"Test32\",\r\n \"Test10\",\r\n \"Test26\",\r\n \"Test21\",\r\n \"Test38\",\r\n \"Test45\",\r\n \"Test39\",\r\n \"Test36\",\r\n \"Test24\",\r\n \"Test49\",\r\n \"Test33\",\r\n \"Test23\",\r\n \"Test29\",\r\n \"Test16\",\r\n \"Test43\",\r\n \"Test4\",\r\n \"Test20\"\r\n ]\r\n },\r\n {\r\n \"databaseName\": \"CosmosIOTDemo\",\r\n \"collectionNames\": [\r\n \"VehicleData\"\r\n ]\r\n }\r\n ]\r\n },\r\n \"networkAclBypassResourceIds\": []\r\n },\r\n \"identity\": {\r\n \"type\": \"None\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/resourceGroups/vinh-stage-rp/providers/Microsoft.DocumentDB/databaseAccounts/test-restore-4\",\r\n \"name\": \"test-restore-4\",\r\n \"location\": \"West US 2\",\r\n \"type\": \"Microsoft.DocumentDB/databaseAccounts\",\r\n \"kind\": \"GlobalDocumentDB\",\r\n \"tags\": {},\r\n \"systemData\": {\r\n \"createdAt\": \"2021-01-07T01:23:38.3845009Z\"\r\n },\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"documentEndpoint\": \"https://test-restore-4.documents-staging.windows-ppe.net:443/\",\r\n \"publicNetworkAccess\": \"Enabled\",\r\n \"enableAutomaticFailover\": false,\r\n \"enableMultipleWriteLocations\": false,\r\n \"enablePartitionKeyMonitor\": false,\r\n \"isVirtualNetworkFilterEnabled\": false,\r\n \"virtualNetworkRules\": [],\r\n \"EnabledApiTypes\": \"Sql\",\r\n \"disableKeyBasedMetadataWriteAccess\": false,\r\n \"enableFreeTier\": false,\r\n \"enableAnalyticalStorage\": false,\r\n \"analyticalStorageConfiguration\": null,\r\n \"instanceId\": \"2eecc23f-69df-4de3-9103-b6ca529536a4\",\r\n \"createMode\": \"Restore\",\r\n \"databaseAccountOfferType\": \"Standard\",\r\n \"enableCassandraConnector\": false,\r\n \"defaultIdentity\": \"\",\r\n \"networkAclBypass\": \"None\",\r\n \"consistencyPolicy\": {\r\n \"defaultConsistencyLevel\": \"Session\",\r\n \"maxIntervalInSeconds\": 5,\r\n \"maxStalenessPrefix\": 100\r\n },\r\n \"configurationOverrides\": {},\r\n \"writeLocations\": [\r\n {\r\n \"id\": \"test-restore-4-westus2\",\r\n \"locationName\": \"West US 2\",\r\n \"documentEndpoint\": \"https://test-restore-4-westus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"readLocations\": [\r\n {\r\n \"id\": \"test-restore-4-westus2\",\r\n \"locationName\": \"West US 2\",\r\n \"documentEndpoint\": \"https://test-restore-4-westus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"locations\": [\r\n {\r\n \"id\": \"test-restore-4-westus2\",\r\n \"locationName\": \"West US 2\",\r\n \"documentEndpoint\": \"https://test-restore-4-westus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"failoverPolicies\": [\r\n {\r\n \"id\": \"test-restore-4-westus2\",\r\n \"locationName\": \"West US 2\",\r\n \"failoverPriority\": 0\r\n }\r\n ],\r\n \"cors\": [],\r\n \"capabilities\": [],\r\n \"ipRules\": [],\r\n \"backupPolicy\": {\r\n \"type\": \"Continuous\"\r\n },\r\n \"restoreParameters\": {\r\n \"restoreMode\": \"PointInTime\",\r\n \"restoreSource\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/providers/Microsoft.DocumentDB/locations/westus2/restorableDatabaseAccounts/5dee0717-8f84-40d7-b7c1-921552ba61a5\",\r\n \"restoreTimestampInUtc\": \"2020-12-12T00:41:13Z\",\r\n \"databasesToRestore\": []\r\n },\r\n \"networkAclBypassResourceIds\": []\r\n },\r\n \"identity\": {\r\n \"type\": \"None\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/resourceGroups/vinh-stage-rp/providers/Microsoft.DocumentDB/databaseAccounts/test-restore5\",\r\n \"name\": \"test-restore5\",\r\n \"location\": \"West US 2\",\r\n \"type\": \"Microsoft.DocumentDB/databaseAccounts\",\r\n \"kind\": \"GlobalDocumentDB\",\r\n \"tags\": {},\r\n \"systemData\": {\r\n \"createdAt\": \"2021-01-07T01:23:39.9001395Z\"\r\n },\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"documentEndpoint\": \"https://test-restore5.documents-staging.windows-ppe.net:443/\",\r\n \"publicNetworkAccess\": \"Enabled\",\r\n \"enableAutomaticFailover\": false,\r\n \"enableMultipleWriteLocations\": false,\r\n \"enablePartitionKeyMonitor\": false,\r\n \"isVirtualNetworkFilterEnabled\": false,\r\n \"virtualNetworkRules\": [],\r\n \"EnabledApiTypes\": \"Sql\",\r\n \"disableKeyBasedMetadataWriteAccess\": false,\r\n \"enableFreeTier\": false,\r\n \"enableAnalyticalStorage\": false,\r\n \"analyticalStorageConfiguration\": null,\r\n \"instanceId\": \"d91e1ad2-22b0-401e-b465-a16e5928e194\",\r\n \"createMode\": \"Restore\",\r\n \"databaseAccountOfferType\": \"Standard\",\r\n \"enableCassandraConnector\": false,\r\n \"defaultIdentity\": \"\",\r\n \"networkAclBypass\": \"None\",\r\n \"consistencyPolicy\": {\r\n \"defaultConsistencyLevel\": \"Session\",\r\n \"maxIntervalInSeconds\": 5,\r\n \"maxStalenessPrefix\": 100\r\n },\r\n \"configurationOverrides\": {},\r\n \"writeLocations\": [\r\n {\r\n \"id\": \"test-restore5-westus2\",\r\n \"locationName\": \"West US 2\",\r\n \"documentEndpoint\": \"https://test-restore5-westus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"readLocations\": [\r\n {\r\n \"id\": \"test-restore5-westus2\",\r\n \"locationName\": \"West US 2\",\r\n \"documentEndpoint\": \"https://test-restore5-westus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"locations\": [\r\n {\r\n \"id\": \"test-restore5-westus2\",\r\n \"locationName\": \"West US 2\",\r\n \"documentEndpoint\": \"https://test-restore5-westus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"failoverPolicies\": [\r\n {\r\n \"id\": \"test-restore5-westus2\",\r\n \"locationName\": \"West US 2\",\r\n \"failoverPriority\": 0\r\n }\r\n ],\r\n \"cors\": [],\r\n \"capabilities\": [],\r\n \"ipRules\": [],\r\n \"backupPolicy\": {\r\n \"type\": \"Continuous\"\r\n },\r\n \"restoreParameters\": {\r\n \"restoreMode\": \"PointInTime\",\r\n \"restoreSource\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/providers/Microsoft.DocumentDB/locations/westus2/restorableDatabaseAccounts/5dee0717-8f84-40d7-b7c1-921552ba61a5\",\r\n \"restoreTimestampInUtc\": \"2020-12-12T00:41:13Z\",\r\n \"databasesToRestore\": [\r\n {\r\n \"databaseName\": \"db1\",\r\n \"collectionNames\": [\r\n \"container1\"\r\n ]\r\n },\r\n {\r\n \"databaseName\": \"CosmosPITRTest\",\r\n \"collectionNames\": [\r\n \"Test13\",\r\n \"Test5\",\r\n \"Test37\",\r\n \"Test44\",\r\n \"Test2\",\r\n \"Test9\",\r\n \"Test34\",\r\n \"Test22\",\r\n \"Test12\",\r\n \"Test40\",\r\n \"Test46\",\r\n \"Test7\",\r\n \"Test35\",\r\n \"Test11\",\r\n \"Test3\",\r\n \"Test18\",\r\n \"Test6\",\r\n \"Test0\",\r\n \"Test41\",\r\n \"Test28\",\r\n \"Test8\",\r\n \"Test14\",\r\n \"Test17\",\r\n \"Test30\",\r\n \"Test25\",\r\n \"Test42\",\r\n \"Test1\",\r\n \"Test19\",\r\n \"Test15\",\r\n \"Test48\",\r\n \"Test27\",\r\n \"Test47\",\r\n \"Test31\",\r\n \"Test32\",\r\n \"Test10\",\r\n \"Test26\",\r\n \"Test21\",\r\n \"Test38\",\r\n \"Test45\",\r\n \"Test39\",\r\n \"Test36\",\r\n \"Test24\",\r\n \"Test49\",\r\n \"Test33\",\r\n \"Test23\",\r\n \"Test29\",\r\n \"Test16\",\r\n \"Test43\",\r\n \"Test4\",\r\n \"Test20\"\r\n ]\r\n },\r\n {\r\n \"databaseName\": \"CosmosIOTDemo\",\r\n \"collectionNames\": [\r\n \"VehicleData\"\r\n ]\r\n }\r\n ]\r\n },\r\n \"networkAclBypassResourceIds\": []\r\n },\r\n \"identity\": {\r\n \"type\": \"None\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/resourceGroups/vinh-stage-rp/providers/Microsoft.DocumentDB/databaseAccounts/test-restore6\",\r\n \"name\": \"test-restore6\",\r\n \"location\": \"West US 2\",\r\n \"type\": \"Microsoft.DocumentDB/databaseAccounts\",\r\n \"kind\": \"GlobalDocumentDB\",\r\n \"tags\": {},\r\n \"systemData\": {\r\n \"createdAt\": \"2021-01-07T03:18:45.0362608Z\"\r\n },\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"documentEndpoint\": \"https://test-restore6.documents-staging.windows-ppe.net:443/\",\r\n \"publicNetworkAccess\": \"Enabled\",\r\n \"enableAutomaticFailover\": false,\r\n \"enableMultipleWriteLocations\": false,\r\n \"enablePartitionKeyMonitor\": false,\r\n \"isVirtualNetworkFilterEnabled\": false,\r\n \"virtualNetworkRules\": [],\r\n \"EnabledApiTypes\": \"Sql\",\r\n \"disableKeyBasedMetadataWriteAccess\": false,\r\n \"enableFreeTier\": false,\r\n \"enableAnalyticalStorage\": false,\r\n \"analyticalStorageConfiguration\": null,\r\n \"instanceId\": \"132908b6-2701-44a5-bdbe-a7c296e26283\",\r\n \"createMode\": \"Restore\",\r\n \"databaseAccountOfferType\": \"Standard\",\r\n \"enableCassandraConnector\": false,\r\n \"defaultIdentity\": \"\",\r\n \"networkAclBypass\": \"None\",\r\n \"consistencyPolicy\": {\r\n \"defaultConsistencyLevel\": \"Session\",\r\n \"maxIntervalInSeconds\": 5,\r\n \"maxStalenessPrefix\": 100\r\n },\r\n \"configurationOverrides\": {},\r\n \"writeLocations\": [\r\n {\r\n \"id\": \"test-restore6-westus2\",\r\n \"locationName\": \"West US 2\",\r\n \"documentEndpoint\": \"https://test-restore6-westus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"readLocations\": [\r\n {\r\n \"id\": \"test-restore6-westus2\",\r\n \"locationName\": \"West US 2\",\r\n \"documentEndpoint\": \"https://test-restore6-westus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"locations\": [\r\n {\r\n \"id\": \"test-restore6-westus2\",\r\n \"locationName\": \"West US 2\",\r\n \"documentEndpoint\": \"https://test-restore6-westus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"failoverPolicies\": [\r\n {\r\n \"id\": \"test-restore6-westus2\",\r\n \"locationName\": \"West US 2\",\r\n \"failoverPriority\": 0\r\n }\r\n ],\r\n \"cors\": [],\r\n \"capabilities\": [],\r\n \"ipRules\": [],\r\n \"backupPolicy\": {\r\n \"type\": \"Continuous\"\r\n },\r\n \"restoreParameters\": {\r\n \"restoreMode\": \"PointInTime\",\r\n \"restoreSource\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/providers/Microsoft.DocumentDB/locations/westus2/restorableDatabaseAccounts/5dee0717-8f84-40d7-b7c1-921552ba61a5\",\r\n \"restoreTimestampInUtc\": \"2020-12-12T00:41:13Z\",\r\n \"databasesToRestore\": []\r\n },\r\n \"networkAclBypassResourceIds\": []\r\n },\r\n \"identity\": {\r\n \"type\": \"None\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/resourceGroups/SQL_on_Compute_sign_off/providers/Microsoft.DocumentDB/databaseAccounts/sqloncomputejavastagesignoff\",\r\n \"name\": \"sqloncomputejavastagesignoff\",\r\n \"location\": \"West US 2\",\r\n \"type\": \"Microsoft.DocumentDB/databaseAccounts\",\r\n \"kind\": \"GlobalDocumentDB\",\r\n \"tags\": {\r\n \"defaultExperience\": \"Core (SQL)\",\r\n \"hidden-cosmos-mmspecial\": \"\",\r\n \"CosmosAccountType\": \"Non-Production\"\r\n },\r\n \"systemData\": {\r\n \"createdAt\": \"2021-01-15T02:06:13.3937424Z\"\r\n },\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"documentEndpoint\": \"https://sqloncomputejavastagesignoff.documents-staging.windows-ppe.net:443/\",\r\n \"sqlEndpoint\": \"https://sqloncomputejavastagesignoff.documents-staging.windows-ppe.net:443/\",\r\n \"publicNetworkAccess\": \"Enabled\",\r\n \"enableAutomaticFailover\": false,\r\n \"enableMultipleWriteLocations\": false,\r\n \"enablePartitionKeyMonitor\": false,\r\n \"isVirtualNetworkFilterEnabled\": false,\r\n \"virtualNetworkRules\": [],\r\n \"EnabledApiTypes\": \"Sql\",\r\n \"disableKeyBasedMetadataWriteAccess\": false,\r\n \"enableFreeTier\": false,\r\n \"enableAnalyticalStorage\": false,\r\n \"analyticalStorageConfiguration\": null,\r\n \"instanceId\": \"769be62e-1c2a-4e5d-a4a4-03f8361723f6\",\r\n \"createMode\": \"Default\",\r\n \"databaseAccountOfferType\": \"Standard\",\r\n \"enableCassandraConnector\": false,\r\n \"connectorOffer\": \"\",\r\n \"defaultIdentity\": \"\",\r\n \"networkAclBypass\": \"None\",\r\n \"consistencyPolicy\": {\r\n \"defaultConsistencyLevel\": \"Strong\",\r\n \"maxIntervalInSeconds\": 5,\r\n \"maxStalenessPrefix\": 100\r\n },\r\n \"configurationOverrides\": {},\r\n \"writeLocations\": [\r\n {\r\n \"id\": \"sqloncomputejavastagesignoff-westus2\",\r\n \"locationName\": \"West US 2\",\r\n \"documentEndpoint\": \"https://sqloncomputejavastagesignoff-westus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"readLocations\": [\r\n {\r\n \"id\": \"sqloncomputejavastagesignoff-westus2\",\r\n \"locationName\": \"West US 2\",\r\n \"documentEndpoint\": \"https://sqloncomputejavastagesignoff-westus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"locations\": [\r\n {\r\n \"id\": \"sqloncomputejavastagesignoff-westus2\",\r\n \"locationName\": \"West US 2\",\r\n \"documentEndpoint\": \"https://sqloncomputejavastagesignoff-westus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"failoverPolicies\": [\r\n {\r\n \"id\": \"sqloncomputejavastagesignoff-westus2\",\r\n \"locationName\": \"West US 2\",\r\n \"failoverPriority\": 0\r\n }\r\n ],\r\n \"cors\": [],\r\n \"capabilities\": [\r\n {\r\n \"name\": \"EnableSql\"\r\n }\r\n ],\r\n \"ipRules\": [],\r\n \"backupPolicy\": {\r\n \"type\": \"Periodic\",\r\n \"periodicModeProperties\": {\r\n \"backupIntervalInMinutes\": 240,\r\n \"backupRetentionIntervalInHours\": 8,\r\n \"backupStorageRedundancy\": \"Geo\"\r\n }\r\n },\r\n \"networkAclBypassResourceIds\": []\r\n },\r\n \"identity\": {\r\n \"type\": \"None\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/resourceGroups/SQL_on_Compute_sign_off/providers/Microsoft.DocumentDB/databaseAccounts/sqloncomputepythonstagesignoff\",\r\n \"name\": \"sqloncomputepythonstagesignoff\",\r\n \"location\": \"West US 2\",\r\n \"type\": \"Microsoft.DocumentDB/databaseAccounts\",\r\n \"kind\": \"GlobalDocumentDB\",\r\n \"tags\": {\r\n \"defaultExperience\": \"Core (SQL)\",\r\n \"hidden-cosmos-mmspecial\": \"\",\r\n \"CosmosAccountType\": \"Non-Production\"\r\n },\r\n \"systemData\": {\r\n \"createdAt\": \"2021-01-15T02:39:17.5555868Z\"\r\n },\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"documentEndpoint\": \"https://sqloncomputepythonstagesignoff.documents-staging.windows-ppe.net:443/\",\r\n \"sqlEndpoint\": \"https://sqloncomputepythonstagesignoff.documents-staging.windows-ppe.net:443/\",\r\n \"publicNetworkAccess\": \"Enabled\",\r\n \"enableAutomaticFailover\": false,\r\n \"enableMultipleWriteLocations\": false,\r\n \"enablePartitionKeyMonitor\": false,\r\n \"isVirtualNetworkFilterEnabled\": false,\r\n \"virtualNetworkRules\": [],\r\n \"EnabledApiTypes\": \"Sql\",\r\n \"disableKeyBasedMetadataWriteAccess\": false,\r\n \"enableFreeTier\": false,\r\n \"enableAnalyticalStorage\": false,\r\n \"analyticalStorageConfiguration\": null,\r\n \"instanceId\": \"ffeab641-7c1a-4645-8f24-f65ea835127b\",\r\n \"createMode\": \"Default\",\r\n \"databaseAccountOfferType\": \"Standard\",\r\n \"enableCassandraConnector\": false,\r\n \"connectorOffer\": \"\",\r\n \"defaultIdentity\": \"\",\r\n \"networkAclBypass\": \"None\",\r\n \"consistencyPolicy\": {\r\n \"defaultConsistencyLevel\": \"Session\",\r\n \"maxIntervalInSeconds\": 5,\r\n \"maxStalenessPrefix\": 100\r\n },\r\n \"configurationOverrides\": {},\r\n \"writeLocations\": [\r\n {\r\n \"id\": \"sqloncomputepythonstagesignoff-westus2\",\r\n \"locationName\": \"West US 2\",\r\n \"documentEndpoint\": \"https://sqloncomputepythonstagesignoff-westus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"readLocations\": [\r\n {\r\n \"id\": \"sqloncomputepythonstagesignoff-westus2\",\r\n \"locationName\": \"West US 2\",\r\n \"documentEndpoint\": \"https://sqloncomputepythonstagesignoff-westus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"locations\": [\r\n {\r\n \"id\": \"sqloncomputepythonstagesignoff-westus2\",\r\n \"locationName\": \"West US 2\",\r\n \"documentEndpoint\": \"https://sqloncomputepythonstagesignoff-westus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"failoverPolicies\": [\r\n {\r\n \"id\": \"sqloncomputepythonstagesignoff-westus2\",\r\n \"locationName\": \"West US 2\",\r\n \"failoverPriority\": 0\r\n }\r\n ],\r\n \"cors\": [],\r\n \"capabilities\": [\r\n {\r\n \"name\": \"EnableSql\"\r\n }\r\n ],\r\n \"ipRules\": [],\r\n \"backupPolicy\": {\r\n \"type\": \"Periodic\",\r\n \"periodicModeProperties\": {\r\n \"backupIntervalInMinutes\": 240,\r\n \"backupRetentionIntervalInHours\": 8,\r\n \"backupStorageRedundancy\": \"Geo\"\r\n }\r\n },\r\n \"networkAclBypassResourceIds\": []\r\n },\r\n \"identity\": {\r\n \"type\": \"None\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/resourceGroups/SQL_on_Compute_sign_off/providers/Microsoft.DocumentDB/databaseAccounts/sqloncomputejsstagesignoff\",\r\n \"name\": \"sqloncomputejsstagesignoff\",\r\n \"location\": \"West US 2\",\r\n \"type\": \"Microsoft.DocumentDB/databaseAccounts\",\r\n \"kind\": \"GlobalDocumentDB\",\r\n \"tags\": {\r\n \"defaultExperience\": \"Core (SQL)\",\r\n \"hidden-cosmos-mmspecial\": \"\",\r\n \"CosmosAccountType\": \"Non-Production\"\r\n },\r\n \"systemData\": {\r\n \"createdAt\": \"2021-01-15T02:48:12.482706Z\"\r\n },\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"documentEndpoint\": \"https://sqloncomputejsstagesignoff.documents-staging.windows-ppe.net:443/\",\r\n \"sqlEndpoint\": \"https://sqloncomputejsstagesignoff.documents-staging.windows-ppe.net:443/\",\r\n \"publicNetworkAccess\": \"Enabled\",\r\n \"enableAutomaticFailover\": false,\r\n \"enableMultipleWriteLocations\": false,\r\n \"enablePartitionKeyMonitor\": false,\r\n \"isVirtualNetworkFilterEnabled\": false,\r\n \"virtualNetworkRules\": [],\r\n \"EnabledApiTypes\": \"Sql\",\r\n \"disableKeyBasedMetadataWriteAccess\": false,\r\n \"enableFreeTier\": false,\r\n \"enableAnalyticalStorage\": false,\r\n \"analyticalStorageConfiguration\": null,\r\n \"instanceId\": \"c90decf6-1ffb-4136-ae78-60fa87a232e5\",\r\n \"createMode\": \"Default\",\r\n \"databaseAccountOfferType\": \"Standard\",\r\n \"enableCassandraConnector\": false,\r\n \"connectorOffer\": \"\",\r\n \"defaultIdentity\": \"\",\r\n \"networkAclBypass\": \"None\",\r\n \"consistencyPolicy\": {\r\n \"defaultConsistencyLevel\": \"Session\",\r\n \"maxIntervalInSeconds\": 5,\r\n \"maxStalenessPrefix\": 100\r\n },\r\n \"configurationOverrides\": {},\r\n \"writeLocations\": [\r\n {\r\n \"id\": \"sqloncomputejsstagesignoff-westus2\",\r\n \"locationName\": \"West US 2\",\r\n \"documentEndpoint\": \"https://sqloncomputejsstagesignoff-westus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"readLocations\": [\r\n {\r\n \"id\": \"sqloncomputejsstagesignoff-westus2\",\r\n \"locationName\": \"West US 2\",\r\n \"documentEndpoint\": \"https://sqloncomputejsstagesignoff-westus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"locations\": [\r\n {\r\n \"id\": \"sqloncomputejsstagesignoff-westus2\",\r\n \"locationName\": \"West US 2\",\r\n \"documentEndpoint\": \"https://sqloncomputejsstagesignoff-westus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"failoverPolicies\": [\r\n {\r\n \"id\": \"sqloncomputejsstagesignoff-westus2\",\r\n \"locationName\": \"West US 2\",\r\n \"failoverPriority\": 0\r\n }\r\n ],\r\n \"cors\": [],\r\n \"capabilities\": [\r\n {\r\n \"name\": \"EnableSql\"\r\n }\r\n ],\r\n \"ipRules\": [],\r\n \"backupPolicy\": {\r\n \"type\": \"Periodic\",\r\n \"periodicModeProperties\": {\r\n \"backupIntervalInMinutes\": 240,\r\n \"backupRetentionIntervalInHours\": 8,\r\n \"backupStorageRedundancy\": \"Geo\"\r\n }\r\n },\r\n \"networkAclBypassResourceIds\": []\r\n },\r\n \"identity\": {\r\n \"type\": \"None\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/resourceGroups/pitr-stage-rg/providers/Microsoft.DocumentDB/databaseAccounts/pitr-sql-stage-source-personalrestore-greeen\",\r\n \"name\": \"pitr-sql-stage-source-personalrestore-greeen\",\r\n \"location\": \"West US 2\",\r\n \"type\": \"Microsoft.DocumentDB/databaseAccounts\",\r\n \"kind\": \"GlobalDocumentDB\",\r\n \"tags\": {},\r\n \"systemData\": {\r\n \"createdAt\": \"2021-01-15T22:51:58.351694Z\"\r\n },\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"documentEndpoint\": \"https://pitr-sql-stage-source-personalrestore-greeen.documents-staging.windows-ppe.net:443/\",\r\n \"publicNetworkAccess\": \"Enabled\",\r\n \"enableAutomaticFailover\": false,\r\n \"enableMultipleWriteLocations\": false,\r\n \"enablePartitionKeyMonitor\": false,\r\n \"isVirtualNetworkFilterEnabled\": false,\r\n \"virtualNetworkRules\": [],\r\n \"EnabledApiTypes\": \"Sql\",\r\n \"disableKeyBasedMetadataWriteAccess\": false,\r\n \"enableFreeTier\": false,\r\n \"enableAnalyticalStorage\": false,\r\n \"analyticalStorageConfiguration\": null,\r\n \"instanceId\": \"2ab6f2d2-ce7e-439b-90b3-5505c8f9ff76\",\r\n \"createMode\": \"Restore\",\r\n \"databaseAccountOfferType\": \"Standard\",\r\n \"enableCassandraConnector\": false,\r\n \"defaultIdentity\": \"\",\r\n \"networkAclBypass\": \"None\",\r\n \"consistencyPolicy\": {\r\n \"defaultConsistencyLevel\": \"Session\",\r\n \"maxIntervalInSeconds\": 5,\r\n \"maxStalenessPrefix\": 100\r\n },\r\n \"configurationOverrides\": {},\r\n \"writeLocations\": [\r\n {\r\n \"id\": \"pitr-sql-stage-source-personalrestore-greeen-westus2\",\r\n \"locationName\": \"West US 2\",\r\n \"documentEndpoint\": \"https://pitr-sql-stage-source-personalrestore-greeen-westus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"readLocations\": [\r\n {\r\n \"id\": \"pitr-sql-stage-source-personalrestore-greeen-westus2\",\r\n \"locationName\": \"West US 2\",\r\n \"documentEndpoint\": \"https://pitr-sql-stage-source-personalrestore-greeen-westus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"locations\": [\r\n {\r\n \"id\": \"pitr-sql-stage-source-personalrestore-greeen-westus2\",\r\n \"locationName\": \"West US 2\",\r\n \"documentEndpoint\": \"https://pitr-sql-stage-source-personalrestore-greeen-westus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"failoverPolicies\": [\r\n {\r\n \"id\": \"pitr-sql-stage-source-personalrestore-greeen-westus2\",\r\n \"locationName\": \"West US 2\",\r\n \"failoverPriority\": 0\r\n }\r\n ],\r\n \"cors\": [],\r\n \"capabilities\": [],\r\n \"ipRules\": [],\r\n \"backupPolicy\": {\r\n \"type\": \"Continuous\"\r\n },\r\n \"restoreParameters\": {\r\n \"restoreMode\": \"PointInTime\",\r\n \"restoreSource\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/providers/Microsoft.DocumentDB/locations/westus2/restorableDatabaseAccounts/9a4b63c3-49d1-4c87-b28e-92e92aeaa0ea\",\r\n \"restoreTimestampInUtc\": \"2021-01-14T00:00:00Z\",\r\n \"databasesToRestore\": []\r\n },\r\n \"networkAclBypassResourceIds\": []\r\n },\r\n \"identity\": {\r\n \"type\": \"None\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/resourceGroups/SQL_on_Compute_sign_off/providers/Microsoft.DocumentDB/databaseAccounts/sqloncomputejava2asyncstagesignoff\",\r\n \"name\": \"sqloncomputejava2asyncstagesignoff\",\r\n \"location\": \"West US 2\",\r\n \"type\": \"Microsoft.DocumentDB/databaseAccounts\",\r\n \"kind\": \"GlobalDocumentDB\",\r\n \"tags\": {\r\n \"defaultExperience\": \"Core (SQL)\",\r\n \"hidden-cosmos-mmspecial\": \"\",\r\n \"CosmosAccountType\": \"Non-Production\"\r\n },\r\n \"systemData\": {\r\n \"createdAt\": \"2021-01-31T20:44:19.1421044Z\"\r\n },\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"documentEndpoint\": \"https://sqloncomputejava2asyncstagesignoff.documents-staging.windows-ppe.net:443/\",\r\n \"sqlEndpoint\": \"https://sqloncomputejava2asyncstagesignoff.documents-staging.windows-ppe.net:443/\",\r\n \"publicNetworkAccess\": \"Enabled\",\r\n \"enableAutomaticFailover\": false,\r\n \"enableMultipleWriteLocations\": false,\r\n \"enablePartitionKeyMonitor\": false,\r\n \"isVirtualNetworkFilterEnabled\": false,\r\n \"virtualNetworkRules\": [],\r\n \"EnabledApiTypes\": \"Sql\",\r\n \"disableKeyBasedMetadataWriteAccess\": false,\r\n \"enableFreeTier\": false,\r\n \"enableAnalyticalStorage\": false,\r\n \"analyticalStorageConfiguration\": null,\r\n \"instanceId\": \"765d0215-9e26-45b4-959c-1ddc4008ba84\",\r\n \"createMode\": \"Default\",\r\n \"databaseAccountOfferType\": \"Standard\",\r\n \"enableCassandraConnector\": false,\r\n \"connectorOffer\": \"\",\r\n \"defaultIdentity\": \"\",\r\n \"networkAclBypass\": \"None\",\r\n \"consistencyPolicy\": {\r\n \"defaultConsistencyLevel\": \"Strong\",\r\n \"maxIntervalInSeconds\": 5,\r\n \"maxStalenessPrefix\": 100\r\n },\r\n \"configurationOverrides\": {},\r\n \"writeLocations\": [\r\n {\r\n \"id\": \"sqloncomputejava2asyncstagesignoff-westus2\",\r\n \"locationName\": \"West US 2\",\r\n \"documentEndpoint\": \"https://sqloncomputejava2asyncstagesignoff-westus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"readLocations\": [\r\n {\r\n \"id\": \"sqloncomputejava2asyncstagesignoff-westus2\",\r\n \"locationName\": \"West US 2\",\r\n \"documentEndpoint\": \"https://sqloncomputejava2asyncstagesignoff-westus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"locations\": [\r\n {\r\n \"id\": \"sqloncomputejava2asyncstagesignoff-westus2\",\r\n \"locationName\": \"West US 2\",\r\n \"documentEndpoint\": \"https://sqloncomputejava2asyncstagesignoff-westus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"failoverPolicies\": [\r\n {\r\n \"id\": \"sqloncomputejava2asyncstagesignoff-westus2\",\r\n \"locationName\": \"West US 2\",\r\n \"failoverPriority\": 0\r\n }\r\n ],\r\n \"cors\": [],\r\n \"capabilities\": [\r\n {\r\n \"name\": \"EnableSql\"\r\n }\r\n ],\r\n \"ipRules\": [],\r\n \"backupPolicy\": {\r\n \"type\": \"Periodic\",\r\n \"periodicModeProperties\": {\r\n \"backupIntervalInMinutes\": 240,\r\n \"backupRetentionIntervalInHours\": 8,\r\n \"backupStorageRedundancy\": \"Geo\"\r\n }\r\n },\r\n \"networkAclBypassResourceIds\": []\r\n },\r\n \"identity\": {\r\n \"type\": \"None\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/resourceGroups/SQL_on_Compute_sign_off/providers/Microsoft.DocumentDB/databaseAccounts/sqloncomputejava2syncstagesignoff\",\r\n \"name\": \"sqloncomputejava2syncstagesignoff\",\r\n \"location\": \"West US 2\",\r\n \"type\": \"Microsoft.DocumentDB/databaseAccounts\",\r\n \"kind\": \"GlobalDocumentDB\",\r\n \"tags\": {\r\n \"defaultExperience\": \"Core (SQL)\",\r\n \"hidden-cosmos-mmspecial\": \"\",\r\n \"CosmosAccountType\": \"Non-Production\"\r\n },\r\n \"systemData\": {\r\n \"createdAt\": \"2021-01-31T20:48:50.7232085Z\"\r\n },\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"documentEndpoint\": \"https://sqloncomputejava2syncstagesignoff.documents-staging.windows-ppe.net:443/\",\r\n \"sqlEndpoint\": \"https://sqloncomputejava2syncstagesignoff.documents-staging.windows-ppe.net:443/\",\r\n \"publicNetworkAccess\": \"Enabled\",\r\n \"enableAutomaticFailover\": false,\r\n \"enableMultipleWriteLocations\": false,\r\n \"enablePartitionKeyMonitor\": false,\r\n \"isVirtualNetworkFilterEnabled\": false,\r\n \"virtualNetworkRules\": [],\r\n \"EnabledApiTypes\": \"Sql\",\r\n \"disableKeyBasedMetadataWriteAccess\": false,\r\n \"enableFreeTier\": false,\r\n \"enableAnalyticalStorage\": false,\r\n \"analyticalStorageConfiguration\": null,\r\n \"instanceId\": \"4cb783c6-fd67-4138-bbaa-648339ef64f5\",\r\n \"createMode\": \"Default\",\r\n \"databaseAccountOfferType\": \"Standard\",\r\n \"enableCassandraConnector\": false,\r\n \"connectorOffer\": \"\",\r\n \"defaultIdentity\": \"\",\r\n \"networkAclBypass\": \"None\",\r\n \"consistencyPolicy\": {\r\n \"defaultConsistencyLevel\": \"Strong\",\r\n \"maxIntervalInSeconds\": 5,\r\n \"maxStalenessPrefix\": 100\r\n },\r\n \"configurationOverrides\": {},\r\n \"writeLocations\": [\r\n {\r\n \"id\": \"sqloncomputejava2syncstagesignoff-westus2\",\r\n \"locationName\": \"West US 2\",\r\n \"documentEndpoint\": \"https://sqloncomputejava2syncstagesignoff-westus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"readLocations\": [\r\n {\r\n \"id\": \"sqloncomputejava2syncstagesignoff-westus2\",\r\n \"locationName\": \"West US 2\",\r\n \"documentEndpoint\": \"https://sqloncomputejava2syncstagesignoff-westus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"locations\": [\r\n {\r\n \"id\": \"sqloncomputejava2syncstagesignoff-westus2\",\r\n \"locationName\": \"West US 2\",\r\n \"documentEndpoint\": \"https://sqloncomputejava2syncstagesignoff-westus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"failoverPolicies\": [\r\n {\r\n \"id\": \"sqloncomputejava2syncstagesignoff-westus2\",\r\n \"locationName\": \"West US 2\",\r\n \"failoverPriority\": 0\r\n }\r\n ],\r\n \"cors\": [],\r\n \"capabilities\": [\r\n {\r\n \"name\": \"EnableSql\"\r\n }\r\n ],\r\n \"ipRules\": [],\r\n \"backupPolicy\": {\r\n \"type\": \"Periodic\",\r\n \"periodicModeProperties\": {\r\n \"backupIntervalInMinutes\": 240,\r\n \"backupRetentionIntervalInHours\": 8,\r\n \"backupStorageRedundancy\": \"Geo\"\r\n }\r\n },\r\n \"networkAclBypassResourceIds\": []\r\n },\r\n \"identity\": {\r\n \"type\": \"None\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/resourceGroups/abpairg/providers/Microsoft.DocumentDB/databaseAccounts/saawasek\",\r\n \"name\": \"saawasek\",\r\n \"location\": \"West US 2\",\r\n \"type\": \"Microsoft.DocumentDB/databaseAccounts\",\r\n \"kind\": \"GlobalDocumentDB\",\r\n \"tags\": {\r\n \"defaultExperience\": \"Core (SQL)\",\r\n \"hidden-cosmos-mmspecial\": \"\",\r\n \"Owner\": \"saawasel\"\r\n },\r\n \"systemData\": {\r\n \"createdAt\": \"2021-02-08T09:39:57.620453Z\"\r\n },\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"documentEndpoint\": \"https://saawasek.documents-staging.windows-ppe.net:443/\",\r\n \"publicNetworkAccess\": \"Enabled\",\r\n \"enableAutomaticFailover\": false,\r\n \"enableMultipleWriteLocations\": false,\r\n \"enablePartitionKeyMonitor\": false,\r\n \"isVirtualNetworkFilterEnabled\": false,\r\n \"virtualNetworkRules\": [],\r\n \"EnabledApiTypes\": \"Sql\",\r\n \"disableKeyBasedMetadataWriteAccess\": false,\r\n \"enableFreeTier\": false,\r\n \"enableAnalyticalStorage\": false,\r\n \"analyticalStorageConfiguration\": null,\r\n \"instanceId\": \"ddfae86a-219a-4e81-99ff-c8b11995305c\",\r\n \"createMode\": \"Default\",\r\n \"databaseAccountOfferType\": \"Standard\",\r\n \"enableCassandraConnector\": false,\r\n \"connectorOffer\": \"\",\r\n \"defaultIdentity\": \"\",\r\n \"networkAclBypass\": \"None\",\r\n \"consistencyPolicy\": {\r\n \"defaultConsistencyLevel\": \"Session\",\r\n \"maxIntervalInSeconds\": 5,\r\n \"maxStalenessPrefix\": 100\r\n },\r\n \"configurationOverrides\": {},\r\n \"writeLocations\": [\r\n {\r\n \"id\": \"saawasek-westus2\",\r\n \"locationName\": \"West US 2\",\r\n \"documentEndpoint\": \"https://saawasek-westus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"readLocations\": [\r\n {\r\n \"id\": \"saawasek-westus2\",\r\n \"locationName\": \"West US 2\",\r\n \"documentEndpoint\": \"https://saawasek-westus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"locations\": [\r\n {\r\n \"id\": \"saawasek-westus2\",\r\n \"locationName\": \"West US 2\",\r\n \"documentEndpoint\": \"https://saawasek-westus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"failoverPolicies\": [\r\n {\r\n \"id\": \"saawasek-westus2\",\r\n \"locationName\": \"West US 2\",\r\n \"failoverPriority\": 0\r\n }\r\n ],\r\n \"cors\": [],\r\n \"capabilities\": [],\r\n \"ipRules\": [],\r\n \"backupPolicy\": {\r\n \"type\": \"Periodic\",\r\n \"periodicModeProperties\": {\r\n \"backupIntervalInMinutes\": 240,\r\n \"backupRetentionIntervalInHours\": 8,\r\n \"backupStorageRedundancy\": \"Geo\"\r\n }\r\n },\r\n \"networkAclBypassResourceIds\": []\r\n },\r\n \"identity\": {\r\n \"type\": \"None\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/resourceGroups/emlopez/providers/Microsoft.DocumentDB/databaseAccounts/emlopez-latencytest\",\r\n \"name\": \"emlopez-latencytest\",\r\n \"location\": \"West US 2\",\r\n \"type\": \"Microsoft.DocumentDB/databaseAccounts\",\r\n \"kind\": \"GlobalDocumentDB\",\r\n \"tags\": {\r\n \"defaultExperience\": \"Core (SQL)\",\r\n \"hidden-cosmos-mmspecial\": \"\",\r\n \"CosmosAccountType\": \"Non-Production\"\r\n },\r\n \"systemData\": {\r\n \"createdAt\": \"2021-02-09T21:45:29.0103423Z\"\r\n },\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"documentEndpoint\": \"https://emlopez-latencytest.documents-staging.windows-ppe.net:443/\",\r\n \"publicNetworkAccess\": \"Enabled\",\r\n \"enableAutomaticFailover\": false,\r\n \"enableMultipleWriteLocations\": false,\r\n \"enablePartitionKeyMonitor\": false,\r\n \"isVirtualNetworkFilterEnabled\": false,\r\n \"virtualNetworkRules\": [],\r\n \"EnabledApiTypes\": \"Sql\",\r\n \"disableKeyBasedMetadataWriteAccess\": false,\r\n \"enableFreeTier\": false,\r\n \"enableAnalyticalStorage\": false,\r\n \"analyticalStorageConfiguration\": null,\r\n \"instanceId\": \"cb72edb9-6050-4786-a682-d8f6ef1fb57a\",\r\n \"createMode\": \"Default\",\r\n \"databaseAccountOfferType\": \"Standard\",\r\n \"enableCassandraConnector\": false,\r\n \"connectorOffer\": \"\",\r\n \"defaultIdentity\": \"\",\r\n \"networkAclBypass\": \"None\",\r\n \"consistencyPolicy\": {\r\n \"defaultConsistencyLevel\": \"Session\",\r\n \"maxIntervalInSeconds\": 5,\r\n \"maxStalenessPrefix\": 100\r\n },\r\n \"configurationOverrides\": {},\r\n \"writeLocations\": [\r\n {\r\n \"id\": \"emlopez-latencytest-westus2\",\r\n \"locationName\": \"West US 2\",\r\n \"documentEndpoint\": \"https://emlopez-latencytest-westus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"readLocations\": [\r\n {\r\n \"id\": \"emlopez-latencytest-westus2\",\r\n \"locationName\": \"West US 2\",\r\n \"documentEndpoint\": \"https://emlopez-latencytest-westus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"locations\": [\r\n {\r\n \"id\": \"emlopez-latencytest-westus2\",\r\n \"locationName\": \"West US 2\",\r\n \"documentEndpoint\": \"https://emlopez-latencytest-westus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"failoverPolicies\": [\r\n {\r\n \"id\": \"emlopez-latencytest-westus2\",\r\n \"locationName\": \"West US 2\",\r\n \"failoverPriority\": 0\r\n }\r\n ],\r\n \"cors\": [],\r\n \"capabilities\": [],\r\n \"ipRules\": [],\r\n \"backupPolicy\": {\r\n \"type\": \"Periodic\",\r\n \"periodicModeProperties\": {\r\n \"backupIntervalInMinutes\": 240,\r\n \"backupRetentionIntervalInHours\": 8,\r\n \"backupStorageRedundancy\": \"Geo\"\r\n }\r\n },\r\n \"networkAclBypassResourceIds\": []\r\n },\r\n \"identity\": {\r\n \"type\": \"None\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/resourceGroups/vinh-stage-rp/providers/Microsoft.DocumentDB/databaseAccounts/targetacctrestore\",\r\n \"name\": \"targetacctrestore\",\r\n \"location\": \"West US 2\",\r\n \"type\": \"Microsoft.DocumentDB/databaseAccounts\",\r\n \"kind\": \"GlobalDocumentDB\",\r\n \"tags\": {},\r\n \"systemData\": {\r\n \"createdAt\": \"2021-02-18T18:30:13.6151361Z\"\r\n },\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"documentEndpoint\": \"https://targetacctrestore.documents-staging.windows-ppe.net:443/\",\r\n \"publicNetworkAccess\": \"Enabled\",\r\n \"enableAutomaticFailover\": false,\r\n \"enableMultipleWriteLocations\": false,\r\n \"enablePartitionKeyMonitor\": false,\r\n \"isVirtualNetworkFilterEnabled\": false,\r\n \"virtualNetworkRules\": [],\r\n \"EnabledApiTypes\": \"Sql\",\r\n \"disableKeyBasedMetadataWriteAccess\": false,\r\n \"enableFreeTier\": false,\r\n \"enableAnalyticalStorage\": false,\r\n \"analyticalStorageConfiguration\": null,\r\n \"instanceId\": \"483d93e5-302b-4093-9502-ce63d416e70f\",\r\n \"createMode\": \"Restore\",\r\n \"databaseAccountOfferType\": \"Standard\",\r\n \"enableCassandraConnector\": false,\r\n \"defaultIdentity\": \"\",\r\n \"networkAclBypass\": \"None\",\r\n \"consistencyPolicy\": {\r\n \"defaultConsistencyLevel\": \"Session\",\r\n \"maxIntervalInSeconds\": 5,\r\n \"maxStalenessPrefix\": 100\r\n },\r\n \"configurationOverrides\": {},\r\n \"writeLocations\": [\r\n {\r\n \"id\": \"targetacctrestore-westus2\",\r\n \"locationName\": \"West US 2\",\r\n \"documentEndpoint\": \"https://targetacctrestore-westus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"readLocations\": [\r\n {\r\n \"id\": \"targetacctrestore-westus2\",\r\n \"locationName\": \"West US 2\",\r\n \"documentEndpoint\": \"https://targetacctrestore-westus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"locations\": [\r\n {\r\n \"id\": \"targetacctrestore-westus2\",\r\n \"locationName\": \"West US 2\",\r\n \"documentEndpoint\": \"https://targetacctrestore-westus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"failoverPolicies\": [\r\n {\r\n \"id\": \"targetacctrestore-westus2\",\r\n \"locationName\": \"West US 2\",\r\n \"failoverPriority\": 0\r\n }\r\n ],\r\n \"cors\": [],\r\n \"capabilities\": [],\r\n \"ipRules\": [],\r\n \"backupPolicy\": {\r\n \"type\": \"Continuous\"\r\n },\r\n \"restoreParameters\": {\r\n \"restoreMode\": \"PointInTime\",\r\n \"restoreSource\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/providers/Microsoft.DocumentDB/locations/westus2/restorableDatabaseAccounts/6d6384ae-d623-4323-8388-65ca7df02733\",\r\n \"restoreTimestampInUtc\": \"2021-02-18T17:40:00Z\",\r\n \"databasesToRestore\": [\r\n {\r\n \"databaseName\": \"db1\",\r\n \"collectionNames\": [\r\n \"container1\"\r\n ]\r\n }\r\n ]\r\n },\r\n \"networkAclBypassResourceIds\": []\r\n },\r\n \"identity\": {\r\n \"type\": \"None\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/resourceGroups/kakhandr-rg/providers/Microsoft.DocumentDB/databaseAccounts/kal-cli-backup-test\",\r\n \"name\": \"kal-cli-backup-test\",\r\n \"location\": \"West US 2\",\r\n \"type\": \"Microsoft.DocumentDB/databaseAccounts\",\r\n \"kind\": \"GlobalDocumentDB\",\r\n \"tags\": {},\r\n \"systemData\": {\r\n \"createdAt\": \"2021-02-22T20:39:55.3350623Z\"\r\n },\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"documentEndpoint\": \"https://kal-cli-backup-test.documents-staging.windows-ppe.net:443/\",\r\n \"publicNetworkAccess\": \"Enabled\",\r\n \"enableAutomaticFailover\": false,\r\n \"enableMultipleWriteLocations\": false,\r\n \"enablePartitionKeyMonitor\": false,\r\n \"isVirtualNetworkFilterEnabled\": false,\r\n \"virtualNetworkRules\": [],\r\n \"EnabledApiTypes\": \"Sql\",\r\n \"disableKeyBasedMetadataWriteAccess\": false,\r\n \"enableFreeTier\": false,\r\n \"enableAnalyticalStorage\": false,\r\n \"analyticalStorageConfiguration\": null,\r\n \"instanceId\": \"7cbbd986-d40d-4b12-a895-3a3a29510125\",\r\n \"createMode\": \"Default\",\r\n \"databaseAccountOfferType\": \"Standard\",\r\n \"enableCassandraConnector\": false,\r\n \"connectorOffer\": \"\",\r\n \"defaultIdentity\": \"\",\r\n \"networkAclBypass\": \"None\",\r\n \"consistencyPolicy\": {\r\n \"defaultConsistencyLevel\": \"Session\",\r\n \"maxIntervalInSeconds\": 5,\r\n \"maxStalenessPrefix\": 100\r\n },\r\n \"configurationOverrides\": {},\r\n \"writeLocations\": [\r\n {\r\n \"id\": \"kal-cli-backup-test-westus2\",\r\n \"locationName\": \"West US 2\",\r\n \"documentEndpoint\": \"https://kal-cli-backup-test-westus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"readLocations\": [\r\n {\r\n \"id\": \"kal-cli-backup-test-westus2\",\r\n \"locationName\": \"West US 2\",\r\n \"documentEndpoint\": \"https://kal-cli-backup-test-westus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"locations\": [\r\n {\r\n \"id\": \"kal-cli-backup-test-westus2\",\r\n \"locationName\": \"West US 2\",\r\n \"documentEndpoint\": \"https://kal-cli-backup-test-westus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"failoverPolicies\": [\r\n {\r\n \"id\": \"kal-cli-backup-test-westus2\",\r\n \"locationName\": \"West US 2\",\r\n \"failoverPriority\": 0\r\n }\r\n ],\r\n \"cors\": [],\r\n \"capabilities\": [],\r\n \"ipRules\": [],\r\n \"backupPolicy\": {\r\n \"type\": \"Periodic\",\r\n \"periodicModeProperties\": {\r\n \"backupIntervalInMinutes\": 240,\r\n \"backupRetentionIntervalInHours\": 8,\r\n \"backupStorageRedundancy\": \"Geo\"\r\n }\r\n },\r\n \"networkAclBypassResourceIds\": []\r\n },\r\n \"identity\": {\r\n \"type\": \"None\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/resourceGroups/kakhandr-rg/providers/Microsoft.DocumentDB/databaseAccounts/kal-ps-backup-test\",\r\n \"name\": \"kal-ps-backup-test\",\r\n \"location\": \"West US 2\",\r\n \"type\": \"Microsoft.DocumentDB/databaseAccounts\",\r\n \"kind\": \"GlobalDocumentDB\",\r\n \"tags\": {},\r\n \"systemData\": {\r\n \"createdAt\": \"2021-02-22T21:55:54.9343272Z\"\r\n },\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"documentEndpoint\": \"https://kal-ps-backup-test.documents-staging.windows-ppe.net:443/\",\r\n \"publicNetworkAccess\": \"Enabled\",\r\n \"enableAutomaticFailover\": false,\r\n \"enableMultipleWriteLocations\": false,\r\n \"enablePartitionKeyMonitor\": false,\r\n \"isVirtualNetworkFilterEnabled\": false,\r\n \"virtualNetworkRules\": [],\r\n \"EnabledApiTypes\": \"Sql\",\r\n \"disableKeyBasedMetadataWriteAccess\": false,\r\n \"enableFreeTier\": false,\r\n \"enableAnalyticalStorage\": false,\r\n \"analyticalStorageConfiguration\": null,\r\n \"instanceId\": \"d80e71f3-805e-4e73-af7d-eb611f1dc9ee\",\r\n \"createMode\": \"Default\",\r\n \"databaseAccountOfferType\": \"Standard\",\r\n \"enableCassandraConnector\": false,\r\n \"connectorOffer\": \"\",\r\n \"defaultIdentity\": \"\",\r\n \"networkAclBypass\": \"None\",\r\n \"consistencyPolicy\": {\r\n \"defaultConsistencyLevel\": \"Session\",\r\n \"maxIntervalInSeconds\": 5,\r\n \"maxStalenessPrefix\": 100\r\n },\r\n \"configurationOverrides\": {},\r\n \"writeLocations\": [\r\n {\r\n \"id\": \"kal-ps-backup-test-westus2\",\r\n \"locationName\": \"West US 2\",\r\n \"documentEndpoint\": \"https://kal-ps-backup-test-westus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"readLocations\": [\r\n {\r\n \"id\": \"kal-ps-backup-test-westus2\",\r\n \"locationName\": \"West US 2\",\r\n \"documentEndpoint\": \"https://kal-ps-backup-test-westus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"locations\": [\r\n {\r\n \"id\": \"kal-ps-backup-test-westus2\",\r\n \"locationName\": \"West US 2\",\r\n \"documentEndpoint\": \"https://kal-ps-backup-test-westus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"failoverPolicies\": [\r\n {\r\n \"id\": \"kal-ps-backup-test-westus2\",\r\n \"locationName\": \"West US 2\",\r\n \"failoverPriority\": 0\r\n }\r\n ],\r\n \"cors\": [],\r\n \"capabilities\": [],\r\n \"ipRules\": [],\r\n \"backupPolicy\": {\r\n \"type\": \"Periodic\",\r\n \"periodicModeProperties\": {\r\n \"backupIntervalInMinutes\": 480,\r\n \"backupRetentionIntervalInHours\": 16,\r\n \"backupStorageRedundancy\": \"Geo\"\r\n }\r\n },\r\n \"networkAclBypassResourceIds\": []\r\n },\r\n \"identity\": {\r\n \"type\": \"None\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/resourceGroups/CtlProfilingPrototypes/providers/Microsoft.DocumentDB/databaseAccounts/ecommerceprototype\",\r\n \"name\": \"ecommerceprototype\",\r\n \"location\": \"West US 2\",\r\n \"type\": \"Microsoft.DocumentDB/databaseAccounts\",\r\n \"kind\": \"GlobalDocumentDB\",\r\n \"tags\": {\r\n \"defaultExperience\": \"Core (SQL)\",\r\n \"hidden-cosmos-mmspecial\": \"\",\r\n \"CosmosAccountType\": \"Non-Production\"\r\n },\r\n \"systemData\": {\r\n \"createdAt\": \"2021-02-22T22:15:30.854419Z\"\r\n },\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"documentEndpoint\": \"https://ecommerceprototype.documents-staging.windows-ppe.net:443/\",\r\n \"publicNetworkAccess\": \"Enabled\",\r\n \"enableAutomaticFailover\": false,\r\n \"enableMultipleWriteLocations\": false,\r\n \"enablePartitionKeyMonitor\": false,\r\n \"isVirtualNetworkFilterEnabled\": false,\r\n \"virtualNetworkRules\": [],\r\n \"EnabledApiTypes\": \"Sql\",\r\n \"disableKeyBasedMetadataWriteAccess\": false,\r\n \"enableFreeTier\": false,\r\n \"enableAnalyticalStorage\": false,\r\n \"analyticalStorageConfiguration\": null,\r\n \"instanceId\": \"c1f5edbe-9964-4837-bee1-4120d2bc50c1\",\r\n \"createMode\": \"Default\",\r\n \"databaseAccountOfferType\": \"Standard\",\r\n \"enableCassandraConnector\": false,\r\n \"connectorOffer\": \"\",\r\n \"defaultIdentity\": \"\",\r\n \"networkAclBypass\": \"None\",\r\n \"consistencyPolicy\": {\r\n \"defaultConsistencyLevel\": \"Session\",\r\n \"maxIntervalInSeconds\": 5,\r\n \"maxStalenessPrefix\": 100\r\n },\r\n \"configurationOverrides\": {},\r\n \"writeLocations\": [\r\n {\r\n \"id\": \"ecommerceprototype-westus2\",\r\n \"locationName\": \"West US 2\",\r\n \"documentEndpoint\": \"https://ecommerceprototype-westus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"readLocations\": [\r\n {\r\n \"id\": \"ecommerceprototype-westus2\",\r\n \"locationName\": \"West US 2\",\r\n \"documentEndpoint\": \"https://ecommerceprototype-westus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"locations\": [\r\n {\r\n \"id\": \"ecommerceprototype-westus2\",\r\n \"locationName\": \"West US 2\",\r\n \"documentEndpoint\": \"https://ecommerceprototype-westus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"failoverPolicies\": [\r\n {\r\n \"id\": \"ecommerceprototype-westus2\",\r\n \"locationName\": \"West US 2\",\r\n \"failoverPriority\": 0\r\n }\r\n ],\r\n \"cors\": [],\r\n \"capabilities\": [],\r\n \"ipRules\": [],\r\n \"backupPolicy\": {\r\n \"type\": \"Periodic\",\r\n \"periodicModeProperties\": {\r\n \"backupIntervalInMinutes\": 240,\r\n \"backupRetentionIntervalInHours\": 8,\r\n \"backupStorageRedundancy\": \"Geo\"\r\n }\r\n },\r\n \"networkAclBypassResourceIds\": []\r\n },\r\n \"identity\": {\r\n \"type\": \"None\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/resourceGroups/mominag-stage7/providers/Microsoft.DocumentDB/databaseAccounts/mominag-stage7\",\r\n \"name\": \"mominag-stage7\",\r\n \"location\": \"West US 2\",\r\n \"type\": \"Microsoft.DocumentDB/databaseAccounts\",\r\n \"kind\": \"GlobalDocumentDB\",\r\n \"tags\": {\r\n \"defaultExperience\": \"Core (SQL)\",\r\n \"hidden-cosmos-mmspecial\": \"\",\r\n \"CosmosAccountType\": \"Non-Production\"\r\n },\r\n \"systemData\": {\r\n \"createdAt\": \"2021-02-23T16:58:34.9565429Z\"\r\n },\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"documentEndpoint\": \"https://mominag-stage7.documents-staging.windows-ppe.net:443/\",\r\n \"publicNetworkAccess\": \"Enabled\",\r\n \"enableAutomaticFailover\": false,\r\n \"enableMultipleWriteLocations\": false,\r\n \"enablePartitionKeyMonitor\": false,\r\n \"isVirtualNetworkFilterEnabled\": false,\r\n \"virtualNetworkRules\": [],\r\n \"EnabledApiTypes\": \"Sql\",\r\n \"disableKeyBasedMetadataWriteAccess\": false,\r\n \"enableFreeTier\": false,\r\n \"enableAnalyticalStorage\": false,\r\n \"analyticalStorageConfiguration\": null,\r\n \"instanceId\": \"949e3d88-b414-4052-81b5-6149798ac713\",\r\n \"createMode\": \"Default\",\r\n \"databaseAccountOfferType\": \"Standard\",\r\n \"enableCassandraConnector\": false,\r\n \"connectorOffer\": \"\",\r\n \"defaultIdentity\": \"FirstPartyIdentity\",\r\n \"networkAclBypass\": \"None\",\r\n \"consistencyPolicy\": {\r\n \"defaultConsistencyLevel\": \"Session\",\r\n \"maxIntervalInSeconds\": 5,\r\n \"maxStalenessPrefix\": 100\r\n },\r\n \"configurationOverrides\": {},\r\n \"writeLocations\": [\r\n {\r\n \"id\": \"mominag-stage7-westus2\",\r\n \"locationName\": \"West US 2\",\r\n \"documentEndpoint\": \"https://mominag-stage7-westus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"readLocations\": [\r\n {\r\n \"id\": \"mominag-stage7-westus2\",\r\n \"locationName\": \"West US 2\",\r\n \"documentEndpoint\": \"https://mominag-stage7-westus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"locations\": [\r\n {\r\n \"id\": \"mominag-stage7-westus2\",\r\n \"locationName\": \"West US 2\",\r\n \"documentEndpoint\": \"https://mominag-stage7-westus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"failoverPolicies\": [\r\n {\r\n \"id\": \"mominag-stage7-westus2\",\r\n \"locationName\": \"West US 2\",\r\n \"failoverPriority\": 0\r\n }\r\n ],\r\n \"cors\": [],\r\n \"capabilities\": [],\r\n \"ipRules\": [],\r\n \"backupPolicy\": {\r\n \"type\": \"Periodic\",\r\n \"periodicModeProperties\": {\r\n \"backupIntervalInMinutes\": 240,\r\n \"backupRetentionIntervalInHours\": 8,\r\n \"backupStorageRedundancy\": \"Geo\"\r\n }\r\n },\r\n \"networkAclBypassResourceIds\": []\r\n },\r\n \"identity\": {\r\n \"type\": \"None\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/resourceGroups/tvoellm-group/providers/Microsoft.DocumentDB/databaseAccounts/testingenffailure\",\r\n \"name\": \"testingenffailure\",\r\n \"location\": \"West US 2\",\r\n \"type\": \"Microsoft.DocumentDB/databaseAccounts\",\r\n \"kind\": \"GlobalDocumentDB\",\r\n \"tags\": {\r\n \"defaultExperience\": \"Core (SQL)\",\r\n \"hidden-cosmos-mmspecial\": \"\",\r\n \"CosmosAccountType\": \"Non-Production\"\r\n },\r\n \"systemData\": {\r\n \"createdAt\": \"2021-02-23T18:13:30.9839886Z\"\r\n },\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"documentEndpoint\": \"https://testingenffailure.documents-staging.windows-ppe.net:443/\",\r\n \"publicNetworkAccess\": \"Enabled\",\r\n \"enableAutomaticFailover\": false,\r\n \"enableMultipleWriteLocations\": false,\r\n \"enablePartitionKeyMonitor\": false,\r\n \"isVirtualNetworkFilterEnabled\": false,\r\n \"virtualNetworkRules\": [],\r\n \"EnabledApiTypes\": \"Sql\",\r\n \"disableKeyBasedMetadataWriteAccess\": false,\r\n \"enableFreeTier\": false,\r\n \"enableAnalyticalStorage\": false,\r\n \"analyticalStorageConfiguration\": null,\r\n \"instanceId\": \"61492410-2fa8-4a5e-9c71-e15a140ac601\",\r\n \"createMode\": \"Default\",\r\n \"databaseAccountOfferType\": \"Standard\",\r\n \"enableCassandraConnector\": false,\r\n \"connectorOffer\": \"\",\r\n \"keyVaultKeyUri\": \"https://testingenforcement.vault.azure.net/keys/byok\",\r\n \"defaultIdentity\": \"FirstPartyIdentity\",\r\n \"networkAclBypass\": \"None\",\r\n \"consistencyPolicy\": {\r\n \"defaultConsistencyLevel\": \"Session\",\r\n \"maxIntervalInSeconds\": 5,\r\n \"maxStalenessPrefix\": 100\r\n },\r\n \"configurationOverrides\": {},\r\n \"writeLocations\": [\r\n {\r\n \"id\": \"testingenffailure-westus2\",\r\n \"locationName\": \"West US 2\",\r\n \"documentEndpoint\": \"https://testingenffailure-westus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"readLocations\": [\r\n {\r\n \"id\": \"testingenffailure-westus2\",\r\n \"locationName\": \"West US 2\",\r\n \"documentEndpoint\": \"https://testingenffailure-westus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"locations\": [\r\n {\r\n \"id\": \"testingenffailure-westus2\",\r\n \"locationName\": \"West US 2\",\r\n \"documentEndpoint\": \"https://testingenffailure-westus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"failoverPolicies\": [\r\n {\r\n \"id\": \"testingenffailure-westus2\",\r\n \"locationName\": \"West US 2\",\r\n \"failoverPriority\": 0\r\n }\r\n ],\r\n \"cors\": [],\r\n \"capabilities\": [],\r\n \"ipRules\": [],\r\n \"backupPolicy\": {\r\n \"type\": \"Periodic\",\r\n \"periodicModeProperties\": {\r\n \"backupIntervalInMinutes\": 240,\r\n \"backupRetentionIntervalInHours\": 8,\r\n \"backupStorageRedundancy\": \"Geo\"\r\n }\r\n },\r\n \"networkAclBypassResourceIds\": []\r\n },\r\n \"identity\": {\r\n \"type\": \"None\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/resourceGroups/thweiss-stage/providers/Microsoft.DocumentDB/databaseAccounts/thweiss-rbac-stage\",\r\n \"name\": \"thweiss-rbac-stage\",\r\n \"location\": \"West US 2\",\r\n \"type\": \"Microsoft.DocumentDB/databaseAccounts\",\r\n \"kind\": \"GlobalDocumentDB\",\r\n \"tags\": {\r\n \"defaultExperience\": \"Core (SQL)\",\r\n \"hidden-cosmos-mmspecial\": \"\",\r\n \"CosmosAccountType\": \"Non-Production\"\r\n },\r\n \"systemData\": {\r\n \"createdAt\": \"2021-02-24T18:13:55.1445545Z\"\r\n },\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"documentEndpoint\": \"https://thweiss-rbac-stage.documents-staging.windows-ppe.net:443/\",\r\n \"publicNetworkAccess\": \"Enabled\",\r\n \"enableAutomaticFailover\": false,\r\n \"enableMultipleWriteLocations\": false,\r\n \"enablePartitionKeyMonitor\": false,\r\n \"isVirtualNetworkFilterEnabled\": false,\r\n \"virtualNetworkRules\": [],\r\n \"EnabledApiTypes\": \"Sql\",\r\n \"disableKeyBasedMetadataWriteAccess\": false,\r\n \"enableFreeTier\": false,\r\n \"enableAnalyticalStorage\": false,\r\n \"analyticalStorageConfiguration\": null,\r\n \"instanceId\": \"91330c19-b2c6-4f1b-84d1-5cf4d48895bf\",\r\n \"createMode\": \"Default\",\r\n \"databaseAccountOfferType\": \"Standard\",\r\n \"enableCassandraConnector\": false,\r\n \"connectorOffer\": \"\",\r\n \"defaultIdentity\": \"FirstPartyIdentity\",\r\n \"networkAclBypass\": \"None\",\r\n \"consistencyPolicy\": {\r\n \"defaultConsistencyLevel\": \"Session\",\r\n \"maxIntervalInSeconds\": 5,\r\n \"maxStalenessPrefix\": 100\r\n },\r\n \"configurationOverrides\": {},\r\n \"writeLocations\": [\r\n {\r\n \"id\": \"thweiss-rbac-stage-westus2\",\r\n \"locationName\": \"West US 2\",\r\n \"documentEndpoint\": \"https://thweiss-rbac-stage-westus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"readLocations\": [\r\n {\r\n \"id\": \"thweiss-rbac-stage-westus2\",\r\n \"locationName\": \"West US 2\",\r\n \"documentEndpoint\": \"https://thweiss-rbac-stage-westus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"locations\": [\r\n {\r\n \"id\": \"thweiss-rbac-stage-westus2\",\r\n \"locationName\": \"West US 2\",\r\n \"documentEndpoint\": \"https://thweiss-rbac-stage-westus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"failoverPolicies\": [\r\n {\r\n \"id\": \"thweiss-rbac-stage-westus2\",\r\n \"locationName\": \"West US 2\",\r\n \"failoverPriority\": 0\r\n }\r\n ],\r\n \"cors\": [],\r\n \"capabilities\": [],\r\n \"ipRules\": [],\r\n \"backupPolicy\": {\r\n \"type\": \"Periodic\",\r\n \"periodicModeProperties\": {\r\n \"backupIntervalInMinutes\": 240,\r\n \"backupRetentionIntervalInHours\": 8,\r\n \"backupStorageRedundancy\": \"Geo\"\r\n }\r\n },\r\n \"networkAclBypassResourceIds\": []\r\n },\r\n \"identity\": {\r\n \"type\": \"None\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/resourceGroups/vinh-stage-rp/providers/Microsoft.DocumentDB/databaseAccounts/virangai-test-vinhstagepitr-res\",\r\n \"name\": \"virangai-test-vinhstagepitr-res\",\r\n \"location\": \"West US 2\",\r\n \"type\": \"Microsoft.DocumentDB/databaseAccounts\",\r\n \"kind\": \"GlobalDocumentDB\",\r\n \"tags\": {},\r\n \"systemData\": {\r\n \"createdAt\": \"2021-02-26T22:14:49.5292394Z\"\r\n },\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"documentEndpoint\": \"https://virangai-test-vinhstagepitr-res.documents-staging.windows-ppe.net:443/\",\r\n \"publicNetworkAccess\": \"Enabled\",\r\n \"enableAutomaticFailover\": false,\r\n \"enableMultipleWriteLocations\": false,\r\n \"enablePartitionKeyMonitor\": false,\r\n \"isVirtualNetworkFilterEnabled\": false,\r\n \"virtualNetworkRules\": [],\r\n \"EnabledApiTypes\": \"Sql\",\r\n \"disableKeyBasedMetadataWriteAccess\": false,\r\n \"enableFreeTier\": false,\r\n \"enableAnalyticalStorage\": false,\r\n \"analyticalStorageConfiguration\": null,\r\n \"instanceId\": \"74e9ac09-75d3-448a-a128-e71866b42e95\",\r\n \"createMode\": \"Restore\",\r\n \"databaseAccountOfferType\": \"Standard\",\r\n \"enableCassandraConnector\": false,\r\n \"defaultIdentity\": \"\",\r\n \"networkAclBypass\": \"None\",\r\n \"consistencyPolicy\": {\r\n \"defaultConsistencyLevel\": \"Session\",\r\n \"maxIntervalInSeconds\": 5,\r\n \"maxStalenessPrefix\": 100\r\n },\r\n \"configurationOverrides\": {},\r\n \"writeLocations\": [\r\n {\r\n \"id\": \"virangai-test-vinhstagepitr-res-westus2\",\r\n \"locationName\": \"West US 2\",\r\n \"documentEndpoint\": \"https://virangai-test-vinhstagepitr-res-westus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"readLocations\": [\r\n {\r\n \"id\": \"virangai-test-vinhstagepitr-res-westus2\",\r\n \"locationName\": \"West US 2\",\r\n \"documentEndpoint\": \"https://virangai-test-vinhstagepitr-res-westus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"locations\": [\r\n {\r\n \"id\": \"virangai-test-vinhstagepitr-res-westus2\",\r\n \"locationName\": \"West US 2\",\r\n \"documentEndpoint\": \"https://virangai-test-vinhstagepitr-res-westus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"failoverPolicies\": [\r\n {\r\n \"id\": \"virangai-test-vinhstagepitr-res-westus2\",\r\n \"locationName\": \"West US 2\",\r\n \"failoverPriority\": 0\r\n }\r\n ],\r\n \"cors\": [],\r\n \"capabilities\": [],\r\n \"ipRules\": [],\r\n \"backupPolicy\": {\r\n \"type\": \"Continuous\"\r\n },\r\n \"restoreParameters\": {\r\n \"restoreMode\": \"PointInTime\",\r\n \"restoreSource\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/providers/Microsoft.DocumentDB/locations/westus2/restorableDatabaseAccounts/5dee0717-8f84-40d7-b7c1-921552ba61a5\",\r\n \"restoreTimestampInUtc\": \"2021-02-17T00:41:13Z\",\r\n \"databasesToRestore\": [\r\n {\r\n \"databaseName\": \"Test\",\r\n \"collectionNames\": [\r\n \"Test\"\r\n ]\r\n }\r\n ]\r\n },\r\n \"networkAclBypassResourceIds\": []\r\n },\r\n \"identity\": {\r\n \"type\": \"None\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/resourceGroups/analytics/providers/Microsoft.DocumentDB/databaseAccounts/shthekkachangefeed\",\r\n \"name\": \"shthekkachangefeed\",\r\n \"location\": \"West US 2\",\r\n \"type\": \"Microsoft.DocumentDB/databaseAccounts\",\r\n \"kind\": \"MongoDB\",\r\n \"tags\": {\r\n \"defaultExperience\": \"Azure Cosmos DB for MongoDB API\",\r\n \"hidden-cosmos-mmspecial\": \"\",\r\n \"CosmosAccountType\": \"Non-Production\"\r\n },\r\n \"systemData\": {\r\n \"createdAt\": \"2021-03-02T01:23:50.923821Z\"\r\n },\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"documentEndpoint\": \"https://shthekkachangefeed.documents-staging.windows-ppe.net:443/\",\r\n \"mongoEndpoint\": \"https://shthekkachangefeed.mongo.cosmos.windows-ppe.net:443/\",\r\n \"publicNetworkAccess\": \"Enabled\",\r\n \"enableAutomaticFailover\": false,\r\n \"enableMultipleWriteLocations\": false,\r\n \"enablePartitionKeyMonitor\": false,\r\n \"isVirtualNetworkFilterEnabled\": false,\r\n \"virtualNetworkRules\": [],\r\n \"EnabledApiTypes\": \"MongoDB\",\r\n \"disableKeyBasedMetadataWriteAccess\": false,\r\n \"enableFreeTier\": false,\r\n \"enableAnalyticalStorage\": false,\r\n \"analyticalStorageConfiguration\": null,\r\n \"instanceId\": \"93b4a120-202e-49a7-8559-5da22bf22204\",\r\n \"createMode\": \"Default\",\r\n \"databaseAccountOfferType\": \"Standard\",\r\n \"enableCassandraConnector\": false,\r\n \"connectorOffer\": \"\",\r\n \"defaultIdentity\": \"FirstPartyIdentity\",\r\n \"networkAclBypass\": \"None\",\r\n \"consistencyPolicy\": {\r\n \"defaultConsistencyLevel\": \"Session\",\r\n \"maxIntervalInSeconds\": 5,\r\n \"maxStalenessPrefix\": 100\r\n },\r\n \"apiProperties\": {\r\n \"serverVersion\": \"3.6\"\r\n },\r\n \"configurationOverrides\": {\r\n \"EnableBsonSchema\": \"True\"\r\n },\r\n \"writeLocations\": [\r\n {\r\n \"id\": \"shthekkachangefeed-westus2\",\r\n \"locationName\": \"West US 2\",\r\n \"documentEndpoint\": \"https://shthekkachangefeed-westus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"readLocations\": [\r\n {\r\n \"id\": \"shthekkachangefeed-westus2\",\r\n \"locationName\": \"West US 2\",\r\n \"documentEndpoint\": \"https://shthekkachangefeed-westus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"locations\": [\r\n {\r\n \"id\": \"shthekkachangefeed-westus2\",\r\n \"locationName\": \"West US 2\",\r\n \"documentEndpoint\": \"https://shthekkachangefeed-westus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"failoverPolicies\": [\r\n {\r\n \"id\": \"shthekkachangefeed-westus2\",\r\n \"locationName\": \"West US 2\",\r\n \"failoverPriority\": 0\r\n }\r\n ],\r\n \"cors\": [],\r\n \"capabilities\": [\r\n {\r\n \"name\": \"EnableMongo\"\r\n },\r\n {\r\n \"name\": \"DisableRateLimitingResponses\"\r\n }\r\n ],\r\n \"ipRules\": [],\r\n \"backupPolicy\": {\r\n \"type\": \"Periodic\",\r\n \"periodicModeProperties\": {\r\n \"backupIntervalInMinutes\": 240,\r\n \"backupRetentionIntervalInHours\": 8,\r\n \"backupStorageRedundancy\": \"Geo\"\r\n }\r\n },\r\n \"networkAclBypassResourceIds\": []\r\n },\r\n \"identity\": {\r\n \"type\": \"None\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/resourceGroups/wmengstagetest/providers/Microsoft.DocumentDB/databaseAccounts/wmengstagemongowestus2a\",\r\n \"name\": \"wmengstagemongowestus2a\",\r\n \"location\": \"West US 2\",\r\n \"type\": \"Microsoft.DocumentDB/databaseAccounts\",\r\n \"kind\": \"MongoDB\",\r\n \"tags\": {\r\n \"defaultExperience\": \"Azure Cosmos DB for MongoDB API\",\r\n \"hidden-cosmos-mmspecial\": \"\",\r\n \"CosmosAccountType\": \"Non-Production\"\r\n },\r\n \"systemData\": {\r\n \"createdAt\": \"2021-03-02T07:53:29.6512895Z\"\r\n },\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"documentEndpoint\": \"https://wmengstagemongowestus2a.documents-staging.windows-ppe.net:443/\",\r\n \"mongoEndpoint\": \"https://wmengstagemongowestus2a.mongo.cosmos.windows-ppe.net:443/\",\r\n \"publicNetworkAccess\": \"Enabled\",\r\n \"enableAutomaticFailover\": false,\r\n \"enableMultipleWriteLocations\": false,\r\n \"enablePartitionKeyMonitor\": false,\r\n \"isVirtualNetworkFilterEnabled\": false,\r\n \"virtualNetworkRules\": [],\r\n \"EnabledApiTypes\": \"MongoDB\",\r\n \"disableKeyBasedMetadataWriteAccess\": false,\r\n \"enableFreeTier\": false,\r\n \"enableAnalyticalStorage\": false,\r\n \"analyticalStorageConfiguration\": null,\r\n \"instanceId\": \"5be6f8f7-6186-4609-b589-a23bc7a39bde\",\r\n \"createMode\": \"Default\",\r\n \"databaseAccountOfferType\": \"Standard\",\r\n \"enableCassandraConnector\": false,\r\n \"connectorOffer\": \"\",\r\n \"defaultIdentity\": \"FirstPartyIdentity\",\r\n \"networkAclBypass\": \"None\",\r\n \"consistencyPolicy\": {\r\n \"defaultConsistencyLevel\": \"Session\",\r\n \"maxIntervalInSeconds\": 5,\r\n \"maxStalenessPrefix\": 100\r\n },\r\n \"apiProperties\": {\r\n \"serverVersion\": \"3.6\"\r\n },\r\n \"configurationOverrides\": {\r\n \"EnableBsonSchema\": \"True\"\r\n },\r\n \"writeLocations\": [\r\n {\r\n \"id\": \"wmengstagemongowestus2a-westus2\",\r\n \"locationName\": \"West US 2\",\r\n \"documentEndpoint\": \"https://wmengstagemongowestus2a-westus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"readLocations\": [\r\n {\r\n \"id\": \"wmengstagemongowestus2a-westus2\",\r\n \"locationName\": \"West US 2\",\r\n \"documentEndpoint\": \"https://wmengstagemongowestus2a-westus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"locations\": [\r\n {\r\n \"id\": \"wmengstagemongowestus2a-westus2\",\r\n \"locationName\": \"West US 2\",\r\n \"documentEndpoint\": \"https://wmengstagemongowestus2a-westus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"failoverPolicies\": [\r\n {\r\n \"id\": \"wmengstagemongowestus2a-westus2\",\r\n \"locationName\": \"West US 2\",\r\n \"failoverPriority\": 0\r\n }\r\n ],\r\n \"cors\": [],\r\n \"capabilities\": [\r\n {\r\n \"name\": \"EnableMongo\"\r\n },\r\n {\r\n \"name\": \"DisableRateLimitingResponses\"\r\n }\r\n ],\r\n \"ipRules\": [],\r\n \"backupPolicy\": {\r\n \"type\": \"Periodic\",\r\n \"periodicModeProperties\": {\r\n \"backupIntervalInMinutes\": 240,\r\n \"backupRetentionIntervalInHours\": 8,\r\n \"backupStorageRedundancy\": \"Geo\"\r\n }\r\n },\r\n \"networkAclBypassResourceIds\": []\r\n },\r\n \"identity\": {\r\n \"type\": \"None\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/resourceGroups/analytics/providers/Microsoft.DocumentDB/databaseAccounts/shthekkachangefeed1\",\r\n \"name\": \"shthekkachangefeed1\",\r\n \"location\": \"West US 2\",\r\n \"type\": \"Microsoft.DocumentDB/databaseAccounts\",\r\n \"kind\": \"GlobalDocumentDB\",\r\n \"tags\": {\r\n \"defaultExperience\": \"Core (SQL)\",\r\n \"hidden-cosmos-mmspecial\": \"\",\r\n \"CosmosAccountType\": \"Non-Production\"\r\n },\r\n \"systemData\": {\r\n \"createdAt\": \"2021-03-02T14:07:59.2149188Z\"\r\n },\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"documentEndpoint\": \"https://shthekkachangefeed1.documents-staging.windows-ppe.net:443/\",\r\n \"publicNetworkAccess\": \"Enabled\",\r\n \"enableAutomaticFailover\": false,\r\n \"enableMultipleWriteLocations\": false,\r\n \"enablePartitionKeyMonitor\": false,\r\n \"isVirtualNetworkFilterEnabled\": false,\r\n \"virtualNetworkRules\": [],\r\n \"EnabledApiTypes\": \"Sql\",\r\n \"disableKeyBasedMetadataWriteAccess\": false,\r\n \"enableFreeTier\": false,\r\n \"enableAnalyticalStorage\": false,\r\n \"analyticalStorageConfiguration\": null,\r\n \"instanceId\": \"2c0ea95d-1e53-48d6-adbb-6a7fac1b8783\",\r\n \"createMode\": \"Default\",\r\n \"databaseAccountOfferType\": \"Standard\",\r\n \"enableCassandraConnector\": false,\r\n \"connectorOffer\": \"\",\r\n \"enableFullFidelityChangeFeed\": true,\r\n \"defaultIdentity\": \"FirstPartyIdentity\",\r\n \"networkAclBypass\": \"None\",\r\n \"consistencyPolicy\": {\r\n \"defaultConsistencyLevel\": \"Session\",\r\n \"maxIntervalInSeconds\": 5,\r\n \"maxStalenessPrefix\": 100\r\n },\r\n \"configurationOverrides\": {},\r\n \"writeLocations\": [\r\n {\r\n \"id\": \"shthekkachangefeed1-westus2\",\r\n \"locationName\": \"West US 2\",\r\n \"documentEndpoint\": \"https://shthekkachangefeed1-westus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"readLocations\": [\r\n {\r\n \"id\": \"shthekkachangefeed1-westus2\",\r\n \"locationName\": \"West US 2\",\r\n \"documentEndpoint\": \"https://shthekkachangefeed1-westus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"locations\": [\r\n {\r\n \"id\": \"shthekkachangefeed1-westus2\",\r\n \"locationName\": \"West US 2\",\r\n \"documentEndpoint\": \"https://shthekkachangefeed1-westus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"failoverPolicies\": [\r\n {\r\n \"id\": \"shthekkachangefeed1-westus2\",\r\n \"locationName\": \"West US 2\",\r\n \"failoverPriority\": 0\r\n }\r\n ],\r\n \"cors\": [],\r\n \"capabilities\": [],\r\n \"ipRules\": [],\r\n \"backupPolicy\": {\r\n \"type\": \"Periodic\",\r\n \"periodicModeProperties\": {\r\n \"backupIntervalInMinutes\": 240,\r\n \"backupRetentionIntervalInHours\": 8,\r\n \"backupStorageRedundancy\": \"Geo\"\r\n }\r\n },\r\n \"networkAclBypassResourceIds\": []\r\n },\r\n \"identity\": {\r\n \"type\": \"None\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/resourceGroups/analytics/providers/Microsoft.DocumentDB/databaseAccounts/shthekkachangefeed2\",\r\n \"name\": \"shthekkachangefeed2\",\r\n \"location\": \"West US 2\",\r\n \"type\": \"Microsoft.DocumentDB/databaseAccounts\",\r\n \"kind\": \"GlobalDocumentDB\",\r\n \"tags\": {\r\n \"defaultExperience\": \"Core (SQL)\",\r\n \"hidden-cosmos-mmspecial\": \"\",\r\n \"CosmosAccountType\": \"Non-Production\"\r\n },\r\n \"systemData\": {\r\n \"createdAt\": \"2021-03-02T16:54:10.5282163Z\"\r\n },\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"documentEndpoint\": \"https://shthekkachangefeed2.documents-staging.windows-ppe.net:443/\",\r\n \"publicNetworkAccess\": \"Enabled\",\r\n \"enableAutomaticFailover\": false,\r\n \"enableMultipleWriteLocations\": false,\r\n \"enablePartitionKeyMonitor\": false,\r\n \"isVirtualNetworkFilterEnabled\": false,\r\n \"virtualNetworkRules\": [],\r\n \"EnabledApiTypes\": \"Sql\",\r\n \"disableKeyBasedMetadataWriteAccess\": false,\r\n \"enableFreeTier\": false,\r\n \"enableAnalyticalStorage\": false,\r\n \"analyticalStorageConfiguration\": null,\r\n \"instanceId\": \"dd7602ae-9453-48bf-9bc7-4404ee55f818\",\r\n \"createMode\": \"Default\",\r\n \"databaseAccountOfferType\": \"Standard\",\r\n \"enableCassandraConnector\": false,\r\n \"connectorOffer\": \"\",\r\n \"enableFullFidelityChangeFeed\": true,\r\n \"defaultIdentity\": \"FirstPartyIdentity\",\r\n \"networkAclBypass\": \"None\",\r\n \"consistencyPolicy\": {\r\n \"defaultConsistencyLevel\": \"Session\",\r\n \"maxIntervalInSeconds\": 5,\r\n \"maxStalenessPrefix\": 100\r\n },\r\n \"configurationOverrides\": {},\r\n \"writeLocations\": [\r\n {\r\n \"id\": \"shthekkachangefeed2-westus2\",\r\n \"locationName\": \"West US 2\",\r\n \"documentEndpoint\": \"https://shthekkachangefeed2-westus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"readLocations\": [\r\n {\r\n \"id\": \"shthekkachangefeed2-westus2\",\r\n \"locationName\": \"West US 2\",\r\n \"documentEndpoint\": \"https://shthekkachangefeed2-westus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"locations\": [\r\n {\r\n \"id\": \"shthekkachangefeed2-westus2\",\r\n \"locationName\": \"West US 2\",\r\n \"documentEndpoint\": \"https://shthekkachangefeed2-westus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"failoverPolicies\": [\r\n {\r\n \"id\": \"shthekkachangefeed2-westus2\",\r\n \"locationName\": \"West US 2\",\r\n \"failoverPriority\": 0\r\n }\r\n ],\r\n \"cors\": [],\r\n \"capabilities\": [],\r\n \"ipRules\": [],\r\n \"backupPolicy\": {\r\n \"type\": \"Periodic\",\r\n \"periodicModeProperties\": {\r\n \"backupIntervalInMinutes\": 240,\r\n \"backupRetentionIntervalInHours\": 8,\r\n \"backupStorageRedundancy\": \"Geo\"\r\n }\r\n },\r\n \"networkAclBypassResourceIds\": []\r\n },\r\n \"identity\": {\r\n \"type\": \"None\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/resourceGroups/pitr-stage-rg/providers/Microsoft.DocumentDB/databaseAccounts/restoredaccountname8240\",\r\n \"name\": \"restoredaccountname8240\",\r\n \"location\": \"West US 2\",\r\n \"type\": \"Microsoft.DocumentDB/databaseAccounts\",\r\n \"kind\": \"GlobalDocumentDB\",\r\n \"tags\": {},\r\n \"systemData\": {\r\n \"createdAt\": \"2021-03-02T23:44:12.9677973Z\"\r\n },\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"documentEndpoint\": \"https://restoredaccountname8240.documents-staging.windows-ppe.net:443/\",\r\n \"publicNetworkAccess\": \"Enabled\",\r\n \"enableAutomaticFailover\": false,\r\n \"enableMultipleWriteLocations\": false,\r\n \"enablePartitionKeyMonitor\": false,\r\n \"isVirtualNetworkFilterEnabled\": false,\r\n \"virtualNetworkRules\": [],\r\n \"EnabledApiTypes\": \"Sql\",\r\n \"disableKeyBasedMetadataWriteAccess\": false,\r\n \"enableFreeTier\": false,\r\n \"enableAnalyticalStorage\": false,\r\n \"analyticalStorageConfiguration\": null,\r\n \"instanceId\": \"24f3f6b6-9d96-4dc2-84b9-ae1c0cba8d4e\",\r\n \"createMode\": \"Restore\",\r\n \"databaseAccountOfferType\": \"Standard\",\r\n \"enableCassandraConnector\": false,\r\n \"defaultIdentity\": \"\",\r\n \"networkAclBypass\": \"None\",\r\n \"consistencyPolicy\": {\r\n \"defaultConsistencyLevel\": \"Session\",\r\n \"maxIntervalInSeconds\": 5,\r\n \"maxStalenessPrefix\": 100\r\n },\r\n \"configurationOverrides\": {},\r\n \"writeLocations\": [\r\n {\r\n \"id\": \"restoredaccountname8240-westus2\",\r\n \"locationName\": \"West US 2\",\r\n \"documentEndpoint\": \"https://restoredaccountname8240-westus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"readLocations\": [\r\n {\r\n \"id\": \"restoredaccountname8240-westus2\",\r\n \"locationName\": \"West US 2\",\r\n \"documentEndpoint\": \"https://restoredaccountname8240-westus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"locations\": [\r\n {\r\n \"id\": \"restoredaccountname8240-westus2\",\r\n \"locationName\": \"West US 2\",\r\n \"documentEndpoint\": \"https://restoredaccountname8240-westus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"failoverPolicies\": [\r\n {\r\n \"id\": \"restoredaccountname8240-westus2\",\r\n \"locationName\": \"West US 2\",\r\n \"failoverPriority\": 0\r\n }\r\n ],\r\n \"cors\": [],\r\n \"capabilities\": [],\r\n \"ipRules\": [],\r\n \"backupPolicy\": {\r\n \"type\": \"Continuous\"\r\n },\r\n \"restoreParameters\": {\r\n \"restoreMode\": \"PointInTime\",\r\n \"restoreSource\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/providers/Microsoft.DocumentDB/locations/westus2/restorableDatabaseAccounts/9a4b63c3-49d1-4c87-b28e-92e92aeaa0ea\",\r\n \"restoreTimestampInUtc\": \"2021-03-01T00:00:00Z\",\r\n \"databasesToRestore\": []\r\n },\r\n \"networkAclBypassResourceIds\": []\r\n },\r\n \"identity\": {\r\n \"type\": \"None\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/resourceGroups/pitr-stage-rg/providers/Microsoft.DocumentDB/databaseAccounts/restoredaccountname320\",\r\n \"name\": \"restoredaccountname320\",\r\n \"location\": \"West US 2\",\r\n \"type\": \"Microsoft.DocumentDB/databaseAccounts\",\r\n \"kind\": \"GlobalDocumentDB\",\r\n \"tags\": {},\r\n \"systemData\": {\r\n \"createdAt\": \"2021-03-03T00:59:33.2653566Z\"\r\n },\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"documentEndpoint\": \"https://restoredaccountname320.documents-staging.windows-ppe.net:443/\",\r\n \"publicNetworkAccess\": \"Enabled\",\r\n \"enableAutomaticFailover\": false,\r\n \"enableMultipleWriteLocations\": false,\r\n \"enablePartitionKeyMonitor\": false,\r\n \"isVirtualNetworkFilterEnabled\": false,\r\n \"virtualNetworkRules\": [],\r\n \"EnabledApiTypes\": \"Sql\",\r\n \"disableKeyBasedMetadataWriteAccess\": false,\r\n \"enableFreeTier\": false,\r\n \"enableAnalyticalStorage\": false,\r\n \"analyticalStorageConfiguration\": null,\r\n \"instanceId\": \"f319c2f4-7e68-48c0-9eac-94e12fb51179\",\r\n \"createMode\": \"Restore\",\r\n \"databaseAccountOfferType\": \"Standard\",\r\n \"enableCassandraConnector\": false,\r\n \"defaultIdentity\": \"\",\r\n \"networkAclBypass\": \"None\",\r\n \"consistencyPolicy\": {\r\n \"defaultConsistencyLevel\": \"Session\",\r\n \"maxIntervalInSeconds\": 5,\r\n \"maxStalenessPrefix\": 100\r\n },\r\n \"configurationOverrides\": {},\r\n \"writeLocations\": [\r\n {\r\n \"id\": \"restoredaccountname320-westus2\",\r\n \"locationName\": \"West US 2\",\r\n \"documentEndpoint\": \"https://restoredaccountname320-westus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"readLocations\": [\r\n {\r\n \"id\": \"restoredaccountname320-westus2\",\r\n \"locationName\": \"West US 2\",\r\n \"documentEndpoint\": \"https://restoredaccountname320-westus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"locations\": [\r\n {\r\n \"id\": \"restoredaccountname320-westus2\",\r\n \"locationName\": \"West US 2\",\r\n \"documentEndpoint\": \"https://restoredaccountname320-westus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"failoverPolicies\": [\r\n {\r\n \"id\": \"restoredaccountname320-westus2\",\r\n \"locationName\": \"West US 2\",\r\n \"failoverPriority\": 0\r\n }\r\n ],\r\n \"cors\": [],\r\n \"capabilities\": [],\r\n \"ipRules\": [],\r\n \"backupPolicy\": {\r\n \"type\": \"Continuous\"\r\n },\r\n \"restoreParameters\": {\r\n \"restoreMode\": \"PointInTime\",\r\n \"restoreSource\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/providers/Microsoft.DocumentDB/locations/westus2/restorableDatabaseAccounts/9a4b63c3-49d1-4c87-b28e-92e92aeaa0ea\",\r\n \"restoreTimestampInUtc\": \"2021-03-01T00:00:00Z\",\r\n \"databasesToRestore\": []\r\n },\r\n \"networkAclBypassResourceIds\": []\r\n },\r\n \"identity\": {\r\n \"type\": \"None\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/resourceGroups/pitr-stage-rg/providers/Microsoft.DocumentDB/databaseAccounts/restoredaccountname6982\",\r\n \"name\": \"restoredaccountname6982\",\r\n \"location\": \"West US 2\",\r\n \"type\": \"Microsoft.DocumentDB/databaseAccounts\",\r\n \"kind\": \"GlobalDocumentDB\",\r\n \"tags\": {},\r\n \"systemData\": {\r\n \"createdAt\": \"2021-03-03T02:34:05.8453693Z\"\r\n },\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"documentEndpoint\": \"https://restoredaccountname6982.documents-staging.windows-ppe.net:443/\",\r\n \"publicNetworkAccess\": \"Enabled\",\r\n \"enableAutomaticFailover\": false,\r\n \"enableMultipleWriteLocations\": false,\r\n \"enablePartitionKeyMonitor\": false,\r\n \"isVirtualNetworkFilterEnabled\": false,\r\n \"virtualNetworkRules\": [],\r\n \"EnabledApiTypes\": \"Sql\",\r\n \"disableKeyBasedMetadataWriteAccess\": false,\r\n \"enableFreeTier\": false,\r\n \"enableAnalyticalStorage\": false,\r\n \"analyticalStorageConfiguration\": null,\r\n \"instanceId\": \"672e89ce-0096-4a87-8131-3d2d5d483a3a\",\r\n \"createMode\": \"Restore\",\r\n \"databaseAccountOfferType\": \"Standard\",\r\n \"enableCassandraConnector\": false,\r\n \"defaultIdentity\": \"\",\r\n \"networkAclBypass\": \"None\",\r\n \"consistencyPolicy\": {\r\n \"defaultConsistencyLevel\": \"Session\",\r\n \"maxIntervalInSeconds\": 5,\r\n \"maxStalenessPrefix\": 100\r\n },\r\n \"configurationOverrides\": {},\r\n \"writeLocations\": [\r\n {\r\n \"id\": \"restoredaccountname6982-westus2\",\r\n \"locationName\": \"West US 2\",\r\n \"documentEndpoint\": \"https://restoredaccountname6982-westus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"readLocations\": [\r\n {\r\n \"id\": \"restoredaccountname6982-westus2\",\r\n \"locationName\": \"West US 2\",\r\n \"documentEndpoint\": \"https://restoredaccountname6982-westus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"locations\": [\r\n {\r\n \"id\": \"restoredaccountname6982-westus2\",\r\n \"locationName\": \"West US 2\",\r\n \"documentEndpoint\": \"https://restoredaccountname6982-westus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"failoverPolicies\": [\r\n {\r\n \"id\": \"restoredaccountname6982-westus2\",\r\n \"locationName\": \"West US 2\",\r\n \"failoverPriority\": 0\r\n }\r\n ],\r\n \"cors\": [],\r\n \"capabilities\": [],\r\n \"ipRules\": [],\r\n \"backupPolicy\": {\r\n \"type\": \"Continuous\"\r\n },\r\n \"restoreParameters\": {\r\n \"restoreMode\": \"PointInTime\",\r\n \"restoreSource\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/providers/Microsoft.DocumentDB/locations/westus2/restorableDatabaseAccounts/9a4b63c3-49d1-4c87-b28e-92e92aeaa0ea\",\r\n \"restoreTimestampInUtc\": \"2021-03-01T00:00:00Z\",\r\n \"databasesToRestore\": []\r\n },\r\n \"networkAclBypassResourceIds\": []\r\n },\r\n \"identity\": {\r\n \"type\": \"None\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/resourceGroups/pitr-stage-rg/providers/Microsoft.DocumentDB/databaseAccounts/restoredaccountname8295\",\r\n \"name\": \"restoredaccountname8295\",\r\n \"location\": \"West US 2\",\r\n \"type\": \"Microsoft.DocumentDB/databaseAccounts\",\r\n \"kind\": \"GlobalDocumentDB\",\r\n \"tags\": {},\r\n \"systemData\": {\r\n \"createdAt\": \"2021-03-03T17:48:44.4341123Z\"\r\n },\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"documentEndpoint\": \"https://restoredaccountname8295.documents-staging.windows-ppe.net:443/\",\r\n \"publicNetworkAccess\": \"Enabled\",\r\n \"enableAutomaticFailover\": false,\r\n \"enableMultipleWriteLocations\": false,\r\n \"enablePartitionKeyMonitor\": false,\r\n \"isVirtualNetworkFilterEnabled\": false,\r\n \"virtualNetworkRules\": [],\r\n \"EnabledApiTypes\": \"Sql\",\r\n \"disableKeyBasedMetadataWriteAccess\": false,\r\n \"enableFreeTier\": false,\r\n \"enableAnalyticalStorage\": false,\r\n \"analyticalStorageConfiguration\": null,\r\n \"instanceId\": \"1a937e8e-1a33-4fd1-9349-34ede3dd02f2\",\r\n \"createMode\": \"Restore\",\r\n \"databaseAccountOfferType\": \"Standard\",\r\n \"enableCassandraConnector\": false,\r\n \"defaultIdentity\": \"\",\r\n \"networkAclBypass\": \"None\",\r\n \"consistencyPolicy\": {\r\n \"defaultConsistencyLevel\": \"Session\",\r\n \"maxIntervalInSeconds\": 5,\r\n \"maxStalenessPrefix\": 100\r\n },\r\n \"configurationOverrides\": {},\r\n \"writeLocations\": [\r\n {\r\n \"id\": \"restoredaccountname8295-westus2\",\r\n \"locationName\": \"West US 2\",\r\n \"documentEndpoint\": \"https://restoredaccountname8295-westus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"readLocations\": [\r\n {\r\n \"id\": \"restoredaccountname8295-westus2\",\r\n \"locationName\": \"West US 2\",\r\n \"documentEndpoint\": \"https://restoredaccountname8295-westus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"locations\": [\r\n {\r\n \"id\": \"restoredaccountname8295-westus2\",\r\n \"locationName\": \"West US 2\",\r\n \"documentEndpoint\": \"https://restoredaccountname8295-westus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"failoverPolicies\": [\r\n {\r\n \"id\": \"restoredaccountname8295-westus2\",\r\n \"locationName\": \"West US 2\",\r\n \"failoverPriority\": 0\r\n }\r\n ],\r\n \"cors\": [],\r\n \"capabilities\": [],\r\n \"ipRules\": [],\r\n \"backupPolicy\": {\r\n \"type\": \"Continuous\"\r\n },\r\n \"restoreParameters\": {\r\n \"restoreMode\": \"PointInTime\",\r\n \"restoreSource\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/providers/Microsoft.DocumentDB/locations/westus2/restorableDatabaseAccounts/9a4b63c3-49d1-4c87-b28e-92e92aeaa0ea\",\r\n \"restoreTimestampInUtc\": \"2021-03-01T00:00:00Z\",\r\n \"databasesToRestore\": []\r\n },\r\n \"networkAclBypassResourceIds\": []\r\n },\r\n \"identity\": {\r\n \"type\": \"None\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/resourceGroups/srpalive-rg/providers/Microsoft.DocumentDB/databaseAccounts/srpalive-stg-test-globalstrong\",\r\n \"name\": \"srpalive-stg-test-globalstrong\",\r\n \"location\": \"West US 2\",\r\n \"type\": \"Microsoft.DocumentDB/databaseAccounts\",\r\n \"kind\": \"GlobalDocumentDB\",\r\n \"tags\": {\r\n \"defaultExperience\": \"Core (SQL)\",\r\n \"hidden-cosmos-mmspecial\": \"\",\r\n \"CosmosAccountType\": \"Non-Production\"\r\n },\r\n \"systemData\": {\r\n \"createdAt\": \"2021-03-09T23:13:55.6811982Z\"\r\n },\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"documentEndpoint\": \"https://srpalive-stg-test-globalstrong.documents-staging.windows-ppe.net:443/\",\r\n \"publicNetworkAccess\": \"Enabled\",\r\n \"enableAutomaticFailover\": false,\r\n \"enableMultipleWriteLocations\": false,\r\n \"enablePartitionKeyMonitor\": false,\r\n \"isVirtualNetworkFilterEnabled\": false,\r\n \"virtualNetworkRules\": [],\r\n \"EnabledApiTypes\": \"Sql\",\r\n \"disableKeyBasedMetadataWriteAccess\": false,\r\n \"enableFreeTier\": false,\r\n \"enableAnalyticalStorage\": false,\r\n \"analyticalStorageConfiguration\": null,\r\n \"instanceId\": \"6c81752b-01db-4bf4-bb70-f1198926b61c\",\r\n \"createMode\": \"Default\",\r\n \"databaseAccountOfferType\": \"Standard\",\r\n \"enableCassandraConnector\": false,\r\n \"connectorOffer\": \"\",\r\n \"enableFullFidelityChangeFeed\": false,\r\n \"defaultIdentity\": \"FirstPartyIdentity\",\r\n \"networkAclBypass\": \"None\",\r\n \"consistencyPolicy\": {\r\n \"defaultConsistencyLevel\": \"Strong\",\r\n \"maxIntervalInSeconds\": 5,\r\n \"maxStalenessPrefix\": 100\r\n },\r\n \"configurationOverrides\": {},\r\n \"writeLocations\": [\r\n {\r\n \"id\": \"srpalive-stg-test-globalstrong-westus2\",\r\n \"locationName\": \"West US 2\",\r\n \"documentEndpoint\": \"https://srpalive-stg-test-globalstrong-westus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"readLocations\": [\r\n {\r\n \"id\": \"srpalive-stg-test-globalstrong-westus2\",\r\n \"locationName\": \"West US 2\",\r\n \"documentEndpoint\": \"https://srpalive-stg-test-globalstrong-westus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n },\r\n {\r\n \"id\": \"srpalive-stg-test-globalstrong-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://srpalive-stg-test-globalstrong-eastus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 2,\r\n \"isZoneRedundant\": false\r\n },\r\n {\r\n \"id\": \"srpalive-stg-test-globalstrong-northcentralus\",\r\n \"locationName\": \"North Central US\",\r\n \"documentEndpoint\": \"https://srpalive-stg-test-globalstrong-northcentralus.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 2,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"locations\": [\r\n {\r\n \"id\": \"srpalive-stg-test-globalstrong-westus2\",\r\n \"locationName\": \"West US 2\",\r\n \"documentEndpoint\": \"https://srpalive-stg-test-globalstrong-westus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n },\r\n {\r\n \"id\": \"srpalive-stg-test-globalstrong-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://srpalive-stg-test-globalstrong-eastus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 2,\r\n \"isZoneRedundant\": false\r\n },\r\n {\r\n \"id\": \"srpalive-stg-test-globalstrong-northcentralus\",\r\n \"locationName\": \"North Central US\",\r\n \"documentEndpoint\": \"https://srpalive-stg-test-globalstrong-northcentralus.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 2,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"failoverPolicies\": [\r\n {\r\n \"id\": \"srpalive-stg-test-globalstrong-westus2\",\r\n \"locationName\": \"West US 2\",\r\n \"failoverPriority\": 0\r\n },\r\n {\r\n \"id\": \"srpalive-stg-test-globalstrong-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"failoverPriority\": 2\r\n },\r\n {\r\n \"id\": \"srpalive-stg-test-globalstrong-northcentralus\",\r\n \"locationName\": \"North Central US\",\r\n \"failoverPriority\": 2\r\n }\r\n ],\r\n \"cors\": [],\r\n \"capabilities\": [],\r\n \"ipRules\": [],\r\n \"backupPolicy\": {\r\n \"type\": \"Periodic\",\r\n \"periodicModeProperties\": {\r\n \"backupIntervalInMinutes\": 240,\r\n \"backupRetentionIntervalInHours\": 8,\r\n \"backupStorageRedundancy\": \"Geo\"\r\n }\r\n },\r\n \"networkAclBypassResourceIds\": []\r\n },\r\n \"identity\": {\r\n \"type\": \"None\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/resourceGroups/viho-rg-stage/providers/Microsoft.DocumentDB/databaseAccounts/vihosqllegacygateway3\",\r\n \"name\": \"vihosqllegacygateway3\",\r\n \"location\": \"West US 2\",\r\n \"type\": \"Microsoft.DocumentDB/databaseAccounts\",\r\n \"kind\": \"GlobalDocumentDB\",\r\n \"tags\": {\r\n \"defaultExperience\": \"Core (SQL)\",\r\n \"hidden-cosmos-mmspecial\": \"\",\r\n \"CosmosAccountType\": \"Non-Production\"\r\n },\r\n \"systemData\": {\r\n \"createdAt\": \"2021-03-18T01:15:09.5863718Z\"\r\n },\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"documentEndpoint\": \"https://vihosqllegacygateway3.documents-staging.windows-ppe.net:443/\",\r\n \"publicNetworkAccess\": \"Enabled\",\r\n \"enableAutomaticFailover\": false,\r\n \"enableMultipleWriteLocations\": false,\r\n \"enablePartitionKeyMonitor\": false,\r\n \"isVirtualNetworkFilterEnabled\": false,\r\n \"virtualNetworkRules\": [],\r\n \"EnabledApiTypes\": \"Sql\",\r\n \"disableKeyBasedMetadataWriteAccess\": false,\r\n \"enableFreeTier\": false,\r\n \"enableAnalyticalStorage\": false,\r\n \"analyticalStorageConfiguration\": null,\r\n \"instanceId\": \"c0189f8f-a874-45bb-ae7d-eba95ce8ad17\",\r\n \"createMode\": \"Default\",\r\n \"databaseAccountOfferType\": \"Standard\",\r\n \"enableCassandraConnector\": false,\r\n \"connectorOffer\": \"\",\r\n \"enableMaterializedViews\": false,\r\n \"enableFullFidelityChangeFeed\": false,\r\n \"defaultIdentity\": \"FirstPartyIdentity\",\r\n \"networkAclBypass\": \"None\",\r\n \"consistencyPolicy\": {\r\n \"defaultConsistencyLevel\": \"Session\",\r\n \"maxIntervalInSeconds\": 5,\r\n \"maxStalenessPrefix\": 100\r\n },\r\n \"configurationOverrides\": {},\r\n \"writeLocations\": [\r\n {\r\n \"id\": \"vihosqllegacygateway3-westus2\",\r\n \"locationName\": \"West US 2\",\r\n \"documentEndpoint\": \"https://vihosqllegacygateway3-westus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"readLocations\": [\r\n {\r\n \"id\": \"vihosqllegacygateway3-westus2\",\r\n \"locationName\": \"West US 2\",\r\n \"documentEndpoint\": \"https://vihosqllegacygateway3-westus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"locations\": [\r\n {\r\n \"id\": \"vihosqllegacygateway3-westus2\",\r\n \"locationName\": \"West US 2\",\r\n \"documentEndpoint\": \"https://vihosqllegacygateway3-westus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"failoverPolicies\": [\r\n {\r\n \"id\": \"vihosqllegacygateway3-westus2\",\r\n \"locationName\": \"West US 2\",\r\n \"failoverPriority\": 0\r\n }\r\n ],\r\n \"cors\": [],\r\n \"capabilities\": [],\r\n \"ipRules\": [],\r\n \"backupPolicy\": {\r\n \"type\": \"Periodic\",\r\n \"periodicModeProperties\": {\r\n \"backupIntervalInMinutes\": 240,\r\n \"backupRetentionIntervalInHours\": 8,\r\n \"backupStorageRedundancy\": \"Geo\"\r\n }\r\n },\r\n \"networkAclBypassResourceIds\": []\r\n },\r\n \"identity\": {\r\n \"type\": \"None\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/resourceGroups/analytics/providers/Microsoft.DocumentDB/databaseAccounts/shthekkatestacc2\",\r\n \"name\": \"shthekkatestacc2\",\r\n \"location\": \"West US 2\",\r\n \"type\": \"Microsoft.DocumentDB/databaseAccounts\",\r\n \"kind\": \"GlobalDocumentDB\",\r\n \"tags\": {\r\n \"defaultExperience\": \"Core (SQL)\",\r\n \"hidden-cosmos-mmspecial\": \"\",\r\n \"CosmosAccountType\": \"Non-Production\"\r\n },\r\n \"systemData\": {\r\n \"createdAt\": \"2021-03-21T16:49:52.0960724Z\"\r\n },\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"documentEndpoint\": \"https://shthekkatestacc2.documents-staging.windows-ppe.net:443/\",\r\n \"publicNetworkAccess\": \"Enabled\",\r\n \"enableAutomaticFailover\": false,\r\n \"enableMultipleWriteLocations\": false,\r\n \"enablePartitionKeyMonitor\": false,\r\n \"isVirtualNetworkFilterEnabled\": false,\r\n \"virtualNetworkRules\": [],\r\n \"EnabledApiTypes\": \"Sql\",\r\n \"disableKeyBasedMetadataWriteAccess\": false,\r\n \"enableFreeTier\": false,\r\n \"enableAnalyticalStorage\": true,\r\n \"analyticalStorageConfiguration\": null,\r\n \"instanceId\": \"ee78e74d-3e3a-4549-85d0-9fb358b1c20b\",\r\n \"createMode\": \"Default\",\r\n \"databaseAccountOfferType\": \"Standard\",\r\n \"enableCassandraConnector\": false,\r\n \"connectorOffer\": \"\",\r\n \"enableMaterializedViews\": false,\r\n \"enableFullFidelityChangeFeed\": false,\r\n \"defaultIdentity\": \"FirstPartyIdentity\",\r\n \"networkAclBypass\": \"None\",\r\n \"consistencyPolicy\": {\r\n \"defaultConsistencyLevel\": \"Session\",\r\n \"maxIntervalInSeconds\": 5,\r\n \"maxStalenessPrefix\": 100\r\n },\r\n \"configurationOverrides\": {},\r\n \"writeLocations\": [\r\n {\r\n \"id\": \"shthekkatestacc2-westus2\",\r\n \"locationName\": \"West US 2\",\r\n \"documentEndpoint\": \"https://shthekkatestacc2-westus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"readLocations\": [\r\n {\r\n \"id\": \"shthekkatestacc2-westus2\",\r\n \"locationName\": \"West US 2\",\r\n \"documentEndpoint\": \"https://shthekkatestacc2-westus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"locations\": [\r\n {\r\n \"id\": \"shthekkatestacc2-westus2\",\r\n \"locationName\": \"West US 2\",\r\n \"documentEndpoint\": \"https://shthekkatestacc2-westus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"failoverPolicies\": [\r\n {\r\n \"id\": \"shthekkatestacc2-westus2\",\r\n \"locationName\": \"West US 2\",\r\n \"failoverPriority\": 0\r\n }\r\n ],\r\n \"cors\": [],\r\n \"capabilities\": [],\r\n \"ipRules\": [],\r\n \"backupPolicy\": {\r\n \"type\": \"Periodic\",\r\n \"periodicModeProperties\": {\r\n \"backupIntervalInMinutes\": 240,\r\n \"backupRetentionIntervalInHours\": 8,\r\n \"backupStorageRedundancy\": \"Geo\"\r\n }\r\n },\r\n \"networkAclBypassResourceIds\": []\r\n },\r\n \"identity\": {\r\n \"type\": \"None\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/resourceGroups/analytics/providers/Microsoft.DocumentDB/databaseAccounts/shthekkatestacc3\",\r\n \"name\": \"shthekkatestacc3\",\r\n \"location\": \"West US 2\",\r\n \"type\": \"Microsoft.DocumentDB/databaseAccounts\",\r\n \"kind\": \"GlobalDocumentDB\",\r\n \"tags\": {\r\n \"defaultExperience\": \"Core (SQL)\",\r\n \"hidden-cosmos-mmspecial\": \"\",\r\n \"CosmosAccountType\": \"Non-Production\"\r\n },\r\n \"systemData\": {\r\n \"createdAt\": \"2021-03-21T17:27:02.9000599Z\"\r\n },\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"documentEndpoint\": \"https://shthekkatestacc3.documents-staging.windows-ppe.net:443/\",\r\n \"publicNetworkAccess\": \"Enabled\",\r\n \"enableAutomaticFailover\": false,\r\n \"enableMultipleWriteLocations\": false,\r\n \"enablePartitionKeyMonitor\": false,\r\n \"isVirtualNetworkFilterEnabled\": false,\r\n \"virtualNetworkRules\": [],\r\n \"EnabledApiTypes\": \"Sql\",\r\n \"disableKeyBasedMetadataWriteAccess\": false,\r\n \"enableFreeTier\": false,\r\n \"enableAnalyticalStorage\": true,\r\n \"analyticalStorageConfiguration\": null,\r\n \"instanceId\": \"b5df3014-ed80-46aa-9a40-78b87f19e533\",\r\n \"createMode\": \"Default\",\r\n \"databaseAccountOfferType\": \"Standard\",\r\n \"enableCassandraConnector\": false,\r\n \"connectorOffer\": \"\",\r\n \"enableMaterializedViews\": false,\r\n \"enableFullFidelityChangeFeed\": false,\r\n \"defaultIdentity\": \"FirstPartyIdentity\",\r\n \"networkAclBypass\": \"None\",\r\n \"consistencyPolicy\": {\r\n \"defaultConsistencyLevel\": \"Session\",\r\n \"maxIntervalInSeconds\": 5,\r\n \"maxStalenessPrefix\": 100\r\n },\r\n \"configurationOverrides\": {},\r\n \"writeLocations\": [\r\n {\r\n \"id\": \"shthekkatestacc3-westus2\",\r\n \"locationName\": \"West US 2\",\r\n \"documentEndpoint\": \"https://shthekkatestacc3-westus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"readLocations\": [\r\n {\r\n \"id\": \"shthekkatestacc3-westus2\",\r\n \"locationName\": \"West US 2\",\r\n \"documentEndpoint\": \"https://shthekkatestacc3-westus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"locations\": [\r\n {\r\n \"id\": \"shthekkatestacc3-westus2\",\r\n \"locationName\": \"West US 2\",\r\n \"documentEndpoint\": \"https://shthekkatestacc3-westus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"failoverPolicies\": [\r\n {\r\n \"id\": \"shthekkatestacc3-westus2\",\r\n \"locationName\": \"West US 2\",\r\n \"failoverPriority\": 0\r\n }\r\n ],\r\n \"cors\": [],\r\n \"capabilities\": [],\r\n \"ipRules\": [],\r\n \"backupPolicy\": {\r\n \"type\": \"Periodic\",\r\n \"periodicModeProperties\": {\r\n \"backupIntervalInMinutes\": 240,\r\n \"backupRetentionIntervalInHours\": 8,\r\n \"backupStorageRedundancy\": \"Geo\"\r\n }\r\n },\r\n \"networkAclBypassResourceIds\": []\r\n },\r\n \"identity\": {\r\n \"type\": \"None\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/resourceGroups/analytics/providers/Microsoft.DocumentDB/databaseAccounts/shthekkachangefeed3\",\r\n \"name\": \"shthekkachangefeed3\",\r\n \"location\": \"West US 2\",\r\n \"type\": \"Microsoft.DocumentDB/databaseAccounts\",\r\n \"kind\": \"GlobalDocumentDB\",\r\n \"tags\": {\r\n \"defaultExperience\": \"Core (SQL)\",\r\n \"hidden-cosmos-mmspecial\": \"\",\r\n \"CosmosAccountType\": \"Non-Production\"\r\n },\r\n \"systemData\": {\r\n \"createdAt\": \"2021-03-28T17:15:13.937906Z\"\r\n },\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"documentEndpoint\": \"https://shthekkachangefeed3.documents-staging.windows-ppe.net:443/\",\r\n \"publicNetworkAccess\": \"Enabled\",\r\n \"enableAutomaticFailover\": false,\r\n \"enableMultipleWriteLocations\": false,\r\n \"enablePartitionKeyMonitor\": false,\r\n \"isVirtualNetworkFilterEnabled\": false,\r\n \"virtualNetworkRules\": [],\r\n \"EnabledApiTypes\": \"Sql\",\r\n \"disableKeyBasedMetadataWriteAccess\": false,\r\n \"enableFreeTier\": false,\r\n \"enableAnalyticalStorage\": false,\r\n \"analyticalStorageConfiguration\": null,\r\n \"instanceId\": \"de512772-1941-4f12-8e07-2a338a4d777e\",\r\n \"createMode\": \"Default\",\r\n \"databaseAccountOfferType\": \"Standard\",\r\n \"enableCassandraConnector\": false,\r\n \"connectorOffer\": \"\",\r\n \"enableMaterializedViews\": false,\r\n \"enableFullFidelityChangeFeed\": true,\r\n \"defaultIdentity\": \"FirstPartyIdentity\",\r\n \"networkAclBypass\": \"None\",\r\n \"consistencyPolicy\": {\r\n \"defaultConsistencyLevel\": \"Session\",\r\n \"maxIntervalInSeconds\": 5,\r\n \"maxStalenessPrefix\": 100\r\n },\r\n \"configurationOverrides\": {},\r\n \"writeLocations\": [\r\n {\r\n \"id\": \"shthekkachangefeed3-westus2\",\r\n \"locationName\": \"West US 2\",\r\n \"documentEndpoint\": \"https://shthekkachangefeed3-westus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"readLocations\": [\r\n {\r\n \"id\": \"shthekkachangefeed3-westus2\",\r\n \"locationName\": \"West US 2\",\r\n \"documentEndpoint\": \"https://shthekkachangefeed3-westus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"locations\": [\r\n {\r\n \"id\": \"shthekkachangefeed3-westus2\",\r\n \"locationName\": \"West US 2\",\r\n \"documentEndpoint\": \"https://shthekkachangefeed3-westus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"failoverPolicies\": [\r\n {\r\n \"id\": \"shthekkachangefeed3-westus2\",\r\n \"locationName\": \"West US 2\",\r\n \"failoverPriority\": 0\r\n }\r\n ],\r\n \"cors\": [],\r\n \"capabilities\": [],\r\n \"ipRules\": [],\r\n \"backupPolicy\": {\r\n \"type\": \"Periodic\",\r\n \"periodicModeProperties\": {\r\n \"backupIntervalInMinutes\": 240,\r\n \"backupRetentionIntervalInHours\": 8,\r\n \"backupStorageRedundancy\": \"Geo\"\r\n }\r\n },\r\n \"networkAclBypassResourceIds\": []\r\n },\r\n \"identity\": {\r\n \"type\": \"None\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/resourceGroups/divya-rg/providers/Microsoft.DocumentDB/databaseAccounts/divyatestdb\",\r\n \"name\": \"divyatestdb\",\r\n \"location\": \"West US 2\",\r\n \"type\": \"Microsoft.DocumentDB/databaseAccounts\",\r\n \"kind\": \"GlobalDocumentDB\",\r\n \"tags\": {\r\n \"defaultExperience\": \"Core (SQL)\",\r\n \"hidden-cosmos-mmspecial\": \"\",\r\n \"CosmosAccountType\": \"Non-Production\"\r\n },\r\n \"systemData\": {\r\n \"createdAt\": \"2021-03-31T02:42:49.8877686Z\"\r\n },\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"documentEndpoint\": \"https://divyatestdb.documents-staging.windows-ppe.net:443/\",\r\n \"publicNetworkAccess\": \"Enabled\",\r\n \"enableAutomaticFailover\": false,\r\n \"enableMultipleWriteLocations\": false,\r\n \"enablePartitionKeyMonitor\": false,\r\n \"isVirtualNetworkFilterEnabled\": false,\r\n \"virtualNetworkRules\": [],\r\n \"EnabledApiTypes\": \"Sql\",\r\n \"disableKeyBasedMetadataWriteAccess\": false,\r\n \"enableFreeTier\": false,\r\n \"enableAnalyticalStorage\": false,\r\n \"analyticalStorageConfiguration\": null,\r\n \"instanceId\": \"6f28c149-116f-43ce-aa2c-383189e3411b\",\r\n \"createMode\": \"Default\",\r\n \"databaseAccountOfferType\": \"Standard\",\r\n \"enableCassandraConnector\": false,\r\n \"connectorOffer\": \"\",\r\n \"enableMaterializedViews\": false,\r\n \"enableFullFidelityChangeFeed\": false,\r\n \"defaultIdentity\": \"FirstPartyIdentity\",\r\n \"networkAclBypass\": \"None\",\r\n \"consistencyPolicy\": {\r\n \"defaultConsistencyLevel\": \"Session\",\r\n \"maxIntervalInSeconds\": 5,\r\n \"maxStalenessPrefix\": 100\r\n },\r\n \"configurationOverrides\": {},\r\n \"writeLocations\": [\r\n {\r\n \"id\": \"divyatestdb-westus2\",\r\n \"locationName\": \"West US 2\",\r\n \"documentEndpoint\": \"https://divyatestdb-westus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"readLocations\": [\r\n {\r\n \"id\": \"divyatestdb-westus2\",\r\n \"locationName\": \"West US 2\",\r\n \"documentEndpoint\": \"https://divyatestdb-westus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n },\r\n {\r\n \"id\": \"divyatestdb-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://divyatestdb-eastus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 1,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"locations\": [\r\n {\r\n \"id\": \"divyatestdb-westus2\",\r\n \"locationName\": \"West US 2\",\r\n \"documentEndpoint\": \"https://divyatestdb-westus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n },\r\n {\r\n \"id\": \"divyatestdb-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://divyatestdb-eastus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 1,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"failoverPolicies\": [\r\n {\r\n \"id\": \"divyatestdb-westus2\",\r\n \"locationName\": \"West US 2\",\r\n \"failoverPriority\": 0\r\n },\r\n {\r\n \"id\": \"divyatestdb-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"failoverPriority\": 1\r\n }\r\n ],\r\n \"cors\": [],\r\n \"capabilities\": [],\r\n \"ipRules\": [],\r\n \"backupPolicy\": {\r\n \"type\": \"Periodic\",\r\n \"periodicModeProperties\": {\r\n \"backupIntervalInMinutes\": 240,\r\n \"backupRetentionIntervalInHours\": 8,\r\n \"backupStorageRedundancy\": \"Local\"\r\n }\r\n },\r\n \"networkAclBypassResourceIds\": []\r\n },\r\n \"identity\": {\r\n \"type\": \"None\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/resourceGroups/cph-stage-westus2-rg/providers/Microsoft.DocumentDB/databaseAccounts/cph-stage-westus2-sql\",\r\n \"name\": \"cph-stage-westus2-sql\",\r\n \"location\": \"West US 2\",\r\n \"type\": \"Microsoft.DocumentDB/databaseAccounts\",\r\n \"kind\": \"GlobalDocumentDB\",\r\n \"tags\": {},\r\n \"systemData\": {\r\n \"createdAt\": \"2021-04-27T17:19:40.2670825Z\"\r\n },\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"documentEndpoint\": \"https://cph-stage-westus2-sql.documents-staging.windows-ppe.net:443/\",\r\n \"publicNetworkAccess\": \"Enabled\",\r\n \"enableAutomaticFailover\": false,\r\n \"enableMultipleWriteLocations\": false,\r\n \"enablePartitionKeyMonitor\": false,\r\n \"isVirtualNetworkFilterEnabled\": false,\r\n \"virtualNetworkRules\": [],\r\n \"EnabledApiTypes\": \"Sql\",\r\n \"disableKeyBasedMetadataWriteAccess\": false,\r\n \"enableFreeTier\": false,\r\n \"enableAnalyticalStorage\": false,\r\n \"analyticalStorageConfiguration\": null,\r\n \"instanceId\": \"a48f3b26-c5ab-4cc0-83a9-3c8bbf7f9942\",\r\n \"createMode\": \"Default\",\r\n \"databaseAccountOfferType\": \"Standard\",\r\n \"enableCassandraConnector\": false,\r\n \"connectorOffer\": \"\",\r\n \"enableMaterializedViews\": false,\r\n \"enableFullFidelityChangeFeed\": false,\r\n \"defaultIdentity\": \"FirstPartyIdentity\",\r\n \"networkAclBypass\": \"None\",\r\n \"consistencyPolicy\": {\r\n \"defaultConsistencyLevel\": \"Session\",\r\n \"maxIntervalInSeconds\": 5,\r\n \"maxStalenessPrefix\": 100\r\n },\r\n \"configurationOverrides\": {},\r\n \"writeLocations\": [\r\n {\r\n \"id\": \"cph-stage-westus2-sql-westus2\",\r\n \"locationName\": \"West US 2\",\r\n \"documentEndpoint\": \"https://cph-stage-westus2-sql-westus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"readLocations\": [\r\n {\r\n \"id\": \"cph-stage-westus2-sql-westus2\",\r\n \"locationName\": \"West US 2\",\r\n \"documentEndpoint\": \"https://cph-stage-westus2-sql-westus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"locations\": [\r\n {\r\n \"id\": \"cph-stage-westus2-sql-westus2\",\r\n \"locationName\": \"West US 2\",\r\n \"documentEndpoint\": \"https://cph-stage-westus2-sql-westus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"failoverPolicies\": [\r\n {\r\n \"id\": \"cph-stage-westus2-sql-westus2\",\r\n \"locationName\": \"West US 2\",\r\n \"failoverPriority\": 0\r\n }\r\n ],\r\n \"cors\": [],\r\n \"capabilities\": [],\r\n \"ipRules\": [],\r\n \"backupPolicy\": {\r\n \"type\": \"Periodic\",\r\n \"periodicModeProperties\": {\r\n \"backupIntervalInMinutes\": 240,\r\n \"backupRetentionIntervalInHours\": 8,\r\n \"backupStorageRedundancy\": \"Geo\"\r\n }\r\n },\r\n \"networkAclBypassResourceIds\": []\r\n },\r\n \"identity\": {\r\n \"type\": \"None\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/resourceGroups/CosmosDBResourceGroup3668/providers/Microsoft.DocumentDB/databaseAccounts/cli4mjhqv3b574l\",\r\n \"name\": \"cli4mjhqv3b574l\",\r\n \"location\": \"East US 2\",\r\n \"type\": \"Microsoft.DocumentDB/databaseAccounts\",\r\n \"kind\": \"GlobalDocumentDB\",\r\n \"tags\": {},\r\n \"systemData\": {\r\n \"createdAt\": \"2020-10-03T02:53:40.0432893Z\"\r\n },\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"documentEndpoint\": \"https://cli4mjhqv3b574l.documents-staging.windows-ppe.net:443/\",\r\n \"publicNetworkAccess\": \"Enabled\",\r\n \"enableAutomaticFailover\": false,\r\n \"enableMultipleWriteLocations\": false,\r\n \"enablePartitionKeyMonitor\": false,\r\n \"isVirtualNetworkFilterEnabled\": false,\r\n \"virtualNetworkRules\": [],\r\n \"EnabledApiTypes\": \"Sql\",\r\n \"disableKeyBasedMetadataWriteAccess\": false,\r\n \"enableFreeTier\": false,\r\n \"enableAnalyticalStorage\": false,\r\n \"analyticalStorageConfiguration\": null,\r\n \"instanceId\": \"cbea4201-475f-4957-8a4e-bdb781826112\",\r\n \"createMode\": \"Default\",\r\n \"databaseAccountOfferType\": \"Standard\",\r\n \"enableCassandraConnector\": false,\r\n \"connectorOffer\": \"\",\r\n \"defaultIdentity\": \"\",\r\n \"networkAclBypass\": \"None\",\r\n \"consistencyPolicy\": {\r\n \"defaultConsistencyLevel\": \"Session\",\r\n \"maxIntervalInSeconds\": 5,\r\n \"maxStalenessPrefix\": 100\r\n },\r\n \"configurationOverrides\": {},\r\n \"writeLocations\": [\r\n {\r\n \"id\": \"cli4mjhqv3b574l-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://cli4mjhqv3b574l-eastus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"readLocations\": [\r\n {\r\n \"id\": \"cli4mjhqv3b574l-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://cli4mjhqv3b574l-eastus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"locations\": [\r\n {\r\n \"id\": \"cli4mjhqv3b574l-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://cli4mjhqv3b574l-eastus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"failoverPolicies\": [\r\n {\r\n \"id\": \"cli4mjhqv3b574l-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"failoverPriority\": 0\r\n }\r\n ],\r\n \"cors\": [],\r\n \"capabilities\": [],\r\n \"ipRules\": [],\r\n \"backupPolicy\": {\r\n \"type\": \"Periodic\",\r\n \"periodicModeProperties\": {\r\n \"backupIntervalInMinutes\": 240,\r\n \"backupRetentionIntervalInHours\": 8,\r\n \"backupStorageRedundancy\": \"Geo\"\r\n }\r\n },\r\n \"networkAclBypassResourceIds\": []\r\n },\r\n \"identity\": {\r\n \"type\": \"None\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/resourceGroups/shatri_vmss/providers/Microsoft.DocumentDB/databaseAccounts/shatrivmsscas\",\r\n \"name\": \"shatrivmsscas\",\r\n \"location\": \"East US 2\",\r\n \"type\": \"Microsoft.DocumentDB/databaseAccounts\",\r\n \"kind\": \"GlobalDocumentDB\",\r\n \"tags\": {\r\n \"defaultExperience\": \"Cassandra\",\r\n \"hidden-cosmos-mmspecial\": \"\",\r\n \"CosmosAccountType\": \"Non-Production\"\r\n },\r\n \"systemData\": {\r\n \"createdAt\": \"2020-10-05T22:07:42.0755521Z\"\r\n },\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"documentEndpoint\": \"https://shatrivmsscas.documents-staging.windows-ppe.net:443/\",\r\n \"cassandraEndpoint\": \"https://shatrivmsscas.cassandra.cosmos.windows-ppe.net:443/\",\r\n \"publicNetworkAccess\": \"Enabled\",\r\n \"enableAutomaticFailover\": false,\r\n \"enableMultipleWriteLocations\": false,\r\n \"enablePartitionKeyMonitor\": false,\r\n \"isVirtualNetworkFilterEnabled\": false,\r\n \"virtualNetworkRules\": [],\r\n \"EnabledApiTypes\": \"Cassandra\",\r\n \"disableKeyBasedMetadataWriteAccess\": false,\r\n \"enableFreeTier\": false,\r\n \"enableAnalyticalStorage\": false,\r\n \"analyticalStorageConfiguration\": null,\r\n \"instanceId\": \"97eda513-da11-4b39-a1b4-a0e0212ed46a\",\r\n \"createMode\": \"Default\",\r\n \"databaseAccountOfferType\": \"Standard\",\r\n \"enableCassandraConnector\": false,\r\n \"connectorOffer\": \"\",\r\n \"defaultIdentity\": \"\",\r\n \"networkAclBypass\": \"None\",\r\n \"consistencyPolicy\": {\r\n \"defaultConsistencyLevel\": \"Session\",\r\n \"maxIntervalInSeconds\": 5,\r\n \"maxStalenessPrefix\": 100\r\n },\r\n \"configurationOverrides\": {},\r\n \"writeLocations\": [\r\n {\r\n \"id\": \"shatrivmsscas-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://shatrivmsscas-eastus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"readLocations\": [\r\n {\r\n \"id\": \"shatrivmsscas-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://shatrivmsscas-eastus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"locations\": [\r\n {\r\n \"id\": \"shatrivmsscas-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://shatrivmsscas-eastus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"failoverPolicies\": [\r\n {\r\n \"id\": \"shatrivmsscas-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"failoverPriority\": 0\r\n }\r\n ],\r\n \"cors\": [],\r\n \"capabilities\": [\r\n {\r\n \"name\": \"EnableCassandra\"\r\n }\r\n ],\r\n \"ipRules\": [],\r\n \"backupPolicy\": {\r\n \"type\": \"Periodic\",\r\n \"periodicModeProperties\": {\r\n \"backupIntervalInMinutes\": 240,\r\n \"backupRetentionIntervalInHours\": 8,\r\n \"backupStorageRedundancy\": \"Geo\"\r\n }\r\n },\r\n \"networkAclBypassResourceIds\": []\r\n },\r\n \"identity\": {\r\n \"type\": \"None\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/resourceGroups/shatri_vmss/providers/Microsoft.DocumentDB/databaseAccounts/shatrivmsscass1\",\r\n \"name\": \"shatrivmsscass1\",\r\n \"location\": \"East US 2\",\r\n \"type\": \"Microsoft.DocumentDB/databaseAccounts\",\r\n \"kind\": \"GlobalDocumentDB\",\r\n \"tags\": {\r\n \"defaultExperience\": \"Cassandra\",\r\n \"hidden-cosmos-mmspecial\": \"\",\r\n \"CosmosAccountType\": \"Non-Production\"\r\n },\r\n \"systemData\": {\r\n \"createdAt\": \"2020-10-05T22:57:54.9590419Z\"\r\n },\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"documentEndpoint\": \"https://shatrivmsscass1.documents-staging.windows-ppe.net:443/\",\r\n \"cassandraEndpoint\": \"https://shatrivmsscass1.cassandra.cosmos.windows-ppe.net:443/\",\r\n \"publicNetworkAccess\": \"Enabled\",\r\n \"enableAutomaticFailover\": false,\r\n \"enableMultipleWriteLocations\": false,\r\n \"enablePartitionKeyMonitor\": false,\r\n \"isVirtualNetworkFilterEnabled\": false,\r\n \"virtualNetworkRules\": [],\r\n \"EnabledApiTypes\": \"Cassandra\",\r\n \"disableKeyBasedMetadataWriteAccess\": false,\r\n \"enableFreeTier\": false,\r\n \"enableAnalyticalStorage\": false,\r\n \"analyticalStorageConfiguration\": null,\r\n \"instanceId\": \"d2230b57-fc66-4981-a85c-ff8b4b73a71a\",\r\n \"createMode\": \"Default\",\r\n \"databaseAccountOfferType\": \"Standard\",\r\n \"enableCassandraConnector\": false,\r\n \"connectorOffer\": \"\",\r\n \"defaultIdentity\": \"\",\r\n \"networkAclBypass\": \"None\",\r\n \"consistencyPolicy\": {\r\n \"defaultConsistencyLevel\": \"Session\",\r\n \"maxIntervalInSeconds\": 5,\r\n \"maxStalenessPrefix\": 100\r\n },\r\n \"configurationOverrides\": {},\r\n \"writeLocations\": [\r\n {\r\n \"id\": \"shatrivmsscass1-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://shatrivmsscass1-eastus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"readLocations\": [\r\n {\r\n \"id\": \"shatrivmsscass1-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://shatrivmsscass1-eastus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"locations\": [\r\n {\r\n \"id\": \"shatrivmsscass1-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://shatrivmsscass1-eastus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"failoverPolicies\": [\r\n {\r\n \"id\": \"shatrivmsscass1-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"failoverPriority\": 0\r\n }\r\n ],\r\n \"cors\": [],\r\n \"capabilities\": [\r\n {\r\n \"name\": \"EnableCassandra\"\r\n }\r\n ],\r\n \"ipRules\": [],\r\n \"backupPolicy\": {\r\n \"type\": \"Periodic\",\r\n \"periodicModeProperties\": {\r\n \"backupIntervalInMinutes\": 240,\r\n \"backupRetentionIntervalInHours\": 8,\r\n \"backupStorageRedundancy\": \"Geo\"\r\n }\r\n },\r\n \"networkAclBypassResourceIds\": []\r\n },\r\n \"identity\": {\r\n \"type\": \"None\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/resourceGroups/kristynh/providers/Microsoft.DocumentDB/databaseAccounts/kristynh-logs-test\",\r\n \"name\": \"kristynh-logs-test\",\r\n \"location\": \"East US 2\",\r\n \"type\": \"Microsoft.DocumentDB/databaseAccounts\",\r\n \"kind\": \"GlobalDocumentDB\",\r\n \"tags\": {\r\n \"defaultExperience\": \"Core (SQL)\",\r\n \"hidden-cosmos-mmspecial\": \"\",\r\n \"CosmosAccountType\": \"Non-Production\"\r\n },\r\n \"systemData\": {\r\n \"createdAt\": \"2020-10-07T00:01:50.7316059Z\"\r\n },\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"documentEndpoint\": \"https://kristynh-logs-test.documents-staging.windows-ppe.net:443/\",\r\n \"publicNetworkAccess\": \"Enabled\",\r\n \"enableAutomaticFailover\": false,\r\n \"enableMultipleWriteLocations\": false,\r\n \"enablePartitionKeyMonitor\": false,\r\n \"isVirtualNetworkFilterEnabled\": false,\r\n \"virtualNetworkRules\": [],\r\n \"EnabledApiTypes\": \"Sql\",\r\n \"disableKeyBasedMetadataWriteAccess\": false,\r\n \"enableFreeTier\": false,\r\n \"enableAnalyticalStorage\": true,\r\n \"analyticalStorageConfiguration\": null,\r\n \"instanceId\": \"ce8d4d88-4820-4f6c-a9e2-1e03cc9e0ad0\",\r\n \"createMode\": \"Default\",\r\n \"databaseAccountOfferType\": \"Standard\",\r\n \"enableCassandraConnector\": false,\r\n \"connectorOffer\": \"\",\r\n \"defaultIdentity\": \"\",\r\n \"networkAclBypass\": \"None\",\r\n \"consistencyPolicy\": {\r\n \"defaultConsistencyLevel\": \"Session\",\r\n \"maxIntervalInSeconds\": 5,\r\n \"maxStalenessPrefix\": 100\r\n },\r\n \"configurationOverrides\": {},\r\n \"writeLocations\": [\r\n {\r\n \"id\": \"kristynh-logs-test-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://kristynh-logs-test-eastus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"readLocations\": [\r\n {\r\n \"id\": \"kristynh-logs-test-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://kristynh-logs-test-eastus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"locations\": [\r\n {\r\n \"id\": \"kristynh-logs-test-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://kristynh-logs-test-eastus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"failoverPolicies\": [\r\n {\r\n \"id\": \"kristynh-logs-test-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"failoverPriority\": 0\r\n }\r\n ],\r\n \"cors\": [],\r\n \"capabilities\": [],\r\n \"ipRules\": [],\r\n \"backupPolicy\": {\r\n \"type\": \"Periodic\",\r\n \"periodicModeProperties\": {\r\n \"backupIntervalInMinutes\": 240,\r\n \"backupRetentionIntervalInHours\": 8,\r\n \"backupStorageRedundancy\": \"Geo\"\r\n }\r\n },\r\n \"networkAclBypassResourceIds\": []\r\n },\r\n \"identity\": {\r\n \"type\": \"None\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/resourceGroups/shreygremlintest/providers/Microsoft.DocumentDB/databaseAccounts/shreygremlintest2\",\r\n \"name\": \"shreygremlintest2\",\r\n \"location\": \"East US 2\",\r\n \"type\": \"Microsoft.DocumentDB/databaseAccounts\",\r\n \"kind\": \"GlobalDocumentDB\",\r\n \"tags\": {\r\n \"defaultExperience\": \"Gremlinv2\"\r\n },\r\n \"systemData\": {\r\n \"createdAt\": \"2020-10-07T00:09:04.2396508Z\"\r\n },\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"documentEndpoint\": \"https://shreygremlintest2.documents-staging.windows-ppe.net:443/\",\r\n \"gremlinEndpoint\": \"https://shreygremlintest2.gremlin.cosmos.windows-ppe.net/\",\r\n \"publicNetworkAccess\": \"Enabled\",\r\n \"enableAutomaticFailover\": false,\r\n \"enableMultipleWriteLocations\": false,\r\n \"enablePartitionKeyMonitor\": false,\r\n \"isVirtualNetworkFilterEnabled\": false,\r\n \"virtualNetworkRules\": [],\r\n \"EnabledApiTypes\": \"GremlinV2\",\r\n \"disableKeyBasedMetadataWriteAccess\": false,\r\n \"enableFreeTier\": false,\r\n \"enableAnalyticalStorage\": false,\r\n \"analyticalStorageConfiguration\": null,\r\n \"instanceId\": \"3063f0a4-c783-46ac-9453-56182e595e10\",\r\n \"createMode\": \"Default\",\r\n \"databaseAccountOfferType\": \"Standard\",\r\n \"enableCassandraConnector\": false,\r\n \"connectorOffer\": \"\",\r\n \"defaultIdentity\": \"\",\r\n \"networkAclBypass\": \"None\",\r\n \"consistencyPolicy\": {\r\n \"defaultConsistencyLevel\": \"Session\",\r\n \"maxIntervalInSeconds\": 5,\r\n \"maxStalenessPrefix\": 100\r\n },\r\n \"apiProperties\": {\r\n \"clusterInstanceCount\": 1,\r\n \"clusterSize\": \"Cosmos.Gremlin.D4s\"\r\n },\r\n \"configurationOverrides\": {},\r\n \"writeLocations\": [\r\n {\r\n \"id\": \"shreygremlintest2-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://shreygremlintest2-eastus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"readLocations\": [\r\n {\r\n \"id\": \"shreygremlintest2-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://shreygremlintest2-eastus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"locations\": [\r\n {\r\n \"id\": \"shreygremlintest2-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://shreygremlintest2-eastus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"failoverPolicies\": [\r\n {\r\n \"id\": \"shreygremlintest2-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"failoverPriority\": 0\r\n }\r\n ],\r\n \"cors\": [],\r\n \"capabilities\": [\r\n {\r\n \"name\": \"EnableGremlinV2\"\r\n }\r\n ],\r\n \"ipRules\": [],\r\n \"backupPolicy\": {\r\n \"type\": \"Periodic\",\r\n \"periodicModeProperties\": {\r\n \"backupIntervalInMinutes\": 240,\r\n \"backupRetentionIntervalInHours\": 8,\r\n \"backupStorageRedundancy\": \"Geo\"\r\n }\r\n },\r\n \"networkAclBypassResourceIds\": []\r\n },\r\n \"identity\": {\r\n \"type\": \"None\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/resourceGroups/gremlin-staging-eastus2/providers/Microsoft.DocumentDB/databaseAccounts/stage-gv2-2\",\r\n \"name\": \"stage-gv2-2\",\r\n \"location\": \"East US 2\",\r\n \"type\": \"Microsoft.DocumentDB/databaseAccounts\",\r\n \"kind\": \"GlobalDocumentDB\",\r\n \"tags\": {\r\n \"defaultExperience\": \"Gremlinv2\"\r\n },\r\n \"systemData\": {\r\n \"createdAt\": \"2020-10-07T00:25:59.1177018Z\"\r\n },\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"documentEndpoint\": \"https://stage-gv2-2.documents-staging.windows-ppe.net:443/\",\r\n \"gremlinEndpoint\": \"https://stage-gv2-2.gremlin.cosmos.windows-ppe.net/\",\r\n \"publicNetworkAccess\": \"Enabled\",\r\n \"enableAutomaticFailover\": false,\r\n \"enableMultipleWriteLocations\": false,\r\n \"enablePartitionKeyMonitor\": false,\r\n \"isVirtualNetworkFilterEnabled\": false,\r\n \"virtualNetworkRules\": [],\r\n \"EnabledApiTypes\": \"GremlinV2\",\r\n \"disableKeyBasedMetadataWriteAccess\": false,\r\n \"enableFreeTier\": false,\r\n \"enableAnalyticalStorage\": false,\r\n \"analyticalStorageConfiguration\": null,\r\n \"instanceId\": \"1547da99-5119-48a2-a54c-90669ad44be9\",\r\n \"createMode\": \"Default\",\r\n \"databaseAccountOfferType\": \"Standard\",\r\n \"enableCassandraConnector\": false,\r\n \"connectorOffer\": \"\",\r\n \"defaultIdentity\": \"\",\r\n \"networkAclBypass\": \"None\",\r\n \"consistencyPolicy\": {\r\n \"defaultConsistencyLevel\": \"Session\",\r\n \"maxIntervalInSeconds\": 5,\r\n \"maxStalenessPrefix\": 100\r\n },\r\n \"apiProperties\": {\r\n \"clusterInstanceCount\": 1,\r\n \"clusterSize\": \"Cosmos.D4s\"\r\n },\r\n \"configurationOverrides\": {},\r\n \"writeLocations\": [\r\n {\r\n \"id\": \"stage-gv2-2-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://stage-gv2-2-eastus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"readLocations\": [\r\n {\r\n \"id\": \"stage-gv2-2-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://stage-gv2-2-eastus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"locations\": [\r\n {\r\n \"id\": \"stage-gv2-2-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://stage-gv2-2-eastus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"failoverPolicies\": [\r\n {\r\n \"id\": \"stage-gv2-2-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"failoverPriority\": 0\r\n }\r\n ],\r\n \"cors\": [],\r\n \"capabilities\": [\r\n {\r\n \"name\": \"EnableGremlinV2\"\r\n }\r\n ],\r\n \"ipRules\": [],\r\n \"backupPolicy\": {\r\n \"type\": \"Periodic\",\r\n \"periodicModeProperties\": {\r\n \"backupIntervalInMinutes\": 240,\r\n \"backupRetentionIntervalInHours\": 8,\r\n \"backupStorageRedundancy\": \"Geo\"\r\n }\r\n },\r\n \"networkAclBypassResourceIds\": []\r\n },\r\n \"identity\": {\r\n \"type\": \"None\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/resourceGroups/sanayak-test/providers/Microsoft.DocumentDB/databaseAccounts/sanayakstagevctest\",\r\n \"name\": \"sanayakstagevctest\",\r\n \"location\": \"East US 2\",\r\n \"type\": \"Microsoft.DocumentDB/databaseAccounts\",\r\n \"kind\": \"GlobalDocumentDB\",\r\n \"tags\": {\r\n \"defaultExperience\": \"Core (SQL)\"\r\n },\r\n \"systemData\": {\r\n \"createdAt\": \"2019-08-08T04:46:20.1847198Z\"\r\n },\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"documentEndpoint\": \"https://sanayakstagevctest.documents-staging.windows-ppe.net:443/\",\r\n \"publicNetworkAccess\": \"Enabled\",\r\n \"enableAutomaticFailover\": false,\r\n \"enableMultipleWriteLocations\": true,\r\n \"enablePartitionKeyMonitor\": false,\r\n \"isVirtualNetworkFilterEnabled\": false,\r\n \"virtualNetworkRules\": [],\r\n \"EnabledApiTypes\": \"Sql\",\r\n \"disableKeyBasedMetadataWriteAccess\": false,\r\n \"enableFreeTier\": false,\r\n \"enableAnalyticalStorage\": false,\r\n \"analyticalStorageConfiguration\": null,\r\n \"instanceId\": \"1b0c2161-4aa4-4b85-b3e9-c4044213e288\",\r\n \"createMode\": \"Default\",\r\n \"databaseAccountOfferType\": \"Standard\",\r\n \"enableCassandraConnector\": false,\r\n \"connectorOffer\": \"\",\r\n \"defaultIdentity\": \"\",\r\n \"networkAclBypass\": \"None\",\r\n \"consistencyPolicy\": {\r\n \"defaultConsistencyLevel\": \"Session\",\r\n \"maxIntervalInSeconds\": 5,\r\n \"maxStalenessPrefix\": 100\r\n },\r\n \"configurationOverrides\": {},\r\n \"writeLocations\": [\r\n {\r\n \"id\": \"sanayakstagevctest-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://sanayakstagevctest-eastus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Updating\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n },\r\n {\r\n \"id\": \"sanayakstagevctest-southeastasia\",\r\n \"locationName\": \"Southeast Asia\",\r\n \"documentEndpoint\": \"https://sanayakstagevctest-southeastasia.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 2,\r\n \"isZoneRedundant\": false\r\n },\r\n {\r\n \"id\": \"sanayakstagevctest-westus2\",\r\n \"locationName\": \"West US 2\",\r\n \"documentEndpoint\": \"https://sanayakstagevctest-westus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 2,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"readLocations\": [\r\n {\r\n \"id\": \"sanayakstagevctest-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://sanayakstagevctest-eastus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Updating\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n },\r\n {\r\n \"id\": \"sanayakstagevctest-southeastasia\",\r\n \"locationName\": \"Southeast Asia\",\r\n \"documentEndpoint\": \"https://sanayakstagevctest-southeastasia.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 2,\r\n \"isZoneRedundant\": false\r\n },\r\n {\r\n \"id\": \"sanayakstagevctest-westus2\",\r\n \"locationName\": \"West US 2\",\r\n \"documentEndpoint\": \"https://sanayakstagevctest-westus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 2,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"locations\": [\r\n {\r\n \"id\": \"sanayakstagevctest-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://sanayakstagevctest-eastus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Updating\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n },\r\n {\r\n \"id\": \"sanayakstagevctest-southeastasia\",\r\n \"locationName\": \"Southeast Asia\",\r\n \"documentEndpoint\": \"https://sanayakstagevctest-southeastasia.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 2,\r\n \"isZoneRedundant\": false\r\n },\r\n {\r\n \"id\": \"sanayakstagevctest-westus2\",\r\n \"locationName\": \"West US 2\",\r\n \"documentEndpoint\": \"https://sanayakstagevctest-westus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 2,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"failoverPolicies\": [\r\n {\r\n \"id\": \"sanayakstagevctest-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"failoverPriority\": 0\r\n },\r\n {\r\n \"id\": \"sanayakstagevctest-southeastasia\",\r\n \"locationName\": \"Southeast Asia\",\r\n \"failoverPriority\": 2\r\n },\r\n {\r\n \"id\": \"sanayakstagevctest-westus2\",\r\n \"locationName\": \"West US 2\",\r\n \"failoverPriority\": 2\r\n }\r\n ],\r\n \"cors\": [],\r\n \"capabilities\": [],\r\n \"ipRules\": [],\r\n \"backupPolicy\": {\r\n \"type\": \"Periodic\",\r\n \"periodicModeProperties\": {\r\n \"backupIntervalInMinutes\": 240,\r\n \"backupRetentionIntervalInHours\": 8,\r\n \"backupStorageRedundancy\": \"Geo\"\r\n }\r\n },\r\n \"networkAclBypassResourceIds\": []\r\n },\r\n \"identity\": {\r\n \"type\": \"None\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/resourceGroups/kristynh/providers/Microsoft.DocumentDB/databaseAccounts/kristynh-new\",\r\n \"name\": \"kristynh-new\",\r\n \"location\": \"East US 2\",\r\n \"type\": \"Microsoft.DocumentDB/databaseAccounts\",\r\n \"kind\": \"GlobalDocumentDB\",\r\n \"tags\": {},\r\n \"systemData\": {\r\n \"createdAt\": \"2020-09-14T22:54:54.0050232Z\"\r\n },\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"documentEndpoint\": \"https://kristynh-new.documents-staging.windows-ppe.net:443/\",\r\n \"publicNetworkAccess\": \"Enabled\",\r\n \"enableAutomaticFailover\": false,\r\n \"enableMultipleWriteLocations\": false,\r\n \"enablePartitionKeyMonitor\": false,\r\n \"isVirtualNetworkFilterEnabled\": false,\r\n \"virtualNetworkRules\": [],\r\n \"EnabledApiTypes\": \"Sql\",\r\n \"disableKeyBasedMetadataWriteAccess\": false,\r\n \"enableFreeTier\": false,\r\n \"enableAnalyticalStorage\": false,\r\n \"analyticalStorageConfiguration\": null,\r\n \"instanceId\": \"215cee9b-df61-4e7b-8184-67c8fcf60aff\",\r\n \"createMode\": \"Default\",\r\n \"databaseAccountOfferType\": \"Standard\",\r\n \"enableCassandraConnector\": false,\r\n \"connectorOffer\": \"\",\r\n \"defaultIdentity\": \"\",\r\n \"networkAclBypass\": \"None\",\r\n \"consistencyPolicy\": {\r\n \"defaultConsistencyLevel\": \"Session\",\r\n \"maxIntervalInSeconds\": 5,\r\n \"maxStalenessPrefix\": 100\r\n },\r\n \"configurationOverrides\": {},\r\n \"writeLocations\": [\r\n {\r\n \"id\": \"kristynh-new-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://kristynh-new-eastus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"readLocations\": [\r\n {\r\n \"id\": \"kristynh-new-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://kristynh-new-eastus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"locations\": [\r\n {\r\n \"id\": \"kristynh-new-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://kristynh-new-eastus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"failoverPolicies\": [\r\n {\r\n \"id\": \"kristynh-new-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"failoverPriority\": 0\r\n }\r\n ],\r\n \"cors\": [],\r\n \"capabilities\": [],\r\n \"ipRules\": [],\r\n \"backupPolicy\": {\r\n \"type\": \"Periodic\",\r\n \"periodicModeProperties\": {\r\n \"backupIntervalInMinutes\": 240,\r\n \"backupRetentionIntervalInHours\": 8,\r\n \"backupStorageRedundancy\": \"Geo\"\r\n }\r\n },\r\n \"networkAclBypassResourceIds\": []\r\n },\r\n \"identity\": {\r\n \"type\": \"None\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/resourceGroups/shreystagetest/providers/Microsoft.DocumentDB/databaseAccounts/shreysqltest2\",\r\n \"name\": \"shreysqltest2\",\r\n \"location\": \"East US 2\",\r\n \"type\": \"Microsoft.DocumentDB/databaseAccounts\",\r\n \"kind\": \"GlobalDocumentDB\",\r\n \"tags\": {\r\n \"defaultExperience\": \"Core (SQL)\",\r\n \"hidden-cosmos-mmspecial\": \"\",\r\n \"CosmosAccountType\": \"Non-Production\"\r\n },\r\n \"systemData\": {\r\n \"createdAt\": \"2020-10-08T22:13:44.3089632Z\"\r\n },\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"documentEndpoint\": \"https://shreysqltest2.documents-staging.windows-ppe.net:443/\",\r\n \"publicNetworkAccess\": \"Enabled\",\r\n \"enableAutomaticFailover\": false,\r\n \"enableMultipleWriteLocations\": false,\r\n \"enablePartitionKeyMonitor\": false,\r\n \"isVirtualNetworkFilterEnabled\": false,\r\n \"virtualNetworkRules\": [],\r\n \"EnabledApiTypes\": \"Sql\",\r\n \"disableKeyBasedMetadataWriteAccess\": false,\r\n \"enableFreeTier\": false,\r\n \"enableAnalyticalStorage\": false,\r\n \"analyticalStorageConfiguration\": null,\r\n \"instanceId\": \"2a13e8e3-bf20-42f4-97bc-0ac482cc32b7\",\r\n \"createMode\": \"Default\",\r\n \"databaseAccountOfferType\": \"Standard\",\r\n \"enableCassandraConnector\": false,\r\n \"connectorOffer\": \"\",\r\n \"defaultIdentity\": \"\",\r\n \"networkAclBypass\": \"None\",\r\n \"consistencyPolicy\": {\r\n \"defaultConsistencyLevel\": \"Session\",\r\n \"maxIntervalInSeconds\": 5,\r\n \"maxStalenessPrefix\": 100\r\n },\r\n \"configurationOverrides\": {},\r\n \"writeLocations\": [\r\n {\r\n \"id\": \"shreysqltest2-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://shreysqltest2-eastus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"readLocations\": [\r\n {\r\n \"id\": \"shreysqltest2-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://shreysqltest2-eastus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"locations\": [\r\n {\r\n \"id\": \"shreysqltest2-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://shreysqltest2-eastus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"failoverPolicies\": [\r\n {\r\n \"id\": \"shreysqltest2-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"failoverPriority\": 0\r\n }\r\n ],\r\n \"cors\": [],\r\n \"capabilities\": [],\r\n \"ipRules\": [],\r\n \"backupPolicy\": {\r\n \"type\": \"Periodic\",\r\n \"periodicModeProperties\": {\r\n \"backupIntervalInMinutes\": 240,\r\n \"backupRetentionIntervalInHours\": 8,\r\n \"backupStorageRedundancy\": \"Geo\"\r\n }\r\n },\r\n \"networkAclBypassResourceIds\": []\r\n },\r\n \"identity\": {\r\n \"type\": \"None\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/resourceGroups/abpairg/providers/Microsoft.DocumentDB/databaseAccounts/abpaistgcoscass\",\r\n \"name\": \"abpaistgcoscass\",\r\n \"location\": \"East US 2\",\r\n \"type\": \"Microsoft.DocumentDB/databaseAccounts\",\r\n \"kind\": \"GlobalDocumentDB\",\r\n \"tags\": {\r\n \"defaultExperience\": \"Cassandra\",\r\n \"hidden-cosmos-mmspecial\": \"\",\r\n \"CosmosAccountType\": \"Non-Production\"\r\n },\r\n \"systemData\": {\r\n \"createdAt\": \"2020-08-07T11:14:57.6059262Z\"\r\n },\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"documentEndpoint\": \"https://abpaistgcoscass.documents-staging.windows-ppe.net:443/\",\r\n \"cassandraEndpoint\": \"https://abpaistgcoscass.cassandra.cosmos.windows-ppe.net:443/\",\r\n \"publicNetworkAccess\": \"Enabled\",\r\n \"enableAutomaticFailover\": false,\r\n \"enableMultipleWriteLocations\": false,\r\n \"enablePartitionKeyMonitor\": false,\r\n \"isVirtualNetworkFilterEnabled\": false,\r\n \"virtualNetworkRules\": [],\r\n \"EnabledApiTypes\": \"Cassandra\",\r\n \"disableKeyBasedMetadataWriteAccess\": false,\r\n \"enableFreeTier\": false,\r\n \"enableAnalyticalStorage\": false,\r\n \"analyticalStorageConfiguration\": null,\r\n \"instanceId\": \"90eeaa31-2f05-495b-8c6d-518394c2174b\",\r\n \"createMode\": \"Default\",\r\n \"databaseAccountOfferType\": \"Standard\",\r\n \"enableCassandraConnector\": false,\r\n \"connectorOffer\": \"\",\r\n \"defaultIdentity\": \"\",\r\n \"networkAclBypass\": \"None\",\r\n \"consistencyPolicy\": {\r\n \"defaultConsistencyLevel\": \"Eventual\",\r\n \"maxIntervalInSeconds\": 5,\r\n \"maxStalenessPrefix\": 100\r\n },\r\n \"configurationOverrides\": {},\r\n \"writeLocations\": [\r\n {\r\n \"id\": \"abpaistgcoscass-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://abpaistgcoscass-eastus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"readLocations\": [\r\n {\r\n \"id\": \"abpaistgcoscass-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://abpaistgcoscass-eastus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"locations\": [\r\n {\r\n \"id\": \"abpaistgcoscass-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://abpaistgcoscass-eastus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"failoverPolicies\": [\r\n {\r\n \"id\": \"abpaistgcoscass-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"failoverPriority\": 0\r\n }\r\n ],\r\n \"cors\": [],\r\n \"capabilities\": [\r\n {\r\n \"name\": \"EnableCassandra\"\r\n }\r\n ],\r\n \"ipRules\": [],\r\n \"backupPolicy\": {\r\n \"type\": \"Periodic\",\r\n \"periodicModeProperties\": {\r\n \"backupIntervalInMinutes\": 240,\r\n \"backupRetentionIntervalInHours\": 8,\r\n \"backupStorageRedundancy\": \"Geo\"\r\n }\r\n },\r\n \"networkAclBypassResourceIds\": []\r\n },\r\n \"identity\": {\r\n \"type\": \"None\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/resourceGroups/analytics/providers/Microsoft.DocumentDB/databaseAccounts/analyticsstore\",\r\n \"name\": \"analyticsstore\",\r\n \"location\": \"East US 2\",\r\n \"type\": \"Microsoft.DocumentDB/databaseAccounts\",\r\n \"kind\": \"GlobalDocumentDB\",\r\n \"tags\": {},\r\n \"systemData\": {\r\n \"createdAt\": \"2020-05-27T01:14:27.6039365Z\"\r\n },\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"documentEndpoint\": \"https://analyticsstore.documents-staging.windows-ppe.net:443/\",\r\n \"publicNetworkAccess\": \"Enabled\",\r\n \"enableAutomaticFailover\": false,\r\n \"enableMultipleWriteLocations\": false,\r\n \"enablePartitionKeyMonitor\": false,\r\n \"isVirtualNetworkFilterEnabled\": false,\r\n \"virtualNetworkRules\": [],\r\n \"EnabledApiTypes\": \"Sql\",\r\n \"disableKeyBasedMetadataWriteAccess\": false,\r\n \"enableFreeTier\": false,\r\n \"enableAnalyticalStorage\": false,\r\n \"analyticalStorageConfiguration\": null,\r\n \"instanceId\": \"18feb164-58ce-42a8-9c53-01aa42067e4c\",\r\n \"createMode\": \"Default\",\r\n \"databaseAccountOfferType\": \"Standard\",\r\n \"enableCassandraConnector\": false,\r\n \"connectorOffer\": \"\",\r\n \"defaultIdentity\": \"\",\r\n \"networkAclBypass\": \"None\",\r\n \"consistencyPolicy\": {\r\n \"defaultConsistencyLevel\": \"Session\",\r\n \"maxIntervalInSeconds\": 5,\r\n \"maxStalenessPrefix\": 100\r\n },\r\n \"configurationOverrides\": {},\r\n \"writeLocations\": [\r\n {\r\n \"id\": \"analyticsstore-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://analyticsstore-eastus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"readLocations\": [\r\n {\r\n \"id\": \"analyticsstore-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://analyticsstore-eastus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"locations\": [\r\n {\r\n \"id\": \"analyticsstore-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://analyticsstore-eastus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"failoverPolicies\": [\r\n {\r\n \"id\": \"analyticsstore-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"failoverPriority\": 0\r\n }\r\n ],\r\n \"cors\": [],\r\n \"capabilities\": [\r\n {\r\n \"name\": \"EnableStorageAnalytics\"\r\n }\r\n ],\r\n \"ipRules\": [],\r\n \"backupPolicy\": {\r\n \"type\": \"Periodic\",\r\n \"periodicModeProperties\": {\r\n \"backupIntervalInMinutes\": 60,\r\n \"backupRetentionIntervalInHours\": 8,\r\n \"backupStorageRedundancy\": \"Geo\"\r\n }\r\n },\r\n \"networkAclBypassResourceIds\": []\r\n },\r\n \"identity\": {\r\n \"type\": \"None\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/resourceGroups/analytics/providers/Microsoft.DocumentDB/databaseAccounts/anatest4\",\r\n \"name\": \"anatest4\",\r\n \"location\": \"East US 2\",\r\n \"type\": \"Microsoft.DocumentDB/databaseAccounts\",\r\n \"kind\": \"GlobalDocumentDB\",\r\n \"tags\": {},\r\n \"systemData\": {\r\n \"createdAt\": \"2019-09-13T00:08:25.2541895Z\"\r\n },\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"documentEndpoint\": \"https://anatest4.documents-staging.windows-ppe.net:443/\",\r\n \"publicNetworkAccess\": \"Enabled\",\r\n \"enableAutomaticFailover\": false,\r\n \"enableMultipleWriteLocations\": false,\r\n \"enablePartitionKeyMonitor\": false,\r\n \"isVirtualNetworkFilterEnabled\": false,\r\n \"virtualNetworkRules\": [],\r\n \"EnabledApiTypes\": \"Sql\",\r\n \"disableKeyBasedMetadataWriteAccess\": false,\r\n \"enableFreeTier\": false,\r\n \"enableAnalyticalStorage\": false,\r\n \"analyticalStorageConfiguration\": null,\r\n \"instanceId\": \"be77c569-4719-48e3-8e3f-21ebabf044da\",\r\n \"createMode\": \"Default\",\r\n \"databaseAccountOfferType\": \"Standard\",\r\n \"enableCassandraConnector\": false,\r\n \"connectorOffer\": \"\",\r\n \"defaultIdentity\": \"\",\r\n \"networkAclBypass\": \"None\",\r\n \"consistencyPolicy\": {\r\n \"defaultConsistencyLevel\": \"Session\",\r\n \"maxIntervalInSeconds\": 5,\r\n \"maxStalenessPrefix\": 100\r\n },\r\n \"configurationOverrides\": {},\r\n \"writeLocations\": [\r\n {\r\n \"id\": \"anatest4-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://anatest4-eastus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"readLocations\": [\r\n {\r\n \"id\": \"anatest4-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://anatest4-eastus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"locations\": [\r\n {\r\n \"id\": \"anatest4-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://anatest4-eastus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"failoverPolicies\": [\r\n {\r\n \"id\": \"anatest4-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"failoverPriority\": 0\r\n }\r\n ],\r\n \"cors\": [],\r\n \"capabilities\": [\r\n {\r\n \"name\": \"EnableStorageAnalytics\"\r\n }\r\n ],\r\n \"ipRules\": [],\r\n \"backupPolicy\": {\r\n \"type\": \"Periodic\",\r\n \"periodicModeProperties\": {\r\n \"backupIntervalInMinutes\": 240,\r\n \"backupRetentionIntervalInHours\": 8,\r\n \"backupStorageRedundancy\": \"Geo\"\r\n }\r\n },\r\n \"networkAclBypassResourceIds\": []\r\n },\r\n \"identity\": {\r\n \"type\": \"None\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/resourceGroups/ankis-rg99/providers/Microsoft.DocumentDB/databaseAccounts/ankis-cosmos00\",\r\n \"name\": \"ankis-cosmos00\",\r\n \"location\": \"East US 2\",\r\n \"type\": \"Microsoft.DocumentDB/databaseAccounts\",\r\n \"kind\": \"GlobalDocumentDB\",\r\n \"tags\": {\r\n \"defaultExperience\": \"Core (SQL)\",\r\n \"hidden-cosmos-mmspecial\": \"\"\r\n },\r\n \"systemData\": {\r\n \"createdAt\": \"2020-01-30T11:17:58.1562355Z\"\r\n },\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"documentEndpoint\": \"https://ankis-cosmos00.documents-staging.windows-ppe.net:443/\",\r\n \"publicNetworkAccess\": \"Enabled\",\r\n \"enableAutomaticFailover\": false,\r\n \"enableMultipleWriteLocations\": false,\r\n \"enablePartitionKeyMonitor\": false,\r\n \"isVirtualNetworkFilterEnabled\": false,\r\n \"virtualNetworkRules\": [],\r\n \"EnabledApiTypes\": \"Sql\",\r\n \"disableKeyBasedMetadataWriteAccess\": false,\r\n \"enableFreeTier\": false,\r\n \"enableAnalyticalStorage\": false,\r\n \"analyticalStorageConfiguration\": null,\r\n \"instanceId\": \"f6160a7e-446b-49af-8dde-40e9d1a31843\",\r\n \"createMode\": \"Default\",\r\n \"databaseAccountOfferType\": \"Standard\",\r\n \"enableCassandraConnector\": false,\r\n \"connectorOffer\": \"\",\r\n \"defaultIdentity\": \"\",\r\n \"networkAclBypass\": \"None\",\r\n \"consistencyPolicy\": {\r\n \"defaultConsistencyLevel\": \"Session\",\r\n \"maxIntervalInSeconds\": 5,\r\n \"maxStalenessPrefix\": 100\r\n },\r\n \"configurationOverrides\": {},\r\n \"writeLocations\": [\r\n {\r\n \"id\": \"ankis-cosmos00-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://ankis-cosmos00-eastus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"readLocations\": [\r\n {\r\n \"id\": \"ankis-cosmos00-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://ankis-cosmos00-eastus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"locations\": [\r\n {\r\n \"id\": \"ankis-cosmos00-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://ankis-cosmos00-eastus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"failoverPolicies\": [\r\n {\r\n \"id\": \"ankis-cosmos00-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"failoverPriority\": 0\r\n }\r\n ],\r\n \"cors\": [],\r\n \"capabilities\": [\r\n {\r\n \"name\": \"EnableStorageAnalytics\"\r\n }\r\n ],\r\n \"ipRules\": [],\r\n \"backupPolicy\": {\r\n \"type\": \"Periodic\",\r\n \"periodicModeProperties\": {\r\n \"backupIntervalInMinutes\": 60,\r\n \"backupRetentionIntervalInHours\": 8,\r\n \"backupStorageRedundancy\": \"Geo\"\r\n }\r\n },\r\n \"networkAclBypassResourceIds\": []\r\n },\r\n \"identity\": {\r\n \"type\": \"None\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/resourceGroups/ash/providers/Microsoft.DocumentDB/databaseAccounts/ash-df-mongo\",\r\n \"name\": \"ash-df-mongo\",\r\n \"location\": \"East US 2\",\r\n \"type\": \"Microsoft.DocumentDB/databaseAccounts\",\r\n \"kind\": \"MongoDB\",\r\n \"tags\": {\r\n \"defaultExperience\": \"Azure Cosmos DB for MongoDB API\"\r\n },\r\n \"systemData\": {\r\n \"createdAt\": \"2019-12-05T22:54:57.2195328Z\"\r\n },\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"documentEndpoint\": \"https://ash-df-mongo.documents-staging.windows-ppe.net:443/\",\r\n \"publicNetworkAccess\": \"Enabled\",\r\n \"enableAutomaticFailover\": false,\r\n \"enableMultipleWriteLocations\": false,\r\n \"enablePartitionKeyMonitor\": false,\r\n \"isVirtualNetworkFilterEnabled\": false,\r\n \"virtualNetworkRules\": [],\r\n \"EnabledApiTypes\": \"MongoDB\",\r\n \"disableKeyBasedMetadataWriteAccess\": false,\r\n \"enableFreeTier\": false,\r\n \"enableAnalyticalStorage\": false,\r\n \"analyticalStorageConfiguration\": null,\r\n \"instanceId\": \"312528e0-2767-43ef-9c10-bd6c5e3d6bf1\",\r\n \"createMode\": \"Default\",\r\n \"databaseAccountOfferType\": \"Standard\",\r\n \"enableCassandraConnector\": false,\r\n \"connectorOffer\": \"\",\r\n \"defaultIdentity\": \"\",\r\n \"networkAclBypass\": \"None\",\r\n \"consistencyPolicy\": {\r\n \"defaultConsistencyLevel\": \"Session\",\r\n \"maxIntervalInSeconds\": 5,\r\n \"maxStalenessPrefix\": 100\r\n },\r\n \"apiProperties\": {\r\n \"serverVersion\": \"3.2\"\r\n },\r\n \"configurationOverrides\": {\r\n \"EnableBsonSchema\": \"True\"\r\n },\r\n \"writeLocations\": [\r\n {\r\n \"id\": \"ash-df-mongo-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://ash-df-mongo-eastus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": true\r\n }\r\n ],\r\n \"readLocations\": [\r\n {\r\n \"id\": \"ash-df-mongo-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://ash-df-mongo-eastus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": true\r\n }\r\n ],\r\n \"locations\": [\r\n {\r\n \"id\": \"ash-df-mongo-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://ash-df-mongo-eastus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": true\r\n }\r\n ],\r\n \"failoverPolicies\": [\r\n {\r\n \"id\": \"ash-df-mongo-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"failoverPriority\": 0\r\n }\r\n ],\r\n \"cors\": [],\r\n \"capabilities\": [],\r\n \"ipRules\": [],\r\n \"backupPolicy\": {\r\n \"type\": \"Periodic\",\r\n \"periodicModeProperties\": {\r\n \"backupIntervalInMinutes\": 60,\r\n \"backupRetentionIntervalInHours\": 8,\r\n \"backupStorageRedundancy\": \"Geo\"\r\n }\r\n },\r\n \"networkAclBypassResourceIds\": []\r\n },\r\n \"identity\": {\r\n \"type\": \"None\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/resourceGroups/ash/providers/Microsoft.DocumentDB/databaseAccounts/ash-mongo-test\",\r\n \"name\": \"ash-mongo-test\",\r\n \"location\": \"East US 2\",\r\n \"type\": \"Microsoft.DocumentDB/databaseAccounts\",\r\n \"kind\": \"MongoDB\",\r\n \"tags\": {\r\n \"defaultExperience\": \"Azure Cosmos DB for MongoDB API\"\r\n },\r\n \"systemData\": {\r\n \"createdAt\": \"2019-09-25T22:00:41.5210646Z\"\r\n },\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"documentEndpoint\": \"https://ash-mongo-test.documents-staging.windows-ppe.net:443/\",\r\n \"mongoEndpoint\": \"https://ash-mongo-test.mongo.cosmos.windows-ppe.net:443/\",\r\n \"publicNetworkAccess\": \"Enabled\",\r\n \"enableAutomaticFailover\": false,\r\n \"enableMultipleWriteLocations\": false,\r\n \"enablePartitionKeyMonitor\": false,\r\n \"isVirtualNetworkFilterEnabled\": false,\r\n \"virtualNetworkRules\": [],\r\n \"EnabledApiTypes\": \"MongoDB\",\r\n \"disableKeyBasedMetadataWriteAccess\": false,\r\n \"enableFreeTier\": false,\r\n \"enableAnalyticalStorage\": false,\r\n \"analyticalStorageConfiguration\": null,\r\n \"instanceId\": \"51c5e7b6-9ba5-4f0d-93d8-f21c5d35feee\",\r\n \"createMode\": \"Default\",\r\n \"databaseAccountOfferType\": \"Standard\",\r\n \"enableCassandraConnector\": false,\r\n \"connectorOffer\": \"\",\r\n \"defaultIdentity\": \"\",\r\n \"networkAclBypass\": \"None\",\r\n \"consistencyPolicy\": {\r\n \"defaultConsistencyLevel\": \"BoundedStaleness\",\r\n \"maxIntervalInSeconds\": 5,\r\n \"maxStalenessPrefix\": 100\r\n },\r\n \"apiProperties\": {\r\n \"serverVersion\": \"3.6\"\r\n },\r\n \"configurationOverrides\": {\r\n \"EnableBsonSchema\": \"True\"\r\n },\r\n \"writeLocations\": [\r\n {\r\n \"id\": \"ash-mongo-test-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://ash-mongo-test-eastus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"readLocations\": [\r\n {\r\n \"id\": \"ash-mongo-test-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://ash-mongo-test-eastus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"locations\": [\r\n {\r\n \"id\": \"ash-mongo-test-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://ash-mongo-test-eastus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"failoverPolicies\": [\r\n {\r\n \"id\": \"ash-mongo-test-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"failoverPriority\": 0\r\n }\r\n ],\r\n \"cors\": [],\r\n \"capabilities\": [\r\n {\r\n \"name\": \"EnableMongo\"\r\n }\r\n ],\r\n \"ipRules\": [],\r\n \"backupPolicy\": {\r\n \"type\": \"Periodic\",\r\n \"periodicModeProperties\": {\r\n \"backupIntervalInMinutes\": 60,\r\n \"backupRetentionIntervalInHours\": 8,\r\n \"backupStorageRedundancy\": \"Geo\"\r\n }\r\n },\r\n \"networkAclBypassResourceIds\": []\r\n },\r\n \"identity\": {\r\n \"type\": \"None\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/resourceGroups/ash/providers/Microsoft.DocumentDB/databaseAccounts/ash-sql-nb\",\r\n \"name\": \"ash-sql-nb\",\r\n \"location\": \"East US 2\",\r\n \"type\": \"Microsoft.DocumentDB/databaseAccounts\",\r\n \"kind\": \"GlobalDocumentDB\",\r\n \"tags\": {\r\n \"defaultExperience\": \"Core (SQL)\"\r\n },\r\n \"systemData\": {\r\n \"createdAt\": \"2019-09-25T19:33:41.9917354Z\"\r\n },\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"documentEndpoint\": \"https://ash-sql-nb.documents-staging.windows-ppe.net:443/\",\r\n \"publicNetworkAccess\": \"Enabled\",\r\n \"enableAutomaticFailover\": false,\r\n \"enableMultipleWriteLocations\": false,\r\n \"enablePartitionKeyMonitor\": false,\r\n \"isVirtualNetworkFilterEnabled\": false,\r\n \"virtualNetworkRules\": [],\r\n \"EnabledApiTypes\": \"Sql\",\r\n \"disableKeyBasedMetadataWriteAccess\": false,\r\n \"enableFreeTier\": false,\r\n \"enableAnalyticalStorage\": false,\r\n \"analyticalStorageConfiguration\": null,\r\n \"instanceId\": \"71fcf06e-0d80-446c-9f59-7d6ab937343a\",\r\n \"createMode\": \"Default\",\r\n \"databaseAccountOfferType\": \"Standard\",\r\n \"enableCassandraConnector\": false,\r\n \"connectorOffer\": \"\",\r\n \"defaultIdentity\": \"\",\r\n \"networkAclBypass\": \"None\",\r\n \"consistencyPolicy\": {\r\n \"defaultConsistencyLevel\": \"Session\",\r\n \"maxIntervalInSeconds\": 5,\r\n \"maxStalenessPrefix\": 100\r\n },\r\n \"configurationOverrides\": {},\r\n \"writeLocations\": [\r\n {\r\n \"id\": \"ash-sql-nb-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://ash-sql-nb-eastus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"readLocations\": [\r\n {\r\n \"id\": \"ash-sql-nb-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://ash-sql-nb-eastus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"locations\": [\r\n {\r\n \"id\": \"ash-sql-nb-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://ash-sql-nb-eastus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"failoverPolicies\": [\r\n {\r\n \"id\": \"ash-sql-nb-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"failoverPriority\": 0\r\n }\r\n ],\r\n \"cors\": [\r\n {\r\n \"allowedOrigins\": \"*\"\r\n }\r\n ],\r\n \"capabilities\": [\r\n {\r\n \"name\": \"EnableNotebooks\"\r\n }\r\n ],\r\n \"ipRules\": [],\r\n \"backupPolicy\": {\r\n \"type\": \"Periodic\",\r\n \"periodicModeProperties\": {\r\n \"backupIntervalInMinutes\": 60,\r\n \"backupRetentionIntervalInHours\": 8,\r\n \"backupStorageRedundancy\": \"Geo\"\r\n }\r\n },\r\n \"networkAclBypassResourceIds\": []\r\n },\r\n \"identity\": {\r\n \"type\": \"None\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/resourceGroups/balaperu-test-rg/providers/Microsoft.DocumentDB/databaseAccounts/balaperu-stagetestdb\",\r\n \"name\": \"balaperu-stagetestdb\",\r\n \"location\": \"East US 2\",\r\n \"type\": \"Microsoft.DocumentDB/databaseAccounts\",\r\n \"kind\": \"GlobalDocumentDB\",\r\n \"tags\": {\r\n \"defaultExperience\": \"Core (SQL)\",\r\n \"hidden-cosmos-mmspecial\": \"\",\r\n \"CosmosAccountType\": \"Non-Production\"\r\n },\r\n \"systemData\": {\r\n \"createdAt\": \"2020-06-08T23:59:38.4676546Z\"\r\n },\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"documentEndpoint\": \"https://balaperu-stagetestdb.documents-staging.windows-ppe.net:443/\",\r\n \"publicNetworkAccess\": \"Enabled\",\r\n \"enableAutomaticFailover\": false,\r\n \"enableMultipleWriteLocations\": false,\r\n \"enablePartitionKeyMonitor\": false,\r\n \"isVirtualNetworkFilterEnabled\": false,\r\n \"virtualNetworkRules\": [],\r\n \"EnabledApiTypes\": \"Sql\",\r\n \"disableKeyBasedMetadataWriteAccess\": false,\r\n \"enableFreeTier\": false,\r\n \"enableAnalyticalStorage\": false,\r\n \"analyticalStorageConfiguration\": null,\r\n \"instanceId\": \"679dfd1c-daf5-4648-bcd2-a4f602e8fbbe\",\r\n \"createMode\": \"Default\",\r\n \"databaseAccountOfferType\": \"Standard\",\r\n \"enableCassandraConnector\": false,\r\n \"connectorOffer\": \"\",\r\n \"defaultIdentity\": \"\",\r\n \"networkAclBypass\": \"None\",\r\n \"consistencyPolicy\": {\r\n \"defaultConsistencyLevel\": \"Session\",\r\n \"maxIntervalInSeconds\": 5,\r\n \"maxStalenessPrefix\": 100\r\n },\r\n \"configurationOverrides\": {},\r\n \"writeLocations\": [\r\n {\r\n \"id\": \"balaperu-stagetestdb-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://balaperu-stagetestdb-eastus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"readLocations\": [\r\n {\r\n \"id\": \"balaperu-stagetestdb-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://balaperu-stagetestdb-eastus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"locations\": [\r\n {\r\n \"id\": \"balaperu-stagetestdb-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://balaperu-stagetestdb-eastus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"failoverPolicies\": [\r\n {\r\n \"id\": \"balaperu-stagetestdb-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"failoverPriority\": 0\r\n }\r\n ],\r\n \"cors\": [],\r\n \"capabilities\": [],\r\n \"ipRules\": [],\r\n \"backupPolicy\": {\r\n \"type\": \"Periodic\",\r\n \"periodicModeProperties\": {\r\n \"backupIntervalInMinutes\": 60,\r\n \"backupRetentionIntervalInHours\": 8,\r\n \"backupStorageRedundancy\": \"Geo\"\r\n }\r\n },\r\n \"networkAclBypassResourceIds\": []\r\n },\r\n \"identity\": {\r\n \"type\": \"None\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/resourceGroups/bulkimporttest/providers/Microsoft.DocumentDB/databaseAccounts/bulkimporttest\",\r\n \"name\": \"bulkimporttest\",\r\n \"location\": \"East US 2\",\r\n \"type\": \"Microsoft.DocumentDB/databaseAccounts\",\r\n \"kind\": \"GlobalDocumentDB\",\r\n \"tags\": {\r\n \"defaultExperience\": \"DocumentDB\"\r\n },\r\n \"systemData\": {\r\n \"createdAt\": \"2018-08-09T23:32:21.7712589Z\"\r\n },\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"documentEndpoint\": \"https://bulkimporttest.documents-staging.windows-ppe.net:443/\",\r\n \"publicNetworkAccess\": \"Enabled\",\r\n \"enableAutomaticFailover\": false,\r\n \"enableMultipleWriteLocations\": false,\r\n \"enablePartitionKeyMonitor\": false,\r\n \"isVirtualNetworkFilterEnabled\": false,\r\n \"virtualNetworkRules\": [],\r\n \"EnabledApiTypes\": \"Sql\",\r\n \"disableKeyBasedMetadataWriteAccess\": false,\r\n \"enableFreeTier\": false,\r\n \"enableAnalyticalStorage\": false,\r\n \"analyticalStorageConfiguration\": null,\r\n \"instanceId\": \"d4c1baad-2076-4941-906a-93b217dcfb18\",\r\n \"createMode\": \"Default\",\r\n \"databaseAccountOfferType\": \"Standard\",\r\n \"defaultIdentity\": \"\",\r\n \"networkAclBypass\": \"None\",\r\n \"consistencyPolicy\": {\r\n \"defaultConsistencyLevel\": \"Session\",\r\n \"maxIntervalInSeconds\": 5,\r\n \"maxStalenessPrefix\": 100\r\n },\r\n \"configurationOverrides\": {},\r\n \"writeLocations\": [\r\n {\r\n \"id\": \"bulkimporttest-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://bulkimporttest-eastus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"readLocations\": [\r\n {\r\n \"id\": \"bulkimporttest-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://bulkimporttest-eastus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"locations\": [\r\n {\r\n \"id\": \"bulkimporttest-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://bulkimporttest-eastus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"failoverPolicies\": [\r\n {\r\n \"id\": \"bulkimporttest-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"failoverPriority\": 0\r\n }\r\n ],\r\n \"cors\": [],\r\n \"capabilities\": [],\r\n \"ipRules\": [],\r\n \"backupPolicy\": {\r\n \"type\": \"Periodic\",\r\n \"periodicModeProperties\": {\r\n \"backupIntervalInMinutes\": 240,\r\n \"backupRetentionIntervalInHours\": 8,\r\n \"backupStorageRedundancy\": \"Geo\"\r\n }\r\n },\r\n \"networkAclBypassResourceIds\": []\r\n },\r\n \"identity\": {\r\n \"type\": \"None\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/resourceGroups/CAAccountTest1/providers/Microsoft.DocumentDB/databaseAccounts/caaccounttest1\",\r\n \"name\": \"caaccounttest1\",\r\n \"location\": \"East US 2\",\r\n \"type\": \"Microsoft.DocumentDB/databaseAccounts\",\r\n \"kind\": \"GlobalDocumentDB\",\r\n \"tags\": {\r\n \"defaultExperience\": \"Cassandra\"\r\n },\r\n \"systemData\": {\r\n \"createdAt\": \"2018-08-22T00:38:20.9330792Z\"\r\n },\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"documentEndpoint\": \"https://caaccounttest1.documents-staging.windows-ppe.net:443/\",\r\n \"cassandraEndpoint\": \"https://caaccounttest1.cassandra.cosmosdb.windows-ppe.net:443/\",\r\n \"publicNetworkAccess\": \"Enabled\",\r\n \"enableAutomaticFailover\": false,\r\n \"enableMultipleWriteLocations\": false,\r\n \"enablePartitionKeyMonitor\": false,\r\n \"isVirtualNetworkFilterEnabled\": false,\r\n \"virtualNetworkRules\": [],\r\n \"EnabledApiTypes\": \"Cassandra\",\r\n \"disableKeyBasedMetadataWriteAccess\": false,\r\n \"enableFreeTier\": false,\r\n \"enableAnalyticalStorage\": false,\r\n \"analyticalStorageConfiguration\": null,\r\n \"instanceId\": \"714a53fb-b068-436a-97b1-2a3bfe8f2885\",\r\n \"createMode\": \"Default\",\r\n \"databaseAccountOfferType\": \"Standard\",\r\n \"defaultIdentity\": \"\",\r\n \"networkAclBypass\": \"None\",\r\n \"consistencyPolicy\": {\r\n \"defaultConsistencyLevel\": \"Session\",\r\n \"maxIntervalInSeconds\": 5,\r\n \"maxStalenessPrefix\": 100\r\n },\r\n \"configurationOverrides\": {},\r\n \"writeLocations\": [\r\n {\r\n \"id\": \"caaccounttest1-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://caaccounttest1-eastus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"readLocations\": [\r\n {\r\n \"id\": \"caaccounttest1-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://caaccounttest1-eastus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"locations\": [\r\n {\r\n \"id\": \"caaccounttest1-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://caaccounttest1-eastus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"failoverPolicies\": [\r\n {\r\n \"id\": \"caaccounttest1-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"failoverPriority\": 0\r\n }\r\n ],\r\n \"cors\": [],\r\n \"capabilities\": [\r\n {\r\n \"name\": \"EnableCassandra\"\r\n }\r\n ],\r\n \"ipRules\": [],\r\n \"backupPolicy\": {\r\n \"type\": \"Periodic\",\r\n \"periodicModeProperties\": {\r\n \"backupIntervalInMinutes\": 240,\r\n \"backupRetentionIntervalInHours\": 8,\r\n \"backupStorageRedundancy\": \"Geo\"\r\n }\r\n },\r\n \"networkAclBypassResourceIds\": []\r\n },\r\n \"identity\": {\r\n \"type\": \"None\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/resourceGroups/CANARY/providers/Microsoft.DocumentDB/databaseAccounts/canary-stageeastus2fd3\",\r\n \"name\": \"canary-stageeastus2fd3\",\r\n \"location\": \"East US 2\",\r\n \"type\": \"Microsoft.DocumentDB/databaseAccounts\",\r\n \"kind\": \"DocumentDB\",\r\n \"tags\": {},\r\n \"systemData\": {\r\n \"createdAt\": \"2020-06-03T19:05:39.0078796Z\"\r\n },\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"documentEndpoint\": \"https://canary-stageeastus2fd3.documents-staging.windows-ppe.net:443/\",\r\n \"publicNetworkAccess\": \"Enabled\",\r\n \"enableAutomaticFailover\": false,\r\n \"enableMultipleWriteLocations\": false,\r\n \"enablePartitionKeyMonitor\": false,\r\n \"isVirtualNetworkFilterEnabled\": false,\r\n \"virtualNetworkRules\": [],\r\n \"EnabledApiTypes\": \"Sql\",\r\n \"disableKeyBasedMetadataWriteAccess\": false,\r\n \"enableFreeTier\": false,\r\n \"enableAnalyticalStorage\": false,\r\n \"analyticalStorageConfiguration\": null,\r\n \"instanceId\": \"fcb35d47-a58d-43bd-93c2-c3333a7958a9\",\r\n \"createMode\": \"Default\",\r\n \"databaseAccountOfferType\": \"Standard\",\r\n \"defaultIdentity\": \"\",\r\n \"networkAclBypass\": \"None\",\r\n \"consistencyPolicy\": {\r\n \"defaultConsistencyLevel\": \"Session\",\r\n \"maxIntervalInSeconds\": 5,\r\n \"maxStalenessPrefix\": 100\r\n },\r\n \"configurationOverrides\": {},\r\n \"writeLocations\": [\r\n {\r\n \"id\": \"canary-stageeastus2fd3-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://canary-stageeastus2fd3-eastus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": true\r\n }\r\n ],\r\n \"readLocations\": [\r\n {\r\n \"id\": \"canary-stageeastus2fd3-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://canary-stageeastus2fd3-eastus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": true\r\n }\r\n ],\r\n \"locations\": [\r\n {\r\n \"id\": \"canary-stageeastus2fd3-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://canary-stageeastus2fd3-eastus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": true\r\n }\r\n ],\r\n \"failoverPolicies\": [\r\n {\r\n \"id\": \"canary-stageeastus2fd3-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"failoverPriority\": 0\r\n }\r\n ],\r\n \"cors\": [],\r\n \"capabilities\": [],\r\n \"ipRules\": [],\r\n \"backupPolicy\": {\r\n \"type\": \"Periodic\",\r\n \"periodicModeProperties\": {\r\n \"backupIntervalInMinutes\": 240,\r\n \"backupRetentionIntervalInHours\": 8,\r\n \"backupStorageRedundancy\": \"Geo\"\r\n }\r\n },\r\n \"networkAclBypassResourceIds\": []\r\n },\r\n \"identity\": {\r\n \"type\": \"None\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/resourceGroups/CANARY/providers/Microsoft.DocumentDB/databaseAccounts/canary-stageeastus2fd6\",\r\n \"name\": \"canary-stageeastus2fd6\",\r\n \"location\": \"East US 2\",\r\n \"type\": \"Microsoft.DocumentDB/databaseAccounts\",\r\n \"kind\": \"DocumentDB\",\r\n \"tags\": {},\r\n \"systemData\": {\r\n \"createdAt\": \"2020-10-08T21:10:29.7430665Z\"\r\n },\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"documentEndpoint\": \"https://canary-stageeastus2fd6.documents-staging.windows-ppe.net:443/\",\r\n \"publicNetworkAccess\": \"Enabled\",\r\n \"enableAutomaticFailover\": false,\r\n \"enableMultipleWriteLocations\": false,\r\n \"enablePartitionKeyMonitor\": false,\r\n \"isVirtualNetworkFilterEnabled\": false,\r\n \"virtualNetworkRules\": [],\r\n \"EnabledApiTypes\": \"Sql\",\r\n \"disableKeyBasedMetadataWriteAccess\": false,\r\n \"enableFreeTier\": false,\r\n \"enableAnalyticalStorage\": false,\r\n \"analyticalStorageConfiguration\": null,\r\n \"instanceId\": \"39f54380-c5f4-4b82-9ca8-7c6800efc09f\",\r\n \"createMode\": \"Default\",\r\n \"databaseAccountOfferType\": \"Standard\",\r\n \"defaultIdentity\": \"\",\r\n \"networkAclBypass\": \"None\",\r\n \"consistencyPolicy\": {\r\n \"defaultConsistencyLevel\": \"Session\",\r\n \"maxIntervalInSeconds\": 5,\r\n \"maxStalenessPrefix\": 100\r\n },\r\n \"configurationOverrides\": {},\r\n \"writeLocations\": [\r\n {\r\n \"id\": \"canary-stageeastus2fd6-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://canary-stageeastus2fd6-eastus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"readLocations\": [\r\n {\r\n \"id\": \"canary-stageeastus2fd6-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://canary-stageeastus2fd6-eastus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"locations\": [\r\n {\r\n \"id\": \"canary-stageeastus2fd6-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://canary-stageeastus2fd6-eastus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"failoverPolicies\": [\r\n {\r\n \"id\": \"canary-stageeastus2fd6-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"failoverPriority\": 0\r\n }\r\n ],\r\n \"cors\": [],\r\n \"capabilities\": [],\r\n \"ipRules\": [],\r\n \"backupPolicy\": {\r\n \"type\": \"Periodic\",\r\n \"periodicModeProperties\": {\r\n \"backupIntervalInMinutes\": 240,\r\n \"backupRetentionIntervalInHours\": 8,\r\n \"backupStorageRedundancy\": \"Geo\"\r\n }\r\n },\r\n \"networkAclBypassResourceIds\": []\r\n },\r\n \"identity\": {\r\n \"type\": \"None\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/resourceGroups/abpairg/providers/Microsoft.DocumentDB/databaseAccounts/abpaistgcosmongo36\",\r\n \"name\": \"abpaistgcosmongo36\",\r\n \"location\": \"East US 2\",\r\n \"type\": \"Microsoft.DocumentDB/databaseAccounts\",\r\n \"kind\": \"MongoDB\",\r\n \"tags\": {\r\n \"defaultExperience\": \"Azure Cosmos DB for MongoDB API\"\r\n },\r\n \"systemData\": {\r\n \"createdAt\": \"2019-12-12T07:49:25.4610465Z\"\r\n },\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"documentEndpoint\": \"https://abpaistgcosmongo36.documents-staging.windows-ppe.net:443/\",\r\n \"mongoEndpoint\": \"https://abpaistgcosmongo36.mongo.cosmos.windows-ppe.net:443/\",\r\n \"publicNetworkAccess\": \"Enabled\",\r\n \"enableAutomaticFailover\": false,\r\n \"enableMultipleWriteLocations\": false,\r\n \"enablePartitionKeyMonitor\": false,\r\n \"isVirtualNetworkFilterEnabled\": false,\r\n \"virtualNetworkRules\": [],\r\n \"EnabledApiTypes\": \"MongoDB\",\r\n \"disableKeyBasedMetadataWriteAccess\": false,\r\n \"enableFreeTier\": false,\r\n \"enableAnalyticalStorage\": false,\r\n \"analyticalStorageConfiguration\": null,\r\n \"instanceId\": \"f4ed2202-404d-4f6a-aaa3-bdb22dbe48cd\",\r\n \"createMode\": \"Default\",\r\n \"databaseAccountOfferType\": \"Standard\",\r\n \"enableCassandraConnector\": false,\r\n \"connectorOffer\": \"\",\r\n \"defaultIdentity\": \"\",\r\n \"networkAclBypass\": \"None\",\r\n \"consistencyPolicy\": {\r\n \"defaultConsistencyLevel\": \"Session\",\r\n \"maxIntervalInSeconds\": 5,\r\n \"maxStalenessPrefix\": 100\r\n },\r\n \"apiProperties\": {\r\n \"serverVersion\": \"3.6\"\r\n },\r\n \"configurationOverrides\": {\r\n \"EnableBsonSchema\": \"True\"\r\n },\r\n \"writeLocations\": [\r\n {\r\n \"id\": \"abpaistgcosmongo36-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://abpaistgcosmongo36-eastus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"readLocations\": [\r\n {\r\n \"id\": \"abpaistgcosmongo36-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://abpaistgcosmongo36-eastus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"locations\": [\r\n {\r\n \"id\": \"abpaistgcosmongo36-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://abpaistgcosmongo36-eastus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"failoverPolicies\": [\r\n {\r\n \"id\": \"abpaistgcosmongo36-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"failoverPriority\": 0\r\n }\r\n ],\r\n \"cors\": [],\r\n \"capabilities\": [\r\n {\r\n \"name\": \"EnableMongo\"\r\n }\r\n ],\r\n \"ipRules\": [],\r\n \"backupPolicy\": {\r\n \"type\": \"Periodic\",\r\n \"periodicModeProperties\": {\r\n \"backupIntervalInMinutes\": 60,\r\n \"backupRetentionIntervalInHours\": 8,\r\n \"backupStorageRedundancy\": \"Geo\"\r\n }\r\n },\r\n \"networkAclBypassResourceIds\": []\r\n },\r\n \"identity\": {\r\n \"type\": \"None\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/resourceGroups/abpairg/providers/Microsoft.DocumentDB/databaseAccounts/abpaistgcossql2\",\r\n \"name\": \"abpaistgcossql2\",\r\n \"location\": \"East US 2\",\r\n \"type\": \"Microsoft.DocumentDB/databaseAccounts\",\r\n \"kind\": \"GlobalDocumentDB\",\r\n \"tags\": {\r\n \"defaultExperience\": \"Core (SQL)\",\r\n \"owner\": \"abpai\",\r\n \"hidden-cosmos-mmspecial\": \"\",\r\n \"CosmosAccountType\": \"Non-Production\"\r\n },\r\n \"systemData\": {\r\n \"createdAt\": \"2020-03-10T11:23:20.9773079Z\"\r\n },\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"documentEndpoint\": \"https://abpaistgcossql2.documents-staging.windows-ppe.net:443/\",\r\n \"publicNetworkAccess\": \"Enabled\",\r\n \"enableAutomaticFailover\": false,\r\n \"enableMultipleWriteLocations\": true,\r\n \"enablePartitionKeyMonitor\": false,\r\n \"isVirtualNetworkFilterEnabled\": false,\r\n \"virtualNetworkRules\": [],\r\n \"EnabledApiTypes\": \"Sql\",\r\n \"disableKeyBasedMetadataWriteAccess\": false,\r\n \"enableFreeTier\": false,\r\n \"enableAnalyticalStorage\": false,\r\n \"analyticalStorageConfiguration\": null,\r\n \"instanceId\": \"e2765230-16cf-41a6-be18-41b6d1938c25\",\r\n \"createMode\": \"Default\",\r\n \"databaseAccountOfferType\": \"Standard\",\r\n \"enableCassandraConnector\": false,\r\n \"connectorOffer\": \"\",\r\n \"defaultIdentity\": \"\",\r\n \"networkAclBypass\": \"None\",\r\n \"consistencyPolicy\": {\r\n \"defaultConsistencyLevel\": \"Session\",\r\n \"maxIntervalInSeconds\": 5,\r\n \"maxStalenessPrefix\": 100\r\n },\r\n \"configurationOverrides\": {},\r\n \"writeLocations\": [\r\n {\r\n \"id\": \"abpaistgcossql2-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://abpaistgcossql2-eastus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"readLocations\": [\r\n {\r\n \"id\": \"abpaistgcossql2-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://abpaistgcossql2-eastus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"locations\": [\r\n {\r\n \"id\": \"abpaistgcossql2-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://abpaistgcossql2-eastus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"failoverPolicies\": [\r\n {\r\n \"id\": \"abpaistgcossql2-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"failoverPriority\": 0\r\n }\r\n ],\r\n \"cors\": [],\r\n \"capabilities\": [\r\n {\r\n \"name\": \"EnableStorageAnalytics\"\r\n }\r\n ],\r\n \"ipRules\": [],\r\n \"backupPolicy\": {\r\n \"type\": \"Periodic\",\r\n \"periodicModeProperties\": {\r\n \"backupIntervalInMinutes\": 60,\r\n \"backupRetentionIntervalInHours\": 8,\r\n \"backupStorageRedundancy\": \"Geo\"\r\n }\r\n },\r\n \"networkAclBypassResourceIds\": []\r\n },\r\n \"identity\": {\r\n \"type\": \"None\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/resourceGroups/CosmosDBResourceGroup8570/providers/Microsoft.DocumentDB/databaseAccounts/accountname9822\",\r\n \"name\": \"accountname9822\",\r\n \"location\": \"East US 2\",\r\n \"type\": \"Microsoft.DocumentDB/databaseAccounts\",\r\n \"kind\": \"MongoDB\",\r\n \"tags\": {\r\n \"key1\": \"value1\",\r\n \"key2\": \"value2\"\r\n },\r\n \"systemData\": {\r\n \"createdAt\": \"2020-09-22T21:15:32.149858Z\"\r\n },\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"documentEndpoint\": \"https://accountname9822.documents-staging.windows-ppe.net:443/\",\r\n \"publicNetworkAccess\": \"Enabled\",\r\n \"enableAutomaticFailover\": false,\r\n \"enableMultipleWriteLocations\": true,\r\n \"enablePartitionKeyMonitor\": false,\r\n \"isVirtualNetworkFilterEnabled\": true,\r\n \"virtualNetworkRules\": [],\r\n \"EnabledApiTypes\": \"MongoDB\",\r\n \"disableKeyBasedMetadataWriteAccess\": false,\r\n \"enableFreeTier\": false,\r\n \"enableAnalyticalStorage\": false,\r\n \"analyticalStorageConfiguration\": null,\r\n \"instanceId\": \"0afc5a37-cafa-4470-b2ec-9584503c935b\",\r\n \"createMode\": \"Default\",\r\n \"databaseAccountOfferType\": \"Standard\",\r\n \"enableCassandraConnector\": true,\r\n \"connectorOffer\": \"Small\",\r\n \"defaultIdentity\": \"\",\r\n \"networkAclBypass\": \"None\",\r\n \"consistencyPolicy\": {\r\n \"defaultConsistencyLevel\": \"BoundedStaleness\",\r\n \"maxIntervalInSeconds\": 1000,\r\n \"maxStalenessPrefix\": 300\r\n },\r\n \"apiProperties\": {\r\n \"serverVersion\": \"3.2\"\r\n },\r\n \"configurationOverrides\": {\r\n \"EnableBsonSchema\": \"True\"\r\n },\r\n \"writeLocations\": [\r\n {\r\n \"id\": \"accountname9822-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://accountname9822-eastus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"readLocations\": [\r\n {\r\n \"id\": \"accountname9822-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://accountname9822-eastus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"locations\": [\r\n {\r\n \"id\": \"accountname9822-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://accountname9822-eastus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"failoverPolicies\": [\r\n {\r\n \"id\": \"accountname9822-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"failoverPriority\": 0\r\n }\r\n ],\r\n \"cors\": [],\r\n \"capabilities\": [],\r\n \"ipRules\": [\r\n {\r\n \"ipAddressOrRange\": \"23.43.230.120\"\r\n }\r\n ],\r\n \"backupPolicy\": {\r\n \"type\": \"Periodic\",\r\n \"periodicModeProperties\": {\r\n \"backupIntervalInMinutes\": 240,\r\n \"backupRetentionIntervalInHours\": 8,\r\n \"backupStorageRedundancy\": \"Geo\"\r\n }\r\n },\r\n \"networkAclBypassResourceIds\": []\r\n },\r\n \"identity\": {\r\n \"type\": \"None\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/resourceGroups/maquaran/providers/Microsoft.DocumentDB/databaseAccounts/capabilities-maquaran\",\r\n \"name\": \"capabilities-maquaran\",\r\n \"location\": \"East US 2\",\r\n \"type\": \"Microsoft.DocumentDB/databaseAccounts\",\r\n \"kind\": \"MongoDB\",\r\n \"tags\": {\r\n \"defaultExperience\": \"MongoDB\"\r\n },\r\n \"systemData\": {\r\n \"createdAt\": \"2018-06-07T18:59:31.2064926Z\"\r\n },\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"documentEndpoint\": \"https://capabilities-maquaran.documents-staging.windows-ppe.net:443/\",\r\n \"publicNetworkAccess\": \"Enabled\",\r\n \"enableAutomaticFailover\": false,\r\n \"enableMultipleWriteLocations\": false,\r\n \"enablePartitionKeyMonitor\": false,\r\n \"isVirtualNetworkFilterEnabled\": false,\r\n \"virtualNetworkRules\": [],\r\n \"EnabledApiTypes\": \"MongoDB\",\r\n \"disableKeyBasedMetadataWriteAccess\": false,\r\n \"enableFreeTier\": false,\r\n \"enableAnalyticalStorage\": false,\r\n \"analyticalStorageConfiguration\": null,\r\n \"instanceId\": \"f3b3b514-459d-43b3-88ad-5ac50578cde4\",\r\n \"createMode\": \"Default\",\r\n \"databaseAccountOfferType\": \"Standard\",\r\n \"defaultIdentity\": \"\",\r\n \"networkAclBypass\": \"None\",\r\n \"consistencyPolicy\": {\r\n \"defaultConsistencyLevel\": \"Session\",\r\n \"maxIntervalInSeconds\": 5,\r\n \"maxStalenessPrefix\": 100\r\n },\r\n \"apiProperties\": {\r\n \"serverVersion\": \"3.2\"\r\n },\r\n \"configurationOverrides\": {\r\n \"EnableBsonSchema\": \"True\"\r\n },\r\n \"writeLocations\": [\r\n {\r\n \"id\": \"capabilities-maquaran-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://capabilities-maquaran-eastus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"readLocations\": [\r\n {\r\n \"id\": \"capabilities-maquaran-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://capabilities-maquaran-eastus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"locations\": [\r\n {\r\n \"id\": \"capabilities-maquaran-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://capabilities-maquaran-eastus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"failoverPolicies\": [\r\n {\r\n \"id\": \"capabilities-maquaran-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"failoverPriority\": 0\r\n }\r\n ],\r\n \"cors\": [],\r\n \"capabilities\": [\r\n {\r\n \"name\": \"mongoEnableDocLevelTTL\"\r\n }\r\n ],\r\n \"ipRules\": [],\r\n \"backupPolicy\": {\r\n \"type\": \"Periodic\",\r\n \"periodicModeProperties\": {\r\n \"backupIntervalInMinutes\": 240,\r\n \"backupRetentionIntervalInHours\": 8,\r\n \"backupStorageRedundancy\": \"Geo\"\r\n }\r\n },\r\n \"networkAclBypassResourceIds\": []\r\n },\r\n \"identity\": {\r\n \"type\": \"None\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/resourceGroups/mekaushi/providers/Microsoft.DocumentDB/databaseAccounts/cassandra-yid5img5ochq6\",\r\n \"name\": \"cassandra-yid5img5ochq6\",\r\n \"location\": \"East US 2\",\r\n \"type\": \"Microsoft.DocumentDB/databaseAccounts\",\r\n \"kind\": \"GlobalDocumentDB\",\r\n \"tags\": {},\r\n \"systemData\": {\r\n \"createdAt\": \"2020-05-16T01:08:51.3309248Z\"\r\n },\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"documentEndpoint\": \"https://cassandra-yid5img5ochq6.documents-staging.windows-ppe.net:443/\",\r\n \"cassandraEndpoint\": \"https://cassandra-yid5img5ochq6.cassandra.cosmos.windows-ppe.net:443/\",\r\n \"publicNetworkAccess\": \"Enabled\",\r\n \"enableAutomaticFailover\": true,\r\n \"enableMultipleWriteLocations\": false,\r\n \"enablePartitionKeyMonitor\": false,\r\n \"isVirtualNetworkFilterEnabled\": false,\r\n \"virtualNetworkRules\": [],\r\n \"EnabledApiTypes\": \"Cassandra\",\r\n \"disableKeyBasedMetadataWriteAccess\": false,\r\n \"enableFreeTier\": false,\r\n \"enableAnalyticalStorage\": false,\r\n \"analyticalStorageConfiguration\": null,\r\n \"instanceId\": \"56e9c1aa-a0a9-4804-9e1d-0fc9957784ae\",\r\n \"createMode\": \"Default\",\r\n \"databaseAccountOfferType\": \"Standard\",\r\n \"enableCassandraConnector\": false,\r\n \"connectorOffer\": \"\",\r\n \"defaultIdentity\": \"\",\r\n \"networkAclBypass\": \"None\",\r\n \"consistencyPolicy\": {\r\n \"defaultConsistencyLevel\": \"Session\",\r\n \"maxIntervalInSeconds\": 5,\r\n \"maxStalenessPrefix\": 100\r\n },\r\n \"configurationOverrides\": {},\r\n \"writeLocations\": [\r\n {\r\n \"id\": \"cassandra-yid5img5ochq6-westus2\",\r\n \"locationName\": \"West US 2\",\r\n \"documentEndpoint\": \"https://cassandra-yid5img5ochq6-westus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"readLocations\": [\r\n {\r\n \"id\": \"cassandra-yid5img5ochq6-westus2\",\r\n \"locationName\": \"West US 2\",\r\n \"documentEndpoint\": \"https://cassandra-yid5img5ochq6-westus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n },\r\n {\r\n \"id\": \"cassandra-yid5img5ochq6-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://cassandra-yid5img5ochq6-eastus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 1,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"locations\": [\r\n {\r\n \"id\": \"cassandra-yid5img5ochq6-westus2\",\r\n \"locationName\": \"West US 2\",\r\n \"documentEndpoint\": \"https://cassandra-yid5img5ochq6-westus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n },\r\n {\r\n \"id\": \"cassandra-yid5img5ochq6-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://cassandra-yid5img5ochq6-eastus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 1,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"failoverPolicies\": [\r\n {\r\n \"id\": \"cassandra-yid5img5ochq6-westus2\",\r\n \"locationName\": \"West US 2\",\r\n \"failoverPriority\": 0\r\n },\r\n {\r\n \"id\": \"cassandra-yid5img5ochq6-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"failoverPriority\": 1\r\n }\r\n ],\r\n \"cors\": [],\r\n \"capabilities\": [\r\n {\r\n \"name\": \"EnableCassandra\"\r\n }\r\n ],\r\n \"ipRules\": [],\r\n \"backupPolicy\": {\r\n \"type\": \"Periodic\",\r\n \"periodicModeProperties\": {\r\n \"backupIntervalInMinutes\": 60,\r\n \"backupRetentionIntervalInHours\": 8,\r\n \"backupStorageRedundancy\": \"Geo\"\r\n }\r\n },\r\n \"networkAclBypassResourceIds\": []\r\n },\r\n \"identity\": {\r\n \"type\": \"None\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/resourceGroups/analytics/providers/Microsoft.DocumentDB/databaseAccounts/anatest3\",\r\n \"name\": \"anatest3\",\r\n \"location\": \"East US 2\",\r\n \"type\": \"Microsoft.DocumentDB/databaseAccounts\",\r\n \"kind\": \"GlobalDocumentDB\",\r\n \"tags\": {},\r\n \"systemData\": {\r\n \"createdAt\": \"2019-09-12T23:40:21.5994308Z\"\r\n },\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"documentEndpoint\": \"https://anatest3.documents-staging.windows-ppe.net:443/\",\r\n \"publicNetworkAccess\": \"Enabled\",\r\n \"enableAutomaticFailover\": false,\r\n \"enableMultipleWriteLocations\": false,\r\n \"enablePartitionKeyMonitor\": false,\r\n \"isVirtualNetworkFilterEnabled\": false,\r\n \"virtualNetworkRules\": [],\r\n \"EnabledApiTypes\": \"Sql\",\r\n \"disableKeyBasedMetadataWriteAccess\": false,\r\n \"enableFreeTier\": false,\r\n \"enableAnalyticalStorage\": false,\r\n \"analyticalStorageConfiguration\": null,\r\n \"instanceId\": \"87d4c7f5-16c2-44d7-b7bc-fcfd368f3673\",\r\n \"createMode\": \"Default\",\r\n \"databaseAccountOfferType\": \"Standard\",\r\n \"enableCassandraConnector\": false,\r\n \"connectorOffer\": \"\",\r\n \"defaultIdentity\": \"\",\r\n \"networkAclBypass\": \"None\",\r\n \"consistencyPolicy\": {\r\n \"defaultConsistencyLevel\": \"Session\",\r\n \"maxIntervalInSeconds\": 5,\r\n \"maxStalenessPrefix\": 100\r\n },\r\n \"configurationOverrides\": {},\r\n \"writeLocations\": [\r\n {\r\n \"id\": \"anatest3-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://anatest3-eastus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"readLocations\": [\r\n {\r\n \"id\": \"anatest3-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://anatest3-eastus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"locations\": [\r\n {\r\n \"id\": \"anatest3-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://anatest3-eastus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"failoverPolicies\": [\r\n {\r\n \"id\": \"anatest3-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"failoverPriority\": 0\r\n }\r\n ],\r\n \"cors\": [],\r\n \"capabilities\": [\r\n {\r\n \"name\": \"EnableStorageAnalytics\"\r\n }\r\n ],\r\n \"ipRules\": [],\r\n \"backupPolicy\": {\r\n \"type\": \"Periodic\",\r\n \"periodicModeProperties\": {\r\n \"backupIntervalInMinutes\": 240,\r\n \"backupRetentionIntervalInHours\": 8,\r\n \"backupStorageRedundancy\": \"Geo\"\r\n }\r\n },\r\n \"networkAclBypassResourceIds\": []\r\n },\r\n \"identity\": {\r\n \"type\": \"None\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/resourceGroups/akshanka-cassandratestrg/providers/Microsoft.DocumentDB/databaseAccounts/cassandrastagesignoffeus2\",\r\n \"name\": \"cassandrastagesignoffeus2\",\r\n \"location\": \"East US 2\",\r\n \"type\": \"Microsoft.DocumentDB/databaseAccounts\",\r\n \"kind\": \"GlobalDocumentDB\",\r\n \"tags\": {\r\n \"defaultExperience\": \"Cassandra\",\r\n \"hidden-cosmos-mmspecial\": \"\",\r\n \"CosmosAccountType\": \"Non-Production\"\r\n },\r\n \"systemData\": {\r\n \"createdAt\": \"2020-10-01T14:46:02.2298247Z\"\r\n },\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"documentEndpoint\": \"https://cassandrastagesignoffeus2.documents-staging.windows-ppe.net:443/\",\r\n \"cassandraEndpoint\": \"https://cassandrastagesignoffeus2.cassandra.cosmos.windows-ppe.net:443/\",\r\n \"publicNetworkAccess\": \"Enabled\",\r\n \"enableAutomaticFailover\": false,\r\n \"enableMultipleWriteLocations\": false,\r\n \"enablePartitionKeyMonitor\": false,\r\n \"isVirtualNetworkFilterEnabled\": false,\r\n \"virtualNetworkRules\": [],\r\n \"EnabledApiTypes\": \"Cassandra\",\r\n \"disableKeyBasedMetadataWriteAccess\": false,\r\n \"enableFreeTier\": false,\r\n \"enableAnalyticalStorage\": false,\r\n \"analyticalStorageConfiguration\": null,\r\n \"instanceId\": \"84a04aaa-7945-4a4c-a823-d75104ae4f84\",\r\n \"createMode\": \"Default\",\r\n \"databaseAccountOfferType\": \"Standard\",\r\n \"enableCassandraConnector\": false,\r\n \"connectorOffer\": \"\",\r\n \"defaultIdentity\": \"\",\r\n \"networkAclBypass\": \"None\",\r\n \"consistencyPolicy\": {\r\n \"defaultConsistencyLevel\": \"Session\",\r\n \"maxIntervalInSeconds\": 5,\r\n \"maxStalenessPrefix\": 100\r\n },\r\n \"configurationOverrides\": {},\r\n \"writeLocations\": [\r\n {\r\n \"id\": \"cassandrastagesignoffeus2-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://cassandrastagesignoffeus2-eastus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"readLocations\": [\r\n {\r\n \"id\": \"cassandrastagesignoffeus2-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://cassandrastagesignoffeus2-eastus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"locations\": [\r\n {\r\n \"id\": \"cassandrastagesignoffeus2-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://cassandrastagesignoffeus2-eastus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"failoverPolicies\": [\r\n {\r\n \"id\": \"cassandrastagesignoffeus2-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"failoverPriority\": 0\r\n }\r\n ],\r\n \"cors\": [],\r\n \"capabilities\": [\r\n {\r\n \"name\": \"EnableCassandra\"\r\n }\r\n ],\r\n \"ipRules\": [],\r\n \"backupPolicy\": {\r\n \"type\": \"Periodic\",\r\n \"periodicModeProperties\": {\r\n \"backupIntervalInMinutes\": 240,\r\n \"backupRetentionIntervalInHours\": 8,\r\n \"backupStorageRedundancy\": \"Geo\"\r\n }\r\n },\r\n \"networkAclBypassResourceIds\": []\r\n },\r\n \"identity\": {\r\n \"type\": \"None\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/resourceGroups/cassandra-stage-signoff/providers/Microsoft.DocumentDB/databaseAccounts/cassandratester1\",\r\n \"name\": \"cassandratester1\",\r\n \"location\": \"East US 2\",\r\n \"type\": \"Microsoft.DocumentDB/databaseAccounts\",\r\n \"kind\": \"GlobalDocumentDB\",\r\n \"tags\": {\r\n \"defaultExperience\": \"Cassandra\",\r\n \"hidden-cosmos-mmspecial\": \"\",\r\n \"CosmosAccountType\": \"Non-Production\"\r\n },\r\n \"systemData\": {\r\n \"createdAt\": \"2020-06-03T22:20:36.130697Z\"\r\n },\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"documentEndpoint\": \"https://cassandratester1.documents-staging.windows-ppe.net:443/\",\r\n \"cassandraEndpoint\": \"https://cassandratester1.cassandra.cosmos.windows-ppe.net:443/\",\r\n \"publicNetworkAccess\": \"Enabled\",\r\n \"enableAutomaticFailover\": false,\r\n \"enableMultipleWriteLocations\": false,\r\n \"enablePartitionKeyMonitor\": false,\r\n \"isVirtualNetworkFilterEnabled\": false,\r\n \"virtualNetworkRules\": [],\r\n \"EnabledApiTypes\": \"Cassandra\",\r\n \"disableKeyBasedMetadataWriteAccess\": false,\r\n \"enableFreeTier\": false,\r\n \"enableAnalyticalStorage\": false,\r\n \"analyticalStorageConfiguration\": null,\r\n \"instanceId\": \"4a954ccd-c419-4e9e-828d-b3522f4dc8d5\",\r\n \"createMode\": \"Default\",\r\n \"databaseAccountOfferType\": \"Standard\",\r\n \"enableCassandraConnector\": false,\r\n \"connectorOffer\": \"\",\r\n \"defaultIdentity\": \"\",\r\n \"networkAclBypass\": \"None\",\r\n \"consistencyPolicy\": {\r\n \"defaultConsistencyLevel\": \"Session\",\r\n \"maxIntervalInSeconds\": 5,\r\n \"maxStalenessPrefix\": 100\r\n },\r\n \"configurationOverrides\": {},\r\n \"writeLocations\": [\r\n {\r\n \"id\": \"cassandratester1-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://cassandratester1-eastus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"readLocations\": [\r\n {\r\n \"id\": \"cassandratester1-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://cassandratester1-eastus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"locations\": [\r\n {\r\n \"id\": \"cassandratester1-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://cassandratester1-eastus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"failoverPolicies\": [\r\n {\r\n \"id\": \"cassandratester1-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"failoverPriority\": 0\r\n }\r\n ],\r\n \"cors\": [],\r\n \"capabilities\": [\r\n {\r\n \"name\": \"EnableCassandra\"\r\n }\r\n ],\r\n \"ipRules\": [],\r\n \"backupPolicy\": {\r\n \"type\": \"Periodic\",\r\n \"periodicModeProperties\": {\r\n \"backupIntervalInMinutes\": 60,\r\n \"backupRetentionIntervalInHours\": 8,\r\n \"backupStorageRedundancy\": \"Geo\"\r\n }\r\n },\r\n \"networkAclBypassResourceIds\": []\r\n },\r\n \"identity\": {\r\n \"type\": \"None\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/resourceGroups/ccxstagevalidationrg/providers/Microsoft.DocumentDB/databaseAccounts/ccx-edge-mm-demo\",\r\n \"name\": \"ccx-edge-mm-demo\",\r\n \"location\": \"East US 2\",\r\n \"type\": \"Microsoft.DocumentDB/databaseAccounts\",\r\n \"kind\": \"GlobalDocumentDB\",\r\n \"tags\": {\r\n \"defaultExperience\": \"Cassandra\"\r\n },\r\n \"systemData\": {\r\n \"createdAt\": \"2019-12-11T00:06:29.5615363Z\"\r\n },\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"documentEndpoint\": \"https://ccx-edge-mm-demo.documents-staging.windows-ppe.net:443/\",\r\n \"cassandraEndpoint\": \"https://ccx-edge-mm-demo.cassandra.cosmos.windows-ppe.net:443/\",\r\n \"publicNetworkAccess\": \"Enabled\",\r\n \"enableAutomaticFailover\": false,\r\n \"enableMultipleWriteLocations\": true,\r\n \"enablePartitionKeyMonitor\": false,\r\n \"isVirtualNetworkFilterEnabled\": false,\r\n \"virtualNetworkRules\": [],\r\n \"EnabledApiTypes\": \"Cassandra\",\r\n \"disableKeyBasedMetadataWriteAccess\": false,\r\n \"enableFreeTier\": false,\r\n \"enableAnalyticalStorage\": false,\r\n \"analyticalStorageConfiguration\": null,\r\n \"instanceId\": \"53914c0a-50c9-44dc-8796-917713c63883\",\r\n \"createMode\": \"Default\",\r\n \"databaseAccountOfferType\": \"Standard\",\r\n \"enableCassandraConnector\": true,\r\n \"connectorOffer\": \"small\",\r\n \"defaultIdentity\": \"\",\r\n \"networkAclBypass\": \"None\",\r\n \"consistencyPolicy\": {\r\n \"defaultConsistencyLevel\": \"Session\",\r\n \"maxIntervalInSeconds\": 5,\r\n \"maxStalenessPrefix\": 100\r\n },\r\n \"configurationOverrides\": {},\r\n \"writeLocations\": [\r\n {\r\n \"id\": \"ccx-edge-mm-demo-southeastasia\",\r\n \"locationName\": \"Southeast Asia\",\r\n \"documentEndpoint\": \"https://ccx-edge-mm-demo-southeastasia.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n },\r\n {\r\n \"id\": \"ccx-edge-mm-demo-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://ccx-edge-mm-demo-eastus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 1,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"readLocations\": [\r\n {\r\n \"id\": \"ccx-edge-mm-demo-southeastasia\",\r\n \"locationName\": \"Southeast Asia\",\r\n \"documentEndpoint\": \"https://ccx-edge-mm-demo-southeastasia.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n },\r\n {\r\n \"id\": \"ccx-edge-mm-demo-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://ccx-edge-mm-demo-eastus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 1,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"locations\": [\r\n {\r\n \"id\": \"ccx-edge-mm-demo-southeastasia\",\r\n \"locationName\": \"Southeast Asia\",\r\n \"documentEndpoint\": \"https://ccx-edge-mm-demo-southeastasia.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n },\r\n {\r\n \"id\": \"ccx-edge-mm-demo-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://ccx-edge-mm-demo-eastus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 1,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"failoverPolicies\": [\r\n {\r\n \"id\": \"ccx-edge-mm-demo-southeastasia\",\r\n \"locationName\": \"Southeast Asia\",\r\n \"failoverPriority\": 0\r\n },\r\n {\r\n \"id\": \"ccx-edge-mm-demo-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"failoverPriority\": 1\r\n }\r\n ],\r\n \"cors\": [],\r\n \"capabilities\": [\r\n {\r\n \"name\": \"EnableCassandra\"\r\n }\r\n ],\r\n \"ipRules\": [],\r\n \"backupPolicy\": {\r\n \"type\": \"Periodic\",\r\n \"periodicModeProperties\": {\r\n \"backupIntervalInMinutes\": 60,\r\n \"backupRetentionIntervalInHours\": 8,\r\n \"backupStorageRedundancy\": \"Geo\"\r\n }\r\n },\r\n \"networkAclBypassResourceIds\": []\r\n },\r\n \"identity\": {\r\n \"type\": \"None\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/resourceGroups/analytics/providers/Microsoft.DocumentDB/databaseAccounts/anatest5\",\r\n \"name\": \"anatest5\",\r\n \"location\": \"East US 2\",\r\n \"type\": \"Microsoft.DocumentDB/databaseAccounts\",\r\n \"kind\": \"GlobalDocumentDB\",\r\n \"tags\": {},\r\n \"systemData\": {\r\n \"createdAt\": \"2019-09-13T00:22:49.5268091Z\"\r\n },\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"documentEndpoint\": \"https://anatest5.documents-staging.windows-ppe.net:443/\",\r\n \"publicNetworkAccess\": \"Enabled\",\r\n \"enableAutomaticFailover\": false,\r\n \"enableMultipleWriteLocations\": false,\r\n \"enablePartitionKeyMonitor\": false,\r\n \"isVirtualNetworkFilterEnabled\": false,\r\n \"virtualNetworkRules\": [],\r\n \"EnabledApiTypes\": \"Sql\",\r\n \"disableKeyBasedMetadataWriteAccess\": false,\r\n \"enableFreeTier\": false,\r\n \"enableAnalyticalStorage\": false,\r\n \"analyticalStorageConfiguration\": null,\r\n \"instanceId\": \"d55fa6af-aff5-49c5-9261-707c3c9dd2b4\",\r\n \"createMode\": \"Default\",\r\n \"databaseAccountOfferType\": \"Standard\",\r\n \"enableCassandraConnector\": false,\r\n \"connectorOffer\": \"\",\r\n \"defaultIdentity\": \"\",\r\n \"networkAclBypass\": \"None\",\r\n \"consistencyPolicy\": {\r\n \"defaultConsistencyLevel\": \"Session\",\r\n \"maxIntervalInSeconds\": 5,\r\n \"maxStalenessPrefix\": 100\r\n },\r\n \"configurationOverrides\": {},\r\n \"writeLocations\": [\r\n {\r\n \"id\": \"anatest5-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://anatest5-eastus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"readLocations\": [\r\n {\r\n \"id\": \"anatest5-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://anatest5-eastus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"locations\": [\r\n {\r\n \"id\": \"anatest5-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://anatest5-eastus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"failoverPolicies\": [\r\n {\r\n \"id\": \"anatest5-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"failoverPriority\": 0\r\n }\r\n ],\r\n \"cors\": [],\r\n \"capabilities\": [\r\n {\r\n \"name\": \"EnableStorageAnalytics\"\r\n }\r\n ],\r\n \"ipRules\": [],\r\n \"backupPolicy\": {\r\n \"type\": \"Periodic\",\r\n \"periodicModeProperties\": {\r\n \"backupIntervalInMinutes\": 240,\r\n \"backupRetentionIntervalInHours\": 8,\r\n \"backupStorageRedundancy\": \"Geo\"\r\n }\r\n },\r\n \"networkAclBypassResourceIds\": []\r\n },\r\n \"identity\": {\r\n \"type\": \"None\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/resourceGroups/ankis-rg99/providers/Microsoft.DocumentDB/databaseAccounts/ankis-cosmosdb-rg9\",\r\n \"name\": \"ankis-cosmosdb-rg9\",\r\n \"location\": \"East US 2\",\r\n \"type\": \"Microsoft.DocumentDB/databaseAccounts\",\r\n \"kind\": \"GlobalDocumentDB\",\r\n \"tags\": {\r\n \"defaultExperience\": \"Core (SQL)\",\r\n \"hidden-cosmos-mmspecial\": \"\"\r\n },\r\n \"systemData\": {\r\n \"createdAt\": \"2020-01-30T11:17:39.0176146Z\"\r\n },\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"documentEndpoint\": \"https://ankis-cosmosdb-rg9.documents-staging.windows-ppe.net:443/\",\r\n \"publicNetworkAccess\": \"Enabled\",\r\n \"enableAutomaticFailover\": false,\r\n \"enableMultipleWriteLocations\": false,\r\n \"enablePartitionKeyMonitor\": false,\r\n \"isVirtualNetworkFilterEnabled\": false,\r\n \"virtualNetworkRules\": [],\r\n \"EnabledApiTypes\": \"Sql\",\r\n \"disableKeyBasedMetadataWriteAccess\": false,\r\n \"enableFreeTier\": false,\r\n \"enableAnalyticalStorage\": false,\r\n \"analyticalStorageConfiguration\": null,\r\n \"instanceId\": \"45f68796-6819-42e6-95e4-dbfb6c6827c1\",\r\n \"createMode\": \"Default\",\r\n \"databaseAccountOfferType\": \"Standard\",\r\n \"enableCassandraConnector\": false,\r\n \"connectorOffer\": \"\",\r\n \"defaultIdentity\": \"\",\r\n \"networkAclBypass\": \"None\",\r\n \"consistencyPolicy\": {\r\n \"defaultConsistencyLevel\": \"Session\",\r\n \"maxIntervalInSeconds\": 5,\r\n \"maxStalenessPrefix\": 100\r\n },\r\n \"configurationOverrides\": {},\r\n \"writeLocations\": [\r\n {\r\n \"id\": \"ankis-cosmosdb-rg9-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://ankis-cosmosdb-rg9-eastus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"readLocations\": [\r\n {\r\n \"id\": \"ankis-cosmosdb-rg9-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://ankis-cosmosdb-rg9-eastus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"locations\": [\r\n {\r\n \"id\": \"ankis-cosmosdb-rg9-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://ankis-cosmosdb-rg9-eastus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"failoverPolicies\": [\r\n {\r\n \"id\": \"ankis-cosmosdb-rg9-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"failoverPriority\": 0\r\n }\r\n ],\r\n \"cors\": [],\r\n \"capabilities\": [\r\n {\r\n \"name\": \"EnableStorageAnalytics\"\r\n }\r\n ],\r\n \"ipRules\": [],\r\n \"backupPolicy\": {\r\n \"type\": \"Periodic\",\r\n \"periodicModeProperties\": {\r\n \"backupIntervalInMinutes\": 60,\r\n \"backupRetentionIntervalInHours\": 8,\r\n \"backupStorageRedundancy\": \"Geo\"\r\n }\r\n },\r\n \"networkAclBypassResourceIds\": []\r\n },\r\n \"identity\": {\r\n \"type\": \"None\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/resourceGroups/ash/providers/Microsoft.DocumentDB/databaseAccounts/ash-df-gremlin\",\r\n \"name\": \"ash-df-gremlin\",\r\n \"location\": \"East US 2\",\r\n \"type\": \"Microsoft.DocumentDB/databaseAccounts\",\r\n \"kind\": \"GlobalDocumentDB\",\r\n \"tags\": {\r\n \"defaultExperience\": \"Gremlin (graph)\"\r\n },\r\n \"systemData\": {\r\n \"createdAt\": \"2019-12-05T22:20:30.609425Z\"\r\n },\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"documentEndpoint\": \"https://ash-df-gremlin.documents-staging.windows-ppe.net:443/\",\r\n \"gremlinEndpoint\": \"https://ash-df-gremlin.gremlin.cosmos.windows-ppe.net:443/\",\r\n \"publicNetworkAccess\": \"Enabled\",\r\n \"enableAutomaticFailover\": false,\r\n \"enableMultipleWriteLocations\": false,\r\n \"enablePartitionKeyMonitor\": false,\r\n \"isVirtualNetworkFilterEnabled\": false,\r\n \"virtualNetworkRules\": [],\r\n \"EnabledApiTypes\": \"Gremlin, Sql\",\r\n \"disableKeyBasedMetadataWriteAccess\": false,\r\n \"enableFreeTier\": false,\r\n \"enableAnalyticalStorage\": false,\r\n \"analyticalStorageConfiguration\": null,\r\n \"instanceId\": \"a95a4c6a-4574-427e-9fe0-f88ce43c9381\",\r\n \"createMode\": \"Default\",\r\n \"databaseAccountOfferType\": \"Standard\",\r\n \"enableCassandraConnector\": false,\r\n \"connectorOffer\": \"\",\r\n \"defaultIdentity\": \"\",\r\n \"networkAclBypass\": \"None\",\r\n \"consistencyPolicy\": {\r\n \"defaultConsistencyLevel\": \"Session\",\r\n \"maxIntervalInSeconds\": 5,\r\n \"maxStalenessPrefix\": 100\r\n },\r\n \"configurationOverrides\": {},\r\n \"writeLocations\": [\r\n {\r\n \"id\": \"ash-df-gremlin-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://ash-df-gremlin-eastus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"readLocations\": [\r\n {\r\n \"id\": \"ash-df-gremlin-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://ash-df-gremlin-eastus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"locations\": [\r\n {\r\n \"id\": \"ash-df-gremlin-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://ash-df-gremlin-eastus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"failoverPolicies\": [\r\n {\r\n \"id\": \"ash-df-gremlin-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"failoverPriority\": 0\r\n }\r\n ],\r\n \"cors\": [],\r\n \"capabilities\": [\r\n {\r\n \"name\": \"EnableGremlin\"\r\n }\r\n ],\r\n \"ipRules\": [],\r\n \"backupPolicy\": {\r\n \"type\": \"Periodic\",\r\n \"periodicModeProperties\": {\r\n \"backupIntervalInMinutes\": 60,\r\n \"backupRetentionIntervalInHours\": 8,\r\n \"backupStorageRedundancy\": \"Geo\"\r\n }\r\n },\r\n \"networkAclBypassResourceIds\": []\r\n },\r\n \"identity\": {\r\n \"type\": \"None\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/resourceGroups/computev2-stage-signoff/providers/Microsoft.DocumentDB/databaseAccounts/computev2stagesignoff\",\r\n \"name\": \"computev2stagesignoff\",\r\n \"location\": \"East US 2\",\r\n \"type\": \"Microsoft.DocumentDB/databaseAccounts\",\r\n \"kind\": \"GlobalDocumentDB\",\r\n \"tags\": {\r\n \"defaultExperience\": \"Core (SQL)\",\r\n \"hidden-cosmos-mmspecial\": \"\",\r\n \"CosmosAccountType\": \"Non-Production\"\r\n },\r\n \"systemData\": {\r\n \"createdAt\": \"2020-09-16T23:50:56.1159652Z\"\r\n },\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"documentEndpoint\": \"https://computev2stagesignoff.documents-staging.windows-ppe.net:443/\",\r\n \"publicNetworkAccess\": \"Enabled\",\r\n \"enableAutomaticFailover\": false,\r\n \"enableMultipleWriteLocations\": false,\r\n \"enablePartitionKeyMonitor\": false,\r\n \"isVirtualNetworkFilterEnabled\": false,\r\n \"virtualNetworkRules\": [],\r\n \"EnabledApiTypes\": \"Sql\",\r\n \"disableKeyBasedMetadataWriteAccess\": false,\r\n \"enableFreeTier\": false,\r\n \"enableAnalyticalStorage\": false,\r\n \"analyticalStorageConfiguration\": null,\r\n \"instanceId\": \"60c8a2ab-372a-47a1-9735-a9c7d76762c4\",\r\n \"createMode\": \"Default\",\r\n \"databaseAccountOfferType\": \"Standard\",\r\n \"enableCassandraConnector\": false,\r\n \"connectorOffer\": \"\",\r\n \"defaultIdentity\": \"\",\r\n \"networkAclBypass\": \"None\",\r\n \"consistencyPolicy\": {\r\n \"defaultConsistencyLevel\": \"Session\",\r\n \"maxIntervalInSeconds\": 5,\r\n \"maxStalenessPrefix\": 100\r\n },\r\n \"configurationOverrides\": {},\r\n \"writeLocations\": [\r\n {\r\n \"id\": \"computev2stagesignoff-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://computev2stagesignoff-eastus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"readLocations\": [\r\n {\r\n \"id\": \"computev2stagesignoff-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://computev2stagesignoff-eastus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"locations\": [\r\n {\r\n \"id\": \"computev2stagesignoff-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://computev2stagesignoff-eastus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"failoverPolicies\": [\r\n {\r\n \"id\": \"computev2stagesignoff-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"failoverPriority\": 0\r\n }\r\n ],\r\n \"cors\": [],\r\n \"capabilities\": [],\r\n \"ipRules\": [],\r\n \"backupPolicy\": {\r\n \"type\": \"Periodic\",\r\n \"periodicModeProperties\": {\r\n \"backupIntervalInMinutes\": 240,\r\n \"backupRetentionIntervalInHours\": 8,\r\n \"backupStorageRedundancy\": \"Geo\"\r\n }\r\n },\r\n \"networkAclBypassResourceIds\": []\r\n },\r\n \"identity\": {\r\n \"type\": \"None\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/resourceGroups/devansh-stage/providers/Microsoft.DocumentDB/databaseAccounts/conso-purg-attempt2\",\r\n \"name\": \"conso-purg-attempt2\",\r\n \"location\": \"East US 2\",\r\n \"type\": \"Microsoft.DocumentDB/databaseAccounts\",\r\n \"kind\": \"GlobalDocumentDB\",\r\n \"tags\": {\r\n \"defaultExperience\": \"Core (SQL)\",\r\n \"hidden-cosmos-mmspecial\": \"\"\r\n },\r\n \"systemData\": {\r\n \"createdAt\": \"2020-02-13T06:25:26.8192847Z\"\r\n },\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"documentEndpoint\": \"https://conso-purg-attempt2.documents-staging.windows-ppe.net:443/\",\r\n \"publicNetworkAccess\": \"Enabled\",\r\n \"enableAutomaticFailover\": false,\r\n \"enableMultipleWriteLocations\": false,\r\n \"enablePartitionKeyMonitor\": false,\r\n \"isVirtualNetworkFilterEnabled\": false,\r\n \"virtualNetworkRules\": [],\r\n \"EnabledApiTypes\": \"Sql\",\r\n \"disableKeyBasedMetadataWriteAccess\": false,\r\n \"enableFreeTier\": false,\r\n \"enableAnalyticalStorage\": false,\r\n \"analyticalStorageConfiguration\": null,\r\n \"instanceId\": \"226085d1-864a-40fc-87f1-161e96a6aedf\",\r\n \"createMode\": \"Default\",\r\n \"databaseAccountOfferType\": \"Standard\",\r\n \"enableCassandraConnector\": false,\r\n \"connectorOffer\": \"\",\r\n \"defaultIdentity\": \"\",\r\n \"networkAclBypass\": \"None\",\r\n \"consistencyPolicy\": {\r\n \"defaultConsistencyLevel\": \"Session\",\r\n \"maxIntervalInSeconds\": 5,\r\n \"maxStalenessPrefix\": 100\r\n },\r\n \"configurationOverrides\": {},\r\n \"writeLocations\": [\r\n {\r\n \"id\": \"conso-purg-attempt2-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://conso-purg-attempt2-eastus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"readLocations\": [\r\n {\r\n \"id\": \"conso-purg-attempt2-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://conso-purg-attempt2-eastus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"locations\": [\r\n {\r\n \"id\": \"conso-purg-attempt2-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://conso-purg-attempt2-eastus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"failoverPolicies\": [\r\n {\r\n \"id\": \"conso-purg-attempt2-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"failoverPriority\": 0\r\n }\r\n ],\r\n \"cors\": [],\r\n \"capabilities\": [\r\n {\r\n \"name\": \"EnableStorageAnalytics\"\r\n }\r\n ],\r\n \"ipRules\": [],\r\n \"backupPolicy\": {\r\n \"type\": \"Periodic\",\r\n \"periodicModeProperties\": {\r\n \"backupIntervalInMinutes\": 60,\r\n \"backupRetentionIntervalInHours\": 167,\r\n \"backupStorageRedundancy\": \"Geo\"\r\n }\r\n },\r\n \"networkAclBypassResourceIds\": []\r\n },\r\n \"identity\": {\r\n \"type\": \"None\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/resourceGroups/ash/providers/Microsoft.DocumentDB/databaseAccounts/ash-df-sql\",\r\n \"name\": \"ash-df-sql\",\r\n \"location\": \"East US 2\",\r\n \"type\": \"Microsoft.DocumentDB/databaseAccounts\",\r\n \"kind\": \"GlobalDocumentDB\",\r\n \"tags\": {\r\n \"defaultExperience\": \"Core (SQL)\"\r\n },\r\n \"systemData\": {\r\n \"createdAt\": \"2019-12-05T22:10:53.6504686Z\"\r\n },\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"documentEndpoint\": \"https://ash-df-sql.documents-staging.windows-ppe.net:443/\",\r\n \"publicNetworkAccess\": \"Enabled\",\r\n \"enableAutomaticFailover\": false,\r\n \"enableMultipleWriteLocations\": false,\r\n \"enablePartitionKeyMonitor\": false,\r\n \"isVirtualNetworkFilterEnabled\": false,\r\n \"virtualNetworkRules\": [],\r\n \"EnabledApiTypes\": \"Sql\",\r\n \"disableKeyBasedMetadataWriteAccess\": false,\r\n \"enableFreeTier\": false,\r\n \"enableAnalyticalStorage\": false,\r\n \"analyticalStorageConfiguration\": null,\r\n \"instanceId\": \"7a1192f3-d04b-496f-8504-23bb677e0aee\",\r\n \"createMode\": \"Default\",\r\n \"databaseAccountOfferType\": \"Standard\",\r\n \"enableCassandraConnector\": false,\r\n \"connectorOffer\": \"\",\r\n \"defaultIdentity\": \"\",\r\n \"networkAclBypass\": \"None\",\r\n \"consistencyPolicy\": {\r\n \"defaultConsistencyLevel\": \"Eventual\",\r\n \"maxIntervalInSeconds\": 5,\r\n \"maxStalenessPrefix\": 100\r\n },\r\n \"configurationOverrides\": {},\r\n \"writeLocations\": [\r\n {\r\n \"id\": \"ash-df-sql-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://ash-df-sql-eastus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": true\r\n }\r\n ],\r\n \"readLocations\": [\r\n {\r\n \"id\": \"ash-df-sql-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://ash-df-sql-eastus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": true\r\n }\r\n ],\r\n \"locations\": [\r\n {\r\n \"id\": \"ash-df-sql-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://ash-df-sql-eastus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": true\r\n }\r\n ],\r\n \"failoverPolicies\": [\r\n {\r\n \"id\": \"ash-df-sql-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"failoverPriority\": 0\r\n }\r\n ],\r\n \"cors\": [],\r\n \"capabilities\": [],\r\n \"ipRules\": [],\r\n \"backupPolicy\": {\r\n \"type\": \"Periodic\",\r\n \"periodicModeProperties\": {\r\n \"backupIntervalInMinutes\": 60,\r\n \"backupRetentionIntervalInHours\": 8,\r\n \"backupStorageRedundancy\": \"Geo\"\r\n }\r\n },\r\n \"networkAclBypassResourceIds\": []\r\n },\r\n \"identity\": {\r\n \"type\": \"None\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/resourceGroups/test/providers/Microsoft.DocumentDB/databaseAccounts/cpuinvestigation\",\r\n \"name\": \"cpuinvestigation\",\r\n \"location\": \"East US 2\",\r\n \"type\": \"Microsoft.DocumentDB/databaseAccounts\",\r\n \"kind\": \"GlobalDocumentDB\",\r\n \"tags\": {},\r\n \"systemData\": {\r\n \"createdAt\": \"2020-04-14T19:32:44.4539346Z\"\r\n },\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"documentEndpoint\": \"https://cpuinvestigation.documents-staging.windows-ppe.net:443/\",\r\n \"publicNetworkAccess\": \"Enabled\",\r\n \"enableAutomaticFailover\": false,\r\n \"enableMultipleWriteLocations\": false,\r\n \"enablePartitionKeyMonitor\": false,\r\n \"isVirtualNetworkFilterEnabled\": false,\r\n \"virtualNetworkRules\": [],\r\n \"EnabledApiTypes\": \"Sql\",\r\n \"disableKeyBasedMetadataWriteAccess\": false,\r\n \"enableFreeTier\": false,\r\n \"enableAnalyticalStorage\": false,\r\n \"analyticalStorageConfiguration\": null,\r\n \"instanceId\": \"31287da0-d8f6-427b-ab31-d7c7b32c6554\",\r\n \"createMode\": \"Default\",\r\n \"databaseAccountOfferType\": \"Standard\",\r\n \"enableCassandraConnector\": false,\r\n \"connectorOffer\": \"\",\r\n \"defaultIdentity\": \"\",\r\n \"networkAclBypass\": \"None\",\r\n \"consistencyPolicy\": {\r\n \"defaultConsistencyLevel\": \"Session\",\r\n \"maxIntervalInSeconds\": 5,\r\n \"maxStalenessPrefix\": 100\r\n },\r\n \"configurationOverrides\": {},\r\n \"writeLocations\": [\r\n {\r\n \"id\": \"cpuinvestigation-northcentralus\",\r\n \"locationName\": \"North Central US\",\r\n \"documentEndpoint\": \"https://cpuinvestigation-northcentralus.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"readLocations\": [\r\n {\r\n \"id\": \"cpuinvestigation-northcentralus\",\r\n \"locationName\": \"North Central US\",\r\n \"documentEndpoint\": \"https://cpuinvestigation-northcentralus.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n },\r\n {\r\n \"id\": \"cpuinvestigation-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://cpuinvestigation-eastus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 1,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"locations\": [\r\n {\r\n \"id\": \"cpuinvestigation-northcentralus\",\r\n \"locationName\": \"North Central US\",\r\n \"documentEndpoint\": \"https://cpuinvestigation-northcentralus.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n },\r\n {\r\n \"id\": \"cpuinvestigation-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://cpuinvestigation-eastus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 1,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"failoverPolicies\": [\r\n {\r\n \"id\": \"cpuinvestigation-northcentralus\",\r\n \"locationName\": \"North Central US\",\r\n \"failoverPriority\": 0\r\n },\r\n {\r\n \"id\": \"cpuinvestigation-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"failoverPriority\": 1\r\n }\r\n ],\r\n \"cors\": [],\r\n \"capabilities\": [],\r\n \"ipRules\": [],\r\n \"backupPolicy\": {\r\n \"type\": \"Periodic\",\r\n \"periodicModeProperties\": {\r\n \"backupIntervalInMinutes\": 60,\r\n \"backupRetentionIntervalInHours\": 8,\r\n \"backupStorageRedundancy\": \"Geo\"\r\n }\r\n },\r\n \"networkAclBypassResourceIds\": []\r\n },\r\n \"identity\": {\r\n \"type\": \"None\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/resourceGroups/sarguptest/providers/Microsoft.DocumentDB/databaseAccounts/cpuinvestigation2\",\r\n \"name\": \"cpuinvestigation2\",\r\n \"location\": \"East US 2\",\r\n \"type\": \"Microsoft.DocumentDB/databaseAccounts\",\r\n \"kind\": \"GlobalDocumentDB\",\r\n \"tags\": {},\r\n \"systemData\": {\r\n \"createdAt\": \"2020-05-14T01:13:01.157676Z\"\r\n },\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"documentEndpoint\": \"https://cpuinvestigation2.documents-staging.windows-ppe.net:443/\",\r\n \"publicNetworkAccess\": \"Enabled\",\r\n \"enableAutomaticFailover\": false,\r\n \"enableMultipleWriteLocations\": false,\r\n \"enablePartitionKeyMonitor\": false,\r\n \"isVirtualNetworkFilterEnabled\": false,\r\n \"virtualNetworkRules\": [],\r\n \"EnabledApiTypes\": \"Sql\",\r\n \"disableKeyBasedMetadataWriteAccess\": false,\r\n \"enableFreeTier\": false,\r\n \"enableAnalyticalStorage\": false,\r\n \"analyticalStorageConfiguration\": null,\r\n \"instanceId\": \"f41c30f7-ea14-435f-b5e3-a45b96110753\",\r\n \"createMode\": \"Default\",\r\n \"databaseAccountOfferType\": \"Standard\",\r\n \"enableCassandraConnector\": false,\r\n \"connectorOffer\": \"\",\r\n \"defaultIdentity\": \"\",\r\n \"networkAclBypass\": \"None\",\r\n \"consistencyPolicy\": {\r\n \"defaultConsistencyLevel\": \"Session\",\r\n \"maxIntervalInSeconds\": 5,\r\n \"maxStalenessPrefix\": 100\r\n },\r\n \"configurationOverrides\": {},\r\n \"writeLocations\": [\r\n {\r\n \"id\": \"cpuinvestigation2-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://cpuinvestigation2-eastus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"readLocations\": [\r\n {\r\n \"id\": \"cpuinvestigation2-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://cpuinvestigation2-eastus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"locations\": [\r\n {\r\n \"id\": \"cpuinvestigation2-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://cpuinvestigation2-eastus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"failoverPolicies\": [\r\n {\r\n \"id\": \"cpuinvestigation2-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"failoverPriority\": 0\r\n }\r\n ],\r\n \"cors\": [],\r\n \"capabilities\": [],\r\n \"ipRules\": [],\r\n \"backupPolicy\": {\r\n \"type\": \"Periodic\",\r\n \"periodicModeProperties\": {\r\n \"backupIntervalInMinutes\": 60,\r\n \"backupRetentionIntervalInHours\": 8,\r\n \"backupStorageRedundancy\": \"Geo\"\r\n }\r\n },\r\n \"networkAclBypassResourceIds\": []\r\n },\r\n \"identity\": {\r\n \"type\": \"None\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/resourceGroups/csedev/providers/Microsoft.DocumentDB/databaseAccounts/csestar\",\r\n \"name\": \"csestar\",\r\n \"location\": \"East US 2\",\r\n \"type\": \"Microsoft.DocumentDB/databaseAccounts\",\r\n \"kind\": \"GlobalDocumentDB\",\r\n \"tags\": {\r\n \"defaultExperience\": \"Cassandra\"\r\n },\r\n \"systemData\": {\r\n \"createdAt\": \"2018-08-27T19:52:05.8862647Z\"\r\n },\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"documentEndpoint\": \"https://csestar.documents-staging.windows-ppe.net:443/\",\r\n \"cassandraEndpoint\": \"https://csestar.cassandra.cosmosdb.windows-ppe.net:443/\",\r\n \"publicNetworkAccess\": \"Enabled\",\r\n \"enableAutomaticFailover\": false,\r\n \"enableMultipleWriteLocations\": false,\r\n \"enablePartitionKeyMonitor\": false,\r\n \"isVirtualNetworkFilterEnabled\": false,\r\n \"virtualNetworkRules\": [],\r\n \"EnabledApiTypes\": \"Cassandra\",\r\n \"disableKeyBasedMetadataWriteAccess\": false,\r\n \"enableFreeTier\": false,\r\n \"enableAnalyticalStorage\": false,\r\n \"analyticalStorageConfiguration\": null,\r\n \"instanceId\": \"91226e57-6ccd-4d1d-9ada-2e4fe1eca34a\",\r\n \"createMode\": \"Default\",\r\n \"databaseAccountOfferType\": \"Standard\",\r\n \"defaultIdentity\": \"\",\r\n \"networkAclBypass\": \"None\",\r\n \"consistencyPolicy\": {\r\n \"defaultConsistencyLevel\": \"Session\",\r\n \"maxIntervalInSeconds\": 5,\r\n \"maxStalenessPrefix\": 100\r\n },\r\n \"configurationOverrides\": {},\r\n \"writeLocations\": [\r\n {\r\n \"id\": \"csestar-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://csestar-eastus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"readLocations\": [\r\n {\r\n \"id\": \"csestar-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://csestar-eastus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"locations\": [\r\n {\r\n \"id\": \"csestar-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://csestar-eastus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"failoverPolicies\": [\r\n {\r\n \"id\": \"csestar-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"failoverPriority\": 0\r\n }\r\n ],\r\n \"cors\": [],\r\n \"capabilities\": [\r\n {\r\n \"name\": \"EnableCassandra\"\r\n }\r\n ],\r\n \"ipRules\": [],\r\n \"backupPolicy\": {\r\n \"type\": \"Periodic\",\r\n \"periodicModeProperties\": {\r\n \"backupIntervalInMinutes\": 240,\r\n \"backupRetentionIntervalInHours\": 8,\r\n \"backupStorageRedundancy\": \"Geo\"\r\n }\r\n },\r\n \"networkAclBypassResourceIds\": []\r\n },\r\n \"identity\": {\r\n \"type\": \"None\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/resourceGroups/computev2stagerg/providers/Microsoft.DocumentDB/databaseAccounts/dahorastage\",\r\n \"name\": \"dahorastage\",\r\n \"location\": \"East US 2\",\r\n \"type\": \"Microsoft.DocumentDB/databaseAccounts\",\r\n \"kind\": \"GlobalDocumentDB\",\r\n \"tags\": {\r\n \"defaultExperience\": \"Core (SQL)\",\r\n \"hidden-cosmos-mmspecial\": \"\",\r\n \"CosmosAccountType\": \"Non-Production\"\r\n },\r\n \"systemData\": {\r\n \"createdAt\": \"2020-09-01T19:39:23.945106Z\"\r\n },\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"documentEndpoint\": \"https://dahorastage.documents-staging.windows-ppe.net:443/\",\r\n \"publicNetworkAccess\": \"Enabled\",\r\n \"enableAutomaticFailover\": false,\r\n \"enableMultipleWriteLocations\": false,\r\n \"enablePartitionKeyMonitor\": false,\r\n \"isVirtualNetworkFilterEnabled\": false,\r\n \"virtualNetworkRules\": [],\r\n \"EnabledApiTypes\": \"Sql\",\r\n \"disableKeyBasedMetadataWriteAccess\": false,\r\n \"enableFreeTier\": false,\r\n \"enableAnalyticalStorage\": false,\r\n \"analyticalStorageConfiguration\": null,\r\n \"instanceId\": \"b71574be-31f4-48da-b8c8-c3cd1cab4dcc\",\r\n \"createMode\": \"Default\",\r\n \"databaseAccountOfferType\": \"Standard\",\r\n \"enableCassandraConnector\": false,\r\n \"connectorOffer\": \"\",\r\n \"defaultIdentity\": \"\",\r\n \"networkAclBypass\": \"None\",\r\n \"consistencyPolicy\": {\r\n \"defaultConsistencyLevel\": \"Session\",\r\n \"maxIntervalInSeconds\": 5,\r\n \"maxStalenessPrefix\": 100\r\n },\r\n \"configurationOverrides\": {},\r\n \"writeLocations\": [\r\n {\r\n \"id\": \"dahorastage-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://dahorastage-eastus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"readLocations\": [\r\n {\r\n \"id\": \"dahorastage-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://dahorastage-eastus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"locations\": [\r\n {\r\n \"id\": \"dahorastage-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://dahorastage-eastus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"failoverPolicies\": [\r\n {\r\n \"id\": \"dahorastage-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"failoverPriority\": 0\r\n }\r\n ],\r\n \"cors\": [],\r\n \"capabilities\": [],\r\n \"ipRules\": [],\r\n \"backupPolicy\": {\r\n \"type\": \"Periodic\",\r\n \"periodicModeProperties\": {\r\n \"backupIntervalInMinutes\": 240,\r\n \"backupRetentionIntervalInHours\": 8,\r\n \"backupStorageRedundancy\": \"Geo\"\r\n }\r\n },\r\n \"networkAclBypassResourceIds\": []\r\n },\r\n \"identity\": {\r\n \"type\": \"None\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/resourceGroups/CosmosDBResourceGroup3668/providers/Microsoft.DocumentDB/databaseAccounts/db1024-restored\",\r\n \"name\": \"db1024-restored\",\r\n \"location\": \"East US 2\",\r\n \"type\": \"Microsoft.DocumentDB/databaseAccounts\",\r\n \"kind\": \"GlobalDocumentDB\",\r\n \"tags\": {},\r\n \"systemData\": {\r\n \"createdAt\": \"2020-08-14T01:17:35.92886Z\"\r\n },\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"documentEndpoint\": \"https://db1024-restored.documents-staging.windows-ppe.net:443/\",\r\n \"publicNetworkAccess\": \"Enabled\",\r\n \"enableAutomaticFailover\": false,\r\n \"enableMultipleWriteLocations\": false,\r\n \"enablePartitionKeyMonitor\": false,\r\n \"isVirtualNetworkFilterEnabled\": false,\r\n \"virtualNetworkRules\": [],\r\n \"EnabledApiTypes\": \"Sql\",\r\n \"disableKeyBasedMetadataWriteAccess\": false,\r\n \"enableFreeTier\": false,\r\n \"enableAnalyticalStorage\": false,\r\n \"analyticalStorageConfiguration\": null,\r\n \"instanceId\": \"c26d3f43-7363-4c54-940a-bde0e96bda72\",\r\n \"createMode\": \"Restore\",\r\n \"databaseAccountOfferType\": \"Standard\",\r\n \"enableCassandraConnector\": false,\r\n \"defaultIdentity\": \"\",\r\n \"networkAclBypass\": \"None\",\r\n \"consistencyPolicy\": {\r\n \"defaultConsistencyLevel\": \"Session\",\r\n \"maxIntervalInSeconds\": 5,\r\n \"maxStalenessPrefix\": 100\r\n },\r\n \"configurationOverrides\": {},\r\n \"writeLocations\": [\r\n {\r\n \"id\": \"db1024-restored-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://db1024-restored-eastus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"readLocations\": [\r\n {\r\n \"id\": \"db1024-restored-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://db1024-restored-eastus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"locations\": [\r\n {\r\n \"id\": \"db1024-restored-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://db1024-restored-eastus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"failoverPolicies\": [\r\n {\r\n \"id\": \"db1024-restored-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"failoverPriority\": 0\r\n }\r\n ],\r\n \"cors\": [],\r\n \"capabilities\": [],\r\n \"ipRules\": [],\r\n \"backupPolicy\": {\r\n \"type\": \"Continuous\"\r\n },\r\n \"restoreParameters\": {\r\n \"restoreMode\": \"PointInTime\",\r\n \"restoreSource\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/providers/Microsoft.DocumentDB/locations/eastus2/restorableDatabaseAccounts/aca7d453-88a9-4bf2-8abc-46d21553638f\",\r\n \"restoreTimestampInUtc\": \"2020-08-14T01:05:13Z\",\r\n \"databasesToRestore\": []\r\n },\r\n \"networkAclBypassResourceIds\": []\r\n },\r\n \"identity\": {\r\n \"type\": \"None\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/resourceGroups/CosmosDBResourceGroup3668/providers/Microsoft.DocumentDB/databaseAccounts/db9934\",\r\n \"name\": \"db9934\",\r\n \"location\": \"East US 2\",\r\n \"type\": \"Microsoft.DocumentDB/databaseAccounts\",\r\n \"kind\": \"GlobalDocumentDB\",\r\n \"tags\": {},\r\n \"systemData\": {\r\n \"createdAt\": \"2020-07-21T16:06:49.7302308Z\"\r\n },\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"documentEndpoint\": \"https://db9934.documents-staging.windows-ppe.net:443/\",\r\n \"publicNetworkAccess\": \"Enabled\",\r\n \"enableAutomaticFailover\": false,\r\n \"enableMultipleWriteLocations\": false,\r\n \"enablePartitionKeyMonitor\": false,\r\n \"isVirtualNetworkFilterEnabled\": false,\r\n \"virtualNetworkRules\": [],\r\n \"EnabledApiTypes\": \"Sql\",\r\n \"disableKeyBasedMetadataWriteAccess\": false,\r\n \"enableFreeTier\": false,\r\n \"enableAnalyticalStorage\": false,\r\n \"analyticalStorageConfiguration\": null,\r\n \"instanceId\": \"6b94bd1f-70e0-44dc-8bc0-532904a1e36a\",\r\n \"createMode\": \"Default\",\r\n \"databaseAccountOfferType\": \"Standard\",\r\n \"enableCassandraConnector\": false,\r\n \"connectorOffer\": \"\",\r\n \"defaultIdentity\": \"\",\r\n \"networkAclBypass\": \"None\",\r\n \"consistencyPolicy\": {\r\n \"defaultConsistencyLevel\": \"Session\",\r\n \"maxIntervalInSeconds\": 5,\r\n \"maxStalenessPrefix\": 100\r\n },\r\n \"configurationOverrides\": {},\r\n \"writeLocations\": [\r\n {\r\n \"id\": \"db9934-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://db9934-eastus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"readLocations\": [\r\n {\r\n \"id\": \"db9934-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://db9934-eastus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"locations\": [\r\n {\r\n \"id\": \"db9934-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://db9934-eastus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"failoverPolicies\": [\r\n {\r\n \"id\": \"db9934-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"failoverPriority\": 0\r\n }\r\n ],\r\n \"cors\": [],\r\n \"capabilities\": [],\r\n \"ipRules\": [],\r\n \"backupPolicy\": {\r\n \"type\": \"Periodic\",\r\n \"periodicModeProperties\": {\r\n \"backupIntervalInMinutes\": 240,\r\n \"backupRetentionIntervalInHours\": 8,\r\n \"backupStorageRedundancy\": \"Geo\"\r\n }\r\n },\r\n \"networkAclBypassResourceIds\": []\r\n },\r\n \"identity\": {\r\n \"type\": \"None\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/resourceGroups/dech-stage-rg/providers/Microsoft.DocumentDB/databaseAccounts/dech-stage-notebooks\",\r\n \"name\": \"dech-stage-notebooks\",\r\n \"location\": \"East US 2\",\r\n \"type\": \"Microsoft.DocumentDB/databaseAccounts\",\r\n \"kind\": \"GlobalDocumentDB\",\r\n \"tags\": {\r\n \"defaultExperience\": \"Core (SQL)\",\r\n \"hidden-cosmos-mmspecial\": \"\",\r\n \"CosmosAccountType\": \"Non-Production\"\r\n },\r\n \"systemData\": {\r\n \"createdAt\": \"2020-04-28T18:13:54.8273652Z\"\r\n },\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"documentEndpoint\": \"https://dech-stage-notebooks.documents-staging.windows-ppe.net:443/\",\r\n \"publicNetworkAccess\": \"Enabled\",\r\n \"enableAutomaticFailover\": false,\r\n \"enableMultipleWriteLocations\": false,\r\n \"enablePartitionKeyMonitor\": false,\r\n \"isVirtualNetworkFilterEnabled\": false,\r\n \"virtualNetworkRules\": [],\r\n \"EnabledApiTypes\": \"Sql\",\r\n \"disableKeyBasedMetadataWriteAccess\": false,\r\n \"enableFreeTier\": false,\r\n \"enableAnalyticalStorage\": false,\r\n \"analyticalStorageConfiguration\": null,\r\n \"instanceId\": \"9d64f239-3b0a-4264-94bb-44de17b39d45\",\r\n \"createMode\": \"Default\",\r\n \"databaseAccountOfferType\": \"Standard\",\r\n \"enableCassandraConnector\": false,\r\n \"connectorOffer\": \"\",\r\n \"defaultIdentity\": \"\",\r\n \"networkAclBypass\": \"None\",\r\n \"consistencyPolicy\": {\r\n \"defaultConsistencyLevel\": \"Session\",\r\n \"maxIntervalInSeconds\": 5,\r\n \"maxStalenessPrefix\": 100\r\n },\r\n \"configurationOverrides\": {},\r\n \"writeLocations\": [\r\n {\r\n \"id\": \"dech-stage-notebooks-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://dech-stage-notebooks-eastus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"readLocations\": [\r\n {\r\n \"id\": \"dech-stage-notebooks-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://dech-stage-notebooks-eastus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"locations\": [\r\n {\r\n \"id\": \"dech-stage-notebooks-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://dech-stage-notebooks-eastus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"failoverPolicies\": [\r\n {\r\n \"id\": \"dech-stage-notebooks-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"failoverPriority\": 0\r\n }\r\n ],\r\n \"cors\": [],\r\n \"capabilities\": [\r\n {\r\n \"name\": \"EnableStorageAnalytics\"\r\n }\r\n ],\r\n \"ipRules\": [],\r\n \"backupPolicy\": {\r\n \"type\": \"Periodic\",\r\n \"periodicModeProperties\": {\r\n \"backupIntervalInMinutes\": 60,\r\n \"backupRetentionIntervalInHours\": 8,\r\n \"backupStorageRedundancy\": \"Geo\"\r\n }\r\n },\r\n \"networkAclBypassResourceIds\": []\r\n },\r\n \"identity\": {\r\n \"type\": \"None\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/resourceGroups/analytics/providers/Microsoft.DocumentDB/databaseAccounts/byoktest5\",\r\n \"name\": \"byoktest5\",\r\n \"location\": \"East US 2\",\r\n \"type\": \"Microsoft.DocumentDB/databaseAccounts\",\r\n \"kind\": \"GlobalDocumentDB\",\r\n \"tags\": {},\r\n \"systemData\": {\r\n \"createdAt\": \"2020-01-09T17:39:04.0390882Z\"\r\n },\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"documentEndpoint\": \"https://byoktest5.documents-staging.windows-ppe.net:443/\",\r\n \"publicNetworkAccess\": \"Enabled\",\r\n \"enableAutomaticFailover\": false,\r\n \"enableMultipleWriteLocations\": false,\r\n \"enablePartitionKeyMonitor\": false,\r\n \"isVirtualNetworkFilterEnabled\": false,\r\n \"virtualNetworkRules\": [],\r\n \"EnabledApiTypes\": \"Sql\",\r\n \"disableKeyBasedMetadataWriteAccess\": false,\r\n \"enableFreeTier\": false,\r\n \"enableAnalyticalStorage\": false,\r\n \"analyticalStorageConfiguration\": null,\r\n \"instanceId\": \"2eb7236f-d3d6-4ca4-8fc1-2003862d8206\",\r\n \"createMode\": \"Default\",\r\n \"databaseAccountOfferType\": \"Standard\",\r\n \"enableCassandraConnector\": false,\r\n \"connectorOffer\": \"\",\r\n \"defaultIdentity\": \"\",\r\n \"networkAclBypass\": \"None\",\r\n \"consistencyPolicy\": {\r\n \"defaultConsistencyLevel\": \"Session\",\r\n \"maxIntervalInSeconds\": 5,\r\n \"maxStalenessPrefix\": 100\r\n },\r\n \"configurationOverrides\": {},\r\n \"writeLocations\": [\r\n {\r\n \"id\": \"byoktest5-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://byoktest5-eastus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"readLocations\": [\r\n {\r\n \"id\": \"byoktest5-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://byoktest5-eastus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"locations\": [\r\n {\r\n \"id\": \"byoktest5-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://byoktest5-eastus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"failoverPolicies\": [\r\n {\r\n \"id\": \"byoktest5-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"failoverPriority\": 0\r\n }\r\n ],\r\n \"cors\": [],\r\n \"capabilities\": [],\r\n \"ipRules\": [],\r\n \"backupPolicy\": {\r\n \"type\": \"Periodic\",\r\n \"periodicModeProperties\": {\r\n \"backupIntervalInMinutes\": 60,\r\n \"backupRetentionIntervalInHours\": 8,\r\n \"backupStorageRedundancy\": \"Geo\"\r\n }\r\n },\r\n \"networkAclBypassResourceIds\": []\r\n },\r\n \"identity\": {\r\n \"type\": \"None\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/resourceGroups/CANARY/providers/Microsoft.DocumentDB/databaseAccounts/canary-stageeastus2cm1\",\r\n \"name\": \"canary-stageeastus2cm1\",\r\n \"location\": \"East US 2\",\r\n \"type\": \"Microsoft.DocumentDB/databaseAccounts\",\r\n \"kind\": \"DocumentDB\",\r\n \"tags\": {},\r\n \"systemData\": {\r\n \"createdAt\": \"2020-06-12T22:36:13.7558333Z\"\r\n },\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"documentEndpoint\": \"https://canary-stageeastus2cm1.documents-staging.windows-ppe.net:443/\",\r\n \"cassandraEndpoint\": \"https://canary-stageeastus2cm1.cassandra.cosmos.windows-ppe.net:443/\",\r\n \"publicNetworkAccess\": \"Enabled\",\r\n \"enableAutomaticFailover\": false,\r\n \"enableMultipleWriteLocations\": false,\r\n \"enablePartitionKeyMonitor\": false,\r\n \"isVirtualNetworkFilterEnabled\": false,\r\n \"virtualNetworkRules\": [],\r\n \"EnabledApiTypes\": \"Cassandra\",\r\n \"disableKeyBasedMetadataWriteAccess\": false,\r\n \"enableFreeTier\": false,\r\n \"enableAnalyticalStorage\": false,\r\n \"analyticalStorageConfiguration\": null,\r\n \"instanceId\": \"79c5b5d8-41df-4bba-aec9-43decc1adff2\",\r\n \"createMode\": \"Default\",\r\n \"databaseAccountOfferType\": \"Standard\",\r\n \"defaultIdentity\": \"\",\r\n \"networkAclBypass\": \"None\",\r\n \"consistencyPolicy\": {\r\n \"defaultConsistencyLevel\": \"Session\",\r\n \"maxIntervalInSeconds\": 5,\r\n \"maxStalenessPrefix\": 100\r\n },\r\n \"configurationOverrides\": {},\r\n \"writeLocations\": [\r\n {\r\n \"id\": \"canary-stageeastus2cm1-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://canary-stageeastus2cm1-eastus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"readLocations\": [\r\n {\r\n \"id\": \"canary-stageeastus2cm1-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://canary-stageeastus2cm1-eastus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"locations\": [\r\n {\r\n \"id\": \"canary-stageeastus2cm1-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://canary-stageeastus2cm1-eastus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"failoverPolicies\": [\r\n {\r\n \"id\": \"canary-stageeastus2cm1-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"failoverPriority\": 0\r\n }\r\n ],\r\n \"cors\": [],\r\n \"capabilities\": [\r\n {\r\n \"name\": \"EnableCassandra\"\r\n }\r\n ],\r\n \"ipRules\": [],\r\n \"backupPolicy\": {\r\n \"type\": \"Periodic\",\r\n \"periodicModeProperties\": {\r\n \"backupIntervalInMinutes\": 240,\r\n \"backupRetentionIntervalInHours\": 8,\r\n \"backupStorageRedundancy\": \"Geo\"\r\n }\r\n },\r\n \"networkAclBypassResourceIds\": []\r\n },\r\n \"identity\": {\r\n \"type\": \"None\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/resourceGroups/CANARY/providers/Microsoft.DocumentDB/databaseAccounts/canary-stageeastus2fd4\",\r\n \"name\": \"canary-stageeastus2fd4\",\r\n \"location\": \"East US 2\",\r\n \"type\": \"Microsoft.DocumentDB/databaseAccounts\",\r\n \"kind\": \"DocumentDB\",\r\n \"tags\": {},\r\n \"systemData\": {\r\n \"createdAt\": \"2020-06-03T19:07:50.4026599Z\"\r\n },\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"documentEndpoint\": \"https://canary-stageeastus2fd4.documents-staging.windows-ppe.net:443/\",\r\n \"publicNetworkAccess\": \"Enabled\",\r\n \"enableAutomaticFailover\": false,\r\n \"enableMultipleWriteLocations\": false,\r\n \"enablePartitionKeyMonitor\": false,\r\n \"isVirtualNetworkFilterEnabled\": false,\r\n \"virtualNetworkRules\": [],\r\n \"EnabledApiTypes\": \"Sql\",\r\n \"disableKeyBasedMetadataWriteAccess\": false,\r\n \"enableFreeTier\": false,\r\n \"enableAnalyticalStorage\": false,\r\n \"analyticalStorageConfiguration\": null,\r\n \"instanceId\": \"6b9ee587-9b94-4d7a-9acd-f7e42701fc1b\",\r\n \"createMode\": \"Default\",\r\n \"databaseAccountOfferType\": \"Standard\",\r\n \"defaultIdentity\": \"\",\r\n \"networkAclBypass\": \"None\",\r\n \"consistencyPolicy\": {\r\n \"defaultConsistencyLevel\": \"Session\",\r\n \"maxIntervalInSeconds\": 5,\r\n \"maxStalenessPrefix\": 100\r\n },\r\n \"configurationOverrides\": {},\r\n \"writeLocations\": [\r\n {\r\n \"id\": \"canary-stageeastus2fd4-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://canary-stageeastus2fd4-eastus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"readLocations\": [\r\n {\r\n \"id\": \"canary-stageeastus2fd4-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://canary-stageeastus2fd4-eastus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"locations\": [\r\n {\r\n \"id\": \"canary-stageeastus2fd4-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://canary-stageeastus2fd4-eastus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"failoverPolicies\": [\r\n {\r\n \"id\": \"canary-stageeastus2fd4-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"failoverPriority\": 0\r\n }\r\n ],\r\n \"cors\": [],\r\n \"capabilities\": [],\r\n \"ipRules\": [],\r\n \"backupPolicy\": {\r\n \"type\": \"Periodic\",\r\n \"periodicModeProperties\": {\r\n \"backupIntervalInMinutes\": 240,\r\n \"backupRetentionIntervalInHours\": 8,\r\n \"backupStorageRedundancy\": \"Geo\"\r\n }\r\n },\r\n \"networkAclBypassResourceIds\": []\r\n },\r\n \"identity\": {\r\n \"type\": \"None\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/resourceGroups/CANARY/providers/Microsoft.DocumentDB/databaseAccounts/canary-stageeastus2fe1\",\r\n \"name\": \"canary-stageeastus2fe1\",\r\n \"location\": \"East US 2\",\r\n \"type\": \"Microsoft.DocumentDB/databaseAccounts\",\r\n \"kind\": \"GlobalDocumentDB\",\r\n \"tags\": {\r\n \"defaultExperience\": \"Cassandra\",\r\n \"hidden-cosmos-mmspecial\": \"\",\r\n \"CosmosAccountType\": \"Non-Production\"\r\n },\r\n \"systemData\": {\r\n \"createdAt\": \"2020-07-31T06:06:49.1435223Z\"\r\n },\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"documentEndpoint\": \"https://canary-stageeastus2fe1.documents-staging.windows-ppe.net:443/\",\r\n \"cassandraEndpoint\": \"https://canary-stageeastus2fe1.cassandra.cosmos.windows-ppe.net:443/\",\r\n \"publicNetworkAccess\": \"Enabled\",\r\n \"enableAutomaticFailover\": false,\r\n \"enableMultipleWriteLocations\": false,\r\n \"enablePartitionKeyMonitor\": false,\r\n \"isVirtualNetworkFilterEnabled\": false,\r\n \"virtualNetworkRules\": [],\r\n \"EnabledApiTypes\": \"Cassandra\",\r\n \"disableKeyBasedMetadataWriteAccess\": false,\r\n \"enableFreeTier\": false,\r\n \"enableAnalyticalStorage\": false,\r\n \"analyticalStorageConfiguration\": null,\r\n \"instanceId\": \"af1ed8f0-b965-49c7-941c-758f32aef03f\",\r\n \"createMode\": \"Default\",\r\n \"databaseAccountOfferType\": \"Standard\",\r\n \"enableCassandraConnector\": false,\r\n \"connectorOffer\": \"\",\r\n \"defaultIdentity\": \"\",\r\n \"networkAclBypass\": \"None\",\r\n \"consistencyPolicy\": {\r\n \"defaultConsistencyLevel\": \"Session\",\r\n \"maxIntervalInSeconds\": 5,\r\n \"maxStalenessPrefix\": 100\r\n },\r\n \"configurationOverrides\": {},\r\n \"writeLocations\": [\r\n {\r\n \"id\": \"canary-stageeastus2fe1-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://canary-stageeastus2fe1-eastus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"readLocations\": [\r\n {\r\n \"id\": \"canary-stageeastus2fe1-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://canary-stageeastus2fe1-eastus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"locations\": [\r\n {\r\n \"id\": \"canary-stageeastus2fe1-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://canary-stageeastus2fe1-eastus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"failoverPolicies\": [\r\n {\r\n \"id\": \"canary-stageeastus2fe1-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"failoverPriority\": 0\r\n }\r\n ],\r\n \"cors\": [],\r\n \"capabilities\": [\r\n {\r\n \"name\": \"EnableCassandra\"\r\n }\r\n ],\r\n \"ipRules\": [],\r\n \"backupPolicy\": {\r\n \"type\": \"Periodic\",\r\n \"periodicModeProperties\": {\r\n \"backupIntervalInMinutes\": 240,\r\n \"backupRetentionIntervalInHours\": 8,\r\n \"backupStorageRedundancy\": \"Geo\"\r\n }\r\n },\r\n \"networkAclBypassResourceIds\": []\r\n },\r\n \"identity\": {\r\n \"type\": \"None\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/resourceGroups/dox-staging/providers/Microsoft.DocumentDB/databaseAccounts/dox-stage-table4\",\r\n \"name\": \"dox-stage-table4\",\r\n \"location\": \"East US 2\",\r\n \"type\": \"Microsoft.DocumentDB/databaseAccounts\",\r\n \"kind\": \"GlobalDocumentDB\",\r\n \"tags\": {\r\n \"defaultExperience\": \"Azure Table\"\r\n },\r\n \"systemData\": {\r\n \"createdAt\": \"2019-06-06T23:49:18.9073805Z\"\r\n },\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"documentEndpoint\": \"https://dox-stage-table4.documents-staging.windows-ppe.net:443/\",\r\n \"tableEndpoint\": \"https://dox-stage-table4.table.cosmos.windows-ppe.net:443/\",\r\n \"publicNetworkAccess\": \"Enabled\",\r\n \"enableAutomaticFailover\": false,\r\n \"enableMultipleWriteLocations\": false,\r\n \"enablePartitionKeyMonitor\": false,\r\n \"isVirtualNetworkFilterEnabled\": false,\r\n \"virtualNetworkRules\": [],\r\n \"EnabledApiTypes\": \"Table, Sql\",\r\n \"disableKeyBasedMetadataWriteAccess\": false,\r\n \"enableFreeTier\": false,\r\n \"enableAnalyticalStorage\": false,\r\n \"analyticalStorageConfiguration\": null,\r\n \"instanceId\": \"34eed354-a07b-4f22-8687-59627c9eeb14\",\r\n \"createMode\": \"Default\",\r\n \"databaseAccountOfferType\": \"Standard\",\r\n \"defaultIdentity\": \"\",\r\n \"networkAclBypass\": \"None\",\r\n \"consistencyPolicy\": {\r\n \"defaultConsistencyLevel\": \"BoundedStaleness\",\r\n \"maxIntervalInSeconds\": 86400,\r\n \"maxStalenessPrefix\": 1000000\r\n },\r\n \"configurationOverrides\": {},\r\n \"writeLocations\": [\r\n {\r\n \"id\": \"dox-stage-table4-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://dox-stage-table4-eastus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"readLocations\": [\r\n {\r\n \"id\": \"dox-stage-table4-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://dox-stage-table4-eastus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"locations\": [\r\n {\r\n \"id\": \"dox-stage-table4-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://dox-stage-table4-eastus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"failoverPolicies\": [\r\n {\r\n \"id\": \"dox-stage-table4-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"failoverPriority\": 0\r\n }\r\n ],\r\n \"cors\": [],\r\n \"capabilities\": [\r\n {\r\n \"name\": \"EnableTable\"\r\n }\r\n ],\r\n \"ipRules\": [],\r\n \"backupPolicy\": {\r\n \"type\": \"Periodic\",\r\n \"periodicModeProperties\": {\r\n \"backupIntervalInMinutes\": 240,\r\n \"backupRetentionIntervalInHours\": 8,\r\n \"backupStorageRedundancy\": \"Geo\"\r\n }\r\n },\r\n \"networkAclBypassResourceIds\": []\r\n },\r\n \"identity\": {\r\n \"type\": \"None\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/resourceGroups/akgoe-test-rg/providers/Microsoft.DocumentDB/databaseAccounts/dss-framework-dev2\",\r\n \"name\": \"dss-framework-dev2\",\r\n \"location\": \"East US 2\",\r\n \"type\": \"Microsoft.DocumentDB/databaseAccounts\",\r\n \"kind\": \"MongoDB\",\r\n \"tags\": {},\r\n \"systemData\": {\r\n \"createdAt\": \"2020-06-02T21:02:11.3339727Z\"\r\n },\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"documentEndpoint\": \"https://dss-framework-dev2.documents-staging.windows-ppe.net:443/\",\r\n \"mongoEndpoint\": \"https://dss-framework-dev2.mongo.cosmos.windows-ppe.net:443/\",\r\n \"publicNetworkAccess\": \"Enabled\",\r\n \"enableAutomaticFailover\": false,\r\n \"enableMultipleWriteLocations\": false,\r\n \"enablePartitionKeyMonitor\": false,\r\n \"isVirtualNetworkFilterEnabled\": false,\r\n \"virtualNetworkRules\": [],\r\n \"EnabledApiTypes\": \"MongoDB\",\r\n \"disableKeyBasedMetadataWriteAccess\": false,\r\n \"enableFreeTier\": false,\r\n \"enableAnalyticalStorage\": false,\r\n \"analyticalStorageConfiguration\": null,\r\n \"instanceId\": \"10715fcd-f0ca-4941-af9d-5dcdeb599977\",\r\n \"createMode\": \"Default\",\r\n \"databaseAccountOfferType\": \"Standard\",\r\n \"enableCassandraConnector\": false,\r\n \"connectorOffer\": \"\",\r\n \"defaultIdentity\": \"\",\r\n \"networkAclBypass\": \"None\",\r\n \"consistencyPolicy\": {\r\n \"defaultConsistencyLevel\": \"Session\",\r\n \"maxIntervalInSeconds\": 5,\r\n \"maxStalenessPrefix\": 100\r\n },\r\n \"apiProperties\": {\r\n \"serverVersion\": \"3.6\"\r\n },\r\n \"configurationOverrides\": {\r\n \"EnableBsonSchema\": \"True\"\r\n },\r\n \"writeLocations\": [\r\n {\r\n \"id\": \"dss-framework-dev2-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://dss-framework-dev2-eastus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"readLocations\": [\r\n {\r\n \"id\": \"dss-framework-dev2-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://dss-framework-dev2-eastus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"locations\": [\r\n {\r\n \"id\": \"dss-framework-dev2-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://dss-framework-dev2-eastus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"failoverPolicies\": [\r\n {\r\n \"id\": \"dss-framework-dev2-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"failoverPriority\": 0\r\n }\r\n ],\r\n \"cors\": [],\r\n \"capabilities\": [\r\n {\r\n \"name\": \"EnableMongo\"\r\n }\r\n ],\r\n \"ipRules\": [],\r\n \"backupPolicy\": {\r\n \"type\": \"Periodic\",\r\n \"periodicModeProperties\": {\r\n \"backupIntervalInMinutes\": 60,\r\n \"backupRetentionIntervalInHours\": 8,\r\n \"backupStorageRedundancy\": \"Geo\"\r\n }\r\n },\r\n \"networkAclBypassResourceIds\": []\r\n },\r\n \"identity\": {\r\n \"type\": \"None\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/resourceGroups/cv2_stage_eastus2_danguy_rg/providers/Microsoft.DocumentDB/databaseAccounts/en20200515-signoff-core-danguy\",\r\n \"name\": \"en20200515-signoff-core-danguy\",\r\n \"location\": \"East US 2\",\r\n \"type\": \"Microsoft.DocumentDB/databaseAccounts\",\r\n \"kind\": \"GlobalDocumentDB\",\r\n \"tags\": {\r\n \"defaultExperience\": \"Core (SQL)\",\r\n \"hidden-cosmos-mmspecial\": \"\",\r\n \"CosmosAccountType\": \"Non-Production\"\r\n },\r\n \"systemData\": {\r\n \"createdAt\": \"2020-05-27T17:17:02.0831479Z\"\r\n },\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"documentEndpoint\": \"https://en20200515-signoff-core-danguy.documents-staging.windows-ppe.net:443/\",\r\n \"publicNetworkAccess\": \"Enabled\",\r\n \"enableAutomaticFailover\": false,\r\n \"enableMultipleWriteLocations\": false,\r\n \"enablePartitionKeyMonitor\": false,\r\n \"isVirtualNetworkFilterEnabled\": false,\r\n \"virtualNetworkRules\": [],\r\n \"EnabledApiTypes\": \"Sql\",\r\n \"disableKeyBasedMetadataWriteAccess\": false,\r\n \"enableFreeTier\": false,\r\n \"enableAnalyticalStorage\": false,\r\n \"analyticalStorageConfiguration\": null,\r\n \"instanceId\": \"8020bef5-046c-48d2-a6c0-21bf6fbacef6\",\r\n \"createMode\": \"Default\",\r\n \"databaseAccountOfferType\": \"Standard\",\r\n \"enableCassandraConnector\": false,\r\n \"connectorOffer\": \"\",\r\n \"defaultIdentity\": \"\",\r\n \"networkAclBypass\": \"None\",\r\n \"consistencyPolicy\": {\r\n \"defaultConsistencyLevel\": \"Session\",\r\n \"maxIntervalInSeconds\": 5,\r\n \"maxStalenessPrefix\": 100\r\n },\r\n \"configurationOverrides\": {},\r\n \"writeLocations\": [\r\n {\r\n \"id\": \"en20200515-signoff-core-danguy-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://en20200515-signoff-core-danguy-eastus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"readLocations\": [\r\n {\r\n \"id\": \"en20200515-signoff-core-danguy-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://en20200515-signoff-core-danguy-eastus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"locations\": [\r\n {\r\n \"id\": \"en20200515-signoff-core-danguy-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://en20200515-signoff-core-danguy-eastus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"failoverPolicies\": [\r\n {\r\n \"id\": \"en20200515-signoff-core-danguy-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"failoverPriority\": 0\r\n }\r\n ],\r\n \"cors\": [],\r\n \"capabilities\": [],\r\n \"ipRules\": [],\r\n \"backupPolicy\": {\r\n \"type\": \"Periodic\",\r\n \"periodicModeProperties\": {\r\n \"backupIntervalInMinutes\": 60,\r\n \"backupRetentionIntervalInHours\": 8,\r\n \"backupStorageRedundancy\": \"Geo\"\r\n }\r\n },\r\n \"networkAclBypassResourceIds\": []\r\n },\r\n \"identity\": {\r\n \"type\": \"None\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/resourceGroups/abinav_stage_rg/providers/Microsoft.DocumentDB/databaseAccounts/fedtabletest\",\r\n \"name\": \"fedtabletest\",\r\n \"location\": \"East US 2\",\r\n \"type\": \"Microsoft.DocumentDB/databaseAccounts\",\r\n \"kind\": \"GlobalDocumentDB\",\r\n \"tags\": {\r\n \"defaultExperience\": \"Core (SQL)\",\r\n \"hidden-cosmos-mmspecial\": \"\"\r\n },\r\n \"systemData\": {\r\n \"createdAt\": \"2020-02-21T00:17:37.9555992Z\"\r\n },\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"documentEndpoint\": \"https://fedtabletest.documents-staging.windows-ppe.net:443/\",\r\n \"publicNetworkAccess\": \"Enabled\",\r\n \"enableAutomaticFailover\": false,\r\n \"enableMultipleWriteLocations\": false,\r\n \"enablePartitionKeyMonitor\": false,\r\n \"isVirtualNetworkFilterEnabled\": false,\r\n \"virtualNetworkRules\": [],\r\n \"EnabledApiTypes\": \"Sql\",\r\n \"disableKeyBasedMetadataWriteAccess\": false,\r\n \"enableFreeTier\": false,\r\n \"enableAnalyticalStorage\": false,\r\n \"analyticalStorageConfiguration\": null,\r\n \"instanceId\": \"1a553612-09f8-430a-b940-1f0276b6701b\",\r\n \"createMode\": \"Default\",\r\n \"databaseAccountOfferType\": \"Standard\",\r\n \"enableCassandraConnector\": false,\r\n \"connectorOffer\": \"\",\r\n \"defaultIdentity\": \"\",\r\n \"networkAclBypass\": \"None\",\r\n \"consistencyPolicy\": {\r\n \"defaultConsistencyLevel\": \"Session\",\r\n \"maxIntervalInSeconds\": 5,\r\n \"maxStalenessPrefix\": 100\r\n },\r\n \"configurationOverrides\": {},\r\n \"writeLocations\": [\r\n {\r\n \"id\": \"fedtabletest-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://fedtabletest-eastus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"readLocations\": [\r\n {\r\n \"id\": \"fedtabletest-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://fedtabletest-eastus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"locations\": [\r\n {\r\n \"id\": \"fedtabletest-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://fedtabletest-eastus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"failoverPolicies\": [\r\n {\r\n \"id\": \"fedtabletest-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"failoverPriority\": 0\r\n }\r\n ],\r\n \"cors\": [],\r\n \"capabilities\": [\r\n {\r\n \"name\": \"EnableStorageAnalytics\"\r\n }\r\n ],\r\n \"ipRules\": [],\r\n \"backupPolicy\": {\r\n \"type\": \"Periodic\",\r\n \"periodicModeProperties\": {\r\n \"backupIntervalInMinutes\": 60,\r\n \"backupRetentionIntervalInHours\": 8,\r\n \"backupStorageRedundancy\": \"Geo\"\r\n }\r\n },\r\n \"networkAclBypassResourceIds\": []\r\n },\r\n \"identity\": {\r\n \"type\": \"None\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/resourceGroups/akshanka-cassandratestrg/providers/Microsoft.DocumentDB/databaseAccounts/cassandrasignoffeastus2\",\r\n \"name\": \"cassandrasignoffeastus2\",\r\n \"location\": \"East US 2\",\r\n \"type\": \"Microsoft.DocumentDB/databaseAccounts\",\r\n \"kind\": \"GlobalDocumentDB\",\r\n \"tags\": {\r\n \"defaultExperience\": \"Cassandra\",\r\n \"hidden-cosmos-mmspecial\": \"\",\r\n \"CosmosAccountType\": \"Non-Production\"\r\n },\r\n \"systemData\": {\r\n \"createdAt\": \"2020-10-01T15:00:49.817052Z\"\r\n },\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"documentEndpoint\": \"https://cassandrasignoffeastus2.documents-staging.windows-ppe.net:443/\",\r\n \"cassandraEndpoint\": \"https://cassandrasignoffeastus2.cassandra.cosmos.windows-ppe.net:443/\",\r\n \"publicNetworkAccess\": \"Enabled\",\r\n \"enableAutomaticFailover\": false,\r\n \"enableMultipleWriteLocations\": false,\r\n \"enablePartitionKeyMonitor\": false,\r\n \"isVirtualNetworkFilterEnabled\": false,\r\n \"virtualNetworkRules\": [],\r\n \"EnabledApiTypes\": \"Cassandra\",\r\n \"disableKeyBasedMetadataWriteAccess\": false,\r\n \"enableFreeTier\": false,\r\n \"enableAnalyticalStorage\": false,\r\n \"analyticalStorageConfiguration\": null,\r\n \"instanceId\": \"3fa6f47f-5d50-4bc8-84a5-2af9ced2d098\",\r\n \"createMode\": \"Default\",\r\n \"databaseAccountOfferType\": \"Standard\",\r\n \"enableCassandraConnector\": false,\r\n \"connectorOffer\": \"\",\r\n \"defaultIdentity\": \"\",\r\n \"networkAclBypass\": \"None\",\r\n \"consistencyPolicy\": {\r\n \"defaultConsistencyLevel\": \"Session\",\r\n \"maxIntervalInSeconds\": 5,\r\n \"maxStalenessPrefix\": 100\r\n },\r\n \"configurationOverrides\": {},\r\n \"writeLocations\": [\r\n {\r\n \"id\": \"cassandrasignoffeastus2-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://cassandrasignoffeastus2-eastus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"readLocations\": [\r\n {\r\n \"id\": \"cassandrasignoffeastus2-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://cassandrasignoffeastus2-eastus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"locations\": [\r\n {\r\n \"id\": \"cassandrasignoffeastus2-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://cassandrasignoffeastus2-eastus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"failoverPolicies\": [\r\n {\r\n \"id\": \"cassandrasignoffeastus2-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"failoverPriority\": 0\r\n }\r\n ],\r\n \"cors\": [],\r\n \"capabilities\": [\r\n {\r\n \"name\": \"EnableCassandra\"\r\n }\r\n ],\r\n \"ipRules\": [],\r\n \"backupPolicy\": {\r\n \"type\": \"Periodic\",\r\n \"periodicModeProperties\": {\r\n \"backupIntervalInMinutes\": 240,\r\n \"backupRetentionIntervalInHours\": 8,\r\n \"backupStorageRedundancy\": \"Geo\"\r\n }\r\n },\r\n \"networkAclBypassResourceIds\": []\r\n },\r\n \"identity\": {\r\n \"type\": \"None\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/resourceGroups/flnarenjrg/providers/Microsoft.DocumentDB/databaseAccounts/flnarenj-synstage\",\r\n \"name\": \"flnarenj-synstage\",\r\n \"location\": \"East US 2\",\r\n \"type\": \"Microsoft.DocumentDB/databaseAccounts\",\r\n \"kind\": \"MongoDB\",\r\n \"tags\": {},\r\n \"systemData\": {\r\n \"createdAt\": \"2020-05-13T03:12:58.7424629Z\"\r\n },\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"documentEndpoint\": \"https://flnarenj-synstage.documents-staging.windows-ppe.net:443/\",\r\n \"mongoEndpoint\": \"https://flnarenj-synstage.mongo.cosmos.windows-ppe.net:443/\",\r\n \"publicNetworkAccess\": \"Enabled\",\r\n \"enableAutomaticFailover\": false,\r\n \"enableMultipleWriteLocations\": true,\r\n \"enablePartitionKeyMonitor\": false,\r\n \"isVirtualNetworkFilterEnabled\": false,\r\n \"virtualNetworkRules\": [],\r\n \"EnabledApiTypes\": \"MongoDB\",\r\n \"disableKeyBasedMetadataWriteAccess\": false,\r\n \"enableFreeTier\": false,\r\n \"enableAnalyticalStorage\": false,\r\n \"analyticalStorageConfiguration\": null,\r\n \"instanceId\": \"58e1ba71-b7cc-4a41-80fe-27ec11f62a05\",\r\n \"createMode\": \"Default\",\r\n \"databaseAccountOfferType\": \"Standard\",\r\n \"enableCassandraConnector\": false,\r\n \"connectorOffer\": \"\",\r\n \"defaultIdentity\": \"\",\r\n \"networkAclBypass\": \"None\",\r\n \"consistencyPolicy\": {\r\n \"defaultConsistencyLevel\": \"Session\",\r\n \"maxIntervalInSeconds\": 5,\r\n \"maxStalenessPrefix\": 100\r\n },\r\n \"apiProperties\": {\r\n \"serverVersion\": \"3.6\"\r\n },\r\n \"configurationOverrides\": {\r\n \"EnableBsonSchema\": \"True\"\r\n },\r\n \"writeLocations\": [\r\n {\r\n \"id\": \"flnarenj-synstage-southeastasia\",\r\n \"locationName\": \"Southeast Asia\",\r\n \"documentEndpoint\": \"https://flnarenj-synstage-southeastasia.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"readLocations\": [\r\n {\r\n \"id\": \"flnarenj-synstage-southeastasia\",\r\n \"locationName\": \"Southeast Asia\",\r\n \"documentEndpoint\": \"https://flnarenj-synstage-southeastasia.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"locations\": [\r\n {\r\n \"id\": \"flnarenj-synstage-southeastasia\",\r\n \"locationName\": \"Southeast Asia\",\r\n \"documentEndpoint\": \"https://flnarenj-synstage-southeastasia.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"failoverPolicies\": [\r\n {\r\n \"id\": \"flnarenj-synstage-southeastasia\",\r\n \"locationName\": \"Southeast Asia\",\r\n \"failoverPriority\": 0\r\n }\r\n ],\r\n \"cors\": [],\r\n \"capabilities\": [\r\n {\r\n \"name\": \"EnableMongo\"\r\n }\r\n ],\r\n \"ipRules\": [],\r\n \"backupPolicy\": {\r\n \"type\": \"Periodic\",\r\n \"periodicModeProperties\": {\r\n \"backupIntervalInMinutes\": 60,\r\n \"backupRetentionIntervalInHours\": 8,\r\n \"backupStorageRedundancy\": \"Geo\"\r\n }\r\n },\r\n \"networkAclBypassResourceIds\": []\r\n },\r\n \"identity\": {\r\n \"type\": \"None\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/resourceGroups/abinav_stage_rg/providers/Microsoft.DocumentDB/databaseAccounts/graphstage3\",\r\n \"name\": \"graphstage3\",\r\n \"location\": \"East US 2\",\r\n \"type\": \"Microsoft.DocumentDB/databaseAccounts\",\r\n \"kind\": \"GlobalDocumentDB\",\r\n \"tags\": {\r\n \"defaultExperience\": \"Graph\"\r\n },\r\n \"systemData\": {\r\n \"createdAt\": \"2018-11-09T15:33:27.8548964Z\"\r\n },\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"documentEndpoint\": \"https://graphstage3.documents-staging.windows-ppe.net:443/\",\r\n \"gremlinEndpoint\": \"https://graphstage3.gremlin.cosmosdb.windows-ppe.net:443/\",\r\n \"publicNetworkAccess\": \"Enabled\",\r\n \"enableAutomaticFailover\": false,\r\n \"enableMultipleWriteLocations\": true,\r\n \"enablePartitionKeyMonitor\": false,\r\n \"isVirtualNetworkFilterEnabled\": false,\r\n \"virtualNetworkRules\": [],\r\n \"EnabledApiTypes\": \"Gremlin, Sql\",\r\n \"disableKeyBasedMetadataWriteAccess\": false,\r\n \"enableFreeTier\": false,\r\n \"enableAnalyticalStorage\": false,\r\n \"analyticalStorageConfiguration\": null,\r\n \"instanceId\": \"cc3fc002-9392-4077-865c-d6a9907be8c7\",\r\n \"createMode\": \"Default\",\r\n \"databaseAccountOfferType\": \"Standard\",\r\n \"defaultIdentity\": \"\",\r\n \"networkAclBypass\": \"None\",\r\n \"consistencyPolicy\": {\r\n \"defaultConsistencyLevel\": \"Session\",\r\n \"maxIntervalInSeconds\": 5,\r\n \"maxStalenessPrefix\": 100\r\n },\r\n \"configurationOverrides\": {},\r\n \"writeLocations\": [\r\n {\r\n \"id\": \"graphstage3-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://graphstage3-eastus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"readLocations\": [\r\n {\r\n \"id\": \"graphstage3-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://graphstage3-eastus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"locations\": [\r\n {\r\n \"id\": \"graphstage3-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://graphstage3-eastus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"failoverPolicies\": [\r\n {\r\n \"id\": \"graphstage3-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"failoverPriority\": 0\r\n }\r\n ],\r\n \"cors\": [],\r\n \"capabilities\": [\r\n {\r\n \"name\": \"EnableGremlin\"\r\n }\r\n ],\r\n \"ipRules\": [],\r\n \"backupPolicy\": {\r\n \"type\": \"Periodic\",\r\n \"periodicModeProperties\": {\r\n \"backupIntervalInMinutes\": 240,\r\n \"backupRetentionIntervalInHours\": 8,\r\n \"backupStorageRedundancy\": \"Geo\"\r\n }\r\n },\r\n \"networkAclBypassResourceIds\": []\r\n },\r\n \"identity\": {\r\n \"type\": \"None\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/resourceGroups/analytics/providers/Microsoft.DocumentDB/databaseAccounts/cassandratest1016\",\r\n \"name\": \"cassandratest1016\",\r\n \"location\": \"East US 2\",\r\n \"type\": \"Microsoft.DocumentDB/databaseAccounts\",\r\n \"kind\": \"GlobalDocumentDB\",\r\n \"tags\": {},\r\n \"systemData\": {\r\n \"createdAt\": \"2019-10-16T19:01:11.0295362Z\"\r\n },\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"documentEndpoint\": \"https://cassandratest1016.documents-staging.windows-ppe.net:443/\",\r\n \"cassandraEndpoint\": \"https://cassandratest1016.cassandra.cosmos.windows-ppe.net:443/\",\r\n \"publicNetworkAccess\": \"Enabled\",\r\n \"enableAutomaticFailover\": false,\r\n \"enableMultipleWriteLocations\": false,\r\n \"enablePartitionKeyMonitor\": false,\r\n \"isVirtualNetworkFilterEnabled\": false,\r\n \"virtualNetworkRules\": [],\r\n \"EnabledApiTypes\": \"Cassandra\",\r\n \"disableKeyBasedMetadataWriteAccess\": false,\r\n \"enableFreeTier\": false,\r\n \"enableAnalyticalStorage\": false,\r\n \"analyticalStorageConfiguration\": null,\r\n \"instanceId\": \"c661d521-101a-4ad2-ae4e-5306157d657b\",\r\n \"createMode\": \"Default\",\r\n \"databaseAccountOfferType\": \"Standard\",\r\n \"enableCassandraConnector\": false,\r\n \"connectorOffer\": \"\",\r\n \"defaultIdentity\": \"\",\r\n \"networkAclBypass\": \"None\",\r\n \"consistencyPolicy\": {\r\n \"defaultConsistencyLevel\": \"Session\",\r\n \"maxIntervalInSeconds\": 5,\r\n \"maxStalenessPrefix\": 100\r\n },\r\n \"configurationOverrides\": {},\r\n \"writeLocations\": [\r\n {\r\n \"id\": \"cassandratest1016-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://cassandratest1016-eastus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"readLocations\": [\r\n {\r\n \"id\": \"cassandratest1016-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://cassandratest1016-eastus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"locations\": [\r\n {\r\n \"id\": \"cassandratest1016-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://cassandratest1016-eastus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"failoverPolicies\": [\r\n {\r\n \"id\": \"cassandratest1016-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"failoverPriority\": 0\r\n }\r\n ],\r\n \"cors\": [],\r\n \"capabilities\": [\r\n {\r\n \"name\": \"EnableStorageAnalytics\"\r\n },\r\n {\r\n \"name\": \"EnableCassandra\"\r\n }\r\n ],\r\n \"ipRules\": [],\r\n \"backupPolicy\": {\r\n \"type\": \"Periodic\",\r\n \"periodicModeProperties\": {\r\n \"backupIntervalInMinutes\": 60,\r\n \"backupRetentionIntervalInHours\": 8,\r\n \"backupStorageRedundancy\": \"Geo\"\r\n }\r\n },\r\n \"networkAclBypassResourceIds\": []\r\n },\r\n \"identity\": {\r\n \"type\": \"None\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/resourceGroups/cassandra-stage-signoff/providers/Microsoft.DocumentDB/databaseAccounts/cassandratester2\",\r\n \"name\": \"cassandratester2\",\r\n \"location\": \"East US 2\",\r\n \"type\": \"Microsoft.DocumentDB/databaseAccounts\",\r\n \"kind\": \"GlobalDocumentDB\",\r\n \"tags\": {\r\n \"defaultExperience\": \"Cassandra\",\r\n \"hidden-cosmos-mmspecial\": \"\",\r\n \"CosmosAccountType\": \"Non-Production\"\r\n },\r\n \"systemData\": {\r\n \"createdAt\": \"2020-06-04T02:29:16.5753054Z\"\r\n },\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"documentEndpoint\": \"https://cassandratester2.documents-staging.windows-ppe.net:443/\",\r\n \"cassandraEndpoint\": \"https://cassandratester2.cassandra.cosmos.windows-ppe.net:443/\",\r\n \"publicNetworkAccess\": \"Enabled\",\r\n \"enableAutomaticFailover\": false,\r\n \"enableMultipleWriteLocations\": false,\r\n \"enablePartitionKeyMonitor\": false,\r\n \"isVirtualNetworkFilterEnabled\": false,\r\n \"virtualNetworkRules\": [],\r\n \"EnabledApiTypes\": \"Cassandra\",\r\n \"disableKeyBasedMetadataWriteAccess\": false,\r\n \"enableFreeTier\": false,\r\n \"enableAnalyticalStorage\": false,\r\n \"analyticalStorageConfiguration\": null,\r\n \"instanceId\": \"4b557ef1-10c4-48a3-95f5-d11b4840fa75\",\r\n \"createMode\": \"Default\",\r\n \"databaseAccountOfferType\": \"Standard\",\r\n \"enableCassandraConnector\": false,\r\n \"connectorOffer\": \"\",\r\n \"defaultIdentity\": \"\",\r\n \"networkAclBypass\": \"None\",\r\n \"consistencyPolicy\": {\r\n \"defaultConsistencyLevel\": \"Session\",\r\n \"maxIntervalInSeconds\": 5,\r\n \"maxStalenessPrefix\": 100\r\n },\r\n \"configurationOverrides\": {},\r\n \"writeLocations\": [\r\n {\r\n \"id\": \"cassandratester2-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://cassandratester2-eastus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"readLocations\": [\r\n {\r\n \"id\": \"cassandratester2-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://cassandratester2-eastus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"locations\": [\r\n {\r\n \"id\": \"cassandratester2-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://cassandratester2-eastus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"failoverPolicies\": [\r\n {\r\n \"id\": \"cassandratester2-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"failoverPriority\": 0\r\n }\r\n ],\r\n \"cors\": [],\r\n \"capabilities\": [\r\n {\r\n \"name\": \"EnableCassandra\"\r\n }\r\n ],\r\n \"ipRules\": [],\r\n \"backupPolicy\": {\r\n \"type\": \"Periodic\",\r\n \"periodicModeProperties\": {\r\n \"backupIntervalInMinutes\": 60,\r\n \"backupRetentionIntervalInHours\": 8,\r\n \"backupStorageRedundancy\": \"Geo\"\r\n }\r\n },\r\n \"networkAclBypassResourceIds\": []\r\n },\r\n \"identity\": {\r\n \"type\": \"None\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/resourceGroups/ccxstagevalidationrg/providers/Microsoft.DocumentDB/databaseAccounts/ccx-stage-bhba-donotdelete\",\r\n \"name\": \"ccx-stage-bhba-donotdelete\",\r\n \"location\": \"East US 2\",\r\n \"type\": \"Microsoft.DocumentDB/databaseAccounts\",\r\n \"kind\": \"GlobalDocumentDB\",\r\n \"tags\": {\r\n \"defaultExperience\": \"Cassandra\"\r\n },\r\n \"systemData\": {\r\n \"createdAt\": \"2019-10-17T03:38:39.1048198Z\"\r\n },\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"documentEndpoint\": \"https://ccx-stage-bhba-donotdelete.documents-staging.windows-ppe.net:443/\",\r\n \"cassandraEndpoint\": \"https://ccx-stage-bhba-donotdelete.cassandra.cosmos.windows-ppe.net:443/\",\r\n \"publicNetworkAccess\": \"Enabled\",\r\n \"enableAutomaticFailover\": false,\r\n \"enableMultipleWriteLocations\": false,\r\n \"enablePartitionKeyMonitor\": false,\r\n \"isVirtualNetworkFilterEnabled\": false,\r\n \"virtualNetworkRules\": [],\r\n \"EnabledApiTypes\": \"Cassandra\",\r\n \"disableKeyBasedMetadataWriteAccess\": false,\r\n \"enableFreeTier\": false,\r\n \"enableAnalyticalStorage\": false,\r\n \"analyticalStorageConfiguration\": null,\r\n \"instanceId\": \"a20d51f4-b84e-414a-8ee1-f3dcf217fac7\",\r\n \"createMode\": \"Default\",\r\n \"databaseAccountOfferType\": \"Standard\",\r\n \"enableCassandraConnector\": true,\r\n \"connectorOffer\": \"small\",\r\n \"defaultIdentity\": \"\",\r\n \"networkAclBypass\": \"None\",\r\n \"consistencyPolicy\": {\r\n \"defaultConsistencyLevel\": \"Session\",\r\n \"maxIntervalInSeconds\": 5,\r\n \"maxStalenessPrefix\": 100\r\n },\r\n \"configurationOverrides\": {},\r\n \"writeLocations\": [\r\n {\r\n \"id\": \"ccx-stage-bhba-donotdelete-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://ccx-stage-bhba-donotdelete-eastus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"readLocations\": [\r\n {\r\n \"id\": \"ccx-stage-bhba-donotdelete-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://ccx-stage-bhba-donotdelete-eastus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"locations\": [\r\n {\r\n \"id\": \"ccx-stage-bhba-donotdelete-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://ccx-stage-bhba-donotdelete-eastus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"failoverPolicies\": [\r\n {\r\n \"id\": \"ccx-stage-bhba-donotdelete-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"failoverPriority\": 0\r\n }\r\n ],\r\n \"cors\": [],\r\n \"capabilities\": [\r\n {\r\n \"name\": \"EnableCassandra\"\r\n }\r\n ],\r\n \"ipRules\": [],\r\n \"backupPolicy\": {\r\n \"type\": \"Periodic\",\r\n \"periodicModeProperties\": {\r\n \"backupIntervalInMinutes\": 60,\r\n \"backupRetentionIntervalInHours\": 8,\r\n \"backupStorageRedundancy\": \"Geo\"\r\n }\r\n },\r\n \"networkAclBypassResourceIds\": []\r\n },\r\n \"identity\": {\r\n \"type\": \"None\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/resourceGroups/gremlin-staging/providers/Microsoft.DocumentDB/databaseAccounts/gremlin-staging-eastus2\",\r\n \"name\": \"gremlin-staging-eastus2\",\r\n \"location\": \"East US 2\",\r\n \"type\": \"Microsoft.DocumentDB/databaseAccounts\",\r\n \"kind\": \"GlobalDocumentDB\",\r\n \"tags\": {\r\n \"defaultExperience\": \"Gremlin (graph)\",\r\n \"hidden-cosmos-mmspecial\": \"\",\r\n \"CosmosAccountType\": \"Non-Production\"\r\n },\r\n \"systemData\": {\r\n \"createdAt\": \"2020-08-13T21:23:54.6477533Z\"\r\n },\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"documentEndpoint\": \"https://gremlin-staging-eastus2.documents-staging.windows-ppe.net:443/\",\r\n \"gremlinEndpoint\": \"https://gremlin-staging-eastus2.gremlin.cosmos.windows-ppe.net:443/\",\r\n \"publicNetworkAccess\": \"Enabled\",\r\n \"enableAutomaticFailover\": false,\r\n \"enableMultipleWriteLocations\": false,\r\n \"enablePartitionKeyMonitor\": false,\r\n \"isVirtualNetworkFilterEnabled\": false,\r\n \"virtualNetworkRules\": [],\r\n \"EnabledApiTypes\": \"Gremlin, Sql\",\r\n \"disableKeyBasedMetadataWriteAccess\": false,\r\n \"enableFreeTier\": false,\r\n \"enableAnalyticalStorage\": false,\r\n \"analyticalStorageConfiguration\": null,\r\n \"instanceId\": \"3a38e59e-3f7b-4b00-ade8-770c6caec24b\",\r\n \"createMode\": \"Default\",\r\n \"databaseAccountOfferType\": \"Standard\",\r\n \"enableCassandraConnector\": false,\r\n \"connectorOffer\": \"\",\r\n \"defaultIdentity\": \"\",\r\n \"networkAclBypass\": \"None\",\r\n \"consistencyPolicy\": {\r\n \"defaultConsistencyLevel\": \"Session\",\r\n \"maxIntervalInSeconds\": 5,\r\n \"maxStalenessPrefix\": 100\r\n },\r\n \"configurationOverrides\": {},\r\n \"writeLocations\": [\r\n {\r\n \"id\": \"gremlin-staging-eastus2-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://gremlin-staging-eastus2-eastus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"readLocations\": [\r\n {\r\n \"id\": \"gremlin-staging-eastus2-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://gremlin-staging-eastus2-eastus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"locations\": [\r\n {\r\n \"id\": \"gremlin-staging-eastus2-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://gremlin-staging-eastus2-eastus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"failoverPolicies\": [\r\n {\r\n \"id\": \"gremlin-staging-eastus2-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"failoverPriority\": 0\r\n }\r\n ],\r\n \"cors\": [],\r\n \"capabilities\": [\r\n {\r\n \"name\": \"EnableGremlin\"\r\n }\r\n ],\r\n \"ipRules\": [],\r\n \"backupPolicy\": {\r\n \"type\": \"Periodic\",\r\n \"periodicModeProperties\": {\r\n \"backupIntervalInMinutes\": 240,\r\n \"backupRetentionIntervalInHours\": 8,\r\n \"backupStorageRedundancy\": \"Geo\"\r\n }\r\n },\r\n \"networkAclBypassResourceIds\": []\r\n },\r\n \"identity\": {\r\n \"type\": \"None\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/resourceGroups/gremlin-staging/providers/Microsoft.DocumentDB/databaseAccounts/gremlin-staging-eastus2-v2sdk\",\r\n \"name\": \"gremlin-staging-eastus2-v2sdk\",\r\n \"location\": \"East US 2\",\r\n \"type\": \"Microsoft.DocumentDB/databaseAccounts\",\r\n \"kind\": \"GlobalDocumentDB\",\r\n \"tags\": {\r\n \"defaultExperience\": \"Gremlin (graph)\",\r\n \"hidden-cosmos-mmspecial\": \"\",\r\n \"CosmosAccountType\": \"Non-Production\"\r\n },\r\n \"systemData\": {\r\n \"createdAt\": \"2020-08-13T23:06:50.1914669Z\"\r\n },\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"documentEndpoint\": \"https://gremlin-staging-eastus2-v2sdk.documents-staging.windows-ppe.net:443/\",\r\n \"gremlinEndpoint\": \"https://gremlin-staging-eastus2-v2sdk.gremlin.cosmos.windows-ppe.net:443/\",\r\n \"publicNetworkAccess\": \"Enabled\",\r\n \"enableAutomaticFailover\": false,\r\n \"enableMultipleWriteLocations\": false,\r\n \"enablePartitionKeyMonitor\": false,\r\n \"isVirtualNetworkFilterEnabled\": false,\r\n \"virtualNetworkRules\": [],\r\n \"EnabledApiTypes\": \"Gremlin, Sql\",\r\n \"disableKeyBasedMetadataWriteAccess\": false,\r\n \"enableFreeTier\": false,\r\n \"enableAnalyticalStorage\": false,\r\n \"analyticalStorageConfiguration\": null,\r\n \"instanceId\": \"5597fb4e-8b53-42d3-912c-9fb9adadbda4\",\r\n \"createMode\": \"Default\",\r\n \"databaseAccountOfferType\": \"Standard\",\r\n \"enableCassandraConnector\": false,\r\n \"connectorOffer\": \"\",\r\n \"defaultIdentity\": \"\",\r\n \"networkAclBypass\": \"None\",\r\n \"consistencyPolicy\": {\r\n \"defaultConsistencyLevel\": \"Session\",\r\n \"maxIntervalInSeconds\": 5,\r\n \"maxStalenessPrefix\": 100\r\n },\r\n \"configurationOverrides\": {},\r\n \"writeLocations\": [\r\n {\r\n \"id\": \"gremlin-staging-eastus2-v2sdk-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://gremlin-staging-eastus2-v2sdk-eastus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"readLocations\": [\r\n {\r\n \"id\": \"gremlin-staging-eastus2-v2sdk-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://gremlin-staging-eastus2-v2sdk-eastus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"locations\": [\r\n {\r\n \"id\": \"gremlin-staging-eastus2-v2sdk-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://gremlin-staging-eastus2-v2sdk-eastus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"failoverPolicies\": [\r\n {\r\n \"id\": \"gremlin-staging-eastus2-v2sdk-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"failoverPriority\": 0\r\n }\r\n ],\r\n \"cors\": [],\r\n \"capabilities\": [\r\n {\r\n \"name\": \"EnableGremlin\"\r\n }\r\n ],\r\n \"ipRules\": [],\r\n \"backupPolicy\": {\r\n \"type\": \"Periodic\",\r\n \"periodicModeProperties\": {\r\n \"backupIntervalInMinutes\": 240,\r\n \"backupRetentionIntervalInHours\": 8,\r\n \"backupStorageRedundancy\": \"Geo\"\r\n }\r\n },\r\n \"networkAclBypassResourceIds\": []\r\n },\r\n \"identity\": {\r\n \"type\": \"None\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/resourceGroups/mekaushi/providers/Microsoft.DocumentDB/databaseAccounts/gremlin-yid5img5ochq6\",\r\n \"name\": \"gremlin-yid5img5ochq6\",\r\n \"location\": \"East US 2\",\r\n \"type\": \"Microsoft.DocumentDB/databaseAccounts\",\r\n \"kind\": \"GlobalDocumentDB\",\r\n \"tags\": {},\r\n \"systemData\": {\r\n \"createdAt\": \"2020-05-16T01:32:59.8118626Z\"\r\n },\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"documentEndpoint\": \"https://gremlin-yid5img5ochq6.documents-staging.windows-ppe.net:443/\",\r\n \"gremlinEndpoint\": \"https://gremlin-yid5img5ochq6.gremlin.cosmos.windows-ppe.net:443/\",\r\n \"publicNetworkAccess\": \"Enabled\",\r\n \"enableAutomaticFailover\": true,\r\n \"enableMultipleWriteLocations\": false,\r\n \"enablePartitionKeyMonitor\": false,\r\n \"isVirtualNetworkFilterEnabled\": false,\r\n \"virtualNetworkRules\": [],\r\n \"EnabledApiTypes\": \"Gremlin, Sql\",\r\n \"disableKeyBasedMetadataWriteAccess\": false,\r\n \"enableFreeTier\": false,\r\n \"enableAnalyticalStorage\": false,\r\n \"analyticalStorageConfiguration\": null,\r\n \"instanceId\": \"d551e71a-c1c0-4a73-a5c7-90ac4c2610e9\",\r\n \"createMode\": \"Default\",\r\n \"databaseAccountOfferType\": \"Standard\",\r\n \"enableCassandraConnector\": false,\r\n \"connectorOffer\": \"\",\r\n \"defaultIdentity\": \"\",\r\n \"networkAclBypass\": \"None\",\r\n \"consistencyPolicy\": {\r\n \"defaultConsistencyLevel\": \"Session\",\r\n \"maxIntervalInSeconds\": 5,\r\n \"maxStalenessPrefix\": 100\r\n },\r\n \"configurationOverrides\": {},\r\n \"writeLocations\": [\r\n {\r\n \"id\": \"gremlin-yid5img5ochq6-westus2\",\r\n \"locationName\": \"West US 2\",\r\n \"documentEndpoint\": \"https://gremlin-yid5img5ochq6-westus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"readLocations\": [\r\n {\r\n \"id\": \"gremlin-yid5img5ochq6-westus2\",\r\n \"locationName\": \"West US 2\",\r\n \"documentEndpoint\": \"https://gremlin-yid5img5ochq6-westus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n },\r\n {\r\n \"id\": \"gremlin-yid5img5ochq6-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://gremlin-yid5img5ochq6-eastus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 1,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"locations\": [\r\n {\r\n \"id\": \"gremlin-yid5img5ochq6-westus2\",\r\n \"locationName\": \"West US 2\",\r\n \"documentEndpoint\": \"https://gremlin-yid5img5ochq6-westus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n },\r\n {\r\n \"id\": \"gremlin-yid5img5ochq6-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://gremlin-yid5img5ochq6-eastus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 1,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"failoverPolicies\": [\r\n {\r\n \"id\": \"gremlin-yid5img5ochq6-westus2\",\r\n \"locationName\": \"West US 2\",\r\n \"failoverPriority\": 0\r\n },\r\n {\r\n \"id\": \"gremlin-yid5img5ochq6-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"failoverPriority\": 1\r\n }\r\n ],\r\n \"cors\": [],\r\n \"capabilities\": [\r\n {\r\n \"name\": \"EnableGremlin\"\r\n }\r\n ],\r\n \"ipRules\": [],\r\n \"backupPolicy\": {\r\n \"type\": \"Periodic\",\r\n \"periodicModeProperties\": {\r\n \"backupIntervalInMinutes\": 60,\r\n \"backupRetentionIntervalInHours\": 8,\r\n \"backupStorageRedundancy\": \"Geo\"\r\n }\r\n },\r\n \"networkAclBypassResourceIds\": []\r\n },\r\n \"identity\": {\r\n \"type\": \"None\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/resourceGroups/gremlin-staging-eastus2/providers/Microsoft.DocumentDB/databaseAccounts/gv2-stage-d32-noedgeindex\",\r\n \"name\": \"gv2-stage-d32-noedgeindex\",\r\n \"location\": \"East US 2\",\r\n \"type\": \"Microsoft.DocumentDB/databaseAccounts\",\r\n \"kind\": \"GlobalDocumentDB\",\r\n \"tags\": {\r\n \"defaultExperience\": \"Gremlinv2\"\r\n },\r\n \"systemData\": {\r\n \"createdAt\": \"2020-10-01T19:57:08.4329052Z\"\r\n },\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"documentEndpoint\": \"https://gv2-stage-d32-noedgeindex.documents-staging.windows-ppe.net:443/\",\r\n \"gremlinEndpoint\": \"https://gv2-stage-d32-noedgeindex.gremlin.cosmos.windows-ppe.net/\",\r\n \"publicNetworkAccess\": \"Enabled\",\r\n \"enableAutomaticFailover\": false,\r\n \"enableMultipleWriteLocations\": false,\r\n \"enablePartitionKeyMonitor\": false,\r\n \"isVirtualNetworkFilterEnabled\": false,\r\n \"virtualNetworkRules\": [],\r\n \"EnabledApiTypes\": \"GremlinV2\",\r\n \"disableKeyBasedMetadataWriteAccess\": false,\r\n \"enableFreeTier\": false,\r\n \"enableAnalyticalStorage\": false,\r\n \"analyticalStorageConfiguration\": null,\r\n \"instanceId\": \"a381073e-e215-4b93-b734-8b1b0c524def\",\r\n \"createMode\": \"Default\",\r\n \"databaseAccountOfferType\": \"Standard\",\r\n \"enableCassandraConnector\": false,\r\n \"connectorOffer\": \"\",\r\n \"defaultIdentity\": \"\",\r\n \"networkAclBypass\": \"None\",\r\n \"consistencyPolicy\": {\r\n \"defaultConsistencyLevel\": \"Session\",\r\n \"maxIntervalInSeconds\": 5,\r\n \"maxStalenessPrefix\": 100\r\n },\r\n \"apiProperties\": {\r\n \"clusterInstanceCount\": 1,\r\n \"clusterSize\": \"Cosmos.Gremlin.D32s\"\r\n },\r\n \"configurationOverrides\": {},\r\n \"writeLocations\": [\r\n {\r\n \"id\": \"gv2-stage-d32-noedgeindex-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://gv2-stage-d32-noedgeindex-eastus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"readLocations\": [\r\n {\r\n \"id\": \"gv2-stage-d32-noedgeindex-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://gv2-stage-d32-noedgeindex-eastus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"locations\": [\r\n {\r\n \"id\": \"gv2-stage-d32-noedgeindex-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://gv2-stage-d32-noedgeindex-eastus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"failoverPolicies\": [\r\n {\r\n \"id\": \"gv2-stage-d32-noedgeindex-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"failoverPriority\": 0\r\n }\r\n ],\r\n \"cors\": [],\r\n \"capabilities\": [\r\n {\r\n \"name\": \"EnableGremlinV2\"\r\n }\r\n ],\r\n \"ipRules\": [],\r\n \"backupPolicy\": {\r\n \"type\": \"Periodic\",\r\n \"periodicModeProperties\": {\r\n \"backupIntervalInMinutes\": 240,\r\n \"backupRetentionIntervalInHours\": 8,\r\n \"backupStorageRedundancy\": \"Geo\"\r\n }\r\n },\r\n \"networkAclBypassResourceIds\": []\r\n },\r\n \"identity\": {\r\n \"type\": \"None\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/resourceGroups/harinic/providers/Microsoft.DocumentDB/databaseAccounts/harinicstagedb\",\r\n \"name\": \"harinicstagedb\",\r\n \"location\": \"East US 2\",\r\n \"type\": \"Microsoft.DocumentDB/databaseAccounts\",\r\n \"kind\": \"GlobalDocumentDB\",\r\n \"tags\": {\r\n \"defaultExperience\": \"Core (SQL)\",\r\n \"hidden-cosmos-mmspecial\": \"\",\r\n \"CosmosAccountType\": \"Non-Production\"\r\n },\r\n \"systemData\": {\r\n \"createdAt\": \"2020-05-04T20:24:01.8111446Z\"\r\n },\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"documentEndpoint\": \"https://harinicstagedb.documents-staging.windows-ppe.net:443/\",\r\n \"publicNetworkAccess\": \"Enabled\",\r\n \"enableAutomaticFailover\": false,\r\n \"enableMultipleWriteLocations\": false,\r\n \"enablePartitionKeyMonitor\": false,\r\n \"isVirtualNetworkFilterEnabled\": false,\r\n \"virtualNetworkRules\": [],\r\n \"EnabledApiTypes\": \"Sql\",\r\n \"disableKeyBasedMetadataWriteAccess\": false,\r\n \"enableFreeTier\": false,\r\n \"enableAnalyticalStorage\": false,\r\n \"analyticalStorageConfiguration\": null,\r\n \"instanceId\": \"c593b832-da81-4833-b03d-2f75b6cf14e0\",\r\n \"createMode\": \"Default\",\r\n \"databaseAccountOfferType\": \"Standard\",\r\n \"enableCassandraConnector\": false,\r\n \"connectorOffer\": \"\",\r\n \"defaultIdentity\": \"\",\r\n \"networkAclBypass\": \"None\",\r\n \"consistencyPolicy\": {\r\n \"defaultConsistencyLevel\": \"Session\",\r\n \"maxIntervalInSeconds\": 5,\r\n \"maxStalenessPrefix\": 100\r\n },\r\n \"configurationOverrides\": {},\r\n \"writeLocations\": [\r\n {\r\n \"id\": \"harinicstagedb-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://harinicstagedb-eastus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"readLocations\": [\r\n {\r\n \"id\": \"harinicstagedb-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://harinicstagedb-eastus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n },\r\n {\r\n \"id\": \"harinicstagedb-northcentralus\",\r\n \"locationName\": \"North Central US\",\r\n \"provisioningState\": \"Creating\",\r\n \"failoverPriority\": 1,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"locations\": [\r\n {\r\n \"id\": \"harinicstagedb-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://harinicstagedb-eastus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n },\r\n {\r\n \"id\": \"harinicstagedb-northcentralus\",\r\n \"locationName\": \"North Central US\",\r\n \"provisioningState\": \"Creating\",\r\n \"failoverPriority\": 1,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"failoverPolicies\": [\r\n {\r\n \"id\": \"harinicstagedb-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"failoverPriority\": 0\r\n },\r\n {\r\n \"id\": \"harinicstagedb-northcentralus\",\r\n \"locationName\": \"North Central US\",\r\n \"failoverPriority\": 1\r\n }\r\n ],\r\n \"cors\": [],\r\n \"capabilities\": [\r\n {\r\n \"name\": \"EnableStorageAnalytics\"\r\n }\r\n ],\r\n \"ipRules\": [],\r\n \"backupPolicy\": {\r\n \"type\": \"Periodic\",\r\n \"periodicModeProperties\": {\r\n \"backupIntervalInMinutes\": 60,\r\n \"backupRetentionIntervalInHours\": 8,\r\n \"backupStorageRedundancy\": \"Geo\"\r\n }\r\n },\r\n \"networkAclBypassResourceIds\": []\r\n },\r\n \"identity\": {\r\n \"type\": \"None\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/resourceGroups/Devansh-Test_env/providers/Microsoft.DocumentDB/databaseAccounts/increse-ese-max-ver-page-count\",\r\n \"name\": \"increse-ese-max-ver-page-count\",\r\n \"location\": \"East US 2\",\r\n \"type\": \"Microsoft.DocumentDB/databaseAccounts\",\r\n \"kind\": \"GlobalDocumentDB\",\r\n \"tags\": {\r\n \"defaultExperience\": \"Core (SQL)\"\r\n },\r\n \"systemData\": {\r\n \"createdAt\": \"2019-11-08T10:29:28.1609426Z\"\r\n },\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"documentEndpoint\": \"https://increse-ese-max-ver-page-count.documents-staging.windows-ppe.net:443/\",\r\n \"publicNetworkAccess\": \"Enabled\",\r\n \"enableAutomaticFailover\": false,\r\n \"enableMultipleWriteLocations\": false,\r\n \"enablePartitionKeyMonitor\": false,\r\n \"isVirtualNetworkFilterEnabled\": false,\r\n \"virtualNetworkRules\": [],\r\n \"EnabledApiTypes\": \"Sql\",\r\n \"disableKeyBasedMetadataWriteAccess\": false,\r\n \"enableFreeTier\": false,\r\n \"enableAnalyticalStorage\": false,\r\n \"analyticalStorageConfiguration\": null,\r\n \"instanceId\": \"1e273e34-2162-4515-a363-3d910c4d0169\",\r\n \"createMode\": \"Default\",\r\n \"databaseAccountOfferType\": \"Standard\",\r\n \"enableCassandraConnector\": false,\r\n \"connectorOffer\": \"\",\r\n \"defaultIdentity\": \"\",\r\n \"networkAclBypass\": \"None\",\r\n \"consistencyPolicy\": {\r\n \"defaultConsistencyLevel\": \"Session\",\r\n \"maxIntervalInSeconds\": 5,\r\n \"maxStalenessPrefix\": 100\r\n },\r\n \"configurationOverrides\": {},\r\n \"writeLocations\": [\r\n {\r\n \"id\": \"increse-ese-max-ver-page-count-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://increse-ese-max-ver-page-count-eastus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"readLocations\": [\r\n {\r\n \"id\": \"increse-ese-max-ver-page-count-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://increse-ese-max-ver-page-count-eastus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"locations\": [\r\n {\r\n \"id\": \"increse-ese-max-ver-page-count-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://increse-ese-max-ver-page-count-eastus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"failoverPolicies\": [\r\n {\r\n \"id\": \"increse-ese-max-ver-page-count-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"failoverPriority\": 0\r\n }\r\n ],\r\n \"cors\": [],\r\n \"capabilities\": [],\r\n \"ipRules\": [],\r\n \"backupPolicy\": {\r\n \"type\": \"Periodic\",\r\n \"periodicModeProperties\": {\r\n \"backupIntervalInMinutes\": 60,\r\n \"backupRetentionIntervalInHours\": 8,\r\n \"backupStorageRedundancy\": \"Geo\"\r\n }\r\n },\r\n \"networkAclBypassResourceIds\": []\r\n },\r\n \"identity\": {\r\n \"type\": \"None\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/resourceGroups/ash/providers/Microsoft.DocumentDB/databaseAccounts/ash-df-table\",\r\n \"name\": \"ash-df-table\",\r\n \"location\": \"East US 2\",\r\n \"type\": \"Microsoft.DocumentDB/databaseAccounts\",\r\n \"kind\": \"GlobalDocumentDB\",\r\n \"tags\": {\r\n \"defaultExperience\": \"Azure Table\"\r\n },\r\n \"systemData\": {\r\n \"createdAt\": \"2019-12-05T22:36:27.1797033Z\"\r\n },\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"documentEndpoint\": \"https://ash-df-table.documents-staging.windows-ppe.net:443/\",\r\n \"tableEndpoint\": \"https://ash-df-table.table.cosmos.windows-ppe.net:443/\",\r\n \"publicNetworkAccess\": \"Enabled\",\r\n \"enableAutomaticFailover\": false,\r\n \"enableMultipleWriteLocations\": false,\r\n \"enablePartitionKeyMonitor\": false,\r\n \"isVirtualNetworkFilterEnabled\": false,\r\n \"virtualNetworkRules\": [],\r\n \"EnabledApiTypes\": \"Table, Sql\",\r\n \"disableKeyBasedMetadataWriteAccess\": false,\r\n \"enableFreeTier\": false,\r\n \"enableAnalyticalStorage\": false,\r\n \"analyticalStorageConfiguration\": null,\r\n \"instanceId\": \"92003eb4-bc95-4ce2-b8a1-80a8b916f405\",\r\n \"createMode\": \"Default\",\r\n \"databaseAccountOfferType\": \"Standard\",\r\n \"enableCassandraConnector\": false,\r\n \"connectorOffer\": \"\",\r\n \"defaultIdentity\": \"\",\r\n \"networkAclBypass\": \"None\",\r\n \"consistencyPolicy\": {\r\n \"defaultConsistencyLevel\": \"BoundedStaleness\",\r\n \"maxIntervalInSeconds\": 86400,\r\n \"maxStalenessPrefix\": 1000000\r\n },\r\n \"configurationOverrides\": {},\r\n \"writeLocations\": [\r\n {\r\n \"id\": \"ash-df-table-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://ash-df-table-eastus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": true\r\n }\r\n ],\r\n \"readLocations\": [\r\n {\r\n \"id\": \"ash-df-table-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://ash-df-table-eastus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": true\r\n }\r\n ],\r\n \"locations\": [\r\n {\r\n \"id\": \"ash-df-table-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://ash-df-table-eastus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": true\r\n }\r\n ],\r\n \"failoverPolicies\": [\r\n {\r\n \"id\": \"ash-df-table-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"failoverPriority\": 0\r\n }\r\n ],\r\n \"cors\": [],\r\n \"capabilities\": [\r\n {\r\n \"name\": \"EnableTable\"\r\n }\r\n ],\r\n \"ipRules\": [],\r\n \"backupPolicy\": {\r\n \"type\": \"Periodic\",\r\n \"periodicModeProperties\": {\r\n \"backupIntervalInMinutes\": 60,\r\n \"backupRetentionIntervalInHours\": 8,\r\n \"backupStorageRedundancy\": \"Geo\"\r\n }\r\n },\r\n \"networkAclBypassResourceIds\": []\r\n },\r\n \"identity\": {\r\n \"type\": \"None\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/resourceGroups/sdk-ci/providers/Microsoft.DocumentDB/databaseAccounts/java-sync-multimaster-signoff\",\r\n \"name\": \"java-sync-multimaster-signoff\",\r\n \"location\": \"East US 2\",\r\n \"type\": \"Microsoft.DocumentDB/databaseAccounts\",\r\n \"kind\": \"GlobalDocumentDB\",\r\n \"tags\": {\r\n \"defaultExperience\": \"Core (SQL)\",\r\n \"hidden-cosmos-mmspecial\": \"\",\r\n \"CosmosAccountType\": \"Non-Production\"\r\n },\r\n \"systemData\": {\r\n \"createdAt\": \"2020-09-17T00:26:16.9609946Z\"\r\n },\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"documentEndpoint\": \"https://java-sync-multimaster-signoff.documents-staging.windows-ppe.net:443/\",\r\n \"publicNetworkAccess\": \"Enabled\",\r\n \"enableAutomaticFailover\": false,\r\n \"enableMultipleWriteLocations\": true,\r\n \"enablePartitionKeyMonitor\": false,\r\n \"isVirtualNetworkFilterEnabled\": false,\r\n \"virtualNetworkRules\": [],\r\n \"EnabledApiTypes\": \"Sql\",\r\n \"disableKeyBasedMetadataWriteAccess\": false,\r\n \"enableFreeTier\": false,\r\n \"enableAnalyticalStorage\": false,\r\n \"analyticalStorageConfiguration\": null,\r\n \"instanceId\": \"af03bc74-0534-4805-a5f4-5391ea69a391\",\r\n \"createMode\": \"Default\",\r\n \"databaseAccountOfferType\": \"Standard\",\r\n \"enableCassandraConnector\": false,\r\n \"connectorOffer\": \"\",\r\n \"defaultIdentity\": \"\",\r\n \"networkAclBypass\": \"None\",\r\n \"consistencyPolicy\": {\r\n \"defaultConsistencyLevel\": \"BoundedStaleness\",\r\n \"maxIntervalInSeconds\": 86400,\r\n \"maxStalenessPrefix\": 100000\r\n },\r\n \"configurationOverrides\": {},\r\n \"writeLocations\": [\r\n {\r\n \"id\": \"java-sync-multimaster-signoff-southeastasia\",\r\n \"locationName\": \"Southeast Asia\",\r\n \"documentEndpoint\": \"https://java-sync-multimaster-signoff-southeastasia.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n },\r\n {\r\n \"id\": \"java-sync-multimaster-signoff-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://java-sync-multimaster-signoff-eastus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 1,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"readLocations\": [\r\n {\r\n \"id\": \"java-sync-multimaster-signoff-southeastasia\",\r\n \"locationName\": \"Southeast Asia\",\r\n \"documentEndpoint\": \"https://java-sync-multimaster-signoff-southeastasia.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n },\r\n {\r\n \"id\": \"java-sync-multimaster-signoff-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://java-sync-multimaster-signoff-eastus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 1,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"locations\": [\r\n {\r\n \"id\": \"java-sync-multimaster-signoff-southeastasia\",\r\n \"locationName\": \"Southeast Asia\",\r\n \"documentEndpoint\": \"https://java-sync-multimaster-signoff-southeastasia.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n },\r\n {\r\n \"id\": \"java-sync-multimaster-signoff-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://java-sync-multimaster-signoff-eastus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 1,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"failoverPolicies\": [\r\n {\r\n \"id\": \"java-sync-multimaster-signoff-southeastasia\",\r\n \"locationName\": \"Southeast Asia\",\r\n \"failoverPriority\": 0\r\n },\r\n {\r\n \"id\": \"java-sync-multimaster-signoff-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"failoverPriority\": 1\r\n }\r\n ],\r\n \"cors\": [],\r\n \"capabilities\": [],\r\n \"ipRules\": [],\r\n \"backupPolicy\": {\r\n \"type\": \"Periodic\",\r\n \"periodicModeProperties\": {\r\n \"backupIntervalInMinutes\": 240,\r\n \"backupRetentionIntervalInHours\": 8,\r\n \"backupStorageRedundancy\": \"Geo\"\r\n }\r\n },\r\n \"networkAclBypassResourceIds\": []\r\n },\r\n \"identity\": {\r\n \"type\": \"None\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/resourceGroups/maquaran/providers/Microsoft.DocumentDB/databaseAccounts/maquaran-merge\",\r\n \"name\": \"maquaran-merge\",\r\n \"location\": \"East US 2\",\r\n \"type\": \"Microsoft.DocumentDB/databaseAccounts\",\r\n \"kind\": \"GlobalDocumentDB\",\r\n \"tags\": {\r\n \"defaultExperience\": \"Core (SQL)\",\r\n \"hidden-cosmos-mmspecial\": \"\",\r\n \"CosmosAccountType\": \"Non-Production\"\r\n },\r\n \"systemData\": {\r\n \"createdAt\": \"2020-09-10T21:34:20.7770108Z\"\r\n },\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"documentEndpoint\": \"https://maquaran-merge.documents-staging.windows-ppe.net:443/\",\r\n \"publicNetworkAccess\": \"Enabled\",\r\n \"enableAutomaticFailover\": false,\r\n \"enableMultipleWriteLocations\": false,\r\n \"enablePartitionKeyMonitor\": false,\r\n \"isVirtualNetworkFilterEnabled\": false,\r\n \"virtualNetworkRules\": [],\r\n \"EnabledApiTypes\": \"Sql\",\r\n \"disableKeyBasedMetadataWriteAccess\": false,\r\n \"enableFreeTier\": false,\r\n \"enableAnalyticalStorage\": false,\r\n \"analyticalStorageConfiguration\": null,\r\n \"instanceId\": \"0a2530f2-a5e2-4533-b7c2-e97e801faeb5\",\r\n \"createMode\": \"Default\",\r\n \"databaseAccountOfferType\": \"Standard\",\r\n \"enableCassandraConnector\": false,\r\n \"connectorOffer\": \"\",\r\n \"defaultIdentity\": \"\",\r\n \"networkAclBypass\": \"None\",\r\n \"consistencyPolicy\": {\r\n \"defaultConsistencyLevel\": \"Session\",\r\n \"maxIntervalInSeconds\": 5,\r\n \"maxStalenessPrefix\": 100\r\n },\r\n \"configurationOverrides\": {},\r\n \"writeLocations\": [\r\n {\r\n \"id\": \"maquaran-merge-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://maquaran-merge-eastus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"readLocations\": [\r\n {\r\n \"id\": \"maquaran-merge-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://maquaran-merge-eastus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"locations\": [\r\n {\r\n \"id\": \"maquaran-merge-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://maquaran-merge-eastus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"failoverPolicies\": [\r\n {\r\n \"id\": \"maquaran-merge-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"failoverPriority\": 0\r\n }\r\n ],\r\n \"cors\": [],\r\n \"capabilities\": [],\r\n \"ipRules\": [],\r\n \"backupPolicy\": {\r\n \"type\": \"Periodic\",\r\n \"periodicModeProperties\": {\r\n \"backupIntervalInMinutes\": 240,\r\n \"backupRetentionIntervalInHours\": 8,\r\n \"backupStorageRedundancy\": \"Geo\"\r\n }\r\n },\r\n \"networkAclBypassResourceIds\": []\r\n },\r\n \"identity\": {\r\n \"type\": \"None\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/resourceGroups/CosmosDBResourceGroup3668/providers/Microsoft.DocumentDB/databaseAccounts/db-rbac\",\r\n \"name\": \"db-rbac\",\r\n \"location\": \"East US 2\",\r\n \"type\": \"Microsoft.DocumentDB/databaseAccounts\",\r\n \"kind\": \"GlobalDocumentDB\",\r\n \"tags\": {\r\n \"defaultExperience\": \"Core (SQL)\",\r\n \"hidden-cosmos-mmspecial\": \"\",\r\n \"CosmosAccountType\": \"Non-Production\"\r\n },\r\n \"systemData\": {\r\n \"createdAt\": \"2020-09-16T20:54:59.6843527Z\"\r\n },\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"documentEndpoint\": \"https://db-rbac.documents-staging.windows-ppe.net:443/\",\r\n \"publicNetworkAccess\": \"Enabled\",\r\n \"enableAutomaticFailover\": false,\r\n \"enableMultipleWriteLocations\": false,\r\n \"enablePartitionKeyMonitor\": false,\r\n \"isVirtualNetworkFilterEnabled\": false,\r\n \"virtualNetworkRules\": [],\r\n \"EnabledApiTypes\": \"Sql\",\r\n \"disableKeyBasedMetadataWriteAccess\": false,\r\n \"enableFreeTier\": false,\r\n \"enableAnalyticalStorage\": false,\r\n \"analyticalStorageConfiguration\": null,\r\n \"instanceId\": \"e15cd0e5-429d-462d-9247-3a2cf6ce72cf\",\r\n \"createMode\": \"Default\",\r\n \"databaseAccountOfferType\": \"Standard\",\r\n \"enableCassandraConnector\": false,\r\n \"connectorOffer\": \"\",\r\n \"defaultIdentity\": \"\",\r\n \"networkAclBypass\": \"None\",\r\n \"consistencyPolicy\": {\r\n \"defaultConsistencyLevel\": \"Session\",\r\n \"maxIntervalInSeconds\": 5,\r\n \"maxStalenessPrefix\": 100\r\n },\r\n \"configurationOverrides\": {},\r\n \"writeLocations\": [\r\n {\r\n \"id\": \"db-rbac-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://db-rbac-eastus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"readLocations\": [\r\n {\r\n \"id\": \"db-rbac-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://db-rbac-eastus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"locations\": [\r\n {\r\n \"id\": \"db-rbac-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://db-rbac-eastus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"failoverPolicies\": [\r\n {\r\n \"id\": \"db-rbac-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"failoverPriority\": 0\r\n }\r\n ],\r\n \"cors\": [],\r\n \"capabilities\": [],\r\n \"ipRules\": [],\r\n \"backupPolicy\": {\r\n \"type\": \"Periodic\",\r\n \"periodicModeProperties\": {\r\n \"backupIntervalInMinutes\": 240,\r\n \"backupRetentionIntervalInHours\": 8,\r\n \"backupStorageRedundancy\": \"Geo\"\r\n }\r\n },\r\n \"networkAclBypassResourceIds\": []\r\n },\r\n \"identity\": {\r\n \"type\": \"None\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/resourceGroups/CosmosDBResourceGroup3668/providers/Microsoft.DocumentDB/databaseAccounts/db2048\",\r\n \"name\": \"db2048\",\r\n \"location\": \"East US 2\",\r\n \"type\": \"Microsoft.DocumentDB/databaseAccounts\",\r\n \"kind\": \"GlobalDocumentDB\",\r\n \"tags\": {\r\n \"defaultExperience\": \"Azure Table\",\r\n \"hidden-cosmos-mmspecial\": \"\",\r\n \"CosmosAccountType\": \"Non-Production\"\r\n },\r\n \"systemData\": {\r\n \"createdAt\": \"2020-07-21T18:53:17.251839Z\"\r\n },\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"documentEndpoint\": \"https://db2048.documents-staging.windows-ppe.net:443/\",\r\n \"tableEndpoint\": \"https://db2048.table.cosmos.windows-ppe.net:443/\",\r\n \"publicNetworkAccess\": \"Enabled\",\r\n \"enableAutomaticFailover\": false,\r\n \"enableMultipleWriteLocations\": false,\r\n \"enablePartitionKeyMonitor\": false,\r\n \"isVirtualNetworkFilterEnabled\": false,\r\n \"virtualNetworkRules\": [],\r\n \"EnabledApiTypes\": \"Table, Sql\",\r\n \"disableKeyBasedMetadataWriteAccess\": false,\r\n \"enableFreeTier\": false,\r\n \"enableAnalyticalStorage\": false,\r\n \"analyticalStorageConfiguration\": null,\r\n \"instanceId\": \"5410e941-71b1-4b61-a3c9-df73dda43401\",\r\n \"createMode\": \"Default\",\r\n \"databaseAccountOfferType\": \"Standard\",\r\n \"enableCassandraConnector\": false,\r\n \"connectorOffer\": \"\",\r\n \"defaultIdentity\": \"\",\r\n \"networkAclBypass\": \"None\",\r\n \"consistencyPolicy\": {\r\n \"defaultConsistencyLevel\": \"BoundedStaleness\",\r\n \"maxIntervalInSeconds\": 86400,\r\n \"maxStalenessPrefix\": 1000000\r\n },\r\n \"configurationOverrides\": {},\r\n \"writeLocations\": [\r\n {\r\n \"id\": \"db2048-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://db2048-eastus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"readLocations\": [\r\n {\r\n \"id\": \"db2048-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://db2048-eastus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"locations\": [\r\n {\r\n \"id\": \"db2048-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://db2048-eastus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"failoverPolicies\": [\r\n {\r\n \"id\": \"db2048-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"failoverPriority\": 0\r\n }\r\n ],\r\n \"cors\": [],\r\n \"capabilities\": [\r\n {\r\n \"name\": \"EnableTable\"\r\n }\r\n ],\r\n \"ipRules\": [],\r\n \"backupPolicy\": {\r\n \"type\": \"Periodic\",\r\n \"periodicModeProperties\": {\r\n \"backupIntervalInMinutes\": 240,\r\n \"backupRetentionIntervalInHours\": 8,\r\n \"backupStorageRedundancy\": \"Geo\"\r\n }\r\n },\r\n \"networkAclBypassResourceIds\": []\r\n },\r\n \"identity\": {\r\n \"type\": \"None\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/resourceGroups/dech-stage-rg/providers/Microsoft.DocumentDB/databaseAccounts/dech-nb-stage\",\r\n \"name\": \"dech-nb-stage\",\r\n \"location\": \"East US 2\",\r\n \"type\": \"Microsoft.DocumentDB/databaseAccounts\",\r\n \"kind\": \"GlobalDocumentDB\",\r\n \"tags\": {\r\n \"defaultExperience\": \"Core (SQL)\",\r\n \"hidden-cosmos-mmspecial\": \"\",\r\n \"CosmosAccountType\": \"Non-Production\"\r\n },\r\n \"systemData\": {\r\n \"createdAt\": \"2020-05-08T22:32:46.8939349Z\"\r\n },\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"documentEndpoint\": \"https://dech-nb-stage.documents-staging.windows-ppe.net:443/\",\r\n \"publicNetworkAccess\": \"Enabled\",\r\n \"enableAutomaticFailover\": false,\r\n \"enableMultipleWriteLocations\": false,\r\n \"enablePartitionKeyMonitor\": false,\r\n \"isVirtualNetworkFilterEnabled\": false,\r\n \"virtualNetworkRules\": [],\r\n \"EnabledApiTypes\": \"Sql\",\r\n \"disableKeyBasedMetadataWriteAccess\": false,\r\n \"enableFreeTier\": false,\r\n \"enableAnalyticalStorage\": false,\r\n \"analyticalStorageConfiguration\": null,\r\n \"instanceId\": \"82223c58-f425-43fa-8191-68b6ef12b2d7\",\r\n \"createMode\": \"Default\",\r\n \"databaseAccountOfferType\": \"Standard\",\r\n \"enableCassandraConnector\": false,\r\n \"connectorOffer\": \"\",\r\n \"defaultIdentity\": \"\",\r\n \"networkAclBypass\": \"None\",\r\n \"consistencyPolicy\": {\r\n \"defaultConsistencyLevel\": \"Session\",\r\n \"maxIntervalInSeconds\": 5,\r\n \"maxStalenessPrefix\": 100\r\n },\r\n \"configurationOverrides\": {},\r\n \"writeLocations\": [\r\n {\r\n \"id\": \"dech-nb-stage-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://dech-nb-stage-eastus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"readLocations\": [\r\n {\r\n \"id\": \"dech-nb-stage-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://dech-nb-stage-eastus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"locations\": [\r\n {\r\n \"id\": \"dech-nb-stage-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://dech-nb-stage-eastus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"failoverPolicies\": [\r\n {\r\n \"id\": \"dech-nb-stage-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"failoverPriority\": 0\r\n }\r\n ],\r\n \"cors\": [],\r\n \"capabilities\": [\r\n {\r\n \"name\": \"EnableStorageAnalytics\"\r\n }\r\n ],\r\n \"ipRules\": [],\r\n \"backupPolicy\": {\r\n \"type\": \"Periodic\",\r\n \"periodicModeProperties\": {\r\n \"backupIntervalInMinutes\": 60,\r\n \"backupRetentionIntervalInHours\": 8,\r\n \"backupStorageRedundancy\": \"Geo\"\r\n }\r\n },\r\n \"networkAclBypassResourceIds\": []\r\n },\r\n \"identity\": {\r\n \"type\": \"None\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/resourceGroups/devansh-stage/providers/Microsoft.DocumentDB/databaseAccounts/metric-conso-w-purg\",\r\n \"name\": \"metric-conso-w-purg\",\r\n \"location\": \"East US 2\",\r\n \"type\": \"Microsoft.DocumentDB/databaseAccounts\",\r\n \"kind\": \"GlobalDocumentDB\",\r\n \"tags\": {\r\n \"defaultExperience\": \"Core (SQL)\",\r\n \"hidden-cosmos-mmspecial\": \"\"\r\n },\r\n \"systemData\": {\r\n \"createdAt\": \"2020-02-12T05:58:09.9295808Z\"\r\n },\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"documentEndpoint\": \"https://metric-conso-w-purg.documents-staging.windows-ppe.net:443/\",\r\n \"publicNetworkAccess\": \"Enabled\",\r\n \"enableAutomaticFailover\": false,\r\n \"enableMultipleWriteLocations\": false,\r\n \"enablePartitionKeyMonitor\": false,\r\n \"isVirtualNetworkFilterEnabled\": false,\r\n \"virtualNetworkRules\": [],\r\n \"EnabledApiTypes\": \"Sql\",\r\n \"disableKeyBasedMetadataWriteAccess\": false,\r\n \"enableFreeTier\": false,\r\n \"enableAnalyticalStorage\": false,\r\n \"analyticalStorageConfiguration\": null,\r\n \"instanceId\": \"a8fe0b2f-3dec-4f79-87d5-930b11dc2c2d\",\r\n \"createMode\": \"Default\",\r\n \"databaseAccountOfferType\": \"Standard\",\r\n \"enableCassandraConnector\": false,\r\n \"connectorOffer\": \"\",\r\n \"defaultIdentity\": \"\",\r\n \"networkAclBypass\": \"None\",\r\n \"consistencyPolicy\": {\r\n \"defaultConsistencyLevel\": \"Session\",\r\n \"maxIntervalInSeconds\": 5,\r\n \"maxStalenessPrefix\": 100\r\n },\r\n \"configurationOverrides\": {},\r\n \"writeLocations\": [\r\n {\r\n \"id\": \"metric-conso-w-purg-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://metric-conso-w-purg-eastus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"readLocations\": [\r\n {\r\n \"id\": \"metric-conso-w-purg-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://metric-conso-w-purg-eastus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"locations\": [\r\n {\r\n \"id\": \"metric-conso-w-purg-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://metric-conso-w-purg-eastus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"failoverPolicies\": [\r\n {\r\n \"id\": \"metric-conso-w-purg-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"failoverPriority\": 0\r\n }\r\n ],\r\n \"cors\": [],\r\n \"capabilities\": [\r\n {\r\n \"name\": \"EnableStorageAnalytics\"\r\n }\r\n ],\r\n \"ipRules\": [],\r\n \"backupPolicy\": {\r\n \"type\": \"Periodic\",\r\n \"periodicModeProperties\": {\r\n \"backupIntervalInMinutes\": 60,\r\n \"backupRetentionIntervalInHours\": 8,\r\n \"backupStorageRedundancy\": \"Geo\"\r\n }\r\n },\r\n \"networkAclBypassResourceIds\": []\r\n },\r\n \"identity\": {\r\n \"type\": \"None\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/resourceGroups/devansh-testing-defrag/providers/Microsoft.DocumentDB/databaseAccounts/defrag-for-250\",\r\n \"name\": \"defrag-for-250\",\r\n \"location\": \"East US 2\",\r\n \"type\": \"Microsoft.DocumentDB/databaseAccounts\",\r\n \"kind\": \"GlobalDocumentDB\",\r\n \"tags\": {\r\n \"defaultExperience\": \"Core (SQL)\"\r\n },\r\n \"systemData\": {\r\n \"createdAt\": \"2019-10-09T09:26:08.9443222Z\"\r\n },\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"documentEndpoint\": \"https://defrag-for-250.documents-staging.windows-ppe.net:443/\",\r\n \"publicNetworkAccess\": \"Enabled\",\r\n \"enableAutomaticFailover\": false,\r\n \"enableMultipleWriteLocations\": true,\r\n \"enablePartitionKeyMonitor\": false,\r\n \"isVirtualNetworkFilterEnabled\": false,\r\n \"virtualNetworkRules\": [],\r\n \"EnabledApiTypes\": \"Sql\",\r\n \"disableKeyBasedMetadataWriteAccess\": false,\r\n \"enableFreeTier\": false,\r\n \"enableAnalyticalStorage\": false,\r\n \"analyticalStorageConfiguration\": null,\r\n \"instanceId\": \"4158ec95-5bc8-4c4b-a226-fc4c3db3e89e\",\r\n \"createMode\": \"Default\",\r\n \"databaseAccountOfferType\": \"Standard\",\r\n \"enableCassandraConnector\": false,\r\n \"connectorOffer\": \"\",\r\n \"defaultIdentity\": \"\",\r\n \"networkAclBypass\": \"None\",\r\n \"consistencyPolicy\": {\r\n \"defaultConsistencyLevel\": \"Session\",\r\n \"maxIntervalInSeconds\": 5,\r\n \"maxStalenessPrefix\": 100\r\n },\r\n \"configurationOverrides\": {},\r\n \"writeLocations\": [\r\n {\r\n \"id\": \"defrag-for-250-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://defrag-for-250-eastus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"readLocations\": [\r\n {\r\n \"id\": \"defrag-for-250-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://defrag-for-250-eastus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"locations\": [\r\n {\r\n \"id\": \"defrag-for-250-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://defrag-for-250-eastus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"failoverPolicies\": [\r\n {\r\n \"id\": \"defrag-for-250-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"failoverPriority\": 0\r\n }\r\n ],\r\n \"cors\": [],\r\n \"capabilities\": [],\r\n \"ipRules\": [],\r\n \"backupPolicy\": {\r\n \"type\": \"Periodic\",\r\n \"periodicModeProperties\": {\r\n \"backupIntervalInMinutes\": 60,\r\n \"backupRetentionIntervalInHours\": 8,\r\n \"backupStorageRedundancy\": \"Geo\"\r\n }\r\n },\r\n \"networkAclBypassResourceIds\": []\r\n },\r\n \"identity\": {\r\n \"type\": \"None\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/resourceGroups/mekaushi/providers/Microsoft.DocumentDB/databaseAccounts/mongodb-yid5img5ochq6\",\r\n \"name\": \"mongodb-yid5img5ochq6\",\r\n \"location\": \"East US 2\",\r\n \"type\": \"Microsoft.DocumentDB/databaseAccounts\",\r\n \"kind\": \"MongoDB\",\r\n \"tags\": {},\r\n \"systemData\": {\r\n \"createdAt\": \"2020-05-16T01:34:21.2194126Z\"\r\n },\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"documentEndpoint\": \"https://mongodb-yid5img5ochq6.documents-staging.windows-ppe.net:443/\",\r\n \"publicNetworkAccess\": \"Enabled\",\r\n \"enableAutomaticFailover\": false,\r\n \"enableMultipleWriteLocations\": false,\r\n \"enablePartitionKeyMonitor\": false,\r\n \"isVirtualNetworkFilterEnabled\": false,\r\n \"virtualNetworkRules\": [],\r\n \"EnabledApiTypes\": \"MongoDB\",\r\n \"disableKeyBasedMetadataWriteAccess\": false,\r\n \"enableFreeTier\": false,\r\n \"enableAnalyticalStorage\": false,\r\n \"analyticalStorageConfiguration\": null,\r\n \"instanceId\": \"075600e9-1874-405b-b51b-59f3c9da6b0c\",\r\n \"createMode\": \"Default\",\r\n \"databaseAccountOfferType\": \"Standard\",\r\n \"enableCassandraConnector\": false,\r\n \"connectorOffer\": \"\",\r\n \"defaultIdentity\": \"\",\r\n \"networkAclBypass\": \"None\",\r\n \"consistencyPolicy\": {\r\n \"defaultConsistencyLevel\": \"Session\",\r\n \"maxIntervalInSeconds\": 5,\r\n \"maxStalenessPrefix\": 100\r\n },\r\n \"apiProperties\": {\r\n \"serverVersion\": \"3.2\"\r\n },\r\n \"configurationOverrides\": {\r\n \"EnableBsonSchema\": \"True\"\r\n },\r\n \"writeLocations\": [\r\n {\r\n \"id\": \"mongodb-yid5img5ochq6-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://mongodb-yid5img5ochq6-eastus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"readLocations\": [\r\n {\r\n \"id\": \"mongodb-yid5img5ochq6-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://mongodb-yid5img5ochq6-eastus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n },\r\n {\r\n \"id\": \"mongodb-yid5img5ochq6-westus2\",\r\n \"locationName\": \"West US 2\",\r\n \"documentEndpoint\": \"https://mongodb-yid5img5ochq6-westus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 1,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"locations\": [\r\n {\r\n \"id\": \"mongodb-yid5img5ochq6-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://mongodb-yid5img5ochq6-eastus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n },\r\n {\r\n \"id\": \"mongodb-yid5img5ochq6-westus2\",\r\n \"locationName\": \"West US 2\",\r\n \"documentEndpoint\": \"https://mongodb-yid5img5ochq6-westus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 1,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"failoverPolicies\": [\r\n {\r\n \"id\": \"mongodb-yid5img5ochq6-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"failoverPriority\": 0\r\n },\r\n {\r\n \"id\": \"mongodb-yid5img5ochq6-westus2\",\r\n \"locationName\": \"West US 2\",\r\n \"failoverPriority\": 1\r\n }\r\n ],\r\n \"cors\": [],\r\n \"capabilities\": [],\r\n \"ipRules\": [],\r\n \"backupPolicy\": {\r\n \"type\": \"Periodic\",\r\n \"periodicModeProperties\": {\r\n \"backupIntervalInMinutes\": 60,\r\n \"backupRetentionIntervalInHours\": 8,\r\n \"backupStorageRedundancy\": \"Geo\"\r\n }\r\n },\r\n \"networkAclBypassResourceIds\": []\r\n },\r\n \"identity\": {\r\n \"type\": \"None\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/resourceGroups/sivethe/providers/Microsoft.DocumentDB/databaseAccounts/mongoselfserveupgradeto36-stage\",\r\n \"name\": \"mongoselfserveupgradeto36-stage\",\r\n \"location\": \"East US 2\",\r\n \"type\": \"Microsoft.DocumentDB/databaseAccounts\",\r\n \"kind\": \"MongoDB\",\r\n \"tags\": {\r\n \"defaultExperience\": \"Azure Cosmos DB for MongoDB API\",\r\n \"hidden-cosmos-mmspecial\": \"\",\r\n \"CosmosAccountType\": \"Non-Production\"\r\n },\r\n \"systemData\": {\r\n \"createdAt\": \"2020-03-10T22:19:13.3414472Z\"\r\n },\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"documentEndpoint\": \"https://mongoselfserveupgradeto36-stage.documents-staging.windows-ppe.net:443/\",\r\n \"publicNetworkAccess\": \"Enabled\",\r\n \"enableAutomaticFailover\": false,\r\n \"enableMultipleWriteLocations\": false,\r\n \"enablePartitionKeyMonitor\": false,\r\n \"isVirtualNetworkFilterEnabled\": false,\r\n \"virtualNetworkRules\": [],\r\n \"EnabledApiTypes\": \"MongoDB\",\r\n \"disableKeyBasedMetadataWriteAccess\": false,\r\n \"enableFreeTier\": false,\r\n \"enableAnalyticalStorage\": false,\r\n \"analyticalStorageConfiguration\": null,\r\n \"instanceId\": \"65fb036a-9e3d-46cb-8816-6455befb23e7\",\r\n \"createMode\": \"Default\",\r\n \"databaseAccountOfferType\": \"Standard\",\r\n \"enableCassandraConnector\": false,\r\n \"connectorOffer\": \"\",\r\n \"defaultIdentity\": \"\",\r\n \"networkAclBypass\": \"None\",\r\n \"consistencyPolicy\": {\r\n \"defaultConsistencyLevel\": \"Session\",\r\n \"maxIntervalInSeconds\": 5,\r\n \"maxStalenessPrefix\": 100\r\n },\r\n \"apiProperties\": {\r\n \"serverVersion\": \"3.2\"\r\n },\r\n \"configurationOverrides\": {\r\n \"EnableBsonSchema\": \"True\"\r\n },\r\n \"writeLocations\": [\r\n {\r\n \"id\": \"mongoselfserveupgradeto36-stage-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://mongoselfserveupgradeto36-stage-eastus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"readLocations\": [\r\n {\r\n \"id\": \"mongoselfserveupgradeto36-stage-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://mongoselfserveupgradeto36-stage-eastus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"locations\": [\r\n {\r\n \"id\": \"mongoselfserveupgradeto36-stage-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://mongoselfserveupgradeto36-stage-eastus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"failoverPolicies\": [\r\n {\r\n \"id\": \"mongoselfserveupgradeto36-stage-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"failoverPriority\": 0\r\n }\r\n ],\r\n \"cors\": [],\r\n \"capabilities\": [\r\n {\r\n \"name\": \"EnableStorageAnalytics\"\r\n },\r\n {\r\n \"name\": \"AllowSelfServeUpgradeToMongo36\"\r\n }\r\n ],\r\n \"ipRules\": [],\r\n \"backupPolicy\": {\r\n \"type\": \"Periodic\",\r\n \"periodicModeProperties\": {\r\n \"backupIntervalInMinutes\": 60,\r\n \"backupRetentionIntervalInHours\": 8,\r\n \"backupStorageRedundancy\": \"Geo\"\r\n }\r\n },\r\n \"networkAclBypassResourceIds\": []\r\n },\r\n \"identity\": {\r\n \"type\": \"None\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/resourceGroups/analytics/providers/Microsoft.DocumentDB/databaseAccounts/monohyridrow\",\r\n \"name\": \"monohyridrow\",\r\n \"location\": \"East US 2\",\r\n \"type\": \"Microsoft.DocumentDB/databaseAccounts\",\r\n \"kind\": \"GlobalDocumentDB\",\r\n \"tags\": {},\r\n \"systemData\": {\r\n \"createdAt\": \"2019-10-02T17:11:36.8710823Z\"\r\n },\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"documentEndpoint\": \"https://monohyridrow.documents-staging.windows-ppe.net:443/\",\r\n \"publicNetworkAccess\": \"Enabled\",\r\n \"enableAutomaticFailover\": false,\r\n \"enableMultipleWriteLocations\": false,\r\n \"enablePartitionKeyMonitor\": false,\r\n \"isVirtualNetworkFilterEnabled\": false,\r\n \"virtualNetworkRules\": [],\r\n \"EnabledApiTypes\": \"Sql\",\r\n \"disableKeyBasedMetadataWriteAccess\": false,\r\n \"enableFreeTier\": false,\r\n \"enableAnalyticalStorage\": false,\r\n \"analyticalStorageConfiguration\": null,\r\n \"instanceId\": \"814ee1e4-3ef3-4ed3-8102-d73b49505b4b\",\r\n \"createMode\": \"Default\",\r\n \"databaseAccountOfferType\": \"Standard\",\r\n \"enableCassandraConnector\": false,\r\n \"connectorOffer\": \"\",\r\n \"defaultIdentity\": \"\",\r\n \"networkAclBypass\": \"None\",\r\n \"consistencyPolicy\": {\r\n \"defaultConsistencyLevel\": \"Session\",\r\n \"maxIntervalInSeconds\": 5,\r\n \"maxStalenessPrefix\": 100\r\n },\r\n \"configurationOverrides\": {},\r\n \"writeLocations\": [\r\n {\r\n \"id\": \"monohyridrow-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://monohyridrow-eastus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"readLocations\": [\r\n {\r\n \"id\": \"monohyridrow-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://monohyridrow-eastus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n },\r\n {\r\n \"id\": \"monohyridrow-westus2\",\r\n \"locationName\": \"West US 2\",\r\n \"documentEndpoint\": \"https://monohyridrow-westus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 1,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"locations\": [\r\n {\r\n \"id\": \"monohyridrow-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://monohyridrow-eastus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n },\r\n {\r\n \"id\": \"monohyridrow-westus2\",\r\n \"locationName\": \"West US 2\",\r\n \"documentEndpoint\": \"https://monohyridrow-westus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 1,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"failoverPolicies\": [\r\n {\r\n \"id\": \"monohyridrow-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"failoverPriority\": 0\r\n },\r\n {\r\n \"id\": \"monohyridrow-westus2\",\r\n \"locationName\": \"West US 2\",\r\n \"failoverPriority\": 1\r\n }\r\n ],\r\n \"cors\": [],\r\n \"capabilities\": [\r\n {\r\n \"name\": \"EnableStorageAnalytics\"\r\n }\r\n ],\r\n \"ipRules\": [],\r\n \"backupPolicy\": {\r\n \"type\": \"Periodic\",\r\n \"periodicModeProperties\": {\r\n \"backupIntervalInMinutes\": 60,\r\n \"backupRetentionIntervalInHours\": 8,\r\n \"backupStorageRedundancy\": \"Geo\"\r\n }\r\n },\r\n \"networkAclBypassResourceIds\": []\r\n },\r\n \"identity\": {\r\n \"type\": \"None\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/resourceGroups/bwtreetest/providers/Microsoft.DocumentDB/databaseAccounts/nanedevtest\",\r\n \"name\": \"nanedevtest\",\r\n \"location\": \"East US 2\",\r\n \"type\": \"Microsoft.DocumentDB/databaseAccounts\",\r\n \"kind\": \"GlobalDocumentDB\",\r\n \"tags\": {\r\n \"defaultExperience\": \"Core (SQL)\",\r\n \"hidden-cosmos-mmspecial\": \"\",\r\n \"CosmosAccountType\": \"Non-Production\"\r\n },\r\n \"systemData\": {\r\n \"createdAt\": \"2020-06-04T20:25:55.6165964Z\"\r\n },\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"documentEndpoint\": \"https://nanedevtest.documents-staging.windows-ppe.net:443/\",\r\n \"publicNetworkAccess\": \"Enabled\",\r\n \"enableAutomaticFailover\": false,\r\n \"enableMultipleWriteLocations\": false,\r\n \"enablePartitionKeyMonitor\": false,\r\n \"isVirtualNetworkFilterEnabled\": false,\r\n \"virtualNetworkRules\": [],\r\n \"EnabledApiTypes\": \"Sql\",\r\n \"disableKeyBasedMetadataWriteAccess\": false,\r\n \"enableFreeTier\": false,\r\n \"enableAnalyticalStorage\": false,\r\n \"analyticalStorageConfiguration\": null,\r\n \"instanceId\": \"63d7c4e8-3564-409d-ab62-1e811ab34fc0\",\r\n \"createMode\": \"Default\",\r\n \"databaseAccountOfferType\": \"Standard\",\r\n \"enableCassandraConnector\": false,\r\n \"connectorOffer\": \"\",\r\n \"defaultIdentity\": \"\",\r\n \"networkAclBypass\": \"None\",\r\n \"consistencyPolicy\": {\r\n \"defaultConsistencyLevel\": \"Session\",\r\n \"maxIntervalInSeconds\": 5,\r\n \"maxStalenessPrefix\": 100\r\n },\r\n \"configurationOverrides\": {},\r\n \"writeLocations\": [\r\n {\r\n \"id\": \"nanedevtest-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://nanedevtest-eastus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"readLocations\": [\r\n {\r\n \"id\": \"nanedevtest-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://nanedevtest-eastus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"locations\": [\r\n {\r\n \"id\": \"nanedevtest-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://nanedevtest-eastus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"failoverPolicies\": [\r\n {\r\n \"id\": \"nanedevtest-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"failoverPriority\": 0\r\n }\r\n ],\r\n \"cors\": [],\r\n \"capabilities\": [],\r\n \"ipRules\": [],\r\n \"backupPolicy\": {\r\n \"type\": \"Periodic\",\r\n \"periodicModeProperties\": {\r\n \"backupIntervalInMinutes\": 60,\r\n \"backupRetentionIntervalInHours\": 8,\r\n \"backupStorageRedundancy\": \"Geo\"\r\n }\r\n },\r\n \"networkAclBypassResourceIds\": []\r\n },\r\n \"identity\": {\r\n \"type\": \"None\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/resourceGroups/nitesh-resource/providers/Microsoft.DocumentDB/databaseAccounts/nitesh-cri-162282720\",\r\n \"name\": \"nitesh-cri-162282720\",\r\n \"location\": \"East US 2\",\r\n \"type\": \"Microsoft.DocumentDB/databaseAccounts\",\r\n \"kind\": \"GlobalDocumentDB\",\r\n \"tags\": {\r\n \"defaultExperience\": \"Core (SQL)\",\r\n \"hidden-cosmos-mmspecial\": \"\"\r\n },\r\n \"systemData\": {\r\n \"createdAt\": \"2019-12-16T06:25:26.7813786Z\"\r\n },\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"documentEndpoint\": \"https://nitesh-cri-162282720.documents-staging.windows-ppe.net:443/\",\r\n \"publicNetworkAccess\": \"Enabled\",\r\n \"enableAutomaticFailover\": false,\r\n \"enableMultipleWriteLocations\": false,\r\n \"enablePartitionKeyMonitor\": true,\r\n \"isVirtualNetworkFilterEnabled\": false,\r\n \"virtualNetworkRules\": [],\r\n \"EnabledApiTypes\": \"Sql\",\r\n \"disableKeyBasedMetadataWriteAccess\": false,\r\n \"enableFreeTier\": false,\r\n \"enableAnalyticalStorage\": false,\r\n \"analyticalStorageConfiguration\": null,\r\n \"instanceId\": \"2747300a-0184-482f-bfda-900959d63fe7\",\r\n \"createMode\": \"Default\",\r\n \"databaseAccountOfferType\": \"Standard\",\r\n \"enableCassandraConnector\": false,\r\n \"connectorOffer\": \"\",\r\n \"defaultIdentity\": \"\",\r\n \"networkAclBypass\": \"None\",\r\n \"consistencyPolicy\": {\r\n \"defaultConsistencyLevel\": \"Session\",\r\n \"maxIntervalInSeconds\": 5,\r\n \"maxStalenessPrefix\": 100\r\n },\r\n \"configurationOverrides\": {},\r\n \"writeLocations\": [\r\n {\r\n \"id\": \"nitesh-cri-162282720-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://nitesh-cri-162282720-eastus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"readLocations\": [\r\n {\r\n \"id\": \"nitesh-cri-162282720-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://nitesh-cri-162282720-eastus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"locations\": [\r\n {\r\n \"id\": \"nitesh-cri-162282720-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://nitesh-cri-162282720-eastus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"failoverPolicies\": [\r\n {\r\n \"id\": \"nitesh-cri-162282720-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"failoverPriority\": 0\r\n }\r\n ],\r\n \"cors\": [],\r\n \"capabilities\": [\r\n {\r\n \"name\": \"EnableStorageAnalytics\"\r\n }\r\n ],\r\n \"ipRules\": [],\r\n \"backupPolicy\": {\r\n \"type\": \"Periodic\",\r\n \"periodicModeProperties\": {\r\n \"backupIntervalInMinutes\": 60,\r\n \"backupRetentionIntervalInHours\": 8,\r\n \"backupStorageRedundancy\": \"Geo\"\r\n }\r\n },\r\n \"networkAclBypassResourceIds\": []\r\n },\r\n \"identity\": {\r\n \"type\": \"None\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/resourceGroups/analytics/providers/Microsoft.DocumentDB/databaseAccounts/niupremongo-binary\",\r\n \"name\": \"niupremongo-binary\",\r\n \"location\": \"East US 2\",\r\n \"type\": \"Microsoft.DocumentDB/databaseAccounts\",\r\n \"kind\": \"MongoDB\",\r\n \"tags\": {\r\n \"defaultExperience\": \"Azure Cosmos DB for MongoDB API\",\r\n \"hidden-cosmos-mmspecial\": \"\",\r\n \"CosmosAccountType\": \"Non-Production\"\r\n },\r\n \"systemData\": {\r\n \"createdAt\": \"2020-06-17T18:33:19.4974422Z\"\r\n },\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"documentEndpoint\": \"https://niupremongo-binary.documents-staging.windows-ppe.net:443/\",\r\n \"mongoEndpoint\": \"https://niupremongo-binary.mongo.cosmos.windows-ppe.net:443/\",\r\n \"publicNetworkAccess\": \"Enabled\",\r\n \"enableAutomaticFailover\": false,\r\n \"enableMultipleWriteLocations\": false,\r\n \"enablePartitionKeyMonitor\": false,\r\n \"isVirtualNetworkFilterEnabled\": false,\r\n \"virtualNetworkRules\": [],\r\n \"EnabledApiTypes\": \"MongoDB\",\r\n \"disableKeyBasedMetadataWriteAccess\": false,\r\n \"enableFreeTier\": false,\r\n \"enableAnalyticalStorage\": true,\r\n \"analyticalStorageConfiguration\": null,\r\n \"instanceId\": \"09fd3b3a-0243-4869-a86e-0c4f1c5b0611\",\r\n \"createMode\": \"Default\",\r\n \"databaseAccountOfferType\": \"Standard\",\r\n \"enableCassandraConnector\": false,\r\n \"connectorOffer\": \"\",\r\n \"defaultIdentity\": \"\",\r\n \"networkAclBypass\": \"None\",\r\n \"consistencyPolicy\": {\r\n \"defaultConsistencyLevel\": \"Session\",\r\n \"maxIntervalInSeconds\": 5,\r\n \"maxStalenessPrefix\": 100\r\n },\r\n \"apiProperties\": {\r\n \"serverVersion\": \"3.6\"\r\n },\r\n \"configurationOverrides\": {\r\n \"EnableBsonSchema\": \"True\"\r\n },\r\n \"writeLocations\": [\r\n {\r\n \"id\": \"niupremongo-binary-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://niupremongo-binary-eastus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"readLocations\": [\r\n {\r\n \"id\": \"niupremongo-binary-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://niupremongo-binary-eastus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"locations\": [\r\n {\r\n \"id\": \"niupremongo-binary-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://niupremongo-binary-eastus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"failoverPolicies\": [\r\n {\r\n \"id\": \"niupremongo-binary-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"failoverPriority\": 0\r\n }\r\n ],\r\n \"cors\": [],\r\n \"capabilities\": [\r\n {\r\n \"name\": \"EnableMongo\"\r\n },\r\n {\r\n \"name\": \"DisableRateLimitingResponses\"\r\n }\r\n ],\r\n \"ipRules\": [],\r\n \"backupPolicy\": {\r\n \"type\": \"Periodic\",\r\n \"periodicModeProperties\": {\r\n \"backupIntervalInMinutes\": 60,\r\n \"backupRetentionIntervalInHours\": 8,\r\n \"backupStorageRedundancy\": \"Geo\"\r\n }\r\n },\r\n \"networkAclBypassResourceIds\": []\r\n },\r\n \"identity\": {\r\n \"type\": \"None\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/resourceGroups/masi_rg/providers/Microsoft.DocumentDB/databaseAccounts/en20200424-computev2\",\r\n \"name\": \"en20200424-computev2\",\r\n \"location\": \"East US 2\",\r\n \"type\": \"Microsoft.DocumentDB/databaseAccounts\",\r\n \"kind\": \"GlobalDocumentDB\",\r\n \"tags\": {\r\n \"defaultExperience\": \"Core (SQL)\",\r\n \"hidden-cosmos-mmspecial\": \"\",\r\n \"CosmosAccountType\": \"Non-Production\"\r\n },\r\n \"systemData\": {\r\n \"createdAt\": \"2020-05-06T19:53:49.7829084Z\"\r\n },\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"documentEndpoint\": \"https://en20200424-computev2.documents-staging.windows-ppe.net:443/\",\r\n \"publicNetworkAccess\": \"Enabled\",\r\n \"enableAutomaticFailover\": false,\r\n \"enableMultipleWriteLocations\": false,\r\n \"enablePartitionKeyMonitor\": false,\r\n \"isVirtualNetworkFilterEnabled\": false,\r\n \"virtualNetworkRules\": [],\r\n \"EnabledApiTypes\": \"Sql\",\r\n \"disableKeyBasedMetadataWriteAccess\": false,\r\n \"enableFreeTier\": false,\r\n \"enableAnalyticalStorage\": false,\r\n \"analyticalStorageConfiguration\": null,\r\n \"instanceId\": \"c6e61dcb-0c67-458b-9dca-3c56fb282bc8\",\r\n \"createMode\": \"Default\",\r\n \"databaseAccountOfferType\": \"Standard\",\r\n \"enableCassandraConnector\": false,\r\n \"connectorOffer\": \"\",\r\n \"defaultIdentity\": \"\",\r\n \"networkAclBypass\": \"None\",\r\n \"consistencyPolicy\": {\r\n \"defaultConsistencyLevel\": \"Session\",\r\n \"maxIntervalInSeconds\": 5,\r\n \"maxStalenessPrefix\": 100\r\n },\r\n \"configurationOverrides\": {},\r\n \"writeLocations\": [\r\n {\r\n \"id\": \"en20200424-computev2-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://en20200424-computev2-eastus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"readLocations\": [\r\n {\r\n \"id\": \"en20200424-computev2-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://en20200424-computev2-eastus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"locations\": [\r\n {\r\n \"id\": \"en20200424-computev2-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://en20200424-computev2-eastus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"failoverPolicies\": [\r\n {\r\n \"id\": \"en20200424-computev2-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"failoverPriority\": 0\r\n }\r\n ],\r\n \"cors\": [],\r\n \"capabilities\": [\r\n {\r\n \"name\": \"EnableStorageAnalytics\"\r\n }\r\n ],\r\n \"ipRules\": [],\r\n \"backupPolicy\": {\r\n \"type\": \"Periodic\",\r\n \"periodicModeProperties\": {\r\n \"backupIntervalInMinutes\": 60,\r\n \"backupRetentionIntervalInHours\": 8,\r\n \"backupStorageRedundancy\": \"Geo\"\r\n }\r\n },\r\n \"networkAclBypassResourceIds\": []\r\n },\r\n \"identity\": {\r\n \"type\": \"None\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/resourceGroups/prithvi-stage/providers/Microsoft.DocumentDB/databaseAccounts/oplogtest2\",\r\n \"name\": \"oplogtest2\",\r\n \"location\": \"East US 2\",\r\n \"type\": \"Microsoft.DocumentDB/databaseAccounts\",\r\n \"kind\": \"GlobalDocumentDB\",\r\n \"tags\": {\r\n \"defaultExperience\": \"Core (SQL)\",\r\n \"hidden-cosmos-mmspecial\": \"\",\r\n \"CosmosAccountType\": \"Non-Production\"\r\n },\r\n \"systemData\": {\r\n \"createdAt\": \"2020-05-11T12:13:54.5405445Z\"\r\n },\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"documentEndpoint\": \"https://oplogtest2.documents-staging.windows-ppe.net:443/\",\r\n \"publicNetworkAccess\": \"Enabled\",\r\n \"enableAutomaticFailover\": false,\r\n \"enableMultipleWriteLocations\": false,\r\n \"enablePartitionKeyMonitor\": false,\r\n \"isVirtualNetworkFilterEnabled\": false,\r\n \"virtualNetworkRules\": [],\r\n \"EnabledApiTypes\": \"Sql\",\r\n \"disableKeyBasedMetadataWriteAccess\": false,\r\n \"enableFreeTier\": false,\r\n \"enableAnalyticalStorage\": false,\r\n \"analyticalStorageConfiguration\": null,\r\n \"instanceId\": \"17ec5038-bea0-46a7-bfa1-9ce85ecc1eda\",\r\n \"createMode\": \"Default\",\r\n \"databaseAccountOfferType\": \"Standard\",\r\n \"enableCassandraConnector\": false,\r\n \"connectorOffer\": \"\",\r\n \"defaultIdentity\": \"\",\r\n \"networkAclBypass\": \"None\",\r\n \"consistencyPolicy\": {\r\n \"defaultConsistencyLevel\": \"Session\",\r\n \"maxIntervalInSeconds\": 5,\r\n \"maxStalenessPrefix\": 100\r\n },\r\n \"configurationOverrides\": {},\r\n \"writeLocations\": [\r\n {\r\n \"id\": \"oplogtest2-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://oplogtest2-eastus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"readLocations\": [\r\n {\r\n \"id\": \"oplogtest2-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://oplogtest2-eastus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"locations\": [\r\n {\r\n \"id\": \"oplogtest2-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://oplogtest2-eastus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"failoverPolicies\": [\r\n {\r\n \"id\": \"oplogtest2-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"failoverPriority\": 0\r\n }\r\n ],\r\n \"cors\": [],\r\n \"capabilities\": [\r\n {\r\n \"name\": \"EnableStorageAnalytics\"\r\n }\r\n ],\r\n \"ipRules\": [],\r\n \"backupPolicy\": {\r\n \"type\": \"Periodic\",\r\n \"periodicModeProperties\": {\r\n \"backupIntervalInMinutes\": 60,\r\n \"backupRetentionIntervalInHours\": 8,\r\n \"backupStorageRedundancy\": \"Geo\"\r\n }\r\n },\r\n \"networkAclBypassResourceIds\": []\r\n },\r\n \"identity\": {\r\n \"type\": \"None\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/resourceGroups/query-benchmark/providers/Microsoft.DocumentDB/databaseAccounts/querybenchmarkstore\",\r\n \"name\": \"querybenchmarkstore\",\r\n \"location\": \"East US 2\",\r\n \"type\": \"Microsoft.DocumentDB/databaseAccounts\",\r\n \"kind\": \"GlobalDocumentDB\",\r\n \"tags\": {\r\n \"defaultExperience\": \"Core (SQL)\",\r\n \"hidden-cosmos-mmspecial\": \"\",\r\n \"CosmosAccountType\": \"Non-Production\"\r\n },\r\n \"systemData\": {\r\n \"createdAt\": \"2020-05-15T21:53:13.504654Z\"\r\n },\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"documentEndpoint\": \"https://querybenchmarkstore.documents-staging.windows-ppe.net:443/\",\r\n \"publicNetworkAccess\": \"Enabled\",\r\n \"enableAutomaticFailover\": false,\r\n \"enableMultipleWriteLocations\": false,\r\n \"enablePartitionKeyMonitor\": false,\r\n \"isVirtualNetworkFilterEnabled\": false,\r\n \"virtualNetworkRules\": [],\r\n \"EnabledApiTypes\": \"Sql\",\r\n \"disableKeyBasedMetadataWriteAccess\": false,\r\n \"enableFreeTier\": false,\r\n \"enableAnalyticalStorage\": true,\r\n \"analyticalStorageConfiguration\": null,\r\n \"instanceId\": \"a1abda38-5277-4e31-9c05-e5e9b9a2ffeb\",\r\n \"createMode\": \"Default\",\r\n \"databaseAccountOfferType\": \"Standard\",\r\n \"enableCassandraConnector\": false,\r\n \"connectorOffer\": \"\",\r\n \"defaultIdentity\": \"\",\r\n \"networkAclBypass\": \"None\",\r\n \"consistencyPolicy\": {\r\n \"defaultConsistencyLevel\": \"Session\",\r\n \"maxIntervalInSeconds\": 5,\r\n \"maxStalenessPrefix\": 100\r\n },\r\n \"configurationOverrides\": {},\r\n \"writeLocations\": [\r\n {\r\n \"id\": \"querybenchmarkstore-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://querybenchmarkstore-eastus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"readLocations\": [\r\n {\r\n \"id\": \"querybenchmarkstore-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://querybenchmarkstore-eastus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"locations\": [\r\n {\r\n \"id\": \"querybenchmarkstore-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://querybenchmarkstore-eastus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"failoverPolicies\": [\r\n {\r\n \"id\": \"querybenchmarkstore-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"failoverPriority\": 0\r\n }\r\n ],\r\n \"cors\": [],\r\n \"capabilities\": [],\r\n \"ipRules\": [],\r\n \"backupPolicy\": {\r\n \"type\": \"Periodic\",\r\n \"periodicModeProperties\": {\r\n \"backupIntervalInMinutes\": 60,\r\n \"backupRetentionIntervalInHours\": 8,\r\n \"backupStorageRedundancy\": \"Geo\"\r\n }\r\n },\r\n \"networkAclBypassResourceIds\": []\r\n },\r\n \"identity\": {\r\n \"type\": \"None\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/resourceGroups/rakkumastg/providers/Microsoft.DocumentDB/databaseAccounts/rakkumastage\",\r\n \"name\": \"rakkumastage\",\r\n \"location\": \"East US 2\",\r\n \"type\": \"Microsoft.DocumentDB/databaseAccounts\",\r\n \"kind\": \"GlobalDocumentDB\",\r\n \"tags\": {\r\n \"defaultExperience\": \"Core (SQL)\",\r\n \"hidden-cosmos-mmspecial\": \"\",\r\n \"CosmosAccountType\": \"Non-Production\"\r\n },\r\n \"systemData\": {\r\n \"createdAt\": \"2020-09-23T11:42:26.7049574Z\"\r\n },\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"documentEndpoint\": \"https://rakkumastage.documents-staging.windows-ppe.net:443/\",\r\n \"publicNetworkAccess\": \"Enabled\",\r\n \"enableAutomaticFailover\": false,\r\n \"enableMultipleWriteLocations\": false,\r\n \"enablePartitionKeyMonitor\": false,\r\n \"isVirtualNetworkFilterEnabled\": false,\r\n \"virtualNetworkRules\": [],\r\n \"EnabledApiTypes\": \"Sql\",\r\n \"disableKeyBasedMetadataWriteAccess\": false,\r\n \"enableFreeTier\": false,\r\n \"enableAnalyticalStorage\": false,\r\n \"analyticalStorageConfiguration\": null,\r\n \"instanceId\": \"b3c671fd-5cc6-4ddb-b464-f011c324f7d9\",\r\n \"createMode\": \"Default\",\r\n \"databaseAccountOfferType\": \"Standard\",\r\n \"enableCassandraConnector\": false,\r\n \"connectorOffer\": \"\",\r\n \"defaultIdentity\": \"\",\r\n \"networkAclBypass\": \"None\",\r\n \"consistencyPolicy\": {\r\n \"defaultConsistencyLevel\": \"Session\",\r\n \"maxIntervalInSeconds\": 5,\r\n \"maxStalenessPrefix\": 100\r\n },\r\n \"configurationOverrides\": {},\r\n \"writeLocations\": [\r\n {\r\n \"id\": \"rakkumastage-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://rakkumastage-eastus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"readLocations\": [\r\n {\r\n \"id\": \"rakkumastage-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://rakkumastage-eastus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"locations\": [\r\n {\r\n \"id\": \"rakkumastage-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://rakkumastage-eastus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"failoverPolicies\": [\r\n {\r\n \"id\": \"rakkumastage-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"failoverPriority\": 0\r\n }\r\n ],\r\n \"cors\": [],\r\n \"capabilities\": [],\r\n \"ipRules\": [],\r\n \"backupPolicy\": {\r\n \"type\": \"Periodic\",\r\n \"periodicModeProperties\": {\r\n \"backupIntervalInMinutes\": 240,\r\n \"backupRetentionIntervalInHours\": 8,\r\n \"backupStorageRedundancy\": \"Geo\"\r\n }\r\n },\r\n \"networkAclBypassResourceIds\": []\r\n },\r\n \"identity\": {\r\n \"type\": \"None\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/resourceGroups/flnarenjrg/providers/Microsoft.DocumentDB/databaseAccounts/flnarenj-synstage2\",\r\n \"name\": \"flnarenj-synstage2\",\r\n \"location\": \"East US 2\",\r\n \"type\": \"Microsoft.DocumentDB/databaseAccounts\",\r\n \"kind\": \"MongoDB\",\r\n \"tags\": {},\r\n \"systemData\": {\r\n \"createdAt\": \"2020-05-13T23:53:46.2142904Z\"\r\n },\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"documentEndpoint\": \"https://flnarenj-synstage2.documents-staging.windows-ppe.net:443/\",\r\n \"mongoEndpoint\": \"https://flnarenj-synstage2.mongo.cosmos.windows-ppe.net:443/\",\r\n \"publicNetworkAccess\": \"Enabled\",\r\n \"enableAutomaticFailover\": false,\r\n \"enableMultipleWriteLocations\": false,\r\n \"enablePartitionKeyMonitor\": false,\r\n \"isVirtualNetworkFilterEnabled\": false,\r\n \"virtualNetworkRules\": [],\r\n \"EnabledApiTypes\": \"MongoDB\",\r\n \"disableKeyBasedMetadataWriteAccess\": false,\r\n \"enableFreeTier\": false,\r\n \"enableAnalyticalStorage\": false,\r\n \"analyticalStorageConfiguration\": null,\r\n \"instanceId\": \"be717800-dd03-4bc8-9863-866999be2867\",\r\n \"createMode\": \"Default\",\r\n \"databaseAccountOfferType\": \"Standard\",\r\n \"enableCassandraConnector\": false,\r\n \"connectorOffer\": \"\",\r\n \"defaultIdentity\": \"\",\r\n \"networkAclBypass\": \"None\",\r\n \"consistencyPolicy\": {\r\n \"defaultConsistencyLevel\": \"Session\",\r\n \"maxIntervalInSeconds\": 5,\r\n \"maxStalenessPrefix\": 100\r\n },\r\n \"apiProperties\": {\r\n \"serverVersion\": \"3.6\"\r\n },\r\n \"configurationOverrides\": {\r\n \"EnableBsonSchema\": \"True\"\r\n },\r\n \"writeLocations\": [\r\n {\r\n \"id\": \"flnarenj-synstage2-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://flnarenj-synstage2-eastus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"readLocations\": [\r\n {\r\n \"id\": \"flnarenj-synstage2-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://flnarenj-synstage2-eastus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"locations\": [\r\n {\r\n \"id\": \"flnarenj-synstage2-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://flnarenj-synstage2-eastus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"failoverPolicies\": [\r\n {\r\n \"id\": \"flnarenj-synstage2-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"failoverPriority\": 0\r\n }\r\n ],\r\n \"cors\": [],\r\n \"capabilities\": [\r\n {\r\n \"name\": \"EnableMongo\"\r\n },\r\n {\r\n \"name\": \"EnableStorageAnalytics\"\r\n }\r\n ],\r\n \"ipRules\": [],\r\n \"backupPolicy\": {\r\n \"type\": \"Periodic\",\r\n \"periodicModeProperties\": {\r\n \"backupIntervalInMinutes\": 60,\r\n \"backupRetentionIntervalInHours\": 8,\r\n \"backupStorageRedundancy\": \"Geo\"\r\n }\r\n },\r\n \"networkAclBypassResourceIds\": []\r\n },\r\n \"identity\": {\r\n \"type\": \"None\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/resourceGroups/ramarag/providers/Microsoft.DocumentDB/databaseAccounts/ramarag\",\r\n \"name\": \"ramarag\",\r\n \"location\": \"East US 2\",\r\n \"type\": \"Microsoft.DocumentDB/databaseAccounts\",\r\n \"kind\": \"GlobalDocumentDB\",\r\n \"tags\": {\r\n \"defaultExperience\": \"Core (SQL)\"\r\n },\r\n \"systemData\": {\r\n \"createdAt\": \"2019-09-25T20:56:59.7175445Z\"\r\n },\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"documentEndpoint\": \"https://ramarag.documents-staging.windows-ppe.net:443/\",\r\n \"publicNetworkAccess\": \"Enabled\",\r\n \"enableAutomaticFailover\": false,\r\n \"enableMultipleWriteLocations\": false,\r\n \"enablePartitionKeyMonitor\": false,\r\n \"isVirtualNetworkFilterEnabled\": false,\r\n \"virtualNetworkRules\": [],\r\n \"EnabledApiTypes\": \"Sql\",\r\n \"disableKeyBasedMetadataWriteAccess\": false,\r\n \"enableFreeTier\": false,\r\n \"enableAnalyticalStorage\": false,\r\n \"analyticalStorageConfiguration\": null,\r\n \"instanceId\": \"8fe02f31-1c62-475c-8c6c-86f5fdaadad1\",\r\n \"createMode\": \"Default\",\r\n \"databaseAccountOfferType\": \"Standard\",\r\n \"enableCassandraConnector\": false,\r\n \"connectorOffer\": \"\",\r\n \"defaultIdentity\": \"\",\r\n \"networkAclBypass\": \"None\",\r\n \"consistencyPolicy\": {\r\n \"defaultConsistencyLevel\": \"Session\",\r\n \"maxIntervalInSeconds\": 5,\r\n \"maxStalenessPrefix\": 100\r\n },\r\n \"configurationOverrides\": {},\r\n \"writeLocations\": [\r\n {\r\n \"id\": \"ramarag-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://ramarag-eastus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"readLocations\": [\r\n {\r\n \"id\": \"ramarag-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://ramarag-eastus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"locations\": [\r\n {\r\n \"id\": \"ramarag-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://ramarag-eastus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"failoverPolicies\": [\r\n {\r\n \"id\": \"ramarag-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"failoverPriority\": 0\r\n }\r\n ],\r\n \"cors\": [],\r\n \"capabilities\": [],\r\n \"ipRules\": [],\r\n \"backupPolicy\": {\r\n \"type\": \"Periodic\",\r\n \"periodicModeProperties\": {\r\n \"backupIntervalInMinutes\": 60,\r\n \"backupRetentionIntervalInHours\": 8,\r\n \"backupStorageRedundancy\": \"Geo\"\r\n }\r\n },\r\n \"networkAclBypassResourceIds\": []\r\n },\r\n \"identity\": {\r\n \"type\": \"None\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/resourceGroups/CosmosDBResourceGroup3668/providers/Microsoft.DocumentDB/databaseAccounts/rbac\",\r\n \"name\": \"rbac\",\r\n \"location\": \"East US 2\",\r\n \"type\": \"Microsoft.DocumentDB/databaseAccounts\",\r\n \"kind\": \"GlobalDocumentDB\",\r\n \"tags\": {\r\n \"defaultExperience\": \"Core (SQL)\",\r\n \"hidden-cosmos-mmspecial\": \"\",\r\n \"CosmosAccountType\": \"Non-Production\"\r\n },\r\n \"systemData\": {\r\n \"createdAt\": \"2020-09-18T21:54:51.8533697Z\"\r\n },\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"documentEndpoint\": \"https://rbac.documents-staging.windows-ppe.net:443/\",\r\n \"publicNetworkAccess\": \"Enabled\",\r\n \"enableAutomaticFailover\": false,\r\n \"enableMultipleWriteLocations\": false,\r\n \"enablePartitionKeyMonitor\": false,\r\n \"isVirtualNetworkFilterEnabled\": false,\r\n \"virtualNetworkRules\": [],\r\n \"EnabledApiTypes\": \"Sql\",\r\n \"disableKeyBasedMetadataWriteAccess\": false,\r\n \"enableFreeTier\": false,\r\n \"enableAnalyticalStorage\": false,\r\n \"analyticalStorageConfiguration\": null,\r\n \"instanceId\": \"4254c568-97a0-4f08-8b54-7fc8bd794635\",\r\n \"createMode\": \"Default\",\r\n \"databaseAccountOfferType\": \"Standard\",\r\n \"enableCassandraConnector\": false,\r\n \"connectorOffer\": \"\",\r\n \"defaultIdentity\": \"\",\r\n \"networkAclBypass\": \"None\",\r\n \"consistencyPolicy\": {\r\n \"defaultConsistencyLevel\": \"Session\",\r\n \"maxIntervalInSeconds\": 5,\r\n \"maxStalenessPrefix\": 100\r\n },\r\n \"configurationOverrides\": {},\r\n \"writeLocations\": [\r\n {\r\n \"id\": \"rbac-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://rbac-eastus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"readLocations\": [\r\n {\r\n \"id\": \"rbac-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://rbac-eastus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"locations\": [\r\n {\r\n \"id\": \"rbac-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://rbac-eastus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"failoverPolicies\": [\r\n {\r\n \"id\": \"rbac-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"failoverPriority\": 0\r\n }\r\n ],\r\n \"cors\": [],\r\n \"capabilities\": [],\r\n \"ipRules\": [],\r\n \"backupPolicy\": {\r\n \"type\": \"Periodic\",\r\n \"periodicModeProperties\": {\r\n \"backupIntervalInMinutes\": 240,\r\n \"backupRetentionIntervalInHours\": 8,\r\n \"backupStorageRedundancy\": \"Geo\"\r\n }\r\n },\r\n \"networkAclBypassResourceIds\": []\r\n },\r\n \"identity\": {\r\n \"type\": \"None\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/resourceGroups/vivekrasignoff/providers/Microsoft.DocumentDB/databaseAccounts/cassstagesignoffeastus2\",\r\n \"name\": \"cassstagesignoffeastus2\",\r\n \"location\": \"East US 2\",\r\n \"type\": \"Microsoft.DocumentDB/databaseAccounts\",\r\n \"kind\": \"GlobalDocumentDB\",\r\n \"tags\": {\r\n \"defaultExperience\": \"Cassandra\",\r\n \"hidden-cosmos-mmspecial\": \"\",\r\n \"CosmosAccountType\": \"Non-Production\"\r\n },\r\n \"systemData\": {\r\n \"createdAt\": \"2020-07-25T00:33:37.2822822Z\"\r\n },\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"documentEndpoint\": \"https://cassstagesignoffeastus2.documents-staging.windows-ppe.net:443/\",\r\n \"cassandraEndpoint\": \"https://cassstagesignoffeastus2.cassandra.cosmos.windows-ppe.net:443/\",\r\n \"publicNetworkAccess\": \"Enabled\",\r\n \"enableAutomaticFailover\": false,\r\n \"enableMultipleWriteLocations\": false,\r\n \"enablePartitionKeyMonitor\": false,\r\n \"isVirtualNetworkFilterEnabled\": false,\r\n \"virtualNetworkRules\": [],\r\n \"EnabledApiTypes\": \"Cassandra\",\r\n \"disableKeyBasedMetadataWriteAccess\": false,\r\n \"enableFreeTier\": false,\r\n \"enableAnalyticalStorage\": false,\r\n \"analyticalStorageConfiguration\": null,\r\n \"instanceId\": \"1a4301e3-4c45-40df-bf7c-504a1cc018fe\",\r\n \"createMode\": \"Default\",\r\n \"databaseAccountOfferType\": \"Standard\",\r\n \"enableCassandraConnector\": false,\r\n \"connectorOffer\": \"\",\r\n \"defaultIdentity\": \"\",\r\n \"networkAclBypass\": \"None\",\r\n \"consistencyPolicy\": {\r\n \"defaultConsistencyLevel\": \"Session\",\r\n \"maxIntervalInSeconds\": 5,\r\n \"maxStalenessPrefix\": 100\r\n },\r\n \"configurationOverrides\": {},\r\n \"writeLocations\": [\r\n {\r\n \"id\": \"cassstagesignoffeastus2-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://cassstagesignoffeastus2-eastus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"readLocations\": [\r\n {\r\n \"id\": \"cassstagesignoffeastus2-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://cassstagesignoffeastus2-eastus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"locations\": [\r\n {\r\n \"id\": \"cassstagesignoffeastus2-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://cassstagesignoffeastus2-eastus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"failoverPolicies\": [\r\n {\r\n \"id\": \"cassstagesignoffeastus2-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"failoverPriority\": 0\r\n }\r\n ],\r\n \"cors\": [],\r\n \"capabilities\": [\r\n {\r\n \"name\": \"EnableCassandra\"\r\n }\r\n ],\r\n \"ipRules\": [],\r\n \"backupPolicy\": {\r\n \"type\": \"Periodic\",\r\n \"periodicModeProperties\": {\r\n \"backupIntervalInMinutes\": 240,\r\n \"backupRetentionIntervalInHours\": 8,\r\n \"backupStorageRedundancy\": \"Geo\"\r\n }\r\n },\r\n \"networkAclBypassResourceIds\": []\r\n },\r\n \"identity\": {\r\n \"type\": \"None\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/resourceGroups/akgoe-test-rg/providers/Microsoft.DocumentDB/databaseAccounts/cdb-stage-eastus2-test\",\r\n \"name\": \"cdb-stage-eastus2-test\",\r\n \"location\": \"East US 2\",\r\n \"type\": \"Microsoft.DocumentDB/databaseAccounts\",\r\n \"kind\": \"GlobalDocumentDB\",\r\n \"tags\": {\r\n \"defaultExperience\": \"Core (SQL)\",\r\n \"hidden-cosmos-mmspecial\": \"\",\r\n \"CosmosAccountType\": \"Production\"\r\n },\r\n \"systemData\": {\r\n \"createdAt\": \"2020-09-29T05:48:36.1149551Z\"\r\n },\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"documentEndpoint\": \"https://cdb-stage-eastus2-test.documents-staging.windows-ppe.net:443/\",\r\n \"publicNetworkAccess\": \"Enabled\",\r\n \"enableAutomaticFailover\": false,\r\n \"enableMultipleWriteLocations\": false,\r\n \"enablePartitionKeyMonitor\": false,\r\n \"isVirtualNetworkFilterEnabled\": false,\r\n \"virtualNetworkRules\": [],\r\n \"EnabledApiTypes\": \"Sql\",\r\n \"disableKeyBasedMetadataWriteAccess\": false,\r\n \"enableFreeTier\": false,\r\n \"enableAnalyticalStorage\": false,\r\n \"analyticalStorageConfiguration\": null,\r\n \"instanceId\": \"c70a0251-7071-4144-aafe-8dc60d23d2ce\",\r\n \"createMode\": \"Default\",\r\n \"databaseAccountOfferType\": \"Standard\",\r\n \"enableCassandraConnector\": false,\r\n \"connectorOffer\": \"\",\r\n \"defaultIdentity\": \"\",\r\n \"networkAclBypass\": \"None\",\r\n \"consistencyPolicy\": {\r\n \"defaultConsistencyLevel\": \"Session\",\r\n \"maxIntervalInSeconds\": 5,\r\n \"maxStalenessPrefix\": 100\r\n },\r\n \"configurationOverrides\": {},\r\n \"writeLocations\": [\r\n {\r\n \"id\": \"cdb-stage-eastus2-test-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://cdb-stage-eastus2-test-eastus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"readLocations\": [\r\n {\r\n \"id\": \"cdb-stage-eastus2-test-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://cdb-stage-eastus2-test-eastus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"locations\": [\r\n {\r\n \"id\": \"cdb-stage-eastus2-test-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://cdb-stage-eastus2-test-eastus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"failoverPolicies\": [\r\n {\r\n \"id\": \"cdb-stage-eastus2-test-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"failoverPriority\": 0\r\n }\r\n ],\r\n \"cors\": [],\r\n \"capabilities\": [],\r\n \"ipRules\": [],\r\n \"backupPolicy\": {\r\n \"type\": \"Periodic\",\r\n \"periodicModeProperties\": {\r\n \"backupIntervalInMinutes\": 240,\r\n \"backupRetentionIntervalInHours\": 8,\r\n \"backupStorageRedundancy\": \"Geo\"\r\n }\r\n },\r\n \"networkAclBypassResourceIds\": []\r\n },\r\n \"identity\": {\r\n \"type\": \"None\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/resourceGroups/analytics/providers/Microsoft.DocumentDB/databaseAccounts/sargupanatest1\",\r\n \"name\": \"sargupanatest1\",\r\n \"location\": \"East US 2\",\r\n \"type\": \"Microsoft.DocumentDB/databaseAccounts\",\r\n \"kind\": \"GlobalDocumentDB\",\r\n \"tags\": {},\r\n \"systemData\": {\r\n \"createdAt\": \"2019-09-27T20:30:51.5034916Z\"\r\n },\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"documentEndpoint\": \"https://sargupanatest1.documents-staging.windows-ppe.net:443/\",\r\n \"publicNetworkAccess\": \"Enabled\",\r\n \"enableAutomaticFailover\": false,\r\n \"enableMultipleWriteLocations\": false,\r\n \"enablePartitionKeyMonitor\": false,\r\n \"isVirtualNetworkFilterEnabled\": false,\r\n \"virtualNetworkRules\": [],\r\n \"EnabledApiTypes\": \"Sql\",\r\n \"disableKeyBasedMetadataWriteAccess\": false,\r\n \"enableFreeTier\": false,\r\n \"enableAnalyticalStorage\": false,\r\n \"analyticalStorageConfiguration\": null,\r\n \"instanceId\": \"fb3a353e-2dcd-4d72-926c-26f373c07689\",\r\n \"createMode\": \"Default\",\r\n \"databaseAccountOfferType\": \"Standard\",\r\n \"enableCassandraConnector\": false,\r\n \"connectorOffer\": \"\",\r\n \"defaultIdentity\": \"\",\r\n \"networkAclBypass\": \"None\",\r\n \"consistencyPolicy\": {\r\n \"defaultConsistencyLevel\": \"Session\",\r\n \"maxIntervalInSeconds\": 5,\r\n \"maxStalenessPrefix\": 100\r\n },\r\n \"configurationOverrides\": {},\r\n \"writeLocations\": [\r\n {\r\n \"id\": \"sargupanatest1-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://sargupanatest1-eastus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"readLocations\": [\r\n {\r\n \"id\": \"sargupanatest1-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://sargupanatest1-eastus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n },\r\n {\r\n \"id\": \"sargupanatest1-westus2\",\r\n \"locationName\": \"West US 2\",\r\n \"documentEndpoint\": \"https://sargupanatest1-westus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 1,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"locations\": [\r\n {\r\n \"id\": \"sargupanatest1-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://sargupanatest1-eastus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n },\r\n {\r\n \"id\": \"sargupanatest1-westus2\",\r\n \"locationName\": \"West US 2\",\r\n \"documentEndpoint\": \"https://sargupanatest1-westus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 1,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"failoverPolicies\": [\r\n {\r\n \"id\": \"sargupanatest1-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"failoverPriority\": 0\r\n },\r\n {\r\n \"id\": \"sargupanatest1-westus2\",\r\n \"locationName\": \"West US 2\",\r\n \"failoverPriority\": 1\r\n }\r\n ],\r\n \"cors\": [],\r\n \"capabilities\": [\r\n {\r\n \"name\": \"EnableStorageAnalytics\"\r\n }\r\n ],\r\n \"ipRules\": [],\r\n \"backupPolicy\": {\r\n \"type\": \"Periodic\",\r\n \"periodicModeProperties\": {\r\n \"backupIntervalInMinutes\": 60,\r\n \"backupRetentionIntervalInHours\": 8,\r\n \"backupStorageRedundancy\": \"Geo\"\r\n }\r\n },\r\n \"networkAclBypassResourceIds\": []\r\n },\r\n \"identity\": {\r\n \"type\": \"None\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/resourceGroups/gremlin-rg-stg-eastus/providers/Microsoft.DocumentDB/databaseAccounts/gremlineastus2test\",\r\n \"name\": \"gremlineastus2test\",\r\n \"location\": \"East US 2\",\r\n \"type\": \"Microsoft.DocumentDB/databaseAccounts\",\r\n \"kind\": \"GlobalDocumentDB\",\r\n \"tags\": {\r\n \"defaultExperience\": \"Graph\"\r\n },\r\n \"systemData\": {\r\n \"createdAt\": \"2018-11-08T21:44:49.1853709Z\"\r\n },\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"documentEndpoint\": \"https://gremlineastus2test.documents-staging.windows-ppe.net:443/\",\r\n \"gremlinEndpoint\": \"https://gremlineastus2test.gremlin.cosmosdb.windows-ppe.net:443/\",\r\n \"publicNetworkAccess\": \"Enabled\",\r\n \"enableAutomaticFailover\": false,\r\n \"enableMultipleWriteLocations\": true,\r\n \"enablePartitionKeyMonitor\": false,\r\n \"isVirtualNetworkFilterEnabled\": false,\r\n \"virtualNetworkRules\": [],\r\n \"EnabledApiTypes\": \"Gremlin, Sql\",\r\n \"disableKeyBasedMetadataWriteAccess\": false,\r\n \"enableFreeTier\": false,\r\n \"enableAnalyticalStorage\": false,\r\n \"analyticalStorageConfiguration\": null,\r\n \"instanceId\": \"90004d5d-336e-4fb5-85ad-08c4a6ac2c40\",\r\n \"createMode\": \"Default\",\r\n \"databaseAccountOfferType\": \"Standard\",\r\n \"defaultIdentity\": \"\",\r\n \"networkAclBypass\": \"None\",\r\n \"consistencyPolicy\": {\r\n \"defaultConsistencyLevel\": \"Session\",\r\n \"maxIntervalInSeconds\": 5,\r\n \"maxStalenessPrefix\": 100\r\n },\r\n \"configurationOverrides\": {},\r\n \"writeLocations\": [\r\n {\r\n \"id\": \"gremlineastus2test-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://gremlineastus2test-eastus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"readLocations\": [\r\n {\r\n \"id\": \"gremlineastus2test-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://gremlineastus2test-eastus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"locations\": [\r\n {\r\n \"id\": \"gremlineastus2test-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://gremlineastus2test-eastus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"failoverPolicies\": [\r\n {\r\n \"id\": \"gremlineastus2test-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"failoverPriority\": 0\r\n }\r\n ],\r\n \"cors\": [],\r\n \"capabilities\": [\r\n {\r\n \"name\": \"EnableGremlin\"\r\n }\r\n ],\r\n \"ipRules\": [],\r\n \"backupPolicy\": {\r\n \"type\": \"Periodic\",\r\n \"periodicModeProperties\": {\r\n \"backupIntervalInMinutes\": 240,\r\n \"backupRetentionIntervalInHours\": 8,\r\n \"backupStorageRedundancy\": \"Geo\"\r\n }\r\n },\r\n \"networkAclBypassResourceIds\": []\r\n },\r\n \"identity\": {\r\n \"type\": \"None\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/resourceGroups/gremlin-staging-eastus2/providers/Microsoft.DocumentDB/databaseAccounts/gv2-stage-d32-noindex2\",\r\n \"name\": \"gv2-stage-d32-noindex2\",\r\n \"location\": \"East US 2\",\r\n \"type\": \"Microsoft.DocumentDB/databaseAccounts\",\r\n \"kind\": \"GlobalDocumentDB\",\r\n \"tags\": {\r\n \"defaultExperience\": \"Gremlinv2\"\r\n },\r\n \"systemData\": {\r\n \"createdAt\": \"2020-10-02T19:28:29.4449956Z\"\r\n },\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"documentEndpoint\": \"https://gv2-stage-d32-noindex2.documents-staging.windows-ppe.net:443/\",\r\n \"gremlinEndpoint\": \"https://gv2-stage-d32-noindex2.gremlin.cosmos.windows-ppe.net/\",\r\n \"publicNetworkAccess\": \"Enabled\",\r\n \"enableAutomaticFailover\": false,\r\n \"enableMultipleWriteLocations\": false,\r\n \"enablePartitionKeyMonitor\": false,\r\n \"isVirtualNetworkFilterEnabled\": false,\r\n \"virtualNetworkRules\": [],\r\n \"EnabledApiTypes\": \"GremlinV2\",\r\n \"disableKeyBasedMetadataWriteAccess\": false,\r\n \"enableFreeTier\": false,\r\n \"enableAnalyticalStorage\": false,\r\n \"analyticalStorageConfiguration\": null,\r\n \"instanceId\": \"96876fe7-3e3f-483e-9cf2-ac00e1c9e9be\",\r\n \"createMode\": \"Default\",\r\n \"databaseAccountOfferType\": \"Standard\",\r\n \"enableCassandraConnector\": false,\r\n \"connectorOffer\": \"\",\r\n \"defaultIdentity\": \"\",\r\n \"networkAclBypass\": \"None\",\r\n \"consistencyPolicy\": {\r\n \"defaultConsistencyLevel\": \"Session\",\r\n \"maxIntervalInSeconds\": 5,\r\n \"maxStalenessPrefix\": 100\r\n },\r\n \"apiProperties\": {\r\n \"clusterInstanceCount\": 1,\r\n \"clusterSize\": \"Cosmos.Gremlin.D32s\"\r\n },\r\n \"configurationOverrides\": {},\r\n \"writeLocations\": [\r\n {\r\n \"id\": \"gv2-stage-d32-noindex2-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://gv2-stage-d32-noindex2-eastus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"readLocations\": [\r\n {\r\n \"id\": \"gv2-stage-d32-noindex2-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://gv2-stage-d32-noindex2-eastus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"locations\": [\r\n {\r\n \"id\": \"gv2-stage-d32-noindex2-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://gv2-stage-d32-noindex2-eastus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"failoverPolicies\": [\r\n {\r\n \"id\": \"gv2-stage-d32-noindex2-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"failoverPriority\": 0\r\n }\r\n ],\r\n \"cors\": [],\r\n \"capabilities\": [\r\n {\r\n \"name\": \"EnableGremlinV2\"\r\n }\r\n ],\r\n \"ipRules\": [],\r\n \"backupPolicy\": {\r\n \"type\": \"Periodic\",\r\n \"periodicModeProperties\": {\r\n \"backupIntervalInMinutes\": 240,\r\n \"backupRetentionIntervalInHours\": 8,\r\n \"backupStorageRedundancy\": \"Geo\"\r\n }\r\n },\r\n \"networkAclBypassResourceIds\": []\r\n },\r\n \"identity\": {\r\n \"type\": \"None\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/resourceGroups/harinic/providers/Microsoft.DocumentDB/databaseAccounts/harinictest2\",\r\n \"name\": \"harinictest2\",\r\n \"location\": \"East US 2\",\r\n \"type\": \"Microsoft.DocumentDB/databaseAccounts\",\r\n \"kind\": \"GlobalDocumentDB\",\r\n \"tags\": {\r\n \"defaultExperience\": \"Core (SQL)\",\r\n \"hidden-cosmos-mmspecial\": \"\",\r\n \"CosmosAccountType\": \"Non-Production\"\r\n },\r\n \"systemData\": {\r\n \"createdAt\": \"2020-07-24T02:27:10.441255Z\"\r\n },\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"documentEndpoint\": \"https://harinictest2.documents-staging.windows-ppe.net:443/\",\r\n \"publicNetworkAccess\": \"Enabled\",\r\n \"enableAutomaticFailover\": false,\r\n \"enableMultipleWriteLocations\": false,\r\n \"enablePartitionKeyMonitor\": false,\r\n \"isVirtualNetworkFilterEnabled\": false,\r\n \"virtualNetworkRules\": [],\r\n \"EnabledApiTypes\": \"Sql\",\r\n \"disableKeyBasedMetadataWriteAccess\": false,\r\n \"enableFreeTier\": false,\r\n \"enableAnalyticalStorage\": false,\r\n \"analyticalStorageConfiguration\": null,\r\n \"instanceId\": \"63bd6d18-ccda-4907-b7df-39d390fc4c73\",\r\n \"createMode\": \"Default\",\r\n \"databaseAccountOfferType\": \"Standard\",\r\n \"enableCassandraConnector\": false,\r\n \"connectorOffer\": \"\",\r\n \"defaultIdentity\": \"\",\r\n \"networkAclBypass\": \"None\",\r\n \"consistencyPolicy\": {\r\n \"defaultConsistencyLevel\": \"Session\",\r\n \"maxIntervalInSeconds\": 5,\r\n \"maxStalenessPrefix\": 100\r\n },\r\n \"configurationOverrides\": {},\r\n \"writeLocations\": [\r\n {\r\n \"id\": \"harinictest2-northcentralus\",\r\n \"locationName\": \"North Central US\",\r\n \"documentEndpoint\": \"https://harinictest2-northcentralus.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"readLocations\": [\r\n {\r\n \"id\": \"harinictest2-northcentralus\",\r\n \"locationName\": \"North Central US\",\r\n \"documentEndpoint\": \"https://harinictest2-northcentralus.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n },\r\n {\r\n \"id\": \"harinictest2-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://harinictest2-eastus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 1,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"locations\": [\r\n {\r\n \"id\": \"harinictest2-northcentralus\",\r\n \"locationName\": \"North Central US\",\r\n \"documentEndpoint\": \"https://harinictest2-northcentralus.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n },\r\n {\r\n \"id\": \"harinictest2-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://harinictest2-eastus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 1,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"failoverPolicies\": [\r\n {\r\n \"id\": \"harinictest2-northcentralus\",\r\n \"locationName\": \"North Central US\",\r\n \"failoverPriority\": 0\r\n },\r\n {\r\n \"id\": \"harinictest2-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"failoverPriority\": 1\r\n }\r\n ],\r\n \"cors\": [],\r\n \"capabilities\": [],\r\n \"ipRules\": [],\r\n \"backupPolicy\": {\r\n \"type\": \"Periodic\",\r\n \"periodicModeProperties\": {\r\n \"backupIntervalInMinutes\": 240,\r\n \"backupRetentionIntervalInHours\": 8,\r\n \"backupStorageRedundancy\": \"Geo\"\r\n }\r\n },\r\n \"networkAclBypassResourceIds\": []\r\n },\r\n \"identity\": {\r\n \"type\": \"None\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/resourceGroups/sdk-ci/providers/Microsoft.DocumentDB/databaseAccounts/java-async-gated\",\r\n \"name\": \"java-async-gated\",\r\n \"location\": \"East US 2\",\r\n \"type\": \"Microsoft.DocumentDB/databaseAccounts\",\r\n \"kind\": \"GlobalDocumentDB\",\r\n \"tags\": {\r\n \"defaultExperience\": \"Core (SQL)\"\r\n },\r\n \"systemData\": {\r\n \"createdAt\": \"2019-02-21T19:25:30.0509953Z\"\r\n },\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"documentEndpoint\": \"https://java-async-gated.documents-staging.windows-ppe.net:443/\",\r\n \"sqlEndpoint\": \"https://java-async-gated.documents-staging.windows-ppe.net:443/\",\r\n \"publicNetworkAccess\": \"Enabled\",\r\n \"enableAutomaticFailover\": false,\r\n \"enableMultipleWriteLocations\": false,\r\n \"enablePartitionKeyMonitor\": false,\r\n \"isVirtualNetworkFilterEnabled\": false,\r\n \"virtualNetworkRules\": [],\r\n \"EnabledApiTypes\": \"Sql\",\r\n \"disableKeyBasedMetadataWriteAccess\": false,\r\n \"enableFreeTier\": false,\r\n \"enableAnalyticalStorage\": false,\r\n \"analyticalStorageConfiguration\": null,\r\n \"instanceId\": \"d642aa15-7146-4d20-8ecc-699edf322846\",\r\n \"createMode\": \"Default\",\r\n \"databaseAccountOfferType\": \"Standard\",\r\n \"defaultIdentity\": \"\",\r\n \"networkAclBypass\": \"None\",\r\n \"consistencyPolicy\": {\r\n \"defaultConsistencyLevel\": \"Strong\",\r\n \"maxIntervalInSeconds\": 5,\r\n \"maxStalenessPrefix\": 100\r\n },\r\n \"configurationOverrides\": {},\r\n \"writeLocations\": [\r\n {\r\n \"id\": \"java-async-gated-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://java-async-gated-eastus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"readLocations\": [\r\n {\r\n \"id\": \"java-async-gated-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://java-async-gated-eastus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"locations\": [\r\n {\r\n \"id\": \"java-async-gated-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://java-async-gated-eastus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"failoverPolicies\": [\r\n {\r\n \"id\": \"java-async-gated-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"failoverPriority\": 0\r\n }\r\n ],\r\n \"cors\": [],\r\n \"capabilities\": [\r\n {\r\n \"name\": \"EnableSql\"\r\n }\r\n ],\r\n \"ipRules\": [],\r\n \"backupPolicy\": {\r\n \"type\": \"Periodic\",\r\n \"periodicModeProperties\": {\r\n \"backupIntervalInMinutes\": 240,\r\n \"backupRetentionIntervalInHours\": 8,\r\n \"backupStorageRedundancy\": \"Geo\"\r\n }\r\n },\r\n \"networkAclBypassResourceIds\": []\r\n },\r\n \"identity\": {\r\n \"type\": \"None\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/resourceGroups/ash/providers/Microsoft.DocumentDB/databaseAccounts/ash-gremlin-nb1\",\r\n \"name\": \"ash-gremlin-nb1\",\r\n \"location\": \"East US 2\",\r\n \"type\": \"Microsoft.DocumentDB/databaseAccounts\",\r\n \"kind\": \"GlobalDocumentDB\",\r\n \"tags\": {\r\n \"defaultExperience\": \"Gremlin (graph)\"\r\n },\r\n \"systemData\": {\r\n \"createdAt\": \"2019-09-25T23:49:12.8054895Z\"\r\n },\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"documentEndpoint\": \"https://ash-gremlin-nb1.documents-staging.windows-ppe.net:443/\",\r\n \"gremlinEndpoint\": \"https://ash-gremlin-nb1.gremlin.cosmos.windows-ppe.net:443/\",\r\n \"publicNetworkAccess\": \"Enabled\",\r\n \"enableAutomaticFailover\": false,\r\n \"enableMultipleWriteLocations\": false,\r\n \"enablePartitionKeyMonitor\": false,\r\n \"isVirtualNetworkFilterEnabled\": false,\r\n \"virtualNetworkRules\": [],\r\n \"EnabledApiTypes\": \"Gremlin, Sql\",\r\n \"disableKeyBasedMetadataWriteAccess\": false,\r\n \"enableFreeTier\": false,\r\n \"enableAnalyticalStorage\": false,\r\n \"analyticalStorageConfiguration\": null,\r\n \"instanceId\": \"e375c079-c747-48d5-a5cf-c31feadf3d01\",\r\n \"createMode\": \"Default\",\r\n \"databaseAccountOfferType\": \"Standard\",\r\n \"enableCassandraConnector\": false,\r\n \"connectorOffer\": \"\",\r\n \"defaultIdentity\": \"\",\r\n \"networkAclBypass\": \"None\",\r\n \"consistencyPolicy\": {\r\n \"defaultConsistencyLevel\": \"Session\",\r\n \"maxIntervalInSeconds\": 5,\r\n \"maxStalenessPrefix\": 100\r\n },\r\n \"configurationOverrides\": {},\r\n \"writeLocations\": [\r\n {\r\n \"id\": \"ash-gremlin-nb1-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://ash-gremlin-nb1-eastus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"readLocations\": [\r\n {\r\n \"id\": \"ash-gremlin-nb1-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://ash-gremlin-nb1-eastus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"locations\": [\r\n {\r\n \"id\": \"ash-gremlin-nb1-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://ash-gremlin-nb1-eastus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"failoverPolicies\": [\r\n {\r\n \"id\": \"ash-gremlin-nb1-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"failoverPriority\": 0\r\n }\r\n ],\r\n \"cors\": [],\r\n \"capabilities\": [\r\n {\r\n \"name\": \"EnableGremlin\"\r\n },\r\n {\r\n \"name\": \"EnableNotebooks\"\r\n }\r\n ],\r\n \"ipRules\": [],\r\n \"backupPolicy\": {\r\n \"type\": \"Periodic\",\r\n \"periodicModeProperties\": {\r\n \"backupIntervalInMinutes\": 60,\r\n \"backupRetentionIntervalInHours\": 8,\r\n \"backupStorageRedundancy\": \"Geo\"\r\n }\r\n },\r\n \"networkAclBypassResourceIds\": []\r\n },\r\n \"identity\": {\r\n \"type\": \"None\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/resourceGroups/temp/providers/Microsoft.DocumentDB/databaseAccounts/jawilleytest\",\r\n \"name\": \"jawilleytest\",\r\n \"location\": \"East US 2\",\r\n \"type\": \"Microsoft.DocumentDB/databaseAccounts\",\r\n \"kind\": \"GlobalDocumentDB\",\r\n \"tags\": {\r\n \"defaultExperience\": \"Core (SQL)\"\r\n },\r\n \"systemData\": {\r\n \"createdAt\": \"2018-12-11T15:50:14.0771722Z\"\r\n },\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"documentEndpoint\": \"https://jawilleytest.documents-staging.windows-ppe.net:443/\",\r\n \"publicNetworkAccess\": \"Enabled\",\r\n \"enableAutomaticFailover\": false,\r\n \"enableMultipleWriteLocations\": false,\r\n \"enablePartitionKeyMonitor\": false,\r\n \"isVirtualNetworkFilterEnabled\": false,\r\n \"virtualNetworkRules\": [],\r\n \"EnabledApiTypes\": \"Sql\",\r\n \"disableKeyBasedMetadataWriteAccess\": false,\r\n \"enableFreeTier\": false,\r\n \"enableAnalyticalStorage\": false,\r\n \"analyticalStorageConfiguration\": null,\r\n \"instanceId\": \"695e5b7a-3079-483d-a777-0b8f80909433\",\r\n \"createMode\": \"Default\",\r\n \"databaseAccountOfferType\": \"Standard\",\r\n \"defaultIdentity\": \"\",\r\n \"networkAclBypass\": \"None\",\r\n \"consistencyPolicy\": {\r\n \"defaultConsistencyLevel\": \"Session\",\r\n \"maxIntervalInSeconds\": 5,\r\n \"maxStalenessPrefix\": 100\r\n },\r\n \"configurationOverrides\": {},\r\n \"writeLocations\": [\r\n {\r\n \"id\": \"jawilleytest-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://jawilleytest-eastus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"readLocations\": [\r\n {\r\n \"id\": \"jawilleytest-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://jawilleytest-eastus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"locations\": [\r\n {\r\n \"id\": \"jawilleytest-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://jawilleytest-eastus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"failoverPolicies\": [\r\n {\r\n \"id\": \"jawilleytest-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"failoverPriority\": 0\r\n }\r\n ],\r\n \"cors\": [],\r\n \"capabilities\": [],\r\n \"ipRules\": [],\r\n \"backupPolicy\": {\r\n \"type\": \"Periodic\",\r\n \"periodicModeProperties\": {\r\n \"backupIntervalInMinutes\": 240,\r\n \"backupRetentionIntervalInHours\": 8,\r\n \"backupStorageRedundancy\": \"Geo\"\r\n }\r\n },\r\n \"networkAclBypassResourceIds\": []\r\n },\r\n \"identity\": {\r\n \"type\": \"None\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/resourceGroups/mekaushi/providers/Microsoft.DocumentDB/databaseAccounts/mekaushiautoscale\",\r\n \"name\": \"mekaushiautoscale\",\r\n \"location\": \"East US 2\",\r\n \"type\": \"Microsoft.DocumentDB/databaseAccounts\",\r\n \"kind\": \"GlobalDocumentDB\",\r\n \"tags\": {},\r\n \"systemData\": {\r\n \"createdAt\": \"2020-05-16T00:51:28.2318169Z\"\r\n },\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"documentEndpoint\": \"https://mekaushiautoscale.documents-staging.windows-ppe.net:443/\",\r\n \"publicNetworkAccess\": \"Enabled\",\r\n \"enableAutomaticFailover\": true,\r\n \"enableMultipleWriteLocations\": false,\r\n \"enablePartitionKeyMonitor\": false,\r\n \"isVirtualNetworkFilterEnabled\": false,\r\n \"virtualNetworkRules\": [],\r\n \"EnabledApiTypes\": \"Sql\",\r\n \"disableKeyBasedMetadataWriteAccess\": false,\r\n \"enableFreeTier\": false,\r\n \"enableAnalyticalStorage\": false,\r\n \"analyticalStorageConfiguration\": null,\r\n \"instanceId\": \"5211b278-90c9-4a02-ade7-3683f29f9455\",\r\n \"createMode\": \"Default\",\r\n \"databaseAccountOfferType\": \"Standard\",\r\n \"enableCassandraConnector\": false,\r\n \"connectorOffer\": \"\",\r\n \"defaultIdentity\": \"\",\r\n \"networkAclBypass\": \"None\",\r\n \"consistencyPolicy\": {\r\n \"defaultConsistencyLevel\": \"Session\",\r\n \"maxIntervalInSeconds\": 5,\r\n \"maxStalenessPrefix\": 100\r\n },\r\n \"configurationOverrides\": {},\r\n \"writeLocations\": [\r\n {\r\n \"id\": \"mekaushiautoscale-westus2\",\r\n \"locationName\": \"West US 2\",\r\n \"documentEndpoint\": \"https://mekaushiautoscale-westus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"readLocations\": [\r\n {\r\n \"id\": \"mekaushiautoscale-westus2\",\r\n \"locationName\": \"West US 2\",\r\n \"documentEndpoint\": \"https://mekaushiautoscale-westus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n },\r\n {\r\n \"id\": \"mekaushiautoscale-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://mekaushiautoscale-eastus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 1,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"locations\": [\r\n {\r\n \"id\": \"mekaushiautoscale-westus2\",\r\n \"locationName\": \"West US 2\",\r\n \"documentEndpoint\": \"https://mekaushiautoscale-westus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n },\r\n {\r\n \"id\": \"mekaushiautoscale-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://mekaushiautoscale-eastus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 1,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"failoverPolicies\": [\r\n {\r\n \"id\": \"mekaushiautoscale-westus2\",\r\n \"locationName\": \"West US 2\",\r\n \"failoverPriority\": 0\r\n },\r\n {\r\n \"id\": \"mekaushiautoscale-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"failoverPriority\": 1\r\n }\r\n ],\r\n \"cors\": [],\r\n \"capabilities\": [],\r\n \"ipRules\": [],\r\n \"backupPolicy\": {\r\n \"type\": \"Periodic\",\r\n \"periodicModeProperties\": {\r\n \"backupIntervalInMinutes\": 60,\r\n \"backupRetentionIntervalInHours\": 8,\r\n \"backupStorageRedundancy\": \"Geo\"\r\n }\r\n },\r\n \"networkAclBypassResourceIds\": []\r\n },\r\n \"identity\": {\r\n \"type\": \"None\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/resourceGroups/CosmosDBResourceGroup3668/providers/Microsoft.DocumentDB/databaseAccounts/db001\",\r\n \"name\": \"db001\",\r\n \"location\": \"East US 2\",\r\n \"type\": \"Microsoft.DocumentDB/databaseAccounts\",\r\n \"kind\": \"MongoDB\",\r\n \"tags\": {},\r\n \"systemData\": {\r\n \"createdAt\": \"2020-07-21T15:57:56.429452Z\"\r\n },\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"documentEndpoint\": \"https://db001.documents-staging.windows-ppe.net:443/\",\r\n \"publicNetworkAccess\": \"Enabled\",\r\n \"enableAutomaticFailover\": false,\r\n \"enableMultipleWriteLocations\": false,\r\n \"enablePartitionKeyMonitor\": false,\r\n \"isVirtualNetworkFilterEnabled\": false,\r\n \"virtualNetworkRules\": [],\r\n \"EnabledApiTypes\": \"MongoDB\",\r\n \"disableKeyBasedMetadataWriteAccess\": false,\r\n \"enableFreeTier\": false,\r\n \"enableAnalyticalStorage\": false,\r\n \"analyticalStorageConfiguration\": null,\r\n \"instanceId\": \"7b4a9c2b-142f-4d1a-af8d-431a47ca2fc6\",\r\n \"createMode\": \"Default\",\r\n \"databaseAccountOfferType\": \"Standard\",\r\n \"enableCassandraConnector\": false,\r\n \"connectorOffer\": \"\",\r\n \"defaultIdentity\": \"\",\r\n \"networkAclBypass\": \"None\",\r\n \"consistencyPolicy\": {\r\n \"defaultConsistencyLevel\": \"Session\",\r\n \"maxIntervalInSeconds\": 5,\r\n \"maxStalenessPrefix\": 100\r\n },\r\n \"apiProperties\": {\r\n \"serverVersion\": \"3.2\"\r\n },\r\n \"configurationOverrides\": {\r\n \"EnableBsonSchema\": \"True\"\r\n },\r\n \"writeLocations\": [\r\n {\r\n \"id\": \"db001-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://db001-eastus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"readLocations\": [\r\n {\r\n \"id\": \"db001-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://db001-eastus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"locations\": [\r\n {\r\n \"id\": \"db001-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://db001-eastus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"failoverPolicies\": [\r\n {\r\n \"id\": \"db001-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"failoverPriority\": 0\r\n }\r\n ],\r\n \"cors\": [],\r\n \"capabilities\": [],\r\n \"ipRules\": [],\r\n \"backupPolicy\": {\r\n \"type\": \"Periodic\",\r\n \"periodicModeProperties\": {\r\n \"backupIntervalInMinutes\": 240,\r\n \"backupRetentionIntervalInHours\": 8,\r\n \"backupStorageRedundancy\": \"Geo\"\r\n }\r\n },\r\n \"networkAclBypassResourceIds\": []\r\n },\r\n \"identity\": {\r\n \"type\": \"None\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/resourceGroups/CosmosDBResourceGroup3668/providers/Microsoft.DocumentDB/databaseAccounts/db4096\",\r\n \"name\": \"db4096\",\r\n \"location\": \"East US 2\",\r\n \"type\": \"Microsoft.DocumentDB/databaseAccounts\",\r\n \"kind\": \"GlobalDocumentDB\",\r\n \"tags\": {\r\n \"defaultExperience\": \"Gremlin (graph)\",\r\n \"hidden-cosmos-mmspecial\": \"\",\r\n \"CosmosAccountType\": \"Non-Production\"\r\n },\r\n \"systemData\": {\r\n \"createdAt\": \"2020-07-21T19:00:24.1274508Z\"\r\n },\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"documentEndpoint\": \"https://db4096.documents-staging.windows-ppe.net:443/\",\r\n \"gremlinEndpoint\": \"https://db4096.gremlin.cosmos.windows-ppe.net:443/\",\r\n \"publicNetworkAccess\": \"Enabled\",\r\n \"enableAutomaticFailover\": false,\r\n \"enableMultipleWriteLocations\": false,\r\n \"enablePartitionKeyMonitor\": false,\r\n \"isVirtualNetworkFilterEnabled\": false,\r\n \"virtualNetworkRules\": [],\r\n \"EnabledApiTypes\": \"Gremlin, Sql\",\r\n \"disableKeyBasedMetadataWriteAccess\": false,\r\n \"enableFreeTier\": false,\r\n \"enableAnalyticalStorage\": false,\r\n \"analyticalStorageConfiguration\": null,\r\n \"instanceId\": \"1b62c2ca-a7e0-482b-82df-7e0b3293153e\",\r\n \"createMode\": \"Default\",\r\n \"databaseAccountOfferType\": \"Standard\",\r\n \"enableCassandraConnector\": false,\r\n \"connectorOffer\": \"\",\r\n \"defaultIdentity\": \"\",\r\n \"networkAclBypass\": \"None\",\r\n \"consistencyPolicy\": {\r\n \"defaultConsistencyLevel\": \"Session\",\r\n \"maxIntervalInSeconds\": 5,\r\n \"maxStalenessPrefix\": 100\r\n },\r\n \"configurationOverrides\": {},\r\n \"writeLocations\": [\r\n {\r\n \"id\": \"db4096-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://db4096-eastus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"readLocations\": [\r\n {\r\n \"id\": \"db4096-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://db4096-eastus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"locations\": [\r\n {\r\n \"id\": \"db4096-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://db4096-eastus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"failoverPolicies\": [\r\n {\r\n \"id\": \"db4096-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"failoverPriority\": 0\r\n }\r\n ],\r\n \"cors\": [],\r\n \"capabilities\": [\r\n {\r\n \"name\": \"EnableGremlin\"\r\n }\r\n ],\r\n \"ipRules\": [],\r\n \"backupPolicy\": {\r\n \"type\": \"Periodic\",\r\n \"periodicModeProperties\": {\r\n \"backupIntervalInMinutes\": 240,\r\n \"backupRetentionIntervalInHours\": 8,\r\n \"backupStorageRedundancy\": \"Geo\"\r\n }\r\n },\r\n \"networkAclBypassResourceIds\": []\r\n },\r\n \"identity\": {\r\n \"type\": \"None\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/resourceGroups/sdk-ci/providers/Microsoft.DocumentDB/databaseAccounts/sdk-signoff-1\",\r\n \"name\": \"sdk-signoff-1\",\r\n \"location\": \"East US 2\",\r\n \"type\": \"Microsoft.DocumentDB/databaseAccounts\",\r\n \"kind\": \"GlobalDocumentDB\",\r\n \"tags\": {\r\n \"defaultExperience\": \"DocumentDB\",\r\n \"CreatedBy\": \"stfaul\"\r\n },\r\n \"systemData\": {\r\n \"createdAt\": \"2018-06-26T21:34:35.0520648Z\"\r\n },\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"documentEndpoint\": \"https://sdk-signoff-1.documents-staging.windows-ppe.net:443/\",\r\n \"publicNetworkAccess\": \"Enabled\",\r\n \"enableAutomaticFailover\": false,\r\n \"enableMultipleWriteLocations\": false,\r\n \"enablePartitionKeyMonitor\": false,\r\n \"isVirtualNetworkFilterEnabled\": false,\r\n \"virtualNetworkRules\": [],\r\n \"EnabledApiTypes\": \"Sql\",\r\n \"disableKeyBasedMetadataWriteAccess\": false,\r\n \"enableFreeTier\": false,\r\n \"enableAnalyticalStorage\": false,\r\n \"analyticalStorageConfiguration\": null,\r\n \"instanceId\": \"56deb7e7-a99e-46ba-834c-32ecc3275dc6\",\r\n \"createMode\": \"Default\",\r\n \"databaseAccountOfferType\": \"Standard\",\r\n \"defaultIdentity\": \"\",\r\n \"networkAclBypass\": \"None\",\r\n \"consistencyPolicy\": {\r\n \"defaultConsistencyLevel\": \"Strong\",\r\n \"maxIntervalInSeconds\": 5,\r\n \"maxStalenessPrefix\": 100\r\n },\r\n \"configurationOverrides\": {},\r\n \"writeLocations\": [\r\n {\r\n \"id\": \"sdk-signoff-1-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://sdk-signoff-1-eastus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"readLocations\": [\r\n {\r\n \"id\": \"sdk-signoff-1-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://sdk-signoff-1-eastus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"locations\": [\r\n {\r\n \"id\": \"sdk-signoff-1-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://sdk-signoff-1-eastus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"failoverPolicies\": [\r\n {\r\n \"id\": \"sdk-signoff-1-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"failoverPriority\": 0\r\n }\r\n ],\r\n \"cors\": [],\r\n \"capabilities\": [],\r\n \"ipRules\": [],\r\n \"backupPolicy\": {\r\n \"type\": \"Periodic\",\r\n \"periodicModeProperties\": {\r\n \"backupIntervalInMinutes\": 240,\r\n \"backupRetentionIntervalInHours\": 8,\r\n \"backupStorageRedundancy\": \"Geo\"\r\n }\r\n },\r\n \"networkAclBypassResourceIds\": []\r\n },\r\n \"identity\": {\r\n \"type\": \"None\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/resourceGroups/Devansh-Test_env/providers/Microsoft.DocumentDB/databaseAccounts/metric-consolidation\",\r\n \"name\": \"metric-consolidation\",\r\n \"location\": \"East US 2\",\r\n \"type\": \"Microsoft.DocumentDB/databaseAccounts\",\r\n \"kind\": \"GlobalDocumentDB\",\r\n \"tags\": {\r\n \"defaultExperience\": \"Core (SQL)\",\r\n \"hidden-cosmos-mmspecial\": \"\"\r\n },\r\n \"systemData\": {\r\n \"createdAt\": \"2020-02-05T06:58:16.6826835Z\"\r\n },\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"documentEndpoint\": \"https://metric-consolidation.documents-staging.windows-ppe.net:443/\",\r\n \"publicNetworkAccess\": \"Enabled\",\r\n \"enableAutomaticFailover\": false,\r\n \"enableMultipleWriteLocations\": false,\r\n \"enablePartitionKeyMonitor\": false,\r\n \"isVirtualNetworkFilterEnabled\": false,\r\n \"virtualNetworkRules\": [],\r\n \"EnabledApiTypes\": \"Sql\",\r\n \"disableKeyBasedMetadataWriteAccess\": false,\r\n \"enableFreeTier\": false,\r\n \"enableAnalyticalStorage\": false,\r\n \"analyticalStorageConfiguration\": null,\r\n \"instanceId\": \"58f74bd5-ca84-4196-869e-40f00ad81595\",\r\n \"createMode\": \"Default\",\r\n \"databaseAccountOfferType\": \"Standard\",\r\n \"enableCassandraConnector\": false,\r\n \"connectorOffer\": \"\",\r\n \"defaultIdentity\": \"\",\r\n \"networkAclBypass\": \"None\",\r\n \"consistencyPolicy\": {\r\n \"defaultConsistencyLevel\": \"Session\",\r\n \"maxIntervalInSeconds\": 5,\r\n \"maxStalenessPrefix\": 100\r\n },\r\n \"configurationOverrides\": {},\r\n \"writeLocations\": [\r\n {\r\n \"id\": \"metric-consolidation-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://metric-consolidation-eastus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"readLocations\": [\r\n {\r\n \"id\": \"metric-consolidation-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://metric-consolidation-eastus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"locations\": [\r\n {\r\n \"id\": \"metric-consolidation-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://metric-consolidation-eastus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"failoverPolicies\": [\r\n {\r\n \"id\": \"metric-consolidation-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"failoverPriority\": 0\r\n }\r\n ],\r\n \"cors\": [],\r\n \"capabilities\": [\r\n {\r\n \"name\": \"EnableStorageAnalytics\"\r\n }\r\n ],\r\n \"ipRules\": [],\r\n \"backupPolicy\": {\r\n \"type\": \"Periodic\",\r\n \"periodicModeProperties\": {\r\n \"backupIntervalInMinutes\": 60,\r\n \"backupRetentionIntervalInHours\": 8,\r\n \"backupStorageRedundancy\": \"Geo\"\r\n }\r\n },\r\n \"networkAclBypassResourceIds\": []\r\n },\r\n \"identity\": {\r\n \"type\": \"None\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/resourceGroups/shmotlan/providers/Microsoft.DocumentDB/databaseAccounts/shan-0726-graph\",\r\n \"name\": \"shan-0726-graph\",\r\n \"location\": \"East US 2\",\r\n \"type\": \"Microsoft.DocumentDB/databaseAccounts\",\r\n \"kind\": \"GlobalDocumentDB\",\r\n \"tags\": {\r\n \"defaultExperience\": \"Gremlin (graph)\"\r\n },\r\n \"systemData\": {\r\n \"createdAt\": \"2019-07-26T20:37:17.2181605Z\"\r\n },\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"documentEndpoint\": \"https://shan-0726-graph.documents-staging.windows-ppe.net:443/\",\r\n \"gremlinEndpoint\": \"https://shan-0726-graph.gremlin.cosmos.windows-ppe.net:443/\",\r\n \"publicNetworkAccess\": \"Enabled\",\r\n \"enableAutomaticFailover\": false,\r\n \"enableMultipleWriteLocations\": true,\r\n \"enablePartitionKeyMonitor\": false,\r\n \"isVirtualNetworkFilterEnabled\": false,\r\n \"virtualNetworkRules\": [],\r\n \"EnabledApiTypes\": \"Gremlin, Sql\",\r\n \"disableKeyBasedMetadataWriteAccess\": false,\r\n \"enableFreeTier\": false,\r\n \"enableAnalyticalStorage\": false,\r\n \"analyticalStorageConfiguration\": null,\r\n \"instanceId\": \"c77c524f-a0bb-4f82-a32b-5ad8a91107c3\",\r\n \"createMode\": \"Default\",\r\n \"databaseAccountOfferType\": \"Standard\",\r\n \"enableCassandraConnector\": false,\r\n \"connectorOffer\": \"\",\r\n \"defaultIdentity\": \"\",\r\n \"networkAclBypass\": \"None\",\r\n \"consistencyPolicy\": {\r\n \"defaultConsistencyLevel\": \"Session\",\r\n \"maxIntervalInSeconds\": 5,\r\n \"maxStalenessPrefix\": 100\r\n },\r\n \"configurationOverrides\": {},\r\n \"writeLocations\": [\r\n {\r\n \"id\": \"shan-0726-graph-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://shan-0726-graph-eastus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"readLocations\": [\r\n {\r\n \"id\": \"shan-0726-graph-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://shan-0726-graph-eastus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"locations\": [\r\n {\r\n \"id\": \"shan-0726-graph-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://shan-0726-graph-eastus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"failoverPolicies\": [\r\n {\r\n \"id\": \"shan-0726-graph-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"failoverPriority\": 0\r\n }\r\n ],\r\n \"cors\": [],\r\n \"capabilities\": [\r\n {\r\n \"name\": \"EnableGremlin\"\r\n }\r\n ],\r\n \"ipRules\": [],\r\n \"backupPolicy\": {\r\n \"type\": \"Periodic\",\r\n \"periodicModeProperties\": {\r\n \"backupIntervalInMinutes\": 240,\r\n \"backupRetentionIntervalInHours\": 8,\r\n \"backupStorageRedundancy\": \"Geo\"\r\n }\r\n },\r\n \"networkAclBypassResourceIds\": []\r\n },\r\n \"identity\": {\r\n \"type\": \"None\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/resourceGroups/sargup/providers/Microsoft.DocumentDB/databaseAccounts/deploytestsargup\",\r\n \"name\": \"deploytestsargup\",\r\n \"location\": \"East US 2\",\r\n \"type\": \"Microsoft.DocumentDB/databaseAccounts\",\r\n \"kind\": \"GlobalDocumentDB\",\r\n \"tags\": {\r\n \"defaultExperience\": \"Core (SQL)\"\r\n },\r\n \"systemData\": {\r\n \"createdAt\": \"2019-10-24T22:01:36.0865157Z\"\r\n },\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"documentEndpoint\": \"https://deploytestsargup.documents-staging.windows-ppe.net:443/\",\r\n \"publicNetworkAccess\": \"Enabled\",\r\n \"enableAutomaticFailover\": false,\r\n \"enableMultipleWriteLocations\": false,\r\n \"enablePartitionKeyMonitor\": false,\r\n \"isVirtualNetworkFilterEnabled\": false,\r\n \"virtualNetworkRules\": [],\r\n \"EnabledApiTypes\": \"Sql\",\r\n \"disableKeyBasedMetadataWriteAccess\": false,\r\n \"enableFreeTier\": false,\r\n \"enableAnalyticalStorage\": false,\r\n \"analyticalStorageConfiguration\": null,\r\n \"instanceId\": \"92fdc07a-f203-4fe1-8373-166353694912\",\r\n \"createMode\": \"Default\",\r\n \"databaseAccountOfferType\": \"Standard\",\r\n \"enableCassandraConnector\": false,\r\n \"connectorOffer\": \"\",\r\n \"defaultIdentity\": \"\",\r\n \"networkAclBypass\": \"None\",\r\n \"consistencyPolicy\": {\r\n \"defaultConsistencyLevel\": \"Session\",\r\n \"maxIntervalInSeconds\": 5,\r\n \"maxStalenessPrefix\": 100\r\n },\r\n \"configurationOverrides\": {},\r\n \"writeLocations\": [\r\n {\r\n \"id\": \"deploytestsargup-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://deploytestsargup-eastus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"readLocations\": [\r\n {\r\n \"id\": \"deploytestsargup-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://deploytestsargup-eastus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n },\r\n {\r\n \"id\": \"deploytestsargup-southeastasia\",\r\n \"locationName\": \"Southeast Asia\",\r\n \"documentEndpoint\": \"https://deploytestsargup-southeastasia.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 1,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"locations\": [\r\n {\r\n \"id\": \"deploytestsargup-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://deploytestsargup-eastus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n },\r\n {\r\n \"id\": \"deploytestsargup-southeastasia\",\r\n \"locationName\": \"Southeast Asia\",\r\n \"documentEndpoint\": \"https://deploytestsargup-southeastasia.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 1,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"failoverPolicies\": [\r\n {\r\n \"id\": \"deploytestsargup-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"failoverPriority\": 0\r\n },\r\n {\r\n \"id\": \"deploytestsargup-southeastasia\",\r\n \"locationName\": \"Southeast Asia\",\r\n \"failoverPriority\": 1\r\n }\r\n ],\r\n \"cors\": [],\r\n \"capabilities\": [],\r\n \"ipRules\": [],\r\n \"backupPolicy\": {\r\n \"type\": \"Periodic\",\r\n \"periodicModeProperties\": {\r\n \"backupIntervalInMinutes\": 60,\r\n \"backupRetentionIntervalInHours\": 8,\r\n \"backupStorageRedundancy\": \"Geo\"\r\n }\r\n },\r\n \"networkAclBypassResourceIds\": []\r\n },\r\n \"identity\": {\r\n \"type\": \"None\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/resourceGroups/mekaushi-test-mongo/providers/Microsoft.DocumentDB/databaseAccounts/mongoeastus2\",\r\n \"name\": \"mongoeastus2\",\r\n \"location\": \"East US 2\",\r\n \"type\": \"Microsoft.DocumentDB/databaseAccounts\",\r\n \"kind\": \"MongoDB\",\r\n \"tags\": {\r\n \"defaultExperience\": \"Azure Cosmos DB for MongoDB API\",\r\n \"hidden-cosmos-mmspecial\": \"\",\r\n \"CosmosAccountType\": \"Non-Production\"\r\n },\r\n \"systemData\": {\r\n \"createdAt\": \"2020-08-24T22:52:45.5027124Z\"\r\n },\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"documentEndpoint\": \"https://mongoeastus2.documents-staging.windows-ppe.net:443/\",\r\n \"mongoEndpoint\": \"https://mongoeastus2.mongo.cosmos.windows-ppe.net:443/\",\r\n \"publicNetworkAccess\": \"Enabled\",\r\n \"enableAutomaticFailover\": false,\r\n \"enableMultipleWriteLocations\": false,\r\n \"enablePartitionKeyMonitor\": false,\r\n \"isVirtualNetworkFilterEnabled\": false,\r\n \"virtualNetworkRules\": [],\r\n \"EnabledApiTypes\": \"MongoDB\",\r\n \"disableKeyBasedMetadataWriteAccess\": false,\r\n \"enableFreeTier\": false,\r\n \"enableAnalyticalStorage\": false,\r\n \"analyticalStorageConfiguration\": null,\r\n \"instanceId\": \"c5e610a5-1d06-4f9a-bfe6-9a1095f7aeb3\",\r\n \"createMode\": \"Default\",\r\n \"databaseAccountOfferType\": \"Standard\",\r\n \"enableCassandraConnector\": false,\r\n \"connectorOffer\": \"\",\r\n \"defaultIdentity\": \"\",\r\n \"networkAclBypass\": \"None\",\r\n \"consistencyPolicy\": {\r\n \"defaultConsistencyLevel\": \"Session\",\r\n \"maxIntervalInSeconds\": 5,\r\n \"maxStalenessPrefix\": 100\r\n },\r\n \"apiProperties\": {\r\n \"serverVersion\": \"3.6\"\r\n },\r\n \"configurationOverrides\": {\r\n \"EnableBsonSchema\": \"True\"\r\n },\r\n \"writeLocations\": [\r\n {\r\n \"id\": \"mongoeastus2-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://mongoeastus2-eastus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"readLocations\": [\r\n {\r\n \"id\": \"mongoeastus2-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://mongoeastus2-eastus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"locations\": [\r\n {\r\n \"id\": \"mongoeastus2-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://mongoeastus2-eastus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"failoverPolicies\": [\r\n {\r\n \"id\": \"mongoeastus2-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"failoverPriority\": 0\r\n }\r\n ],\r\n \"cors\": [],\r\n \"capabilities\": [\r\n {\r\n \"name\": \"EnableMongo\"\r\n },\r\n {\r\n \"name\": \"DisableRateLimitingResponses\"\r\n }\r\n ],\r\n \"ipRules\": [],\r\n \"backupPolicy\": {\r\n \"type\": \"Periodic\",\r\n \"periodicModeProperties\": {\r\n \"backupIntervalInMinutes\": 240,\r\n \"backupRetentionIntervalInHours\": 8,\r\n \"backupStorageRedundancy\": \"Geo\"\r\n }\r\n },\r\n \"networkAclBypassResourceIds\": []\r\n },\r\n \"identity\": {\r\n \"type\": \"None\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/resourceGroups/shmotlan/providers/Microsoft.DocumentDB/databaseAccounts/shan-cassandra-0823-signoff-2\",\r\n \"name\": \"shan-cassandra-0823-signoff-2\",\r\n \"location\": \"East US 2\",\r\n \"type\": \"Microsoft.DocumentDB/databaseAccounts\",\r\n \"kind\": \"GlobalDocumentDB\",\r\n \"tags\": {\r\n \"defaultExperience\": \"Cassandra\"\r\n },\r\n \"systemData\": {\r\n \"createdAt\": \"2019-08-24T00:07:24.1645804Z\"\r\n },\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"documentEndpoint\": \"https://shan-cassandra-0823-signoff-2.documents-staging.windows-ppe.net:443/\",\r\n \"cassandraEndpoint\": \"https://shan-cassandra-0823-signoff-2.cassandra.cosmos.windows-ppe.net:443/\",\r\n \"publicNetworkAccess\": \"Enabled\",\r\n \"enableAutomaticFailover\": false,\r\n \"enableMultipleWriteLocations\": false,\r\n \"enablePartitionKeyMonitor\": false,\r\n \"isVirtualNetworkFilterEnabled\": false,\r\n \"virtualNetworkRules\": [],\r\n \"EnabledApiTypes\": \"Cassandra\",\r\n \"disableKeyBasedMetadataWriteAccess\": false,\r\n \"enableFreeTier\": false,\r\n \"enableAnalyticalStorage\": false,\r\n \"analyticalStorageConfiguration\": null,\r\n \"instanceId\": \"04f19782-bbab-4fe0-9304-2f125c332c3a\",\r\n \"createMode\": \"Default\",\r\n \"databaseAccountOfferType\": \"Standard\",\r\n \"enableCassandraConnector\": false,\r\n \"connectorOffer\": \"\",\r\n \"defaultIdentity\": \"\",\r\n \"networkAclBypass\": \"None\",\r\n \"consistencyPolicy\": {\r\n \"defaultConsistencyLevel\": \"Session\",\r\n \"maxIntervalInSeconds\": 5,\r\n \"maxStalenessPrefix\": 100\r\n },\r\n \"configurationOverrides\": {},\r\n \"writeLocations\": [\r\n {\r\n \"id\": \"shan-cassandra-0823-signoff-2-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://shan-cassandra-0823-signoff-2-eastus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"readLocations\": [\r\n {\r\n \"id\": \"shan-cassandra-0823-signoff-2-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://shan-cassandra-0823-signoff-2-eastus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"locations\": [\r\n {\r\n \"id\": \"shan-cassandra-0823-signoff-2-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://shan-cassandra-0823-signoff-2-eastus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"failoverPolicies\": [\r\n {\r\n \"id\": \"shan-cassandra-0823-signoff-2-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"failoverPriority\": 0\r\n }\r\n ],\r\n \"cors\": [],\r\n \"capabilities\": [\r\n {\r\n \"name\": \"EnableCassandra\"\r\n }\r\n ],\r\n \"ipRules\": [],\r\n \"backupPolicy\": {\r\n \"type\": \"Periodic\",\r\n \"periodicModeProperties\": {\r\n \"backupIntervalInMinutes\": 240,\r\n \"backupRetentionIntervalInHours\": 8,\r\n \"backupStorageRedundancy\": \"Geo\"\r\n }\r\n },\r\n \"networkAclBypassResourceIds\": []\r\n },\r\n \"identity\": {\r\n \"type\": \"None\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/resourceGroups/metaswitch/providers/Microsoft.DocumentDB/databaseAccounts/mswtest\",\r\n \"name\": \"mswtest\",\r\n \"location\": \"East US 2\",\r\n \"type\": \"Microsoft.DocumentDB/databaseAccounts\",\r\n \"kind\": \"GlobalDocumentDB\",\r\n \"tags\": {\r\n \"defaultExperience\": \"Cassandra\"\r\n },\r\n \"systemData\": {\r\n \"createdAt\": \"2018-08-28T06:22:12.3626835Z\"\r\n },\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"documentEndpoint\": \"https://mswtest.documents-staging.windows-ppe.net:443/\",\r\n \"cassandraEndpoint\": \"https://mswtest.cassandra.cosmosdb.windows-ppe.net:443/\",\r\n \"publicNetworkAccess\": \"Enabled\",\r\n \"enableAutomaticFailover\": false,\r\n \"enableMultipleWriteLocations\": false,\r\n \"enablePartitionKeyMonitor\": false,\r\n \"isVirtualNetworkFilterEnabled\": false,\r\n \"virtualNetworkRules\": [],\r\n \"EnabledApiTypes\": \"Cassandra\",\r\n \"disableKeyBasedMetadataWriteAccess\": false,\r\n \"enableFreeTier\": false,\r\n \"enableAnalyticalStorage\": false,\r\n \"analyticalStorageConfiguration\": null,\r\n \"instanceId\": \"8400d15a-2048-41f9-a62f-21c86736fe56\",\r\n \"createMode\": \"Default\",\r\n \"databaseAccountOfferType\": \"Standard\",\r\n \"defaultIdentity\": \"\",\r\n \"networkAclBypass\": \"None\",\r\n \"consistencyPolicy\": {\r\n \"defaultConsistencyLevel\": \"Session\",\r\n \"maxIntervalInSeconds\": 5,\r\n \"maxStalenessPrefix\": 100\r\n },\r\n \"configurationOverrides\": {},\r\n \"writeLocations\": [\r\n {\r\n \"id\": \"mswtest-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://mswtest-eastus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"readLocations\": [\r\n {\r\n \"id\": \"mswtest-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://mswtest-eastus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"locations\": [\r\n {\r\n \"id\": \"mswtest-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://mswtest-eastus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"failoverPolicies\": [\r\n {\r\n \"id\": \"mswtest-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"failoverPriority\": 0\r\n }\r\n ],\r\n \"cors\": [],\r\n \"capabilities\": [\r\n {\r\n \"name\": \"EnableCassandra\"\r\n }\r\n ],\r\n \"ipRules\": [],\r\n \"backupPolicy\": {\r\n \"type\": \"Periodic\",\r\n \"periodicModeProperties\": {\r\n \"backupIntervalInMinutes\": 240,\r\n \"backupRetentionIntervalInHours\": 8,\r\n \"backupStorageRedundancy\": \"Geo\"\r\n }\r\n },\r\n \"networkAclBypassResourceIds\": []\r\n },\r\n \"identity\": {\r\n \"type\": \"None\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/resourceGroups/nitesh-resource/providers/Microsoft.DocumentDB/databaseAccounts/nidudhey-cass\",\r\n \"name\": \"nidudhey-cass\",\r\n \"location\": \"East US 2\",\r\n \"type\": \"Microsoft.DocumentDB/databaseAccounts\",\r\n \"kind\": \"GlobalDocumentDB\",\r\n \"tags\": {\r\n \"defaultExperience\": \"Cassandra\"\r\n },\r\n \"systemData\": {\r\n \"createdAt\": \"2019-02-28T09:18:09.0429064Z\"\r\n },\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"documentEndpoint\": \"https://nidudhey-cass.documents-staging.windows-ppe.net:443/\",\r\n \"cassandraEndpoint\": \"https://nidudhey-cass.cassandra.cosmos.windows-ppe.net:443/\",\r\n \"publicNetworkAccess\": \"Enabled\",\r\n \"enableAutomaticFailover\": false,\r\n \"enableMultipleWriteLocations\": false,\r\n \"enablePartitionKeyMonitor\": false,\r\n \"isVirtualNetworkFilterEnabled\": false,\r\n \"virtualNetworkRules\": [],\r\n \"EnabledApiTypes\": \"Cassandra\",\r\n \"disableKeyBasedMetadataWriteAccess\": false,\r\n \"enableFreeTier\": false,\r\n \"enableAnalyticalStorage\": false,\r\n \"analyticalStorageConfiguration\": null,\r\n \"instanceId\": \"407e7670-a19e-479c-b7a2-b3fb9d4f87b8\",\r\n \"createMode\": \"Default\",\r\n \"databaseAccountOfferType\": \"Standard\",\r\n \"defaultIdentity\": \"\",\r\n \"networkAclBypass\": \"None\",\r\n \"consistencyPolicy\": {\r\n \"defaultConsistencyLevel\": \"Session\",\r\n \"maxIntervalInSeconds\": 5,\r\n \"maxStalenessPrefix\": 100\r\n },\r\n \"configurationOverrides\": {},\r\n \"writeLocations\": [\r\n {\r\n \"id\": \"nidudhey-cass-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://nidudhey-cass-eastus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"readLocations\": [\r\n {\r\n \"id\": \"nidudhey-cass-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://nidudhey-cass-eastus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n },\r\n {\r\n \"id\": \"nidudhey-cass-westus2\",\r\n \"locationName\": \"West US 2\",\r\n \"documentEndpoint\": \"https://nidudhey-cass-westus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 1,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"locations\": [\r\n {\r\n \"id\": \"nidudhey-cass-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://nidudhey-cass-eastus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n },\r\n {\r\n \"id\": \"nidudhey-cass-westus2\",\r\n \"locationName\": \"West US 2\",\r\n \"documentEndpoint\": \"https://nidudhey-cass-westus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 1,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"failoverPolicies\": [\r\n {\r\n \"id\": \"nidudhey-cass-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"failoverPriority\": 0\r\n },\r\n {\r\n \"id\": \"nidudhey-cass-westus2\",\r\n \"locationName\": \"West US 2\",\r\n \"failoverPriority\": 1\r\n }\r\n ],\r\n \"cors\": [],\r\n \"capabilities\": [\r\n {\r\n \"name\": \"EnableCassandra\"\r\n }\r\n ],\r\n \"ipRules\": [],\r\n \"backupPolicy\": {\r\n \"type\": \"Periodic\",\r\n \"periodicModeProperties\": {\r\n \"backupIntervalInMinutes\": 240,\r\n \"backupRetentionIntervalInHours\": 8,\r\n \"backupStorageRedundancy\": \"Geo\"\r\n }\r\n },\r\n \"networkAclBypassResourceIds\": []\r\n },\r\n \"identity\": {\r\n \"type\": \"None\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/resourceGroups/nitesh-resource/providers/Microsoft.DocumentDB/databaseAccounts/nitesh-replicationrg\",\r\n \"name\": \"nitesh-replicationrg\",\r\n \"location\": \"East US 2\",\r\n \"type\": \"Microsoft.DocumentDB/databaseAccounts\",\r\n \"kind\": \"GlobalDocumentDB\",\r\n \"tags\": {\r\n \"defaultExperience\": \"Core (SQL)\",\r\n \"hidden-cosmos-mmspecial\": \"\",\r\n \"CosmosAccountType\": \"Non-Production\"\r\n },\r\n \"systemData\": {\r\n \"createdAt\": \"2020-08-24T12:58:24.9583816Z\"\r\n },\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"documentEndpoint\": \"https://nitesh-replicationrg.documents-staging.windows-ppe.net:443/\",\r\n \"publicNetworkAccess\": \"Enabled\",\r\n \"enableAutomaticFailover\": false,\r\n \"enableMultipleWriteLocations\": false,\r\n \"enablePartitionKeyMonitor\": false,\r\n \"isVirtualNetworkFilterEnabled\": false,\r\n \"virtualNetworkRules\": [],\r\n \"EnabledApiTypes\": \"Sql\",\r\n \"disableKeyBasedMetadataWriteAccess\": false,\r\n \"enableFreeTier\": false,\r\n \"enableAnalyticalStorage\": false,\r\n \"analyticalStorageConfiguration\": null,\r\n \"instanceId\": \"e432e360-efa5-46d7-9314-15d04579bc25\",\r\n \"createMode\": \"Default\",\r\n \"databaseAccountOfferType\": \"Standard\",\r\n \"enableCassandraConnector\": false,\r\n \"connectorOffer\": \"\",\r\n \"defaultIdentity\": \"\",\r\n \"networkAclBypass\": \"None\",\r\n \"consistencyPolicy\": {\r\n \"defaultConsistencyLevel\": \"Session\",\r\n \"maxIntervalInSeconds\": 5,\r\n \"maxStalenessPrefix\": 100\r\n },\r\n \"configurationOverrides\": {},\r\n \"writeLocations\": [\r\n {\r\n \"id\": \"nitesh-replicationrg-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://nitesh-replicationrg-eastus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"readLocations\": [\r\n {\r\n \"id\": \"nitesh-replicationrg-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://nitesh-replicationrg-eastus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"locations\": [\r\n {\r\n \"id\": \"nitesh-replicationrg-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://nitesh-replicationrg-eastus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"failoverPolicies\": [\r\n {\r\n \"id\": \"nitesh-replicationrg-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"failoverPriority\": 0\r\n }\r\n ],\r\n \"cors\": [],\r\n \"capabilities\": [],\r\n \"ipRules\": [],\r\n \"backupPolicy\": {\r\n \"type\": \"Periodic\",\r\n \"periodicModeProperties\": {\r\n \"backupIntervalInMinutes\": 240,\r\n \"backupRetentionIntervalInHours\": 8,\r\n \"backupStorageRedundancy\": \"Geo\"\r\n }\r\n },\r\n \"networkAclBypassResourceIds\": []\r\n },\r\n \"identity\": {\r\n \"type\": \"None\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/resourceGroups/analytics/providers/Microsoft.DocumentDB/databaseAccounts/niupremongo0504\",\r\n \"name\": \"niupremongo0504\",\r\n \"location\": \"East US 2\",\r\n \"type\": \"Microsoft.DocumentDB/databaseAccounts\",\r\n \"kind\": \"MongoDB\",\r\n \"tags\": {\r\n \"defaultExperience\": \"Azure Cosmos DB for MongoDB API\",\r\n \"hidden-cosmos-mmspecial\": \"\",\r\n \"CosmosAccountType\": \"Non-Production\"\r\n },\r\n \"systemData\": {\r\n \"createdAt\": \"2020-05-04T07:55:24.2997416Z\"\r\n },\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"documentEndpoint\": \"https://niupremongo0504.documents-staging.windows-ppe.net:443/\",\r\n \"mongoEndpoint\": \"https://niupremongo0504.mongo.cosmos.windows-ppe.net:443/\",\r\n \"publicNetworkAccess\": \"Enabled\",\r\n \"enableAutomaticFailover\": false,\r\n \"enableMultipleWriteLocations\": false,\r\n \"enablePartitionKeyMonitor\": false,\r\n \"isVirtualNetworkFilterEnabled\": false,\r\n \"virtualNetworkRules\": [],\r\n \"EnabledApiTypes\": \"MongoDB\",\r\n \"disableKeyBasedMetadataWriteAccess\": false,\r\n \"enableFreeTier\": false,\r\n \"enableAnalyticalStorage\": false,\r\n \"analyticalStorageConfiguration\": null,\r\n \"instanceId\": \"8f876d2b-b02c-4371-ba07-5495bdc452a0\",\r\n \"createMode\": \"Default\",\r\n \"databaseAccountOfferType\": \"Standard\",\r\n \"enableCassandraConnector\": false,\r\n \"connectorOffer\": \"\",\r\n \"defaultIdentity\": \"\",\r\n \"networkAclBypass\": \"None\",\r\n \"consistencyPolicy\": {\r\n \"defaultConsistencyLevel\": \"Session\",\r\n \"maxIntervalInSeconds\": 5,\r\n \"maxStalenessPrefix\": 100\r\n },\r\n \"apiProperties\": {\r\n \"serverVersion\": \"3.6\"\r\n },\r\n \"configurationOverrides\": {\r\n \"EnableBsonSchema\": \"True\"\r\n },\r\n \"writeLocations\": [\r\n {\r\n \"id\": \"niupremongo0504-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://niupremongo0504-eastus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"readLocations\": [\r\n {\r\n \"id\": \"niupremongo0504-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://niupremongo0504-eastus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"locations\": [\r\n {\r\n \"id\": \"niupremongo0504-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://niupremongo0504-eastus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"failoverPolicies\": [\r\n {\r\n \"id\": \"niupremongo0504-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"failoverPriority\": 0\r\n }\r\n ],\r\n \"cors\": [],\r\n \"capabilities\": [\r\n {\r\n \"name\": \"EnableStorageAnalytics\"\r\n },\r\n {\r\n \"name\": \"EnableMongo\"\r\n }\r\n ],\r\n \"ipRules\": [],\r\n \"backupPolicy\": {\r\n \"type\": \"Periodic\",\r\n \"periodicModeProperties\": {\r\n \"backupIntervalInMinutes\": 60,\r\n \"backupRetentionIntervalInHours\": 8,\r\n \"backupStorageRedundancy\": \"Geo\"\r\n }\r\n },\r\n \"networkAclBypassResourceIds\": []\r\n },\r\n \"identity\": {\r\n \"type\": \"None\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/resourceGroups/shmotlan/providers/Microsoft.DocumentDB/databaseAccounts/shan-sql-0823-signoff\",\r\n \"name\": \"shan-sql-0823-signoff\",\r\n \"location\": \"East US 2\",\r\n \"type\": \"Microsoft.DocumentDB/databaseAccounts\",\r\n \"kind\": \"GlobalDocumentDB\",\r\n \"tags\": {\r\n \"defaultExperience\": \"Core (SQL)\"\r\n },\r\n \"systemData\": {\r\n \"createdAt\": \"2019-08-24T00:03:35.4578481Z\"\r\n },\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"documentEndpoint\": \"https://shan-sql-0823-signoff.documents-staging.windows-ppe.net:443/\",\r\n \"publicNetworkAccess\": \"Enabled\",\r\n \"enableAutomaticFailover\": false,\r\n \"enableMultipleWriteLocations\": false,\r\n \"enablePartitionKeyMonitor\": false,\r\n \"isVirtualNetworkFilterEnabled\": false,\r\n \"virtualNetworkRules\": [],\r\n \"EnabledApiTypes\": \"Sql\",\r\n \"disableKeyBasedMetadataWriteAccess\": false,\r\n \"enableFreeTier\": false,\r\n \"enableAnalyticalStorage\": false,\r\n \"analyticalStorageConfiguration\": null,\r\n \"instanceId\": \"1539a26c-a7aa-4501-a7bd-7664ac00d735\",\r\n \"createMode\": \"Default\",\r\n \"databaseAccountOfferType\": \"Standard\",\r\n \"enableCassandraConnector\": false,\r\n \"connectorOffer\": \"\",\r\n \"defaultIdentity\": \"\",\r\n \"networkAclBypass\": \"None\",\r\n \"consistencyPolicy\": {\r\n \"defaultConsistencyLevel\": \"Session\",\r\n \"maxIntervalInSeconds\": 5,\r\n \"maxStalenessPrefix\": 100\r\n },\r\n \"configurationOverrides\": {},\r\n \"writeLocations\": [\r\n {\r\n \"id\": \"shan-sql-0823-signoff-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://shan-sql-0823-signoff-eastus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"readLocations\": [\r\n {\r\n \"id\": \"shan-sql-0823-signoff-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://shan-sql-0823-signoff-eastus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"locations\": [\r\n {\r\n \"id\": \"shan-sql-0823-signoff-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://shan-sql-0823-signoff-eastus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"failoverPolicies\": [\r\n {\r\n \"id\": \"shan-sql-0823-signoff-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"failoverPriority\": 0\r\n }\r\n ],\r\n \"cors\": [],\r\n \"capabilities\": [],\r\n \"ipRules\": [],\r\n \"backupPolicy\": {\r\n \"type\": \"Periodic\",\r\n \"periodicModeProperties\": {\r\n \"backupIntervalInMinutes\": 240,\r\n \"backupRetentionIntervalInHours\": 8,\r\n \"backupStorageRedundancy\": \"Geo\"\r\n }\r\n },\r\n \"networkAclBypassResourceIds\": []\r\n },\r\n \"identity\": {\r\n \"type\": \"None\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/resourceGroups/QueryOracle/providers/Microsoft.DocumentDB/databaseAccounts/query-push-filters-to-index\",\r\n \"name\": \"query-push-filters-to-index\",\r\n \"location\": \"East US 2\",\r\n \"type\": \"Microsoft.DocumentDB/databaseAccounts\",\r\n \"kind\": \"GlobalDocumentDB\",\r\n \"tags\": {\r\n \"defaultExperience\": \"DocumentDB\"\r\n },\r\n \"systemData\": {\r\n \"createdAt\": \"2018-10-29T22:05:34.908529Z\"\r\n },\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"documentEndpoint\": \"https://query-push-filters-to-index.documents-staging.windows-ppe.net:443/\",\r\n \"publicNetworkAccess\": \"Enabled\",\r\n \"enableAutomaticFailover\": false,\r\n \"enableMultipleWriteLocations\": false,\r\n \"enablePartitionKeyMonitor\": false,\r\n \"isVirtualNetworkFilterEnabled\": false,\r\n \"virtualNetworkRules\": [],\r\n \"EnabledApiTypes\": \"Sql\",\r\n \"disableKeyBasedMetadataWriteAccess\": false,\r\n \"enableFreeTier\": false,\r\n \"enableAnalyticalStorage\": false,\r\n \"analyticalStorageConfiguration\": null,\r\n \"instanceId\": \"2dc87f81-3525-47f0-9351-43f2a2d8bf39\",\r\n \"createMode\": \"Default\",\r\n \"databaseAccountOfferType\": \"Standard\",\r\n \"defaultIdentity\": \"\",\r\n \"networkAclBypass\": \"None\",\r\n \"consistencyPolicy\": {\r\n \"defaultConsistencyLevel\": \"Session\",\r\n \"maxIntervalInSeconds\": 5,\r\n \"maxStalenessPrefix\": 100\r\n },\r\n \"configurationOverrides\": {},\r\n \"writeLocations\": [\r\n {\r\n \"id\": \"query-push-filters-to-index-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://query-push-filters-to-index-eastus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"readLocations\": [\r\n {\r\n \"id\": \"query-push-filters-to-index-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://query-push-filters-to-index-eastus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"locations\": [\r\n {\r\n \"id\": \"query-push-filters-to-index-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://query-push-filters-to-index-eastus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"failoverPolicies\": [\r\n {\r\n \"id\": \"query-push-filters-to-index-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"failoverPriority\": 0\r\n }\r\n ],\r\n \"cors\": [],\r\n \"capabilities\": [],\r\n \"ipRules\": [],\r\n \"backupPolicy\": {\r\n \"type\": \"Periodic\",\r\n \"periodicModeProperties\": {\r\n \"backupIntervalInMinutes\": 240,\r\n \"backupRetentionIntervalInHours\": 8,\r\n \"backupStorageRedundancy\": \"Geo\"\r\n }\r\n },\r\n \"networkAclBypassResourceIds\": []\r\n },\r\n \"identity\": {\r\n \"type\": \"None\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/resourceGroups/masistagesignoff0915/providers/Microsoft.DocumentDB/databaseAccounts/queueburstingtest1\",\r\n \"name\": \"queueburstingtest1\",\r\n \"location\": \"East US 2\",\r\n \"type\": \"Microsoft.DocumentDB/databaseAccounts\",\r\n \"kind\": \"GlobalDocumentDB\",\r\n \"tags\": {\r\n \"defaultExperience\": \"Core (SQL)\",\r\n \"hidden-cosmos-mmspecial\": \"\",\r\n \"CosmosAccountType\": \"Non-Production\"\r\n },\r\n \"systemData\": {\r\n \"createdAt\": \"2020-09-29T00:48:32.1465276Z\"\r\n },\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"documentEndpoint\": \"https://queueburstingtest1.documents-staging.windows-ppe.net:443/\",\r\n \"publicNetworkAccess\": \"Enabled\",\r\n \"enableAutomaticFailover\": false,\r\n \"enableMultipleWriteLocations\": false,\r\n \"enablePartitionKeyMonitor\": false,\r\n \"isVirtualNetworkFilterEnabled\": false,\r\n \"virtualNetworkRules\": [],\r\n \"EnabledApiTypes\": \"Sql\",\r\n \"disableKeyBasedMetadataWriteAccess\": false,\r\n \"enableFreeTier\": false,\r\n \"enableAnalyticalStorage\": false,\r\n \"analyticalStorageConfiguration\": null,\r\n \"instanceId\": \"b201536f-9a28-4003-932e-ebe49c8671b7\",\r\n \"createMode\": \"Default\",\r\n \"databaseAccountOfferType\": \"Standard\",\r\n \"enableCassandraConnector\": false,\r\n \"connectorOffer\": \"\",\r\n \"defaultIdentity\": \"\",\r\n \"networkAclBypass\": \"None\",\r\n \"consistencyPolicy\": {\r\n \"defaultConsistencyLevel\": \"Session\",\r\n \"maxIntervalInSeconds\": 5,\r\n \"maxStalenessPrefix\": 100\r\n },\r\n \"configurationOverrides\": {},\r\n \"writeLocations\": [\r\n {\r\n \"id\": \"queueburstingtest1-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://queueburstingtest1-eastus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"readLocations\": [\r\n {\r\n \"id\": \"queueburstingtest1-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://queueburstingtest1-eastus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"locations\": [\r\n {\r\n \"id\": \"queueburstingtest1-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://queueburstingtest1-eastus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"failoverPolicies\": [\r\n {\r\n \"id\": \"queueburstingtest1-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"failoverPriority\": 0\r\n }\r\n ],\r\n \"cors\": [],\r\n \"capabilities\": [],\r\n \"ipRules\": [],\r\n \"backupPolicy\": {\r\n \"type\": \"Periodic\",\r\n \"periodicModeProperties\": {\r\n \"backupIntervalInMinutes\": 240,\r\n \"backupRetentionIntervalInHours\": 8,\r\n \"backupStorageRedundancy\": \"Geo\"\r\n }\r\n },\r\n \"networkAclBypassResourceIds\": []\r\n },\r\n \"identity\": {\r\n \"type\": \"None\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/resourceGroups/rakkumastg/providers/Microsoft.DocumentDB/databaseAccounts/rakkumastgsql\",\r\n \"name\": \"rakkumastgsql\",\r\n \"location\": \"East US 2\",\r\n \"type\": \"Microsoft.DocumentDB/databaseAccounts\",\r\n \"kind\": \"GlobalDocumentDB\",\r\n \"tags\": {\r\n \"defaultExperience\": \"Core (SQL)\",\r\n \"hidden-cosmos-mmspecial\": \"\",\r\n \"CosmosAccountType\": \"Non-Production\"\r\n },\r\n \"systemData\": {\r\n \"createdAt\": \"2020-05-13T13:44:56.8683454Z\"\r\n },\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"documentEndpoint\": \"https://rakkumastgsql.documents-staging.windows-ppe.net:443/\",\r\n \"publicNetworkAccess\": \"Enabled\",\r\n \"enableAutomaticFailover\": false,\r\n \"enableMultipleWriteLocations\": false,\r\n \"enablePartitionKeyMonitor\": false,\r\n \"isVirtualNetworkFilterEnabled\": false,\r\n \"virtualNetworkRules\": [],\r\n \"EnabledApiTypes\": \"Sql\",\r\n \"disableKeyBasedMetadataWriteAccess\": false,\r\n \"enableFreeTier\": false,\r\n \"enableAnalyticalStorage\": true,\r\n \"analyticalStorageConfiguration\": null,\r\n \"instanceId\": \"9afe19a9-96cf-4277-8342-db3213d65aeb\",\r\n \"createMode\": \"Default\",\r\n \"databaseAccountOfferType\": \"Standard\",\r\n \"enableCassandraConnector\": false,\r\n \"connectorOffer\": \"\",\r\n \"defaultIdentity\": \"\",\r\n \"networkAclBypass\": \"None\",\r\n \"consistencyPolicy\": {\r\n \"defaultConsistencyLevel\": \"Session\",\r\n \"maxIntervalInSeconds\": 5,\r\n \"maxStalenessPrefix\": 100\r\n },\r\n \"configurationOverrides\": {},\r\n \"writeLocations\": [\r\n {\r\n \"id\": \"rakkumastgsql-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://rakkumastgsql-eastus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"readLocations\": [\r\n {\r\n \"id\": \"rakkumastgsql-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://rakkumastgsql-eastus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"locations\": [\r\n {\r\n \"id\": \"rakkumastgsql-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://rakkumastgsql-eastus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"failoverPolicies\": [\r\n {\r\n \"id\": \"rakkumastgsql-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"failoverPriority\": 0\r\n }\r\n ],\r\n \"cors\": [],\r\n \"capabilities\": [],\r\n \"ipRules\": [],\r\n \"backupPolicy\": {\r\n \"type\": \"Periodic\",\r\n \"periodicModeProperties\": {\r\n \"backupIntervalInMinutes\": 60,\r\n \"backupRetentionIntervalInHours\": 8,\r\n \"backupStorageRedundancy\": \"Geo\"\r\n }\r\n },\r\n \"networkAclBypassResourceIds\": []\r\n },\r\n \"identity\": {\r\n \"type\": \"None\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/resourceGroups/flnarenjrg/providers/Microsoft.DocumentDB/databaseAccounts/flnarenj-synstage4\",\r\n \"name\": \"flnarenj-synstage4\",\r\n \"location\": \"East US 2\",\r\n \"type\": \"Microsoft.DocumentDB/databaseAccounts\",\r\n \"kind\": \"GlobalDocumentDB\",\r\n \"tags\": {},\r\n \"systemData\": {\r\n \"createdAt\": \"2020-05-19T09:08:27.9319811Z\"\r\n },\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"documentEndpoint\": \"https://flnarenj-synstage4.documents-staging.windows-ppe.net:443/\",\r\n \"publicNetworkAccess\": \"Enabled\",\r\n \"enableAutomaticFailover\": false,\r\n \"enableMultipleWriteLocations\": false,\r\n \"enablePartitionKeyMonitor\": false,\r\n \"isVirtualNetworkFilterEnabled\": false,\r\n \"virtualNetworkRules\": [],\r\n \"EnabledApiTypes\": \"Sql\",\r\n \"disableKeyBasedMetadataWriteAccess\": false,\r\n \"enableFreeTier\": false,\r\n \"enableAnalyticalStorage\": false,\r\n \"analyticalStorageConfiguration\": null,\r\n \"instanceId\": \"341961c3-7571-4843-9dcb-abe818c65505\",\r\n \"createMode\": \"Default\",\r\n \"databaseAccountOfferType\": \"Standard\",\r\n \"enableCassandraConnector\": false,\r\n \"connectorOffer\": \"\",\r\n \"defaultIdentity\": \"\",\r\n \"networkAclBypass\": \"None\",\r\n \"consistencyPolicy\": {\r\n \"defaultConsistencyLevel\": \"Session\",\r\n \"maxIntervalInSeconds\": 5,\r\n \"maxStalenessPrefix\": 100\r\n },\r\n \"configurationOverrides\": {},\r\n \"writeLocations\": [\r\n {\r\n \"id\": \"flnarenj-synstage4-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://flnarenj-synstage4-eastus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"readLocations\": [\r\n {\r\n \"id\": \"flnarenj-synstage4-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://flnarenj-synstage4-eastus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"locations\": [\r\n {\r\n \"id\": \"flnarenj-synstage4-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://flnarenj-synstage4-eastus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"failoverPolicies\": [\r\n {\r\n \"id\": \"flnarenj-synstage4-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"failoverPriority\": 0\r\n }\r\n ],\r\n \"cors\": [],\r\n \"capabilities\": [],\r\n \"ipRules\": [],\r\n \"backupPolicy\": {\r\n \"type\": \"Periodic\",\r\n \"periodicModeProperties\": {\r\n \"backupIntervalInMinutes\": 60,\r\n \"backupRetentionIntervalInHours\": 8,\r\n \"backupStorageRedundancy\": \"Geo\"\r\n }\r\n },\r\n \"networkAclBypassResourceIds\": []\r\n },\r\n \"identity\": {\r\n \"type\": \"None\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/resourceGroups/bhavyasplittest-rg/providers/Microsoft.DocumentDB/databaseAccounts/ramaragsplit\",\r\n \"name\": \"ramaragsplit\",\r\n \"location\": \"East US 2\",\r\n \"type\": \"Microsoft.DocumentDB/databaseAccounts\",\r\n \"kind\": \"GlobalDocumentDB\",\r\n \"tags\": {\r\n \"defaultExperience\": \"Core (SQL)\"\r\n },\r\n \"systemData\": {\r\n \"createdAt\": \"2018-12-17T23:44:29.6548378Z\"\r\n },\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"documentEndpoint\": \"https://ramaragsplit.documents-staging.windows-ppe.net:443/\",\r\n \"publicNetworkAccess\": \"Enabled\",\r\n \"enableAutomaticFailover\": false,\r\n \"enableMultipleWriteLocations\": false,\r\n \"enablePartitionKeyMonitor\": false,\r\n \"isVirtualNetworkFilterEnabled\": false,\r\n \"virtualNetworkRules\": [],\r\n \"EnabledApiTypes\": \"Sql\",\r\n \"disableKeyBasedMetadataWriteAccess\": false,\r\n \"enableFreeTier\": false,\r\n \"enableAnalyticalStorage\": false,\r\n \"analyticalStorageConfiguration\": null,\r\n \"instanceId\": \"08518d5a-4444-4f29-bb91-d03b7a799180\",\r\n \"createMode\": \"Default\",\r\n \"databaseAccountOfferType\": \"Standard\",\r\n \"defaultIdentity\": \"\",\r\n \"networkAclBypass\": \"None\",\r\n \"consistencyPolicy\": {\r\n \"defaultConsistencyLevel\": \"Session\",\r\n \"maxIntervalInSeconds\": 5,\r\n \"maxStalenessPrefix\": 100\r\n },\r\n \"configurationOverrides\": {},\r\n \"writeLocations\": [\r\n {\r\n \"id\": \"ramaragsplit-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://ramaragsplit-eastus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"readLocations\": [\r\n {\r\n \"id\": \"ramaragsplit-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://ramaragsplit-eastus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"locations\": [\r\n {\r\n \"id\": \"ramaragsplit-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://ramaragsplit-eastus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"failoverPolicies\": [\r\n {\r\n \"id\": \"ramaragsplit-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"failoverPriority\": 0\r\n }\r\n ],\r\n \"cors\": [\r\n {\r\n \"allowedOrigins\": \"*\"\r\n }\r\n ],\r\n \"capabilities\": [],\r\n \"ipRules\": [],\r\n \"backupPolicy\": {\r\n \"type\": \"Periodic\",\r\n \"periodicModeProperties\": {\r\n \"backupIntervalInMinutes\": 240,\r\n \"backupRetentionIntervalInHours\": 8,\r\n \"backupStorageRedundancy\": \"Geo\"\r\n }\r\n },\r\n \"networkAclBypassResourceIds\": []\r\n },\r\n \"identity\": {\r\n \"type\": \"None\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/resourceGroups/CosmosDBResourceGroup3668/providers/Microsoft.DocumentDB/databaseAccounts/restoredaccountname9746\",\r\n \"name\": \"restoredaccountname9746\",\r\n \"location\": \"East US 2\",\r\n \"type\": \"Microsoft.DocumentDB/databaseAccounts\",\r\n \"kind\": \"GlobalDocumentDB\",\r\n \"tags\": {},\r\n \"systemData\": {\r\n \"createdAt\": \"2020-07-21T18:55:13.1687844Z\"\r\n },\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"documentEndpoint\": \"https://restoredaccountname9746.documents-staging.windows-ppe.net:443/\",\r\n \"publicNetworkAccess\": \"Enabled\",\r\n \"enableAutomaticFailover\": false,\r\n \"enableMultipleWriteLocations\": false,\r\n \"enablePartitionKeyMonitor\": false,\r\n \"isVirtualNetworkFilterEnabled\": false,\r\n \"virtualNetworkRules\": [],\r\n \"EnabledApiTypes\": \"Sql\",\r\n \"disableKeyBasedMetadataWriteAccess\": false,\r\n \"enableFreeTier\": false,\r\n \"enableAnalyticalStorage\": false,\r\n \"analyticalStorageConfiguration\": null,\r\n \"instanceId\": \"d8974ca8-8f69-4924-9040-c10b7f30524b\",\r\n \"createMode\": \"Restore\",\r\n \"databaseAccountOfferType\": \"Standard\",\r\n \"enableCassandraConnector\": false,\r\n \"defaultIdentity\": \"\",\r\n \"networkAclBypass\": \"None\",\r\n \"consistencyPolicy\": {\r\n \"defaultConsistencyLevel\": \"Session\",\r\n \"maxIntervalInSeconds\": 5,\r\n \"maxStalenessPrefix\": 100\r\n },\r\n \"configurationOverrides\": {},\r\n \"writeLocations\": [\r\n {\r\n \"id\": \"restoredaccountname9746-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://restoredaccountname9746-eastus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"readLocations\": [\r\n {\r\n \"id\": \"restoredaccountname9746-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://restoredaccountname9746-eastus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"locations\": [\r\n {\r\n \"id\": \"restoredaccountname9746-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://restoredaccountname9746-eastus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"failoverPolicies\": [\r\n {\r\n \"id\": \"restoredaccountname9746-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"failoverPriority\": 0\r\n }\r\n ],\r\n \"cors\": [],\r\n \"capabilities\": [],\r\n \"ipRules\": [],\r\n \"backupPolicy\": {\r\n \"type\": \"Continuous\"\r\n },\r\n \"restoreParameters\": {\r\n \"restoreMode\": \"PointInTime\",\r\n \"restoreSource\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/providers/Microsoft.DocumentDB/locations/eastus2/restorableDatabaseAccounts/aca7d453-88a9-4bf2-8abc-46d21553638f\",\r\n \"restoreTimestampInUtc\": \"2020-07-21T18:22:33Z\",\r\n \"databasesToRestore\": []\r\n },\r\n \"networkAclBypassResourceIds\": []\r\n },\r\n \"identity\": {\r\n \"type\": \"None\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/resourceGroups/roaror-test/providers/Microsoft.DocumentDB/databaseAccounts/roaror2\",\r\n \"name\": \"roaror2\",\r\n \"location\": \"East US 2\",\r\n \"type\": \"Microsoft.DocumentDB/databaseAccounts\",\r\n \"kind\": \"GlobalDocumentDB\",\r\n \"tags\": {\r\n \"defaultExperience\": \"Core (SQL)\",\r\n \"hidden-cosmos-mmspecial\": \"\",\r\n \"CosmosAccountType\": \"Non-Production\"\r\n },\r\n \"systemData\": {\r\n \"createdAt\": \"2020-07-28T16:51:16.3920398Z\"\r\n },\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"documentEndpoint\": \"https://roaror2.documents-staging.windows-ppe.net:443/\",\r\n \"publicNetworkAccess\": \"Enabled\",\r\n \"enableAutomaticFailover\": false,\r\n \"enableMultipleWriteLocations\": false,\r\n \"enablePartitionKeyMonitor\": false,\r\n \"isVirtualNetworkFilterEnabled\": false,\r\n \"virtualNetworkRules\": [],\r\n \"EnabledApiTypes\": \"Sql\",\r\n \"disableKeyBasedMetadataWriteAccess\": false,\r\n \"enableFreeTier\": false,\r\n \"enableAnalyticalStorage\": false,\r\n \"analyticalStorageConfiguration\": null,\r\n \"instanceId\": \"4e9f9731-357b-4493-9e94-c35f6c6f854a\",\r\n \"createMode\": \"Default\",\r\n \"databaseAccountOfferType\": \"Standard\",\r\n \"enableCassandraConnector\": false,\r\n \"connectorOffer\": \"\",\r\n \"defaultIdentity\": \"\",\r\n \"networkAclBypass\": \"None\",\r\n \"consistencyPolicy\": {\r\n \"defaultConsistencyLevel\": \"Session\",\r\n \"maxIntervalInSeconds\": 5,\r\n \"maxStalenessPrefix\": 100\r\n },\r\n \"configurationOverrides\": {},\r\n \"writeLocations\": [\r\n {\r\n \"id\": \"roaror2-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://roaror2-eastus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"readLocations\": [\r\n {\r\n \"id\": \"roaror2-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://roaror2-eastus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"locations\": [\r\n {\r\n \"id\": \"roaror2-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://roaror2-eastus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"failoverPolicies\": [\r\n {\r\n \"id\": \"roaror2-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"failoverPriority\": 0\r\n }\r\n ],\r\n \"cors\": [],\r\n \"capabilities\": [],\r\n \"ipRules\": [],\r\n \"backupPolicy\": {\r\n \"type\": \"Periodic\",\r\n \"periodicModeProperties\": {\r\n \"backupIntervalInMinutes\": 240,\r\n \"backupRetentionIntervalInHours\": 8,\r\n \"backupStorageRedundancy\": \"Geo\"\r\n }\r\n },\r\n \"networkAclBypassResourceIds\": []\r\n },\r\n \"identity\": {\r\n \"type\": \"None\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/resourceGroups/shqintest/providers/Microsoft.DocumentDB/databaseAccounts/shqintestcassandrastage\",\r\n \"name\": \"shqintestcassandrastage\",\r\n \"location\": \"East US 2\",\r\n \"type\": \"Microsoft.DocumentDB/databaseAccounts\",\r\n \"kind\": \"GlobalDocumentDB\",\r\n \"tags\": {\r\n \"defaultExperience\": \"Cassandra\",\r\n \"hidden-cosmos-mmspecial\": \"\",\r\n \"CosmosAccountType\": \"Non-Production\"\r\n },\r\n \"systemData\": {\r\n \"createdAt\": \"2020-05-08T22:42:48.819926Z\"\r\n },\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"documentEndpoint\": \"https://shqintestcassandrastage.documents-staging.windows-ppe.net:443/\",\r\n \"cassandraEndpoint\": \"https://shqintestcassandrastage.cassandra.cosmos.windows-ppe.net:443/\",\r\n \"publicNetworkAccess\": \"Enabled\",\r\n \"enableAutomaticFailover\": false,\r\n \"enableMultipleWriteLocations\": false,\r\n \"enablePartitionKeyMonitor\": false,\r\n \"isVirtualNetworkFilterEnabled\": false,\r\n \"virtualNetworkRules\": [],\r\n \"EnabledApiTypes\": \"Cassandra\",\r\n \"disableKeyBasedMetadataWriteAccess\": false,\r\n \"enableFreeTier\": false,\r\n \"enableAnalyticalStorage\": false,\r\n \"analyticalStorageConfiguration\": null,\r\n \"instanceId\": \"b61809f6-8dab-4049-afc0-b1736cdad905\",\r\n \"createMode\": \"Default\",\r\n \"databaseAccountOfferType\": \"Standard\",\r\n \"enableCassandraConnector\": false,\r\n \"connectorOffer\": \"\",\r\n \"defaultIdentity\": \"\",\r\n \"networkAclBypass\": \"None\",\r\n \"consistencyPolicy\": {\r\n \"defaultConsistencyLevel\": \"Session\",\r\n \"maxIntervalInSeconds\": 5,\r\n \"maxStalenessPrefix\": 100\r\n },\r\n \"configurationOverrides\": {},\r\n \"writeLocations\": [\r\n {\r\n \"id\": \"shqintestcassandrastage-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://shqintestcassandrastage-eastus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"readLocations\": [\r\n {\r\n \"id\": \"shqintestcassandrastage-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://shqintestcassandrastage-eastus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"locations\": [\r\n {\r\n \"id\": \"shqintestcassandrastage-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://shqintestcassandrastage-eastus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"failoverPolicies\": [\r\n {\r\n \"id\": \"shqintestcassandrastage-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"failoverPriority\": 0\r\n }\r\n ],\r\n \"cors\": [],\r\n \"capabilities\": [\r\n {\r\n \"name\": \"EnableStorageAnalytics\"\r\n },\r\n {\r\n \"name\": \"EnableCassandra\"\r\n }\r\n ],\r\n \"ipRules\": [],\r\n \"backupPolicy\": {\r\n \"type\": \"Periodic\",\r\n \"periodicModeProperties\": {\r\n \"backupIntervalInMinutes\": 60,\r\n \"backupRetentionIntervalInHours\": 8,\r\n \"backupStorageRedundancy\": \"Geo\"\r\n }\r\n },\r\n \"networkAclBypassResourceIds\": []\r\n },\r\n \"identity\": {\r\n \"type\": \"None\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/resourceGroups/analytics/providers/Microsoft.DocumentDB/databaseAccounts/sargupparalleltest\",\r\n \"name\": \"sargupparalleltest\",\r\n \"location\": \"East US 2\",\r\n \"type\": \"Microsoft.DocumentDB/databaseAccounts\",\r\n \"kind\": \"GlobalDocumentDB\",\r\n \"tags\": {},\r\n \"systemData\": {\r\n \"createdAt\": \"2019-10-24T22:49:13.4965052Z\"\r\n },\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"documentEndpoint\": \"https://sargupparalleltest.documents-staging.windows-ppe.net:443/\",\r\n \"publicNetworkAccess\": \"Enabled\",\r\n \"enableAutomaticFailover\": false,\r\n \"enableMultipleWriteLocations\": false,\r\n \"enablePartitionKeyMonitor\": false,\r\n \"isVirtualNetworkFilterEnabled\": false,\r\n \"virtualNetworkRules\": [],\r\n \"EnabledApiTypes\": \"Sql\",\r\n \"disableKeyBasedMetadataWriteAccess\": false,\r\n \"enableFreeTier\": false,\r\n \"enableAnalyticalStorage\": false,\r\n \"analyticalStorageConfiguration\": null,\r\n \"instanceId\": \"0bf3a922-f991-4ff4-8cb3-529982d1cf43\",\r\n \"createMode\": \"Default\",\r\n \"databaseAccountOfferType\": \"Standard\",\r\n \"enableCassandraConnector\": false,\r\n \"connectorOffer\": \"\",\r\n \"defaultIdentity\": \"\",\r\n \"networkAclBypass\": \"None\",\r\n \"consistencyPolicy\": {\r\n \"defaultConsistencyLevel\": \"Session\",\r\n \"maxIntervalInSeconds\": 5,\r\n \"maxStalenessPrefix\": 100\r\n },\r\n \"configurationOverrides\": {},\r\n \"writeLocations\": [\r\n {\r\n \"id\": \"sargupparalleltest-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://sargupparalleltest-eastus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"readLocations\": [\r\n {\r\n \"id\": \"sargupparalleltest-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://sargupparalleltest-eastus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"locations\": [\r\n {\r\n \"id\": \"sargupparalleltest-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://sargupparalleltest-eastus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"failoverPolicies\": [\r\n {\r\n \"id\": \"sargupparalleltest-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"failoverPriority\": 0\r\n }\r\n ],\r\n \"cors\": [],\r\n \"capabilities\": [],\r\n \"ipRules\": [],\r\n \"backupPolicy\": {\r\n \"type\": \"Periodic\",\r\n \"periodicModeProperties\": {\r\n \"backupIntervalInMinutes\": 60,\r\n \"backupRetentionIntervalInHours\": 8,\r\n \"backupStorageRedundancy\": \"Geo\"\r\n }\r\n },\r\n \"networkAclBypassResourceIds\": []\r\n },\r\n \"identity\": {\r\n \"type\": \"None\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/resourceGroups/akash-cassandra-northcentralus-resource/providers/Microsoft.DocumentDB/databaseAccounts/harsudantest3\",\r\n \"name\": \"harsudantest3\",\r\n \"location\": \"East US 2\",\r\n \"type\": \"Microsoft.DocumentDB/databaseAccounts\",\r\n \"kind\": \"GlobalDocumentDB\",\r\n \"tags\": {\r\n \"defaultExperience\": \"DocumentDB\"\r\n },\r\n \"systemData\": {\r\n \"createdAt\": \"2020-06-21T01:44:21.9612909Z\"\r\n },\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"documentEndpoint\": \"https://harsudantest3.documents-staging.windows-ppe.net:443/\",\r\n \"publicNetworkAccess\": \"Enabled\",\r\n \"enableAutomaticFailover\": true,\r\n \"enableMultipleWriteLocations\": false,\r\n \"enablePartitionKeyMonitor\": false,\r\n \"isVirtualNetworkFilterEnabled\": false,\r\n \"virtualNetworkRules\": [],\r\n \"EnabledApiTypes\": \"Sql\",\r\n \"disableKeyBasedMetadataWriteAccess\": false,\r\n \"enableFreeTier\": false,\r\n \"enableAnalyticalStorage\": false,\r\n \"analyticalStorageConfiguration\": null,\r\n \"instanceId\": \"d0d5a759-3287-4c8a-92b2-3712e218013c\",\r\n \"createMode\": \"Default\",\r\n \"databaseAccountOfferType\": \"Standard\",\r\n \"defaultIdentity\": \"\",\r\n \"networkAclBypass\": \"None\",\r\n \"consistencyPolicy\": {\r\n \"defaultConsistencyLevel\": \"Session\",\r\n \"maxIntervalInSeconds\": 5,\r\n \"maxStalenessPrefix\": 100\r\n },\r\n \"configurationOverrides\": {},\r\n \"writeLocations\": [\r\n {\r\n \"id\": \"harsudantest3-westus2\",\r\n \"locationName\": \"West US 2\",\r\n \"documentEndpoint\": \"https://harsudantest3-westus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"readLocations\": [\r\n {\r\n \"id\": \"harsudantest3-westus2\",\r\n \"locationName\": \"West US 2\",\r\n \"documentEndpoint\": \"https://harsudantest3-westus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n },\r\n {\r\n \"id\": \"harsudantest3-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://harsudantest3-eastus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 1,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"locations\": [\r\n {\r\n \"id\": \"harsudantest3-westus2\",\r\n \"locationName\": \"West US 2\",\r\n \"documentEndpoint\": \"https://harsudantest3-westus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n },\r\n {\r\n \"id\": \"harsudantest3-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://harsudantest3-eastus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 1,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"failoverPolicies\": [\r\n {\r\n \"id\": \"harsudantest3-westus2\",\r\n \"locationName\": \"West US 2\",\r\n \"failoverPriority\": 0\r\n },\r\n {\r\n \"id\": \"harsudantest3-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"failoverPriority\": 1\r\n }\r\n ],\r\n \"cors\": [],\r\n \"capabilities\": [],\r\n \"ipRules\": [],\r\n \"backupPolicy\": {\r\n \"type\": \"Periodic\",\r\n \"periodicModeProperties\": {\r\n \"backupIntervalInMinutes\": 240,\r\n \"backupRetentionIntervalInHours\": 8,\r\n \"backupStorageRedundancy\": \"Geo\"\r\n }\r\n },\r\n \"networkAclBypassResourceIds\": []\r\n },\r\n \"identity\": {\r\n \"type\": \"None\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/resourceGroups/shtan-stage-signoff/providers/Microsoft.DocumentDB/databaseAccounts/shtantestbackuphold\",\r\n \"name\": \"shtantestbackuphold\",\r\n \"location\": \"East US 2\",\r\n \"type\": \"Microsoft.DocumentDB/databaseAccounts\",\r\n \"kind\": \"GlobalDocumentDB\",\r\n \"tags\": {\r\n \"defaultExperience\": \"Core (SQL)\",\r\n \"hidden-cosmos-mmspecial\": \"\",\r\n \"CosmosAccountType\": \"Non-Production\"\r\n },\r\n \"systemData\": {\r\n \"createdAt\": \"2020-08-21T10:42:15.454682Z\"\r\n },\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"documentEndpoint\": \"https://shtantestbackuphold.documents-staging.windows-ppe.net:443/\",\r\n \"publicNetworkAccess\": \"Enabled\",\r\n \"enableAutomaticFailover\": false,\r\n \"enableMultipleWriteLocations\": false,\r\n \"enablePartitionKeyMonitor\": false,\r\n \"isVirtualNetworkFilterEnabled\": false,\r\n \"virtualNetworkRules\": [],\r\n \"EnabledApiTypes\": \"Sql\",\r\n \"disableKeyBasedMetadataWriteAccess\": false,\r\n \"enableFreeTier\": false,\r\n \"enableAnalyticalStorage\": false,\r\n \"analyticalStorageConfiguration\": null,\r\n \"instanceId\": \"de8ef355-27ec-498d-bc5d-c90fccfae995\",\r\n \"createMode\": \"Default\",\r\n \"databaseAccountOfferType\": \"Standard\",\r\n \"enableCassandraConnector\": false,\r\n \"connectorOffer\": \"\",\r\n \"defaultIdentity\": \"\",\r\n \"networkAclBypass\": \"None\",\r\n \"consistencyPolicy\": {\r\n \"defaultConsistencyLevel\": \"Session\",\r\n \"maxIntervalInSeconds\": 5,\r\n \"maxStalenessPrefix\": 100\r\n },\r\n \"configurationOverrides\": {},\r\n \"writeLocations\": [\r\n {\r\n \"id\": \"shtantestbackuphold-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://shtantestbackuphold-eastus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"readLocations\": [\r\n {\r\n \"id\": \"shtantestbackuphold-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://shtantestbackuphold-eastus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"locations\": [\r\n {\r\n \"id\": \"shtantestbackuphold-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://shtantestbackuphold-eastus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"failoverPolicies\": [\r\n {\r\n \"id\": \"shtantestbackuphold-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"failoverPriority\": 0\r\n }\r\n ],\r\n \"cors\": [],\r\n \"capabilities\": [],\r\n \"ipRules\": [],\r\n \"backupPolicy\": {\r\n \"type\": \"Periodic\",\r\n \"periodicModeProperties\": {\r\n \"backupIntervalInMinutes\": 120,\r\n \"backupRetentionIntervalInHours\": 9,\r\n \"backupStorageRedundancy\": \"Geo\"\r\n }\r\n },\r\n \"networkAclBypassResourceIds\": []\r\n },\r\n \"identity\": {\r\n \"type\": \"None\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/resourceGroups/ragil/providers/Microsoft.DocumentDB/databaseAccounts/sql-pxf3ijdttumy4\",\r\n \"name\": \"sql-pxf3ijdttumy4\",\r\n \"location\": \"East US 2\",\r\n \"type\": \"Microsoft.DocumentDB/databaseAccounts\",\r\n \"kind\": \"GlobalDocumentDB\",\r\n \"tags\": {},\r\n \"systemData\": {\r\n \"createdAt\": \"2020-04-14T00:30:31.5476426Z\"\r\n },\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"documentEndpoint\": \"https://sql-pxf3ijdttumy4.documents-staging.windows-ppe.net:443/\",\r\n \"publicNetworkAccess\": \"Enabled\",\r\n \"enableAutomaticFailover\": true,\r\n \"enableMultipleWriteLocations\": false,\r\n \"enablePartitionKeyMonitor\": false,\r\n \"isVirtualNetworkFilterEnabled\": false,\r\n \"virtualNetworkRules\": [],\r\n \"EnabledApiTypes\": \"Sql\",\r\n \"disableKeyBasedMetadataWriteAccess\": false,\r\n \"enableFreeTier\": false,\r\n \"enableAnalyticalStorage\": false,\r\n \"analyticalStorageConfiguration\": null,\r\n \"instanceId\": \"24ab0882-6575-45b8-b6b0-7e9764d668fd\",\r\n \"createMode\": \"Default\",\r\n \"databaseAccountOfferType\": \"Standard\",\r\n \"enableCassandraConnector\": false,\r\n \"connectorOffer\": \"\",\r\n \"defaultIdentity\": \"\",\r\n \"networkAclBypass\": \"None\",\r\n \"consistencyPolicy\": {\r\n \"defaultConsistencyLevel\": \"Session\",\r\n \"maxIntervalInSeconds\": 5,\r\n \"maxStalenessPrefix\": 100\r\n },\r\n \"configurationOverrides\": {},\r\n \"writeLocations\": [\r\n {\r\n \"id\": \"sql-pxf3ijdttumy4-northcentralus\",\r\n \"locationName\": \"North Central US\",\r\n \"documentEndpoint\": \"https://sql-pxf3ijdttumy4-northcentralus.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"readLocations\": [\r\n {\r\n \"id\": \"sql-pxf3ijdttumy4-northcentralus\",\r\n \"locationName\": \"North Central US\",\r\n \"documentEndpoint\": \"https://sql-pxf3ijdttumy4-northcentralus.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"locations\": [\r\n {\r\n \"id\": \"sql-pxf3ijdttumy4-northcentralus\",\r\n \"locationName\": \"North Central US\",\r\n \"documentEndpoint\": \"https://sql-pxf3ijdttumy4-northcentralus.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"failoverPolicies\": [\r\n {\r\n \"id\": \"sql-pxf3ijdttumy4-northcentralus\",\r\n \"locationName\": \"North Central US\",\r\n \"failoverPriority\": 0\r\n }\r\n ],\r\n \"cors\": [],\r\n \"capabilities\": [],\r\n \"ipRules\": [],\r\n \"backupPolicy\": {\r\n \"type\": \"Periodic\",\r\n \"periodicModeProperties\": {\r\n \"backupIntervalInMinutes\": 60,\r\n \"backupRetentionIntervalInHours\": 8,\r\n \"backupStorageRedundancy\": \"Geo\"\r\n }\r\n },\r\n \"networkAclBypassResourceIds\": []\r\n },\r\n \"identity\": {\r\n \"type\": \"None\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/resourceGroups/sdk-ci/providers/Microsoft.DocumentDB/databaseAccounts/java-async-multimaster-signoff\",\r\n \"name\": \"java-async-multimaster-signoff\",\r\n \"location\": \"East US 2\",\r\n \"type\": \"Microsoft.DocumentDB/databaseAccounts\",\r\n \"kind\": \"GlobalDocumentDB\",\r\n \"tags\": {\r\n \"defaultExperience\": \"Core (SQL)\"\r\n },\r\n \"systemData\": {\r\n \"createdAt\": \"2018-12-19T22:17:23.3548774Z\"\r\n },\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"documentEndpoint\": \"https://java-async-multimaster-signoff.documents-staging.windows-ppe.net:443/\",\r\n \"publicNetworkAccess\": \"Enabled\",\r\n \"enableAutomaticFailover\": false,\r\n \"enableMultipleWriteLocations\": true,\r\n \"enablePartitionKeyMonitor\": false,\r\n \"isVirtualNetworkFilterEnabled\": false,\r\n \"virtualNetworkRules\": [],\r\n \"EnabledApiTypes\": \"Sql\",\r\n \"disableKeyBasedMetadataWriteAccess\": false,\r\n \"enableFreeTier\": false,\r\n \"enableAnalyticalStorage\": false,\r\n \"analyticalStorageConfiguration\": null,\r\n \"instanceId\": \"2093368d-1a1c-45b3-a5c0-11f7e7306bb0\",\r\n \"createMode\": \"Default\",\r\n \"databaseAccountOfferType\": \"Standard\",\r\n \"defaultIdentity\": \"\",\r\n \"networkAclBypass\": \"None\",\r\n \"consistencyPolicy\": {\r\n \"defaultConsistencyLevel\": \"Session\",\r\n \"maxIntervalInSeconds\": 5,\r\n \"maxStalenessPrefix\": 100\r\n },\r\n \"configurationOverrides\": {},\r\n \"writeLocations\": [\r\n {\r\n \"id\": \"java-async-multimaster-signoff-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://java-async-multimaster-signoff-eastus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Updating\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n },\r\n {\r\n \"id\": \"java-async-multimaster-signoff-southeastasia\",\r\n \"locationName\": \"Southeast Asia\",\r\n \"documentEndpoint\": \"https://java-async-multimaster-signoff-southeastasia.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 2,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"readLocations\": [\r\n {\r\n \"id\": \"java-async-multimaster-signoff-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://java-async-multimaster-signoff-eastus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Updating\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n },\r\n {\r\n \"id\": \"java-async-multimaster-signoff-southeastasia\",\r\n \"locationName\": \"Southeast Asia\",\r\n \"documentEndpoint\": \"https://java-async-multimaster-signoff-southeastasia.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 2,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"locations\": [\r\n {\r\n \"id\": \"java-async-multimaster-signoff-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://java-async-multimaster-signoff-eastus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Updating\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n },\r\n {\r\n \"id\": \"java-async-multimaster-signoff-southeastasia\",\r\n \"locationName\": \"Southeast Asia\",\r\n \"documentEndpoint\": \"https://java-async-multimaster-signoff-southeastasia.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 2,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"failoverPolicies\": [\r\n {\r\n \"id\": \"java-async-multimaster-signoff-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"failoverPriority\": 0\r\n },\r\n {\r\n \"id\": \"java-async-multimaster-signoff-southeastasia\",\r\n \"locationName\": \"Southeast Asia\",\r\n \"failoverPriority\": 2\r\n }\r\n ],\r\n \"cors\": [],\r\n \"capabilities\": [],\r\n \"ipRules\": [],\r\n \"backupPolicy\": {\r\n \"type\": \"Periodic\",\r\n \"periodicModeProperties\": {\r\n \"backupIntervalInMinutes\": 240,\r\n \"backupRetentionIntervalInHours\": 8,\r\n \"backupStorageRedundancy\": \"Geo\"\r\n }\r\n },\r\n \"networkAclBypassResourceIds\": []\r\n },\r\n \"identity\": {\r\n \"type\": \"None\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/resourceGroups/mekaushi/providers/Microsoft.DocumentDB/databaseAccounts/mekaushimongomigrate\",\r\n \"name\": \"mekaushimongomigrate\",\r\n \"location\": \"East US 2\",\r\n \"type\": \"Microsoft.DocumentDB/databaseAccounts\",\r\n \"kind\": \"MongoDB\",\r\n \"tags\": {\r\n \"defaultExperience\": \"Azure Cosmos DB for MongoDB API\",\r\n \"hidden-cosmos-mmspecial\": \"\",\r\n \"CosmosAccountType\": \"Non-Production\"\r\n },\r\n \"systemData\": {\r\n \"createdAt\": \"2020-05-12T21:48:52.5867438Z\"\r\n },\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"documentEndpoint\": \"https://mekaushimongomigrate.documents-staging.windows-ppe.net:443/\",\r\n \"mongoEndpoint\": \"https://mekaushimongomigrate.mongo.cosmos.windows-ppe.net:443/\",\r\n \"publicNetworkAccess\": \"Enabled\",\r\n \"enableAutomaticFailover\": false,\r\n \"enableMultipleWriteLocations\": false,\r\n \"enablePartitionKeyMonitor\": false,\r\n \"isVirtualNetworkFilterEnabled\": false,\r\n \"virtualNetworkRules\": [],\r\n \"EnabledApiTypes\": \"MongoDB\",\r\n \"disableKeyBasedMetadataWriteAccess\": false,\r\n \"enableFreeTier\": false,\r\n \"enableAnalyticalStorage\": true,\r\n \"analyticalStorageConfiguration\": null,\r\n \"instanceId\": \"0e47abda-b44a-4251-a29c-46114b96285a\",\r\n \"createMode\": \"Default\",\r\n \"databaseAccountOfferType\": \"Standard\",\r\n \"enableCassandraConnector\": false,\r\n \"connectorOffer\": \"\",\r\n \"defaultIdentity\": \"\",\r\n \"networkAclBypass\": \"None\",\r\n \"consistencyPolicy\": {\r\n \"defaultConsistencyLevel\": \"Session\",\r\n \"maxIntervalInSeconds\": 5,\r\n \"maxStalenessPrefix\": 100\r\n },\r\n \"apiProperties\": {\r\n \"serverVersion\": \"3.6\"\r\n },\r\n \"configurationOverrides\": {\r\n \"EnableBsonSchema\": \"True\"\r\n },\r\n \"writeLocations\": [\r\n {\r\n \"id\": \"mekaushimongomigrate-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://mekaushimongomigrate-eastus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"readLocations\": [\r\n {\r\n \"id\": \"mekaushimongomigrate-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://mekaushimongomigrate-eastus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"locations\": [\r\n {\r\n \"id\": \"mekaushimongomigrate-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://mekaushimongomigrate-eastus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"failoverPolicies\": [\r\n {\r\n \"id\": \"mekaushimongomigrate-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"failoverPriority\": 0\r\n }\r\n ],\r\n \"cors\": [],\r\n \"capabilities\": [\r\n {\r\n \"name\": \"EnableMongo\"\r\n }\r\n ],\r\n \"ipRules\": [],\r\n \"backupPolicy\": {\r\n \"type\": \"Periodic\",\r\n \"periodicModeProperties\": {\r\n \"backupIntervalInMinutes\": 60,\r\n \"backupRetentionIntervalInHours\": 8,\r\n \"backupStorageRedundancy\": \"Geo\"\r\n }\r\n },\r\n \"networkAclBypassResourceIds\": []\r\n },\r\n \"identity\": {\r\n \"type\": \"None\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/resourceGroups/CosmosDBResourceGroup3668/providers/Microsoft.DocumentDB/databaseAccounts/db8192\",\r\n \"name\": \"db8192\",\r\n \"location\": \"East US 2\",\r\n \"type\": \"Microsoft.DocumentDB/databaseAccounts\",\r\n \"kind\": \"GlobalDocumentDB\",\r\n \"tags\": {\r\n \"defaultExperience\": \"Cassandra\",\r\n \"hidden-cosmos-mmspecial\": \"\",\r\n \"CosmosAccountType\": \"Non-Production\"\r\n },\r\n \"systemData\": {\r\n \"createdAt\": \"2020-07-21T19:17:46.4039586Z\"\r\n },\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"documentEndpoint\": \"https://db8192.documents-staging.windows-ppe.net:443/\",\r\n \"cassandraEndpoint\": \"https://db8192.cassandra.cosmos.windows-ppe.net:443/\",\r\n \"publicNetworkAccess\": \"Enabled\",\r\n \"enableAutomaticFailover\": false,\r\n \"enableMultipleWriteLocations\": false,\r\n \"enablePartitionKeyMonitor\": false,\r\n \"isVirtualNetworkFilterEnabled\": false,\r\n \"virtualNetworkRules\": [],\r\n \"EnabledApiTypes\": \"Cassandra\",\r\n \"disableKeyBasedMetadataWriteAccess\": false,\r\n \"enableFreeTier\": false,\r\n \"enableAnalyticalStorage\": false,\r\n \"analyticalStorageConfiguration\": null,\r\n \"instanceId\": \"cc0bf75f-77f4-4742-a2ed-2673367c60cb\",\r\n \"createMode\": \"Default\",\r\n \"databaseAccountOfferType\": \"Standard\",\r\n \"enableCassandraConnector\": false,\r\n \"connectorOffer\": \"\",\r\n \"defaultIdentity\": \"\",\r\n \"networkAclBypass\": \"None\",\r\n \"consistencyPolicy\": {\r\n \"defaultConsistencyLevel\": \"Session\",\r\n \"maxIntervalInSeconds\": 5,\r\n \"maxStalenessPrefix\": 100\r\n },\r\n \"configurationOverrides\": {},\r\n \"writeLocations\": [\r\n {\r\n \"id\": \"db8192-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://db8192-eastus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"readLocations\": [\r\n {\r\n \"id\": \"db8192-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://db8192-eastus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"locations\": [\r\n {\r\n \"id\": \"db8192-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://db8192-eastus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"failoverPolicies\": [\r\n {\r\n \"id\": \"db8192-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"failoverPriority\": 0\r\n }\r\n ],\r\n \"cors\": [],\r\n \"capabilities\": [\r\n {\r\n \"name\": \"EnableCassandra\"\r\n }\r\n ],\r\n \"ipRules\": [],\r\n \"backupPolicy\": {\r\n \"type\": \"Periodic\",\r\n \"periodicModeProperties\": {\r\n \"backupIntervalInMinutes\": 240,\r\n \"backupRetentionIntervalInHours\": 8,\r\n \"backupStorageRedundancy\": \"Geo\"\r\n }\r\n },\r\n \"networkAclBypassResourceIds\": []\r\n },\r\n \"identity\": {\r\n \"type\": \"None\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/resourceGroups/CosmosDBResourceGroup3668/providers/Microsoft.DocumentDB/databaseAccounts/db1024\",\r\n \"name\": \"db1024\",\r\n \"location\": \"East US 2\",\r\n \"type\": \"Microsoft.DocumentDB/databaseAccounts\",\r\n \"kind\": \"GlobalDocumentDB\",\r\n \"tags\": {},\r\n \"systemData\": {\r\n \"createdAt\": \"2020-07-21T18:19:36.6085112Z\"\r\n },\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"documentEndpoint\": \"https://db1024.documents-staging.windows-ppe.net:443/\",\r\n \"publicNetworkAccess\": \"Enabled\",\r\n \"enableAutomaticFailover\": false,\r\n \"enableMultipleWriteLocations\": false,\r\n \"enablePartitionKeyMonitor\": false,\r\n \"isVirtualNetworkFilterEnabled\": false,\r\n \"virtualNetworkRules\": [],\r\n \"EnabledApiTypes\": \"Sql\",\r\n \"disableKeyBasedMetadataWriteAccess\": false,\r\n \"enableFreeTier\": false,\r\n \"enableAnalyticalStorage\": false,\r\n \"analyticalStorageConfiguration\": null,\r\n \"instanceId\": \"aca7d453-88a9-4bf2-8abc-46d21553638f\",\r\n \"createMode\": \"Default\",\r\n \"databaseAccountOfferType\": \"Standard\",\r\n \"enableCassandraConnector\": false,\r\n \"connectorOffer\": \"\",\r\n \"defaultIdentity\": \"\",\r\n \"networkAclBypass\": \"None\",\r\n \"consistencyPolicy\": {\r\n \"defaultConsistencyLevel\": \"Session\",\r\n \"maxIntervalInSeconds\": 5,\r\n \"maxStalenessPrefix\": 100\r\n },\r\n \"configurationOverrides\": {},\r\n \"writeLocations\": [\r\n {\r\n \"id\": \"db1024-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://db1024-eastus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"readLocations\": [\r\n {\r\n \"id\": \"db1024-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://db1024-eastus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"locations\": [\r\n {\r\n \"id\": \"db1024-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://db1024-eastus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"failoverPolicies\": [\r\n {\r\n \"id\": \"db1024-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"failoverPriority\": 0\r\n }\r\n ],\r\n \"cors\": [],\r\n \"capabilities\": [],\r\n \"ipRules\": [],\r\n \"backupPolicy\": {\r\n \"type\": \"Continuous\"\r\n },\r\n \"networkAclBypassResourceIds\": []\r\n },\r\n \"identity\": {\r\n \"type\": \"None\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/resourceGroups/devansh-stage/providers/Microsoft.DocumentDB/databaseAccounts/metric-non-conso-w-purge\",\r\n \"name\": \"metric-non-conso-w-purge\",\r\n \"location\": \"East US 2\",\r\n \"type\": \"Microsoft.DocumentDB/databaseAccounts\",\r\n \"kind\": \"GlobalDocumentDB\",\r\n \"tags\": {\r\n \"defaultExperience\": \"Core (SQL)\",\r\n \"hidden-cosmos-mmspecial\": \"\"\r\n },\r\n \"systemData\": {\r\n \"createdAt\": \"2020-02-12T08:06:10.5282339Z\"\r\n },\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"documentEndpoint\": \"https://metric-non-conso-w-purge.documents-staging.windows-ppe.net:443/\",\r\n \"publicNetworkAccess\": \"Enabled\",\r\n \"enableAutomaticFailover\": false,\r\n \"enableMultipleWriteLocations\": false,\r\n \"enablePartitionKeyMonitor\": false,\r\n \"isVirtualNetworkFilterEnabled\": false,\r\n \"virtualNetworkRules\": [],\r\n \"EnabledApiTypes\": \"Sql\",\r\n \"disableKeyBasedMetadataWriteAccess\": false,\r\n \"enableFreeTier\": false,\r\n \"enableAnalyticalStorage\": false,\r\n \"analyticalStorageConfiguration\": null,\r\n \"instanceId\": \"f6755f78-6ebf-4a20-8422-881d26f333a8\",\r\n \"createMode\": \"Default\",\r\n \"databaseAccountOfferType\": \"Standard\",\r\n \"enableCassandraConnector\": false,\r\n \"connectorOffer\": \"\",\r\n \"defaultIdentity\": \"\",\r\n \"networkAclBypass\": \"None\",\r\n \"consistencyPolicy\": {\r\n \"defaultConsistencyLevel\": \"Session\",\r\n \"maxIntervalInSeconds\": 5,\r\n \"maxStalenessPrefix\": 100\r\n },\r\n \"configurationOverrides\": {},\r\n \"writeLocations\": [\r\n {\r\n \"id\": \"metric-non-conso-w-purge-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://metric-non-conso-w-purge-eastus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"readLocations\": [\r\n {\r\n \"id\": \"metric-non-conso-w-purge-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://metric-non-conso-w-purge-eastus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"locations\": [\r\n {\r\n \"id\": \"metric-non-conso-w-purge-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://metric-non-conso-w-purge-eastus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"failoverPolicies\": [\r\n {\r\n \"id\": \"metric-non-conso-w-purge-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"failoverPriority\": 0\r\n }\r\n ],\r\n \"cors\": [],\r\n \"capabilities\": [\r\n {\r\n \"name\": \"EnableStorageAnalytics\"\r\n }\r\n ],\r\n \"ipRules\": [],\r\n \"backupPolicy\": {\r\n \"type\": \"Periodic\",\r\n \"periodicModeProperties\": {\r\n \"backupIntervalInMinutes\": 60,\r\n \"backupRetentionIntervalInHours\": 8,\r\n \"backupStorageRedundancy\": \"Geo\"\r\n }\r\n },\r\n \"networkAclBypassResourceIds\": []\r\n },\r\n \"identity\": {\r\n \"type\": \"None\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/resourceGroups/sdk-ci/providers/Microsoft.DocumentDB/databaseAccounts/sdk-signoff-2\",\r\n \"name\": \"sdk-signoff-2\",\r\n \"location\": \"East US 2\",\r\n \"type\": \"Microsoft.DocumentDB/databaseAccounts\",\r\n \"kind\": \"GlobalDocumentDB\",\r\n \"tags\": {\r\n \"defaultExperience\": \"DocumentDB\"\r\n },\r\n \"systemData\": {\r\n \"createdAt\": \"2018-06-26T21:37:15.6859442Z\"\r\n },\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"documentEndpoint\": \"https://sdk-signoff-2.documents-staging.windows-ppe.net:443/\",\r\n \"publicNetworkAccess\": \"Enabled\",\r\n \"enableAutomaticFailover\": false,\r\n \"enableMultipleWriteLocations\": false,\r\n \"enablePartitionKeyMonitor\": false,\r\n \"isVirtualNetworkFilterEnabled\": false,\r\n \"virtualNetworkRules\": [],\r\n \"EnabledApiTypes\": \"Sql\",\r\n \"disableKeyBasedMetadataWriteAccess\": false,\r\n \"enableFreeTier\": false,\r\n \"enableAnalyticalStorage\": false,\r\n \"analyticalStorageConfiguration\": null,\r\n \"instanceId\": \"0daad281-b626-42d0-b0b0-8f389f3a2dd2\",\r\n \"createMode\": \"Default\",\r\n \"databaseAccountOfferType\": \"Standard\",\r\n \"defaultIdentity\": \"\",\r\n \"networkAclBypass\": \"None\",\r\n \"consistencyPolicy\": {\r\n \"defaultConsistencyLevel\": \"Strong\",\r\n \"maxIntervalInSeconds\": 5,\r\n \"maxStalenessPrefix\": 100\r\n },\r\n \"configurationOverrides\": {},\r\n \"writeLocations\": [\r\n {\r\n \"id\": \"sdk-signoff-2-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://sdk-signoff-2-eastus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"readLocations\": [\r\n {\r\n \"id\": \"sdk-signoff-2-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://sdk-signoff-2-eastus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"locations\": [\r\n {\r\n \"id\": \"sdk-signoff-2-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://sdk-signoff-2-eastus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"failoverPolicies\": [\r\n {\r\n \"id\": \"sdk-signoff-2-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"failoverPriority\": 0\r\n }\r\n ],\r\n \"cors\": [],\r\n \"capabilities\": [],\r\n \"ipRules\": [],\r\n \"backupPolicy\": {\r\n \"type\": \"Periodic\",\r\n \"periodicModeProperties\": {\r\n \"backupIntervalInMinutes\": 240,\r\n \"backupRetentionIntervalInHours\": 8,\r\n \"backupStorageRedundancy\": \"Geo\"\r\n }\r\n },\r\n \"networkAclBypassResourceIds\": []\r\n },\r\n \"identity\": {\r\n \"type\": \"None\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/resourceGroups/sargup/providers/Microsoft.DocumentDB/databaseAccounts/deploytestsargup-restored1108\",\r\n \"name\": \"deploytestsargup-restored1108\",\r\n \"location\": \"East US 2\",\r\n \"type\": \"Microsoft.DocumentDB/databaseAccounts\",\r\n \"kind\": \"GlobalDocumentDB\",\r\n \"tags\": {\r\n \"defaultExperience\": \"Core (SQL)\",\r\n \"restoredSourceDatabaseAccountName\": \"deploytestsargup\",\r\n \"restoredAtTimestamp\": \"11/8/2019 10:52:44 PM\"\r\n },\r\n \"systemData\": {\r\n \"createdAt\": \"2019-11-08T23:03:20.0550847Z\"\r\n },\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"documentEndpoint\": \"https://deploytestsargup-restored1108.documents-staging.windows-ppe.net:443/\",\r\n \"publicNetworkAccess\": \"Enabled\",\r\n \"enableAutomaticFailover\": false,\r\n \"enableMultipleWriteLocations\": false,\r\n \"enablePartitionKeyMonitor\": false,\r\n \"isVirtualNetworkFilterEnabled\": false,\r\n \"virtualNetworkRules\": [],\r\n \"EnabledApiTypes\": \"Sql\",\r\n \"disableKeyBasedMetadataWriteAccess\": false,\r\n \"enableFreeTier\": false,\r\n \"enableAnalyticalStorage\": false,\r\n \"analyticalStorageConfiguration\": null,\r\n \"instanceId\": \"98a90cd7-a5b2-4d70-9595-73963cb9a468\",\r\n \"createMode\": \"Default\",\r\n \"databaseAccountOfferType\": \"Standard\",\r\n \"enableCassandraConnector\": false,\r\n \"defaultIdentity\": \"\",\r\n \"networkAclBypass\": \"None\",\r\n \"consistencyPolicy\": {\r\n \"defaultConsistencyLevel\": \"Session\",\r\n \"maxIntervalInSeconds\": 5,\r\n \"maxStalenessPrefix\": 100\r\n },\r\n \"configurationOverrides\": {},\r\n \"writeLocations\": [\r\n {\r\n \"id\": \"deploytestsargup-restored1108-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://deploytestsargup-restored1108-eastus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"readLocations\": [\r\n {\r\n \"id\": \"deploytestsargup-restored1108-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://deploytestsargup-restored1108-eastus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"locations\": [\r\n {\r\n \"id\": \"deploytestsargup-restored1108-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://deploytestsargup-restored1108-eastus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"failoverPolicies\": [\r\n {\r\n \"id\": \"deploytestsargup-restored1108-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"failoverPriority\": 0\r\n }\r\n ],\r\n \"cors\": [],\r\n \"capabilities\": [],\r\n \"ipRules\": [],\r\n \"backupPolicy\": {\r\n \"type\": \"Periodic\",\r\n \"periodicModeProperties\": {\r\n \"backupIntervalInMinutes\": 60,\r\n \"backupRetentionIntervalInHours\": 8,\r\n \"backupStorageRedundancy\": \"Geo\"\r\n }\r\n },\r\n \"networkAclBypassResourceIds\": []\r\n },\r\n \"identity\": {\r\n \"type\": \"None\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/resourceGroups/shmotlan/providers/Microsoft.DocumentDB/databaseAccounts/shan-0726-mongo\",\r\n \"name\": \"shan-0726-mongo\",\r\n \"location\": \"East US 2\",\r\n \"type\": \"Microsoft.DocumentDB/databaseAccounts\",\r\n \"kind\": \"MongoDB\",\r\n \"tags\": {\r\n \"defaultExperience\": \"Azure Cosmos DB for MongoDB API\"\r\n },\r\n \"systemData\": {\r\n \"createdAt\": \"2019-07-26T20:34:21.1059192Z\"\r\n },\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"documentEndpoint\": \"https://shan-0726-mongo.documents-staging.windows-ppe.net:443/\",\r\n \"publicNetworkAccess\": \"Enabled\",\r\n \"enableAutomaticFailover\": false,\r\n \"enableMultipleWriteLocations\": true,\r\n \"enablePartitionKeyMonitor\": false,\r\n \"isVirtualNetworkFilterEnabled\": false,\r\n \"virtualNetworkRules\": [],\r\n \"EnabledApiTypes\": \"MongoDB\",\r\n \"disableKeyBasedMetadataWriteAccess\": false,\r\n \"enableFreeTier\": false,\r\n \"enableAnalyticalStorage\": false,\r\n \"analyticalStorageConfiguration\": null,\r\n \"instanceId\": \"b03d1acb-fd02-4e24-a6d1-a6c5c0a312b9\",\r\n \"createMode\": \"Default\",\r\n \"databaseAccountOfferType\": \"Standard\",\r\n \"enableCassandraConnector\": false,\r\n \"connectorOffer\": \"\",\r\n \"defaultIdentity\": \"\",\r\n \"networkAclBypass\": \"None\",\r\n \"consistencyPolicy\": {\r\n \"defaultConsistencyLevel\": \"Session\",\r\n \"maxIntervalInSeconds\": 5,\r\n \"maxStalenessPrefix\": 100\r\n },\r\n \"apiProperties\": {\r\n \"serverVersion\": \"3.2\"\r\n },\r\n \"configurationOverrides\": {\r\n \"EnableBsonSchema\": \"True\"\r\n },\r\n \"writeLocations\": [\r\n {\r\n \"id\": \"shan-0726-mongo-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://shan-0726-mongo-eastus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"readLocations\": [\r\n {\r\n \"id\": \"shan-0726-mongo-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://shan-0726-mongo-eastus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"locations\": [\r\n {\r\n \"id\": \"shan-0726-mongo-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://shan-0726-mongo-eastus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"failoverPolicies\": [\r\n {\r\n \"id\": \"shan-0726-mongo-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"failoverPriority\": 0\r\n }\r\n ],\r\n \"cors\": [],\r\n \"capabilities\": [],\r\n \"ipRules\": [],\r\n \"backupPolicy\": {\r\n \"type\": \"Periodic\",\r\n \"periodicModeProperties\": {\r\n \"backupIntervalInMinutes\": 240,\r\n \"backupRetentionIntervalInHours\": 8,\r\n \"backupStorageRedundancy\": \"Geo\"\r\n }\r\n },\r\n \"networkAclBypassResourceIds\": []\r\n },\r\n \"identity\": {\r\n \"type\": \"None\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/resourceGroups/shan/providers/Microsoft.DocumentDB/databaseAccounts/shan-cassandra-staging\",\r\n \"name\": \"shan-cassandra-staging\",\r\n \"location\": \"East US 2\",\r\n \"type\": \"Microsoft.DocumentDB/databaseAccounts\",\r\n \"kind\": \"GlobalDocumentDB\",\r\n \"tags\": {\r\n \"defaultExperience\": \"Cassandra\",\r\n \"hidden-cosmos-mmspecial\": \"\",\r\n \"CosmosAccountType\": \"Non-Production\"\r\n },\r\n \"systemData\": {\r\n \"createdAt\": \"2020-05-11T19:57:46.884473Z\"\r\n },\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"documentEndpoint\": \"https://shan-cassandra-staging.documents-staging.windows-ppe.net:443/\",\r\n \"cassandraEndpoint\": \"https://shan-cassandra-staging.cassandra.cosmos.windows-ppe.net:443/\",\r\n \"publicNetworkAccess\": \"Enabled\",\r\n \"enableAutomaticFailover\": false,\r\n \"enableMultipleWriteLocations\": false,\r\n \"enablePartitionKeyMonitor\": false,\r\n \"isVirtualNetworkFilterEnabled\": false,\r\n \"virtualNetworkRules\": [],\r\n \"EnabledApiTypes\": \"Cassandra\",\r\n \"disableKeyBasedMetadataWriteAccess\": false,\r\n \"enableFreeTier\": false,\r\n \"enableAnalyticalStorage\": true,\r\n \"analyticalStorageConfiguration\": null,\r\n \"instanceId\": \"7f26ea69-e512-4c45-834f-a2c719b06b9d\",\r\n \"createMode\": \"Default\",\r\n \"databaseAccountOfferType\": \"Standard\",\r\n \"enableCassandraConnector\": false,\r\n \"connectorOffer\": \"\",\r\n \"defaultIdentity\": \"\",\r\n \"networkAclBypass\": \"None\",\r\n \"consistencyPolicy\": {\r\n \"defaultConsistencyLevel\": \"Session\",\r\n \"maxIntervalInSeconds\": 5,\r\n \"maxStalenessPrefix\": 100\r\n },\r\n \"configurationOverrides\": {},\r\n \"writeLocations\": [\r\n {\r\n \"id\": \"shan-cassandra-staging-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://shan-cassandra-staging-eastus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"readLocations\": [\r\n {\r\n \"id\": \"shan-cassandra-staging-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://shan-cassandra-staging-eastus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"locations\": [\r\n {\r\n \"id\": \"shan-cassandra-staging-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://shan-cassandra-staging-eastus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"failoverPolicies\": [\r\n {\r\n \"id\": \"shan-cassandra-staging-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"failoverPriority\": 0\r\n }\r\n ],\r\n \"cors\": [\r\n {\r\n \"allowedOrigins\": \"*\"\r\n }\r\n ],\r\n \"capabilities\": [\r\n {\r\n \"name\": \"EnableCassandra\"\r\n }\r\n ],\r\n \"ipRules\": [],\r\n \"backupPolicy\": {\r\n \"type\": \"Periodic\",\r\n \"periodicModeProperties\": {\r\n \"backupIntervalInMinutes\": 60,\r\n \"backupRetentionIntervalInHours\": 8,\r\n \"backupStorageRedundancy\": \"Geo\"\r\n }\r\n },\r\n \"networkAclBypassResourceIds\": []\r\n },\r\n \"identity\": {\r\n \"type\": \"None\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/resourceGroups/computev2stagerg/providers/Microsoft.DocumentDB/databaseAccounts/stagecomputev2db\",\r\n \"name\": \"stagecomputev2db\",\r\n \"location\": \"East US 2\",\r\n \"type\": \"Microsoft.DocumentDB/databaseAccounts\",\r\n \"kind\": \"GlobalDocumentDB\",\r\n \"tags\": {\r\n \"defaultExperience\": \"Core (SQL)\",\r\n \"hidden-cosmos-mmspecial\": \"\",\r\n \"CosmosAccountType\": \"Non-Production\"\r\n },\r\n \"systemData\": {\r\n \"createdAt\": \"2020-03-02T20:45:44.4896421Z\"\r\n },\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"documentEndpoint\": \"https://stagecomputev2db.documents-staging.windows-ppe.net:443/\",\r\n \"publicNetworkAccess\": \"Enabled\",\r\n \"enableAutomaticFailover\": false,\r\n \"enableMultipleWriteLocations\": false,\r\n \"enablePartitionKeyMonitor\": false,\r\n \"isVirtualNetworkFilterEnabled\": false,\r\n \"virtualNetworkRules\": [],\r\n \"EnabledApiTypes\": \"Sql\",\r\n \"disableKeyBasedMetadataWriteAccess\": false,\r\n \"enableFreeTier\": false,\r\n \"enableAnalyticalStorage\": false,\r\n \"analyticalStorageConfiguration\": null,\r\n \"instanceId\": \"ab476b3b-8c9a-40ab-95cd-2f91f2566a82\",\r\n \"createMode\": \"Default\",\r\n \"databaseAccountOfferType\": \"Standard\",\r\n \"enableCassandraConnector\": false,\r\n \"connectorOffer\": \"\",\r\n \"defaultIdentity\": \"\",\r\n \"networkAclBypass\": \"None\",\r\n \"consistencyPolicy\": {\r\n \"defaultConsistencyLevel\": \"Session\",\r\n \"maxIntervalInSeconds\": 5,\r\n \"maxStalenessPrefix\": 100\r\n },\r\n \"configurationOverrides\": {},\r\n \"writeLocations\": [\r\n {\r\n \"id\": \"stagecomputev2db-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://stagecomputev2db-eastus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"readLocations\": [\r\n {\r\n \"id\": \"stagecomputev2db-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://stagecomputev2db-eastus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"locations\": [\r\n {\r\n \"id\": \"stagecomputev2db-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://stagecomputev2db-eastus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"failoverPolicies\": [\r\n {\r\n \"id\": \"stagecomputev2db-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"failoverPriority\": 0\r\n }\r\n ],\r\n \"cors\": [],\r\n \"capabilities\": [\r\n {\r\n \"name\": \"EnableStorageAnalytics\"\r\n }\r\n ],\r\n \"ipRules\": [],\r\n \"backupPolicy\": {\r\n \"type\": \"Periodic\",\r\n \"periodicModeProperties\": {\r\n \"backupIntervalInMinutes\": 60,\r\n \"backupRetentionIntervalInHours\": 8,\r\n \"backupStorageRedundancy\": \"Geo\"\r\n }\r\n },\r\n \"networkAclBypassResourceIds\": []\r\n },\r\n \"identity\": {\r\n \"type\": \"None\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/resourceGroups/nichatur/providers/Microsoft.DocumentDB/databaseAccounts/nihctaur-rbac\",\r\n \"name\": \"nihctaur-rbac\",\r\n \"location\": \"East US 2\",\r\n \"type\": \"Microsoft.DocumentDB/databaseAccounts\",\r\n \"kind\": \"GlobalDocumentDB\",\r\n \"tags\": {\r\n \"defaultExperience\": \"Core (SQL)\",\r\n \"Owner\": \"nichatur\",\r\n \"hidden-cosmos-mmspecial\": \"\",\r\n \"CosmosAccountType\": \"Non-Production\"\r\n },\r\n \"systemData\": {\r\n \"createdAt\": \"2020-09-02T00:21:32.8962997Z\"\r\n },\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"documentEndpoint\": \"https://nihctaur-rbac.documents-staging.windows-ppe.net:443/\",\r\n \"publicNetworkAccess\": \"Enabled\",\r\n \"enableAutomaticFailover\": false,\r\n \"enableMultipleWriteLocations\": false,\r\n \"enablePartitionKeyMonitor\": false,\r\n \"isVirtualNetworkFilterEnabled\": false,\r\n \"virtualNetworkRules\": [],\r\n \"EnabledApiTypes\": \"Sql\",\r\n \"disableKeyBasedMetadataWriteAccess\": false,\r\n \"enableFreeTier\": false,\r\n \"enableAnalyticalStorage\": false,\r\n \"analyticalStorageConfiguration\": null,\r\n \"instanceId\": \"d26c1a58-4dc4-4be2-9480-1539d4881c32\",\r\n \"createMode\": \"Default\",\r\n \"databaseAccountOfferType\": \"Standard\",\r\n \"enableCassandraConnector\": false,\r\n \"connectorOffer\": \"\",\r\n \"defaultIdentity\": \"\",\r\n \"networkAclBypass\": \"None\",\r\n \"consistencyPolicy\": {\r\n \"defaultConsistencyLevel\": \"Session\",\r\n \"maxIntervalInSeconds\": 5,\r\n \"maxStalenessPrefix\": 100\r\n },\r\n \"configurationOverrides\": {},\r\n \"writeLocations\": [\r\n {\r\n \"id\": \"nihctaur-rbac-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://nihctaur-rbac-eastus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"readLocations\": [\r\n {\r\n \"id\": \"nihctaur-rbac-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://nihctaur-rbac-eastus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"locations\": [\r\n {\r\n \"id\": \"nihctaur-rbac-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://nihctaur-rbac-eastus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"failoverPolicies\": [\r\n {\r\n \"id\": \"nihctaur-rbac-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"failoverPriority\": 0\r\n }\r\n ],\r\n \"cors\": [],\r\n \"capabilities\": [],\r\n \"ipRules\": [],\r\n \"backupPolicy\": {\r\n \"type\": \"Periodic\",\r\n \"periodicModeProperties\": {\r\n \"backupIntervalInMinutes\": 240,\r\n \"backupRetentionIntervalInHours\": 8,\r\n \"backupStorageRedundancy\": \"Geo\"\r\n }\r\n },\r\n \"networkAclBypassResourceIds\": []\r\n },\r\n \"identity\": {\r\n \"type\": \"None\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/resourceGroups/analytics/providers/Microsoft.DocumentDB/databaseAccounts/niupremongo\",\r\n \"name\": \"niupremongo\",\r\n \"location\": \"East US 2\",\r\n \"type\": \"Microsoft.DocumentDB/databaseAccounts\",\r\n \"kind\": \"MongoDB\",\r\n \"tags\": {\r\n \"defaultExperience\": \"Azure Cosmos DB for MongoDB API\",\r\n \"hidden-cosmos-mmspecial\": \"\",\r\n \"CosmosAccountType\": \"Non-Production\"\r\n },\r\n \"systemData\": {\r\n \"createdAt\": \"2020-05-01T22:34:09.7809699Z\"\r\n },\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"documentEndpoint\": \"https://niupremongo.documents-staging.windows-ppe.net:443/\",\r\n \"mongoEndpoint\": \"https://niupremongo.mongo.cosmos.windows-ppe.net:443/\",\r\n \"publicNetworkAccess\": \"Enabled\",\r\n \"enableAutomaticFailover\": false,\r\n \"enableMultipleWriteLocations\": false,\r\n \"enablePartitionKeyMonitor\": false,\r\n \"isVirtualNetworkFilterEnabled\": false,\r\n \"virtualNetworkRules\": [],\r\n \"EnabledApiTypes\": \"MongoDB\",\r\n \"disableKeyBasedMetadataWriteAccess\": false,\r\n \"enableFreeTier\": false,\r\n \"enableAnalyticalStorage\": false,\r\n \"analyticalStorageConfiguration\": null,\r\n \"instanceId\": \"57954b69-7623-4abf-bd0e-c68093d01158\",\r\n \"createMode\": \"Default\",\r\n \"databaseAccountOfferType\": \"Standard\",\r\n \"enableCassandraConnector\": false,\r\n \"connectorOffer\": \"\",\r\n \"defaultIdentity\": \"\",\r\n \"networkAclBypass\": \"None\",\r\n \"consistencyPolicy\": {\r\n \"defaultConsistencyLevel\": \"Session\",\r\n \"maxIntervalInSeconds\": 5,\r\n \"maxStalenessPrefix\": 100\r\n },\r\n \"apiProperties\": {\r\n \"serverVersion\": \"3.6\"\r\n },\r\n \"configurationOverrides\": {\r\n \"EnableBsonSchema\": \"True\"\r\n },\r\n \"writeLocations\": [\r\n {\r\n \"id\": \"niupremongo-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://niupremongo-eastus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"readLocations\": [\r\n {\r\n \"id\": \"niupremongo-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://niupremongo-eastus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"locations\": [\r\n {\r\n \"id\": \"niupremongo-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://niupremongo-eastus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"failoverPolicies\": [\r\n {\r\n \"id\": \"niupremongo-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"failoverPriority\": 0\r\n }\r\n ],\r\n \"cors\": [],\r\n \"capabilities\": [\r\n {\r\n \"name\": \"EnableStorageAnalytics\"\r\n },\r\n {\r\n \"name\": \"EnableMongo\"\r\n }\r\n ],\r\n \"ipRules\": [],\r\n \"backupPolicy\": {\r\n \"type\": \"Periodic\",\r\n \"periodicModeProperties\": {\r\n \"backupIntervalInMinutes\": 60,\r\n \"backupRetentionIntervalInHours\": 8,\r\n \"backupStorageRedundancy\": \"Geo\"\r\n }\r\n },\r\n \"networkAclBypassResourceIds\": []\r\n },\r\n \"identity\": {\r\n \"type\": \"None\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/resourceGroups/ramarag/providers/Microsoft.DocumentDB/databaseAccounts/stagenotebook\",\r\n \"name\": \"stagenotebook\",\r\n \"location\": \"East US 2\",\r\n \"type\": \"Microsoft.DocumentDB/databaseAccounts\",\r\n \"kind\": \"GlobalDocumentDB\",\r\n \"tags\": {\r\n \"defaultExperience\": \"Core (SQL)\"\r\n },\r\n \"systemData\": {\r\n \"createdAt\": \"2019-12-06T23:58:05.0813897Z\"\r\n },\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"documentEndpoint\": \"https://stagenotebook.documents-staging.windows-ppe.net:443/\",\r\n \"publicNetworkAccess\": \"Enabled\",\r\n \"enableAutomaticFailover\": false,\r\n \"enableMultipleWriteLocations\": false,\r\n \"enablePartitionKeyMonitor\": false,\r\n \"isVirtualNetworkFilterEnabled\": false,\r\n \"virtualNetworkRules\": [],\r\n \"EnabledApiTypes\": \"Sql\",\r\n \"disableKeyBasedMetadataWriteAccess\": false,\r\n \"enableFreeTier\": false,\r\n \"enableAnalyticalStorage\": false,\r\n \"analyticalStorageConfiguration\": null,\r\n \"instanceId\": \"0f49adfc-7109-41e2-b141-28759b2bfe0f\",\r\n \"createMode\": \"Default\",\r\n \"databaseAccountOfferType\": \"Standard\",\r\n \"enableCassandraConnector\": false,\r\n \"connectorOffer\": \"\",\r\n \"defaultIdentity\": \"\",\r\n \"networkAclBypass\": \"None\",\r\n \"consistencyPolicy\": {\r\n \"defaultConsistencyLevel\": \"Session\",\r\n \"maxIntervalInSeconds\": 5,\r\n \"maxStalenessPrefix\": 100\r\n },\r\n \"configurationOverrides\": {},\r\n \"writeLocations\": [\r\n {\r\n \"id\": \"stagenotebook-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://stagenotebook-eastus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"readLocations\": [\r\n {\r\n \"id\": \"stagenotebook-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://stagenotebook-eastus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"locations\": [\r\n {\r\n \"id\": \"stagenotebook-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://stagenotebook-eastus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"failoverPolicies\": [\r\n {\r\n \"id\": \"stagenotebook-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"failoverPriority\": 0\r\n }\r\n ],\r\n \"cors\": [],\r\n \"capabilities\": [],\r\n \"ipRules\": [],\r\n \"backupPolicy\": {\r\n \"type\": \"Periodic\",\r\n \"periodicModeProperties\": {\r\n \"backupIntervalInMinutes\": 60,\r\n \"backupRetentionIntervalInHours\": 8,\r\n \"backupStorageRedundancy\": \"Geo\"\r\n }\r\n },\r\n \"networkAclBypassResourceIds\": []\r\n },\r\n \"identity\": {\r\n \"type\": \"None\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/resourceGroups/shan/providers/Microsoft.DocumentDB/databaseAccounts/shan-stage-sql\",\r\n \"name\": \"shan-stage-sql\",\r\n \"location\": \"East US 2\",\r\n \"type\": \"Microsoft.DocumentDB/databaseAccounts\",\r\n \"kind\": \"GlobalDocumentDB\",\r\n \"tags\": {\r\n \"defaultExperience\": \"Core (SQL)\",\r\n \"hidden-cosmos-mmspecial\": \"\",\r\n \"CosmosAccountType\": \"Non-Production\"\r\n },\r\n \"systemData\": {\r\n \"createdAt\": \"2020-04-28T22:46:53.8467651Z\"\r\n },\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"documentEndpoint\": \"https://shan-stage-sql.documents-staging.windows-ppe.net:443/\",\r\n \"publicNetworkAccess\": \"Enabled\",\r\n \"enableAutomaticFailover\": false,\r\n \"enableMultipleWriteLocations\": false,\r\n \"enablePartitionKeyMonitor\": false,\r\n \"isVirtualNetworkFilterEnabled\": false,\r\n \"virtualNetworkRules\": [],\r\n \"EnabledApiTypes\": \"Sql\",\r\n \"disableKeyBasedMetadataWriteAccess\": false,\r\n \"enableFreeTier\": false,\r\n \"enableAnalyticalStorage\": false,\r\n \"analyticalStorageConfiguration\": null,\r\n \"instanceId\": \"14605a70-8cc5-465f-b5d1-f31dce6dc7d3\",\r\n \"createMode\": \"Default\",\r\n \"databaseAccountOfferType\": \"Standard\",\r\n \"enableCassandraConnector\": false,\r\n \"connectorOffer\": \"\",\r\n \"defaultIdentity\": \"\",\r\n \"networkAclBypass\": \"None\",\r\n \"consistencyPolicy\": {\r\n \"defaultConsistencyLevel\": \"Session\",\r\n \"maxIntervalInSeconds\": 5,\r\n \"maxStalenessPrefix\": 100\r\n },\r\n \"configurationOverrides\": {},\r\n \"writeLocations\": [\r\n {\r\n \"id\": \"shan-stage-sql-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://shan-stage-sql-eastus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"readLocations\": [\r\n {\r\n \"id\": \"shan-stage-sql-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://shan-stage-sql-eastus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"locations\": [\r\n {\r\n \"id\": \"shan-stage-sql-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://shan-stage-sql-eastus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"failoverPolicies\": [\r\n {\r\n \"id\": \"shan-stage-sql-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"failoverPriority\": 0\r\n }\r\n ],\r\n \"cors\": [],\r\n \"capabilities\": [\r\n {\r\n \"name\": \"EnableStorageAnalytics\"\r\n }\r\n ],\r\n \"ipRules\": [],\r\n \"backupPolicy\": {\r\n \"type\": \"Periodic\",\r\n \"periodicModeProperties\": {\r\n \"backupIntervalInMinutes\": 60,\r\n \"backupRetentionIntervalInHours\": 8,\r\n \"backupStorageRedundancy\": \"Geo\"\r\n }\r\n },\r\n \"networkAclBypassResourceIds\": []\r\n },\r\n \"identity\": {\r\n \"type\": \"None\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/resourceGroups/sukans/providers/Microsoft.DocumentDB/databaseAccounts/sukans-noownerid2\",\r\n \"name\": \"sukans-noownerid2\",\r\n \"location\": \"East US 2\",\r\n \"type\": \"Microsoft.DocumentDB/databaseAccounts\",\r\n \"kind\": \"GlobalDocumentDB\",\r\n \"tags\": {\r\n \"defaultExperience\": \"Core (SQL)\"\r\n },\r\n \"systemData\": {\r\n \"createdAt\": \"2019-04-13T03:35:33.6371883Z\"\r\n },\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"documentEndpoint\": \"https://sukans-noownerid2.documents-staging.windows-ppe.net:443/\",\r\n \"publicNetworkAccess\": \"Enabled\",\r\n \"enableAutomaticFailover\": false,\r\n \"enableMultipleWriteLocations\": false,\r\n \"enablePartitionKeyMonitor\": false,\r\n \"isVirtualNetworkFilterEnabled\": false,\r\n \"virtualNetworkRules\": [],\r\n \"EnabledApiTypes\": \"Sql\",\r\n \"disableKeyBasedMetadataWriteAccess\": false,\r\n \"enableFreeTier\": false,\r\n \"enableAnalyticalStorage\": false,\r\n \"analyticalStorageConfiguration\": null,\r\n \"instanceId\": \"b159c550-afa1-4280-951f-1786695c9531\",\r\n \"createMode\": \"Default\",\r\n \"databaseAccountOfferType\": \"Standard\",\r\n \"defaultIdentity\": \"\",\r\n \"networkAclBypass\": \"None\",\r\n \"consistencyPolicy\": {\r\n \"defaultConsistencyLevel\": \"Session\",\r\n \"maxIntervalInSeconds\": 5,\r\n \"maxStalenessPrefix\": 100\r\n },\r\n \"configurationOverrides\": {},\r\n \"writeLocations\": [\r\n {\r\n \"id\": \"sukans-noownerid2-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://sukans-noownerid2-eastus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"readLocations\": [\r\n {\r\n \"id\": \"sukans-noownerid2-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://sukans-noownerid2-eastus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"locations\": [\r\n {\r\n \"id\": \"sukans-noownerid2-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://sukans-noownerid2-eastus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"failoverPolicies\": [\r\n {\r\n \"id\": \"sukans-noownerid2-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"failoverPriority\": 0\r\n }\r\n ],\r\n \"cors\": [],\r\n \"capabilities\": [],\r\n \"ipRules\": [],\r\n \"backupPolicy\": {\r\n \"type\": \"Periodic\",\r\n \"periodicModeProperties\": {\r\n \"backupIntervalInMinutes\": 240,\r\n \"backupRetentionIntervalInHours\": 8,\r\n \"backupStorageRedundancy\": \"Geo\"\r\n }\r\n },\r\n \"networkAclBypassResourceIds\": []\r\n },\r\n \"identity\": {\r\n \"type\": \"None\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/resourceGroups/akgoe-test-rg/providers/Microsoft.DocumentDB/databaseAccounts/svless-akgoe-loadtest\",\r\n \"name\": \"svless-akgoe-loadtest\",\r\n \"location\": \"East US 2\",\r\n \"type\": \"Microsoft.DocumentDB/databaseAccounts\",\r\n \"kind\": \"GlobalDocumentDB\",\r\n \"tags\": {\r\n \"defaultExperience\": \"Core (SQL)\",\r\n \"hidden-cosmos-mmspecial\": \"\",\r\n \"CosmosAccountType\": \"Production\"\r\n },\r\n \"systemData\": {\r\n \"createdAt\": \"2020-09-11T00:20:04.6458198Z\"\r\n },\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"documentEndpoint\": \"https://svless-akgoe-loadtest.documents-staging.windows-ppe.net:443/\",\r\n \"publicNetworkAccess\": \"Enabled\",\r\n \"enableAutomaticFailover\": false,\r\n \"enableMultipleWriteLocations\": false,\r\n \"enablePartitionKeyMonitor\": false,\r\n \"isVirtualNetworkFilterEnabled\": false,\r\n \"virtualNetworkRules\": [],\r\n \"EnabledApiTypes\": \"Sql\",\r\n \"disableKeyBasedMetadataWriteAccess\": false,\r\n \"enableFreeTier\": false,\r\n \"enableAnalyticalStorage\": false,\r\n \"analyticalStorageConfiguration\": null,\r\n \"instanceId\": \"bdd6badb-8888-48ef-9a5f-85a1c3f468b1\",\r\n \"createMode\": \"Default\",\r\n \"databaseAccountOfferType\": \"Standard\",\r\n \"enableCassandraConnector\": false,\r\n \"connectorOffer\": \"\",\r\n \"defaultIdentity\": \"\",\r\n \"networkAclBypass\": \"None\",\r\n \"consistencyPolicy\": {\r\n \"defaultConsistencyLevel\": \"Session\",\r\n \"maxIntervalInSeconds\": 5,\r\n \"maxStalenessPrefix\": 100\r\n },\r\n \"configurationOverrides\": {},\r\n \"writeLocations\": [\r\n {\r\n \"id\": \"svless-akgoe-loadtest-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://svless-akgoe-loadtest-eastus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"readLocations\": [\r\n {\r\n \"id\": \"svless-akgoe-loadtest-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://svless-akgoe-loadtest-eastus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"locations\": [\r\n {\r\n \"id\": \"svless-akgoe-loadtest-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://svless-akgoe-loadtest-eastus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"failoverPolicies\": [\r\n {\r\n \"id\": \"svless-akgoe-loadtest-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"failoverPriority\": 0\r\n }\r\n ],\r\n \"cors\": [],\r\n \"capabilities\": [\r\n {\r\n \"name\": \"EnableServerless\"\r\n }\r\n ],\r\n \"ipRules\": [],\r\n \"backupPolicy\": {\r\n \"type\": \"Periodic\",\r\n \"periodicModeProperties\": {\r\n \"backupIntervalInMinutes\": 240,\r\n \"backupRetentionIntervalInHours\": 8,\r\n \"backupStorageRedundancy\": \"Geo\"\r\n }\r\n },\r\n \"networkAclBypassResourceIds\": []\r\n },\r\n \"identity\": {\r\n \"type\": \"None\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/resourceGroups/flnarenjrg/providers/Microsoft.DocumentDB/databaseAccounts/flnarenj-synstg\",\r\n \"name\": \"flnarenj-synstg\",\r\n \"location\": \"East US 2\",\r\n \"type\": \"Microsoft.DocumentDB/databaseAccounts\",\r\n \"kind\": \"GlobalDocumentDB\",\r\n \"tags\": {},\r\n \"systemData\": {\r\n \"createdAt\": \"2020-05-13T03:10:52.9843818Z\"\r\n },\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"documentEndpoint\": \"https://flnarenj-synstg.documents-staging.windows-ppe.net:443/\",\r\n \"publicNetworkAccess\": \"Enabled\",\r\n \"enableAutomaticFailover\": false,\r\n \"enableMultipleWriteLocations\": false,\r\n \"enablePartitionKeyMonitor\": false,\r\n \"isVirtualNetworkFilterEnabled\": false,\r\n \"virtualNetworkRules\": [],\r\n \"EnabledApiTypes\": \"Sql\",\r\n \"disableKeyBasedMetadataWriteAccess\": false,\r\n \"enableFreeTier\": false,\r\n \"enableAnalyticalStorage\": false,\r\n \"analyticalStorageConfiguration\": null,\r\n \"instanceId\": \"166aa099-e587-44d5-acdf-1fd5cce4bd6f\",\r\n \"createMode\": \"Default\",\r\n \"databaseAccountOfferType\": \"Standard\",\r\n \"enableCassandraConnector\": false,\r\n \"connectorOffer\": \"\",\r\n \"defaultIdentity\": \"\",\r\n \"networkAclBypass\": \"None\",\r\n \"consistencyPolicy\": {\r\n \"defaultConsistencyLevel\": \"Session\",\r\n \"maxIntervalInSeconds\": 5,\r\n \"maxStalenessPrefix\": 100\r\n },\r\n \"configurationOverrides\": {},\r\n \"writeLocations\": [\r\n {\r\n \"id\": \"flnarenj-synstg-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://flnarenj-synstg-eastus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"readLocations\": [\r\n {\r\n \"id\": \"flnarenj-synstg-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://flnarenj-synstg-eastus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"locations\": [\r\n {\r\n \"id\": \"flnarenj-synstg-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://flnarenj-synstg-eastus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"failoverPolicies\": [\r\n {\r\n \"id\": \"flnarenj-synstg-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"failoverPriority\": 0\r\n }\r\n ],\r\n \"cors\": [],\r\n \"capabilities\": [],\r\n \"ipRules\": [],\r\n \"backupPolicy\": {\r\n \"type\": \"Periodic\",\r\n \"periodicModeProperties\": {\r\n \"backupIntervalInMinutes\": 60,\r\n \"backupRetentionIntervalInHours\": 8,\r\n \"backupStorageRedundancy\": \"Geo\"\r\n }\r\n },\r\n \"networkAclBypassResourceIds\": []\r\n },\r\n \"identity\": {\r\n \"type\": \"None\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/resourceGroups/ramarag/providers/Microsoft.DocumentDB/databaseAccounts/ramaragtest\",\r\n \"name\": \"ramaragtest\",\r\n \"location\": \"East US 2\",\r\n \"type\": \"Microsoft.DocumentDB/databaseAccounts\",\r\n \"kind\": \"GlobalDocumentDB\",\r\n \"tags\": {\r\n \"defaultExperience\": \"Core (SQL)\"\r\n },\r\n \"systemData\": {\r\n \"createdAt\": \"2019-09-07T01:44:15.0714222Z\"\r\n },\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"documentEndpoint\": \"https://ramaragtest.documents-staging.windows-ppe.net:443/\",\r\n \"publicNetworkAccess\": \"Enabled\",\r\n \"enableAutomaticFailover\": false,\r\n \"enableMultipleWriteLocations\": false,\r\n \"enablePartitionKeyMonitor\": false,\r\n \"isVirtualNetworkFilterEnabled\": false,\r\n \"virtualNetworkRules\": [],\r\n \"EnabledApiTypes\": \"Sql\",\r\n \"disableKeyBasedMetadataWriteAccess\": false,\r\n \"enableFreeTier\": false,\r\n \"enableAnalyticalStorage\": false,\r\n \"analyticalStorageConfiguration\": null,\r\n \"instanceId\": \"81c1c70c-0f23-4c74-aa9a-32c5fbbf7949\",\r\n \"createMode\": \"Default\",\r\n \"databaseAccountOfferType\": \"Standard\",\r\n \"enableCassandraConnector\": false,\r\n \"connectorOffer\": \"\",\r\n \"defaultIdentity\": \"\",\r\n \"networkAclBypass\": \"None\",\r\n \"consistencyPolicy\": {\r\n \"defaultConsistencyLevel\": \"Session\",\r\n \"maxIntervalInSeconds\": 5,\r\n \"maxStalenessPrefix\": 100\r\n },\r\n \"configurationOverrides\": {},\r\n \"writeLocations\": [\r\n {\r\n \"id\": \"ramaragtest-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://ramaragtest-eastus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"readLocations\": [\r\n {\r\n \"id\": \"ramaragtest-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://ramaragtest-eastus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"locations\": [\r\n {\r\n \"id\": \"ramaragtest-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://ramaragtest-eastus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"failoverPolicies\": [\r\n {\r\n \"id\": \"ramaragtest-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"failoverPriority\": 0\r\n }\r\n ],\r\n \"cors\": [],\r\n \"capabilities\": [],\r\n \"ipRules\": [],\r\n \"backupPolicy\": {\r\n \"type\": \"Periodic\",\r\n \"periodicModeProperties\": {\r\n \"backupIntervalInMinutes\": 240,\r\n \"backupRetentionIntervalInHours\": 8,\r\n \"backupStorageRedundancy\": \"Geo\"\r\n }\r\n },\r\n \"networkAclBypassResourceIds\": []\r\n },\r\n \"identity\": {\r\n \"type\": \"None\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/resourceGroups/sahurd/providers/Microsoft.DocumentDB/databaseAccounts/sahurd-add\",\r\n \"name\": \"sahurd-add\",\r\n \"location\": \"East US 2\",\r\n \"type\": \"Microsoft.DocumentDB/databaseAccounts\",\r\n \"kind\": \"GlobalDocumentDB\",\r\n \"tags\": {},\r\n \"systemData\": {\r\n \"createdAt\": \"2020-05-20T23:50:06.809231Z\"\r\n },\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"documentEndpoint\": \"https://sahurd-add.documents-staging.windows-ppe.net:443/\",\r\n \"publicNetworkAccess\": \"Enabled\",\r\n \"enableAutomaticFailover\": false,\r\n \"enableMultipleWriteLocations\": false,\r\n \"enablePartitionKeyMonitor\": false,\r\n \"isVirtualNetworkFilterEnabled\": false,\r\n \"virtualNetworkRules\": [],\r\n \"EnabledApiTypes\": \"Sql\",\r\n \"disableKeyBasedMetadataWriteAccess\": false,\r\n \"enableFreeTier\": false,\r\n \"enableAnalyticalStorage\": false,\r\n \"analyticalStorageConfiguration\": null,\r\n \"instanceId\": \"bc07ccb2-e90c-46a7-9e6b-ce5461455a4c\",\r\n \"createMode\": \"Default\",\r\n \"databaseAccountOfferType\": \"Standard\",\r\n \"enableCassandraConnector\": false,\r\n \"connectorOffer\": \"\",\r\n \"defaultIdentity\": \"\",\r\n \"networkAclBypass\": \"None\",\r\n \"consistencyPolicy\": {\r\n \"defaultConsistencyLevel\": \"Session\",\r\n \"maxIntervalInSeconds\": 5,\r\n \"maxStalenessPrefix\": 100\r\n },\r\n \"configurationOverrides\": {},\r\n \"writeLocations\": [\r\n {\r\n \"id\": \"sahurd-add-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://sahurd-add-eastus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"readLocations\": [\r\n {\r\n \"id\": \"sahurd-add-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://sahurd-add-eastus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n },\r\n {\r\n \"id\": \"sahurd-add-northcentralus\",\r\n \"locationName\": \"North Central US\",\r\n \"documentEndpoint\": \"https://sahurd-add-northcentralus.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 1,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"locations\": [\r\n {\r\n \"id\": \"sahurd-add-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://sahurd-add-eastus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n },\r\n {\r\n \"id\": \"sahurd-add-northcentralus\",\r\n \"locationName\": \"North Central US\",\r\n \"documentEndpoint\": \"https://sahurd-add-northcentralus.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 1,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"failoverPolicies\": [\r\n {\r\n \"id\": \"sahurd-add-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"failoverPriority\": 0\r\n },\r\n {\r\n \"id\": \"sahurd-add-northcentralus\",\r\n \"locationName\": \"North Central US\",\r\n \"failoverPriority\": 1\r\n }\r\n ],\r\n \"cors\": [],\r\n \"capabilities\": [],\r\n \"ipRules\": [],\r\n \"backupPolicy\": {\r\n \"type\": \"Periodic\",\r\n \"periodicModeProperties\": {\r\n \"backupIntervalInMinutes\": 60,\r\n \"backupRetentionIntervalInHours\": 8,\r\n \"backupStorageRedundancy\": \"Geo\"\r\n }\r\n },\r\n \"networkAclBypassResourceIds\": []\r\n },\r\n \"identity\": {\r\n \"type\": \"None\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/resourceGroups/shreystagetest/providers/Microsoft.DocumentDB/databaseAccounts/shreyeast\",\r\n \"name\": \"shreyeast\",\r\n \"location\": \"East US 2\",\r\n \"type\": \"Microsoft.DocumentDB/databaseAccounts\",\r\n \"kind\": \"GlobalDocumentDB\",\r\n \"tags\": {\r\n \"defaultExperience\": \"Core (SQL)\",\r\n \"hidden-cosmos-mmspecial\": \"\",\r\n \"CosmosAccountType\": \"Non-Production\"\r\n },\r\n \"systemData\": {\r\n \"createdAt\": \"2020-06-26T19:01:55.5386899Z\"\r\n },\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"documentEndpoint\": \"https://shreyeast.documents-staging.windows-ppe.net:443/\",\r\n \"publicNetworkAccess\": \"Enabled\",\r\n \"enableAutomaticFailover\": false,\r\n \"enableMultipleWriteLocations\": false,\r\n \"enablePartitionKeyMonitor\": false,\r\n \"isVirtualNetworkFilterEnabled\": false,\r\n \"virtualNetworkRules\": [],\r\n \"EnabledApiTypes\": \"Sql\",\r\n \"disableKeyBasedMetadataWriteAccess\": false,\r\n \"enableFreeTier\": false,\r\n \"enableAnalyticalStorage\": false,\r\n \"analyticalStorageConfiguration\": null,\r\n \"instanceId\": \"b80fbcbf-b8a8-44f5-84c4-408669f2c8f3\",\r\n \"createMode\": \"Default\",\r\n \"databaseAccountOfferType\": \"Standard\",\r\n \"enableCassandraConnector\": false,\r\n \"connectorOffer\": \"\",\r\n \"defaultIdentity\": \"\",\r\n \"networkAclBypass\": \"None\",\r\n \"consistencyPolicy\": {\r\n \"defaultConsistencyLevel\": \"Session\",\r\n \"maxIntervalInSeconds\": 5,\r\n \"maxStalenessPrefix\": 100\r\n },\r\n \"configurationOverrides\": {},\r\n \"writeLocations\": [\r\n {\r\n \"id\": \"shreyeast-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://shreyeast-eastus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"readLocations\": [\r\n {\r\n \"id\": \"shreyeast-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://shreyeast-eastus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"locations\": [\r\n {\r\n \"id\": \"shreyeast-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://shreyeast-eastus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"failoverPolicies\": [\r\n {\r\n \"id\": \"shreyeast-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"failoverPriority\": 0\r\n }\r\n ],\r\n \"cors\": [],\r\n \"capabilities\": [],\r\n \"ipRules\": [],\r\n \"backupPolicy\": {\r\n \"type\": \"Periodic\",\r\n \"periodicModeProperties\": {\r\n \"backupIntervalInMinutes\": 60,\r\n \"backupRetentionIntervalInHours\": 8,\r\n \"backupStorageRedundancy\": \"Geo\"\r\n }\r\n },\r\n \"networkAclBypassResourceIds\": []\r\n },\r\n \"identity\": {\r\n \"type\": \"None\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/resourceGroups/abinav_stage_rg/providers/Microsoft.DocumentDB/databaseAccounts/sarguptestdup\",\r\n \"name\": \"sarguptestdup\",\r\n \"location\": \"East US 2\",\r\n \"type\": \"Microsoft.DocumentDB/databaseAccounts\",\r\n \"kind\": \"GlobalDocumentDB\",\r\n \"tags\": {\r\n \"defaultExperience\": \"Core (SQL)\"\r\n },\r\n \"systemData\": {\r\n \"createdAt\": \"2019-10-24T18:14:24.8352176Z\"\r\n },\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"documentEndpoint\": \"https://sarguptestdup.documents-staging.windows-ppe.net:443/\",\r\n \"publicNetworkAccess\": \"Enabled\",\r\n \"enableAutomaticFailover\": false,\r\n \"enableMultipleWriteLocations\": false,\r\n \"enablePartitionKeyMonitor\": false,\r\n \"isVirtualNetworkFilterEnabled\": false,\r\n \"virtualNetworkRules\": [],\r\n \"EnabledApiTypes\": \"Sql\",\r\n \"disableKeyBasedMetadataWriteAccess\": false,\r\n \"enableFreeTier\": false,\r\n \"enableAnalyticalStorage\": false,\r\n \"analyticalStorageConfiguration\": null,\r\n \"instanceId\": \"7c2df87b-f0dd-464f-b0d6-00e1a1626bc6\",\r\n \"createMode\": \"Default\",\r\n \"databaseAccountOfferType\": \"Standard\",\r\n \"enableCassandraConnector\": false,\r\n \"connectorOffer\": \"\",\r\n \"defaultIdentity\": \"\",\r\n \"networkAclBypass\": \"None\",\r\n \"consistencyPolicy\": {\r\n \"defaultConsistencyLevel\": \"Session\",\r\n \"maxIntervalInSeconds\": 5,\r\n \"maxStalenessPrefix\": 100\r\n },\r\n \"configurationOverrides\": {},\r\n \"writeLocations\": [\r\n {\r\n \"id\": \"sarguptestdup-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://sarguptestdup-eastus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"readLocations\": [\r\n {\r\n \"id\": \"sarguptestdup-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://sarguptestdup-eastus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n },\r\n {\r\n \"id\": \"sarguptestdup-southeastasia\",\r\n \"locationName\": \"Southeast Asia\",\r\n \"documentEndpoint\": \"https://sarguptestdup-southeastasia.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 1,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"locations\": [\r\n {\r\n \"id\": \"sarguptestdup-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://sarguptestdup-eastus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n },\r\n {\r\n \"id\": \"sarguptestdup-southeastasia\",\r\n \"locationName\": \"Southeast Asia\",\r\n \"documentEndpoint\": \"https://sarguptestdup-southeastasia.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 1,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"failoverPolicies\": [\r\n {\r\n \"id\": \"sarguptestdup-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"failoverPriority\": 0\r\n },\r\n {\r\n \"id\": \"sarguptestdup-southeastasia\",\r\n \"locationName\": \"Southeast Asia\",\r\n \"failoverPriority\": 1\r\n }\r\n ],\r\n \"cors\": [],\r\n \"capabilities\": [],\r\n \"ipRules\": [],\r\n \"backupPolicy\": {\r\n \"type\": \"Periodic\",\r\n \"periodicModeProperties\": {\r\n \"backupIntervalInMinutes\": 5,\r\n \"backupRetentionIntervalInHours\": 8,\r\n \"backupStorageRedundancy\": \"Geo\"\r\n }\r\n },\r\n \"networkAclBypassResourceIds\": []\r\n },\r\n \"identity\": {\r\n \"type\": \"None\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/resourceGroups/shtan-stage-signoff/providers/Microsoft.DocumentDB/databaseAccounts/shtantestbackuphold-r1\",\r\n \"name\": \"shtantestbackuphold-r1\",\r\n \"location\": \"East US 2\",\r\n \"type\": \"Microsoft.DocumentDB/databaseAccounts\",\r\n \"kind\": \"GlobalDocumentDB\",\r\n \"tags\": {\r\n \"defaultExperience\": \"Core (SQL)\",\r\n \"hidden-cosmos-mmspecial\": \"\",\r\n \"CosmosAccountType\": \"Non-Production\",\r\n \"restoredSourceDatabaseAccountName\": \"shtantestbackuphold\",\r\n \"restoredAtTimestamp\": \"8/21/2020 4:22:32 PM\"\r\n },\r\n \"systemData\": {\r\n \"createdAt\": \"2020-08-21T16:28:47.888126Z\"\r\n },\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"documentEndpoint\": \"https://shtantestbackuphold-r1.documents-staging.windows-ppe.net:443/\",\r\n \"publicNetworkAccess\": \"Enabled\",\r\n \"enableAutomaticFailover\": false,\r\n \"enableMultipleWriteLocations\": false,\r\n \"enablePartitionKeyMonitor\": false,\r\n \"isVirtualNetworkFilterEnabled\": false,\r\n \"virtualNetworkRules\": [],\r\n \"EnabledApiTypes\": \"Sql\",\r\n \"disableKeyBasedMetadataWriteAccess\": false,\r\n \"enableFreeTier\": false,\r\n \"enableAnalyticalStorage\": false,\r\n \"analyticalStorageConfiguration\": null,\r\n \"instanceId\": \"3f41e8de-31f3-4048-b6b7-ef06c0cc9c71\",\r\n \"createMode\": \"Restore\",\r\n \"databaseAccountOfferType\": \"Standard\",\r\n \"enableCassandraConnector\": false,\r\n \"defaultIdentity\": \"\",\r\n \"networkAclBypass\": \"None\",\r\n \"consistencyPolicy\": {\r\n \"defaultConsistencyLevel\": \"Session\",\r\n \"maxIntervalInSeconds\": 5,\r\n \"maxStalenessPrefix\": 100\r\n },\r\n \"configurationOverrides\": {},\r\n \"writeLocations\": [\r\n {\r\n \"id\": \"shtantestbackuphold-r1-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://shtantestbackuphold-r1-eastus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"readLocations\": [\r\n {\r\n \"id\": \"shtantestbackuphold-r1-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://shtantestbackuphold-r1-eastus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"locations\": [\r\n {\r\n \"id\": \"shtantestbackuphold-r1-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://shtantestbackuphold-r1-eastus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"failoverPolicies\": [\r\n {\r\n \"id\": \"shtantestbackuphold-r1-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"failoverPriority\": 0\r\n }\r\n ],\r\n \"cors\": [],\r\n \"capabilities\": [],\r\n \"ipRules\": [],\r\n \"backupPolicy\": {\r\n \"type\": \"Periodic\",\r\n \"periodicModeProperties\": {\r\n \"backupIntervalInMinutes\": 240,\r\n \"backupRetentionIntervalInHours\": 8,\r\n \"backupStorageRedundancy\": \"Geo\"\r\n }\r\n },\r\n \"restoreParameters\": {\r\n \"restoreMode\": \"PointInTime\",\r\n \"restoreSource\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/providers/Microsoft.DocumentDB/locations//restorableDatabaseAccounts/\",\r\n \"restoreTimestampInUtc\": \"2020-08-21T16:22:25Z\"\r\n },\r\n \"networkAclBypassResourceIds\": []\r\n },\r\n \"identity\": {\r\n \"type\": \"None\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/resourceGroups/sdk-ci/providers/Microsoft.DocumentDB/databaseAccounts/java-async-multimaster-signoff-2\",\r\n \"name\": \"java-async-multimaster-signoff-2\",\r\n \"location\": \"East US 2\",\r\n \"type\": \"Microsoft.DocumentDB/databaseAccounts\",\r\n \"kind\": \"GlobalDocumentDB\",\r\n \"tags\": {\r\n \"defaultExperience\": \"Core (SQL)\",\r\n \"hidden-cosmos-mmspecial\": \"\",\r\n \"CosmosAccountType\": \"Non-Production\"\r\n },\r\n \"systemData\": {\r\n \"createdAt\": \"2020-06-27T00:37:01.9141202Z\"\r\n },\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"documentEndpoint\": \"https://java-async-multimaster-signoff-2.documents-staging.windows-ppe.net:443/\",\r\n \"publicNetworkAccess\": \"Enabled\",\r\n \"enableAutomaticFailover\": false,\r\n \"enableMultipleWriteLocations\": true,\r\n \"enablePartitionKeyMonitor\": false,\r\n \"isVirtualNetworkFilterEnabled\": false,\r\n \"virtualNetworkRules\": [],\r\n \"EnabledApiTypes\": \"Sql\",\r\n \"disableKeyBasedMetadataWriteAccess\": false,\r\n \"enableFreeTier\": false,\r\n \"enableAnalyticalStorage\": false,\r\n \"analyticalStorageConfiguration\": null,\r\n \"instanceId\": \"0e85eb36-3428-4e0f-a381-b236d310408b\",\r\n \"createMode\": \"Default\",\r\n \"databaseAccountOfferType\": \"Standard\",\r\n \"enableCassandraConnector\": false,\r\n \"connectorOffer\": \"\",\r\n \"defaultIdentity\": \"\",\r\n \"networkAclBypass\": \"None\",\r\n \"consistencyPolicy\": {\r\n \"defaultConsistencyLevel\": \"Session\",\r\n \"maxIntervalInSeconds\": 5,\r\n \"maxStalenessPrefix\": 100\r\n },\r\n \"configurationOverrides\": {},\r\n \"writeLocations\": [\r\n {\r\n \"id\": \"java-async-multimaster-signoff-2-southeastasia\",\r\n \"locationName\": \"Southeast Asia\",\r\n \"documentEndpoint\": \"https://java-async-multimaster-signoff-2-southeastasia.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n },\r\n {\r\n \"id\": \"java-async-multimaster-signoff-2-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://java-async-multimaster-signoff-2-eastus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 1,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"readLocations\": [\r\n {\r\n \"id\": \"java-async-multimaster-signoff-2-southeastasia\",\r\n \"locationName\": \"Southeast Asia\",\r\n \"documentEndpoint\": \"https://java-async-multimaster-signoff-2-southeastasia.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n },\r\n {\r\n \"id\": \"java-async-multimaster-signoff-2-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://java-async-multimaster-signoff-2-eastus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 1,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"locations\": [\r\n {\r\n \"id\": \"java-async-multimaster-signoff-2-southeastasia\",\r\n \"locationName\": \"Southeast Asia\",\r\n \"documentEndpoint\": \"https://java-async-multimaster-signoff-2-southeastasia.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n },\r\n {\r\n \"id\": \"java-async-multimaster-signoff-2-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://java-async-multimaster-signoff-2-eastus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 1,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"failoverPolicies\": [\r\n {\r\n \"id\": \"java-async-multimaster-signoff-2-southeastasia\",\r\n \"locationName\": \"Southeast Asia\",\r\n \"failoverPriority\": 0\r\n },\r\n {\r\n \"id\": \"java-async-multimaster-signoff-2-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"failoverPriority\": 1\r\n }\r\n ],\r\n \"cors\": [],\r\n \"capabilities\": [],\r\n \"ipRules\": [],\r\n \"backupPolicy\": {\r\n \"type\": \"Periodic\",\r\n \"periodicModeProperties\": {\r\n \"backupIntervalInMinutes\": 60,\r\n \"backupRetentionIntervalInHours\": 8,\r\n \"backupStorageRedundancy\": \"Geo\"\r\n }\r\n },\r\n \"networkAclBypassResourceIds\": []\r\n },\r\n \"identity\": {\r\n \"type\": \"None\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/resourceGroups/srnara-signoff/providers/Microsoft.DocumentDB/databaseAccounts/srnara-signoff\",\r\n \"name\": \"srnara-signoff\",\r\n \"location\": \"East US 2\",\r\n \"type\": \"Microsoft.DocumentDB/databaseAccounts\",\r\n \"kind\": \"GlobalDocumentDB\",\r\n \"tags\": {\r\n \"defaultExperience\": \"Core (SQL)\",\r\n \"hidden-cosmos-mmspecial\": \"\",\r\n \"CosmosAccountType\": \"Non-Production\"\r\n },\r\n \"systemData\": {\r\n \"createdAt\": \"2020-09-24T21:18:49.2688221Z\"\r\n },\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"documentEndpoint\": \"https://srnara-signoff.documents-staging.windows-ppe.net:443/\",\r\n \"publicNetworkAccess\": \"Enabled\",\r\n \"enableAutomaticFailover\": false,\r\n \"enableMultipleWriteLocations\": false,\r\n \"enablePartitionKeyMonitor\": false,\r\n \"isVirtualNetworkFilterEnabled\": false,\r\n \"virtualNetworkRules\": [],\r\n \"EnabledApiTypes\": \"Sql\",\r\n \"disableKeyBasedMetadataWriteAccess\": false,\r\n \"enableFreeTier\": false,\r\n \"enableAnalyticalStorage\": false,\r\n \"analyticalStorageConfiguration\": null,\r\n \"instanceId\": \"c47fbbe5-0ad5-441b-8d83-3c110cf6d38d\",\r\n \"createMode\": \"Default\",\r\n \"databaseAccountOfferType\": \"Standard\",\r\n \"enableCassandraConnector\": false,\r\n \"connectorOffer\": \"\",\r\n \"defaultIdentity\": \"\",\r\n \"networkAclBypass\": \"None\",\r\n \"consistencyPolicy\": {\r\n \"defaultConsistencyLevel\": \"ConsistentPrefix\",\r\n \"maxIntervalInSeconds\": 5,\r\n \"maxStalenessPrefix\": 100\r\n },\r\n \"configurationOverrides\": {},\r\n \"writeLocations\": [\r\n {\r\n \"id\": \"srnara-signoff-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://srnara-signoff-eastus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"readLocations\": [\r\n {\r\n \"id\": \"srnara-signoff-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://srnara-signoff-eastus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"locations\": [\r\n {\r\n \"id\": \"srnara-signoff-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://srnara-signoff-eastus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"failoverPolicies\": [\r\n {\r\n \"id\": \"srnara-signoff-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"failoverPriority\": 0\r\n }\r\n ],\r\n \"cors\": [],\r\n \"capabilities\": [],\r\n \"ipRules\": [],\r\n \"backupPolicy\": {\r\n \"type\": \"Periodic\",\r\n \"periodicModeProperties\": {\r\n \"backupIntervalInMinutes\": 240,\r\n \"backupRetentionIntervalInHours\": 8,\r\n \"backupStorageRedundancy\": \"Geo\"\r\n }\r\n },\r\n \"networkAclBypassResourceIds\": []\r\n },\r\n \"identity\": {\r\n \"type\": \"None\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/resourceGroups/mekaushi/providers/Microsoft.DocumentDB/databaseAccounts/table-yid5img5ochq6\",\r\n \"name\": \"table-yid5img5ochq6\",\r\n \"location\": \"East US 2\",\r\n \"type\": \"Microsoft.DocumentDB/databaseAccounts\",\r\n \"kind\": \"GlobalDocumentDB\",\r\n \"tags\": {},\r\n \"systemData\": {\r\n \"createdAt\": \"2020-05-16T01:36:14.9005044Z\"\r\n },\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"documentEndpoint\": \"https://table-yid5img5ochq6.documents-staging.windows-ppe.net:443/\",\r\n \"tableEndpoint\": \"https://table-yid5img5ochq6.table.cosmos.windows-ppe.net:443/\",\r\n \"publicNetworkAccess\": \"Enabled\",\r\n \"enableAutomaticFailover\": true,\r\n \"enableMultipleWriteLocations\": false,\r\n \"enablePartitionKeyMonitor\": false,\r\n \"isVirtualNetworkFilterEnabled\": false,\r\n \"virtualNetworkRules\": [],\r\n \"EnabledApiTypes\": \"Table, Sql\",\r\n \"disableKeyBasedMetadataWriteAccess\": false,\r\n \"enableFreeTier\": false,\r\n \"enableAnalyticalStorage\": false,\r\n \"analyticalStorageConfiguration\": null,\r\n \"instanceId\": \"3d7ea172-3b18-4dd2-bb15-a32b0f446d1b\",\r\n \"createMode\": \"Default\",\r\n \"databaseAccountOfferType\": \"Standard\",\r\n \"enableCassandraConnector\": false,\r\n \"connectorOffer\": \"\",\r\n \"defaultIdentity\": \"\",\r\n \"networkAclBypass\": \"None\",\r\n \"consistencyPolicy\": {\r\n \"defaultConsistencyLevel\": \"Session\",\r\n \"maxIntervalInSeconds\": 5,\r\n \"maxStalenessPrefix\": 100\r\n },\r\n \"configurationOverrides\": {},\r\n \"writeLocations\": [\r\n {\r\n \"id\": \"table-yid5img5ochq6-westus2\",\r\n \"locationName\": \"West US 2\",\r\n \"documentEndpoint\": \"https://table-yid5img5ochq6-westus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"readLocations\": [\r\n {\r\n \"id\": \"table-yid5img5ochq6-westus2\",\r\n \"locationName\": \"West US 2\",\r\n \"documentEndpoint\": \"https://table-yid5img5ochq6-westus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n },\r\n {\r\n \"id\": \"table-yid5img5ochq6-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://table-yid5img5ochq6-eastus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 1,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"locations\": [\r\n {\r\n \"id\": \"table-yid5img5ochq6-westus2\",\r\n \"locationName\": \"West US 2\",\r\n \"documentEndpoint\": \"https://table-yid5img5ochq6-westus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n },\r\n {\r\n \"id\": \"table-yid5img5ochq6-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://table-yid5img5ochq6-eastus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 1,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"failoverPolicies\": [\r\n {\r\n \"id\": \"table-yid5img5ochq6-westus2\",\r\n \"locationName\": \"West US 2\",\r\n \"failoverPriority\": 0\r\n },\r\n {\r\n \"id\": \"table-yid5img5ochq6-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"failoverPriority\": 1\r\n }\r\n ],\r\n \"cors\": [],\r\n \"capabilities\": [\r\n {\r\n \"name\": \"EnableTable\"\r\n }\r\n ],\r\n \"ipRules\": [],\r\n \"backupPolicy\": {\r\n \"type\": \"Periodic\",\r\n \"periodicModeProperties\": {\r\n \"backupIntervalInMinutes\": 60,\r\n \"backupRetentionIntervalInHours\": 8,\r\n \"backupStorageRedundancy\": \"Geo\"\r\n }\r\n },\r\n \"networkAclBypassResourceIds\": []\r\n },\r\n \"identity\": {\r\n \"type\": \"None\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/resourceGroups/tamitta/providers/Microsoft.DocumentDB/databaseAccounts/tamitta-stage-mongo-36\",\r\n \"name\": \"tamitta-stage-mongo-36\",\r\n \"location\": \"East US 2\",\r\n \"type\": \"Microsoft.DocumentDB/databaseAccounts\",\r\n \"kind\": \"MongoDB\",\r\n \"tags\": {\r\n \"defaultExperience\": \"Azure Cosmos DB for MongoDB API\",\r\n \"hidden-cosmos-mmspecial\": \"\",\r\n \"CosmosAccountType\": \"Non-Production\"\r\n },\r\n \"systemData\": {\r\n \"createdAt\": \"2020-07-24T18:10:52.2983364Z\"\r\n },\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"documentEndpoint\": \"https://tamitta-stage-mongo-36.documents-staging.windows-ppe.net:443/\",\r\n \"mongoEndpoint\": \"https://tamitta-stage-mongo-36.mongo.cosmos.windows-ppe.net:443/\",\r\n \"publicNetworkAccess\": \"Enabled\",\r\n \"enableAutomaticFailover\": false,\r\n \"enableMultipleWriteLocations\": false,\r\n \"enablePartitionKeyMonitor\": false,\r\n \"isVirtualNetworkFilterEnabled\": false,\r\n \"virtualNetworkRules\": [],\r\n \"EnabledApiTypes\": \"MongoDB\",\r\n \"disableKeyBasedMetadataWriteAccess\": false,\r\n \"enableFreeTier\": false,\r\n \"enableAnalyticalStorage\": false,\r\n \"analyticalStorageConfiguration\": null,\r\n \"instanceId\": \"635d469b-0dfa-49d6-bd0f-c77969134ac1\",\r\n \"createMode\": \"Default\",\r\n \"databaseAccountOfferType\": \"Standard\",\r\n \"enableCassandraConnector\": false,\r\n \"connectorOffer\": \"\",\r\n \"defaultIdentity\": \"\",\r\n \"networkAclBypass\": \"None\",\r\n \"consistencyPolicy\": {\r\n \"defaultConsistencyLevel\": \"Session\",\r\n \"maxIntervalInSeconds\": 5,\r\n \"maxStalenessPrefix\": 100\r\n },\r\n \"apiProperties\": {\r\n \"serverVersion\": \"3.6\"\r\n },\r\n \"configurationOverrides\": {\r\n \"EnableBsonSchema\": \"True\"\r\n },\r\n \"writeLocations\": [\r\n {\r\n \"id\": \"tamitta-stage-mongo-36-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://tamitta-stage-mongo-36-eastus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"readLocations\": [\r\n {\r\n \"id\": \"tamitta-stage-mongo-36-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://tamitta-stage-mongo-36-eastus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"locations\": [\r\n {\r\n \"id\": \"tamitta-stage-mongo-36-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://tamitta-stage-mongo-36-eastus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"failoverPolicies\": [\r\n {\r\n \"id\": \"tamitta-stage-mongo-36-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"failoverPriority\": 0\r\n }\r\n ],\r\n \"cors\": [],\r\n \"capabilities\": [\r\n {\r\n \"name\": \"EnableMongo\"\r\n },\r\n {\r\n \"name\": \"DisableRateLimitingResponses\"\r\n }\r\n ],\r\n \"ipRules\": [],\r\n \"backupPolicy\": {\r\n \"type\": \"Periodic\",\r\n \"periodicModeProperties\": {\r\n \"backupIntervalInMinutes\": 240,\r\n \"backupRetentionIntervalInHours\": 8,\r\n \"backupStorageRedundancy\": \"Geo\"\r\n }\r\n },\r\n \"networkAclBypassResourceIds\": []\r\n },\r\n \"identity\": {\r\n \"type\": \"None\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/resourceGroups/ash/providers/Microsoft.DocumentDB/databaseAccounts/test-table-df\",\r\n \"name\": \"test-table-df\",\r\n \"location\": \"East US 2\",\r\n \"type\": \"Microsoft.DocumentDB/databaseAccounts\",\r\n \"kind\": \"GlobalDocumentDB\",\r\n \"tags\": {\r\n \"defaultExperience\": \"Azure Table\"\r\n },\r\n \"systemData\": {\r\n \"createdAt\": \"2019-06-07T00:35:59.9666094Z\"\r\n },\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"documentEndpoint\": \"https://test-table-df.documents-staging.windows-ppe.net:443/\",\r\n \"tableEndpoint\": \"https://test-table-df.table.cosmos.windows-ppe.net:443/\",\r\n \"publicNetworkAccess\": \"Enabled\",\r\n \"enableAutomaticFailover\": false,\r\n \"enableMultipleWriteLocations\": false,\r\n \"enablePartitionKeyMonitor\": false,\r\n \"isVirtualNetworkFilterEnabled\": false,\r\n \"virtualNetworkRules\": [],\r\n \"EnabledApiTypes\": \"Table, Sql\",\r\n \"disableKeyBasedMetadataWriteAccess\": false,\r\n \"enableFreeTier\": false,\r\n \"enableAnalyticalStorage\": false,\r\n \"analyticalStorageConfiguration\": null,\r\n \"instanceId\": \"a8ee5685-175e-47c6-89ba-e0f1fa5b2ce8\",\r\n \"createMode\": \"Default\",\r\n \"databaseAccountOfferType\": \"Standard\",\r\n \"defaultIdentity\": \"\",\r\n \"networkAclBypass\": \"None\",\r\n \"consistencyPolicy\": {\r\n \"defaultConsistencyLevel\": \"BoundedStaleness\",\r\n \"maxIntervalInSeconds\": 86400,\r\n \"maxStalenessPrefix\": 1000000\r\n },\r\n \"configurationOverrides\": {},\r\n \"writeLocations\": [\r\n {\r\n \"id\": \"test-table-df-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://test-table-df-eastus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"readLocations\": [\r\n {\r\n \"id\": \"test-table-df-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://test-table-df-eastus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"locations\": [\r\n {\r\n \"id\": \"test-table-df-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://test-table-df-eastus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"failoverPolicies\": [\r\n {\r\n \"id\": \"test-table-df-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"failoverPriority\": 0\r\n }\r\n ],\r\n \"cors\": [],\r\n \"capabilities\": [\r\n {\r\n \"name\": \"EnableTable\"\r\n }\r\n ],\r\n \"ipRules\": [],\r\n \"backupPolicy\": {\r\n \"type\": \"Periodic\",\r\n \"periodicModeProperties\": {\r\n \"backupIntervalInMinutes\": 240,\r\n \"backupRetentionIntervalInHours\": 8,\r\n \"backupStorageRedundancy\": \"Geo\"\r\n }\r\n },\r\n \"networkAclBypassResourceIds\": []\r\n },\r\n \"identity\": {\r\n \"type\": \"None\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/resourceGroups/sdk-ci/providers/Microsoft.DocumentDB/databaseAccounts/sdk-signoff-3\",\r\n \"name\": \"sdk-signoff-3\",\r\n \"location\": \"East US 2\",\r\n \"type\": \"Microsoft.DocumentDB/databaseAccounts\",\r\n \"kind\": \"GlobalDocumentDB\",\r\n \"tags\": {\r\n \"defaultExperience\": \"DocumentDB\"\r\n },\r\n \"systemData\": {\r\n \"createdAt\": \"2018-11-09T03:54:04.1095174Z\"\r\n },\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"documentEndpoint\": \"https://sdk-signoff-3.documents-staging.windows-ppe.net:443/\",\r\n \"publicNetworkAccess\": \"Enabled\",\r\n \"enableAutomaticFailover\": false,\r\n \"enableMultipleWriteLocations\": false,\r\n \"enablePartitionKeyMonitor\": false,\r\n \"isVirtualNetworkFilterEnabled\": false,\r\n \"virtualNetworkRules\": [],\r\n \"EnabledApiTypes\": \"Sql\",\r\n \"disableKeyBasedMetadataWriteAccess\": false,\r\n \"enableFreeTier\": false,\r\n \"enableAnalyticalStorage\": false,\r\n \"analyticalStorageConfiguration\": null,\r\n \"instanceId\": \"b17b8cfe-0aef-46ab-8803-b0ca14e33c5a\",\r\n \"createMode\": \"Default\",\r\n \"databaseAccountOfferType\": \"Standard\",\r\n \"defaultIdentity\": \"\",\r\n \"networkAclBypass\": \"None\",\r\n \"consistencyPolicy\": {\r\n \"defaultConsistencyLevel\": \"Strong\",\r\n \"maxIntervalInSeconds\": 5,\r\n \"maxStalenessPrefix\": 100\r\n },\r\n \"configurationOverrides\": {},\r\n \"writeLocations\": [\r\n {\r\n \"id\": \"sdk-signoff-3-northcentralus\",\r\n \"locationName\": \"North Central US\",\r\n \"documentEndpoint\": \"https://sdk-signoff-3-northcentralus.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"readLocations\": [\r\n {\r\n \"id\": \"sdk-signoff-3-northcentralus\",\r\n \"locationName\": \"North Central US\",\r\n \"documentEndpoint\": \"https://sdk-signoff-3-northcentralus.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"locations\": [\r\n {\r\n \"id\": \"sdk-signoff-3-northcentralus\",\r\n \"locationName\": \"North Central US\",\r\n \"documentEndpoint\": \"https://sdk-signoff-3-northcentralus.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"failoverPolicies\": [\r\n {\r\n \"id\": \"sdk-signoff-3-northcentralus\",\r\n \"locationName\": \"North Central US\",\r\n \"failoverPriority\": 0\r\n }\r\n ],\r\n \"cors\": [],\r\n \"capabilities\": [],\r\n \"ipRules\": [],\r\n \"backupPolicy\": {\r\n \"type\": \"Periodic\",\r\n \"periodicModeProperties\": {\r\n \"backupIntervalInMinutes\": 240,\r\n \"backupRetentionIntervalInHours\": 8,\r\n \"backupStorageRedundancy\": \"Geo\"\r\n }\r\n },\r\n \"networkAclBypassResourceIds\": []\r\n },\r\n \"identity\": {\r\n \"type\": \"None\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/resourceGroups/analytics/providers/Microsoft.DocumentDB/databaseAccounts/mohybridrow\",\r\n \"name\": \"mohybridrow\",\r\n \"location\": \"East US 2\",\r\n \"type\": \"Microsoft.DocumentDB/databaseAccounts\",\r\n \"kind\": \"GlobalDocumentDB\",\r\n \"tags\": {},\r\n \"systemData\": {\r\n \"createdAt\": \"2019-10-01T17:27:04.1532322Z\"\r\n },\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"documentEndpoint\": \"https://mohybridrow.documents-staging.windows-ppe.net:443/\",\r\n \"publicNetworkAccess\": \"Enabled\",\r\n \"enableAutomaticFailover\": false,\r\n \"enableMultipleWriteLocations\": false,\r\n \"enablePartitionKeyMonitor\": false,\r\n \"isVirtualNetworkFilterEnabled\": false,\r\n \"virtualNetworkRules\": [],\r\n \"EnabledApiTypes\": \"Sql\",\r\n \"disableKeyBasedMetadataWriteAccess\": false,\r\n \"enableFreeTier\": false,\r\n \"enableAnalyticalStorage\": false,\r\n \"analyticalStorageConfiguration\": null,\r\n \"instanceId\": \"3b985a3b-924e-4549-b67f-86016e527943\",\r\n \"createMode\": \"Default\",\r\n \"databaseAccountOfferType\": \"Standard\",\r\n \"enableCassandraConnector\": false,\r\n \"connectorOffer\": \"\",\r\n \"defaultIdentity\": \"\",\r\n \"networkAclBypass\": \"None\",\r\n \"consistencyPolicy\": {\r\n \"defaultConsistencyLevel\": \"Session\",\r\n \"maxIntervalInSeconds\": 5,\r\n \"maxStalenessPrefix\": 100\r\n },\r\n \"configurationOverrides\": {},\r\n \"writeLocations\": [\r\n {\r\n \"id\": \"mohybridrow-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://mohybridrow-eastus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"readLocations\": [\r\n {\r\n \"id\": \"mohybridrow-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://mohybridrow-eastus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"locations\": [\r\n {\r\n \"id\": \"mohybridrow-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://mohybridrow-eastus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"failoverPolicies\": [\r\n {\r\n \"id\": \"mohybridrow-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"failoverPriority\": 0\r\n }\r\n ],\r\n \"cors\": [],\r\n \"capabilities\": [\r\n {\r\n \"name\": \"EnableStorageAnalytics\"\r\n }\r\n ],\r\n \"ipRules\": [],\r\n \"backupPolicy\": {\r\n \"type\": \"Periodic\",\r\n \"periodicModeProperties\": {\r\n \"backupIntervalInMinutes\": 60,\r\n \"backupRetentionIntervalInHours\": 8,\r\n \"backupStorageRedundancy\": \"Geo\"\r\n }\r\n },\r\n \"networkAclBypassResourceIds\": []\r\n },\r\n \"identity\": {\r\n \"type\": \"None\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/resourceGroups/shmotlan/providers/Microsoft.DocumentDB/databaseAccounts/shan-0726-sql\",\r\n \"name\": \"shan-0726-sql\",\r\n \"location\": \"East US 2\",\r\n \"type\": \"Microsoft.DocumentDB/databaseAccounts\",\r\n \"kind\": \"GlobalDocumentDB\",\r\n \"tags\": {\r\n \"defaultExperience\": \"Core (SQL)\"\r\n },\r\n \"systemData\": {\r\n \"createdAt\": \"2019-07-26T20:33:35.3418069Z\"\r\n },\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"documentEndpoint\": \"https://shan-0726-sql.documents-staging.windows-ppe.net:443/\",\r\n \"publicNetworkAccess\": \"Enabled\",\r\n \"enableAutomaticFailover\": false,\r\n \"enableMultipleWriteLocations\": true,\r\n \"enablePartitionKeyMonitor\": false,\r\n \"isVirtualNetworkFilterEnabled\": false,\r\n \"virtualNetworkRules\": [],\r\n \"EnabledApiTypes\": \"Sql\",\r\n \"disableKeyBasedMetadataWriteAccess\": false,\r\n \"enableFreeTier\": false,\r\n \"enableAnalyticalStorage\": false,\r\n \"analyticalStorageConfiguration\": null,\r\n \"instanceId\": \"1f87ac1e-09cc-4c40-a036-a0382b64b834\",\r\n \"createMode\": \"Default\",\r\n \"databaseAccountOfferType\": \"Standard\",\r\n \"enableCassandraConnector\": false,\r\n \"connectorOffer\": \"\",\r\n \"defaultIdentity\": \"\",\r\n \"networkAclBypass\": \"None\",\r\n \"consistencyPolicy\": {\r\n \"defaultConsistencyLevel\": \"Session\",\r\n \"maxIntervalInSeconds\": 5,\r\n \"maxStalenessPrefix\": 100\r\n },\r\n \"configurationOverrides\": {},\r\n \"writeLocations\": [\r\n {\r\n \"id\": \"shan-0726-sql-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://shan-0726-sql-eastus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"readLocations\": [\r\n {\r\n \"id\": \"shan-0726-sql-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://shan-0726-sql-eastus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"locations\": [\r\n {\r\n \"id\": \"shan-0726-sql-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://shan-0726-sql-eastus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"failoverPolicies\": [\r\n {\r\n \"id\": \"shan-0726-sql-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"failoverPriority\": 0\r\n }\r\n ],\r\n \"cors\": [\r\n {\r\n \"allowedOrigins\": \"https://localhost\"\r\n }\r\n ],\r\n \"capabilities\": [],\r\n \"ipRules\": [],\r\n \"backupPolicy\": {\r\n \"type\": \"Periodic\",\r\n \"periodicModeProperties\": {\r\n \"backupIntervalInMinutes\": 240,\r\n \"backupRetentionIntervalInHours\": 8,\r\n \"backupStorageRedundancy\": \"Geo\"\r\n }\r\n },\r\n \"networkAclBypassResourceIds\": []\r\n },\r\n \"identity\": {\r\n \"type\": \"None\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/resourceGroups/testazsharath/providers/Microsoft.DocumentDB/databaseAccounts/testaz430\",\r\n \"name\": \"testaz430\",\r\n \"location\": \"East US 2\",\r\n \"type\": \"Microsoft.DocumentDB/databaseAccounts\",\r\n \"kind\": \"GlobalDocumentDB\",\r\n \"tags\": {\r\n \"defaultExperience\": \"Core (SQL)\"\r\n },\r\n \"systemData\": {\r\n \"createdAt\": \"2019-04-30T22:23:00.435721Z\"\r\n },\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"documentEndpoint\": \"https://testaz430.documents-staging.windows-ppe.net:443/\",\r\n \"publicNetworkAccess\": \"Enabled\",\r\n \"enableAutomaticFailover\": false,\r\n \"enableMultipleWriteLocations\": true,\r\n \"enablePartitionKeyMonitor\": false,\r\n \"isVirtualNetworkFilterEnabled\": false,\r\n \"virtualNetworkRules\": [],\r\n \"EnabledApiTypes\": \"Sql\",\r\n \"disableKeyBasedMetadataWriteAccess\": false,\r\n \"enableFreeTier\": false,\r\n \"enableAnalyticalStorage\": false,\r\n \"analyticalStorageConfiguration\": null,\r\n \"instanceId\": \"58128aa2-1b70-4196-8a09-d28f0ff1455a\",\r\n \"createMode\": \"Default\",\r\n \"databaseAccountOfferType\": \"Standard\",\r\n \"defaultIdentity\": \"\",\r\n \"networkAclBypass\": \"None\",\r\n \"consistencyPolicy\": {\r\n \"defaultConsistencyLevel\": \"Session\",\r\n \"maxIntervalInSeconds\": 5,\r\n \"maxStalenessPrefix\": 100\r\n },\r\n \"configurationOverrides\": {},\r\n \"writeLocations\": [\r\n {\r\n \"id\": \"testaz430-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://testaz430-eastus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"readLocations\": [\r\n {\r\n \"id\": \"testaz430-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://testaz430-eastus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"locations\": [\r\n {\r\n \"id\": \"testaz430-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://testaz430-eastus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"failoverPolicies\": [\r\n {\r\n \"id\": \"testaz430-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"failoverPriority\": 0\r\n }\r\n ],\r\n \"cors\": [],\r\n \"capabilities\": [],\r\n \"ipRules\": [],\r\n \"backupPolicy\": {\r\n \"type\": \"Periodic\",\r\n \"periodicModeProperties\": {\r\n \"backupIntervalInMinutes\": 240,\r\n \"backupRetentionIntervalInHours\": 8,\r\n \"backupStorageRedundancy\": \"Geo\"\r\n }\r\n },\r\n \"networkAclBypassResourceIds\": []\r\n },\r\n \"identity\": {\r\n \"type\": \"None\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/resourceGroups/shmotlan/providers/Microsoft.DocumentDB/databaseAccounts/shan-graph-0823-signoff\",\r\n \"name\": \"shan-graph-0823-signoff\",\r\n \"location\": \"East US 2\",\r\n \"type\": \"Microsoft.DocumentDB/databaseAccounts\",\r\n \"kind\": \"GlobalDocumentDB\",\r\n \"tags\": {\r\n \"defaultExperience\": \"Gremlin (graph)\"\r\n },\r\n \"systemData\": {\r\n \"createdAt\": \"2019-08-24T00:07:20.7266733Z\"\r\n },\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"documentEndpoint\": \"https://shan-graph-0823-signoff.documents-staging.windows-ppe.net:443/\",\r\n \"gremlinEndpoint\": \"https://shan-graph-0823-signoff.gremlin.cosmos.windows-ppe.net:443/\",\r\n \"publicNetworkAccess\": \"Enabled\",\r\n \"enableAutomaticFailover\": false,\r\n \"enableMultipleWriteLocations\": false,\r\n \"enablePartitionKeyMonitor\": false,\r\n \"isVirtualNetworkFilterEnabled\": false,\r\n \"virtualNetworkRules\": [],\r\n \"EnabledApiTypes\": \"Gremlin, Sql\",\r\n \"disableKeyBasedMetadataWriteAccess\": false,\r\n \"enableFreeTier\": false,\r\n \"enableAnalyticalStorage\": false,\r\n \"analyticalStorageConfiguration\": null,\r\n \"instanceId\": \"ed1f0782-a5ff-48c4-93b1-547f20b0dec8\",\r\n \"createMode\": \"Default\",\r\n \"databaseAccountOfferType\": \"Standard\",\r\n \"enableCassandraConnector\": false,\r\n \"connectorOffer\": \"\",\r\n \"defaultIdentity\": \"\",\r\n \"networkAclBypass\": \"None\",\r\n \"consistencyPolicy\": {\r\n \"defaultConsistencyLevel\": \"Session\",\r\n \"maxIntervalInSeconds\": 5,\r\n \"maxStalenessPrefix\": 100\r\n },\r\n \"configurationOverrides\": {},\r\n \"writeLocations\": [\r\n {\r\n \"id\": \"shan-graph-0823-signoff-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://shan-graph-0823-signoff-eastus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"readLocations\": [\r\n {\r\n \"id\": \"shan-graph-0823-signoff-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://shan-graph-0823-signoff-eastus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"locations\": [\r\n {\r\n \"id\": \"shan-graph-0823-signoff-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://shan-graph-0823-signoff-eastus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"failoverPolicies\": [\r\n {\r\n \"id\": \"shan-graph-0823-signoff-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"failoverPriority\": 0\r\n }\r\n ],\r\n \"cors\": [],\r\n \"capabilities\": [\r\n {\r\n \"name\": \"EnableGremlin\"\r\n }\r\n ],\r\n \"ipRules\": [],\r\n \"backupPolicy\": {\r\n \"type\": \"Periodic\",\r\n \"periodicModeProperties\": {\r\n \"backupIntervalInMinutes\": 240,\r\n \"backupRetentionIntervalInHours\": 8,\r\n \"backupStorageRedundancy\": \"Geo\"\r\n }\r\n },\r\n \"networkAclBypassResourceIds\": []\r\n },\r\n \"identity\": {\r\n \"type\": \"None\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/resourceGroups/nitesh-resource/providers/Microsoft.DocumentDB/databaseAccounts/nitesh-408\",\r\n \"name\": \"nitesh-408\",\r\n \"location\": \"East US 2\",\r\n \"type\": \"Microsoft.DocumentDB/databaseAccounts\",\r\n \"kind\": \"GlobalDocumentDB\",\r\n \"tags\": {\r\n \"defaultExperience\": \"Core (SQL)\",\r\n \"hidden-cosmos-mmspecial\": \"\",\r\n \"CosmosAccountType\": \"Non-Production\"\r\n },\r\n \"systemData\": {\r\n \"createdAt\": \"2020-02-28T09:47:48.7887582Z\"\r\n },\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"documentEndpoint\": \"https://nitesh-408.documents-staging.windows-ppe.net:443/\",\r\n \"publicNetworkAccess\": \"Enabled\",\r\n \"enableAutomaticFailover\": false,\r\n \"enableMultipleWriteLocations\": false,\r\n \"enablePartitionKeyMonitor\": false,\r\n \"isVirtualNetworkFilterEnabled\": false,\r\n \"virtualNetworkRules\": [],\r\n \"EnabledApiTypes\": \"Sql\",\r\n \"disableKeyBasedMetadataWriteAccess\": false,\r\n \"enableFreeTier\": false,\r\n \"enableAnalyticalStorage\": false,\r\n \"analyticalStorageConfiguration\": null,\r\n \"instanceId\": \"917bc598-0994-4fb6-839e-b94ac49c3b3f\",\r\n \"createMode\": \"Default\",\r\n \"databaseAccountOfferType\": \"Standard\",\r\n \"enableCassandraConnector\": false,\r\n \"connectorOffer\": \"\",\r\n \"defaultIdentity\": \"\",\r\n \"networkAclBypass\": \"None\",\r\n \"consistencyPolicy\": {\r\n \"defaultConsistencyLevel\": \"Session\",\r\n \"maxIntervalInSeconds\": 5,\r\n \"maxStalenessPrefix\": 100\r\n },\r\n \"configurationOverrides\": {},\r\n \"writeLocations\": [\r\n {\r\n \"id\": \"nitesh-408-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://nitesh-408-eastus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"readLocations\": [\r\n {\r\n \"id\": \"nitesh-408-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://nitesh-408-eastus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"locations\": [\r\n {\r\n \"id\": \"nitesh-408-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://nitesh-408-eastus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"failoverPolicies\": [\r\n {\r\n \"id\": \"nitesh-408-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"failoverPriority\": 0\r\n }\r\n ],\r\n \"cors\": [],\r\n \"capabilities\": [\r\n {\r\n \"name\": \"EnableStorageAnalytics\"\r\n }\r\n ],\r\n \"ipRules\": [],\r\n \"backupPolicy\": {\r\n \"type\": \"Periodic\",\r\n \"periodicModeProperties\": {\r\n \"backupIntervalInMinutes\": 60,\r\n \"backupRetentionIntervalInHours\": 8,\r\n \"backupStorageRedundancy\": \"Geo\"\r\n }\r\n },\r\n \"networkAclBypassResourceIds\": []\r\n },\r\n \"identity\": {\r\n \"type\": \"None\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/resourceGroups/computev2stagerg/providers/Microsoft.DocumentDB/databaseAccounts/stagecomputev2dbtestop\",\r\n \"name\": \"stagecomputev2dbtestop\",\r\n \"location\": \"East US 2\",\r\n \"type\": \"Microsoft.DocumentDB/databaseAccounts\",\r\n \"kind\": \"GlobalDocumentDB\",\r\n \"tags\": {\r\n \"defaultExperience\": \"Core (SQL)\",\r\n \"hidden-cosmos-mmspecial\": \"\",\r\n \"CosmosAccountType\": \"Non-Production\"\r\n },\r\n \"systemData\": {\r\n \"createdAt\": \"2020-03-03T23:10:09.1509165Z\"\r\n },\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"documentEndpoint\": \"https://stagecomputev2dbtestop.documents-staging.windows-ppe.net:443/\",\r\n \"publicNetworkAccess\": \"Enabled\",\r\n \"enableAutomaticFailover\": false,\r\n \"enableMultipleWriteLocations\": false,\r\n \"enablePartitionKeyMonitor\": false,\r\n \"isVirtualNetworkFilterEnabled\": false,\r\n \"virtualNetworkRules\": [],\r\n \"EnabledApiTypes\": \"Sql\",\r\n \"disableKeyBasedMetadataWriteAccess\": false,\r\n \"enableFreeTier\": false,\r\n \"enableAnalyticalStorage\": false,\r\n \"analyticalStorageConfiguration\": null,\r\n \"instanceId\": \"f4d464d2-912f-4bdd-859f-932bc8599706\",\r\n \"createMode\": \"Default\",\r\n \"databaseAccountOfferType\": \"Standard\",\r\n \"enableCassandraConnector\": false,\r\n \"connectorOffer\": \"\",\r\n \"defaultIdentity\": \"\",\r\n \"networkAclBypass\": \"None\",\r\n \"consistencyPolicy\": {\r\n \"defaultConsistencyLevel\": \"Session\",\r\n \"maxIntervalInSeconds\": 5,\r\n \"maxStalenessPrefix\": 100\r\n },\r\n \"configurationOverrides\": {},\r\n \"writeLocations\": [\r\n {\r\n \"id\": \"stagecomputev2dbtestop-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://stagecomputev2dbtestop-eastus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"readLocations\": [\r\n {\r\n \"id\": \"stagecomputev2dbtestop-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://stagecomputev2dbtestop-eastus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"locations\": [\r\n {\r\n \"id\": \"stagecomputev2dbtestop-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://stagecomputev2dbtestop-eastus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"failoverPolicies\": [\r\n {\r\n \"id\": \"stagecomputev2dbtestop-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"failoverPriority\": 0\r\n }\r\n ],\r\n \"cors\": [],\r\n \"capabilities\": [\r\n {\r\n \"name\": \"EnableStorageAnalytics\"\r\n }\r\n ],\r\n \"ipRules\": [],\r\n \"backupPolicy\": {\r\n \"type\": \"Periodic\",\r\n \"periodicModeProperties\": {\r\n \"backupIntervalInMinutes\": 60,\r\n \"backupRetentionIntervalInHours\": 8,\r\n \"backupStorageRedundancy\": \"Geo\"\r\n }\r\n },\r\n \"networkAclBypassResourceIds\": []\r\n },\r\n \"identity\": {\r\n \"type\": \"None\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/resourceGroups/sargup/providers/Microsoft.DocumentDB/databaseAccounts/testazeus\",\r\n \"name\": \"testazeus\",\r\n \"location\": \"East US 2\",\r\n \"type\": \"Microsoft.DocumentDB/databaseAccounts\",\r\n \"kind\": \"GlobalDocumentDB\",\r\n \"tags\": {\r\n \"defaultExperience\": \"Core (SQL)\"\r\n },\r\n \"systemData\": {\r\n \"createdAt\": \"2019-11-07T18:19:12.3222597Z\"\r\n },\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"documentEndpoint\": \"https://testazeus.documents-staging.windows-ppe.net:443/\",\r\n \"publicNetworkAccess\": \"Enabled\",\r\n \"enableAutomaticFailover\": false,\r\n \"enableMultipleWriteLocations\": true,\r\n \"enablePartitionKeyMonitor\": false,\r\n \"isVirtualNetworkFilterEnabled\": false,\r\n \"virtualNetworkRules\": [],\r\n \"EnabledApiTypes\": \"Sql\",\r\n \"disableKeyBasedMetadataWriteAccess\": false,\r\n \"enableFreeTier\": false,\r\n \"enableAnalyticalStorage\": false,\r\n \"analyticalStorageConfiguration\": null,\r\n \"instanceId\": \"8c804e81-41c9-4065-96d7-1c9ea2223cd9\",\r\n \"createMode\": \"Default\",\r\n \"databaseAccountOfferType\": \"Standard\",\r\n \"enableCassandraConnector\": false,\r\n \"connectorOffer\": \"\",\r\n \"defaultIdentity\": \"\",\r\n \"networkAclBypass\": \"None\",\r\n \"consistencyPolicy\": {\r\n \"defaultConsistencyLevel\": \"Session\",\r\n \"maxIntervalInSeconds\": 5,\r\n \"maxStalenessPrefix\": 100\r\n },\r\n \"configurationOverrides\": {},\r\n \"writeLocations\": [\r\n {\r\n \"id\": \"testazeus-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://testazeus-eastus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": true\r\n }\r\n ],\r\n \"readLocations\": [\r\n {\r\n \"id\": \"testazeus-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://testazeus-eastus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": true\r\n }\r\n ],\r\n \"locations\": [\r\n {\r\n \"id\": \"testazeus-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://testazeus-eastus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": true\r\n }\r\n ],\r\n \"failoverPolicies\": [\r\n {\r\n \"id\": \"testazeus-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"failoverPriority\": 0\r\n }\r\n ],\r\n \"cors\": [],\r\n \"capabilities\": [],\r\n \"ipRules\": [],\r\n \"backupPolicy\": {\r\n \"type\": \"Periodic\",\r\n \"periodicModeProperties\": {\r\n \"backupIntervalInMinutes\": 60,\r\n \"backupRetentionIntervalInHours\": 8,\r\n \"backupStorageRedundancy\": \"Geo\"\r\n }\r\n },\r\n \"networkAclBypassResourceIds\": []\r\n },\r\n \"identity\": {\r\n \"type\": \"None\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/resourceGroups/test2/providers/Microsoft.DocumentDB/databaseAccounts/testps1\",\r\n \"name\": \"testps1\",\r\n \"location\": \"East US 2\",\r\n \"type\": \"Microsoft.DocumentDB/databaseAccounts\",\r\n \"kind\": \"GlobalDocumentDB\",\r\n \"tags\": {\r\n \"defaultExperience\": \"DocumentDB\"\r\n },\r\n \"systemData\": {\r\n \"createdAt\": \"2018-06-26T04:15:27.7406505Z\"\r\n },\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"documentEndpoint\": \"https://testps1.documents-staging.windows-ppe.net:443/\",\r\n \"publicNetworkAccess\": \"Enabled\",\r\n \"enableAutomaticFailover\": false,\r\n \"enableMultipleWriteLocations\": false,\r\n \"enablePartitionKeyMonitor\": false,\r\n \"isVirtualNetworkFilterEnabled\": false,\r\n \"virtualNetworkRules\": [],\r\n \"EnabledApiTypes\": \"Sql\",\r\n \"disableKeyBasedMetadataWriteAccess\": false,\r\n \"enableFreeTier\": false,\r\n \"enableAnalyticalStorage\": false,\r\n \"analyticalStorageConfiguration\": null,\r\n \"instanceId\": \"3b69fbb4-3621-437f-83e9-8d503c1bd65f\",\r\n \"createMode\": \"Default\",\r\n \"databaseAccountOfferType\": \"Standard\",\r\n \"defaultIdentity\": \"\",\r\n \"networkAclBypass\": \"None\",\r\n \"consistencyPolicy\": {\r\n \"defaultConsistencyLevel\": \"Session\",\r\n \"maxIntervalInSeconds\": 5,\r\n \"maxStalenessPrefix\": 100\r\n },\r\n \"configurationOverrides\": {},\r\n \"writeLocations\": [\r\n {\r\n \"id\": \"testps1-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://testps1-eastus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"readLocations\": [\r\n {\r\n \"id\": \"testps1-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://testps1-eastus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"locations\": [\r\n {\r\n \"id\": \"testps1-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://testps1-eastus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"failoverPolicies\": [\r\n {\r\n \"id\": \"testps1-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"failoverPriority\": 0\r\n }\r\n ],\r\n \"cors\": [],\r\n \"capabilities\": [],\r\n \"ipRules\": [],\r\n \"backupPolicy\": {\r\n \"type\": \"Periodic\",\r\n \"periodicModeProperties\": {\r\n \"backupIntervalInMinutes\": 240,\r\n \"backupRetentionIntervalInHours\": 8,\r\n \"backupStorageRedundancy\": \"Geo\"\r\n }\r\n },\r\n \"networkAclBypassResourceIds\": []\r\n },\r\n \"identity\": {\r\n \"type\": \"None\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/resourceGroups/supattip_stage_rg/providers/Microsoft.DocumentDB/databaseAccounts/supattip-stage\",\r\n \"name\": \"supattip-stage\",\r\n \"location\": \"East US 2\",\r\n \"type\": \"Microsoft.DocumentDB/databaseAccounts\",\r\n \"kind\": \"GlobalDocumentDB\",\r\n \"tags\": {\r\n \"defaultExperience\": \"Core (SQL)\"\r\n },\r\n \"systemData\": {\r\n \"createdAt\": \"2019-03-05T00:21:05.1429461Z\"\r\n },\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"documentEndpoint\": \"https://supattip-stage.documents-staging.windows-ppe.net:443/\",\r\n \"publicNetworkAccess\": \"Enabled\",\r\n \"enableAutomaticFailover\": false,\r\n \"enableMultipleWriteLocations\": false,\r\n \"enablePartitionKeyMonitor\": false,\r\n \"isVirtualNetworkFilterEnabled\": false,\r\n \"virtualNetworkRules\": [],\r\n \"EnabledApiTypes\": \"Sql\",\r\n \"disableKeyBasedMetadataWriteAccess\": false,\r\n \"enableFreeTier\": false,\r\n \"enableAnalyticalStorage\": false,\r\n \"analyticalStorageConfiguration\": null,\r\n \"instanceId\": \"bd3cd2c8-fd72-428b-910d-4aac1bbe47da\",\r\n \"createMode\": \"Default\",\r\n \"databaseAccountOfferType\": \"Standard\",\r\n \"defaultIdentity\": \"\",\r\n \"networkAclBypass\": \"None\",\r\n \"consistencyPolicy\": {\r\n \"defaultConsistencyLevel\": \"Session\",\r\n \"maxIntervalInSeconds\": 5,\r\n \"maxStalenessPrefix\": 100\r\n },\r\n \"configurationOverrides\": {},\r\n \"writeLocations\": [\r\n {\r\n \"id\": \"supattip-stage-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://supattip-stage-eastus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"readLocations\": [\r\n {\r\n \"id\": \"supattip-stage-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://supattip-stage-eastus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"locations\": [\r\n {\r\n \"id\": \"supattip-stage-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://supattip-stage-eastus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"failoverPolicies\": [\r\n {\r\n \"id\": \"supattip-stage-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"failoverPriority\": 0\r\n }\r\n ],\r\n \"cors\": [],\r\n \"capabilities\": [],\r\n \"ipRules\": [],\r\n \"backupPolicy\": {\r\n \"type\": \"Periodic\",\r\n \"periodicModeProperties\": {\r\n \"backupIntervalInMinutes\": 240,\r\n \"backupRetentionIntervalInHours\": 8,\r\n \"backupStorageRedundancy\": \"Geo\"\r\n }\r\n },\r\n \"networkAclBypassResourceIds\": []\r\n },\r\n \"identity\": {\r\n \"type\": \"None\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/resourceGroups/shmotlan/providers/Microsoft.DocumentDB/databaseAccounts/shan-table-0823-signoff\",\r\n \"name\": \"shan-table-0823-signoff\",\r\n \"location\": \"East US 2\",\r\n \"type\": \"Microsoft.DocumentDB/databaseAccounts\",\r\n \"kind\": \"GlobalDocumentDB\",\r\n \"tags\": {\r\n \"defaultExperience\": \"Azure Table\"\r\n },\r\n \"systemData\": {\r\n \"createdAt\": \"2019-08-24T00:06:44.1519716Z\"\r\n },\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"documentEndpoint\": \"https://shan-table-0823-signoff.documents-staging.windows-ppe.net:443/\",\r\n \"tableEndpoint\": \"https://shan-table-0823-signoff.table.cosmos.windows-ppe.net:443/\",\r\n \"publicNetworkAccess\": \"Enabled\",\r\n \"enableAutomaticFailover\": false,\r\n \"enableMultipleWriteLocations\": true,\r\n \"enablePartitionKeyMonitor\": false,\r\n \"isVirtualNetworkFilterEnabled\": false,\r\n \"virtualNetworkRules\": [],\r\n \"EnabledApiTypes\": \"Table, Sql\",\r\n \"disableKeyBasedMetadataWriteAccess\": false,\r\n \"enableFreeTier\": false,\r\n \"enableAnalyticalStorage\": false,\r\n \"analyticalStorageConfiguration\": null,\r\n \"instanceId\": \"9a090f1e-ff8e-48df-a322-f2ec18bbff47\",\r\n \"createMode\": \"Default\",\r\n \"databaseAccountOfferType\": \"Standard\",\r\n \"enableCassandraConnector\": false,\r\n \"connectorOffer\": \"\",\r\n \"defaultIdentity\": \"\",\r\n \"networkAclBypass\": \"None\",\r\n \"consistencyPolicy\": {\r\n \"defaultConsistencyLevel\": \"BoundedStaleness\",\r\n \"maxIntervalInSeconds\": 86400,\r\n \"maxStalenessPrefix\": 1000000\r\n },\r\n \"configurationOverrides\": {},\r\n \"writeLocations\": [\r\n {\r\n \"id\": \"shan-table-0823-signoff-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://shan-table-0823-signoff-eastus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"readLocations\": [\r\n {\r\n \"id\": \"shan-table-0823-signoff-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://shan-table-0823-signoff-eastus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"locations\": [\r\n {\r\n \"id\": \"shan-table-0823-signoff-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://shan-table-0823-signoff-eastus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"failoverPolicies\": [\r\n {\r\n \"id\": \"shan-table-0823-signoff-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"failoverPriority\": 0\r\n }\r\n ],\r\n \"cors\": [],\r\n \"capabilities\": [\r\n {\r\n \"name\": \"EnableTable\"\r\n }\r\n ],\r\n \"ipRules\": [],\r\n \"backupPolicy\": {\r\n \"type\": \"Periodic\",\r\n \"periodicModeProperties\": {\r\n \"backupIntervalInMinutes\": 240,\r\n \"backupRetentionIntervalInHours\": 8,\r\n \"backupStorageRedundancy\": \"Geo\"\r\n }\r\n },\r\n \"networkAclBypassResourceIds\": []\r\n },\r\n \"identity\": {\r\n \"type\": \"None\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/resourceGroups/test-rg/providers/Microsoft.DocumentDB/databaseAccounts/testsanalytics\",\r\n \"name\": \"testsanalytics\",\r\n \"location\": \"East US 2\",\r\n \"type\": \"Microsoft.DocumentDB/databaseAccounts\",\r\n \"kind\": \"DocumentDB\",\r\n \"tags\": {},\r\n \"systemData\": {\r\n \"createdAt\": \"2019-10-14T21:39:30.589338Z\"\r\n },\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"documentEndpoint\": \"https://testsanalytics.documents-staging.windows-ppe.net:443/\",\r\n \"publicNetworkAccess\": \"Enabled\",\r\n \"enableAutomaticFailover\": false,\r\n \"enableMultipleWriteLocations\": false,\r\n \"enablePartitionKeyMonitor\": false,\r\n \"isVirtualNetworkFilterEnabled\": false,\r\n \"virtualNetworkRules\": [],\r\n \"EnabledApiTypes\": \"Sql\",\r\n \"disableKeyBasedMetadataWriteAccess\": false,\r\n \"enableFreeTier\": false,\r\n \"enableAnalyticalStorage\": false,\r\n \"analyticalStorageConfiguration\": null,\r\n \"instanceId\": \"6adf7139-5e0f-4396-b03d-ea81acfc9280\",\r\n \"createMode\": \"Default\",\r\n \"databaseAccountOfferType\": \"Standard\",\r\n \"defaultIdentity\": \"\",\r\n \"networkAclBypass\": \"None\",\r\n \"consistencyPolicy\": {\r\n \"defaultConsistencyLevel\": \"Session\",\r\n \"maxIntervalInSeconds\": 5,\r\n \"maxStalenessPrefix\": 100\r\n },\r\n \"configurationOverrides\": {},\r\n \"writeLocations\": [\r\n {\r\n \"id\": \"testsanalytics-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://testsanalytics-eastus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"readLocations\": [\r\n {\r\n \"id\": \"testsanalytics-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://testsanalytics-eastus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n },\r\n {\r\n \"id\": \"testsanalytics-southeastasia\",\r\n \"locationName\": \"Southeast Asia\",\r\n \"documentEndpoint\": \"https://testsanalytics-southeastasia.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 1,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"locations\": [\r\n {\r\n \"id\": \"testsanalytics-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://testsanalytics-eastus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n },\r\n {\r\n \"id\": \"testsanalytics-southeastasia\",\r\n \"locationName\": \"Southeast Asia\",\r\n \"documentEndpoint\": \"https://testsanalytics-southeastasia.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 1,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"failoverPolicies\": [\r\n {\r\n \"id\": \"testsanalytics-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"failoverPriority\": 0\r\n },\r\n {\r\n \"id\": \"testsanalytics-southeastasia\",\r\n \"locationName\": \"Southeast Asia\",\r\n \"failoverPriority\": 1\r\n }\r\n ],\r\n \"cors\": [],\r\n \"capabilities\": [\r\n {\r\n \"name\": \"EnableStorageAnalytics\"\r\n }\r\n ],\r\n \"ipRules\": [],\r\n \"backupPolicy\": {\r\n \"type\": \"Periodic\",\r\n \"periodicModeProperties\": {\r\n \"backupIntervalInMinutes\": 30,\r\n \"backupRetentionIntervalInHours\": 8,\r\n \"backupStorageRedundancy\": \"Geo\"\r\n }\r\n },\r\n \"networkAclBypassResourceIds\": []\r\n },\r\n \"identity\": {\r\n \"type\": \"None\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/resourceGroups/testshbyok/providers/Microsoft.DocumentDB/databaseAccounts/testshbyokstg90\",\r\n \"name\": \"testshbyokstg90\",\r\n \"location\": \"East US 2\",\r\n \"type\": \"Microsoft.DocumentDB/databaseAccounts\",\r\n \"kind\": \"GlobalDocumentDB\",\r\n \"tags\": {\r\n \"defaultExperience\": \"Core (SQL)\",\r\n \"hidden-cosmos-mmspecial\": \"\",\r\n \"CosmosAccountType\": \"Non-Production\"\r\n },\r\n \"systemData\": {\r\n \"createdAt\": \"2020-06-04T00:29:16.8493171Z\"\r\n },\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"documentEndpoint\": \"https://testshbyokstg90.documents-staging.windows-ppe.net:443/\",\r\n \"publicNetworkAccess\": \"Enabled\",\r\n \"enableAutomaticFailover\": false,\r\n \"enableMultipleWriteLocations\": false,\r\n \"enablePartitionKeyMonitor\": false,\r\n \"isVirtualNetworkFilterEnabled\": false,\r\n \"virtualNetworkRules\": [],\r\n \"EnabledApiTypes\": \"Sql\",\r\n \"disableKeyBasedMetadataWriteAccess\": false,\r\n \"enableFreeTier\": false,\r\n \"enableAnalyticalStorage\": false,\r\n \"analyticalStorageConfiguration\": null,\r\n \"instanceId\": \"3ba2b178-2aa6-4c16-a663-a597c14e7267\",\r\n \"createMode\": \"Default\",\r\n \"databaseAccountOfferType\": \"Standard\",\r\n \"enableCassandraConnector\": false,\r\n \"connectorOffer\": \"\",\r\n \"keyVaultKeyUri\": \"https://testshkv3.vault.azure.net/keys/key2\",\r\n \"defaultIdentity\": \"\",\r\n \"networkAclBypass\": \"None\",\r\n \"consistencyPolicy\": {\r\n \"defaultConsistencyLevel\": \"Session\",\r\n \"maxIntervalInSeconds\": 5,\r\n \"maxStalenessPrefix\": 100\r\n },\r\n \"configurationOverrides\": {},\r\n \"writeLocations\": [\r\n {\r\n \"id\": \"testshbyokstg90-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://testshbyokstg90-eastus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"readLocations\": [\r\n {\r\n \"id\": \"testshbyokstg90-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://testshbyokstg90-eastus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"locations\": [\r\n {\r\n \"id\": \"testshbyokstg90-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://testshbyokstg90-eastus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"failoverPolicies\": [\r\n {\r\n \"id\": \"testshbyokstg90-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"failoverPriority\": 0\r\n }\r\n ],\r\n \"cors\": [],\r\n \"capabilities\": [],\r\n \"ipRules\": [],\r\n \"backupPolicy\": {\r\n \"type\": \"Periodic\",\r\n \"periodicModeProperties\": {\r\n \"backupIntervalInMinutes\": 60,\r\n \"backupRetentionIntervalInHours\": 8,\r\n \"backupStorageRedundancy\": \"Geo\"\r\n }\r\n },\r\n \"networkAclBypassResourceIds\": []\r\n },\r\n \"identity\": {\r\n \"type\": \"None\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/resourceGroups/test2/providers/Microsoft.DocumentDB/databaseAccounts/testshgen\",\r\n \"name\": \"testshgen\",\r\n \"location\": \"East US 2\",\r\n \"type\": \"Microsoft.DocumentDB/databaseAccounts\",\r\n \"kind\": \"GlobalDocumentDB\",\r\n \"tags\": {},\r\n \"systemData\": {\r\n \"createdAt\": \"2019-07-02T22:28:27.8284219Z\"\r\n },\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"documentEndpoint\": \"https://testshgen.documents-staging.windows-ppe.net:443/\",\r\n \"publicNetworkAccess\": \"Enabled\",\r\n \"enableAutomaticFailover\": false,\r\n \"enableMultipleWriteLocations\": false,\r\n \"enablePartitionKeyMonitor\": false,\r\n \"isVirtualNetworkFilterEnabled\": false,\r\n \"virtualNetworkRules\": [],\r\n \"EnabledApiTypes\": \"Sql\",\r\n \"disableKeyBasedMetadataWriteAccess\": false,\r\n \"enableFreeTier\": false,\r\n \"enableAnalyticalStorage\": false,\r\n \"analyticalStorageConfiguration\": null,\r\n \"instanceId\": \"ca9b9214-23fe-4f35-b794-df849f0d1620\",\r\n \"createMode\": \"Default\",\r\n \"databaseAccountOfferType\": \"Standard\",\r\n \"enableCassandraConnector\": false,\r\n \"connectorOffer\": \"\",\r\n \"defaultIdentity\": \"\",\r\n \"networkAclBypass\": \"None\",\r\n \"consistencyPolicy\": {\r\n \"defaultConsistencyLevel\": \"Session\",\r\n \"maxIntervalInSeconds\": 5,\r\n \"maxStalenessPrefix\": 100\r\n },\r\n \"configurationOverrides\": {},\r\n \"writeLocations\": [\r\n {\r\n \"id\": \"testshgen-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://testshgen-eastus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"readLocations\": [\r\n {\r\n \"id\": \"testshgen-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://testshgen-eastus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"locations\": [\r\n {\r\n \"id\": \"testshgen-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://testshgen-eastus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"failoverPolicies\": [\r\n {\r\n \"id\": \"testshgen-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"failoverPriority\": 0\r\n }\r\n ],\r\n \"cors\": [],\r\n \"capabilities\": [],\r\n \"ipRules\": [],\r\n \"backupPolicy\": {\r\n \"type\": \"Periodic\",\r\n \"periodicModeProperties\": {\r\n \"backupIntervalInMinutes\": 240,\r\n \"backupRetentionIntervalInHours\": 8,\r\n \"backupStorageRedundancy\": \"Geo\"\r\n }\r\n },\r\n \"networkAclBypassResourceIds\": []\r\n },\r\n \"identity\": {\r\n \"type\": \"None\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/resourceGroups/backup-restore/providers/Microsoft.DocumentDB/databaseAccounts/shtan-backup-hold2\",\r\n \"name\": \"shtan-backup-hold2\",\r\n \"location\": \"East US 2\",\r\n \"type\": \"Microsoft.DocumentDB/databaseAccounts\",\r\n \"kind\": \"GlobalDocumentDB\",\r\n \"tags\": {\r\n \"defaultExperience\": \"Core (SQL)\",\r\n \"restoredSourceDatabaseAccountName\": \"stage-validation-source\",\r\n \"restoredAtTimestamp\": \"8/21/2020 2:45:27 AM\"\r\n },\r\n \"systemData\": {\r\n \"createdAt\": \"2020-08-21T03:01:31.9431834Z\"\r\n },\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"documentEndpoint\": \"https://shtan-backup-hold2.documents-staging.windows-ppe.net:443/\",\r\n \"publicNetworkAccess\": \"Enabled\",\r\n \"enableAutomaticFailover\": false,\r\n \"enableMultipleWriteLocations\": false,\r\n \"enablePartitionKeyMonitor\": false,\r\n \"isVirtualNetworkFilterEnabled\": false,\r\n \"virtualNetworkRules\": [],\r\n \"EnabledApiTypes\": \"Sql\",\r\n \"disableKeyBasedMetadataWriteAccess\": false,\r\n \"enableFreeTier\": false,\r\n \"enableAnalyticalStorage\": false,\r\n \"analyticalStorageConfiguration\": null,\r\n \"instanceId\": \"7e3c9c1f-07f7-4912-a390-ceeecb100ccf\",\r\n \"createMode\": \"Restore\",\r\n \"databaseAccountOfferType\": \"Standard\",\r\n \"enableCassandraConnector\": false,\r\n \"defaultIdentity\": \"\",\r\n \"networkAclBypass\": \"None\",\r\n \"consistencyPolicy\": {\r\n \"defaultConsistencyLevel\": \"Session\",\r\n \"maxIntervalInSeconds\": 5,\r\n \"maxStalenessPrefix\": 100\r\n },\r\n \"configurationOverrides\": {},\r\n \"writeLocations\": [\r\n {\r\n \"id\": \"shtan-backup-hold2-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://shtan-backup-hold2-eastus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"readLocations\": [\r\n {\r\n \"id\": \"shtan-backup-hold2-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://shtan-backup-hold2-eastus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"locations\": [\r\n {\r\n \"id\": \"shtan-backup-hold2-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://shtan-backup-hold2-eastus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"failoverPolicies\": [\r\n {\r\n \"id\": \"shtan-backup-hold2-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"failoverPriority\": 0\r\n }\r\n ],\r\n \"cors\": [],\r\n \"capabilities\": [],\r\n \"ipRules\": [],\r\n \"backupPolicy\": {\r\n \"type\": \"Periodic\",\r\n \"periodicModeProperties\": {\r\n \"backupIntervalInMinutes\": 240,\r\n \"backupRetentionIntervalInHours\": 8,\r\n \"backupStorageRedundancy\": \"Geo\"\r\n }\r\n },\r\n \"restoreParameters\": {\r\n \"restoreMode\": \"PointInTime\",\r\n \"restoreSource\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/providers/Microsoft.DocumentDB/locations//restorableDatabaseAccounts/\",\r\n \"restoreTimestampInUtc\": \"2020-08-21T02:45:16Z\"\r\n },\r\n \"networkAclBypassResourceIds\": []\r\n },\r\n \"identity\": {\r\n \"type\": \"None\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/resourceGroups/sdk-ci/providers/Microsoft.DocumentDB/databaseAccounts/sdk-replication-test\",\r\n \"name\": \"sdk-replication-test\",\r\n \"location\": \"East US 2\",\r\n \"type\": \"Microsoft.DocumentDB/databaseAccounts\",\r\n \"kind\": \"GlobalDocumentDB\",\r\n \"tags\": {\r\n \"defaultExperience\": \"DocumentDB\"\r\n },\r\n \"systemData\": {\r\n \"createdAt\": \"2018-07-05T20:29:31.4612005Z\"\r\n },\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"documentEndpoint\": \"https://sdk-replication-test.documents-staging.windows-ppe.net:443/\",\r\n \"publicNetworkAccess\": \"Enabled\",\r\n \"enableAutomaticFailover\": false,\r\n \"enableMultipleWriteLocations\": false,\r\n \"enablePartitionKeyMonitor\": false,\r\n \"isVirtualNetworkFilterEnabled\": false,\r\n \"virtualNetworkRules\": [],\r\n \"EnabledApiTypes\": \"Sql\",\r\n \"disableKeyBasedMetadataWriteAccess\": false,\r\n \"enableFreeTier\": false,\r\n \"enableAnalyticalStorage\": false,\r\n \"analyticalStorageConfiguration\": null,\r\n \"instanceId\": \"190b08bf-f254-47bc-a694-508a760db9bc\",\r\n \"createMode\": \"Default\",\r\n \"databaseAccountOfferType\": \"Standard\",\r\n \"defaultIdentity\": \"\",\r\n \"networkAclBypass\": \"None\",\r\n \"consistencyPolicy\": {\r\n \"defaultConsistencyLevel\": \"Strong\",\r\n \"maxIntervalInSeconds\": 5,\r\n \"maxStalenessPrefix\": 100\r\n },\r\n \"configurationOverrides\": {},\r\n \"writeLocations\": [\r\n {\r\n \"id\": \"sdk-replication-test-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://sdk-replication-test-eastus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"readLocations\": [\r\n {\r\n \"id\": \"sdk-replication-test-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://sdk-replication-test-eastus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"locations\": [\r\n {\r\n \"id\": \"sdk-replication-test-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://sdk-replication-test-eastus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"failoverPolicies\": [\r\n {\r\n \"id\": \"sdk-replication-test-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"failoverPriority\": 0\r\n }\r\n ],\r\n \"cors\": [],\r\n \"capabilities\": [],\r\n \"ipRules\": [],\r\n \"backupPolicy\": {\r\n \"type\": \"Periodic\",\r\n \"periodicModeProperties\": {\r\n \"backupIntervalInMinutes\": 240,\r\n \"backupRetentionIntervalInHours\": 8,\r\n \"backupStorageRedundancy\": \"Geo\"\r\n }\r\n },\r\n \"networkAclBypassResourceIds\": []\r\n },\r\n \"identity\": {\r\n \"type\": \"None\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/resourceGroups/analytics/providers/Microsoft.DocumentDB/databaseAccounts/shthekkatestacc1\",\r\n \"name\": \"shthekkatestacc1\",\r\n \"location\": \"East US 2\",\r\n \"type\": \"Microsoft.DocumentDB/databaseAccounts\",\r\n \"kind\": \"GlobalDocumentDB\",\r\n \"tags\": {\r\n \"defaultExperience\": \"Core (SQL)\",\r\n \"hidden-cosmos-mmspecial\": \"\",\r\n \"CosmosAccountType\": \"Non-Production\"\r\n },\r\n \"systemData\": {\r\n \"createdAt\": \"2020-07-16T19:35:59.1935283Z\"\r\n },\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"documentEndpoint\": \"https://shthekkatestacc1.documents-staging.windows-ppe.net:443/\",\r\n \"publicNetworkAccess\": \"Enabled\",\r\n \"enableAutomaticFailover\": false,\r\n \"enableMultipleWriteLocations\": false,\r\n \"enablePartitionKeyMonitor\": false,\r\n \"isVirtualNetworkFilterEnabled\": false,\r\n \"virtualNetworkRules\": [],\r\n \"EnabledApiTypes\": \"Sql\",\r\n \"disableKeyBasedMetadataWriteAccess\": false,\r\n \"enableFreeTier\": false,\r\n \"enableAnalyticalStorage\": true,\r\n \"analyticalStorageConfiguration\": null,\r\n \"instanceId\": \"64abdab4-b87c-4989-8fff-4c1c6d8ba31e\",\r\n \"createMode\": \"Default\",\r\n \"databaseAccountOfferType\": \"Standard\",\r\n \"enableCassandraConnector\": false,\r\n \"connectorOffer\": \"\",\r\n \"defaultIdentity\": \"\",\r\n \"networkAclBypass\": \"None\",\r\n \"consistencyPolicy\": {\r\n \"defaultConsistencyLevel\": \"Session\",\r\n \"maxIntervalInSeconds\": 5,\r\n \"maxStalenessPrefix\": 100\r\n },\r\n \"configurationOverrides\": {},\r\n \"writeLocations\": [\r\n {\r\n \"id\": \"shthekkatestacc1-westus2\",\r\n \"locationName\": \"West US 2\",\r\n \"documentEndpoint\": \"https://shthekkatestacc1-westus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"readLocations\": [\r\n {\r\n \"id\": \"shthekkatestacc1-westus2\",\r\n \"locationName\": \"West US 2\",\r\n \"documentEndpoint\": \"https://shthekkatestacc1-westus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n },\r\n {\r\n \"id\": \"shthekkatestacc1-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://shthekkatestacc1-eastus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 1,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"locations\": [\r\n {\r\n \"id\": \"shthekkatestacc1-westus2\",\r\n \"locationName\": \"West US 2\",\r\n \"documentEndpoint\": \"https://shthekkatestacc1-westus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n },\r\n {\r\n \"id\": \"shthekkatestacc1-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://shthekkatestacc1-eastus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 1,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"failoverPolicies\": [\r\n {\r\n \"id\": \"shthekkatestacc1-westus2\",\r\n \"locationName\": \"West US 2\",\r\n \"failoverPriority\": 0\r\n },\r\n {\r\n \"id\": \"shthekkatestacc1-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"failoverPriority\": 1\r\n }\r\n ],\r\n \"cors\": [],\r\n \"capabilities\": [],\r\n \"ipRules\": [],\r\n \"backupPolicy\": {\r\n \"type\": \"Periodic\",\r\n \"periodicModeProperties\": {\r\n \"backupIntervalInMinutes\": 240,\r\n \"backupRetentionIntervalInHours\": 8,\r\n \"backupStorageRedundancy\": \"Geo\"\r\n }\r\n },\r\n \"networkAclBypassResourceIds\": []\r\n },\r\n \"identity\": {\r\n \"type\": \"None\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/resourceGroups/sdk-ci/providers/Microsoft.DocumentDB/databaseAccounts/java-async-signoff\",\r\n \"name\": \"java-async-signoff\",\r\n \"location\": \"East US 2\",\r\n \"type\": \"Microsoft.DocumentDB/databaseAccounts\",\r\n \"kind\": \"GlobalDocumentDB\",\r\n \"tags\": {\r\n \"defaultExperience\": \"Core (SQL)\"\r\n },\r\n \"systemData\": {\r\n \"createdAt\": \"2018-12-19T22:18:34.793944Z\"\r\n },\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"documentEndpoint\": \"https://java-async-signoff.documents-staging.windows-ppe.net:443/\",\r\n \"publicNetworkAccess\": \"Enabled\",\r\n \"enableAutomaticFailover\": false,\r\n \"enableMultipleWriteLocations\": false,\r\n \"enablePartitionKeyMonitor\": false,\r\n \"isVirtualNetworkFilterEnabled\": false,\r\n \"virtualNetworkRules\": [],\r\n \"EnabledApiTypes\": \"Sql\",\r\n \"disableKeyBasedMetadataWriteAccess\": false,\r\n \"enableFreeTier\": false,\r\n \"enableAnalyticalStorage\": false,\r\n \"analyticalStorageConfiguration\": null,\r\n \"instanceId\": \"849ff8e0-a55c-4a24-a8e0-d4d1f6ab9d27\",\r\n \"createMode\": \"Default\",\r\n \"databaseAccountOfferType\": \"Standard\",\r\n \"defaultIdentity\": \"\",\r\n \"networkAclBypass\": \"None\",\r\n \"consistencyPolicy\": {\r\n \"defaultConsistencyLevel\": \"Strong\",\r\n \"maxIntervalInSeconds\": 5,\r\n \"maxStalenessPrefix\": 100\r\n },\r\n \"configurationOverrides\": {},\r\n \"writeLocations\": [\r\n {\r\n \"id\": \"java-async-signoff-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://java-async-signoff-eastus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"readLocations\": [\r\n {\r\n \"id\": \"java-async-signoff-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://java-async-signoff-eastus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"locations\": [\r\n {\r\n \"id\": \"java-async-signoff-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://java-async-signoff-eastus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"failoverPolicies\": [\r\n {\r\n \"id\": \"java-async-signoff-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"failoverPriority\": 0\r\n }\r\n ],\r\n \"cors\": [],\r\n \"capabilities\": [],\r\n \"ipRules\": [],\r\n \"backupPolicy\": {\r\n \"type\": \"Periodic\",\r\n \"periodicModeProperties\": {\r\n \"backupIntervalInMinutes\": 240,\r\n \"backupRetentionIntervalInHours\": 8,\r\n \"backupStorageRedundancy\": \"Geo\"\r\n }\r\n },\r\n \"networkAclBypassResourceIds\": []\r\n },\r\n \"identity\": {\r\n \"type\": \"None\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/resourceGroups/srpalive-cassandra-rg/providers/Microsoft.DocumentDB/databaseAccounts/srpalive-stage-cassandra\",\r\n \"name\": \"srpalive-stage-cassandra\",\r\n \"location\": \"East US 2\",\r\n \"type\": \"Microsoft.DocumentDB/databaseAccounts\",\r\n \"kind\": \"GlobalDocumentDB\",\r\n \"tags\": {\r\n \"defaultExperience\": \"Cassandra\",\r\n \"hidden-cosmos-mmspecial\": \"\",\r\n \"CosmosAccountType\": \"Non-Production\"\r\n },\r\n \"systemData\": {\r\n \"createdAt\": \"2020-09-14T19:17:24.9383024Z\"\r\n },\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"documentEndpoint\": \"https://srpalive-stage-cassandra.documents-staging.windows-ppe.net:443/\",\r\n \"cassandraEndpoint\": \"https://srpalive-stage-cassandra.cassandra.cosmos.windows-ppe.net:443/\",\r\n \"publicNetworkAccess\": \"Enabled\",\r\n \"enableAutomaticFailover\": false,\r\n \"enableMultipleWriteLocations\": false,\r\n \"enablePartitionKeyMonitor\": false,\r\n \"isVirtualNetworkFilterEnabled\": false,\r\n \"virtualNetworkRules\": [],\r\n \"EnabledApiTypes\": \"Cassandra\",\r\n \"disableKeyBasedMetadataWriteAccess\": false,\r\n \"enableFreeTier\": false,\r\n \"enableAnalyticalStorage\": false,\r\n \"analyticalStorageConfiguration\": null,\r\n \"instanceId\": \"35e82c7b-0f83-4e77-bf8e-d4f7c91cfbe6\",\r\n \"createMode\": \"Default\",\r\n \"databaseAccountOfferType\": \"Standard\",\r\n \"enableCassandraConnector\": false,\r\n \"connectorOffer\": \"\",\r\n \"defaultIdentity\": \"\",\r\n \"networkAclBypass\": \"None\",\r\n \"consistencyPolicy\": {\r\n \"defaultConsistencyLevel\": \"Session\",\r\n \"maxIntervalInSeconds\": 5,\r\n \"maxStalenessPrefix\": 100\r\n },\r\n \"configurationOverrides\": {},\r\n \"writeLocations\": [\r\n {\r\n \"id\": \"srpalive-stage-cassandra-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://srpalive-stage-cassandra-eastus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"readLocations\": [\r\n {\r\n \"id\": \"srpalive-stage-cassandra-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://srpalive-stage-cassandra-eastus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"locations\": [\r\n {\r\n \"id\": \"srpalive-stage-cassandra-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://srpalive-stage-cassandra-eastus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"failoverPolicies\": [\r\n {\r\n \"id\": \"srpalive-stage-cassandra-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"failoverPriority\": 0\r\n }\r\n ],\r\n \"cors\": [],\r\n \"capabilities\": [\r\n {\r\n \"name\": \"EnableCassandra\"\r\n }\r\n ],\r\n \"ipRules\": [],\r\n \"backupPolicy\": {\r\n \"type\": \"Periodic\",\r\n \"periodicModeProperties\": {\r\n \"backupIntervalInMinutes\": 240,\r\n \"backupRetentionIntervalInHours\": 8,\r\n \"backupStorageRedundancy\": \"Geo\"\r\n }\r\n },\r\n \"networkAclBypassResourceIds\": []\r\n },\r\n \"identity\": {\r\n \"type\": \"None\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/resourceGroups/roaror-test/providers/Microsoft.DocumentDB/databaseAccounts/stage-signoff-cv2\",\r\n \"name\": \"stage-signoff-cv2\",\r\n \"location\": \"East US 2\",\r\n \"type\": \"Microsoft.DocumentDB/databaseAccounts\",\r\n \"kind\": \"GlobalDocumentDB\",\r\n \"tags\": {\r\n \"defaultExperience\": \"Core (SQL)\",\r\n \"hidden-cosmos-mmspecial\": \"\",\r\n \"CosmosAccountType\": \"Non-Production\"\r\n },\r\n \"systemData\": {\r\n \"createdAt\": \"2020-06-25T21:51:56.6359245Z\"\r\n },\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"documentEndpoint\": \"https://stage-signoff-cv2.documents-staging.windows-ppe.net:443/\",\r\n \"publicNetworkAccess\": \"Enabled\",\r\n \"enableAutomaticFailover\": false,\r\n \"enableMultipleWriteLocations\": false,\r\n \"enablePartitionKeyMonitor\": false,\r\n \"isVirtualNetworkFilterEnabled\": false,\r\n \"virtualNetworkRules\": [],\r\n \"EnabledApiTypes\": \"Sql\",\r\n \"disableKeyBasedMetadataWriteAccess\": false,\r\n \"enableFreeTier\": false,\r\n \"enableAnalyticalStorage\": false,\r\n \"analyticalStorageConfiguration\": null,\r\n \"instanceId\": \"7245fa3d-08d2-4951-9c3a-f9cb1e788311\",\r\n \"createMode\": \"Default\",\r\n \"databaseAccountOfferType\": \"Standard\",\r\n \"enableCassandraConnector\": false,\r\n \"connectorOffer\": \"\",\r\n \"defaultIdentity\": \"\",\r\n \"networkAclBypass\": \"None\",\r\n \"consistencyPolicy\": {\r\n \"defaultConsistencyLevel\": \"Session\",\r\n \"maxIntervalInSeconds\": 5,\r\n \"maxStalenessPrefix\": 100\r\n },\r\n \"configurationOverrides\": {},\r\n \"writeLocations\": [\r\n {\r\n \"id\": \"stage-signoff-cv2-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://stage-signoff-cv2-eastus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"readLocations\": [\r\n {\r\n \"id\": \"stage-signoff-cv2-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://stage-signoff-cv2-eastus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"locations\": [\r\n {\r\n \"id\": \"stage-signoff-cv2-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://stage-signoff-cv2-eastus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"failoverPolicies\": [\r\n {\r\n \"id\": \"stage-signoff-cv2-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"failoverPriority\": 0\r\n }\r\n ],\r\n \"cors\": [],\r\n \"capabilities\": [],\r\n \"ipRules\": [],\r\n \"backupPolicy\": {\r\n \"type\": \"Periodic\",\r\n \"periodicModeProperties\": {\r\n \"backupIntervalInMinutes\": 60,\r\n \"backupRetentionIntervalInHours\": 8,\r\n \"backupStorageRedundancy\": \"Geo\"\r\n }\r\n },\r\n \"networkAclBypassResourceIds\": []\r\n },\r\n \"identity\": {\r\n \"type\": \"None\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/resourceGroups/backup-restore/providers/Microsoft.DocumentDB/databaseAccounts/stage-pitr-validation-source\",\r\n \"name\": \"stage-pitr-validation-source\",\r\n \"location\": \"East US 2\",\r\n \"type\": \"Microsoft.DocumentDB/databaseAccounts\",\r\n \"kind\": \"GlobalDocumentDB\",\r\n \"tags\": {\r\n \"defaultExperience\": \"Core (SQL)\",\r\n \"hidden-cosmos-mmspecial\": \"\",\r\n \"CosmosAccountType\": \"Non-Production\"\r\n },\r\n \"systemData\": {\r\n \"createdAt\": \"2020-08-13T23:51:15.7044411Z\"\r\n },\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"documentEndpoint\": \"https://stage-pitr-validation-source.documents-staging.windows-ppe.net:443/\",\r\n \"publicNetworkAccess\": \"Enabled\",\r\n \"enableAutomaticFailover\": false,\r\n \"enableMultipleWriteLocations\": false,\r\n \"enablePartitionKeyMonitor\": false,\r\n \"isVirtualNetworkFilterEnabled\": false,\r\n \"virtualNetworkRules\": [],\r\n \"EnabledApiTypes\": \"Sql\",\r\n \"disableKeyBasedMetadataWriteAccess\": false,\r\n \"enableFreeTier\": false,\r\n \"enableAnalyticalStorage\": false,\r\n \"analyticalStorageConfiguration\": null,\r\n \"instanceId\": \"a54115d5-4356-4771-b7b0-20f475ce5a38\",\r\n \"createMode\": \"Default\",\r\n \"databaseAccountOfferType\": \"Standard\",\r\n \"enableCassandraConnector\": false,\r\n \"connectorOffer\": \"\",\r\n \"defaultIdentity\": \"\",\r\n \"networkAclBypass\": \"None\",\r\n \"consistencyPolicy\": {\r\n \"defaultConsistencyLevel\": \"Session\",\r\n \"maxIntervalInSeconds\": 5,\r\n \"maxStalenessPrefix\": 100\r\n },\r\n \"configurationOverrides\": {},\r\n \"writeLocations\": [\r\n {\r\n \"id\": \"stage-pitr-validation-source-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://stage-pitr-validation-source-eastus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"readLocations\": [\r\n {\r\n \"id\": \"stage-pitr-validation-source-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://stage-pitr-validation-source-eastus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n },\r\n {\r\n \"id\": \"stage-pitr-validation-source-westus2\",\r\n \"locationName\": \"West US 2\",\r\n \"documentEndpoint\": \"https://stage-pitr-validation-source-westus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 1,\r\n \"isZoneRedundant\": false\r\n },\r\n {\r\n \"id\": \"stage-pitr-validation-source-southeastasia\",\r\n \"locationName\": \"Southeast Asia\",\r\n \"documentEndpoint\": \"https://stage-pitr-validation-source-southeastasia.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 2,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"locations\": [\r\n {\r\n \"id\": \"stage-pitr-validation-source-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://stage-pitr-validation-source-eastus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n },\r\n {\r\n \"id\": \"stage-pitr-validation-source-westus2\",\r\n \"locationName\": \"West US 2\",\r\n \"documentEndpoint\": \"https://stage-pitr-validation-source-westus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 1,\r\n \"isZoneRedundant\": false\r\n },\r\n {\r\n \"id\": \"stage-pitr-validation-source-southeastasia\",\r\n \"locationName\": \"Southeast Asia\",\r\n \"documentEndpoint\": \"https://stage-pitr-validation-source-southeastasia.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 2,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"failoverPolicies\": [\r\n {\r\n \"id\": \"stage-pitr-validation-source-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"failoverPriority\": 0\r\n },\r\n {\r\n \"id\": \"stage-pitr-validation-source-westus2\",\r\n \"locationName\": \"West US 2\",\r\n \"failoverPriority\": 1\r\n },\r\n {\r\n \"id\": \"stage-pitr-validation-source-southeastasia\",\r\n \"locationName\": \"Southeast Asia\",\r\n \"failoverPriority\": 2\r\n }\r\n ],\r\n \"cors\": [],\r\n \"capabilities\": [],\r\n \"ipRules\": [],\r\n \"backupPolicy\": {\r\n \"type\": \"Continuous\"\r\n },\r\n \"networkAclBypassResourceIds\": []\r\n },\r\n \"identity\": {\r\n \"type\": \"None\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/resourceGroups/virangai-test/providers/Microsoft.DocumentDB/databaseAccounts/test-virangai-cont123\",\r\n \"name\": \"test-virangai-cont123\",\r\n \"location\": \"East US 2\",\r\n \"type\": \"Microsoft.DocumentDB/databaseAccounts\",\r\n \"kind\": \"GlobalDocumentDB\",\r\n \"tags\": {\r\n \"defaultExperience\": \"Core (SQL)\",\r\n \"hidden-cosmos-mmspecial\": \"\",\r\n \"CosmosAccountType\": \"Non-Production\"\r\n },\r\n \"systemData\": {\r\n \"createdAt\": \"2020-08-05T20:32:26.996202Z\"\r\n },\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"documentEndpoint\": \"https://test-virangai-cont123.documents-staging.windows-ppe.net:443/\",\r\n \"publicNetworkAccess\": \"Enabled\",\r\n \"enableAutomaticFailover\": false,\r\n \"enableMultipleWriteLocations\": false,\r\n \"enablePartitionKeyMonitor\": false,\r\n \"isVirtualNetworkFilterEnabled\": false,\r\n \"virtualNetworkRules\": [],\r\n \"EnabledApiTypes\": \"Sql\",\r\n \"disableKeyBasedMetadataWriteAccess\": false,\r\n \"enableFreeTier\": false,\r\n \"enableAnalyticalStorage\": false,\r\n \"analyticalStorageConfiguration\": null,\r\n \"instanceId\": \"bb3e3c48-18d8-46e8-b294-41d9406885c5\",\r\n \"createMode\": \"Restore\",\r\n \"databaseAccountOfferType\": \"Standard\",\r\n \"enableCassandraConnector\": false,\r\n \"defaultIdentity\": \"\",\r\n \"networkAclBypass\": \"None\",\r\n \"consistencyPolicy\": {\r\n \"defaultConsistencyLevel\": \"Session\",\r\n \"maxIntervalInSeconds\": 5,\r\n \"maxStalenessPrefix\": 100\r\n },\r\n \"configurationOverrides\": {},\r\n \"writeLocations\": [\r\n {\r\n \"id\": \"test-virangai-cont123-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://test-virangai-cont123-eastus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"readLocations\": [\r\n {\r\n \"id\": \"test-virangai-cont123-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://test-virangai-cont123-eastus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"locations\": [\r\n {\r\n \"id\": \"test-virangai-cont123-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://test-virangai-cont123-eastus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"failoverPolicies\": [\r\n {\r\n \"id\": \"test-virangai-cont123-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"failoverPriority\": 0\r\n }\r\n ],\r\n \"cors\": [],\r\n \"capabilities\": [],\r\n \"ipRules\": [],\r\n \"backupPolicy\": {\r\n \"type\": \"Continuous\"\r\n },\r\n \"restoreParameters\": {\r\n \"restoreMode\": \"PointInTime\",\r\n \"restoreSource\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/providers/Microsoft.DocumentDB/locations/eastus2/restorableDatabaseAccounts/17783e6d-0e28-41e2-b086-9d17763f1d51\",\r\n \"restoreTimestampInUtc\": \"2020-08-05T20:17:47.66Z\",\r\n \"databasesToRestore\": []\r\n },\r\n \"networkAclBypassResourceIds\": []\r\n },\r\n \"identity\": {\r\n \"type\": \"None\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/resourceGroups/sdk-ci/providers/Microsoft.DocumentDB/databaseAccounts/sdk-signoff-4\",\r\n \"name\": \"sdk-signoff-4\",\r\n \"location\": \"East US 2\",\r\n \"type\": \"Microsoft.DocumentDB/databaseAccounts\",\r\n \"kind\": \"GlobalDocumentDB\",\r\n \"tags\": {\r\n \"defaultExperience\": \"Core (SQL)\",\r\n \"hidden-cosmos-mmspecial\": \"\",\r\n \"CosmosAccountType\": \"Non-Production\"\r\n },\r\n \"systemData\": {\r\n \"createdAt\": \"2020-06-26T21:27:51.8781208Z\"\r\n },\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"documentEndpoint\": \"https://sdk-signoff-4.documents-staging.windows-ppe.net:443/\",\r\n \"publicNetworkAccess\": \"Enabled\",\r\n \"enableAutomaticFailover\": false,\r\n \"enableMultipleWriteLocations\": false,\r\n \"enablePartitionKeyMonitor\": false,\r\n \"isVirtualNetworkFilterEnabled\": false,\r\n \"virtualNetworkRules\": [],\r\n \"EnabledApiTypes\": \"Sql\",\r\n \"disableKeyBasedMetadataWriteAccess\": false,\r\n \"enableFreeTier\": false,\r\n \"enableAnalyticalStorage\": false,\r\n \"analyticalStorageConfiguration\": null,\r\n \"instanceId\": \"c088144f-eb9c-496a-91ae-36ac38c5c7f1\",\r\n \"createMode\": \"Default\",\r\n \"databaseAccountOfferType\": \"Standard\",\r\n \"enableCassandraConnector\": false,\r\n \"connectorOffer\": \"\",\r\n \"defaultIdentity\": \"\",\r\n \"networkAclBypass\": \"None\",\r\n \"consistencyPolicy\": {\r\n \"defaultConsistencyLevel\": \"Strong\",\r\n \"maxIntervalInSeconds\": 5,\r\n \"maxStalenessPrefix\": 100\r\n },\r\n \"configurationOverrides\": {},\r\n \"writeLocations\": [\r\n {\r\n \"id\": \"sdk-signoff-4-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://sdk-signoff-4-eastus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"readLocations\": [\r\n {\r\n \"id\": \"sdk-signoff-4-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://sdk-signoff-4-eastus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"locations\": [\r\n {\r\n \"id\": \"sdk-signoff-4-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://sdk-signoff-4-eastus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"failoverPolicies\": [\r\n {\r\n \"id\": \"sdk-signoff-4-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"failoverPriority\": 0\r\n }\r\n ],\r\n \"cors\": [],\r\n \"capabilities\": [],\r\n \"ipRules\": [],\r\n \"backupPolicy\": {\r\n \"type\": \"Periodic\",\r\n \"periodicModeProperties\": {\r\n \"backupIntervalInMinutes\": 60,\r\n \"backupRetentionIntervalInHours\": 8,\r\n \"backupStorageRedundancy\": \"Geo\"\r\n }\r\n },\r\n \"networkAclBypassResourceIds\": []\r\n },\r\n \"identity\": {\r\n \"type\": \"None\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/resourceGroups/testshbyok/providers/Microsoft.DocumentDB/databaseAccounts/testslestg1\",\r\n \"name\": \"testslestg1\",\r\n \"location\": \"East US 2\",\r\n \"type\": \"Microsoft.DocumentDB/databaseAccounts\",\r\n \"kind\": \"GlobalDocumentDB\",\r\n \"tags\": {},\r\n \"systemData\": {\r\n \"createdAt\": \"2020-07-07T06:24:58.3661081Z\"\r\n },\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"documentEndpoint\": \"https://testslestg1.documents-staging.windows-ppe.net:443/\",\r\n \"publicNetworkAccess\": \"Enabled\",\r\n \"enableAutomaticFailover\": false,\r\n \"enableMultipleWriteLocations\": false,\r\n \"enablePartitionKeyMonitor\": false,\r\n \"isVirtualNetworkFilterEnabled\": false,\r\n \"virtualNetworkRules\": [],\r\n \"EnabledApiTypes\": \"Sql\",\r\n \"disableKeyBasedMetadataWriteAccess\": false,\r\n \"enableFreeTier\": false,\r\n \"enableAnalyticalStorage\": false,\r\n \"analyticalStorageConfiguration\": null,\r\n \"instanceId\": \"59539dd3-084c-49e7-99a7-69ef9d70249c\",\r\n \"createMode\": \"Default\",\r\n \"databaseAccountOfferType\": \"Standard\",\r\n \"enableCassandraConnector\": false,\r\n \"connectorOffer\": \"\",\r\n \"defaultIdentity\": \"\",\r\n \"networkAclBypass\": \"None\",\r\n \"consistencyPolicy\": {\r\n \"defaultConsistencyLevel\": \"BoundedStaleness\",\r\n \"maxIntervalInSeconds\": 5,\r\n \"maxStalenessPrefix\": 100\r\n },\r\n \"configurationOverrides\": {},\r\n \"writeLocations\": [\r\n {\r\n \"id\": \"testslestg1-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://testslestg1-eastus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"readLocations\": [\r\n {\r\n \"id\": \"testslestg1-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://testslestg1-eastus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"locations\": [\r\n {\r\n \"id\": \"testslestg1-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://testslestg1-eastus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"failoverPolicies\": [\r\n {\r\n \"id\": \"testslestg1-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"failoverPriority\": 0\r\n }\r\n ],\r\n \"cors\": [],\r\n \"capabilities\": [\r\n {\r\n \"name\": \"EnableServerless\"\r\n }\r\n ],\r\n \"ipRules\": [],\r\n \"backupPolicy\": {\r\n \"type\": \"Periodic\",\r\n \"periodicModeProperties\": {\r\n \"backupIntervalInMinutes\": 60,\r\n \"backupRetentionIntervalInHours\": 8,\r\n \"backupStorageRedundancy\": \"Geo\"\r\n }\r\n },\r\n \"networkAclBypassResourceIds\": []\r\n },\r\n \"identity\": {\r\n \"type\": \"None\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/resourceGroups/shmotlan/providers/Microsoft.DocumentDB/databaseAccounts/shan-0726-table\",\r\n \"name\": \"shan-0726-table\",\r\n \"location\": \"East US 2\",\r\n \"type\": \"Microsoft.DocumentDB/databaseAccounts\",\r\n \"kind\": \"GlobalDocumentDB\",\r\n \"tags\": {\r\n \"defaultExperience\": \"Azure Table\"\r\n },\r\n \"systemData\": {\r\n \"createdAt\": \"2019-07-26T20:36:43.7104962Z\"\r\n },\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"documentEndpoint\": \"https://shan-0726-table.documents-staging.windows-ppe.net:443/\",\r\n \"tableEndpoint\": \"https://shan-0726-table.table.cosmos.windows-ppe.net:443/\",\r\n \"publicNetworkAccess\": \"Enabled\",\r\n \"enableAutomaticFailover\": false,\r\n \"enableMultipleWriteLocations\": true,\r\n \"enablePartitionKeyMonitor\": false,\r\n \"isVirtualNetworkFilterEnabled\": false,\r\n \"virtualNetworkRules\": [],\r\n \"EnabledApiTypes\": \"Table, Sql\",\r\n \"disableKeyBasedMetadataWriteAccess\": false,\r\n \"enableFreeTier\": false,\r\n \"enableAnalyticalStorage\": false,\r\n \"analyticalStorageConfiguration\": null,\r\n \"instanceId\": \"59ddffb8-6900-47e7-bd37-664aa84ee92a\",\r\n \"createMode\": \"Default\",\r\n \"databaseAccountOfferType\": \"Standard\",\r\n \"enableCassandraConnector\": false,\r\n \"connectorOffer\": \"\",\r\n \"defaultIdentity\": \"\",\r\n \"networkAclBypass\": \"None\",\r\n \"consistencyPolicy\": {\r\n \"defaultConsistencyLevel\": \"BoundedStaleness\",\r\n \"maxIntervalInSeconds\": 86400,\r\n \"maxStalenessPrefix\": 1000000\r\n },\r\n \"configurationOverrides\": {},\r\n \"writeLocations\": [\r\n {\r\n \"id\": \"shan-0726-table-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://shan-0726-table-eastus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"readLocations\": [\r\n {\r\n \"id\": \"shan-0726-table-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://shan-0726-table-eastus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"locations\": [\r\n {\r\n \"id\": \"shan-0726-table-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://shan-0726-table-eastus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"failoverPolicies\": [\r\n {\r\n \"id\": \"shan-0726-table-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"failoverPriority\": 0\r\n }\r\n ],\r\n \"cors\": [],\r\n \"capabilities\": [\r\n {\r\n \"name\": \"EnableTable\"\r\n }\r\n ],\r\n \"ipRules\": [],\r\n \"backupPolicy\": {\r\n \"type\": \"Periodic\",\r\n \"periodicModeProperties\": {\r\n \"backupIntervalInMinutes\": 240,\r\n \"backupRetentionIntervalInHours\": 8,\r\n \"backupStorageRedundancy\": \"Geo\"\r\n }\r\n },\r\n \"networkAclBypassResourceIds\": []\r\n },\r\n \"identity\": {\r\n \"type\": \"None\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/resourceGroups/shmotlan/providers/Microsoft.DocumentDB/databaseAccounts/shan-mongo-0823-signoff\",\r\n \"name\": \"shan-mongo-0823-signoff\",\r\n \"location\": \"East US 2\",\r\n \"type\": \"Microsoft.DocumentDB/databaseAccounts\",\r\n \"kind\": \"MongoDB\",\r\n \"tags\": {\r\n \"defaultExperience\": \"Azure Cosmos DB for MongoDB API\"\r\n },\r\n \"systemData\": {\r\n \"createdAt\": \"2019-08-24T00:04:42.9422316Z\"\r\n },\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"documentEndpoint\": \"https://shan-mongo-0823-signoff.documents-staging.windows-ppe.net:443/\",\r\n \"mongoEndpoint\": \"https://shan-mongo-0823-signoff.mongo.cosmos.windows-ppe.net:443/\",\r\n \"publicNetworkAccess\": \"Enabled\",\r\n \"enableAutomaticFailover\": false,\r\n \"enableMultipleWriteLocations\": false,\r\n \"enablePartitionKeyMonitor\": false,\r\n \"isVirtualNetworkFilterEnabled\": false,\r\n \"virtualNetworkRules\": [],\r\n \"EnabledApiTypes\": \"MongoDB\",\r\n \"disableKeyBasedMetadataWriteAccess\": false,\r\n \"enableFreeTier\": false,\r\n \"enableAnalyticalStorage\": false,\r\n \"analyticalStorageConfiguration\": null,\r\n \"instanceId\": \"70980066-47c7-43ba-8343-a1e645417dc1\",\r\n \"createMode\": \"Default\",\r\n \"databaseAccountOfferType\": \"Standard\",\r\n \"enableCassandraConnector\": false,\r\n \"connectorOffer\": \"\",\r\n \"defaultIdentity\": \"\",\r\n \"networkAclBypass\": \"None\",\r\n \"consistencyPolicy\": {\r\n \"defaultConsistencyLevel\": \"Session\",\r\n \"maxIntervalInSeconds\": 5,\r\n \"maxStalenessPrefix\": 100\r\n },\r\n \"apiProperties\": {\r\n \"serverVersion\": \"3.6\"\r\n },\r\n \"configurationOverrides\": {\r\n \"EnableBsonSchema\": \"True\"\r\n },\r\n \"writeLocations\": [\r\n {\r\n \"id\": \"shan-mongo-0823-signoff-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://shan-mongo-0823-signoff-eastus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"readLocations\": [\r\n {\r\n \"id\": \"shan-mongo-0823-signoff-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://shan-mongo-0823-signoff-eastus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"locations\": [\r\n {\r\n \"id\": \"shan-mongo-0823-signoff-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://shan-mongo-0823-signoff-eastus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"failoverPolicies\": [\r\n {\r\n \"id\": \"shan-mongo-0823-signoff-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"failoverPriority\": 0\r\n }\r\n ],\r\n \"cors\": [],\r\n \"capabilities\": [\r\n {\r\n \"name\": \"EnableMongo\"\r\n }\r\n ],\r\n \"ipRules\": [],\r\n \"backupPolicy\": {\r\n \"type\": \"Periodic\",\r\n \"periodicModeProperties\": {\r\n \"backupIntervalInMinutes\": 240,\r\n \"backupRetentionIntervalInHours\": 8,\r\n \"backupStorageRedundancy\": \"Geo\"\r\n }\r\n },\r\n \"networkAclBypassResourceIds\": []\r\n },\r\n \"identity\": {\r\n \"type\": \"None\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/resourceGroups/tpcdsmongo/providers/Microsoft.DocumentDB/databaseAccounts/tpcdsbenchmark\",\r\n \"name\": \"tpcdsbenchmark\",\r\n \"location\": \"East US 2\",\r\n \"type\": \"Microsoft.DocumentDB/databaseAccounts\",\r\n \"kind\": \"MongoDB\",\r\n \"tags\": {\r\n \"defaultExperience\": \"Azure Cosmos DB for MongoDB API\",\r\n \"hidden-cosmos-mmspecial\": \"\",\r\n \"CosmosAccountType\": \"Non-Production\"\r\n },\r\n \"systemData\": {\r\n \"createdAt\": \"2020-07-16T22:23:23.5848066Z\"\r\n },\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"documentEndpoint\": \"https://tpcdsbenchmark.documents-staging.windows-ppe.net:443/\",\r\n \"mongoEndpoint\": \"https://tpcdsbenchmark.mongo.cosmos.windows-ppe.net:443/\",\r\n \"publicNetworkAccess\": \"Enabled\",\r\n \"enableAutomaticFailover\": false,\r\n \"enableMultipleWriteLocations\": false,\r\n \"enablePartitionKeyMonitor\": false,\r\n \"isVirtualNetworkFilterEnabled\": false,\r\n \"virtualNetworkRules\": [],\r\n \"EnabledApiTypes\": \"MongoDB\",\r\n \"disableKeyBasedMetadataWriteAccess\": false,\r\n \"enableFreeTier\": false,\r\n \"enableAnalyticalStorage\": true,\r\n \"analyticalStorageConfiguration\": null,\r\n \"instanceId\": \"c06b7af8-c274-4642-a329-192c864422e1\",\r\n \"createMode\": \"Default\",\r\n \"databaseAccountOfferType\": \"Standard\",\r\n \"enableCassandraConnector\": false,\r\n \"connectorOffer\": \"\",\r\n \"defaultIdentity\": \"\",\r\n \"networkAclBypass\": \"None\",\r\n \"consistencyPolicy\": {\r\n \"defaultConsistencyLevel\": \"Session\",\r\n \"maxIntervalInSeconds\": 5,\r\n \"maxStalenessPrefix\": 100\r\n },\r\n \"apiProperties\": {\r\n \"serverVersion\": \"3.6\"\r\n },\r\n \"configurationOverrides\": {\r\n \"EnableBsonSchema\": \"True\"\r\n },\r\n \"writeLocations\": [\r\n {\r\n \"id\": \"tpcdsbenchmark-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://tpcdsbenchmark-eastus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"readLocations\": [\r\n {\r\n \"id\": \"tpcdsbenchmark-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://tpcdsbenchmark-eastus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"locations\": [\r\n {\r\n \"id\": \"tpcdsbenchmark-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://tpcdsbenchmark-eastus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"failoverPolicies\": [\r\n {\r\n \"id\": \"tpcdsbenchmark-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"failoverPriority\": 0\r\n }\r\n ],\r\n \"cors\": [],\r\n \"capabilities\": [\r\n {\r\n \"name\": \"EnableMongo\"\r\n },\r\n {\r\n \"name\": \"DisableRateLimitingResponses\"\r\n }\r\n ],\r\n \"ipRules\": [],\r\n \"backupPolicy\": {\r\n \"type\": \"Periodic\",\r\n \"periodicModeProperties\": {\r\n \"backupIntervalInMinutes\": 240,\r\n \"backupRetentionIntervalInHours\": 8,\r\n \"backupStorageRedundancy\": \"Geo\"\r\n }\r\n },\r\n \"networkAclBypassResourceIds\": []\r\n },\r\n \"identity\": {\r\n \"type\": \"None\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/resourceGroups/vimeng-rg/providers/Microsoft.DocumentDB/databaseAccounts/vimeng-stage-cass-nb\",\r\n \"name\": \"vimeng-stage-cass-nb\",\r\n \"location\": \"East US 2\",\r\n \"type\": \"Microsoft.DocumentDB/databaseAccounts\",\r\n \"kind\": \"GlobalDocumentDB\",\r\n \"tags\": {\r\n \"defaultExperience\": \"Cassandra\",\r\n \"hidden-cosmos-mmspecial\": \"\",\r\n \"CosmosAccountType\": \"Non-Production\"\r\n },\r\n \"systemData\": {\r\n \"createdAt\": \"2020-03-05T00:19:21.5373582Z\"\r\n },\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"documentEndpoint\": \"https://vimeng-stage-cass-nb.documents-staging.windows-ppe.net:443/\",\r\n \"cassandraEndpoint\": \"https://vimeng-stage-cass-nb.cassandra.cosmos.windows-ppe.net:443/\",\r\n \"publicNetworkAccess\": \"Enabled\",\r\n \"enableAutomaticFailover\": false,\r\n \"enableMultipleWriteLocations\": false,\r\n \"enablePartitionKeyMonitor\": false,\r\n \"isVirtualNetworkFilterEnabled\": false,\r\n \"virtualNetworkRules\": [],\r\n \"EnabledApiTypes\": \"Cassandra\",\r\n \"disableKeyBasedMetadataWriteAccess\": false,\r\n \"enableFreeTier\": false,\r\n \"enableAnalyticalStorage\": false,\r\n \"analyticalStorageConfiguration\": null,\r\n \"instanceId\": \"ef4bbb82-0eff-4861-bfe6-ab61688257d2\",\r\n \"createMode\": \"Default\",\r\n \"databaseAccountOfferType\": \"Standard\",\r\n \"enableCassandraConnector\": false,\r\n \"connectorOffer\": \"\",\r\n \"defaultIdentity\": \"\",\r\n \"networkAclBypass\": \"None\",\r\n \"consistencyPolicy\": {\r\n \"defaultConsistencyLevel\": \"Session\",\r\n \"maxIntervalInSeconds\": 5,\r\n \"maxStalenessPrefix\": 100\r\n },\r\n \"configurationOverrides\": {},\r\n \"writeLocations\": [\r\n {\r\n \"id\": \"vimeng-stage-cass-nb-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://vimeng-stage-cass-nb-eastus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"readLocations\": [\r\n {\r\n \"id\": \"vimeng-stage-cass-nb-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://vimeng-stage-cass-nb-eastus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"locations\": [\r\n {\r\n \"id\": \"vimeng-stage-cass-nb-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://vimeng-stage-cass-nb-eastus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"failoverPolicies\": [\r\n {\r\n \"id\": \"vimeng-stage-cass-nb-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"failoverPriority\": 0\r\n }\r\n ],\r\n \"cors\": [],\r\n \"capabilities\": [\r\n {\r\n \"name\": \"EnableStorageAnalytics\"\r\n },\r\n {\r\n \"name\": \"EnableCassandra\"\r\n }\r\n ],\r\n \"ipRules\": [],\r\n \"backupPolicy\": {\r\n \"type\": \"Periodic\",\r\n \"periodicModeProperties\": {\r\n \"backupIntervalInMinutes\": 60,\r\n \"backupRetentionIntervalInHours\": 8,\r\n \"backupStorageRedundancy\": \"Geo\"\r\n }\r\n },\r\n \"networkAclBypassResourceIds\": []\r\n },\r\n \"identity\": {\r\n \"type\": \"None\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/resourceGroups/test-rg/providers/Microsoft.DocumentDB/databaseAccounts/testkeksh1014\",\r\n \"name\": \"testkeksh1014\",\r\n \"location\": \"East US 2\",\r\n \"type\": \"Microsoft.DocumentDB/databaseAccounts\",\r\n \"kind\": \"DocumentDB\",\r\n \"tags\": {},\r\n \"systemData\": {\r\n \"createdAt\": \"2019-10-14T22:57:10.7535281Z\"\r\n },\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"documentEndpoint\": \"https://testkeksh1014.documents-staging.windows-ppe.net:443/\",\r\n \"publicNetworkAccess\": \"Enabled\",\r\n \"enableAutomaticFailover\": false,\r\n \"enableMultipleWriteLocations\": false,\r\n \"enablePartitionKeyMonitor\": false,\r\n \"isVirtualNetworkFilterEnabled\": false,\r\n \"virtualNetworkRules\": [],\r\n \"EnabledApiTypes\": \"Sql\",\r\n \"disableKeyBasedMetadataWriteAccess\": false,\r\n \"enableFreeTier\": false,\r\n \"enableAnalyticalStorage\": false,\r\n \"analyticalStorageConfiguration\": null,\r\n \"instanceId\": \"1a0617f8-e4aa-4202-856f-7a3742de2fde\",\r\n \"createMode\": \"Default\",\r\n \"databaseAccountOfferType\": \"Standard\",\r\n \"defaultIdentity\": \"\",\r\n \"networkAclBypass\": \"None\",\r\n \"consistencyPolicy\": {\r\n \"defaultConsistencyLevel\": \"Session\",\r\n \"maxIntervalInSeconds\": 5,\r\n \"maxStalenessPrefix\": 100\r\n },\r\n \"configurationOverrides\": {},\r\n \"writeLocations\": [\r\n {\r\n \"id\": \"testkeksh1014-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://testkeksh1014-eastus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"readLocations\": [\r\n {\r\n \"id\": \"testkeksh1014-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://testkeksh1014-eastus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"locations\": [\r\n {\r\n \"id\": \"testkeksh1014-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://testkeksh1014-eastus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"failoverPolicies\": [\r\n {\r\n \"id\": \"testkeksh1014-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"failoverPriority\": 0\r\n }\r\n ],\r\n \"cors\": [],\r\n \"capabilities\": [],\r\n \"ipRules\": [],\r\n \"backupPolicy\": {\r\n \"type\": \"Periodic\",\r\n \"periodicModeProperties\": {\r\n \"backupIntervalInMinutes\": 30,\r\n \"backupRetentionIntervalInHours\": 8,\r\n \"backupStorageRedundancy\": \"Geo\"\r\n }\r\n },\r\n \"networkAclBypassResourceIds\": []\r\n },\r\n \"identity\": {\r\n \"type\": \"None\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/resourceGroups/vivekrastage/providers/Microsoft.DocumentDB/databaseAccounts/vivekrastagesignoffeu2\",\r\n \"name\": \"vivekrastagesignoffeu2\",\r\n \"location\": \"East US 2\",\r\n \"type\": \"Microsoft.DocumentDB/databaseAccounts\",\r\n \"kind\": \"GlobalDocumentDB\",\r\n \"tags\": {\r\n \"defaultExperience\": \"Cassandra\",\r\n \"hidden-cosmos-mmspecial\": \"\"\r\n },\r\n \"systemData\": {\r\n \"createdAt\": \"2020-01-28T19:55:21.6550449Z\"\r\n },\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"documentEndpoint\": \"https://vivekrastagesignoffeu2.documents-staging.windows-ppe.net:443/\",\r\n \"cassandraEndpoint\": \"https://vivekrastagesignoffeu2.cassandra.cosmos.windows-ppe.net:443/\",\r\n \"publicNetworkAccess\": \"Enabled\",\r\n \"enableAutomaticFailover\": false,\r\n \"enableMultipleWriteLocations\": false,\r\n \"enablePartitionKeyMonitor\": false,\r\n \"isVirtualNetworkFilterEnabled\": false,\r\n \"virtualNetworkRules\": [],\r\n \"EnabledApiTypes\": \"Cassandra\",\r\n \"disableKeyBasedMetadataWriteAccess\": false,\r\n \"enableFreeTier\": false,\r\n \"enableAnalyticalStorage\": false,\r\n \"analyticalStorageConfiguration\": null,\r\n \"instanceId\": \"c8629ee6-86f5-49f3-a222-b6c6622be2d5\",\r\n \"createMode\": \"Default\",\r\n \"databaseAccountOfferType\": \"Standard\",\r\n \"enableCassandraConnector\": false,\r\n \"connectorOffer\": \"\",\r\n \"defaultIdentity\": \"\",\r\n \"networkAclBypass\": \"None\",\r\n \"consistencyPolicy\": {\r\n \"defaultConsistencyLevel\": \"Session\",\r\n \"maxIntervalInSeconds\": 5,\r\n \"maxStalenessPrefix\": 100\r\n },\r\n \"configurationOverrides\": {},\r\n \"writeLocations\": [\r\n {\r\n \"id\": \"vivekrastagesignoffeu2-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://vivekrastagesignoffeu2-eastus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"readLocations\": [\r\n {\r\n \"id\": \"vivekrastagesignoffeu2-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://vivekrastagesignoffeu2-eastus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"locations\": [\r\n {\r\n \"id\": \"vivekrastagesignoffeu2-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://vivekrastagesignoffeu2-eastus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"failoverPolicies\": [\r\n {\r\n \"id\": \"vivekrastagesignoffeu2-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"failoverPriority\": 0\r\n }\r\n ],\r\n \"cors\": [],\r\n \"capabilities\": [\r\n {\r\n \"name\": \"EnableStorageAnalytics\"\r\n },\r\n {\r\n \"name\": \"EnableCassandra\"\r\n }\r\n ],\r\n \"ipRules\": [],\r\n \"backupPolicy\": {\r\n \"type\": \"Periodic\",\r\n \"periodicModeProperties\": {\r\n \"backupIntervalInMinutes\": 60,\r\n \"backupRetentionIntervalInHours\": 8,\r\n \"backupStorageRedundancy\": \"Geo\"\r\n }\r\n },\r\n \"networkAclBypassResourceIds\": []\r\n },\r\n \"identity\": {\r\n \"type\": \"None\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/resourceGroups/rg-20190523t2055476364/providers/Microsoft.DocumentDB/databaseAccounts/sv-20190523t2055476364-restored1\",\r\n \"name\": \"sv-20190523t2055476364-restored1\",\r\n \"location\": \"East US 2\",\r\n \"type\": \"Microsoft.DocumentDB/databaseAccounts\",\r\n \"kind\": \"GlobalDocumentDB\",\r\n \"tags\": {\r\n \"restoredSourceDatabaseAccountName\": \"sv-20190523t2055476364\",\r\n \"restoredAtTimestamp\": \"5/24/2019 4:34:37 AM\"\r\n },\r\n \"systemData\": {\r\n \"createdAt\": \"2019-05-24T05:00:26.8477667Z\"\r\n },\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"documentEndpoint\": \"https://sv-20190523t2055476364-restored1.documents-staging.windows-ppe.net:443/\",\r\n \"publicNetworkAccess\": \"Enabled\",\r\n \"enableAutomaticFailover\": false,\r\n \"enableMultipleWriteLocations\": false,\r\n \"enablePartitionKeyMonitor\": false,\r\n \"isVirtualNetworkFilterEnabled\": false,\r\n \"virtualNetworkRules\": [],\r\n \"EnabledApiTypes\": \"Sql\",\r\n \"disableKeyBasedMetadataWriteAccess\": false,\r\n \"enableFreeTier\": false,\r\n \"enableAnalyticalStorage\": false,\r\n \"analyticalStorageConfiguration\": null,\r\n \"instanceId\": \"51d0487f-3e77-40c4-9a8c-341b1049c243\",\r\n \"createMode\": \"Default\",\r\n \"databaseAccountOfferType\": \"Standard\",\r\n \"defaultIdentity\": \"\",\r\n \"networkAclBypass\": \"None\",\r\n \"consistencyPolicy\": {\r\n \"defaultConsistencyLevel\": \"Session\",\r\n \"maxIntervalInSeconds\": 5,\r\n \"maxStalenessPrefix\": 100\r\n },\r\n \"configurationOverrides\": {},\r\n \"writeLocations\": [\r\n {\r\n \"id\": \"sv-20190523t2055476364-restored1-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://sv-20190523t2055476364-restored1-eastus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"readLocations\": [\r\n {\r\n \"id\": \"sv-20190523t2055476364-restored1-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://sv-20190523t2055476364-restored1-eastus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"locations\": [\r\n {\r\n \"id\": \"sv-20190523t2055476364-restored1-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://sv-20190523t2055476364-restored1-eastus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"failoverPolicies\": [\r\n {\r\n \"id\": \"sv-20190523t2055476364-restored1-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"failoverPriority\": 0\r\n }\r\n ],\r\n \"cors\": [],\r\n \"capabilities\": [],\r\n \"ipRules\": [],\r\n \"backupPolicy\": {\r\n \"type\": \"Periodic\",\r\n \"periodicModeProperties\": {\r\n \"backupIntervalInMinutes\": 5,\r\n \"backupRetentionIntervalInHours\": 8,\r\n \"backupStorageRedundancy\": \"Geo\"\r\n }\r\n },\r\n \"networkAclBypassResourceIds\": []\r\n },\r\n \"identity\": {\r\n \"type\": \"None\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/resourceGroups/test-rg/providers/Microsoft.DocumentDB/databaseAccounts/testsanalytics1018\",\r\n \"name\": \"testsanalytics1018\",\r\n \"location\": \"East US 2\",\r\n \"type\": \"Microsoft.DocumentDB/databaseAccounts\",\r\n \"kind\": \"DocumentDB\",\r\n \"tags\": {},\r\n \"systemData\": {\r\n \"createdAt\": \"2019-10-19T00:06:26.5707715Z\"\r\n },\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"documentEndpoint\": \"https://testsanalytics1018.documents-staging.windows-ppe.net:443/\",\r\n \"publicNetworkAccess\": \"Enabled\",\r\n \"enableAutomaticFailover\": false,\r\n \"enableMultipleWriteLocations\": false,\r\n \"enablePartitionKeyMonitor\": false,\r\n \"isVirtualNetworkFilterEnabled\": false,\r\n \"virtualNetworkRules\": [],\r\n \"EnabledApiTypes\": \"Sql\",\r\n \"disableKeyBasedMetadataWriteAccess\": false,\r\n \"enableFreeTier\": false,\r\n \"enableAnalyticalStorage\": false,\r\n \"analyticalStorageConfiguration\": null,\r\n \"instanceId\": \"68561ebe-3527-4cd6-991d-ce3e4c72abd9\",\r\n \"createMode\": \"Default\",\r\n \"databaseAccountOfferType\": \"Standard\",\r\n \"defaultIdentity\": \"\",\r\n \"networkAclBypass\": \"None\",\r\n \"consistencyPolicy\": {\r\n \"defaultConsistencyLevel\": \"Session\",\r\n \"maxIntervalInSeconds\": 5,\r\n \"maxStalenessPrefix\": 100\r\n },\r\n \"configurationOverrides\": {},\r\n \"writeLocations\": [\r\n {\r\n \"id\": \"testsanalytics1018-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://testsanalytics1018-eastus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"readLocations\": [\r\n {\r\n \"id\": \"testsanalytics1018-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://testsanalytics1018-eastus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n },\r\n {\r\n \"id\": \"testsanalytics1018-southeastasia\",\r\n \"locationName\": \"Southeast Asia\",\r\n \"documentEndpoint\": \"https://testsanalytics1018-southeastasia.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 1,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"locations\": [\r\n {\r\n \"id\": \"testsanalytics1018-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://testsanalytics1018-eastus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n },\r\n {\r\n \"id\": \"testsanalytics1018-southeastasia\",\r\n \"locationName\": \"Southeast Asia\",\r\n \"documentEndpoint\": \"https://testsanalytics1018-southeastasia.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 1,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"failoverPolicies\": [\r\n {\r\n \"id\": \"testsanalytics1018-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"failoverPriority\": 0\r\n },\r\n {\r\n \"id\": \"testsanalytics1018-southeastasia\",\r\n \"locationName\": \"Southeast Asia\",\r\n \"failoverPriority\": 1\r\n }\r\n ],\r\n \"cors\": [],\r\n \"capabilities\": [\r\n {\r\n \"name\": \"EnableStorageAnalytics\"\r\n }\r\n ],\r\n \"ipRules\": [],\r\n \"backupPolicy\": {\r\n \"type\": \"Periodic\",\r\n \"periodicModeProperties\": {\r\n \"backupIntervalInMinutes\": 30,\r\n \"backupRetentionIntervalInHours\": 8,\r\n \"backupStorageRedundancy\": \"Geo\"\r\n }\r\n },\r\n \"networkAclBypassResourceIds\": []\r\n },\r\n \"identity\": {\r\n \"type\": \"None\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/resourceGroups/test2/providers/Microsoft.DocumentDB/databaseAccounts/testshmongo1\",\r\n \"name\": \"testshmongo1\",\r\n \"location\": \"East US 2\",\r\n \"type\": \"Microsoft.DocumentDB/databaseAccounts\",\r\n \"kind\": \"MongoDB\",\r\n \"tags\": {},\r\n \"systemData\": {\r\n \"createdAt\": \"2019-07-02T22:18:56.4985682Z\"\r\n },\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"documentEndpoint\": \"https://testshmongo1.documents-staging.windows-ppe.net:443/\",\r\n \"mongoEndpoint\": \"https://testshmongo1.mongo.cosmos.windows-ppe.net:443/\",\r\n \"publicNetworkAccess\": \"Enabled\",\r\n \"enableAutomaticFailover\": false,\r\n \"enableMultipleWriteLocations\": false,\r\n \"enablePartitionKeyMonitor\": false,\r\n \"isVirtualNetworkFilterEnabled\": false,\r\n \"virtualNetworkRules\": [],\r\n \"EnabledApiTypes\": \"MongoDB\",\r\n \"disableKeyBasedMetadataWriteAccess\": false,\r\n \"enableFreeTier\": false,\r\n \"enableAnalyticalStorage\": false,\r\n \"analyticalStorageConfiguration\": null,\r\n \"instanceId\": \"ce82def7-d23d-4d8a-b4f0-e14955eca281\",\r\n \"createMode\": \"Default\",\r\n \"databaseAccountOfferType\": \"Standard\",\r\n \"enableCassandraConnector\": false,\r\n \"connectorOffer\": \"\",\r\n \"defaultIdentity\": \"\",\r\n \"networkAclBypass\": \"None\",\r\n \"consistencyPolicy\": {\r\n \"defaultConsistencyLevel\": \"Session\",\r\n \"maxIntervalInSeconds\": 5,\r\n \"maxStalenessPrefix\": 100\r\n },\r\n \"apiProperties\": {\r\n \"serverVersion\": \"3.6\"\r\n },\r\n \"configurationOverrides\": {\r\n \"EnableBsonSchema\": \"True\"\r\n },\r\n \"writeLocations\": [\r\n {\r\n \"id\": \"testshmongo1-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://testshmongo1-eastus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"readLocations\": [\r\n {\r\n \"id\": \"testshmongo1-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://testshmongo1-eastus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"locations\": [\r\n {\r\n \"id\": \"testshmongo1-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://testshmongo1-eastus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"failoverPolicies\": [\r\n {\r\n \"id\": \"testshmongo1-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"failoverPriority\": 0\r\n }\r\n ],\r\n \"cors\": [],\r\n \"capabilities\": [\r\n {\r\n \"name\": \"EnableMongo\"\r\n }\r\n ],\r\n \"ipRules\": [],\r\n \"backupPolicy\": {\r\n \"type\": \"Periodic\",\r\n \"periodicModeProperties\": {\r\n \"backupIntervalInMinutes\": 240,\r\n \"backupRetentionIntervalInHours\": 8,\r\n \"backupStorageRedundancy\": \"Geo\"\r\n }\r\n },\r\n \"networkAclBypassResourceIds\": []\r\n },\r\n \"identity\": {\r\n \"type\": \"None\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/resourceGroups/shan/providers/Microsoft.DocumentDB/databaseAccounts/stage-test-0408\",\r\n \"name\": \"stage-test-0408\",\r\n \"location\": \"East US 2\",\r\n \"type\": \"Microsoft.DocumentDB/databaseAccounts\",\r\n \"kind\": \"GlobalDocumentDB\",\r\n \"tags\": {\r\n \"defaultExperience\": \"Core (SQL)\",\r\n \"$type\": \"Microsoft.WindowsAzure.Management.Common.Storage.CasePreservedDictionary, Microsoft.WindowsAzure.Management.Common.Storage\"\r\n },\r\n \"systemData\": {\r\n \"createdAt\": \"2019-04-08T20:42:00.525745Z\"\r\n },\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"documentEndpoint\": \"https://stage-test-0408.documents-staging.windows-ppe.net:443/\",\r\n \"publicNetworkAccess\": \"Enabled\",\r\n \"enableAutomaticFailover\": false,\r\n \"enableMultipleWriteLocations\": true,\r\n \"enablePartitionKeyMonitor\": false,\r\n \"isVirtualNetworkFilterEnabled\": false,\r\n \"virtualNetworkRules\": [],\r\n \"EnabledApiTypes\": \"Sql\",\r\n \"disableKeyBasedMetadataWriteAccess\": false,\r\n \"enableFreeTier\": false,\r\n \"enableAnalyticalStorage\": false,\r\n \"analyticalStorageConfiguration\": null,\r\n \"instanceId\": \"c3e831f3-fa1e-4634-99c1-8e04ae92a998\",\r\n \"createMode\": \"Default\",\r\n \"databaseAccountOfferType\": \"Standard\",\r\n \"defaultIdentity\": \"\",\r\n \"networkAclBypass\": \"None\",\r\n \"consistencyPolicy\": {\r\n \"defaultConsistencyLevel\": \"Session\",\r\n \"maxIntervalInSeconds\": 5,\r\n \"maxStalenessPrefix\": 100\r\n },\r\n \"configurationOverrides\": {},\r\n \"writeLocations\": [\r\n {\r\n \"id\": \"stage-test-0408-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://stage-test-0408-eastus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"readLocations\": [\r\n {\r\n \"id\": \"stage-test-0408-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://stage-test-0408-eastus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"locations\": [\r\n {\r\n \"id\": \"stage-test-0408-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://stage-test-0408-eastus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"failoverPolicies\": [\r\n {\r\n \"id\": \"stage-test-0408-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"failoverPriority\": 0\r\n }\r\n ],\r\n \"cors\": [],\r\n \"capabilities\": [],\r\n \"ipRules\": [],\r\n \"backupPolicy\": {\r\n \"type\": \"Periodic\",\r\n \"periodicModeProperties\": {\r\n \"backupIntervalInMinutes\": 240,\r\n \"backupRetentionIntervalInHours\": 8,\r\n \"backupStorageRedundancy\": \"Geo\"\r\n }\r\n },\r\n \"networkAclBypassResourceIds\": []\r\n },\r\n \"identity\": {\r\n \"type\": \"None\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/resourceGroups/testshbyok/providers/Microsoft.DocumentDB/databaseAccounts/testshref4\",\r\n \"name\": \"testshref4\",\r\n \"location\": \"East US 2\",\r\n \"type\": \"Microsoft.DocumentDB/databaseAccounts\",\r\n \"kind\": \"GlobalDocumentDB\",\r\n \"tags\": {\r\n \"defaultExperience\": \"Core (SQL)\",\r\n \"hidden-cosmos-mmspecial\": \"\",\r\n \"CosmosAccountType\": \"Non-Production\"\r\n },\r\n \"systemData\": {\r\n \"createdAt\": \"2020-08-14T02:01:53.1320728Z\"\r\n },\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"documentEndpoint\": \"https://testshref4.documents-staging.windows-ppe.net:443/\",\r\n \"publicNetworkAccess\": \"Enabled\",\r\n \"enableAutomaticFailover\": false,\r\n \"enableMultipleWriteLocations\": false,\r\n \"enablePartitionKeyMonitor\": false,\r\n \"isVirtualNetworkFilterEnabled\": false,\r\n \"virtualNetworkRules\": [],\r\n \"EnabledApiTypes\": \"Sql\",\r\n \"disableKeyBasedMetadataWriteAccess\": false,\r\n \"enableFreeTier\": false,\r\n \"enableAnalyticalStorage\": false,\r\n \"analyticalStorageConfiguration\": null,\r\n \"instanceId\": \"c2521bc1-b5e6-4dd4-9a6d-645694b94b47\",\r\n \"createMode\": \"Default\",\r\n \"databaseAccountOfferType\": \"Standard\",\r\n \"enableCassandraConnector\": false,\r\n \"connectorOffer\": \"\",\r\n \"keyVaultKeyUri\": \"https://testshtest1.vault.azure.net/keys/key2\",\r\n \"defaultIdentity\": \"\",\r\n \"networkAclBypass\": \"None\",\r\n \"consistencyPolicy\": {\r\n \"defaultConsistencyLevel\": \"Session\",\r\n \"maxIntervalInSeconds\": 5,\r\n \"maxStalenessPrefix\": 100\r\n },\r\n \"configurationOverrides\": {},\r\n \"writeLocations\": [\r\n {\r\n \"id\": \"testshref4-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://testshref4-eastus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"readLocations\": [\r\n {\r\n \"id\": \"testshref4-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://testshref4-eastus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"locations\": [\r\n {\r\n \"id\": \"testshref4-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://testshref4-eastus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"failoverPolicies\": [\r\n {\r\n \"id\": \"testshref4-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"failoverPriority\": 0\r\n }\r\n ],\r\n \"cors\": [],\r\n \"capabilities\": [],\r\n \"ipRules\": [],\r\n \"backupPolicy\": {\r\n \"type\": \"Periodic\",\r\n \"periodicModeProperties\": {\r\n \"backupIntervalInMinutes\": 240,\r\n \"backupRetentionIntervalInHours\": 8,\r\n \"backupStorageRedundancy\": \"Geo\"\r\n }\r\n },\r\n \"networkAclBypassResourceIds\": []\r\n },\r\n \"identity\": {\r\n \"type\": \"None\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/resourceGroups/testshbyok/providers/Microsoft.DocumentDB/databaseAccounts/testshstgbyok15\",\r\n \"name\": \"testshstgbyok15\",\r\n \"location\": \"East US 2\",\r\n \"type\": \"Microsoft.DocumentDB/databaseAccounts\",\r\n \"kind\": \"GlobalDocumentDB\",\r\n \"tags\": {\r\n \"defaultExperience\": \"Core (SQL)\",\r\n \"hidden-cosmos-mmspecial\": \"\",\r\n \"CosmosAccountType\": \"Non-Production\"\r\n },\r\n \"systemData\": {\r\n \"createdAt\": \"2020-06-03T21:20:25.7881457Z\"\r\n },\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"documentEndpoint\": \"https://testshstgbyok15.documents-staging.windows-ppe.net:443/\",\r\n \"publicNetworkAccess\": \"Enabled\",\r\n \"enableAutomaticFailover\": false,\r\n \"enableMultipleWriteLocations\": false,\r\n \"enablePartitionKeyMonitor\": false,\r\n \"isVirtualNetworkFilterEnabled\": false,\r\n \"virtualNetworkRules\": [],\r\n \"EnabledApiTypes\": \"Sql\",\r\n \"disableKeyBasedMetadataWriteAccess\": false,\r\n \"enableFreeTier\": false,\r\n \"enableAnalyticalStorage\": false,\r\n \"analyticalStorageConfiguration\": null,\r\n \"instanceId\": \"e56d849a-d674-4bf2-9bab-21dfaee94990\",\r\n \"createMode\": \"Default\",\r\n \"databaseAccountOfferType\": \"Standard\",\r\n \"enableCassandraConnector\": false,\r\n \"connectorOffer\": \"\",\r\n \"keyVaultKeyUri\": \"https://testshkv3.vault.azure.net/keys/key2\",\r\n \"defaultIdentity\": \"\",\r\n \"networkAclBypass\": \"None\",\r\n \"consistencyPolicy\": {\r\n \"defaultConsistencyLevel\": \"Session\",\r\n \"maxIntervalInSeconds\": 5,\r\n \"maxStalenessPrefix\": 100\r\n },\r\n \"configurationOverrides\": {},\r\n \"writeLocations\": [\r\n {\r\n \"id\": \"testshstgbyok15-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://testshstgbyok15-eastus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"readLocations\": [\r\n {\r\n \"id\": \"testshstgbyok15-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://testshstgbyok15-eastus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"locations\": [\r\n {\r\n \"id\": \"testshstgbyok15-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://testshstgbyok15-eastus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"failoverPolicies\": [\r\n {\r\n \"id\": \"testshstgbyok15-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"failoverPriority\": 0\r\n }\r\n ],\r\n \"cors\": [],\r\n \"capabilities\": [],\r\n \"ipRules\": [],\r\n \"backupPolicy\": {\r\n \"type\": \"Periodic\",\r\n \"periodicModeProperties\": {\r\n \"backupIntervalInMinutes\": 60,\r\n \"backupRetentionIntervalInHours\": 8,\r\n \"backupStorageRedundancy\": \"Geo\"\r\n }\r\n },\r\n \"networkAclBypassResourceIds\": []\r\n },\r\n \"identity\": {\r\n \"type\": \"None\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/resourceGroups/test1/providers/Microsoft.DocumentDB/databaseAccounts/test897\",\r\n \"name\": \"test897\",\r\n \"location\": \"East US 2\",\r\n \"type\": \"Microsoft.DocumentDB/databaseAccounts\",\r\n \"kind\": \"GlobalDocumentDB\",\r\n \"tags\": {\r\n \"defaultExperience\": \"Graph\"\r\n },\r\n \"systemData\": {\r\n \"createdAt\": \"2018-09-18T22:37:23.5451688Z\"\r\n },\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"documentEndpoint\": \"https://test897.documents-staging.windows-ppe.net:443/\",\r\n \"gremlinEndpoint\": \"https://test897.gremlin.cosmosdb.windows-ppe.net:443/\",\r\n \"publicNetworkAccess\": \"Enabled\",\r\n \"enableAutomaticFailover\": false,\r\n \"enableMultipleWriteLocations\": false,\r\n \"enablePartitionKeyMonitor\": false,\r\n \"isVirtualNetworkFilterEnabled\": false,\r\n \"virtualNetworkRules\": [],\r\n \"EnabledApiTypes\": \"Gremlin, Sql\",\r\n \"disableKeyBasedMetadataWriteAccess\": false,\r\n \"enableFreeTier\": false,\r\n \"enableAnalyticalStorage\": false,\r\n \"analyticalStorageConfiguration\": null,\r\n \"instanceId\": \"3854c12f-7eed-4879-be1f-f8f6139e333d\",\r\n \"createMode\": \"Default\",\r\n \"databaseAccountOfferType\": \"Standard\",\r\n \"defaultIdentity\": \"\",\r\n \"networkAclBypass\": \"None\",\r\n \"consistencyPolicy\": {\r\n \"defaultConsistencyLevel\": \"Session\",\r\n \"maxIntervalInSeconds\": 5,\r\n \"maxStalenessPrefix\": 100\r\n },\r\n \"configurationOverrides\": {},\r\n \"writeLocations\": [\r\n {\r\n \"id\": \"test897-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://test897-eastus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"readLocations\": [\r\n {\r\n \"id\": \"test897-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://test897-eastus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"locations\": [\r\n {\r\n \"id\": \"test897-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://test897-eastus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"failoverPolicies\": [\r\n {\r\n \"id\": \"test897-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"failoverPriority\": 0\r\n }\r\n ],\r\n \"cors\": [],\r\n \"capabilities\": [\r\n {\r\n \"name\": \"EnableGremlin\"\r\n }\r\n ],\r\n \"ipRules\": [],\r\n \"backupPolicy\": {\r\n \"type\": \"Periodic\",\r\n \"periodicModeProperties\": {\r\n \"backupIntervalInMinutes\": 240,\r\n \"backupRetentionIntervalInHours\": 8,\r\n \"backupStorageRedundancy\": \"Geo\"\r\n }\r\n },\r\n \"networkAclBypassResourceIds\": []\r\n },\r\n \"identity\": {\r\n \"type\": \"None\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/resourceGroups/SelviTest-RG/providers/Microsoft.DocumentDB/databaseAccounts/selvitest-account\",\r\n \"name\": \"selvitest-account\",\r\n \"location\": \"East US 2\",\r\n \"type\": \"Microsoft.DocumentDB/databaseAccounts\",\r\n \"kind\": \"GlobalDocumentDB\",\r\n \"tags\": {},\r\n \"systemData\": {\r\n \"createdAt\": \"2020-07-23T16:18:42.3547114Z\"\r\n },\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"documentEndpoint\": \"https://selvitest-account.documents-staging.windows-ppe.net:443/\",\r\n \"publicNetworkAccess\": \"Enabled\",\r\n \"enableAutomaticFailover\": false,\r\n \"enableMultipleWriteLocations\": false,\r\n \"enablePartitionKeyMonitor\": false,\r\n \"isVirtualNetworkFilterEnabled\": false,\r\n \"virtualNetworkRules\": [],\r\n \"EnabledApiTypes\": \"Sql\",\r\n \"disableKeyBasedMetadataWriteAccess\": false,\r\n \"enableFreeTier\": false,\r\n \"enableAnalyticalStorage\": false,\r\n \"analyticalStorageConfiguration\": null,\r\n \"instanceId\": \"55083b96-b985-4dec-92df-fa0ac98443f1\",\r\n \"createMode\": \"Default\",\r\n \"databaseAccountOfferType\": \"Standard\",\r\n \"enableCassandraConnector\": false,\r\n \"connectorOffer\": \"\",\r\n \"defaultIdentity\": \"\",\r\n \"networkAclBypass\": \"None\",\r\n \"consistencyPolicy\": {\r\n \"defaultConsistencyLevel\": \"Session\",\r\n \"maxIntervalInSeconds\": 5,\r\n \"maxStalenessPrefix\": 100\r\n },\r\n \"configurationOverrides\": {},\r\n \"writeLocations\": [\r\n {\r\n \"id\": \"selvitest-account-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://selvitest-account-eastus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"readLocations\": [\r\n {\r\n \"id\": \"selvitest-account-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://selvitest-account-eastus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"locations\": [\r\n {\r\n \"id\": \"selvitest-account-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://selvitest-account-eastus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"failoverPolicies\": [\r\n {\r\n \"id\": \"selvitest-account-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"failoverPriority\": 0\r\n }\r\n ],\r\n \"cors\": [],\r\n \"capabilities\": [],\r\n \"ipRules\": [],\r\n \"backupPolicy\": {\r\n \"type\": \"Continuous\"\r\n },\r\n \"networkAclBypassResourceIds\": []\r\n },\r\n \"identity\": {\r\n \"type\": \"None\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/resourceGroups/testshbyok/providers/Microsoft.DocumentDB/databaseAccounts/testslestg2\",\r\n \"name\": \"testslestg2\",\r\n \"location\": \"East US 2\",\r\n \"type\": \"Microsoft.DocumentDB/databaseAccounts\",\r\n \"kind\": \"GlobalDocumentDB\",\r\n \"tags\": {},\r\n \"systemData\": {\r\n \"createdAt\": \"2020-07-07T06:28:37.7623765Z\"\r\n },\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"documentEndpoint\": \"https://testslestg2.documents-staging.windows-ppe.net:443/\",\r\n \"publicNetworkAccess\": \"Enabled\",\r\n \"enableAutomaticFailover\": false,\r\n \"enableMultipleWriteLocations\": false,\r\n \"enablePartitionKeyMonitor\": false,\r\n \"isVirtualNetworkFilterEnabled\": false,\r\n \"virtualNetworkRules\": [],\r\n \"EnabledApiTypes\": \"Sql\",\r\n \"disableKeyBasedMetadataWriteAccess\": false,\r\n \"enableFreeTier\": false,\r\n \"enableAnalyticalStorage\": false,\r\n \"analyticalStorageConfiguration\": null,\r\n \"instanceId\": \"d6631534-fb41-46b2-9aac-e0927350a2b3\",\r\n \"createMode\": \"Default\",\r\n \"databaseAccountOfferType\": \"Standard\",\r\n \"enableCassandraConnector\": false,\r\n \"connectorOffer\": \"\",\r\n \"defaultIdentity\": \"\",\r\n \"networkAclBypass\": \"None\",\r\n \"consistencyPolicy\": {\r\n \"defaultConsistencyLevel\": \"BoundedStaleness\",\r\n \"maxIntervalInSeconds\": 5,\r\n \"maxStalenessPrefix\": 100\r\n },\r\n \"configurationOverrides\": {},\r\n \"writeLocations\": [\r\n {\r\n \"id\": \"testslestg2-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://testslestg2-eastus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"readLocations\": [\r\n {\r\n \"id\": \"testslestg2-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://testslestg2-eastus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"locations\": [\r\n {\r\n \"id\": \"testslestg2-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://testslestg2-eastus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"failoverPolicies\": [\r\n {\r\n \"id\": \"testslestg2-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"failoverPriority\": 0\r\n }\r\n ],\r\n \"cors\": [],\r\n \"capabilities\": [\r\n {\r\n \"name\": \"EnableServerless\"\r\n }\r\n ],\r\n \"ipRules\": [],\r\n \"backupPolicy\": {\r\n \"type\": \"Periodic\",\r\n \"periodicModeProperties\": {\r\n \"backupIntervalInMinutes\": 60,\r\n \"backupRetentionIntervalInHours\": 8,\r\n \"backupStorageRedundancy\": \"Geo\"\r\n }\r\n },\r\n \"networkAclBypassResourceIds\": []\r\n },\r\n \"identity\": {\r\n \"type\": \"None\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/resourceGroups/tli-test-byok/providers/Microsoft.DocumentDB/databaseAccounts/tli-test-byok5\",\r\n \"name\": \"tli-test-byok5\",\r\n \"location\": \"East US 2\",\r\n \"type\": \"Microsoft.DocumentDB/databaseAccounts\",\r\n \"kind\": \"GlobalDocumentDB\",\r\n \"tags\": {\r\n \"defaultExperience\": \"Core (SQL)\",\r\n \"hidden-cosmos-mmspecial\": \"\",\r\n \"CosmosAccountType\": \"Non-Production\"\r\n },\r\n \"systemData\": {\r\n \"createdAt\": \"2020-07-17T03:11:25.1931086Z\"\r\n },\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"documentEndpoint\": \"https://tli-test-byok5.documents-staging.windows-ppe.net:443/\",\r\n \"publicNetworkAccess\": \"Enabled\",\r\n \"enableAutomaticFailover\": false,\r\n \"enableMultipleWriteLocations\": false,\r\n \"enablePartitionKeyMonitor\": false,\r\n \"isVirtualNetworkFilterEnabled\": false,\r\n \"virtualNetworkRules\": [],\r\n \"EnabledApiTypes\": \"Sql\",\r\n \"disableKeyBasedMetadataWriteAccess\": false,\r\n \"enableFreeTier\": false,\r\n \"enableAnalyticalStorage\": false,\r\n \"analyticalStorageConfiguration\": null,\r\n \"instanceId\": \"996037c1-980b-4b97-9b18-d4475aa3248e\",\r\n \"createMode\": \"Default\",\r\n \"databaseAccountOfferType\": \"Standard\",\r\n \"enableCassandraConnector\": false,\r\n \"connectorOffer\": \"\",\r\n \"keyVaultKeyUri\": \"https://liliang-test-byok.vault.azure.net/keys/test-byok\",\r\n \"defaultIdentity\": \"\",\r\n \"networkAclBypass\": \"None\",\r\n \"consistencyPolicy\": {\r\n \"defaultConsistencyLevel\": \"Session\",\r\n \"maxIntervalInSeconds\": 5,\r\n \"maxStalenessPrefix\": 100\r\n },\r\n \"configurationOverrides\": {},\r\n \"writeLocations\": [\r\n {\r\n \"id\": \"tli-test-byok5-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://tli-test-byok5-eastus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"readLocations\": [\r\n {\r\n \"id\": \"tli-test-byok5-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://tli-test-byok5-eastus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"locations\": [\r\n {\r\n \"id\": \"tli-test-byok5-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://tli-test-byok5-eastus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"failoverPolicies\": [\r\n {\r\n \"id\": \"tli-test-byok5-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"failoverPriority\": 0\r\n }\r\n ],\r\n \"cors\": [],\r\n \"capabilities\": [],\r\n \"ipRules\": [],\r\n \"backupPolicy\": {\r\n \"type\": \"Periodic\",\r\n \"periodicModeProperties\": {\r\n \"backupIntervalInMinutes\": 240,\r\n \"backupRetentionIntervalInHours\": 8,\r\n \"backupStorageRedundancy\": \"Geo\"\r\n }\r\n },\r\n \"networkAclBypassResourceIds\": []\r\n },\r\n \"identity\": {\r\n \"type\": \"None\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/resourceGroups/tracevalidation/providers/Microsoft.DocumentDB/databaseAccounts/tracevalidation-sql\",\r\n \"name\": \"tracevalidation-sql\",\r\n \"location\": \"East US 2\",\r\n \"type\": \"Microsoft.DocumentDB/databaseAccounts\",\r\n \"kind\": \"GlobalDocumentDB\",\r\n \"tags\": {\r\n \"defaultExperience\": \"Core (SQL)\"\r\n },\r\n \"systemData\": {\r\n \"createdAt\": \"2019-11-14T21:53:36.8247307Z\"\r\n },\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"documentEndpoint\": \"https://tracevalidation-sql.documents-staging.windows-ppe.net:443/\",\r\n \"publicNetworkAccess\": \"Enabled\",\r\n \"enableAutomaticFailover\": false,\r\n \"enableMultipleWriteLocations\": false,\r\n \"enablePartitionKeyMonitor\": false,\r\n \"isVirtualNetworkFilterEnabled\": false,\r\n \"virtualNetworkRules\": [],\r\n \"EnabledApiTypes\": \"Sql\",\r\n \"disableKeyBasedMetadataWriteAccess\": false,\r\n \"enableFreeTier\": false,\r\n \"enableAnalyticalStorage\": false,\r\n \"analyticalStorageConfiguration\": null,\r\n \"instanceId\": \"d3d5336f-6ab9-4c37-a4d2-4823bcc3ce48\",\r\n \"createMode\": \"Default\",\r\n \"databaseAccountOfferType\": \"Standard\",\r\n \"enableCassandraConnector\": false,\r\n \"connectorOffer\": \"\",\r\n \"defaultIdentity\": \"\",\r\n \"networkAclBypass\": \"None\",\r\n \"consistencyPolicy\": {\r\n \"defaultConsistencyLevel\": \"Session\",\r\n \"maxIntervalInSeconds\": 5,\r\n \"maxStalenessPrefix\": 100\r\n },\r\n \"configurationOverrides\": {},\r\n \"writeLocations\": [\r\n {\r\n \"id\": \"tracevalidation-sql-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://tracevalidation-sql-eastus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"readLocations\": [\r\n {\r\n \"id\": \"tracevalidation-sql-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://tracevalidation-sql-eastus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"locations\": [\r\n {\r\n \"id\": \"tracevalidation-sql-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://tracevalidation-sql-eastus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"failoverPolicies\": [\r\n {\r\n \"id\": \"tracevalidation-sql-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"failoverPriority\": 0\r\n }\r\n ],\r\n \"cors\": [],\r\n \"capabilities\": [],\r\n \"ipRules\": [],\r\n \"backupPolicy\": {\r\n \"type\": \"Periodic\",\r\n \"periodicModeProperties\": {\r\n \"backupIntervalInMinutes\": 60,\r\n \"backupRetentionIntervalInHours\": 8,\r\n \"backupStorageRedundancy\": \"Geo\"\r\n }\r\n },\r\n \"networkAclBypassResourceIds\": []\r\n },\r\n \"identity\": {\r\n \"type\": \"None\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/resourceGroups/vimeng-rg/providers/Microsoft.DocumentDB/databaseAccounts/vimeng-stage-mongo-nb\",\r\n \"name\": \"vimeng-stage-mongo-nb\",\r\n \"location\": \"East US 2\",\r\n \"type\": \"Microsoft.DocumentDB/databaseAccounts\",\r\n \"kind\": \"MongoDB\",\r\n \"tags\": {\r\n \"defaultExperience\": \"Azure Cosmos DB for MongoDB API\",\r\n \"hidden-cosmos-mmspecial\": \"\",\r\n \"CosmosAccountType\": \"Non-Production\"\r\n },\r\n \"systemData\": {\r\n \"createdAt\": \"2020-03-12T02:05:58.7859019Z\"\r\n },\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"documentEndpoint\": \"https://vimeng-stage-mongo-nb.documents-staging.windows-ppe.net:443/\",\r\n \"mongoEndpoint\": \"https://vimeng-stage-mongo-nb.mongo.cosmos.windows-ppe.net:443/\",\r\n \"publicNetworkAccess\": \"Enabled\",\r\n \"enableAutomaticFailover\": false,\r\n \"enableMultipleWriteLocations\": false,\r\n \"enablePartitionKeyMonitor\": false,\r\n \"isVirtualNetworkFilterEnabled\": false,\r\n \"virtualNetworkRules\": [],\r\n \"EnabledApiTypes\": \"MongoDB\",\r\n \"disableKeyBasedMetadataWriteAccess\": false,\r\n \"enableFreeTier\": false,\r\n \"enableAnalyticalStorage\": false,\r\n \"analyticalStorageConfiguration\": null,\r\n \"instanceId\": \"50e8eb52-9ea0-4653-a980-d53d99f49ccd\",\r\n \"createMode\": \"Default\",\r\n \"databaseAccountOfferType\": \"Standard\",\r\n \"enableCassandraConnector\": false,\r\n \"connectorOffer\": \"\",\r\n \"defaultIdentity\": \"\",\r\n \"networkAclBypass\": \"None\",\r\n \"consistencyPolicy\": {\r\n \"defaultConsistencyLevel\": \"Session\",\r\n \"maxIntervalInSeconds\": 5,\r\n \"maxStalenessPrefix\": 100\r\n },\r\n \"apiProperties\": {\r\n \"serverVersion\": \"3.6\"\r\n },\r\n \"configurationOverrides\": {\r\n \"EnableBsonSchema\": \"True\"\r\n },\r\n \"writeLocations\": [\r\n {\r\n \"id\": \"vimeng-stage-mongo-nb-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://vimeng-stage-mongo-nb-eastus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"readLocations\": [\r\n {\r\n \"id\": \"vimeng-stage-mongo-nb-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://vimeng-stage-mongo-nb-eastus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"locations\": [\r\n {\r\n \"id\": \"vimeng-stage-mongo-nb-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://vimeng-stage-mongo-nb-eastus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"failoverPolicies\": [\r\n {\r\n \"id\": \"vimeng-stage-mongo-nb-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"failoverPriority\": 0\r\n }\r\n ],\r\n \"cors\": [],\r\n \"capabilities\": [\r\n {\r\n \"name\": \"EnableStorageAnalytics\"\r\n },\r\n {\r\n \"name\": \"EnableMongo\"\r\n }\r\n ],\r\n \"ipRules\": [],\r\n \"backupPolicy\": {\r\n \"type\": \"Periodic\",\r\n \"periodicModeProperties\": {\r\n \"backupIntervalInMinutes\": 60,\r\n \"backupRetentionIntervalInHours\": 8,\r\n \"backupStorageRedundancy\": \"Geo\"\r\n }\r\n },\r\n \"networkAclBypassResourceIds\": []\r\n },\r\n \"identity\": {\r\n \"type\": \"None\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/resourceGroups/test-rg/providers/Microsoft.DocumentDB/databaseAccounts/testkeksh1015\",\r\n \"name\": \"testkeksh1015\",\r\n \"location\": \"East US 2\",\r\n \"type\": \"Microsoft.DocumentDB/databaseAccounts\",\r\n \"kind\": \"DocumentDB\",\r\n \"tags\": {},\r\n \"systemData\": {\r\n \"createdAt\": \"2019-10-14T23:16:33.7595767Z\"\r\n },\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"documentEndpoint\": \"https://testkeksh1015.documents-staging.windows-ppe.net:443/\",\r\n \"publicNetworkAccess\": \"Enabled\",\r\n \"enableAutomaticFailover\": false,\r\n \"enableMultipleWriteLocations\": false,\r\n \"enablePartitionKeyMonitor\": false,\r\n \"isVirtualNetworkFilterEnabled\": false,\r\n \"virtualNetworkRules\": [],\r\n \"EnabledApiTypes\": \"Sql\",\r\n \"disableKeyBasedMetadataWriteAccess\": false,\r\n \"enableFreeTier\": false,\r\n \"enableAnalyticalStorage\": false,\r\n \"analyticalStorageConfiguration\": null,\r\n \"instanceId\": \"2bc211e1-a170-431a-8fbb-1f5c61ee0733\",\r\n \"createMode\": \"Default\",\r\n \"databaseAccountOfferType\": \"Standard\",\r\n \"defaultIdentity\": \"\",\r\n \"networkAclBypass\": \"None\",\r\n \"consistencyPolicy\": {\r\n \"defaultConsistencyLevel\": \"Session\",\r\n \"maxIntervalInSeconds\": 5,\r\n \"maxStalenessPrefix\": 100\r\n },\r\n \"configurationOverrides\": {},\r\n \"writeLocations\": [\r\n {\r\n \"id\": \"testkeksh1015-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://testkeksh1015-eastus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"readLocations\": [\r\n {\r\n \"id\": \"testkeksh1015-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://testkeksh1015-eastus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"locations\": [\r\n {\r\n \"id\": \"testkeksh1015-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://testkeksh1015-eastus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"failoverPolicies\": [\r\n {\r\n \"id\": \"testkeksh1015-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"failoverPriority\": 0\r\n }\r\n ],\r\n \"cors\": [],\r\n \"capabilities\": [],\r\n \"ipRules\": [],\r\n \"backupPolicy\": {\r\n \"type\": \"Periodic\",\r\n \"periodicModeProperties\": {\r\n \"backupIntervalInMinutes\": 30,\r\n \"backupRetentionIntervalInHours\": 8,\r\n \"backupStorageRedundancy\": \"Geo\"\r\n }\r\n },\r\n \"networkAclBypassResourceIds\": []\r\n },\r\n \"identity\": {\r\n \"type\": \"None\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/resourceGroups/walgreens/providers/Microsoft.DocumentDB/databaseAccounts/walgreens-rbac\",\r\n \"name\": \"walgreens-rbac\",\r\n \"location\": \"East US 2\",\r\n \"type\": \"Microsoft.DocumentDB/databaseAccounts\",\r\n \"kind\": \"GlobalDocumentDB\",\r\n \"tags\": {\r\n \"defaultExperience\": \"Core (SQL)\",\r\n \"hidden-cosmos-mmspecial\": \"\",\r\n \"CosmosAccountType\": \"Non-Production\"\r\n },\r\n \"systemData\": {\r\n \"createdAt\": \"2020-10-01T02:05:51.5990661Z\"\r\n },\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"documentEndpoint\": \"https://walgreens-rbac.documents-staging.windows-ppe.net:443/\",\r\n \"publicNetworkAccess\": \"Enabled\",\r\n \"enableAutomaticFailover\": false,\r\n \"enableMultipleWriteLocations\": false,\r\n \"enablePartitionKeyMonitor\": false,\r\n \"isVirtualNetworkFilterEnabled\": false,\r\n \"virtualNetworkRules\": [],\r\n \"EnabledApiTypes\": \"Sql\",\r\n \"disableKeyBasedMetadataWriteAccess\": false,\r\n \"enableFreeTier\": false,\r\n \"enableAnalyticalStorage\": false,\r\n \"analyticalStorageConfiguration\": null,\r\n \"instanceId\": \"219b590d-bcc0-4b58-874c-36863e6b1bad\",\r\n \"createMode\": \"Default\",\r\n \"databaseAccountOfferType\": \"Standard\",\r\n \"enableCassandraConnector\": false,\r\n \"connectorOffer\": \"\",\r\n \"defaultIdentity\": \"\",\r\n \"networkAclBypass\": \"None\",\r\n \"consistencyPolicy\": {\r\n \"defaultConsistencyLevel\": \"Session\",\r\n \"maxIntervalInSeconds\": 5,\r\n \"maxStalenessPrefix\": 100\r\n },\r\n \"configurationOverrides\": {},\r\n \"writeLocations\": [\r\n {\r\n \"id\": \"walgreens-rbac-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://walgreens-rbac-eastus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"readLocations\": [\r\n {\r\n \"id\": \"walgreens-rbac-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://walgreens-rbac-eastus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"locations\": [\r\n {\r\n \"id\": \"walgreens-rbac-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://walgreens-rbac-eastus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"failoverPolicies\": [\r\n {\r\n \"id\": \"walgreens-rbac-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"failoverPriority\": 0\r\n }\r\n ],\r\n \"cors\": [],\r\n \"capabilities\": [],\r\n \"ipRules\": [],\r\n \"backupPolicy\": {\r\n \"type\": \"Periodic\",\r\n \"periodicModeProperties\": {\r\n \"backupIntervalInMinutes\": 240,\r\n \"backupRetentionIntervalInHours\": 8,\r\n \"backupStorageRedundancy\": \"Geo\"\r\n }\r\n },\r\n \"networkAclBypassResourceIds\": []\r\n },\r\n \"identity\": {\r\n \"type\": \"None\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/resourceGroups/test-rg/providers/Microsoft.DocumentDB/databaseAccounts/testsanalyticsnew\",\r\n \"name\": \"testsanalyticsnew\",\r\n \"location\": \"East US 2\",\r\n \"type\": \"Microsoft.DocumentDB/databaseAccounts\",\r\n \"kind\": \"DocumentDB\",\r\n \"tags\": {},\r\n \"systemData\": {\r\n \"createdAt\": \"2019-10-18T23:17:09.3676833Z\"\r\n },\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"documentEndpoint\": \"https://testsanalyticsnew.documents-staging.windows-ppe.net:443/\",\r\n \"publicNetworkAccess\": \"Enabled\",\r\n \"enableAutomaticFailover\": false,\r\n \"enableMultipleWriteLocations\": false,\r\n \"enablePartitionKeyMonitor\": false,\r\n \"isVirtualNetworkFilterEnabled\": false,\r\n \"virtualNetworkRules\": [],\r\n \"EnabledApiTypes\": \"Sql\",\r\n \"disableKeyBasedMetadataWriteAccess\": false,\r\n \"enableFreeTier\": false,\r\n \"enableAnalyticalStorage\": false,\r\n \"analyticalStorageConfiguration\": null,\r\n \"instanceId\": \"1d3b3900-22ed-49e2-bc70-58835ebf851f\",\r\n \"createMode\": \"Default\",\r\n \"databaseAccountOfferType\": \"Standard\",\r\n \"defaultIdentity\": \"\",\r\n \"networkAclBypass\": \"None\",\r\n \"consistencyPolicy\": {\r\n \"defaultConsistencyLevel\": \"Session\",\r\n \"maxIntervalInSeconds\": 5,\r\n \"maxStalenessPrefix\": 100\r\n },\r\n \"configurationOverrides\": {},\r\n \"writeLocations\": [\r\n {\r\n \"id\": \"testsanalyticsnew-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://testsanalyticsnew-eastus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"readLocations\": [\r\n {\r\n \"id\": \"testsanalyticsnew-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://testsanalyticsnew-eastus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n },\r\n {\r\n \"id\": \"testsanalyticsnew-southeastasia\",\r\n \"locationName\": \"Southeast Asia\",\r\n \"documentEndpoint\": \"https://testsanalyticsnew-southeastasia.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 1,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"locations\": [\r\n {\r\n \"id\": \"testsanalyticsnew-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://testsanalyticsnew-eastus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n },\r\n {\r\n \"id\": \"testsanalyticsnew-southeastasia\",\r\n \"locationName\": \"Southeast Asia\",\r\n \"documentEndpoint\": \"https://testsanalyticsnew-southeastasia.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 1,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"failoverPolicies\": [\r\n {\r\n \"id\": \"testsanalyticsnew-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"failoverPriority\": 0\r\n },\r\n {\r\n \"id\": \"testsanalyticsnew-southeastasia\",\r\n \"locationName\": \"Southeast Asia\",\r\n \"failoverPriority\": 1\r\n }\r\n ],\r\n \"cors\": [],\r\n \"capabilities\": [\r\n {\r\n \"name\": \"EnableStorageAnalytics\"\r\n }\r\n ],\r\n \"ipRules\": [],\r\n \"backupPolicy\": {\r\n \"type\": \"Periodic\",\r\n \"periodicModeProperties\": {\r\n \"backupIntervalInMinutes\": 30,\r\n \"backupRetentionIntervalInHours\": 8,\r\n \"backupStorageRedundancy\": \"Geo\"\r\n }\r\n },\r\n \"networkAclBypassResourceIds\": []\r\n },\r\n \"identity\": {\r\n \"type\": \"None\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/resourceGroups/test2/providers/Microsoft.DocumentDB/databaseAccounts/testshmongo2\",\r\n \"name\": \"testshmongo2\",\r\n \"location\": \"East US 2\",\r\n \"type\": \"Microsoft.DocumentDB/databaseAccounts\",\r\n \"kind\": \"MongoDB\",\r\n \"tags\": {},\r\n \"systemData\": {\r\n \"createdAt\": \"2019-07-02T22:23:04.5154649Z\"\r\n },\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"documentEndpoint\": \"https://testshmongo2.documents-staging.windows-ppe.net:443/\",\r\n \"publicNetworkAccess\": \"Enabled\",\r\n \"enableAutomaticFailover\": false,\r\n \"enableMultipleWriteLocations\": false,\r\n \"enablePartitionKeyMonitor\": false,\r\n \"isVirtualNetworkFilterEnabled\": false,\r\n \"virtualNetworkRules\": [],\r\n \"EnabledApiTypes\": \"MongoDB\",\r\n \"disableKeyBasedMetadataWriteAccess\": false,\r\n \"enableFreeTier\": false,\r\n \"enableAnalyticalStorage\": false,\r\n \"analyticalStorageConfiguration\": null,\r\n \"instanceId\": \"c2e4d99b-fabd-4419-95ec-b4f2ee29b393\",\r\n \"createMode\": \"Default\",\r\n \"databaseAccountOfferType\": \"Standard\",\r\n \"enableCassandraConnector\": false,\r\n \"connectorOffer\": \"\",\r\n \"defaultIdentity\": \"\",\r\n \"networkAclBypass\": \"None\",\r\n \"consistencyPolicy\": {\r\n \"defaultConsistencyLevel\": \"Session\",\r\n \"maxIntervalInSeconds\": 5,\r\n \"maxStalenessPrefix\": 100\r\n },\r\n \"apiProperties\": {\r\n \"serverVersion\": \"3.2\"\r\n },\r\n \"configurationOverrides\": {\r\n \"EnableBsonSchema\": \"True\"\r\n },\r\n \"writeLocations\": [\r\n {\r\n \"id\": \"testshmongo2-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://testshmongo2-eastus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"readLocations\": [\r\n {\r\n \"id\": \"testshmongo2-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://testshmongo2-eastus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"locations\": [\r\n {\r\n \"id\": \"testshmongo2-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://testshmongo2-eastus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"failoverPolicies\": [\r\n {\r\n \"id\": \"testshmongo2-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"failoverPriority\": 0\r\n }\r\n ],\r\n \"cors\": [],\r\n \"capabilities\": [],\r\n \"ipRules\": [],\r\n \"backupPolicy\": {\r\n \"type\": \"Periodic\",\r\n \"periodicModeProperties\": {\r\n \"backupIntervalInMinutes\": 240,\r\n \"backupRetentionIntervalInHours\": 8,\r\n \"backupStorageRedundancy\": \"Geo\"\r\n }\r\n },\r\n \"networkAclBypassResourceIds\": []\r\n },\r\n \"identity\": {\r\n \"type\": \"None\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/resourceGroups/backup-restore/providers/Microsoft.DocumentDB/databaseAccounts/stage-validation-source\",\r\n \"name\": \"stage-validation-source\",\r\n \"location\": \"East US 2\",\r\n \"type\": \"Microsoft.DocumentDB/databaseAccounts\",\r\n \"kind\": \"GlobalDocumentDB\",\r\n \"tags\": {\r\n \"defaultExperience\": \"Core (SQL)\"\r\n },\r\n \"systemData\": {\r\n \"createdAt\": \"2019-12-02T23:22:22.8339651Z\"\r\n },\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"documentEndpoint\": \"https://stage-validation-source.documents-staging.windows-ppe.net:443/\",\r\n \"publicNetworkAccess\": \"Enabled\",\r\n \"enableAutomaticFailover\": false,\r\n \"enableMultipleWriteLocations\": false,\r\n \"enablePartitionKeyMonitor\": false,\r\n \"isVirtualNetworkFilterEnabled\": false,\r\n \"virtualNetworkRules\": [],\r\n \"EnabledApiTypes\": \"Sql\",\r\n \"disableKeyBasedMetadataWriteAccess\": false,\r\n \"enableFreeTier\": false,\r\n \"enableAnalyticalStorage\": false,\r\n \"analyticalStorageConfiguration\": null,\r\n \"instanceId\": \"2e123a98-31b1-4603-a0e7-8a84fa28a1ee\",\r\n \"createMode\": \"Default\",\r\n \"databaseAccountOfferType\": \"Standard\",\r\n \"enableCassandraConnector\": false,\r\n \"connectorOffer\": \"\",\r\n \"defaultIdentity\": \"\",\r\n \"networkAclBypass\": \"None\",\r\n \"consistencyPolicy\": {\r\n \"defaultConsistencyLevel\": \"Session\",\r\n \"maxIntervalInSeconds\": 5,\r\n \"maxStalenessPrefix\": 100\r\n },\r\n \"configurationOverrides\": {},\r\n \"writeLocations\": [\r\n {\r\n \"id\": \"stage-validation-source-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://stage-validation-source-eastus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"readLocations\": [\r\n {\r\n \"id\": \"stage-validation-source-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://stage-validation-source-eastus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n },\r\n {\r\n \"id\": \"stage-validation-source-northcentralus\",\r\n \"locationName\": \"North Central US\",\r\n \"documentEndpoint\": \"https://stage-validation-source-northcentralus.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 1,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"locations\": [\r\n {\r\n \"id\": \"stage-validation-source-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://stage-validation-source-eastus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n },\r\n {\r\n \"id\": \"stage-validation-source-northcentralus\",\r\n \"locationName\": \"North Central US\",\r\n \"documentEndpoint\": \"https://stage-validation-source-northcentralus.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 1,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"failoverPolicies\": [\r\n {\r\n \"id\": \"stage-validation-source-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"failoverPriority\": 0\r\n },\r\n {\r\n \"id\": \"stage-validation-source-northcentralus\",\r\n \"locationName\": \"North Central US\",\r\n \"failoverPriority\": 1\r\n }\r\n ],\r\n \"cors\": [\r\n {\r\n \"allowedOrigins\": \"*\"\r\n }\r\n ],\r\n \"capabilities\": [],\r\n \"ipRules\": [],\r\n \"backupPolicy\": {\r\n \"type\": \"Periodic\",\r\n \"periodicModeProperties\": {\r\n \"backupIntervalInMinutes\": 245,\r\n \"backupRetentionIntervalInHours\": 25,\r\n \"backupStorageRedundancy\": \"Geo\"\r\n }\r\n },\r\n \"networkAclBypassResourceIds\": []\r\n },\r\n \"identity\": {\r\n \"type\": \"None\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/resourceGroups/testshbyok/providers/Microsoft.DocumentDB/databaseAccounts/testshstag1\",\r\n \"name\": \"testshstag1\",\r\n \"location\": \"East US 2\",\r\n \"type\": \"Microsoft.DocumentDB/databaseAccounts\",\r\n \"kind\": \"GlobalDocumentDB\",\r\n \"tags\": {\r\n \"defaultExperience\": \"Core (SQL)\",\r\n \"hidden-cosmos-mmspecial\": \"\",\r\n \"CosmosAccountType\": \"Non-Production\"\r\n },\r\n \"systemData\": {\r\n \"createdAt\": \"2020-06-03T20:27:20.2594519Z\"\r\n },\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"documentEndpoint\": \"https://testshstag1.documents-staging.windows-ppe.net:443/\",\r\n \"publicNetworkAccess\": \"Enabled\",\r\n \"enableAutomaticFailover\": false,\r\n \"enableMultipleWriteLocations\": false,\r\n \"enablePartitionKeyMonitor\": false,\r\n \"isVirtualNetworkFilterEnabled\": false,\r\n \"virtualNetworkRules\": [],\r\n \"EnabledApiTypes\": \"Sql\",\r\n \"disableKeyBasedMetadataWriteAccess\": false,\r\n \"enableFreeTier\": false,\r\n \"enableAnalyticalStorage\": false,\r\n \"analyticalStorageConfiguration\": null,\r\n \"instanceId\": \"995129ca-73ac-4270-a7e9-de49b24a163b\",\r\n \"createMode\": \"Default\",\r\n \"databaseAccountOfferType\": \"Standard\",\r\n \"enableCassandraConnector\": false,\r\n \"connectorOffer\": \"\",\r\n \"defaultIdentity\": \"\",\r\n \"networkAclBypass\": \"None\",\r\n \"consistencyPolicy\": {\r\n \"defaultConsistencyLevel\": \"Session\",\r\n \"maxIntervalInSeconds\": 5,\r\n \"maxStalenessPrefix\": 100\r\n },\r\n \"configurationOverrides\": {},\r\n \"writeLocations\": [\r\n {\r\n \"id\": \"testshstag1-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://testshstag1-eastus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"readLocations\": [\r\n {\r\n \"id\": \"testshstag1-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://testshstag1-eastus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"locations\": [\r\n {\r\n \"id\": \"testshstag1-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://testshstag1-eastus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"failoverPolicies\": [\r\n {\r\n \"id\": \"testshstag1-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"failoverPriority\": 0\r\n }\r\n ],\r\n \"cors\": [],\r\n \"capabilities\": [],\r\n \"ipRules\": [],\r\n \"backupPolicy\": {\r\n \"type\": \"Periodic\",\r\n \"periodicModeProperties\": {\r\n \"backupIntervalInMinutes\": 60,\r\n \"backupRetentionIntervalInHours\": 8,\r\n \"backupStorageRedundancy\": \"Geo\"\r\n }\r\n },\r\n \"networkAclBypassResourceIds\": []\r\n },\r\n \"identity\": {\r\n \"type\": \"None\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/resourceGroups/test123/providers/Microsoft.DocumentDB/databaseAccounts/testsignoff\",\r\n \"name\": \"testsignoff\",\r\n \"location\": \"East US 2\",\r\n \"type\": \"Microsoft.DocumentDB/databaseAccounts\",\r\n \"kind\": \"GlobalDocumentDB\",\r\n \"tags\": {\r\n \"defaultExperience\": \"Core (SQL)\",\r\n \"hidden-cosmos-mmspecial\": \"\",\r\n \"CosmosAccountType\": \"Non-Production\"\r\n },\r\n \"systemData\": {\r\n \"createdAt\": \"2020-09-17T00:16:18.0771513Z\"\r\n },\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"documentEndpoint\": \"https://testsignoff.documents-staging.windows-ppe.net:443/\",\r\n \"publicNetworkAccess\": \"Enabled\",\r\n \"enableAutomaticFailover\": false,\r\n \"enableMultipleWriteLocations\": false,\r\n \"enablePartitionKeyMonitor\": false,\r\n \"isVirtualNetworkFilterEnabled\": false,\r\n \"virtualNetworkRules\": [],\r\n \"EnabledApiTypes\": \"Sql\",\r\n \"disableKeyBasedMetadataWriteAccess\": false,\r\n \"enableFreeTier\": false,\r\n \"enableAnalyticalStorage\": false,\r\n \"analyticalStorageConfiguration\": null,\r\n \"instanceId\": \"df3c1f97-55df-406a-b2ca-3c824b898154\",\r\n \"createMode\": \"Default\",\r\n \"databaseAccountOfferType\": \"Standard\",\r\n \"enableCassandraConnector\": false,\r\n \"connectorOffer\": \"\",\r\n \"defaultIdentity\": \"\",\r\n \"networkAclBypass\": \"None\",\r\n \"consistencyPolicy\": {\r\n \"defaultConsistencyLevel\": \"Session\",\r\n \"maxIntervalInSeconds\": 5,\r\n \"maxStalenessPrefix\": 100\r\n },\r\n \"configurationOverrides\": {},\r\n \"writeLocations\": [\r\n {\r\n \"id\": \"testsignoff-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://testsignoff-eastus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"readLocations\": [\r\n {\r\n \"id\": \"testsignoff-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://testsignoff-eastus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"locations\": [\r\n {\r\n \"id\": \"testsignoff-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://testsignoff-eastus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"failoverPolicies\": [\r\n {\r\n \"id\": \"testsignoff-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"failoverPriority\": 0\r\n }\r\n ],\r\n \"cors\": [],\r\n \"capabilities\": [],\r\n \"ipRules\": [],\r\n \"backupPolicy\": {\r\n \"type\": \"Periodic\",\r\n \"periodicModeProperties\": {\r\n \"backupIntervalInMinutes\": 240,\r\n \"backupRetentionIntervalInHours\": 8,\r\n \"backupStorageRedundancy\": \"Geo\"\r\n }\r\n },\r\n \"networkAclBypassResourceIds\": []\r\n },\r\n \"identity\": {\r\n \"type\": \"None\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/resourceGroups/SelviTest-RG/providers/Microsoft.DocumentDB/databaseAccounts/selvitest-account-destinationforrestore\",\r\n \"name\": \"selvitest-account-destinationforrestore\",\r\n \"location\": \"East US 2\",\r\n \"type\": \"Microsoft.DocumentDB/databaseAccounts\",\r\n \"kind\": \"GlobalDocumentDB\",\r\n \"tags\": {},\r\n \"systemData\": {\r\n \"createdAt\": \"2020-07-23T17:39:57.4976354Z\"\r\n },\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"documentEndpoint\": \"https://selvitest-account-destinationforrestore.documents-staging.windows-ppe.net:443/\",\r\n \"publicNetworkAccess\": \"Enabled\",\r\n \"enableAutomaticFailover\": false,\r\n \"enableMultipleWriteLocations\": false,\r\n \"enablePartitionKeyMonitor\": false,\r\n \"isVirtualNetworkFilterEnabled\": false,\r\n \"virtualNetworkRules\": [],\r\n \"EnabledApiTypes\": \"Sql\",\r\n \"disableKeyBasedMetadataWriteAccess\": false,\r\n \"enableFreeTier\": false,\r\n \"enableAnalyticalStorage\": false,\r\n \"analyticalStorageConfiguration\": null,\r\n \"instanceId\": \"ec72f021-4974-405a-8c78-f74207ff0e12\",\r\n \"createMode\": \"Restore\",\r\n \"databaseAccountOfferType\": \"Standard\",\r\n \"enableCassandraConnector\": false,\r\n \"defaultIdentity\": \"\",\r\n \"networkAclBypass\": \"None\",\r\n \"consistencyPolicy\": {\r\n \"defaultConsistencyLevel\": \"Session\",\r\n \"maxIntervalInSeconds\": 5,\r\n \"maxStalenessPrefix\": 100\r\n },\r\n \"configurationOverrides\": {},\r\n \"writeLocations\": [\r\n {\r\n \"id\": \"selvitest-account-destinationforrestore-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://selvitest-account-destinationforrestore-eastus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"readLocations\": [\r\n {\r\n \"id\": \"selvitest-account-destinationforrestore-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://selvitest-account-destinationforrestore-eastus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"locations\": [\r\n {\r\n \"id\": \"selvitest-account-destinationforrestore-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://selvitest-account-destinationforrestore-eastus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"failoverPolicies\": [\r\n {\r\n \"id\": \"selvitest-account-destinationforrestore-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"failoverPriority\": 0\r\n }\r\n ],\r\n \"cors\": [],\r\n \"capabilities\": [],\r\n \"ipRules\": [],\r\n \"backupPolicy\": {\r\n \"type\": \"Continuous\"\r\n },\r\n \"restoreParameters\": {\r\n \"restoreMode\": \"PointInTime\",\r\n \"restoreSource\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/providers/Microsoft.DocumentDB/locations/eastus2/restorableDatabaseAccounts/55083b96-b985-4dec-92df-fa0ac98443f1\",\r\n \"restoreTimestampInUtc\": \"2020-07-23T17:06:10Z\",\r\n \"databasesToRestore\": []\r\n },\r\n \"networkAclBypassResourceIds\": []\r\n },\r\n \"identity\": {\r\n \"type\": \"None\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/resourceGroups/gsk/providers/Microsoft.DocumentDB/databaseAccounts/ttres\",\r\n \"name\": \"ttres\",\r\n \"location\": \"East US 2\",\r\n \"type\": \"Microsoft.DocumentDB/databaseAccounts\",\r\n \"kind\": \"GlobalDocumentDB\",\r\n \"tags\": {\r\n \"defaultExperience\": \"Cassandra\"\r\n },\r\n \"systemData\": {\r\n \"createdAt\": \"2018-08-23T20:26:57.6721104Z\"\r\n },\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"documentEndpoint\": \"https://ttres.documents-staging.windows-ppe.net:443/\",\r\n \"cassandraEndpoint\": \"https://ttres.cassandra.cosmosdb.windows-ppe.net:443/\",\r\n \"publicNetworkAccess\": \"Enabled\",\r\n \"enableAutomaticFailover\": false,\r\n \"enableMultipleWriteLocations\": false,\r\n \"enablePartitionKeyMonitor\": false,\r\n \"isVirtualNetworkFilterEnabled\": false,\r\n \"virtualNetworkRules\": [],\r\n \"EnabledApiTypes\": \"Cassandra\",\r\n \"disableKeyBasedMetadataWriteAccess\": false,\r\n \"enableFreeTier\": false,\r\n \"enableAnalyticalStorage\": false,\r\n \"analyticalStorageConfiguration\": null,\r\n \"instanceId\": \"6afec438-93fe-4428-ac3c-f35608f2a964\",\r\n \"createMode\": \"Default\",\r\n \"databaseAccountOfferType\": \"Standard\",\r\n \"defaultIdentity\": \"\",\r\n \"networkAclBypass\": \"None\",\r\n \"consistencyPolicy\": {\r\n \"defaultConsistencyLevel\": \"Session\",\r\n \"maxIntervalInSeconds\": 5,\r\n \"maxStalenessPrefix\": 100\r\n },\r\n \"configurationOverrides\": {},\r\n \"writeLocations\": [\r\n {\r\n \"id\": \"ttres-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://ttres-eastus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"readLocations\": [\r\n {\r\n \"id\": \"ttres-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://ttres-eastus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"locations\": [\r\n {\r\n \"id\": \"ttres-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://ttres-eastus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"failoverPolicies\": [\r\n {\r\n \"id\": \"ttres-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"failoverPriority\": 0\r\n }\r\n ],\r\n \"cors\": [],\r\n \"capabilities\": [\r\n {\r\n \"name\": \"EnableCassandra\"\r\n }\r\n ],\r\n \"ipRules\": [],\r\n \"backupPolicy\": {\r\n \"type\": \"Periodic\",\r\n \"periodicModeProperties\": {\r\n \"backupIntervalInMinutes\": 240,\r\n \"backupRetentionIntervalInHours\": 8,\r\n \"backupStorageRedundancy\": \"Geo\"\r\n }\r\n },\r\n \"networkAclBypassResourceIds\": []\r\n },\r\n \"identity\": {\r\n \"type\": \"None\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/resourceGroups/virangai-test/providers/Microsoft.DocumentDB/databaseAccounts/virangai-test-bk-cont\",\r\n \"name\": \"virangai-test-bk-cont\",\r\n \"location\": \"East US 2\",\r\n \"type\": \"Microsoft.DocumentDB/databaseAccounts\",\r\n \"kind\": \"GlobalDocumentDB\",\r\n \"tags\": {\r\n \"defaultExperience\": \"Core (SQL)\",\r\n \"hidden-cosmos-mmspecial\": \"\",\r\n \"CosmosAccountType\": \"Non-Production\"\r\n },\r\n \"systemData\": {\r\n \"createdAt\": \"2020-07-28T22:09:23.3005573Z\"\r\n },\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"documentEndpoint\": \"https://virangai-test-bk-cont.documents-staging.windows-ppe.net:443/\",\r\n \"publicNetworkAccess\": \"Enabled\",\r\n \"enableAutomaticFailover\": false,\r\n \"enableMultipleWriteLocations\": false,\r\n \"enablePartitionKeyMonitor\": false,\r\n \"isVirtualNetworkFilterEnabled\": false,\r\n \"virtualNetworkRules\": [],\r\n \"EnabledApiTypes\": \"Sql\",\r\n \"disableKeyBasedMetadataWriteAccess\": false,\r\n \"enableFreeTier\": false,\r\n \"enableAnalyticalStorage\": false,\r\n \"analyticalStorageConfiguration\": null,\r\n \"instanceId\": \"17783e6d-0e28-41e2-b086-9d17763f1d51\",\r\n \"createMode\": \"Default\",\r\n \"databaseAccountOfferType\": \"Standard\",\r\n \"enableCassandraConnector\": false,\r\n \"connectorOffer\": \"\",\r\n \"defaultIdentity\": \"\",\r\n \"networkAclBypass\": \"None\",\r\n \"consistencyPolicy\": {\r\n \"defaultConsistencyLevel\": \"Session\",\r\n \"maxIntervalInSeconds\": 5,\r\n \"maxStalenessPrefix\": 100\r\n },\r\n \"configurationOverrides\": {},\r\n \"writeLocations\": [\r\n {\r\n \"id\": \"virangai-test-bk-cont-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://virangai-test-bk-cont-eastus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"readLocations\": [\r\n {\r\n \"id\": \"virangai-test-bk-cont-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://virangai-test-bk-cont-eastus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"locations\": [\r\n {\r\n \"id\": \"virangai-test-bk-cont-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://virangai-test-bk-cont-eastus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"failoverPolicies\": [\r\n {\r\n \"id\": \"virangai-test-bk-cont-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"failoverPriority\": 0\r\n }\r\n ],\r\n \"cors\": [],\r\n \"capabilities\": [],\r\n \"ipRules\": [],\r\n \"backupPolicy\": {\r\n \"type\": \"Continuous\"\r\n },\r\n \"networkAclBypassResourceIds\": []\r\n },\r\n \"identity\": {\r\n \"type\": \"None\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/resourceGroups/testshbyok/providers/Microsoft.DocumentDB/databaseAccounts/testshref1\",\r\n \"name\": \"testshref1\",\r\n \"location\": \"East US 2\",\r\n \"type\": \"Microsoft.DocumentDB/databaseAccounts\",\r\n \"kind\": \"GlobalDocumentDB\",\r\n \"tags\": {\r\n \"defaultExperience\": \"Core (SQL)\",\r\n \"hidden-cosmos-mmspecial\": \"\",\r\n \"CosmosAccountType\": \"Non-Production\"\r\n },\r\n \"systemData\": {\r\n \"createdAt\": \"2020-08-14T01:55:00.2663629Z\"\r\n },\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"documentEndpoint\": \"https://testshref1.documents-staging.windows-ppe.net:443/\",\r\n \"publicNetworkAccess\": \"Enabled\",\r\n \"enableAutomaticFailover\": false,\r\n \"enableMultipleWriteLocations\": false,\r\n \"enablePartitionKeyMonitor\": false,\r\n \"isVirtualNetworkFilterEnabled\": false,\r\n \"virtualNetworkRules\": [],\r\n \"EnabledApiTypes\": \"Sql\",\r\n \"disableKeyBasedMetadataWriteAccess\": false,\r\n \"enableFreeTier\": false,\r\n \"enableAnalyticalStorage\": false,\r\n \"analyticalStorageConfiguration\": null,\r\n \"instanceId\": \"b7caf086-1739-4d15-ae61-eff9ce4a0c25\",\r\n \"createMode\": \"Default\",\r\n \"databaseAccountOfferType\": \"Standard\",\r\n \"enableCassandraConnector\": false,\r\n \"connectorOffer\": \"\",\r\n \"defaultIdentity\": \"\",\r\n \"networkAclBypass\": \"None\",\r\n \"consistencyPolicy\": {\r\n \"defaultConsistencyLevel\": \"Session\",\r\n \"maxIntervalInSeconds\": 5,\r\n \"maxStalenessPrefix\": 100\r\n },\r\n \"configurationOverrides\": {},\r\n \"writeLocations\": [\r\n {\r\n \"id\": \"testshref1-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://testshref1-eastus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"readLocations\": [\r\n {\r\n \"id\": \"testshref1-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://testshref1-eastus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"locations\": [\r\n {\r\n \"id\": \"testshref1-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://testshref1-eastus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"failoverPolicies\": [\r\n {\r\n \"id\": \"testshref1-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"failoverPriority\": 0\r\n }\r\n ],\r\n \"cors\": [],\r\n \"capabilities\": [],\r\n \"ipRules\": [],\r\n \"backupPolicy\": {\r\n \"type\": \"Periodic\",\r\n \"periodicModeProperties\": {\r\n \"backupIntervalInMinutes\": 240,\r\n \"backupRetentionIntervalInHours\": 8,\r\n \"backupStorageRedundancy\": \"Geo\"\r\n }\r\n },\r\n \"networkAclBypassResourceIds\": []\r\n },\r\n \"identity\": {\r\n \"type\": \"None\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/resourceGroups/test/providers/Microsoft.DocumentDB/databaseAccounts/testshstage\",\r\n \"name\": \"testshstage\",\r\n \"location\": \"East US 2\",\r\n \"type\": \"Microsoft.DocumentDB/databaseAccounts\",\r\n \"kind\": \"GlobalDocumentDB\",\r\n \"tags\": {\r\n \"defaultExperience\": \"DocumentDB\"\r\n },\r\n \"systemData\": {\r\n \"createdAt\": \"2018-10-10T21:05:22.7077813Z\"\r\n },\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"documentEndpoint\": \"https://testshstage.documents-staging.windows-ppe.net:443/\",\r\n \"publicNetworkAccess\": \"Enabled\",\r\n \"enableAutomaticFailover\": false,\r\n \"enableMultipleWriteLocations\": false,\r\n \"enablePartitionKeyMonitor\": false,\r\n \"isVirtualNetworkFilterEnabled\": false,\r\n \"virtualNetworkRules\": [],\r\n \"EnabledApiTypes\": \"Sql\",\r\n \"disableKeyBasedMetadataWriteAccess\": false,\r\n \"enableFreeTier\": false,\r\n \"enableAnalyticalStorage\": false,\r\n \"analyticalStorageConfiguration\": null,\r\n \"instanceId\": \"71a50eeb-5d42-4753-b1bb-d2c6c063ff6b\",\r\n \"createMode\": \"Default\",\r\n \"databaseAccountOfferType\": \"Standard\",\r\n \"defaultIdentity\": \"\",\r\n \"networkAclBypass\": \"None\",\r\n \"consistencyPolicy\": {\r\n \"defaultConsistencyLevel\": \"Session\",\r\n \"maxIntervalInSeconds\": 5,\r\n \"maxStalenessPrefix\": 100\r\n },\r\n \"configurationOverrides\": {},\r\n \"writeLocations\": [\r\n {\r\n \"id\": \"testshstage-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://testshstage-eastus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"readLocations\": [\r\n {\r\n \"id\": \"testshstage-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://testshstage-eastus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"locations\": [\r\n {\r\n \"id\": \"testshstage-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://testshstage-eastus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"failoverPolicies\": [\r\n {\r\n \"id\": \"testshstage-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"failoverPriority\": 0\r\n }\r\n ],\r\n \"cors\": [],\r\n \"capabilities\": [],\r\n \"ipRules\": [],\r\n \"backupPolicy\": {\r\n \"type\": \"Periodic\",\r\n \"periodicModeProperties\": {\r\n \"backupIntervalInMinutes\": 240,\r\n \"backupRetentionIntervalInHours\": 8,\r\n \"backupStorageRedundancy\": \"Geo\"\r\n }\r\n },\r\n \"networkAclBypassResourceIds\": []\r\n },\r\n \"identity\": {\r\n \"type\": \"None\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/resourceGroups/testshbyok/providers/Microsoft.DocumentDB/databaseAccounts/testsless\",\r\n \"name\": \"testsless\",\r\n \"location\": \"East US 2\",\r\n \"type\": \"Microsoft.DocumentDB/databaseAccounts\",\r\n \"kind\": \"GlobalDocumentDB\",\r\n \"tags\": {},\r\n \"systemData\": {\r\n \"createdAt\": \"2020-07-07T04:59:18.913562Z\"\r\n },\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"documentEndpoint\": \"https://testsless.documents-staging.windows-ppe.net:443/\",\r\n \"publicNetworkAccess\": \"Enabled\",\r\n \"enableAutomaticFailover\": false,\r\n \"enableMultipleWriteLocations\": false,\r\n \"enablePartitionKeyMonitor\": false,\r\n \"isVirtualNetworkFilterEnabled\": false,\r\n \"virtualNetworkRules\": [],\r\n \"EnabledApiTypes\": \"Sql\",\r\n \"disableKeyBasedMetadataWriteAccess\": false,\r\n \"enableFreeTier\": false,\r\n \"enableAnalyticalStorage\": false,\r\n \"analyticalStorageConfiguration\": null,\r\n \"instanceId\": \"a6cbf641-4203-4c6c-add6-6d90d6c7c6a2\",\r\n \"createMode\": \"Default\",\r\n \"databaseAccountOfferType\": \"Standard\",\r\n \"enableCassandraConnector\": false,\r\n \"connectorOffer\": \"\",\r\n \"defaultIdentity\": \"\",\r\n \"networkAclBypass\": \"None\",\r\n \"consistencyPolicy\": {\r\n \"defaultConsistencyLevel\": \"BoundedStaleness\",\r\n \"maxIntervalInSeconds\": 5,\r\n \"maxStalenessPrefix\": 100\r\n },\r\n \"configurationOverrides\": {},\r\n \"writeLocations\": [\r\n {\r\n \"id\": \"testsless-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://testsless-eastus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"readLocations\": [\r\n {\r\n \"id\": \"testsless-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://testsless-eastus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"locations\": [\r\n {\r\n \"id\": \"testsless-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://testsless-eastus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"failoverPolicies\": [\r\n {\r\n \"id\": \"testsless-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"failoverPriority\": 0\r\n }\r\n ],\r\n \"cors\": [],\r\n \"capabilities\": [],\r\n \"ipRules\": [],\r\n \"backupPolicy\": {\r\n \"type\": \"Periodic\",\r\n \"periodicModeProperties\": {\r\n \"backupIntervalInMinutes\": 60,\r\n \"backupRetentionIntervalInHours\": 8,\r\n \"backupStorageRedundancy\": \"Geo\"\r\n }\r\n },\r\n \"networkAclBypassResourceIds\": []\r\n },\r\n \"identity\": {\r\n \"type\": \"None\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/resourceGroups/tvkcassandrademo/providers/Microsoft.DocumentDB/databaseAccounts/tvkcassandrademo\",\r\n \"name\": \"tvkcassandrademo\",\r\n \"location\": \"East US 2\",\r\n \"type\": \"Microsoft.DocumentDB/databaseAccounts\",\r\n \"kind\": \"GlobalDocumentDB\",\r\n \"tags\": {\r\n \"defaultExperience\": \"Cassandra\",\r\n \"hidden-cosmos-mmspecial\": \"\",\r\n \"CosmosAccountType\": \"Non-Production\"\r\n },\r\n \"systemData\": {\r\n \"createdAt\": \"2020-05-14T17:32:55.1868041Z\"\r\n },\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"documentEndpoint\": \"https://tvkcassandrademo.documents-staging.windows-ppe.net:443/\",\r\n \"cassandraEndpoint\": \"https://tvkcassandrademo.cassandra.cosmos.windows-ppe.net:443/\",\r\n \"publicNetworkAccess\": \"Enabled\",\r\n \"enableAutomaticFailover\": false,\r\n \"enableMultipleWriteLocations\": false,\r\n \"enablePartitionKeyMonitor\": false,\r\n \"isVirtualNetworkFilterEnabled\": false,\r\n \"virtualNetworkRules\": [],\r\n \"EnabledApiTypes\": \"Cassandra\",\r\n \"disableKeyBasedMetadataWriteAccess\": false,\r\n \"enableFreeTier\": false,\r\n \"enableAnalyticalStorage\": true,\r\n \"analyticalStorageConfiguration\": null,\r\n \"instanceId\": \"06b06214-765c-435a-995b-14ea5651da8d\",\r\n \"createMode\": \"Default\",\r\n \"databaseAccountOfferType\": \"Standard\",\r\n \"enableCassandraConnector\": false,\r\n \"connectorOffer\": \"\",\r\n \"defaultIdentity\": \"\",\r\n \"networkAclBypass\": \"None\",\r\n \"consistencyPolicy\": {\r\n \"defaultConsistencyLevel\": \"Session\",\r\n \"maxIntervalInSeconds\": 5,\r\n \"maxStalenessPrefix\": 100\r\n },\r\n \"configurationOverrides\": {},\r\n \"writeLocations\": [\r\n {\r\n \"id\": \"tvkcassandrademo-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://tvkcassandrademo-eastus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"readLocations\": [\r\n {\r\n \"id\": \"tvkcassandrademo-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://tvkcassandrademo-eastus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"locations\": [\r\n {\r\n \"id\": \"tvkcassandrademo-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://tvkcassandrademo-eastus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"failoverPolicies\": [\r\n {\r\n \"id\": \"tvkcassandrademo-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"failoverPriority\": 0\r\n }\r\n ],\r\n \"cors\": [],\r\n \"capabilities\": [\r\n {\r\n \"name\": \"EnableCassandra\"\r\n }\r\n ],\r\n \"ipRules\": [],\r\n \"backupPolicy\": {\r\n \"type\": \"Periodic\",\r\n \"periodicModeProperties\": {\r\n \"backupIntervalInMinutes\": 60,\r\n \"backupRetentionIntervalInHours\": 8,\r\n \"backupStorageRedundancy\": \"Geo\"\r\n }\r\n },\r\n \"networkAclBypassResourceIds\": []\r\n },\r\n \"identity\": {\r\n \"type\": \"None\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/resourceGroups/SelviTest-RG/providers/Microsoft.DocumentDB/databaseAccounts/selvitest-account-destinationforrestorev2\",\r\n \"name\": \"selvitest-account-destinationforrestorev2\",\r\n \"location\": \"East US 2\",\r\n \"type\": \"Microsoft.DocumentDB/databaseAccounts\",\r\n \"kind\": \"GlobalDocumentDB\",\r\n \"tags\": {},\r\n \"systemData\": {\r\n \"createdAt\": \"2020-07-23T17:41:21.5364537Z\"\r\n },\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"documentEndpoint\": \"https://selvitest-account-destinationforrestorev2.documents-staging.windows-ppe.net:443/\",\r\n \"publicNetworkAccess\": \"Enabled\",\r\n \"enableAutomaticFailover\": false,\r\n \"enableMultipleWriteLocations\": false,\r\n \"enablePartitionKeyMonitor\": false,\r\n \"isVirtualNetworkFilterEnabled\": false,\r\n \"virtualNetworkRules\": [],\r\n \"EnabledApiTypes\": \"Sql\",\r\n \"disableKeyBasedMetadataWriteAccess\": false,\r\n \"enableFreeTier\": false,\r\n \"enableAnalyticalStorage\": false,\r\n \"analyticalStorageConfiguration\": null,\r\n \"instanceId\": \"2d90bc37-cd54-4352-9e57-e6aa3f22d494\",\r\n \"createMode\": \"Restore\",\r\n \"databaseAccountOfferType\": \"Standard\",\r\n \"enableCassandraConnector\": false,\r\n \"defaultIdentity\": \"\",\r\n \"networkAclBypass\": \"None\",\r\n \"consistencyPolicy\": {\r\n \"defaultConsistencyLevel\": \"Session\",\r\n \"maxIntervalInSeconds\": 5,\r\n \"maxStalenessPrefix\": 100\r\n },\r\n \"configurationOverrides\": {},\r\n \"writeLocations\": [\r\n {\r\n \"id\": \"selvitest-account-destinationforrestorev2-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://selvitest-account-destinationforrestorev2-eastus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"readLocations\": [\r\n {\r\n \"id\": \"selvitest-account-destinationforrestorev2-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://selvitest-account-destinationforrestorev2-eastus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"locations\": [\r\n {\r\n \"id\": \"selvitest-account-destinationforrestorev2-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://selvitest-account-destinationforrestorev2-eastus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"failoverPolicies\": [\r\n {\r\n \"id\": \"selvitest-account-destinationforrestorev2-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"failoverPriority\": 0\r\n }\r\n ],\r\n \"cors\": [],\r\n \"capabilities\": [],\r\n \"ipRules\": [],\r\n \"backupPolicy\": {\r\n \"type\": \"Continuous\"\r\n },\r\n \"restoreParameters\": {\r\n \"restoreMode\": \"PointInTime\",\r\n \"restoreSource\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/providers/Microsoft.DocumentDB/locations/eastus2/restorableDatabaseAccounts/55083b96-b985-4dec-92df-fa0ac98443f1\",\r\n \"restoreTimestampInUtc\": \"2020-07-23T17:06:10Z\",\r\n \"databasesToRestore\": []\r\n },\r\n \"networkAclBypassResourceIds\": []\r\n },\r\n \"identity\": {\r\n \"type\": \"None\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/resourceGroups/virangai-test/providers/Microsoft.DocumentDB/databaseAccounts/virangai-test-bk-periodic\",\r\n \"name\": \"virangai-test-bk-periodic\",\r\n \"location\": \"East US 2\",\r\n \"type\": \"Microsoft.DocumentDB/databaseAccounts\",\r\n \"kind\": \"GlobalDocumentDB\",\r\n \"tags\": {\r\n \"defaultExperience\": \"Core (SQL)\",\r\n \"hidden-cosmos-mmspecial\": \"\",\r\n \"CosmosAccountType\": \"Non-Production\"\r\n },\r\n \"systemData\": {\r\n \"createdAt\": \"2020-07-28T22:17:49.6964141Z\"\r\n },\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"documentEndpoint\": \"https://virangai-test-bk-periodic.documents-staging.windows-ppe.net:443/\",\r\n \"publicNetworkAccess\": \"Enabled\",\r\n \"enableAutomaticFailover\": false,\r\n \"enableMultipleWriteLocations\": false,\r\n \"enablePartitionKeyMonitor\": false,\r\n \"isVirtualNetworkFilterEnabled\": false,\r\n \"virtualNetworkRules\": [],\r\n \"EnabledApiTypes\": \"Sql\",\r\n \"disableKeyBasedMetadataWriteAccess\": false,\r\n \"enableFreeTier\": false,\r\n \"enableAnalyticalStorage\": false,\r\n \"analyticalStorageConfiguration\": null,\r\n \"instanceId\": \"dc66fd77-d262-4669-b43d-23f1ed1483f0\",\r\n \"createMode\": \"Default\",\r\n \"databaseAccountOfferType\": \"Standard\",\r\n \"enableCassandraConnector\": false,\r\n \"connectorOffer\": \"\",\r\n \"defaultIdentity\": \"\",\r\n \"networkAclBypass\": \"None\",\r\n \"consistencyPolicy\": {\r\n \"defaultConsistencyLevel\": \"Session\",\r\n \"maxIntervalInSeconds\": 5,\r\n \"maxStalenessPrefix\": 100\r\n },\r\n \"configurationOverrides\": {},\r\n \"writeLocations\": [\r\n {\r\n \"id\": \"virangai-test-bk-periodic-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://virangai-test-bk-periodic-eastus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"readLocations\": [\r\n {\r\n \"id\": \"virangai-test-bk-periodic-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://virangai-test-bk-periodic-eastus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"locations\": [\r\n {\r\n \"id\": \"virangai-test-bk-periodic-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://virangai-test-bk-periodic-eastus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"failoverPolicies\": [\r\n {\r\n \"id\": \"virangai-test-bk-periodic-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"failoverPriority\": 0\r\n }\r\n ],\r\n \"cors\": [],\r\n \"capabilities\": [],\r\n \"ipRules\": [],\r\n \"backupPolicy\": {\r\n \"type\": \"Periodic\",\r\n \"periodicModeProperties\": {\r\n \"backupIntervalInMinutes\": 240,\r\n \"backupRetentionIntervalInHours\": 8,\r\n \"backupStorageRedundancy\": \"Geo\"\r\n }\r\n },\r\n \"networkAclBypassResourceIds\": []\r\n },\r\n \"identity\": {\r\n \"type\": \"None\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/resourceGroups/xujzhang_stage/providers/Microsoft.DocumentDB/databaseAccounts/xujinstagetest1\",\r\n \"name\": \"xujinstagetest1\",\r\n \"location\": \"East US 2\",\r\n \"type\": \"Microsoft.DocumentDB/databaseAccounts\",\r\n \"kind\": \"GlobalDocumentDB\",\r\n \"tags\": {\r\n \"defaultExperience\": \"Core (SQL)\"\r\n },\r\n \"systemData\": {\r\n \"createdAt\": \"2019-03-22T21:07:39.7713078Z\"\r\n },\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"documentEndpoint\": \"https://xujinstagetest1.documents-staging.windows-ppe.net:443/\",\r\n \"publicNetworkAccess\": \"Enabled\",\r\n \"enableAutomaticFailover\": false,\r\n \"enableMultipleWriteLocations\": false,\r\n \"enablePartitionKeyMonitor\": false,\r\n \"isVirtualNetworkFilterEnabled\": false,\r\n \"virtualNetworkRules\": [],\r\n \"EnabledApiTypes\": \"Sql\",\r\n \"disableKeyBasedMetadataWriteAccess\": false,\r\n \"enableFreeTier\": false,\r\n \"enableAnalyticalStorage\": false,\r\n \"analyticalStorageConfiguration\": null,\r\n \"instanceId\": \"0173ac57-191b-49ee-925c-e578604ce691\",\r\n \"createMode\": \"Default\",\r\n \"databaseAccountOfferType\": \"Standard\",\r\n \"defaultIdentity\": \"\",\r\n \"networkAclBypass\": \"None\",\r\n \"consistencyPolicy\": {\r\n \"defaultConsistencyLevel\": \"Session\",\r\n \"maxIntervalInSeconds\": 5,\r\n \"maxStalenessPrefix\": 100\r\n },\r\n \"configurationOverrides\": {},\r\n \"writeLocations\": [\r\n {\r\n \"id\": \"xujinstagetest1-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://xujinstagetest1-eastus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"readLocations\": [\r\n {\r\n \"id\": \"xujinstagetest1-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://xujinstagetest1-eastus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"locations\": [\r\n {\r\n \"id\": \"xujinstagetest1-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://xujinstagetest1-eastus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"failoverPolicies\": [\r\n {\r\n \"id\": \"xujinstagetest1-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"failoverPriority\": 0\r\n }\r\n ],\r\n \"cors\": [],\r\n \"capabilities\": [],\r\n \"ipRules\": [],\r\n \"backupPolicy\": {\r\n \"type\": \"Periodic\",\r\n \"periodicModeProperties\": {\r\n \"backupIntervalInMinutes\": 240,\r\n \"backupRetentionIntervalInHours\": 8,\r\n \"backupStorageRedundancy\": \"Geo\"\r\n }\r\n },\r\n \"networkAclBypassResourceIds\": []\r\n },\r\n \"identity\": {\r\n \"type\": \"None\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/resourceGroups/shmotlan/providers/Microsoft.DocumentDB/databaseAccounts/shan-0726-cassandra\",\r\n \"name\": \"shan-0726-cassandra\",\r\n \"location\": \"East US 2\",\r\n \"type\": \"Microsoft.DocumentDB/databaseAccounts\",\r\n \"kind\": \"GlobalDocumentDB\",\r\n \"tags\": {\r\n \"defaultExperience\": \"Cassandra\"\r\n },\r\n \"systemData\": {\r\n \"createdAt\": \"2019-07-26T20:36:06.0851865Z\"\r\n },\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"documentEndpoint\": \"https://shan-0726-cassandra.documents-staging.windows-ppe.net:443/\",\r\n \"cassandraEndpoint\": \"https://shan-0726-cassandra.cassandra.cosmos.windows-ppe.net:443/\",\r\n \"publicNetworkAccess\": \"Enabled\",\r\n \"enableAutomaticFailover\": false,\r\n \"enableMultipleWriteLocations\": true,\r\n \"enablePartitionKeyMonitor\": false,\r\n \"isVirtualNetworkFilterEnabled\": false,\r\n \"virtualNetworkRules\": [],\r\n \"EnabledApiTypes\": \"Cassandra\",\r\n \"disableKeyBasedMetadataWriteAccess\": false,\r\n \"enableFreeTier\": false,\r\n \"enableAnalyticalStorage\": false,\r\n \"analyticalStorageConfiguration\": null,\r\n \"instanceId\": \"d8f0ab61-7696-4a90-bccc-ace162567de1\",\r\n \"createMode\": \"Default\",\r\n \"databaseAccountOfferType\": \"Standard\",\r\n \"enableCassandraConnector\": false,\r\n \"connectorOffer\": \"\",\r\n \"defaultIdentity\": \"\",\r\n \"networkAclBypass\": \"None\",\r\n \"consistencyPolicy\": {\r\n \"defaultConsistencyLevel\": \"Session\",\r\n \"maxIntervalInSeconds\": 5,\r\n \"maxStalenessPrefix\": 100\r\n },\r\n \"configurationOverrides\": {},\r\n \"writeLocations\": [\r\n {\r\n \"id\": \"shan-0726-cassandra-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://shan-0726-cassandra-eastus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"readLocations\": [\r\n {\r\n \"id\": \"shan-0726-cassandra-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://shan-0726-cassandra-eastus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"locations\": [\r\n {\r\n \"id\": \"shan-0726-cassandra-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://shan-0726-cassandra-eastus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"failoverPolicies\": [\r\n {\r\n \"id\": \"shan-0726-cassandra-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"failoverPriority\": 0\r\n }\r\n ],\r\n \"cors\": [],\r\n \"capabilities\": [\r\n {\r\n \"name\": \"EnableCassandra\"\r\n }\r\n ],\r\n \"ipRules\": [],\r\n \"backupPolicy\": {\r\n \"type\": \"Periodic\",\r\n \"periodicModeProperties\": {\r\n \"backupIntervalInMinutes\": 240,\r\n \"backupRetentionIntervalInHours\": 8,\r\n \"backupStorageRedundancy\": \"Geo\"\r\n }\r\n },\r\n \"networkAclBypassResourceIds\": []\r\n },\r\n \"identity\": {\r\n \"type\": \"None\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/resourceGroups/xujzhang_stage/providers/Microsoft.DocumentDB/databaseAccounts/xujinstagetest2\",\r\n \"name\": \"xujinstagetest2\",\r\n \"location\": \"East US 2\",\r\n \"type\": \"Microsoft.DocumentDB/databaseAccounts\",\r\n \"kind\": \"MongoDB\",\r\n \"tags\": {\r\n \"defaultExperience\": \"Azure Cosmos DB for MongoDB API\"\r\n },\r\n \"systemData\": {\r\n \"createdAt\": \"2019-04-01T20:21:52.6485436Z\"\r\n },\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"documentEndpoint\": \"https://xujinstagetest2.documents-staging.windows-ppe.net:443/\",\r\n \"publicNetworkAccess\": \"Enabled\",\r\n \"enableAutomaticFailover\": false,\r\n \"enableMultipleWriteLocations\": false,\r\n \"enablePartitionKeyMonitor\": false,\r\n \"isVirtualNetworkFilterEnabled\": false,\r\n \"virtualNetworkRules\": [],\r\n \"EnabledApiTypes\": \"MongoDB\",\r\n \"disableKeyBasedMetadataWriteAccess\": false,\r\n \"enableFreeTier\": false,\r\n \"enableAnalyticalStorage\": false,\r\n \"analyticalStorageConfiguration\": null,\r\n \"instanceId\": \"5f143bbb-1924-48e9-a99d-adb8231afc9b\",\r\n \"createMode\": \"Default\",\r\n \"databaseAccountOfferType\": \"Standard\",\r\n \"defaultIdentity\": \"\",\r\n \"networkAclBypass\": \"None\",\r\n \"consistencyPolicy\": {\r\n \"defaultConsistencyLevel\": \"Session\",\r\n \"maxIntervalInSeconds\": 5,\r\n \"maxStalenessPrefix\": 100\r\n },\r\n \"apiProperties\": {\r\n \"serverVersion\": \"3.2\"\r\n },\r\n \"configurationOverrides\": {\r\n \"EnableBsonSchema\": \"True\"\r\n },\r\n \"writeLocations\": [\r\n {\r\n \"id\": \"xujinstagetest2-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://xujinstagetest2-eastus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"readLocations\": [\r\n {\r\n \"id\": \"xujinstagetest2-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://xujinstagetest2-eastus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"locations\": [\r\n {\r\n \"id\": \"xujinstagetest2-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://xujinstagetest2-eastus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"failoverPolicies\": [\r\n {\r\n \"id\": \"xujinstagetest2-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"failoverPriority\": 0\r\n }\r\n ],\r\n \"cors\": [],\r\n \"capabilities\": [],\r\n \"ipRules\": [],\r\n \"backupPolicy\": {\r\n \"type\": \"Periodic\",\r\n \"periodicModeProperties\": {\r\n \"backupIntervalInMinutes\": 240,\r\n \"backupRetentionIntervalInHours\": 8,\r\n \"backupStorageRedundancy\": \"Geo\"\r\n }\r\n },\r\n \"networkAclBypassResourceIds\": []\r\n },\r\n \"identity\": {\r\n \"type\": \"None\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/resourceGroups/CANARY/providers/Microsoft.DocumentDB/databaseAccounts/canary-stageeastus2fd5\",\r\n \"name\": \"canary-stageeastus2fd5\",\r\n \"location\": \"East US 2\",\r\n \"type\": \"Microsoft.DocumentDB/databaseAccounts\",\r\n \"kind\": \"DocumentDB\",\r\n \"tags\": {},\r\n \"systemData\": {\r\n \"createdAt\": \"2020-10-16T13:42:04.8923822Z\"\r\n },\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"documentEndpoint\": \"https://canary-stageeastus2fd5.documents-staging.windows-ppe.net:443/\",\r\n \"publicNetworkAccess\": \"Enabled\",\r\n \"enableAutomaticFailover\": false,\r\n \"enableMultipleWriteLocations\": false,\r\n \"enablePartitionKeyMonitor\": false,\r\n \"isVirtualNetworkFilterEnabled\": false,\r\n \"virtualNetworkRules\": [],\r\n \"EnabledApiTypes\": \"Sql\",\r\n \"disableKeyBasedMetadataWriteAccess\": false,\r\n \"enableFreeTier\": false,\r\n \"enableAnalyticalStorage\": false,\r\n \"analyticalStorageConfiguration\": null,\r\n \"instanceId\": \"a9ccaa44-ea29-4215-8a21-9fc277eef399\",\r\n \"createMode\": \"Default\",\r\n \"databaseAccountOfferType\": \"Standard\",\r\n \"defaultIdentity\": \"\",\r\n \"networkAclBypass\": \"None\",\r\n \"consistencyPolicy\": {\r\n \"defaultConsistencyLevel\": \"Session\",\r\n \"maxIntervalInSeconds\": 5,\r\n \"maxStalenessPrefix\": 100\r\n },\r\n \"configurationOverrides\": {},\r\n \"writeLocations\": [\r\n {\r\n \"id\": \"canary-stageeastus2fd5-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://canary-stageeastus2fd5-eastus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"readLocations\": [\r\n {\r\n \"id\": \"canary-stageeastus2fd5-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://canary-stageeastus2fd5-eastus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"locations\": [\r\n {\r\n \"id\": \"canary-stageeastus2fd5-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://canary-stageeastus2fd5-eastus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"failoverPolicies\": [\r\n {\r\n \"id\": \"canary-stageeastus2fd5-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"failoverPriority\": 0\r\n }\r\n ],\r\n \"cors\": [],\r\n \"capabilities\": [],\r\n \"ipRules\": [],\r\n \"backupPolicy\": {\r\n \"type\": \"Periodic\",\r\n \"periodicModeProperties\": {\r\n \"backupIntervalInMinutes\": 240,\r\n \"backupRetentionIntervalInHours\": 8,\r\n \"backupStorageRedundancy\": \"Geo\"\r\n }\r\n },\r\n \"networkAclBypassResourceIds\": []\r\n },\r\n \"identity\": {\r\n \"type\": \"None\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/resourceGroups/jasontho/providers/Microsoft.DocumentDB/databaseAccounts/jasontho-stagetest32\",\r\n \"name\": \"jasontho-stagetest32\",\r\n \"location\": \"East US 2\",\r\n \"type\": \"Microsoft.DocumentDB/databaseAccounts\",\r\n \"kind\": \"MongoDB\",\r\n \"tags\": {\r\n \"defaultExperience\": \"Azure Cosmos DB for MongoDB API\",\r\n \"hidden-cosmos-mmspecial\": \"\",\r\n \"CosmosAccountType\": \"Non-Production\"\r\n },\r\n \"systemData\": {\r\n \"createdAt\": \"2020-10-19T22:13:22.179313Z\"\r\n },\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"documentEndpoint\": \"https://jasontho-stagetest32.documents-staging.windows-ppe.net:443/\",\r\n \"mongoEndpoint\": \"https://jasontho-stagetest32.mongo.cosmos.windows-ppe.net:443/\",\r\n \"publicNetworkAccess\": \"Enabled\",\r\n \"enableAutomaticFailover\": false,\r\n \"enableMultipleWriteLocations\": false,\r\n \"enablePartitionKeyMonitor\": false,\r\n \"isVirtualNetworkFilterEnabled\": false,\r\n \"virtualNetworkRules\": [],\r\n \"EnabledApiTypes\": \"MongoDB\",\r\n \"disableKeyBasedMetadataWriteAccess\": false,\r\n \"enableFreeTier\": false,\r\n \"enableAnalyticalStorage\": false,\r\n \"analyticalStorageConfiguration\": null,\r\n \"instanceId\": \"98f5d7df-6e9a-44b8-9314-84d0a0aa456a\",\r\n \"createMode\": \"Default\",\r\n \"databaseAccountOfferType\": \"Standard\",\r\n \"enableCassandraConnector\": false,\r\n \"connectorOffer\": \"\",\r\n \"defaultIdentity\": \"\",\r\n \"networkAclBypass\": \"None\",\r\n \"consistencyPolicy\": {\r\n \"defaultConsistencyLevel\": \"Session\",\r\n \"maxIntervalInSeconds\": 5,\r\n \"maxStalenessPrefix\": 100\r\n },\r\n \"apiProperties\": {\r\n \"serverVersion\": \"3.6\"\r\n },\r\n \"configurationOverrides\": {\r\n \"EnableBsonSchema\": \"True\"\r\n },\r\n \"writeLocations\": [\r\n {\r\n \"id\": \"jasontho-stagetest32-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://jasontho-stagetest32-eastus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"readLocations\": [\r\n {\r\n \"id\": \"jasontho-stagetest32-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://jasontho-stagetest32-eastus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"locations\": [\r\n {\r\n \"id\": \"jasontho-stagetest32-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://jasontho-stagetest32-eastus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"failoverPolicies\": [\r\n {\r\n \"id\": \"jasontho-stagetest32-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"failoverPriority\": 0\r\n }\r\n ],\r\n \"cors\": [],\r\n \"capabilities\": [\r\n {\r\n \"name\": \"EnableMongo\"\r\n },\r\n {\r\n \"name\": \"DisableRateLimitingResponses\"\r\n }\r\n ],\r\n \"ipRules\": [],\r\n \"backupPolicy\": {\r\n \"type\": \"Periodic\",\r\n \"periodicModeProperties\": {\r\n \"backupIntervalInMinutes\": 240,\r\n \"backupRetentionIntervalInHours\": 8,\r\n \"backupStorageRedundancy\": \"Geo\"\r\n }\r\n },\r\n \"networkAclBypassResourceIds\": []\r\n },\r\n \"identity\": {\r\n \"type\": \"None\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/resourceGroups/jasontho/providers/Microsoft.DocumentDB/databaseAccounts/jasontho-stagetest36\",\r\n \"name\": \"jasontho-stagetest36\",\r\n \"location\": \"East US 2\",\r\n \"type\": \"Microsoft.DocumentDB/databaseAccounts\",\r\n \"kind\": \"MongoDB\",\r\n \"tags\": {\r\n \"defaultExperience\": \"Azure Cosmos DB for MongoDB API\",\r\n \"hidden-cosmos-mmspecial\": \"\",\r\n \"CosmosAccountType\": \"Non-Production\"\r\n },\r\n \"systemData\": {\r\n \"createdAt\": \"2020-10-19T22:17:01.1188426Z\"\r\n },\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"documentEndpoint\": \"https://jasontho-stagetest36.documents-staging.windows-ppe.net:443/\",\r\n \"mongoEndpoint\": \"https://jasontho-stagetest36.mongo.cosmos.windows-ppe.net:443/\",\r\n \"publicNetworkAccess\": \"Enabled\",\r\n \"enableAutomaticFailover\": false,\r\n \"enableMultipleWriteLocations\": false,\r\n \"enablePartitionKeyMonitor\": false,\r\n \"isVirtualNetworkFilterEnabled\": false,\r\n \"virtualNetworkRules\": [],\r\n \"EnabledApiTypes\": \"MongoDB\",\r\n \"disableKeyBasedMetadataWriteAccess\": false,\r\n \"enableFreeTier\": false,\r\n \"enableAnalyticalStorage\": false,\r\n \"analyticalStorageConfiguration\": null,\r\n \"instanceId\": \"ed43e94e-b1d1-462c-84bc-5ff8a229cd7f\",\r\n \"createMode\": \"Default\",\r\n \"databaseAccountOfferType\": \"Standard\",\r\n \"enableCassandraConnector\": false,\r\n \"connectorOffer\": \"\",\r\n \"defaultIdentity\": \"\",\r\n \"networkAclBypass\": \"None\",\r\n \"consistencyPolicy\": {\r\n \"defaultConsistencyLevel\": \"Session\",\r\n \"maxIntervalInSeconds\": 5,\r\n \"maxStalenessPrefix\": 100\r\n },\r\n \"apiProperties\": {\r\n \"serverVersion\": \"3.6\"\r\n },\r\n \"configurationOverrides\": {\r\n \"EnableBsonSchema\": \"True\"\r\n },\r\n \"writeLocations\": [\r\n {\r\n \"id\": \"jasontho-stagetest36-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://jasontho-stagetest36-eastus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"readLocations\": [\r\n {\r\n \"id\": \"jasontho-stagetest36-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://jasontho-stagetest36-eastus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"locations\": [\r\n {\r\n \"id\": \"jasontho-stagetest36-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://jasontho-stagetest36-eastus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"failoverPolicies\": [\r\n {\r\n \"id\": \"jasontho-stagetest36-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"failoverPriority\": 0\r\n }\r\n ],\r\n \"cors\": [],\r\n \"capabilities\": [\r\n {\r\n \"name\": \"EnableMongo\"\r\n },\r\n {\r\n \"name\": \"DisableRateLimitingResponses\"\r\n }\r\n ],\r\n \"ipRules\": [],\r\n \"backupPolicy\": {\r\n \"type\": \"Periodic\",\r\n \"periodicModeProperties\": {\r\n \"backupIntervalInMinutes\": 240,\r\n \"backupRetentionIntervalInHours\": 8,\r\n \"backupStorageRedundancy\": \"Geo\"\r\n }\r\n },\r\n \"networkAclBypassResourceIds\": []\r\n },\r\n \"identity\": {\r\n \"type\": \"None\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/resourceGroups/CosmosDBResourceGroup3668/providers/Microsoft.DocumentDB/databaseAccounts/clizdrn52wvk2p6\",\r\n \"name\": \"clizdrn52wvk2p6\",\r\n \"location\": \"East US 2\",\r\n \"type\": \"Microsoft.DocumentDB/databaseAccounts\",\r\n \"kind\": \"GlobalDocumentDB\",\r\n \"tags\": {},\r\n \"systemData\": {\r\n \"createdAt\": \"2020-10-20T19:34:35.4461278Z\"\r\n },\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"documentEndpoint\": \"https://clizdrn52wvk2p6.documents-staging.windows-ppe.net:443/\",\r\n \"publicNetworkAccess\": \"Enabled\",\r\n \"enableAutomaticFailover\": false,\r\n \"enableMultipleWriteLocations\": false,\r\n \"enablePartitionKeyMonitor\": false,\r\n \"isVirtualNetworkFilterEnabled\": false,\r\n \"virtualNetworkRules\": [],\r\n \"EnabledApiTypes\": \"Sql\",\r\n \"disableKeyBasedMetadataWriteAccess\": false,\r\n \"enableFreeTier\": false,\r\n \"enableAnalyticalStorage\": false,\r\n \"analyticalStorageConfiguration\": null,\r\n \"instanceId\": \"9ad09199-8e7a-4c2d-812a-41a3a21c7c67\",\r\n \"createMode\": \"Default\",\r\n \"databaseAccountOfferType\": \"Standard\",\r\n \"enableCassandraConnector\": false,\r\n \"connectorOffer\": \"\",\r\n \"defaultIdentity\": \"\",\r\n \"networkAclBypass\": \"None\",\r\n \"consistencyPolicy\": {\r\n \"defaultConsistencyLevel\": \"Session\",\r\n \"maxIntervalInSeconds\": 5,\r\n \"maxStalenessPrefix\": 100\r\n },\r\n \"configurationOverrides\": {},\r\n \"writeLocations\": [\r\n {\r\n \"id\": \"clizdrn52wvk2p6-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://clizdrn52wvk2p6-eastus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"readLocations\": [\r\n {\r\n \"id\": \"clizdrn52wvk2p6-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://clizdrn52wvk2p6-eastus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"locations\": [\r\n {\r\n \"id\": \"clizdrn52wvk2p6-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://clizdrn52wvk2p6-eastus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"failoverPolicies\": [\r\n {\r\n \"id\": \"clizdrn52wvk2p6-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"failoverPriority\": 0\r\n }\r\n ],\r\n \"cors\": [],\r\n \"capabilities\": [],\r\n \"ipRules\": [],\r\n \"backupPolicy\": {\r\n \"type\": \"Periodic\",\r\n \"periodicModeProperties\": {\r\n \"backupIntervalInMinutes\": 240,\r\n \"backupRetentionIntervalInHours\": 8,\r\n \"backupStorageRedundancy\": \"Geo\"\r\n }\r\n },\r\n \"networkAclBypassResourceIds\": []\r\n },\r\n \"identity\": {\r\n \"type\": \"None\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/resourceGroups/ragil/providers/Microsoft.DocumentDB/databaseAccounts/ragil-stage2\",\r\n \"name\": \"ragil-stage2\",\r\n \"location\": \"East US 2\",\r\n \"type\": \"Microsoft.DocumentDB/databaseAccounts\",\r\n \"kind\": \"GlobalDocumentDB\",\r\n \"tags\": {\r\n \"defaultExperience\": \"Core (SQL)\",\r\n \"hidden-cosmos-mmspecial\": \"\",\r\n \"CosmosAccountType\": \"Non-Production\"\r\n },\r\n \"systemData\": {\r\n \"createdAt\": \"2020-10-21T06:42:55.5856255Z\"\r\n },\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"documentEndpoint\": \"https://ragil-stage2.documents-staging.windows-ppe.net:443/\",\r\n \"publicNetworkAccess\": \"Enabled\",\r\n \"enableAutomaticFailover\": false,\r\n \"enableMultipleWriteLocations\": false,\r\n \"enablePartitionKeyMonitor\": false,\r\n \"isVirtualNetworkFilterEnabled\": false,\r\n \"virtualNetworkRules\": [],\r\n \"EnabledApiTypes\": \"Sql\",\r\n \"disableKeyBasedMetadataWriteAccess\": false,\r\n \"enableFreeTier\": false,\r\n \"enableAnalyticalStorage\": false,\r\n \"analyticalStorageConfiguration\": null,\r\n \"instanceId\": \"1a9aa254-93fd-46e4-a4e6-86a8c2ffe8ff\",\r\n \"createMode\": \"Default\",\r\n \"databaseAccountOfferType\": \"Standard\",\r\n \"enableCassandraConnector\": false,\r\n \"connectorOffer\": \"\",\r\n \"defaultIdentity\": \"\",\r\n \"networkAclBypass\": \"None\",\r\n \"consistencyPolicy\": {\r\n \"defaultConsistencyLevel\": \"Session\",\r\n \"maxIntervalInSeconds\": 5,\r\n \"maxStalenessPrefix\": 100\r\n },\r\n \"configurationOverrides\": {},\r\n \"writeLocations\": [\r\n {\r\n \"id\": \"ragil-stage2-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://ragil-stage2-eastus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"readLocations\": [\r\n {\r\n \"id\": \"ragil-stage2-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://ragil-stage2-eastus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"locations\": [\r\n {\r\n \"id\": \"ragil-stage2-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://ragil-stage2-eastus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"failoverPolicies\": [\r\n {\r\n \"id\": \"ragil-stage2-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"failoverPriority\": 0\r\n }\r\n ],\r\n \"cors\": [],\r\n \"capabilities\": [],\r\n \"ipRules\": [],\r\n \"backupPolicy\": {\r\n \"type\": \"Periodic\",\r\n \"periodicModeProperties\": {\r\n \"backupIntervalInMinutes\": 240,\r\n \"backupRetentionIntervalInHours\": 8,\r\n \"backupStorageRedundancy\": \"Geo\"\r\n }\r\n },\r\n \"networkAclBypassResourceIds\": []\r\n },\r\n \"identity\": {\r\n \"type\": \"None\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/resourceGroups/BCDR/providers/Microsoft.DocumentDB/databaseAccounts/bcdrdrill\",\r\n \"name\": \"bcdrdrill\",\r\n \"location\": \"East US 2\",\r\n \"type\": \"Microsoft.DocumentDB/databaseAccounts\",\r\n \"kind\": \"GlobalDocumentDB\",\r\n \"tags\": {\r\n \"defaultExperience\": \"Core (SQL)\",\r\n \"hidden-cosmos-mmspecial\": \"\",\r\n \"CosmosAccountType\": \"Non-Production\"\r\n },\r\n \"systemData\": {\r\n \"createdAt\": \"2020-10-21T19:39:36.3359017Z\"\r\n },\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"documentEndpoint\": \"https://bcdrdrill.documents-staging.windows-ppe.net:443/\",\r\n \"publicNetworkAccess\": \"Enabled\",\r\n \"enableAutomaticFailover\": false,\r\n \"enableMultipleWriteLocations\": false,\r\n \"enablePartitionKeyMonitor\": false,\r\n \"isVirtualNetworkFilterEnabled\": false,\r\n \"virtualNetworkRules\": [],\r\n \"EnabledApiTypes\": \"Sql\",\r\n \"disableKeyBasedMetadataWriteAccess\": false,\r\n \"enableFreeTier\": false,\r\n \"enableAnalyticalStorage\": false,\r\n \"analyticalStorageConfiguration\": null,\r\n \"instanceId\": \"062979ad-28c2-4f77-908b-6d93e69bcb14\",\r\n \"createMode\": \"Default\",\r\n \"databaseAccountOfferType\": \"Standard\",\r\n \"enableCassandraConnector\": false,\r\n \"connectorOffer\": \"\",\r\n \"defaultIdentity\": \"\",\r\n \"networkAclBypass\": \"None\",\r\n \"consistencyPolicy\": {\r\n \"defaultConsistencyLevel\": \"Session\",\r\n \"maxIntervalInSeconds\": 5,\r\n \"maxStalenessPrefix\": 100\r\n },\r\n \"configurationOverrides\": {},\r\n \"writeLocations\": [\r\n {\r\n \"id\": \"bcdrdrill-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://bcdrdrill-eastus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"readLocations\": [\r\n {\r\n \"id\": \"bcdrdrill-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://bcdrdrill-eastus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"locations\": [\r\n {\r\n \"id\": \"bcdrdrill-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://bcdrdrill-eastus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"failoverPolicies\": [\r\n {\r\n \"id\": \"bcdrdrill-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"failoverPriority\": 0\r\n }\r\n ],\r\n \"cors\": [],\r\n \"capabilities\": [],\r\n \"ipRules\": [],\r\n \"backupPolicy\": {\r\n \"type\": \"Periodic\",\r\n \"periodicModeProperties\": {\r\n \"backupIntervalInMinutes\": 240,\r\n \"backupRetentionIntervalInHours\": 8,\r\n \"backupStorageRedundancy\": \"Geo\"\r\n }\r\n },\r\n \"networkAclBypassResourceIds\": []\r\n },\r\n \"identity\": {\r\n \"type\": \"None\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/resourceGroups/OutageDrill/providers/Microsoft.DocumentDB/databaseAccounts/outagedrill\",\r\n \"name\": \"outagedrill\",\r\n \"location\": \"East US 2\",\r\n \"type\": \"Microsoft.DocumentDB/databaseAccounts\",\r\n \"kind\": \"GlobalDocumentDB\",\r\n \"tags\": {\r\n \"defaultExperience\": \"Core (SQL)\",\r\n \"hidden-cosmos-mmspecial\": \"\",\r\n \"CosmosAccountType\": \"Non-Production\"\r\n },\r\n \"systemData\": {\r\n \"createdAt\": \"2020-10-21T19:42:53.5545452Z\"\r\n },\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"documentEndpoint\": \"https://outagedrill.documents-staging.windows-ppe.net:443/\",\r\n \"publicNetworkAccess\": \"Enabled\",\r\n \"enableAutomaticFailover\": true,\r\n \"enableMultipleWriteLocations\": false,\r\n \"enablePartitionKeyMonitor\": false,\r\n \"isVirtualNetworkFilterEnabled\": false,\r\n \"virtualNetworkRules\": [],\r\n \"EnabledApiTypes\": \"Sql\",\r\n \"disableKeyBasedMetadataWriteAccess\": false,\r\n \"enableFreeTier\": false,\r\n \"enableAnalyticalStorage\": false,\r\n \"analyticalStorageConfiguration\": null,\r\n \"instanceId\": \"606e424c-bc9e-4607-8f83-1e1be9a12dc2\",\r\n \"createMode\": \"Default\",\r\n \"databaseAccountOfferType\": \"Standard\",\r\n \"enableCassandraConnector\": false,\r\n \"connectorOffer\": \"\",\r\n \"defaultIdentity\": \"\",\r\n \"networkAclBypass\": \"None\",\r\n \"consistencyPolicy\": {\r\n \"defaultConsistencyLevel\": \"Session\",\r\n \"maxIntervalInSeconds\": 5,\r\n \"maxStalenessPrefix\": 100\r\n },\r\n \"configurationOverrides\": {},\r\n \"writeLocations\": [\r\n {\r\n \"id\": \"outagedrill-westus2\",\r\n \"locationName\": \"West US 2\",\r\n \"documentEndpoint\": \"https://outagedrill-westus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"readLocations\": [\r\n {\r\n \"id\": \"outagedrill-westus2\",\r\n \"locationName\": \"West US 2\",\r\n \"documentEndpoint\": \"https://outagedrill-westus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n },\r\n {\r\n \"id\": \"outagedrill-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://outagedrill-eastus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 1,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"locations\": [\r\n {\r\n \"id\": \"outagedrill-westus2\",\r\n \"locationName\": \"West US 2\",\r\n \"documentEndpoint\": \"https://outagedrill-westus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n },\r\n {\r\n \"id\": \"outagedrill-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://outagedrill-eastus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 1,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"failoverPolicies\": [\r\n {\r\n \"id\": \"outagedrill-westus2\",\r\n \"locationName\": \"West US 2\",\r\n \"failoverPriority\": 0\r\n },\r\n {\r\n \"id\": \"outagedrill-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"failoverPriority\": 1\r\n }\r\n ],\r\n \"cors\": [],\r\n \"capabilities\": [],\r\n \"ipRules\": [],\r\n \"backupPolicy\": {\r\n \"type\": \"Periodic\",\r\n \"periodicModeProperties\": {\r\n \"backupIntervalInMinutes\": 240,\r\n \"backupRetentionIntervalInHours\": 8,\r\n \"backupStorageRedundancy\": \"Geo\"\r\n }\r\n },\r\n \"networkAclBypassResourceIds\": []\r\n },\r\n \"identity\": {\r\n \"type\": \"None\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/resourceGroups/shellyg_dr/providers/Microsoft.DocumentDB/databaseAccounts/shellyg-dr\",\r\n \"name\": \"shellyg-dr\",\r\n \"location\": \"East US 2\",\r\n \"type\": \"Microsoft.DocumentDB/databaseAccounts\",\r\n \"kind\": \"GlobalDocumentDB\",\r\n \"tags\": {\r\n \"defaultExperience\": \"Core (SQL)\",\r\n \"hidden-cosmos-mmspecial\": \"\",\r\n \"CosmosAccountType\": \"Non-Production\"\r\n },\r\n \"systemData\": {\r\n \"createdAt\": \"2020-10-21T20:20:06.9213431Z\"\r\n },\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"documentEndpoint\": \"https://shellyg-dr.documents-staging.windows-ppe.net:443/\",\r\n \"publicNetworkAccess\": \"Enabled\",\r\n \"enableAutomaticFailover\": false,\r\n \"enableMultipleWriteLocations\": true,\r\n \"enablePartitionKeyMonitor\": false,\r\n \"isVirtualNetworkFilterEnabled\": false,\r\n \"virtualNetworkRules\": [],\r\n \"EnabledApiTypes\": \"Sql\",\r\n \"disableKeyBasedMetadataWriteAccess\": false,\r\n \"enableFreeTier\": false,\r\n \"enableAnalyticalStorage\": false,\r\n \"analyticalStorageConfiguration\": null,\r\n \"instanceId\": \"705a1e7e-1d00-42b3-bbef-67d60db50efc\",\r\n \"createMode\": \"Default\",\r\n \"databaseAccountOfferType\": \"Standard\",\r\n \"enableCassandraConnector\": false,\r\n \"connectorOffer\": \"\",\r\n \"defaultIdentity\": \"\",\r\n \"networkAclBypass\": \"None\",\r\n \"consistencyPolicy\": {\r\n \"defaultConsistencyLevel\": \"Session\",\r\n \"maxIntervalInSeconds\": 5,\r\n \"maxStalenessPrefix\": 100\r\n },\r\n \"configurationOverrides\": {},\r\n \"writeLocations\": [\r\n {\r\n \"id\": \"shellyg-dr-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://shellyg-dr-eastus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"readLocations\": [\r\n {\r\n \"id\": \"shellyg-dr-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://shellyg-dr-eastus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"locations\": [\r\n {\r\n \"id\": \"shellyg-dr-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://shellyg-dr-eastus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"failoverPolicies\": [\r\n {\r\n \"id\": \"shellyg-dr-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"failoverPriority\": 0\r\n }\r\n ],\r\n \"cors\": [],\r\n \"capabilities\": [],\r\n \"ipRules\": [],\r\n \"backupPolicy\": {\r\n \"type\": \"Periodic\",\r\n \"periodicModeProperties\": {\r\n \"backupIntervalInMinutes\": 240,\r\n \"backupRetentionIntervalInHours\": 8,\r\n \"backupStorageRedundancy\": \"Geo\"\r\n }\r\n },\r\n \"networkAclBypassResourceIds\": []\r\n },\r\n \"identity\": {\r\n \"type\": \"None\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/resourceGroups/OutageDrill/providers/Microsoft.DocumentDB/databaseAccounts/outagedrillmongo\",\r\n \"name\": \"outagedrillmongo\",\r\n \"location\": \"East US 2\",\r\n \"type\": \"Microsoft.DocumentDB/databaseAccounts\",\r\n \"kind\": \"MongoDB\",\r\n \"tags\": {\r\n \"defaultExperience\": \"Azure Cosmos DB for MongoDB API\",\r\n \"hidden-cosmos-mmspecial\": \"\",\r\n \"CosmosAccountType\": \"Non-Production\"\r\n },\r\n \"systemData\": {\r\n \"createdAt\": \"2020-10-22T20:43:06.8561405Z\"\r\n },\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"documentEndpoint\": \"https://outagedrillmongo.documents-staging.windows-ppe.net:443/\",\r\n \"mongoEndpoint\": \"https://outagedrillmongo.mongo.cosmos.windows-ppe.net:443/\",\r\n \"publicNetworkAccess\": \"Enabled\",\r\n \"enableAutomaticFailover\": true,\r\n \"enableMultipleWriteLocations\": false,\r\n \"enablePartitionKeyMonitor\": false,\r\n \"isVirtualNetworkFilterEnabled\": false,\r\n \"virtualNetworkRules\": [],\r\n \"EnabledApiTypes\": \"MongoDB\",\r\n \"disableKeyBasedMetadataWriteAccess\": false,\r\n \"enableFreeTier\": false,\r\n \"enableAnalyticalStorage\": false,\r\n \"analyticalStorageConfiguration\": null,\r\n \"instanceId\": \"49a64798-7d2e-4f4f-a81c-2a0a9bdf2562\",\r\n \"createMode\": \"Default\",\r\n \"databaseAccountOfferType\": \"Standard\",\r\n \"enableCassandraConnector\": false,\r\n \"connectorOffer\": \"\",\r\n \"defaultIdentity\": \"\",\r\n \"networkAclBypass\": \"None\",\r\n \"consistencyPolicy\": {\r\n \"defaultConsistencyLevel\": \"Session\",\r\n \"maxIntervalInSeconds\": 5,\r\n \"maxStalenessPrefix\": 100\r\n },\r\n \"apiProperties\": {\r\n \"serverVersion\": \"3.6\"\r\n },\r\n \"configurationOverrides\": {\r\n \"EnableBsonSchema\": \"True\"\r\n },\r\n \"writeLocations\": [\r\n {\r\n \"id\": \"outagedrillmongo-westus2\",\r\n \"locationName\": \"West US 2\",\r\n \"documentEndpoint\": \"https://outagedrillmongo-westus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"readLocations\": [\r\n {\r\n \"id\": \"outagedrillmongo-westus2\",\r\n \"locationName\": \"West US 2\",\r\n \"documentEndpoint\": \"https://outagedrillmongo-westus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n },\r\n {\r\n \"id\": \"outagedrillmongo-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://outagedrillmongo-eastus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 1,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"locations\": [\r\n {\r\n \"id\": \"outagedrillmongo-westus2\",\r\n \"locationName\": \"West US 2\",\r\n \"documentEndpoint\": \"https://outagedrillmongo-westus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n },\r\n {\r\n \"id\": \"outagedrillmongo-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://outagedrillmongo-eastus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 1,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"failoverPolicies\": [\r\n {\r\n \"id\": \"outagedrillmongo-westus2\",\r\n \"locationName\": \"West US 2\",\r\n \"failoverPriority\": 0\r\n },\r\n {\r\n \"id\": \"outagedrillmongo-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"failoverPriority\": 1\r\n }\r\n ],\r\n \"cors\": [],\r\n \"capabilities\": [\r\n {\r\n \"name\": \"EnableMongo\"\r\n },\r\n {\r\n \"name\": \"DisableRateLimitingResponses\"\r\n }\r\n ],\r\n \"ipRules\": [],\r\n \"backupPolicy\": {\r\n \"type\": \"Periodic\",\r\n \"periodicModeProperties\": {\r\n \"backupIntervalInMinutes\": 240,\r\n \"backupRetentionIntervalInHours\": 8,\r\n \"backupStorageRedundancy\": \"Geo\"\r\n }\r\n },\r\n \"networkAclBypassResourceIds\": []\r\n },\r\n \"identity\": {\r\n \"type\": \"None\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/resourceGroups/abpairg/providers/Microsoft.DocumentDB/databaseAccounts/patch-testing-demos\",\r\n \"name\": \"patch-testing-demos\",\r\n \"location\": \"East US 2\",\r\n \"type\": \"Microsoft.DocumentDB/databaseAccounts\",\r\n \"kind\": \"GlobalDocumentDB\",\r\n \"tags\": {\r\n \"defaultExperience\": \"Core (SQL)\",\r\n \"hidden-cosmos-mmspecial\": \"\",\r\n \"CosmosAccountType\": \"Non-Production\"\r\n },\r\n \"systemData\": {\r\n \"createdAt\": \"2020-10-27T10:06:57.5067585Z\"\r\n },\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"documentEndpoint\": \"https://patch-testing-demos.documents-staging.windows-ppe.net:443/\",\r\n \"publicNetworkAccess\": \"Enabled\",\r\n \"enableAutomaticFailover\": false,\r\n \"enableMultipleWriteLocations\": true,\r\n \"enablePartitionKeyMonitor\": false,\r\n \"isVirtualNetworkFilterEnabled\": false,\r\n \"virtualNetworkRules\": [],\r\n \"EnabledApiTypes\": \"Sql\",\r\n \"disableKeyBasedMetadataWriteAccess\": false,\r\n \"enableFreeTier\": false,\r\n \"enableAnalyticalStorage\": false,\r\n \"analyticalStorageConfiguration\": null,\r\n \"instanceId\": \"6ceef6fc-53f0-4d4a-ae4b-006b91a148be\",\r\n \"createMode\": \"Default\",\r\n \"databaseAccountOfferType\": \"Standard\",\r\n \"enableCassandraConnector\": false,\r\n \"connectorOffer\": \"\",\r\n \"defaultIdentity\": \"\",\r\n \"networkAclBypass\": \"None\",\r\n \"consistencyPolicy\": {\r\n \"defaultConsistencyLevel\": \"Session\",\r\n \"maxIntervalInSeconds\": 5,\r\n \"maxStalenessPrefix\": 100\r\n },\r\n \"configurationOverrides\": {},\r\n \"writeLocations\": [\r\n {\r\n \"id\": \"patch-testing-demos-westus2\",\r\n \"locationName\": \"West US 2\",\r\n \"documentEndpoint\": \"https://patch-testing-demos-westus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n },\r\n {\r\n \"id\": \"patch-testing-demos-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://patch-testing-demos-eastus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Deleting\",\r\n \"failoverPriority\": 1,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"readLocations\": [\r\n {\r\n \"id\": \"patch-testing-demos-westus2\",\r\n \"locationName\": \"West US 2\",\r\n \"documentEndpoint\": \"https://patch-testing-demos-westus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n },\r\n {\r\n \"id\": \"patch-testing-demos-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://patch-testing-demos-eastus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Deleting\",\r\n \"failoverPriority\": 1,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"locations\": [\r\n {\r\n \"id\": \"patch-testing-demos-westus2\",\r\n \"locationName\": \"West US 2\",\r\n \"documentEndpoint\": \"https://patch-testing-demos-westus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n },\r\n {\r\n \"id\": \"patch-testing-demos-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://patch-testing-demos-eastus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Deleting\",\r\n \"failoverPriority\": 1,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"failoverPolicies\": [\r\n {\r\n \"id\": \"patch-testing-demos-westus2\",\r\n \"locationName\": \"West US 2\",\r\n \"failoverPriority\": 0\r\n },\r\n {\r\n \"id\": \"patch-testing-demos-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"failoverPriority\": 1\r\n }\r\n ],\r\n \"cors\": [],\r\n \"capabilities\": [],\r\n \"ipRules\": [],\r\n \"backupPolicy\": {\r\n \"type\": \"Periodic\",\r\n \"periodicModeProperties\": {\r\n \"backupIntervalInMinutes\": 240,\r\n \"backupRetentionIntervalInHours\": 8,\r\n \"backupStorageRedundancy\": \"Geo\"\r\n }\r\n },\r\n \"networkAclBypassResourceIds\": []\r\n },\r\n \"identity\": {\r\n \"type\": \"None\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/resourceGroups/walgreens/providers/Microsoft.DocumentDB/databaseAccounts/walgreens-rbac-2\",\r\n \"name\": \"walgreens-rbac-2\",\r\n \"location\": \"East US 2\",\r\n \"type\": \"Microsoft.DocumentDB/databaseAccounts\",\r\n \"kind\": \"GlobalDocumentDB\",\r\n \"tags\": {\r\n \"defaultExperience\": \"Core (SQL)\",\r\n \"hidden-cosmos-mmspecial\": \"\",\r\n \"CosmosAccountType\": \"Non-Production\"\r\n },\r\n \"systemData\": {\r\n \"createdAt\": \"2020-10-27T21:44:43.295874Z\"\r\n },\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"documentEndpoint\": \"https://walgreens-rbac-2.documents-staging.windows-ppe.net:443/\",\r\n \"publicNetworkAccess\": \"Enabled\",\r\n \"enableAutomaticFailover\": false,\r\n \"enableMultipleWriteLocations\": false,\r\n \"enablePartitionKeyMonitor\": false,\r\n \"isVirtualNetworkFilterEnabled\": false,\r\n \"virtualNetworkRules\": [],\r\n \"EnabledApiTypes\": \"Sql\",\r\n \"disableKeyBasedMetadataWriteAccess\": false,\r\n \"enableFreeTier\": false,\r\n \"enableAnalyticalStorage\": false,\r\n \"analyticalStorageConfiguration\": null,\r\n \"instanceId\": \"8718f446-9918-4a76-a8cc-00c34959db70\",\r\n \"createMode\": \"Default\",\r\n \"databaseAccountOfferType\": \"Standard\",\r\n \"enableCassandraConnector\": false,\r\n \"connectorOffer\": \"\",\r\n \"defaultIdentity\": \"\",\r\n \"networkAclBypass\": \"None\",\r\n \"consistencyPolicy\": {\r\n \"defaultConsistencyLevel\": \"Session\",\r\n \"maxIntervalInSeconds\": 5,\r\n \"maxStalenessPrefix\": 100\r\n },\r\n \"configurationOverrides\": {},\r\n \"writeLocations\": [\r\n {\r\n \"id\": \"walgreens-rbac-2-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://walgreens-rbac-2-eastus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"readLocations\": [\r\n {\r\n \"id\": \"walgreens-rbac-2-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://walgreens-rbac-2-eastus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"locations\": [\r\n {\r\n \"id\": \"walgreens-rbac-2-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://walgreens-rbac-2-eastus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"failoverPolicies\": [\r\n {\r\n \"id\": \"walgreens-rbac-2-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"failoverPriority\": 0\r\n }\r\n ],\r\n \"cors\": [],\r\n \"capabilities\": [],\r\n \"ipRules\": [],\r\n \"backupPolicy\": {\r\n \"type\": \"Periodic\",\r\n \"periodicModeProperties\": {\r\n \"backupIntervalInMinutes\": 240,\r\n \"backupRetentionIntervalInHours\": 8,\r\n \"backupStorageRedundancy\": \"Geo\"\r\n }\r\n },\r\n \"networkAclBypassResourceIds\": []\r\n },\r\n \"identity\": {\r\n \"type\": \"None\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/resourceGroups/shatri_vmss/providers/Microsoft.DocumentDB/databaseAccounts/shcassvmss\",\r\n \"name\": \"shcassvmss\",\r\n \"location\": \"East US 2\",\r\n \"type\": \"Microsoft.DocumentDB/databaseAccounts\",\r\n \"kind\": \"GlobalDocumentDB\",\r\n \"tags\": {\r\n \"defaultExperience\": \"Cassandra\",\r\n \"hidden-cosmos-mmspecial\": \"\",\r\n \"CosmosAccountType\": \"Non-Production\"\r\n },\r\n \"systemData\": {\r\n \"createdAt\": \"2020-10-29T20:21:17.1326652Z\"\r\n },\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"documentEndpoint\": \"https://shcassvmss.documents-staging.windows-ppe.net:443/\",\r\n \"cassandraEndpoint\": \"https://shcassvmss.cassandra.cosmos.windows-ppe.net:443/\",\r\n \"publicNetworkAccess\": \"Enabled\",\r\n \"enableAutomaticFailover\": false,\r\n \"enableMultipleWriteLocations\": false,\r\n \"enablePartitionKeyMonitor\": false,\r\n \"isVirtualNetworkFilterEnabled\": false,\r\n \"virtualNetworkRules\": [],\r\n \"EnabledApiTypes\": \"Cassandra\",\r\n \"disableKeyBasedMetadataWriteAccess\": false,\r\n \"enableFreeTier\": false,\r\n \"enableAnalyticalStorage\": false,\r\n \"analyticalStorageConfiguration\": null,\r\n \"instanceId\": \"aec926f8-4de5-489c-84b6-0cf83c525057\",\r\n \"createMode\": \"Default\",\r\n \"databaseAccountOfferType\": \"Standard\",\r\n \"enableCassandraConnector\": true,\r\n \"connectorOffer\": \"small\",\r\n \"defaultIdentity\": \"\",\r\n \"networkAclBypass\": \"None\",\r\n \"consistencyPolicy\": {\r\n \"defaultConsistencyLevel\": \"Session\",\r\n \"maxIntervalInSeconds\": 5,\r\n \"maxStalenessPrefix\": 100\r\n },\r\n \"configurationOverrides\": {},\r\n \"writeLocations\": [\r\n {\r\n \"id\": \"shcassvmss-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://shcassvmss-eastus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"readLocations\": [\r\n {\r\n \"id\": \"shcassvmss-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://shcassvmss-eastus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"locations\": [\r\n {\r\n \"id\": \"shcassvmss-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://shcassvmss-eastus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"failoverPolicies\": [\r\n {\r\n \"id\": \"shcassvmss-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"failoverPriority\": 0\r\n }\r\n ],\r\n \"cors\": [],\r\n \"capabilities\": [\r\n {\r\n \"name\": \"EnableCassandra\"\r\n }\r\n ],\r\n \"ipRules\": [],\r\n \"backupPolicy\": {\r\n \"type\": \"Periodic\",\r\n \"periodicModeProperties\": {\r\n \"backupIntervalInMinutes\": 240,\r\n \"backupRetentionIntervalInHours\": 8,\r\n \"backupStorageRedundancy\": \"Geo\"\r\n }\r\n },\r\n \"networkAclBypassResourceIds\": []\r\n },\r\n \"identity\": {\r\n \"type\": \"None\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/resourceGroups/CosmosDBResourceGroup3871/providers/Microsoft.DocumentDB/databaseAccounts/accountname1980\",\r\n \"name\": \"accountname1980\",\r\n \"location\": \"East US 2\",\r\n \"type\": \"Microsoft.DocumentDB/databaseAccounts\",\r\n \"kind\": \"MongoDB\",\r\n \"tags\": {\r\n \"key1\": \"value1\",\r\n \"key2\": \"value2\"\r\n },\r\n \"systemData\": {\r\n \"createdAt\": \"2020-10-29T20:44:58.7189491Z\"\r\n },\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"documentEndpoint\": \"https://accountname1980.documents-staging.windows-ppe.net:443/\",\r\n \"publicNetworkAccess\": \"Enabled\",\r\n \"enableAutomaticFailover\": false,\r\n \"enableMultipleWriteLocations\": true,\r\n \"enablePartitionKeyMonitor\": false,\r\n \"isVirtualNetworkFilterEnabled\": true,\r\n \"virtualNetworkRules\": [],\r\n \"EnabledApiTypes\": \"MongoDB\",\r\n \"disableKeyBasedMetadataWriteAccess\": false,\r\n \"enableFreeTier\": false,\r\n \"enableAnalyticalStorage\": false,\r\n \"analyticalStorageConfiguration\": null,\r\n \"instanceId\": \"fdbd461a-4efe-45ed-83aa-ded9d4730003\",\r\n \"createMode\": \"Default\",\r\n \"databaseAccountOfferType\": \"Standard\",\r\n \"enableCassandraConnector\": true,\r\n \"connectorOffer\": \"Small\",\r\n \"defaultIdentity\": \"\",\r\n \"networkAclBypass\": \"None\",\r\n \"consistencyPolicy\": {\r\n \"defaultConsistencyLevel\": \"BoundedStaleness\",\r\n \"maxIntervalInSeconds\": 1000,\r\n \"maxStalenessPrefix\": 300\r\n },\r\n \"apiProperties\": {\r\n \"serverVersion\": \"3.2\"\r\n },\r\n \"configurationOverrides\": {\r\n \"EnableBsonSchema\": \"True\"\r\n },\r\n \"writeLocations\": [\r\n {\r\n \"id\": \"accountname1980-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://accountname1980-eastus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"readLocations\": [\r\n {\r\n \"id\": \"accountname1980-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://accountname1980-eastus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"locations\": [\r\n {\r\n \"id\": \"accountname1980-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://accountname1980-eastus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"failoverPolicies\": [\r\n {\r\n \"id\": \"accountname1980-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"failoverPriority\": 0\r\n }\r\n ],\r\n \"cors\": [],\r\n \"capabilities\": [],\r\n \"ipRules\": [\r\n {\r\n \"ipAddressOrRange\": \"23.43.230.120\"\r\n }\r\n ],\r\n \"backupPolicy\": {\r\n \"type\": \"Periodic\",\r\n \"periodicModeProperties\": {\r\n \"backupIntervalInMinutes\": 240,\r\n \"backupRetentionIntervalInHours\": 8,\r\n \"backupStorageRedundancy\": \"Geo\"\r\n }\r\n },\r\n \"networkAclBypassResourceIds\": []\r\n },\r\n \"identity\": {\r\n \"type\": \"None\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/resourceGroups/vahemeswtest/providers/Microsoft.DocumentDB/databaseAccounts/vahemeswridtest\",\r\n \"name\": \"vahemeswridtest\",\r\n \"location\": \"East US 2\",\r\n \"type\": \"Microsoft.DocumentDB/databaseAccounts\",\r\n \"kind\": \"GlobalDocumentDB\",\r\n \"tags\": {\r\n \"defaultExperience\": \"Core (SQL)\",\r\n \"hidden-cosmos-mmspecial\": \"\",\r\n \"CosmosAccountType\": \"Non-Production\"\r\n },\r\n \"systemData\": {\r\n \"createdAt\": \"2020-10-30T07:31:52.9777392Z\"\r\n },\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"documentEndpoint\": \"https://vahemeswridtest.documents-staging.windows-ppe.net:443/\",\r\n \"publicNetworkAccess\": \"Enabled\",\r\n \"enableAutomaticFailover\": false,\r\n \"enableMultipleWriteLocations\": true,\r\n \"enablePartitionKeyMonitor\": false,\r\n \"isVirtualNetworkFilterEnabled\": false,\r\n \"virtualNetworkRules\": [],\r\n \"EnabledApiTypes\": \"Sql\",\r\n \"disableKeyBasedMetadataWriteAccess\": false,\r\n \"enableFreeTier\": false,\r\n \"enableAnalyticalStorage\": false,\r\n \"analyticalStorageConfiguration\": null,\r\n \"instanceId\": \"047cb6e8-ea14-43ae-9c6b-f1d1269ac569\",\r\n \"createMode\": \"Default\",\r\n \"databaseAccountOfferType\": \"Standard\",\r\n \"enableCassandraConnector\": false,\r\n \"connectorOffer\": \"\",\r\n \"defaultIdentity\": \"\",\r\n \"networkAclBypass\": \"None\",\r\n \"consistencyPolicy\": {\r\n \"defaultConsistencyLevel\": \"Session\",\r\n \"maxIntervalInSeconds\": 5,\r\n \"maxStalenessPrefix\": 100\r\n },\r\n \"configurationOverrides\": {},\r\n \"writeLocations\": [\r\n {\r\n \"id\": \"vahemeswridtest-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://vahemeswridtest-eastus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Updating\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n },\r\n {\r\n \"id\": \"vahemeswridtest-southeastasia\",\r\n \"locationName\": \"Southeast Asia\",\r\n \"documentEndpoint\": \"https://vahemeswridtest-southeastasia.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 1,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"readLocations\": [\r\n {\r\n \"id\": \"vahemeswridtest-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://vahemeswridtest-eastus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Updating\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n },\r\n {\r\n \"id\": \"vahemeswridtest-southeastasia\",\r\n \"locationName\": \"Southeast Asia\",\r\n \"documentEndpoint\": \"https://vahemeswridtest-southeastasia.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 1,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"locations\": [\r\n {\r\n \"id\": \"vahemeswridtest-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://vahemeswridtest-eastus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Updating\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n },\r\n {\r\n \"id\": \"vahemeswridtest-southeastasia\",\r\n \"locationName\": \"Southeast Asia\",\r\n \"documentEndpoint\": \"https://vahemeswridtest-southeastasia.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 1,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"failoverPolicies\": [\r\n {\r\n \"id\": \"vahemeswridtest-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"failoverPriority\": 0\r\n },\r\n {\r\n \"id\": \"vahemeswridtest-southeastasia\",\r\n \"locationName\": \"Southeast Asia\",\r\n \"failoverPriority\": 1\r\n }\r\n ],\r\n \"cors\": [],\r\n \"capabilities\": [],\r\n \"ipRules\": [],\r\n \"backupPolicy\": {\r\n \"type\": \"Periodic\",\r\n \"periodicModeProperties\": {\r\n \"backupIntervalInMinutes\": 240,\r\n \"backupRetentionIntervalInHours\": 8,\r\n \"backupStorageRedundancy\": \"Geo\"\r\n }\r\n },\r\n \"networkAclBypassResourceIds\": []\r\n },\r\n \"identity\": {\r\n \"type\": \"None\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/resourceGroups/abinav_stage_rg/providers/Microsoft.DocumentDB/databaseAccounts/aetest1\",\r\n \"name\": \"aetest1\",\r\n \"location\": \"East US 2\",\r\n \"type\": \"Microsoft.DocumentDB/databaseAccounts\",\r\n \"kind\": \"GlobalDocumentDB\",\r\n \"tags\": {\r\n \"defaultExperience\": \"Core (SQL)\",\r\n \"hidden-cosmos-mmspecial\": \"\",\r\n \"CosmosAccountType\": \"Non-Production\"\r\n },\r\n \"systemData\": {\r\n \"createdAt\": \"2020-11-02T01:57:08.6131214Z\"\r\n },\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"documentEndpoint\": \"https://aetest1.documents-staging.windows-ppe.net:443/\",\r\n \"publicNetworkAccess\": \"Enabled\",\r\n \"enableAutomaticFailover\": false,\r\n \"enableMultipleWriteLocations\": true,\r\n \"enablePartitionKeyMonitor\": false,\r\n \"isVirtualNetworkFilterEnabled\": false,\r\n \"virtualNetworkRules\": [],\r\n \"EnabledApiTypes\": \"Sql\",\r\n \"disableKeyBasedMetadataWriteAccess\": false,\r\n \"enableFreeTier\": false,\r\n \"enableAnalyticalStorage\": false,\r\n \"analyticalStorageConfiguration\": null,\r\n \"instanceId\": \"1ae0285a-d538-4dfa-9103-d4e0706ad2c3\",\r\n \"createMode\": \"Default\",\r\n \"databaseAccountOfferType\": \"Standard\",\r\n \"enableCassandraConnector\": false,\r\n \"connectorOffer\": \"\",\r\n \"defaultIdentity\": \"\",\r\n \"networkAclBypass\": \"None\",\r\n \"consistencyPolicy\": {\r\n \"defaultConsistencyLevel\": \"Session\",\r\n \"maxIntervalInSeconds\": 5,\r\n \"maxStalenessPrefix\": 100\r\n },\r\n \"configurationOverrides\": {},\r\n \"writeLocations\": [\r\n {\r\n \"id\": \"aetest1-southeastasia\",\r\n \"locationName\": \"Southeast Asia\",\r\n \"documentEndpoint\": \"https://aetest1-southeastasia.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n },\r\n {\r\n \"id\": \"aetest1-westus2\",\r\n \"locationName\": \"West US 2\",\r\n \"documentEndpoint\": \"https://aetest1-westus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 1,\r\n \"isZoneRedundant\": false\r\n },\r\n {\r\n \"id\": \"aetest1-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://aetest1-eastus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 2,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"readLocations\": [\r\n {\r\n \"id\": \"aetest1-southeastasia\",\r\n \"locationName\": \"Southeast Asia\",\r\n \"documentEndpoint\": \"https://aetest1-southeastasia.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n },\r\n {\r\n \"id\": \"aetest1-westus2\",\r\n \"locationName\": \"West US 2\",\r\n \"documentEndpoint\": \"https://aetest1-westus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 1,\r\n \"isZoneRedundant\": false\r\n },\r\n {\r\n \"id\": \"aetest1-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://aetest1-eastus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 2,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"locations\": [\r\n {\r\n \"id\": \"aetest1-southeastasia\",\r\n \"locationName\": \"Southeast Asia\",\r\n \"documentEndpoint\": \"https://aetest1-southeastasia.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n },\r\n {\r\n \"id\": \"aetest1-westus2\",\r\n \"locationName\": \"West US 2\",\r\n \"documentEndpoint\": \"https://aetest1-westus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 1,\r\n \"isZoneRedundant\": false\r\n },\r\n {\r\n \"id\": \"aetest1-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://aetest1-eastus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 2,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"failoverPolicies\": [\r\n {\r\n \"id\": \"aetest1-southeastasia\",\r\n \"locationName\": \"Southeast Asia\",\r\n \"failoverPriority\": 0\r\n },\r\n {\r\n \"id\": \"aetest1-westus2\",\r\n \"locationName\": \"West US 2\",\r\n \"failoverPriority\": 1\r\n },\r\n {\r\n \"id\": \"aetest1-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"failoverPriority\": 2\r\n }\r\n ],\r\n \"cors\": [],\r\n \"capabilities\": [],\r\n \"ipRules\": [],\r\n \"backupPolicy\": {\r\n \"type\": \"Periodic\",\r\n \"periodicModeProperties\": {\r\n \"backupIntervalInMinutes\": 240,\r\n \"backupRetentionIntervalInHours\": 8,\r\n \"backupStorageRedundancy\": \"Geo\"\r\n }\r\n },\r\n \"networkAclBypassResourceIds\": []\r\n },\r\n \"identity\": {\r\n \"type\": \"None\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/resourceGroups/OutageDrill/providers/Microsoft.DocumentDB/databaseAccounts/outagedrillrwworkload\",\r\n \"name\": \"outagedrillrwworkload\",\r\n \"location\": \"East US 2\",\r\n \"type\": \"Microsoft.DocumentDB/databaseAccounts\",\r\n \"kind\": \"GlobalDocumentDB\",\r\n \"tags\": {\r\n \"defaultExperience\": \"Core (SQL)\",\r\n \"hidden-cosmos-mmspecial\": \"\",\r\n \"CosmosAccountType\": \"Non-Production\"\r\n },\r\n \"systemData\": {\r\n \"createdAt\": \"2020-11-02T23:29:01.5199281Z\"\r\n },\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"documentEndpoint\": \"https://outagedrillrwworkload.documents-staging.windows-ppe.net:443/\",\r\n \"publicNetworkAccess\": \"Enabled\",\r\n \"enableAutomaticFailover\": true,\r\n \"enableMultipleWriteLocations\": false,\r\n \"enablePartitionKeyMonitor\": false,\r\n \"isVirtualNetworkFilterEnabled\": false,\r\n \"virtualNetworkRules\": [],\r\n \"EnabledApiTypes\": \"Sql\",\r\n \"disableKeyBasedMetadataWriteAccess\": false,\r\n \"enableFreeTier\": false,\r\n \"enableAnalyticalStorage\": false,\r\n \"analyticalStorageConfiguration\": null,\r\n \"instanceId\": \"827f0be0-0719-4bd4-a13a-0a322bb82050\",\r\n \"createMode\": \"Default\",\r\n \"databaseAccountOfferType\": \"Standard\",\r\n \"enableCassandraConnector\": false,\r\n \"connectorOffer\": \"\",\r\n \"defaultIdentity\": \"\",\r\n \"networkAclBypass\": \"None\",\r\n \"consistencyPolicy\": {\r\n \"defaultConsistencyLevel\": \"Session\",\r\n \"maxIntervalInSeconds\": 5,\r\n \"maxStalenessPrefix\": 100\r\n },\r\n \"configurationOverrides\": {},\r\n \"writeLocations\": [\r\n {\r\n \"id\": \"outagedrillrwworkload-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://outagedrillrwworkload-eastus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"readLocations\": [\r\n {\r\n \"id\": \"outagedrillrwworkload-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://outagedrillrwworkload-eastus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n },\r\n {\r\n \"id\": \"outagedrillrwworkload-westus2\",\r\n \"locationName\": \"West US 2\",\r\n \"documentEndpoint\": \"https://outagedrillrwworkload-westus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 1,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"locations\": [\r\n {\r\n \"id\": \"outagedrillrwworkload-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://outagedrillrwworkload-eastus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n },\r\n {\r\n \"id\": \"outagedrillrwworkload-westus2\",\r\n \"locationName\": \"West US 2\",\r\n \"documentEndpoint\": \"https://outagedrillrwworkload-westus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 1,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"failoverPolicies\": [\r\n {\r\n \"id\": \"outagedrillrwworkload-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"failoverPriority\": 0\r\n },\r\n {\r\n \"id\": \"outagedrillrwworkload-westus2\",\r\n \"locationName\": \"West US 2\",\r\n \"failoverPriority\": 1\r\n }\r\n ],\r\n \"cors\": [],\r\n \"capabilities\": [],\r\n \"ipRules\": [],\r\n \"backupPolicy\": {\r\n \"type\": \"Periodic\",\r\n \"periodicModeProperties\": {\r\n \"backupIntervalInMinutes\": 240,\r\n \"backupRetentionIntervalInHours\": 8,\r\n \"backupStorageRedundancy\": \"Geo\"\r\n }\r\n },\r\n \"networkAclBypassResourceIds\": []\r\n },\r\n \"identity\": {\r\n \"type\": \"None\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/resourceGroups/fnbalaji-test/providers/Microsoft.DocumentDB/databaseAccounts/fnbalaji-metrics\",\r\n \"name\": \"fnbalaji-metrics\",\r\n \"location\": \"East US 2\",\r\n \"type\": \"Microsoft.DocumentDB/databaseAccounts\",\r\n \"kind\": \"GlobalDocumentDB\",\r\n \"tags\": {\r\n \"defaultExperience\": \"Core (SQL)\",\r\n \"hidden-cosmos-mmspecial\": \"\",\r\n \"CosmosAccountType\": \"Non-Production\"\r\n },\r\n \"systemData\": {\r\n \"createdAt\": \"2020-11-10T00:26:06.0296548Z\"\r\n },\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"documentEndpoint\": \"https://fnbalaji-metrics.documents-staging.windows-ppe.net:443/\",\r\n \"publicNetworkAccess\": \"Enabled\",\r\n \"enableAutomaticFailover\": false,\r\n \"enableMultipleWriteLocations\": false,\r\n \"enablePartitionKeyMonitor\": false,\r\n \"isVirtualNetworkFilterEnabled\": false,\r\n \"virtualNetworkRules\": [],\r\n \"EnabledApiTypes\": \"Sql\",\r\n \"disableKeyBasedMetadataWriteAccess\": false,\r\n \"enableFreeTier\": false,\r\n \"enableAnalyticalStorage\": true,\r\n \"analyticalStorageConfiguration\": null,\r\n \"instanceId\": \"f2bdc357-b0d7-4f9e-8353-4b38d1ade4c9\",\r\n \"createMode\": \"Default\",\r\n \"databaseAccountOfferType\": \"Standard\",\r\n \"enableCassandraConnector\": false,\r\n \"connectorOffer\": \"\",\r\n \"defaultIdentity\": \"\",\r\n \"networkAclBypass\": \"None\",\r\n \"consistencyPolicy\": {\r\n \"defaultConsistencyLevel\": \"Session\",\r\n \"maxIntervalInSeconds\": 5,\r\n \"maxStalenessPrefix\": 100\r\n },\r\n \"configurationOverrides\": {},\r\n \"writeLocations\": [\r\n {\r\n \"id\": \"fnbalaji-metrics-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://fnbalaji-metrics-eastus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"readLocations\": [\r\n {\r\n \"id\": \"fnbalaji-metrics-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://fnbalaji-metrics-eastus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"locations\": [\r\n {\r\n \"id\": \"fnbalaji-metrics-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://fnbalaji-metrics-eastus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"failoverPolicies\": [\r\n {\r\n \"id\": \"fnbalaji-metrics-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"failoverPriority\": 0\r\n }\r\n ],\r\n \"cors\": [],\r\n \"capabilities\": [],\r\n \"ipRules\": [],\r\n \"backupPolicy\": {\r\n \"type\": \"Periodic\",\r\n \"periodicModeProperties\": {\r\n \"backupIntervalInMinutes\": 240,\r\n \"backupRetentionIntervalInHours\": 8,\r\n \"backupStorageRedundancy\": \"Local\"\r\n }\r\n },\r\n \"networkAclBypassResourceIds\": []\r\n },\r\n \"identity\": {\r\n \"type\": \"None\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/resourceGroups/ankisrgstage/providers/Microsoft.DocumentDB/databaseAccounts/ankisstage23\",\r\n \"name\": \"ankisstage23\",\r\n \"location\": \"East US 2\",\r\n \"type\": \"Microsoft.DocumentDB/databaseAccounts\",\r\n \"kind\": \"GlobalDocumentDB\",\r\n \"tags\": {\r\n \"defaultExperience\": \"Core (SQL)\",\r\n \"hidden-cosmos-mmspecial\": \"\",\r\n \"CosmosAccountType\": \"Non-Production\"\r\n },\r\n \"systemData\": {\r\n \"createdAt\": \"2020-11-19T07:02:35.3594771Z\"\r\n },\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"documentEndpoint\": \"https://ankisstage23.documents-staging.windows-ppe.net:443/\",\r\n \"publicNetworkAccess\": \"Enabled\",\r\n \"enableAutomaticFailover\": false,\r\n \"enableMultipleWriteLocations\": false,\r\n \"enablePartitionKeyMonitor\": false,\r\n \"isVirtualNetworkFilterEnabled\": false,\r\n \"virtualNetworkRules\": [],\r\n \"EnabledApiTypes\": \"Sql\",\r\n \"disableKeyBasedMetadataWriteAccess\": false,\r\n \"enableFreeTier\": false,\r\n \"enableAnalyticalStorage\": false,\r\n \"analyticalStorageConfiguration\": null,\r\n \"instanceId\": \"774b5e27-c17e-4f9a-aa16-c1d4531f2239\",\r\n \"createMode\": \"Default\",\r\n \"databaseAccountOfferType\": \"Standard\",\r\n \"enableCassandraConnector\": false,\r\n \"connectorOffer\": \"\",\r\n \"defaultIdentity\": \"\",\r\n \"networkAclBypass\": \"None\",\r\n \"consistencyPolicy\": {\r\n \"defaultConsistencyLevel\": \"Session\",\r\n \"maxIntervalInSeconds\": 5,\r\n \"maxStalenessPrefix\": 100\r\n },\r\n \"configurationOverrides\": {},\r\n \"writeLocations\": [\r\n {\r\n \"id\": \"ankisstage23-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://ankisstage23-eastus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"readLocations\": [\r\n {\r\n \"id\": \"ankisstage23-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://ankisstage23-eastus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n },\r\n {\r\n \"id\": \"ankisstage23-westus2\",\r\n \"locationName\": \"West US 2\",\r\n \"documentEndpoint\": \"https://ankisstage23-westus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 1,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"locations\": [\r\n {\r\n \"id\": \"ankisstage23-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://ankisstage23-eastus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n },\r\n {\r\n \"id\": \"ankisstage23-westus2\",\r\n \"locationName\": \"West US 2\",\r\n \"documentEndpoint\": \"https://ankisstage23-westus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 1,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"failoverPolicies\": [\r\n {\r\n \"id\": \"ankisstage23-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"failoverPriority\": 0\r\n },\r\n {\r\n \"id\": \"ankisstage23-westus2\",\r\n \"locationName\": \"West US 2\",\r\n \"failoverPriority\": 1\r\n }\r\n ],\r\n \"cors\": [],\r\n \"capabilities\": [],\r\n \"ipRules\": [],\r\n \"backupPolicy\": {\r\n \"type\": \"Periodic\",\r\n \"periodicModeProperties\": {\r\n \"backupIntervalInMinutes\": 240,\r\n \"backupRetentionIntervalInHours\": 8,\r\n \"backupStorageRedundancy\": \"Geo\"\r\n }\r\n },\r\n \"networkAclBypassResourceIds\": []\r\n },\r\n \"identity\": {\r\n \"type\": \"None\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/resourceGroups/fnbalaji-stage-signoff/providers/Microsoft.DocumentDB/databaseAccounts/fnbalaji-stage-signoff\",\r\n \"name\": \"fnbalaji-stage-signoff\",\r\n \"location\": \"East US 2\",\r\n \"type\": \"Microsoft.DocumentDB/databaseAccounts\",\r\n \"kind\": \"GlobalDocumentDB\",\r\n \"tags\": {\r\n \"defaultExperience\": \"Core (SQL)\",\r\n \"hidden-cosmos-mmspecial\": \"\",\r\n \"CosmosAccountType\": \"Non-Production\"\r\n },\r\n \"systemData\": {\r\n \"createdAt\": \"2020-11-19T17:41:23.8356518Z\"\r\n },\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"documentEndpoint\": \"https://fnbalaji-stage-signoff.documents-staging.windows-ppe.net:443/\",\r\n \"publicNetworkAccess\": \"Enabled\",\r\n \"enableAutomaticFailover\": false,\r\n \"enableMultipleWriteLocations\": false,\r\n \"enablePartitionKeyMonitor\": false,\r\n \"isVirtualNetworkFilterEnabled\": false,\r\n \"virtualNetworkRules\": [],\r\n \"EnabledApiTypes\": \"Sql\",\r\n \"disableKeyBasedMetadataWriteAccess\": false,\r\n \"enableFreeTier\": false,\r\n \"enableAnalyticalStorage\": false,\r\n \"analyticalStorageConfiguration\": null,\r\n \"instanceId\": \"77d833f8-0784-4034-aa46-efeef57775e8\",\r\n \"createMode\": \"Default\",\r\n \"databaseAccountOfferType\": \"Standard\",\r\n \"enableCassandraConnector\": false,\r\n \"connectorOffer\": \"\",\r\n \"defaultIdentity\": \"\",\r\n \"networkAclBypass\": \"None\",\r\n \"consistencyPolicy\": {\r\n \"defaultConsistencyLevel\": \"Session\",\r\n \"maxIntervalInSeconds\": 5,\r\n \"maxStalenessPrefix\": 100\r\n },\r\n \"configurationOverrides\": {},\r\n \"writeLocations\": [\r\n {\r\n \"id\": \"fnbalaji-stage-signoff-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://fnbalaji-stage-signoff-eastus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"readLocations\": [\r\n {\r\n \"id\": \"fnbalaji-stage-signoff-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://fnbalaji-stage-signoff-eastus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"locations\": [\r\n {\r\n \"id\": \"fnbalaji-stage-signoff-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://fnbalaji-stage-signoff-eastus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"failoverPolicies\": [\r\n {\r\n \"id\": \"fnbalaji-stage-signoff-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"failoverPriority\": 0\r\n }\r\n ],\r\n \"cors\": [],\r\n \"capabilities\": [],\r\n \"ipRules\": [],\r\n \"backupPolicy\": {\r\n \"type\": \"Periodic\",\r\n \"periodicModeProperties\": {\r\n \"backupIntervalInMinutes\": 240,\r\n \"backupRetentionIntervalInHours\": 8,\r\n \"backupStorageRedundancy\": \"Local\"\r\n }\r\n },\r\n \"networkAclBypassResourceIds\": []\r\n },\r\n \"identity\": {\r\n \"type\": \"None\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/resourceGroups/mongolargedoctest/providers/Microsoft.DocumentDB/databaseAccounts/mongolargedoctest\",\r\n \"name\": \"mongolargedoctest\",\r\n \"location\": \"East US 2\",\r\n \"type\": \"Microsoft.DocumentDB/databaseAccounts\",\r\n \"kind\": \"MongoDB\",\r\n \"tags\": {\r\n \"defaultExperience\": \"Azure Cosmos DB for MongoDB API\",\r\n \"hidden-cosmos-mmspecial\": \"\",\r\n \"CosmosAccountType\": \"Non-Production\"\r\n },\r\n \"systemData\": {\r\n \"createdAt\": \"2020-11-20T13:29:24.5625937Z\"\r\n },\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"documentEndpoint\": \"https://mongolargedoctest.documents-staging.windows-ppe.net:443/\",\r\n \"mongoEndpoint\": \"https://mongolargedoctest.mongo.cosmos.windows-ppe.net:443/\",\r\n \"publicNetworkAccess\": \"Enabled\",\r\n \"enableAutomaticFailover\": false,\r\n \"enableMultipleWriteLocations\": false,\r\n \"enablePartitionKeyMonitor\": false,\r\n \"isVirtualNetworkFilterEnabled\": false,\r\n \"virtualNetworkRules\": [],\r\n \"EnabledApiTypes\": \"MongoDB\",\r\n \"disableKeyBasedMetadataWriteAccess\": false,\r\n \"enableFreeTier\": false,\r\n \"enableAnalyticalStorage\": false,\r\n \"analyticalStorageConfiguration\": null,\r\n \"instanceId\": \"f97ec1fb-8360-4f55-890b-f6c99c1603b1\",\r\n \"createMode\": \"Default\",\r\n \"databaseAccountOfferType\": \"Standard\",\r\n \"enableCassandraConnector\": false,\r\n \"connectorOffer\": \"\",\r\n \"defaultIdentity\": \"\",\r\n \"networkAclBypass\": \"None\",\r\n \"consistencyPolicy\": {\r\n \"defaultConsistencyLevel\": \"Session\",\r\n \"maxIntervalInSeconds\": 5,\r\n \"maxStalenessPrefix\": 100\r\n },\r\n \"apiProperties\": {\r\n \"serverVersion\": \"3.6\"\r\n },\r\n \"configurationOverrides\": {\r\n \"EnableBsonSchema\": \"True\"\r\n },\r\n \"writeLocations\": [\r\n {\r\n \"id\": \"mongolargedoctest-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://mongolargedoctest-eastus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"readLocations\": [\r\n {\r\n \"id\": \"mongolargedoctest-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://mongolargedoctest-eastus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"locations\": [\r\n {\r\n \"id\": \"mongolargedoctest-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://mongolargedoctest-eastus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"failoverPolicies\": [\r\n {\r\n \"id\": \"mongolargedoctest-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"failoverPriority\": 0\r\n }\r\n ],\r\n \"cors\": [],\r\n \"capabilities\": [\r\n {\r\n \"name\": \"EnableMongo\"\r\n },\r\n {\r\n \"name\": \"DisableRateLimitingResponses\"\r\n }\r\n ],\r\n \"ipRules\": [],\r\n \"backupPolicy\": {\r\n \"type\": \"Periodic\",\r\n \"periodicModeProperties\": {\r\n \"backupIntervalInMinutes\": 240,\r\n \"backupRetentionIntervalInHours\": 8,\r\n \"backupStorageRedundancy\": \"Geo\"\r\n }\r\n },\r\n \"networkAclBypassResourceIds\": []\r\n },\r\n \"identity\": {\r\n \"type\": \"None\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/resourceGroups/mongolargedoctest/providers/Microsoft.DocumentDB/databaseAccounts/mongo34\",\r\n \"name\": \"mongo34\",\r\n \"location\": \"East US 2\",\r\n \"type\": \"Microsoft.DocumentDB/databaseAccounts\",\r\n \"kind\": \"MongoDB\",\r\n \"tags\": {\r\n \"defaultExperience\": \"Azure Cosmos DB for MongoDB API\",\r\n \"hidden-cosmos-mmspecial\": \"\",\r\n \"CosmosAccountType\": \"Non-Production\"\r\n },\r\n \"systemData\": {\r\n \"createdAt\": \"2020-11-20T16:34:40.581941Z\"\r\n },\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"documentEndpoint\": \"https://mongo34.documents-staging.windows-ppe.net:443/\",\r\n \"mongoEndpoint\": \"https://mongo34.mongo.cosmos.windows-ppe.net:443/\",\r\n \"publicNetworkAccess\": \"Enabled\",\r\n \"enableAutomaticFailover\": false,\r\n \"enableMultipleWriteLocations\": false,\r\n \"enablePartitionKeyMonitor\": false,\r\n \"isVirtualNetworkFilterEnabled\": false,\r\n \"virtualNetworkRules\": [],\r\n \"EnabledApiTypes\": \"MongoDB\",\r\n \"disableKeyBasedMetadataWriteAccess\": false,\r\n \"enableFreeTier\": false,\r\n \"enableAnalyticalStorage\": false,\r\n \"analyticalStorageConfiguration\": null,\r\n \"instanceId\": \"800f86a5-3637-4c92-9031-d9e70a8bd1a8\",\r\n \"createMode\": \"Default\",\r\n \"databaseAccountOfferType\": \"Standard\",\r\n \"enableCassandraConnector\": false,\r\n \"connectorOffer\": \"\",\r\n \"defaultIdentity\": \"\",\r\n \"networkAclBypass\": \"None\",\r\n \"consistencyPolicy\": {\r\n \"defaultConsistencyLevel\": \"Session\",\r\n \"maxIntervalInSeconds\": 5,\r\n \"maxStalenessPrefix\": 100\r\n },\r\n \"apiProperties\": {\r\n \"serverVersion\": \"3.6\"\r\n },\r\n \"configurationOverrides\": {\r\n \"EnableBsonSchema\": \"True\"\r\n },\r\n \"writeLocations\": [\r\n {\r\n \"id\": \"mongo34-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://mongo34-eastus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"readLocations\": [\r\n {\r\n \"id\": \"mongo34-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://mongo34-eastus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"locations\": [\r\n {\r\n \"id\": \"mongo34-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://mongo34-eastus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"failoverPolicies\": [\r\n {\r\n \"id\": \"mongo34-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"failoverPriority\": 0\r\n }\r\n ],\r\n \"cors\": [],\r\n \"capabilities\": [\r\n {\r\n \"name\": \"EnableMongo\"\r\n },\r\n {\r\n \"name\": \"DisableRateLimitingResponses\"\r\n }\r\n ],\r\n \"ipRules\": [],\r\n \"backupPolicy\": {\r\n \"type\": \"Periodic\",\r\n \"periodicModeProperties\": {\r\n \"backupIntervalInMinutes\": 240,\r\n \"backupRetentionIntervalInHours\": 8,\r\n \"backupStorageRedundancy\": \"Geo\"\r\n }\r\n },\r\n \"networkAclBypassResourceIds\": []\r\n },\r\n \"identity\": {\r\n \"type\": \"None\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/resourceGroups/mongotestdocsize/providers/Microsoft.DocumentDB/databaseAccounts/mongolargedocsizetest\",\r\n \"name\": \"mongolargedocsizetest\",\r\n \"location\": \"East US 2\",\r\n \"type\": \"Microsoft.DocumentDB/databaseAccounts\",\r\n \"kind\": \"MongoDB\",\r\n \"tags\": {\r\n \"defaultExperience\": \"Azure Cosmos DB for MongoDB API\",\r\n \"hidden-cosmos-mmspecial\": \"\",\r\n \"CosmosAccountType\": \"Non-Production\"\r\n },\r\n \"systemData\": {\r\n \"createdAt\": \"2020-11-20T18:39:41.78945Z\"\r\n },\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"documentEndpoint\": \"https://mongolargedocsizetest.documents-staging.windows-ppe.net:443/\",\r\n \"mongoEndpoint\": \"https://mongolargedocsizetest.mongo.cosmos.windows-ppe.net:443/\",\r\n \"publicNetworkAccess\": \"Enabled\",\r\n \"enableAutomaticFailover\": false,\r\n \"enableMultipleWriteLocations\": false,\r\n \"enablePartitionKeyMonitor\": false,\r\n \"isVirtualNetworkFilterEnabled\": false,\r\n \"virtualNetworkRules\": [],\r\n \"EnabledApiTypes\": \"MongoDB\",\r\n \"disableKeyBasedMetadataWriteAccess\": false,\r\n \"enableFreeTier\": false,\r\n \"enableAnalyticalStorage\": false,\r\n \"analyticalStorageConfiguration\": null,\r\n \"instanceId\": \"6a54ebdd-8f86-4e77-8d83-aa405d9a4165\",\r\n \"createMode\": \"Default\",\r\n \"databaseAccountOfferType\": \"Standard\",\r\n \"enableCassandraConnector\": false,\r\n \"connectorOffer\": \"\",\r\n \"defaultIdentity\": \"\",\r\n \"networkAclBypass\": \"None\",\r\n \"consistencyPolicy\": {\r\n \"defaultConsistencyLevel\": \"Session\",\r\n \"maxIntervalInSeconds\": 5,\r\n \"maxStalenessPrefix\": 100\r\n },\r\n \"apiProperties\": {\r\n \"serverVersion\": \"3.6\"\r\n },\r\n \"configurationOverrides\": {\r\n \"EnableBsonSchema\": \"True\"\r\n },\r\n \"writeLocations\": [\r\n {\r\n \"id\": \"mongolargedocsizetest-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://mongolargedocsizetest-eastus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"readLocations\": [\r\n {\r\n \"id\": \"mongolargedocsizetest-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://mongolargedocsizetest-eastus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"locations\": [\r\n {\r\n \"id\": \"mongolargedocsizetest-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://mongolargedocsizetest-eastus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"failoverPolicies\": [\r\n {\r\n \"id\": \"mongolargedocsizetest-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"failoverPriority\": 0\r\n }\r\n ],\r\n \"cors\": [],\r\n \"capabilities\": [\r\n {\r\n \"name\": \"EnableMongo\"\r\n },\r\n {\r\n \"name\": \"DisableRateLimitingResponses\"\r\n }\r\n ],\r\n \"ipRules\": [],\r\n \"backupPolicy\": {\r\n \"type\": \"Periodic\",\r\n \"periodicModeProperties\": {\r\n \"backupIntervalInMinutes\": 240,\r\n \"backupRetentionIntervalInHours\": 8,\r\n \"backupStorageRedundancy\": \"Geo\"\r\n }\r\n },\r\n \"networkAclBypassResourceIds\": []\r\n },\r\n \"identity\": {\r\n \"type\": \"None\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/resourceGroups/table-stage-signoff/providers/Microsoft.DocumentDB/databaseAccounts/tablestagesignoffeastus2\",\r\n \"name\": \"tablestagesignoffeastus2\",\r\n \"location\": \"East US 2\",\r\n \"type\": \"Microsoft.DocumentDB/databaseAccounts\",\r\n \"kind\": \"GlobalDocumentDB\",\r\n \"tags\": {\r\n \"defaultExperience\": \"Azure Table\",\r\n \"hidden-cosmos-mmspecial\": \"\",\r\n \"CosmosAccountType\": \"Non-Production\"\r\n },\r\n \"systemData\": {\r\n \"createdAt\": \"2020-11-24T12:01:02.1301419Z\"\r\n },\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"documentEndpoint\": \"https://tablestagesignoffeastus2.documents-staging.windows-ppe.net:443/\",\r\n \"tableEndpoint\": \"https://tablestagesignoffeastus2.table.cosmos.windows-ppe.net:443/\",\r\n \"publicNetworkAccess\": \"Enabled\",\r\n \"enableAutomaticFailover\": false,\r\n \"enableMultipleWriteLocations\": false,\r\n \"enablePartitionKeyMonitor\": false,\r\n \"isVirtualNetworkFilterEnabled\": false,\r\n \"virtualNetworkRules\": [],\r\n \"EnabledApiTypes\": \"Table, Sql\",\r\n \"disableKeyBasedMetadataWriteAccess\": false,\r\n \"enableFreeTier\": false,\r\n \"enableAnalyticalStorage\": false,\r\n \"analyticalStorageConfiguration\": null,\r\n \"instanceId\": \"bf5bc138-b90e-4c6b-a465-0f60ed040d5a\",\r\n \"createMode\": \"Default\",\r\n \"databaseAccountOfferType\": \"Standard\",\r\n \"enableCassandraConnector\": false,\r\n \"connectorOffer\": \"\",\r\n \"defaultIdentity\": \"\",\r\n \"networkAclBypass\": \"None\",\r\n \"consistencyPolicy\": {\r\n \"defaultConsistencyLevel\": \"BoundedStaleness\",\r\n \"maxIntervalInSeconds\": 86400,\r\n \"maxStalenessPrefix\": 1000000\r\n },\r\n \"configurationOverrides\": {},\r\n \"writeLocations\": [\r\n {\r\n \"id\": \"tablestagesignoffeastus2-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://tablestagesignoffeastus2-eastus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"readLocations\": [\r\n {\r\n \"id\": \"tablestagesignoffeastus2-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://tablestagesignoffeastus2-eastus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"locations\": [\r\n {\r\n \"id\": \"tablestagesignoffeastus2-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://tablestagesignoffeastus2-eastus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"failoverPolicies\": [\r\n {\r\n \"id\": \"tablestagesignoffeastus2-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"failoverPriority\": 0\r\n }\r\n ],\r\n \"cors\": [],\r\n \"capabilities\": [\r\n {\r\n \"name\": \"EnableTable\"\r\n }\r\n ],\r\n \"ipRules\": [],\r\n \"backupPolicy\": {\r\n \"type\": \"Periodic\",\r\n \"periodicModeProperties\": {\r\n \"backupIntervalInMinutes\": 240,\r\n \"backupRetentionIntervalInHours\": 8,\r\n \"backupStorageRedundancy\": \"Geo\"\r\n }\r\n },\r\n \"networkAclBypassResourceIds\": []\r\n },\r\n \"identity\": {\r\n \"type\": \"None\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/resourceGroups/CosmosDBResourceGroup3668/providers/Microsoft.DocumentDB/databaseAccounts/restoredaccountname637428812785768088\",\r\n \"name\": \"restoredaccountname637428812785768088\",\r\n \"location\": \"East US 2\",\r\n \"type\": \"Microsoft.DocumentDB/databaseAccounts\",\r\n \"kind\": \"GlobalDocumentDB\",\r\n \"tags\": {},\r\n \"systemData\": {\r\n \"createdAt\": \"2020-12-07T20:03:40.5408878Z\"\r\n },\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"documentEndpoint\": \"https://restoredaccountname637428812785768088.documents-staging.windows-ppe.net:443/\",\r\n \"publicNetworkAccess\": \"Enabled\",\r\n \"enableAutomaticFailover\": false,\r\n \"enableMultipleWriteLocations\": false,\r\n \"enablePartitionKeyMonitor\": false,\r\n \"isVirtualNetworkFilterEnabled\": false,\r\n \"virtualNetworkRules\": [],\r\n \"EnabledApiTypes\": \"Sql\",\r\n \"disableKeyBasedMetadataWriteAccess\": false,\r\n \"enableFreeTier\": false,\r\n \"enableAnalyticalStorage\": false,\r\n \"analyticalStorageConfiguration\": null,\r\n \"instanceId\": \"b0c8684b-7f9c-45fe-8ab9-2a74b656867e\",\r\n \"createMode\": \"Restore\",\r\n \"databaseAccountOfferType\": \"Standard\",\r\n \"enableCassandraConnector\": false,\r\n \"defaultIdentity\": \"\",\r\n \"networkAclBypass\": \"None\",\r\n \"consistencyPolicy\": {\r\n \"defaultConsistencyLevel\": \"Session\",\r\n \"maxIntervalInSeconds\": 5,\r\n \"maxStalenessPrefix\": 100\r\n },\r\n \"configurationOverrides\": {},\r\n \"writeLocations\": [\r\n {\r\n \"id\": \"restoredaccountname637428812785768088-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://restoredaccountname637428812785768088-eastus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"readLocations\": [\r\n {\r\n \"id\": \"restoredaccountname637428812785768088-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://restoredaccountname637428812785768088-eastus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"locations\": [\r\n {\r\n \"id\": \"restoredaccountname637428812785768088-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://restoredaccountname637428812785768088-eastus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"failoverPolicies\": [\r\n {\r\n \"id\": \"restoredaccountname637428812785768088-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"failoverPriority\": 0\r\n }\r\n ],\r\n \"cors\": [],\r\n \"capabilities\": [],\r\n \"ipRules\": [],\r\n \"backupPolicy\": {\r\n \"type\": \"Continuous\"\r\n },\r\n \"restoreParameters\": {\r\n \"restoreMode\": \"PointInTime\",\r\n \"restoreSource\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/providers/Microsoft.DocumentDB/locations/eastus2/restorableDatabaseAccounts/aca7d453-88a9-4bf2-8abc-46d21553638f\",\r\n \"restoreTimestampInUtc\": \"2020-12-06T19:54:38.5768088Z\",\r\n \"databasesToRestore\": []\r\n },\r\n \"networkAclBypassResourceIds\": []\r\n },\r\n \"identity\": {\r\n \"type\": \"None\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/resourceGroups/pitr-stage-rg/providers/Microsoft.DocumentDB/databaseAccounts/pitr-mongo32-stage-source\",\r\n \"name\": \"pitr-mongo32-stage-source\",\r\n \"location\": \"East US 2\",\r\n \"type\": \"Microsoft.DocumentDB/databaseAccounts\",\r\n \"kind\": \"MongoDB\",\r\n \"tags\": {},\r\n \"systemData\": {\r\n \"createdAt\": \"2020-12-07T21:23:55.1942911Z\"\r\n },\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"documentEndpoint\": \"https://pitr-mongo32-stage-source.documents-staging.windows-ppe.net:443/\",\r\n \"publicNetworkAccess\": \"Enabled\",\r\n \"enableAutomaticFailover\": false,\r\n \"enableMultipleWriteLocations\": false,\r\n \"enablePartitionKeyMonitor\": false,\r\n \"isVirtualNetworkFilterEnabled\": false,\r\n \"virtualNetworkRules\": [],\r\n \"EnabledApiTypes\": \"MongoDB\",\r\n \"disableKeyBasedMetadataWriteAccess\": false,\r\n \"enableFreeTier\": false,\r\n \"enableAnalyticalStorage\": false,\r\n \"analyticalStorageConfiguration\": null,\r\n \"instanceId\": \"eadac7e2-61f0-4e07-aaa1-9dbb495ec5a8\",\r\n \"createMode\": \"Default\",\r\n \"databaseAccountOfferType\": \"Standard\",\r\n \"enableCassandraConnector\": false,\r\n \"connectorOffer\": \"\",\r\n \"defaultIdentity\": \"\",\r\n \"networkAclBypass\": \"None\",\r\n \"consistencyPolicy\": {\r\n \"defaultConsistencyLevel\": \"Session\",\r\n \"maxIntervalInSeconds\": 5,\r\n \"maxStalenessPrefix\": 100\r\n },\r\n \"apiProperties\": {\r\n \"serverVersion\": \"3.2\"\r\n },\r\n \"configurationOverrides\": {\r\n \"EnableBsonSchema\": \"True\"\r\n },\r\n \"writeLocations\": [\r\n {\r\n \"id\": \"pitr-mongo32-stage-source-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://pitr-mongo32-stage-source-eastus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"readLocations\": [\r\n {\r\n \"id\": \"pitr-mongo32-stage-source-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://pitr-mongo32-stage-source-eastus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n },\r\n {\r\n \"id\": \"pitr-mongo32-stage-source-westus2\",\r\n \"locationName\": \"West US 2\",\r\n \"documentEndpoint\": \"https://pitr-mongo32-stage-source-westus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 1,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"locations\": [\r\n {\r\n \"id\": \"pitr-mongo32-stage-source-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://pitr-mongo32-stage-source-eastus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n },\r\n {\r\n \"id\": \"pitr-mongo32-stage-source-westus2\",\r\n \"locationName\": \"West US 2\",\r\n \"documentEndpoint\": \"https://pitr-mongo32-stage-source-westus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 1,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"failoverPolicies\": [\r\n {\r\n \"id\": \"pitr-mongo32-stage-source-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"failoverPriority\": 0\r\n },\r\n {\r\n \"id\": \"pitr-mongo32-stage-source-westus2\",\r\n \"locationName\": \"West US 2\",\r\n \"failoverPriority\": 1\r\n }\r\n ],\r\n \"cors\": [],\r\n \"capabilities\": [],\r\n \"ipRules\": [],\r\n \"backupPolicy\": {\r\n \"type\": \"Continuous\"\r\n },\r\n \"networkAclBypassResourceIds\": []\r\n },\r\n \"identity\": {\r\n \"type\": \"None\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/resourceGroups/pitr-stage-rg/providers/Microsoft.DocumentDB/databaseAccounts/pitr-mongo36-stage-source\",\r\n \"name\": \"pitr-mongo36-stage-source\",\r\n \"location\": \"East US 2\",\r\n \"type\": \"Microsoft.DocumentDB/databaseAccounts\",\r\n \"kind\": \"MongoDB\",\r\n \"tags\": {},\r\n \"systemData\": {\r\n \"createdAt\": \"2020-12-07T21:35:23.3656995Z\"\r\n },\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"documentEndpoint\": \"https://pitr-mongo36-stage-source.documents-staging.windows-ppe.net:443/\",\r\n \"mongoEndpoint\": \"https://pitr-mongo36-stage-source.mongo.cosmos.windows-ppe.net:443/\",\r\n \"publicNetworkAccess\": \"Enabled\",\r\n \"enableAutomaticFailover\": false,\r\n \"enableMultipleWriteLocations\": false,\r\n \"enablePartitionKeyMonitor\": false,\r\n \"isVirtualNetworkFilterEnabled\": false,\r\n \"virtualNetworkRules\": [],\r\n \"EnabledApiTypes\": \"MongoDB\",\r\n \"disableKeyBasedMetadataWriteAccess\": false,\r\n \"enableFreeTier\": false,\r\n \"enableAnalyticalStorage\": false,\r\n \"analyticalStorageConfiguration\": null,\r\n \"instanceId\": \"25a04cf0-89d4-4546-9c30-14d1dc8899df\",\r\n \"createMode\": \"Default\",\r\n \"databaseAccountOfferType\": \"Standard\",\r\n \"enableCassandraConnector\": false,\r\n \"connectorOffer\": \"\",\r\n \"defaultIdentity\": \"\",\r\n \"networkAclBypass\": \"None\",\r\n \"consistencyPolicy\": {\r\n \"defaultConsistencyLevel\": \"Session\",\r\n \"maxIntervalInSeconds\": 5,\r\n \"maxStalenessPrefix\": 100\r\n },\r\n \"apiProperties\": {\r\n \"serverVersion\": \"3.6\"\r\n },\r\n \"configurationOverrides\": {\r\n \"EnableBsonSchema\": \"True\"\r\n },\r\n \"writeLocations\": [\r\n {\r\n \"id\": \"pitr-mongo36-stage-source-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://pitr-mongo36-stage-source-eastus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"readLocations\": [\r\n {\r\n \"id\": \"pitr-mongo36-stage-source-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://pitr-mongo36-stage-source-eastus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n },\r\n {\r\n \"id\": \"pitr-mongo36-stage-source-westus2\",\r\n \"locationName\": \"West US 2\",\r\n \"documentEndpoint\": \"https://pitr-mongo36-stage-source-westus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 1,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"locations\": [\r\n {\r\n \"id\": \"pitr-mongo36-stage-source-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://pitr-mongo36-stage-source-eastus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n },\r\n {\r\n \"id\": \"pitr-mongo36-stage-source-westus2\",\r\n \"locationName\": \"West US 2\",\r\n \"documentEndpoint\": \"https://pitr-mongo36-stage-source-westus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 1,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"failoverPolicies\": [\r\n {\r\n \"id\": \"pitr-mongo36-stage-source-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"failoverPriority\": 0\r\n },\r\n {\r\n \"id\": \"pitr-mongo36-stage-source-westus2\",\r\n \"locationName\": \"West US 2\",\r\n \"failoverPriority\": 1\r\n }\r\n ],\r\n \"cors\": [],\r\n \"capabilities\": [\r\n {\r\n \"name\": \"EnableMongo\"\r\n }\r\n ],\r\n \"ipRules\": [],\r\n \"backupPolicy\": {\r\n \"type\": \"Continuous\"\r\n },\r\n \"networkAclBypassResourceIds\": []\r\n },\r\n \"identity\": {\r\n \"type\": \"None\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/resourceGroups/nichatur/providers/Microsoft.DocumentDB/databaseAccounts/nichatur-restore-test\",\r\n \"name\": \"nichatur-restore-test\",\r\n \"location\": \"East US 2\",\r\n \"type\": \"Microsoft.DocumentDB/databaseAccounts\",\r\n \"kind\": \"GlobalDocumentDB\",\r\n \"tags\": {\r\n \"defaultExperience\": \"Core (SQL)\",\r\n \"hidden-cosmos-mmspecial\": \"\",\r\n \"CosmosAccountType\": \"Non-Production\"\r\n },\r\n \"systemData\": {\r\n \"createdAt\": \"2020-12-07T23:33:56.040742Z\"\r\n },\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"documentEndpoint\": \"https://nichatur-restore-test.documents-staging.windows-ppe.net:443/\",\r\n \"publicNetworkAccess\": \"Enabled\",\r\n \"enableAutomaticFailover\": false,\r\n \"enableMultipleWriteLocations\": false,\r\n \"enablePartitionKeyMonitor\": false,\r\n \"isVirtualNetworkFilterEnabled\": false,\r\n \"virtualNetworkRules\": [],\r\n \"EnabledApiTypes\": \"Sql\",\r\n \"disableKeyBasedMetadataWriteAccess\": false,\r\n \"enableFreeTier\": false,\r\n \"enableAnalyticalStorage\": false,\r\n \"analyticalStorageConfiguration\": null,\r\n \"instanceId\": \"345c785a-e758-4f8b-94d4-0a1259f4f85b\",\r\n \"createMode\": \"Default\",\r\n \"databaseAccountOfferType\": \"Standard\",\r\n \"enableCassandraConnector\": false,\r\n \"connectorOffer\": \"\",\r\n \"defaultIdentity\": \"\",\r\n \"networkAclBypass\": \"None\",\r\n \"consistencyPolicy\": {\r\n \"defaultConsistencyLevel\": \"Session\",\r\n \"maxIntervalInSeconds\": 5,\r\n \"maxStalenessPrefix\": 100\r\n },\r\n \"configurationOverrides\": {},\r\n \"writeLocations\": [\r\n {\r\n \"id\": \"nichatur-restore-test-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://nichatur-restore-test-eastus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"readLocations\": [\r\n {\r\n \"id\": \"nichatur-restore-test-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://nichatur-restore-test-eastus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"locations\": [\r\n {\r\n \"id\": \"nichatur-restore-test-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://nichatur-restore-test-eastus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"failoverPolicies\": [\r\n {\r\n \"id\": \"nichatur-restore-test-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"failoverPriority\": 0\r\n }\r\n ],\r\n \"cors\": [],\r\n \"capabilities\": [],\r\n \"ipRules\": [\r\n {\r\n \"ipAddressOrRange\": \"23.10.40.67\"\r\n }\r\n ],\r\n \"backupPolicy\": {\r\n \"type\": \"Continuous\"\r\n },\r\n \"networkAclBypassResourceIds\": []\r\n },\r\n \"identity\": {\r\n \"type\": \"None\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/resourceGroups/nichatur/providers/Microsoft.DocumentDB/databaseAccounts/nichatur-restore-test-r1\",\r\n \"name\": \"nichatur-restore-test-r1\",\r\n \"location\": \"East US 2\",\r\n \"type\": \"Microsoft.DocumentDB/databaseAccounts\",\r\n \"kind\": \"GlobalDocumentDB\",\r\n \"tags\": {\r\n \"defaultExperience\": \"Core (SQL)\",\r\n \"hidden-cosmos-mmspecial\": \"\",\r\n \"CosmosAccountType\": \"Non-Production\"\r\n },\r\n \"systemData\": {\r\n \"createdAt\": \"2020-12-07T23:57:58.8872446Z\"\r\n },\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"documentEndpoint\": \"https://nichatur-restore-test-r1.documents-staging.windows-ppe.net:443/\",\r\n \"publicNetworkAccess\": \"Enabled\",\r\n \"enableAutomaticFailover\": false,\r\n \"enableMultipleWriteLocations\": false,\r\n \"enablePartitionKeyMonitor\": false,\r\n \"isVirtualNetworkFilterEnabled\": false,\r\n \"virtualNetworkRules\": [],\r\n \"EnabledApiTypes\": \"Sql\",\r\n \"disableKeyBasedMetadataWriteAccess\": false,\r\n \"enableFreeTier\": false,\r\n \"enableAnalyticalStorage\": false,\r\n \"analyticalStorageConfiguration\": null,\r\n \"instanceId\": \"605db505-9267-4cf0-b7ac-27ef644b2ef3\",\r\n \"createMode\": \"Restore\",\r\n \"databaseAccountOfferType\": \"Standard\",\r\n \"enableCassandraConnector\": false,\r\n \"defaultIdentity\": \"\",\r\n \"networkAclBypass\": \"None\",\r\n \"consistencyPolicy\": {\r\n \"defaultConsistencyLevel\": \"Session\",\r\n \"maxIntervalInSeconds\": 5,\r\n \"maxStalenessPrefix\": 100\r\n },\r\n \"configurationOverrides\": {},\r\n \"writeLocations\": [\r\n {\r\n \"id\": \"nichatur-restore-test-r1-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://nichatur-restore-test-r1-eastus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"readLocations\": [\r\n {\r\n \"id\": \"nichatur-restore-test-r1-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://nichatur-restore-test-r1-eastus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"locations\": [\r\n {\r\n \"id\": \"nichatur-restore-test-r1-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://nichatur-restore-test-r1-eastus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"failoverPolicies\": [\r\n {\r\n \"id\": \"nichatur-restore-test-r1-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"failoverPriority\": 0\r\n }\r\n ],\r\n \"cors\": [],\r\n \"capabilities\": [],\r\n \"ipRules\": [],\r\n \"backupPolicy\": {\r\n \"type\": \"Continuous\"\r\n },\r\n \"restoreParameters\": {\r\n \"restoreMode\": \"PointInTime\",\r\n \"restoreSource\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/providers/Microsoft.DocumentDB/locations/eastus2/restorableDatabaseAccounts/345c785a-e758-4f8b-94d4-0a1259f4f85b\",\r\n \"restoreTimestampInUtc\": \"2020-12-07T23:47:49.48Z\",\r\n \"databasesToRestore\": []\r\n },\r\n \"networkAclBypassResourceIds\": []\r\n },\r\n \"identity\": {\r\n \"type\": \"None\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/resourceGroups/CosmosDBResourceGroup3668/providers/Microsoft.DocumentDB/databaseAccounts/restoredaccountname637428989095532319\",\r\n \"name\": \"restoredaccountname637428989095532319\",\r\n \"location\": \"East US 2\",\r\n \"type\": \"Microsoft.DocumentDB/databaseAccounts\",\r\n \"kind\": \"GlobalDocumentDB\",\r\n \"tags\": {},\r\n \"systemData\": {\r\n \"createdAt\": \"2020-12-08T00:57:51.9046166Z\"\r\n },\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"documentEndpoint\": \"https://restoredaccountname637428989095532319.documents-staging.windows-ppe.net:443/\",\r\n \"publicNetworkAccess\": \"Enabled\",\r\n \"enableAutomaticFailover\": false,\r\n \"enableMultipleWriteLocations\": false,\r\n \"enablePartitionKeyMonitor\": false,\r\n \"isVirtualNetworkFilterEnabled\": false,\r\n \"virtualNetworkRules\": [],\r\n \"EnabledApiTypes\": \"Sql\",\r\n \"disableKeyBasedMetadataWriteAccess\": false,\r\n \"enableFreeTier\": false,\r\n \"enableAnalyticalStorage\": false,\r\n \"analyticalStorageConfiguration\": null,\r\n \"instanceId\": \"0d00d699-017a-4a76-8639-ab4bec82c5f2\",\r\n \"createMode\": \"Restore\",\r\n \"databaseAccountOfferType\": \"Standard\",\r\n \"enableCassandraConnector\": false,\r\n \"defaultIdentity\": \"\",\r\n \"networkAclBypass\": \"None\",\r\n \"consistencyPolicy\": {\r\n \"defaultConsistencyLevel\": \"Session\",\r\n \"maxIntervalInSeconds\": 5,\r\n \"maxStalenessPrefix\": 100\r\n },\r\n \"configurationOverrides\": {},\r\n \"writeLocations\": [\r\n {\r\n \"id\": \"restoredaccountname637428989095532319-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://restoredaccountname637428989095532319-eastus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"readLocations\": [\r\n {\r\n \"id\": \"restoredaccountname637428989095532319-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://restoredaccountname637428989095532319-eastus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"locations\": [\r\n {\r\n \"id\": \"restoredaccountname637428989095532319-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://restoredaccountname637428989095532319-eastus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"failoverPolicies\": [\r\n {\r\n \"id\": \"restoredaccountname637428989095532319-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"failoverPriority\": 0\r\n }\r\n ],\r\n \"cors\": [],\r\n \"capabilities\": [],\r\n \"ipRules\": [],\r\n \"backupPolicy\": {\r\n \"type\": \"Continuous\"\r\n },\r\n \"restoreParameters\": {\r\n \"restoreMode\": \"PointInTime\",\r\n \"restoreSource\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/providers/Microsoft.DocumentDB/locations/eastus2/restorableDatabaseAccounts/aca7d453-88a9-4bf2-8abc-46d21553638f\",\r\n \"restoreTimestampInUtc\": \"2020-12-07T00:48:29.5532319Z\",\r\n \"databasesToRestore\": []\r\n },\r\n \"networkAclBypassResourceIds\": []\r\n },\r\n \"identity\": {\r\n \"type\": \"None\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/resourceGroups/nichatur/providers/Microsoft.DocumentDB/databaseAccounts/nichatur-restore-test-r2\",\r\n \"name\": \"nichatur-restore-test-r2\",\r\n \"location\": \"East US 2\",\r\n \"type\": \"Microsoft.DocumentDB/databaseAccounts\",\r\n \"kind\": \"GlobalDocumentDB\",\r\n \"tags\": {\r\n \"defaultExperience\": \"Core (SQL)\",\r\n \"hidden-cosmos-mmspecial\": \"\",\r\n \"CosmosAccountType\": \"Non-Production\"\r\n },\r\n \"systemData\": {\r\n \"createdAt\": \"2020-12-08T22:03:13.047643Z\"\r\n },\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"documentEndpoint\": \"https://nichatur-restore-test-r2.documents-staging.windows-ppe.net:443/\",\r\n \"publicNetworkAccess\": \"Enabled\",\r\n \"enableAutomaticFailover\": false,\r\n \"enableMultipleWriteLocations\": false,\r\n \"enablePartitionKeyMonitor\": false,\r\n \"isVirtualNetworkFilterEnabled\": false,\r\n \"virtualNetworkRules\": [],\r\n \"EnabledApiTypes\": \"Sql\",\r\n \"disableKeyBasedMetadataWriteAccess\": false,\r\n \"enableFreeTier\": false,\r\n \"enableAnalyticalStorage\": false,\r\n \"analyticalStorageConfiguration\": null,\r\n \"instanceId\": \"73d1010d-f0b7-4673-b8c0-18ddecdcda06\",\r\n \"createMode\": \"Restore\",\r\n \"databaseAccountOfferType\": \"Standard\",\r\n \"enableCassandraConnector\": false,\r\n \"defaultIdentity\": \"\",\r\n \"networkAclBypass\": \"None\",\r\n \"consistencyPolicy\": {\r\n \"defaultConsistencyLevel\": \"Session\",\r\n \"maxIntervalInSeconds\": 5,\r\n \"maxStalenessPrefix\": 100\r\n },\r\n \"configurationOverrides\": {},\r\n \"writeLocations\": [\r\n {\r\n \"id\": \"nichatur-restore-test-r2-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://nichatur-restore-test-r2-eastus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"readLocations\": [\r\n {\r\n \"id\": \"nichatur-restore-test-r2-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://nichatur-restore-test-r2-eastus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"locations\": [\r\n {\r\n \"id\": \"nichatur-restore-test-r2-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://nichatur-restore-test-r2-eastus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"failoverPolicies\": [\r\n {\r\n \"id\": \"nichatur-restore-test-r2-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"failoverPriority\": 0\r\n }\r\n ],\r\n \"cors\": [],\r\n \"capabilities\": [],\r\n \"ipRules\": [],\r\n \"backupPolicy\": {\r\n \"type\": \"Continuous\"\r\n },\r\n \"restoreParameters\": {\r\n \"restoreMode\": \"PointInTime\",\r\n \"restoreSource\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/providers/Microsoft.DocumentDB/locations/eastus2/restorableDatabaseAccounts/345c785a-e758-4f8b-94d4-0a1259f4f85b\",\r\n \"restoreTimestampInUtc\": \"2020-12-08T21:53:49.725Z\",\r\n \"databasesToRestore\": []\r\n },\r\n \"networkAclBypassResourceIds\": []\r\n },\r\n \"identity\": {\r\n \"type\": \"None\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/resourceGroups/nitesh-resource/providers/Microsoft.DocumentDB/databaseAccounts/nidudhey-test-stage\",\r\n \"name\": \"nidudhey-test-stage\",\r\n \"location\": \"East US 2\",\r\n \"type\": \"Microsoft.DocumentDB/databaseAccounts\",\r\n \"kind\": \"GlobalDocumentDB\",\r\n \"tags\": {\r\n \"defaultExperience\": \"Core (SQL)\",\r\n \"hidden-cosmos-mmspecial\": \"\",\r\n \"CosmosAccountType\": \"Non-Production\"\r\n },\r\n \"systemData\": {\r\n \"createdAt\": \"2020-12-15T15:20:43.4354931Z\"\r\n },\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"documentEndpoint\": \"https://nidudhey-test-stage.documents-staging.windows-ppe.net:443/\",\r\n \"publicNetworkAccess\": \"Enabled\",\r\n \"enableAutomaticFailover\": false,\r\n \"enableMultipleWriteLocations\": true,\r\n \"enablePartitionKeyMonitor\": false,\r\n \"isVirtualNetworkFilterEnabled\": false,\r\n \"virtualNetworkRules\": [],\r\n \"EnabledApiTypes\": \"Sql\",\r\n \"disableKeyBasedMetadataWriteAccess\": false,\r\n \"enableFreeTier\": false,\r\n \"enableAnalyticalStorage\": false,\r\n \"analyticalStorageConfiguration\": null,\r\n \"instanceId\": \"c66385ac-9338-4f47-83bb-d2335cc369f0\",\r\n \"createMode\": \"Default\",\r\n \"databaseAccountOfferType\": \"Standard\",\r\n \"enableCassandraConnector\": false,\r\n \"connectorOffer\": \"\",\r\n \"defaultIdentity\": \"\",\r\n \"networkAclBypass\": \"None\",\r\n \"consistencyPolicy\": {\r\n \"defaultConsistencyLevel\": \"Session\",\r\n \"maxIntervalInSeconds\": 5,\r\n \"maxStalenessPrefix\": 100\r\n },\r\n \"configurationOverrides\": {},\r\n \"writeLocations\": [\r\n {\r\n \"id\": \"nidudhey-test-stage-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://nidudhey-test-stage-eastus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n },\r\n {\r\n \"id\": \"nidudhey-test-stage-westus2\",\r\n \"locationName\": \"West US 2\",\r\n \"documentEndpoint\": \"https://nidudhey-test-stage-westus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 1,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"readLocations\": [\r\n {\r\n \"id\": \"nidudhey-test-stage-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://nidudhey-test-stage-eastus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n },\r\n {\r\n \"id\": \"nidudhey-test-stage-westus2\",\r\n \"locationName\": \"West US 2\",\r\n \"documentEndpoint\": \"https://nidudhey-test-stage-westus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 1,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"locations\": [\r\n {\r\n \"id\": \"nidudhey-test-stage-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://nidudhey-test-stage-eastus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n },\r\n {\r\n \"id\": \"nidudhey-test-stage-westus2\",\r\n \"locationName\": \"West US 2\",\r\n \"documentEndpoint\": \"https://nidudhey-test-stage-westus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 1,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"failoverPolicies\": [\r\n {\r\n \"id\": \"nidudhey-test-stage-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"failoverPriority\": 0\r\n },\r\n {\r\n \"id\": \"nidudhey-test-stage-westus2\",\r\n \"locationName\": \"West US 2\",\r\n \"failoverPriority\": 1\r\n }\r\n ],\r\n \"cors\": [],\r\n \"capabilities\": [],\r\n \"ipRules\": [],\r\n \"backupPolicy\": {\r\n \"type\": \"Periodic\",\r\n \"periodicModeProperties\": {\r\n \"backupIntervalInMinutes\": 240,\r\n \"backupRetentionIntervalInHours\": 8,\r\n \"backupStorageRedundancy\": \"Geo\"\r\n }\r\n },\r\n \"networkAclBypassResourceIds\": []\r\n },\r\n \"identity\": {\r\n \"type\": \"None\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/resourceGroups/CosmosDBResourceGroup1787/providers/Microsoft.DocumentDB/databaseAccounts/accountname8516\",\r\n \"name\": \"accountname8516\",\r\n \"location\": \"East US 2\",\r\n \"type\": \"Microsoft.DocumentDB/databaseAccounts\",\r\n \"kind\": \"MongoDB\",\r\n \"tags\": {\r\n \"key3\": \"value3\",\r\n \"key4\": \"value4\"\r\n },\r\n \"systemData\": {\r\n \"createdAt\": \"2020-12-15T23:39:48.5589913Z\"\r\n },\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"documentEndpoint\": \"https://accountname8516.documents-staging.windows-ppe.net:443/\",\r\n \"mongoEndpoint\": \"https://accountname8516.mongo.cosmos.windows-ppe.net:443/\",\r\n \"publicNetworkAccess\": \"Enabled\",\r\n \"enableAutomaticFailover\": true,\r\n \"enableMultipleWriteLocations\": true,\r\n \"enablePartitionKeyMonitor\": false,\r\n \"isVirtualNetworkFilterEnabled\": false,\r\n \"virtualNetworkRules\": [],\r\n \"EnabledApiTypes\": \"MongoDB\",\r\n \"disableKeyBasedMetadataWriteAccess\": true,\r\n \"enableFreeTier\": false,\r\n \"enableAnalyticalStorage\": false,\r\n \"analyticalStorageConfiguration\": null,\r\n \"instanceId\": \"c4672bc7-527c-45c2-9921-dce0b47d2bef\",\r\n \"createMode\": \"Default\",\r\n \"databaseAccountOfferType\": \"Standard\",\r\n \"enableCassandraConnector\": true,\r\n \"connectorOffer\": \"Small\",\r\n \"defaultIdentity\": \"\",\r\n \"networkAclBypass\": \"None\",\r\n \"consistencyPolicy\": {\r\n \"defaultConsistencyLevel\": \"Session\",\r\n \"maxIntervalInSeconds\": 5,\r\n \"maxStalenessPrefix\": 100\r\n },\r\n \"apiProperties\": {\r\n \"serverVersion\": \"3.6\"\r\n },\r\n \"configurationOverrides\": {\r\n \"EnableBsonSchema\": \"True\"\r\n },\r\n \"writeLocations\": [\r\n {\r\n \"id\": \"accountname8516-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://accountname8516-eastus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"readLocations\": [\r\n {\r\n \"id\": \"accountname8516-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://accountname8516-eastus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"locations\": [\r\n {\r\n \"id\": \"accountname8516-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://accountname8516-eastus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"failoverPolicies\": [\r\n {\r\n \"id\": \"accountname8516-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"failoverPriority\": 0\r\n }\r\n ],\r\n \"cors\": [],\r\n \"capabilities\": [\r\n {\r\n \"name\": \"EnableMongo\"\r\n }\r\n ],\r\n \"ipRules\": [\r\n {\r\n \"ipAddressOrRange\": \"23.43.230.120\"\r\n }\r\n ],\r\n \"backupPolicy\": {\r\n \"type\": \"Periodic\",\r\n \"periodicModeProperties\": {\r\n \"backupIntervalInMinutes\": 240,\r\n \"backupRetentionIntervalInHours\": 8,\r\n \"backupStorageRedundancy\": \"Geo\"\r\n }\r\n },\r\n \"networkAclBypassResourceIds\": []\r\n },\r\n \"identity\": {\r\n \"type\": \"None\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/resourceGroups/nidudhey-largedocs-stage/providers/Microsoft.DocumentDB/databaseAccounts/largedocsaccount\",\r\n \"name\": \"largedocsaccount\",\r\n \"location\": \"East US 2\",\r\n \"type\": \"Microsoft.DocumentDB/databaseAccounts\",\r\n \"kind\": \"GlobalDocumentDB\",\r\n \"tags\": {\r\n \"defaultExperience\": \"Core (SQL)\",\r\n \"hidden-cosmos-mmspecial\": \"\",\r\n \"CosmosAccountType\": \"Non-Production\"\r\n },\r\n \"systemData\": {\r\n \"createdAt\": \"2020-12-16T12:17:24.5504605Z\"\r\n },\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"documentEndpoint\": \"https://largedocsaccount.documents-staging.windows-ppe.net:443/\",\r\n \"publicNetworkAccess\": \"Enabled\",\r\n \"enableAutomaticFailover\": false,\r\n \"enableMultipleWriteLocations\": true,\r\n \"enablePartitionKeyMonitor\": false,\r\n \"isVirtualNetworkFilterEnabled\": false,\r\n \"virtualNetworkRules\": [],\r\n \"EnabledApiTypes\": \"Sql\",\r\n \"disableKeyBasedMetadataWriteAccess\": false,\r\n \"enableFreeTier\": false,\r\n \"enableAnalyticalStorage\": false,\r\n \"analyticalStorageConfiguration\": null,\r\n \"instanceId\": \"14e613e2-0fd2-48f0-8816-9bf1e990be97\",\r\n \"createMode\": \"Default\",\r\n \"databaseAccountOfferType\": \"Standard\",\r\n \"enableCassandraConnector\": false,\r\n \"connectorOffer\": \"\",\r\n \"defaultIdentity\": \"\",\r\n \"networkAclBypass\": \"None\",\r\n \"consistencyPolicy\": {\r\n \"defaultConsistencyLevel\": \"Session\",\r\n \"maxIntervalInSeconds\": 5,\r\n \"maxStalenessPrefix\": 100\r\n },\r\n \"configurationOverrides\": {},\r\n \"writeLocations\": [\r\n {\r\n \"id\": \"largedocsaccount-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://largedocsaccount-eastus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"readLocations\": [\r\n {\r\n \"id\": \"largedocsaccount-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://largedocsaccount-eastus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"locations\": [\r\n {\r\n \"id\": \"largedocsaccount-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://largedocsaccount-eastus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"failoverPolicies\": [\r\n {\r\n \"id\": \"largedocsaccount-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"failoverPriority\": 0\r\n }\r\n ],\r\n \"cors\": [],\r\n \"capabilities\": [],\r\n \"ipRules\": [],\r\n \"backupPolicy\": {\r\n \"type\": \"Periodic\",\r\n \"periodicModeProperties\": {\r\n \"backupIntervalInMinutes\": 240,\r\n \"backupRetentionIntervalInHours\": 8,\r\n \"backupStorageRedundancy\": \"Geo\"\r\n }\r\n },\r\n \"networkAclBypassResourceIds\": []\r\n },\r\n \"identity\": {\r\n \"type\": \"None\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/resourceGroups/nitesh-resource/providers/Microsoft.DocumentDB/databaseAccounts/nidudheylargedocsaccount2\",\r\n \"name\": \"nidudheylargedocsaccount2\",\r\n \"location\": \"East US 2\",\r\n \"type\": \"Microsoft.DocumentDB/databaseAccounts\",\r\n \"kind\": \"GlobalDocumentDB\",\r\n \"tags\": {\r\n \"defaultExperience\": \"Core (SQL)\",\r\n \"hidden-cosmos-mmspecial\": \"\",\r\n \"CosmosAccountType\": \"Non-Production\"\r\n },\r\n \"systemData\": {\r\n \"createdAt\": \"2020-12-16T15:12:35.8999909Z\"\r\n },\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"documentEndpoint\": \"https://nidudheylargedocsaccount2.documents-staging.windows-ppe.net:443/\",\r\n \"publicNetworkAccess\": \"Enabled\",\r\n \"enableAutomaticFailover\": false,\r\n \"enableMultipleWriteLocations\": true,\r\n \"enablePartitionKeyMonitor\": false,\r\n \"isVirtualNetworkFilterEnabled\": false,\r\n \"virtualNetworkRules\": [],\r\n \"EnabledApiTypes\": \"Sql\",\r\n \"disableKeyBasedMetadataWriteAccess\": false,\r\n \"enableFreeTier\": false,\r\n \"enableAnalyticalStorage\": false,\r\n \"analyticalStorageConfiguration\": null,\r\n \"instanceId\": \"a13d649a-4238-4cfc-944e-79c516049cd3\",\r\n \"createMode\": \"Default\",\r\n \"databaseAccountOfferType\": \"Standard\",\r\n \"enableCassandraConnector\": false,\r\n \"connectorOffer\": \"\",\r\n \"defaultIdentity\": \"\",\r\n \"networkAclBypass\": \"None\",\r\n \"consistencyPolicy\": {\r\n \"defaultConsistencyLevel\": \"Session\",\r\n \"maxIntervalInSeconds\": 5,\r\n \"maxStalenessPrefix\": 100\r\n },\r\n \"configurationOverrides\": {},\r\n \"writeLocations\": [\r\n {\r\n \"id\": \"nidudheylargedocsaccount2-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://nidudheylargedocsaccount2-eastus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n },\r\n {\r\n \"id\": \"nidudheylargedocsaccount2-westus2\",\r\n \"locationName\": \"West US 2\",\r\n \"documentEndpoint\": \"https://nidudheylargedocsaccount2-westus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 1,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"readLocations\": [\r\n {\r\n \"id\": \"nidudheylargedocsaccount2-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://nidudheylargedocsaccount2-eastus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n },\r\n {\r\n \"id\": \"nidudheylargedocsaccount2-westus2\",\r\n \"locationName\": \"West US 2\",\r\n \"documentEndpoint\": \"https://nidudheylargedocsaccount2-westus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 1,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"locations\": [\r\n {\r\n \"id\": \"nidudheylargedocsaccount2-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://nidudheylargedocsaccount2-eastus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n },\r\n {\r\n \"id\": \"nidudheylargedocsaccount2-westus2\",\r\n \"locationName\": \"West US 2\",\r\n \"documentEndpoint\": \"https://nidudheylargedocsaccount2-westus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 1,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"failoverPolicies\": [\r\n {\r\n \"id\": \"nidudheylargedocsaccount2-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"failoverPriority\": 0\r\n },\r\n {\r\n \"id\": \"nidudheylargedocsaccount2-westus2\",\r\n \"locationName\": \"West US 2\",\r\n \"failoverPriority\": 1\r\n }\r\n ],\r\n \"cors\": [],\r\n \"capabilities\": [],\r\n \"ipRules\": [],\r\n \"backupPolicy\": {\r\n \"type\": \"Periodic\",\r\n \"periodicModeProperties\": {\r\n \"backupIntervalInMinutes\": 240,\r\n \"backupRetentionIntervalInHours\": 8,\r\n \"backupStorageRedundancy\": \"Geo\"\r\n }\r\n },\r\n \"networkAclBypassResourceIds\": []\r\n },\r\n \"identity\": {\r\n \"type\": \"None\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/resourceGroups/nitesh-resource/providers/Microsoft.DocumentDB/databaseAccounts/nidudheylargedocsaccount3\",\r\n \"name\": \"nidudheylargedocsaccount3\",\r\n \"location\": \"East US 2\",\r\n \"type\": \"Microsoft.DocumentDB/databaseAccounts\",\r\n \"kind\": \"GlobalDocumentDB\",\r\n \"tags\": {\r\n \"defaultExperience\": \"Core (SQL)\",\r\n \"hidden-cosmos-mmspecial\": \"\",\r\n \"CosmosAccountType\": \"Non-Production\"\r\n },\r\n \"systemData\": {\r\n \"createdAt\": \"2020-12-16T18:31:42.2164221Z\"\r\n },\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"documentEndpoint\": \"https://nidudheylargedocsaccount3.documents-staging.windows-ppe.net:443/\",\r\n \"publicNetworkAccess\": \"Enabled\",\r\n \"enableAutomaticFailover\": false,\r\n \"enableMultipleWriteLocations\": true,\r\n \"enablePartitionKeyMonitor\": false,\r\n \"isVirtualNetworkFilterEnabled\": false,\r\n \"virtualNetworkRules\": [],\r\n \"EnabledApiTypes\": \"Sql\",\r\n \"disableKeyBasedMetadataWriteAccess\": false,\r\n \"enableFreeTier\": false,\r\n \"enableAnalyticalStorage\": false,\r\n \"analyticalStorageConfiguration\": null,\r\n \"instanceId\": \"3cf70cd8-9fc6-4382-b5f4-1600ea82fe63\",\r\n \"createMode\": \"Default\",\r\n \"databaseAccountOfferType\": \"Standard\",\r\n \"enableCassandraConnector\": false,\r\n \"connectorOffer\": \"\",\r\n \"defaultIdentity\": \"\",\r\n \"networkAclBypass\": \"None\",\r\n \"consistencyPolicy\": {\r\n \"defaultConsistencyLevel\": \"Session\",\r\n \"maxIntervalInSeconds\": 5,\r\n \"maxStalenessPrefix\": 100\r\n },\r\n \"configurationOverrides\": {},\r\n \"writeLocations\": [\r\n {\r\n \"id\": \"nidudheylargedocsaccount3-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://nidudheylargedocsaccount3-eastus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n },\r\n {\r\n \"id\": \"nidudheylargedocsaccount3-westus2\",\r\n \"locationName\": \"West US 2\",\r\n \"documentEndpoint\": \"https://nidudheylargedocsaccount3-westus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 1,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"readLocations\": [\r\n {\r\n \"id\": \"nidudheylargedocsaccount3-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://nidudheylargedocsaccount3-eastus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n },\r\n {\r\n \"id\": \"nidudheylargedocsaccount3-westus2\",\r\n \"locationName\": \"West US 2\",\r\n \"documentEndpoint\": \"https://nidudheylargedocsaccount3-westus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 1,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"locations\": [\r\n {\r\n \"id\": \"nidudheylargedocsaccount3-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://nidudheylargedocsaccount3-eastus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n },\r\n {\r\n \"id\": \"nidudheylargedocsaccount3-westus2\",\r\n \"locationName\": \"West US 2\",\r\n \"documentEndpoint\": \"https://nidudheylargedocsaccount3-westus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 1,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"failoverPolicies\": [\r\n {\r\n \"id\": \"nidudheylargedocsaccount3-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"failoverPriority\": 0\r\n },\r\n {\r\n \"id\": \"nidudheylargedocsaccount3-westus2\",\r\n \"locationName\": \"West US 2\",\r\n \"failoverPriority\": 1\r\n }\r\n ],\r\n \"cors\": [],\r\n \"capabilities\": [],\r\n \"ipRules\": [],\r\n \"backupPolicy\": {\r\n \"type\": \"Periodic\",\r\n \"periodicModeProperties\": {\r\n \"backupIntervalInMinutes\": 240,\r\n \"backupRetentionIntervalInHours\": 8,\r\n \"backupStorageRedundancy\": \"Geo\"\r\n }\r\n },\r\n \"networkAclBypassResourceIds\": []\r\n },\r\n \"identity\": {\r\n \"type\": \"None\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/resourceGroups/SQL_on_Compute_sign_off/providers/Microsoft.DocumentDB/databaseAccounts/sqloncomputesignoff\",\r\n \"name\": \"sqloncomputesignoff\",\r\n \"location\": \"East US 2\",\r\n \"type\": \"Microsoft.DocumentDB/databaseAccounts\",\r\n \"kind\": \"GlobalDocumentDB\",\r\n \"tags\": {\r\n \"defaultExperience\": \"Core (SQL)\",\r\n \"hidden-cosmos-mmspecial\": \"\",\r\n \"CosmosAccountType\": \"Non-Production\"\r\n },\r\n \"systemData\": {\r\n \"createdAt\": \"2021-01-14T05:46:36.9458648Z\"\r\n },\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"documentEndpoint\": \"https://sqloncomputesignoff.documents-staging.windows-ppe.net:443/\",\r\n \"publicNetworkAccess\": \"Enabled\",\r\n \"enableAutomaticFailover\": false,\r\n \"enableMultipleWriteLocations\": false,\r\n \"enablePartitionKeyMonitor\": false,\r\n \"isVirtualNetworkFilterEnabled\": false,\r\n \"virtualNetworkRules\": [],\r\n \"EnabledApiTypes\": \"Sql\",\r\n \"disableKeyBasedMetadataWriteAccess\": false,\r\n \"enableFreeTier\": false,\r\n \"enableAnalyticalStorage\": false,\r\n \"analyticalStorageConfiguration\": null,\r\n \"instanceId\": \"1f2287d6-f5d8-415b-bee7-1e95cb017813\",\r\n \"createMode\": \"Default\",\r\n \"databaseAccountOfferType\": \"Standard\",\r\n \"enableCassandraConnector\": false,\r\n \"connectorOffer\": \"\",\r\n \"defaultIdentity\": \"\",\r\n \"networkAclBypass\": \"None\",\r\n \"consistencyPolicy\": {\r\n \"defaultConsistencyLevel\": \"Session\",\r\n \"maxIntervalInSeconds\": 5,\r\n \"maxStalenessPrefix\": 100\r\n },\r\n \"configurationOverrides\": {},\r\n \"writeLocations\": [\r\n {\r\n \"id\": \"sqloncomputesignoff-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://sqloncomputesignoff-eastus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"readLocations\": [\r\n {\r\n \"id\": \"sqloncomputesignoff-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://sqloncomputesignoff-eastus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"locations\": [\r\n {\r\n \"id\": \"sqloncomputesignoff-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://sqloncomputesignoff-eastus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"failoverPolicies\": [\r\n {\r\n \"id\": \"sqloncomputesignoff-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"failoverPriority\": 0\r\n }\r\n ],\r\n \"cors\": [],\r\n \"capabilities\": [],\r\n \"ipRules\": [],\r\n \"backupPolicy\": {\r\n \"type\": \"Periodic\",\r\n \"periodicModeProperties\": {\r\n \"backupIntervalInMinutes\": 240,\r\n \"backupRetentionIntervalInHours\": 8,\r\n \"backupStorageRedundancy\": \"Geo\"\r\n }\r\n },\r\n \"networkAclBypassResourceIds\": []\r\n },\r\n \"identity\": {\r\n \"type\": \"None\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/resourceGroups/test1027group/providers/Microsoft.DocumentDB/databaseAccounts/test-tepa0115\",\r\n \"name\": \"test-tepa0115\",\r\n \"location\": \"East US 2\",\r\n \"type\": \"Microsoft.DocumentDB/databaseAccounts\",\r\n \"kind\": \"GlobalDocumentDB\",\r\n \"tags\": {\r\n \"defaultExperience\": \"Core (SQL)\",\r\n \"hidden-cosmos-mmspecial\": \"\",\r\n \"CosmosAccountType\": \"Non-Production\"\r\n },\r\n \"systemData\": {\r\n \"createdAt\": \"2021-01-15T11:45:43.924868Z\"\r\n },\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"documentEndpoint\": \"https://test-tepa0115.documents-staging.windows-ppe.net:443/\",\r\n \"publicNetworkAccess\": \"Enabled\",\r\n \"enableAutomaticFailover\": false,\r\n \"enableMultipleWriteLocations\": false,\r\n \"enablePartitionKeyMonitor\": false,\r\n \"isVirtualNetworkFilterEnabled\": false,\r\n \"virtualNetworkRules\": [],\r\n \"EnabledApiTypes\": \"Sql\",\r\n \"disableKeyBasedMetadataWriteAccess\": false,\r\n \"enableFreeTier\": false,\r\n \"enableAnalyticalStorage\": false,\r\n \"analyticalStorageConfiguration\": null,\r\n \"instanceId\": \"14287d17-5cc7-4672-8781-0c51170758f4\",\r\n \"createMode\": \"Default\",\r\n \"databaseAccountOfferType\": \"Standard\",\r\n \"enableCassandraConnector\": false,\r\n \"connectorOffer\": \"\",\r\n \"defaultIdentity\": \"\",\r\n \"networkAclBypass\": \"None\",\r\n \"consistencyPolicy\": {\r\n \"defaultConsistencyLevel\": \"Session\",\r\n \"maxIntervalInSeconds\": 5,\r\n \"maxStalenessPrefix\": 100\r\n },\r\n \"configurationOverrides\": {},\r\n \"writeLocations\": [\r\n {\r\n \"id\": \"test-tepa0115-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://test-tepa0115-eastus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"readLocations\": [\r\n {\r\n \"id\": \"test-tepa0115-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://test-tepa0115-eastus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n },\r\n {\r\n \"id\": \"test-tepa0115-westus2\",\r\n \"locationName\": \"West US 2\",\r\n \"documentEndpoint\": \"https://test-tepa0115-westus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 1,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"locations\": [\r\n {\r\n \"id\": \"test-tepa0115-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://test-tepa0115-eastus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n },\r\n {\r\n \"id\": \"test-tepa0115-westus2\",\r\n \"locationName\": \"West US 2\",\r\n \"documentEndpoint\": \"https://test-tepa0115-westus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 1,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"failoverPolicies\": [\r\n {\r\n \"id\": \"test-tepa0115-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"failoverPriority\": 0\r\n },\r\n {\r\n \"id\": \"test-tepa0115-westus2\",\r\n \"locationName\": \"West US 2\",\r\n \"failoverPriority\": 1\r\n }\r\n ],\r\n \"cors\": [],\r\n \"capabilities\": [],\r\n \"ipRules\": [],\r\n \"backupPolicy\": {\r\n \"type\": \"Periodic\",\r\n \"periodicModeProperties\": {\r\n \"backupIntervalInMinutes\": 240,\r\n \"backupRetentionIntervalInHours\": 25,\r\n \"backupStorageRedundancy\": \"Local\"\r\n }\r\n },\r\n \"networkAclBypassResourceIds\": []\r\n },\r\n \"identity\": {\r\n \"type\": \"None\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/resourceGroups/kakhandr-rg/providers/Microsoft.DocumentDB/databaseAccounts/kal-restore-test\",\r\n \"name\": \"kal-restore-test\",\r\n \"location\": \"East US 2\",\r\n \"type\": \"Microsoft.DocumentDB/databaseAccounts\",\r\n \"kind\": \"GlobalDocumentDB\",\r\n \"tags\": {\r\n \"defaultExperience\": \"Core (SQL)\",\r\n \"hidden-cosmos-mmspecial\": \"\",\r\n \"CosmosAccountType\": \"Non-Production\"\r\n },\r\n \"systemData\": {\r\n \"createdAt\": \"2021-01-15T21:58:31.8978899Z\"\r\n },\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"documentEndpoint\": \"https://kal-restore-test.documents-staging.windows-ppe.net:443/\",\r\n \"publicNetworkAccess\": \"Enabled\",\r\n \"enableAutomaticFailover\": false,\r\n \"enableMultipleWriteLocations\": false,\r\n \"enablePartitionKeyMonitor\": false,\r\n \"isVirtualNetworkFilterEnabled\": false,\r\n \"virtualNetworkRules\": [],\r\n \"EnabledApiTypes\": \"Sql\",\r\n \"disableKeyBasedMetadataWriteAccess\": false,\r\n \"enableFreeTier\": false,\r\n \"enableAnalyticalStorage\": false,\r\n \"analyticalStorageConfiguration\": null,\r\n \"instanceId\": \"d1535f84-06b5-497b-8768-962ece984001\",\r\n \"createMode\": \"Restore\",\r\n \"databaseAccountOfferType\": \"Standard\",\r\n \"enableCassandraConnector\": false,\r\n \"defaultIdentity\": \"\",\r\n \"networkAclBypass\": \"None\",\r\n \"consistencyPolicy\": {\r\n \"defaultConsistencyLevel\": \"Session\",\r\n \"maxIntervalInSeconds\": 5,\r\n \"maxStalenessPrefix\": 100\r\n },\r\n \"configurationOverrides\": {},\r\n \"writeLocations\": [\r\n {\r\n \"id\": \"kal-restore-test-westus2\",\r\n \"locationName\": \"West US 2\",\r\n \"documentEndpoint\": \"https://kal-restore-test-westus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"readLocations\": [\r\n {\r\n \"id\": \"kal-restore-test-westus2\",\r\n \"locationName\": \"West US 2\",\r\n \"documentEndpoint\": \"https://kal-restore-test-westus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"locations\": [\r\n {\r\n \"id\": \"kal-restore-test-westus2\",\r\n \"locationName\": \"West US 2\",\r\n \"documentEndpoint\": \"https://kal-restore-test-westus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"failoverPolicies\": [\r\n {\r\n \"id\": \"kal-restore-test-westus2\",\r\n \"locationName\": \"West US 2\",\r\n \"failoverPriority\": 0\r\n }\r\n ],\r\n \"cors\": [],\r\n \"capabilities\": [],\r\n \"ipRules\": [],\r\n \"backupPolicy\": {\r\n \"type\": \"Continuous\"\r\n },\r\n \"restoreParameters\": {\r\n \"restoreMode\": \"PointInTime\",\r\n \"restoreSource\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/providers/Microsoft.DocumentDB/locations/eastus2/restorableDatabaseAccounts/a54115d5-4356-4771-b7b0-20f475ce5a38\",\r\n \"restoreTimestampInUtc\": \"2020-12-17T18:59:50Z\",\r\n \"databasesToRestore\": []\r\n },\r\n \"networkAclBypassResourceIds\": []\r\n },\r\n \"identity\": {\r\n \"type\": \"None\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/resourceGroups/CANARY/providers/Microsoft.DocumentDB/databaseAccounts/canary-stageeastus2fd3-sqlx\",\r\n \"name\": \"canary-stageeastus2fd3-sqlx\",\r\n \"location\": \"East US 2\",\r\n \"type\": \"Microsoft.DocumentDB/databaseAccounts\",\r\n \"kind\": \"GlobalDocumentDB\",\r\n \"tags\": {},\r\n \"systemData\": {\r\n \"createdAt\": \"2021-01-19T19:09:48.5481956Z\"\r\n },\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"documentEndpoint\": \"https://canary-stageeastus2fd3-sqlx.documents-staging.windows-ppe.net:443/\",\r\n \"publicNetworkAccess\": \"Enabled\",\r\n \"enableAutomaticFailover\": false,\r\n \"enableMultipleWriteLocations\": false,\r\n \"enablePartitionKeyMonitor\": false,\r\n \"isVirtualNetworkFilterEnabled\": false,\r\n \"virtualNetworkRules\": [],\r\n \"EnabledApiTypes\": \"Sql\",\r\n \"disableKeyBasedMetadataWriteAccess\": false,\r\n \"enableFreeTier\": false,\r\n \"enableAnalyticalStorage\": false,\r\n \"analyticalStorageConfiguration\": null,\r\n \"instanceId\": \"ce2d1575-d2e5-47bd-976c-16d9cf7dbb81\",\r\n \"createMode\": \"Default\",\r\n \"databaseAccountOfferType\": \"Standard\",\r\n \"defaultIdentity\": \"\",\r\n \"networkAclBypass\": \"None\",\r\n \"consistencyPolicy\": {\r\n \"defaultConsistencyLevel\": \"Session\",\r\n \"maxIntervalInSeconds\": 5,\r\n \"maxStalenessPrefix\": 100\r\n },\r\n \"configurationOverrides\": {},\r\n \"writeLocations\": [\r\n {\r\n \"id\": \"canary-stageeastus2fd3-sqlx-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://canary-stageeastus2fd3-sqlx-eastus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": true\r\n }\r\n ],\r\n \"readLocations\": [\r\n {\r\n \"id\": \"canary-stageeastus2fd3-sqlx-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://canary-stageeastus2fd3-sqlx-eastus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": true\r\n }\r\n ],\r\n \"locations\": [\r\n {\r\n \"id\": \"canary-stageeastus2fd3-sqlx-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://canary-stageeastus2fd3-sqlx-eastus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": true\r\n }\r\n ],\r\n \"failoverPolicies\": [\r\n {\r\n \"id\": \"canary-stageeastus2fd3-sqlx-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"failoverPriority\": 0\r\n }\r\n ],\r\n \"cors\": [],\r\n \"capabilities\": [\r\n {\r\n \"name\": \"EnableSqlx\"\r\n }\r\n ],\r\n \"ipRules\": [],\r\n \"backupPolicy\": {\r\n \"type\": \"Periodic\",\r\n \"periodicModeProperties\": {\r\n \"backupIntervalInMinutes\": 240,\r\n \"backupRetentionIntervalInHours\": 8,\r\n \"backupStorageRedundancy\": \"Geo\"\r\n }\r\n },\r\n \"networkAclBypassResourceIds\": []\r\n },\r\n \"identity\": {\r\n \"type\": \"None\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/resourceGroups/mekaushi/providers/Microsoft.DocumentDB/databaseAccounts/mongostagevalidation0120\",\r\n \"name\": \"mongostagevalidation0120\",\r\n \"location\": \"East US 2\",\r\n \"type\": \"Microsoft.DocumentDB/databaseAccounts\",\r\n \"kind\": \"MongoDB\",\r\n \"tags\": {\r\n \"defaultExperience\": \"Azure Cosmos DB for MongoDB API\",\r\n \"hidden-cosmos-mmspecial\": \"\",\r\n \"CosmosAccountType\": \"Non-Production\"\r\n },\r\n \"systemData\": {\r\n \"createdAt\": \"2021-01-20T19:37:24.8064847Z\"\r\n },\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"documentEndpoint\": \"https://mongostagevalidation0120.documents-staging.windows-ppe.net:443/\",\r\n \"mongoEndpoint\": \"https://mongostagevalidation0120.mongo.cosmos.windows-ppe.net:443/\",\r\n \"publicNetworkAccess\": \"Enabled\",\r\n \"enableAutomaticFailover\": false,\r\n \"enableMultipleWriteLocations\": false,\r\n \"enablePartitionKeyMonitor\": false,\r\n \"isVirtualNetworkFilterEnabled\": false,\r\n \"virtualNetworkRules\": [],\r\n \"EnabledApiTypes\": \"MongoDB\",\r\n \"disableKeyBasedMetadataWriteAccess\": false,\r\n \"enableFreeTier\": false,\r\n \"enableAnalyticalStorage\": false,\r\n \"analyticalStorageConfiguration\": null,\r\n \"instanceId\": \"7c7e80e2-c316-42eb-b044-e65deda55c19\",\r\n \"createMode\": \"Default\",\r\n \"databaseAccountOfferType\": \"Standard\",\r\n \"enableCassandraConnector\": false,\r\n \"connectorOffer\": \"\",\r\n \"defaultIdentity\": \"\",\r\n \"networkAclBypass\": \"None\",\r\n \"consistencyPolicy\": {\r\n \"defaultConsistencyLevel\": \"Session\",\r\n \"maxIntervalInSeconds\": 5,\r\n \"maxStalenessPrefix\": 100\r\n },\r\n \"apiProperties\": {\r\n \"serverVersion\": \"3.6\"\r\n },\r\n \"configurationOverrides\": {\r\n \"EnableBsonSchema\": \"True\"\r\n },\r\n \"writeLocations\": [\r\n {\r\n \"id\": \"mongostagevalidation0120-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://mongostagevalidation0120-eastus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"readLocations\": [\r\n {\r\n \"id\": \"mongostagevalidation0120-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://mongostagevalidation0120-eastus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"locations\": [\r\n {\r\n \"id\": \"mongostagevalidation0120-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://mongostagevalidation0120-eastus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"failoverPolicies\": [\r\n {\r\n \"id\": \"mongostagevalidation0120-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"failoverPriority\": 0\r\n }\r\n ],\r\n \"cors\": [],\r\n \"capabilities\": [\r\n {\r\n \"name\": \"EnableMongo\"\r\n }\r\n ],\r\n \"ipRules\": [],\r\n \"backupPolicy\": {\r\n \"type\": \"Periodic\",\r\n \"periodicModeProperties\": {\r\n \"backupIntervalInMinutes\": 240,\r\n \"backupRetentionIntervalInHours\": 8,\r\n \"backupStorageRedundancy\": \"Geo\"\r\n }\r\n },\r\n \"networkAclBypassResourceIds\": []\r\n },\r\n \"identity\": {\r\n \"type\": \"None\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/resourceGroups/mekaushi/providers/Microsoft.DocumentDB/databaseAccounts/mongostage360120\",\r\n \"name\": \"mongostage360120\",\r\n \"location\": \"East US 2\",\r\n \"type\": \"Microsoft.DocumentDB/databaseAccounts\",\r\n \"kind\": \"MongoDB\",\r\n \"tags\": {\r\n \"defaultExperience\": \"Azure Cosmos DB for MongoDB API\",\r\n \"hidden-cosmos-mmspecial\": \"\",\r\n \"CosmosAccountType\": \"Non-Production\"\r\n },\r\n \"systemData\": {\r\n \"createdAt\": \"2021-01-20T19:38:29.6101734Z\"\r\n },\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"documentEndpoint\": \"https://mongostage360120.documents-staging.windows-ppe.net:443/\",\r\n \"mongoEndpoint\": \"https://mongostage360120.mongo.cosmos.windows-ppe.net:443/\",\r\n \"publicNetworkAccess\": \"Enabled\",\r\n \"enableAutomaticFailover\": false,\r\n \"enableMultipleWriteLocations\": false,\r\n \"enablePartitionKeyMonitor\": false,\r\n \"isVirtualNetworkFilterEnabled\": false,\r\n \"virtualNetworkRules\": [],\r\n \"EnabledApiTypes\": \"MongoDB\",\r\n \"disableKeyBasedMetadataWriteAccess\": false,\r\n \"enableFreeTier\": false,\r\n \"enableAnalyticalStorage\": false,\r\n \"analyticalStorageConfiguration\": null,\r\n \"instanceId\": \"acf7cb86-2412-47e3-a6dd-a82c656bfa3a\",\r\n \"createMode\": \"Default\",\r\n \"databaseAccountOfferType\": \"Standard\",\r\n \"enableCassandraConnector\": false,\r\n \"connectorOffer\": \"\",\r\n \"defaultIdentity\": \"\",\r\n \"networkAclBypass\": \"None\",\r\n \"consistencyPolicy\": {\r\n \"defaultConsistencyLevel\": \"Session\",\r\n \"maxIntervalInSeconds\": 5,\r\n \"maxStalenessPrefix\": 100\r\n },\r\n \"apiProperties\": {\r\n \"serverVersion\": \"3.6\"\r\n },\r\n \"configurationOverrides\": {\r\n \"EnableBsonSchema\": \"True\"\r\n },\r\n \"writeLocations\": [\r\n {\r\n \"id\": \"mongostage360120-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://mongostage360120-eastus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"readLocations\": [\r\n {\r\n \"id\": \"mongostage360120-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://mongostage360120-eastus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"locations\": [\r\n {\r\n \"id\": \"mongostage360120-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://mongostage360120-eastus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"failoverPolicies\": [\r\n {\r\n \"id\": \"mongostage360120-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"failoverPriority\": 0\r\n }\r\n ],\r\n \"cors\": [],\r\n \"capabilities\": [\r\n {\r\n \"name\": \"EnableMongo\"\r\n },\r\n {\r\n \"name\": \"DisableRateLimitingResponses\"\r\n }\r\n ],\r\n \"ipRules\": [],\r\n \"backupPolicy\": {\r\n \"type\": \"Periodic\",\r\n \"periodicModeProperties\": {\r\n \"backupIntervalInMinutes\": 240,\r\n \"backupRetentionIntervalInHours\": 8,\r\n \"backupStorageRedundancy\": \"Geo\"\r\n }\r\n },\r\n \"networkAclBypassResourceIds\": []\r\n },\r\n \"identity\": {\r\n \"type\": \"None\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/resourceGroups/shreystagetest/providers/Microsoft.DocumentDB/databaseAccounts/shreystagetest1\",\r\n \"name\": \"shreystagetest1\",\r\n \"location\": \"East US 2\",\r\n \"type\": \"Microsoft.DocumentDB/databaseAccounts\",\r\n \"kind\": \"GlobalDocumentDB\",\r\n \"tags\": {\r\n \"defaultExperience\": \"Core (SQL)\",\r\n \"hidden-cosmos-mmspecial\": \"\",\r\n \"CosmosAccountType\": \"Non-Production\"\r\n },\r\n \"systemData\": {\r\n \"createdAt\": \"2021-01-20T19:41:28.6998319Z\"\r\n },\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"documentEndpoint\": \"https://shreystagetest1.documents-staging.windows-ppe.net:443/\",\r\n \"publicNetworkAccess\": \"Enabled\",\r\n \"enableAutomaticFailover\": false,\r\n \"enableMultipleWriteLocations\": false,\r\n \"enablePartitionKeyMonitor\": false,\r\n \"isVirtualNetworkFilterEnabled\": false,\r\n \"virtualNetworkRules\": [],\r\n \"EnabledApiTypes\": \"Sql\",\r\n \"disableKeyBasedMetadataWriteAccess\": false,\r\n \"enableFreeTier\": false,\r\n \"enableAnalyticalStorage\": false,\r\n \"analyticalStorageConfiguration\": null,\r\n \"instanceId\": \"abe98c9b-bf84-4b8d-8eb4-c50b076edee1\",\r\n \"createMode\": \"Default\",\r\n \"databaseAccountOfferType\": \"Standard\",\r\n \"enableCassandraConnector\": false,\r\n \"connectorOffer\": \"\",\r\n \"defaultIdentity\": \"\",\r\n \"networkAclBypass\": \"None\",\r\n \"consistencyPolicy\": {\r\n \"defaultConsistencyLevel\": \"Session\",\r\n \"maxIntervalInSeconds\": 5,\r\n \"maxStalenessPrefix\": 100\r\n },\r\n \"configurationOverrides\": {},\r\n \"writeLocations\": [\r\n {\r\n \"id\": \"shreystagetest1-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://shreystagetest1-eastus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"readLocations\": [\r\n {\r\n \"id\": \"shreystagetest1-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://shreystagetest1-eastus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"locations\": [\r\n {\r\n \"id\": \"shreystagetest1-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://shreystagetest1-eastus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"failoverPolicies\": [\r\n {\r\n \"id\": \"shreystagetest1-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"failoverPriority\": 0\r\n }\r\n ],\r\n \"cors\": [],\r\n \"capabilities\": [],\r\n \"ipRules\": [],\r\n \"backupPolicy\": {\r\n \"type\": \"Periodic\",\r\n \"periodicModeProperties\": {\r\n \"backupIntervalInMinutes\": 240,\r\n \"backupRetentionIntervalInHours\": 8,\r\n \"backupStorageRedundancy\": \"Geo\"\r\n }\r\n },\r\n \"networkAclBypassResourceIds\": []\r\n },\r\n \"identity\": {\r\n \"type\": \"None\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/resourceGroups/mekaushi/providers/Microsoft.DocumentDB/databaseAccounts/testmongoaccount32stage\",\r\n \"name\": \"testmongoaccount32stage\",\r\n \"location\": \"East US 2\",\r\n \"type\": \"Microsoft.DocumentDB/databaseAccounts\",\r\n \"kind\": \"MongoDB\",\r\n \"tags\": {\r\n \"defaultExperience\": \"Azure Cosmos DB for MongoDB API\",\r\n \"hidden-cosmos-mmspecial\": \"\",\r\n \"CosmosAccountType\": \"Non-Production\"\r\n },\r\n \"systemData\": {\r\n \"createdAt\": \"2021-01-20T20:21:26.0548848Z\"\r\n },\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"documentEndpoint\": \"https://testmongoaccount32stage.documents-staging.windows-ppe.net:443/\",\r\n \"mongoEndpoint\": \"https://testmongoaccount32stage.mongo.cosmos.windows-ppe.net:443/\",\r\n \"publicNetworkAccess\": \"Enabled\",\r\n \"enableAutomaticFailover\": false,\r\n \"enableMultipleWriteLocations\": false,\r\n \"enablePartitionKeyMonitor\": false,\r\n \"isVirtualNetworkFilterEnabled\": false,\r\n \"virtualNetworkRules\": [],\r\n \"EnabledApiTypes\": \"MongoDB\",\r\n \"disableKeyBasedMetadataWriteAccess\": false,\r\n \"enableFreeTier\": false,\r\n \"enableAnalyticalStorage\": false,\r\n \"analyticalStorageConfiguration\": null,\r\n \"instanceId\": \"5df12441-3a92-4488-b6bb-ba9313dd399e\",\r\n \"createMode\": \"Default\",\r\n \"databaseAccountOfferType\": \"Standard\",\r\n \"enableCassandraConnector\": false,\r\n \"connectorOffer\": \"\",\r\n \"defaultIdentity\": \"\",\r\n \"networkAclBypass\": \"None\",\r\n \"consistencyPolicy\": {\r\n \"defaultConsistencyLevel\": \"Session\",\r\n \"maxIntervalInSeconds\": 5,\r\n \"maxStalenessPrefix\": 100\r\n },\r\n \"apiProperties\": {\r\n \"serverVersion\": \"3.6\"\r\n },\r\n \"configurationOverrides\": {\r\n \"EnableBsonSchema\": \"True\"\r\n },\r\n \"writeLocations\": [\r\n {\r\n \"id\": \"testmongoaccount32stage-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://testmongoaccount32stage-eastus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"readLocations\": [\r\n {\r\n \"id\": \"testmongoaccount32stage-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://testmongoaccount32stage-eastus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"locations\": [\r\n {\r\n \"id\": \"testmongoaccount32stage-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://testmongoaccount32stage-eastus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"failoverPolicies\": [\r\n {\r\n \"id\": \"testmongoaccount32stage-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"failoverPriority\": 0\r\n }\r\n ],\r\n \"cors\": [],\r\n \"capabilities\": [\r\n {\r\n \"name\": \"EnableMongo\"\r\n }\r\n ],\r\n \"ipRules\": [],\r\n \"backupPolicy\": {\r\n \"type\": \"Periodic\",\r\n \"periodicModeProperties\": {\r\n \"backupIntervalInMinutes\": 240,\r\n \"backupRetentionIntervalInHours\": 8,\r\n \"backupStorageRedundancy\": \"Geo\"\r\n }\r\n },\r\n \"networkAclBypassResourceIds\": []\r\n },\r\n \"identity\": {\r\n \"type\": \"None\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/resourceGroups/ccxstagevalidationrg/providers/Microsoft.DocumentDB/databaseAccounts/ccxteststagesignoff\",\r\n \"name\": \"ccxteststagesignoff\",\r\n \"location\": \"East US 2\",\r\n \"type\": \"Microsoft.DocumentDB/databaseAccounts\",\r\n \"kind\": \"GlobalDocumentDB\",\r\n \"tags\": {\r\n \"defaultExperience\": \"Cassandra\",\r\n \"hidden-cosmos-mmspecial\": \"\",\r\n \"CosmosAccountType\": \"Non-Production\"\r\n },\r\n \"systemData\": {\r\n \"createdAt\": \"2021-01-21T14:24:57.0107597Z\"\r\n },\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"documentEndpoint\": \"https://ccxteststagesignoff.documents-staging.windows-ppe.net:443/\",\r\n \"cassandraEndpoint\": \"https://ccxteststagesignoff.cassandra.cosmos.windows-ppe.net:443/\",\r\n \"publicNetworkAccess\": \"Enabled\",\r\n \"enableAutomaticFailover\": false,\r\n \"enableMultipleWriteLocations\": false,\r\n \"enablePartitionKeyMonitor\": false,\r\n \"isVirtualNetworkFilterEnabled\": false,\r\n \"virtualNetworkRules\": [],\r\n \"EnabledApiTypes\": \"Cassandra\",\r\n \"disableKeyBasedMetadataWriteAccess\": false,\r\n \"enableFreeTier\": false,\r\n \"enableAnalyticalStorage\": false,\r\n \"analyticalStorageConfiguration\": null,\r\n \"instanceId\": \"6d831b36-0bcf-44cd-b47b-f99c3ab11d9c\",\r\n \"createMode\": \"Default\",\r\n \"databaseAccountOfferType\": \"Standard\",\r\n \"enableCassandraConnector\": false,\r\n \"connectorOffer\": \"\",\r\n \"defaultIdentity\": \"\",\r\n \"networkAclBypass\": \"None\",\r\n \"consistencyPolicy\": {\r\n \"defaultConsistencyLevel\": \"Session\",\r\n \"maxIntervalInSeconds\": 5,\r\n \"maxStalenessPrefix\": 100\r\n },\r\n \"configurationOverrides\": {},\r\n \"writeLocations\": [\r\n {\r\n \"id\": \"ccxteststagesignoff-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://ccxteststagesignoff-eastus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"readLocations\": [\r\n {\r\n \"id\": \"ccxteststagesignoff-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://ccxteststagesignoff-eastus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"locations\": [\r\n {\r\n \"id\": \"ccxteststagesignoff-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://ccxteststagesignoff-eastus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"failoverPolicies\": [\r\n {\r\n \"id\": \"ccxteststagesignoff-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"failoverPriority\": 0\r\n }\r\n ],\r\n \"cors\": [],\r\n \"capabilities\": [\r\n {\r\n \"name\": \"EnableCassandra\"\r\n }\r\n ],\r\n \"ipRules\": [],\r\n \"backupPolicy\": {\r\n \"type\": \"Periodic\",\r\n \"periodicModeProperties\": {\r\n \"backupIntervalInMinutes\": 240,\r\n \"backupRetentionIntervalInHours\": 8,\r\n \"backupStorageRedundancy\": \"Geo\"\r\n }\r\n },\r\n \"networkAclBypassResourceIds\": []\r\n },\r\n \"identity\": {\r\n \"type\": \"None\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/resourceGroups/mekaushi/providers/Microsoft.DocumentDB/databaseAccounts/mekaushi-stage0125\",\r\n \"name\": \"mekaushi-stage0125\",\r\n \"location\": \"East US 2\",\r\n \"type\": \"Microsoft.DocumentDB/databaseAccounts\",\r\n \"kind\": \"MongoDB\",\r\n \"tags\": {\r\n \"defaultExperience\": \"Azure Cosmos DB for MongoDB API\",\r\n \"hidden-cosmos-mmspecial\": \"\",\r\n \"CosmosAccountType\": \"Non-Production\"\r\n },\r\n \"systemData\": {\r\n \"createdAt\": \"2021-01-25T23:21:48.7752496Z\"\r\n },\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"documentEndpoint\": \"https://mekaushi-stage0125.documents-staging.windows-ppe.net:443/\",\r\n \"publicNetworkAccess\": \"Enabled\",\r\n \"enableAutomaticFailover\": false,\r\n \"enableMultipleWriteLocations\": false,\r\n \"enablePartitionKeyMonitor\": false,\r\n \"isVirtualNetworkFilterEnabled\": false,\r\n \"virtualNetworkRules\": [],\r\n \"EnabledApiTypes\": \"MongoDB\",\r\n \"disableKeyBasedMetadataWriteAccess\": false,\r\n \"enableFreeTier\": false,\r\n \"enableAnalyticalStorage\": false,\r\n \"analyticalStorageConfiguration\": null,\r\n \"instanceId\": \"5f934eae-2a90-425c-a144-770fc0f17da6\",\r\n \"createMode\": \"Default\",\r\n \"databaseAccountOfferType\": \"Standard\",\r\n \"enableCassandraConnector\": false,\r\n \"connectorOffer\": \"\",\r\n \"defaultIdentity\": \"\",\r\n \"networkAclBypass\": \"None\",\r\n \"consistencyPolicy\": {\r\n \"defaultConsistencyLevel\": \"Session\",\r\n \"maxIntervalInSeconds\": 5,\r\n \"maxStalenessPrefix\": 100\r\n },\r\n \"apiProperties\": {\r\n \"serverVersion\": \"3.2\"\r\n },\r\n \"configurationOverrides\": {\r\n \"EnableBsonSchema\": \"True\"\r\n },\r\n \"writeLocations\": [\r\n {\r\n \"id\": \"mekaushi-stage0125-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://mekaushi-stage0125-eastus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"readLocations\": [\r\n {\r\n \"id\": \"mekaushi-stage0125-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://mekaushi-stage0125-eastus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"locations\": [\r\n {\r\n \"id\": \"mekaushi-stage0125-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://mekaushi-stage0125-eastus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"failoverPolicies\": [\r\n {\r\n \"id\": \"mekaushi-stage0125-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"failoverPriority\": 0\r\n }\r\n ],\r\n \"cors\": [],\r\n \"capabilities\": [],\r\n \"ipRules\": [],\r\n \"backupPolicy\": {\r\n \"type\": \"Periodic\",\r\n \"periodicModeProperties\": {\r\n \"backupIntervalInMinutes\": 240,\r\n \"backupRetentionIntervalInHours\": 8,\r\n \"backupStorageRedundancy\": \"Geo\"\r\n }\r\n },\r\n \"networkAclBypassResourceIds\": []\r\n },\r\n \"identity\": {\r\n \"type\": \"None\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/resourceGroups/CANARY/providers/Microsoft.DocumentDB/databaseAccounts/canary-stageeastus2fd4-sqlx\",\r\n \"name\": \"canary-stageeastus2fd4-sqlx\",\r\n \"location\": \"East US 2\",\r\n \"type\": \"Microsoft.DocumentDB/databaseAccounts\",\r\n \"kind\": \"GlobalDocumentDB\",\r\n \"tags\": {},\r\n \"systemData\": {\r\n \"createdAt\": \"2021-01-27T22:13:50.556868Z\"\r\n },\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"documentEndpoint\": \"https://canary-stageeastus2fd4-sqlx.documents-staging.windows-ppe.net:443/\",\r\n \"publicNetworkAccess\": \"Enabled\",\r\n \"enableAutomaticFailover\": false,\r\n \"enableMultipleWriteLocations\": false,\r\n \"enablePartitionKeyMonitor\": false,\r\n \"isVirtualNetworkFilterEnabled\": false,\r\n \"virtualNetworkRules\": [],\r\n \"EnabledApiTypes\": \"Sql\",\r\n \"disableKeyBasedMetadataWriteAccess\": false,\r\n \"enableFreeTier\": false,\r\n \"enableAnalyticalStorage\": false,\r\n \"analyticalStorageConfiguration\": null,\r\n \"instanceId\": \"cfd45293-fdec-486b-bb4b-5fc97fb06041\",\r\n \"createMode\": \"Default\",\r\n \"databaseAccountOfferType\": \"Standard\",\r\n \"defaultIdentity\": \"\",\r\n \"networkAclBypass\": \"None\",\r\n \"consistencyPolicy\": {\r\n \"defaultConsistencyLevel\": \"Session\",\r\n \"maxIntervalInSeconds\": 5,\r\n \"maxStalenessPrefix\": 100\r\n },\r\n \"configurationOverrides\": {},\r\n \"writeLocations\": [\r\n {\r\n \"id\": \"canary-stageeastus2fd4-sqlx-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://canary-stageeastus2fd4-sqlx-eastus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"readLocations\": [\r\n {\r\n \"id\": \"canary-stageeastus2fd4-sqlx-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://canary-stageeastus2fd4-sqlx-eastus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"locations\": [\r\n {\r\n \"id\": \"canary-stageeastus2fd4-sqlx-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://canary-stageeastus2fd4-sqlx-eastus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"failoverPolicies\": [\r\n {\r\n \"id\": \"canary-stageeastus2fd4-sqlx-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"failoverPriority\": 0\r\n }\r\n ],\r\n \"cors\": [],\r\n \"capabilities\": [\r\n {\r\n \"name\": \"EnableSqlx\"\r\n }\r\n ],\r\n \"ipRules\": [],\r\n \"backupPolicy\": {\r\n \"type\": \"Periodic\",\r\n \"periodicModeProperties\": {\r\n \"backupIntervalInMinutes\": 240,\r\n \"backupRetentionIntervalInHours\": 8,\r\n \"backupStorageRedundancy\": \"Geo\"\r\n }\r\n },\r\n \"networkAclBypassResourceIds\": []\r\n },\r\n \"identity\": {\r\n \"type\": \"None\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/resourceGroups/CANARY/providers/Microsoft.DocumentDB/databaseAccounts/canary-stageeastus2fd5-sqlx\",\r\n \"name\": \"canary-stageeastus2fd5-sqlx\",\r\n \"location\": \"East US 2\",\r\n \"type\": \"Microsoft.DocumentDB/databaseAccounts\",\r\n \"kind\": \"GlobalDocumentDB\",\r\n \"tags\": {},\r\n \"systemData\": {\r\n \"createdAt\": \"2021-01-27T23:58:03.8477755Z\"\r\n },\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"documentEndpoint\": \"https://canary-stageeastus2fd5-sqlx.documents-staging.windows-ppe.net:443/\",\r\n \"publicNetworkAccess\": \"Enabled\",\r\n \"enableAutomaticFailover\": false,\r\n \"enableMultipleWriteLocations\": false,\r\n \"enablePartitionKeyMonitor\": false,\r\n \"isVirtualNetworkFilterEnabled\": false,\r\n \"virtualNetworkRules\": [],\r\n \"EnabledApiTypes\": \"Sql\",\r\n \"disableKeyBasedMetadataWriteAccess\": false,\r\n \"enableFreeTier\": false,\r\n \"enableAnalyticalStorage\": false,\r\n \"analyticalStorageConfiguration\": null,\r\n \"instanceId\": \"1978addb-0520-4004-97cf-abf83490dad1\",\r\n \"createMode\": \"Default\",\r\n \"databaseAccountOfferType\": \"Standard\",\r\n \"defaultIdentity\": \"\",\r\n \"networkAclBypass\": \"None\",\r\n \"consistencyPolicy\": {\r\n \"defaultConsistencyLevel\": \"Session\",\r\n \"maxIntervalInSeconds\": 5,\r\n \"maxStalenessPrefix\": 100\r\n },\r\n \"configurationOverrides\": {},\r\n \"writeLocations\": [\r\n {\r\n \"id\": \"canary-stageeastus2fd5-sqlx-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://canary-stageeastus2fd5-sqlx-eastus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"readLocations\": [\r\n {\r\n \"id\": \"canary-stageeastus2fd5-sqlx-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://canary-stageeastus2fd5-sqlx-eastus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"locations\": [\r\n {\r\n \"id\": \"canary-stageeastus2fd5-sqlx-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://canary-stageeastus2fd5-sqlx-eastus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"failoverPolicies\": [\r\n {\r\n \"id\": \"canary-stageeastus2fd5-sqlx-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"failoverPriority\": 0\r\n }\r\n ],\r\n \"cors\": [],\r\n \"capabilities\": [\r\n {\r\n \"name\": \"EnableSqlx\"\r\n }\r\n ],\r\n \"ipRules\": [],\r\n \"backupPolicy\": {\r\n \"type\": \"Periodic\",\r\n \"periodicModeProperties\": {\r\n \"backupIntervalInMinutes\": 240,\r\n \"backupRetentionIntervalInHours\": 8,\r\n \"backupStorageRedundancy\": \"Geo\"\r\n }\r\n },\r\n \"networkAclBypassResourceIds\": []\r\n },\r\n \"identity\": {\r\n \"type\": \"None\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/resourceGroups/CANARY/providers/Microsoft.DocumentDB/databaseAccounts/canary-stageeastus2fd6-sqlx\",\r\n \"name\": \"canary-stageeastus2fd6-sqlx\",\r\n \"location\": \"East US 2\",\r\n \"type\": \"Microsoft.DocumentDB/databaseAccounts\",\r\n \"kind\": \"GlobalDocumentDB\",\r\n \"tags\": {},\r\n \"systemData\": {\r\n \"createdAt\": \"2021-01-28T18:45:43.6929006Z\"\r\n },\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"documentEndpoint\": \"https://canary-stageeastus2fd6-sqlx.documents-staging.windows-ppe.net:443/\",\r\n \"publicNetworkAccess\": \"Enabled\",\r\n \"enableAutomaticFailover\": false,\r\n \"enableMultipleWriteLocations\": false,\r\n \"enablePartitionKeyMonitor\": false,\r\n \"isVirtualNetworkFilterEnabled\": false,\r\n \"virtualNetworkRules\": [],\r\n \"EnabledApiTypes\": \"Sql\",\r\n \"disableKeyBasedMetadataWriteAccess\": false,\r\n \"enableFreeTier\": false,\r\n \"enableAnalyticalStorage\": false,\r\n \"analyticalStorageConfiguration\": null,\r\n \"instanceId\": \"a7af4aba-906c-4463-bef6-65017ee6ab3b\",\r\n \"createMode\": \"Default\",\r\n \"databaseAccountOfferType\": \"Standard\",\r\n \"defaultIdentity\": \"\",\r\n \"networkAclBypass\": \"None\",\r\n \"consistencyPolicy\": {\r\n \"defaultConsistencyLevel\": \"Session\",\r\n \"maxIntervalInSeconds\": 5,\r\n \"maxStalenessPrefix\": 100\r\n },\r\n \"configurationOverrides\": {},\r\n \"writeLocations\": [\r\n {\r\n \"id\": \"canary-stageeastus2fd6-sqlx-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://canary-stageeastus2fd6-sqlx-eastus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"readLocations\": [\r\n {\r\n \"id\": \"canary-stageeastus2fd6-sqlx-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://canary-stageeastus2fd6-sqlx-eastus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"locations\": [\r\n {\r\n \"id\": \"canary-stageeastus2fd6-sqlx-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://canary-stageeastus2fd6-sqlx-eastus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"failoverPolicies\": [\r\n {\r\n \"id\": \"canary-stageeastus2fd6-sqlx-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"failoverPriority\": 0\r\n }\r\n ],\r\n \"cors\": [],\r\n \"capabilities\": [\r\n {\r\n \"name\": \"EnableSqlx\"\r\n }\r\n ],\r\n \"ipRules\": [],\r\n \"backupPolicy\": {\r\n \"type\": \"Periodic\",\r\n \"periodicModeProperties\": {\r\n \"backupIntervalInMinutes\": 240,\r\n \"backupRetentionIntervalInHours\": 8,\r\n \"backupStorageRedundancy\": \"Geo\"\r\n }\r\n },\r\n \"networkAclBypassResourceIds\": []\r\n },\r\n \"identity\": {\r\n \"type\": \"None\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/resourceGroups/sachimplacementhint/providers/Microsoft.DocumentDB/databaseAccounts/placementhintcosmosdb\",\r\n \"name\": \"placementhintcosmosdb\",\r\n \"location\": \"East US 2\",\r\n \"type\": \"Microsoft.DocumentDB/databaseAccounts\",\r\n \"kind\": \"GlobalDocumentDB\",\r\n \"tags\": {\r\n \"defaultExperience\": \"Core (SQL)\",\r\n \"hidden-cosmos-mmspecial\": \"\",\r\n \"CosmosAccountType\": \"Non-Production\"\r\n },\r\n \"systemData\": {\r\n \"createdAt\": \"2021-01-28T19:57:53.7083463Z\"\r\n },\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"documentEndpoint\": \"https://placementhintcosmosdb.documents-staging.windows-ppe.net:443/\",\r\n \"publicNetworkAccess\": \"Enabled\",\r\n \"enableAutomaticFailover\": false,\r\n \"enableMultipleWriteLocations\": false,\r\n \"enablePartitionKeyMonitor\": false,\r\n \"isVirtualNetworkFilterEnabled\": false,\r\n \"virtualNetworkRules\": [],\r\n \"EnabledApiTypes\": \"Sql\",\r\n \"disableKeyBasedMetadataWriteAccess\": false,\r\n \"enableFreeTier\": false,\r\n \"enableAnalyticalStorage\": false,\r\n \"analyticalStorageConfiguration\": null,\r\n \"instanceId\": \"9922c594-4816-4e93-8f06-02a92896734b\",\r\n \"createMode\": \"Default\",\r\n \"databaseAccountOfferType\": \"Standard\",\r\n \"enableCassandraConnector\": false,\r\n \"connectorOffer\": \"\",\r\n \"defaultIdentity\": \"\",\r\n \"networkAclBypass\": \"None\",\r\n \"consistencyPolicy\": {\r\n \"defaultConsistencyLevel\": \"Session\",\r\n \"maxIntervalInSeconds\": 5,\r\n \"maxStalenessPrefix\": 100\r\n },\r\n \"configurationOverrides\": {},\r\n \"writeLocations\": [\r\n {\r\n \"id\": \"placementhintcosmosdb-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://placementhintcosmosdb-eastus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"readLocations\": [\r\n {\r\n \"id\": \"placementhintcosmosdb-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://placementhintcosmosdb-eastus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"locations\": [\r\n {\r\n \"id\": \"placementhintcosmosdb-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://placementhintcosmosdb-eastus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"failoverPolicies\": [\r\n {\r\n \"id\": \"placementhintcosmosdb-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"failoverPriority\": 0\r\n }\r\n ],\r\n \"cors\": [],\r\n \"capabilities\": [],\r\n \"ipRules\": [],\r\n \"backupPolicy\": {\r\n \"type\": \"Periodic\",\r\n \"periodicModeProperties\": {\r\n \"backupIntervalInMinutes\": 240,\r\n \"backupRetentionIntervalInHours\": 8,\r\n \"backupStorageRedundancy\": \"Geo\"\r\n }\r\n },\r\n \"networkAclBypassResourceIds\": []\r\n },\r\n \"identity\": {\r\n \"type\": \"None\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/resourceGroups/sdk-ci/providers/Microsoft.DocumentDB/databaseAccounts/java-v4-sdk-signoff\",\r\n \"name\": \"java-v4-sdk-signoff\",\r\n \"location\": \"East US 2\",\r\n \"type\": \"Microsoft.DocumentDB/databaseAccounts\",\r\n \"kind\": \"GlobalDocumentDB\",\r\n \"tags\": {\r\n \"defaultExperience\": \"Core (SQL)\",\r\n \"hidden-cosmos-mmspecial\": \"\",\r\n \"CosmosAccountType\": \"Non-Production\"\r\n },\r\n \"systemData\": {\r\n \"createdAt\": \"2021-02-01T19:22:47.4913463Z\"\r\n },\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"documentEndpoint\": \"https://java-v4-sdk-signoff.documents-staging.windows-ppe.net:443/\",\r\n \"publicNetworkAccess\": \"Enabled\",\r\n \"enableAutomaticFailover\": false,\r\n \"enableMultipleWriteLocations\": false,\r\n \"enablePartitionKeyMonitor\": false,\r\n \"isVirtualNetworkFilterEnabled\": false,\r\n \"virtualNetworkRules\": [],\r\n \"EnabledApiTypes\": \"Sql\",\r\n \"disableKeyBasedMetadataWriteAccess\": false,\r\n \"enableFreeTier\": false,\r\n \"enableAnalyticalStorage\": false,\r\n \"analyticalStorageConfiguration\": null,\r\n \"instanceId\": \"54bbaba3-b104-472d-8c0f-bb994dfbb6db\",\r\n \"createMode\": \"Default\",\r\n \"databaseAccountOfferType\": \"Standard\",\r\n \"enableCassandraConnector\": false,\r\n \"connectorOffer\": \"\",\r\n \"defaultIdentity\": \"\",\r\n \"networkAclBypass\": \"None\",\r\n \"consistencyPolicy\": {\r\n \"defaultConsistencyLevel\": \"Strong\",\r\n \"maxIntervalInSeconds\": 5,\r\n \"maxStalenessPrefix\": 100\r\n },\r\n \"configurationOverrides\": {},\r\n \"writeLocations\": [\r\n {\r\n \"id\": \"java-v4-sdk-signoff-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://java-v4-sdk-signoff-eastus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"readLocations\": [\r\n {\r\n \"id\": \"java-v4-sdk-signoff-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://java-v4-sdk-signoff-eastus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"locations\": [\r\n {\r\n \"id\": \"java-v4-sdk-signoff-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://java-v4-sdk-signoff-eastus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"failoverPolicies\": [\r\n {\r\n \"id\": \"java-v4-sdk-signoff-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"failoverPriority\": 0\r\n }\r\n ],\r\n \"cors\": [],\r\n \"capabilities\": [],\r\n \"ipRules\": [],\r\n \"backupPolicy\": {\r\n \"type\": \"Periodic\",\r\n \"periodicModeProperties\": {\r\n \"backupIntervalInMinutes\": 240,\r\n \"backupRetentionIntervalInHours\": 8,\r\n \"backupStorageRedundancy\": \"Geo\"\r\n }\r\n },\r\n \"networkAclBypassResourceIds\": []\r\n },\r\n \"identity\": {\r\n \"type\": \"None\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/resourceGroups/fnbalaji-stage-signoff/providers/Microsoft.DocumentDB/databaseAccounts/fnbalaji-stage-sign-off-eastus2\",\r\n \"name\": \"fnbalaji-stage-sign-off-eastus2\",\r\n \"location\": \"East US 2\",\r\n \"type\": \"Microsoft.DocumentDB/databaseAccounts\",\r\n \"kind\": \"GlobalDocumentDB\",\r\n \"tags\": {\r\n \"defaultExperience\": \"Core (SQL)\",\r\n \"hidden-cosmos-mmspecial\": \"\",\r\n \"CosmosAccountType\": \"Non-Production\"\r\n },\r\n \"systemData\": {\r\n \"createdAt\": \"2021-02-03T04:04:38.8739575Z\"\r\n },\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"documentEndpoint\": \"https://fnbalaji-stage-sign-off-eastus2.documents-staging.windows-ppe.net:443/\",\r\n \"publicNetworkAccess\": \"Enabled\",\r\n \"enableAutomaticFailover\": false,\r\n \"enableMultipleWriteLocations\": false,\r\n \"enablePartitionKeyMonitor\": false,\r\n \"isVirtualNetworkFilterEnabled\": false,\r\n \"virtualNetworkRules\": [],\r\n \"EnabledApiTypes\": \"Sql\",\r\n \"disableKeyBasedMetadataWriteAccess\": false,\r\n \"enableFreeTier\": false,\r\n \"enableAnalyticalStorage\": false,\r\n \"analyticalStorageConfiguration\": null,\r\n \"instanceId\": \"ad2cdbeb-7050-481e-b89f-3041cba78662\",\r\n \"createMode\": \"Default\",\r\n \"databaseAccountOfferType\": \"Standard\",\r\n \"enableCassandraConnector\": false,\r\n \"connectorOffer\": \"\",\r\n \"defaultIdentity\": \"\",\r\n \"networkAclBypass\": \"None\",\r\n \"consistencyPolicy\": {\r\n \"defaultConsistencyLevel\": \"Session\",\r\n \"maxIntervalInSeconds\": 5,\r\n \"maxStalenessPrefix\": 100\r\n },\r\n \"configurationOverrides\": {},\r\n \"writeLocations\": [\r\n {\r\n \"id\": \"fnbalaji-stage-sign-off-eastus2-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://fnbalaji-stage-sign-off-eastus2-eastus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"readLocations\": [\r\n {\r\n \"id\": \"fnbalaji-stage-sign-off-eastus2-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://fnbalaji-stage-sign-off-eastus2-eastus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"locations\": [\r\n {\r\n \"id\": \"fnbalaji-stage-sign-off-eastus2-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://fnbalaji-stage-sign-off-eastus2-eastus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"failoverPolicies\": [\r\n {\r\n \"id\": \"fnbalaji-stage-sign-off-eastus2-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"failoverPriority\": 0\r\n }\r\n ],\r\n \"cors\": [],\r\n \"capabilities\": [],\r\n \"ipRules\": [],\r\n \"backupPolicy\": {\r\n \"type\": \"Periodic\",\r\n \"periodicModeProperties\": {\r\n \"backupIntervalInMinutes\": 240,\r\n \"backupRetentionIntervalInHours\": 8,\r\n \"backupStorageRedundancy\": \"Geo\"\r\n }\r\n },\r\n \"networkAclBypassResourceIds\": []\r\n },\r\n \"identity\": {\r\n \"type\": \"None\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/resourceGroups/CosmosDBResourceGroup1450/providers/Microsoft.DocumentDB/databaseAccounts/accountname495\",\r\n \"name\": \"accountname495\",\r\n \"location\": \"East US 2\",\r\n \"type\": \"Microsoft.DocumentDB/databaseAccounts\",\r\n \"kind\": \"MongoDB\",\r\n \"tags\": {\r\n \"key3\": \"value3\",\r\n \"key4\": \"value4\"\r\n },\r\n \"systemData\": {\r\n \"createdAt\": \"2021-02-03T19:08:37.8715072Z\"\r\n },\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"documentEndpoint\": \"https://accountname495.documents-staging.windows-ppe.net:443/\",\r\n \"mongoEndpoint\": \"https://accountname495.mongo.cosmos.windows-ppe.net:443/\",\r\n \"publicNetworkAccess\": \"Enabled\",\r\n \"enableAutomaticFailover\": true,\r\n \"enableMultipleWriteLocations\": true,\r\n \"enablePartitionKeyMonitor\": false,\r\n \"isVirtualNetworkFilterEnabled\": false,\r\n \"virtualNetworkRules\": [],\r\n \"EnabledApiTypes\": \"MongoDB\",\r\n \"disableKeyBasedMetadataWriteAccess\": true,\r\n \"enableFreeTier\": false,\r\n \"enableAnalyticalStorage\": false,\r\n \"analyticalStorageConfiguration\": null,\r\n \"instanceId\": \"f8a8da88-e9cc-4b79-b77f-5314e4c291f8\",\r\n \"createMode\": \"Default\",\r\n \"databaseAccountOfferType\": \"Standard\",\r\n \"enableCassandraConnector\": true,\r\n \"connectorOffer\": \"Small\",\r\n \"defaultIdentity\": \"\",\r\n \"networkAclBypass\": \"None\",\r\n \"consistencyPolicy\": {\r\n \"defaultConsistencyLevel\": \"Session\",\r\n \"maxIntervalInSeconds\": 5,\r\n \"maxStalenessPrefix\": 100\r\n },\r\n \"apiProperties\": {\r\n \"serverVersion\": \"3.6\"\r\n },\r\n \"configurationOverrides\": {\r\n \"EnableBsonSchema\": \"True\"\r\n },\r\n \"writeLocations\": [\r\n {\r\n \"id\": \"accountname495-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://accountname495-eastus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"readLocations\": [\r\n {\r\n \"id\": \"accountname495-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://accountname495-eastus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"locations\": [\r\n {\r\n \"id\": \"accountname495-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://accountname495-eastus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"failoverPolicies\": [\r\n {\r\n \"id\": \"accountname495-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"failoverPriority\": 0\r\n }\r\n ],\r\n \"cors\": [],\r\n \"capabilities\": [\r\n {\r\n \"name\": \"EnableMongo\"\r\n }\r\n ],\r\n \"ipRules\": [\r\n {\r\n \"ipAddressOrRange\": \"23.43.230.120\"\r\n }\r\n ],\r\n \"backupPolicy\": {\r\n \"type\": \"Periodic\",\r\n \"periodicModeProperties\": {\r\n \"backupIntervalInMinutes\": 240,\r\n \"backupRetentionIntervalInHours\": 8,\r\n \"backupStorageRedundancy\": \"Geo\"\r\n }\r\n },\r\n \"networkAclBypassResourceIds\": []\r\n },\r\n \"identity\": {\r\n \"type\": \"None\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/resourceGroups/CosmosDBResourceGroup3668/providers/Microsoft.DocumentDB/databaseAccounts/cli124\",\r\n \"name\": \"cli124\",\r\n \"location\": \"East US 2\",\r\n \"type\": \"Microsoft.DocumentDB/databaseAccounts\",\r\n \"kind\": \"GlobalDocumentDB\",\r\n \"tags\": {},\r\n \"systemData\": {\r\n \"createdAt\": \"2021-02-03T19:07:21.5352664Z\"\r\n },\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"documentEndpoint\": \"https://cli124.documents-staging.windows-ppe.net:443/\",\r\n \"publicNetworkAccess\": \"Enabled\",\r\n \"enableAutomaticFailover\": false,\r\n \"enableMultipleWriteLocations\": false,\r\n \"enablePartitionKeyMonitor\": false,\r\n \"isVirtualNetworkFilterEnabled\": false,\r\n \"virtualNetworkRules\": [],\r\n \"EnabledApiTypes\": \"Sql\",\r\n \"disableKeyBasedMetadataWriteAccess\": false,\r\n \"enableFreeTier\": false,\r\n \"enableAnalyticalStorage\": false,\r\n \"analyticalStorageConfiguration\": null,\r\n \"instanceId\": \"53ff61db-dc59-44a5-ba3f-e5c82c0822d3\",\r\n \"createMode\": \"Default\",\r\n \"databaseAccountOfferType\": \"Standard\",\r\n \"enableCassandraConnector\": false,\r\n \"connectorOffer\": \"\",\r\n \"defaultIdentity\": \"\",\r\n \"networkAclBypass\": \"None\",\r\n \"consistencyPolicy\": {\r\n \"defaultConsistencyLevel\": \"Session\",\r\n \"maxIntervalInSeconds\": 5,\r\n \"maxStalenessPrefix\": 100\r\n },\r\n \"configurationOverrides\": {},\r\n \"writeLocations\": [\r\n {\r\n \"id\": \"cli124-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://cli124-eastus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"readLocations\": [\r\n {\r\n \"id\": \"cli124-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://cli124-eastus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"locations\": [\r\n {\r\n \"id\": \"cli124-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://cli124-eastus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"failoverPolicies\": [\r\n {\r\n \"id\": \"cli124-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"failoverPriority\": 0\r\n }\r\n ],\r\n \"cors\": [],\r\n \"capabilities\": [],\r\n \"ipRules\": [],\r\n \"backupPolicy\": {\r\n \"type\": \"Periodic\",\r\n \"periodicModeProperties\": {\r\n \"backupIntervalInMinutes\": 240,\r\n \"backupRetentionIntervalInHours\": 8,\r\n \"backupStorageRedundancy\": \"Geo\"\r\n }\r\n },\r\n \"networkAclBypassResourceIds\": []\r\n },\r\n \"identity\": {\r\n \"type\": \"None\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/resourceGroups/kakhandr-rg/providers/Microsoft.DocumentDB/databaseAccounts/pitr-unique-mode-source\",\r\n \"name\": \"pitr-unique-mode-source\",\r\n \"location\": \"East US 2\",\r\n \"type\": \"Microsoft.DocumentDB/databaseAccounts\",\r\n \"kind\": \"GlobalDocumentDB\",\r\n \"tags\": {\r\n \"defaultExperience\": \"Core (SQL)\",\r\n \"hidden-cosmos-mmspecial\": \"\",\r\n \"CosmosAccountType\": \"Non-Production\"\r\n },\r\n \"systemData\": {\r\n \"createdAt\": \"2021-02-03T19:53:24.4508018Z\"\r\n },\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"documentEndpoint\": \"https://pitr-unique-mode-source.documents-staging.windows-ppe.net:443/\",\r\n \"publicNetworkAccess\": \"Enabled\",\r\n \"enableAutomaticFailover\": false,\r\n \"enableMultipleWriteLocations\": false,\r\n \"enablePartitionKeyMonitor\": false,\r\n \"isVirtualNetworkFilterEnabled\": false,\r\n \"virtualNetworkRules\": [],\r\n \"EnabledApiTypes\": \"Sql\",\r\n \"disableKeyBasedMetadataWriteAccess\": false,\r\n \"enableFreeTier\": false,\r\n \"enableAnalyticalStorage\": false,\r\n \"analyticalStorageConfiguration\": null,\r\n \"instanceId\": \"9351dd2e-d901-465b-98cb-a74a3aabd49f\",\r\n \"createMode\": \"Default\",\r\n \"databaseAccountOfferType\": \"Standard\",\r\n \"enableCassandraConnector\": false,\r\n \"connectorOffer\": \"\",\r\n \"defaultIdentity\": \"\",\r\n \"networkAclBypass\": \"None\",\r\n \"consistencyPolicy\": {\r\n \"defaultConsistencyLevel\": \"Session\",\r\n \"maxIntervalInSeconds\": 5,\r\n \"maxStalenessPrefix\": 100\r\n },\r\n \"configurationOverrides\": {},\r\n \"writeLocations\": [\r\n {\r\n \"id\": \"pitr-unique-mode-source-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://pitr-unique-mode-source-eastus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"readLocations\": [\r\n {\r\n \"id\": \"pitr-unique-mode-source-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://pitr-unique-mode-source-eastus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"locations\": [\r\n {\r\n \"id\": \"pitr-unique-mode-source-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://pitr-unique-mode-source-eastus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"failoverPolicies\": [\r\n {\r\n \"id\": \"pitr-unique-mode-source-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"failoverPriority\": 0\r\n }\r\n ],\r\n \"cors\": [],\r\n \"capabilities\": [],\r\n \"ipRules\": [],\r\n \"backupPolicy\": {\r\n \"type\": \"Continuous\"\r\n },\r\n \"networkAclBypassResourceIds\": []\r\n },\r\n \"identity\": {\r\n \"type\": \"None\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/resourceGroups/kakhandr-rg/providers/Microsoft.DocumentDB/databaseAccounts/pitr-unique-mode-restored\",\r\n \"name\": \"pitr-unique-mode-restored\",\r\n \"location\": \"East US 2\",\r\n \"type\": \"Microsoft.DocumentDB/databaseAccounts\",\r\n \"kind\": \"GlobalDocumentDB\",\r\n \"tags\": {\r\n \"defaultExperience\": \"Core (SQL)\",\r\n \"hidden-cosmos-mmspecial\": \"\",\r\n \"CosmosAccountType\": \"Non-Production\"\r\n },\r\n \"systemData\": {\r\n \"createdAt\": \"2021-02-03T20:07:49.7514223Z\"\r\n },\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"documentEndpoint\": \"https://pitr-unique-mode-restored.documents-staging.windows-ppe.net:443/\",\r\n \"publicNetworkAccess\": \"Enabled\",\r\n \"enableAutomaticFailover\": false,\r\n \"enableMultipleWriteLocations\": false,\r\n \"enablePartitionKeyMonitor\": false,\r\n \"isVirtualNetworkFilterEnabled\": false,\r\n \"virtualNetworkRules\": [],\r\n \"EnabledApiTypes\": \"Sql\",\r\n \"disableKeyBasedMetadataWriteAccess\": false,\r\n \"enableFreeTier\": false,\r\n \"enableAnalyticalStorage\": false,\r\n \"analyticalStorageConfiguration\": null,\r\n \"instanceId\": \"222da8e2-da07-46db-9cd2-51a2efb84b9f\",\r\n \"createMode\": \"Restore\",\r\n \"databaseAccountOfferType\": \"Standard\",\r\n \"enableCassandraConnector\": false,\r\n \"defaultIdentity\": \"\",\r\n \"networkAclBypass\": \"None\",\r\n \"consistencyPolicy\": {\r\n \"defaultConsistencyLevel\": \"Session\",\r\n \"maxIntervalInSeconds\": 5,\r\n \"maxStalenessPrefix\": 100\r\n },\r\n \"configurationOverrides\": {},\r\n \"writeLocations\": [\r\n {\r\n \"id\": \"pitr-unique-mode-restored-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://pitr-unique-mode-restored-eastus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"readLocations\": [\r\n {\r\n \"id\": \"pitr-unique-mode-restored-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://pitr-unique-mode-restored-eastus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"locations\": [\r\n {\r\n \"id\": \"pitr-unique-mode-restored-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://pitr-unique-mode-restored-eastus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"failoverPolicies\": [\r\n {\r\n \"id\": \"pitr-unique-mode-restored-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"failoverPriority\": 0\r\n }\r\n ],\r\n \"cors\": [],\r\n \"capabilities\": [],\r\n \"ipRules\": [],\r\n \"backupPolicy\": {\r\n \"type\": \"Continuous\"\r\n },\r\n \"restoreParameters\": {\r\n \"restoreMode\": \"PointInTime\",\r\n \"restoreSource\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/providers/Microsoft.DocumentDB/locations/eastus2/restorableDatabaseAccounts/9351dd2e-d901-465b-98cb-a74a3aabd49f\",\r\n \"restoreTimestampInUtc\": \"2021-02-03T19:56:16Z\",\r\n \"databasesToRestore\": []\r\n },\r\n \"networkAclBypassResourceIds\": []\r\n },\r\n \"identity\": {\r\n \"type\": \"None\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/resourceGroups/ruleiRG/providers/Microsoft.DocumentDB/databaseAccounts/stage-pitr-validation-source-rulei\",\r\n \"name\": \"stage-pitr-validation-source-rulei\",\r\n \"location\": \"East US 2\",\r\n \"type\": \"Microsoft.DocumentDB/databaseAccounts\",\r\n \"kind\": \"MongoDB\",\r\n \"tags\": {\r\n \"defaultExperience\": \"Azure Cosmos DB for MongoDB API\",\r\n \"hidden-cosmos-mmspecial\": \"\",\r\n \"CosmosAccountType\": \"Non-Production\"\r\n },\r\n \"systemData\": {\r\n \"createdAt\": \"2021-02-04T19:39:55.6436193Z\"\r\n },\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"documentEndpoint\": \"https://stage-pitr-validation-source-rulei.documents-staging.windows-ppe.net:443/\",\r\n \"mongoEndpoint\": \"https://stage-pitr-validation-source-rulei.mongo.cosmos.windows-ppe.net:443/\",\r\n \"publicNetworkAccess\": \"Enabled\",\r\n \"enableAutomaticFailover\": false,\r\n \"enableMultipleWriteLocations\": true,\r\n \"enablePartitionKeyMonitor\": false,\r\n \"isVirtualNetworkFilterEnabled\": false,\r\n \"virtualNetworkRules\": [],\r\n \"EnabledApiTypes\": \"MongoDB\",\r\n \"disableKeyBasedMetadataWriteAccess\": false,\r\n \"enableFreeTier\": false,\r\n \"enableAnalyticalStorage\": false,\r\n \"analyticalStorageConfiguration\": null,\r\n \"instanceId\": \"d03dfdb8-9db2-4a5f-9f6c-40a8868d740a\",\r\n \"createMode\": \"Default\",\r\n \"databaseAccountOfferType\": \"Standard\",\r\n \"enableCassandraConnector\": false,\r\n \"connectorOffer\": \"\",\r\n \"defaultIdentity\": \"\",\r\n \"networkAclBypass\": \"None\",\r\n \"consistencyPolicy\": {\r\n \"defaultConsistencyLevel\": \"Session\",\r\n \"maxIntervalInSeconds\": 5,\r\n \"maxStalenessPrefix\": 100\r\n },\r\n \"apiProperties\": {\r\n \"serverVersion\": \"3.6\"\r\n },\r\n \"configurationOverrides\": {\r\n \"EnableBsonSchema\": \"True\"\r\n },\r\n \"writeLocations\": [\r\n {\r\n \"id\": \"stage-pitr-validation-source-rulei-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://stage-pitr-validation-source-rulei-eastus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n },\r\n {\r\n \"id\": \"stage-pitr-validation-source-rulei-westus2\",\r\n \"locationName\": \"West US 2\",\r\n \"documentEndpoint\": \"https://stage-pitr-validation-source-rulei-westus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 1,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"readLocations\": [\r\n {\r\n \"id\": \"stage-pitr-validation-source-rulei-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://stage-pitr-validation-source-rulei-eastus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n },\r\n {\r\n \"id\": \"stage-pitr-validation-source-rulei-westus2\",\r\n \"locationName\": \"West US 2\",\r\n \"documentEndpoint\": \"https://stage-pitr-validation-source-rulei-westus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 1,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"locations\": [\r\n {\r\n \"id\": \"stage-pitr-validation-source-rulei-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://stage-pitr-validation-source-rulei-eastus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n },\r\n {\r\n \"id\": \"stage-pitr-validation-source-rulei-westus2\",\r\n \"locationName\": \"West US 2\",\r\n \"documentEndpoint\": \"https://stage-pitr-validation-source-rulei-westus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 1,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"failoverPolicies\": [\r\n {\r\n \"id\": \"stage-pitr-validation-source-rulei-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"failoverPriority\": 0\r\n },\r\n {\r\n \"id\": \"stage-pitr-validation-source-rulei-westus2\",\r\n \"locationName\": \"West US 2\",\r\n \"failoverPriority\": 1\r\n }\r\n ],\r\n \"cors\": [],\r\n \"capabilities\": [\r\n {\r\n \"name\": \"EnableMongo\"\r\n },\r\n {\r\n \"name\": \"DisableRateLimitingResponses\"\r\n }\r\n ],\r\n \"ipRules\": [],\r\n \"backupPolicy\": {\r\n \"type\": \"Periodic\",\r\n \"periodicModeProperties\": {\r\n \"backupIntervalInMinutes\": 240,\r\n \"backupRetentionIntervalInHours\": 8,\r\n \"backupStorageRedundancy\": \"Geo\"\r\n }\r\n },\r\n \"networkAclBypassResourceIds\": []\r\n },\r\n \"identity\": {\r\n \"type\": \"None\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/resourceGroups/ashwsing-signoff/providers/Microsoft.DocumentDB/databaseAccounts/testmongo40\",\r\n \"name\": \"testmongo40\",\r\n \"location\": \"East US 2\",\r\n \"type\": \"Microsoft.DocumentDB/databaseAccounts\",\r\n \"kind\": \"MongoDB\",\r\n \"tags\": {\r\n \"defaultExperience\": \"Azure Cosmos DB for MongoDB API\",\r\n \"hidden-cosmos-mmspecial\": \"\",\r\n \"CosmosAccountType\": \"Production\"\r\n },\r\n \"systemData\": {\r\n \"createdAt\": \"2021-02-04T20:25:38.7529107Z\"\r\n },\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"documentEndpoint\": \"https://testmongo40.documents-staging.windows-ppe.net:443/\",\r\n \"mongoEndpoint\": \"https://testmongo40.mongo.cosmos.windows-ppe.net:443/\",\r\n \"publicNetworkAccess\": \"Enabled\",\r\n \"enableAutomaticFailover\": false,\r\n \"enableMultipleWriteLocations\": true,\r\n \"enablePartitionKeyMonitor\": false,\r\n \"isVirtualNetworkFilterEnabled\": false,\r\n \"virtualNetworkRules\": [],\r\n \"EnabledApiTypes\": \"MongoDB\",\r\n \"disableKeyBasedMetadataWriteAccess\": false,\r\n \"enableFreeTier\": false,\r\n \"enableAnalyticalStorage\": false,\r\n \"analyticalStorageConfiguration\": null,\r\n \"instanceId\": \"d9dcb808-173a-4635-b931-e5afad9ca53b\",\r\n \"createMode\": \"Default\",\r\n \"databaseAccountOfferType\": \"Standard\",\r\n \"enableCassandraConnector\": false,\r\n \"connectorOffer\": \"\",\r\n \"defaultIdentity\": \"\",\r\n \"networkAclBypass\": \"None\",\r\n \"consistencyPolicy\": {\r\n \"defaultConsistencyLevel\": \"Session\",\r\n \"maxIntervalInSeconds\": 5,\r\n \"maxStalenessPrefix\": 100\r\n },\r\n \"apiProperties\": {\r\n \"serverVersion\": \"3.6\"\r\n },\r\n \"configurationOverrides\": {\r\n \"EnableBsonSchema\": \"True\"\r\n },\r\n \"writeLocations\": [\r\n {\r\n \"id\": \"testmongo40-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://testmongo40-eastus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"readLocations\": [\r\n {\r\n \"id\": \"testmongo40-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://testmongo40-eastus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"locations\": [\r\n {\r\n \"id\": \"testmongo40-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://testmongo40-eastus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"failoverPolicies\": [\r\n {\r\n \"id\": \"testmongo40-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"failoverPriority\": 0\r\n }\r\n ],\r\n \"cors\": [],\r\n \"capabilities\": [\r\n {\r\n \"name\": \"EnableMongo\"\r\n },\r\n {\r\n \"name\": \"DisableRateLimitingResponses\"\r\n }\r\n ],\r\n \"ipRules\": [\r\n {\r\n \"ipAddressOrRange\": \"104.42.195.92\"\r\n },\r\n {\r\n \"ipAddressOrRange\": \"40.76.54.131\"\r\n },\r\n {\r\n \"ipAddressOrRange\": \"52.176.6.30\"\r\n },\r\n {\r\n \"ipAddressOrRange\": \"52.169.50.45\"\r\n },\r\n {\r\n \"ipAddressOrRange\": \"52.187.184.26\"\r\n }\r\n ],\r\n \"backupPolicy\": {\r\n \"type\": \"Periodic\",\r\n \"periodicModeProperties\": {\r\n \"backupIntervalInMinutes\": 240,\r\n \"backupRetentionIntervalInHours\": 8,\r\n \"backupStorageRedundancy\": \"Geo\"\r\n }\r\n },\r\n \"networkAclBypassResourceIds\": []\r\n },\r\n \"identity\": {\r\n \"type\": \"None\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/resourceGroups/ashwsing-signoff/providers/Microsoft.DocumentDB/databaseAccounts/test40mongo\",\r\n \"name\": \"test40mongo\",\r\n \"location\": \"East US 2\",\r\n \"type\": \"Microsoft.DocumentDB/databaseAccounts\",\r\n \"kind\": \"MongoDB\",\r\n \"tags\": {\r\n \"defaultExperience\": \"Azure Cosmos DB for MongoDB API\",\r\n \"hidden-cosmos-mmspecial\": \"\",\r\n \"CosmosAccountType\": \"Non-Production\"\r\n },\r\n \"systemData\": {\r\n \"createdAt\": \"2021-02-04T20:30:40.6419389Z\"\r\n },\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"documentEndpoint\": \"https://test40mongo.documents-staging.windows-ppe.net:443/\",\r\n \"mongoEndpoint\": \"https://test40mongo.mongo.cosmos.windows-ppe.net:443/\",\r\n \"publicNetworkAccess\": \"Enabled\",\r\n \"enableAutomaticFailover\": false,\r\n \"enableMultipleWriteLocations\": false,\r\n \"enablePartitionKeyMonitor\": false,\r\n \"isVirtualNetworkFilterEnabled\": false,\r\n \"virtualNetworkRules\": [],\r\n \"EnabledApiTypes\": \"MongoDB\",\r\n \"disableKeyBasedMetadataWriteAccess\": false,\r\n \"enableFreeTier\": false,\r\n \"enableAnalyticalStorage\": false,\r\n \"analyticalStorageConfiguration\": null,\r\n \"instanceId\": \"b04ac343-3f8e-4c17-a8dc-30bd4f9c2dc0\",\r\n \"createMode\": \"Default\",\r\n \"databaseAccountOfferType\": \"Standard\",\r\n \"enableCassandraConnector\": false,\r\n \"connectorOffer\": \"\",\r\n \"defaultIdentity\": \"\",\r\n \"networkAclBypass\": \"None\",\r\n \"consistencyPolicy\": {\r\n \"defaultConsistencyLevel\": \"Session\",\r\n \"maxIntervalInSeconds\": 5,\r\n \"maxStalenessPrefix\": 100\r\n },\r\n \"apiProperties\": {\r\n \"serverVersion\": \"4.0\"\r\n },\r\n \"configurationOverrides\": {\r\n \"EnableBsonSchema\": \"True\"\r\n },\r\n \"writeLocations\": [\r\n {\r\n \"id\": \"test40mongo-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://test40mongo-eastus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"readLocations\": [\r\n {\r\n \"id\": \"test40mongo-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://test40mongo-eastus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"locations\": [\r\n {\r\n \"id\": \"test40mongo-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://test40mongo-eastus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"failoverPolicies\": [\r\n {\r\n \"id\": \"test40mongo-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"failoverPriority\": 0\r\n }\r\n ],\r\n \"cors\": [],\r\n \"capabilities\": [\r\n {\r\n \"name\": \"EnableMongo\"\r\n },\r\n {\r\n \"name\": \"DisableRateLimitingResponses\"\r\n }\r\n ],\r\n \"ipRules\": [],\r\n \"backupPolicy\": {\r\n \"type\": \"Periodic\",\r\n \"periodicModeProperties\": {\r\n \"backupIntervalInMinutes\": 240,\r\n \"backupRetentionIntervalInHours\": 8,\r\n \"backupStorageRedundancy\": \"Geo\"\r\n }\r\n },\r\n \"networkAclBypassResourceIds\": []\r\n },\r\n \"identity\": {\r\n \"type\": \"None\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/resourceGroups/jmondal-eu2/providers/Microsoft.DocumentDB/databaseAccounts/jmondal-stg-d32\",\r\n \"name\": \"jmondal-stg-d32\",\r\n \"location\": \"East US 2\",\r\n \"type\": \"Microsoft.DocumentDB/databaseAccounts\",\r\n \"kind\": \"GlobalDocumentDB\",\r\n \"tags\": {\r\n \"defaultExperience\": \"Gremlinv2\"\r\n },\r\n \"systemData\": {\r\n \"createdAt\": \"2021-02-05T00:56:28.4386887Z\"\r\n },\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"documentEndpoint\": \"https://jmondal-stg-d32.documents-staging.windows-ppe.net:443/\",\r\n \"gremlinEndpoint\": \"https://jmondal-stg-d32.gremlin.cosmos.windows-ppe.net/\",\r\n \"publicNetworkAccess\": \"Enabled\",\r\n \"enableAutomaticFailover\": false,\r\n \"enableMultipleWriteLocations\": false,\r\n \"enablePartitionKeyMonitor\": false,\r\n \"isVirtualNetworkFilterEnabled\": false,\r\n \"virtualNetworkRules\": [],\r\n \"EnabledApiTypes\": \"GremlinV2\",\r\n \"disableKeyBasedMetadataWriteAccess\": false,\r\n \"enableFreeTier\": false,\r\n \"enableAnalyticalStorage\": false,\r\n \"analyticalStorageConfiguration\": null,\r\n \"instanceId\": \"fd5e1594-f8d8-4beb-bc14-3f765970720d\",\r\n \"createMode\": \"Default\",\r\n \"databaseAccountOfferType\": \"Standard\",\r\n \"enableCassandraConnector\": false,\r\n \"connectorOffer\": \"\",\r\n \"defaultIdentity\": \"\",\r\n \"networkAclBypass\": \"None\",\r\n \"consistencyPolicy\": {\r\n \"defaultConsistencyLevel\": \"Session\",\r\n \"maxIntervalInSeconds\": 5,\r\n \"maxStalenessPrefix\": 100\r\n },\r\n \"apiProperties\": {\r\n \"clusterInstanceCount\": 1,\r\n \"clusterSize\": \"Cosmos.Gremlin.D32s\"\r\n },\r\n \"configurationOverrides\": {},\r\n \"writeLocations\": [\r\n {\r\n \"id\": \"jmondal-stg-d32-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://jmondal-stg-d32-eastus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"readLocations\": [\r\n {\r\n \"id\": \"jmondal-stg-d32-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://jmondal-stg-d32-eastus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"locations\": [\r\n {\r\n \"id\": \"jmondal-stg-d32-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://jmondal-stg-d32-eastus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"failoverPolicies\": [\r\n {\r\n \"id\": \"jmondal-stg-d32-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"failoverPriority\": 0\r\n }\r\n ],\r\n \"cors\": [],\r\n \"capabilities\": [\r\n {\r\n \"name\": \"EnableGremlinV2\"\r\n }\r\n ],\r\n \"ipRules\": [],\r\n \"backupPolicy\": {\r\n \"type\": \"Periodic\",\r\n \"periodicModeProperties\": {\r\n \"backupIntervalInMinutes\": 240,\r\n \"backupRetentionIntervalInHours\": 8,\r\n \"backupStorageRedundancy\": \"Geo\"\r\n }\r\n },\r\n \"networkAclBypassResourceIds\": []\r\n },\r\n \"identity\": {\r\n \"type\": \"None\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/resourceGroups/backup-restore/providers/Microsoft.DocumentDB/databaseAccounts/stage-validation-m\",\r\n \"name\": \"stage-validation-m\",\r\n \"location\": \"East US 2\",\r\n \"type\": \"Microsoft.DocumentDB/databaseAccounts\",\r\n \"kind\": \"MongoDB\",\r\n \"tags\": {\r\n \"defaultExperience\": \"Azure Cosmos DB for MongoDB API\",\r\n \"hidden-cosmos-mmspecial\": \"\",\r\n \"CosmosAccountType\": \"Non-Production\"\r\n },\r\n \"systemData\": {\r\n \"createdAt\": \"2021-02-05T04:08:09.1223636Z\"\r\n },\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"documentEndpoint\": \"https://stage-validation-m.documents-staging.windows-ppe.net:443/\",\r\n \"mongoEndpoint\": \"https://stage-validation-m.mongo.cosmos.windows-ppe.net:443/\",\r\n \"publicNetworkAccess\": \"Enabled\",\r\n \"enableAutomaticFailover\": false,\r\n \"enableMultipleWriteLocations\": false,\r\n \"enablePartitionKeyMonitor\": false,\r\n \"isVirtualNetworkFilterEnabled\": false,\r\n \"virtualNetworkRules\": [],\r\n \"EnabledApiTypes\": \"MongoDB\",\r\n \"disableKeyBasedMetadataWriteAccess\": false,\r\n \"enableFreeTier\": false,\r\n \"enableAnalyticalStorage\": false,\r\n \"analyticalStorageConfiguration\": null,\r\n \"instanceId\": \"19e4130a-cb83-4a34-85c2-e35dcda149f8\",\r\n \"createMode\": \"Default\",\r\n \"databaseAccountOfferType\": \"Standard\",\r\n \"enableCassandraConnector\": false,\r\n \"connectorOffer\": \"\",\r\n \"defaultIdentity\": \"\",\r\n \"networkAclBypass\": \"None\",\r\n \"consistencyPolicy\": {\r\n \"defaultConsistencyLevel\": \"Session\",\r\n \"maxIntervalInSeconds\": 5,\r\n \"maxStalenessPrefix\": 100\r\n },\r\n \"apiProperties\": {\r\n \"serverVersion\": \"3.6\"\r\n },\r\n \"configurationOverrides\": {\r\n \"EnableBsonSchema\": \"True\"\r\n },\r\n \"writeLocations\": [\r\n {\r\n \"id\": \"stage-validation-m-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://stage-validation-m-eastus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"readLocations\": [\r\n {\r\n \"id\": \"stage-validation-m-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://stage-validation-m-eastus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n },\r\n {\r\n \"id\": \"stage-validation-m-westus2\",\r\n \"locationName\": \"West US 2\",\r\n \"documentEndpoint\": \"https://stage-validation-m-westus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 1,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"locations\": [\r\n {\r\n \"id\": \"stage-validation-m-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://stage-validation-m-eastus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n },\r\n {\r\n \"id\": \"stage-validation-m-westus2\",\r\n \"locationName\": \"West US 2\",\r\n \"documentEndpoint\": \"https://stage-validation-m-westus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 1,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"failoverPolicies\": [\r\n {\r\n \"id\": \"stage-validation-m-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"failoverPriority\": 0\r\n },\r\n {\r\n \"id\": \"stage-validation-m-westus2\",\r\n \"locationName\": \"West US 2\",\r\n \"failoverPriority\": 1\r\n }\r\n ],\r\n \"cors\": [],\r\n \"capabilities\": [\r\n {\r\n \"name\": \"EnableMongo\"\r\n },\r\n {\r\n \"name\": \"DisableRateLimitingResponses\"\r\n }\r\n ],\r\n \"ipRules\": [],\r\n \"backupPolicy\": {\r\n \"type\": \"Continuous\"\r\n },\r\n \"networkAclBypassResourceIds\": []\r\n },\r\n \"identity\": {\r\n \"type\": \"None\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/resourceGroups/ashwsing-signoff/providers/Microsoft.DocumentDB/databaseAccounts/test40mongo-two\",\r\n \"name\": \"test40mongo-two\",\r\n \"location\": \"East US 2\",\r\n \"type\": \"Microsoft.DocumentDB/databaseAccounts\",\r\n \"kind\": \"MongoDB\",\r\n \"tags\": {\r\n \"defaultExperience\": \"Azure Cosmos DB for MongoDB API\",\r\n \"hidden-cosmos-mmspecial\": \"\",\r\n \"CosmosAccountType\": \"Non-Production\"\r\n },\r\n \"systemData\": {\r\n \"createdAt\": \"2021-02-05T19:38:06.2713539Z\"\r\n },\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"documentEndpoint\": \"https://test40mongo-two.documents-staging.windows-ppe.net:443/\",\r\n \"mongoEndpoint\": \"https://test40mongo-two.mongo.cosmos.windows-ppe.net:443/\",\r\n \"publicNetworkAccess\": \"Enabled\",\r\n \"enableAutomaticFailover\": false,\r\n \"enableMultipleWriteLocations\": false,\r\n \"enablePartitionKeyMonitor\": false,\r\n \"isVirtualNetworkFilterEnabled\": false,\r\n \"virtualNetworkRules\": [],\r\n \"EnabledApiTypes\": \"MongoDB\",\r\n \"disableKeyBasedMetadataWriteAccess\": false,\r\n \"enableFreeTier\": false,\r\n \"enableAnalyticalStorage\": false,\r\n \"analyticalStorageConfiguration\": null,\r\n \"instanceId\": \"01c23f84-caf0-4ae3-a87f-e69c49e266bb\",\r\n \"createMode\": \"Default\",\r\n \"databaseAccountOfferType\": \"Standard\",\r\n \"enableCassandraConnector\": false,\r\n \"connectorOffer\": \"\",\r\n \"defaultIdentity\": \"\",\r\n \"networkAclBypass\": \"None\",\r\n \"consistencyPolicy\": {\r\n \"defaultConsistencyLevel\": \"Session\",\r\n \"maxIntervalInSeconds\": 5,\r\n \"maxStalenessPrefix\": 100\r\n },\r\n \"apiProperties\": {\r\n \"serverVersion\": \"4.0\"\r\n },\r\n \"configurationOverrides\": {\r\n \"EnableBsonSchema\": \"True\"\r\n },\r\n \"writeLocations\": [\r\n {\r\n \"id\": \"test40mongo-two-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://test40mongo-two-eastus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"readLocations\": [\r\n {\r\n \"id\": \"test40mongo-two-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://test40mongo-two-eastus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"locations\": [\r\n {\r\n \"id\": \"test40mongo-two-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://test40mongo-two-eastus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"failoverPolicies\": [\r\n {\r\n \"id\": \"test40mongo-two-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"failoverPriority\": 0\r\n }\r\n ],\r\n \"cors\": [],\r\n \"capabilities\": [\r\n {\r\n \"name\": \"EnableMongo\"\r\n },\r\n {\r\n \"name\": \"DisableRateLimitingResponses\"\r\n }\r\n ],\r\n \"ipRules\": [],\r\n \"backupPolicy\": {\r\n \"type\": \"Periodic\",\r\n \"periodicModeProperties\": {\r\n \"backupIntervalInMinutes\": 240,\r\n \"backupRetentionIntervalInHours\": 8,\r\n \"backupStorageRedundancy\": \"Geo\"\r\n }\r\n },\r\n \"networkAclBypassResourceIds\": []\r\n },\r\n \"identity\": {\r\n \"type\": \"None\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/resourceGroups/ashwsing-signoff/providers/Microsoft.DocumentDB/databaseAccounts/test40mongo-one\",\r\n \"name\": \"test40mongo-one\",\r\n \"location\": \"East US 2\",\r\n \"type\": \"Microsoft.DocumentDB/databaseAccounts\",\r\n \"kind\": \"MongoDB\",\r\n \"tags\": {\r\n \"defaultExperience\": \"Azure Cosmos DB for MongoDB API\",\r\n \"hidden-cosmos-mmspecial\": \"\",\r\n \"CosmosAccountType\": \"Non-Production\"\r\n },\r\n \"systemData\": {\r\n \"createdAt\": \"2021-02-05T19:38:47.0239921Z\"\r\n },\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"documentEndpoint\": \"https://test40mongo-one.documents-staging.windows-ppe.net:443/\",\r\n \"mongoEndpoint\": \"https://test40mongo-one.mongo.cosmos.windows-ppe.net:443/\",\r\n \"publicNetworkAccess\": \"Enabled\",\r\n \"enableAutomaticFailover\": false,\r\n \"enableMultipleWriteLocations\": false,\r\n \"enablePartitionKeyMonitor\": false,\r\n \"isVirtualNetworkFilterEnabled\": false,\r\n \"virtualNetworkRules\": [],\r\n \"EnabledApiTypes\": \"MongoDB\",\r\n \"disableKeyBasedMetadataWriteAccess\": false,\r\n \"enableFreeTier\": false,\r\n \"enableAnalyticalStorage\": false,\r\n \"analyticalStorageConfiguration\": null,\r\n \"instanceId\": \"9e4eb9da-41c3-4787-9696-194b9046430c\",\r\n \"createMode\": \"Default\",\r\n \"databaseAccountOfferType\": \"Standard\",\r\n \"enableCassandraConnector\": false,\r\n \"connectorOffer\": \"\",\r\n \"defaultIdentity\": \"\",\r\n \"networkAclBypass\": \"None\",\r\n \"consistencyPolicy\": {\r\n \"defaultConsistencyLevel\": \"Session\",\r\n \"maxIntervalInSeconds\": 5,\r\n \"maxStalenessPrefix\": 100\r\n },\r\n \"apiProperties\": {\r\n \"serverVersion\": \"4.0\"\r\n },\r\n \"configurationOverrides\": {\r\n \"EnableBsonSchema\": \"True\"\r\n },\r\n \"writeLocations\": [\r\n {\r\n \"id\": \"test40mongo-one-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://test40mongo-one-eastus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"readLocations\": [\r\n {\r\n \"id\": \"test40mongo-one-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://test40mongo-one-eastus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"locations\": [\r\n {\r\n \"id\": \"test40mongo-one-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://test40mongo-one-eastus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"failoverPolicies\": [\r\n {\r\n \"id\": \"test40mongo-one-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"failoverPriority\": 0\r\n }\r\n ],\r\n \"cors\": [],\r\n \"capabilities\": [\r\n {\r\n \"name\": \"EnableMongo\"\r\n },\r\n {\r\n \"name\": \"DisableRateLimitingResponses\"\r\n }\r\n ],\r\n \"ipRules\": [],\r\n \"backupPolicy\": {\r\n \"type\": \"Periodic\",\r\n \"periodicModeProperties\": {\r\n \"backupIntervalInMinutes\": 240,\r\n \"backupRetentionIntervalInHours\": 8,\r\n \"backupStorageRedundancy\": \"Geo\"\r\n }\r\n },\r\n \"networkAclBypassResourceIds\": []\r\n },\r\n \"identity\": {\r\n \"type\": \"None\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/resourceGroups/ashwsing-signoff/providers/Microsoft.DocumentDB/databaseAccounts/test40mongo-three\",\r\n \"name\": \"test40mongo-three\",\r\n \"location\": \"East US 2\",\r\n \"type\": \"Microsoft.DocumentDB/databaseAccounts\",\r\n \"kind\": \"MongoDB\",\r\n \"tags\": {\r\n \"defaultExperience\": \"Azure Cosmos DB for MongoDB API\",\r\n \"hidden-cosmos-mmspecial\": \"\",\r\n \"CosmosAccountType\": \"Non-Production\"\r\n },\r\n \"systemData\": {\r\n \"createdAt\": \"2021-02-05T19:40:55.9814347Z\"\r\n },\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"documentEndpoint\": \"https://test40mongo-three.documents-staging.windows-ppe.net:443/\",\r\n \"mongoEndpoint\": \"https://test40mongo-three.mongo.cosmos.windows-ppe.net:443/\",\r\n \"publicNetworkAccess\": \"Enabled\",\r\n \"enableAutomaticFailover\": false,\r\n \"enableMultipleWriteLocations\": false,\r\n \"enablePartitionKeyMonitor\": false,\r\n \"isVirtualNetworkFilterEnabled\": false,\r\n \"virtualNetworkRules\": [],\r\n \"EnabledApiTypes\": \"MongoDB\",\r\n \"disableKeyBasedMetadataWriteAccess\": false,\r\n \"enableFreeTier\": false,\r\n \"enableAnalyticalStorage\": false,\r\n \"analyticalStorageConfiguration\": null,\r\n \"instanceId\": \"5f317237-4670-4837-b434-4ce48e344254\",\r\n \"createMode\": \"Default\",\r\n \"databaseAccountOfferType\": \"Standard\",\r\n \"enableCassandraConnector\": false,\r\n \"connectorOffer\": \"\",\r\n \"defaultIdentity\": \"\",\r\n \"networkAclBypass\": \"None\",\r\n \"consistencyPolicy\": {\r\n \"defaultConsistencyLevel\": \"Session\",\r\n \"maxIntervalInSeconds\": 5,\r\n \"maxStalenessPrefix\": 100\r\n },\r\n \"apiProperties\": {\r\n \"serverVersion\": \"4.0\"\r\n },\r\n \"configurationOverrides\": {\r\n \"EnableBsonSchema\": \"True\"\r\n },\r\n \"writeLocations\": [\r\n {\r\n \"id\": \"test40mongo-three-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://test40mongo-three-eastus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"readLocations\": [\r\n {\r\n \"id\": \"test40mongo-three-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://test40mongo-three-eastus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"locations\": [\r\n {\r\n \"id\": \"test40mongo-three-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://test40mongo-three-eastus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"failoverPolicies\": [\r\n {\r\n \"id\": \"test40mongo-three-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"failoverPriority\": 0\r\n }\r\n ],\r\n \"cors\": [],\r\n \"capabilities\": [\r\n {\r\n \"name\": \"EnableMongo\"\r\n },\r\n {\r\n \"name\": \"DisableRateLimitingResponses\"\r\n }\r\n ],\r\n \"ipRules\": [],\r\n \"backupPolicy\": {\r\n \"type\": \"Periodic\",\r\n \"periodicModeProperties\": {\r\n \"backupIntervalInMinutes\": 240,\r\n \"backupRetentionIntervalInHours\": 8,\r\n \"backupStorageRedundancy\": \"Geo\"\r\n }\r\n },\r\n \"networkAclBypassResourceIds\": []\r\n },\r\n \"identity\": {\r\n \"type\": \"None\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/resourceGroups/CosmosDBResourceGroup4461/providers/Microsoft.DocumentDB/databaseAccounts/accountname1110\",\r\n \"name\": \"accountname1110\",\r\n \"location\": \"East US 2\",\r\n \"type\": \"Microsoft.DocumentDB/databaseAccounts\",\r\n \"kind\": \"MongoDB\",\r\n \"tags\": {\r\n \"key1\": \"value1\",\r\n \"key2\": \"value2\"\r\n },\r\n \"systemData\": {\r\n \"createdAt\": \"2021-02-09T20:55:58.8091811Z\"\r\n },\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"documentEndpoint\": \"https://accountname1110.documents-staging.windows-ppe.net:443/\",\r\n \"mongoEndpoint\": \"https://accountname1110.mongo.cosmos.windows-ppe.net:443/\",\r\n \"publicNetworkAccess\": \"Enabled\",\r\n \"enableAutomaticFailover\": false,\r\n \"enableMultipleWriteLocations\": true,\r\n \"enablePartitionKeyMonitor\": false,\r\n \"isVirtualNetworkFilterEnabled\": true,\r\n \"virtualNetworkRules\": [],\r\n \"EnabledApiTypes\": \"MongoDB\",\r\n \"disableKeyBasedMetadataWriteAccess\": false,\r\n \"enableFreeTier\": false,\r\n \"enableAnalyticalStorage\": false,\r\n \"analyticalStorageConfiguration\": null,\r\n \"instanceId\": \"2ffc1476-50ff-4df5-b1e0-a67a25d4b937\",\r\n \"createMode\": \"Default\",\r\n \"databaseAccountOfferType\": \"Standard\",\r\n \"enableCassandraConnector\": true,\r\n \"connectorOffer\": \"Small\",\r\n \"defaultIdentity\": \"\",\r\n \"networkAclBypass\": \"AzureServices\",\r\n \"consistencyPolicy\": {\r\n \"defaultConsistencyLevel\": \"BoundedStaleness\",\r\n \"maxIntervalInSeconds\": 1000,\r\n \"maxStalenessPrefix\": 300\r\n },\r\n \"apiProperties\": {\r\n \"serverVersion\": \"3.6\"\r\n },\r\n \"configurationOverrides\": {\r\n \"EnableBsonSchema\": \"True\"\r\n },\r\n \"writeLocations\": [\r\n {\r\n \"id\": \"accountname1110-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://accountname1110-eastus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"readLocations\": [\r\n {\r\n \"id\": \"accountname1110-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://accountname1110-eastus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"locations\": [\r\n {\r\n \"id\": \"accountname1110-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://accountname1110-eastus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"failoverPolicies\": [\r\n {\r\n \"id\": \"accountname1110-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"failoverPriority\": 0\r\n }\r\n ],\r\n \"cors\": [],\r\n \"capabilities\": [\r\n {\r\n \"name\": \"EnableMongo\"\r\n }\r\n ],\r\n \"ipRules\": [\r\n {\r\n \"ipAddressOrRange\": \"23.43.230.120\"\r\n }\r\n ],\r\n \"backupPolicy\": {\r\n \"type\": \"Periodic\",\r\n \"periodicModeProperties\": {\r\n \"backupIntervalInMinutes\": 240,\r\n \"backupRetentionIntervalInHours\": 8,\r\n \"backupStorageRedundancy\": \"Geo\"\r\n }\r\n },\r\n \"networkAclBypassResourceIds\": [\r\n \"/subscriptions/subId/resourcegroups/rgName/providers/Microsoft.Synapse/workspaces/workspaceName\"\r\n ]\r\n },\r\n \"identity\": {\r\n \"type\": \"None\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/resourceGroups/sdk-ci/providers/Microsoft.DocumentDB/databaseAccounts/java-v4-multimaster-signoff\",\r\n \"name\": \"java-v4-multimaster-signoff\",\r\n \"location\": \"East US 2\",\r\n \"type\": \"Microsoft.DocumentDB/databaseAccounts\",\r\n \"kind\": \"GlobalDocumentDB\",\r\n \"tags\": {\r\n \"defaultExperience\": \"Core (SQL)\",\r\n \"hidden-cosmos-mmspecial\": \"\",\r\n \"CosmosAccountType\": \"Non-Production\"\r\n },\r\n \"systemData\": {\r\n \"createdAt\": \"2021-02-09T21:04:08.234252Z\"\r\n },\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"documentEndpoint\": \"https://java-v4-multimaster-signoff.documents-staging.windows-ppe.net:443/\",\r\n \"publicNetworkAccess\": \"Enabled\",\r\n \"enableAutomaticFailover\": false,\r\n \"enableMultipleWriteLocations\": true,\r\n \"enablePartitionKeyMonitor\": false,\r\n \"isVirtualNetworkFilterEnabled\": false,\r\n \"virtualNetworkRules\": [],\r\n \"EnabledApiTypes\": \"Sql\",\r\n \"disableKeyBasedMetadataWriteAccess\": false,\r\n \"enableFreeTier\": false,\r\n \"enableAnalyticalStorage\": false,\r\n \"analyticalStorageConfiguration\": null,\r\n \"instanceId\": \"2a69724f-bb3b-4837-bbb9-631a4a4eed61\",\r\n \"createMode\": \"Default\",\r\n \"databaseAccountOfferType\": \"Standard\",\r\n \"enableCassandraConnector\": false,\r\n \"connectorOffer\": \"\",\r\n \"defaultIdentity\": \"\",\r\n \"networkAclBypass\": \"None\",\r\n \"consistencyPolicy\": {\r\n \"defaultConsistencyLevel\": \"Session\",\r\n \"maxIntervalInSeconds\": 5,\r\n \"maxStalenessPrefix\": 100\r\n },\r\n \"configurationOverrides\": {},\r\n \"writeLocations\": [\r\n {\r\n \"id\": \"java-v4-multimaster-signoff-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://java-v4-multimaster-signoff-eastus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n },\r\n {\r\n \"id\": \"java-v4-multimaster-signoff-southeastasia\",\r\n \"locationName\": \"Southeast Asia\",\r\n \"documentEndpoint\": \"https://java-v4-multimaster-signoff-southeastasia.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 1,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"readLocations\": [\r\n {\r\n \"id\": \"java-v4-multimaster-signoff-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://java-v4-multimaster-signoff-eastus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n },\r\n {\r\n \"id\": \"java-v4-multimaster-signoff-southeastasia\",\r\n \"locationName\": \"Southeast Asia\",\r\n \"documentEndpoint\": \"https://java-v4-multimaster-signoff-southeastasia.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 1,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"locations\": [\r\n {\r\n \"id\": \"java-v4-multimaster-signoff-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://java-v4-multimaster-signoff-eastus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n },\r\n {\r\n \"id\": \"java-v4-multimaster-signoff-southeastasia\",\r\n \"locationName\": \"Southeast Asia\",\r\n \"documentEndpoint\": \"https://java-v4-multimaster-signoff-southeastasia.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 1,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"failoverPolicies\": [\r\n {\r\n \"id\": \"java-v4-multimaster-signoff-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"failoverPriority\": 0\r\n },\r\n {\r\n \"id\": \"java-v4-multimaster-signoff-southeastasia\",\r\n \"locationName\": \"Southeast Asia\",\r\n \"failoverPriority\": 1\r\n }\r\n ],\r\n \"cors\": [],\r\n \"capabilities\": [],\r\n \"ipRules\": [],\r\n \"backupPolicy\": {\r\n \"type\": \"Periodic\",\r\n \"periodicModeProperties\": {\r\n \"backupIntervalInMinutes\": 240,\r\n \"backupRetentionIntervalInHours\": 8,\r\n \"backupStorageRedundancy\": \"Geo\"\r\n }\r\n },\r\n \"networkAclBypassResourceIds\": []\r\n },\r\n \"identity\": {\r\n \"type\": \"None\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/resourceGroups/CANARY/providers/Microsoft.DocumentDB/databaseAccounts/canary-stageeastus2cs1-sqlx\",\r\n \"name\": \"canary-stageeastus2cs1-sqlx\",\r\n \"location\": \"East US 2\",\r\n \"type\": \"Microsoft.DocumentDB/databaseAccounts\",\r\n \"kind\": \"GlobalDocumentDB\",\r\n \"tags\": {\r\n \"defaultExperience\": \"Core (SQL)\",\r\n \"hidden-cosmos-mmspecial\": \"\",\r\n \"CosmosAccountType\": \"Non-Production\"\r\n },\r\n \"systemData\": {\r\n \"createdAt\": \"2021-02-17T19:57:24.5713914Z\"\r\n },\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"documentEndpoint\": \"https://canary-stageeastus2cs1-sqlx.documents-staging.windows-ppe.net:443/\",\r\n \"publicNetworkAccess\": \"Enabled\",\r\n \"enableAutomaticFailover\": false,\r\n \"enableMultipleWriteLocations\": false,\r\n \"enablePartitionKeyMonitor\": false,\r\n \"isVirtualNetworkFilterEnabled\": false,\r\n \"virtualNetworkRules\": [],\r\n \"EnabledApiTypes\": \"Sql\",\r\n \"disableKeyBasedMetadataWriteAccess\": false,\r\n \"enableFreeTier\": false,\r\n \"enableAnalyticalStorage\": false,\r\n \"analyticalStorageConfiguration\": null,\r\n \"instanceId\": \"a2b3eae8-555e-4e63-87e4-5fd3932188c9\",\r\n \"createMode\": \"Default\",\r\n \"databaseAccountOfferType\": \"Standard\",\r\n \"enableCassandraConnector\": false,\r\n \"connectorOffer\": \"\",\r\n \"defaultIdentity\": \"\",\r\n \"networkAclBypass\": \"None\",\r\n \"consistencyPolicy\": {\r\n \"defaultConsistencyLevel\": \"Session\",\r\n \"maxIntervalInSeconds\": 5,\r\n \"maxStalenessPrefix\": 100\r\n },\r\n \"configurationOverrides\": {},\r\n \"writeLocations\": [\r\n {\r\n \"id\": \"canary-stageeastus2cs1-sqlx-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://canary-stageeastus2cs1-sqlx-eastus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"readLocations\": [\r\n {\r\n \"id\": \"canary-stageeastus2cs1-sqlx-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://canary-stageeastus2cs1-sqlx-eastus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"locations\": [\r\n {\r\n \"id\": \"canary-stageeastus2cs1-sqlx-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://canary-stageeastus2cs1-sqlx-eastus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"failoverPolicies\": [\r\n {\r\n \"id\": \"canary-stageeastus2cs1-sqlx-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"failoverPriority\": 0\r\n }\r\n ],\r\n \"cors\": [],\r\n \"capabilities\": [],\r\n \"ipRules\": [],\r\n \"backupPolicy\": {\r\n \"type\": \"Periodic\",\r\n \"periodicModeProperties\": {\r\n \"backupIntervalInMinutes\": 240,\r\n \"backupRetentionIntervalInHours\": 8,\r\n \"backupStorageRedundancy\": \"Geo\"\r\n }\r\n },\r\n \"networkAclBypassResourceIds\": []\r\n },\r\n \"identity\": {\r\n \"type\": \"None\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/resourceGroups/kakhandr-rg/providers/Microsoft.DocumentDB/databaseAccounts/multiregion-pitr-billing-test\",\r\n \"name\": \"multiregion-pitr-billing-test\",\r\n \"location\": \"East US 2\",\r\n \"type\": \"Microsoft.DocumentDB/databaseAccounts\",\r\n \"kind\": \"GlobalDocumentDB\",\r\n \"tags\": {\r\n \"defaultExperience\": \"Core (SQL)\",\r\n \"hidden-cosmos-mmspecial\": \"\",\r\n \"CosmosAccountType\": \"Non-Production\"\r\n },\r\n \"systemData\": {\r\n \"createdAt\": \"2021-02-19T00:20:17.5689785Z\"\r\n },\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"documentEndpoint\": \"https://multiregion-pitr-billing-test.documents-staging.windows-ppe.net:443/\",\r\n \"publicNetworkAccess\": \"Enabled\",\r\n \"enableAutomaticFailover\": false,\r\n \"enableMultipleWriteLocations\": false,\r\n \"enablePartitionKeyMonitor\": false,\r\n \"isVirtualNetworkFilterEnabled\": false,\r\n \"virtualNetworkRules\": [],\r\n \"EnabledApiTypes\": \"Sql\",\r\n \"disableKeyBasedMetadataWriteAccess\": false,\r\n \"enableFreeTier\": false,\r\n \"enableAnalyticalStorage\": false,\r\n \"analyticalStorageConfiguration\": null,\r\n \"instanceId\": \"5939cc7f-0bdd-4790-9ac6-a3b281c64f97\",\r\n \"createMode\": \"Restore\",\r\n \"databaseAccountOfferType\": \"Standard\",\r\n \"enableCassandraConnector\": false,\r\n \"defaultIdentity\": \"\",\r\n \"networkAclBypass\": \"None\",\r\n \"consistencyPolicy\": {\r\n \"defaultConsistencyLevel\": \"Session\",\r\n \"maxIntervalInSeconds\": 5,\r\n \"maxStalenessPrefix\": 100\r\n },\r\n \"configurationOverrides\": {},\r\n \"writeLocations\": [\r\n {\r\n \"id\": \"multiregion-pitr-billing-test-southeastasia\",\r\n \"locationName\": \"Southeast Asia\",\r\n \"documentEndpoint\": \"https://multiregion-pitr-billing-test-southeastasia.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"readLocations\": [\r\n {\r\n \"id\": \"multiregion-pitr-billing-test-southeastasia\",\r\n \"locationName\": \"Southeast Asia\",\r\n \"documentEndpoint\": \"https://multiregion-pitr-billing-test-southeastasia.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n },\r\n {\r\n \"id\": \"multiregion-pitr-billing-test-westus2\",\r\n \"locationName\": \"West US 2\",\r\n \"documentEndpoint\": \"https://multiregion-pitr-billing-test-westus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 1,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"locations\": [\r\n {\r\n \"id\": \"multiregion-pitr-billing-test-southeastasia\",\r\n \"locationName\": \"Southeast Asia\",\r\n \"documentEndpoint\": \"https://multiregion-pitr-billing-test-southeastasia.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n },\r\n {\r\n \"id\": \"multiregion-pitr-billing-test-westus2\",\r\n \"locationName\": \"West US 2\",\r\n \"documentEndpoint\": \"https://multiregion-pitr-billing-test-westus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 1,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"failoverPolicies\": [\r\n {\r\n \"id\": \"multiregion-pitr-billing-test-southeastasia\",\r\n \"locationName\": \"Southeast Asia\",\r\n \"failoverPriority\": 0\r\n },\r\n {\r\n \"id\": \"multiregion-pitr-billing-test-westus2\",\r\n \"locationName\": \"West US 2\",\r\n \"failoverPriority\": 1\r\n }\r\n ],\r\n \"cors\": [],\r\n \"capabilities\": [],\r\n \"ipRules\": [],\r\n \"backupPolicy\": {\r\n \"type\": \"Continuous\"\r\n },\r\n \"restoreParameters\": {\r\n \"restoreMode\": \"PointInTime\",\r\n \"restoreSource\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/providers/Microsoft.DocumentDB/locations/eastus2/restorableDatabaseAccounts/a54115d5-4356-4771-b7b0-20f475ce5a38\",\r\n \"restoreTimestampInUtc\": \"2021-02-17T00:00:00Z\",\r\n \"databasesToRestore\": []\r\n },\r\n \"networkAclBypassResourceIds\": []\r\n },\r\n \"identity\": {\r\n \"type\": \"None\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/resourceGroups/vivekrastage/providers/Microsoft.DocumentDB/databaseAccounts/eytestaccount\",\r\n \"name\": \"eytestaccount\",\r\n \"location\": \"East US 2\",\r\n \"type\": \"Microsoft.DocumentDB/databaseAccounts\",\r\n \"kind\": \"GlobalDocumentDB\",\r\n \"tags\": {\r\n \"defaultExperience\": \"Cassandra\",\r\n \"hidden-cosmos-mmspecial\": \"\",\r\n \"CosmosAccountType\": \"Non-Production\"\r\n },\r\n \"systemData\": {\r\n \"createdAt\": \"2021-02-20T00:13:44.2195855Z\"\r\n },\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"documentEndpoint\": \"https://eytestaccount.documents-staging.windows-ppe.net:443/\",\r\n \"cassandraEndpoint\": \"https://eytestaccount.cassandra.cosmos.windows-ppe.net:443/\",\r\n \"publicNetworkAccess\": \"Enabled\",\r\n \"enableAutomaticFailover\": false,\r\n \"enableMultipleWriteLocations\": false,\r\n \"enablePartitionKeyMonitor\": false,\r\n \"isVirtualNetworkFilterEnabled\": false,\r\n \"virtualNetworkRules\": [],\r\n \"EnabledApiTypes\": \"Cassandra\",\r\n \"disableKeyBasedMetadataWriteAccess\": false,\r\n \"enableFreeTier\": false,\r\n \"enableAnalyticalStorage\": false,\r\n \"analyticalStorageConfiguration\": null,\r\n \"instanceId\": \"212565ef-f4ca-4f52-9791-5ac06a6ca17c\",\r\n \"createMode\": \"Default\",\r\n \"databaseAccountOfferType\": \"Standard\",\r\n \"enableCassandraConnector\": false,\r\n \"connectorOffer\": \"\",\r\n \"defaultIdentity\": \"\",\r\n \"networkAclBypass\": \"None\",\r\n \"consistencyPolicy\": {\r\n \"defaultConsistencyLevel\": \"Session\",\r\n \"maxIntervalInSeconds\": 5,\r\n \"maxStalenessPrefix\": 100\r\n },\r\n \"configurationOverrides\": {},\r\n \"writeLocations\": [\r\n {\r\n \"id\": \"eytestaccount-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://eytestaccount-eastus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"readLocations\": [\r\n {\r\n \"id\": \"eytestaccount-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://eytestaccount-eastus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"locations\": [\r\n {\r\n \"id\": \"eytestaccount-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://eytestaccount-eastus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"failoverPolicies\": [\r\n {\r\n \"id\": \"eytestaccount-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"failoverPriority\": 0\r\n }\r\n ],\r\n \"cors\": [],\r\n \"capabilities\": [\r\n {\r\n \"name\": \"EnableCassandra\"\r\n }\r\n ],\r\n \"ipRules\": [],\r\n \"backupPolicy\": {\r\n \"type\": \"Periodic\",\r\n \"periodicModeProperties\": {\r\n \"backupIntervalInMinutes\": 240,\r\n \"backupRetentionIntervalInHours\": 8,\r\n \"backupStorageRedundancy\": \"Geo\"\r\n }\r\n },\r\n \"networkAclBypassResourceIds\": []\r\n },\r\n \"identity\": {\r\n \"type\": \"None\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/resourceGroups/shreystagetest/providers/Microsoft.DocumentDB/databaseAccounts/shreytest14\",\r\n \"name\": \"shreytest14\",\r\n \"location\": \"East US 2\",\r\n \"type\": \"Microsoft.DocumentDB/databaseAccounts\",\r\n \"kind\": \"GlobalDocumentDB\",\r\n \"tags\": {\r\n \"defaultExperience\": \"Core (SQL)\",\r\n \"hidden-cosmos-mmspecial\": \"\",\r\n \"CosmosAccountType\": \"Non-Production\"\r\n },\r\n \"systemData\": {\r\n \"createdAt\": \"2021-02-20T00:49:36.6854744Z\"\r\n },\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"documentEndpoint\": \"https://shreytest14.documents-staging.windows-ppe.net:443/\",\r\n \"publicNetworkAccess\": \"Enabled\",\r\n \"enableAutomaticFailover\": false,\r\n \"enableMultipleWriteLocations\": false,\r\n \"enablePartitionKeyMonitor\": false,\r\n \"isVirtualNetworkFilterEnabled\": false,\r\n \"virtualNetworkRules\": [],\r\n \"EnabledApiTypes\": \"Sql\",\r\n \"disableKeyBasedMetadataWriteAccess\": false,\r\n \"enableFreeTier\": false,\r\n \"enableAnalyticalStorage\": false,\r\n \"analyticalStorageConfiguration\": null,\r\n \"instanceId\": \"d0b4d884-644a-4160-afe8-482b2301dc8e\",\r\n \"createMode\": \"Default\",\r\n \"databaseAccountOfferType\": \"Standard\",\r\n \"enableCassandraConnector\": false,\r\n \"connectorOffer\": \"\",\r\n \"defaultIdentity\": \"\",\r\n \"networkAclBypass\": \"None\",\r\n \"consistencyPolicy\": {\r\n \"defaultConsistencyLevel\": \"Session\",\r\n \"maxIntervalInSeconds\": 5,\r\n \"maxStalenessPrefix\": 100\r\n },\r\n \"configurationOverrides\": {},\r\n \"writeLocations\": [\r\n {\r\n \"id\": \"shreytest14-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://shreytest14-eastus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"readLocations\": [\r\n {\r\n \"id\": \"shreytest14-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://shreytest14-eastus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"locations\": [\r\n {\r\n \"id\": \"shreytest14-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://shreytest14-eastus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"failoverPolicies\": [\r\n {\r\n \"id\": \"shreytest14-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"failoverPriority\": 0\r\n }\r\n ],\r\n \"cors\": [],\r\n \"capabilities\": [],\r\n \"ipRules\": [],\r\n \"backupPolicy\": {\r\n \"type\": \"Periodic\",\r\n \"periodicModeProperties\": {\r\n \"backupIntervalInMinutes\": 240,\r\n \"backupRetentionIntervalInHours\": 8,\r\n \"backupStorageRedundancy\": \"Geo\"\r\n }\r\n },\r\n \"networkAclBypassResourceIds\": []\r\n },\r\n \"identity\": {\r\n \"type\": \"None\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/resourceGroups/wmengstagetest/providers/Microsoft.DocumentDB/databaseAccounts/wmengstageeastus2a\",\r\n \"name\": \"wmengstageeastus2a\",\r\n \"location\": \"East US 2\",\r\n \"type\": \"Microsoft.DocumentDB/databaseAccounts\",\r\n \"kind\": \"GlobalDocumentDB\",\r\n \"tags\": {\r\n \"defaultExperience\": \"Core (SQL)\",\r\n \"hidden-cosmos-mmspecial\": \"\",\r\n \"CosmosAccountType\": \"Non-Production\"\r\n },\r\n \"systemData\": {\r\n \"createdAt\": \"2021-02-20T08:06:19.8438893Z\"\r\n },\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"documentEndpoint\": \"https://wmengstageeastus2a.documents-staging.windows-ppe.net:443/\",\r\n \"publicNetworkAccess\": \"Enabled\",\r\n \"enableAutomaticFailover\": false,\r\n \"enableMultipleWriteLocations\": false,\r\n \"enablePartitionKeyMonitor\": false,\r\n \"isVirtualNetworkFilterEnabled\": false,\r\n \"virtualNetworkRules\": [],\r\n \"EnabledApiTypes\": \"Sql\",\r\n \"disableKeyBasedMetadataWriteAccess\": false,\r\n \"enableFreeTier\": false,\r\n \"enableAnalyticalStorage\": false,\r\n \"analyticalStorageConfiguration\": null,\r\n \"instanceId\": \"18eab4fd-4b6b-4879-be92-6b6dc9011e89\",\r\n \"createMode\": \"Default\",\r\n \"databaseAccountOfferType\": \"Standard\",\r\n \"enableCassandraConnector\": false,\r\n \"connectorOffer\": \"\",\r\n \"defaultIdentity\": \"\",\r\n \"networkAclBypass\": \"None\",\r\n \"consistencyPolicy\": {\r\n \"defaultConsistencyLevel\": \"Session\",\r\n \"maxIntervalInSeconds\": 5,\r\n \"maxStalenessPrefix\": 100\r\n },\r\n \"configurationOverrides\": {},\r\n \"writeLocations\": [\r\n {\r\n \"id\": \"wmengstageeastus2a-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://wmengstageeastus2a-eastus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"readLocations\": [\r\n {\r\n \"id\": \"wmengstageeastus2a-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://wmengstageeastus2a-eastus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"locations\": [\r\n {\r\n \"id\": \"wmengstageeastus2a-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://wmengstageeastus2a-eastus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"failoverPolicies\": [\r\n {\r\n \"id\": \"wmengstageeastus2a-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"failoverPriority\": 0\r\n }\r\n ],\r\n \"cors\": [],\r\n \"capabilities\": [],\r\n \"ipRules\": [],\r\n \"backupPolicy\": {\r\n \"type\": \"Periodic\",\r\n \"periodicModeProperties\": {\r\n \"backupIntervalInMinutes\": 240,\r\n \"backupRetentionIntervalInHours\": 8,\r\n \"backupStorageRedundancy\": \"Geo\"\r\n }\r\n },\r\n \"networkAclBypassResourceIds\": []\r\n },\r\n \"identity\": {\r\n \"type\": \"None\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/resourceGroups/ashwini-rg/providers/Microsoft.DocumentDB/databaseAccounts/mong-acis-test1\",\r\n \"name\": \"mong-acis-test1\",\r\n \"location\": \"East US 2\",\r\n \"type\": \"Microsoft.DocumentDB/databaseAccounts\",\r\n \"kind\": \"MongoDB\",\r\n \"tags\": {\r\n \"defaultExperience\": \"Azure Cosmos DB for MongoDB API\",\r\n \"hidden-cosmos-mmspecial\": \"\",\r\n \"CosmosAccountType\": \"Non-Production\"\r\n },\r\n \"systemData\": {\r\n \"createdAt\": \"2021-02-22T02:40:11.4494598Z\"\r\n },\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"documentEndpoint\": \"https://mong-acis-test1.documents-staging.windows-ppe.net:443/\",\r\n \"mongoEndpoint\": \"https://mong-acis-test1.mongo.cosmos.windows-ppe.net:443/\",\r\n \"publicNetworkAccess\": \"Enabled\",\r\n \"enableAutomaticFailover\": false,\r\n \"enableMultipleWriteLocations\": false,\r\n \"enablePartitionKeyMonitor\": false,\r\n \"isVirtualNetworkFilterEnabled\": false,\r\n \"virtualNetworkRules\": [],\r\n \"EnabledApiTypes\": \"MongoDB\",\r\n \"disableKeyBasedMetadataWriteAccess\": false,\r\n \"enableFreeTier\": false,\r\n \"enableAnalyticalStorage\": false,\r\n \"analyticalStorageConfiguration\": null,\r\n \"instanceId\": \"f9215d75-c403-48a3-8583-0e0bc8805721\",\r\n \"createMode\": \"Default\",\r\n \"databaseAccountOfferType\": \"Standard\",\r\n \"enableCassandraConnector\": false,\r\n \"connectorOffer\": \"\",\r\n \"defaultIdentity\": \"\",\r\n \"networkAclBypass\": \"None\",\r\n \"consistencyPolicy\": {\r\n \"defaultConsistencyLevel\": \"Session\",\r\n \"maxIntervalInSeconds\": 5,\r\n \"maxStalenessPrefix\": 100\r\n },\r\n \"apiProperties\": {\r\n \"serverVersion\": \"3.6\"\r\n },\r\n \"configurationOverrides\": {\r\n \"EnableBsonSchema\": \"True\"\r\n },\r\n \"writeLocations\": [\r\n {\r\n \"id\": \"mong-acis-test1-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://mong-acis-test1-eastus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"readLocations\": [\r\n {\r\n \"id\": \"mong-acis-test1-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://mong-acis-test1-eastus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"locations\": [\r\n {\r\n \"id\": \"mong-acis-test1-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://mong-acis-test1-eastus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"failoverPolicies\": [\r\n {\r\n \"id\": \"mong-acis-test1-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"failoverPriority\": 0\r\n }\r\n ],\r\n \"cors\": [],\r\n \"capabilities\": [\r\n {\r\n \"name\": \"EnableMongo\"\r\n },\r\n {\r\n \"name\": \"DisableRateLimitingResponses\"\r\n }\r\n ],\r\n \"ipRules\": [],\r\n \"backupPolicy\": {\r\n \"type\": \"Periodic\",\r\n \"periodicModeProperties\": {\r\n \"backupIntervalInMinutes\": 240,\r\n \"backupRetentionIntervalInHours\": 8,\r\n \"backupStorageRedundancy\": \"Geo\"\r\n }\r\n },\r\n \"networkAclBypassResourceIds\": []\r\n },\r\n \"identity\": {\r\n \"type\": \"None\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/resourceGroups/ashwsing-rg/providers/Microsoft.DocumentDB/databaseAccounts/mongo-acis-test2\",\r\n \"name\": \"mongo-acis-test2\",\r\n \"location\": \"East US 2\",\r\n \"type\": \"Microsoft.DocumentDB/databaseAccounts\",\r\n \"kind\": \"MongoDB\",\r\n \"tags\": {\r\n \"defaultExperience\": \"Azure Cosmos DB for MongoDB API\",\r\n \"hidden-cosmos-mmspecial\": \"\",\r\n \"CosmosAccountType\": \"Non-Production\"\r\n },\r\n \"systemData\": {\r\n \"createdAt\": \"2021-02-22T02:41:18.9456951Z\"\r\n },\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"documentEndpoint\": \"https://mongo-acis-test2.documents-staging.windows-ppe.net:443/\",\r\n \"mongoEndpoint\": \"https://mongo-acis-test2.mongo.cosmos.windows-ppe.net:443/\",\r\n \"publicNetworkAccess\": \"Enabled\",\r\n \"enableAutomaticFailover\": false,\r\n \"enableMultipleWriteLocations\": false,\r\n \"enablePartitionKeyMonitor\": false,\r\n \"isVirtualNetworkFilterEnabled\": false,\r\n \"virtualNetworkRules\": [],\r\n \"EnabledApiTypes\": \"MongoDB\",\r\n \"disableKeyBasedMetadataWriteAccess\": false,\r\n \"enableFreeTier\": false,\r\n \"enableAnalyticalStorage\": false,\r\n \"analyticalStorageConfiguration\": null,\r\n \"instanceId\": \"a9c9e96c-6e94-49f6-a37f-85876f358394\",\r\n \"createMode\": \"Default\",\r\n \"databaseAccountOfferType\": \"Standard\",\r\n \"enableCassandraConnector\": false,\r\n \"connectorOffer\": \"\",\r\n \"defaultIdentity\": \"\",\r\n \"networkAclBypass\": \"None\",\r\n \"consistencyPolicy\": {\r\n \"defaultConsistencyLevel\": \"Session\",\r\n \"maxIntervalInSeconds\": 5,\r\n \"maxStalenessPrefix\": 100\r\n },\r\n \"apiProperties\": {\r\n \"serverVersion\": \"4.0\"\r\n },\r\n \"configurationOverrides\": {\r\n \"EnableBsonSchema\": \"True\"\r\n },\r\n \"writeLocations\": [\r\n {\r\n \"id\": \"mongo-acis-test2-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://mongo-acis-test2-eastus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"readLocations\": [\r\n {\r\n \"id\": \"mongo-acis-test2-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://mongo-acis-test2-eastus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"locations\": [\r\n {\r\n \"id\": \"mongo-acis-test2-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://mongo-acis-test2-eastus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"failoverPolicies\": [\r\n {\r\n \"id\": \"mongo-acis-test2-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"failoverPriority\": 0\r\n }\r\n ],\r\n \"cors\": [],\r\n \"capabilities\": [\r\n {\r\n \"name\": \"EnableMongo\"\r\n },\r\n {\r\n \"name\": \"DisableRateLimitingResponses\"\r\n }\r\n ],\r\n \"ipRules\": [],\r\n \"backupPolicy\": {\r\n \"type\": \"Periodic\",\r\n \"periodicModeProperties\": {\r\n \"backupIntervalInMinutes\": 240,\r\n \"backupRetentionIntervalInHours\": 8,\r\n \"backupStorageRedundancy\": \"Geo\"\r\n }\r\n },\r\n \"networkAclBypassResourceIds\": []\r\n },\r\n \"identity\": {\r\n \"type\": \"None\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/resourceGroups/vivekrastage/providers/Microsoft.DocumentDB/databaseAccounts/eyaccounttest\",\r\n \"name\": \"eyaccounttest\",\r\n \"location\": \"East US 2\",\r\n \"type\": \"Microsoft.DocumentDB/databaseAccounts\",\r\n \"kind\": \"GlobalDocumentDB\",\r\n \"tags\": {\r\n \"defaultExperience\": \"Cassandra\",\r\n \"hidden-cosmos-mmspecial\": \"\",\r\n \"CosmosAccountType\": \"Non-Production\"\r\n },\r\n \"systemData\": {\r\n \"createdAt\": \"2021-02-22T19:36:19.4403448Z\"\r\n },\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"documentEndpoint\": \"https://eyaccounttest.documents-staging.windows-ppe.net:443/\",\r\n \"cassandraEndpoint\": \"https://eyaccounttest.cassandra.cosmos.windows-ppe.net:443/\",\r\n \"publicNetworkAccess\": \"Enabled\",\r\n \"enableAutomaticFailover\": false,\r\n \"enableMultipleWriteLocations\": false,\r\n \"enablePartitionKeyMonitor\": false,\r\n \"isVirtualNetworkFilterEnabled\": false,\r\n \"virtualNetworkRules\": [],\r\n \"EnabledApiTypes\": \"Cassandra\",\r\n \"disableKeyBasedMetadataWriteAccess\": false,\r\n \"enableFreeTier\": false,\r\n \"enableAnalyticalStorage\": false,\r\n \"analyticalStorageConfiguration\": null,\r\n \"instanceId\": \"ae788764-c612-4bc3-898e-5e02703614a0\",\r\n \"createMode\": \"Default\",\r\n \"databaseAccountOfferType\": \"Standard\",\r\n \"enableCassandraConnector\": false,\r\n \"connectorOffer\": \"\",\r\n \"defaultIdentity\": \"\",\r\n \"networkAclBypass\": \"None\",\r\n \"consistencyPolicy\": {\r\n \"defaultConsistencyLevel\": \"Session\",\r\n \"maxIntervalInSeconds\": 5,\r\n \"maxStalenessPrefix\": 100\r\n },\r\n \"configurationOverrides\": {},\r\n \"writeLocations\": [\r\n {\r\n \"id\": \"eyaccounttest-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://eyaccounttest-eastus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"readLocations\": [\r\n {\r\n \"id\": \"eyaccounttest-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://eyaccounttest-eastus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"locations\": [\r\n {\r\n \"id\": \"eyaccounttest-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://eyaccounttest-eastus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"failoverPolicies\": [\r\n {\r\n \"id\": \"eyaccounttest-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"failoverPriority\": 0\r\n }\r\n ],\r\n \"cors\": [],\r\n \"capabilities\": [\r\n {\r\n \"name\": \"EnableCassandra\"\r\n }\r\n ],\r\n \"ipRules\": [],\r\n \"backupPolicy\": {\r\n \"type\": \"Periodic\",\r\n \"periodicModeProperties\": {\r\n \"backupIntervalInMinutes\": 240,\r\n \"backupRetentionIntervalInHours\": 8,\r\n \"backupStorageRedundancy\": \"Geo\"\r\n }\r\n },\r\n \"networkAclBypassResourceIds\": []\r\n },\r\n \"identity\": {\r\n \"type\": \"None\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/resourceGroups/shatri_vmss/providers/Microsoft.DocumentDB/databaseAccounts/shatrimongo\",\r\n \"name\": \"shatrimongo\",\r\n \"location\": \"East US 2\",\r\n \"type\": \"Microsoft.DocumentDB/databaseAccounts\",\r\n \"kind\": \"MongoDB\",\r\n \"tags\": {\r\n \"defaultExperience\": \"Azure Cosmos DB for MongoDB API\",\r\n \"hidden-cosmos-mmspecial\": \"\",\r\n \"CosmosAccountType\": \"Non-Production\"\r\n },\r\n \"systemData\": {\r\n \"createdAt\": \"2021-02-22T21:35:10.2385338Z\"\r\n },\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"documentEndpoint\": \"https://shatrimongo.documents-staging.windows-ppe.net:443/\",\r\n \"mongoEndpoint\": \"https://shatrimongo.mongo.cosmos.windows-ppe.net:443/\",\r\n \"publicNetworkAccess\": \"Enabled\",\r\n \"enableAutomaticFailover\": false,\r\n \"enableMultipleWriteLocations\": false,\r\n \"enablePartitionKeyMonitor\": false,\r\n \"isVirtualNetworkFilterEnabled\": false,\r\n \"virtualNetworkRules\": [],\r\n \"EnabledApiTypes\": \"MongoDB\",\r\n \"disableKeyBasedMetadataWriteAccess\": false,\r\n \"enableFreeTier\": false,\r\n \"enableAnalyticalStorage\": false,\r\n \"analyticalStorageConfiguration\": null,\r\n \"instanceId\": \"54d58514-d9af-4d5d-bea5-0135b5006330\",\r\n \"createMode\": \"Default\",\r\n \"databaseAccountOfferType\": \"Standard\",\r\n \"enableCassandraConnector\": false,\r\n \"connectorOffer\": \"\",\r\n \"defaultIdentity\": \"\",\r\n \"networkAclBypass\": \"None\",\r\n \"consistencyPolicy\": {\r\n \"defaultConsistencyLevel\": \"Session\",\r\n \"maxIntervalInSeconds\": 5,\r\n \"maxStalenessPrefix\": 100\r\n },\r\n \"apiProperties\": {\r\n \"serverVersion\": \"3.6\"\r\n },\r\n \"configurationOverrides\": {\r\n \"EnableBsonSchema\": \"True\"\r\n },\r\n \"writeLocations\": [\r\n {\r\n \"id\": \"shatrimongo-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://shatrimongo-eastus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"readLocations\": [\r\n {\r\n \"id\": \"shatrimongo-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://shatrimongo-eastus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"locations\": [\r\n {\r\n \"id\": \"shatrimongo-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://shatrimongo-eastus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"failoverPolicies\": [\r\n {\r\n \"id\": \"shatrimongo-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"failoverPriority\": 0\r\n }\r\n ],\r\n \"cors\": [],\r\n \"capabilities\": [\r\n {\r\n \"name\": \"EnableMongo\"\r\n },\r\n {\r\n \"name\": \"DisableRateLimitingResponses\"\r\n }\r\n ],\r\n \"ipRules\": [],\r\n \"backupPolicy\": {\r\n \"type\": \"Periodic\",\r\n \"periodicModeProperties\": {\r\n \"backupIntervalInMinutes\": 240,\r\n \"backupRetentionIntervalInHours\": 8,\r\n \"backupStorageRedundancy\": \"Geo\"\r\n }\r\n },\r\n \"networkAclBypassResourceIds\": []\r\n },\r\n \"identity\": {\r\n \"type\": \"None\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/resourceGroups/tvoellm-group/providers/Microsoft.DocumentDB/databaseAccounts/tvoellmdb1\",\r\n \"name\": \"tvoellmdb1\",\r\n \"location\": \"East US 2\",\r\n \"type\": \"Microsoft.DocumentDB/databaseAccounts\",\r\n \"kind\": \"GlobalDocumentDB\",\r\n \"tags\": {\r\n \"defaultExperience\": \"Core (SQL)\",\r\n \"hidden-cosmos-mmspecial\": \"\",\r\n \"CosmosAccountType\": \"Non-Production\"\r\n },\r\n \"systemData\": {\r\n \"createdAt\": \"2021-02-23T16:55:24.7807978Z\"\r\n },\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"documentEndpoint\": \"https://tvoellmdb1.documents-staging.windows-ppe.net:443/\",\r\n \"publicNetworkAccess\": \"Enabled\",\r\n \"enableAutomaticFailover\": false,\r\n \"enableMultipleWriteLocations\": false,\r\n \"enablePartitionKeyMonitor\": false,\r\n \"isVirtualNetworkFilterEnabled\": false,\r\n \"virtualNetworkRules\": [],\r\n \"EnabledApiTypes\": \"Sql\",\r\n \"disableKeyBasedMetadataWriteAccess\": false,\r\n \"enableFreeTier\": false,\r\n \"enableAnalyticalStorage\": false,\r\n \"analyticalStorageConfiguration\": null,\r\n \"instanceId\": \"00194f2d-6f8c-4c24-bda4-ad60c97111c4\",\r\n \"createMode\": \"Default\",\r\n \"databaseAccountOfferType\": \"Standard\",\r\n \"enableCassandraConnector\": false,\r\n \"connectorOffer\": \"\",\r\n \"defaultIdentity\": \"\",\r\n \"networkAclBypass\": \"None\",\r\n \"consistencyPolicy\": {\r\n \"defaultConsistencyLevel\": \"Session\",\r\n \"maxIntervalInSeconds\": 5,\r\n \"maxStalenessPrefix\": 100\r\n },\r\n \"configurationOverrides\": {},\r\n \"writeLocations\": [\r\n {\r\n \"id\": \"tvoellmdb1-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://tvoellmdb1-eastus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"readLocations\": [\r\n {\r\n \"id\": \"tvoellmdb1-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://tvoellmdb1-eastus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"locations\": [\r\n {\r\n \"id\": \"tvoellmdb1-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://tvoellmdb1-eastus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"failoverPolicies\": [\r\n {\r\n \"id\": \"tvoellmdb1-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"failoverPriority\": 0\r\n }\r\n ],\r\n \"cors\": [],\r\n \"capabilities\": [],\r\n \"ipRules\": [],\r\n \"backupPolicy\": {\r\n \"type\": \"Periodic\",\r\n \"periodicModeProperties\": {\r\n \"backupIntervalInMinutes\": 240,\r\n \"backupRetentionIntervalInHours\": 8,\r\n \"backupStorageRedundancy\": \"Geo\"\r\n }\r\n },\r\n \"networkAclBypassResourceIds\": []\r\n },\r\n \"identity\": {\r\n \"type\": \"None\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/resourceGroups/tvoellm-group/providers/Microsoft.DocumentDB/databaseAccounts/tvoellmdb3\",\r\n \"name\": \"tvoellmdb3\",\r\n \"location\": \"East US 2\",\r\n \"type\": \"Microsoft.DocumentDB/databaseAccounts\",\r\n \"kind\": \"GlobalDocumentDB\",\r\n \"tags\": {\r\n \"defaultExperience\": \"Core (SQL)\",\r\n \"hidden-cosmos-mmspecial\": \"\",\r\n \"CosmosAccountType\": \"Non-Production\"\r\n },\r\n \"systemData\": {\r\n \"createdAt\": \"2021-02-23T17:01:11.0478289Z\"\r\n },\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"documentEndpoint\": \"https://tvoellmdb3.documents-staging.windows-ppe.net:443/\",\r\n \"publicNetworkAccess\": \"Enabled\",\r\n \"enableAutomaticFailover\": false,\r\n \"enableMultipleWriteLocations\": false,\r\n \"enablePartitionKeyMonitor\": false,\r\n \"isVirtualNetworkFilterEnabled\": false,\r\n \"virtualNetworkRules\": [],\r\n \"EnabledApiTypes\": \"Sql\",\r\n \"disableKeyBasedMetadataWriteAccess\": false,\r\n \"enableFreeTier\": false,\r\n \"enableAnalyticalStorage\": false,\r\n \"analyticalStorageConfiguration\": null,\r\n \"instanceId\": \"11df0155-1170-412e-8d6a-6f58ee58e288\",\r\n \"createMode\": \"Default\",\r\n \"databaseAccountOfferType\": \"Standard\",\r\n \"enableCassandraConnector\": false,\r\n \"connectorOffer\": \"\",\r\n \"keyVaultKeyUri\": \"https://tvoellmkv1.vault.azure.net/keys/tvoellmkey1\",\r\n \"defaultIdentity\": \"\",\r\n \"networkAclBypass\": \"None\",\r\n \"consistencyPolicy\": {\r\n \"defaultConsistencyLevel\": \"Session\",\r\n \"maxIntervalInSeconds\": 5,\r\n \"maxStalenessPrefix\": 100\r\n },\r\n \"configurationOverrides\": {},\r\n \"writeLocations\": [\r\n {\r\n \"id\": \"tvoellmdb3-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://tvoellmdb3-eastus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"readLocations\": [\r\n {\r\n \"id\": \"tvoellmdb3-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://tvoellmdb3-eastus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"locations\": [\r\n {\r\n \"id\": \"tvoellmdb3-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://tvoellmdb3-eastus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"failoverPolicies\": [\r\n {\r\n \"id\": \"tvoellmdb3-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"failoverPriority\": 0\r\n }\r\n ],\r\n \"cors\": [],\r\n \"capabilities\": [],\r\n \"ipRules\": [],\r\n \"backupPolicy\": {\r\n \"type\": \"Periodic\",\r\n \"periodicModeProperties\": {\r\n \"backupIntervalInMinutes\": 240,\r\n \"backupRetentionIntervalInHours\": 8,\r\n \"backupStorageRedundancy\": \"Geo\"\r\n }\r\n },\r\n \"networkAclBypassResourceIds\": []\r\n },\r\n \"identity\": {\r\n \"type\": \"None\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/resourceGroups/adt-stage-test-rg/providers/Microsoft.DocumentDB/databaseAccounts/adt-stage-test\",\r\n \"name\": \"adt-stage-test\",\r\n \"location\": \"East US 2\",\r\n \"type\": \"Microsoft.DocumentDB/databaseAccounts\",\r\n \"kind\": \"GlobalDocumentDB\",\r\n \"tags\": {\r\n \"defaultExperience\": \"Gremlinv2\"\r\n },\r\n \"systemData\": {\r\n \"createdAt\": \"2021-02-25T07:03:40.4901866Z\"\r\n },\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"documentEndpoint\": \"https://adt-stage-test.documents-staging.windows-ppe.net:443/\",\r\n \"gremlinEndpoint\": \"https://adt-stage-test.gremlin.cosmos.windows-ppe.net/\",\r\n \"publicNetworkAccess\": \"Enabled\",\r\n \"enableAutomaticFailover\": false,\r\n \"enableMultipleWriteLocations\": false,\r\n \"enablePartitionKeyMonitor\": false,\r\n \"isVirtualNetworkFilterEnabled\": false,\r\n \"virtualNetworkRules\": [],\r\n \"EnabledApiTypes\": \"GremlinV2\",\r\n \"disableKeyBasedMetadataWriteAccess\": false,\r\n \"enableFreeTier\": false,\r\n \"enableAnalyticalStorage\": false,\r\n \"analyticalStorageConfiguration\": null,\r\n \"instanceId\": \"1acc9e5b-7a64-4dec-a2be-f8d928f14a49\",\r\n \"createMode\": \"Default\",\r\n \"databaseAccountOfferType\": \"Standard\",\r\n \"enableCassandraConnector\": false,\r\n \"connectorOffer\": \"\",\r\n \"defaultIdentity\": \"FirstPartyIdentity\",\r\n \"networkAclBypass\": \"None\",\r\n \"consistencyPolicy\": {\r\n \"defaultConsistencyLevel\": \"Session\",\r\n \"maxIntervalInSeconds\": 5,\r\n \"maxStalenessPrefix\": 100\r\n },\r\n \"apiProperties\": {\r\n \"clusterInstanceCount\": 1,\r\n \"clusterSize\": \"Cosmos.Gremlin.D8s\"\r\n },\r\n \"configurationOverrides\": {},\r\n \"writeLocations\": [\r\n {\r\n \"id\": \"adt-stage-test-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://adt-stage-test-eastus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"readLocations\": [\r\n {\r\n \"id\": \"adt-stage-test-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://adt-stage-test-eastus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"locations\": [\r\n {\r\n \"id\": \"adt-stage-test-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://adt-stage-test-eastus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"failoverPolicies\": [\r\n {\r\n \"id\": \"adt-stage-test-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"failoverPriority\": 0\r\n }\r\n ],\r\n \"cors\": [],\r\n \"capabilities\": [\r\n {\r\n \"name\": \"EnableGremlinV2\"\r\n }\r\n ],\r\n \"ipRules\": [],\r\n \"backupPolicy\": {\r\n \"type\": \"Periodic\",\r\n \"periodicModeProperties\": {\r\n \"backupIntervalInMinutes\": 240,\r\n \"backupRetentionIntervalInHours\": 8,\r\n \"backupStorageRedundancy\": \"Geo\"\r\n }\r\n },\r\n \"networkAclBypassResourceIds\": []\r\n },\r\n \"identity\": {\r\n \"type\": \"None\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/resourceGroups/pitr-stage-rg/providers/Microsoft.DocumentDB/databaseAccounts/restore-pitr-mongo32-stage-source\",\r\n \"name\": \"restore-pitr-mongo32-stage-source\",\r\n \"location\": \"East US 2\",\r\n \"type\": \"Microsoft.DocumentDB/databaseAccounts\",\r\n \"kind\": \"MongoDB\",\r\n \"tags\": {},\r\n \"systemData\": {\r\n \"createdAt\": \"2021-02-26T18:11:03.2574337Z\"\r\n },\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"documentEndpoint\": \"https://restore-pitr-mongo32-stage-source.documents-staging.windows-ppe.net:443/\",\r\n \"publicNetworkAccess\": \"Enabled\",\r\n \"enableAutomaticFailover\": false,\r\n \"enableMultipleWriteLocations\": false,\r\n \"enablePartitionKeyMonitor\": false,\r\n \"isVirtualNetworkFilterEnabled\": false,\r\n \"virtualNetworkRules\": [],\r\n \"EnabledApiTypes\": \"MongoDB\",\r\n \"disableKeyBasedMetadataWriteAccess\": false,\r\n \"enableFreeTier\": false,\r\n \"enableAnalyticalStorage\": false,\r\n \"analyticalStorageConfiguration\": null,\r\n \"instanceId\": \"96aa7f5a-5292-44f3-9d3e-bec163b0de1a\",\r\n \"createMode\": \"Restore\",\r\n \"databaseAccountOfferType\": \"Standard\",\r\n \"enableCassandraConnector\": false,\r\n \"defaultIdentity\": \"\",\r\n \"networkAclBypass\": \"None\",\r\n \"consistencyPolicy\": {\r\n \"defaultConsistencyLevel\": \"Session\",\r\n \"maxIntervalInSeconds\": 5,\r\n \"maxStalenessPrefix\": 100\r\n },\r\n \"apiProperties\": {\r\n \"serverVersion\": \"3.2\"\r\n },\r\n \"configurationOverrides\": {\r\n \"EnableBsonSchema\": \"True\"\r\n },\r\n \"writeLocations\": [\r\n {\r\n \"id\": \"restore-pitr-mongo32-stage-source-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://restore-pitr-mongo32-stage-source-eastus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"readLocations\": [\r\n {\r\n \"id\": \"restore-pitr-mongo32-stage-source-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://restore-pitr-mongo32-stage-source-eastus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"locations\": [\r\n {\r\n \"id\": \"restore-pitr-mongo32-stage-source-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://restore-pitr-mongo32-stage-source-eastus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"failoverPolicies\": [\r\n {\r\n \"id\": \"restore-pitr-mongo32-stage-source-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"failoverPriority\": 0\r\n }\r\n ],\r\n \"cors\": [],\r\n \"capabilities\": [],\r\n \"ipRules\": [],\r\n \"backupPolicy\": {\r\n \"type\": \"Continuous\"\r\n },\r\n \"restoreParameters\": {\r\n \"restoreMode\": \"PointInTime\",\r\n \"restoreSource\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/providers/Microsoft.DocumentDB/locations/eastus2/restorableDatabaseAccounts/eadac7e2-61f0-4e07-aaa1-9dbb495ec5a8\",\r\n \"restoreTimestampInUtc\": \"2021-02-04T00:00:00Z\",\r\n \"databasesToRestore\": []\r\n },\r\n \"networkAclBypassResourceIds\": []\r\n },\r\n \"identity\": {\r\n \"type\": \"None\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/resourceGroups/kakhandr-rg-2/providers/Microsoft.DocumentDB/databaseAccounts/pitr-serverless-test\",\r\n \"name\": \"pitr-serverless-test\",\r\n \"location\": \"East US 2\",\r\n \"type\": \"Microsoft.DocumentDB/databaseAccounts\",\r\n \"kind\": \"GlobalDocumentDB\",\r\n \"tags\": {},\r\n \"systemData\": {\r\n \"createdAt\": \"2021-03-08T22:40:04.4989269Z\"\r\n },\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"documentEndpoint\": \"https://pitr-serverless-test.documents-staging.windows-ppe.net:443/\",\r\n \"publicNetworkAccess\": \"Enabled\",\r\n \"enableAutomaticFailover\": false,\r\n \"enableMultipleWriteLocations\": false,\r\n \"enablePartitionKeyMonitor\": false,\r\n \"isVirtualNetworkFilterEnabled\": false,\r\n \"virtualNetworkRules\": [],\r\n \"EnabledApiTypes\": \"Sql\",\r\n \"disableKeyBasedMetadataWriteAccess\": false,\r\n \"enableFreeTier\": false,\r\n \"enableAnalyticalStorage\": false,\r\n \"analyticalStorageConfiguration\": null,\r\n \"instanceId\": \"06da6f05-e2dc-42ad-b5c1-eb3cb8b2384e\",\r\n \"createMode\": \"Default\",\r\n \"databaseAccountOfferType\": \"Standard\",\r\n \"enableCassandraConnector\": false,\r\n \"connectorOffer\": \"\",\r\n \"enableFullFidelityChangeFeed\": false,\r\n \"defaultIdentity\": \"FirstPartyIdentity\",\r\n \"networkAclBypass\": \"None\",\r\n \"consistencyPolicy\": {\r\n \"defaultConsistencyLevel\": \"Session\",\r\n \"maxIntervalInSeconds\": 5,\r\n \"maxStalenessPrefix\": 100\r\n },\r\n \"configurationOverrides\": {},\r\n \"writeLocations\": [\r\n {\r\n \"id\": \"pitr-serverless-test-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://pitr-serverless-test-eastus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"readLocations\": [\r\n {\r\n \"id\": \"pitr-serverless-test-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://pitr-serverless-test-eastus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"locations\": [\r\n {\r\n \"id\": \"pitr-serverless-test-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://pitr-serverless-test-eastus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"failoverPolicies\": [\r\n {\r\n \"id\": \"pitr-serverless-test-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"failoverPriority\": 0\r\n }\r\n ],\r\n \"cors\": [],\r\n \"capabilities\": [\r\n {\r\n \"name\": \"EnableServerless\"\r\n }\r\n ],\r\n \"ipRules\": [],\r\n \"backupPolicy\": {\r\n \"type\": \"Continuous\"\r\n },\r\n \"networkAclBypassResourceIds\": []\r\n },\r\n \"identity\": {\r\n \"type\": \"None\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/resourceGroups/kakhandr-rg-2/providers/Microsoft.DocumentDB/databaseAccounts/pitr-serverless-test-restored\",\r\n \"name\": \"pitr-serverless-test-restored\",\r\n \"location\": \"East US 2\",\r\n \"type\": \"Microsoft.DocumentDB/databaseAccounts\",\r\n \"kind\": \"GlobalDocumentDB\",\r\n \"tags\": {},\r\n \"systemData\": {\r\n \"createdAt\": \"2021-03-08T23:36:48.4648174Z\"\r\n },\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"documentEndpoint\": \"https://pitr-serverless-test-restored.documents-staging.windows-ppe.net:443/\",\r\n \"publicNetworkAccess\": \"Enabled\",\r\n \"enableAutomaticFailover\": false,\r\n \"enableMultipleWriteLocations\": false,\r\n \"enablePartitionKeyMonitor\": false,\r\n \"isVirtualNetworkFilterEnabled\": false,\r\n \"virtualNetworkRules\": [],\r\n \"EnabledApiTypes\": \"Sql\",\r\n \"disableKeyBasedMetadataWriteAccess\": false,\r\n \"enableFreeTier\": false,\r\n \"enableAnalyticalStorage\": false,\r\n \"analyticalStorageConfiguration\": null,\r\n \"instanceId\": \"1c4db817-dc87-4715-84d5-3b5c44da3cc1\",\r\n \"createMode\": \"Restore\",\r\n \"databaseAccountOfferType\": \"Standard\",\r\n \"enableCassandraConnector\": false,\r\n \"enableFullFidelityChangeFeed\": false,\r\n \"defaultIdentity\": \"FirstPartyIdentity\",\r\n \"networkAclBypass\": \"None\",\r\n \"consistencyPolicy\": {\r\n \"defaultConsistencyLevel\": \"Session\",\r\n \"maxIntervalInSeconds\": 5,\r\n \"maxStalenessPrefix\": 100\r\n },\r\n \"configurationOverrides\": {},\r\n \"writeLocations\": [\r\n {\r\n \"id\": \"pitr-serverless-test-restored-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://pitr-serverless-test-restored-eastus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"readLocations\": [\r\n {\r\n \"id\": \"pitr-serverless-test-restored-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://pitr-serverless-test-restored-eastus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"locations\": [\r\n {\r\n \"id\": \"pitr-serverless-test-restored-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://pitr-serverless-test-restored-eastus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"failoverPolicies\": [\r\n {\r\n \"id\": \"pitr-serverless-test-restored-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"failoverPriority\": 0\r\n }\r\n ],\r\n \"cors\": [],\r\n \"capabilities\": [\r\n {\r\n \"name\": \"EnableServerless\"\r\n }\r\n ],\r\n \"ipRules\": [],\r\n \"backupPolicy\": {\r\n \"type\": \"Continuous\"\r\n },\r\n \"restoreParameters\": {\r\n \"restoreMode\": \"PointInTime\",\r\n \"restoreSource\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/providers/Microsoft.DocumentDB/locations/eastus2/restorableDatabaseAccounts/06da6f05-e2dc-42ad-b5c1-eb3cb8b2384e\",\r\n \"restoreTimestampInUtc\": \"2021-03-08T23:25:00Z\",\r\n \"databasesToRestore\": []\r\n },\r\n \"networkAclBypassResourceIds\": []\r\n },\r\n \"identity\": {\r\n \"type\": \"None\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/resourceGroups/backup-restore/providers/Microsoft.DocumentDB/databaseAccounts/tepatest0310a\",\r\n \"name\": \"tepatest0310a\",\r\n \"location\": \"East US 2\",\r\n \"type\": \"Microsoft.DocumentDB/databaseAccounts\",\r\n \"kind\": \"GlobalDocumentDB\",\r\n \"tags\": {\r\n \"defaultExperience\": \"Core (SQL)\",\r\n \"hidden-cosmos-mmspecial\": \"\",\r\n \"CosmosAccountType\": \"Non-Production\"\r\n },\r\n \"systemData\": {\r\n \"createdAt\": \"2021-03-10T20:36:37.1720145Z\"\r\n },\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"documentEndpoint\": \"https://tepatest0310a.documents-staging.windows-ppe.net:443/\",\r\n \"publicNetworkAccess\": \"Enabled\",\r\n \"enableAutomaticFailover\": false,\r\n \"enableMultipleWriteLocations\": false,\r\n \"enablePartitionKeyMonitor\": false,\r\n \"isVirtualNetworkFilterEnabled\": false,\r\n \"virtualNetworkRules\": [],\r\n \"EnabledApiTypes\": \"Sql\",\r\n \"disableKeyBasedMetadataWriteAccess\": false,\r\n \"enableFreeTier\": false,\r\n \"enableAnalyticalStorage\": false,\r\n \"analyticalStorageConfiguration\": null,\r\n \"instanceId\": \"678dbef3-bf86-4a6c-acab-4ca4a77a100e\",\r\n \"createMode\": \"Default\",\r\n \"databaseAccountOfferType\": \"Standard\",\r\n \"enableCassandraConnector\": false,\r\n \"connectorOffer\": \"\",\r\n \"enableFullFidelityChangeFeed\": false,\r\n \"defaultIdentity\": \"FirstPartyIdentity\",\r\n \"networkAclBypass\": \"None\",\r\n \"consistencyPolicy\": {\r\n \"defaultConsistencyLevel\": \"Session\",\r\n \"maxIntervalInSeconds\": 5,\r\n \"maxStalenessPrefix\": 100\r\n },\r\n \"configurationOverrides\": {},\r\n \"writeLocations\": [\r\n {\r\n \"id\": \"tepatest0310a-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://tepatest0310a-eastus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"readLocations\": [\r\n {\r\n \"id\": \"tepatest0310a-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://tepatest0310a-eastus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"locations\": [\r\n {\r\n \"id\": \"tepatest0310a-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://tepatest0310a-eastus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"failoverPolicies\": [\r\n {\r\n \"id\": \"tepatest0310a-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"failoverPriority\": 0\r\n }\r\n ],\r\n \"cors\": [],\r\n \"capabilities\": [],\r\n \"ipRules\": [],\r\n \"backupPolicy\": {\r\n \"type\": \"Periodic\",\r\n \"periodicModeProperties\": {\r\n \"backupIntervalInMinutes\": 240,\r\n \"backupRetentionIntervalInHours\": 8,\r\n \"backupStorageRedundancy\": \"Geo\"\r\n }\r\n },\r\n \"networkAclBypassResourceIds\": []\r\n },\r\n \"identity\": {\r\n \"type\": \"None\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/resourceGroups/backup-restore/providers/Microsoft.DocumentDB/databaseAccounts/tepatest0310b\",\r\n \"name\": \"tepatest0310b\",\r\n \"location\": \"East US 2\",\r\n \"type\": \"Microsoft.DocumentDB/databaseAccounts\",\r\n \"kind\": \"GlobalDocumentDB\",\r\n \"tags\": {\r\n \"defaultExperience\": \"Core (SQL)\",\r\n \"hidden-cosmos-mmspecial\": \"\",\r\n \"CosmosAccountType\": \"Non-Production\"\r\n },\r\n \"systemData\": {\r\n \"createdAt\": \"2021-03-10T21:21:45.3052045Z\"\r\n },\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"documentEndpoint\": \"https://tepatest0310b.documents-staging.windows-ppe.net:443/\",\r\n \"publicNetworkAccess\": \"Enabled\",\r\n \"enableAutomaticFailover\": false,\r\n \"enableMultipleWriteLocations\": false,\r\n \"enablePartitionKeyMonitor\": false,\r\n \"isVirtualNetworkFilterEnabled\": false,\r\n \"virtualNetworkRules\": [],\r\n \"EnabledApiTypes\": \"Sql\",\r\n \"disableKeyBasedMetadataWriteAccess\": false,\r\n \"enableFreeTier\": false,\r\n \"enableAnalyticalStorage\": false,\r\n \"analyticalStorageConfiguration\": null,\r\n \"instanceId\": \"1d2d8b93-5746-492c-bb7c-7a632ea2d086\",\r\n \"createMode\": \"Default\",\r\n \"databaseAccountOfferType\": \"Standard\",\r\n \"enableCassandraConnector\": false,\r\n \"connectorOffer\": \"\",\r\n \"enableFullFidelityChangeFeed\": false,\r\n \"defaultIdentity\": \"FirstPartyIdentity\",\r\n \"networkAclBypass\": \"None\",\r\n \"consistencyPolicy\": {\r\n \"defaultConsistencyLevel\": \"Session\",\r\n \"maxIntervalInSeconds\": 5,\r\n \"maxStalenessPrefix\": 100\r\n },\r\n \"configurationOverrides\": {},\r\n \"writeLocations\": [\r\n {\r\n \"id\": \"tepatest0310b-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://tepatest0310b-eastus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"readLocations\": [\r\n {\r\n \"id\": \"tepatest0310b-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://tepatest0310b-eastus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"locations\": [\r\n {\r\n \"id\": \"tepatest0310b-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://tepatest0310b-eastus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"failoverPolicies\": [\r\n {\r\n \"id\": \"tepatest0310b-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"failoverPriority\": 0\r\n }\r\n ],\r\n \"cors\": [],\r\n \"capabilities\": [],\r\n \"ipRules\": [],\r\n \"backupPolicy\": {\r\n \"type\": \"Periodic\",\r\n \"periodicModeProperties\": {\r\n \"backupIntervalInMinutes\": 240,\r\n \"backupRetentionIntervalInHours\": 8,\r\n \"backupStorageRedundancy\": \"Geo\"\r\n }\r\n },\r\n \"networkAclBypassResourceIds\": []\r\n },\r\n \"identity\": {\r\n \"type\": \"None\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/resourceGroups/backup-restore/providers/Microsoft.DocumentDB/databaseAccounts/tepatest0310d\",\r\n \"name\": \"tepatest0310d\",\r\n \"location\": \"East US 2\",\r\n \"type\": \"Microsoft.DocumentDB/databaseAccounts\",\r\n \"kind\": \"GlobalDocumentDB\",\r\n \"tags\": {\r\n \"defaultExperience\": \"Core (SQL)\",\r\n \"hidden-cosmos-mmspecial\": \"\",\r\n \"CosmosAccountType\": \"Non-Production\"\r\n },\r\n \"systemData\": {\r\n \"createdAt\": \"2021-03-10T21:52:59.9199356Z\"\r\n },\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"documentEndpoint\": \"https://tepatest0310d.documents-staging.windows-ppe.net:443/\",\r\n \"publicNetworkAccess\": \"Enabled\",\r\n \"enableAutomaticFailover\": false,\r\n \"enableMultipleWriteLocations\": false,\r\n \"enablePartitionKeyMonitor\": false,\r\n \"isVirtualNetworkFilterEnabled\": false,\r\n \"virtualNetworkRules\": [],\r\n \"EnabledApiTypes\": \"Sql\",\r\n \"disableKeyBasedMetadataWriteAccess\": false,\r\n \"enableFreeTier\": false,\r\n \"enableAnalyticalStorage\": false,\r\n \"analyticalStorageConfiguration\": null,\r\n \"instanceId\": \"21b75fa2-c78b-46e4-bbec-95977d11ba36\",\r\n \"createMode\": \"Default\",\r\n \"databaseAccountOfferType\": \"Standard\",\r\n \"enableCassandraConnector\": false,\r\n \"connectorOffer\": \"\",\r\n \"enableFullFidelityChangeFeed\": false,\r\n \"defaultIdentity\": \"FirstPartyIdentity\",\r\n \"networkAclBypass\": \"None\",\r\n \"consistencyPolicy\": {\r\n \"defaultConsistencyLevel\": \"Session\",\r\n \"maxIntervalInSeconds\": 5,\r\n \"maxStalenessPrefix\": 100\r\n },\r\n \"configurationOverrides\": {},\r\n \"writeLocations\": [\r\n {\r\n \"id\": \"tepatest0310d-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://tepatest0310d-eastus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"readLocations\": [\r\n {\r\n \"id\": \"tepatest0310d-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://tepatest0310d-eastus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"locations\": [\r\n {\r\n \"id\": \"tepatest0310d-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://tepatest0310d-eastus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"failoverPolicies\": [\r\n {\r\n \"id\": \"tepatest0310d-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"failoverPriority\": 0\r\n }\r\n ],\r\n \"cors\": [],\r\n \"capabilities\": [],\r\n \"ipRules\": [],\r\n \"backupPolicy\": {\r\n \"type\": \"Periodic\",\r\n \"periodicModeProperties\": {\r\n \"backupIntervalInMinutes\": 240,\r\n \"backupRetentionIntervalInHours\": 8,\r\n \"backupStorageRedundancy\": \"Geo\"\r\n }\r\n },\r\n \"networkAclBypassResourceIds\": []\r\n },\r\n \"identity\": {\r\n \"type\": \"None\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/resourceGroups/shreygremlintest/providers/Microsoft.DocumentDB/databaseAccounts/shreygremlintest1\",\r\n \"name\": \"shreygremlintest1\",\r\n \"location\": \"East US 2\",\r\n \"type\": \"Microsoft.DocumentDB/databaseAccounts\",\r\n \"kind\": \"GlobalDocumentDB\",\r\n \"tags\": {\r\n \"defaultExperience\": \"Gremlinv2\"\r\n },\r\n \"systemData\": {\r\n \"createdAt\": \"2021-03-11T02:07:44.8615871Z\"\r\n },\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"documentEndpoint\": \"https://shreygremlintest1.documents-staging.windows-ppe.net:443/\",\r\n \"gremlinEndpoint\": \"https://shreygremlintest1.gremlin.cosmos.windows-ppe.net/\",\r\n \"publicNetworkAccess\": \"Enabled\",\r\n \"enableAutomaticFailover\": false,\r\n \"enableMultipleWriteLocations\": false,\r\n \"enablePartitionKeyMonitor\": false,\r\n \"isVirtualNetworkFilterEnabled\": false,\r\n \"virtualNetworkRules\": [],\r\n \"EnabledApiTypes\": \"GremlinV2\",\r\n \"disableKeyBasedMetadataWriteAccess\": false,\r\n \"enableFreeTier\": false,\r\n \"enableAnalyticalStorage\": false,\r\n \"analyticalStorageConfiguration\": null,\r\n \"instanceId\": \"161fd54c-fdb7-4d2d-8afc-324d806e74de\",\r\n \"createMode\": \"Default\",\r\n \"databaseAccountOfferType\": \"Standard\",\r\n \"enableCassandraConnector\": false,\r\n \"connectorOffer\": \"\",\r\n \"enableFullFidelityChangeFeed\": false,\r\n \"defaultIdentity\": \"FirstPartyIdentity\",\r\n \"networkAclBypass\": \"None\",\r\n \"consistencyPolicy\": {\r\n \"defaultConsistencyLevel\": \"Session\",\r\n \"maxIntervalInSeconds\": 5,\r\n \"maxStalenessPrefix\": 100\r\n },\r\n \"apiProperties\": {\r\n \"clusterInstanceCount\": 1,\r\n \"clusterSize\": \"Cosmos.D4s\"\r\n },\r\n \"configurationOverrides\": {},\r\n \"writeLocations\": [\r\n {\r\n \"id\": \"shreygremlintest1-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://shreygremlintest1-eastus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"readLocations\": [\r\n {\r\n \"id\": \"shreygremlintest1-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://shreygremlintest1-eastus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"locations\": [\r\n {\r\n \"id\": \"shreygremlintest1-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://shreygremlintest1-eastus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"failoverPolicies\": [\r\n {\r\n \"id\": \"shreygremlintest1-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"failoverPriority\": 0\r\n }\r\n ],\r\n \"cors\": [],\r\n \"capabilities\": [\r\n {\r\n \"name\": \"EnableGremlinV2\"\r\n }\r\n ],\r\n \"ipRules\": [],\r\n \"backupPolicy\": {\r\n \"type\": \"Periodic\",\r\n \"periodicModeProperties\": {\r\n \"backupIntervalInMinutes\": 240,\r\n \"backupRetentionIntervalInHours\": 8,\r\n \"backupStorageRedundancy\": \"Geo\"\r\n }\r\n },\r\n \"networkAclBypassResourceIds\": []\r\n },\r\n \"identity\": {\r\n \"type\": \"None\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/resourceGroups/shreystagetest/providers/Microsoft.DocumentDB/databaseAccounts/shreytest\",\r\n \"name\": \"shreytest\",\r\n \"location\": \"East US 2\",\r\n \"type\": \"Microsoft.DocumentDB/databaseAccounts\",\r\n \"kind\": \"GlobalDocumentDB\",\r\n \"tags\": {\r\n \"defaultExperience\": \"Core (SQL)\",\r\n \"hidden-cosmos-mmspecial\": \"\",\r\n \"CosmosAccountType\": \"Non-Production\"\r\n },\r\n \"systemData\": {\r\n \"createdAt\": \"2021-03-11T08:51:30.3079148Z\"\r\n },\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"documentEndpoint\": \"https://shreytest.documents-staging.windows-ppe.net:443/\",\r\n \"publicNetworkAccess\": \"Enabled\",\r\n \"enableAutomaticFailover\": false,\r\n \"enableMultipleWriteLocations\": false,\r\n \"enablePartitionKeyMonitor\": false,\r\n \"isVirtualNetworkFilterEnabled\": false,\r\n \"virtualNetworkRules\": [],\r\n \"EnabledApiTypes\": \"Sql\",\r\n \"disableKeyBasedMetadataWriteAccess\": false,\r\n \"enableFreeTier\": false,\r\n \"enableAnalyticalStorage\": false,\r\n \"analyticalStorageConfiguration\": null,\r\n \"instanceId\": \"6629d96d-be05-4211-9bce-73ebe715f174\",\r\n \"createMode\": \"Default\",\r\n \"databaseAccountOfferType\": \"Standard\",\r\n \"enableCassandraConnector\": false,\r\n \"connectorOffer\": \"\",\r\n \"enableFullFidelityChangeFeed\": false,\r\n \"defaultIdentity\": \"FirstPartyIdentity\",\r\n \"networkAclBypass\": \"None\",\r\n \"consistencyPolicy\": {\r\n \"defaultConsistencyLevel\": \"Session\",\r\n \"maxIntervalInSeconds\": 5,\r\n \"maxStalenessPrefix\": 100\r\n },\r\n \"configurationOverrides\": {},\r\n \"writeLocations\": [\r\n {\r\n \"id\": \"shreytest-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://shreytest-eastus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"readLocations\": [\r\n {\r\n \"id\": \"shreytest-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://shreytest-eastus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"locations\": [\r\n {\r\n \"id\": \"shreytest-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://shreytest-eastus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"failoverPolicies\": [\r\n {\r\n \"id\": \"shreytest-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"failoverPriority\": 0\r\n }\r\n ],\r\n \"cors\": [],\r\n \"capabilities\": [],\r\n \"ipRules\": [],\r\n \"backupPolicy\": {\r\n \"type\": \"Periodic\",\r\n \"periodicModeProperties\": {\r\n \"backupIntervalInMinutes\": 240,\r\n \"backupRetentionIntervalInHours\": 8,\r\n \"backupStorageRedundancy\": \"Geo\"\r\n }\r\n },\r\n \"networkAclBypassResourceIds\": []\r\n },\r\n \"identity\": {\r\n \"type\": \"None\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/resourceGroups/pjohari-stage-test/providers/Microsoft.DocumentDB/databaseAccounts/pjohari-stage-eu2\",\r\n \"name\": \"pjohari-stage-eu2\",\r\n \"location\": \"East US 2\",\r\n \"type\": \"Microsoft.DocumentDB/databaseAccounts\",\r\n \"kind\": \"GlobalDocumentDB\",\r\n \"tags\": {\r\n \"defaultExperience\": \"Core (SQL)\",\r\n \"hidden-cosmos-mmspecial\": \"\",\r\n \"CosmosAccountType\": \"Non-Production\"\r\n },\r\n \"systemData\": {\r\n \"createdAt\": \"2021-03-11T18:12:43.4317687Z\"\r\n },\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"documentEndpoint\": \"https://pjohari-stage-eu2.documents-staging.windows-ppe.net:443/\",\r\n \"publicNetworkAccess\": \"Enabled\",\r\n \"enableAutomaticFailover\": false,\r\n \"enableMultipleWriteLocations\": false,\r\n \"enablePartitionKeyMonitor\": false,\r\n \"isVirtualNetworkFilterEnabled\": false,\r\n \"virtualNetworkRules\": [],\r\n \"EnabledApiTypes\": \"Sql\",\r\n \"disableKeyBasedMetadataWriteAccess\": false,\r\n \"enableFreeTier\": false,\r\n \"enableAnalyticalStorage\": false,\r\n \"analyticalStorageConfiguration\": null,\r\n \"instanceId\": \"91aeb50f-f34a-4af9-9eb0-62b652a168be\",\r\n \"createMode\": \"Default\",\r\n \"databaseAccountOfferType\": \"Standard\",\r\n \"enableCassandraConnector\": false,\r\n \"connectorOffer\": \"\",\r\n \"enableFullFidelityChangeFeed\": false,\r\n \"defaultIdentity\": \"FirstPartyIdentity\",\r\n \"networkAclBypass\": \"None\",\r\n \"consistencyPolicy\": {\r\n \"defaultConsistencyLevel\": \"Session\",\r\n \"maxIntervalInSeconds\": 5,\r\n \"maxStalenessPrefix\": 100\r\n },\r\n \"configurationOverrides\": {},\r\n \"writeLocations\": [\r\n {\r\n \"id\": \"pjohari-stage-eu2-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://pjohari-stage-eu2-eastus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"readLocations\": [\r\n {\r\n \"id\": \"pjohari-stage-eu2-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://pjohari-stage-eu2-eastus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"locations\": [\r\n {\r\n \"id\": \"pjohari-stage-eu2-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://pjohari-stage-eu2-eastus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"failoverPolicies\": [\r\n {\r\n \"id\": \"pjohari-stage-eu2-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"failoverPriority\": 0\r\n }\r\n ],\r\n \"cors\": [],\r\n \"capabilities\": [],\r\n \"ipRules\": [],\r\n \"backupPolicy\": {\r\n \"type\": \"Periodic\",\r\n \"periodicModeProperties\": {\r\n \"backupIntervalInMinutes\": 240,\r\n \"backupRetentionIntervalInHours\": 8,\r\n \"backupStorageRedundancy\": \"Geo\"\r\n }\r\n },\r\n \"networkAclBypassResourceIds\": []\r\n },\r\n \"identity\": {\r\n \"type\": \"None\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/resourceGroups/mekaushi/providers/Microsoft.DocumentDB/databaseAccounts/testmvbuilder\",\r\n \"name\": \"testmvbuilder\",\r\n \"location\": \"East US 2\",\r\n \"type\": \"Microsoft.DocumentDB/databaseAccounts\",\r\n \"kind\": \"GlobalDocumentDB\",\r\n \"tags\": {\r\n \"defaultExperience\": \"Cassandra\",\r\n \"hidden-cosmos-mmspecial\": \"\",\r\n \"CosmosAccountType\": \"Non-Production\"\r\n },\r\n \"systemData\": {\r\n \"createdAt\": \"2021-03-11T22:31:41.8970707Z\"\r\n },\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"documentEndpoint\": \"https://testmvbuilder.documents-staging.windows-ppe.net:443/\",\r\n \"cassandraEndpoint\": \"https://testmvbuilder.cassandra.cosmos.windows-ppe.net:443/\",\r\n \"publicNetworkAccess\": \"Enabled\",\r\n \"enableAutomaticFailover\": false,\r\n \"enableMultipleWriteLocations\": false,\r\n \"enablePartitionKeyMonitor\": false,\r\n \"isVirtualNetworkFilterEnabled\": false,\r\n \"virtualNetworkRules\": [],\r\n \"EnabledApiTypes\": \"Cassandra\",\r\n \"disableKeyBasedMetadataWriteAccess\": false,\r\n \"enableFreeTier\": false,\r\n \"enableAnalyticalStorage\": false,\r\n \"analyticalStorageConfiguration\": null,\r\n \"instanceId\": \"b9bca712-00cf-461b-a344-f649270bc433\",\r\n \"createMode\": \"Default\",\r\n \"databaseAccountOfferType\": \"Standard\",\r\n \"enableCassandraConnector\": false,\r\n \"connectorOffer\": \"\",\r\n \"enableFullFidelityChangeFeed\": false,\r\n \"defaultIdentity\": \"FirstPartyIdentity\",\r\n \"networkAclBypass\": \"None\",\r\n \"consistencyPolicy\": {\r\n \"defaultConsistencyLevel\": \"Session\",\r\n \"maxIntervalInSeconds\": 5,\r\n \"maxStalenessPrefix\": 100\r\n },\r\n \"configurationOverrides\": {},\r\n \"writeLocations\": [\r\n {\r\n \"id\": \"testmvbuilder-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://testmvbuilder-eastus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"readLocations\": [\r\n {\r\n \"id\": \"testmvbuilder-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://testmvbuilder-eastus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"locations\": [\r\n {\r\n \"id\": \"testmvbuilder-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://testmvbuilder-eastus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"failoverPolicies\": [\r\n {\r\n \"id\": \"testmvbuilder-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"failoverPriority\": 0\r\n }\r\n ],\r\n \"cors\": [],\r\n \"capabilities\": [\r\n {\r\n \"name\": \"EnableCassandra\"\r\n }\r\n ],\r\n \"ipRules\": [],\r\n \"backupPolicy\": {\r\n \"type\": \"Periodic\",\r\n \"periodicModeProperties\": {\r\n \"backupIntervalInMinutes\": 240,\r\n \"backupRetentionIntervalInHours\": 8,\r\n \"backupStorageRedundancy\": \"Geo\"\r\n }\r\n },\r\n \"networkAclBypassResourceIds\": []\r\n },\r\n \"identity\": {\r\n \"type\": \"None\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/resourceGroups/mekaushi/providers/Microsoft.DocumentDB/databaseAccounts/testmvbuilder2\",\r\n \"name\": \"testmvbuilder2\",\r\n \"location\": \"East US 2\",\r\n \"type\": \"Microsoft.DocumentDB/databaseAccounts\",\r\n \"kind\": \"GlobalDocumentDB\",\r\n \"tags\": {\r\n \"defaultExperience\": \"Cassandra\",\r\n \"hidden-cosmos-mmspecial\": \"\",\r\n \"CosmosAccountType\": \"Non-Production\"\r\n },\r\n \"systemData\": {\r\n \"createdAt\": \"2021-03-11T23:57:49.3229903Z\"\r\n },\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"documentEndpoint\": \"https://testmvbuilder2.documents-staging.windows-ppe.net:443/\",\r\n \"cassandraEndpoint\": \"https://testmvbuilder2.cassandra.cosmos.windows-ppe.net:443/\",\r\n \"publicNetworkAccess\": \"Enabled\",\r\n \"enableAutomaticFailover\": false,\r\n \"enableMultipleWriteLocations\": false,\r\n \"enablePartitionKeyMonitor\": false,\r\n \"isVirtualNetworkFilterEnabled\": false,\r\n \"virtualNetworkRules\": [],\r\n \"EnabledApiTypes\": \"Cassandra\",\r\n \"disableKeyBasedMetadataWriteAccess\": false,\r\n \"enableFreeTier\": false,\r\n \"enableAnalyticalStorage\": false,\r\n \"analyticalStorageConfiguration\": null,\r\n \"instanceId\": \"fa0993ae-3451-49c2-9452-095e8f5902a0\",\r\n \"createMode\": \"Default\",\r\n \"databaseAccountOfferType\": \"Standard\",\r\n \"enableCassandraConnector\": false,\r\n \"connectorOffer\": \"\",\r\n \"enableFullFidelityChangeFeed\": false,\r\n \"defaultIdentity\": \"FirstPartyIdentity\",\r\n \"networkAclBypass\": \"None\",\r\n \"consistencyPolicy\": {\r\n \"defaultConsistencyLevel\": \"Session\",\r\n \"maxIntervalInSeconds\": 5,\r\n \"maxStalenessPrefix\": 100\r\n },\r\n \"configurationOverrides\": {},\r\n \"writeLocations\": [\r\n {\r\n \"id\": \"testmvbuilder2-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://testmvbuilder2-eastus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"readLocations\": [\r\n {\r\n \"id\": \"testmvbuilder2-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://testmvbuilder2-eastus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"locations\": [\r\n {\r\n \"id\": \"testmvbuilder2-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://testmvbuilder2-eastus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"failoverPolicies\": [\r\n {\r\n \"id\": \"testmvbuilder2-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"failoverPriority\": 0\r\n }\r\n ],\r\n \"cors\": [],\r\n \"capabilities\": [\r\n {\r\n \"name\": \"EnableCassandra\"\r\n }\r\n ],\r\n \"ipRules\": [],\r\n \"backupPolicy\": {\r\n \"type\": \"Periodic\",\r\n \"periodicModeProperties\": {\r\n \"backupIntervalInMinutes\": 240,\r\n \"backupRetentionIntervalInHours\": 8,\r\n \"backupStorageRedundancy\": \"Geo\"\r\n }\r\n },\r\n \"networkAclBypassResourceIds\": []\r\n },\r\n \"identity\": {\r\n \"type\": \"None\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/resourceGroups/mekaushi/providers/Microsoft.DocumentDB/databaseAccounts/tesmvbuilder3\",\r\n \"name\": \"tesmvbuilder3\",\r\n \"location\": \"East US 2\",\r\n \"type\": \"Microsoft.DocumentDB/databaseAccounts\",\r\n \"kind\": \"GlobalDocumentDB\",\r\n \"tags\": {\r\n \"defaultExperience\": \"Cassandra\",\r\n \"hidden-cosmos-mmspecial\": \"\",\r\n \"CosmosAccountType\": \"Non-Production\"\r\n },\r\n \"systemData\": {\r\n \"createdAt\": \"2021-03-12T00:40:27.5945409Z\"\r\n },\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"documentEndpoint\": \"https://tesmvbuilder3.documents-staging.windows-ppe.net:443/\",\r\n \"cassandraEndpoint\": \"https://tesmvbuilder3.cassandra.cosmos.windows-ppe.net:443/\",\r\n \"publicNetworkAccess\": \"Enabled\",\r\n \"enableAutomaticFailover\": false,\r\n \"enableMultipleWriteLocations\": false,\r\n \"enablePartitionKeyMonitor\": false,\r\n \"isVirtualNetworkFilterEnabled\": false,\r\n \"virtualNetworkRules\": [],\r\n \"EnabledApiTypes\": \"Cassandra\",\r\n \"disableKeyBasedMetadataWriteAccess\": false,\r\n \"enableFreeTier\": false,\r\n \"enableAnalyticalStorage\": false,\r\n \"analyticalStorageConfiguration\": null,\r\n \"instanceId\": \"319146c3-627a-41c5-a4e0-ffef0e10400a\",\r\n \"createMode\": \"Default\",\r\n \"databaseAccountOfferType\": \"Standard\",\r\n \"enableCassandraConnector\": false,\r\n \"connectorOffer\": \"\",\r\n \"enableFullFidelityChangeFeed\": false,\r\n \"defaultIdentity\": \"FirstPartyIdentity\",\r\n \"networkAclBypass\": \"None\",\r\n \"consistencyPolicy\": {\r\n \"defaultConsistencyLevel\": \"Session\",\r\n \"maxIntervalInSeconds\": 5,\r\n \"maxStalenessPrefix\": 100\r\n },\r\n \"configurationOverrides\": {},\r\n \"writeLocations\": [\r\n {\r\n \"id\": \"tesmvbuilder3-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://tesmvbuilder3-eastus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"readLocations\": [\r\n {\r\n \"id\": \"tesmvbuilder3-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://tesmvbuilder3-eastus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"locations\": [\r\n {\r\n \"id\": \"tesmvbuilder3-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://tesmvbuilder3-eastus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"failoverPolicies\": [\r\n {\r\n \"id\": \"tesmvbuilder3-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"failoverPriority\": 0\r\n }\r\n ],\r\n \"cors\": [],\r\n \"capabilities\": [\r\n {\r\n \"name\": \"EnableCassandra\"\r\n }\r\n ],\r\n \"ipRules\": [],\r\n \"backupPolicy\": {\r\n \"type\": \"Periodic\",\r\n \"periodicModeProperties\": {\r\n \"backupIntervalInMinutes\": 240,\r\n \"backupRetentionIntervalInHours\": 8,\r\n \"backupStorageRedundancy\": \"Geo\"\r\n }\r\n },\r\n \"networkAclBypassResourceIds\": []\r\n },\r\n \"identity\": {\r\n \"type\": \"None\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/resourceGroups/mekaushi/providers/Microsoft.DocumentDB/databaseAccounts/testmvbuilder4\",\r\n \"name\": \"testmvbuilder4\",\r\n \"location\": \"East US 2\",\r\n \"type\": \"Microsoft.DocumentDB/databaseAccounts\",\r\n \"kind\": \"GlobalDocumentDB\",\r\n \"tags\": {\r\n \"defaultExperience\": \"Cassandra\",\r\n \"hidden-cosmos-mmspecial\": \"\",\r\n \"CosmosAccountType\": \"Non-Production\"\r\n },\r\n \"systemData\": {\r\n \"createdAt\": \"2021-03-12T05:26:24.8742151Z\"\r\n },\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"documentEndpoint\": \"https://testmvbuilder4.documents-staging.windows-ppe.net:443/\",\r\n \"cassandraEndpoint\": \"https://testmvbuilder4.cassandra.cosmos.windows-ppe.net:443/\",\r\n \"publicNetworkAccess\": \"Enabled\",\r\n \"enableAutomaticFailover\": false,\r\n \"enableMultipleWriteLocations\": false,\r\n \"enablePartitionKeyMonitor\": false,\r\n \"isVirtualNetworkFilterEnabled\": false,\r\n \"virtualNetworkRules\": [],\r\n \"EnabledApiTypes\": \"Cassandra\",\r\n \"disableKeyBasedMetadataWriteAccess\": false,\r\n \"enableFreeTier\": false,\r\n \"enableAnalyticalStorage\": false,\r\n \"analyticalStorageConfiguration\": null,\r\n \"instanceId\": \"ead85aba-bbed-4c41-b7f6-5d3221a4998c\",\r\n \"createMode\": \"Default\",\r\n \"databaseAccountOfferType\": \"Standard\",\r\n \"enableCassandraConnector\": false,\r\n \"connectorOffer\": \"\",\r\n \"enableFullFidelityChangeFeed\": false,\r\n \"defaultIdentity\": \"FirstPartyIdentity\",\r\n \"networkAclBypass\": \"None\",\r\n \"consistencyPolicy\": {\r\n \"defaultConsistencyLevel\": \"Session\",\r\n \"maxIntervalInSeconds\": 5,\r\n \"maxStalenessPrefix\": 100\r\n },\r\n \"configurationOverrides\": {},\r\n \"writeLocations\": [\r\n {\r\n \"id\": \"testmvbuilder4-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://testmvbuilder4-eastus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"readLocations\": [\r\n {\r\n \"id\": \"testmvbuilder4-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://testmvbuilder4-eastus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"locations\": [\r\n {\r\n \"id\": \"testmvbuilder4-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://testmvbuilder4-eastus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"failoverPolicies\": [\r\n {\r\n \"id\": \"testmvbuilder4-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"failoverPriority\": 0\r\n }\r\n ],\r\n \"cors\": [],\r\n \"capabilities\": [\r\n {\r\n \"name\": \"EnableCassandra\"\r\n }\r\n ],\r\n \"ipRules\": [],\r\n \"backupPolicy\": {\r\n \"type\": \"Periodic\",\r\n \"periodicModeProperties\": {\r\n \"backupIntervalInMinutes\": 240,\r\n \"backupRetentionIntervalInHours\": 8,\r\n \"backupStorageRedundancy\": \"Geo\"\r\n }\r\n },\r\n \"networkAclBypassResourceIds\": []\r\n },\r\n \"identity\": {\r\n \"type\": \"None\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/resourceGroups/mekaushi/providers/Microsoft.DocumentDB/databaseAccounts/testmvbuilder5\",\r\n \"name\": \"testmvbuilder5\",\r\n \"location\": \"East US 2\",\r\n \"type\": \"Microsoft.DocumentDB/databaseAccounts\",\r\n \"kind\": \"GlobalDocumentDB\",\r\n \"tags\": {\r\n \"defaultExperience\": \"Cassandra\",\r\n \"hidden-cosmos-mmspecial\": \"\",\r\n \"CosmosAccountType\": \"Non-Production\"\r\n },\r\n \"systemData\": {\r\n \"createdAt\": \"2021-03-12T05:37:32.4220539Z\"\r\n },\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"documentEndpoint\": \"https://testmvbuilder5.documents-staging.windows-ppe.net:443/\",\r\n \"cassandraEndpoint\": \"https://testmvbuilder5.cassandra.cosmos.windows-ppe.net:443/\",\r\n \"publicNetworkAccess\": \"Enabled\",\r\n \"enableAutomaticFailover\": false,\r\n \"enableMultipleWriteLocations\": false,\r\n \"enablePartitionKeyMonitor\": false,\r\n \"isVirtualNetworkFilterEnabled\": false,\r\n \"virtualNetworkRules\": [],\r\n \"EnabledApiTypes\": \"Cassandra\",\r\n \"disableKeyBasedMetadataWriteAccess\": false,\r\n \"enableFreeTier\": false,\r\n \"enableAnalyticalStorage\": false,\r\n \"analyticalStorageConfiguration\": null,\r\n \"instanceId\": \"b879f341-2f6f-4696-b24f-14358f3a5c7b\",\r\n \"createMode\": \"Default\",\r\n \"databaseAccountOfferType\": \"Standard\",\r\n \"enableCassandraConnector\": false,\r\n \"connectorOffer\": \"\",\r\n \"enableFullFidelityChangeFeed\": false,\r\n \"defaultIdentity\": \"FirstPartyIdentity\",\r\n \"networkAclBypass\": \"None\",\r\n \"consistencyPolicy\": {\r\n \"defaultConsistencyLevel\": \"Session\",\r\n \"maxIntervalInSeconds\": 5,\r\n \"maxStalenessPrefix\": 100\r\n },\r\n \"configurationOverrides\": {},\r\n \"writeLocations\": [\r\n {\r\n \"id\": \"testmvbuilder5-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://testmvbuilder5-eastus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"readLocations\": [\r\n {\r\n \"id\": \"testmvbuilder5-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://testmvbuilder5-eastus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"locations\": [\r\n {\r\n \"id\": \"testmvbuilder5-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://testmvbuilder5-eastus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"failoverPolicies\": [\r\n {\r\n \"id\": \"testmvbuilder5-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"failoverPriority\": 0\r\n }\r\n ],\r\n \"cors\": [],\r\n \"capabilities\": [\r\n {\r\n \"name\": \"EnableCassandra\"\r\n }\r\n ],\r\n \"ipRules\": [],\r\n \"backupPolicy\": {\r\n \"type\": \"Periodic\",\r\n \"periodicModeProperties\": {\r\n \"backupIntervalInMinutes\": 240,\r\n \"backupRetentionIntervalInHours\": 8,\r\n \"backupStorageRedundancy\": \"Geo\"\r\n }\r\n },\r\n \"networkAclBypassResourceIds\": []\r\n },\r\n \"identity\": {\r\n \"type\": \"None\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/resourceGroups/mekaushi/providers/Microsoft.DocumentDB/databaseAccounts/testmvbuilder8\",\r\n \"name\": \"testmvbuilder8\",\r\n \"location\": \"East US 2\",\r\n \"type\": \"Microsoft.DocumentDB/databaseAccounts\",\r\n \"kind\": \"GlobalDocumentDB\",\r\n \"tags\": {},\r\n \"systemData\": {\r\n \"createdAt\": \"2021-03-12T07:23:58.3503072Z\"\r\n },\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"documentEndpoint\": \"https://testmvbuilder8.documents-staging.windows-ppe.net:443/\",\r\n \"cassandraEndpoint\": \"https://testmvbuilder8.cassandra.cosmos.windows-ppe.net:443/\",\r\n \"publicNetworkAccess\": \"Enabled\",\r\n \"enableAutomaticFailover\": false,\r\n \"enableMultipleWriteLocations\": false,\r\n \"enablePartitionKeyMonitor\": false,\r\n \"isVirtualNetworkFilterEnabled\": false,\r\n \"virtualNetworkRules\": [],\r\n \"EnabledApiTypes\": \"Cassandra\",\r\n \"disableKeyBasedMetadataWriteAccess\": false,\r\n \"enableFreeTier\": false,\r\n \"enableAnalyticalStorage\": false,\r\n \"analyticalStorageConfiguration\": null,\r\n \"instanceId\": \"dde7db97-a4d9-4dbf-a72f-2241a958f843\",\r\n \"createMode\": \"Default\",\r\n \"databaseAccountOfferType\": \"Standard\",\r\n \"enableCassandraConnector\": false,\r\n \"connectorOffer\": \"\",\r\n \"enableMaterializedViews\": true,\r\n \"enableFullFidelityChangeFeed\": false,\r\n \"defaultIdentity\": \"FirstPartyIdentity\",\r\n \"networkAclBypass\": \"None\",\r\n \"consistencyPolicy\": {\r\n \"defaultConsistencyLevel\": \"Session\",\r\n \"maxIntervalInSeconds\": 5,\r\n \"maxStalenessPrefix\": 100\r\n },\r\n \"configurationOverrides\": {},\r\n \"writeLocations\": [\r\n {\r\n \"id\": \"testmvbuilder8-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://testmvbuilder8-eastus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"readLocations\": [\r\n {\r\n \"id\": \"testmvbuilder8-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://testmvbuilder8-eastus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"locations\": [\r\n {\r\n \"id\": \"testmvbuilder8-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://testmvbuilder8-eastus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"failoverPolicies\": [\r\n {\r\n \"id\": \"testmvbuilder8-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"failoverPriority\": 0\r\n }\r\n ],\r\n \"cors\": [],\r\n \"capabilities\": [\r\n {\r\n \"name\": \"EnableCassandra\"\r\n }\r\n ],\r\n \"ipRules\": [],\r\n \"backupPolicy\": {\r\n \"type\": \"Periodic\",\r\n \"periodicModeProperties\": {\r\n \"backupIntervalInMinutes\": 240,\r\n \"backupRetentionIntervalInHours\": 8,\r\n \"backupStorageRedundancy\": \"Geo\"\r\n }\r\n },\r\n \"networkAclBypassResourceIds\": []\r\n },\r\n \"identity\": {\r\n \"type\": \"None\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/resourceGroups/CtlProfilingPrototypes/providers/Microsoft.DocumentDB/databaseAccounts/ecommerceworkloadtest\",\r\n \"name\": \"ecommerceworkloadtest\",\r\n \"location\": \"East US 2\",\r\n \"type\": \"Microsoft.DocumentDB/databaseAccounts\",\r\n \"kind\": \"GlobalDocumentDB\",\r\n \"tags\": {\r\n \"defaultExperience\": \"Core (SQL)\",\r\n \"hidden-cosmos-mmspecial\": \"\",\r\n \"CosmosAccountType\": \"Non-Production\"\r\n },\r\n \"systemData\": {\r\n \"createdAt\": \"2021-03-12T18:38:38.6044454Z\"\r\n },\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"documentEndpoint\": \"https://ecommerceworkloadtest.documents-staging.windows-ppe.net:443/\",\r\n \"publicNetworkAccess\": \"Enabled\",\r\n \"enableAutomaticFailover\": false,\r\n \"enableMultipleWriteLocations\": false,\r\n \"enablePartitionKeyMonitor\": false,\r\n \"isVirtualNetworkFilterEnabled\": false,\r\n \"virtualNetworkRules\": [],\r\n \"EnabledApiTypes\": \"Sql\",\r\n \"disableKeyBasedMetadataWriteAccess\": false,\r\n \"enableFreeTier\": false,\r\n \"enableAnalyticalStorage\": false,\r\n \"analyticalStorageConfiguration\": null,\r\n \"instanceId\": \"d9bc6200-0e96-4751-b1fa-26846ffbc35a\",\r\n \"createMode\": \"Default\",\r\n \"databaseAccountOfferType\": \"Standard\",\r\n \"enableCassandraConnector\": false,\r\n \"connectorOffer\": \"\",\r\n \"enableMaterializedViews\": false,\r\n \"enableFullFidelityChangeFeed\": false,\r\n \"defaultIdentity\": \"FirstPartyIdentity\",\r\n \"networkAclBypass\": \"None\",\r\n \"consistencyPolicy\": {\r\n \"defaultConsistencyLevel\": \"Session\",\r\n \"maxIntervalInSeconds\": 5,\r\n \"maxStalenessPrefix\": 100\r\n },\r\n \"configurationOverrides\": {},\r\n \"writeLocations\": [\r\n {\r\n \"id\": \"ecommerceworkloadtest-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://ecommerceworkloadtest-eastus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"readLocations\": [\r\n {\r\n \"id\": \"ecommerceworkloadtest-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://ecommerceworkloadtest-eastus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"locations\": [\r\n {\r\n \"id\": \"ecommerceworkloadtest-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://ecommerceworkloadtest-eastus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"failoverPolicies\": [\r\n {\r\n \"id\": \"ecommerceworkloadtest-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"failoverPriority\": 0\r\n }\r\n ],\r\n \"cors\": [],\r\n \"capabilities\": [],\r\n \"ipRules\": [],\r\n \"backupPolicy\": {\r\n \"type\": \"Periodic\",\r\n \"periodicModeProperties\": {\r\n \"backupIntervalInMinutes\": 240,\r\n \"backupRetentionIntervalInHours\": 8,\r\n \"backupStorageRedundancy\": \"Geo\"\r\n }\r\n },\r\n \"networkAclBypassResourceIds\": []\r\n },\r\n \"identity\": {\r\n \"type\": \"None\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/resourceGroups/SqlxStageSignoff/providers/Microsoft.DocumentDB/databaseAccounts/sqlxjavastagesignoff\",\r\n \"name\": \"sqlxjavastagesignoff\",\r\n \"location\": \"East US 2\",\r\n \"type\": \"Microsoft.DocumentDB/databaseAccounts\",\r\n \"kind\": \"GlobalDocumentDB\",\r\n \"tags\": {\r\n \"defaultExperience\": \"Core (SQL)\",\r\n \"hidden-cosmos-mmspecial\": \"\",\r\n \"CosmosAccountType\": \"Non-Production\"\r\n },\r\n \"systemData\": {\r\n \"createdAt\": \"2021-03-15T16:50:12.8435432Z\"\r\n },\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"documentEndpoint\": \"https://sqlxjavastagesignoff.documents-staging.windows-ppe.net:443/\",\r\n \"publicNetworkAccess\": \"Enabled\",\r\n \"enableAutomaticFailover\": false,\r\n \"enableMultipleWriteLocations\": false,\r\n \"enablePartitionKeyMonitor\": false,\r\n \"isVirtualNetworkFilterEnabled\": false,\r\n \"virtualNetworkRules\": [],\r\n \"EnabledApiTypes\": \"Sql\",\r\n \"disableKeyBasedMetadataWriteAccess\": false,\r\n \"enableFreeTier\": false,\r\n \"enableAnalyticalStorage\": false,\r\n \"analyticalStorageConfiguration\": null,\r\n \"instanceId\": \"3dbdad58-e720-4d3f-bb94-9805fc4d4f78\",\r\n \"createMode\": \"Default\",\r\n \"databaseAccountOfferType\": \"Standard\",\r\n \"enableCassandraConnector\": false,\r\n \"connectorOffer\": \"\",\r\n \"enableMaterializedViews\": false,\r\n \"enableFullFidelityChangeFeed\": false,\r\n \"defaultIdentity\": \"FirstPartyIdentity\",\r\n \"networkAclBypass\": \"None\",\r\n \"consistencyPolicy\": {\r\n \"defaultConsistencyLevel\": \"Session\",\r\n \"maxIntervalInSeconds\": 5,\r\n \"maxStalenessPrefix\": 100\r\n },\r\n \"configurationOverrides\": {},\r\n \"writeLocations\": [\r\n {\r\n \"id\": \"sqlxjavastagesignoff-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://sqlxjavastagesignoff-eastus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"readLocations\": [\r\n {\r\n \"id\": \"sqlxjavastagesignoff-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://sqlxjavastagesignoff-eastus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"locations\": [\r\n {\r\n \"id\": \"sqlxjavastagesignoff-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://sqlxjavastagesignoff-eastus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"failoverPolicies\": [\r\n {\r\n \"id\": \"sqlxjavastagesignoff-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"failoverPriority\": 0\r\n }\r\n ],\r\n \"cors\": [],\r\n \"capabilities\": [],\r\n \"ipRules\": [],\r\n \"backupPolicy\": {\r\n \"type\": \"Periodic\",\r\n \"periodicModeProperties\": {\r\n \"backupIntervalInMinutes\": 240,\r\n \"backupRetentionIntervalInHours\": 8,\r\n \"backupStorageRedundancy\": \"Geo\"\r\n }\r\n },\r\n \"networkAclBypassResourceIds\": []\r\n },\r\n \"identity\": {\r\n \"type\": \"None\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/resourceGroups/SqlxStageSignoff/providers/Microsoft.DocumentDB/databaseAccounts/sqlxstagesignoff\",\r\n \"name\": \"sqlxstagesignoff\",\r\n \"location\": \"East US 2\",\r\n \"type\": \"Microsoft.DocumentDB/databaseAccounts\",\r\n \"kind\": \"GlobalDocumentDB\",\r\n \"tags\": {\r\n \"defaultExperience\": \"Core (SQL)\",\r\n \"hidden-cosmos-mmspecial\": \"\",\r\n \"CosmosAccountType\": \"Non-Production\"\r\n },\r\n \"systemData\": {\r\n \"createdAt\": \"2021-03-15T21:58:39.7593502Z\"\r\n },\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"documentEndpoint\": \"https://sqlxstagesignoff.documents-staging.windows-ppe.net:443/\",\r\n \"publicNetworkAccess\": \"Enabled\",\r\n \"enableAutomaticFailover\": false,\r\n \"enableMultipleWriteLocations\": false,\r\n \"enablePartitionKeyMonitor\": false,\r\n \"isVirtualNetworkFilterEnabled\": false,\r\n \"virtualNetworkRules\": [],\r\n \"EnabledApiTypes\": \"Sql\",\r\n \"disableKeyBasedMetadataWriteAccess\": false,\r\n \"enableFreeTier\": false,\r\n \"enableAnalyticalStorage\": false,\r\n \"analyticalStorageConfiguration\": null,\r\n \"instanceId\": \"caf3fa53-e03e-4887-9c0d-45a5995f4755\",\r\n \"createMode\": \"Default\",\r\n \"databaseAccountOfferType\": \"Standard\",\r\n \"enableCassandraConnector\": false,\r\n \"connectorOffer\": \"\",\r\n \"enableMaterializedViews\": false,\r\n \"enableFullFidelityChangeFeed\": false,\r\n \"defaultIdentity\": \"FirstPartyIdentity\",\r\n \"networkAclBypass\": \"None\",\r\n \"consistencyPolicy\": {\r\n \"defaultConsistencyLevel\": \"Eventual\",\r\n \"maxIntervalInSeconds\": 5,\r\n \"maxStalenessPrefix\": 100\r\n },\r\n \"configurationOverrides\": {},\r\n \"writeLocations\": [\r\n {\r\n \"id\": \"sqlxstagesignoff-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://sqlxstagesignoff-eastus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"readLocations\": [\r\n {\r\n \"id\": \"sqlxstagesignoff-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://sqlxstagesignoff-eastus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"locations\": [\r\n {\r\n \"id\": \"sqlxstagesignoff-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://sqlxstagesignoff-eastus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"failoverPolicies\": [\r\n {\r\n \"id\": \"sqlxstagesignoff-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"failoverPriority\": 0\r\n }\r\n ],\r\n \"cors\": [],\r\n \"capabilities\": [],\r\n \"ipRules\": [],\r\n \"backupPolicy\": {\r\n \"type\": \"Periodic\",\r\n \"periodicModeProperties\": {\r\n \"backupIntervalInMinutes\": 240,\r\n \"backupRetentionIntervalInHours\": 8,\r\n \"backupStorageRedundancy\": \"Geo\"\r\n }\r\n },\r\n \"networkAclBypassResourceIds\": []\r\n },\r\n \"identity\": {\r\n \"type\": \"None\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/resourceGroups/SqlxStageSignoff/providers/Microsoft.DocumentDB/databaseAccounts/sqlxpythonstagesignoff\",\r\n \"name\": \"sqlxpythonstagesignoff\",\r\n \"location\": \"East US 2\",\r\n \"type\": \"Microsoft.DocumentDB/databaseAccounts\",\r\n \"kind\": \"GlobalDocumentDB\",\r\n \"tags\": {\r\n \"defaultExperience\": \"Core (SQL)\",\r\n \"hidden-cosmos-mmspecial\": \"\",\r\n \"CosmosAccountType\": \"Non-Production\"\r\n },\r\n \"systemData\": {\r\n \"createdAt\": \"2021-03-16T00:16:17.6580081Z\"\r\n },\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"documentEndpoint\": \"https://sqlxpythonstagesignoff.documents-staging.windows-ppe.net:443/\",\r\n \"publicNetworkAccess\": \"Enabled\",\r\n \"enableAutomaticFailover\": false,\r\n \"enableMultipleWriteLocations\": false,\r\n \"enablePartitionKeyMonitor\": false,\r\n \"isVirtualNetworkFilterEnabled\": false,\r\n \"virtualNetworkRules\": [],\r\n \"EnabledApiTypes\": \"Sql\",\r\n \"disableKeyBasedMetadataWriteAccess\": false,\r\n \"enableFreeTier\": false,\r\n \"enableAnalyticalStorage\": false,\r\n \"analyticalStorageConfiguration\": null,\r\n \"instanceId\": \"05b26858-b489-4c1b-b85d-e47ae5060c29\",\r\n \"createMode\": \"Default\",\r\n \"databaseAccountOfferType\": \"Standard\",\r\n \"enableCassandraConnector\": false,\r\n \"connectorOffer\": \"\",\r\n \"enableMaterializedViews\": false,\r\n \"enableFullFidelityChangeFeed\": false,\r\n \"defaultIdentity\": \"FirstPartyIdentity\",\r\n \"networkAclBypass\": \"None\",\r\n \"consistencyPolicy\": {\r\n \"defaultConsistencyLevel\": \"Session\",\r\n \"maxIntervalInSeconds\": 5,\r\n \"maxStalenessPrefix\": 100\r\n },\r\n \"configurationOverrides\": {},\r\n \"writeLocations\": [\r\n {\r\n \"id\": \"sqlxpythonstagesignoff-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://sqlxpythonstagesignoff-eastus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"readLocations\": [\r\n {\r\n \"id\": \"sqlxpythonstagesignoff-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://sqlxpythonstagesignoff-eastus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"locations\": [\r\n {\r\n \"id\": \"sqlxpythonstagesignoff-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://sqlxpythonstagesignoff-eastus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"failoverPolicies\": [\r\n {\r\n \"id\": \"sqlxpythonstagesignoff-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"failoverPriority\": 0\r\n }\r\n ],\r\n \"cors\": [],\r\n \"capabilities\": [],\r\n \"ipRules\": [],\r\n \"backupPolicy\": {\r\n \"type\": \"Periodic\",\r\n \"periodicModeProperties\": {\r\n \"backupIntervalInMinutes\": 240,\r\n \"backupRetentionIntervalInHours\": 8,\r\n \"backupStorageRedundancy\": \"Geo\"\r\n }\r\n },\r\n \"networkAclBypassResourceIds\": []\r\n },\r\n \"identity\": {\r\n \"type\": \"None\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/resourceGroups/viho-rg-stage/providers/Microsoft.DocumentDB/databaseAccounts/vihosqlaz\",\r\n \"name\": \"vihosqlaz\",\r\n \"location\": \"East US 2\",\r\n \"type\": \"Microsoft.DocumentDB/databaseAccounts\",\r\n \"kind\": \"GlobalDocumentDB\",\r\n \"tags\": {\r\n \"defaultExperience\": \"Core (SQL)\",\r\n \"hidden-cosmos-mmspecial\": \"\",\r\n \"CosmosAccountType\": \"Non-Production\"\r\n },\r\n \"systemData\": {\r\n \"createdAt\": \"2021-03-20T00:40:34.5604465Z\"\r\n },\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"documentEndpoint\": \"https://vihosqlaz.documents-staging.windows-ppe.net:443/\",\r\n \"sqlEndpoint\": \"https://vihosqlaz.documents-staging.windows-ppe.net:443/\",\r\n \"publicNetworkAccess\": \"Enabled\",\r\n \"enableAutomaticFailover\": false,\r\n \"enableMultipleWriteLocations\": false,\r\n \"enablePartitionKeyMonitor\": false,\r\n \"isVirtualNetworkFilterEnabled\": false,\r\n \"virtualNetworkRules\": [],\r\n \"EnabledApiTypes\": \"Sql\",\r\n \"disableKeyBasedMetadataWriteAccess\": false,\r\n \"enableFreeTier\": false,\r\n \"enableAnalyticalStorage\": false,\r\n \"analyticalStorageConfiguration\": null,\r\n \"instanceId\": \"398282d8-1c34-4785-92bf-4673e97a8619\",\r\n \"createMode\": \"Default\",\r\n \"databaseAccountOfferType\": \"Standard\",\r\n \"enableCassandraConnector\": false,\r\n \"connectorOffer\": \"\",\r\n \"enableMaterializedViews\": false,\r\n \"enableFullFidelityChangeFeed\": false,\r\n \"defaultIdentity\": \"FirstPartyIdentity\",\r\n \"networkAclBypass\": \"None\",\r\n \"consistencyPolicy\": {\r\n \"defaultConsistencyLevel\": \"Session\",\r\n \"maxIntervalInSeconds\": 5,\r\n \"maxStalenessPrefix\": 100\r\n },\r\n \"configurationOverrides\": {},\r\n \"writeLocations\": [\r\n {\r\n \"id\": \"vihosqlaz-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://vihosqlaz-eastus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": true\r\n }\r\n ],\r\n \"readLocations\": [\r\n {\r\n \"id\": \"vihosqlaz-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://vihosqlaz-eastus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": true\r\n }\r\n ],\r\n \"locations\": [\r\n {\r\n \"id\": \"vihosqlaz-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://vihosqlaz-eastus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": true\r\n }\r\n ],\r\n \"failoverPolicies\": [\r\n {\r\n \"id\": \"vihosqlaz-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"failoverPriority\": 0\r\n }\r\n ],\r\n \"cors\": [],\r\n \"capabilities\": [\r\n {\r\n \"name\": \"EnableSql\"\r\n }\r\n ],\r\n \"ipRules\": [],\r\n \"backupPolicy\": {\r\n \"type\": \"Periodic\",\r\n \"periodicModeProperties\": {\r\n \"backupIntervalInMinutes\": 240,\r\n \"backupRetentionIntervalInHours\": 8,\r\n \"backupStorageRedundancy\": \"Geo\"\r\n }\r\n },\r\n \"networkAclBypassResourceIds\": []\r\n },\r\n \"identity\": {\r\n \"type\": \"None\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/resourceGroups/viho-rg-stage/providers/Microsoft.DocumentDB/databaseAccounts/vihosqlaz2\",\r\n \"name\": \"vihosqlaz2\",\r\n \"location\": \"East US 2\",\r\n \"type\": \"Microsoft.DocumentDB/databaseAccounts\",\r\n \"kind\": \"GlobalDocumentDB\",\r\n \"tags\": {\r\n \"defaultExperience\": \"Core (SQL)\",\r\n \"hidden-cosmos-mmspecial\": \"\",\r\n \"CosmosAccountType\": \"Non-Production\"\r\n },\r\n \"systemData\": {\r\n \"createdAt\": \"2021-03-20T00:41:09.2301281Z\"\r\n },\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"documentEndpoint\": \"https://vihosqlaz2.documents-staging.windows-ppe.net:443/\",\r\n \"publicNetworkAccess\": \"Enabled\",\r\n \"enableAutomaticFailover\": false,\r\n \"enableMultipleWriteLocations\": false,\r\n \"enablePartitionKeyMonitor\": false,\r\n \"isVirtualNetworkFilterEnabled\": false,\r\n \"virtualNetworkRules\": [],\r\n \"EnabledApiTypes\": \"Sql\",\r\n \"disableKeyBasedMetadataWriteAccess\": false,\r\n \"enableFreeTier\": false,\r\n \"enableAnalyticalStorage\": false,\r\n \"analyticalStorageConfiguration\": null,\r\n \"instanceId\": \"dcb15e65-7448-4f97-b4dc-59723390c993\",\r\n \"createMode\": \"Default\",\r\n \"databaseAccountOfferType\": \"Standard\",\r\n \"enableCassandraConnector\": false,\r\n \"connectorOffer\": \"\",\r\n \"enableMaterializedViews\": false,\r\n \"enableFullFidelityChangeFeed\": false,\r\n \"defaultIdentity\": \"FirstPartyIdentity\",\r\n \"networkAclBypass\": \"None\",\r\n \"consistencyPolicy\": {\r\n \"defaultConsistencyLevel\": \"Session\",\r\n \"maxIntervalInSeconds\": 5,\r\n \"maxStalenessPrefix\": 100\r\n },\r\n \"configurationOverrides\": {},\r\n \"writeLocations\": [\r\n {\r\n \"id\": \"vihosqlaz2-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://vihosqlaz2-eastus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": true\r\n }\r\n ],\r\n \"readLocations\": [\r\n {\r\n \"id\": \"vihosqlaz2-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://vihosqlaz2-eastus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": true\r\n }\r\n ],\r\n \"locations\": [\r\n {\r\n \"id\": \"vihosqlaz2-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://vihosqlaz2-eastus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": true\r\n }\r\n ],\r\n \"failoverPolicies\": [\r\n {\r\n \"id\": \"vihosqlaz2-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"failoverPriority\": 0\r\n }\r\n ],\r\n \"cors\": [],\r\n \"capabilities\": [],\r\n \"ipRules\": [],\r\n \"backupPolicy\": {\r\n \"type\": \"Periodic\",\r\n \"periodicModeProperties\": {\r\n \"backupIntervalInMinutes\": 240,\r\n \"backupRetentionIntervalInHours\": 8,\r\n \"backupStorageRedundancy\": \"Geo\"\r\n }\r\n },\r\n \"networkAclBypassResourceIds\": []\r\n },\r\n \"identity\": {\r\n \"type\": \"None\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/resourceGroups/viho-rg-stage/providers/Microsoft.DocumentDB/databaseAccounts/vihosqlaz3\",\r\n \"name\": \"vihosqlaz3\",\r\n \"location\": \"East US 2\",\r\n \"type\": \"Microsoft.DocumentDB/databaseAccounts\",\r\n \"kind\": \"GlobalDocumentDB\",\r\n \"tags\": {\r\n \"defaultExperience\": \"Core (SQL)\",\r\n \"hidden-cosmos-mmspecial\": \"\",\r\n \"CosmosAccountType\": \"Non-Production\"\r\n },\r\n \"systemData\": {\r\n \"createdAt\": \"2021-03-20T00:41:39.60151Z\"\r\n },\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"documentEndpoint\": \"https://vihosqlaz3.documents-staging.windows-ppe.net:443/\",\r\n \"publicNetworkAccess\": \"Enabled\",\r\n \"enableAutomaticFailover\": false,\r\n \"enableMultipleWriteLocations\": false,\r\n \"enablePartitionKeyMonitor\": false,\r\n \"isVirtualNetworkFilterEnabled\": false,\r\n \"virtualNetworkRules\": [],\r\n \"EnabledApiTypes\": \"Sql\",\r\n \"disableKeyBasedMetadataWriteAccess\": false,\r\n \"enableFreeTier\": false,\r\n \"enableAnalyticalStorage\": false,\r\n \"analyticalStorageConfiguration\": null,\r\n \"instanceId\": \"9342715d-092e-4fe6-a3f8-27cbbf09b4e3\",\r\n \"createMode\": \"Default\",\r\n \"databaseAccountOfferType\": \"Standard\",\r\n \"enableCassandraConnector\": false,\r\n \"connectorOffer\": \"\",\r\n \"enableMaterializedViews\": false,\r\n \"enableFullFidelityChangeFeed\": false,\r\n \"defaultIdentity\": \"FirstPartyIdentity\",\r\n \"networkAclBypass\": \"None\",\r\n \"consistencyPolicy\": {\r\n \"defaultConsistencyLevel\": \"Session\",\r\n \"maxIntervalInSeconds\": 5,\r\n \"maxStalenessPrefix\": 100\r\n },\r\n \"configurationOverrides\": {},\r\n \"writeLocations\": [\r\n {\r\n \"id\": \"vihosqlaz3-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://vihosqlaz3-eastus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": true\r\n }\r\n ],\r\n \"readLocations\": [\r\n {\r\n \"id\": \"vihosqlaz3-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://vihosqlaz3-eastus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": true\r\n }\r\n ],\r\n \"locations\": [\r\n {\r\n \"id\": \"vihosqlaz3-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://vihosqlaz3-eastus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": true\r\n }\r\n ],\r\n \"failoverPolicies\": [\r\n {\r\n \"id\": \"vihosqlaz3-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"failoverPriority\": 0\r\n }\r\n ],\r\n \"cors\": [],\r\n \"capabilities\": [],\r\n \"ipRules\": [],\r\n \"backupPolicy\": {\r\n \"type\": \"Periodic\",\r\n \"periodicModeProperties\": {\r\n \"backupIntervalInMinutes\": 240,\r\n \"backupRetentionIntervalInHours\": 8,\r\n \"backupStorageRedundancy\": \"Geo\"\r\n }\r\n },\r\n \"networkAclBypassResourceIds\": []\r\n },\r\n \"identity\": {\r\n \"type\": \"None\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/resourceGroups/linkedIn/providers/Microsoft.DocumentDB/databaseAccounts/linkedin-ctl-staging\",\r\n \"name\": \"linkedin-ctl-staging\",\r\n \"location\": \"East US 2\",\r\n \"type\": \"Microsoft.DocumentDB/databaseAccounts\",\r\n \"kind\": \"GlobalDocumentDB\",\r\n \"tags\": {\r\n \"defaultExperience\": \"Core (SQL)\",\r\n \"hidden-cosmos-mmspecial\": \"\",\r\n \"CosmosAccountType\": \"Non-Production\"\r\n },\r\n \"systemData\": {\r\n \"createdAt\": \"2021-03-22T21:39:59.1959652Z\"\r\n },\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"documentEndpoint\": \"https://linkedin-ctl-staging.documents-staging.windows-ppe.net:443/\",\r\n \"publicNetworkAccess\": \"Enabled\",\r\n \"enableAutomaticFailover\": false,\r\n \"enableMultipleWriteLocations\": false,\r\n \"enablePartitionKeyMonitor\": false,\r\n \"isVirtualNetworkFilterEnabled\": false,\r\n \"virtualNetworkRules\": [],\r\n \"EnabledApiTypes\": \"Sql\",\r\n \"disableKeyBasedMetadataWriteAccess\": false,\r\n \"enableFreeTier\": false,\r\n \"enableAnalyticalStorage\": false,\r\n \"analyticalStorageConfiguration\": null,\r\n \"instanceId\": \"e1da48b5-748c-48a3-8891-725cb1b0f78e\",\r\n \"createMode\": \"Default\",\r\n \"databaseAccountOfferType\": \"Standard\",\r\n \"enableCassandraConnector\": false,\r\n \"connectorOffer\": \"\",\r\n \"enableMaterializedViews\": false,\r\n \"enableFullFidelityChangeFeed\": false,\r\n \"defaultIdentity\": \"FirstPartyIdentity\",\r\n \"networkAclBypass\": \"None\",\r\n \"consistencyPolicy\": {\r\n \"defaultConsistencyLevel\": \"Session\",\r\n \"maxIntervalInSeconds\": 5,\r\n \"maxStalenessPrefix\": 100\r\n },\r\n \"configurationOverrides\": {},\r\n \"writeLocations\": [\r\n {\r\n \"id\": \"linkedin-ctl-staging-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://linkedin-ctl-staging-eastus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"readLocations\": [\r\n {\r\n \"id\": \"linkedin-ctl-staging-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://linkedin-ctl-staging-eastus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"locations\": [\r\n {\r\n \"id\": \"linkedin-ctl-staging-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://linkedin-ctl-staging-eastus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"failoverPolicies\": [\r\n {\r\n \"id\": \"linkedin-ctl-staging-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"failoverPriority\": 0\r\n }\r\n ],\r\n \"cors\": [],\r\n \"capabilities\": [],\r\n \"ipRules\": [],\r\n \"backupPolicy\": {\r\n \"type\": \"Periodic\",\r\n \"periodicModeProperties\": {\r\n \"backupIntervalInMinutes\": 240,\r\n \"backupRetentionIntervalInHours\": 8,\r\n \"backupStorageRedundancy\": \"Geo\"\r\n }\r\n },\r\n \"networkAclBypassResourceIds\": []\r\n },\r\n \"identity\": {\r\n \"type\": \"None\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/resourceGroups/CANARY/providers/Microsoft.DocumentDB/databaseAccounts/canary-stageeastus2cm2-cassandra\",\r\n \"name\": \"canary-stageeastus2cm2-cassandra\",\r\n \"location\": \"East US 2\",\r\n \"type\": \"Microsoft.DocumentDB/databaseAccounts\",\r\n \"kind\": \"GlobalDocumentDB\",\r\n \"tags\": {\r\n \"defaultExperience\": \"Cassandra\",\r\n \"hidden-cosmos-mmspecial\": \"\",\r\n \"CosmosAccountType\": \"Non-Production\"\r\n },\r\n \"systemData\": {\r\n \"createdAt\": \"2021-03-26T17:38:39.5527019Z\"\r\n },\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"documentEndpoint\": \"https://canary-stageeastus2cm2-cassandra.documents-staging.windows-ppe.net:443/\",\r\n \"cassandraEndpoint\": \"https://canary-stageeastus2cm2-cassandra.cassandra.cosmos.windows-ppe.net:443/\",\r\n \"publicNetworkAccess\": \"Enabled\",\r\n \"enableAutomaticFailover\": false,\r\n \"enableMultipleWriteLocations\": false,\r\n \"enablePartitionKeyMonitor\": false,\r\n \"isVirtualNetworkFilterEnabled\": false,\r\n \"virtualNetworkRules\": [],\r\n \"EnabledApiTypes\": \"Cassandra\",\r\n \"disableKeyBasedMetadataWriteAccess\": false,\r\n \"enableFreeTier\": false,\r\n \"enableAnalyticalStorage\": false,\r\n \"analyticalStorageConfiguration\": null,\r\n \"instanceId\": \"ce92655d-b1ef-4367-a0fc-ea69d12b32d6\",\r\n \"createMode\": \"Default\",\r\n \"databaseAccountOfferType\": \"Standard\",\r\n \"enableCassandraConnector\": false,\r\n \"connectorOffer\": \"\",\r\n \"enableMaterializedViews\": false,\r\n \"enableFullFidelityChangeFeed\": false,\r\n \"defaultIdentity\": \"FirstPartyIdentity\",\r\n \"networkAclBypass\": \"None\",\r\n \"consistencyPolicy\": {\r\n \"defaultConsistencyLevel\": \"Session\",\r\n \"maxIntervalInSeconds\": 5,\r\n \"maxStalenessPrefix\": 100\r\n },\r\n \"configurationOverrides\": {},\r\n \"writeLocations\": [\r\n {\r\n \"id\": \"canary-stageeastus2cm2-cassandra-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://canary-stageeastus2cm2-cassandra-eastus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": true\r\n }\r\n ],\r\n \"readLocations\": [\r\n {\r\n \"id\": \"canary-stageeastus2cm2-cassandra-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://canary-stageeastus2cm2-cassandra-eastus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": true\r\n }\r\n ],\r\n \"locations\": [\r\n {\r\n \"id\": \"canary-stageeastus2cm2-cassandra-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://canary-stageeastus2cm2-cassandra-eastus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": true\r\n }\r\n ],\r\n \"failoverPolicies\": [\r\n {\r\n \"id\": \"canary-stageeastus2cm2-cassandra-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"failoverPriority\": 0\r\n }\r\n ],\r\n \"cors\": [],\r\n \"capabilities\": [\r\n {\r\n \"name\": \"EnableCassandra\"\r\n }\r\n ],\r\n \"ipRules\": [],\r\n \"backupPolicy\": {\r\n \"type\": \"Periodic\",\r\n \"periodicModeProperties\": {\r\n \"backupIntervalInMinutes\": 240,\r\n \"backupRetentionIntervalInHours\": 8,\r\n \"backupStorageRedundancy\": \"Geo\"\r\n }\r\n },\r\n \"networkAclBypassResourceIds\": []\r\n },\r\n \"identity\": {\r\n \"type\": \"None\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/resourceGroups/CANARY/providers/Microsoft.DocumentDB/databaseAccounts/canary-stageeastus2cm4-cassandra\",\r\n \"name\": \"canary-stageeastus2cm4-cassandra\",\r\n \"location\": \"East US 2\",\r\n \"type\": \"Microsoft.DocumentDB/databaseAccounts\",\r\n \"kind\": \"GlobalDocumentDB\",\r\n \"tags\": {\r\n \"defaultExperience\": \"Cassandra\",\r\n \"hidden-cosmos-mmspecial\": \"\",\r\n \"CosmosAccountType\": \"Non-Production\"\r\n },\r\n \"systemData\": {\r\n \"createdAt\": \"2021-03-26T17:42:04.9313772Z\"\r\n },\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"documentEndpoint\": \"https://canary-stageeastus2cm4-cassandra.documents-staging.windows-ppe.net:443/\",\r\n \"cassandraEndpoint\": \"https://canary-stageeastus2cm4-cassandra.cassandra.cosmos.windows-ppe.net:443/\",\r\n \"publicNetworkAccess\": \"Enabled\",\r\n \"enableAutomaticFailover\": false,\r\n \"enableMultipleWriteLocations\": false,\r\n \"enablePartitionKeyMonitor\": false,\r\n \"isVirtualNetworkFilterEnabled\": false,\r\n \"virtualNetworkRules\": [],\r\n \"EnabledApiTypes\": \"Cassandra\",\r\n \"disableKeyBasedMetadataWriteAccess\": false,\r\n \"enableFreeTier\": false,\r\n \"enableAnalyticalStorage\": false,\r\n \"analyticalStorageConfiguration\": null,\r\n \"instanceId\": \"26d28559-b84c-46eb-b728-328af4b074d1\",\r\n \"createMode\": \"Default\",\r\n \"databaseAccountOfferType\": \"Standard\",\r\n \"enableCassandraConnector\": false,\r\n \"connectorOffer\": \"\",\r\n \"enableMaterializedViews\": false,\r\n \"enableFullFidelityChangeFeed\": false,\r\n \"defaultIdentity\": \"FirstPartyIdentity\",\r\n \"networkAclBypass\": \"None\",\r\n \"consistencyPolicy\": {\r\n \"defaultConsistencyLevel\": \"Session\",\r\n \"maxIntervalInSeconds\": 5,\r\n \"maxStalenessPrefix\": 100\r\n },\r\n \"configurationOverrides\": {},\r\n \"writeLocations\": [\r\n {\r\n \"id\": \"canary-stageeastus2cm4-cassandra-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://canary-stageeastus2cm4-cassandra-eastus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": true\r\n }\r\n ],\r\n \"readLocations\": [\r\n {\r\n \"id\": \"canary-stageeastus2cm4-cassandra-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://canary-stageeastus2cm4-cassandra-eastus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": true\r\n }\r\n ],\r\n \"locations\": [\r\n {\r\n \"id\": \"canary-stageeastus2cm4-cassandra-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://canary-stageeastus2cm4-cassandra-eastus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": true\r\n }\r\n ],\r\n \"failoverPolicies\": [\r\n {\r\n \"id\": \"canary-stageeastus2cm4-cassandra-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"failoverPriority\": 0\r\n }\r\n ],\r\n \"cors\": [],\r\n \"capabilities\": [\r\n {\r\n \"name\": \"EnableCassandra\"\r\n }\r\n ],\r\n \"ipRules\": [],\r\n \"backupPolicy\": {\r\n \"type\": \"Periodic\",\r\n \"periodicModeProperties\": {\r\n \"backupIntervalInMinutes\": 240,\r\n \"backupRetentionIntervalInHours\": 8,\r\n \"backupStorageRedundancy\": \"Geo\"\r\n }\r\n },\r\n \"networkAclBypassResourceIds\": []\r\n },\r\n \"identity\": {\r\n \"type\": \"None\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/resourceGroups/CANARY/providers/Microsoft.DocumentDB/databaseAccounts/canary-stageeastus2cm5-cassandra\",\r\n \"name\": \"canary-stageeastus2cm5-cassandra\",\r\n \"location\": \"East US 2\",\r\n \"type\": \"Microsoft.DocumentDB/databaseAccounts\",\r\n \"kind\": \"GlobalDocumentDB\",\r\n \"tags\": {\r\n \"defaultExperience\": \"Cassandra\",\r\n \"hidden-cosmos-mmspecial\": \"\",\r\n \"CosmosAccountType\": \"Non-Production\"\r\n },\r\n \"systemData\": {\r\n \"createdAt\": \"2021-03-26T17:43:05.5503932Z\"\r\n },\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"documentEndpoint\": \"https://canary-stageeastus2cm5-cassandra.documents-staging.windows-ppe.net:443/\",\r\n \"cassandraEndpoint\": \"https://canary-stageeastus2cm5-cassandra.cassandra.cosmos.windows-ppe.net:443/\",\r\n \"publicNetworkAccess\": \"Enabled\",\r\n \"enableAutomaticFailover\": false,\r\n \"enableMultipleWriteLocations\": false,\r\n \"enablePartitionKeyMonitor\": false,\r\n \"isVirtualNetworkFilterEnabled\": false,\r\n \"virtualNetworkRules\": [],\r\n \"EnabledApiTypes\": \"Cassandra\",\r\n \"disableKeyBasedMetadataWriteAccess\": false,\r\n \"enableFreeTier\": false,\r\n \"enableAnalyticalStorage\": false,\r\n \"analyticalStorageConfiguration\": null,\r\n \"instanceId\": \"476b9613-f016-433a-b852-dde54bacd240\",\r\n \"createMode\": \"Default\",\r\n \"databaseAccountOfferType\": \"Standard\",\r\n \"enableCassandraConnector\": false,\r\n \"connectorOffer\": \"\",\r\n \"enableMaterializedViews\": false,\r\n \"enableFullFidelityChangeFeed\": false,\r\n \"defaultIdentity\": \"FirstPartyIdentity\",\r\n \"networkAclBypass\": \"None\",\r\n \"consistencyPolicy\": {\r\n \"defaultConsistencyLevel\": \"Session\",\r\n \"maxIntervalInSeconds\": 5,\r\n \"maxStalenessPrefix\": 100\r\n },\r\n \"configurationOverrides\": {},\r\n \"writeLocations\": [\r\n {\r\n \"id\": \"canary-stageeastus2cm5-cassandra-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://canary-stageeastus2cm5-cassandra-eastus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": true\r\n }\r\n ],\r\n \"readLocations\": [\r\n {\r\n \"id\": \"canary-stageeastus2cm5-cassandra-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://canary-stageeastus2cm5-cassandra-eastus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": true\r\n }\r\n ],\r\n \"locations\": [\r\n {\r\n \"id\": \"canary-stageeastus2cm5-cassandra-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://canary-stageeastus2cm5-cassandra-eastus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": true\r\n }\r\n ],\r\n \"failoverPolicies\": [\r\n {\r\n \"id\": \"canary-stageeastus2cm5-cassandra-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"failoverPriority\": 0\r\n }\r\n ],\r\n \"cors\": [],\r\n \"capabilities\": [\r\n {\r\n \"name\": \"EnableCassandra\"\r\n }\r\n ],\r\n \"ipRules\": [],\r\n \"backupPolicy\": {\r\n \"type\": \"Periodic\",\r\n \"periodicModeProperties\": {\r\n \"backupIntervalInMinutes\": 240,\r\n \"backupRetentionIntervalInHours\": 8,\r\n \"backupStorageRedundancy\": \"Geo\"\r\n }\r\n },\r\n \"networkAclBypassResourceIds\": []\r\n },\r\n \"identity\": {\r\n \"type\": \"None\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/resourceGroups/gaausfel-dev/providers/Microsoft.DocumentDB/databaseAccounts/gaausfel-staging-signoff\",\r\n \"name\": \"gaausfel-staging-signoff\",\r\n \"location\": \"East US 2\",\r\n \"type\": \"Microsoft.DocumentDB/databaseAccounts\",\r\n \"kind\": \"GlobalDocumentDB\",\r\n \"tags\": {\r\n \"defaultExperience\": \"Core (SQL)\",\r\n \"hidden-cosmos-mmspecial\": \"\",\r\n \"CosmosAccountType\": \"Non-Production\"\r\n },\r\n \"systemData\": {\r\n \"createdAt\": \"2021-03-29T18:07:56.8869506Z\"\r\n },\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"documentEndpoint\": \"https://gaausfel-staging-signoff.documents-staging.windows-ppe.net:443/\",\r\n \"publicNetworkAccess\": \"Enabled\",\r\n \"enableAutomaticFailover\": false,\r\n \"enableMultipleWriteLocations\": false,\r\n \"enablePartitionKeyMonitor\": false,\r\n \"isVirtualNetworkFilterEnabled\": false,\r\n \"virtualNetworkRules\": [],\r\n \"EnabledApiTypes\": \"Sql\",\r\n \"disableKeyBasedMetadataWriteAccess\": false,\r\n \"enableFreeTier\": false,\r\n \"enableAnalyticalStorage\": false,\r\n \"analyticalStorageConfiguration\": null,\r\n \"instanceId\": \"cf23349a-ffbe-47db-8f90-846d93a8e800\",\r\n \"createMode\": \"Default\",\r\n \"databaseAccountOfferType\": \"Standard\",\r\n \"enableCassandraConnector\": false,\r\n \"connectorOffer\": \"\",\r\n \"enableMaterializedViews\": false,\r\n \"enableFullFidelityChangeFeed\": false,\r\n \"defaultIdentity\": \"FirstPartyIdentity\",\r\n \"networkAclBypass\": \"None\",\r\n \"consistencyPolicy\": {\r\n \"defaultConsistencyLevel\": \"Session\",\r\n \"maxIntervalInSeconds\": 5,\r\n \"maxStalenessPrefix\": 100\r\n },\r\n \"configurationOverrides\": {},\r\n \"writeLocations\": [\r\n {\r\n \"id\": \"gaausfel-staging-signoff-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://gaausfel-staging-signoff-eastus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"readLocations\": [\r\n {\r\n \"id\": \"gaausfel-staging-signoff-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://gaausfel-staging-signoff-eastus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"locations\": [\r\n {\r\n \"id\": \"gaausfel-staging-signoff-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://gaausfel-staging-signoff-eastus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"failoverPolicies\": [\r\n {\r\n \"id\": \"gaausfel-staging-signoff-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"failoverPriority\": 0\r\n }\r\n ],\r\n \"cors\": [],\r\n \"capabilities\": [],\r\n \"ipRules\": [],\r\n \"backupPolicy\": {\r\n \"type\": \"Periodic\",\r\n \"periodicModeProperties\": {\r\n \"backupIntervalInMinutes\": 240,\r\n \"backupRetentionIntervalInHours\": 8,\r\n \"backupStorageRedundancy\": \"Geo\"\r\n }\r\n },\r\n \"networkAclBypassResourceIds\": []\r\n },\r\n \"identity\": {\r\n \"type\": \"None\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/resourceGroups/backup-restore/providers/Microsoft.DocumentDB/databaseAccounts/stage-pitr-validation-source-restored1\",\r\n \"name\": \"stage-pitr-validation-source-restored1\",\r\n \"location\": \"East US 2\",\r\n \"type\": \"Microsoft.DocumentDB/databaseAccounts\",\r\n \"kind\": \"GlobalDocumentDB\",\r\n \"tags\": {\r\n \"defaultExperience\": \"Core (SQL)\",\r\n \"hidden-cosmos-mmspecial\": \"\",\r\n \"CosmosAccountType\": \"Non-Production\"\r\n },\r\n \"systemData\": {\r\n \"createdAt\": \"2021-03-29T18:56:13.1795531Z\"\r\n },\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"documentEndpoint\": \"https://stage-pitr-validation-source-restored1.documents-staging.windows-ppe.net:443/\",\r\n \"publicNetworkAccess\": \"Enabled\",\r\n \"enableAutomaticFailover\": false,\r\n \"enableMultipleWriteLocations\": false,\r\n \"enablePartitionKeyMonitor\": false,\r\n \"isVirtualNetworkFilterEnabled\": false,\r\n \"virtualNetworkRules\": [],\r\n \"EnabledApiTypes\": \"Sql\",\r\n \"disableKeyBasedMetadataWriteAccess\": false,\r\n \"enableFreeTier\": false,\r\n \"enableAnalyticalStorage\": false,\r\n \"analyticalStorageConfiguration\": null,\r\n \"instanceId\": \"9ba4de72-dcc5-4129-a64a-cbcdb3cdd9dc\",\r\n \"createMode\": \"Restore\",\r\n \"databaseAccountOfferType\": \"Standard\",\r\n \"enableCassandraConnector\": false,\r\n \"defaultIdentity\": \"\",\r\n \"networkAclBypass\": \"None\",\r\n \"consistencyPolicy\": {\r\n \"defaultConsistencyLevel\": \"Session\",\r\n \"maxIntervalInSeconds\": 5,\r\n \"maxStalenessPrefix\": 100\r\n },\r\n \"configurationOverrides\": {},\r\n \"writeLocations\": [\r\n {\r\n \"id\": \"stage-pitr-validation-source-restored1-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://stage-pitr-validation-source-restored1-eastus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"readLocations\": [\r\n {\r\n \"id\": \"stage-pitr-validation-source-restored1-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://stage-pitr-validation-source-restored1-eastus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"locations\": [\r\n {\r\n \"id\": \"stage-pitr-validation-source-restored1-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://stage-pitr-validation-source-restored1-eastus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"failoverPolicies\": [\r\n {\r\n \"id\": \"stage-pitr-validation-source-restored1-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"failoverPriority\": 0\r\n }\r\n ],\r\n \"cors\": [],\r\n \"capabilities\": [],\r\n \"ipRules\": [],\r\n \"backupPolicy\": {\r\n \"type\": \"Continuous\"\r\n },\r\n \"restoreParameters\": {\r\n \"restoreMode\": \"PointInTime\",\r\n \"restoreSource\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/providers/Microsoft.DocumentDB/locations/eastus2/restorableDatabaseAccounts/a54115d5-4356-4771-b7b0-20f475ce5a38\",\r\n \"restoreTimestampInUtc\": \"2021-03-01T11:00:44Z\",\r\n \"databasesToRestore\": []\r\n },\r\n \"networkAclBypassResourceIds\": []\r\n },\r\n \"identity\": {\r\n \"type\": \"None\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/resourceGroups/bar-stagevalidationtest/providers/Microsoft.DocumentDB/databaseAccounts/pitr-hotfix-stage-restored-rrr-20210331\",\r\n \"name\": \"pitr-hotfix-stage-restored-rrr-20210331\",\r\n \"location\": \"East US 2\",\r\n \"type\": \"Microsoft.DocumentDB/databaseAccounts\",\r\n \"kind\": \"GlobalDocumentDB\",\r\n \"tags\": {},\r\n \"systemData\": {\r\n \"createdAt\": \"2021-03-31T12:26:54.4557208Z\"\r\n },\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"documentEndpoint\": \"https://pitr-hotfix-stage-restored-rrr-20210331.documents-staging.windows-ppe.net:443/\",\r\n \"publicNetworkAccess\": \"Enabled\",\r\n \"enableAutomaticFailover\": false,\r\n \"enableMultipleWriteLocations\": false,\r\n \"enablePartitionKeyMonitor\": false,\r\n \"isVirtualNetworkFilterEnabled\": false,\r\n \"virtualNetworkRules\": [],\r\n \"EnabledApiTypes\": \"Sql\",\r\n \"disableKeyBasedMetadataWriteAccess\": false,\r\n \"enableFreeTier\": false,\r\n \"enableAnalyticalStorage\": false,\r\n \"analyticalStorageConfiguration\": null,\r\n \"instanceId\": \"25c89fdc-a256-429f-8288-2f0e6e5f39ed\",\r\n \"createMode\": \"Restore\",\r\n \"databaseAccountOfferType\": \"Standard\",\r\n \"enableCassandraConnector\": false,\r\n \"defaultIdentity\": \"\",\r\n \"networkAclBypass\": \"None\",\r\n \"consistencyPolicy\": {\r\n \"defaultConsistencyLevel\": \"Session\",\r\n \"maxIntervalInSeconds\": 5,\r\n \"maxStalenessPrefix\": 100\r\n },\r\n \"configurationOverrides\": {},\r\n \"writeLocations\": [\r\n {\r\n \"id\": \"pitr-hotfix-stage-restored-rrr-20210331-westus2\",\r\n \"locationName\": \"West US 2\",\r\n \"documentEndpoint\": \"https://pitr-hotfix-stage-restored-rrr-20210331-westus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"readLocations\": [\r\n {\r\n \"id\": \"pitr-hotfix-stage-restored-rrr-20210331-westus2\",\r\n \"locationName\": \"West US 2\",\r\n \"documentEndpoint\": \"https://pitr-hotfix-stage-restored-rrr-20210331-westus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"locations\": [\r\n {\r\n \"id\": \"pitr-hotfix-stage-restored-rrr-20210331-westus2\",\r\n \"locationName\": \"West US 2\",\r\n \"documentEndpoint\": \"https://pitr-hotfix-stage-restored-rrr-20210331-westus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"failoverPolicies\": [\r\n {\r\n \"id\": \"pitr-hotfix-stage-restored-rrr-20210331-westus2\",\r\n \"locationName\": \"West US 2\",\r\n \"failoverPriority\": 0\r\n }\r\n ],\r\n \"cors\": [],\r\n \"capabilities\": [],\r\n \"ipRules\": [],\r\n \"backupPolicy\": {\r\n \"type\": \"Continuous\"\r\n },\r\n \"restoreParameters\": {\r\n \"restoreMode\": \"PointInTime\",\r\n \"restoreSource\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/providers/Microsoft.DocumentDB/locations/eastus2/restorableDatabaseAccounts/a54115d5-4356-4771-b7b0-20f475ce5a38\",\r\n \"restoreTimestampInUtc\": \"2021-03-31T12:05:22.1385897Z\",\r\n \"databasesToRestore\": []\r\n },\r\n \"networkAclBypassResourceIds\": []\r\n },\r\n \"identity\": {\r\n \"type\": \"None\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/resourceGroups/bar-stagevalidationtest/providers/Microsoft.DocumentDB/databaseAccounts/pitr-hotfix-stage-restored-dr-20210331\",\r\n \"name\": \"pitr-hotfix-stage-restored-dr-20210331\",\r\n \"location\": \"East US 2\",\r\n \"type\": \"Microsoft.DocumentDB/databaseAccounts\",\r\n \"kind\": \"GlobalDocumentDB\",\r\n \"tags\": {},\r\n \"systemData\": {\r\n \"createdAt\": \"2021-03-31T12:56:29.9986368Z\"\r\n },\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"documentEndpoint\": \"https://pitr-hotfix-stage-restored-dr-20210331.documents-staging.windows-ppe.net:443/\",\r\n \"publicNetworkAccess\": \"Enabled\",\r\n \"enableAutomaticFailover\": false,\r\n \"enableMultipleWriteLocations\": false,\r\n \"enablePartitionKeyMonitor\": false,\r\n \"isVirtualNetworkFilterEnabled\": false,\r\n \"virtualNetworkRules\": [],\r\n \"EnabledApiTypes\": \"Sql\",\r\n \"disableKeyBasedMetadataWriteAccess\": false,\r\n \"enableFreeTier\": false,\r\n \"enableAnalyticalStorage\": false,\r\n \"analyticalStorageConfiguration\": null,\r\n \"instanceId\": \"6aac05b1-7b02-415d-9a7e-b7884b5505f8\",\r\n \"createMode\": \"Restore\",\r\n \"databaseAccountOfferType\": \"Standard\",\r\n \"enableCassandraConnector\": false,\r\n \"defaultIdentity\": \"\",\r\n \"networkAclBypass\": \"None\",\r\n \"consistencyPolicy\": {\r\n \"defaultConsistencyLevel\": \"Session\",\r\n \"maxIntervalInSeconds\": 5,\r\n \"maxStalenessPrefix\": 100\r\n },\r\n \"configurationOverrides\": {},\r\n \"writeLocations\": [\r\n {\r\n \"id\": \"pitr-hotfix-stage-restored-dr-20210331-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://pitr-hotfix-stage-restored-dr-20210331-eastus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"readLocations\": [\r\n {\r\n \"id\": \"pitr-hotfix-stage-restored-dr-20210331-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://pitr-hotfix-stage-restored-dr-20210331-eastus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"locations\": [\r\n {\r\n \"id\": \"pitr-hotfix-stage-restored-dr-20210331-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://pitr-hotfix-stage-restored-dr-20210331-eastus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"failoverPolicies\": [\r\n {\r\n \"id\": \"pitr-hotfix-stage-restored-dr-20210331-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"failoverPriority\": 0\r\n }\r\n ],\r\n \"cors\": [],\r\n \"capabilities\": [],\r\n \"ipRules\": [],\r\n \"backupPolicy\": {\r\n \"type\": \"Continuous\"\r\n },\r\n \"restoreParameters\": {\r\n \"restoreMode\": \"PointInTime\",\r\n \"restoreSource\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/providers/Microsoft.DocumentDB/locations/eastus2/restorableDatabaseAccounts/e4238066-b529-481d-9371-0956f24ff55d\",\r\n \"restoreTimestampInUtc\": \"2021-03-31T12:27:47.4347058Z\",\r\n \"databasesToRestore\": []\r\n },\r\n \"networkAclBypassResourceIds\": []\r\n },\r\n \"identity\": {\r\n \"type\": \"None\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/resourceGroups/bar-stagevalidationtest/providers/Microsoft.DocumentDB/databaseAccounts/pitr-hotfix-stage-restored-ror-20210331\",\r\n \"name\": \"pitr-hotfix-stage-restored-ror-20210331\",\r\n \"location\": \"East US 2\",\r\n \"type\": \"Microsoft.DocumentDB/databaseAccounts\",\r\n \"kind\": \"GlobalDocumentDB\",\r\n \"tags\": {},\r\n \"systemData\": {\r\n \"createdAt\": \"2021-03-31T13:20:21.0905569Z\"\r\n },\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"documentEndpoint\": \"https://pitr-hotfix-stage-restored-ror-20210331.documents-staging.windows-ppe.net:443/\",\r\n \"publicNetworkAccess\": \"Enabled\",\r\n \"enableAutomaticFailover\": false,\r\n \"enableMultipleWriteLocations\": false,\r\n \"enablePartitionKeyMonitor\": false,\r\n \"isVirtualNetworkFilterEnabled\": false,\r\n \"virtualNetworkRules\": [],\r\n \"EnabledApiTypes\": \"Sql\",\r\n \"disableKeyBasedMetadataWriteAccess\": false,\r\n \"enableFreeTier\": false,\r\n \"enableAnalyticalStorage\": false,\r\n \"analyticalStorageConfiguration\": null,\r\n \"instanceId\": \"d81c1811-de53-4aee-9ef9-3378e7be9fc1\",\r\n \"createMode\": \"Restore\",\r\n \"databaseAccountOfferType\": \"Standard\",\r\n \"enableCassandraConnector\": false,\r\n \"defaultIdentity\": \"\",\r\n \"networkAclBypass\": \"None\",\r\n \"consistencyPolicy\": {\r\n \"defaultConsistencyLevel\": \"Session\",\r\n \"maxIntervalInSeconds\": 5,\r\n \"maxStalenessPrefix\": 100\r\n },\r\n \"configurationOverrides\": {},\r\n \"writeLocations\": [\r\n {\r\n \"id\": \"pitr-hotfix-stage-restored-ror-20210331-westus2\",\r\n \"locationName\": \"West US 2\",\r\n \"documentEndpoint\": \"https://pitr-hotfix-stage-restored-ror-20210331-westus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"readLocations\": [\r\n {\r\n \"id\": \"pitr-hotfix-stage-restored-ror-20210331-westus2\",\r\n \"locationName\": \"West US 2\",\r\n \"documentEndpoint\": \"https://pitr-hotfix-stage-restored-ror-20210331-westus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"locations\": [\r\n {\r\n \"id\": \"pitr-hotfix-stage-restored-ror-20210331-westus2\",\r\n \"locationName\": \"West US 2\",\r\n \"documentEndpoint\": \"https://pitr-hotfix-stage-restored-ror-20210331-westus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"failoverPolicies\": [\r\n {\r\n \"id\": \"pitr-hotfix-stage-restored-ror-20210331-westus2\",\r\n \"locationName\": \"West US 2\",\r\n \"failoverPriority\": 0\r\n }\r\n ],\r\n \"cors\": [],\r\n \"capabilities\": [],\r\n \"ipRules\": [],\r\n \"backupPolicy\": {\r\n \"type\": \"Continuous\"\r\n },\r\n \"restoreParameters\": {\r\n \"restoreMode\": \"PointInTime\",\r\n \"restoreSource\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/providers/Microsoft.DocumentDB/locations/eastus2/restorableDatabaseAccounts/25c89fdc-a256-429f-8288-2f0e6e5f39ed\",\r\n \"restoreTimestampInUtc\": \"2021-03-31T12:58:04.5033658Z\",\r\n \"databasesToRestore\": []\r\n },\r\n \"networkAclBypassResourceIds\": []\r\n },\r\n \"identity\": {\r\n \"type\": \"None\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/resourceGroups/samahanarg/providers/Microsoft.DocumentDB/databaseAccounts/samahanasqltest\",\r\n \"name\": \"samahanasqltest\",\r\n \"location\": \"East US 2\",\r\n \"type\": \"Microsoft.DocumentDB/databaseAccounts\",\r\n \"kind\": \"GlobalDocumentDB\",\r\n \"tags\": {},\r\n \"systemData\": {\r\n \"createdAt\": \"2021-04-13T18:48:03.6696958Z\"\r\n },\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"documentEndpoint\": \"https://samahanasqltest.documents-staging.windows-ppe.net:443/\",\r\n \"publicNetworkAccess\": \"Enabled\",\r\n \"enableAutomaticFailover\": false,\r\n \"enableMultipleWriteLocations\": false,\r\n \"enablePartitionKeyMonitor\": false,\r\n \"isVirtualNetworkFilterEnabled\": false,\r\n \"virtualNetworkRules\": [],\r\n \"EnabledApiTypes\": \"Sql\",\r\n \"disableKeyBasedMetadataWriteAccess\": false,\r\n \"enableFreeTier\": false,\r\n \"enableAnalyticalStorage\": false,\r\n \"analyticalStorageConfiguration\": null,\r\n \"instanceId\": \"13e0bf01-3f07-4d6d-a669-97df7611644c\",\r\n \"createMode\": \"Default\",\r\n \"databaseAccountOfferType\": \"Standard\",\r\n \"enableCassandraConnector\": false,\r\n \"connectorOffer\": \"\",\r\n \"enableMaterializedViews\": false,\r\n \"enableFullFidelityChangeFeed\": false,\r\n \"defaultIdentity\": \"FirstPartyIdentity\",\r\n \"networkAclBypass\": \"None\",\r\n \"consistencyPolicy\": {\r\n \"defaultConsistencyLevel\": \"Session\",\r\n \"maxIntervalInSeconds\": 5,\r\n \"maxStalenessPrefix\": 100\r\n },\r\n \"configurationOverrides\": {},\r\n \"writeLocations\": [\r\n {\r\n \"id\": \"samahanasqltest-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://samahanasqltest-eastus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"readLocations\": [\r\n {\r\n \"id\": \"samahanasqltest-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://samahanasqltest-eastus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"locations\": [\r\n {\r\n \"id\": \"samahanasqltest-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://samahanasqltest-eastus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"failoverPolicies\": [\r\n {\r\n \"id\": \"samahanasqltest-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"failoverPriority\": 0\r\n }\r\n ],\r\n \"cors\": [],\r\n \"capabilities\": [],\r\n \"ipRules\": [],\r\n \"backupPolicy\": {\r\n \"type\": \"Periodic\",\r\n \"periodicModeProperties\": {\r\n \"backupIntervalInMinutes\": 240,\r\n \"backupRetentionIntervalInHours\": 8,\r\n \"backupStorageRedundancy\": \"Geo\"\r\n }\r\n },\r\n \"networkAclBypassResourceIds\": []\r\n },\r\n \"identity\": {\r\n \"type\": \"None\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/resourceGroups/samahanarg/providers/Microsoft.DocumentDB/databaseAccounts/samahanatest2\",\r\n \"name\": \"samahanatest2\",\r\n \"location\": \"East US 2\",\r\n \"type\": \"Microsoft.DocumentDB/databaseAccounts\",\r\n \"kind\": \"GlobalDocumentDB\",\r\n \"tags\": {\r\n \"defaultExperience\": \"Core (SQL)\",\r\n \"hidden-cosmos-mmspecial\": \"\",\r\n \"CosmosAccountType\": \"Non-Production\"\r\n },\r\n \"systemData\": {\r\n \"createdAt\": \"2021-04-13T21:54:34.7268625Z\"\r\n },\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"documentEndpoint\": \"https://samahanatest2.documents-staging.windows-ppe.net:443/\",\r\n \"publicNetworkAccess\": \"Enabled\",\r\n \"enableAutomaticFailover\": false,\r\n \"enableMultipleWriteLocations\": false,\r\n \"enablePartitionKeyMonitor\": false,\r\n \"isVirtualNetworkFilterEnabled\": false,\r\n \"virtualNetworkRules\": [],\r\n \"EnabledApiTypes\": \"Sql\",\r\n \"disableKeyBasedMetadataWriteAccess\": false,\r\n \"enableFreeTier\": false,\r\n \"enableAnalyticalStorage\": false,\r\n \"analyticalStorageConfiguration\": null,\r\n \"instanceId\": \"16a31465-d07d-4e3c-b020-4b2617ba349c\",\r\n \"createMode\": \"Default\",\r\n \"databaseAccountOfferType\": \"Standard\",\r\n \"enableCassandraConnector\": false,\r\n \"connectorOffer\": \"\",\r\n \"enableMaterializedViews\": false,\r\n \"enableFullFidelityChangeFeed\": false,\r\n \"defaultIdentity\": \"FirstPartyIdentity\",\r\n \"networkAclBypass\": \"None\",\r\n \"consistencyPolicy\": {\r\n \"defaultConsistencyLevel\": \"Session\",\r\n \"maxIntervalInSeconds\": 5,\r\n \"maxStalenessPrefix\": 100\r\n },\r\n \"configurationOverrides\": {},\r\n \"writeLocations\": [\r\n {\r\n \"id\": \"samahanatest2-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://samahanatest2-eastus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"readLocations\": [\r\n {\r\n \"id\": \"samahanatest2-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://samahanatest2-eastus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"locations\": [\r\n {\r\n \"id\": \"samahanatest2-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://samahanatest2-eastus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"failoverPolicies\": [\r\n {\r\n \"id\": \"samahanatest2-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"failoverPriority\": 0\r\n }\r\n ],\r\n \"cors\": [],\r\n \"capabilities\": [],\r\n \"ipRules\": [],\r\n \"backupPolicy\": {\r\n \"type\": \"Periodic\",\r\n \"periodicModeProperties\": {\r\n \"backupIntervalInMinutes\": 240,\r\n \"backupRetentionIntervalInHours\": 8,\r\n \"backupStorageRedundancy\": \"Geo\"\r\n }\r\n },\r\n \"networkAclBypassResourceIds\": []\r\n },\r\n \"identity\": {\r\n \"type\": \"None\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/resourceGroups/backup-restore/providers/Microsoft.DocumentDB/databaseAccounts/stage-validation-source-r3\",\r\n \"name\": \"stage-validation-source-r3\",\r\n \"location\": \"East US 2\",\r\n \"type\": \"Microsoft.DocumentDB/databaseAccounts\",\r\n \"kind\": \"GlobalDocumentDB\",\r\n \"tags\": {\r\n \"defaultExperience\": \"Core (SQL)\",\r\n \"restoredSourceDatabaseAccountName\": \"stage-validation-source\",\r\n \"restoredAtTimestamp\": \"4/14/2021 6:24:15 PM\"\r\n },\r\n \"systemData\": {\r\n \"createdAt\": \"2021-04-14T18:31:35.5537137Z\"\r\n },\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"documentEndpoint\": \"https://stage-validation-source-r3.documents-staging.windows-ppe.net:443/\",\r\n \"publicNetworkAccess\": \"Enabled\",\r\n \"enableAutomaticFailover\": false,\r\n \"enableMultipleWriteLocations\": false,\r\n \"enablePartitionKeyMonitor\": false,\r\n \"isVirtualNetworkFilterEnabled\": false,\r\n \"virtualNetworkRules\": [],\r\n \"EnabledApiTypes\": \"Sql\",\r\n \"disableKeyBasedMetadataWriteAccess\": false,\r\n \"enableFreeTier\": false,\r\n \"enableAnalyticalStorage\": false,\r\n \"analyticalStorageConfiguration\": null,\r\n \"instanceId\": \"b2b59808-8687-4485-b441-c9b289915a07\",\r\n \"createMode\": \"Restore\",\r\n \"databaseAccountOfferType\": \"Standard\",\r\n \"enableCassandraConnector\": false,\r\n \"defaultIdentity\": \"\",\r\n \"networkAclBypass\": \"None\",\r\n \"consistencyPolicy\": {\r\n \"defaultConsistencyLevel\": \"Session\",\r\n \"maxIntervalInSeconds\": 5,\r\n \"maxStalenessPrefix\": 100\r\n },\r\n \"configurationOverrides\": {},\r\n \"writeLocations\": [\r\n {\r\n \"id\": \"stage-validation-source-r3-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://stage-validation-source-r3-eastus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"readLocations\": [\r\n {\r\n \"id\": \"stage-validation-source-r3-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://stage-validation-source-r3-eastus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"locations\": [\r\n {\r\n \"id\": \"stage-validation-source-r3-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://stage-validation-source-r3-eastus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"failoverPolicies\": [\r\n {\r\n \"id\": \"stage-validation-source-r3-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"failoverPriority\": 0\r\n }\r\n ],\r\n \"cors\": [],\r\n \"capabilities\": [],\r\n \"ipRules\": [],\r\n \"backupPolicy\": {\r\n \"type\": \"Periodic\",\r\n \"periodicModeProperties\": {\r\n \"backupIntervalInMinutes\": 240,\r\n \"backupRetentionIntervalInHours\": 8,\r\n \"backupStorageRedundancy\": \"Geo\"\r\n }\r\n },\r\n \"restoreParameters\": {\r\n \"restoreMode\": \"PointInTime\",\r\n \"restoreSource\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/providers/Microsoft.DocumentDB/locations//restorableDatabaseAccounts/2e123a98-31b1-4603-a0e7-8a84fa28a1ee\",\r\n \"restoreTimestampInUtc\": \"2021-04-14T14:00:00Z\"\r\n },\r\n \"networkAclBypassResourceIds\": []\r\n },\r\n \"identity\": {\r\n \"type\": \"None\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/resourceGroups/backup-restore/providers/Microsoft.DocumentDB/databaseAccounts/stage-validation-source-r2\",\r\n \"name\": \"stage-validation-source-r2\",\r\n \"location\": \"East US 2\",\r\n \"type\": \"Microsoft.DocumentDB/databaseAccounts\",\r\n \"kind\": \"GlobalDocumentDB\",\r\n \"tags\": {\r\n \"defaultExperience\": \"Core (SQL)\",\r\n \"restoredSourceDatabaseAccountName\": \"stage-validation-source\",\r\n \"restoredAtTimestamp\": \"4/14/2021 6:24:28 PM\"\r\n },\r\n \"systemData\": {\r\n \"createdAt\": \"2021-04-14T18:33:57.3219104Z\"\r\n },\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"documentEndpoint\": \"https://stage-validation-source-r2.documents-staging.windows-ppe.net:443/\",\r\n \"publicNetworkAccess\": \"Enabled\",\r\n \"enableAutomaticFailover\": false,\r\n \"enableMultipleWriteLocations\": false,\r\n \"enablePartitionKeyMonitor\": false,\r\n \"isVirtualNetworkFilterEnabled\": false,\r\n \"virtualNetworkRules\": [],\r\n \"EnabledApiTypes\": \"Sql\",\r\n \"disableKeyBasedMetadataWriteAccess\": false,\r\n \"enableFreeTier\": false,\r\n \"enableAnalyticalStorage\": false,\r\n \"analyticalStorageConfiguration\": null,\r\n \"instanceId\": \"66f72090-3feb-4bfc-846e-4a5aa03cd863\",\r\n \"createMode\": \"Restore\",\r\n \"databaseAccountOfferType\": \"Standard\",\r\n \"enableCassandraConnector\": false,\r\n \"defaultIdentity\": \"\",\r\n \"networkAclBypass\": \"None\",\r\n \"consistencyPolicy\": {\r\n \"defaultConsistencyLevel\": \"Session\",\r\n \"maxIntervalInSeconds\": 5,\r\n \"maxStalenessPrefix\": 100\r\n },\r\n \"configurationOverrides\": {},\r\n \"writeLocations\": [\r\n {\r\n \"id\": \"stage-validation-source-r2-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://stage-validation-source-r2-eastus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"readLocations\": [\r\n {\r\n \"id\": \"stage-validation-source-r2-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://stage-validation-source-r2-eastus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"locations\": [\r\n {\r\n \"id\": \"stage-validation-source-r2-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://stage-validation-source-r2-eastus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"failoverPolicies\": [\r\n {\r\n \"id\": \"stage-validation-source-r2-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"failoverPriority\": 0\r\n }\r\n ],\r\n \"cors\": [],\r\n \"capabilities\": [],\r\n \"ipRules\": [],\r\n \"backupPolicy\": {\r\n \"type\": \"Periodic\",\r\n \"periodicModeProperties\": {\r\n \"backupIntervalInMinutes\": 240,\r\n \"backupRetentionIntervalInHours\": 8,\r\n \"backupStorageRedundancy\": \"Local\"\r\n }\r\n },\r\n \"restoreParameters\": {\r\n \"restoreMode\": \"PointInTime\",\r\n \"restoreSource\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/providers/Microsoft.DocumentDB/locations//restorableDatabaseAccounts/2e123a98-31b1-4603-a0e7-8a84fa28a1ee\",\r\n \"restoreTimestampInUtc\": \"2021-04-14T14:00:00Z\"\r\n },\r\n \"networkAclBypassResourceIds\": []\r\n },\r\n \"identity\": {\r\n \"type\": \"None\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/resourceGroups/backup-restore/providers/Microsoft.DocumentDB/databaseAccounts/stage-validation-source-r1\",\r\n \"name\": \"stage-validation-source-r1\",\r\n \"location\": \"East US 2\",\r\n \"type\": \"Microsoft.DocumentDB/databaseAccounts\",\r\n \"kind\": \"GlobalDocumentDB\",\r\n \"tags\": {\r\n \"defaultExperience\": \"Core (SQL)\",\r\n \"restoredSourceDatabaseAccountName\": \"stage-validation-source\",\r\n \"restoredAtTimestamp\": \"4/14/2021 6:24:38 PM\"\r\n },\r\n \"systemData\": {\r\n \"createdAt\": \"2021-04-14T18:33:55.2592402Z\"\r\n },\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"documentEndpoint\": \"https://stage-validation-source-r1.documents-staging.windows-ppe.net:443/\",\r\n \"publicNetworkAccess\": \"Enabled\",\r\n \"enableAutomaticFailover\": false,\r\n \"enableMultipleWriteLocations\": false,\r\n \"enablePartitionKeyMonitor\": false,\r\n \"isVirtualNetworkFilterEnabled\": false,\r\n \"virtualNetworkRules\": [],\r\n \"EnabledApiTypes\": \"Sql\",\r\n \"disableKeyBasedMetadataWriteAccess\": false,\r\n \"enableFreeTier\": false,\r\n \"enableAnalyticalStorage\": false,\r\n \"analyticalStorageConfiguration\": null,\r\n \"instanceId\": \"8b53dc96-dda3-4b43-b682-0cbec089e5e9\",\r\n \"createMode\": \"Restore\",\r\n \"databaseAccountOfferType\": \"Standard\",\r\n \"enableCassandraConnector\": false,\r\n \"defaultIdentity\": \"\",\r\n \"networkAclBypass\": \"None\",\r\n \"consistencyPolicy\": {\r\n \"defaultConsistencyLevel\": \"Session\",\r\n \"maxIntervalInSeconds\": 5,\r\n \"maxStalenessPrefix\": 100\r\n },\r\n \"configurationOverrides\": {},\r\n \"writeLocations\": [\r\n {\r\n \"id\": \"stage-validation-source-r1-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://stage-validation-source-r1-eastus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"readLocations\": [\r\n {\r\n \"id\": \"stage-validation-source-r1-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://stage-validation-source-r1-eastus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"locations\": [\r\n {\r\n \"id\": \"stage-validation-source-r1-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://stage-validation-source-r1-eastus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"failoverPolicies\": [\r\n {\r\n \"id\": \"stage-validation-source-r1-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"failoverPriority\": 0\r\n }\r\n ],\r\n \"cors\": [],\r\n \"capabilities\": [],\r\n \"ipRules\": [],\r\n \"backupPolicy\": {\r\n \"type\": \"Periodic\",\r\n \"periodicModeProperties\": {\r\n \"backupIntervalInMinutes\": 60,\r\n \"backupRetentionIntervalInHours\": 9,\r\n \"backupStorageRedundancy\": \"Geo\"\r\n }\r\n },\r\n \"restoreParameters\": {\r\n \"restoreMode\": \"PointInTime\",\r\n \"restoreSource\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/providers/Microsoft.DocumentDB/locations//restorableDatabaseAccounts/2e123a98-31b1-4603-a0e7-8a84fa28a1ee\",\r\n \"restoreTimestampInUtc\": \"2021-04-14T14:00:00Z\"\r\n },\r\n \"networkAclBypassResourceIds\": []\r\n },\r\n \"identity\": {\r\n \"type\": \"None\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/resourceGroups/bar-stagevalidationtest/providers/Microsoft.DocumentDB/databaseAccounts/pitr-hotfix-stage-restored-rrr-20210414\",\r\n \"name\": \"pitr-hotfix-stage-restored-rrr-20210414\",\r\n \"location\": \"East US 2\",\r\n \"type\": \"Microsoft.DocumentDB/databaseAccounts\",\r\n \"kind\": \"GlobalDocumentDB\",\r\n \"tags\": {\r\n \"defaultExperience\": \"Core (SQL)\",\r\n \"hidden-cosmos-mmspecial\": \"\",\r\n \"CosmosAccountType\": \"Non-Production\"\r\n },\r\n \"systemData\": {\r\n \"createdAt\": \"2021-04-14T22:28:52.8596304Z\"\r\n },\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"documentEndpoint\": \"https://pitr-hotfix-stage-restored-rrr-20210414.documents-staging.windows-ppe.net:443/\",\r\n \"publicNetworkAccess\": \"Enabled\",\r\n \"enableAutomaticFailover\": false,\r\n \"enableMultipleWriteLocations\": false,\r\n \"enablePartitionKeyMonitor\": false,\r\n \"isVirtualNetworkFilterEnabled\": false,\r\n \"virtualNetworkRules\": [],\r\n \"EnabledApiTypes\": \"Sql\",\r\n \"disableKeyBasedMetadataWriteAccess\": false,\r\n \"enableFreeTier\": false,\r\n \"enableAnalyticalStorage\": false,\r\n \"analyticalStorageConfiguration\": null,\r\n \"instanceId\": \"3472b9a8-dce7-412f-908f-0ca07fab66b4\",\r\n \"createMode\": \"Restore\",\r\n \"databaseAccountOfferType\": \"Standard\",\r\n \"enableCassandraConnector\": false,\r\n \"defaultIdentity\": \"\",\r\n \"networkAclBypass\": \"None\",\r\n \"consistencyPolicy\": {\r\n \"defaultConsistencyLevel\": \"Session\",\r\n \"maxIntervalInSeconds\": 5,\r\n \"maxStalenessPrefix\": 100\r\n },\r\n \"configurationOverrides\": {},\r\n \"writeLocations\": [\r\n {\r\n \"id\": \"pitr-hotfix-stage-restored-rrr-20210414-westus2\",\r\n \"locationName\": \"West US 2\",\r\n \"documentEndpoint\": \"https://pitr-hotfix-stage-restored-rrr-20210414-westus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"readLocations\": [\r\n {\r\n \"id\": \"pitr-hotfix-stage-restored-rrr-20210414-westus2\",\r\n \"locationName\": \"West US 2\",\r\n \"documentEndpoint\": \"https://pitr-hotfix-stage-restored-rrr-20210414-westus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"locations\": [\r\n {\r\n \"id\": \"pitr-hotfix-stage-restored-rrr-20210414-westus2\",\r\n \"locationName\": \"West US 2\",\r\n \"documentEndpoint\": \"https://pitr-hotfix-stage-restored-rrr-20210414-westus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"failoverPolicies\": [\r\n {\r\n \"id\": \"pitr-hotfix-stage-restored-rrr-20210414-westus2\",\r\n \"locationName\": \"West US 2\",\r\n \"failoverPriority\": 0\r\n }\r\n ],\r\n \"cors\": [],\r\n \"capabilities\": [],\r\n \"ipRules\": [],\r\n \"backupPolicy\": {\r\n \"type\": \"Continuous\"\r\n },\r\n \"restoreParameters\": {\r\n \"restoreMode\": \"PointInTime\",\r\n \"restoreSource\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/providers/Microsoft.DocumentDB/locations/eastus2/restorableDatabaseAccounts/a54115d5-4356-4771-b7b0-20f475ce5a38\",\r\n \"restoreTimestampInUtc\": \"2021-04-14T21:49:40.8690981Z\",\r\n \"databasesToRestore\": []\r\n },\r\n \"networkAclBypassResourceIds\": []\r\n },\r\n \"identity\": {\r\n \"type\": \"None\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/resourceGroups/viho-rg-stage/providers/Microsoft.DocumentDB/databaseAccounts/vihocassaz2\",\r\n \"name\": \"vihocassaz2\",\r\n \"location\": \"East US 2\",\r\n \"type\": \"Microsoft.DocumentDB/databaseAccounts\",\r\n \"kind\": \"GlobalDocumentDB\",\r\n \"tags\": {\r\n \"defaultExperience\": \"Cassandra\",\r\n \"hidden-cosmos-mmspecial\": \"\",\r\n \"CosmosAccountType\": \"Non-Production\"\r\n },\r\n \"systemData\": {\r\n \"createdAt\": \"2021-04-14T22:39:09.1817003Z\"\r\n },\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"documentEndpoint\": \"https://vihocassaz2.documents-staging.windows-ppe.net:443/\",\r\n \"cassandraEndpoint\": \"https://vihocassaz2.cassandra.cosmos.windows-ppe.net:443/\",\r\n \"publicNetworkAccess\": \"Enabled\",\r\n \"enableAutomaticFailover\": false,\r\n \"enableMultipleWriteLocations\": false,\r\n \"enablePartitionKeyMonitor\": false,\r\n \"isVirtualNetworkFilterEnabled\": false,\r\n \"virtualNetworkRules\": [],\r\n \"EnabledApiTypes\": \"Cassandra\",\r\n \"disableKeyBasedMetadataWriteAccess\": false,\r\n \"enableFreeTier\": false,\r\n \"enableAnalyticalStorage\": false,\r\n \"analyticalStorageConfiguration\": null,\r\n \"instanceId\": \"99e728ed-7484-4fad-b7f8-cb22b4feeae0\",\r\n \"createMode\": \"Default\",\r\n \"databaseAccountOfferType\": \"Standard\",\r\n \"enableCassandraConnector\": false,\r\n \"connectorOffer\": \"\",\r\n \"enableMaterializedViews\": false,\r\n \"enableFullFidelityChangeFeed\": false,\r\n \"defaultIdentity\": \"FirstPartyIdentity\",\r\n \"networkAclBypass\": \"None\",\r\n \"consistencyPolicy\": {\r\n \"defaultConsistencyLevel\": \"Session\",\r\n \"maxIntervalInSeconds\": 5,\r\n \"maxStalenessPrefix\": 100\r\n },\r\n \"configurationOverrides\": {},\r\n \"writeLocations\": [\r\n {\r\n \"id\": \"vihocassaz2-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://vihocassaz2-eastus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": true\r\n }\r\n ],\r\n \"readLocations\": [\r\n {\r\n \"id\": \"vihocassaz2-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://vihocassaz2-eastus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": true\r\n }\r\n ],\r\n \"locations\": [\r\n {\r\n \"id\": \"vihocassaz2-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://vihocassaz2-eastus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": true\r\n }\r\n ],\r\n \"failoverPolicies\": [\r\n {\r\n \"id\": \"vihocassaz2-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"failoverPriority\": 0\r\n }\r\n ],\r\n \"cors\": [],\r\n \"capabilities\": [\r\n {\r\n \"name\": \"EnableCassandra\"\r\n }\r\n ],\r\n \"ipRules\": [],\r\n \"backupPolicy\": {\r\n \"type\": \"Periodic\",\r\n \"periodicModeProperties\": {\r\n \"backupIntervalInMinutes\": 240,\r\n \"backupRetentionIntervalInHours\": 8,\r\n \"backupStorageRedundancy\": \"Geo\"\r\n }\r\n },\r\n \"networkAclBypassResourceIds\": []\r\n },\r\n \"identity\": {\r\n \"type\": \"None\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/resourceGroups/backup-restore/providers/Microsoft.DocumentDB/databaseAccounts/stage-validation-source-r44-r1\",\r\n \"name\": \"stage-validation-source-r44-r1\",\r\n \"location\": \"East US 2\",\r\n \"type\": \"Microsoft.DocumentDB/databaseAccounts\",\r\n \"kind\": \"GlobalDocumentDB\",\r\n \"tags\": {\r\n \"defaultExperience\": \"Core (SQL)\",\r\n \"restoredSourceDatabaseAccountName\": \"stage-validation-source,stage-validation-source-r44\",\r\n \"restoredAtTimestamp\": \"4/14/2021 6:24:38 PM,4/15/2021 2:02:54 AM\"\r\n },\r\n \"systemData\": {\r\n \"createdAt\": \"2021-04-15T02:10:59.4427334Z\"\r\n },\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"documentEndpoint\": \"https://stage-validation-source-r44-r1.documents-staging.windows-ppe.net:443/\",\r\n \"publicNetworkAccess\": \"Enabled\",\r\n \"enableAutomaticFailover\": false,\r\n \"enableMultipleWriteLocations\": false,\r\n \"enablePartitionKeyMonitor\": false,\r\n \"isVirtualNetworkFilterEnabled\": false,\r\n \"virtualNetworkRules\": [],\r\n \"EnabledApiTypes\": \"Sql\",\r\n \"disableKeyBasedMetadataWriteAccess\": false,\r\n \"enableFreeTier\": false,\r\n \"enableAnalyticalStorage\": false,\r\n \"analyticalStorageConfiguration\": null,\r\n \"instanceId\": \"4e67451b-4561-4e86-8977-5cae9561a5db\",\r\n \"createMode\": \"Restore\",\r\n \"databaseAccountOfferType\": \"Standard\",\r\n \"enableCassandraConnector\": false,\r\n \"defaultIdentity\": \"\",\r\n \"networkAclBypass\": \"None\",\r\n \"consistencyPolicy\": {\r\n \"defaultConsistencyLevel\": \"Session\",\r\n \"maxIntervalInSeconds\": 5,\r\n \"maxStalenessPrefix\": 100\r\n },\r\n \"configurationOverrides\": {},\r\n \"writeLocations\": [\r\n {\r\n \"id\": \"stage-validation-source-r44-r1-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://stage-validation-source-r44-r1-eastus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"readLocations\": [\r\n {\r\n \"id\": \"stage-validation-source-r44-r1-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://stage-validation-source-r44-r1-eastus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"locations\": [\r\n {\r\n \"id\": \"stage-validation-source-r44-r1-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://stage-validation-source-r44-r1-eastus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"failoverPolicies\": [\r\n {\r\n \"id\": \"stage-validation-source-r44-r1-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"failoverPriority\": 0\r\n }\r\n ],\r\n \"cors\": [],\r\n \"capabilities\": [],\r\n \"ipRules\": [],\r\n \"backupPolicy\": {\r\n \"type\": \"Periodic\",\r\n \"periodicModeProperties\": {\r\n \"backupIntervalInMinutes\": 240,\r\n \"backupRetentionIntervalInHours\": 8,\r\n \"backupStorageRedundancy\": \"Geo\"\r\n }\r\n },\r\n \"restoreParameters\": {\r\n \"restoreMode\": \"PointInTime\",\r\n \"restoreSource\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/providers/Microsoft.DocumentDB/locations//restorableDatabaseAccounts/0a330a35-66f6-412b-bc7d-5fb09028d7c6\",\r\n \"restoreTimestampInUtc\": \"2021-04-14T21:57:20Z\"\r\n },\r\n \"networkAclBypassResourceIds\": []\r\n },\r\n \"identity\": {\r\n \"type\": \"None\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/resourceGroups/bar-stagevalidationtest/providers/Microsoft.DocumentDB/databaseAccounts/pitr-hotfix-stage-restored-dr-20210414\",\r\n \"name\": \"pitr-hotfix-stage-restored-dr-20210414\",\r\n \"location\": \"East US 2\",\r\n \"type\": \"Microsoft.DocumentDB/databaseAccounts\",\r\n \"kind\": \"GlobalDocumentDB\",\r\n \"tags\": {\r\n \"defaultExperience\": \"Core (SQL)\",\r\n \"hidden-cosmos-mmspecial\": \"\",\r\n \"CosmosAccountType\": \"Non-Production\"\r\n },\r\n \"systemData\": {\r\n \"createdAt\": \"2021-04-15T02:32:17.0028163Z\"\r\n },\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"documentEndpoint\": \"https://pitr-hotfix-stage-restored-dr-20210414.documents-staging.windows-ppe.net:443/\",\r\n \"publicNetworkAccess\": \"Enabled\",\r\n \"enableAutomaticFailover\": false,\r\n \"enableMultipleWriteLocations\": false,\r\n \"enablePartitionKeyMonitor\": false,\r\n \"isVirtualNetworkFilterEnabled\": false,\r\n \"virtualNetworkRules\": [],\r\n \"EnabledApiTypes\": \"Sql\",\r\n \"disableKeyBasedMetadataWriteAccess\": false,\r\n \"enableFreeTier\": false,\r\n \"enableAnalyticalStorage\": false,\r\n \"analyticalStorageConfiguration\": null,\r\n \"instanceId\": \"86d7038a-f878-403a-844e-743f89abbb1f\",\r\n \"createMode\": \"Restore\",\r\n \"databaseAccountOfferType\": \"Standard\",\r\n \"enableCassandraConnector\": false,\r\n \"defaultIdentity\": \"\",\r\n \"networkAclBypass\": \"None\",\r\n \"consistencyPolicy\": {\r\n \"defaultConsistencyLevel\": \"Session\",\r\n \"maxIntervalInSeconds\": 5,\r\n \"maxStalenessPrefix\": 100\r\n },\r\n \"configurationOverrides\": {},\r\n \"writeLocations\": [\r\n {\r\n \"id\": \"pitr-hotfix-stage-restored-dr-20210414-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://pitr-hotfix-stage-restored-dr-20210414-eastus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"readLocations\": [\r\n {\r\n \"id\": \"pitr-hotfix-stage-restored-dr-20210414-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://pitr-hotfix-stage-restored-dr-20210414-eastus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"locations\": [\r\n {\r\n \"id\": \"pitr-hotfix-stage-restored-dr-20210414-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://pitr-hotfix-stage-restored-dr-20210414-eastus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"failoverPolicies\": [\r\n {\r\n \"id\": \"pitr-hotfix-stage-restored-dr-20210414-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"failoverPriority\": 0\r\n }\r\n ],\r\n \"cors\": [],\r\n \"capabilities\": [],\r\n \"ipRules\": [],\r\n \"backupPolicy\": {\r\n \"type\": \"Continuous\"\r\n },\r\n \"restoreParameters\": {\r\n \"restoreMode\": \"PointInTime\",\r\n \"restoreSource\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/providers/Microsoft.DocumentDB/locations/eastus2/restorableDatabaseAccounts/663857f1-9f11-442b-9d89-f20cc7fd8585\",\r\n \"restoreTimestampInUtc\": \"2021-04-14T22:29:35.0741176Z\",\r\n \"databasesToRestore\": []\r\n },\r\n \"networkAclBypassResourceIds\": []\r\n },\r\n \"identity\": {\r\n \"type\": \"None\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/resourceGroups/bar-stagevalidationtest/providers/Microsoft.DocumentDB/databaseAccounts/pitr-hotfix-stage-restored-ror-20210414\",\r\n \"name\": \"pitr-hotfix-stage-restored-ror-20210414\",\r\n \"location\": \"East US 2\",\r\n \"type\": \"Microsoft.DocumentDB/databaseAccounts\",\r\n \"kind\": \"GlobalDocumentDB\",\r\n \"tags\": {\r\n \"defaultExperience\": \"Core (SQL)\",\r\n \"hidden-cosmos-mmspecial\": \"\",\r\n \"CosmosAccountType\": \"Non-Production\"\r\n },\r\n \"systemData\": {\r\n \"createdAt\": \"2021-04-15T02:57:02.1149308Z\"\r\n },\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"documentEndpoint\": \"https://pitr-hotfix-stage-restored-ror-20210414.documents-staging.windows-ppe.net:443/\",\r\n \"publicNetworkAccess\": \"Enabled\",\r\n \"enableAutomaticFailover\": false,\r\n \"enableMultipleWriteLocations\": false,\r\n \"enablePartitionKeyMonitor\": false,\r\n \"isVirtualNetworkFilterEnabled\": false,\r\n \"virtualNetworkRules\": [],\r\n \"EnabledApiTypes\": \"Sql\",\r\n \"disableKeyBasedMetadataWriteAccess\": false,\r\n \"enableFreeTier\": false,\r\n \"enableAnalyticalStorage\": false,\r\n \"analyticalStorageConfiguration\": null,\r\n \"instanceId\": \"a0c919ea-bb0b-4389-9639-532e9f5d245e\",\r\n \"createMode\": \"Restore\",\r\n \"databaseAccountOfferType\": \"Standard\",\r\n \"enableCassandraConnector\": false,\r\n \"defaultIdentity\": \"\",\r\n \"networkAclBypass\": \"None\",\r\n \"consistencyPolicy\": {\r\n \"defaultConsistencyLevel\": \"Session\",\r\n \"maxIntervalInSeconds\": 5,\r\n \"maxStalenessPrefix\": 100\r\n },\r\n \"configurationOverrides\": {},\r\n \"writeLocations\": [\r\n {\r\n \"id\": \"pitr-hotfix-stage-restored-ror-20210414-westus2\",\r\n \"locationName\": \"West US 2\",\r\n \"documentEndpoint\": \"https://pitr-hotfix-stage-restored-ror-20210414-westus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"readLocations\": [\r\n {\r\n \"id\": \"pitr-hotfix-stage-restored-ror-20210414-westus2\",\r\n \"locationName\": \"West US 2\",\r\n \"documentEndpoint\": \"https://pitr-hotfix-stage-restored-ror-20210414-westus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"locations\": [\r\n {\r\n \"id\": \"pitr-hotfix-stage-restored-ror-20210414-westus2\",\r\n \"locationName\": \"West US 2\",\r\n \"documentEndpoint\": \"https://pitr-hotfix-stage-restored-ror-20210414-westus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"failoverPolicies\": [\r\n {\r\n \"id\": \"pitr-hotfix-stage-restored-ror-20210414-westus2\",\r\n \"locationName\": \"West US 2\",\r\n \"failoverPriority\": 0\r\n }\r\n ],\r\n \"cors\": [],\r\n \"capabilities\": [],\r\n \"ipRules\": [],\r\n \"backupPolicy\": {\r\n \"type\": \"Continuous\"\r\n },\r\n \"restoreParameters\": {\r\n \"restoreMode\": \"PointInTime\",\r\n \"restoreSource\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/providers/Microsoft.DocumentDB/locations/eastus2/restorableDatabaseAccounts/3472b9a8-dce7-412f-908f-0ca07fab66b4\",\r\n \"restoreTimestampInUtc\": \"2021-04-15T02:33:24.2017963Z\",\r\n \"databasesToRestore\": []\r\n },\r\n \"networkAclBypassResourceIds\": []\r\n },\r\n \"identity\": {\r\n \"type\": \"None\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/resourceGroups/backup-restore/providers/Microsoft.DocumentDB/databaseAccounts/stage-validation-source-r1-r1\",\r\n \"name\": \"stage-validation-source-r1-r1\",\r\n \"location\": \"East US 2\",\r\n \"type\": \"Microsoft.DocumentDB/databaseAccounts\",\r\n \"kind\": \"GlobalDocumentDB\",\r\n \"tags\": {\r\n \"defaultExperience\": \"Core (SQL)\",\r\n \"restoredSourceDatabaseAccountName\": \"stage-validation-source,stage-validation-source-r1\",\r\n \"restoredAtTimestamp\": \"4/14/2021 6:24:38 PM,4/15/2021 2:55:52 AM\"\r\n },\r\n \"systemData\": {\r\n \"createdAt\": \"2021-04-15T03:04:16.3322126Z\"\r\n },\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"documentEndpoint\": \"https://stage-validation-source-r1-r1.documents-staging.windows-ppe.net:443/\",\r\n \"publicNetworkAccess\": \"Enabled\",\r\n \"enableAutomaticFailover\": false,\r\n \"enableMultipleWriteLocations\": false,\r\n \"enablePartitionKeyMonitor\": false,\r\n \"isVirtualNetworkFilterEnabled\": false,\r\n \"virtualNetworkRules\": [],\r\n \"EnabledApiTypes\": \"Sql\",\r\n \"disableKeyBasedMetadataWriteAccess\": false,\r\n \"enableFreeTier\": false,\r\n \"enableAnalyticalStorage\": false,\r\n \"analyticalStorageConfiguration\": null,\r\n \"instanceId\": \"0562f411-1d0f-4216-bd2c-df536ea36187\",\r\n \"createMode\": \"Restore\",\r\n \"databaseAccountOfferType\": \"Standard\",\r\n \"enableCassandraConnector\": false,\r\n \"defaultIdentity\": \"\",\r\n \"networkAclBypass\": \"None\",\r\n \"consistencyPolicy\": {\r\n \"defaultConsistencyLevel\": \"Session\",\r\n \"maxIntervalInSeconds\": 5,\r\n \"maxStalenessPrefix\": 100\r\n },\r\n \"configurationOverrides\": {},\r\n \"writeLocations\": [\r\n {\r\n \"id\": \"stage-validation-source-r1-r1-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://stage-validation-source-r1-r1-eastus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"readLocations\": [\r\n {\r\n \"id\": \"stage-validation-source-r1-r1-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://stage-validation-source-r1-r1-eastus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"locations\": [\r\n {\r\n \"id\": \"stage-validation-source-r1-r1-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://stage-validation-source-r1-r1-eastus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"failoverPolicies\": [\r\n {\r\n \"id\": \"stage-validation-source-r1-r1-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"failoverPriority\": 0\r\n }\r\n ],\r\n \"cors\": [],\r\n \"capabilities\": [],\r\n \"ipRules\": [],\r\n \"backupPolicy\": {\r\n \"type\": \"Periodic\",\r\n \"periodicModeProperties\": {\r\n \"backupIntervalInMinutes\": 240,\r\n \"backupRetentionIntervalInHours\": 8,\r\n \"backupStorageRedundancy\": \"Geo\"\r\n }\r\n },\r\n \"restoreParameters\": {\r\n \"restoreMode\": \"PointInTime\",\r\n \"restoreSource\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/providers/Microsoft.DocumentDB/locations//restorableDatabaseAccounts/8b53dc96-dda3-4b43-b682-0cbec089e5e9\",\r\n \"restoreTimestampInUtc\": \"2021-04-15T02:30:00Z\"\r\n },\r\n \"networkAclBypassResourceIds\": []\r\n },\r\n \"identity\": {\r\n \"type\": \"None\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/resourceGroups/backup-restore/providers/Microsoft.DocumentDB/databaseAccounts/stage-validation-source-r44-r2\",\r\n \"name\": \"stage-validation-source-r44-r2\",\r\n \"location\": \"East US 2\",\r\n \"type\": \"Microsoft.DocumentDB/databaseAccounts\",\r\n \"kind\": \"GlobalDocumentDB\",\r\n \"tags\": {\r\n \"defaultExperience\": \"Core (SQL)\",\r\n \"restoredSourceDatabaseAccountName\": \"stage-validation-source,stage-validation-source-r44\",\r\n \"restoredAtTimestamp\": \"4/14/2021 6:24:38 PM,4/15/2021 2:56:14 AM\"\r\n },\r\n \"systemData\": {\r\n \"createdAt\": \"2021-04-15T03:04:14.0459422Z\"\r\n },\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"documentEndpoint\": \"https://stage-validation-source-r44-r2.documents-staging.windows-ppe.net:443/\",\r\n \"publicNetworkAccess\": \"Enabled\",\r\n \"enableAutomaticFailover\": false,\r\n \"enableMultipleWriteLocations\": false,\r\n \"enablePartitionKeyMonitor\": false,\r\n \"isVirtualNetworkFilterEnabled\": false,\r\n \"virtualNetworkRules\": [],\r\n \"EnabledApiTypes\": \"Sql\",\r\n \"disableKeyBasedMetadataWriteAccess\": false,\r\n \"enableFreeTier\": false,\r\n \"enableAnalyticalStorage\": false,\r\n \"analyticalStorageConfiguration\": null,\r\n \"instanceId\": \"368cd767-96e6-4092-9e2c-f550703824de\",\r\n \"createMode\": \"Restore\",\r\n \"databaseAccountOfferType\": \"Standard\",\r\n \"enableCassandraConnector\": false,\r\n \"defaultIdentity\": \"\",\r\n \"networkAclBypass\": \"None\",\r\n \"consistencyPolicy\": {\r\n \"defaultConsistencyLevel\": \"Session\",\r\n \"maxIntervalInSeconds\": 5,\r\n \"maxStalenessPrefix\": 100\r\n },\r\n \"configurationOverrides\": {},\r\n \"writeLocations\": [\r\n {\r\n \"id\": \"stage-validation-source-r44-r2-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://stage-validation-source-r44-r2-eastus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"readLocations\": [\r\n {\r\n \"id\": \"stage-validation-source-r44-r2-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://stage-validation-source-r44-r2-eastus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"locations\": [\r\n {\r\n \"id\": \"stage-validation-source-r44-r2-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://stage-validation-source-r44-r2-eastus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"failoverPolicies\": [\r\n {\r\n \"id\": \"stage-validation-source-r44-r2-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"failoverPriority\": 0\r\n }\r\n ],\r\n \"cors\": [],\r\n \"capabilities\": [],\r\n \"ipRules\": [],\r\n \"backupPolicy\": {\r\n \"type\": \"Periodic\",\r\n \"periodicModeProperties\": {\r\n \"backupIntervalInMinutes\": 240,\r\n \"backupRetentionIntervalInHours\": 8,\r\n \"backupStorageRedundancy\": \"Geo\"\r\n }\r\n },\r\n \"restoreParameters\": {\r\n \"restoreMode\": \"PointInTime\",\r\n \"restoreSource\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/providers/Microsoft.DocumentDB/locations//restorableDatabaseAccounts/0a330a35-66f6-412b-bc7d-5fb09028d7c6\",\r\n \"restoreTimestampInUtc\": \"2021-04-14T21:57:20Z\"\r\n },\r\n \"networkAclBypassResourceIds\": []\r\n },\r\n \"identity\": {\r\n \"type\": \"None\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/resourceGroups/backup-restore/providers/Microsoft.DocumentDB/databaseAccounts/stage-validation-source-r44-r3\",\r\n \"name\": \"stage-validation-source-r44-r3\",\r\n \"location\": \"East US 2\",\r\n \"type\": \"Microsoft.DocumentDB/databaseAccounts\",\r\n \"kind\": \"GlobalDocumentDB\",\r\n \"tags\": {\r\n \"defaultExperience\": \"Core (SQL)\",\r\n \"restoredSourceDatabaseAccountName\": \"stage-validation-source,stage-validation-source-r44\",\r\n \"restoredAtTimestamp\": \"4/14/2021 6:24:38 PM,4/15/2021 3:31:38 AM\"\r\n },\r\n \"systemData\": {\r\n \"createdAt\": \"2021-04-15T03:39:36.2620695Z\"\r\n },\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"documentEndpoint\": \"https://stage-validation-source-r44-r3.documents-staging.windows-ppe.net:443/\",\r\n \"publicNetworkAccess\": \"Enabled\",\r\n \"enableAutomaticFailover\": false,\r\n \"enableMultipleWriteLocations\": false,\r\n \"enablePartitionKeyMonitor\": false,\r\n \"isVirtualNetworkFilterEnabled\": false,\r\n \"virtualNetworkRules\": [],\r\n \"EnabledApiTypes\": \"Sql\",\r\n \"disableKeyBasedMetadataWriteAccess\": false,\r\n \"enableFreeTier\": false,\r\n \"enableAnalyticalStorage\": false,\r\n \"analyticalStorageConfiguration\": null,\r\n \"instanceId\": \"981d4867-855d-4384-b333-4a76a2e1be79\",\r\n \"createMode\": \"Restore\",\r\n \"databaseAccountOfferType\": \"Standard\",\r\n \"enableCassandraConnector\": false,\r\n \"defaultIdentity\": \"\",\r\n \"networkAclBypass\": \"None\",\r\n \"consistencyPolicy\": {\r\n \"defaultConsistencyLevel\": \"Session\",\r\n \"maxIntervalInSeconds\": 5,\r\n \"maxStalenessPrefix\": 100\r\n },\r\n \"configurationOverrides\": {},\r\n \"writeLocations\": [\r\n {\r\n \"id\": \"stage-validation-source-r44-r3-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://stage-validation-source-r44-r3-eastus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"readLocations\": [\r\n {\r\n \"id\": \"stage-validation-source-r44-r3-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://stage-validation-source-r44-r3-eastus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"locations\": [\r\n {\r\n \"id\": \"stage-validation-source-r44-r3-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://stage-validation-source-r44-r3-eastus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"failoverPolicies\": [\r\n {\r\n \"id\": \"stage-validation-source-r44-r3-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"failoverPriority\": 0\r\n }\r\n ],\r\n \"cors\": [],\r\n \"capabilities\": [],\r\n \"ipRules\": [],\r\n \"backupPolicy\": {\r\n \"type\": \"Periodic\",\r\n \"periodicModeProperties\": {\r\n \"backupIntervalInMinutes\": 240,\r\n \"backupRetentionIntervalInHours\": 8,\r\n \"backupStorageRedundancy\": \"Geo\"\r\n }\r\n },\r\n \"restoreParameters\": {\r\n \"restoreMode\": \"PointInTime\",\r\n \"restoreSource\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/providers/Microsoft.DocumentDB/locations//restorableDatabaseAccounts/0a330a35-66f6-412b-bc7d-5fb09028d7c6\",\r\n \"restoreTimestampInUtc\": \"2021-04-14T21:57:20Z\"\r\n },\r\n \"networkAclBypassResourceIds\": []\r\n },\r\n \"identity\": {\r\n \"type\": \"None\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/resourceGroups/pitr-as-stage-signoff/providers/Microsoft.DocumentDB/databaseAccounts/pitr-as-stage-validation-source\",\r\n \"name\": \"pitr-as-stage-validation-source\",\r\n \"location\": \"East US 2\",\r\n \"type\": \"Microsoft.DocumentDB/databaseAccounts\",\r\n \"kind\": \"GlobalDocumentDB\",\r\n \"tags\": {\r\n \"defaultExperience\": \"Core (SQL)\",\r\n \"hidden-cosmos-mmspecial\": \"\",\r\n \"CosmosAccountType\": \"Non-Production\"\r\n },\r\n \"systemData\": {\r\n \"createdAt\": \"2021-04-16T17:45:40.5722792Z\"\r\n },\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"documentEndpoint\": \"https://pitr-as-stage-validation-source.documents-staging.windows-ppe.net:443/\",\r\n \"publicNetworkAccess\": \"Enabled\",\r\n \"enableAutomaticFailover\": false,\r\n \"enableMultipleWriteLocations\": false,\r\n \"enablePartitionKeyMonitor\": false,\r\n \"isVirtualNetworkFilterEnabled\": false,\r\n \"virtualNetworkRules\": [],\r\n \"EnabledApiTypes\": \"Sql\",\r\n \"disableKeyBasedMetadataWriteAccess\": false,\r\n \"enableFreeTier\": false,\r\n \"enableAnalyticalStorage\": true,\r\n \"analyticalStorageConfiguration\": null,\r\n \"instanceId\": \"f297a3ff-0d28-4b55-9886-aab70c231eb9\",\r\n \"createMode\": \"Default\",\r\n \"databaseAccountOfferType\": \"Standard\",\r\n \"enableCassandraConnector\": false,\r\n \"connectorOffer\": \"\",\r\n \"enableMaterializedViews\": false,\r\n \"enableFullFidelityChangeFeed\": false,\r\n \"defaultIdentity\": \"FirstPartyIdentity\",\r\n \"networkAclBypass\": \"None\",\r\n \"consistencyPolicy\": {\r\n \"defaultConsistencyLevel\": \"Session\",\r\n \"maxIntervalInSeconds\": 5,\r\n \"maxStalenessPrefix\": 100\r\n },\r\n \"configurationOverrides\": {},\r\n \"writeLocations\": [\r\n {\r\n \"id\": \"pitr-as-stage-validation-source-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://pitr-as-stage-validation-source-eastus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"readLocations\": [\r\n {\r\n \"id\": \"pitr-as-stage-validation-source-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://pitr-as-stage-validation-source-eastus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"locations\": [\r\n {\r\n \"id\": \"pitr-as-stage-validation-source-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://pitr-as-stage-validation-source-eastus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"failoverPolicies\": [\r\n {\r\n \"id\": \"pitr-as-stage-validation-source-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"failoverPriority\": 0\r\n }\r\n ],\r\n \"cors\": [],\r\n \"capabilities\": [],\r\n \"ipRules\": [],\r\n \"backupPolicy\": {\r\n \"type\": \"Continuous\"\r\n },\r\n \"networkAclBypassResourceIds\": []\r\n },\r\n \"identity\": {\r\n \"type\": \"None\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/resourceGroups/pitr-as-stage-signoff/providers/Microsoft.DocumentDB/databaseAccounts/pitr-as-stage-validation-source-r0416\",\r\n \"name\": \"pitr-as-stage-validation-source-r0416\",\r\n \"location\": \"East US 2\",\r\n \"type\": \"Microsoft.DocumentDB/databaseAccounts\",\r\n \"kind\": \"GlobalDocumentDB\",\r\n \"tags\": {\r\n \"defaultExperience\": \"Core (SQL)\",\r\n \"hidden-cosmos-mmspecial\": \"\",\r\n \"CosmosAccountType\": \"Non-Production\"\r\n },\r\n \"systemData\": {\r\n \"createdAt\": \"2021-04-16T18:24:14.8974132Z\"\r\n },\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"documentEndpoint\": \"https://pitr-as-stage-validation-source-r0416.documents-staging.windows-ppe.net:443/\",\r\n \"publicNetworkAccess\": \"Enabled\",\r\n \"enableAutomaticFailover\": false,\r\n \"enableMultipleWriteLocations\": false,\r\n \"enablePartitionKeyMonitor\": false,\r\n \"isVirtualNetworkFilterEnabled\": false,\r\n \"virtualNetworkRules\": [],\r\n \"EnabledApiTypes\": \"Sql\",\r\n \"disableKeyBasedMetadataWriteAccess\": false,\r\n \"enableFreeTier\": false,\r\n \"enableAnalyticalStorage\": true,\r\n \"analyticalStorageConfiguration\": null,\r\n \"instanceId\": \"d7f028d4-f830-42e1-b048-1f1bb9b4f8b1\",\r\n \"createMode\": \"Restore\",\r\n \"databaseAccountOfferType\": \"Standard\",\r\n \"enableCassandraConnector\": false,\r\n \"enableMaterializedViews\": false,\r\n \"enableFullFidelityChangeFeed\": false,\r\n \"defaultIdentity\": \"FirstPartyIdentity\",\r\n \"networkAclBypass\": \"None\",\r\n \"consistencyPolicy\": {\r\n \"defaultConsistencyLevel\": \"Session\",\r\n \"maxIntervalInSeconds\": 5,\r\n \"maxStalenessPrefix\": 100\r\n },\r\n \"configurationOverrides\": {},\r\n \"writeLocations\": [\r\n {\r\n \"id\": \"pitr-as-stage-validation-source-r0416-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://pitr-as-stage-validation-source-r0416-eastus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"readLocations\": [\r\n {\r\n \"id\": \"pitr-as-stage-validation-source-r0416-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://pitr-as-stage-validation-source-r0416-eastus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"locations\": [\r\n {\r\n \"id\": \"pitr-as-stage-validation-source-r0416-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://pitr-as-stage-validation-source-r0416-eastus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"failoverPolicies\": [\r\n {\r\n \"id\": \"pitr-as-stage-validation-source-r0416-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"failoverPriority\": 0\r\n }\r\n ],\r\n \"cors\": [],\r\n \"capabilities\": [],\r\n \"ipRules\": [],\r\n \"backupPolicy\": {\r\n \"type\": \"Continuous\"\r\n },\r\n \"restoreParameters\": {\r\n \"restoreMode\": \"PointInTime\",\r\n \"restoreSource\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/providers/Microsoft.DocumentDB/locations/eastus2/restorableDatabaseAccounts/f297a3ff-0d28-4b55-9886-aab70c231eb9\",\r\n \"restoreTimestampInUtc\": \"2021-04-16T18:00:00Z\",\r\n \"databasesToRestore\": []\r\n },\r\n \"networkAclBypassResourceIds\": []\r\n },\r\n \"identity\": {\r\n \"type\": \"None\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/resourceGroups/masi_rg/providers/Microsoft.DocumentDB/databaseAccounts/masi-signoff0321\",\r\n \"name\": \"masi-signoff0321\",\r\n \"location\": \"East US 2\",\r\n \"type\": \"Microsoft.DocumentDB/databaseAccounts\",\r\n \"kind\": \"GlobalDocumentDB\",\r\n \"tags\": {\r\n \"defaultExperience\": \"Core (SQL)\",\r\n \"hidden-cosmos-mmspecial\": \"\",\r\n \"CosmosAccountType\": \"Non-Production\"\r\n },\r\n \"systemData\": {\r\n \"createdAt\": \"2021-04-16T19:50:48.1133519Z\"\r\n },\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"documentEndpoint\": \"https://masi-signoff0321.documents-staging.windows-ppe.net:443/\",\r\n \"publicNetworkAccess\": \"Enabled\",\r\n \"enableAutomaticFailover\": false,\r\n \"enableMultipleWriteLocations\": false,\r\n \"enablePartitionKeyMonitor\": false,\r\n \"isVirtualNetworkFilterEnabled\": false,\r\n \"virtualNetworkRules\": [],\r\n \"EnabledApiTypes\": \"Sql\",\r\n \"disableKeyBasedMetadataWriteAccess\": false,\r\n \"enableFreeTier\": false,\r\n \"enableAnalyticalStorage\": false,\r\n \"analyticalStorageConfiguration\": null,\r\n \"instanceId\": \"0240aa6b-7f81-4eae-930c-5f679c62aa5c\",\r\n \"createMode\": \"Default\",\r\n \"databaseAccountOfferType\": \"Standard\",\r\n \"enableCassandraConnector\": false,\r\n \"connectorOffer\": \"\",\r\n \"enableMaterializedViews\": false,\r\n \"enableFullFidelityChangeFeed\": false,\r\n \"defaultIdentity\": \"FirstPartyIdentity\",\r\n \"networkAclBypass\": \"None\",\r\n \"consistencyPolicy\": {\r\n \"defaultConsistencyLevel\": \"Session\",\r\n \"maxIntervalInSeconds\": 5,\r\n \"maxStalenessPrefix\": 100\r\n },\r\n \"configurationOverrides\": {},\r\n \"writeLocations\": [\r\n {\r\n \"id\": \"masi-signoff0321-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://masi-signoff0321-eastus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"readLocations\": [\r\n {\r\n \"id\": \"masi-signoff0321-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://masi-signoff0321-eastus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"locations\": [\r\n {\r\n \"id\": \"masi-signoff0321-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://masi-signoff0321-eastus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"failoverPolicies\": [\r\n {\r\n \"id\": \"masi-signoff0321-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"failoverPriority\": 0\r\n }\r\n ],\r\n \"cors\": [],\r\n \"capabilities\": [],\r\n \"ipRules\": [],\r\n \"backupPolicy\": {\r\n \"type\": \"Periodic\",\r\n \"periodicModeProperties\": {\r\n \"backupIntervalInMinutes\": 240,\r\n \"backupRetentionIntervalInHours\": 8,\r\n \"backupStorageRedundancy\": \"Geo\"\r\n }\r\n },\r\n \"networkAclBypassResourceIds\": []\r\n },\r\n \"identity\": {\r\n \"type\": \"None\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/resourceGroups/artrejo/providers/Microsoft.DocumentDB/databaseAccounts/20210419-sql\",\r\n \"name\": \"20210419-sql\",\r\n \"location\": \"East US 2\",\r\n \"type\": \"Microsoft.DocumentDB/databaseAccounts\",\r\n \"kind\": \"GlobalDocumentDB\",\r\n \"tags\": {\r\n \"defaultExperience\": \"Core (SQL)\",\r\n \"hidden-cosmos-mmspecial\": \"\",\r\n \"CosmosAccountType\": \"Non-Production\"\r\n },\r\n \"systemData\": {\r\n \"createdAt\": \"2021-04-19T18:20:37.7815072Z\"\r\n },\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"documentEndpoint\": \"https://20210419-sql.documents-staging.windows-ppe.net:443/\",\r\n \"publicNetworkAccess\": \"Enabled\",\r\n \"enableAutomaticFailover\": false,\r\n \"enableMultipleWriteLocations\": false,\r\n \"enablePartitionKeyMonitor\": false,\r\n \"isVirtualNetworkFilterEnabled\": false,\r\n \"virtualNetworkRules\": [],\r\n \"EnabledApiTypes\": \"Sql\",\r\n \"disableKeyBasedMetadataWriteAccess\": false,\r\n \"enableFreeTier\": false,\r\n \"enableAnalyticalStorage\": false,\r\n \"analyticalStorageConfiguration\": null,\r\n \"instanceId\": \"f4b91bdc-5573-4b84-9fc3-31f3e8d8aa11\",\r\n \"createMode\": \"Default\",\r\n \"databaseAccountOfferType\": \"Standard\",\r\n \"enableCassandraConnector\": false,\r\n \"connectorOffer\": \"\",\r\n \"enableMaterializedViews\": false,\r\n \"enableFullFidelityChangeFeed\": false,\r\n \"defaultIdentity\": \"FirstPartyIdentity\",\r\n \"networkAclBypass\": \"None\",\r\n \"consistencyPolicy\": {\r\n \"defaultConsistencyLevel\": \"Strong\",\r\n \"maxIntervalInSeconds\": 5,\r\n \"maxStalenessPrefix\": 100\r\n },\r\n \"configurationOverrides\": {},\r\n \"writeLocations\": [\r\n {\r\n \"id\": \"20210419-sql-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://20210419-sql-eastus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"readLocations\": [\r\n {\r\n \"id\": \"20210419-sql-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://20210419-sql-eastus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"locations\": [\r\n {\r\n \"id\": \"20210419-sql-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://20210419-sql-eastus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"failoverPolicies\": [\r\n {\r\n \"id\": \"20210419-sql-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"failoverPriority\": 0\r\n }\r\n ],\r\n \"cors\": [],\r\n \"capabilities\": [],\r\n \"ipRules\": [],\r\n \"backupPolicy\": {\r\n \"type\": \"Periodic\",\r\n \"periodicModeProperties\": {\r\n \"backupIntervalInMinutes\": 240,\r\n \"backupRetentionIntervalInHours\": 8,\r\n \"backupStorageRedundancy\": \"Geo\"\r\n }\r\n },\r\n \"networkAclBypassResourceIds\": []\r\n },\r\n \"identity\": {\r\n \"type\": \"None\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/resourceGroups/craigmci/providers/Microsoft.DocumentDB/databaseAccounts/craigmci-kafkaconnect\",\r\n \"name\": \"craigmci-kafkaconnect\",\r\n \"location\": \"East US 2\",\r\n \"type\": \"Microsoft.DocumentDB/databaseAccounts\",\r\n \"kind\": \"MongoDB\",\r\n \"tags\": {\r\n \"defaultExperience\": \"Azure Cosmos DB for MongoDB API\",\r\n \"hidden-cosmos-mmspecial\": \"\",\r\n \"CosmosAccountType\": \"Non-Production\"\r\n },\r\n \"systemData\": {\r\n \"createdAt\": \"2021-04-20T14:11:00.1030608Z\"\r\n },\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"documentEndpoint\": \"https://craigmci-kafkaconnect.documents-staging.windows-ppe.net:443/\",\r\n \"mongoEndpoint\": \"https://craigmci-kafkaconnect.mongo.cosmos.windows-ppe.net:443/\",\r\n \"publicNetworkAccess\": \"Enabled\",\r\n \"enableAutomaticFailover\": false,\r\n \"enableMultipleWriteLocations\": false,\r\n \"enablePartitionKeyMonitor\": false,\r\n \"isVirtualNetworkFilterEnabled\": false,\r\n \"virtualNetworkRules\": [],\r\n \"EnabledApiTypes\": \"MongoDB\",\r\n \"disableKeyBasedMetadataWriteAccess\": false,\r\n \"enableFreeTier\": false,\r\n \"enableAnalyticalStorage\": false,\r\n \"analyticalStorageConfiguration\": null,\r\n \"instanceId\": \"74396831-a0d5-4b44-b0bf-c1b2c3580551\",\r\n \"createMode\": \"Default\",\r\n \"databaseAccountOfferType\": \"Standard\",\r\n \"enableCassandraConnector\": false,\r\n \"connectorOffer\": \"\",\r\n \"enableMaterializedViews\": false,\r\n \"enableFullFidelityChangeFeed\": false,\r\n \"defaultIdentity\": \"FirstPartyIdentity\",\r\n \"networkAclBypass\": \"None\",\r\n \"consistencyPolicy\": {\r\n \"defaultConsistencyLevel\": \"Session\",\r\n \"maxIntervalInSeconds\": 5,\r\n \"maxStalenessPrefix\": 100\r\n },\r\n \"apiProperties\": {\r\n \"serverVersion\": \"3.6\"\r\n },\r\n \"configurationOverrides\": {\r\n \"EnableBsonSchema\": \"True\"\r\n },\r\n \"writeLocations\": [\r\n {\r\n \"id\": \"craigmci-kafkaconnect-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://craigmci-kafkaconnect-eastus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"readLocations\": [\r\n {\r\n \"id\": \"craigmci-kafkaconnect-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://craigmci-kafkaconnect-eastus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"locations\": [\r\n {\r\n \"id\": \"craigmci-kafkaconnect-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://craigmci-kafkaconnect-eastus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"failoverPolicies\": [\r\n {\r\n \"id\": \"craigmci-kafkaconnect-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"failoverPriority\": 0\r\n }\r\n ],\r\n \"cors\": [],\r\n \"capabilities\": [\r\n {\r\n \"name\": \"EnableMongo\"\r\n },\r\n {\r\n \"name\": \"DisableRateLimitingResponses\"\r\n }\r\n ],\r\n \"ipRules\": [],\r\n \"backupPolicy\": {\r\n \"type\": \"Periodic\",\r\n \"periodicModeProperties\": {\r\n \"backupIntervalInMinutes\": 240,\r\n \"backupRetentionIntervalInHours\": 8,\r\n \"backupStorageRedundancy\": \"Geo\"\r\n }\r\n },\r\n \"networkAclBypassResourceIds\": []\r\n },\r\n \"identity\": {\r\n \"type\": \"None\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/resourceGroups/artrejo/providers/Microsoft.DocumentDB/databaseAccounts/20210420-mongo\",\r\n \"name\": \"20210420-mongo\",\r\n \"location\": \"East US 2\",\r\n \"type\": \"Microsoft.DocumentDB/databaseAccounts\",\r\n \"kind\": \"GlobalDocumentDB\",\r\n \"tags\": {\r\n \"defaultExperience\": \"Core (SQL)\",\r\n \"hidden-cosmos-mmspecial\": \"\",\r\n \"CosmosAccountType\": \"Non-Production\"\r\n },\r\n \"systemData\": {\r\n \"createdAt\": \"2021-04-20T17:22:30.8156974Z\"\r\n },\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"documentEndpoint\": \"https://20210420-mongo.documents-staging.windows-ppe.net:443/\",\r\n \"publicNetworkAccess\": \"Enabled\",\r\n \"enableAutomaticFailover\": false,\r\n \"enableMultipleWriteLocations\": false,\r\n \"enablePartitionKeyMonitor\": false,\r\n \"isVirtualNetworkFilterEnabled\": false,\r\n \"virtualNetworkRules\": [],\r\n \"EnabledApiTypes\": \"Sql\",\r\n \"disableKeyBasedMetadataWriteAccess\": false,\r\n \"enableFreeTier\": false,\r\n \"enableAnalyticalStorage\": false,\r\n \"analyticalStorageConfiguration\": null,\r\n \"instanceId\": \"a9d3391d-9772-4a20-a441-d8df8f552800\",\r\n \"createMode\": \"Default\",\r\n \"databaseAccountOfferType\": \"Standard\",\r\n \"enableCassandraConnector\": false,\r\n \"connectorOffer\": \"\",\r\n \"enableMaterializedViews\": false,\r\n \"enableFullFidelityChangeFeed\": false,\r\n \"defaultIdentity\": \"FirstPartyIdentity\",\r\n \"networkAclBypass\": \"None\",\r\n \"consistencyPolicy\": {\r\n \"defaultConsistencyLevel\": \"Session\",\r\n \"maxIntervalInSeconds\": 5,\r\n \"maxStalenessPrefix\": 100\r\n },\r\n \"configurationOverrides\": {},\r\n \"writeLocations\": [\r\n {\r\n \"id\": \"20210420-mongo-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://20210420-mongo-eastus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"readLocations\": [\r\n {\r\n \"id\": \"20210420-mongo-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://20210420-mongo-eastus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"locations\": [\r\n {\r\n \"id\": \"20210420-mongo-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://20210420-mongo-eastus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"failoverPolicies\": [\r\n {\r\n \"id\": \"20210420-mongo-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"failoverPriority\": 0\r\n }\r\n ],\r\n \"cors\": [],\r\n \"capabilities\": [],\r\n \"ipRules\": [],\r\n \"backupPolicy\": {\r\n \"type\": \"Periodic\",\r\n \"periodicModeProperties\": {\r\n \"backupIntervalInMinutes\": 240,\r\n \"backupRetentionIntervalInHours\": 8,\r\n \"backupStorageRedundancy\": \"Geo\"\r\n }\r\n },\r\n \"networkAclBypassResourceIds\": []\r\n },\r\n \"identity\": {\r\n \"type\": \"None\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/resourceGroups/artrejo/providers/Microsoft.DocumentDB/databaseAccounts/20210420-cassandra\",\r\n \"name\": \"20210420-cassandra\",\r\n \"location\": \"East US 2\",\r\n \"type\": \"Microsoft.DocumentDB/databaseAccounts\",\r\n \"kind\": \"GlobalDocumentDB\",\r\n \"tags\": {\r\n \"defaultExperience\": \"Cassandra\",\r\n \"hidden-cosmos-mmspecial\": \"\",\r\n \"CosmosAccountType\": \"Non-Production\"\r\n },\r\n \"systemData\": {\r\n \"createdAt\": \"2021-04-20T17:23:47.829748Z\"\r\n },\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"documentEndpoint\": \"https://20210420-cassandra.documents-staging.windows-ppe.net:443/\",\r\n \"cassandraEndpoint\": \"https://20210420-cassandra.cassandra.cosmos.windows-ppe.net:443/\",\r\n \"publicNetworkAccess\": \"Enabled\",\r\n \"enableAutomaticFailover\": false,\r\n \"enableMultipleWriteLocations\": false,\r\n \"enablePartitionKeyMonitor\": false,\r\n \"isVirtualNetworkFilterEnabled\": false,\r\n \"virtualNetworkRules\": [],\r\n \"EnabledApiTypes\": \"Cassandra\",\r\n \"disableKeyBasedMetadataWriteAccess\": false,\r\n \"enableFreeTier\": false,\r\n \"enableAnalyticalStorage\": false,\r\n \"analyticalStorageConfiguration\": null,\r\n \"instanceId\": \"034b59a2-aa7b-4d4f-99b0-acc26c4e1751\",\r\n \"createMode\": \"Default\",\r\n \"databaseAccountOfferType\": \"Standard\",\r\n \"enableCassandraConnector\": false,\r\n \"connectorOffer\": \"\",\r\n \"enableMaterializedViews\": false,\r\n \"enableFullFidelityChangeFeed\": false,\r\n \"defaultIdentity\": \"FirstPartyIdentity\",\r\n \"networkAclBypass\": \"None\",\r\n \"consistencyPolicy\": {\r\n \"defaultConsistencyLevel\": \"Session\",\r\n \"maxIntervalInSeconds\": 5,\r\n \"maxStalenessPrefix\": 100\r\n },\r\n \"configurationOverrides\": {},\r\n \"writeLocations\": [\r\n {\r\n \"id\": \"20210420-cassandra-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://20210420-cassandra-eastus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"readLocations\": [\r\n {\r\n \"id\": \"20210420-cassandra-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://20210420-cassandra-eastus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"locations\": [\r\n {\r\n \"id\": \"20210420-cassandra-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://20210420-cassandra-eastus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"failoverPolicies\": [\r\n {\r\n \"id\": \"20210420-cassandra-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"failoverPriority\": 0\r\n }\r\n ],\r\n \"cors\": [],\r\n \"capabilities\": [\r\n {\r\n \"name\": \"EnableCassandra\"\r\n }\r\n ],\r\n \"ipRules\": [],\r\n \"backupPolicy\": {\r\n \"type\": \"Periodic\",\r\n \"periodicModeProperties\": {\r\n \"backupIntervalInMinutes\": 240,\r\n \"backupRetentionIntervalInHours\": 8,\r\n \"backupStorageRedundancy\": \"Geo\"\r\n }\r\n },\r\n \"networkAclBypassResourceIds\": []\r\n },\r\n \"identity\": {\r\n \"type\": \"None\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/resourceGroups/samahanarg/providers/Microsoft.DocumentDB/databaseAccounts/samahanasqltest1\",\r\n \"name\": \"samahanasqltest1\",\r\n \"location\": \"East US 2\",\r\n \"type\": \"Microsoft.DocumentDB/databaseAccounts\",\r\n \"kind\": \"GlobalDocumentDB\",\r\n \"tags\": {},\r\n \"systemData\": {\r\n \"createdAt\": \"2021-04-23T21:35:24.2799601Z\"\r\n },\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"documentEndpoint\": \"https://samahanasqltest1.documents-staging.windows-ppe.net:443/\",\r\n \"publicNetworkAccess\": \"Enabled\",\r\n \"enableAutomaticFailover\": false,\r\n \"enableMultipleWriteLocations\": false,\r\n \"enablePartitionKeyMonitor\": false,\r\n \"isVirtualNetworkFilterEnabled\": false,\r\n \"virtualNetworkRules\": [],\r\n \"EnabledApiTypes\": \"Sql\",\r\n \"disableKeyBasedMetadataWriteAccess\": false,\r\n \"enableFreeTier\": false,\r\n \"enableAnalyticalStorage\": false,\r\n \"analyticalStorageConfiguration\": null,\r\n \"instanceId\": \"3bf3600a-f65c-4e8b-9047-18c0e4db7a1d\",\r\n \"createMode\": \"Default\",\r\n \"databaseAccountOfferType\": \"Standard\",\r\n \"enableCassandraConnector\": false,\r\n \"connectorOffer\": \"\",\r\n \"enableMaterializedViews\": false,\r\n \"enableFullFidelityChangeFeed\": false,\r\n \"defaultIdentity\": \"FirstPartyIdentity\",\r\n \"networkAclBypass\": \"None\",\r\n \"consistencyPolicy\": {\r\n \"defaultConsistencyLevel\": \"Session\",\r\n \"maxIntervalInSeconds\": 5,\r\n \"maxStalenessPrefix\": 100\r\n },\r\n \"configurationOverrides\": {},\r\n \"writeLocations\": [\r\n {\r\n \"id\": \"samahanasqltest1-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://samahanasqltest1-eastus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"readLocations\": [\r\n {\r\n \"id\": \"samahanasqltest1-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://samahanasqltest1-eastus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"locations\": [\r\n {\r\n \"id\": \"samahanasqltest1-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://samahanasqltest1-eastus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"failoverPolicies\": [\r\n {\r\n \"id\": \"samahanasqltest1-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"failoverPriority\": 0\r\n }\r\n ],\r\n \"cors\": [],\r\n \"capabilities\": [],\r\n \"ipRules\": [],\r\n \"backupPolicy\": {\r\n \"type\": \"Periodic\",\r\n \"periodicModeProperties\": {\r\n \"backupIntervalInMinutes\": 240,\r\n \"backupRetentionIntervalInHours\": 8,\r\n \"backupStorageRedundancy\": \"Geo\"\r\n }\r\n },\r\n \"networkAclBypassResourceIds\": []\r\n },\r\n \"identity\": {\r\n \"type\": \"None\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/resourceGroups/srpalive-cassandra-rg/providers/Microsoft.DocumentDB/databaseAccounts/srpalive-stage-cassandra2\",\r\n \"name\": \"srpalive-stage-cassandra2\",\r\n \"location\": \"East US 2\",\r\n \"type\": \"Microsoft.DocumentDB/databaseAccounts\",\r\n \"kind\": \"GlobalDocumentDB\",\r\n \"tags\": {\r\n \"defaultExperience\": \"Cassandra\",\r\n \"hidden-cosmos-mmspecial\": \"\"\r\n },\r\n \"systemData\": {\r\n \"createdAt\": \"2021-04-23T23:37:14.5487129Z\"\r\n },\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"documentEndpoint\": \"https://srpalive-stage-cassandra2.documents-staging.windows-ppe.net:443/\",\r\n \"cassandraEndpoint\": \"https://srpalive-stage-cassandra2.cassandra.cosmos.windows-ppe.net:443/\",\r\n \"publicNetworkAccess\": \"Enabled\",\r\n \"enableAutomaticFailover\": false,\r\n \"enableMultipleWriteLocations\": false,\r\n \"enablePartitionKeyMonitor\": false,\r\n \"isVirtualNetworkFilterEnabled\": false,\r\n \"virtualNetworkRules\": [],\r\n \"EnabledApiTypes\": \"Cassandra\",\r\n \"disableKeyBasedMetadataWriteAccess\": false,\r\n \"enableFreeTier\": false,\r\n \"enableAnalyticalStorage\": false,\r\n \"analyticalStorageConfiguration\": null,\r\n \"instanceId\": \"c19e8126-654b-46e3-832a-832d8eca0465\",\r\n \"createMode\": \"Default\",\r\n \"databaseAccountOfferType\": \"Standard\",\r\n \"enableCassandraConnector\": false,\r\n \"connectorOffer\": \"\",\r\n \"enableMaterializedViews\": false,\r\n \"enableFullFidelityChangeFeed\": false,\r\n \"defaultIdentity\": \"FirstPartyIdentity\",\r\n \"networkAclBypass\": \"None\",\r\n \"consistencyPolicy\": {\r\n \"defaultConsistencyLevel\": \"Session\",\r\n \"maxIntervalInSeconds\": 5,\r\n \"maxStalenessPrefix\": 100\r\n },\r\n \"configurationOverrides\": {},\r\n \"writeLocations\": [\r\n {\r\n \"id\": \"srpalive-stage-cassandra2-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://srpalive-stage-cassandra2-eastus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"readLocations\": [\r\n {\r\n \"id\": \"srpalive-stage-cassandra2-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://srpalive-stage-cassandra2-eastus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"locations\": [\r\n {\r\n \"id\": \"srpalive-stage-cassandra2-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://srpalive-stage-cassandra2-eastus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"failoverPolicies\": [\r\n {\r\n \"id\": \"srpalive-stage-cassandra2-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"failoverPriority\": 0\r\n }\r\n ],\r\n \"cors\": [],\r\n \"capabilities\": [\r\n {\r\n \"name\": \"EnableCassandra\"\r\n }\r\n ],\r\n \"ipRules\": [],\r\n \"backupPolicy\": {\r\n \"type\": \"Periodic\",\r\n \"periodicModeProperties\": {\r\n \"backupIntervalInMinutes\": 240,\r\n \"backupRetentionIntervalInHours\": 8,\r\n \"backupStorageRedundancy\": \"Geo\"\r\n }\r\n },\r\n \"networkAclBypassResourceIds\": []\r\n },\r\n \"identity\": {\r\n \"type\": \"None\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/resourceGroups/CosmosDBResourceGroup6394/providers/Microsoft.DocumentDB/databaseAccounts/accountname9088\",\r\n \"name\": \"accountname9088\",\r\n \"location\": \"East US 2\",\r\n \"type\": \"Microsoft.DocumentDB/databaseAccounts\",\r\n \"kind\": \"MongoDB\",\r\n \"tags\": {\r\n \"key3\": \"value3\",\r\n \"key4\": \"value4\"\r\n },\r\n \"systemData\": {\r\n \"createdAt\": \"2021-04-27T17:25:41.0988424Z\"\r\n },\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"documentEndpoint\": \"https://accountname9088.documents-staging.windows-ppe.net:443/\",\r\n \"mongoEndpoint\": \"https://accountname9088.mongo.cosmos.windows-ppe.net:443/\",\r\n \"publicNetworkAccess\": \"Enabled\",\r\n \"enableAutomaticFailover\": true,\r\n \"enableMultipleWriteLocations\": true,\r\n \"enablePartitionKeyMonitor\": false,\r\n \"isVirtualNetworkFilterEnabled\": false,\r\n \"virtualNetworkRules\": [],\r\n \"EnabledApiTypes\": \"MongoDB\",\r\n \"disableKeyBasedMetadataWriteAccess\": true,\r\n \"enableFreeTier\": false,\r\n \"enableAnalyticalStorage\": false,\r\n \"analyticalStorageConfiguration\": null,\r\n \"instanceId\": \"c3f52ca9-535e-46c4-85d4-8b8c6a46d967\",\r\n \"createMode\": \"Default\",\r\n \"databaseAccountOfferType\": \"Standard\",\r\n \"enableCassandraConnector\": true,\r\n \"connectorOffer\": \"Small\",\r\n \"enableMaterializedViews\": false,\r\n \"enableFullFidelityChangeFeed\": false,\r\n \"defaultIdentity\": \"FirstPartyIdentity\",\r\n \"networkAclBypass\": \"AzureServices\",\r\n \"consistencyPolicy\": {\r\n \"defaultConsistencyLevel\": \"Session\",\r\n \"maxIntervalInSeconds\": 5,\r\n \"maxStalenessPrefix\": 100\r\n },\r\n \"apiProperties\": {\r\n \"serverVersion\": \"3.6\"\r\n },\r\n \"configurationOverrides\": {\r\n \"EnableBsonSchema\": \"True\"\r\n },\r\n \"writeLocations\": [\r\n {\r\n \"id\": \"accountname9088-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://accountname9088-eastus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"readLocations\": [\r\n {\r\n \"id\": \"accountname9088-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://accountname9088-eastus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"locations\": [\r\n {\r\n \"id\": \"accountname9088-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://accountname9088-eastus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"failoverPolicies\": [\r\n {\r\n \"id\": \"accountname9088-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"failoverPriority\": 0\r\n }\r\n ],\r\n \"cors\": [],\r\n \"capabilities\": [\r\n {\r\n \"name\": \"EnableMongo\"\r\n }\r\n ],\r\n \"ipRules\": [\r\n {\r\n \"ipAddressOrRange\": \"23.43.230.120\"\r\n }\r\n ],\r\n \"backupPolicy\": {\r\n \"type\": \"Periodic\",\r\n \"periodicModeProperties\": {\r\n \"backupIntervalInMinutes\": 240,\r\n \"backupRetentionIntervalInHours\": 8,\r\n \"backupStorageRedundancy\": \"Geo\"\r\n }\r\n },\r\n \"networkAclBypassResourceIds\": [\r\n \"/subscriptions/subId/resourcegroups/rgName/providers/Microsoft.Synapse/workspaces/workspaceName\",\r\n \"/subscriptions/subId/resourcegroups/rgName/providers/Microsoft.Synapse/workspaces/workspaceName2\"\r\n ]\r\n },\r\n \"identity\": {\r\n \"type\": \"None\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/resourceGroups/cph-stage-eastus2-rg/providers/Microsoft.DocumentDB/databaseAccounts/cph-stage-eastus2\",\r\n \"name\": \"cph-stage-eastus2\",\r\n \"location\": \"East US 2\",\r\n \"type\": \"Microsoft.DocumentDB/databaseAccounts\",\r\n \"kind\": \"GlobalDocumentDB\",\r\n \"tags\": {},\r\n \"systemData\": {\r\n \"createdAt\": \"2021-04-27T17:33:55.0660227Z\"\r\n },\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"documentEndpoint\": \"https://cph-stage-eastus2.documents-staging.windows-ppe.net:443/\",\r\n \"publicNetworkAccess\": \"Enabled\",\r\n \"enableAutomaticFailover\": false,\r\n \"enableMultipleWriteLocations\": false,\r\n \"enablePartitionKeyMonitor\": false,\r\n \"isVirtualNetworkFilterEnabled\": false,\r\n \"virtualNetworkRules\": [],\r\n \"EnabledApiTypes\": \"Sql\",\r\n \"disableKeyBasedMetadataWriteAccess\": false,\r\n \"enableFreeTier\": false,\r\n \"enableAnalyticalStorage\": false,\r\n \"analyticalStorageConfiguration\": null,\r\n \"instanceId\": \"48044c82-d102-494c-bf04-214eb00e9adf\",\r\n \"createMode\": \"Default\",\r\n \"databaseAccountOfferType\": \"Standard\",\r\n \"enableCassandraConnector\": false,\r\n \"connectorOffer\": \"\",\r\n \"enableMaterializedViews\": false,\r\n \"enableFullFidelityChangeFeed\": false,\r\n \"defaultIdentity\": \"FirstPartyIdentity\",\r\n \"networkAclBypass\": \"None\",\r\n \"consistencyPolicy\": {\r\n \"defaultConsistencyLevel\": \"Session\",\r\n \"maxIntervalInSeconds\": 5,\r\n \"maxStalenessPrefix\": 100\r\n },\r\n \"configurationOverrides\": {},\r\n \"writeLocations\": [\r\n {\r\n \"id\": \"cph-stage-eastus2-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://cph-stage-eastus2-eastus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"readLocations\": [\r\n {\r\n \"id\": \"cph-stage-eastus2-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://cph-stage-eastus2-eastus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n },\r\n {\r\n \"id\": \"cph-stage-eastus2-southeastasia\",\r\n \"locationName\": \"Southeast Asia\",\r\n \"documentEndpoint\": \"https://cph-stage-eastus2-southeastasia.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Deleting\",\r\n \"failoverPriority\": 1,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"locations\": [\r\n {\r\n \"id\": \"cph-stage-eastus2-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://cph-stage-eastus2-eastus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n },\r\n {\r\n \"id\": \"cph-stage-eastus2-southeastasia\",\r\n \"locationName\": \"Southeast Asia\",\r\n \"documentEndpoint\": \"https://cph-stage-eastus2-southeastasia.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Deleting\",\r\n \"failoverPriority\": 1,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"failoverPolicies\": [\r\n {\r\n \"id\": \"cph-stage-eastus2-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"failoverPriority\": 0\r\n },\r\n {\r\n \"id\": \"cph-stage-eastus2-southeastasia\",\r\n \"locationName\": \"Southeast Asia\",\r\n \"failoverPriority\": 1\r\n }\r\n ],\r\n \"cors\": [],\r\n \"capabilities\": [],\r\n \"ipRules\": [],\r\n \"backupPolicy\": {\r\n \"type\": \"Periodic\",\r\n \"periodicModeProperties\": {\r\n \"backupIntervalInMinutes\": 240,\r\n \"backupRetentionIntervalInHours\": 8,\r\n \"backupStorageRedundancy\": \"Geo\"\r\n }\r\n },\r\n \"networkAclBypassResourceIds\": []\r\n },\r\n \"identity\": {\r\n \"type\": \"None\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/resourceGroups/cph-stage-eastus2-rg/providers/Microsoft.DocumentDB/databaseAccounts/cph-stage-eastus2-sql\",\r\n \"name\": \"cph-stage-eastus2-sql\",\r\n \"location\": \"East US 2\",\r\n \"type\": \"Microsoft.DocumentDB/databaseAccounts\",\r\n \"kind\": \"GlobalDocumentDB\",\r\n \"tags\": {},\r\n \"systemData\": {\r\n \"createdAt\": \"2021-04-27T17:33:51.3629073Z\"\r\n },\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"documentEndpoint\": \"https://cph-stage-eastus2-sql.documents-staging.windows-ppe.net:443/\",\r\n \"publicNetworkAccess\": \"Enabled\",\r\n \"enableAutomaticFailover\": false,\r\n \"enableMultipleWriteLocations\": false,\r\n \"enablePartitionKeyMonitor\": false,\r\n \"isVirtualNetworkFilterEnabled\": false,\r\n \"virtualNetworkRules\": [],\r\n \"EnabledApiTypes\": \"Sql\",\r\n \"disableKeyBasedMetadataWriteAccess\": false,\r\n \"enableFreeTier\": false,\r\n \"enableAnalyticalStorage\": false,\r\n \"analyticalStorageConfiguration\": null,\r\n \"instanceId\": \"ccb99521-6326-44b6-ba7f-d97fd8308500\",\r\n \"createMode\": \"Default\",\r\n \"databaseAccountOfferType\": \"Standard\",\r\n \"enableCassandraConnector\": false,\r\n \"connectorOffer\": \"\",\r\n \"enableMaterializedViews\": false,\r\n \"enableFullFidelityChangeFeed\": false,\r\n \"defaultIdentity\": \"FirstPartyIdentity\",\r\n \"networkAclBypass\": \"None\",\r\n \"consistencyPolicy\": {\r\n \"defaultConsistencyLevel\": \"Session\",\r\n \"maxIntervalInSeconds\": 5,\r\n \"maxStalenessPrefix\": 100\r\n },\r\n \"configurationOverrides\": {},\r\n \"writeLocations\": [\r\n {\r\n \"id\": \"cph-stage-eastus2-sql-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://cph-stage-eastus2-sql-eastus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"readLocations\": [\r\n {\r\n \"id\": \"cph-stage-eastus2-sql-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://cph-stage-eastus2-sql-eastus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"locations\": [\r\n {\r\n \"id\": \"cph-stage-eastus2-sql-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://cph-stage-eastus2-sql-eastus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"failoverPolicies\": [\r\n {\r\n \"id\": \"cph-stage-eastus2-sql-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"failoverPriority\": 0\r\n }\r\n ],\r\n \"cors\": [],\r\n \"capabilities\": [],\r\n \"ipRules\": [],\r\n \"backupPolicy\": {\r\n \"type\": \"Periodic\",\r\n \"periodicModeProperties\": {\r\n \"backupIntervalInMinutes\": 240,\r\n \"backupRetentionIntervalInHours\": 8,\r\n \"backupStorageRedundancy\": \"Geo\"\r\n }\r\n },\r\n \"networkAclBypassResourceIds\": []\r\n },\r\n \"identity\": {\r\n \"type\": \"None\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/resourceGroups/cph-stage-eastus2-rg/providers/Microsoft.DocumentDB/databaseAccounts/cph-stage-eastus2-mgo36\",\r\n \"name\": \"cph-stage-eastus2-mgo36\",\r\n \"location\": \"East US 2\",\r\n \"type\": \"Microsoft.DocumentDB/databaseAccounts\",\r\n \"kind\": \"MongoDB\",\r\n \"tags\": {},\r\n \"systemData\": {\r\n \"createdAt\": \"2021-04-27T17:34:27.1777552Z\"\r\n },\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"documentEndpoint\": \"https://cph-stage-eastus2-mgo36.documents-staging.windows-ppe.net:443/\",\r\n \"mongoEndpoint\": \"https://cph-stage-eastus2-mgo36.mongo.cosmos.windows-ppe.net:443/\",\r\n \"publicNetworkAccess\": \"Enabled\",\r\n \"enableAutomaticFailover\": false,\r\n \"enableMultipleWriteLocations\": false,\r\n \"enablePartitionKeyMonitor\": false,\r\n \"isVirtualNetworkFilterEnabled\": false,\r\n \"virtualNetworkRules\": [],\r\n \"EnabledApiTypes\": \"MongoDB\",\r\n \"disableKeyBasedMetadataWriteAccess\": false,\r\n \"enableFreeTier\": false,\r\n \"enableAnalyticalStorage\": false,\r\n \"analyticalStorageConfiguration\": null,\r\n \"instanceId\": \"a638ac91-3ead-4e70-92f8-7ff5712dcd74\",\r\n \"createMode\": \"Default\",\r\n \"databaseAccountOfferType\": \"Standard\",\r\n \"enableCassandraConnector\": false,\r\n \"connectorOffer\": \"\",\r\n \"enableMaterializedViews\": false,\r\n \"enableFullFidelityChangeFeed\": false,\r\n \"defaultIdentity\": \"FirstPartyIdentity\",\r\n \"networkAclBypass\": \"None\",\r\n \"consistencyPolicy\": {\r\n \"defaultConsistencyLevel\": \"Session\",\r\n \"maxIntervalInSeconds\": 5,\r\n \"maxStalenessPrefix\": 100\r\n },\r\n \"apiProperties\": {\r\n \"serverVersion\": \"3.6\"\r\n },\r\n \"configurationOverrides\": {\r\n \"EnableBsonSchema\": \"True\"\r\n },\r\n \"writeLocations\": [\r\n {\r\n \"id\": \"cph-stage-eastus2-mgo36-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://cph-stage-eastus2-mgo36-eastus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"readLocations\": [\r\n {\r\n \"id\": \"cph-stage-eastus2-mgo36-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://cph-stage-eastus2-mgo36-eastus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"locations\": [\r\n {\r\n \"id\": \"cph-stage-eastus2-mgo36-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://cph-stage-eastus2-mgo36-eastus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"failoverPolicies\": [\r\n {\r\n \"id\": \"cph-stage-eastus2-mgo36-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"failoverPriority\": 0\r\n }\r\n ],\r\n \"cors\": [],\r\n \"capabilities\": [\r\n {\r\n \"name\": \"EnableMongo\"\r\n }\r\n ],\r\n \"ipRules\": [],\r\n \"backupPolicy\": {\r\n \"type\": \"Periodic\",\r\n \"periodicModeProperties\": {\r\n \"backupIntervalInMinutes\": 240,\r\n \"backupRetentionIntervalInHours\": 8,\r\n \"backupStorageRedundancy\": \"Geo\"\r\n }\r\n },\r\n \"networkAclBypassResourceIds\": []\r\n },\r\n \"identity\": {\r\n \"type\": \"None\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/resourceGroups/cph-stage-eastus2-rg/providers/Microsoft.DocumentDB/databaseAccounts/cph-stage-eastus2-mgo32\",\r\n \"name\": \"cph-stage-eastus2-mgo32\",\r\n \"location\": \"East US 2\",\r\n \"type\": \"Microsoft.DocumentDB/databaseAccounts\",\r\n \"kind\": \"MongoDB\",\r\n \"tags\": {},\r\n \"systemData\": {\r\n \"createdAt\": \"2021-04-27T17:33:57.4744345Z\"\r\n },\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"documentEndpoint\": \"https://cph-stage-eastus2-mgo32.documents-staging.windows-ppe.net:443/\",\r\n \"publicNetworkAccess\": \"Enabled\",\r\n \"enableAutomaticFailover\": false,\r\n \"enableMultipleWriteLocations\": false,\r\n \"enablePartitionKeyMonitor\": false,\r\n \"isVirtualNetworkFilterEnabled\": false,\r\n \"virtualNetworkRules\": [],\r\n \"EnabledApiTypes\": \"MongoDB\",\r\n \"disableKeyBasedMetadataWriteAccess\": false,\r\n \"enableFreeTier\": false,\r\n \"enableAnalyticalStorage\": false,\r\n \"analyticalStorageConfiguration\": null,\r\n \"instanceId\": \"140e3b01-687e-4ef0-a871-7785a358a3c8\",\r\n \"createMode\": \"Default\",\r\n \"databaseAccountOfferType\": \"Standard\",\r\n \"enableCassandraConnector\": false,\r\n \"connectorOffer\": \"\",\r\n \"enableMaterializedViews\": false,\r\n \"enableFullFidelityChangeFeed\": false,\r\n \"defaultIdentity\": \"FirstPartyIdentity\",\r\n \"networkAclBypass\": \"None\",\r\n \"consistencyPolicy\": {\r\n \"defaultConsistencyLevel\": \"Session\",\r\n \"maxIntervalInSeconds\": 5,\r\n \"maxStalenessPrefix\": 100\r\n },\r\n \"apiProperties\": {\r\n \"serverVersion\": \"3.2\"\r\n },\r\n \"configurationOverrides\": {\r\n \"EnableBsonSchema\": \"True\"\r\n },\r\n \"writeLocations\": [\r\n {\r\n \"id\": \"cph-stage-eastus2-mgo32-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://cph-stage-eastus2-mgo32-eastus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"readLocations\": [\r\n {\r\n \"id\": \"cph-stage-eastus2-mgo32-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://cph-stage-eastus2-mgo32-eastus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"locations\": [\r\n {\r\n \"id\": \"cph-stage-eastus2-mgo32-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://cph-stage-eastus2-mgo32-eastus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"failoverPolicies\": [\r\n {\r\n \"id\": \"cph-stage-eastus2-mgo32-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"failoverPriority\": 0\r\n }\r\n ],\r\n \"cors\": [],\r\n \"capabilities\": [],\r\n \"ipRules\": [],\r\n \"backupPolicy\": {\r\n \"type\": \"Periodic\",\r\n \"periodicModeProperties\": {\r\n \"backupIntervalInMinutes\": 240,\r\n \"backupRetentionIntervalInHours\": 8,\r\n \"backupStorageRedundancy\": \"Geo\"\r\n }\r\n },\r\n \"networkAclBypassResourceIds\": []\r\n },\r\n \"identity\": {\r\n \"type\": \"None\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/resourceGroups/cph-stage-eastus2-rg/providers/Microsoft.DocumentDB/databaseAccounts/cph-stage-eastus2-gln\",\r\n \"name\": \"cph-stage-eastus2-gln\",\r\n \"location\": \"East US 2\",\r\n \"type\": \"Microsoft.DocumentDB/databaseAccounts\",\r\n \"kind\": \"GlobalDocumentDB\",\r\n \"tags\": {},\r\n \"systemData\": {\r\n \"createdAt\": \"2021-04-27T17:34:21.1682207Z\"\r\n },\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"documentEndpoint\": \"https://cph-stage-eastus2-gln.documents-staging.windows-ppe.net:443/\",\r\n \"gremlinEndpoint\": \"https://cph-stage-eastus2-gln.gremlin.cosmos.windows-ppe.net:443/\",\r\n \"publicNetworkAccess\": \"Enabled\",\r\n \"enableAutomaticFailover\": false,\r\n \"enableMultipleWriteLocations\": false,\r\n \"enablePartitionKeyMonitor\": false,\r\n \"isVirtualNetworkFilterEnabled\": false,\r\n \"virtualNetworkRules\": [],\r\n \"EnabledApiTypes\": \"Gremlin, Sql\",\r\n \"disableKeyBasedMetadataWriteAccess\": false,\r\n \"enableFreeTier\": false,\r\n \"enableAnalyticalStorage\": false,\r\n \"analyticalStorageConfiguration\": null,\r\n \"instanceId\": \"4b4d194d-3eaf-4c45-aae9-4890f90ab0c4\",\r\n \"createMode\": \"Default\",\r\n \"databaseAccountOfferType\": \"Standard\",\r\n \"enableCassandraConnector\": false,\r\n \"connectorOffer\": \"\",\r\n \"enableMaterializedViews\": false,\r\n \"enableFullFidelityChangeFeed\": false,\r\n \"defaultIdentity\": \"FirstPartyIdentity\",\r\n \"networkAclBypass\": \"None\",\r\n \"consistencyPolicy\": {\r\n \"defaultConsistencyLevel\": \"Session\",\r\n \"maxIntervalInSeconds\": 5,\r\n \"maxStalenessPrefix\": 100\r\n },\r\n \"configurationOverrides\": {},\r\n \"writeLocations\": [\r\n {\r\n \"id\": \"cph-stage-eastus2-gln-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://cph-stage-eastus2-gln-eastus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"readLocations\": [\r\n {\r\n \"id\": \"cph-stage-eastus2-gln-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://cph-stage-eastus2-gln-eastus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"locations\": [\r\n {\r\n \"id\": \"cph-stage-eastus2-gln-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://cph-stage-eastus2-gln-eastus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"failoverPolicies\": [\r\n {\r\n \"id\": \"cph-stage-eastus2-gln-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"failoverPriority\": 0\r\n }\r\n ],\r\n \"cors\": [],\r\n \"capabilities\": [\r\n {\r\n \"name\": \"EnableGremlin\"\r\n }\r\n ],\r\n \"ipRules\": [],\r\n \"backupPolicy\": {\r\n \"type\": \"Periodic\",\r\n \"periodicModeProperties\": {\r\n \"backupIntervalInMinutes\": 240,\r\n \"backupRetentionIntervalInHours\": 8,\r\n \"backupStorageRedundancy\": \"Geo\"\r\n }\r\n },\r\n \"networkAclBypassResourceIds\": []\r\n },\r\n \"identity\": {\r\n \"type\": \"None\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/resourceGroups/cph-stage-eastus2-rg/providers/Microsoft.DocumentDB/databaseAccounts/cph-stage-eastus2-cx\",\r\n \"name\": \"cph-stage-eastus2-cx\",\r\n \"location\": \"East US 2\",\r\n \"type\": \"Microsoft.DocumentDB/databaseAccounts\",\r\n \"kind\": \"GlobalDocumentDB\",\r\n \"tags\": {},\r\n \"systemData\": {\r\n \"createdAt\": \"2021-04-27T17:34:25.8852635Z\"\r\n },\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"documentEndpoint\": \"https://cph-stage-eastus2-cx.documents-staging.windows-ppe.net:443/\",\r\n \"cassandraEndpoint\": \"https://cph-stage-eastus2-cx.cassandra.cosmos.windows-ppe.net:443/\",\r\n \"publicNetworkAccess\": \"Enabled\",\r\n \"enableAutomaticFailover\": false,\r\n \"enableMultipleWriteLocations\": false,\r\n \"enablePartitionKeyMonitor\": false,\r\n \"isVirtualNetworkFilterEnabled\": false,\r\n \"virtualNetworkRules\": [],\r\n \"EnabledApiTypes\": \"Cassandra\",\r\n \"disableKeyBasedMetadataWriteAccess\": false,\r\n \"enableFreeTier\": false,\r\n \"enableAnalyticalStorage\": false,\r\n \"analyticalStorageConfiguration\": null,\r\n \"instanceId\": \"3281f91a-2e59-4fb4-81ca-9487b5e33f55\",\r\n \"createMode\": \"Default\",\r\n \"databaseAccountOfferType\": \"Standard\",\r\n \"enableCassandraConnector\": false,\r\n \"connectorOffer\": \"\",\r\n \"enableMaterializedViews\": false,\r\n \"enableFullFidelityChangeFeed\": false,\r\n \"defaultIdentity\": \"FirstPartyIdentity\",\r\n \"networkAclBypass\": \"None\",\r\n \"consistencyPolicy\": {\r\n \"defaultConsistencyLevel\": \"Session\",\r\n \"maxIntervalInSeconds\": 5,\r\n \"maxStalenessPrefix\": 100\r\n },\r\n \"configurationOverrides\": {},\r\n \"writeLocations\": [\r\n {\r\n \"id\": \"cph-stage-eastus2-cx-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://cph-stage-eastus2-cx-eastus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"readLocations\": [\r\n {\r\n \"id\": \"cph-stage-eastus2-cx-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://cph-stage-eastus2-cx-eastus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"locations\": [\r\n {\r\n \"id\": \"cph-stage-eastus2-cx-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://cph-stage-eastus2-cx-eastus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"failoverPolicies\": [\r\n {\r\n \"id\": \"cph-stage-eastus2-cx-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"failoverPriority\": 0\r\n }\r\n ],\r\n \"cors\": [],\r\n \"capabilities\": [\r\n {\r\n \"name\": \"EnableCassandra\"\r\n }\r\n ],\r\n \"ipRules\": [],\r\n \"backupPolicy\": {\r\n \"type\": \"Periodic\",\r\n \"periodicModeProperties\": {\r\n \"backupIntervalInMinutes\": 240,\r\n \"backupRetentionIntervalInHours\": 8,\r\n \"backupStorageRedundancy\": \"Geo\"\r\n }\r\n },\r\n \"networkAclBypassResourceIds\": []\r\n },\r\n \"identity\": {\r\n \"type\": \"None\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/resourceGroups/cph-stage-eastus2-rg/providers/Microsoft.DocumentDB/databaseAccounts/cph-stage-eastus2-tbl\",\r\n \"name\": \"cph-stage-eastus2-tbl\",\r\n \"location\": \"East US 2\",\r\n \"type\": \"Microsoft.DocumentDB/databaseAccounts\",\r\n \"kind\": \"GlobalDocumentDB\",\r\n \"tags\": {},\r\n \"systemData\": {\r\n \"createdAt\": \"2021-04-27T17:34:30.5884147Z\"\r\n },\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"documentEndpoint\": \"https://cph-stage-eastus2-tbl.documents-staging.windows-ppe.net:443/\",\r\n \"tableEndpoint\": \"https://cph-stage-eastus2-tbl.table.cosmos.windows-ppe.net:443/\",\r\n \"publicNetworkAccess\": \"Enabled\",\r\n \"enableAutomaticFailover\": false,\r\n \"enableMultipleWriteLocations\": false,\r\n \"enablePartitionKeyMonitor\": false,\r\n \"isVirtualNetworkFilterEnabled\": false,\r\n \"virtualNetworkRules\": [],\r\n \"EnabledApiTypes\": \"Table, Sql\",\r\n \"disableKeyBasedMetadataWriteAccess\": false,\r\n \"enableFreeTier\": false,\r\n \"enableAnalyticalStorage\": false,\r\n \"analyticalStorageConfiguration\": null,\r\n \"instanceId\": \"736b628d-c74b-42c2-af7f-daf4431a5531\",\r\n \"createMode\": \"Default\",\r\n \"databaseAccountOfferType\": \"Standard\",\r\n \"enableCassandraConnector\": false,\r\n \"connectorOffer\": \"\",\r\n \"enableMaterializedViews\": false,\r\n \"enableFullFidelityChangeFeed\": false,\r\n \"defaultIdentity\": \"FirstPartyIdentity\",\r\n \"networkAclBypass\": \"None\",\r\n \"consistencyPolicy\": {\r\n \"defaultConsistencyLevel\": \"BoundedStaleness\",\r\n \"maxIntervalInSeconds\": 86400,\r\n \"maxStalenessPrefix\": 1000000\r\n },\r\n \"configurationOverrides\": {},\r\n \"writeLocations\": [\r\n {\r\n \"id\": \"cph-stage-eastus2-tbl-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://cph-stage-eastus2-tbl-eastus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"readLocations\": [\r\n {\r\n \"id\": \"cph-stage-eastus2-tbl-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://cph-stage-eastus2-tbl-eastus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"locations\": [\r\n {\r\n \"id\": \"cph-stage-eastus2-tbl-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://cph-stage-eastus2-tbl-eastus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"failoverPolicies\": [\r\n {\r\n \"id\": \"cph-stage-eastus2-tbl-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"failoverPriority\": 0\r\n }\r\n ],\r\n \"cors\": [],\r\n \"capabilities\": [\r\n {\r\n \"name\": \"EnableTable\"\r\n }\r\n ],\r\n \"ipRules\": [],\r\n \"backupPolicy\": {\r\n \"type\": \"Periodic\",\r\n \"periodicModeProperties\": {\r\n \"backupIntervalInMinutes\": 240,\r\n \"backupRetentionIntervalInHours\": 8,\r\n \"backupStorageRedundancy\": \"Geo\"\r\n }\r\n },\r\n \"networkAclBypassResourceIds\": []\r\n },\r\n \"identity\": {\r\n \"type\": \"None\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/resourceGroups/cassandra-stage-signoff/providers/Microsoft.DocumentDB/databaseAccounts/cassandrastagesignoff-sea\",\r\n \"name\": \"cassandrastagesignoff-sea\",\r\n \"location\": \"Southeast Asia\",\r\n \"type\": \"Microsoft.DocumentDB/databaseAccounts\",\r\n \"kind\": \"GlobalDocumentDB\",\r\n \"tags\": {\r\n \"defaultExperience\": \"Cassandra\",\r\n \"hidden-cosmos-mmspecial\": \"\",\r\n \"CosmosAccountType\": \"Non-Production\"\r\n },\r\n \"systemData\": {\r\n \"createdAt\": \"2020-10-01T17:58:49.1912309Z\"\r\n },\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"documentEndpoint\": \"https://cassandrastagesignoff-sea.documents-staging.windows-ppe.net:443/\",\r\n \"cassandraEndpoint\": \"https://cassandrastagesignoff-sea.cassandra.cosmos.windows-ppe.net:443/\",\r\n \"publicNetworkAccess\": \"Enabled\",\r\n \"enableAutomaticFailover\": false,\r\n \"enableMultipleWriteLocations\": false,\r\n \"enablePartitionKeyMonitor\": false,\r\n \"isVirtualNetworkFilterEnabled\": false,\r\n \"virtualNetworkRules\": [],\r\n \"EnabledApiTypes\": \"Cassandra\",\r\n \"disableKeyBasedMetadataWriteAccess\": false,\r\n \"enableFreeTier\": false,\r\n \"enableAnalyticalStorage\": false,\r\n \"analyticalStorageConfiguration\": null,\r\n \"instanceId\": \"f414f7a1-0a00-4e90-8f47-38d2a9dca706\",\r\n \"createMode\": \"Default\",\r\n \"databaseAccountOfferType\": \"Standard\",\r\n \"enableCassandraConnector\": false,\r\n \"connectorOffer\": \"\",\r\n \"defaultIdentity\": \"\",\r\n \"networkAclBypass\": \"None\",\r\n \"consistencyPolicy\": {\r\n \"defaultConsistencyLevel\": \"Session\",\r\n \"maxIntervalInSeconds\": 5,\r\n \"maxStalenessPrefix\": 100\r\n },\r\n \"configurationOverrides\": {},\r\n \"writeLocations\": [\r\n {\r\n \"id\": \"cassandrastagesignoff-sea-southeastasia\",\r\n \"locationName\": \"Southeast Asia\",\r\n \"documentEndpoint\": \"https://cassandrastagesignoff-sea-southeastasia.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"readLocations\": [\r\n {\r\n \"id\": \"cassandrastagesignoff-sea-southeastasia\",\r\n \"locationName\": \"Southeast Asia\",\r\n \"documentEndpoint\": \"https://cassandrastagesignoff-sea-southeastasia.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"locations\": [\r\n {\r\n \"id\": \"cassandrastagesignoff-sea-southeastasia\",\r\n \"locationName\": \"Southeast Asia\",\r\n \"documentEndpoint\": \"https://cassandrastagesignoff-sea-southeastasia.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"failoverPolicies\": [\r\n {\r\n \"id\": \"cassandrastagesignoff-sea-southeastasia\",\r\n \"locationName\": \"Southeast Asia\",\r\n \"failoverPriority\": 0\r\n }\r\n ],\r\n \"cors\": [],\r\n \"capabilities\": [\r\n {\r\n \"name\": \"EnableCassandra\"\r\n }\r\n ],\r\n \"ipRules\": [],\r\n \"backupPolicy\": {\r\n \"type\": \"Periodic\",\r\n \"periodicModeProperties\": {\r\n \"backupIntervalInMinutes\": 240,\r\n \"backupRetentionIntervalInHours\": 8,\r\n \"backupStorageRedundancy\": \"Geo\"\r\n }\r\n },\r\n \"networkAclBypassResourceIds\": []\r\n },\r\n \"identity\": {\r\n \"type\": \"None\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/resourceGroups/ash/providers/Microsoft.DocumentDB/databaseAccounts/ash-gremlin1-nb\",\r\n \"name\": \"ash-gremlin1-nb\",\r\n \"location\": \"Southeast Asia\",\r\n \"type\": \"Microsoft.DocumentDB/databaseAccounts\",\r\n \"kind\": \"GlobalDocumentDB\",\r\n \"tags\": {\r\n \"defaultExperience\": \"Gremlin (graph)\"\r\n },\r\n \"systemData\": {\r\n \"createdAt\": \"2019-09-25T23:59:54.3197186Z\"\r\n },\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"documentEndpoint\": \"https://ash-gremlin1-nb.documents-staging.windows-ppe.net:443/\",\r\n \"gremlinEndpoint\": \"https://ash-gremlin1-nb.gremlin.cosmos.windows-ppe.net:443/\",\r\n \"publicNetworkAccess\": \"Enabled\",\r\n \"enableAutomaticFailover\": false,\r\n \"enableMultipleWriteLocations\": false,\r\n \"enablePartitionKeyMonitor\": false,\r\n \"isVirtualNetworkFilterEnabled\": false,\r\n \"virtualNetworkRules\": [],\r\n \"EnabledApiTypes\": \"Gremlin, Sql\",\r\n \"disableKeyBasedMetadataWriteAccess\": false,\r\n \"enableFreeTier\": false,\r\n \"enableAnalyticalStorage\": false,\r\n \"analyticalStorageConfiguration\": null,\r\n \"instanceId\": \"25bcf201-a6c5-4a2e-a05f-174e0be70e39\",\r\n \"createMode\": \"Default\",\r\n \"databaseAccountOfferType\": \"Standard\",\r\n \"enableCassandraConnector\": false,\r\n \"connectorOffer\": \"\",\r\n \"defaultIdentity\": \"\",\r\n \"networkAclBypass\": \"None\",\r\n \"consistencyPolicy\": {\r\n \"defaultConsistencyLevel\": \"Session\",\r\n \"maxIntervalInSeconds\": 5,\r\n \"maxStalenessPrefix\": 100\r\n },\r\n \"configurationOverrides\": {},\r\n \"writeLocations\": [\r\n {\r\n \"id\": \"ash-gremlin1-nb-southeastasia\",\r\n \"locationName\": \"Southeast Asia\",\r\n \"documentEndpoint\": \"https://ash-gremlin1-nb-southeastasia.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"readLocations\": [\r\n {\r\n \"id\": \"ash-gremlin1-nb-southeastasia\",\r\n \"locationName\": \"Southeast Asia\",\r\n \"documentEndpoint\": \"https://ash-gremlin1-nb-southeastasia.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"locations\": [\r\n {\r\n \"id\": \"ash-gremlin1-nb-southeastasia\",\r\n \"locationName\": \"Southeast Asia\",\r\n \"documentEndpoint\": \"https://ash-gremlin1-nb-southeastasia.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"failoverPolicies\": [\r\n {\r\n \"id\": \"ash-gremlin1-nb-southeastasia\",\r\n \"locationName\": \"Southeast Asia\",\r\n \"failoverPriority\": 0\r\n }\r\n ],\r\n \"cors\": [],\r\n \"capabilities\": [\r\n {\r\n \"name\": \"EnableGremlin\"\r\n },\r\n {\r\n \"name\": \"EnableNotebooks\"\r\n }\r\n ],\r\n \"ipRules\": [],\r\n \"backupPolicy\": {\r\n \"type\": \"Periodic\",\r\n \"periodicModeProperties\": {\r\n \"backupIntervalInMinutes\": 60,\r\n \"backupRetentionIntervalInHours\": 8,\r\n \"backupStorageRedundancy\": \"Geo\"\r\n }\r\n },\r\n \"networkAclBypassResourceIds\": []\r\n },\r\n \"identity\": {\r\n \"type\": \"None\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/resourceGroups/ankisrgsea/providers/Microsoft.DocumentDB/databaseAccounts/ankis-cosmos-sea\",\r\n \"name\": \"ankis-cosmos-sea\",\r\n \"location\": \"Southeast Asia\",\r\n \"type\": \"Microsoft.DocumentDB/databaseAccounts\",\r\n \"kind\": \"GlobalDocumentDB\",\r\n \"tags\": {\r\n \"defaultExperience\": \"Core (SQL)\",\r\n \"hidden-cosmos-mmspecial\": \"\"\r\n },\r\n \"systemData\": {\r\n \"createdAt\": \"2020-01-30T11:18:31.8357791Z\"\r\n },\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"documentEndpoint\": \"https://ankis-cosmos-sea.documents-staging.windows-ppe.net:443/\",\r\n \"publicNetworkAccess\": \"Enabled\",\r\n \"enableAutomaticFailover\": false,\r\n \"enableMultipleWriteLocations\": true,\r\n \"enablePartitionKeyMonitor\": false,\r\n \"isVirtualNetworkFilterEnabled\": false,\r\n \"virtualNetworkRules\": [],\r\n \"EnabledApiTypes\": \"Sql\",\r\n \"disableKeyBasedMetadataWriteAccess\": false,\r\n \"enableFreeTier\": false,\r\n \"enableAnalyticalStorage\": false,\r\n \"analyticalStorageConfiguration\": null,\r\n \"instanceId\": \"e56e34b2-cd4a-4339-a7a3-b58168fa01ee\",\r\n \"createMode\": \"Default\",\r\n \"databaseAccountOfferType\": \"Standard\",\r\n \"enableCassandraConnector\": false,\r\n \"connectorOffer\": \"\",\r\n \"defaultIdentity\": \"\",\r\n \"networkAclBypass\": \"None\",\r\n \"consistencyPolicy\": {\r\n \"defaultConsistencyLevel\": \"Session\",\r\n \"maxIntervalInSeconds\": 5,\r\n \"maxStalenessPrefix\": 100\r\n },\r\n \"configurationOverrides\": {},\r\n \"writeLocations\": [\r\n {\r\n \"id\": \"ankis-cosmos-sea-southeastasia\",\r\n \"locationName\": \"Southeast Asia\",\r\n \"documentEndpoint\": \"https://ankis-cosmos-sea-southeastasia.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n },\r\n {\r\n \"id\": \"ankis-cosmos-sea-westus2\",\r\n \"locationName\": \"West US 2\",\r\n \"documentEndpoint\": \"https://ankis-cosmos-sea-westus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 1,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"readLocations\": [\r\n {\r\n \"id\": \"ankis-cosmos-sea-southeastasia\",\r\n \"locationName\": \"Southeast Asia\",\r\n \"documentEndpoint\": \"https://ankis-cosmos-sea-southeastasia.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n },\r\n {\r\n \"id\": \"ankis-cosmos-sea-westus2\",\r\n \"locationName\": \"West US 2\",\r\n \"documentEndpoint\": \"https://ankis-cosmos-sea-westus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 1,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"locations\": [\r\n {\r\n \"id\": \"ankis-cosmos-sea-southeastasia\",\r\n \"locationName\": \"Southeast Asia\",\r\n \"documentEndpoint\": \"https://ankis-cosmos-sea-southeastasia.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n },\r\n {\r\n \"id\": \"ankis-cosmos-sea-westus2\",\r\n \"locationName\": \"West US 2\",\r\n \"documentEndpoint\": \"https://ankis-cosmos-sea-westus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 1,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"failoverPolicies\": [\r\n {\r\n \"id\": \"ankis-cosmos-sea-southeastasia\",\r\n \"locationName\": \"Southeast Asia\",\r\n \"failoverPriority\": 0\r\n },\r\n {\r\n \"id\": \"ankis-cosmos-sea-westus2\",\r\n \"locationName\": \"West US 2\",\r\n \"failoverPriority\": 1\r\n }\r\n ],\r\n \"cors\": [],\r\n \"capabilities\": [\r\n {\r\n \"name\": \"EnableStorageAnalytics\"\r\n }\r\n ],\r\n \"ipRules\": [],\r\n \"backupPolicy\": {\r\n \"type\": \"Periodic\",\r\n \"periodicModeProperties\": {\r\n \"backupIntervalInMinutes\": 60,\r\n \"backupRetentionIntervalInHours\": 8,\r\n \"backupStorageRedundancy\": \"Geo\"\r\n }\r\n },\r\n \"networkAclBypassResourceIds\": []\r\n },\r\n \"identity\": {\r\n \"type\": \"None\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/resourceGroups/CANARY/providers/Microsoft.DocumentDB/databaseAccounts/canary-stagesoutheastasia1cm1\",\r\n \"name\": \"canary-stagesoutheastasia1cm1\",\r\n \"location\": \"Southeast Asia\",\r\n \"type\": \"Microsoft.DocumentDB/databaseAccounts\",\r\n \"kind\": \"DocumentDB\",\r\n \"tags\": {},\r\n \"systemData\": {\r\n \"createdAt\": \"2020-06-12T22:41:30.4176647Z\"\r\n },\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"documentEndpoint\": \"https://canary-stagesoutheastasia1cm1.documents-staging.windows-ppe.net:443/\",\r\n \"cassandraEndpoint\": \"https://canary-stagesoutheastasia1cm1.cassandra.cosmos.windows-ppe.net:443/\",\r\n \"publicNetworkAccess\": \"Enabled\",\r\n \"enableAutomaticFailover\": false,\r\n \"enableMultipleWriteLocations\": false,\r\n \"enablePartitionKeyMonitor\": false,\r\n \"isVirtualNetworkFilterEnabled\": false,\r\n \"virtualNetworkRules\": [],\r\n \"EnabledApiTypes\": \"Cassandra\",\r\n \"disableKeyBasedMetadataWriteAccess\": false,\r\n \"enableFreeTier\": false,\r\n \"enableAnalyticalStorage\": false,\r\n \"analyticalStorageConfiguration\": null,\r\n \"instanceId\": \"646e3e7d-f2c7-4656-83bd-52969dae6294\",\r\n \"createMode\": \"Default\",\r\n \"databaseAccountOfferType\": \"Standard\",\r\n \"defaultIdentity\": \"\",\r\n \"networkAclBypass\": \"None\",\r\n \"consistencyPolicy\": {\r\n \"defaultConsistencyLevel\": \"Session\",\r\n \"maxIntervalInSeconds\": 5,\r\n \"maxStalenessPrefix\": 100\r\n },\r\n \"configurationOverrides\": {},\r\n \"writeLocations\": [\r\n {\r\n \"id\": \"canary-stagesoutheastasia1cm1-southeastasia\",\r\n \"locationName\": \"Southeast Asia\",\r\n \"documentEndpoint\": \"https://canary-stagesoutheastasia1cm1-southeastasia.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"readLocations\": [\r\n {\r\n \"id\": \"canary-stagesoutheastasia1cm1-southeastasia\",\r\n \"locationName\": \"Southeast Asia\",\r\n \"documentEndpoint\": \"https://canary-stagesoutheastasia1cm1-southeastasia.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"locations\": [\r\n {\r\n \"id\": \"canary-stagesoutheastasia1cm1-southeastasia\",\r\n \"locationName\": \"Southeast Asia\",\r\n \"documentEndpoint\": \"https://canary-stagesoutheastasia1cm1-southeastasia.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"failoverPolicies\": [\r\n {\r\n \"id\": \"canary-stagesoutheastasia1cm1-southeastasia\",\r\n \"locationName\": \"Southeast Asia\",\r\n \"failoverPriority\": 0\r\n }\r\n ],\r\n \"cors\": [],\r\n \"capabilities\": [\r\n {\r\n \"name\": \"EnableCassandra\"\r\n }\r\n ],\r\n \"ipRules\": [],\r\n \"backupPolicy\": {\r\n \"type\": \"Periodic\",\r\n \"periodicModeProperties\": {\r\n \"backupIntervalInMinutes\": 240,\r\n \"backupRetentionIntervalInHours\": 8,\r\n \"backupStorageRedundancy\": \"Geo\"\r\n }\r\n },\r\n \"networkAclBypassResourceIds\": []\r\n },\r\n \"identity\": {\r\n \"type\": \"None\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/resourceGroups/babatsai-rg-signoff/providers/Microsoft.DocumentDB/databaseAccounts/cass-stage-test\",\r\n \"name\": \"cass-stage-test\",\r\n \"location\": \"Southeast Asia\",\r\n \"type\": \"Microsoft.DocumentDB/databaseAccounts\",\r\n \"kind\": \"GlobalDocumentDB\",\r\n \"tags\": {\r\n \"defaultExperience\": \"Cassandra\"\r\n },\r\n \"systemData\": {\r\n \"createdAt\": \"2019-07-04T00:05:39.9258705Z\"\r\n },\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"documentEndpoint\": \"https://cass-stage-test.documents-staging.windows-ppe.net:443/\",\r\n \"cassandraEndpoint\": \"https://cass-stage-test.cassandra.cosmos.windows-ppe.net:443/\",\r\n \"publicNetworkAccess\": \"Enabled\",\r\n \"enableAutomaticFailover\": false,\r\n \"enableMultipleWriteLocations\": false,\r\n \"enablePartitionKeyMonitor\": false,\r\n \"isVirtualNetworkFilterEnabled\": false,\r\n \"virtualNetworkRules\": [],\r\n \"EnabledApiTypes\": \"Cassandra\",\r\n \"disableKeyBasedMetadataWriteAccess\": false,\r\n \"enableFreeTier\": false,\r\n \"enableAnalyticalStorage\": false,\r\n \"analyticalStorageConfiguration\": null,\r\n \"instanceId\": \"a4e87698-1313-46ca-80bd-a1779e626e00\",\r\n \"createMode\": \"Default\",\r\n \"databaseAccountOfferType\": \"Standard\",\r\n \"enableCassandraConnector\": false,\r\n \"connectorOffer\": \"\",\r\n \"defaultIdentity\": \"\",\r\n \"networkAclBypass\": \"None\",\r\n \"consistencyPolicy\": {\r\n \"defaultConsistencyLevel\": \"Session\",\r\n \"maxIntervalInSeconds\": 5,\r\n \"maxStalenessPrefix\": 100\r\n },\r\n \"configurationOverrides\": {},\r\n \"writeLocations\": [\r\n {\r\n \"id\": \"cass-stage-test-southeastasia\",\r\n \"locationName\": \"Southeast Asia\",\r\n \"documentEndpoint\": \"https://cass-stage-test-southeastasia.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"readLocations\": [\r\n {\r\n \"id\": \"cass-stage-test-southeastasia\",\r\n \"locationName\": \"Southeast Asia\",\r\n \"documentEndpoint\": \"https://cass-stage-test-southeastasia.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"locations\": [\r\n {\r\n \"id\": \"cass-stage-test-southeastasia\",\r\n \"locationName\": \"Southeast Asia\",\r\n \"documentEndpoint\": \"https://cass-stage-test-southeastasia.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"failoverPolicies\": [\r\n {\r\n \"id\": \"cass-stage-test-southeastasia\",\r\n \"locationName\": \"Southeast Asia\",\r\n \"failoverPriority\": 0\r\n }\r\n ],\r\n \"cors\": [],\r\n \"capabilities\": [\r\n {\r\n \"name\": \"EnableCassandra\"\r\n }\r\n ],\r\n \"ipRules\": [],\r\n \"backupPolicy\": {\r\n \"type\": \"Periodic\",\r\n \"periodicModeProperties\": {\r\n \"backupIntervalInMinutes\": 240,\r\n \"backupRetentionIntervalInHours\": 8,\r\n \"backupStorageRedundancy\": \"Geo\"\r\n }\r\n },\r\n \"networkAclBypassResourceIds\": []\r\n },\r\n \"identity\": {\r\n \"type\": \"None\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/resourceGroups/devenj-rg-sea/providers/Microsoft.DocumentDB/databaseAccounts/devenjtestmigrate2\",\r\n \"name\": \"devenjtestmigrate2\",\r\n \"location\": \"Southeast Asia\",\r\n \"type\": \"Microsoft.DocumentDB/databaseAccounts\",\r\n \"kind\": \"GlobalDocumentDB\",\r\n \"tags\": {},\r\n \"systemData\": {\r\n \"createdAt\": \"2018-12-04T19:44:10.547179Z\"\r\n },\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"documentEndpoint\": \"https://devenjtestmigrate2.documents-staging.windows-ppe.net:443/\",\r\n \"publicNetworkAccess\": \"Enabled\",\r\n \"enableAutomaticFailover\": false,\r\n \"enableMultipleWriteLocations\": false,\r\n \"enablePartitionKeyMonitor\": false,\r\n \"isVirtualNetworkFilterEnabled\": false,\r\n \"virtualNetworkRules\": [],\r\n \"EnabledApiTypes\": \"Sql\",\r\n \"disableKeyBasedMetadataWriteAccess\": false,\r\n \"enableFreeTier\": false,\r\n \"enableAnalyticalStorage\": false,\r\n \"analyticalStorageConfiguration\": null,\r\n \"instanceId\": \"6216b5fa-0a6f-4408-8788-f472c1cd9778\",\r\n \"createMode\": \"Default\",\r\n \"databaseAccountOfferType\": \"Standard\",\r\n \"defaultIdentity\": \"\",\r\n \"networkAclBypass\": \"None\",\r\n \"consistencyPolicy\": {\r\n \"defaultConsistencyLevel\": \"Session\",\r\n \"maxIntervalInSeconds\": 5,\r\n \"maxStalenessPrefix\": 100\r\n },\r\n \"configurationOverrides\": {},\r\n \"writeLocations\": [\r\n {\r\n \"id\": \"devenjtestmigrate2-southeastasia\",\r\n \"locationName\": \"Southeast Asia\",\r\n \"documentEndpoint\": \"https://devenjtestmigrate2-southeastasia.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"readLocations\": [\r\n {\r\n \"id\": \"devenjtestmigrate2-southeastasia\",\r\n \"locationName\": \"Southeast Asia\",\r\n \"documentEndpoint\": \"https://devenjtestmigrate2-southeastasia.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"locations\": [\r\n {\r\n \"id\": \"devenjtestmigrate2-southeastasia\",\r\n \"locationName\": \"Southeast Asia\",\r\n \"documentEndpoint\": \"https://devenjtestmigrate2-southeastasia.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"failoverPolicies\": [\r\n {\r\n \"id\": \"devenjtestmigrate2-southeastasia\",\r\n \"locationName\": \"Southeast Asia\",\r\n \"failoverPriority\": 0\r\n }\r\n ],\r\n \"cors\": [],\r\n \"capabilities\": [],\r\n \"ipRules\": [],\r\n \"backupPolicy\": {\r\n \"type\": \"Periodic\",\r\n \"periodicModeProperties\": {\r\n \"backupIntervalInMinutes\": 240,\r\n \"backupRetentionIntervalInHours\": 8,\r\n \"backupStorageRedundancy\": \"Geo\"\r\n }\r\n },\r\n \"networkAclBypassResourceIds\": []\r\n },\r\n \"identity\": {\r\n \"type\": \"None\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/resourceGroups/abinav_stage_rg/providers/Microsoft.DocumentDB/databaseAccounts/collectiontest\",\r\n \"name\": \"collectiontest\",\r\n \"location\": \"Southeast Asia\",\r\n \"type\": \"Microsoft.DocumentDB/databaseAccounts\",\r\n \"kind\": \"GlobalDocumentDB\",\r\n \"tags\": {\r\n \"defaultExperience\": \"Core (SQL)\"\r\n },\r\n \"systemData\": {\r\n \"createdAt\": \"2018-12-21T02:49:36.6550005Z\"\r\n },\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"documentEndpoint\": \"https://collectiontest.documents-staging.windows-ppe.net:443/\",\r\n \"publicNetworkAccess\": \"Enabled\",\r\n \"enableAutomaticFailover\": false,\r\n \"enableMultipleWriteLocations\": true,\r\n \"enablePartitionKeyMonitor\": false,\r\n \"isVirtualNetworkFilterEnabled\": false,\r\n \"virtualNetworkRules\": [],\r\n \"EnabledApiTypes\": \"Sql\",\r\n \"disableKeyBasedMetadataWriteAccess\": false,\r\n \"enableFreeTier\": false,\r\n \"enableAnalyticalStorage\": false,\r\n \"analyticalStorageConfiguration\": null,\r\n \"instanceId\": \"176a9124-1378-4828-9291-b1e21bd79736\",\r\n \"createMode\": \"Default\",\r\n \"databaseAccountOfferType\": \"Standard\",\r\n \"defaultIdentity\": \"\",\r\n \"networkAclBypass\": \"None\",\r\n \"consistencyPolicy\": {\r\n \"defaultConsistencyLevel\": \"Session\",\r\n \"maxIntervalInSeconds\": 5,\r\n \"maxStalenessPrefix\": 100\r\n },\r\n \"configurationOverrides\": {},\r\n \"writeLocations\": [\r\n {\r\n \"id\": \"collectiontest-southeastasia\",\r\n \"locationName\": \"Southeast Asia\",\r\n \"documentEndpoint\": \"https://collectiontest-southeastasia.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"readLocations\": [\r\n {\r\n \"id\": \"collectiontest-southeastasia\",\r\n \"locationName\": \"Southeast Asia\",\r\n \"documentEndpoint\": \"https://collectiontest-southeastasia.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"locations\": [\r\n {\r\n \"id\": \"collectiontest-southeastasia\",\r\n \"locationName\": \"Southeast Asia\",\r\n \"documentEndpoint\": \"https://collectiontest-southeastasia.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"failoverPolicies\": [\r\n {\r\n \"id\": \"collectiontest-southeastasia\",\r\n \"locationName\": \"Southeast Asia\",\r\n \"failoverPriority\": 0\r\n }\r\n ],\r\n \"cors\": [],\r\n \"capabilities\": [],\r\n \"ipRules\": [],\r\n \"backupPolicy\": {\r\n \"type\": \"Periodic\",\r\n \"periodicModeProperties\": {\r\n \"backupIntervalInMinutes\": 240,\r\n \"backupRetentionIntervalInHours\": 8,\r\n \"backupStorageRedundancy\": \"Geo\"\r\n }\r\n },\r\n \"networkAclBypassResourceIds\": []\r\n },\r\n \"identity\": {\r\n \"type\": \"None\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/resourceGroups/gremlin/providers/Microsoft.DocumentDB/databaseAccounts/gremlin-stage-cli\",\r\n \"name\": \"gremlin-stage-cli\",\r\n \"location\": \"Southeast Asia\",\r\n \"type\": \"Microsoft.DocumentDB/databaseAccounts\",\r\n \"kind\": \"GlobalDocumentDB\",\r\n \"tags\": {},\r\n \"systemData\": {\r\n \"createdAt\": \"2019-06-06T23:46:54.9893772Z\"\r\n },\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"documentEndpoint\": \"https://gremlin-stage-cli.documents-staging.windows-ppe.net:443/\",\r\n \"gremlinEndpoint\": \"https://gremlin-stage-cli.gremlin.cosmos.windows-ppe.net:443/\",\r\n \"publicNetworkAccess\": \"Enabled\",\r\n \"enableAutomaticFailover\": false,\r\n \"enableMultipleWriteLocations\": false,\r\n \"enablePartitionKeyMonitor\": false,\r\n \"isVirtualNetworkFilterEnabled\": false,\r\n \"virtualNetworkRules\": [],\r\n \"EnabledApiTypes\": \"Gremlin, Sql\",\r\n \"disableKeyBasedMetadataWriteAccess\": false,\r\n \"enableFreeTier\": false,\r\n \"enableAnalyticalStorage\": false,\r\n \"analyticalStorageConfiguration\": null,\r\n \"instanceId\": \"41f63eae-7a21-442c-8edb-d74398f087e8\",\r\n \"createMode\": \"Default\",\r\n \"databaseAccountOfferType\": \"Standard\",\r\n \"defaultIdentity\": \"\",\r\n \"networkAclBypass\": \"None\",\r\n \"consistencyPolicy\": {\r\n \"defaultConsistencyLevel\": \"Session\",\r\n \"maxIntervalInSeconds\": 5,\r\n \"maxStalenessPrefix\": 100\r\n },\r\n \"configurationOverrides\": {},\r\n \"writeLocations\": [\r\n {\r\n \"id\": \"gremlin-stage-cli-southeastasia\",\r\n \"locationName\": \"Southeast Asia\",\r\n \"documentEndpoint\": \"https://gremlin-stage-cli-southeastasia.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"readLocations\": [\r\n {\r\n \"id\": \"gremlin-stage-cli-southeastasia\",\r\n \"locationName\": \"Southeast Asia\",\r\n \"documentEndpoint\": \"https://gremlin-stage-cli-southeastasia.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"locations\": [\r\n {\r\n \"id\": \"gremlin-stage-cli-southeastasia\",\r\n \"locationName\": \"Southeast Asia\",\r\n \"documentEndpoint\": \"https://gremlin-stage-cli-southeastasia.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"failoverPolicies\": [\r\n {\r\n \"id\": \"gremlin-stage-cli-southeastasia\",\r\n \"locationName\": \"Southeast Asia\",\r\n \"failoverPriority\": 0\r\n }\r\n ],\r\n \"cors\": [],\r\n \"capabilities\": [\r\n {\r\n \"name\": \"EnableGremlin\"\r\n }\r\n ],\r\n \"ipRules\": [],\r\n \"backupPolicy\": {\r\n \"type\": \"Periodic\",\r\n \"periodicModeProperties\": {\r\n \"backupIntervalInMinutes\": 240,\r\n \"backupRetentionIntervalInHours\": 8,\r\n \"backupStorageRedundancy\": \"Geo\"\r\n }\r\n },\r\n \"networkAclBypassResourceIds\": []\r\n },\r\n \"identity\": {\r\n \"type\": \"None\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/resourceGroups/gremlin/providers/Microsoft.DocumentDB/databaseAccounts/gremlin-stage\",\r\n \"name\": \"gremlin-stage\",\r\n \"location\": \"Southeast Asia\",\r\n \"type\": \"Microsoft.DocumentDB/databaseAccounts\",\r\n \"kind\": \"GlobalDocumentDB\",\r\n \"tags\": {\r\n \"defaultExperience\": \"Gremlin (graph)\"\r\n },\r\n \"systemData\": {\r\n \"createdAt\": \"2019-06-06T22:47:26.669989Z\"\r\n },\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"documentEndpoint\": \"https://gremlin-stage.documents-staging.windows-ppe.net:443/\",\r\n \"gremlinEndpoint\": \"https://gremlin-stage.gremlin.cosmos.windows-ppe.net:443/\",\r\n \"publicNetworkAccess\": \"Enabled\",\r\n \"enableAutomaticFailover\": false,\r\n \"enableMultipleWriteLocations\": false,\r\n \"enablePartitionKeyMonitor\": false,\r\n \"isVirtualNetworkFilterEnabled\": false,\r\n \"virtualNetworkRules\": [],\r\n \"EnabledApiTypes\": \"Gremlin, Sql\",\r\n \"disableKeyBasedMetadataWriteAccess\": false,\r\n \"enableFreeTier\": false,\r\n \"enableAnalyticalStorage\": false,\r\n \"analyticalStorageConfiguration\": null,\r\n \"instanceId\": \"a3f63ba1-94b2-4ddb-b49c-2cc457a7adf5\",\r\n \"createMode\": \"Default\",\r\n \"databaseAccountOfferType\": \"Standard\",\r\n \"defaultIdentity\": \"\",\r\n \"networkAclBypass\": \"None\",\r\n \"consistencyPolicy\": {\r\n \"defaultConsistencyLevel\": \"Session\",\r\n \"maxIntervalInSeconds\": 5,\r\n \"maxStalenessPrefix\": 100\r\n },\r\n \"configurationOverrides\": {},\r\n \"writeLocations\": [\r\n {\r\n \"id\": \"gremlin-stage-southeastasia\",\r\n \"locationName\": \"Southeast Asia\",\r\n \"documentEndpoint\": \"https://gremlin-stage-southeastasia.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"readLocations\": [\r\n {\r\n \"id\": \"gremlin-stage-southeastasia\",\r\n \"locationName\": \"Southeast Asia\",\r\n \"documentEndpoint\": \"https://gremlin-stage-southeastasia.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"locations\": [\r\n {\r\n \"id\": \"gremlin-stage-southeastasia\",\r\n \"locationName\": \"Southeast Asia\",\r\n \"documentEndpoint\": \"https://gremlin-stage-southeastasia.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"failoverPolicies\": [\r\n {\r\n \"id\": \"gremlin-stage-southeastasia\",\r\n \"locationName\": \"Southeast Asia\",\r\n \"failoverPriority\": 0\r\n }\r\n ],\r\n \"cors\": [],\r\n \"capabilities\": [\r\n {\r\n \"name\": \"EnableGremlin\"\r\n }\r\n ],\r\n \"ipRules\": [],\r\n \"backupPolicy\": {\r\n \"type\": \"Periodic\",\r\n \"periodicModeProperties\": {\r\n \"backupIntervalInMinutes\": 240,\r\n \"backupRetentionIntervalInHours\": 8,\r\n \"backupStorageRedundancy\": \"Geo\"\r\n }\r\n },\r\n \"networkAclBypassResourceIds\": []\r\n },\r\n \"identity\": {\r\n \"type\": \"None\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/resourceGroups/arkhetar-staging/providers/Microsoft.DocumentDB/databaseAccounts/arkhetar-operation-log-test\",\r\n \"name\": \"arkhetar-operation-log-test\",\r\n \"location\": \"Southeast Asia\",\r\n \"type\": \"Microsoft.DocumentDB/databaseAccounts\",\r\n \"kind\": \"GlobalDocumentDB\",\r\n \"tags\": {\r\n \"defaultExperience\": \"Core (SQL)\"\r\n },\r\n \"systemData\": {\r\n \"createdAt\": \"2019-01-10T20:52:05.6104687Z\"\r\n },\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"documentEndpoint\": \"https://arkhetar-operation-log-test.documents-staging.windows-ppe.net:443/\",\r\n \"publicNetworkAccess\": \"Enabled\",\r\n \"enableAutomaticFailover\": false,\r\n \"enableMultipleWriteLocations\": true,\r\n \"enablePartitionKeyMonitor\": false,\r\n \"isVirtualNetworkFilterEnabled\": false,\r\n \"virtualNetworkRules\": [],\r\n \"EnabledApiTypes\": \"Sql\",\r\n \"disableKeyBasedMetadataWriteAccess\": false,\r\n \"enableFreeTier\": false,\r\n \"enableAnalyticalStorage\": false,\r\n \"analyticalStorageConfiguration\": null,\r\n \"instanceId\": \"216716d2-7f59-4f8b-be8d-f242703cfdb8\",\r\n \"createMode\": \"Default\",\r\n \"databaseAccountOfferType\": \"Standard\",\r\n \"defaultIdentity\": \"\",\r\n \"networkAclBypass\": \"None\",\r\n \"consistencyPolicy\": {\r\n \"defaultConsistencyLevel\": \"Session\",\r\n \"maxIntervalInSeconds\": 5,\r\n \"maxStalenessPrefix\": 100\r\n },\r\n \"configurationOverrides\": {},\r\n \"writeLocations\": [\r\n {\r\n \"id\": \"arkhetar-operation-log-test-southeastasia\",\r\n \"locationName\": \"Southeast Asia\",\r\n \"documentEndpoint\": \"https://arkhetar-operation-log-test-southeastasia.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"readLocations\": [\r\n {\r\n \"id\": \"arkhetar-operation-log-test-southeastasia\",\r\n \"locationName\": \"Southeast Asia\",\r\n \"documentEndpoint\": \"https://arkhetar-operation-log-test-southeastasia.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"locations\": [\r\n {\r\n \"id\": \"arkhetar-operation-log-test-southeastasia\",\r\n \"locationName\": \"Southeast Asia\",\r\n \"documentEndpoint\": \"https://arkhetar-operation-log-test-southeastasia.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"failoverPolicies\": [\r\n {\r\n \"id\": \"arkhetar-operation-log-test-southeastasia\",\r\n \"locationName\": \"Southeast Asia\",\r\n \"failoverPriority\": 0\r\n }\r\n ],\r\n \"cors\": [],\r\n \"capabilities\": [],\r\n \"ipRules\": [],\r\n \"backupPolicy\": {\r\n \"type\": \"Periodic\",\r\n \"periodicModeProperties\": {\r\n \"backupIntervalInMinutes\": 240,\r\n \"backupRetentionIntervalInHours\": 8,\r\n \"backupStorageRedundancy\": \"Geo\"\r\n }\r\n },\r\n \"networkAclBypassResourceIds\": []\r\n },\r\n \"identity\": {\r\n \"type\": \"None\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/resourceGroups/babatsai-rg-signoff/providers/Microsoft.DocumentDB/databaseAccounts/mongo-stage-test\",\r\n \"name\": \"mongo-stage-test\",\r\n \"location\": \"Southeast Asia\",\r\n \"type\": \"Microsoft.DocumentDB/databaseAccounts\",\r\n \"kind\": \"MongoDB\",\r\n \"tags\": {\r\n \"defaultExperience\": \"Azure Cosmos DB for MongoDB API\"\r\n },\r\n \"systemData\": {\r\n \"createdAt\": \"2019-07-04T00:05:37.7510335Z\"\r\n },\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"documentEndpoint\": \"https://mongo-stage-test.documents-staging.windows-ppe.net:443/\",\r\n \"publicNetworkAccess\": \"Enabled\",\r\n \"enableAutomaticFailover\": false,\r\n \"enableMultipleWriteLocations\": false,\r\n \"enablePartitionKeyMonitor\": false,\r\n \"isVirtualNetworkFilterEnabled\": false,\r\n \"virtualNetworkRules\": [],\r\n \"EnabledApiTypes\": \"MongoDB\",\r\n \"disableKeyBasedMetadataWriteAccess\": false,\r\n \"enableFreeTier\": false,\r\n \"enableAnalyticalStorage\": false,\r\n \"analyticalStorageConfiguration\": null,\r\n \"instanceId\": \"b1e06879-5f95-47c5-bf21-29d62e080c5a\",\r\n \"createMode\": \"Default\",\r\n \"databaseAccountOfferType\": \"Standard\",\r\n \"enableCassandraConnector\": false,\r\n \"connectorOffer\": \"\",\r\n \"defaultIdentity\": \"\",\r\n \"networkAclBypass\": \"None\",\r\n \"consistencyPolicy\": {\r\n \"defaultConsistencyLevel\": \"Session\",\r\n \"maxIntervalInSeconds\": 5,\r\n \"maxStalenessPrefix\": 100\r\n },\r\n \"apiProperties\": {\r\n \"serverVersion\": \"3.2\"\r\n },\r\n \"configurationOverrides\": {\r\n \"EnableBsonSchema\": \"True\"\r\n },\r\n \"writeLocations\": [\r\n {\r\n \"id\": \"mongo-stage-test-southeastasia\",\r\n \"locationName\": \"Southeast Asia\",\r\n \"documentEndpoint\": \"https://mongo-stage-test-southeastasia.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"readLocations\": [\r\n {\r\n \"id\": \"mongo-stage-test-southeastasia\",\r\n \"locationName\": \"Southeast Asia\",\r\n \"documentEndpoint\": \"https://mongo-stage-test-southeastasia.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"locations\": [\r\n {\r\n \"id\": \"mongo-stage-test-southeastasia\",\r\n \"locationName\": \"Southeast Asia\",\r\n \"documentEndpoint\": \"https://mongo-stage-test-southeastasia.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"failoverPolicies\": [\r\n {\r\n \"id\": \"mongo-stage-test-southeastasia\",\r\n \"locationName\": \"Southeast Asia\",\r\n \"failoverPriority\": 0\r\n }\r\n ],\r\n \"cors\": [],\r\n \"capabilities\": [],\r\n \"ipRules\": [],\r\n \"backupPolicy\": {\r\n \"type\": \"Periodic\",\r\n \"periodicModeProperties\": {\r\n \"backupIntervalInMinutes\": 240,\r\n \"backupRetentionIntervalInHours\": 8,\r\n \"backupStorageRedundancy\": \"Geo\"\r\n }\r\n },\r\n \"networkAclBypassResourceIds\": []\r\n },\r\n \"identity\": {\r\n \"type\": \"None\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/resourceGroups/shtan-stage-signoff/providers/Microsoft.DocumentDB/databaseAccounts/restored-shtan-stage\",\r\n \"name\": \"restored-shtan-stage\",\r\n \"location\": \"Southeast Asia\",\r\n \"type\": \"Microsoft.DocumentDB/databaseAccounts\",\r\n \"kind\": \"GlobalDocumentDB\",\r\n \"tags\": {\r\n \"defaultExperience\": \"DocumentDB\",\r\n \"restoredSourceDatabaseAccountName\": \"shtan-stage\",\r\n \"restoredAtTimestamp\": \"10/30/2019 5:29:18 PM\"\r\n },\r\n \"systemData\": {\r\n \"createdAt\": \"2019-10-30T17:47:49.8052668Z\"\r\n },\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"documentEndpoint\": \"https://restored-shtan-stage.documents-staging.windows-ppe.net:443/\",\r\n \"publicNetworkAccess\": \"Enabled\",\r\n \"enableAutomaticFailover\": false,\r\n \"enableMultipleWriteLocations\": true,\r\n \"enablePartitionKeyMonitor\": false,\r\n \"isVirtualNetworkFilterEnabled\": false,\r\n \"virtualNetworkRules\": [],\r\n \"EnabledApiTypes\": \"Sql\",\r\n \"disableKeyBasedMetadataWriteAccess\": false,\r\n \"enableFreeTier\": false,\r\n \"enableAnalyticalStorage\": false,\r\n \"analyticalStorageConfiguration\": null,\r\n \"instanceId\": \"cff6e11d-6879-4530-bb43-ececf73b1499\",\r\n \"createMode\": \"Default\",\r\n \"databaseAccountOfferType\": \"Standard\",\r\n \"defaultIdentity\": \"\",\r\n \"networkAclBypass\": \"None\",\r\n \"consistencyPolicy\": {\r\n \"defaultConsistencyLevel\": \"Session\",\r\n \"maxIntervalInSeconds\": 5,\r\n \"maxStalenessPrefix\": 100\r\n },\r\n \"configurationOverrides\": {},\r\n \"writeLocations\": [\r\n {\r\n \"id\": \"restored-shtan-stage-southeastasia\",\r\n \"locationName\": \"Southeast Asia\",\r\n \"documentEndpoint\": \"https://restored-shtan-stage-southeastasia.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"readLocations\": [\r\n {\r\n \"id\": \"restored-shtan-stage-southeastasia\",\r\n \"locationName\": \"Southeast Asia\",\r\n \"documentEndpoint\": \"https://restored-shtan-stage-southeastasia.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"locations\": [\r\n {\r\n \"id\": \"restored-shtan-stage-southeastasia\",\r\n \"locationName\": \"Southeast Asia\",\r\n \"documentEndpoint\": \"https://restored-shtan-stage-southeastasia.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"failoverPolicies\": [\r\n {\r\n \"id\": \"restored-shtan-stage-southeastasia\",\r\n \"locationName\": \"Southeast Asia\",\r\n \"failoverPriority\": 0\r\n }\r\n ],\r\n \"cors\": [],\r\n \"capabilities\": [],\r\n \"ipRules\": [],\r\n \"backupPolicy\": {\r\n \"type\": \"Periodic\",\r\n \"periodicModeProperties\": {\r\n \"backupIntervalInMinutes\": 240,\r\n \"backupRetentionIntervalInHours\": 8,\r\n \"backupStorageRedundancy\": \"Geo\"\r\n }\r\n },\r\n \"networkAclBypassResourceIds\": []\r\n },\r\n \"identity\": {\r\n \"type\": \"None\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/resourceGroups/virangai-test/providers/Microsoft.DocumentDB/databaseAccounts/test-mongo-vir\",\r\n \"name\": \"test-mongo-vir\",\r\n \"location\": \"Southeast Asia\",\r\n \"type\": \"Microsoft.DocumentDB/databaseAccounts\",\r\n \"kind\": \"GlobalDocumentDB\",\r\n \"tags\": {\r\n \"defaultExperience\": \"Core (SQL)\",\r\n \"hidden-cosmos-mmspecial\": \"\",\r\n \"CosmosAccountType\": \"Production\"\r\n },\r\n \"systemData\": {\r\n \"createdAt\": \"2020-06-26T21:17:16.5969022Z\"\r\n },\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"documentEndpoint\": \"https://test-mongo-vir.documents-staging.windows-ppe.net:443/\",\r\n \"publicNetworkAccess\": \"Enabled\",\r\n \"enableAutomaticFailover\": false,\r\n \"enableMultipleWriteLocations\": true,\r\n \"enablePartitionKeyMonitor\": false,\r\n \"isVirtualNetworkFilterEnabled\": false,\r\n \"virtualNetworkRules\": [],\r\n \"EnabledApiTypes\": \"Sql\",\r\n \"disableKeyBasedMetadataWriteAccess\": false,\r\n \"enableFreeTier\": false,\r\n \"enableAnalyticalStorage\": false,\r\n \"analyticalStorageConfiguration\": null,\r\n \"instanceId\": \"abec24f9-4e6a-45d4-8bbe-fefe85aea77d\",\r\n \"createMode\": \"Default\",\r\n \"databaseAccountOfferType\": \"Standard\",\r\n \"enableCassandraConnector\": false,\r\n \"connectorOffer\": \"\",\r\n \"defaultIdentity\": \"\",\r\n \"networkAclBypass\": \"None\",\r\n \"consistencyPolicy\": {\r\n \"defaultConsistencyLevel\": \"Session\",\r\n \"maxIntervalInSeconds\": 5,\r\n \"maxStalenessPrefix\": 100\r\n },\r\n \"configurationOverrides\": {},\r\n \"writeLocations\": [\r\n {\r\n \"id\": \"test-mongo-vir-southeastasia\",\r\n \"locationName\": \"Southeast Asia\",\r\n \"documentEndpoint\": \"https://test-mongo-vir-southeastasia.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"readLocations\": [\r\n {\r\n \"id\": \"test-mongo-vir-southeastasia\",\r\n \"locationName\": \"Southeast Asia\",\r\n \"documentEndpoint\": \"https://test-mongo-vir-southeastasia.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"locations\": [\r\n {\r\n \"id\": \"test-mongo-vir-southeastasia\",\r\n \"locationName\": \"Southeast Asia\",\r\n \"documentEndpoint\": \"https://test-mongo-vir-southeastasia.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"failoverPolicies\": [\r\n {\r\n \"id\": \"test-mongo-vir-southeastasia\",\r\n \"locationName\": \"Southeast Asia\",\r\n \"failoverPriority\": 0\r\n }\r\n ],\r\n \"cors\": [],\r\n \"capabilities\": [],\r\n \"ipRules\": [\r\n {\r\n \"ipAddressOrRange\": \"104.42.195.92\"\r\n },\r\n {\r\n \"ipAddressOrRange\": \"40.76.54.131\"\r\n },\r\n {\r\n \"ipAddressOrRange\": \"52.176.6.30\"\r\n },\r\n {\r\n \"ipAddressOrRange\": \"52.169.50.45\"\r\n },\r\n {\r\n \"ipAddressOrRange\": \"52.187.184.26\"\r\n }\r\n ],\r\n \"backupPolicy\": {\r\n \"type\": \"Periodic\",\r\n \"periodicModeProperties\": {\r\n \"backupIntervalInMinutes\": 60,\r\n \"backupRetentionIntervalInHours\": 8,\r\n \"backupStorageRedundancy\": \"Geo\"\r\n }\r\n },\r\n \"networkAclBypassResourceIds\": []\r\n },\r\n \"identity\": {\r\n \"type\": \"None\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/resourceGroups/virangai-test/providers/Microsoft.DocumentDB/databaseAccounts/test-virangai-mongo\",\r\n \"name\": \"test-virangai-mongo\",\r\n \"location\": \"Southeast Asia\",\r\n \"type\": \"Microsoft.DocumentDB/databaseAccounts\",\r\n \"kind\": \"MongoDB\",\r\n \"tags\": {\r\n \"defaultExperience\": \"Azure Cosmos DB for MongoDB API\",\r\n \"hidden-cosmos-mmspecial\": \"\",\r\n \"CosmosAccountType\": \"Non-Production\"\r\n },\r\n \"systemData\": {\r\n \"createdAt\": \"2020-06-26T19:50:46.97713Z\"\r\n },\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"documentEndpoint\": \"https://test-virangai-mongo.documents-staging.windows-ppe.net:443/\",\r\n \"mongoEndpoint\": \"https://test-virangai-mongo.mongo.cosmos.windows-ppe.net:443/\",\r\n \"publicNetworkAccess\": \"Enabled\",\r\n \"enableAutomaticFailover\": false,\r\n \"enableMultipleWriteLocations\": true,\r\n \"enablePartitionKeyMonitor\": false,\r\n \"isVirtualNetworkFilterEnabled\": false,\r\n \"virtualNetworkRules\": [],\r\n \"EnabledApiTypes\": \"MongoDB\",\r\n \"disableKeyBasedMetadataWriteAccess\": false,\r\n \"enableFreeTier\": false,\r\n \"enableAnalyticalStorage\": false,\r\n \"analyticalStorageConfiguration\": null,\r\n \"instanceId\": \"54db8f31-155f-461e-a007-4a87ff5c4165\",\r\n \"createMode\": \"Default\",\r\n \"databaseAccountOfferType\": \"Standard\",\r\n \"enableCassandraConnector\": false,\r\n \"connectorOffer\": \"\",\r\n \"defaultIdentity\": \"\",\r\n \"networkAclBypass\": \"None\",\r\n \"consistencyPolicy\": {\r\n \"defaultConsistencyLevel\": \"Session\",\r\n \"maxIntervalInSeconds\": 5,\r\n \"maxStalenessPrefix\": 100\r\n },\r\n \"apiProperties\": {\r\n \"serverVersion\": \"3.6\"\r\n },\r\n \"configurationOverrides\": {\r\n \"EnableBsonSchema\": \"True\"\r\n },\r\n \"writeLocations\": [\r\n {\r\n \"id\": \"test-virangai-mongo-southeastasia\",\r\n \"locationName\": \"Southeast Asia\",\r\n \"documentEndpoint\": \"https://test-virangai-mongo-southeastasia.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n },\r\n {\r\n \"id\": \"test-virangai-mongo-northcentralus\",\r\n \"locationName\": \"North Central US\",\r\n \"documentEndpoint\": \"https://test-virangai-mongo-northcentralus.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 1,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"readLocations\": [\r\n {\r\n \"id\": \"test-virangai-mongo-southeastasia\",\r\n \"locationName\": \"Southeast Asia\",\r\n \"documentEndpoint\": \"https://test-virangai-mongo-southeastasia.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n },\r\n {\r\n \"id\": \"test-virangai-mongo-northcentralus\",\r\n \"locationName\": \"North Central US\",\r\n \"documentEndpoint\": \"https://test-virangai-mongo-northcentralus.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 1,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"locations\": [\r\n {\r\n \"id\": \"test-virangai-mongo-southeastasia\",\r\n \"locationName\": \"Southeast Asia\",\r\n \"documentEndpoint\": \"https://test-virangai-mongo-southeastasia.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n },\r\n {\r\n \"id\": \"test-virangai-mongo-northcentralus\",\r\n \"locationName\": \"North Central US\",\r\n \"documentEndpoint\": \"https://test-virangai-mongo-northcentralus.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 1,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"failoverPolicies\": [\r\n {\r\n \"id\": \"test-virangai-mongo-southeastasia\",\r\n \"locationName\": \"Southeast Asia\",\r\n \"failoverPriority\": 0\r\n },\r\n {\r\n \"id\": \"test-virangai-mongo-northcentralus\",\r\n \"locationName\": \"North Central US\",\r\n \"failoverPriority\": 1\r\n }\r\n ],\r\n \"cors\": [],\r\n \"capabilities\": [\r\n {\r\n \"name\": \"EnableMongo\"\r\n },\r\n {\r\n \"name\": \"DisableRateLimitingResponses\"\r\n }\r\n ],\r\n \"ipRules\": [],\r\n \"backupPolicy\": {\r\n \"type\": \"Periodic\",\r\n \"periodicModeProperties\": {\r\n \"backupIntervalInMinutes\": 60,\r\n \"backupRetentionIntervalInHours\": 8,\r\n \"backupStorageRedundancy\": \"Geo\"\r\n }\r\n },\r\n \"networkAclBypassResourceIds\": []\r\n },\r\n \"identity\": {\r\n \"type\": \"None\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/resourceGroups/test/providers/Microsoft.DocumentDB/databaseAccounts/testps1stage\",\r\n \"name\": \"testps1stage\",\r\n \"location\": \"Southeast Asia\",\r\n \"type\": \"Microsoft.DocumentDB/databaseAccounts\",\r\n \"kind\": \"GlobalDocumentDB\",\r\n \"tags\": {\r\n \"defaultExperience\": \"DocumentDB\"\r\n },\r\n \"systemData\": {\r\n \"createdAt\": \"2018-08-22T20:38:40.0420574Z\"\r\n },\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"documentEndpoint\": \"https://testps1stage.documents-staging.windows-ppe.net:443/\",\r\n \"publicNetworkAccess\": \"Enabled\",\r\n \"enableAutomaticFailover\": false,\r\n \"enableMultipleWriteLocations\": false,\r\n \"enablePartitionKeyMonitor\": false,\r\n \"isVirtualNetworkFilterEnabled\": false,\r\n \"virtualNetworkRules\": [],\r\n \"EnabledApiTypes\": \"Sql\",\r\n \"disableKeyBasedMetadataWriteAccess\": false,\r\n \"enableFreeTier\": false,\r\n \"enableAnalyticalStorage\": false,\r\n \"analyticalStorageConfiguration\": null,\r\n \"instanceId\": \"72684018-71c7-435e-b4d6-eedb27097b8c\",\r\n \"createMode\": \"Default\",\r\n \"databaseAccountOfferType\": \"Standard\",\r\n \"defaultIdentity\": \"\",\r\n \"networkAclBypass\": \"None\",\r\n \"consistencyPolicy\": {\r\n \"defaultConsistencyLevel\": \"Session\",\r\n \"maxIntervalInSeconds\": 5,\r\n \"maxStalenessPrefix\": 100\r\n },\r\n \"configurationOverrides\": {},\r\n \"writeLocations\": [\r\n {\r\n \"id\": \"testps1stage-southeastasia\",\r\n \"locationName\": \"Southeast Asia\",\r\n \"documentEndpoint\": \"https://testps1stage-southeastasia.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"readLocations\": [\r\n {\r\n \"id\": \"testps1stage-southeastasia\",\r\n \"locationName\": \"Southeast Asia\",\r\n \"documentEndpoint\": \"https://testps1stage-southeastasia.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n },\r\n {\r\n \"id\": \"testps1stage-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://testps1stage-eastus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 1,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"locations\": [\r\n {\r\n \"id\": \"testps1stage-southeastasia\",\r\n \"locationName\": \"Southeast Asia\",\r\n \"documentEndpoint\": \"https://testps1stage-southeastasia.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n },\r\n {\r\n \"id\": \"testps1stage-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://testps1stage-eastus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 1,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"failoverPolicies\": [\r\n {\r\n \"id\": \"testps1stage-southeastasia\",\r\n \"locationName\": \"Southeast Asia\",\r\n \"failoverPriority\": 0\r\n },\r\n {\r\n \"id\": \"testps1stage-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"failoverPriority\": 1\r\n }\r\n ],\r\n \"cors\": [],\r\n \"capabilities\": [],\r\n \"ipRules\": [],\r\n \"backupPolicy\": {\r\n \"type\": \"Periodic\",\r\n \"periodicModeProperties\": {\r\n \"backupIntervalInMinutes\": 240,\r\n \"backupRetentionIntervalInHours\": 8,\r\n \"backupStorageRedundancy\": \"Geo\"\r\n }\r\n },\r\n \"networkAclBypassResourceIds\": []\r\n },\r\n \"identity\": {\r\n \"type\": \"None\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/resourceGroups/abinav_stage_rg/providers/Microsoft.DocumentDB/databaseAccounts/testrupergbchange\",\r\n \"name\": \"testrupergbchange\",\r\n \"location\": \"Southeast Asia\",\r\n \"type\": \"Microsoft.DocumentDB/databaseAccounts\",\r\n \"kind\": \"GlobalDocumentDB\",\r\n \"tags\": {\r\n \"defaultExperience\": \"Core (SQL)\"\r\n },\r\n \"systemData\": {\r\n \"createdAt\": \"2019-02-04T21:47:25.8300419Z\"\r\n },\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"documentEndpoint\": \"https://testrupergbchange.documents-staging.windows-ppe.net:443/\",\r\n \"publicNetworkAccess\": \"Enabled\",\r\n \"enableAutomaticFailover\": false,\r\n \"enableMultipleWriteLocations\": true,\r\n \"enablePartitionKeyMonitor\": false,\r\n \"isVirtualNetworkFilterEnabled\": false,\r\n \"virtualNetworkRules\": [],\r\n \"EnabledApiTypes\": \"Sql\",\r\n \"disableKeyBasedMetadataWriteAccess\": false,\r\n \"enableFreeTier\": false,\r\n \"enableAnalyticalStorage\": false,\r\n \"analyticalStorageConfiguration\": null,\r\n \"instanceId\": \"aeb09751-074e-4ac0-a763-513f0b5ddd5f\",\r\n \"createMode\": \"Default\",\r\n \"databaseAccountOfferType\": \"Standard\",\r\n \"defaultIdentity\": \"\",\r\n \"networkAclBypass\": \"None\",\r\n \"consistencyPolicy\": {\r\n \"defaultConsistencyLevel\": \"Session\",\r\n \"maxIntervalInSeconds\": 5,\r\n \"maxStalenessPrefix\": 100\r\n },\r\n \"configurationOverrides\": {},\r\n \"writeLocations\": [\r\n {\r\n \"id\": \"testrupergbchange-southeastasia\",\r\n \"locationName\": \"Southeast Asia\",\r\n \"documentEndpoint\": \"https://testrupergbchange-southeastasia.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"readLocations\": [\r\n {\r\n \"id\": \"testrupergbchange-southeastasia\",\r\n \"locationName\": \"Southeast Asia\",\r\n \"documentEndpoint\": \"https://testrupergbchange-southeastasia.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"locations\": [\r\n {\r\n \"id\": \"testrupergbchange-southeastasia\",\r\n \"locationName\": \"Southeast Asia\",\r\n \"documentEndpoint\": \"https://testrupergbchange-southeastasia.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"failoverPolicies\": [\r\n {\r\n \"id\": \"testrupergbchange-southeastasia\",\r\n \"locationName\": \"Southeast Asia\",\r\n \"failoverPriority\": 0\r\n }\r\n ],\r\n \"cors\": [],\r\n \"capabilities\": [],\r\n \"ipRules\": [],\r\n \"backupPolicy\": {\r\n \"type\": \"Periodic\",\r\n \"periodicModeProperties\": {\r\n \"backupIntervalInMinutes\": 240,\r\n \"backupRetentionIntervalInHours\": 8,\r\n \"backupStorageRedundancy\": \"Geo\"\r\n }\r\n },\r\n \"networkAclBypassResourceIds\": []\r\n },\r\n \"identity\": {\r\n \"type\": \"None\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/resourceGroups/abinav_stage_rg/providers/Microsoft.DocumentDB/databaseAccounts/testsnapshotacrossisolation\",\r\n \"name\": \"testsnapshotacrossisolation\",\r\n \"location\": \"Southeast Asia\",\r\n \"type\": \"Microsoft.DocumentDB/databaseAccounts\",\r\n \"kind\": \"GlobalDocumentDB\",\r\n \"tags\": {\r\n \"defaultExperience\": \"Core (SQL)\"\r\n },\r\n \"systemData\": {\r\n \"createdAt\": \"2019-02-07T05:12:12.3503504Z\"\r\n },\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"documentEndpoint\": \"https://testsnapshotacrossisolation.documents-staging.windows-ppe.net:443/\",\r\n \"publicNetworkAccess\": \"Enabled\",\r\n \"enableAutomaticFailover\": false,\r\n \"enableMultipleWriteLocations\": true,\r\n \"enablePartitionKeyMonitor\": false,\r\n \"isVirtualNetworkFilterEnabled\": false,\r\n \"virtualNetworkRules\": [],\r\n \"EnabledApiTypes\": \"Sql\",\r\n \"disableKeyBasedMetadataWriteAccess\": false,\r\n \"enableFreeTier\": false,\r\n \"enableAnalyticalStorage\": false,\r\n \"analyticalStorageConfiguration\": null,\r\n \"instanceId\": \"15e797c4-efb5-4fc4-b7d3-67e0eb8cc98a\",\r\n \"createMode\": \"Default\",\r\n \"databaseAccountOfferType\": \"Standard\",\r\n \"defaultIdentity\": \"\",\r\n \"networkAclBypass\": \"None\",\r\n \"consistencyPolicy\": {\r\n \"defaultConsistencyLevel\": \"Session\",\r\n \"maxIntervalInSeconds\": 5,\r\n \"maxStalenessPrefix\": 100\r\n },\r\n \"configurationOverrides\": {},\r\n \"writeLocations\": [\r\n {\r\n \"id\": \"testsnapshotacrossisolation-southeastasia\",\r\n \"locationName\": \"Southeast Asia\",\r\n \"documentEndpoint\": \"https://testsnapshotacrossisolation-southeastasia.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"readLocations\": [\r\n {\r\n \"id\": \"testsnapshotacrossisolation-southeastasia\",\r\n \"locationName\": \"Southeast Asia\",\r\n \"documentEndpoint\": \"https://testsnapshotacrossisolation-southeastasia.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"locations\": [\r\n {\r\n \"id\": \"testsnapshotacrossisolation-southeastasia\",\r\n \"locationName\": \"Southeast Asia\",\r\n \"documentEndpoint\": \"https://testsnapshotacrossisolation-southeastasia.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"failoverPolicies\": [\r\n {\r\n \"id\": \"testsnapshotacrossisolation-southeastasia\",\r\n \"locationName\": \"Southeast Asia\",\r\n \"failoverPriority\": 0\r\n }\r\n ],\r\n \"cors\": [],\r\n \"capabilities\": [],\r\n \"ipRules\": [],\r\n \"backupPolicy\": {\r\n \"type\": \"Periodic\",\r\n \"periodicModeProperties\": {\r\n \"backupIntervalInMinutes\": 240,\r\n \"backupRetentionIntervalInHours\": 8,\r\n \"backupStorageRedundancy\": \"Geo\"\r\n }\r\n },\r\n \"networkAclBypassResourceIds\": []\r\n },\r\n \"identity\": {\r\n \"type\": \"None\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/resourceGroups/abinav_stage_rg/providers/Microsoft.DocumentDB/databaseAccounts/todeletestageaccount\",\r\n \"name\": \"todeletestageaccount\",\r\n \"location\": \"Southeast Asia\",\r\n \"type\": \"Microsoft.DocumentDB/databaseAccounts\",\r\n \"kind\": \"GlobalDocumentDB\",\r\n \"tags\": {\r\n \"defaultExperience\": \"Core (SQL)\"\r\n },\r\n \"systemData\": {\r\n \"createdAt\": \"2019-02-16T01:08:17.9789915Z\"\r\n },\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"documentEndpoint\": \"https://todeletestageaccount.documents-staging.windows-ppe.net:443/\",\r\n \"publicNetworkAccess\": \"Enabled\",\r\n \"enableAutomaticFailover\": false,\r\n \"enableMultipleWriteLocations\": true,\r\n \"enablePartitionKeyMonitor\": false,\r\n \"isVirtualNetworkFilterEnabled\": false,\r\n \"virtualNetworkRules\": [],\r\n \"EnabledApiTypes\": \"Sql\",\r\n \"disableKeyBasedMetadataWriteAccess\": false,\r\n \"enableFreeTier\": false,\r\n \"enableAnalyticalStorage\": false,\r\n \"analyticalStorageConfiguration\": null,\r\n \"instanceId\": \"c761b4d0-3564-4436-856c-3565caba9250\",\r\n \"createMode\": \"Default\",\r\n \"databaseAccountOfferType\": \"Standard\",\r\n \"defaultIdentity\": \"\",\r\n \"networkAclBypass\": \"None\",\r\n \"consistencyPolicy\": {\r\n \"defaultConsistencyLevel\": \"Session\",\r\n \"maxIntervalInSeconds\": 5,\r\n \"maxStalenessPrefix\": 100\r\n },\r\n \"configurationOverrides\": {},\r\n \"writeLocations\": [\r\n {\r\n \"id\": \"todeletestageaccount-southeastasia\",\r\n \"locationName\": \"Southeast Asia\",\r\n \"documentEndpoint\": \"https://todeletestageaccount-southeastasia.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"readLocations\": [\r\n {\r\n \"id\": \"todeletestageaccount-southeastasia\",\r\n \"locationName\": \"Southeast Asia\",\r\n \"documentEndpoint\": \"https://todeletestageaccount-southeastasia.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"locations\": [\r\n {\r\n \"id\": \"todeletestageaccount-southeastasia\",\r\n \"locationName\": \"Southeast Asia\",\r\n \"documentEndpoint\": \"https://todeletestageaccount-southeastasia.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"failoverPolicies\": [\r\n {\r\n \"id\": \"todeletestageaccount-southeastasia\",\r\n \"locationName\": \"Southeast Asia\",\r\n \"failoverPriority\": 0\r\n }\r\n ],\r\n \"cors\": [],\r\n \"capabilities\": [],\r\n \"ipRules\": [],\r\n \"backupPolicy\": {\r\n \"type\": \"Periodic\",\r\n \"periodicModeProperties\": {\r\n \"backupIntervalInMinutes\": 240,\r\n \"backupRetentionIntervalInHours\": 8,\r\n \"backupStorageRedundancy\": \"Geo\"\r\n }\r\n },\r\n \"networkAclBypassResourceIds\": []\r\n },\r\n \"identity\": {\r\n \"type\": \"None\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/resourceGroups/babatsai-rg-signoff/providers/Microsoft.DocumentDB/databaseAccounts/gremlin-stage-test\",\r\n \"name\": \"gremlin-stage-test\",\r\n \"location\": \"Southeast Asia\",\r\n \"type\": \"Microsoft.DocumentDB/databaseAccounts\",\r\n \"kind\": \"GlobalDocumentDB\",\r\n \"tags\": {\r\n \"defaultExperience\": \"Gremlin (graph)\"\r\n },\r\n \"systemData\": {\r\n \"createdAt\": \"2019-07-04T00:03:36.6216702Z\"\r\n },\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"documentEndpoint\": \"https://gremlin-stage-test.documents-staging.windows-ppe.net:443/\",\r\n \"gremlinEndpoint\": \"https://gremlin-stage-test.gremlin.cosmos.windows-ppe.net:443/\",\r\n \"publicNetworkAccess\": \"Enabled\",\r\n \"enableAutomaticFailover\": false,\r\n \"enableMultipleWriteLocations\": false,\r\n \"enablePartitionKeyMonitor\": false,\r\n \"isVirtualNetworkFilterEnabled\": false,\r\n \"virtualNetworkRules\": [],\r\n \"EnabledApiTypes\": \"Gremlin, Sql\",\r\n \"disableKeyBasedMetadataWriteAccess\": false,\r\n \"enableFreeTier\": false,\r\n \"enableAnalyticalStorage\": false,\r\n \"analyticalStorageConfiguration\": null,\r\n \"instanceId\": \"e91f4e41-cc91-40dc-a28e-40a43daf061b\",\r\n \"createMode\": \"Default\",\r\n \"databaseAccountOfferType\": \"Standard\",\r\n \"enableCassandraConnector\": false,\r\n \"connectorOffer\": \"\",\r\n \"defaultIdentity\": \"\",\r\n \"networkAclBypass\": \"None\",\r\n \"consistencyPolicy\": {\r\n \"defaultConsistencyLevel\": \"Session\",\r\n \"maxIntervalInSeconds\": 5,\r\n \"maxStalenessPrefix\": 100\r\n },\r\n \"configurationOverrides\": {},\r\n \"writeLocations\": [\r\n {\r\n \"id\": \"gremlin-stage-test-southeastasia\",\r\n \"locationName\": \"Southeast Asia\",\r\n \"documentEndpoint\": \"https://gremlin-stage-test-southeastasia.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"readLocations\": [\r\n {\r\n \"id\": \"gremlin-stage-test-southeastasia\",\r\n \"locationName\": \"Southeast Asia\",\r\n \"documentEndpoint\": \"https://gremlin-stage-test-southeastasia.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"locations\": [\r\n {\r\n \"id\": \"gremlin-stage-test-southeastasia\",\r\n \"locationName\": \"Southeast Asia\",\r\n \"documentEndpoint\": \"https://gremlin-stage-test-southeastasia.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"failoverPolicies\": [\r\n {\r\n \"id\": \"gremlin-stage-test-southeastasia\",\r\n \"locationName\": \"Southeast Asia\",\r\n \"failoverPriority\": 0\r\n }\r\n ],\r\n \"cors\": [],\r\n \"capabilities\": [\r\n {\r\n \"name\": \"EnableGremlin\"\r\n }\r\n ],\r\n \"ipRules\": [],\r\n \"backupPolicy\": {\r\n \"type\": \"Periodic\",\r\n \"periodicModeProperties\": {\r\n \"backupIntervalInMinutes\": 240,\r\n \"backupRetentionIntervalInHours\": 8,\r\n \"backupStorageRedundancy\": \"Geo\"\r\n }\r\n },\r\n \"networkAclBypassResourceIds\": []\r\n },\r\n \"identity\": {\r\n \"type\": \"None\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/resourceGroups/arkhetar-staging/providers/Microsoft.DocumentDB/databaseAccounts/arkhetar-operation-log-v2\",\r\n \"name\": \"arkhetar-operation-log-v2\",\r\n \"location\": \"Southeast Asia\",\r\n \"type\": \"Microsoft.DocumentDB/databaseAccounts\",\r\n \"kind\": \"GlobalDocumentDB\",\r\n \"tags\": {\r\n \"defaultExperience\": \"Core (SQL)\"\r\n },\r\n \"systemData\": {\r\n \"createdAt\": \"2019-01-11T03:26:07.898302Z\"\r\n },\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"documentEndpoint\": \"https://arkhetar-operation-log-v2.documents-staging.windows-ppe.net:443/\",\r\n \"publicNetworkAccess\": \"Enabled\",\r\n \"enableAutomaticFailover\": false,\r\n \"enableMultipleWriteLocations\": true,\r\n \"enablePartitionKeyMonitor\": false,\r\n \"isVirtualNetworkFilterEnabled\": false,\r\n \"virtualNetworkRules\": [],\r\n \"EnabledApiTypes\": \"Sql\",\r\n \"disableKeyBasedMetadataWriteAccess\": false,\r\n \"enableFreeTier\": false,\r\n \"enableAnalyticalStorage\": false,\r\n \"analyticalStorageConfiguration\": null,\r\n \"instanceId\": \"92370172-7225-4cca-b8c4-0649071b150d\",\r\n \"createMode\": \"Default\",\r\n \"databaseAccountOfferType\": \"Standard\",\r\n \"defaultIdentity\": \"\",\r\n \"networkAclBypass\": \"None\",\r\n \"consistencyPolicy\": {\r\n \"defaultConsistencyLevel\": \"Session\",\r\n \"maxIntervalInSeconds\": 5,\r\n \"maxStalenessPrefix\": 100\r\n },\r\n \"configurationOverrides\": {},\r\n \"writeLocations\": [\r\n {\r\n \"id\": \"arkhetar-operation-log-v2-southeastasia\",\r\n \"locationName\": \"Southeast Asia\",\r\n \"documentEndpoint\": \"https://arkhetar-operation-log-v2-southeastasia.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"readLocations\": [\r\n {\r\n \"id\": \"arkhetar-operation-log-v2-southeastasia\",\r\n \"locationName\": \"Southeast Asia\",\r\n \"documentEndpoint\": \"https://arkhetar-operation-log-v2-southeastasia.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"locations\": [\r\n {\r\n \"id\": \"arkhetar-operation-log-v2-southeastasia\",\r\n \"locationName\": \"Southeast Asia\",\r\n \"documentEndpoint\": \"https://arkhetar-operation-log-v2-southeastasia.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"failoverPolicies\": [\r\n {\r\n \"id\": \"arkhetar-operation-log-v2-southeastasia\",\r\n \"locationName\": \"Southeast Asia\",\r\n \"failoverPriority\": 0\r\n }\r\n ],\r\n \"cors\": [],\r\n \"capabilities\": [],\r\n \"ipRules\": [],\r\n \"backupPolicy\": {\r\n \"type\": \"Periodic\",\r\n \"periodicModeProperties\": {\r\n \"backupIntervalInMinutes\": 240,\r\n \"backupRetentionIntervalInHours\": 8,\r\n \"backupStorageRedundancy\": \"Geo\"\r\n }\r\n },\r\n \"networkAclBypassResourceIds\": []\r\n },\r\n \"identity\": {\r\n \"type\": \"None\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/resourceGroups/jasontho/providers/Microsoft.DocumentDB/databaseAccounts/mongostagesignoff10\",\r\n \"name\": \"mongostagesignoff10\",\r\n \"location\": \"Southeast Asia\",\r\n \"type\": \"Microsoft.DocumentDB/databaseAccounts\",\r\n \"kind\": \"MongoDB\",\r\n \"tags\": {\r\n \"defaultExperience\": \"Azure Cosmos DB for MongoDB API\",\r\n \"hidden-cosmos-mmspecial\": \"\",\r\n \"CosmosAccountType\": \"Non-Production\"\r\n },\r\n \"systemData\": {\r\n \"createdAt\": \"2020-06-26T21:15:49.1409234Z\"\r\n },\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"documentEndpoint\": \"https://mongostagesignoff10.documents-staging.windows-ppe.net:443/\",\r\n \"mongoEndpoint\": \"https://mongostagesignoff10.mongo.cosmos.windows-ppe.net:443/\",\r\n \"publicNetworkAccess\": \"Enabled\",\r\n \"enableAutomaticFailover\": false,\r\n \"enableMultipleWriteLocations\": true,\r\n \"enablePartitionKeyMonitor\": false,\r\n \"isVirtualNetworkFilterEnabled\": false,\r\n \"virtualNetworkRules\": [],\r\n \"EnabledApiTypes\": \"MongoDB\",\r\n \"disableKeyBasedMetadataWriteAccess\": false,\r\n \"enableFreeTier\": false,\r\n \"enableAnalyticalStorage\": false,\r\n \"analyticalStorageConfiguration\": null,\r\n \"instanceId\": \"8d294fdb-23d3-406d-8f89-43fef80850e0\",\r\n \"createMode\": \"Default\",\r\n \"databaseAccountOfferType\": \"Standard\",\r\n \"enableCassandraConnector\": false,\r\n \"connectorOffer\": \"\",\r\n \"defaultIdentity\": \"\",\r\n \"networkAclBypass\": \"None\",\r\n \"consistencyPolicy\": {\r\n \"defaultConsistencyLevel\": \"Session\",\r\n \"maxIntervalInSeconds\": 5,\r\n \"maxStalenessPrefix\": 100\r\n },\r\n \"apiProperties\": {\r\n \"serverVersion\": \"3.6\"\r\n },\r\n \"configurationOverrides\": {\r\n \"EnableBsonSchema\": \"True\"\r\n },\r\n \"writeLocations\": [\r\n {\r\n \"id\": \"mongostagesignoff10-southeastasia\",\r\n \"locationName\": \"Southeast Asia\",\r\n \"documentEndpoint\": \"https://mongostagesignoff10-southeastasia.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n },\r\n {\r\n \"id\": \"mongostagesignoff10-northcentralus\",\r\n \"locationName\": \"North Central US\",\r\n \"documentEndpoint\": \"https://mongostagesignoff10-northcentralus.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 1,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"readLocations\": [\r\n {\r\n \"id\": \"mongostagesignoff10-southeastasia\",\r\n \"locationName\": \"Southeast Asia\",\r\n \"documentEndpoint\": \"https://mongostagesignoff10-southeastasia.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n },\r\n {\r\n \"id\": \"mongostagesignoff10-northcentralus\",\r\n \"locationName\": \"North Central US\",\r\n \"documentEndpoint\": \"https://mongostagesignoff10-northcentralus.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 1,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"locations\": [\r\n {\r\n \"id\": \"mongostagesignoff10-southeastasia\",\r\n \"locationName\": \"Southeast Asia\",\r\n \"documentEndpoint\": \"https://mongostagesignoff10-southeastasia.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n },\r\n {\r\n \"id\": \"mongostagesignoff10-northcentralus\",\r\n \"locationName\": \"North Central US\",\r\n \"documentEndpoint\": \"https://mongostagesignoff10-northcentralus.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 1,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"failoverPolicies\": [\r\n {\r\n \"id\": \"mongostagesignoff10-southeastasia\",\r\n \"locationName\": \"Southeast Asia\",\r\n \"failoverPriority\": 0\r\n },\r\n {\r\n \"id\": \"mongostagesignoff10-northcentralus\",\r\n \"locationName\": \"North Central US\",\r\n \"failoverPriority\": 1\r\n }\r\n ],\r\n \"cors\": [],\r\n \"capabilities\": [\r\n {\r\n \"name\": \"EnableMongo\"\r\n },\r\n {\r\n \"name\": \"DisableRateLimitingResponses\"\r\n }\r\n ],\r\n \"ipRules\": [],\r\n \"backupPolicy\": {\r\n \"type\": \"Periodic\",\r\n \"periodicModeProperties\": {\r\n \"backupIntervalInMinutes\": 60,\r\n \"backupRetentionIntervalInHours\": 8,\r\n \"backupStorageRedundancy\": \"Geo\"\r\n }\r\n },\r\n \"networkAclBypassResourceIds\": []\r\n },\r\n \"identity\": {\r\n \"type\": \"None\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/resourceGroups/sanayak-test/providers/Microsoft.DocumentDB/databaseAccounts/synapsetest\",\r\n \"name\": \"synapsetest\",\r\n \"location\": \"Southeast Asia\",\r\n \"type\": \"Microsoft.DocumentDB/databaseAccounts\",\r\n \"kind\": \"GlobalDocumentDB\",\r\n \"tags\": {\r\n \"defaultExperience\": \"Core (SQL)\"\r\n },\r\n \"systemData\": {\r\n \"createdAt\": \"2019-11-07T06:30:14.5936506Z\"\r\n },\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"documentEndpoint\": \"https://synapsetest.documents-staging.windows-ppe.net:443/\",\r\n \"publicNetworkAccess\": \"Enabled\",\r\n \"enableAutomaticFailover\": false,\r\n \"enableMultipleWriteLocations\": false,\r\n \"enablePartitionKeyMonitor\": false,\r\n \"isVirtualNetworkFilterEnabled\": false,\r\n \"virtualNetworkRules\": [],\r\n \"EnabledApiTypes\": \"Sql\",\r\n \"disableKeyBasedMetadataWriteAccess\": false,\r\n \"enableFreeTier\": false,\r\n \"enableAnalyticalStorage\": true,\r\n \"analyticalStorageConfiguration\": null,\r\n \"instanceId\": \"56f736d8-a386-43cf-83ba-726caa749422\",\r\n \"createMode\": \"Default\",\r\n \"databaseAccountOfferType\": \"Standard\",\r\n \"enableCassandraConnector\": false,\r\n \"connectorOffer\": \"\",\r\n \"defaultIdentity\": \"\",\r\n \"networkAclBypass\": \"None\",\r\n \"consistencyPolicy\": {\r\n \"defaultConsistencyLevel\": \"Session\",\r\n \"maxIntervalInSeconds\": 5,\r\n \"maxStalenessPrefix\": 100\r\n },\r\n \"configurationOverrides\": {},\r\n \"writeLocations\": [\r\n {\r\n \"id\": \"synapsetest-southeastasia\",\r\n \"locationName\": \"Southeast Asia\",\r\n \"documentEndpoint\": \"https://synapsetest-southeastasia.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"readLocations\": [\r\n {\r\n \"id\": \"synapsetest-southeastasia\",\r\n \"locationName\": \"Southeast Asia\",\r\n \"documentEndpoint\": \"https://synapsetest-southeastasia.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"locations\": [\r\n {\r\n \"id\": \"synapsetest-southeastasia\",\r\n \"locationName\": \"Southeast Asia\",\r\n \"documentEndpoint\": \"https://synapsetest-southeastasia.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"failoverPolicies\": [\r\n {\r\n \"id\": \"synapsetest-southeastasia\",\r\n \"locationName\": \"Southeast Asia\",\r\n \"failoverPriority\": 0\r\n }\r\n ],\r\n \"cors\": [],\r\n \"capabilities\": [],\r\n \"ipRules\": [],\r\n \"backupPolicy\": {\r\n \"type\": \"Periodic\",\r\n \"periodicModeProperties\": {\r\n \"backupIntervalInMinutes\": 60,\r\n \"backupRetentionIntervalInHours\": 8,\r\n \"backupStorageRedundancy\": \"Geo\"\r\n }\r\n },\r\n \"networkAclBypassResourceIds\": []\r\n },\r\n \"identity\": {\r\n \"type\": \"None\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/resourceGroups/abinav_stage_rg/providers/Microsoft.DocumentDB/databaseAccounts/testrupergbnewchanges\",\r\n \"name\": \"testrupergbnewchanges\",\r\n \"location\": \"Southeast Asia\",\r\n \"type\": \"Microsoft.DocumentDB/databaseAccounts\",\r\n \"kind\": \"GlobalDocumentDB\",\r\n \"tags\": {\r\n \"defaultExperience\": \"Core (SQL)\"\r\n },\r\n \"systemData\": {\r\n \"createdAt\": \"2019-02-05T00:14:11.884366Z\"\r\n },\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"documentEndpoint\": \"https://testrupergbnewchanges.documents-staging.windows-ppe.net:443/\",\r\n \"publicNetworkAccess\": \"Enabled\",\r\n \"enableAutomaticFailover\": false,\r\n \"enableMultipleWriteLocations\": true,\r\n \"enablePartitionKeyMonitor\": false,\r\n \"isVirtualNetworkFilterEnabled\": false,\r\n \"virtualNetworkRules\": [],\r\n \"EnabledApiTypes\": \"Sql\",\r\n \"disableKeyBasedMetadataWriteAccess\": false,\r\n \"enableFreeTier\": false,\r\n \"enableAnalyticalStorage\": false,\r\n \"analyticalStorageConfiguration\": null,\r\n \"instanceId\": \"5ad586e0-7aa5-4c6f-afae-a9676b19ba58\",\r\n \"createMode\": \"Default\",\r\n \"databaseAccountOfferType\": \"Standard\",\r\n \"defaultIdentity\": \"\",\r\n \"networkAclBypass\": \"None\",\r\n \"consistencyPolicy\": {\r\n \"defaultConsistencyLevel\": \"Session\",\r\n \"maxIntervalInSeconds\": 5,\r\n \"maxStalenessPrefix\": 100\r\n },\r\n \"configurationOverrides\": {},\r\n \"writeLocations\": [\r\n {\r\n \"id\": \"testrupergbnewchanges-southeastasia\",\r\n \"locationName\": \"Southeast Asia\",\r\n \"documentEndpoint\": \"https://testrupergbnewchanges-southeastasia.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"readLocations\": [\r\n {\r\n \"id\": \"testrupergbnewchanges-southeastasia\",\r\n \"locationName\": \"Southeast Asia\",\r\n \"documentEndpoint\": \"https://testrupergbnewchanges-southeastasia.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"locations\": [\r\n {\r\n \"id\": \"testrupergbnewchanges-southeastasia\",\r\n \"locationName\": \"Southeast Asia\",\r\n \"documentEndpoint\": \"https://testrupergbnewchanges-southeastasia.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"failoverPolicies\": [\r\n {\r\n \"id\": \"testrupergbnewchanges-southeastasia\",\r\n \"locationName\": \"Southeast Asia\",\r\n \"failoverPriority\": 0\r\n }\r\n ],\r\n \"cors\": [],\r\n \"capabilities\": [],\r\n \"ipRules\": [],\r\n \"backupPolicy\": {\r\n \"type\": \"Periodic\",\r\n \"periodicModeProperties\": {\r\n \"backupIntervalInMinutes\": 240,\r\n \"backupRetentionIntervalInHours\": 8,\r\n \"backupStorageRedundancy\": \"Geo\"\r\n }\r\n },\r\n \"networkAclBypassResourceIds\": []\r\n },\r\n \"identity\": {\r\n \"type\": \"None\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/resourceGroups/jasontho/providers/Microsoft.DocumentDB/databaseAccounts/mongostagesignoff6\",\r\n \"name\": \"mongostagesignoff6\",\r\n \"location\": \"Southeast Asia\",\r\n \"type\": \"Microsoft.DocumentDB/databaseAccounts\",\r\n \"kind\": \"MongoDB\",\r\n \"tags\": {\r\n \"defaultExperience\": \"Azure Cosmos DB for MongoDB API\",\r\n \"hidden-cosmos-mmspecial\": \"\",\r\n \"CosmosAccountType\": \"Production\"\r\n },\r\n \"systemData\": {\r\n \"createdAt\": \"2020-06-26T18:02:08.3103789Z\"\r\n },\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"documentEndpoint\": \"https://mongostagesignoff6.documents-staging.windows-ppe.net:443/\",\r\n \"mongoEndpoint\": \"https://mongostagesignoff6.mongo.cosmos.windows-ppe.net:443/\",\r\n \"publicNetworkAccess\": \"Enabled\",\r\n \"enableAutomaticFailover\": false,\r\n \"enableMultipleWriteLocations\": true,\r\n \"enablePartitionKeyMonitor\": false,\r\n \"isVirtualNetworkFilterEnabled\": false,\r\n \"virtualNetworkRules\": [],\r\n \"EnabledApiTypes\": \"MongoDB\",\r\n \"disableKeyBasedMetadataWriteAccess\": false,\r\n \"enableFreeTier\": false,\r\n \"enableAnalyticalStorage\": false,\r\n \"analyticalStorageConfiguration\": null,\r\n \"instanceId\": \"f0798ce6-45be-41fe-8fcc-1f4f02e26ec4\",\r\n \"createMode\": \"Default\",\r\n \"databaseAccountOfferType\": \"Standard\",\r\n \"enableCassandraConnector\": false,\r\n \"connectorOffer\": \"\",\r\n \"defaultIdentity\": \"\",\r\n \"networkAclBypass\": \"None\",\r\n \"consistencyPolicy\": {\r\n \"defaultConsistencyLevel\": \"Session\",\r\n \"maxIntervalInSeconds\": 5,\r\n \"maxStalenessPrefix\": 100\r\n },\r\n \"apiProperties\": {\r\n \"serverVersion\": \"3.6\"\r\n },\r\n \"configurationOverrides\": {\r\n \"EnableBsonSchema\": \"True\"\r\n },\r\n \"writeLocations\": [\r\n {\r\n \"id\": \"mongostagesignoff6-southeastasia\",\r\n \"locationName\": \"Southeast Asia\",\r\n \"documentEndpoint\": \"https://mongostagesignoff6-southeastasia.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"readLocations\": [\r\n {\r\n \"id\": \"mongostagesignoff6-southeastasia\",\r\n \"locationName\": \"Southeast Asia\",\r\n \"documentEndpoint\": \"https://mongostagesignoff6-southeastasia.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"locations\": [\r\n {\r\n \"id\": \"mongostagesignoff6-southeastasia\",\r\n \"locationName\": \"Southeast Asia\",\r\n \"documentEndpoint\": \"https://mongostagesignoff6-southeastasia.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"failoverPolicies\": [\r\n {\r\n \"id\": \"mongostagesignoff6-southeastasia\",\r\n \"locationName\": \"Southeast Asia\",\r\n \"failoverPriority\": 0\r\n }\r\n ],\r\n \"cors\": [],\r\n \"capabilities\": [\r\n {\r\n \"name\": \"EnableMongo\"\r\n },\r\n {\r\n \"name\": \"DisableRateLimitingResponses\"\r\n }\r\n ],\r\n \"ipRules\": [\r\n {\r\n \"ipAddressOrRange\": \"104.42.195.92\"\r\n },\r\n {\r\n \"ipAddressOrRange\": \"40.76.54.131\"\r\n },\r\n {\r\n \"ipAddressOrRange\": \"52.176.6.30\"\r\n },\r\n {\r\n \"ipAddressOrRange\": \"52.169.50.45\"\r\n },\r\n {\r\n \"ipAddressOrRange\": \"52.187.184.26\"\r\n }\r\n ],\r\n \"backupPolicy\": {\r\n \"type\": \"Periodic\",\r\n \"periodicModeProperties\": {\r\n \"backupIntervalInMinutes\": 60,\r\n \"backupRetentionIntervalInHours\": 8,\r\n \"backupStorageRedundancy\": \"Geo\"\r\n }\r\n },\r\n \"networkAclBypassResourceIds\": []\r\n },\r\n \"identity\": {\r\n \"type\": \"None\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/resourceGroups/sanayak-test/providers/Microsoft.DocumentDB/databaseAccounts/synapsetest2\",\r\n \"name\": \"synapsetest2\",\r\n \"location\": \"Southeast Asia\",\r\n \"type\": \"Microsoft.DocumentDB/databaseAccounts\",\r\n \"kind\": \"GlobalDocumentDB\",\r\n \"tags\": {},\r\n \"systemData\": {\r\n \"createdAt\": \"2019-11-12T11:28:24.2523803Z\"\r\n },\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"documentEndpoint\": \"https://synapsetest2.documents-staging.windows-ppe.net:443/\",\r\n \"publicNetworkAccess\": \"Enabled\",\r\n \"enableAutomaticFailover\": false,\r\n \"enableMultipleWriteLocations\": false,\r\n \"enablePartitionKeyMonitor\": false,\r\n \"isVirtualNetworkFilterEnabled\": false,\r\n \"virtualNetworkRules\": [],\r\n \"EnabledApiTypes\": \"Sql\",\r\n \"disableKeyBasedMetadataWriteAccess\": false,\r\n \"enableFreeTier\": false,\r\n \"enableAnalyticalStorage\": false,\r\n \"analyticalStorageConfiguration\": null,\r\n \"instanceId\": \"1f06202e-7069-4eec-b1e9-59e133121ccf\",\r\n \"createMode\": \"Default\",\r\n \"databaseAccountOfferType\": \"Standard\",\r\n \"enableCassandraConnector\": false,\r\n \"connectorOffer\": \"\",\r\n \"defaultIdentity\": \"\",\r\n \"networkAclBypass\": \"None\",\r\n \"consistencyPolicy\": {\r\n \"defaultConsistencyLevel\": \"Session\",\r\n \"maxIntervalInSeconds\": 5,\r\n \"maxStalenessPrefix\": 100\r\n },\r\n \"configurationOverrides\": {},\r\n \"writeLocations\": [\r\n {\r\n \"id\": \"synapsetest2-southeastasia\",\r\n \"locationName\": \"Southeast Asia\",\r\n \"documentEndpoint\": \"https://synapsetest2-southeastasia.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"readLocations\": [\r\n {\r\n \"id\": \"synapsetest2-southeastasia\",\r\n \"locationName\": \"Southeast Asia\",\r\n \"documentEndpoint\": \"https://synapsetest2-southeastasia.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"locations\": [\r\n {\r\n \"id\": \"synapsetest2-southeastasia\",\r\n \"locationName\": \"Southeast Asia\",\r\n \"documentEndpoint\": \"https://synapsetest2-southeastasia.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"failoverPolicies\": [\r\n {\r\n \"id\": \"synapsetest2-southeastasia\",\r\n \"locationName\": \"Southeast Asia\",\r\n \"failoverPriority\": 0\r\n }\r\n ],\r\n \"cors\": [],\r\n \"capabilities\": [\r\n {\r\n \"name\": \"EnableStorageAnalytics\"\r\n }\r\n ],\r\n \"ipRules\": [],\r\n \"backupPolicy\": {\r\n \"type\": \"Periodic\",\r\n \"periodicModeProperties\": {\r\n \"backupIntervalInMinutes\": 60,\r\n \"backupRetentionIntervalInHours\": 8,\r\n \"backupStorageRedundancy\": \"Geo\"\r\n }\r\n },\r\n \"networkAclBypassResourceIds\": []\r\n },\r\n \"identity\": {\r\n \"type\": \"None\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/resourceGroups/abinav_stage_rg/providers/Microsoft.DocumentDB/databaseAccounts/testrupergbnewchanges3\",\r\n \"name\": \"testrupergbnewchanges3\",\r\n \"location\": \"Southeast Asia\",\r\n \"type\": \"Microsoft.DocumentDB/databaseAccounts\",\r\n \"kind\": \"GlobalDocumentDB\",\r\n \"tags\": {\r\n \"defaultExperience\": \"Core (SQL)\"\r\n },\r\n \"systemData\": {\r\n \"createdAt\": \"2019-02-05T05:44:27.7389572Z\"\r\n },\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"documentEndpoint\": \"https://testrupergbnewchanges3.documents-staging.windows-ppe.net:443/\",\r\n \"publicNetworkAccess\": \"Enabled\",\r\n \"enableAutomaticFailover\": false,\r\n \"enableMultipleWriteLocations\": true,\r\n \"enablePartitionKeyMonitor\": false,\r\n \"isVirtualNetworkFilterEnabled\": false,\r\n \"virtualNetworkRules\": [],\r\n \"EnabledApiTypes\": \"Sql\",\r\n \"disableKeyBasedMetadataWriteAccess\": false,\r\n \"enableFreeTier\": false,\r\n \"enableAnalyticalStorage\": false,\r\n \"analyticalStorageConfiguration\": null,\r\n \"instanceId\": \"8d5f7daa-9eff-499a-be92-6fc12668f40c\",\r\n \"createMode\": \"Default\",\r\n \"databaseAccountOfferType\": \"Standard\",\r\n \"defaultIdentity\": \"\",\r\n \"networkAclBypass\": \"None\",\r\n \"consistencyPolicy\": {\r\n \"defaultConsistencyLevel\": \"Session\",\r\n \"maxIntervalInSeconds\": 5,\r\n \"maxStalenessPrefix\": 100\r\n },\r\n \"configurationOverrides\": {},\r\n \"writeLocations\": [\r\n {\r\n \"id\": \"testrupergbnewchanges3-southeastasia\",\r\n \"locationName\": \"Southeast Asia\",\r\n \"documentEndpoint\": \"https://testrupergbnewchanges3-southeastasia.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"readLocations\": [\r\n {\r\n \"id\": \"testrupergbnewchanges3-southeastasia\",\r\n \"locationName\": \"Southeast Asia\",\r\n \"documentEndpoint\": \"https://testrupergbnewchanges3-southeastasia.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"locations\": [\r\n {\r\n \"id\": \"testrupergbnewchanges3-southeastasia\",\r\n \"locationName\": \"Southeast Asia\",\r\n \"documentEndpoint\": \"https://testrupergbnewchanges3-southeastasia.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"failoverPolicies\": [\r\n {\r\n \"id\": \"testrupergbnewchanges3-southeastasia\",\r\n \"locationName\": \"Southeast Asia\",\r\n \"failoverPriority\": 0\r\n }\r\n ],\r\n \"cors\": [],\r\n \"capabilities\": [],\r\n \"ipRules\": [],\r\n \"backupPolicy\": {\r\n \"type\": \"Periodic\",\r\n \"periodicModeProperties\": {\r\n \"backupIntervalInMinutes\": 240,\r\n \"backupRetentionIntervalInHours\": 8,\r\n \"backupStorageRedundancy\": \"Geo\"\r\n }\r\n },\r\n \"networkAclBypassResourceIds\": []\r\n },\r\n \"identity\": {\r\n \"type\": \"None\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/resourceGroups/jasontho/providers/Microsoft.DocumentDB/databaseAccounts/mongostagesignoff9\",\r\n \"name\": \"mongostagesignoff9\",\r\n \"location\": \"Southeast Asia\",\r\n \"type\": \"Microsoft.DocumentDB/databaseAccounts\",\r\n \"kind\": \"MongoDB\",\r\n \"tags\": {\r\n \"defaultExperience\": \"Azure Cosmos DB for MongoDB API\",\r\n \"hidden-cosmos-mmspecial\": \"\",\r\n \"CosmosAccountType\": \"Production\"\r\n },\r\n \"systemData\": {\r\n \"createdAt\": \"2020-06-26T20:34:41.6072311Z\"\r\n },\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"documentEndpoint\": \"https://mongostagesignoff9.documents-staging.windows-ppe.net:443/\",\r\n \"mongoEndpoint\": \"https://mongostagesignoff9.mongo.cosmos.windows-ppe.net:443/\",\r\n \"publicNetworkAccess\": \"Enabled\",\r\n \"enableAutomaticFailover\": false,\r\n \"enableMultipleWriteLocations\": true,\r\n \"enablePartitionKeyMonitor\": false,\r\n \"isVirtualNetworkFilterEnabled\": false,\r\n \"virtualNetworkRules\": [],\r\n \"EnabledApiTypes\": \"MongoDB\",\r\n \"disableKeyBasedMetadataWriteAccess\": false,\r\n \"enableFreeTier\": false,\r\n \"enableAnalyticalStorage\": false,\r\n \"analyticalStorageConfiguration\": null,\r\n \"instanceId\": \"6eb158ff-8c80-433e-b1e0-0a6425f2cd4a\",\r\n \"createMode\": \"Default\",\r\n \"databaseAccountOfferType\": \"Standard\",\r\n \"enableCassandraConnector\": false,\r\n \"connectorOffer\": \"\",\r\n \"defaultIdentity\": \"\",\r\n \"networkAclBypass\": \"None\",\r\n \"consistencyPolicy\": {\r\n \"defaultConsistencyLevel\": \"Session\",\r\n \"maxIntervalInSeconds\": 5,\r\n \"maxStalenessPrefix\": 100\r\n },\r\n \"apiProperties\": {\r\n \"serverVersion\": \"3.6\"\r\n },\r\n \"configurationOverrides\": {\r\n \"EnableBsonSchema\": \"True\"\r\n },\r\n \"writeLocations\": [\r\n {\r\n \"id\": \"mongostagesignoff9-southeastasia\",\r\n \"locationName\": \"Southeast Asia\",\r\n \"documentEndpoint\": \"https://mongostagesignoff9-southeastasia.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"readLocations\": [\r\n {\r\n \"id\": \"mongostagesignoff9-southeastasia\",\r\n \"locationName\": \"Southeast Asia\",\r\n \"documentEndpoint\": \"https://mongostagesignoff9-southeastasia.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"locations\": [\r\n {\r\n \"id\": \"mongostagesignoff9-southeastasia\",\r\n \"locationName\": \"Southeast Asia\",\r\n \"documentEndpoint\": \"https://mongostagesignoff9-southeastasia.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"failoverPolicies\": [\r\n {\r\n \"id\": \"mongostagesignoff9-southeastasia\",\r\n \"locationName\": \"Southeast Asia\",\r\n \"failoverPriority\": 0\r\n }\r\n ],\r\n \"cors\": [],\r\n \"capabilities\": [\r\n {\r\n \"name\": \"EnableMongo\"\r\n },\r\n {\r\n \"name\": \"DisableRateLimitingResponses\"\r\n }\r\n ],\r\n \"ipRules\": [\r\n {\r\n \"ipAddressOrRange\": \"104.42.195.92\"\r\n },\r\n {\r\n \"ipAddressOrRange\": \"40.76.54.131\"\r\n },\r\n {\r\n \"ipAddressOrRange\": \"52.176.6.30\"\r\n },\r\n {\r\n \"ipAddressOrRange\": \"52.169.50.45\"\r\n },\r\n {\r\n \"ipAddressOrRange\": \"52.187.184.26\"\r\n }\r\n ],\r\n \"backupPolicy\": {\r\n \"type\": \"Periodic\",\r\n \"periodicModeProperties\": {\r\n \"backupIntervalInMinutes\": 60,\r\n \"backupRetentionIntervalInHours\": 8,\r\n \"backupStorageRedundancy\": \"Geo\"\r\n }\r\n },\r\n \"networkAclBypassResourceIds\": []\r\n },\r\n \"identity\": {\r\n \"type\": \"None\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/resourceGroups/babatsai-rg-signoff/providers/Microsoft.DocumentDB/databaseAccounts/table-stage-signoff\",\r\n \"name\": \"table-stage-signoff\",\r\n \"location\": \"Southeast Asia\",\r\n \"type\": \"Microsoft.DocumentDB/databaseAccounts\",\r\n \"kind\": \"GlobalDocumentDB\",\r\n \"tags\": {\r\n \"defaultExperience\": \"Azure Table\"\r\n },\r\n \"systemData\": {\r\n \"createdAt\": \"2019-07-04T00:07:39.5017435Z\"\r\n },\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"documentEndpoint\": \"https://table-stage-signoff.documents-staging.windows-ppe.net:443/\",\r\n \"tableEndpoint\": \"https://table-stage-signoff.table.cosmos.windows-ppe.net:443/\",\r\n \"publicNetworkAccess\": \"Enabled\",\r\n \"enableAutomaticFailover\": false,\r\n \"enableMultipleWriteLocations\": false,\r\n \"enablePartitionKeyMonitor\": false,\r\n \"isVirtualNetworkFilterEnabled\": false,\r\n \"virtualNetworkRules\": [],\r\n \"EnabledApiTypes\": \"Table, Sql\",\r\n \"disableKeyBasedMetadataWriteAccess\": false,\r\n \"enableFreeTier\": false,\r\n \"enableAnalyticalStorage\": false,\r\n \"analyticalStorageConfiguration\": null,\r\n \"instanceId\": \"fd8515df-67f5-4748-b951-c10606f2823d\",\r\n \"createMode\": \"Default\",\r\n \"databaseAccountOfferType\": \"Standard\",\r\n \"enableCassandraConnector\": false,\r\n \"connectorOffer\": \"\",\r\n \"defaultIdentity\": \"\",\r\n \"networkAclBypass\": \"None\",\r\n \"consistencyPolicy\": {\r\n \"defaultConsistencyLevel\": \"BoundedStaleness\",\r\n \"maxIntervalInSeconds\": 86400,\r\n \"maxStalenessPrefix\": 1000000\r\n },\r\n \"configurationOverrides\": {},\r\n \"writeLocations\": [\r\n {\r\n \"id\": \"table-stage-signoff-southeastasia\",\r\n \"locationName\": \"Southeast Asia\",\r\n \"documentEndpoint\": \"https://table-stage-signoff-southeastasia.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"readLocations\": [\r\n {\r\n \"id\": \"table-stage-signoff-southeastasia\",\r\n \"locationName\": \"Southeast Asia\",\r\n \"documentEndpoint\": \"https://table-stage-signoff-southeastasia.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"locations\": [\r\n {\r\n \"id\": \"table-stage-signoff-southeastasia\",\r\n \"locationName\": \"Southeast Asia\",\r\n \"documentEndpoint\": \"https://table-stage-signoff-southeastasia.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"failoverPolicies\": [\r\n {\r\n \"id\": \"table-stage-signoff-southeastasia\",\r\n \"locationName\": \"Southeast Asia\",\r\n \"failoverPriority\": 0\r\n }\r\n ],\r\n \"cors\": [],\r\n \"capabilities\": [\r\n {\r\n \"name\": \"EnableTable\"\r\n }\r\n ],\r\n \"ipRules\": [],\r\n \"backupPolicy\": {\r\n \"type\": \"Periodic\",\r\n \"periodicModeProperties\": {\r\n \"backupIntervalInMinutes\": 240,\r\n \"backupRetentionIntervalInHours\": 8,\r\n \"backupStorageRedundancy\": \"Geo\"\r\n }\r\n },\r\n \"networkAclBypassResourceIds\": []\r\n },\r\n \"identity\": {\r\n \"type\": \"None\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/resourceGroups/CANARY/providers/Microsoft.DocumentDB/databaseAccounts/canary-staging1\",\r\n \"name\": \"canary-staging1\",\r\n \"location\": \"Southeast Asia\",\r\n \"type\": \"Microsoft.DocumentDB/databaseAccounts\",\r\n \"kind\": \"DocumentDB\",\r\n \"tags\": {},\r\n \"systemData\": {\r\n \"createdAt\": \"2020-10-16T21:38:27.5972509Z\"\r\n },\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"documentEndpoint\": \"https://canary-staging1.documents-staging.windows-ppe.net:443/\",\r\n \"publicNetworkAccess\": \"Enabled\",\r\n \"enableAutomaticFailover\": false,\r\n \"enableMultipleWriteLocations\": false,\r\n \"enablePartitionKeyMonitor\": false,\r\n \"isVirtualNetworkFilterEnabled\": false,\r\n \"virtualNetworkRules\": [],\r\n \"EnabledApiTypes\": \"Sql\",\r\n \"disableKeyBasedMetadataWriteAccess\": false,\r\n \"enableFreeTier\": false,\r\n \"enableAnalyticalStorage\": false,\r\n \"analyticalStorageConfiguration\": null,\r\n \"instanceId\": \"155de475-9b6d-4553-91e0-47203504dc22\",\r\n \"createMode\": \"Default\",\r\n \"databaseAccountOfferType\": \"Standard\",\r\n \"defaultIdentity\": \"\",\r\n \"networkAclBypass\": \"None\",\r\n \"consistencyPolicy\": {\r\n \"defaultConsistencyLevel\": \"Session\",\r\n \"maxIntervalInSeconds\": 5,\r\n \"maxStalenessPrefix\": 100\r\n },\r\n \"configurationOverrides\": {},\r\n \"writeLocations\": [\r\n {\r\n \"id\": \"canary-staging1-southeastasia\",\r\n \"locationName\": \"Southeast Asia\",\r\n \"documentEndpoint\": \"https://canary-staging1-southeastasia.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"readLocations\": [\r\n {\r\n \"id\": \"canary-staging1-southeastasia\",\r\n \"locationName\": \"Southeast Asia\",\r\n \"documentEndpoint\": \"https://canary-staging1-southeastasia.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"locations\": [\r\n {\r\n \"id\": \"canary-staging1-southeastasia\",\r\n \"locationName\": \"Southeast Asia\",\r\n \"documentEndpoint\": \"https://canary-staging1-southeastasia.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"failoverPolicies\": [\r\n {\r\n \"id\": \"canary-staging1-southeastasia\",\r\n \"locationName\": \"Southeast Asia\",\r\n \"failoverPriority\": 0\r\n }\r\n ],\r\n \"cors\": [],\r\n \"capabilities\": [],\r\n \"ipRules\": [],\r\n \"backupPolicy\": {\r\n \"type\": \"Periodic\",\r\n \"periodicModeProperties\": {\r\n \"backupIntervalInMinutes\": 240,\r\n \"backupRetentionIntervalInHours\": 8,\r\n \"backupStorageRedundancy\": \"Geo\"\r\n }\r\n },\r\n \"networkAclBypassResourceIds\": []\r\n },\r\n \"identity\": {\r\n \"type\": \"None\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/resourceGroups/ashwsing-rg/providers/Microsoft.DocumentDB/databaseAccounts/mongo-acis-test4\",\r\n \"name\": \"mongo-acis-test4\",\r\n \"location\": \"Southeast Asia\",\r\n \"type\": \"Microsoft.DocumentDB/databaseAccounts\",\r\n \"kind\": \"MongoDB\",\r\n \"tags\": {\r\n \"defaultExperience\": \"Azure Cosmos DB for MongoDB API\",\r\n \"hidden-cosmos-mmspecial\": \"\",\r\n \"CosmosAccountType\": \"Non-Production\"\r\n },\r\n \"systemData\": {\r\n \"createdAt\": \"2021-02-22T03:18:28.6833509Z\"\r\n },\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"documentEndpoint\": \"https://mongo-acis-test4.documents-staging.windows-ppe.net:443/\",\r\n \"mongoEndpoint\": \"https://mongo-acis-test4.mongo.cosmos.windows-ppe.net:443/\",\r\n \"publicNetworkAccess\": \"Enabled\",\r\n \"enableAutomaticFailover\": false,\r\n \"enableMultipleWriteLocations\": false,\r\n \"enablePartitionKeyMonitor\": false,\r\n \"isVirtualNetworkFilterEnabled\": false,\r\n \"virtualNetworkRules\": [],\r\n \"EnabledApiTypes\": \"MongoDB\",\r\n \"disableKeyBasedMetadataWriteAccess\": false,\r\n \"enableFreeTier\": false,\r\n \"enableAnalyticalStorage\": false,\r\n \"analyticalStorageConfiguration\": null,\r\n \"instanceId\": \"7a2285d2-e2d5-45a0-8daa-de1e71153c1f\",\r\n \"createMode\": \"Default\",\r\n \"databaseAccountOfferType\": \"Standard\",\r\n \"enableCassandraConnector\": false,\r\n \"connectorOffer\": \"\",\r\n \"defaultIdentity\": \"\",\r\n \"networkAclBypass\": \"None\",\r\n \"consistencyPolicy\": {\r\n \"defaultConsistencyLevel\": \"Session\",\r\n \"maxIntervalInSeconds\": 5,\r\n \"maxStalenessPrefix\": 100\r\n },\r\n \"apiProperties\": {\r\n \"serverVersion\": \"4.0\"\r\n },\r\n \"configurationOverrides\": {\r\n \"EnableBsonSchema\": \"True\"\r\n },\r\n \"writeLocations\": [\r\n {\r\n \"id\": \"mongo-acis-test4-southeastasia\",\r\n \"locationName\": \"Southeast Asia\",\r\n \"documentEndpoint\": \"https://mongo-acis-test4-southeastasia.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"readLocations\": [\r\n {\r\n \"id\": \"mongo-acis-test4-southeastasia\",\r\n \"locationName\": \"Southeast Asia\",\r\n \"documentEndpoint\": \"https://mongo-acis-test4-southeastasia.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"locations\": [\r\n {\r\n \"id\": \"mongo-acis-test4-southeastasia\",\r\n \"locationName\": \"Southeast Asia\",\r\n \"documentEndpoint\": \"https://mongo-acis-test4-southeastasia.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"failoverPolicies\": [\r\n {\r\n \"id\": \"mongo-acis-test4-southeastasia\",\r\n \"locationName\": \"Southeast Asia\",\r\n \"failoverPriority\": 0\r\n }\r\n ],\r\n \"cors\": [],\r\n \"capabilities\": [\r\n {\r\n \"name\": \"EnableMongo\"\r\n },\r\n {\r\n \"name\": \"DisableRateLimitingResponses\"\r\n }\r\n ],\r\n \"ipRules\": [],\r\n \"backupPolicy\": {\r\n \"type\": \"Periodic\",\r\n \"periodicModeProperties\": {\r\n \"backupIntervalInMinutes\": 240,\r\n \"backupRetentionIntervalInHours\": 8,\r\n \"backupStorageRedundancy\": \"Geo\"\r\n }\r\n },\r\n \"networkAclBypassResourceIds\": []\r\n },\r\n \"identity\": {\r\n \"type\": \"None\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/resourceGroups/ashwini-rg/providers/Microsoft.DocumentDB/databaseAccounts/mongo-acis-test5\",\r\n \"name\": \"mongo-acis-test5\",\r\n \"location\": \"Southeast Asia\",\r\n \"type\": \"Microsoft.DocumentDB/databaseAccounts\",\r\n \"kind\": \"MongoDB\",\r\n \"tags\": {\r\n \"defaultExperience\": \"Azure Cosmos DB for MongoDB API\",\r\n \"hidden-cosmos-mmspecial\": \"\",\r\n \"CosmosAccountType\": \"Non-Production\"\r\n },\r\n \"systemData\": {\r\n \"createdAt\": \"2021-02-22T04:01:38.5811379Z\"\r\n },\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"documentEndpoint\": \"https://mongo-acis-test5.documents-staging.windows-ppe.net:443/\",\r\n \"mongoEndpoint\": \"https://mongo-acis-test5.mongo.cosmos.windows-ppe.net:443/\",\r\n \"publicNetworkAccess\": \"Enabled\",\r\n \"enableAutomaticFailover\": false,\r\n \"enableMultipleWriteLocations\": false,\r\n \"enablePartitionKeyMonitor\": false,\r\n \"isVirtualNetworkFilterEnabled\": false,\r\n \"virtualNetworkRules\": [],\r\n \"EnabledApiTypes\": \"MongoDB\",\r\n \"disableKeyBasedMetadataWriteAccess\": false,\r\n \"enableFreeTier\": false,\r\n \"enableAnalyticalStorage\": false,\r\n \"analyticalStorageConfiguration\": null,\r\n \"instanceId\": \"c23aa4da-a098-4aa0-9136-f2cb30175840\",\r\n \"createMode\": \"Default\",\r\n \"databaseAccountOfferType\": \"Standard\",\r\n \"enableCassandraConnector\": false,\r\n \"connectorOffer\": \"\",\r\n \"defaultIdentity\": \"\",\r\n \"networkAclBypass\": \"None\",\r\n \"consistencyPolicy\": {\r\n \"defaultConsistencyLevel\": \"Session\",\r\n \"maxIntervalInSeconds\": 5,\r\n \"maxStalenessPrefix\": 100\r\n },\r\n \"apiProperties\": {\r\n \"serverVersion\": \"3.6\"\r\n },\r\n \"configurationOverrides\": {\r\n \"EnableBsonSchema\": \"True\"\r\n },\r\n \"writeLocations\": [\r\n {\r\n \"id\": \"mongo-acis-test5-southeastasia\",\r\n \"locationName\": \"Southeast Asia\",\r\n \"documentEndpoint\": \"https://mongo-acis-test5-southeastasia.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"readLocations\": [\r\n {\r\n \"id\": \"mongo-acis-test5-southeastasia\",\r\n \"locationName\": \"Southeast Asia\",\r\n \"documentEndpoint\": \"https://mongo-acis-test5-southeastasia.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"locations\": [\r\n {\r\n \"id\": \"mongo-acis-test5-southeastasia\",\r\n \"locationName\": \"Southeast Asia\",\r\n \"documentEndpoint\": \"https://mongo-acis-test5-southeastasia.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"failoverPolicies\": [\r\n {\r\n \"id\": \"mongo-acis-test5-southeastasia\",\r\n \"locationName\": \"Southeast Asia\",\r\n \"failoverPriority\": 0\r\n }\r\n ],\r\n \"cors\": [],\r\n \"capabilities\": [\r\n {\r\n \"name\": \"EnableMongo\"\r\n },\r\n {\r\n \"name\": \"DisableRateLimitingResponses\"\r\n }\r\n ],\r\n \"ipRules\": [],\r\n \"backupPolicy\": {\r\n \"type\": \"Periodic\",\r\n \"periodicModeProperties\": {\r\n \"backupIntervalInMinutes\": 240,\r\n \"backupRetentionIntervalInHours\": 8,\r\n \"backupStorageRedundancy\": \"Geo\"\r\n }\r\n },\r\n \"networkAclBypassResourceIds\": []\r\n },\r\n \"identity\": {\r\n \"type\": \"None\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/resourceGroups/ashwsing-rg/providers/Microsoft.DocumentDB/databaseAccounts/mongo-acis-test6\",\r\n \"name\": \"mongo-acis-test6\",\r\n \"location\": \"Southeast Asia\",\r\n \"type\": \"Microsoft.DocumentDB/databaseAccounts\",\r\n \"kind\": \"MongoDB\",\r\n \"tags\": {\r\n \"defaultExperience\": \"Azure Cosmos DB for MongoDB API\",\r\n \"hidden-cosmos-mmspecial\": \"\",\r\n \"CosmosAccountType\": \"Non-Production\"\r\n },\r\n \"systemData\": {\r\n \"createdAt\": \"2021-02-22T04:25:11.5767367Z\"\r\n },\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"documentEndpoint\": \"https://mongo-acis-test6.documents-staging.windows-ppe.net:443/\",\r\n \"publicNetworkAccess\": \"Enabled\",\r\n \"enableAutomaticFailover\": false,\r\n \"enableMultipleWriteLocations\": false,\r\n \"enablePartitionKeyMonitor\": false,\r\n \"isVirtualNetworkFilterEnabled\": false,\r\n \"virtualNetworkRules\": [],\r\n \"EnabledApiTypes\": \"MongoDB\",\r\n \"disableKeyBasedMetadataWriteAccess\": false,\r\n \"enableFreeTier\": false,\r\n \"enableAnalyticalStorage\": false,\r\n \"analyticalStorageConfiguration\": null,\r\n \"instanceId\": \"40c9c14c-81f4-4d92-b7aa-f8e1e90291eb\",\r\n \"createMode\": \"Default\",\r\n \"databaseAccountOfferType\": \"Standard\",\r\n \"enableCassandraConnector\": false,\r\n \"connectorOffer\": \"\",\r\n \"defaultIdentity\": \"\",\r\n \"networkAclBypass\": \"None\",\r\n \"consistencyPolicy\": {\r\n \"defaultConsistencyLevel\": \"Session\",\r\n \"maxIntervalInSeconds\": 5,\r\n \"maxStalenessPrefix\": 100\r\n },\r\n \"apiProperties\": {\r\n \"serverVersion\": \"3.2\"\r\n },\r\n \"configurationOverrides\": {\r\n \"EnableBsonSchema\": \"True\"\r\n },\r\n \"writeLocations\": [\r\n {\r\n \"id\": \"mongo-acis-test6-southeastasia\",\r\n \"locationName\": \"Southeast Asia\",\r\n \"documentEndpoint\": \"https://mongo-acis-test6-southeastasia.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"readLocations\": [\r\n {\r\n \"id\": \"mongo-acis-test6-southeastasia\",\r\n \"locationName\": \"Southeast Asia\",\r\n \"documentEndpoint\": \"https://mongo-acis-test6-southeastasia.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"locations\": [\r\n {\r\n \"id\": \"mongo-acis-test6-southeastasia\",\r\n \"locationName\": \"Southeast Asia\",\r\n \"documentEndpoint\": \"https://mongo-acis-test6-southeastasia.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"failoverPolicies\": [\r\n {\r\n \"id\": \"mongo-acis-test6-southeastasia\",\r\n \"locationName\": \"Southeast Asia\",\r\n \"failoverPriority\": 0\r\n }\r\n ],\r\n \"cors\": [],\r\n \"capabilities\": [],\r\n \"ipRules\": [],\r\n \"backupPolicy\": {\r\n \"type\": \"Periodic\",\r\n \"periodicModeProperties\": {\r\n \"backupIntervalInMinutes\": 240,\r\n \"backupRetentionIntervalInHours\": 8,\r\n \"backupStorageRedundancy\": \"Geo\"\r\n }\r\n },\r\n \"networkAclBypassResourceIds\": []\r\n },\r\n \"identity\": {\r\n \"type\": \"None\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/resourceGroups/akgoe-test-rg/providers/Microsoft.DocumentDB/databaseAccounts/akgoe-aad-outage-test\",\r\n \"name\": \"akgoe-aad-outage-test\",\r\n \"location\": \"Southeast Asia\",\r\n \"type\": \"Microsoft.DocumentDB/databaseAccounts\",\r\n \"kind\": \"MongoDB\",\r\n \"tags\": {},\r\n \"systemData\": {\r\n \"createdAt\": \"2021-03-16T01:06:39.8208278Z\"\r\n },\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"documentEndpoint\": \"https://akgoe-aad-outage-test.documents-staging.windows-ppe.net:443/\",\r\n \"mongoEndpoint\": \"https://akgoe-aad-outage-test.mongo.cosmos.windows-ppe.net:443/\",\r\n \"publicNetworkAccess\": \"Enabled\",\r\n \"enableAutomaticFailover\": false,\r\n \"enableMultipleWriteLocations\": false,\r\n \"enablePartitionKeyMonitor\": false,\r\n \"isVirtualNetworkFilterEnabled\": false,\r\n \"virtualNetworkRules\": [],\r\n \"EnabledApiTypes\": \"MongoDB\",\r\n \"disableKeyBasedMetadataWriteAccess\": false,\r\n \"enableFreeTier\": false,\r\n \"enableAnalyticalStorage\": false,\r\n \"analyticalStorageConfiguration\": null,\r\n \"instanceId\": \"18cdabc9-e133-4976-8966-e6e650845b1b\",\r\n \"createMode\": \"Default\",\r\n \"databaseAccountOfferType\": \"Standard\",\r\n \"enableCassandraConnector\": false,\r\n \"connectorOffer\": \"\",\r\n \"enableMaterializedViews\": false,\r\n \"enableFullFidelityChangeFeed\": false,\r\n \"defaultIdentity\": \"FirstPartyIdentity\",\r\n \"networkAclBypass\": \"None\",\r\n \"consistencyPolicy\": {\r\n \"defaultConsistencyLevel\": \"Session\",\r\n \"maxIntervalInSeconds\": 5,\r\n \"maxStalenessPrefix\": 100\r\n },\r\n \"apiProperties\": {\r\n \"serverVersion\": \"3.6\"\r\n },\r\n \"configurationOverrides\": {\r\n \"EnableBsonSchema\": \"True\"\r\n },\r\n \"writeLocations\": [\r\n {\r\n \"id\": \"akgoe-aad-outage-test-southeastasia\",\r\n \"locationName\": \"Southeast Asia\",\r\n \"documentEndpoint\": \"https://akgoe-aad-outage-test-southeastasia.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"readLocations\": [\r\n {\r\n \"id\": \"akgoe-aad-outage-test-southeastasia\",\r\n \"locationName\": \"Southeast Asia\",\r\n \"documentEndpoint\": \"https://akgoe-aad-outage-test-southeastasia.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n },\r\n {\r\n \"id\": \"akgoe-aad-outage-test-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://akgoe-aad-outage-test-eastus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 1,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"locations\": [\r\n {\r\n \"id\": \"akgoe-aad-outage-test-southeastasia\",\r\n \"locationName\": \"Southeast Asia\",\r\n \"documentEndpoint\": \"https://akgoe-aad-outage-test-southeastasia.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n },\r\n {\r\n \"id\": \"akgoe-aad-outage-test-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://akgoe-aad-outage-test-eastus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 1,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"failoverPolicies\": [\r\n {\r\n \"id\": \"akgoe-aad-outage-test-southeastasia\",\r\n \"locationName\": \"Southeast Asia\",\r\n \"failoverPriority\": 0\r\n },\r\n {\r\n \"id\": \"akgoe-aad-outage-test-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"failoverPriority\": 1\r\n }\r\n ],\r\n \"cors\": [],\r\n \"capabilities\": [\r\n {\r\n \"name\": \"EnableMongo\"\r\n }\r\n ],\r\n \"ipRules\": [],\r\n \"backupPolicy\": {\r\n \"type\": \"Periodic\",\r\n \"periodicModeProperties\": {\r\n \"backupIntervalInMinutes\": 240,\r\n \"backupRetentionIntervalInHours\": 8,\r\n \"backupStorageRedundancy\": \"Geo\"\r\n }\r\n },\r\n \"networkAclBypassResourceIds\": []\r\n },\r\n \"identity\": {\r\n \"type\": \"None\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/resourceGroups/akgoe-stage-test-rg/providers/Microsoft.DocumentDB/databaseAccounts/serverless-7nsb66ggfyxg4\",\r\n \"name\": \"serverless-7nsb66ggfyxg4\",\r\n \"location\": \"Southeast Asia\",\r\n \"type\": \"Microsoft.DocumentDB/databaseAccounts\",\r\n \"kind\": \"GlobalDocumentDB\",\r\n \"tags\": {},\r\n \"systemData\": {\r\n \"createdAt\": \"2021-03-17T08:14:58.9901007Z\"\r\n },\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"documentEndpoint\": \"https://serverless-7nsb66ggfyxg4.documents-staging.windows-ppe.net:443/\",\r\n \"publicNetworkAccess\": \"Enabled\",\r\n \"enableAutomaticFailover\": false,\r\n \"enableMultipleWriteLocations\": false,\r\n \"enablePartitionKeyMonitor\": false,\r\n \"isVirtualNetworkFilterEnabled\": false,\r\n \"virtualNetworkRules\": [],\r\n \"EnabledApiTypes\": \"Sql\",\r\n \"disableKeyBasedMetadataWriteAccess\": false,\r\n \"enableFreeTier\": false,\r\n \"enableAnalyticalStorage\": false,\r\n \"analyticalStorageConfiguration\": null,\r\n \"instanceId\": \"d387fcc7-e8fe-45d0-8370-ef86c3d1a052\",\r\n \"createMode\": \"Default\",\r\n \"databaseAccountOfferType\": \"Standard\",\r\n \"enableCassandraConnector\": false,\r\n \"connectorOffer\": \"\",\r\n \"enableMaterializedViews\": false,\r\n \"enableFullFidelityChangeFeed\": false,\r\n \"defaultIdentity\": \"FirstPartyIdentity\",\r\n \"networkAclBypass\": \"None\",\r\n \"consistencyPolicy\": {\r\n \"defaultConsistencyLevel\": \"Strong\",\r\n \"maxIntervalInSeconds\": 5,\r\n \"maxStalenessPrefix\": 100\r\n },\r\n \"configurationOverrides\": {},\r\n \"writeLocations\": [\r\n {\r\n \"id\": \"serverless-7nsb66ggfyxg4-southeastasia\",\r\n \"locationName\": \"Southeast Asia\",\r\n \"documentEndpoint\": \"https://serverless-7nsb66ggfyxg4-southeastasia.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"readLocations\": [\r\n {\r\n \"id\": \"serverless-7nsb66ggfyxg4-southeastasia\",\r\n \"locationName\": \"Southeast Asia\",\r\n \"documentEndpoint\": \"https://serverless-7nsb66ggfyxg4-southeastasia.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"locations\": [\r\n {\r\n \"id\": \"serverless-7nsb66ggfyxg4-southeastasia\",\r\n \"locationName\": \"Southeast Asia\",\r\n \"documentEndpoint\": \"https://serverless-7nsb66ggfyxg4-southeastasia.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"failoverPolicies\": [\r\n {\r\n \"id\": \"serverless-7nsb66ggfyxg4-southeastasia\",\r\n \"locationName\": \"Southeast Asia\",\r\n \"failoverPriority\": 0\r\n }\r\n ],\r\n \"cors\": [],\r\n \"capabilities\": [\r\n {\r\n \"name\": \"EnableServerless\"\r\n }\r\n ],\r\n \"ipRules\": [],\r\n \"backupPolicy\": {\r\n \"type\": \"Periodic\",\r\n \"periodicModeProperties\": {\r\n \"backupIntervalInMinutes\": 240,\r\n \"backupRetentionIntervalInHours\": 8,\r\n \"backupStorageRedundancy\": \"Geo\"\r\n }\r\n },\r\n \"networkAclBypassResourceIds\": []\r\n },\r\n \"identity\": {\r\n \"type\": \"None\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/resourceGroups/viho-rg-stage/providers/Microsoft.DocumentDB/databaseAccounts/vihosqllegacygateway\",\r\n \"name\": \"vihosqllegacygateway\",\r\n \"location\": \"Southeast Asia\",\r\n \"type\": \"Microsoft.DocumentDB/databaseAccounts\",\r\n \"kind\": \"GlobalDocumentDB\",\r\n \"tags\": {\r\n \"defaultExperience\": \"Core (SQL)\",\r\n \"hidden-cosmos-mmspecial\": \"\",\r\n \"CosmosAccountType\": \"Non-Production\"\r\n },\r\n \"systemData\": {\r\n \"createdAt\": \"2021-03-17T18:53:49.6216166Z\"\r\n },\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"documentEndpoint\": \"https://vihosqllegacygateway.documents-staging.windows-ppe.net:443/\",\r\n \"sqlEndpoint\": \"https://vihosqllegacygateway.documents-staging.windows-ppe.net:443/\",\r\n \"publicNetworkAccess\": \"Enabled\",\r\n \"enableAutomaticFailover\": true,\r\n \"enableMultipleWriteLocations\": false,\r\n \"enablePartitionKeyMonitor\": false,\r\n \"isVirtualNetworkFilterEnabled\": false,\r\n \"virtualNetworkRules\": [],\r\n \"EnabledApiTypes\": \"Sql\",\r\n \"disableKeyBasedMetadataWriteAccess\": false,\r\n \"enableFreeTier\": false,\r\n \"enableAnalyticalStorage\": false,\r\n \"analyticalStorageConfiguration\": null,\r\n \"instanceId\": \"cae53a5f-529c-4080-b877-4f722465ba37\",\r\n \"createMode\": \"Default\",\r\n \"databaseAccountOfferType\": \"Standard\",\r\n \"enableCassandraConnector\": false,\r\n \"connectorOffer\": \"\",\r\n \"enableMaterializedViews\": false,\r\n \"enableFullFidelityChangeFeed\": false,\r\n \"defaultIdentity\": \"FirstPartyIdentity\",\r\n \"networkAclBypass\": \"None\",\r\n \"consistencyPolicy\": {\r\n \"defaultConsistencyLevel\": \"Session\",\r\n \"maxIntervalInSeconds\": 5,\r\n \"maxStalenessPrefix\": 100\r\n },\r\n \"configurationOverrides\": {},\r\n \"writeLocations\": [\r\n {\r\n \"id\": \"vihosqllegacygateway-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://vihosqllegacygateway-eastus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"readLocations\": [\r\n {\r\n \"id\": \"vihosqllegacygateway-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://vihosqllegacygateway-eastus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n },\r\n {\r\n \"id\": \"vihosqllegacygateway-southeastasia\",\r\n \"locationName\": \"Southeast Asia\",\r\n \"documentEndpoint\": \"https://vihosqllegacygateway-southeastasia.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 1,\r\n \"isZoneRedundant\": false\r\n },\r\n {\r\n \"id\": \"vihosqllegacygateway-westus2\",\r\n \"locationName\": \"West US 2\",\r\n \"documentEndpoint\": \"https://vihosqllegacygateway-westus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 2,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"locations\": [\r\n {\r\n \"id\": \"vihosqllegacygateway-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://vihosqllegacygateway-eastus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n },\r\n {\r\n \"id\": \"vihosqllegacygateway-southeastasia\",\r\n \"locationName\": \"Southeast Asia\",\r\n \"documentEndpoint\": \"https://vihosqllegacygateway-southeastasia.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 1,\r\n \"isZoneRedundant\": false\r\n },\r\n {\r\n \"id\": \"vihosqllegacygateway-westus2\",\r\n \"locationName\": \"West US 2\",\r\n \"documentEndpoint\": \"https://vihosqllegacygateway-westus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 2,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"failoverPolicies\": [\r\n {\r\n \"id\": \"vihosqllegacygateway-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"failoverPriority\": 0\r\n },\r\n {\r\n \"id\": \"vihosqllegacygateway-southeastasia\",\r\n \"locationName\": \"Southeast Asia\",\r\n \"failoverPriority\": 1\r\n },\r\n {\r\n \"id\": \"vihosqllegacygateway-westus2\",\r\n \"locationName\": \"West US 2\",\r\n \"failoverPriority\": 2\r\n }\r\n ],\r\n \"cors\": [],\r\n \"capabilities\": [\r\n {\r\n \"name\": \"EnableSql\"\r\n }\r\n ],\r\n \"ipRules\": [],\r\n \"backupPolicy\": {\r\n \"type\": \"Periodic\",\r\n \"periodicModeProperties\": {\r\n \"backupIntervalInMinutes\": 240,\r\n \"backupRetentionIntervalInHours\": 8,\r\n \"backupStorageRedundancy\": \"Geo\"\r\n }\r\n },\r\n \"networkAclBypassResourceIds\": []\r\n },\r\n \"identity\": {\r\n \"type\": \"None\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/resourceGroups/viho-rg-stage/providers/Microsoft.DocumentDB/databaseAccounts/vihosqllegacygateway2\",\r\n \"name\": \"vihosqllegacygateway2\",\r\n \"location\": \"Southeast Asia\",\r\n \"type\": \"Microsoft.DocumentDB/databaseAccounts\",\r\n \"kind\": \"GlobalDocumentDB\",\r\n \"tags\": {\r\n \"defaultExperience\": \"Core (SQL)\",\r\n \"hidden-cosmos-mmspecial\": \"\",\r\n \"CosmosAccountType\": \"Non-Production\"\r\n },\r\n \"systemData\": {\r\n \"createdAt\": \"2021-03-18T01:20:13.6590586Z\"\r\n },\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"documentEndpoint\": \"https://vihosqllegacygateway2.documents-staging.windows-ppe.net:443/\",\r\n \"sqlEndpoint\": \"https://vihosqllegacygateway2.documents-staging.windows-ppe.net:443/\",\r\n \"publicNetworkAccess\": \"Enabled\",\r\n \"enableAutomaticFailover\": false,\r\n \"enableMultipleWriteLocations\": true,\r\n \"enablePartitionKeyMonitor\": false,\r\n \"isVirtualNetworkFilterEnabled\": false,\r\n \"virtualNetworkRules\": [],\r\n \"EnabledApiTypes\": \"Sql\",\r\n \"disableKeyBasedMetadataWriteAccess\": false,\r\n \"enableFreeTier\": false,\r\n \"enableAnalyticalStorage\": false,\r\n \"analyticalStorageConfiguration\": null,\r\n \"instanceId\": \"e7f0483b-dc86-4a7b-82bd-a29a15797e5c\",\r\n \"createMode\": \"Default\",\r\n \"databaseAccountOfferType\": \"Standard\",\r\n \"enableCassandraConnector\": false,\r\n \"connectorOffer\": \"\",\r\n \"enableMaterializedViews\": false,\r\n \"enableFullFidelityChangeFeed\": false,\r\n \"defaultIdentity\": \"FirstPartyIdentity\",\r\n \"networkAclBypass\": \"None\",\r\n \"consistencyPolicy\": {\r\n \"defaultConsistencyLevel\": \"Session\",\r\n \"maxIntervalInSeconds\": 5,\r\n \"maxStalenessPrefix\": 100\r\n },\r\n \"configurationOverrides\": {},\r\n \"writeLocations\": [\r\n {\r\n \"id\": \"vihosqllegacygateway2-southeastasia\",\r\n \"locationName\": \"Southeast Asia\",\r\n \"documentEndpoint\": \"https://vihosqllegacygateway2-southeastasia.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n },\r\n {\r\n \"id\": \"vihosqllegacygateway2-westus2\",\r\n \"locationName\": \"West US 2\",\r\n \"documentEndpoint\": \"https://vihosqllegacygateway2-westus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 1,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"readLocations\": [\r\n {\r\n \"id\": \"vihosqllegacygateway2-southeastasia\",\r\n \"locationName\": \"Southeast Asia\",\r\n \"documentEndpoint\": \"https://vihosqllegacygateway2-southeastasia.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n },\r\n {\r\n \"id\": \"vihosqllegacygateway2-westus2\",\r\n \"locationName\": \"West US 2\",\r\n \"documentEndpoint\": \"https://vihosqllegacygateway2-westus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 1,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"locations\": [\r\n {\r\n \"id\": \"vihosqllegacygateway2-southeastasia\",\r\n \"locationName\": \"Southeast Asia\",\r\n \"documentEndpoint\": \"https://vihosqllegacygateway2-southeastasia.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n },\r\n {\r\n \"id\": \"vihosqllegacygateway2-westus2\",\r\n \"locationName\": \"West US 2\",\r\n \"documentEndpoint\": \"https://vihosqllegacygateway2-westus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 1,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"failoverPolicies\": [\r\n {\r\n \"id\": \"vihosqllegacygateway2-southeastasia\",\r\n \"locationName\": \"Southeast Asia\",\r\n \"failoverPriority\": 0\r\n },\r\n {\r\n \"id\": \"vihosqllegacygateway2-westus2\",\r\n \"locationName\": \"West US 2\",\r\n \"failoverPriority\": 1\r\n }\r\n ],\r\n \"cors\": [],\r\n \"capabilities\": [\r\n {\r\n \"name\": \"EnableSql\"\r\n }\r\n ],\r\n \"ipRules\": [],\r\n \"backupPolicy\": {\r\n \"type\": \"Periodic\",\r\n \"periodicModeProperties\": {\r\n \"backupIntervalInMinutes\": 240,\r\n \"backupRetentionIntervalInHours\": 8,\r\n \"backupStorageRedundancy\": \"Geo\"\r\n }\r\n },\r\n \"networkAclBypassResourceIds\": []\r\n },\r\n \"identity\": {\r\n \"type\": \"None\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/resourceGroups/hidhawal-pkstats/providers/Microsoft.DocumentDB/databaseAccounts/pkstats-elasticity\",\r\n \"name\": \"pkstats-elasticity\",\r\n \"location\": \"Southeast Asia\",\r\n \"type\": \"Microsoft.DocumentDB/databaseAccounts\",\r\n \"kind\": \"GlobalDocumentDB\",\r\n \"tags\": {\r\n \"defaultExperience\": \"Core (SQL)\",\r\n \"hidden-cosmos-mmspecial\": \"\",\r\n \"CosmosAccountType\": \"Non-Production\"\r\n },\r\n \"systemData\": {\r\n \"createdAt\": \"2021-04-01T23:45:28.2413987Z\"\r\n },\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"documentEndpoint\": \"https://pkstats-elasticity.documents-staging.windows-ppe.net:443/\",\r\n \"publicNetworkAccess\": \"Enabled\",\r\n \"enableAutomaticFailover\": false,\r\n \"enableMultipleWriteLocations\": false,\r\n \"enablePartitionKeyMonitor\": false,\r\n \"isVirtualNetworkFilterEnabled\": false,\r\n \"virtualNetworkRules\": [],\r\n \"EnabledApiTypes\": \"Sql\",\r\n \"disableKeyBasedMetadataWriteAccess\": false,\r\n \"enableFreeTier\": false,\r\n \"enableAnalyticalStorage\": false,\r\n \"analyticalStorageConfiguration\": null,\r\n \"instanceId\": \"9e7ca50d-fa69-4bb9-ab53-baae1085a6e8\",\r\n \"createMode\": \"Default\",\r\n \"databaseAccountOfferType\": \"Standard\",\r\n \"enableCassandraConnector\": false,\r\n \"connectorOffer\": \"\",\r\n \"enableMaterializedViews\": false,\r\n \"enableFullFidelityChangeFeed\": false,\r\n \"defaultIdentity\": \"FirstPartyIdentity\",\r\n \"networkAclBypass\": \"None\",\r\n \"consistencyPolicy\": {\r\n \"defaultConsistencyLevel\": \"Session\",\r\n \"maxIntervalInSeconds\": 5,\r\n \"maxStalenessPrefix\": 100\r\n },\r\n \"configurationOverrides\": {},\r\n \"writeLocations\": [\r\n {\r\n \"id\": \"pkstats-elasticity-southeastasia\",\r\n \"locationName\": \"Southeast Asia\",\r\n \"documentEndpoint\": \"https://pkstats-elasticity-southeastasia.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"readLocations\": [\r\n {\r\n \"id\": \"pkstats-elasticity-southeastasia\",\r\n \"locationName\": \"Southeast Asia\",\r\n \"documentEndpoint\": \"https://pkstats-elasticity-southeastasia.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"locations\": [\r\n {\r\n \"id\": \"pkstats-elasticity-southeastasia\",\r\n \"locationName\": \"Southeast Asia\",\r\n \"documentEndpoint\": \"https://pkstats-elasticity-southeastasia.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"failoverPolicies\": [\r\n {\r\n \"id\": \"pkstats-elasticity-southeastasia\",\r\n \"locationName\": \"Southeast Asia\",\r\n \"failoverPriority\": 0\r\n }\r\n ],\r\n \"cors\": [],\r\n \"capabilities\": [],\r\n \"ipRules\": [],\r\n \"backupPolicy\": {\r\n \"type\": \"Periodic\",\r\n \"periodicModeProperties\": {\r\n \"backupIntervalInMinutes\": 240,\r\n \"backupRetentionIntervalInHours\": 8,\r\n \"backupStorageRedundancy\": \"Geo\"\r\n }\r\n },\r\n \"networkAclBypassResourceIds\": []\r\n },\r\n \"identity\": {\r\n \"type\": \"None\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/resourceGroups/cph-stage-southeastasia-rg/providers/Microsoft.DocumentDB/databaseAccounts/cph-stage-southeastasia-cx\",\r\n \"name\": \"cph-stage-southeastasia-cx\",\r\n \"location\": \"Southeast Asia\",\r\n \"type\": \"Microsoft.DocumentDB/databaseAccounts\",\r\n \"kind\": \"GlobalDocumentDB\",\r\n \"tags\": {},\r\n \"systemData\": {\r\n \"createdAt\": \"2021-04-27T17:28:51.6553611Z\"\r\n },\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"documentEndpoint\": \"https://cph-stage-southeastasia-cx.documents-staging.windows-ppe.net:443/\",\r\n \"cassandraEndpoint\": \"https://cph-stage-southeastasia-cx.cassandra.cosmos.windows-ppe.net:443/\",\r\n \"publicNetworkAccess\": \"Enabled\",\r\n \"enableAutomaticFailover\": false,\r\n \"enableMultipleWriteLocations\": false,\r\n \"enablePartitionKeyMonitor\": false,\r\n \"isVirtualNetworkFilterEnabled\": false,\r\n \"virtualNetworkRules\": [],\r\n \"EnabledApiTypes\": \"Cassandra\",\r\n \"disableKeyBasedMetadataWriteAccess\": false,\r\n \"enableFreeTier\": false,\r\n \"enableAnalyticalStorage\": false,\r\n \"analyticalStorageConfiguration\": null,\r\n \"instanceId\": \"81855c26-e244-4274-8ebf-00f59d0ec9dc\",\r\n \"createMode\": \"Default\",\r\n \"databaseAccountOfferType\": \"Standard\",\r\n \"enableCassandraConnector\": false,\r\n \"connectorOffer\": \"\",\r\n \"enableMaterializedViews\": false,\r\n \"enableFullFidelityChangeFeed\": false,\r\n \"defaultIdentity\": \"FirstPartyIdentity\",\r\n \"networkAclBypass\": \"None\",\r\n \"consistencyPolicy\": {\r\n \"defaultConsistencyLevel\": \"Session\",\r\n \"maxIntervalInSeconds\": 5,\r\n \"maxStalenessPrefix\": 100\r\n },\r\n \"configurationOverrides\": {},\r\n \"writeLocations\": [\r\n {\r\n \"id\": \"cph-stage-southeastasia-cx-southeastasia\",\r\n \"locationName\": \"Southeast Asia\",\r\n \"documentEndpoint\": \"https://cph-stage-southeastasia-cx-southeastasia.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"readLocations\": [\r\n {\r\n \"id\": \"cph-stage-southeastasia-cx-southeastasia\",\r\n \"locationName\": \"Southeast Asia\",\r\n \"documentEndpoint\": \"https://cph-stage-southeastasia-cx-southeastasia.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"locations\": [\r\n {\r\n \"id\": \"cph-stage-southeastasia-cx-southeastasia\",\r\n \"locationName\": \"Southeast Asia\",\r\n \"documentEndpoint\": \"https://cph-stage-southeastasia-cx-southeastasia.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"failoverPolicies\": [\r\n {\r\n \"id\": \"cph-stage-southeastasia-cx-southeastasia\",\r\n \"locationName\": \"Southeast Asia\",\r\n \"failoverPriority\": 0\r\n }\r\n ],\r\n \"cors\": [],\r\n \"capabilities\": [\r\n {\r\n \"name\": \"EnableCassandra\"\r\n }\r\n ],\r\n \"ipRules\": [],\r\n \"backupPolicy\": {\r\n \"type\": \"Periodic\",\r\n \"periodicModeProperties\": {\r\n \"backupIntervalInMinutes\": 240,\r\n \"backupRetentionIntervalInHours\": 8,\r\n \"backupStorageRedundancy\": \"Geo\"\r\n }\r\n },\r\n \"networkAclBypassResourceIds\": []\r\n },\r\n \"identity\": {\r\n \"type\": \"None\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/resourceGroups/cph-stage-southeastasia-rg/providers/Microsoft.DocumentDB/databaseAccounts/cph-stage-southeastasia-mgo32\",\r\n \"name\": \"cph-stage-southeastasia-mgo32\",\r\n \"location\": \"Southeast Asia\",\r\n \"type\": \"Microsoft.DocumentDB/databaseAccounts\",\r\n \"kind\": \"MongoDB\",\r\n \"tags\": {},\r\n \"systemData\": {\r\n \"createdAt\": \"2021-04-27T17:28:11.7253011Z\"\r\n },\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"documentEndpoint\": \"https://cph-stage-southeastasia-mgo32.documents-staging.windows-ppe.net:443/\",\r\n \"publicNetworkAccess\": \"Enabled\",\r\n \"enableAutomaticFailover\": false,\r\n \"enableMultipleWriteLocations\": false,\r\n \"enablePartitionKeyMonitor\": false,\r\n \"isVirtualNetworkFilterEnabled\": false,\r\n \"virtualNetworkRules\": [],\r\n \"EnabledApiTypes\": \"MongoDB\",\r\n \"disableKeyBasedMetadataWriteAccess\": false,\r\n \"enableFreeTier\": false,\r\n \"enableAnalyticalStorage\": false,\r\n \"analyticalStorageConfiguration\": null,\r\n \"instanceId\": \"9d5772bd-8334-4a4d-af7f-acdcdb55892d\",\r\n \"createMode\": \"Default\",\r\n \"databaseAccountOfferType\": \"Standard\",\r\n \"enableCassandraConnector\": false,\r\n \"connectorOffer\": \"\",\r\n \"enableMaterializedViews\": false,\r\n \"enableFullFidelityChangeFeed\": false,\r\n \"defaultIdentity\": \"FirstPartyIdentity\",\r\n \"networkAclBypass\": \"None\",\r\n \"consistencyPolicy\": {\r\n \"defaultConsistencyLevel\": \"Session\",\r\n \"maxIntervalInSeconds\": 5,\r\n \"maxStalenessPrefix\": 100\r\n },\r\n \"apiProperties\": {\r\n \"serverVersion\": \"3.2\"\r\n },\r\n \"configurationOverrides\": {\r\n \"EnableBsonSchema\": \"True\"\r\n },\r\n \"writeLocations\": [\r\n {\r\n \"id\": \"cph-stage-southeastasia-mgo32-southeastasia\",\r\n \"locationName\": \"Southeast Asia\",\r\n \"documentEndpoint\": \"https://cph-stage-southeastasia-mgo32-southeastasia.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"readLocations\": [\r\n {\r\n \"id\": \"cph-stage-southeastasia-mgo32-southeastasia\",\r\n \"locationName\": \"Southeast Asia\",\r\n \"documentEndpoint\": \"https://cph-stage-southeastasia-mgo32-southeastasia.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"locations\": [\r\n {\r\n \"id\": \"cph-stage-southeastasia-mgo32-southeastasia\",\r\n \"locationName\": \"Southeast Asia\",\r\n \"documentEndpoint\": \"https://cph-stage-southeastasia-mgo32-southeastasia.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"failoverPolicies\": [\r\n {\r\n \"id\": \"cph-stage-southeastasia-mgo32-southeastasia\",\r\n \"locationName\": \"Southeast Asia\",\r\n \"failoverPriority\": 0\r\n }\r\n ],\r\n \"cors\": [],\r\n \"capabilities\": [],\r\n \"ipRules\": [],\r\n \"backupPolicy\": {\r\n \"type\": \"Periodic\",\r\n \"periodicModeProperties\": {\r\n \"backupIntervalInMinutes\": 240,\r\n \"backupRetentionIntervalInHours\": 8,\r\n \"backupStorageRedundancy\": \"Geo\"\r\n }\r\n },\r\n \"networkAclBypassResourceIds\": []\r\n },\r\n \"identity\": {\r\n \"type\": \"None\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/resourceGroups/cph-stage-southeastasia-rg/providers/Microsoft.DocumentDB/databaseAccounts/cph-stage-southeastasia-sql\",\r\n \"name\": \"cph-stage-southeastasia-sql\",\r\n \"location\": \"Southeast Asia\",\r\n \"type\": \"Microsoft.DocumentDB/databaseAccounts\",\r\n \"kind\": \"GlobalDocumentDB\",\r\n \"tags\": {},\r\n \"systemData\": {\r\n \"createdAt\": \"2021-04-27T17:28:21.0073918Z\"\r\n },\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"documentEndpoint\": \"https://cph-stage-southeastasia-sql.documents-staging.windows-ppe.net:443/\",\r\n \"publicNetworkAccess\": \"Enabled\",\r\n \"enableAutomaticFailover\": false,\r\n \"enableMultipleWriteLocations\": false,\r\n \"enablePartitionKeyMonitor\": false,\r\n \"isVirtualNetworkFilterEnabled\": false,\r\n \"virtualNetworkRules\": [],\r\n \"EnabledApiTypes\": \"Sql\",\r\n \"disableKeyBasedMetadataWriteAccess\": false,\r\n \"enableFreeTier\": false,\r\n \"enableAnalyticalStorage\": false,\r\n \"analyticalStorageConfiguration\": null,\r\n \"instanceId\": \"c4a567a6-b24c-4480-98b7-27a8b5746ed8\",\r\n \"createMode\": \"Default\",\r\n \"databaseAccountOfferType\": \"Standard\",\r\n \"enableCassandraConnector\": false,\r\n \"connectorOffer\": \"\",\r\n \"enableMaterializedViews\": false,\r\n \"enableFullFidelityChangeFeed\": false,\r\n \"defaultIdentity\": \"FirstPartyIdentity\",\r\n \"networkAclBypass\": \"None\",\r\n \"consistencyPolicy\": {\r\n \"defaultConsistencyLevel\": \"Session\",\r\n \"maxIntervalInSeconds\": 5,\r\n \"maxStalenessPrefix\": 100\r\n },\r\n \"configurationOverrides\": {},\r\n \"writeLocations\": [\r\n {\r\n \"id\": \"cph-stage-southeastasia-sql-southeastasia\",\r\n \"locationName\": \"Southeast Asia\",\r\n \"documentEndpoint\": \"https://cph-stage-southeastasia-sql-southeastasia.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"readLocations\": [\r\n {\r\n \"id\": \"cph-stage-southeastasia-sql-southeastasia\",\r\n \"locationName\": \"Southeast Asia\",\r\n \"documentEndpoint\": \"https://cph-stage-southeastasia-sql-southeastasia.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"locations\": [\r\n {\r\n \"id\": \"cph-stage-southeastasia-sql-southeastasia\",\r\n \"locationName\": \"Southeast Asia\",\r\n \"documentEndpoint\": \"https://cph-stage-southeastasia-sql-southeastasia.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"failoverPolicies\": [\r\n {\r\n \"id\": \"cph-stage-southeastasia-sql-southeastasia\",\r\n \"locationName\": \"Southeast Asia\",\r\n \"failoverPriority\": 0\r\n }\r\n ],\r\n \"cors\": [],\r\n \"capabilities\": [],\r\n \"ipRules\": [],\r\n \"backupPolicy\": {\r\n \"type\": \"Periodic\",\r\n \"periodicModeProperties\": {\r\n \"backupIntervalInMinutes\": 240,\r\n \"backupRetentionIntervalInHours\": 8,\r\n \"backupStorageRedundancy\": \"Geo\"\r\n }\r\n },\r\n \"networkAclBypassResourceIds\": []\r\n },\r\n \"identity\": {\r\n \"type\": \"None\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/resourceGroups/cph-stage-southeastasia-rg/providers/Microsoft.DocumentDB/databaseAccounts/cph-stage-southeastasia\",\r\n \"name\": \"cph-stage-southeastasia\",\r\n \"location\": \"Southeast Asia\",\r\n \"type\": \"Microsoft.DocumentDB/databaseAccounts\",\r\n \"kind\": \"GlobalDocumentDB\",\r\n \"tags\": {},\r\n \"systemData\": {\r\n \"createdAt\": \"2021-04-27T17:28:31.3048546Z\"\r\n },\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"documentEndpoint\": \"https://cph-stage-southeastasia.documents-staging.windows-ppe.net:443/\",\r\n \"publicNetworkAccess\": \"Enabled\",\r\n \"enableAutomaticFailover\": false,\r\n \"enableMultipleWriteLocations\": false,\r\n \"enablePartitionKeyMonitor\": false,\r\n \"isVirtualNetworkFilterEnabled\": false,\r\n \"virtualNetworkRules\": [],\r\n \"EnabledApiTypes\": \"Sql\",\r\n \"disableKeyBasedMetadataWriteAccess\": false,\r\n \"enableFreeTier\": false,\r\n \"enableAnalyticalStorage\": false,\r\n \"analyticalStorageConfiguration\": null,\r\n \"instanceId\": \"61a9b97e-8bb2-45df-aade-7c56b7293fcd\",\r\n \"createMode\": \"Default\",\r\n \"databaseAccountOfferType\": \"Standard\",\r\n \"enableCassandraConnector\": false,\r\n \"connectorOffer\": \"\",\r\n \"enableMaterializedViews\": false,\r\n \"enableFullFidelityChangeFeed\": false,\r\n \"defaultIdentity\": \"FirstPartyIdentity\",\r\n \"networkAclBypass\": \"None\",\r\n \"consistencyPolicy\": {\r\n \"defaultConsistencyLevel\": \"Session\",\r\n \"maxIntervalInSeconds\": 5,\r\n \"maxStalenessPrefix\": 100\r\n },\r\n \"configurationOverrides\": {},\r\n \"writeLocations\": [\r\n {\r\n \"id\": \"cph-stage-southeastasia-southeastasia\",\r\n \"locationName\": \"Southeast Asia\",\r\n \"documentEndpoint\": \"https://cph-stage-southeastasia-southeastasia.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"readLocations\": [\r\n {\r\n \"id\": \"cph-stage-southeastasia-southeastasia\",\r\n \"locationName\": \"Southeast Asia\",\r\n \"documentEndpoint\": \"https://cph-stage-southeastasia-southeastasia.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n },\r\n {\r\n \"id\": \"cph-stage-southeastasia-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://cph-stage-southeastasia-eastus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Deleting\",\r\n \"failoverPriority\": 1,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"locations\": [\r\n {\r\n \"id\": \"cph-stage-southeastasia-southeastasia\",\r\n \"locationName\": \"Southeast Asia\",\r\n \"documentEndpoint\": \"https://cph-stage-southeastasia-southeastasia.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n },\r\n {\r\n \"id\": \"cph-stage-southeastasia-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://cph-stage-southeastasia-eastus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Deleting\",\r\n \"failoverPriority\": 1,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"failoverPolicies\": [\r\n {\r\n \"id\": \"cph-stage-southeastasia-southeastasia\",\r\n \"locationName\": \"Southeast Asia\",\r\n \"failoverPriority\": 0\r\n },\r\n {\r\n \"id\": \"cph-stage-southeastasia-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"failoverPriority\": 1\r\n }\r\n ],\r\n \"cors\": [],\r\n \"capabilities\": [],\r\n \"ipRules\": [],\r\n \"backupPolicy\": {\r\n \"type\": \"Periodic\",\r\n \"periodicModeProperties\": {\r\n \"backupIntervalInMinutes\": 240,\r\n \"backupRetentionIntervalInHours\": 8,\r\n \"backupStorageRedundancy\": \"Geo\"\r\n }\r\n },\r\n \"networkAclBypassResourceIds\": []\r\n },\r\n \"identity\": {\r\n \"type\": \"None\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/resourceGroups/cph-stage-southeastasia-rg/providers/Microsoft.DocumentDB/databaseAccounts/cph-stage-southeastasia-gln\",\r\n \"name\": \"cph-stage-southeastasia-gln\",\r\n \"location\": \"Southeast Asia\",\r\n \"type\": \"Microsoft.DocumentDB/databaseAccounts\",\r\n \"kind\": \"GlobalDocumentDB\",\r\n \"tags\": {},\r\n \"systemData\": {\r\n \"createdAt\": \"2021-04-27T17:29:26.8546415Z\"\r\n },\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"documentEndpoint\": \"https://cph-stage-southeastasia-gln.documents-staging.windows-ppe.net:443/\",\r\n \"gremlinEndpoint\": \"https://cph-stage-southeastasia-gln.gremlin.cosmos.windows-ppe.net:443/\",\r\n \"publicNetworkAccess\": \"Enabled\",\r\n \"enableAutomaticFailover\": false,\r\n \"enableMultipleWriteLocations\": false,\r\n \"enablePartitionKeyMonitor\": false,\r\n \"isVirtualNetworkFilterEnabled\": false,\r\n \"virtualNetworkRules\": [],\r\n \"EnabledApiTypes\": \"Gremlin, Sql\",\r\n \"disableKeyBasedMetadataWriteAccess\": false,\r\n \"enableFreeTier\": false,\r\n \"enableAnalyticalStorage\": false,\r\n \"analyticalStorageConfiguration\": null,\r\n \"instanceId\": \"d79cffde-f2cb-4536-b48e-d1019859ff93\",\r\n \"createMode\": \"Default\",\r\n \"databaseAccountOfferType\": \"Standard\",\r\n \"enableCassandraConnector\": false,\r\n \"connectorOffer\": \"\",\r\n \"enableMaterializedViews\": false,\r\n \"enableFullFidelityChangeFeed\": false,\r\n \"defaultIdentity\": \"FirstPartyIdentity\",\r\n \"networkAclBypass\": \"None\",\r\n \"consistencyPolicy\": {\r\n \"defaultConsistencyLevel\": \"Session\",\r\n \"maxIntervalInSeconds\": 5,\r\n \"maxStalenessPrefix\": 100\r\n },\r\n \"configurationOverrides\": {},\r\n \"writeLocations\": [\r\n {\r\n \"id\": \"cph-stage-southeastasia-gln-southeastasia\",\r\n \"locationName\": \"Southeast Asia\",\r\n \"documentEndpoint\": \"https://cph-stage-southeastasia-gln-southeastasia.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"readLocations\": [\r\n {\r\n \"id\": \"cph-stage-southeastasia-gln-southeastasia\",\r\n \"locationName\": \"Southeast Asia\",\r\n \"documentEndpoint\": \"https://cph-stage-southeastasia-gln-southeastasia.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"locations\": [\r\n {\r\n \"id\": \"cph-stage-southeastasia-gln-southeastasia\",\r\n \"locationName\": \"Southeast Asia\",\r\n \"documentEndpoint\": \"https://cph-stage-southeastasia-gln-southeastasia.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"failoverPolicies\": [\r\n {\r\n \"id\": \"cph-stage-southeastasia-gln-southeastasia\",\r\n \"locationName\": \"Southeast Asia\",\r\n \"failoverPriority\": 0\r\n }\r\n ],\r\n \"cors\": [],\r\n \"capabilities\": [\r\n {\r\n \"name\": \"EnableGremlin\"\r\n }\r\n ],\r\n \"ipRules\": [],\r\n \"backupPolicy\": {\r\n \"type\": \"Periodic\",\r\n \"periodicModeProperties\": {\r\n \"backupIntervalInMinutes\": 240,\r\n \"backupRetentionIntervalInHours\": 8,\r\n \"backupStorageRedundancy\": \"Geo\"\r\n }\r\n },\r\n \"networkAclBypassResourceIds\": []\r\n },\r\n \"identity\": {\r\n \"type\": \"None\"\r\n }\r\n }\r\n ]\r\n}", + "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/subscriptions/259fbb24-9bcd-4cfc-865c-fc33b22fe38a/resourceGroups/kakhandr-rd/providers/Microsoft.DocumentDB/databaseAccounts/activity-logs-pitr-src\",\r\n \"name\": \"activity-logs-pitr-src\",\r\n \"location\": \"North Central US\",\r\n \"type\": \"Microsoft.DocumentDB/databaseAccounts\",\r\n \"kind\": \"GlobalDocumentDB\",\r\n \"tags\": {\r\n \"defaultExperience\": \"Core (SQL)\",\r\n \"hidden-cosmos-mmspecial\": \"\"\r\n },\r\n \"systemData\": {\r\n \"createdAt\": \"2021-04-21T03:08:39.622539Z\"\r\n },\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"documentEndpoint\": \"https://activity-logs-pitr-src.documents.azure.com:443/\",\r\n \"publicNetworkAccess\": \"Enabled\",\r\n \"enableAutomaticFailover\": false,\r\n \"enableMultipleWriteLocations\": false,\r\n \"enablePartitionKeyMonitor\": false,\r\n \"isVirtualNetworkFilterEnabled\": false,\r\n \"virtualNetworkRules\": [],\r\n \"EnabledApiTypes\": \"Sql\",\r\n \"disableKeyBasedMetadataWriteAccess\": false,\r\n \"enableFreeTier\": false,\r\n \"enableAnalyticalStorage\": false,\r\n \"analyticalStorageConfiguration\": {},\r\n \"instanceId\": \"aea3afe4-2717-415b-93a4-e1dd19cc4595\",\r\n \"createMode\": \"Default\",\r\n \"databaseAccountOfferType\": \"Standard\",\r\n \"defaultIdentity\": \"FirstPartyIdentity\",\r\n \"networkAclBypass\": \"None\",\r\n \"disableLocalAuth\": false,\r\n \"consistencyPolicy\": {\r\n \"defaultConsistencyLevel\": \"Session\",\r\n \"maxIntervalInSeconds\": 5,\r\n \"maxStalenessPrefix\": 100\r\n },\r\n \"configurationOverrides\": {},\r\n \"writeLocations\": [\r\n {\r\n \"id\": \"activity-logs-pitr-src-northcentralus\",\r\n \"locationName\": \"North Central US\",\r\n \"documentEndpoint\": \"https://activity-logs-pitr-src-northcentralus.documents.azure.com:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"readLocations\": [\r\n {\r\n \"id\": \"activity-logs-pitr-src-northcentralus\",\r\n \"locationName\": \"North Central US\",\r\n \"documentEndpoint\": \"https://activity-logs-pitr-src-northcentralus.documents.azure.com:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"locations\": [\r\n {\r\n \"id\": \"activity-logs-pitr-src-northcentralus\",\r\n \"locationName\": \"North Central US\",\r\n \"documentEndpoint\": \"https://activity-logs-pitr-src-northcentralus.documents.azure.com:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"failoverPolicies\": [\r\n {\r\n \"id\": \"activity-logs-pitr-src-northcentralus\",\r\n \"locationName\": \"North Central US\",\r\n \"failoverPriority\": 0\r\n }\r\n ],\r\n \"cors\": [],\r\n \"capabilities\": [],\r\n \"ipRules\": [],\r\n \"backupPolicy\": {\r\n \"type\": \"Continuous\"\r\n },\r\n \"networkAclBypassResourceIds\": []\r\n },\r\n \"identity\": {\r\n \"type\": \"None\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/259fbb24-9bcd-4cfc-865c-fc33b22fe38a/resourceGroups/kakhandr-rd/providers/Microsoft.DocumentDB/databaseAccounts/activity-logs-pitr-restored\",\r\n \"name\": \"activity-logs-pitr-restored\",\r\n \"location\": \"North Central US\",\r\n \"type\": \"Microsoft.DocumentDB/databaseAccounts\",\r\n \"kind\": \"GlobalDocumentDB\",\r\n \"tags\": {\r\n \"defaultExperience\": \"Core (SQL)\",\r\n \"hidden-cosmos-mmspecial\": \"\"\r\n },\r\n \"systemData\": {\r\n \"createdAt\": \"2021-04-21T03:30:55.6934721Z\"\r\n },\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"documentEndpoint\": \"https://activity-logs-pitr-restored.documents.azure.com:443/\",\r\n \"publicNetworkAccess\": \"Enabled\",\r\n \"enableAutomaticFailover\": false,\r\n \"enableMultipleWriteLocations\": false,\r\n \"enablePartitionKeyMonitor\": false,\r\n \"isVirtualNetworkFilterEnabled\": false,\r\n \"virtualNetworkRules\": [],\r\n \"EnabledApiTypes\": \"Sql\",\r\n \"disableKeyBasedMetadataWriteAccess\": false,\r\n \"enableFreeTier\": false,\r\n \"enableAnalyticalStorage\": false,\r\n \"analyticalStorageConfiguration\": {},\r\n \"instanceId\": \"014c15d8-92f0-4230-b57b-a1fe7bd2cf35\",\r\n \"createMode\": \"Restore\",\r\n \"databaseAccountOfferType\": \"Standard\",\r\n \"defaultIdentity\": \"FirstPartyIdentity\",\r\n \"networkAclBypass\": \"None\",\r\n \"disableLocalAuth\": false,\r\n \"consistencyPolicy\": {\r\n \"defaultConsistencyLevel\": \"Session\",\r\n \"maxIntervalInSeconds\": 5,\r\n \"maxStalenessPrefix\": 100\r\n },\r\n \"configurationOverrides\": {},\r\n \"writeLocations\": [\r\n {\r\n \"id\": \"activity-logs-pitr-restored-northcentralus\",\r\n \"locationName\": \"North Central US\",\r\n \"documentEndpoint\": \"https://activity-logs-pitr-restored-northcentralus.documents.azure.com:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"readLocations\": [\r\n {\r\n \"id\": \"activity-logs-pitr-restored-northcentralus\",\r\n \"locationName\": \"North Central US\",\r\n \"documentEndpoint\": \"https://activity-logs-pitr-restored-northcentralus.documents.azure.com:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"locations\": [\r\n {\r\n \"id\": \"activity-logs-pitr-restored-northcentralus\",\r\n \"locationName\": \"North Central US\",\r\n \"documentEndpoint\": \"https://activity-logs-pitr-restored-northcentralus.documents.azure.com:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"failoverPolicies\": [\r\n {\r\n \"id\": \"activity-logs-pitr-restored-northcentralus\",\r\n \"locationName\": \"North Central US\",\r\n \"failoverPriority\": 0\r\n }\r\n ],\r\n \"cors\": [],\r\n \"capabilities\": [],\r\n \"ipRules\": [],\r\n \"backupPolicy\": {\r\n \"type\": \"Continuous\"\r\n },\r\n \"restoreParameters\": {\r\n \"restoreMode\": \"PointInTime\",\r\n \"restoreSource\": \"/subscriptions/259fbb24-9bcd-4cfc-865c-fc33b22fe38a/providers/Microsoft.DocumentDB/locations/northcentralus/restorableDatabaseAccounts/aea3afe4-2717-415b-93a4-e1dd19cc4595\",\r\n \"restoreTimestampInUtc\": \"2021-04-21T03:15:08Z\",\r\n \"databasesToRestore\": []\r\n },\r\n \"networkAclBypassResourceIds\": []\r\n },\r\n \"identity\": {\r\n \"type\": \"None\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/259fbb24-9bcd-4cfc-865c-fc33b22fe38a/resourceGroups/bugbashbackup/providers/Microsoft.DocumentDB/databaseAccounts/tepatest-0505\",\r\n \"name\": \"tepatest-0505\",\r\n \"location\": \"Central US\",\r\n \"type\": \"Microsoft.DocumentDB/databaseAccounts\",\r\n \"kind\": \"GlobalDocumentDB\",\r\n \"tags\": {\r\n \"defaultExperience\": \"Core (SQL)\",\r\n \"hidden-cosmos-mmspecial\": \"\"\r\n },\r\n \"systemData\": {\r\n \"createdAt\": \"2021-05-05T18:57:53.1875804Z\"\r\n },\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"documentEndpoint\": \"https://tepatest-0505.documents.azure.com:443/\",\r\n \"publicNetworkAccess\": \"Enabled\",\r\n \"enableAutomaticFailover\": false,\r\n \"enableMultipleWriteLocations\": false,\r\n \"enablePartitionKeyMonitor\": false,\r\n \"isVirtualNetworkFilterEnabled\": false,\r\n \"virtualNetworkRules\": [],\r\n \"EnabledApiTypes\": \"Sql\",\r\n \"disableKeyBasedMetadataWriteAccess\": false,\r\n \"enableFreeTier\": false,\r\n \"enableAnalyticalStorage\": false,\r\n \"analyticalStorageConfiguration\": {\r\n \"analyticalStorageSchemaType\": \"WellDefined\"\r\n },\r\n \"instanceId\": \"388acaef-7633-406d-a8d2-5d1f43287aad\",\r\n \"createMode\": \"Default\",\r\n \"databaseAccountOfferType\": \"Standard\",\r\n \"defaultIdentity\": \"FirstPartyIdentity\",\r\n \"networkAclBypass\": \"None\",\r\n \"disableLocalAuth\": false,\r\n \"consistencyPolicy\": {\r\n \"defaultConsistencyLevel\": \"Session\",\r\n \"maxIntervalInSeconds\": 5,\r\n \"maxStalenessPrefix\": 100\r\n },\r\n \"configurationOverrides\": {},\r\n \"writeLocations\": [\r\n {\r\n \"id\": \"tepatest-0505-centralus\",\r\n \"locationName\": \"Central US\",\r\n \"documentEndpoint\": \"https://tepatest-0505-centralus.documents.azure.com:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"readLocations\": [\r\n {\r\n \"id\": \"tepatest-0505-centralus\",\r\n \"locationName\": \"Central US\",\r\n \"documentEndpoint\": \"https://tepatest-0505-centralus.documents.azure.com:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n },\r\n {\r\n \"id\": \"tepatest-0505-westcentralus\",\r\n \"locationName\": \"West Central US\",\r\n \"documentEndpoint\": \"https://tepatest-0505-westcentralus.documents.azure.com:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 1,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"locations\": [\r\n {\r\n \"id\": \"tepatest-0505-centralus\",\r\n \"locationName\": \"Central US\",\r\n \"documentEndpoint\": \"https://tepatest-0505-centralus.documents.azure.com:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n },\r\n {\r\n \"id\": \"tepatest-0505-westcentralus\",\r\n \"locationName\": \"West Central US\",\r\n \"documentEndpoint\": \"https://tepatest-0505-westcentralus.documents.azure.com:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 1,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"failoverPolicies\": [\r\n {\r\n \"id\": \"tepatest-0505-centralus\",\r\n \"locationName\": \"Central US\",\r\n \"failoverPriority\": 0\r\n },\r\n {\r\n \"id\": \"tepatest-0505-westcentralus\",\r\n \"locationName\": \"West Central US\",\r\n \"failoverPriority\": 1\r\n }\r\n ],\r\n \"cors\": [],\r\n \"capabilities\": [],\r\n \"ipRules\": [],\r\n \"backupPolicy\": {\r\n \"type\": \"Periodic\",\r\n \"periodicModeProperties\": {\r\n \"backupIntervalInMinutes\": 240,\r\n \"backupRetentionIntervalInHours\": 8,\r\n \"backupStorageRedundancy\": \"Local\"\r\n }\r\n },\r\n \"networkAclBypassResourceIds\": []\r\n },\r\n \"identity\": {\r\n \"type\": \"None\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/259fbb24-9bcd-4cfc-865c-fc33b22fe38a/resourceGroups/kakhandr-rd/providers/Microsoft.DocumentDB/databaseAccounts/kal-empty-account-test\",\r\n \"name\": \"kal-empty-account-test\",\r\n \"location\": \"Central US\",\r\n \"type\": \"Microsoft.DocumentDB/databaseAccounts\",\r\n \"kind\": \"GlobalDocumentDB\",\r\n \"tags\": {\r\n \"defaultExperience\": \"Core (SQL)\",\r\n \"hidden-cosmos-mmspecial\": \"\"\r\n },\r\n \"systemData\": {\r\n \"createdAt\": \"2021-05-14T17:51:16.715232Z\"\r\n },\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"documentEndpoint\": \"https://kal-empty-account-test.documents.azure.com:443/\",\r\n \"publicNetworkAccess\": \"Enabled\",\r\n \"enableAutomaticFailover\": false,\r\n \"enableMultipleWriteLocations\": false,\r\n \"enablePartitionKeyMonitor\": false,\r\n \"isVirtualNetworkFilterEnabled\": false,\r\n \"virtualNetworkRules\": [],\r\n \"EnabledApiTypes\": \"Sql\",\r\n \"disableKeyBasedMetadataWriteAccess\": false,\r\n \"enableFreeTier\": false,\r\n \"enableAnalyticalStorage\": false,\r\n \"analyticalStorageConfiguration\": {\r\n \"analyticalStorageSchemaType\": \"WellDefined\"\r\n },\r\n \"instanceId\": \"f18ba477-02b4-44b1-b57a-0183592073e6\",\r\n \"createMode\": \"Default\",\r\n \"databaseAccountOfferType\": \"Standard\",\r\n \"defaultIdentity\": \"FirstPartyIdentity\",\r\n \"networkAclBypass\": \"None\",\r\n \"disableLocalAuth\": false,\r\n \"consistencyPolicy\": {\r\n \"defaultConsistencyLevel\": \"Session\",\r\n \"maxIntervalInSeconds\": 5,\r\n \"maxStalenessPrefix\": 100\r\n },\r\n \"configurationOverrides\": {},\r\n \"writeLocations\": [\r\n {\r\n \"id\": \"kal-empty-account-test-centralus\",\r\n \"locationName\": \"Central US\",\r\n \"documentEndpoint\": \"https://kal-empty-account-test-centralus.documents.azure.com:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"readLocations\": [\r\n {\r\n \"id\": \"kal-empty-account-test-centralus\",\r\n \"locationName\": \"Central US\",\r\n \"documentEndpoint\": \"https://kal-empty-account-test-centralus.documents.azure.com:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"locations\": [\r\n {\r\n \"id\": \"kal-empty-account-test-centralus\",\r\n \"locationName\": \"Central US\",\r\n \"documentEndpoint\": \"https://kal-empty-account-test-centralus.documents.azure.com:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"failoverPolicies\": [\r\n {\r\n \"id\": \"kal-empty-account-test-centralus\",\r\n \"locationName\": \"Central US\",\r\n \"failoverPriority\": 0\r\n }\r\n ],\r\n \"cors\": [],\r\n \"capabilities\": [],\r\n \"ipRules\": [],\r\n \"backupPolicy\": {\r\n \"type\": \"Continuous\"\r\n },\r\n \"networkAclBypassResourceIds\": []\r\n },\r\n \"identity\": {\r\n \"type\": \"None\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/259fbb24-9bcd-4cfc-865c-fc33b22fe38a/resourceGroups/bugbashrg/providers/Microsoft.DocumentDB/databaseAccounts/vinhoffset\",\r\n \"name\": \"vinhoffset\",\r\n \"location\": \"Canada Central\",\r\n \"type\": \"Microsoft.DocumentDB/databaseAccounts\",\r\n \"kind\": \"GlobalDocumentDB\",\r\n \"tags\": {\r\n \"defaultExperience\": \"Core (SQL)\",\r\n \"hidden-cosmos-mmspecial\": \"\"\r\n },\r\n \"systemData\": {\r\n \"createdAt\": \"2021-06-11T17:14:04.3125161Z\"\r\n },\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"documentEndpoint\": \"https://vinhoffset.documents.azure.com:443/\",\r\n \"publicNetworkAccess\": \"Enabled\",\r\n \"enableAutomaticFailover\": false,\r\n \"enableMultipleWriteLocations\": false,\r\n \"enablePartitionKeyMonitor\": false,\r\n \"isVirtualNetworkFilterEnabled\": false,\r\n \"virtualNetworkRules\": [],\r\n \"EnabledApiTypes\": \"Sql\",\r\n \"disableKeyBasedMetadataWriteAccess\": false,\r\n \"enableFreeTier\": false,\r\n \"enableAnalyticalStorage\": false,\r\n \"analyticalStorageConfiguration\": {\r\n \"analyticalStorageSchemaType\": \"WellDefined\"\r\n },\r\n \"instanceId\": \"ec6a16ed-81f1-43b4-88e6-d9cd76a392ca\",\r\n \"createMode\": \"Default\",\r\n \"databaseAccountOfferType\": \"Standard\",\r\n \"defaultIdentity\": \"FirstPartyIdentity\",\r\n \"networkAclBypass\": \"None\",\r\n \"disableLocalAuth\": false,\r\n \"consistencyPolicy\": {\r\n \"defaultConsistencyLevel\": \"Session\",\r\n \"maxIntervalInSeconds\": 5,\r\n \"maxStalenessPrefix\": 100\r\n },\r\n \"configurationOverrides\": {},\r\n \"writeLocations\": [\r\n {\r\n \"id\": \"vinhoffset-canadacentral\",\r\n \"locationName\": \"Canada Central\",\r\n \"documentEndpoint\": \"https://vinhoffset-canadacentral.documents.azure.com:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"readLocations\": [\r\n {\r\n \"id\": \"vinhoffset-canadacentral\",\r\n \"locationName\": \"Canada Central\",\r\n \"documentEndpoint\": \"https://vinhoffset-canadacentral.documents.azure.com:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n },\r\n {\r\n \"id\": \"vinhoffset-eastasia\",\r\n \"locationName\": \"East Asia\",\r\n \"documentEndpoint\": \"https://vinhoffset-eastasia.documents.azure.com:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 1,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"locations\": [\r\n {\r\n \"id\": \"vinhoffset-canadacentral\",\r\n \"locationName\": \"Canada Central\",\r\n \"documentEndpoint\": \"https://vinhoffset-canadacentral.documents.azure.com:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n },\r\n {\r\n \"id\": \"vinhoffset-eastasia\",\r\n \"locationName\": \"East Asia\",\r\n \"documentEndpoint\": \"https://vinhoffset-eastasia.documents.azure.com:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 1,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"failoverPolicies\": [\r\n {\r\n \"id\": \"vinhoffset-canadacentral\",\r\n \"locationName\": \"Canada Central\",\r\n \"failoverPriority\": 0\r\n },\r\n {\r\n \"id\": \"vinhoffset-eastasia\",\r\n \"locationName\": \"East Asia\",\r\n \"failoverPriority\": 1\r\n }\r\n ],\r\n \"cors\": [],\r\n \"capabilities\": [],\r\n \"ipRules\": [],\r\n \"backupPolicy\": {\r\n \"type\": \"Continuous\"\r\n },\r\n \"networkAclBypassResourceIds\": []\r\n },\r\n \"identity\": {\r\n \"type\": \"None\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/259fbb24-9bcd-4cfc-865c-fc33b22fe38a/resourceGroups/bugbashrg/providers/Microsoft.DocumentDB/databaseAccounts/vinhoffset-aftermig-wr-canadacentral\",\r\n \"name\": \"vinhoffset-aftermig-wr-canadacentral\",\r\n \"location\": \"Canada Central\",\r\n \"type\": \"Microsoft.DocumentDB/databaseAccounts\",\r\n \"kind\": \"GlobalDocumentDB\",\r\n \"tags\": {\r\n \"defaultExperience\": \"Core (SQL)\",\r\n \"hidden-cosmos-mmspecial\": \"\"\r\n },\r\n \"systemData\": {\r\n \"createdAt\": \"2021-06-11T18:30:39.8614379Z\"\r\n },\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"documentEndpoint\": \"https://vinhoffset-aftermig-wr-canadacentral.documents.azure.com:443/\",\r\n \"publicNetworkAccess\": \"Enabled\",\r\n \"enableAutomaticFailover\": false,\r\n \"enableMultipleWriteLocations\": false,\r\n \"enablePartitionKeyMonitor\": false,\r\n \"isVirtualNetworkFilterEnabled\": false,\r\n \"virtualNetworkRules\": [],\r\n \"EnabledApiTypes\": \"Sql\",\r\n \"disableKeyBasedMetadataWriteAccess\": false,\r\n \"enableFreeTier\": false,\r\n \"enableAnalyticalStorage\": false,\r\n \"analyticalStorageConfiguration\": {},\r\n \"instanceId\": \"7766c42b-df2e-41d3-825f-05a5bedfa3a5\",\r\n \"createMode\": \"Restore\",\r\n \"databaseAccountOfferType\": \"Standard\",\r\n \"defaultIdentity\": \"FirstPartyIdentity\",\r\n \"networkAclBypass\": \"None\",\r\n \"disableLocalAuth\": false,\r\n \"consistencyPolicy\": {\r\n \"defaultConsistencyLevel\": \"Session\",\r\n \"maxIntervalInSeconds\": 5,\r\n \"maxStalenessPrefix\": 100\r\n },\r\n \"configurationOverrides\": {},\r\n \"writeLocations\": [\r\n {\r\n \"id\": \"vinhoffset-aftermig-wr-canadacentral-canadacentral\",\r\n \"locationName\": \"Canada Central\",\r\n \"documentEndpoint\": \"https://vinhoffset-aftermig-wr-canadacentral-canadacentral.documents.azure.com:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"readLocations\": [\r\n {\r\n \"id\": \"vinhoffset-aftermig-wr-canadacentral-canadacentral\",\r\n \"locationName\": \"Canada Central\",\r\n \"documentEndpoint\": \"https://vinhoffset-aftermig-wr-canadacentral-canadacentral.documents.azure.com:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"locations\": [\r\n {\r\n \"id\": \"vinhoffset-aftermig-wr-canadacentral-canadacentral\",\r\n \"locationName\": \"Canada Central\",\r\n \"documentEndpoint\": \"https://vinhoffset-aftermig-wr-canadacentral-canadacentral.documents.azure.com:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"failoverPolicies\": [\r\n {\r\n \"id\": \"vinhoffset-aftermig-wr-canadacentral-canadacentral\",\r\n \"locationName\": \"Canada Central\",\r\n \"failoverPriority\": 0\r\n }\r\n ],\r\n \"cors\": [],\r\n \"capabilities\": [],\r\n \"ipRules\": [],\r\n \"backupPolicy\": {\r\n \"type\": \"Continuous\"\r\n },\r\n \"restoreParameters\": {\r\n \"restoreMode\": \"PointInTime\",\r\n \"restoreSource\": \"/subscriptions/259fbb24-9bcd-4cfc-865c-fc33b22fe38a/providers/Microsoft.DocumentDB/locations/canadacentral/restorableDatabaseAccounts/ec6a16ed-81f1-43b4-88e6-d9cd76a392ca\",\r\n \"restoreTimestampInUtc\": \"2021-06-11T18:10:00Z\",\r\n \"databasesToRestore\": []\r\n },\r\n \"networkAclBypassResourceIds\": []\r\n },\r\n \"identity\": {\r\n \"type\": \"None\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/259fbb24-9bcd-4cfc-865c-fc33b22fe38a/resourceGroups/bugbashrg/providers/Microsoft.DocumentDB/databaseAccounts/vinhoffset-aftermig-rr-eastasia-partial\",\r\n \"name\": \"vinhoffset-aftermig-rr-eastasia-partial\",\r\n \"location\": \"Canada Central\",\r\n \"type\": \"Microsoft.DocumentDB/databaseAccounts\",\r\n \"kind\": \"GlobalDocumentDB\",\r\n \"tags\": {\r\n \"defaultExperience\": \"Core (SQL)\",\r\n \"hidden-cosmos-mmspecial\": \"\"\r\n },\r\n \"systemData\": {\r\n \"createdAt\": \"2021-06-11T18:33:08.9881654Z\"\r\n },\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"documentEndpoint\": \"https://vinhoffset-aftermig-rr-eastasia-partial.documents.azure.com:443/\",\r\n \"publicNetworkAccess\": \"Enabled\",\r\n \"enableAutomaticFailover\": false,\r\n \"enableMultipleWriteLocations\": false,\r\n \"enablePartitionKeyMonitor\": false,\r\n \"isVirtualNetworkFilterEnabled\": false,\r\n \"virtualNetworkRules\": [],\r\n \"EnabledApiTypes\": \"Sql\",\r\n \"disableKeyBasedMetadataWriteAccess\": false,\r\n \"enableFreeTier\": false,\r\n \"enableAnalyticalStorage\": false,\r\n \"analyticalStorageConfiguration\": {},\r\n \"instanceId\": \"2337c75e-d7db-4829-9344-bc5dd6fe5255\",\r\n \"createMode\": \"Restore\",\r\n \"databaseAccountOfferType\": \"Standard\",\r\n \"defaultIdentity\": \"FirstPartyIdentity\",\r\n \"networkAclBypass\": \"None\",\r\n \"disableLocalAuth\": false,\r\n \"consistencyPolicy\": {\r\n \"defaultConsistencyLevel\": \"Session\",\r\n \"maxIntervalInSeconds\": 5,\r\n \"maxStalenessPrefix\": 100\r\n },\r\n \"configurationOverrides\": {},\r\n \"writeLocations\": [\r\n {\r\n \"id\": \"vinhoffset-aftermig-rr-eastasia-partial-eastasia\",\r\n \"locationName\": \"East Asia\",\r\n \"documentEndpoint\": \"https://vinhoffset-aftermig-rr-eastasia-partial-eastasia.documents.azure.com:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"readLocations\": [\r\n {\r\n \"id\": \"vinhoffset-aftermig-rr-eastasia-partial-eastasia\",\r\n \"locationName\": \"East Asia\",\r\n \"documentEndpoint\": \"https://vinhoffset-aftermig-rr-eastasia-partial-eastasia.documents.azure.com:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"locations\": [\r\n {\r\n \"id\": \"vinhoffset-aftermig-rr-eastasia-partial-eastasia\",\r\n \"locationName\": \"East Asia\",\r\n \"documentEndpoint\": \"https://vinhoffset-aftermig-rr-eastasia-partial-eastasia.documents.azure.com:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"failoverPolicies\": [\r\n {\r\n \"id\": \"vinhoffset-aftermig-rr-eastasia-partial-eastasia\",\r\n \"locationName\": \"East Asia\",\r\n \"failoverPriority\": 0\r\n }\r\n ],\r\n \"cors\": [],\r\n \"capabilities\": [],\r\n \"ipRules\": [],\r\n \"backupPolicy\": {\r\n \"type\": \"Continuous\"\r\n },\r\n \"restoreParameters\": {\r\n \"restoreMode\": \"PointInTime\",\r\n \"restoreSource\": \"/subscriptions/259fbb24-9bcd-4cfc-865c-fc33b22fe38a/providers/Microsoft.DocumentDB/locations/canadacentral/restorableDatabaseAccounts/ec6a16ed-81f1-43b4-88e6-d9cd76a392ca\",\r\n \"restoreTimestampInUtc\": \"2021-06-11T18:11:00Z\",\r\n \"databasesToRestore\": [\r\n {\r\n \"databaseName\": \"sharedrudb2\",\r\n \"collectionNames\": [\r\n \"sharedColl0\",\r\n \"sharedColl4\",\r\n \"sharedDBProviosnedColl2\",\r\n \"sharedColl1\",\r\n \"sharedColl2\",\r\n \"sharedDBProviosnedColl1\",\r\n \"sharedColl3\",\r\n \"sharedDBProviosnedColl0\"\r\n ]\r\n },\r\n {\r\n \"databaseName\": \"dbWithEmptyColl\",\r\n \"collectionNames\": [\r\n \"emptycoll\"\r\n ]\r\n }\r\n ]\r\n },\r\n \"networkAclBypassResourceIds\": []\r\n },\r\n \"identity\": {\r\n \"type\": \"None\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/259fbb24-9bcd-4cfc-865c-fc33b22fe38a/resourceGroups/virangai-test/providers/Microsoft.DocumentDB/databaseAccounts/virangai-test-mongo-pitr\",\r\n \"name\": \"virangai-test-mongo-pitr\",\r\n \"location\": \"West US 2\",\r\n \"type\": \"Microsoft.DocumentDB/databaseAccounts\",\r\n \"kind\": \"MongoDB\",\r\n \"tags\": {\r\n \"defaultExperience\": \"Azure Cosmos DB for MongoDB API\",\r\n \"hidden-cosmos-mmspecial\": \"\",\r\n \"CosmosAccountType\": \"Non-Production\"\r\n },\r\n \"systemData\": {\r\n \"createdAt\": \"2020-11-24T21:46:06.459782Z\"\r\n },\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"documentEndpoint\": \"https://virangai-test-mongo-pitr.documents.azure.com:443/\",\r\n \"mongoEndpoint\": \"https://virangai-test-mongo-pitr.mongo.cosmos.azure.com:443/\",\r\n \"publicNetworkAccess\": \"Enabled\",\r\n \"enableAutomaticFailover\": false,\r\n \"enableMultipleWriteLocations\": false,\r\n \"enablePartitionKeyMonitor\": false,\r\n \"isVirtualNetworkFilterEnabled\": false,\r\n \"virtualNetworkRules\": [],\r\n \"EnabledApiTypes\": \"MongoDB\",\r\n \"disableKeyBasedMetadataWriteAccess\": false,\r\n \"enableFreeTier\": false,\r\n \"enableAnalyticalStorage\": false,\r\n \"analyticalStorageConfiguration\": {},\r\n \"instanceId\": \"c0291614-213c-4629-a26a-12802ca1b761\",\r\n \"createMode\": \"Default\",\r\n \"databaseAccountOfferType\": \"Standard\",\r\n \"defaultIdentity\": \"\",\r\n \"networkAclBypass\": \"None\",\r\n \"disableLocalAuth\": false,\r\n \"consistencyPolicy\": {\r\n \"defaultConsistencyLevel\": \"Session\",\r\n \"maxIntervalInSeconds\": 5,\r\n \"maxStalenessPrefix\": 100\r\n },\r\n \"apiProperties\": {\r\n \"serverVersion\": \"3.6\"\r\n },\r\n \"configurationOverrides\": {\r\n \"EnableBsonSchema\": \"True\"\r\n },\r\n \"writeLocations\": [\r\n {\r\n \"id\": \"virangai-test-mongo-pitr-westus2\",\r\n \"locationName\": \"West US 2\",\r\n \"documentEndpoint\": \"https://virangai-test-mongo-pitr-westus2.documents.azure.com:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"readLocations\": [\r\n {\r\n \"id\": \"virangai-test-mongo-pitr-westus2\",\r\n \"locationName\": \"West US 2\",\r\n \"documentEndpoint\": \"https://virangai-test-mongo-pitr-westus2.documents.azure.com:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"locations\": [\r\n {\r\n \"id\": \"virangai-test-mongo-pitr-westus2\",\r\n \"locationName\": \"West US 2\",\r\n \"documentEndpoint\": \"https://virangai-test-mongo-pitr-westus2.documents.azure.com:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"failoverPolicies\": [\r\n {\r\n \"id\": \"virangai-test-mongo-pitr-westus2\",\r\n \"locationName\": \"West US 2\",\r\n \"failoverPriority\": 0\r\n }\r\n ],\r\n \"cors\": [],\r\n \"capabilities\": [\r\n {\r\n \"name\": \"EnableMongo\"\r\n },\r\n {\r\n \"name\": \"DisableRateLimitingResponses\"\r\n }\r\n ],\r\n \"ipRules\": [],\r\n \"backupPolicy\": {\r\n \"type\": \"Continuous\"\r\n },\r\n \"networkAclBypassResourceIds\": []\r\n },\r\n \"identity\": {\r\n \"type\": \"None\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/259fbb24-9bcd-4cfc-865c-fc33b22fe38a/resourceGroups/virangai-test/providers/Microsoft.DocumentDB/databaseAccounts/test-virangai-cont-bk-noafec\",\r\n \"name\": \"test-virangai-cont-bk-noafec\",\r\n \"location\": \"West US 2\",\r\n \"type\": \"Microsoft.DocumentDB/databaseAccounts\",\r\n \"kind\": \"GlobalDocumentDB\",\r\n \"tags\": {\r\n \"defaultExperience\": \"Core (SQL)\",\r\n \"hidden-cosmos-mmspecial\": \"\",\r\n \"CosmosAccountType\": \"Non-Production\"\r\n },\r\n \"systemData\": {\r\n \"createdAt\": \"2021-02-09T00:21:08.3618286Z\"\r\n },\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"documentEndpoint\": \"https://test-virangai-cont-bk-noafec.documents.azure.com:443/\",\r\n \"publicNetworkAccess\": \"Enabled\",\r\n \"enableAutomaticFailover\": false,\r\n \"enableMultipleWriteLocations\": false,\r\n \"enablePartitionKeyMonitor\": false,\r\n \"isVirtualNetworkFilterEnabled\": false,\r\n \"virtualNetworkRules\": [],\r\n \"EnabledApiTypes\": \"Sql\",\r\n \"disableKeyBasedMetadataWriteAccess\": false,\r\n \"enableFreeTier\": false,\r\n \"enableAnalyticalStorage\": false,\r\n \"analyticalStorageConfiguration\": {},\r\n \"instanceId\": \"da7bc674-bba2-4d4f-902a-c20b3553e2ce\",\r\n \"createMode\": \"Default\",\r\n \"databaseAccountOfferType\": \"Standard\",\r\n \"defaultIdentity\": \"\",\r\n \"networkAclBypass\": \"None\",\r\n \"disableLocalAuth\": false,\r\n \"consistencyPolicy\": {\r\n \"defaultConsistencyLevel\": \"Session\",\r\n \"maxIntervalInSeconds\": 5,\r\n \"maxStalenessPrefix\": 100\r\n },\r\n \"configurationOverrides\": {},\r\n \"writeLocations\": [\r\n {\r\n \"id\": \"test-virangai-cont-bk-noafec-westus2\",\r\n \"locationName\": \"West US 2\",\r\n \"documentEndpoint\": \"https://test-virangai-cont-bk-noafec-westus2.documents.azure.com:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"readLocations\": [\r\n {\r\n \"id\": \"test-virangai-cont-bk-noafec-westus2\",\r\n \"locationName\": \"West US 2\",\r\n \"documentEndpoint\": \"https://test-virangai-cont-bk-noafec-westus2.documents.azure.com:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"locations\": [\r\n {\r\n \"id\": \"test-virangai-cont-bk-noafec-westus2\",\r\n \"locationName\": \"West US 2\",\r\n \"documentEndpoint\": \"https://test-virangai-cont-bk-noafec-westus2.documents.azure.com:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"failoverPolicies\": [\r\n {\r\n \"id\": \"test-virangai-cont-bk-noafec-westus2\",\r\n \"locationName\": \"West US 2\",\r\n \"failoverPriority\": 0\r\n }\r\n ],\r\n \"cors\": [],\r\n \"capabilities\": [],\r\n \"ipRules\": [\r\n {\r\n \"ipAddressOrRange\": \"73.83.18.99\"\r\n },\r\n {\r\n \"ipAddressOrRange\": \"0.0.0.0\"\r\n },\r\n {\r\n \"ipAddressOrRange\": \"104.42.195.92\"\r\n },\r\n {\r\n \"ipAddressOrRange\": \"40.76.54.131\"\r\n },\r\n {\r\n \"ipAddressOrRange\": \"52.176.6.30\"\r\n },\r\n {\r\n \"ipAddressOrRange\": \"52.169.50.45\"\r\n },\r\n {\r\n \"ipAddressOrRange\": \"52.187.184.26\"\r\n }\r\n ],\r\n \"backupPolicy\": {\r\n \"type\": \"Continuous\"\r\n },\r\n \"networkAclBypassResourceIds\": []\r\n },\r\n \"identity\": {\r\n \"type\": \"None\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/259fbb24-9bcd-4cfc-865c-fc33b22fe38a/resourceGroups/virangai-test/providers/Microsoft.DocumentDB/databaseAccounts/targetacct7\",\r\n \"name\": \"targetacct7\",\r\n \"location\": \"West US 2\",\r\n \"type\": \"Microsoft.DocumentDB/databaseAccounts\",\r\n \"kind\": \"MongoDB\",\r\n \"tags\": {\r\n \"defaultExperience\": \"Azure Cosmos DB for MongoDB API\",\r\n \"hidden-cosmos-mmspecial\": \"\",\r\n \"CosmosAccountType\": \"Non-Production\"\r\n },\r\n \"systemData\": {\r\n \"createdAt\": \"2021-02-20T19:02:57.1071152Z\"\r\n },\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"documentEndpoint\": \"https://targetacct7.documents.azure.com:443/\",\r\n \"mongoEndpoint\": \"https://targetacct7.mongo.cosmos.azure.com:443/\",\r\n \"publicNetworkAccess\": \"Enabled\",\r\n \"enableAutomaticFailover\": false,\r\n \"enableMultipleWriteLocations\": false,\r\n \"enablePartitionKeyMonitor\": false,\r\n \"isVirtualNetworkFilterEnabled\": false,\r\n \"virtualNetworkRules\": [],\r\n \"EnabledApiTypes\": \"MongoDB\",\r\n \"disableKeyBasedMetadataWriteAccess\": false,\r\n \"enableFreeTier\": false,\r\n \"enableAnalyticalStorage\": false,\r\n \"analyticalStorageConfiguration\": {},\r\n \"instanceId\": \"f6c06aad-47cc-4e02-bffc-acf599a4df1d\",\r\n \"createMode\": \"Restore\",\r\n \"databaseAccountOfferType\": \"Standard\",\r\n \"defaultIdentity\": \"\",\r\n \"networkAclBypass\": \"None\",\r\n \"disableLocalAuth\": false,\r\n \"consistencyPolicy\": {\r\n \"defaultConsistencyLevel\": \"Session\",\r\n \"maxIntervalInSeconds\": 5,\r\n \"maxStalenessPrefix\": 100\r\n },\r\n \"apiProperties\": {\r\n \"serverVersion\": \"3.6\"\r\n },\r\n \"configurationOverrides\": {\r\n \"EnableBsonSchema\": \"True\"\r\n },\r\n \"writeLocations\": [\r\n {\r\n \"id\": \"targetacct7-westus2\",\r\n \"locationName\": \"West US 2\",\r\n \"documentEndpoint\": \"https://targetacct7-westus2.documents.azure.com:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"readLocations\": [\r\n {\r\n \"id\": \"targetacct7-westus2\",\r\n \"locationName\": \"West US 2\",\r\n \"documentEndpoint\": \"https://targetacct7-westus2.documents.azure.com:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"locations\": [\r\n {\r\n \"id\": \"targetacct7-westus2\",\r\n \"locationName\": \"West US 2\",\r\n \"documentEndpoint\": \"https://targetacct7-westus2.documents.azure.com:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"failoverPolicies\": [\r\n {\r\n \"id\": \"targetacct7-westus2\",\r\n \"locationName\": \"West US 2\",\r\n \"failoverPriority\": 0\r\n }\r\n ],\r\n \"cors\": [],\r\n \"capabilities\": [\r\n {\r\n \"name\": \"EnableMongo\"\r\n },\r\n {\r\n \"name\": \"DisableRateLimitingResponses\"\r\n }\r\n ],\r\n \"ipRules\": [],\r\n \"backupPolicy\": {\r\n \"type\": \"Continuous\"\r\n },\r\n \"restoreParameters\": {\r\n \"restoreMode\": \"PointInTime\",\r\n \"restoreSource\": \"/subscriptions/259fbb24-9bcd-4cfc-865c-fc33b22fe38a/providers/Microsoft.DocumentDB/locations/westus2/restorableDatabaseAccounts/c0291614-213c-4629-a26a-12802ca1b761\",\r\n \"restoreTimestampInUtc\": \"2021-02-11T00:00:00Z\",\r\n \"databasesToRestore\": [\r\n {\r\n \"databaseName\": \"Test\",\r\n \"collectionNames\": [\r\n \"Test\"\r\n ]\r\n }\r\n ]\r\n },\r\n \"networkAclBypassResourceIds\": []\r\n },\r\n \"identity\": {\r\n \"type\": \"None\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/259fbb24-9bcd-4cfc-865c-fc33b22fe38a/resourceGroups/virangai-test/providers/Microsoft.DocumentDB/databaseAccounts/targetacct6\",\r\n \"name\": \"targetacct6\",\r\n \"location\": \"West US 2\",\r\n \"type\": \"Microsoft.DocumentDB/databaseAccounts\",\r\n \"kind\": \"MongoDB\",\r\n \"tags\": {\r\n \"defaultExperience\": \"Azure Cosmos DB for MongoDB API\",\r\n \"hidden-cosmos-mmspecial\": \"\",\r\n \"CosmosAccountType\": \"Non-Production\"\r\n },\r\n \"systemData\": {\r\n \"createdAt\": \"2021-02-20T19:05:53.3379035Z\"\r\n },\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"documentEndpoint\": \"https://targetacct6.documents.azure.com:443/\",\r\n \"mongoEndpoint\": \"https://targetacct6.mongo.cosmos.azure.com:443/\",\r\n \"publicNetworkAccess\": \"Enabled\",\r\n \"enableAutomaticFailover\": false,\r\n \"enableMultipleWriteLocations\": false,\r\n \"enablePartitionKeyMonitor\": false,\r\n \"isVirtualNetworkFilterEnabled\": false,\r\n \"virtualNetworkRules\": [],\r\n \"EnabledApiTypes\": \"MongoDB\",\r\n \"disableKeyBasedMetadataWriteAccess\": false,\r\n \"enableFreeTier\": false,\r\n \"enableAnalyticalStorage\": false,\r\n \"analyticalStorageConfiguration\": {},\r\n \"instanceId\": \"7194cffb-815b-4eac-b125-d841f1ab2d0c\",\r\n \"createMode\": \"Restore\",\r\n \"databaseAccountOfferType\": \"Standard\",\r\n \"defaultIdentity\": \"\",\r\n \"networkAclBypass\": \"None\",\r\n \"disableLocalAuth\": false,\r\n \"consistencyPolicy\": {\r\n \"defaultConsistencyLevel\": \"Session\",\r\n \"maxIntervalInSeconds\": 5,\r\n \"maxStalenessPrefix\": 100\r\n },\r\n \"apiProperties\": {\r\n \"serverVersion\": \"3.6\"\r\n },\r\n \"configurationOverrides\": {\r\n \"EnableBsonSchema\": \"True\"\r\n },\r\n \"writeLocations\": [\r\n {\r\n \"id\": \"targetacct6-westus2\",\r\n \"locationName\": \"West US 2\",\r\n \"documentEndpoint\": \"https://targetacct6-westus2.documents.azure.com:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"readLocations\": [\r\n {\r\n \"id\": \"targetacct6-westus2\",\r\n \"locationName\": \"West US 2\",\r\n \"documentEndpoint\": \"https://targetacct6-westus2.documents.azure.com:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"locations\": [\r\n {\r\n \"id\": \"targetacct6-westus2\",\r\n \"locationName\": \"West US 2\",\r\n \"documentEndpoint\": \"https://targetacct6-westus2.documents.azure.com:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"failoverPolicies\": [\r\n {\r\n \"id\": \"targetacct6-westus2\",\r\n \"locationName\": \"West US 2\",\r\n \"failoverPriority\": 0\r\n }\r\n ],\r\n \"cors\": [],\r\n \"capabilities\": [\r\n {\r\n \"name\": \"EnableMongo\"\r\n },\r\n {\r\n \"name\": \"DisableRateLimitingResponses\"\r\n }\r\n ],\r\n \"ipRules\": [],\r\n \"backupPolicy\": {\r\n \"type\": \"Continuous\"\r\n },\r\n \"restoreParameters\": {\r\n \"restoreMode\": \"PointInTime\",\r\n \"restoreSource\": \"/subscriptions/259fbb24-9bcd-4cfc-865c-fc33b22fe38a/providers/Microsoft.DocumentDB/locations/westus2/restorableDatabaseAccounts/c0291614-213c-4629-a26a-12802ca1b761\",\r\n \"restoreTimestampInUtc\": \"2021-02-12T00:00:00Z\",\r\n \"databasesToRestore\": [\r\n {\r\n \"databaseName\": \"Test\",\r\n \"collectionNames\": [\r\n \"Test\"\r\n ]\r\n }\r\n ]\r\n },\r\n \"networkAclBypassResourceIds\": []\r\n },\r\n \"identity\": {\r\n \"type\": \"None\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/259fbb24-9bcd-4cfc-865c-fc33b22fe38a/resourceGroups/virangai-test/providers/Microsoft.DocumentDB/databaseAccounts/targetacct8\",\r\n \"name\": \"targetacct8\",\r\n \"location\": \"West US 2\",\r\n \"type\": \"Microsoft.DocumentDB/databaseAccounts\",\r\n \"kind\": \"MongoDB\",\r\n \"tags\": {\r\n \"defaultExperience\": \"Azure Cosmos DB for MongoDB API\",\r\n \"hidden-cosmos-mmspecial\": \"\",\r\n \"CosmosAccountType\": \"Non-Production\"\r\n },\r\n \"systemData\": {\r\n \"createdAt\": \"2021-02-20T19:18:23.0799683Z\"\r\n },\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"documentEndpoint\": \"https://targetacct8.documents.azure.com:443/\",\r\n \"mongoEndpoint\": \"https://targetacct8.mongo.cosmos.azure.com:443/\",\r\n \"publicNetworkAccess\": \"Enabled\",\r\n \"enableAutomaticFailover\": false,\r\n \"enableMultipleWriteLocations\": false,\r\n \"enablePartitionKeyMonitor\": false,\r\n \"isVirtualNetworkFilterEnabled\": false,\r\n \"virtualNetworkRules\": [],\r\n \"EnabledApiTypes\": \"MongoDB\",\r\n \"disableKeyBasedMetadataWriteAccess\": false,\r\n \"enableFreeTier\": false,\r\n \"enableAnalyticalStorage\": false,\r\n \"analyticalStorageConfiguration\": {},\r\n \"instanceId\": \"062e63d1-f782-4dc6-8e12-3050890f8bd8\",\r\n \"createMode\": \"Restore\",\r\n \"databaseAccountOfferType\": \"Standard\",\r\n \"defaultIdentity\": \"\",\r\n \"networkAclBypass\": \"None\",\r\n \"disableLocalAuth\": false,\r\n \"consistencyPolicy\": {\r\n \"defaultConsistencyLevel\": \"Session\",\r\n \"maxIntervalInSeconds\": 5,\r\n \"maxStalenessPrefix\": 100\r\n },\r\n \"apiProperties\": {\r\n \"serverVersion\": \"3.6\"\r\n },\r\n \"configurationOverrides\": {\r\n \"EnableBsonSchema\": \"True\"\r\n },\r\n \"writeLocations\": [\r\n {\r\n \"id\": \"targetacct8-westus2\",\r\n \"locationName\": \"West US 2\",\r\n \"documentEndpoint\": \"https://targetacct8-westus2.documents.azure.com:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"readLocations\": [\r\n {\r\n \"id\": \"targetacct8-westus2\",\r\n \"locationName\": \"West US 2\",\r\n \"documentEndpoint\": \"https://targetacct8-westus2.documents.azure.com:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"locations\": [\r\n {\r\n \"id\": \"targetacct8-westus2\",\r\n \"locationName\": \"West US 2\",\r\n \"documentEndpoint\": \"https://targetacct8-westus2.documents.azure.com:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"failoverPolicies\": [\r\n {\r\n \"id\": \"targetacct8-westus2\",\r\n \"locationName\": \"West US 2\",\r\n \"failoverPriority\": 0\r\n }\r\n ],\r\n \"cors\": [],\r\n \"capabilities\": [\r\n {\r\n \"name\": \"EnableMongo\"\r\n },\r\n {\r\n \"name\": \"DisableRateLimitingResponses\"\r\n }\r\n ],\r\n \"ipRules\": [],\r\n \"backupPolicy\": {\r\n \"type\": \"Continuous\"\r\n },\r\n \"restoreParameters\": {\r\n \"restoreMode\": \"PointInTime\",\r\n \"restoreSource\": \"/subscriptions/259fbb24-9bcd-4cfc-865c-fc33b22fe38a/providers/Microsoft.DocumentDB/locations/westus2/restorableDatabaseAccounts/c0291614-213c-4629-a26a-12802ca1b761\",\r\n \"restoreTimestampInUtc\": \"2021-02-18T00:00:00Z\",\r\n \"databasesToRestore\": []\r\n },\r\n \"networkAclBypassResourceIds\": []\r\n },\r\n \"identity\": {\r\n \"type\": \"None\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/259fbb24-9bcd-4cfc-865c-fc33b22fe38a/resourceGroups/virangai-test/providers/Microsoft.DocumentDB/databaseAccounts/targetacct9\",\r\n \"name\": \"targetacct9\",\r\n \"location\": \"West US 2\",\r\n \"type\": \"Microsoft.DocumentDB/databaseAccounts\",\r\n \"kind\": \"MongoDB\",\r\n \"tags\": {\r\n \"defaultExperience\": \"Azure Cosmos DB for MongoDB API\",\r\n \"hidden-cosmos-mmspecial\": \"\",\r\n \"CosmosAccountType\": \"Non-Production\"\r\n },\r\n \"systemData\": {\r\n \"createdAt\": \"2021-02-20T19:17:51.4677131Z\"\r\n },\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"documentEndpoint\": \"https://targetacct9.documents.azure.com:443/\",\r\n \"mongoEndpoint\": \"https://targetacct9.mongo.cosmos.azure.com:443/\",\r\n \"publicNetworkAccess\": \"Enabled\",\r\n \"enableAutomaticFailover\": false,\r\n \"enableMultipleWriteLocations\": false,\r\n \"enablePartitionKeyMonitor\": false,\r\n \"isVirtualNetworkFilterEnabled\": false,\r\n \"virtualNetworkRules\": [],\r\n \"EnabledApiTypes\": \"MongoDB\",\r\n \"disableKeyBasedMetadataWriteAccess\": false,\r\n \"enableFreeTier\": false,\r\n \"enableAnalyticalStorage\": false,\r\n \"analyticalStorageConfiguration\": {},\r\n \"instanceId\": \"37328587-b42b-4572-a089-1a0e9e9d8b0d\",\r\n \"createMode\": \"Restore\",\r\n \"databaseAccountOfferType\": \"Standard\",\r\n \"defaultIdentity\": \"\",\r\n \"networkAclBypass\": \"None\",\r\n \"disableLocalAuth\": false,\r\n \"consistencyPolicy\": {\r\n \"defaultConsistencyLevel\": \"Session\",\r\n \"maxIntervalInSeconds\": 5,\r\n \"maxStalenessPrefix\": 100\r\n },\r\n \"apiProperties\": {\r\n \"serverVersion\": \"3.6\"\r\n },\r\n \"configurationOverrides\": {\r\n \"EnableBsonSchema\": \"True\"\r\n },\r\n \"writeLocations\": [\r\n {\r\n \"id\": \"targetacct9-westus2\",\r\n \"locationName\": \"West US 2\",\r\n \"documentEndpoint\": \"https://targetacct9-westus2.documents.azure.com:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"readLocations\": [\r\n {\r\n \"id\": \"targetacct9-westus2\",\r\n \"locationName\": \"West US 2\",\r\n \"documentEndpoint\": \"https://targetacct9-westus2.documents.azure.com:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"locations\": [\r\n {\r\n \"id\": \"targetacct9-westus2\",\r\n \"locationName\": \"West US 2\",\r\n \"documentEndpoint\": \"https://targetacct9-westus2.documents.azure.com:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"failoverPolicies\": [\r\n {\r\n \"id\": \"targetacct9-westus2\",\r\n \"locationName\": \"West US 2\",\r\n \"failoverPriority\": 0\r\n }\r\n ],\r\n \"cors\": [],\r\n \"capabilities\": [\r\n {\r\n \"name\": \"EnableMongo\"\r\n },\r\n {\r\n \"name\": \"DisableRateLimitingResponses\"\r\n }\r\n ],\r\n \"ipRules\": [],\r\n \"backupPolicy\": {\r\n \"type\": \"Continuous\"\r\n },\r\n \"restoreParameters\": {\r\n \"restoreMode\": \"PointInTime\",\r\n \"restoreSource\": \"/subscriptions/259fbb24-9bcd-4cfc-865c-fc33b22fe38a/providers/Microsoft.DocumentDB/locations/westus2/restorableDatabaseAccounts/c0291614-213c-4629-a26a-12802ca1b761\",\r\n \"restoreTimestampInUtc\": \"2021-02-11T00:00:00Z\",\r\n \"databasesToRestore\": [\r\n {\r\n \"databaseName\": \"Test\",\r\n \"collectionNames\": [\r\n \"Test\"\r\n ]\r\n }\r\n ]\r\n },\r\n \"networkAclBypassResourceIds\": []\r\n },\r\n \"identity\": {\r\n \"type\": \"None\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/259fbb24-9bcd-4cfc-865c-fc33b22fe38a/resourceGroups/virangai-test/providers/Microsoft.DocumentDB/databaseAccounts/virangai-test-mongo-pitr-res\",\r\n \"name\": \"virangai-test-mongo-pitr-res\",\r\n \"location\": \"West US 2\",\r\n \"type\": \"Microsoft.DocumentDB/databaseAccounts\",\r\n \"kind\": \"MongoDB\",\r\n \"tags\": {\r\n \"defaultExperience\": \"Azure Cosmos DB for MongoDB API\",\r\n \"hidden-cosmos-mmspecial\": \"\",\r\n \"CosmosAccountType\": \"Non-Production\"\r\n },\r\n \"systemData\": {\r\n \"createdAt\": \"2021-02-26T10:56:24.76548Z\"\r\n },\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"documentEndpoint\": \"https://virangai-test-mongo-pitr-res.documents.azure.com:443/\",\r\n \"mongoEndpoint\": \"https://virangai-test-mongo-pitr-res.mongo.cosmos.azure.com:443/\",\r\n \"publicNetworkAccess\": \"Enabled\",\r\n \"enableAutomaticFailover\": false,\r\n \"enableMultipleWriteLocations\": false,\r\n \"enablePartitionKeyMonitor\": false,\r\n \"isVirtualNetworkFilterEnabled\": false,\r\n \"virtualNetworkRules\": [],\r\n \"EnabledApiTypes\": \"MongoDB\",\r\n \"disableKeyBasedMetadataWriteAccess\": false,\r\n \"enableFreeTier\": false,\r\n \"enableAnalyticalStorage\": false,\r\n \"analyticalStorageConfiguration\": {},\r\n \"instanceId\": \"f1120981-eb0a-4928-8c93-296c992135ab\",\r\n \"createMode\": \"Restore\",\r\n \"databaseAccountOfferType\": \"Standard\",\r\n \"defaultIdentity\": \"\",\r\n \"networkAclBypass\": \"None\",\r\n \"disableLocalAuth\": false,\r\n \"consistencyPolicy\": {\r\n \"defaultConsistencyLevel\": \"Session\",\r\n \"maxIntervalInSeconds\": 5,\r\n \"maxStalenessPrefix\": 100\r\n },\r\n \"apiProperties\": {\r\n \"serverVersion\": \"3.6\"\r\n },\r\n \"configurationOverrides\": {\r\n \"EnableBsonSchema\": \"True\"\r\n },\r\n \"writeLocations\": [\r\n {\r\n \"id\": \"virangai-test-mongo-pitr-res-westus2\",\r\n \"locationName\": \"West US 2\",\r\n \"documentEndpoint\": \"https://virangai-test-mongo-pitr-res-westus2.documents.azure.com:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"readLocations\": [\r\n {\r\n \"id\": \"virangai-test-mongo-pitr-res-westus2\",\r\n \"locationName\": \"West US 2\",\r\n \"documentEndpoint\": \"https://virangai-test-mongo-pitr-res-westus2.documents.azure.com:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"locations\": [\r\n {\r\n \"id\": \"virangai-test-mongo-pitr-res-westus2\",\r\n \"locationName\": \"West US 2\",\r\n \"documentEndpoint\": \"https://virangai-test-mongo-pitr-res-westus2.documents.azure.com:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"failoverPolicies\": [\r\n {\r\n \"id\": \"virangai-test-mongo-pitr-res-westus2\",\r\n \"locationName\": \"West US 2\",\r\n \"failoverPriority\": 0\r\n }\r\n ],\r\n \"cors\": [],\r\n \"capabilities\": [\r\n {\r\n \"name\": \"EnableMongo\"\r\n },\r\n {\r\n \"name\": \"DisableRateLimitingResponses\"\r\n }\r\n ],\r\n \"ipRules\": [],\r\n \"backupPolicy\": {\r\n \"type\": \"Continuous\"\r\n },\r\n \"restoreParameters\": {\r\n \"restoreMode\": \"PointInTime\",\r\n \"restoreSource\": \"/subscriptions/259fbb24-9bcd-4cfc-865c-fc33b22fe38a/providers/Microsoft.DocumentDB/locations/westus2/restorableDatabaseAccounts/c0291614-213c-4629-a26a-12802ca1b761\",\r\n \"restoreTimestampInUtc\": \"2021-01-28T00:58:03Z\",\r\n \"databasesToRestore\": []\r\n },\r\n \"networkAclBypassResourceIds\": []\r\n },\r\n \"identity\": {\r\n \"type\": \"None\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/259fbb24-9bcd-4cfc-865c-fc33b22fe38a/resourceGroups/virangai-test/providers/Microsoft.DocumentDB/databaseAccounts/virangai-test-mongo-pitr-restore\",\r\n \"name\": \"virangai-test-mongo-pitr-restore\",\r\n \"location\": \"West US 2\",\r\n \"type\": \"Microsoft.DocumentDB/databaseAccounts\",\r\n \"kind\": \"MongoDB\",\r\n \"tags\": {\r\n \"defaultExperience\": \"Azure Cosmos DB for MongoDB API\",\r\n \"hidden-cosmos-mmspecial\": \"\",\r\n \"CosmosAccountType\": \"Non-Production\"\r\n },\r\n \"systemData\": {\r\n \"createdAt\": \"2021-02-26T11:13:03.1540076Z\"\r\n },\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"documentEndpoint\": \"https://virangai-test-mongo-pitr-restore.documents.azure.com:443/\",\r\n \"mongoEndpoint\": \"https://virangai-test-mongo-pitr-restore.mongo.cosmos.azure.com:443/\",\r\n \"publicNetworkAccess\": \"Enabled\",\r\n \"enableAutomaticFailover\": false,\r\n \"enableMultipleWriteLocations\": false,\r\n \"enablePartitionKeyMonitor\": false,\r\n \"isVirtualNetworkFilterEnabled\": false,\r\n \"virtualNetworkRules\": [],\r\n \"EnabledApiTypes\": \"MongoDB\",\r\n \"disableKeyBasedMetadataWriteAccess\": false,\r\n \"enableFreeTier\": false,\r\n \"enableAnalyticalStorage\": false,\r\n \"analyticalStorageConfiguration\": {},\r\n \"instanceId\": \"ac54ad8c-e894-4c4b-bfd2-bc89f0d885bf\",\r\n \"createMode\": \"Restore\",\r\n \"databaseAccountOfferType\": \"Standard\",\r\n \"defaultIdentity\": \"\",\r\n \"networkAclBypass\": \"None\",\r\n \"disableLocalAuth\": false,\r\n \"consistencyPolicy\": {\r\n \"defaultConsistencyLevel\": \"Session\",\r\n \"maxIntervalInSeconds\": 5,\r\n \"maxStalenessPrefix\": 100\r\n },\r\n \"apiProperties\": {\r\n \"serverVersion\": \"3.6\"\r\n },\r\n \"configurationOverrides\": {\r\n \"EnableBsonSchema\": \"True\"\r\n },\r\n \"writeLocations\": [\r\n {\r\n \"id\": \"virangai-test-mongo-pitr-restore-westus2\",\r\n \"locationName\": \"West US 2\",\r\n \"documentEndpoint\": \"https://virangai-test-mongo-pitr-restore-westus2.documents.azure.com:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"readLocations\": [\r\n {\r\n \"id\": \"virangai-test-mongo-pitr-restore-westus2\",\r\n \"locationName\": \"West US 2\",\r\n \"documentEndpoint\": \"https://virangai-test-mongo-pitr-restore-westus2.documents.azure.com:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"locations\": [\r\n {\r\n \"id\": \"virangai-test-mongo-pitr-restore-westus2\",\r\n \"locationName\": \"West US 2\",\r\n \"documentEndpoint\": \"https://virangai-test-mongo-pitr-restore-westus2.documents.azure.com:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"failoverPolicies\": [\r\n {\r\n \"id\": \"virangai-test-mongo-pitr-restore-westus2\",\r\n \"locationName\": \"West US 2\",\r\n \"failoverPriority\": 0\r\n }\r\n ],\r\n \"cors\": [],\r\n \"capabilities\": [\r\n {\r\n \"name\": \"EnableMongo\"\r\n },\r\n {\r\n \"name\": \"DisableRateLimitingResponses\"\r\n }\r\n ],\r\n \"ipRules\": [],\r\n \"backupPolicy\": {\r\n \"type\": \"Continuous\"\r\n },\r\n \"restoreParameters\": {\r\n \"restoreMode\": \"PointInTime\",\r\n \"restoreSource\": \"/subscriptions/259fbb24-9bcd-4cfc-865c-fc33b22fe38a/providers/Microsoft.DocumentDB/locations/westus2/restorableDatabaseAccounts/c0291614-213c-4629-a26a-12802ca1b761\",\r\n \"restoreTimestampInUtc\": \"2021-02-04T21:47:21Z\",\r\n \"databasesToRestore\": [\r\n {\r\n \"databaseName\": \"Test\",\r\n \"collectionNames\": [\r\n \"Test\"\r\n ]\r\n }\r\n ]\r\n },\r\n \"networkAclBypassResourceIds\": []\r\n },\r\n \"identity\": {\r\n \"type\": \"None\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/259fbb24-9bcd-4cfc-865c-fc33b22fe38a/resourceGroups/bugbashbackup/providers/Microsoft.DocumentDB/databaseAccounts/test0329-1\",\r\n \"name\": \"test0329-1\",\r\n \"location\": \"West US 2\",\r\n \"type\": \"Microsoft.DocumentDB/databaseAccounts\",\r\n \"kind\": \"GlobalDocumentDB\",\r\n \"tags\": {\r\n \"defaultExperience\": \"Core (SQL)\",\r\n \"hidden-cosmos-mmspecial\": \"\",\r\n \"CosmosAccountType\": \"Non-Production\"\r\n },\r\n \"systemData\": {\r\n \"createdAt\": \"2021-03-29T16:57:26.3880463Z\"\r\n },\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"documentEndpoint\": \"https://test0329-1.documents.azure.com:443/\",\r\n \"publicNetworkAccess\": \"Enabled\",\r\n \"enableAutomaticFailover\": false,\r\n \"enableMultipleWriteLocations\": false,\r\n \"enablePartitionKeyMonitor\": false,\r\n \"isVirtualNetworkFilterEnabled\": false,\r\n \"virtualNetworkRules\": [],\r\n \"EnabledApiTypes\": \"Sql\",\r\n \"disableKeyBasedMetadataWriteAccess\": false,\r\n \"enableFreeTier\": false,\r\n \"enableAnalyticalStorage\": false,\r\n \"analyticalStorageConfiguration\": {},\r\n \"instanceId\": \"4d0c329d-9f2e-4505-a4c0-3873e0875fd9\",\r\n \"createMode\": \"Default\",\r\n \"databaseAccountOfferType\": \"Standard\",\r\n \"defaultIdentity\": \"FirstPartyIdentity\",\r\n \"networkAclBypass\": \"None\",\r\n \"disableLocalAuth\": false,\r\n \"consistencyPolicy\": {\r\n \"defaultConsistencyLevel\": \"Session\",\r\n \"maxIntervalInSeconds\": 5,\r\n \"maxStalenessPrefix\": 100\r\n },\r\n \"configurationOverrides\": {},\r\n \"writeLocations\": [\r\n {\r\n \"id\": \"test0329-1-westus2\",\r\n \"locationName\": \"West US 2\",\r\n \"documentEndpoint\": \"https://test0329-1-westus2.documents.azure.com:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"readLocations\": [\r\n {\r\n \"id\": \"test0329-1-westus2\",\r\n \"locationName\": \"West US 2\",\r\n \"documentEndpoint\": \"https://test0329-1-westus2.documents.azure.com:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"locations\": [\r\n {\r\n \"id\": \"test0329-1-westus2\",\r\n \"locationName\": \"West US 2\",\r\n \"documentEndpoint\": \"https://test0329-1-westus2.documents.azure.com:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"failoverPolicies\": [\r\n {\r\n \"id\": \"test0329-1-westus2\",\r\n \"locationName\": \"West US 2\",\r\n \"failoverPriority\": 0\r\n }\r\n ],\r\n \"cors\": [],\r\n \"capabilities\": [],\r\n \"ipRules\": [],\r\n \"backupPolicy\": {\r\n \"type\": \"Periodic\",\r\n \"periodicModeProperties\": {\r\n \"backupIntervalInMinutes\": 240,\r\n \"backupRetentionIntervalInHours\": 8,\r\n \"backupStorageRedundancy\": \"Zone\"\r\n }\r\n },\r\n \"networkAclBypassResourceIds\": []\r\n },\r\n \"identity\": {\r\n \"type\": \"None\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/259fbb24-9bcd-4cfc-865c-fc33b22fe38a/resourceGroups/bugbashrg/providers/Microsoft.DocumentDB/databaseAccounts/test0329-zone\",\r\n \"name\": \"test0329-zone\",\r\n \"location\": \"West US 2\",\r\n \"type\": \"Microsoft.DocumentDB/databaseAccounts\",\r\n \"kind\": \"GlobalDocumentDB\",\r\n \"tags\": {\r\n \"defaultExperience\": \"Core (SQL)\",\r\n \"hidden-cosmos-mmspecial\": \"\",\r\n \"CosmosAccountType\": \"Non-Production\"\r\n },\r\n \"systemData\": {\r\n \"createdAt\": \"2021-03-29T18:55:08.4892993Z\"\r\n },\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"documentEndpoint\": \"https://test0329-zone.documents.azure.com:443/\",\r\n \"publicNetworkAccess\": \"Enabled\",\r\n \"enableAutomaticFailover\": false,\r\n \"enableMultipleWriteLocations\": false,\r\n \"enablePartitionKeyMonitor\": false,\r\n \"isVirtualNetworkFilterEnabled\": false,\r\n \"virtualNetworkRules\": [],\r\n \"EnabledApiTypes\": \"Sql\",\r\n \"disableKeyBasedMetadataWriteAccess\": false,\r\n \"enableFreeTier\": false,\r\n \"enableAnalyticalStorage\": false,\r\n \"analyticalStorageConfiguration\": {},\r\n \"instanceId\": \"69ca96eb-9694-4240-8f14-9f0d962764f3\",\r\n \"createMode\": \"Default\",\r\n \"databaseAccountOfferType\": \"Standard\",\r\n \"defaultIdentity\": \"FirstPartyIdentity\",\r\n \"networkAclBypass\": \"None\",\r\n \"disableLocalAuth\": false,\r\n \"consistencyPolicy\": {\r\n \"defaultConsistencyLevel\": \"Session\",\r\n \"maxIntervalInSeconds\": 5,\r\n \"maxStalenessPrefix\": 100\r\n },\r\n \"configurationOverrides\": {},\r\n \"writeLocations\": [\r\n {\r\n \"id\": \"test0329-zone-westus2\",\r\n \"locationName\": \"West US 2\",\r\n \"documentEndpoint\": \"https://test0329-zone-westus2.documents.azure.com:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"readLocations\": [\r\n {\r\n \"id\": \"test0329-zone-westus2\",\r\n \"locationName\": \"West US 2\",\r\n \"documentEndpoint\": \"https://test0329-zone-westus2.documents.azure.com:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n },\r\n {\r\n \"id\": \"test0329-zone-eastus\",\r\n \"locationName\": \"East US\",\r\n \"documentEndpoint\": \"https://test0329-zone-eastus.documents.azure.com:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 1,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"locations\": [\r\n {\r\n \"id\": \"test0329-zone-westus2\",\r\n \"locationName\": \"West US 2\",\r\n \"documentEndpoint\": \"https://test0329-zone-westus2.documents.azure.com:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n },\r\n {\r\n \"id\": \"test0329-zone-eastus\",\r\n \"locationName\": \"East US\",\r\n \"documentEndpoint\": \"https://test0329-zone-eastus.documents.azure.com:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 1,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"failoverPolicies\": [\r\n {\r\n \"id\": \"test0329-zone-westus2\",\r\n \"locationName\": \"West US 2\",\r\n \"failoverPriority\": 0\r\n },\r\n {\r\n \"id\": \"test0329-zone-eastus\",\r\n \"locationName\": \"East US\",\r\n \"failoverPriority\": 1\r\n }\r\n ],\r\n \"cors\": [],\r\n \"capabilities\": [],\r\n \"ipRules\": [],\r\n \"backupPolicy\": {\r\n \"type\": \"Periodic\",\r\n \"periodicModeProperties\": {\r\n \"backupIntervalInMinutes\": 240,\r\n \"backupRetentionIntervalInHours\": 8,\r\n \"backupStorageRedundancy\": \"Zone\"\r\n }\r\n },\r\n \"networkAclBypassResourceIds\": []\r\n },\r\n \"identity\": {\r\n \"type\": \"None\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/259fbb24-9bcd-4cfc-865c-fc33b22fe38a/resourceGroups/CosmosDBResourceGroup3668/providers/Microsoft.DocumentDB/databaseAccounts/co-wus2-amnonetemplate-cosmo-t011\",\r\n \"name\": \"co-wus2-amnonetemplate-cosmo-t011\",\r\n \"location\": \"West US 2\",\r\n \"type\": \"Microsoft.DocumentDB/databaseAccounts\",\r\n \"kind\": \"GlobalDocumentDB\",\r\n \"tags\": {\r\n \"application\": \"amnone\",\r\n \"charge-to\": \"101-71200-5000-9500\",\r\n \"role\": \"infrastructure\",\r\n \"environment\": \"Test\",\r\n \"amnonecomponent\": \"template\"\r\n },\r\n \"systemData\": {\r\n \"createdAt\": \"2021-06-10T19:45:25.014772Z\"\r\n },\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"documentEndpoint\": \"https://co-wus2-amnonetemplate-cosmo-t011.documents.azure.com:443/\",\r\n \"publicNetworkAccess\": \"Enabled\",\r\n \"enableAutomaticFailover\": false,\r\n \"enableMultipleWriteLocations\": false,\r\n \"enablePartitionKeyMonitor\": false,\r\n \"isVirtualNetworkFilterEnabled\": false,\r\n \"virtualNetworkRules\": [],\r\n \"EnabledApiTypes\": \"Sql\",\r\n \"disableKeyBasedMetadataWriteAccess\": false,\r\n \"enableFreeTier\": false,\r\n \"enableAnalyticalStorage\": false,\r\n \"analyticalStorageConfiguration\": {\r\n \"analyticalStorageSchemaType\": \"WellDefined\"\r\n },\r\n \"instanceId\": \"760b8a29-18fd-4e12-adb9-c9ec34af0d7e\",\r\n \"createMode\": \"Default\",\r\n \"databaseAccountOfferType\": \"Standard\",\r\n \"defaultIdentity\": \"FirstPartyIdentity\",\r\n \"networkAclBypass\": \"None\",\r\n \"disableLocalAuth\": false,\r\n \"consistencyPolicy\": {\r\n \"defaultConsistencyLevel\": \"Strong\",\r\n \"maxIntervalInSeconds\": 5,\r\n \"maxStalenessPrefix\": 100\r\n },\r\n \"configurationOverrides\": {},\r\n \"writeLocations\": [\r\n {\r\n \"id\": \"co-wus2-amnonetemplate-cosmo-t011-westus2\",\r\n \"locationName\": \"West US 2\",\r\n \"documentEndpoint\": \"https://co-wus2-amnonetemplate-cosmo-t011-westus2.documents.azure.com:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"readLocations\": [\r\n {\r\n \"id\": \"co-wus2-amnonetemplate-cosmo-t011-westus2\",\r\n \"locationName\": \"West US 2\",\r\n \"documentEndpoint\": \"https://co-wus2-amnonetemplate-cosmo-t011-westus2.documents.azure.com:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"locations\": [\r\n {\r\n \"id\": \"co-wus2-amnonetemplate-cosmo-t011-westus2\",\r\n \"locationName\": \"West US 2\",\r\n \"documentEndpoint\": \"https://co-wus2-amnonetemplate-cosmo-t011-westus2.documents.azure.com:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"failoverPolicies\": [\r\n {\r\n \"id\": \"co-wus2-amnonetemplate-cosmo-t011-westus2\",\r\n \"locationName\": \"West US 2\",\r\n \"failoverPriority\": 0\r\n }\r\n ],\r\n \"cors\": [],\r\n \"capabilities\": [],\r\n \"ipRules\": [\r\n {\r\n \"ipAddressOrRange\": \"40.125.122.212\"\r\n },\r\n {\r\n \"ipAddressOrRange\": \"104.42.195.92\"\r\n },\r\n {\r\n \"ipAddressOrRange\": \"40.76.54.131\"\r\n },\r\n {\r\n \"ipAddressOrRange\": \"52.176.6.30\"\r\n },\r\n {\r\n \"ipAddressOrRange\": \"52.169.50.45\"\r\n },\r\n {\r\n \"ipAddressOrRange\": \"52.187.184.26\"\r\n }\r\n ],\r\n \"backupPolicy\": {\r\n \"type\": \"Continuous\"\r\n },\r\n \"networkAclBypassResourceIds\": []\r\n },\r\n \"identity\": {\r\n \"type\": \"None\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/259fbb24-9bcd-4cfc-865c-fc33b22fe38a/resourceGroups/CosmosDBResourceGroup3668/providers/Microsoft.DocumentDB/databaseAccounts/co-wus2-amnonetemplate-cosmo-t012\",\r\n \"name\": \"co-wus2-amnonetemplate-cosmo-t012\",\r\n \"location\": \"West US 2\",\r\n \"type\": \"Microsoft.DocumentDB/databaseAccounts\",\r\n \"kind\": \"GlobalDocumentDB\",\r\n \"tags\": {\r\n \"application\": \"amnone\",\r\n \"charge-to\": \"101-71200-5000-9500\",\r\n \"role\": \"infrastructure\",\r\n \"environment\": \"Test\",\r\n \"amnonecomponent\": \"template\"\r\n },\r\n \"systemData\": {\r\n \"createdAt\": \"2021-06-10T19:59:33.7585986Z\"\r\n },\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"documentEndpoint\": \"https://co-wus2-amnonetemplate-cosmo-t012.documents.azure.com:443/\",\r\n \"publicNetworkAccess\": \"Enabled\",\r\n \"enableAutomaticFailover\": false,\r\n \"enableMultipleWriteLocations\": false,\r\n \"enablePartitionKeyMonitor\": false,\r\n \"isVirtualNetworkFilterEnabled\": false,\r\n \"virtualNetworkRules\": [],\r\n \"EnabledApiTypes\": \"Sql\",\r\n \"disableKeyBasedMetadataWriteAccess\": false,\r\n \"enableFreeTier\": false,\r\n \"enableAnalyticalStorage\": false,\r\n \"analyticalStorageConfiguration\": {\r\n \"analyticalStorageSchemaType\": \"WellDefined\"\r\n },\r\n \"instanceId\": \"c9e7de2e-cb5d-49a6-8b76-09df7e447d9f\",\r\n \"createMode\": \"Default\",\r\n \"databaseAccountOfferType\": \"Standard\",\r\n \"defaultIdentity\": \"FirstPartyIdentity\",\r\n \"networkAclBypass\": \"None\",\r\n \"disableLocalAuth\": false,\r\n \"consistencyPolicy\": {\r\n \"defaultConsistencyLevel\": \"Strong\",\r\n \"maxIntervalInSeconds\": 5,\r\n \"maxStalenessPrefix\": 100\r\n },\r\n \"configurationOverrides\": {},\r\n \"writeLocations\": [\r\n {\r\n \"id\": \"co-wus2-amnonetemplate-cosmo-t012-westus2\",\r\n \"locationName\": \"West US 2\",\r\n \"documentEndpoint\": \"https://co-wus2-amnonetemplate-cosmo-t012-westus2.documents.azure.com:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"readLocations\": [\r\n {\r\n \"id\": \"co-wus2-amnonetemplate-cosmo-t012-westus2\",\r\n \"locationName\": \"West US 2\",\r\n \"documentEndpoint\": \"https://co-wus2-amnonetemplate-cosmo-t012-westus2.documents.azure.com:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"locations\": [\r\n {\r\n \"id\": \"co-wus2-amnonetemplate-cosmo-t012-westus2\",\r\n \"locationName\": \"West US 2\",\r\n \"documentEndpoint\": \"https://co-wus2-amnonetemplate-cosmo-t012-westus2.documents.azure.com:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"failoverPolicies\": [\r\n {\r\n \"id\": \"co-wus2-amnonetemplate-cosmo-t012-westus2\",\r\n \"locationName\": \"West US 2\",\r\n \"failoverPriority\": 0\r\n }\r\n ],\r\n \"cors\": [],\r\n \"capabilities\": [],\r\n \"ipRules\": [\r\n {\r\n \"ipAddressOrRange\": \"40.125.122.212\"\r\n },\r\n {\r\n \"ipAddressOrRange\": \"104.42.195.92\"\r\n },\r\n {\r\n \"ipAddressOrRange\": \"40.76.54.131\"\r\n },\r\n {\r\n \"ipAddressOrRange\": \"52.176.6.30\"\r\n },\r\n {\r\n \"ipAddressOrRange\": \"52.169.50.45\"\r\n },\r\n {\r\n \"ipAddressOrRange\": \"52.187.184.26\"\r\n }\r\n ],\r\n \"backupPolicy\": {\r\n \"type\": \"Periodic\",\r\n \"periodicModeProperties\": {\r\n \"backupIntervalInMinutes\": 240,\r\n \"backupRetentionIntervalInHours\": 8,\r\n \"backupStorageRedundancy\": \"Geo\"\r\n }\r\n },\r\n \"networkAclBypassResourceIds\": []\r\n },\r\n \"identity\": {\r\n \"type\": \"None\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/259fbb24-9bcd-4cfc-865c-fc33b22fe38a/resourceGroups/CosmosDBResourceGroup3668/providers/Microsoft.DocumentDB/databaseAccounts/accountname1810\",\r\n \"name\": \"accountname1810\",\r\n \"location\": \"East US 2\",\r\n \"type\": \"Microsoft.DocumentDB/databaseAccounts\",\r\n \"kind\": \"GlobalDocumentDB\",\r\n \"tags\": {},\r\n \"systemData\": {\r\n \"createdAt\": \"2021-02-09T19:27:53.2441895Z\"\r\n },\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"documentEndpoint\": \"https://accountname1810.documents.azure.com:443/\",\r\n \"publicNetworkAccess\": \"Enabled\",\r\n \"enableAutomaticFailover\": false,\r\n \"enableMultipleWriteLocations\": false,\r\n \"enablePartitionKeyMonitor\": false,\r\n \"isVirtualNetworkFilterEnabled\": false,\r\n \"virtualNetworkRules\": [],\r\n \"EnabledApiTypes\": \"Sql\",\r\n \"disableKeyBasedMetadataWriteAccess\": false,\r\n \"enableFreeTier\": false,\r\n \"enableAnalyticalStorage\": false,\r\n \"analyticalStorageConfiguration\": {},\r\n \"instanceId\": \"bbcddd1c-3776-4380-afd4-7dd38b207ed4\",\r\n \"createMode\": \"Default\",\r\n \"databaseAccountOfferType\": \"Standard\",\r\n \"defaultIdentity\": \"\",\r\n \"networkAclBypass\": \"None\",\r\n \"disableLocalAuth\": false,\r\n \"consistencyPolicy\": {\r\n \"defaultConsistencyLevel\": \"Session\",\r\n \"maxIntervalInSeconds\": 5,\r\n \"maxStalenessPrefix\": 100\r\n },\r\n \"configurationOverrides\": {},\r\n \"writeLocations\": [\r\n {\r\n \"id\": \"accountname1810-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://accountname1810-eastus2.documents.azure.com:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"readLocations\": [\r\n {\r\n \"id\": \"accountname1810-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://accountname1810-eastus2.documents.azure.com:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"locations\": [\r\n {\r\n \"id\": \"accountname1810-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://accountname1810-eastus2.documents.azure.com:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"failoverPolicies\": [\r\n {\r\n \"id\": \"accountname1810-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"failoverPriority\": 0\r\n }\r\n ],\r\n \"cors\": [],\r\n \"capabilities\": [],\r\n \"ipRules\": [],\r\n \"backupPolicy\": {\r\n \"type\": \"Periodic\",\r\n \"periodicModeProperties\": {\r\n \"backupIntervalInMinutes\": 240,\r\n \"backupRetentionIntervalInHours\": 8,\r\n \"backupStorageRedundancy\": \"Geo\"\r\n }\r\n },\r\n \"networkAclBypassResourceIds\": []\r\n },\r\n \"identity\": {\r\n \"type\": \"None\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/259fbb24-9bcd-4cfc-865c-fc33b22fe38a/resourceGroups/CosmosDBResourceGroup3668/providers/Microsoft.DocumentDB/databaseAccounts/db2048\",\r\n \"name\": \"db2048\",\r\n \"location\": \"East US 2\",\r\n \"type\": \"Microsoft.DocumentDB/databaseAccounts\",\r\n \"kind\": \"GlobalDocumentDB\",\r\n \"tags\": {\r\n \"defaultExperience\": \"Azure Table\",\r\n \"hidden-cosmos-mmspecial\": \"\",\r\n \"CosmosAccountType\": \"Non-Production\"\r\n },\r\n \"systemData\": {\r\n \"createdAt\": \"2021-02-09T19:42:16.999702Z\"\r\n },\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"documentEndpoint\": \"https://db2048.documents.azure.com:443/\",\r\n \"tableEndpoint\": \"https://db2048.table.cosmos.azure.com:443/\",\r\n \"publicNetworkAccess\": \"Enabled\",\r\n \"enableAutomaticFailover\": false,\r\n \"enableMultipleWriteLocations\": false,\r\n \"enablePartitionKeyMonitor\": false,\r\n \"isVirtualNetworkFilterEnabled\": false,\r\n \"virtualNetworkRules\": [],\r\n \"EnabledApiTypes\": \"Table, Sql\",\r\n \"disableKeyBasedMetadataWriteAccess\": false,\r\n \"enableFreeTier\": false,\r\n \"enableAnalyticalStorage\": false,\r\n \"analyticalStorageConfiguration\": {},\r\n \"instanceId\": \"30ae2025-1bbd-4642-bc86-92b2a3f3b37b\",\r\n \"createMode\": \"Default\",\r\n \"databaseAccountOfferType\": \"Standard\",\r\n \"defaultIdentity\": \"\",\r\n \"networkAclBypass\": \"None\",\r\n \"disableLocalAuth\": false,\r\n \"consistencyPolicy\": {\r\n \"defaultConsistencyLevel\": \"BoundedStaleness\",\r\n \"maxIntervalInSeconds\": 86400,\r\n \"maxStalenessPrefix\": 1000000\r\n },\r\n \"configurationOverrides\": {},\r\n \"writeLocations\": [\r\n {\r\n \"id\": \"db2048-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://db2048-eastus2.documents.azure.com:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"readLocations\": [\r\n {\r\n \"id\": \"db2048-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://db2048-eastus2.documents.azure.com:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"locations\": [\r\n {\r\n \"id\": \"db2048-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://db2048-eastus2.documents.azure.com:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"failoverPolicies\": [\r\n {\r\n \"id\": \"db2048-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"failoverPriority\": 0\r\n }\r\n ],\r\n \"cors\": [],\r\n \"capabilities\": [\r\n {\r\n \"name\": \"EnableTable\"\r\n }\r\n ],\r\n \"ipRules\": [],\r\n \"backupPolicy\": {\r\n \"type\": \"Periodic\",\r\n \"periodicModeProperties\": {\r\n \"backupIntervalInMinutes\": 240,\r\n \"backupRetentionIntervalInHours\": 8,\r\n \"backupStorageRedundancy\": \"Geo\"\r\n }\r\n },\r\n \"networkAclBypassResourceIds\": []\r\n },\r\n \"identity\": {\r\n \"type\": \"None\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/259fbb24-9bcd-4cfc-865c-fc33b22fe38a/resourceGroups/CosmosDBResourceGroup3668/providers/Microsoft.DocumentDB/databaseAccounts/db001-test\",\r\n \"name\": \"db001-test\",\r\n \"location\": \"East US 2\",\r\n \"type\": \"Microsoft.DocumentDB/databaseAccounts\",\r\n \"kind\": \"MongoDB\",\r\n \"tags\": {},\r\n \"systemData\": {\r\n \"createdAt\": \"2021-02-09T19:57:13.9692694Z\"\r\n },\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"documentEndpoint\": \"https://db001-test.documents.azure.com:443/\",\r\n \"mongoEndpoint\": \"https://db001-test.mongo.cosmos.azure.com:443/\",\r\n \"publicNetworkAccess\": \"Enabled\",\r\n \"enableAutomaticFailover\": false,\r\n \"enableMultipleWriteLocations\": false,\r\n \"enablePartitionKeyMonitor\": false,\r\n \"isVirtualNetworkFilterEnabled\": false,\r\n \"virtualNetworkRules\": [],\r\n \"EnabledApiTypes\": \"MongoDB\",\r\n \"disableKeyBasedMetadataWriteAccess\": false,\r\n \"enableFreeTier\": false,\r\n \"enableAnalyticalStorage\": false,\r\n \"analyticalStorageConfiguration\": {},\r\n \"instanceId\": \"57c70f2e-5d12-4cdd-9ed8-84e14f511529\",\r\n \"createMode\": \"Default\",\r\n \"databaseAccountOfferType\": \"Standard\",\r\n \"defaultIdentity\": \"\",\r\n \"networkAclBypass\": \"None\",\r\n \"disableLocalAuth\": false,\r\n \"consistencyPolicy\": {\r\n \"defaultConsistencyLevel\": \"Session\",\r\n \"maxIntervalInSeconds\": 5,\r\n \"maxStalenessPrefix\": 100\r\n },\r\n \"apiProperties\": {\r\n \"serverVersion\": \"3.6\"\r\n },\r\n \"configurationOverrides\": {\r\n \"EnableBsonSchema\": \"True\"\r\n },\r\n \"writeLocations\": [\r\n {\r\n \"id\": \"db001-test-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://db001-test-eastus2.documents.azure.com:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"readLocations\": [\r\n {\r\n \"id\": \"db001-test-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://db001-test-eastus2.documents.azure.com:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"locations\": [\r\n {\r\n \"id\": \"db001-test-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://db001-test-eastus2.documents.azure.com:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"failoverPolicies\": [\r\n {\r\n \"id\": \"db001-test-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"failoverPriority\": 0\r\n }\r\n ],\r\n \"cors\": [],\r\n \"capabilities\": [\r\n {\r\n \"name\": \"EnableMongo\"\r\n }\r\n ],\r\n \"ipRules\": [],\r\n \"backupPolicy\": {\r\n \"type\": \"Periodic\",\r\n \"periodicModeProperties\": {\r\n \"backupIntervalInMinutes\": 240,\r\n \"backupRetentionIntervalInHours\": 8,\r\n \"backupStorageRedundancy\": \"Geo\"\r\n }\r\n },\r\n \"networkAclBypassResourceIds\": []\r\n },\r\n \"identity\": {\r\n \"type\": \"None\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/259fbb24-9bcd-4cfc-865c-fc33b22fe38a/resourceGroups/CosmosDBResourceGroup3668/providers/Microsoft.DocumentDB/databaseAccounts/db4096\",\r\n \"name\": \"db4096\",\r\n \"location\": \"East US 2\",\r\n \"type\": \"Microsoft.DocumentDB/databaseAccounts\",\r\n \"kind\": \"GlobalDocumentDB\",\r\n \"tags\": {\r\n \"defaultExperience\": \"Gremlin (graph)\",\r\n \"hidden-cosmos-mmspecial\": \"\",\r\n \"CosmosAccountType\": \"Non-Production\"\r\n },\r\n \"systemData\": {\r\n \"createdAt\": \"2021-02-09T20:04:27.0791866Z\"\r\n },\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"documentEndpoint\": \"https://db4096.documents.azure.com:443/\",\r\n \"gremlinEndpoint\": \"https://db4096.gremlin.cosmos.azure.com:443/\",\r\n \"publicNetworkAccess\": \"Enabled\",\r\n \"enableAutomaticFailover\": false,\r\n \"enableMultipleWriteLocations\": false,\r\n \"enablePartitionKeyMonitor\": false,\r\n \"isVirtualNetworkFilterEnabled\": false,\r\n \"virtualNetworkRules\": [],\r\n \"EnabledApiTypes\": \"Gremlin, Sql\",\r\n \"disableKeyBasedMetadataWriteAccess\": false,\r\n \"enableFreeTier\": false,\r\n \"enableAnalyticalStorage\": false,\r\n \"analyticalStorageConfiguration\": {},\r\n \"instanceId\": \"7d559a00-61f2-4cd3-a25a-e78b42d7e8a2\",\r\n \"createMode\": \"Default\",\r\n \"databaseAccountOfferType\": \"Standard\",\r\n \"defaultIdentity\": \"\",\r\n \"networkAclBypass\": \"None\",\r\n \"disableLocalAuth\": false,\r\n \"consistencyPolicy\": {\r\n \"defaultConsistencyLevel\": \"Session\",\r\n \"maxIntervalInSeconds\": 5,\r\n \"maxStalenessPrefix\": 100\r\n },\r\n \"configurationOverrides\": {},\r\n \"writeLocations\": [\r\n {\r\n \"id\": \"db4096-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://db4096-eastus2.documents.azure.com:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"readLocations\": [\r\n {\r\n \"id\": \"db4096-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://db4096-eastus2.documents.azure.com:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"locations\": [\r\n {\r\n \"id\": \"db4096-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://db4096-eastus2.documents.azure.com:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"failoverPolicies\": [\r\n {\r\n \"id\": \"db4096-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"failoverPriority\": 0\r\n }\r\n ],\r\n \"cors\": [],\r\n \"capabilities\": [\r\n {\r\n \"name\": \"EnableGremlin\"\r\n }\r\n ],\r\n \"ipRules\": [],\r\n \"backupPolicy\": {\r\n \"type\": \"Periodic\",\r\n \"periodicModeProperties\": {\r\n \"backupIntervalInMinutes\": 240,\r\n \"backupRetentionIntervalInHours\": 8,\r\n \"backupStorageRedundancy\": \"Geo\"\r\n }\r\n },\r\n \"networkAclBypassResourceIds\": []\r\n },\r\n \"identity\": {\r\n \"type\": \"None\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/259fbb24-9bcd-4cfc-865c-fc33b22fe38a/resourceGroups/CosmosDBResourceGroup3668/providers/Microsoft.DocumentDB/databaseAccounts/db8192\",\r\n \"name\": \"db8192\",\r\n \"location\": \"East US 2\",\r\n \"type\": \"Microsoft.DocumentDB/databaseAccounts\",\r\n \"kind\": \"GlobalDocumentDB\",\r\n \"tags\": {\r\n \"defaultExperience\": \"Cassandra\",\r\n \"hidden-cosmos-mmspecial\": \"\",\r\n \"CosmosAccountType\": \"Non-Production\"\r\n },\r\n \"systemData\": {\r\n \"createdAt\": \"2021-02-09T20:12:54.0324485Z\"\r\n },\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"documentEndpoint\": \"https://db8192.documents.azure.com:443/\",\r\n \"cassandraEndpoint\": \"https://db8192.cassandra.cosmos.azure.com:443/\",\r\n \"publicNetworkAccess\": \"Enabled\",\r\n \"enableAutomaticFailover\": false,\r\n \"enableMultipleWriteLocations\": false,\r\n \"enablePartitionKeyMonitor\": false,\r\n \"isVirtualNetworkFilterEnabled\": false,\r\n \"virtualNetworkRules\": [],\r\n \"EnabledApiTypes\": \"Cassandra\",\r\n \"disableKeyBasedMetadataWriteAccess\": false,\r\n \"enableFreeTier\": false,\r\n \"enableAnalyticalStorage\": false,\r\n \"analyticalStorageConfiguration\": {},\r\n \"instanceId\": \"dda94333-0150-44b4-be66-2eba77251036\",\r\n \"createMode\": \"Default\",\r\n \"databaseAccountOfferType\": \"Standard\",\r\n \"defaultIdentity\": \"\",\r\n \"networkAclBypass\": \"None\",\r\n \"disableLocalAuth\": false,\r\n \"consistencyPolicy\": {\r\n \"defaultConsistencyLevel\": \"Session\",\r\n \"maxIntervalInSeconds\": 5,\r\n \"maxStalenessPrefix\": 100\r\n },\r\n \"configurationOverrides\": {},\r\n \"writeLocations\": [\r\n {\r\n \"id\": \"db8192-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://db8192-eastus2.documents.azure.com:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"readLocations\": [\r\n {\r\n \"id\": \"db8192-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://db8192-eastus2.documents.azure.com:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"locations\": [\r\n {\r\n \"id\": \"db8192-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://db8192-eastus2.documents.azure.com:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"failoverPolicies\": [\r\n {\r\n \"id\": \"db8192-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"failoverPriority\": 0\r\n }\r\n ],\r\n \"cors\": [],\r\n \"capabilities\": [\r\n {\r\n \"name\": \"EnableCassandra\"\r\n }\r\n ],\r\n \"ipRules\": [],\r\n \"backupPolicy\": {\r\n \"type\": \"Periodic\",\r\n \"periodicModeProperties\": {\r\n \"backupIntervalInMinutes\": 240,\r\n \"backupRetentionIntervalInHours\": 8,\r\n \"backupStorageRedundancy\": \"Geo\"\r\n }\r\n },\r\n \"networkAclBypassResourceIds\": []\r\n },\r\n \"identity\": {\r\n \"type\": \"None\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/259fbb24-9bcd-4cfc-865c-fc33b22fe38a/resourceGroups/CosmosDBResourceGroup3668/providers/Microsoft.DocumentDB/databaseAccounts/db1024\",\r\n \"name\": \"db1024\",\r\n \"location\": \"East US 2\",\r\n \"type\": \"Microsoft.DocumentDB/databaseAccounts\",\r\n \"kind\": \"GlobalDocumentDB\",\r\n \"tags\": {},\r\n \"systemData\": {\r\n \"createdAt\": \"2021-06-02T08:14:36.6199599Z\"\r\n },\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"documentEndpoint\": \"https://db1024.documents.azure.com:443/\",\r\n \"publicNetworkAccess\": \"Enabled\",\r\n \"enableAutomaticFailover\": false,\r\n \"enableMultipleWriteLocations\": false,\r\n \"enablePartitionKeyMonitor\": false,\r\n \"isVirtualNetworkFilterEnabled\": false,\r\n \"virtualNetworkRules\": [],\r\n \"EnabledApiTypes\": \"Sql\",\r\n \"disableKeyBasedMetadataWriteAccess\": false,\r\n \"enableFreeTier\": false,\r\n \"enableAnalyticalStorage\": false,\r\n \"analyticalStorageConfiguration\": {\r\n \"analyticalStorageSchemaType\": \"WellDefined\"\r\n },\r\n \"instanceId\": \"5dac8423-a56a-42db-a60b-74f714c2b79b\",\r\n \"createMode\": \"Default\",\r\n \"databaseAccountOfferType\": \"Standard\",\r\n \"defaultIdentity\": \"FirstPartyIdentity\",\r\n \"networkAclBypass\": \"None\",\r\n \"disableLocalAuth\": false,\r\n \"consistencyPolicy\": {\r\n \"defaultConsistencyLevel\": \"Session\",\r\n \"maxIntervalInSeconds\": 5,\r\n \"maxStalenessPrefix\": 100\r\n },\r\n \"configurationOverrides\": {},\r\n \"writeLocations\": [\r\n {\r\n \"id\": \"db1024-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://db1024-eastus2.documents.azure.com:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"readLocations\": [\r\n {\r\n \"id\": \"db1024-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://db1024-eastus2.documents.azure.com:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"locations\": [\r\n {\r\n \"id\": \"db1024-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://db1024-eastus2.documents.azure.com:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"failoverPolicies\": [\r\n {\r\n \"id\": \"db1024-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"failoverPriority\": 0\r\n }\r\n ],\r\n \"cors\": [],\r\n \"capabilities\": [],\r\n \"ipRules\": [],\r\n \"backupPolicy\": {\r\n \"type\": \"Periodic\",\r\n \"periodicModeProperties\": {\r\n \"backupIntervalInMinutes\": 240,\r\n \"backupRetentionIntervalInHours\": 8,\r\n \"backupStorageRedundancy\": \"Geo\"\r\n }\r\n },\r\n \"networkAclBypassResourceIds\": []\r\n },\r\n \"identity\": {\r\n \"type\": \"None\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/259fbb24-9bcd-4cfc-865c-fc33b22fe38a/resourceGroups/CosmosDBResourceGroup3668/providers/Microsoft.DocumentDB/databaseAccounts/mongotestaccount\",\r\n \"name\": \"mongotestaccount\",\r\n \"location\": \"East US 2\",\r\n \"type\": \"Microsoft.DocumentDB/databaseAccounts\",\r\n \"kind\": \"MongoDB\",\r\n \"tags\": {\r\n \"defaultExperience\": \"Azure Cosmos DB for MongoDB API\",\r\n \"hidden-cosmos-mmspecial\": \"\"\r\n },\r\n \"systemData\": {\r\n \"createdAt\": \"2021-06-02T19:34:25.9844437Z\"\r\n },\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"documentEndpoint\": \"https://mongotestaccount.documents.azure.com:443/\",\r\n \"mongoEndpoint\": \"https://mongotestaccount.mongo.cosmos.azure.com:443/\",\r\n \"publicNetworkAccess\": \"Enabled\",\r\n \"enableAutomaticFailover\": false,\r\n \"enableMultipleWriteLocations\": false,\r\n \"enablePartitionKeyMonitor\": false,\r\n \"isVirtualNetworkFilterEnabled\": false,\r\n \"virtualNetworkRules\": [],\r\n \"EnabledApiTypes\": \"MongoDB\",\r\n \"disableKeyBasedMetadataWriteAccess\": false,\r\n \"enableFreeTier\": false,\r\n \"enableAnalyticalStorage\": false,\r\n \"analyticalStorageConfiguration\": {\r\n \"analyticalStorageSchemaType\": \"FullFidelity\"\r\n },\r\n \"instanceId\": \"fccbe297-cb19-424b-a8d7-e996a6b7b689\",\r\n \"createMode\": \"Default\",\r\n \"databaseAccountOfferType\": \"Standard\",\r\n \"defaultIdentity\": \"FirstPartyIdentity\",\r\n \"networkAclBypass\": \"None\",\r\n \"disableLocalAuth\": false,\r\n \"consistencyPolicy\": {\r\n \"defaultConsistencyLevel\": \"Session\",\r\n \"maxIntervalInSeconds\": 5,\r\n \"maxStalenessPrefix\": 100\r\n },\r\n \"apiProperties\": {\r\n \"serverVersion\": \"4.0\"\r\n },\r\n \"configurationOverrides\": {\r\n \"EnableBsonSchema\": \"True\"\r\n },\r\n \"writeLocations\": [\r\n {\r\n \"id\": \"mongotestaccount-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://mongotestaccount-eastus2.documents.azure.com:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"readLocations\": [\r\n {\r\n \"id\": \"mongotestaccount-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://mongotestaccount-eastus2.documents.azure.com:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"locations\": [\r\n {\r\n \"id\": \"mongotestaccount-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://mongotestaccount-eastus2.documents.azure.com:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"failoverPolicies\": [\r\n {\r\n \"id\": \"mongotestaccount-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"failoverPriority\": 0\r\n }\r\n ],\r\n \"cors\": [],\r\n \"capabilities\": [\r\n {\r\n \"name\": \"EnableMongo\"\r\n },\r\n {\r\n \"name\": \"DisableRateLimitingResponses\"\r\n }\r\n ],\r\n \"ipRules\": [],\r\n \"backupPolicy\": {\r\n \"type\": \"Continuous\"\r\n },\r\n \"networkAclBypassResourceIds\": []\r\n },\r\n \"identity\": {\r\n \"type\": \"None\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/259fbb24-9bcd-4cfc-865c-fc33b22fe38a/resourceGroups/CosmosDBResourceGroup3668/providers/Microsoft.DocumentDB/databaseAccounts/pitr-sql-stage-source\",\r\n \"name\": \"pitr-sql-stage-source\",\r\n \"location\": \"East US 2\",\r\n \"type\": \"Microsoft.DocumentDB/databaseAccounts\",\r\n \"kind\": \"GlobalDocumentDB\",\r\n \"tags\": {\r\n \"defaultExperience\": \"Core (SQL)\",\r\n \"hidden-cosmos-mmspecial\": \"\"\r\n },\r\n \"systemData\": {\r\n \"createdAt\": \"2021-06-02T23:30:42.158286Z\"\r\n },\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"documentEndpoint\": \"https://pitr-sql-stage-source.documents.azure.com:443/\",\r\n \"publicNetworkAccess\": \"Enabled\",\r\n \"enableAutomaticFailover\": false,\r\n \"enableMultipleWriteLocations\": false,\r\n \"enablePartitionKeyMonitor\": false,\r\n \"isVirtualNetworkFilterEnabled\": false,\r\n \"virtualNetworkRules\": [],\r\n \"EnabledApiTypes\": \"Sql\",\r\n \"disableKeyBasedMetadataWriteAccess\": false,\r\n \"enableFreeTier\": false,\r\n \"enableAnalyticalStorage\": false,\r\n \"analyticalStorageConfiguration\": {\r\n \"analyticalStorageSchemaType\": \"WellDefined\"\r\n },\r\n \"instanceId\": \"c6b53e1d-0dec-4ff2-ab70-2e9d24a3ed27\",\r\n \"createMode\": \"Default\",\r\n \"databaseAccountOfferType\": \"Standard\",\r\n \"defaultIdentity\": \"FirstPartyIdentity\",\r\n \"networkAclBypass\": \"None\",\r\n \"disableLocalAuth\": false,\r\n \"consistencyPolicy\": {\r\n \"defaultConsistencyLevel\": \"Session\",\r\n \"maxIntervalInSeconds\": 5,\r\n \"maxStalenessPrefix\": 100\r\n },\r\n \"configurationOverrides\": {},\r\n \"writeLocations\": [\r\n {\r\n \"id\": \"pitr-sql-stage-source-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://pitr-sql-stage-source-eastus2.documents.azure.com:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"readLocations\": [\r\n {\r\n \"id\": \"pitr-sql-stage-source-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://pitr-sql-stage-source-eastus2.documents.azure.com:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"locations\": [\r\n {\r\n \"id\": \"pitr-sql-stage-source-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://pitr-sql-stage-source-eastus2.documents.azure.com:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"failoverPolicies\": [\r\n {\r\n \"id\": \"pitr-sql-stage-source-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"failoverPriority\": 0\r\n }\r\n ],\r\n \"cors\": [],\r\n \"capabilities\": [],\r\n \"ipRules\": [],\r\n \"backupPolicy\": {\r\n \"type\": \"Continuous\"\r\n },\r\n \"networkAclBypassResourceIds\": []\r\n },\r\n \"identity\": {\r\n \"type\": \"None\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/259fbb24-9bcd-4cfc-865c-fc33b22fe38a/resourceGroups/CosmosDBResourceGroup3668/providers/Microsoft.DocumentDB/databaseAccounts/pitr-mongo32-stage-source\",\r\n \"name\": \"pitr-mongo32-stage-source\",\r\n \"location\": \"East US 2\",\r\n \"type\": \"Microsoft.DocumentDB/databaseAccounts\",\r\n \"kind\": \"MongoDB\",\r\n \"tags\": {\r\n \"defaultExperience\": \"Azure Cosmos DB for MongoDB API\",\r\n \"hidden-cosmos-mmspecial\": \"\"\r\n },\r\n \"systemData\": {\r\n \"createdAt\": \"2021-06-02T23:32:30.6744226Z\"\r\n },\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"documentEndpoint\": \"https://pitr-mongo32-stage-source.documents.azure.com:443/\",\r\n \"mongoEndpoint\": \"https://pitr-mongo32-stage-source.mongo.cosmos.azure.com:443/\",\r\n \"publicNetworkAccess\": \"Enabled\",\r\n \"enableAutomaticFailover\": false,\r\n \"enableMultipleWriteLocations\": false,\r\n \"enablePartitionKeyMonitor\": false,\r\n \"isVirtualNetworkFilterEnabled\": false,\r\n \"virtualNetworkRules\": [],\r\n \"EnabledApiTypes\": \"MongoDB\",\r\n \"disableKeyBasedMetadataWriteAccess\": false,\r\n \"enableFreeTier\": false,\r\n \"enableAnalyticalStorage\": false,\r\n \"analyticalStorageConfiguration\": {\r\n \"analyticalStorageSchemaType\": \"FullFidelity\"\r\n },\r\n \"instanceId\": \"990590c0-4db8-4b0e-96ef-55f0be03615d\",\r\n \"createMode\": \"Default\",\r\n \"databaseAccountOfferType\": \"Standard\",\r\n \"defaultIdentity\": \"FirstPartyIdentity\",\r\n \"networkAclBypass\": \"None\",\r\n \"disableLocalAuth\": false,\r\n \"consistencyPolicy\": {\r\n \"defaultConsistencyLevel\": \"Session\",\r\n \"maxIntervalInSeconds\": 5,\r\n \"maxStalenessPrefix\": 100\r\n },\r\n \"apiProperties\": {\r\n \"serverVersion\": \"4.0\"\r\n },\r\n \"configurationOverrides\": {\r\n \"EnableBsonSchema\": \"True\"\r\n },\r\n \"writeLocations\": [\r\n {\r\n \"id\": \"pitr-mongo32-stage-source-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://pitr-mongo32-stage-source-eastus2.documents.azure.com:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"readLocations\": [\r\n {\r\n \"id\": \"pitr-mongo32-stage-source-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://pitr-mongo32-stage-source-eastus2.documents.azure.com:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"locations\": [\r\n {\r\n \"id\": \"pitr-mongo32-stage-source-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://pitr-mongo32-stage-source-eastus2.documents.azure.com:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"failoverPolicies\": [\r\n {\r\n \"id\": \"pitr-mongo32-stage-source-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"failoverPriority\": 0\r\n }\r\n ],\r\n \"cors\": [],\r\n \"capabilities\": [\r\n {\r\n \"name\": \"EnableMongo\"\r\n },\r\n {\r\n \"name\": \"DisableRateLimitingResponses\"\r\n }\r\n ],\r\n \"ipRules\": [],\r\n \"backupPolicy\": {\r\n \"type\": \"Continuous\"\r\n },\r\n \"networkAclBypassResourceIds\": []\r\n },\r\n \"identity\": {\r\n \"type\": \"None\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/259fbb24-9bcd-4cfc-865c-fc33b22fe38a/resourceGroups/CosmosDBResourceGroup3668/providers/Microsoft.DocumentDB/databaseAccounts/pitr-mongo36-stage-source\",\r\n \"name\": \"pitr-mongo36-stage-source\",\r\n \"location\": \"East US 2\",\r\n \"type\": \"Microsoft.DocumentDB/databaseAccounts\",\r\n \"kind\": \"MongoDB\",\r\n \"tags\": {\r\n \"defaultExperience\": \"Azure Cosmos DB for MongoDB API\",\r\n \"hidden-cosmos-mmspecial\": \"\"\r\n },\r\n \"systemData\": {\r\n \"createdAt\": \"2021-06-02T23:33:00.4293513Z\"\r\n },\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"documentEndpoint\": \"https://pitr-mongo36-stage-source.documents.azure.com:443/\",\r\n \"mongoEndpoint\": \"https://pitr-mongo36-stage-source.mongo.cosmos.azure.com:443/\",\r\n \"publicNetworkAccess\": \"Enabled\",\r\n \"enableAutomaticFailover\": false,\r\n \"enableMultipleWriteLocations\": false,\r\n \"enablePartitionKeyMonitor\": false,\r\n \"isVirtualNetworkFilterEnabled\": false,\r\n \"virtualNetworkRules\": [],\r\n \"EnabledApiTypes\": \"MongoDB\",\r\n \"disableKeyBasedMetadataWriteAccess\": false,\r\n \"enableFreeTier\": false,\r\n \"enableAnalyticalStorage\": false,\r\n \"analyticalStorageConfiguration\": {\r\n \"analyticalStorageSchemaType\": \"FullFidelity\"\r\n },\r\n \"instanceId\": \"60a54911-db9e-436f-b282-34779e0a2a7f\",\r\n \"createMode\": \"Default\",\r\n \"databaseAccountOfferType\": \"Standard\",\r\n \"defaultIdentity\": \"FirstPartyIdentity\",\r\n \"networkAclBypass\": \"None\",\r\n \"disableLocalAuth\": false,\r\n \"consistencyPolicy\": {\r\n \"defaultConsistencyLevel\": \"Session\",\r\n \"maxIntervalInSeconds\": 5,\r\n \"maxStalenessPrefix\": 100\r\n },\r\n \"apiProperties\": {\r\n \"serverVersion\": \"4.0\"\r\n },\r\n \"configurationOverrides\": {\r\n \"EnableBsonSchema\": \"True\"\r\n },\r\n \"writeLocations\": [\r\n {\r\n \"id\": \"pitr-mongo36-stage-source-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://pitr-mongo36-stage-source-eastus2.documents.azure.com:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"readLocations\": [\r\n {\r\n \"id\": \"pitr-mongo36-stage-source-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://pitr-mongo36-stage-source-eastus2.documents.azure.com:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"locations\": [\r\n {\r\n \"id\": \"pitr-mongo36-stage-source-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://pitr-mongo36-stage-source-eastus2.documents.azure.com:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"failoverPolicies\": [\r\n {\r\n \"id\": \"pitr-mongo36-stage-source-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"failoverPriority\": 0\r\n }\r\n ],\r\n \"cors\": [],\r\n \"capabilities\": [\r\n {\r\n \"name\": \"EnableMongo\"\r\n },\r\n {\r\n \"name\": \"DisableRateLimitingResponses\"\r\n }\r\n ],\r\n \"ipRules\": [],\r\n \"backupPolicy\": {\r\n \"type\": \"Continuous\"\r\n },\r\n \"networkAclBypassResourceIds\": []\r\n },\r\n \"identity\": {\r\n \"type\": \"None\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/259fbb24-9bcd-4cfc-865c-fc33b22fe38a/resourceGroups/CosmosDBResourceGroup3668/providers/Microsoft.DocumentDB/databaseAccounts/mongo-continuous-1212\",\r\n \"name\": \"mongo-continuous-1212\",\r\n \"location\": \"East US 2\",\r\n \"type\": \"Microsoft.DocumentDB/databaseAccounts\",\r\n \"kind\": \"MongoDB\",\r\n \"tags\": {\r\n \"defaultExperience\": \"Azure Cosmos DB for MongoDB API\",\r\n \"hidden-cosmos-mmspecial\": \"\"\r\n },\r\n \"systemData\": {\r\n \"createdAt\": \"2021-06-04T22:09:25.2046679Z\"\r\n },\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"documentEndpoint\": \"https://mongo-continuous-1212.documents.azure.com:443/\",\r\n \"mongoEndpoint\": \"https://mongo-continuous-1212.mongo.cosmos.azure.com:443/\",\r\n \"publicNetworkAccess\": \"Enabled\",\r\n \"enableAutomaticFailover\": false,\r\n \"enableMultipleWriteLocations\": false,\r\n \"enablePartitionKeyMonitor\": false,\r\n \"isVirtualNetworkFilterEnabled\": false,\r\n \"virtualNetworkRules\": [],\r\n \"EnabledApiTypes\": \"MongoDB\",\r\n \"disableKeyBasedMetadataWriteAccess\": false,\r\n \"enableFreeTier\": false,\r\n \"enableAnalyticalStorage\": false,\r\n \"analyticalStorageConfiguration\": {\r\n \"analyticalStorageSchemaType\": \"FullFidelity\"\r\n },\r\n \"instanceId\": \"b0736fc7-cb53-4b6f-bd2f-aac904085da4\",\r\n \"createMode\": \"Default\",\r\n \"databaseAccountOfferType\": \"Standard\",\r\n \"defaultIdentity\": \"FirstPartyIdentity\",\r\n \"networkAclBypass\": \"None\",\r\n \"disableLocalAuth\": false,\r\n \"consistencyPolicy\": {\r\n \"defaultConsistencyLevel\": \"Session\",\r\n \"maxIntervalInSeconds\": 5,\r\n \"maxStalenessPrefix\": 100\r\n },\r\n \"apiProperties\": {\r\n \"serverVersion\": \"4.0\"\r\n },\r\n \"configurationOverrides\": {\r\n \"EnableBsonSchema\": \"True\"\r\n },\r\n \"writeLocations\": [\r\n {\r\n \"id\": \"mongo-continuous-1212-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://mongo-continuous-1212-eastus2.documents.azure.com:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"readLocations\": [\r\n {\r\n \"id\": \"mongo-continuous-1212-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://mongo-continuous-1212-eastus2.documents.azure.com:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"locations\": [\r\n {\r\n \"id\": \"mongo-continuous-1212-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://mongo-continuous-1212-eastus2.documents.azure.com:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"failoverPolicies\": [\r\n {\r\n \"id\": \"mongo-continuous-1212-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"failoverPriority\": 0\r\n }\r\n ],\r\n \"cors\": [],\r\n \"capabilities\": [\r\n {\r\n \"name\": \"EnableMongo\"\r\n },\r\n {\r\n \"name\": \"DisableRateLimitingResponses\"\r\n }\r\n ],\r\n \"ipRules\": [],\r\n \"backupPolicy\": {\r\n \"type\": \"Continuous\"\r\n },\r\n \"networkAclBypassResourceIds\": []\r\n },\r\n \"identity\": {\r\n \"type\": \"None\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/259fbb24-9bcd-4cfc-865c-fc33b22fe38a/resourceGroups/CosmosDBResourceGroup27/providers/Microsoft.DocumentDB/databaseAccounts/table-db2527\",\r\n \"name\": \"table-db2527\",\r\n \"location\": \"East US 2\",\r\n \"type\": \"Microsoft.DocumentDB/databaseAccounts\",\r\n \"kind\": \"GlobalDocumentDB\",\r\n \"tags\": {\r\n \"defaultExperience\": \"Azure Table\",\r\n \"hidden-cosmos-mmspecial\": \"\"\r\n },\r\n \"systemData\": {\r\n \"createdAt\": \"2021-06-07T20:02:00.7424001Z\"\r\n },\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"documentEndpoint\": \"https://table-db2527.documents.azure.com:443/\",\r\n \"tableEndpoint\": \"https://table-db2527.table.cosmos.azure.com:443/\",\r\n \"publicNetworkAccess\": \"Enabled\",\r\n \"enableAutomaticFailover\": false,\r\n \"enableMultipleWriteLocations\": false,\r\n \"enablePartitionKeyMonitor\": false,\r\n \"isVirtualNetworkFilterEnabled\": false,\r\n \"virtualNetworkRules\": [],\r\n \"EnabledApiTypes\": \"Table, Sql\",\r\n \"disableKeyBasedMetadataWriteAccess\": false,\r\n \"enableFreeTier\": false,\r\n \"enableAnalyticalStorage\": false,\r\n \"analyticalStorageConfiguration\": {\r\n \"analyticalStorageSchemaType\": \"WellDefined\"\r\n },\r\n \"instanceId\": \"aedea0ac-c5cd-4ef9-ad79-d5968d9a747d\",\r\n \"createMode\": \"Default\",\r\n \"databaseAccountOfferType\": \"Standard\",\r\n \"defaultIdentity\": \"FirstPartyIdentity\",\r\n \"networkAclBypass\": \"None\",\r\n \"disableLocalAuth\": false,\r\n \"consistencyPolicy\": {\r\n \"defaultConsistencyLevel\": \"BoundedStaleness\",\r\n \"maxIntervalInSeconds\": 86400,\r\n \"maxStalenessPrefix\": 1000000\r\n },\r\n \"configurationOverrides\": {},\r\n \"writeLocations\": [\r\n {\r\n \"id\": \"table-db2527-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://table-db2527-eastus2.documents.azure.com:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"readLocations\": [\r\n {\r\n \"id\": \"table-db2527-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://table-db2527-eastus2.documents.azure.com:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"locations\": [\r\n {\r\n \"id\": \"table-db2527-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://table-db2527-eastus2.documents.azure.com:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"failoverPolicies\": [\r\n {\r\n \"id\": \"table-db2527-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"failoverPriority\": 0\r\n }\r\n ],\r\n \"cors\": [],\r\n \"capabilities\": [\r\n {\r\n \"name\": \"EnableTable\"\r\n }\r\n ],\r\n \"ipRules\": [],\r\n \"backupPolicy\": {\r\n \"type\": \"Periodic\",\r\n \"periodicModeProperties\": {\r\n \"backupIntervalInMinutes\": 240,\r\n \"backupRetentionIntervalInHours\": 8,\r\n \"backupStorageRedundancy\": \"Geo\"\r\n }\r\n },\r\n \"networkAclBypassResourceIds\": []\r\n },\r\n \"identity\": {\r\n \"type\": \"None\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/259fbb24-9bcd-4cfc-865c-fc33b22fe38a/resourceGroups/CosmosDBResourceGroup3668/providers/Microsoft.DocumentDB/databaseAccounts/restored-cosmosdb-1212\",\r\n \"name\": \"restored-cosmosdb-1212\",\r\n \"location\": \"East US 2\",\r\n \"type\": \"Microsoft.DocumentDB/databaseAccounts\",\r\n \"kind\": \"GlobalDocumentDB\",\r\n \"tags\": {\r\n \"defaultExperience\": \"Core (SQL)\",\r\n \"hidden-cosmos-mmspecial\": \"\"\r\n },\r\n \"systemData\": {\r\n \"createdAt\": \"2021-06-07T21:06:02.0001319Z\"\r\n },\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"documentEndpoint\": \"https://restored-cosmosdb-1212.documents.azure.com:443/\",\r\n \"publicNetworkAccess\": \"Enabled\",\r\n \"enableAutomaticFailover\": false,\r\n \"enableMultipleWriteLocations\": false,\r\n \"enablePartitionKeyMonitor\": false,\r\n \"isVirtualNetworkFilterEnabled\": false,\r\n \"virtualNetworkRules\": [],\r\n \"EnabledApiTypes\": \"Sql\",\r\n \"disableKeyBasedMetadataWriteAccess\": false,\r\n \"enableFreeTier\": false,\r\n \"enableAnalyticalStorage\": false,\r\n \"analyticalStorageConfiguration\": {},\r\n \"instanceId\": \"2301188f-cf13-419d-b7c2-5321c5476526\",\r\n \"createMode\": \"Restore\",\r\n \"databaseAccountOfferType\": \"Standard\",\r\n \"defaultIdentity\": \"FirstPartyIdentity\",\r\n \"networkAclBypass\": \"None\",\r\n \"disableLocalAuth\": false,\r\n \"consistencyPolicy\": {\r\n \"defaultConsistencyLevel\": \"Session\",\r\n \"maxIntervalInSeconds\": 5,\r\n \"maxStalenessPrefix\": 100\r\n },\r\n \"configurationOverrides\": {},\r\n \"writeLocations\": [\r\n {\r\n \"id\": \"restored-cosmosdb-1212-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://restored-cosmosdb-1212-eastus2.documents.azure.com:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"readLocations\": [\r\n {\r\n \"id\": \"restored-cosmosdb-1212-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://restored-cosmosdb-1212-eastus2.documents.azure.com:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"locations\": [\r\n {\r\n \"id\": \"restored-cosmosdb-1212-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://restored-cosmosdb-1212-eastus2.documents.azure.com:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"failoverPolicies\": [\r\n {\r\n \"id\": \"restored-cosmosdb-1212-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"failoverPriority\": 0\r\n }\r\n ],\r\n \"cors\": [],\r\n \"capabilities\": [],\r\n \"ipRules\": [],\r\n \"backupPolicy\": {\r\n \"type\": \"Continuous\"\r\n },\r\n \"restoreParameters\": {\r\n \"restoreMode\": \"PointInTime\",\r\n \"restoreSource\": \"/subscriptions/259fbb24-9bcd-4cfc-865c-fc33b22fe38a/providers/Microsoft.DocumentDB/locations/eastus2/restorableDatabaseAccounts/c6b53e1d-0dec-4ff2-ab70-2e9d24a3ed27\",\r\n \"restoreTimestampInUtc\": \"2021-06-07T19:55:00Z\",\r\n \"databasesToRestore\": [\r\n {\r\n \"databaseName\": \"TestDB1\",\r\n \"collectionNames\": [\r\n \"TestCollectionInDB1\"\r\n ]\r\n }\r\n ]\r\n },\r\n \"networkAclBypassResourceIds\": []\r\n },\r\n \"identity\": {\r\n \"type\": \"None\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/259fbb24-9bcd-4cfc-865c-fc33b22fe38a/resourceGroups/CosmosDBResourceGroup29/providers/Microsoft.DocumentDB/databaseAccounts/table-29\",\r\n \"name\": \"table-29\",\r\n \"location\": \"East US 2\",\r\n \"type\": \"Microsoft.DocumentDB/databaseAccounts\",\r\n \"kind\": \"GlobalDocumentDB\",\r\n \"tags\": {\r\n \"defaultExperience\": \"Azure Table\",\r\n \"hidden-cosmos-mmspecial\": \"\"\r\n },\r\n \"systemData\": {\r\n \"createdAt\": \"2021-06-07T21:17:01.4003531Z\"\r\n },\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"documentEndpoint\": \"https://table-29.documents.azure.com:443/\",\r\n \"tableEndpoint\": \"https://table-29.table.cosmos.azure.com:443/\",\r\n \"publicNetworkAccess\": \"Enabled\",\r\n \"enableAutomaticFailover\": false,\r\n \"enableMultipleWriteLocations\": false,\r\n \"enablePartitionKeyMonitor\": false,\r\n \"isVirtualNetworkFilterEnabled\": false,\r\n \"virtualNetworkRules\": [],\r\n \"EnabledApiTypes\": \"Table, Sql\",\r\n \"disableKeyBasedMetadataWriteAccess\": false,\r\n \"enableFreeTier\": false,\r\n \"enableAnalyticalStorage\": false,\r\n \"analyticalStorageConfiguration\": {\r\n \"analyticalStorageSchemaType\": \"WellDefined\"\r\n },\r\n \"instanceId\": \"008c5961-bd05-4b5d-8ddd-7c5cfc93683a\",\r\n \"createMode\": \"Default\",\r\n \"databaseAccountOfferType\": \"Standard\",\r\n \"defaultIdentity\": \"FirstPartyIdentity\",\r\n \"networkAclBypass\": \"None\",\r\n \"disableLocalAuth\": false,\r\n \"consistencyPolicy\": {\r\n \"defaultConsistencyLevel\": \"BoundedStaleness\",\r\n \"maxIntervalInSeconds\": 86400,\r\n \"maxStalenessPrefix\": 1000000\r\n },\r\n \"configurationOverrides\": {},\r\n \"writeLocations\": [\r\n {\r\n \"id\": \"table-29-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://table-29-eastus2.documents.azure.com:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"readLocations\": [\r\n {\r\n \"id\": \"table-29-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://table-29-eastus2.documents.azure.com:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"locations\": [\r\n {\r\n \"id\": \"table-29-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://table-29-eastus2.documents.azure.com:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"failoverPolicies\": [\r\n {\r\n \"id\": \"table-29-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"failoverPriority\": 0\r\n }\r\n ],\r\n \"cors\": [],\r\n \"capabilities\": [\r\n {\r\n \"name\": \"EnableTable\"\r\n }\r\n ],\r\n \"ipRules\": [],\r\n \"backupPolicy\": {\r\n \"type\": \"Periodic\",\r\n \"periodicModeProperties\": {\r\n \"backupIntervalInMinutes\": 240,\r\n \"backupRetentionIntervalInHours\": 8,\r\n \"backupStorageRedundancy\": \"Geo\"\r\n }\r\n },\r\n \"networkAclBypassResourceIds\": []\r\n },\r\n \"identity\": {\r\n \"type\": \"None\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/259fbb24-9bcd-4cfc-865c-fc33b22fe38a/resourceGroups/CosmosDBResourceGroup29/providers/Microsoft.DocumentDB/databaseAccounts/dbaccount29-1\",\r\n \"name\": \"dbaccount29-1\",\r\n \"location\": \"East US 2\",\r\n \"type\": \"Microsoft.DocumentDB/databaseAccounts\",\r\n \"kind\": \"GlobalDocumentDB\",\r\n \"tags\": {\r\n \"defaultExperience\": \"Core (SQL)\",\r\n \"hidden-cosmos-mmspecial\": \"\"\r\n },\r\n \"systemData\": {\r\n \"createdAt\": \"2021-06-07T21:24:51.5417257Z\"\r\n },\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"documentEndpoint\": \"https://dbaccount29-1.documents.azure.com:443/\",\r\n \"publicNetworkAccess\": \"Enabled\",\r\n \"enableAutomaticFailover\": false,\r\n \"enableMultipleWriteLocations\": false,\r\n \"enablePartitionKeyMonitor\": false,\r\n \"isVirtualNetworkFilterEnabled\": false,\r\n \"virtualNetworkRules\": [],\r\n \"EnabledApiTypes\": \"Sql\",\r\n \"disableKeyBasedMetadataWriteAccess\": false,\r\n \"enableFreeTier\": false,\r\n \"enableAnalyticalStorage\": false,\r\n \"analyticalStorageConfiguration\": {\r\n \"analyticalStorageSchemaType\": \"WellDefined\"\r\n },\r\n \"instanceId\": \"24302a82-123a-487a-bede-054ade2860f1\",\r\n \"createMode\": \"Default\",\r\n \"databaseAccountOfferType\": \"Standard\",\r\n \"defaultIdentity\": \"FirstPartyIdentity\",\r\n \"networkAclBypass\": \"None\",\r\n \"disableLocalAuth\": false,\r\n \"consistencyPolicy\": {\r\n \"defaultConsistencyLevel\": \"Session\",\r\n \"maxIntervalInSeconds\": 5,\r\n \"maxStalenessPrefix\": 100\r\n },\r\n \"configurationOverrides\": {},\r\n \"writeLocations\": [\r\n {\r\n \"id\": \"dbaccount29-1-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://dbaccount29-1-eastus2.documents.azure.com:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"readLocations\": [\r\n {\r\n \"id\": \"dbaccount29-1-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://dbaccount29-1-eastus2.documents.azure.com:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"locations\": [\r\n {\r\n \"id\": \"dbaccount29-1-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://dbaccount29-1-eastus2.documents.azure.com:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"failoverPolicies\": [\r\n {\r\n \"id\": \"dbaccount29-1-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"failoverPriority\": 0\r\n }\r\n ],\r\n \"cors\": [],\r\n \"capabilities\": [],\r\n \"ipRules\": [],\r\n \"backupPolicy\": {\r\n \"type\": \"Continuous\"\r\n },\r\n \"networkAclBypassResourceIds\": []\r\n },\r\n \"identity\": {\r\n \"type\": \"None\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/259fbb24-9bcd-4cfc-865c-fc33b22fe38a/resourceGroups/rgtest9921232812/providers/Microsoft.DocumentDB/databaseAccounts/rbactestps12\",\r\n \"name\": \"rbactestps12\",\r\n \"location\": \"East US 2\",\r\n \"type\": \"Microsoft.DocumentDB/databaseAccounts\",\r\n \"kind\": \"GlobalDocumentDB\",\r\n \"tags\": {\r\n \"defaultExperience\": \"Core (SQL)\",\r\n \"hidden-cosmos-mmspecial\": \"\"\r\n },\r\n \"systemData\": {\r\n \"createdAt\": \"2021-06-07T21:27:23.3827637Z\"\r\n },\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"documentEndpoint\": \"https://rbactestps12.documents.azure.com:443/\",\r\n \"publicNetworkAccess\": \"Enabled\",\r\n \"enableAutomaticFailover\": false,\r\n \"enableMultipleWriteLocations\": false,\r\n \"enablePartitionKeyMonitor\": false,\r\n \"isVirtualNetworkFilterEnabled\": false,\r\n \"virtualNetworkRules\": [],\r\n \"EnabledApiTypes\": \"Sql\",\r\n \"disableKeyBasedMetadataWriteAccess\": false,\r\n \"enableFreeTier\": false,\r\n \"enableAnalyticalStorage\": false,\r\n \"analyticalStorageConfiguration\": {\r\n \"analyticalStorageSchemaType\": \"WellDefined\"\r\n },\r\n \"instanceId\": \"e157f1a1-6837-46fa-8f4f-ef3e7266ab3a\",\r\n \"createMode\": \"Default\",\r\n \"databaseAccountOfferType\": \"Standard\",\r\n \"defaultIdentity\": \"FirstPartyIdentity\",\r\n \"networkAclBypass\": \"None\",\r\n \"disableLocalAuth\": false,\r\n \"consistencyPolicy\": {\r\n \"defaultConsistencyLevel\": \"Session\",\r\n \"maxIntervalInSeconds\": 5,\r\n \"maxStalenessPrefix\": 100\r\n },\r\n \"configurationOverrides\": {},\r\n \"writeLocations\": [\r\n {\r\n \"id\": \"rbactestps12-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://rbactestps12-eastus2.documents.azure.com:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"readLocations\": [\r\n {\r\n \"id\": \"rbactestps12-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://rbactestps12-eastus2.documents.azure.com:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"locations\": [\r\n {\r\n \"id\": \"rbactestps12-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://rbactestps12-eastus2.documents.azure.com:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"failoverPolicies\": [\r\n {\r\n \"id\": \"rbactestps12-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"failoverPriority\": 0\r\n }\r\n ],\r\n \"cors\": [],\r\n \"capabilities\": [],\r\n \"ipRules\": [],\r\n \"backupPolicy\": {\r\n \"type\": \"Continuous\"\r\n },\r\n \"networkAclBypassResourceIds\": []\r\n },\r\n \"identity\": {\r\n \"type\": \"None\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/259fbb24-9bcd-4cfc-865c-fc33b22fe38a/resourceGroups/CosmosDBResourceGroup29/providers/Microsoft.DocumentDB/databaseAccounts/mongo-db0002\",\r\n \"name\": \"mongo-db0002\",\r\n \"location\": \"East US 2\",\r\n \"type\": \"Microsoft.DocumentDB/databaseAccounts\",\r\n \"kind\": \"MongoDB\",\r\n \"tags\": {\r\n \"defaultExperience\": \"Azure Cosmos DB for MongoDB API\",\r\n \"hidden-cosmos-mmspecial\": \"\"\r\n },\r\n \"systemData\": {\r\n \"createdAt\": \"2021-06-07T23:44:53.741164Z\"\r\n },\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"documentEndpoint\": \"https://mongo-db0002.documents.azure.com:443/\",\r\n \"mongoEndpoint\": \"https://mongo-db0002.mongo.cosmos.azure.com:443/\",\r\n \"publicNetworkAccess\": \"Enabled\",\r\n \"enableAutomaticFailover\": false,\r\n \"enableMultipleWriteLocations\": false,\r\n \"enablePartitionKeyMonitor\": false,\r\n \"isVirtualNetworkFilterEnabled\": false,\r\n \"virtualNetworkRules\": [],\r\n \"EnabledApiTypes\": \"MongoDB\",\r\n \"disableKeyBasedMetadataWriteAccess\": false,\r\n \"enableFreeTier\": false,\r\n \"enableAnalyticalStorage\": false,\r\n \"analyticalStorageConfiguration\": {\r\n \"analyticalStorageSchemaType\": \"FullFidelity\"\r\n },\r\n \"instanceId\": \"72706ac1-0d0a-40be-a30a-1b4af0911131\",\r\n \"createMode\": \"Default\",\r\n \"databaseAccountOfferType\": \"Standard\",\r\n \"defaultIdentity\": \"FirstPartyIdentity\",\r\n \"networkAclBypass\": \"None\",\r\n \"disableLocalAuth\": false,\r\n \"consistencyPolicy\": {\r\n \"defaultConsistencyLevel\": \"Session\",\r\n \"maxIntervalInSeconds\": 5,\r\n \"maxStalenessPrefix\": 100\r\n },\r\n \"apiProperties\": {\r\n \"serverVersion\": \"4.0\"\r\n },\r\n \"configurationOverrides\": {\r\n \"EnableBsonSchema\": \"True\"\r\n },\r\n \"writeLocations\": [\r\n {\r\n \"id\": \"mongo-db0002-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://mongo-db0002-eastus2.documents.azure.com:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"readLocations\": [\r\n {\r\n \"id\": \"mongo-db0002-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://mongo-db0002-eastus2.documents.azure.com:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"locations\": [\r\n {\r\n \"id\": \"mongo-db0002-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://mongo-db0002-eastus2.documents.azure.com:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"failoverPolicies\": [\r\n {\r\n \"id\": \"mongo-db0002-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"failoverPriority\": 0\r\n }\r\n ],\r\n \"cors\": [],\r\n \"capabilities\": [\r\n {\r\n \"name\": \"EnableMongo\"\r\n },\r\n {\r\n \"name\": \"DisableRateLimitingResponses\"\r\n }\r\n ],\r\n \"ipRules\": [],\r\n \"backupPolicy\": {\r\n \"type\": \"Continuous\"\r\n },\r\n \"networkAclBypassResourceIds\": []\r\n },\r\n \"identity\": {\r\n \"type\": \"None\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/259fbb24-9bcd-4cfc-865c-fc33b22fe38a/resourceGroups/CosmosDBResourceGroup27/providers/Microsoft.DocumentDB/databaseAccounts/cassandra-db2725\",\r\n \"name\": \"cassandra-db2725\",\r\n \"location\": \"East US 2\",\r\n \"type\": \"Microsoft.DocumentDB/databaseAccounts\",\r\n \"kind\": \"GlobalDocumentDB\",\r\n \"tags\": {\r\n \"defaultExperience\": \"Cassandra\",\r\n \"hidden-cosmos-mmspecial\": \"\"\r\n },\r\n \"systemData\": {\r\n \"createdAt\": \"2021-06-07T23:45:44.3838628Z\"\r\n },\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"documentEndpoint\": \"https://cassandra-db2725.documents.azure.com:443/\",\r\n \"cassandraEndpoint\": \"https://cassandra-db2725.cassandra.cosmos.azure.com:443/\",\r\n \"publicNetworkAccess\": \"Enabled\",\r\n \"enableAutomaticFailover\": false,\r\n \"enableMultipleWriteLocations\": false,\r\n \"enablePartitionKeyMonitor\": false,\r\n \"isVirtualNetworkFilterEnabled\": false,\r\n \"virtualNetworkRules\": [],\r\n \"EnabledApiTypes\": \"Cassandra\",\r\n \"disableKeyBasedMetadataWriteAccess\": false,\r\n \"enableFreeTier\": false,\r\n \"enableAnalyticalStorage\": false,\r\n \"analyticalStorageConfiguration\": {\r\n \"analyticalStorageSchemaType\": \"WellDefined\"\r\n },\r\n \"instanceId\": \"6af03dfe-5dc4-4bb0-b6dd-ffa3d1f38b3e\",\r\n \"createMode\": \"Default\",\r\n \"databaseAccountOfferType\": \"Standard\",\r\n \"defaultIdentity\": \"FirstPartyIdentity\",\r\n \"networkAclBypass\": \"None\",\r\n \"disableLocalAuth\": false,\r\n \"consistencyPolicy\": {\r\n \"defaultConsistencyLevel\": \"Session\",\r\n \"maxIntervalInSeconds\": 5,\r\n \"maxStalenessPrefix\": 100\r\n },\r\n \"configurationOverrides\": {},\r\n \"writeLocations\": [\r\n {\r\n \"id\": \"cassandra-db2725-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://cassandra-db2725-eastus2.documents.azure.com:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"readLocations\": [\r\n {\r\n \"id\": \"cassandra-db2725-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://cassandra-db2725-eastus2.documents.azure.com:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"locations\": [\r\n {\r\n \"id\": \"cassandra-db2725-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://cassandra-db2725-eastus2.documents.azure.com:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"failoverPolicies\": [\r\n {\r\n \"id\": \"cassandra-db2725-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"failoverPriority\": 0\r\n }\r\n ],\r\n \"cors\": [],\r\n \"capabilities\": [\r\n {\r\n \"name\": \"EnableCassandra\"\r\n }\r\n ],\r\n \"ipRules\": [],\r\n \"backupPolicy\": {\r\n \"type\": \"Periodic\",\r\n \"periodicModeProperties\": {\r\n \"backupIntervalInMinutes\": 240,\r\n \"backupRetentionIntervalInHours\": 8,\r\n \"backupStorageRedundancy\": \"Geo\"\r\n }\r\n },\r\n \"networkAclBypassResourceIds\": []\r\n },\r\n \"identity\": {\r\n \"type\": \"None\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/259fbb24-9bcd-4cfc-865c-fc33b22fe38a/resourceGroups/CosmosDBResourceGroup27/providers/Microsoft.DocumentDB/databaseAccounts/gremlin-db1002\",\r\n \"name\": \"gremlin-db1002\",\r\n \"location\": \"East US 2\",\r\n \"type\": \"Microsoft.DocumentDB/databaseAccounts\",\r\n \"kind\": \"GlobalDocumentDB\",\r\n \"tags\": {\r\n \"defaultExperience\": \"Gremlin (graph)\",\r\n \"hidden-cosmos-mmspecial\": \"\"\r\n },\r\n \"systemData\": {\r\n \"createdAt\": \"2021-06-07T23:46:03.6280254Z\"\r\n },\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"documentEndpoint\": \"https://gremlin-db1002.documents.azure.com:443/\",\r\n \"gremlinEndpoint\": \"https://gremlin-db1002.gremlin.cosmos.azure.com:443/\",\r\n \"publicNetworkAccess\": \"Enabled\",\r\n \"enableAutomaticFailover\": false,\r\n \"enableMultipleWriteLocations\": false,\r\n \"enablePartitionKeyMonitor\": false,\r\n \"isVirtualNetworkFilterEnabled\": false,\r\n \"virtualNetworkRules\": [],\r\n \"EnabledApiTypes\": \"Gremlin, Sql\",\r\n \"disableKeyBasedMetadataWriteAccess\": false,\r\n \"enableFreeTier\": false,\r\n \"enableAnalyticalStorage\": false,\r\n \"analyticalStorageConfiguration\": {\r\n \"analyticalStorageSchemaType\": \"WellDefined\"\r\n },\r\n \"instanceId\": \"033e692d-71d0-47a4-8f5b-013768d5581b\",\r\n \"createMode\": \"Default\",\r\n \"databaseAccountOfferType\": \"Standard\",\r\n \"defaultIdentity\": \"FirstPartyIdentity\",\r\n \"networkAclBypass\": \"None\",\r\n \"disableLocalAuth\": false,\r\n \"consistencyPolicy\": {\r\n \"defaultConsistencyLevel\": \"Session\",\r\n \"maxIntervalInSeconds\": 5,\r\n \"maxStalenessPrefix\": 100\r\n },\r\n \"configurationOverrides\": {},\r\n \"writeLocations\": [\r\n {\r\n \"id\": \"gremlin-db1002-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://gremlin-db1002-eastus2.documents.azure.com:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"readLocations\": [\r\n {\r\n \"id\": \"gremlin-db1002-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://gremlin-db1002-eastus2.documents.azure.com:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"locations\": [\r\n {\r\n \"id\": \"gremlin-db1002-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://gremlin-db1002-eastus2.documents.azure.com:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"failoverPolicies\": [\r\n {\r\n \"id\": \"gremlin-db1002-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"failoverPriority\": 0\r\n }\r\n ],\r\n \"cors\": [],\r\n \"capabilities\": [\r\n {\r\n \"name\": \"EnableGremlin\"\r\n }\r\n ],\r\n \"ipRules\": [],\r\n \"backupPolicy\": {\r\n \"type\": \"Periodic\",\r\n \"periodicModeProperties\": {\r\n \"backupIntervalInMinutes\": 240,\r\n \"backupRetentionIntervalInHours\": 8,\r\n \"backupStorageRedundancy\": \"Geo\"\r\n }\r\n },\r\n \"networkAclBypassResourceIds\": []\r\n },\r\n \"identity\": {\r\n \"type\": \"None\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/259fbb24-9bcd-4cfc-865c-fc33b22fe38a/resourceGroups/CosmosDBResourceGroup27/providers/Microsoft.DocumentDB/databaseAccounts/dbaccount27-1\",\r\n \"name\": \"dbaccount27-1\",\r\n \"location\": \"East US 2\",\r\n \"type\": \"Microsoft.DocumentDB/databaseAccounts\",\r\n \"kind\": \"GlobalDocumentDB\",\r\n \"tags\": {\r\n \"defaultExperience\": \"Core (SQL)\",\r\n \"hidden-cosmos-mmspecial\": \"\"\r\n },\r\n \"systemData\": {\r\n \"createdAt\": \"2021-06-08T17:39:45.8022668Z\"\r\n },\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"documentEndpoint\": \"https://dbaccount27-1.documents.azure.com:443/\",\r\n \"publicNetworkAccess\": \"Enabled\",\r\n \"enableAutomaticFailover\": false,\r\n \"enableMultipleWriteLocations\": false,\r\n \"enablePartitionKeyMonitor\": false,\r\n \"isVirtualNetworkFilterEnabled\": false,\r\n \"virtualNetworkRules\": [],\r\n \"EnabledApiTypes\": \"Sql\",\r\n \"disableKeyBasedMetadataWriteAccess\": false,\r\n \"enableFreeTier\": false,\r\n \"enableAnalyticalStorage\": false,\r\n \"analyticalStorageConfiguration\": {\r\n \"analyticalStorageSchemaType\": \"WellDefined\"\r\n },\r\n \"instanceId\": \"41ea7d9e-553f-4259-872f-676c969e9a0b\",\r\n \"createMode\": \"Default\",\r\n \"databaseAccountOfferType\": \"Standard\",\r\n \"defaultIdentity\": \"FirstPartyIdentity\",\r\n \"networkAclBypass\": \"None\",\r\n \"disableLocalAuth\": false,\r\n \"consistencyPolicy\": {\r\n \"defaultConsistencyLevel\": \"Session\",\r\n \"maxIntervalInSeconds\": 5,\r\n \"maxStalenessPrefix\": 100\r\n },\r\n \"configurationOverrides\": {},\r\n \"writeLocations\": [\r\n {\r\n \"id\": \"dbaccount27-1-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://dbaccount27-1-eastus2.documents.azure.com:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"readLocations\": [\r\n {\r\n \"id\": \"dbaccount27-1-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://dbaccount27-1-eastus2.documents.azure.com:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"locations\": [\r\n {\r\n \"id\": \"dbaccount27-1-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://dbaccount27-1-eastus2.documents.azure.com:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"failoverPolicies\": [\r\n {\r\n \"id\": \"dbaccount27-1-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"failoverPriority\": 0\r\n }\r\n ],\r\n \"cors\": [],\r\n \"capabilities\": [],\r\n \"ipRules\": [],\r\n \"backupPolicy\": {\r\n \"type\": \"Continuous\"\r\n },\r\n \"networkAclBypassResourceIds\": []\r\n },\r\n \"identity\": {\r\n \"type\": \"None\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/259fbb24-9bcd-4cfc-865c-fc33b22fe38a/resourceGroups/CosmosDBResourceGroup3668/providers/Microsoft.DocumentDB/databaseAccounts/cli125\",\r\n \"name\": \"cli125\",\r\n \"location\": \"East US 2\",\r\n \"type\": \"Microsoft.DocumentDB/databaseAccounts\",\r\n \"kind\": \"GlobalDocumentDB\",\r\n \"tags\": {\r\n \"defaultExperience\": \"Core (SQL)\",\r\n \"hidden-cosmos-mmspecial\": \"\"\r\n },\r\n \"systemData\": {\r\n \"createdAt\": \"2021-06-09T19:06:12.2299472Z\"\r\n },\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"documentEndpoint\": \"https://cli125.documents.azure.com:443/\",\r\n \"publicNetworkAccess\": \"Enabled\",\r\n \"enableAutomaticFailover\": false,\r\n \"enableMultipleWriteLocations\": false,\r\n \"enablePartitionKeyMonitor\": false,\r\n \"isVirtualNetworkFilterEnabled\": false,\r\n \"virtualNetworkRules\": [],\r\n \"EnabledApiTypes\": \"Sql\",\r\n \"disableKeyBasedMetadataWriteAccess\": false,\r\n \"enableFreeTier\": false,\r\n \"enableAnalyticalStorage\": false,\r\n \"analyticalStorageConfiguration\": {\r\n \"analyticalStorageSchemaType\": \"WellDefined\"\r\n },\r\n \"instanceId\": \"ceacd38f-9e6b-4a81-b2f7-ecd341c6fbbd\",\r\n \"createMode\": \"Default\",\r\n \"databaseAccountOfferType\": \"Standard\",\r\n \"defaultIdentity\": \"FirstPartyIdentity\",\r\n \"networkAclBypass\": \"None\",\r\n \"disableLocalAuth\": false,\r\n \"consistencyPolicy\": {\r\n \"defaultConsistencyLevel\": \"Session\",\r\n \"maxIntervalInSeconds\": 5,\r\n \"maxStalenessPrefix\": 100\r\n },\r\n \"configurationOverrides\": {},\r\n \"writeLocations\": [\r\n {\r\n \"id\": \"cli125-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://cli125-eastus2.documents.azure.com:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"readLocations\": [\r\n {\r\n \"id\": \"cli125-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://cli125-eastus2.documents.azure.com:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"locations\": [\r\n {\r\n \"id\": \"cli125-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://cli125-eastus2.documents.azure.com:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"failoverPolicies\": [\r\n {\r\n \"id\": \"cli125-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"failoverPriority\": 0\r\n }\r\n ],\r\n \"cors\": [],\r\n \"capabilities\": [],\r\n \"ipRules\": [],\r\n \"backupPolicy\": {\r\n \"type\": \"Continuous\"\r\n },\r\n \"networkAclBypassResourceIds\": []\r\n },\r\n \"identity\": {\r\n \"type\": \"None\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/259fbb24-9bcd-4cfc-865c-fc33b22fe38a/resourceGroups/CosmosDBResourceGroup3668/providers/Microsoft.DocumentDB/databaseAccounts/rbac125\",\r\n \"name\": \"rbac125\",\r\n \"location\": \"East US 2\",\r\n \"type\": \"Microsoft.DocumentDB/databaseAccounts\",\r\n \"kind\": \"GlobalDocumentDB\",\r\n \"tags\": {\r\n \"defaultExperience\": \"Core (SQL)\",\r\n \"hidden-cosmos-mmspecial\": \"\"\r\n },\r\n \"systemData\": {\r\n \"createdAt\": \"2021-06-09T19:06:26.9195815Z\"\r\n },\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"documentEndpoint\": \"https://rbac125.documents.azure.com:443/\",\r\n \"publicNetworkAccess\": \"Enabled\",\r\n \"enableAutomaticFailover\": false,\r\n \"enableMultipleWriteLocations\": false,\r\n \"enablePartitionKeyMonitor\": false,\r\n \"isVirtualNetworkFilterEnabled\": false,\r\n \"virtualNetworkRules\": [],\r\n \"EnabledApiTypes\": \"Sql\",\r\n \"disableKeyBasedMetadataWriteAccess\": false,\r\n \"enableFreeTier\": false,\r\n \"enableAnalyticalStorage\": false,\r\n \"analyticalStorageConfiguration\": {\r\n \"analyticalStorageSchemaType\": \"WellDefined\"\r\n },\r\n \"instanceId\": \"0bec9b44-156a-4a9b-882b-bc5f13719bdf\",\r\n \"createMode\": \"Default\",\r\n \"databaseAccountOfferType\": \"Standard\",\r\n \"defaultIdentity\": \"FirstPartyIdentity\",\r\n \"networkAclBypass\": \"None\",\r\n \"disableLocalAuth\": false,\r\n \"consistencyPolicy\": {\r\n \"defaultConsistencyLevel\": \"Session\",\r\n \"maxIntervalInSeconds\": 5,\r\n \"maxStalenessPrefix\": 100\r\n },\r\n \"configurationOverrides\": {},\r\n \"writeLocations\": [\r\n {\r\n \"id\": \"rbac125-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://rbac125-eastus2.documents.azure.com:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"readLocations\": [\r\n {\r\n \"id\": \"rbac125-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://rbac125-eastus2.documents.azure.com:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"locations\": [\r\n {\r\n \"id\": \"rbac125-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://rbac125-eastus2.documents.azure.com:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"failoverPolicies\": [\r\n {\r\n \"id\": \"rbac125-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"failoverPriority\": 0\r\n }\r\n ],\r\n \"cors\": [],\r\n \"capabilities\": [],\r\n \"ipRules\": [],\r\n \"backupPolicy\": {\r\n \"type\": \"Periodic\",\r\n \"periodicModeProperties\": {\r\n \"backupIntervalInMinutes\": 240,\r\n \"backupRetentionIntervalInHours\": 8,\r\n \"backupStorageRedundancy\": \"Geo\"\r\n }\r\n },\r\n \"networkAclBypassResourceIds\": []\r\n },\r\n \"identity\": {\r\n \"type\": \"None\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/259fbb24-9bcd-4cfc-865c-fc33b22fe38a/resourceGroups/CosmosDBResourceGroup3668/providers/Microsoft.DocumentDB/databaseAccounts/sqltestaccount123\",\r\n \"name\": \"sqltestaccount123\",\r\n \"location\": \"East US 2\",\r\n \"type\": \"Microsoft.DocumentDB/databaseAccounts\",\r\n \"kind\": \"GlobalDocumentDB\",\r\n \"tags\": {\r\n \"defaultExperience\": \"Core (SQL)\",\r\n \"hidden-cosmos-mmspecial\": \"\"\r\n },\r\n \"systemData\": {\r\n \"createdAt\": \"2021-06-09T19:09:53.110489Z\"\r\n },\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"documentEndpoint\": \"https://sqltestaccount123.documents.azure.com:443/\",\r\n \"publicNetworkAccess\": \"Enabled\",\r\n \"enableAutomaticFailover\": false,\r\n \"enableMultipleWriteLocations\": false,\r\n \"enablePartitionKeyMonitor\": false,\r\n \"isVirtualNetworkFilterEnabled\": false,\r\n \"virtualNetworkRules\": [],\r\n \"EnabledApiTypes\": \"Sql\",\r\n \"disableKeyBasedMetadataWriteAccess\": false,\r\n \"enableFreeTier\": false,\r\n \"enableAnalyticalStorage\": false,\r\n \"analyticalStorageConfiguration\": {\r\n \"analyticalStorageSchemaType\": \"WellDefined\"\r\n },\r\n \"instanceId\": \"88d48073-10d1-402e-8cf5-c79e4e2de08e\",\r\n \"createMode\": \"Default\",\r\n \"databaseAccountOfferType\": \"Standard\",\r\n \"defaultIdentity\": \"FirstPartyIdentity\",\r\n \"networkAclBypass\": \"None\",\r\n \"disableLocalAuth\": false,\r\n \"consistencyPolicy\": {\r\n \"defaultConsistencyLevel\": \"Session\",\r\n \"maxIntervalInSeconds\": 5,\r\n \"maxStalenessPrefix\": 100\r\n },\r\n \"configurationOverrides\": {},\r\n \"writeLocations\": [\r\n {\r\n \"id\": \"sqltestaccount123-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://sqltestaccount123-eastus2.documents.azure.com:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"readLocations\": [\r\n {\r\n \"id\": \"sqltestaccount123-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://sqltestaccount123-eastus2.documents.azure.com:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"locations\": [\r\n {\r\n \"id\": \"sqltestaccount123-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://sqltestaccount123-eastus2.documents.azure.com:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"failoverPolicies\": [\r\n {\r\n \"id\": \"sqltestaccount123-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"failoverPriority\": 0\r\n }\r\n ],\r\n \"cors\": [],\r\n \"capabilities\": [],\r\n \"ipRules\": [],\r\n \"backupPolicy\": {\r\n \"type\": \"Continuous\"\r\n },\r\n \"networkAclBypassResourceIds\": []\r\n },\r\n \"identity\": {\r\n \"type\": \"None\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/259fbb24-9bcd-4cfc-865c-fc33b22fe38a/resourceGroups/CosmosDBResourceGroup8732/providers/Microsoft.DocumentDB/databaseAccounts/accountname2112\",\r\n \"name\": \"accountname2112\",\r\n \"location\": \"East US 2\",\r\n \"type\": \"Microsoft.DocumentDB/databaseAccounts\",\r\n \"kind\": \"MongoDB\",\r\n \"tags\": {\r\n \"key1\": \"value1\",\r\n \"key2\": \"value2\"\r\n },\r\n \"systemData\": {\r\n \"createdAt\": \"2021-06-09T19:57:34.3301135Z\"\r\n },\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"documentEndpoint\": \"https://accountname2112.documents.azure.com:443/\",\r\n \"mongoEndpoint\": \"https://accountname2112.mongo.cosmos.azure.com:443/\",\r\n \"publicNetworkAccess\": \"Enabled\",\r\n \"enableAutomaticFailover\": false,\r\n \"enableMultipleWriteLocations\": false,\r\n \"enablePartitionKeyMonitor\": false,\r\n \"isVirtualNetworkFilterEnabled\": false,\r\n \"virtualNetworkRules\": [],\r\n \"EnabledApiTypes\": \"MongoDB\",\r\n \"disableKeyBasedMetadataWriteAccess\": false,\r\n \"enableFreeTier\": false,\r\n \"enableAnalyticalStorage\": false,\r\n \"analyticalStorageConfiguration\": {\r\n \"analyticalStorageSchemaType\": \"FullFidelity\"\r\n },\r\n \"instanceId\": \"708204e9-49b5-46da-96d7-79a8902a07f3\",\r\n \"createMode\": \"Default\",\r\n \"databaseAccountOfferType\": \"Standard\",\r\n \"defaultIdentity\": \"FirstPartyIdentity\",\r\n \"networkAclBypass\": \"None\",\r\n \"disableLocalAuth\": false,\r\n \"consistencyPolicy\": {\r\n \"defaultConsistencyLevel\": \"BoundedStaleness\",\r\n \"maxIntervalInSeconds\": 1000,\r\n \"maxStalenessPrefix\": 300\r\n },\r\n \"apiProperties\": {\r\n \"serverVersion\": \"3.6\"\r\n },\r\n \"configurationOverrides\": {\r\n \"EnableBsonSchema\": \"True\"\r\n },\r\n \"writeLocations\": [\r\n {\r\n \"id\": \"accountname2112-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://accountname2112-eastus2.documents.azure.com:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"readLocations\": [\r\n {\r\n \"id\": \"accountname2112-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://accountname2112-eastus2.documents.azure.com:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"locations\": [\r\n {\r\n \"id\": \"accountname2112-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://accountname2112-eastus2.documents.azure.com:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"failoverPolicies\": [\r\n {\r\n \"id\": \"accountname2112-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"failoverPriority\": 0\r\n }\r\n ],\r\n \"cors\": [],\r\n \"capabilities\": [\r\n {\r\n \"name\": \"EnableMongo\"\r\n }\r\n ],\r\n \"ipRules\": [],\r\n \"backupPolicy\": {\r\n \"type\": \"Periodic\",\r\n \"periodicModeProperties\": {\r\n \"backupIntervalInMinutes\": 240,\r\n \"backupRetentionIntervalInHours\": 8,\r\n \"backupStorageRedundancy\": \"Geo\"\r\n }\r\n },\r\n \"networkAclBypassResourceIds\": []\r\n },\r\n \"identity\": {\r\n \"type\": \"None\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/259fbb24-9bcd-4cfc-865c-fc33b22fe38a/resourceGroups/CosmosDBResourceGroup3668/providers/Microsoft.DocumentDB/databaseAccounts/db003\",\r\n \"name\": \"db003\",\r\n \"location\": \"East US 2\",\r\n \"type\": \"Microsoft.DocumentDB/databaseAccounts\",\r\n \"kind\": \"MongoDB\",\r\n \"tags\": {\r\n \"defaultExperience\": \"Azure Cosmos DB for MongoDB API\",\r\n \"hidden-cosmos-mmspecial\": \"\"\r\n },\r\n \"systemData\": {\r\n \"createdAt\": \"2021-06-09T20:16:39.4077427Z\"\r\n },\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"documentEndpoint\": \"https://db003.documents.azure.com:443/\",\r\n \"mongoEndpoint\": \"https://db003.mongo.cosmos.azure.com:443/\",\r\n \"publicNetworkAccess\": \"Enabled\",\r\n \"enableAutomaticFailover\": false,\r\n \"enableMultipleWriteLocations\": false,\r\n \"enablePartitionKeyMonitor\": false,\r\n \"isVirtualNetworkFilterEnabled\": false,\r\n \"virtualNetworkRules\": [],\r\n \"EnabledApiTypes\": \"MongoDB\",\r\n \"disableKeyBasedMetadataWriteAccess\": false,\r\n \"enableFreeTier\": false,\r\n \"enableAnalyticalStorage\": false,\r\n \"analyticalStorageConfiguration\": {\r\n \"analyticalStorageSchemaType\": \"FullFidelity\"\r\n },\r\n \"instanceId\": \"bb9b3beb-42c4-4ae4-a983-58e20bcd71a5\",\r\n \"createMode\": \"Default\",\r\n \"databaseAccountOfferType\": \"Standard\",\r\n \"defaultIdentity\": \"FirstPartyIdentity\",\r\n \"networkAclBypass\": \"None\",\r\n \"disableLocalAuth\": false,\r\n \"consistencyPolicy\": {\r\n \"defaultConsistencyLevel\": \"Session\",\r\n \"maxIntervalInSeconds\": 5,\r\n \"maxStalenessPrefix\": 100\r\n },\r\n \"apiProperties\": {\r\n \"serverVersion\": \"4.0\"\r\n },\r\n \"configurationOverrides\": {\r\n \"EnableBsonSchema\": \"True\"\r\n },\r\n \"writeLocations\": [\r\n {\r\n \"id\": \"db003-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://db003-eastus2.documents.azure.com:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"readLocations\": [\r\n {\r\n \"id\": \"db003-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://db003-eastus2.documents.azure.com:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"locations\": [\r\n {\r\n \"id\": \"db003-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://db003-eastus2.documents.azure.com:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"failoverPolicies\": [\r\n {\r\n \"id\": \"db003-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"failoverPriority\": 0\r\n }\r\n ],\r\n \"cors\": [],\r\n \"capabilities\": [\r\n {\r\n \"name\": \"EnableMongo\"\r\n },\r\n {\r\n \"name\": \"DisableRateLimitingResponses\"\r\n }\r\n ],\r\n \"ipRules\": [],\r\n \"backupPolicy\": {\r\n \"type\": \"Continuous\"\r\n },\r\n \"networkAclBypassResourceIds\": []\r\n },\r\n \"identity\": {\r\n \"type\": \"None\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/259fbb24-9bcd-4cfc-865c-fc33b22fe38a/resourceGroups/CosmosDBResourceGroup3668/providers/Microsoft.DocumentDB/databaseAccounts/sqltestaccount124\",\r\n \"name\": \"sqltestaccount124\",\r\n \"location\": \"East US 2\",\r\n \"type\": \"Microsoft.DocumentDB/databaseAccounts\",\r\n \"kind\": \"GlobalDocumentDB\",\r\n \"tags\": {\r\n \"defaultExperience\": \"Core (SQL)\",\r\n \"hidden-cosmos-mmspecial\": \"\"\r\n },\r\n \"systemData\": {\r\n \"createdAt\": \"2021-06-10T05:06:01.1543083Z\"\r\n },\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"documentEndpoint\": \"https://sqltestaccount124.documents.azure.com:443/\",\r\n \"publicNetworkAccess\": \"Enabled\",\r\n \"enableAutomaticFailover\": false,\r\n \"enableMultipleWriteLocations\": false,\r\n \"enablePartitionKeyMonitor\": false,\r\n \"isVirtualNetworkFilterEnabled\": false,\r\n \"virtualNetworkRules\": [],\r\n \"EnabledApiTypes\": \"Sql\",\r\n \"disableKeyBasedMetadataWriteAccess\": false,\r\n \"enableFreeTier\": false,\r\n \"enableAnalyticalStorage\": false,\r\n \"analyticalStorageConfiguration\": {\r\n \"analyticalStorageSchemaType\": \"WellDefined\"\r\n },\r\n \"instanceId\": \"9f8ee54b-f275-44fa-b2c5-9983644c131f\",\r\n \"createMode\": \"Default\",\r\n \"databaseAccountOfferType\": \"Standard\",\r\n \"defaultIdentity\": \"FirstPartyIdentity\",\r\n \"networkAclBypass\": \"None\",\r\n \"disableLocalAuth\": false,\r\n \"consistencyPolicy\": {\r\n \"defaultConsistencyLevel\": \"Session\",\r\n \"maxIntervalInSeconds\": 5,\r\n \"maxStalenessPrefix\": 100\r\n },\r\n \"configurationOverrides\": {},\r\n \"writeLocations\": [\r\n {\r\n \"id\": \"sqltestaccount124-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://sqltestaccount124-eastus2.documents.azure.com:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"readLocations\": [\r\n {\r\n \"id\": \"sqltestaccount124-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://sqltestaccount124-eastus2.documents.azure.com:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"locations\": [\r\n {\r\n \"id\": \"sqltestaccount124-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://sqltestaccount124-eastus2.documents.azure.com:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"failoverPolicies\": [\r\n {\r\n \"id\": \"sqltestaccount124-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"failoverPriority\": 0\r\n }\r\n ],\r\n \"cors\": [],\r\n \"capabilities\": [],\r\n \"ipRules\": [],\r\n \"backupPolicy\": {\r\n \"type\": \"Continuous\"\r\n },\r\n \"networkAclBypassResourceIds\": []\r\n },\r\n \"identity\": {\r\n \"type\": \"None\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/259fbb24-9bcd-4cfc-865c-fc33b22fe38a/resourceGroups/CosmosDBResourceGroup3668/providers/Microsoft.DocumentDB/databaseAccounts/rbac126\",\r\n \"name\": \"rbac126\",\r\n \"location\": \"East US 2\",\r\n \"type\": \"Microsoft.DocumentDB/databaseAccounts\",\r\n \"kind\": \"GlobalDocumentDB\",\r\n \"tags\": {\r\n \"defaultExperience\": \"Core (SQL)\",\r\n \"hidden-cosmos-mmspecial\": \"\"\r\n },\r\n \"systemData\": {\r\n \"createdAt\": \"2021-06-10T05:07:55.084806Z\"\r\n },\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"documentEndpoint\": \"https://rbac126.documents.azure.com:443/\",\r\n \"publicNetworkAccess\": \"Enabled\",\r\n \"enableAutomaticFailover\": false,\r\n \"enableMultipleWriteLocations\": false,\r\n \"enablePartitionKeyMonitor\": false,\r\n \"isVirtualNetworkFilterEnabled\": false,\r\n \"virtualNetworkRules\": [],\r\n \"EnabledApiTypes\": \"Sql\",\r\n \"disableKeyBasedMetadataWriteAccess\": false,\r\n \"enableFreeTier\": false,\r\n \"enableAnalyticalStorage\": false,\r\n \"analyticalStorageConfiguration\": {\r\n \"analyticalStorageSchemaType\": \"WellDefined\"\r\n },\r\n \"instanceId\": \"5074765d-799e-48e0-9d5a-2ce00a90eb6f\",\r\n \"createMode\": \"Default\",\r\n \"databaseAccountOfferType\": \"Standard\",\r\n \"defaultIdentity\": \"FirstPartyIdentity\",\r\n \"networkAclBypass\": \"None\",\r\n \"disableLocalAuth\": false,\r\n \"consistencyPolicy\": {\r\n \"defaultConsistencyLevel\": \"Session\",\r\n \"maxIntervalInSeconds\": 5,\r\n \"maxStalenessPrefix\": 100\r\n },\r\n \"configurationOverrides\": {},\r\n \"writeLocations\": [\r\n {\r\n \"id\": \"rbac126-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://rbac126-eastus2.documents.azure.com:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"readLocations\": [\r\n {\r\n \"id\": \"rbac126-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://rbac126-eastus2.documents.azure.com:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"locations\": [\r\n {\r\n \"id\": \"rbac126-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://rbac126-eastus2.documents.azure.com:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"failoverPolicies\": [\r\n {\r\n \"id\": \"rbac126-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"failoverPriority\": 0\r\n }\r\n ],\r\n \"cors\": [],\r\n \"capabilities\": [],\r\n \"ipRules\": [],\r\n \"backupPolicy\": {\r\n \"type\": \"Periodic\",\r\n \"periodicModeProperties\": {\r\n \"backupIntervalInMinutes\": 240,\r\n \"backupRetentionIntervalInHours\": 8,\r\n \"backupStorageRedundancy\": \"Geo\"\r\n }\r\n },\r\n \"networkAclBypassResourceIds\": []\r\n },\r\n \"identity\": {\r\n \"type\": \"None\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/259fbb24-9bcd-4cfc-865c-fc33b22fe38a/resourceGroups/CosmosDBResourceGroup3668/providers/Microsoft.DocumentDB/databaseAccounts/restoredaccountname7595\",\r\n \"name\": \"restoredaccountname7595\",\r\n \"location\": \"East US 2\",\r\n \"type\": \"Microsoft.DocumentDB/databaseAccounts\",\r\n \"kind\": \"GlobalDocumentDB\",\r\n \"tags\": {\r\n \"defaultExperience\": \"Core (SQL)\",\r\n \"hidden-cosmos-mmspecial\": \"\"\r\n },\r\n \"systemData\": {\r\n \"createdAt\": \"2021-06-10T18:00:34.1983541Z\"\r\n },\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"documentEndpoint\": \"https://restoredaccountname7595.documents.azure.com:443/\",\r\n \"publicNetworkAccess\": \"Enabled\",\r\n \"enableAutomaticFailover\": false,\r\n \"enableMultipleWriteLocations\": false,\r\n \"enablePartitionKeyMonitor\": false,\r\n \"isVirtualNetworkFilterEnabled\": false,\r\n \"virtualNetworkRules\": [],\r\n \"EnabledApiTypes\": \"Sql\",\r\n \"disableKeyBasedMetadataWriteAccess\": false,\r\n \"enableFreeTier\": false,\r\n \"enableAnalyticalStorage\": false,\r\n \"analyticalStorageConfiguration\": {},\r\n \"instanceId\": \"c2601a38-bee1-400e-bc5e-8d817318cf31\",\r\n \"createMode\": \"Restore\",\r\n \"databaseAccountOfferType\": \"Standard\",\r\n \"defaultIdentity\": \"FirstPartyIdentity\",\r\n \"networkAclBypass\": \"None\",\r\n \"disableLocalAuth\": false,\r\n \"consistencyPolicy\": {\r\n \"defaultConsistencyLevel\": \"Session\",\r\n \"maxIntervalInSeconds\": 5,\r\n \"maxStalenessPrefix\": 100\r\n },\r\n \"configurationOverrides\": {},\r\n \"writeLocations\": [\r\n {\r\n \"id\": \"restoredaccountname7595-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://restoredaccountname7595-eastus2.documents.azure.com:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"readLocations\": [\r\n {\r\n \"id\": \"restoredaccountname7595-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://restoredaccountname7595-eastus2.documents.azure.com:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"locations\": [\r\n {\r\n \"id\": \"restoredaccountname7595-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://restoredaccountname7595-eastus2.documents.azure.com:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"failoverPolicies\": [\r\n {\r\n \"id\": \"restoredaccountname7595-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"failoverPriority\": 0\r\n }\r\n ],\r\n \"cors\": [],\r\n \"capabilities\": [],\r\n \"ipRules\": [],\r\n \"backupPolicy\": {\r\n \"type\": \"Continuous\"\r\n },\r\n \"restoreParameters\": {\r\n \"restoreMode\": \"PointInTime\",\r\n \"restoreSource\": \"/subscriptions/259fbb24-9bcd-4cfc-865c-fc33b22fe38a/providers/Microsoft.DocumentDB/locations/eastus2/restorableDatabaseAccounts/9f8ee54b-f275-44fa-b2c5-9983644c131f\",\r\n \"restoreTimestampInUtc\": \"2021-06-10T17:45:11.0041684Z\",\r\n \"databasesToRestore\": []\r\n },\r\n \"networkAclBypassResourceIds\": []\r\n },\r\n \"identity\": {\r\n \"type\": \"None\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/259fbb24-9bcd-4cfc-865c-fc33b22fe38a/resourceGroups/CosmosDBResourceGroup3668/providers/Microsoft.DocumentDB/databaseAccounts/restoredaccountname4020\",\r\n \"name\": \"restoredaccountname4020\",\r\n \"location\": \"East US 2\",\r\n \"type\": \"Microsoft.DocumentDB/databaseAccounts\",\r\n \"kind\": \"GlobalDocumentDB\",\r\n \"tags\": {\r\n \"defaultExperience\": \"Core (SQL)\",\r\n \"hidden-cosmos-mmspecial\": \"\"\r\n },\r\n \"systemData\": {\r\n \"createdAt\": \"2021-06-15T21:27:03.102793Z\"\r\n },\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"documentEndpoint\": \"https://restoredaccountname4020.documents.azure.com:443/\",\r\n \"publicNetworkAccess\": \"Enabled\",\r\n \"enableAutomaticFailover\": false,\r\n \"enableMultipleWriteLocations\": false,\r\n \"enablePartitionKeyMonitor\": false,\r\n \"isVirtualNetworkFilterEnabled\": false,\r\n \"virtualNetworkRules\": [],\r\n \"EnabledApiTypes\": \"Sql\",\r\n \"disableKeyBasedMetadataWriteAccess\": false,\r\n \"enableFreeTier\": false,\r\n \"enableAnalyticalStorage\": false,\r\n \"analyticalStorageConfiguration\": {},\r\n \"instanceId\": \"33035d50-7f15-4450-a71d-a4da4dcd039f\",\r\n \"createMode\": \"Restore\",\r\n \"databaseAccountOfferType\": \"Standard\",\r\n \"defaultIdentity\": \"FirstPartyIdentity\",\r\n \"networkAclBypass\": \"None\",\r\n \"disableLocalAuth\": false,\r\n \"consistencyPolicy\": {\r\n \"defaultConsistencyLevel\": \"Session\",\r\n \"maxIntervalInSeconds\": 5,\r\n \"maxStalenessPrefix\": 100\r\n },\r\n \"configurationOverrides\": {},\r\n \"writeLocations\": [\r\n {\r\n \"id\": \"restoredaccountname4020-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://restoredaccountname4020-eastus2.documents.azure.com:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"readLocations\": [\r\n {\r\n \"id\": \"restoredaccountname4020-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://restoredaccountname4020-eastus2.documents.azure.com:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"locations\": [\r\n {\r\n \"id\": \"restoredaccountname4020-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://restoredaccountname4020-eastus2.documents.azure.com:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"failoverPolicies\": [\r\n {\r\n \"id\": \"restoredaccountname4020-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"failoverPriority\": 0\r\n }\r\n ],\r\n \"cors\": [],\r\n \"capabilities\": [],\r\n \"ipRules\": [],\r\n \"backupPolicy\": {\r\n \"type\": \"Continuous\"\r\n },\r\n \"restoreParameters\": {\r\n \"restoreMode\": \"PointInTime\",\r\n \"restoreSource\": \"/subscriptions/259fbb24-9bcd-4cfc-865c-fc33b22fe38a/providers/Microsoft.DocumentDB/locations/eastus2/restorableDatabaseAccounts/9f8ee54b-f275-44fa-b2c5-9983644c131f\",\r\n \"restoreTimestampInUtc\": \"2021-06-15T21:14:08.4938549Z\",\r\n \"databasesToRestore\": []\r\n },\r\n \"networkAclBypassResourceIds\": []\r\n },\r\n \"identity\": {\r\n \"type\": \"None\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/259fbb24-9bcd-4cfc-865c-fc33b22fe38a/resourceGroups/CosmosDBResourceGroup3668/providers/Microsoft.DocumentDB/databaseAccounts/cli126\",\r\n \"name\": \"cli126\",\r\n \"location\": \"East US 2\",\r\n \"type\": \"Microsoft.DocumentDB/databaseAccounts\",\r\n \"kind\": \"GlobalDocumentDB\",\r\n \"tags\": {},\r\n \"systemData\": {\r\n \"createdAt\": \"2021-06-16T00:24:00.8135849Z\"\r\n },\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"documentEndpoint\": \"https://cli126.documents.azure.com:443/\",\r\n \"publicNetworkAccess\": \"Enabled\",\r\n \"enableAutomaticFailover\": false,\r\n \"enableMultipleWriteLocations\": false,\r\n \"enablePartitionKeyMonitor\": false,\r\n \"isVirtualNetworkFilterEnabled\": false,\r\n \"virtualNetworkRules\": [],\r\n \"EnabledApiTypes\": \"Sql\",\r\n \"disableKeyBasedMetadataWriteAccess\": false,\r\n \"enableFreeTier\": false,\r\n \"enableAnalyticalStorage\": false,\r\n \"analyticalStorageConfiguration\": {\r\n \"analyticalStorageSchemaType\": \"WellDefined\"\r\n },\r\n \"instanceId\": \"e7f55622-acc4-4521-80a4-fd9e79b10091\",\r\n \"createMode\": \"Default\",\r\n \"databaseAccountOfferType\": \"Standard\",\r\n \"defaultIdentity\": \"FirstPartyIdentity\",\r\n \"networkAclBypass\": \"None\",\r\n \"disableLocalAuth\": false,\r\n \"consistencyPolicy\": {\r\n \"defaultConsistencyLevel\": \"Session\",\r\n \"maxIntervalInSeconds\": 5,\r\n \"maxStalenessPrefix\": 100\r\n },\r\n \"configurationOverrides\": {},\r\n \"writeLocations\": [\r\n {\r\n \"id\": \"cli126-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://cli126-eastus2.documents.azure.com:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"readLocations\": [\r\n {\r\n \"id\": \"cli126-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://cli126-eastus2.documents.azure.com:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"locations\": [\r\n {\r\n \"id\": \"cli126-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://cli126-eastus2.documents.azure.com:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"failoverPolicies\": [\r\n {\r\n \"id\": \"cli126-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"failoverPriority\": 0\r\n }\r\n ],\r\n \"cors\": [],\r\n \"capabilities\": [],\r\n \"ipRules\": [],\r\n \"backupPolicy\": {\r\n \"type\": \"Periodic\",\r\n \"periodicModeProperties\": {\r\n \"backupIntervalInMinutes\": 240,\r\n \"backupRetentionIntervalInHours\": 8,\r\n \"backupStorageRedundancy\": \"Geo\"\r\n }\r\n },\r\n \"networkAclBypassResourceIds\": []\r\n },\r\n \"identity\": {\r\n \"type\": \"None\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/259fbb24-9bcd-4cfc-865c-fc33b22fe38a/resourceGroups/CosmosDBResourceGroup8650/providers/Microsoft.DocumentDB/databaseAccounts/accountname4002\",\r\n \"name\": \"accountname4002\",\r\n \"location\": \"East US 2\",\r\n \"type\": \"Microsoft.DocumentDB/databaseAccounts\",\r\n \"kind\": \"MongoDB\",\r\n \"tags\": {\r\n \"key3\": \"value3\",\r\n \"key4\": \"value4\"\r\n },\r\n \"systemData\": {\r\n \"createdAt\": \"2021-06-16T05:10:36.0450002Z\"\r\n },\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"documentEndpoint\": \"https://accountname4002.documents.azure.com:443/\",\r\n \"mongoEndpoint\": \"https://accountname4002.mongo.cosmos.azure.com:443/\",\r\n \"publicNetworkAccess\": \"Enabled\",\r\n \"enableAutomaticFailover\": true,\r\n \"enableMultipleWriteLocations\": true,\r\n \"enablePartitionKeyMonitor\": false,\r\n \"isVirtualNetworkFilterEnabled\": false,\r\n \"virtualNetworkRules\": [],\r\n \"EnabledApiTypes\": \"MongoDB\",\r\n \"disableKeyBasedMetadataWriteAccess\": true,\r\n \"enableFreeTier\": false,\r\n \"enableAnalyticalStorage\": false,\r\n \"analyticalStorageConfiguration\": {\r\n \"analyticalStorageSchemaType\": \"FullFidelity\"\r\n },\r\n \"instanceId\": \"125165e8-3796-40d3-80cd-83d7f3094110\",\r\n \"createMode\": \"Default\",\r\n \"databaseAccountOfferType\": \"Standard\",\r\n \"defaultIdentity\": \"FirstPartyIdentity\",\r\n \"networkAclBypass\": \"AzureServices\",\r\n \"disableLocalAuth\": false,\r\n \"consistencyPolicy\": {\r\n \"defaultConsistencyLevel\": \"Session\",\r\n \"maxIntervalInSeconds\": 5,\r\n \"maxStalenessPrefix\": 100\r\n },\r\n \"apiProperties\": {\r\n \"serverVersion\": \"3.6\"\r\n },\r\n \"configurationOverrides\": {\r\n \"EnableBsonSchema\": \"True\"\r\n },\r\n \"writeLocations\": [\r\n {\r\n \"id\": \"accountname4002-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://accountname4002-eastus2.documents.azure.com:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"readLocations\": [\r\n {\r\n \"id\": \"accountname4002-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://accountname4002-eastus2.documents.azure.com:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"locations\": [\r\n {\r\n \"id\": \"accountname4002-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://accountname4002-eastus2.documents.azure.com:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"failoverPolicies\": [\r\n {\r\n \"id\": \"accountname4002-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"failoverPriority\": 0\r\n }\r\n ],\r\n \"cors\": [],\r\n \"capabilities\": [\r\n {\r\n \"name\": \"EnableMongo\"\r\n }\r\n ],\r\n \"ipRules\": [\r\n {\r\n \"ipAddressOrRange\": \"23.43.230.120\"\r\n }\r\n ],\r\n \"backupPolicy\": {\r\n \"type\": \"Periodic\",\r\n \"periodicModeProperties\": {\r\n \"backupIntervalInMinutes\": 240,\r\n \"backupRetentionIntervalInHours\": 8,\r\n \"backupStorageRedundancy\": \"Geo\"\r\n }\r\n },\r\n \"networkAclBypassResourceIds\": [\r\n \"/subscriptions/subId/resourcegroups/rgName/providers/Microsoft.Synapse/workspaces/workspaceName\",\r\n \"/subscriptions/subId/resourcegroups/rgName/providers/Microsoft.Synapse/workspaces/workspaceName2\"\r\n ]\r\n },\r\n \"identity\": {\r\n \"type\": \"None\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/259fbb24-9bcd-4cfc-865c-fc33b22fe38a/resourceGroups/bugbashbackup/providers/Microsoft.DocumentDB/databaseAccounts/targetacct10\",\r\n \"name\": \"targetacct10\",\r\n \"location\": \"West US\",\r\n \"type\": \"Microsoft.DocumentDB/databaseAccounts\",\r\n \"kind\": \"GlobalDocumentDB\",\r\n \"tags\": {\r\n \"defaultExperience\": \"Core (SQL)\",\r\n \"hidden-cosmos-mmspecial\": \"\",\r\n \"CosmosAccountType\": \"Non-Production\"\r\n },\r\n \"systemData\": {\r\n \"createdAt\": \"2021-03-01T02:05:28.2926734Z\"\r\n },\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"documentEndpoint\": \"https://targetacct10.documents.azure.com:443/\",\r\n \"publicNetworkAccess\": \"Enabled\",\r\n \"enableAutomaticFailover\": false,\r\n \"enableMultipleWriteLocations\": false,\r\n \"enablePartitionKeyMonitor\": false,\r\n \"isVirtualNetworkFilterEnabled\": false,\r\n \"virtualNetworkRules\": [],\r\n \"EnabledApiTypes\": \"Sql\",\r\n \"disableKeyBasedMetadataWriteAccess\": false,\r\n \"enableFreeTier\": false,\r\n \"enableAnalyticalStorage\": false,\r\n \"analyticalStorageConfiguration\": {},\r\n \"instanceId\": \"4b9c5465-8bbc-4c8e-bc7f-5a8999c4e840\",\r\n \"createMode\": \"Restore\",\r\n \"databaseAccountOfferType\": \"Standard\",\r\n \"defaultIdentity\": \"\",\r\n \"networkAclBypass\": \"None\",\r\n \"disableLocalAuth\": false,\r\n \"consistencyPolicy\": {\r\n \"defaultConsistencyLevel\": \"Session\",\r\n \"maxIntervalInSeconds\": 5,\r\n \"maxStalenessPrefix\": 100\r\n },\r\n \"configurationOverrides\": {},\r\n \"writeLocations\": [\r\n {\r\n \"id\": \"targetacct10-westus\",\r\n \"locationName\": \"West US\",\r\n \"documentEndpoint\": \"https://targetacct10-westus.documents.azure.com:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"readLocations\": [\r\n {\r\n \"id\": \"targetacct10-westus\",\r\n \"locationName\": \"West US\",\r\n \"documentEndpoint\": \"https://targetacct10-westus.documents.azure.com:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"locations\": [\r\n {\r\n \"id\": \"targetacct10-westus\",\r\n \"locationName\": \"West US\",\r\n \"documentEndpoint\": \"https://targetacct10-westus.documents.azure.com:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"failoverPolicies\": [\r\n {\r\n \"id\": \"targetacct10-westus\",\r\n \"locationName\": \"West US\",\r\n \"failoverPriority\": 0\r\n }\r\n ],\r\n \"cors\": [],\r\n \"capabilities\": [],\r\n \"ipRules\": [],\r\n \"backupPolicy\": {\r\n \"type\": \"Continuous\"\r\n },\r\n \"restoreParameters\": {\r\n \"restoreMode\": \"PointInTime\",\r\n \"restoreSource\": \"/subscriptions/259fbb24-9bcd-4cfc-865c-fc33b22fe38a/providers/Microsoft.DocumentDB/locations/westus/restorableDatabaseAccounts/0034883d-1a13-418f-9eaf-5dbbaabdd901\",\r\n \"restoreTimestampInUtc\": \"2021-02-04T00:00:00Z\",\r\n \"databasesToRestore\": []\r\n },\r\n \"networkAclBypassResourceIds\": []\r\n },\r\n \"identity\": {\r\n \"type\": \"None\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/259fbb24-9bcd-4cfc-865c-fc33b22fe38a/resourceGroups/gskcss/providers/Microsoft.DocumentDB/databaseAccounts/targetacct112\",\r\n \"name\": \"targetacct112\",\r\n \"location\": \"West US\",\r\n \"type\": \"Microsoft.DocumentDB/databaseAccounts\",\r\n \"kind\": \"GlobalDocumentDB\",\r\n \"tags\": {\r\n \"defaultExperience\": \"Core (SQL)\",\r\n \"hidden-cosmos-mmspecial\": \"\",\r\n \"CosmosAccountType\": \"Non-Production\"\r\n },\r\n \"systemData\": {\r\n \"createdAt\": \"2021-03-01T10:33:40.2122225Z\"\r\n },\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"documentEndpoint\": \"https://targetacct112.documents.azure.com:443/\",\r\n \"publicNetworkAccess\": \"Enabled\",\r\n \"enableAutomaticFailover\": false,\r\n \"enableMultipleWriteLocations\": false,\r\n \"enablePartitionKeyMonitor\": false,\r\n \"isVirtualNetworkFilterEnabled\": false,\r\n \"virtualNetworkRules\": [],\r\n \"EnabledApiTypes\": \"Sql\",\r\n \"disableKeyBasedMetadataWriteAccess\": false,\r\n \"enableFreeTier\": false,\r\n \"enableAnalyticalStorage\": false,\r\n \"analyticalStorageConfiguration\": {},\r\n \"instanceId\": \"3564d9f8-5f2d-4d00-a66f-5d370d970371\",\r\n \"createMode\": \"Restore\",\r\n \"databaseAccountOfferType\": \"Standard\",\r\n \"defaultIdentity\": \"\",\r\n \"networkAclBypass\": \"None\",\r\n \"disableLocalAuth\": false,\r\n \"consistencyPolicy\": {\r\n \"defaultConsistencyLevel\": \"Session\",\r\n \"maxIntervalInSeconds\": 5,\r\n \"maxStalenessPrefix\": 100\r\n },\r\n \"configurationOverrides\": {},\r\n \"writeLocations\": [\r\n {\r\n \"id\": \"targetacct112-westus\",\r\n \"locationName\": \"West US\",\r\n \"documentEndpoint\": \"https://targetacct112-westus.documents.azure.com:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"readLocations\": [\r\n {\r\n \"id\": \"targetacct112-westus\",\r\n \"locationName\": \"West US\",\r\n \"documentEndpoint\": \"https://targetacct112-westus.documents.azure.com:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"locations\": [\r\n {\r\n \"id\": \"targetacct112-westus\",\r\n \"locationName\": \"West US\",\r\n \"documentEndpoint\": \"https://targetacct112-westus.documents.azure.com:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"failoverPolicies\": [\r\n {\r\n \"id\": \"targetacct112-westus\",\r\n \"locationName\": \"West US\",\r\n \"failoverPriority\": 0\r\n }\r\n ],\r\n \"cors\": [],\r\n \"capabilities\": [],\r\n \"ipRules\": [],\r\n \"backupPolicy\": {\r\n \"type\": \"Continuous\"\r\n },\r\n \"restoreParameters\": {\r\n \"restoreMode\": \"PointInTime\",\r\n \"restoreSource\": \"/subscriptions/259fbb24-9bcd-4cfc-865c-fc33b22fe38a/providers/Microsoft.DocumentDB/locations/westus/restorableDatabaseAccounts/5c84891d-ee24-4dc7-aa2b-d8968baf7936\",\r\n \"restoreTimestampInUtc\": \"2021-02-06T00:00:00Z\",\r\n \"databasesToRestore\": [\r\n {\r\n \"databaseName\": \"ToDoList\",\r\n \"collectionNames\": [\r\n \"Items\"\r\n ]\r\n }\r\n ]\r\n },\r\n \"networkAclBypassResourceIds\": []\r\n },\r\n \"identity\": {\r\n \"type\": \"None\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/259fbb24-9bcd-4cfc-865c-fc33b22fe38a/resourceGroups/analyticstest/providers/Microsoft.DocumentDB/databaseAccounts/analyticstest01072021\",\r\n \"name\": \"analyticstest01072021\",\r\n \"location\": \"West US\",\r\n \"type\": \"Microsoft.DocumentDB/databaseAccounts\",\r\n \"kind\": \"GlobalDocumentDB\",\r\n \"tags\": {\r\n \"defaultExperience\": \"Core (SQL)\",\r\n \"hidden-cosmos-mmspecial\": \"\",\r\n \"CosmosAccountType\": \"Non-Production\"\r\n },\r\n \"systemData\": {\r\n \"createdAt\": \"2021-01-07T20:28:47.6081066Z\"\r\n },\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"documentEndpoint\": \"https://analyticstest01072021.documents.azure.com:443/\",\r\n \"publicNetworkAccess\": \"Enabled\",\r\n \"enableAutomaticFailover\": false,\r\n \"enableMultipleWriteLocations\": false,\r\n \"enablePartitionKeyMonitor\": false,\r\n \"isVirtualNetworkFilterEnabled\": false,\r\n \"virtualNetworkRules\": [],\r\n \"EnabledApiTypes\": \"Sql\",\r\n \"disableKeyBasedMetadataWriteAccess\": false,\r\n \"enableFreeTier\": false,\r\n \"enableAnalyticalStorage\": true,\r\n \"analyticalStorageConfiguration\": {},\r\n \"instanceId\": \"f8dfcb44-15b2-4667-a00d-6611d51b8ad1\",\r\n \"createMode\": \"Default\",\r\n \"databaseAccountOfferType\": \"Standard\",\r\n \"defaultIdentity\": \"\",\r\n \"networkAclBypass\": \"None\",\r\n \"disableLocalAuth\": false,\r\n \"consistencyPolicy\": {\r\n \"defaultConsistencyLevel\": \"Session\",\r\n \"maxIntervalInSeconds\": 5,\r\n \"maxStalenessPrefix\": 100\r\n },\r\n \"configurationOverrides\": {},\r\n \"writeLocations\": [\r\n {\r\n \"id\": \"analyticstest01072021-westus\",\r\n \"locationName\": \"West US\",\r\n \"documentEndpoint\": \"https://analyticstest01072021-westus.documents.azure.com:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"readLocations\": [\r\n {\r\n \"id\": \"analyticstest01072021-westus\",\r\n \"locationName\": \"West US\",\r\n \"documentEndpoint\": \"https://analyticstest01072021-westus.documents.azure.com:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"locations\": [\r\n {\r\n \"id\": \"analyticstest01072021-westus\",\r\n \"locationName\": \"West US\",\r\n \"documentEndpoint\": \"https://analyticstest01072021-westus.documents.azure.com:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"failoverPolicies\": [\r\n {\r\n \"id\": \"analyticstest01072021-westus\",\r\n \"locationName\": \"West US\",\r\n \"failoverPriority\": 0\r\n }\r\n ],\r\n \"cors\": [],\r\n \"capabilities\": [],\r\n \"ipRules\": [],\r\n \"backupPolicy\": {\r\n \"type\": \"Periodic\",\r\n \"periodicModeProperties\": {\r\n \"backupIntervalInMinutes\": 240,\r\n \"backupRetentionIntervalInHours\": 8,\r\n \"backupStorageRedundancy\": \"Geo\"\r\n }\r\n },\r\n \"networkAclBypassResourceIds\": []\r\n },\r\n \"identity\": {\r\n \"type\": \"None\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/259fbb24-9bcd-4cfc-865c-fc33b22fe38a/resourceGroups/analyticstest/providers/Microsoft.DocumentDB/databaseAccounts/clid4bvkfsumrnr-restore\",\r\n \"name\": \"clid4bvkfsumrnr-restore\",\r\n \"location\": \"West US\",\r\n \"type\": \"Microsoft.DocumentDB/databaseAccounts\",\r\n \"kind\": \"MongoDB\",\r\n \"tags\": {},\r\n \"systemData\": {\r\n \"createdAt\": \"2021-01-08T20:25:48.8761516Z\"\r\n },\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"documentEndpoint\": \"https://clid4bvkfsumrnr-restore.documents.azure.com:443/\",\r\n \"mongoEndpoint\": \"https://clid4bvkfsumrnr-restore.mongo.cosmos.azure.com:443/\",\r\n \"publicNetworkAccess\": \"Enabled\",\r\n \"enableAutomaticFailover\": false,\r\n \"enableMultipleWriteLocations\": false,\r\n \"enablePartitionKeyMonitor\": false,\r\n \"isVirtualNetworkFilterEnabled\": false,\r\n \"virtualNetworkRules\": [],\r\n \"EnabledApiTypes\": \"MongoDB\",\r\n \"disableKeyBasedMetadataWriteAccess\": false,\r\n \"enableFreeTier\": false,\r\n \"enableAnalyticalStorage\": false,\r\n \"analyticalStorageConfiguration\": {},\r\n \"instanceId\": \"1cea11b1-c170-4ffe-993d-63da1bff9a94\",\r\n \"createMode\": \"Restore\",\r\n \"databaseAccountOfferType\": \"Standard\",\r\n \"defaultIdentity\": \"\",\r\n \"networkAclBypass\": \"None\",\r\n \"disableLocalAuth\": false,\r\n \"consistencyPolicy\": {\r\n \"defaultConsistencyLevel\": \"Session\",\r\n \"maxIntervalInSeconds\": 5,\r\n \"maxStalenessPrefix\": 100\r\n },\r\n \"apiProperties\": {\r\n \"serverVersion\": \"3.6\"\r\n },\r\n \"configurationOverrides\": {\r\n \"EnableBsonSchema\": \"True\"\r\n },\r\n \"writeLocations\": [\r\n {\r\n \"id\": \"clid4bvkfsumrnr-restore-westus\",\r\n \"locationName\": \"West US\",\r\n \"documentEndpoint\": \"https://clid4bvkfsumrnr-restore-westus.documents.azure.com:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"readLocations\": [\r\n {\r\n \"id\": \"clid4bvkfsumrnr-restore-westus\",\r\n \"locationName\": \"West US\",\r\n \"documentEndpoint\": \"https://clid4bvkfsumrnr-restore-westus.documents.azure.com:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"locations\": [\r\n {\r\n \"id\": \"clid4bvkfsumrnr-restore-westus\",\r\n \"locationName\": \"West US\",\r\n \"documentEndpoint\": \"https://clid4bvkfsumrnr-restore-westus.documents.azure.com:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"failoverPolicies\": [\r\n {\r\n \"id\": \"clid4bvkfsumrnr-restore-westus\",\r\n \"locationName\": \"West US\",\r\n \"failoverPriority\": 0\r\n }\r\n ],\r\n \"cors\": [],\r\n \"capabilities\": [\r\n {\r\n \"name\": \"EnableMongo\"\r\n }\r\n ],\r\n \"ipRules\": [],\r\n \"backupPolicy\": {\r\n \"type\": \"Continuous\"\r\n },\r\n \"restoreParameters\": {\r\n \"restoreMode\": \"PointInTime\",\r\n \"restoreSource\": \"/subscriptions/259fbb24-9bcd-4cfc-865c-fc33b22fe38a/providers/Microsoft.DocumentDB/locations/westus/restorableDatabaseAccounts/1d16299c-e79e-4130-9647-1fa47f738892\",\r\n \"restoreTimestampInUtc\": \"2020-12-10T21:45:00Z\",\r\n \"databasesToRestore\": []\r\n },\r\n \"networkAclBypassResourceIds\": []\r\n },\r\n \"identity\": {\r\n \"type\": \"None\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/259fbb24-9bcd-4cfc-865c-fc33b22fe38a/resourceGroups/cli_test_cosmosdb_mongodb_restorable_commandsgdb7nmuyk4whgiqmuvmvwmkl7zuov7/providers/Microsoft.DocumentDB/databaseAccounts/cliweraslfbdxmi\",\r\n \"name\": \"cliweraslfbdxmi\",\r\n \"location\": \"West US\",\r\n \"type\": \"Microsoft.DocumentDB/databaseAccounts\",\r\n \"kind\": \"MongoDB\",\r\n \"tags\": {},\r\n \"systemData\": {\r\n \"createdAt\": \"2021-01-28T22:55:57.8949097Z\"\r\n },\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"documentEndpoint\": \"https://cliweraslfbdxmi.documents.azure.com:443/\",\r\n \"mongoEndpoint\": \"https://cliweraslfbdxmi.mongo.cosmos.azure.com:443/\",\r\n \"publicNetworkAccess\": \"Enabled\",\r\n \"enableAutomaticFailover\": false,\r\n \"enableMultipleWriteLocations\": false,\r\n \"enablePartitionKeyMonitor\": false,\r\n \"isVirtualNetworkFilterEnabled\": false,\r\n \"virtualNetworkRules\": [],\r\n \"EnabledApiTypes\": \"MongoDB\",\r\n \"disableKeyBasedMetadataWriteAccess\": false,\r\n \"enableFreeTier\": false,\r\n \"enableAnalyticalStorage\": false,\r\n \"analyticalStorageConfiguration\": {},\r\n \"instanceId\": \"28bc2837-a17f-4038-8569-7ffb33794333\",\r\n \"createMode\": \"Default\",\r\n \"databaseAccountOfferType\": \"Standard\",\r\n \"defaultIdentity\": \"\",\r\n \"networkAclBypass\": \"None\",\r\n \"disableLocalAuth\": false,\r\n \"consistencyPolicy\": {\r\n \"defaultConsistencyLevel\": \"Session\",\r\n \"maxIntervalInSeconds\": 5,\r\n \"maxStalenessPrefix\": 100\r\n },\r\n \"apiProperties\": {\r\n \"serverVersion\": \"3.6\"\r\n },\r\n \"configurationOverrides\": {\r\n \"EnableBsonSchema\": \"True\"\r\n },\r\n \"writeLocations\": [\r\n {\r\n \"id\": \"cliweraslfbdxmi-westus\",\r\n \"locationName\": \"West US\",\r\n \"documentEndpoint\": \"https://cliweraslfbdxmi-westus.documents.azure.com:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"readLocations\": [\r\n {\r\n \"id\": \"cliweraslfbdxmi-westus\",\r\n \"locationName\": \"West US\",\r\n \"documentEndpoint\": \"https://cliweraslfbdxmi-westus.documents.azure.com:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"locations\": [\r\n {\r\n \"id\": \"cliweraslfbdxmi-westus\",\r\n \"locationName\": \"West US\",\r\n \"documentEndpoint\": \"https://cliweraslfbdxmi-westus.documents.azure.com:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"failoverPolicies\": [\r\n {\r\n \"id\": \"cliweraslfbdxmi-westus\",\r\n \"locationName\": \"West US\",\r\n \"failoverPriority\": 0\r\n }\r\n ],\r\n \"cors\": [],\r\n \"capabilities\": [\r\n {\r\n \"name\": \"EnableMongo\"\r\n }\r\n ],\r\n \"ipRules\": [],\r\n \"backupPolicy\": {\r\n \"type\": \"Continuous\"\r\n },\r\n \"networkAclBypassResourceIds\": []\r\n },\r\n \"identity\": {\r\n \"type\": \"None\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/259fbb24-9bcd-4cfc-865c-fc33b22fe38a/resourceGroups/CosmosDBResourceGroup30/providers/Microsoft.DocumentDB/databaseAccounts/cosmosdb-1212\",\r\n \"name\": \"cosmosdb-1212\",\r\n \"location\": \"West US\",\r\n \"type\": \"Microsoft.DocumentDB/databaseAccounts\",\r\n \"kind\": \"GlobalDocumentDB\",\r\n \"tags\": {\r\n \"defaultExperience\": \"Core (SQL)\",\r\n \"hidden-cosmos-mmspecial\": \"\",\r\n \"CosmosAccountType\": \"Non-Production\"\r\n },\r\n \"systemData\": {\r\n \"createdAt\": \"2021-01-08T02:05:36.1618683Z\"\r\n },\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"documentEndpoint\": \"https://cosmosdb-1212.documents.azure.com:443/\",\r\n \"publicNetworkAccess\": \"Enabled\",\r\n \"enableAutomaticFailover\": false,\r\n \"enableMultipleWriteLocations\": false,\r\n \"enablePartitionKeyMonitor\": false,\r\n \"isVirtualNetworkFilterEnabled\": false,\r\n \"virtualNetworkRules\": [],\r\n \"EnabledApiTypes\": \"Sql\",\r\n \"disableKeyBasedMetadataWriteAccess\": false,\r\n \"enableFreeTier\": false,\r\n \"enableAnalyticalStorage\": false,\r\n \"analyticalStorageConfiguration\": {},\r\n \"instanceId\": \"31869788-6f92-47f9-8f8b-6619582d2381\",\r\n \"createMode\": \"Default\",\r\n \"databaseAccountOfferType\": \"Standard\",\r\n \"defaultIdentity\": \"\",\r\n \"networkAclBypass\": \"None\",\r\n \"disableLocalAuth\": false,\r\n \"consistencyPolicy\": {\r\n \"defaultConsistencyLevel\": \"Session\",\r\n \"maxIntervalInSeconds\": 5,\r\n \"maxStalenessPrefix\": 100\r\n },\r\n \"configurationOverrides\": {},\r\n \"writeLocations\": [\r\n {\r\n \"id\": \"cosmosdb-1212-westus\",\r\n \"locationName\": \"West US\",\r\n \"documentEndpoint\": \"https://cosmosdb-1212-westus.documents.azure.com:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"readLocations\": [\r\n {\r\n \"id\": \"cosmosdb-1212-westus\",\r\n \"locationName\": \"West US\",\r\n \"documentEndpoint\": \"https://cosmosdb-1212-westus.documents.azure.com:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"locations\": [\r\n {\r\n \"id\": \"cosmosdb-1212-westus\",\r\n \"locationName\": \"West US\",\r\n \"documentEndpoint\": \"https://cosmosdb-1212-westus.documents.azure.com:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"failoverPolicies\": [\r\n {\r\n \"id\": \"cosmosdb-1212-westus\",\r\n \"locationName\": \"West US\",\r\n \"failoverPriority\": 0\r\n }\r\n ],\r\n \"cors\": [],\r\n \"capabilities\": [],\r\n \"ipRules\": [\r\n {\r\n \"ipAddressOrRange\": \"131.107.174.17\"\r\n },\r\n {\r\n \"ipAddressOrRange\": \"104.42.195.92\"\r\n },\r\n {\r\n \"ipAddressOrRange\": \"40.76.54.131\"\r\n },\r\n {\r\n \"ipAddressOrRange\": \"52.176.6.30\"\r\n },\r\n {\r\n \"ipAddressOrRange\": \"52.169.50.45\"\r\n },\r\n {\r\n \"ipAddressOrRange\": \"52.187.184.26\"\r\n }\r\n ],\r\n \"backupPolicy\": {\r\n \"type\": \"Continuous\"\r\n },\r\n \"networkAclBypassResourceIds\": []\r\n },\r\n \"identity\": {\r\n \"type\": \"None\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/259fbb24-9bcd-4cfc-865c-fc33b22fe38a/resourceGroups/gskcss/providers/Microsoft.DocumentDB/databaseAccounts/gskcssdemo-r1\",\r\n \"name\": \"gskcssdemo-r1\",\r\n \"location\": \"West US\",\r\n \"type\": \"Microsoft.DocumentDB/databaseAccounts\",\r\n \"kind\": \"GlobalDocumentDB\",\r\n \"tags\": {\r\n \"defaultExperience\": \"Core (SQL)\",\r\n \"hidden-cosmos-mmspecial\": \"\",\r\n \"CosmosAccountType\": \"Non-Production\"\r\n },\r\n \"systemData\": {\r\n \"createdAt\": \"2021-01-15T05:24:39.2844442Z\"\r\n },\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"documentEndpoint\": \"https://gskcssdemo-r1.documents.azure.com:443/\",\r\n \"publicNetworkAccess\": \"Enabled\",\r\n \"enableAutomaticFailover\": false,\r\n \"enableMultipleWriteLocations\": false,\r\n \"enablePartitionKeyMonitor\": false,\r\n \"isVirtualNetworkFilterEnabled\": false,\r\n \"virtualNetworkRules\": [],\r\n \"EnabledApiTypes\": \"Sql\",\r\n \"disableKeyBasedMetadataWriteAccess\": false,\r\n \"enableFreeTier\": false,\r\n \"enableAnalyticalStorage\": false,\r\n \"analyticalStorageConfiguration\": {},\r\n \"instanceId\": \"cc9b5676-f21b-4bd4-b3d9-26ded6884aaa\",\r\n \"createMode\": \"Restore\",\r\n \"databaseAccountOfferType\": \"Standard\",\r\n \"defaultIdentity\": \"\",\r\n \"networkAclBypass\": \"None\",\r\n \"disableLocalAuth\": false,\r\n \"consistencyPolicy\": {\r\n \"defaultConsistencyLevel\": \"Session\",\r\n \"maxIntervalInSeconds\": 5,\r\n \"maxStalenessPrefix\": 100\r\n },\r\n \"configurationOverrides\": {},\r\n \"writeLocations\": [\r\n {\r\n \"id\": \"gskcssdemo-r1-westus\",\r\n \"locationName\": \"West US\",\r\n \"documentEndpoint\": \"https://gskcssdemo-r1-westus.documents.azure.com:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"readLocations\": [\r\n {\r\n \"id\": \"gskcssdemo-r1-westus\",\r\n \"locationName\": \"West US\",\r\n \"documentEndpoint\": \"https://gskcssdemo-r1-westus.documents.azure.com:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"locations\": [\r\n {\r\n \"id\": \"gskcssdemo-r1-westus\",\r\n \"locationName\": \"West US\",\r\n \"documentEndpoint\": \"https://gskcssdemo-r1-westus.documents.azure.com:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"failoverPolicies\": [\r\n {\r\n \"id\": \"gskcssdemo-r1-westus\",\r\n \"locationName\": \"West US\",\r\n \"failoverPriority\": 0\r\n }\r\n ],\r\n \"cors\": [],\r\n \"capabilities\": [],\r\n \"ipRules\": [],\r\n \"backupPolicy\": {\r\n \"type\": \"Continuous\"\r\n },\r\n \"restoreParameters\": {\r\n \"restoreMode\": \"PointInTime\",\r\n \"restoreSource\": \"/subscriptions/259fbb24-9bcd-4cfc-865c-fc33b22fe38a/providers/Microsoft.DocumentDB/locations/westus/restorableDatabaseAccounts/5c84891d-ee24-4dc7-aa2b-d8968baf7936\",\r\n \"restoreTimestampInUtc\": \"2021-01-15T02:50:50Z\",\r\n \"databasesToRestore\": [\r\n {\r\n \"databaseName\": \"ToDoList\",\r\n \"collectionNames\": [\r\n \"Items\"\r\n ]\r\n }\r\n ]\r\n },\r\n \"networkAclBypassResourceIds\": []\r\n },\r\n \"identity\": {\r\n \"type\": \"None\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/259fbb24-9bcd-4cfc-865c-fc33b22fe38a/resourceGroups/gskcss/providers/Microsoft.DocumentDB/databaseAccounts/gskcssdemo\",\r\n \"name\": \"gskcssdemo\",\r\n \"location\": \"West US\",\r\n \"type\": \"Microsoft.DocumentDB/databaseAccounts\",\r\n \"kind\": \"GlobalDocumentDB\",\r\n \"tags\": {\r\n \"defaultExperience\": \"Core (SQL)\",\r\n \"hidden-cosmos-mmspecial\": \"\",\r\n \"CosmosAccountType\": \"Non-Production\"\r\n },\r\n \"systemData\": {\r\n \"createdAt\": \"2020-12-14T21:53:51.2837017Z\"\r\n },\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"documentEndpoint\": \"https://gskcssdemo.documents.azure.com:443/\",\r\n \"publicNetworkAccess\": \"Enabled\",\r\n \"enableAutomaticFailover\": false,\r\n \"enableMultipleWriteLocations\": false,\r\n \"enablePartitionKeyMonitor\": false,\r\n \"isVirtualNetworkFilterEnabled\": false,\r\n \"virtualNetworkRules\": [],\r\n \"EnabledApiTypes\": \"Sql\",\r\n \"disableKeyBasedMetadataWriteAccess\": false,\r\n \"enableFreeTier\": false,\r\n \"enableAnalyticalStorage\": false,\r\n \"analyticalStorageConfiguration\": {},\r\n \"instanceId\": \"5c84891d-ee24-4dc7-aa2b-d8968baf7936\",\r\n \"createMode\": \"Default\",\r\n \"databaseAccountOfferType\": \"Standard\",\r\n \"defaultIdentity\": \"\",\r\n \"networkAclBypass\": \"None\",\r\n \"disableLocalAuth\": false,\r\n \"consistencyPolicy\": {\r\n \"defaultConsistencyLevel\": \"Session\",\r\n \"maxIntervalInSeconds\": 5,\r\n \"maxStalenessPrefix\": 100\r\n },\r\n \"configurationOverrides\": {},\r\n \"writeLocations\": [\r\n {\r\n \"id\": \"gskcssdemo-westus\",\r\n \"locationName\": \"West US\",\r\n \"documentEndpoint\": \"https://gskcssdemo-westus.documents.azure.com:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"readLocations\": [\r\n {\r\n \"id\": \"gskcssdemo-westus\",\r\n \"locationName\": \"West US\",\r\n \"documentEndpoint\": \"https://gskcssdemo-westus.documents.azure.com:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"locations\": [\r\n {\r\n \"id\": \"gskcssdemo-westus\",\r\n \"locationName\": \"West US\",\r\n \"documentEndpoint\": \"https://gskcssdemo-westus.documents.azure.com:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"failoverPolicies\": [\r\n {\r\n \"id\": \"gskcssdemo-westus\",\r\n \"locationName\": \"West US\",\r\n \"failoverPriority\": 0\r\n }\r\n ],\r\n \"cors\": [],\r\n \"capabilities\": [],\r\n \"ipRules\": [],\r\n \"backupPolicy\": {\r\n \"type\": \"Continuous\"\r\n },\r\n \"networkAclBypassResourceIds\": []\r\n },\r\n \"identity\": {\r\n \"type\": \"None\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/259fbb24-9bcd-4cfc-865c-fc33b22fe38a/resourceGroups/kakhandr-rd/providers/Microsoft.DocumentDB/databaseAccounts/kal-continuous\",\r\n \"name\": \"kal-continuous\",\r\n \"location\": \"West US\",\r\n \"type\": \"Microsoft.DocumentDB/databaseAccounts\",\r\n \"kind\": \"GlobalDocumentDB\",\r\n \"tags\": {},\r\n \"systemData\": {\r\n \"createdAt\": \"2020-08-05T01:00:24.1857393Z\"\r\n },\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"documentEndpoint\": \"https://kal-continuous.documents.azure.com:443/\",\r\n \"publicNetworkAccess\": \"Enabled\",\r\n \"enableAutomaticFailover\": false,\r\n \"enableMultipleWriteLocations\": false,\r\n \"enablePartitionKeyMonitor\": false,\r\n \"isVirtualNetworkFilterEnabled\": false,\r\n \"virtualNetworkRules\": [],\r\n \"EnabledApiTypes\": \"Sql\",\r\n \"disableKeyBasedMetadataWriteAccess\": false,\r\n \"enableFreeTier\": false,\r\n \"enableAnalyticalStorage\": false,\r\n \"analyticalStorageConfiguration\": {},\r\n \"instanceId\": \"d92d948a-afb9-4bb3-9a4c-d6b8fcf8d204\",\r\n \"createMode\": \"Default\",\r\n \"databaseAccountOfferType\": \"Standard\",\r\n \"defaultIdentity\": \"\",\r\n \"networkAclBypass\": \"None\",\r\n \"disableLocalAuth\": false,\r\n \"consistencyPolicy\": {\r\n \"defaultConsistencyLevel\": \"Session\",\r\n \"maxIntervalInSeconds\": 5,\r\n \"maxStalenessPrefix\": 100\r\n },\r\n \"configurationOverrides\": {},\r\n \"writeLocations\": [\r\n {\r\n \"id\": \"kal-continuous-westus\",\r\n \"locationName\": \"West US\",\r\n \"documentEndpoint\": \"https://kal-continuous-westus.documents.azure.com:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"readLocations\": [\r\n {\r\n \"id\": \"kal-continuous-westus\",\r\n \"locationName\": \"West US\",\r\n \"documentEndpoint\": \"https://kal-continuous-westus.documents.azure.com:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n },\r\n {\r\n \"id\": \"kal-continuous-eastus\",\r\n \"locationName\": \"East US\",\r\n \"documentEndpoint\": \"https://kal-continuous-eastus.documents.azure.com:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 1,\r\n \"isZoneRedundant\": false\r\n },\r\n {\r\n \"id\": \"kal-continuous-southcentralus\",\r\n \"locationName\": \"South Central US\",\r\n \"documentEndpoint\": \"https://kal-continuous-southcentralus.documents.azure.com:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 2,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"locations\": [\r\n {\r\n \"id\": \"kal-continuous-westus\",\r\n \"locationName\": \"West US\",\r\n \"documentEndpoint\": \"https://kal-continuous-westus.documents.azure.com:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n },\r\n {\r\n \"id\": \"kal-continuous-eastus\",\r\n \"locationName\": \"East US\",\r\n \"documentEndpoint\": \"https://kal-continuous-eastus.documents.azure.com:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 1,\r\n \"isZoneRedundant\": false\r\n },\r\n {\r\n \"id\": \"kal-continuous-southcentralus\",\r\n \"locationName\": \"South Central US\",\r\n \"documentEndpoint\": \"https://kal-continuous-southcentralus.documents.azure.com:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 2,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"failoverPolicies\": [\r\n {\r\n \"id\": \"kal-continuous-westus\",\r\n \"locationName\": \"West US\",\r\n \"failoverPriority\": 0\r\n },\r\n {\r\n \"id\": \"kal-continuous-eastus\",\r\n \"locationName\": \"East US\",\r\n \"failoverPriority\": 1\r\n },\r\n {\r\n \"id\": \"kal-continuous-southcentralus\",\r\n \"locationName\": \"South Central US\",\r\n \"failoverPriority\": 2\r\n }\r\n ],\r\n \"cors\": [],\r\n \"capabilities\": [],\r\n \"ipRules\": [\r\n {\r\n \"ipAddressOrRange\": \"20.10.10.10\"\r\n },\r\n {\r\n \"ipAddressOrRange\": \"12.12.122.122\"\r\n },\r\n {\r\n \"ipAddressOrRange\": \"12.22.11.11\"\r\n },\r\n {\r\n \"ipAddressOrRange\": \"167.220.2.63\"\r\n }\r\n ],\r\n \"backupPolicy\": {\r\n \"type\": \"Continuous\"\r\n },\r\n \"networkAclBypassResourceIds\": []\r\n },\r\n \"identity\": {\r\n \"type\": \"None\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/259fbb24-9bcd-4cfc-865c-fc33b22fe38a/resourceGroups/cli_test_cosmosdb_mongodb_restorable_commandsu4wgkcdknfjkhd56fmfgat65ycgxwo/providers/Microsoft.DocumentDB/databaseAccounts/clikbicro7ly5p2\",\r\n \"name\": \"clikbicro7ly5p2\",\r\n \"location\": \"West US\",\r\n \"type\": \"Microsoft.DocumentDB/databaseAccounts\",\r\n \"kind\": \"MongoDB\",\r\n \"tags\": {},\r\n \"systemData\": {\r\n \"createdAt\": \"2021-01-16T01:25:44.6494055Z\"\r\n },\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"documentEndpoint\": \"https://clikbicro7ly5p2.documents.azure.com:443/\",\r\n \"publicNetworkAccess\": \"Enabled\",\r\n \"enableAutomaticFailover\": false,\r\n \"enableMultipleWriteLocations\": false,\r\n \"enablePartitionKeyMonitor\": false,\r\n \"isVirtualNetworkFilterEnabled\": false,\r\n \"virtualNetworkRules\": [],\r\n \"EnabledApiTypes\": \"MongoDB\",\r\n \"disableKeyBasedMetadataWriteAccess\": false,\r\n \"enableFreeTier\": false,\r\n \"enableAnalyticalStorage\": false,\r\n \"analyticalStorageConfiguration\": {},\r\n \"instanceId\": \"16e57fca-6555-4c92-bb57-1afa38d69371\",\r\n \"createMode\": \"Default\",\r\n \"databaseAccountOfferType\": \"Standard\",\r\n \"defaultIdentity\": \"\",\r\n \"networkAclBypass\": \"None\",\r\n \"disableLocalAuth\": false,\r\n \"consistencyPolicy\": {\r\n \"defaultConsistencyLevel\": \"Session\",\r\n \"maxIntervalInSeconds\": 5,\r\n \"maxStalenessPrefix\": 100\r\n },\r\n \"apiProperties\": {\r\n \"serverVersion\": \"3.2\"\r\n },\r\n \"configurationOverrides\": {\r\n \"EnableBsonSchema\": \"True\"\r\n },\r\n \"writeLocations\": [\r\n {\r\n \"id\": \"clikbicro7ly5p2-westus\",\r\n \"locationName\": \"West US\",\r\n \"documentEndpoint\": \"https://clikbicro7ly5p2-westus.documents.azure.com:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"readLocations\": [\r\n {\r\n \"id\": \"clikbicro7ly5p2-westus\",\r\n \"locationName\": \"West US\",\r\n \"documentEndpoint\": \"https://clikbicro7ly5p2-westus.documents.azure.com:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"locations\": [\r\n {\r\n \"id\": \"clikbicro7ly5p2-westus\",\r\n \"locationName\": \"West US\",\r\n \"documentEndpoint\": \"https://clikbicro7ly5p2-westus.documents.azure.com:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"failoverPolicies\": [\r\n {\r\n \"id\": \"clikbicro7ly5p2-westus\",\r\n \"locationName\": \"West US\",\r\n \"failoverPriority\": 0\r\n }\r\n ],\r\n \"cors\": [],\r\n \"capabilities\": [],\r\n \"ipRules\": [],\r\n \"backupPolicy\": {\r\n \"type\": \"Continuous\"\r\n },\r\n \"networkAclBypassResourceIds\": []\r\n },\r\n \"identity\": {\r\n \"type\": \"None\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/259fbb24-9bcd-4cfc-865c-fc33b22fe38a/resourceGroups/pitrdemocus/providers/Microsoft.DocumentDB/databaseAccounts/nonpitracc\",\r\n \"name\": \"nonpitracc\",\r\n \"location\": \"West US\",\r\n \"type\": \"Microsoft.DocumentDB/databaseAccounts\",\r\n \"kind\": \"GlobalDocumentDB\",\r\n \"tags\": {\r\n \"defaultExperience\": \"Core (SQL)\",\r\n \"hidden-cosmos-mmspecial\": \"\",\r\n \"CosmosAccountType\": \"Non-Production\"\r\n },\r\n \"systemData\": {\r\n \"createdAt\": \"2020-10-15T06:51:43.6326198Z\"\r\n },\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"documentEndpoint\": \"https://nonpitracc.documents.azure.com:443/\",\r\n \"publicNetworkAccess\": \"Enabled\",\r\n \"enableAutomaticFailover\": false,\r\n \"enableMultipleWriteLocations\": false,\r\n \"enablePartitionKeyMonitor\": false,\r\n \"isVirtualNetworkFilterEnabled\": false,\r\n \"virtualNetworkRules\": [],\r\n \"EnabledApiTypes\": \"Sql\",\r\n \"disableKeyBasedMetadataWriteAccess\": false,\r\n \"enableFreeTier\": false,\r\n \"enableAnalyticalStorage\": false,\r\n \"analyticalStorageConfiguration\": {},\r\n \"instanceId\": \"60f5f9a3-4993-4c9d-a17f-c23bd4e3a8eb\",\r\n \"createMode\": \"Default\",\r\n \"databaseAccountOfferType\": \"Standard\",\r\n \"defaultIdentity\": \"\",\r\n \"networkAclBypass\": \"None\",\r\n \"disableLocalAuth\": false,\r\n \"consistencyPolicy\": {\r\n \"defaultConsistencyLevel\": \"Session\",\r\n \"maxIntervalInSeconds\": 5,\r\n \"maxStalenessPrefix\": 100\r\n },\r\n \"configurationOverrides\": {},\r\n \"writeLocations\": [\r\n {\r\n \"id\": \"nonpitracc-westus\",\r\n \"locationName\": \"West US\",\r\n \"documentEndpoint\": \"https://nonpitracc-westus.documents.azure.com:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"readLocations\": [\r\n {\r\n \"id\": \"nonpitracc-westus\",\r\n \"locationName\": \"West US\",\r\n \"documentEndpoint\": \"https://nonpitracc-westus.documents.azure.com:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"locations\": [\r\n {\r\n \"id\": \"nonpitracc-westus\",\r\n \"locationName\": \"West US\",\r\n \"documentEndpoint\": \"https://nonpitracc-westus.documents.azure.com:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"failoverPolicies\": [\r\n {\r\n \"id\": \"nonpitracc-westus\",\r\n \"locationName\": \"West US\",\r\n \"failoverPriority\": 0\r\n }\r\n ],\r\n \"cors\": [],\r\n \"capabilities\": [],\r\n \"ipRules\": [],\r\n \"backupPolicy\": {\r\n \"type\": \"Periodic\",\r\n \"periodicModeProperties\": {\r\n \"backupIntervalInMinutes\": 240,\r\n \"backupRetentionIntervalInHours\": 8,\r\n \"backupStorageRedundancy\": \"Geo\"\r\n }\r\n },\r\n \"networkAclBypassResourceIds\": []\r\n },\r\n \"identity\": {\r\n \"type\": \"None\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/259fbb24-9bcd-4cfc-865c-fc33b22fe38a/resourceGroups/pitrdemocus/providers/Microsoft.DocumentDB/databaseAccounts/pitrmongotest\",\r\n \"name\": \"pitrmongotest\",\r\n \"location\": \"West US\",\r\n \"type\": \"Microsoft.DocumentDB/databaseAccounts\",\r\n \"kind\": \"MongoDB\",\r\n \"tags\": {\r\n \"defaultExperience\": \"Azure Cosmos DB for MongoDB API\",\r\n \"hidden-cosmos-mmspecial\": \"\",\r\n \"CosmosAccountType\": \"Non-Production\"\r\n },\r\n \"systemData\": {\r\n \"createdAt\": \"2020-10-01T17:27:21.7773462Z\"\r\n },\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"documentEndpoint\": \"https://pitrmongotest.documents.azure.com:443/\",\r\n \"mongoEndpoint\": \"https://pitrmongotest.mongo.cosmos.azure.com:443/\",\r\n \"publicNetworkAccess\": \"Enabled\",\r\n \"enableAutomaticFailover\": false,\r\n \"enableMultipleWriteLocations\": false,\r\n \"enablePartitionKeyMonitor\": false,\r\n \"isVirtualNetworkFilterEnabled\": false,\r\n \"virtualNetworkRules\": [],\r\n \"EnabledApiTypes\": \"MongoDB\",\r\n \"disableKeyBasedMetadataWriteAccess\": false,\r\n \"enableFreeTier\": false,\r\n \"enableAnalyticalStorage\": false,\r\n \"analyticalStorageConfiguration\": {},\r\n \"instanceId\": \"74ebfb99-1914-4ea9-b802-736b5bda12a7\",\r\n \"createMode\": \"Default\",\r\n \"databaseAccountOfferType\": \"Standard\",\r\n \"defaultIdentity\": \"\",\r\n \"networkAclBypass\": \"None\",\r\n \"disableLocalAuth\": false,\r\n \"consistencyPolicy\": {\r\n \"defaultConsistencyLevel\": \"Session\",\r\n \"maxIntervalInSeconds\": 5,\r\n \"maxStalenessPrefix\": 100\r\n },\r\n \"apiProperties\": {\r\n \"serverVersion\": \"3.6\"\r\n },\r\n \"configurationOverrides\": {\r\n \"EnableBsonSchema\": \"True\"\r\n },\r\n \"writeLocations\": [\r\n {\r\n \"id\": \"pitrmongotest-westus\",\r\n \"locationName\": \"West US\",\r\n \"documentEndpoint\": \"https://pitrmongotest-westus.documents.azure.com:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"readLocations\": [\r\n {\r\n \"id\": \"pitrmongotest-westus\",\r\n \"locationName\": \"West US\",\r\n \"documentEndpoint\": \"https://pitrmongotest-westus.documents.azure.com:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"locations\": [\r\n {\r\n \"id\": \"pitrmongotest-westus\",\r\n \"locationName\": \"West US\",\r\n \"documentEndpoint\": \"https://pitrmongotest-westus.documents.azure.com:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"failoverPolicies\": [\r\n {\r\n \"id\": \"pitrmongotest-westus\",\r\n \"locationName\": \"West US\",\r\n \"failoverPriority\": 0\r\n }\r\n ],\r\n \"cors\": [],\r\n \"capabilities\": [\r\n {\r\n \"name\": \"EnableMongo\"\r\n },\r\n {\r\n \"name\": \"DisableRateLimitingResponses\"\r\n }\r\n ],\r\n \"ipRules\": [],\r\n \"backupPolicy\": {\r\n \"type\": \"Continuous\"\r\n },\r\n \"networkAclBypassResourceIds\": []\r\n },\r\n \"identity\": {\r\n \"type\": \"None\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/259fbb24-9bcd-4cfc-865c-fc33b22fe38a/resourceGroups/pitrdemocus/providers/Microsoft.DocumentDB/databaseAccounts/pitrmongowithsnapshots\",\r\n \"name\": \"pitrmongowithsnapshots\",\r\n \"location\": \"West US\",\r\n \"type\": \"Microsoft.DocumentDB/databaseAccounts\",\r\n \"kind\": \"MongoDB\",\r\n \"tags\": {\r\n \"defaultExperience\": \"Azure Cosmos DB for MongoDB API\",\r\n \"hidden-cosmos-mmspecial\": \"\",\r\n \"CosmosAccountType\": \"Non-Production\"\r\n },\r\n \"systemData\": {\r\n \"createdAt\": \"2021-01-07T19:45:06.8272227Z\"\r\n },\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"documentEndpoint\": \"https://pitrmongowithsnapshots.documents.azure.com:443/\",\r\n \"mongoEndpoint\": \"https://pitrmongowithsnapshots.mongo.cosmos.azure.com:443/\",\r\n \"publicNetworkAccess\": \"Enabled\",\r\n \"enableAutomaticFailover\": false,\r\n \"enableMultipleWriteLocations\": false,\r\n \"enablePartitionKeyMonitor\": false,\r\n \"isVirtualNetworkFilterEnabled\": false,\r\n \"virtualNetworkRules\": [],\r\n \"EnabledApiTypes\": \"MongoDB\",\r\n \"disableKeyBasedMetadataWriteAccess\": false,\r\n \"enableFreeTier\": false,\r\n \"enableAnalyticalStorage\": false,\r\n \"analyticalStorageConfiguration\": {},\r\n \"instanceId\": \"a081024d-5e38-45c1-b1cb-9c99552d42b3\",\r\n \"createMode\": \"Restore\",\r\n \"databaseAccountOfferType\": \"Standard\",\r\n \"defaultIdentity\": \"\",\r\n \"networkAclBypass\": \"None\",\r\n \"disableLocalAuth\": false,\r\n \"consistencyPolicy\": {\r\n \"defaultConsistencyLevel\": \"Session\",\r\n \"maxIntervalInSeconds\": 5,\r\n \"maxStalenessPrefix\": 100\r\n },\r\n \"apiProperties\": {\r\n \"serverVersion\": \"3.6\"\r\n },\r\n \"configurationOverrides\": {\r\n \"EnableBsonSchema\": \"True\"\r\n },\r\n \"writeLocations\": [\r\n {\r\n \"id\": \"pitrmongowithsnapshots-westus\",\r\n \"locationName\": \"West US\",\r\n \"documentEndpoint\": \"https://pitrmongowithsnapshots-westus.documents.azure.com:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"readLocations\": [\r\n {\r\n \"id\": \"pitrmongowithsnapshots-westus\",\r\n \"locationName\": \"West US\",\r\n \"documentEndpoint\": \"https://pitrmongowithsnapshots-westus.documents.azure.com:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"locations\": [\r\n {\r\n \"id\": \"pitrmongowithsnapshots-westus\",\r\n \"locationName\": \"West US\",\r\n \"documentEndpoint\": \"https://pitrmongowithsnapshots-westus.documents.azure.com:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"failoverPolicies\": [\r\n {\r\n \"id\": \"pitrmongowithsnapshots-westus\",\r\n \"locationName\": \"West US\",\r\n \"failoverPriority\": 0\r\n }\r\n ],\r\n \"cors\": [],\r\n \"capabilities\": [\r\n {\r\n \"name\": \"EnableMongo\"\r\n },\r\n {\r\n \"name\": \"DisableRateLimitingResponses\"\r\n }\r\n ],\r\n \"ipRules\": [],\r\n \"backupPolicy\": {\r\n \"type\": \"Continuous\"\r\n },\r\n \"restoreParameters\": {\r\n \"restoreMode\": \"PointInTime\",\r\n \"restoreSource\": \"/subscriptions/259fbb24-9bcd-4cfc-865c-fc33b22fe38a/providers/Microsoft.DocumentDB/locations/westus/restorableDatabaseAccounts/74ebfb99-1914-4ea9-b802-736b5bda12a7\",\r\n \"restoreTimestampInUtc\": \"2021-01-07T19:16:12.574Z\",\r\n \"databasesToRestore\": []\r\n },\r\n \"networkAclBypassResourceIds\": []\r\n },\r\n \"identity\": {\r\n \"type\": \"None\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/259fbb24-9bcd-4cfc-865c-fc33b22fe38a/resourceGroups/analyticstest/providers/Microsoft.DocumentDB/databaseAccounts/targetacct4\",\r\n \"name\": \"targetacct4\",\r\n \"location\": \"West US\",\r\n \"type\": \"Microsoft.DocumentDB/databaseAccounts\",\r\n \"kind\": \"GlobalDocumentDB\",\r\n \"tags\": {\r\n \"defaultExperience\": \"Core (SQL)\",\r\n \"hidden-cosmos-mmspecial\": \"\",\r\n \"CosmosAccountType\": \"Non-Production\"\r\n },\r\n \"systemData\": {\r\n \"createdAt\": \"2021-02-20T17:59:46.9392257Z\"\r\n },\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"documentEndpoint\": \"https://targetacct4.documents.azure.com:443/\",\r\n \"publicNetworkAccess\": \"Enabled\",\r\n \"enableAutomaticFailover\": false,\r\n \"enableMultipleWriteLocations\": false,\r\n \"enablePartitionKeyMonitor\": false,\r\n \"isVirtualNetworkFilterEnabled\": false,\r\n \"virtualNetworkRules\": [],\r\n \"EnabledApiTypes\": \"Sql\",\r\n \"disableKeyBasedMetadataWriteAccess\": false,\r\n \"enableFreeTier\": false,\r\n \"enableAnalyticalStorage\": false,\r\n \"analyticalStorageConfiguration\": {},\r\n \"instanceId\": \"ac7dc153-2571-425f-b8a1-c812706ad3dc\",\r\n \"createMode\": \"Restore\",\r\n \"databaseAccountOfferType\": \"Standard\",\r\n \"defaultIdentity\": \"\",\r\n \"networkAclBypass\": \"None\",\r\n \"disableLocalAuth\": false,\r\n \"consistencyPolicy\": {\r\n \"defaultConsistencyLevel\": \"Session\",\r\n \"maxIntervalInSeconds\": 5,\r\n \"maxStalenessPrefix\": 100\r\n },\r\n \"configurationOverrides\": {},\r\n \"writeLocations\": [\r\n {\r\n \"id\": \"targetacct4-westus\",\r\n \"locationName\": \"West US\",\r\n \"documentEndpoint\": \"https://targetacct4-westus.documents.azure.com:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"readLocations\": [\r\n {\r\n \"id\": \"targetacct4-westus\",\r\n \"locationName\": \"West US\",\r\n \"documentEndpoint\": \"https://targetacct4-westus.documents.azure.com:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"locations\": [\r\n {\r\n \"id\": \"targetacct4-westus\",\r\n \"locationName\": \"West US\",\r\n \"documentEndpoint\": \"https://targetacct4-westus.documents.azure.com:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"failoverPolicies\": [\r\n {\r\n \"id\": \"targetacct4-westus\",\r\n \"locationName\": \"West US\",\r\n \"failoverPriority\": 0\r\n }\r\n ],\r\n \"cors\": [],\r\n \"capabilities\": [],\r\n \"ipRules\": [],\r\n \"backupPolicy\": {\r\n \"type\": \"Continuous\"\r\n },\r\n \"restoreParameters\": {\r\n \"restoreMode\": \"PointInTime\",\r\n \"restoreSource\": \"/subscriptions/259fbb24-9bcd-4cfc-865c-fc33b22fe38a/providers/Microsoft.DocumentDB/locations/westus/restorableDatabaseAccounts/0034883d-1a13-418f-9eaf-5dbbaabdd901\",\r\n \"restoreTimestampInUtc\": \"2021-02-04T00:00:00Z\",\r\n \"databasesToRestore\": []\r\n },\r\n \"networkAclBypassResourceIds\": []\r\n },\r\n \"identity\": {\r\n \"type\": \"None\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/259fbb24-9bcd-4cfc-865c-fc33b22fe38a/resourceGroups/kakhandr-rd/providers/Microsoft.DocumentDB/databaseAccounts/test-bk-cont-restore1\",\r\n \"name\": \"test-bk-cont-restore1\",\r\n \"location\": \"West US\",\r\n \"type\": \"Microsoft.DocumentDB/databaseAccounts\",\r\n \"kind\": \"GlobalDocumentDB\",\r\n \"tags\": {},\r\n \"systemData\": {\r\n \"createdAt\": \"2020-10-15T23:55:02.6142219Z\"\r\n },\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"documentEndpoint\": \"https://test-bk-cont-restore1.documents.azure.com:443/\",\r\n \"publicNetworkAccess\": \"Enabled\",\r\n \"enableAutomaticFailover\": false,\r\n \"enableMultipleWriteLocations\": false,\r\n \"enablePartitionKeyMonitor\": false,\r\n \"isVirtualNetworkFilterEnabled\": false,\r\n \"virtualNetworkRules\": [],\r\n \"EnabledApiTypes\": \"Sql\",\r\n \"disableKeyBasedMetadataWriteAccess\": false,\r\n \"enableFreeTier\": false,\r\n \"enableAnalyticalStorage\": false,\r\n \"analyticalStorageConfiguration\": {},\r\n \"instanceId\": \"2cfb9266-6837-4c5c-b7ae-ec8e72913cd1\",\r\n \"createMode\": \"Restore\",\r\n \"databaseAccountOfferType\": \"Standard\",\r\n \"defaultIdentity\": \"\",\r\n \"networkAclBypass\": \"None\",\r\n \"disableLocalAuth\": false,\r\n \"consistencyPolicy\": {\r\n \"defaultConsistencyLevel\": \"Session\",\r\n \"maxIntervalInSeconds\": 5,\r\n \"maxStalenessPrefix\": 100\r\n },\r\n \"configurationOverrides\": {},\r\n \"writeLocations\": [\r\n {\r\n \"id\": \"test-bk-cont-restore1-southcentralus\",\r\n \"locationName\": \"South Central US\",\r\n \"documentEndpoint\": \"https://test-bk-cont-restore1-southcentralus.documents.azure.com:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"readLocations\": [\r\n {\r\n \"id\": \"test-bk-cont-restore1-southcentralus\",\r\n \"locationName\": \"South Central US\",\r\n \"documentEndpoint\": \"https://test-bk-cont-restore1-southcentralus.documents.azure.com:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"locations\": [\r\n {\r\n \"id\": \"test-bk-cont-restore1-southcentralus\",\r\n \"locationName\": \"South Central US\",\r\n \"documentEndpoint\": \"https://test-bk-cont-restore1-southcentralus.documents.azure.com:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"failoverPolicies\": [\r\n {\r\n \"id\": \"test-bk-cont-restore1-southcentralus\",\r\n \"locationName\": \"South Central US\",\r\n \"failoverPriority\": 0\r\n }\r\n ],\r\n \"cors\": [],\r\n \"capabilities\": [],\r\n \"ipRules\": [\r\n {\r\n \"ipAddressOrRange\": \"20.10.10.10\"\r\n },\r\n {\r\n \"ipAddressOrRange\": \"12.12.122.122\"\r\n },\r\n {\r\n \"ipAddressOrRange\": \"12.22.11.11\"\r\n },\r\n {\r\n \"ipAddressOrRange\": \"167.220.2.63\"\r\n }\r\n ],\r\n \"backupPolicy\": {\r\n \"type\": \"Continuous\"\r\n },\r\n \"restoreParameters\": {\r\n \"restoreMode\": \"PointInTime\",\r\n \"restoreSource\": \"/subscriptions/259fbb24-9bcd-4cfc-865c-fc33b22fe38a/providers/Microsoft.DocumentDB/locations/westus/restorableDatabaseAccounts/d92d948a-afb9-4bb3-9a4c-d6b8fcf8d204\",\r\n \"restoreTimestampInUtc\": \"2020-10-15T23:40:31Z\",\r\n \"databasesToRestore\": []\r\n },\r\n \"networkAclBypassResourceIds\": []\r\n },\r\n \"identity\": {\r\n \"type\": \"None\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/259fbb24-9bcd-4cfc-865c-fc33b22fe38a/resourceGroups/testResourceGroup/providers/Microsoft.DocumentDB/databaseAccounts/test0319\",\r\n \"name\": \"test0319\",\r\n \"location\": \"West US\",\r\n \"type\": \"Microsoft.DocumentDB/databaseAccounts\",\r\n \"kind\": \"GlobalDocumentDB\",\r\n \"tags\": {\r\n \"defaultExperience\": \"Core (SQL)\",\r\n \"hidden-cosmos-mmspecial\": \"\",\r\n \"CosmosAccountType\": \"Non-Production\"\r\n },\r\n \"systemData\": {\r\n \"createdAt\": \"2020-03-19T22:18:56.9312129Z\"\r\n },\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"documentEndpoint\": \"https://test0319.documents.azure.com:443/\",\r\n \"publicNetworkAccess\": \"Enabled\",\r\n \"enableAutomaticFailover\": false,\r\n \"enableMultipleWriteLocations\": false,\r\n \"enablePartitionKeyMonitor\": false,\r\n \"isVirtualNetworkFilterEnabled\": false,\r\n \"virtualNetworkRules\": [],\r\n \"EnabledApiTypes\": \"Sql\",\r\n \"disableKeyBasedMetadataWriteAccess\": false,\r\n \"enableFreeTier\": true,\r\n \"enableAnalyticalStorage\": false,\r\n \"analyticalStorageConfiguration\": {},\r\n \"instanceId\": \"10917701-a6f8-4f77-a6c8-4f4ab1879abb\",\r\n \"createMode\": \"Default\",\r\n \"databaseAccountOfferType\": \"Standard\",\r\n \"defaultIdentity\": \"\",\r\n \"networkAclBypass\": \"None\",\r\n \"disableLocalAuth\": false,\r\n \"consistencyPolicy\": {\r\n \"defaultConsistencyLevel\": \"Session\",\r\n \"maxIntervalInSeconds\": 5,\r\n \"maxStalenessPrefix\": 100\r\n },\r\n \"configurationOverrides\": {},\r\n \"writeLocations\": [\r\n {\r\n \"id\": \"test0319-westus\",\r\n \"locationName\": \"West US\",\r\n \"documentEndpoint\": \"https://test0319-westus.documents.azure.com:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"readLocations\": [\r\n {\r\n \"id\": \"test0319-westus\",\r\n \"locationName\": \"West US\",\r\n \"documentEndpoint\": \"https://test0319-westus.documents.azure.com:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n },\r\n {\r\n \"id\": \"test0319-eastus\",\r\n \"locationName\": \"East US\",\r\n \"documentEndpoint\": \"https://test0319-eastus.documents.azure.com:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 1,\r\n \"isZoneRedundant\": false\r\n },\r\n {\r\n \"id\": \"test0319-southeastasia\",\r\n \"locationName\": \"Southeast Asia\",\r\n \"documentEndpoint\": \"https://test0319-southeastasia.documents.azure.com:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 2,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"locations\": [\r\n {\r\n \"id\": \"test0319-westus\",\r\n \"locationName\": \"West US\",\r\n \"documentEndpoint\": \"https://test0319-westus.documents.azure.com:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n },\r\n {\r\n \"id\": \"test0319-eastus\",\r\n \"locationName\": \"East US\",\r\n \"documentEndpoint\": \"https://test0319-eastus.documents.azure.com:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 1,\r\n \"isZoneRedundant\": false\r\n },\r\n {\r\n \"id\": \"test0319-southeastasia\",\r\n \"locationName\": \"Southeast Asia\",\r\n \"documentEndpoint\": \"https://test0319-southeastasia.documents.azure.com:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 2,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"failoverPolicies\": [\r\n {\r\n \"id\": \"test0319-westus\",\r\n \"locationName\": \"West US\",\r\n \"failoverPriority\": 0\r\n },\r\n {\r\n \"id\": \"test0319-eastus\",\r\n \"locationName\": \"East US\",\r\n \"failoverPriority\": 1\r\n },\r\n {\r\n \"id\": \"test0319-southeastasia\",\r\n \"locationName\": \"Southeast Asia\",\r\n \"failoverPriority\": 2\r\n }\r\n ],\r\n \"cors\": [\r\n {\r\n \"allowedOrigins\": \"*\"\r\n }\r\n ],\r\n \"capabilities\": [],\r\n \"ipRules\": [],\r\n \"backupPolicy\": {\r\n \"type\": \"Periodic\",\r\n \"periodicModeProperties\": {\r\n \"backupIntervalInMinutes\": 70,\r\n \"backupRetentionIntervalInHours\": 48,\r\n \"backupStorageRedundancy\": \"Geo\"\r\n }\r\n },\r\n \"networkAclBypassResourceIds\": []\r\n },\r\n \"identity\": {\r\n \"type\": \"None\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/259fbb24-9bcd-4cfc-865c-fc33b22fe38a/resourceGroups/virangai-test/providers/Microsoft.DocumentDB/databaseAccounts/test-restore-pitr1\",\r\n \"name\": \"test-restore-pitr1\",\r\n \"location\": \"West US\",\r\n \"type\": \"Microsoft.DocumentDB/databaseAccounts\",\r\n \"kind\": \"GlobalDocumentDB\",\r\n \"tags\": {\r\n \"defaultExperience\": \"Core (SQL)\",\r\n \"hidden-cosmos-mmspecial\": \"\",\r\n \"CosmosAccountType\": \"Non-Production\"\r\n },\r\n \"systemData\": {\r\n \"createdAt\": \"2021-01-06T09:20:16.8700059Z\"\r\n },\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"documentEndpoint\": \"https://test-restore-pitr1.documents.azure.com:443/\",\r\n \"publicNetworkAccess\": \"Enabled\",\r\n \"enableAutomaticFailover\": false,\r\n \"enableMultipleWriteLocations\": false,\r\n \"enablePartitionKeyMonitor\": false,\r\n \"isVirtualNetworkFilterEnabled\": false,\r\n \"virtualNetworkRules\": [],\r\n \"EnabledApiTypes\": \"Sql\",\r\n \"disableKeyBasedMetadataWriteAccess\": false,\r\n \"enableFreeTier\": false,\r\n \"enableAnalyticalStorage\": false,\r\n \"analyticalStorageConfiguration\": {},\r\n \"instanceId\": \"329aedaa-1997-4c0d-b3c9-40e890c3dc08\",\r\n \"createMode\": \"Restore\",\r\n \"databaseAccountOfferType\": \"Standard\",\r\n \"defaultIdentity\": \"\",\r\n \"networkAclBypass\": \"None\",\r\n \"disableLocalAuth\": false,\r\n \"consistencyPolicy\": {\r\n \"defaultConsistencyLevel\": \"Session\",\r\n \"maxIntervalInSeconds\": 5,\r\n \"maxStalenessPrefix\": 100\r\n },\r\n \"configurationOverrides\": {},\r\n \"writeLocations\": [\r\n {\r\n \"id\": \"test-restore-pitr1-westus\",\r\n \"locationName\": \"West US\",\r\n \"documentEndpoint\": \"https://test-restore-pitr1-westus.documents.azure.com:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"readLocations\": [\r\n {\r\n \"id\": \"test-restore-pitr1-westus\",\r\n \"locationName\": \"West US\",\r\n \"documentEndpoint\": \"https://test-restore-pitr1-westus.documents.azure.com:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"locations\": [\r\n {\r\n \"id\": \"test-restore-pitr1-westus\",\r\n \"locationName\": \"West US\",\r\n \"documentEndpoint\": \"https://test-restore-pitr1-westus.documents.azure.com:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"failoverPolicies\": [\r\n {\r\n \"id\": \"test-restore-pitr1-westus\",\r\n \"locationName\": \"West US\",\r\n \"failoverPriority\": 0\r\n }\r\n ],\r\n \"cors\": [],\r\n \"capabilities\": [],\r\n \"ipRules\": [],\r\n \"backupPolicy\": {\r\n \"type\": \"Continuous\"\r\n },\r\n \"restoreParameters\": {\r\n \"restoreMode\": \"PointInTime\",\r\n \"restoreSource\": \"/subscriptions/259fbb24-9bcd-4cfc-865c-fc33b22fe38a/providers/Microsoft.DocumentDB/locations/westus/restorableDatabaseAccounts/7ccb546f-804d-4fe3-902f-bdb162d2ca51\",\r\n \"restoreTimestampInUtc\": \"2020-12-10T02:06:51Z\",\r\n \"databasesToRestore\": [\r\n {\r\n \"databaseName\": \"Test\",\r\n \"collectionNames\": [\r\n \"Test\"\r\n ]\r\n }\r\n ]\r\n },\r\n \"networkAclBypassResourceIds\": []\r\n },\r\n \"identity\": {\r\n \"type\": \"None\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/259fbb24-9bcd-4cfc-865c-fc33b22fe38a/resourceGroups/analyticstest/providers/Microsoft.DocumentDB/databaseAccounts/virangai-test-bkpol-mm\",\r\n \"name\": \"virangai-test-bkpol-mm\",\r\n \"location\": \"West US\",\r\n \"type\": \"Microsoft.DocumentDB/databaseAccounts\",\r\n \"kind\": \"GlobalDocumentDB\",\r\n \"tags\": {\r\n \"defaultExperience\": \"Core (SQL)\",\r\n \"hidden-cosmos-mmspecial\": \"\",\r\n \"CosmosAccountType\": \"Non-Production\"\r\n },\r\n \"systemData\": {\r\n \"createdAt\": \"2021-01-12T23:20:54.3396585Z\"\r\n },\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"documentEndpoint\": \"https://virangai-test-bkpol-mm.documents.azure.com:443/\",\r\n \"publicNetworkAccess\": \"Enabled\",\r\n \"enableAutomaticFailover\": false,\r\n \"enableMultipleWriteLocations\": true,\r\n \"enablePartitionKeyMonitor\": false,\r\n \"isVirtualNetworkFilterEnabled\": false,\r\n \"virtualNetworkRules\": [],\r\n \"EnabledApiTypes\": \"Sql\",\r\n \"disableKeyBasedMetadataWriteAccess\": false,\r\n \"enableFreeTier\": false,\r\n \"enableAnalyticalStorage\": false,\r\n \"analyticalStorageConfiguration\": {},\r\n \"instanceId\": \"7faecf9d-1192-45a1-896f-a06f828cd893\",\r\n \"createMode\": \"Default\",\r\n \"databaseAccountOfferType\": \"Standard\",\r\n \"defaultIdentity\": \"\",\r\n \"networkAclBypass\": \"None\",\r\n \"disableLocalAuth\": false,\r\n \"consistencyPolicy\": {\r\n \"defaultConsistencyLevel\": \"Session\",\r\n \"maxIntervalInSeconds\": 5,\r\n \"maxStalenessPrefix\": 100\r\n },\r\n \"configurationOverrides\": {},\r\n \"writeLocations\": [\r\n {\r\n \"id\": \"virangai-test-bkpol-mm-westus\",\r\n \"locationName\": \"West US\",\r\n \"documentEndpoint\": \"https://virangai-test-bkpol-mm-westus.documents.azure.com:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"readLocations\": [\r\n {\r\n \"id\": \"virangai-test-bkpol-mm-westus\",\r\n \"locationName\": \"West US\",\r\n \"documentEndpoint\": \"https://virangai-test-bkpol-mm-westus.documents.azure.com:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"locations\": [\r\n {\r\n \"id\": \"virangai-test-bkpol-mm-westus\",\r\n \"locationName\": \"West US\",\r\n \"documentEndpoint\": \"https://virangai-test-bkpol-mm-westus.documents.azure.com:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"failoverPolicies\": [\r\n {\r\n \"id\": \"virangai-test-bkpol-mm-westus\",\r\n \"locationName\": \"West US\",\r\n \"failoverPriority\": 0\r\n }\r\n ],\r\n \"cors\": [],\r\n \"capabilities\": [],\r\n \"ipRules\": [],\r\n \"backupPolicy\": {\r\n \"type\": \"Periodic\",\r\n \"periodicModeProperties\": {\r\n \"backupIntervalInMinutes\": 240,\r\n \"backupRetentionIntervalInHours\": 8,\r\n \"backupStorageRedundancy\": \"Geo\"\r\n }\r\n },\r\n \"networkAclBypassResourceIds\": []\r\n },\r\n \"identity\": {\r\n \"type\": \"None\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/259fbb24-9bcd-4cfc-865c-fc33b22fe38a/resourceGroups/virangai-test/providers/Microsoft.DocumentDB/databaseAccounts/virangai-test-pitr-restore-del-restore1\",\r\n \"name\": \"virangai-test-pitr-restore-del-restore1\",\r\n \"location\": \"West US\",\r\n \"type\": \"Microsoft.DocumentDB/databaseAccounts\",\r\n \"kind\": \"GlobalDocumentDB\",\r\n \"tags\": {\r\n \"defaultExperience\": \"Core (SQL)\",\r\n \"hidden-cosmos-mmspecial\": \"\",\r\n \"CosmosAccountType\": \"Non-Production\"\r\n },\r\n \"systemData\": {\r\n \"createdAt\": \"2021-01-08T01:07:15.7554376Z\"\r\n },\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"documentEndpoint\": \"https://virangai-test-pitr-restore-del-restore1.documents.azure.com:443/\",\r\n \"publicNetworkAccess\": \"Enabled\",\r\n \"enableAutomaticFailover\": false,\r\n \"enableMultipleWriteLocations\": false,\r\n \"enablePartitionKeyMonitor\": false,\r\n \"isVirtualNetworkFilterEnabled\": false,\r\n \"virtualNetworkRules\": [],\r\n \"EnabledApiTypes\": \"Sql\",\r\n \"disableKeyBasedMetadataWriteAccess\": false,\r\n \"enableFreeTier\": false,\r\n \"enableAnalyticalStorage\": false,\r\n \"analyticalStorageConfiguration\": {},\r\n \"instanceId\": \"e89306b9-137a-4293-b692-263bb3406366\",\r\n \"createMode\": \"Restore\",\r\n \"databaseAccountOfferType\": \"Standard\",\r\n \"defaultIdentity\": \"\",\r\n \"networkAclBypass\": \"None\",\r\n \"disableLocalAuth\": false,\r\n \"consistencyPolicy\": {\r\n \"defaultConsistencyLevel\": \"Session\",\r\n \"maxIntervalInSeconds\": 5,\r\n \"maxStalenessPrefix\": 100\r\n },\r\n \"configurationOverrides\": {},\r\n \"writeLocations\": [\r\n {\r\n \"id\": \"virangai-test-pitr-restore-del-restore1-westus\",\r\n \"locationName\": \"West US\",\r\n \"documentEndpoint\": \"https://virangai-test-pitr-restore-del-restore1-westus.documents.azure.com:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"readLocations\": [\r\n {\r\n \"id\": \"virangai-test-pitr-restore-del-restore1-westus\",\r\n \"locationName\": \"West US\",\r\n \"documentEndpoint\": \"https://virangai-test-pitr-restore-del-restore1-westus.documents.azure.com:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"locations\": [\r\n {\r\n \"id\": \"virangai-test-pitr-restore-del-restore1-westus\",\r\n \"locationName\": \"West US\",\r\n \"documentEndpoint\": \"https://virangai-test-pitr-restore-del-restore1-westus.documents.azure.com:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"failoverPolicies\": [\r\n {\r\n \"id\": \"virangai-test-pitr-restore-del-restore1-westus\",\r\n \"locationName\": \"West US\",\r\n \"failoverPriority\": 0\r\n }\r\n ],\r\n \"cors\": [],\r\n \"capabilities\": [],\r\n \"ipRules\": [],\r\n \"backupPolicy\": {\r\n \"type\": \"Continuous\"\r\n },\r\n \"restoreParameters\": {\r\n \"restoreMode\": \"PointInTime\",\r\n \"restoreSource\": \"/subscriptions/259fbb24-9bcd-4cfc-865c-fc33b22fe38a/providers/Microsoft.DocumentDB/locations/westus/restorableDatabaseAccounts/7ccb546f-804d-4fe3-902f-bdb162d2ca51\",\r\n \"restoreTimestampInUtc\": \"2020-12-10T02:06:51Z\",\r\n \"databasesToRestore\": []\r\n },\r\n \"networkAclBypassResourceIds\": []\r\n },\r\n \"identity\": {\r\n \"type\": \"None\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/259fbb24-9bcd-4cfc-865c-fc33b22fe38a/resourceGroups/virangai-test/providers/Microsoft.DocumentDB/databaseAccounts/virangai-test-pitr-restore-del-restore3\",\r\n \"name\": \"virangai-test-pitr-restore-del-restore3\",\r\n \"location\": \"West US\",\r\n \"type\": \"Microsoft.DocumentDB/databaseAccounts\",\r\n \"kind\": \"GlobalDocumentDB\",\r\n \"tags\": {\r\n \"defaultExperience\": \"Core (SQL)\",\r\n \"hidden-cosmos-mmspecial\": \"\",\r\n \"CosmosAccountType\": \"Non-Production\"\r\n },\r\n \"systemData\": {\r\n \"createdAt\": \"2021-01-08T01:15:25.1204738Z\"\r\n },\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"documentEndpoint\": \"https://virangai-test-pitr-restore-del-restore3.documents.azure.com:443/\",\r\n \"publicNetworkAccess\": \"Enabled\",\r\n \"enableAutomaticFailover\": false,\r\n \"enableMultipleWriteLocations\": false,\r\n \"enablePartitionKeyMonitor\": false,\r\n \"isVirtualNetworkFilterEnabled\": false,\r\n \"virtualNetworkRules\": [],\r\n \"EnabledApiTypes\": \"Sql\",\r\n \"disableKeyBasedMetadataWriteAccess\": false,\r\n \"enableFreeTier\": false,\r\n \"enableAnalyticalStorage\": false,\r\n \"analyticalStorageConfiguration\": {},\r\n \"instanceId\": \"b2bcdd92-0b33-4574-ba6e-56f1b3e346e4\",\r\n \"createMode\": \"Restore\",\r\n \"databaseAccountOfferType\": \"Standard\",\r\n \"defaultIdentity\": \"\",\r\n \"networkAclBypass\": \"None\",\r\n \"disableLocalAuth\": false,\r\n \"consistencyPolicy\": {\r\n \"defaultConsistencyLevel\": \"Session\",\r\n \"maxIntervalInSeconds\": 5,\r\n \"maxStalenessPrefix\": 100\r\n },\r\n \"configurationOverrides\": {},\r\n \"writeLocations\": [\r\n {\r\n \"id\": \"virangai-test-pitr-restore-del-restore3-westus\",\r\n \"locationName\": \"West US\",\r\n \"documentEndpoint\": \"https://virangai-test-pitr-restore-del-restore3-westus.documents.azure.com:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"readLocations\": [\r\n {\r\n \"id\": \"virangai-test-pitr-restore-del-restore3-westus\",\r\n \"locationName\": \"West US\",\r\n \"documentEndpoint\": \"https://virangai-test-pitr-restore-del-restore3-westus.documents.azure.com:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"locations\": [\r\n {\r\n \"id\": \"virangai-test-pitr-restore-del-restore3-westus\",\r\n \"locationName\": \"West US\",\r\n \"documentEndpoint\": \"https://virangai-test-pitr-restore-del-restore3-westus.documents.azure.com:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"failoverPolicies\": [\r\n {\r\n \"id\": \"virangai-test-pitr-restore-del-restore3-westus\",\r\n \"locationName\": \"West US\",\r\n \"failoverPriority\": 0\r\n }\r\n ],\r\n \"cors\": [],\r\n \"capabilities\": [],\r\n \"ipRules\": [],\r\n \"backupPolicy\": {\r\n \"type\": \"Continuous\"\r\n },\r\n \"restoreParameters\": {\r\n \"restoreMode\": \"PointInTime\",\r\n \"restoreSource\": \"/subscriptions/259fbb24-9bcd-4cfc-865c-fc33b22fe38a/providers/Microsoft.DocumentDB/locations/westus/restorableDatabaseAccounts/7ccb546f-804d-4fe3-902f-bdb162d2ca51\",\r\n \"restoreTimestampInUtc\": \"2020-12-10T02:06:51Z\",\r\n \"databasesToRestore\": []\r\n },\r\n \"networkAclBypassResourceIds\": []\r\n },\r\n \"identity\": {\r\n \"type\": \"None\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/259fbb24-9bcd-4cfc-865c-fc33b22fe38a/resourceGroups/virangai-test/providers/Microsoft.DocumentDB/databaseAccounts/virangai-test-pitr-restore-del-restore4\",\r\n \"name\": \"virangai-test-pitr-restore-del-restore4\",\r\n \"location\": \"West US\",\r\n \"type\": \"Microsoft.DocumentDB/databaseAccounts\",\r\n \"kind\": \"GlobalDocumentDB\",\r\n \"tags\": {\r\n \"defaultExperience\": \"Core (SQL)\",\r\n \"hidden-cosmos-mmspecial\": \"\",\r\n \"CosmosAccountType\": \"Non-Production\"\r\n },\r\n \"systemData\": {\r\n \"createdAt\": \"2021-01-08T01:36:21.1122263Z\"\r\n },\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"documentEndpoint\": \"https://virangai-test-pitr-restore-del-restore4.documents.azure.com:443/\",\r\n \"publicNetworkAccess\": \"Enabled\",\r\n \"enableAutomaticFailover\": false,\r\n \"enableMultipleWriteLocations\": false,\r\n \"enablePartitionKeyMonitor\": false,\r\n \"isVirtualNetworkFilterEnabled\": false,\r\n \"virtualNetworkRules\": [],\r\n \"EnabledApiTypes\": \"Sql\",\r\n \"disableKeyBasedMetadataWriteAccess\": false,\r\n \"enableFreeTier\": false,\r\n \"enableAnalyticalStorage\": false,\r\n \"analyticalStorageConfiguration\": {},\r\n \"instanceId\": \"e96a653a-cc5e-49f0-a3ae-36a4d461cf07\",\r\n \"createMode\": \"Restore\",\r\n \"databaseAccountOfferType\": \"Standard\",\r\n \"defaultIdentity\": \"\",\r\n \"networkAclBypass\": \"None\",\r\n \"disableLocalAuth\": false,\r\n \"consistencyPolicy\": {\r\n \"defaultConsistencyLevel\": \"Session\",\r\n \"maxIntervalInSeconds\": 5,\r\n \"maxStalenessPrefix\": 100\r\n },\r\n \"configurationOverrides\": {},\r\n \"writeLocations\": [\r\n {\r\n \"id\": \"virangai-test-pitr-restore-del-restore4-westus\",\r\n \"locationName\": \"West US\",\r\n \"documentEndpoint\": \"https://virangai-test-pitr-restore-del-restore4-westus.documents.azure.com:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"readLocations\": [\r\n {\r\n \"id\": \"virangai-test-pitr-restore-del-restore4-westus\",\r\n \"locationName\": \"West US\",\r\n \"documentEndpoint\": \"https://virangai-test-pitr-restore-del-restore4-westus.documents.azure.com:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"locations\": [\r\n {\r\n \"id\": \"virangai-test-pitr-restore-del-restore4-westus\",\r\n \"locationName\": \"West US\",\r\n \"documentEndpoint\": \"https://virangai-test-pitr-restore-del-restore4-westus.documents.azure.com:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"failoverPolicies\": [\r\n {\r\n \"id\": \"virangai-test-pitr-restore-del-restore4-westus\",\r\n \"locationName\": \"West US\",\r\n \"failoverPriority\": 0\r\n }\r\n ],\r\n \"cors\": [],\r\n \"capabilities\": [],\r\n \"ipRules\": [],\r\n \"backupPolicy\": {\r\n \"type\": \"Continuous\"\r\n },\r\n \"restoreParameters\": {\r\n \"restoreMode\": \"PointInTime\",\r\n \"restoreSource\": \"/subscriptions/259fbb24-9bcd-4cfc-865c-fc33b22fe38a/providers/Microsoft.DocumentDB/locations/westus/restorableDatabaseAccounts/7ccb546f-804d-4fe3-902f-bdb162d2ca51\",\r\n \"restoreTimestampInUtc\": \"2021-01-08T00:00:00Z\",\r\n \"databasesToRestore\": [\r\n {\r\n \"databaseName\": \"Test\",\r\n \"collectionNames\": [\r\n \"Test\"\r\n ]\r\n }\r\n ]\r\n },\r\n \"networkAclBypassResourceIds\": []\r\n },\r\n \"identity\": {\r\n \"type\": \"None\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/259fbb24-9bcd-4cfc-865c-fc33b22fe38a/resourceGroups/bugbashbackup/providers/Microsoft.DocumentDB/databaseAccounts/balaksrestorebug\",\r\n \"name\": \"balaksrestorebug\",\r\n \"location\": \"West US\",\r\n \"type\": \"Microsoft.DocumentDB/databaseAccounts\",\r\n \"kind\": \"GlobalDocumentDB\",\r\n \"tags\": {\r\n \"defaultExperience\": \"Core (SQL)\",\r\n \"hidden-cosmos-mmspecial\": \"\",\r\n \"CosmosAccountType\": \"Non-Production\"\r\n },\r\n \"systemData\": {\r\n \"createdAt\": \"2021-01-09T01:08:24.6458103Z\"\r\n },\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"documentEndpoint\": \"https://balaksrestorebug.documents.azure.com:443/\",\r\n \"publicNetworkAccess\": \"Enabled\",\r\n \"enableAutomaticFailover\": false,\r\n \"enableMultipleWriteLocations\": false,\r\n \"enablePartitionKeyMonitor\": false,\r\n \"isVirtualNetworkFilterEnabled\": false,\r\n \"virtualNetworkRules\": [],\r\n \"EnabledApiTypes\": \"Sql\",\r\n \"disableKeyBasedMetadataWriteAccess\": false,\r\n \"enableFreeTier\": false,\r\n \"enableAnalyticalStorage\": false,\r\n \"analyticalStorageConfiguration\": {},\r\n \"instanceId\": \"70f3ea16-d3bc-46f6-98e8-576fc201eabf\",\r\n \"createMode\": \"Default\",\r\n \"databaseAccountOfferType\": \"Standard\",\r\n \"defaultIdentity\": \"\",\r\n \"networkAclBypass\": \"None\",\r\n \"disableLocalAuth\": false,\r\n \"consistencyPolicy\": {\r\n \"defaultConsistencyLevel\": \"Session\",\r\n \"maxIntervalInSeconds\": 5,\r\n \"maxStalenessPrefix\": 100\r\n },\r\n \"configurationOverrides\": {},\r\n \"writeLocations\": [\r\n {\r\n \"id\": \"balaksrestorebug-westus\",\r\n \"locationName\": \"West US\",\r\n \"documentEndpoint\": \"https://balaksrestorebug-westus.documents.azure.com:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"readLocations\": [\r\n {\r\n \"id\": \"balaksrestorebug-westus\",\r\n \"locationName\": \"West US\",\r\n \"documentEndpoint\": \"https://balaksrestorebug-westus.documents.azure.com:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"locations\": [\r\n {\r\n \"id\": \"balaksrestorebug-westus\",\r\n \"locationName\": \"West US\",\r\n \"documentEndpoint\": \"https://balaksrestorebug-westus.documents.azure.com:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"failoverPolicies\": [\r\n {\r\n \"id\": \"balaksrestorebug-westus\",\r\n \"locationName\": \"West US\",\r\n \"failoverPriority\": 0\r\n }\r\n ],\r\n \"cors\": [],\r\n \"capabilities\": [],\r\n \"ipRules\": [],\r\n \"backupPolicy\": {\r\n \"type\": \"Continuous\"\r\n },\r\n \"networkAclBypassResourceIds\": []\r\n },\r\n \"identity\": {\r\n \"type\": \"None\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/259fbb24-9bcd-4cfc-865c-fc33b22fe38a/resourceGroups/virangai-test/providers/Microsoft.DocumentDB/databaseAccounts/virangai-test-pitr-restore-del2\",\r\n \"name\": \"virangai-test-pitr-restore-del2\",\r\n \"location\": \"West US\",\r\n \"type\": \"Microsoft.DocumentDB/databaseAccounts\",\r\n \"kind\": \"GlobalDocumentDB\",\r\n \"tags\": {\r\n \"defaultExperience\": \"Core (SQL)\",\r\n \"hidden-cosmos-mmspecial\": \"\",\r\n \"CosmosAccountType\": \"Non-Production\"\r\n },\r\n \"systemData\": {\r\n \"createdAt\": \"2021-01-08T20:20:19.9256406Z\"\r\n },\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"documentEndpoint\": \"https://virangai-test-pitr-restore-del2.documents.azure.com:443/\",\r\n \"publicNetworkAccess\": \"Enabled\",\r\n \"enableAutomaticFailover\": false,\r\n \"enableMultipleWriteLocations\": false,\r\n \"enablePartitionKeyMonitor\": false,\r\n \"isVirtualNetworkFilterEnabled\": false,\r\n \"virtualNetworkRules\": [],\r\n \"EnabledApiTypes\": \"Sql\",\r\n \"disableKeyBasedMetadataWriteAccess\": false,\r\n \"enableFreeTier\": false,\r\n \"enableAnalyticalStorage\": false,\r\n \"analyticalStorageConfiguration\": {},\r\n \"instanceId\": \"86db30d3-1725-4ece-b2f5-591ea37e14f9\",\r\n \"createMode\": \"Restore\",\r\n \"databaseAccountOfferType\": \"Standard\",\r\n \"defaultIdentity\": \"\",\r\n \"networkAclBypass\": \"None\",\r\n \"disableLocalAuth\": false,\r\n \"consistencyPolicy\": {\r\n \"defaultConsistencyLevel\": \"Session\",\r\n \"maxIntervalInSeconds\": 5,\r\n \"maxStalenessPrefix\": 100\r\n },\r\n \"configurationOverrides\": {},\r\n \"writeLocations\": [\r\n {\r\n \"id\": \"virangai-test-pitr-restore-del2-westus\",\r\n \"locationName\": \"West US\",\r\n \"documentEndpoint\": \"https://virangai-test-pitr-restore-del2-westus.documents.azure.com:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"readLocations\": [\r\n {\r\n \"id\": \"virangai-test-pitr-restore-del2-westus\",\r\n \"locationName\": \"West US\",\r\n \"documentEndpoint\": \"https://virangai-test-pitr-restore-del2-westus.documents.azure.com:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"locations\": [\r\n {\r\n \"id\": \"virangai-test-pitr-restore-del2-westus\",\r\n \"locationName\": \"West US\",\r\n \"documentEndpoint\": \"https://virangai-test-pitr-restore-del2-westus.documents.azure.com:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"failoverPolicies\": [\r\n {\r\n \"id\": \"virangai-test-pitr-restore-del2-westus\",\r\n \"locationName\": \"West US\",\r\n \"failoverPriority\": 0\r\n }\r\n ],\r\n \"cors\": [],\r\n \"capabilities\": [],\r\n \"ipRules\": [],\r\n \"backupPolicy\": {\r\n \"type\": \"Continuous\"\r\n },\r\n \"restoreParameters\": {\r\n \"restoreMode\": \"PointInTime\",\r\n \"restoreSource\": \"/subscriptions/259fbb24-9bcd-4cfc-865c-fc33b22fe38a/providers/Microsoft.DocumentDB/locations/westus/restorableDatabaseAccounts/7ccb546f-804d-4fe3-902f-bdb162d2ca51\",\r\n \"restoreTimestampInUtc\": \"2020-12-12T02:01:51Z\",\r\n \"databasesToRestore\": [\r\n {\r\n \"databaseName\": \"Test\",\r\n \"collectionNames\": [\r\n \"Test\"\r\n ]\r\n }\r\n ]\r\n },\r\n \"networkAclBypassResourceIds\": []\r\n },\r\n \"identity\": {\r\n \"type\": \"None\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/259fbb24-9bcd-4cfc-865c-fc33b22fe38a/resourceGroups/kakhandr-rd/providers/Microsoft.DocumentDB/databaseAccounts/kal-cassandra-test\",\r\n \"name\": \"kal-cassandra-test\",\r\n \"location\": \"West US\",\r\n \"type\": \"Microsoft.DocumentDB/databaseAccounts\",\r\n \"kind\": \"GlobalDocumentDB\",\r\n \"tags\": {\r\n \"defaultExperience\": \"Cassandra\",\r\n \"hidden-cosmos-mmspecial\": \"\",\r\n \"CosmosAccountType\": \"Non-Production\"\r\n },\r\n \"systemData\": {\r\n \"createdAt\": \"2021-01-14T22:31:30.7767808Z\"\r\n },\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"documentEndpoint\": \"https://kal-cassandra-test.documents.azure.com:443/\",\r\n \"cassandraEndpoint\": \"https://kal-cassandra-test.cassandra.cosmos.azure.com:443/\",\r\n \"publicNetworkAccess\": \"Enabled\",\r\n \"enableAutomaticFailover\": false,\r\n \"enableMultipleWriteLocations\": false,\r\n \"enablePartitionKeyMonitor\": false,\r\n \"isVirtualNetworkFilterEnabled\": false,\r\n \"virtualNetworkRules\": [],\r\n \"EnabledApiTypes\": \"Cassandra\",\r\n \"disableKeyBasedMetadataWriteAccess\": false,\r\n \"enableFreeTier\": false,\r\n \"enableAnalyticalStorage\": false,\r\n \"analyticalStorageConfiguration\": {},\r\n \"instanceId\": \"a4e50135-6c3f-4a8e-9207-eebb764f7e00\",\r\n \"createMode\": \"Default\",\r\n \"databaseAccountOfferType\": \"Standard\",\r\n \"defaultIdentity\": \"\",\r\n \"networkAclBypass\": \"None\",\r\n \"disableLocalAuth\": false,\r\n \"consistencyPolicy\": {\r\n \"defaultConsistencyLevel\": \"Session\",\r\n \"maxIntervalInSeconds\": 5,\r\n \"maxStalenessPrefix\": 100\r\n },\r\n \"configurationOverrides\": {},\r\n \"writeLocations\": [\r\n {\r\n \"id\": \"kal-cassandra-test-westus\",\r\n \"locationName\": \"West US\",\r\n \"documentEndpoint\": \"https://kal-cassandra-test-westus.documents.azure.com:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"readLocations\": [\r\n {\r\n \"id\": \"kal-cassandra-test-westus\",\r\n \"locationName\": \"West US\",\r\n \"documentEndpoint\": \"https://kal-cassandra-test-westus.documents.azure.com:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"locations\": [\r\n {\r\n \"id\": \"kal-cassandra-test-westus\",\r\n \"locationName\": \"West US\",\r\n \"documentEndpoint\": \"https://kal-cassandra-test-westus.documents.azure.com:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"failoverPolicies\": [\r\n {\r\n \"id\": \"kal-cassandra-test-westus\",\r\n \"locationName\": \"West US\",\r\n \"failoverPriority\": 0\r\n }\r\n ],\r\n \"cors\": [],\r\n \"capabilities\": [\r\n {\r\n \"name\": \"EnableCassandra\"\r\n }\r\n ],\r\n \"ipRules\": [],\r\n \"backupPolicy\": {\r\n \"type\": \"Periodic\",\r\n \"periodicModeProperties\": {\r\n \"backupIntervalInMinutes\": 240,\r\n \"backupRetentionIntervalInHours\": 8,\r\n \"backupStorageRedundancy\": \"Geo\"\r\n }\r\n },\r\n \"networkAclBypassResourceIds\": []\r\n },\r\n \"identity\": {\r\n \"type\": \"None\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/259fbb24-9bcd-4cfc-865c-fc33b22fe38a/resourceGroups/virangai-test/providers/Microsoft.DocumentDB/databaseAccounts/test-cli2loqd5ro7y4w-restore-del\",\r\n \"name\": \"test-cli2loqd5ro7y4w-restore-del\",\r\n \"location\": \"West US\",\r\n \"type\": \"Microsoft.DocumentDB/databaseAccounts\",\r\n \"kind\": \"GlobalDocumentDB\",\r\n \"tags\": {},\r\n \"systemData\": {\r\n \"createdAt\": \"2021-01-08T01:37:38.8450248Z\"\r\n },\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"documentEndpoint\": \"https://test-cli2loqd5ro7y4w-restore-del.documents.azure.com:443/\",\r\n \"publicNetworkAccess\": \"Enabled\",\r\n \"enableAutomaticFailover\": false,\r\n \"enableMultipleWriteLocations\": false,\r\n \"enablePartitionKeyMonitor\": false,\r\n \"isVirtualNetworkFilterEnabled\": false,\r\n \"virtualNetworkRules\": [],\r\n \"EnabledApiTypes\": \"Sql\",\r\n \"disableKeyBasedMetadataWriteAccess\": false,\r\n \"enableFreeTier\": false,\r\n \"enableAnalyticalStorage\": false,\r\n \"analyticalStorageConfiguration\": {},\r\n \"instanceId\": \"05640131-c5c8-4d30-adec-aa623e28866b\",\r\n \"createMode\": \"Restore\",\r\n \"databaseAccountOfferType\": \"Standard\",\r\n \"defaultIdentity\": \"\",\r\n \"networkAclBypass\": \"None\",\r\n \"disableLocalAuth\": false,\r\n \"consistencyPolicy\": {\r\n \"defaultConsistencyLevel\": \"Session\",\r\n \"maxIntervalInSeconds\": 5,\r\n \"maxStalenessPrefix\": 100\r\n },\r\n \"configurationOverrides\": {},\r\n \"writeLocations\": [\r\n {\r\n \"id\": \"test-cli2loqd5ro7y4w-restore-del-westus\",\r\n \"locationName\": \"West US\",\r\n \"documentEndpoint\": \"https://test-cli2loqd5ro7y4w-restore-del-westus.documents.azure.com:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"readLocations\": [\r\n {\r\n \"id\": \"test-cli2loqd5ro7y4w-restore-del-westus\",\r\n \"locationName\": \"West US\",\r\n \"documentEndpoint\": \"https://test-cli2loqd5ro7y4w-restore-del-westus.documents.azure.com:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"locations\": [\r\n {\r\n \"id\": \"test-cli2loqd5ro7y4w-restore-del-westus\",\r\n \"locationName\": \"West US\",\r\n \"documentEndpoint\": \"https://test-cli2loqd5ro7y4w-restore-del-westus.documents.azure.com:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"failoverPolicies\": [\r\n {\r\n \"id\": \"test-cli2loqd5ro7y4w-restore-del-westus\",\r\n \"locationName\": \"West US\",\r\n \"failoverPriority\": 0\r\n }\r\n ],\r\n \"cors\": [],\r\n \"capabilities\": [],\r\n \"ipRules\": [],\r\n \"backupPolicy\": {\r\n \"type\": \"Continuous\"\r\n },\r\n \"restoreParameters\": {\r\n \"restoreMode\": \"PointInTime\",\r\n \"restoreSource\": \"/subscriptions/259fbb24-9bcd-4cfc-865c-fc33b22fe38a/providers/Microsoft.DocumentDB/locations/westus/restorableDatabaseAccounts/d3f80d92-65bc-4c29-9441-a9a048d304d7\",\r\n \"restoreTimestampInUtc\": \"2020-12-10T06:25:00Z\",\r\n \"databasesToRestore\": []\r\n },\r\n \"networkAclBypassResourceIds\": []\r\n },\r\n \"identity\": {\r\n \"type\": \"None\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/259fbb24-9bcd-4cfc-865c-fc33b22fe38a/resourceGroups/testResourceGroup/providers/Microsoft.DocumentDB/databaseAccounts/test0319-r1\",\r\n \"name\": \"test0319-r1\",\r\n \"location\": \"West US\",\r\n \"type\": \"Microsoft.DocumentDB/databaseAccounts\",\r\n \"kind\": \"GlobalDocumentDB\",\r\n \"tags\": {},\r\n \"systemData\": {\r\n \"createdAt\": \"2021-01-05T21:53:12.0189791Z\"\r\n },\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"documentEndpoint\": \"https://test0319-r1.documents.azure.com:443/\",\r\n \"publicNetworkAccess\": \"Enabled\",\r\n \"enableAutomaticFailover\": false,\r\n \"enableMultipleWriteLocations\": false,\r\n \"enablePartitionKeyMonitor\": false,\r\n \"isVirtualNetworkFilterEnabled\": false,\r\n \"virtualNetworkRules\": [],\r\n \"EnabledApiTypes\": \"Sql\",\r\n \"disableKeyBasedMetadataWriteAccess\": false,\r\n \"enableFreeTier\": true,\r\n \"enableAnalyticalStorage\": false,\r\n \"analyticalStorageConfiguration\": {},\r\n \"instanceId\": \"36d321ce-5c39-4d66-9347-47beebff1142\",\r\n \"createMode\": \"Restore\",\r\n \"databaseAccountOfferType\": \"Standard\",\r\n \"defaultIdentity\": \"\",\r\n \"networkAclBypass\": \"None\",\r\n \"disableLocalAuth\": false,\r\n \"consistencyPolicy\": {\r\n \"defaultConsistencyLevel\": \"Session\",\r\n \"maxIntervalInSeconds\": 5,\r\n \"maxStalenessPrefix\": 100\r\n },\r\n \"configurationOverrides\": {},\r\n \"writeLocations\": [\r\n {\r\n \"id\": \"test0319-r1-westus\",\r\n \"locationName\": \"West US\",\r\n \"documentEndpoint\": \"https://test0319-r1-westus.documents.azure.com:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"readLocations\": [\r\n {\r\n \"id\": \"test0319-r1-westus\",\r\n \"locationName\": \"West US\",\r\n \"documentEndpoint\": \"https://test0319-r1-westus.documents.azure.com:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n },\r\n {\r\n \"id\": \"test0319-r1-westus2\",\r\n \"locationName\": \"West US 2\",\r\n \"documentEndpoint\": \"https://test0319-r1-westus2.documents.azure.com:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 1,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"locations\": [\r\n {\r\n \"id\": \"test0319-r1-westus\",\r\n \"locationName\": \"West US\",\r\n \"documentEndpoint\": \"https://test0319-r1-westus.documents.azure.com:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n },\r\n {\r\n \"id\": \"test0319-r1-westus2\",\r\n \"locationName\": \"West US 2\",\r\n \"documentEndpoint\": \"https://test0319-r1-westus2.documents.azure.com:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 1,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"failoverPolicies\": [\r\n {\r\n \"id\": \"test0319-r1-westus\",\r\n \"locationName\": \"West US\",\r\n \"failoverPriority\": 0\r\n },\r\n {\r\n \"id\": \"test0319-r1-westus2\",\r\n \"locationName\": \"West US 2\",\r\n \"failoverPriority\": 1\r\n }\r\n ],\r\n \"cors\": [],\r\n \"capabilities\": [],\r\n \"ipRules\": [],\r\n \"backupPolicy\": {\r\n \"type\": \"Periodic\",\r\n \"periodicModeProperties\": {\r\n \"backupIntervalInMinutes\": 50,\r\n \"backupRetentionIntervalInHours\": 8,\r\n \"backupStorageRedundancy\": \"Geo\"\r\n }\r\n },\r\n \"restoreParameters\": {\r\n \"restoreMode\": \"PointInTime\",\r\n \"restoreSource\": \"/subscriptions/259fbb24-9bcd-4cfc-865c-fc33b22fe38a/providers/Microsoft.DocumentDB/locations//restorableDatabaseAccounts/10917701-a6f8-4f77-a6c8-4f4ab1879abb\",\r\n \"restoreTimestampInUtc\": \"2021-01-05T20:00:18Z\"\r\n },\r\n \"networkAclBypassResourceIds\": []\r\n },\r\n \"identity\": {\r\n \"type\": \"None\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/259fbb24-9bcd-4cfc-865c-fc33b22fe38a/resourceGroups/kakhandr-rd/providers/Microsoft.DocumentDB/databaseAccounts/kal-continuous-dedicated-test\",\r\n \"name\": \"kal-continuous-dedicated-test\",\r\n \"location\": \"West US\",\r\n \"type\": \"Microsoft.DocumentDB/databaseAccounts\",\r\n \"kind\": \"GlobalDocumentDB\",\r\n \"tags\": {\r\n \"defaultExperience\": \"Core (SQL)\",\r\n \"hidden-cosmos-mmspecial\": \"\",\r\n \"CosmosAccountType\": \"Non-Production\"\r\n },\r\n \"systemData\": {\r\n \"createdAt\": \"2020-10-05T23:45:25.9865024Z\"\r\n },\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"documentEndpoint\": \"https://kal-continuous-dedicated-test.documents.azure.com:443/\",\r\n \"publicNetworkAccess\": \"Enabled\",\r\n \"enableAutomaticFailover\": false,\r\n \"enableMultipleWriteLocations\": false,\r\n \"enablePartitionKeyMonitor\": false,\r\n \"isVirtualNetworkFilterEnabled\": false,\r\n \"virtualNetworkRules\": [],\r\n \"EnabledApiTypes\": \"Sql\",\r\n \"disableKeyBasedMetadataWriteAccess\": false,\r\n \"enableFreeTier\": false,\r\n \"enableAnalyticalStorage\": false,\r\n \"analyticalStorageConfiguration\": {},\r\n \"instanceId\": \"11d8ee78-2502-4ad6-becd-291aef9ac258\",\r\n \"createMode\": \"Default\",\r\n \"databaseAccountOfferType\": \"Standard\",\r\n \"defaultIdentity\": \"\",\r\n \"networkAclBypass\": \"None\",\r\n \"disableLocalAuth\": false,\r\n \"consistencyPolicy\": {\r\n \"defaultConsistencyLevel\": \"ConsistentPrefix\",\r\n \"maxIntervalInSeconds\": 5,\r\n \"maxStalenessPrefix\": 100\r\n },\r\n \"configurationOverrides\": {},\r\n \"writeLocations\": [\r\n {\r\n \"id\": \"kal-continuous-dedicated-test-westus\",\r\n \"locationName\": \"West US\",\r\n \"documentEndpoint\": \"https://kal-continuous-dedicated-test-westus.documents.azure.com:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"readLocations\": [\r\n {\r\n \"id\": \"kal-continuous-dedicated-test-westus\",\r\n \"locationName\": \"West US\",\r\n \"documentEndpoint\": \"https://kal-continuous-dedicated-test-westus.documents.azure.com:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"locations\": [\r\n {\r\n \"id\": \"kal-continuous-dedicated-test-westus\",\r\n \"locationName\": \"West US\",\r\n \"documentEndpoint\": \"https://kal-continuous-dedicated-test-westus.documents.azure.com:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"failoverPolicies\": [\r\n {\r\n \"id\": \"kal-continuous-dedicated-test-westus\",\r\n \"locationName\": \"West US\",\r\n \"failoverPriority\": 0\r\n }\r\n ],\r\n \"cors\": [],\r\n \"capabilities\": [],\r\n \"ipRules\": [],\r\n \"backupPolicy\": {\r\n \"type\": \"Continuous\"\r\n },\r\n \"networkAclBypassResourceIds\": []\r\n },\r\n \"identity\": {\r\n \"type\": \"None\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/259fbb24-9bcd-4cfc-865c-fc33b22fe38a/resourceGroups/pitrdemocus/providers/Microsoft.DocumentDB/databaseAccounts/pitracctdemo2\",\r\n \"name\": \"pitracctdemo2\",\r\n \"location\": \"West US\",\r\n \"type\": \"Microsoft.DocumentDB/databaseAccounts\",\r\n \"kind\": \"GlobalDocumentDB\",\r\n \"tags\": {\r\n \"defaultExperience\": \"Core (SQL)\",\r\n \"hidden-cosmos-mmspecial\": \"\",\r\n \"CosmosAccountType\": \"Non-Production\"\r\n },\r\n \"systemData\": {\r\n \"createdAt\": \"2020-08-11T02:34:22.7041021Z\"\r\n },\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"documentEndpoint\": \"https://pitracctdemo2.documents.azure.com:443/\",\r\n \"publicNetworkAccess\": \"Enabled\",\r\n \"enableAutomaticFailover\": false,\r\n \"enableMultipleWriteLocations\": false,\r\n \"enablePartitionKeyMonitor\": false,\r\n \"isVirtualNetworkFilterEnabled\": false,\r\n \"virtualNetworkRules\": [],\r\n \"EnabledApiTypes\": \"Sql\",\r\n \"disableKeyBasedMetadataWriteAccess\": false,\r\n \"enableFreeTier\": false,\r\n \"enableAnalyticalStorage\": false,\r\n \"analyticalStorageConfiguration\": {},\r\n \"instanceId\": \"1e2bec8e-adcc-4c5a-aa5b-82091d6c8a37\",\r\n \"createMode\": \"Default\",\r\n \"databaseAccountOfferType\": \"Standard\",\r\n \"defaultIdentity\": \"\",\r\n \"networkAclBypass\": \"None\",\r\n \"disableLocalAuth\": false,\r\n \"consistencyPolicy\": {\r\n \"defaultConsistencyLevel\": \"Session\",\r\n \"maxIntervalInSeconds\": 5,\r\n \"maxStalenessPrefix\": 100\r\n },\r\n \"configurationOverrides\": {},\r\n \"writeLocations\": [\r\n {\r\n \"id\": \"pitracctdemo2-westus\",\r\n \"locationName\": \"West US\",\r\n \"documentEndpoint\": \"https://pitracctdemo2-westus.documents.azure.com:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"readLocations\": [\r\n {\r\n \"id\": \"pitracctdemo2-westus\",\r\n \"locationName\": \"West US\",\r\n \"documentEndpoint\": \"https://pitracctdemo2-westus.documents.azure.com:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"locations\": [\r\n {\r\n \"id\": \"pitracctdemo2-westus\",\r\n \"locationName\": \"West US\",\r\n \"documentEndpoint\": \"https://pitracctdemo2-westus.documents.azure.com:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"failoverPolicies\": [\r\n {\r\n \"id\": \"pitracctdemo2-westus\",\r\n \"locationName\": \"West US\",\r\n \"failoverPriority\": 0\r\n }\r\n ],\r\n \"cors\": [],\r\n \"capabilities\": [],\r\n \"ipRules\": [],\r\n \"backupPolicy\": {\r\n \"type\": \"Continuous\"\r\n },\r\n \"networkAclBypassResourceIds\": []\r\n },\r\n \"identity\": {\r\n \"type\": \"None\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/259fbb24-9bcd-4cfc-865c-fc33b22fe38a/resourceGroups/virangai-test/providers/Microsoft.DocumentDB/databaseAccounts/virangai-test-pitr-restore-del\",\r\n \"name\": \"virangai-test-pitr-restore-del\",\r\n \"location\": \"West US\",\r\n \"type\": \"Microsoft.DocumentDB/databaseAccounts\",\r\n \"kind\": \"GlobalDocumentDB\",\r\n \"tags\": {\r\n \"defaultExperience\": \"Core (SQL)\",\r\n \"hidden-cosmos-mmspecial\": \"\",\r\n \"CosmosAccountType\": \"Non-Production\"\r\n },\r\n \"systemData\": {\r\n \"createdAt\": \"2020-12-10T02:06:21.2690247Z\"\r\n },\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"documentEndpoint\": \"https://virangai-test-pitr-restore-del.documents.azure.com:443/\",\r\n \"publicNetworkAccess\": \"Enabled\",\r\n \"enableAutomaticFailover\": false,\r\n \"enableMultipleWriteLocations\": false,\r\n \"enablePartitionKeyMonitor\": false,\r\n \"isVirtualNetworkFilterEnabled\": false,\r\n \"virtualNetworkRules\": [],\r\n \"EnabledApiTypes\": \"Sql\",\r\n \"disableKeyBasedMetadataWriteAccess\": false,\r\n \"enableFreeTier\": false,\r\n \"enableAnalyticalStorage\": false,\r\n \"analyticalStorageConfiguration\": {},\r\n \"instanceId\": \"7ccb546f-804d-4fe3-902f-bdb162d2ca51\",\r\n \"createMode\": \"Restore\",\r\n \"databaseAccountOfferType\": \"Standard\",\r\n \"defaultIdentity\": \"\",\r\n \"networkAclBypass\": \"None\",\r\n \"disableLocalAuth\": false,\r\n \"consistencyPolicy\": {\r\n \"defaultConsistencyLevel\": \"Session\",\r\n \"maxIntervalInSeconds\": 5,\r\n \"maxStalenessPrefix\": 100\r\n },\r\n \"configurationOverrides\": {},\r\n \"writeLocations\": [\r\n {\r\n \"id\": \"virangai-test-pitr-restore-del-westus\",\r\n \"locationName\": \"West US\",\r\n \"documentEndpoint\": \"https://virangai-test-pitr-restore-del-westus.documents.azure.com:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"readLocations\": [\r\n {\r\n \"id\": \"virangai-test-pitr-restore-del-westus\",\r\n \"locationName\": \"West US\",\r\n \"documentEndpoint\": \"https://virangai-test-pitr-restore-del-westus.documents.azure.com:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"locations\": [\r\n {\r\n \"id\": \"virangai-test-pitr-restore-del-westus\",\r\n \"locationName\": \"West US\",\r\n \"documentEndpoint\": \"https://virangai-test-pitr-restore-del-westus.documents.azure.com:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"failoverPolicies\": [\r\n {\r\n \"id\": \"virangai-test-pitr-restore-del-westus\",\r\n \"locationName\": \"West US\",\r\n \"failoverPriority\": 0\r\n }\r\n ],\r\n \"cors\": [],\r\n \"capabilities\": [],\r\n \"ipRules\": [],\r\n \"backupPolicy\": {\r\n \"type\": \"Continuous\"\r\n },\r\n \"restoreParameters\": {\r\n \"restoreMode\": \"PointInTime\",\r\n \"restoreSource\": \"/subscriptions/259fbb24-9bcd-4cfc-865c-fc33b22fe38a/providers/Microsoft.DocumentDB/locations/westus/restorableDatabaseAccounts/4fae7f97-17a8-4e16-b1ec-c403112381e1\",\r\n \"restoreTimestampInUtc\": \"2020-11-17T12:00:00Z\",\r\n \"databasesToRestore\": []\r\n },\r\n \"networkAclBypassResourceIds\": []\r\n },\r\n \"identity\": {\r\n \"type\": \"None\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/259fbb24-9bcd-4cfc-865c-fc33b22fe38a/resourceGroups/test-rg/providers/Microsoft.DocumentDB/databaseAccounts/ptr-target\",\r\n \"name\": \"ptr-target\",\r\n \"location\": \"West US\",\r\n \"type\": \"Microsoft.DocumentDB/databaseAccounts\",\r\n \"kind\": \"GlobalDocumentDB\",\r\n \"tags\": {\r\n \"defaultExperience\": \"Core (SQL)\",\r\n \"hidden-cosmos-mmspecial\": \"\",\r\n \"CosmosAccountType\": \"Non-Production\"\r\n },\r\n \"systemData\": {\r\n \"createdAt\": \"2021-01-05T22:25:23.9313421Z\"\r\n },\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"documentEndpoint\": \"https://ptr-target.documents.azure.com:443/\",\r\n \"publicNetworkAccess\": \"Enabled\",\r\n \"enableAutomaticFailover\": false,\r\n \"enableMultipleWriteLocations\": false,\r\n \"enablePartitionKeyMonitor\": false,\r\n \"isVirtualNetworkFilterEnabled\": false,\r\n \"virtualNetworkRules\": [],\r\n \"EnabledApiTypes\": \"Sql\",\r\n \"disableKeyBasedMetadataWriteAccess\": false,\r\n \"enableFreeTier\": false,\r\n \"enableAnalyticalStorage\": false,\r\n \"analyticalStorageConfiguration\": {},\r\n \"instanceId\": \"b4c688c1-2ea7-477e-b994-4affe5d3ea35\",\r\n \"createMode\": \"Restore\",\r\n \"databaseAccountOfferType\": \"Standard\",\r\n \"defaultIdentity\": \"\",\r\n \"networkAclBypass\": \"None\",\r\n \"disableLocalAuth\": false,\r\n \"consistencyPolicy\": {\r\n \"defaultConsistencyLevel\": \"Session\",\r\n \"maxIntervalInSeconds\": 5,\r\n \"maxStalenessPrefix\": 100\r\n },\r\n \"configurationOverrides\": {},\r\n \"writeLocations\": [\r\n {\r\n \"id\": \"ptr-target-westus\",\r\n \"locationName\": \"West US\",\r\n \"documentEndpoint\": \"https://ptr-target-westus.documents.azure.com:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"readLocations\": [\r\n {\r\n \"id\": \"ptr-target-westus\",\r\n \"locationName\": \"West US\",\r\n \"documentEndpoint\": \"https://ptr-target-westus.documents.azure.com:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"locations\": [\r\n {\r\n \"id\": \"ptr-target-westus\",\r\n \"locationName\": \"West US\",\r\n \"documentEndpoint\": \"https://ptr-target-westus.documents.azure.com:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"failoverPolicies\": [\r\n {\r\n \"id\": \"ptr-target-westus\",\r\n \"locationName\": \"West US\",\r\n \"failoverPriority\": 0\r\n }\r\n ],\r\n \"cors\": [],\r\n \"capabilities\": [],\r\n \"ipRules\": [],\r\n \"backupPolicy\": {\r\n \"type\": \"Continuous\"\r\n },\r\n \"restoreParameters\": {\r\n \"restoreMode\": \"PointInTime\",\r\n \"restoreSource\": \"/subscriptions/259fbb24-9bcd-4cfc-865c-fc33b22fe38a/providers/Microsoft.DocumentDB/locations/westus/restorableDatabaseAccounts/e27e7197-8a10-4082-808f-bdd67fc65d93\",\r\n \"restoreTimestampInUtc\": \"2021-01-05T21:45:02Z\",\r\n \"databasesToRestore\": [\r\n {\r\n \"databaseName\": \"db1\",\r\n \"collectionNames\": [\r\n \"procol1\",\r\n \"procol2\"\r\n ]\r\n }\r\n ]\r\n },\r\n \"networkAclBypassResourceIds\": []\r\n },\r\n \"identity\": {\r\n \"type\": \"None\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/259fbb24-9bcd-4cfc-865c-fc33b22fe38a/resourceGroups/pitrdemocus/providers/Microsoft.DocumentDB/databaseAccounts/pitrmongotest-restore\",\r\n \"name\": \"pitrmongotest-restore\",\r\n \"location\": \"West US\",\r\n \"type\": \"Microsoft.DocumentDB/databaseAccounts\",\r\n \"kind\": \"MongoDB\",\r\n \"tags\": {\r\n \"defaultExperience\": \"Azure Cosmos DB for MongoDB API\",\r\n \"hidden-cosmos-mmspecial\": \"\",\r\n \"CosmosAccountType\": \"Non-Production\"\r\n },\r\n \"systemData\": {\r\n \"createdAt\": \"2020-10-01T21:24:44.2340464Z\"\r\n },\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"documentEndpoint\": \"https://pitrmongotest-restore.documents.azure.com:443/\",\r\n \"mongoEndpoint\": \"https://pitrmongotest-restore.mongo.cosmos.azure.com:443/\",\r\n \"publicNetworkAccess\": \"Enabled\",\r\n \"enableAutomaticFailover\": false,\r\n \"enableMultipleWriteLocations\": false,\r\n \"enablePartitionKeyMonitor\": false,\r\n \"isVirtualNetworkFilterEnabled\": false,\r\n \"virtualNetworkRules\": [],\r\n \"EnabledApiTypes\": \"MongoDB\",\r\n \"disableKeyBasedMetadataWriteAccess\": false,\r\n \"enableFreeTier\": false,\r\n \"enableAnalyticalStorage\": false,\r\n \"analyticalStorageConfiguration\": {},\r\n \"instanceId\": \"9905e7ca-6f2d-4b24-a4c5-8e7529036a74\",\r\n \"createMode\": \"Restore\",\r\n \"databaseAccountOfferType\": \"Standard\",\r\n \"defaultIdentity\": \"\",\r\n \"networkAclBypass\": \"None\",\r\n \"disableLocalAuth\": false,\r\n \"consistencyPolicy\": {\r\n \"defaultConsistencyLevel\": \"Session\",\r\n \"maxIntervalInSeconds\": 5,\r\n \"maxStalenessPrefix\": 100\r\n },\r\n \"apiProperties\": {\r\n \"serverVersion\": \"3.6\"\r\n },\r\n \"configurationOverrides\": {\r\n \"EnableBsonSchema\": \"True\"\r\n },\r\n \"writeLocations\": [\r\n {\r\n \"id\": \"pitrmongotest-restore-westus\",\r\n \"locationName\": \"West US\",\r\n \"documentEndpoint\": \"https://pitrmongotest-restore-westus.documents.azure.com:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"readLocations\": [\r\n {\r\n \"id\": \"pitrmongotest-restore-westus\",\r\n \"locationName\": \"West US\",\r\n \"documentEndpoint\": \"https://pitrmongotest-restore-westus.documents.azure.com:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"locations\": [\r\n {\r\n \"id\": \"pitrmongotest-restore-westus\",\r\n \"locationName\": \"West US\",\r\n \"documentEndpoint\": \"https://pitrmongotest-restore-westus.documents.azure.com:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"failoverPolicies\": [\r\n {\r\n \"id\": \"pitrmongotest-restore-westus\",\r\n \"locationName\": \"West US\",\r\n \"failoverPriority\": 0\r\n }\r\n ],\r\n \"cors\": [],\r\n \"capabilities\": [\r\n {\r\n \"name\": \"EnableMongo\"\r\n },\r\n {\r\n \"name\": \"DisableRateLimitingResponses\"\r\n }\r\n ],\r\n \"ipRules\": [],\r\n \"backupPolicy\": {\r\n \"type\": \"Continuous\"\r\n },\r\n \"restoreParameters\": {\r\n \"restoreMode\": \"PointInTime\",\r\n \"restoreSource\": \"/subscriptions/259fbb24-9bcd-4cfc-865c-fc33b22fe38a/providers/Microsoft.DocumentDB/locations/westus/restorableDatabaseAccounts/74ebfb99-1914-4ea9-b802-736b5bda12a7\",\r\n \"restoreTimestampInUtc\": \"2020-10-01T20:45:11.687Z\",\r\n \"databasesToRestore\": []\r\n },\r\n \"networkAclBypassResourceIds\": []\r\n },\r\n \"identity\": {\r\n \"type\": \"None\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/259fbb24-9bcd-4cfc-865c-fc33b22fe38a/resourceGroups/virangai-test/providers/Microsoft.DocumentDB/databaseAccounts/virangai-test-pitr-restore-del-restore2\",\r\n \"name\": \"virangai-test-pitr-restore-del-restore2\",\r\n \"location\": \"West US\",\r\n \"type\": \"Microsoft.DocumentDB/databaseAccounts\",\r\n \"kind\": \"GlobalDocumentDB\",\r\n \"tags\": {\r\n \"defaultExperience\": \"Core (SQL)\",\r\n \"hidden-cosmos-mmspecial\": \"\",\r\n \"CosmosAccountType\": \"Non-Production\"\r\n },\r\n \"systemData\": {\r\n \"createdAt\": \"2021-01-08T01:12:06.1467817Z\"\r\n },\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"documentEndpoint\": \"https://virangai-test-pitr-restore-del-restore2.documents.azure.com:443/\",\r\n \"publicNetworkAccess\": \"Enabled\",\r\n \"enableAutomaticFailover\": false,\r\n \"enableMultipleWriteLocations\": false,\r\n \"enablePartitionKeyMonitor\": false,\r\n \"isVirtualNetworkFilterEnabled\": false,\r\n \"virtualNetworkRules\": [],\r\n \"EnabledApiTypes\": \"Sql\",\r\n \"disableKeyBasedMetadataWriteAccess\": false,\r\n \"enableFreeTier\": false,\r\n \"enableAnalyticalStorage\": false,\r\n \"analyticalStorageConfiguration\": {},\r\n \"instanceId\": \"adc221c8-8826-4d48-8c8d-af48be84b678\",\r\n \"createMode\": \"Restore\",\r\n \"databaseAccountOfferType\": \"Standard\",\r\n \"defaultIdentity\": \"\",\r\n \"networkAclBypass\": \"None\",\r\n \"disableLocalAuth\": false,\r\n \"consistencyPolicy\": {\r\n \"defaultConsistencyLevel\": \"Session\",\r\n \"maxIntervalInSeconds\": 5,\r\n \"maxStalenessPrefix\": 100\r\n },\r\n \"configurationOverrides\": {},\r\n \"writeLocations\": [\r\n {\r\n \"id\": \"virangai-test-pitr-restore-del-restore2-westus\",\r\n \"locationName\": \"West US\",\r\n \"documentEndpoint\": \"https://virangai-test-pitr-restore-del-restore2-westus.documents.azure.com:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"readLocations\": [\r\n {\r\n \"id\": \"virangai-test-pitr-restore-del-restore2-westus\",\r\n \"locationName\": \"West US\",\r\n \"documentEndpoint\": \"https://virangai-test-pitr-restore-del-restore2-westus.documents.azure.com:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"locations\": [\r\n {\r\n \"id\": \"virangai-test-pitr-restore-del-restore2-westus\",\r\n \"locationName\": \"West US\",\r\n \"documentEndpoint\": \"https://virangai-test-pitr-restore-del-restore2-westus.documents.azure.com:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"failoverPolicies\": [\r\n {\r\n \"id\": \"virangai-test-pitr-restore-del-restore2-westus\",\r\n \"locationName\": \"West US\",\r\n \"failoverPriority\": 0\r\n }\r\n ],\r\n \"cors\": [],\r\n \"capabilities\": [],\r\n \"ipRules\": [],\r\n \"backupPolicy\": {\r\n \"type\": \"Continuous\"\r\n },\r\n \"restoreParameters\": {\r\n \"restoreMode\": \"PointInTime\",\r\n \"restoreSource\": \"/subscriptions/259fbb24-9bcd-4cfc-865c-fc33b22fe38a/providers/Microsoft.DocumentDB/locations/westus/restorableDatabaseAccounts/7ccb546f-804d-4fe3-902f-bdb162d2ca51\",\r\n \"restoreTimestampInUtc\": \"2020-12-10T02:06:51Z\",\r\n \"databasesToRestore\": []\r\n },\r\n \"networkAclBypassResourceIds\": []\r\n },\r\n \"identity\": {\r\n \"type\": \"None\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/259fbb24-9bcd-4cfc-865c-fc33b22fe38a/resourceGroups/cli_test_cosmosdb_mongodb_restorable_commandsoiookrfblvv4haktupow2swcpf4o74/providers/Microsoft.DocumentDB/databaseAccounts/cli56zv275qols2\",\r\n \"name\": \"cli56zv275qols2\",\r\n \"location\": \"West US\",\r\n \"type\": \"Microsoft.DocumentDB/databaseAccounts\",\r\n \"kind\": \"MongoDB\",\r\n \"tags\": {},\r\n \"systemData\": {\r\n \"createdAt\": \"2021-01-28T22:28:27.9505924Z\"\r\n },\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"documentEndpoint\": \"https://cli56zv275qols2.documents.azure.com:443/\",\r\n \"mongoEndpoint\": \"https://cli56zv275qols2.mongo.cosmos.azure.com:443/\",\r\n \"publicNetworkAccess\": \"Enabled\",\r\n \"enableAutomaticFailover\": false,\r\n \"enableMultipleWriteLocations\": false,\r\n \"enablePartitionKeyMonitor\": false,\r\n \"isVirtualNetworkFilterEnabled\": false,\r\n \"virtualNetworkRules\": [],\r\n \"EnabledApiTypes\": \"MongoDB\",\r\n \"disableKeyBasedMetadataWriteAccess\": false,\r\n \"enableFreeTier\": false,\r\n \"enableAnalyticalStorage\": false,\r\n \"analyticalStorageConfiguration\": {},\r\n \"instanceId\": \"5f95bef8-07b9-400b-aac2-4e09efbc47c2\",\r\n \"createMode\": \"Default\",\r\n \"databaseAccountOfferType\": \"Standard\",\r\n \"defaultIdentity\": \"\",\r\n \"networkAclBypass\": \"None\",\r\n \"disableLocalAuth\": false,\r\n \"consistencyPolicy\": {\r\n \"defaultConsistencyLevel\": \"Session\",\r\n \"maxIntervalInSeconds\": 5,\r\n \"maxStalenessPrefix\": 100\r\n },\r\n \"apiProperties\": {\r\n \"serverVersion\": \"3.6\"\r\n },\r\n \"configurationOverrides\": {\r\n \"EnableBsonSchema\": \"True\"\r\n },\r\n \"writeLocations\": [\r\n {\r\n \"id\": \"cli56zv275qols2-westus\",\r\n \"locationName\": \"West US\",\r\n \"documentEndpoint\": \"https://cli56zv275qols2-westus.documents.azure.com:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"readLocations\": [\r\n {\r\n \"id\": \"cli56zv275qols2-westus\",\r\n \"locationName\": \"West US\",\r\n \"documentEndpoint\": \"https://cli56zv275qols2-westus.documents.azure.com:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"locations\": [\r\n {\r\n \"id\": \"cli56zv275qols2-westus\",\r\n \"locationName\": \"West US\",\r\n \"documentEndpoint\": \"https://cli56zv275qols2-westus.documents.azure.com:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"failoverPolicies\": [\r\n {\r\n \"id\": \"cli56zv275qols2-westus\",\r\n \"locationName\": \"West US\",\r\n \"failoverPriority\": 0\r\n }\r\n ],\r\n \"cors\": [],\r\n \"capabilities\": [\r\n {\r\n \"name\": \"EnableMongo\"\r\n }\r\n ],\r\n \"ipRules\": [],\r\n \"backupPolicy\": {\r\n \"type\": \"Continuous\"\r\n },\r\n \"networkAclBypassResourceIds\": []\r\n },\r\n \"identity\": {\r\n \"type\": \"None\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/259fbb24-9bcd-4cfc-865c-fc33b22fe38a/resourceGroups/virangai-test/providers/Microsoft.DocumentDB/databaseAccounts/virangai-test-pitr-restore-del5\",\r\n \"name\": \"virangai-test-pitr-restore-del5\",\r\n \"location\": \"West US\",\r\n \"type\": \"Microsoft.DocumentDB/databaseAccounts\",\r\n \"kind\": \"GlobalDocumentDB\",\r\n \"tags\": {\r\n \"defaultExperience\": \"Core (SQL)\",\r\n \"hidden-cosmos-mmspecial\": \"\",\r\n \"CosmosAccountType\": \"Non-Production\"\r\n },\r\n \"systemData\": {\r\n \"createdAt\": \"2021-01-08T20:23:31.7886358Z\"\r\n },\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"documentEndpoint\": \"https://virangai-test-pitr-restore-del5.documents.azure.com:443/\",\r\n \"publicNetworkAccess\": \"Enabled\",\r\n \"enableAutomaticFailover\": false,\r\n \"enableMultipleWriteLocations\": false,\r\n \"enablePartitionKeyMonitor\": false,\r\n \"isVirtualNetworkFilterEnabled\": false,\r\n \"virtualNetworkRules\": [],\r\n \"EnabledApiTypes\": \"Sql\",\r\n \"disableKeyBasedMetadataWriteAccess\": false,\r\n \"enableFreeTier\": false,\r\n \"enableAnalyticalStorage\": false,\r\n \"analyticalStorageConfiguration\": {},\r\n \"instanceId\": \"baf212fa-867f-4979-a007-4db919a87868\",\r\n \"createMode\": \"Restore\",\r\n \"databaseAccountOfferType\": \"Standard\",\r\n \"defaultIdentity\": \"\",\r\n \"networkAclBypass\": \"None\",\r\n \"disableLocalAuth\": false,\r\n \"consistencyPolicy\": {\r\n \"defaultConsistencyLevel\": \"Session\",\r\n \"maxIntervalInSeconds\": 5,\r\n \"maxStalenessPrefix\": 100\r\n },\r\n \"configurationOverrides\": {},\r\n \"writeLocations\": [\r\n {\r\n \"id\": \"virangai-test-pitr-restore-del5-westus\",\r\n \"locationName\": \"West US\",\r\n \"documentEndpoint\": \"https://virangai-test-pitr-restore-del5-westus.documents.azure.com:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"readLocations\": [\r\n {\r\n \"id\": \"virangai-test-pitr-restore-del5-westus\",\r\n \"locationName\": \"West US\",\r\n \"documentEndpoint\": \"https://virangai-test-pitr-restore-del5-westus.documents.azure.com:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"locations\": [\r\n {\r\n \"id\": \"virangai-test-pitr-restore-del5-westus\",\r\n \"locationName\": \"West US\",\r\n \"documentEndpoint\": \"https://virangai-test-pitr-restore-del5-westus.documents.azure.com:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"failoverPolicies\": [\r\n {\r\n \"id\": \"virangai-test-pitr-restore-del5-westus\",\r\n \"locationName\": \"West US\",\r\n \"failoverPriority\": 0\r\n }\r\n ],\r\n \"cors\": [],\r\n \"capabilities\": [],\r\n \"ipRules\": [],\r\n \"backupPolicy\": {\r\n \"type\": \"Continuous\"\r\n },\r\n \"restoreParameters\": {\r\n \"restoreMode\": \"PointInTime\",\r\n \"restoreSource\": \"/subscriptions/259fbb24-9bcd-4cfc-865c-fc33b22fe38a/providers/Microsoft.DocumentDB/locations/westus/restorableDatabaseAccounts/7ccb546f-804d-4fe3-902f-bdb162d2ca51\",\r\n \"restoreTimestampInUtc\": \"2021-01-08T20:12:26.046Z\",\r\n \"databasesToRestore\": []\r\n },\r\n \"networkAclBypassResourceIds\": []\r\n },\r\n \"identity\": {\r\n \"type\": \"None\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/259fbb24-9bcd-4cfc-865c-fc33b22fe38a/resourceGroups/virangai-test/providers/Microsoft.DocumentDB/databaseAccounts/virangai-test-pitr-restore-del1\",\r\n \"name\": \"virangai-test-pitr-restore-del1\",\r\n \"location\": \"West US\",\r\n \"type\": \"Microsoft.DocumentDB/databaseAccounts\",\r\n \"kind\": \"GlobalDocumentDB\",\r\n \"tags\": {\r\n \"defaultExperience\": \"Core (SQL)\",\r\n \"hidden-cosmos-mmspecial\": \"\",\r\n \"CosmosAccountType\": \"Non-Production\"\r\n },\r\n \"systemData\": {\r\n \"createdAt\": \"2021-01-08T20:19:56.8841402Z\"\r\n },\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"documentEndpoint\": \"https://virangai-test-pitr-restore-del1.documents.azure.com:443/\",\r\n \"publicNetworkAccess\": \"Enabled\",\r\n \"enableAutomaticFailover\": false,\r\n \"enableMultipleWriteLocations\": false,\r\n \"enablePartitionKeyMonitor\": false,\r\n \"isVirtualNetworkFilterEnabled\": false,\r\n \"virtualNetworkRules\": [],\r\n \"EnabledApiTypes\": \"Sql\",\r\n \"disableKeyBasedMetadataWriteAccess\": false,\r\n \"enableFreeTier\": false,\r\n \"enableAnalyticalStorage\": false,\r\n \"analyticalStorageConfiguration\": {},\r\n \"instanceId\": \"bb466093-aad0-4e58-8ae5-94c4b48caa3d\",\r\n \"createMode\": \"Restore\",\r\n \"databaseAccountOfferType\": \"Standard\",\r\n \"defaultIdentity\": \"\",\r\n \"networkAclBypass\": \"None\",\r\n \"disableLocalAuth\": false,\r\n \"consistencyPolicy\": {\r\n \"defaultConsistencyLevel\": \"Session\",\r\n \"maxIntervalInSeconds\": 5,\r\n \"maxStalenessPrefix\": 100\r\n },\r\n \"configurationOverrides\": {},\r\n \"writeLocations\": [\r\n {\r\n \"id\": \"virangai-test-pitr-restore-del1-westus\",\r\n \"locationName\": \"West US\",\r\n \"documentEndpoint\": \"https://virangai-test-pitr-restore-del1-westus.documents.azure.com:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"readLocations\": [\r\n {\r\n \"id\": \"virangai-test-pitr-restore-del1-westus\",\r\n \"locationName\": \"West US\",\r\n \"documentEndpoint\": \"https://virangai-test-pitr-restore-del1-westus.documents.azure.com:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"locations\": [\r\n {\r\n \"id\": \"virangai-test-pitr-restore-del1-westus\",\r\n \"locationName\": \"West US\",\r\n \"documentEndpoint\": \"https://virangai-test-pitr-restore-del1-westus.documents.azure.com:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"failoverPolicies\": [\r\n {\r\n \"id\": \"virangai-test-pitr-restore-del1-westus\",\r\n \"locationName\": \"West US\",\r\n \"failoverPriority\": 0\r\n }\r\n ],\r\n \"cors\": [],\r\n \"capabilities\": [],\r\n \"ipRules\": [],\r\n \"backupPolicy\": {\r\n \"type\": \"Continuous\"\r\n },\r\n \"restoreParameters\": {\r\n \"restoreMode\": \"PointInTime\",\r\n \"restoreSource\": \"/subscriptions/259fbb24-9bcd-4cfc-865c-fc33b22fe38a/providers/Microsoft.DocumentDB/locations/westus/restorableDatabaseAccounts/7ccb546f-804d-4fe3-902f-bdb162d2ca51\",\r\n \"restoreTimestampInUtc\": \"2020-12-12T02:01:51Z\",\r\n \"databasesToRestore\": []\r\n },\r\n \"networkAclBypassResourceIds\": []\r\n },\r\n \"identity\": {\r\n \"type\": \"None\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/259fbb24-9bcd-4cfc-865c-fc33b22fe38a/resourceGroups/kakhandr-rd/providers/Microsoft.DocumentDB/databaseAccounts/kal-cli-test\",\r\n \"name\": \"kal-cli-test\",\r\n \"location\": \"West US\",\r\n \"type\": \"Microsoft.DocumentDB/databaseAccounts\",\r\n \"kind\": \"GlobalDocumentDB\",\r\n \"tags\": {},\r\n \"systemData\": {\r\n \"createdAt\": \"2021-01-29T19:26:06.4198764Z\"\r\n },\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"documentEndpoint\": \"https://kal-cli-test.documents.azure.com:443/\",\r\n \"publicNetworkAccess\": \"Enabled\",\r\n \"enableAutomaticFailover\": false,\r\n \"enableMultipleWriteLocations\": false,\r\n \"enablePartitionKeyMonitor\": false,\r\n \"isVirtualNetworkFilterEnabled\": false,\r\n \"virtualNetworkRules\": [],\r\n \"EnabledApiTypes\": \"Sql\",\r\n \"disableKeyBasedMetadataWriteAccess\": false,\r\n \"enableFreeTier\": false,\r\n \"enableAnalyticalStorage\": false,\r\n \"analyticalStorageConfiguration\": {},\r\n \"instanceId\": \"92c911cf-962a-4cad-8a68-fb0e21a4f257\",\r\n \"createMode\": \"Default\",\r\n \"databaseAccountOfferType\": \"Standard\",\r\n \"defaultIdentity\": \"\",\r\n \"networkAclBypass\": \"None\",\r\n \"disableLocalAuth\": false,\r\n \"consistencyPolicy\": {\r\n \"defaultConsistencyLevel\": \"Session\",\r\n \"maxIntervalInSeconds\": 5,\r\n \"maxStalenessPrefix\": 100\r\n },\r\n \"configurationOverrides\": {},\r\n \"writeLocations\": [\r\n {\r\n \"id\": \"kal-cli-test-westus\",\r\n \"locationName\": \"West US\",\r\n \"documentEndpoint\": \"https://kal-cli-test-westus.documents.azure.com:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"readLocations\": [\r\n {\r\n \"id\": \"kal-cli-test-westus\",\r\n \"locationName\": \"West US\",\r\n \"documentEndpoint\": \"https://kal-cli-test-westus.documents.azure.com:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"locations\": [\r\n {\r\n \"id\": \"kal-cli-test-westus\",\r\n \"locationName\": \"West US\",\r\n \"documentEndpoint\": \"https://kal-cli-test-westus.documents.azure.com:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"failoverPolicies\": [\r\n {\r\n \"id\": \"kal-cli-test-westus\",\r\n \"locationName\": \"West US\",\r\n \"failoverPriority\": 0\r\n }\r\n ],\r\n \"cors\": [],\r\n \"capabilities\": [],\r\n \"ipRules\": [],\r\n \"backupPolicy\": {\r\n \"type\": \"Continuous\"\r\n },\r\n \"networkAclBypassResourceIds\": []\r\n },\r\n \"identity\": {\r\n \"type\": \"None\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/259fbb24-9bcd-4cfc-865c-fc33b22fe38a/resourceGroups/kakhandr-rd/providers/Microsoft.DocumentDB/databaseAccounts/kal-doc-test-continuous\",\r\n \"name\": \"kal-doc-test-continuous\",\r\n \"location\": \"West US\",\r\n \"type\": \"Microsoft.DocumentDB/databaseAccounts\",\r\n \"kind\": \"GlobalDocumentDB\",\r\n \"tags\": {},\r\n \"systemData\": {\r\n \"createdAt\": \"2021-01-28T23:39:09.6312581Z\"\r\n },\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"documentEndpoint\": \"https://kal-doc-test-continuous.documents.azure.com:443/\",\r\n \"publicNetworkAccess\": \"Enabled\",\r\n \"enableAutomaticFailover\": false,\r\n \"enableMultipleWriteLocations\": false,\r\n \"enablePartitionKeyMonitor\": false,\r\n \"isVirtualNetworkFilterEnabled\": false,\r\n \"virtualNetworkRules\": [],\r\n \"EnabledApiTypes\": \"Sql\",\r\n \"disableKeyBasedMetadataWriteAccess\": false,\r\n \"enableFreeTier\": false,\r\n \"enableAnalyticalStorage\": false,\r\n \"analyticalStorageConfiguration\": {},\r\n \"instanceId\": \"ae351691-d2fb-4878-abe4-5305062a3356\",\r\n \"createMode\": \"Default\",\r\n \"databaseAccountOfferType\": \"Standard\",\r\n \"defaultIdentity\": \"\",\r\n \"networkAclBypass\": \"None\",\r\n \"disableLocalAuth\": false,\r\n \"consistencyPolicy\": {\r\n \"defaultConsistencyLevel\": \"Session\",\r\n \"maxIntervalInSeconds\": 5,\r\n \"maxStalenessPrefix\": 100\r\n },\r\n \"configurationOverrides\": {},\r\n \"writeLocations\": [\r\n {\r\n \"id\": \"kal-doc-test-continuous-westus\",\r\n \"locationName\": \"West US\",\r\n \"documentEndpoint\": \"https://kal-doc-test-continuous-westus.documents.azure.com:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"readLocations\": [\r\n {\r\n \"id\": \"kal-doc-test-continuous-westus\",\r\n \"locationName\": \"West US\",\r\n \"documentEndpoint\": \"https://kal-doc-test-continuous-westus.documents.azure.com:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"locations\": [\r\n {\r\n \"id\": \"kal-doc-test-continuous-westus\",\r\n \"locationName\": \"West US\",\r\n \"documentEndpoint\": \"https://kal-doc-test-continuous-westus.documents.azure.com:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"failoverPolicies\": [\r\n {\r\n \"id\": \"kal-doc-test-continuous-westus\",\r\n \"locationName\": \"West US\",\r\n \"failoverPriority\": 0\r\n }\r\n ],\r\n \"cors\": [],\r\n \"capabilities\": [],\r\n \"ipRules\": [],\r\n \"backupPolicy\": {\r\n \"type\": \"Continuous\"\r\n },\r\n \"networkAclBypassResourceIds\": []\r\n },\r\n \"identity\": {\r\n \"type\": \"None\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/259fbb24-9bcd-4cfc-865c-fc33b22fe38a/resourceGroups/kakhandr-rd/providers/Microsoft.DocumentDB/databaseAccounts/kal-cli-test-mongo\",\r\n \"name\": \"kal-cli-test-mongo\",\r\n \"location\": \"West US\",\r\n \"type\": \"Microsoft.DocumentDB/databaseAccounts\",\r\n \"kind\": \"MongoDB\",\r\n \"tags\": {},\r\n \"systemData\": {\r\n \"createdAt\": \"2021-01-29T19:37:28.3236619Z\"\r\n },\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"documentEndpoint\": \"https://kal-cli-test-mongo.documents.azure.com:443/\",\r\n \"mongoEndpoint\": \"https://kal-cli-test-mongo.mongo.cosmos.azure.com:443/\",\r\n \"publicNetworkAccess\": \"Enabled\",\r\n \"enableAutomaticFailover\": false,\r\n \"enableMultipleWriteLocations\": false,\r\n \"enablePartitionKeyMonitor\": false,\r\n \"isVirtualNetworkFilterEnabled\": false,\r\n \"virtualNetworkRules\": [],\r\n \"EnabledApiTypes\": \"MongoDB\",\r\n \"disableKeyBasedMetadataWriteAccess\": false,\r\n \"enableFreeTier\": false,\r\n \"enableAnalyticalStorage\": false,\r\n \"analyticalStorageConfiguration\": {},\r\n \"instanceId\": \"4416eb73-6313-48e3-be87-5f22d8860c3e\",\r\n \"createMode\": \"Default\",\r\n \"databaseAccountOfferType\": \"Standard\",\r\n \"defaultIdentity\": \"\",\r\n \"networkAclBypass\": \"None\",\r\n \"disableLocalAuth\": false,\r\n \"consistencyPolicy\": {\r\n \"defaultConsistencyLevel\": \"Session\",\r\n \"maxIntervalInSeconds\": 5,\r\n \"maxStalenessPrefix\": 100\r\n },\r\n \"apiProperties\": {\r\n \"serverVersion\": \"3.6\"\r\n },\r\n \"configurationOverrides\": {\r\n \"EnableBsonSchema\": \"True\"\r\n },\r\n \"writeLocations\": [\r\n {\r\n \"id\": \"kal-cli-test-mongo-westus\",\r\n \"locationName\": \"West US\",\r\n \"documentEndpoint\": \"https://kal-cli-test-mongo-westus.documents.azure.com:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"readLocations\": [\r\n {\r\n \"id\": \"kal-cli-test-mongo-westus\",\r\n \"locationName\": \"West US\",\r\n \"documentEndpoint\": \"https://kal-cli-test-mongo-westus.documents.azure.com:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"locations\": [\r\n {\r\n \"id\": \"kal-cli-test-mongo-westus\",\r\n \"locationName\": \"West US\",\r\n \"documentEndpoint\": \"https://kal-cli-test-mongo-westus.documents.azure.com:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"failoverPolicies\": [\r\n {\r\n \"id\": \"kal-cli-test-mongo-westus\",\r\n \"locationName\": \"West US\",\r\n \"failoverPriority\": 0\r\n }\r\n ],\r\n \"cors\": [],\r\n \"capabilities\": [\r\n {\r\n \"name\": \"EnableMongo\"\r\n }\r\n ],\r\n \"ipRules\": [],\r\n \"backupPolicy\": {\r\n \"type\": \"Continuous\"\r\n },\r\n \"networkAclBypassResourceIds\": []\r\n },\r\n \"identity\": {\r\n \"type\": \"None\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/259fbb24-9bcd-4cfc-865c-fc33b22fe38a/resourceGroups/pitrdemocus/providers/Microsoft.DocumentDB/databaseAccounts/pitrdemo1015\",\r\n \"name\": \"pitrdemo1015\",\r\n \"location\": \"West US\",\r\n \"type\": \"Microsoft.DocumentDB/databaseAccounts\",\r\n \"kind\": \"GlobalDocumentDB\",\r\n \"tags\": {\r\n \"defaultExperience\": \"Core (SQL)\",\r\n \"hidden-cosmos-mmspecial\": \"\",\r\n \"CosmosAccountType\": \"Non-Production\"\r\n },\r\n \"systemData\": {\r\n \"createdAt\": \"2020-10-15T17:28:58.4349667Z\"\r\n },\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"documentEndpoint\": \"https://pitrdemo1015.documents.azure.com:443/\",\r\n \"publicNetworkAccess\": \"Enabled\",\r\n \"enableAutomaticFailover\": false,\r\n \"enableMultipleWriteLocations\": false,\r\n \"enablePartitionKeyMonitor\": false,\r\n \"isVirtualNetworkFilterEnabled\": false,\r\n \"virtualNetworkRules\": [],\r\n \"EnabledApiTypes\": \"Sql\",\r\n \"disableKeyBasedMetadataWriteAccess\": false,\r\n \"enableFreeTier\": false,\r\n \"enableAnalyticalStorage\": false,\r\n \"analyticalStorageConfiguration\": {},\r\n \"instanceId\": \"6fd844b3-71af-4e89-9b9d-f829945272bf\",\r\n \"createMode\": \"Default\",\r\n \"databaseAccountOfferType\": \"Standard\",\r\n \"defaultIdentity\": \"\",\r\n \"networkAclBypass\": \"None\",\r\n \"disableLocalAuth\": false,\r\n \"consistencyPolicy\": {\r\n \"defaultConsistencyLevel\": \"Session\",\r\n \"maxIntervalInSeconds\": 5,\r\n \"maxStalenessPrefix\": 100\r\n },\r\n \"configurationOverrides\": {},\r\n \"writeLocations\": [\r\n {\r\n \"id\": \"pitrdemo1015-westus\",\r\n \"locationName\": \"West US\",\r\n \"documentEndpoint\": \"https://pitrdemo1015-westus.documents.azure.com:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"readLocations\": [\r\n {\r\n \"id\": \"pitrdemo1015-westus\",\r\n \"locationName\": \"West US\",\r\n \"documentEndpoint\": \"https://pitrdemo1015-westus.documents.azure.com:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"locations\": [\r\n {\r\n \"id\": \"pitrdemo1015-westus\",\r\n \"locationName\": \"West US\",\r\n \"documentEndpoint\": \"https://pitrdemo1015-westus.documents.azure.com:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"failoverPolicies\": [\r\n {\r\n \"id\": \"pitrdemo1015-westus\",\r\n \"locationName\": \"West US\",\r\n \"failoverPriority\": 0\r\n }\r\n ],\r\n \"cors\": [],\r\n \"capabilities\": [],\r\n \"ipRules\": [],\r\n \"backupPolicy\": {\r\n \"type\": \"Continuous\"\r\n },\r\n \"networkAclBypassResourceIds\": []\r\n },\r\n \"identity\": {\r\n \"type\": \"None\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/259fbb24-9bcd-4cfc-865c-fc33b22fe38a/resourceGroups/virangai-test/providers/Microsoft.DocumentDB/databaseAccounts/virangai-test-pitr-restore-del-restore\",\r\n \"name\": \"virangai-test-pitr-restore-del-restore\",\r\n \"location\": \"West US\",\r\n \"type\": \"Microsoft.DocumentDB/databaseAccounts\",\r\n \"kind\": \"GlobalDocumentDB\",\r\n \"tags\": {\r\n \"defaultExperience\": \"Core (SQL)\",\r\n \"hidden-cosmos-mmspecial\": \"\",\r\n \"CosmosAccountType\": \"Non-Production\"\r\n },\r\n \"systemData\": {\r\n \"createdAt\": \"2021-01-08T00:50:34.3936917Z\"\r\n },\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"documentEndpoint\": \"https://virangai-test-pitr-restore-del-restore.documents.azure.com:443/\",\r\n \"publicNetworkAccess\": \"Enabled\",\r\n \"enableAutomaticFailover\": false,\r\n \"enableMultipleWriteLocations\": false,\r\n \"enablePartitionKeyMonitor\": false,\r\n \"isVirtualNetworkFilterEnabled\": false,\r\n \"virtualNetworkRules\": [],\r\n \"EnabledApiTypes\": \"Sql\",\r\n \"disableKeyBasedMetadataWriteAccess\": false,\r\n \"enableFreeTier\": false,\r\n \"enableAnalyticalStorage\": false,\r\n \"analyticalStorageConfiguration\": {},\r\n \"instanceId\": \"26c6c802-2477-422f-b3a0-9da58299b82e\",\r\n \"createMode\": \"Restore\",\r\n \"databaseAccountOfferType\": \"Standard\",\r\n \"defaultIdentity\": \"\",\r\n \"networkAclBypass\": \"None\",\r\n \"disableLocalAuth\": false,\r\n \"consistencyPolicy\": {\r\n \"defaultConsistencyLevel\": \"Session\",\r\n \"maxIntervalInSeconds\": 5,\r\n \"maxStalenessPrefix\": 100\r\n },\r\n \"configurationOverrides\": {},\r\n \"writeLocations\": [\r\n {\r\n \"id\": \"virangai-test-pitr-restore-del-restore-westus\",\r\n \"locationName\": \"West US\",\r\n \"documentEndpoint\": \"https://virangai-test-pitr-restore-del-restore-westus.documents.azure.com:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"readLocations\": [\r\n {\r\n \"id\": \"virangai-test-pitr-restore-del-restore-westus\",\r\n \"locationName\": \"West US\",\r\n \"documentEndpoint\": \"https://virangai-test-pitr-restore-del-restore-westus.documents.azure.com:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"locations\": [\r\n {\r\n \"id\": \"virangai-test-pitr-restore-del-restore-westus\",\r\n \"locationName\": \"West US\",\r\n \"documentEndpoint\": \"https://virangai-test-pitr-restore-del-restore-westus.documents.azure.com:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"failoverPolicies\": [\r\n {\r\n \"id\": \"virangai-test-pitr-restore-del-restore-westus\",\r\n \"locationName\": \"West US\",\r\n \"failoverPriority\": 0\r\n }\r\n ],\r\n \"cors\": [],\r\n \"capabilities\": [],\r\n \"ipRules\": [],\r\n \"backupPolicy\": {\r\n \"type\": \"Continuous\"\r\n },\r\n \"restoreParameters\": {\r\n \"restoreMode\": \"PointInTime\",\r\n \"restoreSource\": \"/subscriptions/259fbb24-9bcd-4cfc-865c-fc33b22fe38a/providers/Microsoft.DocumentDB/locations/westus/restorableDatabaseAccounts/7ccb546f-804d-4fe3-902f-bdb162d2ca51\",\r\n \"restoreTimestampInUtc\": \"2020-12-10T02:06:51Z\",\r\n \"databasesToRestore\": []\r\n },\r\n \"networkAclBypassResourceIds\": []\r\n },\r\n \"identity\": {\r\n \"type\": \"None\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/259fbb24-9bcd-4cfc-865c-fc33b22fe38a/resourceGroups/testResourceGroup/providers/Microsoft.DocumentDB/databaseAccounts/test0319-r2\",\r\n \"name\": \"test0319-r2\",\r\n \"location\": \"West US\",\r\n \"type\": \"Microsoft.DocumentDB/databaseAccounts\",\r\n \"kind\": \"GlobalDocumentDB\",\r\n \"tags\": {},\r\n \"systemData\": {\r\n \"createdAt\": \"2021-01-05T21:05:48.5760539Z\"\r\n },\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"documentEndpoint\": \"https://test0319-r2.documents.azure.com:443/\",\r\n \"publicNetworkAccess\": \"Enabled\",\r\n \"enableAutomaticFailover\": false,\r\n \"enableMultipleWriteLocations\": false,\r\n \"enablePartitionKeyMonitor\": false,\r\n \"isVirtualNetworkFilterEnabled\": false,\r\n \"virtualNetworkRules\": [],\r\n \"EnabledApiTypes\": \"Sql\",\r\n \"disableKeyBasedMetadataWriteAccess\": false,\r\n \"enableFreeTier\": true,\r\n \"enableAnalyticalStorage\": false,\r\n \"analyticalStorageConfiguration\": {},\r\n \"instanceId\": \"9aa726e0-7284-474e-a876-cc74aed374c4\",\r\n \"createMode\": \"Restore\",\r\n \"databaseAccountOfferType\": \"Standard\",\r\n \"defaultIdentity\": \"\",\r\n \"networkAclBypass\": \"None\",\r\n \"disableLocalAuth\": false,\r\n \"consistencyPolicy\": {\r\n \"defaultConsistencyLevel\": \"Session\",\r\n \"maxIntervalInSeconds\": 5,\r\n \"maxStalenessPrefix\": 100\r\n },\r\n \"configurationOverrides\": {},\r\n \"writeLocations\": [\r\n {\r\n \"id\": \"test0319-r2-westus\",\r\n \"locationName\": \"West US\",\r\n \"documentEndpoint\": \"https://test0319-r2-westus.documents.azure.com:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"readLocations\": [\r\n {\r\n \"id\": \"test0319-r2-westus\",\r\n \"locationName\": \"West US\",\r\n \"documentEndpoint\": \"https://test0319-r2-westus.documents.azure.com:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"locations\": [\r\n {\r\n \"id\": \"test0319-r2-westus\",\r\n \"locationName\": \"West US\",\r\n \"documentEndpoint\": \"https://test0319-r2-westus.documents.azure.com:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"failoverPolicies\": [\r\n {\r\n \"id\": \"test0319-r2-westus\",\r\n \"locationName\": \"West US\",\r\n \"failoverPriority\": 0\r\n }\r\n ],\r\n \"cors\": [],\r\n \"capabilities\": [],\r\n \"ipRules\": [],\r\n \"backupPolicy\": {\r\n \"type\": \"Periodic\",\r\n \"periodicModeProperties\": {\r\n \"backupIntervalInMinutes\": 239,\r\n \"backupRetentionIntervalInHours\": 8,\r\n \"backupStorageRedundancy\": \"Local\"\r\n }\r\n },\r\n \"restoreParameters\": {\r\n \"restoreMode\": \"PointInTime\",\r\n \"restoreSource\": \"/subscriptions/259fbb24-9bcd-4cfc-865c-fc33b22fe38a/providers/Microsoft.DocumentDB/locations//restorableDatabaseAccounts/10917701-a6f8-4f77-a6c8-4f4ab1879abb\",\r\n \"restoreTimestampInUtc\": \"2021-01-05T20:00:18Z\"\r\n },\r\n \"networkAclBypassResourceIds\": []\r\n },\r\n \"identity\": {\r\n \"type\": \"None\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/259fbb24-9bcd-4cfc-865c-fc33b22fe38a/resourceGroups/kakhandr-rd/providers/Microsoft.DocumentDB/databaseAccounts/kal-powershell-release-test\",\r\n \"name\": \"kal-powershell-release-test\",\r\n \"location\": \"West US\",\r\n \"type\": \"Microsoft.DocumentDB/databaseAccounts\",\r\n \"kind\": \"GlobalDocumentDB\",\r\n \"tags\": {},\r\n \"systemData\": {\r\n \"createdAt\": \"2021-02-11T00:05:00.5372927Z\"\r\n },\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"documentEndpoint\": \"https://kal-powershell-release-test.documents.azure.com:443/\",\r\n \"publicNetworkAccess\": \"Enabled\",\r\n \"enableAutomaticFailover\": false,\r\n \"enableMultipleWriteLocations\": false,\r\n \"enablePartitionKeyMonitor\": false,\r\n \"isVirtualNetworkFilterEnabled\": false,\r\n \"virtualNetworkRules\": [],\r\n \"EnabledApiTypes\": \"Sql\",\r\n \"disableKeyBasedMetadataWriteAccess\": false,\r\n \"enableFreeTier\": false,\r\n \"enableAnalyticalStorage\": false,\r\n \"analyticalStorageConfiguration\": {},\r\n \"instanceId\": \"1450ead6-0a1b-4de3-8d25-e551543ef6bd\",\r\n \"createMode\": \"Restore\",\r\n \"databaseAccountOfferType\": \"Standard\",\r\n \"defaultIdentity\": \"\",\r\n \"networkAclBypass\": \"None\",\r\n \"disableLocalAuth\": false,\r\n \"consistencyPolicy\": {\r\n \"defaultConsistencyLevel\": \"Session\",\r\n \"maxIntervalInSeconds\": 5,\r\n \"maxStalenessPrefix\": 100\r\n },\r\n \"configurationOverrides\": {},\r\n \"writeLocations\": [\r\n {\r\n \"id\": \"kal-powershell-release-test-westus\",\r\n \"locationName\": \"West US\",\r\n \"documentEndpoint\": \"https://kal-powershell-release-test-westus.documents.azure.com:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"readLocations\": [\r\n {\r\n \"id\": \"kal-powershell-release-test-westus\",\r\n \"locationName\": \"West US\",\r\n \"documentEndpoint\": \"https://kal-powershell-release-test-westus.documents.azure.com:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"locations\": [\r\n {\r\n \"id\": \"kal-powershell-release-test-westus\",\r\n \"locationName\": \"West US\",\r\n \"documentEndpoint\": \"https://kal-powershell-release-test-westus.documents.azure.com:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"failoverPolicies\": [\r\n {\r\n \"id\": \"kal-powershell-release-test-westus\",\r\n \"locationName\": \"West US\",\r\n \"failoverPriority\": 0\r\n }\r\n ],\r\n \"cors\": [],\r\n \"capabilities\": [],\r\n \"ipRules\": [],\r\n \"backupPolicy\": {\r\n \"type\": \"Continuous\"\r\n },\r\n \"restoreParameters\": {\r\n \"restoreMode\": \"PointInTime\",\r\n \"restoreSource\": \"/subscriptions/259fbb24-9bcd-4cfc-865c-fc33b22fe38a/providers/Microsoft.DocumentDB/locations/westus/restorableDatabaseAccounts/dde7f2d9-1ebc-4843-bb47-6b80d5429160\",\r\n \"restoreTimestampInUtc\": \"2021-02-10T01:00:00Z\",\r\n \"databasesToRestore\": []\r\n },\r\n \"networkAclBypassResourceIds\": []\r\n },\r\n \"identity\": {\r\n \"type\": \"None\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/259fbb24-9bcd-4cfc-865c-fc33b22fe38a/resourceGroups/kakhandr-rd/providers/Microsoft.DocumentDB/databaseAccounts/sivarv-test\",\r\n \"name\": \"sivarv-test\",\r\n \"location\": \"West US\",\r\n \"type\": \"Microsoft.DocumentDB/databaseAccounts\",\r\n \"kind\": \"GlobalDocumentDB\",\r\n \"tags\": {\r\n \"defaultExperience\": \"Core (SQL)\",\r\n \"hidden-cosmos-mmspecial\": \"\",\r\n \"CosmosAccountType\": \"Non-Production\"\r\n },\r\n \"systemData\": {\r\n \"createdAt\": \"2021-01-05T23:13:22.5920959Z\"\r\n },\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"documentEndpoint\": \"https://sivarv-test.documents.azure.com:443/\",\r\n \"publicNetworkAccess\": \"Enabled\",\r\n \"enableAutomaticFailover\": false,\r\n \"enableMultipleWriteLocations\": false,\r\n \"enablePartitionKeyMonitor\": false,\r\n \"isVirtualNetworkFilterEnabled\": false,\r\n \"virtualNetworkRules\": [],\r\n \"EnabledApiTypes\": \"Sql\",\r\n \"disableKeyBasedMetadataWriteAccess\": false,\r\n \"enableFreeTier\": false,\r\n \"enableAnalyticalStorage\": false,\r\n \"analyticalStorageConfiguration\": {},\r\n \"instanceId\": \"1e9c8685-1f15-4b3b-ab1c-0ad505f0cd24\",\r\n \"createMode\": \"Restore\",\r\n \"databaseAccountOfferType\": \"Standard\",\r\n \"defaultIdentity\": \"\",\r\n \"networkAclBypass\": \"None\",\r\n \"disableLocalAuth\": false,\r\n \"consistencyPolicy\": {\r\n \"defaultConsistencyLevel\": \"Session\",\r\n \"maxIntervalInSeconds\": 5,\r\n \"maxStalenessPrefix\": 100\r\n },\r\n \"configurationOverrides\": {},\r\n \"writeLocations\": [\r\n {\r\n \"id\": \"sivarv-test-westus\",\r\n \"locationName\": \"West US\",\r\n \"documentEndpoint\": \"https://sivarv-test-westus.documents.azure.com:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"readLocations\": [\r\n {\r\n \"id\": \"sivarv-test-westus\",\r\n \"locationName\": \"West US\",\r\n \"documentEndpoint\": \"https://sivarv-test-westus.documents.azure.com:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"locations\": [\r\n {\r\n \"id\": \"sivarv-test-westus\",\r\n \"locationName\": \"West US\",\r\n \"documentEndpoint\": \"https://sivarv-test-westus.documents.azure.com:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"failoverPolicies\": [\r\n {\r\n \"id\": \"sivarv-test-westus\",\r\n \"locationName\": \"West US\",\r\n \"failoverPriority\": 0\r\n }\r\n ],\r\n \"cors\": [],\r\n \"capabilities\": [],\r\n \"ipRules\": [],\r\n \"backupPolicy\": {\r\n \"type\": \"Continuous\"\r\n },\r\n \"restoreParameters\": {\r\n \"restoreMode\": \"PointInTime\",\r\n \"restoreSource\": \"/subscriptions/259fbb24-9bcd-4cfc-865c-fc33b22fe38a/providers/Microsoft.DocumentDB/locations/westus/restorableDatabaseAccounts/e27e7197-8a10-4082-808f-bdd67fc65d93\",\r\n \"restoreTimestampInUtc\": \"2021-01-05T21:45:00Z\",\r\n \"databasesToRestore\": []\r\n },\r\n \"networkAclBypassResourceIds\": []\r\n },\r\n \"identity\": {\r\n \"type\": \"None\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/259fbb24-9bcd-4cfc-865c-fc33b22fe38a/resourceGroups/pitrdemocus/providers/Microsoft.DocumentDB/databaseAccounts/pitrdemorestored1015\",\r\n \"name\": \"pitrdemorestored1015\",\r\n \"location\": \"West US\",\r\n \"type\": \"Microsoft.DocumentDB/databaseAccounts\",\r\n \"kind\": \"GlobalDocumentDB\",\r\n \"tags\": {\r\n \"defaultExperience\": \"Core (SQL)\",\r\n \"hidden-cosmos-mmspecial\": \"\",\r\n \"CosmosAccountType\": \"Non-Production\"\r\n },\r\n \"systemData\": {\r\n \"createdAt\": \"2020-10-15T17:37:19.7445957Z\"\r\n },\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"documentEndpoint\": \"https://pitrdemorestored1015.documents.azure.com:443/\",\r\n \"publicNetworkAccess\": \"Enabled\",\r\n \"enableAutomaticFailover\": false,\r\n \"enableMultipleWriteLocations\": false,\r\n \"enablePartitionKeyMonitor\": false,\r\n \"isVirtualNetworkFilterEnabled\": false,\r\n \"virtualNetworkRules\": [],\r\n \"EnabledApiTypes\": \"Sql\",\r\n \"disableKeyBasedMetadataWriteAccess\": false,\r\n \"enableFreeTier\": false,\r\n \"enableAnalyticalStorage\": false,\r\n \"analyticalStorageConfiguration\": {},\r\n \"instanceId\": \"3f392004-9f83-4ae9-ac1c-fa5f6542f245\",\r\n \"createMode\": \"Restore\",\r\n \"databaseAccountOfferType\": \"Standard\",\r\n \"defaultIdentity\": \"\",\r\n \"networkAclBypass\": \"None\",\r\n \"disableLocalAuth\": false,\r\n \"consistencyPolicy\": {\r\n \"defaultConsistencyLevel\": \"Session\",\r\n \"maxIntervalInSeconds\": 5,\r\n \"maxStalenessPrefix\": 100\r\n },\r\n \"configurationOverrides\": {},\r\n \"writeLocations\": [\r\n {\r\n \"id\": \"pitrdemorestored1015-westus\",\r\n \"locationName\": \"West US\",\r\n \"documentEndpoint\": \"https://pitrdemorestored1015-westus.documents.azure.com:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"readLocations\": [\r\n {\r\n \"id\": \"pitrdemorestored1015-westus\",\r\n \"locationName\": \"West US\",\r\n \"documentEndpoint\": \"https://pitrdemorestored1015-westus.documents.azure.com:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"locations\": [\r\n {\r\n \"id\": \"pitrdemorestored1015-westus\",\r\n \"locationName\": \"West US\",\r\n \"documentEndpoint\": \"https://pitrdemorestored1015-westus.documents.azure.com:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"failoverPolicies\": [\r\n {\r\n \"id\": \"pitrdemorestored1015-westus\",\r\n \"locationName\": \"West US\",\r\n \"failoverPriority\": 0\r\n }\r\n ],\r\n \"cors\": [],\r\n \"capabilities\": [],\r\n \"ipRules\": [],\r\n \"backupPolicy\": {\r\n \"type\": \"Continuous\"\r\n },\r\n \"restoreParameters\": {\r\n \"restoreMode\": \"PointInTime\",\r\n \"restoreSource\": \"/subscriptions/259fbb24-9bcd-4cfc-865c-fc33b22fe38a/providers/Microsoft.DocumentDB/locations/westus/restorableDatabaseAccounts/3325eb2c-3a59-4ebb-882f-27fe519f2253\",\r\n \"restoreTimestampInUtc\": \"2020-10-15T17:00:00Z\",\r\n \"databasesToRestore\": [\r\n {\r\n \"databaseName\": \"VinhDB1\",\r\n \"collectionNames\": [\r\n \"VinhContainer2\"\r\n ]\r\n }\r\n ]\r\n },\r\n \"networkAclBypassResourceIds\": []\r\n },\r\n \"identity\": {\r\n \"type\": \"None\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/259fbb24-9bcd-4cfc-865c-fc33b22fe38a/resourceGroups/testResourceGroup/providers/Microsoft.DocumentDB/databaseAccounts/test0319-r3\",\r\n \"name\": \"test0319-r3\",\r\n \"location\": \"West US\",\r\n \"type\": \"Microsoft.DocumentDB/databaseAccounts\",\r\n \"kind\": \"GlobalDocumentDB\",\r\n \"tags\": {\r\n \"defaultExperience\": \"Core (SQL)\",\r\n \"hidden-cosmos-mmspecial\": \"\",\r\n \"CosmosAccountType\": \"Non-Production\",\r\n \"restoredSourceDatabaseAccountName\": \"test0319\",\r\n \"restoredAtTimestamp\": \"1/6/2021 6:45:10 PM\"\r\n },\r\n \"systemData\": {\r\n \"createdAt\": \"2021-01-06T18:52:38.3866184Z\"\r\n },\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"documentEndpoint\": \"https://test0319-r3.documents.azure.com:443/\",\r\n \"publicNetworkAccess\": \"Enabled\",\r\n \"enableAutomaticFailover\": false,\r\n \"enableMultipleWriteLocations\": false,\r\n \"enablePartitionKeyMonitor\": false,\r\n \"isVirtualNetworkFilterEnabled\": false,\r\n \"virtualNetworkRules\": [],\r\n \"EnabledApiTypes\": \"Sql\",\r\n \"disableKeyBasedMetadataWriteAccess\": false,\r\n \"enableFreeTier\": true,\r\n \"enableAnalyticalStorage\": false,\r\n \"analyticalStorageConfiguration\": {},\r\n \"instanceId\": \"b86014d9-a1da-4bb7-8863-2d4dd66454b5\",\r\n \"createMode\": \"Restore\",\r\n \"databaseAccountOfferType\": \"Standard\",\r\n \"defaultIdentity\": \"\",\r\n \"networkAclBypass\": \"None\",\r\n \"disableLocalAuth\": false,\r\n \"consistencyPolicy\": {\r\n \"defaultConsistencyLevel\": \"Session\",\r\n \"maxIntervalInSeconds\": 5,\r\n \"maxStalenessPrefix\": 100\r\n },\r\n \"configurationOverrides\": {},\r\n \"writeLocations\": [\r\n {\r\n \"id\": \"test0319-r3-westus\",\r\n \"locationName\": \"West US\",\r\n \"documentEndpoint\": \"https://test0319-r3-westus.documents.azure.com:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"readLocations\": [\r\n {\r\n \"id\": \"test0319-r3-westus\",\r\n \"locationName\": \"West US\",\r\n \"documentEndpoint\": \"https://test0319-r3-westus.documents.azure.com:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"locations\": [\r\n {\r\n \"id\": \"test0319-r3-westus\",\r\n \"locationName\": \"West US\",\r\n \"documentEndpoint\": \"https://test0319-r3-westus.documents.azure.com:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"failoverPolicies\": [\r\n {\r\n \"id\": \"test0319-r3-westus\",\r\n \"locationName\": \"West US\",\r\n \"failoverPriority\": 0\r\n }\r\n ],\r\n \"cors\": [],\r\n \"capabilities\": [],\r\n \"ipRules\": [],\r\n \"backupPolicy\": {\r\n \"type\": \"Periodic\",\r\n \"periodicModeProperties\": {\r\n \"backupIntervalInMinutes\": 240,\r\n \"backupRetentionIntervalInHours\": 8,\r\n \"backupStorageRedundancy\": \"Geo\"\r\n }\r\n },\r\n \"restoreParameters\": {\r\n \"restoreMode\": \"PointInTime\",\r\n \"restoreSource\": \"/subscriptions/259fbb24-9bcd-4cfc-865c-fc33b22fe38a/providers/Microsoft.DocumentDB/locations//restorableDatabaseAccounts/10917701-a6f8-4f77-a6c8-4f4ab1879abb\",\r\n \"restoreTimestampInUtc\": \"2021-01-06T18:05:59Z\"\r\n },\r\n \"networkAclBypassResourceIds\": []\r\n },\r\n \"identity\": {\r\n \"type\": \"None\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/259fbb24-9bcd-4cfc-865c-fc33b22fe38a/resourceGroups/kakhandr-rd/providers/Microsoft.DocumentDB/databaseAccounts/kal-ps-release-mongo\",\r\n \"name\": \"kal-ps-release-mongo\",\r\n \"location\": \"West US\",\r\n \"type\": \"Microsoft.DocumentDB/databaseAccounts\",\r\n \"kind\": \"MongoDB\",\r\n \"tags\": {},\r\n \"systemData\": {\r\n \"createdAt\": \"2021-01-29T07:53:36.7462661Z\"\r\n },\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"documentEndpoint\": \"https://kal-ps-release-mongo.documents.azure.com:443/\",\r\n \"mongoEndpoint\": \"https://kal-ps-release-mongo.mongo.cosmos.azure.com:443/\",\r\n \"publicNetworkAccess\": \"Enabled\",\r\n \"enableAutomaticFailover\": false,\r\n \"enableMultipleWriteLocations\": false,\r\n \"enablePartitionKeyMonitor\": false,\r\n \"isVirtualNetworkFilterEnabled\": false,\r\n \"virtualNetworkRules\": [],\r\n \"EnabledApiTypes\": \"MongoDB\",\r\n \"disableKeyBasedMetadataWriteAccess\": false,\r\n \"enableFreeTier\": false,\r\n \"enableAnalyticalStorage\": false,\r\n \"analyticalStorageConfiguration\": {},\r\n \"instanceId\": \"0a0e4393-fd1c-4294-b04f-871b1fd3d6cc\",\r\n \"createMode\": \"Default\",\r\n \"databaseAccountOfferType\": \"Standard\",\r\n \"defaultIdentity\": \"\",\r\n \"networkAclBypass\": \"None\",\r\n \"disableLocalAuth\": false,\r\n \"consistencyPolicy\": {\r\n \"defaultConsistencyLevel\": \"Session\",\r\n \"maxIntervalInSeconds\": 5,\r\n \"maxStalenessPrefix\": 100\r\n },\r\n \"apiProperties\": {\r\n \"serverVersion\": \"3.6\"\r\n },\r\n \"configurationOverrides\": {\r\n \"EnableBsonSchema\": \"True\"\r\n },\r\n \"writeLocations\": [\r\n {\r\n \"id\": \"kal-ps-release-mongo-westus\",\r\n \"locationName\": \"West US\",\r\n \"documentEndpoint\": \"https://kal-ps-release-mongo-westus.documents.azure.com:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"readLocations\": [\r\n {\r\n \"id\": \"kal-ps-release-mongo-westus\",\r\n \"locationName\": \"West US\",\r\n \"documentEndpoint\": \"https://kal-ps-release-mongo-westus.documents.azure.com:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"locations\": [\r\n {\r\n \"id\": \"kal-ps-release-mongo-westus\",\r\n \"locationName\": \"West US\",\r\n \"documentEndpoint\": \"https://kal-ps-release-mongo-westus.documents.azure.com:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"failoverPolicies\": [\r\n {\r\n \"id\": \"kal-ps-release-mongo-westus\",\r\n \"locationName\": \"West US\",\r\n \"failoverPriority\": 0\r\n }\r\n ],\r\n \"cors\": [],\r\n \"capabilities\": [\r\n {\r\n \"name\": \"EnableMongo\"\r\n }\r\n ],\r\n \"ipRules\": [],\r\n \"backupPolicy\": {\r\n \"type\": \"Continuous\"\r\n },\r\n \"networkAclBypassResourceIds\": []\r\n },\r\n \"identity\": {\r\n \"type\": \"None\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/259fbb24-9bcd-4cfc-865c-fc33b22fe38a/resourceGroups/testResourceGroup/providers/Microsoft.DocumentDB/databaseAccounts/subbannageeta\",\r\n \"name\": \"subbannageeta\",\r\n \"location\": \"West US\",\r\n \"type\": \"Microsoft.DocumentDB/databaseAccounts\",\r\n \"kind\": \"GlobalDocumentDB\",\r\n \"tags\": {\r\n \"defaultExperience\": \"Core (SQL)\",\r\n \"hidden-cosmos-mmspecial\": \"\",\r\n \"CosmosAccountType\": \"Non-Production\"\r\n },\r\n \"systemData\": {\r\n \"createdAt\": \"2020-08-08T01:04:52.0701907Z\"\r\n },\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"documentEndpoint\": \"https://subbannageeta.documents.azure.com:443/\",\r\n \"publicNetworkAccess\": \"Enabled\",\r\n \"enableAutomaticFailover\": false,\r\n \"enableMultipleWriteLocations\": false,\r\n \"enablePartitionKeyMonitor\": false,\r\n \"isVirtualNetworkFilterEnabled\": false,\r\n \"virtualNetworkRules\": [],\r\n \"EnabledApiTypes\": \"Sql\",\r\n \"disableKeyBasedMetadataWriteAccess\": false,\r\n \"enableFreeTier\": false,\r\n \"enableAnalyticalStorage\": false,\r\n \"analyticalStorageConfiguration\": {},\r\n \"instanceId\": \"23e99a35-cd36-4df4-9614-f767a03b9995\",\r\n \"createMode\": \"Default\",\r\n \"databaseAccountOfferType\": \"Standard\",\r\n \"defaultIdentity\": \"\",\r\n \"networkAclBypass\": \"None\",\r\n \"disableLocalAuth\": false,\r\n \"consistencyPolicy\": {\r\n \"defaultConsistencyLevel\": \"Session\",\r\n \"maxIntervalInSeconds\": 5,\r\n \"maxStalenessPrefix\": 100\r\n },\r\n \"configurationOverrides\": {},\r\n \"writeLocations\": [\r\n {\r\n \"id\": \"subbannageeta-westus\",\r\n \"locationName\": \"West US\",\r\n \"documentEndpoint\": \"https://subbannageeta-westus.documents.azure.com:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"readLocations\": [\r\n {\r\n \"id\": \"subbannageeta-westus\",\r\n \"locationName\": \"West US\",\r\n \"documentEndpoint\": \"https://subbannageeta-westus.documents.azure.com:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n },\r\n {\r\n \"id\": \"subbannageeta-eastus\",\r\n \"locationName\": \"East US\",\r\n \"documentEndpoint\": \"https://subbannageeta-eastus.documents.azure.com:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 1,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"locations\": [\r\n {\r\n \"id\": \"subbannageeta-westus\",\r\n \"locationName\": \"West US\",\r\n \"documentEndpoint\": \"https://subbannageeta-westus.documents.azure.com:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n },\r\n {\r\n \"id\": \"subbannageeta-eastus\",\r\n \"locationName\": \"East US\",\r\n \"documentEndpoint\": \"https://subbannageeta-eastus.documents.azure.com:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 1,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"failoverPolicies\": [\r\n {\r\n \"id\": \"subbannageeta-westus\",\r\n \"locationName\": \"West US\",\r\n \"failoverPriority\": 0\r\n },\r\n {\r\n \"id\": \"subbannageeta-eastus\",\r\n \"locationName\": \"East US\",\r\n \"failoverPriority\": 1\r\n }\r\n ],\r\n \"cors\": [],\r\n \"capabilities\": [],\r\n \"ipRules\": [],\r\n \"backupPolicy\": {\r\n \"type\": \"Continuous\"\r\n },\r\n \"networkAclBypassResourceIds\": []\r\n },\r\n \"identity\": {\r\n \"type\": \"None\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/259fbb24-9bcd-4cfc-865c-fc33b22fe38a/resourceGroups/testResourceGroup/providers/Microsoft.DocumentDB/databaseAccounts/test0319-r4\",\r\n \"name\": \"test0319-r4\",\r\n \"location\": \"West US\",\r\n \"type\": \"Microsoft.DocumentDB/databaseAccounts\",\r\n \"kind\": \"GlobalDocumentDB\",\r\n \"tags\": {\r\n \"defaultExperience\": \"Core (SQL)\",\r\n \"hidden-cosmos-mmspecial\": \"\",\r\n \"CosmosAccountType\": \"Non-Production\",\r\n \"restoredSourceDatabaseAccountName\": \"test0319\",\r\n \"restoredAtTimestamp\": \"1/6/2021 6:48:40 PM\"\r\n },\r\n \"systemData\": {\r\n \"createdAt\": \"2021-01-06T18:56:04.1483926Z\"\r\n },\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"documentEndpoint\": \"https://test0319-r4.documents.azure.com:443/\",\r\n \"publicNetworkAccess\": \"Enabled\",\r\n \"enableAutomaticFailover\": false,\r\n \"enableMultipleWriteLocations\": false,\r\n \"enablePartitionKeyMonitor\": false,\r\n \"isVirtualNetworkFilterEnabled\": false,\r\n \"virtualNetworkRules\": [],\r\n \"EnabledApiTypes\": \"Sql\",\r\n \"disableKeyBasedMetadataWriteAccess\": false,\r\n \"enableFreeTier\": true,\r\n \"enableAnalyticalStorage\": false,\r\n \"analyticalStorageConfiguration\": {},\r\n \"instanceId\": \"fb7d69ad-3a14-4af1-9f17-b31bb8abb3a5\",\r\n \"createMode\": \"Restore\",\r\n \"databaseAccountOfferType\": \"Standard\",\r\n \"defaultIdentity\": \"\",\r\n \"networkAclBypass\": \"None\",\r\n \"disableLocalAuth\": false,\r\n \"consistencyPolicy\": {\r\n \"defaultConsistencyLevel\": \"Session\",\r\n \"maxIntervalInSeconds\": 5,\r\n \"maxStalenessPrefix\": 100\r\n },\r\n \"configurationOverrides\": {},\r\n \"writeLocations\": [\r\n {\r\n \"id\": \"test0319-r4-westus\",\r\n \"locationName\": \"West US\",\r\n \"documentEndpoint\": \"https://test0319-r4-westus.documents.azure.com:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"readLocations\": [\r\n {\r\n \"id\": \"test0319-r4-westus\",\r\n \"locationName\": \"West US\",\r\n \"documentEndpoint\": \"https://test0319-r4-westus.documents.azure.com:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"locations\": [\r\n {\r\n \"id\": \"test0319-r4-westus\",\r\n \"locationName\": \"West US\",\r\n \"documentEndpoint\": \"https://test0319-r4-westus.documents.azure.com:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"failoverPolicies\": [\r\n {\r\n \"id\": \"test0319-r4-westus\",\r\n \"locationName\": \"West US\",\r\n \"failoverPriority\": 0\r\n }\r\n ],\r\n \"cors\": [],\r\n \"capabilities\": [],\r\n \"ipRules\": [],\r\n \"backupPolicy\": {\r\n \"type\": \"Periodic\",\r\n \"periodicModeProperties\": {\r\n \"backupIntervalInMinutes\": 240,\r\n \"backupRetentionIntervalInHours\": 8,\r\n \"backupStorageRedundancy\": \"Local\"\r\n }\r\n },\r\n \"restoreParameters\": {\r\n \"restoreMode\": \"PointInTime\",\r\n \"restoreSource\": \"/subscriptions/259fbb24-9bcd-4cfc-865c-fc33b22fe38a/providers/Microsoft.DocumentDB/locations//restorableDatabaseAccounts/\",\r\n \"restoreTimestampInUtc\": \"2021-01-06T18:05:59Z\"\r\n },\r\n \"networkAclBypassResourceIds\": []\r\n },\r\n \"identity\": {\r\n \"type\": \"None\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/259fbb24-9bcd-4cfc-865c-fc33b22fe38a/resourceGroups/kakhandr-rd/providers/Microsoft.DocumentDB/databaseAccounts/kal-ps-release-mongo-restore\",\r\n \"name\": \"kal-ps-release-mongo-restore\",\r\n \"location\": \"West US\",\r\n \"type\": \"Microsoft.DocumentDB/databaseAccounts\",\r\n \"kind\": \"MongoDB\",\r\n \"tags\": {},\r\n \"systemData\": {\r\n \"createdAt\": \"2021-01-29T08:22:38.9423202Z\"\r\n },\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"documentEndpoint\": \"https://kal-ps-release-mongo-restore.documents.azure.com:443/\",\r\n \"mongoEndpoint\": \"https://kal-ps-release-mongo-restore.mongo.cosmos.azure.com:443/\",\r\n \"publicNetworkAccess\": \"Enabled\",\r\n \"enableAutomaticFailover\": false,\r\n \"enableMultipleWriteLocations\": false,\r\n \"enablePartitionKeyMonitor\": false,\r\n \"isVirtualNetworkFilterEnabled\": false,\r\n \"virtualNetworkRules\": [],\r\n \"EnabledApiTypes\": \"MongoDB\",\r\n \"disableKeyBasedMetadataWriteAccess\": false,\r\n \"enableFreeTier\": false,\r\n \"enableAnalyticalStorage\": false,\r\n \"analyticalStorageConfiguration\": {},\r\n \"instanceId\": \"1429ae40-9437-4da2-a170-06319cff03f1\",\r\n \"createMode\": \"Restore\",\r\n \"databaseAccountOfferType\": \"Standard\",\r\n \"defaultIdentity\": \"\",\r\n \"networkAclBypass\": \"None\",\r\n \"disableLocalAuth\": false,\r\n \"consistencyPolicy\": {\r\n \"defaultConsistencyLevel\": \"Session\",\r\n \"maxIntervalInSeconds\": 5,\r\n \"maxStalenessPrefix\": 100\r\n },\r\n \"apiProperties\": {\r\n \"serverVersion\": \"3.6\"\r\n },\r\n \"configurationOverrides\": {\r\n \"EnableBsonSchema\": \"True\"\r\n },\r\n \"writeLocations\": [\r\n {\r\n \"id\": \"kal-ps-release-mongo-restore-westus\",\r\n \"locationName\": \"West US\",\r\n \"documentEndpoint\": \"https://kal-ps-release-mongo-restore-westus.documents.azure.com:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"readLocations\": [\r\n {\r\n \"id\": \"kal-ps-release-mongo-restore-westus\",\r\n \"locationName\": \"West US\",\r\n \"documentEndpoint\": \"https://kal-ps-release-mongo-restore-westus.documents.azure.com:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"locations\": [\r\n {\r\n \"id\": \"kal-ps-release-mongo-restore-westus\",\r\n \"locationName\": \"West US\",\r\n \"documentEndpoint\": \"https://kal-ps-release-mongo-restore-westus.documents.azure.com:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"failoverPolicies\": [\r\n {\r\n \"id\": \"kal-ps-release-mongo-restore-westus\",\r\n \"locationName\": \"West US\",\r\n \"failoverPriority\": 0\r\n }\r\n ],\r\n \"cors\": [],\r\n \"capabilities\": [\r\n {\r\n \"name\": \"EnableMongo\"\r\n }\r\n ],\r\n \"ipRules\": [],\r\n \"backupPolicy\": {\r\n \"type\": \"Continuous\"\r\n },\r\n \"restoreParameters\": {\r\n \"restoreMode\": \"PointInTime\",\r\n \"restoreSource\": \"/subscriptions/259fbb24-9bcd-4cfc-865c-fc33b22fe38a/providers/Microsoft.DocumentDB/locations/westus/restorableDatabaseAccounts/0a0e4393-fd1c-4294-b04f-871b1fd3d6cc\",\r\n \"restoreTimestampInUtc\": \"2021-01-29T08:04:29Z\",\r\n \"databasesToRestore\": []\r\n },\r\n \"networkAclBypassResourceIds\": []\r\n },\r\n \"identity\": {\r\n \"type\": \"None\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/259fbb24-9bcd-4cfc-865c-fc33b22fe38a/resourceGroups/bugbashrg/providers/Microsoft.DocumentDB/databaseAccounts/target-mongo36-beforecolla\",\r\n \"name\": \"target-mongo36-beforecolla\",\r\n \"location\": \"West US\",\r\n \"type\": \"Microsoft.DocumentDB/databaseAccounts\",\r\n \"kind\": \"MongoDB\",\r\n \"tags\": {\r\n \"defaultExperience\": \"Azure Cosmos DB for MongoDB API\",\r\n \"hidden-cosmos-mmspecial\": \"\",\r\n \"CosmosAccountType\": \"Production\"\r\n },\r\n \"systemData\": {\r\n \"createdAt\": \"2021-01-06T00:06:54.9020003Z\"\r\n },\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"documentEndpoint\": \"https://target-mongo36-beforecolla.documents.azure.com:443/\",\r\n \"mongoEndpoint\": \"https://target-mongo36-beforecolla.mongo.cosmos.azure.com:443/\",\r\n \"publicNetworkAccess\": \"Enabled\",\r\n \"enableAutomaticFailover\": false,\r\n \"enableMultipleWriteLocations\": false,\r\n \"enablePartitionKeyMonitor\": false,\r\n \"isVirtualNetworkFilterEnabled\": false,\r\n \"virtualNetworkRules\": [],\r\n \"EnabledApiTypes\": \"MongoDB\",\r\n \"disableKeyBasedMetadataWriteAccess\": false,\r\n \"enableFreeTier\": false,\r\n \"enableAnalyticalStorage\": false,\r\n \"analyticalStorageConfiguration\": {},\r\n \"instanceId\": \"a97044b4-5be9-4f17-acc5-05bd58f0156e\",\r\n \"createMode\": \"Restore\",\r\n \"databaseAccountOfferType\": \"Standard\",\r\n \"defaultIdentity\": \"\",\r\n \"networkAclBypass\": \"None\",\r\n \"disableLocalAuth\": false,\r\n \"consistencyPolicy\": {\r\n \"defaultConsistencyLevel\": \"Session\",\r\n \"maxIntervalInSeconds\": 5,\r\n \"maxStalenessPrefix\": 100\r\n },\r\n \"apiProperties\": {\r\n \"serverVersion\": \"3.6\"\r\n },\r\n \"configurationOverrides\": {\r\n \"EnableBsonSchema\": \"True\"\r\n },\r\n \"writeLocations\": [\r\n {\r\n \"id\": \"target-mongo36-beforecolla-westus\",\r\n \"locationName\": \"West US\",\r\n \"documentEndpoint\": \"https://target-mongo36-beforecolla-westus.documents.azure.com:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"readLocations\": [\r\n {\r\n \"id\": \"target-mongo36-beforecolla-westus\",\r\n \"locationName\": \"West US\",\r\n \"documentEndpoint\": \"https://target-mongo36-beforecolla-westus.documents.azure.com:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"locations\": [\r\n {\r\n \"id\": \"target-mongo36-beforecolla-westus\",\r\n \"locationName\": \"West US\",\r\n \"documentEndpoint\": \"https://target-mongo36-beforecolla-westus.documents.azure.com:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"failoverPolicies\": [\r\n {\r\n \"id\": \"target-mongo36-beforecolla-westus\",\r\n \"locationName\": \"West US\",\r\n \"failoverPriority\": 0\r\n }\r\n ],\r\n \"cors\": [],\r\n \"capabilities\": [\r\n {\r\n \"name\": \"EnableMongo\"\r\n },\r\n {\r\n \"name\": \"DisableRateLimitingResponses\"\r\n }\r\n ],\r\n \"ipRules\": [],\r\n \"backupPolicy\": {\r\n \"type\": \"Continuous\"\r\n },\r\n \"restoreParameters\": {\r\n \"restoreMode\": \"PointInTime\",\r\n \"restoreSource\": \"/subscriptions/259fbb24-9bcd-4cfc-865c-fc33b22fe38a/providers/Microsoft.DocumentDB/locations/westus/restorableDatabaseAccounts/cc78ddc0-94a1-499d-8820-3b97ead9329d\",\r\n \"restoreTimestampInUtc\": \"2021-01-05T22:58:35Z\",\r\n \"databasesToRestore\": [\r\n {\r\n \"databaseName\": \"mongodb1\",\r\n \"collectionNames\": [\r\n \"mongoCollectionA\"\r\n ]\r\n }\r\n ]\r\n },\r\n \"networkAclBypassResourceIds\": []\r\n },\r\n \"identity\": {\r\n \"type\": \"None\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/259fbb24-9bcd-4cfc-865c-fc33b22fe38a/resourceGroups/testResourceGroup/providers/Microsoft.DocumentDB/databaseAccounts/testsoutheastasiaaccount\",\r\n \"name\": \"testsoutheastasiaaccount\",\r\n \"location\": \"West US\",\r\n \"type\": \"Microsoft.DocumentDB/databaseAccounts\",\r\n \"kind\": \"GlobalDocumentDB\",\r\n \"tags\": {\r\n \"defaultExperience\": \"Core (SQL)\",\r\n \"hidden-cosmos-mmspecial\": \"\",\r\n \"CosmosAccountType\": \"Non-Production\"\r\n },\r\n \"systemData\": {\r\n \"createdAt\": \"2020-08-24T22:14:48.8629298Z\"\r\n },\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"documentEndpoint\": \"https://testsoutheastasiaaccount.documents.azure.com:443/\",\r\n \"publicNetworkAccess\": \"Enabled\",\r\n \"enableAutomaticFailover\": false,\r\n \"enableMultipleWriteLocations\": false,\r\n \"enablePartitionKeyMonitor\": false,\r\n \"isVirtualNetworkFilterEnabled\": false,\r\n \"virtualNetworkRules\": [],\r\n \"EnabledApiTypes\": \"Sql\",\r\n \"disableKeyBasedMetadataWriteAccess\": false,\r\n \"enableFreeTier\": false,\r\n \"enableAnalyticalStorage\": false,\r\n \"analyticalStorageConfiguration\": {},\r\n \"instanceId\": \"d532671b-7e07-4b3e-9a62-5e3e3ed01681\",\r\n \"createMode\": \"Default\",\r\n \"databaseAccountOfferType\": \"Standard\",\r\n \"defaultIdentity\": \"\",\r\n \"networkAclBypass\": \"None\",\r\n \"disableLocalAuth\": false,\r\n \"consistencyPolicy\": {\r\n \"defaultConsistencyLevel\": \"Session\",\r\n \"maxIntervalInSeconds\": 5,\r\n \"maxStalenessPrefix\": 100\r\n },\r\n \"configurationOverrides\": {},\r\n \"writeLocations\": [\r\n {\r\n \"id\": \"testsoutheastasiaaccount-westus\",\r\n \"locationName\": \"West US\",\r\n \"documentEndpoint\": \"https://testsoutheastasiaaccount-westus.documents.azure.com:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"readLocations\": [\r\n {\r\n \"id\": \"testsoutheastasiaaccount-westus\",\r\n \"locationName\": \"West US\",\r\n \"documentEndpoint\": \"https://testsoutheastasiaaccount-westus.documents.azure.com:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"locations\": [\r\n {\r\n \"id\": \"testsoutheastasiaaccount-westus\",\r\n \"locationName\": \"West US\",\r\n \"documentEndpoint\": \"https://testsoutheastasiaaccount-westus.documents.azure.com:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"failoverPolicies\": [\r\n {\r\n \"id\": \"testsoutheastasiaaccount-westus\",\r\n \"locationName\": \"West US\",\r\n \"failoverPriority\": 0\r\n }\r\n ],\r\n \"cors\": [],\r\n \"capabilities\": [],\r\n \"ipRules\": [],\r\n \"backupPolicy\": {\r\n \"type\": \"Periodic\",\r\n \"periodicModeProperties\": {\r\n \"backupIntervalInMinutes\": 240,\r\n \"backupRetentionIntervalInHours\": 8,\r\n \"backupStorageRedundancy\": \"Geo\"\r\n }\r\n },\r\n \"networkAclBypassResourceIds\": []\r\n },\r\n \"identity\": {\r\n \"type\": \"None\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/259fbb24-9bcd-4cfc-865c-fc33b22fe38a/resourceGroups/kakhandr-rd/providers/Microsoft.DocumentDB/databaseAccounts/kal-ps-sql-release-restore\",\r\n \"name\": \"kal-ps-sql-release-restore\",\r\n \"location\": \"West US\",\r\n \"type\": \"Microsoft.DocumentDB/databaseAccounts\",\r\n \"kind\": \"GlobalDocumentDB\",\r\n \"tags\": {},\r\n \"systemData\": {\r\n \"createdAt\": \"2021-01-29T08:10:41.9241121Z\"\r\n },\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"documentEndpoint\": \"https://kal-ps-sql-release-restore.documents.azure.com:443/\",\r\n \"publicNetworkAccess\": \"Enabled\",\r\n \"enableAutomaticFailover\": false,\r\n \"enableMultipleWriteLocations\": false,\r\n \"enablePartitionKeyMonitor\": false,\r\n \"isVirtualNetworkFilterEnabled\": false,\r\n \"virtualNetworkRules\": [],\r\n \"EnabledApiTypes\": \"Sql\",\r\n \"disableKeyBasedMetadataWriteAccess\": false,\r\n \"enableFreeTier\": false,\r\n \"enableAnalyticalStorage\": false,\r\n \"analyticalStorageConfiguration\": {},\r\n \"instanceId\": \"5002d808-7276-4de1-8a7e-82a8561f4ae1\",\r\n \"createMode\": \"Restore\",\r\n \"databaseAccountOfferType\": \"Standard\",\r\n \"defaultIdentity\": \"\",\r\n \"networkAclBypass\": \"None\",\r\n \"disableLocalAuth\": false,\r\n \"consistencyPolicy\": {\r\n \"defaultConsistencyLevel\": \"Session\",\r\n \"maxIntervalInSeconds\": 5,\r\n \"maxStalenessPrefix\": 100\r\n },\r\n \"configurationOverrides\": {},\r\n \"writeLocations\": [\r\n {\r\n \"id\": \"kal-ps-sql-release-restore-westus\",\r\n \"locationName\": \"West US\",\r\n \"documentEndpoint\": \"https://kal-ps-sql-release-restore-westus.documents.azure.com:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"readLocations\": [\r\n {\r\n \"id\": \"kal-ps-sql-release-restore-westus\",\r\n \"locationName\": \"West US\",\r\n \"documentEndpoint\": \"https://kal-ps-sql-release-restore-westus.documents.azure.com:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"locations\": [\r\n {\r\n \"id\": \"kal-ps-sql-release-restore-westus\",\r\n \"locationName\": \"West US\",\r\n \"documentEndpoint\": \"https://kal-ps-sql-release-restore-westus.documents.azure.com:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"failoverPolicies\": [\r\n {\r\n \"id\": \"kal-ps-sql-release-restore-westus\",\r\n \"locationName\": \"West US\",\r\n \"failoverPriority\": 0\r\n }\r\n ],\r\n \"cors\": [],\r\n \"capabilities\": [],\r\n \"ipRules\": [],\r\n \"backupPolicy\": {\r\n \"type\": \"Continuous\"\r\n },\r\n \"restoreParameters\": {\r\n \"restoreMode\": \"PointInTime\",\r\n \"restoreSource\": \"/subscriptions/259fbb24-9bcd-4cfc-865c-fc33b22fe38a/providers/Microsoft.DocumentDB/locations/westus/restorableDatabaseAccounts/dde7f2d9-1ebc-4843-bb47-6b80d5429160\",\r\n \"restoreTimestampInUtc\": \"2021-01-29T07:34:00Z\",\r\n \"databasesToRestore\": [\r\n {\r\n \"databaseName\": \"testdb1\",\r\n \"collectionNames\": [\r\n \"testcontainer1\"\r\n ]\r\n }\r\n ]\r\n },\r\n \"networkAclBypassResourceIds\": []\r\n },\r\n \"identity\": {\r\n \"type\": \"None\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/259fbb24-9bcd-4cfc-865c-fc33b22fe38a/resourceGroups/bugbashrg/providers/Microsoft.DocumentDB/databaseAccounts/testacct412\",\r\n \"name\": \"testacct412\",\r\n \"location\": \"West US\",\r\n \"type\": \"Microsoft.DocumentDB/databaseAccounts\",\r\n \"kind\": \"GlobalDocumentDB\",\r\n \"tags\": {\r\n \"defaultExperience\": \"Core (SQL)\",\r\n \"hidden-cosmos-mmspecial\": \"\",\r\n \"CosmosAccountType\": \"Non-Production\"\r\n },\r\n \"systemData\": {\r\n \"createdAt\": \"2021-03-03T19:54:13.9993614Z\"\r\n },\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"documentEndpoint\": \"https://testacct412.documents.azure.com:443/\",\r\n \"publicNetworkAccess\": \"Enabled\",\r\n \"enableAutomaticFailover\": false,\r\n \"enableMultipleWriteLocations\": false,\r\n \"enablePartitionKeyMonitor\": false,\r\n \"isVirtualNetworkFilterEnabled\": false,\r\n \"virtualNetworkRules\": [],\r\n \"EnabledApiTypes\": \"Sql\",\r\n \"disableKeyBasedMetadataWriteAccess\": false,\r\n \"enableFreeTier\": false,\r\n \"enableAnalyticalStorage\": false,\r\n \"analyticalStorageConfiguration\": {},\r\n \"instanceId\": \"d800a65d-80cb-4d21-b4e8-ae5995b582fc\",\r\n \"createMode\": \"Restore\",\r\n \"databaseAccountOfferType\": \"Standard\",\r\n \"defaultIdentity\": \"\",\r\n \"networkAclBypass\": \"None\",\r\n \"disableLocalAuth\": false,\r\n \"consistencyPolicy\": {\r\n \"defaultConsistencyLevel\": \"Session\",\r\n \"maxIntervalInSeconds\": 5,\r\n \"maxStalenessPrefix\": 100\r\n },\r\n \"configurationOverrides\": {},\r\n \"writeLocations\": [\r\n {\r\n \"id\": \"testacct412-westus\",\r\n \"locationName\": \"West US\",\r\n \"documentEndpoint\": \"https://testacct412-westus.documents.azure.com:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"readLocations\": [\r\n {\r\n \"id\": \"testacct412-westus\",\r\n \"locationName\": \"West US\",\r\n \"documentEndpoint\": \"https://testacct412-westus.documents.azure.com:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"locations\": [\r\n {\r\n \"id\": \"testacct412-westus\",\r\n \"locationName\": \"West US\",\r\n \"documentEndpoint\": \"https://testacct412-westus.documents.azure.com:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"failoverPolicies\": [\r\n {\r\n \"id\": \"testacct412-westus\",\r\n \"locationName\": \"West US\",\r\n \"failoverPriority\": 0\r\n }\r\n ],\r\n \"cors\": [],\r\n \"capabilities\": [],\r\n \"ipRules\": [],\r\n \"backupPolicy\": {\r\n \"type\": \"Continuous\"\r\n },\r\n \"restoreParameters\": {\r\n \"restoreMode\": \"PointInTime\",\r\n \"restoreSource\": \"/subscriptions/259fbb24-9bcd-4cfc-865c-fc33b22fe38a/providers/Microsoft.DocumentDB/locations/westus/restorableDatabaseAccounts/0034883d-1a13-418f-9eaf-5dbbaabdd901\",\r\n \"restoreTimestampInUtc\": \"2021-02-06T00:00:00Z\",\r\n \"databasesToRestore\": []\r\n },\r\n \"networkAclBypassResourceIds\": []\r\n },\r\n \"identity\": {\r\n \"type\": \"None\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/259fbb24-9bcd-4cfc-865c-fc33b22fe38a/resourceGroups/testResourceGroup/providers/Microsoft.DocumentDB/databaseAccounts/test0322\",\r\n \"name\": \"test0322\",\r\n \"location\": \"West US\",\r\n \"type\": \"Microsoft.DocumentDB/databaseAccounts\",\r\n \"kind\": \"GlobalDocumentDB\",\r\n \"tags\": {},\r\n \"systemData\": {\r\n \"createdAt\": \"2021-03-22T21:55:21.0115327Z\"\r\n },\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"documentEndpoint\": \"https://test0322.documents.azure.com:443/\",\r\n \"publicNetworkAccess\": \"Enabled\",\r\n \"enableAutomaticFailover\": false,\r\n \"enableMultipleWriteLocations\": false,\r\n \"enablePartitionKeyMonitor\": false,\r\n \"isVirtualNetworkFilterEnabled\": false,\r\n \"virtualNetworkRules\": [],\r\n \"EnabledApiTypes\": \"Sql\",\r\n \"disableKeyBasedMetadataWriteAccess\": false,\r\n \"enableFreeTier\": false,\r\n \"enableAnalyticalStorage\": false,\r\n \"analyticalStorageConfiguration\": {},\r\n \"instanceId\": \"7eec73a2-6814-49db-8f53-f843ebd254bf\",\r\n \"createMode\": \"Default\",\r\n \"databaseAccountOfferType\": \"Standard\",\r\n \"defaultIdentity\": \"FirstPartyIdentity\",\r\n \"networkAclBypass\": \"None\",\r\n \"disableLocalAuth\": false,\r\n \"consistencyPolicy\": {\r\n \"defaultConsistencyLevel\": \"Session\",\r\n \"maxIntervalInSeconds\": 5,\r\n \"maxStalenessPrefix\": 100\r\n },\r\n \"configurationOverrides\": {},\r\n \"writeLocations\": [\r\n {\r\n \"id\": \"test0322-westus\",\r\n \"locationName\": \"West US\",\r\n \"documentEndpoint\": \"https://test0322-westus.documents.azure.com:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"readLocations\": [\r\n {\r\n \"id\": \"test0322-westus\",\r\n \"locationName\": \"West US\",\r\n \"documentEndpoint\": \"https://test0322-westus.documents.azure.com:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"locations\": [\r\n {\r\n \"id\": \"test0322-westus\",\r\n \"locationName\": \"West US\",\r\n \"documentEndpoint\": \"https://test0322-westus.documents.azure.com:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"failoverPolicies\": [\r\n {\r\n \"id\": \"test0322-westus\",\r\n \"locationName\": \"West US\",\r\n \"failoverPriority\": 0\r\n }\r\n ],\r\n \"cors\": [],\r\n \"capabilities\": [],\r\n \"ipRules\": [],\r\n \"backupPolicy\": {\r\n \"type\": \"Periodic\",\r\n \"periodicModeProperties\": {\r\n \"backupIntervalInMinutes\": 60,\r\n \"backupRetentionIntervalInHours\": 8,\r\n \"backupStorageRedundancy\": \"Geo\"\r\n }\r\n },\r\n \"networkAclBypassResourceIds\": []\r\n },\r\n \"identity\": {\r\n \"type\": \"None\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/259fbb24-9bcd-4cfc-865c-fc33b22fe38a/resourceGroups/gskcss/providers/Microsoft.DocumentDB/databaseAccounts/scottkirill\",\r\n \"name\": \"scottkirill\",\r\n \"location\": \"West US\",\r\n \"type\": \"Microsoft.DocumentDB/databaseAccounts\",\r\n \"kind\": \"GlobalDocumentDB\",\r\n \"tags\": {\r\n \"defaultExperience\": \"Core (SQL)\",\r\n \"hidden-cosmos-mmspecial\": \"\",\r\n \"CosmosAccountType\": \"Non-Production\"\r\n },\r\n \"systemData\": {\r\n \"createdAt\": \"2021-04-15T17:21:19.5679947Z\"\r\n },\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"documentEndpoint\": \"https://scottkirill.documents.azure.com:443/\",\r\n \"publicNetworkAccess\": \"Enabled\",\r\n \"enableAutomaticFailover\": false,\r\n \"enableMultipleWriteLocations\": false,\r\n \"enablePartitionKeyMonitor\": false,\r\n \"isVirtualNetworkFilterEnabled\": false,\r\n \"virtualNetworkRules\": [],\r\n \"EnabledApiTypes\": \"Sql\",\r\n \"disableKeyBasedMetadataWriteAccess\": false,\r\n \"enableFreeTier\": false,\r\n \"enableAnalyticalStorage\": false,\r\n \"analyticalStorageConfiguration\": {},\r\n \"instanceId\": \"afe6a47d-1fbd-41e1-992b-db16beeeae3c\",\r\n \"createMode\": \"Restore\",\r\n \"databaseAccountOfferType\": \"Standard\",\r\n \"defaultIdentity\": \"\",\r\n \"networkAclBypass\": \"None\",\r\n \"disableLocalAuth\": false,\r\n \"consistencyPolicy\": {\r\n \"defaultConsistencyLevel\": \"Session\",\r\n \"maxIntervalInSeconds\": 5,\r\n \"maxStalenessPrefix\": 100\r\n },\r\n \"configurationOverrides\": {},\r\n \"writeLocations\": [\r\n {\r\n \"id\": \"scottkirill-westus\",\r\n \"locationName\": \"West US\",\r\n \"documentEndpoint\": \"https://scottkirill-westus.documents.azure.com:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"readLocations\": [\r\n {\r\n \"id\": \"scottkirill-westus\",\r\n \"locationName\": \"West US\",\r\n \"documentEndpoint\": \"https://scottkirill-westus.documents.azure.com:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"locations\": [\r\n {\r\n \"id\": \"scottkirill-westus\",\r\n \"locationName\": \"West US\",\r\n \"documentEndpoint\": \"https://scottkirill-westus.documents.azure.com:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"failoverPolicies\": [\r\n {\r\n \"id\": \"scottkirill-westus\",\r\n \"locationName\": \"West US\",\r\n \"failoverPriority\": 0\r\n }\r\n ],\r\n \"cors\": [],\r\n \"capabilities\": [],\r\n \"ipRules\": [],\r\n \"backupPolicy\": {\r\n \"type\": \"Continuous\"\r\n },\r\n \"restoreParameters\": {\r\n \"restoreMode\": \"PointInTime\",\r\n \"restoreSource\": \"/subscriptions/259fbb24-9bcd-4cfc-865c-fc33b22fe38a/providers/Microsoft.DocumentDB/locations/westus/restorableDatabaseAccounts/5c84891d-ee24-4dc7-aa2b-d8968baf7936\",\r\n \"restoreTimestampInUtc\": \"2021-04-01T00:00:00Z\",\r\n \"databasesToRestore\": [\r\n {\r\n \"databaseName\": \"ToDoList\",\r\n \"collectionNames\": [\r\n \"Items\"\r\n ]\r\n }\r\n ]\r\n },\r\n \"networkAclBypassResourceIds\": []\r\n },\r\n \"identity\": {\r\n \"type\": \"None\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/259fbb24-9bcd-4cfc-865c-fc33b22fe38a/resourceGroups/kakhandr-rd/providers/Microsoft.DocumentDB/databaseAccounts/activitylogs-cli-pitr-test\",\r\n \"name\": \"activitylogs-cli-pitr-test\",\r\n \"location\": \"West US\",\r\n \"type\": \"Microsoft.DocumentDB/databaseAccounts\",\r\n \"kind\": \"GlobalDocumentDB\",\r\n \"tags\": {},\r\n \"systemData\": {\r\n \"createdAt\": \"2021-04-21T03:10:35.9791105Z\"\r\n },\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"documentEndpoint\": \"https://activitylogs-cli-pitr-test.documents.azure.com:443/\",\r\n \"publicNetworkAccess\": \"Enabled\",\r\n \"enableAutomaticFailover\": false,\r\n \"enableMultipleWriteLocations\": false,\r\n \"enablePartitionKeyMonitor\": false,\r\n \"isVirtualNetworkFilterEnabled\": false,\r\n \"virtualNetworkRules\": [],\r\n \"EnabledApiTypes\": \"Sql\",\r\n \"disableKeyBasedMetadataWriteAccess\": false,\r\n \"enableFreeTier\": false,\r\n \"enableAnalyticalStorage\": false,\r\n \"analyticalStorageConfiguration\": {},\r\n \"instanceId\": \"e9b7c772-b404-4874-866a-09677b0e68a5\",\r\n \"createMode\": \"Default\",\r\n \"databaseAccountOfferType\": \"Standard\",\r\n \"defaultIdentity\": \"FirstPartyIdentity\",\r\n \"networkAclBypass\": \"None\",\r\n \"disableLocalAuth\": false,\r\n \"consistencyPolicy\": {\r\n \"defaultConsistencyLevel\": \"Session\",\r\n \"maxIntervalInSeconds\": 5,\r\n \"maxStalenessPrefix\": 100\r\n },\r\n \"configurationOverrides\": {},\r\n \"writeLocations\": [\r\n {\r\n \"id\": \"activitylogs-cli-pitr-test-northcentralus\",\r\n \"locationName\": \"North Central US\",\r\n \"documentEndpoint\": \"https://activitylogs-cli-pitr-test-northcentralus.documents.azure.com:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"readLocations\": [\r\n {\r\n \"id\": \"activitylogs-cli-pitr-test-northcentralus\",\r\n \"locationName\": \"North Central US\",\r\n \"documentEndpoint\": \"https://activitylogs-cli-pitr-test-northcentralus.documents.azure.com:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"locations\": [\r\n {\r\n \"id\": \"activitylogs-cli-pitr-test-northcentralus\",\r\n \"locationName\": \"North Central US\",\r\n \"documentEndpoint\": \"https://activitylogs-cli-pitr-test-northcentralus.documents.azure.com:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"failoverPolicies\": [\r\n {\r\n \"id\": \"activitylogs-cli-pitr-test-northcentralus\",\r\n \"locationName\": \"North Central US\",\r\n \"failoverPriority\": 0\r\n }\r\n ],\r\n \"cors\": [],\r\n \"capabilities\": [],\r\n \"ipRules\": [],\r\n \"backupPolicy\": {\r\n \"type\": \"Periodic\",\r\n \"periodicModeProperties\": {\r\n \"backupIntervalInMinutes\": 240,\r\n \"backupRetentionIntervalInHours\": 8,\r\n \"backupStorageRedundancy\": \"Geo\"\r\n }\r\n },\r\n \"networkAclBypassResourceIds\": []\r\n },\r\n \"identity\": {\r\n \"type\": \"None\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/259fbb24-9bcd-4cfc-865c-fc33b22fe38a/resourceGroups/rgtest9921232812/providers/Microsoft.DocumentDB/databaseAccounts/rgtest9921232812\",\r\n \"name\": \"rgtest9921232812\",\r\n \"location\": \"West US\",\r\n \"type\": \"Microsoft.DocumentDB/databaseAccounts\",\r\n \"kind\": \"GlobalDocumentDB\",\r\n \"tags\": {\r\n \"defaultExperience\": \"Core (SQL)\",\r\n \"hidden-cosmos-mmspecial\": \"\"\r\n },\r\n \"systemData\": {\r\n \"createdAt\": \"2021-06-07T21:26:26.8333984Z\"\r\n },\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"documentEndpoint\": \"https://rgtest9921232812.documents.azure.com:443/\",\r\n \"publicNetworkAccess\": \"Enabled\",\r\n \"enableAutomaticFailover\": false,\r\n \"enableMultipleWriteLocations\": false,\r\n \"enablePartitionKeyMonitor\": false,\r\n \"isVirtualNetworkFilterEnabled\": false,\r\n \"virtualNetworkRules\": [],\r\n \"EnabledApiTypes\": \"Sql\",\r\n \"disableKeyBasedMetadataWriteAccess\": false,\r\n \"enableFreeTier\": false,\r\n \"enableAnalyticalStorage\": false,\r\n \"analyticalStorageConfiguration\": {\r\n \"analyticalStorageSchemaType\": \"WellDefined\"\r\n },\r\n \"instanceId\": \"6afbd660-3eba-46e4-bae2-79041ac7edc7\",\r\n \"createMode\": \"Default\",\r\n \"databaseAccountOfferType\": \"Standard\",\r\n \"defaultIdentity\": \"FirstPartyIdentity\",\r\n \"networkAclBypass\": \"None\",\r\n \"disableLocalAuth\": false,\r\n \"consistencyPolicy\": {\r\n \"defaultConsistencyLevel\": \"Session\",\r\n \"maxIntervalInSeconds\": 5,\r\n \"maxStalenessPrefix\": 100\r\n },\r\n \"configurationOverrides\": {},\r\n \"writeLocations\": [\r\n {\r\n \"id\": \"rgtest9921232812-westus\",\r\n \"locationName\": \"West US\",\r\n \"documentEndpoint\": \"https://rgtest9921232812-westus.documents.azure.com:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"readLocations\": [\r\n {\r\n \"id\": \"rgtest9921232812-westus\",\r\n \"locationName\": \"West US\",\r\n \"documentEndpoint\": \"https://rgtest9921232812-westus.documents.azure.com:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"locations\": [\r\n {\r\n \"id\": \"rgtest9921232812-westus\",\r\n \"locationName\": \"West US\",\r\n \"documentEndpoint\": \"https://rgtest9921232812-westus.documents.azure.com:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"failoverPolicies\": [\r\n {\r\n \"id\": \"rgtest9921232812-westus\",\r\n \"locationName\": \"West US\",\r\n \"failoverPriority\": 0\r\n }\r\n ],\r\n \"cors\": [],\r\n \"capabilities\": [],\r\n \"ipRules\": [],\r\n \"backupPolicy\": {\r\n \"type\": \"Continuous\"\r\n },\r\n \"networkAclBypassResourceIds\": []\r\n },\r\n \"identity\": {\r\n \"type\": \"None\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/259fbb24-9bcd-4cfc-865c-fc33b22fe38a/resourceGroups/cli_test_cosmosdb_databaseczz7upvnz5kzgpqh7hixauzwzojnng64hmvus23eq7677xv34/providers/Microsoft.DocumentDB/databaseAccounts/clipfgiwe35om4e\",\r\n \"name\": \"clipfgiwe35om4e\",\r\n \"location\": \"West US\",\r\n \"type\": \"Microsoft.DocumentDB/databaseAccounts\",\r\n \"kind\": \"GlobalDocumentDB\",\r\n \"tags\": {},\r\n \"systemData\": {\r\n \"createdAt\": \"2021-06-14T21:47:00.8039195Z\"\r\n },\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"documentEndpoint\": \"https://clipfgiwe35om4e.documents.azure.com:443/\",\r\n \"publicNetworkAccess\": \"Enabled\",\r\n \"enableAutomaticFailover\": false,\r\n \"enableMultipleWriteLocations\": false,\r\n \"enablePartitionKeyMonitor\": false,\r\n \"isVirtualNetworkFilterEnabled\": false,\r\n \"virtualNetworkRules\": [],\r\n \"EnabledApiTypes\": \"Sql\",\r\n \"disableKeyBasedMetadataWriteAccess\": false,\r\n \"enableFreeTier\": false,\r\n \"enableAnalyticalStorage\": false,\r\n \"analyticalStorageConfiguration\": {\r\n \"analyticalStorageSchemaType\": \"WellDefined\"\r\n },\r\n \"instanceId\": \"dbf26c3d-90bc-4a54-b184-cffb09728547\",\r\n \"createMode\": \"Default\",\r\n \"databaseAccountOfferType\": \"Standard\",\r\n \"defaultIdentity\": \"FirstPartyIdentity\",\r\n \"networkAclBypass\": \"None\",\r\n \"disableLocalAuth\": false,\r\n \"consistencyPolicy\": {\r\n \"defaultConsistencyLevel\": \"Session\",\r\n \"maxIntervalInSeconds\": 5,\r\n \"maxStalenessPrefix\": 100\r\n },\r\n \"configurationOverrides\": {},\r\n \"writeLocations\": [\r\n {\r\n \"id\": \"clipfgiwe35om4e-westus\",\r\n \"locationName\": \"West US\",\r\n \"documentEndpoint\": \"https://clipfgiwe35om4e-westus.documents.azure.com:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"readLocations\": [\r\n {\r\n \"id\": \"clipfgiwe35om4e-westus\",\r\n \"locationName\": \"West US\",\r\n \"documentEndpoint\": \"https://clipfgiwe35om4e-westus.documents.azure.com:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"locations\": [\r\n {\r\n \"id\": \"clipfgiwe35om4e-westus\",\r\n \"locationName\": \"West US\",\r\n \"documentEndpoint\": \"https://clipfgiwe35om4e-westus.documents.azure.com:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"failoverPolicies\": [\r\n {\r\n \"id\": \"clipfgiwe35om4e-westus\",\r\n \"locationName\": \"West US\",\r\n \"failoverPriority\": 0\r\n }\r\n ],\r\n \"cors\": [],\r\n \"capabilities\": [],\r\n \"ipRules\": [],\r\n \"backupPolicy\": {\r\n \"type\": \"Periodic\",\r\n \"periodicModeProperties\": {\r\n \"backupIntervalInMinutes\": 240,\r\n \"backupRetentionIntervalInHours\": 8,\r\n \"backupStorageRedundancy\": \"Geo\"\r\n }\r\n },\r\n \"networkAclBypassResourceIds\": []\r\n },\r\n \"identity\": {\r\n \"type\": \"None\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/259fbb24-9bcd-4cfc-865c-fc33b22fe38a/resourceGroups/cli_test_cosmosdb_database44ivz7ruagwsr44y6ty7kf3ug2uhfpj6iqcehtvoxwzojxotg/providers/Microsoft.DocumentDB/databaseAccounts/cliv4exa6abnsde\",\r\n \"name\": \"cliv4exa6abnsde\",\r\n \"location\": \"West US\",\r\n \"type\": \"Microsoft.DocumentDB/databaseAccounts\",\r\n \"kind\": \"GlobalDocumentDB\",\r\n \"tags\": {},\r\n \"systemData\": {\r\n \"createdAt\": \"2021-06-15T00:06:00.5714705Z\"\r\n },\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"documentEndpoint\": \"https://cliv4exa6abnsde.documents.azure.com:443/\",\r\n \"publicNetworkAccess\": \"Enabled\",\r\n \"enableAutomaticFailover\": false,\r\n \"enableMultipleWriteLocations\": false,\r\n \"enablePartitionKeyMonitor\": false,\r\n \"isVirtualNetworkFilterEnabled\": false,\r\n \"virtualNetworkRules\": [],\r\n \"EnabledApiTypes\": \"Sql\",\r\n \"disableKeyBasedMetadataWriteAccess\": false,\r\n \"enableFreeTier\": false,\r\n \"enableAnalyticalStorage\": false,\r\n \"analyticalStorageConfiguration\": {\r\n \"analyticalStorageSchemaType\": \"WellDefined\"\r\n },\r\n \"instanceId\": \"c40937be-5e76-40ff-ab42-61de613e55dc\",\r\n \"createMode\": \"Default\",\r\n \"databaseAccountOfferType\": \"Standard\",\r\n \"defaultIdentity\": \"FirstPartyIdentity\",\r\n \"networkAclBypass\": \"None\",\r\n \"disableLocalAuth\": false,\r\n \"consistencyPolicy\": {\r\n \"defaultConsistencyLevel\": \"Session\",\r\n \"maxIntervalInSeconds\": 5,\r\n \"maxStalenessPrefix\": 100\r\n },\r\n \"configurationOverrides\": {},\r\n \"writeLocations\": [\r\n {\r\n \"id\": \"cliv4exa6abnsde-westus\",\r\n \"locationName\": \"West US\",\r\n \"documentEndpoint\": \"https://cliv4exa6abnsde-westus.documents.azure.com:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"readLocations\": [\r\n {\r\n \"id\": \"cliv4exa6abnsde-westus\",\r\n \"locationName\": \"West US\",\r\n \"documentEndpoint\": \"https://cliv4exa6abnsde-westus.documents.azure.com:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"locations\": [\r\n {\r\n \"id\": \"cliv4exa6abnsde-westus\",\r\n \"locationName\": \"West US\",\r\n \"documentEndpoint\": \"https://cliv4exa6abnsde-westus.documents.azure.com:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"failoverPolicies\": [\r\n {\r\n \"id\": \"cliv4exa6abnsde-westus\",\r\n \"locationName\": \"West US\",\r\n \"failoverPriority\": 0\r\n }\r\n ],\r\n \"cors\": [],\r\n \"capabilities\": [],\r\n \"ipRules\": [],\r\n \"backupPolicy\": {\r\n \"type\": \"Periodic\",\r\n \"periodicModeProperties\": {\r\n \"backupIntervalInMinutes\": 240,\r\n \"backupRetentionIntervalInHours\": 8,\r\n \"backupStorageRedundancy\": \"Geo\"\r\n }\r\n },\r\n \"networkAclBypassResourceIds\": []\r\n },\r\n \"identity\": {\r\n \"type\": \"None\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/259fbb24-9bcd-4cfc-865c-fc33b22fe38a/resourceGroups/cli_test_cosmosdb_gremlin_databasefcqqgpw6ar6m3h4ff7iaf6lxyzmqclkpibck3chp7/providers/Microsoft.DocumentDB/databaseAccounts/clizpj6hkbx3i4b\",\r\n \"name\": \"clizpj6hkbx3i4b\",\r\n \"location\": \"West US\",\r\n \"type\": \"Microsoft.DocumentDB/databaseAccounts\",\r\n \"kind\": \"GlobalDocumentDB\",\r\n \"tags\": {},\r\n \"systemData\": {\r\n \"createdAt\": \"2021-06-15T00:06:39.2387962Z\"\r\n },\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"documentEndpoint\": \"https://clizpj6hkbx3i4b.documents.azure.com:443/\",\r\n \"gremlinEndpoint\": \"https://clizpj6hkbx3i4b.gremlin.cosmos.azure.com:443/\",\r\n \"publicNetworkAccess\": \"Enabled\",\r\n \"enableAutomaticFailover\": false,\r\n \"enableMultipleWriteLocations\": false,\r\n \"enablePartitionKeyMonitor\": false,\r\n \"isVirtualNetworkFilterEnabled\": false,\r\n \"virtualNetworkRules\": [],\r\n \"EnabledApiTypes\": \"Gremlin, Sql\",\r\n \"disableKeyBasedMetadataWriteAccess\": false,\r\n \"enableFreeTier\": false,\r\n \"enableAnalyticalStorage\": false,\r\n \"analyticalStorageConfiguration\": {\r\n \"analyticalStorageSchemaType\": \"WellDefined\"\r\n },\r\n \"instanceId\": \"c8591511-a8b3-4d30-971f-1db01632d976\",\r\n \"createMode\": \"Default\",\r\n \"databaseAccountOfferType\": \"Standard\",\r\n \"defaultIdentity\": \"FirstPartyIdentity\",\r\n \"networkAclBypass\": \"None\",\r\n \"disableLocalAuth\": false,\r\n \"consistencyPolicy\": {\r\n \"defaultConsistencyLevel\": \"Session\",\r\n \"maxIntervalInSeconds\": 5,\r\n \"maxStalenessPrefix\": 100\r\n },\r\n \"configurationOverrides\": {},\r\n \"writeLocations\": [\r\n {\r\n \"id\": \"clizpj6hkbx3i4b-westus\",\r\n \"locationName\": \"West US\",\r\n \"documentEndpoint\": \"https://clizpj6hkbx3i4b-westus.documents.azure.com:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"readLocations\": [\r\n {\r\n \"id\": \"clizpj6hkbx3i4b-westus\",\r\n \"locationName\": \"West US\",\r\n \"documentEndpoint\": \"https://clizpj6hkbx3i4b-westus.documents.azure.com:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"locations\": [\r\n {\r\n \"id\": \"clizpj6hkbx3i4b-westus\",\r\n \"locationName\": \"West US\",\r\n \"documentEndpoint\": \"https://clizpj6hkbx3i4b-westus.documents.azure.com:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"failoverPolicies\": [\r\n {\r\n \"id\": \"clizpj6hkbx3i4b-westus\",\r\n \"locationName\": \"West US\",\r\n \"failoverPriority\": 0\r\n }\r\n ],\r\n \"cors\": [],\r\n \"capabilities\": [\r\n {\r\n \"name\": \"EnableGremlin\"\r\n }\r\n ],\r\n \"ipRules\": [],\r\n \"backupPolicy\": {\r\n \"type\": \"Periodic\",\r\n \"periodicModeProperties\": {\r\n \"backupIntervalInMinutes\": 240,\r\n \"backupRetentionIntervalInHours\": 8,\r\n \"backupStorageRedundancy\": \"Geo\"\r\n }\r\n },\r\n \"networkAclBypassResourceIds\": []\r\n },\r\n \"identity\": {\r\n \"type\": \"None\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/259fbb24-9bcd-4cfc-865c-fc33b22fe38a/resourceGroups/cli_test_cosmosdb_plrtjv6zs6hrqhn75zcajsmzyrczge2ibckvdgnupm66ansbdb7fhxsqc/providers/Microsoft.DocumentDB/databaseAccounts/cli-test-cosmosdb-plr-ptljkd\",\r\n \"name\": \"cli-test-cosmosdb-plr-ptljkd\",\r\n \"location\": \"West US\",\r\n \"type\": \"Microsoft.DocumentDB/databaseAccounts\",\r\n \"kind\": \"GlobalDocumentDB\",\r\n \"tags\": {},\r\n \"systemData\": {\r\n \"createdAt\": \"2021-06-15T00:35:10.0448626Z\"\r\n },\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"documentEndpoint\": \"https://cli-test-cosmosdb-plr-ptljkd.documents.azure.com:443/\",\r\n \"publicNetworkAccess\": \"Enabled\",\r\n \"enableAutomaticFailover\": false,\r\n \"enableMultipleWriteLocations\": false,\r\n \"enablePartitionKeyMonitor\": false,\r\n \"isVirtualNetworkFilterEnabled\": false,\r\n \"virtualNetworkRules\": [],\r\n \"EnabledApiTypes\": \"Sql\",\r\n \"disableKeyBasedMetadataWriteAccess\": false,\r\n \"enableFreeTier\": false,\r\n \"enableAnalyticalStorage\": false,\r\n \"analyticalStorageConfiguration\": {\r\n \"analyticalStorageSchemaType\": \"WellDefined\"\r\n },\r\n \"instanceId\": \"0bad343b-425a-49fe-bfa1-ba8639d3c158\",\r\n \"createMode\": \"Default\",\r\n \"databaseAccountOfferType\": \"Standard\",\r\n \"defaultIdentity\": \"FirstPartyIdentity\",\r\n \"networkAclBypass\": \"None\",\r\n \"disableLocalAuth\": false,\r\n \"consistencyPolicy\": {\r\n \"defaultConsistencyLevel\": \"Session\",\r\n \"maxIntervalInSeconds\": 5,\r\n \"maxStalenessPrefix\": 100\r\n },\r\n \"configurationOverrides\": {},\r\n \"writeLocations\": [\r\n {\r\n \"id\": \"cli-test-cosmosdb-plr-ptljkd-westus\",\r\n \"locationName\": \"West US\",\r\n \"documentEndpoint\": \"https://cli-test-cosmosdb-plr-ptljkd-westus.documents.azure.com:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"readLocations\": [\r\n {\r\n \"id\": \"cli-test-cosmosdb-plr-ptljkd-westus\",\r\n \"locationName\": \"West US\",\r\n \"documentEndpoint\": \"https://cli-test-cosmosdb-plr-ptljkd-westus.documents.azure.com:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"locations\": [\r\n {\r\n \"id\": \"cli-test-cosmosdb-plr-ptljkd-westus\",\r\n \"locationName\": \"West US\",\r\n \"documentEndpoint\": \"https://cli-test-cosmosdb-plr-ptljkd-westus.documents.azure.com:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"failoverPolicies\": [\r\n {\r\n \"id\": \"cli-test-cosmosdb-plr-ptljkd-westus\",\r\n \"locationName\": \"West US\",\r\n \"failoverPriority\": 0\r\n }\r\n ],\r\n \"cors\": [],\r\n \"capabilities\": [],\r\n \"ipRules\": [],\r\n \"backupPolicy\": {\r\n \"type\": \"Periodic\",\r\n \"periodicModeProperties\": {\r\n \"backupIntervalInMinutes\": 240,\r\n \"backupRetentionIntervalInHours\": 8,\r\n \"backupStorageRedundancy\": \"Geo\"\r\n }\r\n },\r\n \"networkAclBypassResourceIds\": []\r\n },\r\n \"identity\": {\r\n \"type\": \"None\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/259fbb24-9bcd-4cfc-865c-fc33b22fe38a/resourceGroups/cli_test_cosmosdb_accountqmmfz4umkz6s5kfwbju2tg3qx2vq3eerrgj4mllfjklp7tkrab/providers/Microsoft.DocumentDB/databaseAccounts/clixieuufhegq7eqpy4kr2ho74cyan37avondobv\",\r\n \"name\": \"clixieuufhegq7eqpy4kr2ho74cyan37avondobv\",\r\n \"location\": \"West US\",\r\n \"type\": \"Microsoft.DocumentDB/databaseAccounts\",\r\n \"kind\": \"GlobalDocumentDB\",\r\n \"tags\": {},\r\n \"systemData\": {\r\n \"createdAt\": \"2021-06-15T00:37:42.1110545Z\"\r\n },\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"documentEndpoint\": \"https://clixieuufhegq7eqpy4kr2ho74cyan37avondobv.documents.azure.com:443/\",\r\n \"publicNetworkAccess\": \"Enabled\",\r\n \"enableAutomaticFailover\": false,\r\n \"enableMultipleWriteLocations\": false,\r\n \"enablePartitionKeyMonitor\": false,\r\n \"isVirtualNetworkFilterEnabled\": true,\r\n \"virtualNetworkRules\": [\r\n {\r\n \"id\": \"/subscriptions/259fbb24-9bcd-4cfc-865c-fc33b22fe38a/resourceGroups/cli_test_cosmosdb_accountqmmfz4umkz6s5kfwbju2tg3qx2vq3eerrgj4mllfjklp7tkrab/providers/Microsoft.Network/virtualNetworks/clihulcgsgod322vskt3gh266hixtkjikhdyq6v2/subnets/clibzhqwhhp5dntxe45vmj65o4cmp2rkqqukg7b3\",\r\n \"ignoreMissingVNetServiceEndpoint\": false\r\n }\r\n ],\r\n \"EnabledApiTypes\": \"Sql\",\r\n \"disableKeyBasedMetadataWriteAccess\": false,\r\n \"enableFreeTier\": false,\r\n \"enableAnalyticalStorage\": false,\r\n \"analyticalStorageConfiguration\": {\r\n \"analyticalStorageSchemaType\": \"WellDefined\"\r\n },\r\n \"instanceId\": \"625c91b5-cad6-4133-a3f4-1d6f7163ce64\",\r\n \"createMode\": \"Default\",\r\n \"databaseAccountOfferType\": \"Standard\",\r\n \"defaultIdentity\": \"FirstPartyIdentity\",\r\n \"networkAclBypass\": \"None\",\r\n \"disableLocalAuth\": false,\r\n \"consistencyPolicy\": {\r\n \"defaultConsistencyLevel\": \"Session\",\r\n \"maxIntervalInSeconds\": 5,\r\n \"maxStalenessPrefix\": 100\r\n },\r\n \"configurationOverrides\": {},\r\n \"writeLocations\": [\r\n {\r\n \"id\": \"clixieuufhegq7eqpy4kr2ho74cyan37avondobv-westus\",\r\n \"locationName\": \"West US\",\r\n \"documentEndpoint\": \"https://clixieuufhegq7eqpy4kr2ho74cyan37avondobv-westus.documents.azure.com:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"readLocations\": [\r\n {\r\n \"id\": \"clixieuufhegq7eqpy4kr2ho74cyan37avondobv-westus\",\r\n \"locationName\": \"West US\",\r\n \"documentEndpoint\": \"https://clixieuufhegq7eqpy4kr2ho74cyan37avondobv-westus.documents.azure.com:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"locations\": [\r\n {\r\n \"id\": \"clixieuufhegq7eqpy4kr2ho74cyan37avondobv-westus\",\r\n \"locationName\": \"West US\",\r\n \"documentEndpoint\": \"https://clixieuufhegq7eqpy4kr2ho74cyan37avondobv-westus.documents.azure.com:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"failoverPolicies\": [\r\n {\r\n \"id\": \"clixieuufhegq7eqpy4kr2ho74cyan37avondobv-westus\",\r\n \"locationName\": \"West US\",\r\n \"failoverPriority\": 0\r\n }\r\n ],\r\n \"cors\": [],\r\n \"capabilities\": [],\r\n \"ipRules\": [],\r\n \"backupPolicy\": {\r\n \"type\": \"Periodic\",\r\n \"periodicModeProperties\": {\r\n \"backupIntervalInMinutes\": 240,\r\n \"backupRetentionIntervalInHours\": 8,\r\n \"backupStorageRedundancy\": \"Geo\"\r\n }\r\n },\r\n \"networkAclBypassResourceIds\": []\r\n },\r\n \"identity\": {\r\n \"type\": \"None\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/259fbb24-9bcd-4cfc-865c-fc33b22fe38a/resourceGroups/cli_test_cosmosdb_mongodb_restorable_commands2fltuutylruikmauwbbaue5xssba7v/providers/Microsoft.DocumentDB/databaseAccounts/clitg4ll5ikqmab\",\r\n \"name\": \"clitg4ll5ikqmab\",\r\n \"location\": \"West US\",\r\n \"type\": \"Microsoft.DocumentDB/databaseAccounts\",\r\n \"kind\": \"MongoDB\",\r\n \"tags\": {},\r\n \"systemData\": {\r\n \"createdAt\": \"2021-06-15T01:21:58.0243896Z\"\r\n },\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"documentEndpoint\": \"https://clitg4ll5ikqmab.documents.azure.com:443/\",\r\n \"mongoEndpoint\": \"https://clitg4ll5ikqmab.mongo.cosmos.azure.com:443/\",\r\n \"publicNetworkAccess\": \"Enabled\",\r\n \"enableAutomaticFailover\": false,\r\n \"enableMultipleWriteLocations\": false,\r\n \"enablePartitionKeyMonitor\": false,\r\n \"isVirtualNetworkFilterEnabled\": false,\r\n \"virtualNetworkRules\": [],\r\n \"EnabledApiTypes\": \"MongoDB\",\r\n \"disableKeyBasedMetadataWriteAccess\": false,\r\n \"enableFreeTier\": false,\r\n \"enableAnalyticalStorage\": false,\r\n \"analyticalStorageConfiguration\": {\r\n \"analyticalStorageSchemaType\": \"FullFidelity\"\r\n },\r\n \"instanceId\": \"2d7c9954-bebe-4355-aa03-191b3398f64a\",\r\n \"createMode\": \"Default\",\r\n \"databaseAccountOfferType\": \"Standard\",\r\n \"defaultIdentity\": \"FirstPartyIdentity\",\r\n \"networkAclBypass\": \"None\",\r\n \"disableLocalAuth\": false,\r\n \"consistencyPolicy\": {\r\n \"defaultConsistencyLevel\": \"Session\",\r\n \"maxIntervalInSeconds\": 5,\r\n \"maxStalenessPrefix\": 100\r\n },\r\n \"apiProperties\": {\r\n \"serverVersion\": \"3.6\"\r\n },\r\n \"configurationOverrides\": {\r\n \"EnableBsonSchema\": \"True\"\r\n },\r\n \"writeLocations\": [\r\n {\r\n \"id\": \"clitg4ll5ikqmab-westus\",\r\n \"locationName\": \"West US\",\r\n \"documentEndpoint\": \"https://clitg4ll5ikqmab-westus.documents.azure.com:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"readLocations\": [\r\n {\r\n \"id\": \"clitg4ll5ikqmab-westus\",\r\n \"locationName\": \"West US\",\r\n \"documentEndpoint\": \"https://clitg4ll5ikqmab-westus.documents.azure.com:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"locations\": [\r\n {\r\n \"id\": \"clitg4ll5ikqmab-westus\",\r\n \"locationName\": \"West US\",\r\n \"documentEndpoint\": \"https://clitg4ll5ikqmab-westus.documents.azure.com:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"failoverPolicies\": [\r\n {\r\n \"id\": \"clitg4ll5ikqmab-westus\",\r\n \"locationName\": \"West US\",\r\n \"failoverPriority\": 0\r\n }\r\n ],\r\n \"cors\": [],\r\n \"capabilities\": [\r\n {\r\n \"name\": \"EnableMongo\"\r\n }\r\n ],\r\n \"ipRules\": [],\r\n \"backupPolicy\": {\r\n \"type\": \"Continuous\"\r\n },\r\n \"networkAclBypassResourceIds\": []\r\n },\r\n \"identity\": {\r\n \"type\": \"None\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/259fbb24-9bcd-4cfc-865c-fc33b22fe38a/resourceGroups/cli_test_cosmosdb_collection4jmmyu5cy6yl4yvwo5zt7j6p6riezby2g36vpbgaf7rcryv/providers/Microsoft.DocumentDB/databaseAccounts/clio2ggbs552pa4\",\r\n \"name\": \"clio2ggbs552pa4\",\r\n \"location\": \"West US\",\r\n \"type\": \"Microsoft.DocumentDB/databaseAccounts\",\r\n \"kind\": \"GlobalDocumentDB\",\r\n \"tags\": {},\r\n \"systemData\": {\r\n \"createdAt\": \"2021-06-15T01:45:51.1759653Z\"\r\n },\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"documentEndpoint\": \"https://clio2ggbs552pa4.documents.azure.com:443/\",\r\n \"publicNetworkAccess\": \"Enabled\",\r\n \"enableAutomaticFailover\": false,\r\n \"enableMultipleWriteLocations\": false,\r\n \"enablePartitionKeyMonitor\": false,\r\n \"isVirtualNetworkFilterEnabled\": false,\r\n \"virtualNetworkRules\": [],\r\n \"EnabledApiTypes\": \"Sql\",\r\n \"disableKeyBasedMetadataWriteAccess\": false,\r\n \"enableFreeTier\": false,\r\n \"enableAnalyticalStorage\": false,\r\n \"analyticalStorageConfiguration\": {\r\n \"analyticalStorageSchemaType\": \"WellDefined\"\r\n },\r\n \"instanceId\": \"f558f7b4-708c-4bd3-8ec1-5874ec331d97\",\r\n \"createMode\": \"Default\",\r\n \"databaseAccountOfferType\": \"Standard\",\r\n \"defaultIdentity\": \"FirstPartyIdentity\",\r\n \"networkAclBypass\": \"None\",\r\n \"disableLocalAuth\": false,\r\n \"consistencyPolicy\": {\r\n \"defaultConsistencyLevel\": \"Session\",\r\n \"maxIntervalInSeconds\": 5,\r\n \"maxStalenessPrefix\": 100\r\n },\r\n \"configurationOverrides\": {},\r\n \"writeLocations\": [\r\n {\r\n \"id\": \"clio2ggbs552pa4-westus\",\r\n \"locationName\": \"West US\",\r\n \"documentEndpoint\": \"https://clio2ggbs552pa4-westus.documents.azure.com:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"readLocations\": [\r\n {\r\n \"id\": \"clio2ggbs552pa4-westus\",\r\n \"locationName\": \"West US\",\r\n \"documentEndpoint\": \"https://clio2ggbs552pa4-westus.documents.azure.com:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"locations\": [\r\n {\r\n \"id\": \"clio2ggbs552pa4-westus\",\r\n \"locationName\": \"West US\",\r\n \"documentEndpoint\": \"https://clio2ggbs552pa4-westus.documents.azure.com:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"failoverPolicies\": [\r\n {\r\n \"id\": \"clio2ggbs552pa4-westus\",\r\n \"locationName\": \"West US\",\r\n \"failoverPriority\": 0\r\n }\r\n ],\r\n \"cors\": [],\r\n \"capabilities\": [],\r\n \"ipRules\": [],\r\n \"backupPolicy\": {\r\n \"type\": \"Periodic\",\r\n \"periodicModeProperties\": {\r\n \"backupIntervalInMinutes\": 240,\r\n \"backupRetentionIntervalInHours\": 8,\r\n \"backupStorageRedundancy\": \"Geo\"\r\n }\r\n },\r\n \"networkAclBypassResourceIds\": []\r\n },\r\n \"identity\": {\r\n \"type\": \"None\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/259fbb24-9bcd-4cfc-865c-fc33b22fe38a/resourceGroups/cli_test_cosmosdb_gremlin_graphm5pq45wtksr5d2v47ipjxw6z6uztyp3qa3hwaq5fx3nc/providers/Microsoft.DocumentDB/databaseAccounts/cli77nzlbsv4655\",\r\n \"name\": \"cli77nzlbsv4655\",\r\n \"location\": \"West US\",\r\n \"type\": \"Microsoft.DocumentDB/databaseAccounts\",\r\n \"kind\": \"GlobalDocumentDB\",\r\n \"tags\": {},\r\n \"systemData\": {\r\n \"createdAt\": \"2021-06-15T01:47:15.0827185Z\"\r\n },\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"documentEndpoint\": \"https://cli77nzlbsv4655.documents.azure.com:443/\",\r\n \"gremlinEndpoint\": \"https://cli77nzlbsv4655.gremlin.cosmos.azure.com:443/\",\r\n \"publicNetworkAccess\": \"Enabled\",\r\n \"enableAutomaticFailover\": false,\r\n \"enableMultipleWriteLocations\": false,\r\n \"enablePartitionKeyMonitor\": false,\r\n \"isVirtualNetworkFilterEnabled\": false,\r\n \"virtualNetworkRules\": [],\r\n \"EnabledApiTypes\": \"Gremlin, Sql\",\r\n \"disableKeyBasedMetadataWriteAccess\": false,\r\n \"enableFreeTier\": false,\r\n \"enableAnalyticalStorage\": false,\r\n \"analyticalStorageConfiguration\": {\r\n \"analyticalStorageSchemaType\": \"WellDefined\"\r\n },\r\n \"instanceId\": \"a75d5cb2-2318-415b-99ab-b92489b19c4f\",\r\n \"createMode\": \"Default\",\r\n \"databaseAccountOfferType\": \"Standard\",\r\n \"defaultIdentity\": \"FirstPartyIdentity\",\r\n \"networkAclBypass\": \"None\",\r\n \"disableLocalAuth\": false,\r\n \"consistencyPolicy\": {\r\n \"defaultConsistencyLevel\": \"Session\",\r\n \"maxIntervalInSeconds\": 5,\r\n \"maxStalenessPrefix\": 100\r\n },\r\n \"configurationOverrides\": {},\r\n \"writeLocations\": [\r\n {\r\n \"id\": \"cli77nzlbsv4655-westus\",\r\n \"locationName\": \"West US\",\r\n \"documentEndpoint\": \"https://cli77nzlbsv4655-westus.documents.azure.com:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"readLocations\": [\r\n {\r\n \"id\": \"cli77nzlbsv4655-westus\",\r\n \"locationName\": \"West US\",\r\n \"documentEndpoint\": \"https://cli77nzlbsv4655-westus.documents.azure.com:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"locations\": [\r\n {\r\n \"id\": \"cli77nzlbsv4655-westus\",\r\n \"locationName\": \"West US\",\r\n \"documentEndpoint\": \"https://cli77nzlbsv4655-westus.documents.azure.com:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"failoverPolicies\": [\r\n {\r\n \"id\": \"cli77nzlbsv4655-westus\",\r\n \"locationName\": \"West US\",\r\n \"failoverPriority\": 0\r\n }\r\n ],\r\n \"cors\": [],\r\n \"capabilities\": [\r\n {\r\n \"name\": \"EnableGremlin\"\r\n }\r\n ],\r\n \"ipRules\": [],\r\n \"backupPolicy\": {\r\n \"type\": \"Periodic\",\r\n \"periodicModeProperties\": {\r\n \"backupIntervalInMinutes\": 240,\r\n \"backupRetentionIntervalInHours\": 8,\r\n \"backupStorageRedundancy\": \"Geo\"\r\n }\r\n },\r\n \"networkAclBypassResourceIds\": []\r\n },\r\n \"identity\": {\r\n \"type\": \"None\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/259fbb24-9bcd-4cfc-865c-fc33b22fe38a/resourceGroups/cli_test_cosmosdb_gremlin_databasexckkvrc6ixikvz77aw4cvojm4i6vseqpae4b6jxmb/providers/Microsoft.DocumentDB/databaseAccounts/cliao4jep5ayfse\",\r\n \"name\": \"cliao4jep5ayfse\",\r\n \"location\": \"West US\",\r\n \"type\": \"Microsoft.DocumentDB/databaseAccounts\",\r\n \"kind\": \"GlobalDocumentDB\",\r\n \"tags\": {},\r\n \"systemData\": {\r\n \"createdAt\": \"2021-06-15T01:49:15.8735901Z\"\r\n },\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"documentEndpoint\": \"https://cliao4jep5ayfse.documents.azure.com:443/\",\r\n \"gremlinEndpoint\": \"https://cliao4jep5ayfse.gremlin.cosmos.azure.com:443/\",\r\n \"publicNetworkAccess\": \"Enabled\",\r\n \"enableAutomaticFailover\": false,\r\n \"enableMultipleWriteLocations\": false,\r\n \"enablePartitionKeyMonitor\": false,\r\n \"isVirtualNetworkFilterEnabled\": false,\r\n \"virtualNetworkRules\": [],\r\n \"EnabledApiTypes\": \"Gremlin, Sql\",\r\n \"disableKeyBasedMetadataWriteAccess\": false,\r\n \"enableFreeTier\": false,\r\n \"enableAnalyticalStorage\": false,\r\n \"analyticalStorageConfiguration\": {\r\n \"analyticalStorageSchemaType\": \"WellDefined\"\r\n },\r\n \"instanceId\": \"8ae4e99a-8bc4-404d-8bc0-140a7c1f5091\",\r\n \"createMode\": \"Default\",\r\n \"databaseAccountOfferType\": \"Standard\",\r\n \"defaultIdentity\": \"FirstPartyIdentity\",\r\n \"networkAclBypass\": \"None\",\r\n \"disableLocalAuth\": false,\r\n \"consistencyPolicy\": {\r\n \"defaultConsistencyLevel\": \"Session\",\r\n \"maxIntervalInSeconds\": 5,\r\n \"maxStalenessPrefix\": 100\r\n },\r\n \"configurationOverrides\": {},\r\n \"writeLocations\": [\r\n {\r\n \"id\": \"cliao4jep5ayfse-westus\",\r\n \"locationName\": \"West US\",\r\n \"documentEndpoint\": \"https://cliao4jep5ayfse-westus.documents.azure.com:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"readLocations\": [\r\n {\r\n \"id\": \"cliao4jep5ayfse-westus\",\r\n \"locationName\": \"West US\",\r\n \"documentEndpoint\": \"https://cliao4jep5ayfse-westus.documents.azure.com:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"locations\": [\r\n {\r\n \"id\": \"cliao4jep5ayfse-westus\",\r\n \"locationName\": \"West US\",\r\n \"documentEndpoint\": \"https://cliao4jep5ayfse-westus.documents.azure.com:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"failoverPolicies\": [\r\n {\r\n \"id\": \"cliao4jep5ayfse-westus\",\r\n \"locationName\": \"West US\",\r\n \"failoverPriority\": 0\r\n }\r\n ],\r\n \"cors\": [],\r\n \"capabilities\": [\r\n {\r\n \"name\": \"EnableGremlin\"\r\n }\r\n ],\r\n \"ipRules\": [],\r\n \"backupPolicy\": {\r\n \"type\": \"Periodic\",\r\n \"periodicModeProperties\": {\r\n \"backupIntervalInMinutes\": 240,\r\n \"backupRetentionIntervalInHours\": 8,\r\n \"backupStorageRedundancy\": \"Geo\"\r\n }\r\n },\r\n \"networkAclBypassResourceIds\": []\r\n },\r\n \"identity\": {\r\n \"type\": \"None\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/259fbb24-9bcd-4cfc-865c-fc33b22fe38a/resourceGroups/cli_test_cosmosdb_gremlin_resource_throughput_autoscalexj45jiwevxpgtenmdnkj/providers/Microsoft.DocumentDB/databaseAccounts/cli6n7srd6jjitr\",\r\n \"name\": \"cli6n7srd6jjitr\",\r\n \"location\": \"West US\",\r\n \"type\": \"Microsoft.DocumentDB/databaseAccounts\",\r\n \"kind\": \"GlobalDocumentDB\",\r\n \"tags\": {},\r\n \"systemData\": {\r\n \"createdAt\": \"2021-06-15T04:38:40.9369414Z\"\r\n },\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"documentEndpoint\": \"https://cli6n7srd6jjitr.documents.azure.com:443/\",\r\n \"gremlinEndpoint\": \"https://cli6n7srd6jjitr.gremlin.cosmos.azure.com:443/\",\r\n \"publicNetworkAccess\": \"Enabled\",\r\n \"enableAutomaticFailover\": false,\r\n \"enableMultipleWriteLocations\": false,\r\n \"enablePartitionKeyMonitor\": false,\r\n \"isVirtualNetworkFilterEnabled\": false,\r\n \"virtualNetworkRules\": [],\r\n \"EnabledApiTypes\": \"Gremlin, Sql\",\r\n \"disableKeyBasedMetadataWriteAccess\": false,\r\n \"enableFreeTier\": false,\r\n \"enableAnalyticalStorage\": false,\r\n \"analyticalStorageConfiguration\": {\r\n \"analyticalStorageSchemaType\": \"WellDefined\"\r\n },\r\n \"instanceId\": \"4fcbe37e-25b9-458c-9701-589524494157\",\r\n \"createMode\": \"Default\",\r\n \"databaseAccountOfferType\": \"Standard\",\r\n \"defaultIdentity\": \"FirstPartyIdentity\",\r\n \"networkAclBypass\": \"None\",\r\n \"disableLocalAuth\": false,\r\n \"consistencyPolicy\": {\r\n \"defaultConsistencyLevel\": \"Session\",\r\n \"maxIntervalInSeconds\": 5,\r\n \"maxStalenessPrefix\": 100\r\n },\r\n \"configurationOverrides\": {},\r\n \"writeLocations\": [\r\n {\r\n \"id\": \"cli6n7srd6jjitr-westus\",\r\n \"locationName\": \"West US\",\r\n \"documentEndpoint\": \"https://cli6n7srd6jjitr-westus.documents.azure.com:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"readLocations\": [\r\n {\r\n \"id\": \"cli6n7srd6jjitr-westus\",\r\n \"locationName\": \"West US\",\r\n \"documentEndpoint\": \"https://cli6n7srd6jjitr-westus.documents.azure.com:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"locations\": [\r\n {\r\n \"id\": \"cli6n7srd6jjitr-westus\",\r\n \"locationName\": \"West US\",\r\n \"documentEndpoint\": \"https://cli6n7srd6jjitr-westus.documents.azure.com:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"failoverPolicies\": [\r\n {\r\n \"id\": \"cli6n7srd6jjitr-westus\",\r\n \"locationName\": \"West US\",\r\n \"failoverPriority\": 0\r\n }\r\n ],\r\n \"cors\": [],\r\n \"capabilities\": [\r\n {\r\n \"name\": \"EnableGremlin\"\r\n }\r\n ],\r\n \"ipRules\": [],\r\n \"backupPolicy\": {\r\n \"type\": \"Periodic\",\r\n \"periodicModeProperties\": {\r\n \"backupIntervalInMinutes\": 240,\r\n \"backupRetentionIntervalInHours\": 8,\r\n \"backupStorageRedundancy\": \"Geo\"\r\n }\r\n },\r\n \"networkAclBypassResourceIds\": []\r\n },\r\n \"identity\": {\r\n \"type\": \"None\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/259fbb24-9bcd-4cfc-865c-fc33b22fe38a/resourceGroups/cli_test_cosmosdb_mongodb_collectionbjhsd5izic2stmql7rehy5wipp4szuqukbhaqfj/providers/Microsoft.DocumentDB/databaseAccounts/climbpvjuhit7r5\",\r\n \"name\": \"climbpvjuhit7r5\",\r\n \"location\": \"West US\",\r\n \"type\": \"Microsoft.DocumentDB/databaseAccounts\",\r\n \"kind\": \"MongoDB\",\r\n \"tags\": {},\r\n \"systemData\": {\r\n \"createdAt\": \"2021-06-15T04:40:26.2069732Z\"\r\n },\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"documentEndpoint\": \"https://climbpvjuhit7r5.documents.azure.com:443/\",\r\n \"publicNetworkAccess\": \"Enabled\",\r\n \"enableAutomaticFailover\": false,\r\n \"enableMultipleWriteLocations\": false,\r\n \"enablePartitionKeyMonitor\": false,\r\n \"isVirtualNetworkFilterEnabled\": false,\r\n \"virtualNetworkRules\": [],\r\n \"EnabledApiTypes\": \"MongoDB\",\r\n \"disableKeyBasedMetadataWriteAccess\": false,\r\n \"enableFreeTier\": false,\r\n \"enableAnalyticalStorage\": true,\r\n \"analyticalStorageConfiguration\": {\r\n \"analyticalStorageSchemaType\": \"FullFidelity\"\r\n },\r\n \"instanceId\": \"9682959d-4f8f-41fa-9e10-2ef1e5b569cc\",\r\n \"createMode\": \"Default\",\r\n \"databaseAccountOfferType\": \"Standard\",\r\n \"defaultIdentity\": \"FirstPartyIdentity\",\r\n \"networkAclBypass\": \"None\",\r\n \"disableLocalAuth\": false,\r\n \"consistencyPolicy\": {\r\n \"defaultConsistencyLevel\": \"Session\",\r\n \"maxIntervalInSeconds\": 5,\r\n \"maxStalenessPrefix\": 100\r\n },\r\n \"apiProperties\": {\r\n \"serverVersion\": \"3.2\"\r\n },\r\n \"configurationOverrides\": {\r\n \"EnableBsonSchema\": \"True\"\r\n },\r\n \"writeLocations\": [\r\n {\r\n \"id\": \"climbpvjuhit7r5-westus\",\r\n \"locationName\": \"West US\",\r\n \"documentEndpoint\": \"https://climbpvjuhit7r5-westus.documents.azure.com:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"readLocations\": [\r\n {\r\n \"id\": \"climbpvjuhit7r5-westus\",\r\n \"locationName\": \"West US\",\r\n \"documentEndpoint\": \"https://climbpvjuhit7r5-westus.documents.azure.com:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"locations\": [\r\n {\r\n \"id\": \"climbpvjuhit7r5-westus\",\r\n \"locationName\": \"West US\",\r\n \"documentEndpoint\": \"https://climbpvjuhit7r5-westus.documents.azure.com:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"failoverPolicies\": [\r\n {\r\n \"id\": \"climbpvjuhit7r5-westus\",\r\n \"locationName\": \"West US\",\r\n \"failoverPriority\": 0\r\n }\r\n ],\r\n \"cors\": [],\r\n \"capabilities\": [],\r\n \"ipRules\": [],\r\n \"backupPolicy\": {\r\n \"type\": \"Periodic\",\r\n \"periodicModeProperties\": {\r\n \"backupIntervalInMinutes\": 240,\r\n \"backupRetentionIntervalInHours\": 8,\r\n \"backupStorageRedundancy\": \"Geo\"\r\n }\r\n },\r\n \"networkAclBypassResourceIds\": []\r\n },\r\n \"identity\": {\r\n \"type\": \"None\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/259fbb24-9bcd-4cfc-865c-fc33b22fe38a/resourceGroups/cli_test_cosmosdb_key_vault_key_urivnuy7shfk3js2socz7gu732n4pf5fqe37xpscp52/providers/Microsoft.DocumentDB/databaseAccounts/cliuwdawg7ecrgu\",\r\n \"name\": \"cliuwdawg7ecrgu\",\r\n \"location\": \"West US\",\r\n \"type\": \"Microsoft.DocumentDB/databaseAccounts\",\r\n \"kind\": \"GlobalDocumentDB\",\r\n \"tags\": {},\r\n \"systemData\": {\r\n \"createdAt\": \"2021-06-15T04:43:16.4298305Z\"\r\n },\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"documentEndpoint\": \"https://cliuwdawg7ecrgu.documents.azure.com:443/\",\r\n \"publicNetworkAccess\": \"Enabled\",\r\n \"enableAutomaticFailover\": false,\r\n \"enableMultipleWriteLocations\": false,\r\n \"enablePartitionKeyMonitor\": false,\r\n \"isVirtualNetworkFilterEnabled\": false,\r\n \"virtualNetworkRules\": [],\r\n \"EnabledApiTypes\": \"Sql\",\r\n \"disableKeyBasedMetadataWriteAccess\": false,\r\n \"enableFreeTier\": false,\r\n \"enableAnalyticalStorage\": false,\r\n \"analyticalStorageConfiguration\": {\r\n \"analyticalStorageSchemaType\": \"WellDefined\"\r\n },\r\n \"instanceId\": \"c410b487-4a7f-40bf-a291-0212e5592814\",\r\n \"createMode\": \"Default\",\r\n \"databaseAccountOfferType\": \"Standard\",\r\n \"keyVaultKeyUri\": \"https://clik4innit62zx3.vault.azure.net/keys/cliwtl7farjf7vl\",\r\n \"defaultIdentity\": \"FirstPartyIdentity\",\r\n \"networkAclBypass\": \"None\",\r\n \"disableLocalAuth\": false,\r\n \"consistencyPolicy\": {\r\n \"defaultConsistencyLevel\": \"Session\",\r\n \"maxIntervalInSeconds\": 5,\r\n \"maxStalenessPrefix\": 100\r\n },\r\n \"configurationOverrides\": {},\r\n \"writeLocations\": [\r\n {\r\n \"id\": \"cliuwdawg7ecrgu-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://cliuwdawg7ecrgu-eastus2.documents.azure.com:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"readLocations\": [\r\n {\r\n \"id\": \"cliuwdawg7ecrgu-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://cliuwdawg7ecrgu-eastus2.documents.azure.com:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"locations\": [\r\n {\r\n \"id\": \"cliuwdawg7ecrgu-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://cliuwdawg7ecrgu-eastus2.documents.azure.com:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"failoverPolicies\": [\r\n {\r\n \"id\": \"cliuwdawg7ecrgu-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"failoverPriority\": 0\r\n }\r\n ],\r\n \"cors\": [],\r\n \"capabilities\": [],\r\n \"ipRules\": [],\r\n \"backupPolicy\": {\r\n \"type\": \"Periodic\",\r\n \"periodicModeProperties\": {\r\n \"backupIntervalInMinutes\": 240,\r\n \"backupRetentionIntervalInHours\": 8,\r\n \"backupStorageRedundancy\": \"Geo\"\r\n }\r\n },\r\n \"networkAclBypassResourceIds\": []\r\n },\r\n \"identity\": {\r\n \"type\": \"None\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/259fbb24-9bcd-4cfc-865c-fc33b22fe38a/resourceGroups/cli_test_cosmosdb_restore_using_createtl4ul5oaohhv7zroqvirz5le464ad4cqrn2o7/providers/Microsoft.DocumentDB/databaseAccounts/clix7mfbnl5lhqc\",\r\n \"name\": \"clix7mfbnl5lhqc\",\r\n \"location\": \"West US\",\r\n \"type\": \"Microsoft.DocumentDB/databaseAccounts\",\r\n \"kind\": \"GlobalDocumentDB\",\r\n \"tags\": {},\r\n \"systemData\": {\r\n \"createdAt\": \"2021-06-15T21:38:12.398056Z\"\r\n },\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"documentEndpoint\": \"https://clix7mfbnl5lhqc.documents.azure.com:443/\",\r\n \"publicNetworkAccess\": \"Enabled\",\r\n \"enableAutomaticFailover\": false,\r\n \"enableMultipleWriteLocations\": false,\r\n \"enablePartitionKeyMonitor\": false,\r\n \"isVirtualNetworkFilterEnabled\": false,\r\n \"virtualNetworkRules\": [],\r\n \"EnabledApiTypes\": \"Sql\",\r\n \"disableKeyBasedMetadataWriteAccess\": false,\r\n \"enableFreeTier\": false,\r\n \"enableAnalyticalStorage\": false,\r\n \"analyticalStorageConfiguration\": {\r\n \"analyticalStorageSchemaType\": \"WellDefined\"\r\n },\r\n \"instanceId\": \"ed492eb3-1c3c-4abc-ab87-9ec9ee7a406a\",\r\n \"createMode\": \"Default\",\r\n \"databaseAccountOfferType\": \"Standard\",\r\n \"defaultIdentity\": \"FirstPartyIdentity\",\r\n \"networkAclBypass\": \"None\",\r\n \"disableLocalAuth\": false,\r\n \"consistencyPolicy\": {\r\n \"defaultConsistencyLevel\": \"Session\",\r\n \"maxIntervalInSeconds\": 5,\r\n \"maxStalenessPrefix\": 100\r\n },\r\n \"configurationOverrides\": {},\r\n \"writeLocations\": [\r\n {\r\n \"id\": \"clix7mfbnl5lhqc-westus\",\r\n \"locationName\": \"West US\",\r\n \"documentEndpoint\": \"https://clix7mfbnl5lhqc-westus.documents.azure.com:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"readLocations\": [\r\n {\r\n \"id\": \"clix7mfbnl5lhqc-westus\",\r\n \"locationName\": \"West US\",\r\n \"documentEndpoint\": \"https://clix7mfbnl5lhqc-westus.documents.azure.com:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"locations\": [\r\n {\r\n \"id\": \"clix7mfbnl5lhqc-westus\",\r\n \"locationName\": \"West US\",\r\n \"documentEndpoint\": \"https://clix7mfbnl5lhqc-westus.documents.azure.com:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"failoverPolicies\": [\r\n {\r\n \"id\": \"clix7mfbnl5lhqc-westus\",\r\n \"locationName\": \"West US\",\r\n \"failoverPriority\": 0\r\n }\r\n ],\r\n \"cors\": [],\r\n \"capabilities\": [],\r\n \"ipRules\": [],\r\n \"backupPolicy\": {\r\n \"type\": \"Continuous\"\r\n },\r\n \"networkAclBypassResourceIds\": []\r\n },\r\n \"identity\": {\r\n \"type\": \"None\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/259fbb24-9bcd-4cfc-865c-fc33b22fe38a/resourceGroups/cli_test_cosmosdb_table_resource_throughputsawoplrehdp6kolrlynkuzib765s2uan/providers/Microsoft.DocumentDB/databaseAccounts/cli37h5ssnszd3z\",\r\n \"name\": \"cli37h5ssnszd3z\",\r\n \"location\": \"West US\",\r\n \"type\": \"Microsoft.DocumentDB/databaseAccounts\",\r\n \"kind\": \"GlobalDocumentDB\",\r\n \"tags\": {},\r\n \"systemData\": {\r\n \"createdAt\": \"2021-06-15T21:43:36.8084057Z\"\r\n },\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"documentEndpoint\": \"https://cli37h5ssnszd3z.documents.azure.com:443/\",\r\n \"tableEndpoint\": \"https://cli37h5ssnszd3z.table.cosmos.azure.com:443/\",\r\n \"publicNetworkAccess\": \"Enabled\",\r\n \"enableAutomaticFailover\": false,\r\n \"enableMultipleWriteLocations\": false,\r\n \"enablePartitionKeyMonitor\": false,\r\n \"isVirtualNetworkFilterEnabled\": false,\r\n \"virtualNetworkRules\": [],\r\n \"EnabledApiTypes\": \"Table, Sql\",\r\n \"disableKeyBasedMetadataWriteAccess\": false,\r\n \"enableFreeTier\": false,\r\n \"enableAnalyticalStorage\": false,\r\n \"analyticalStorageConfiguration\": {\r\n \"analyticalStorageSchemaType\": \"WellDefined\"\r\n },\r\n \"instanceId\": \"4d309cf9-4071-4334-ada2-d7af593ce684\",\r\n \"createMode\": \"Default\",\r\n \"databaseAccountOfferType\": \"Standard\",\r\n \"defaultIdentity\": \"FirstPartyIdentity\",\r\n \"networkAclBypass\": \"None\",\r\n \"disableLocalAuth\": false,\r\n \"consistencyPolicy\": {\r\n \"defaultConsistencyLevel\": \"BoundedStaleness\",\r\n \"maxIntervalInSeconds\": 86400,\r\n \"maxStalenessPrefix\": 1000000\r\n },\r\n \"configurationOverrides\": {},\r\n \"writeLocations\": [\r\n {\r\n \"id\": \"cli37h5ssnszd3z-westus\",\r\n \"locationName\": \"West US\",\r\n \"documentEndpoint\": \"https://cli37h5ssnszd3z-westus.documents.azure.com:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"readLocations\": [\r\n {\r\n \"id\": \"cli37h5ssnszd3z-westus\",\r\n \"locationName\": \"West US\",\r\n \"documentEndpoint\": \"https://cli37h5ssnszd3z-westus.documents.azure.com:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"locations\": [\r\n {\r\n \"id\": \"cli37h5ssnszd3z-westus\",\r\n \"locationName\": \"West US\",\r\n \"documentEndpoint\": \"https://cli37h5ssnszd3z-westus.documents.azure.com:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"failoverPolicies\": [\r\n {\r\n \"id\": \"cli37h5ssnszd3z-westus\",\r\n \"locationName\": \"West US\",\r\n \"failoverPriority\": 0\r\n }\r\n ],\r\n \"cors\": [],\r\n \"capabilities\": [\r\n {\r\n \"name\": \"EnableTable\"\r\n }\r\n ],\r\n \"ipRules\": [],\r\n \"backupPolicy\": {\r\n \"type\": \"Periodic\",\r\n \"periodicModeProperties\": {\r\n \"backupIntervalInMinutes\": 240,\r\n \"backupRetentionIntervalInHours\": 8,\r\n \"backupStorageRedundancy\": \"Geo\"\r\n }\r\n },\r\n \"networkAclBypassResourceIds\": []\r\n },\r\n \"identity\": {\r\n \"type\": \"None\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/259fbb24-9bcd-4cfc-865c-fc33b22fe38a/resourceGroups/cli_test_cosmosdb_table5q3hsxazw22bgdso4yc2dkiuqgba63f23kyeb2f5xh3zof6zbcml/providers/Microsoft.DocumentDB/databaseAccounts/clit3enewtlkml2\",\r\n \"name\": \"clit3enewtlkml2\",\r\n \"location\": \"West US\",\r\n \"type\": \"Microsoft.DocumentDB/databaseAccounts\",\r\n \"kind\": \"GlobalDocumentDB\",\r\n \"tags\": {},\r\n \"systemData\": {\r\n \"createdAt\": \"2021-06-15T21:43:08.0385772Z\"\r\n },\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"documentEndpoint\": \"https://clit3enewtlkml2.documents.azure.com:443/\",\r\n \"tableEndpoint\": \"https://clit3enewtlkml2.table.cosmos.azure.com:443/\",\r\n \"publicNetworkAccess\": \"Enabled\",\r\n \"enableAutomaticFailover\": false,\r\n \"enableMultipleWriteLocations\": false,\r\n \"enablePartitionKeyMonitor\": false,\r\n \"isVirtualNetworkFilterEnabled\": false,\r\n \"virtualNetworkRules\": [],\r\n \"EnabledApiTypes\": \"Table, Sql\",\r\n \"disableKeyBasedMetadataWriteAccess\": false,\r\n \"enableFreeTier\": false,\r\n \"enableAnalyticalStorage\": false,\r\n \"analyticalStorageConfiguration\": {\r\n \"analyticalStorageSchemaType\": \"WellDefined\"\r\n },\r\n \"instanceId\": \"6d4956c3-6c72-42ca-ad2a-0a8c992c55da\",\r\n \"createMode\": \"Default\",\r\n \"databaseAccountOfferType\": \"Standard\",\r\n \"defaultIdentity\": \"FirstPartyIdentity\",\r\n \"networkAclBypass\": \"None\",\r\n \"disableLocalAuth\": false,\r\n \"consistencyPolicy\": {\r\n \"defaultConsistencyLevel\": \"BoundedStaleness\",\r\n \"maxIntervalInSeconds\": 86400,\r\n \"maxStalenessPrefix\": 1000000\r\n },\r\n \"configurationOverrides\": {},\r\n \"writeLocations\": [\r\n {\r\n \"id\": \"clit3enewtlkml2-westus\",\r\n \"locationName\": \"West US\",\r\n \"documentEndpoint\": \"https://clit3enewtlkml2-westus.documents.azure.com:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"readLocations\": [\r\n {\r\n \"id\": \"clit3enewtlkml2-westus\",\r\n \"locationName\": \"West US\",\r\n \"documentEndpoint\": \"https://clit3enewtlkml2-westus.documents.azure.com:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"locations\": [\r\n {\r\n \"id\": \"clit3enewtlkml2-westus\",\r\n \"locationName\": \"West US\",\r\n \"documentEndpoint\": \"https://clit3enewtlkml2-westus.documents.azure.com:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"failoverPolicies\": [\r\n {\r\n \"id\": \"clit3enewtlkml2-westus\",\r\n \"locationName\": \"West US\",\r\n \"failoverPriority\": 0\r\n }\r\n ],\r\n \"cors\": [],\r\n \"capabilities\": [\r\n {\r\n \"name\": \"EnableTable\"\r\n }\r\n ],\r\n \"ipRules\": [],\r\n \"backupPolicy\": {\r\n \"type\": \"Periodic\",\r\n \"periodicModeProperties\": {\r\n \"backupIntervalInMinutes\": 240,\r\n \"backupRetentionIntervalInHours\": 8,\r\n \"backupStorageRedundancy\": \"Geo\"\r\n }\r\n },\r\n \"networkAclBypassResourceIds\": []\r\n },\r\n \"identity\": {\r\n \"type\": \"None\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/259fbb24-9bcd-4cfc-865c-fc33b22fe38a/resourceGroups/kakhandr-rd/providers/Microsoft.DocumentDB/databaseAccounts/kal-dedicated-test\",\r\n \"name\": \"kal-dedicated-test\",\r\n \"location\": \"South Central US\",\r\n \"type\": \"Microsoft.DocumentDB/databaseAccounts\",\r\n \"kind\": \"GlobalDocumentDB\",\r\n \"tags\": {\r\n \"defaultExperience\": \"Core (SQL)\",\r\n \"hidden-cosmos-mmspecial\": \"\",\r\n \"CosmosAccountType\": \"Non-Production\"\r\n },\r\n \"systemData\": {\r\n \"createdAt\": \"2020-10-05T23:57:44.8347861Z\"\r\n },\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"documentEndpoint\": \"https://kal-dedicated-test.documents.azure.com:443/\",\r\n \"publicNetworkAccess\": \"Enabled\",\r\n \"enableAutomaticFailover\": false,\r\n \"enableMultipleWriteLocations\": false,\r\n \"enablePartitionKeyMonitor\": false,\r\n \"isVirtualNetworkFilterEnabled\": false,\r\n \"virtualNetworkRules\": [],\r\n \"EnabledApiTypes\": \"Sql\",\r\n \"disableKeyBasedMetadataWriteAccess\": false,\r\n \"enableFreeTier\": false,\r\n \"enableAnalyticalStorage\": false,\r\n \"analyticalStorageConfiguration\": {},\r\n \"instanceId\": \"ed1b5536-d225-4af9-bf33-71ff5fc8ef4b\",\r\n \"createMode\": \"Default\",\r\n \"databaseAccountOfferType\": \"Standard\",\r\n \"defaultIdentity\": \"\",\r\n \"networkAclBypass\": \"None\",\r\n \"disableLocalAuth\": false,\r\n \"consistencyPolicy\": {\r\n \"defaultConsistencyLevel\": \"Session\",\r\n \"maxIntervalInSeconds\": 5,\r\n \"maxStalenessPrefix\": 100\r\n },\r\n \"configurationOverrides\": {},\r\n \"writeLocations\": [\r\n {\r\n \"id\": \"kal-dedicated-test-southcentralus\",\r\n \"locationName\": \"South Central US\",\r\n \"documentEndpoint\": \"https://kal-dedicated-test-southcentralus.documents.azure.com:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"readLocations\": [\r\n {\r\n \"id\": \"kal-dedicated-test-southcentralus\",\r\n \"locationName\": \"South Central US\",\r\n \"documentEndpoint\": \"https://kal-dedicated-test-southcentralus.documents.azure.com:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"locations\": [\r\n {\r\n \"id\": \"kal-dedicated-test-southcentralus\",\r\n \"locationName\": \"South Central US\",\r\n \"documentEndpoint\": \"https://kal-dedicated-test-southcentralus.documents.azure.com:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"failoverPolicies\": [\r\n {\r\n \"id\": \"kal-dedicated-test-southcentralus\",\r\n \"locationName\": \"South Central US\",\r\n \"failoverPriority\": 0\r\n }\r\n ],\r\n \"cors\": [],\r\n \"capabilities\": [],\r\n \"ipRules\": [],\r\n \"backupPolicy\": {\r\n \"type\": \"Continuous\"\r\n },\r\n \"networkAclBypassResourceIds\": []\r\n },\r\n \"identity\": {\r\n \"type\": \"None\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/259fbb24-9bcd-4cfc-865c-fc33b22fe38a/resourceGroups/amisirg/providers/Microsoft.DocumentDB/databaseAccounts/amisitestaccount\",\r\n \"name\": \"amisitestaccount\",\r\n \"location\": \"East US\",\r\n \"type\": \"Microsoft.DocumentDB/databaseAccounts\",\r\n \"kind\": \"GlobalDocumentDB\",\r\n \"tags\": {\r\n \"defaultExperience\": \"Core (SQL)\",\r\n \"hidden-cosmos-mmspecial\": \"\"\r\n },\r\n \"systemData\": {\r\n \"createdAt\": \"2021-06-14T18:25:56.8104699Z\"\r\n },\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"documentEndpoint\": \"https://amisitestaccount.documents.azure.com:443/\",\r\n \"publicNetworkAccess\": \"Enabled\",\r\n \"enableAutomaticFailover\": false,\r\n \"enableMultipleWriteLocations\": false,\r\n \"enablePartitionKeyMonitor\": false,\r\n \"isVirtualNetworkFilterEnabled\": false,\r\n \"virtualNetworkRules\": [],\r\n \"EnabledApiTypes\": \"Sql\",\r\n \"disableKeyBasedMetadataWriteAccess\": false,\r\n \"enableFreeTier\": false,\r\n \"enableAnalyticalStorage\": false,\r\n \"analyticalStorageConfiguration\": {\r\n \"analyticalStorageSchemaType\": \"WellDefined\"\r\n },\r\n \"instanceId\": \"afd28572-807d-4ea2-bf0f-65f0b4e411dc\",\r\n \"createMode\": \"Default\",\r\n \"databaseAccountOfferType\": \"Standard\",\r\n \"defaultIdentity\": \"FirstPartyIdentity\",\r\n \"networkAclBypass\": \"None\",\r\n \"disableLocalAuth\": false,\r\n \"consistencyPolicy\": {\r\n \"defaultConsistencyLevel\": \"Session\",\r\n \"maxIntervalInSeconds\": 5,\r\n \"maxStalenessPrefix\": 100\r\n },\r\n \"configurationOverrides\": {},\r\n \"writeLocations\": [\r\n {\r\n \"id\": \"amisitestaccount-eastus\",\r\n \"locationName\": \"East US\",\r\n \"documentEndpoint\": \"https://amisitestaccount-eastus.documents.azure.com:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"readLocations\": [\r\n {\r\n \"id\": \"amisitestaccount-eastus\",\r\n \"locationName\": \"East US\",\r\n \"documentEndpoint\": \"https://amisitestaccount-eastus.documents.azure.com:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"locations\": [\r\n {\r\n \"id\": \"amisitestaccount-eastus\",\r\n \"locationName\": \"East US\",\r\n \"documentEndpoint\": \"https://amisitestaccount-eastus.documents.azure.com:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"failoverPolicies\": [\r\n {\r\n \"id\": \"amisitestaccount-eastus\",\r\n \"locationName\": \"East US\",\r\n \"failoverPriority\": 0\r\n }\r\n ],\r\n \"cors\": [],\r\n \"capabilities\": [],\r\n \"ipRules\": [],\r\n \"backupPolicy\": {\r\n \"type\": \"Continuous\"\r\n },\r\n \"networkAclBypassResourceIds\": []\r\n },\r\n \"identity\": {\r\n \"type\": \"None\"\r\n }\r\n }\r\n ]\r\n}", "StatusCode": 200 }, { - "RequestUri": "/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/resourceGroups/CosmosDBResourceGroup6394/providers/Microsoft.DocumentDB/databaseAccounts?api-version=2021-04-15", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvODBiZTM5NjEtMDUyMS00YTBhLTg1NzAtNWNkNWE0ZTJmOThjL3Jlc291cmNlR3JvdXBzL0Nvc21vc0RCUmVzb3VyY2VHcm91cDYzOTQvcHJvdmlkZXJzL01pY3Jvc29mdC5Eb2N1bWVudERCL2RhdGFiYXNlQWNjb3VudHM/YXBpLXZlcnNpb249MjAyMS0wNC0xNQ==", + "RequestUri": "/subscriptions/259fbb24-9bcd-4cfc-865c-fc33b22fe38a/resourceGroups/CosmosDBResourceGroup8650/providers/Microsoft.DocumentDB/databaseAccounts?api-version=2021-06-15", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMjU5ZmJiMjQtOWJjZC00Y2ZjLTg2NWMtZmMzM2IyMmZlMzhhL3Jlc291cmNlR3JvdXBzL0Nvc21vc0RCUmVzb3VyY2VHcm91cDg2NTAvcHJvdmlkZXJzL01pY3Jvc29mdC5Eb2N1bWVudERCL2RhdGFiYXNlQWNjb3VudHM/YXBpLXZlcnNpb249MjAyMS0wNi0xNQ==", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { "x-ms-client-request-id": [ - "c78274a6-8971-46d8-a083-f470cdd47dd4" + "78d0f1c7-6744-40b1-8ec7-c6eb8ba5e92a" ], "Accept-Language": [ "en-US" ], "User-Agent": [ - "FxVersion/4.6.29916.01", + "FxVersion/4.6.28207.03", "OSName/Windows", - "OSVersion/Microsoft.Windows.10.0.19042.", + "OSVersion/Microsoft.Windows.10.0.19043.", "Microsoft.Azure.Management.CosmosDB.CosmosDBManagementClient/3.0.0.0" ] }, @@ -2948,55 +2209,55 @@ "max-age=31536000; includeSubDomains" ], "x-ms-gatewayversion": [ - "version=2.11.0" + "version=2.14.0" ], "Server": [ "Microsoft-HTTPAPI/2.0" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "11952" + "11966" ], "x-ms-request-id": [ - "5706bcde-9159-4812-9a48-17841dad405d" + "eaccf451-d0c9-4879-a38a-0986de621e89" ], "x-ms-correlation-request-id": [ - "5706bcde-9159-4812-9a48-17841dad405d" + "eaccf451-d0c9-4879-a38a-0986de621e89" ], "x-ms-routing-request-id": [ - "WESTCENTRALUS:20210427T173824Z:5706bcde-9159-4812-9a48-17841dad405d" + "WESTUS2:20210616T052243Z:eaccf451-d0c9-4879-a38a-0986de621e89" ], "X-Content-Type-Options": [ "nosniff" ], "Date": [ - "Tue, 27 Apr 2021 17:38:23 GMT" + "Wed, 16 Jun 2021 05:22:42 GMT" ], "Content-Length": [ - "2822" + "2701" ], "Content-Type": [ "application/json" ] }, - "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/resourceGroups/CosmosDBResourceGroup6394/providers/Microsoft.DocumentDB/databaseAccounts/accountname9088\",\r\n \"name\": \"accountname9088\",\r\n \"location\": \"East US 2\",\r\n \"type\": \"Microsoft.DocumentDB/databaseAccounts\",\r\n \"kind\": \"MongoDB\",\r\n \"tags\": {\r\n \"key3\": \"value3\",\r\n \"key4\": \"value4\"\r\n },\r\n \"systemData\": {\r\n \"createdAt\": \"2021-04-27T17:25:41.0988424Z\"\r\n },\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"documentEndpoint\": \"https://accountname9088.documents-staging.windows-ppe.net:443/\",\r\n \"mongoEndpoint\": \"https://accountname9088.mongo.cosmos.windows-ppe.net:443/\",\r\n \"publicNetworkAccess\": \"Enabled\",\r\n \"enableAutomaticFailover\": true,\r\n \"enableMultipleWriteLocations\": true,\r\n \"enablePartitionKeyMonitor\": false,\r\n \"isVirtualNetworkFilterEnabled\": false,\r\n \"virtualNetworkRules\": [],\r\n \"EnabledApiTypes\": \"MongoDB\",\r\n \"disableKeyBasedMetadataWriteAccess\": true,\r\n \"enableFreeTier\": false,\r\n \"enableAnalyticalStorage\": false,\r\n \"analyticalStorageConfiguration\": null,\r\n \"instanceId\": \"c3f52ca9-535e-46c4-85d4-8b8c6a46d967\",\r\n \"createMode\": \"Default\",\r\n \"databaseAccountOfferType\": \"Standard\",\r\n \"enableCassandraConnector\": true,\r\n \"connectorOffer\": \"Small\",\r\n \"enableMaterializedViews\": false,\r\n \"enableFullFidelityChangeFeed\": false,\r\n \"defaultIdentity\": \"FirstPartyIdentity\",\r\n \"networkAclBypass\": \"AzureServices\",\r\n \"consistencyPolicy\": {\r\n \"defaultConsistencyLevel\": \"Session\",\r\n \"maxIntervalInSeconds\": 5,\r\n \"maxStalenessPrefix\": 100\r\n },\r\n \"apiProperties\": {\r\n \"serverVersion\": \"3.6\"\r\n },\r\n \"configurationOverrides\": {\r\n \"EnableBsonSchema\": \"True\"\r\n },\r\n \"writeLocations\": [\r\n {\r\n \"id\": \"accountname9088-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://accountname9088-eastus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"readLocations\": [\r\n {\r\n \"id\": \"accountname9088-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://accountname9088-eastus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"locations\": [\r\n {\r\n \"id\": \"accountname9088-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://accountname9088-eastus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"failoverPolicies\": [\r\n {\r\n \"id\": \"accountname9088-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"failoverPriority\": 0\r\n }\r\n ],\r\n \"cors\": [],\r\n \"capabilities\": [\r\n {\r\n \"name\": \"EnableMongo\"\r\n }\r\n ],\r\n \"ipRules\": [\r\n {\r\n \"ipAddressOrRange\": \"23.43.230.120\"\r\n }\r\n ],\r\n \"backupPolicy\": {\r\n \"type\": \"Periodic\",\r\n \"periodicModeProperties\": {\r\n \"backupIntervalInMinutes\": 240,\r\n \"backupRetentionIntervalInHours\": 8,\r\n \"backupStorageRedundancy\": \"Geo\"\r\n }\r\n },\r\n \"networkAclBypassResourceIds\": [\r\n \"/subscriptions/subId/resourcegroups/rgName/providers/Microsoft.Synapse/workspaces/workspaceName\",\r\n \"/subscriptions/subId/resourcegroups/rgName/providers/Microsoft.Synapse/workspaces/workspaceName2\"\r\n ]\r\n },\r\n \"identity\": {\r\n \"type\": \"None\"\r\n }\r\n }\r\n ]\r\n}", + "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/subscriptions/259fbb24-9bcd-4cfc-865c-fc33b22fe38a/resourceGroups/CosmosDBResourceGroup8650/providers/Microsoft.DocumentDB/databaseAccounts/accountname4002\",\r\n \"name\": \"accountname4002\",\r\n \"location\": \"East US 2\",\r\n \"type\": \"Microsoft.DocumentDB/databaseAccounts\",\r\n \"kind\": \"MongoDB\",\r\n \"tags\": {\r\n \"key3\": \"value3\",\r\n \"key4\": \"value4\"\r\n },\r\n \"systemData\": {\r\n \"createdAt\": \"2021-06-16T05:10:36.0450002Z\"\r\n },\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"documentEndpoint\": \"https://accountname4002.documents.azure.com:443/\",\r\n \"mongoEndpoint\": \"https://accountname4002.mongo.cosmos.azure.com:443/\",\r\n \"publicNetworkAccess\": \"Enabled\",\r\n \"enableAutomaticFailover\": true,\r\n \"enableMultipleWriteLocations\": true,\r\n \"enablePartitionKeyMonitor\": false,\r\n \"isVirtualNetworkFilterEnabled\": false,\r\n \"virtualNetworkRules\": [],\r\n \"EnabledApiTypes\": \"MongoDB\",\r\n \"disableKeyBasedMetadataWriteAccess\": true,\r\n \"enableFreeTier\": false,\r\n \"enableAnalyticalStorage\": false,\r\n \"analyticalStorageConfiguration\": {\r\n \"analyticalStorageSchemaType\": \"FullFidelity\"\r\n },\r\n \"instanceId\": \"125165e8-3796-40d3-80cd-83d7f3094110\",\r\n \"createMode\": \"Default\",\r\n \"databaseAccountOfferType\": \"Standard\",\r\n \"defaultIdentity\": \"FirstPartyIdentity\",\r\n \"networkAclBypass\": \"AzureServices\",\r\n \"disableLocalAuth\": false,\r\n \"consistencyPolicy\": {\r\n \"defaultConsistencyLevel\": \"Session\",\r\n \"maxIntervalInSeconds\": 5,\r\n \"maxStalenessPrefix\": 100\r\n },\r\n \"apiProperties\": {\r\n \"serverVersion\": \"3.6\"\r\n },\r\n \"configurationOverrides\": {\r\n \"EnableBsonSchema\": \"True\"\r\n },\r\n \"writeLocations\": [\r\n {\r\n \"id\": \"accountname4002-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://accountname4002-eastus2.documents.azure.com:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"readLocations\": [\r\n {\r\n \"id\": \"accountname4002-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://accountname4002-eastus2.documents.azure.com:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"locations\": [\r\n {\r\n \"id\": \"accountname4002-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://accountname4002-eastus2.documents.azure.com:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"failoverPolicies\": [\r\n {\r\n \"id\": \"accountname4002-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"failoverPriority\": 0\r\n }\r\n ],\r\n \"cors\": [],\r\n \"capabilities\": [\r\n {\r\n \"name\": \"EnableMongo\"\r\n }\r\n ],\r\n \"ipRules\": [\r\n {\r\n \"ipAddressOrRange\": \"23.43.230.120\"\r\n }\r\n ],\r\n \"backupPolicy\": {\r\n \"type\": \"Periodic\",\r\n \"periodicModeProperties\": {\r\n \"backupIntervalInMinutes\": 240,\r\n \"backupRetentionIntervalInHours\": 8,\r\n \"backupStorageRedundancy\": \"Geo\"\r\n }\r\n },\r\n \"networkAclBypassResourceIds\": [\r\n \"/subscriptions/subId/resourcegroups/rgName/providers/Microsoft.Synapse/workspaces/workspaceName\",\r\n \"/subscriptions/subId/resourcegroups/rgName/providers/Microsoft.Synapse/workspaces/workspaceName2\"\r\n ]\r\n },\r\n \"identity\": {\r\n \"type\": \"None\"\r\n }\r\n }\r\n ]\r\n}", "StatusCode": 200 }, { - "RequestUri": "/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/resourceGroups/CosmosDBResourceGroup6394/providers/Microsoft.DocumentDB/databaseAccounts/accountname9088/listKeys?api-version=2021-04-15", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvODBiZTM5NjEtMDUyMS00YTBhLTg1NzAtNWNkNWE0ZTJmOThjL3Jlc291cmNlR3JvdXBzL0Nvc21vc0RCUmVzb3VyY2VHcm91cDYzOTQvcHJvdmlkZXJzL01pY3Jvc29mdC5Eb2N1bWVudERCL2RhdGFiYXNlQWNjb3VudHMvYWNjb3VudG5hbWU5MDg4L2xpc3RLZXlzP2FwaS12ZXJzaW9uPTIwMjEtMDQtMTU=", + "RequestUri": "/subscriptions/259fbb24-9bcd-4cfc-865c-fc33b22fe38a/resourceGroups/CosmosDBResourceGroup8650/providers/Microsoft.DocumentDB/databaseAccounts/accountname4002/listKeys?api-version=2021-06-15", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMjU5ZmJiMjQtOWJjZC00Y2ZjLTg2NWMtZmMzM2IyMmZlMzhhL3Jlc291cmNlR3JvdXBzL0Nvc21vc0RCUmVzb3VyY2VHcm91cDg2NTAvcHJvdmlkZXJzL01pY3Jvc29mdC5Eb2N1bWVudERCL2RhdGFiYXNlQWNjb3VudHMvYWNjb3VudG5hbWU0MDAyL2xpc3RLZXlzP2FwaS12ZXJzaW9uPTIwMjEtMDYtMTU=", "RequestMethod": "POST", "RequestBody": "", "RequestHeaders": { "x-ms-client-request-id": [ - "f93f9807-9035-48a3-b2c0-30e8e5d7fa2a" + "d295339f-a806-4dcf-b5ca-ea416b05ebb5" ], "Accept-Language": [ "en-US" ], "User-Agent": [ - "FxVersion/4.6.29916.01", + "FxVersion/4.6.28207.03", "OSName/Windows", - "OSVersion/Microsoft.Windows.10.0.19042.", + "OSVersion/Microsoft.Windows.10.0.19043.", "Microsoft.Azure.Management.CosmosDB.CosmosDBManagementClient/3.0.0.0" ] }, @@ -3011,7 +2272,7 @@ "max-age=31536000; includeSubDomains" ], "x-ms-gatewayversion": [ - "version=2.11.0" + "version=2.14.0" ], "Server": [ "Microsoft-HTTPAPI/2.0" @@ -3020,46 +2281,46 @@ "1199" ], "x-ms-request-id": [ - "a9c374c5-3149-4478-b434-34146f959469" + "8aa7ed92-f863-4fe5-a815-5d7e96a129a1" ], "x-ms-correlation-request-id": [ - "a9c374c5-3149-4478-b434-34146f959469" + "8aa7ed92-f863-4fe5-a815-5d7e96a129a1" ], "x-ms-routing-request-id": [ - "WESTCENTRALUS:20210427T173825Z:a9c374c5-3149-4478-b434-34146f959469" + "WESTUS2:20210616T052243Z:8aa7ed92-f863-4fe5-a815-5d7e96a129a1" ], "X-Content-Type-Options": [ "nosniff" ], "Date": [ - "Tue, 27 Apr 2021 17:38:24 GMT" + "Wed, 16 Jun 2021 05:22:42 GMT" ], "Content-Length": [ - "719" + "461" ], "Content-Type": [ "application/json" ] }, - "ResponseBody": "{\r\n \"primaryMasterKey\": \"cn8JnL6wyR77VxhVC7dX0YOhm01C2HEXeSUM1WMHBtjlDxpVEdOpCxTBnhVHIENcr5XKGGagXAfPgyFCO8Sepg==\",\r\n \"secondaryMasterKey\": \"hv9XLdkdyjIGGkMUAdwSObpNuj9i38jN7bDXuBcexBDujQX6hH2o8nPnGt0VTCCYB8r2XidZeCYHnY7uMtTHpw==\",\r\n \"primaryReadonlyMasterKey\": \"KBMoDHC8Wh2cDjl7cCFtc2TYY6E8ZVSUkgYBwbIcjjtyBalMpwmt30VHKzSdmQvK3F3pQxVAGpgNHvzV5e58zw==\",\r\n \"secondaryReadonlyMasterKey\": \"LONlmuOHYRIYGbdy44DNj6fywBxkPfcorIRXnfvP6xUelhiY3pvP2pijb7uOvlOoQwynuHnsGZAnutkTMJoDDA==\",\r\n \"connectorMetadataAccountPrimaryKey\": \"O4TYOgw5iIlEAGCPGgDYyby4LdsmZUNCw831WDyvVT90ErvonQnlDqwlEh3wLK8SrjEstT15ahYIuiSjltOuyA==\",\r\n \"connectorMetadataAccountSecondaryKey\": \"DhPltJbFttaHBnKcNowi15Cv72bvcXpIaH55p8SqoW1alCqg2AULLx5zXwYk5oHA61KDuao6LUq6oQXVBZCj3w==\"\r\n}", + "ResponseBody": "{\r\n \"primaryMasterKey\": \"I0vkb0fxBcUNAoSPkJI0FlgXXPSqJdR52VDAaTwDkWi2z7iDpt98UqtEMmBldWuyCPF0T8Nt9PVNXAzBP1dwpQ==\",\r\n \"secondaryMasterKey\": \"V7GAVfjiLGhs8p3RrFy0sGRLV8D44VYGf4Pw5OZcfPp6UMgOASi4gA0F1nPQRxHaQCvnvb7QuGLIETN7wle49g==\",\r\n \"primaryReadonlyMasterKey\": \"elCzBt6lrbSyJf6XxpnOISvkQxPKEh8OXublWqmy7DQ8oWgqZ84Csek3i22pWAjklU76rwqTOTdy3Wx5EJNFLQ==\",\r\n \"secondaryReadonlyMasterKey\": \"5oFjTxp9JVD40aufNS6AnJehvYSfFxzg6Q4BODP2pGeNJcjmpQTGK0b2IHwbvPJTMtsWjec1UW2EB1wqZYJF3A==\"\r\n}", "StatusCode": 200 }, { - "RequestUri": "/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/resourceGroups/CosmosDBResourceGroup6394/providers/Microsoft.DocumentDB/databaseAccounts/accountname9088/listKeys?api-version=2021-04-15", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvODBiZTM5NjEtMDUyMS00YTBhLTg1NzAtNWNkNWE0ZTJmOThjL3Jlc291cmNlR3JvdXBzL0Nvc21vc0RCUmVzb3VyY2VHcm91cDYzOTQvcHJvdmlkZXJzL01pY3Jvc29mdC5Eb2N1bWVudERCL2RhdGFiYXNlQWNjb3VudHMvYWNjb3VudG5hbWU5MDg4L2xpc3RLZXlzP2FwaS12ZXJzaW9uPTIwMjEtMDQtMTU=", + "RequestUri": "/subscriptions/259fbb24-9bcd-4cfc-865c-fc33b22fe38a/resourceGroups/CosmosDBResourceGroup8650/providers/Microsoft.DocumentDB/databaseAccounts/accountname4002/listKeys?api-version=2021-06-15", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMjU5ZmJiMjQtOWJjZC00Y2ZjLTg2NWMtZmMzM2IyMmZlMzhhL3Jlc291cmNlR3JvdXBzL0Nvc21vc0RCUmVzb3VyY2VHcm91cDg2NTAvcHJvdmlkZXJzL01pY3Jvc29mdC5Eb2N1bWVudERCL2RhdGFiYXNlQWNjb3VudHMvYWNjb3VudG5hbWU0MDAyL2xpc3RLZXlzP2FwaS12ZXJzaW9uPTIwMjEtMDYtMTU=", "RequestMethod": "POST", "RequestBody": "", "RequestHeaders": { "x-ms-client-request-id": [ - "f9aaf61f-61fd-4f54-8fa9-a09ad8e3bd84" + "76087f7c-9fd0-43ba-b517-cbf04d6d5316" ], "Accept-Language": [ "en-US" ], "User-Agent": [ - "FxVersion/4.6.29916.01", + "FxVersion/4.6.28207.03", "OSName/Windows", - "OSVersion/Microsoft.Windows.10.0.19042.", + "OSVersion/Microsoft.Windows.10.0.19043.", "Microsoft.Azure.Management.CosmosDB.CosmosDBManagementClient/3.0.0.0" ] }, @@ -3074,7 +2335,7 @@ "max-age=31536000; includeSubDomains" ], "x-ms-gatewayversion": [ - "version=2.11.0" + "version=2.14.0" ], "Server": [ "Microsoft-HTTPAPI/2.0" @@ -3083,46 +2344,46 @@ "1199" ], "x-ms-request-id": [ - "418e54bd-474b-4038-96e4-4a4370f065d9" + "65142a1c-c400-4452-a59e-cbd7921250a5" ], "x-ms-correlation-request-id": [ - "418e54bd-474b-4038-96e4-4a4370f065d9" + "65142a1c-c400-4452-a59e-cbd7921250a5" ], "x-ms-routing-request-id": [ - "WESTUS:20210427T173832Z:418e54bd-474b-4038-96e4-4a4370f065d9" + "WESTUS2:20210616T052244Z:65142a1c-c400-4452-a59e-cbd7921250a5" ], "X-Content-Type-Options": [ "nosniff" ], "Date": [ - "Tue, 27 Apr 2021 17:38:31 GMT" + "Wed, 16 Jun 2021 05:22:44 GMT" ], "Content-Length": [ - "719" + "461" ], "Content-Type": [ "application/json" ] }, - "ResponseBody": "{\r\n \"primaryMasterKey\": \"cn8JnL6wyR77VxhVC7dX0YOhm01C2HEXeSUM1WMHBtjlDxpVEdOpCxTBnhVHIENcr5XKGGagXAfPgyFCO8Sepg==\",\r\n \"secondaryMasterKey\": \"hv9XLdkdyjIGGkMUAdwSObpNuj9i38jN7bDXuBcexBDujQX6hH2o8nPnGt0VTCCYB8r2XidZeCYHnY7uMtTHpw==\",\r\n \"primaryReadonlyMasterKey\": \"KBMoDHC8Wh2cDjl7cCFtc2TYY6E8ZVSUkgYBwbIcjjtyBalMpwmt30VHKzSdmQvK3F3pQxVAGpgNHvzV5e58zw==\",\r\n \"secondaryReadonlyMasterKey\": \"LONlmuOHYRIYGbdy44DNj6fywBxkPfcorIRXnfvP6xUelhiY3pvP2pijb7uOvlOoQwynuHnsGZAnutkTMJoDDA==\",\r\n \"connectorMetadataAccountPrimaryKey\": \"O4TYOgw5iIlEAGCPGgDYyby4LdsmZUNCw831WDyvVT90ErvonQnlDqwlEh3wLK8SrjEstT15ahYIuiSjltOuyA==\",\r\n \"connectorMetadataAccountSecondaryKey\": \"DhPltJbFttaHBnKcNowi15Cv72bvcXpIaH55p8SqoW1alCqg2AULLx5zXwYk5oHA61KDuao6LUq6oQXVBZCj3w==\"\r\n}", + "ResponseBody": "{\r\n \"primaryMasterKey\": \"I0vkb0fxBcUNAoSPkJI0FlgXXPSqJdR52VDAaTwDkWi2z7iDpt98UqtEMmBldWuyCPF0T8Nt9PVNXAzBP1dwpQ==\",\r\n \"secondaryMasterKey\": \"V7GAVfjiLGhs8p3RrFy0sGRLV8D44VYGf4Pw5OZcfPp6UMgOASi4gA0F1nPQRxHaQCvnvb7QuGLIETN7wle49g==\",\r\n \"primaryReadonlyMasterKey\": \"elCzBt6lrbSyJf6XxpnOISvkQxPKEh8OXublWqmy7DQ8oWgqZ84Csek3i22pWAjklU76rwqTOTdy3Wx5EJNFLQ==\",\r\n \"secondaryReadonlyMasterKey\": \"5oFjTxp9JVD40aufNS6AnJehvYSfFxzg6Q4BODP2pGeNJcjmpQTGK0b2IHwbvPJTMtsWjec1UW2EB1wqZYJF3A==\"\r\n}", "StatusCode": 200 }, { - "RequestUri": "/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/resourceGroups/CosmosDBResourceGroup6394/providers/Microsoft.DocumentDB/databaseAccounts/accountname9088/listConnectionStrings?api-version=2021-04-15", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvODBiZTM5NjEtMDUyMS00YTBhLTg1NzAtNWNkNWE0ZTJmOThjL3Jlc291cmNlR3JvdXBzL0Nvc21vc0RCUmVzb3VyY2VHcm91cDYzOTQvcHJvdmlkZXJzL01pY3Jvc29mdC5Eb2N1bWVudERCL2RhdGFiYXNlQWNjb3VudHMvYWNjb3VudG5hbWU5MDg4L2xpc3RDb25uZWN0aW9uU3RyaW5ncz9hcGktdmVyc2lvbj0yMDIxLTA0LTE1", + "RequestUri": "/subscriptions/259fbb24-9bcd-4cfc-865c-fc33b22fe38a/resourceGroups/CosmosDBResourceGroup8650/providers/Microsoft.DocumentDB/databaseAccounts/accountname4002/listConnectionStrings?api-version=2021-06-15", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMjU5ZmJiMjQtOWJjZC00Y2ZjLTg2NWMtZmMzM2IyMmZlMzhhL3Jlc291cmNlR3JvdXBzL0Nvc21vc0RCUmVzb3VyY2VHcm91cDg2NTAvcHJvdmlkZXJzL01pY3Jvc29mdC5Eb2N1bWVudERCL2RhdGFiYXNlQWNjb3VudHMvYWNjb3VudG5hbWU0MDAyL2xpc3RDb25uZWN0aW9uU3RyaW5ncz9hcGktdmVyc2lvbj0yMDIxLTA2LTE1", "RequestMethod": "POST", "RequestBody": "", "RequestHeaders": { "x-ms-client-request-id": [ - "1eb93336-41d6-492b-8534-d355f283c4d1" + "443dc192-fea4-43a2-9a2c-8ef540818142" ], "Accept-Language": [ "en-US" ], "User-Agent": [ - "FxVersion/4.6.29916.01", + "FxVersion/4.6.28207.03", "OSName/Windows", - "OSVersion/Microsoft.Windows.10.0.19042.", + "OSVersion/Microsoft.Windows.10.0.19043.", "Microsoft.Azure.Management.CosmosDB.CosmosDBManagementClient/3.0.0.0" ] }, @@ -3137,7 +2398,7 @@ "max-age=31536000; includeSubDomains" ], "x-ms-gatewayversion": [ - "version=2.11.0" + "version=2.14.0" ], "Server": [ "Microsoft-HTTPAPI/2.0" @@ -3146,46 +2407,46 @@ "1198" ], "x-ms-request-id": [ - "d099f608-942d-4497-8327-379a0cc95340" + "caac6a4b-fb81-44e8-a50b-1dea2eaeac2c" ], "x-ms-correlation-request-id": [ - "d099f608-942d-4497-8327-379a0cc95340" + "caac6a4b-fb81-44e8-a50b-1dea2eaeac2c" ], "x-ms-routing-request-id": [ - "WESTCENTRALUS:20210427T173830Z:d099f608-942d-4497-8327-379a0cc95340" + "WESTUS2:20210616T052243Z:caac6a4b-fb81-44e8-a50b-1dea2eaeac2c" ], "X-Content-Type-Options": [ "nosniff" ], "Date": [ - "Tue, 27 Apr 2021 17:38:29 GMT" + "Wed, 16 Jun 2021 05:22:43 GMT" ], "Content-Length": [ - "1383" + "1359" ], "Content-Type": [ "application/json" ] }, - "ResponseBody": "{\r\n \"connectionStrings\": [\r\n {\r\n \"connectionString\": \"mongodb://accountname9088:cn8JnL6wyR77VxhVC7dX0YOhm01C2HEXeSUM1WMHBtjlDxpVEdOpCxTBnhVHIENcr5XKGGagXAfPgyFCO8Sepg==@accountname9088.mongo.cosmos.windows-ppe.net:10255/?ssl=true&replicaSet=globaldb&retrywrites=false&maxIdleTimeMS=120000&appName=@accountname9088@\",\r\n \"description\": \"Primary MongoDB Connection String\"\r\n },\r\n {\r\n \"connectionString\": \"mongodb://accountname9088:hv9XLdkdyjIGGkMUAdwSObpNuj9i38jN7bDXuBcexBDujQX6hH2o8nPnGt0VTCCYB8r2XidZeCYHnY7uMtTHpw==@accountname9088.mongo.cosmos.windows-ppe.net:10255/?ssl=true&replicaSet=globaldb&retrywrites=false&maxIdleTimeMS=120000&appName=@accountname9088@\",\r\n \"description\": \"Secondary MongoDB Connection String\"\r\n },\r\n {\r\n \"connectionString\": \"mongodb://accountname9088:KBMoDHC8Wh2cDjl7cCFtc2TYY6E8ZVSUkgYBwbIcjjtyBalMpwmt30VHKzSdmQvK3F3pQxVAGpgNHvzV5e58zw==@accountname9088.mongo.cosmos.windows-ppe.net:10255/?ssl=true&replicaSet=globaldb&retrywrites=false&maxIdleTimeMS=120000&appName=@accountname9088@\",\r\n \"description\": \"Primary Read-Only MongoDB Connection String\"\r\n },\r\n {\r\n \"connectionString\": \"mongodb://accountname9088:LONlmuOHYRIYGbdy44DNj6fywBxkPfcorIRXnfvP6xUelhiY3pvP2pijb7uOvlOoQwynuHnsGZAnutkTMJoDDA==@accountname9088.mongo.cosmos.windows-ppe.net:10255/?ssl=true&replicaSet=globaldb&retrywrites=false&maxIdleTimeMS=120000&appName=@accountname9088@\",\r\n \"description\": \"Secondary Read-Only MongoDB Connection String\"\r\n }\r\n ]\r\n}", + "ResponseBody": "{\r\n \"connectionStrings\": [\r\n {\r\n \"connectionString\": \"mongodb://accountname4002:I0vkb0fxBcUNAoSPkJI0FlgXXPSqJdR52VDAaTwDkWi2z7iDpt98UqtEMmBldWuyCPF0T8Nt9PVNXAzBP1dwpQ==@accountname4002.mongo.cosmos.azure.com:10255/?ssl=true&replicaSet=globaldb&retrywrites=false&maxIdleTimeMS=120000&appName=@accountname4002@\",\r\n \"description\": \"Primary MongoDB Connection String\"\r\n },\r\n {\r\n \"connectionString\": \"mongodb://accountname4002:V7GAVfjiLGhs8p3RrFy0sGRLV8D44VYGf4Pw5OZcfPp6UMgOASi4gA0F1nPQRxHaQCvnvb7QuGLIETN7wle49g==@accountname4002.mongo.cosmos.azure.com:10255/?ssl=true&replicaSet=globaldb&retrywrites=false&maxIdleTimeMS=120000&appName=@accountname4002@\",\r\n \"description\": \"Secondary MongoDB Connection String\"\r\n },\r\n {\r\n \"connectionString\": \"mongodb://accountname4002:elCzBt6lrbSyJf6XxpnOISvkQxPKEh8OXublWqmy7DQ8oWgqZ84Csek3i22pWAjklU76rwqTOTdy3Wx5EJNFLQ==@accountname4002.mongo.cosmos.azure.com:10255/?ssl=true&replicaSet=globaldb&retrywrites=false&maxIdleTimeMS=120000&appName=@accountname4002@\",\r\n \"description\": \"Primary Read-Only MongoDB Connection String\"\r\n },\r\n {\r\n \"connectionString\": \"mongodb://accountname4002:5oFjTxp9JVD40aufNS6AnJehvYSfFxzg6Q4BODP2pGeNJcjmpQTGK0b2IHwbvPJTMtsWjec1UW2EB1wqZYJF3A==@accountname4002.mongo.cosmos.azure.com:10255/?ssl=true&replicaSet=globaldb&retrywrites=false&maxIdleTimeMS=120000&appName=@accountname4002@\",\r\n \"description\": \"Secondary Read-Only MongoDB Connection String\"\r\n }\r\n ]\r\n}", "StatusCode": 200 }, { - "RequestUri": "/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/resourceGroups/CosmosDBResourceGroup6394/providers/Microsoft.DocumentDB/databaseAccounts/accountname9088/readonlykeys?api-version=2021-04-15", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvODBiZTM5NjEtMDUyMS00YTBhLTg1NzAtNWNkNWE0ZTJmOThjL3Jlc291cmNlR3JvdXBzL0Nvc21vc0RCUmVzb3VyY2VHcm91cDYzOTQvcHJvdmlkZXJzL01pY3Jvc29mdC5Eb2N1bWVudERCL2RhdGFiYXNlQWNjb3VudHMvYWNjb3VudG5hbWU5MDg4L3JlYWRvbmx5a2V5cz9hcGktdmVyc2lvbj0yMDIxLTA0LTE1", + "RequestUri": "/subscriptions/259fbb24-9bcd-4cfc-865c-fc33b22fe38a/resourceGroups/CosmosDBResourceGroup8650/providers/Microsoft.DocumentDB/databaseAccounts/accountname4002/readonlykeys?api-version=2021-06-15", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMjU5ZmJiMjQtOWJjZC00Y2ZjLTg2NWMtZmMzM2IyMmZlMzhhL3Jlc291cmNlR3JvdXBzL0Nvc21vc0RCUmVzb3VyY2VHcm91cDg2NTAvcHJvdmlkZXJzL01pY3Jvc29mdC5Eb2N1bWVudERCL2RhdGFiYXNlQWNjb3VudHMvYWNjb3VudG5hbWU0MDAyL3JlYWRvbmx5a2V5cz9hcGktdmVyc2lvbj0yMDIxLTA2LTE1", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { "x-ms-client-request-id": [ - "8cdcb2cf-23c7-4cfb-ae0b-e65df86d3f1a" + "35ffae11-269e-43cb-a972-5747b1a214e1" ], "Accept-Language": [ "en-US" ], "User-Agent": [ - "FxVersion/4.6.29916.01", + "FxVersion/4.6.28207.03", "OSName/Windows", - "OSVersion/Microsoft.Windows.10.0.19042.", + "OSVersion/Microsoft.Windows.10.0.19043.", "Microsoft.Azure.Management.CosmosDB.CosmosDBManagementClient/3.0.0.0" ] }, @@ -3200,7 +2461,7 @@ "max-age=31536000; includeSubDomains" ], "x-ms-gatewayversion": [ - "version=2.11.0" + "version=2.14.0" ], "Server": [ "Microsoft-HTTPAPI/2.0" @@ -3209,19 +2470,19 @@ "1197" ], "x-ms-request-id": [ - "d0e1063c-036c-4518-aaf7-1de216c95bec" + "16c1b391-5ae3-40a7-9aad-bfec34e73a4d" ], "x-ms-correlation-request-id": [ - "d0e1063c-036c-4518-aaf7-1de216c95bec" + "16c1b391-5ae3-40a7-9aad-bfec34e73a4d" ], "x-ms-routing-request-id": [ - "WESTCENTRALUS:20210427T173831Z:d0e1063c-036c-4518-aaf7-1de216c95bec" + "WESTUS2:20210616T052243Z:16c1b391-5ae3-40a7-9aad-bfec34e73a4d" ], "X-Content-Type-Options": [ "nosniff" ], "Date": [ - "Tue, 27 Apr 2021 17:38:30 GMT" + "Wed, 16 Jun 2021 05:22:43 GMT" ], "Content-Length": [ "239" @@ -3230,25 +2491,25 @@ "application/json" ] }, - "ResponseBody": "{\r\n \"primaryReadonlyMasterKey\": \"KBMoDHC8Wh2cDjl7cCFtc2TYY6E8ZVSUkgYBwbIcjjtyBalMpwmt30VHKzSdmQvK3F3pQxVAGpgNHvzV5e58zw==\",\r\n \"secondaryReadonlyMasterKey\": \"LONlmuOHYRIYGbdy44DNj6fywBxkPfcorIRXnfvP6xUelhiY3pvP2pijb7uOvlOoQwynuHnsGZAnutkTMJoDDA==\"\r\n}", + "ResponseBody": "{\r\n \"primaryReadonlyMasterKey\": \"elCzBt6lrbSyJf6XxpnOISvkQxPKEh8OXublWqmy7DQ8oWgqZ84Csek3i22pWAjklU76rwqTOTdy3Wx5EJNFLQ==\",\r\n \"secondaryReadonlyMasterKey\": \"5oFjTxp9JVD40aufNS6AnJehvYSfFxzg6Q4BODP2pGeNJcjmpQTGK0b2IHwbvPJTMtsWjec1UW2EB1wqZYJF3A==\"\r\n}", "StatusCode": 200 }, { - "RequestUri": "/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/resourceGroups/CosmosDBResourceGroup6394/providers/Microsoft.DocumentDB/databaseAccounts/accountname9088/readonlykeys?api-version=2021-04-15", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvODBiZTM5NjEtMDUyMS00YTBhLTg1NzAtNWNkNWE0ZTJmOThjL3Jlc291cmNlR3JvdXBzL0Nvc21vc0RCUmVzb3VyY2VHcm91cDYzOTQvcHJvdmlkZXJzL01pY3Jvc29mdC5Eb2N1bWVudERCL2RhdGFiYXNlQWNjb3VudHMvYWNjb3VudG5hbWU5MDg4L3JlYWRvbmx5a2V5cz9hcGktdmVyc2lvbj0yMDIxLTA0LTE1", + "RequestUri": "/subscriptions/259fbb24-9bcd-4cfc-865c-fc33b22fe38a/resourceGroups/CosmosDBResourceGroup8650/providers/Microsoft.DocumentDB/databaseAccounts/accountname4002/readonlykeys?api-version=2021-06-15", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMjU5ZmJiMjQtOWJjZC00Y2ZjLTg2NWMtZmMzM2IyMmZlMzhhL3Jlc291cmNlR3JvdXBzL0Nvc21vc0RCUmVzb3VyY2VHcm91cDg2NTAvcHJvdmlkZXJzL01pY3Jvc29mdC5Eb2N1bWVudERCL2RhdGFiYXNlQWNjb3VudHMvYWNjb3VudG5hbWU0MDAyL3JlYWRvbmx5a2V5cz9hcGktdmVyc2lvbj0yMDIxLTA2LTE1", "RequestMethod": "POST", "RequestBody": "", "RequestHeaders": { "x-ms-client-request-id": [ - "dc7e7323-a880-492c-91f5-ba9e1841e51b" + "529c284e-c152-41e8-8105-ac760ac27469" ], "Accept-Language": [ "en-US" ], "User-Agent": [ - "FxVersion/4.6.29916.01", + "FxVersion/4.6.28207.03", "OSName/Windows", - "OSVersion/Microsoft.Windows.10.0.19042.", + "OSVersion/Microsoft.Windows.10.0.19043.", "Microsoft.Azure.Management.CosmosDB.CosmosDBManagementClient/3.0.0.0" ] }, @@ -3263,7 +2524,7 @@ "max-age=31536000; includeSubDomains" ], "x-ms-gatewayversion": [ - "version=2.11.0" + "version=2.14.0" ], "Server": [ "Microsoft-HTTPAPI/2.0" @@ -3272,19 +2533,19 @@ "1196" ], "x-ms-request-id": [ - "f4707b37-b562-4118-beb3-57e20f106ee0" + "2bdd9425-cc25-4395-9431-47c4809737d8" ], "x-ms-correlation-request-id": [ - "f4707b37-b562-4118-beb3-57e20f106ee0" + "2bdd9425-cc25-4395-9431-47c4809737d8" ], "x-ms-routing-request-id": [ - "WESTCENTRALUS:20210427T173831Z:f4707b37-b562-4118-beb3-57e20f106ee0" + "WESTUS2:20210616T052244Z:2bdd9425-cc25-4395-9431-47c4809737d8" ], "X-Content-Type-Options": [ "nosniff" ], "Date": [ - "Tue, 27 Apr 2021 17:38:30 GMT" + "Wed, 16 Jun 2021 05:22:43 GMT" ], "Content-Length": [ "239" @@ -3293,25 +2554,25 @@ "application/json" ] }, - "ResponseBody": "{\r\n \"primaryReadonlyMasterKey\": \"KBMoDHC8Wh2cDjl7cCFtc2TYY6E8ZVSUkgYBwbIcjjtyBalMpwmt30VHKzSdmQvK3F3pQxVAGpgNHvzV5e58zw==\",\r\n \"secondaryReadonlyMasterKey\": \"LONlmuOHYRIYGbdy44DNj6fywBxkPfcorIRXnfvP6xUelhiY3pvP2pijb7uOvlOoQwynuHnsGZAnutkTMJoDDA==\"\r\n}", + "ResponseBody": "{\r\n \"primaryReadonlyMasterKey\": \"elCzBt6lrbSyJf6XxpnOISvkQxPKEh8OXublWqmy7DQ8oWgqZ84Csek3i22pWAjklU76rwqTOTdy3Wx5EJNFLQ==\",\r\n \"secondaryReadonlyMasterKey\": \"5oFjTxp9JVD40aufNS6AnJehvYSfFxzg6Q4BODP2pGeNJcjmpQTGK0b2IHwbvPJTMtsWjec1UW2EB1wqZYJF3A==\"\r\n}", "StatusCode": 200 }, { - "RequestUri": "/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/resourceGroups/CosmosDBResourceGroup6394/providers/Microsoft.DocumentDB/databaseAccounts/accountname9088/regenerateKey?api-version=2021-04-15", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvODBiZTM5NjEtMDUyMS00YTBhLTg1NzAtNWNkNWE0ZTJmOThjL3Jlc291cmNlR3JvdXBzL0Nvc21vc0RCUmVzb3VyY2VHcm91cDYzOTQvcHJvdmlkZXJzL01pY3Jvc29mdC5Eb2N1bWVudERCL2RhdGFiYXNlQWNjb3VudHMvYWNjb3VudG5hbWU5MDg4L3JlZ2VuZXJhdGVLZXk/YXBpLXZlcnNpb249MjAyMS0wNC0xNQ==", + "RequestUri": "/subscriptions/259fbb24-9bcd-4cfc-865c-fc33b22fe38a/resourceGroups/CosmosDBResourceGroup8650/providers/Microsoft.DocumentDB/databaseAccounts/accountname4002/regenerateKey?api-version=2021-06-15", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMjU5ZmJiMjQtOWJjZC00Y2ZjLTg2NWMtZmMzM2IyMmZlMzhhL3Jlc291cmNlR3JvdXBzL0Nvc21vc0RCUmVzb3VyY2VHcm91cDg2NTAvcHJvdmlkZXJzL01pY3Jvc29mdC5Eb2N1bWVudERCL2RhdGFiYXNlQWNjb3VudHMvYWNjb3VudG5hbWU0MDAyL3JlZ2VuZXJhdGVLZXk/YXBpLXZlcnNpb249MjAyMS0wNi0xNQ==", "RequestMethod": "POST", "RequestBody": "{\r\n \"keyKind\": \"primaryReadonly\"\r\n}", "RequestHeaders": { "x-ms-client-request-id": [ - "6729a347-2410-4252-b158-08be9da76f67" + "575e95c6-0d80-4e34-b7b0-adeb1f162a35" ], "Accept-Language": [ "en-US" ], "User-Agent": [ - "FxVersion/4.6.29916.01", + "FxVersion/4.6.28207.03", "OSName/Windows", - "OSVersion/Microsoft.Windows.10.0.19042.", + "OSVersion/Microsoft.Windows.10.0.19043.", "Microsoft.Azure.Management.CosmosDB.CosmosDBManagementClient/3.0.0.0" ], "Content-Type": [ @@ -3332,76 +2593,7 @@ "max-age=31536000; includeSubDomains" ], "x-ms-gatewayversion": [ - "version=2.11.0" - ], - "Server": [ - "Microsoft-HTTPAPI/2.0" - ], - "x-ms-ratelimit-remaining-subscription-writes": [ - "1198" - ], - "x-ms-request-id": [ - "b8719fe0-bbf1-4b47-b528-bccfc4e093c1" - ], - "x-ms-correlation-request-id": [ - "b8719fe0-bbf1-4b47-b528-bccfc4e093c1" - ], - "x-ms-routing-request-id": [ - "WESTUS:20210427T173832Z:b8719fe0-bbf1-4b47-b528-bccfc4e093c1" - ], - "X-Content-Type-Options": [ - "nosniff" - ], - "Date": [ - "Tue, 27 Apr 2021 17:38:32 GMT" - ], - "Content-Length": [ - "282" - ], - "Content-Type": [ - "application/json" - ] - }, - "ResponseBody": "{\r\n \"code\": \"PreconditionFailed\",\r\n \"message\": \"There is already an operation in progress which requires exclusive lock on this service accountname9088. Please retry the operation after sometime.\\r\\nActivityId: 6729a347-2410-4252-b158-08be9da76f67, Microsoft.Azure.Documents.Common/2.11.0\"\r\n}", - "StatusCode": 412 - }, - { - "RequestUri": "/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/resourceGroups/CosmosDBResourceGroup6394/providers/Microsoft.DocumentDB/databaseAccounts/accountname9088/regenerateKey?api-version=2021-04-15", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvODBiZTM5NjEtMDUyMS00YTBhLTg1NzAtNWNkNWE0ZTJmOThjL3Jlc291cmNlR3JvdXBzL0Nvc21vc0RCUmVzb3VyY2VHcm91cDYzOTQvcHJvdmlkZXJzL01pY3Jvc29mdC5Eb2N1bWVudERCL2RhdGFiYXNlQWNjb3VudHMvYWNjb3VudG5hbWU5MDg4L3JlZ2VuZXJhdGVLZXk/YXBpLXZlcnNpb249MjAyMS0wNC0xNQ==", - "RequestMethod": "POST", - "RequestBody": "{\r\n \"keyKind\": \"secondary\"\r\n}", - "RequestHeaders": { - "x-ms-client-request-id": [ - "e6905fdc-3f77-4263-b29c-af51f9515aab" - ], - "Accept-Language": [ - "en-US" - ], - "User-Agent": [ - "FxVersion/4.6.29916.01", - "OSName/Windows", - "OSVersion/Microsoft.Windows.10.0.19042.", - "Microsoft.Azure.Management.CosmosDB.CosmosDBManagementClient/3.0.0.0" - ], - "Content-Type": [ - "application/json; charset=utf-8" - ], - "Content-Length": [ - "30" - ] - }, - "ResponseHeaders": { - "Cache-Control": [ - "no-store, no-cache" - ], - "Pragma": [ - "no-cache" - ], - "Strict-Transport-Security": [ - "max-age=31536000; includeSubDomains" - ], - "x-ms-gatewayversion": [ - "version=2.11.0" + "version=2.14.0" ], "Server": [ "Microsoft-HTTPAPI/2.0" @@ -3410,19 +2602,19 @@ "1199" ], "x-ms-request-id": [ - "bd5f391f-d4fc-4df1-85b0-81176b1ae002" + "dba75260-3711-4b58-95fe-de6b82a4e892" ], "x-ms-correlation-request-id": [ - "bd5f391f-d4fc-4df1-85b0-81176b1ae002" + "dba75260-3711-4b58-95fe-de6b82a4e892" ], "x-ms-routing-request-id": [ - "WESTUS:20210427T173832Z:bd5f391f-d4fc-4df1-85b0-81176b1ae002" + "WESTUS2:20210616T052244Z:dba75260-3711-4b58-95fe-de6b82a4e892" ], "X-Content-Type-Options": [ "nosniff" ], "Date": [ - "Tue, 27 Apr 2021 17:38:32 GMT" + "Wed, 16 Jun 2021 05:22:44 GMT" ], "Content-Length": [ "282" @@ -3431,25 +2623,25 @@ "application/json" ] }, - "ResponseBody": "{\r\n \"code\": \"PreconditionFailed\",\r\n \"message\": \"There is already an operation in progress which requires exclusive lock on this service accountname9088. Please retry the operation after sometime.\\r\\nActivityId: e6905fdc-3f77-4263-b29c-af51f9515aab, Microsoft.Azure.Documents.Common/2.11.0\"\r\n}", + "ResponseBody": "{\r\n \"code\": \"PreconditionFailed\",\r\n \"message\": \"There is already an operation in progress which requires exclusive lock on this service accountname4002. Please retry the operation after sometime.\\r\\nActivityId: 575e95c6-0d80-4e34-b7b0-adeb1f162a35, Microsoft.Azure.Documents.Common/2.14.0\"\r\n}", "StatusCode": 412 }, { - "RequestUri": "/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/resourceGroups/CosmosDBResourceGroup6394/providers/Microsoft.DocumentDB/databaseAccounts/accountname9088/regenerateKey?api-version=2021-04-15", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvODBiZTM5NjEtMDUyMS00YTBhLTg1NzAtNWNkNWE0ZTJmOThjL3Jlc291cmNlR3JvdXBzL0Nvc21vc0RCUmVzb3VyY2VHcm91cDYzOTQvcHJvdmlkZXJzL01pY3Jvc29mdC5Eb2N1bWVudERCL2RhdGFiYXNlQWNjb3VudHMvYWNjb3VudG5hbWU5MDg4L3JlZ2VuZXJhdGVLZXk/YXBpLXZlcnNpb249MjAyMS0wNC0xNQ==", + "RequestUri": "/subscriptions/259fbb24-9bcd-4cfc-865c-fc33b22fe38a/resourceGroups/CosmosDBResourceGroup8650/providers/Microsoft.DocumentDB/databaseAccounts/accountname4002/regenerateKey?api-version=2021-06-15", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMjU5ZmJiMjQtOWJjZC00Y2ZjLTg2NWMtZmMzM2IyMmZlMzhhL3Jlc291cmNlR3JvdXBzL0Nvc21vc0RCUmVzb3VyY2VHcm91cDg2NTAvcHJvdmlkZXJzL01pY3Jvc29mdC5Eb2N1bWVudERCL2RhdGFiYXNlQWNjb3VudHMvYWNjb3VudG5hbWU0MDAyL3JlZ2VuZXJhdGVLZXk/YXBpLXZlcnNpb249MjAyMS0wNi0xNQ==", "RequestMethod": "POST", "RequestBody": "{\r\n \"keyKind\": \"secondaryReadonly\"\r\n}", "RequestHeaders": { "x-ms-client-request-id": [ - "fdeb64e9-17b2-45b4-8480-7096d96bf2dd" + "34a4318a-1535-402d-ae24-7b44297d1a3c" ], "Accept-Language": [ "en-US" ], "User-Agent": [ - "FxVersion/4.6.29916.01", + "FxVersion/4.6.28207.03", "OSName/Windows", - "OSVersion/Microsoft.Windows.10.0.19042.", + "OSVersion/Microsoft.Windows.10.0.19043.", "Microsoft.Azure.Management.CosmosDB.CosmosDBManagementClient/3.0.0.0" ], "Content-Type": [ @@ -3470,28 +2662,28 @@ "max-age=31536000; includeSubDomains" ], "x-ms-gatewayversion": [ - "version=2.11.0" + "version=2.14.0" ], "Server": [ "Microsoft-HTTPAPI/2.0" ], "x-ms-ratelimit-remaining-subscription-writes": [ - "1198" + "1199" ], "x-ms-request-id": [ - "07247ff6-b283-405c-90ad-179de00ae311" + "fb29f1a4-9949-4440-9424-2dc56251743b" ], "x-ms-correlation-request-id": [ - "07247ff6-b283-405c-90ad-179de00ae311" + "fb29f1a4-9949-4440-9424-2dc56251743b" ], "x-ms-routing-request-id": [ - "WESTUS:20210427T173832Z:07247ff6-b283-405c-90ad-179de00ae311" + "WESTUS2:20210616T052245Z:fb29f1a4-9949-4440-9424-2dc56251743b" ], "X-Content-Type-Options": [ "nosniff" ], "Date": [ - "Tue, 27 Apr 2021 17:38:32 GMT" + "Wed, 16 Jun 2021 05:22:44 GMT" ], "Content-Length": [ "282" @@ -3500,25 +2692,25 @@ "application/json" ] }, - "ResponseBody": "{\r\n \"code\": \"PreconditionFailed\",\r\n \"message\": \"There is already an operation in progress which requires exclusive lock on this service accountname9088. Please retry the operation after sometime.\\r\\nActivityId: fdeb64e9-17b2-45b4-8480-7096d96bf2dd, Microsoft.Azure.Documents.Common/2.11.0\"\r\n}", + "ResponseBody": "{\r\n \"code\": \"PreconditionFailed\",\r\n \"message\": \"There is already an operation in progress which requires exclusive lock on this service accountname4002. Please retry the operation after sometime.\\r\\nActivityId: 34a4318a-1535-402d-ae24-7b44297d1a3c, Microsoft.Azure.Documents.Common/2.14.0\"\r\n}", "StatusCode": 412 }, { - "RequestUri": "/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/resourceGroups/CosmosDBResourceGroup6394/providers/Microsoft.DocumentDB/databaseAccounts/accountname9088/regenerateKey?api-version=2021-04-15", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvODBiZTM5NjEtMDUyMS00YTBhLTg1NzAtNWNkNWE0ZTJmOThjL3Jlc291cmNlR3JvdXBzL0Nvc21vc0RCUmVzb3VyY2VHcm91cDYzOTQvcHJvdmlkZXJzL01pY3Jvc29mdC5Eb2N1bWVudERCL2RhdGFiYXNlQWNjb3VudHMvYWNjb3VudG5hbWU5MDg4L3JlZ2VuZXJhdGVLZXk/YXBpLXZlcnNpb249MjAyMS0wNC0xNQ==", + "RequestUri": "/subscriptions/259fbb24-9bcd-4cfc-865c-fc33b22fe38a/resourceGroups/CosmosDBResourceGroup8650/providers/Microsoft.DocumentDB/databaseAccounts/accountname4002/regenerateKey?api-version=2021-06-15", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMjU5ZmJiMjQtOWJjZC00Y2ZjLTg2NWMtZmMzM2IyMmZlMzhhL3Jlc291cmNlR3JvdXBzL0Nvc21vc0RCUmVzb3VyY2VHcm91cDg2NTAvcHJvdmlkZXJzL01pY3Jvc29mdC5Eb2N1bWVudERCL2RhdGFiYXNlQWNjb3VudHMvYWNjb3VudG5hbWU0MDAyL3JlZ2VuZXJhdGVLZXk/YXBpLXZlcnNpb249MjAyMS0wNi0xNQ==", "RequestMethod": "POST", "RequestBody": "{\r\n \"keyKind\": \"primary\"\r\n}", "RequestHeaders": { "x-ms-client-request-id": [ - "d5d8c923-3791-43f7-b2bb-211f10402828" + "2bd3c425-68ef-49dc-92c4-30f6a191104c" ], "Accept-Language": [ "en-US" ], "User-Agent": [ - "FxVersion/4.6.29916.01", + "FxVersion/4.6.28207.03", "OSName/Windows", - "OSVersion/Microsoft.Windows.10.0.19042.", + "OSVersion/Microsoft.Windows.10.0.19043.", "Microsoft.Azure.Management.CosmosDB.CosmosDBManagementClient/3.0.0.0" ], "Content-Type": [ @@ -3536,19 +2728,19 @@ "no-cache" ], "Location": [ - "https://management.azure.com/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/resourceGroups/CosmosDBResourceGroup6394/providers/Microsoft.DocumentDB/databaseAccounts/accountname9088/regenerateKey/operationResults/3c260433-b461-4cb5-969d-fcebd83514d5?api-version=2021-04-15" + "https://management.azure.com/subscriptions/259fbb24-9bcd-4cfc-865c-fc33b22fe38a/resourceGroups/CosmosDBResourceGroup8650/providers/Microsoft.DocumentDB/databaseAccounts/accountname4002/regenerateKey/operationResults/56f660ab-de00-42d4-97f8-7cc66554d9be?api-version=2021-06-15" ], "Azure-AsyncOperation": [ - "https://management.azure.com/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/providers/Microsoft.DocumentDB/locations/eastus2/operationsStatus/3c260433-b461-4cb5-969d-fcebd83514d5?api-version=2021-04-15" + "https://management.azure.com/subscriptions/259fbb24-9bcd-4cfc-865c-fc33b22fe38a/providers/Microsoft.DocumentDB/locations/eastus2/operationsStatus/56f660ab-de00-42d4-97f8-7cc66554d9be?api-version=2021-06-15" ], "x-ms-request-id": [ - "3c260433-b461-4cb5-969d-fcebd83514d5" + "56f660ab-de00-42d4-97f8-7cc66554d9be" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "x-ms-gatewayversion": [ - "version=2.11.0" + "version=2.14.0" ], "Server": [ "Microsoft-HTTPAPI/2.0" @@ -3557,16 +2749,16 @@ "1195" ], "x-ms-correlation-request-id": [ - "18d997c8-64e7-4e0f-b6e6-5b500e79cdae" + "25a62c47-f7f3-4461-a5ec-c52cc529989b" ], "x-ms-routing-request-id": [ - "WESTCENTRALUS:20210427T173833Z:18d997c8-64e7-4e0f-b6e6-5b500e79cdae" + "WESTUS2:20210616T052245Z:25a62c47-f7f3-4461-a5ec-c52cc529989b" ], "X-Content-Type-Options": [ "nosniff" ], "Date": [ - "Tue, 27 Apr 2021 17:38:33 GMT" + "Wed, 16 Jun 2021 05:22:45 GMT" ], "Content-Length": [ "21" @@ -3581,13 +2773,13 @@ ], "Names": { "CreateResourceGroup": [ - "CosmosDBResourceGroup6394" + "CosmosDBResourceGroup8650" ], "DatabaseAccountCRUDTests": [ - "accountname9088" + "accountname4002" ] }, "Variables": { - "SubscriptionId": "80be3961-0521-4a0a-8570-5cd5a4e2f98c" + "SubscriptionId": "259fbb24-9bcd-4cfc-865c-fc33b22fe38a" } } \ No newline at end of file diff --git a/sdk/cosmosdb/Microsoft.Azure.Management.CosmosDB/tests/SessionRecords/DatabaseAccountOperationsTests/RestorableSqlDatabaseResourceFeedTest.json b/sdk/cosmosdb/Microsoft.Azure.Management.CosmosDB/tests/SessionRecords/DatabaseAccountOperationsTests/RestorableSqlDatabaseResourceFeedTest.json new file mode 100644 index 000000000000..5d8f1b28db08 --- /dev/null +++ b/sdk/cosmosdb/Microsoft.Azure.Management.CosmosDB/tests/SessionRecords/DatabaseAccountOperationsTests/RestorableSqlDatabaseResourceFeedTest.json @@ -0,0 +1,3240 @@ +{ + "Entries": [ + { + "RequestUri": "/subscriptions/259fbb24-9bcd-4cfc-865c-fc33b22fe38a/resourceGroups/CosmosDBResourceGroup8650/providers/Microsoft.DocumentDB/databaseAccounts/accountname4002/regenerateKey?api-version=2021-06-15", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMjU5ZmJiMjQtOWJjZC00Y2ZjLTg2NWMtZmMzM2IyMmZlMzhhL3Jlc291cmNlR3JvdXBzL0Nvc21vc0RCUmVzb3VyY2VHcm91cDg2NTAvcHJvdmlkZXJzL01pY3Jvc29mdC5Eb2N1bWVudERCL2RhdGFiYXNlQWNjb3VudHMvYWNjb3VudG5hbWU0MDAyL3JlZ2VuZXJhdGVLZXk/YXBpLXZlcnNpb249MjAyMS0wNi0xNQ==", + "RequestMethod": "POST", + "RequestBody": "{\r\n \"keyKind\": \"secondary\"\r\n}", + "RequestHeaders": { + "x-ms-client-request-id": [ + "1f3ee822-d115-4823-bee1-632f5d5a6bac" + ], + "Accept-Language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.28207.03", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.19043.", + "Microsoft.Azure.Management.CosmosDB.CosmosDBManagementClient/3.0.0.0" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Content-Length": [ + "30" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-store, no-cache" + ], + "Pragma": [ + "no-cache" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-gatewayversion": [ + "version=2.14.0" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ], + "x-ms-ratelimit-remaining-subscription-writes": [ + "1199" + ], + "x-ms-request-id": [ + "2add8827-368f-4df9-aaf4-a435512c0cc2" + ], + "x-ms-correlation-request-id": [ + "2add8827-368f-4df9-aaf4-a435512c0cc2" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20210616T052246Z:2add8827-368f-4df9-aaf4-a435512c0cc2" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Wed, 16 Jun 2021 05:22:45 GMT" + ], + "Content-Length": [ + "282" + ], + "Content-Type": [ + "application/json" + ] + }, + "ResponseBody": "{\r\n \"code\": \"PreconditionFailed\",\r\n \"message\": \"There is already an operation in progress which requires exclusive lock on this service accountname4002. Please retry the operation after sometime.\\r\\nActivityId: 1f3ee822-d115-4823-bee1-632f5d5a6bac, Microsoft.Azure.Documents.Common/2.14.0\"\r\n}", + "StatusCode": 412 + }, + { + "RequestUri": "/subscriptions/259fbb24-9bcd-4cfc-865c-fc33b22fe38a/resourceGroups/CosmosDBResourceGroup8650/providers/Microsoft.DocumentDB/databaseAccounts/accountname4002?api-version=2021-06-15", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMjU5ZmJiMjQtOWJjZC00Y2ZjLTg2NWMtZmMzM2IyMmZlMzhhL3Jlc291cmNlR3JvdXBzL0Nvc21vc0RCUmVzb3VyY2VHcm91cDg2NTAvcHJvdmlkZXJzL01pY3Jvc29mdC5Eb2N1bWVudERCL2RhdGFiYXNlQWNjb3VudHMvYWNjb3VudG5hbWU0MDAyP2FwaS12ZXJzaW9uPTIwMjEtMDYtMTU=", + "RequestMethod": "DELETE", + "RequestBody": "", + "RequestHeaders": { + "x-ms-client-request-id": [ + "96beec80-c321-48d8-b46b-363bc910f41e" + ], + "Accept-Language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.28207.03", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.19043.", + "Microsoft.Azure.Management.CosmosDB.CosmosDBManagementClient/3.0.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-store, no-cache" + ], + "Pragma": [ + "no-cache" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-gatewayversion": [ + "version=2.14.0" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ], + "x-ms-ratelimit-remaining-subscription-deletes": [ + "14999" + ], + "x-ms-request-id": [ + "c48b8219-24ad-4dec-b865-521ec39fba5d" + ], + "x-ms-correlation-request-id": [ + "c48b8219-24ad-4dec-b865-521ec39fba5d" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20210616T052246Z:c48b8219-24ad-4dec-b865-521ec39fba5d" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Wed, 16 Jun 2021 05:22:45 GMT" + ], + "Content-Length": [ + "282" + ], + "Content-Type": [ + "application/json" + ] + }, + "ResponseBody": "{\r\n \"code\": \"PreconditionFailed\",\r\n \"message\": \"There is already an operation in progress which requires exclusive lock on this service accountname4002. Please retry the operation after sometime.\\r\\nActivityId: 96beec80-c321-48d8-b46b-363bc910f41e, Microsoft.Azure.Documents.Common/2.14.0\"\r\n}", + "StatusCode": 412 + }, + { + "RequestUri": "/subscriptions/259fbb24-9bcd-4cfc-865c-fc33b22fe38a/resourcegroups/CosmosDBResourceGroup1226?api-version=2015-11-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMjU5ZmJiMjQtOWJjZC00Y2ZjLTg2NWMtZmMzM2IyMmZlMzhhL3Jlc291cmNlZ3JvdXBzL0Nvc21vc0RCUmVzb3VyY2VHcm91cDEyMjY/YXBpLXZlcnNpb249MjAxNS0xMS0wMQ==", + "RequestMethod": "HEAD", + "RequestBody": "", + "RequestHeaders": { + "x-ms-client-request-id": [ + "091373d7-0291-4418-a5c7-f29af1e4afb7" + ], + "Accept-Language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.28207.03", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.19043.", + "Microsoft.Azure.Management.Resources.ResourceManagementClient/1.0.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-failure-cause": [ + "gateway" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11999" + ], + "x-ms-request-id": [ + "baa812d2-879d-46be-b393-d7b6cc8bde3c" + ], + "x-ms-correlation-request-id": [ + "baa812d2-879d-46be-b393-d7b6cc8bde3c" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20210616T052246Z:baa812d2-879d-46be-b393-d7b6cc8bde3c" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Wed, 16 Jun 2021 05:22:46 GMT" + ], + "Content-Length": [ + "117" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "", + "StatusCode": 404 + }, + { + "RequestUri": "/subscriptions/259fbb24-9bcd-4cfc-865c-fc33b22fe38a/resourcegroups/CosmosDBResourceGroup1226?api-version=2015-11-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMjU5ZmJiMjQtOWJjZC00Y2ZjLTg2NWMtZmMzM2IyMmZlMzhhL3Jlc291cmNlZ3JvdXBzL0Nvc21vc0RCUmVzb3VyY2VHcm91cDEyMjY/YXBpLXZlcnNpb249MjAxNS0xMS0wMQ==", + "RequestMethod": "PUT", + "RequestBody": "{\r\n \"location\": \"eastus2\"\r\n}", + "RequestHeaders": { + "x-ms-client-request-id": [ + "5b58d77d-6538-4383-a9a8-11febb88cc21" + ], + "Accept-Language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.28207.03", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.19043.", + "Microsoft.Azure.Management.Resources.ResourceManagementClient/1.0.0.0" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Content-Length": [ + "29" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-writes": [ + "1199" + ], + "x-ms-request-id": [ + "ba664ff1-0699-4677-b503-0a9822920819" + ], + "x-ms-correlation-request-id": [ + "ba664ff1-0699-4677-b503-0a9822920819" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20210616T052247Z:ba664ff1-0699-4677-b503-0a9822920819" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Wed, 16 Jun 2021 05:22:47 GMT" + ], + "Content-Length": [ + "204" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/259fbb24-9bcd-4cfc-865c-fc33b22fe38a/resourceGroups/CosmosDBResourceGroup1226\",\r\n \"name\": \"CosmosDBResourceGroup1226\",\r\n \"location\": \"eastus2\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n}", + "StatusCode": 201 + }, + { + "RequestUri": "/subscriptions/259fbb24-9bcd-4cfc-865c-fc33b22fe38a/resourceGroups/CosmosDBResourceGroup1226/providers/Microsoft.DocumentDB/databaseAccounts/accountname5926?api-version=2021-06-15", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMjU5ZmJiMjQtOWJjZC00Y2ZjLTg2NWMtZmMzM2IyMmZlMzhhL3Jlc291cmNlR3JvdXBzL0Nvc21vc0RCUmVzb3VyY2VHcm91cDEyMjYvcHJvdmlkZXJzL01pY3Jvc29mdC5Eb2N1bWVudERCL2RhdGFiYXNlQWNjb3VudHMvYWNjb3VudG5hbWU1OTI2P2FwaS12ZXJzaW9uPTIwMjEtMDYtMTU=", + "RequestMethod": "PUT", + "RequestBody": "{\r\n \"kind\": \"MongoDB\",\r\n \"properties\": {\r\n \"consistencyPolicy\": {\r\n \"defaultConsistencyLevel\": \"BoundedStaleness\",\r\n \"maxStalenessPrefix\": 300,\r\n \"maxIntervalInSeconds\": 1000\r\n },\r\n \"locations\": [\r\n {\r\n \"locationName\": \"East US 2\"\r\n }\r\n ],\r\n \"databaseAccountOfferType\": \"Standard\"\r\n },\r\n \"location\": \"EAST US 2\",\r\n \"tags\": {\r\n \"key1\": \"value1\",\r\n \"key2\": \"value2\"\r\n }\r\n}", + "RequestHeaders": { + "x-ms-client-request-id": [ + "ceb62fcd-3504-47db-883a-092b0648e134" + ], + "Accept-Language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.28207.03", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.19043.", + "Microsoft.Azure.Management.CosmosDB.CosmosDBManagementClient/3.0.0.0" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Content-Length": [ + "429" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-store, no-cache" + ], + "Pragma": [ + "no-cache" + ], + "Location": [ + "https://management.azure.com/subscriptions/259fbb24-9bcd-4cfc-865c-fc33b22fe38a/resourceGroups/CosmosDBResourceGroup1226/providers/Microsoft.DocumentDB/databaseAccounts/accountname5926/operationResults/25dd1c50-f982-4191-afaf-dd16f1610d4a?api-version=2021-06-15" + ], + "x-ms-request-id": [ + "25dd1c50-f982-4191-afaf-dd16f1610d4a" + ], + "Azure-AsyncOperation": [ + "https://management.azure.com/subscriptions/259fbb24-9bcd-4cfc-865c-fc33b22fe38a/providers/Microsoft.DocumentDB/locations/eastus2/operationsStatus/25dd1c50-f982-4191-afaf-dd16f1610d4a?api-version=2021-06-15" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-gatewayversion": [ + "version=2.14.0" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ], + "x-ms-ratelimit-remaining-subscription-writes": [ + "1199" + ], + "x-ms-correlation-request-id": [ + "a71769fd-3495-4a83-902d-2bf6a15ede1c" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20210616T052253Z:a71769fd-3495-4a83-902d-2bf6a15ede1c" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Wed, 16 Jun 2021 05:22:53 GMT" + ], + "Content-Length": [ + "2042" + ], + "Content-Type": [ + "application/json" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/259fbb24-9bcd-4cfc-865c-fc33b22fe38a/resourceGroups/CosmosDBResourceGroup1226/providers/Microsoft.DocumentDB/databaseAccounts/accountname5926\",\r\n \"name\": \"accountname5926\",\r\n \"location\": \"East US 2\",\r\n \"type\": \"Microsoft.DocumentDB/databaseAccounts\",\r\n \"kind\": \"MongoDB\",\r\n \"tags\": {\r\n \"key1\": \"value1\",\r\n \"key2\": \"value2\"\r\n },\r\n \"systemData\": {\r\n \"createdAt\": \"2021-06-16T05:22:51.2503884Z\"\r\n },\r\n \"properties\": {\r\n \"provisioningState\": \"Creating\",\r\n \"publicNetworkAccess\": \"Enabled\",\r\n \"enableAutomaticFailover\": false,\r\n \"enableMultipleWriteLocations\": false,\r\n \"enablePartitionKeyMonitor\": false,\r\n \"isVirtualNetworkFilterEnabled\": false,\r\n \"virtualNetworkRules\": [],\r\n \"EnabledApiTypes\": \"MongoDB\",\r\n \"disableKeyBasedMetadataWriteAccess\": false,\r\n \"enableFreeTier\": false,\r\n \"enableAnalyticalStorage\": false,\r\n \"analyticalStorageConfiguration\": {\r\n \"analyticalStorageSchemaType\": \"FullFidelity\"\r\n },\r\n \"instanceId\": \"de5f73f7-a0cd-4e91-8759-ceb44df5464d\",\r\n \"createMode\": \"Default\",\r\n \"databaseAccountOfferType\": \"Standard\",\r\n \"defaultIdentity\": \"\",\r\n \"networkAclBypass\": \"None\",\r\n \"disableLocalAuth\": false,\r\n \"consistencyPolicy\": {\r\n \"defaultConsistencyLevel\": \"BoundedStaleness\",\r\n \"maxIntervalInSeconds\": 1000,\r\n \"maxStalenessPrefix\": 300\r\n },\r\n \"apiProperties\": {\r\n \"serverVersion\": \"3.6\"\r\n },\r\n \"configurationOverrides\": {},\r\n \"writeLocations\": [\r\n {\r\n \"id\": \"accountname5926-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"provisioningState\": \"Creating\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"readLocations\": [\r\n {\r\n \"id\": \"accountname5926-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"provisioningState\": \"Creating\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"locations\": [\r\n {\r\n \"id\": \"accountname5926-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"provisioningState\": \"Creating\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"failoverPolicies\": [\r\n {\r\n \"id\": \"accountname5926-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"failoverPriority\": 0\r\n }\r\n ],\r\n \"cors\": [],\r\n \"capabilities\": [\r\n {\r\n \"name\": \"EnableMongo\"\r\n }\r\n ],\r\n \"ipRules\": [],\r\n \"backupPolicy\": {\r\n \"type\": \"Periodic\",\r\n \"periodicModeProperties\": {\r\n \"backupIntervalInMinutes\": 240,\r\n \"backupRetentionIntervalInHours\": 8,\r\n \"backupStorageRedundancy\": \"Geo\"\r\n }\r\n },\r\n \"networkAclBypassResourceIds\": []\r\n },\r\n \"identity\": {\r\n \"type\": \"None\"\r\n }\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/259fbb24-9bcd-4cfc-865c-fc33b22fe38a/providers/Microsoft.DocumentDB/locations/eastus2/operationsStatus/25dd1c50-f982-4191-afaf-dd16f1610d4a?api-version=2021-06-15", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMjU5ZmJiMjQtOWJjZC00Y2ZjLTg2NWMtZmMzM2IyMmZlMzhhL3Byb3ZpZGVycy9NaWNyb3NvZnQuRG9jdW1lbnREQi9sb2NhdGlvbnMvZWFzdHVzMi9vcGVyYXRpb25zU3RhdHVzLzI1ZGQxYzUwLWY5ODItNDE5MS1hZmFmLWRkMTZmMTYxMGQ0YT9hcGktdmVyc2lvbj0yMDIxLTA2LTE1", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.6.28207.03", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.19043.", + "Microsoft.Azure.Management.CosmosDB.CosmosDBManagementClient/3.0.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-store, no-cache" + ], + "Pragma": [ + "no-cache" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-gatewayversion": [ + "version=2.14.0" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11999" + ], + "x-ms-request-id": [ + "e797e9bc-ca8d-4700-8090-ae1d73d00aa6" + ], + "x-ms-correlation-request-id": [ + "e797e9bc-ca8d-4700-8090-ae1d73d00aa6" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20210616T052323Z:e797e9bc-ca8d-4700-8090-ae1d73d00aa6" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Wed, 16 Jun 2021 05:23:23 GMT" + ], + "Content-Length": [ + "21" + ], + "Content-Type": [ + "application/json" + ] + }, + "ResponseBody": "{\r\n \"status\": \"Dequeued\"\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/259fbb24-9bcd-4cfc-865c-fc33b22fe38a/providers/Microsoft.DocumentDB/locations/eastus2/operationsStatus/25dd1c50-f982-4191-afaf-dd16f1610d4a?api-version=2021-06-15", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMjU5ZmJiMjQtOWJjZC00Y2ZjLTg2NWMtZmMzM2IyMmZlMzhhL3Byb3ZpZGVycy9NaWNyb3NvZnQuRG9jdW1lbnREQi9sb2NhdGlvbnMvZWFzdHVzMi9vcGVyYXRpb25zU3RhdHVzLzI1ZGQxYzUwLWY5ODItNDE5MS1hZmFmLWRkMTZmMTYxMGQ0YT9hcGktdmVyc2lvbj0yMDIxLTA2LTE1", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.6.28207.03", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.19043.", + "Microsoft.Azure.Management.CosmosDB.CosmosDBManagementClient/3.0.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-store, no-cache" + ], + "Pragma": [ + "no-cache" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-gatewayversion": [ + "version=2.14.0" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11998" + ], + "x-ms-request-id": [ + "e7a0ce43-f66f-40b7-9646-a724f2fa4b55" + ], + "x-ms-correlation-request-id": [ + "e7a0ce43-f66f-40b7-9646-a724f2fa4b55" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20210616T052354Z:e7a0ce43-f66f-40b7-9646-a724f2fa4b55" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Wed, 16 Jun 2021 05:23:54 GMT" + ], + "Content-Length": [ + "21" + ], + "Content-Type": [ + "application/json" + ] + }, + "ResponseBody": "{\r\n \"status\": \"Dequeued\"\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/259fbb24-9bcd-4cfc-865c-fc33b22fe38a/providers/Microsoft.DocumentDB/locations/eastus2/operationsStatus/25dd1c50-f982-4191-afaf-dd16f1610d4a?api-version=2021-06-15", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMjU5ZmJiMjQtOWJjZC00Y2ZjLTg2NWMtZmMzM2IyMmZlMzhhL3Byb3ZpZGVycy9NaWNyb3NvZnQuRG9jdW1lbnREQi9sb2NhdGlvbnMvZWFzdHVzMi9vcGVyYXRpb25zU3RhdHVzLzI1ZGQxYzUwLWY5ODItNDE5MS1hZmFmLWRkMTZmMTYxMGQ0YT9hcGktdmVyc2lvbj0yMDIxLTA2LTE1", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.6.28207.03", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.19043.", + "Microsoft.Azure.Management.CosmosDB.CosmosDBManagementClient/3.0.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-store, no-cache" + ], + "Pragma": [ + "no-cache" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-gatewayversion": [ + "version=2.14.0" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11997" + ], + "x-ms-request-id": [ + "9b593a2d-caad-4fa7-aa2a-d0635188466c" + ], + "x-ms-correlation-request-id": [ + "9b593a2d-caad-4fa7-aa2a-d0635188466c" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20210616T052424Z:9b593a2d-caad-4fa7-aa2a-d0635188466c" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Wed, 16 Jun 2021 05:24:23 GMT" + ], + "Content-Length": [ + "21" + ], + "Content-Type": [ + "application/json" + ] + }, + "ResponseBody": "{\r\n \"status\": \"Dequeued\"\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/259fbb24-9bcd-4cfc-865c-fc33b22fe38a/providers/Microsoft.DocumentDB/locations/eastus2/operationsStatus/25dd1c50-f982-4191-afaf-dd16f1610d4a?api-version=2021-06-15", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMjU5ZmJiMjQtOWJjZC00Y2ZjLTg2NWMtZmMzM2IyMmZlMzhhL3Byb3ZpZGVycy9NaWNyb3NvZnQuRG9jdW1lbnREQi9sb2NhdGlvbnMvZWFzdHVzMi9vcGVyYXRpb25zU3RhdHVzLzI1ZGQxYzUwLWY5ODItNDE5MS1hZmFmLWRkMTZmMTYxMGQ0YT9hcGktdmVyc2lvbj0yMDIxLTA2LTE1", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.6.28207.03", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.19043.", + "Microsoft.Azure.Management.CosmosDB.CosmosDBManagementClient/3.0.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-store, no-cache" + ], + "Pragma": [ + "no-cache" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-gatewayversion": [ + "version=2.14.0" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11996" + ], + "x-ms-request-id": [ + "2b181270-f68e-455d-847e-6775bab11567" + ], + "x-ms-correlation-request-id": [ + "2b181270-f68e-455d-847e-6775bab11567" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20210616T052454Z:2b181270-f68e-455d-847e-6775bab11567" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Wed, 16 Jun 2021 05:24:53 GMT" + ], + "Content-Length": [ + "21" + ], + "Content-Type": [ + "application/json" + ] + }, + "ResponseBody": "{\r\n \"status\": \"Dequeued\"\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/259fbb24-9bcd-4cfc-865c-fc33b22fe38a/providers/Microsoft.DocumentDB/locations/eastus2/operationsStatus/25dd1c50-f982-4191-afaf-dd16f1610d4a?api-version=2021-06-15", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMjU5ZmJiMjQtOWJjZC00Y2ZjLTg2NWMtZmMzM2IyMmZlMzhhL3Byb3ZpZGVycy9NaWNyb3NvZnQuRG9jdW1lbnREQi9sb2NhdGlvbnMvZWFzdHVzMi9vcGVyYXRpb25zU3RhdHVzLzI1ZGQxYzUwLWY5ODItNDE5MS1hZmFmLWRkMTZmMTYxMGQ0YT9hcGktdmVyc2lvbj0yMDIxLTA2LTE1", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.6.28207.03", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.19043.", + "Microsoft.Azure.Management.CosmosDB.CosmosDBManagementClient/3.0.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-store, no-cache" + ], + "Pragma": [ + "no-cache" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-gatewayversion": [ + "version=2.14.0" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11995" + ], + "x-ms-request-id": [ + "f0aeb388-76a1-4498-985f-5b889403dadc" + ], + "x-ms-correlation-request-id": [ + "f0aeb388-76a1-4498-985f-5b889403dadc" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20210616T052524Z:f0aeb388-76a1-4498-985f-5b889403dadc" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Wed, 16 Jun 2021 05:25:24 GMT" + ], + "Content-Length": [ + "22" + ], + "Content-Type": [ + "application/json" + ] + }, + "ResponseBody": "{\r\n \"status\": \"Succeeded\"\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/259fbb24-9bcd-4cfc-865c-fc33b22fe38a/resourceGroups/CosmosDBResourceGroup1226/providers/Microsoft.DocumentDB/databaseAccounts/accountname5926?api-version=2021-06-15", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMjU5ZmJiMjQtOWJjZC00Y2ZjLTg2NWMtZmMzM2IyMmZlMzhhL3Jlc291cmNlR3JvdXBzL0Nvc21vc0RCUmVzb3VyY2VHcm91cDEyMjYvcHJvdmlkZXJzL01pY3Jvc29mdC5Eb2N1bWVudERCL2RhdGFiYXNlQWNjb3VudHMvYWNjb3VudG5hbWU1OTI2P2FwaS12ZXJzaW9uPTIwMjEtMDYtMTU=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.6.28207.03", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.19043.", + "Microsoft.Azure.Management.CosmosDB.CosmosDBManagementClient/3.0.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-store, no-cache" + ], + "Pragma": [ + "no-cache" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-gatewayversion": [ + "version=2.14.0" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11994" + ], + "x-ms-request-id": [ + "33528c7e-6c61-405c-85ae-0cfd56679d1f" + ], + "x-ms-correlation-request-id": [ + "33528c7e-6c61-405c-85ae-0cfd56679d1f" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20210616T052524Z:33528c7e-6c61-405c-85ae-0cfd56679d1f" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Wed, 16 Jun 2021 05:25:24 GMT" + ], + "Content-Length": [ + "2463" + ], + "Content-Type": [ + "application/json" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/259fbb24-9bcd-4cfc-865c-fc33b22fe38a/resourceGroups/CosmosDBResourceGroup1226/providers/Microsoft.DocumentDB/databaseAccounts/accountname5926\",\r\n \"name\": \"accountname5926\",\r\n \"location\": \"East US 2\",\r\n \"type\": \"Microsoft.DocumentDB/databaseAccounts\",\r\n \"kind\": \"MongoDB\",\r\n \"tags\": {\r\n \"key1\": \"value1\",\r\n \"key2\": \"value2\"\r\n },\r\n \"systemData\": {\r\n \"createdAt\": \"2021-06-16T05:24:29.9157773Z\"\r\n },\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"documentEndpoint\": \"https://accountname5926.documents.azure.com:443/\",\r\n \"mongoEndpoint\": \"https://accountname5926.mongo.cosmos.azure.com:443/\",\r\n \"publicNetworkAccess\": \"Enabled\",\r\n \"enableAutomaticFailover\": false,\r\n \"enableMultipleWriteLocations\": false,\r\n \"enablePartitionKeyMonitor\": false,\r\n \"isVirtualNetworkFilterEnabled\": false,\r\n \"virtualNetworkRules\": [],\r\n \"EnabledApiTypes\": \"MongoDB\",\r\n \"disableKeyBasedMetadataWriteAccess\": false,\r\n \"enableFreeTier\": false,\r\n \"enableAnalyticalStorage\": false,\r\n \"analyticalStorageConfiguration\": {\r\n \"analyticalStorageSchemaType\": \"FullFidelity\"\r\n },\r\n \"instanceId\": \"de5f73f7-a0cd-4e91-8759-ceb44df5464d\",\r\n \"createMode\": \"Default\",\r\n \"databaseAccountOfferType\": \"Standard\",\r\n \"defaultIdentity\": \"FirstPartyIdentity\",\r\n \"networkAclBypass\": \"None\",\r\n \"disableLocalAuth\": false,\r\n \"consistencyPolicy\": {\r\n \"defaultConsistencyLevel\": \"BoundedStaleness\",\r\n \"maxIntervalInSeconds\": 1000,\r\n \"maxStalenessPrefix\": 300\r\n },\r\n \"apiProperties\": {\r\n \"serverVersion\": \"3.6\"\r\n },\r\n \"configurationOverrides\": {\r\n \"EnableBsonSchema\": \"True\"\r\n },\r\n \"writeLocations\": [\r\n {\r\n \"id\": \"accountname5926-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://accountname5926-eastus2.documents.azure.com:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"readLocations\": [\r\n {\r\n \"id\": \"accountname5926-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://accountname5926-eastus2.documents.azure.com:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"locations\": [\r\n {\r\n \"id\": \"accountname5926-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://accountname5926-eastus2.documents.azure.com:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"failoverPolicies\": [\r\n {\r\n \"id\": \"accountname5926-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"failoverPriority\": 0\r\n }\r\n ],\r\n \"cors\": [],\r\n \"capabilities\": [\r\n {\r\n \"name\": \"EnableMongo\"\r\n }\r\n ],\r\n \"ipRules\": [],\r\n \"backupPolicy\": {\r\n \"type\": \"Periodic\",\r\n \"periodicModeProperties\": {\r\n \"backupIntervalInMinutes\": 240,\r\n \"backupRetentionIntervalInHours\": 8,\r\n \"backupStorageRedundancy\": \"Geo\"\r\n }\r\n },\r\n \"networkAclBypassResourceIds\": []\r\n },\r\n \"identity\": {\r\n \"type\": \"None\"\r\n }\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/259fbb24-9bcd-4cfc-865c-fc33b22fe38a/resourceGroups/CosmosDBResourceGroup1226/providers/Microsoft.DocumentDB/databaseAccounts/accountname5926?api-version=2021-06-15", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMjU5ZmJiMjQtOWJjZC00Y2ZjLTg2NWMtZmMzM2IyMmZlMzhhL3Jlc291cmNlR3JvdXBzL0Nvc21vc0RCUmVzb3VyY2VHcm91cDEyMjYvcHJvdmlkZXJzL01pY3Jvc29mdC5Eb2N1bWVudERCL2RhdGFiYXNlQWNjb3VudHMvYWNjb3VudG5hbWU1OTI2P2FwaS12ZXJzaW9uPTIwMjEtMDYtMTU=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.6.28207.03", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.19043.", + "Microsoft.Azure.Management.CosmosDB.CosmosDBManagementClient/3.0.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-store, no-cache" + ], + "Pragma": [ + "no-cache" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-gatewayversion": [ + "version=2.14.0" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11973" + ], + "x-ms-request-id": [ + "7f3fec8d-e25f-4ca6-a47f-890ce4bc95b8" + ], + "x-ms-correlation-request-id": [ + "7f3fec8d-e25f-4ca6-a47f-890ce4bc95b8" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20210616T053500Z:7f3fec8d-e25f-4ca6-a47f-890ce4bc95b8" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Wed, 16 Jun 2021 05:35:00 GMT" + ], + "Content-Length": [ + "2690" + ], + "Content-Type": [ + "application/json" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/259fbb24-9bcd-4cfc-865c-fc33b22fe38a/resourceGroups/CosmosDBResourceGroup1226/providers/Microsoft.DocumentDB/databaseAccounts/accountname5926\",\r\n \"name\": \"accountname5926\",\r\n \"location\": \"East US 2\",\r\n \"type\": \"Microsoft.DocumentDB/databaseAccounts\",\r\n \"kind\": \"MongoDB\",\r\n \"tags\": {\r\n \"key3\": \"value3\",\r\n \"key4\": \"value4\"\r\n },\r\n \"systemData\": {\r\n \"createdAt\": \"2021-06-16T05:24:29.9157773Z\"\r\n },\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"documentEndpoint\": \"https://accountname5926.documents.azure.com:443/\",\r\n \"mongoEndpoint\": \"https://accountname5926.mongo.cosmos.azure.com:443/\",\r\n \"publicNetworkAccess\": \"Enabled\",\r\n \"enableAutomaticFailover\": true,\r\n \"enableMultipleWriteLocations\": false,\r\n \"enablePartitionKeyMonitor\": false,\r\n \"isVirtualNetworkFilterEnabled\": false,\r\n \"virtualNetworkRules\": [],\r\n \"EnabledApiTypes\": \"MongoDB\",\r\n \"disableKeyBasedMetadataWriteAccess\": true,\r\n \"enableFreeTier\": false,\r\n \"enableAnalyticalStorage\": false,\r\n \"analyticalStorageConfiguration\": {\r\n \"analyticalStorageSchemaType\": \"FullFidelity\"\r\n },\r\n \"instanceId\": \"de5f73f7-a0cd-4e91-8759-ceb44df5464d\",\r\n \"createMode\": \"Default\",\r\n \"databaseAccountOfferType\": \"Standard\",\r\n \"defaultIdentity\": \"FirstPartyIdentity\",\r\n \"networkAclBypass\": \"AzureServices\",\r\n \"disableLocalAuth\": false,\r\n \"consistencyPolicy\": {\r\n \"defaultConsistencyLevel\": \"Session\",\r\n \"maxIntervalInSeconds\": 5,\r\n \"maxStalenessPrefix\": 100\r\n },\r\n \"apiProperties\": {\r\n \"serverVersion\": \"3.6\"\r\n },\r\n \"configurationOverrides\": {\r\n \"EnableBsonSchema\": \"True\"\r\n },\r\n \"writeLocations\": [\r\n {\r\n \"id\": \"accountname5926-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://accountname5926-eastus2.documents.azure.com:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"readLocations\": [\r\n {\r\n \"id\": \"accountname5926-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://accountname5926-eastus2.documents.azure.com:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"locations\": [\r\n {\r\n \"id\": \"accountname5926-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://accountname5926-eastus2.documents.azure.com:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"failoverPolicies\": [\r\n {\r\n \"id\": \"accountname5926-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"failoverPriority\": 0\r\n }\r\n ],\r\n \"cors\": [],\r\n \"capabilities\": [\r\n {\r\n \"name\": \"EnableMongo\"\r\n }\r\n ],\r\n \"ipRules\": [\r\n {\r\n \"ipAddressOrRange\": \"23.43.230.120\"\r\n }\r\n ],\r\n \"backupPolicy\": {\r\n \"type\": \"Periodic\",\r\n \"periodicModeProperties\": {\r\n \"backupIntervalInMinutes\": 240,\r\n \"backupRetentionIntervalInHours\": 8,\r\n \"backupStorageRedundancy\": \"Geo\"\r\n }\r\n },\r\n \"networkAclBypassResourceIds\": [\r\n \"/subscriptions/subId/resourcegroups/rgName/providers/Microsoft.Synapse/workspaces/workspaceName\",\r\n \"/subscriptions/subId/resourcegroups/rgName/providers/Microsoft.Synapse/workspaces/workspaceName2\"\r\n ]\r\n },\r\n \"identity\": {\r\n \"type\": \"None\"\r\n }\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/259fbb24-9bcd-4cfc-865c-fc33b22fe38a/resourceGroups/CosmosDBResourceGroup1226/providers/Microsoft.DocumentDB/databaseAccounts?api-version=2021-06-15", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMjU5ZmJiMjQtOWJjZC00Y2ZjLTg2NWMtZmMzM2IyMmZlMzhhL3Jlc291cmNlR3JvdXBzL0Nvc21vc0RCUmVzb3VyY2VHcm91cDEyMjYvcHJvdmlkZXJzL01pY3Jvc29mdC5Eb2N1bWVudERCL2RhdGFiYXNlQWNjb3VudHM/YXBpLXZlcnNpb249MjAyMS0wNi0xNQ==", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-client-request-id": [ + "3f11b57e-d584-4e77-b4bb-a161c77978f1" + ], + "Accept-Language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.28207.03", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.19043.", + "Microsoft.Azure.Management.CosmosDB.CosmosDBManagementClient/3.0.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-store, no-cache" + ], + "Pragma": [ + "no-cache" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-gatewayversion": [ + "version=2.14.0" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11993" + ], + "x-ms-request-id": [ + "bdf38e1c-5656-4b6e-ba09-192ba6fee56b" + ], + "x-ms-correlation-request-id": [ + "bdf38e1c-5656-4b6e-ba09-192ba6fee56b" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20210616T052524Z:bdf38e1c-5656-4b6e-ba09-192ba6fee56b" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Wed, 16 Jun 2021 05:25:24 GMT" + ], + "Content-Length": [ + "2475" + ], + "Content-Type": [ + "application/json" + ] + }, + "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/subscriptions/259fbb24-9bcd-4cfc-865c-fc33b22fe38a/resourceGroups/CosmosDBResourceGroup1226/providers/Microsoft.DocumentDB/databaseAccounts/accountname5926\",\r\n \"name\": \"accountname5926\",\r\n \"location\": \"East US 2\",\r\n \"type\": \"Microsoft.DocumentDB/databaseAccounts\",\r\n \"kind\": \"MongoDB\",\r\n \"tags\": {\r\n \"key1\": \"value1\",\r\n \"key2\": \"value2\"\r\n },\r\n \"systemData\": {\r\n \"createdAt\": \"2021-06-16T05:24:29.9157773Z\"\r\n },\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"documentEndpoint\": \"https://accountname5926.documents.azure.com:443/\",\r\n \"mongoEndpoint\": \"https://accountname5926.mongo.cosmos.azure.com:443/\",\r\n \"publicNetworkAccess\": \"Enabled\",\r\n \"enableAutomaticFailover\": false,\r\n \"enableMultipleWriteLocations\": false,\r\n \"enablePartitionKeyMonitor\": false,\r\n \"isVirtualNetworkFilterEnabled\": false,\r\n \"virtualNetworkRules\": [],\r\n \"EnabledApiTypes\": \"MongoDB\",\r\n \"disableKeyBasedMetadataWriteAccess\": false,\r\n \"enableFreeTier\": false,\r\n \"enableAnalyticalStorage\": false,\r\n \"analyticalStorageConfiguration\": {\r\n \"analyticalStorageSchemaType\": \"FullFidelity\"\r\n },\r\n \"instanceId\": \"de5f73f7-a0cd-4e91-8759-ceb44df5464d\",\r\n \"createMode\": \"Default\",\r\n \"databaseAccountOfferType\": \"Standard\",\r\n \"defaultIdentity\": \"FirstPartyIdentity\",\r\n \"networkAclBypass\": \"None\",\r\n \"disableLocalAuth\": false,\r\n \"consistencyPolicy\": {\r\n \"defaultConsistencyLevel\": \"BoundedStaleness\",\r\n \"maxIntervalInSeconds\": 1000,\r\n \"maxStalenessPrefix\": 300\r\n },\r\n \"apiProperties\": {\r\n \"serverVersion\": \"3.6\"\r\n },\r\n \"configurationOverrides\": {\r\n \"EnableBsonSchema\": \"True\"\r\n },\r\n \"writeLocations\": [\r\n {\r\n \"id\": \"accountname5926-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://accountname5926-eastus2.documents.azure.com:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"readLocations\": [\r\n {\r\n \"id\": \"accountname5926-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://accountname5926-eastus2.documents.azure.com:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"locations\": [\r\n {\r\n \"id\": \"accountname5926-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://accountname5926-eastus2.documents.azure.com:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"failoverPolicies\": [\r\n {\r\n \"id\": \"accountname5926-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"failoverPriority\": 0\r\n }\r\n ],\r\n \"cors\": [],\r\n \"capabilities\": [\r\n {\r\n \"name\": \"EnableMongo\"\r\n }\r\n ],\r\n \"ipRules\": [],\r\n \"backupPolicy\": {\r\n \"type\": \"Periodic\",\r\n \"periodicModeProperties\": {\r\n \"backupIntervalInMinutes\": 240,\r\n \"backupRetentionIntervalInHours\": 8,\r\n \"backupStorageRedundancy\": \"Geo\"\r\n }\r\n },\r\n \"networkAclBypassResourceIds\": []\r\n },\r\n \"identity\": {\r\n \"type\": \"None\"\r\n }\r\n }\r\n ]\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/259fbb24-9bcd-4cfc-865c-fc33b22fe38a/resourceGroups/CosmosDBResourceGroup1226/providers/Microsoft.DocumentDB/databaseAccounts?api-version=2021-06-15", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMjU5ZmJiMjQtOWJjZC00Y2ZjLTg2NWMtZmMzM2IyMmZlMzhhL3Jlc291cmNlR3JvdXBzL0Nvc21vc0RCUmVzb3VyY2VHcm91cDEyMjYvcHJvdmlkZXJzL01pY3Jvc29mdC5Eb2N1bWVudERCL2RhdGFiYXNlQWNjb3VudHM/YXBpLXZlcnNpb249MjAyMS0wNi0xNQ==", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-client-request-id": [ + "e1c1ccb9-b3ef-485b-b4cc-3464fcaf0558" + ], + "Accept-Language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.28207.03", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.19043.", + "Microsoft.Azure.Management.CosmosDB.CosmosDBManagementClient/3.0.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-store, no-cache" + ], + "Pragma": [ + "no-cache" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-gatewayversion": [ + "version=2.14.0" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11972" + ], + "x-ms-request-id": [ + "cd635a52-0153-436e-a568-37747e03a15f" + ], + "x-ms-correlation-request-id": [ + "cd635a52-0153-436e-a568-37747e03a15f" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20210616T053501Z:cd635a52-0153-436e-a568-37747e03a15f" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Wed, 16 Jun 2021 05:35:00 GMT" + ], + "Content-Length": [ + "2702" + ], + "Content-Type": [ + "application/json" + ] + }, + "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/subscriptions/259fbb24-9bcd-4cfc-865c-fc33b22fe38a/resourceGroups/CosmosDBResourceGroup1226/providers/Microsoft.DocumentDB/databaseAccounts/accountname5926\",\r\n \"name\": \"accountname5926\",\r\n \"location\": \"East US 2\",\r\n \"type\": \"Microsoft.DocumentDB/databaseAccounts\",\r\n \"kind\": \"MongoDB\",\r\n \"tags\": {\r\n \"key3\": \"value3\",\r\n \"key4\": \"value4\"\r\n },\r\n \"systemData\": {\r\n \"createdAt\": \"2021-06-16T05:24:29.9157773Z\"\r\n },\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"documentEndpoint\": \"https://accountname5926.documents.azure.com:443/\",\r\n \"mongoEndpoint\": \"https://accountname5926.mongo.cosmos.azure.com:443/\",\r\n \"publicNetworkAccess\": \"Enabled\",\r\n \"enableAutomaticFailover\": true,\r\n \"enableMultipleWriteLocations\": false,\r\n \"enablePartitionKeyMonitor\": false,\r\n \"isVirtualNetworkFilterEnabled\": false,\r\n \"virtualNetworkRules\": [],\r\n \"EnabledApiTypes\": \"MongoDB\",\r\n \"disableKeyBasedMetadataWriteAccess\": true,\r\n \"enableFreeTier\": false,\r\n \"enableAnalyticalStorage\": false,\r\n \"analyticalStorageConfiguration\": {\r\n \"analyticalStorageSchemaType\": \"FullFidelity\"\r\n },\r\n \"instanceId\": \"de5f73f7-a0cd-4e91-8759-ceb44df5464d\",\r\n \"createMode\": \"Default\",\r\n \"databaseAccountOfferType\": \"Standard\",\r\n \"defaultIdentity\": \"FirstPartyIdentity\",\r\n \"networkAclBypass\": \"AzureServices\",\r\n \"disableLocalAuth\": false,\r\n \"consistencyPolicy\": {\r\n \"defaultConsistencyLevel\": \"Session\",\r\n \"maxIntervalInSeconds\": 5,\r\n \"maxStalenessPrefix\": 100\r\n },\r\n \"apiProperties\": {\r\n \"serverVersion\": \"3.6\"\r\n },\r\n \"configurationOverrides\": {\r\n \"EnableBsonSchema\": \"True\"\r\n },\r\n \"writeLocations\": [\r\n {\r\n \"id\": \"accountname5926-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://accountname5926-eastus2.documents.azure.com:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"readLocations\": [\r\n {\r\n \"id\": \"accountname5926-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://accountname5926-eastus2.documents.azure.com:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"locations\": [\r\n {\r\n \"id\": \"accountname5926-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://accountname5926-eastus2.documents.azure.com:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"failoverPolicies\": [\r\n {\r\n \"id\": \"accountname5926-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"failoverPriority\": 0\r\n }\r\n ],\r\n \"cors\": [],\r\n \"capabilities\": [\r\n {\r\n \"name\": \"EnableMongo\"\r\n }\r\n ],\r\n \"ipRules\": [\r\n {\r\n \"ipAddressOrRange\": \"23.43.230.120\"\r\n }\r\n ],\r\n \"backupPolicy\": {\r\n \"type\": \"Periodic\",\r\n \"periodicModeProperties\": {\r\n \"backupIntervalInMinutes\": 240,\r\n \"backupRetentionIntervalInHours\": 8,\r\n \"backupStorageRedundancy\": \"Geo\"\r\n }\r\n },\r\n \"networkAclBypassResourceIds\": [\r\n \"/subscriptions/subId/resourcegroups/rgName/providers/Microsoft.Synapse/workspaces/workspaceName\",\r\n \"/subscriptions/subId/resourcegroups/rgName/providers/Microsoft.Synapse/workspaces/workspaceName2\"\r\n ]\r\n },\r\n \"identity\": {\r\n \"type\": \"None\"\r\n }\r\n }\r\n ]\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/259fbb24-9bcd-4cfc-865c-fc33b22fe38a/resourceGroups/CosmosDBResourceGroup1226/providers/Microsoft.DocumentDB/databaseAccounts/accountname5926?api-version=2021-06-15", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMjU5ZmJiMjQtOWJjZC00Y2ZjLTg2NWMtZmMzM2IyMmZlMzhhL3Jlc291cmNlR3JvdXBzL0Nvc21vc0RCUmVzb3VyY2VHcm91cDEyMjYvcHJvdmlkZXJzL01pY3Jvc29mdC5Eb2N1bWVudERCL2RhdGFiYXNlQWNjb3VudHMvYWNjb3VudG5hbWU1OTI2P2FwaS12ZXJzaW9uPTIwMjEtMDYtMTU=", + "RequestMethod": "PATCH", + "RequestBody": "{\r\n \"tags\": {\r\n \"key3\": \"value3\",\r\n \"key4\": \"value4\"\r\n },\r\n \"location\": \"EAST US 2\",\r\n \"properties\": {\r\n \"consistencyPolicy\": {\r\n \"defaultConsistencyLevel\": \"Session\",\r\n \"maxStalenessPrefix\": 1300,\r\n \"maxIntervalInSeconds\": 12000\r\n },\r\n \"locations\": [\r\n {\r\n \"locationName\": \"East US 2\"\r\n }\r\n ],\r\n \"ipRules\": [\r\n {\r\n \"ipAddressOrRange\": \"23.43.230.120\"\r\n }\r\n ],\r\n \"isVirtualNetworkFilterEnabled\": false,\r\n \"enableAutomaticFailover\": true,\r\n \"disableKeyBasedMetadataWriteAccess\": true,\r\n \"networkAclBypass\": \"AzureServices\",\r\n \"networkAclBypassResourceIds\": [\r\n \"/subscriptions/subId/resourcegroups/rgName/providers/Microsoft.Synapse/workspaces/workspaceName\",\r\n \"/subscriptions/subId/resourcegroups/rgName/providers/Microsoft.Synapse/workspaces/workspaceName2\"\r\n ]\r\n }\r\n}", + "RequestHeaders": { + "x-ms-client-request-id": [ + "8c1e54ad-853a-41b2-bd79-7c4f304294c5" + ], + "Accept-Language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.28207.03", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.19043.", + "Microsoft.Azure.Management.CosmosDB.CosmosDBManagementClient/3.0.0.0" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Content-Length": [ + "876" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-store, no-cache" + ], + "Pragma": [ + "no-cache" + ], + "Location": [ + "https://management.azure.com/subscriptions/259fbb24-9bcd-4cfc-865c-fc33b22fe38a/resourceGroups/CosmosDBResourceGroup1226/providers/Microsoft.DocumentDB/databaseAccounts/accountname5926/operationResults/2668811a-bff7-4c9e-acdf-9f304fccd3ac?api-version=2021-06-15" + ], + "x-ms-request-id": [ + "2668811a-bff7-4c9e-acdf-9f304fccd3ac" + ], + "Azure-AsyncOperation": [ + "https://management.azure.com/subscriptions/259fbb24-9bcd-4cfc-865c-fc33b22fe38a/providers/Microsoft.DocumentDB/locations/eastus2/operationsStatus/2668811a-bff7-4c9e-acdf-9f304fccd3ac?api-version=2021-06-15" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-gatewayversion": [ + "version=2.14.0" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ], + "x-ms-ratelimit-remaining-subscription-writes": [ + "1198" + ], + "x-ms-correlation-request-id": [ + "1b702e80-6513-426e-832f-ccf85f3a71a8" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20210616T052528Z:1b702e80-6513-426e-832f-ccf85f3a71a8" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Wed, 16 Jun 2021 05:25:27 GMT" + ], + "Content-Length": [ + "2459" + ], + "Content-Type": [ + "application/json" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/259fbb24-9bcd-4cfc-865c-fc33b22fe38a/resourceGroups/CosmosDBResourceGroup1226/providers/Microsoft.DocumentDB/databaseAccounts/accountname5926\",\r\n \"name\": \"accountname5926\",\r\n \"location\": \"East US 2\",\r\n \"type\": \"Microsoft.DocumentDB/databaseAccounts\",\r\n \"kind\": \"MongoDB\",\r\n \"tags\": {\r\n \"key1\": \"value1\",\r\n \"key2\": \"value2\"\r\n },\r\n \"systemData\": {\r\n \"createdAt\": \"2021-06-16T05:24:29.9157773Z\"\r\n },\r\n \"properties\": {\r\n \"provisioningState\": \"Updating\",\r\n \"documentEndpoint\": \"https://accountname5926.documents.azure.com:443/\",\r\n \"mongoEndpoint\": \"https://accountname5926.mongo.cosmos.azure.com:443/\",\r\n \"publicNetworkAccess\": \"Enabled\",\r\n \"enableAutomaticFailover\": false,\r\n \"enableMultipleWriteLocations\": false,\r\n \"enablePartitionKeyMonitor\": false,\r\n \"isVirtualNetworkFilterEnabled\": false,\r\n \"virtualNetworkRules\": [],\r\n \"EnabledApiTypes\": \"MongoDB\",\r\n \"disableKeyBasedMetadataWriteAccess\": false,\r\n \"enableFreeTier\": false,\r\n \"enableAnalyticalStorage\": false,\r\n \"analyticalStorageConfiguration\": {\r\n \"analyticalStorageSchemaType\": \"FullFidelity\"\r\n },\r\n \"instanceId\": \"de5f73f7-a0cd-4e91-8759-ceb44df5464d\",\r\n \"createMode\": \"Default\",\r\n \"databaseAccountOfferType\": \"Standard\",\r\n \"defaultIdentity\": \"FirstPartyIdentity\",\r\n \"networkAclBypass\": \"None\",\r\n \"disableLocalAuth\": false,\r\n \"consistencyPolicy\": {\r\n \"defaultConsistencyLevel\": \"BoundedStaleness\",\r\n \"maxIntervalInSeconds\": 1000,\r\n \"maxStalenessPrefix\": 300\r\n },\r\n \"apiProperties\": {\r\n \"serverVersion\": \"3.6\"\r\n },\r\n \"configurationOverrides\": {\r\n \"EnableBsonSchema\": \"True\"\r\n },\r\n \"writeLocations\": [\r\n {\r\n \"id\": \"accountname5926-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://accountname5926-eastus2.documents.azure.com:443/\",\r\n \"provisioningState\": \"Updating\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"readLocations\": [\r\n {\r\n \"id\": \"accountname5926-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://accountname5926-eastus2.documents.azure.com:443/\",\r\n \"provisioningState\": \"Updating\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"locations\": [\r\n {\r\n \"id\": \"accountname5926-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://accountname5926-eastus2.documents.azure.com:443/\",\r\n \"provisioningState\": \"Updating\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"failoverPolicies\": [\r\n {\r\n \"id\": \"accountname5926-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"failoverPriority\": 0\r\n }\r\n ],\r\n \"cors\": [],\r\n \"capabilities\": [\r\n {\r\n \"name\": \"EnableMongo\"\r\n }\r\n ],\r\n \"ipRules\": [],\r\n \"backupPolicy\": {\r\n \"type\": \"Periodic\",\r\n \"periodicModeProperties\": {\r\n \"backupIntervalInMinutes\": 240,\r\n \"backupRetentionIntervalInHours\": 8,\r\n \"backupStorageRedundancy\": \"Geo\"\r\n }\r\n },\r\n \"networkAclBypassResourceIds\": []\r\n },\r\n \"identity\": {\r\n \"type\": \"None\"\r\n }\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/259fbb24-9bcd-4cfc-865c-fc33b22fe38a/providers/Microsoft.DocumentDB/locations/eastus2/operationsStatus/2668811a-bff7-4c9e-acdf-9f304fccd3ac?api-version=2021-06-15", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMjU5ZmJiMjQtOWJjZC00Y2ZjLTg2NWMtZmMzM2IyMmZlMzhhL3Byb3ZpZGVycy9NaWNyb3NvZnQuRG9jdW1lbnREQi9sb2NhdGlvbnMvZWFzdHVzMi9vcGVyYXRpb25zU3RhdHVzLzI2Njg4MTFhLWJmZjctNGM5ZS1hY2RmLTlmMzA0ZmNjZDNhYz9hcGktdmVyc2lvbj0yMDIxLTA2LTE1", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.6.28207.03", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.19043.", + "Microsoft.Azure.Management.CosmosDB.CosmosDBManagementClient/3.0.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-store, no-cache" + ], + "Pragma": [ + "no-cache" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-gatewayversion": [ + "version=2.14.0" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11992" + ], + "x-ms-request-id": [ + "a9b44ee4-8941-4e74-af05-200fd0451f95" + ], + "x-ms-correlation-request-id": [ + "a9b44ee4-8941-4e74-af05-200fd0451f95" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20210616T052558Z:a9b44ee4-8941-4e74-af05-200fd0451f95" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Wed, 16 Jun 2021 05:25:57 GMT" + ], + "Content-Length": [ + "21" + ], + "Content-Type": [ + "application/json" + ] + }, + "ResponseBody": "{\r\n \"status\": \"Dequeued\"\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/259fbb24-9bcd-4cfc-865c-fc33b22fe38a/providers/Microsoft.DocumentDB/locations/eastus2/operationsStatus/2668811a-bff7-4c9e-acdf-9f304fccd3ac?api-version=2021-06-15", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMjU5ZmJiMjQtOWJjZC00Y2ZjLTg2NWMtZmMzM2IyMmZlMzhhL3Byb3ZpZGVycy9NaWNyb3NvZnQuRG9jdW1lbnREQi9sb2NhdGlvbnMvZWFzdHVzMi9vcGVyYXRpb25zU3RhdHVzLzI2Njg4MTFhLWJmZjctNGM5ZS1hY2RmLTlmMzA0ZmNjZDNhYz9hcGktdmVyc2lvbj0yMDIxLTA2LTE1", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.6.28207.03", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.19043.", + "Microsoft.Azure.Management.CosmosDB.CosmosDBManagementClient/3.0.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-store, no-cache" + ], + "Pragma": [ + "no-cache" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-gatewayversion": [ + "version=2.14.0" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11991" + ], + "x-ms-request-id": [ + "93a1d3b2-f1cf-404d-837d-8fd229c3aa6a" + ], + "x-ms-correlation-request-id": [ + "93a1d3b2-f1cf-404d-837d-8fd229c3aa6a" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20210616T052628Z:93a1d3b2-f1cf-404d-837d-8fd229c3aa6a" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Wed, 16 Jun 2021 05:26:27 GMT" + ], + "Content-Length": [ + "21" + ], + "Content-Type": [ + "application/json" + ] + }, + "ResponseBody": "{\r\n \"status\": \"Dequeued\"\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/259fbb24-9bcd-4cfc-865c-fc33b22fe38a/providers/Microsoft.DocumentDB/locations/eastus2/operationsStatus/2668811a-bff7-4c9e-acdf-9f304fccd3ac?api-version=2021-06-15", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMjU5ZmJiMjQtOWJjZC00Y2ZjLTg2NWMtZmMzM2IyMmZlMzhhL3Byb3ZpZGVycy9NaWNyb3NvZnQuRG9jdW1lbnREQi9sb2NhdGlvbnMvZWFzdHVzMi9vcGVyYXRpb25zU3RhdHVzLzI2Njg4MTFhLWJmZjctNGM5ZS1hY2RmLTlmMzA0ZmNjZDNhYz9hcGktdmVyc2lvbj0yMDIxLTA2LTE1", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.6.28207.03", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.19043.", + "Microsoft.Azure.Management.CosmosDB.CosmosDBManagementClient/3.0.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-store, no-cache" + ], + "Pragma": [ + "no-cache" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-gatewayversion": [ + "version=2.14.0" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11990" + ], + "x-ms-request-id": [ + "1c4d0406-5b8b-421a-bbd3-54ae3b11265d" + ], + "x-ms-correlation-request-id": [ + "1c4d0406-5b8b-421a-bbd3-54ae3b11265d" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20210616T052658Z:1c4d0406-5b8b-421a-bbd3-54ae3b11265d" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Wed, 16 Jun 2021 05:26:58 GMT" + ], + "Content-Length": [ + "21" + ], + "Content-Type": [ + "application/json" + ] + }, + "ResponseBody": "{\r\n \"status\": \"Dequeued\"\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/259fbb24-9bcd-4cfc-865c-fc33b22fe38a/providers/Microsoft.DocumentDB/locations/eastus2/operationsStatus/2668811a-bff7-4c9e-acdf-9f304fccd3ac?api-version=2021-06-15", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMjU5ZmJiMjQtOWJjZC00Y2ZjLTg2NWMtZmMzM2IyMmZlMzhhL3Byb3ZpZGVycy9NaWNyb3NvZnQuRG9jdW1lbnREQi9sb2NhdGlvbnMvZWFzdHVzMi9vcGVyYXRpb25zU3RhdHVzLzI2Njg4MTFhLWJmZjctNGM5ZS1hY2RmLTlmMzA0ZmNjZDNhYz9hcGktdmVyc2lvbj0yMDIxLTA2LTE1", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.6.28207.03", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.19043.", + "Microsoft.Azure.Management.CosmosDB.CosmosDBManagementClient/3.0.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-store, no-cache" + ], + "Pragma": [ + "no-cache" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-gatewayversion": [ + "version=2.14.0" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11989" + ], + "x-ms-request-id": [ + "31def7bb-63f1-4b90-b6f7-a0e9cbb06b26" + ], + "x-ms-correlation-request-id": [ + "31def7bb-63f1-4b90-b6f7-a0e9cbb06b26" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20210616T052728Z:31def7bb-63f1-4b90-b6f7-a0e9cbb06b26" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Wed, 16 Jun 2021 05:27:27 GMT" + ], + "Content-Length": [ + "21" + ], + "Content-Type": [ + "application/json" + ] + }, + "ResponseBody": "{\r\n \"status\": \"Dequeued\"\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/259fbb24-9bcd-4cfc-865c-fc33b22fe38a/providers/Microsoft.DocumentDB/locations/eastus2/operationsStatus/2668811a-bff7-4c9e-acdf-9f304fccd3ac?api-version=2021-06-15", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMjU5ZmJiMjQtOWJjZC00Y2ZjLTg2NWMtZmMzM2IyMmZlMzhhL3Byb3ZpZGVycy9NaWNyb3NvZnQuRG9jdW1lbnREQi9sb2NhdGlvbnMvZWFzdHVzMi9vcGVyYXRpb25zU3RhdHVzLzI2Njg4MTFhLWJmZjctNGM5ZS1hY2RmLTlmMzA0ZmNjZDNhYz9hcGktdmVyc2lvbj0yMDIxLTA2LTE1", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.6.28207.03", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.19043.", + "Microsoft.Azure.Management.CosmosDB.CosmosDBManagementClient/3.0.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-store, no-cache" + ], + "Pragma": [ + "no-cache" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-gatewayversion": [ + "version=2.14.0" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11988" + ], + "x-ms-request-id": [ + "8aecbf54-26eb-431e-9c7d-1b177de13dc1" + ], + "x-ms-correlation-request-id": [ + "8aecbf54-26eb-431e-9c7d-1b177de13dc1" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20210616T052758Z:8aecbf54-26eb-431e-9c7d-1b177de13dc1" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Wed, 16 Jun 2021 05:27:57 GMT" + ], + "Content-Length": [ + "21" + ], + "Content-Type": [ + "application/json" + ] + }, + "ResponseBody": "{\r\n \"status\": \"Dequeued\"\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/259fbb24-9bcd-4cfc-865c-fc33b22fe38a/providers/Microsoft.DocumentDB/locations/eastus2/operationsStatus/2668811a-bff7-4c9e-acdf-9f304fccd3ac?api-version=2021-06-15", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMjU5ZmJiMjQtOWJjZC00Y2ZjLTg2NWMtZmMzM2IyMmZlMzhhL3Byb3ZpZGVycy9NaWNyb3NvZnQuRG9jdW1lbnREQi9sb2NhdGlvbnMvZWFzdHVzMi9vcGVyYXRpb25zU3RhdHVzLzI2Njg4MTFhLWJmZjctNGM5ZS1hY2RmLTlmMzA0ZmNjZDNhYz9hcGktdmVyc2lvbj0yMDIxLTA2LTE1", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.6.28207.03", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.19043.", + "Microsoft.Azure.Management.CosmosDB.CosmosDBManagementClient/3.0.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-store, no-cache" + ], + "Pragma": [ + "no-cache" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-gatewayversion": [ + "version=2.14.0" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11987" + ], + "x-ms-request-id": [ + "6ff35172-2b78-4948-bc29-a643f16f2672" + ], + "x-ms-correlation-request-id": [ + "6ff35172-2b78-4948-bc29-a643f16f2672" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20210616T052828Z:6ff35172-2b78-4948-bc29-a643f16f2672" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Wed, 16 Jun 2021 05:28:28 GMT" + ], + "Content-Length": [ + "21" + ], + "Content-Type": [ + "application/json" + ] + }, + "ResponseBody": "{\r\n \"status\": \"Dequeued\"\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/259fbb24-9bcd-4cfc-865c-fc33b22fe38a/providers/Microsoft.DocumentDB/locations/eastus2/operationsStatus/2668811a-bff7-4c9e-acdf-9f304fccd3ac?api-version=2021-06-15", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMjU5ZmJiMjQtOWJjZC00Y2ZjLTg2NWMtZmMzM2IyMmZlMzhhL3Byb3ZpZGVycy9NaWNyb3NvZnQuRG9jdW1lbnREQi9sb2NhdGlvbnMvZWFzdHVzMi9vcGVyYXRpb25zU3RhdHVzLzI2Njg4MTFhLWJmZjctNGM5ZS1hY2RmLTlmMzA0ZmNjZDNhYz9hcGktdmVyc2lvbj0yMDIxLTA2LTE1", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.6.28207.03", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.19043.", + "Microsoft.Azure.Management.CosmosDB.CosmosDBManagementClient/3.0.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-store, no-cache" + ], + "Pragma": [ + "no-cache" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-gatewayversion": [ + "version=2.14.0" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11986" + ], + "x-ms-request-id": [ + "4f78153f-560b-45b3-b15a-5e8b6bc09b2f" + ], + "x-ms-correlation-request-id": [ + "4f78153f-560b-45b3-b15a-5e8b6bc09b2f" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20210616T052858Z:4f78153f-560b-45b3-b15a-5e8b6bc09b2f" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Wed, 16 Jun 2021 05:28:57 GMT" + ], + "Content-Length": [ + "21" + ], + "Content-Type": [ + "application/json" + ] + }, + "ResponseBody": "{\r\n \"status\": \"Dequeued\"\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/259fbb24-9bcd-4cfc-865c-fc33b22fe38a/providers/Microsoft.DocumentDB/locations/eastus2/operationsStatus/2668811a-bff7-4c9e-acdf-9f304fccd3ac?api-version=2021-06-15", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMjU5ZmJiMjQtOWJjZC00Y2ZjLTg2NWMtZmMzM2IyMmZlMzhhL3Byb3ZpZGVycy9NaWNyb3NvZnQuRG9jdW1lbnREQi9sb2NhdGlvbnMvZWFzdHVzMi9vcGVyYXRpb25zU3RhdHVzLzI2Njg4MTFhLWJmZjctNGM5ZS1hY2RmLTlmMzA0ZmNjZDNhYz9hcGktdmVyc2lvbj0yMDIxLTA2LTE1", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.6.28207.03", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.19043.", + "Microsoft.Azure.Management.CosmosDB.CosmosDBManagementClient/3.0.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-store, no-cache" + ], + "Pragma": [ + "no-cache" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-gatewayversion": [ + "version=2.14.0" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11985" + ], + "x-ms-request-id": [ + "c809e7c4-0f6c-4d36-b42e-189ba7338b0c" + ], + "x-ms-correlation-request-id": [ + "c809e7c4-0f6c-4d36-b42e-189ba7338b0c" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20210616T052929Z:c809e7c4-0f6c-4d36-b42e-189ba7338b0c" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Wed, 16 Jun 2021 05:29:28 GMT" + ], + "Content-Length": [ + "21" + ], + "Content-Type": [ + "application/json" + ] + }, + "ResponseBody": "{\r\n \"status\": \"Dequeued\"\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/259fbb24-9bcd-4cfc-865c-fc33b22fe38a/providers/Microsoft.DocumentDB/locations/eastus2/operationsStatus/2668811a-bff7-4c9e-acdf-9f304fccd3ac?api-version=2021-06-15", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMjU5ZmJiMjQtOWJjZC00Y2ZjLTg2NWMtZmMzM2IyMmZlMzhhL3Byb3ZpZGVycy9NaWNyb3NvZnQuRG9jdW1lbnREQi9sb2NhdGlvbnMvZWFzdHVzMi9vcGVyYXRpb25zU3RhdHVzLzI2Njg4MTFhLWJmZjctNGM5ZS1hY2RmLTlmMzA0ZmNjZDNhYz9hcGktdmVyc2lvbj0yMDIxLTA2LTE1", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.6.28207.03", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.19043.", + "Microsoft.Azure.Management.CosmosDB.CosmosDBManagementClient/3.0.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-store, no-cache" + ], + "Pragma": [ + "no-cache" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-gatewayversion": [ + "version=2.14.0" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11984" + ], + "x-ms-request-id": [ + "45704e0f-1ef0-428b-9f0d-f9064aabebf6" + ], + "x-ms-correlation-request-id": [ + "45704e0f-1ef0-428b-9f0d-f9064aabebf6" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20210616T052959Z:45704e0f-1ef0-428b-9f0d-f9064aabebf6" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Wed, 16 Jun 2021 05:29:58 GMT" + ], + "Content-Length": [ + "21" + ], + "Content-Type": [ + "application/json" + ] + }, + "ResponseBody": "{\r\n \"status\": \"Dequeued\"\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/259fbb24-9bcd-4cfc-865c-fc33b22fe38a/providers/Microsoft.DocumentDB/locations/eastus2/operationsStatus/2668811a-bff7-4c9e-acdf-9f304fccd3ac?api-version=2021-06-15", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMjU5ZmJiMjQtOWJjZC00Y2ZjLTg2NWMtZmMzM2IyMmZlMzhhL3Byb3ZpZGVycy9NaWNyb3NvZnQuRG9jdW1lbnREQi9sb2NhdGlvbnMvZWFzdHVzMi9vcGVyYXRpb25zU3RhdHVzLzI2Njg4MTFhLWJmZjctNGM5ZS1hY2RmLTlmMzA0ZmNjZDNhYz9hcGktdmVyc2lvbj0yMDIxLTA2LTE1", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.6.28207.03", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.19043.", + "Microsoft.Azure.Management.CosmosDB.CosmosDBManagementClient/3.0.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-store, no-cache" + ], + "Pragma": [ + "no-cache" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-gatewayversion": [ + "version=2.14.0" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11983" + ], + "x-ms-request-id": [ + "86e42424-fab6-4096-82bf-a650b45419f1" + ], + "x-ms-correlation-request-id": [ + "86e42424-fab6-4096-82bf-a650b45419f1" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20210616T053029Z:86e42424-fab6-4096-82bf-a650b45419f1" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Wed, 16 Jun 2021 05:30:29 GMT" + ], + "Content-Length": [ + "21" + ], + "Content-Type": [ + "application/json" + ] + }, + "ResponseBody": "{\r\n \"status\": \"Dequeued\"\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/259fbb24-9bcd-4cfc-865c-fc33b22fe38a/providers/Microsoft.DocumentDB/locations/eastus2/operationsStatus/2668811a-bff7-4c9e-acdf-9f304fccd3ac?api-version=2021-06-15", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMjU5ZmJiMjQtOWJjZC00Y2ZjLTg2NWMtZmMzM2IyMmZlMzhhL3Byb3ZpZGVycy9NaWNyb3NvZnQuRG9jdW1lbnREQi9sb2NhdGlvbnMvZWFzdHVzMi9vcGVyYXRpb25zU3RhdHVzLzI2Njg4MTFhLWJmZjctNGM5ZS1hY2RmLTlmMzA0ZmNjZDNhYz9hcGktdmVyc2lvbj0yMDIxLTA2LTE1", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.6.28207.03", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.19043.", + "Microsoft.Azure.Management.CosmosDB.CosmosDBManagementClient/3.0.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-store, no-cache" + ], + "Pragma": [ + "no-cache" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-gatewayversion": [ + "version=2.14.0" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11982" + ], + "x-ms-request-id": [ + "8692c096-ff22-44f9-9ba5-188ad23e86f3" + ], + "x-ms-correlation-request-id": [ + "8692c096-ff22-44f9-9ba5-188ad23e86f3" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20210616T053059Z:8692c096-ff22-44f9-9ba5-188ad23e86f3" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Wed, 16 Jun 2021 05:30:59 GMT" + ], + "Content-Length": [ + "21" + ], + "Content-Type": [ + "application/json" + ] + }, + "ResponseBody": "{\r\n \"status\": \"Dequeued\"\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/259fbb24-9bcd-4cfc-865c-fc33b22fe38a/providers/Microsoft.DocumentDB/locations/eastus2/operationsStatus/2668811a-bff7-4c9e-acdf-9f304fccd3ac?api-version=2021-06-15", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMjU5ZmJiMjQtOWJjZC00Y2ZjLTg2NWMtZmMzM2IyMmZlMzhhL3Byb3ZpZGVycy9NaWNyb3NvZnQuRG9jdW1lbnREQi9sb2NhdGlvbnMvZWFzdHVzMi9vcGVyYXRpb25zU3RhdHVzLzI2Njg4MTFhLWJmZjctNGM5ZS1hY2RmLTlmMzA0ZmNjZDNhYz9hcGktdmVyc2lvbj0yMDIxLTA2LTE1", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.6.28207.03", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.19043.", + "Microsoft.Azure.Management.CosmosDB.CosmosDBManagementClient/3.0.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-store, no-cache" + ], + "Pragma": [ + "no-cache" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-gatewayversion": [ + "version=2.14.0" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11981" + ], + "x-ms-request-id": [ + "84173e18-ffa0-4e92-8a35-f0c791088524" + ], + "x-ms-correlation-request-id": [ + "84173e18-ffa0-4e92-8a35-f0c791088524" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20210616T053129Z:84173e18-ffa0-4e92-8a35-f0c791088524" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Wed, 16 Jun 2021 05:31:28 GMT" + ], + "Content-Length": [ + "21" + ], + "Content-Type": [ + "application/json" + ] + }, + "ResponseBody": "{\r\n \"status\": \"Dequeued\"\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/259fbb24-9bcd-4cfc-865c-fc33b22fe38a/providers/Microsoft.DocumentDB/locations/eastus2/operationsStatus/2668811a-bff7-4c9e-acdf-9f304fccd3ac?api-version=2021-06-15", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMjU5ZmJiMjQtOWJjZC00Y2ZjLTg2NWMtZmMzM2IyMmZlMzhhL3Byb3ZpZGVycy9NaWNyb3NvZnQuRG9jdW1lbnREQi9sb2NhdGlvbnMvZWFzdHVzMi9vcGVyYXRpb25zU3RhdHVzLzI2Njg4MTFhLWJmZjctNGM5ZS1hY2RmLTlmMzA0ZmNjZDNhYz9hcGktdmVyc2lvbj0yMDIxLTA2LTE1", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.6.28207.03", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.19043.", + "Microsoft.Azure.Management.CosmosDB.CosmosDBManagementClient/3.0.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-store, no-cache" + ], + "Pragma": [ + "no-cache" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-gatewayversion": [ + "version=2.14.0" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11980" + ], + "x-ms-request-id": [ + "e5b82d12-16f4-4b16-bea1-118a53f5fd81" + ], + "x-ms-correlation-request-id": [ + "e5b82d12-16f4-4b16-bea1-118a53f5fd81" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20210616T053159Z:e5b82d12-16f4-4b16-bea1-118a53f5fd81" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Wed, 16 Jun 2021 05:31:59 GMT" + ], + "Content-Length": [ + "21" + ], + "Content-Type": [ + "application/json" + ] + }, + "ResponseBody": "{\r\n \"status\": \"Dequeued\"\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/259fbb24-9bcd-4cfc-865c-fc33b22fe38a/providers/Microsoft.DocumentDB/locations/eastus2/operationsStatus/2668811a-bff7-4c9e-acdf-9f304fccd3ac?api-version=2021-06-15", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMjU5ZmJiMjQtOWJjZC00Y2ZjLTg2NWMtZmMzM2IyMmZlMzhhL3Byb3ZpZGVycy9NaWNyb3NvZnQuRG9jdW1lbnREQi9sb2NhdGlvbnMvZWFzdHVzMi9vcGVyYXRpb25zU3RhdHVzLzI2Njg4MTFhLWJmZjctNGM5ZS1hY2RmLTlmMzA0ZmNjZDNhYz9hcGktdmVyc2lvbj0yMDIxLTA2LTE1", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.6.28207.03", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.19043.", + "Microsoft.Azure.Management.CosmosDB.CosmosDBManagementClient/3.0.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-store, no-cache" + ], + "Pragma": [ + "no-cache" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-gatewayversion": [ + "version=2.14.0" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11979" + ], + "x-ms-request-id": [ + "637b78bf-3e90-4e69-9ce8-e8ffa3fcf729" + ], + "x-ms-correlation-request-id": [ + "637b78bf-3e90-4e69-9ce8-e8ffa3fcf729" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20210616T053229Z:637b78bf-3e90-4e69-9ce8-e8ffa3fcf729" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Wed, 16 Jun 2021 05:32:29 GMT" + ], + "Content-Length": [ + "21" + ], + "Content-Type": [ + "application/json" + ] + }, + "ResponseBody": "{\r\n \"status\": \"Dequeued\"\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/259fbb24-9bcd-4cfc-865c-fc33b22fe38a/providers/Microsoft.DocumentDB/locations/eastus2/operationsStatus/2668811a-bff7-4c9e-acdf-9f304fccd3ac?api-version=2021-06-15", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMjU5ZmJiMjQtOWJjZC00Y2ZjLTg2NWMtZmMzM2IyMmZlMzhhL3Byb3ZpZGVycy9NaWNyb3NvZnQuRG9jdW1lbnREQi9sb2NhdGlvbnMvZWFzdHVzMi9vcGVyYXRpb25zU3RhdHVzLzI2Njg4MTFhLWJmZjctNGM5ZS1hY2RmLTlmMzA0ZmNjZDNhYz9hcGktdmVyc2lvbj0yMDIxLTA2LTE1", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.6.28207.03", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.19043.", + "Microsoft.Azure.Management.CosmosDB.CosmosDBManagementClient/3.0.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-store, no-cache" + ], + "Pragma": [ + "no-cache" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-gatewayversion": [ + "version=2.14.0" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11978" + ], + "x-ms-request-id": [ + "b63fdbd8-0a37-40b5-98c9-fedee4e44df3" + ], + "x-ms-correlation-request-id": [ + "b63fdbd8-0a37-40b5-98c9-fedee4e44df3" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20210616T053300Z:b63fdbd8-0a37-40b5-98c9-fedee4e44df3" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Wed, 16 Jun 2021 05:32:59 GMT" + ], + "Content-Length": [ + "21" + ], + "Content-Type": [ + "application/json" + ] + }, + "ResponseBody": "{\r\n \"status\": \"Dequeued\"\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/259fbb24-9bcd-4cfc-865c-fc33b22fe38a/providers/Microsoft.DocumentDB/locations/eastus2/operationsStatus/2668811a-bff7-4c9e-acdf-9f304fccd3ac?api-version=2021-06-15", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMjU5ZmJiMjQtOWJjZC00Y2ZjLTg2NWMtZmMzM2IyMmZlMzhhL3Byb3ZpZGVycy9NaWNyb3NvZnQuRG9jdW1lbnREQi9sb2NhdGlvbnMvZWFzdHVzMi9vcGVyYXRpb25zU3RhdHVzLzI2Njg4MTFhLWJmZjctNGM5ZS1hY2RmLTlmMzA0ZmNjZDNhYz9hcGktdmVyc2lvbj0yMDIxLTA2LTE1", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.6.28207.03", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.19043.", + "Microsoft.Azure.Management.CosmosDB.CosmosDBManagementClient/3.0.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-store, no-cache" + ], + "Pragma": [ + "no-cache" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-gatewayversion": [ + "version=2.14.0" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11977" + ], + "x-ms-request-id": [ + "5aeb6523-7538-4d7a-8e78-16f95d2b56fb" + ], + "x-ms-correlation-request-id": [ + "5aeb6523-7538-4d7a-8e78-16f95d2b56fb" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20210616T053330Z:5aeb6523-7538-4d7a-8e78-16f95d2b56fb" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Wed, 16 Jun 2021 05:33:30 GMT" + ], + "Content-Length": [ + "21" + ], + "Content-Type": [ + "application/json" + ] + }, + "ResponseBody": "{\r\n \"status\": \"Dequeued\"\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/259fbb24-9bcd-4cfc-865c-fc33b22fe38a/providers/Microsoft.DocumentDB/locations/eastus2/operationsStatus/2668811a-bff7-4c9e-acdf-9f304fccd3ac?api-version=2021-06-15", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMjU5ZmJiMjQtOWJjZC00Y2ZjLTg2NWMtZmMzM2IyMmZlMzhhL3Byb3ZpZGVycy9NaWNyb3NvZnQuRG9jdW1lbnREQi9sb2NhdGlvbnMvZWFzdHVzMi9vcGVyYXRpb25zU3RhdHVzLzI2Njg4MTFhLWJmZjctNGM5ZS1hY2RmLTlmMzA0ZmNjZDNhYz9hcGktdmVyc2lvbj0yMDIxLTA2LTE1", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.6.28207.03", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.19043.", + "Microsoft.Azure.Management.CosmosDB.CosmosDBManagementClient/3.0.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-store, no-cache" + ], + "Pragma": [ + "no-cache" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-gatewayversion": [ + "version=2.14.0" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11976" + ], + "x-ms-request-id": [ + "191612bd-8ad5-4f8c-b0d8-e24271fe4e48" + ], + "x-ms-correlation-request-id": [ + "191612bd-8ad5-4f8c-b0d8-e24271fe4e48" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20210616T053400Z:191612bd-8ad5-4f8c-b0d8-e24271fe4e48" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Wed, 16 Jun 2021 05:33:59 GMT" + ], + "Content-Length": [ + "21" + ], + "Content-Type": [ + "application/json" + ] + }, + "ResponseBody": "{\r\n \"status\": \"Dequeued\"\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/259fbb24-9bcd-4cfc-865c-fc33b22fe38a/providers/Microsoft.DocumentDB/locations/eastus2/operationsStatus/2668811a-bff7-4c9e-acdf-9f304fccd3ac?api-version=2021-06-15", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMjU5ZmJiMjQtOWJjZC00Y2ZjLTg2NWMtZmMzM2IyMmZlMzhhL3Byb3ZpZGVycy9NaWNyb3NvZnQuRG9jdW1lbnREQi9sb2NhdGlvbnMvZWFzdHVzMi9vcGVyYXRpb25zU3RhdHVzLzI2Njg4MTFhLWJmZjctNGM5ZS1hY2RmLTlmMzA0ZmNjZDNhYz9hcGktdmVyc2lvbj0yMDIxLTA2LTE1", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.6.28207.03", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.19043.", + "Microsoft.Azure.Management.CosmosDB.CosmosDBManagementClient/3.0.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-store, no-cache" + ], + "Pragma": [ + "no-cache" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-gatewayversion": [ + "version=2.14.0" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11975" + ], + "x-ms-request-id": [ + "d186e639-9b3e-4524-a473-f02c3a98d5d1" + ], + "x-ms-correlation-request-id": [ + "d186e639-9b3e-4524-a473-f02c3a98d5d1" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20210616T053430Z:d186e639-9b3e-4524-a473-f02c3a98d5d1" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Wed, 16 Jun 2021 05:34:29 GMT" + ], + "Content-Length": [ + "21" + ], + "Content-Type": [ + "application/json" + ] + }, + "ResponseBody": "{\r\n \"status\": \"Dequeued\"\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/259fbb24-9bcd-4cfc-865c-fc33b22fe38a/providers/Microsoft.DocumentDB/locations/eastus2/operationsStatus/2668811a-bff7-4c9e-acdf-9f304fccd3ac?api-version=2021-06-15", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMjU5ZmJiMjQtOWJjZC00Y2ZjLTg2NWMtZmMzM2IyMmZlMzhhL3Byb3ZpZGVycy9NaWNyb3NvZnQuRG9jdW1lbnREQi9sb2NhdGlvbnMvZWFzdHVzMi9vcGVyYXRpb25zU3RhdHVzLzI2Njg4MTFhLWJmZjctNGM5ZS1hY2RmLTlmMzA0ZmNjZDNhYz9hcGktdmVyc2lvbj0yMDIxLTA2LTE1", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.6.28207.03", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.19043.", + "Microsoft.Azure.Management.CosmosDB.CosmosDBManagementClient/3.0.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-store, no-cache" + ], + "Pragma": [ + "no-cache" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-gatewayversion": [ + "version=2.14.0" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11974" + ], + "x-ms-request-id": [ + "2b93bc09-d5f3-4104-82ce-6597c91f2b3d" + ], + "x-ms-correlation-request-id": [ + "2b93bc09-d5f3-4104-82ce-6597c91f2b3d" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20210616T053500Z:2b93bc09-d5f3-4104-82ce-6597c91f2b3d" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Wed, 16 Jun 2021 05:35:00 GMT" + ], + "Content-Length": [ + "22" + ], + "Content-Type": [ + "application/json" + ] + }, + "ResponseBody": "{\r\n \"status\": \"Succeeded\"\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/259fbb24-9bcd-4cfc-865c-fc33b22fe38a/resourceGroups/CosmosDBResourceGroup1226/providers/Microsoft.DocumentDB/databaseAccounts/accountname5926?api-version=2021-06-15", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMjU5ZmJiMjQtOWJjZC00Y2ZjLTg2NWMtZmMzM2IyMmZlMzhhL3Jlc291cmNlR3JvdXBzL0Nvc21vc0RCUmVzb3VyY2VHcm91cDEyMjYvcHJvdmlkZXJzL01pY3Jvc29mdC5Eb2N1bWVudERCL2RhdGFiYXNlQWNjb3VudHMvYWNjb3VudG5hbWU1OTI2P2FwaS12ZXJzaW9uPTIwMjEtMDYtMTU=", + "RequestMethod": "DELETE", + "RequestBody": "", + "RequestHeaders": { + "x-ms-client-request-id": [ + "87cebe70-1a76-445a-9236-0aed4b2cf399" + ], + "Accept-Language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.28207.03", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.19043.", + "Microsoft.Azure.Management.CosmosDB.CosmosDBManagementClient/3.0.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-store, no-cache" + ], + "Pragma": [ + "no-cache" + ], + "Location": [ + "https://management.azure.com/subscriptions/259fbb24-9bcd-4cfc-865c-fc33b22fe38a/providers/Microsoft.DocumentDB/locations/eastus2/operationResults/29539922-9bc0-445d-be5c-1ed418901195?api-version=2021-06-15" + ], + "Azure-AsyncOperation": [ + "https://management.azure.com/subscriptions/259fbb24-9bcd-4cfc-865c-fc33b22fe38a/providers/Microsoft.DocumentDB/locations/eastus2/operationsStatus/29539922-9bc0-445d-be5c-1ed418901195?api-version=2021-06-15" + ], + "x-ms-request-id": [ + "29539922-9bc0-445d-be5c-1ed418901195" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-gatewayversion": [ + "version=2.14.0" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ], + "x-ms-ratelimit-remaining-subscription-deletes": [ + "14999" + ], + "x-ms-correlation-request-id": [ + "9a24541d-2e88-4fe5-b6db-499156c6e56e" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20210616T053502Z:9a24541d-2e88-4fe5-b6db-499156c6e56e" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Wed, 16 Jun 2021 05:35:02 GMT" + ], + "Content-Length": [ + "21" + ], + "Content-Type": [ + "application/json" + ] + }, + "ResponseBody": "{\r\n \"status\": \"Enqueued\"\r\n}", + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/259fbb24-9bcd-4cfc-865c-fc33b22fe38a/providers/Microsoft.DocumentDB/locations/eastus2/operationsStatus/29539922-9bc0-445d-be5c-1ed418901195?api-version=2021-06-15", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMjU5ZmJiMjQtOWJjZC00Y2ZjLTg2NWMtZmMzM2IyMmZlMzhhL3Byb3ZpZGVycy9NaWNyb3NvZnQuRG9jdW1lbnREQi9sb2NhdGlvbnMvZWFzdHVzMi9vcGVyYXRpb25zU3RhdHVzLzI5NTM5OTIyLTliYzAtNDQ1ZC1iZTVjLTFlZDQxODkwMTE5NT9hcGktdmVyc2lvbj0yMDIxLTA2LTE1", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.6.28207.03", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.19043.", + "Microsoft.Azure.Management.CosmosDB.CosmosDBManagementClient/3.0.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-store, no-cache" + ], + "Pragma": [ + "no-cache" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-gatewayversion": [ + "version=2.14.0" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11971" + ], + "x-ms-request-id": [ + "e2ede0ec-5b3f-4fa5-baa7-8dd6fdbfc1a1" + ], + "x-ms-correlation-request-id": [ + "e2ede0ec-5b3f-4fa5-baa7-8dd6fdbfc1a1" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20210616T053532Z:e2ede0ec-5b3f-4fa5-baa7-8dd6fdbfc1a1" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Wed, 16 Jun 2021 05:35:32 GMT" + ], + "Content-Length": [ + "21" + ], + "Content-Type": [ + "application/json" + ] + }, + "ResponseBody": "{\r\n \"status\": \"Dequeued\"\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/259fbb24-9bcd-4cfc-865c-fc33b22fe38a/providers/Microsoft.DocumentDB/locations/eastus2/operationsStatus/29539922-9bc0-445d-be5c-1ed418901195?api-version=2021-06-15", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMjU5ZmJiMjQtOWJjZC00Y2ZjLTg2NWMtZmMzM2IyMmZlMzhhL3Byb3ZpZGVycy9NaWNyb3NvZnQuRG9jdW1lbnREQi9sb2NhdGlvbnMvZWFzdHVzMi9vcGVyYXRpb25zU3RhdHVzLzI5NTM5OTIyLTliYzAtNDQ1ZC1iZTVjLTFlZDQxODkwMTE5NT9hcGktdmVyc2lvbj0yMDIxLTA2LTE1", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.6.28207.03", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.19043.", + "Microsoft.Azure.Management.CosmosDB.CosmosDBManagementClient/3.0.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-store, no-cache" + ], + "Pragma": [ + "no-cache" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-gatewayversion": [ + "version=2.14.0" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11970" + ], + "x-ms-request-id": [ + "7bb2c019-2bf4-4b22-8a99-b56be31929b7" + ], + "x-ms-correlation-request-id": [ + "7bb2c019-2bf4-4b22-8a99-b56be31929b7" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20210616T053603Z:7bb2c019-2bf4-4b22-8a99-b56be31929b7" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Wed, 16 Jun 2021 05:36:02 GMT" + ], + "Content-Length": [ + "21" + ], + "Content-Type": [ + "application/json" + ] + }, + "ResponseBody": "{\r\n \"status\": \"Dequeued\"\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/259fbb24-9bcd-4cfc-865c-fc33b22fe38a/providers/Microsoft.DocumentDB/locations/eastus2/operationsStatus/29539922-9bc0-445d-be5c-1ed418901195?api-version=2021-06-15", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMjU5ZmJiMjQtOWJjZC00Y2ZjLTg2NWMtZmMzM2IyMmZlMzhhL3Byb3ZpZGVycy9NaWNyb3NvZnQuRG9jdW1lbnREQi9sb2NhdGlvbnMvZWFzdHVzMi9vcGVyYXRpb25zU3RhdHVzLzI5NTM5OTIyLTliYzAtNDQ1ZC1iZTVjLTFlZDQxODkwMTE5NT9hcGktdmVyc2lvbj0yMDIxLTA2LTE1", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.6.28207.03", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.19043.", + "Microsoft.Azure.Management.CosmosDB.CosmosDBManagementClient/3.0.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-store, no-cache" + ], + "Pragma": [ + "no-cache" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-gatewayversion": [ + "version=2.14.0" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11969" + ], + "x-ms-request-id": [ + "9b7e8ec9-a465-4dbb-8a9b-96336c2a74b7" + ], + "x-ms-correlation-request-id": [ + "9b7e8ec9-a465-4dbb-8a9b-96336c2a74b7" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20210616T053633Z:9b7e8ec9-a465-4dbb-8a9b-96336c2a74b7" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Wed, 16 Jun 2021 05:36:32 GMT" + ], + "Content-Length": [ + "21" + ], + "Content-Type": [ + "application/json" + ] + }, + "ResponseBody": "{\r\n \"status\": \"Dequeued\"\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/259fbb24-9bcd-4cfc-865c-fc33b22fe38a/providers/Microsoft.DocumentDB/locations/eastus2/operationsStatus/29539922-9bc0-445d-be5c-1ed418901195?api-version=2021-06-15", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMjU5ZmJiMjQtOWJjZC00Y2ZjLTg2NWMtZmMzM2IyMmZlMzhhL3Byb3ZpZGVycy9NaWNyb3NvZnQuRG9jdW1lbnREQi9sb2NhdGlvbnMvZWFzdHVzMi9vcGVyYXRpb25zU3RhdHVzLzI5NTM5OTIyLTliYzAtNDQ1ZC1iZTVjLTFlZDQxODkwMTE5NT9hcGktdmVyc2lvbj0yMDIxLTA2LTE1", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.6.28207.03", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.19043.", + "Microsoft.Azure.Management.CosmosDB.CosmosDBManagementClient/3.0.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-store, no-cache" + ], + "Pragma": [ + "no-cache" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-gatewayversion": [ + "version=2.14.0" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11968" + ], + "x-ms-request-id": [ + "82fd95d6-a4ff-4ca3-bdaf-12368b999035" + ], + "x-ms-correlation-request-id": [ + "82fd95d6-a4ff-4ca3-bdaf-12368b999035" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20210616T053703Z:82fd95d6-a4ff-4ca3-bdaf-12368b999035" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Wed, 16 Jun 2021 05:37:02 GMT" + ], + "Content-Length": [ + "21" + ], + "Content-Type": [ + "application/json" + ] + }, + "ResponseBody": "{\r\n \"status\": \"Dequeued\"\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/259fbb24-9bcd-4cfc-865c-fc33b22fe38a/providers/Microsoft.DocumentDB/locations/eastus2/operationsStatus/29539922-9bc0-445d-be5c-1ed418901195?api-version=2021-06-15", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMjU5ZmJiMjQtOWJjZC00Y2ZjLTg2NWMtZmMzM2IyMmZlMzhhL3Byb3ZpZGVycy9NaWNyb3NvZnQuRG9jdW1lbnREQi9sb2NhdGlvbnMvZWFzdHVzMi9vcGVyYXRpb25zU3RhdHVzLzI5NTM5OTIyLTliYzAtNDQ1ZC1iZTVjLTFlZDQxODkwMTE5NT9hcGktdmVyc2lvbj0yMDIxLTA2LTE1", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.6.28207.03", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.19043.", + "Microsoft.Azure.Management.CosmosDB.CosmosDBManagementClient/3.0.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-store, no-cache" + ], + "Pragma": [ + "no-cache" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-gatewayversion": [ + "version=2.14.0" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11967" + ], + "x-ms-request-id": [ + "b0a43577-0986-4c4b-97f0-9e171274cbe7" + ], + "x-ms-correlation-request-id": [ + "b0a43577-0986-4c4b-97f0-9e171274cbe7" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20210616T053733Z:b0a43577-0986-4c4b-97f0-9e171274cbe7" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Wed, 16 Jun 2021 05:37:33 GMT" + ], + "Content-Length": [ + "21" + ], + "Content-Type": [ + "application/json" + ] + }, + "ResponseBody": "{\r\n \"status\": \"Dequeued\"\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/259fbb24-9bcd-4cfc-865c-fc33b22fe38a/providers/Microsoft.DocumentDB/locations/eastus2/operationsStatus/29539922-9bc0-445d-be5c-1ed418901195?api-version=2021-06-15", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMjU5ZmJiMjQtOWJjZC00Y2ZjLTg2NWMtZmMzM2IyMmZlMzhhL3Byb3ZpZGVycy9NaWNyb3NvZnQuRG9jdW1lbnREQi9sb2NhdGlvbnMvZWFzdHVzMi9vcGVyYXRpb25zU3RhdHVzLzI5NTM5OTIyLTliYzAtNDQ1ZC1iZTVjLTFlZDQxODkwMTE5NT9hcGktdmVyc2lvbj0yMDIxLTA2LTE1", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.6.28207.03", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.19043.", + "Microsoft.Azure.Management.CosmosDB.CosmosDBManagementClient/3.0.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-store, no-cache" + ], + "Pragma": [ + "no-cache" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-gatewayversion": [ + "version=2.14.0" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11966" + ], + "x-ms-request-id": [ + "3e6121f0-9c16-491d-b315-79077e35f2ec" + ], + "x-ms-correlation-request-id": [ + "3e6121f0-9c16-491d-b315-79077e35f2ec" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20210616T053803Z:3e6121f0-9c16-491d-b315-79077e35f2ec" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Wed, 16 Jun 2021 05:38:03 GMT" + ], + "Content-Length": [ + "21" + ], + "Content-Type": [ + "application/json" + ] + }, + "ResponseBody": "{\r\n \"status\": \"Dequeued\"\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/259fbb24-9bcd-4cfc-865c-fc33b22fe38a/providers/Microsoft.DocumentDB/locations/eastus2/operationsStatus/29539922-9bc0-445d-be5c-1ed418901195?api-version=2021-06-15", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMjU5ZmJiMjQtOWJjZC00Y2ZjLTg2NWMtZmMzM2IyMmZlMzhhL3Byb3ZpZGVycy9NaWNyb3NvZnQuRG9jdW1lbnREQi9sb2NhdGlvbnMvZWFzdHVzMi9vcGVyYXRpb25zU3RhdHVzLzI5NTM5OTIyLTliYzAtNDQ1ZC1iZTVjLTFlZDQxODkwMTE5NT9hcGktdmVyc2lvbj0yMDIxLTA2LTE1", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.6.28207.03", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.19043.", + "Microsoft.Azure.Management.CosmosDB.CosmosDBManagementClient/3.0.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-store, no-cache" + ], + "Pragma": [ + "no-cache" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-gatewayversion": [ + "version=2.14.0" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11965" + ], + "x-ms-request-id": [ + "05e7a490-7c08-4501-8849-fc5c55a5f7c1" + ], + "x-ms-correlation-request-id": [ + "05e7a490-7c08-4501-8849-fc5c55a5f7c1" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20210616T053833Z:05e7a490-7c08-4501-8849-fc5c55a5f7c1" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Wed, 16 Jun 2021 05:38:32 GMT" + ], + "Content-Length": [ + "21" + ], + "Content-Type": [ + "application/json" + ] + }, + "ResponseBody": "{\r\n \"status\": \"Dequeued\"\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/259fbb24-9bcd-4cfc-865c-fc33b22fe38a/providers/Microsoft.DocumentDB/locations/eastus2/operationsStatus/29539922-9bc0-445d-be5c-1ed418901195?api-version=2021-06-15", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMjU5ZmJiMjQtOWJjZC00Y2ZjLTg2NWMtZmMzM2IyMmZlMzhhL3Byb3ZpZGVycy9NaWNyb3NvZnQuRG9jdW1lbnREQi9sb2NhdGlvbnMvZWFzdHVzMi9vcGVyYXRpb25zU3RhdHVzLzI5NTM5OTIyLTliYzAtNDQ1ZC1iZTVjLTFlZDQxODkwMTE5NT9hcGktdmVyc2lvbj0yMDIxLTA2LTE1", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.6.28207.03", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.19043.", + "Microsoft.Azure.Management.CosmosDB.CosmosDBManagementClient/3.0.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-store, no-cache" + ], + "Pragma": [ + "no-cache" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-gatewayversion": [ + "version=2.14.0" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11964" + ], + "x-ms-request-id": [ + "84b82b54-b774-4eba-a2d5-653ba18f7616" + ], + "x-ms-correlation-request-id": [ + "84b82b54-b774-4eba-a2d5-653ba18f7616" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20210616T053903Z:84b82b54-b774-4eba-a2d5-653ba18f7616" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Wed, 16 Jun 2021 05:39:03 GMT" + ], + "Content-Length": [ + "21" + ], + "Content-Type": [ + "application/json" + ] + }, + "ResponseBody": "{\r\n \"status\": \"Dequeued\"\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/259fbb24-9bcd-4cfc-865c-fc33b22fe38a/providers/Microsoft.DocumentDB/locations/eastus2/operationsStatus/29539922-9bc0-445d-be5c-1ed418901195?api-version=2021-06-15", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMjU5ZmJiMjQtOWJjZC00Y2ZjLTg2NWMtZmMzM2IyMmZlMzhhL3Byb3ZpZGVycy9NaWNyb3NvZnQuRG9jdW1lbnREQi9sb2NhdGlvbnMvZWFzdHVzMi9vcGVyYXRpb25zU3RhdHVzLzI5NTM5OTIyLTliYzAtNDQ1ZC1iZTVjLTFlZDQxODkwMTE5NT9hcGktdmVyc2lvbj0yMDIxLTA2LTE1", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.6.28207.03", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.19043.", + "Microsoft.Azure.Management.CosmosDB.CosmosDBManagementClient/3.0.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-store, no-cache" + ], + "Pragma": [ + "no-cache" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-gatewayversion": [ + "version=2.14.0" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11963" + ], + "x-ms-request-id": [ + "c7ffbaca-eb7e-4a33-ac55-bdf2c83f0da1" + ], + "x-ms-correlation-request-id": [ + "c7ffbaca-eb7e-4a33-ac55-bdf2c83f0da1" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20210616T053933Z:c7ffbaca-eb7e-4a33-ac55-bdf2c83f0da1" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Wed, 16 Jun 2021 05:39:33 GMT" + ], + "Content-Length": [ + "21" + ], + "Content-Type": [ + "application/json" + ] + }, + "ResponseBody": "{\r\n \"status\": \"Dequeued\"\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/259fbb24-9bcd-4cfc-865c-fc33b22fe38a/providers/Microsoft.DocumentDB/locations/eastus2/operationsStatus/29539922-9bc0-445d-be5c-1ed418901195?api-version=2021-06-15", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMjU5ZmJiMjQtOWJjZC00Y2ZjLTg2NWMtZmMzM2IyMmZlMzhhL3Byb3ZpZGVycy9NaWNyb3NvZnQuRG9jdW1lbnREQi9sb2NhdGlvbnMvZWFzdHVzMi9vcGVyYXRpb25zU3RhdHVzLzI5NTM5OTIyLTliYzAtNDQ1ZC1iZTVjLTFlZDQxODkwMTE5NT9hcGktdmVyc2lvbj0yMDIxLTA2LTE1", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.6.28207.03", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.19043.", + "Microsoft.Azure.Management.CosmosDB.CosmosDBManagementClient/3.0.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-store, no-cache" + ], + "Pragma": [ + "no-cache" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-gatewayversion": [ + "version=2.14.0" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11962" + ], + "x-ms-request-id": [ + "0e14e1c6-6e8e-4e48-a0b9-ee0be91ad6e8" + ], + "x-ms-correlation-request-id": [ + "0e14e1c6-6e8e-4e48-a0b9-ee0be91ad6e8" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20210616T054004Z:0e14e1c6-6e8e-4e48-a0b9-ee0be91ad6e8" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Wed, 16 Jun 2021 05:40:03 GMT" + ], + "Content-Length": [ + "21" + ], + "Content-Type": [ + "application/json" + ] + }, + "ResponseBody": "{\r\n \"status\": \"Dequeued\"\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/259fbb24-9bcd-4cfc-865c-fc33b22fe38a/providers/Microsoft.DocumentDB/locations/eastus2/operationsStatus/29539922-9bc0-445d-be5c-1ed418901195?api-version=2021-06-15", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMjU5ZmJiMjQtOWJjZC00Y2ZjLTg2NWMtZmMzM2IyMmZlMzhhL3Byb3ZpZGVycy9NaWNyb3NvZnQuRG9jdW1lbnREQi9sb2NhdGlvbnMvZWFzdHVzMi9vcGVyYXRpb25zU3RhdHVzLzI5NTM5OTIyLTliYzAtNDQ1ZC1iZTVjLTFlZDQxODkwMTE5NT9hcGktdmVyc2lvbj0yMDIxLTA2LTE1", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.6.28207.03", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.19043.", + "Microsoft.Azure.Management.CosmosDB.CosmosDBManagementClient/3.0.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-store, no-cache" + ], + "Pragma": [ + "no-cache" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-gatewayversion": [ + "version=2.14.0" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11961" + ], + "x-ms-request-id": [ + "a82097bb-b241-4085-a742-f7bb2096ccc2" + ], + "x-ms-correlation-request-id": [ + "a82097bb-b241-4085-a742-f7bb2096ccc2" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20210616T054034Z:a82097bb-b241-4085-a742-f7bb2096ccc2" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Wed, 16 Jun 2021 05:40:34 GMT" + ], + "Content-Length": [ + "21" + ], + "Content-Type": [ + "application/json" + ] + }, + "ResponseBody": "{\r\n \"status\": \"Dequeued\"\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/259fbb24-9bcd-4cfc-865c-fc33b22fe38a/providers/Microsoft.DocumentDB/locations/eastus2/operationsStatus/29539922-9bc0-445d-be5c-1ed418901195?api-version=2021-06-15", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMjU5ZmJiMjQtOWJjZC00Y2ZjLTg2NWMtZmMzM2IyMmZlMzhhL3Byb3ZpZGVycy9NaWNyb3NvZnQuRG9jdW1lbnREQi9sb2NhdGlvbnMvZWFzdHVzMi9vcGVyYXRpb25zU3RhdHVzLzI5NTM5OTIyLTliYzAtNDQ1ZC1iZTVjLTFlZDQxODkwMTE5NT9hcGktdmVyc2lvbj0yMDIxLTA2LTE1", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.6.28207.03", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.19043.", + "Microsoft.Azure.Management.CosmosDB.CosmosDBManagementClient/3.0.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-store, no-cache" + ], + "Pragma": [ + "no-cache" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-gatewayversion": [ + "version=2.14.0" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11960" + ], + "x-ms-request-id": [ + "efcf7148-add4-4b05-8de1-200d25e604b5" + ], + "x-ms-correlation-request-id": [ + "efcf7148-add4-4b05-8de1-200d25e604b5" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20210616T054104Z:efcf7148-add4-4b05-8de1-200d25e604b5" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Wed, 16 Jun 2021 05:41:03 GMT" + ], + "Content-Length": [ + "21" + ], + "Content-Type": [ + "application/json" + ] + }, + "ResponseBody": "{\r\n \"status\": \"Dequeued\"\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/259fbb24-9bcd-4cfc-865c-fc33b22fe38a/providers/Microsoft.DocumentDB/locations/eastus2/operationsStatus/29539922-9bc0-445d-be5c-1ed418901195?api-version=2021-06-15", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMjU5ZmJiMjQtOWJjZC00Y2ZjLTg2NWMtZmMzM2IyMmZlMzhhL3Byb3ZpZGVycy9NaWNyb3NvZnQuRG9jdW1lbnREQi9sb2NhdGlvbnMvZWFzdHVzMi9vcGVyYXRpb25zU3RhdHVzLzI5NTM5OTIyLTliYzAtNDQ1ZC1iZTVjLTFlZDQxODkwMTE5NT9hcGktdmVyc2lvbj0yMDIxLTA2LTE1", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.6.28207.03", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.19043.", + "Microsoft.Azure.Management.CosmosDB.CosmosDBManagementClient/3.0.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-store, no-cache" + ], + "Pragma": [ + "no-cache" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-gatewayversion": [ + "version=2.14.0" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11959" + ], + "x-ms-request-id": [ + "76945ef1-24b2-4443-a491-a119c2cb17ec" + ], + "x-ms-correlation-request-id": [ + "76945ef1-24b2-4443-a491-a119c2cb17ec" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20210616T054134Z:76945ef1-24b2-4443-a491-a119c2cb17ec" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Wed, 16 Jun 2021 05:41:33 GMT" + ], + "Content-Length": [ + "21" + ], + "Content-Type": [ + "application/json" + ] + }, + "ResponseBody": "{\r\n \"status\": \"Dequeued\"\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/259fbb24-9bcd-4cfc-865c-fc33b22fe38a/providers/Microsoft.DocumentDB/locations/eastus2/operationsStatus/29539922-9bc0-445d-be5c-1ed418901195?api-version=2021-06-15", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMjU5ZmJiMjQtOWJjZC00Y2ZjLTg2NWMtZmMzM2IyMmZlMzhhL3Byb3ZpZGVycy9NaWNyb3NvZnQuRG9jdW1lbnREQi9sb2NhdGlvbnMvZWFzdHVzMi9vcGVyYXRpb25zU3RhdHVzLzI5NTM5OTIyLTliYzAtNDQ1ZC1iZTVjLTFlZDQxODkwMTE5NT9hcGktdmVyc2lvbj0yMDIxLTA2LTE1", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.6.28207.03", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.19043.", + "Microsoft.Azure.Management.CosmosDB.CosmosDBManagementClient/3.0.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-store, no-cache" + ], + "Pragma": [ + "no-cache" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-gatewayversion": [ + "version=2.14.0" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11958" + ], + "x-ms-request-id": [ + "036aca5d-1bee-4716-9b0f-af7441934d5c" + ], + "x-ms-correlation-request-id": [ + "036aca5d-1bee-4716-9b0f-af7441934d5c" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20210616T054204Z:036aca5d-1bee-4716-9b0f-af7441934d5c" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Wed, 16 Jun 2021 05:42:04 GMT" + ], + "Content-Length": [ + "21" + ], + "Content-Type": [ + "application/json" + ] + }, + "ResponseBody": "{\r\n \"status\": \"Dequeued\"\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/259fbb24-9bcd-4cfc-865c-fc33b22fe38a/providers/Microsoft.DocumentDB/locations/eastus2/operationsStatus/29539922-9bc0-445d-be5c-1ed418901195?api-version=2021-06-15", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMjU5ZmJiMjQtOWJjZC00Y2ZjLTg2NWMtZmMzM2IyMmZlMzhhL3Byb3ZpZGVycy9NaWNyb3NvZnQuRG9jdW1lbnREQi9sb2NhdGlvbnMvZWFzdHVzMi9vcGVyYXRpb25zU3RhdHVzLzI5NTM5OTIyLTliYzAtNDQ1ZC1iZTVjLTFlZDQxODkwMTE5NT9hcGktdmVyc2lvbj0yMDIxLTA2LTE1", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.6.28207.03", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.19043.", + "Microsoft.Azure.Management.CosmosDB.CosmosDBManagementClient/3.0.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-store, no-cache" + ], + "Pragma": [ + "no-cache" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-gatewayversion": [ + "version=2.14.0" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11957" + ], + "x-ms-request-id": [ + "8e5268cd-be02-4857-b3bc-97fd1711f6c3" + ], + "x-ms-correlation-request-id": [ + "8e5268cd-be02-4857-b3bc-97fd1711f6c3" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20210616T054234Z:8e5268cd-be02-4857-b3bc-97fd1711f6c3" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Wed, 16 Jun 2021 05:42:34 GMT" + ], + "Content-Length": [ + "21" + ], + "Content-Type": [ + "application/json" + ] + }, + "ResponseBody": "{\r\n \"status\": \"Dequeued\"\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/259fbb24-9bcd-4cfc-865c-fc33b22fe38a/providers/Microsoft.DocumentDB/locations/eastus2/operationsStatus/29539922-9bc0-445d-be5c-1ed418901195?api-version=2021-06-15", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMjU5ZmJiMjQtOWJjZC00Y2ZjLTg2NWMtZmMzM2IyMmZlMzhhL3Byb3ZpZGVycy9NaWNyb3NvZnQuRG9jdW1lbnREQi9sb2NhdGlvbnMvZWFzdHVzMi9vcGVyYXRpb25zU3RhdHVzLzI5NTM5OTIyLTliYzAtNDQ1ZC1iZTVjLTFlZDQxODkwMTE5NT9hcGktdmVyc2lvbj0yMDIxLTA2LTE1", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.6.28207.03", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.19043.", + "Microsoft.Azure.Management.CosmosDB.CosmosDBManagementClient/3.0.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-store, no-cache" + ], + "Pragma": [ + "no-cache" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-gatewayversion": [ + "version=2.14.0" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11956" + ], + "x-ms-request-id": [ + "e619d1ea-106c-4335-a5ac-0a4f84609a37" + ], + "x-ms-correlation-request-id": [ + "e619d1ea-106c-4335-a5ac-0a4f84609a37" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20210616T054304Z:e619d1ea-106c-4335-a5ac-0a4f84609a37" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Wed, 16 Jun 2021 05:43:04 GMT" + ], + "Content-Length": [ + "21" + ], + "Content-Type": [ + "application/json" + ] + }, + "ResponseBody": "{\r\n \"status\": \"Dequeued\"\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/259fbb24-9bcd-4cfc-865c-fc33b22fe38a/providers/Microsoft.DocumentDB/locations/eastus2/operationsStatus/29539922-9bc0-445d-be5c-1ed418901195?api-version=2021-06-15", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMjU5ZmJiMjQtOWJjZC00Y2ZjLTg2NWMtZmMzM2IyMmZlMzhhL3Byb3ZpZGVycy9NaWNyb3NvZnQuRG9jdW1lbnREQi9sb2NhdGlvbnMvZWFzdHVzMi9vcGVyYXRpb25zU3RhdHVzLzI5NTM5OTIyLTliYzAtNDQ1ZC1iZTVjLTFlZDQxODkwMTE5NT9hcGktdmVyc2lvbj0yMDIxLTA2LTE1", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.6.28207.03", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.19043.", + "Microsoft.Azure.Management.CosmosDB.CosmosDBManagementClient/3.0.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-store, no-cache" + ], + "Pragma": [ + "no-cache" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-gatewayversion": [ + "version=2.14.0" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11955" + ], + "x-ms-request-id": [ + "56ec5b03-564a-4bb1-be0a-e13532d1c715" + ], + "x-ms-correlation-request-id": [ + "56ec5b03-564a-4bb1-be0a-e13532d1c715" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20210616T054335Z:56ec5b03-564a-4bb1-be0a-e13532d1c715" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Wed, 16 Jun 2021 05:43:34 GMT" + ], + "Content-Length": [ + "21" + ], + "Content-Type": [ + "application/json" + ] + }, + "ResponseBody": "{\r\n \"status\": \"Dequeued\"\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/259fbb24-9bcd-4cfc-865c-fc33b22fe38a/providers/Microsoft.DocumentDB/locations/eastus2/operationsStatus/29539922-9bc0-445d-be5c-1ed418901195?api-version=2021-06-15", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMjU5ZmJiMjQtOWJjZC00Y2ZjLTg2NWMtZmMzM2IyMmZlMzhhL3Byb3ZpZGVycy9NaWNyb3NvZnQuRG9jdW1lbnREQi9sb2NhdGlvbnMvZWFzdHVzMi9vcGVyYXRpb25zU3RhdHVzLzI5NTM5OTIyLTliYzAtNDQ1ZC1iZTVjLTFlZDQxODkwMTE5NT9hcGktdmVyc2lvbj0yMDIxLTA2LTE1", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.6.28207.03", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.19043.", + "Microsoft.Azure.Management.CosmosDB.CosmosDBManagementClient/3.0.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-store, no-cache" + ], + "Pragma": [ + "no-cache" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-gatewayversion": [ + "version=2.14.0" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11954" + ], + "x-ms-request-id": [ + "096633dc-2f71-46ab-b27e-43cd42ffaa44" + ], + "x-ms-correlation-request-id": [ + "096633dc-2f71-46ab-b27e-43cd42ffaa44" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20210616T054405Z:096633dc-2f71-46ab-b27e-43cd42ffaa44" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Wed, 16 Jun 2021 05:44:05 GMT" + ], + "Content-Length": [ + "21" + ], + "Content-Type": [ + "application/json" + ] + }, + "ResponseBody": "{\r\n \"status\": \"Dequeued\"\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/259fbb24-9bcd-4cfc-865c-fc33b22fe38a/providers/Microsoft.DocumentDB/locations/eastus2/operationsStatus/29539922-9bc0-445d-be5c-1ed418901195?api-version=2021-06-15", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMjU5ZmJiMjQtOWJjZC00Y2ZjLTg2NWMtZmMzM2IyMmZlMzhhL3Byb3ZpZGVycy9NaWNyb3NvZnQuRG9jdW1lbnREQi9sb2NhdGlvbnMvZWFzdHVzMi9vcGVyYXRpb25zU3RhdHVzLzI5NTM5OTIyLTliYzAtNDQ1ZC1iZTVjLTFlZDQxODkwMTE5NT9hcGktdmVyc2lvbj0yMDIxLTA2LTE1", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.6.28207.03", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.19043.", + "Microsoft.Azure.Management.CosmosDB.CosmosDBManagementClient/3.0.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-store, no-cache" + ], + "Pragma": [ + "no-cache" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-gatewayversion": [ + "version=2.14.0" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11953" + ], + "x-ms-request-id": [ + "222c6eae-2886-433a-b6a8-40e9e97f123d" + ], + "x-ms-correlation-request-id": [ + "222c6eae-2886-433a-b6a8-40e9e97f123d" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20210616T054435Z:222c6eae-2886-433a-b6a8-40e9e97f123d" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Wed, 16 Jun 2021 05:44:34 GMT" + ], + "Content-Length": [ + "22" + ], + "Content-Type": [ + "application/json" + ] + }, + "ResponseBody": "{\r\n \"status\": \"Succeeded\"\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/259fbb24-9bcd-4cfc-865c-fc33b22fe38a/providers/Microsoft.DocumentDB/locations/eastus2/operationResults/29539922-9bc0-445d-be5c-1ed418901195?api-version=2021-06-15", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMjU5ZmJiMjQtOWJjZC00Y2ZjLTg2NWMtZmMzM2IyMmZlMzhhL3Byb3ZpZGVycy9NaWNyb3NvZnQuRG9jdW1lbnREQi9sb2NhdGlvbnMvZWFzdHVzMi9vcGVyYXRpb25SZXN1bHRzLzI5NTM5OTIyLTliYzAtNDQ1ZC1iZTVjLTFlZDQxODkwMTE5NT9hcGktdmVyc2lvbj0yMDIxLTA2LTE1", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.6.28207.03", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.19043.", + "Microsoft.Azure.Management.CosmosDB.CosmosDBManagementClient/3.0.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-store, no-cache" + ], + "Pragma": [ + "no-cache" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-activity-id": [ + "dd319370-dd56-47e1-8a5f-74870c526e9e" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11952" + ], + "x-ms-request-id": [ + "3ca63e5e-5bbd-4098-b386-0d1a8a406cbb" + ], + "x-ms-correlation-request-id": [ + "3ca63e5e-5bbd-4098-b386-0d1a8a406cbb" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20210616T054435Z:3ca63e5e-5bbd-4098-b386-0d1a8a406cbb" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Wed, 16 Jun 2021 05:44:34 GMT" + ], + "Content-Length": [ + "0" + ] + }, + "ResponseBody": "", + "StatusCode": 200 + } + ], + "Names": { + "CreateResourceGroup": [ + "CosmosDBResourceGroup1226" + ], + "RestorableSqlDatabaseResourceFeedTest": [ + "accountname5926" + ] + }, + "Variables": { + "SubscriptionId": "259fbb24-9bcd-4cfc-865c-fc33b22fe38a" + } +} \ No newline at end of file diff --git a/sdk/cosmosdb/Microsoft.Azure.Management.CosmosDB/tests/SessionRecords/GraphResourcesOperationsTests/GraphCRUDTests.json b/sdk/cosmosdb/Microsoft.Azure.Management.CosmosDB/tests/SessionRecords/GraphResourcesOperationsTests/GraphCRUDTests.json index 6b6552d95a91..6fc193712047 100644 --- a/sdk/cosmosdb/Microsoft.Azure.Management.CosmosDB/tests/SessionRecords/GraphResourcesOperationsTests/GraphCRUDTests.json +++ b/sdk/cosmosdb/Microsoft.Azure.Management.CosmosDB/tests/SessionRecords/GraphResourcesOperationsTests/GraphCRUDTests.json @@ -1,21 +1,21 @@ { "Entries": [ { - "RequestUri": "/providers/Microsoft.DocumentDB/databaseAccountNames/db4096?api-version=2021-04-15", - "EncodedRequestUri": "L3Byb3ZpZGVycy9NaWNyb3NvZnQuRG9jdW1lbnREQi9kYXRhYmFzZUFjY291bnROYW1lcy9kYjQwOTY/YXBpLXZlcnNpb249MjAyMS0wNC0xNQ==", + "RequestUri": "/providers/Microsoft.DocumentDB/databaseAccountNames/db4096?api-version=2021-06-15", + "EncodedRequestUri": "L3Byb3ZpZGVycy9NaWNyb3NvZnQuRG9jdW1lbnREQi9kYXRhYmFzZUFjY291bnROYW1lcy9kYjQwOTY/YXBpLXZlcnNpb249MjAyMS0wNi0xNQ==", "RequestMethod": "HEAD", "RequestBody": "", "RequestHeaders": { "x-ms-client-request-id": [ - "75d82f44-14d7-48b4-9f87-aab365ab3d1d" + "4c085c12-6d7f-4553-8cf4-74521194dd5c" ], "Accept-Language": [ "en-US" ], "User-Agent": [ - "FxVersion/4.6.29916.01", + "FxVersion/4.6.28207.03", "OSName/Windows", - "OSVersion/Microsoft.Windows.10.0.19042.", + "OSVersion/Microsoft.Windows.10.0.19043.", "Microsoft.Azure.Management.CosmosDB.CosmosDBManagementClient/3.0.0.0" ] }, @@ -30,7 +30,7 @@ "max-age=31536000; includeSubDomains" ], "x-ms-activity-id": [ - "75d82f44-14d7-48b4-9f87-aab365ab3d1d" + "4c085c12-6d7f-4553-8cf4-74521194dd5c" ], "Server": [ "Microsoft-HTTPAPI/2.0" @@ -39,19 +39,19 @@ "11999" ], "x-ms-request-id": [ - "c1dfb875-47d9-4ac2-a868-e4ff240c072a" + "a78e6c8b-a862-4096-9a14-ed10d108256d" ], "x-ms-correlation-request-id": [ - "c1dfb875-47d9-4ac2-a868-e4ff240c072a" + "a78e6c8b-a862-4096-9a14-ed10d108256d" ], "x-ms-routing-request-id": [ - "WESTCENTRALUS:20210427T174918Z:c1dfb875-47d9-4ac2-a868-e4ff240c072a" + "WESTUS2:20210616T054702Z:a78e6c8b-a862-4096-9a14-ed10d108256d" ], "X-Content-Type-Options": [ "nosniff" ], "Date": [ - "Tue, 27 Apr 2021 17:49:17 GMT" + "Wed, 16 Jun 2021 05:47:01 GMT" ], "Content-Length": [ "0" @@ -61,21 +61,21 @@ "StatusCode": 200 }, { - "RequestUri": "/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/resourceGroups/CosmosDBResourceGroup3668/providers/Microsoft.DocumentDB/databaseAccounts/db4096/gremlinDatabases/databaseName1002?api-version=2021-04-15", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvODBiZTM5NjEtMDUyMS00YTBhLTg1NzAtNWNkNWE0ZTJmOThjL3Jlc291cmNlR3JvdXBzL0Nvc21vc0RCUmVzb3VyY2VHcm91cDM2NjgvcHJvdmlkZXJzL01pY3Jvc29mdC5Eb2N1bWVudERCL2RhdGFiYXNlQWNjb3VudHMvZGI0MDk2L2dyZW1saW5EYXRhYmFzZXMvZGF0YWJhc2VOYW1lMTAwMj9hcGktdmVyc2lvbj0yMDIxLTA0LTE1", + "RequestUri": "/subscriptions/259fbb24-9bcd-4cfc-865c-fc33b22fe38a/resourceGroups/CosmosDBResourceGroup3668/providers/Microsoft.DocumentDB/databaseAccounts/db4096/gremlinDatabases/databaseName1002?api-version=2021-06-15", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMjU5ZmJiMjQtOWJjZC00Y2ZjLTg2NWMtZmMzM2IyMmZlMzhhL3Jlc291cmNlR3JvdXBzL0Nvc21vc0RCUmVzb3VyY2VHcm91cDM2NjgvcHJvdmlkZXJzL01pY3Jvc29mdC5Eb2N1bWVudERCL2RhdGFiYXNlQWNjb3VudHMvZGI0MDk2L2dyZW1saW5EYXRhYmFzZXMvZGF0YWJhc2VOYW1lMTAwMj9hcGktdmVyc2lvbj0yMDIxLTA2LTE1", "RequestMethod": "PUT", "RequestBody": "{\r\n \"properties\": {\r\n \"resource\": {\r\n \"id\": \"databaseName1002\"\r\n },\r\n \"options\": {}\r\n }\r\n}", "RequestHeaders": { "x-ms-client-request-id": [ - "64f5054d-189e-4eed-aaaa-54cc95b7a271" + "80d1f8c4-81c2-4c4f-b814-d33354965ae4" ], "Accept-Language": [ "en-US" ], "User-Agent": [ - "FxVersion/4.6.29916.01", + "FxVersion/4.6.28207.03", "OSName/Windows", - "OSVersion/Microsoft.Windows.10.0.19042.", + "OSVersion/Microsoft.Windows.10.0.19043.", "Microsoft.Azure.Management.CosmosDB.CosmosDBManagementClient/3.0.0.0" ], "Content-Type": [ @@ -93,19 +93,19 @@ "no-cache" ], "Location": [ - "https://management.azure.com/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/resourceGroups/CosmosDBResourceGroup3668/providers/Microsoft.DocumentDB/databaseAccounts/db4096/gremlinDatabases/databaseName1002/operationResults/a3daecf7-f769-4ed4-81cc-81627360ad07?api-version=2021-04-15" + "https://management.azure.com/subscriptions/259fbb24-9bcd-4cfc-865c-fc33b22fe38a/resourceGroups/CosmosDBResourceGroup3668/providers/Microsoft.DocumentDB/databaseAccounts/db4096/gremlinDatabases/databaseName1002/operationResults/29e74157-84eb-4d05-ba0b-629de16f5718?api-version=2021-06-15" ], "Azure-AsyncOperation": [ - "https://management.azure.com/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/providers/Microsoft.DocumentDB/locations/eastus2/operationsStatus/a3daecf7-f769-4ed4-81cc-81627360ad07?api-version=2021-04-15" + "https://management.azure.com/subscriptions/259fbb24-9bcd-4cfc-865c-fc33b22fe38a/providers/Microsoft.DocumentDB/locations/eastus2/operationsStatus/29e74157-84eb-4d05-ba0b-629de16f5718?api-version=2021-06-15" ], "x-ms-request-id": [ - "a3daecf7-f769-4ed4-81cc-81627360ad07" + "29e74157-84eb-4d05-ba0b-629de16f5718" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "x-ms-gatewayversion": [ - "version=2.11.0" + "version=2.14.0" ], "Server": [ "Microsoft-HTTPAPI/2.0" @@ -114,16 +114,16 @@ "1199" ], "x-ms-correlation-request-id": [ - "2de28430-11f8-4594-b2fa-ef3ac70b7800" + "a6195cf7-d893-407f-8d34-ef0be014814a" ], "x-ms-routing-request-id": [ - "WESTCENTRALUS:20210427T174919Z:2de28430-11f8-4594-b2fa-ef3ac70b7800" + "WESTUS2:20210616T054703Z:a6195cf7-d893-407f-8d34-ef0be014814a" ], "X-Content-Type-Options": [ "nosniff" ], "Date": [ - "Tue, 27 Apr 2021 17:49:18 GMT" + "Wed, 16 Jun 2021 05:47:03 GMT" ], "Content-Length": [ "21" @@ -136,15 +136,15 @@ "StatusCode": 202 }, { - "RequestUri": "/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/providers/Microsoft.DocumentDB/locations/eastus2/operationsStatus/a3daecf7-f769-4ed4-81cc-81627360ad07?api-version=2021-04-15", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvODBiZTM5NjEtMDUyMS00YTBhLTg1NzAtNWNkNWE0ZTJmOThjL3Byb3ZpZGVycy9NaWNyb3NvZnQuRG9jdW1lbnREQi9sb2NhdGlvbnMvZWFzdHVzMi9vcGVyYXRpb25zU3RhdHVzL2EzZGFlY2Y3LWY3NjktNGVkNC04MWNjLTgxNjI3MzYwYWQwNz9hcGktdmVyc2lvbj0yMDIxLTA0LTE1", + "RequestUri": "/subscriptions/259fbb24-9bcd-4cfc-865c-fc33b22fe38a/providers/Microsoft.DocumentDB/locations/eastus2/operationsStatus/29e74157-84eb-4d05-ba0b-629de16f5718?api-version=2021-06-15", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMjU5ZmJiMjQtOWJjZC00Y2ZjLTg2NWMtZmMzM2IyMmZlMzhhL3Byb3ZpZGVycy9NaWNyb3NvZnQuRG9jdW1lbnREQi9sb2NhdGlvbnMvZWFzdHVzMi9vcGVyYXRpb25zU3RhdHVzLzI5ZTc0MTU3LTg0ZWItNGQwNS1iYTBiLTYyOWRlMTZmNTcxOD9hcGktdmVyc2lvbj0yMDIxLTA2LTE1", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { "User-Agent": [ - "FxVersion/4.6.29916.01", + "FxVersion/4.6.28207.03", "OSName/Windows", - "OSVersion/Microsoft.Windows.10.0.19042.", + "OSVersion/Microsoft.Windows.10.0.19043.", "Microsoft.Azure.Management.CosmosDB.CosmosDBManagementClient/3.0.0.0" ] }, @@ -159,7 +159,7 @@ "max-age=31536000; includeSubDomains" ], "x-ms-gatewayversion": [ - "version=2.11.0" + "version=2.14.0" ], "Server": [ "Microsoft-HTTPAPI/2.0" @@ -168,19 +168,19 @@ "11999" ], "x-ms-request-id": [ - "3dee28ea-de3c-4551-a638-b93541d83f99" + "37b2c5e2-7298-4a10-a2b7-d14252fac38d" ], "x-ms-correlation-request-id": [ - "3dee28ea-de3c-4551-a638-b93541d83f99" + "37b2c5e2-7298-4a10-a2b7-d14252fac38d" ], "x-ms-routing-request-id": [ - "WESTCENTRALUS:20210427T174949Z:3dee28ea-de3c-4551-a638-b93541d83f99" + "WESTUS2:20210616T054733Z:37b2c5e2-7298-4a10-a2b7-d14252fac38d" ], "X-Content-Type-Options": [ "nosniff" ], "Date": [ - "Tue, 27 Apr 2021 17:49:48 GMT" + "Wed, 16 Jun 2021 05:47:33 GMT" ], "Content-Length": [ "22" @@ -193,15 +193,15 @@ "StatusCode": 200 }, { - "RequestUri": "/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/resourceGroups/CosmosDBResourceGroup3668/providers/Microsoft.DocumentDB/databaseAccounts/db4096/gremlinDatabases/databaseName1002?api-version=2021-04-15", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvODBiZTM5NjEtMDUyMS00YTBhLTg1NzAtNWNkNWE0ZTJmOThjL3Jlc291cmNlR3JvdXBzL0Nvc21vc0RCUmVzb3VyY2VHcm91cDM2NjgvcHJvdmlkZXJzL01pY3Jvc29mdC5Eb2N1bWVudERCL2RhdGFiYXNlQWNjb3VudHMvZGI0MDk2L2dyZW1saW5EYXRhYmFzZXMvZGF0YWJhc2VOYW1lMTAwMj9hcGktdmVyc2lvbj0yMDIxLTA0LTE1", + "RequestUri": "/subscriptions/259fbb24-9bcd-4cfc-865c-fc33b22fe38a/resourceGroups/CosmosDBResourceGroup3668/providers/Microsoft.DocumentDB/databaseAccounts/db4096/gremlinDatabases/databaseName1002?api-version=2021-06-15", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMjU5ZmJiMjQtOWJjZC00Y2ZjLTg2NWMtZmMzM2IyMmZlMzhhL3Jlc291cmNlR3JvdXBzL0Nvc21vc0RCUmVzb3VyY2VHcm91cDM2NjgvcHJvdmlkZXJzL01pY3Jvc29mdC5Eb2N1bWVudERCL2RhdGFiYXNlQWNjb3VudHMvZGI0MDk2L2dyZW1saW5EYXRhYmFzZXMvZGF0YWJhc2VOYW1lMTAwMj9hcGktdmVyc2lvbj0yMDIxLTA2LTE1", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { "User-Agent": [ - "FxVersion/4.6.29916.01", + "FxVersion/4.6.28207.03", "OSName/Windows", - "OSVersion/Microsoft.Windows.10.0.19042.", + "OSVersion/Microsoft.Windows.10.0.19043.", "Microsoft.Azure.Management.CosmosDB.CosmosDBManagementClient/3.0.0.0" ] }, @@ -216,7 +216,7 @@ "max-age=31536000; includeSubDomains" ], "x-ms-gatewayversion": [ - "version=2.11.0" + "version=2.14.0" ], "Server": [ "Microsoft-HTTPAPI/2.0" @@ -225,19 +225,19 @@ "11998" ], "x-ms-request-id": [ - "3fc614ce-d6be-482b-848b-1fddc596a3b4" + "6c0d3fc4-47c6-404d-a473-d4e4050d7741" ], "x-ms-correlation-request-id": [ - "3fc614ce-d6be-482b-848b-1fddc596a3b4" + "6c0d3fc4-47c6-404d-a473-d4e4050d7741" ], "x-ms-routing-request-id": [ - "WESTCENTRALUS:20210427T174949Z:3fc614ce-d6be-482b-848b-1fddc596a3b4" + "WESTUS2:20210616T054734Z:6c0d3fc4-47c6-404d-a473-d4e4050d7741" ], "X-Content-Type-Options": [ "nosniff" ], "Date": [ - "Tue, 27 Apr 2021 17:49:49 GMT" + "Wed, 16 Jun 2021 05:47:33 GMT" ], "Content-Length": [ "478" @@ -246,25 +246,25 @@ "application/json" ] }, - "ResponseBody": "{\r\n \"id\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/resourceGroups/CosmosDBResourceGroup3668/providers/Microsoft.DocumentDB/databaseAccounts/db4096/gremlinDatabases/databaseName1002\",\r\n \"type\": \"Microsoft.DocumentDB/databaseAccounts/gremlinDatabases\",\r\n \"name\": \"databaseName1002\",\r\n \"properties\": {\r\n \"resource\": {\r\n \"id\": \"databaseName1002\",\r\n \"_rid\": \"9EkUAA==\",\r\n \"_self\": \"dbs/9EkUAA==/\",\r\n \"_etag\": \"\\\"00002900-0000-0200-0000-60884ea50000\\\"\",\r\n \"_colls\": \"colls/\",\r\n \"_users\": \"users/\",\r\n \"_ts\": 1619545765\r\n }\r\n }\r\n}", + "ResponseBody": "{\r\n \"id\": \"/subscriptions/259fbb24-9bcd-4cfc-865c-fc33b22fe38a/resourceGroups/CosmosDBResourceGroup3668/providers/Microsoft.DocumentDB/databaseAccounts/db4096/gremlinDatabases/databaseName1002\",\r\n \"type\": \"Microsoft.DocumentDB/databaseAccounts/gremlinDatabases\",\r\n \"name\": \"databaseName1002\",\r\n \"properties\": {\r\n \"resource\": {\r\n \"id\": \"databaseName1002\",\r\n \"_rid\": \"sYJ4AA==\",\r\n \"_self\": \"dbs/sYJ4AA==/\",\r\n \"_etag\": \"\\\"00007d00-0000-0200-0000-60b8476e0000\\\"\",\r\n \"_colls\": \"colls/\",\r\n \"_users\": \"users/\",\r\n \"_ts\": 1622689646\r\n }\r\n }\r\n}", "StatusCode": 200 }, { - "RequestUri": "/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/resourceGroups/CosmosDBResourceGroup3668/providers/Microsoft.DocumentDB/databaseAccounts/db4096/gremlinDatabases/databaseName1002?api-version=2021-04-15", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvODBiZTM5NjEtMDUyMS00YTBhLTg1NzAtNWNkNWE0ZTJmOThjL3Jlc291cmNlR3JvdXBzL0Nvc21vc0RCUmVzb3VyY2VHcm91cDM2NjgvcHJvdmlkZXJzL01pY3Jvc29mdC5Eb2N1bWVudERCL2RhdGFiYXNlQWNjb3VudHMvZGI0MDk2L2dyZW1saW5EYXRhYmFzZXMvZGF0YWJhc2VOYW1lMTAwMj9hcGktdmVyc2lvbj0yMDIxLTA0LTE1", + "RequestUri": "/subscriptions/259fbb24-9bcd-4cfc-865c-fc33b22fe38a/resourceGroups/CosmosDBResourceGroup3668/providers/Microsoft.DocumentDB/databaseAccounts/db4096/gremlinDatabases/databaseName1002?api-version=2021-06-15", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMjU5ZmJiMjQtOWJjZC00Y2ZjLTg2NWMtZmMzM2IyMmZlMzhhL3Jlc291cmNlR3JvdXBzL0Nvc21vc0RCUmVzb3VyY2VHcm91cDM2NjgvcHJvdmlkZXJzL01pY3Jvc29mdC5Eb2N1bWVudERCL2RhdGFiYXNlQWNjb3VudHMvZGI0MDk2L2dyZW1saW5EYXRhYmFzZXMvZGF0YWJhc2VOYW1lMTAwMj9hcGktdmVyc2lvbj0yMDIxLTA2LTE1", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { "x-ms-client-request-id": [ - "7e414d83-e914-4537-beb1-e4ee3aeab76f" + "f9860c4c-9360-410e-9cac-e94bf2c5b152" ], "Accept-Language": [ "en-US" ], "User-Agent": [ - "FxVersion/4.6.29916.01", + "FxVersion/4.6.28207.03", "OSName/Windows", - "OSVersion/Microsoft.Windows.10.0.19042.", + "OSVersion/Microsoft.Windows.10.0.19043.", "Microsoft.Azure.Management.CosmosDB.CosmosDBManagementClient/3.0.0.0" ] }, @@ -279,7 +279,7 @@ "max-age=31536000; includeSubDomains" ], "x-ms-gatewayversion": [ - "version=2.11.0" + "version=2.14.0" ], "Server": [ "Microsoft-HTTPAPI/2.0" @@ -288,19 +288,19 @@ "11997" ], "x-ms-request-id": [ - "d6b51202-4242-49f1-81cc-afaf18d8125e" + "b592d124-66f3-490c-a255-9e6e0b1e4fc9" ], "x-ms-correlation-request-id": [ - "d6b51202-4242-49f1-81cc-afaf18d8125e" + "b592d124-66f3-490c-a255-9e6e0b1e4fc9" ], "x-ms-routing-request-id": [ - "WESTCENTRALUS:20210427T174949Z:d6b51202-4242-49f1-81cc-afaf18d8125e" + "WESTUS2:20210616T054734Z:b592d124-66f3-490c-a255-9e6e0b1e4fc9" ], "X-Content-Type-Options": [ "nosniff" ], "Date": [ - "Tue, 27 Apr 2021 17:49:49 GMT" + "Wed, 16 Jun 2021 05:47:33 GMT" ], "Content-Length": [ "478" @@ -309,25 +309,25 @@ "application/json" ] }, - "ResponseBody": "{\r\n \"id\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/resourceGroups/CosmosDBResourceGroup3668/providers/Microsoft.DocumentDB/databaseAccounts/db4096/gremlinDatabases/databaseName1002\",\r\n \"type\": \"Microsoft.DocumentDB/databaseAccounts/gremlinDatabases\",\r\n \"name\": \"databaseName1002\",\r\n \"properties\": {\r\n \"resource\": {\r\n \"id\": \"databaseName1002\",\r\n \"_rid\": \"9EkUAA==\",\r\n \"_self\": \"dbs/9EkUAA==/\",\r\n \"_etag\": \"\\\"00002900-0000-0200-0000-60884ea50000\\\"\",\r\n \"_colls\": \"colls/\",\r\n \"_users\": \"users/\",\r\n \"_ts\": 1619545765\r\n }\r\n }\r\n}", + "ResponseBody": "{\r\n \"id\": \"/subscriptions/259fbb24-9bcd-4cfc-865c-fc33b22fe38a/resourceGroups/CosmosDBResourceGroup3668/providers/Microsoft.DocumentDB/databaseAccounts/db4096/gremlinDatabases/databaseName1002\",\r\n \"type\": \"Microsoft.DocumentDB/databaseAccounts/gremlinDatabases\",\r\n \"name\": \"databaseName1002\",\r\n \"properties\": {\r\n \"resource\": {\r\n \"id\": \"databaseName1002\",\r\n \"_rid\": \"sYJ4AA==\",\r\n \"_self\": \"dbs/sYJ4AA==/\",\r\n \"_etag\": \"\\\"00007d00-0000-0200-0000-60b8476e0000\\\"\",\r\n \"_colls\": \"colls/\",\r\n \"_users\": \"users/\",\r\n \"_ts\": 1622689646\r\n }\r\n }\r\n}", "StatusCode": 200 }, { - "RequestUri": "/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/resourceGroups/CosmosDBResourceGroup3668/providers/Microsoft.DocumentDB/databaseAccounts/db4096/gremlinDatabases/databaseName21002?api-version=2021-04-15", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvODBiZTM5NjEtMDUyMS00YTBhLTg1NzAtNWNkNWE0ZTJmOThjL3Jlc291cmNlR3JvdXBzL0Nvc21vc0RCUmVzb3VyY2VHcm91cDM2NjgvcHJvdmlkZXJzL01pY3Jvc29mdC5Eb2N1bWVudERCL2RhdGFiYXNlQWNjb3VudHMvZGI0MDk2L2dyZW1saW5EYXRhYmFzZXMvZGF0YWJhc2VOYW1lMjEwMDI/YXBpLXZlcnNpb249MjAyMS0wNC0xNQ==", + "RequestUri": "/subscriptions/259fbb24-9bcd-4cfc-865c-fc33b22fe38a/resourceGroups/CosmosDBResourceGroup3668/providers/Microsoft.DocumentDB/databaseAccounts/db4096/gremlinDatabases/databaseName21002?api-version=2021-06-15", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMjU5ZmJiMjQtOWJjZC00Y2ZjLTg2NWMtZmMzM2IyMmZlMzhhL3Jlc291cmNlR3JvdXBzL0Nvc21vc0RCUmVzb3VyY2VHcm91cDM2NjgvcHJvdmlkZXJzL01pY3Jvc29mdC5Eb2N1bWVudERCL2RhdGFiYXNlQWNjb3VudHMvZGI0MDk2L2dyZW1saW5EYXRhYmFzZXMvZGF0YWJhc2VOYW1lMjEwMDI/YXBpLXZlcnNpb249MjAyMS0wNi0xNQ==", "RequestMethod": "PUT", "RequestBody": "{\r\n \"properties\": {\r\n \"resource\": {\r\n \"id\": \"databaseName21002\"\r\n },\r\n \"options\": {\r\n \"throughput\": 700\r\n }\r\n },\r\n \"location\": \"EAST US 2\",\r\n \"tags\": {\r\n \"key3\": \"value3\",\r\n \"key4\": \"value4\"\r\n }\r\n}", "RequestHeaders": { "x-ms-client-request-id": [ - "3de0caef-fcb8-4f81-9a58-cf70e93198a2" + "88f038ba-94a2-4c65-a397-9ce4cc9e6d5d" ], "Accept-Language": [ "en-US" ], "User-Agent": [ - "FxVersion/4.6.29916.01", + "FxVersion/4.6.28207.03", "OSName/Windows", - "OSVersion/Microsoft.Windows.10.0.19042.", + "OSVersion/Microsoft.Windows.10.0.19043.", "Microsoft.Azure.Management.CosmosDB.CosmosDBManagementClient/3.0.0.0" ], "Content-Type": [ @@ -345,19 +345,19 @@ "no-cache" ], "Location": [ - "https://management.azure.com/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/resourceGroups/CosmosDBResourceGroup3668/providers/Microsoft.DocumentDB/databaseAccounts/db4096/gremlinDatabases/databaseName21002/operationResults/04ec06f2-0436-4822-b9d4-64caa06ecd51?api-version=2021-04-15" + "https://management.azure.com/subscriptions/259fbb24-9bcd-4cfc-865c-fc33b22fe38a/resourceGroups/CosmosDBResourceGroup3668/providers/Microsoft.DocumentDB/databaseAccounts/db4096/gremlinDatabases/databaseName21002/operationResults/854d2eee-b13b-44ba-a5c4-bcb0a592a993?api-version=2021-06-15" ], "Azure-AsyncOperation": [ - "https://management.azure.com/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/providers/Microsoft.DocumentDB/locations/eastus2/operationsStatus/04ec06f2-0436-4822-b9d4-64caa06ecd51?api-version=2021-04-15" + "https://management.azure.com/subscriptions/259fbb24-9bcd-4cfc-865c-fc33b22fe38a/providers/Microsoft.DocumentDB/locations/eastus2/operationsStatus/854d2eee-b13b-44ba-a5c4-bcb0a592a993?api-version=2021-06-15" ], "x-ms-request-id": [ - "04ec06f2-0436-4822-b9d4-64caa06ecd51" + "854d2eee-b13b-44ba-a5c4-bcb0a592a993" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "x-ms-gatewayversion": [ - "version=2.11.0" + "version=2.14.0" ], "Server": [ "Microsoft-HTTPAPI/2.0" @@ -366,16 +366,16 @@ "1198" ], "x-ms-correlation-request-id": [ - "15be98dd-253b-4382-90be-a9367ae0f131" + "09c8d88f-0843-46ad-8ba7-5358b401962a" ], "x-ms-routing-request-id": [ - "WESTCENTRALUS:20210427T174950Z:15be98dd-253b-4382-90be-a9367ae0f131" + "WESTUS2:20210616T054735Z:09c8d88f-0843-46ad-8ba7-5358b401962a" ], "X-Content-Type-Options": [ "nosniff" ], "Date": [ - "Tue, 27 Apr 2021 17:49:50 GMT" + "Wed, 16 Jun 2021 05:47:34 GMT" ], "Content-Length": [ "21" @@ -388,15 +388,15 @@ "StatusCode": 202 }, { - "RequestUri": "/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/providers/Microsoft.DocumentDB/locations/eastus2/operationsStatus/04ec06f2-0436-4822-b9d4-64caa06ecd51?api-version=2021-04-15", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvODBiZTM5NjEtMDUyMS00YTBhLTg1NzAtNWNkNWE0ZTJmOThjL3Byb3ZpZGVycy9NaWNyb3NvZnQuRG9jdW1lbnREQi9sb2NhdGlvbnMvZWFzdHVzMi9vcGVyYXRpb25zU3RhdHVzLzA0ZWMwNmYyLTA0MzYtNDgyMi1iOWQ0LTY0Y2FhMDZlY2Q1MT9hcGktdmVyc2lvbj0yMDIxLTA0LTE1", + "RequestUri": "/subscriptions/259fbb24-9bcd-4cfc-865c-fc33b22fe38a/providers/Microsoft.DocumentDB/locations/eastus2/operationsStatus/854d2eee-b13b-44ba-a5c4-bcb0a592a993?api-version=2021-06-15", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMjU5ZmJiMjQtOWJjZC00Y2ZjLTg2NWMtZmMzM2IyMmZlMzhhL3Byb3ZpZGVycy9NaWNyb3NvZnQuRG9jdW1lbnREQi9sb2NhdGlvbnMvZWFzdHVzMi9vcGVyYXRpb25zU3RhdHVzLzg1NGQyZWVlLWIxM2ItNDRiYS1hNWM0LWJjYjBhNTkyYTk5Mz9hcGktdmVyc2lvbj0yMDIxLTA2LTE1", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { "User-Agent": [ - "FxVersion/4.6.29916.01", + "FxVersion/4.6.28207.03", "OSName/Windows", - "OSVersion/Microsoft.Windows.10.0.19042.", + "OSVersion/Microsoft.Windows.10.0.19043.", "Microsoft.Azure.Management.CosmosDB.CosmosDBManagementClient/3.0.0.0" ] }, @@ -411,7 +411,7 @@ "max-age=31536000; includeSubDomains" ], "x-ms-gatewayversion": [ - "version=2.11.0" + "version=2.14.0" ], "Server": [ "Microsoft-HTTPAPI/2.0" @@ -420,19 +420,19 @@ "11996" ], "x-ms-request-id": [ - "e433265c-a709-483d-ada9-3479efed1944" + "b5384bc7-2092-4116-87e7-594a4b762cc8" ], "x-ms-correlation-request-id": [ - "e433265c-a709-483d-ada9-3479efed1944" + "b5384bc7-2092-4116-87e7-594a4b762cc8" ], "x-ms-routing-request-id": [ - "WESTCENTRALUS:20210427T175020Z:e433265c-a709-483d-ada9-3479efed1944" + "WESTUS2:20210616T054805Z:b5384bc7-2092-4116-87e7-594a4b762cc8" ], "X-Content-Type-Options": [ "nosniff" ], "Date": [ - "Tue, 27 Apr 2021 17:50:20 GMT" + "Wed, 16 Jun 2021 05:48:05 GMT" ], "Content-Length": [ "22" @@ -445,15 +445,15 @@ "StatusCode": 200 }, { - "RequestUri": "/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/resourceGroups/CosmosDBResourceGroup3668/providers/Microsoft.DocumentDB/databaseAccounts/db4096/gremlinDatabases/databaseName21002?api-version=2021-04-15", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvODBiZTM5NjEtMDUyMS00YTBhLTg1NzAtNWNkNWE0ZTJmOThjL3Jlc291cmNlR3JvdXBzL0Nvc21vc0RCUmVzb3VyY2VHcm91cDM2NjgvcHJvdmlkZXJzL01pY3Jvc29mdC5Eb2N1bWVudERCL2RhdGFiYXNlQWNjb3VudHMvZGI0MDk2L2dyZW1saW5EYXRhYmFzZXMvZGF0YWJhc2VOYW1lMjEwMDI/YXBpLXZlcnNpb249MjAyMS0wNC0xNQ==", + "RequestUri": "/subscriptions/259fbb24-9bcd-4cfc-865c-fc33b22fe38a/resourceGroups/CosmosDBResourceGroup3668/providers/Microsoft.DocumentDB/databaseAccounts/db4096/gremlinDatabases/databaseName21002?api-version=2021-06-15", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMjU5ZmJiMjQtOWJjZC00Y2ZjLTg2NWMtZmMzM2IyMmZlMzhhL3Jlc291cmNlR3JvdXBzL0Nvc21vc0RCUmVzb3VyY2VHcm91cDM2NjgvcHJvdmlkZXJzL01pY3Jvc29mdC5Eb2N1bWVudERCL2RhdGFiYXNlQWNjb3VudHMvZGI0MDk2L2dyZW1saW5EYXRhYmFzZXMvZGF0YWJhc2VOYW1lMjEwMDI/YXBpLXZlcnNpb249MjAyMS0wNi0xNQ==", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { "User-Agent": [ - "FxVersion/4.6.29916.01", + "FxVersion/4.6.28207.03", "OSName/Windows", - "OSVersion/Microsoft.Windows.10.0.19042.", + "OSVersion/Microsoft.Windows.10.0.19043.", "Microsoft.Azure.Management.CosmosDB.CosmosDBManagementClient/3.0.0.0" ] }, @@ -468,7 +468,7 @@ "max-age=31536000; includeSubDomains" ], "x-ms-gatewayversion": [ - "version=2.11.0" + "version=2.14.0" ], "Server": [ "Microsoft-HTTPAPI/2.0" @@ -477,19 +477,19 @@ "11995" ], "x-ms-request-id": [ - "254a9938-06dd-41de-a01c-1d80994198f6" + "2b8583a0-08c3-48b2-a4f1-a0a4d582990e" ], "x-ms-correlation-request-id": [ - "254a9938-06dd-41de-a01c-1d80994198f6" + "2b8583a0-08c3-48b2-a4f1-a0a4d582990e" ], "x-ms-routing-request-id": [ - "WESTCENTRALUS:20210427T175021Z:254a9938-06dd-41de-a01c-1d80994198f6" + "WESTUS2:20210616T054805Z:2b8583a0-08c3-48b2-a4f1-a0a4d582990e" ], "X-Content-Type-Options": [ "nosniff" ], "Date": [ - "Tue, 27 Apr 2021 17:50:20 GMT" + "Wed, 16 Jun 2021 05:48:05 GMT" ], "Content-Length": [ "481" @@ -498,25 +498,25 @@ "application/json" ] }, - "ResponseBody": "{\r\n \"id\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/resourceGroups/CosmosDBResourceGroup3668/providers/Microsoft.DocumentDB/databaseAccounts/db4096/gremlinDatabases/databaseName21002\",\r\n \"type\": \"Microsoft.DocumentDB/databaseAccounts/gremlinDatabases\",\r\n \"name\": \"databaseName21002\",\r\n \"properties\": {\r\n \"resource\": {\r\n \"id\": \"databaseName21002\",\r\n \"_rid\": \"flEiAA==\",\r\n \"_self\": \"dbs/flEiAA==/\",\r\n \"_etag\": \"\\\"00002b00-0000-0200-0000-60884ec80000\\\"\",\r\n \"_colls\": \"colls/\",\r\n \"_users\": \"users/\",\r\n \"_ts\": 1619545800\r\n }\r\n }\r\n}", + "ResponseBody": "{\r\n \"id\": \"/subscriptions/259fbb24-9bcd-4cfc-865c-fc33b22fe38a/resourceGroups/CosmosDBResourceGroup3668/providers/Microsoft.DocumentDB/databaseAccounts/db4096/gremlinDatabases/databaseName21002\",\r\n \"type\": \"Microsoft.DocumentDB/databaseAccounts/gremlinDatabases\",\r\n \"name\": \"databaseName21002\",\r\n \"properties\": {\r\n \"resource\": {\r\n \"id\": \"databaseName21002\",\r\n \"_rid\": \"U0t7AA==\",\r\n \"_self\": \"dbs/U0t7AA==/\",\r\n \"_etag\": \"\\\"00007f00-0000-0200-0000-60b8478f0000\\\"\",\r\n \"_colls\": \"colls/\",\r\n \"_users\": \"users/\",\r\n \"_ts\": 1622689679\r\n }\r\n }\r\n}", "StatusCode": 200 }, { - "RequestUri": "/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/resourceGroups/CosmosDBResourceGroup3668/providers/Microsoft.DocumentDB/databaseAccounts/db4096/gremlinDatabases?api-version=2021-04-15", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvODBiZTM5NjEtMDUyMS00YTBhLTg1NzAtNWNkNWE0ZTJmOThjL3Jlc291cmNlR3JvdXBzL0Nvc21vc0RCUmVzb3VyY2VHcm91cDM2NjgvcHJvdmlkZXJzL01pY3Jvc29mdC5Eb2N1bWVudERCL2RhdGFiYXNlQWNjb3VudHMvZGI0MDk2L2dyZW1saW5EYXRhYmFzZXM/YXBpLXZlcnNpb249MjAyMS0wNC0xNQ==", + "RequestUri": "/subscriptions/259fbb24-9bcd-4cfc-865c-fc33b22fe38a/resourceGroups/CosmosDBResourceGroup3668/providers/Microsoft.DocumentDB/databaseAccounts/db4096/gremlinDatabases?api-version=2021-06-15", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMjU5ZmJiMjQtOWJjZC00Y2ZjLTg2NWMtZmMzM2IyMmZlMzhhL3Jlc291cmNlR3JvdXBzL0Nvc21vc0RCUmVzb3VyY2VHcm91cDM2NjgvcHJvdmlkZXJzL01pY3Jvc29mdC5Eb2N1bWVudERCL2RhdGFiYXNlQWNjb3VudHMvZGI0MDk2L2dyZW1saW5EYXRhYmFzZXM/YXBpLXZlcnNpb249MjAyMS0wNi0xNQ==", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { "x-ms-client-request-id": [ - "cc480037-4ee8-48fc-ac08-56aaf406d578" + "8019e4b8-c0ac-4ed0-aa3e-f6f8768066d6" ], "Accept-Language": [ "en-US" ], "User-Agent": [ - "FxVersion/4.6.29916.01", + "FxVersion/4.6.28207.03", "OSName/Windows", - "OSVersion/Microsoft.Windows.10.0.19042.", + "OSVersion/Microsoft.Windows.10.0.19043.", "Microsoft.Azure.Management.CosmosDB.CosmosDBManagementClient/3.0.0.0" ] }, @@ -531,7 +531,7 @@ "max-age=31536000; includeSubDomains" ], "x-ms-gatewayversion": [ - "version=2.11.0" + "version=2.14.0" ], "Server": [ "Microsoft-HTTPAPI/2.0" @@ -540,19 +540,19 @@ "11994" ], "x-ms-request-id": [ - "d9e6d40d-7e4d-429c-88b3-5eb9885a0af3" + "c5529915-015b-436c-82cc-412382458c97" ], "x-ms-correlation-request-id": [ - "d9e6d40d-7e4d-429c-88b3-5eb9885a0af3" + "c5529915-015b-436c-82cc-412382458c97" ], "x-ms-routing-request-id": [ - "WESTCENTRALUS:20210427T175021Z:d9e6d40d-7e4d-429c-88b3-5eb9885a0af3" + "WESTUS2:20210616T054805Z:c5529915-015b-436c-82cc-412382458c97" ], "X-Content-Type-Options": [ "nosniff" ], "Date": [ - "Tue, 27 Apr 2021 17:50:20 GMT" + "Wed, 16 Jun 2021 05:48:05 GMT" ], "Content-Length": [ "972" @@ -561,25 +561,25 @@ "application/json" ] }, - "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/resourceGroups/CosmosDBResourceGroup3668/providers/Microsoft.DocumentDB/databaseAccounts/db4096/gremlinDatabases/databaseName1002\",\r\n \"type\": \"Microsoft.DocumentDB/databaseAccounts/gremlinDatabases\",\r\n \"name\": \"databaseName1002\",\r\n \"properties\": {\r\n \"resource\": {\r\n \"id\": \"databaseName1002\",\r\n \"_rid\": \"9EkUAA==\",\r\n \"_self\": \"dbs/9EkUAA==/\",\r\n \"_etag\": \"\\\"00002900-0000-0200-0000-60884ea50000\\\"\",\r\n \"_colls\": \"colls/\",\r\n \"_users\": \"users/\",\r\n \"_ts\": 1619545765\r\n }\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/resourceGroups/CosmosDBResourceGroup3668/providers/Microsoft.DocumentDB/databaseAccounts/db4096/gremlinDatabases/databaseName21002\",\r\n \"type\": \"Microsoft.DocumentDB/databaseAccounts/gremlinDatabases\",\r\n \"name\": \"databaseName21002\",\r\n \"properties\": {\r\n \"resource\": {\r\n \"id\": \"databaseName21002\",\r\n \"_rid\": \"flEiAA==\",\r\n \"_self\": \"dbs/flEiAA==/\",\r\n \"_etag\": \"\\\"00002b00-0000-0200-0000-60884ec80000\\\"\",\r\n \"_colls\": \"colls/\",\r\n \"_users\": \"users/\",\r\n \"_ts\": 1619545800\r\n }\r\n }\r\n }\r\n ]\r\n}", + "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/subscriptions/259fbb24-9bcd-4cfc-865c-fc33b22fe38a/resourceGroups/CosmosDBResourceGroup3668/providers/Microsoft.DocumentDB/databaseAccounts/db4096/gremlinDatabases/databaseName1002\",\r\n \"type\": \"Microsoft.DocumentDB/databaseAccounts/gremlinDatabases\",\r\n \"name\": \"databaseName1002\",\r\n \"properties\": {\r\n \"resource\": {\r\n \"id\": \"databaseName1002\",\r\n \"_rid\": \"sYJ4AA==\",\r\n \"_self\": \"dbs/sYJ4AA==/\",\r\n \"_etag\": \"\\\"00007d00-0000-0200-0000-60b8476e0000\\\"\",\r\n \"_colls\": \"colls/\",\r\n \"_users\": \"users/\",\r\n \"_ts\": 1622689646\r\n }\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/259fbb24-9bcd-4cfc-865c-fc33b22fe38a/resourceGroups/CosmosDBResourceGroup3668/providers/Microsoft.DocumentDB/databaseAccounts/db4096/gremlinDatabases/databaseName21002\",\r\n \"type\": \"Microsoft.DocumentDB/databaseAccounts/gremlinDatabases\",\r\n \"name\": \"databaseName21002\",\r\n \"properties\": {\r\n \"resource\": {\r\n \"id\": \"databaseName21002\",\r\n \"_rid\": \"U0t7AA==\",\r\n \"_self\": \"dbs/U0t7AA==/\",\r\n \"_etag\": \"\\\"00007f00-0000-0200-0000-60b8478f0000\\\"\",\r\n \"_colls\": \"colls/\",\r\n \"_users\": \"users/\",\r\n \"_ts\": 1622689679\r\n }\r\n }\r\n }\r\n ]\r\n}", "StatusCode": 200 }, { - "RequestUri": "/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/resourceGroups/CosmosDBResourceGroup3668/providers/Microsoft.DocumentDB/databaseAccounts/db4096/gremlinDatabases/databaseName21002/throughputSettings/default?api-version=2021-04-15", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvODBiZTM5NjEtMDUyMS00YTBhLTg1NzAtNWNkNWE0ZTJmOThjL3Jlc291cmNlR3JvdXBzL0Nvc21vc0RCUmVzb3VyY2VHcm91cDM2NjgvcHJvdmlkZXJzL01pY3Jvc29mdC5Eb2N1bWVudERCL2RhdGFiYXNlQWNjb3VudHMvZGI0MDk2L2dyZW1saW5EYXRhYmFzZXMvZGF0YWJhc2VOYW1lMjEwMDIvdGhyb3VnaHB1dFNldHRpbmdzL2RlZmF1bHQ/YXBpLXZlcnNpb249MjAyMS0wNC0xNQ==", + "RequestUri": "/subscriptions/259fbb24-9bcd-4cfc-865c-fc33b22fe38a/resourceGroups/CosmosDBResourceGroup3668/providers/Microsoft.DocumentDB/databaseAccounts/db4096/gremlinDatabases/databaseName21002/throughputSettings/default?api-version=2021-06-15", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMjU5ZmJiMjQtOWJjZC00Y2ZjLTg2NWMtZmMzM2IyMmZlMzhhL3Jlc291cmNlR3JvdXBzL0Nvc21vc0RCUmVzb3VyY2VHcm91cDM2NjgvcHJvdmlkZXJzL01pY3Jvc29mdC5Eb2N1bWVudERCL2RhdGFiYXNlQWNjb3VudHMvZGI0MDk2L2dyZW1saW5EYXRhYmFzZXMvZGF0YWJhc2VOYW1lMjEwMDIvdGhyb3VnaHB1dFNldHRpbmdzL2RlZmF1bHQ/YXBpLXZlcnNpb249MjAyMS0wNi0xNQ==", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { "x-ms-client-request-id": [ - "5587286c-281b-40f2-a760-fcac8711a036" + "c3c70f1d-b87e-49ee-9696-53189c599729" ], "Accept-Language": [ "en-US" ], "User-Agent": [ - "FxVersion/4.6.29916.01", + "FxVersion/4.6.28207.03", "OSName/Windows", - "OSVersion/Microsoft.Windows.10.0.19042.", + "OSVersion/Microsoft.Windows.10.0.19043.", "Microsoft.Azure.Management.CosmosDB.CosmosDBManagementClient/3.0.0.0" ] }, @@ -594,7 +594,7 @@ "max-age=31536000; includeSubDomains" ], "x-ms-gatewayversion": [ - "version=2.11.0" + "version=2.14.0" ], "Server": [ "Microsoft-HTTPAPI/2.0" @@ -603,19 +603,19 @@ "11993" ], "x-ms-request-id": [ - "5acf72c6-9ede-4d90-8aee-47cb9dbca85c" + "88c9c236-f338-408d-b15b-beda12eb5889" ], "x-ms-correlation-request-id": [ - "5acf72c6-9ede-4d90-8aee-47cb9dbca85c" + "88c9c236-f338-408d-b15b-beda12eb5889" ], "x-ms-routing-request-id": [ - "WESTCENTRALUS:20210427T175021Z:5acf72c6-9ede-4d90-8aee-47cb9dbca85c" + "WESTUS2:20210616T054805Z:88c9c236-f338-408d-b15b-beda12eb5889" ], "X-Content-Type-Options": [ "nosniff" ], "Date": [ - "Tue, 27 Apr 2021 17:50:20 GMT" + "Wed, 16 Jun 2021 05:48:05 GMT" ], "Content-Length": [ "386" @@ -624,25 +624,25 @@ "application/json" ] }, - "ResponseBody": "{\r\n \"id\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/resourceGroups/CosmosDBResourceGroup3668/providers/Microsoft.DocumentDB/databaseAccounts/db4096/gremlinDatabases/databaseName21002/throughputSettings/default\",\r\n \"type\": \"Microsoft.DocumentDB/databaseAccounts/gremlinDatabases/throughputSettings\",\r\n \"name\": \"4Uzx\",\r\n \"properties\": {\r\n \"resource\": {\r\n \"throughput\": 700,\r\n \"minimumThroughput\": \"400\"\r\n }\r\n }\r\n}", + "ResponseBody": "{\r\n \"id\": \"/subscriptions/259fbb24-9bcd-4cfc-865c-fc33b22fe38a/resourceGroups/CosmosDBResourceGroup3668/providers/Microsoft.DocumentDB/databaseAccounts/db4096/gremlinDatabases/databaseName21002/throughputSettings/default\",\r\n \"type\": \"Microsoft.DocumentDB/databaseAccounts/gremlinDatabases/throughputSettings\",\r\n \"name\": \"qvak\",\r\n \"properties\": {\r\n \"resource\": {\r\n \"throughput\": 700,\r\n \"minimumThroughput\": \"400\"\r\n }\r\n }\r\n}", "StatusCode": 200 }, { - "RequestUri": "/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/resourceGroups/CosmosDBResourceGroup3668/providers/Microsoft.DocumentDB/databaseAccounts/db4096/gremlinDatabases/databaseName1002/graphs/gremlinGraphName1002?api-version=2021-04-15", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvODBiZTM5NjEtMDUyMS00YTBhLTg1NzAtNWNkNWE0ZTJmOThjL3Jlc291cmNlR3JvdXBzL0Nvc21vc0RCUmVzb3VyY2VHcm91cDM2NjgvcHJvdmlkZXJzL01pY3Jvc29mdC5Eb2N1bWVudERCL2RhdGFiYXNlQWNjb3VudHMvZGI0MDk2L2dyZW1saW5EYXRhYmFzZXMvZGF0YWJhc2VOYW1lMTAwMi9ncmFwaHMvZ3JlbWxpbkdyYXBoTmFtZTEwMDI/YXBpLXZlcnNpb249MjAyMS0wNC0xNQ==", + "RequestUri": "/subscriptions/259fbb24-9bcd-4cfc-865c-fc33b22fe38a/resourceGroups/CosmosDBResourceGroup3668/providers/Microsoft.DocumentDB/databaseAccounts/db4096/gremlinDatabases/databaseName1002/graphs/gremlinGraphName1002?api-version=2021-06-15", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMjU5ZmJiMjQtOWJjZC00Y2ZjLTg2NWMtZmMzM2IyMmZlMzhhL3Jlc291cmNlR3JvdXBzL0Nvc21vc0RCUmVzb3VyY2VHcm91cDM2NjgvcHJvdmlkZXJzL01pY3Jvc29mdC5Eb2N1bWVudERCL2RhdGFiYXNlQWNjb3VudHMvZGI0MDk2L2dyZW1saW5EYXRhYmFzZXMvZGF0YWJhc2VOYW1lMTAwMi9ncmFwaHMvZ3JlbWxpbkdyYXBoTmFtZTEwMDI/YXBpLXZlcnNpb249MjAyMS0wNi0xNQ==", "RequestMethod": "PUT", "RequestBody": "{\r\n \"properties\": {\r\n \"resource\": {\r\n \"id\": \"gremlinGraphName1002\",\r\n \"indexingPolicy\": {\r\n \"automatic\": true,\r\n \"indexingMode\": \"consistent\",\r\n \"includedPaths\": [\r\n {\r\n \"path\": \"/*\"\r\n }\r\n ],\r\n \"excludedPaths\": [\r\n {\r\n \"path\": \"/pathToNotIndex/*\"\r\n }\r\n ],\r\n \"compositeIndexes\": [\r\n [\r\n {\r\n \"path\": \"/orderByPath1\",\r\n \"order\": \"ascending\"\r\n },\r\n {\r\n \"path\": \"/orderByPath2\",\r\n \"order\": \"descending\"\r\n }\r\n ],\r\n [\r\n {\r\n \"path\": \"/orderByPath3\",\r\n \"order\": \"ascending\"\r\n },\r\n {\r\n \"path\": \"/orderByPath4\",\r\n \"order\": \"descending\"\r\n }\r\n ]\r\n ]\r\n },\r\n \"partitionKey\": {\r\n \"paths\": [\r\n \"/address\"\r\n ],\r\n \"kind\": \"Hash\"\r\n },\r\n \"defaultTtl\": -1\r\n },\r\n \"options\": {\r\n \"throughput\": 700\r\n }\r\n }\r\n}", "RequestHeaders": { "x-ms-client-request-id": [ - "da7457df-f7af-4034-8190-43227a5f0436" + "9ba4bc55-3006-4acb-b402-1143b74ce4c1" ], "Accept-Language": [ "en-US" ], "User-Agent": [ - "FxVersion/4.6.29916.01", + "FxVersion/4.6.28207.03", "OSName/Windows", - "OSVersion/Microsoft.Windows.10.0.19042.", + "OSVersion/Microsoft.Windows.10.0.19043.", "Microsoft.Azure.Management.CosmosDB.CosmosDBManagementClient/3.0.0.0" ], "Content-Type": [ @@ -660,19 +660,19 @@ "no-cache" ], "Location": [ - "https://management.azure.com/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/resourceGroups/CosmosDBResourceGroup3668/providers/Microsoft.DocumentDB/databaseAccounts/db4096/gremlinDatabases/databaseName1002/graphs/gremlinGraphName1002/operationResults/5594962a-7f38-4347-a1e9-fe800c6cdc66?api-version=2021-04-15" + "https://management.azure.com/subscriptions/259fbb24-9bcd-4cfc-865c-fc33b22fe38a/resourceGroups/CosmosDBResourceGroup3668/providers/Microsoft.DocumentDB/databaseAccounts/db4096/gremlinDatabases/databaseName1002/graphs/gremlinGraphName1002/operationResults/308f611f-818f-4849-abda-6058f9b8cb8c?api-version=2021-06-15" ], "Azure-AsyncOperation": [ - "https://management.azure.com/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/providers/Microsoft.DocumentDB/locations/eastus2/operationsStatus/5594962a-7f38-4347-a1e9-fe800c6cdc66?api-version=2021-04-15" + "https://management.azure.com/subscriptions/259fbb24-9bcd-4cfc-865c-fc33b22fe38a/providers/Microsoft.DocumentDB/locations/eastus2/operationsStatus/308f611f-818f-4849-abda-6058f9b8cb8c?api-version=2021-06-15" ], "x-ms-request-id": [ - "5594962a-7f38-4347-a1e9-fe800c6cdc66" + "308f611f-818f-4849-abda-6058f9b8cb8c" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "x-ms-gatewayversion": [ - "version=2.11.0" + "version=2.14.0" ], "Server": [ "Microsoft-HTTPAPI/2.0" @@ -681,16 +681,16 @@ "1197" ], "x-ms-correlation-request-id": [ - "191f5643-e170-4844-b0a8-a46b3d5ee2e5" + "ca64ba62-f07d-44a8-9035-68100ba3a195" ], "x-ms-routing-request-id": [ - "WESTCENTRALUS:20210427T175022Z:191f5643-e170-4844-b0a8-a46b3d5ee2e5" + "WESTUS2:20210616T054806Z:ca64ba62-f07d-44a8-9035-68100ba3a195" ], "X-Content-Type-Options": [ "nosniff" ], "Date": [ - "Tue, 27 Apr 2021 17:50:21 GMT" + "Wed, 16 Jun 2021 05:48:06 GMT" ], "Content-Length": [ "21" @@ -703,15 +703,15 @@ "StatusCode": 202 }, { - "RequestUri": "/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/providers/Microsoft.DocumentDB/locations/eastus2/operationsStatus/5594962a-7f38-4347-a1e9-fe800c6cdc66?api-version=2021-04-15", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvODBiZTM5NjEtMDUyMS00YTBhLTg1NzAtNWNkNWE0ZTJmOThjL3Byb3ZpZGVycy9NaWNyb3NvZnQuRG9jdW1lbnREQi9sb2NhdGlvbnMvZWFzdHVzMi9vcGVyYXRpb25zU3RhdHVzLzU1OTQ5NjJhLTdmMzgtNDM0Ny1hMWU5LWZlODAwYzZjZGM2Nj9hcGktdmVyc2lvbj0yMDIxLTA0LTE1", + "RequestUri": "/subscriptions/259fbb24-9bcd-4cfc-865c-fc33b22fe38a/providers/Microsoft.DocumentDB/locations/eastus2/operationsStatus/308f611f-818f-4849-abda-6058f9b8cb8c?api-version=2021-06-15", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMjU5ZmJiMjQtOWJjZC00Y2ZjLTg2NWMtZmMzM2IyMmZlMzhhL3Byb3ZpZGVycy9NaWNyb3NvZnQuRG9jdW1lbnREQi9sb2NhdGlvbnMvZWFzdHVzMi9vcGVyYXRpb25zU3RhdHVzLzMwOGY2MTFmLTgxOGYtNDg0OS1hYmRhLTYwNThmOWI4Y2I4Yz9hcGktdmVyc2lvbj0yMDIxLTA2LTE1", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { "User-Agent": [ - "FxVersion/4.6.29916.01", + "FxVersion/4.6.28207.03", "OSName/Windows", - "OSVersion/Microsoft.Windows.10.0.19042.", + "OSVersion/Microsoft.Windows.10.0.19043.", "Microsoft.Azure.Management.CosmosDB.CosmosDBManagementClient/3.0.0.0" ] }, @@ -726,7 +726,7 @@ "max-age=31536000; includeSubDomains" ], "x-ms-gatewayversion": [ - "version=2.11.0" + "version=2.14.0" ], "Server": [ "Microsoft-HTTPAPI/2.0" @@ -735,19 +735,19 @@ "11992" ], "x-ms-request-id": [ - "618b4fcb-1ad1-44a8-9495-0c37dc7adf6d" + "4aaffd6c-3a5d-44ef-b26f-f5bbbfa2c806" ], "x-ms-correlation-request-id": [ - "618b4fcb-1ad1-44a8-9495-0c37dc7adf6d" + "4aaffd6c-3a5d-44ef-b26f-f5bbbfa2c806" ], "x-ms-routing-request-id": [ - "WESTCENTRALUS:20210427T175052Z:618b4fcb-1ad1-44a8-9495-0c37dc7adf6d" + "WESTUS2:20210616T054836Z:4aaffd6c-3a5d-44ef-b26f-f5bbbfa2c806" ], "X-Content-Type-Options": [ "nosniff" ], "Date": [ - "Tue, 27 Apr 2021 17:50:51 GMT" + "Wed, 16 Jun 2021 05:48:36 GMT" ], "Content-Length": [ "22" @@ -760,15 +760,15 @@ "StatusCode": 200 }, { - "RequestUri": "/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/resourceGroups/CosmosDBResourceGroup3668/providers/Microsoft.DocumentDB/databaseAccounts/db4096/gremlinDatabases/databaseName1002/graphs/gremlinGraphName1002?api-version=2021-04-15", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvODBiZTM5NjEtMDUyMS00YTBhLTg1NzAtNWNkNWE0ZTJmOThjL3Jlc291cmNlR3JvdXBzL0Nvc21vc0RCUmVzb3VyY2VHcm91cDM2NjgvcHJvdmlkZXJzL01pY3Jvc29mdC5Eb2N1bWVudERCL2RhdGFiYXNlQWNjb3VudHMvZGI0MDk2L2dyZW1saW5EYXRhYmFzZXMvZGF0YWJhc2VOYW1lMTAwMi9ncmFwaHMvZ3JlbWxpbkdyYXBoTmFtZTEwMDI/YXBpLXZlcnNpb249MjAyMS0wNC0xNQ==", + "RequestUri": "/subscriptions/259fbb24-9bcd-4cfc-865c-fc33b22fe38a/resourceGroups/CosmosDBResourceGroup3668/providers/Microsoft.DocumentDB/databaseAccounts/db4096/gremlinDatabases/databaseName1002/graphs/gremlinGraphName1002?api-version=2021-06-15", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMjU5ZmJiMjQtOWJjZC00Y2ZjLTg2NWMtZmMzM2IyMmZlMzhhL3Jlc291cmNlR3JvdXBzL0Nvc21vc0RCUmVzb3VyY2VHcm91cDM2NjgvcHJvdmlkZXJzL01pY3Jvc29mdC5Eb2N1bWVudERCL2RhdGFiYXNlQWNjb3VudHMvZGI0MDk2L2dyZW1saW5EYXRhYmFzZXMvZGF0YWJhc2VOYW1lMTAwMi9ncmFwaHMvZ3JlbWxpbkdyYXBoTmFtZTEwMDI/YXBpLXZlcnNpb249MjAyMS0wNi0xNQ==", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { "User-Agent": [ - "FxVersion/4.6.29916.01", + "FxVersion/4.6.28207.03", "OSName/Windows", - "OSVersion/Microsoft.Windows.10.0.19042.", + "OSVersion/Microsoft.Windows.10.0.19043.", "Microsoft.Azure.Management.CosmosDB.CosmosDBManagementClient/3.0.0.0" ] }, @@ -783,7 +783,7 @@ "max-age=31536000; includeSubDomains" ], "x-ms-gatewayversion": [ - "version=2.11.0" + "version=2.14.0" ], "Server": [ "Microsoft-HTTPAPI/2.0" @@ -792,19 +792,19 @@ "11991" ], "x-ms-request-id": [ - "70c9cd8f-9dee-4701-8ff8-98ed718cdc2d" + "b5c1754e-3f12-4f44-ad52-13311315d571" ], "x-ms-correlation-request-id": [ - "70c9cd8f-9dee-4701-8ff8-98ed718cdc2d" + "b5c1754e-3f12-4f44-ad52-13311315d571" ], "x-ms-routing-request-id": [ - "WESTCENTRALUS:20210427T175052Z:70c9cd8f-9dee-4701-8ff8-98ed718cdc2d" + "WESTUS2:20210616T054836Z:b5c1754e-3f12-4f44-ad52-13311315d571" ], "X-Content-Type-Options": [ "nosniff" ], "Date": [ - "Tue, 27 Apr 2021 17:50:52 GMT" + "Wed, 16 Jun 2021 05:48:36 GMT" ], "Content-Length": [ "1353" @@ -813,25 +813,25 @@ "application/json" ] }, - "ResponseBody": "{\r\n \"id\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/resourceGroups/CosmosDBResourceGroup3668/providers/Microsoft.DocumentDB/databaseAccounts/db4096/gremlinDatabases/databaseName1002/graphs/gremlinGraphName1002\",\r\n \"type\": \"Microsoft.DocumentDB/databaseAccounts/gremlinDatabases/graphs\",\r\n \"name\": \"gremlinGraphName1002\",\r\n \"properties\": {\r\n \"resource\": {\r\n \"id\": \"gremlinGraphName1002\",\r\n \"indexingPolicy\": {\r\n \"indexingMode\": \"consistent\",\r\n \"automatic\": true,\r\n \"includedPaths\": [\r\n {\r\n \"path\": \"/*\"\r\n }\r\n ],\r\n \"excludedPaths\": [\r\n {\r\n \"path\": \"/pathToNotIndex/*\"\r\n },\r\n {\r\n \"path\": \"/\\\"_etag\\\"/?\"\r\n }\r\n ],\r\n \"compositeIndexes\": [\r\n [\r\n {\r\n \"path\": \"/orderByPath1\",\r\n \"order\": \"ascending\"\r\n },\r\n {\r\n \"path\": \"/orderByPath2\",\r\n \"order\": \"descending\"\r\n }\r\n ],\r\n [\r\n {\r\n \"path\": \"/orderByPath3\",\r\n \"order\": \"ascending\"\r\n },\r\n {\r\n \"path\": \"/orderByPath4\",\r\n \"order\": \"descending\"\r\n }\r\n ]\r\n ]\r\n },\r\n \"partitionKey\": {\r\n \"paths\": [\r\n \"/address\"\r\n ],\r\n \"kind\": \"Hash\"\r\n },\r\n \"defaultTtl\": -1,\r\n \"uniqueKeyPolicy\": {\r\n \"uniqueKeys\": []\r\n },\r\n \"conflictResolutionPolicy\": {\r\n \"mode\": \"LastWriterWins\",\r\n \"conflictResolutionPath\": \"/_ts\",\r\n \"conflictResolutionProcedure\": \"\"\r\n },\r\n \"allowMaterializedViews\": false,\r\n \"geospatialConfig\": {\r\n \"type\": \"Geography\"\r\n },\r\n \"_rid\": \"9EkUAMq6vvQ=\",\r\n \"_ts\": 1619545830,\r\n \"_self\": \"dbs/9EkUAA==/colls/9EkUAMq6vvQ=/\",\r\n \"_etag\": \"\\\"00002f00-0000-0200-0000-60884ee60000\\\"\",\r\n \"_docs\": \"docs/\",\r\n \"_sprocs\": \"sprocs/\",\r\n \"_triggers\": \"triggers/\",\r\n \"_udfs\": \"udfs/\",\r\n \"_conflicts\": \"conflicts/\",\r\n \"statistics\": [\r\n {\r\n \"id\": \"0\",\r\n \"sizeInKB\": 0,\r\n \"documentCount\": 0,\r\n \"partitionKeys\": []\r\n }\r\n ]\r\n }\r\n }\r\n}", + "ResponseBody": "{\r\n \"id\": \"/subscriptions/259fbb24-9bcd-4cfc-865c-fc33b22fe38a/resourceGroups/CosmosDBResourceGroup3668/providers/Microsoft.DocumentDB/databaseAccounts/db4096/gremlinDatabases/databaseName1002/graphs/gremlinGraphName1002\",\r\n \"type\": \"Microsoft.DocumentDB/databaseAccounts/gremlinDatabases/graphs\",\r\n \"name\": \"gremlinGraphName1002\",\r\n \"properties\": {\r\n \"resource\": {\r\n \"id\": \"gremlinGraphName1002\",\r\n \"indexingPolicy\": {\r\n \"indexingMode\": \"consistent\",\r\n \"automatic\": true,\r\n \"includedPaths\": [\r\n {\r\n \"path\": \"/*\"\r\n }\r\n ],\r\n \"excludedPaths\": [\r\n {\r\n \"path\": \"/pathToNotIndex/*\"\r\n },\r\n {\r\n \"path\": \"/\\\"_etag\\\"/?\"\r\n }\r\n ],\r\n \"compositeIndexes\": [\r\n [\r\n {\r\n \"path\": \"/orderByPath1\",\r\n \"order\": \"ascending\"\r\n },\r\n {\r\n \"path\": \"/orderByPath2\",\r\n \"order\": \"descending\"\r\n }\r\n ],\r\n [\r\n {\r\n \"path\": \"/orderByPath3\",\r\n \"order\": \"ascending\"\r\n },\r\n {\r\n \"path\": \"/orderByPath4\",\r\n \"order\": \"descending\"\r\n }\r\n ]\r\n ]\r\n },\r\n \"partitionKey\": {\r\n \"paths\": [\r\n \"/address\"\r\n ],\r\n \"kind\": \"Hash\"\r\n },\r\n \"defaultTtl\": -1,\r\n \"uniqueKeyPolicy\": {\r\n \"uniqueKeys\": []\r\n },\r\n \"conflictResolutionPolicy\": {\r\n \"mode\": \"LastWriterWins\",\r\n \"conflictResolutionPath\": \"/_ts\",\r\n \"conflictResolutionProcedure\": \"\"\r\n },\r\n \"allowMaterializedViews\": false,\r\n \"geospatialConfig\": {\r\n \"type\": \"Geography\"\r\n },\r\n \"_rid\": \"sYJ4AOkirhU=\",\r\n \"_ts\": 1623822492,\r\n \"_self\": \"dbs/sYJ4AA==/colls/sYJ4AOkirhU=/\",\r\n \"_etag\": \"\\\"00004006-0000-0200-0000-60c9909c0000\\\"\",\r\n \"_docs\": \"docs/\",\r\n \"_sprocs\": \"sprocs/\",\r\n \"_triggers\": \"triggers/\",\r\n \"_udfs\": \"udfs/\",\r\n \"_conflicts\": \"conflicts/\",\r\n \"statistics\": [\r\n {\r\n \"id\": \"0\",\r\n \"sizeInKB\": 0,\r\n \"documentCount\": 0,\r\n \"partitionKeys\": []\r\n }\r\n ]\r\n }\r\n }\r\n}", "StatusCode": 200 }, { - "RequestUri": "/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/resourceGroups/CosmosDBResourceGroup3668/providers/Microsoft.DocumentDB/databaseAccounts/db4096/gremlinDatabases/databaseName1002/graphs?api-version=2021-04-15", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvODBiZTM5NjEtMDUyMS00YTBhLTg1NzAtNWNkNWE0ZTJmOThjL3Jlc291cmNlR3JvdXBzL0Nvc21vc0RCUmVzb3VyY2VHcm91cDM2NjgvcHJvdmlkZXJzL01pY3Jvc29mdC5Eb2N1bWVudERCL2RhdGFiYXNlQWNjb3VudHMvZGI0MDk2L2dyZW1saW5EYXRhYmFzZXMvZGF0YWJhc2VOYW1lMTAwMi9ncmFwaHM/YXBpLXZlcnNpb249MjAyMS0wNC0xNQ==", + "RequestUri": "/subscriptions/259fbb24-9bcd-4cfc-865c-fc33b22fe38a/resourceGroups/CosmosDBResourceGroup3668/providers/Microsoft.DocumentDB/databaseAccounts/db4096/gremlinDatabases/databaseName1002/graphs?api-version=2021-06-15", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMjU5ZmJiMjQtOWJjZC00Y2ZjLTg2NWMtZmMzM2IyMmZlMzhhL3Jlc291cmNlR3JvdXBzL0Nvc21vc0RCUmVzb3VyY2VHcm91cDM2NjgvcHJvdmlkZXJzL01pY3Jvc29mdC5Eb2N1bWVudERCL2RhdGFiYXNlQWNjb3VudHMvZGI0MDk2L2dyZW1saW5EYXRhYmFzZXMvZGF0YWJhc2VOYW1lMTAwMi9ncmFwaHM/YXBpLXZlcnNpb249MjAyMS0wNi0xNQ==", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { "x-ms-client-request-id": [ - "bd87f071-1101-4325-9d06-82d0e523045c" + "3d28f9d2-1684-41c7-b49d-c3ba246c2f84" ], "Accept-Language": [ "en-US" ], "User-Agent": [ - "FxVersion/4.6.29916.01", + "FxVersion/4.6.28207.03", "OSName/Windows", - "OSVersion/Microsoft.Windows.10.0.19042.", + "OSVersion/Microsoft.Windows.10.0.19043.", "Microsoft.Azure.Management.CosmosDB.CosmosDBManagementClient/3.0.0.0" ] }, @@ -846,7 +846,7 @@ "max-age=31536000; includeSubDomains" ], "x-ms-gatewayversion": [ - "version=2.11.0" + "version=2.14.0" ], "Server": [ "Microsoft-HTTPAPI/2.0" @@ -855,19 +855,19 @@ "11990" ], "x-ms-request-id": [ - "3783fa7f-b492-40ed-af27-0fd164ab73f6" + "349369fd-8c48-4162-9592-103092ab8b6f" ], "x-ms-correlation-request-id": [ - "3783fa7f-b492-40ed-af27-0fd164ab73f6" + "349369fd-8c48-4162-9592-103092ab8b6f" ], "x-ms-routing-request-id": [ - "WESTCENTRALUS:20210427T175053Z:3783fa7f-b492-40ed-af27-0fd164ab73f6" + "WESTUS2:20210616T054837Z:349369fd-8c48-4162-9592-103092ab8b6f" ], "X-Content-Type-Options": [ "nosniff" ], "Date": [ - "Tue, 27 Apr 2021 17:50:52 GMT" + "Wed, 16 Jun 2021 05:48:36 GMT" ], "Content-Length": [ "1289" @@ -876,12 +876,12 @@ "application/json" ] }, - "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/resourceGroups/CosmosDBResourceGroup3668/providers/Microsoft.DocumentDB/databaseAccounts/db4096/gremlinDatabases/databaseName1002/graphs/gremlinGraphName1002\",\r\n \"type\": \"Microsoft.DocumentDB/databaseAccounts/gremlinDatabases/graphs\",\r\n \"name\": \"gremlinGraphName1002\",\r\n \"properties\": {\r\n \"resource\": {\r\n \"id\": \"gremlinGraphName1002\",\r\n \"indexingPolicy\": {\r\n \"indexingMode\": \"consistent\",\r\n \"automatic\": true,\r\n \"includedPaths\": [\r\n {\r\n \"path\": \"/*\"\r\n }\r\n ],\r\n \"excludedPaths\": [\r\n {\r\n \"path\": \"/pathToNotIndex/*\"\r\n },\r\n {\r\n \"path\": \"/\\\"_etag\\\"/?\"\r\n }\r\n ],\r\n \"compositeIndexes\": [\r\n [\r\n {\r\n \"path\": \"/orderByPath1\",\r\n \"order\": \"ascending\"\r\n },\r\n {\r\n \"path\": \"/orderByPath2\",\r\n \"order\": \"descending\"\r\n }\r\n ],\r\n [\r\n {\r\n \"path\": \"/orderByPath3\",\r\n \"order\": \"ascending\"\r\n },\r\n {\r\n \"path\": \"/orderByPath4\",\r\n \"order\": \"descending\"\r\n }\r\n ]\r\n ]\r\n },\r\n \"partitionKey\": {\r\n \"paths\": [\r\n \"/address\"\r\n ],\r\n \"kind\": \"Hash\"\r\n },\r\n \"defaultTtl\": -1,\r\n \"uniqueKeyPolicy\": {\r\n \"uniqueKeys\": []\r\n },\r\n \"conflictResolutionPolicy\": {\r\n \"mode\": \"LastWriterWins\",\r\n \"conflictResolutionPath\": \"/_ts\",\r\n \"conflictResolutionProcedure\": \"\"\r\n },\r\n \"allowMaterializedViews\": false,\r\n \"geospatialConfig\": {\r\n \"type\": \"Geography\"\r\n },\r\n \"_rid\": \"9EkUAMq6vvQ=\",\r\n \"_ts\": 1619545830,\r\n \"_self\": \"dbs/9EkUAA==/colls/9EkUAMq6vvQ=/\",\r\n \"_etag\": \"\\\"00002f00-0000-0200-0000-60884ee60000\\\"\",\r\n \"_docs\": \"docs/\",\r\n \"_sprocs\": \"sprocs/\",\r\n \"_triggers\": \"triggers/\",\r\n \"_udfs\": \"udfs/\",\r\n \"_conflicts\": \"conflicts/\"\r\n }\r\n }\r\n }\r\n ]\r\n}", + "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/subscriptions/259fbb24-9bcd-4cfc-865c-fc33b22fe38a/resourceGroups/CosmosDBResourceGroup3668/providers/Microsoft.DocumentDB/databaseAccounts/db4096/gremlinDatabases/databaseName1002/graphs/gremlinGraphName1002\",\r\n \"type\": \"Microsoft.DocumentDB/databaseAccounts/gremlinDatabases/graphs\",\r\n \"name\": \"gremlinGraphName1002\",\r\n \"properties\": {\r\n \"resource\": {\r\n \"id\": \"gremlinGraphName1002\",\r\n \"indexingPolicy\": {\r\n \"indexingMode\": \"consistent\",\r\n \"automatic\": true,\r\n \"includedPaths\": [\r\n {\r\n \"path\": \"/*\"\r\n }\r\n ],\r\n \"excludedPaths\": [\r\n {\r\n \"path\": \"/pathToNotIndex/*\"\r\n },\r\n {\r\n \"path\": \"/\\\"_etag\\\"/?\"\r\n }\r\n ],\r\n \"compositeIndexes\": [\r\n [\r\n {\r\n \"path\": \"/orderByPath1\",\r\n \"order\": \"ascending\"\r\n },\r\n {\r\n \"path\": \"/orderByPath2\",\r\n \"order\": \"descending\"\r\n }\r\n ],\r\n [\r\n {\r\n \"path\": \"/orderByPath3\",\r\n \"order\": \"ascending\"\r\n },\r\n {\r\n \"path\": \"/orderByPath4\",\r\n \"order\": \"descending\"\r\n }\r\n ]\r\n ]\r\n },\r\n \"partitionKey\": {\r\n \"paths\": [\r\n \"/address\"\r\n ],\r\n \"kind\": \"Hash\"\r\n },\r\n \"defaultTtl\": -1,\r\n \"uniqueKeyPolicy\": {\r\n \"uniqueKeys\": []\r\n },\r\n \"conflictResolutionPolicy\": {\r\n \"mode\": \"LastWriterWins\",\r\n \"conflictResolutionPath\": \"/_ts\",\r\n \"conflictResolutionProcedure\": \"\"\r\n },\r\n \"allowMaterializedViews\": false,\r\n \"geospatialConfig\": {\r\n \"type\": \"Geography\"\r\n },\r\n \"_rid\": \"sYJ4AOkirhU=\",\r\n \"_ts\": 1623822492,\r\n \"_self\": \"dbs/sYJ4AA==/colls/sYJ4AOkirhU=/\",\r\n \"_etag\": \"\\\"00004006-0000-0200-0000-60c9909c0000\\\"\",\r\n \"_docs\": \"docs/\",\r\n \"_sprocs\": \"sprocs/\",\r\n \"_triggers\": \"triggers/\",\r\n \"_udfs\": \"udfs/\",\r\n \"_conflicts\": \"conflicts/\"\r\n }\r\n }\r\n }\r\n ]\r\n}", "StatusCode": 200 } ], "Names": {}, "Variables": { - "SubscriptionId": "80be3961-0521-4a0a-8570-5cd5a4e2f98c" + "SubscriptionId": "259fbb24-9bcd-4cfc-865c-fc33b22fe38a" } } \ No newline at end of file diff --git a/sdk/cosmosdb/Microsoft.Azure.Management.CosmosDB/tests/SessionRecords/ManagedCassandraResourcesOperationsTests/ManagedCassandraCRUDTests.json b/sdk/cosmosdb/Microsoft.Azure.Management.CosmosDB/tests/SessionRecords/ManagedCassandraResourcesOperationsTests/ManagedCassandraCRUDTests.json deleted file mode 100644 index 4c723d602fb5..000000000000 --- a/sdk/cosmosdb/Microsoft.Azure.Management.CosmosDB/tests/SessionRecords/ManagedCassandraResourcesOperationsTests/ManagedCassandraCRUDTests.json +++ /dev/null @@ -1,3877 +0,0 @@ -{ - "Entries": [ - { - "RequestUri": "/subscriptions/dd31ecae-4522-468e-8b27-5befd051dd53/resourcegroups/CosmosDBResourceGroup9148?api-version=2015-11-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZGQzMWVjYWUtNDUyMi00NjhlLThiMjctNWJlZmQwNTFkZDUzL3Jlc291cmNlZ3JvdXBzL0Nvc21vc0RCUmVzb3VyY2VHcm91cDkxNDg/YXBpLXZlcnNpb249MjAxNS0xMS0wMQ==", - "RequestMethod": "HEAD", - "RequestBody": "", - "RequestHeaders": { - "x-ms-client-request-id": [ - "e421bb23-6616-4455-8b7e-2e299fec58b0" - ], - "Accept-Language": [ - "en-US" - ], - "User-Agent": [ - "FxVersion/4.6.28207.03", - "OSName/Windows", - "OSVersion/Microsoft.Windows.10.0.19042.", - "Microsoft.Azure.Management.Resources.ResourceManagementClient/1.0.0.0" - ] - }, - "ResponseHeaders": { - "Cache-Control": [ - "no-cache" - ], - "Pragma": [ - "no-cache" - ], - "x-ms-failure-cause": [ - "gateway" - ], - "x-ms-ratelimit-remaining-subscription-reads": [ - "11999" - ], - "x-ms-request-id": [ - "023d12d2-9002-44ed-a677-8c0079085825" - ], - "x-ms-correlation-request-id": [ - "023d12d2-9002-44ed-a677-8c0079085825" - ], - "x-ms-routing-request-id": [ - "WESTUS2:20210304T173201Z:023d12d2-9002-44ed-a677-8c0079085825" - ], - "Strict-Transport-Security": [ - "max-age=31536000; includeSubDomains" - ], - "X-Content-Type-Options": [ - "nosniff" - ], - "Date": [ - "Thu, 04 Mar 2021 17:32:00 GMT" - ], - "Content-Length": [ - "117" - ], - "Content-Type": [ - "application/json; charset=utf-8" - ], - "Expires": [ - "-1" - ] - }, - "ResponseBody": "", - "StatusCode": 404 - }, - { - "RequestUri": "/subscriptions/dd31ecae-4522-468e-8b27-5befd051dd53/resourcegroups/CosmosDBResourceGroup9148?api-version=2015-11-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZGQzMWVjYWUtNDUyMi00NjhlLThiMjctNWJlZmQwNTFkZDUzL3Jlc291cmNlZ3JvdXBzL0Nvc21vc0RCUmVzb3VyY2VHcm91cDkxNDg/YXBpLXZlcnNpb249MjAxNS0xMS0wMQ==", - "RequestMethod": "PUT", - "RequestBody": "{\r\n \"location\": \"eastus2\"\r\n}", - "RequestHeaders": { - "x-ms-client-request-id": [ - "e5a75cb0-e90c-4eae-a16a-049753d30d13" - ], - "Accept-Language": [ - "en-US" - ], - "User-Agent": [ - "FxVersion/4.6.28207.03", - "OSName/Windows", - "OSVersion/Microsoft.Windows.10.0.19042.", - "Microsoft.Azure.Management.Resources.ResourceManagementClient/1.0.0.0" - ], - "Content-Type": [ - "application/json; charset=utf-8" - ], - "Content-Length": [ - "29" - ] - }, - "ResponseHeaders": { - "Cache-Control": [ - "no-cache" - ], - "Pragma": [ - "no-cache" - ], - "x-ms-ratelimit-remaining-subscription-writes": [ - "1199" - ], - "x-ms-request-id": [ - "435a3874-530d-4e10-aa03-2a98232343e6" - ], - "x-ms-correlation-request-id": [ - "435a3874-530d-4e10-aa03-2a98232343e6" - ], - "x-ms-routing-request-id": [ - "WESTUS2:20210304T173202Z:435a3874-530d-4e10-aa03-2a98232343e6" - ], - "Strict-Transport-Security": [ - "max-age=31536000; includeSubDomains" - ], - "X-Content-Type-Options": [ - "nosniff" - ], - "Date": [ - "Thu, 04 Mar 2021 17:32:02 GMT" - ], - "Content-Length": [ - "204" - ], - "Content-Type": [ - "application/json; charset=utf-8" - ], - "Expires": [ - "-1" - ] - }, - "ResponseBody": "{\r\n \"id\": \"/subscriptions/dd31ecae-4522-468e-8b27-5befd051dd53/resourceGroups/CosmosDBResourceGroup9148\",\r\n \"name\": \"CosmosDBResourceGroup9148\",\r\n \"location\": \"eastus2\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n}", - "StatusCode": 201 - }, - { - "RequestUri": "/subscriptions/dd31ecae-4522-468e-8b27-5befd051dd53/resourcegroups/CosmosDBResourceGroup9148/providers/Microsoft.Resources/deployments/vnet-deployment?api-version=2015-11-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZGQzMWVjYWUtNDUyMi00NjhlLThiMjctNWJlZmQwNTFkZDUzL3Jlc291cmNlZ3JvdXBzL0Nvc21vc0RCUmVzb3VyY2VHcm91cDkxNDgvcHJvdmlkZXJzL01pY3Jvc29mdC5SZXNvdXJjZXMvZGVwbG95bWVudHMvdm5ldC1kZXBsb3ltZW50P2FwaS12ZXJzaW9uPTIwMTUtMTEtMDE=", - "RequestMethod": "PUT", - "RequestBody": "{\r\n \"properties\": {\r\n \"template\": {\r\n \"$schema\": \"https://schema.management.azure.com/schemas/2019-04-01/deploymentTemplate.json#\",\r\n \"contentVersion\": \"1.0.0.0\",\r\n \"parameters\": {\r\n \"vnetName\": {\r\n \"type\": \"string\",\r\n \"metadata\": {\r\n \"description\": \"The name for the virtual network to create.\"\r\n }\r\n }\r\n },\r\n \"variables\": {\r\n \"subnetName\": \"cassandra-subnet\",\r\n \"subnetId\": \"[resourceId('Microsoft.Network/virtualNetworks/subnets', parameters('vnetName'), variables('subnetName'))]\",\r\n \"cosmosDbPrincipalId\": \"e5007d2c-4b13-4a74-9b6a-605d99f03501\",\r\n \"networkContributorRoleId\": \"[concat('/subscriptions/', subscription().subscriptionId, '/providers/Microsoft.Authorization/roleDefinitions/', '4d97b98b-1d4f-4787-a291-c67834d212e7')]\"\r\n },\r\n \"resources\": [\r\n {\r\n \"type\": \"Microsoft.Network/virtualNetworks\",\r\n \"name\": \"[parameters('vnetName')]\",\r\n \"location\": \"[resourceGroup().location]\",\r\n \"apiVersion\": \"2020-07-01\",\r\n \"properties\": {\r\n \"addressSpace\": {\r\n \"addressPrefixes\": [\r\n \"10.0.0.0/16\"\r\n ]\r\n },\r\n \"subnets\": [\r\n {\r\n \"name\": \"[variables('subnetName')]\",\r\n \"properties\": {\r\n \"addressPrefix\": \"10.0.0.0/24\"\r\n }\r\n }\r\n ]\r\n }\r\n },\r\n {\r\n \"type\": \"Microsoft.Network/virtualNetworks/providers/roleAssignments\",\r\n \"apiVersion\": \"2020-04-01-preview\",\r\n \"name\": \"[concat(parameters('vnetName'), '/Microsoft.Authorization/', guid(concat('add-cosmosdb-contributor',resourceGroup().id,parameters('vnetName'))))]\",\r\n \"dependsOn\": [\r\n \"[parameters('vnetName')]\"\r\n ],\r\n \"properties\": {\r\n \"scope\": \"[resourceId('Microsoft.Network/virtualNetworks/', parameters('vnetName'))]\",\r\n \"roleDefinitionId\": \"[variables('networkContributorRoleId')]\",\r\n \"principalId\": \"[variables('cosmosDbPrincipalId')]\",\r\n \"principalType\": \"ServicePrincipal\",\r\n \"description\": \"Allow Azure CosmosDB to attach NICs to this virtual network.\"\r\n }\r\n }\r\n ],\r\n \"outputs\": {\r\n \"SubnetId\": {\r\n \"type\": \"string\",\r\n \"value\": \"[variables('subnetId')]\"\r\n }\r\n }\r\n },\r\n \"parameters\": {\r\n \"vnetName\": {\r\n \"value\": \"CosmosDBVirtualNetwork840\"\r\n }\r\n },\r\n \"mode\": \"Incremental\"\r\n }\r\n}", - "RequestHeaders": { - "x-ms-client-request-id": [ - "493b7e06-d376-43d1-92c7-d0a964fe9c30" - ], - "Accept-Language": [ - "en-US" - ], - "User-Agent": [ - "FxVersion/4.6.28207.03", - "OSName/Windows", - "OSVersion/Microsoft.Windows.10.0.19042.", - "Microsoft.Azure.Management.Resources.ResourceManagementClient/1.0.0.0" - ], - "Content-Type": [ - "application/json; charset=utf-8" - ], - "Content-Length": [ - "2615" - ] - }, - "ResponseHeaders": { - "Cache-Control": [ - "no-cache" - ], - "Pragma": [ - "no-cache" - ], - "Azure-AsyncOperation": [ - "https://management.azure.com/subscriptions/dd31ecae-4522-468e-8b27-5befd051dd53/resourcegroups/CosmosDBResourceGroup9148/providers/Microsoft.Resources/deployments/vnet-deployment/operationStatuses/08585867277621131734?api-version=2015-11-01" - ], - "x-ms-ratelimit-remaining-subscription-writes": [ - "1198" - ], - "x-ms-request-id": [ - "42f9cc8a-84d1-430c-b4a0-02e1e68e4d37" - ], - "x-ms-correlation-request-id": [ - "42f9cc8a-84d1-430c-b4a0-02e1e68e4d37" - ], - "x-ms-routing-request-id": [ - "WESTUS2:20210304T173204Z:42f9cc8a-84d1-430c-b4a0-02e1e68e4d37" - ], - "Strict-Transport-Security": [ - "max-age=31536000; includeSubDomains" - ], - "X-Content-Type-Options": [ - "nosniff" - ], - "Date": [ - "Thu, 04 Mar 2021 17:32:04 GMT" - ], - "Content-Length": [ - "1434" - ], - "Content-Type": [ - "application/json; charset=utf-8" - ], - "Expires": [ - "-1" - ] - }, - "ResponseBody": "{\r\n \"id\": \"/subscriptions/dd31ecae-4522-468e-8b27-5befd051dd53/resourceGroups/CosmosDBResourceGroup9148/providers/Microsoft.Resources/deployments/vnet-deployment\",\r\n \"name\": \"vnet-deployment\",\r\n \"properties\": {\r\n \"templateHash\": \"2193819948344295874\",\r\n \"parameters\": {\r\n \"vnetName\": {\r\n \"type\": \"String\",\r\n \"value\": \"CosmosDBVirtualNetwork840\"\r\n }\r\n },\r\n \"mode\": \"Incremental\",\r\n \"provisioningState\": \"Accepted\",\r\n \"timestamp\": \"2021-03-04T17:32:04.3626743Z\",\r\n \"duration\": \"PT0.9982136S\",\r\n \"correlationId\": \"42f9cc8a-84d1-430c-b4a0-02e1e68e4d37\",\r\n \"providers\": [\r\n {\r\n \"namespace\": \"Microsoft.Network\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"virtualNetworks\",\r\n \"locations\": [\r\n \"eastus2\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"virtualNetworks/providers/roleAssignments\",\r\n \"locations\": [\r\n null\r\n ]\r\n }\r\n ]\r\n }\r\n ],\r\n \"dependencies\": [\r\n {\r\n \"dependsOn\": [\r\n {\r\n \"id\": \"/subscriptions/dd31ecae-4522-468e-8b27-5befd051dd53/resourceGroups/CosmosDBResourceGroup9148/providers/Microsoft.Network/virtualNetworks/CosmosDBVirtualNetwork840\",\r\n \"resourceType\": \"Microsoft.Network/virtualNetworks\",\r\n \"resourceName\": \"CosmosDBVirtualNetwork840\"\r\n }\r\n ],\r\n \"id\": \"/subscriptions/dd31ecae-4522-468e-8b27-5befd051dd53/resourceGroups/CosmosDBResourceGroup9148/providers/Microsoft.Network/virtualNetworks/CosmosDBVirtualNetwork840/providers/Microsoft.Authorization/roleAssignments/e70fb779-f3dc-5fb5-98a6-e7e9f1644c4f\",\r\n \"resourceType\": \"Microsoft.Network/virtualNetworks/providers/roleAssignments\",\r\n \"resourceName\": \"CosmosDBVirtualNetwork840/Microsoft.Authorization/e70fb779-f3dc-5fb5-98a6-e7e9f1644c4f\"\r\n }\r\n ]\r\n }\r\n}", - "StatusCode": 201 - }, - { - "RequestUri": "/subscriptions/dd31ecae-4522-468e-8b27-5befd051dd53/resourcegroups/CosmosDBResourceGroup9148/providers/Microsoft.Resources/deployments/vnet-deployment/operationStatuses/08585867277621131734?api-version=2015-11-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZGQzMWVjYWUtNDUyMi00NjhlLThiMjctNWJlZmQwNTFkZDUzL3Jlc291cmNlZ3JvdXBzL0Nvc21vc0RCUmVzb3VyY2VHcm91cDkxNDgvcHJvdmlkZXJzL01pY3Jvc29mdC5SZXNvdXJjZXMvZGVwbG95bWVudHMvdm5ldC1kZXBsb3ltZW50L29wZXJhdGlvblN0YXR1c2VzLzA4NTg1ODY3Mjc3NjIxMTMxNzM0P2FwaS12ZXJzaW9uPTIwMTUtMTEtMDE=", - "RequestMethod": "GET", - "RequestBody": "", - "RequestHeaders": { - "User-Agent": [ - "FxVersion/4.6.28207.03", - "OSName/Windows", - "OSVersion/Microsoft.Windows.10.0.19042.", - "Microsoft.Azure.Management.Resources.ResourceManagementClient/1.0.0.0" - ] - }, - "ResponseHeaders": { - "Cache-Control": [ - "no-cache" - ], - "Pragma": [ - "no-cache" - ], - "x-ms-ratelimit-remaining-subscription-reads": [ - "11998" - ], - "x-ms-request-id": [ - "e0ad81a5-495a-497e-9abf-88e5c48771c0" - ], - "x-ms-correlation-request-id": [ - "e0ad81a5-495a-497e-9abf-88e5c48771c0" - ], - "x-ms-routing-request-id": [ - "WESTUS2:20210304T173235Z:e0ad81a5-495a-497e-9abf-88e5c48771c0" - ], - "Strict-Transport-Security": [ - "max-age=31536000; includeSubDomains" - ], - "X-Content-Type-Options": [ - "nosniff" - ], - "Date": [ - "Thu, 04 Mar 2021 17:32:34 GMT" - ], - "Content-Type": [ - "application/json; charset=utf-8" - ], - "Expires": [ - "-1" - ], - "Content-Length": [ - "22" - ] - }, - "ResponseBody": "{\r\n \"status\": \"Succeeded\"\r\n}", - "StatusCode": 200 - }, - { - "RequestUri": "/subscriptions/dd31ecae-4522-468e-8b27-5befd051dd53/resourcegroups/CosmosDBResourceGroup9148/providers/Microsoft.Resources/deployments/vnet-deployment?api-version=2015-11-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZGQzMWVjYWUtNDUyMi00NjhlLThiMjctNWJlZmQwNTFkZDUzL3Jlc291cmNlZ3JvdXBzL0Nvc21vc0RCUmVzb3VyY2VHcm91cDkxNDgvcHJvdmlkZXJzL01pY3Jvc29mdC5SZXNvdXJjZXMvZGVwbG95bWVudHMvdm5ldC1kZXBsb3ltZW50P2FwaS12ZXJzaW9uPTIwMTUtMTEtMDE=", - "RequestMethod": "GET", - "RequestBody": "", - "RequestHeaders": { - "User-Agent": [ - "FxVersion/4.6.28207.03", - "OSName/Windows", - "OSVersion/Microsoft.Windows.10.0.19042.", - "Microsoft.Azure.Management.Resources.ResourceManagementClient/1.0.0.0" - ] - }, - "ResponseHeaders": { - "Cache-Control": [ - "no-cache" - ], - "Pragma": [ - "no-cache" - ], - "x-ms-ratelimit-remaining-subscription-reads": [ - "11997" - ], - "x-ms-request-id": [ - "b1c297a2-9338-4031-b55b-a7ac703b042a" - ], - "x-ms-correlation-request-id": [ - "b1c297a2-9338-4031-b55b-a7ac703b042a" - ], - "x-ms-routing-request-id": [ - "WESTUS2:20210304T173235Z:b1c297a2-9338-4031-b55b-a7ac703b042a" - ], - "Strict-Transport-Security": [ - "max-age=31536000; includeSubDomains" - ], - "X-Content-Type-Options": [ - "nosniff" - ], - "Date": [ - "Thu, 04 Mar 2021 17:32:34 GMT" - ], - "Content-Type": [ - "application/json; charset=utf-8" - ], - "Expires": [ - "-1" - ], - "Content-Length": [ - "1920" - ] - }, - "ResponseBody": "{\r\n \"id\": \"/subscriptions/dd31ecae-4522-468e-8b27-5befd051dd53/resourceGroups/CosmosDBResourceGroup9148/providers/Microsoft.Resources/deployments/vnet-deployment\",\r\n \"name\": \"vnet-deployment\",\r\n \"properties\": {\r\n \"templateHash\": \"2193819948344295874\",\r\n \"parameters\": {\r\n \"vnetName\": {\r\n \"type\": \"String\",\r\n \"value\": \"CosmosDBVirtualNetwork840\"\r\n }\r\n },\r\n \"mode\": \"Incremental\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"timestamp\": \"2021-03-04T17:32:14.0142582Z\",\r\n \"duration\": \"PT10.6497975S\",\r\n \"correlationId\": \"42f9cc8a-84d1-430c-b4a0-02e1e68e4d37\",\r\n \"providers\": [\r\n {\r\n \"namespace\": \"Microsoft.Network\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"virtualNetworks\",\r\n \"locations\": [\r\n \"eastus2\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"virtualNetworks/providers/roleAssignments\",\r\n \"locations\": [\r\n null\r\n ]\r\n }\r\n ]\r\n }\r\n ],\r\n \"dependencies\": [\r\n {\r\n \"dependsOn\": [\r\n {\r\n \"id\": \"/subscriptions/dd31ecae-4522-468e-8b27-5befd051dd53/resourceGroups/CosmosDBResourceGroup9148/providers/Microsoft.Network/virtualNetworks/CosmosDBVirtualNetwork840\",\r\n \"resourceType\": \"Microsoft.Network/virtualNetworks\",\r\n \"resourceName\": \"CosmosDBVirtualNetwork840\"\r\n }\r\n ],\r\n \"id\": \"/subscriptions/dd31ecae-4522-468e-8b27-5befd051dd53/resourceGroups/CosmosDBResourceGroup9148/providers/Microsoft.Network/virtualNetworks/CosmosDBVirtualNetwork840/providers/Microsoft.Authorization/roleAssignments/e70fb779-f3dc-5fb5-98a6-e7e9f1644c4f\",\r\n \"resourceType\": \"Microsoft.Network/virtualNetworks/providers/roleAssignments\",\r\n \"resourceName\": \"CosmosDBVirtualNetwork840/Microsoft.Authorization/e70fb779-f3dc-5fb5-98a6-e7e9f1644c4f\"\r\n }\r\n ],\r\n \"outputs\": {\r\n \"subnetId\": {\r\n \"type\": \"String\",\r\n \"value\": \"/subscriptions/dd31ecae-4522-468e-8b27-5befd051dd53/resourceGroups/CosmosDBResourceGroup9148/providers/Microsoft.Network/virtualNetworks/CosmosDBVirtualNetwork840/subnets/cassandra-subnet\"\r\n }\r\n },\r\n \"outputResources\": [\r\n {\r\n \"id\": \"Microsoft.Network/virtualNetworks/CosmosDBVirtualNetwork840\"\r\n },\r\n {\r\n \"id\": \"Microsoft.Network/virtualNetworks/CosmosDBVirtualNetwork840/providers/Microsoft.Authorization/roleAssignments/e70fb779-f3dc-5fb5-98a6-e7e9f1644c4f\"\r\n }\r\n ]\r\n }\r\n}", - "StatusCode": 200 - }, - { - "RequestUri": "/subscriptions/dd31ecae-4522-468e-8b27-5befd051dd53/resourceGroups/CosmosDBResourceGroup9148/providers/Microsoft.DocumentDB/cassandraClusters/managedcluster54?api-version=2021-03-01-preview", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZGQzMWVjYWUtNDUyMi00NjhlLThiMjctNWJlZmQwNTFkZDUzL3Jlc291cmNlR3JvdXBzL0Nvc21vc0RCUmVzb3VyY2VHcm91cDkxNDgvcHJvdmlkZXJzL01pY3Jvc29mdC5Eb2N1bWVudERCL2Nhc3NhbmRyYUNsdXN0ZXJzL21hbmFnZWRjbHVzdGVyNTQ/YXBpLXZlcnNpb249MjAyMS0wMy0wMS1wcmV2aWV3", - "RequestMethod": "PUT", - "RequestBody": "{\r\n \"properties\": {\r\n \"delegatedManagementSubnetId\": \"/subscriptions/dd31ecae-4522-468e-8b27-5befd051dd53/resourceGroups/CosmosDBResourceGroup9148/providers/Microsoft.Network/virtualNetworks/CosmosDBVirtualNetwork840/subnets/cassandra-subnet\",\r\n \"initialCassandraAdminPassword\": \"password\",\r\n \"externalSeedNodes\": [\r\n {\r\n \"ipAddress\": \"10.0.1.1\"\r\n }\r\n ]\r\n },\r\n \"location\": \"East US 2\"\r\n}", - "RequestHeaders": { - "x-ms-client-request-id": [ - "ae63a875-37c0-41a8-b978-d0f53cc2af83" - ], - "Accept-Language": [ - "en-US" - ], - "User-Agent": [ - "FxVersion/4.6.28207.03", - "OSName/Windows", - "OSVersion/Microsoft.Windows.10.0.19042.", - "Microsoft.Azure.Management.CosmosDB.CosmosDBManagementClient/2.1.0.0" - ], - "Content-Type": [ - "application/json; charset=utf-8" - ], - "Content-Length": [ - "419" - ] - }, - "ResponseHeaders": { - "Cache-Control": [ - "no-store, no-cache" - ], - "Pragma": [ - "no-cache" - ], - "Azure-AsyncOperation": [ - "https://management.azure.com/subscriptions/dd31ecae-4522-468e-8b27-5befd051dd53/providers/Microsoft.DocumentDB/locations/eastus2/operationsStatus/c413c3e3-0272-4a78-8bb5-3ba9a72c3311?api-version=2021-03-01-preview" - ], - "x-ms-request-id": [ - "c413c3e3-0272-4a78-8bb5-3ba9a72c3311" - ], - "Strict-Transport-Security": [ - "max-age=31536000; includeSubDomains" - ], - "x-ms-gatewayversion": [ - "version=2.11.0" - ], - "Server": [ - "Microsoft-HTTPAPI/2.0" - ], - "x-ms-ratelimit-remaining-subscription-writes": [ - "1199" - ], - "x-ms-correlation-request-id": [ - "25e6d24c-3fa4-45ac-8a0c-a0c75b7d0ac2" - ], - "x-ms-routing-request-id": [ - "WESTUS2:20210304T173239Z:25e6d24c-3fa4-45ac-8a0c-a0c75b7d0ac2" - ], - "X-Content-Type-Options": [ - "nosniff" - ], - "Date": [ - "Thu, 04 Mar 2021 17:32:39 GMT" - ], - "Content-Length": [ - "806" - ], - "Content-Type": [ - "application/json" - ] - }, - "ResponseBody": "{\r\n \"id\": \"/subscriptions/dd31ecae-4522-468e-8b27-5befd051dd53/resourceGroups/CosmosDBResourceGroup9148/providers/Microsoft.DocumentDB/cassandraClusters/managedcluster54\",\r\n \"name\": \"managedcluster54\",\r\n \"type\": \"Microsoft.DocumentDB/cassandraClusters\",\r\n \"location\": \"East US 2\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"provisioningState\": \"Creating\",\r\n \"delegatedManagementSubnetId\": \"/subscriptions/dd31ecae-4522-468e-8b27-5befd051dd53/resourceGroups/CosmosDBResourceGroup9148/providers/Microsoft.Network/virtualNetworks/CosmosDBVirtualNetwork840/subnets/cassandra-subnet\",\r\n \"clusterNameOverride\": \"managedcluster54\",\r\n \"authenticationMethod\": \"Cassandra\",\r\n \"hoursBetweenBackups\": 0,\r\n \"clientCertificates\": [],\r\n \"externalGossipCertificates\": [],\r\n \"gossipCertificates\": [],\r\n \"externalSeedNodes\": [\r\n {\r\n \"ipAddress\": \"10.0.1.1\"\r\n }\r\n ],\r\n \"prometheusEndpoint\": {},\r\n \"seedNodes\": []\r\n }\r\n}", - "StatusCode": 201 - }, - { - "RequestUri": "/subscriptions/dd31ecae-4522-468e-8b27-5befd051dd53/resourceGroups/CosmosDBResourceGroup9148/providers/Microsoft.DocumentDB/cassandraClusters/managedcluster54?api-version=2021-03-01-preview", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZGQzMWVjYWUtNDUyMi00NjhlLThiMjctNWJlZmQwNTFkZDUzL3Jlc291cmNlR3JvdXBzL0Nvc21vc0RCUmVzb3VyY2VHcm91cDkxNDgvcHJvdmlkZXJzL01pY3Jvc29mdC5Eb2N1bWVudERCL2Nhc3NhbmRyYUNsdXN0ZXJzL21hbmFnZWRjbHVzdGVyNTQ/YXBpLXZlcnNpb249MjAyMS0wMy0wMS1wcmV2aWV3", - "RequestMethod": "PUT", - "RequestBody": "{\r\n \"properties\": {\r\n \"delegatedManagementSubnetId\": \"/subscriptions/dd31ecae-4522-468e-8b27-5befd051dd53/resourceGroups/CosmosDBResourceGroup9148/providers/Microsoft.Network/virtualNetworks/CosmosDBVirtualNetwork840/subnets/cassandra-subnet\",\r\n \"initialCassandraAdminPassword\": \"password\",\r\n \"externalSeedNodes\": [\r\n {\r\n \"ipAddress\": \"192.168.12.1\"\r\n }\r\n ]\r\n },\r\n \"location\": \"East US 2\"\r\n}", - "RequestHeaders": { - "x-ms-client-request-id": [ - "ab8014a1-ff1a-4ec8-a0d4-e1f6da272bfe" - ], - "Accept-Language": [ - "en-US" - ], - "User-Agent": [ - "FxVersion/4.6.28207.03", - "OSName/Windows", - "OSVersion/Microsoft.Windows.10.0.19042.", - "Microsoft.Azure.Management.CosmosDB.CosmosDBManagementClient/2.1.0.0" - ], - "Content-Type": [ - "application/json; charset=utf-8" - ], - "Content-Length": [ - "423" - ] - }, - "ResponseHeaders": { - "Cache-Control": [ - "no-store, no-cache" - ], - "Pragma": [ - "no-cache" - ], - "Azure-AsyncOperation": [ - "https://management.azure.com/subscriptions/dd31ecae-4522-468e-8b27-5befd051dd53/providers/Microsoft.DocumentDB/locations/eastus2/operationsStatus/2d44f18a-b9f8-4c4f-87ea-46c79d8c033c?api-version=2021-03-01-preview" - ], - "x-ms-request-id": [ - "2d44f18a-b9f8-4c4f-87ea-46c79d8c033c" - ], - "Strict-Transport-Security": [ - "max-age=31536000; includeSubDomains" - ], - "x-ms-gatewayversion": [ - "version=2.11.0" - ], - "Server": [ - "Microsoft-HTTPAPI/2.0" - ], - "x-ms-ratelimit-remaining-subscription-writes": [ - "1198" - ], - "x-ms-correlation-request-id": [ - "91d15380-a30e-46fa-bacb-f9c789a6b6ae" - ], - "x-ms-routing-request-id": [ - "WESTUS2:20210304T173641Z:91d15380-a30e-46fa-bacb-f9c789a6b6ae" - ], - "X-Content-Type-Options": [ - "nosniff" - ], - "Date": [ - "Thu, 04 Mar 2021 17:36:40 GMT" - ], - "Content-Length": [ - "8921" - ], - "Content-Type": [ - "application/json" - ] - }, - "ResponseBody": "{\r\n \"id\": \"/subscriptions/dd31ecae-4522-468e-8b27-5befd051dd53/resourceGroups/CosmosDBResourceGroup9148/providers/Microsoft.DocumentDB/cassandraClusters/managedcluster54\",\r\n \"name\": \"managedcluster54\",\r\n \"type\": \"Microsoft.DocumentDB/cassandraClusters\",\r\n \"location\": \"East US 2\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"delegatedManagementSubnetId\": \"/subscriptions/dd31ecae-4522-468e-8b27-5befd051dd53/resourceGroups/CosmosDBResourceGroup9148/providers/Microsoft.Network/virtualNetworks/CosmosDBVirtualNetwork840/subnets/cassandra-subnet\",\r\n \"clusterNameOverride\": \"managedcluster54\",\r\n \"authenticationMethod\": \"Cassandra\",\r\n \"hoursBetweenBackups\": 0,\r\n \"clientCertificates\": [],\r\n \"externalGossipCertificates\": [],\r\n \"gossipCertificates\": [\r\n {\r\n \"pem\": \"\\r\\n-----BEGIN CERTIFICATE-----\\r\\nMIIF8zCCBNugAwIBAgIQCq+mxcpjxFFB6jvh98dTFzANBgkqhkiG9w0BAQwFADBh\\r\\nMQswCQYDVQQGEwJVUzEVMBMGA1UEChMMRGlnaUNlcnQgSW5jMRkwFwYDVQQLExB3\\r\\nd3cuZGlnaWNlcnQuY29tMSAwHgYDVQQDExdEaWdpQ2VydCBHbG9iYWwgUm9vdCBH\\r\\nMjAeFw0yMDA3MjkxMjMwMDBaFw0yNDA2MjcyMzU5NTlaMFkxCzAJBgNVBAYTAlVT\\r\\nMR4wHAYDVQQKExVNaWNyb3NvZnQgQ29ycG9yYXRpb24xKjAoBgNVBAMTIU1pY3Jv\\r\\nc29mdCBBenVyZSBUTFMgSXNzdWluZyBDQSAwMTCCAiIwDQYJKoZIhvcNAQEBBQAD\\r\\nggIPADCCAgoCggIBAMedcDrkXufP7pxVm1FHLDNA9IjwHaMoaY8arqqZ4Gff4xyr\\r\\nRygnavXL7g12MPAx8Q6Dd9hfBzrfWxkF0Br2wIvlvkzW01naNVSkHp+OS3hL3W6n\\r\\nl/jYvZnVeJXjtsKYcXIf/6WtspcF5awlQ9LZJcjwaH7KoZuK+THpXCMtzD8XNVdm\\r\\nGW/JI0C/7U/E7evXn9XDio8SYkGSM63aLO5BtLCv092+1d4GGBSQYolRq+7Pd1kR\\r\\nEkWBPm0ywZ2Vb8GIS5DLrjelEkBnKCyy3B0yQud9dpVsiUeE7F5sY8Me96WVxQcb\\r\\nOyYdEY/j/9UpDlOG+vA+YgOvBhkKEjiqygVpP8EZoMMijephzg43b5Qi9r5UrvYo\\r\\no19oR/8pf4HJNDPF0/FJwFVMW8PmCBLGstin3NE1+NeWTkGt0TzpHjgKyfaDP2tO\\r\\n4bCk1G7pP2kDFT7SYfc8xbgCkFQ2UCEXsaH/f5YmpLn4YPiNFCeeIida7xnfTvc4\\r\\n7IxyVccHHq1FzGygOqemrxEETKh8hvDR6eBdrBwmCHVgZrnAqnn93JtGyPLi6+cj\\r\\nWGVGtMZHwzVvX1HvSFG771sskcEjJxiQNQDQRWHEh3NxvNb7kFlAXnVdRkkvhjpR\\r\\nGchFhTAzqmwltdWhWDEyCMKC2x/mSZvZtlZGY+g37Y72qHzidwtyW7rBetZJAgMB\\r\\nAAGjggGtMIIBqTAdBgNVHQ4EFgQUDyBd16FXlduSzyvQx8J3BM5ygHYwHwYDVR0j\\r\\nBBgwFoAUTiJUIBiV5uNu5g/6+rkS7QYXjzkwDgYDVR0PAQH/BAQDAgGGMB0GA1Ud\\r\\nJQQWMBQGCCsGAQUFBwMBBggrBgEFBQcDAjASBgNVHRMBAf8ECDAGAQH/AgEAMHYG\\r\\nCCsGAQUFBwEBBGowaDAkBggrBgEFBQcwAYYYaHR0cDovL29jc3AuZGlnaWNlcnQu\\r\\nY29tMEAGCCsGAQUFBzAChjRodHRwOi8vY2FjZXJ0cy5kaWdpY2VydC5jb20vRGln\\r\\naUNlcnRHbG9iYWxSb290RzIuY3J0MHsGA1UdHwR0MHIwN6A1oDOGMWh0dHA6Ly9j\\r\\ncmwzLmRpZ2ljZXJ0LmNvbS9EaWdpQ2VydEdsb2JhbFJvb3RHMi5jcmwwN6A1oDOG\\r\\nMWh0dHA6Ly9jcmw0LmRpZ2ljZXJ0LmNvbS9EaWdpQ2VydEdsb2JhbFJvb3RHMi5j\\r\\ncmwwHQYDVR0gBBYwFDAIBgZngQwBAgEwCAYGZ4EMAQICMBAGCSsGAQQBgjcVAQQD\\r\\nAgEAMA0GCSqGSIb3DQEBDAUAA4IBAQAlFvNh7QgXVLAZSsNR2XRmIn9iS8OHFCBA\\r\\nWxKJoi8YYQafpMTkMqeuzoL3HWb1pYEipsDkhiMnrpfeYZEA7Lz7yqEEtfgHcEBs\\r\\nK9KcStQGGZRfmWU07hPXHnFz+5gTXqzCE2PBMlRgVUYJiA25mJPXfB00gDvGhtYa\\r\\n+mENwM9Bq1B9YYLyLjRtUz8cyGsdyTIG/bBM/Q9jcV8JGqMU/UjAdh1pFyTnnHEl\\r\\nY59Npi7F87ZqYYJEHJM2LGD+le8VsHjgeWX2CJQko7klXvcizuZvUEDTjHaQcs2J\\r\\n+kPgfyMIOY1DMJ21NxOJ2xPRC/wAh/hzSBRVtoAnyuxtkZ4VjIOh\\r\\n-----END CERTIFICATE-----\\r\\n\"\r\n },\r\n {\r\n \"pem\": \"\\r\\n-----BEGIN CERTIFICATE-----\\r\\nMIIF8zCCBNugAwIBAgIQDGrpfM7VmYOGkKAKnqUyFDANBgkqhkiG9w0BAQwFADBh\\r\\nMQswCQYDVQQGEwJVUzEVMBMGA1UEChMMRGlnaUNlcnQgSW5jMRkwFwYDVQQLExB3\\r\\nd3cuZGlnaWNlcnQuY29tMSAwHgYDVQQDExdEaWdpQ2VydCBHbG9iYWwgUm9vdCBH\\r\\nMjAeFw0yMDA3MjkxMjMwMDBaFw0yNDA2MjcyMzU5NTlaMFkxCzAJBgNVBAYTAlVT\\r\\nMR4wHAYDVQQKExVNaWNyb3NvZnQgQ29ycG9yYXRpb24xKjAoBgNVBAMTIU1pY3Jv\\r\\nc29mdCBBenVyZSBUTFMgSXNzdWluZyBDQSAwMjCCAiIwDQYJKoZIhvcNAQEBBQAD\\r\\nggIPADCCAgoCggIBAOBiO1K6Fk4fHI6t3mJkpg7lxoeUgL8tz9wuI2z0UgY8vFra\\r\\n3VBo7QznC4K3s9jqKWEyIQY11Le0108bSYa/TK0aioO6itpGiigEG+vH/iqtQXPS\\r\\nu6D804ri0NFZ1SOP9IzjYuQiK6AWntCqP4WAcZAPtpNrNLPBIyiqmiTDS4dlFg1d\\r\\nskMuVpT4z0MpgEMmxQnrSZ615rBQ25vnVbBNig04FCsh1V3S8ve5Gzh08oIrL/g5\\r\\nxq95oRrgEeOBIeiegQpoKrLYyo3R1Tt48HmSJCBYQ52Qc34RgxQdZsLXMUrWuL1J\\r\\nLAZP6yeo47ySSxKCjhq5/AUWvQBP3N/cP/iJzKKKw23qJ/kkVrE0DSVDiIiXWF0c\\r\\n9abSGhYl9SPl86IHcIAIzwelJ4SKpHrVbh0/w4YHdFi5QbdAp7O5KxfxBYhQOeHy\\r\\nis01zkpYn6SqUFGvbK8eZ8y9Aclt8PIUftMG6q5BhdlBZkDDV3n70RlXwYvllzfZ\\r\\n/nV94l+hYp+GLW7jSmpxZLG/XEz4OXtTtWwLV+IkIOe/EDF79KCazW2SXOIvVInP\\r\\noi1PqN4TudNv0GyBF5tRC/aBjUqply1YYfeKwgRVs83z5kuiOicmdGZKH9SqU5bn\\r\\nKse7IlyfZLg6yAxYyTNe7A9acJ3/pGmCIkJ/9dfLUFc4hYb3YyIIYGmqm2/3AgMB\\r\\nAAGjggGtMIIBqTAdBgNVHQ4EFgQUAKuR/CFiJpeaqHkbYUGQYKliZ/0wHwYDVR0j\\r\\nBBgwFoAUTiJUIBiV5uNu5g/6+rkS7QYXjzkwDgYDVR0PAQH/BAQDAgGGMB0GA1Ud\\r\\nJQQWMBQGCCsGAQUFBwMBBggrBgEFBQcDAjASBgNVHRMBAf8ECDAGAQH/AgEAMHYG\\r\\nCCsGAQUFBwEBBGowaDAkBggrBgEFBQcwAYYYaHR0cDovL29jc3AuZGlnaWNlcnQu\\r\\nY29tMEAGCCsGAQUFBzAChjRodHRwOi8vY2FjZXJ0cy5kaWdpY2VydC5jb20vRGln\\r\\naUNlcnRHbG9iYWxSb290RzIuY3J0MHsGA1UdHwR0MHIwN6A1oDOGMWh0dHA6Ly9j\\r\\ncmwzLmRpZ2ljZXJ0LmNvbS9EaWdpQ2VydEdsb2JhbFJvb3RHMi5jcmwwN6A1oDOG\\r\\nMWh0dHA6Ly9jcmw0LmRpZ2ljZXJ0LmNvbS9EaWdpQ2VydEdsb2JhbFJvb3RHMi5j\\r\\ncmwwHQYDVR0gBBYwFDAIBgZngQwBAgEwCAYGZ4EMAQICMBAGCSsGAQQBgjcVAQQD\\r\\nAgEAMA0GCSqGSIb3DQEBDAUAA4IBAQAzo/KdmWPPTaYLQW7J5DqxEiBT9QyYGUfe\\r\\nZd7TR1837H6DSkFa/mGM1kLwi5y9miZKA9k6T9OwTx8CflcvbNO2UkFW0VCldEGH\\r\\niyx5421+HpRxMQIRjligePtOtRGXwaNOQ7ySWfJhRhKcPKe2PGFHQI7/3n+T3kXQ\\r\\n/SLu2lk9Qs5YgSJ3VhxBUznYn1KVKJWPE07M55kuUgCquAV0PksZj7EC4nK6e/UV\\r\\nbPumlj1nyjlxhvNud4WYmr4ntbBev6cSbK78dpI/3cr7P/WJPYJuL0EsO3MgjS3e\\r\\nDCX7NXp5ylue3TcpQfRU8BL+yZC1wqX98R4ndw7X4qfGaE7SlF7I\\r\\n-----END CERTIFICATE-----\\r\\n\"\r\n },\r\n {\r\n \"pem\": \"\\r\\n-----BEGIN CERTIFICATE-----\\r\\nMIIDjjCCAnagAwIBAgIQAzrx5qcRqaC7KGSxHQn65TANBgkqhkiG9w0BAQsFADBh\\r\\nMQswCQYDVQQGEwJVUzEVMBMGA1UEChMMRGlnaUNlcnQgSW5jMRkwFwYDVQQLExB3\\r\\nd3cuZGlnaWNlcnQuY29tMSAwHgYDVQQDExdEaWdpQ2VydCBHbG9iYWwgUm9vdCBH\\r\\nMjAeFw0xMzA4MDExMjAwMDBaFw0zODAxMTUxMjAwMDBaMGExCzAJBgNVBAYTAlVT\\r\\nMRUwEwYDVQQKEwxEaWdpQ2VydCBJbmMxGTAXBgNVBAsTEHd3dy5kaWdpY2VydC5j\\r\\nb20xIDAeBgNVBAMTF0RpZ2lDZXJ0IEdsb2JhbCBSb290IEcyMIIBIjANBgkqhkiG\\r\\n9w0BAQEFAAOCAQ8AMIIBCgKCAQEAuzfNNNx7a8myaJCtSnX/RrohCgiN9RlUyfuI\\r\\n2/Ou8jqJkTx65qsGGmvPrC3oXgkkRLpimn7Wo6h+4FR1IAWsULecYxpsMNzaHxmx\\r\\n1x7e/dfgy5SDN67sH0NO3Xss0r0upS/kqbitOtSZpLYl6ZtrAGCSYP9PIUkY92eQ\\r\\nq2EGnI/yuum06ZIya7XzV+hdG82MHauVBJVJ8zUtluNJbd134/tJS7SsVQepj5Wz\\r\\ntCO7TG1F8PapspUwtP1MVYwnSlcUfIKdzXOS0xZKBgyMUNGPHgm+F6HmIcr9g+UQ\\r\\nvIOlCsRnKPZzFBQ9RnbDhxSJITRNrw9FDKZJobq7nMWxM4MphQIDAQABo0IwQDAP\\r\\nBgNVHRMBAf8EBTADAQH/MA4GA1UdDwEB/wQEAwIBhjAdBgNVHQ4EFgQUTiJUIBiV\\r\\n5uNu5g/6+rkS7QYXjzkwDQYJKoZIhvcNAQELBQADggEBAGBnKJRvDkhj6zHd6mcY\\r\\n1Yl9PMWLSn/pvtsrF9+wX3N3KjITOYFnQoQj8kVnNeyIv/iPsGEMNKSuIEyExtv4\\r\\nNeF22d+mQrvHRAiGfzZ0JFrabA0UWTW98kndth/Jsw1HKj2ZL7tcu7XUIOGZX1NG\\r\\nFdtom/DzMNU+MeKNhJ7jitralj41E6Vf8PlwUHBHQRFXGU7Aj64GxJUTFy8bJZ91\\r\\n8rGOmaFvE7FBcf6IKshPECBV1/MUReXgRPTqh5Uykw7+U0b6LJ3/iyK5S9kJRaTe\\r\\npLiaWN0bfVKfjllDiIGknibVb63dDcY3fe0Dkhvld1927jyNxF1WW6LZZm6zNTfl\\r\\nMrY=\\r\\n-----END CERTIFICATE-----\\r\\n\"\r\n },\r\n {\r\n \"pem\": \"\\r\\n-----BEGIN CERTIFICATE-----\\r\\nMIIF8zCCBNugAwIBAgIQAueRcfuAIek/4tmDg0xQwDANBgkqhkiG9w0BAQwFADBh\\r\\nMQswCQYDVQQGEwJVUzEVMBMGA1UEChMMRGlnaUNlcnQgSW5jMRkwFwYDVQQLExB3\\r\\nd3cuZGlnaWNlcnQuY29tMSAwHgYDVQQDExdEaWdpQ2VydCBHbG9iYWwgUm9vdCBH\\r\\nMjAeFw0yMDA3MjkxMjMwMDBaFw0yNDA2MjcyMzU5NTlaMFkxCzAJBgNVBAYTAlVT\\r\\nMR4wHAYDVQQKExVNaWNyb3NvZnQgQ29ycG9yYXRpb24xKjAoBgNVBAMTIU1pY3Jv\\r\\nc29mdCBBenVyZSBUTFMgSXNzdWluZyBDQSAwNjCCAiIwDQYJKoZIhvcNAQEBBQAD\\r\\nggIPADCCAgoCggIBALVGARl56bx3KBUSGuPc4H5uoNFkFH4e7pvTCxRi4j/+z+Xb\\r\\nwjEz+5CipDOqjx9/jWjskL5dk7PaQkzItidsAAnDCW1leZBOIi68Lff1bjTeZgMY\\r\\niwdRd3Y39b/lcGpiuP2d23W95YHkMMT8IlWosYIX0f4kYb62rphyfnAjYb/4Od99\\r\\nThnhlAxGtfvSbXcBVIKCYfZgqRvV+5lReUnd1aNjRYVzPOoifgSx2fRyy1+pO1Uz\\r\\naMMNnIOE71bVYW0A1hr19w7kOb0KkJXoALTDDj1ukUEDqQuBfBxReL5mXiu1O7WG\\r\\n0vltg0VZ/SZzctBsdBlx1BkmWYBW261KZgBivrql5ELTKKd8qgtHcLQA5fl6JB0Q\\r\\ngs5XDaWehN86Gps5JW8ArjGtjcWAIP+X8CQaWfaCnuRm6Bk/03PQWhgdi84qwA0s\\r\\nsRfFJwHUPTNSnE8EiGVk2frt0u8PG1pwSQsFuNJfcYIHEv1vOzP7uEOuDydsmCjh\\r\\nlxuoK2n5/2aVR3BMTu+p4+gl8alXoBycyLmj3J/PUgqD8SL5fTCUegGsdia/Sa60\\r\\nN2oV7vQ17wjMN+LXa2rjj/b4ZlZgXVojDmAjDwIRdDUujQu0RVsJqFLMzSIHpp2C\\r\\nZp7mIoLrySay2YYBu7SiNwL95X6He2kS8eefBBHjzwW/9FxGqry57i71c2cDAgMB\\r\\nAAGjggGtMIIBqTAdBgNVHQ4EFgQU1cFnOsKjnfR3UltZEjgp5lVou6UwHwYDVR0j\\r\\nBBgwFoAUTiJUIBiV5uNu5g/6+rkS7QYXjzkwDgYDVR0PAQH/BAQDAgGGMB0GA1Ud\\r\\nJQQWMBQGCCsGAQUFBwMBBggrBgEFBQcDAjASBgNVHRMBAf8ECDAGAQH/AgEAMHYG\\r\\nCCsGAQUFBwEBBGowaDAkBggrBgEFBQcwAYYYaHR0cDovL29jc3AuZGlnaWNlcnQu\\r\\nY29tMEAGCCsGAQUFBzAChjRodHRwOi8vY2FjZXJ0cy5kaWdpY2VydC5jb20vRGln\\r\\naUNlcnRHbG9iYWxSb290RzIuY3J0MHsGA1UdHwR0MHIwN6A1oDOGMWh0dHA6Ly9j\\r\\ncmwzLmRpZ2ljZXJ0LmNvbS9EaWdpQ2VydEdsb2JhbFJvb3RHMi5jcmwwN6A1oDOG\\r\\nMWh0dHA6Ly9jcmw0LmRpZ2ljZXJ0LmNvbS9EaWdpQ2VydEdsb2JhbFJvb3RHMi5j\\r\\ncmwwHQYDVR0gBBYwFDAIBgZngQwBAgEwCAYGZ4EMAQICMBAGCSsGAQQBgjcVAQQD\\r\\nAgEAMA0GCSqGSIb3DQEBDAUAA4IBAQB2oWc93fB8esci/8esixj++N22meiGDjgF\\r\\n+rA2LUK5IOQOgcUSTGKSqF9lYfAxPjrqPjDCUPHCURv+26ad5P/BYtXtbmtxJWu+\\r\\ncS5BhMDPPeG3oPZwXRHBJFAkY4O4AF7RIAAUW6EzDflUoDHKv83zOiPfYGcpHc9s\\r\\nkxAInCedk7QSgXvMARjjOqdakor21DTmNIUotxo8kHv5hwRlGhBJwps6fEVi1Bt0\\r\\ntrpM/3wYxlr473WSPUFZPgP1j519kLpWOJ8z09wxay+Br29irPcBYv0GMXlHqThy\\r\\n8y4m/HyTQeI2IMvMrQnwqPpY+rLIXyviI2vLoI+4xKE4Rn38ZZ8m\\r\\n-----END CERTIFICATE-----\\r\\n\"\r\n }\r\n ],\r\n \"externalSeedNodes\": [\r\n {\r\n \"ipAddress\": \"10.0.1.1\"\r\n }\r\n ],\r\n \"prometheusEndpoint\": {\r\n \"ipAddress\": \"127.0.0.1\"\r\n },\r\n \"seedNodes\": []\r\n }\r\n}", - "StatusCode": 201 - }, - { - "RequestUri": "/subscriptions/dd31ecae-4522-468e-8b27-5befd051dd53/providers/Microsoft.DocumentDB/locations/eastus2/operationsStatus/c413c3e3-0272-4a78-8bb5-3ba9a72c3311?api-version=2021-03-01-preview", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZGQzMWVjYWUtNDUyMi00NjhlLThiMjctNWJlZmQwNTFkZDUzL3Byb3ZpZGVycy9NaWNyb3NvZnQuRG9jdW1lbnREQi9sb2NhdGlvbnMvZWFzdHVzMi9vcGVyYXRpb25zU3RhdHVzL2M0MTNjM2UzLTAyNzItNGE3OC04YmI1LTNiYTlhNzJjMzMxMT9hcGktdmVyc2lvbj0yMDIxLTAzLTAxLXByZXZpZXc=", - "RequestMethod": "GET", - "RequestBody": "", - "RequestHeaders": { - "User-Agent": [ - "FxVersion/4.6.28207.03", - "OSName/Windows", - "OSVersion/Microsoft.Windows.10.0.19042.", - "Microsoft.Azure.Management.CosmosDB.CosmosDBManagementClient/2.1.0.0" - ] - }, - "ResponseHeaders": { - "Cache-Control": [ - "no-store, no-cache" - ], - "Pragma": [ - "no-cache" - ], - "Strict-Transport-Security": [ - "max-age=31536000; includeSubDomains" - ], - "x-ms-gatewayversion": [ - "version=2.11.0" - ], - "Server": [ - "Microsoft-HTTPAPI/2.0" - ], - "x-ms-ratelimit-remaining-subscription-reads": [ - "11999" - ], - "x-ms-request-id": [ - "20fd4dbf-4d9c-4ecf-95ca-97c22d2b3c41" - ], - "x-ms-correlation-request-id": [ - "20fd4dbf-4d9c-4ecf-95ca-97c22d2b3c41" - ], - "x-ms-routing-request-id": [ - "WESTUS2:20210304T173309Z:20fd4dbf-4d9c-4ecf-95ca-97c22d2b3c41" - ], - "X-Content-Type-Options": [ - "nosniff" - ], - "Date": [ - "Thu, 04 Mar 2021 17:33:09 GMT" - ], - "Content-Length": [ - "21" - ], - "Content-Type": [ - "application/json" - ] - }, - "ResponseBody": "{\r\n \"status\": \"Dequeued\"\r\n}", - "StatusCode": 200 - }, - { - "RequestUri": "/subscriptions/dd31ecae-4522-468e-8b27-5befd051dd53/providers/Microsoft.DocumentDB/locations/eastus2/operationsStatus/c413c3e3-0272-4a78-8bb5-3ba9a72c3311?api-version=2021-03-01-preview", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZGQzMWVjYWUtNDUyMi00NjhlLThiMjctNWJlZmQwNTFkZDUzL3Byb3ZpZGVycy9NaWNyb3NvZnQuRG9jdW1lbnREQi9sb2NhdGlvbnMvZWFzdHVzMi9vcGVyYXRpb25zU3RhdHVzL2M0MTNjM2UzLTAyNzItNGE3OC04YmI1LTNiYTlhNzJjMzMxMT9hcGktdmVyc2lvbj0yMDIxLTAzLTAxLXByZXZpZXc=", - "RequestMethod": "GET", - "RequestBody": "", - "RequestHeaders": { - "User-Agent": [ - "FxVersion/4.6.28207.03", - "OSName/Windows", - "OSVersion/Microsoft.Windows.10.0.19042.", - "Microsoft.Azure.Management.CosmosDB.CosmosDBManagementClient/2.1.0.0" - ] - }, - "ResponseHeaders": { - "Cache-Control": [ - "no-store, no-cache" - ], - "Pragma": [ - "no-cache" - ], - "Strict-Transport-Security": [ - "max-age=31536000; includeSubDomains" - ], - "x-ms-gatewayversion": [ - "version=2.11.0" - ], - "Server": [ - "Microsoft-HTTPAPI/2.0" - ], - "x-ms-ratelimit-remaining-subscription-reads": [ - "11998" - ], - "x-ms-request-id": [ - "3caf2f34-06de-4cde-bbd1-030cd804435b" - ], - "x-ms-correlation-request-id": [ - "3caf2f34-06de-4cde-bbd1-030cd804435b" - ], - "x-ms-routing-request-id": [ - "WESTUS2:20210304T173339Z:3caf2f34-06de-4cde-bbd1-030cd804435b" - ], - "X-Content-Type-Options": [ - "nosniff" - ], - "Date": [ - "Thu, 04 Mar 2021 17:33:38 GMT" - ], - "Content-Length": [ - "21" - ], - "Content-Type": [ - "application/json" - ] - }, - "ResponseBody": "{\r\n \"status\": \"Dequeued\"\r\n}", - "StatusCode": 200 - }, - { - "RequestUri": "/subscriptions/dd31ecae-4522-468e-8b27-5befd051dd53/providers/Microsoft.DocumentDB/locations/eastus2/operationsStatus/c413c3e3-0272-4a78-8bb5-3ba9a72c3311?api-version=2021-03-01-preview", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZGQzMWVjYWUtNDUyMi00NjhlLThiMjctNWJlZmQwNTFkZDUzL3Byb3ZpZGVycy9NaWNyb3NvZnQuRG9jdW1lbnREQi9sb2NhdGlvbnMvZWFzdHVzMi9vcGVyYXRpb25zU3RhdHVzL2M0MTNjM2UzLTAyNzItNGE3OC04YmI1LTNiYTlhNzJjMzMxMT9hcGktdmVyc2lvbj0yMDIxLTAzLTAxLXByZXZpZXc=", - "RequestMethod": "GET", - "RequestBody": "", - "RequestHeaders": { - "User-Agent": [ - "FxVersion/4.6.28207.03", - "OSName/Windows", - "OSVersion/Microsoft.Windows.10.0.19042.", - "Microsoft.Azure.Management.CosmosDB.CosmosDBManagementClient/2.1.0.0" - ] - }, - "ResponseHeaders": { - "Cache-Control": [ - "no-store, no-cache" - ], - "Pragma": [ - "no-cache" - ], - "Strict-Transport-Security": [ - "max-age=31536000; includeSubDomains" - ], - "x-ms-gatewayversion": [ - "version=2.11.0" - ], - "Server": [ - "Microsoft-HTTPAPI/2.0" - ], - "x-ms-ratelimit-remaining-subscription-reads": [ - "11997" - ], - "x-ms-request-id": [ - "9d97965c-8c8f-42ad-89fc-55585164cc27" - ], - "x-ms-correlation-request-id": [ - "9d97965c-8c8f-42ad-89fc-55585164cc27" - ], - "x-ms-routing-request-id": [ - "WESTUS2:20210304T173409Z:9d97965c-8c8f-42ad-89fc-55585164cc27" - ], - "X-Content-Type-Options": [ - "nosniff" - ], - "Date": [ - "Thu, 04 Mar 2021 17:34:09 GMT" - ], - "Content-Length": [ - "21" - ], - "Content-Type": [ - "application/json" - ] - }, - "ResponseBody": "{\r\n \"status\": \"Dequeued\"\r\n}", - "StatusCode": 200 - }, - { - "RequestUri": "/subscriptions/dd31ecae-4522-468e-8b27-5befd051dd53/providers/Microsoft.DocumentDB/locations/eastus2/operationsStatus/c413c3e3-0272-4a78-8bb5-3ba9a72c3311?api-version=2021-03-01-preview", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZGQzMWVjYWUtNDUyMi00NjhlLThiMjctNWJlZmQwNTFkZDUzL3Byb3ZpZGVycy9NaWNyb3NvZnQuRG9jdW1lbnREQi9sb2NhdGlvbnMvZWFzdHVzMi9vcGVyYXRpb25zU3RhdHVzL2M0MTNjM2UzLTAyNzItNGE3OC04YmI1LTNiYTlhNzJjMzMxMT9hcGktdmVyc2lvbj0yMDIxLTAzLTAxLXByZXZpZXc=", - "RequestMethod": "GET", - "RequestBody": "", - "RequestHeaders": { - "User-Agent": [ - "FxVersion/4.6.28207.03", - "OSName/Windows", - "OSVersion/Microsoft.Windows.10.0.19042.", - "Microsoft.Azure.Management.CosmosDB.CosmosDBManagementClient/2.1.0.0" - ] - }, - "ResponseHeaders": { - "Cache-Control": [ - "no-store, no-cache" - ], - "Pragma": [ - "no-cache" - ], - "Strict-Transport-Security": [ - "max-age=31536000; includeSubDomains" - ], - "x-ms-gatewayversion": [ - "version=2.11.0" - ], - "Server": [ - "Microsoft-HTTPAPI/2.0" - ], - "x-ms-ratelimit-remaining-subscription-reads": [ - "11996" - ], - "x-ms-request-id": [ - "fcc7bf7e-a6d1-4dce-a375-d5257981d626" - ], - "x-ms-correlation-request-id": [ - "fcc7bf7e-a6d1-4dce-a375-d5257981d626" - ], - "x-ms-routing-request-id": [ - "WESTUS2:20210304T173439Z:fcc7bf7e-a6d1-4dce-a375-d5257981d626" - ], - "X-Content-Type-Options": [ - "nosniff" - ], - "Date": [ - "Thu, 04 Mar 2021 17:34:39 GMT" - ], - "Content-Length": [ - "21" - ], - "Content-Type": [ - "application/json" - ] - }, - "ResponseBody": "{\r\n \"status\": \"Dequeued\"\r\n}", - "StatusCode": 200 - }, - { - "RequestUri": "/subscriptions/dd31ecae-4522-468e-8b27-5befd051dd53/providers/Microsoft.DocumentDB/locations/eastus2/operationsStatus/c413c3e3-0272-4a78-8bb5-3ba9a72c3311?api-version=2021-03-01-preview", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZGQzMWVjYWUtNDUyMi00NjhlLThiMjctNWJlZmQwNTFkZDUzL3Byb3ZpZGVycy9NaWNyb3NvZnQuRG9jdW1lbnREQi9sb2NhdGlvbnMvZWFzdHVzMi9vcGVyYXRpb25zU3RhdHVzL2M0MTNjM2UzLTAyNzItNGE3OC04YmI1LTNiYTlhNzJjMzMxMT9hcGktdmVyc2lvbj0yMDIxLTAzLTAxLXByZXZpZXc=", - "RequestMethod": "GET", - "RequestBody": "", - "RequestHeaders": { - "User-Agent": [ - "FxVersion/4.6.28207.03", - "OSName/Windows", - "OSVersion/Microsoft.Windows.10.0.19042.", - "Microsoft.Azure.Management.CosmosDB.CosmosDBManagementClient/2.1.0.0" - ] - }, - "ResponseHeaders": { - "Cache-Control": [ - "no-store, no-cache" - ], - "Pragma": [ - "no-cache" - ], - "Strict-Transport-Security": [ - "max-age=31536000; includeSubDomains" - ], - "x-ms-gatewayversion": [ - "version=2.11.0" - ], - "Server": [ - "Microsoft-HTTPAPI/2.0" - ], - "x-ms-ratelimit-remaining-subscription-reads": [ - "11995" - ], - "x-ms-request-id": [ - "286ac656-b50d-4b72-a423-1e1610cfe80c" - ], - "x-ms-correlation-request-id": [ - "286ac656-b50d-4b72-a423-1e1610cfe80c" - ], - "x-ms-routing-request-id": [ - "WESTUS2:20210304T173509Z:286ac656-b50d-4b72-a423-1e1610cfe80c" - ], - "X-Content-Type-Options": [ - "nosniff" - ], - "Date": [ - "Thu, 04 Mar 2021 17:35:09 GMT" - ], - "Content-Length": [ - "21" - ], - "Content-Type": [ - "application/json" - ] - }, - "ResponseBody": "{\r\n \"status\": \"Dequeued\"\r\n}", - "StatusCode": 200 - }, - { - "RequestUri": "/subscriptions/dd31ecae-4522-468e-8b27-5befd051dd53/providers/Microsoft.DocumentDB/locations/eastus2/operationsStatus/c413c3e3-0272-4a78-8bb5-3ba9a72c3311?api-version=2021-03-01-preview", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZGQzMWVjYWUtNDUyMi00NjhlLThiMjctNWJlZmQwNTFkZDUzL3Byb3ZpZGVycy9NaWNyb3NvZnQuRG9jdW1lbnREQi9sb2NhdGlvbnMvZWFzdHVzMi9vcGVyYXRpb25zU3RhdHVzL2M0MTNjM2UzLTAyNzItNGE3OC04YmI1LTNiYTlhNzJjMzMxMT9hcGktdmVyc2lvbj0yMDIxLTAzLTAxLXByZXZpZXc=", - "RequestMethod": "GET", - "RequestBody": "", - "RequestHeaders": { - "User-Agent": [ - "FxVersion/4.6.28207.03", - "OSName/Windows", - "OSVersion/Microsoft.Windows.10.0.19042.", - "Microsoft.Azure.Management.CosmosDB.CosmosDBManagementClient/2.1.0.0" - ] - }, - "ResponseHeaders": { - "Cache-Control": [ - "no-store, no-cache" - ], - "Pragma": [ - "no-cache" - ], - "Strict-Transport-Security": [ - "max-age=31536000; includeSubDomains" - ], - "x-ms-gatewayversion": [ - "version=2.11.0" - ], - "Server": [ - "Microsoft-HTTPAPI/2.0" - ], - "x-ms-ratelimit-remaining-subscription-reads": [ - "11994" - ], - "x-ms-request-id": [ - "41d3b320-1f82-47b4-a3f5-130792ac5379" - ], - "x-ms-correlation-request-id": [ - "41d3b320-1f82-47b4-a3f5-130792ac5379" - ], - "x-ms-routing-request-id": [ - "WESTUS2:20210304T173540Z:41d3b320-1f82-47b4-a3f5-130792ac5379" - ], - "X-Content-Type-Options": [ - "nosniff" - ], - "Date": [ - "Thu, 04 Mar 2021 17:35:39 GMT" - ], - "Content-Length": [ - "21" - ], - "Content-Type": [ - "application/json" - ] - }, - "ResponseBody": "{\r\n \"status\": \"Dequeued\"\r\n}", - "StatusCode": 200 - }, - { - "RequestUri": "/subscriptions/dd31ecae-4522-468e-8b27-5befd051dd53/providers/Microsoft.DocumentDB/locations/eastus2/operationsStatus/c413c3e3-0272-4a78-8bb5-3ba9a72c3311?api-version=2021-03-01-preview", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZGQzMWVjYWUtNDUyMi00NjhlLThiMjctNWJlZmQwNTFkZDUzL3Byb3ZpZGVycy9NaWNyb3NvZnQuRG9jdW1lbnREQi9sb2NhdGlvbnMvZWFzdHVzMi9vcGVyYXRpb25zU3RhdHVzL2M0MTNjM2UzLTAyNzItNGE3OC04YmI1LTNiYTlhNzJjMzMxMT9hcGktdmVyc2lvbj0yMDIxLTAzLTAxLXByZXZpZXc=", - "RequestMethod": "GET", - "RequestBody": "", - "RequestHeaders": { - "User-Agent": [ - "FxVersion/4.6.28207.03", - "OSName/Windows", - "OSVersion/Microsoft.Windows.10.0.19042.", - "Microsoft.Azure.Management.CosmosDB.CosmosDBManagementClient/2.1.0.0" - ] - }, - "ResponseHeaders": { - "Cache-Control": [ - "no-store, no-cache" - ], - "Pragma": [ - "no-cache" - ], - "Strict-Transport-Security": [ - "max-age=31536000; includeSubDomains" - ], - "x-ms-gatewayversion": [ - "version=2.11.0" - ], - "Server": [ - "Microsoft-HTTPAPI/2.0" - ], - "x-ms-ratelimit-remaining-subscription-reads": [ - "11993" - ], - "x-ms-request-id": [ - "17bd3568-89b0-49a0-9dd0-72d2343c7257" - ], - "x-ms-correlation-request-id": [ - "17bd3568-89b0-49a0-9dd0-72d2343c7257" - ], - "x-ms-routing-request-id": [ - "WESTUS2:20210304T173610Z:17bd3568-89b0-49a0-9dd0-72d2343c7257" - ], - "X-Content-Type-Options": [ - "nosniff" - ], - "Date": [ - "Thu, 04 Mar 2021 17:36:09 GMT" - ], - "Content-Length": [ - "21" - ], - "Content-Type": [ - "application/json" - ] - }, - "ResponseBody": "{\r\n \"status\": \"Dequeued\"\r\n}", - "StatusCode": 200 - }, - { - "RequestUri": "/subscriptions/dd31ecae-4522-468e-8b27-5befd051dd53/providers/Microsoft.DocumentDB/locations/eastus2/operationsStatus/c413c3e3-0272-4a78-8bb5-3ba9a72c3311?api-version=2021-03-01-preview", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZGQzMWVjYWUtNDUyMi00NjhlLThiMjctNWJlZmQwNTFkZDUzL3Byb3ZpZGVycy9NaWNyb3NvZnQuRG9jdW1lbnREQi9sb2NhdGlvbnMvZWFzdHVzMi9vcGVyYXRpb25zU3RhdHVzL2M0MTNjM2UzLTAyNzItNGE3OC04YmI1LTNiYTlhNzJjMzMxMT9hcGktdmVyc2lvbj0yMDIxLTAzLTAxLXByZXZpZXc=", - "RequestMethod": "GET", - "RequestBody": "", - "RequestHeaders": { - "User-Agent": [ - "FxVersion/4.6.28207.03", - "OSName/Windows", - "OSVersion/Microsoft.Windows.10.0.19042.", - "Microsoft.Azure.Management.CosmosDB.CosmosDBManagementClient/2.1.0.0" - ] - }, - "ResponseHeaders": { - "Cache-Control": [ - "no-store, no-cache" - ], - "Pragma": [ - "no-cache" - ], - "Strict-Transport-Security": [ - "max-age=31536000; includeSubDomains" - ], - "x-ms-gatewayversion": [ - "version=2.11.0" - ], - "Server": [ - "Microsoft-HTTPAPI/2.0" - ], - "x-ms-ratelimit-remaining-subscription-reads": [ - "11992" - ], - "x-ms-request-id": [ - "df4e029e-80f6-4d65-8de4-47b1056ce726" - ], - "x-ms-correlation-request-id": [ - "df4e029e-80f6-4d65-8de4-47b1056ce726" - ], - "x-ms-routing-request-id": [ - "WESTUS2:20210304T173640Z:df4e029e-80f6-4d65-8de4-47b1056ce726" - ], - "X-Content-Type-Options": [ - "nosniff" - ], - "Date": [ - "Thu, 04 Mar 2021 17:36:39 GMT" - ], - "Content-Length": [ - "22" - ], - "Content-Type": [ - "application/json" - ] - }, - "ResponseBody": "{\r\n \"status\": \"Succeeded\"\r\n}", - "StatusCode": 200 - }, - { - "RequestUri": "/subscriptions/dd31ecae-4522-468e-8b27-5befd051dd53/resourceGroups/CosmosDBResourceGroup9148/providers/Microsoft.DocumentDB/cassandraClusters/managedcluster54?api-version=2021-03-01-preview", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZGQzMWVjYWUtNDUyMi00NjhlLThiMjctNWJlZmQwNTFkZDUzL3Jlc291cmNlR3JvdXBzL0Nvc21vc0RCUmVzb3VyY2VHcm91cDkxNDgvcHJvdmlkZXJzL01pY3Jvc29mdC5Eb2N1bWVudERCL2Nhc3NhbmRyYUNsdXN0ZXJzL21hbmFnZWRjbHVzdGVyNTQ/YXBpLXZlcnNpb249MjAyMS0wMy0wMS1wcmV2aWV3", - "RequestMethod": "GET", - "RequestBody": "", - "RequestHeaders": { - "User-Agent": [ - "FxVersion/4.6.28207.03", - "OSName/Windows", - "OSVersion/Microsoft.Windows.10.0.19042.", - "Microsoft.Azure.Management.CosmosDB.CosmosDBManagementClient/2.1.0.0" - ] - }, - "ResponseHeaders": { - "Cache-Control": [ - "no-store, no-cache" - ], - "Pragma": [ - "no-cache" - ], - "Strict-Transport-Security": [ - "max-age=31536000; includeSubDomains" - ], - "x-ms-gatewayversion": [ - "version=2.11.0" - ], - "Server": [ - "Microsoft-HTTPAPI/2.0" - ], - "x-ms-ratelimit-remaining-subscription-reads": [ - "11991" - ], - "x-ms-request-id": [ - "73f85d89-658a-49f4-be22-d8d84f360444" - ], - "x-ms-correlation-request-id": [ - "73f85d89-658a-49f4-be22-d8d84f360444" - ], - "x-ms-routing-request-id": [ - "WESTUS2:20210304T173640Z:73f85d89-658a-49f4-be22-d8d84f360444" - ], - "X-Content-Type-Options": [ - "nosniff" - ], - "Date": [ - "Thu, 04 Mar 2021 17:36:40 GMT" - ], - "Content-Length": [ - "8921" - ], - "Content-Type": [ - "application/json" - ] - }, - "ResponseBody": "{\r\n \"id\": \"/subscriptions/dd31ecae-4522-468e-8b27-5befd051dd53/resourceGroups/CosmosDBResourceGroup9148/providers/Microsoft.DocumentDB/cassandraClusters/managedcluster54\",\r\n \"name\": \"managedcluster54\",\r\n \"type\": \"Microsoft.DocumentDB/cassandraClusters\",\r\n \"location\": \"East US 2\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"delegatedManagementSubnetId\": \"/subscriptions/dd31ecae-4522-468e-8b27-5befd051dd53/resourceGroups/CosmosDBResourceGroup9148/providers/Microsoft.Network/virtualNetworks/CosmosDBVirtualNetwork840/subnets/cassandra-subnet\",\r\n \"clusterNameOverride\": \"managedcluster54\",\r\n \"authenticationMethod\": \"Cassandra\",\r\n \"hoursBetweenBackups\": 0,\r\n \"clientCertificates\": [],\r\n \"externalGossipCertificates\": [],\r\n \"gossipCertificates\": [\r\n {\r\n \"pem\": \"\\r\\n-----BEGIN CERTIFICATE-----\\r\\nMIIF8zCCBNugAwIBAgIQCq+mxcpjxFFB6jvh98dTFzANBgkqhkiG9w0BAQwFADBh\\r\\nMQswCQYDVQQGEwJVUzEVMBMGA1UEChMMRGlnaUNlcnQgSW5jMRkwFwYDVQQLExB3\\r\\nd3cuZGlnaWNlcnQuY29tMSAwHgYDVQQDExdEaWdpQ2VydCBHbG9iYWwgUm9vdCBH\\r\\nMjAeFw0yMDA3MjkxMjMwMDBaFw0yNDA2MjcyMzU5NTlaMFkxCzAJBgNVBAYTAlVT\\r\\nMR4wHAYDVQQKExVNaWNyb3NvZnQgQ29ycG9yYXRpb24xKjAoBgNVBAMTIU1pY3Jv\\r\\nc29mdCBBenVyZSBUTFMgSXNzdWluZyBDQSAwMTCCAiIwDQYJKoZIhvcNAQEBBQAD\\r\\nggIPADCCAgoCggIBAMedcDrkXufP7pxVm1FHLDNA9IjwHaMoaY8arqqZ4Gff4xyr\\r\\nRygnavXL7g12MPAx8Q6Dd9hfBzrfWxkF0Br2wIvlvkzW01naNVSkHp+OS3hL3W6n\\r\\nl/jYvZnVeJXjtsKYcXIf/6WtspcF5awlQ9LZJcjwaH7KoZuK+THpXCMtzD8XNVdm\\r\\nGW/JI0C/7U/E7evXn9XDio8SYkGSM63aLO5BtLCv092+1d4GGBSQYolRq+7Pd1kR\\r\\nEkWBPm0ywZ2Vb8GIS5DLrjelEkBnKCyy3B0yQud9dpVsiUeE7F5sY8Me96WVxQcb\\r\\nOyYdEY/j/9UpDlOG+vA+YgOvBhkKEjiqygVpP8EZoMMijephzg43b5Qi9r5UrvYo\\r\\no19oR/8pf4HJNDPF0/FJwFVMW8PmCBLGstin3NE1+NeWTkGt0TzpHjgKyfaDP2tO\\r\\n4bCk1G7pP2kDFT7SYfc8xbgCkFQ2UCEXsaH/f5YmpLn4YPiNFCeeIida7xnfTvc4\\r\\n7IxyVccHHq1FzGygOqemrxEETKh8hvDR6eBdrBwmCHVgZrnAqnn93JtGyPLi6+cj\\r\\nWGVGtMZHwzVvX1HvSFG771sskcEjJxiQNQDQRWHEh3NxvNb7kFlAXnVdRkkvhjpR\\r\\nGchFhTAzqmwltdWhWDEyCMKC2x/mSZvZtlZGY+g37Y72qHzidwtyW7rBetZJAgMB\\r\\nAAGjggGtMIIBqTAdBgNVHQ4EFgQUDyBd16FXlduSzyvQx8J3BM5ygHYwHwYDVR0j\\r\\nBBgwFoAUTiJUIBiV5uNu5g/6+rkS7QYXjzkwDgYDVR0PAQH/BAQDAgGGMB0GA1Ud\\r\\nJQQWMBQGCCsGAQUFBwMBBggrBgEFBQcDAjASBgNVHRMBAf8ECDAGAQH/AgEAMHYG\\r\\nCCsGAQUFBwEBBGowaDAkBggrBgEFBQcwAYYYaHR0cDovL29jc3AuZGlnaWNlcnQu\\r\\nY29tMEAGCCsGAQUFBzAChjRodHRwOi8vY2FjZXJ0cy5kaWdpY2VydC5jb20vRGln\\r\\naUNlcnRHbG9iYWxSb290RzIuY3J0MHsGA1UdHwR0MHIwN6A1oDOGMWh0dHA6Ly9j\\r\\ncmwzLmRpZ2ljZXJ0LmNvbS9EaWdpQ2VydEdsb2JhbFJvb3RHMi5jcmwwN6A1oDOG\\r\\nMWh0dHA6Ly9jcmw0LmRpZ2ljZXJ0LmNvbS9EaWdpQ2VydEdsb2JhbFJvb3RHMi5j\\r\\ncmwwHQYDVR0gBBYwFDAIBgZngQwBAgEwCAYGZ4EMAQICMBAGCSsGAQQBgjcVAQQD\\r\\nAgEAMA0GCSqGSIb3DQEBDAUAA4IBAQAlFvNh7QgXVLAZSsNR2XRmIn9iS8OHFCBA\\r\\nWxKJoi8YYQafpMTkMqeuzoL3HWb1pYEipsDkhiMnrpfeYZEA7Lz7yqEEtfgHcEBs\\r\\nK9KcStQGGZRfmWU07hPXHnFz+5gTXqzCE2PBMlRgVUYJiA25mJPXfB00gDvGhtYa\\r\\n+mENwM9Bq1B9YYLyLjRtUz8cyGsdyTIG/bBM/Q9jcV8JGqMU/UjAdh1pFyTnnHEl\\r\\nY59Npi7F87ZqYYJEHJM2LGD+le8VsHjgeWX2CJQko7klXvcizuZvUEDTjHaQcs2J\\r\\n+kPgfyMIOY1DMJ21NxOJ2xPRC/wAh/hzSBRVtoAnyuxtkZ4VjIOh\\r\\n-----END CERTIFICATE-----\\r\\n\"\r\n },\r\n {\r\n \"pem\": \"\\r\\n-----BEGIN CERTIFICATE-----\\r\\nMIIF8zCCBNugAwIBAgIQDGrpfM7VmYOGkKAKnqUyFDANBgkqhkiG9w0BAQwFADBh\\r\\nMQswCQYDVQQGEwJVUzEVMBMGA1UEChMMRGlnaUNlcnQgSW5jMRkwFwYDVQQLExB3\\r\\nd3cuZGlnaWNlcnQuY29tMSAwHgYDVQQDExdEaWdpQ2VydCBHbG9iYWwgUm9vdCBH\\r\\nMjAeFw0yMDA3MjkxMjMwMDBaFw0yNDA2MjcyMzU5NTlaMFkxCzAJBgNVBAYTAlVT\\r\\nMR4wHAYDVQQKExVNaWNyb3NvZnQgQ29ycG9yYXRpb24xKjAoBgNVBAMTIU1pY3Jv\\r\\nc29mdCBBenVyZSBUTFMgSXNzdWluZyBDQSAwMjCCAiIwDQYJKoZIhvcNAQEBBQAD\\r\\nggIPADCCAgoCggIBAOBiO1K6Fk4fHI6t3mJkpg7lxoeUgL8tz9wuI2z0UgY8vFra\\r\\n3VBo7QznC4K3s9jqKWEyIQY11Le0108bSYa/TK0aioO6itpGiigEG+vH/iqtQXPS\\r\\nu6D804ri0NFZ1SOP9IzjYuQiK6AWntCqP4WAcZAPtpNrNLPBIyiqmiTDS4dlFg1d\\r\\nskMuVpT4z0MpgEMmxQnrSZ615rBQ25vnVbBNig04FCsh1V3S8ve5Gzh08oIrL/g5\\r\\nxq95oRrgEeOBIeiegQpoKrLYyo3R1Tt48HmSJCBYQ52Qc34RgxQdZsLXMUrWuL1J\\r\\nLAZP6yeo47ySSxKCjhq5/AUWvQBP3N/cP/iJzKKKw23qJ/kkVrE0DSVDiIiXWF0c\\r\\n9abSGhYl9SPl86IHcIAIzwelJ4SKpHrVbh0/w4YHdFi5QbdAp7O5KxfxBYhQOeHy\\r\\nis01zkpYn6SqUFGvbK8eZ8y9Aclt8PIUftMG6q5BhdlBZkDDV3n70RlXwYvllzfZ\\r\\n/nV94l+hYp+GLW7jSmpxZLG/XEz4OXtTtWwLV+IkIOe/EDF79KCazW2SXOIvVInP\\r\\noi1PqN4TudNv0GyBF5tRC/aBjUqply1YYfeKwgRVs83z5kuiOicmdGZKH9SqU5bn\\r\\nKse7IlyfZLg6yAxYyTNe7A9acJ3/pGmCIkJ/9dfLUFc4hYb3YyIIYGmqm2/3AgMB\\r\\nAAGjggGtMIIBqTAdBgNVHQ4EFgQUAKuR/CFiJpeaqHkbYUGQYKliZ/0wHwYDVR0j\\r\\nBBgwFoAUTiJUIBiV5uNu5g/6+rkS7QYXjzkwDgYDVR0PAQH/BAQDAgGGMB0GA1Ud\\r\\nJQQWMBQGCCsGAQUFBwMBBggrBgEFBQcDAjASBgNVHRMBAf8ECDAGAQH/AgEAMHYG\\r\\nCCsGAQUFBwEBBGowaDAkBggrBgEFBQcwAYYYaHR0cDovL29jc3AuZGlnaWNlcnQu\\r\\nY29tMEAGCCsGAQUFBzAChjRodHRwOi8vY2FjZXJ0cy5kaWdpY2VydC5jb20vRGln\\r\\naUNlcnRHbG9iYWxSb290RzIuY3J0MHsGA1UdHwR0MHIwN6A1oDOGMWh0dHA6Ly9j\\r\\ncmwzLmRpZ2ljZXJ0LmNvbS9EaWdpQ2VydEdsb2JhbFJvb3RHMi5jcmwwN6A1oDOG\\r\\nMWh0dHA6Ly9jcmw0LmRpZ2ljZXJ0LmNvbS9EaWdpQ2VydEdsb2JhbFJvb3RHMi5j\\r\\ncmwwHQYDVR0gBBYwFDAIBgZngQwBAgEwCAYGZ4EMAQICMBAGCSsGAQQBgjcVAQQD\\r\\nAgEAMA0GCSqGSIb3DQEBDAUAA4IBAQAzo/KdmWPPTaYLQW7J5DqxEiBT9QyYGUfe\\r\\nZd7TR1837H6DSkFa/mGM1kLwi5y9miZKA9k6T9OwTx8CflcvbNO2UkFW0VCldEGH\\r\\niyx5421+HpRxMQIRjligePtOtRGXwaNOQ7ySWfJhRhKcPKe2PGFHQI7/3n+T3kXQ\\r\\n/SLu2lk9Qs5YgSJ3VhxBUznYn1KVKJWPE07M55kuUgCquAV0PksZj7EC4nK6e/UV\\r\\nbPumlj1nyjlxhvNud4WYmr4ntbBev6cSbK78dpI/3cr7P/WJPYJuL0EsO3MgjS3e\\r\\nDCX7NXp5ylue3TcpQfRU8BL+yZC1wqX98R4ndw7X4qfGaE7SlF7I\\r\\n-----END CERTIFICATE-----\\r\\n\"\r\n },\r\n {\r\n \"pem\": \"\\r\\n-----BEGIN CERTIFICATE-----\\r\\nMIIDjjCCAnagAwIBAgIQAzrx5qcRqaC7KGSxHQn65TANBgkqhkiG9w0BAQsFADBh\\r\\nMQswCQYDVQQGEwJVUzEVMBMGA1UEChMMRGlnaUNlcnQgSW5jMRkwFwYDVQQLExB3\\r\\nd3cuZGlnaWNlcnQuY29tMSAwHgYDVQQDExdEaWdpQ2VydCBHbG9iYWwgUm9vdCBH\\r\\nMjAeFw0xMzA4MDExMjAwMDBaFw0zODAxMTUxMjAwMDBaMGExCzAJBgNVBAYTAlVT\\r\\nMRUwEwYDVQQKEwxEaWdpQ2VydCBJbmMxGTAXBgNVBAsTEHd3dy5kaWdpY2VydC5j\\r\\nb20xIDAeBgNVBAMTF0RpZ2lDZXJ0IEdsb2JhbCBSb290IEcyMIIBIjANBgkqhkiG\\r\\n9w0BAQEFAAOCAQ8AMIIBCgKCAQEAuzfNNNx7a8myaJCtSnX/RrohCgiN9RlUyfuI\\r\\n2/Ou8jqJkTx65qsGGmvPrC3oXgkkRLpimn7Wo6h+4FR1IAWsULecYxpsMNzaHxmx\\r\\n1x7e/dfgy5SDN67sH0NO3Xss0r0upS/kqbitOtSZpLYl6ZtrAGCSYP9PIUkY92eQ\\r\\nq2EGnI/yuum06ZIya7XzV+hdG82MHauVBJVJ8zUtluNJbd134/tJS7SsVQepj5Wz\\r\\ntCO7TG1F8PapspUwtP1MVYwnSlcUfIKdzXOS0xZKBgyMUNGPHgm+F6HmIcr9g+UQ\\r\\nvIOlCsRnKPZzFBQ9RnbDhxSJITRNrw9FDKZJobq7nMWxM4MphQIDAQABo0IwQDAP\\r\\nBgNVHRMBAf8EBTADAQH/MA4GA1UdDwEB/wQEAwIBhjAdBgNVHQ4EFgQUTiJUIBiV\\r\\n5uNu5g/6+rkS7QYXjzkwDQYJKoZIhvcNAQELBQADggEBAGBnKJRvDkhj6zHd6mcY\\r\\n1Yl9PMWLSn/pvtsrF9+wX3N3KjITOYFnQoQj8kVnNeyIv/iPsGEMNKSuIEyExtv4\\r\\nNeF22d+mQrvHRAiGfzZ0JFrabA0UWTW98kndth/Jsw1HKj2ZL7tcu7XUIOGZX1NG\\r\\nFdtom/DzMNU+MeKNhJ7jitralj41E6Vf8PlwUHBHQRFXGU7Aj64GxJUTFy8bJZ91\\r\\n8rGOmaFvE7FBcf6IKshPECBV1/MUReXgRPTqh5Uykw7+U0b6LJ3/iyK5S9kJRaTe\\r\\npLiaWN0bfVKfjllDiIGknibVb63dDcY3fe0Dkhvld1927jyNxF1WW6LZZm6zNTfl\\r\\nMrY=\\r\\n-----END CERTIFICATE-----\\r\\n\"\r\n },\r\n {\r\n \"pem\": \"\\r\\n-----BEGIN CERTIFICATE-----\\r\\nMIIF8zCCBNugAwIBAgIQAueRcfuAIek/4tmDg0xQwDANBgkqhkiG9w0BAQwFADBh\\r\\nMQswCQYDVQQGEwJVUzEVMBMGA1UEChMMRGlnaUNlcnQgSW5jMRkwFwYDVQQLExB3\\r\\nd3cuZGlnaWNlcnQuY29tMSAwHgYDVQQDExdEaWdpQ2VydCBHbG9iYWwgUm9vdCBH\\r\\nMjAeFw0yMDA3MjkxMjMwMDBaFw0yNDA2MjcyMzU5NTlaMFkxCzAJBgNVBAYTAlVT\\r\\nMR4wHAYDVQQKExVNaWNyb3NvZnQgQ29ycG9yYXRpb24xKjAoBgNVBAMTIU1pY3Jv\\r\\nc29mdCBBenVyZSBUTFMgSXNzdWluZyBDQSAwNjCCAiIwDQYJKoZIhvcNAQEBBQAD\\r\\nggIPADCCAgoCggIBALVGARl56bx3KBUSGuPc4H5uoNFkFH4e7pvTCxRi4j/+z+Xb\\r\\nwjEz+5CipDOqjx9/jWjskL5dk7PaQkzItidsAAnDCW1leZBOIi68Lff1bjTeZgMY\\r\\niwdRd3Y39b/lcGpiuP2d23W95YHkMMT8IlWosYIX0f4kYb62rphyfnAjYb/4Od99\\r\\nThnhlAxGtfvSbXcBVIKCYfZgqRvV+5lReUnd1aNjRYVzPOoifgSx2fRyy1+pO1Uz\\r\\naMMNnIOE71bVYW0A1hr19w7kOb0KkJXoALTDDj1ukUEDqQuBfBxReL5mXiu1O7WG\\r\\n0vltg0VZ/SZzctBsdBlx1BkmWYBW261KZgBivrql5ELTKKd8qgtHcLQA5fl6JB0Q\\r\\ngs5XDaWehN86Gps5JW8ArjGtjcWAIP+X8CQaWfaCnuRm6Bk/03PQWhgdi84qwA0s\\r\\nsRfFJwHUPTNSnE8EiGVk2frt0u8PG1pwSQsFuNJfcYIHEv1vOzP7uEOuDydsmCjh\\r\\nlxuoK2n5/2aVR3BMTu+p4+gl8alXoBycyLmj3J/PUgqD8SL5fTCUegGsdia/Sa60\\r\\nN2oV7vQ17wjMN+LXa2rjj/b4ZlZgXVojDmAjDwIRdDUujQu0RVsJqFLMzSIHpp2C\\r\\nZp7mIoLrySay2YYBu7SiNwL95X6He2kS8eefBBHjzwW/9FxGqry57i71c2cDAgMB\\r\\nAAGjggGtMIIBqTAdBgNVHQ4EFgQU1cFnOsKjnfR3UltZEjgp5lVou6UwHwYDVR0j\\r\\nBBgwFoAUTiJUIBiV5uNu5g/6+rkS7QYXjzkwDgYDVR0PAQH/BAQDAgGGMB0GA1Ud\\r\\nJQQWMBQGCCsGAQUFBwMBBggrBgEFBQcDAjASBgNVHRMBAf8ECDAGAQH/AgEAMHYG\\r\\nCCsGAQUFBwEBBGowaDAkBggrBgEFBQcwAYYYaHR0cDovL29jc3AuZGlnaWNlcnQu\\r\\nY29tMEAGCCsGAQUFBzAChjRodHRwOi8vY2FjZXJ0cy5kaWdpY2VydC5jb20vRGln\\r\\naUNlcnRHbG9iYWxSb290RzIuY3J0MHsGA1UdHwR0MHIwN6A1oDOGMWh0dHA6Ly9j\\r\\ncmwzLmRpZ2ljZXJ0LmNvbS9EaWdpQ2VydEdsb2JhbFJvb3RHMi5jcmwwN6A1oDOG\\r\\nMWh0dHA6Ly9jcmw0LmRpZ2ljZXJ0LmNvbS9EaWdpQ2VydEdsb2JhbFJvb3RHMi5j\\r\\ncmwwHQYDVR0gBBYwFDAIBgZngQwBAgEwCAYGZ4EMAQICMBAGCSsGAQQBgjcVAQQD\\r\\nAgEAMA0GCSqGSIb3DQEBDAUAA4IBAQB2oWc93fB8esci/8esixj++N22meiGDjgF\\r\\n+rA2LUK5IOQOgcUSTGKSqF9lYfAxPjrqPjDCUPHCURv+26ad5P/BYtXtbmtxJWu+\\r\\ncS5BhMDPPeG3oPZwXRHBJFAkY4O4AF7RIAAUW6EzDflUoDHKv83zOiPfYGcpHc9s\\r\\nkxAInCedk7QSgXvMARjjOqdakor21DTmNIUotxo8kHv5hwRlGhBJwps6fEVi1Bt0\\r\\ntrpM/3wYxlr473WSPUFZPgP1j519kLpWOJ8z09wxay+Br29irPcBYv0GMXlHqThy\\r\\n8y4m/HyTQeI2IMvMrQnwqPpY+rLIXyviI2vLoI+4xKE4Rn38ZZ8m\\r\\n-----END CERTIFICATE-----\\r\\n\"\r\n }\r\n ],\r\n \"externalSeedNodes\": [\r\n {\r\n \"ipAddress\": \"10.0.1.1\"\r\n }\r\n ],\r\n \"prometheusEndpoint\": {\r\n \"ipAddress\": \"127.0.0.1\"\r\n },\r\n \"seedNodes\": []\r\n }\r\n}", - "StatusCode": 200 - }, - { - "RequestUri": "/subscriptions/dd31ecae-4522-468e-8b27-5befd051dd53/resourceGroups/CosmosDBResourceGroup9148/providers/Microsoft.DocumentDB/cassandraClusters/managedcluster54?api-version=2021-03-01-preview", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZGQzMWVjYWUtNDUyMi00NjhlLThiMjctNWJlZmQwNTFkZDUzL3Jlc291cmNlR3JvdXBzL0Nvc21vc0RCUmVzb3VyY2VHcm91cDkxNDgvcHJvdmlkZXJzL01pY3Jvc29mdC5Eb2N1bWVudERCL2Nhc3NhbmRyYUNsdXN0ZXJzL21hbmFnZWRjbHVzdGVyNTQ/YXBpLXZlcnNpb249MjAyMS0wMy0wMS1wcmV2aWV3", - "RequestMethod": "GET", - "RequestBody": "", - "RequestHeaders": { - "User-Agent": [ - "FxVersion/4.6.28207.03", - "OSName/Windows", - "OSVersion/Microsoft.Windows.10.0.19042.", - "Microsoft.Azure.Management.CosmosDB.CosmosDBManagementClient/2.1.0.0" - ] - }, - "ResponseHeaders": { - "Cache-Control": [ - "no-store, no-cache" - ], - "Pragma": [ - "no-cache" - ], - "Strict-Transport-Security": [ - "max-age=31536000; includeSubDomains" - ], - "x-ms-gatewayversion": [ - "version=2.11.0" - ], - "Server": [ - "Microsoft-HTTPAPI/2.0" - ], - "x-ms-ratelimit-remaining-subscription-reads": [ - "11990" - ], - "x-ms-request-id": [ - "46dcbbea-3f65-4ffc-9795-4b9afcf4acf6" - ], - "x-ms-correlation-request-id": [ - "46dcbbea-3f65-4ffc-9795-4b9afcf4acf6" - ], - "x-ms-routing-request-id": [ - "WESTUS2:20210304T173641Z:46dcbbea-3f65-4ffc-9795-4b9afcf4acf6" - ], - "X-Content-Type-Options": [ - "nosniff" - ], - "Date": [ - "Thu, 04 Mar 2021 17:36:40 GMT" - ], - "Content-Length": [ - "8921" - ], - "Content-Type": [ - "application/json" - ] - }, - "ResponseBody": "{\r\n \"id\": \"/subscriptions/dd31ecae-4522-468e-8b27-5befd051dd53/resourceGroups/CosmosDBResourceGroup9148/providers/Microsoft.DocumentDB/cassandraClusters/managedcluster54\",\r\n \"name\": \"managedcluster54\",\r\n \"type\": \"Microsoft.DocumentDB/cassandraClusters\",\r\n \"location\": \"East US 2\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"delegatedManagementSubnetId\": \"/subscriptions/dd31ecae-4522-468e-8b27-5befd051dd53/resourceGroups/CosmosDBResourceGroup9148/providers/Microsoft.Network/virtualNetworks/CosmosDBVirtualNetwork840/subnets/cassandra-subnet\",\r\n \"clusterNameOverride\": \"managedcluster54\",\r\n \"authenticationMethod\": \"Cassandra\",\r\n \"hoursBetweenBackups\": 0,\r\n \"clientCertificates\": [],\r\n \"externalGossipCertificates\": [],\r\n \"gossipCertificates\": [\r\n {\r\n \"pem\": \"\\r\\n-----BEGIN CERTIFICATE-----\\r\\nMIIF8zCCBNugAwIBAgIQCq+mxcpjxFFB6jvh98dTFzANBgkqhkiG9w0BAQwFADBh\\r\\nMQswCQYDVQQGEwJVUzEVMBMGA1UEChMMRGlnaUNlcnQgSW5jMRkwFwYDVQQLExB3\\r\\nd3cuZGlnaWNlcnQuY29tMSAwHgYDVQQDExdEaWdpQ2VydCBHbG9iYWwgUm9vdCBH\\r\\nMjAeFw0yMDA3MjkxMjMwMDBaFw0yNDA2MjcyMzU5NTlaMFkxCzAJBgNVBAYTAlVT\\r\\nMR4wHAYDVQQKExVNaWNyb3NvZnQgQ29ycG9yYXRpb24xKjAoBgNVBAMTIU1pY3Jv\\r\\nc29mdCBBenVyZSBUTFMgSXNzdWluZyBDQSAwMTCCAiIwDQYJKoZIhvcNAQEBBQAD\\r\\nggIPADCCAgoCggIBAMedcDrkXufP7pxVm1FHLDNA9IjwHaMoaY8arqqZ4Gff4xyr\\r\\nRygnavXL7g12MPAx8Q6Dd9hfBzrfWxkF0Br2wIvlvkzW01naNVSkHp+OS3hL3W6n\\r\\nl/jYvZnVeJXjtsKYcXIf/6WtspcF5awlQ9LZJcjwaH7KoZuK+THpXCMtzD8XNVdm\\r\\nGW/JI0C/7U/E7evXn9XDio8SYkGSM63aLO5BtLCv092+1d4GGBSQYolRq+7Pd1kR\\r\\nEkWBPm0ywZ2Vb8GIS5DLrjelEkBnKCyy3B0yQud9dpVsiUeE7F5sY8Me96WVxQcb\\r\\nOyYdEY/j/9UpDlOG+vA+YgOvBhkKEjiqygVpP8EZoMMijephzg43b5Qi9r5UrvYo\\r\\no19oR/8pf4HJNDPF0/FJwFVMW8PmCBLGstin3NE1+NeWTkGt0TzpHjgKyfaDP2tO\\r\\n4bCk1G7pP2kDFT7SYfc8xbgCkFQ2UCEXsaH/f5YmpLn4YPiNFCeeIida7xnfTvc4\\r\\n7IxyVccHHq1FzGygOqemrxEETKh8hvDR6eBdrBwmCHVgZrnAqnn93JtGyPLi6+cj\\r\\nWGVGtMZHwzVvX1HvSFG771sskcEjJxiQNQDQRWHEh3NxvNb7kFlAXnVdRkkvhjpR\\r\\nGchFhTAzqmwltdWhWDEyCMKC2x/mSZvZtlZGY+g37Y72qHzidwtyW7rBetZJAgMB\\r\\nAAGjggGtMIIBqTAdBgNVHQ4EFgQUDyBd16FXlduSzyvQx8J3BM5ygHYwHwYDVR0j\\r\\nBBgwFoAUTiJUIBiV5uNu5g/6+rkS7QYXjzkwDgYDVR0PAQH/BAQDAgGGMB0GA1Ud\\r\\nJQQWMBQGCCsGAQUFBwMBBggrBgEFBQcDAjASBgNVHRMBAf8ECDAGAQH/AgEAMHYG\\r\\nCCsGAQUFBwEBBGowaDAkBggrBgEFBQcwAYYYaHR0cDovL29jc3AuZGlnaWNlcnQu\\r\\nY29tMEAGCCsGAQUFBzAChjRodHRwOi8vY2FjZXJ0cy5kaWdpY2VydC5jb20vRGln\\r\\naUNlcnRHbG9iYWxSb290RzIuY3J0MHsGA1UdHwR0MHIwN6A1oDOGMWh0dHA6Ly9j\\r\\ncmwzLmRpZ2ljZXJ0LmNvbS9EaWdpQ2VydEdsb2JhbFJvb3RHMi5jcmwwN6A1oDOG\\r\\nMWh0dHA6Ly9jcmw0LmRpZ2ljZXJ0LmNvbS9EaWdpQ2VydEdsb2JhbFJvb3RHMi5j\\r\\ncmwwHQYDVR0gBBYwFDAIBgZngQwBAgEwCAYGZ4EMAQICMBAGCSsGAQQBgjcVAQQD\\r\\nAgEAMA0GCSqGSIb3DQEBDAUAA4IBAQAlFvNh7QgXVLAZSsNR2XRmIn9iS8OHFCBA\\r\\nWxKJoi8YYQafpMTkMqeuzoL3HWb1pYEipsDkhiMnrpfeYZEA7Lz7yqEEtfgHcEBs\\r\\nK9KcStQGGZRfmWU07hPXHnFz+5gTXqzCE2PBMlRgVUYJiA25mJPXfB00gDvGhtYa\\r\\n+mENwM9Bq1B9YYLyLjRtUz8cyGsdyTIG/bBM/Q9jcV8JGqMU/UjAdh1pFyTnnHEl\\r\\nY59Npi7F87ZqYYJEHJM2LGD+le8VsHjgeWX2CJQko7klXvcizuZvUEDTjHaQcs2J\\r\\n+kPgfyMIOY1DMJ21NxOJ2xPRC/wAh/hzSBRVtoAnyuxtkZ4VjIOh\\r\\n-----END CERTIFICATE-----\\r\\n\"\r\n },\r\n {\r\n \"pem\": \"\\r\\n-----BEGIN CERTIFICATE-----\\r\\nMIIF8zCCBNugAwIBAgIQDGrpfM7VmYOGkKAKnqUyFDANBgkqhkiG9w0BAQwFADBh\\r\\nMQswCQYDVQQGEwJVUzEVMBMGA1UEChMMRGlnaUNlcnQgSW5jMRkwFwYDVQQLExB3\\r\\nd3cuZGlnaWNlcnQuY29tMSAwHgYDVQQDExdEaWdpQ2VydCBHbG9iYWwgUm9vdCBH\\r\\nMjAeFw0yMDA3MjkxMjMwMDBaFw0yNDA2MjcyMzU5NTlaMFkxCzAJBgNVBAYTAlVT\\r\\nMR4wHAYDVQQKExVNaWNyb3NvZnQgQ29ycG9yYXRpb24xKjAoBgNVBAMTIU1pY3Jv\\r\\nc29mdCBBenVyZSBUTFMgSXNzdWluZyBDQSAwMjCCAiIwDQYJKoZIhvcNAQEBBQAD\\r\\nggIPADCCAgoCggIBAOBiO1K6Fk4fHI6t3mJkpg7lxoeUgL8tz9wuI2z0UgY8vFra\\r\\n3VBo7QznC4K3s9jqKWEyIQY11Le0108bSYa/TK0aioO6itpGiigEG+vH/iqtQXPS\\r\\nu6D804ri0NFZ1SOP9IzjYuQiK6AWntCqP4WAcZAPtpNrNLPBIyiqmiTDS4dlFg1d\\r\\nskMuVpT4z0MpgEMmxQnrSZ615rBQ25vnVbBNig04FCsh1V3S8ve5Gzh08oIrL/g5\\r\\nxq95oRrgEeOBIeiegQpoKrLYyo3R1Tt48HmSJCBYQ52Qc34RgxQdZsLXMUrWuL1J\\r\\nLAZP6yeo47ySSxKCjhq5/AUWvQBP3N/cP/iJzKKKw23qJ/kkVrE0DSVDiIiXWF0c\\r\\n9abSGhYl9SPl86IHcIAIzwelJ4SKpHrVbh0/w4YHdFi5QbdAp7O5KxfxBYhQOeHy\\r\\nis01zkpYn6SqUFGvbK8eZ8y9Aclt8PIUftMG6q5BhdlBZkDDV3n70RlXwYvllzfZ\\r\\n/nV94l+hYp+GLW7jSmpxZLG/XEz4OXtTtWwLV+IkIOe/EDF79KCazW2SXOIvVInP\\r\\noi1PqN4TudNv0GyBF5tRC/aBjUqply1YYfeKwgRVs83z5kuiOicmdGZKH9SqU5bn\\r\\nKse7IlyfZLg6yAxYyTNe7A9acJ3/pGmCIkJ/9dfLUFc4hYb3YyIIYGmqm2/3AgMB\\r\\nAAGjggGtMIIBqTAdBgNVHQ4EFgQUAKuR/CFiJpeaqHkbYUGQYKliZ/0wHwYDVR0j\\r\\nBBgwFoAUTiJUIBiV5uNu5g/6+rkS7QYXjzkwDgYDVR0PAQH/BAQDAgGGMB0GA1Ud\\r\\nJQQWMBQGCCsGAQUFBwMBBggrBgEFBQcDAjASBgNVHRMBAf8ECDAGAQH/AgEAMHYG\\r\\nCCsGAQUFBwEBBGowaDAkBggrBgEFBQcwAYYYaHR0cDovL29jc3AuZGlnaWNlcnQu\\r\\nY29tMEAGCCsGAQUFBzAChjRodHRwOi8vY2FjZXJ0cy5kaWdpY2VydC5jb20vRGln\\r\\naUNlcnRHbG9iYWxSb290RzIuY3J0MHsGA1UdHwR0MHIwN6A1oDOGMWh0dHA6Ly9j\\r\\ncmwzLmRpZ2ljZXJ0LmNvbS9EaWdpQ2VydEdsb2JhbFJvb3RHMi5jcmwwN6A1oDOG\\r\\nMWh0dHA6Ly9jcmw0LmRpZ2ljZXJ0LmNvbS9EaWdpQ2VydEdsb2JhbFJvb3RHMi5j\\r\\ncmwwHQYDVR0gBBYwFDAIBgZngQwBAgEwCAYGZ4EMAQICMBAGCSsGAQQBgjcVAQQD\\r\\nAgEAMA0GCSqGSIb3DQEBDAUAA4IBAQAzo/KdmWPPTaYLQW7J5DqxEiBT9QyYGUfe\\r\\nZd7TR1837H6DSkFa/mGM1kLwi5y9miZKA9k6T9OwTx8CflcvbNO2UkFW0VCldEGH\\r\\niyx5421+HpRxMQIRjligePtOtRGXwaNOQ7ySWfJhRhKcPKe2PGFHQI7/3n+T3kXQ\\r\\n/SLu2lk9Qs5YgSJ3VhxBUznYn1KVKJWPE07M55kuUgCquAV0PksZj7EC4nK6e/UV\\r\\nbPumlj1nyjlxhvNud4WYmr4ntbBev6cSbK78dpI/3cr7P/WJPYJuL0EsO3MgjS3e\\r\\nDCX7NXp5ylue3TcpQfRU8BL+yZC1wqX98R4ndw7X4qfGaE7SlF7I\\r\\n-----END CERTIFICATE-----\\r\\n\"\r\n },\r\n {\r\n \"pem\": \"\\r\\n-----BEGIN CERTIFICATE-----\\r\\nMIIDjjCCAnagAwIBAgIQAzrx5qcRqaC7KGSxHQn65TANBgkqhkiG9w0BAQsFADBh\\r\\nMQswCQYDVQQGEwJVUzEVMBMGA1UEChMMRGlnaUNlcnQgSW5jMRkwFwYDVQQLExB3\\r\\nd3cuZGlnaWNlcnQuY29tMSAwHgYDVQQDExdEaWdpQ2VydCBHbG9iYWwgUm9vdCBH\\r\\nMjAeFw0xMzA4MDExMjAwMDBaFw0zODAxMTUxMjAwMDBaMGExCzAJBgNVBAYTAlVT\\r\\nMRUwEwYDVQQKEwxEaWdpQ2VydCBJbmMxGTAXBgNVBAsTEHd3dy5kaWdpY2VydC5j\\r\\nb20xIDAeBgNVBAMTF0RpZ2lDZXJ0IEdsb2JhbCBSb290IEcyMIIBIjANBgkqhkiG\\r\\n9w0BAQEFAAOCAQ8AMIIBCgKCAQEAuzfNNNx7a8myaJCtSnX/RrohCgiN9RlUyfuI\\r\\n2/Ou8jqJkTx65qsGGmvPrC3oXgkkRLpimn7Wo6h+4FR1IAWsULecYxpsMNzaHxmx\\r\\n1x7e/dfgy5SDN67sH0NO3Xss0r0upS/kqbitOtSZpLYl6ZtrAGCSYP9PIUkY92eQ\\r\\nq2EGnI/yuum06ZIya7XzV+hdG82MHauVBJVJ8zUtluNJbd134/tJS7SsVQepj5Wz\\r\\ntCO7TG1F8PapspUwtP1MVYwnSlcUfIKdzXOS0xZKBgyMUNGPHgm+F6HmIcr9g+UQ\\r\\nvIOlCsRnKPZzFBQ9RnbDhxSJITRNrw9FDKZJobq7nMWxM4MphQIDAQABo0IwQDAP\\r\\nBgNVHRMBAf8EBTADAQH/MA4GA1UdDwEB/wQEAwIBhjAdBgNVHQ4EFgQUTiJUIBiV\\r\\n5uNu5g/6+rkS7QYXjzkwDQYJKoZIhvcNAQELBQADggEBAGBnKJRvDkhj6zHd6mcY\\r\\n1Yl9PMWLSn/pvtsrF9+wX3N3KjITOYFnQoQj8kVnNeyIv/iPsGEMNKSuIEyExtv4\\r\\nNeF22d+mQrvHRAiGfzZ0JFrabA0UWTW98kndth/Jsw1HKj2ZL7tcu7XUIOGZX1NG\\r\\nFdtom/DzMNU+MeKNhJ7jitralj41E6Vf8PlwUHBHQRFXGU7Aj64GxJUTFy8bJZ91\\r\\n8rGOmaFvE7FBcf6IKshPECBV1/MUReXgRPTqh5Uykw7+U0b6LJ3/iyK5S9kJRaTe\\r\\npLiaWN0bfVKfjllDiIGknibVb63dDcY3fe0Dkhvld1927jyNxF1WW6LZZm6zNTfl\\r\\nMrY=\\r\\n-----END CERTIFICATE-----\\r\\n\"\r\n },\r\n {\r\n \"pem\": \"\\r\\n-----BEGIN CERTIFICATE-----\\r\\nMIIF8zCCBNugAwIBAgIQAueRcfuAIek/4tmDg0xQwDANBgkqhkiG9w0BAQwFADBh\\r\\nMQswCQYDVQQGEwJVUzEVMBMGA1UEChMMRGlnaUNlcnQgSW5jMRkwFwYDVQQLExB3\\r\\nd3cuZGlnaWNlcnQuY29tMSAwHgYDVQQDExdEaWdpQ2VydCBHbG9iYWwgUm9vdCBH\\r\\nMjAeFw0yMDA3MjkxMjMwMDBaFw0yNDA2MjcyMzU5NTlaMFkxCzAJBgNVBAYTAlVT\\r\\nMR4wHAYDVQQKExVNaWNyb3NvZnQgQ29ycG9yYXRpb24xKjAoBgNVBAMTIU1pY3Jv\\r\\nc29mdCBBenVyZSBUTFMgSXNzdWluZyBDQSAwNjCCAiIwDQYJKoZIhvcNAQEBBQAD\\r\\nggIPADCCAgoCggIBALVGARl56bx3KBUSGuPc4H5uoNFkFH4e7pvTCxRi4j/+z+Xb\\r\\nwjEz+5CipDOqjx9/jWjskL5dk7PaQkzItidsAAnDCW1leZBOIi68Lff1bjTeZgMY\\r\\niwdRd3Y39b/lcGpiuP2d23W95YHkMMT8IlWosYIX0f4kYb62rphyfnAjYb/4Od99\\r\\nThnhlAxGtfvSbXcBVIKCYfZgqRvV+5lReUnd1aNjRYVzPOoifgSx2fRyy1+pO1Uz\\r\\naMMNnIOE71bVYW0A1hr19w7kOb0KkJXoALTDDj1ukUEDqQuBfBxReL5mXiu1O7WG\\r\\n0vltg0VZ/SZzctBsdBlx1BkmWYBW261KZgBivrql5ELTKKd8qgtHcLQA5fl6JB0Q\\r\\ngs5XDaWehN86Gps5JW8ArjGtjcWAIP+X8CQaWfaCnuRm6Bk/03PQWhgdi84qwA0s\\r\\nsRfFJwHUPTNSnE8EiGVk2frt0u8PG1pwSQsFuNJfcYIHEv1vOzP7uEOuDydsmCjh\\r\\nlxuoK2n5/2aVR3BMTu+p4+gl8alXoBycyLmj3J/PUgqD8SL5fTCUegGsdia/Sa60\\r\\nN2oV7vQ17wjMN+LXa2rjj/b4ZlZgXVojDmAjDwIRdDUujQu0RVsJqFLMzSIHpp2C\\r\\nZp7mIoLrySay2YYBu7SiNwL95X6He2kS8eefBBHjzwW/9FxGqry57i71c2cDAgMB\\r\\nAAGjggGtMIIBqTAdBgNVHQ4EFgQU1cFnOsKjnfR3UltZEjgp5lVou6UwHwYDVR0j\\r\\nBBgwFoAUTiJUIBiV5uNu5g/6+rkS7QYXjzkwDgYDVR0PAQH/BAQDAgGGMB0GA1Ud\\r\\nJQQWMBQGCCsGAQUFBwMBBggrBgEFBQcDAjASBgNVHRMBAf8ECDAGAQH/AgEAMHYG\\r\\nCCsGAQUFBwEBBGowaDAkBggrBgEFBQcwAYYYaHR0cDovL29jc3AuZGlnaWNlcnQu\\r\\nY29tMEAGCCsGAQUFBzAChjRodHRwOi8vY2FjZXJ0cy5kaWdpY2VydC5jb20vRGln\\r\\naUNlcnRHbG9iYWxSb290RzIuY3J0MHsGA1UdHwR0MHIwN6A1oDOGMWh0dHA6Ly9j\\r\\ncmwzLmRpZ2ljZXJ0LmNvbS9EaWdpQ2VydEdsb2JhbFJvb3RHMi5jcmwwN6A1oDOG\\r\\nMWh0dHA6Ly9jcmw0LmRpZ2ljZXJ0LmNvbS9EaWdpQ2VydEdsb2JhbFJvb3RHMi5j\\r\\ncmwwHQYDVR0gBBYwFDAIBgZngQwBAgEwCAYGZ4EMAQICMBAGCSsGAQQBgjcVAQQD\\r\\nAgEAMA0GCSqGSIb3DQEBDAUAA4IBAQB2oWc93fB8esci/8esixj++N22meiGDjgF\\r\\n+rA2LUK5IOQOgcUSTGKSqF9lYfAxPjrqPjDCUPHCURv+26ad5P/BYtXtbmtxJWu+\\r\\ncS5BhMDPPeG3oPZwXRHBJFAkY4O4AF7RIAAUW6EzDflUoDHKv83zOiPfYGcpHc9s\\r\\nkxAInCedk7QSgXvMARjjOqdakor21DTmNIUotxo8kHv5hwRlGhBJwps6fEVi1Bt0\\r\\ntrpM/3wYxlr473WSPUFZPgP1j519kLpWOJ8z09wxay+Br29irPcBYv0GMXlHqThy\\r\\n8y4m/HyTQeI2IMvMrQnwqPpY+rLIXyviI2vLoI+4xKE4Rn38ZZ8m\\r\\n-----END CERTIFICATE-----\\r\\n\"\r\n }\r\n ],\r\n \"externalSeedNodes\": [\r\n {\r\n \"ipAddress\": \"10.0.1.1\"\r\n }\r\n ],\r\n \"prometheusEndpoint\": {\r\n \"ipAddress\": \"127.0.0.1\"\r\n },\r\n \"seedNodes\": []\r\n }\r\n}", - "StatusCode": 200 - }, - { - "RequestUri": "/subscriptions/dd31ecae-4522-468e-8b27-5befd051dd53/resourceGroups/CosmosDBResourceGroup9148/providers/Microsoft.DocumentDB/cassandraClusters/managedcluster54/dataCenters/managedDC5187?api-version=2021-03-01-preview", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZGQzMWVjYWUtNDUyMi00NjhlLThiMjctNWJlZmQwNTFkZDUzL3Jlc291cmNlR3JvdXBzL0Nvc21vc0RCUmVzb3VyY2VHcm91cDkxNDgvcHJvdmlkZXJzL01pY3Jvc29mdC5Eb2N1bWVudERCL2Nhc3NhbmRyYUNsdXN0ZXJzL21hbmFnZWRjbHVzdGVyNTQvZGF0YUNlbnRlcnMvbWFuYWdlZERDNTE4Nz9hcGktdmVyc2lvbj0yMDIxLTAzLTAxLXByZXZpZXc=", - "RequestMethod": "PUT", - "RequestBody": "{\r\n \"properties\": {\r\n \"dataCenterLocation\": \"East US 2\",\r\n \"delegatedSubnetId\": \"/subscriptions/dd31ecae-4522-468e-8b27-5befd051dd53/resourceGroups/CosmosDBResourceGroup9148/providers/Microsoft.Network/virtualNetworks/CosmosDBVirtualNetwork840/subnets/cassandra-subnet\",\r\n \"nodeCount\": 3\r\n }\r\n}", - "RequestHeaders": { - "x-ms-client-request-id": [ - "1effe6e4-60e1-4736-8f5a-dad52b088f88" - ], - "Accept-Language": [ - "en-US" - ], - "User-Agent": [ - "FxVersion/4.6.28207.03", - "OSName/Windows", - "OSVersion/Microsoft.Windows.10.0.19042.", - "Microsoft.Azure.Management.CosmosDB.CosmosDBManagementClient/2.1.0.0" - ], - "Content-Type": [ - "application/json; charset=utf-8" - ], - "Content-Length": [ - "305" - ] - }, - "ResponseHeaders": { - "Cache-Control": [ - "no-store, no-cache" - ], - "Pragma": [ - "no-cache" - ], - "Azure-AsyncOperation": [ - "https://management.azure.com/subscriptions/dd31ecae-4522-468e-8b27-5befd051dd53/providers/Microsoft.DocumentDB/locations/eastus2/operationsStatus/0ab744bd-9bb9-4e36-8dc9-5ceb12b9bdf9?api-version=2021-03-01-preview" - ], - "x-ms-request-id": [ - "0ab744bd-9bb9-4e36-8dc9-5ceb12b9bdf9" - ], - "Strict-Transport-Security": [ - "max-age=31536000; includeSubDomains" - ], - "x-ms-gatewayversion": [ - "version=2.11.0" - ], - "Server": [ - "Microsoft-HTTPAPI/2.0" - ], - "x-ms-ratelimit-remaining-subscription-writes": [ - "1197" - ], - "x-ms-correlation-request-id": [ - "450ebe17-a665-4c08-af58-6cce6afea876" - ], - "x-ms-routing-request-id": [ - "WESTUS2:20210304T173642Z:450ebe17-a665-4c08-af58-6cce6afea876" - ], - "X-Content-Type-Options": [ - "nosniff" - ], - "Date": [ - "Thu, 04 Mar 2021 17:36:41 GMT" - ], - "Content-Length": [ - "651" - ], - "Content-Type": [ - "application/json" - ] - }, - "ResponseBody": "{\r\n \"id\": \"/subscriptions/dd31ecae-4522-468e-8b27-5befd051dd53/resourceGroups/CosmosDBResourceGroup9148/providers/Microsoft.DocumentDB/cassandraClusters/managedcluster54/dataCenters/managedDC5187\",\r\n \"name\": \"managedcluster54/managedDC5187\",\r\n \"type\": \"Microsoft.DocumentDB/cassandraClusters/dataCenters\",\r\n \"properties\": {\r\n \"provisioningState\": \"Creating\",\r\n \"dataCenterLocation\": \"East US 2\",\r\n \"delegatedSubnetId\": \"/subscriptions/dd31ecae-4522-468e-8b27-5befd051dd53/resourceGroups/CosmosDBResourceGroup9148/providers/Microsoft.Network/virtualNetworks/CosmosDBVirtualNetwork840/subnets/cassandra-subnet\",\r\n \"nodeCount\": 3,\r\n \"seedNodes\": [],\r\n \"base64EncodedCassandraYamlFragment\": \"\"\r\n }\r\n}", - "StatusCode": 201 - }, - { - "RequestUri": "/subscriptions/dd31ecae-4522-468e-8b27-5befd051dd53/providers/Microsoft.DocumentDB/locations/eastus2/operationsStatus/0ab744bd-9bb9-4e36-8dc9-5ceb12b9bdf9?api-version=2021-03-01-preview", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZGQzMWVjYWUtNDUyMi00NjhlLThiMjctNWJlZmQwNTFkZDUzL3Byb3ZpZGVycy9NaWNyb3NvZnQuRG9jdW1lbnREQi9sb2NhdGlvbnMvZWFzdHVzMi9vcGVyYXRpb25zU3RhdHVzLzBhYjc0NGJkLTliYjktNGUzNi04ZGM5LTVjZWIxMmI5YmRmOT9hcGktdmVyc2lvbj0yMDIxLTAzLTAxLXByZXZpZXc=", - "RequestMethod": "GET", - "RequestBody": "", - "RequestHeaders": { - "User-Agent": [ - "FxVersion/4.6.28207.03", - "OSName/Windows", - "OSVersion/Microsoft.Windows.10.0.19042.", - "Microsoft.Azure.Management.CosmosDB.CosmosDBManagementClient/2.1.0.0" - ] - }, - "ResponseHeaders": { - "Cache-Control": [ - "no-store, no-cache" - ], - "Pragma": [ - "no-cache" - ], - "Strict-Transport-Security": [ - "max-age=31536000; includeSubDomains" - ], - "x-ms-gatewayversion": [ - "version=2.11.0" - ], - "Server": [ - "Microsoft-HTTPAPI/2.0" - ], - "x-ms-ratelimit-remaining-subscription-reads": [ - "11989" - ], - "x-ms-request-id": [ - "818f930d-a544-4d89-af46-5472c4559a1f" - ], - "x-ms-correlation-request-id": [ - "818f930d-a544-4d89-af46-5472c4559a1f" - ], - "x-ms-routing-request-id": [ - "WESTUS2:20210304T173712Z:818f930d-a544-4d89-af46-5472c4559a1f" - ], - "X-Content-Type-Options": [ - "nosniff" - ], - "Date": [ - "Thu, 04 Mar 2021 17:37:12 GMT" - ], - "Content-Length": [ - "21" - ], - "Content-Type": [ - "application/json" - ] - }, - "ResponseBody": "{\r\n \"status\": \"Dequeued\"\r\n}", - "StatusCode": 200 - }, - { - "RequestUri": "/subscriptions/dd31ecae-4522-468e-8b27-5befd051dd53/providers/Microsoft.DocumentDB/locations/eastus2/operationsStatus/0ab744bd-9bb9-4e36-8dc9-5ceb12b9bdf9?api-version=2021-03-01-preview", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZGQzMWVjYWUtNDUyMi00NjhlLThiMjctNWJlZmQwNTFkZDUzL3Byb3ZpZGVycy9NaWNyb3NvZnQuRG9jdW1lbnREQi9sb2NhdGlvbnMvZWFzdHVzMi9vcGVyYXRpb25zU3RhdHVzLzBhYjc0NGJkLTliYjktNGUzNi04ZGM5LTVjZWIxMmI5YmRmOT9hcGktdmVyc2lvbj0yMDIxLTAzLTAxLXByZXZpZXc=", - "RequestMethod": "GET", - "RequestBody": "", - "RequestHeaders": { - "User-Agent": [ - "FxVersion/4.6.28207.03", - "OSName/Windows", - "OSVersion/Microsoft.Windows.10.0.19042.", - "Microsoft.Azure.Management.CosmosDB.CosmosDBManagementClient/2.1.0.0" - ] - }, - "ResponseHeaders": { - "Cache-Control": [ - "no-store, no-cache" - ], - "Pragma": [ - "no-cache" - ], - "Strict-Transport-Security": [ - "max-age=31536000; includeSubDomains" - ], - "x-ms-gatewayversion": [ - "version=2.11.0" - ], - "Server": [ - "Microsoft-HTTPAPI/2.0" - ], - "x-ms-ratelimit-remaining-subscription-reads": [ - "11988" - ], - "x-ms-request-id": [ - "3ac83d37-f266-400b-9098-fccffbea7450" - ], - "x-ms-correlation-request-id": [ - "3ac83d37-f266-400b-9098-fccffbea7450" - ], - "x-ms-routing-request-id": [ - "WESTUS2:20210304T173742Z:3ac83d37-f266-400b-9098-fccffbea7450" - ], - "X-Content-Type-Options": [ - "nosniff" - ], - "Date": [ - "Thu, 04 Mar 2021 17:37:41 GMT" - ], - "Content-Length": [ - "21" - ], - "Content-Type": [ - "application/json" - ] - }, - "ResponseBody": "{\r\n \"status\": \"Dequeued\"\r\n}", - "StatusCode": 200 - }, - { - "RequestUri": "/subscriptions/dd31ecae-4522-468e-8b27-5befd051dd53/providers/Microsoft.DocumentDB/locations/eastus2/operationsStatus/0ab744bd-9bb9-4e36-8dc9-5ceb12b9bdf9?api-version=2021-03-01-preview", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZGQzMWVjYWUtNDUyMi00NjhlLThiMjctNWJlZmQwNTFkZDUzL3Byb3ZpZGVycy9NaWNyb3NvZnQuRG9jdW1lbnREQi9sb2NhdGlvbnMvZWFzdHVzMi9vcGVyYXRpb25zU3RhdHVzLzBhYjc0NGJkLTliYjktNGUzNi04ZGM5LTVjZWIxMmI5YmRmOT9hcGktdmVyc2lvbj0yMDIxLTAzLTAxLXByZXZpZXc=", - "RequestMethod": "GET", - "RequestBody": "", - "RequestHeaders": { - "User-Agent": [ - "FxVersion/4.6.28207.03", - "OSName/Windows", - "OSVersion/Microsoft.Windows.10.0.19042.", - "Microsoft.Azure.Management.CosmosDB.CosmosDBManagementClient/2.1.0.0" - ] - }, - "ResponseHeaders": { - "Cache-Control": [ - "no-store, no-cache" - ], - "Pragma": [ - "no-cache" - ], - "Strict-Transport-Security": [ - "max-age=31536000; includeSubDomains" - ], - "x-ms-gatewayversion": [ - "version=2.11.0" - ], - "Server": [ - "Microsoft-HTTPAPI/2.0" - ], - "x-ms-ratelimit-remaining-subscription-reads": [ - "11987" - ], - "x-ms-request-id": [ - "31c6a67e-959b-45ce-bc8c-2b7f552157e9" - ], - "x-ms-correlation-request-id": [ - "31c6a67e-959b-45ce-bc8c-2b7f552157e9" - ], - "x-ms-routing-request-id": [ - "WESTUS2:20210304T173812Z:31c6a67e-959b-45ce-bc8c-2b7f552157e9" - ], - "X-Content-Type-Options": [ - "nosniff" - ], - "Date": [ - "Thu, 04 Mar 2021 17:38:12 GMT" - ], - "Content-Length": [ - "21" - ], - "Content-Type": [ - "application/json" - ] - }, - "ResponseBody": "{\r\n \"status\": \"Dequeued\"\r\n}", - "StatusCode": 200 - }, - { - "RequestUri": "/subscriptions/dd31ecae-4522-468e-8b27-5befd051dd53/providers/Microsoft.DocumentDB/locations/eastus2/operationsStatus/0ab744bd-9bb9-4e36-8dc9-5ceb12b9bdf9?api-version=2021-03-01-preview", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZGQzMWVjYWUtNDUyMi00NjhlLThiMjctNWJlZmQwNTFkZDUzL3Byb3ZpZGVycy9NaWNyb3NvZnQuRG9jdW1lbnREQi9sb2NhdGlvbnMvZWFzdHVzMi9vcGVyYXRpb25zU3RhdHVzLzBhYjc0NGJkLTliYjktNGUzNi04ZGM5LTVjZWIxMmI5YmRmOT9hcGktdmVyc2lvbj0yMDIxLTAzLTAxLXByZXZpZXc=", - "RequestMethod": "GET", - "RequestBody": "", - "RequestHeaders": { - "User-Agent": [ - "FxVersion/4.6.28207.03", - "OSName/Windows", - "OSVersion/Microsoft.Windows.10.0.19042.", - "Microsoft.Azure.Management.CosmosDB.CosmosDBManagementClient/2.1.0.0" - ] - }, - "ResponseHeaders": { - "Cache-Control": [ - "no-store, no-cache" - ], - "Pragma": [ - "no-cache" - ], - "Strict-Transport-Security": [ - "max-age=31536000; includeSubDomains" - ], - "x-ms-gatewayversion": [ - "version=2.11.0" - ], - "Server": [ - "Microsoft-HTTPAPI/2.0" - ], - "x-ms-ratelimit-remaining-subscription-reads": [ - "11986" - ], - "x-ms-request-id": [ - "a5c5ce1b-1546-4524-89c1-171e00a7bc37" - ], - "x-ms-correlation-request-id": [ - "a5c5ce1b-1546-4524-89c1-171e00a7bc37" - ], - "x-ms-routing-request-id": [ - "WESTUS2:20210304T173842Z:a5c5ce1b-1546-4524-89c1-171e00a7bc37" - ], - "X-Content-Type-Options": [ - "nosniff" - ], - "Date": [ - "Thu, 04 Mar 2021 17:38:42 GMT" - ], - "Content-Length": [ - "21" - ], - "Content-Type": [ - "application/json" - ] - }, - "ResponseBody": "{\r\n \"status\": \"Dequeued\"\r\n}", - "StatusCode": 200 - }, - { - "RequestUri": "/subscriptions/dd31ecae-4522-468e-8b27-5befd051dd53/providers/Microsoft.DocumentDB/locations/eastus2/operationsStatus/0ab744bd-9bb9-4e36-8dc9-5ceb12b9bdf9?api-version=2021-03-01-preview", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZGQzMWVjYWUtNDUyMi00NjhlLThiMjctNWJlZmQwNTFkZDUzL3Byb3ZpZGVycy9NaWNyb3NvZnQuRG9jdW1lbnREQi9sb2NhdGlvbnMvZWFzdHVzMi9vcGVyYXRpb25zU3RhdHVzLzBhYjc0NGJkLTliYjktNGUzNi04ZGM5LTVjZWIxMmI5YmRmOT9hcGktdmVyc2lvbj0yMDIxLTAzLTAxLXByZXZpZXc=", - "RequestMethod": "GET", - "RequestBody": "", - "RequestHeaders": { - "User-Agent": [ - "FxVersion/4.6.28207.03", - "OSName/Windows", - "OSVersion/Microsoft.Windows.10.0.19042.", - "Microsoft.Azure.Management.CosmosDB.CosmosDBManagementClient/2.1.0.0" - ] - }, - "ResponseHeaders": { - "Cache-Control": [ - "no-store, no-cache" - ], - "Pragma": [ - "no-cache" - ], - "Strict-Transport-Security": [ - "max-age=31536000; includeSubDomains" - ], - "x-ms-gatewayversion": [ - "version=2.11.0" - ], - "Server": [ - "Microsoft-HTTPAPI/2.0" - ], - "x-ms-ratelimit-remaining-subscription-reads": [ - "11985" - ], - "x-ms-request-id": [ - "730eb55c-96ad-424b-9d4a-2663bb5935c0" - ], - "x-ms-correlation-request-id": [ - "730eb55c-96ad-424b-9d4a-2663bb5935c0" - ], - "x-ms-routing-request-id": [ - "WESTUS2:20210304T173913Z:730eb55c-96ad-424b-9d4a-2663bb5935c0" - ], - "X-Content-Type-Options": [ - "nosniff" - ], - "Date": [ - "Thu, 04 Mar 2021 17:39:12 GMT" - ], - "Content-Length": [ - "21" - ], - "Content-Type": [ - "application/json" - ] - }, - "ResponseBody": "{\r\n \"status\": \"Dequeued\"\r\n}", - "StatusCode": 200 - }, - { - "RequestUri": "/subscriptions/dd31ecae-4522-468e-8b27-5befd051dd53/providers/Microsoft.DocumentDB/locations/eastus2/operationsStatus/0ab744bd-9bb9-4e36-8dc9-5ceb12b9bdf9?api-version=2021-03-01-preview", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZGQzMWVjYWUtNDUyMi00NjhlLThiMjctNWJlZmQwNTFkZDUzL3Byb3ZpZGVycy9NaWNyb3NvZnQuRG9jdW1lbnREQi9sb2NhdGlvbnMvZWFzdHVzMi9vcGVyYXRpb25zU3RhdHVzLzBhYjc0NGJkLTliYjktNGUzNi04ZGM5LTVjZWIxMmI5YmRmOT9hcGktdmVyc2lvbj0yMDIxLTAzLTAxLXByZXZpZXc=", - "RequestMethod": "GET", - "RequestBody": "", - "RequestHeaders": { - "User-Agent": [ - "FxVersion/4.6.28207.03", - "OSName/Windows", - "OSVersion/Microsoft.Windows.10.0.19042.", - "Microsoft.Azure.Management.CosmosDB.CosmosDBManagementClient/2.1.0.0" - ] - }, - "ResponseHeaders": { - "Cache-Control": [ - "no-store, no-cache" - ], - "Pragma": [ - "no-cache" - ], - "Strict-Transport-Security": [ - "max-age=31536000; includeSubDomains" - ], - "x-ms-gatewayversion": [ - "version=2.11.0" - ], - "Server": [ - "Microsoft-HTTPAPI/2.0" - ], - "x-ms-ratelimit-remaining-subscription-reads": [ - "11984" - ], - "x-ms-request-id": [ - "e3815aa9-f278-4a88-82ea-18fbe269aa1b" - ], - "x-ms-correlation-request-id": [ - "e3815aa9-f278-4a88-82ea-18fbe269aa1b" - ], - "x-ms-routing-request-id": [ - "WESTUS2:20210304T173943Z:e3815aa9-f278-4a88-82ea-18fbe269aa1b" - ], - "X-Content-Type-Options": [ - "nosniff" - ], - "Date": [ - "Thu, 04 Mar 2021 17:39:42 GMT" - ], - "Content-Length": [ - "21" - ], - "Content-Type": [ - "application/json" - ] - }, - "ResponseBody": "{\r\n \"status\": \"Dequeued\"\r\n}", - "StatusCode": 200 - }, - { - "RequestUri": "/subscriptions/dd31ecae-4522-468e-8b27-5befd051dd53/providers/Microsoft.DocumentDB/locations/eastus2/operationsStatus/0ab744bd-9bb9-4e36-8dc9-5ceb12b9bdf9?api-version=2021-03-01-preview", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZGQzMWVjYWUtNDUyMi00NjhlLThiMjctNWJlZmQwNTFkZDUzL3Byb3ZpZGVycy9NaWNyb3NvZnQuRG9jdW1lbnREQi9sb2NhdGlvbnMvZWFzdHVzMi9vcGVyYXRpb25zU3RhdHVzLzBhYjc0NGJkLTliYjktNGUzNi04ZGM5LTVjZWIxMmI5YmRmOT9hcGktdmVyc2lvbj0yMDIxLTAzLTAxLXByZXZpZXc=", - "RequestMethod": "GET", - "RequestBody": "", - "RequestHeaders": { - "User-Agent": [ - "FxVersion/4.6.28207.03", - "OSName/Windows", - "OSVersion/Microsoft.Windows.10.0.19042.", - "Microsoft.Azure.Management.CosmosDB.CosmosDBManagementClient/2.1.0.0" - ] - }, - "ResponseHeaders": { - "Cache-Control": [ - "no-store, no-cache" - ], - "Pragma": [ - "no-cache" - ], - "Strict-Transport-Security": [ - "max-age=31536000; includeSubDomains" - ], - "x-ms-gatewayversion": [ - "version=2.11.0" - ], - "Server": [ - "Microsoft-HTTPAPI/2.0" - ], - "x-ms-ratelimit-remaining-subscription-reads": [ - "11983" - ], - "x-ms-request-id": [ - "9dc5fc2d-e736-4ef4-b403-f1317790f44f" - ], - "x-ms-correlation-request-id": [ - "9dc5fc2d-e736-4ef4-b403-f1317790f44f" - ], - "x-ms-routing-request-id": [ - "WESTUS2:20210304T174013Z:9dc5fc2d-e736-4ef4-b403-f1317790f44f" - ], - "X-Content-Type-Options": [ - "nosniff" - ], - "Date": [ - "Thu, 04 Mar 2021 17:40:13 GMT" - ], - "Content-Length": [ - "21" - ], - "Content-Type": [ - "application/json" - ] - }, - "ResponseBody": "{\r\n \"status\": \"Dequeued\"\r\n}", - "StatusCode": 200 - }, - { - "RequestUri": "/subscriptions/dd31ecae-4522-468e-8b27-5befd051dd53/providers/Microsoft.DocumentDB/locations/eastus2/operationsStatus/0ab744bd-9bb9-4e36-8dc9-5ceb12b9bdf9?api-version=2021-03-01-preview", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZGQzMWVjYWUtNDUyMi00NjhlLThiMjctNWJlZmQwNTFkZDUzL3Byb3ZpZGVycy9NaWNyb3NvZnQuRG9jdW1lbnREQi9sb2NhdGlvbnMvZWFzdHVzMi9vcGVyYXRpb25zU3RhdHVzLzBhYjc0NGJkLTliYjktNGUzNi04ZGM5LTVjZWIxMmI5YmRmOT9hcGktdmVyc2lvbj0yMDIxLTAzLTAxLXByZXZpZXc=", - "RequestMethod": "GET", - "RequestBody": "", - "RequestHeaders": { - "User-Agent": [ - "FxVersion/4.6.28207.03", - "OSName/Windows", - "OSVersion/Microsoft.Windows.10.0.19042.", - "Microsoft.Azure.Management.CosmosDB.CosmosDBManagementClient/2.1.0.0" - ] - }, - "ResponseHeaders": { - "Cache-Control": [ - "no-store, no-cache" - ], - "Pragma": [ - "no-cache" - ], - "Strict-Transport-Security": [ - "max-age=31536000; includeSubDomains" - ], - "x-ms-gatewayversion": [ - "version=2.11.0" - ], - "Server": [ - "Microsoft-HTTPAPI/2.0" - ], - "x-ms-ratelimit-remaining-subscription-reads": [ - "11982" - ], - "x-ms-request-id": [ - "1d86533b-d148-4f40-ba82-e45e20a4e165" - ], - "x-ms-correlation-request-id": [ - "1d86533b-d148-4f40-ba82-e45e20a4e165" - ], - "x-ms-routing-request-id": [ - "WESTUS2:20210304T174043Z:1d86533b-d148-4f40-ba82-e45e20a4e165" - ], - "X-Content-Type-Options": [ - "nosniff" - ], - "Date": [ - "Thu, 04 Mar 2021 17:40:43 GMT" - ], - "Content-Length": [ - "21" - ], - "Content-Type": [ - "application/json" - ] - }, - "ResponseBody": "{\r\n \"status\": \"Dequeued\"\r\n}", - "StatusCode": 200 - }, - { - "RequestUri": "/subscriptions/dd31ecae-4522-468e-8b27-5befd051dd53/providers/Microsoft.DocumentDB/locations/eastus2/operationsStatus/0ab744bd-9bb9-4e36-8dc9-5ceb12b9bdf9?api-version=2021-03-01-preview", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZGQzMWVjYWUtNDUyMi00NjhlLThiMjctNWJlZmQwNTFkZDUzL3Byb3ZpZGVycy9NaWNyb3NvZnQuRG9jdW1lbnREQi9sb2NhdGlvbnMvZWFzdHVzMi9vcGVyYXRpb25zU3RhdHVzLzBhYjc0NGJkLTliYjktNGUzNi04ZGM5LTVjZWIxMmI5YmRmOT9hcGktdmVyc2lvbj0yMDIxLTAzLTAxLXByZXZpZXc=", - "RequestMethod": "GET", - "RequestBody": "", - "RequestHeaders": { - "User-Agent": [ - "FxVersion/4.6.28207.03", - "OSName/Windows", - "OSVersion/Microsoft.Windows.10.0.19042.", - "Microsoft.Azure.Management.CosmosDB.CosmosDBManagementClient/2.1.0.0" - ] - }, - "ResponseHeaders": { - "Cache-Control": [ - "no-store, no-cache" - ], - "Pragma": [ - "no-cache" - ], - "Strict-Transport-Security": [ - "max-age=31536000; includeSubDomains" - ], - "x-ms-gatewayversion": [ - "version=2.11.0" - ], - "Server": [ - "Microsoft-HTTPAPI/2.0" - ], - "x-ms-ratelimit-remaining-subscription-reads": [ - "11981" - ], - "x-ms-request-id": [ - "ef1082c3-31c6-4955-8823-9204766908ee" - ], - "x-ms-correlation-request-id": [ - "ef1082c3-31c6-4955-8823-9204766908ee" - ], - "x-ms-routing-request-id": [ - "WESTUS2:20210304T174113Z:ef1082c3-31c6-4955-8823-9204766908ee" - ], - "X-Content-Type-Options": [ - "nosniff" - ], - "Date": [ - "Thu, 04 Mar 2021 17:41:13 GMT" - ], - "Content-Length": [ - "21" - ], - "Content-Type": [ - "application/json" - ] - }, - "ResponseBody": "{\r\n \"status\": \"Dequeued\"\r\n}", - "StatusCode": 200 - }, - { - "RequestUri": "/subscriptions/dd31ecae-4522-468e-8b27-5befd051dd53/providers/Microsoft.DocumentDB/locations/eastus2/operationsStatus/0ab744bd-9bb9-4e36-8dc9-5ceb12b9bdf9?api-version=2021-03-01-preview", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZGQzMWVjYWUtNDUyMi00NjhlLThiMjctNWJlZmQwNTFkZDUzL3Byb3ZpZGVycy9NaWNyb3NvZnQuRG9jdW1lbnREQi9sb2NhdGlvbnMvZWFzdHVzMi9vcGVyYXRpb25zU3RhdHVzLzBhYjc0NGJkLTliYjktNGUzNi04ZGM5LTVjZWIxMmI5YmRmOT9hcGktdmVyc2lvbj0yMDIxLTAzLTAxLXByZXZpZXc=", - "RequestMethod": "GET", - "RequestBody": "", - "RequestHeaders": { - "User-Agent": [ - "FxVersion/4.6.28207.03", - "OSName/Windows", - "OSVersion/Microsoft.Windows.10.0.19042.", - "Microsoft.Azure.Management.CosmosDB.CosmosDBManagementClient/2.1.0.0" - ] - }, - "ResponseHeaders": { - "Cache-Control": [ - "no-store, no-cache" - ], - "Pragma": [ - "no-cache" - ], - "Strict-Transport-Security": [ - "max-age=31536000; includeSubDomains" - ], - "x-ms-gatewayversion": [ - "version=2.11.0" - ], - "Server": [ - "Microsoft-HTTPAPI/2.0" - ], - "x-ms-ratelimit-remaining-subscription-reads": [ - "11980" - ], - "x-ms-request-id": [ - "6757afc1-507d-411a-aba8-290878b01288" - ], - "x-ms-correlation-request-id": [ - "6757afc1-507d-411a-aba8-290878b01288" - ], - "x-ms-routing-request-id": [ - "WESTUS2:20210304T174144Z:6757afc1-507d-411a-aba8-290878b01288" - ], - "X-Content-Type-Options": [ - "nosniff" - ], - "Date": [ - "Thu, 04 Mar 2021 17:41:43 GMT" - ], - "Content-Length": [ - "21" - ], - "Content-Type": [ - "application/json" - ] - }, - "ResponseBody": "{\r\n \"status\": \"Dequeued\"\r\n}", - "StatusCode": 200 - }, - { - "RequestUri": "/subscriptions/dd31ecae-4522-468e-8b27-5befd051dd53/providers/Microsoft.DocumentDB/locations/eastus2/operationsStatus/0ab744bd-9bb9-4e36-8dc9-5ceb12b9bdf9?api-version=2021-03-01-preview", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZGQzMWVjYWUtNDUyMi00NjhlLThiMjctNWJlZmQwNTFkZDUzL3Byb3ZpZGVycy9NaWNyb3NvZnQuRG9jdW1lbnREQi9sb2NhdGlvbnMvZWFzdHVzMi9vcGVyYXRpb25zU3RhdHVzLzBhYjc0NGJkLTliYjktNGUzNi04ZGM5LTVjZWIxMmI5YmRmOT9hcGktdmVyc2lvbj0yMDIxLTAzLTAxLXByZXZpZXc=", - "RequestMethod": "GET", - "RequestBody": "", - "RequestHeaders": { - "User-Agent": [ - "FxVersion/4.6.28207.03", - "OSName/Windows", - "OSVersion/Microsoft.Windows.10.0.19042.", - "Microsoft.Azure.Management.CosmosDB.CosmosDBManagementClient/2.1.0.0" - ] - }, - "ResponseHeaders": { - "Cache-Control": [ - "no-store, no-cache" - ], - "Pragma": [ - "no-cache" - ], - "Strict-Transport-Security": [ - "max-age=31536000; includeSubDomains" - ], - "x-ms-gatewayversion": [ - "version=2.11.0" - ], - "Server": [ - "Microsoft-HTTPAPI/2.0" - ], - "x-ms-ratelimit-remaining-subscription-reads": [ - "11979" - ], - "x-ms-request-id": [ - "34a40d55-c7a4-4b08-a48a-e9c8894c5768" - ], - "x-ms-correlation-request-id": [ - "34a40d55-c7a4-4b08-a48a-e9c8894c5768" - ], - "x-ms-routing-request-id": [ - "WESTUS2:20210304T174214Z:34a40d55-c7a4-4b08-a48a-e9c8894c5768" - ], - "X-Content-Type-Options": [ - "nosniff" - ], - "Date": [ - "Thu, 04 Mar 2021 17:42:13 GMT" - ], - "Content-Length": [ - "21" - ], - "Content-Type": [ - "application/json" - ] - }, - "ResponseBody": "{\r\n \"status\": \"Dequeued\"\r\n}", - "StatusCode": 200 - }, - { - "RequestUri": "/subscriptions/dd31ecae-4522-468e-8b27-5befd051dd53/providers/Microsoft.DocumentDB/locations/eastus2/operationsStatus/0ab744bd-9bb9-4e36-8dc9-5ceb12b9bdf9?api-version=2021-03-01-preview", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZGQzMWVjYWUtNDUyMi00NjhlLThiMjctNWJlZmQwNTFkZDUzL3Byb3ZpZGVycy9NaWNyb3NvZnQuRG9jdW1lbnREQi9sb2NhdGlvbnMvZWFzdHVzMi9vcGVyYXRpb25zU3RhdHVzLzBhYjc0NGJkLTliYjktNGUzNi04ZGM5LTVjZWIxMmI5YmRmOT9hcGktdmVyc2lvbj0yMDIxLTAzLTAxLXByZXZpZXc=", - "RequestMethod": "GET", - "RequestBody": "", - "RequestHeaders": { - "User-Agent": [ - "FxVersion/4.6.28207.03", - "OSName/Windows", - "OSVersion/Microsoft.Windows.10.0.19042.", - "Microsoft.Azure.Management.CosmosDB.CosmosDBManagementClient/2.1.0.0" - ] - }, - "ResponseHeaders": { - "Cache-Control": [ - "no-store, no-cache" - ], - "Pragma": [ - "no-cache" - ], - "Strict-Transport-Security": [ - "max-age=31536000; includeSubDomains" - ], - "x-ms-gatewayversion": [ - "version=2.11.0" - ], - "Server": [ - "Microsoft-HTTPAPI/2.0" - ], - "x-ms-ratelimit-remaining-subscription-reads": [ - "11978" - ], - "x-ms-request-id": [ - "67dbaa0d-0f04-481d-84a4-86e7381dee8c" - ], - "x-ms-correlation-request-id": [ - "67dbaa0d-0f04-481d-84a4-86e7381dee8c" - ], - "x-ms-routing-request-id": [ - "WESTUS2:20210304T174244Z:67dbaa0d-0f04-481d-84a4-86e7381dee8c" - ], - "X-Content-Type-Options": [ - "nosniff" - ], - "Date": [ - "Thu, 04 Mar 2021 17:42:43 GMT" - ], - "Content-Length": [ - "21" - ], - "Content-Type": [ - "application/json" - ] - }, - "ResponseBody": "{\r\n \"status\": \"Dequeued\"\r\n}", - "StatusCode": 200 - }, - { - "RequestUri": "/subscriptions/dd31ecae-4522-468e-8b27-5befd051dd53/providers/Microsoft.DocumentDB/locations/eastus2/operationsStatus/0ab744bd-9bb9-4e36-8dc9-5ceb12b9bdf9?api-version=2021-03-01-preview", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZGQzMWVjYWUtNDUyMi00NjhlLThiMjctNWJlZmQwNTFkZDUzL3Byb3ZpZGVycy9NaWNyb3NvZnQuRG9jdW1lbnREQi9sb2NhdGlvbnMvZWFzdHVzMi9vcGVyYXRpb25zU3RhdHVzLzBhYjc0NGJkLTliYjktNGUzNi04ZGM5LTVjZWIxMmI5YmRmOT9hcGktdmVyc2lvbj0yMDIxLTAzLTAxLXByZXZpZXc=", - "RequestMethod": "GET", - "RequestBody": "", - "RequestHeaders": { - "User-Agent": [ - "FxVersion/4.6.28207.03", - "OSName/Windows", - "OSVersion/Microsoft.Windows.10.0.19042.", - "Microsoft.Azure.Management.CosmosDB.CosmosDBManagementClient/2.1.0.0" - ] - }, - "ResponseHeaders": { - "Cache-Control": [ - "no-store, no-cache" - ], - "Pragma": [ - "no-cache" - ], - "Strict-Transport-Security": [ - "max-age=31536000; includeSubDomains" - ], - "x-ms-gatewayversion": [ - "version=2.11.0" - ], - "Server": [ - "Microsoft-HTTPAPI/2.0" - ], - "x-ms-ratelimit-remaining-subscription-reads": [ - "11977" - ], - "x-ms-request-id": [ - "ea4d6064-9521-4aed-94a6-043073fbe21a" - ], - "x-ms-correlation-request-id": [ - "ea4d6064-9521-4aed-94a6-043073fbe21a" - ], - "x-ms-routing-request-id": [ - "WESTUS2:20210304T174314Z:ea4d6064-9521-4aed-94a6-043073fbe21a" - ], - "X-Content-Type-Options": [ - "nosniff" - ], - "Date": [ - "Thu, 04 Mar 2021 17:43:14 GMT" - ], - "Content-Length": [ - "21" - ], - "Content-Type": [ - "application/json" - ] - }, - "ResponseBody": "{\r\n \"status\": \"Dequeued\"\r\n}", - "StatusCode": 200 - }, - { - "RequestUri": "/subscriptions/dd31ecae-4522-468e-8b27-5befd051dd53/providers/Microsoft.DocumentDB/locations/eastus2/operationsStatus/0ab744bd-9bb9-4e36-8dc9-5ceb12b9bdf9?api-version=2021-03-01-preview", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZGQzMWVjYWUtNDUyMi00NjhlLThiMjctNWJlZmQwNTFkZDUzL3Byb3ZpZGVycy9NaWNyb3NvZnQuRG9jdW1lbnREQi9sb2NhdGlvbnMvZWFzdHVzMi9vcGVyYXRpb25zU3RhdHVzLzBhYjc0NGJkLTliYjktNGUzNi04ZGM5LTVjZWIxMmI5YmRmOT9hcGktdmVyc2lvbj0yMDIxLTAzLTAxLXByZXZpZXc=", - "RequestMethod": "GET", - "RequestBody": "", - "RequestHeaders": { - "User-Agent": [ - "FxVersion/4.6.28207.03", - "OSName/Windows", - "OSVersion/Microsoft.Windows.10.0.19042.", - "Microsoft.Azure.Management.CosmosDB.CosmosDBManagementClient/2.1.0.0" - ] - }, - "ResponseHeaders": { - "Cache-Control": [ - "no-store, no-cache" - ], - "Pragma": [ - "no-cache" - ], - "Strict-Transport-Security": [ - "max-age=31536000; includeSubDomains" - ], - "x-ms-gatewayversion": [ - "version=2.11.0" - ], - "Server": [ - "Microsoft-HTTPAPI/2.0" - ], - "x-ms-ratelimit-remaining-subscription-reads": [ - "11976" - ], - "x-ms-request-id": [ - "f5513719-5319-4cef-a425-137c120dc78b" - ], - "x-ms-correlation-request-id": [ - "f5513719-5319-4cef-a425-137c120dc78b" - ], - "x-ms-routing-request-id": [ - "WESTUS2:20210304T174344Z:f5513719-5319-4cef-a425-137c120dc78b" - ], - "X-Content-Type-Options": [ - "nosniff" - ], - "Date": [ - "Thu, 04 Mar 2021 17:43:43 GMT" - ], - "Content-Length": [ - "21" - ], - "Content-Type": [ - "application/json" - ] - }, - "ResponseBody": "{\r\n \"status\": \"Dequeued\"\r\n}", - "StatusCode": 200 - }, - { - "RequestUri": "/subscriptions/dd31ecae-4522-468e-8b27-5befd051dd53/providers/Microsoft.DocumentDB/locations/eastus2/operationsStatus/0ab744bd-9bb9-4e36-8dc9-5ceb12b9bdf9?api-version=2021-03-01-preview", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZGQzMWVjYWUtNDUyMi00NjhlLThiMjctNWJlZmQwNTFkZDUzL3Byb3ZpZGVycy9NaWNyb3NvZnQuRG9jdW1lbnREQi9sb2NhdGlvbnMvZWFzdHVzMi9vcGVyYXRpb25zU3RhdHVzLzBhYjc0NGJkLTliYjktNGUzNi04ZGM5LTVjZWIxMmI5YmRmOT9hcGktdmVyc2lvbj0yMDIxLTAzLTAxLXByZXZpZXc=", - "RequestMethod": "GET", - "RequestBody": "", - "RequestHeaders": { - "User-Agent": [ - "FxVersion/4.6.28207.03", - "OSName/Windows", - "OSVersion/Microsoft.Windows.10.0.19042.", - "Microsoft.Azure.Management.CosmosDB.CosmosDBManagementClient/2.1.0.0" - ] - }, - "ResponseHeaders": { - "Cache-Control": [ - "no-store, no-cache" - ], - "Pragma": [ - "no-cache" - ], - "Strict-Transport-Security": [ - "max-age=31536000; includeSubDomains" - ], - "x-ms-gatewayversion": [ - "version=2.11.0" - ], - "Server": [ - "Microsoft-HTTPAPI/2.0" - ], - "x-ms-ratelimit-remaining-subscription-reads": [ - "11975" - ], - "x-ms-request-id": [ - "55d7e03d-f949-4539-a5e3-0518921e286c" - ], - "x-ms-correlation-request-id": [ - "55d7e03d-f949-4539-a5e3-0518921e286c" - ], - "x-ms-routing-request-id": [ - "WESTUS2:20210304T174414Z:55d7e03d-f949-4539-a5e3-0518921e286c" - ], - "X-Content-Type-Options": [ - "nosniff" - ], - "Date": [ - "Thu, 04 Mar 2021 17:44:14 GMT" - ], - "Content-Length": [ - "21" - ], - "Content-Type": [ - "application/json" - ] - }, - "ResponseBody": "{\r\n \"status\": \"Dequeued\"\r\n}", - "StatusCode": 200 - }, - { - "RequestUri": "/subscriptions/dd31ecae-4522-468e-8b27-5befd051dd53/providers/Microsoft.DocumentDB/locations/eastus2/operationsStatus/0ab744bd-9bb9-4e36-8dc9-5ceb12b9bdf9?api-version=2021-03-01-preview", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZGQzMWVjYWUtNDUyMi00NjhlLThiMjctNWJlZmQwNTFkZDUzL3Byb3ZpZGVycy9NaWNyb3NvZnQuRG9jdW1lbnREQi9sb2NhdGlvbnMvZWFzdHVzMi9vcGVyYXRpb25zU3RhdHVzLzBhYjc0NGJkLTliYjktNGUzNi04ZGM5LTVjZWIxMmI5YmRmOT9hcGktdmVyc2lvbj0yMDIxLTAzLTAxLXByZXZpZXc=", - "RequestMethod": "GET", - "RequestBody": "", - "RequestHeaders": { - "User-Agent": [ - "FxVersion/4.6.28207.03", - "OSName/Windows", - "OSVersion/Microsoft.Windows.10.0.19042.", - "Microsoft.Azure.Management.CosmosDB.CosmosDBManagementClient/2.1.0.0" - ] - }, - "ResponseHeaders": { - "Cache-Control": [ - "no-store, no-cache" - ], - "Pragma": [ - "no-cache" - ], - "Strict-Transport-Security": [ - "max-age=31536000; includeSubDomains" - ], - "x-ms-gatewayversion": [ - "version=2.11.0" - ], - "Server": [ - "Microsoft-HTTPAPI/2.0" - ], - "x-ms-ratelimit-remaining-subscription-reads": [ - "11974" - ], - "x-ms-request-id": [ - "50ff432d-e6ae-4e95-b635-ca8d6685f814" - ], - "x-ms-correlation-request-id": [ - "50ff432d-e6ae-4e95-b635-ca8d6685f814" - ], - "x-ms-routing-request-id": [ - "WESTUS2:20210304T174444Z:50ff432d-e6ae-4e95-b635-ca8d6685f814" - ], - "X-Content-Type-Options": [ - "nosniff" - ], - "Date": [ - "Thu, 04 Mar 2021 17:44:43 GMT" - ], - "Content-Length": [ - "21" - ], - "Content-Type": [ - "application/json" - ] - }, - "ResponseBody": "{\r\n \"status\": \"Dequeued\"\r\n}", - "StatusCode": 200 - }, - { - "RequestUri": "/subscriptions/dd31ecae-4522-468e-8b27-5befd051dd53/providers/Microsoft.DocumentDB/locations/eastus2/operationsStatus/0ab744bd-9bb9-4e36-8dc9-5ceb12b9bdf9?api-version=2021-03-01-preview", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZGQzMWVjYWUtNDUyMi00NjhlLThiMjctNWJlZmQwNTFkZDUzL3Byb3ZpZGVycy9NaWNyb3NvZnQuRG9jdW1lbnREQi9sb2NhdGlvbnMvZWFzdHVzMi9vcGVyYXRpb25zU3RhdHVzLzBhYjc0NGJkLTliYjktNGUzNi04ZGM5LTVjZWIxMmI5YmRmOT9hcGktdmVyc2lvbj0yMDIxLTAzLTAxLXByZXZpZXc=", - "RequestMethod": "GET", - "RequestBody": "", - "RequestHeaders": { - "User-Agent": [ - "FxVersion/4.6.28207.03", - "OSName/Windows", - "OSVersion/Microsoft.Windows.10.0.19042.", - "Microsoft.Azure.Management.CosmosDB.CosmosDBManagementClient/2.1.0.0" - ] - }, - "ResponseHeaders": { - "Cache-Control": [ - "no-store, no-cache" - ], - "Pragma": [ - "no-cache" - ], - "Strict-Transport-Security": [ - "max-age=31536000; includeSubDomains" - ], - "x-ms-gatewayversion": [ - "version=2.11.0" - ], - "Server": [ - "Microsoft-HTTPAPI/2.0" - ], - "x-ms-ratelimit-remaining-subscription-reads": [ - "11973" - ], - "x-ms-request-id": [ - "0dce99ec-9edc-4237-8ebf-4e191c571af1" - ], - "x-ms-correlation-request-id": [ - "0dce99ec-9edc-4237-8ebf-4e191c571af1" - ], - "x-ms-routing-request-id": [ - "WESTUS2:20210304T174514Z:0dce99ec-9edc-4237-8ebf-4e191c571af1" - ], - "X-Content-Type-Options": [ - "nosniff" - ], - "Date": [ - "Thu, 04 Mar 2021 17:45:14 GMT" - ], - "Content-Length": [ - "21" - ], - "Content-Type": [ - "application/json" - ] - }, - "ResponseBody": "{\r\n \"status\": \"Dequeued\"\r\n}", - "StatusCode": 200 - }, - { - "RequestUri": "/subscriptions/dd31ecae-4522-468e-8b27-5befd051dd53/providers/Microsoft.DocumentDB/locations/eastus2/operationsStatus/0ab744bd-9bb9-4e36-8dc9-5ceb12b9bdf9?api-version=2021-03-01-preview", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZGQzMWVjYWUtNDUyMi00NjhlLThiMjctNWJlZmQwNTFkZDUzL3Byb3ZpZGVycy9NaWNyb3NvZnQuRG9jdW1lbnREQi9sb2NhdGlvbnMvZWFzdHVzMi9vcGVyYXRpb25zU3RhdHVzLzBhYjc0NGJkLTliYjktNGUzNi04ZGM5LTVjZWIxMmI5YmRmOT9hcGktdmVyc2lvbj0yMDIxLTAzLTAxLXByZXZpZXc=", - "RequestMethod": "GET", - "RequestBody": "", - "RequestHeaders": { - "User-Agent": [ - "FxVersion/4.6.28207.03", - "OSName/Windows", - "OSVersion/Microsoft.Windows.10.0.19042.", - "Microsoft.Azure.Management.CosmosDB.CosmosDBManagementClient/2.1.0.0" - ] - }, - "ResponseHeaders": { - "Cache-Control": [ - "no-store, no-cache" - ], - "Pragma": [ - "no-cache" - ], - "Strict-Transport-Security": [ - "max-age=31536000; includeSubDomains" - ], - "x-ms-gatewayversion": [ - "version=2.11.0" - ], - "Server": [ - "Microsoft-HTTPAPI/2.0" - ], - "x-ms-ratelimit-remaining-subscription-reads": [ - "11972" - ], - "x-ms-request-id": [ - "1d328435-4bd5-4dd2-96e8-7c8c294b09cb" - ], - "x-ms-correlation-request-id": [ - "1d328435-4bd5-4dd2-96e8-7c8c294b09cb" - ], - "x-ms-routing-request-id": [ - "WESTUS2:20210304T174545Z:1d328435-4bd5-4dd2-96e8-7c8c294b09cb" - ], - "X-Content-Type-Options": [ - "nosniff" - ], - "Date": [ - "Thu, 04 Mar 2021 17:45:44 GMT" - ], - "Content-Length": [ - "22" - ], - "Content-Type": [ - "application/json" - ] - }, - "ResponseBody": "{\r\n \"status\": \"Succeeded\"\r\n}", - "StatusCode": 200 - }, - { - "RequestUri": "/subscriptions/dd31ecae-4522-468e-8b27-5befd051dd53/resourceGroups/CosmosDBResourceGroup9148/providers/Microsoft.DocumentDB/cassandraClusters/managedcluster54/dataCenters/managedDC5187?api-version=2021-03-01-preview", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZGQzMWVjYWUtNDUyMi00NjhlLThiMjctNWJlZmQwNTFkZDUzL3Jlc291cmNlR3JvdXBzL0Nvc21vc0RCUmVzb3VyY2VHcm91cDkxNDgvcHJvdmlkZXJzL01pY3Jvc29mdC5Eb2N1bWVudERCL2Nhc3NhbmRyYUNsdXN0ZXJzL21hbmFnZWRjbHVzdGVyNTQvZGF0YUNlbnRlcnMvbWFuYWdlZERDNTE4Nz9hcGktdmVyc2lvbj0yMDIxLTAzLTAxLXByZXZpZXc=", - "RequestMethod": "GET", - "RequestBody": "", - "RequestHeaders": { - "User-Agent": [ - "FxVersion/4.6.28207.03", - "OSName/Windows", - "OSVersion/Microsoft.Windows.10.0.19042.", - "Microsoft.Azure.Management.CosmosDB.CosmosDBManagementClient/2.1.0.0" - ] - }, - "ResponseHeaders": { - "Cache-Control": [ - "no-store, no-cache" - ], - "Pragma": [ - "no-cache" - ], - "Strict-Transport-Security": [ - "max-age=31536000; includeSubDomains" - ], - "x-ms-gatewayversion": [ - "version=2.11.0" - ], - "Server": [ - "Microsoft-HTTPAPI/2.0" - ], - "x-ms-ratelimit-remaining-subscription-reads": [ - "11971" - ], - "x-ms-request-id": [ - "17f7e65c-a2d9-4341-8cd2-440bc2c3d3bf" - ], - "x-ms-correlation-request-id": [ - "17f7e65c-a2d9-4341-8cd2-440bc2c3d3bf" - ], - "x-ms-routing-request-id": [ - "WESTUS2:20210304T174545Z:17f7e65c-a2d9-4341-8cd2-440bc2c3d3bf" - ], - "X-Content-Type-Options": [ - "nosniff" - ], - "Date": [ - "Thu, 04 Mar 2021 17:45:44 GMT" - ], - "Content-Length": [ - "726" - ], - "Content-Type": [ - "application/json" - ] - }, - "ResponseBody": "{\r\n \"id\": \"/subscriptions/dd31ecae-4522-468e-8b27-5befd051dd53/resourceGroups/CosmosDBResourceGroup9148/providers/Microsoft.DocumentDB/cassandraClusters/managedcluster54/dataCenters/managedDC5187\",\r\n \"name\": \"managedcluster54/managedDC5187\",\r\n \"type\": \"Microsoft.DocumentDB/cassandraClusters/dataCenters\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"dataCenterLocation\": \"East US 2\",\r\n \"delegatedSubnetId\": \"/subscriptions/dd31ecae-4522-468e-8b27-5befd051dd53/resourceGroups/CosmosDBResourceGroup9148/providers/Microsoft.Network/virtualNetworks/CosmosDBVirtualNetwork840/subnets/cassandra-subnet\",\r\n \"nodeCount\": 3,\r\n \"seedNodes\": [\r\n {\r\n \"ipAddress\": \"10.0.0.6\"\r\n },\r\n {\r\n \"ipAddress\": \"10.0.0.7\"\r\n },\r\n {\r\n \"ipAddress\": \"10.0.0.9\"\r\n }\r\n ],\r\n \"base64EncodedCassandraYamlFragment\": \"\"\r\n }\r\n}", - "StatusCode": 200 - }, - { - "RequestUri": "/subscriptions/dd31ecae-4522-468e-8b27-5befd051dd53/resourceGroups/CosmosDBResourceGroup9148/providers/Microsoft.DocumentDB/cassandraClusters/managedcluster54/dataCenters/managedDC5187?api-version=2021-03-01-preview", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZGQzMWVjYWUtNDUyMi00NjhlLThiMjctNWJlZmQwNTFkZDUzL3Jlc291cmNlR3JvdXBzL0Nvc21vc0RCUmVzb3VyY2VHcm91cDkxNDgvcHJvdmlkZXJzL01pY3Jvc29mdC5Eb2N1bWVudERCL2Nhc3NhbmRyYUNsdXN0ZXJzL21hbmFnZWRjbHVzdGVyNTQvZGF0YUNlbnRlcnMvbWFuYWdlZERDNTE4Nz9hcGktdmVyc2lvbj0yMDIxLTAzLTAxLXByZXZpZXc=", - "RequestMethod": "DELETE", - "RequestBody": "", - "RequestHeaders": { - "x-ms-client-request-id": [ - "60c7de9f-c7d6-4e4b-82a5-5236b314aa18" - ], - "Accept-Language": [ - "en-US" - ], - "User-Agent": [ - "FxVersion/4.6.28207.03", - "OSName/Windows", - "OSVersion/Microsoft.Windows.10.0.19042.", - "Microsoft.Azure.Management.CosmosDB.CosmosDBManagementClient/2.1.0.0" - ] - }, - "ResponseHeaders": { - "Cache-Control": [ - "no-store, no-cache" - ], - "Pragma": [ - "no-cache" - ], - "Location": [ - "https://management.azure.com/subscriptions/dd31ecae-4522-468e-8b27-5befd051dd53/resourceGroups/CosmosDBResourceGroup9148/providers/Microsoft.DocumentDB/cassandraClusters/managedcluster54/dataCenters/managedDC5187/operationResults/26235206-0afb-4b6f-a8aa-f1d3825acd4e?api-version=2021-03-01-preview" - ], - "x-ms-request-id": [ - "26235206-0afb-4b6f-a8aa-f1d3825acd4e" - ], - "Strict-Transport-Security": [ - "max-age=31536000; includeSubDomains" - ], - "x-ms-gatewayversion": [ - "version=2.11.0" - ], - "Server": [ - "Microsoft-HTTPAPI/2.0" - ], - "x-ms-ratelimit-remaining-subscription-deletes": [ - "14999" - ], - "x-ms-correlation-request-id": [ - "f3c214ca-4caa-40ea-9d5d-815f3b0555ef" - ], - "x-ms-routing-request-id": [ - "WESTUS2:20210304T174546Z:f3c214ca-4caa-40ea-9d5d-815f3b0555ef" - ], - "X-Content-Type-Options": [ - "nosniff" - ], - "Date": [ - "Thu, 04 Mar 2021 17:45:45 GMT" - ], - "Content-Length": [ - "21" - ], - "Content-Type": [ - "application/json" - ] - }, - "ResponseBody": "{\r\n \"status\": \"Enqueued\"\r\n}", - "StatusCode": 202 - }, - { - "RequestUri": "/subscriptions/dd31ecae-4522-468e-8b27-5befd051dd53/resourceGroups/CosmosDBResourceGroup9148/providers/Microsoft.DocumentDB/cassandraClusters/managedcluster54/dataCenters/managedDC5187/operationResults/26235206-0afb-4b6f-a8aa-f1d3825acd4e?api-version=2021-03-01-preview", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZGQzMWVjYWUtNDUyMi00NjhlLThiMjctNWJlZmQwNTFkZDUzL3Jlc291cmNlR3JvdXBzL0Nvc21vc0RCUmVzb3VyY2VHcm91cDkxNDgvcHJvdmlkZXJzL01pY3Jvc29mdC5Eb2N1bWVudERCL2Nhc3NhbmRyYUNsdXN0ZXJzL21hbmFnZWRjbHVzdGVyNTQvZGF0YUNlbnRlcnMvbWFuYWdlZERDNTE4Ny9vcGVyYXRpb25SZXN1bHRzLzI2MjM1MjA2LTBhZmItNGI2Zi1hOGFhLWYxZDM4MjVhY2Q0ZT9hcGktdmVyc2lvbj0yMDIxLTAzLTAxLXByZXZpZXc=", - "RequestMethod": "GET", - "RequestBody": "", - "RequestHeaders": { - "User-Agent": [ - "FxVersion/4.6.28207.03", - "OSName/Windows", - "OSVersion/Microsoft.Windows.10.0.19042.", - "Microsoft.Azure.Management.CosmosDB.CosmosDBManagementClient/2.1.0.0" - ] - }, - "ResponseHeaders": { - "Cache-Control": [ - "no-store, no-cache" - ], - "Pragma": [ - "no-cache" - ], - "Strict-Transport-Security": [ - "max-age=31536000; includeSubDomains" - ], - "x-ms-gatewayversion": [ - "version=2.11.0" - ], - "Server": [ - "Microsoft-HTTPAPI/2.0" - ], - "x-ms-ratelimit-remaining-subscription-reads": [ - "11970" - ], - "x-ms-request-id": [ - "4c9f5416-3b15-4c89-93a1-c7cda912960a" - ], - "x-ms-correlation-request-id": [ - "4c9f5416-3b15-4c89-93a1-c7cda912960a" - ], - "x-ms-routing-request-id": [ - "WESTUS2:20210304T174616Z:4c9f5416-3b15-4c89-93a1-c7cda912960a" - ], - "X-Content-Type-Options": [ - "nosniff" - ], - "Date": [ - "Thu, 04 Mar 2021 17:46:15 GMT" - ], - "Content-Length": [ - "22" - ], - "Content-Type": [ - "application/json" - ] - }, - "ResponseBody": "{\r\n \"status\": \"Succeeded\"\r\n}", - "StatusCode": 200 - }, - { - "RequestUri": "/subscriptions/dd31ecae-4522-468e-8b27-5befd051dd53/resourceGroups/CosmosDBResourceGroup9148/providers/Microsoft.DocumentDB/cassandraClusters/managedcluster54/dataCenters/managedDC5187/operationResults/26235206-0afb-4b6f-a8aa-f1d3825acd4e?api-version=2021-03-01-preview", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZGQzMWVjYWUtNDUyMi00NjhlLThiMjctNWJlZmQwNTFkZDUzL3Jlc291cmNlR3JvdXBzL0Nvc21vc0RCUmVzb3VyY2VHcm91cDkxNDgvcHJvdmlkZXJzL01pY3Jvc29mdC5Eb2N1bWVudERCL2Nhc3NhbmRyYUNsdXN0ZXJzL21hbmFnZWRjbHVzdGVyNTQvZGF0YUNlbnRlcnMvbWFuYWdlZERDNTE4Ny9vcGVyYXRpb25SZXN1bHRzLzI2MjM1MjA2LTBhZmItNGI2Zi1hOGFhLWYxZDM4MjVhY2Q0ZT9hcGktdmVyc2lvbj0yMDIxLTAzLTAxLXByZXZpZXc=", - "RequestMethod": "GET", - "RequestBody": "", - "RequestHeaders": { - "User-Agent": [ - "FxVersion/4.6.28207.03", - "OSName/Windows", - "OSVersion/Microsoft.Windows.10.0.19042.", - "Microsoft.Azure.Management.CosmosDB.CosmosDBManagementClient/2.1.0.0" - ] - }, - "ResponseHeaders": { - "Cache-Control": [ - "no-store, no-cache" - ], - "Pragma": [ - "no-cache" - ], - "Strict-Transport-Security": [ - "max-age=31536000; includeSubDomains" - ], - "x-ms-gatewayversion": [ - "version=2.11.0" - ], - "Server": [ - "Microsoft-HTTPAPI/2.0" - ], - "x-ms-ratelimit-remaining-subscription-reads": [ - "11969" - ], - "x-ms-request-id": [ - "5562a616-6594-4b54-83ee-d7dfd7e84b42" - ], - "x-ms-correlation-request-id": [ - "5562a616-6594-4b54-83ee-d7dfd7e84b42" - ], - "x-ms-routing-request-id": [ - "WESTUS2:20210304T174616Z:5562a616-6594-4b54-83ee-d7dfd7e84b42" - ], - "X-Content-Type-Options": [ - "nosniff" - ], - "Date": [ - "Thu, 04 Mar 2021 17:46:16 GMT" - ], - "Content-Length": [ - "22" - ], - "Content-Type": [ - "application/json" - ] - }, - "ResponseBody": "{\r\n \"status\": \"Succeeded\"\r\n}", - "StatusCode": 200 - }, - { - "RequestUri": "/subscriptions/dd31ecae-4522-468e-8b27-5befd051dd53/resourceGroups/CosmosDBResourceGroup9148/providers/Microsoft.DocumentDB/cassandraClusters/managedcluster54?api-version=2021-03-01-preview", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZGQzMWVjYWUtNDUyMi00NjhlLThiMjctNWJlZmQwNTFkZDUzL3Jlc291cmNlR3JvdXBzL0Nvc21vc0RCUmVzb3VyY2VHcm91cDkxNDgvcHJvdmlkZXJzL01pY3Jvc29mdC5Eb2N1bWVudERCL2Nhc3NhbmRyYUNsdXN0ZXJzL21hbmFnZWRjbHVzdGVyNTQ/YXBpLXZlcnNpb249MjAyMS0wMy0wMS1wcmV2aWV3", - "RequestMethod": "DELETE", - "RequestBody": "", - "RequestHeaders": { - "x-ms-client-request-id": [ - "d4268eb5-2a71-44d8-8ed4-9994dd3f5402" - ], - "Accept-Language": [ - "en-US" - ], - "User-Agent": [ - "FxVersion/4.6.28207.03", - "OSName/Windows", - "OSVersion/Microsoft.Windows.10.0.19042.", - "Microsoft.Azure.Management.CosmosDB.CosmosDBManagementClient/2.1.0.0" - ] - }, - "ResponseHeaders": { - "Cache-Control": [ - "no-store, no-cache" - ], - "Pragma": [ - "no-cache" - ], - "Location": [ - "https://management.azure.com/subscriptions/dd31ecae-4522-468e-8b27-5befd051dd53/resourceGroups/CosmosDBResourceGroup9148/providers/Microsoft.DocumentDB/cassandraClusters/managedcluster54/operationResults/64cd6bb1-6090-49b2-9f90-870a507d4f7f?api-version=2021-03-01-preview" - ], - "x-ms-request-id": [ - "64cd6bb1-6090-49b2-9f90-870a507d4f7f" - ], - "Strict-Transport-Security": [ - "max-age=31536000; includeSubDomains" - ], - "x-ms-gatewayversion": [ - "version=2.11.0" - ], - "Server": [ - "Microsoft-HTTPAPI/2.0" - ], - "x-ms-ratelimit-remaining-subscription-deletes": [ - "14998" - ], - "x-ms-correlation-request-id": [ - "a877c127-fd87-4123-8e66-c44a1e2d58a2" - ], - "x-ms-routing-request-id": [ - "WESTUS2:20210304T174617Z:a877c127-fd87-4123-8e66-c44a1e2d58a2" - ], - "X-Content-Type-Options": [ - "nosniff" - ], - "Date": [ - "Thu, 04 Mar 2021 17:46:16 GMT" - ], - "Content-Length": [ - "21" - ], - "Content-Type": [ - "application/json" - ] - }, - "ResponseBody": "{\r\n \"status\": \"Enqueued\"\r\n}", - "StatusCode": 202 - }, - { - "RequestUri": "/subscriptions/dd31ecae-4522-468e-8b27-5befd051dd53/resourceGroups/CosmosDBResourceGroup9148/providers/Microsoft.DocumentDB/cassandraClusters/managedcluster54?api-version=2021-03-01-preview", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZGQzMWVjYWUtNDUyMi00NjhlLThiMjctNWJlZmQwNTFkZDUzL3Jlc291cmNlR3JvdXBzL0Nvc21vc0RCUmVzb3VyY2VHcm91cDkxNDgvcHJvdmlkZXJzL01pY3Jvc29mdC5Eb2N1bWVudERCL2Nhc3NhbmRyYUNsdXN0ZXJzL21hbmFnZWRjbHVzdGVyNTQ/YXBpLXZlcnNpb249MjAyMS0wMy0wMS1wcmV2aWV3", - "RequestMethod": "DELETE", - "RequestBody": "", - "RequestHeaders": { - "x-ms-client-request-id": [ - "93d535a4-0c52-4c1b-9b5c-925ce2a38a11" - ], - "Accept-Language": [ - "en-US" - ], - "User-Agent": [ - "FxVersion/4.6.28207.03", - "OSName/Windows", - "OSVersion/Microsoft.Windows.10.0.19042.", - "Microsoft.Azure.Management.CosmosDB.CosmosDBManagementClient/2.1.0.0" - ] - }, - "ResponseHeaders": { - "Cache-Control": [ - "no-store, no-cache" - ], - "Pragma": [ - "no-cache" - ], - "Strict-Transport-Security": [ - "max-age=31536000; includeSubDomains" - ], - "x-ms-activity-id": [ - "93d535a4-0c52-4c1b-9b5c-925ce2a38a11" - ], - "Server": [ - "Microsoft-HTTPAPI/2.0" - ], - "x-ms-ratelimit-remaining-subscription-deletes": [ - "14997" - ], - "x-ms-request-id": [ - "4c40f38a-3f46-458d-b4d6-9f540bfdf281" - ], - "x-ms-correlation-request-id": [ - "4c40f38a-3f46-458d-b4d6-9f540bfdf281" - ], - "x-ms-routing-request-id": [ - "WESTUS2:20210304T175151Z:4c40f38a-3f46-458d-b4d6-9f540bfdf281" - ], - "X-Content-Type-Options": [ - "nosniff" - ], - "Date": [ - "Thu, 04 Mar 2021 17:51:51 GMT" - ] - }, - "ResponseBody": "", - "StatusCode": 204 - }, - { - "RequestUri": "/subscriptions/dd31ecae-4522-468e-8b27-5befd051dd53/resourceGroups/CosmosDBResourceGroup9148/providers/Microsoft.DocumentDB/cassandraClusters/managedcluster54/operationResults/64cd6bb1-6090-49b2-9f90-870a507d4f7f?api-version=2021-03-01-preview", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZGQzMWVjYWUtNDUyMi00NjhlLThiMjctNWJlZmQwNTFkZDUzL3Jlc291cmNlR3JvdXBzL0Nvc21vc0RCUmVzb3VyY2VHcm91cDkxNDgvcHJvdmlkZXJzL01pY3Jvc29mdC5Eb2N1bWVudERCL2Nhc3NhbmRyYUNsdXN0ZXJzL21hbmFnZWRjbHVzdGVyNTQvb3BlcmF0aW9uUmVzdWx0cy82NGNkNmJiMS02MDkwLTQ5YjItOWY5MC04NzBhNTA3ZDRmN2Y/YXBpLXZlcnNpb249MjAyMS0wMy0wMS1wcmV2aWV3", - "RequestMethod": "GET", - "RequestBody": "", - "RequestHeaders": { - "User-Agent": [ - "FxVersion/4.6.28207.03", - "OSName/Windows", - "OSVersion/Microsoft.Windows.10.0.19042.", - "Microsoft.Azure.Management.CosmosDB.CosmosDBManagementClient/2.1.0.0" - ] - }, - "ResponseHeaders": { - "Cache-Control": [ - "no-store, no-cache" - ], - "Pragma": [ - "no-cache" - ], - "Location": [ - "https://management.azure.com/subscriptions/dd31ecae-4522-468e-8b27-5befd051dd53/resourceGroups/CosmosDBResourceGroup9148/providers/Microsoft.DocumentDB/cassandraClusters/managedcluster54/operationResults/64cd6bb1-6090-49b2-9f90-870a507d4f7f?api-version=2021-03-01-preview" - ], - "x-ms-request-id": [ - "64cd6bb1-6090-49b2-9f90-870a507d4f7f" - ], - "Strict-Transport-Security": [ - "max-age=31536000; includeSubDomains" - ], - "x-ms-gatewayversion": [ - "version=2.11.0" - ], - "Server": [ - "Microsoft-HTTPAPI/2.0" - ], - "x-ms-ratelimit-remaining-subscription-reads": [ - "11968" - ], - "x-ms-correlation-request-id": [ - "f9f31e17-80f7-43de-bf16-51cb59bf2264" - ], - "x-ms-routing-request-id": [ - "WESTUS2:20210304T174647Z:f9f31e17-80f7-43de-bf16-51cb59bf2264" - ], - "X-Content-Type-Options": [ - "nosniff" - ], - "Date": [ - "Thu, 04 Mar 2021 17:46:47 GMT" - ], - "Content-Length": [ - "21" - ], - "Content-Type": [ - "application/json" - ] - }, - "ResponseBody": "{\r\n \"status\": \"Dequeued\"\r\n}", - "StatusCode": 202 - }, - { - "RequestUri": "/subscriptions/dd31ecae-4522-468e-8b27-5befd051dd53/resourceGroups/CosmosDBResourceGroup9148/providers/Microsoft.DocumentDB/cassandraClusters/managedcluster54/operationResults/64cd6bb1-6090-49b2-9f90-870a507d4f7f?api-version=2021-03-01-preview", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZGQzMWVjYWUtNDUyMi00NjhlLThiMjctNWJlZmQwNTFkZDUzL3Jlc291cmNlR3JvdXBzL0Nvc21vc0RCUmVzb3VyY2VHcm91cDkxNDgvcHJvdmlkZXJzL01pY3Jvc29mdC5Eb2N1bWVudERCL2Nhc3NhbmRyYUNsdXN0ZXJzL21hbmFnZWRjbHVzdGVyNTQvb3BlcmF0aW9uUmVzdWx0cy82NGNkNmJiMS02MDkwLTQ5YjItOWY5MC04NzBhNTA3ZDRmN2Y/YXBpLXZlcnNpb249MjAyMS0wMy0wMS1wcmV2aWV3", - "RequestMethod": "GET", - "RequestBody": "", - "RequestHeaders": { - "User-Agent": [ - "FxVersion/4.6.28207.03", - "OSName/Windows", - "OSVersion/Microsoft.Windows.10.0.19042.", - "Microsoft.Azure.Management.CosmosDB.CosmosDBManagementClient/2.1.0.0" - ] - }, - "ResponseHeaders": { - "Cache-Control": [ - "no-store, no-cache" - ], - "Pragma": [ - "no-cache" - ], - "Location": [ - "https://management.azure.com/subscriptions/dd31ecae-4522-468e-8b27-5befd051dd53/resourceGroups/CosmosDBResourceGroup9148/providers/Microsoft.DocumentDB/cassandraClusters/managedcluster54/operationResults/64cd6bb1-6090-49b2-9f90-870a507d4f7f?api-version=2021-03-01-preview" - ], - "x-ms-request-id": [ - "64cd6bb1-6090-49b2-9f90-870a507d4f7f" - ], - "Strict-Transport-Security": [ - "max-age=31536000; includeSubDomains" - ], - "x-ms-gatewayversion": [ - "version=2.11.0" - ], - "Server": [ - "Microsoft-HTTPAPI/2.0" - ], - "x-ms-ratelimit-remaining-subscription-reads": [ - "11967" - ], - "x-ms-correlation-request-id": [ - "589c8b0f-0dee-40c0-b2d9-07fe1cad4665" - ], - "x-ms-routing-request-id": [ - "WESTUS2:20210304T174717Z:589c8b0f-0dee-40c0-b2d9-07fe1cad4665" - ], - "X-Content-Type-Options": [ - "nosniff" - ], - "Date": [ - "Thu, 04 Mar 2021 17:47:17 GMT" - ], - "Content-Length": [ - "21" - ], - "Content-Type": [ - "application/json" - ] - }, - "ResponseBody": "{\r\n \"status\": \"Dequeued\"\r\n}", - "StatusCode": 202 - }, - { - "RequestUri": "/subscriptions/dd31ecae-4522-468e-8b27-5befd051dd53/resourceGroups/CosmosDBResourceGroup9148/providers/Microsoft.DocumentDB/cassandraClusters/managedcluster54/operationResults/64cd6bb1-6090-49b2-9f90-870a507d4f7f?api-version=2021-03-01-preview", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZGQzMWVjYWUtNDUyMi00NjhlLThiMjctNWJlZmQwNTFkZDUzL3Jlc291cmNlR3JvdXBzL0Nvc21vc0RCUmVzb3VyY2VHcm91cDkxNDgvcHJvdmlkZXJzL01pY3Jvc29mdC5Eb2N1bWVudERCL2Nhc3NhbmRyYUNsdXN0ZXJzL21hbmFnZWRjbHVzdGVyNTQvb3BlcmF0aW9uUmVzdWx0cy82NGNkNmJiMS02MDkwLTQ5YjItOWY5MC04NzBhNTA3ZDRmN2Y/YXBpLXZlcnNpb249MjAyMS0wMy0wMS1wcmV2aWV3", - "RequestMethod": "GET", - "RequestBody": "", - "RequestHeaders": { - "User-Agent": [ - "FxVersion/4.6.28207.03", - "OSName/Windows", - "OSVersion/Microsoft.Windows.10.0.19042.", - "Microsoft.Azure.Management.CosmosDB.CosmosDBManagementClient/2.1.0.0" - ] - }, - "ResponseHeaders": { - "Cache-Control": [ - "no-store, no-cache" - ], - "Pragma": [ - "no-cache" - ], - "Location": [ - "https://management.azure.com/subscriptions/dd31ecae-4522-468e-8b27-5befd051dd53/resourceGroups/CosmosDBResourceGroup9148/providers/Microsoft.DocumentDB/cassandraClusters/managedcluster54/operationResults/64cd6bb1-6090-49b2-9f90-870a507d4f7f?api-version=2021-03-01-preview" - ], - "x-ms-request-id": [ - "64cd6bb1-6090-49b2-9f90-870a507d4f7f" - ], - "Strict-Transport-Security": [ - "max-age=31536000; includeSubDomains" - ], - "x-ms-gatewayversion": [ - "version=2.11.0" - ], - "Server": [ - "Microsoft-HTTPAPI/2.0" - ], - "x-ms-ratelimit-remaining-subscription-reads": [ - "11966" - ], - "x-ms-correlation-request-id": [ - "7cb15262-fcbe-4a4c-a646-b72ec72a2953" - ], - "x-ms-routing-request-id": [ - "WESTUS2:20210304T174747Z:7cb15262-fcbe-4a4c-a646-b72ec72a2953" - ], - "X-Content-Type-Options": [ - "nosniff" - ], - "Date": [ - "Thu, 04 Mar 2021 17:47:47 GMT" - ], - "Content-Length": [ - "21" - ], - "Content-Type": [ - "application/json" - ] - }, - "ResponseBody": "{\r\n \"status\": \"Dequeued\"\r\n}", - "StatusCode": 202 - }, - { - "RequestUri": "/subscriptions/dd31ecae-4522-468e-8b27-5befd051dd53/resourceGroups/CosmosDBResourceGroup9148/providers/Microsoft.DocumentDB/cassandraClusters/managedcluster54/operationResults/64cd6bb1-6090-49b2-9f90-870a507d4f7f?api-version=2021-03-01-preview", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZGQzMWVjYWUtNDUyMi00NjhlLThiMjctNWJlZmQwNTFkZDUzL3Jlc291cmNlR3JvdXBzL0Nvc21vc0RCUmVzb3VyY2VHcm91cDkxNDgvcHJvdmlkZXJzL01pY3Jvc29mdC5Eb2N1bWVudERCL2Nhc3NhbmRyYUNsdXN0ZXJzL21hbmFnZWRjbHVzdGVyNTQvb3BlcmF0aW9uUmVzdWx0cy82NGNkNmJiMS02MDkwLTQ5YjItOWY5MC04NzBhNTA3ZDRmN2Y/YXBpLXZlcnNpb249MjAyMS0wMy0wMS1wcmV2aWV3", - "RequestMethod": "GET", - "RequestBody": "", - "RequestHeaders": { - "User-Agent": [ - "FxVersion/4.6.28207.03", - "OSName/Windows", - "OSVersion/Microsoft.Windows.10.0.19042.", - "Microsoft.Azure.Management.CosmosDB.CosmosDBManagementClient/2.1.0.0" - ] - }, - "ResponseHeaders": { - "Cache-Control": [ - "no-store, no-cache" - ], - "Pragma": [ - "no-cache" - ], - "Location": [ - "https://management.azure.com/subscriptions/dd31ecae-4522-468e-8b27-5befd051dd53/resourceGroups/CosmosDBResourceGroup9148/providers/Microsoft.DocumentDB/cassandraClusters/managedcluster54/operationResults/64cd6bb1-6090-49b2-9f90-870a507d4f7f?api-version=2021-03-01-preview" - ], - "x-ms-request-id": [ - "64cd6bb1-6090-49b2-9f90-870a507d4f7f" - ], - "Strict-Transport-Security": [ - "max-age=31536000; includeSubDomains" - ], - "x-ms-gatewayversion": [ - "version=2.11.0" - ], - "Server": [ - "Microsoft-HTTPAPI/2.0" - ], - "x-ms-ratelimit-remaining-subscription-reads": [ - "11965" - ], - "x-ms-correlation-request-id": [ - "3c9ab08c-3fdf-495f-8bb9-5732f47e75cc" - ], - "x-ms-routing-request-id": [ - "WESTUS2:20210304T174818Z:3c9ab08c-3fdf-495f-8bb9-5732f47e75cc" - ], - "X-Content-Type-Options": [ - "nosniff" - ], - "Date": [ - "Thu, 04 Mar 2021 17:48:17 GMT" - ], - "Content-Length": [ - "21" - ], - "Content-Type": [ - "application/json" - ] - }, - "ResponseBody": "{\r\n \"status\": \"Dequeued\"\r\n}", - "StatusCode": 202 - }, - { - "RequestUri": "/subscriptions/dd31ecae-4522-468e-8b27-5befd051dd53/resourceGroups/CosmosDBResourceGroup9148/providers/Microsoft.DocumentDB/cassandraClusters/managedcluster54/operationResults/64cd6bb1-6090-49b2-9f90-870a507d4f7f?api-version=2021-03-01-preview", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZGQzMWVjYWUtNDUyMi00NjhlLThiMjctNWJlZmQwNTFkZDUzL3Jlc291cmNlR3JvdXBzL0Nvc21vc0RCUmVzb3VyY2VHcm91cDkxNDgvcHJvdmlkZXJzL01pY3Jvc29mdC5Eb2N1bWVudERCL2Nhc3NhbmRyYUNsdXN0ZXJzL21hbmFnZWRjbHVzdGVyNTQvb3BlcmF0aW9uUmVzdWx0cy82NGNkNmJiMS02MDkwLTQ5YjItOWY5MC04NzBhNTA3ZDRmN2Y/YXBpLXZlcnNpb249MjAyMS0wMy0wMS1wcmV2aWV3", - "RequestMethod": "GET", - "RequestBody": "", - "RequestHeaders": { - "User-Agent": [ - "FxVersion/4.6.28207.03", - "OSName/Windows", - "OSVersion/Microsoft.Windows.10.0.19042.", - "Microsoft.Azure.Management.CosmosDB.CosmosDBManagementClient/2.1.0.0" - ] - }, - "ResponseHeaders": { - "Cache-Control": [ - "no-store, no-cache" - ], - "Pragma": [ - "no-cache" - ], - "Location": [ - "https://management.azure.com/subscriptions/dd31ecae-4522-468e-8b27-5befd051dd53/resourceGroups/CosmosDBResourceGroup9148/providers/Microsoft.DocumentDB/cassandraClusters/managedcluster54/operationResults/64cd6bb1-6090-49b2-9f90-870a507d4f7f?api-version=2021-03-01-preview" - ], - "x-ms-request-id": [ - "64cd6bb1-6090-49b2-9f90-870a507d4f7f" - ], - "Strict-Transport-Security": [ - "max-age=31536000; includeSubDomains" - ], - "x-ms-gatewayversion": [ - "version=2.11.0" - ], - "Server": [ - "Microsoft-HTTPAPI/2.0" - ], - "x-ms-ratelimit-remaining-subscription-reads": [ - "11964" - ], - "x-ms-correlation-request-id": [ - "3c982e53-c795-4406-8329-b8c100e4b206" - ], - "x-ms-routing-request-id": [ - "WESTUS2:20210304T174848Z:3c982e53-c795-4406-8329-b8c100e4b206" - ], - "X-Content-Type-Options": [ - "nosniff" - ], - "Date": [ - "Thu, 04 Mar 2021 17:48:48 GMT" - ], - "Content-Length": [ - "21" - ], - "Content-Type": [ - "application/json" - ] - }, - "ResponseBody": "{\r\n \"status\": \"Dequeued\"\r\n}", - "StatusCode": 202 - }, - { - "RequestUri": "/subscriptions/dd31ecae-4522-468e-8b27-5befd051dd53/resourceGroups/CosmosDBResourceGroup9148/providers/Microsoft.DocumentDB/cassandraClusters/managedcluster54/operationResults/64cd6bb1-6090-49b2-9f90-870a507d4f7f?api-version=2021-03-01-preview", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZGQzMWVjYWUtNDUyMi00NjhlLThiMjctNWJlZmQwNTFkZDUzL3Jlc291cmNlR3JvdXBzL0Nvc21vc0RCUmVzb3VyY2VHcm91cDkxNDgvcHJvdmlkZXJzL01pY3Jvc29mdC5Eb2N1bWVudERCL2Nhc3NhbmRyYUNsdXN0ZXJzL21hbmFnZWRjbHVzdGVyNTQvb3BlcmF0aW9uUmVzdWx0cy82NGNkNmJiMS02MDkwLTQ5YjItOWY5MC04NzBhNTA3ZDRmN2Y/YXBpLXZlcnNpb249MjAyMS0wMy0wMS1wcmV2aWV3", - "RequestMethod": "GET", - "RequestBody": "", - "RequestHeaders": { - "User-Agent": [ - "FxVersion/4.6.28207.03", - "OSName/Windows", - "OSVersion/Microsoft.Windows.10.0.19042.", - "Microsoft.Azure.Management.CosmosDB.CosmosDBManagementClient/2.1.0.0" - ] - }, - "ResponseHeaders": { - "Cache-Control": [ - "no-store, no-cache" - ], - "Pragma": [ - "no-cache" - ], - "Location": [ - "https://management.azure.com/subscriptions/dd31ecae-4522-468e-8b27-5befd051dd53/resourceGroups/CosmosDBResourceGroup9148/providers/Microsoft.DocumentDB/cassandraClusters/managedcluster54/operationResults/64cd6bb1-6090-49b2-9f90-870a507d4f7f?api-version=2021-03-01-preview" - ], - "x-ms-request-id": [ - "64cd6bb1-6090-49b2-9f90-870a507d4f7f" - ], - "Strict-Transport-Security": [ - "max-age=31536000; includeSubDomains" - ], - "x-ms-gatewayversion": [ - "version=2.11.0" - ], - "Server": [ - "Microsoft-HTTPAPI/2.0" - ], - "x-ms-ratelimit-remaining-subscription-reads": [ - "11963" - ], - "x-ms-correlation-request-id": [ - "c946ede7-faa9-4708-83b1-a12aefcdcddd" - ], - "x-ms-routing-request-id": [ - "WESTUS2:20210304T174918Z:c946ede7-faa9-4708-83b1-a12aefcdcddd" - ], - "X-Content-Type-Options": [ - "nosniff" - ], - "Date": [ - "Thu, 04 Mar 2021 17:49:17 GMT" - ], - "Content-Length": [ - "21" - ], - "Content-Type": [ - "application/json" - ] - }, - "ResponseBody": "{\r\n \"status\": \"Dequeued\"\r\n}", - "StatusCode": 202 - }, - { - "RequestUri": "/subscriptions/dd31ecae-4522-468e-8b27-5befd051dd53/resourceGroups/CosmosDBResourceGroup9148/providers/Microsoft.DocumentDB/cassandraClusters/managedcluster54/operationResults/64cd6bb1-6090-49b2-9f90-870a507d4f7f?api-version=2021-03-01-preview", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZGQzMWVjYWUtNDUyMi00NjhlLThiMjctNWJlZmQwNTFkZDUzL3Jlc291cmNlR3JvdXBzL0Nvc21vc0RCUmVzb3VyY2VHcm91cDkxNDgvcHJvdmlkZXJzL01pY3Jvc29mdC5Eb2N1bWVudERCL2Nhc3NhbmRyYUNsdXN0ZXJzL21hbmFnZWRjbHVzdGVyNTQvb3BlcmF0aW9uUmVzdWx0cy82NGNkNmJiMS02MDkwLTQ5YjItOWY5MC04NzBhNTA3ZDRmN2Y/YXBpLXZlcnNpb249MjAyMS0wMy0wMS1wcmV2aWV3", - "RequestMethod": "GET", - "RequestBody": "", - "RequestHeaders": { - "User-Agent": [ - "FxVersion/4.6.28207.03", - "OSName/Windows", - "OSVersion/Microsoft.Windows.10.0.19042.", - "Microsoft.Azure.Management.CosmosDB.CosmosDBManagementClient/2.1.0.0" - ] - }, - "ResponseHeaders": { - "Cache-Control": [ - "no-store, no-cache" - ], - "Pragma": [ - "no-cache" - ], - "Location": [ - "https://management.azure.com/subscriptions/dd31ecae-4522-468e-8b27-5befd051dd53/resourceGroups/CosmosDBResourceGroup9148/providers/Microsoft.DocumentDB/cassandraClusters/managedcluster54/operationResults/64cd6bb1-6090-49b2-9f90-870a507d4f7f?api-version=2021-03-01-preview" - ], - "x-ms-request-id": [ - "64cd6bb1-6090-49b2-9f90-870a507d4f7f" - ], - "Strict-Transport-Security": [ - "max-age=31536000; includeSubDomains" - ], - "x-ms-gatewayversion": [ - "version=2.11.0" - ], - "Server": [ - "Microsoft-HTTPAPI/2.0" - ], - "x-ms-ratelimit-remaining-subscription-reads": [ - "11962" - ], - "x-ms-correlation-request-id": [ - "80fb99c9-0da4-4e3b-b5fb-a8a4555bd1e8" - ], - "x-ms-routing-request-id": [ - "WESTUS2:20210304T174948Z:80fb99c9-0da4-4e3b-b5fb-a8a4555bd1e8" - ], - "X-Content-Type-Options": [ - "nosniff" - ], - "Date": [ - "Thu, 04 Mar 2021 17:49:48 GMT" - ], - "Content-Length": [ - "21" - ], - "Content-Type": [ - "application/json" - ] - }, - "ResponseBody": "{\r\n \"status\": \"Dequeued\"\r\n}", - "StatusCode": 202 - }, - { - "RequestUri": "/subscriptions/dd31ecae-4522-468e-8b27-5befd051dd53/resourceGroups/CosmosDBResourceGroup9148/providers/Microsoft.DocumentDB/cassandraClusters/managedcluster54/operationResults/64cd6bb1-6090-49b2-9f90-870a507d4f7f?api-version=2021-03-01-preview", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZGQzMWVjYWUtNDUyMi00NjhlLThiMjctNWJlZmQwNTFkZDUzL3Jlc291cmNlR3JvdXBzL0Nvc21vc0RCUmVzb3VyY2VHcm91cDkxNDgvcHJvdmlkZXJzL01pY3Jvc29mdC5Eb2N1bWVudERCL2Nhc3NhbmRyYUNsdXN0ZXJzL21hbmFnZWRjbHVzdGVyNTQvb3BlcmF0aW9uUmVzdWx0cy82NGNkNmJiMS02MDkwLTQ5YjItOWY5MC04NzBhNTA3ZDRmN2Y/YXBpLXZlcnNpb249MjAyMS0wMy0wMS1wcmV2aWV3", - "RequestMethod": "GET", - "RequestBody": "", - "RequestHeaders": { - "User-Agent": [ - "FxVersion/4.6.28207.03", - "OSName/Windows", - "OSVersion/Microsoft.Windows.10.0.19042.", - "Microsoft.Azure.Management.CosmosDB.CosmosDBManagementClient/2.1.0.0" - ] - }, - "ResponseHeaders": { - "Cache-Control": [ - "no-store, no-cache" - ], - "Pragma": [ - "no-cache" - ], - "Location": [ - "https://management.azure.com/subscriptions/dd31ecae-4522-468e-8b27-5befd051dd53/resourceGroups/CosmosDBResourceGroup9148/providers/Microsoft.DocumentDB/cassandraClusters/managedcluster54/operationResults/64cd6bb1-6090-49b2-9f90-870a507d4f7f?api-version=2021-03-01-preview" - ], - "x-ms-request-id": [ - "64cd6bb1-6090-49b2-9f90-870a507d4f7f" - ], - "Strict-Transport-Security": [ - "max-age=31536000; includeSubDomains" - ], - "x-ms-gatewayversion": [ - "version=2.11.0" - ], - "Server": [ - "Microsoft-HTTPAPI/2.0" - ], - "x-ms-ratelimit-remaining-subscription-reads": [ - "11961" - ], - "x-ms-correlation-request-id": [ - "4a91bc95-b4fe-4a39-80b4-740a80d87d28" - ], - "x-ms-routing-request-id": [ - "WESTUS2:20210304T175018Z:4a91bc95-b4fe-4a39-80b4-740a80d87d28" - ], - "X-Content-Type-Options": [ - "nosniff" - ], - "Date": [ - "Thu, 04 Mar 2021 17:50:17 GMT" - ], - "Content-Length": [ - "21" - ], - "Content-Type": [ - "application/json" - ] - }, - "ResponseBody": "{\r\n \"status\": \"Dequeued\"\r\n}", - "StatusCode": 202 - }, - { - "RequestUri": "/subscriptions/dd31ecae-4522-468e-8b27-5befd051dd53/resourceGroups/CosmosDBResourceGroup9148/providers/Microsoft.DocumentDB/cassandraClusters/managedcluster54/operationResults/64cd6bb1-6090-49b2-9f90-870a507d4f7f?api-version=2021-03-01-preview", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZGQzMWVjYWUtNDUyMi00NjhlLThiMjctNWJlZmQwNTFkZDUzL3Jlc291cmNlR3JvdXBzL0Nvc21vc0RCUmVzb3VyY2VHcm91cDkxNDgvcHJvdmlkZXJzL01pY3Jvc29mdC5Eb2N1bWVudERCL2Nhc3NhbmRyYUNsdXN0ZXJzL21hbmFnZWRjbHVzdGVyNTQvb3BlcmF0aW9uUmVzdWx0cy82NGNkNmJiMS02MDkwLTQ5YjItOWY5MC04NzBhNTA3ZDRmN2Y/YXBpLXZlcnNpb249MjAyMS0wMy0wMS1wcmV2aWV3", - "RequestMethod": "GET", - "RequestBody": "", - "RequestHeaders": { - "User-Agent": [ - "FxVersion/4.6.28207.03", - "OSName/Windows", - "OSVersion/Microsoft.Windows.10.0.19042.", - "Microsoft.Azure.Management.CosmosDB.CosmosDBManagementClient/2.1.0.0" - ] - }, - "ResponseHeaders": { - "Cache-Control": [ - "no-store, no-cache" - ], - "Pragma": [ - "no-cache" - ], - "Location": [ - "https://management.azure.com/subscriptions/dd31ecae-4522-468e-8b27-5befd051dd53/resourceGroups/CosmosDBResourceGroup9148/providers/Microsoft.DocumentDB/cassandraClusters/managedcluster54/operationResults/64cd6bb1-6090-49b2-9f90-870a507d4f7f?api-version=2021-03-01-preview" - ], - "x-ms-request-id": [ - "64cd6bb1-6090-49b2-9f90-870a507d4f7f" - ], - "Strict-Transport-Security": [ - "max-age=31536000; includeSubDomains" - ], - "x-ms-gatewayversion": [ - "version=2.11.0" - ], - "Server": [ - "Microsoft-HTTPAPI/2.0" - ], - "x-ms-ratelimit-remaining-subscription-reads": [ - "11960" - ], - "x-ms-correlation-request-id": [ - "02822cb2-8590-488f-a109-c2098e97bf46" - ], - "x-ms-routing-request-id": [ - "WESTUS2:20210304T175048Z:02822cb2-8590-488f-a109-c2098e97bf46" - ], - "X-Content-Type-Options": [ - "nosniff" - ], - "Date": [ - "Thu, 04 Mar 2021 17:50:48 GMT" - ], - "Content-Length": [ - "21" - ], - "Content-Type": [ - "application/json" - ] - }, - "ResponseBody": "{\r\n \"status\": \"Dequeued\"\r\n}", - "StatusCode": 202 - }, - { - "RequestUri": "/subscriptions/dd31ecae-4522-468e-8b27-5befd051dd53/resourceGroups/CosmosDBResourceGroup9148/providers/Microsoft.DocumentDB/cassandraClusters/managedcluster54/operationResults/64cd6bb1-6090-49b2-9f90-870a507d4f7f?api-version=2021-03-01-preview", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZGQzMWVjYWUtNDUyMi00NjhlLThiMjctNWJlZmQwNTFkZDUzL3Jlc291cmNlR3JvdXBzL0Nvc21vc0RCUmVzb3VyY2VHcm91cDkxNDgvcHJvdmlkZXJzL01pY3Jvc29mdC5Eb2N1bWVudERCL2Nhc3NhbmRyYUNsdXN0ZXJzL21hbmFnZWRjbHVzdGVyNTQvb3BlcmF0aW9uUmVzdWx0cy82NGNkNmJiMS02MDkwLTQ5YjItOWY5MC04NzBhNTA3ZDRmN2Y/YXBpLXZlcnNpb249MjAyMS0wMy0wMS1wcmV2aWV3", - "RequestMethod": "GET", - "RequestBody": "", - "RequestHeaders": { - "User-Agent": [ - "FxVersion/4.6.28207.03", - "OSName/Windows", - "OSVersion/Microsoft.Windows.10.0.19042.", - "Microsoft.Azure.Management.CosmosDB.CosmosDBManagementClient/2.1.0.0" - ] - }, - "ResponseHeaders": { - "Cache-Control": [ - "no-store, no-cache" - ], - "Pragma": [ - "no-cache" - ], - "Location": [ - "https://management.azure.com/subscriptions/dd31ecae-4522-468e-8b27-5befd051dd53/resourceGroups/CosmosDBResourceGroup9148/providers/Microsoft.DocumentDB/cassandraClusters/managedcluster54/operationResults/64cd6bb1-6090-49b2-9f90-870a507d4f7f?api-version=2021-03-01-preview" - ], - "x-ms-request-id": [ - "64cd6bb1-6090-49b2-9f90-870a507d4f7f" - ], - "Strict-Transport-Security": [ - "max-age=31536000; includeSubDomains" - ], - "x-ms-gatewayversion": [ - "version=2.11.0" - ], - "Server": [ - "Microsoft-HTTPAPI/2.0" - ], - "x-ms-ratelimit-remaining-subscription-reads": [ - "11959" - ], - "x-ms-correlation-request-id": [ - "65a46f94-dc37-49a1-aa55-adf44bf3c30e" - ], - "x-ms-routing-request-id": [ - "WESTUS2:20210304T175119Z:65a46f94-dc37-49a1-aa55-adf44bf3c30e" - ], - "X-Content-Type-Options": [ - "nosniff" - ], - "Date": [ - "Thu, 04 Mar 2021 17:51:18 GMT" - ], - "Content-Length": [ - "21" - ], - "Content-Type": [ - "application/json" - ] - }, - "ResponseBody": "{\r\n \"status\": \"Dequeued\"\r\n}", - "StatusCode": 202 - }, - { - "RequestUri": "/subscriptions/dd31ecae-4522-468e-8b27-5befd051dd53/resourceGroups/CosmosDBResourceGroup9148/providers/Microsoft.DocumentDB/cassandraClusters/managedcluster54/operationResults/64cd6bb1-6090-49b2-9f90-870a507d4f7f?api-version=2021-03-01-preview", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZGQzMWVjYWUtNDUyMi00NjhlLThiMjctNWJlZmQwNTFkZDUzL3Jlc291cmNlR3JvdXBzL0Nvc21vc0RCUmVzb3VyY2VHcm91cDkxNDgvcHJvdmlkZXJzL01pY3Jvc29mdC5Eb2N1bWVudERCL2Nhc3NhbmRyYUNsdXN0ZXJzL21hbmFnZWRjbHVzdGVyNTQvb3BlcmF0aW9uUmVzdWx0cy82NGNkNmJiMS02MDkwLTQ5YjItOWY5MC04NzBhNTA3ZDRmN2Y/YXBpLXZlcnNpb249MjAyMS0wMy0wMS1wcmV2aWV3", - "RequestMethod": "GET", - "RequestBody": "", - "RequestHeaders": { - "User-Agent": [ - "FxVersion/4.6.28207.03", - "OSName/Windows", - "OSVersion/Microsoft.Windows.10.0.19042.", - "Microsoft.Azure.Management.CosmosDB.CosmosDBManagementClient/2.1.0.0" - ] - }, - "ResponseHeaders": { - "Cache-Control": [ - "no-store, no-cache" - ], - "Pragma": [ - "no-cache" - ], - "Strict-Transport-Security": [ - "max-age=31536000; includeSubDomains" - ], - "x-ms-gatewayversion": [ - "version=2.11.0" - ], - "Server": [ - "Microsoft-HTTPAPI/2.0" - ], - "x-ms-ratelimit-remaining-subscription-reads": [ - "11958" - ], - "x-ms-request-id": [ - "7f3df13b-02c0-479c-a981-29f1e2413008" - ], - "x-ms-correlation-request-id": [ - "7f3df13b-02c0-479c-a981-29f1e2413008" - ], - "x-ms-routing-request-id": [ - "WESTUS2:20210304T175149Z:7f3df13b-02c0-479c-a981-29f1e2413008" - ], - "X-Content-Type-Options": [ - "nosniff" - ], - "Date": [ - "Thu, 04 Mar 2021 17:51:48 GMT" - ], - "Content-Length": [ - "22" - ], - "Content-Type": [ - "application/json" - ] - }, - "ResponseBody": "{\r\n \"status\": \"Succeeded\"\r\n}", - "StatusCode": 200 - }, - { - "RequestUri": "/subscriptions/dd31ecae-4522-468e-8b27-5befd051dd53/resourceGroups/CosmosDBResourceGroup9148/providers/Microsoft.DocumentDB/cassandraClusters/managedcluster54/operationResults/64cd6bb1-6090-49b2-9f90-870a507d4f7f?api-version=2021-03-01-preview", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZGQzMWVjYWUtNDUyMi00NjhlLThiMjctNWJlZmQwNTFkZDUzL3Jlc291cmNlR3JvdXBzL0Nvc21vc0RCUmVzb3VyY2VHcm91cDkxNDgvcHJvdmlkZXJzL01pY3Jvc29mdC5Eb2N1bWVudERCL2Nhc3NhbmRyYUNsdXN0ZXJzL21hbmFnZWRjbHVzdGVyNTQvb3BlcmF0aW9uUmVzdWx0cy82NGNkNmJiMS02MDkwLTQ5YjItOWY5MC04NzBhNTA3ZDRmN2Y/YXBpLXZlcnNpb249MjAyMS0wMy0wMS1wcmV2aWV3", - "RequestMethod": "GET", - "RequestBody": "", - "RequestHeaders": { - "User-Agent": [ - "FxVersion/4.6.28207.03", - "OSName/Windows", - "OSVersion/Microsoft.Windows.10.0.19042.", - "Microsoft.Azure.Management.CosmosDB.CosmosDBManagementClient/2.1.0.0" - ] - }, - "ResponseHeaders": { - "Cache-Control": [ - "no-store, no-cache" - ], - "Pragma": [ - "no-cache" - ], - "Strict-Transport-Security": [ - "max-age=31536000; includeSubDomains" - ], - "x-ms-gatewayversion": [ - "version=2.11.0" - ], - "Server": [ - "Microsoft-HTTPAPI/2.0" - ], - "x-ms-ratelimit-remaining-subscription-reads": [ - "11957" - ], - "x-ms-request-id": [ - "cc2da25a-4885-4d82-9fa7-21621771d7aa" - ], - "x-ms-correlation-request-id": [ - "cc2da25a-4885-4d82-9fa7-21621771d7aa" - ], - "x-ms-routing-request-id": [ - "WESTUS2:20210304T175149Z:cc2da25a-4885-4d82-9fa7-21621771d7aa" - ], - "X-Content-Type-Options": [ - "nosniff" - ], - "Date": [ - "Thu, 04 Mar 2021 17:51:48 GMT" - ], - "Content-Length": [ - "22" - ], - "Content-Type": [ - "application/json" - ] - }, - "ResponseBody": "{\r\n \"status\": \"Succeeded\"\r\n}", - "StatusCode": 200 - }, - { - "RequestUri": "/subscriptions/dd31ecae-4522-468e-8b27-5befd051dd53/resourcegroups/CosmosDBResourceGroup9148/providers/Microsoft.Resources/deployments/vnet-deployment?api-version=2015-11-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZGQzMWVjYWUtNDUyMi00NjhlLThiMjctNWJlZmQwNTFkZDUzL3Jlc291cmNlZ3JvdXBzL0Nvc21vc0RCUmVzb3VyY2VHcm91cDkxNDgvcHJvdmlkZXJzL01pY3Jvc29mdC5SZXNvdXJjZXMvZGVwbG95bWVudHMvdm5ldC1kZXBsb3ltZW50P2FwaS12ZXJzaW9uPTIwMTUtMTEtMDE=", - "RequestMethod": "DELETE", - "RequestBody": "", - "RequestHeaders": { - "x-ms-client-request-id": [ - "27cd8b47-1eba-489c-987f-54155b02e226" - ], - "Accept-Language": [ - "en-US" - ], - "User-Agent": [ - "FxVersion/4.6.28207.03", - "OSName/Windows", - "OSVersion/Microsoft.Windows.10.0.19042.", - "Microsoft.Azure.Management.Resources.ResourceManagementClient/1.0.0.0" - ] - }, - "ResponseHeaders": { - "Cache-Control": [ - "no-cache" - ], - "Pragma": [ - "no-cache" - ], - "Location": [ - "https://management.azure.com/subscriptions/dd31ecae-4522-468e-8b27-5befd051dd53/operationresults/eyJqb2JJZCI6IkRlcGxveW1lbnREZWxldGlvbkpvYi1HTlMtQ09TTU9TREJSRVNPVVJDRUdST1VQOTE0OC1WTkVUOjJEREVQTE9ZTUVOVC0iLCJqb2JMb2NhdGlvbiI6ImVhc3R1czIifQ?api-version=2015-11-01" - ], - "Retry-After": [ - "15" - ], - "x-ms-ratelimit-remaining-subscription-deletes": [ - "14997" - ], - "x-ms-request-id": [ - "0fbb7c9d-0ea9-49d1-b0b9-b6e4b477a042" - ], - "x-ms-correlation-request-id": [ - "0fbb7c9d-0ea9-49d1-b0b9-b6e4b477a042" - ], - "x-ms-routing-request-id": [ - "WESTUS2:20210304T175153Z:0fbb7c9d-0ea9-49d1-b0b9-b6e4b477a042" - ], - "Strict-Transport-Security": [ - "max-age=31536000; includeSubDomains" - ], - "X-Content-Type-Options": [ - "nosniff" - ], - "Date": [ - "Thu, 04 Mar 2021 17:51:53 GMT" - ], - "Expires": [ - "-1" - ], - "Content-Length": [ - "0" - ] - }, - "ResponseBody": "", - "StatusCode": 202 - }, - { - "RequestUri": "/subscriptions/dd31ecae-4522-468e-8b27-5befd051dd53/operationresults/eyJqb2JJZCI6IkRlcGxveW1lbnREZWxldGlvbkpvYi1HTlMtQ09TTU9TREJSRVNPVVJDRUdST1VQOTE0OC1WTkVUOjJEREVQTE9ZTUVOVC0iLCJqb2JMb2NhdGlvbiI6ImVhc3R1czIifQ?api-version=2015-11-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZGQzMWVjYWUtNDUyMi00NjhlLThiMjctNWJlZmQwNTFkZDUzL29wZXJhdGlvbnJlc3VsdHMvZXlKcWIySkpaQ0k2SWtSbGNHeHZlVzFsYm5SRVpXeGxkR2x2YmtwdllpMUhUbE10UTA5VFRVOVRSRUpTUlZOUFZWSkRSVWRTVDFWUU9URTBPQzFXVGtWVU9qSkVSRVZRVEU5WlRVVk9WQzBpTENKcWIySk1iMk5oZEdsdmJpSTZJbVZoYzNSMWN6SWlmUT9hcGktdmVyc2lvbj0yMDE1LTExLTAx", - "RequestMethod": "GET", - "RequestBody": "", - "RequestHeaders": { - "User-Agent": [ - "FxVersion/4.6.28207.03", - "OSName/Windows", - "OSVersion/Microsoft.Windows.10.0.19042.", - "Microsoft.Azure.Management.Resources.ResourceManagementClient/1.0.0.0" - ] - }, - "ResponseHeaders": { - "Cache-Control": [ - "no-cache" - ], - "Pragma": [ - "no-cache" - ], - "x-ms-ratelimit-remaining-subscription-reads": [ - "11999" - ], - "x-ms-request-id": [ - "376dc5d7-2370-406a-9212-0b093d9e5288" - ], - "x-ms-correlation-request-id": [ - "376dc5d7-2370-406a-9212-0b093d9e5288" - ], - "x-ms-routing-request-id": [ - "WESTUS2:20210304T175208Z:376dc5d7-2370-406a-9212-0b093d9e5288" - ], - "Strict-Transport-Security": [ - "max-age=31536000; includeSubDomains" - ], - "X-Content-Type-Options": [ - "nosniff" - ], - "Date": [ - "Thu, 04 Mar 2021 17:52:08 GMT" - ], - "Expires": [ - "-1" - ] - }, - "ResponseBody": "", - "StatusCode": 204 - }, - { - "RequestUri": "/subscriptions/dd31ecae-4522-468e-8b27-5befd051dd53/operationresults/eyJqb2JJZCI6IkRlcGxveW1lbnREZWxldGlvbkpvYi1HTlMtQ09TTU9TREJSRVNPVVJDRUdST1VQOTE0OC1WTkVUOjJEREVQTE9ZTUVOVC0iLCJqb2JMb2NhdGlvbiI6ImVhc3R1czIifQ?api-version=2015-11-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZGQzMWVjYWUtNDUyMi00NjhlLThiMjctNWJlZmQwNTFkZDUzL29wZXJhdGlvbnJlc3VsdHMvZXlKcWIySkpaQ0k2SWtSbGNHeHZlVzFsYm5SRVpXeGxkR2x2YmtwdllpMUhUbE10UTA5VFRVOVRSRUpTUlZOUFZWSkRSVWRTVDFWUU9URTBPQzFXVGtWVU9qSkVSRVZRVEU5WlRVVk9WQzBpTENKcWIySk1iMk5oZEdsdmJpSTZJbVZoYzNSMWN6SWlmUT9hcGktdmVyc2lvbj0yMDE1LTExLTAx", - "RequestMethod": "GET", - "RequestBody": "", - "RequestHeaders": { - "User-Agent": [ - "FxVersion/4.6.28207.03", - "OSName/Windows", - "OSVersion/Microsoft.Windows.10.0.19042.", - "Microsoft.Azure.Management.Resources.ResourceManagementClient/1.0.0.0" - ] - }, - "ResponseHeaders": { - "Cache-Control": [ - "no-cache" - ], - "Pragma": [ - "no-cache" - ], - "x-ms-ratelimit-remaining-subscription-reads": [ - "11998" - ], - "x-ms-request-id": [ - "4b2316d0-24aa-4d56-a668-52759a3def06" - ], - "x-ms-correlation-request-id": [ - "4b2316d0-24aa-4d56-a668-52759a3def06" - ], - "x-ms-routing-request-id": [ - "WESTUS2:20210304T175209Z:4b2316d0-24aa-4d56-a668-52759a3def06" - ], - "Strict-Transport-Security": [ - "max-age=31536000; includeSubDomains" - ], - "X-Content-Type-Options": [ - "nosniff" - ], - "Date": [ - "Thu, 04 Mar 2021 17:52:08 GMT" - ], - "Expires": [ - "-1" - ] - }, - "ResponseBody": "", - "StatusCode": 204 - }, - { - "RequestUri": "/subscriptions/dd31ecae-4522-468e-8b27-5befd051dd53/resourcegroups/CosmosDBResourceGroup9148?api-version=2015-11-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZGQzMWVjYWUtNDUyMi00NjhlLThiMjctNWJlZmQwNTFkZDUzL3Jlc291cmNlZ3JvdXBzL0Nvc21vc0RCUmVzb3VyY2VHcm91cDkxNDg/YXBpLXZlcnNpb249MjAxNS0xMS0wMQ==", - "RequestMethod": "DELETE", - "RequestBody": "", - "RequestHeaders": { - "x-ms-client-request-id": [ - "b351e354-a882-4549-8a6b-3278cf530387" - ], - "Accept-Language": [ - "en-US" - ], - "User-Agent": [ - "FxVersion/4.6.28207.03", - "OSName/Windows", - "OSVersion/Microsoft.Windows.10.0.19042.", - "Microsoft.Azure.Management.Resources.ResourceManagementClient/1.0.0.0" - ] - }, - "ResponseHeaders": { - "Cache-Control": [ - "no-cache" - ], - "Pragma": [ - "no-cache" - ], - "Location": [ - "https://management.azure.com/subscriptions/dd31ecae-4522-468e-8b27-5befd051dd53/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1DT1NNT1NEQlJFU09VUkNFR1JPVVA5MTQ4LUVBU1RVUzIiLCJqb2JMb2NhdGlvbiI6ImVhc3R1czIifQ?api-version=2015-11-01" - ], - "Retry-After": [ - "15" - ], - "x-ms-ratelimit-remaining-subscription-deletes": [ - "14996" - ], - "x-ms-request-id": [ - "eda7da24-834b-49ab-a589-31960d61ad5f" - ], - "x-ms-correlation-request-id": [ - "eda7da24-834b-49ab-a589-31960d61ad5f" - ], - "x-ms-routing-request-id": [ - "WESTUS2:20210304T175210Z:eda7da24-834b-49ab-a589-31960d61ad5f" - ], - "Strict-Transport-Security": [ - "max-age=31536000; includeSubDomains" - ], - "X-Content-Type-Options": [ - "nosniff" - ], - "Date": [ - "Thu, 04 Mar 2021 17:52:09 GMT" - ], - "Expires": [ - "-1" - ], - "Content-Length": [ - "0" - ] - }, - "ResponseBody": "", - "StatusCode": 202 - }, - { - "RequestUri": "/subscriptions/dd31ecae-4522-468e-8b27-5befd051dd53/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1DT1NNT1NEQlJFU09VUkNFR1JPVVA5MTQ4LUVBU1RVUzIiLCJqb2JMb2NhdGlvbiI6ImVhc3R1czIifQ?api-version=2015-11-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZGQzMWVjYWUtNDUyMi00NjhlLThiMjctNWJlZmQwNTFkZDUzL29wZXJhdGlvbnJlc3VsdHMvZXlKcWIySkpaQ0k2SWxKRlUwOVZVa05GUjFKUFZWQkVSVXhGVkVsUFRrcFBRaTFEVDFOTlQxTkVRbEpGVTA5VlVrTkZSMUpQVlZBNU1UUTRMVVZCVTFSVlV6SWlMQ0pxYjJKTWIyTmhkR2x2YmlJNkltVmhjM1IxY3pJaWZRP2FwaS12ZXJzaW9uPTIwMTUtMTEtMDE=", - "RequestMethod": "GET", - "RequestBody": "", - "RequestHeaders": { - "User-Agent": [ - "FxVersion/4.6.28207.03", - "OSName/Windows", - "OSVersion/Microsoft.Windows.10.0.19042.", - "Microsoft.Azure.Management.Resources.ResourceManagementClient/1.0.0.0" - ] - }, - "ResponseHeaders": { - "Cache-Control": [ - "no-cache" - ], - "Pragma": [ - "no-cache" - ], - "Location": [ - "https://management.azure.com/subscriptions/dd31ecae-4522-468e-8b27-5befd051dd53/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1DT1NNT1NEQlJFU09VUkNFR1JPVVA5MTQ4LUVBU1RVUzIiLCJqb2JMb2NhdGlvbiI6ImVhc3R1czIifQ?api-version=2015-11-01" - ], - "Retry-After": [ - "15" - ], - "x-ms-ratelimit-remaining-subscription-reads": [ - "11997" - ], - "x-ms-request-id": [ - "7bec2c4a-02a1-4b26-b3f5-76a53759c107" - ], - "x-ms-correlation-request-id": [ - "7bec2c4a-02a1-4b26-b3f5-76a53759c107" - ], - "x-ms-routing-request-id": [ - "WESTUS2:20210304T175225Z:7bec2c4a-02a1-4b26-b3f5-76a53759c107" - ], - "Strict-Transport-Security": [ - "max-age=31536000; includeSubDomains" - ], - "X-Content-Type-Options": [ - "nosniff" - ], - "Date": [ - "Thu, 04 Mar 2021 17:52:24 GMT" - ], - "Expires": [ - "-1" - ], - "Content-Length": [ - "0" - ] - }, - "ResponseBody": "", - "StatusCode": 202 - }, - { - "RequestUri": "/subscriptions/dd31ecae-4522-468e-8b27-5befd051dd53/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1DT1NNT1NEQlJFU09VUkNFR1JPVVA5MTQ4LUVBU1RVUzIiLCJqb2JMb2NhdGlvbiI6ImVhc3R1czIifQ?api-version=2015-11-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZGQzMWVjYWUtNDUyMi00NjhlLThiMjctNWJlZmQwNTFkZDUzL29wZXJhdGlvbnJlc3VsdHMvZXlKcWIySkpaQ0k2SWxKRlUwOVZVa05GUjFKUFZWQkVSVXhGVkVsUFRrcFBRaTFEVDFOTlQxTkVRbEpGVTA5VlVrTkZSMUpQVlZBNU1UUTRMVVZCVTFSVlV6SWlMQ0pxYjJKTWIyTmhkR2x2YmlJNkltVmhjM1IxY3pJaWZRP2FwaS12ZXJzaW9uPTIwMTUtMTEtMDE=", - "RequestMethod": "GET", - "RequestBody": "", - "RequestHeaders": { - "User-Agent": [ - "FxVersion/4.6.28207.03", - "OSName/Windows", - "OSVersion/Microsoft.Windows.10.0.19042.", - "Microsoft.Azure.Management.Resources.ResourceManagementClient/1.0.0.0" - ] - }, - "ResponseHeaders": { - "Cache-Control": [ - "no-cache" - ], - "Pragma": [ - "no-cache" - ], - "Location": [ - "https://management.azure.com/subscriptions/dd31ecae-4522-468e-8b27-5befd051dd53/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1DT1NNT1NEQlJFU09VUkNFR1JPVVA5MTQ4LUVBU1RVUzIiLCJqb2JMb2NhdGlvbiI6ImVhc3R1czIifQ?api-version=2015-11-01" - ], - "Retry-After": [ - "15" - ], - "x-ms-ratelimit-remaining-subscription-reads": [ - "11996" - ], - "x-ms-request-id": [ - "edd59666-1ab4-4e76-b2de-dd739a67626a" - ], - "x-ms-correlation-request-id": [ - "edd59666-1ab4-4e76-b2de-dd739a67626a" - ], - "x-ms-routing-request-id": [ - "WESTUS2:20210304T175240Z:edd59666-1ab4-4e76-b2de-dd739a67626a" - ], - "Strict-Transport-Security": [ - "max-age=31536000; includeSubDomains" - ], - "X-Content-Type-Options": [ - "nosniff" - ], - "Date": [ - "Thu, 04 Mar 2021 17:52:40 GMT" - ], - "Expires": [ - "-1" - ], - "Content-Length": [ - "0" - ] - }, - "ResponseBody": "", - "StatusCode": 202 - }, - { - "RequestUri": "/subscriptions/dd31ecae-4522-468e-8b27-5befd051dd53/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1DT1NNT1NEQlJFU09VUkNFR1JPVVA5MTQ4LUVBU1RVUzIiLCJqb2JMb2NhdGlvbiI6ImVhc3R1czIifQ?api-version=2015-11-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZGQzMWVjYWUtNDUyMi00NjhlLThiMjctNWJlZmQwNTFkZDUzL29wZXJhdGlvbnJlc3VsdHMvZXlKcWIySkpaQ0k2SWxKRlUwOVZVa05GUjFKUFZWQkVSVXhGVkVsUFRrcFBRaTFEVDFOTlQxTkVRbEpGVTA5VlVrTkZSMUpQVlZBNU1UUTRMVVZCVTFSVlV6SWlMQ0pxYjJKTWIyTmhkR2x2YmlJNkltVmhjM1IxY3pJaWZRP2FwaS12ZXJzaW9uPTIwMTUtMTEtMDE=", - "RequestMethod": "GET", - "RequestBody": "", - "RequestHeaders": { - "User-Agent": [ - "FxVersion/4.6.28207.03", - "OSName/Windows", - "OSVersion/Microsoft.Windows.10.0.19042.", - "Microsoft.Azure.Management.Resources.ResourceManagementClient/1.0.0.0" - ] - }, - "ResponseHeaders": { - "Cache-Control": [ - "no-cache" - ], - "Pragma": [ - "no-cache" - ], - "Location": [ - "https://management.azure.com/subscriptions/dd31ecae-4522-468e-8b27-5befd051dd53/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1DT1NNT1NEQlJFU09VUkNFR1JPVVA5MTQ4LUVBU1RVUzIiLCJqb2JMb2NhdGlvbiI6ImVhc3R1czIifQ?api-version=2015-11-01" - ], - "Retry-After": [ - "15" - ], - "x-ms-ratelimit-remaining-subscription-reads": [ - "11995" - ], - "x-ms-request-id": [ - "710cac62-7a11-4596-a503-6253d8392825" - ], - "x-ms-correlation-request-id": [ - "710cac62-7a11-4596-a503-6253d8392825" - ], - "x-ms-routing-request-id": [ - "WESTUS2:20210304T175255Z:710cac62-7a11-4596-a503-6253d8392825" - ], - "Strict-Transport-Security": [ - "max-age=31536000; includeSubDomains" - ], - "X-Content-Type-Options": [ - "nosniff" - ], - "Date": [ - "Thu, 04 Mar 2021 17:52:55 GMT" - ], - "Expires": [ - "-1" - ], - "Content-Length": [ - "0" - ] - }, - "ResponseBody": "", - "StatusCode": 202 - }, - { - "RequestUri": "/subscriptions/dd31ecae-4522-468e-8b27-5befd051dd53/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1DT1NNT1NEQlJFU09VUkNFR1JPVVA5MTQ4LUVBU1RVUzIiLCJqb2JMb2NhdGlvbiI6ImVhc3R1czIifQ?api-version=2015-11-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZGQzMWVjYWUtNDUyMi00NjhlLThiMjctNWJlZmQwNTFkZDUzL29wZXJhdGlvbnJlc3VsdHMvZXlKcWIySkpaQ0k2SWxKRlUwOVZVa05GUjFKUFZWQkVSVXhGVkVsUFRrcFBRaTFEVDFOTlQxTkVRbEpGVTA5VlVrTkZSMUpQVlZBNU1UUTRMVVZCVTFSVlV6SWlMQ0pxYjJKTWIyTmhkR2x2YmlJNkltVmhjM1IxY3pJaWZRP2FwaS12ZXJzaW9uPTIwMTUtMTEtMDE=", - "RequestMethod": "GET", - "RequestBody": "", - "RequestHeaders": { - "User-Agent": [ - "FxVersion/4.6.28207.03", - "OSName/Windows", - "OSVersion/Microsoft.Windows.10.0.19042.", - "Microsoft.Azure.Management.Resources.ResourceManagementClient/1.0.0.0" - ] - }, - "ResponseHeaders": { - "Cache-Control": [ - "no-cache" - ], - "Pragma": [ - "no-cache" - ], - "Location": [ - "https://management.azure.com/subscriptions/dd31ecae-4522-468e-8b27-5befd051dd53/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1DT1NNT1NEQlJFU09VUkNFR1JPVVA5MTQ4LUVBU1RVUzIiLCJqb2JMb2NhdGlvbiI6ImVhc3R1czIifQ?api-version=2015-11-01" - ], - "Retry-After": [ - "15" - ], - "x-ms-ratelimit-remaining-subscription-reads": [ - "11994" - ], - "x-ms-request-id": [ - "9cfd8c1d-cb8f-48ff-adc5-d7f2371c394f" - ], - "x-ms-correlation-request-id": [ - "9cfd8c1d-cb8f-48ff-adc5-d7f2371c394f" - ], - "x-ms-routing-request-id": [ - "WESTUS2:20210304T175310Z:9cfd8c1d-cb8f-48ff-adc5-d7f2371c394f" - ], - "Strict-Transport-Security": [ - "max-age=31536000; includeSubDomains" - ], - "X-Content-Type-Options": [ - "nosniff" - ], - "Date": [ - "Thu, 04 Mar 2021 17:53:10 GMT" - ], - "Expires": [ - "-1" - ], - "Content-Length": [ - "0" - ] - }, - "ResponseBody": "", - "StatusCode": 202 - }, - { - "RequestUri": "/subscriptions/dd31ecae-4522-468e-8b27-5befd051dd53/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1DT1NNT1NEQlJFU09VUkNFR1JPVVA5MTQ4LUVBU1RVUzIiLCJqb2JMb2NhdGlvbiI6ImVhc3R1czIifQ?api-version=2015-11-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZGQzMWVjYWUtNDUyMi00NjhlLThiMjctNWJlZmQwNTFkZDUzL29wZXJhdGlvbnJlc3VsdHMvZXlKcWIySkpaQ0k2SWxKRlUwOVZVa05GUjFKUFZWQkVSVXhGVkVsUFRrcFBRaTFEVDFOTlQxTkVRbEpGVTA5VlVrTkZSMUpQVlZBNU1UUTRMVVZCVTFSVlV6SWlMQ0pxYjJKTWIyTmhkR2x2YmlJNkltVmhjM1IxY3pJaWZRP2FwaS12ZXJzaW9uPTIwMTUtMTEtMDE=", - "RequestMethod": "GET", - "RequestBody": "", - "RequestHeaders": { - "User-Agent": [ - "FxVersion/4.6.28207.03", - "OSName/Windows", - "OSVersion/Microsoft.Windows.10.0.19042.", - "Microsoft.Azure.Management.Resources.ResourceManagementClient/1.0.0.0" - ] - }, - "ResponseHeaders": { - "Cache-Control": [ - "no-cache" - ], - "Pragma": [ - "no-cache" - ], - "Location": [ - "https://management.azure.com/subscriptions/dd31ecae-4522-468e-8b27-5befd051dd53/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1DT1NNT1NEQlJFU09VUkNFR1JPVVA5MTQ4LUVBU1RVUzIiLCJqb2JMb2NhdGlvbiI6ImVhc3R1czIifQ?api-version=2015-11-01" - ], - "Retry-After": [ - "15" - ], - "x-ms-ratelimit-remaining-subscription-reads": [ - "11993" - ], - "x-ms-request-id": [ - "ec53306c-b7db-4241-aa47-c1e93689116b" - ], - "x-ms-correlation-request-id": [ - "ec53306c-b7db-4241-aa47-c1e93689116b" - ], - "x-ms-routing-request-id": [ - "WESTUS2:20210304T175326Z:ec53306c-b7db-4241-aa47-c1e93689116b" - ], - "Strict-Transport-Security": [ - "max-age=31536000; includeSubDomains" - ], - "X-Content-Type-Options": [ - "nosniff" - ], - "Date": [ - "Thu, 04 Mar 2021 17:53:25 GMT" - ], - "Expires": [ - "-1" - ], - "Content-Length": [ - "0" - ] - }, - "ResponseBody": "", - "StatusCode": 202 - }, - { - "RequestUri": "/subscriptions/dd31ecae-4522-468e-8b27-5befd051dd53/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1DT1NNT1NEQlJFU09VUkNFR1JPVVA5MTQ4LUVBU1RVUzIiLCJqb2JMb2NhdGlvbiI6ImVhc3R1czIifQ?api-version=2015-11-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZGQzMWVjYWUtNDUyMi00NjhlLThiMjctNWJlZmQwNTFkZDUzL29wZXJhdGlvbnJlc3VsdHMvZXlKcWIySkpaQ0k2SWxKRlUwOVZVa05GUjFKUFZWQkVSVXhGVkVsUFRrcFBRaTFEVDFOTlQxTkVRbEpGVTA5VlVrTkZSMUpQVlZBNU1UUTRMVVZCVTFSVlV6SWlMQ0pxYjJKTWIyTmhkR2x2YmlJNkltVmhjM1IxY3pJaWZRP2FwaS12ZXJzaW9uPTIwMTUtMTEtMDE=", - "RequestMethod": "GET", - "RequestBody": "", - "RequestHeaders": { - "User-Agent": [ - "FxVersion/4.6.28207.03", - "OSName/Windows", - "OSVersion/Microsoft.Windows.10.0.19042.", - "Microsoft.Azure.Management.Resources.ResourceManagementClient/1.0.0.0" - ] - }, - "ResponseHeaders": { - "Cache-Control": [ - "no-cache" - ], - "Pragma": [ - "no-cache" - ], - "Location": [ - "https://management.azure.com/subscriptions/dd31ecae-4522-468e-8b27-5befd051dd53/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1DT1NNT1NEQlJFU09VUkNFR1JPVVA5MTQ4LUVBU1RVUzIiLCJqb2JMb2NhdGlvbiI6ImVhc3R1czIifQ?api-version=2015-11-01" - ], - "Retry-After": [ - "15" - ], - "x-ms-ratelimit-remaining-subscription-reads": [ - "11992" - ], - "x-ms-request-id": [ - "cb11ef9b-2244-4bfa-93c7-dd157f9381de" - ], - "x-ms-correlation-request-id": [ - "cb11ef9b-2244-4bfa-93c7-dd157f9381de" - ], - "x-ms-routing-request-id": [ - "WESTUS2:20210304T175341Z:cb11ef9b-2244-4bfa-93c7-dd157f9381de" - ], - "Strict-Transport-Security": [ - "max-age=31536000; includeSubDomains" - ], - "X-Content-Type-Options": [ - "nosniff" - ], - "Date": [ - "Thu, 04 Mar 2021 17:53:40 GMT" - ], - "Expires": [ - "-1" - ], - "Content-Length": [ - "0" - ] - }, - "ResponseBody": "", - "StatusCode": 202 - }, - { - "RequestUri": "/subscriptions/dd31ecae-4522-468e-8b27-5befd051dd53/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1DT1NNT1NEQlJFU09VUkNFR1JPVVA5MTQ4LUVBU1RVUzIiLCJqb2JMb2NhdGlvbiI6ImVhc3R1czIifQ?api-version=2015-11-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZGQzMWVjYWUtNDUyMi00NjhlLThiMjctNWJlZmQwNTFkZDUzL29wZXJhdGlvbnJlc3VsdHMvZXlKcWIySkpaQ0k2SWxKRlUwOVZVa05GUjFKUFZWQkVSVXhGVkVsUFRrcFBRaTFEVDFOTlQxTkVRbEpGVTA5VlVrTkZSMUpQVlZBNU1UUTRMVVZCVTFSVlV6SWlMQ0pxYjJKTWIyTmhkR2x2YmlJNkltVmhjM1IxY3pJaWZRP2FwaS12ZXJzaW9uPTIwMTUtMTEtMDE=", - "RequestMethod": "GET", - "RequestBody": "", - "RequestHeaders": { - "User-Agent": [ - "FxVersion/4.6.28207.03", - "OSName/Windows", - "OSVersion/Microsoft.Windows.10.0.19042.", - "Microsoft.Azure.Management.Resources.ResourceManagementClient/1.0.0.0" - ] - }, - "ResponseHeaders": { - "Cache-Control": [ - "no-cache" - ], - "Pragma": [ - "no-cache" - ], - "x-ms-ratelimit-remaining-subscription-reads": [ - "11991" - ], - "x-ms-request-id": [ - "028cef56-cf17-4c87-9448-3e6b13f7debd" - ], - "x-ms-correlation-request-id": [ - "028cef56-cf17-4c87-9448-3e6b13f7debd" - ], - "x-ms-routing-request-id": [ - "WESTUS2:20210304T175356Z:028cef56-cf17-4c87-9448-3e6b13f7debd" - ], - "Strict-Transport-Security": [ - "max-age=31536000; includeSubDomains" - ], - "X-Content-Type-Options": [ - "nosniff" - ], - "Date": [ - "Thu, 04 Mar 2021 17:53:56 GMT" - ], - "Expires": [ - "-1" - ], - "Content-Length": [ - "0" - ] - }, - "ResponseBody": "", - "StatusCode": 200 - }, - { - "RequestUri": "/subscriptions/dd31ecae-4522-468e-8b27-5befd051dd53/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1DT1NNT1NEQlJFU09VUkNFR1JPVVA5MTQ4LUVBU1RVUzIiLCJqb2JMb2NhdGlvbiI6ImVhc3R1czIifQ?api-version=2015-11-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZGQzMWVjYWUtNDUyMi00NjhlLThiMjctNWJlZmQwNTFkZDUzL29wZXJhdGlvbnJlc3VsdHMvZXlKcWIySkpaQ0k2SWxKRlUwOVZVa05GUjFKUFZWQkVSVXhGVkVsUFRrcFBRaTFEVDFOTlQxTkVRbEpGVTA5VlVrTkZSMUpQVlZBNU1UUTRMVVZCVTFSVlV6SWlMQ0pxYjJKTWIyTmhkR2x2YmlJNkltVmhjM1IxY3pJaWZRP2FwaS12ZXJzaW9uPTIwMTUtMTEtMDE=", - "RequestMethod": "GET", - "RequestBody": "", - "RequestHeaders": { - "User-Agent": [ - "FxVersion/4.6.28207.03", - "OSName/Windows", - "OSVersion/Microsoft.Windows.10.0.19042.", - "Microsoft.Azure.Management.Resources.ResourceManagementClient/1.0.0.0" - ] - }, - "ResponseHeaders": { - "Cache-Control": [ - "no-cache" - ], - "Pragma": [ - "no-cache" - ], - "x-ms-ratelimit-remaining-subscription-reads": [ - "11990" - ], - "x-ms-request-id": [ - "9b98e2b9-436d-44b9-9508-12188c320779" - ], - "x-ms-correlation-request-id": [ - "9b98e2b9-436d-44b9-9508-12188c320779" - ], - "x-ms-routing-request-id": [ - "WESTUS2:20210304T175356Z:9b98e2b9-436d-44b9-9508-12188c320779" - ], - "Strict-Transport-Security": [ - "max-age=31536000; includeSubDomains" - ], - "X-Content-Type-Options": [ - "nosniff" - ], - "Date": [ - "Thu, 04 Mar 2021 17:53:56 GMT" - ], - "Expires": [ - "-1" - ], - "Content-Length": [ - "0" - ] - }, - "ResponseBody": "", - "StatusCode": 200 - } - ], - "Names": { - "CreateResourceGroup": [ - "CosmosDBResourceGroup9148" - ], - "ManagedCassandraCRUDTests": [ - "managedcluster54", - "managedDC5187" - ], - "CreateVirtualNetwork": [ - "CosmosDBVirtualNetwork840" - ] - }, - "Variables": { - "SubscriptionId": "dd31ecae-4522-468e-8b27-5befd051dd53" - } -} \ No newline at end of file diff --git a/sdk/cosmosdb/Microsoft.Azure.Management.CosmosDB/tests/SessionRecords/MongoResourcesOperationsTests/MongoCRUDTests.json b/sdk/cosmosdb/Microsoft.Azure.Management.CosmosDB/tests/SessionRecords/MongoResourcesOperationsTests/MongoCRUDTests.json index dc553138690d..e8c88b16515c 100644 --- a/sdk/cosmosdb/Microsoft.Azure.Management.CosmosDB/tests/SessionRecords/MongoResourcesOperationsTests/MongoCRUDTests.json +++ b/sdk/cosmosdb/Microsoft.Azure.Management.CosmosDB/tests/SessionRecords/MongoResourcesOperationsTests/MongoCRUDTests.json @@ -1,90 +1,21 @@ { "Entries": [ { - "RequestUri": "/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/resourceGroups/CosmosDBResourceGroup3668/providers/Microsoft.DocumentDB/databaseAccounts/db4096/gremlinDatabases/databaseName1002/graphs/gremlinGraphName1002?api-version=2021-04-15", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvODBiZTM5NjEtMDUyMS00YTBhLTg1NzAtNWNkNWE0ZTJmOThjL3Jlc291cmNlR3JvdXBzL0Nvc21vc0RCUmVzb3VyY2VHcm91cDM2NjgvcHJvdmlkZXJzL01pY3Jvc29mdC5Eb2N1bWVudERCL2RhdGFiYXNlQWNjb3VudHMvZGI0MDk2L2dyZW1saW5EYXRhYmFzZXMvZGF0YWJhc2VOYW1lMTAwMi9ncmFwaHMvZ3JlbWxpbkdyYXBoTmFtZTEwMDI/YXBpLXZlcnNpb249MjAyMS0wNC0xNQ==", - "RequestMethod": "DELETE", - "RequestBody": "", - "RequestHeaders": { - "x-ms-client-request-id": [ - "b725f84b-455d-4c4e-b418-79d6745bc77e" - ], - "Accept-Language": [ - "en-US" - ], - "User-Agent": [ - "FxVersion/4.6.29916.01", - "OSName/Windows", - "OSVersion/Microsoft.Windows.10.0.19042.", - "Microsoft.Azure.Management.CosmosDB.CosmosDBManagementClient/3.0.0.0" - ] - }, - "ResponseHeaders": { - "Cache-Control": [ - "no-store, no-cache" - ], - "Pragma": [ - "no-cache" - ], - "Location": [ - "https://management.azure.com/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/resourceGroups/CosmosDBResourceGroup3668/providers/Microsoft.DocumentDB/databaseAccounts/db4096/gremlinDatabases/databaseName1002/graphs/gremlinGraphName1002/operationResults/e5f57edc-14f9-489f-92ab-f7144743df73?api-version=2021-04-15" - ], - "Azure-AsyncOperation": [ - "https://management.azure.com/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/providers/Microsoft.DocumentDB/locations/eastus2/operationsStatus/e5f57edc-14f9-489f-92ab-f7144743df73?api-version=2021-04-15" - ], - "x-ms-request-id": [ - "e5f57edc-14f9-489f-92ab-f7144743df73" - ], - "Strict-Transport-Security": [ - "max-age=31536000; includeSubDomains" - ], - "x-ms-gatewayversion": [ - "version=2.11.0" - ], - "Server": [ - "Microsoft-HTTPAPI/2.0" - ], - "x-ms-ratelimit-remaining-subscription-deletes": [ - "14999" - ], - "x-ms-correlation-request-id": [ - "d9c1f30e-be4a-4ac0-b271-174883b69047" - ], - "x-ms-routing-request-id": [ - "WESTCENTRALUS:20210427T175053Z:d9c1f30e-be4a-4ac0-b271-174883b69047" - ], - "X-Content-Type-Options": [ - "nosniff" - ], - "Date": [ - "Tue, 27 Apr 2021 17:50:52 GMT" - ], - "Content-Length": [ - "21" - ], - "Content-Type": [ - "application/json" - ] - }, - "ResponseBody": "{\r\n \"status\": \"Enqueued\"\r\n}", - "StatusCode": 202 - }, - { - "RequestUri": "/providers/Microsoft.DocumentDB/databaseAccountNames/db001?api-version=2021-04-15", - "EncodedRequestUri": "L3Byb3ZpZGVycy9NaWNyb3NvZnQuRG9jdW1lbnREQi9kYXRhYmFzZUFjY291bnROYW1lcy9kYjAwMT9hcGktdmVyc2lvbj0yMDIxLTA0LTE1", + "RequestUri": "/providers/Microsoft.DocumentDB/databaseAccountNames/db003?api-version=2021-06-15", + "EncodedRequestUri": "L3Byb3ZpZGVycy9NaWNyb3NvZnQuRG9jdW1lbnREQi9kYXRhYmFzZUFjY291bnROYW1lcy9kYjAwMz9hcGktdmVyc2lvbj0yMDIxLTA2LTE1", "RequestMethod": "HEAD", "RequestBody": "", "RequestHeaders": { "x-ms-client-request-id": [ - "adcda962-10be-46bc-a68e-5970da812746" + "2dc92efd-d874-4754-a4c2-24d03a263aa7" ], "Accept-Language": [ "en-US" ], "User-Agent": [ - "FxVersion/4.6.29916.01", + "FxVersion/4.6.28207.03", "OSName/Windows", - "OSVersion/Microsoft.Windows.10.0.19042.", + "OSVersion/Microsoft.Windows.10.0.19043.", "Microsoft.Azure.Management.CosmosDB.CosmosDBManagementClient/3.0.0.0" ] }, @@ -99,7 +30,7 @@ "max-age=31536000; includeSubDomains" ], "x-ms-activity-id": [ - "adcda962-10be-46bc-a68e-5970da812746" + "2dc92efd-d874-4754-a4c2-24d03a263aa7" ], "Server": [ "Microsoft-HTTPAPI/2.0" @@ -108,19 +39,19 @@ "11999" ], "x-ms-request-id": [ - "3b95ef45-ffce-4e0a-83e5-1f5d6a23c188" + "655c0357-ab3b-45d6-95bc-c6a657efdb33" ], "x-ms-correlation-request-id": [ - "3b95ef45-ffce-4e0a-83e5-1f5d6a23c188" + "655c0357-ab3b-45d6-95bc-c6a657efdb33" ], "x-ms-routing-request-id": [ - "WESTUS:20210427T175054Z:3b95ef45-ffce-4e0a-83e5-1f5d6a23c188" + "WESTUS2:20210616T055600Z:655c0357-ab3b-45d6-95bc-c6a657efdb33" ], "X-Content-Type-Options": [ "nosniff" ], "Date": [ - "Tue, 27 Apr 2021 17:50:53 GMT" + "Wed, 16 Jun 2021 05:55:59 GMT" ], "Content-Length": [ "0" @@ -130,159 +61,21 @@ "StatusCode": 200 }, { - "RequestUri": "/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/resourceGroups/CosmosDBResourceGroup3668/providers/Microsoft.DocumentDB/databaseAccounts/db4096/gremlinDatabases/databaseName1002?api-version=2021-04-15", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvODBiZTM5NjEtMDUyMS00YTBhLTg1NzAtNWNkNWE0ZTJmOThjL3Jlc291cmNlR3JvdXBzL0Nvc21vc0RCUmVzb3VyY2VHcm91cDM2NjgvcHJvdmlkZXJzL01pY3Jvc29mdC5Eb2N1bWVudERCL2RhdGFiYXNlQWNjb3VudHMvZGI0MDk2L2dyZW1saW5EYXRhYmFzZXMvZGF0YWJhc2VOYW1lMTAwMj9hcGktdmVyc2lvbj0yMDIxLTA0LTE1", - "RequestMethod": "DELETE", - "RequestBody": "", - "RequestHeaders": { - "x-ms-client-request-id": [ - "1b61aaa2-339a-41df-8178-1cd490dda0be" - ], - "Accept-Language": [ - "en-US" - ], - "User-Agent": [ - "FxVersion/4.6.29916.01", - "OSName/Windows", - "OSVersion/Microsoft.Windows.10.0.19042.", - "Microsoft.Azure.Management.CosmosDB.CosmosDBManagementClient/3.0.0.0" - ] - }, - "ResponseHeaders": { - "Cache-Control": [ - "no-store, no-cache" - ], - "Pragma": [ - "no-cache" - ], - "Location": [ - "https://management.azure.com/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/resourceGroups/CosmosDBResourceGroup3668/providers/Microsoft.DocumentDB/databaseAccounts/db4096/gremlinDatabases/databaseName1002/operationResults/c075c014-202b-43d6-81f2-715f24d1de99?api-version=2021-04-15" - ], - "Azure-AsyncOperation": [ - "https://management.azure.com/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/providers/Microsoft.DocumentDB/locations/eastus2/operationsStatus/c075c014-202b-43d6-81f2-715f24d1de99?api-version=2021-04-15" - ], - "x-ms-request-id": [ - "c075c014-202b-43d6-81f2-715f24d1de99" - ], - "Strict-Transport-Security": [ - "max-age=31536000; includeSubDomains" - ], - "x-ms-gatewayversion": [ - "version=2.11.0" - ], - "Server": [ - "Microsoft-HTTPAPI/2.0" - ], - "x-ms-ratelimit-remaining-subscription-deletes": [ - "14999" - ], - "x-ms-correlation-request-id": [ - "41090c33-2e13-45d7-b9ab-ec9bafb7bd18" - ], - "x-ms-routing-request-id": [ - "WESTUS:20210427T175054Z:41090c33-2e13-45d7-b9ab-ec9bafb7bd18" - ], - "X-Content-Type-Options": [ - "nosniff" - ], - "Date": [ - "Tue, 27 Apr 2021 17:50:54 GMT" - ], - "Content-Length": [ - "21" - ], - "Content-Type": [ - "application/json" - ] - }, - "ResponseBody": "{\r\n \"status\": \"Enqueued\"\r\n}", - "StatusCode": 202 - }, - { - "RequestUri": "/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/resourceGroups/CosmosDBResourceGroup3668/providers/Microsoft.DocumentDB/databaseAccounts/db4096/gremlinDatabases/databaseName21002?api-version=2021-04-15", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvODBiZTM5NjEtMDUyMS00YTBhLTg1NzAtNWNkNWE0ZTJmOThjL3Jlc291cmNlR3JvdXBzL0Nvc21vc0RCUmVzb3VyY2VHcm91cDM2NjgvcHJvdmlkZXJzL01pY3Jvc29mdC5Eb2N1bWVudERCL2RhdGFiYXNlQWNjb3VudHMvZGI0MDk2L2dyZW1saW5EYXRhYmFzZXMvZGF0YWJhc2VOYW1lMjEwMDI/YXBpLXZlcnNpb249MjAyMS0wNC0xNQ==", - "RequestMethod": "DELETE", - "RequestBody": "", - "RequestHeaders": { - "x-ms-client-request-id": [ - "42aafa5b-708b-4797-a18e-fd75e095b7e5" - ], - "Accept-Language": [ - "en-US" - ], - "User-Agent": [ - "FxVersion/4.6.29916.01", - "OSName/Windows", - "OSVersion/Microsoft.Windows.10.0.19042.", - "Microsoft.Azure.Management.CosmosDB.CosmosDBManagementClient/3.0.0.0" - ] - }, - "ResponseHeaders": { - "Cache-Control": [ - "no-store, no-cache" - ], - "Pragma": [ - "no-cache" - ], - "Location": [ - "https://management.azure.com/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/resourceGroups/CosmosDBResourceGroup3668/providers/Microsoft.DocumentDB/databaseAccounts/db4096/gremlinDatabases/databaseName21002/operationResults/caee984f-c115-4595-8a29-2615d2562c07?api-version=2021-04-15" - ], - "Azure-AsyncOperation": [ - "https://management.azure.com/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/providers/Microsoft.DocumentDB/locations/eastus2/operationsStatus/caee984f-c115-4595-8a29-2615d2562c07?api-version=2021-04-15" - ], - "x-ms-request-id": [ - "caee984f-c115-4595-8a29-2615d2562c07" - ], - "Strict-Transport-Security": [ - "max-age=31536000; includeSubDomains" - ], - "x-ms-gatewayversion": [ - "version=2.11.0" - ], - "Server": [ - "Microsoft-HTTPAPI/2.0" - ], - "x-ms-ratelimit-remaining-subscription-deletes": [ - "14999" - ], - "x-ms-correlation-request-id": [ - "f6ae01df-bca0-4216-8239-75c24bea33af" - ], - "x-ms-routing-request-id": [ - "WESTUS:20210427T175054Z:f6ae01df-bca0-4216-8239-75c24bea33af" - ], - "X-Content-Type-Options": [ - "nosniff" - ], - "Date": [ - "Tue, 27 Apr 2021 17:50:53 GMT" - ], - "Content-Length": [ - "21" - ], - "Content-Type": [ - "application/json" - ] - }, - "ResponseBody": "{\r\n \"status\": \"Enqueued\"\r\n}", - "StatusCode": 202 - }, - { - "RequestUri": "/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/resourceGroups/CosmosDBResourceGroup3668/providers/Microsoft.DocumentDB/databaseAccounts/db001/mongodbDatabases/databaseName3668?api-version=2021-04-15", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvODBiZTM5NjEtMDUyMS00YTBhLTg1NzAtNWNkNWE0ZTJmOThjL3Jlc291cmNlR3JvdXBzL0Nvc21vc0RCUmVzb3VyY2VHcm91cDM2NjgvcHJvdmlkZXJzL01pY3Jvc29mdC5Eb2N1bWVudERCL2RhdGFiYXNlQWNjb3VudHMvZGIwMDEvbW9uZ29kYkRhdGFiYXNlcy9kYXRhYmFzZU5hbWUzNjY4P2FwaS12ZXJzaW9uPTIwMjEtMDQtMTU=", + "RequestUri": "/subscriptions/259fbb24-9bcd-4cfc-865c-fc33b22fe38a/resourceGroups/CosmosDBResourceGroup3668/providers/Microsoft.DocumentDB/databaseAccounts/db003/mongodbDatabases/databaseName3668?api-version=2021-06-15", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMjU5ZmJiMjQtOWJjZC00Y2ZjLTg2NWMtZmMzM2IyMmZlMzhhL3Jlc291cmNlR3JvdXBzL0Nvc21vc0RCUmVzb3VyY2VHcm91cDM2NjgvcHJvdmlkZXJzL01pY3Jvc29mdC5Eb2N1bWVudERCL2RhdGFiYXNlQWNjb3VudHMvZGIwMDMvbW9uZ29kYkRhdGFiYXNlcy9kYXRhYmFzZU5hbWUzNjY4P2FwaS12ZXJzaW9uPTIwMjEtMDYtMTU=", "RequestMethod": "PUT", "RequestBody": "{\r\n \"properties\": {\r\n \"resource\": {\r\n \"id\": \"databaseName3668\"\r\n },\r\n \"options\": {}\r\n }\r\n}", "RequestHeaders": { "x-ms-client-request-id": [ - "644a9ed4-698c-49a9-a7f4-f8665ddd3434" + "fe6e3634-2a62-4aa9-aeef-7e18885f082a" ], "Accept-Language": [ "en-US" ], "User-Agent": [ - "FxVersion/4.6.29916.01", + "FxVersion/4.6.28207.03", "OSName/Windows", - "OSVersion/Microsoft.Windows.10.0.19042.", + "OSVersion/Microsoft.Windows.10.0.19043.", "Microsoft.Azure.Management.CosmosDB.CosmosDBManagementClient/3.0.0.0" ], "Content-Type": [ @@ -300,19 +93,19 @@ "no-cache" ], "Location": [ - "https://management.azure.com/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/resourceGroups/CosmosDBResourceGroup3668/providers/Microsoft.DocumentDB/databaseAccounts/db001/mongodbDatabases/databaseName3668/operationResults/f49fedd3-076a-432f-b2aa-82f6515b00ba?api-version=2021-04-15" + "https://management.azure.com/subscriptions/259fbb24-9bcd-4cfc-865c-fc33b22fe38a/resourceGroups/CosmosDBResourceGroup3668/providers/Microsoft.DocumentDB/databaseAccounts/db003/mongodbDatabases/databaseName3668/operationResults/d10c4c4d-76a3-4fc4-b719-1f37c4a5d4de?api-version=2021-06-15" ], "Azure-AsyncOperation": [ - "https://management.azure.com/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/providers/Microsoft.DocumentDB/locations/eastus2/operationsStatus/f49fedd3-076a-432f-b2aa-82f6515b00ba?api-version=2021-04-15" + "https://management.azure.com/subscriptions/259fbb24-9bcd-4cfc-865c-fc33b22fe38a/providers/Microsoft.DocumentDB/locations/eastus2/operationsStatus/d10c4c4d-76a3-4fc4-b719-1f37c4a5d4de?api-version=2021-06-15" ], "x-ms-request-id": [ - "f49fedd3-076a-432f-b2aa-82f6515b00ba" + "d10c4c4d-76a3-4fc4-b719-1f37c4a5d4de" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "x-ms-gatewayversion": [ - "version=2.11.0" + "version=2.14.0" ], "Server": [ "Microsoft-HTTPAPI/2.0" @@ -321,16 +114,16 @@ "1199" ], "x-ms-correlation-request-id": [ - "9d9e6e7a-bbe3-4da9-9530-d77c9b26960b" + "d4815f02-0d53-4fa5-9908-533125d2e16e" ], "x-ms-routing-request-id": [ - "WESTUS:20210427T175055Z:9d9e6e7a-bbe3-4da9-9530-d77c9b26960b" + "WESTUS2:20210616T055601Z:d4815f02-0d53-4fa5-9908-533125d2e16e" ], "X-Content-Type-Options": [ "nosniff" ], "Date": [ - "Tue, 27 Apr 2021 17:50:54 GMT" + "Wed, 16 Jun 2021 05:56:00 GMT" ], "Content-Length": [ "21" @@ -343,15 +136,15 @@ "StatusCode": 202 }, { - "RequestUri": "/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/providers/Microsoft.DocumentDB/locations/eastus2/operationsStatus/f49fedd3-076a-432f-b2aa-82f6515b00ba?api-version=2021-04-15", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvODBiZTM5NjEtMDUyMS00YTBhLTg1NzAtNWNkNWE0ZTJmOThjL3Byb3ZpZGVycy9NaWNyb3NvZnQuRG9jdW1lbnREQi9sb2NhdGlvbnMvZWFzdHVzMi9vcGVyYXRpb25zU3RhdHVzL2Y0OWZlZGQzLTA3NmEtNDMyZi1iMmFhLTgyZjY1MTViMDBiYT9hcGktdmVyc2lvbj0yMDIxLTA0LTE1", + "RequestUri": "/subscriptions/259fbb24-9bcd-4cfc-865c-fc33b22fe38a/providers/Microsoft.DocumentDB/locations/eastus2/operationsStatus/d10c4c4d-76a3-4fc4-b719-1f37c4a5d4de?api-version=2021-06-15", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMjU5ZmJiMjQtOWJjZC00Y2ZjLTg2NWMtZmMzM2IyMmZlMzhhL3Byb3ZpZGVycy9NaWNyb3NvZnQuRG9jdW1lbnREQi9sb2NhdGlvbnMvZWFzdHVzMi9vcGVyYXRpb25zU3RhdHVzL2QxMGM0YzRkLTc2YTMtNGZjNC1iNzE5LTFmMzdjNGE1ZDRkZT9hcGktdmVyc2lvbj0yMDIxLTA2LTE1", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { "User-Agent": [ - "FxVersion/4.6.29916.01", + "FxVersion/4.6.28207.03", "OSName/Windows", - "OSVersion/Microsoft.Windows.10.0.19042.", + "OSVersion/Microsoft.Windows.10.0.19043.", "Microsoft.Azure.Management.CosmosDB.CosmosDBManagementClient/3.0.0.0" ] }, @@ -366,7 +159,7 @@ "max-age=31536000; includeSubDomains" ], "x-ms-gatewayversion": [ - "version=2.11.0" + "version=2.14.0" ], "Server": [ "Microsoft-HTTPAPI/2.0" @@ -375,19 +168,19 @@ "11999" ], "x-ms-request-id": [ - "26f10753-d9ae-4216-b887-52b4c808fa14" + "8d71120c-b919-4c5c-b60c-eb433bd4c1f5" ], "x-ms-correlation-request-id": [ - "26f10753-d9ae-4216-b887-52b4c808fa14" + "8d71120c-b919-4c5c-b60c-eb433bd4c1f5" ], "x-ms-routing-request-id": [ - "WESTUS:20210427T175125Z:26f10753-d9ae-4216-b887-52b4c808fa14" + "WESTUS2:20210616T055631Z:8d71120c-b919-4c5c-b60c-eb433bd4c1f5" ], "X-Content-Type-Options": [ "nosniff" ], "Date": [ - "Tue, 27 Apr 2021 17:51:25 GMT" + "Wed, 16 Jun 2021 05:56:31 GMT" ], "Content-Length": [ "22" @@ -400,15 +193,15 @@ "StatusCode": 200 }, { - "RequestUri": "/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/resourceGroups/CosmosDBResourceGroup3668/providers/Microsoft.DocumentDB/databaseAccounts/db001/mongodbDatabases/databaseName3668?api-version=2021-04-15", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvODBiZTM5NjEtMDUyMS00YTBhLTg1NzAtNWNkNWE0ZTJmOThjL3Jlc291cmNlR3JvdXBzL0Nvc21vc0RCUmVzb3VyY2VHcm91cDM2NjgvcHJvdmlkZXJzL01pY3Jvc29mdC5Eb2N1bWVudERCL2RhdGFiYXNlQWNjb3VudHMvZGIwMDEvbW9uZ29kYkRhdGFiYXNlcy9kYXRhYmFzZU5hbWUzNjY4P2FwaS12ZXJzaW9uPTIwMjEtMDQtMTU=", + "RequestUri": "/subscriptions/259fbb24-9bcd-4cfc-865c-fc33b22fe38a/resourceGroups/CosmosDBResourceGroup3668/providers/Microsoft.DocumentDB/databaseAccounts/db003/mongodbDatabases/databaseName3668?api-version=2021-06-15", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMjU5ZmJiMjQtOWJjZC00Y2ZjLTg2NWMtZmMzM2IyMmZlMzhhL3Jlc291cmNlR3JvdXBzL0Nvc21vc0RCUmVzb3VyY2VHcm91cDM2NjgvcHJvdmlkZXJzL01pY3Jvc29mdC5Eb2N1bWVudERCL2RhdGFiYXNlQWNjb3VudHMvZGIwMDMvbW9uZ29kYkRhdGFiYXNlcy9kYXRhYmFzZU5hbWUzNjY4P2FwaS12ZXJzaW9uPTIwMjEtMDYtMTU=", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { "User-Agent": [ - "FxVersion/4.6.29916.01", + "FxVersion/4.6.28207.03", "OSName/Windows", - "OSVersion/Microsoft.Windows.10.0.19042.", + "OSVersion/Microsoft.Windows.10.0.19043.", "Microsoft.Azure.Management.CosmosDB.CosmosDBManagementClient/3.0.0.0" ] }, @@ -423,7 +216,7 @@ "max-age=31536000; includeSubDomains" ], "x-ms-gatewayversion": [ - "version=2.11.0" + "version=2.14.0" ], "Server": [ "Microsoft-HTTPAPI/2.0" @@ -432,46 +225,46 @@ "11998" ], "x-ms-request-id": [ - "d482e1fb-7295-4d5a-a96d-354503b580cb" + "3720c028-020e-4e26-bf31-8f7324ab1fe6" ], "x-ms-correlation-request-id": [ - "d482e1fb-7295-4d5a-a96d-354503b580cb" + "3720c028-020e-4e26-bf31-8f7324ab1fe6" ], "x-ms-routing-request-id": [ - "WESTUS:20210427T175126Z:d482e1fb-7295-4d5a-a96d-354503b580cb" + "WESTUS2:20210616T055632Z:3720c028-020e-4e26-bf31-8f7324ab1fe6" ], "X-Content-Type-Options": [ "nosniff" ], "Date": [ - "Tue, 27 Apr 2021 17:51:25 GMT" + "Wed, 16 Jun 2021 05:56:31 GMT" ], "Content-Length": [ - "417" + "331" ], "Content-Type": [ "application/json" ] }, - "ResponseBody": "{\r\n \"id\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/resourceGroups/CosmosDBResourceGroup3668/providers/Microsoft.DocumentDB/databaseAccounts/db001/mongodbDatabases/databaseName3668\",\r\n \"type\": \"Microsoft.DocumentDB/databaseAccounts/mongodbDatabases\",\r\n \"name\": \"databaseName3668\",\r\n \"properties\": {\r\n \"resource\": {\r\n \"id\": \"databaseName3668\",\r\n \"_rid\": \"20hdAA==\",\r\n \"_etag\": \"\\\"00003300-0000-0200-0000-60884f040000\\\"\",\r\n \"_ts\": 1619545860\r\n }\r\n }\r\n}", + "ResponseBody": "{\r\n \"id\": \"/subscriptions/259fbb24-9bcd-4cfc-865c-fc33b22fe38a/resourceGroups/CosmosDBResourceGroup3668/providers/Microsoft.DocumentDB/databaseAccounts/db003/mongodbDatabases/databaseName3668\",\r\n \"type\": \"Microsoft.DocumentDB/databaseAccounts/mongodbDatabases\",\r\n \"name\": \"databaseName3668\",\r\n \"properties\": {\r\n \"resource\": {\r\n \"id\": \"databaseName3668\"\r\n }\r\n }\r\n}", "StatusCode": 200 }, { - "RequestUri": "/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/resourceGroups/CosmosDBResourceGroup3668/providers/Microsoft.DocumentDB/databaseAccounts/db001/mongodbDatabases/databaseName3668?api-version=2021-04-15", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvODBiZTM5NjEtMDUyMS00YTBhLTg1NzAtNWNkNWE0ZTJmOThjL3Jlc291cmNlR3JvdXBzL0Nvc21vc0RCUmVzb3VyY2VHcm91cDM2NjgvcHJvdmlkZXJzL01pY3Jvc29mdC5Eb2N1bWVudERCL2RhdGFiYXNlQWNjb3VudHMvZGIwMDEvbW9uZ29kYkRhdGFiYXNlcy9kYXRhYmFzZU5hbWUzNjY4P2FwaS12ZXJzaW9uPTIwMjEtMDQtMTU=", + "RequestUri": "/subscriptions/259fbb24-9bcd-4cfc-865c-fc33b22fe38a/resourceGroups/CosmosDBResourceGroup3668/providers/Microsoft.DocumentDB/databaseAccounts/db003/mongodbDatabases/databaseName3668?api-version=2021-06-15", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMjU5ZmJiMjQtOWJjZC00Y2ZjLTg2NWMtZmMzM2IyMmZlMzhhL3Jlc291cmNlR3JvdXBzL0Nvc21vc0RCUmVzb3VyY2VHcm91cDM2NjgvcHJvdmlkZXJzL01pY3Jvc29mdC5Eb2N1bWVudERCL2RhdGFiYXNlQWNjb3VudHMvZGIwMDMvbW9uZ29kYkRhdGFiYXNlcy9kYXRhYmFzZU5hbWUzNjY4P2FwaS12ZXJzaW9uPTIwMjEtMDYtMTU=", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { "x-ms-client-request-id": [ - "9450866a-99f6-4683-9814-c54da35b4e39" + "65153400-22c1-4e58-acad-34dbdadb6b55" ], "Accept-Language": [ "en-US" ], "User-Agent": [ - "FxVersion/4.6.29916.01", + "FxVersion/4.6.28207.03", "OSName/Windows", - "OSVersion/Microsoft.Windows.10.0.19042.", + "OSVersion/Microsoft.Windows.10.0.19043.", "Microsoft.Azure.Management.CosmosDB.CosmosDBManagementClient/3.0.0.0" ] }, @@ -486,7 +279,7 @@ "max-age=31536000; includeSubDomains" ], "x-ms-gatewayversion": [ - "version=2.11.0" + "version=2.14.0" ], "Server": [ "Microsoft-HTTPAPI/2.0" @@ -495,46 +288,46 @@ "11997" ], "x-ms-request-id": [ - "bc43a898-87ce-4ce4-9ecd-6f9fce066b52" + "fd17d084-8897-44b1-96d7-8a645ad05c53" ], "x-ms-correlation-request-id": [ - "bc43a898-87ce-4ce4-9ecd-6f9fce066b52" + "fd17d084-8897-44b1-96d7-8a645ad05c53" ], "x-ms-routing-request-id": [ - "WESTUS:20210427T175126Z:bc43a898-87ce-4ce4-9ecd-6f9fce066b52" + "WESTUS2:20210616T055632Z:fd17d084-8897-44b1-96d7-8a645ad05c53" ], "X-Content-Type-Options": [ "nosniff" ], "Date": [ - "Tue, 27 Apr 2021 17:51:26 GMT" + "Wed, 16 Jun 2021 05:56:32 GMT" ], "Content-Length": [ - "417" + "331" ], "Content-Type": [ "application/json" ] }, - "ResponseBody": "{\r\n \"id\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/resourceGroups/CosmosDBResourceGroup3668/providers/Microsoft.DocumentDB/databaseAccounts/db001/mongodbDatabases/databaseName3668\",\r\n \"type\": \"Microsoft.DocumentDB/databaseAccounts/mongodbDatabases\",\r\n \"name\": \"databaseName3668\",\r\n \"properties\": {\r\n \"resource\": {\r\n \"id\": \"databaseName3668\",\r\n \"_rid\": \"20hdAA==\",\r\n \"_etag\": \"\\\"00003300-0000-0200-0000-60884f040000\\\"\",\r\n \"_ts\": 1619545860\r\n }\r\n }\r\n}", + "ResponseBody": "{\r\n \"id\": \"/subscriptions/259fbb24-9bcd-4cfc-865c-fc33b22fe38a/resourceGroups/CosmosDBResourceGroup3668/providers/Microsoft.DocumentDB/databaseAccounts/db003/mongodbDatabases/databaseName3668\",\r\n \"type\": \"Microsoft.DocumentDB/databaseAccounts/mongodbDatabases\",\r\n \"name\": \"databaseName3668\",\r\n \"properties\": {\r\n \"resource\": {\r\n \"id\": \"databaseName3668\"\r\n }\r\n }\r\n}", "StatusCode": 200 }, { - "RequestUri": "/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/resourceGroups/CosmosDBResourceGroup3668/providers/Microsoft.DocumentDB/databaseAccounts/db001/mongodbDatabases/databaseName23668?api-version=2021-04-15", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvODBiZTM5NjEtMDUyMS00YTBhLTg1NzAtNWNkNWE0ZTJmOThjL3Jlc291cmNlR3JvdXBzL0Nvc21vc0RCUmVzb3VyY2VHcm91cDM2NjgvcHJvdmlkZXJzL01pY3Jvc29mdC5Eb2N1bWVudERCL2RhdGFiYXNlQWNjb3VudHMvZGIwMDEvbW9uZ29kYkRhdGFiYXNlcy9kYXRhYmFzZU5hbWUyMzY2OD9hcGktdmVyc2lvbj0yMDIxLTA0LTE1", + "RequestUri": "/subscriptions/259fbb24-9bcd-4cfc-865c-fc33b22fe38a/resourceGroups/CosmosDBResourceGroup3668/providers/Microsoft.DocumentDB/databaseAccounts/db003/mongodbDatabases/databaseName23668?api-version=2021-06-15", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMjU5ZmJiMjQtOWJjZC00Y2ZjLTg2NWMtZmMzM2IyMmZlMzhhL3Jlc291cmNlR3JvdXBzL0Nvc21vc0RCUmVzb3VyY2VHcm91cDM2NjgvcHJvdmlkZXJzL01pY3Jvc29mdC5Eb2N1bWVudERCL2RhdGFiYXNlQWNjb3VudHMvZGIwMDMvbW9uZ29kYkRhdGFiYXNlcy9kYXRhYmFzZU5hbWUyMzY2OD9hcGktdmVyc2lvbj0yMDIxLTA2LTE1", "RequestMethod": "PUT", "RequestBody": "{\r\n \"properties\": {\r\n \"resource\": {\r\n \"id\": \"databaseName23668\"\r\n },\r\n \"options\": {\r\n \"throughput\": 700\r\n }\r\n }\r\n}", "RequestHeaders": { "x-ms-client-request-id": [ - "08a534f3-0ee3-45c5-9bec-fd01226ecd28" + "cd096118-1667-463c-be5a-be80f6fa06a9" ], "Accept-Language": [ "en-US" ], "User-Agent": [ - "FxVersion/4.6.29916.01", + "FxVersion/4.6.28207.03", "OSName/Windows", - "OSVersion/Microsoft.Windows.10.0.19042.", + "OSVersion/Microsoft.Windows.10.0.19043.", "Microsoft.Azure.Management.CosmosDB.CosmosDBManagementClient/3.0.0.0" ], "Content-Type": [ @@ -552,19 +345,19 @@ "no-cache" ], "Location": [ - "https://management.azure.com/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/resourceGroups/CosmosDBResourceGroup3668/providers/Microsoft.DocumentDB/databaseAccounts/db001/mongodbDatabases/databaseName23668/operationResults/2895e18a-a169-4523-8d59-5d6a487cd1bc?api-version=2021-04-15" + "https://management.azure.com/subscriptions/259fbb24-9bcd-4cfc-865c-fc33b22fe38a/resourceGroups/CosmosDBResourceGroup3668/providers/Microsoft.DocumentDB/databaseAccounts/db003/mongodbDatabases/databaseName23668/operationResults/217189a6-b9d7-42f1-b5c9-1f95ea59d233?api-version=2021-06-15" ], "Azure-AsyncOperation": [ - "https://management.azure.com/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/providers/Microsoft.DocumentDB/locations/eastus2/operationsStatus/2895e18a-a169-4523-8d59-5d6a487cd1bc?api-version=2021-04-15" + "https://management.azure.com/subscriptions/259fbb24-9bcd-4cfc-865c-fc33b22fe38a/providers/Microsoft.DocumentDB/locations/eastus2/operationsStatus/217189a6-b9d7-42f1-b5c9-1f95ea59d233?api-version=2021-06-15" ], "x-ms-request-id": [ - "2895e18a-a169-4523-8d59-5d6a487cd1bc" + "217189a6-b9d7-42f1-b5c9-1f95ea59d233" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "x-ms-gatewayversion": [ - "version=2.11.0" + "version=2.14.0" ], "Server": [ "Microsoft-HTTPAPI/2.0" @@ -573,16 +366,16 @@ "1198" ], "x-ms-correlation-request-id": [ - "e2db0a1c-b9cb-4f35-9ae8-990de0a41fae" + "a845117b-6b08-4ba2-ba7b-acc550e744ab" ], "x-ms-routing-request-id": [ - "WESTUS:20210427T175127Z:e2db0a1c-b9cb-4f35-9ae8-990de0a41fae" + "WESTUS2:20210616T055633Z:a845117b-6b08-4ba2-ba7b-acc550e744ab" ], "X-Content-Type-Options": [ "nosniff" ], "Date": [ - "Tue, 27 Apr 2021 17:51:27 GMT" + "Wed, 16 Jun 2021 05:56:32 GMT" ], "Content-Length": [ "21" @@ -595,15 +388,15 @@ "StatusCode": 202 }, { - "RequestUri": "/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/providers/Microsoft.DocumentDB/locations/eastus2/operationsStatus/2895e18a-a169-4523-8d59-5d6a487cd1bc?api-version=2021-04-15", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvODBiZTM5NjEtMDUyMS00YTBhLTg1NzAtNWNkNWE0ZTJmOThjL3Byb3ZpZGVycy9NaWNyb3NvZnQuRG9jdW1lbnREQi9sb2NhdGlvbnMvZWFzdHVzMi9vcGVyYXRpb25zU3RhdHVzLzI4OTVlMThhLWExNjktNDUyMy04ZDU5LTVkNmE0ODdjZDFiYz9hcGktdmVyc2lvbj0yMDIxLTA0LTE1", + "RequestUri": "/subscriptions/259fbb24-9bcd-4cfc-865c-fc33b22fe38a/providers/Microsoft.DocumentDB/locations/eastus2/operationsStatus/217189a6-b9d7-42f1-b5c9-1f95ea59d233?api-version=2021-06-15", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMjU5ZmJiMjQtOWJjZC00Y2ZjLTg2NWMtZmMzM2IyMmZlMzhhL3Byb3ZpZGVycy9NaWNyb3NvZnQuRG9jdW1lbnREQi9sb2NhdGlvbnMvZWFzdHVzMi9vcGVyYXRpb25zU3RhdHVzLzIxNzE4OWE2LWI5ZDctNDJmMS1iNWM5LTFmOTVlYTU5ZDIzMz9hcGktdmVyc2lvbj0yMDIxLTA2LTE1", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { "User-Agent": [ - "FxVersion/4.6.29916.01", + "FxVersion/4.6.28207.03", "OSName/Windows", - "OSVersion/Microsoft.Windows.10.0.19042.", + "OSVersion/Microsoft.Windows.10.0.19043.", "Microsoft.Azure.Management.CosmosDB.CosmosDBManagementClient/3.0.0.0" ] }, @@ -618,7 +411,7 @@ "max-age=31536000; includeSubDomains" ], "x-ms-gatewayversion": [ - "version=2.11.0" + "version=2.14.0" ], "Server": [ "Microsoft-HTTPAPI/2.0" @@ -627,19 +420,19 @@ "11996" ], "x-ms-request-id": [ - "8f30c043-7a61-44ae-82b2-1bc10ab9f436" + "8ddef8b1-7ca6-4cf0-bd20-c249ea342b49" ], "x-ms-correlation-request-id": [ - "8f30c043-7a61-44ae-82b2-1bc10ab9f436" + "8ddef8b1-7ca6-4cf0-bd20-c249ea342b49" ], "x-ms-routing-request-id": [ - "WESTUS:20210427T175157Z:8f30c043-7a61-44ae-82b2-1bc10ab9f436" + "WESTUS2:20210616T055703Z:8ddef8b1-7ca6-4cf0-bd20-c249ea342b49" ], "X-Content-Type-Options": [ "nosniff" ], "Date": [ - "Tue, 27 Apr 2021 17:51:57 GMT" + "Wed, 16 Jun 2021 05:57:02 GMT" ], "Content-Length": [ "22" @@ -652,15 +445,15 @@ "StatusCode": 200 }, { - "RequestUri": "/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/resourceGroups/CosmosDBResourceGroup3668/providers/Microsoft.DocumentDB/databaseAccounts/db001/mongodbDatabases/databaseName23668?api-version=2021-04-15", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvODBiZTM5NjEtMDUyMS00YTBhLTg1NzAtNWNkNWE0ZTJmOThjL3Jlc291cmNlR3JvdXBzL0Nvc21vc0RCUmVzb3VyY2VHcm91cDM2NjgvcHJvdmlkZXJzL01pY3Jvc29mdC5Eb2N1bWVudERCL2RhdGFiYXNlQWNjb3VudHMvZGIwMDEvbW9uZ29kYkRhdGFiYXNlcy9kYXRhYmFzZU5hbWUyMzY2OD9hcGktdmVyc2lvbj0yMDIxLTA0LTE1", + "RequestUri": "/subscriptions/259fbb24-9bcd-4cfc-865c-fc33b22fe38a/resourceGroups/CosmosDBResourceGroup3668/providers/Microsoft.DocumentDB/databaseAccounts/db003/mongodbDatabases/databaseName23668?api-version=2021-06-15", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMjU5ZmJiMjQtOWJjZC00Y2ZjLTg2NWMtZmMzM2IyMmZlMzhhL3Jlc291cmNlR3JvdXBzL0Nvc21vc0RCUmVzb3VyY2VHcm91cDM2NjgvcHJvdmlkZXJzL01pY3Jvc29mdC5Eb2N1bWVudERCL2RhdGFiYXNlQWNjb3VudHMvZGIwMDMvbW9uZ29kYkRhdGFiYXNlcy9kYXRhYmFzZU5hbWUyMzY2OD9hcGktdmVyc2lvbj0yMDIxLTA2LTE1", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { "User-Agent": [ - "FxVersion/4.6.29916.01", + "FxVersion/4.6.28207.03", "OSName/Windows", - "OSVersion/Microsoft.Windows.10.0.19042.", + "OSVersion/Microsoft.Windows.10.0.19043.", "Microsoft.Azure.Management.CosmosDB.CosmosDBManagementClient/3.0.0.0" ] }, @@ -675,7 +468,7 @@ "max-age=31536000; includeSubDomains" ], "x-ms-gatewayversion": [ - "version=2.11.0" + "version=2.14.0" ], "Server": [ "Microsoft-HTTPAPI/2.0" @@ -684,46 +477,46 @@ "11995" ], "x-ms-request-id": [ - "97cf7c1b-06eb-4ad2-b93e-bffede0911ff" + "65d47f1d-d703-4aff-a70d-2d3562ea5b14" ], "x-ms-correlation-request-id": [ - "97cf7c1b-06eb-4ad2-b93e-bffede0911ff" + "65d47f1d-d703-4aff-a70d-2d3562ea5b14" ], "x-ms-routing-request-id": [ - "WESTUS:20210427T175157Z:97cf7c1b-06eb-4ad2-b93e-bffede0911ff" + "WESTUS2:20210616T055703Z:65d47f1d-d703-4aff-a70d-2d3562ea5b14" ], "X-Content-Type-Options": [ "nosniff" ], "Date": [ - "Tue, 27 Apr 2021 17:51:57 GMT" + "Wed, 16 Jun 2021 05:57:03 GMT" ], "Content-Length": [ - "420" + "334" ], "Content-Type": [ "application/json" ] }, - "ResponseBody": "{\r\n \"id\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/resourceGroups/CosmosDBResourceGroup3668/providers/Microsoft.DocumentDB/databaseAccounts/db001/mongodbDatabases/databaseName23668\",\r\n \"type\": \"Microsoft.DocumentDB/databaseAccounts/mongodbDatabases\",\r\n \"name\": \"databaseName23668\",\r\n \"properties\": {\r\n \"resource\": {\r\n \"id\": \"databaseName23668\",\r\n \"_rid\": \"JxQ0AA==\",\r\n \"_etag\": \"\\\"00003500-0000-0200-0000-60884f280000\\\"\",\r\n \"_ts\": 1619545896\r\n }\r\n }\r\n}", + "ResponseBody": "{\r\n \"id\": \"/subscriptions/259fbb24-9bcd-4cfc-865c-fc33b22fe38a/resourceGroups/CosmosDBResourceGroup3668/providers/Microsoft.DocumentDB/databaseAccounts/db003/mongodbDatabases/databaseName23668\",\r\n \"type\": \"Microsoft.DocumentDB/databaseAccounts/mongodbDatabases\",\r\n \"name\": \"databaseName23668\",\r\n \"properties\": {\r\n \"resource\": {\r\n \"id\": \"databaseName23668\"\r\n }\r\n }\r\n}", "StatusCode": 200 }, { - "RequestUri": "/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/resourceGroups/CosmosDBResourceGroup3668/providers/Microsoft.DocumentDB/databaseAccounts/db001/mongodbDatabases?api-version=2021-04-15", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvODBiZTM5NjEtMDUyMS00YTBhLTg1NzAtNWNkNWE0ZTJmOThjL3Jlc291cmNlR3JvdXBzL0Nvc21vc0RCUmVzb3VyY2VHcm91cDM2NjgvcHJvdmlkZXJzL01pY3Jvc29mdC5Eb2N1bWVudERCL2RhdGFiYXNlQWNjb3VudHMvZGIwMDEvbW9uZ29kYkRhdGFiYXNlcz9hcGktdmVyc2lvbj0yMDIxLTA0LTE1", + "RequestUri": "/subscriptions/259fbb24-9bcd-4cfc-865c-fc33b22fe38a/resourceGroups/CosmosDBResourceGroup3668/providers/Microsoft.DocumentDB/databaseAccounts/db003/mongodbDatabases?api-version=2021-06-15", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMjU5ZmJiMjQtOWJjZC00Y2ZjLTg2NWMtZmMzM2IyMmZlMzhhL3Jlc291cmNlR3JvdXBzL0Nvc21vc0RCUmVzb3VyY2VHcm91cDM2NjgvcHJvdmlkZXJzL01pY3Jvc29mdC5Eb2N1bWVudERCL2RhdGFiYXNlQWNjb3VudHMvZGIwMDMvbW9uZ29kYkRhdGFiYXNlcz9hcGktdmVyc2lvbj0yMDIxLTA2LTE1", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { "x-ms-client-request-id": [ - "91dfe18f-a526-4987-864f-1beda1e6199c" + "4cf89757-6ba2-459f-814b-db970c8f357d" ], "Accept-Language": [ "en-US" ], "User-Agent": [ - "FxVersion/4.6.29916.01", + "FxVersion/4.6.28207.03", "OSName/Windows", - "OSVersion/Microsoft.Windows.10.0.19042.", + "OSVersion/Microsoft.Windows.10.0.19043.", "Microsoft.Azure.Management.CosmosDB.CosmosDBManagementClient/3.0.0.0" ] }, @@ -738,7 +531,7 @@ "max-age=31536000; includeSubDomains" ], "x-ms-gatewayversion": [ - "version=2.11.0" + "version=2.14.0" ], "Server": [ "Microsoft-HTTPAPI/2.0" @@ -747,46 +540,46 @@ "11994" ], "x-ms-request-id": [ - "f13de7f4-bd19-4325-bad0-ea40c9469666" + "7a153e4e-b0a5-4fa5-a310-54f3c604f446" ], "x-ms-correlation-request-id": [ - "f13de7f4-bd19-4325-bad0-ea40c9469666" + "7a153e4e-b0a5-4fa5-a310-54f3c604f446" ], "x-ms-routing-request-id": [ - "WESTUS:20210427T175157Z:f13de7f4-bd19-4325-bad0-ea40c9469666" + "WESTUS2:20210616T055703Z:7a153e4e-b0a5-4fa5-a310-54f3c604f446" ], "X-Content-Type-Options": [ "nosniff" ], "Date": [ - "Tue, 27 Apr 2021 17:51:57 GMT" + "Wed, 16 Jun 2021 05:57:03 GMT" ], "Content-Length": [ - "850" + "678" ], "Content-Type": [ "application/json" ] }, - "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/resourceGroups/CosmosDBResourceGroup3668/providers/Microsoft.DocumentDB/databaseAccounts/db001/mongodbDatabases/databaseName23668\",\r\n \"type\": \"Microsoft.DocumentDB/databaseAccounts/mongodbDatabases\",\r\n \"name\": \"databaseName23668\",\r\n \"properties\": {\r\n \"resource\": {\r\n \"id\": \"databaseName23668\",\r\n \"_rid\": \"JxQ0AA==\",\r\n \"_etag\": \"\\\"00003500-0000-0200-0000-60884f280000\\\"\",\r\n \"_ts\": 1619545896\r\n }\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/resourceGroups/CosmosDBResourceGroup3668/providers/Microsoft.DocumentDB/databaseAccounts/db001/mongodbDatabases/databaseName3668\",\r\n \"type\": \"Microsoft.DocumentDB/databaseAccounts/mongodbDatabases\",\r\n \"name\": \"databaseName3668\",\r\n \"properties\": {\r\n \"resource\": {\r\n \"id\": \"databaseName3668\",\r\n \"_rid\": \"20hdAA==\",\r\n \"_etag\": \"\\\"00003300-0000-0200-0000-60884f040000\\\"\",\r\n \"_ts\": 1619545860\r\n }\r\n }\r\n }\r\n ]\r\n}", + "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/subscriptions/259fbb24-9bcd-4cfc-865c-fc33b22fe38a/resourceGroups/CosmosDBResourceGroup3668/providers/Microsoft.DocumentDB/databaseAccounts/db003/mongodbDatabases/databaseName23668\",\r\n \"type\": \"Microsoft.DocumentDB/databaseAccounts/mongodbDatabases\",\r\n \"name\": \"databaseName23668\",\r\n \"properties\": {\r\n \"resource\": {\r\n \"id\": \"databaseName23668\"\r\n }\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/259fbb24-9bcd-4cfc-865c-fc33b22fe38a/resourceGroups/CosmosDBResourceGroup3668/providers/Microsoft.DocumentDB/databaseAccounts/db003/mongodbDatabases/databaseName3668\",\r\n \"type\": \"Microsoft.DocumentDB/databaseAccounts/mongodbDatabases\",\r\n \"name\": \"databaseName3668\",\r\n \"properties\": {\r\n \"resource\": {\r\n \"id\": \"databaseName3668\"\r\n }\r\n }\r\n }\r\n ]\r\n}", "StatusCode": 200 }, { - "RequestUri": "/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/resourceGroups/CosmosDBResourceGroup3668/providers/Microsoft.DocumentDB/databaseAccounts/db001/mongodbDatabases/databaseName23668/throughputSettings/default?api-version=2021-04-15", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvODBiZTM5NjEtMDUyMS00YTBhLTg1NzAtNWNkNWE0ZTJmOThjL3Jlc291cmNlR3JvdXBzL0Nvc21vc0RCUmVzb3VyY2VHcm91cDM2NjgvcHJvdmlkZXJzL01pY3Jvc29mdC5Eb2N1bWVudERCL2RhdGFiYXNlQWNjb3VudHMvZGIwMDEvbW9uZ29kYkRhdGFiYXNlcy9kYXRhYmFzZU5hbWUyMzY2OC90aHJvdWdocHV0U2V0dGluZ3MvZGVmYXVsdD9hcGktdmVyc2lvbj0yMDIxLTA0LTE1", + "RequestUri": "/subscriptions/259fbb24-9bcd-4cfc-865c-fc33b22fe38a/resourceGroups/CosmosDBResourceGroup3668/providers/Microsoft.DocumentDB/databaseAccounts/db003/mongodbDatabases/databaseName23668/throughputSettings/default?api-version=2021-06-15", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMjU5ZmJiMjQtOWJjZC00Y2ZjLTg2NWMtZmMzM2IyMmZlMzhhL3Jlc291cmNlR3JvdXBzL0Nvc21vc0RCUmVzb3VyY2VHcm91cDM2NjgvcHJvdmlkZXJzL01pY3Jvc29mdC5Eb2N1bWVudERCL2RhdGFiYXNlQWNjb3VudHMvZGIwMDMvbW9uZ29kYkRhdGFiYXNlcy9kYXRhYmFzZU5hbWUyMzY2OC90aHJvdWdocHV0U2V0dGluZ3MvZGVmYXVsdD9hcGktdmVyc2lvbj0yMDIxLTA2LTE1", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { "x-ms-client-request-id": [ - "e96725cf-3c1a-4f80-b456-eb53b506a130" + "9f91ac3f-e632-40f3-bc5e-a7bd48f2b138" ], "Accept-Language": [ "en-US" ], "User-Agent": [ - "FxVersion/4.6.29916.01", + "FxVersion/4.6.28207.03", "OSName/Windows", - "OSVersion/Microsoft.Windows.10.0.19042.", + "OSVersion/Microsoft.Windows.10.0.19043.", "Microsoft.Azure.Management.CosmosDB.CosmosDBManagementClient/3.0.0.0" ] }, @@ -801,7 +594,7 @@ "max-age=31536000; includeSubDomains" ], "x-ms-gatewayversion": [ - "version=2.11.0" + "version=2.14.0" ], "Server": [ "Microsoft-HTTPAPI/2.0" @@ -810,19 +603,19 @@ "11993" ], "x-ms-request-id": [ - "51d9c157-877a-4b46-9adb-970ad46d23e7" + "424b94a4-39d5-4b9a-966b-a96282ff07f0" ], "x-ms-correlation-request-id": [ - "51d9c157-877a-4b46-9adb-970ad46d23e7" + "424b94a4-39d5-4b9a-966b-a96282ff07f0" ], "x-ms-routing-request-id": [ - "WESTUS:20210427T175157Z:51d9c157-877a-4b46-9adb-970ad46d23e7" + "WESTUS2:20210616T055704Z:424b94a4-39d5-4b9a-966b-a96282ff07f0" ], "X-Content-Type-Options": [ "nosniff" ], "Date": [ - "Tue, 27 Apr 2021 17:51:57 GMT" + "Wed, 16 Jun 2021 05:57:03 GMT" ], "Content-Length": [ "385" @@ -831,25 +624,25 @@ "application/json" ] }, - "ResponseBody": "{\r\n \"id\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/resourceGroups/CosmosDBResourceGroup3668/providers/Microsoft.DocumentDB/databaseAccounts/db001/mongodbDatabases/databaseName23668/throughputSettings/default\",\r\n \"type\": \"Microsoft.DocumentDB/databaseAccounts/mongodbDatabases/throughputSettings\",\r\n \"name\": \"gg7c\",\r\n \"properties\": {\r\n \"resource\": {\r\n \"throughput\": 700,\r\n \"minimumThroughput\": \"400\"\r\n }\r\n }\r\n}", + "ResponseBody": "{\r\n \"id\": \"/subscriptions/259fbb24-9bcd-4cfc-865c-fc33b22fe38a/resourceGroups/CosmosDBResourceGroup3668/providers/Microsoft.DocumentDB/databaseAccounts/db003/mongodbDatabases/databaseName23668/throughputSettings/default\",\r\n \"type\": \"Microsoft.DocumentDB/databaseAccounts/mongodbDatabases/throughputSettings\",\r\n \"name\": \"wwh5\",\r\n \"properties\": {\r\n \"resource\": {\r\n \"throughput\": 700,\r\n \"minimumThroughput\": \"400\"\r\n }\r\n }\r\n}", "StatusCode": 200 }, { - "RequestUri": "/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/resourceGroups/CosmosDBResourceGroup3668/providers/Microsoft.DocumentDB/databaseAccounts/db001/mongodbDatabases/databaseName3668/collections/collectionName3668?api-version=2021-04-15", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvODBiZTM5NjEtMDUyMS00YTBhLTg1NzAtNWNkNWE0ZTJmOThjL3Jlc291cmNlR3JvdXBzL0Nvc21vc0RCUmVzb3VyY2VHcm91cDM2NjgvcHJvdmlkZXJzL01pY3Jvc29mdC5Eb2N1bWVudERCL2RhdGFiYXNlQWNjb3VudHMvZGIwMDEvbW9uZ29kYkRhdGFiYXNlcy9kYXRhYmFzZU5hbWUzNjY4L2NvbGxlY3Rpb25zL2NvbGxlY3Rpb25OYW1lMzY2OD9hcGktdmVyc2lvbj0yMDIxLTA0LTE1", + "RequestUri": "/subscriptions/259fbb24-9bcd-4cfc-865c-fc33b22fe38a/resourceGroups/CosmosDBResourceGroup3668/providers/Microsoft.DocumentDB/databaseAccounts/db003/mongodbDatabases/databaseName3668/collections/collectionName3668?api-version=2021-06-15", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMjU5ZmJiMjQtOWJjZC00Y2ZjLTg2NWMtZmMzM2IyMmZlMzhhL3Jlc291cmNlR3JvdXBzL0Nvc21vc0RCUmVzb3VyY2VHcm91cDM2NjgvcHJvdmlkZXJzL01pY3Jvc29mdC5Eb2N1bWVudERCL2RhdGFiYXNlQWNjb3VudHMvZGIwMDMvbW9uZ29kYkRhdGFiYXNlcy9kYXRhYmFzZU5hbWUzNjY4L2NvbGxlY3Rpb25zL2NvbGxlY3Rpb25OYW1lMzY2OD9hcGktdmVyc2lvbj0yMDIxLTA2LTE1", "RequestMethod": "PUT", "RequestBody": "{\r\n \"properties\": {\r\n \"resource\": {\r\n \"id\": \"collectionName3668\",\r\n \"shardKey\": {\r\n \"partitionKey\": \"Hash\"\r\n }\r\n },\r\n \"options\": {}\r\n }\r\n}", "RequestHeaders": { "x-ms-client-request-id": [ - "f7cbbd40-9b1f-40d1-9b7d-b91f77fa6475" + "1d53ba09-688c-4e82-b8f3-65bd2e30d9ff" ], "Accept-Language": [ "en-US" ], "User-Agent": [ - "FxVersion/4.6.29916.01", + "FxVersion/4.6.28207.03", "OSName/Windows", - "OSVersion/Microsoft.Windows.10.0.19042.", + "OSVersion/Microsoft.Windows.10.0.19043.", "Microsoft.Azure.Management.CosmosDB.CosmosDBManagementClient/3.0.0.0" ], "Content-Type": [ @@ -867,19 +660,19 @@ "no-cache" ], "Location": [ - "https://management.azure.com/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/resourceGroups/CosmosDBResourceGroup3668/providers/Microsoft.DocumentDB/databaseAccounts/db001/mongodbDatabases/databaseName3668/collections/collectionName3668/operationResults/9dcafcf7-c91f-4842-af80-8a284969fb7e?api-version=2021-04-15" + "https://management.azure.com/subscriptions/259fbb24-9bcd-4cfc-865c-fc33b22fe38a/resourceGroups/CosmosDBResourceGroup3668/providers/Microsoft.DocumentDB/databaseAccounts/db003/mongodbDatabases/databaseName3668/collections/collectionName3668/operationResults/b741561e-fd86-4462-8541-7fe8f59fbdfd?api-version=2021-06-15" ], "Azure-AsyncOperation": [ - "https://management.azure.com/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/providers/Microsoft.DocumentDB/locations/eastus2/operationsStatus/9dcafcf7-c91f-4842-af80-8a284969fb7e?api-version=2021-04-15" + "https://management.azure.com/subscriptions/259fbb24-9bcd-4cfc-865c-fc33b22fe38a/providers/Microsoft.DocumentDB/locations/eastus2/operationsStatus/b741561e-fd86-4462-8541-7fe8f59fbdfd?api-version=2021-06-15" ], "x-ms-request-id": [ - "9dcafcf7-c91f-4842-af80-8a284969fb7e" + "b741561e-fd86-4462-8541-7fe8f59fbdfd" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "x-ms-gatewayversion": [ - "version=2.11.0" + "version=2.14.0" ], "Server": [ "Microsoft-HTTPAPI/2.0" @@ -888,16 +681,16 @@ "1197" ], "x-ms-correlation-request-id": [ - "99e98225-a9aa-4eb4-a663-08c2a99c7bb4" + "aea898bb-cfd8-4739-b1f0-f7d6478cd740" ], "x-ms-routing-request-id": [ - "WESTUS:20210427T175159Z:99e98225-a9aa-4eb4-a663-08c2a99c7bb4" + "WESTUS2:20210616T055705Z:aea898bb-cfd8-4739-b1f0-f7d6478cd740" ], "X-Content-Type-Options": [ "nosniff" ], "Date": [ - "Tue, 27 Apr 2021 17:51:58 GMT" + "Wed, 16 Jun 2021 05:57:04 GMT" ], "Content-Length": [ "21" @@ -910,15 +703,15 @@ "StatusCode": 202 }, { - "RequestUri": "/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/providers/Microsoft.DocumentDB/locations/eastus2/operationsStatus/9dcafcf7-c91f-4842-af80-8a284969fb7e?api-version=2021-04-15", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvODBiZTM5NjEtMDUyMS00YTBhLTg1NzAtNWNkNWE0ZTJmOThjL3Byb3ZpZGVycy9NaWNyb3NvZnQuRG9jdW1lbnREQi9sb2NhdGlvbnMvZWFzdHVzMi9vcGVyYXRpb25zU3RhdHVzLzlkY2FmY2Y3LWM5MWYtNDg0Mi1hZjgwLThhMjg0OTY5ZmI3ZT9hcGktdmVyc2lvbj0yMDIxLTA0LTE1", + "RequestUri": "/subscriptions/259fbb24-9bcd-4cfc-865c-fc33b22fe38a/providers/Microsoft.DocumentDB/locations/eastus2/operationsStatus/b741561e-fd86-4462-8541-7fe8f59fbdfd?api-version=2021-06-15", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMjU5ZmJiMjQtOWJjZC00Y2ZjLTg2NWMtZmMzM2IyMmZlMzhhL3Byb3ZpZGVycy9NaWNyb3NvZnQuRG9jdW1lbnREQi9sb2NhdGlvbnMvZWFzdHVzMi9vcGVyYXRpb25zU3RhdHVzL2I3NDE1NjFlLWZkODYtNDQ2Mi04NTQxLTdmZThmNTlmYmRmZD9hcGktdmVyc2lvbj0yMDIxLTA2LTE1", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { "User-Agent": [ - "FxVersion/4.6.29916.01", + "FxVersion/4.6.28207.03", "OSName/Windows", - "OSVersion/Microsoft.Windows.10.0.19042.", + "OSVersion/Microsoft.Windows.10.0.19043.", "Microsoft.Azure.Management.CosmosDB.CosmosDBManagementClient/3.0.0.0" ] }, @@ -933,7 +726,7 @@ "max-age=31536000; includeSubDomains" ], "x-ms-gatewayversion": [ - "version=2.11.0" + "version=2.14.0" ], "Server": [ "Microsoft-HTTPAPI/2.0" @@ -942,19 +735,19 @@ "11992" ], "x-ms-request-id": [ - "da25da2e-338c-4fda-b19e-d6a5c2e53529" + "1fe7ccd7-7456-4cc2-892f-725824f13ee9" ], "x-ms-correlation-request-id": [ - "da25da2e-338c-4fda-b19e-d6a5c2e53529" + "1fe7ccd7-7456-4cc2-892f-725824f13ee9" ], "x-ms-routing-request-id": [ - "WESTUS:20210427T175229Z:da25da2e-338c-4fda-b19e-d6a5c2e53529" + "WESTUS2:20210616T055735Z:1fe7ccd7-7456-4cc2-892f-725824f13ee9" ], "X-Content-Type-Options": [ "nosniff" ], "Date": [ - "Tue, 27 Apr 2021 17:52:28 GMT" + "Wed, 16 Jun 2021 05:57:34 GMT" ], "Content-Length": [ "22" @@ -967,15 +760,15 @@ "StatusCode": 200 }, { - "RequestUri": "/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/resourceGroups/CosmosDBResourceGroup3668/providers/Microsoft.DocumentDB/databaseAccounts/db001/mongodbDatabases/databaseName3668/collections/collectionName3668?api-version=2021-04-15", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvODBiZTM5NjEtMDUyMS00YTBhLTg1NzAtNWNkNWE0ZTJmOThjL3Jlc291cmNlR3JvdXBzL0Nvc21vc0RCUmVzb3VyY2VHcm91cDM2NjgvcHJvdmlkZXJzL01pY3Jvc29mdC5Eb2N1bWVudERCL2RhdGFiYXNlQWNjb3VudHMvZGIwMDEvbW9uZ29kYkRhdGFiYXNlcy9kYXRhYmFzZU5hbWUzNjY4L2NvbGxlY3Rpb25zL2NvbGxlY3Rpb25OYW1lMzY2OD9hcGktdmVyc2lvbj0yMDIxLTA0LTE1", + "RequestUri": "/subscriptions/259fbb24-9bcd-4cfc-865c-fc33b22fe38a/resourceGroups/CosmosDBResourceGroup3668/providers/Microsoft.DocumentDB/databaseAccounts/db003/mongodbDatabases/databaseName3668/collections/collectionName3668?api-version=2021-06-15", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMjU5ZmJiMjQtOWJjZC00Y2ZjLTg2NWMtZmMzM2IyMmZlMzhhL3Jlc291cmNlR3JvdXBzL0Nvc21vc0RCUmVzb3VyY2VHcm91cDM2NjgvcHJvdmlkZXJzL01pY3Jvc29mdC5Eb2N1bWVudERCL2RhdGFiYXNlQWNjb3VudHMvZGIwMDMvbW9uZ29kYkRhdGFiYXNlcy9kYXRhYmFzZU5hbWUzNjY4L2NvbGxlY3Rpb25zL2NvbGxlY3Rpb25OYW1lMzY2OD9hcGktdmVyc2lvbj0yMDIxLTA2LTE1", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { "User-Agent": [ - "FxVersion/4.6.29916.01", + "FxVersion/4.6.28207.03", "OSName/Windows", - "OSVersion/Microsoft.Windows.10.0.19042.", + "OSVersion/Microsoft.Windows.10.0.19043.", "Microsoft.Azure.Management.CosmosDB.CosmosDBManagementClient/3.0.0.0" ] }, @@ -990,7 +783,7 @@ "max-age=31536000; includeSubDomains" ], "x-ms-gatewayversion": [ - "version=2.11.0" + "version=2.14.0" ], "Server": [ "Microsoft-HTTPAPI/2.0" @@ -999,46 +792,46 @@ "11991" ], "x-ms-request-id": [ - "80c9b953-44cd-432f-9afe-c6103fbbdb35" + "5e064177-dd5b-4bc9-ab7f-332e7a725832" ], "x-ms-correlation-request-id": [ - "80c9b953-44cd-432f-9afe-c6103fbbdb35" + "5e064177-dd5b-4bc9-ab7f-332e7a725832" ], "x-ms-routing-request-id": [ - "WESTUS:20210427T175229Z:80c9b953-44cd-432f-9afe-c6103fbbdb35" + "WESTUS2:20210616T055735Z:5e064177-dd5b-4bc9-ab7f-332e7a725832" ], "X-Content-Type-Options": [ "nosniff" ], "Date": [ - "Tue, 27 Apr 2021 17:52:28 GMT" + "Wed, 16 Jun 2021 05:57:35 GMT" ], "Content-Length": [ - "610" + "450" ], "Content-Type": [ "application/json" ] }, - "ResponseBody": "{\r\n \"id\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/resourceGroups/CosmosDBResourceGroup3668/providers/Microsoft.DocumentDB/databaseAccounts/db001/mongodbDatabases/databaseName3668/collections/collectionName3668\",\r\n \"type\": \"Microsoft.DocumentDB/databaseAccounts/mongodbDatabases/collections\",\r\n \"name\": \"collectionName3668\",\r\n \"properties\": {\r\n \"resource\": {\r\n \"id\": \"collectionName3668\",\r\n \"_rid\": \"20hdANzkn7I=\",\r\n \"_etag\": \"\\\"00003900-0000-0200-0000-60884f460000\\\"\",\r\n \"_ts\": 1619545926,\r\n \"shardKey\": {\r\n \"partitionKey\": \"Hash\"\r\n },\r\n \"indexes\": [\r\n {\r\n \"key\": {\r\n \"keys\": [\r\n \"_id\"\r\n ]\r\n },\r\n \"options\": {}\r\n },\r\n {\r\n \"key\": {\r\n \"keys\": [\r\n \"DocumentDBDefaultIndex\"\r\n ]\r\n },\r\n \"options\": {}\r\n }\r\n ]\r\n }\r\n }\r\n}", + "ResponseBody": "{\r\n \"id\": \"/subscriptions/259fbb24-9bcd-4cfc-865c-fc33b22fe38a/resourceGroups/CosmosDBResourceGroup3668/providers/Microsoft.DocumentDB/databaseAccounts/db003/mongodbDatabases/databaseName3668/collections/collectionName3668\",\r\n \"type\": \"Microsoft.DocumentDB/databaseAccounts/mongodbDatabases/collections\",\r\n \"name\": \"collectionName3668\",\r\n \"properties\": {\r\n \"resource\": {\r\n \"id\": \"collectionName3668\",\r\n \"shardKey\": {\r\n \"partitionKey\": \"Hash\"\r\n },\r\n \"indexes\": [\r\n {\r\n \"key\": {\r\n \"keys\": [\r\n \"_id\"\r\n ]\r\n }\r\n }\r\n ]\r\n }\r\n }\r\n}", "StatusCode": 200 }, { - "RequestUri": "/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/resourceGroups/CosmosDBResourceGroup3668/providers/Microsoft.DocumentDB/databaseAccounts/db001/mongodbDatabases/databaseName3668/collections?api-version=2021-04-15", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvODBiZTM5NjEtMDUyMS00YTBhLTg1NzAtNWNkNWE0ZTJmOThjL3Jlc291cmNlR3JvdXBzL0Nvc21vc0RCUmVzb3VyY2VHcm91cDM2NjgvcHJvdmlkZXJzL01pY3Jvc29mdC5Eb2N1bWVudERCL2RhdGFiYXNlQWNjb3VudHMvZGIwMDEvbW9uZ29kYkRhdGFiYXNlcy9kYXRhYmFzZU5hbWUzNjY4L2NvbGxlY3Rpb25zP2FwaS12ZXJzaW9uPTIwMjEtMDQtMTU=", + "RequestUri": "/subscriptions/259fbb24-9bcd-4cfc-865c-fc33b22fe38a/resourceGroups/CosmosDBResourceGroup3668/providers/Microsoft.DocumentDB/databaseAccounts/db003/mongodbDatabases/databaseName3668/collections?api-version=2021-06-15", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMjU5ZmJiMjQtOWJjZC00Y2ZjLTg2NWMtZmMzM2IyMmZlMzhhL3Jlc291cmNlR3JvdXBzL0Nvc21vc0RCUmVzb3VyY2VHcm91cDM2NjgvcHJvdmlkZXJzL01pY3Jvc29mdC5Eb2N1bWVudERCL2RhdGFiYXNlQWNjb3VudHMvZGIwMDMvbW9uZ29kYkRhdGFiYXNlcy9kYXRhYmFzZU5hbWUzNjY4L2NvbGxlY3Rpb25zP2FwaS12ZXJzaW9uPTIwMjEtMDYtMTU=", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { "x-ms-client-request-id": [ - "298ff12f-03f0-4cd5-b877-2aa626ec5233" + "c7a1b929-978f-45f8-99b3-3ba46fe93456" ], "Accept-Language": [ "en-US" ], "User-Agent": [ - "FxVersion/4.6.29916.01", + "FxVersion/4.6.28207.03", "OSName/Windows", - "OSVersion/Microsoft.Windows.10.0.19042.", + "OSVersion/Microsoft.Windows.10.0.19043.", "Microsoft.Azure.Management.CosmosDB.CosmosDBManagementClient/3.0.0.0" ] }, @@ -1053,7 +846,7 @@ "max-age=31536000; includeSubDomains" ], "x-ms-gatewayversion": [ - "version=2.11.0" + "version=2.14.0" ], "Server": [ "Microsoft-HTTPAPI/2.0" @@ -1062,33 +855,33 @@ "11990" ], "x-ms-request-id": [ - "f3f9edd7-8ad7-43e9-a6a2-447baafe33f5" + "74b905d2-24b3-45c3-aab0-42b53e9b07e7" ], "x-ms-correlation-request-id": [ - "f3f9edd7-8ad7-43e9-a6a2-447baafe33f5" + "74b905d2-24b3-45c3-aab0-42b53e9b07e7" ], "x-ms-routing-request-id": [ - "WESTUS:20210427T175229Z:f3f9edd7-8ad7-43e9-a6a2-447baafe33f5" + "WESTUS2:20210616T055736Z:74b905d2-24b3-45c3-aab0-42b53e9b07e7" ], "X-Content-Type-Options": [ "nosniff" ], "Date": [ - "Tue, 27 Apr 2021 17:52:29 GMT" + "Wed, 16 Jun 2021 05:57:35 GMT" ], "Content-Length": [ - "622" + "462" ], "Content-Type": [ "application/json" ] }, - "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/resourceGroups/CosmosDBResourceGroup3668/providers/Microsoft.DocumentDB/databaseAccounts/db001/mongodbDatabases/databaseName3668/collections/collectionName3668\",\r\n \"type\": \"Microsoft.DocumentDB/databaseAccounts/mongodbDatabases/collections\",\r\n \"name\": \"collectionName3668\",\r\n \"properties\": {\r\n \"resource\": {\r\n \"id\": \"collectionName3668\",\r\n \"_rid\": \"20hdANzkn7I=\",\r\n \"_etag\": \"\\\"00003900-0000-0200-0000-60884f460000\\\"\",\r\n \"_ts\": 1619545926,\r\n \"shardKey\": {\r\n \"partitionKey\": \"Hash\"\r\n },\r\n \"indexes\": [\r\n {\r\n \"key\": {\r\n \"keys\": [\r\n \"_id\"\r\n ]\r\n },\r\n \"options\": {}\r\n },\r\n {\r\n \"key\": {\r\n \"keys\": [\r\n \"DocumentDBDefaultIndex\"\r\n ]\r\n },\r\n \"options\": {}\r\n }\r\n ]\r\n }\r\n }\r\n }\r\n ]\r\n}", + "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/subscriptions/259fbb24-9bcd-4cfc-865c-fc33b22fe38a/resourceGroups/CosmosDBResourceGroup3668/providers/Microsoft.DocumentDB/databaseAccounts/db003/mongodbDatabases/databaseName3668/collections/collectionName3668\",\r\n \"type\": \"Microsoft.DocumentDB/databaseAccounts/mongodbDatabases/collections\",\r\n \"name\": \"collectionName3668\",\r\n \"properties\": {\r\n \"resource\": {\r\n \"id\": \"collectionName3668\",\r\n \"shardKey\": {\r\n \"partitionKey\": \"Hash\"\r\n },\r\n \"indexes\": [\r\n {\r\n \"key\": {\r\n \"keys\": [\r\n \"_id\"\r\n ]\r\n }\r\n }\r\n ]\r\n }\r\n }\r\n }\r\n ]\r\n}", "StatusCode": 200 } ], "Names": {}, "Variables": { - "SubscriptionId": "80be3961-0521-4a0a-8570-5cd5a4e2f98c" + "SubscriptionId": "259fbb24-9bcd-4cfc-865c-fc33b22fe38a" } } \ No newline at end of file diff --git a/sdk/cosmosdb/Microsoft.Azure.Management.CosmosDB/tests/SessionRecords/OperationsTests/ListOperationsTest.json b/sdk/cosmosdb/Microsoft.Azure.Management.CosmosDB/tests/SessionRecords/OperationsTests/ListOperationsTest.json index 836d2deb7a4a..04401d09d6ee 100644 --- a/sdk/cosmosdb/Microsoft.Azure.Management.CosmosDB/tests/SessionRecords/OperationsTests/ListOperationsTest.json +++ b/sdk/cosmosdb/Microsoft.Azure.Management.CosmosDB/tests/SessionRecords/OperationsTests/ListOperationsTest.json @@ -1,21 +1,21 @@ { "Entries": [ { - "RequestUri": "/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/resourceGroups/CosmosDBResourceGroup3668/providers/Microsoft.DocumentDB/databaseAccounts/db8192/cassandraKeyspaces/keyspaceName2510/tables/tableName2510?api-version=2021-04-15", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvODBiZTM5NjEtMDUyMS00YTBhLTg1NzAtNWNkNWE0ZTJmOThjL3Jlc291cmNlR3JvdXBzL0Nvc21vc0RCUmVzb3VyY2VHcm91cDM2NjgvcHJvdmlkZXJzL01pY3Jvc29mdC5Eb2N1bWVudERCL2RhdGFiYXNlQWNjb3VudHMvZGI4MTkyL2Nhc3NhbmRyYUtleXNwYWNlcy9rZXlzcGFjZU5hbWUyNTEwL3RhYmxlcy90YWJsZU5hbWUyNTEwP2FwaS12ZXJzaW9uPTIwMjEtMDQtMTU=", + "RequestUri": "/subscriptions/259fbb24-9bcd-4cfc-865c-fc33b22fe38a/resourceGroups/CosmosDBResourceGroup3668/providers/Microsoft.DocumentDB/databaseAccounts/db003/mongodbDatabases/databaseName3668/collections/collectionName3668?api-version=2021-06-15", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMjU5ZmJiMjQtOWJjZC00Y2ZjLTg2NWMtZmMzM2IyMmZlMzhhL3Jlc291cmNlR3JvdXBzL0Nvc21vc0RCUmVzb3VyY2VHcm91cDM2NjgvcHJvdmlkZXJzL01pY3Jvc29mdC5Eb2N1bWVudERCL2RhdGFiYXNlQWNjb3VudHMvZGIwMDMvbW9uZ29kYkRhdGFiYXNlcy9kYXRhYmFzZU5hbWUzNjY4L2NvbGxlY3Rpb25zL2NvbGxlY3Rpb25OYW1lMzY2OD9hcGktdmVyc2lvbj0yMDIxLTA2LTE1", "RequestMethod": "DELETE", "RequestBody": "", "RequestHeaders": { "x-ms-client-request-id": [ - "d4ad12ec-c2e2-4fd5-a06d-4cbc389fcbfd" + "0c6025e2-8d26-4aff-9ff8-ccdc70740175" ], "Accept-Language": [ "en-US" ], "User-Agent": [ - "FxVersion/4.6.29916.01", + "FxVersion/4.6.28207.03", "OSName/Windows", - "OSVersion/Microsoft.Windows.10.0.19042.", + "OSVersion/Microsoft.Windows.10.0.19043.", "Microsoft.Azure.Management.CosmosDB.CosmosDBManagementClient/3.0.0.0" ] }, @@ -27,19 +27,19 @@ "no-cache" ], "Location": [ - "https://management.azure.com/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/resourceGroups/CosmosDBResourceGroup3668/providers/Microsoft.DocumentDB/databaseAccounts/db8192/cassandraKeyspaces/keyspaceName2510/tables/tableName2510/operationResults/47f91efc-af4c-4ae4-98a3-ae6cbe6dcce9?api-version=2021-04-15" + "https://management.azure.com/subscriptions/259fbb24-9bcd-4cfc-865c-fc33b22fe38a/resourceGroups/CosmosDBResourceGroup3668/providers/Microsoft.DocumentDB/databaseAccounts/db003/mongodbDatabases/databaseName3668/collections/collectionName3668/operationResults/75e988ac-7aa6-46c9-bdf2-174e54e1ada6?api-version=2021-06-15" ], "Azure-AsyncOperation": [ - "https://management.azure.com/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/providers/Microsoft.DocumentDB/locations/eastus2/operationsStatus/47f91efc-af4c-4ae4-98a3-ae6cbe6dcce9?api-version=2021-04-15" + "https://management.azure.com/subscriptions/259fbb24-9bcd-4cfc-865c-fc33b22fe38a/providers/Microsoft.DocumentDB/locations/eastus2/operationsStatus/75e988ac-7aa6-46c9-bdf2-174e54e1ada6?api-version=2021-06-15" ], "x-ms-request-id": [ - "47f91efc-af4c-4ae4-98a3-ae6cbe6dcce9" + "75e988ac-7aa6-46c9-bdf2-174e54e1ada6" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "x-ms-gatewayversion": [ - "version=2.11.0" + "version=2.14.0" ], "Server": [ "Microsoft-HTTPAPI/2.0" @@ -48,16 +48,16 @@ "14999" ], "x-ms-correlation-request-id": [ - "1992c0d9-b03e-4df3-b030-ec8006aa1317" + "6ff402f4-4519-4baf-ba3d-35a2b2705fb0" ], "x-ms-routing-request-id": [ - "WESTUS:20210427T174916Z:1992c0d9-b03e-4df3-b030-ec8006aa1317" + "WESTUS2:20210616T055736Z:6ff402f4-4519-4baf-ba3d-35a2b2705fb0" ], "X-Content-Type-Options": [ "nosniff" ], "Date": [ - "Tue, 27 Apr 2021 17:49:15 GMT" + "Wed, 16 Jun 2021 05:57:35 GMT" ], "Content-Length": [ "21" @@ -70,21 +70,21 @@ "StatusCode": 202 }, { - "RequestUri": "/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/resourceGroups/CosmosDBResourceGroup3668/providers/Microsoft.DocumentDB/databaseAccounts/db8192/cassandraKeyspaces/keyspaceName22510?api-version=2021-04-15", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvODBiZTM5NjEtMDUyMS00YTBhLTg1NzAtNWNkNWE0ZTJmOThjL3Jlc291cmNlR3JvdXBzL0Nvc21vc0RCUmVzb3VyY2VHcm91cDM2NjgvcHJvdmlkZXJzL01pY3Jvc29mdC5Eb2N1bWVudERCL2RhdGFiYXNlQWNjb3VudHMvZGI4MTkyL2Nhc3NhbmRyYUtleXNwYWNlcy9rZXlzcGFjZU5hbWUyMjUxMD9hcGktdmVyc2lvbj0yMDIxLTA0LTE1", + "RequestUri": "/subscriptions/259fbb24-9bcd-4cfc-865c-fc33b22fe38a/resourceGroups/CosmosDBResourceGroup3668/providers/Microsoft.DocumentDB/databaseAccounts/db003/mongodbDatabases/databaseName3668?api-version=2021-06-15", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMjU5ZmJiMjQtOWJjZC00Y2ZjLTg2NWMtZmMzM2IyMmZlMzhhL3Jlc291cmNlR3JvdXBzL0Nvc21vc0RCUmVzb3VyY2VHcm91cDM2NjgvcHJvdmlkZXJzL01pY3Jvc29mdC5Eb2N1bWVudERCL2RhdGFiYXNlQWNjb3VudHMvZGIwMDMvbW9uZ29kYkRhdGFiYXNlcy9kYXRhYmFzZU5hbWUzNjY4P2FwaS12ZXJzaW9uPTIwMjEtMDYtMTU=", "RequestMethod": "DELETE", "RequestBody": "", "RequestHeaders": { "x-ms-client-request-id": [ - "ee9a5f51-431f-4d10-91bf-1f287761840d" + "653b0db0-aeed-48ad-b700-38825234aee3" ], "Accept-Language": [ "en-US" ], "User-Agent": [ - "FxVersion/4.6.29916.01", + "FxVersion/4.6.28207.03", "OSName/Windows", - "OSVersion/Microsoft.Windows.10.0.19042.", + "OSVersion/Microsoft.Windows.10.0.19043.", "Microsoft.Azure.Management.CosmosDB.CosmosDBManagementClient/3.0.0.0" ] }, @@ -96,19 +96,19 @@ "no-cache" ], "Location": [ - "https://management.azure.com/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/resourceGroups/CosmosDBResourceGroup3668/providers/Microsoft.DocumentDB/databaseAccounts/db8192/cassandraKeyspaces/keyspaceName22510/operationResults/f1b8a15b-4fa9-4ddf-8303-e5767c69b47f?api-version=2021-04-15" + "https://management.azure.com/subscriptions/259fbb24-9bcd-4cfc-865c-fc33b22fe38a/resourceGroups/CosmosDBResourceGroup3668/providers/Microsoft.DocumentDB/databaseAccounts/db003/mongodbDatabases/databaseName3668/operationResults/50c90a21-2080-4fc3-accf-3668b34e282d?api-version=2021-06-15" ], "Azure-AsyncOperation": [ - "https://management.azure.com/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/providers/Microsoft.DocumentDB/locations/eastus2/operationsStatus/f1b8a15b-4fa9-4ddf-8303-e5767c69b47f?api-version=2021-04-15" + "https://management.azure.com/subscriptions/259fbb24-9bcd-4cfc-865c-fc33b22fe38a/providers/Microsoft.DocumentDB/locations/eastus2/operationsStatus/50c90a21-2080-4fc3-accf-3668b34e282d?api-version=2021-06-15" ], "x-ms-request-id": [ - "f1b8a15b-4fa9-4ddf-8303-e5767c69b47f" + "50c90a21-2080-4fc3-accf-3668b34e282d" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "x-ms-gatewayversion": [ - "version=2.11.0" + "version=2.14.0" ], "Server": [ "Microsoft-HTTPAPI/2.0" @@ -117,16 +117,16 @@ "14999" ], "x-ms-correlation-request-id": [ - "c22fca1e-ed46-46d4-902a-fb431af3046a" + "fdd4b628-3857-43ab-8c0f-a8cc177f0a60" ], "x-ms-routing-request-id": [ - "WESTCENTRALUS:20210427T174916Z:c22fca1e-ed46-46d4-902a-fb431af3046a" + "WESTUS2:20210616T055737Z:fdd4b628-3857-43ab-8c0f-a8cc177f0a60" ], "X-Content-Type-Options": [ "nosniff" ], "Date": [ - "Tue, 27 Apr 2021 17:49:15 GMT" + "Wed, 16 Jun 2021 05:57:37 GMT" ], "Content-Length": [ "21" @@ -139,21 +139,21 @@ "StatusCode": 202 }, { - "RequestUri": "/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/resourceGroups/CosmosDBResourceGroup3668/providers/Microsoft.DocumentDB/databaseAccounts/db8192/cassandraKeyspaces/keyspaceName2510?api-version=2021-04-15", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvODBiZTM5NjEtMDUyMS00YTBhLTg1NzAtNWNkNWE0ZTJmOThjL3Jlc291cmNlR3JvdXBzL0Nvc21vc0RCUmVzb3VyY2VHcm91cDM2NjgvcHJvdmlkZXJzL01pY3Jvc29mdC5Eb2N1bWVudERCL2RhdGFiYXNlQWNjb3VudHMvZGI4MTkyL2Nhc3NhbmRyYUtleXNwYWNlcy9rZXlzcGFjZU5hbWUyNTEwP2FwaS12ZXJzaW9uPTIwMjEtMDQtMTU=", + "RequestUri": "/subscriptions/259fbb24-9bcd-4cfc-865c-fc33b22fe38a/resourceGroups/CosmosDBResourceGroup3668/providers/Microsoft.DocumentDB/databaseAccounts/db003/mongodbDatabases/databaseName23668?api-version=2021-06-15", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMjU5ZmJiMjQtOWJjZC00Y2ZjLTg2NWMtZmMzM2IyMmZlMzhhL3Jlc291cmNlR3JvdXBzL0Nvc21vc0RCUmVzb3VyY2VHcm91cDM2NjgvcHJvdmlkZXJzL01pY3Jvc29mdC5Eb2N1bWVudERCL2RhdGFiYXNlQWNjb3VudHMvZGIwMDMvbW9uZ29kYkRhdGFiYXNlcy9kYXRhYmFzZU5hbWUyMzY2OD9hcGktdmVyc2lvbj0yMDIxLTA2LTE1", "RequestMethod": "DELETE", "RequestBody": "", "RequestHeaders": { "x-ms-client-request-id": [ - "1344f468-d3b2-4b34-b0a4-53fe692140bd" + "9d4f2558-322e-49ba-846b-e907e043d736" ], "Accept-Language": [ "en-US" ], "User-Agent": [ - "FxVersion/4.6.29916.01", + "FxVersion/4.6.28207.03", "OSName/Windows", - "OSVersion/Microsoft.Windows.10.0.19042.", + "OSVersion/Microsoft.Windows.10.0.19043.", "Microsoft.Azure.Management.CosmosDB.CosmosDBManagementClient/3.0.0.0" ] }, @@ -165,19 +165,19 @@ "no-cache" ], "Location": [ - "https://management.azure.com/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/resourceGroups/CosmosDBResourceGroup3668/providers/Microsoft.DocumentDB/databaseAccounts/db8192/cassandraKeyspaces/keyspaceName2510/operationResults/6442daee-a2dd-4f02-9b3a-a73c49fcc4d4?api-version=2021-04-15" + "https://management.azure.com/subscriptions/259fbb24-9bcd-4cfc-865c-fc33b22fe38a/resourceGroups/CosmosDBResourceGroup3668/providers/Microsoft.DocumentDB/databaseAccounts/db003/mongodbDatabases/databaseName23668/operationResults/dde53b23-ff05-478e-81d8-ccc2e5f5f4e0?api-version=2021-06-15" ], "Azure-AsyncOperation": [ - "https://management.azure.com/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/providers/Microsoft.DocumentDB/locations/eastus2/operationsStatus/6442daee-a2dd-4f02-9b3a-a73c49fcc4d4?api-version=2021-04-15" + "https://management.azure.com/subscriptions/259fbb24-9bcd-4cfc-865c-fc33b22fe38a/providers/Microsoft.DocumentDB/locations/eastus2/operationsStatus/dde53b23-ff05-478e-81d8-ccc2e5f5f4e0?api-version=2021-06-15" ], "x-ms-request-id": [ - "6442daee-a2dd-4f02-9b3a-a73c49fcc4d4" + "dde53b23-ff05-478e-81d8-ccc2e5f5f4e0" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "x-ms-gatewayversion": [ - "version=2.11.0" + "version=2.14.0" ], "Server": [ "Microsoft-HTTPAPI/2.0" @@ -186,16 +186,16 @@ "14999" ], "x-ms-correlation-request-id": [ - "365d4c18-b99a-4f25-a706-b7fbda1e4444" + "df4e9d4b-4977-4f68-9f59-d9980b9ce3c7" ], "x-ms-routing-request-id": [ - "WESTCENTRALUS:20210427T174916Z:365d4c18-b99a-4f25-a706-b7fbda1e4444" + "WESTUS2:20210616T055737Z:df4e9d4b-4977-4f68-9f59-d9980b9ce3c7" ], "X-Content-Type-Options": [ "nosniff" ], "Date": [ - "Tue, 27 Apr 2021 17:49:15 GMT" + "Wed, 16 Jun 2021 05:57:36 GMT" ], "Content-Length": [ "21" @@ -208,21 +208,21 @@ "StatusCode": 202 }, { - "RequestUri": "/providers/Microsoft.DocumentDB/operations?api-version=2021-04-15", - "EncodedRequestUri": "L3Byb3ZpZGVycy9NaWNyb3NvZnQuRG9jdW1lbnREQi9vcGVyYXRpb25zP2FwaS12ZXJzaW9uPTIwMjEtMDQtMTU=", + "RequestUri": "/providers/Microsoft.DocumentDB/operations?api-version=2021-06-15", + "EncodedRequestUri": "L3Byb3ZpZGVycy9NaWNyb3NvZnQuRG9jdW1lbnREQi9vcGVyYXRpb25zP2FwaS12ZXJzaW9uPTIwMjEtMDYtMTU=", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { "x-ms-client-request-id": [ - "2d64201d-2071-4697-a6cf-8976cc741cd3" + "9f4818fa-aed4-4044-b604-45bbce440628" ], "Accept-Language": [ "en-US" ], "User-Agent": [ - "FxVersion/4.6.29916.01", + "FxVersion/4.6.28207.03", "OSName/Windows", - "OSVersion/Microsoft.Windows.10.0.19042.", + "OSVersion/Microsoft.Windows.10.0.19043.", "Microsoft.Azure.Management.CosmosDB.CosmosDBManagementClient/3.0.0.0" ] }, @@ -237,7 +237,7 @@ "max-age=31536000; includeSubDomains" ], "x-ms-gatewayversion": [ - "version=2.11.0" + "version=2.14.0" ], "Server": [ "Microsoft-HTTPAPI/2.0" @@ -246,33 +246,33 @@ "11999" ], "x-ms-request-id": [ - "6268cb56-48d1-421c-bc43-7671249e7587" + "b4e94851-dee8-41ef-85a6-d6362d985d57" ], "x-ms-correlation-request-id": [ - "6268cb56-48d1-421c-bc43-7671249e7587" + "b4e94851-dee8-41ef-85a6-d6362d985d57" ], "x-ms-routing-request-id": [ - "WESTCENTRALUS:20210427T174916Z:6268cb56-48d1-421c-bc43-7671249e7587" + "WESTUS2:20210616T055738Z:b4e94851-dee8-41ef-85a6-d6362d985d57" ], "X-Content-Type-Options": [ "nosniff" ], "Date": [ - "Tue, 27 Apr 2021 17:49:16 GMT" + "Wed, 16 Jun 2021 05:57:37 GMT" ], "Content-Length": [ - "144872" + "148931" ], "Content-Type": [ "application/json" ] }, - "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"name\": \"Microsoft.DocumentDB/databaseAccounts/sqlDatabases/write\",\r\n \"display\": {\r\n \"Provider\": \"Microsoft DocumentDB\",\r\n \"Resource\": \"SQL Database\",\r\n \"Operation\": \"Write SQL database\",\r\n \"Description\": \"Create a SQL database.\"\r\n }\r\n },\r\n {\r\n \"name\": \"Microsoft.DocumentDB/databaseAccounts/sqlDatabases/read\",\r\n \"display\": {\r\n \"Provider\": \"Microsoft DocumentDB\",\r\n \"Resource\": \"SQL Database\",\r\n \"Operation\": \"Read SQL database(s)\",\r\n \"Description\": \"Read a SQL database or list all the SQL databases.\"\r\n }\r\n },\r\n {\r\n \"name\": \"Microsoft.DocumentDB/databaseAccounts/sqlDatabases/delete\",\r\n \"display\": {\r\n \"Provider\": \"Microsoft DocumentDB\",\r\n \"Resource\": \"SQL Database\",\r\n \"Operation\": \"Delete SQL database\",\r\n \"Description\": \"Delete a SQL database.\"\r\n }\r\n },\r\n {\r\n \"name\": \"Microsoft.DocumentDB/databaseAccounts/sqlDatabases/operationResults/read\",\r\n \"display\": {\r\n \"Provider\": \"Microsoft DocumentDB\",\r\n \"Resource\": \"SQL Database\",\r\n \"Operation\": \"Read operation results\",\r\n \"Description\": \"Read status of the asynchronous operation.\"\r\n }\r\n },\r\n {\r\n \"name\": \"Microsoft.DocumentDB/databaseAccounts/sqlDatabases/containers/write\",\r\n \"display\": {\r\n \"Provider\": \"Microsoft DocumentDB\",\r\n \"Resource\": \"SQL Container\",\r\n \"Operation\": \"Write SQL container\",\r\n \"Description\": \"Create or update a SQL container.\"\r\n }\r\n },\r\n {\r\n \"name\": \"Microsoft.DocumentDB/databaseAccounts/sqlDatabases/containers/read\",\r\n \"display\": {\r\n \"Provider\": \"Microsoft DocumentDB\",\r\n \"Resource\": \"SQL Container\",\r\n \"Operation\": \"Read SQL container(s)\",\r\n \"Description\": \"Read a SQL container or list all the SQL containers.\"\r\n }\r\n },\r\n {\r\n \"name\": \"Microsoft.DocumentDB/databaseAccounts/sqlDatabases/containers/delete\",\r\n \"display\": {\r\n \"Provider\": \"Microsoft DocumentDB\",\r\n \"Resource\": \"SQL Container\",\r\n \"Operation\": \"Delete SQL container\",\r\n \"Description\": \"Delete a SQL container.\"\r\n }\r\n },\r\n {\r\n \"name\": \"Microsoft.DocumentDB/databaseAccounts/sqlDatabases/containers/operationResults/read\",\r\n \"display\": {\r\n \"Provider\": \"Microsoft DocumentDB\",\r\n \"Resource\": \"SQL Container\",\r\n \"Operation\": \"Read operation results\",\r\n \"Description\": \"Read status of the asynchronous operation.\"\r\n }\r\n },\r\n {\r\n \"name\": \"Microsoft.DocumentDB/databaseAccounts/sqlDatabases/containers/storedProcedures/write\",\r\n \"display\": {\r\n \"Provider\": \"Microsoft DocumentDB\",\r\n \"Resource\": \"SQL Stored Procedure\",\r\n \"Operation\": \"Write SQL stored procedure\",\r\n \"Description\": \"Create or update a SQL stored procedure.\"\r\n }\r\n },\r\n {\r\n \"name\": \"Microsoft.DocumentDB/databaseAccounts/sqlDatabases/containers/storedProcedures/read\",\r\n \"display\": {\r\n \"Provider\": \"Microsoft DocumentDB\",\r\n \"Resource\": \"SQL Stored Procedure\",\r\n \"Operation\": \"Read SQL stored procedure(s)\",\r\n \"Description\": \"Read a SQL stored procedure or list all the SQL stored procedures.\"\r\n }\r\n },\r\n {\r\n \"name\": \"Microsoft.DocumentDB/databaseAccounts/sqlDatabases/containers/storedProcedures/delete\",\r\n \"display\": {\r\n \"Provider\": \"Microsoft DocumentDB\",\r\n \"Resource\": \"SQL Stored Procedure\",\r\n \"Operation\": \"Delete SQL stored procedure\",\r\n \"Description\": \"Delete a SQL stored procedure.\"\r\n }\r\n },\r\n {\r\n \"name\": \"Microsoft.DocumentDB/databaseAccounts/sqlDatabases/containers/storedProcedures/operationResults/read\",\r\n \"display\": {\r\n \"Provider\": \"Microsoft DocumentDB\",\r\n \"Resource\": \"SQL Stored Procedure\",\r\n \"Operation\": \"Read operation results\",\r\n \"Description\": \"Read status of the asynchronous operation.\"\r\n }\r\n },\r\n {\r\n \"name\": \"Microsoft.DocumentDB/databaseAccounts/sqlDatabases/containers/userDefinedFunctions/write\",\r\n \"display\": {\r\n \"Provider\": \"Microsoft DocumentDB\",\r\n \"Resource\": \"SQL User Defined Function\",\r\n \"Operation\": \"Write SQL user defined function\",\r\n \"Description\": \"Create or update a SQL user defined function.\"\r\n }\r\n },\r\n {\r\n \"name\": \"Microsoft.DocumentDB/databaseAccounts/sqlDatabases/containers/userDefinedFunctions/read\",\r\n \"display\": {\r\n \"Provider\": \"Microsoft DocumentDB\",\r\n \"Resource\": \"SQL User Defined Function\",\r\n \"Operation\": \"Read SQL user defined function(s)\",\r\n \"Description\": \"Read a SQL user defined function or list all the SQL user defined functions.\"\r\n }\r\n },\r\n {\r\n \"name\": \"Microsoft.DocumentDB/databaseAccounts/sqlDatabases/containers/userDefinedFunctions/delete\",\r\n \"display\": {\r\n \"Provider\": \"Microsoft DocumentDB\",\r\n \"Resource\": \"SQL User Defined Function\",\r\n \"Operation\": \"Delete SQL user defined function\",\r\n \"Description\": \"Delete a SQL user defined function.\"\r\n }\r\n },\r\n {\r\n \"name\": \"Microsoft.DocumentDB/databaseAccounts/sqlDatabases/containers/userDefinedFunctions/operationResults/read\",\r\n \"display\": {\r\n \"Provider\": \"Microsoft DocumentDB\",\r\n \"Resource\": \"SQL User Defined Function\",\r\n \"Operation\": \"Read operation results\",\r\n \"Description\": \"Read status of the asynchronous operation.\"\r\n }\r\n },\r\n {\r\n \"name\": \"Microsoft.DocumentDB/databaseAccounts/sqlDatabases/containers/triggers/write\",\r\n \"display\": {\r\n \"Provider\": \"Microsoft DocumentDB\",\r\n \"Resource\": \"SQL Tirgger\",\r\n \"Operation\": \"Write SQL trigger\",\r\n \"Description\": \"Create or update a SQL trigger.\"\r\n }\r\n },\r\n {\r\n \"name\": \"Microsoft.DocumentDB/databaseAccounts/sqlDatabases/containers/triggers/read\",\r\n \"display\": {\r\n \"Provider\": \"Microsoft DocumentDB\",\r\n \"Resource\": \"SQL Tirgger\",\r\n \"Operation\": \"Read SQL trigger(s)\",\r\n \"Description\": \"Read a SQL trigger or list all the SQL triggers.\"\r\n }\r\n },\r\n {\r\n \"name\": \"Microsoft.DocumentDB/databaseAccounts/sqlDatabases/containers/triggers/delete\",\r\n \"display\": {\r\n \"Provider\": \"Microsoft DocumentDB\",\r\n \"Resource\": \"SQL Tirgger\",\r\n \"Operation\": \"Delete SQL trigger\",\r\n \"Description\": \"Delete a SQL trigger.\"\r\n }\r\n },\r\n {\r\n \"name\": \"Microsoft.DocumentDB/databaseAccounts/sqlDatabases/containers/triggers/operationResults/read\",\r\n \"display\": {\r\n \"Provider\": \"Microsoft DocumentDB\",\r\n \"Resource\": \"SQL Tirgger\",\r\n \"Operation\": \"Read operation results\",\r\n \"Description\": \"Read status of the asynchronous operation.\"\r\n }\r\n },\r\n {\r\n \"name\": \"Microsoft.DocumentDB/databaseAccounts/tables/write\",\r\n \"display\": {\r\n \"Provider\": \"Microsoft DocumentDB\",\r\n \"Resource\": \"Table\",\r\n \"Operation\": \"Write table\",\r\n \"Description\": \"Create or update a table.\"\r\n }\r\n },\r\n {\r\n \"name\": \"Microsoft.DocumentDB/databaseAccounts/tables/read\",\r\n \"display\": {\r\n \"Provider\": \"Microsoft DocumentDB\",\r\n \"Resource\": \"Table\",\r\n \"Operation\": \"Read table(s)\",\r\n \"Description\": \"Read a table or list all the tables.\"\r\n }\r\n },\r\n {\r\n \"name\": \"Microsoft.DocumentDB/databaseAccounts/tables/delete\",\r\n \"display\": {\r\n \"Provider\": \"Microsoft DocumentDB\",\r\n \"Resource\": \"Table\",\r\n \"Operation\": \"Delete table\",\r\n \"Description\": \"Delete a table.\"\r\n }\r\n },\r\n {\r\n \"name\": \"Microsoft.DocumentDB/databaseAccounts/tables/operationResults/read\",\r\n \"display\": {\r\n \"Provider\": \"Microsoft DocumentDB\",\r\n \"Resource\": \"Table\",\r\n \"Operation\": \"Read operation results\",\r\n \"Description\": \"Read status of the asynchronous operation.\"\r\n }\r\n },\r\n {\r\n \"name\": \"Microsoft.DocumentDB/databaseAccounts/mongodbDatabases/write\",\r\n \"display\": {\r\n \"Provider\": \"Microsoft DocumentDB\",\r\n \"Resource\": \"MongoDB Database\",\r\n \"Operation\": \"Write MongoDB database\",\r\n \"Description\": \"Create a MongoDB database.\"\r\n }\r\n },\r\n {\r\n \"name\": \"Microsoft.DocumentDB/databaseAccounts/mongodbDatabases/read\",\r\n \"display\": {\r\n \"Provider\": \"Microsoft DocumentDB\",\r\n \"Resource\": \"MongoDB Database\",\r\n \"Operation\": \"Read MongoDB database(s)\",\r\n \"Description\": \"Read a MongoDB database or list all the MongoDB databases.\"\r\n }\r\n },\r\n {\r\n \"name\": \"Microsoft.DocumentDB/databaseAccounts/mongodbDatabases/delete\",\r\n \"display\": {\r\n \"Provider\": \"Microsoft DocumentDB\",\r\n \"Resource\": \"MongoDB Database\",\r\n \"Operation\": \"Delete MongoDB database\",\r\n \"Description\": \"Delete a MongoDB database.\"\r\n }\r\n },\r\n {\r\n \"name\": \"Microsoft.DocumentDB/databaseAccounts/mongodbDatabases/operationResults/read\",\r\n \"display\": {\r\n \"Provider\": \"Microsoft DocumentDB\",\r\n \"Resource\": \"MongoDB Database\",\r\n \"Operation\": \"Read operation results\",\r\n \"Description\": \"Read status of the asynchronous operation.\"\r\n }\r\n },\r\n {\r\n \"name\": \"Microsoft.DocumentDB/databaseAccounts/mongodbDatabases/collections/write\",\r\n \"display\": {\r\n \"Provider\": \"Microsoft DocumentDB\",\r\n \"Resource\": \"MongoDB Collection\",\r\n \"Operation\": \"Write MongoDB collection\",\r\n \"Description\": \"Create or update a MongoDB collection.\"\r\n }\r\n },\r\n {\r\n \"name\": \"Microsoft.DocumentDB/databaseAccounts/mongodbDatabases/collections/read\",\r\n \"display\": {\r\n \"Provider\": \"Microsoft DocumentDB\",\r\n \"Resource\": \"MongoDB Collection\",\r\n \"Operation\": \"Read MongoDB collection(s)\",\r\n \"Description\": \"Read a MongoDB collection or list all the MongoDB collections.\"\r\n }\r\n },\r\n {\r\n \"name\": \"Microsoft.DocumentDB/databaseAccounts/mongodbDatabases/collections/delete\",\r\n \"display\": {\r\n \"Provider\": \"Microsoft DocumentDB\",\r\n \"Resource\": \"MongoDB Collection\",\r\n \"Operation\": \"Delete MongoDB collection\",\r\n \"Description\": \"Delete a MongoDB collection.\"\r\n }\r\n },\r\n {\r\n \"name\": \"Microsoft.DocumentDB/databaseAccounts/mongodbDatabases/collections/operationResults/read\",\r\n \"display\": {\r\n \"Provider\": \"Microsoft DocumentDB\",\r\n \"Resource\": \"MongoDB Collection\",\r\n \"Operation\": \"Read operation results\",\r\n \"Description\": \"Read status of the asynchronous operation.\"\r\n }\r\n },\r\n {\r\n \"name\": \"Microsoft.DocumentDB/databaseAccounts/cassandraKeyspaces/write\",\r\n \"display\": {\r\n \"Provider\": \"Microsoft DocumentDB\",\r\n \"Resource\": \"Cassandra Keyspace\",\r\n \"Operation\": \"Write Cassandra keyspace\",\r\n \"Description\": \"Create a Cassandra keyspace.\"\r\n }\r\n },\r\n {\r\n \"name\": \"Microsoft.DocumentDB/databaseAccounts/cassandraKeyspaces/read\",\r\n \"display\": {\r\n \"Provider\": \"Microsoft DocumentDB\",\r\n \"Resource\": \"Cassandra Keyspace\",\r\n \"Operation\": \"Read Cassandra keyspace(s)\",\r\n \"Description\": \"Read a Cassandra keyspace or list all the Cassandra keyspaces.\"\r\n }\r\n },\r\n {\r\n \"name\": \"Microsoft.DocumentDB/databaseAccounts/cassandraKeyspaces/delete\",\r\n \"display\": {\r\n \"Provider\": \"Microsoft DocumentDB\",\r\n \"Resource\": \"Cassandra Keyspace\",\r\n \"Operation\": \"Delete Cassandra keyspace\",\r\n \"Description\": \"Delete a Cassandra keyspace.\"\r\n }\r\n },\r\n {\r\n \"name\": \"Microsoft.DocumentDB/databaseAccounts/cassandraKeyspaces/operationResults/read\",\r\n \"display\": {\r\n \"Provider\": \"Microsoft DocumentDB\",\r\n \"Resource\": \"Cassandra Keyspace\",\r\n \"Operation\": \"Read operation results\",\r\n \"Description\": \"Read status of the asynchronous operation.\"\r\n }\r\n },\r\n {\r\n \"name\": \"Microsoft.DocumentDB/databaseAccounts/cassandraKeyspaces/tables/write\",\r\n \"display\": {\r\n \"Provider\": \"Microsoft DocumentDB\",\r\n \"Resource\": \"Cassandra Table\",\r\n \"Operation\": \"Write Cassandra table\",\r\n \"Description\": \"Create or update a Cassandra table.\"\r\n }\r\n },\r\n {\r\n \"name\": \"Microsoft.DocumentDB/databaseAccounts/cassandraKeyspaces/tables/read\",\r\n \"display\": {\r\n \"Provider\": \"Microsoft DocumentDB\",\r\n \"Resource\": \"Cassandra Table\",\r\n \"Operation\": \"Read Cassandra table(s)\",\r\n \"Description\": \"Read a Cassandra table or list all the Cassandra tables.\"\r\n }\r\n },\r\n {\r\n \"name\": \"Microsoft.DocumentDB/databaseAccounts/cassandraKeyspaces/tables/delete\",\r\n \"display\": {\r\n \"Provider\": \"Microsoft DocumentDB\",\r\n \"Resource\": \"Cassandra Table\",\r\n \"Operation\": \"Delete Cassandra table\",\r\n \"Description\": \"Delete a Cassandra table.\"\r\n }\r\n },\r\n {\r\n \"name\": \"Microsoft.DocumentDB/databaseAccounts/cassandraKeyspaces/tables/operationResults/read\",\r\n \"display\": {\r\n \"Provider\": \"Microsoft DocumentDB\",\r\n \"Resource\": \"Cassandra Table\",\r\n \"Operation\": \"Read operation results\",\r\n \"Description\": \"Read status of the asynchronous operation.\"\r\n }\r\n },\r\n {\r\n \"name\": \"Microsoft.DocumentDB/databaseAccounts/gremlinDatabases/write\",\r\n \"display\": {\r\n \"Provider\": \"Microsoft DocumentDB\",\r\n \"Resource\": \"Gremlin Database\",\r\n \"Operation\": \"Write Gremlin database\",\r\n \"Description\": \"Create a Gremlin database.\"\r\n }\r\n },\r\n {\r\n \"name\": \"Microsoft.DocumentDB/databaseAccounts/gremlinDatabases/read\",\r\n \"display\": {\r\n \"Provider\": \"Microsoft DocumentDB\",\r\n \"Resource\": \"Gremlin Database\",\r\n \"Operation\": \"Read Gremlin database(s)\",\r\n \"Description\": \"Read a Gremlin database or list all the Gremlin databases.\"\r\n }\r\n },\r\n {\r\n \"name\": \"Microsoft.DocumentDB/databaseAccounts/gremlinDatabases/delete\",\r\n \"display\": {\r\n \"Provider\": \"Microsoft DocumentDB\",\r\n \"Resource\": \"Gremlin Database\",\r\n \"Operation\": \"Delete Gremlin database\",\r\n \"Description\": \"Delete a Gremlin database.\"\r\n }\r\n },\r\n {\r\n \"name\": \"Microsoft.DocumentDB/databaseAccounts/gremlinDatabases/operationResults/read\",\r\n \"display\": {\r\n \"Provider\": \"Microsoft DocumentDB\",\r\n \"Resource\": \"Gremlin Database\",\r\n \"Operation\": \"Read operation results\",\r\n \"Description\": \"Read status of the asynchronous operation.\"\r\n }\r\n },\r\n {\r\n \"name\": \"Microsoft.DocumentDB/databaseAccounts/gremlinDatabases/graphs/write\",\r\n \"display\": {\r\n \"Provider\": \"Microsoft DocumentDB\",\r\n \"Resource\": \"Gremlin Graph\",\r\n \"Operation\": \"Write Gremlin graph\",\r\n \"Description\": \"Create or update a Gremlin graph.\"\r\n }\r\n },\r\n {\r\n \"name\": \"Microsoft.DocumentDB/databaseAccounts/gremlinDatabases/graphs/read\",\r\n \"display\": {\r\n \"Provider\": \"Microsoft DocumentDB\",\r\n \"Resource\": \"Gremlin Graph\",\r\n \"Operation\": \"Read Gremlin graph(s)\",\r\n \"Description\": \"Read a Gremlin graph or list all the Gremlin graphs.\"\r\n }\r\n },\r\n {\r\n \"name\": \"Microsoft.DocumentDB/databaseAccounts/gremlinDatabases/graphs/delete\",\r\n \"display\": {\r\n \"Provider\": \"Microsoft DocumentDB\",\r\n \"Resource\": \"Gremlin Graph\",\r\n \"Operation\": \"Delete Gremlin graph\",\r\n \"Description\": \"Delete a Gremlin graph.\"\r\n }\r\n },\r\n {\r\n \"name\": \"Microsoft.DocumentDB/databaseAccounts/gremlinDatabases/graphs/operationResults/read\",\r\n \"display\": {\r\n \"Provider\": \"Microsoft DocumentDB\",\r\n \"Resource\": \"Gremlin Graph\",\r\n \"Operation\": \"Read operation results\",\r\n \"Description\": \"Read status of the asynchronous operation.\"\r\n }\r\n },\r\n {\r\n \"name\": \"Microsoft.DocumentDB/databaseAccounts/sqlDatabases/throughputSettings/write\",\r\n \"display\": {\r\n \"Provider\": \"Microsoft DocumentDB\",\r\n \"Resource\": \"SQL Database throughput setting\",\r\n \"Operation\": \"Write SQL database throughput\",\r\n \"Description\": \"Update a SQL database throughput.\"\r\n }\r\n },\r\n {\r\n \"name\": \"Microsoft.DocumentDB/databaseAccounts/sqlDatabases/throughputSettings/read\",\r\n \"display\": {\r\n \"Provider\": \"Microsoft DocumentDB\",\r\n \"Resource\": \"SQL Database throughput setting\",\r\n \"Operation\": \"Read SQL database throughput\",\r\n \"Description\": \"Read a SQL database throughput.\"\r\n }\r\n },\r\n {\r\n \"name\": \"Microsoft.DocumentDB/databaseAccounts/sqlDatabases/throughputSettings/operationResults/read\",\r\n \"display\": {\r\n \"Provider\": \"Microsoft DocumentDB\",\r\n \"Resource\": \"SQL Database throughput setting\",\r\n \"Operation\": \"Read operation results\",\r\n \"Description\": \"Read status of the asynchronous operation.\"\r\n }\r\n },\r\n {\r\n \"name\": \"Microsoft.DocumentDB/databaseAccounts/sqlDatabases/throughputSettings/migrateToAutoscale/action\",\r\n \"display\": {\r\n \"Provider\": \"Microsoft DocumentDB\",\r\n \"Resource\": \"SQL Database throughput setting\",\r\n \"Operation\": \"Migrate SQL database offer to autoscale\",\r\n \"Description\": \"Migrate SQL database offer to autoscale.\"\r\n }\r\n },\r\n {\r\n \"name\": \"Microsoft.DocumentDB/databaseAccounts/sqlDatabases/throughputSettings/migrateToManualThroughput/action\",\r\n \"display\": {\r\n \"Provider\": \"Microsoft DocumentDB\",\r\n \"Resource\": \"SQL Database throughput setting\",\r\n \"Operation\": \"Migrate a SQL database throughput offer to manual throughput\",\r\n \"Description\": \"Migrate a SQL database throughput offer to manual throughput.\"\r\n }\r\n },\r\n {\r\n \"name\": \"Microsoft.DocumentDB/databaseAccounts/sqlDatabases/throughputSettings/migrateToAutoscale/operationResults/read\",\r\n \"display\": {\r\n \"Provider\": \"Microsoft DocumentDB\",\r\n \"Resource\": \"SQL Database throughput setting\",\r\n \"Operation\": \"Read operation results\",\r\n \"Description\": \"Read status of the asynchronous operation.\"\r\n }\r\n },\r\n {\r\n \"name\": \"Microsoft.DocumentDB/databaseAccounts/sqlDatabases/throughputSettings/migrateToManualThroughput/operationResults/read\",\r\n \"display\": {\r\n \"Provider\": \"Microsoft DocumentDB\",\r\n \"Resource\": \"SQL Database throughput setting\",\r\n \"Operation\": \"Read operation results\",\r\n \"Description\": \"Read status of the asynchronous operation.\"\r\n }\r\n },\r\n {\r\n \"name\": \"Microsoft.DocumentDB/databaseAccounts/sqlDatabases/containers/throughputSettings/write\",\r\n \"display\": {\r\n \"Provider\": \"Microsoft DocumentDB\",\r\n \"Resource\": \"SQL Container throughput setting\",\r\n \"Operation\": \"Write SQL container throughput\",\r\n \"Description\": \"Update a SQL container throughput.\"\r\n }\r\n },\r\n {\r\n \"name\": \"Microsoft.DocumentDB/databaseAccounts/sqlDatabases/containers/throughputSettings/read\",\r\n \"display\": {\r\n \"Provider\": \"Microsoft DocumentDB\",\r\n \"Resource\": \"SQL Container throughput setting\",\r\n \"Operation\": \"Read SQL container throughput\",\r\n \"Description\": \"Read a SQL container throughput.\"\r\n }\r\n },\r\n {\r\n \"name\": \"Microsoft.DocumentDB/databaseAccounts/sqlDatabases/containers/throughputSettings/operationResults/read\",\r\n \"display\": {\r\n \"Provider\": \"Microsoft DocumentDB\",\r\n \"Resource\": \"SQL Container throughput setting\",\r\n \"Operation\": \"Read operation results\",\r\n \"Description\": \"Read status of the asynchronous operation.\"\r\n }\r\n },\r\n {\r\n \"name\": \"Microsoft.DocumentDB/databaseAccounts/sqlDatabases/containers/throughputSettings/migrateToAutoscale/action\",\r\n \"display\": {\r\n \"Provider\": \"Microsoft DocumentDB\",\r\n \"Resource\": \"SQL Container throughput setting\",\r\n \"Operation\": \"Migrate SQL container offer to autoscale\",\r\n \"Description\": \"Migrate SQL container offer to autoscale.\"\r\n }\r\n },\r\n {\r\n \"name\": \"Microsoft.DocumentDB/databaseAccounts/sqlDatabases/containers/throughputSettings/migrateToManualThroughput/action\",\r\n \"display\": {\r\n \"Provider\": \"Microsoft DocumentDB\",\r\n \"Resource\": \"SQL Container throughput setting\",\r\n \"Operation\": \"Migrate a SQL database throughput offer to manual throughput\",\r\n \"Description\": \"Migrate a SQL database throughput offer to manual throughput.\"\r\n }\r\n },\r\n {\r\n \"name\": \"Microsoft.DocumentDB/databaseAccounts/sqlDatabases/containers/throughputSettings/migrateToAutoscale/operationResults/read\",\r\n \"display\": {\r\n \"Provider\": \"Microsoft DocumentDB\",\r\n \"Resource\": \"SQL Container throughput setting\",\r\n \"Operation\": \"Read operation results\",\r\n \"Description\": \"Read status of the asynchronous operation.\"\r\n }\r\n },\r\n {\r\n \"name\": \"Microsoft.DocumentDB/databaseAccounts/sqlDatabases/containers/throughputSettings/migrateToManualThroughput/operationResults/read\",\r\n \"display\": {\r\n \"Provider\": \"Microsoft DocumentDB\",\r\n \"Resource\": \"SQL Container throughput setting\",\r\n \"Operation\": \"Read operation results\",\r\n \"Description\": \"Read status of the asynchronous operation.\"\r\n }\r\n },\r\n {\r\n \"name\": \"Microsoft.DocumentDB/databaseAccounts/tables/throughputSettings/write\",\r\n \"display\": {\r\n \"Provider\": \"Microsoft DocumentDB\",\r\n \"Resource\": \"Table throughput setting\",\r\n \"Operation\": \"Write table throughput\",\r\n \"Description\": \"Update a table throughput.\"\r\n }\r\n },\r\n {\r\n \"name\": \"Microsoft.DocumentDB/databaseAccounts/tables/throughputSettings/read\",\r\n \"display\": {\r\n \"Provider\": \"Microsoft DocumentDB\",\r\n \"Resource\": \"Table throughput setting\",\r\n \"Operation\": \"Read table throughput\",\r\n \"Description\": \"Read a table throughput.\"\r\n }\r\n },\r\n {\r\n \"name\": \"Microsoft.DocumentDB/databaseAccounts/tables/throughputSettings/operationResults/read\",\r\n \"display\": {\r\n \"Provider\": \"Microsoft DocumentDB\",\r\n \"Resource\": \"Table throughput setting\",\r\n \"Operation\": \"Read operation results\",\r\n \"Description\": \"Read status of the asynchronous operation.\"\r\n }\r\n },\r\n {\r\n \"name\": \"Microsoft.DocumentDB/databaseAccounts/tables/throughputSettings/migrateToAutoscale/action\",\r\n \"display\": {\r\n \"Provider\": \"Microsoft DocumentDB\",\r\n \"Resource\": \"Table throughput setting\",\r\n \"Operation\": \"Migrate table offer to autoscale\",\r\n \"Description\": \"Migrate table offer to autoscale.\"\r\n }\r\n },\r\n {\r\n \"name\": \"Microsoft.DocumentDB/databaseAccounts/tables/throughputSettings/migrateToManualThroughput/action\",\r\n \"display\": {\r\n \"Provider\": \"Microsoft DocumentDB\",\r\n \"Resource\": \"Table throughput setting\",\r\n \"Operation\": \"Migrate table offer to to manual throughput\",\r\n \"Description\": \"Migrate table offer to to manual throughput.\"\r\n }\r\n },\r\n {\r\n \"name\": \"Microsoft.DocumentDB/databaseAccounts/tables/throughputSettings/migrateToAutoscale/operationResults/read\",\r\n \"display\": {\r\n \"Provider\": \"Microsoft DocumentDB\",\r\n \"Resource\": \"Table throughput setting\",\r\n \"Operation\": \"Read operation results\",\r\n \"Description\": \"Read status of the asynchronous operation.\"\r\n }\r\n },\r\n {\r\n \"name\": \"Microsoft.DocumentDB/databaseAccounts/tables/throughputSettings/migrateToManualThroughput/operationResults/read\",\r\n \"display\": {\r\n \"Provider\": \"Microsoft DocumentDB\",\r\n \"Resource\": \"Table throughput setting\",\r\n \"Operation\": \"Read operation results\",\r\n \"Description\": \"Read status of the asynchronous operation.\"\r\n }\r\n },\r\n {\r\n \"name\": \"Microsoft.DocumentDB/databaseAccounts/mongodbDatabases/throughputSettings/write\",\r\n \"display\": {\r\n \"Provider\": \"Microsoft DocumentDB\",\r\n \"Resource\": \"MongoDB Database throughput setting\",\r\n \"Operation\": \"Write MongoDB database throughput\",\r\n \"Description\": \"Update a MongoDB database throughput.\"\r\n }\r\n },\r\n {\r\n \"name\": \"Microsoft.DocumentDB/databaseAccounts/mongodbDatabases/throughputSettings/read\",\r\n \"display\": {\r\n \"Provider\": \"Microsoft DocumentDB\",\r\n \"Resource\": \"MongoDB Database throughput setting\",\r\n \"Operation\": \"Read MongoDB database throughput\",\r\n \"Description\": \"Read a MongoDB database throughput.\"\r\n }\r\n },\r\n {\r\n \"name\": \"Microsoft.DocumentDB/databaseAccounts/mongodbDatabases/throughputSettings/operationResults/read\",\r\n \"display\": {\r\n \"Provider\": \"Microsoft DocumentDB\",\r\n \"Resource\": \"MongoDB Database throughput setting\",\r\n \"Operation\": \"Read operation results\",\r\n \"Description\": \"Read status of the asynchronous operation.\"\r\n }\r\n },\r\n {\r\n \"name\": \"Microsoft.DocumentDB/databaseAccounts/mongodbDatabases/throughputSettings/migrateToAutoscale/action\",\r\n \"display\": {\r\n \"Provider\": \"Microsoft DocumentDB\",\r\n \"Resource\": \"MongoDB Database throughput setting\",\r\n \"Operation\": \"Migrate MongoDB database offer to autoscale\",\r\n \"Description\": \"Migrate MongoDB database offer to autoscale.\"\r\n }\r\n },\r\n {\r\n \"name\": \"Microsoft.DocumentDB/databaseAccounts/mongodbDatabases/throughputSettings/migrateToManualThroughput/action\",\r\n \"display\": {\r\n \"Provider\": \"Microsoft DocumentDB\",\r\n \"Resource\": \"MongoDB Database throughput setting\",\r\n \"Operation\": \"Migrate MongoDB database offer to to manual throughput\",\r\n \"Description\": \"Migrate MongoDB database offer to to manual throughput.\"\r\n }\r\n },\r\n {\r\n \"name\": \"Microsoft.DocumentDB/databaseAccounts/mongodbDatabases/throughputSettings/migrateToAutoscale/operationResults/read\",\r\n \"display\": {\r\n \"Provider\": \"Microsoft DocumentDB\",\r\n \"Resource\": \"MongoDB Database throughput setting\",\r\n \"Operation\": \"Read operation results\",\r\n \"Description\": \"Read status of the asynchronous operation.\"\r\n }\r\n },\r\n {\r\n \"name\": \"Microsoft.DocumentDB/databaseAccounts/mongodbDatabases/throughputSettings/migrateToManualThroughput/operationResults/read\",\r\n \"display\": {\r\n \"Provider\": \"Microsoft DocumentDB\",\r\n \"Resource\": \"MongoDB Database throughput setting\",\r\n \"Operation\": \"Read operation results\",\r\n \"Description\": \"Read status of the asynchronous operation.\"\r\n }\r\n },\r\n {\r\n \"name\": \"Microsoft.DocumentDB/databaseAccounts/mongodbDatabases/collections/throughputSettings/write\",\r\n \"display\": {\r\n \"Provider\": \"Microsoft DocumentDB\",\r\n \"Resource\": \"MongoDB Collection throughput setting\",\r\n \"Operation\": \"Write MongoDB collection throughput\",\r\n \"Description\": \"Update a MongoDB collection throughput.\"\r\n }\r\n },\r\n {\r\n \"name\": \"Microsoft.DocumentDB/databaseAccounts/mongodbDatabases/collections/throughputSettings/read\",\r\n \"display\": {\r\n \"Provider\": \"Microsoft DocumentDB\",\r\n \"Resource\": \"MongoDB Collection throughput setting\",\r\n \"Operation\": \"Read MongoDB collection throughput\",\r\n \"Description\": \"Read a MongoDB collection throughput.\"\r\n }\r\n },\r\n {\r\n \"name\": \"Microsoft.DocumentDB/databaseAccounts/mongodbDatabases/collections/throughputSettings/operationResults/read\",\r\n \"display\": {\r\n \"Provider\": \"Microsoft DocumentDB\",\r\n \"Resource\": \"MongoDB Collection throughput setting\",\r\n \"Operation\": \"Read operation results\",\r\n \"Description\": \"Read status of the asynchronous operation.\"\r\n }\r\n },\r\n {\r\n \"name\": \"Microsoft.DocumentDB/databaseAccounts/mongodbDatabases/collections/throughputSettings/migrateToAutoscale/action\",\r\n \"display\": {\r\n \"Provider\": \"Microsoft DocumentDB\",\r\n \"Resource\": \"MongoDB collection throughput setting\",\r\n \"Operation\": \"Migrate MongoDB collection offer to autoscale\",\r\n \"Description\": \"Migrate MongoDB collection offer to autoscale.\"\r\n }\r\n },\r\n {\r\n \"name\": \"Microsoft.DocumentDB/databaseAccounts/mongodbDatabases/collections/throughputSettings/migrateToManualThroughput/action\",\r\n \"display\": {\r\n \"Provider\": \"Microsoft DocumentDB\",\r\n \"Resource\": \"MongoDB collection throughput setting\",\r\n \"Operation\": \"Migrate MongoDB collection offer to to manual throughput\",\r\n \"Description\": \"Migrate MongoDB collection offer to to manual throughput.\"\r\n }\r\n },\r\n {\r\n \"name\": \"Microsoft.DocumentDB/databaseAccounts/mongodbDatabases/collections/throughputSettings/migrateToAutoscale/operationResults/read\",\r\n \"display\": {\r\n \"Provider\": \"Microsoft DocumentDB\",\r\n \"Resource\": \"MongoDB collection throughput setting\",\r\n \"Operation\": \"Read operation results\",\r\n \"Description\": \"Read status of the asynchronous operation.\"\r\n }\r\n },\r\n {\r\n \"name\": \"Microsoft.DocumentDB/databaseAccounts/mongodbDatabases/collections/throughputSettings/migrateToManualThroughput/operationResults/read\",\r\n \"display\": {\r\n \"Provider\": \"Microsoft DocumentDB\",\r\n \"Resource\": \"MongoDB collection throughput setting\",\r\n \"Operation\": \"Read operation results\",\r\n \"Description\": \"Read status of the asynchronous operation.\"\r\n }\r\n },\r\n {\r\n \"name\": \"Microsoft.DocumentDB/databaseAccounts/cassandraKeyspaces/throughputSettings/write\",\r\n \"display\": {\r\n \"Provider\": \"Microsoft DocumentDB\",\r\n \"Resource\": \"Cassandra Keyspace throughput setting\",\r\n \"Operation\": \"Write Cassandra keyspace throughput\",\r\n \"Description\": \"Update a Cassandra keyspace throughput.\"\r\n }\r\n },\r\n {\r\n \"name\": \"Microsoft.DocumentDB/databaseAccounts/cassandraKeyspaces/throughputSettings/read\",\r\n \"display\": {\r\n \"Provider\": \"Microsoft DocumentDB\",\r\n \"Resource\": \"Cassandra Keyspace throughput setting\",\r\n \"Operation\": \"Read Cassandra keyspace throughput\",\r\n \"Description\": \"Read a Cassandra keyspace throughput.\"\r\n }\r\n },\r\n {\r\n \"name\": \"Microsoft.DocumentDB/databaseAccounts/cassandraKeyspaces/throughputSettings/operationResults/read\",\r\n \"display\": {\r\n \"Provider\": \"Microsoft DocumentDB\",\r\n \"Resource\": \"Cassandra Keyspace throughput setting\",\r\n \"Operation\": \"Read operation results\",\r\n \"Description\": \"Read status of the asynchronous operation.\"\r\n }\r\n },\r\n {\r\n \"name\": \"Microsoft.DocumentDB/databaseAccounts/cassandraKeyspaces/throughputSettings/migrateToAutoscale/action\",\r\n \"display\": {\r\n \"Provider\": \"Microsoft DocumentDB\",\r\n \"Resource\": \"Cassandra keyspace throughput setting\",\r\n \"Operation\": \"Migrate Cassandra keyspace offer to autoscale\",\r\n \"Description\": \"Migrate Cassandra keyspace offer to autoscale.\"\r\n }\r\n },\r\n {\r\n \"name\": \"Microsoft.DocumentDB/databaseAccounts/cassandraKeyspaces/throughputSettings/migrateToManualThroughput/action\",\r\n \"display\": {\r\n \"Provider\": \"Microsoft DocumentDB\",\r\n \"Resource\": \"Cassandra keyspace throughput setting\",\r\n \"Operation\": \"Migrate Cassandra keyspace offer to to manual throughput\",\r\n \"Description\": \"Migrate Cassandra keyspace offer to to manual throughput.\"\r\n }\r\n },\r\n {\r\n \"name\": \"Microsoft.DocumentDB/databaseAccounts/cassandraKeyspaces/throughputSettings/migrateToAutoscale/operationResults/read\",\r\n \"display\": {\r\n \"Provider\": \"Microsoft DocumentDB\",\r\n \"Resource\": \"Cassandra keyspace throughput setting\",\r\n \"Operation\": \"Read operation results\",\r\n \"Description\": \"Read status of the asynchronous operation.\"\r\n }\r\n },\r\n {\r\n \"name\": \"Microsoft.DocumentDB/databaseAccounts/cassandraKeyspaces/throughputSettings/migrateToManualThroughput/operationResults/read\",\r\n \"display\": {\r\n \"Provider\": \"Microsoft DocumentDB\",\r\n \"Resource\": \"Cassandra keyspace throughput setting\",\r\n \"Operation\": \"Read operation results\",\r\n \"Description\": \"Read status of the asynchronous operation.\"\r\n }\r\n },\r\n {\r\n \"name\": \"Microsoft.DocumentDB/databaseAccounts/cassandraKeyspaces/tables/throughputSettings/write\",\r\n \"display\": {\r\n \"Provider\": \"Microsoft DocumentDB\",\r\n \"Resource\": \"Cassandra Table throughput setting\",\r\n \"Operation\": \"Write Cassandra table throughput\",\r\n \"Description\": \"Update a Cassandra table throughput.\"\r\n }\r\n },\r\n {\r\n \"name\": \"Microsoft.DocumentDB/databaseAccounts/cassandraKeyspaces/tables/throughputSettings/read\",\r\n \"display\": {\r\n \"Provider\": \"Microsoft DocumentDB\",\r\n \"Resource\": \"Cassandra Table throughput setting\",\r\n \"Operation\": \"Read Cassandra table throughput\",\r\n \"Description\": \"Read a Cassandra table throughput.\"\r\n }\r\n },\r\n {\r\n \"name\": \"Microsoft.DocumentDB/databaseAccounts/cassandraKeyspaces/tables/throughputSettings/operationResults/read\",\r\n \"display\": {\r\n \"Provider\": \"Microsoft DocumentDB\",\r\n \"Resource\": \"Cassandra Table throughput setting\",\r\n \"Operation\": \"Read operation results\",\r\n \"Description\": \"Read status of the asynchronous operation.\"\r\n }\r\n },\r\n {\r\n \"name\": \"Microsoft.DocumentDB/databaseAccounts/cassandraKeyspaces/tables/throughputSettings/migrateToAutoscale/action\",\r\n \"display\": {\r\n \"Provider\": \"Microsoft DocumentDB\",\r\n \"Resource\": \"Cassandra table throughput setting\",\r\n \"Operation\": \"Migrate Cassandra table offer to autoscale\",\r\n \"Description\": \"Migrate Cassandra table offer to autoscale.\"\r\n }\r\n },\r\n {\r\n \"name\": \"Microsoft.DocumentDB/databaseAccounts/cassandraKeyspaces/tables/throughputSettings/migrateToManualThroughput/action\",\r\n \"display\": {\r\n \"Provider\": \"Microsoft DocumentDB\",\r\n \"Resource\": \"Cassandra table throughput setting\",\r\n \"Operation\": \"Migrate Cassandra table offer to to manual throughput\",\r\n \"Description\": \"Migrate Cassandra table offer to to manual throughput.\"\r\n }\r\n },\r\n {\r\n \"name\": \"Microsoft.DocumentDB/databaseAccounts/cassandraKeyspaces/tables/throughputSettings/migrateToAutoscale/operationResults/read\",\r\n \"display\": {\r\n \"Provider\": \"Microsoft DocumentDB\",\r\n \"Resource\": \"Cassandra table throughput setting\",\r\n \"Operation\": \"Read operation results\",\r\n \"Description\": \"Read status of the asynchronous operation.\"\r\n }\r\n },\r\n {\r\n \"name\": \"Microsoft.DocumentDB/databaseAccounts/cassandraKeyspaces/tables/throughputSettings/migrateToManualThroughput/operationResults/read\",\r\n \"display\": {\r\n \"Provider\": \"Microsoft DocumentDB\",\r\n \"Resource\": \"Cassandra table throughput setting\",\r\n \"Operation\": \"Read operation results\",\r\n \"Description\": \"Read status of the asynchronous operation.\"\r\n }\r\n },\r\n {\r\n \"name\": \"Microsoft.DocumentDB/databaseAccounts/gremlinDatabases/throughputSettings/write\",\r\n \"display\": {\r\n \"Provider\": \"Microsoft DocumentDB\",\r\n \"Resource\": \"Gremlin Database throughput setting\",\r\n \"Operation\": \"Write Gremlin database throughput\",\r\n \"Description\": \"Update a Gremlin database throughput.\"\r\n }\r\n },\r\n {\r\n \"name\": \"Microsoft.DocumentDB/databaseAccounts/gremlinDatabases/throughputSettings/read\",\r\n \"display\": {\r\n \"Provider\": \"Microsoft DocumentDB\",\r\n \"Resource\": \"Gremlin Database throughput setting\",\r\n \"Operation\": \"Read Gremlin database throughput\",\r\n \"Description\": \"Read a Gremlin database throughput.\"\r\n }\r\n },\r\n {\r\n \"name\": \"Microsoft.DocumentDB/databaseAccounts/gremlinDatabases/throughputSettings/operationResults/read\",\r\n \"display\": {\r\n \"Provider\": \"Microsoft DocumentDB\",\r\n \"Resource\": \"Gremlin Database throughput setting\",\r\n \"Operation\": \"Read operation results\",\r\n \"Description\": \"Read status of the asynchronous operation.\"\r\n }\r\n },\r\n {\r\n \"name\": \"Microsoft.DocumentDB/databaseAccounts/gremlinDatabases/throughputSettings/migrateToAutoscale/action\",\r\n \"display\": {\r\n \"Provider\": \"Microsoft DocumentDB\",\r\n \"Resource\": \"Gremlin Database throughput setting\",\r\n \"Operation\": \"Migrate Gremlin Database offer to autoscale\",\r\n \"Description\": \"Migrate Gremlin Database offer to autoscale.\"\r\n }\r\n },\r\n {\r\n \"name\": \"Microsoft.DocumentDB/databaseAccounts/gremlinDatabases/throughputSettings/migrateToManualThroughput/action\",\r\n \"display\": {\r\n \"Provider\": \"Microsoft DocumentDB\",\r\n \"Resource\": \"Gremlin Database throughput setting\",\r\n \"Operation\": \"Migrate Gremlin Database offer to to manual throughput\",\r\n \"Description\": \"Migrate Gremlin Database offer to to manual throughput.\"\r\n }\r\n },\r\n {\r\n \"name\": \"Microsoft.DocumentDB/databaseAccounts/gremlinDatabases/throughputSettings/migrateToAutoscale/operationResults/read\",\r\n \"display\": {\r\n \"Provider\": \"Microsoft DocumentDB\",\r\n \"Resource\": \"Gremlin Database throughput setting\",\r\n \"Operation\": \"Read operation results\",\r\n \"Description\": \"Read status of the asynchronous operation.\"\r\n }\r\n },\r\n {\r\n \"name\": \"Microsoft.DocumentDB/databaseAccounts/gremlinDatabases/throughputSettings/migrateToManualThroughput/operationResults/read\",\r\n \"display\": {\r\n \"Provider\": \"Microsoft DocumentDB\",\r\n \"Resource\": \"Gremlin Database throughput setting\",\r\n \"Operation\": \"Read operation results\",\r\n \"Description\": \"Read status of the asynchronous operation.\"\r\n }\r\n },\r\n {\r\n \"name\": \"Microsoft.DocumentDB/databaseAccounts/gremlinDatabases/graphs/throughputSettings/write\",\r\n \"display\": {\r\n \"Provider\": \"Microsoft DocumentDB\",\r\n \"Resource\": \"Gremlin Graph throughput setting\",\r\n \"Operation\": \"Write Gremlin graph throughput\",\r\n \"Description\": \"Update a Gremlin graph throughput.\"\r\n }\r\n },\r\n {\r\n \"name\": \"Microsoft.DocumentDB/databaseAccounts/gremlinDatabases/graphs/throughputSettings/read\",\r\n \"display\": {\r\n \"Provider\": \"Microsoft DocumentDB\",\r\n \"Resource\": \"Gremlin Graph throughput setting\",\r\n \"Operation\": \"Read Gremlin graph throughput\",\r\n \"Description\": \"Read a Gremlin graph throughput.\"\r\n }\r\n },\r\n {\r\n \"name\": \"Microsoft.DocumentDB/databaseAccounts/gremlinDatabases/graphs/throughputSettings/operationResults/read\",\r\n \"display\": {\r\n \"Provider\": \"Microsoft DocumentDB\",\r\n \"Resource\": \"Gremlin Graph throughput setting\",\r\n \"Operation\": \"Read operation results\",\r\n \"Description\": \"Read status of the asynchronous operation.\"\r\n }\r\n },\r\n {\r\n \"name\": \"Microsoft.DocumentDB/databaseAccounts/gremlinDatabases/graphs/throughputSettings/migrateToAutoscale/action\",\r\n \"display\": {\r\n \"Provider\": \"Microsoft DocumentDB\",\r\n \"Resource\": \"Gremlin graph throughput setting\",\r\n \"Operation\": \"Migrate Gremlin graph offer to autoscale\",\r\n \"Description\": \"Migrate Gremlin graph offer to autoscale.\"\r\n }\r\n },\r\n {\r\n \"name\": \"Microsoft.DocumentDB/databaseAccounts/gremlinDatabases/graphs/throughputSettings/migrateToManualThroughput/action\",\r\n \"display\": {\r\n \"Provider\": \"Microsoft DocumentDB\",\r\n \"Resource\": \"Gremlin graph throughput setting\",\r\n \"Operation\": \"Migrate Gremlin graph offer to to manual throughput\",\r\n \"Description\": \"Migrate Gremlin graph offer to to manual throughput.\"\r\n }\r\n },\r\n {\r\n \"name\": \"Microsoft.DocumentDB/databaseAccounts/gremlinDatabases/graphs/throughputSettings/migrateToAutoscale/operationResults/read\",\r\n \"display\": {\r\n \"Provider\": \"Microsoft DocumentDB\",\r\n \"Resource\": \"Gremlin graph throughput setting\",\r\n \"Operation\": \"Read operation results\",\r\n \"Description\": \"Read status of the asynchronous operation.\"\r\n }\r\n },\r\n {\r\n \"name\": \"Microsoft.DocumentDB/databaseAccounts/gremlinDatabases/graphs/throughputSettings/migrateToManualThroughput/operationResults/read\",\r\n \"display\": {\r\n \"Provider\": \"Microsoft DocumentDB\",\r\n \"Resource\": \"Gremlin graph throughput setting\",\r\n \"Operation\": \"Read operation results\",\r\n \"Description\": \"Read status of the asynchronous operation.\"\r\n }\r\n },\r\n {\r\n \"name\": \"Microsoft.DocumentDB/databaseAccounts/apis/databases/write\",\r\n \"display\": {\r\n \"Provider\": \"Microsoft DocumentDB\",\r\n \"Resource\": \"Database\",\r\n \"Operation\": \"(Deprecated. Please use resource paths without '/apis/' segment) Write database\",\r\n \"Description\": \"(Deprecated. Please use resource paths without '/apis/' segment) Create a database. Only applicable to API types: 'sql', 'mongodb', 'gremlin'.\"\r\n }\r\n },\r\n {\r\n \"name\": \"Microsoft.DocumentDB/databaseAccounts/apis/databases/read\",\r\n \"display\": {\r\n \"Provider\": \"Microsoft DocumentDB\",\r\n \"Resource\": \"Database\",\r\n \"Operation\": \"(Deprecated. Please use resource paths without '/apis/' segment) Read database(s)\",\r\n \"Description\": \"(Deprecated. Please use resource paths without '/apis/' segment) Read a database or list all the databases. Only applicable to API types: 'sql', 'mongodb', 'gremlin'.\"\r\n }\r\n },\r\n {\r\n \"name\": \"Microsoft.DocumentDB/databaseAccounts/apis/databases/delete\",\r\n \"display\": {\r\n \"Provider\": \"Microsoft DocumentDB\",\r\n \"Resource\": \"Database\",\r\n \"Operation\": \"(Deprecated. Please use resource paths without '/apis/' segment) Delete database\",\r\n \"Description\": \"(Deprecated. Please use resource paths without '/apis/' segment) Delete a database. Only applicable to API types: 'sql', 'mongodb', 'gremlin'.\"\r\n }\r\n },\r\n {\r\n \"name\": \"Microsoft.DocumentDB/databaseAccounts/apis/databases/operationResults/read\",\r\n \"display\": {\r\n \"Provider\": \"Microsoft DocumentDB\",\r\n \"Resource\": \"Database\",\r\n \"Operation\": \"(Deprecated. Please use resource paths without '/apis/' segment) Read operation results\",\r\n \"Description\": \"(Deprecated. Please use resource paths without '/apis/' segment) Read status of the asynchronous operation. Only applicable to API types: 'sql', 'mongodb', 'gremlin'.\"\r\n }\r\n },\r\n {\r\n \"name\": \"Microsoft.DocumentDB/databaseAccounts/apis/databases/containers/write\",\r\n \"display\": {\r\n \"Provider\": \"Microsoft DocumentDB\",\r\n \"Resource\": \"Container\",\r\n \"Operation\": \"(Deprecated. Please use resource paths without '/apis/' segment) Write container\",\r\n \"Description\": \"(Deprecated. Please use resource paths without '/apis/' segment) Create or update a container. Only applicable to API types: 'sql'.\"\r\n }\r\n },\r\n {\r\n \"name\": \"Microsoft.DocumentDB/databaseAccounts/apis/databases/containers/read\",\r\n \"display\": {\r\n \"Provider\": \"Microsoft DocumentDB\",\r\n \"Resource\": \"Container\",\r\n \"Operation\": \"(Deprecated. Please use resource paths without '/apis/' segment) Read container(s)\",\r\n \"Description\": \"(Deprecated. Please use resource paths without '/apis/' segment) Read a container or list all the containers. Only applicable to API types: 'sql'.\"\r\n }\r\n },\r\n {\r\n \"name\": \"Microsoft.DocumentDB/databaseAccounts/apis/databases/containers/delete\",\r\n \"display\": {\r\n \"Provider\": \"Microsoft DocumentDB\",\r\n \"Resource\": \"Container\",\r\n \"Operation\": \"(Deprecated. Please use resource paths without '/apis/' segment) Delete container\",\r\n \"Description\": \"(Deprecated. Please use resource paths without '/apis/' segment) Delete a container. Only applicable to API types: 'sql'.\"\r\n }\r\n },\r\n {\r\n \"name\": \"Microsoft.DocumentDB/databaseAccounts/apis/databases/containers/operationResults/read\",\r\n \"display\": {\r\n \"Provider\": \"Microsoft DocumentDB\",\r\n \"Resource\": \"Container\",\r\n \"Operation\": \"(Deprecated. Please use resource paths without '/apis/' segment) Read operation results\",\r\n \"Description\": \"(Deprecated. Please use resource paths without '/apis/' segment) Read status of the asynchronous operation. Only applicable to API types: 'sql'.\"\r\n }\r\n },\r\n {\r\n \"name\": \"Microsoft.DocumentDB/databaseAccounts/apis/tables/write\",\r\n \"display\": {\r\n \"Provider\": \"Microsoft DocumentDB\",\r\n \"Resource\": \"Table\",\r\n \"Operation\": \"(Deprecated. Please use resource paths without '/apis/' segment) Write table\",\r\n \"Description\": \"(Deprecated. Please use resource paths without '/apis/' segment) Create or update a table. Only applicable to API types: 'table'.\"\r\n }\r\n },\r\n {\r\n \"name\": \"Microsoft.DocumentDB/databaseAccounts/apis/tables/read\",\r\n \"display\": {\r\n \"Provider\": \"Microsoft DocumentDB\",\r\n \"Resource\": \"Table\",\r\n \"Operation\": \"(Deprecated. Please use resource paths without '/apis/' segment) Read table(s)\",\r\n \"Description\": \"(Deprecated. Please use resource paths without '/apis/' segment) Read a table or list all the tables. Only applicable to API types: 'table'.\"\r\n }\r\n },\r\n {\r\n \"name\": \"Microsoft.DocumentDB/databaseAccounts/apis/tables/delete\",\r\n \"display\": {\r\n \"Provider\": \"Microsoft DocumentDB\",\r\n \"Resource\": \"Table\",\r\n \"Operation\": \"(Deprecated. Please use resource paths without '/apis/' segment) Delete table\",\r\n \"Description\": \"(Deprecated. Please use resource paths without '/apis/' segment) Delete a table. Only applicable to API types: 'table'.\"\r\n }\r\n },\r\n {\r\n \"name\": \"Microsoft.DocumentDB/databaseAccounts/apis/tables/operationResults/read\",\r\n \"display\": {\r\n \"Provider\": \"Microsoft DocumentDB\",\r\n \"Resource\": \"Table\",\r\n \"Operation\": \"(Deprecated. Please use resource paths without '/apis/' segment) Read operation results\",\r\n \"Description\": \"(Deprecated. Please use resource paths without '/apis/' segment) Read status of the asynchronous operation. Only applicable to API types: 'table'.\"\r\n }\r\n },\r\n {\r\n \"name\": \"Microsoft.DocumentDB/databaseAccounts/apis/databases/collections/write\",\r\n \"display\": {\r\n \"Provider\": \"Microsoft DocumentDB\",\r\n \"Resource\": \"Collection\",\r\n \"Operation\": \"(Deprecated. Please use resource paths without '/apis/' segment) Write collection\",\r\n \"Description\": \"(Deprecated. Please use resource paths without '/apis/' segment) Create or update a collection. Only applicable to API types: 'mongodb'.\"\r\n }\r\n },\r\n {\r\n \"name\": \"Microsoft.DocumentDB/databaseAccounts/apis/databases/collections/read\",\r\n \"display\": {\r\n \"Provider\": \"Microsoft DocumentDB\",\r\n \"Resource\": \"Collection\",\r\n \"Operation\": \"(Deprecated. Please use resource paths without '/apis/' segment) Read collection(s)\",\r\n \"Description\": \"(Deprecated. Please use resource paths without '/apis/' segment) Read a collection or list all the collections. Only applicable to API types: 'mongodb'.\"\r\n }\r\n },\r\n {\r\n \"name\": \"Microsoft.DocumentDB/databaseAccounts/apis/databases/collections/delete\",\r\n \"display\": {\r\n \"Provider\": \"Microsoft DocumentDB\",\r\n \"Resource\": \"Collection\",\r\n \"Operation\": \"(Deprecated. Please use resource paths without '/apis/' segment) Delete collection\",\r\n \"Description\": \"(Deprecated. Please use resource paths without '/apis/' segment) Delete a collection. Only applicable to API types: 'mongodb'.\"\r\n }\r\n },\r\n {\r\n \"name\": \"Microsoft.DocumentDB/databaseAccounts/apis/databases/collections/operationResults/read\",\r\n \"display\": {\r\n \"Provider\": \"Microsoft DocumentDB\",\r\n \"Resource\": \"Collection\",\r\n \"Operation\": \"(Deprecated. Please use resource paths without '/apis/' segment) Read operation results\",\r\n \"Description\": \"(Deprecated. Please use resource paths without '/apis/' segment) Read status of the asynchronous operation. Only applicable to API types: 'mongodb'.\"\r\n }\r\n },\r\n {\r\n \"name\": \"Microsoft.DocumentDB/databaseAccounts/apis/keyspaces/write\",\r\n \"display\": {\r\n \"Provider\": \"Microsoft DocumentDB\",\r\n \"Resource\": \"Keyspace\",\r\n \"Operation\": \"(Deprecated. Please use resource paths without '/apis/' segment) Write keyspace\",\r\n \"Description\": \"(Deprecated. Please use resource paths without '/apis/' segment) Create a keyspace. Only applicable to API types: 'cassandra'.\"\r\n }\r\n },\r\n {\r\n \"name\": \"Microsoft.DocumentDB/databaseAccounts/apis/keyspaces/read\",\r\n \"display\": {\r\n \"Provider\": \"Microsoft DocumentDB\",\r\n \"Resource\": \"Keyspace\",\r\n \"Operation\": \"(Deprecated. Please use resource paths without '/apis/' segment) Read keyspace(s)\",\r\n \"Description\": \"(Deprecated. Please use resource paths without '/apis/' segment) Read a keyspace or list all the keyspaces. Only applicable to API types: 'cassandra'.\"\r\n }\r\n },\r\n {\r\n \"name\": \"Microsoft.DocumentDB/databaseAccounts/apis/keyspaces/delete\",\r\n \"display\": {\r\n \"Provider\": \"Microsoft DocumentDB\",\r\n \"Resource\": \"Keyspace\",\r\n \"Operation\": \"(Deprecated. Please use resource paths without '/apis/' segment) Delete keyspace\",\r\n \"Description\": \"(Deprecated. Please use resource paths without '/apis/' segment) Delete a keyspace. Only applicable to API types: 'cassandra'.\"\r\n }\r\n },\r\n {\r\n \"name\": \"Microsoft.DocumentDB/databaseAccounts/apis/keyspaces/operationResults/read\",\r\n \"display\": {\r\n \"Provider\": \"Microsoft DocumentDB\",\r\n \"Resource\": \"Keyspace\",\r\n \"Operation\": \"(Deprecated. Please use resource paths without '/apis/' segment) Read operation results\",\r\n \"Description\": \"(Deprecated. Please use resource paths without '/apis/' segment) Read status of the asynchronous operation. Only applicable to API types: 'cassandra'.\"\r\n }\r\n },\r\n {\r\n \"name\": \"Microsoft.DocumentDB/databaseAccounts/apis/keyspaces/tables/write\",\r\n \"display\": {\r\n \"Provider\": \"Microsoft DocumentDB\",\r\n \"Resource\": \"Table\",\r\n \"Operation\": \"(Deprecated. Please use resource paths without '/apis/' segment) Write table\",\r\n \"Description\": \"(Deprecated. Please use resource paths without '/apis/' segment) Create or update a table. Only applicable to API types: 'cassandra'.\"\r\n }\r\n },\r\n {\r\n \"name\": \"Microsoft.DocumentDB/databaseAccounts/apis/keyspaces/tables/read\",\r\n \"display\": {\r\n \"Provider\": \"Microsoft DocumentDB\",\r\n \"Resource\": \"Table\",\r\n \"Operation\": \"(Deprecated. Please use resource paths without '/apis/' segment) Read table(s)\",\r\n \"Description\": \"(Deprecated. Please use resource paths without '/apis/' segment) Read a table or list all the tables. Only applicable to API types: 'cassandra'.\"\r\n }\r\n },\r\n {\r\n \"name\": \"Microsoft.DocumentDB/databaseAccounts/apis/keyspaces/tables/delete\",\r\n \"display\": {\r\n \"Provider\": \"Microsoft DocumentDB\",\r\n \"Resource\": \"Table\",\r\n \"Operation\": \"(Deprecated. Please use resource paths without '/apis/' segment) Delete table\",\r\n \"Description\": \"(Deprecated. Please use resource paths without '/apis/' segment) Delete a table. Only applicable to API types: 'cassandra'.\"\r\n }\r\n },\r\n {\r\n \"name\": \"Microsoft.DocumentDB/databaseAccounts/apis/keyspaces/tables/operationResults/read\",\r\n \"display\": {\r\n \"Provider\": \"Microsoft DocumentDB\",\r\n \"Resource\": \"Table\",\r\n \"Operation\": \"(Deprecated. Please use resource paths without '/apis/' segment) Read operation results\",\r\n \"Description\": \"(Deprecated. Please use resource paths without '/apis/' segment) Read status of the asynchronous operation. Only applicable to API types: 'cassandra'.\"\r\n }\r\n },\r\n {\r\n \"name\": \"Microsoft.DocumentDB/databaseAccounts/apis/databases/graphs/write\",\r\n \"display\": {\r\n \"Provider\": \"Microsoft DocumentDB\",\r\n \"Resource\": \"Graph\",\r\n \"Operation\": \"(Deprecated. Please use resource paths without '/apis/' segment) Write graph\",\r\n \"Description\": \"(Deprecated. Please use resource paths without '/apis/' segment) Create or update a graph. Only applicable to API types: 'gremlin'.\"\r\n }\r\n },\r\n {\r\n \"name\": \"Microsoft.DocumentDB/databaseAccounts/apis/databases/graphs/read\",\r\n \"display\": {\r\n \"Provider\": \"Microsoft DocumentDB\",\r\n \"Resource\": \"Graph\",\r\n \"Operation\": \"(Deprecated. Please use resource paths without '/apis/' segment) Read graph(s)\",\r\n \"Description\": \"(Deprecated. Please use resource paths without '/apis/' segment) Read a graph or list all the graphs. Only applicable to API types: 'gremlin'.\"\r\n }\r\n },\r\n {\r\n \"name\": \"Microsoft.DocumentDB/databaseAccounts/apis/databases/graphs/delete\",\r\n \"display\": {\r\n \"Provider\": \"Microsoft DocumentDB\",\r\n \"Resource\": \"Graph\",\r\n \"Operation\": \"(Deprecated. Please use resource paths without '/apis/' segment) Delete graph\",\r\n \"Description\": \"(Deprecated. Please use resource paths without '/apis/' segment) Delete a graph. Only applicable to API types: 'gremlin'.\"\r\n }\r\n },\r\n {\r\n \"name\": \"Microsoft.DocumentDB/databaseAccounts/apis/databases/graphs/operationResults/read\",\r\n \"display\": {\r\n \"Provider\": \"Microsoft DocumentDB\",\r\n \"Resource\": \"Graph\",\r\n \"Operation\": \"(Deprecated. Please use resource paths without '/apis/' segment) Read operation results\",\r\n \"Description\": \"(Deprecated. Please use resource paths without '/apis/' segment) Read status of the asynchronous operation. Only applicable to API types: 'gremlin'.\"\r\n }\r\n },\r\n {\r\n \"name\": \"Microsoft.DocumentDB/databaseAccounts/apis/databases/settings/write\",\r\n \"display\": {\r\n \"Provider\": \"Microsoft DocumentDB\",\r\n \"Resource\": \"Database throughput setting\",\r\n \"Operation\": \"(Deprecated. Please use resource paths without '/apis/' segment) Write database throughput\",\r\n \"Description\": \"(Deprecated. Please use resource paths without '/apis/' segment) Update a database throughput. Only applicable to API types: 'sql', 'mongodb', 'gremlin'. Only applicable for setting types: 'throughput'.\"\r\n }\r\n },\r\n {\r\n \"name\": \"Microsoft.DocumentDB/databaseAccounts/apis/databases/settings/read\",\r\n \"display\": {\r\n \"Provider\": \"Microsoft DocumentDB\",\r\n \"Resource\": \"Database throughput setting\",\r\n \"Operation\": \"(Deprecated. Please use resource paths without '/apis/' segment) Read database throughput\",\r\n \"Description\": \"(Deprecated. Please use resource paths without '/apis/' segment) Read a database throughput. Only applicable to API types: 'sql', 'mongodb', 'gremlin'. Only applicable for setting types: 'throughput'.\"\r\n }\r\n },\r\n {\r\n \"name\": \"Microsoft.DocumentDB/databaseAccounts/apis/databases/settings/operationResults/read\",\r\n \"display\": {\r\n \"Provider\": \"Microsoft DocumentDB\",\r\n \"Resource\": \"Database throughput setting\",\r\n \"Operation\": \"(Deprecated. Please use resource paths without '/apis/' segment) Read operation results\",\r\n \"Description\": \"(Deprecated. Please use resource paths without '/apis/' segment) Read status of the asynchronous operation. Only applicable to API types: 'sql', 'mongodb', 'gremlin'. Only applicable for setting types: 'throughput'.\"\r\n }\r\n },\r\n {\r\n \"name\": \"Microsoft.DocumentDB/databaseAccounts/apis/databases/containers/settings/write\",\r\n \"display\": {\r\n \"Provider\": \"Microsoft DocumentDB\",\r\n \"Resource\": \"Container throughput setting\",\r\n \"Operation\": \"(Deprecated. Please use resource paths without '/apis/' segment) Write container throughput\",\r\n \"Description\": \"(Deprecated. Please use resource paths without '/apis/' segment) Update a container throughput. Only applicable to API types: 'sql'. Only applicable for setting types: 'throughput'.\"\r\n }\r\n },\r\n {\r\n \"name\": \"Microsoft.DocumentDB/databaseAccounts/apis/databases/containers/settings/read\",\r\n \"display\": {\r\n \"Provider\": \"Microsoft DocumentDB\",\r\n \"Resource\": \"Container throughput setting\",\r\n \"Operation\": \"(Deprecated. Please use resource paths without '/apis/' segment) Read container throughput\",\r\n \"Description\": \"(Deprecated. Please use resource paths without '/apis/' segment) Read a container throughput. Only applicable to API types: 'sql'. Only applicable for setting types: 'throughput'.\"\r\n }\r\n },\r\n {\r\n \"name\": \"Microsoft.DocumentDB/databaseAccounts/apis/databases/containers/settings/operationResults/read\",\r\n \"display\": {\r\n \"Provider\": \"Microsoft DocumentDB\",\r\n \"Resource\": \"Container throughput setting\",\r\n \"Operation\": \"(Deprecated. Please use resource paths without '/apis/' segment) Read operation results\",\r\n \"Description\": \"(Deprecated. Please use resource paths without '/apis/' segment) Read status of the asynchronous operation. Only applicable to API types: 'sql'. Only applicable for setting types: 'throughput'.\"\r\n }\r\n },\r\n {\r\n \"name\": \"Microsoft.DocumentDB/databaseAccounts/apis/tables/settings/write\",\r\n \"display\": {\r\n \"Provider\": \"Microsoft DocumentDB\",\r\n \"Resource\": \"Table throughput setting\",\r\n \"Operation\": \"(Deprecated. Please use resource paths without '/apis/' segment) Write table throughput\",\r\n \"Description\": \"(Deprecated. Please use resource paths without '/apis/' segment) Update a table throughput. Only applicable to API types: 'table'. Only applicable for setting types: 'throughput'.\"\r\n }\r\n },\r\n {\r\n \"name\": \"Microsoft.DocumentDB/databaseAccounts/apis/tables/settings/read\",\r\n \"display\": {\r\n \"Provider\": \"Microsoft DocumentDB\",\r\n \"Resource\": \"Table throughput setting\",\r\n \"Operation\": \"(Deprecated. Please use resource paths without '/apis/' segment) Read table throughput\",\r\n \"Description\": \"(Deprecated. Please use resource paths without '/apis/' segment) Read a table throughput. Only applicable to API types: 'table'. Only applicable for setting types: 'throughput'.\"\r\n }\r\n },\r\n {\r\n \"name\": \"Microsoft.DocumentDB/databaseAccounts/apis/tables/settings/operationResults/read\",\r\n \"display\": {\r\n \"Provider\": \"Microsoft DocumentDB\",\r\n \"Resource\": \"Table throughput setting\",\r\n \"Operation\": \"(Deprecated. Please use resource paths without '/apis/' segment) Read operation results\",\r\n \"Description\": \"(Deprecated. Please use resource paths without '/apis/' segment) Read status of the asynchronous operation. Only applicable to API types: 'table'. Only applicable for setting types: 'throughput'.\"\r\n }\r\n },\r\n {\r\n \"name\": \"Microsoft.DocumentDB/databaseAccounts/apis/databases/collections/settings/write\",\r\n \"display\": {\r\n \"Provider\": \"Microsoft DocumentDB\",\r\n \"Resource\": \"Collection throughput setting\",\r\n \"Operation\": \"(Deprecated. Please use resource paths without '/apis/' segment) Write collection throughput\",\r\n \"Description\": \"(Deprecated. Please use resource paths without '/apis/' segment) Update a collection throughput. Only applicable to API types: 'mongodb'. Only applicable for setting types: 'throughput'.\"\r\n }\r\n },\r\n {\r\n \"name\": \"Microsoft.DocumentDB/databaseAccounts/apis/databases/collections/settings/read\",\r\n \"display\": {\r\n \"Provider\": \"Microsoft DocumentDB\",\r\n \"Resource\": \"Collection throughput setting\",\r\n \"Operation\": \"(Deprecated. Please use resource paths without '/apis/' segment) Read collection throughput\",\r\n \"Description\": \"(Deprecated. Please use resource paths without '/apis/' segment) Read a collection throughput. Only applicable to API types: 'mongodb'. Only applicable for setting types: 'throughput'.\"\r\n }\r\n },\r\n {\r\n \"name\": \"Microsoft.DocumentDB/databaseAccounts/apis/databases/collections/settings/operationResults/read\",\r\n \"display\": {\r\n \"Provider\": \"Microsoft DocumentDB\",\r\n \"Resource\": \"Collection throughput setting\",\r\n \"Operation\": \"(Deprecated. Please use resource paths without '/apis/' segment) Read operation results\",\r\n \"Description\": \"(Deprecated. Please use resource paths without '/apis/' segment) Read status of the asynchronous operation. Only applicable to API types: 'mongodb'. Only applicable for setting types: 'throughput'.\"\r\n }\r\n },\r\n {\r\n \"name\": \"Microsoft.DocumentDB/databaseAccounts/apis/keyspaces/settings/write\",\r\n \"display\": {\r\n \"Provider\": \"Microsoft DocumentDB\",\r\n \"Resource\": \"Keyspace throughput setting\",\r\n \"Operation\": \"(Deprecated. Please use resource paths without '/apis/' segment) Write keyspace throughput\",\r\n \"Description\": \"(Deprecated. Please use resource paths without '/apis/' segment) Update a keyspace throughput. Only applicable to API types: 'cassandra'. Only applicable for setting types: 'throughput'.\"\r\n }\r\n },\r\n {\r\n \"name\": \"Microsoft.DocumentDB/databaseAccounts/apis/keyspaces/settings/read\",\r\n \"display\": {\r\n \"Provider\": \"Microsoft DocumentDB\",\r\n \"Resource\": \"Keyspace throughput setting\",\r\n \"Operation\": \"(Deprecated. Please use resource paths without '/apis/' segment) Read keyspace throughput\",\r\n \"Description\": \"(Deprecated. Please use resource paths without '/apis/' segment) Read a keyspace throughput. Only applicable to API types: 'cassandra'. Only applicable for setting types: 'throughput'.\"\r\n }\r\n },\r\n {\r\n \"name\": \"Microsoft.DocumentDB/databaseAccounts/apis/keyspaces/settings/operationResults/read\",\r\n \"display\": {\r\n \"Provider\": \"Microsoft DocumentDB\",\r\n \"Resource\": \"Keyspace throughput setting\",\r\n \"Operation\": \"(Deprecated. Please use resource paths without '/apis/' segment) Read operation results\",\r\n \"Description\": \"(Deprecated. Please use resource paths without '/apis/' segment) Read status of the asynchronous operation. Only applicable to API types: 'cassandra'. Only applicable for setting types: 'throughput'.\"\r\n }\r\n },\r\n {\r\n \"name\": \"Microsoft.DocumentDB/databaseAccounts/apis/keyspaces/tables/settings/write\",\r\n \"display\": {\r\n \"Provider\": \"Microsoft DocumentDB\",\r\n \"Resource\": \"Table throughput setting\",\r\n \"Operation\": \"(Deprecated. Please use resource paths without '/apis/' segment) Write table throughput\",\r\n \"Description\": \"(Deprecated. Please use resource paths without '/apis/' segment) Update a table throughput. Only applicable to API types: 'cassandra'. Only applicable for setting types: 'throughput'.\"\r\n }\r\n },\r\n {\r\n \"name\": \"Microsoft.DocumentDB/databaseAccounts/apis/keyspaces/tables/settings/read\",\r\n \"display\": {\r\n \"Provider\": \"Microsoft DocumentDB\",\r\n \"Resource\": \"Table throughput setting\",\r\n \"Operation\": \"(Deprecated. Please use resource paths without '/apis/' segment) Read table throughput\",\r\n \"Description\": \"(Deprecated. Please use resource paths without '/apis/' segment) Read a table throughput. Only applicable to API types: 'cassandra'. Only applicable for setting types: 'throughput'.\"\r\n }\r\n },\r\n {\r\n \"name\": \"Microsoft.DocumentDB/databaseAccounts/apis/keyspaces/tables/settings/operationResults/read\",\r\n \"display\": {\r\n \"Provider\": \"Microsoft DocumentDB\",\r\n \"Resource\": \"Table throughput setting\",\r\n \"Operation\": \"(Deprecated. Please use resource paths without '/apis/' segment) Read operation results\",\r\n \"Description\": \"(Deprecated. Please use resource paths without '/apis/' segment) Read status of the asynchronous operation. Only applicable to API types: 'cassandra'. Only applicable for setting types: 'throughput'.\"\r\n }\r\n },\r\n {\r\n \"name\": \"Microsoft.DocumentDB/databaseAccounts/apis/databases/graphs/settings/write\",\r\n \"display\": {\r\n \"Provider\": \"Microsoft DocumentDB\",\r\n \"Resource\": \"Graph throughput setting\",\r\n \"Operation\": \"(Deprecated. Please use resource paths without '/apis/' segment) Write gremlin throughput\",\r\n \"Description\": \"(Deprecated. Please use resource paths without '/apis/' segment) Update a graph throughput. Only applicable to API types: 'gremlin'. Only applicable for setting types: 'throughput'.\"\r\n }\r\n },\r\n {\r\n \"name\": \"Microsoft.DocumentDB/databaseAccounts/apis/databases/graphs/settings/read\",\r\n \"display\": {\r\n \"Provider\": \"Microsoft DocumentDB\",\r\n \"Resource\": \"Graph throughput setting\",\r\n \"Operation\": \"(Deprecated. Please use resource paths without '/apis/' segment) Read graph throughput\",\r\n \"Description\": \"(Deprecated. Please use resource paths without '/apis/' segment) Read a graph throughput. Only applicable to API types: 'gremlin'. Only applicable for setting types: 'throughput'.\"\r\n }\r\n },\r\n {\r\n \"name\": \"Microsoft.DocumentDB/databaseAccounts/apis/databases/graphs/settings/operationResults/read\",\r\n \"display\": {\r\n \"Provider\": \"Microsoft DocumentDB\",\r\n \"Resource\": \"Graph throughput setting\",\r\n \"Operation\": \"(Deprecated. Please use resource paths without '/apis/' segment) Read operation results\",\r\n \"Description\": \"(Deprecated. Please use resource paths without '/apis/' segment) Read status of the asynchronous operation. Only applicable to API types: 'gremlin'. Only applicable for setting types: 'throughput'.\"\r\n }\r\n },\r\n {\r\n \"name\": \"Microsoft.DocumentDB/operationResults/read\",\r\n \"display\": {\r\n \"Provider\": \"Microsoft DocumentDB\",\r\n \"Resource\": \"Operation Result\",\r\n \"Operation\": \"Read operation status\",\r\n \"Description\": \"Read status of the asynchronous operation\"\r\n }\r\n },\r\n {\r\n \"name\": \"Microsoft.DocumentDB/databaseAccountNames/read\",\r\n \"display\": {\r\n \"Provider\": \"Microsoft DocumentDB\",\r\n \"Resource\": \"Database Account Names\",\r\n \"Operation\": \"Read database account names\",\r\n \"Description\": \"Checks for name availability.\"\r\n }\r\n },\r\n {\r\n \"name\": \"Microsoft.DocumentDB/databaseAccounts/read\",\r\n \"display\": {\r\n \"Provider\": \"Microsoft DocumentDB\",\r\n \"Resource\": \"Database Account\",\r\n \"Operation\": \"Read database account\",\r\n \"Description\": \"Reads a database account.\"\r\n }\r\n },\r\n {\r\n \"name\": \"Microsoft.DocumentDB/databaseAccounts/write\",\r\n \"display\": {\r\n \"Provider\": \"Microsoft DocumentDB\",\r\n \"Resource\": \"Database Account\",\r\n \"Operation\": \"Update database account\",\r\n \"Description\": \"Update a database accounts.\"\r\n }\r\n },\r\n {\r\n \"name\": \"Microsoft.DocumentDB/databaseAccounts/listKeys/action\",\r\n \"display\": {\r\n \"Provider\": \"Microsoft DocumentDB\",\r\n \"Resource\": \"Database Account\",\r\n \"Operation\": \"List keys\",\r\n \"Description\": \"List keys of a database account\"\r\n }\r\n },\r\n {\r\n \"name\": \"Microsoft.DocumentDB/databaseAccounts/readonlykeys/action\",\r\n \"display\": {\r\n \"Provider\": \"Microsoft DocumentDB\",\r\n \"Resource\": \"Database Account readonly keys\",\r\n \"Operation\": \"Read database account readonly keys\",\r\n \"Description\": \"Reads the database account readonly keys.\"\r\n }\r\n },\r\n {\r\n \"name\": \"Microsoft.DocumentDB/databaseAccounts/readonlykeys/read\",\r\n \"display\": {\r\n \"Provider\": \"Microsoft DocumentDB\",\r\n \"Resource\": \"Database Account readonly keys\",\r\n \"Operation\": \"Read database account readonly keys\",\r\n \"Description\": \"Reads the database account readonly keys.\"\r\n }\r\n },\r\n {\r\n \"name\": \"Microsoft.DocumentDB/databaseAccounts/regenerateKey/action\",\r\n \"display\": {\r\n \"Provider\": \"Microsoft DocumentDB\",\r\n \"Resource\": \"Database Account\",\r\n \"Operation\": \"Rotate keys\",\r\n \"Description\": \"Rotate keys of a database account\"\r\n }\r\n },\r\n {\r\n \"name\": \"Microsoft.DocumentDB/databaseAccounts/listConnectionStrings/action\",\r\n \"display\": {\r\n \"Provider\": \"Microsoft DocumentDB\",\r\n \"Resource\": \"Database Account\",\r\n \"Operation\": \"Get Connection Strings\",\r\n \"Description\": \"Get the connection strings for a database account\"\r\n }\r\n },\r\n {\r\n \"name\": \"Microsoft.DocumentDB/databaseAccounts/changeResourceGroup/action\",\r\n \"display\": {\r\n \"Provider\": \"Microsoft DocumentDB\",\r\n \"Resource\": \"Database Account\",\r\n \"Operation\": \"Change resource group\",\r\n \"Description\": \"Change resource group of a database account\"\r\n }\r\n },\r\n {\r\n \"name\": \"Microsoft.DocumentDB/databaseAccounts/failoverPriorityChange/action\",\r\n \"display\": {\r\n \"Provider\": \"Microsoft DocumentDB\",\r\n \"Resource\": \"Database Account\",\r\n \"Operation\": \"Manual Failover\",\r\n \"Description\": \"Change failover priorities of regions of a database account. This is used to perform manual failover operation\"\r\n }\r\n },\r\n {\r\n \"name\": \"Microsoft.DocumentDB/databaseAccounts/offlineRegion/action\",\r\n \"display\": {\r\n \"Provider\": \"Microsoft DocumentDB\",\r\n \"Resource\": \"Database Account\",\r\n \"Operation\": \"Offline Region\",\r\n \"Description\": \"Offline a region of a database account. \"\r\n }\r\n },\r\n {\r\n \"name\": \"Microsoft.DocumentDB/databaseAccounts/onlineRegion/action\",\r\n \"display\": {\r\n \"Provider\": \"Microsoft DocumentDB\",\r\n \"Resource\": \"Database Account\",\r\n \"Operation\": \"Online Region\",\r\n \"Description\": \"Online a region of a database account.\"\r\n }\r\n },\r\n {\r\n \"name\": \"Microsoft.DocumentDB/databaseAccounts/delete\",\r\n \"display\": {\r\n \"Provider\": \"Microsoft DocumentDB\",\r\n \"Resource\": \"Database Account\",\r\n \"Operation\": \"Delete database accounts\",\r\n \"Description\": \"Deletes the database accounts.\"\r\n }\r\n },\r\n {\r\n \"name\": \"Microsoft.DocumentDB/databaseAccounts/operationResults/read\",\r\n \"display\": {\r\n \"Provider\": \"Microsoft DocumentDB\",\r\n \"Resource\": \"Database Account\",\r\n \"Operation\": \"Read operation status\",\r\n \"Description\": \"Read status of the asynchronous operation\"\r\n }\r\n },\r\n {\r\n \"name\": \"Microsoft.DocumentDB/databaseAccounts/percentile/read\",\r\n \"display\": {\r\n \"Provider\": \"Microsoft DocumentDB\",\r\n \"Resource\": \"Database Account latencies\",\r\n \"Operation\": \"Read latency percentiles\",\r\n \"Description\": \"Read percentiles of replication latencies\"\r\n }\r\n },\r\n {\r\n \"name\": \"Microsoft.DocumentDB/databaseAccounts/percentile/metrics/read\",\r\n \"display\": {\r\n \"Provider\": \"Microsoft DocumentDB\",\r\n \"Resource\": \"Database Account metrics\",\r\n \"Operation\": \"Read latency metrics\",\r\n \"Description\": \"Read latency metrics\"\r\n }\r\n },\r\n {\r\n \"name\": \"Microsoft.DocumentDB/databaseAccounts/percentile/targetRegion/metrics/read\",\r\n \"display\": {\r\n \"Provider\": \"Microsoft DocumentDB\",\r\n \"Resource\": \"Database Account metrics for a specific target region\",\r\n \"Operation\": \"Read latency metricsfor a specific target region\",\r\n \"Description\": \"Read latency metrics for a specific target region\"\r\n }\r\n },\r\n {\r\n \"name\": \"Microsoft.DocumentDB/databaseAccounts/percentile/sourceRegion/targetRegion/metrics/read\",\r\n \"display\": {\r\n \"Provider\": \"Microsoft DocumentDB\",\r\n \"Resource\": \"Database Account metrics for a specific source and target region\",\r\n \"Operation\": \"Read latency metrics for a specific source and target region\",\r\n \"Description\": \"Read latency metrics for a specific source and target region\"\r\n }\r\n },\r\n {\r\n \"name\": \"Microsoft.DocumentDB/databaseAccounts/databases/collections/partitions/usages/read\",\r\n \"display\": {\r\n \"Provider\": \"Microsoft DocumentDB\",\r\n \"Resource\": \"Database Account partition usages\",\r\n \"Operation\": \"Read database account partition level usages\",\r\n \"Description\": \"Read database account partition level usages\"\r\n }\r\n },\r\n {\r\n \"name\": \"Microsoft.DocumentDB/databaseAccounts/getBackupPolicy/action\",\r\n \"display\": {\r\n \"Provider\": \"Microsoft DocumentDB\",\r\n \"Resource\": \"Database\",\r\n \"Operation\": \"Get BackupPolicy\",\r\n \"Description\": \"Get the backup policy of database account\"\r\n }\r\n },\r\n {\r\n \"name\": \"Microsoft.DocumentDB/databaseAccounts/metricDefinitions/read\",\r\n \"display\": {\r\n \"Provider\": \"Microsoft DocumentDB\",\r\n \"Resource\": \"Database Account metric definitions\",\r\n \"Operation\": \"Read database account metrics definitions\",\r\n \"Description\": \"Reads the database account metrics definitions.\"\r\n }\r\n },\r\n {\r\n \"name\": \"Microsoft.DocumentDB/databaseAccounts/metrics/read\",\r\n \"display\": {\r\n \"Provider\": \"Microsoft DocumentDB\",\r\n \"Resource\": \"Database Account metrics\",\r\n \"Operation\": \"Read database account metrics\",\r\n \"Description\": \"Reads the database account metrics.\"\r\n }\r\n },\r\n {\r\n \"name\": \"Microsoft.DocumentDB/databaseAccounts/usages/read\",\r\n \"display\": {\r\n \"Provider\": \"Microsoft DocumentDB\",\r\n \"Resource\": \"Database Account usages\",\r\n \"Operation\": \"Read database account usages\",\r\n \"Description\": \"Reads the database account usages.\"\r\n }\r\n },\r\n {\r\n \"name\": \"Microsoft.DocumentDB/databaseAccounts/databases/metricDefinitions/read\",\r\n \"display\": {\r\n \"Provider\": \"Microsoft DocumentDB\",\r\n \"Resource\": \"Database metric definitions\",\r\n \"Operation\": \"Read database metric definitions\",\r\n \"Description\": \"Reads the database metric definitions\"\r\n }\r\n },\r\n {\r\n \"name\": \"Microsoft.DocumentDB/databaseAccounts/databases/metrics/read\",\r\n \"display\": {\r\n \"Provider\": \"Microsoft DocumentDB\",\r\n \"Resource\": \"Database metrics\",\r\n \"Operation\": \"Read database metrics\",\r\n \"Description\": \"Reads the database metrics.\"\r\n }\r\n },\r\n {\r\n \"name\": \"Microsoft.DocumentDB/databaseAccounts/databases/usages/read\",\r\n \"display\": {\r\n \"Provider\": \"Microsoft DocumentDB\",\r\n \"Resource\": \"Database usages\",\r\n \"Operation\": \"Read database usages\",\r\n \"Description\": \"Reads the database usages.\"\r\n }\r\n },\r\n {\r\n \"name\": \"Microsoft.DocumentDB/databaseAccounts/databases/collections/metricDefinitions/read\",\r\n \"display\": {\r\n \"Provider\": \"Microsoft DocumentDB\",\r\n \"Resource\": \"Collection metric definitions\",\r\n \"Operation\": \"Read collection metric definitions\",\r\n \"Description\": \"Reads the collection metric definitions.\"\r\n }\r\n },\r\n {\r\n \"name\": \"Microsoft.DocumentDB/databaseAccounts/databases/collections/metrics/read\",\r\n \"display\": {\r\n \"Provider\": \"Microsoft DocumentDB\",\r\n \"Resource\": \"Collection metrics\",\r\n \"Operation\": \"Read collection metrics\",\r\n \"Description\": \"Reads the collection metrics.\"\r\n }\r\n },\r\n {\r\n \"name\": \"Microsoft.DocumentDB/databaseAccounts/databases/collections/usages/read\",\r\n \"display\": {\r\n \"Provider\": \"Microsoft DocumentDB\",\r\n \"Resource\": \"Collection usages\",\r\n \"Operation\": \"Read collection usages\",\r\n \"Description\": \"Reads the collection usages.\"\r\n }\r\n },\r\n {\r\n \"name\": \"Microsoft.DocumentDB/databaseAccounts/region/metrics/read\",\r\n \"display\": {\r\n \"Provider\": \"Microsoft DocumentDB\",\r\n \"Resource\": \"Database Account and Region metrics\",\r\n \"Operation\": \"Read region database account metrics\",\r\n \"Description\": \"Reads the region and database account metrics.\"\r\n }\r\n },\r\n {\r\n \"name\": \"Microsoft.DocumentDB/databaseAccounts/region/databases/collections/metrics/read\",\r\n \"display\": {\r\n \"Provider\": \"Microsoft DocumentDB\",\r\n \"Resource\": \"Regional Collection metrics\",\r\n \"Operation\": \"Read regional collection metrics\",\r\n \"Description\": \"Reads the regional collection metrics.\"\r\n }\r\n },\r\n {\r\n \"name\": \"Microsoft.DocumentDB/databaseAccounts/region/databases/collections/partitions/read\",\r\n \"display\": {\r\n \"Provider\": \"Microsoft DocumentDB\",\r\n \"Resource\": \"Regional Database Account Collection partitions\",\r\n \"Operation\": \"Read regional database account partitions in a collection\",\r\n \"Description\": \"Read regional database account partitions in a collection\"\r\n }\r\n },\r\n {\r\n \"name\": \"Microsoft.DocumentDB/databaseAccounts/databases/collections/partitions/metrics/read\",\r\n \"display\": {\r\n \"Provider\": \"Microsoft DocumentDB\",\r\n \"Resource\": \"Database Account partition metrics\",\r\n \"Operation\": \"Read database account partition level metrics\",\r\n \"Description\": \"Read database account partition level metrics\"\r\n }\r\n },\r\n {\r\n \"name\": \"Microsoft.DocumentDB/databaseAccounts/region/databases/collections/partitions/metrics/read\",\r\n \"display\": {\r\n \"Provider\": \"Microsoft DocumentDB\",\r\n \"Resource\": \"Regional Database Account partition metrics\",\r\n \"Operation\": \"Read regional database account partition level metrics\",\r\n \"Description\": \"Read regional database account partition level metrics\"\r\n }\r\n },\r\n {\r\n \"name\": \"Microsoft.DocumentDB/databaseAccounts/region/databases/collections/partitionKeyRangeId/metrics/read\",\r\n \"display\": {\r\n \"Provider\": \"Microsoft DocumentDB\",\r\n \"Resource\": \"Regional Database Account partition key metrics\",\r\n \"Operation\": \"Read regional database account partition key level metrics\",\r\n \"Description\": \"Read regional database account partition key level metrics\"\r\n }\r\n },\r\n {\r\n \"name\": \"Microsoft.DocumentDB/databaseAccounts/databases/collections/partitionKeyRangeId/metrics/read\",\r\n \"display\": {\r\n \"Provider\": \"Microsoft DocumentDB\",\r\n \"Resource\": \"Database Account partition key metrics\",\r\n \"Operation\": \"Read database account partition key level metrics\",\r\n \"Description\": \"Read database account partition key level metrics\"\r\n }\r\n },\r\n {\r\n \"name\": \"Microsoft.DocumentDB/databaseAccounts/databases/collections/partitions/read\",\r\n \"display\": {\r\n \"Provider\": \"Microsoft DocumentDB\",\r\n \"Resource\": \"Database Account Collection partitions\",\r\n \"Operation\": \"Read database account partitions in a collection\",\r\n \"Description\": \"Read database account partitions in a collection\"\r\n }\r\n },\r\n {\r\n \"name\": \"Microsoft.DocumentDB/register/action\",\r\n \"display\": {\r\n \"Provider\": \"Microsoft DocumentDB\",\r\n \"Resource\": \"\",\r\n \"Operation\": \"Register Microsoft DocumentDB resource provider\",\r\n \"Description\": \" Register the Microsoft DocumentDB resource provider for the subscription\"\r\n }\r\n },\r\n {\r\n \"name\": \"Microsoft.DocumentDB/operations/read\",\r\n \"display\": {\r\n \"Provider\": \"Microsoft DocumentDB\",\r\n \"Resource\": \"operations\",\r\n \"Operation\": \"List operations\",\r\n \"Description\": \"Read operations available for the Microsoft DocumentDB \"\r\n }\r\n },\r\n {\r\n \"name\": \"Microsoft.DocumentDB/databaseAccounts/PrivateEndpointConnectionsApproval/action\",\r\n \"display\": {\r\n \"Provider\": \"Microsoft DocumentDB\",\r\n \"Resource\": \"Database Account Private Endpoint Connection Approval\",\r\n \"Operation\": \"Microsoft.DocumentDB/databaseAccounts/PrivateEndpointConnectionsApproval/action\",\r\n \"Description\": \"Manage a private endpoint connection of Database Account\"\r\n }\r\n },\r\n {\r\n \"name\": \"Microsoft.DocumentDB/databaseAccounts/privateEndpointConnectionProxies/read\",\r\n \"display\": {\r\n \"Provider\": \"Microsoft DocumentDB\",\r\n \"Resource\": \"Database Account Private Endpoint Connection Proxy\",\r\n \"Operation\": \"Microsoft.DocumentDB/databaseAccounts/privateEndpointConnectionProxies/read\",\r\n \"Description\": \"Read a private endpoint connection proxy of Database Account\"\r\n }\r\n },\r\n {\r\n \"name\": \"Microsoft.DocumentDB/databaseAccounts/privateEndpointConnectionProxies/write\",\r\n \"display\": {\r\n \"Provider\": \"Microsoft DocumentDB\",\r\n \"Resource\": \"Database Account Private Endpoint Connection Proxy\",\r\n \"Operation\": \"Microsoft.DocumentDB/databaseAccounts/privateEndpointConnectionProxies/write\",\r\n \"Description\": \"Create or update a private endpoint connection proxy of Database Account\"\r\n }\r\n },\r\n {\r\n \"name\": \"Microsoft.DocumentDB/databaseAccounts/privateEndpointConnectionProxies/delete\",\r\n \"display\": {\r\n \"Provider\": \"Microsoft DocumentDB\",\r\n \"Resource\": \"Database Account Private Endpoint Connection Proxy\",\r\n \"Operation\": \"Microsoft.DocumentDB/databaseAccounts/privateEndpointConnectionProxies/delete\",\r\n \"Description\": \"Delete a private endpoint connection proxy of Database Account\"\r\n }\r\n },\r\n {\r\n \"name\": \"Microsoft.DocumentDB/databaseAccounts/privateEndpointConnectionProxies/operationResults/read\",\r\n \"display\": {\r\n \"Provider\": \"Microsoft DocumentDB\",\r\n \"Resource\": \"Operation Result\",\r\n \"Operation\": \"Microsoft.DocumentDB/databaseAccounts/privateEndpointConnectionProxies/operationResults/read\",\r\n \"Description\": \"Read Status of private endpoint connection proxy asynchronous operation\"\r\n }\r\n },\r\n {\r\n \"name\": \"Microsoft.DocumentDB/databaseAccounts/privateEndpointConnectionProxies/validate/action\",\r\n \"display\": {\r\n \"Provider\": \"Microsoft DocumentDB\",\r\n \"Resource\": \"Database Account Private Endpoint Connection Proxy\",\r\n \"Operation\": \"Microsoft.DocumentDB/databaseAccounts/privateEndpointConnectionProxies/validate/action\",\r\n \"Description\": \"Validate a private endpoint connection proxy of Database Account\"\r\n }\r\n },\r\n {\r\n \"name\": \"Microsoft.DocumentDB/databaseAccounts/privateEndpointConnections/read\",\r\n \"display\": {\r\n \"Provider\": \"Microsoft DocumentDB\",\r\n \"Resource\": \"Database Account Private Endpoint Connection\",\r\n \"Operation\": \"Microsoft.DocumentDB/databaseAccounts/privateEndpointConnections/read\",\r\n \"Description\": \"Read a private endpoint connection or list all the private endpoint connections of a Database Account\"\r\n }\r\n },\r\n {\r\n \"name\": \"Microsoft.DocumentDB/databaseAccounts/privateEndpointConnections/write\",\r\n \"display\": {\r\n \"Provider\": \"Microsoft DocumentDB\",\r\n \"Resource\": \"Database Account Private Endpoint Connection\",\r\n \"Operation\": \"Microsoft.DocumentDB/databaseAccounts/privateEndpointConnections/write\",\r\n \"Description\": \"Create or update a private endpoint connection of a Database Account\"\r\n }\r\n },\r\n {\r\n \"name\": \"Microsoft.DocumentDB/databaseAccounts/privateEndpointConnections/delete\",\r\n \"display\": {\r\n \"Provider\": \"Microsoft DocumentDB\",\r\n \"Resource\": \"Database Account Private Endpoint Connection\",\r\n \"Operation\": \"Microsoft.DocumentDB/databaseAccounts/privateEndpointConnections/delete\",\r\n \"Description\": \"Delete a private endpoint connection of a Database Account\"\r\n }\r\n },\r\n {\r\n \"name\": \"Microsoft.DocumentDB/databaseAccounts/privateEndpointConnections/operationResults/read\",\r\n \"display\": {\r\n \"Provider\": \"Microsoft DocumentDB\",\r\n \"Resource\": \"Operation Result\",\r\n \"Operation\": \"Microsoft.DocumentDB/databaseAccounts/privateEndpointConnections/operationResults/read\",\r\n \"Description\": \"Read Status of privateEndpointConnenctions asynchronous operation\"\r\n }\r\n },\r\n {\r\n \"name\": \"Microsoft.DocumentDB/databaseAccounts/privateLinkResources/read\",\r\n \"display\": {\r\n \"Provider\": \"Microsoft DocumentDB\",\r\n \"Resource\": \"Database Account Private Link Resource\",\r\n \"Operation\": \"Microsoft.DocumentDB/databaseAccounts/privateLinkResources/read\",\r\n \"Description\": \"Read a private link resource or list all the private link resources of a Database Account\"\r\n }\r\n },\r\n {\r\n \"name\": \"Microsoft.DocumentDB/locations/operationsStatus/read\",\r\n \"display\": {\r\n \"Provider\": \"Microsoft DocumentDB\",\r\n \"Resource\": \"Asynchronous Operations\",\r\n \"Operation\": \"Microsoft.DocumentDB/locations/operationsStatus/read\",\r\n \"Description\": \"Reads Status of Asynchronous Operations\"\r\n }\r\n },\r\n {\r\n \"name\": \"Microsoft.DocumentDB/locations/deleteVirtualNetworkOrSubnets/action\",\r\n \"display\": {\r\n \"Provider\": \"Microsoft DocumentDB\",\r\n \"Resource\": \"Database Account\",\r\n \"Operation\": \"Microsoft.DocumentDB/locations/deleteVirtualNetworkOrSubnets/action\",\r\n \"Description\": \"Notifies Microsoft.DocumentDB that VirtualNetwork or Subnet is being deleted\"\r\n }\r\n },\r\n {\r\n \"name\": \"Microsoft.DocumentDB/locations/deleteVirtualNetworkOrSubnets/operationResults/read\",\r\n \"display\": {\r\n \"Provider\": \"Microsoft DocumentDB\",\r\n \"Resource\": \"Operation Result\",\r\n \"Operation\": \"Microsoft.DocumentDB/locations/deleteVirtualNetworkOrSubnets/operationResults/read\",\r\n \"Description\": \"Read Status of deleteVirtualNetworkOrSubnets asynchronous operation\"\r\n }\r\n },\r\n {\r\n \"name\": \"Microsoft.DocumentDB/databaseAccounts/restore/action\",\r\n \"display\": {\r\n \"Provider\": \"Microsoft DocumentDB\",\r\n \"Resource\": \"\",\r\n \"Operation\": \"Microsoft.DocumentDB/databaseAccounts/restore/action\",\r\n \"Description\": \"Submit a restore request\"\r\n }\r\n },\r\n {\r\n \"name\": \"Microsoft.DocumentDB/databaseAccounts/backup/action\",\r\n \"display\": {\r\n \"Provider\": \"Microsoft DocumentDB\",\r\n \"Resource\": \"\",\r\n \"Operation\": \"Microsoft.DocumentDB/databaseAccounts/backup/action\",\r\n \"Description\": \"Submit a request to configure backup\"\r\n }\r\n },\r\n {\r\n \"name\": \"Microsoft.DocumentDB/databaseAccounts/notebookWorkspaces/write\",\r\n \"display\": {\r\n \"Provider\": \"Microsoft DocumentDB\",\r\n \"Resource\": \"Notebook Workspace\",\r\n \"Operation\": \"Microsoft.DocumentDB/databaseAccounts/notebookWorkspaces/write\",\r\n \"Description\": \"Create or update a notebook workspace\"\r\n }\r\n },\r\n {\r\n \"name\": \"Microsoft.DocumentDB/databaseAccounts/notebookWorkspaces/read\",\r\n \"display\": {\r\n \"Provider\": \"Microsoft DocumentDB\",\r\n \"Resource\": \"Notebook Workspace\",\r\n \"Operation\": \"Microsoft.DocumentDB/databaseAccounts/notebookWorkspaces/read\",\r\n \"Description\": \"Read a notebook workspace\"\r\n }\r\n },\r\n {\r\n \"name\": \"Microsoft.DocumentDB/databaseAccounts/notebookWorkspaces/delete\",\r\n \"display\": {\r\n \"Provider\": \"Microsoft DocumentDB\",\r\n \"Resource\": \"Notebook Workspace\",\r\n \"Operation\": \"Microsoft.DocumentDB/databaseAccounts/notebookWorkspaces/delete\",\r\n \"Description\": \"Delete a notebook workspace\"\r\n }\r\n },\r\n {\r\n \"name\": \"Microsoft.DocumentDB/databaseAccounts/notebookWorkspaces/operationResults/read\",\r\n \"display\": {\r\n \"Provider\": \"Microsoft DocumentDB\",\r\n \"Resource\": \"Operation Result\",\r\n \"Operation\": \"Microsoft.DocumentDB/databaseAccounts/notebookWorkspaces/operationResults/read\",\r\n \"Description\": \"Read the status of an asynchronous operation on notebook workspaces\"\r\n }\r\n },\r\n {\r\n \"name\": \"Microsoft.DocumentDB/databaseAccounts/notebookWorkspaces/listConnectionInfo/action\",\r\n \"display\": {\r\n \"Provider\": \"Microsoft DocumentDB\",\r\n \"Resource\": \"Notebook Workspace\",\r\n \"Operation\": \"Microsoft.DocumentDB/databaseAccounts/notebookWorkspaces/listConnectionInfo/action\",\r\n \"Description\": \"List the connection info for a notebook workspace\"\r\n }\r\n },\r\n {\r\n \"name\": \"Microsoft.DocumentDB/locations/restorableDatabaseAccounts/read\",\r\n \"display\": {\r\n \"Provider\": \"Microsoft DocumentDB\",\r\n \"Resource\": \"Restorable database account\",\r\n \"Operation\": \"Microsoft.DocumentDB/locations/restorableDatabaseAccounts/read\",\r\n \"Description\": \"Read a restorable database account or List all the restorable database accounts\"\r\n }\r\n },\r\n {\r\n \"name\": \"Microsoft.DocumentDB/locations/restorableDatabaseAccounts/restore/action \",\r\n \"display\": {\r\n \"Provider\": \"Microsoft DocumentDB\",\r\n \"Resource\": \"Restore action on restorable database account\",\r\n \"Operation\": \"Microsoft.DocumentDB/locations/restorableDatabaseAccounts/restore/action\",\r\n \"Description\": \"Submit a restore request\"\r\n }\r\n },\r\n {\r\n \"name\": \"Microsoft.DocumentDB/locations/read\",\r\n \"display\": {\r\n \"Provider\": \"Microsoft DocumentDB\",\r\n \"Resource\": \"CosmosDB location\",\r\n \"Operation\": \"Microsoft.DocumentDB/locations/read\",\r\n \"Description\": \"Read the metadata of a location or List all location metadata\"\r\n }\r\n },\r\n {\r\n \"name\": \"Microsoft.DocumentDB/cassandraClusters/read\",\r\n \"display\": {\r\n \"Provider\": \"Microsoft DocumentDB\",\r\n \"Resource\": \"Managed Cassandra cluster\",\r\n \"Operation\": \"Microsoft.DocumentDB/cassandraClusters/read\",\r\n \"Description\": \"Read a managed Cassandra cluster or list all managed Cassandra clusters\"\r\n }\r\n },\r\n {\r\n \"name\": \"Microsoft.DocumentDB/cassandraClusters/write\",\r\n \"display\": {\r\n \"Provider\": \"Microsoft DocumentDB\",\r\n \"Resource\": \"Managed Cassandra cluster\",\r\n \"Operation\": \"Microsoft.DocumentDB/cassandraClusters/write\",\r\n \"Description\": \"Create or update a managed Cassandra cluster\"\r\n }\r\n },\r\n {\r\n \"name\": \"Microsoft.DocumentDB/cassandraClusters/delete\",\r\n \"display\": {\r\n \"Provider\": \"Microsoft DocumentDB\",\r\n \"Resource\": \"Managed Cassandra cluster\",\r\n \"Operation\": \"Microsoft.DocumentDB/cassandraClusters/delete\",\r\n \"Description\": \"Delete a managed Cassandra cluster\"\r\n }\r\n },\r\n {\r\n \"name\": \"Microsoft.DocumentDB/cassandraClusters/repair/action\",\r\n \"display\": {\r\n \"Provider\": \"Microsoft DocumentDB\",\r\n \"Resource\": \"\",\r\n \"Operation\": \"Microsoft.DocumentDB/cassandraClusters/repair/action\",\r\n \"Description\": \"Request a repair of a managed Cassandra keyspace\"\r\n }\r\n },\r\n {\r\n \"name\": \"Microsoft.DocumentDB/cassandraClusters/fetchNodeStatus/action\",\r\n \"display\": {\r\n \"Provider\": \"Microsoft DocumentDB\",\r\n \"Resource\": \"\",\r\n \"Operation\": \"Microsoft.DocumentDB/cassandraClusters/fetchNodeStatus/action\",\r\n \"Description\": \"Asynchronously fetch node status of all nodes in a managed Cassandra cluster\"\r\n }\r\n },\r\n {\r\n \"name\": \"Microsoft.DocumentDB/cassandraClusters/dataCenters/read\",\r\n \"display\": {\r\n \"Provider\": \"Microsoft DocumentDB\",\r\n \"Resource\": \"Managed Cassandra data center\",\r\n \"Operation\": \"Microsoft.DocumentDB/cassandraClusters/dataCenters/read\",\r\n \"Description\": \"Read a data center in a managed Cassandra cluster or list all data centers in a managed Cassandra cluster\"\r\n }\r\n },\r\n {\r\n \"name\": \"Microsoft.DocumentDB/cassandraClusters/dataCenters/write\",\r\n \"display\": {\r\n \"Provider\": \"Microsoft DocumentDB\",\r\n \"Resource\": \"Managed Cassandra data center\",\r\n \"Operation\": \"Microsoft.DocumentDB/cassandraClusters/dataCenters/write\",\r\n \"Description\": \"Create or update a data center in a managed Cassandra cluster\"\r\n }\r\n },\r\n {\r\n \"name\": \"Microsoft.DocumentDB/cassandraClusters/dataCenters/delete\",\r\n \"display\": {\r\n \"Provider\": \"Microsoft DocumentDB\",\r\n \"Resource\": \"Managed Cassandra data center\",\r\n \"Operation\": \"Microsoft.DocumentDB/cassandraClusters/dataCenters/delete\",\r\n \"Description\": \"Delete a data center in a managed Cassandra cluster\"\r\n }\r\n },\r\n {\r\n \"name\": \"Microsoft.DocumentDB/databaseAccounts/sqlRoleDefinitions/read\",\r\n \"display\": {\r\n \"Provider\": \"Microsoft DocumentDB\",\r\n \"Resource\": \"SQL Role Definition\",\r\n \"Operation\": \"Microsoft.DocumentDB/databaseAccounts/sqlRoleDefinitions/read\",\r\n \"Description\": \"Read a SQL Role Definition\"\r\n }\r\n },\r\n {\r\n \"name\": \"Microsoft.DocumentDB/databaseAccounts/sqlRoleDefinitions/write\",\r\n \"display\": {\r\n \"Provider\": \"Microsoft DocumentDB\",\r\n \"Resource\": \"SQL Role Definition\",\r\n \"Operation\": \"Microsoft.DocumentDB/databaseAccounts/sqlRoleDefinitions/write\",\r\n \"Description\": \"Create or update a SQL Role Definition\"\r\n }\r\n },\r\n {\r\n \"name\": \"Microsoft.DocumentDB/databaseAccounts/sqlRoleDefinitions/delete\",\r\n \"display\": {\r\n \"Provider\": \"Microsoft DocumentDB\",\r\n \"Resource\": \"SQL Role Definition\",\r\n \"Operation\": \"Microsoft.DocumentDB/databaseAccounts/sqlRoleDefinitions/delete\",\r\n \"Description\": \"Delete a SQL Role Definition\"\r\n }\r\n },\r\n {\r\n \"name\": \"Microsoft.DocumentDB/databaseAccounts/sqlRoleAssignments/read\",\r\n \"display\": {\r\n \"Provider\": \"Microsoft DocumentDB\",\r\n \"Resource\": \"SQL Role Assignment\",\r\n \"Operation\": \"Microsoft.DocumentDB/databaseAccounts/sqlRoleAssignments/read\",\r\n \"Description\": \"Read a SQL Role Assignment\"\r\n }\r\n },\r\n {\r\n \"name\": \"Microsoft.DocumentDB/databaseAccounts/sqlRoleAssignments/write\",\r\n \"display\": {\r\n \"Provider\": \"Microsoft DocumentDB\",\r\n \"Resource\": \"SQL Role Assignment\",\r\n \"Operation\": \"Microsoft.DocumentDB/databaseAccounts/sqlRoleAssignments/write\",\r\n \"Description\": \"Create or update a SQL Role Assignment\"\r\n }\r\n },\r\n {\r\n \"name\": \"Microsoft.DocumentDB/databaseAccounts/sqlRoleAssignments/delete\",\r\n \"display\": {\r\n \"Provider\": \"Microsoft DocumentDB\",\r\n \"Resource\": \"SQL Role Assignment\",\r\n \"Operation\": \"Microsoft.DocumentDB/databaseAccounts/sqlRoleAssignments/delete\",\r\n \"Description\": \"Delete a SQL Role Assignment\"\r\n }\r\n },\r\n {\r\n \"origin\": \"system\",\r\n \"name\": \"Microsoft.DocumentDB/databaseAccounts/providers/Microsoft.Insights/logDefinitions/read\",\r\n \"display\": {\r\n \"Provider\": \"Microsoft DocumentDB\",\r\n \"Resource\": \"Database Account\",\r\n \"Operation\": \"Read database account log definitions\",\r\n \"Description\": \"Gets the available log catageries for Database Account\"\r\n },\r\n \"properties\": {\r\n \"serviceSpecification\": {\r\n \"logSpecifications\": [\r\n {\r\n \"name\": \"DataPlaneRequests\",\r\n \"displayName\": \"DataPlaneRequests\",\r\n \"blobDuration\": \"PT1H\"\r\n },\r\n {\r\n \"name\": \"MongoRequests\",\r\n \"displayName\": \"MongoRequests\",\r\n \"blobDuration\": \"PT1H\"\r\n },\r\n {\r\n \"name\": \"QueryRuntimeStatistics\",\r\n \"displayName\": \"QueryRuntimeStatistics\",\r\n \"blobDuration\": \"PT1H\"\r\n },\r\n {\r\n \"name\": \"PartitionKeyStatistics\",\r\n \"displayName\": \"PartitionKeyStatistics\",\r\n \"blobDuration\": \"PT1H\"\r\n },\r\n {\r\n \"name\": \"PartitionKeyRUConsumption\",\r\n \"displayName\": \"PartitionKeyRUConsumption\",\r\n \"blobDuration\": \"PT1H\"\r\n },\r\n {\r\n \"name\": \"ControlPlaneRequests\",\r\n \"displayName\": \"ControlPlaneRequests\",\r\n \"blobDuration\": \"PT1H\"\r\n },\r\n {\r\n \"name\": \"CassandraRequests\",\r\n \"displayName\": \"CassandraRequests\",\r\n \"blobDuration\": \"PT1H\"\r\n },\r\n {\r\n \"name\": \"GremlinRequests\",\r\n \"displayName\": \"GremlinRequests\",\r\n \"blobDuration\": \"PT1H\"\r\n },\r\n {\r\n \"name\": \"TableApiRequests\",\r\n \"displayName\": \"TableApiRequests\",\r\n \"blobDuration\": \"PT1H\"\r\n }\r\n ]\r\n }\r\n }\r\n },\r\n {\r\n \"origin\": \"system\",\r\n \"name\": \"Microsoft.DocumentDB/databaseAccounts/providers/Microsoft.Insights/diagnosticSettings/read\",\r\n \"display\": {\r\n \"Provider\": \"Microsoft DocumentDB\",\r\n \"Resource\": \"Database Account\",\r\n \"Operation\": \"Write diagnostic setting\",\r\n \"Description\": \"Gets the diagnostic setting for the resource\"\r\n }\r\n },\r\n {\r\n \"origin\": \"system\",\r\n \"name\": \"Microsoft.DocumentDB/databaseAccounts/providers/Microsoft.Insights/diagnosticSettings/write\",\r\n \"display\": {\r\n \"Provider\": \"Microsoft DocumentDB\",\r\n \"Resource\": \"Database Account\",\r\n \"Operation\": \"Write diagnostic setting\",\r\n \"Description\": \"Creates or updates the diagnostic setting for the resource\"\r\n }\r\n },\r\n {\r\n \"origin\": \"system\",\r\n \"name\": \"Microsoft.DocumentDB/databaseAccounts/providers/Microsoft.Insights/metricDefinitions/read\",\r\n \"display\": {\r\n \"Provider\": \"Microsoft DocumentDb\",\r\n \"Resource\": \"Database Account\",\r\n \"Operation\": \"Get database account metric definitions\",\r\n \"Description\": \"Gets the available metrics for the database Account\"\r\n },\r\n \"properties\": {\r\n \"serviceSpecification\": {\r\n \"metricSpecifications\": [\r\n {\r\n \"name\": \"CreateAccount\",\r\n \"displayName\": \"Account Created\",\r\n \"internalMetricName\": \"CreateAccount\",\r\n \"displayDescription\": \"Account Created\",\r\n \"unit\": \"Count\",\r\n \"aggregationType\": \"Count\",\r\n \"lockAggregationType\": \"\",\r\n \"sourceMdmAccount\": \"CosmosDBCustomer\",\r\n \"sourceMdmNamespace\": \"AzureMonitor\",\r\n \"fillGapWithZero\": true,\r\n \"category\": \"Requests\",\r\n \"resourceIdDimensionNameOverride\": \"GlobalDatabaseAccountName\",\r\n \"supportedAggregationTypes\": [\r\n \"Count\"\r\n ],\r\n \"supportedTimeGrainTypes\": [\r\n \"PT5M\"\r\n ],\r\n \"dimensions\": []\r\n },\r\n {\r\n \"name\": \"CassandraKeyspaceUpdate\",\r\n \"displayName\": \"Cassandra Keyspace Updated\",\r\n \"internalMetricName\": \"ControlPlaneArmAPIRequest\",\r\n \"displayDescription\": \"Cassandra Keyspace Updated\",\r\n \"unit\": \"Count\",\r\n \"aggregationType\": \"Count\",\r\n \"lockAggregationType\": \"\",\r\n \"sourceMdmAccount\": \"CosmosDBCustomer\",\r\n \"sourceMdmNamespace\": \"AzureMonitor\",\r\n \"fillGapWithZero\": true,\r\n \"category\": \"Requests\",\r\n \"resourceIdDimensionNameOverride\": \"GlobalDatabaseAccountName\",\r\n \"supportedAggregationTypes\": [\r\n \"Count\"\r\n ],\r\n \"supportedTimeGrainTypes\": [\r\n \"PT5M\"\r\n ],\r\n \"dimensions\": [\r\n {\r\n \"name\": \"ResourceName\",\r\n \"internalName\": \"ResourceName\",\r\n \"displayName\": \"Keyspace Name\"\r\n },\r\n {\r\n \"name\": \"ApiKind\",\r\n \"internalName\": \"ApiKind\",\r\n \"isHidden\": true,\r\n \"defaultDimensionValues\": [\r\n {\r\n \"value\": \"cassandra\"\r\n }\r\n ]\r\n },\r\n {\r\n \"name\": \"ApiKindResourceType\",\r\n \"internalName\": \"ApiKindResourceType\",\r\n \"isHidden\": true,\r\n \"defaultDimensionValues\": [\r\n {\r\n \"value\": \"keyspaces\"\r\n },\r\n {\r\n \"value\": \"cassandrakeyspaces\"\r\n }\r\n ]\r\n },\r\n {\r\n \"name\": \"IsThroughputRequest\",\r\n \"internalName\": \"IsThroughputRequest\",\r\n \"isHidden\": true,\r\n \"defaultDimensionValues\": [\r\n {\r\n \"value\": \"False\"\r\n }\r\n ]\r\n },\r\n {\r\n \"name\": \"OperationType\",\r\n \"internalName\": \"OperationType\",\r\n \"isHidden\": true,\r\n \"defaultDimensionValues\": [\r\n {\r\n \"value\": \"Upsert\"\r\n },\r\n {\r\n \"value\": \"Replace\"\r\n }\r\n ]\r\n }\r\n ]\r\n },\r\n {\r\n \"name\": \"GremlinGraphDelete\",\r\n \"displayName\": \"Gremlin Graph Deleted\",\r\n \"internalMetricName\": \"ControlPlaneArmAPIRequest\",\r\n \"displayDescription\": \"Gremlin Graph Deleted\",\r\n \"unit\": \"Count\",\r\n \"aggregationType\": \"Count\",\r\n \"lockAggregationType\": \"\",\r\n \"sourceMdmAccount\": \"CosmosDBCustomer\",\r\n \"sourceMdmNamespace\": \"AzureMonitor\",\r\n \"fillGapWithZero\": true,\r\n \"category\": \"Requests\",\r\n \"resourceIdDimensionNameOverride\": \"GlobalDatabaseAccountName\",\r\n \"supportedAggregationTypes\": [\r\n \"Count\"\r\n ],\r\n \"supportedTimeGrainTypes\": [\r\n \"PT5M\"\r\n ],\r\n \"dimensions\": [\r\n {\r\n \"name\": \"ResourceName\",\r\n \"internalName\": \"ResourceName\",\r\n \"displayName\": \"Database Name\"\r\n },\r\n {\r\n \"name\": \"ChildResourceName\",\r\n \"internalName\": \"ChildResourceName\",\r\n \"displayName\": \"Graph Name\"\r\n },\r\n {\r\n \"name\": \"ApiKind\",\r\n \"internalName\": \"ApiKind\",\r\n \"isHidden\": true,\r\n \"defaultDimensionValues\": [\r\n {\r\n \"value\": \"gremlin\"\r\n }\r\n ]\r\n },\r\n {\r\n \"name\": \"ApiKindResourceType\",\r\n \"internalName\": \"ApiKindResourceType\",\r\n \"isHidden\": true,\r\n \"defaultDimensionValues\": [\r\n {\r\n \"value\": \"graphs\"\r\n }\r\n ]\r\n },\r\n {\r\n \"name\": \"OperationType\",\r\n \"internalName\": \"OperationType\",\r\n \"isHidden\": true,\r\n \"defaultDimensionValues\": [\r\n {\r\n \"value\": \"Delete\"\r\n }\r\n ]\r\n }\r\n ]\r\n },\r\n {\r\n \"name\": \"CassandraTableCreate\",\r\n \"displayName\": \"Cassandra Table Created\",\r\n \"internalMetricName\": \"ControlPlaneArmAPIRequest\",\r\n \"displayDescription\": \"Cassandra Table Created\",\r\n \"unit\": \"Count\",\r\n \"aggregationType\": \"Count\",\r\n \"lockAggregationType\": \"\",\r\n \"sourceMdmAccount\": \"CosmosDBCustomer\",\r\n \"sourceMdmNamespace\": \"AzureMonitor\",\r\n \"fillGapWithZero\": true,\r\n \"category\": \"Requests\",\r\n \"resourceIdDimensionNameOverride\": \"GlobalDatabaseAccountName\",\r\n \"supportedAggregationTypes\": [\r\n \"Count\"\r\n ],\r\n \"supportedTimeGrainTypes\": [\r\n \"PT5M\"\r\n ],\r\n \"dimensions\": [\r\n {\r\n \"name\": \"ResourceName\",\r\n \"displayName\": \"Keyspace Name\",\r\n \"internalName\": \"ResourceName\"\r\n },\r\n {\r\n \"name\": \"ChildResourceName\",\r\n \"displayName\": \"Table Name\",\r\n \"internalName\": \"ChildResourceName\"\r\n },\r\n {\r\n \"name\": \"ApiKind\",\r\n \"internalName\": \"ApiKind\",\r\n \"isHidden\": true,\r\n \"defaultDimensionValues\": [\r\n {\r\n \"value\": \"cassandra\"\r\n }\r\n ]\r\n },\r\n {\r\n \"name\": \"ApiKindResourceType\",\r\n \"internalName\": \"ApiKindResourceType\",\r\n \"isHidden\": true,\r\n \"defaultDimensionValues\": [\r\n {\r\n \"value\": \"tables\"\r\n }\r\n ]\r\n },\r\n {\r\n \"name\": \"IsThroughputRequest\",\r\n \"internalName\": \"IsThroughputRequest\",\r\n \"isHidden\": true,\r\n \"defaultDimensionValues\": [\r\n {\r\n \"value\": \"False\"\r\n }\r\n ]\r\n },\r\n {\r\n \"name\": \"OperationType\",\r\n \"internalName\": \"OperationType\",\r\n \"isHidden\": true,\r\n \"defaultDimensionValues\": [\r\n {\r\n \"value\": \"Create\"\r\n }\r\n ]\r\n }\r\n ]\r\n },\r\n {\r\n \"name\": \"MetadataRequests\",\r\n \"displayName\": \"Metadata Requests\",\r\n \"internalMetricName\": \"MetadataRequests\",\r\n \"displayDescription\": \"Count of metadata requests. Cosmos DB maintains system metadata collection for each account, that allows you to enumerate collections, databases, etc, and their configurations, free of charge.\",\r\n \"unit\": \"Count\",\r\n \"aggregationType\": \"Count\",\r\n \"lockAggregationType\": \"\",\r\n \"sourceMdmAccount\": \"CosmosDBCustomer\",\r\n \"sourceMdmNamespace\": \"AzureMonitor\",\r\n \"fillGapWithZero\": true,\r\n \"category\": \"Requests\",\r\n \"resourceIdDimensionNameOverride\": \"GlobalDatabaseAccountName\",\r\n \"supportedAggregationTypes\": [\r\n \"Count\"\r\n ],\r\n \"dimensions\": [\r\n {\r\n \"name\": \"DatabaseName\",\r\n \"internalName\": \"DatabaseName\"\r\n },\r\n {\r\n \"name\": \"CollectionName\",\r\n \"internalName\": \"CollectionName\"\r\n },\r\n {\r\n \"name\": \"Region\",\r\n \"internalName\": \"Region\"\r\n },\r\n {\r\n \"name\": \"StatusCode\",\r\n \"internalName\": \"StatusCode\"\r\n },\r\n {\r\n \"name\": \"Role\",\r\n \"internalName\": \"Role\",\r\n \"isHidden\": true,\r\n \"defaultDimensionValues\": [\r\n {\r\n \"value\": \"MasterCluster0\"\r\n }\r\n ]\r\n }\r\n ]\r\n },\r\n {\r\n \"name\": \"DataUsage\",\r\n \"displayName\": \"Data Usage\",\r\n \"internalMetricName\": \"DataUsage\",\r\n \"displayDescription\": \"Total data usage reported at 5 minutes granularity\",\r\n \"unit\": \"Bytes\",\r\n \"aggregationType\": \"Total\",\r\n \"lockAggregationType\": \"Total\",\r\n \"sourceMdmAccount\": \"CosmosDBCustomer\",\r\n \"sourceMdmNamespace\": \"AzureMonitor\",\r\n \"fillGapWithZero\": true,\r\n \"category\": \"Requests\",\r\n \"resourceIdDimensionNameOverride\": \"GlobalDatabaseAccountName\",\r\n \"supportedAggregationTypes\": [\r\n \"Total\",\r\n \" Average\"\r\n ],\r\n \"supportedTimeGrainTypes\": [\r\n \"PT5M\"\r\n ],\r\n \"dimensions\": [\r\n {\r\n \"name\": \"CollectionName\",\r\n \"internalName\": \"CollectionName\"\r\n },\r\n {\r\n \"name\": \"DatabaseName\",\r\n \"internalName\": \"DatabaseName\"\r\n },\r\n {\r\n \"name\": \"Region\",\r\n \"internalName\": \"Region\"\r\n }\r\n ]\r\n },\r\n {\r\n \"name\": \"IndexUsage\",\r\n \"displayName\": \"Index Usage\",\r\n \"internalMetricName\": \"IndexUsage\",\r\n \"displayDescription\": \"Total index usage reported at 5 minutes granularity\",\r\n \"unit\": \"Bytes\",\r\n \"aggregationType\": \"Total\",\r\n \"lockAggregationType\": \"Total\",\r\n \"sourceMdmAccount\": \"CosmosDBCustomer\",\r\n \"sourceMdmNamespace\": \"AzureMonitor\",\r\n \"fillGapWithZero\": true,\r\n \"category\": \"Requests\",\r\n \"resourceIdDimensionNameOverride\": \"GlobalDatabaseAccountName\",\r\n \"supportedAggregationTypes\": [\r\n \"Total\",\r\n \" Average\"\r\n ],\r\n \"supportedTimeGrainTypes\": [\r\n \"PT5M\"\r\n ],\r\n \"dimensions\": [\r\n {\r\n \"name\": \"CollectionName\",\r\n \"internalName\": \"CollectionName\"\r\n },\r\n {\r\n \"name\": \"DatabaseName\",\r\n \"internalName\": \"DatabaseName\"\r\n },\r\n {\r\n \"name\": \"Region\",\r\n \"internalName\": \"Region\"\r\n }\r\n ]\r\n },\r\n {\r\n \"name\": \"GremlinDatabaseCreate\",\r\n \"displayName\": \"Gremlin Database Created\",\r\n \"internalMetricName\": \"ControlPlaneArmAPIRequest\",\r\n \"displayDescription\": \"Gremlin Database Created\",\r\n \"unit\": \"Count\",\r\n \"aggregationType\": \"Count\",\r\n \"lockAggregationType\": \"\",\r\n \"sourceMdmAccount\": \"CosmosDBCustomer\",\r\n \"sourceMdmNamespace\": \"AzureMonitor\",\r\n \"fillGapWithZero\": true,\r\n \"category\": \"Requests\",\r\n \"resourceIdDimensionNameOverride\": \"GlobalDatabaseAccountName\",\r\n \"supportedAggregationTypes\": [\r\n \"Count\"\r\n ],\r\n \"supportedTimeGrainTypes\": [\r\n \"PT5M\"\r\n ],\r\n \"dimensions\": [\r\n {\r\n \"name\": \"ResourceName\",\r\n \"displayName\": \"Database Name\",\r\n \"internalName\": \"ResourceName\"\r\n },\r\n {\r\n \"name\": \"ApiKind\",\r\n \"internalName\": \"ApiKind\",\r\n \"isHidden\": true,\r\n \"defaultDimensionValues\": [\r\n {\r\n \"value\": \"gremlin\"\r\n }\r\n ]\r\n },\r\n {\r\n \"name\": \"ApiKindResourceType\",\r\n \"internalName\": \"ApiKindResourceType\",\r\n \"isHidden\": true,\r\n \"defaultDimensionValues\": [\r\n {\r\n \"value\": \"databases\"\r\n },\r\n {\r\n \"value\": \"gremlindatabases\"\r\n }\r\n ]\r\n },\r\n {\r\n \"name\": \"IsThroughputRequest\",\r\n \"internalName\": \"IsThroughputRequest\",\r\n \"isHidden\": true,\r\n \"defaultDimensionValues\": [\r\n {\r\n \"value\": \"False\"\r\n }\r\n ]\r\n },\r\n {\r\n \"name\": \"OperationType\",\r\n \"internalName\": \"OperationType\",\r\n \"isHidden\": true,\r\n \"defaultDimensionValues\": [\r\n {\r\n \"value\": \"Create\"\r\n }\r\n ]\r\n }\r\n ]\r\n },\r\n {\r\n \"name\": \"GremlinGraphUpdate\",\r\n \"displayName\": \"Gremlin Graph Updated\",\r\n \"internalMetricName\": \"ControlPlaneArmAPIRequest\",\r\n \"displayDescription\": \"Gremlin Graph Updated\",\r\n \"unit\": \"Count\",\r\n \"aggregationType\": \"Count\",\r\n \"lockAggregationType\": \"\",\r\n \"sourceMdmAccount\": \"CosmosDBCustomer\",\r\n \"sourceMdmNamespace\": \"AzureMonitor\",\r\n \"fillGapWithZero\": true,\r\n \"category\": \"Requests\",\r\n \"resourceIdDimensionNameOverride\": \"GlobalDatabaseAccountName\",\r\n \"supportedAggregationTypes\": [\r\n \"Count\"\r\n ],\r\n \"supportedTimeGrainTypes\": [\r\n \"PT5M\"\r\n ],\r\n \"dimensions\": [\r\n {\r\n \"name\": \"ResourceName\",\r\n \"internalName\": \"ResourceName\",\r\n \"displayName\": \"Database Name\"\r\n },\r\n {\r\n \"name\": \"ChildResourceName\",\r\n \"internalName\": \"ChildResourceName\",\r\n \"displayName\": \"Graph Name\"\r\n },\r\n {\r\n \"name\": \"ApiKind\",\r\n \"internalName\": \"ApiKind\",\r\n \"isHidden\": true,\r\n \"defaultDimensionValues\": [\r\n {\r\n \"value\": \"gremlin\"\r\n }\r\n ]\r\n },\r\n {\r\n \"name\": \"ApiKindResourceType\",\r\n \"internalName\": \"ApiKindResourceType\",\r\n \"isHidden\": true,\r\n \"defaultDimensionValues\": [\r\n {\r\n \"value\": \"graphs\"\r\n }\r\n ]\r\n },\r\n {\r\n \"name\": \"IsThroughputRequest\",\r\n \"internalName\": \"IsThroughputRequest\",\r\n \"isHidden\": true,\r\n \"defaultDimensionValues\": [\r\n {\r\n \"value\": \"False\"\r\n }\r\n ]\r\n },\r\n {\r\n \"name\": \"OperationType\",\r\n \"internalName\": \"OperationType\",\r\n \"isHidden\": true,\r\n \"defaultDimensionValues\": [\r\n {\r\n \"value\": \"Upsert\"\r\n },\r\n {\r\n \"value\": \"Replace\"\r\n }\r\n ]\r\n }\r\n ]\r\n },\r\n {\r\n \"name\": \"CassandraTableDelete\",\r\n \"displayName\": \"Cassandra Table Deleted\",\r\n \"internalMetricName\": \"ControlPlaneArmAPIRequest\",\r\n \"displayDescription\": \"Cassandra Table Deleted\",\r\n \"unit\": \"Count\",\r\n \"aggregationType\": \"Count\",\r\n \"lockAggregationType\": \"\",\r\n \"sourceMdmAccount\": \"CosmosDBCustomer\",\r\n \"sourceMdmNamespace\": \"AzureMonitor\",\r\n \"fillGapWithZero\": true,\r\n \"category\": \"Requests\",\r\n \"resourceIdDimensionNameOverride\": \"GlobalDatabaseAccountName\",\r\n \"supportedAggregationTypes\": [\r\n \"Count\"\r\n ],\r\n \"supportedTimeGrainTypes\": [\r\n \"PT5M\"\r\n ],\r\n \"dimensions\": [\r\n {\r\n \"name\": \"ResourceName\",\r\n \"internalName\": \"ResourceName\",\r\n \"displayName\": \"Keyspace Name\"\r\n },\r\n {\r\n \"name\": \"ChildResourceName\",\r\n \"internalName\": \"ChildResourceName\",\r\n \"displayName\": \"Table Name\"\r\n },\r\n {\r\n \"name\": \"ApiKind\",\r\n \"internalName\": \"ApiKind\",\r\n \"isHidden\": true,\r\n \"defaultDimensionValues\": [\r\n {\r\n \"value\": \"cassandra\"\r\n }\r\n ]\r\n },\r\n {\r\n \"name\": \"ApiKindResourceType\",\r\n \"internalName\": \"ApiKindResourceType\",\r\n \"isHidden\": true,\r\n \"defaultDimensionValues\": [\r\n {\r\n \"value\": \"tables\"\r\n }\r\n ]\r\n },\r\n {\r\n \"name\": \"OperationType\",\r\n \"internalName\": \"OperationType\",\r\n \"isHidden\": true,\r\n \"defaultDimensionValues\": [\r\n {\r\n \"value\": \"Delete\"\r\n }\r\n ]\r\n }\r\n ]\r\n },\r\n {\r\n \"name\": \"CassandraConnectorAvgReplicationLatency\",\r\n \"displayName\": \"Cassandra Connector Average ReplicationLatency\",\r\n \"internalMetricName\": \"AverageReplicationLatencyInMilliseconds\",\r\n \"displayDescription\": \"Cassandra Connector Average ReplicationLatency\",\r\n \"unit\": \"MilliSeconds\",\r\n \"aggregationType\": \"Average\",\r\n \"lockAggregationType\": \"\",\r\n \"sourceMdmAccount\": \"CosmosDBCustomer\",\r\n \"sourceMdmNamespace\": \"AzureMonitor\",\r\n \"fillGapWithZero\": true,\r\n \"category\": \"Requests\",\r\n \"resourceIdDimensionNameOverride\": \"DatabaseAccount\",\r\n \"supportedAggregationTypes\": [\r\n \"Average\"\r\n ],\r\n \"supportedTimeGrainTypes\": [\r\n \"PT5M\"\r\n ],\r\n \"dimensions\": []\r\n },\r\n {\r\n \"name\": \"CassandraRequestCharges\",\r\n \"displayName\": \"Cassandra Request Charges\",\r\n \"internalMetricName\": \"CassandraRequestCharges\",\r\n \"displayDescription\": \"RUs consumed for Cassandra requests made\",\r\n \"unit\": \"Count\",\r\n \"aggregationType\": \"Total\",\r\n \"lockAggregationType\": \"Total\",\r\n \"sourceMdmAccount\": \"CosmosDBCustomer\",\r\n \"sourceMdmNamespace\": \"AzureMonitor\",\r\n \"fillGapWithZero\": true,\r\n \"category\": \"Requests\",\r\n \"resourceIdDimensionNameOverride\": \"GlobalDatabaseAccountName\",\r\n \"supportedAggregationTypes\": [\r\n \"Total\",\r\n \"Average\",\r\n \"Minimum\",\r\n \"Maximum\"\r\n ],\r\n \"supportedTimeGrainTypes\": [\r\n \"PT1M\"\r\n ],\r\n \"dimensions\": [\r\n {\r\n \"name\": \"APIType\",\r\n \"internalName\": \"APIType\",\r\n \"isHidden\": true,\r\n \"defaultDimensionValues\": [\r\n {\r\n \"value\": \"CassandraService\"\r\n }\r\n ]\r\n },\r\n {\r\n \"name\": \"DatabaseName\",\r\n \"internalName\": \"DatabaseName\"\r\n },\r\n {\r\n \"name\": \"CollectionName\",\r\n \"internalName\": \"CollectionName\"\r\n },\r\n {\r\n \"name\": \"Region\",\r\n \"internalName\": \"Region\"\r\n },\r\n {\r\n \"name\": \"OperationType\",\r\n \"internalName\": \"OperationType\"\r\n },\r\n {\r\n \"name\": \"ResourceType\",\r\n \"internalName\": \"ResourceType\"\r\n }\r\n ]\r\n },\r\n {\r\n \"name\": \"CassandraRequests\",\r\n \"displayName\": \"Cassandra Requests\",\r\n \"internalMetricName\": \"CassandraRequests\",\r\n \"displayDescription\": \"Number of Cassandra requests made\",\r\n \"unit\": \"Count\",\r\n \"aggregationType\": \"Count\",\r\n \"lockAggregationType\": \"\",\r\n \"sourceMdmAccount\": \"CosmosDBCustomer\",\r\n \"sourceMdmNamespace\": \"AzureMonitor\",\r\n \"fillGapWithZero\": true,\r\n \"category\": \"Requests\",\r\n \"resourceIdDimensionNameOverride\": \"GlobalDatabaseAccountName\",\r\n \"supportedAggregationTypes\": [\r\n \"Count\"\r\n ],\r\n \"supportedTimeGrainTypes\": [\r\n \"PT1M\"\r\n ],\r\n \"dimensions\": [\r\n {\r\n \"name\": \"APIType\",\r\n \"internalName\": \"APIType\",\r\n \"isHidden\": true,\r\n \"defaultDimensionValues\": [\r\n {\r\n \"value\": \"CassandraService\"\r\n }\r\n ]\r\n },\r\n {\r\n \"name\": \"DatabaseName\",\r\n \"internalName\": \"DatabaseName\"\r\n },\r\n {\r\n \"name\": \"CollectionName\",\r\n \"internalName\": \"CollectionName\"\r\n },\r\n {\r\n \"name\": \"Region\",\r\n \"internalName\": \"Region\"\r\n },\r\n {\r\n \"name\": \"OperationType\",\r\n \"internalName\": \"OperationType\"\r\n },\r\n {\r\n \"name\": \"ResourceType\",\r\n \"internalName\": \"ResourceType\"\r\n },\r\n {\r\n \"name\": \"ErrorCode\",\r\n \"internalName\": \"ErrorCode\"\r\n }\r\n ]\r\n },\r\n {\r\n \"name\": \"DeleteAccount\",\r\n \"displayName\": \"Account Deleted\",\r\n \"internalMetricName\": \"DeleteAccount\",\r\n \"displayDescription\": \"Account Deleted\",\r\n \"unit\": \"Count\",\r\n \"aggregationType\": \"Count\",\r\n \"lockAggregationType\": \"\",\r\n \"sourceMdmAccount\": \"CosmosDBCustomer\",\r\n \"sourceMdmNamespace\": \"AzureMonitor\",\r\n \"fillGapWithZero\": true,\r\n \"category\": \"Requests\",\r\n \"resourceIdDimensionNameOverride\": \"GlobalDatabaseAccountName\",\r\n \"supportedAggregationTypes\": [\r\n \"Count\"\r\n ],\r\n \"supportedTimeGrainTypes\": [\r\n \"PT5M\"\r\n ],\r\n \"dimensions\": []\r\n },\r\n {\r\n \"name\": \"GremlinDatabaseDelete\",\r\n \"displayName\": \"Gremlin Database Deleted\",\r\n \"internalMetricName\": \"ControlPlaneArmAPIRequest\",\r\n \"displayDescription\": \"Gremlin Database Deleted\",\r\n \"unit\": \"Count\",\r\n \"aggregationType\": \"Count\",\r\n \"lockAggregationType\": \"\",\r\n \"sourceMdmAccount\": \"CosmosDBCustomer\",\r\n \"sourceMdmNamespace\": \"AzureMonitor\",\r\n \"fillGapWithZero\": true,\r\n \"category\": \"Requests\",\r\n \"resourceIdDimensionNameOverride\": \"GlobalDatabaseAccountName\",\r\n \"supportedAggregationTypes\": [\r\n \"Count\"\r\n ],\r\n \"supportedTimeGrainTypes\": [\r\n \"PT5M\"\r\n ],\r\n \"dimensions\": [\r\n {\r\n \"name\": \"ResourceName\",\r\n \"internalName\": \"ResourceName\",\r\n \"displayName\": \"Database Name\"\r\n },\r\n {\r\n \"name\": \"ApiKind\",\r\n \"internalName\": \"ApiKind\",\r\n \"isHidden\": true,\r\n \"defaultDimensionValues\": [\r\n {\r\n \"value\": \"gremlin\"\r\n }\r\n ]\r\n },\r\n {\r\n \"name\": \"ApiKindResourceType\",\r\n \"internalName\": \"ApiKindResourceType\",\r\n \"isHidden\": true,\r\n \"defaultDimensionValues\": [\r\n {\r\n \"value\": \"databases\"\r\n },\r\n {\r\n \"value\": \"gremlindatabases\"\r\n }\r\n ]\r\n },\r\n {\r\n \"name\": \"OperationType\",\r\n \"internalName\": \"OperationType\",\r\n \"isHidden\": true,\r\n \"defaultDimensionValues\": [\r\n {\r\n \"value\": \"Delete\"\r\n }\r\n ]\r\n }\r\n ]\r\n },\r\n {\r\n \"name\": \"MongoDBDatabaseUpdate\",\r\n \"displayName\": \"Mongo Database Updated\",\r\n \"internalMetricName\": \"ControlPlaneArmAPIRequest\",\r\n \"displayDescription\": \"Mongo Database Updated\",\r\n \"unit\": \"Count\",\r\n \"aggregationType\": \"Count\",\r\n \"lockAggregationType\": \"\",\r\n \"sourceMdmAccount\": \"CosmosDBCustomer\",\r\n \"sourceMdmNamespace\": \"AzureMonitor\",\r\n \"fillGapWithZero\": true,\r\n \"category\": \"Requests\",\r\n \"resourceIdDimensionNameOverride\": \"GlobalDatabaseAccountName\",\r\n \"supportedAggregationTypes\": [\r\n \"Count\"\r\n ],\r\n \"supportedTimeGrainTypes\": [\r\n \"PT5M\"\r\n ],\r\n \"dimensions\": [\r\n {\r\n \"name\": \"ResourceName\",\r\n \"internalName\": \"ResourceName\",\r\n \"displayName\": \"Database Name\"\r\n },\r\n {\r\n \"name\": \"ApiKind\",\r\n \"internalName\": \"ApiKind\",\r\n \"isHidden\": true,\r\n \"defaultDimensionValues\": [\r\n {\r\n \"value\": \"mongodb\"\r\n }\r\n ]\r\n },\r\n {\r\n \"name\": \"ApiKindResourceType\",\r\n \"internalName\": \"ApiKindResourceType\",\r\n \"isHidden\": true,\r\n \"defaultDimensionValues\": [\r\n {\r\n \"value\": \"databases\"\r\n },\r\n {\r\n \"value\": \"mongodbdatabases\"\r\n }\r\n ]\r\n },\r\n {\r\n \"name\": \"IsThroughputRequest\",\r\n \"internalName\": \"IsThroughputRequest\",\r\n \"isHidden\": true,\r\n \"defaultDimensionValues\": [\r\n {\r\n \"value\": \"False\"\r\n }\r\n ]\r\n },\r\n {\r\n \"name\": \"OperationType\",\r\n \"internalName\": \"OperationType\",\r\n \"isHidden\": true,\r\n \"defaultDimensionValues\": [\r\n {\r\n \"value\": \"Upsert\"\r\n },\r\n {\r\n \"value\": \"Replace\"\r\n }\r\n ]\r\n }\r\n ]\r\n },\r\n {\r\n \"name\": \"MongoDatabaseDelete\",\r\n \"displayName\": \"Mongo Database Deleted\",\r\n \"internalMetricName\": \"ControlPlaneArmAPIRequest\",\r\n \"displayDescription\": \"Mongo Database Deleted\",\r\n \"unit\": \"Count\",\r\n \"aggregationType\": \"Count\",\r\n \"lockAggregationType\": \"\",\r\n \"sourceMdmAccount\": \"CosmosDBCustomer\",\r\n \"sourceMdmNamespace\": \"AzureMonitor\",\r\n \"fillGapWithZero\": true,\r\n \"category\": \"Requests\",\r\n \"resourceIdDimensionNameOverride\": \"GlobalDatabaseAccountName\",\r\n \"supportedAggregationTypes\": [\r\n \"Count\"\r\n ],\r\n \"supportedTimeGrainTypes\": [\r\n \"PT5M\"\r\n ],\r\n \"dimensions\": [\r\n {\r\n \"name\": \"ResourceName\",\r\n \"internalName\": \"ResourceName\",\r\n \"displayName\": \"Database Name\"\r\n },\r\n {\r\n \"name\": \"ApiKind\",\r\n \"internalName\": \"ApiKind\",\r\n \"isHidden\": true,\r\n \"defaultDimensionValues\": [\r\n {\r\n \"value\": \"mongodb\"\r\n }\r\n ]\r\n },\r\n {\r\n \"name\": \"ApiKindResourceType\",\r\n \"internalName\": \"ApiKindResourceType\",\r\n \"isHidden\": true,\r\n \"defaultDimensionValues\": [\r\n {\r\n \"value\": \"databases\"\r\n },\r\n {\r\n \"value\": \"mongodbdatabases\"\r\n }\r\n ]\r\n },\r\n {\r\n \"name\": \"OperationType\",\r\n \"internalName\": \"OperationType\",\r\n \"isHidden\": true,\r\n \"defaultDimensionValues\": [\r\n {\r\n \"value\": \"Delete\"\r\n }\r\n ]\r\n }\r\n ]\r\n },\r\n {\r\n \"name\": \"MongoDatabaseThroughputUpdate\",\r\n \"displayName\": \"Mongo Database Throughput Updated\",\r\n \"internalMetricName\": \"ControlPlaneArmAPIRequest\",\r\n \"displayDescription\": \"Mongo Database Throughput Updated\",\r\n \"unit\": \"Count\",\r\n \"aggregationType\": \"Count\",\r\n \"lockAggregationType\": \"\",\r\n \"sourceMdmAccount\": \"CosmosDBCustomer\",\r\n \"sourceMdmNamespace\": \"AzureMonitor\",\r\n \"fillGapWithZero\": true,\r\n \"category\": \"Requests\",\r\n \"resourceIdDimensionNameOverride\": \"GlobalDatabaseAccountName\",\r\n \"supportedAggregationTypes\": [\r\n \"Count\"\r\n ],\r\n \"supportedTimeGrainTypes\": [\r\n \"PT5M\"\r\n ],\r\n \"dimensions\": [\r\n {\r\n \"name\": \"ResourceName\",\r\n \"internalName\": \"ResourceName\",\r\n \"displayName\": \"Database Name\"\r\n },\r\n {\r\n \"name\": \"ApiKind\",\r\n \"internalName\": \"ApiKind\",\r\n \"isHidden\": true,\r\n \"defaultDimensionValues\": [\r\n {\r\n \"value\": \"mongodb\"\r\n }\r\n ]\r\n },\r\n {\r\n \"name\": \"ApiKindResourceType\",\r\n \"internalName\": \"ApiKindResourceType\",\r\n \"isHidden\": true,\r\n \"defaultDimensionValues\": [\r\n {\r\n \"value\": \"databases\"\r\n },\r\n {\r\n \"value\": \"mongodbdatabases\"\r\n }\r\n ]\r\n },\r\n {\r\n \"name\": \"IsThroughputRequest\",\r\n \"internalName\": \"IsThroughputRequest\",\r\n \"isHidden\": true,\r\n \"defaultDimensionValues\": [\r\n {\r\n \"value\": \"True\"\r\n }\r\n ]\r\n }\r\n ]\r\n },\r\n {\r\n \"name\": \"MongoRequests\",\r\n \"displayName\": \"Mongo Requests\",\r\n \"internalMetricName\": \"MongoRequests\",\r\n \"displayDescription\": \"Number of Mongo Requests Made\",\r\n \"unit\": \"Count\",\r\n \"aggregationType\": \"Count\",\r\n \"lockAggregationType\": \"\",\r\n \"sourceMdmAccount\": \"CosmosDBCustomer\",\r\n \"sourceMdmNamespace\": \"AzureMonitor\",\r\n \"fillGapWithZero\": true,\r\n \"category\": \"Requests\",\r\n \"resourceIdDimensionNameOverride\": \"GlobalDatabaseAccountName\",\r\n \"supportedAggregationTypes\": [\r\n \"Count\"\r\n ],\r\n \"dimensions\": [\r\n {\r\n \"name\": \"DatabaseName\",\r\n \"internalName\": \"DatabaseName\"\r\n },\r\n {\r\n \"name\": \"CollectionName\",\r\n \"internalName\": \"CollectionName\"\r\n },\r\n {\r\n \"name\": \"Region\",\r\n \"internalName\": \"Region\"\r\n },\r\n {\r\n \"name\": \"CommandName\",\r\n \"internalName\": \"CommandName\"\r\n },\r\n {\r\n \"name\": \"ErrorCode\",\r\n \"internalName\": \"ErrorCode\"\r\n },\r\n {\r\n \"name\": \"Status\",\r\n \"internalName\": \"Status\"\r\n }\r\n ]\r\n },\r\n {\r\n \"name\": \"MongoRequestsDelete\",\r\n \"displayName\": \"(deprecated) Mongo Delete Request Rate\",\r\n \"internalMetricName\": \"MongoRequests\",\r\n \"displayDescription\": \"Mongo Delete request per second\",\r\n \"unit\": \"CountPerSecond\",\r\n \"aggregationType\": \"Average\",\r\n \"lockAggregationType\": \"Average\",\r\n \"sourceMdmAccount\": \"CosmosDBCustomer\",\r\n \"sourceMdmNamespace\": \"AzureMonitor\",\r\n \"fillGapWithZero\": true,\r\n \"category\": \"Requests\",\r\n \"resourceIdDimensionNameOverride\": \"GlobalDatabaseAccountName\",\r\n \"supportedAggregationTypes\": [\r\n \"Average\"\r\n ],\r\n \"dimensions\": [\r\n {\r\n \"name\": \"DatabaseName\",\r\n \"internalName\": \"DatabaseName\"\r\n },\r\n {\r\n \"name\": \"CollectionName\",\r\n \"internalName\": \"CollectionName\"\r\n },\r\n {\r\n \"name\": \"Region\",\r\n \"internalName\": \"Region\"\r\n },\r\n {\r\n \"name\": \"CommandName\",\r\n \"internalName\": \"CommandName\",\r\n \"isHidden\": true,\r\n \"defaultDimensionValues\": [\r\n {\r\n \"value\": \"Delete\"\r\n },\r\n {\r\n \"value\": \"OP_DELETE\"\r\n }\r\n ]\r\n },\r\n {\r\n \"name\": \"ErrorCode\",\r\n \"internalName\": \"ErrorCode\"\r\n }\r\n ]\r\n },\r\n {\r\n \"name\": \"MongoRequestsInsert\",\r\n \"displayName\": \"(deprecated) Mongo Insert Request Rate\",\r\n \"internalMetricName\": \"MongoRequests\",\r\n \"displayDescription\": \"Mongo Insert count per second\",\r\n \"unit\": \"CountPerSecond\",\r\n \"aggregationType\": \"Average\",\r\n \"lockAggregationType\": \"Average\",\r\n \"sourceMdmAccount\": \"CosmosDBCustomer\",\r\n \"sourceMdmNamespace\": \"AzureMonitor\",\r\n \"fillGapWithZero\": true,\r\n \"category\": \"Requests\",\r\n \"resourceIdDimensionNameOverride\": \"GlobalDatabaseAccountName\",\r\n \"supportedAggregationTypes\": [\r\n \"Average\"\r\n ],\r\n \"dimensions\": [\r\n {\r\n \"name\": \"DatabaseName\",\r\n \"internalName\": \"DatabaseName\"\r\n },\r\n {\r\n \"name\": \"CollectionName\",\r\n \"internalName\": \"CollectionName\"\r\n },\r\n {\r\n \"name\": \"Region\",\r\n \"internalName\": \"Region\"\r\n },\r\n {\r\n \"name\": \"CommandName\",\r\n \"internalName\": \"CommandName\",\r\n \"isHidden\": true,\r\n \"defaultDimensionValues\": [\r\n {\r\n \"value\": \"insert\"\r\n },\r\n {\r\n \"value\": \"OP_INSERT\"\r\n }\r\n ]\r\n },\r\n {\r\n \"name\": \"ErrorCode\",\r\n \"internalName\": \"ErrorCode\"\r\n }\r\n ]\r\n },\r\n {\r\n \"name\": \"MongoRequestsQuery\",\r\n \"displayName\": \"(deprecated) Mongo Query Request Rate\",\r\n \"internalMetricName\": \"MongoRequests\",\r\n \"displayDescription\": \"Mongo Query request per second\",\r\n \"unit\": \"CountPerSecond\",\r\n \"aggregationType\": \"Average\",\r\n \"lockAggregationType\": \"Average\",\r\n \"sourceMdmAccount\": \"CosmosDBCustomer\",\r\n \"sourceMdmNamespace\": \"AzureMonitor\",\r\n \"fillGapWithZero\": true,\r\n \"category\": \"Requests\",\r\n \"resourceIdDimensionNameOverride\": \"GlobalDatabaseAccountName\",\r\n \"supportedAggregationTypes\": [\r\n \"Average\"\r\n ],\r\n \"dimensions\": [\r\n {\r\n \"name\": \"DatabaseName\",\r\n \"internalName\": \"DatabaseName\"\r\n },\r\n {\r\n \"name\": \"CollectionName\",\r\n \"internalName\": \"CollectionName\"\r\n },\r\n {\r\n \"name\": \"Region\",\r\n \"internalName\": \"Region\"\r\n },\r\n {\r\n \"name\": \"CommandName\",\r\n \"internalName\": \"CommandName\",\r\n \"isHidden\": true,\r\n \"defaultDimensionValues\": [\r\n {\r\n \"value\": \"find\"\r\n },\r\n {\r\n \"value\": \"OP_QUERY\"\r\n },\r\n {\r\n \"value\": \"getMore\"\r\n },\r\n {\r\n \"value\": \"OP_GET_MORE\"\r\n }\r\n ]\r\n },\r\n {\r\n \"name\": \"ErrorCode\",\r\n \"internalName\": \"ErrorCode\"\r\n }\r\n ]\r\n },\r\n {\r\n \"name\": \"MongoRequestsUpdate\",\r\n \"displayName\": \"(deprecated) Mongo Update Request Rate\",\r\n \"internalMetricName\": \"MongoRequests\",\r\n \"displayDescription\": \"Mongo Update request per second\",\r\n \"unit\": \"CountPerSecond\",\r\n \"aggregationType\": \"Average\",\r\n \"lockAggregationType\": \"Average\",\r\n \"sourceMdmAccount\": \"CosmosDBCustomer\",\r\n \"sourceMdmNamespace\": \"AzureMonitor\",\r\n \"fillGapWithZero\": true,\r\n \"category\": \"Requests\",\r\n \"resourceIdDimensionNameOverride\": \"GlobalDatabaseAccountName\",\r\n \"supportedAggregationTypes\": [\r\n \"Average\"\r\n ],\r\n \"dimensions\": [\r\n {\r\n \"name\": \"DatabaseName\",\r\n \"internalName\": \"DatabaseName\"\r\n },\r\n {\r\n \"name\": \"CollectionName\",\r\n \"internalName\": \"CollectionName\"\r\n },\r\n {\r\n \"name\": \"Region\",\r\n \"internalName\": \"Region\"\r\n },\r\n {\r\n \"name\": \"CommandName\",\r\n \"internalName\": \"CommandName\",\r\n \"isHidden\": true,\r\n \"defaultDimensionValues\": [\r\n {\r\n \"value\": \"OP_UPDATE\"\r\n },\r\n {\r\n \"value\": \"findandmodify\"\r\n }\r\n ]\r\n },\r\n {\r\n \"name\": \"ErrorCode\",\r\n \"internalName\": \"ErrorCode\"\r\n }\r\n ]\r\n },\r\n {\r\n \"name\": \"ServerSideLatency\",\r\n \"displayName\": \"Server Side Latency\",\r\n \"internalMetricName\": \"ServerSideLatency\",\r\n \"displayDescription\": \"Server Side Latency\",\r\n \"unit\": \"MilliSeconds\",\r\n \"aggregationType\": \"Average\",\r\n \"lockAggregationType\": \"Average\",\r\n \"sourceMdmAccount\": \"CosmosDBCustomer\",\r\n \"sourceMdmNamespace\": \"AzureMonitor\",\r\n \"fillGapWithZero\": false,\r\n \"category\": \"Requests\",\r\n \"resourceIdDimensionNameOverride\": \"GlobalDatabaseAccountName\",\r\n \"supportedAggregationTypes\": [\r\n \"Average\"\r\n ],\r\n \"supportedTimeGrainTypes\": [\r\n \"PT1M\"\r\n ],\r\n \"dimensions\": [\r\n {\r\n \"name\": \"DatabaseName\",\r\n \"internalName\": \"DatabaseName\"\r\n },\r\n {\r\n \"name\": \"CollectionName\",\r\n \"internalName\": \"CollectionName\"\r\n },\r\n {\r\n \"name\": \"Region\",\r\n \"internalName\": \"Region\"\r\n },\r\n {\r\n \"name\": \"ConnectionMode\",\r\n \"internalName\": \"ConnectionMode\"\r\n },\r\n {\r\n \"name\": \"OperationType\",\r\n \"internalName\": \"OperationType\"\r\n },\r\n {\r\n \"name\": \"PublicAPIType\",\r\n \"internalName\": \"PublicAPIType\"\r\n }\r\n ]\r\n },\r\n {\r\n \"name\": \"SqlContainerThroughputUpdate\",\r\n \"displayName\": \"Sql Container Throughput Updated\",\r\n \"internalMetricName\": \"ControlPlaneArmAPIRequest\",\r\n \"displayDescription\": \"Sql Container Throughput Updated\",\r\n \"unit\": \"Count\",\r\n \"aggregationType\": \"Count\",\r\n \"lockAggregationType\": \"\",\r\n \"sourceMdmAccount\": \"CosmosDBCustomer\",\r\n \"sourceMdmNamespace\": \"AzureMonitor\",\r\n \"fillGapWithZero\": true,\r\n \"category\": \"Requests\",\r\n \"resourceIdDimensionNameOverride\": \"GlobalDatabaseAccountName\",\r\n \"supportedAggregationTypes\": [\r\n \"Count\"\r\n ],\r\n \"supportedTimeGrainTypes\": [\r\n \"PT5M\"\r\n ],\r\n \"dimensions\": [\r\n {\r\n \"name\": \"ResourceName\",\r\n \"internalName\": \"ResourceName\",\r\n \"displayName\": \"Database Name\"\r\n },\r\n {\r\n \"name\": \"ChildResourceName\",\r\n \"internalName\": \"ChildResourceName\",\r\n \"displayName\": \"Container Name\"\r\n },\r\n {\r\n \"name\": \"ApiKind\",\r\n \"internalName\": \"ApiKind\",\r\n \"isHidden\": true,\r\n \"defaultDimensionValues\": [\r\n {\r\n \"value\": \"sql\"\r\n }\r\n ]\r\n },\r\n {\r\n \"name\": \"ApiKindResourceType\",\r\n \"internalName\": \"ApiKindResourceType\",\r\n \"isHidden\": true,\r\n \"defaultDimensionValues\": [\r\n {\r\n \"value\": \"containers\"\r\n }\r\n ]\r\n },\r\n {\r\n \"name\": \"IsThroughputRequest\",\r\n \"internalName\": \"IsThroughputRequest\",\r\n \"isHidden\": true,\r\n \"defaultDimensionValues\": [\r\n {\r\n \"value\": \"True\"\r\n }\r\n ]\r\n }\r\n ]\r\n },\r\n {\r\n \"name\": \"SqlDatabaseCreate\",\r\n \"displayName\": \"Sql Database Created\",\r\n \"internalMetricName\": \"ControlPlaneArmAPIRequest\",\r\n \"displayDescription\": \"Sql Database Created\",\r\n \"unit\": \"Count\",\r\n \"aggregationType\": \"Count\",\r\n \"lockAggregationType\": \"\",\r\n \"sourceMdmAccount\": \"CosmosDBCustomer\",\r\n \"sourceMdmNamespace\": \"AzureMonitor\",\r\n \"fillGapWithZero\": true,\r\n \"category\": \"Requests\",\r\n \"resourceIdDimensionNameOverride\": \"GlobalDatabaseAccountName\",\r\n \"supportedAggregationTypes\": [\r\n \"Count\"\r\n ],\r\n \"supportedTimeGrainTypes\": [\r\n \"PT5M\"\r\n ],\r\n \"dimensions\": [\r\n {\r\n \"name\": \"ResourceName\",\r\n \"displayName\": \"Database Name\",\r\n \"internalName\": \"ResourceName\"\r\n },\r\n {\r\n \"name\": \"ApiKind\",\r\n \"internalName\": \"ApiKind\",\r\n \"isHidden\": true,\r\n \"defaultDimensionValues\": [\r\n {\r\n \"value\": \"sql\"\r\n }\r\n ]\r\n },\r\n {\r\n \"name\": \"ApiKindResourceType\",\r\n \"internalName\": \"ApiKindResourceType\",\r\n \"isHidden\": true,\r\n \"defaultDimensionValues\": [\r\n {\r\n \"value\": \"sqldatabases\"\r\n },\r\n {\r\n \"value\": \"databases\"\r\n }\r\n ]\r\n },\r\n {\r\n \"name\": \"IsThroughputRequest\",\r\n \"internalName\": \"IsThroughputRequest\",\r\n \"isHidden\": true,\r\n \"defaultDimensionValues\": [\r\n {\r\n \"value\": \"False\"\r\n }\r\n ]\r\n },\r\n {\r\n \"name\": \"OperationType\",\r\n \"internalName\": \"OperationType\",\r\n \"isHidden\": true,\r\n \"defaultDimensionValues\": [\r\n {\r\n \"value\": \"Create\"\r\n }\r\n ]\r\n }\r\n ]\r\n },\r\n {\r\n \"name\": \"SqlDatabaseThroughputUpdate\",\r\n \"displayName\": \"Sql Database Throughput Updated\",\r\n \"internalMetricName\": \"ControlPlaneArmAPIRequest\",\r\n \"displayDescription\": \"Sql Database Throughput Updated\",\r\n \"unit\": \"Count\",\r\n \"aggregationType\": \"Count\",\r\n \"lockAggregationType\": \"\",\r\n \"sourceMdmAccount\": \"CosmosDBCustomer\",\r\n \"sourceMdmNamespace\": \"AzureMonitor\",\r\n \"fillGapWithZero\": true,\r\n \"category\": \"Requests\",\r\n \"resourceIdDimensionNameOverride\": \"GlobalDatabaseAccountName\",\r\n \"supportedAggregationTypes\": [\r\n \"Count\"\r\n ],\r\n \"supportedTimeGrainTypes\": [\r\n \"PT5M\"\r\n ],\r\n \"dimensions\": [\r\n {\r\n \"name\": \"ResourceName\",\r\n \"internalName\": \"ResourceName\",\r\n \"displayName\": \"Database Name\"\r\n },\r\n {\r\n \"name\": \"ApiKind\",\r\n \"internalName\": \"ApiKind\",\r\n \"isHidden\": true,\r\n \"defaultDimensionValues\": [\r\n {\r\n \"value\": \"sql\"\r\n }\r\n ]\r\n },\r\n {\r\n \"name\": \"ApiKindResourceType\",\r\n \"internalName\": \"ApiKindResourceType\",\r\n \"isHidden\": true,\r\n \"defaultDimensionValues\": [\r\n {\r\n \"value\": \"databases\"\r\n },\r\n {\r\n \"value\": \"sqldatabases\"\r\n }\r\n ]\r\n },\r\n {\r\n \"name\": \"IsThroughputRequest\",\r\n \"internalName\": \"IsThroughputRequest\",\r\n \"isHidden\": true,\r\n \"defaultDimensionValues\": [\r\n {\r\n \"value\": \"True\"\r\n }\r\n ]\r\n }\r\n ]\r\n },\r\n {\r\n \"name\": \"TableTableCreate\",\r\n \"displayName\": \"AzureTable Table Created\",\r\n \"internalMetricName\": \"ControlPlaneArmAPIRequest\",\r\n \"displayDescription\": \"AzureTable Table Created\",\r\n \"unit\": \"Count\",\r\n \"aggregationType\": \"Count\",\r\n \"lockAggregationType\": \"\",\r\n \"sourceMdmAccount\": \"CosmosDBCustomer\",\r\n \"sourceMdmNamespace\": \"AzureMonitor\",\r\n \"fillGapWithZero\": true,\r\n \"category\": \"Requests\",\r\n \"resourceIdDimensionNameOverride\": \"GlobalDatabaseAccountName\",\r\n \"supportedAggregationTypes\": [\r\n \"Count\"\r\n ],\r\n \"supportedTimeGrainTypes\": [\r\n \"PT5M\"\r\n ],\r\n \"dimensions\": [\r\n {\r\n \"name\": \"ResourceName\",\r\n \"displayName\": \"Table Name\",\r\n \"internalName\": \"ResourceName\"\r\n },\r\n {\r\n \"name\": \"ApiKind\",\r\n \"internalName\": \"ApiKind\",\r\n \"isHidden\": true,\r\n \"defaultDimensionValues\": [\r\n {\r\n \"value\": \"table\"\r\n }\r\n ]\r\n },\r\n {\r\n \"name\": \"ApiKindResourceType\",\r\n \"internalName\": \"ApiKindResourceType\",\r\n \"isHidden\": true,\r\n \"defaultDimensionValues\": [\r\n {\r\n \"value\": \"tables\"\r\n }\r\n ]\r\n },\r\n {\r\n \"name\": \"IsThroughputRequest\",\r\n \"internalName\": \"IsThroughputRequest\",\r\n \"isHidden\": true,\r\n \"defaultDimensionValues\": [\r\n {\r\n \"value\": \"False\"\r\n }\r\n ]\r\n },\r\n {\r\n \"name\": \"OperationType\",\r\n \"internalName\": \"OperationType\",\r\n \"isHidden\": true,\r\n \"defaultDimensionValues\": [\r\n {\r\n \"value\": \"Create\"\r\n }\r\n ]\r\n }\r\n ]\r\n },\r\n {\r\n \"name\": \"UpdateAccountKeys\",\r\n \"displayName\": \"Account Keys Updated\",\r\n \"internalMetricName\": \"UpdateAccountKeys\",\r\n \"displayDescription\": \"Account Keys Updated\",\r\n \"unit\": \"Count\",\r\n \"aggregationType\": \"Count\",\r\n \"lockAggregationType\": \"\",\r\n \"sourceMdmAccount\": \"CosmosDBCustomer\",\r\n \"sourceMdmNamespace\": \"AzureMonitor\",\r\n \"fillGapWithZero\": true,\r\n \"category\": \"Requests\",\r\n \"resourceIdDimensionNameOverride\": \"GlobalDatabaseAccountName\",\r\n \"supportedAggregationTypes\": [\r\n \"Count\"\r\n ],\r\n \"supportedTimeGrainTypes\": [\r\n \"PT5M\"\r\n ],\r\n \"dimensions\": [\r\n {\r\n \"name\": \"KeyType\",\r\n \"internalName\": \"KeyType\"\r\n }\r\n ]\r\n },\r\n {\r\n \"name\": \"TotalRequests\",\r\n \"displayName\": \"Total Requests\",\r\n \"internalMetricName\": \"TotalRequests\",\r\n \"displayDescription\": \"Number of requests made\",\r\n \"unit\": \"Count\",\r\n \"aggregationType\": \"Count\",\r\n \"lockAggregationType\": \"\",\r\n \"sourceMdmAccount\": \"CosmosDBCustomer\",\r\n \"sourceMdmNamespace\": \"AzureMonitor\",\r\n \"fillGapWithZero\": true,\r\n \"category\": \"Requests\",\r\n \"resourceIdDimensionNameOverride\": \"GlobalDatabaseAccountName\",\r\n \"supportedAggregationTypes\": [\r\n \"Count\"\r\n ],\r\n \"dimensions\": [\r\n {\r\n \"name\": \"DatabaseName\",\r\n \"internalName\": \"DatabaseName\"\r\n },\r\n {\r\n \"name\": \"CollectionName\",\r\n \"internalName\": \"CollectionName\"\r\n },\r\n {\r\n \"name\": \"Region\",\r\n \"internalName\": \"Region\"\r\n },\r\n {\r\n \"name\": \"StatusCode\",\r\n \"internalName\": \"StatusCode\"\r\n },\r\n {\r\n \"name\": \"OperationType\",\r\n \"internalName\": \"OperationType\"\r\n },\r\n {\r\n \"name\": \"Status\",\r\n \"internalName\": \"Status\"\r\n }\r\n ]\r\n },\r\n {\r\n \"name\": \"IntegratedCacheSize\",\r\n \"displayName\": \"IntegratedCacheSize\",\r\n \"internalMetricName\": \"IntegratedCacheSize\",\r\n \"displayDescription\": \"Size of the integrated caches for dedicated gateway requests\",\r\n \"unit\": \"Bytes\",\r\n \"aggregationType\": \"Average\",\r\n \"lockAggregationType\": \"Average\",\r\n \"sourceMdmAccount\": \"CosmosDBCustomer\",\r\n \"sourceMdmNamespace\": \"AzureMonitor\",\r\n \"fillGapWithZero\": false,\r\n \"category\": \"Requests\",\r\n \"resourceIdDimensionNameOverride\": \"GlobalDatabaseAccountName\",\r\n \"supportedAggregationTypes\": [\r\n \"Average\"\r\n ],\r\n \"supportedTimeGrainTypes\": [\r\n \"PT5M\"\r\n ],\r\n \"dimensions\": [\r\n {\r\n \"name\": \"CacheType\",\r\n \"internalName\": \"CacheType\"\r\n },\r\n {\r\n \"name\": \"Region\",\r\n \"internalName\": \"Region\"\r\n }\r\n ]\r\n },\r\n {\r\n \"name\": \"IntegratedCacheEvictedEntriesSize\",\r\n \"displayName\": \"IntegratedCacheEvictedEntriesSize\",\r\n \"internalMetricName\": \"IntegratedCacheEvictedEntriesSize\",\r\n \"displayDescription\": \"Size of the entries evicted from the integrated cache\",\r\n \"unit\": \"Bytes\",\r\n \"aggregationType\": \"Average\",\r\n \"lockAggregationType\": \"Average\",\r\n \"sourceMdmAccount\": \"CosmosDBCustomer\",\r\n \"sourceMdmNamespace\": \"AzureMonitor\",\r\n \"fillGapWithZero\": false,\r\n \"category\": \"Requests\",\r\n \"resourceIdDimensionNameOverride\": \"GlobalDatabaseAccountName\",\r\n \"supportedAggregationTypes\": [\r\n \"Average\"\r\n ],\r\n \"supportedTimeGrainTypes\": [\r\n \"PT5M\"\r\n ],\r\n \"dimensions\": [\r\n {\r\n \"name\": \"CacheType\",\r\n \"internalName\": \"CacheType\"\r\n },\r\n {\r\n \"name\": \"Region\",\r\n \"internalName\": \"Region\"\r\n }\r\n ]\r\n },\r\n {\r\n \"name\": \"DedicatedGatewayRequests\",\r\n \"displayName\": \"DedicatedGatewayRequests\",\r\n \"internalMetricName\": \"DedicatedGatewayRequests\",\r\n \"displayDescription\": \"Requests at the dedicated gateway\",\r\n \"unit\": \"Count\",\r\n \"aggregationType\": \"Count\",\r\n \"lockAggregationType\": \"\",\r\n \"sourceMdmAccount\": \"CosmosDBCustomer\",\r\n \"sourceMdmNamespace\": \"AzureMonitor\",\r\n \"fillGapWithZero\": true,\r\n \"category\": \"Requests\",\r\n \"resourceIdDimensionNameOverride\": \"GlobalDatabaseAccountName\",\r\n \"supportedAggregationTypes\": [\r\n \"Count\"\r\n ],\r\n \"supportedTimeGrainTypes\": [\r\n \"PT1M\"\r\n ],\r\n \"dimensions\": [\r\n {\r\n \"name\": \"DatabaseName\",\r\n \"internalName\": \"DatabaseName\"\r\n },\r\n {\r\n \"name\": \"CollectionName\",\r\n \"internalName\": \"CollectionName\"\r\n },\r\n {\r\n \"name\": \"CacheExercised\",\r\n \"internalName\": \"CacheExercised\"\r\n },\r\n {\r\n \"name\": \"OperationName\",\r\n \"internalName\": \"OperationName\"\r\n },\r\n {\r\n \"name\": \"Region\",\r\n \"internalName\": \"Region\"\r\n }\r\n ]\r\n },\r\n {\r\n \"name\": \"CassandraConnectionClosures\",\r\n \"displayName\": \"Cassandra Connection Closures\",\r\n \"internalMetricName\": \"CassandraConnectionClosures\",\r\n \"displayDescription\": \"Number of Cassandra connections that were closed, reported at a 1 minute granularity\",\r\n \"unit\": \"Count\",\r\n \"aggregationType\": \"Total\",\r\n \"lockAggregationType\": \"Count\",\r\n \"sourceMdmAccount\": \"CosmosDBCustomer\",\r\n \"sourceMdmNamespace\": \"AzureMonitor\",\r\n \"fillGapWithZero\": true,\r\n \"category\": \"Requests\",\r\n \"resourceIdDimensionNameOverride\": \"GlobalDatabaseAccountName\",\r\n \"supportedAggregationTypes\": [\r\n \"Average\",\r\n \" Minimum\",\r\n \" Maximum\",\r\n \" Total\"\r\n ],\r\n \"supportedTimeGrainTypes\": [\r\n \"PT1M\"\r\n ],\r\n \"dimensions\": [\r\n {\r\n \"name\": \"APIType\",\r\n \"internalName\": \"APIType\",\r\n \"isHidden\": true,\r\n \"defaultDimensionValues\": [\r\n {\r\n \"value\": \"CassandraService\"\r\n }\r\n ]\r\n },\r\n {\r\n \"name\": \"Region\",\r\n \"internalName\": \"Region\"\r\n },\r\n {\r\n \"name\": \"ClosureReason\",\r\n \"internalName\": \"ClosureReason\"\r\n }\r\n ]\r\n },\r\n {\r\n \"name\": \"DocumentQuota\",\r\n \"displayName\": \"Document Quota\",\r\n \"internalMetricName\": \"DocumentQuota\",\r\n \"displayDescription\": \"Total storage quota reported at 5 minutes granularity\",\r\n \"unit\": \"Bytes\",\r\n \"aggregationType\": \"Total\",\r\n \"lockAggregationType\": \"Total\",\r\n \"sourceMdmAccount\": \"CosmosDBCustomer\",\r\n \"sourceMdmNamespace\": \"AzureMonitor\",\r\n \"fillGapWithZero\": true,\r\n \"category\": \"Requests\",\r\n \"resourceIdDimensionNameOverride\": \"GlobalDatabaseAccountName\",\r\n \"supportedAggregationTypes\": [\r\n \"Total\",\r\n \" Average\"\r\n ],\r\n \"supportedTimeGrainTypes\": [\r\n \"PT5M\"\r\n ],\r\n \"dimensions\": [\r\n {\r\n \"name\": \"CollectionName\",\r\n \"internalName\": \"CollectionName\"\r\n },\r\n {\r\n \"name\": \"DatabaseName\",\r\n \"internalName\": \"DatabaseName\"\r\n },\r\n {\r\n \"name\": \"Region\",\r\n \"internalName\": \"Region\"\r\n }\r\n ]\r\n },\r\n {\r\n \"name\": \"AvailableStorage\",\r\n \"displayName\": \"(deprecated) Available Storage\",\r\n \"internalMetricName\": \"AvailableStorage\",\r\n \"displayDescription\": \"\\\"Available Storage\\\" will be removed from Azure Monitor at the end of September 2023. Cosmos DB collection storage size is now unlimited. The only restriction is that the storage size for each logical partition key is 20GB. You can enable PartitionKeyStatistics in Diagnostic Log to know the storage consumption for top partition keys. For more info about Cosmos DB storage quota, please check this doc https://docs.microsoft.com/en-us/azure/cosmos-db/concepts-limits. After deprecation, the remaining alert rules still defined on the deprecated metric will be automatically disabled post the deprecation date.\",\r\n \"unit\": \"Bytes\",\r\n \"aggregationType\": \"Total\",\r\n \"lockAggregationType\": \"Total\",\r\n \"sourceMdmAccount\": \"CosmosDBCustomer\",\r\n \"sourceMdmNamespace\": \"AzureMonitor\",\r\n \"fillGapWithZero\": true,\r\n \"category\": \"Requests\",\r\n \"resourceIdDimensionNameOverride\": \"GlobalDatabaseAccountName\",\r\n \"supportedAggregationTypes\": [\r\n \"Total\",\r\n \" Average\"\r\n ],\r\n \"supportedTimeGrainTypes\": [\r\n \"PT5M\"\r\n ],\r\n \"dimensions\": [\r\n {\r\n \"name\": \"CollectionName\",\r\n \"internalName\": \"CollectionName\"\r\n },\r\n {\r\n \"name\": \"DatabaseName\",\r\n \"internalName\": \"DatabaseName\"\r\n },\r\n {\r\n \"name\": \"Region\",\r\n \"internalName\": \"Region\"\r\n }\r\n ]\r\n },\r\n {\r\n \"name\": \"DocumentCount\",\r\n \"displayName\": \"Document Count\",\r\n \"internalMetricName\": \"DocumentCount\",\r\n \"displayDescription\": \"Total document count reported at 5 minutes granularity\",\r\n \"unit\": \"Count\",\r\n \"aggregationType\": \"Total\",\r\n \"lockAggregationType\": \"Total\",\r\n \"sourceMdmAccount\": \"CosmosDBCustomer\",\r\n \"sourceMdmNamespace\": \"AzureMonitor\",\r\n \"fillGapWithZero\": true,\r\n \"category\": \"Requests\",\r\n \"resourceIdDimensionNameOverride\": \"GlobalDatabaseAccountName\",\r\n \"supportedAggregationTypes\": [\r\n \"Total\",\r\n \" Average\"\r\n ],\r\n \"supportedTimeGrainTypes\": [\r\n \"PT5M\"\r\n ],\r\n \"dimensions\": [\r\n {\r\n \"name\": \"CollectionName\",\r\n \"internalName\": \"CollectionName\"\r\n },\r\n {\r\n \"name\": \"DatabaseName\",\r\n \"internalName\": \"DatabaseName\"\r\n },\r\n {\r\n \"name\": \"Region\",\r\n \"internalName\": \"Region\"\r\n }\r\n ]\r\n },\r\n {\r\n \"name\": \"CassandraKeyspaceDelete\",\r\n \"displayName\": \"Cassandra Keyspace Deleted\",\r\n \"internalMetricName\": \"ControlPlaneArmAPIRequest\",\r\n \"displayDescription\": \"Cassandra Keyspace Deleted\",\r\n \"unit\": \"Count\",\r\n \"aggregationType\": \"Count\",\r\n \"lockAggregationType\": \"\",\r\n \"sourceMdmAccount\": \"CosmosDBCustomer\",\r\n \"sourceMdmNamespace\": \"AzureMonitor\",\r\n \"fillGapWithZero\": true,\r\n \"category\": \"Requests\",\r\n \"resourceIdDimensionNameOverride\": \"GlobalDatabaseAccountName\",\r\n \"supportedAggregationTypes\": [\r\n \"Count\"\r\n ],\r\n \"supportedTimeGrainTypes\": [\r\n \"PT5M\"\r\n ],\r\n \"dimensions\": [\r\n {\r\n \"name\": \"ResourceName\",\r\n \"internalName\": \"ResourceName\",\r\n \"displayName\": \"Keyspace Name\"\r\n },\r\n {\r\n \"name\": \"ApiKind\",\r\n \"internalName\": \"ApiKind\",\r\n \"isHidden\": true,\r\n \"defaultDimensionValues\": [\r\n {\r\n \"value\": \"cassandra\"\r\n }\r\n ]\r\n },\r\n {\r\n \"name\": \"ApiKindResourceType\",\r\n \"internalName\": \"ApiKindResourceType\",\r\n \"isHidden\": true,\r\n \"defaultDimensionValues\": [\r\n {\r\n \"value\": \"keyspaces\"\r\n },\r\n {\r\n \"value\": \"cassandrakeyspaces\"\r\n }\r\n ]\r\n },\r\n {\r\n \"name\": \"OperationType\",\r\n \"internalName\": \"OperationType\",\r\n \"isHidden\": true,\r\n \"defaultDimensionValues\": [\r\n {\r\n \"value\": \"Delete\"\r\n }\r\n ]\r\n }\r\n ]\r\n },\r\n {\r\n \"name\": \"GremlinGraphCreate\",\r\n \"displayName\": \"Gremlin Graph Created\",\r\n \"internalMetricName\": \"ControlPlaneArmAPIRequest\",\r\n \"displayDescription\": \"Gremlin Graph Created\",\r\n \"unit\": \"Count\",\r\n \"aggregationType\": \"Count\",\r\n \"lockAggregationType\": \"\",\r\n \"sourceMdmAccount\": \"CosmosDBCustomer\",\r\n \"sourceMdmNamespace\": \"AzureMonitor\",\r\n \"fillGapWithZero\": true,\r\n \"category\": \"Requests\",\r\n \"resourceIdDimensionNameOverride\": \"GlobalDatabaseAccountName\",\r\n \"supportedAggregationTypes\": [\r\n \"Count\"\r\n ],\r\n \"supportedTimeGrainTypes\": [\r\n \"PT5M\"\r\n ],\r\n \"dimensions\": [\r\n {\r\n \"name\": \"ResourceName\",\r\n \"displayName\": \"Database Name\",\r\n \"internalName\": \"ResourceName\"\r\n },\r\n {\r\n \"name\": \"ChildResourceName\",\r\n \"displayName\": \"Graph Name\",\r\n \"internalName\": \"ChildResourceName\"\r\n },\r\n {\r\n \"name\": \"ApiKind\",\r\n \"internalName\": \"ApiKind\",\r\n \"isHidden\": true,\r\n \"defaultDimensionValues\": [\r\n {\r\n \"value\": \"gremlin\"\r\n }\r\n ]\r\n },\r\n {\r\n \"name\": \"ApiKindResourceType\",\r\n \"internalName\": \"ApiKindResourceType\",\r\n \"isHidden\": true,\r\n \"defaultDimensionValues\": [\r\n {\r\n \"value\": \"graphs\"\r\n }\r\n ]\r\n },\r\n {\r\n \"name\": \"IsThroughputRequest\",\r\n \"internalName\": \"IsThroughputRequest\",\r\n \"isHidden\": true,\r\n \"defaultDimensionValues\": [\r\n {\r\n \"value\": \"False\"\r\n }\r\n ]\r\n },\r\n {\r\n \"name\": \"OperationType\",\r\n \"internalName\": \"OperationType\",\r\n \"isHidden\": true,\r\n \"defaultDimensionValues\": [\r\n {\r\n \"value\": \"Create\"\r\n }\r\n ]\r\n }\r\n ]\r\n },\r\n {\r\n \"name\": \"MongoCollectionDelete\",\r\n \"displayName\": \"Mongo Collection Deleted\",\r\n \"internalMetricName\": \"ControlPlaneArmAPIRequest\",\r\n \"displayDescription\": \"Mongo Collection Deleted\",\r\n \"unit\": \"Count\",\r\n \"aggregationType\": \"Count\",\r\n \"lockAggregationType\": \"\",\r\n \"sourceMdmAccount\": \"CosmosDBCustomer\",\r\n \"sourceMdmNamespace\": \"AzureMonitor\",\r\n \"fillGapWithZero\": true,\r\n \"category\": \"Requests\",\r\n \"resourceIdDimensionNameOverride\": \"GlobalDatabaseAccountName\",\r\n \"supportedAggregationTypes\": [\r\n \"Count\"\r\n ],\r\n \"supportedTimeGrainTypes\": [\r\n \"PT5M\"\r\n ],\r\n \"dimensions\": [\r\n {\r\n \"name\": \"ResourceName\",\r\n \"internalName\": \"ResourceName\",\r\n \"displayName\": \"Database Name\"\r\n },\r\n {\r\n \"name\": \"ChildResourceName\",\r\n \"internalName\": \"ChildResourceName\",\r\n \"displayName\": \"Collection Name\"\r\n },\r\n {\r\n \"name\": \"ApiKind\",\r\n \"internalName\": \"ApiKind\",\r\n \"isHidden\": true,\r\n \"defaultDimensionValues\": [\r\n {\r\n \"value\": \"mongodb\"\r\n }\r\n ]\r\n },\r\n {\r\n \"name\": \"ApiKindResourceType\",\r\n \"internalName\": \"ApiKindResourceType\",\r\n \"isHidden\": true,\r\n \"defaultDimensionValues\": [\r\n {\r\n \"value\": \"collections\"\r\n }\r\n ]\r\n },\r\n {\r\n \"name\": \"OperationType\",\r\n \"internalName\": \"OperationType\",\r\n \"isHidden\": true,\r\n \"defaultDimensionValues\": [\r\n {\r\n \"value\": \"Delete\"\r\n }\r\n ]\r\n }\r\n ]\r\n },\r\n {\r\n \"name\": \"MongoCollectionUpdate\",\r\n \"displayName\": \"Mongo Collection Updated\",\r\n \"internalMetricName\": \"ControlPlaneArmAPIRequest\",\r\n \"displayDescription\": \"Mongo Collection Updated\",\r\n \"unit\": \"Count\",\r\n \"aggregationType\": \"Count\",\r\n \"lockAggregationType\": \"\",\r\n \"sourceMdmAccount\": \"CosmosDBCustomer\",\r\n \"sourceMdmNamespace\": \"AzureMonitor\",\r\n \"fillGapWithZero\": true,\r\n \"category\": \"Requests\",\r\n \"resourceIdDimensionNameOverride\": \"GlobalDatabaseAccountName\",\r\n \"supportedAggregationTypes\": [\r\n \"Count\"\r\n ],\r\n \"supportedTimeGrainTypes\": [\r\n \"PT5M\"\r\n ],\r\n \"dimensions\": [\r\n {\r\n \"name\": \"ResourceName\",\r\n \"internalName\": \"ResourceName\",\r\n \"displayName\": \"Database Name\"\r\n },\r\n {\r\n \"name\": \"ChildResourceName\",\r\n \"internalName\": \"ChildResourceName\",\r\n \"displayName\": \"Collection Name\"\r\n },\r\n {\r\n \"name\": \"ApiKind\",\r\n \"internalName\": \"ApiKind\",\r\n \"isHidden\": true,\r\n \"defaultDimensionValues\": [\r\n {\r\n \"value\": \"mongodb\"\r\n }\r\n ]\r\n },\r\n {\r\n \"name\": \"ApiKindResourceType\",\r\n \"internalName\": \"ApiKindResourceType\",\r\n \"isHidden\": true,\r\n \"defaultDimensionValues\": [\r\n {\r\n \"value\": \"collections\"\r\n }\r\n ]\r\n },\r\n {\r\n \"name\": \"IsThroughputRequest\",\r\n \"internalName\": \"IsThroughputRequest\",\r\n \"isHidden\": true,\r\n \"defaultDimensionValues\": [\r\n {\r\n \"value\": \"False\"\r\n }\r\n ]\r\n },\r\n {\r\n \"name\": \"OperationType\",\r\n \"internalName\": \"OperationType\",\r\n \"isHidden\": true,\r\n \"defaultDimensionValues\": [\r\n {\r\n \"value\": \"Upsert\"\r\n },\r\n {\r\n \"value\": \"Replace\"\r\n }\r\n ]\r\n }\r\n ]\r\n },\r\n {\r\n \"name\": \"MongoDBDatabaseCreate\",\r\n \"displayName\": \"Mongo Database Created\",\r\n \"internalMetricName\": \"ControlPlaneArmAPIRequest\",\r\n \"displayDescription\": \"Mongo Database Created\",\r\n \"unit\": \"Count\",\r\n \"aggregationType\": \"Count\",\r\n \"lockAggregationType\": \"\",\r\n \"sourceMdmAccount\": \"CosmosDBCustomer\",\r\n \"sourceMdmNamespace\": \"AzureMonitor\",\r\n \"fillGapWithZero\": true,\r\n \"category\": \"Requests\",\r\n \"resourceIdDimensionNameOverride\": \"GlobalDatabaseAccountName\",\r\n \"supportedAggregationTypes\": [\r\n \"Count\"\r\n ],\r\n \"supportedTimeGrainTypes\": [\r\n \"PT5M\"\r\n ],\r\n \"dimensions\": [\r\n {\r\n \"name\": \"ResourceName\",\r\n \"displayName\": \"Database Name\",\r\n \"internalName\": \"ResourceName\"\r\n },\r\n {\r\n \"name\": \"ApiKind\",\r\n \"internalName\": \"ApiKind\",\r\n \"isHidden\": true,\r\n \"defaultDimensionValues\": [\r\n {\r\n \"value\": \"mongodb\"\r\n }\r\n ]\r\n },\r\n {\r\n \"name\": \"ApiKindResourceType\",\r\n \"internalName\": \"ApiKindResourceType\",\r\n \"isHidden\": true,\r\n \"defaultDimensionValues\": [\r\n {\r\n \"value\": \"databases\"\r\n },\r\n {\r\n \"value\": \"mongodbdatabases\"\r\n }\r\n ]\r\n },\r\n {\r\n \"name\": \"IsThroughputRequest\",\r\n \"internalName\": \"IsThroughputRequest\",\r\n \"isHidden\": true,\r\n \"defaultDimensionValues\": [\r\n {\r\n \"value\": \"False\"\r\n }\r\n ]\r\n },\r\n {\r\n \"name\": \"OperationType\",\r\n \"internalName\": \"OperationType\",\r\n \"isHidden\": true,\r\n \"defaultDimensionValues\": [\r\n {\r\n \"value\": \"Create\"\r\n }\r\n ]\r\n }\r\n ]\r\n },\r\n {\r\n \"name\": \"MongoRequestsCount\",\r\n \"displayName\": \"(deprecated) Mongo Request Rate\",\r\n \"internalMetricName\": \"MongoRequests\",\r\n \"displayDescription\": \"Mongo request Count per second\",\r\n \"unit\": \"CountPerSecond\",\r\n \"aggregationType\": \"Average\",\r\n \"lockAggregationType\": \"Average\",\r\n \"sourceMdmAccount\": \"CosmosDBCustomer\",\r\n \"sourceMdmNamespace\": \"AzureMonitor\",\r\n \"fillGapWithZero\": true,\r\n \"category\": \"Requests\",\r\n \"resourceIdDimensionNameOverride\": \"GlobalDatabaseAccountName\",\r\n \"supportedAggregationTypes\": [\r\n \"Average\"\r\n ],\r\n \"dimensions\": [\r\n {\r\n \"name\": \"DatabaseName\",\r\n \"internalName\": \"DatabaseName\"\r\n },\r\n {\r\n \"name\": \"CollectionName\",\r\n \"internalName\": \"CollectionName\"\r\n },\r\n {\r\n \"name\": \"Region\",\r\n \"internalName\": \"Region\"\r\n },\r\n {\r\n \"name\": \"CommandName\",\r\n \"internalName\": \"CommandName\",\r\n \"isHidden\": true,\r\n \"defaultDimensionValues\": [\r\n {\r\n \"value\": \"count\"\r\n }\r\n ]\r\n },\r\n {\r\n \"name\": \"ErrorCode\",\r\n \"internalName\": \"ErrorCode\"\r\n }\r\n ]\r\n },\r\n {\r\n \"name\": \"NormalizedRUConsumption\",\r\n \"displayName\": \"Normalized RU Consumption\",\r\n \"internalMetricName\": \"NormalizedRUConsumption\",\r\n \"displayDescription\": \"Max RU consumption percentage per minute\",\r\n \"unit\": \"Percent\",\r\n \"aggregationType\": \"Maximum\",\r\n \"lockAggregationType\": \"Maximum\",\r\n \"sourceMdmAccount\": \"CosmosDBCustomer\",\r\n \"sourceMdmNamespace\": \"AzureMonitor\",\r\n \"fillGapWithZero\": true,\r\n \"category\": \"Requests\",\r\n \"resourceIdDimensionNameOverride\": \"GlobalDatabaseAccountName\",\r\n \"supportedAggregationTypes\": [\r\n \"Maximum\",\r\n \" Average\"\r\n ],\r\n \"supportedTimeGrainTypes\": [\r\n \"PT1M\",\r\n \"PT5M\",\r\n \"PT1H\",\r\n \"P1D\"\r\n ],\r\n \"dimensions\": [\r\n {\r\n \"name\": \"CollectionName\",\r\n \"internalName\": \"CollectionName\"\r\n },\r\n {\r\n \"name\": \"DatabaseName\",\r\n \"internalName\": \"DatabaseName\"\r\n },\r\n {\r\n \"name\": \"Region\",\r\n \"internalName\": \"Region\"\r\n },\r\n {\r\n \"name\": \"PartitionKeyRangeId\",\r\n \"internalName\": \"PartitionKeyRangeId\"\r\n }\r\n ]\r\n },\r\n {\r\n \"name\": \"RemoveRegion\",\r\n \"displayName\": \"Region Removed\",\r\n \"internalMetricName\": \"RemoveRegion\",\r\n \"displayDescription\": \"Region Removed\",\r\n \"unit\": \"Count\",\r\n \"aggregationType\": \"Count\",\r\n \"lockAggregationType\": \"\",\r\n \"sourceMdmAccount\": \"CosmosDBCustomer\",\r\n \"sourceMdmNamespace\": \"AzureMonitor\",\r\n \"fillGapWithZero\": true,\r\n \"category\": \"Requests\",\r\n \"resourceIdDimensionNameOverride\": \"GlobalDatabaseAccountName\",\r\n \"supportedAggregationTypes\": [\r\n \"Count\"\r\n ],\r\n \"supportedTimeGrainTypes\": [\r\n \"PT5M\"\r\n ],\r\n \"dimensions\": [\r\n {\r\n \"name\": \"Region\",\r\n \"internalName\": \"Region\"\r\n }\r\n ]\r\n },\r\n {\r\n \"name\": \"ServiceAvailability\",\r\n \"displayName\": \"Service Availability\",\r\n \"internalMetricName\": \"ServiceAvailability\",\r\n \"displayDescription\": \"Account requests availability at one hour, day or month granularity\",\r\n \"unit\": \"Percent\",\r\n \"aggregationType\": \"Average\",\r\n \"lockAggregationType\": \"Average\",\r\n \"sourceMdmAccount\": \"CosmosDBCustomer\",\r\n \"sourceMdmNamespace\": \"AzureMonitor\",\r\n \"fillGapWithZero\": false,\r\n \"category\": \"Requests\",\r\n \"resourceIdDimensionNameOverride\": \"GlobalDatabaseAccountName\",\r\n \"supportedAggregationTypes\": [\r\n \"Minimum\",\r\n \"Average\",\r\n \"Maximum\"\r\n ],\r\n \"supportedTimeGrainTypes\": [\r\n \"PT1H\"\r\n ],\r\n \"dimensions\": []\r\n },\r\n {\r\n \"name\": \"SqlContainerCreate\",\r\n \"displayName\": \"Sql Container Created\",\r\n \"internalMetricName\": \"ControlPlaneArmAPIRequest\",\r\n \"displayDescription\": \"Sql Container Created\",\r\n \"unit\": \"Count\",\r\n \"aggregationType\": \"Count\",\r\n \"lockAggregationType\": \"\",\r\n \"sourceMdmAccount\": \"CosmosDBCustomer\",\r\n \"sourceMdmNamespace\": \"AzureMonitor\",\r\n \"fillGapWithZero\": true,\r\n \"category\": \"Requests\",\r\n \"resourceIdDimensionNameOverride\": \"GlobalDatabaseAccountName\",\r\n \"supportedAggregationTypes\": [\r\n \"Count\"\r\n ],\r\n \"supportedTimeGrainTypes\": [\r\n \"PT5M\"\r\n ],\r\n \"dimensions\": [\r\n {\r\n \"name\": \"ResourceName\",\r\n \"displayName\": \"Database Name\",\r\n \"internalName\": \"ResourceName\"\r\n },\r\n {\r\n \"name\": \"ChildResourceName\",\r\n \"displayName\": \"Container Name\",\r\n \"internalName\": \"ChildResourceName\"\r\n },\r\n {\r\n \"name\": \"ApiKind\",\r\n \"internalName\": \"ApiKind\",\r\n \"isHidden\": true,\r\n \"defaultDimensionValues\": [\r\n {\r\n \"value\": \"sql\"\r\n }\r\n ]\r\n },\r\n {\r\n \"name\": \"ApiKindResourceType\",\r\n \"internalName\": \"ApiKindResourceType\",\r\n \"isHidden\": true,\r\n \"defaultDimensionValues\": [\r\n {\r\n \"value\": \"containers\"\r\n }\r\n ]\r\n },\r\n {\r\n \"name\": \"IsThroughputRequest\",\r\n \"internalName\": \"IsThroughputRequest\",\r\n \"isHidden\": true,\r\n \"defaultDimensionValues\": [\r\n {\r\n \"value\": \"False\"\r\n }\r\n ]\r\n },\r\n {\r\n \"name\": \"OperationType\",\r\n \"internalName\": \"OperationType\",\r\n \"isHidden\": true,\r\n \"defaultDimensionValues\": [\r\n {\r\n \"value\": \"Create\"\r\n }\r\n ]\r\n }\r\n ]\r\n },\r\n {\r\n \"name\": \"SqlContainerDelete\",\r\n \"displayName\": \"Sql Container Deleted\",\r\n \"internalMetricName\": \"ControlPlaneArmAPIRequest\",\r\n \"displayDescription\": \"Sql Container Deleted\",\r\n \"unit\": \"Count\",\r\n \"aggregationType\": \"Count\",\r\n \"lockAggregationType\": \"\",\r\n \"sourceMdmAccount\": \"CosmosDBCustomer\",\r\n \"sourceMdmNamespace\": \"AzureMonitor\",\r\n \"fillGapWithZero\": true,\r\n \"category\": \"Requests\",\r\n \"resourceIdDimensionNameOverride\": \"GlobalDatabaseAccountName\",\r\n \"supportedAggregationTypes\": [\r\n \"Count\"\r\n ],\r\n \"supportedTimeGrainTypes\": [\r\n \"PT5M\"\r\n ],\r\n \"dimensions\": [\r\n {\r\n \"name\": \"ResourceName\",\r\n \"internalName\": \"ResourceName\",\r\n \"displayName\": \"Database Name\"\r\n },\r\n {\r\n \"name\": \"ChildResourceName\",\r\n \"internalName\": \"ChildResourceName\",\r\n \"displayName\": \"Container Name\"\r\n },\r\n {\r\n \"name\": \"ApiKind\",\r\n \"internalName\": \"ApiKind\",\r\n \"isHidden\": true,\r\n \"defaultDimensionValues\": [\r\n {\r\n \"value\": \"sql\"\r\n }\r\n ]\r\n },\r\n {\r\n \"name\": \"ApiKindResourceType\",\r\n \"internalName\": \"ApiKindResourceType\",\r\n \"isHidden\": true,\r\n \"defaultDimensionValues\": [\r\n {\r\n \"value\": \"containers\"\r\n }\r\n ]\r\n },\r\n {\r\n \"name\": \"OperationType\",\r\n \"internalName\": \"OperationType\",\r\n \"isHidden\": true,\r\n \"defaultDimensionValues\": [\r\n {\r\n \"value\": \"Delete\"\r\n }\r\n ]\r\n }\r\n ]\r\n },\r\n {\r\n \"name\": \"SqlContainerUpdate\",\r\n \"displayName\": \"Sql Container Updated\",\r\n \"internalMetricName\": \"ControlPlaneArmAPIRequest\",\r\n \"displayDescription\": \"Sql Container Updated\",\r\n \"unit\": \"Count\",\r\n \"aggregationType\": \"Count\",\r\n \"lockAggregationType\": \"\",\r\n \"sourceMdmAccount\": \"CosmosDBCustomer\",\r\n \"sourceMdmNamespace\": \"AzureMonitor\",\r\n \"fillGapWithZero\": true,\r\n \"category\": \"Requests\",\r\n \"resourceIdDimensionNameOverride\": \"GlobalDatabaseAccountName\",\r\n \"supportedAggregationTypes\": [\r\n \"Count\"\r\n ],\r\n \"supportedTimeGrainTypes\": [\r\n \"PT5M\"\r\n ],\r\n \"dimensions\": [\r\n {\r\n \"name\": \"ResourceName\",\r\n \"internalName\": \"ResourceName\",\r\n \"displayName\": \"Database Name\"\r\n },\r\n {\r\n \"name\": \"ChildResourceName\",\r\n \"internalName\": \"ChildResourceName\",\r\n \"displayName\": \"Container Name\"\r\n },\r\n {\r\n \"name\": \"ApiKind\",\r\n \"internalName\": \"ApiKind\",\r\n \"isHidden\": true,\r\n \"defaultDimensionValues\": [\r\n {\r\n \"value\": \"sql\"\r\n }\r\n ]\r\n },\r\n {\r\n \"name\": \"ApiKindResourceType\",\r\n \"internalName\": \"ApiKindResourceType\",\r\n \"isHidden\": true,\r\n \"defaultDimensionValues\": [\r\n {\r\n \"value\": \"containers\"\r\n }\r\n ]\r\n },\r\n {\r\n \"name\": \"IsThroughputRequest\",\r\n \"internalName\": \"IsThroughputRequest\",\r\n \"isHidden\": true,\r\n \"defaultDimensionValues\": [\r\n {\r\n \"value\": \"False\"\r\n }\r\n ]\r\n },\r\n {\r\n \"name\": \"OperationType\",\r\n \"internalName\": \"OperationType\",\r\n \"isHidden\": true,\r\n \"defaultDimensionValues\": [\r\n {\r\n \"value\": \"Upsert\"\r\n },\r\n {\r\n \"value\": \"Replace\"\r\n }\r\n ]\r\n }\r\n ]\r\n },\r\n {\r\n \"name\": \"TableTableDelete\",\r\n \"displayName\": \"AzureTable Table Deleted\",\r\n \"internalMetricName\": \"ControlPlaneArmAPIRequest\",\r\n \"displayDescription\": \"AzureTable Table Deleted\",\r\n \"unit\": \"Count\",\r\n \"aggregationType\": \"Count\",\r\n \"lockAggregationType\": \"\",\r\n \"sourceMdmAccount\": \"CosmosDBCustomer\",\r\n \"sourceMdmNamespace\": \"AzureMonitor\",\r\n \"fillGapWithZero\": true,\r\n \"category\": \"Requests\",\r\n \"resourceIdDimensionNameOverride\": \"GlobalDatabaseAccountName\",\r\n \"supportedAggregationTypes\": [\r\n \"Count\"\r\n ],\r\n \"supportedTimeGrainTypes\": [\r\n \"PT5M\"\r\n ],\r\n \"dimensions\": [\r\n {\r\n \"name\": \"ResourceName\",\r\n \"internalName\": \"ResourceName\",\r\n \"displayName\": \"Table Name\"\r\n },\r\n {\r\n \"name\": \"ApiKind\",\r\n \"internalName\": \"ApiKind\",\r\n \"isHidden\": true,\r\n \"defaultDimensionValues\": [\r\n {\r\n \"value\": \"table\"\r\n }\r\n ]\r\n },\r\n {\r\n \"name\": \"ApiKindResourceType\",\r\n \"internalName\": \"ApiKindResourceType\",\r\n \"isHidden\": true,\r\n \"defaultDimensionValues\": [\r\n {\r\n \"value\": \"tables\"\r\n }\r\n ]\r\n },\r\n {\r\n \"name\": \"OperationType\",\r\n \"internalName\": \"OperationType\",\r\n \"isHidden\": true,\r\n \"defaultDimensionValues\": [\r\n {\r\n \"value\": \"Delete\"\r\n }\r\n ]\r\n }\r\n ]\r\n },\r\n {\r\n \"name\": \"TotalRequestUnits\",\r\n \"displayName\": \"Total Request Units\",\r\n \"internalMetricName\": \"TotalRequestUnits\",\r\n \"displayDescription\": \"Request Units consumed\",\r\n \"unit\": \"Count\",\r\n \"aggregationType\": \"Total\",\r\n \"lockAggregationType\": \"\",\r\n \"sourceMdmAccount\": \"CosmosDBCustomer\",\r\n \"sourceMdmNamespace\": \"AzureMonitor\",\r\n \"fillGapWithZero\": true,\r\n \"category\": \"Requests\",\r\n \"resourceIdDimensionNameOverride\": \"GlobalDatabaseAccountName\",\r\n \"supportedAggregationTypes\": [\r\n \"Total\",\r\n \" Average\"\r\n ],\r\n \"dimensions\": [\r\n {\r\n \"name\": \"DatabaseName\",\r\n \"internalName\": \"DatabaseName\"\r\n },\r\n {\r\n \"name\": \"CollectionName\",\r\n \"internalName\": \"CollectionName\"\r\n },\r\n {\r\n \"name\": \"Region\",\r\n \"internalName\": \"Region\"\r\n },\r\n {\r\n \"name\": \"StatusCode\",\r\n \"internalName\": \"StatusCode\"\r\n },\r\n {\r\n \"name\": \"OperationType\",\r\n \"internalName\": \"OperationType\"\r\n },\r\n {\r\n \"name\": \"Status\",\r\n \"internalName\": \"Status\"\r\n }\r\n ]\r\n },\r\n {\r\n \"name\": \"UpdateAccountReplicationSettings\",\r\n \"displayName\": \"Account Replication Settings Updated\",\r\n \"internalMetricName\": \"UpdateAccountReplicationSettings\",\r\n \"displayDescription\": \"Account Replication Settings Updated\",\r\n \"unit\": \"Count\",\r\n \"aggregationType\": \"Count\",\r\n \"lockAggregationType\": \"\",\r\n \"sourceMdmAccount\": \"CosmosDBCustomer\",\r\n \"sourceMdmNamespace\": \"AzureMonitor\",\r\n \"fillGapWithZero\": true,\r\n \"category\": \"Requests\",\r\n \"resourceIdDimensionNameOverride\": \"GlobalDatabaseAccountName\",\r\n \"supportedAggregationTypes\": [\r\n \"Count\"\r\n ],\r\n \"supportedTimeGrainTypes\": [\r\n \"PT5M\"\r\n ],\r\n \"dimensions\": []\r\n },\r\n {\r\n \"name\": \"GremlinDatabaseThroughputUpdate\",\r\n \"displayName\": \"Gremlin Database Throughput Updated\",\r\n \"internalMetricName\": \"ControlPlaneArmAPIRequest\",\r\n \"displayDescription\": \"Gremlin Database Throughput Updated\",\r\n \"unit\": \"Count\",\r\n \"aggregationType\": \"Count\",\r\n \"lockAggregationType\": \"\",\r\n \"sourceMdmAccount\": \"CosmosDBCustomer\",\r\n \"sourceMdmNamespace\": \"AzureMonitor\",\r\n \"fillGapWithZero\": true,\r\n \"category\": \"Requests\",\r\n \"resourceIdDimensionNameOverride\": \"GlobalDatabaseAccountName\",\r\n \"supportedAggregationTypes\": [\r\n \"Count\"\r\n ],\r\n \"supportedTimeGrainTypes\": [\r\n \"PT5M\"\r\n ],\r\n \"dimensions\": [\r\n {\r\n \"name\": \"ResourceName\",\r\n \"internalName\": \"ResourceName\",\r\n \"displayName\": \"Database Name\"\r\n },\r\n {\r\n \"name\": \"ApiKind\",\r\n \"internalName\": \"ApiKind\",\r\n \"isHidden\": true,\r\n \"defaultDimensionValues\": [\r\n {\r\n \"value\": \"sql\"\r\n }\r\n ]\r\n },\r\n {\r\n \"name\": \"ApiKindResourceType\",\r\n \"internalName\": \"ApiKindResourceType\",\r\n \"isHidden\": true,\r\n \"defaultDimensionValues\": [\r\n {\r\n \"value\": \"databases\"\r\n },\r\n {\r\n \"value\": \"gremlindatabases\"\r\n }\r\n ]\r\n },\r\n {\r\n \"name\": \"IsThroughputRequest\",\r\n \"internalName\": \"IsThroughputRequest\",\r\n \"isHidden\": true,\r\n \"defaultDimensionValues\": [\r\n {\r\n \"value\": \"True\"\r\n }\r\n ]\r\n }\r\n ]\r\n },\r\n {\r\n \"name\": \"AutoscaleMaxThroughput\",\r\n \"displayName\": \"Autoscale Max Throughput\",\r\n \"internalMetricName\": \"AutoscaleMaxThroughput\",\r\n \"displayDescription\": \"Autoscale Max Throughput\",\r\n \"unit\": \"Count\",\r\n \"aggregationType\": \"Maximum\",\r\n \"lockAggregationType\": \"Maximum\",\r\n \"sourceMdmAccount\": \"CosmosDBCustomer\",\r\n \"sourceMdmNamespace\": \"AzureMonitor\",\r\n \"fillGapWithZero\": true,\r\n \"category\": \"Requests\",\r\n \"resourceIdDimensionNameOverride\": \"GlobalDatabaseAccountName\",\r\n \"supportedAggregationTypes\": [\r\n \"Maximum\"\r\n ],\r\n \"supportedTimeGrainTypes\": [\r\n \"PT5M\"\r\n ],\r\n \"dimensions\": [\r\n {\r\n \"name\": \"DatabaseName\",\r\n \"internalName\": \"DatabaseName\"\r\n },\r\n {\r\n \"name\": \"CollectionName\",\r\n \"internalName\": \"CollectionName\"\r\n }\r\n ]\r\n },\r\n {\r\n \"name\": \"CassandraKeyspaceCreate\",\r\n \"displayName\": \"Cassandra Keyspace Created\",\r\n \"internalMetricName\": \"ControlPlaneArmAPIRequest\",\r\n \"displayDescription\": \"Cassandra Keyspace Created\",\r\n \"unit\": \"Count\",\r\n \"aggregationType\": \"Count\",\r\n \"lockAggregationType\": \"\",\r\n \"sourceMdmAccount\": \"CosmosDBCustomer\",\r\n \"sourceMdmNamespace\": \"AzureMonitor\",\r\n \"fillGapWithZero\": true,\r\n \"category\": \"Requests\",\r\n \"resourceIdDimensionNameOverride\": \"GlobalDatabaseAccountName\",\r\n \"supportedAggregationTypes\": [\r\n \"Count\"\r\n ],\r\n \"supportedTimeGrainTypes\": [\r\n \"PT5M\"\r\n ],\r\n \"dimensions\": [\r\n {\r\n \"name\": \"ResourceName\",\r\n \"displayName\": \"Keyspace Name\",\r\n \"internalName\": \"ResourceName\"\r\n },\r\n {\r\n \"name\": \"ApiKind\",\r\n \"internalName\": \"ApiKind\",\r\n \"isHidden\": true,\r\n \"defaultDimensionValues\": [\r\n {\r\n \"value\": \"cassandra\"\r\n }\r\n ]\r\n },\r\n {\r\n \"name\": \"ApiKindResourceType\",\r\n \"internalName\": \"ApiKindResourceType\",\r\n \"isHidden\": true,\r\n \"defaultDimensionValues\": [\r\n {\r\n \"value\": \"keyspaces\"\r\n },\r\n {\r\n \"value\": \"cassandrakeyspaces\"\r\n }\r\n ]\r\n },\r\n {\r\n \"name\": \"IsThroughputRequest\",\r\n \"internalName\": \"IsThroughputRequest\",\r\n \"isHidden\": true,\r\n \"defaultDimensionValues\": [\r\n {\r\n \"value\": \"False\"\r\n }\r\n ]\r\n },\r\n {\r\n \"name\": \"OperationType\",\r\n \"internalName\": \"OperationType\",\r\n \"isHidden\": true,\r\n \"defaultDimensionValues\": [\r\n {\r\n \"value\": \"Create\"\r\n }\r\n ]\r\n }\r\n ]\r\n },\r\n {\r\n \"name\": \"AddRegion\",\r\n \"displayName\": \"Region Added\",\r\n \"internalMetricName\": \"AddRegion\",\r\n \"displayDescription\": \"Region Added\",\r\n \"unit\": \"Count\",\r\n \"aggregationType\": \"Count\",\r\n \"lockAggregationType\": \"\",\r\n \"sourceMdmAccount\": \"CosmosDBCustomer\",\r\n \"sourceMdmNamespace\": \"AzureMonitor\",\r\n \"fillGapWithZero\": true,\r\n \"category\": \"Requests\",\r\n \"resourceIdDimensionNameOverride\": \"GlobalDatabaseAccountName\",\r\n \"supportedAggregationTypes\": [\r\n \"Count\"\r\n ],\r\n \"supportedTimeGrainTypes\": [\r\n \"PT5M\"\r\n ],\r\n \"dimensions\": [\r\n {\r\n \"name\": \"Region\",\r\n \"internalName\": \"Region\"\r\n }\r\n ]\r\n },\r\n {\r\n \"name\": \"CassandraTableUpdate\",\r\n \"displayName\": \"Cassandra Table Updated\",\r\n \"internalMetricName\": \"ControlPlaneArmAPIRequest\",\r\n \"displayDescription\": \"Cassandra Table Updated\",\r\n \"unit\": \"Count\",\r\n \"aggregationType\": \"Count\",\r\n \"lockAggregationType\": \"\",\r\n \"sourceMdmAccount\": \"CosmosDBCustomer\",\r\n \"sourceMdmNamespace\": \"AzureMonitor\",\r\n \"fillGapWithZero\": true,\r\n \"category\": \"Requests\",\r\n \"resourceIdDimensionNameOverride\": \"GlobalDatabaseAccountName\",\r\n \"supportedAggregationTypes\": [\r\n \"Count\"\r\n ],\r\n \"supportedTimeGrainTypes\": [\r\n \"PT5M\"\r\n ],\r\n \"dimensions\": [\r\n {\r\n \"name\": \"ResourceName\",\r\n \"internalName\": \"ResourceName\",\r\n \"displayName\": \"Keyspace Name\"\r\n },\r\n {\r\n \"name\": \"ChildResourceName\",\r\n \"internalName\": \"ChildResourceName\",\r\n \"displayName\": \"Table Name\"\r\n },\r\n {\r\n \"name\": \"ApiKind\",\r\n \"internalName\": \"ApiKind\",\r\n \"isHidden\": true,\r\n \"defaultDimensionValues\": [\r\n {\r\n \"value\": \"cassandra\"\r\n }\r\n ]\r\n },\r\n {\r\n \"name\": \"ApiKindResourceType\",\r\n \"internalName\": \"ApiKindResourceType\",\r\n \"isHidden\": true,\r\n \"defaultDimensionValues\": [\r\n {\r\n \"value\": \"tables\"\r\n }\r\n ]\r\n },\r\n {\r\n \"name\": \"IsThroughputRequest\",\r\n \"internalName\": \"IsThroughputRequest\",\r\n \"isHidden\": true,\r\n \"defaultDimensionValues\": [\r\n {\r\n \"value\": \"False\"\r\n }\r\n ]\r\n },\r\n {\r\n \"name\": \"OperationType\",\r\n \"internalName\": \"OperationType\",\r\n \"isHidden\": true,\r\n \"defaultDimensionValues\": [\r\n {\r\n \"value\": \"Upsert\"\r\n },\r\n {\r\n \"value\": \"Replace\"\r\n }\r\n ]\r\n }\r\n ]\r\n },\r\n {\r\n \"name\": \"CassandraConnectorReplicationHealthStatus\",\r\n \"displayName\": \"Cassandra Connector Replication Health Status\",\r\n \"internalMetricName\": \"ReplicationHealthStatus\",\r\n \"displayDescription\": \"Cassandra Connector Replication Health Status\",\r\n \"unit\": \"Count\",\r\n \"aggregationType\": \"Count\",\r\n \"lockAggregationType\": \"\",\r\n \"sourceMdmAccount\": \"CosmosDBCustomer\",\r\n \"sourceMdmNamespace\": \"AzureMonitor\",\r\n \"fillGapWithZero\": false,\r\n \"category\": \"Requests\",\r\n \"resourceIdDimensionNameOverride\": \"DatabaseAccount\",\r\n \"supportedAggregationTypes\": [\r\n \"Count\"\r\n ],\r\n \"supportedTimeGrainTypes\": [\r\n \"PT5M\"\r\n ],\r\n \"dimensions\": [\r\n {\r\n \"name\": \"NotStarted\",\r\n \"displayName\": \"Replication Not Started\",\r\n \"internalName\": \"NotStarted\"\r\n },\r\n {\r\n \"name\": \"ReplicationInProgress\",\r\n \"displayName\": \"Replication In Progress\",\r\n \"internalName\": \"ReplicationInProgress\"\r\n },\r\n {\r\n \"name\": \"Error\",\r\n \"displayName\": \"Replication In Error\",\r\n \"internalName\": \"Error\"\r\n }\r\n ]\r\n },\r\n {\r\n \"name\": \"GremlinDatabaseUpdate\",\r\n \"displayName\": \"Gremlin Database Updated\",\r\n \"internalMetricName\": \"ControlPlaneArmAPIRequest\",\r\n \"displayDescription\": \"Gremlin Database Updated\",\r\n \"unit\": \"Count\",\r\n \"aggregationType\": \"Count\",\r\n \"lockAggregationType\": \"\",\r\n \"sourceMdmAccount\": \"CosmosDBCustomer\",\r\n \"sourceMdmNamespace\": \"AzureMonitor\",\r\n \"fillGapWithZero\": true,\r\n \"category\": \"Requests\",\r\n \"resourceIdDimensionNameOverride\": \"GlobalDatabaseAccountName\",\r\n \"supportedAggregationTypes\": [\r\n \"Count\"\r\n ],\r\n \"supportedTimeGrainTypes\": [\r\n \"PT5M\"\r\n ],\r\n \"dimensions\": [\r\n {\r\n \"name\": \"ResourceName\",\r\n \"internalName\": \"ResourceName\",\r\n \"displayName\": \"Database Name\"\r\n },\r\n {\r\n \"name\": \"ApiKind\",\r\n \"internalName\": \"ApiKind\",\r\n \"isHidden\": true,\r\n \"defaultDimensionValues\": [\r\n {\r\n \"value\": \"gremlin\"\r\n }\r\n ]\r\n },\r\n {\r\n \"name\": \"ApiKindResourceType\",\r\n \"internalName\": \"ApiKindResourceType\",\r\n \"isHidden\": true,\r\n \"defaultDimensionValues\": [\r\n {\r\n \"value\": \"databases\"\r\n },\r\n {\r\n \"value\": \"gremlindatabases\"\r\n }\r\n ]\r\n },\r\n {\r\n \"name\": \"IsThroughputRequest\",\r\n \"internalName\": \"IsThroughputRequest\",\r\n \"isHidden\": true,\r\n \"defaultDimensionValues\": [\r\n {\r\n \"value\": \"False\"\r\n }\r\n ]\r\n },\r\n {\r\n \"name\": \"OperationType\",\r\n \"internalName\": \"OperationType\",\r\n \"isHidden\": true,\r\n \"defaultDimensionValues\": [\r\n {\r\n \"value\": \"Upsert\"\r\n },\r\n {\r\n \"value\": \"Replace\"\r\n }\r\n ]\r\n }\r\n ]\r\n },\r\n {\r\n \"name\": \"MongoCollectionCreate\",\r\n \"displayName\": \"Mongo Collection Created\",\r\n \"internalMetricName\": \"ControlPlaneArmAPIRequest\",\r\n \"displayDescription\": \"Mongo Collection Created\",\r\n \"unit\": \"Count\",\r\n \"aggregationType\": \"Count\",\r\n \"lockAggregationType\": \"\",\r\n \"sourceMdmAccount\": \"CosmosDBCustomer\",\r\n \"sourceMdmNamespace\": \"AzureMonitor\",\r\n \"fillGapWithZero\": true,\r\n \"category\": \"Requests\",\r\n \"resourceIdDimensionNameOverride\": \"GlobalDatabaseAccountName\",\r\n \"supportedAggregationTypes\": [\r\n \"Count\"\r\n ],\r\n \"supportedTimeGrainTypes\": [\r\n \"PT5M\"\r\n ],\r\n \"dimensions\": [\r\n {\r\n \"name\": \"ResourceName\",\r\n \"displayName\": \"Database Name\",\r\n \"internalName\": \"ResourceName\"\r\n },\r\n {\r\n \"name\": \"ChildResourceName\",\r\n \"displayName\": \"Collection Name\",\r\n \"internalName\": \"ChildResourceName\"\r\n },\r\n {\r\n \"name\": \"ApiKind\",\r\n \"internalName\": \"ApiKind\",\r\n \"isHidden\": true,\r\n \"defaultDimensionValues\": [\r\n {\r\n \"value\": \"mongodb\"\r\n }\r\n ]\r\n },\r\n {\r\n \"name\": \"ApiKindResourceType\",\r\n \"internalName\": \"ApiKindResourceType\",\r\n \"isHidden\": true,\r\n \"defaultDimensionValues\": [\r\n {\r\n \"value\": \"collections\"\r\n }\r\n ]\r\n },\r\n {\r\n \"name\": \"IsThroughputRequest\",\r\n \"internalName\": \"IsThroughputRequest\",\r\n \"isHidden\": true,\r\n \"defaultDimensionValues\": [\r\n {\r\n \"value\": \"False\"\r\n }\r\n ]\r\n },\r\n {\r\n \"name\": \"OperationType\",\r\n \"internalName\": \"OperationType\",\r\n \"isHidden\": true,\r\n \"defaultDimensionValues\": [\r\n {\r\n \"value\": \"Create\"\r\n }\r\n ]\r\n }\r\n ]\r\n },\r\n {\r\n \"name\": \"CassandraKeyspaceThroughputUpdate\",\r\n \"displayName\": \"Cassandra Keyspace Throughput Updated\",\r\n \"internalMetricName\": \"ControlPlaneArmAPIRequest\",\r\n \"displayDescription\": \"Cassandra Keyspace Throughput Updated\",\r\n \"unit\": \"Count\",\r\n \"aggregationType\": \"Count\",\r\n \"lockAggregationType\": \"\",\r\n \"sourceMdmAccount\": \"CosmosDBCustomer\",\r\n \"sourceMdmNamespace\": \"AzureMonitor\",\r\n \"fillGapWithZero\": true,\r\n \"category\": \"Requests\",\r\n \"resourceIdDimensionNameOverride\": \"GlobalDatabaseAccountName\",\r\n \"supportedAggregationTypes\": [\r\n \"Count\"\r\n ],\r\n \"supportedTimeGrainTypes\": [\r\n \"PT5M\"\r\n ],\r\n \"dimensions\": [\r\n {\r\n \"name\": \"ResourceName\",\r\n \"internalName\": \"ResourceName\",\r\n \"displayName\": \"Keyspace Name\"\r\n },\r\n {\r\n \"name\": \"ApiKind\",\r\n \"internalName\": \"ApiKind\",\r\n \"isHidden\": true,\r\n \"defaultDimensionValues\": [\r\n {\r\n \"value\": \"cassandra\"\r\n }\r\n ]\r\n },\r\n {\r\n \"name\": \"ApiKindResourceType\",\r\n \"internalName\": \"ApiKindResourceType\",\r\n \"isHidden\": true,\r\n \"defaultDimensionValues\": [\r\n {\r\n \"value\": \"keyspaces\"\r\n },\r\n {\r\n \"value\": \"cassandrakeyspaces\"\r\n }\r\n ]\r\n },\r\n {\r\n \"name\": \"IsThroughputRequest\",\r\n \"internalName\": \"IsThroughputRequest\",\r\n \"isHidden\": true,\r\n \"defaultDimensionValues\": [\r\n {\r\n \"value\": \"True\"\r\n }\r\n ]\r\n }\r\n ]\r\n },\r\n {\r\n \"name\": \"CassandraTableThroughputUpdate\",\r\n \"displayName\": \"Cassandra Table Throughput Updated\",\r\n \"internalMetricName\": \"ControlPlaneArmAPIRequest\",\r\n \"displayDescription\": \"Cassandra Table Throughput Updated\",\r\n \"unit\": \"Count\",\r\n \"aggregationType\": \"Count\",\r\n \"lockAggregationType\": \"\",\r\n \"sourceMdmAccount\": \"CosmosDBCustomer\",\r\n \"sourceMdmNamespace\": \"AzureMonitor\",\r\n \"fillGapWithZero\": true,\r\n \"category\": \"Requests\",\r\n \"resourceIdDimensionNameOverride\": \"GlobalDatabaseAccountName\",\r\n \"supportedAggregationTypes\": [\r\n \"Count\"\r\n ],\r\n \"supportedTimeGrainTypes\": [\r\n \"PT5M\"\r\n ],\r\n \"dimensions\": [\r\n {\r\n \"name\": \"ResourceName\",\r\n \"internalName\": \"ResourceName\",\r\n \"displayName\": \"Keyspace Name\"\r\n },\r\n {\r\n \"name\": \"ChildResourceName\",\r\n \"internalName\": \"ChildResourceName\",\r\n \"displayName\": \"Table Name\"\r\n },\r\n {\r\n \"name\": \"ApiKind\",\r\n \"internalName\": \"ApiKind\",\r\n \"isHidden\": true,\r\n \"defaultDimensionValues\": [\r\n {\r\n \"value\": \"cassandra\"\r\n }\r\n ]\r\n },\r\n {\r\n \"name\": \"ApiKindResourceType\",\r\n \"internalName\": \"ApiKindResourceType\",\r\n \"isHidden\": true,\r\n \"defaultDimensionValues\": [\r\n {\r\n \"value\": \"tables\"\r\n }\r\n ]\r\n },\r\n {\r\n \"name\": \"IsThroughputRequest\",\r\n \"internalName\": \"IsThroughputRequest\",\r\n \"isHidden\": true,\r\n \"defaultDimensionValues\": [\r\n {\r\n \"value\": \"True\"\r\n }\r\n ]\r\n }\r\n ]\r\n },\r\n {\r\n \"name\": \"GremlinGraphThroughputUpdate\",\r\n \"displayName\": \"Gremlin Graph Throughput Updated\",\r\n \"internalMetricName\": \"ControlPlaneArmAPIRequest\",\r\n \"displayDescription\": \"Gremlin Graph Throughput Updated\",\r\n \"unit\": \"Count\",\r\n \"aggregationType\": \"Count\",\r\n \"lockAggregationType\": \"\",\r\n \"sourceMdmAccount\": \"CosmosDBCustomer\",\r\n \"sourceMdmNamespace\": \"AzureMonitor\",\r\n \"fillGapWithZero\": true,\r\n \"category\": \"Requests\",\r\n \"resourceIdDimensionNameOverride\": \"GlobalDatabaseAccountName\",\r\n \"supportedAggregationTypes\": [\r\n \"Count\"\r\n ],\r\n \"supportedTimeGrainTypes\": [\r\n \"PT5M\"\r\n ],\r\n \"dimensions\": [\r\n {\r\n \"name\": \"ResourceName\",\r\n \"internalName\": \"ResourceName\",\r\n \"displayName\": \"Database Name\"\r\n },\r\n {\r\n \"name\": \"ChildResourceName\",\r\n \"internalName\": \"ChildResourceName\",\r\n \"displayName\": \"Graph Name\"\r\n },\r\n {\r\n \"name\": \"ApiKind\",\r\n \"internalName\": \"ApiKind\",\r\n \"isHidden\": true,\r\n \"defaultDimensionValues\": [\r\n {\r\n \"value\": \"sql\"\r\n }\r\n ]\r\n },\r\n {\r\n \"name\": \"ApiKindResourceType\",\r\n \"internalName\": \"ApiKindResourceType\",\r\n \"isHidden\": true,\r\n \"defaultDimensionValues\": [\r\n {\r\n \"value\": \"graphs\"\r\n }\r\n ]\r\n },\r\n {\r\n \"name\": \"IsThroughputRequest\",\r\n \"internalName\": \"IsThroughputRequest\",\r\n \"isHidden\": true,\r\n \"defaultDimensionValues\": [\r\n {\r\n \"value\": \"True\"\r\n }\r\n ]\r\n }\r\n ]\r\n },\r\n {\r\n \"name\": \"MongoCollectionThroughputUpdate\",\r\n \"displayName\": \"Mongo Collection Throughput Updated\",\r\n \"internalMetricName\": \"ControlPlaneArmAPIRequest\",\r\n \"displayDescription\": \"Mongo Collection Throughput Updated\",\r\n \"unit\": \"Count\",\r\n \"aggregationType\": \"Count\",\r\n \"lockAggregationType\": \"\",\r\n \"sourceMdmAccount\": \"CosmosDBCustomer\",\r\n \"sourceMdmNamespace\": \"AzureMonitor\",\r\n \"fillGapWithZero\": true,\r\n \"category\": \"Requests\",\r\n \"resourceIdDimensionNameOverride\": \"GlobalDatabaseAccountName\",\r\n \"supportedAggregationTypes\": [\r\n \"Count\"\r\n ],\r\n \"supportedTimeGrainTypes\": [\r\n \"PT5M\"\r\n ],\r\n \"dimensions\": [\r\n {\r\n \"name\": \"ResourceName\",\r\n \"internalName\": \"ResourceName\",\r\n \"displayName\": \"Database Name\"\r\n },\r\n {\r\n \"name\": \"ChildResourceName\",\r\n \"internalName\": \"ChildResourceName\",\r\n \"displayName\": \"Collection Name\"\r\n },\r\n {\r\n \"name\": \"ApiKind\",\r\n \"internalName\": \"ApiKind\",\r\n \"isHidden\": true,\r\n \"defaultDimensionValues\": [\r\n {\r\n \"value\": \"mongodb\"\r\n }\r\n ]\r\n },\r\n {\r\n \"name\": \"ApiKindResourceType\",\r\n \"internalName\": \"ApiKindResourceType\",\r\n \"isHidden\": true,\r\n \"defaultDimensionValues\": [\r\n {\r\n \"value\": \"collections\"\r\n }\r\n ]\r\n },\r\n {\r\n \"name\": \"IsThroughputRequest\",\r\n \"internalName\": \"IsThroughputRequest\",\r\n \"isHidden\": true,\r\n \"defaultDimensionValues\": [\r\n {\r\n \"value\": \"True\"\r\n }\r\n ]\r\n }\r\n ]\r\n },\r\n {\r\n \"name\": \"MongoRequestCharge\",\r\n \"displayName\": \"Mongo Request Charge\",\r\n \"internalMetricName\": \"MongoRequestCharge\",\r\n \"displayDescription\": \"Mongo Request Units Consumed\",\r\n \"unit\": \"Count\",\r\n \"aggregationType\": \"Total\",\r\n \"lockAggregationType\": \"\",\r\n \"sourceMdmAccount\": \"CosmosDBCustomer\",\r\n \"sourceMdmNamespace\": \"AzureMonitor\",\r\n \"fillGapWithZero\": true,\r\n \"category\": \"Requests\",\r\n \"resourceIdDimensionNameOverride\": \"GlobalDatabaseAccountName\",\r\n \"supportedAggregationTypes\": [\r\n \"Total\",\r\n \"Average\",\r\n \"Maximum\"\r\n ],\r\n \"dimensions\": [\r\n {\r\n \"name\": \"DatabaseName\",\r\n \"internalName\": \"DatabaseName\"\r\n },\r\n {\r\n \"name\": \"CollectionName\",\r\n \"internalName\": \"CollectionName\"\r\n },\r\n {\r\n \"name\": \"Region\",\r\n \"internalName\": \"Region\"\r\n },\r\n {\r\n \"name\": \"CommandName\",\r\n \"internalName\": \"CommandName\"\r\n },\r\n {\r\n \"name\": \"ErrorCode\",\r\n \"internalName\": \"ErrorCode\"\r\n },\r\n {\r\n \"name\": \"Status\",\r\n \"internalName\": \"Status\"\r\n }\r\n ]\r\n },\r\n {\r\n \"name\": \"ProvisionedThroughput\",\r\n \"displayName\": \"Provisioned Throughput\",\r\n \"internalMetricName\": \"ProvisionedThroughput\",\r\n \"displayDescription\": \"Provisioned Throughput\",\r\n \"unit\": \"Count\",\r\n \"aggregationType\": \"Maximum\",\r\n \"lockAggregationType\": \"Maximum\",\r\n \"sourceMdmAccount\": \"CosmosDBCustomer\",\r\n \"sourceMdmNamespace\": \"AzureMonitor\",\r\n \"fillGapWithZero\": false,\r\n \"category\": \"Requests\",\r\n \"resourceIdDimensionNameOverride\": \"GlobalDatabaseAccountName\",\r\n \"supportedAggregationTypes\": [\r\n \"Maximum\"\r\n ],\r\n \"supportedTimeGrainTypes\": [\r\n \"PT5M\"\r\n ],\r\n \"dimensions\": [\r\n {\r\n \"name\": \"DatabaseName\",\r\n \"internalName\": \"DatabaseName\"\r\n },\r\n {\r\n \"name\": \"CollectionName\",\r\n \"internalName\": \"CollectionName\"\r\n }\r\n ]\r\n },\r\n {\r\n \"name\": \"RegionFailover\",\r\n \"displayName\": \"Region Failed Over\",\r\n \"internalMetricName\": \"RegionFailover\",\r\n \"displayDescription\": \"Region Failed Over\",\r\n \"unit\": \"Count\",\r\n \"aggregationType\": \"Count\",\r\n \"lockAggregationType\": \"\",\r\n \"sourceMdmAccount\": \"CosmosDBCustomer\",\r\n \"sourceMdmNamespace\": \"AzureMonitor\",\r\n \"fillGapWithZero\": true,\r\n \"category\": \"Requests\",\r\n \"resourceIdDimensionNameOverride\": \"GlobalDatabaseAccountName\",\r\n \"supportedAggregationTypes\": [\r\n \"Count\"\r\n ],\r\n \"supportedTimeGrainTypes\": [\r\n \"PT5M\"\r\n ],\r\n \"dimensions\": []\r\n },\r\n {\r\n \"name\": \"ReplicationLatency\",\r\n \"displayName\": \"P99 Replication Latency\",\r\n \"internalMetricName\": \"ReplicationLatency\",\r\n \"displayDescription\": \"P99 Replication Latency across source and target regions for geo-enabled account\",\r\n \"unit\": \"MilliSeconds\",\r\n \"aggregationType\": \"Average\",\r\n \"lockAggregationType\": \"\",\r\n \"sourceMdmAccount\": \"CosmosDBCustomer\",\r\n \"sourceMdmNamespace\": \"AzureMonitor\",\r\n \"fillGapWithZero\": false,\r\n \"category\": \"Requests\",\r\n \"resourceIdDimensionNameOverride\": \"GlobalDatabaseAccount\",\r\n \"supportedAggregationTypes\": [\r\n \"Minimum\",\r\n \"Maximum\",\r\n \"Average\"\r\n ],\r\n \"dimensions\": [\r\n {\r\n \"name\": \"SourceRegion\",\r\n \"internalName\": \"SourceRegion\"\r\n },\r\n {\r\n \"name\": \"TargetRegion\",\r\n \"internalName\": \"TargetRegion\"\r\n }\r\n ]\r\n },\r\n {\r\n \"name\": \"SqlDatabaseDelete\",\r\n \"displayName\": \"Sql Database Deleted\",\r\n \"internalMetricName\": \"ControlPlaneArmAPIRequest\",\r\n \"displayDescription\": \"Sql Database Deleted\",\r\n \"unit\": \"Count\",\r\n \"aggregationType\": \"Count\",\r\n \"lockAggregationType\": \"\",\r\n \"sourceMdmAccount\": \"CosmosDBCustomer\",\r\n \"sourceMdmNamespace\": \"AzureMonitor\",\r\n \"fillGapWithZero\": true,\r\n \"category\": \"Requests\",\r\n \"resourceIdDimensionNameOverride\": \"GlobalDatabaseAccountName\",\r\n \"supportedAggregationTypes\": [\r\n \"Count\"\r\n ],\r\n \"supportedTimeGrainTypes\": [\r\n \"PT5M\"\r\n ],\r\n \"dimensions\": [\r\n {\r\n \"name\": \"ResourceName\",\r\n \"internalName\": \"ResourceName\",\r\n \"displayName\": \"Database Name\"\r\n },\r\n {\r\n \"name\": \"ApiKind\",\r\n \"internalName\": \"ApiKind\",\r\n \"isHidden\": true,\r\n \"defaultDimensionValues\": [\r\n {\r\n \"value\": \"sql\"\r\n }\r\n ]\r\n },\r\n {\r\n \"name\": \"ApiKindResourceType\",\r\n \"internalName\": \"ApiKindResourceType\",\r\n \"isHidden\": true,\r\n \"defaultDimensionValues\": [\r\n {\r\n \"value\": \"databases\"\r\n },\r\n {\r\n \"value\": \"sqldatabases\"\r\n }\r\n ]\r\n },\r\n {\r\n \"name\": \"OperationType\",\r\n \"internalName\": \"OperationType\",\r\n \"isHidden\": true,\r\n \"defaultDimensionValues\": [\r\n {\r\n \"value\": \"Delete\"\r\n }\r\n ]\r\n }\r\n ]\r\n },\r\n {\r\n \"name\": \"SqlDatabaseUpdate\",\r\n \"displayName\": \"Sql Database Updated\",\r\n \"internalMetricName\": \"ControlPlaneArmAPIRequest\",\r\n \"displayDescription\": \"Sql Database Updated\",\r\n \"unit\": \"Count\",\r\n \"aggregationType\": \"Count\",\r\n \"lockAggregationType\": \"\",\r\n \"sourceMdmAccount\": \"CosmosDBCustomer\",\r\n \"sourceMdmNamespace\": \"AzureMonitor\",\r\n \"fillGapWithZero\": true,\r\n \"category\": \"Requests\",\r\n \"resourceIdDimensionNameOverride\": \"GlobalDatabaseAccountName\",\r\n \"supportedAggregationTypes\": [\r\n \"Count\"\r\n ],\r\n \"supportedTimeGrainTypes\": [\r\n \"PT5M\"\r\n ],\r\n \"dimensions\": [\r\n {\r\n \"name\": \"ResourceName\",\r\n \"internalName\": \"ResourceName\",\r\n \"displayName\": \"Database Name\"\r\n },\r\n {\r\n \"name\": \"ApiKind\",\r\n \"internalName\": \"ApiKind\",\r\n \"isHidden\": true,\r\n \"defaultDimensionValues\": [\r\n {\r\n \"value\": \"sql\"\r\n }\r\n ]\r\n },\r\n {\r\n \"name\": \"ApiKindResourceType\",\r\n \"internalName\": \"ApiKindResourceType\",\r\n \"isHidden\": true,\r\n \"defaultDimensionValues\": [\r\n {\r\n \"value\": \"databases\"\r\n },\r\n {\r\n \"value\": \"sqldatabases\"\r\n }\r\n ]\r\n },\r\n {\r\n \"name\": \"IsThroughputRequest\",\r\n \"internalName\": \"IsThroughputRequest\",\r\n \"isHidden\": true,\r\n \"defaultDimensionValues\": [\r\n {\r\n \"value\": \"False\"\r\n }\r\n ]\r\n },\r\n {\r\n \"name\": \"OperationType\",\r\n \"internalName\": \"OperationType\",\r\n \"isHidden\": true,\r\n \"defaultDimensionValues\": [\r\n {\r\n \"value\": \"Upsert\"\r\n },\r\n {\r\n \"value\": \"Replace\"\r\n }\r\n ]\r\n }\r\n ]\r\n },\r\n {\r\n \"name\": \"TableTableThroughputUpdate\",\r\n \"displayName\": \"AzureTable Table Throughput Updated\",\r\n \"internalMetricName\": \"ControlPlaneArmAPIRequest\",\r\n \"displayDescription\": \"AzureTable Table Throughput Updated\",\r\n \"unit\": \"Count\",\r\n \"aggregationType\": \"Count\",\r\n \"lockAggregationType\": \"\",\r\n \"sourceMdmAccount\": \"CosmosDBCustomer\",\r\n \"sourceMdmNamespace\": \"AzureMonitor\",\r\n \"fillGapWithZero\": true,\r\n \"category\": \"Requests\",\r\n \"resourceIdDimensionNameOverride\": \"GlobalDatabaseAccountName\",\r\n \"supportedAggregationTypes\": [\r\n \"Count\"\r\n ],\r\n \"supportedTimeGrainTypes\": [\r\n \"PT5M\"\r\n ],\r\n \"dimensions\": [\r\n {\r\n \"name\": \"ResourceName\",\r\n \"internalName\": \"ResourceName\",\r\n \"displayName\": \"Table Name\"\r\n },\r\n {\r\n \"name\": \"ApiKind\",\r\n \"internalName\": \"ApiKind\",\r\n \"isHidden\": true,\r\n \"defaultDimensionValues\": [\r\n {\r\n \"value\": \"table\"\r\n }\r\n ]\r\n },\r\n {\r\n \"name\": \"ApiKindResourceType\",\r\n \"internalName\": \"ApiKindResourceType\",\r\n \"isHidden\": true,\r\n \"defaultDimensionValues\": [\r\n {\r\n \"value\": \"tables\"\r\n }\r\n ]\r\n },\r\n {\r\n \"name\": \"IsThroughputRequest\",\r\n \"internalName\": \"IsThroughputRequest\",\r\n \"isHidden\": true,\r\n \"defaultDimensionValues\": [\r\n {\r\n \"value\": \"True\"\r\n }\r\n ]\r\n }\r\n ]\r\n },\r\n {\r\n \"name\": \"TableTableUpdate\",\r\n \"displayName\": \"AzureTable Table Updated\",\r\n \"internalMetricName\": \"ControlPlaneArmAPIRequest\",\r\n \"displayDescription\": \"AzureTable Table Updated\",\r\n \"unit\": \"Count\",\r\n \"aggregationType\": \"Count\",\r\n \"lockAggregationType\": \"\",\r\n \"sourceMdmAccount\": \"CosmosDBCustomer\",\r\n \"sourceMdmNamespace\": \"AzureMonitor\",\r\n \"fillGapWithZero\": true,\r\n \"category\": \"Requests\",\r\n \"resourceIdDimensionNameOverride\": \"GlobalDatabaseAccountName\",\r\n \"supportedAggregationTypes\": [\r\n \"Count\"\r\n ],\r\n \"supportedTimeGrainTypes\": [\r\n \"PT5M\"\r\n ],\r\n \"dimensions\": [\r\n {\r\n \"name\": \"ResourceName\",\r\n \"internalName\": \"ResourceName\",\r\n \"displayName\": \"Table Name\"\r\n },\r\n {\r\n \"name\": \"ApiKind\",\r\n \"internalName\": \"ApiKind\",\r\n \"isHidden\": true,\r\n \"defaultDimensionValues\": [\r\n {\r\n \"value\": \"table\"\r\n }\r\n ]\r\n },\r\n {\r\n \"name\": \"ApiKindResourceType\",\r\n \"internalName\": \"ApiKindResourceType\",\r\n \"isHidden\": true,\r\n \"defaultDimensionValues\": [\r\n {\r\n \"value\": \"tables\"\r\n }\r\n ]\r\n },\r\n {\r\n \"name\": \"IsThroughputRequest\",\r\n \"internalName\": \"IsThroughputRequest\",\r\n \"isHidden\": true,\r\n \"defaultDimensionValues\": [\r\n {\r\n \"value\": \"False\"\r\n }\r\n ]\r\n },\r\n {\r\n \"name\": \"OperationType\",\r\n \"internalName\": \"OperationType\",\r\n \"isHidden\": true,\r\n \"defaultDimensionValues\": [\r\n {\r\n \"value\": \"Upsert\"\r\n },\r\n {\r\n \"value\": \"Replace\"\r\n }\r\n ]\r\n }\r\n ]\r\n },\r\n {\r\n \"name\": \"UpdateAccountNetworkSettings\",\r\n \"displayName\": \"Account Network Settings Updated\",\r\n \"internalMetricName\": \"UpdateAccountNetworkSettings\",\r\n \"displayDescription\": \"Account Network Settings Updated\",\r\n \"unit\": \"Count\",\r\n \"aggregationType\": \"Count\",\r\n \"lockAggregationType\": \"\",\r\n \"sourceMdmAccount\": \"CosmosDBCustomer\",\r\n \"sourceMdmNamespace\": \"AzureMonitor\",\r\n \"fillGapWithZero\": true,\r\n \"category\": \"Requests\",\r\n \"resourceIdDimensionNameOverride\": \"GlobalDatabaseAccountName\",\r\n \"supportedAggregationTypes\": [\r\n \"Count\"\r\n ],\r\n \"supportedTimeGrainTypes\": [\r\n \"PT5M\"\r\n ],\r\n \"dimensions\": []\r\n },\r\n {\r\n \"name\": \"UpdateDiagnosticsSettings\",\r\n \"displayName\": \"Account Diagnostic Settings Updated\",\r\n \"internalMetricName\": \"UpdateDiagnosticSettings\",\r\n \"displayDescription\": \"Account Diagnostic Settings Updated\",\r\n \"unit\": \"Count\",\r\n \"aggregationType\": \"Count\",\r\n \"lockAggregationType\": \"\",\r\n \"sourceMdmAccount\": \"CosmosDBCustomer\",\r\n \"sourceMdmNamespace\": \"AzureMonitor\",\r\n \"fillGapWithZero\": true,\r\n \"category\": \"Requests\",\r\n \"resourceIdDimensionNameOverride\": \"GlobalDatabaseAccountName\",\r\n \"supportedAggregationTypes\": [\r\n \"Count\"\r\n ],\r\n \"supportedTimeGrainTypes\": [\r\n \"PT5M\"\r\n ],\r\n \"dimensions\": [\r\n {\r\n \"name\": \"DiagnosticSettingsName\",\r\n \"internalName\": \"DiagnosticSettingsName\",\r\n \"displayName\": \"DiagnosticSettings Name\"\r\n },\r\n {\r\n \"name\": \"ResourceGroupName\",\r\n \"internalName\": \"ResourceGroupName\",\r\n \"displayName\": \"ResourceGroup Name\"\r\n }\r\n ]\r\n },\r\n {\r\n \"name\": \"IntegratedCacheHitRate\",\r\n \"displayName\": \"IntegratedCacheHitRate\",\r\n \"internalMetricName\": \"IntegratedCacheHitRate\",\r\n \"displayDescription\": \"Cache hit rate for integrated caches\",\r\n \"unit\": \"Percent\",\r\n \"aggregationType\": \"Average\",\r\n \"lockAggregationType\": \"Average\",\r\n \"sourceMdmAccount\": \"CosmosDBCustomer\",\r\n \"sourceMdmNamespace\": \"AzureMonitor\",\r\n \"fillGapWithZero\": false,\r\n \"category\": \"Requests\",\r\n \"resourceIdDimensionNameOverride\": \"GlobalDatabaseAccountName\",\r\n \"supportedAggregationTypes\": [\r\n \"Average\"\r\n ],\r\n \"supportedTimeGrainTypes\": [\r\n \"PT5M\"\r\n ],\r\n \"dimensions\": [\r\n {\r\n \"name\": \"CacheType\",\r\n \"internalName\": \"CacheType\"\r\n },\r\n {\r\n \"name\": \"Region\",\r\n \"internalName\": \"Region\"\r\n }\r\n ]\r\n },\r\n {\r\n \"name\": \"IntegratedCacheTTLExpirationCount\",\r\n \"displayName\": \"IntegratedCacheTTLExpirationCount\",\r\n \"internalMetricName\": \"IntegratedCacheTTLExpirationCount\",\r\n \"displayDescription\": \"Number of entries removed from the integrated cache due to TTL expiration\",\r\n \"unit\": \"Count\",\r\n \"aggregationType\": \"Average\",\r\n \"lockAggregationType\": \"Average\",\r\n \"sourceMdmAccount\": \"CosmosDBCustomer\",\r\n \"sourceMdmNamespace\": \"AzureMonitor\",\r\n \"fillGapWithZero\": false,\r\n \"category\": \"Requests\",\r\n \"resourceIdDimensionNameOverride\": \"GlobalDatabaseAccountName\",\r\n \"supportedAggregationTypes\": [\r\n \"Average\"\r\n ],\r\n \"supportedTimeGrainTypes\": [\r\n \"PT5M\"\r\n ],\r\n \"dimensions\": [\r\n {\r\n \"name\": \"CacheType\",\r\n \"internalName\": \"CacheType\"\r\n },\r\n {\r\n \"name\": \"Region\",\r\n \"internalName\": \"Region\"\r\n }\r\n ]\r\n }\r\n ]\r\n }\r\n }\r\n }\r\n ]\r\n}", + "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"name\": \"Microsoft.DocumentDB/databaseAccounts/sqlDatabases/write\",\r\n \"display\": {\r\n \"Provider\": \"Microsoft DocumentDB\",\r\n \"Resource\": \"SQL Database\",\r\n \"Operation\": \"Write SQL database\",\r\n \"Description\": \"Create a SQL database.\"\r\n }\r\n },\r\n {\r\n \"name\": \"Microsoft.DocumentDB/databaseAccounts/sqlDatabases/read\",\r\n \"display\": {\r\n \"Provider\": \"Microsoft DocumentDB\",\r\n \"Resource\": \"SQL Database\",\r\n \"Operation\": \"Read SQL database(s)\",\r\n \"Description\": \"Read a SQL database or list all the SQL databases.\"\r\n }\r\n },\r\n {\r\n \"name\": \"Microsoft.DocumentDB/databaseAccounts/sqlDatabases/delete\",\r\n \"display\": {\r\n \"Provider\": \"Microsoft DocumentDB\",\r\n \"Resource\": \"SQL Database\",\r\n \"Operation\": \"Delete SQL database\",\r\n \"Description\": \"Delete a SQL database.\"\r\n }\r\n },\r\n {\r\n \"name\": \"Microsoft.DocumentDB/databaseAccounts/sqlDatabases/operationResults/read\",\r\n \"display\": {\r\n \"Provider\": \"Microsoft DocumentDB\",\r\n \"Resource\": \"SQL Database\",\r\n \"Operation\": \"Read operation results\",\r\n \"Description\": \"Read status of the asynchronous operation.\"\r\n }\r\n },\r\n {\r\n \"name\": \"Microsoft.DocumentDB/databaseAccounts/sqlDatabases/containers/write\",\r\n \"display\": {\r\n \"Provider\": \"Microsoft DocumentDB\",\r\n \"Resource\": \"SQL Container\",\r\n \"Operation\": \"Write SQL container\",\r\n \"Description\": \"Create or update a SQL container.\"\r\n }\r\n },\r\n {\r\n \"name\": \"Microsoft.DocumentDB/databaseAccounts/sqlDatabases/containers/read\",\r\n \"display\": {\r\n \"Provider\": \"Microsoft DocumentDB\",\r\n \"Resource\": \"SQL Container\",\r\n \"Operation\": \"Read SQL container(s)\",\r\n \"Description\": \"Read a SQL container or list all the SQL containers.\"\r\n }\r\n },\r\n {\r\n \"name\": \"Microsoft.DocumentDB/databaseAccounts/sqlDatabases/containers/delete\",\r\n \"display\": {\r\n \"Provider\": \"Microsoft DocumentDB\",\r\n \"Resource\": \"SQL Container\",\r\n \"Operation\": \"Delete SQL container\",\r\n \"Description\": \"Delete a SQL container.\"\r\n }\r\n },\r\n {\r\n \"name\": \"Microsoft.DocumentDB/databaseAccounts/sqlDatabases/containers/operationResults/read\",\r\n \"display\": {\r\n \"Provider\": \"Microsoft DocumentDB\",\r\n \"Resource\": \"SQL Container\",\r\n \"Operation\": \"Read operation results\",\r\n \"Description\": \"Read status of the asynchronous operation.\"\r\n }\r\n },\r\n {\r\n \"name\": \"Microsoft.DocumentDB/databaseAccounts/sqlDatabases/containers/storedProcedures/write\",\r\n \"display\": {\r\n \"Provider\": \"Microsoft DocumentDB\",\r\n \"Resource\": \"SQL Stored Procedure\",\r\n \"Operation\": \"Write SQL stored procedure\",\r\n \"Description\": \"Create or update a SQL stored procedure.\"\r\n }\r\n },\r\n {\r\n \"name\": \"Microsoft.DocumentDB/databaseAccounts/sqlDatabases/containers/storedProcedures/read\",\r\n \"display\": {\r\n \"Provider\": \"Microsoft DocumentDB\",\r\n \"Resource\": \"SQL Stored Procedure\",\r\n \"Operation\": \"Read SQL stored procedure(s)\",\r\n \"Description\": \"Read a SQL stored procedure or list all the SQL stored procedures.\"\r\n }\r\n },\r\n {\r\n \"name\": \"Microsoft.DocumentDB/databaseAccounts/sqlDatabases/containers/storedProcedures/delete\",\r\n \"display\": {\r\n \"Provider\": \"Microsoft DocumentDB\",\r\n \"Resource\": \"SQL Stored Procedure\",\r\n \"Operation\": \"Delete SQL stored procedure\",\r\n \"Description\": \"Delete a SQL stored procedure.\"\r\n }\r\n },\r\n {\r\n \"name\": \"Microsoft.DocumentDB/databaseAccounts/sqlDatabases/containers/storedProcedures/operationResults/read\",\r\n \"display\": {\r\n \"Provider\": \"Microsoft DocumentDB\",\r\n \"Resource\": \"SQL Stored Procedure\",\r\n \"Operation\": \"Read operation results\",\r\n \"Description\": \"Read status of the asynchronous operation.\"\r\n }\r\n },\r\n {\r\n \"name\": \"Microsoft.DocumentDB/databaseAccounts/sqlDatabases/containers/userDefinedFunctions/write\",\r\n \"display\": {\r\n \"Provider\": \"Microsoft DocumentDB\",\r\n \"Resource\": \"SQL User Defined Function\",\r\n \"Operation\": \"Write SQL user defined function\",\r\n \"Description\": \"Create or update a SQL user defined function.\"\r\n }\r\n },\r\n {\r\n \"name\": \"Microsoft.DocumentDB/databaseAccounts/sqlDatabases/containers/userDefinedFunctions/read\",\r\n \"display\": {\r\n \"Provider\": \"Microsoft DocumentDB\",\r\n \"Resource\": \"SQL User Defined Function\",\r\n \"Operation\": \"Read SQL user defined function(s)\",\r\n \"Description\": \"Read a SQL user defined function or list all the SQL user defined functions.\"\r\n }\r\n },\r\n {\r\n \"name\": \"Microsoft.DocumentDB/databaseAccounts/sqlDatabases/containers/userDefinedFunctions/delete\",\r\n \"display\": {\r\n \"Provider\": \"Microsoft DocumentDB\",\r\n \"Resource\": \"SQL User Defined Function\",\r\n \"Operation\": \"Delete SQL user defined function\",\r\n \"Description\": \"Delete a SQL user defined function.\"\r\n }\r\n },\r\n {\r\n \"name\": \"Microsoft.DocumentDB/databaseAccounts/sqlDatabases/containers/userDefinedFunctions/operationResults/read\",\r\n \"display\": {\r\n \"Provider\": \"Microsoft DocumentDB\",\r\n \"Resource\": \"SQL User Defined Function\",\r\n \"Operation\": \"Read operation results\",\r\n \"Description\": \"Read status of the asynchronous operation.\"\r\n }\r\n },\r\n {\r\n \"name\": \"Microsoft.DocumentDB/databaseAccounts/sqlDatabases/containers/triggers/write\",\r\n \"display\": {\r\n \"Provider\": \"Microsoft DocumentDB\",\r\n \"Resource\": \"SQL Tirgger\",\r\n \"Operation\": \"Write SQL trigger\",\r\n \"Description\": \"Create or update a SQL trigger.\"\r\n }\r\n },\r\n {\r\n \"name\": \"Microsoft.DocumentDB/databaseAccounts/sqlDatabases/containers/triggers/read\",\r\n \"display\": {\r\n \"Provider\": \"Microsoft DocumentDB\",\r\n \"Resource\": \"SQL Tirgger\",\r\n \"Operation\": \"Read SQL trigger(s)\",\r\n \"Description\": \"Read a SQL trigger or list all the SQL triggers.\"\r\n }\r\n },\r\n {\r\n \"name\": \"Microsoft.DocumentDB/databaseAccounts/sqlDatabases/containers/triggers/delete\",\r\n \"display\": {\r\n \"Provider\": \"Microsoft DocumentDB\",\r\n \"Resource\": \"SQL Tirgger\",\r\n \"Operation\": \"Delete SQL trigger\",\r\n \"Description\": \"Delete a SQL trigger.\"\r\n }\r\n },\r\n {\r\n \"name\": \"Microsoft.DocumentDB/databaseAccounts/sqlDatabases/containers/triggers/operationResults/read\",\r\n \"display\": {\r\n \"Provider\": \"Microsoft DocumentDB\",\r\n \"Resource\": \"SQL Tirgger\",\r\n \"Operation\": \"Read operation results\",\r\n \"Description\": \"Read status of the asynchronous operation.\"\r\n }\r\n },\r\n {\r\n \"name\": \"Microsoft.DocumentDB/databaseAccounts/tables/write\",\r\n \"display\": {\r\n \"Provider\": \"Microsoft DocumentDB\",\r\n \"Resource\": \"Table\",\r\n \"Operation\": \"Write table\",\r\n \"Description\": \"Create or update a table.\"\r\n }\r\n },\r\n {\r\n \"name\": \"Microsoft.DocumentDB/databaseAccounts/tables/read\",\r\n \"display\": {\r\n \"Provider\": \"Microsoft DocumentDB\",\r\n \"Resource\": \"Table\",\r\n \"Operation\": \"Read table(s)\",\r\n \"Description\": \"Read a table or list all the tables.\"\r\n }\r\n },\r\n {\r\n \"name\": \"Microsoft.DocumentDB/databaseAccounts/tables/delete\",\r\n \"display\": {\r\n \"Provider\": \"Microsoft DocumentDB\",\r\n \"Resource\": \"Table\",\r\n \"Operation\": \"Delete table\",\r\n \"Description\": \"Delete a table.\"\r\n }\r\n },\r\n {\r\n \"name\": \"Microsoft.DocumentDB/databaseAccounts/tables/operationResults/read\",\r\n \"display\": {\r\n \"Provider\": \"Microsoft DocumentDB\",\r\n \"Resource\": \"Table\",\r\n \"Operation\": \"Read operation results\",\r\n \"Description\": \"Read status of the asynchronous operation.\"\r\n }\r\n },\r\n {\r\n \"name\": \"Microsoft.DocumentDB/databaseAccounts/mongodbDatabases/write\",\r\n \"display\": {\r\n \"Provider\": \"Microsoft DocumentDB\",\r\n \"Resource\": \"MongoDB Database\",\r\n \"Operation\": \"Write MongoDB database\",\r\n \"Description\": \"Create a MongoDB database.\"\r\n }\r\n },\r\n {\r\n \"name\": \"Microsoft.DocumentDB/databaseAccounts/mongodbDatabases/read\",\r\n \"display\": {\r\n \"Provider\": \"Microsoft DocumentDB\",\r\n \"Resource\": \"MongoDB Database\",\r\n \"Operation\": \"Read MongoDB database(s)\",\r\n \"Description\": \"Read a MongoDB database or list all the MongoDB databases.\"\r\n }\r\n },\r\n {\r\n \"name\": \"Microsoft.DocumentDB/databaseAccounts/mongodbDatabases/delete\",\r\n \"display\": {\r\n \"Provider\": \"Microsoft DocumentDB\",\r\n \"Resource\": \"MongoDB Database\",\r\n \"Operation\": \"Delete MongoDB database\",\r\n \"Description\": \"Delete a MongoDB database.\"\r\n }\r\n },\r\n {\r\n \"name\": \"Microsoft.DocumentDB/databaseAccounts/mongodbDatabases/operationResults/read\",\r\n \"display\": {\r\n \"Provider\": \"Microsoft DocumentDB\",\r\n \"Resource\": \"MongoDB Database\",\r\n \"Operation\": \"Read operation results\",\r\n \"Description\": \"Read status of the asynchronous operation.\"\r\n }\r\n },\r\n {\r\n \"name\": \"Microsoft.DocumentDB/databaseAccounts/mongodbDatabases/collections/write\",\r\n \"display\": {\r\n \"Provider\": \"Microsoft DocumentDB\",\r\n \"Resource\": \"MongoDB Collection\",\r\n \"Operation\": \"Write MongoDB collection\",\r\n \"Description\": \"Create or update a MongoDB collection.\"\r\n }\r\n },\r\n {\r\n \"name\": \"Microsoft.DocumentDB/databaseAccounts/mongodbDatabases/collections/read\",\r\n \"display\": {\r\n \"Provider\": \"Microsoft DocumentDB\",\r\n \"Resource\": \"MongoDB Collection\",\r\n \"Operation\": \"Read MongoDB collection(s)\",\r\n \"Description\": \"Read a MongoDB collection or list all the MongoDB collections.\"\r\n }\r\n },\r\n {\r\n \"name\": \"Microsoft.DocumentDB/databaseAccounts/mongodbDatabases/collections/delete\",\r\n \"display\": {\r\n \"Provider\": \"Microsoft DocumentDB\",\r\n \"Resource\": \"MongoDB Collection\",\r\n \"Operation\": \"Delete MongoDB collection\",\r\n \"Description\": \"Delete a MongoDB collection.\"\r\n }\r\n },\r\n {\r\n \"name\": \"Microsoft.DocumentDB/databaseAccounts/mongodbDatabases/collections/operationResults/read\",\r\n \"display\": {\r\n \"Provider\": \"Microsoft DocumentDB\",\r\n \"Resource\": \"MongoDB Collection\",\r\n \"Operation\": \"Read operation results\",\r\n \"Description\": \"Read status of the asynchronous operation.\"\r\n }\r\n },\r\n {\r\n \"name\": \"Microsoft.DocumentDB/databaseAccounts/cassandraKeyspaces/write\",\r\n \"display\": {\r\n \"Provider\": \"Microsoft DocumentDB\",\r\n \"Resource\": \"Cassandra Keyspace\",\r\n \"Operation\": \"Write Cassandra keyspace\",\r\n \"Description\": \"Create a Cassandra keyspace.\"\r\n }\r\n },\r\n {\r\n \"name\": \"Microsoft.DocumentDB/databaseAccounts/cassandraKeyspaces/read\",\r\n \"display\": {\r\n \"Provider\": \"Microsoft DocumentDB\",\r\n \"Resource\": \"Cassandra Keyspace\",\r\n \"Operation\": \"Read Cassandra keyspace(s)\",\r\n \"Description\": \"Read a Cassandra keyspace or list all the Cassandra keyspaces.\"\r\n }\r\n },\r\n {\r\n \"name\": \"Microsoft.DocumentDB/databaseAccounts/cassandraKeyspaces/delete\",\r\n \"display\": {\r\n \"Provider\": \"Microsoft DocumentDB\",\r\n \"Resource\": \"Cassandra Keyspace\",\r\n \"Operation\": \"Delete Cassandra keyspace\",\r\n \"Description\": \"Delete a Cassandra keyspace.\"\r\n }\r\n },\r\n {\r\n \"name\": \"Microsoft.DocumentDB/databaseAccounts/cassandraKeyspaces/operationResults/read\",\r\n \"display\": {\r\n \"Provider\": \"Microsoft DocumentDB\",\r\n \"Resource\": \"Cassandra Keyspace\",\r\n \"Operation\": \"Read operation results\",\r\n \"Description\": \"Read status of the asynchronous operation.\"\r\n }\r\n },\r\n {\r\n \"name\": \"Microsoft.DocumentDB/databaseAccounts/cassandraKeyspaces/tables/write\",\r\n \"display\": {\r\n \"Provider\": \"Microsoft DocumentDB\",\r\n \"Resource\": \"Cassandra Table\",\r\n \"Operation\": \"Write Cassandra table\",\r\n \"Description\": \"Create or update a Cassandra table.\"\r\n }\r\n },\r\n {\r\n \"name\": \"Microsoft.DocumentDB/databaseAccounts/cassandraKeyspaces/tables/read\",\r\n \"display\": {\r\n \"Provider\": \"Microsoft DocumentDB\",\r\n \"Resource\": \"Cassandra Table\",\r\n \"Operation\": \"Read Cassandra table(s)\",\r\n \"Description\": \"Read a Cassandra table or list all the Cassandra tables.\"\r\n }\r\n },\r\n {\r\n \"name\": \"Microsoft.DocumentDB/databaseAccounts/cassandraKeyspaces/tables/delete\",\r\n \"display\": {\r\n \"Provider\": \"Microsoft DocumentDB\",\r\n \"Resource\": \"Cassandra Table\",\r\n \"Operation\": \"Delete Cassandra table\",\r\n \"Description\": \"Delete a Cassandra table.\"\r\n }\r\n },\r\n {\r\n \"name\": \"Microsoft.DocumentDB/databaseAccounts/cassandraKeyspaces/tables/operationResults/read\",\r\n \"display\": {\r\n \"Provider\": \"Microsoft DocumentDB\",\r\n \"Resource\": \"Cassandra Table\",\r\n \"Operation\": \"Read operation results\",\r\n \"Description\": \"Read status of the asynchronous operation.\"\r\n }\r\n },\r\n {\r\n \"name\": \"Microsoft.DocumentDB/databaseAccounts/gremlinDatabases/write\",\r\n \"display\": {\r\n \"Provider\": \"Microsoft DocumentDB\",\r\n \"Resource\": \"Gremlin Database\",\r\n \"Operation\": \"Write Gremlin database\",\r\n \"Description\": \"Create a Gremlin database.\"\r\n }\r\n },\r\n {\r\n \"name\": \"Microsoft.DocumentDB/databaseAccounts/gremlinDatabases/read\",\r\n \"display\": {\r\n \"Provider\": \"Microsoft DocumentDB\",\r\n \"Resource\": \"Gremlin Database\",\r\n \"Operation\": \"Read Gremlin database(s)\",\r\n \"Description\": \"Read a Gremlin database or list all the Gremlin databases.\"\r\n }\r\n },\r\n {\r\n \"name\": \"Microsoft.DocumentDB/databaseAccounts/gremlinDatabases/delete\",\r\n \"display\": {\r\n \"Provider\": \"Microsoft DocumentDB\",\r\n \"Resource\": \"Gremlin Database\",\r\n \"Operation\": \"Delete Gremlin database\",\r\n \"Description\": \"Delete a Gremlin database.\"\r\n }\r\n },\r\n {\r\n \"name\": \"Microsoft.DocumentDB/databaseAccounts/gremlinDatabases/operationResults/read\",\r\n \"display\": {\r\n \"Provider\": \"Microsoft DocumentDB\",\r\n \"Resource\": \"Gremlin Database\",\r\n \"Operation\": \"Read operation results\",\r\n \"Description\": \"Read status of the asynchronous operation.\"\r\n }\r\n },\r\n {\r\n \"name\": \"Microsoft.DocumentDB/databaseAccounts/gremlinDatabases/graphs/write\",\r\n \"display\": {\r\n \"Provider\": \"Microsoft DocumentDB\",\r\n \"Resource\": \"Gremlin Graph\",\r\n \"Operation\": \"Write Gremlin graph\",\r\n \"Description\": \"Create or update a Gremlin graph.\"\r\n }\r\n },\r\n {\r\n \"name\": \"Microsoft.DocumentDB/databaseAccounts/gremlinDatabases/graphs/read\",\r\n \"display\": {\r\n \"Provider\": \"Microsoft DocumentDB\",\r\n \"Resource\": \"Gremlin Graph\",\r\n \"Operation\": \"Read Gremlin graph(s)\",\r\n \"Description\": \"Read a Gremlin graph or list all the Gremlin graphs.\"\r\n }\r\n },\r\n {\r\n \"name\": \"Microsoft.DocumentDB/databaseAccounts/gremlinDatabases/graphs/delete\",\r\n \"display\": {\r\n \"Provider\": \"Microsoft DocumentDB\",\r\n \"Resource\": \"Gremlin Graph\",\r\n \"Operation\": \"Delete Gremlin graph\",\r\n \"Description\": \"Delete a Gremlin graph.\"\r\n }\r\n },\r\n {\r\n \"name\": \"Microsoft.DocumentDB/databaseAccounts/gremlinDatabases/graphs/operationResults/read\",\r\n \"display\": {\r\n \"Provider\": \"Microsoft DocumentDB\",\r\n \"Resource\": \"Gremlin Graph\",\r\n \"Operation\": \"Read operation results\",\r\n \"Description\": \"Read status of the asynchronous operation.\"\r\n }\r\n },\r\n {\r\n \"name\": \"Microsoft.DocumentDB/databaseAccounts/sqlDatabases/throughputSettings/write\",\r\n \"display\": {\r\n \"Provider\": \"Microsoft DocumentDB\",\r\n \"Resource\": \"SQL Database throughput setting\",\r\n \"Operation\": \"Write SQL database throughput\",\r\n \"Description\": \"Update a SQL database throughput.\"\r\n }\r\n },\r\n {\r\n \"name\": \"Microsoft.DocumentDB/databaseAccounts/sqlDatabases/throughputSettings/read\",\r\n \"display\": {\r\n \"Provider\": \"Microsoft DocumentDB\",\r\n \"Resource\": \"SQL Database throughput setting\",\r\n \"Operation\": \"Read SQL database throughput\",\r\n \"Description\": \"Read a SQL database throughput.\"\r\n }\r\n },\r\n {\r\n \"name\": \"Microsoft.DocumentDB/databaseAccounts/sqlDatabases/throughputSettings/operationResults/read\",\r\n \"display\": {\r\n \"Provider\": \"Microsoft DocumentDB\",\r\n \"Resource\": \"SQL Database throughput setting\",\r\n \"Operation\": \"Read operation results\",\r\n \"Description\": \"Read status of the asynchronous operation.\"\r\n }\r\n },\r\n {\r\n \"name\": \"Microsoft.DocumentDB/databaseAccounts/sqlDatabases/throughputSettings/migrateToAutoscale/action\",\r\n \"display\": {\r\n \"Provider\": \"Microsoft DocumentDB\",\r\n \"Resource\": \"SQL Database throughput setting\",\r\n \"Operation\": \"Migrate SQL database offer to autoscale\",\r\n \"Description\": \"Migrate SQL database offer to autoscale.\"\r\n }\r\n },\r\n {\r\n \"name\": \"Microsoft.DocumentDB/databaseAccounts/sqlDatabases/throughputSettings/migrateToManualThroughput/action\",\r\n \"display\": {\r\n \"Provider\": \"Microsoft DocumentDB\",\r\n \"Resource\": \"SQL Database throughput setting\",\r\n \"Operation\": \"Migrate a SQL database throughput offer to manual throughput\",\r\n \"Description\": \"Migrate a SQL database throughput offer to manual throughput.\"\r\n }\r\n },\r\n {\r\n \"name\": \"Microsoft.DocumentDB/databaseAccounts/sqlDatabases/throughputSettings/migrateToAutoscale/operationResults/read\",\r\n \"display\": {\r\n \"Provider\": \"Microsoft DocumentDB\",\r\n \"Resource\": \"SQL Database throughput setting\",\r\n \"Operation\": \"Read operation results\",\r\n \"Description\": \"Read status of the asynchronous operation.\"\r\n }\r\n },\r\n {\r\n \"name\": \"Microsoft.DocumentDB/databaseAccounts/sqlDatabases/throughputSettings/migrateToManualThroughput/operationResults/read\",\r\n \"display\": {\r\n \"Provider\": \"Microsoft DocumentDB\",\r\n \"Resource\": \"SQL Database throughput setting\",\r\n \"Operation\": \"Read operation results\",\r\n \"Description\": \"Read status of the asynchronous operation.\"\r\n }\r\n },\r\n {\r\n \"name\": \"Microsoft.DocumentDB/databaseAccounts/sqlDatabases/containers/throughputSettings/write\",\r\n \"display\": {\r\n \"Provider\": \"Microsoft DocumentDB\",\r\n \"Resource\": \"SQL Container throughput setting\",\r\n \"Operation\": \"Write SQL container throughput\",\r\n \"Description\": \"Update a SQL container throughput.\"\r\n }\r\n },\r\n {\r\n \"name\": \"Microsoft.DocumentDB/databaseAccounts/sqlDatabases/containers/throughputSettings/read\",\r\n \"display\": {\r\n \"Provider\": \"Microsoft DocumentDB\",\r\n \"Resource\": \"SQL Container throughput setting\",\r\n \"Operation\": \"Read SQL container throughput\",\r\n \"Description\": \"Read a SQL container throughput.\"\r\n }\r\n },\r\n {\r\n \"name\": \"Microsoft.DocumentDB/databaseAccounts/sqlDatabases/containers/throughputSettings/operationResults/read\",\r\n \"display\": {\r\n \"Provider\": \"Microsoft DocumentDB\",\r\n \"Resource\": \"SQL Container throughput setting\",\r\n \"Operation\": \"Read operation results\",\r\n \"Description\": \"Read status of the asynchronous operation.\"\r\n }\r\n },\r\n {\r\n \"name\": \"Microsoft.DocumentDB/databaseAccounts/sqlDatabases/containers/throughputSettings/migrateToAutoscale/action\",\r\n \"display\": {\r\n \"Provider\": \"Microsoft DocumentDB\",\r\n \"Resource\": \"SQL Container throughput setting\",\r\n \"Operation\": \"Migrate SQL container offer to autoscale\",\r\n \"Description\": \"Migrate SQL container offer to autoscale.\"\r\n }\r\n },\r\n {\r\n \"name\": \"Microsoft.DocumentDB/databaseAccounts/sqlDatabases/containers/throughputSettings/migrateToManualThroughput/action\",\r\n \"display\": {\r\n \"Provider\": \"Microsoft DocumentDB\",\r\n \"Resource\": \"SQL Container throughput setting\",\r\n \"Operation\": \"Migrate a SQL database throughput offer to manual throughput\",\r\n \"Description\": \"Migrate a SQL database throughput offer to manual throughput.\"\r\n }\r\n },\r\n {\r\n \"name\": \"Microsoft.DocumentDB/databaseAccounts/sqlDatabases/containers/throughputSettings/migrateToAutoscale/operationResults/read\",\r\n \"display\": {\r\n \"Provider\": \"Microsoft DocumentDB\",\r\n \"Resource\": \"SQL Container throughput setting\",\r\n \"Operation\": \"Read operation results\",\r\n \"Description\": \"Read status of the asynchronous operation.\"\r\n }\r\n },\r\n {\r\n \"name\": \"Microsoft.DocumentDB/databaseAccounts/sqlDatabases/containers/throughputSettings/migrateToManualThroughput/operationResults/read\",\r\n \"display\": {\r\n \"Provider\": \"Microsoft DocumentDB\",\r\n \"Resource\": \"SQL Container throughput setting\",\r\n \"Operation\": \"Read operation results\",\r\n \"Description\": \"Read status of the asynchronous operation.\"\r\n }\r\n },\r\n {\r\n \"name\": \"Microsoft.DocumentDB/databaseAccounts/tables/throughputSettings/write\",\r\n \"display\": {\r\n \"Provider\": \"Microsoft DocumentDB\",\r\n \"Resource\": \"Table throughput setting\",\r\n \"Operation\": \"Write table throughput\",\r\n \"Description\": \"Update a table throughput.\"\r\n }\r\n },\r\n {\r\n \"name\": \"Microsoft.DocumentDB/databaseAccounts/tables/throughputSettings/read\",\r\n \"display\": {\r\n \"Provider\": \"Microsoft DocumentDB\",\r\n \"Resource\": \"Table throughput setting\",\r\n \"Operation\": \"Read table throughput\",\r\n \"Description\": \"Read a table throughput.\"\r\n }\r\n },\r\n {\r\n \"name\": \"Microsoft.DocumentDB/databaseAccounts/tables/throughputSettings/operationResults/read\",\r\n \"display\": {\r\n \"Provider\": \"Microsoft DocumentDB\",\r\n \"Resource\": \"Table throughput setting\",\r\n \"Operation\": \"Read operation results\",\r\n \"Description\": \"Read status of the asynchronous operation.\"\r\n }\r\n },\r\n {\r\n \"name\": \"Microsoft.DocumentDB/databaseAccounts/tables/throughputSettings/migrateToAutoscale/action\",\r\n \"display\": {\r\n \"Provider\": \"Microsoft DocumentDB\",\r\n \"Resource\": \"Table throughput setting\",\r\n \"Operation\": \"Migrate table offer to autoscale\",\r\n \"Description\": \"Migrate table offer to autoscale.\"\r\n }\r\n },\r\n {\r\n \"name\": \"Microsoft.DocumentDB/databaseAccounts/tables/throughputSettings/migrateToManualThroughput/action\",\r\n \"display\": {\r\n \"Provider\": \"Microsoft DocumentDB\",\r\n \"Resource\": \"Table throughput setting\",\r\n \"Operation\": \"Migrate table offer to to manual throughput\",\r\n \"Description\": \"Migrate table offer to to manual throughput.\"\r\n }\r\n },\r\n {\r\n \"name\": \"Microsoft.DocumentDB/databaseAccounts/tables/throughputSettings/migrateToAutoscale/operationResults/read\",\r\n \"display\": {\r\n \"Provider\": \"Microsoft DocumentDB\",\r\n \"Resource\": \"Table throughput setting\",\r\n \"Operation\": \"Read operation results\",\r\n \"Description\": \"Read status of the asynchronous operation.\"\r\n }\r\n },\r\n {\r\n \"name\": \"Microsoft.DocumentDB/databaseAccounts/tables/throughputSettings/migrateToManualThroughput/operationResults/read\",\r\n \"display\": {\r\n \"Provider\": \"Microsoft DocumentDB\",\r\n \"Resource\": \"Table throughput setting\",\r\n \"Operation\": \"Read operation results\",\r\n \"Description\": \"Read status of the asynchronous operation.\"\r\n }\r\n },\r\n {\r\n \"name\": \"Microsoft.DocumentDB/databaseAccounts/mongodbDatabases/throughputSettings/write\",\r\n \"display\": {\r\n \"Provider\": \"Microsoft DocumentDB\",\r\n \"Resource\": \"MongoDB Database throughput setting\",\r\n \"Operation\": \"Write MongoDB database throughput\",\r\n \"Description\": \"Update a MongoDB database throughput.\"\r\n }\r\n },\r\n {\r\n \"name\": \"Microsoft.DocumentDB/databaseAccounts/mongodbDatabases/throughputSettings/read\",\r\n \"display\": {\r\n \"Provider\": \"Microsoft DocumentDB\",\r\n \"Resource\": \"MongoDB Database throughput setting\",\r\n \"Operation\": \"Read MongoDB database throughput\",\r\n \"Description\": \"Read a MongoDB database throughput.\"\r\n }\r\n },\r\n {\r\n \"name\": \"Microsoft.DocumentDB/databaseAccounts/mongodbDatabases/throughputSettings/operationResults/read\",\r\n \"display\": {\r\n \"Provider\": \"Microsoft DocumentDB\",\r\n \"Resource\": \"MongoDB Database throughput setting\",\r\n \"Operation\": \"Read operation results\",\r\n \"Description\": \"Read status of the asynchronous operation.\"\r\n }\r\n },\r\n {\r\n \"name\": \"Microsoft.DocumentDB/databaseAccounts/mongodbDatabases/throughputSettings/migrateToAutoscale/action\",\r\n \"display\": {\r\n \"Provider\": \"Microsoft DocumentDB\",\r\n \"Resource\": \"MongoDB Database throughput setting\",\r\n \"Operation\": \"Migrate MongoDB database offer to autoscale\",\r\n \"Description\": \"Migrate MongoDB database offer to autoscale.\"\r\n }\r\n },\r\n {\r\n \"name\": \"Microsoft.DocumentDB/databaseAccounts/mongodbDatabases/throughputSettings/migrateToManualThroughput/action\",\r\n \"display\": {\r\n \"Provider\": \"Microsoft DocumentDB\",\r\n \"Resource\": \"MongoDB Database throughput setting\",\r\n \"Operation\": \"Migrate MongoDB database offer to to manual throughput\",\r\n \"Description\": \"Migrate MongoDB database offer to to manual throughput.\"\r\n }\r\n },\r\n {\r\n \"name\": \"Microsoft.DocumentDB/databaseAccounts/mongodbDatabases/throughputSettings/migrateToAutoscale/operationResults/read\",\r\n \"display\": {\r\n \"Provider\": \"Microsoft DocumentDB\",\r\n \"Resource\": \"MongoDB Database throughput setting\",\r\n \"Operation\": \"Read operation results\",\r\n \"Description\": \"Read status of the asynchronous operation.\"\r\n }\r\n },\r\n {\r\n \"name\": \"Microsoft.DocumentDB/databaseAccounts/mongodbDatabases/throughputSettings/migrateToManualThroughput/operationResults/read\",\r\n \"display\": {\r\n \"Provider\": \"Microsoft DocumentDB\",\r\n \"Resource\": \"MongoDB Database throughput setting\",\r\n \"Operation\": \"Read operation results\",\r\n \"Description\": \"Read status of the asynchronous operation.\"\r\n }\r\n },\r\n {\r\n \"name\": \"Microsoft.DocumentDB/databaseAccounts/mongodbDatabases/collections/throughputSettings/write\",\r\n \"display\": {\r\n \"Provider\": \"Microsoft DocumentDB\",\r\n \"Resource\": \"MongoDB Collection throughput setting\",\r\n \"Operation\": \"Write MongoDB collection throughput\",\r\n \"Description\": \"Update a MongoDB collection throughput.\"\r\n }\r\n },\r\n {\r\n \"name\": \"Microsoft.DocumentDB/databaseAccounts/mongodbDatabases/collections/throughputSettings/read\",\r\n \"display\": {\r\n \"Provider\": \"Microsoft DocumentDB\",\r\n \"Resource\": \"MongoDB Collection throughput setting\",\r\n \"Operation\": \"Read MongoDB collection throughput\",\r\n \"Description\": \"Read a MongoDB collection throughput.\"\r\n }\r\n },\r\n {\r\n \"name\": \"Microsoft.DocumentDB/databaseAccounts/mongodbDatabases/collections/throughputSettings/operationResults/read\",\r\n \"display\": {\r\n \"Provider\": \"Microsoft DocumentDB\",\r\n \"Resource\": \"MongoDB Collection throughput setting\",\r\n \"Operation\": \"Read operation results\",\r\n \"Description\": \"Read status of the asynchronous operation.\"\r\n }\r\n },\r\n {\r\n \"name\": \"Microsoft.DocumentDB/databaseAccounts/mongodbDatabases/collections/throughputSettings/migrateToAutoscale/action\",\r\n \"display\": {\r\n \"Provider\": \"Microsoft DocumentDB\",\r\n \"Resource\": \"MongoDB collection throughput setting\",\r\n \"Operation\": \"Migrate MongoDB collection offer to autoscale\",\r\n \"Description\": \"Migrate MongoDB collection offer to autoscale.\"\r\n }\r\n },\r\n {\r\n \"name\": \"Microsoft.DocumentDB/databaseAccounts/mongodbDatabases/collections/throughputSettings/migrateToManualThroughput/action\",\r\n \"display\": {\r\n \"Provider\": \"Microsoft DocumentDB\",\r\n \"Resource\": \"MongoDB collection throughput setting\",\r\n \"Operation\": \"Migrate MongoDB collection offer to to manual throughput\",\r\n \"Description\": \"Migrate MongoDB collection offer to to manual throughput.\"\r\n }\r\n },\r\n {\r\n \"name\": \"Microsoft.DocumentDB/databaseAccounts/mongodbDatabases/collections/throughputSettings/migrateToAutoscale/operationResults/read\",\r\n \"display\": {\r\n \"Provider\": \"Microsoft DocumentDB\",\r\n \"Resource\": \"MongoDB collection throughput setting\",\r\n \"Operation\": \"Read operation results\",\r\n \"Description\": \"Read status of the asynchronous operation.\"\r\n }\r\n },\r\n {\r\n \"name\": \"Microsoft.DocumentDB/databaseAccounts/mongodbDatabases/collections/throughputSettings/migrateToManualThroughput/operationResults/read\",\r\n \"display\": {\r\n \"Provider\": \"Microsoft DocumentDB\",\r\n \"Resource\": \"MongoDB collection throughput setting\",\r\n \"Operation\": \"Read operation results\",\r\n \"Description\": \"Read status of the asynchronous operation.\"\r\n }\r\n },\r\n {\r\n \"name\": \"Microsoft.DocumentDB/databaseAccounts/cassandraKeyspaces/throughputSettings/write\",\r\n \"display\": {\r\n \"Provider\": \"Microsoft DocumentDB\",\r\n \"Resource\": \"Cassandra Keyspace throughput setting\",\r\n \"Operation\": \"Write Cassandra keyspace throughput\",\r\n \"Description\": \"Update a Cassandra keyspace throughput.\"\r\n }\r\n },\r\n {\r\n \"name\": \"Microsoft.DocumentDB/databaseAccounts/cassandraKeyspaces/throughputSettings/read\",\r\n \"display\": {\r\n \"Provider\": \"Microsoft DocumentDB\",\r\n \"Resource\": \"Cassandra Keyspace throughput setting\",\r\n \"Operation\": \"Read Cassandra keyspace throughput\",\r\n \"Description\": \"Read a Cassandra keyspace throughput.\"\r\n }\r\n },\r\n {\r\n \"name\": \"Microsoft.DocumentDB/databaseAccounts/cassandraKeyspaces/throughputSettings/operationResults/read\",\r\n \"display\": {\r\n \"Provider\": \"Microsoft DocumentDB\",\r\n \"Resource\": \"Cassandra Keyspace throughput setting\",\r\n \"Operation\": \"Read operation results\",\r\n \"Description\": \"Read status of the asynchronous operation.\"\r\n }\r\n },\r\n {\r\n \"name\": \"Microsoft.DocumentDB/databaseAccounts/cassandraKeyspaces/throughputSettings/migrateToAutoscale/action\",\r\n \"display\": {\r\n \"Provider\": \"Microsoft DocumentDB\",\r\n \"Resource\": \"Cassandra keyspace throughput setting\",\r\n \"Operation\": \"Migrate Cassandra keyspace offer to autoscale\",\r\n \"Description\": \"Migrate Cassandra keyspace offer to autoscale.\"\r\n }\r\n },\r\n {\r\n \"name\": \"Microsoft.DocumentDB/databaseAccounts/cassandraKeyspaces/throughputSettings/migrateToManualThroughput/action\",\r\n \"display\": {\r\n \"Provider\": \"Microsoft DocumentDB\",\r\n \"Resource\": \"Cassandra keyspace throughput setting\",\r\n \"Operation\": \"Migrate Cassandra keyspace offer to to manual throughput\",\r\n \"Description\": \"Migrate Cassandra keyspace offer to to manual throughput.\"\r\n }\r\n },\r\n {\r\n \"name\": \"Microsoft.DocumentDB/databaseAccounts/cassandraKeyspaces/throughputSettings/migrateToAutoscale/operationResults/read\",\r\n \"display\": {\r\n \"Provider\": \"Microsoft DocumentDB\",\r\n \"Resource\": \"Cassandra keyspace throughput setting\",\r\n \"Operation\": \"Read operation results\",\r\n \"Description\": \"Read status of the asynchronous operation.\"\r\n }\r\n },\r\n {\r\n \"name\": \"Microsoft.DocumentDB/databaseAccounts/cassandraKeyspaces/throughputSettings/migrateToManualThroughput/operationResults/read\",\r\n \"display\": {\r\n \"Provider\": \"Microsoft DocumentDB\",\r\n \"Resource\": \"Cassandra keyspace throughput setting\",\r\n \"Operation\": \"Read operation results\",\r\n \"Description\": \"Read status of the asynchronous operation.\"\r\n }\r\n },\r\n {\r\n \"name\": \"Microsoft.DocumentDB/databaseAccounts/cassandraKeyspaces/tables/throughputSettings/write\",\r\n \"display\": {\r\n \"Provider\": \"Microsoft DocumentDB\",\r\n \"Resource\": \"Cassandra Table throughput setting\",\r\n \"Operation\": \"Write Cassandra table throughput\",\r\n \"Description\": \"Update a Cassandra table throughput.\"\r\n }\r\n },\r\n {\r\n \"name\": \"Microsoft.DocumentDB/databaseAccounts/cassandraKeyspaces/tables/throughputSettings/read\",\r\n \"display\": {\r\n \"Provider\": \"Microsoft DocumentDB\",\r\n \"Resource\": \"Cassandra Table throughput setting\",\r\n \"Operation\": \"Read Cassandra table throughput\",\r\n \"Description\": \"Read a Cassandra table throughput.\"\r\n }\r\n },\r\n {\r\n \"name\": \"Microsoft.DocumentDB/databaseAccounts/cassandraKeyspaces/tables/throughputSettings/operationResults/read\",\r\n \"display\": {\r\n \"Provider\": \"Microsoft DocumentDB\",\r\n \"Resource\": \"Cassandra Table throughput setting\",\r\n \"Operation\": \"Read operation results\",\r\n \"Description\": \"Read status of the asynchronous operation.\"\r\n }\r\n },\r\n {\r\n \"name\": \"Microsoft.DocumentDB/databaseAccounts/cassandraKeyspaces/tables/throughputSettings/migrateToAutoscale/action\",\r\n \"display\": {\r\n \"Provider\": \"Microsoft DocumentDB\",\r\n \"Resource\": \"Cassandra table throughput setting\",\r\n \"Operation\": \"Migrate Cassandra table offer to autoscale\",\r\n \"Description\": \"Migrate Cassandra table offer to autoscale.\"\r\n }\r\n },\r\n {\r\n \"name\": \"Microsoft.DocumentDB/databaseAccounts/cassandraKeyspaces/tables/throughputSettings/migrateToManualThroughput/action\",\r\n \"display\": {\r\n \"Provider\": \"Microsoft DocumentDB\",\r\n \"Resource\": \"Cassandra table throughput setting\",\r\n \"Operation\": \"Migrate Cassandra table offer to to manual throughput\",\r\n \"Description\": \"Migrate Cassandra table offer to to manual throughput.\"\r\n }\r\n },\r\n {\r\n \"name\": \"Microsoft.DocumentDB/databaseAccounts/cassandraKeyspaces/tables/throughputSettings/migrateToAutoscale/operationResults/read\",\r\n \"display\": {\r\n \"Provider\": \"Microsoft DocumentDB\",\r\n \"Resource\": \"Cassandra table throughput setting\",\r\n \"Operation\": \"Read operation results\",\r\n \"Description\": \"Read status of the asynchronous operation.\"\r\n }\r\n },\r\n {\r\n \"name\": \"Microsoft.DocumentDB/databaseAccounts/cassandraKeyspaces/tables/throughputSettings/migrateToManualThroughput/operationResults/read\",\r\n \"display\": {\r\n \"Provider\": \"Microsoft DocumentDB\",\r\n \"Resource\": \"Cassandra table throughput setting\",\r\n \"Operation\": \"Read operation results\",\r\n \"Description\": \"Read status of the asynchronous operation.\"\r\n }\r\n },\r\n {\r\n \"name\": \"Microsoft.DocumentDB/databaseAccounts/gremlinDatabases/throughputSettings/write\",\r\n \"display\": {\r\n \"Provider\": \"Microsoft DocumentDB\",\r\n \"Resource\": \"Gremlin Database throughput setting\",\r\n \"Operation\": \"Write Gremlin database throughput\",\r\n \"Description\": \"Update a Gremlin database throughput.\"\r\n }\r\n },\r\n {\r\n \"name\": \"Microsoft.DocumentDB/databaseAccounts/gremlinDatabases/throughputSettings/read\",\r\n \"display\": {\r\n \"Provider\": \"Microsoft DocumentDB\",\r\n \"Resource\": \"Gremlin Database throughput setting\",\r\n \"Operation\": \"Read Gremlin database throughput\",\r\n \"Description\": \"Read a Gremlin database throughput.\"\r\n }\r\n },\r\n {\r\n \"name\": \"Microsoft.DocumentDB/databaseAccounts/gremlinDatabases/throughputSettings/operationResults/read\",\r\n \"display\": {\r\n \"Provider\": \"Microsoft DocumentDB\",\r\n \"Resource\": \"Gremlin Database throughput setting\",\r\n \"Operation\": \"Read operation results\",\r\n \"Description\": \"Read status of the asynchronous operation.\"\r\n }\r\n },\r\n {\r\n \"name\": \"Microsoft.DocumentDB/databaseAccounts/gremlinDatabases/throughputSettings/migrateToAutoscale/action\",\r\n \"display\": {\r\n \"Provider\": \"Microsoft DocumentDB\",\r\n \"Resource\": \"Gremlin Database throughput setting\",\r\n \"Operation\": \"Migrate Gremlin Database offer to autoscale\",\r\n \"Description\": \"Migrate Gremlin Database offer to autoscale.\"\r\n }\r\n },\r\n {\r\n \"name\": \"Microsoft.DocumentDB/databaseAccounts/gremlinDatabases/throughputSettings/migrateToManualThroughput/action\",\r\n \"display\": {\r\n \"Provider\": \"Microsoft DocumentDB\",\r\n \"Resource\": \"Gremlin Database throughput setting\",\r\n \"Operation\": \"Migrate Gremlin Database offer to to manual throughput\",\r\n \"Description\": \"Migrate Gremlin Database offer to to manual throughput.\"\r\n }\r\n },\r\n {\r\n \"name\": \"Microsoft.DocumentDB/databaseAccounts/gremlinDatabases/throughputSettings/migrateToAutoscale/operationResults/read\",\r\n \"display\": {\r\n \"Provider\": \"Microsoft DocumentDB\",\r\n \"Resource\": \"Gremlin Database throughput setting\",\r\n \"Operation\": \"Read operation results\",\r\n \"Description\": \"Read status of the asynchronous operation.\"\r\n }\r\n },\r\n {\r\n \"name\": \"Microsoft.DocumentDB/databaseAccounts/gremlinDatabases/throughputSettings/migrateToManualThroughput/operationResults/read\",\r\n \"display\": {\r\n \"Provider\": \"Microsoft DocumentDB\",\r\n \"Resource\": \"Gremlin Database throughput setting\",\r\n \"Operation\": \"Read operation results\",\r\n \"Description\": \"Read status of the asynchronous operation.\"\r\n }\r\n },\r\n {\r\n \"name\": \"Microsoft.DocumentDB/databaseAccounts/gremlinDatabases/graphs/throughputSettings/write\",\r\n \"display\": {\r\n \"Provider\": \"Microsoft DocumentDB\",\r\n \"Resource\": \"Gremlin Graph throughput setting\",\r\n \"Operation\": \"Write Gremlin graph throughput\",\r\n \"Description\": \"Update a Gremlin graph throughput.\"\r\n }\r\n },\r\n {\r\n \"name\": \"Microsoft.DocumentDB/databaseAccounts/gremlinDatabases/graphs/throughputSettings/read\",\r\n \"display\": {\r\n \"Provider\": \"Microsoft DocumentDB\",\r\n \"Resource\": \"Gremlin Graph throughput setting\",\r\n \"Operation\": \"Read Gremlin graph throughput\",\r\n \"Description\": \"Read a Gremlin graph throughput.\"\r\n }\r\n },\r\n {\r\n \"name\": \"Microsoft.DocumentDB/databaseAccounts/gremlinDatabases/graphs/throughputSettings/operationResults/read\",\r\n \"display\": {\r\n \"Provider\": \"Microsoft DocumentDB\",\r\n \"Resource\": \"Gremlin Graph throughput setting\",\r\n \"Operation\": \"Read operation results\",\r\n \"Description\": \"Read status of the asynchronous operation.\"\r\n }\r\n },\r\n {\r\n \"name\": \"Microsoft.DocumentDB/databaseAccounts/gremlinDatabases/graphs/throughputSettings/migrateToAutoscale/action\",\r\n \"display\": {\r\n \"Provider\": \"Microsoft DocumentDB\",\r\n \"Resource\": \"Gremlin graph throughput setting\",\r\n \"Operation\": \"Migrate Gremlin graph offer to autoscale\",\r\n \"Description\": \"Migrate Gremlin graph offer to autoscale.\"\r\n }\r\n },\r\n {\r\n \"name\": \"Microsoft.DocumentDB/databaseAccounts/gremlinDatabases/graphs/throughputSettings/migrateToManualThroughput/action\",\r\n \"display\": {\r\n \"Provider\": \"Microsoft DocumentDB\",\r\n \"Resource\": \"Gremlin graph throughput setting\",\r\n \"Operation\": \"Migrate Gremlin graph offer to to manual throughput\",\r\n \"Description\": \"Migrate Gremlin graph offer to to manual throughput.\"\r\n }\r\n },\r\n {\r\n \"name\": \"Microsoft.DocumentDB/databaseAccounts/gremlinDatabases/graphs/throughputSettings/migrateToAutoscale/operationResults/read\",\r\n \"display\": {\r\n \"Provider\": \"Microsoft DocumentDB\",\r\n \"Resource\": \"Gremlin graph throughput setting\",\r\n \"Operation\": \"Read operation results\",\r\n \"Description\": \"Read status of the asynchronous operation.\"\r\n }\r\n },\r\n {\r\n \"name\": \"Microsoft.DocumentDB/databaseAccounts/gremlinDatabases/graphs/throughputSettings/migrateToManualThroughput/operationResults/read\",\r\n \"display\": {\r\n \"Provider\": \"Microsoft DocumentDB\",\r\n \"Resource\": \"Gremlin graph throughput setting\",\r\n \"Operation\": \"Read operation results\",\r\n \"Description\": \"Read status of the asynchronous operation.\"\r\n }\r\n },\r\n {\r\n \"name\": \"Microsoft.DocumentDB/databaseAccounts/apis/databases/write\",\r\n \"display\": {\r\n \"Provider\": \"Microsoft DocumentDB\",\r\n \"Resource\": \"Database\",\r\n \"Operation\": \"(Deprecated. Please use resource paths without '/apis/' segment) Write database\",\r\n \"Description\": \"(Deprecated. Please use resource paths without '/apis/' segment) Create a database. Only applicable to API types: 'sql', 'mongodb', 'gremlin'.\"\r\n }\r\n },\r\n {\r\n \"name\": \"Microsoft.DocumentDB/databaseAccounts/apis/databases/read\",\r\n \"display\": {\r\n \"Provider\": \"Microsoft DocumentDB\",\r\n \"Resource\": \"Database\",\r\n \"Operation\": \"(Deprecated. Please use resource paths without '/apis/' segment) Read database(s)\",\r\n \"Description\": \"(Deprecated. Please use resource paths without '/apis/' segment) Read a database or list all the databases. Only applicable to API types: 'sql', 'mongodb', 'gremlin'.\"\r\n }\r\n },\r\n {\r\n \"name\": \"Microsoft.DocumentDB/databaseAccounts/apis/databases/delete\",\r\n \"display\": {\r\n \"Provider\": \"Microsoft DocumentDB\",\r\n \"Resource\": \"Database\",\r\n \"Operation\": \"(Deprecated. Please use resource paths without '/apis/' segment) Delete database\",\r\n \"Description\": \"(Deprecated. Please use resource paths without '/apis/' segment) Delete a database. Only applicable to API types: 'sql', 'mongodb', 'gremlin'.\"\r\n }\r\n },\r\n {\r\n \"name\": \"Microsoft.DocumentDB/databaseAccounts/apis/databases/operationResults/read\",\r\n \"display\": {\r\n \"Provider\": \"Microsoft DocumentDB\",\r\n \"Resource\": \"Database\",\r\n \"Operation\": \"(Deprecated. Please use resource paths without '/apis/' segment) Read operation results\",\r\n \"Description\": \"(Deprecated. Please use resource paths without '/apis/' segment) Read status of the asynchronous operation. Only applicable to API types: 'sql', 'mongodb', 'gremlin'.\"\r\n }\r\n },\r\n {\r\n \"name\": \"Microsoft.DocumentDB/databaseAccounts/apis/databases/containers/write\",\r\n \"display\": {\r\n \"Provider\": \"Microsoft DocumentDB\",\r\n \"Resource\": \"Container\",\r\n \"Operation\": \"(Deprecated. Please use resource paths without '/apis/' segment) Write container\",\r\n \"Description\": \"(Deprecated. Please use resource paths without '/apis/' segment) Create or update a container. Only applicable to API types: 'sql'.\"\r\n }\r\n },\r\n {\r\n \"name\": \"Microsoft.DocumentDB/databaseAccounts/apis/databases/containers/read\",\r\n \"display\": {\r\n \"Provider\": \"Microsoft DocumentDB\",\r\n \"Resource\": \"Container\",\r\n \"Operation\": \"(Deprecated. Please use resource paths without '/apis/' segment) Read container(s)\",\r\n \"Description\": \"(Deprecated. Please use resource paths without '/apis/' segment) Read a container or list all the containers. Only applicable to API types: 'sql'.\"\r\n }\r\n },\r\n {\r\n \"name\": \"Microsoft.DocumentDB/databaseAccounts/apis/databases/containers/delete\",\r\n \"display\": {\r\n \"Provider\": \"Microsoft DocumentDB\",\r\n \"Resource\": \"Container\",\r\n \"Operation\": \"(Deprecated. Please use resource paths without '/apis/' segment) Delete container\",\r\n \"Description\": \"(Deprecated. Please use resource paths without '/apis/' segment) Delete a container. Only applicable to API types: 'sql'.\"\r\n }\r\n },\r\n {\r\n \"name\": \"Microsoft.DocumentDB/databaseAccounts/apis/databases/containers/operationResults/read\",\r\n \"display\": {\r\n \"Provider\": \"Microsoft DocumentDB\",\r\n \"Resource\": \"Container\",\r\n \"Operation\": \"(Deprecated. Please use resource paths without '/apis/' segment) Read operation results\",\r\n \"Description\": \"(Deprecated. Please use resource paths without '/apis/' segment) Read status of the asynchronous operation. Only applicable to API types: 'sql'.\"\r\n }\r\n },\r\n {\r\n \"name\": \"Microsoft.DocumentDB/databaseAccounts/apis/tables/write\",\r\n \"display\": {\r\n \"Provider\": \"Microsoft DocumentDB\",\r\n \"Resource\": \"Table\",\r\n \"Operation\": \"(Deprecated. Please use resource paths without '/apis/' segment) Write table\",\r\n \"Description\": \"(Deprecated. Please use resource paths without '/apis/' segment) Create or update a table. Only applicable to API types: 'table'.\"\r\n }\r\n },\r\n {\r\n \"name\": \"Microsoft.DocumentDB/databaseAccounts/apis/tables/read\",\r\n \"display\": {\r\n \"Provider\": \"Microsoft DocumentDB\",\r\n \"Resource\": \"Table\",\r\n \"Operation\": \"(Deprecated. Please use resource paths without '/apis/' segment) Read table(s)\",\r\n \"Description\": \"(Deprecated. Please use resource paths without '/apis/' segment) Read a table or list all the tables. Only applicable to API types: 'table'.\"\r\n }\r\n },\r\n {\r\n \"name\": \"Microsoft.DocumentDB/databaseAccounts/apis/tables/delete\",\r\n \"display\": {\r\n \"Provider\": \"Microsoft DocumentDB\",\r\n \"Resource\": \"Table\",\r\n \"Operation\": \"(Deprecated. Please use resource paths without '/apis/' segment) Delete table\",\r\n \"Description\": \"(Deprecated. Please use resource paths without '/apis/' segment) Delete a table. Only applicable to API types: 'table'.\"\r\n }\r\n },\r\n {\r\n \"name\": \"Microsoft.DocumentDB/databaseAccounts/apis/tables/operationResults/read\",\r\n \"display\": {\r\n \"Provider\": \"Microsoft DocumentDB\",\r\n \"Resource\": \"Table\",\r\n \"Operation\": \"(Deprecated. Please use resource paths without '/apis/' segment) Read operation results\",\r\n \"Description\": \"(Deprecated. Please use resource paths without '/apis/' segment) Read status of the asynchronous operation. Only applicable to API types: 'table'.\"\r\n }\r\n },\r\n {\r\n \"name\": \"Microsoft.DocumentDB/databaseAccounts/apis/databases/collections/write\",\r\n \"display\": {\r\n \"Provider\": \"Microsoft DocumentDB\",\r\n \"Resource\": \"Collection\",\r\n \"Operation\": \"(Deprecated. Please use resource paths without '/apis/' segment) Write collection\",\r\n \"Description\": \"(Deprecated. Please use resource paths without '/apis/' segment) Create or update a collection. Only applicable to API types: 'mongodb'.\"\r\n }\r\n },\r\n {\r\n \"name\": \"Microsoft.DocumentDB/databaseAccounts/apis/databases/collections/read\",\r\n \"display\": {\r\n \"Provider\": \"Microsoft DocumentDB\",\r\n \"Resource\": \"Collection\",\r\n \"Operation\": \"(Deprecated. Please use resource paths without '/apis/' segment) Read collection(s)\",\r\n \"Description\": \"(Deprecated. Please use resource paths without '/apis/' segment) Read a collection or list all the collections. Only applicable to API types: 'mongodb'.\"\r\n }\r\n },\r\n {\r\n \"name\": \"Microsoft.DocumentDB/databaseAccounts/apis/databases/collections/delete\",\r\n \"display\": {\r\n \"Provider\": \"Microsoft DocumentDB\",\r\n \"Resource\": \"Collection\",\r\n \"Operation\": \"(Deprecated. Please use resource paths without '/apis/' segment) Delete collection\",\r\n \"Description\": \"(Deprecated. Please use resource paths without '/apis/' segment) Delete a collection. Only applicable to API types: 'mongodb'.\"\r\n }\r\n },\r\n {\r\n \"name\": \"Microsoft.DocumentDB/databaseAccounts/apis/databases/collections/operationResults/read\",\r\n \"display\": {\r\n \"Provider\": \"Microsoft DocumentDB\",\r\n \"Resource\": \"Collection\",\r\n \"Operation\": \"(Deprecated. Please use resource paths without '/apis/' segment) Read operation results\",\r\n \"Description\": \"(Deprecated. Please use resource paths without '/apis/' segment) Read status of the asynchronous operation. Only applicable to API types: 'mongodb'.\"\r\n }\r\n },\r\n {\r\n \"name\": \"Microsoft.DocumentDB/databaseAccounts/apis/keyspaces/write\",\r\n \"display\": {\r\n \"Provider\": \"Microsoft DocumentDB\",\r\n \"Resource\": \"Keyspace\",\r\n \"Operation\": \"(Deprecated. Please use resource paths without '/apis/' segment) Write keyspace\",\r\n \"Description\": \"(Deprecated. Please use resource paths without '/apis/' segment) Create a keyspace. Only applicable to API types: 'cassandra'.\"\r\n }\r\n },\r\n {\r\n \"name\": \"Microsoft.DocumentDB/databaseAccounts/apis/keyspaces/read\",\r\n \"display\": {\r\n \"Provider\": \"Microsoft DocumentDB\",\r\n \"Resource\": \"Keyspace\",\r\n \"Operation\": \"(Deprecated. Please use resource paths without '/apis/' segment) Read keyspace(s)\",\r\n \"Description\": \"(Deprecated. Please use resource paths without '/apis/' segment) Read a keyspace or list all the keyspaces. Only applicable to API types: 'cassandra'.\"\r\n }\r\n },\r\n {\r\n \"name\": \"Microsoft.DocumentDB/databaseAccounts/apis/keyspaces/delete\",\r\n \"display\": {\r\n \"Provider\": \"Microsoft DocumentDB\",\r\n \"Resource\": \"Keyspace\",\r\n \"Operation\": \"(Deprecated. Please use resource paths without '/apis/' segment) Delete keyspace\",\r\n \"Description\": \"(Deprecated. Please use resource paths without '/apis/' segment) Delete a keyspace. Only applicable to API types: 'cassandra'.\"\r\n }\r\n },\r\n {\r\n \"name\": \"Microsoft.DocumentDB/databaseAccounts/apis/keyspaces/operationResults/read\",\r\n \"display\": {\r\n \"Provider\": \"Microsoft DocumentDB\",\r\n \"Resource\": \"Keyspace\",\r\n \"Operation\": \"(Deprecated. Please use resource paths without '/apis/' segment) Read operation results\",\r\n \"Description\": \"(Deprecated. Please use resource paths without '/apis/' segment) Read status of the asynchronous operation. Only applicable to API types: 'cassandra'.\"\r\n }\r\n },\r\n {\r\n \"name\": \"Microsoft.DocumentDB/databaseAccounts/apis/keyspaces/tables/write\",\r\n \"display\": {\r\n \"Provider\": \"Microsoft DocumentDB\",\r\n \"Resource\": \"Table\",\r\n \"Operation\": \"(Deprecated. Please use resource paths without '/apis/' segment) Write table\",\r\n \"Description\": \"(Deprecated. Please use resource paths without '/apis/' segment) Create or update a table. Only applicable to API types: 'cassandra'.\"\r\n }\r\n },\r\n {\r\n \"name\": \"Microsoft.DocumentDB/databaseAccounts/apis/keyspaces/tables/read\",\r\n \"display\": {\r\n \"Provider\": \"Microsoft DocumentDB\",\r\n \"Resource\": \"Table\",\r\n \"Operation\": \"(Deprecated. Please use resource paths without '/apis/' segment) Read table(s)\",\r\n \"Description\": \"(Deprecated. Please use resource paths without '/apis/' segment) Read a table or list all the tables. Only applicable to API types: 'cassandra'.\"\r\n }\r\n },\r\n {\r\n \"name\": \"Microsoft.DocumentDB/databaseAccounts/apis/keyspaces/tables/delete\",\r\n \"display\": {\r\n \"Provider\": \"Microsoft DocumentDB\",\r\n \"Resource\": \"Table\",\r\n \"Operation\": \"(Deprecated. Please use resource paths without '/apis/' segment) Delete table\",\r\n \"Description\": \"(Deprecated. Please use resource paths without '/apis/' segment) Delete a table. Only applicable to API types: 'cassandra'.\"\r\n }\r\n },\r\n {\r\n \"name\": \"Microsoft.DocumentDB/databaseAccounts/apis/keyspaces/tables/operationResults/read\",\r\n \"display\": {\r\n \"Provider\": \"Microsoft DocumentDB\",\r\n \"Resource\": \"Table\",\r\n \"Operation\": \"(Deprecated. Please use resource paths without '/apis/' segment) Read operation results\",\r\n \"Description\": \"(Deprecated. Please use resource paths without '/apis/' segment) Read status of the asynchronous operation. Only applicable to API types: 'cassandra'.\"\r\n }\r\n },\r\n {\r\n \"name\": \"Microsoft.DocumentDB/databaseAccounts/apis/databases/graphs/write\",\r\n \"display\": {\r\n \"Provider\": \"Microsoft DocumentDB\",\r\n \"Resource\": \"Graph\",\r\n \"Operation\": \"(Deprecated. Please use resource paths without '/apis/' segment) Write graph\",\r\n \"Description\": \"(Deprecated. Please use resource paths without '/apis/' segment) Create or update a graph. Only applicable to API types: 'gremlin'.\"\r\n }\r\n },\r\n {\r\n \"name\": \"Microsoft.DocumentDB/databaseAccounts/apis/databases/graphs/read\",\r\n \"display\": {\r\n \"Provider\": \"Microsoft DocumentDB\",\r\n \"Resource\": \"Graph\",\r\n \"Operation\": \"(Deprecated. Please use resource paths without '/apis/' segment) Read graph(s)\",\r\n \"Description\": \"(Deprecated. Please use resource paths without '/apis/' segment) Read a graph or list all the graphs. Only applicable to API types: 'gremlin'.\"\r\n }\r\n },\r\n {\r\n \"name\": \"Microsoft.DocumentDB/databaseAccounts/apis/databases/graphs/delete\",\r\n \"display\": {\r\n \"Provider\": \"Microsoft DocumentDB\",\r\n \"Resource\": \"Graph\",\r\n \"Operation\": \"(Deprecated. Please use resource paths without '/apis/' segment) Delete graph\",\r\n \"Description\": \"(Deprecated. Please use resource paths without '/apis/' segment) Delete a graph. Only applicable to API types: 'gremlin'.\"\r\n }\r\n },\r\n {\r\n \"name\": \"Microsoft.DocumentDB/databaseAccounts/apis/databases/graphs/operationResults/read\",\r\n \"display\": {\r\n \"Provider\": \"Microsoft DocumentDB\",\r\n \"Resource\": \"Graph\",\r\n \"Operation\": \"(Deprecated. Please use resource paths without '/apis/' segment) Read operation results\",\r\n \"Description\": \"(Deprecated. Please use resource paths without '/apis/' segment) Read status of the asynchronous operation. Only applicable to API types: 'gremlin'.\"\r\n }\r\n },\r\n {\r\n \"name\": \"Microsoft.DocumentDB/databaseAccounts/apis/databases/settings/write\",\r\n \"display\": {\r\n \"Provider\": \"Microsoft DocumentDB\",\r\n \"Resource\": \"Database throughput setting\",\r\n \"Operation\": \"(Deprecated. Please use resource paths without '/apis/' segment) Write database throughput\",\r\n \"Description\": \"(Deprecated. Please use resource paths without '/apis/' segment) Update a database throughput. Only applicable to API types: 'sql', 'mongodb', 'gremlin'. Only applicable for setting types: 'throughput'.\"\r\n }\r\n },\r\n {\r\n \"name\": \"Microsoft.DocumentDB/databaseAccounts/apis/databases/settings/read\",\r\n \"display\": {\r\n \"Provider\": \"Microsoft DocumentDB\",\r\n \"Resource\": \"Database throughput setting\",\r\n \"Operation\": \"(Deprecated. Please use resource paths without '/apis/' segment) Read database throughput\",\r\n \"Description\": \"(Deprecated. Please use resource paths without '/apis/' segment) Read a database throughput. Only applicable to API types: 'sql', 'mongodb', 'gremlin'. Only applicable for setting types: 'throughput'.\"\r\n }\r\n },\r\n {\r\n \"name\": \"Microsoft.DocumentDB/databaseAccounts/apis/databases/settings/operationResults/read\",\r\n \"display\": {\r\n \"Provider\": \"Microsoft DocumentDB\",\r\n \"Resource\": \"Database throughput setting\",\r\n \"Operation\": \"(Deprecated. Please use resource paths without '/apis/' segment) Read operation results\",\r\n \"Description\": \"(Deprecated. Please use resource paths without '/apis/' segment) Read status of the asynchronous operation. Only applicable to API types: 'sql', 'mongodb', 'gremlin'. Only applicable for setting types: 'throughput'.\"\r\n }\r\n },\r\n {\r\n \"name\": \"Microsoft.DocumentDB/databaseAccounts/apis/databases/containers/settings/write\",\r\n \"display\": {\r\n \"Provider\": \"Microsoft DocumentDB\",\r\n \"Resource\": \"Container throughput setting\",\r\n \"Operation\": \"(Deprecated. Please use resource paths without '/apis/' segment) Write container throughput\",\r\n \"Description\": \"(Deprecated. Please use resource paths without '/apis/' segment) Update a container throughput. Only applicable to API types: 'sql'. Only applicable for setting types: 'throughput'.\"\r\n }\r\n },\r\n {\r\n \"name\": \"Microsoft.DocumentDB/databaseAccounts/apis/databases/containers/settings/read\",\r\n \"display\": {\r\n \"Provider\": \"Microsoft DocumentDB\",\r\n \"Resource\": \"Container throughput setting\",\r\n \"Operation\": \"(Deprecated. Please use resource paths without '/apis/' segment) Read container throughput\",\r\n \"Description\": \"(Deprecated. Please use resource paths without '/apis/' segment) Read a container throughput. Only applicable to API types: 'sql'. Only applicable for setting types: 'throughput'.\"\r\n }\r\n },\r\n {\r\n \"name\": \"Microsoft.DocumentDB/databaseAccounts/apis/databases/containers/settings/operationResults/read\",\r\n \"display\": {\r\n \"Provider\": \"Microsoft DocumentDB\",\r\n \"Resource\": \"Container throughput setting\",\r\n \"Operation\": \"(Deprecated. Please use resource paths without '/apis/' segment) Read operation results\",\r\n \"Description\": \"(Deprecated. Please use resource paths without '/apis/' segment) Read status of the asynchronous operation. Only applicable to API types: 'sql'. Only applicable for setting types: 'throughput'.\"\r\n }\r\n },\r\n {\r\n \"name\": \"Microsoft.DocumentDB/databaseAccounts/apis/tables/settings/write\",\r\n \"display\": {\r\n \"Provider\": \"Microsoft DocumentDB\",\r\n \"Resource\": \"Table throughput setting\",\r\n \"Operation\": \"(Deprecated. Please use resource paths without '/apis/' segment) Write table throughput\",\r\n \"Description\": \"(Deprecated. Please use resource paths without '/apis/' segment) Update a table throughput. Only applicable to API types: 'table'. Only applicable for setting types: 'throughput'.\"\r\n }\r\n },\r\n {\r\n \"name\": \"Microsoft.DocumentDB/databaseAccounts/apis/tables/settings/read\",\r\n \"display\": {\r\n \"Provider\": \"Microsoft DocumentDB\",\r\n \"Resource\": \"Table throughput setting\",\r\n \"Operation\": \"(Deprecated. Please use resource paths without '/apis/' segment) Read table throughput\",\r\n \"Description\": \"(Deprecated. Please use resource paths without '/apis/' segment) Read a table throughput. Only applicable to API types: 'table'. Only applicable for setting types: 'throughput'.\"\r\n }\r\n },\r\n {\r\n \"name\": \"Microsoft.DocumentDB/databaseAccounts/apis/tables/settings/operationResults/read\",\r\n \"display\": {\r\n \"Provider\": \"Microsoft DocumentDB\",\r\n \"Resource\": \"Table throughput setting\",\r\n \"Operation\": \"(Deprecated. Please use resource paths without '/apis/' segment) Read operation results\",\r\n \"Description\": \"(Deprecated. Please use resource paths without '/apis/' segment) Read status of the asynchronous operation. Only applicable to API types: 'table'. Only applicable for setting types: 'throughput'.\"\r\n }\r\n },\r\n {\r\n \"name\": \"Microsoft.DocumentDB/databaseAccounts/apis/databases/collections/settings/write\",\r\n \"display\": {\r\n \"Provider\": \"Microsoft DocumentDB\",\r\n \"Resource\": \"Collection throughput setting\",\r\n \"Operation\": \"(Deprecated. Please use resource paths without '/apis/' segment) Write collection throughput\",\r\n \"Description\": \"(Deprecated. Please use resource paths without '/apis/' segment) Update a collection throughput. Only applicable to API types: 'mongodb'. Only applicable for setting types: 'throughput'.\"\r\n }\r\n },\r\n {\r\n \"name\": \"Microsoft.DocumentDB/databaseAccounts/apis/databases/collections/settings/read\",\r\n \"display\": {\r\n \"Provider\": \"Microsoft DocumentDB\",\r\n \"Resource\": \"Collection throughput setting\",\r\n \"Operation\": \"(Deprecated. Please use resource paths without '/apis/' segment) Read collection throughput\",\r\n \"Description\": \"(Deprecated. Please use resource paths without '/apis/' segment) Read a collection throughput. Only applicable to API types: 'mongodb'. Only applicable for setting types: 'throughput'.\"\r\n }\r\n },\r\n {\r\n \"name\": \"Microsoft.DocumentDB/databaseAccounts/apis/databases/collections/settings/operationResults/read\",\r\n \"display\": {\r\n \"Provider\": \"Microsoft DocumentDB\",\r\n \"Resource\": \"Collection throughput setting\",\r\n \"Operation\": \"(Deprecated. Please use resource paths without '/apis/' segment) Read operation results\",\r\n \"Description\": \"(Deprecated. Please use resource paths without '/apis/' segment) Read status of the asynchronous operation. Only applicable to API types: 'mongodb'. Only applicable for setting types: 'throughput'.\"\r\n }\r\n },\r\n {\r\n \"name\": \"Microsoft.DocumentDB/databaseAccounts/apis/keyspaces/settings/write\",\r\n \"display\": {\r\n \"Provider\": \"Microsoft DocumentDB\",\r\n \"Resource\": \"Keyspace throughput setting\",\r\n \"Operation\": \"(Deprecated. Please use resource paths without '/apis/' segment) Write keyspace throughput\",\r\n \"Description\": \"(Deprecated. Please use resource paths without '/apis/' segment) Update a keyspace throughput. Only applicable to API types: 'cassandra'. Only applicable for setting types: 'throughput'.\"\r\n }\r\n },\r\n {\r\n \"name\": \"Microsoft.DocumentDB/databaseAccounts/apis/keyspaces/settings/read\",\r\n \"display\": {\r\n \"Provider\": \"Microsoft DocumentDB\",\r\n \"Resource\": \"Keyspace throughput setting\",\r\n \"Operation\": \"(Deprecated. Please use resource paths without '/apis/' segment) Read keyspace throughput\",\r\n \"Description\": \"(Deprecated. Please use resource paths without '/apis/' segment) Read a keyspace throughput. Only applicable to API types: 'cassandra'. Only applicable for setting types: 'throughput'.\"\r\n }\r\n },\r\n {\r\n \"name\": \"Microsoft.DocumentDB/databaseAccounts/apis/keyspaces/settings/operationResults/read\",\r\n \"display\": {\r\n \"Provider\": \"Microsoft DocumentDB\",\r\n \"Resource\": \"Keyspace throughput setting\",\r\n \"Operation\": \"(Deprecated. Please use resource paths without '/apis/' segment) Read operation results\",\r\n \"Description\": \"(Deprecated. Please use resource paths without '/apis/' segment) Read status of the asynchronous operation. Only applicable to API types: 'cassandra'. Only applicable for setting types: 'throughput'.\"\r\n }\r\n },\r\n {\r\n \"name\": \"Microsoft.DocumentDB/databaseAccounts/apis/keyspaces/tables/settings/write\",\r\n \"display\": {\r\n \"Provider\": \"Microsoft DocumentDB\",\r\n \"Resource\": \"Table throughput setting\",\r\n \"Operation\": \"(Deprecated. Please use resource paths without '/apis/' segment) Write table throughput\",\r\n \"Description\": \"(Deprecated. Please use resource paths without '/apis/' segment) Update a table throughput. Only applicable to API types: 'cassandra'. Only applicable for setting types: 'throughput'.\"\r\n }\r\n },\r\n {\r\n \"name\": \"Microsoft.DocumentDB/databaseAccounts/apis/keyspaces/tables/settings/read\",\r\n \"display\": {\r\n \"Provider\": \"Microsoft DocumentDB\",\r\n \"Resource\": \"Table throughput setting\",\r\n \"Operation\": \"(Deprecated. Please use resource paths without '/apis/' segment) Read table throughput\",\r\n \"Description\": \"(Deprecated. Please use resource paths without '/apis/' segment) Read a table throughput. Only applicable to API types: 'cassandra'. Only applicable for setting types: 'throughput'.\"\r\n }\r\n },\r\n {\r\n \"name\": \"Microsoft.DocumentDB/databaseAccounts/apis/keyspaces/tables/settings/operationResults/read\",\r\n \"display\": {\r\n \"Provider\": \"Microsoft DocumentDB\",\r\n \"Resource\": \"Table throughput setting\",\r\n \"Operation\": \"(Deprecated. Please use resource paths without '/apis/' segment) Read operation results\",\r\n \"Description\": \"(Deprecated. Please use resource paths without '/apis/' segment) Read status of the asynchronous operation. Only applicable to API types: 'cassandra'. Only applicable for setting types: 'throughput'.\"\r\n }\r\n },\r\n {\r\n \"name\": \"Microsoft.DocumentDB/databaseAccounts/apis/databases/graphs/settings/write\",\r\n \"display\": {\r\n \"Provider\": \"Microsoft DocumentDB\",\r\n \"Resource\": \"Graph throughput setting\",\r\n \"Operation\": \"(Deprecated. Please use resource paths without '/apis/' segment) Write gremlin throughput\",\r\n \"Description\": \"(Deprecated. Please use resource paths without '/apis/' segment) Update a graph throughput. Only applicable to API types: 'gremlin'. Only applicable for setting types: 'throughput'.\"\r\n }\r\n },\r\n {\r\n \"name\": \"Microsoft.DocumentDB/databaseAccounts/apis/databases/graphs/settings/read\",\r\n \"display\": {\r\n \"Provider\": \"Microsoft DocumentDB\",\r\n \"Resource\": \"Graph throughput setting\",\r\n \"Operation\": \"(Deprecated. Please use resource paths without '/apis/' segment) Read graph throughput\",\r\n \"Description\": \"(Deprecated. Please use resource paths without '/apis/' segment) Read a graph throughput. Only applicable to API types: 'gremlin'. Only applicable for setting types: 'throughput'.\"\r\n }\r\n },\r\n {\r\n \"name\": \"Microsoft.DocumentDB/databaseAccounts/apis/databases/graphs/settings/operationResults/read\",\r\n \"display\": {\r\n \"Provider\": \"Microsoft DocumentDB\",\r\n \"Resource\": \"Graph throughput setting\",\r\n \"Operation\": \"(Deprecated. Please use resource paths without '/apis/' segment) Read operation results\",\r\n \"Description\": \"(Deprecated. Please use resource paths without '/apis/' segment) Read status of the asynchronous operation. Only applicable to API types: 'gremlin'. Only applicable for setting types: 'throughput'.\"\r\n }\r\n },\r\n {\r\n \"name\": \"Microsoft.DocumentDB/operationResults/read\",\r\n \"display\": {\r\n \"Provider\": \"Microsoft DocumentDB\",\r\n \"Resource\": \"Operation Result\",\r\n \"Operation\": \"Read operation status\",\r\n \"Description\": \"Read status of the asynchronous operation\"\r\n }\r\n },\r\n {\r\n \"name\": \"Microsoft.DocumentDB/databaseAccountNames/read\",\r\n \"display\": {\r\n \"Provider\": \"Microsoft DocumentDB\",\r\n \"Resource\": \"Database Account Names\",\r\n \"Operation\": \"Read database account names\",\r\n \"Description\": \"Checks for name availability.\"\r\n }\r\n },\r\n {\r\n \"name\": \"Microsoft.DocumentDB/databaseAccounts/read\",\r\n \"display\": {\r\n \"Provider\": \"Microsoft DocumentDB\",\r\n \"Resource\": \"Database Account\",\r\n \"Operation\": \"Read database account\",\r\n \"Description\": \"Reads a database account.\"\r\n }\r\n },\r\n {\r\n \"name\": \"Microsoft.DocumentDB/databaseAccounts/write\",\r\n \"display\": {\r\n \"Provider\": \"Microsoft DocumentDB\",\r\n \"Resource\": \"Database Account\",\r\n \"Operation\": \"Update database account\",\r\n \"Description\": \"Update a database accounts.\"\r\n }\r\n },\r\n {\r\n \"name\": \"Microsoft.DocumentDB/databaseAccounts/listKeys/action\",\r\n \"display\": {\r\n \"Provider\": \"Microsoft DocumentDB\",\r\n \"Resource\": \"Database Account\",\r\n \"Operation\": \"List keys\",\r\n \"Description\": \"List keys of a database account\"\r\n }\r\n },\r\n {\r\n \"name\": \"Microsoft.DocumentDB/databaseAccounts/readonlykeys/action\",\r\n \"display\": {\r\n \"Provider\": \"Microsoft DocumentDB\",\r\n \"Resource\": \"Database Account readonly keys\",\r\n \"Operation\": \"Read database account readonly keys\",\r\n \"Description\": \"Reads the database account readonly keys.\"\r\n }\r\n },\r\n {\r\n \"name\": \"Microsoft.DocumentDB/databaseAccounts/readonlykeys/read\",\r\n \"display\": {\r\n \"Provider\": \"Microsoft DocumentDB\",\r\n \"Resource\": \"Database Account readonly keys\",\r\n \"Operation\": \"Read database account readonly keys\",\r\n \"Description\": \"Reads the database account readonly keys.\"\r\n }\r\n },\r\n {\r\n \"name\": \"Microsoft.DocumentDB/databaseAccounts/regenerateKey/action\",\r\n \"display\": {\r\n \"Provider\": \"Microsoft DocumentDB\",\r\n \"Resource\": \"Database Account\",\r\n \"Operation\": \"Rotate keys\",\r\n \"Description\": \"Rotate keys of a database account\"\r\n }\r\n },\r\n {\r\n \"name\": \"Microsoft.DocumentDB/databaseAccounts/listConnectionStrings/action\",\r\n \"display\": {\r\n \"Provider\": \"Microsoft DocumentDB\",\r\n \"Resource\": \"Database Account\",\r\n \"Operation\": \"Get Connection Strings\",\r\n \"Description\": \"Get the connection strings for a database account\"\r\n }\r\n },\r\n {\r\n \"name\": \"Microsoft.DocumentDB/databaseAccounts/changeResourceGroup/action\",\r\n \"display\": {\r\n \"Provider\": \"Microsoft DocumentDB\",\r\n \"Resource\": \"Database Account\",\r\n \"Operation\": \"Change resource group\",\r\n \"Description\": \"Change resource group of a database account\"\r\n }\r\n },\r\n {\r\n \"name\": \"Microsoft.DocumentDB/databaseAccounts/failoverPriorityChange/action\",\r\n \"display\": {\r\n \"Provider\": \"Microsoft DocumentDB\",\r\n \"Resource\": \"Database Account\",\r\n \"Operation\": \"Manual Failover\",\r\n \"Description\": \"Change failover priorities of regions of a database account. This is used to perform manual failover operation\"\r\n }\r\n },\r\n {\r\n \"name\": \"Microsoft.DocumentDB/databaseAccounts/offlineRegion/action\",\r\n \"display\": {\r\n \"Provider\": \"Microsoft DocumentDB\",\r\n \"Resource\": \"Database Account\",\r\n \"Operation\": \"Offline Region\",\r\n \"Description\": \"Offline a region of a database account. \"\r\n }\r\n },\r\n {\r\n \"name\": \"Microsoft.DocumentDB/databaseAccounts/onlineRegion/action\",\r\n \"display\": {\r\n \"Provider\": \"Microsoft DocumentDB\",\r\n \"Resource\": \"Database Account\",\r\n \"Operation\": \"Online Region\",\r\n \"Description\": \"Online a region of a database account.\"\r\n }\r\n },\r\n {\r\n \"name\": \"Microsoft.DocumentDB/databaseAccounts/delete\",\r\n \"display\": {\r\n \"Provider\": \"Microsoft DocumentDB\",\r\n \"Resource\": \"Database Account\",\r\n \"Operation\": \"Delete database accounts\",\r\n \"Description\": \"Deletes the database accounts.\"\r\n }\r\n },\r\n {\r\n \"name\": \"Microsoft.DocumentDB/databaseAccounts/operationResults/read\",\r\n \"display\": {\r\n \"Provider\": \"Microsoft DocumentDB\",\r\n \"Resource\": \"Database Account\",\r\n \"Operation\": \"Read operation status\",\r\n \"Description\": \"Read status of the asynchronous operation\"\r\n }\r\n },\r\n {\r\n \"name\": \"Microsoft.DocumentDB/databaseAccounts/percentile/read\",\r\n \"display\": {\r\n \"Provider\": \"Microsoft DocumentDB\",\r\n \"Resource\": \"Database Account latencies\",\r\n \"Operation\": \"Read latency percentiles\",\r\n \"Description\": \"Read percentiles of replication latencies\"\r\n }\r\n },\r\n {\r\n \"name\": \"Microsoft.DocumentDB/databaseAccounts/percentile/metrics/read\",\r\n \"display\": {\r\n \"Provider\": \"Microsoft DocumentDB\",\r\n \"Resource\": \"Database Account metrics\",\r\n \"Operation\": \"Read latency metrics\",\r\n \"Description\": \"Read latency metrics\"\r\n }\r\n },\r\n {\r\n \"name\": \"Microsoft.DocumentDB/databaseAccounts/percentile/targetRegion/metrics/read\",\r\n \"display\": {\r\n \"Provider\": \"Microsoft DocumentDB\",\r\n \"Resource\": \"Database Account metrics for a specific target region\",\r\n \"Operation\": \"Read latency metricsfor a specific target region\",\r\n \"Description\": \"Read latency metrics for a specific target region\"\r\n }\r\n },\r\n {\r\n \"name\": \"Microsoft.DocumentDB/databaseAccounts/percentile/sourceRegion/targetRegion/metrics/read\",\r\n \"display\": {\r\n \"Provider\": \"Microsoft DocumentDB\",\r\n \"Resource\": \"Database Account metrics for a specific source and target region\",\r\n \"Operation\": \"Read latency metrics for a specific source and target region\",\r\n \"Description\": \"Read latency metrics for a specific source and target region\"\r\n }\r\n },\r\n {\r\n \"name\": \"Microsoft.DocumentDB/databaseAccounts/databases/collections/partitions/usages/read\",\r\n \"display\": {\r\n \"Provider\": \"Microsoft DocumentDB\",\r\n \"Resource\": \"Database Account partition usages\",\r\n \"Operation\": \"Read database account partition level usages\",\r\n \"Description\": \"Read database account partition level usages\"\r\n }\r\n },\r\n {\r\n \"name\": \"Microsoft.DocumentDB/databaseAccounts/getBackupPolicy/action\",\r\n \"display\": {\r\n \"Provider\": \"Microsoft DocumentDB\",\r\n \"Resource\": \"Database\",\r\n \"Operation\": \"Get BackupPolicy\",\r\n \"Description\": \"Get the backup policy of database account\"\r\n }\r\n },\r\n {\r\n \"name\": \"Microsoft.DocumentDB/databaseAccounts/metricDefinitions/read\",\r\n \"display\": {\r\n \"Provider\": \"Microsoft DocumentDB\",\r\n \"Resource\": \"Database Account metric definitions\",\r\n \"Operation\": \"Read database account metrics definitions\",\r\n \"Description\": \"Reads the database account metrics definitions.\"\r\n }\r\n },\r\n {\r\n \"name\": \"Microsoft.DocumentDB/databaseAccounts/metrics/read\",\r\n \"display\": {\r\n \"Provider\": \"Microsoft DocumentDB\",\r\n \"Resource\": \"Database Account metrics\",\r\n \"Operation\": \"Read database account metrics\",\r\n \"Description\": \"Reads the database account metrics.\"\r\n }\r\n },\r\n {\r\n \"name\": \"Microsoft.DocumentDB/databaseAccounts/usages/read\",\r\n \"display\": {\r\n \"Provider\": \"Microsoft DocumentDB\",\r\n \"Resource\": \"Database Account usages\",\r\n \"Operation\": \"Read database account usages\",\r\n \"Description\": \"Reads the database account usages.\"\r\n }\r\n },\r\n {\r\n \"name\": \"Microsoft.DocumentDB/databaseAccounts/databases/metricDefinitions/read\",\r\n \"display\": {\r\n \"Provider\": \"Microsoft DocumentDB\",\r\n \"Resource\": \"Database metric definitions\",\r\n \"Operation\": \"Read database metric definitions\",\r\n \"Description\": \"Reads the database metric definitions\"\r\n }\r\n },\r\n {\r\n \"name\": \"Microsoft.DocumentDB/databaseAccounts/databases/metrics/read\",\r\n \"display\": {\r\n \"Provider\": \"Microsoft DocumentDB\",\r\n \"Resource\": \"Database metrics\",\r\n \"Operation\": \"Read database metrics\",\r\n \"Description\": \"Reads the database metrics.\"\r\n }\r\n },\r\n {\r\n \"name\": \"Microsoft.DocumentDB/databaseAccounts/databases/usages/read\",\r\n \"display\": {\r\n \"Provider\": \"Microsoft DocumentDB\",\r\n \"Resource\": \"Database usages\",\r\n \"Operation\": \"Read database usages\",\r\n \"Description\": \"Reads the database usages.\"\r\n }\r\n },\r\n {\r\n \"name\": \"Microsoft.DocumentDB/databaseAccounts/databases/collections/metricDefinitions/read\",\r\n \"display\": {\r\n \"Provider\": \"Microsoft DocumentDB\",\r\n \"Resource\": \"Collection metric definitions\",\r\n \"Operation\": \"Read collection metric definitions\",\r\n \"Description\": \"Reads the collection metric definitions.\"\r\n }\r\n },\r\n {\r\n \"name\": \"Microsoft.DocumentDB/databaseAccounts/databases/collections/metrics/read\",\r\n \"display\": {\r\n \"Provider\": \"Microsoft DocumentDB\",\r\n \"Resource\": \"Collection metrics\",\r\n \"Operation\": \"Read collection metrics\",\r\n \"Description\": \"Reads the collection metrics.\"\r\n }\r\n },\r\n {\r\n \"name\": \"Microsoft.DocumentDB/databaseAccounts/databases/collections/usages/read\",\r\n \"display\": {\r\n \"Provider\": \"Microsoft DocumentDB\",\r\n \"Resource\": \"Collection usages\",\r\n \"Operation\": \"Read collection usages\",\r\n \"Description\": \"Reads the collection usages.\"\r\n }\r\n },\r\n {\r\n \"name\": \"Microsoft.DocumentDB/databaseAccounts/region/metrics/read\",\r\n \"display\": {\r\n \"Provider\": \"Microsoft DocumentDB\",\r\n \"Resource\": \"Database Account and Region metrics\",\r\n \"Operation\": \"Read region database account metrics\",\r\n \"Description\": \"Reads the region and database account metrics.\"\r\n }\r\n },\r\n {\r\n \"name\": \"Microsoft.DocumentDB/databaseAccounts/region/databases/collections/metrics/read\",\r\n \"display\": {\r\n \"Provider\": \"Microsoft DocumentDB\",\r\n \"Resource\": \"Regional Collection metrics\",\r\n \"Operation\": \"Read regional collection metrics\",\r\n \"Description\": \"Reads the regional collection metrics.\"\r\n }\r\n },\r\n {\r\n \"name\": \"Microsoft.DocumentDB/databaseAccounts/region/databases/collections/partitions/read\",\r\n \"display\": {\r\n \"Provider\": \"Microsoft DocumentDB\",\r\n \"Resource\": \"Regional Database Account Collection partitions\",\r\n \"Operation\": \"Read regional database account partitions in a collection\",\r\n \"Description\": \"Read regional database account partitions in a collection\"\r\n }\r\n },\r\n {\r\n \"name\": \"Microsoft.DocumentDB/databaseAccounts/databases/collections/partitions/metrics/read\",\r\n \"display\": {\r\n \"Provider\": \"Microsoft DocumentDB\",\r\n \"Resource\": \"Database Account partition metrics\",\r\n \"Operation\": \"Read database account partition level metrics\",\r\n \"Description\": \"Read database account partition level metrics\"\r\n }\r\n },\r\n {\r\n \"name\": \"Microsoft.DocumentDB/databaseAccounts/region/databases/collections/partitions/metrics/read\",\r\n \"display\": {\r\n \"Provider\": \"Microsoft DocumentDB\",\r\n \"Resource\": \"Regional Database Account partition metrics\",\r\n \"Operation\": \"Read regional database account partition level metrics\",\r\n \"Description\": \"Read regional database account partition level metrics\"\r\n }\r\n },\r\n {\r\n \"name\": \"Microsoft.DocumentDB/databaseAccounts/region/databases/collections/partitionKeyRangeId/metrics/read\",\r\n \"display\": {\r\n \"Provider\": \"Microsoft DocumentDB\",\r\n \"Resource\": \"Regional Database Account partition key metrics\",\r\n \"Operation\": \"Read regional database account partition key level metrics\",\r\n \"Description\": \"Read regional database account partition key level metrics\"\r\n }\r\n },\r\n {\r\n \"name\": \"Microsoft.DocumentDB/databaseAccounts/databases/collections/partitionKeyRangeId/metrics/read\",\r\n \"display\": {\r\n \"Provider\": \"Microsoft DocumentDB\",\r\n \"Resource\": \"Database Account partition key metrics\",\r\n \"Operation\": \"Read database account partition key level metrics\",\r\n \"Description\": \"Read database account partition key level metrics\"\r\n }\r\n },\r\n {\r\n \"name\": \"Microsoft.DocumentDB/databaseAccounts/databases/collections/partitions/read\",\r\n \"display\": {\r\n \"Provider\": \"Microsoft DocumentDB\",\r\n \"Resource\": \"Database Account Collection partitions\",\r\n \"Operation\": \"Read database account partitions in a collection\",\r\n \"Description\": \"Read database account partitions in a collection\"\r\n }\r\n },\r\n {\r\n \"name\": \"Microsoft.DocumentDB/register/action\",\r\n \"display\": {\r\n \"Provider\": \"Microsoft DocumentDB\",\r\n \"Resource\": \"\",\r\n \"Operation\": \"Register Microsoft DocumentDB resource provider\",\r\n \"Description\": \" Register the Microsoft DocumentDB resource provider for the subscription\"\r\n }\r\n },\r\n {\r\n \"name\": \"Microsoft.DocumentDB/operations/read\",\r\n \"display\": {\r\n \"Provider\": \"Microsoft DocumentDB\",\r\n \"Resource\": \"operations\",\r\n \"Operation\": \"List operations\",\r\n \"Description\": \"Read operations available for the Microsoft DocumentDB \"\r\n }\r\n },\r\n {\r\n \"name\": \"Microsoft.DocumentDB/databaseAccounts/PrivateEndpointConnectionsApproval/action\",\r\n \"display\": {\r\n \"Provider\": \"Microsoft DocumentDB\",\r\n \"Resource\": \"Database Account Private Endpoint Connection Approval\",\r\n \"Operation\": \"Microsoft.DocumentDB/databaseAccounts/PrivateEndpointConnectionsApproval/action\",\r\n \"Description\": \"Manage a private endpoint connection of Database Account\"\r\n }\r\n },\r\n {\r\n \"name\": \"Microsoft.DocumentDB/databaseAccounts/privateEndpointConnectionProxies/read\",\r\n \"display\": {\r\n \"Provider\": \"Microsoft DocumentDB\",\r\n \"Resource\": \"Database Account Private Endpoint Connection Proxy\",\r\n \"Operation\": \"Microsoft.DocumentDB/databaseAccounts/privateEndpointConnectionProxies/read\",\r\n \"Description\": \"Read a private endpoint connection proxy of Database Account\"\r\n }\r\n },\r\n {\r\n \"name\": \"Microsoft.DocumentDB/databaseAccounts/privateEndpointConnectionProxies/write\",\r\n \"display\": {\r\n \"Provider\": \"Microsoft DocumentDB\",\r\n \"Resource\": \"Database Account Private Endpoint Connection Proxy\",\r\n \"Operation\": \"Microsoft.DocumentDB/databaseAccounts/privateEndpointConnectionProxies/write\",\r\n \"Description\": \"Create or update a private endpoint connection proxy of Database Account\"\r\n }\r\n },\r\n {\r\n \"name\": \"Microsoft.DocumentDB/databaseAccounts/privateEndpointConnectionProxies/delete\",\r\n \"display\": {\r\n \"Provider\": \"Microsoft DocumentDB\",\r\n \"Resource\": \"Database Account Private Endpoint Connection Proxy\",\r\n \"Operation\": \"Microsoft.DocumentDB/databaseAccounts/privateEndpointConnectionProxies/delete\",\r\n \"Description\": \"Delete a private endpoint connection proxy of Database Account\"\r\n }\r\n },\r\n {\r\n \"name\": \"Microsoft.DocumentDB/databaseAccounts/privateEndpointConnectionProxies/operationResults/read\",\r\n \"display\": {\r\n \"Provider\": \"Microsoft DocumentDB\",\r\n \"Resource\": \"Operation Result\",\r\n \"Operation\": \"Microsoft.DocumentDB/databaseAccounts/privateEndpointConnectionProxies/operationResults/read\",\r\n \"Description\": \"Read Status of private endpoint connection proxy asynchronous operation\"\r\n }\r\n },\r\n {\r\n \"name\": \"Microsoft.DocumentDB/databaseAccounts/privateEndpointConnectionProxies/validate/action\",\r\n \"display\": {\r\n \"Provider\": \"Microsoft DocumentDB\",\r\n \"Resource\": \"Database Account Private Endpoint Connection Proxy\",\r\n \"Operation\": \"Microsoft.DocumentDB/databaseAccounts/privateEndpointConnectionProxies/validate/action\",\r\n \"Description\": \"Validate a private endpoint connection proxy of Database Account\"\r\n }\r\n },\r\n {\r\n \"name\": \"Microsoft.DocumentDB/databaseAccounts/privateEndpointConnections/read\",\r\n \"display\": {\r\n \"Provider\": \"Microsoft DocumentDB\",\r\n \"Resource\": \"Database Account Private Endpoint Connection\",\r\n \"Operation\": \"Microsoft.DocumentDB/databaseAccounts/privateEndpointConnections/read\",\r\n \"Description\": \"Read a private endpoint connection or list all the private endpoint connections of a Database Account\"\r\n }\r\n },\r\n {\r\n \"name\": \"Microsoft.DocumentDB/databaseAccounts/privateEndpointConnections/write\",\r\n \"display\": {\r\n \"Provider\": \"Microsoft DocumentDB\",\r\n \"Resource\": \"Database Account Private Endpoint Connection\",\r\n \"Operation\": \"Microsoft.DocumentDB/databaseAccounts/privateEndpointConnections/write\",\r\n \"Description\": \"Create or update a private endpoint connection of a Database Account\"\r\n }\r\n },\r\n {\r\n \"name\": \"Microsoft.DocumentDB/databaseAccounts/privateEndpointConnections/delete\",\r\n \"display\": {\r\n \"Provider\": \"Microsoft DocumentDB\",\r\n \"Resource\": \"Database Account Private Endpoint Connection\",\r\n \"Operation\": \"Microsoft.DocumentDB/databaseAccounts/privateEndpointConnections/delete\",\r\n \"Description\": \"Delete a private endpoint connection of a Database Account\"\r\n }\r\n },\r\n {\r\n \"name\": \"Microsoft.DocumentDB/databaseAccounts/privateEndpointConnections/operationResults/read\",\r\n \"display\": {\r\n \"Provider\": \"Microsoft DocumentDB\",\r\n \"Resource\": \"Operation Result\",\r\n \"Operation\": \"Microsoft.DocumentDB/databaseAccounts/privateEndpointConnections/operationResults/read\",\r\n \"Description\": \"Read Status of privateEndpointConnenctions asynchronous operation\"\r\n }\r\n },\r\n {\r\n \"name\": \"Microsoft.DocumentDB/databaseAccounts/privateLinkResources/read\",\r\n \"display\": {\r\n \"Provider\": \"Microsoft DocumentDB\",\r\n \"Resource\": \"Database Account Private Link Resource\",\r\n \"Operation\": \"Microsoft.DocumentDB/databaseAccounts/privateLinkResources/read\",\r\n \"Description\": \"Read a private link resource or list all the private link resources of a Database Account\"\r\n }\r\n },\r\n {\r\n \"name\": \"Microsoft.DocumentDB/locations/operationsStatus/read\",\r\n \"display\": {\r\n \"Provider\": \"Microsoft DocumentDB\",\r\n \"Resource\": \"Asynchronous Operations\",\r\n \"Operation\": \"Microsoft.DocumentDB/locations/operationsStatus/read\",\r\n \"Description\": \"Reads Status of Asynchronous Operations\"\r\n }\r\n },\r\n {\r\n \"name\": \"Microsoft.DocumentDB/locations/deleteVirtualNetworkOrSubnets/action\",\r\n \"display\": {\r\n \"Provider\": \"Microsoft DocumentDB\",\r\n \"Resource\": \"Database Account\",\r\n \"Operation\": \"Microsoft.DocumentDB/locations/deleteVirtualNetworkOrSubnets/action\",\r\n \"Description\": \"Notifies Microsoft.DocumentDB that VirtualNetwork or Subnet is being deleted\"\r\n }\r\n },\r\n {\r\n \"name\": \"Microsoft.DocumentDB/locations/deleteVirtualNetworkOrSubnets/operationResults/read\",\r\n \"display\": {\r\n \"Provider\": \"Microsoft DocumentDB\",\r\n \"Resource\": \"Operation Result\",\r\n \"Operation\": \"Microsoft.DocumentDB/locations/deleteVirtualNetworkOrSubnets/operationResults/read\",\r\n \"Description\": \"Read Status of deleteVirtualNetworkOrSubnets asynchronous operation\"\r\n }\r\n },\r\n {\r\n \"name\": \"Microsoft.DocumentDB/databaseAccounts/restore/action\",\r\n \"display\": {\r\n \"Provider\": \"Microsoft DocumentDB\",\r\n \"Resource\": \"\",\r\n \"Operation\": \"Microsoft.DocumentDB/databaseAccounts/restore/action\",\r\n \"Description\": \"Submit a restore request\"\r\n }\r\n },\r\n {\r\n \"name\": \"Microsoft.DocumentDB/databaseAccounts/backup/action\",\r\n \"display\": {\r\n \"Provider\": \"Microsoft DocumentDB\",\r\n \"Resource\": \"\",\r\n \"Operation\": \"Microsoft.DocumentDB/databaseAccounts/backup/action\",\r\n \"Description\": \"Submit a request to configure backup\"\r\n }\r\n },\r\n {\r\n \"name\": \"Microsoft.DocumentDB/databaseAccounts/notebookWorkspaces/write\",\r\n \"display\": {\r\n \"Provider\": \"Microsoft DocumentDB\",\r\n \"Resource\": \"Notebook Workspace\",\r\n \"Operation\": \"Microsoft.DocumentDB/databaseAccounts/notebookWorkspaces/write\",\r\n \"Description\": \"Create or update a notebook workspace\"\r\n }\r\n },\r\n {\r\n \"name\": \"Microsoft.DocumentDB/databaseAccounts/notebookWorkspaces/read\",\r\n \"display\": {\r\n \"Provider\": \"Microsoft DocumentDB\",\r\n \"Resource\": \"Notebook Workspace\",\r\n \"Operation\": \"Microsoft.DocumentDB/databaseAccounts/notebookWorkspaces/read\",\r\n \"Description\": \"Read a notebook workspace\"\r\n }\r\n },\r\n {\r\n \"name\": \"Microsoft.DocumentDB/databaseAccounts/notebookWorkspaces/delete\",\r\n \"display\": {\r\n \"Provider\": \"Microsoft DocumentDB\",\r\n \"Resource\": \"Notebook Workspace\",\r\n \"Operation\": \"Microsoft.DocumentDB/databaseAccounts/notebookWorkspaces/delete\",\r\n \"Description\": \"Delete a notebook workspace\"\r\n }\r\n },\r\n {\r\n \"name\": \"Microsoft.DocumentDB/databaseAccounts/notebookWorkspaces/operationResults/read\",\r\n \"display\": {\r\n \"Provider\": \"Microsoft DocumentDB\",\r\n \"Resource\": \"Operation Result\",\r\n \"Operation\": \"Microsoft.DocumentDB/databaseAccounts/notebookWorkspaces/operationResults/read\",\r\n \"Description\": \"Read the status of an asynchronous operation on notebook workspaces\"\r\n }\r\n },\r\n {\r\n \"name\": \"Microsoft.DocumentDB/databaseAccounts/notebookWorkspaces/listConnectionInfo/action\",\r\n \"display\": {\r\n \"Provider\": \"Microsoft DocumentDB\",\r\n \"Resource\": \"Notebook Workspace\",\r\n \"Operation\": \"Microsoft.DocumentDB/databaseAccounts/notebookWorkspaces/listConnectionInfo/action\",\r\n \"Description\": \"List the connection info for a notebook workspace\"\r\n }\r\n },\r\n {\r\n \"name\": \"Microsoft.DocumentDB/locations/restorableDatabaseAccounts/read\",\r\n \"display\": {\r\n \"Provider\": \"Microsoft DocumentDB\",\r\n \"Resource\": \"Restorable database account\",\r\n \"Operation\": \"Microsoft.DocumentDB/locations/restorableDatabaseAccounts/read\",\r\n \"Description\": \"Read a restorable database account or List all the restorable database accounts\"\r\n }\r\n },\r\n {\r\n \"name\": \"Microsoft.DocumentDB/locations/restorableDatabaseAccounts/restore/action \",\r\n \"display\": {\r\n \"Provider\": \"Microsoft DocumentDB\",\r\n \"Resource\": \"Restore action on restorable database account\",\r\n \"Operation\": \"Microsoft.DocumentDB/locations/restorableDatabaseAccounts/restore/action\",\r\n \"Description\": \"Submit a restore request\"\r\n }\r\n },\r\n {\r\n \"name\": \"Microsoft.DocumentDB/locations/read\",\r\n \"display\": {\r\n \"Provider\": \"Microsoft DocumentDB\",\r\n \"Resource\": \"CosmosDB location\",\r\n \"Operation\": \"Microsoft.DocumentDB/locations/read\",\r\n \"Description\": \"Read the metadata of a location or List all location metadata\"\r\n }\r\n },\r\n {\r\n \"name\": \"Microsoft.DocumentDB/cassandraClusters/read\",\r\n \"display\": {\r\n \"Provider\": \"Microsoft DocumentDB\",\r\n \"Resource\": \"Managed Cassandra cluster\",\r\n \"Operation\": \"Microsoft.DocumentDB/cassandraClusters/read\",\r\n \"Description\": \"Read a managed Cassandra cluster or list all managed Cassandra clusters\"\r\n }\r\n },\r\n {\r\n \"name\": \"Microsoft.DocumentDB/cassandraClusters/write\",\r\n \"display\": {\r\n \"Provider\": \"Microsoft DocumentDB\",\r\n \"Resource\": \"Managed Cassandra cluster\",\r\n \"Operation\": \"Microsoft.DocumentDB/cassandraClusters/write\",\r\n \"Description\": \"Create or update a managed Cassandra cluster\"\r\n }\r\n },\r\n {\r\n \"name\": \"Microsoft.DocumentDB/cassandraClusters/delete\",\r\n \"display\": {\r\n \"Provider\": \"Microsoft DocumentDB\",\r\n \"Resource\": \"Managed Cassandra cluster\",\r\n \"Operation\": \"Microsoft.DocumentDB/cassandraClusters/delete\",\r\n \"Description\": \"Delete a managed Cassandra cluster\"\r\n }\r\n },\r\n {\r\n \"name\": \"Microsoft.DocumentDB/cassandraClusters/repair/action\",\r\n \"display\": {\r\n \"Provider\": \"Microsoft DocumentDB\",\r\n \"Resource\": \"\",\r\n \"Operation\": \"Microsoft.DocumentDB/cassandraClusters/repair/action\",\r\n \"Description\": \"Request a repair of a managed Cassandra keyspace\"\r\n }\r\n },\r\n {\r\n \"name\": \"Microsoft.DocumentDB/cassandraClusters/fetchNodeStatus/action\",\r\n \"display\": {\r\n \"Provider\": \"Microsoft DocumentDB\",\r\n \"Resource\": \"\",\r\n \"Operation\": \"Microsoft.DocumentDB/cassandraClusters/fetchNodeStatus/action\",\r\n \"Description\": \"Asynchronously fetch node status of all nodes in a managed Cassandra cluster\"\r\n }\r\n },\r\n {\r\n \"name\": \"Microsoft.DocumentDB/cassandraClusters/dataCenters/read\",\r\n \"display\": {\r\n \"Provider\": \"Microsoft DocumentDB\",\r\n \"Resource\": \"Managed Cassandra data center\",\r\n \"Operation\": \"Microsoft.DocumentDB/cassandraClusters/dataCenters/read\",\r\n \"Description\": \"Read a data center in a managed Cassandra cluster or list all data centers in a managed Cassandra cluster\"\r\n }\r\n },\r\n {\r\n \"name\": \"Microsoft.DocumentDB/cassandraClusters/dataCenters/write\",\r\n \"display\": {\r\n \"Provider\": \"Microsoft DocumentDB\",\r\n \"Resource\": \"Managed Cassandra data center\",\r\n \"Operation\": \"Microsoft.DocumentDB/cassandraClusters/dataCenters/write\",\r\n \"Description\": \"Create or update a data center in a managed Cassandra cluster\"\r\n }\r\n },\r\n {\r\n \"name\": \"Microsoft.DocumentDB/cassandraClusters/dataCenters/delete\",\r\n \"display\": {\r\n \"Provider\": \"Microsoft DocumentDB\",\r\n \"Resource\": \"Managed Cassandra data center\",\r\n \"Operation\": \"Microsoft.DocumentDB/cassandraClusters/dataCenters/delete\",\r\n \"Description\": \"Delete a data center in a managed Cassandra cluster\"\r\n }\r\n },\r\n {\r\n \"name\": \"Microsoft.DocumentDB/databaseAccounts/sqlRoleDefinitions/read\",\r\n \"display\": {\r\n \"Provider\": \"Microsoft DocumentDB\",\r\n \"Resource\": \"SQL Role Definition\",\r\n \"Operation\": \"Microsoft.DocumentDB/databaseAccounts/sqlRoleDefinitions/read\",\r\n \"Description\": \"Read a SQL Role Definition\"\r\n }\r\n },\r\n {\r\n \"name\": \"Microsoft.DocumentDB/databaseAccounts/sqlRoleDefinitions/write\",\r\n \"display\": {\r\n \"Provider\": \"Microsoft DocumentDB\",\r\n \"Resource\": \"SQL Role Definition\",\r\n \"Operation\": \"Microsoft.DocumentDB/databaseAccounts/sqlRoleDefinitions/write\",\r\n \"Description\": \"Create or update a SQL Role Definition\"\r\n }\r\n },\r\n {\r\n \"name\": \"Microsoft.DocumentDB/databaseAccounts/sqlRoleDefinitions/delete\",\r\n \"display\": {\r\n \"Provider\": \"Microsoft DocumentDB\",\r\n \"Resource\": \"SQL Role Definition\",\r\n \"Operation\": \"Microsoft.DocumentDB/databaseAccounts/sqlRoleDefinitions/delete\",\r\n \"Description\": \"Delete a SQL Role Definition\"\r\n }\r\n },\r\n {\r\n \"name\": \"Microsoft.DocumentDB/databaseAccounts/sqlRoleAssignments/read\",\r\n \"display\": {\r\n \"Provider\": \"Microsoft DocumentDB\",\r\n \"Resource\": \"SQL Role Assignment\",\r\n \"Operation\": \"Microsoft.DocumentDB/databaseAccounts/sqlRoleAssignments/read\",\r\n \"Description\": \"Read a SQL Role Assignment\"\r\n }\r\n },\r\n {\r\n \"name\": \"Microsoft.DocumentDB/databaseAccounts/sqlRoleAssignments/write\",\r\n \"display\": {\r\n \"Provider\": \"Microsoft DocumentDB\",\r\n \"Resource\": \"SQL Role Assignment\",\r\n \"Operation\": \"Microsoft.DocumentDB/databaseAccounts/sqlRoleAssignments/write\",\r\n \"Description\": \"Create or update a SQL Role Assignment\"\r\n }\r\n },\r\n {\r\n \"name\": \"Microsoft.DocumentDB/databaseAccounts/sqlRoleAssignments/delete\",\r\n \"display\": {\r\n \"Provider\": \"Microsoft DocumentDB\",\r\n \"Resource\": \"SQL Role Assignment\",\r\n \"Operation\": \"Microsoft.DocumentDB/databaseAccounts/sqlRoleAssignments/delete\",\r\n \"Description\": \"Delete a SQL Role Assignment\"\r\n }\r\n },\r\n {\r\n \"name\": \"Microsoft.DocumentDB/databaseAccounts/services/read\",\r\n \"display\": {\r\n \"Provider\": \"Microsoft DocumentDB\",\r\n \"Resource\": \"CosmosDB Service Reosurce\",\r\n \"Operation\": \"Microsoft.DocumentDB/databaseAccounts/services/read\",\r\n \"Description\": \"Reads a CosmosDB Service Resource\"\r\n }\r\n },\r\n {\r\n \"name\": \"Microsoft.DocumentDB/databaseAccounts/services/write\",\r\n \"display\": {\r\n \"Provider\": \"Microsoft DocumentDB\",\r\n \"Resource\": \"CosmosDB Service Reosurce\",\r\n \"Operation\": \"Microsoft.DocumentDB/databaseAccounts/services/write\",\r\n \"Description\": \"Writes a CosmosDB Service Resource\"\r\n }\r\n },\r\n {\r\n \"name\": \"Microsoft.DocumentDB/databaseAccounts/services/delete\",\r\n \"display\": {\r\n \"Provider\": \"Microsoft DocumentDB\",\r\n \"Resource\": \"CosmosDB Service Reosurce\",\r\n \"Operation\": \"Microsoft.DocumentDB/databaseAccounts/services/delete\",\r\n \"Description\": \"Deletes a CosmosDB Service Resource\"\r\n }\r\n },\r\n {\r\n \"origin\": \"system\",\r\n \"name\": \"Microsoft.DocumentDB/databaseAccounts/providers/Microsoft.Insights/logDefinitions/read\",\r\n \"display\": {\r\n \"Provider\": \"Microsoft DocumentDB\",\r\n \"Resource\": \"Database Account\",\r\n \"Operation\": \"Read database account log definitions\",\r\n \"Description\": \"Gets the available log catageries for Database Account\"\r\n },\r\n \"properties\": {\r\n \"serviceSpecification\": {\r\n \"logSpecifications\": [\r\n {\r\n \"name\": \"DataPlaneRequests\",\r\n \"displayName\": \"DataPlaneRequests\",\r\n \"blobDuration\": \"PT1H\"\r\n },\r\n {\r\n \"name\": \"MongoRequests\",\r\n \"displayName\": \"MongoRequests\",\r\n \"blobDuration\": \"PT1H\"\r\n },\r\n {\r\n \"name\": \"QueryRuntimeStatistics\",\r\n \"displayName\": \"QueryRuntimeStatistics\",\r\n \"blobDuration\": \"PT1H\"\r\n },\r\n {\r\n \"name\": \"PartitionKeyStatistics\",\r\n \"displayName\": \"PartitionKeyStatistics\",\r\n \"blobDuration\": \"PT1H\"\r\n },\r\n {\r\n \"name\": \"PartitionKeyRUConsumption\",\r\n \"displayName\": \"PartitionKeyRUConsumption\",\r\n \"blobDuration\": \"PT1H\"\r\n },\r\n {\r\n \"name\": \"ControlPlaneRequests\",\r\n \"displayName\": \"ControlPlaneRequests\",\r\n \"blobDuration\": \"PT1H\"\r\n },\r\n {\r\n \"name\": \"CassandraRequests\",\r\n \"displayName\": \"CassandraRequests\",\r\n \"blobDuration\": \"PT1H\"\r\n },\r\n {\r\n \"name\": \"GremlinRequests\",\r\n \"displayName\": \"GremlinRequests\",\r\n \"blobDuration\": \"PT1H\"\r\n },\r\n {\r\n \"name\": \"TableApiRequests\",\r\n \"displayName\": \"TableApiRequests\",\r\n \"blobDuration\": \"PT1H\"\r\n }\r\n ]\r\n }\r\n }\r\n },\r\n {\r\n \"origin\": \"system\",\r\n \"name\": \"Microsoft.DocumentDB/databaseAccounts/providers/Microsoft.Insights/diagnosticSettings/read\",\r\n \"display\": {\r\n \"Provider\": \"Microsoft DocumentDB\",\r\n \"Resource\": \"Database Account\",\r\n \"Operation\": \"Write diagnostic setting\",\r\n \"Description\": \"Gets the diagnostic setting for the resource\"\r\n }\r\n },\r\n {\r\n \"origin\": \"system\",\r\n \"name\": \"Microsoft.DocumentDB/databaseAccounts/providers/Microsoft.Insights/diagnosticSettings/write\",\r\n \"display\": {\r\n \"Provider\": \"Microsoft DocumentDB\",\r\n \"Resource\": \"Database Account\",\r\n \"Operation\": \"Write diagnostic setting\",\r\n \"Description\": \"Creates or updates the diagnostic setting for the resource\"\r\n }\r\n },\r\n {\r\n \"origin\": \"system\",\r\n \"name\": \"Microsoft.DocumentDB/databaseAccounts/providers/Microsoft.Insights/metricDefinitions/read\",\r\n \"display\": {\r\n \"Provider\": \"Microsoft DocumentDb\",\r\n \"Resource\": \"Database Account\",\r\n \"Operation\": \"Get database account metric definitions\",\r\n \"Description\": \"Gets the available metrics for the database Account\"\r\n },\r\n \"properties\": {\r\n \"serviceSpecification\": {\r\n \"metricSpecifications\": [\r\n {\r\n \"name\": \"CreateAccount\",\r\n \"displayName\": \"Account Created\",\r\n \"internalMetricName\": \"CreateAccount\",\r\n \"displayDescription\": \"Account Created\",\r\n \"unit\": \"Count\",\r\n \"aggregationType\": \"Count\",\r\n \"lockAggregationType\": \"\",\r\n \"sourceMdmAccount\": \"CosmosDBCustomer\",\r\n \"sourceMdmNamespace\": \"AzureMonitor\",\r\n \"fillGapWithZero\": true,\r\n \"category\": \"Requests\",\r\n \"resourceIdDimensionNameOverride\": \"GlobalDatabaseAccountName\",\r\n \"supportedAggregationTypes\": [\r\n \"Count\"\r\n ],\r\n \"supportedTimeGrainTypes\": [\r\n \"PT5M\"\r\n ],\r\n \"dimensions\": []\r\n },\r\n {\r\n \"name\": \"CassandraKeyspaceUpdate\",\r\n \"displayName\": \"Cassandra Keyspace Updated\",\r\n \"internalMetricName\": \"ControlPlaneArmAPIRequest\",\r\n \"displayDescription\": \"Cassandra Keyspace Updated\",\r\n \"unit\": \"Count\",\r\n \"aggregationType\": \"Count\",\r\n \"lockAggregationType\": \"\",\r\n \"sourceMdmAccount\": \"CosmosDBCustomer\",\r\n \"sourceMdmNamespace\": \"AzureMonitor\",\r\n \"fillGapWithZero\": true,\r\n \"category\": \"Requests\",\r\n \"resourceIdDimensionNameOverride\": \"GlobalDatabaseAccountName\",\r\n \"supportedAggregationTypes\": [\r\n \"Count\"\r\n ],\r\n \"supportedTimeGrainTypes\": [\r\n \"PT5M\"\r\n ],\r\n \"dimensions\": [\r\n {\r\n \"name\": \"ResourceName\",\r\n \"internalName\": \"ResourceName\",\r\n \"displayName\": \"Keyspace Name\"\r\n },\r\n {\r\n \"name\": \"ApiKind\",\r\n \"internalName\": \"ApiKind\",\r\n \"isHidden\": true,\r\n \"defaultDimensionValues\": [\r\n {\r\n \"value\": \"cassandra\"\r\n }\r\n ]\r\n },\r\n {\r\n \"name\": \"ApiKindResourceType\",\r\n \"internalName\": \"ApiKindResourceType\",\r\n \"isHidden\": true,\r\n \"defaultDimensionValues\": [\r\n {\r\n \"value\": \"keyspaces\"\r\n },\r\n {\r\n \"value\": \"cassandrakeyspaces\"\r\n }\r\n ]\r\n },\r\n {\r\n \"name\": \"IsThroughputRequest\",\r\n \"internalName\": \"IsThroughputRequest\",\r\n \"isHidden\": true,\r\n \"defaultDimensionValues\": [\r\n {\r\n \"value\": \"False\"\r\n }\r\n ]\r\n },\r\n {\r\n \"name\": \"OperationType\",\r\n \"internalName\": \"OperationType\",\r\n \"isHidden\": true,\r\n \"defaultDimensionValues\": [\r\n {\r\n \"value\": \"Upsert\"\r\n },\r\n {\r\n \"value\": \"Replace\"\r\n }\r\n ]\r\n }\r\n ]\r\n },\r\n {\r\n \"name\": \"GremlinGraphDelete\",\r\n \"displayName\": \"Gremlin Graph Deleted\",\r\n \"internalMetricName\": \"ControlPlaneArmAPIRequest\",\r\n \"displayDescription\": \"Gremlin Graph Deleted\",\r\n \"unit\": \"Count\",\r\n \"aggregationType\": \"Count\",\r\n \"lockAggregationType\": \"\",\r\n \"sourceMdmAccount\": \"CosmosDBCustomer\",\r\n \"sourceMdmNamespace\": \"AzureMonitor\",\r\n \"fillGapWithZero\": true,\r\n \"category\": \"Requests\",\r\n \"resourceIdDimensionNameOverride\": \"GlobalDatabaseAccountName\",\r\n \"supportedAggregationTypes\": [\r\n \"Count\"\r\n ],\r\n \"supportedTimeGrainTypes\": [\r\n \"PT5M\"\r\n ],\r\n \"dimensions\": [\r\n {\r\n \"name\": \"ResourceName\",\r\n \"internalName\": \"ResourceName\",\r\n \"displayName\": \"Database Name\"\r\n },\r\n {\r\n \"name\": \"ChildResourceName\",\r\n \"internalName\": \"ChildResourceName\",\r\n \"displayName\": \"Graph Name\"\r\n },\r\n {\r\n \"name\": \"ApiKind\",\r\n \"internalName\": \"ApiKind\",\r\n \"isHidden\": true,\r\n \"defaultDimensionValues\": [\r\n {\r\n \"value\": \"gremlin\"\r\n }\r\n ]\r\n },\r\n {\r\n \"name\": \"ApiKindResourceType\",\r\n \"internalName\": \"ApiKindResourceType\",\r\n \"isHidden\": true,\r\n \"defaultDimensionValues\": [\r\n {\r\n \"value\": \"graphs\"\r\n }\r\n ]\r\n },\r\n {\r\n \"name\": \"OperationType\",\r\n \"internalName\": \"OperationType\",\r\n \"isHidden\": true,\r\n \"defaultDimensionValues\": [\r\n {\r\n \"value\": \"Delete\"\r\n }\r\n ]\r\n }\r\n ]\r\n },\r\n {\r\n \"name\": \"CassandraTableCreate\",\r\n \"displayName\": \"Cassandra Table Created\",\r\n \"internalMetricName\": \"ControlPlaneArmAPIRequest\",\r\n \"displayDescription\": \"Cassandra Table Created\",\r\n \"unit\": \"Count\",\r\n \"aggregationType\": \"Count\",\r\n \"lockAggregationType\": \"\",\r\n \"sourceMdmAccount\": \"CosmosDBCustomer\",\r\n \"sourceMdmNamespace\": \"AzureMonitor\",\r\n \"fillGapWithZero\": true,\r\n \"category\": \"Requests\",\r\n \"resourceIdDimensionNameOverride\": \"GlobalDatabaseAccountName\",\r\n \"supportedAggregationTypes\": [\r\n \"Count\"\r\n ],\r\n \"supportedTimeGrainTypes\": [\r\n \"PT5M\"\r\n ],\r\n \"dimensions\": [\r\n {\r\n \"name\": \"ResourceName\",\r\n \"displayName\": \"Keyspace Name\",\r\n \"internalName\": \"ResourceName\"\r\n },\r\n {\r\n \"name\": \"ChildResourceName\",\r\n \"displayName\": \"Table Name\",\r\n \"internalName\": \"ChildResourceName\"\r\n },\r\n {\r\n \"name\": \"ApiKind\",\r\n \"internalName\": \"ApiKind\",\r\n \"isHidden\": true,\r\n \"defaultDimensionValues\": [\r\n {\r\n \"value\": \"cassandra\"\r\n }\r\n ]\r\n },\r\n {\r\n \"name\": \"ApiKindResourceType\",\r\n \"internalName\": \"ApiKindResourceType\",\r\n \"isHidden\": true,\r\n \"defaultDimensionValues\": [\r\n {\r\n \"value\": \"tables\"\r\n }\r\n ]\r\n },\r\n {\r\n \"name\": \"IsThroughputRequest\",\r\n \"internalName\": \"IsThroughputRequest\",\r\n \"isHidden\": true,\r\n \"defaultDimensionValues\": [\r\n {\r\n \"value\": \"False\"\r\n }\r\n ]\r\n },\r\n {\r\n \"name\": \"OperationType\",\r\n \"internalName\": \"OperationType\",\r\n \"isHidden\": true,\r\n \"defaultDimensionValues\": [\r\n {\r\n \"value\": \"Create\"\r\n }\r\n ]\r\n }\r\n ]\r\n },\r\n {\r\n \"name\": \"MetadataRequests\",\r\n \"displayName\": \"Metadata Requests\",\r\n \"internalMetricName\": \"MetadataRequests\",\r\n \"displayDescription\": \"Count of metadata requests. Cosmos DB maintains system metadata collection for each account, that allows you to enumerate collections, databases, etc, and their configurations, free of charge.\",\r\n \"unit\": \"Count\",\r\n \"aggregationType\": \"Count\",\r\n \"lockAggregationType\": \"\",\r\n \"sourceMdmAccount\": \"CosmosDBCustomer\",\r\n \"sourceMdmNamespace\": \"AzureMonitor\",\r\n \"fillGapWithZero\": true,\r\n \"category\": \"Requests\",\r\n \"resourceIdDimensionNameOverride\": \"GlobalDatabaseAccountName\",\r\n \"supportedAggregationTypes\": [\r\n \"Count\"\r\n ],\r\n \"dimensions\": [\r\n {\r\n \"name\": \"DatabaseName\",\r\n \"internalName\": \"DatabaseName\"\r\n },\r\n {\r\n \"name\": \"CollectionName\",\r\n \"internalName\": \"CollectionName\"\r\n },\r\n {\r\n \"name\": \"Region\",\r\n \"internalName\": \"Region\"\r\n },\r\n {\r\n \"name\": \"StatusCode\",\r\n \"internalName\": \"StatusCode\"\r\n },\r\n {\r\n \"name\": \"Role\",\r\n \"internalName\": \"Role\",\r\n \"isHidden\": true,\r\n \"defaultDimensionValues\": [\r\n {\r\n \"value\": \"MasterCluster0\"\r\n }\r\n ]\r\n }\r\n ]\r\n },\r\n {\r\n \"name\": \"DataUsage\",\r\n \"displayName\": \"Data Usage\",\r\n \"internalMetricName\": \"DataUsage\",\r\n \"displayDescription\": \"Total data usage reported at 5 minutes granularity\",\r\n \"unit\": \"Bytes\",\r\n \"aggregationType\": \"Total\",\r\n \"lockAggregationType\": \"Total\",\r\n \"sourceMdmAccount\": \"CosmosDBCustomer\",\r\n \"sourceMdmNamespace\": \"AzureMonitor\",\r\n \"fillGapWithZero\": true,\r\n \"category\": \"Requests\",\r\n \"resourceIdDimensionNameOverride\": \"GlobalDatabaseAccountName\",\r\n \"supportedAggregationTypes\": [\r\n \"Total\",\r\n \" Average\"\r\n ],\r\n \"supportedTimeGrainTypes\": [\r\n \"PT5M\"\r\n ],\r\n \"dimensions\": [\r\n {\r\n \"name\": \"CollectionName\",\r\n \"internalName\": \"CollectionName\"\r\n },\r\n {\r\n \"name\": \"DatabaseName\",\r\n \"internalName\": \"DatabaseName\"\r\n },\r\n {\r\n \"name\": \"Region\",\r\n \"internalName\": \"Region\"\r\n }\r\n ]\r\n },\r\n {\r\n \"name\": \"IndexUsage\",\r\n \"displayName\": \"Index Usage\",\r\n \"internalMetricName\": \"IndexUsage\",\r\n \"displayDescription\": \"Total index usage reported at 5 minutes granularity\",\r\n \"unit\": \"Bytes\",\r\n \"aggregationType\": \"Total\",\r\n \"lockAggregationType\": \"Total\",\r\n \"sourceMdmAccount\": \"CosmosDBCustomer\",\r\n \"sourceMdmNamespace\": \"AzureMonitor\",\r\n \"fillGapWithZero\": true,\r\n \"category\": \"Requests\",\r\n \"resourceIdDimensionNameOverride\": \"GlobalDatabaseAccountName\",\r\n \"supportedAggregationTypes\": [\r\n \"Total\",\r\n \" Average\"\r\n ],\r\n \"supportedTimeGrainTypes\": [\r\n \"PT5M\"\r\n ],\r\n \"dimensions\": [\r\n {\r\n \"name\": \"CollectionName\",\r\n \"internalName\": \"CollectionName\"\r\n },\r\n {\r\n \"name\": \"DatabaseName\",\r\n \"internalName\": \"DatabaseName\"\r\n },\r\n {\r\n \"name\": \"Region\",\r\n \"internalName\": \"Region\"\r\n }\r\n ]\r\n },\r\n {\r\n \"name\": \"GremlinDatabaseCreate\",\r\n \"displayName\": \"Gremlin Database Created\",\r\n \"internalMetricName\": \"ControlPlaneArmAPIRequest\",\r\n \"displayDescription\": \"Gremlin Database Created\",\r\n \"unit\": \"Count\",\r\n \"aggregationType\": \"Count\",\r\n \"lockAggregationType\": \"\",\r\n \"sourceMdmAccount\": \"CosmosDBCustomer\",\r\n \"sourceMdmNamespace\": \"AzureMonitor\",\r\n \"fillGapWithZero\": true,\r\n \"category\": \"Requests\",\r\n \"resourceIdDimensionNameOverride\": \"GlobalDatabaseAccountName\",\r\n \"supportedAggregationTypes\": [\r\n \"Count\"\r\n ],\r\n \"supportedTimeGrainTypes\": [\r\n \"PT5M\"\r\n ],\r\n \"dimensions\": [\r\n {\r\n \"name\": \"ResourceName\",\r\n \"displayName\": \"Database Name\",\r\n \"internalName\": \"ResourceName\"\r\n },\r\n {\r\n \"name\": \"ApiKind\",\r\n \"internalName\": \"ApiKind\",\r\n \"isHidden\": true,\r\n \"defaultDimensionValues\": [\r\n {\r\n \"value\": \"gremlin\"\r\n }\r\n ]\r\n },\r\n {\r\n \"name\": \"ApiKindResourceType\",\r\n \"internalName\": \"ApiKindResourceType\",\r\n \"isHidden\": true,\r\n \"defaultDimensionValues\": [\r\n {\r\n \"value\": \"databases\"\r\n },\r\n {\r\n \"value\": \"gremlindatabases\"\r\n }\r\n ]\r\n },\r\n {\r\n \"name\": \"IsThroughputRequest\",\r\n \"internalName\": \"IsThroughputRequest\",\r\n \"isHidden\": true,\r\n \"defaultDimensionValues\": [\r\n {\r\n \"value\": \"False\"\r\n }\r\n ]\r\n },\r\n {\r\n \"name\": \"OperationType\",\r\n \"internalName\": \"OperationType\",\r\n \"isHidden\": true,\r\n \"defaultDimensionValues\": [\r\n {\r\n \"value\": \"Create\"\r\n }\r\n ]\r\n }\r\n ]\r\n },\r\n {\r\n \"name\": \"GremlinGraphUpdate\",\r\n \"displayName\": \"Gremlin Graph Updated\",\r\n \"internalMetricName\": \"ControlPlaneArmAPIRequest\",\r\n \"displayDescription\": \"Gremlin Graph Updated\",\r\n \"unit\": \"Count\",\r\n \"aggregationType\": \"Count\",\r\n \"lockAggregationType\": \"\",\r\n \"sourceMdmAccount\": \"CosmosDBCustomer\",\r\n \"sourceMdmNamespace\": \"AzureMonitor\",\r\n \"fillGapWithZero\": true,\r\n \"category\": \"Requests\",\r\n \"resourceIdDimensionNameOverride\": \"GlobalDatabaseAccountName\",\r\n \"supportedAggregationTypes\": [\r\n \"Count\"\r\n ],\r\n \"supportedTimeGrainTypes\": [\r\n \"PT5M\"\r\n ],\r\n \"dimensions\": [\r\n {\r\n \"name\": \"ResourceName\",\r\n \"internalName\": \"ResourceName\",\r\n \"displayName\": \"Database Name\"\r\n },\r\n {\r\n \"name\": \"ChildResourceName\",\r\n \"internalName\": \"ChildResourceName\",\r\n \"displayName\": \"Graph Name\"\r\n },\r\n {\r\n \"name\": \"ApiKind\",\r\n \"internalName\": \"ApiKind\",\r\n \"isHidden\": true,\r\n \"defaultDimensionValues\": [\r\n {\r\n \"value\": \"gremlin\"\r\n }\r\n ]\r\n },\r\n {\r\n \"name\": \"ApiKindResourceType\",\r\n \"internalName\": \"ApiKindResourceType\",\r\n \"isHidden\": true,\r\n \"defaultDimensionValues\": [\r\n {\r\n \"value\": \"graphs\"\r\n }\r\n ]\r\n },\r\n {\r\n \"name\": \"IsThroughputRequest\",\r\n \"internalName\": \"IsThroughputRequest\",\r\n \"isHidden\": true,\r\n \"defaultDimensionValues\": [\r\n {\r\n \"value\": \"False\"\r\n }\r\n ]\r\n },\r\n {\r\n \"name\": \"OperationType\",\r\n \"internalName\": \"OperationType\",\r\n \"isHidden\": true,\r\n \"defaultDimensionValues\": [\r\n {\r\n \"value\": \"Upsert\"\r\n },\r\n {\r\n \"value\": \"Replace\"\r\n }\r\n ]\r\n }\r\n ]\r\n },\r\n {\r\n \"name\": \"CassandraTableDelete\",\r\n \"displayName\": \"Cassandra Table Deleted\",\r\n \"internalMetricName\": \"ControlPlaneArmAPIRequest\",\r\n \"displayDescription\": \"Cassandra Table Deleted\",\r\n \"unit\": \"Count\",\r\n \"aggregationType\": \"Count\",\r\n \"lockAggregationType\": \"\",\r\n \"sourceMdmAccount\": \"CosmosDBCustomer\",\r\n \"sourceMdmNamespace\": \"AzureMonitor\",\r\n \"fillGapWithZero\": true,\r\n \"category\": \"Requests\",\r\n \"resourceIdDimensionNameOverride\": \"GlobalDatabaseAccountName\",\r\n \"supportedAggregationTypes\": [\r\n \"Count\"\r\n ],\r\n \"supportedTimeGrainTypes\": [\r\n \"PT5M\"\r\n ],\r\n \"dimensions\": [\r\n {\r\n \"name\": \"ResourceName\",\r\n \"internalName\": \"ResourceName\",\r\n \"displayName\": \"Keyspace Name\"\r\n },\r\n {\r\n \"name\": \"ChildResourceName\",\r\n \"internalName\": \"ChildResourceName\",\r\n \"displayName\": \"Table Name\"\r\n },\r\n {\r\n \"name\": \"ApiKind\",\r\n \"internalName\": \"ApiKind\",\r\n \"isHidden\": true,\r\n \"defaultDimensionValues\": [\r\n {\r\n \"value\": \"cassandra\"\r\n }\r\n ]\r\n },\r\n {\r\n \"name\": \"ApiKindResourceType\",\r\n \"internalName\": \"ApiKindResourceType\",\r\n \"isHidden\": true,\r\n \"defaultDimensionValues\": [\r\n {\r\n \"value\": \"tables\"\r\n }\r\n ]\r\n },\r\n {\r\n \"name\": \"OperationType\",\r\n \"internalName\": \"OperationType\",\r\n \"isHidden\": true,\r\n \"defaultDimensionValues\": [\r\n {\r\n \"value\": \"Delete\"\r\n }\r\n ]\r\n }\r\n ]\r\n },\r\n {\r\n \"name\": \"CassandraConnectorAvgReplicationLatency\",\r\n \"displayName\": \"Cassandra Connector Average ReplicationLatency\",\r\n \"internalMetricName\": \"AverageReplicationLatencyInMilliseconds\",\r\n \"displayDescription\": \"Cassandra Connector Average ReplicationLatency\",\r\n \"unit\": \"MilliSeconds\",\r\n \"aggregationType\": \"Average\",\r\n \"lockAggregationType\": \"\",\r\n \"sourceMdmAccount\": \"CosmosDBCustomer\",\r\n \"sourceMdmNamespace\": \"AzureMonitor\",\r\n \"fillGapWithZero\": true,\r\n \"category\": \"Requests\",\r\n \"resourceIdDimensionNameOverride\": \"DatabaseAccount\",\r\n \"supportedAggregationTypes\": [\r\n \"Average\"\r\n ],\r\n \"supportedTimeGrainTypes\": [\r\n \"PT5M\"\r\n ],\r\n \"dimensions\": []\r\n },\r\n {\r\n \"name\": \"CassandraRequestCharges\",\r\n \"displayName\": \"Cassandra Request Charges\",\r\n \"internalMetricName\": \"CassandraRequestCharges\",\r\n \"displayDescription\": \"RUs consumed for Cassandra requests made\",\r\n \"unit\": \"Count\",\r\n \"aggregationType\": \"Total\",\r\n \"lockAggregationType\": \"Total\",\r\n \"sourceMdmAccount\": \"CosmosDBCustomer\",\r\n \"sourceMdmNamespace\": \"AzureMonitor\",\r\n \"fillGapWithZero\": true,\r\n \"category\": \"Requests\",\r\n \"resourceIdDimensionNameOverride\": \"GlobalDatabaseAccountName\",\r\n \"supportedAggregationTypes\": [\r\n \"Total\",\r\n \"Average\",\r\n \"Minimum\",\r\n \"Maximum\"\r\n ],\r\n \"supportedTimeGrainTypes\": [\r\n \"PT1M\"\r\n ],\r\n \"dimensions\": [\r\n {\r\n \"name\": \"APIType\",\r\n \"internalName\": \"APIType\",\r\n \"isHidden\": true,\r\n \"defaultDimensionValues\": [\r\n {\r\n \"value\": \"CassandraService\"\r\n }\r\n ]\r\n },\r\n {\r\n \"name\": \"DatabaseName\",\r\n \"internalName\": \"DatabaseName\"\r\n },\r\n {\r\n \"name\": \"CollectionName\",\r\n \"internalName\": \"CollectionName\"\r\n },\r\n {\r\n \"name\": \"Region\",\r\n \"internalName\": \"Region\"\r\n },\r\n {\r\n \"name\": \"OperationType\",\r\n \"internalName\": \"OperationType\"\r\n },\r\n {\r\n \"name\": \"ResourceType\",\r\n \"internalName\": \"ResourceType\"\r\n }\r\n ]\r\n },\r\n {\r\n \"name\": \"CassandraRequests\",\r\n \"displayName\": \"Cassandra Requests\",\r\n \"internalMetricName\": \"CassandraRequests\",\r\n \"displayDescription\": \"Number of Cassandra requests made\",\r\n \"unit\": \"Count\",\r\n \"aggregationType\": \"Count\",\r\n \"lockAggregationType\": \"\",\r\n \"sourceMdmAccount\": \"CosmosDBCustomer\",\r\n \"sourceMdmNamespace\": \"AzureMonitor\",\r\n \"fillGapWithZero\": true,\r\n \"category\": \"Requests\",\r\n \"resourceIdDimensionNameOverride\": \"GlobalDatabaseAccountName\",\r\n \"supportedAggregationTypes\": [\r\n \"Count\"\r\n ],\r\n \"supportedTimeGrainTypes\": [\r\n \"PT1M\"\r\n ],\r\n \"dimensions\": [\r\n {\r\n \"name\": \"APIType\",\r\n \"internalName\": \"APIType\",\r\n \"isHidden\": true,\r\n \"defaultDimensionValues\": [\r\n {\r\n \"value\": \"CassandraService\"\r\n }\r\n ]\r\n },\r\n {\r\n \"name\": \"DatabaseName\",\r\n \"internalName\": \"DatabaseName\"\r\n },\r\n {\r\n \"name\": \"CollectionName\",\r\n \"internalName\": \"CollectionName\"\r\n },\r\n {\r\n \"name\": \"Region\",\r\n \"internalName\": \"Region\"\r\n },\r\n {\r\n \"name\": \"OperationType\",\r\n \"internalName\": \"OperationType\"\r\n },\r\n {\r\n \"name\": \"ResourceType\",\r\n \"internalName\": \"ResourceType\"\r\n },\r\n {\r\n \"name\": \"ErrorCode\",\r\n \"internalName\": \"ErrorCode\"\r\n }\r\n ]\r\n },\r\n {\r\n \"name\": \"DeleteAccount\",\r\n \"displayName\": \"Account Deleted\",\r\n \"internalMetricName\": \"DeleteAccount\",\r\n \"displayDescription\": \"Account Deleted\",\r\n \"unit\": \"Count\",\r\n \"aggregationType\": \"Count\",\r\n \"lockAggregationType\": \"\",\r\n \"sourceMdmAccount\": \"CosmosDBCustomer\",\r\n \"sourceMdmNamespace\": \"AzureMonitor\",\r\n \"fillGapWithZero\": true,\r\n \"category\": \"Requests\",\r\n \"resourceIdDimensionNameOverride\": \"GlobalDatabaseAccountName\",\r\n \"supportedAggregationTypes\": [\r\n \"Count\"\r\n ],\r\n \"supportedTimeGrainTypes\": [\r\n \"PT5M\"\r\n ],\r\n \"dimensions\": []\r\n },\r\n {\r\n \"name\": \"GremlinDatabaseDelete\",\r\n \"displayName\": \"Gremlin Database Deleted\",\r\n \"internalMetricName\": \"ControlPlaneArmAPIRequest\",\r\n \"displayDescription\": \"Gremlin Database Deleted\",\r\n \"unit\": \"Count\",\r\n \"aggregationType\": \"Count\",\r\n \"lockAggregationType\": \"\",\r\n \"sourceMdmAccount\": \"CosmosDBCustomer\",\r\n \"sourceMdmNamespace\": \"AzureMonitor\",\r\n \"fillGapWithZero\": true,\r\n \"category\": \"Requests\",\r\n \"resourceIdDimensionNameOverride\": \"GlobalDatabaseAccountName\",\r\n \"supportedAggregationTypes\": [\r\n \"Count\"\r\n ],\r\n \"supportedTimeGrainTypes\": [\r\n \"PT5M\"\r\n ],\r\n \"dimensions\": [\r\n {\r\n \"name\": \"ResourceName\",\r\n \"internalName\": \"ResourceName\",\r\n \"displayName\": \"Database Name\"\r\n },\r\n {\r\n \"name\": \"ApiKind\",\r\n \"internalName\": \"ApiKind\",\r\n \"isHidden\": true,\r\n \"defaultDimensionValues\": [\r\n {\r\n \"value\": \"gremlin\"\r\n }\r\n ]\r\n },\r\n {\r\n \"name\": \"ApiKindResourceType\",\r\n \"internalName\": \"ApiKindResourceType\",\r\n \"isHidden\": true,\r\n \"defaultDimensionValues\": [\r\n {\r\n \"value\": \"databases\"\r\n },\r\n {\r\n \"value\": \"gremlindatabases\"\r\n }\r\n ]\r\n },\r\n {\r\n \"name\": \"OperationType\",\r\n \"internalName\": \"OperationType\",\r\n \"isHidden\": true,\r\n \"defaultDimensionValues\": [\r\n {\r\n \"value\": \"Delete\"\r\n }\r\n ]\r\n }\r\n ]\r\n },\r\n {\r\n \"name\": \"MongoDBDatabaseUpdate\",\r\n \"displayName\": \"Mongo Database Updated\",\r\n \"internalMetricName\": \"ControlPlaneArmAPIRequest\",\r\n \"displayDescription\": \"Mongo Database Updated\",\r\n \"unit\": \"Count\",\r\n \"aggregationType\": \"Count\",\r\n \"lockAggregationType\": \"\",\r\n \"sourceMdmAccount\": \"CosmosDBCustomer\",\r\n \"sourceMdmNamespace\": \"AzureMonitor\",\r\n \"fillGapWithZero\": true,\r\n \"category\": \"Requests\",\r\n \"resourceIdDimensionNameOverride\": \"GlobalDatabaseAccountName\",\r\n \"supportedAggregationTypes\": [\r\n \"Count\"\r\n ],\r\n \"supportedTimeGrainTypes\": [\r\n \"PT5M\"\r\n ],\r\n \"dimensions\": [\r\n {\r\n \"name\": \"ResourceName\",\r\n \"internalName\": \"ResourceName\",\r\n \"displayName\": \"Database Name\"\r\n },\r\n {\r\n \"name\": \"ApiKind\",\r\n \"internalName\": \"ApiKind\",\r\n \"isHidden\": true,\r\n \"defaultDimensionValues\": [\r\n {\r\n \"value\": \"mongodb\"\r\n }\r\n ]\r\n },\r\n {\r\n \"name\": \"ApiKindResourceType\",\r\n \"internalName\": \"ApiKindResourceType\",\r\n \"isHidden\": true,\r\n \"defaultDimensionValues\": [\r\n {\r\n \"value\": \"databases\"\r\n },\r\n {\r\n \"value\": \"mongodbdatabases\"\r\n }\r\n ]\r\n },\r\n {\r\n \"name\": \"IsThroughputRequest\",\r\n \"internalName\": \"IsThroughputRequest\",\r\n \"isHidden\": true,\r\n \"defaultDimensionValues\": [\r\n {\r\n \"value\": \"False\"\r\n }\r\n ]\r\n },\r\n {\r\n \"name\": \"OperationType\",\r\n \"internalName\": \"OperationType\",\r\n \"isHidden\": true,\r\n \"defaultDimensionValues\": [\r\n {\r\n \"value\": \"Upsert\"\r\n },\r\n {\r\n \"value\": \"Replace\"\r\n }\r\n ]\r\n }\r\n ]\r\n },\r\n {\r\n \"name\": \"MongoDatabaseDelete\",\r\n \"displayName\": \"Mongo Database Deleted\",\r\n \"internalMetricName\": \"ControlPlaneArmAPIRequest\",\r\n \"displayDescription\": \"Mongo Database Deleted\",\r\n \"unit\": \"Count\",\r\n \"aggregationType\": \"Count\",\r\n \"lockAggregationType\": \"\",\r\n \"sourceMdmAccount\": \"CosmosDBCustomer\",\r\n \"sourceMdmNamespace\": \"AzureMonitor\",\r\n \"fillGapWithZero\": true,\r\n \"category\": \"Requests\",\r\n \"resourceIdDimensionNameOverride\": \"GlobalDatabaseAccountName\",\r\n \"supportedAggregationTypes\": [\r\n \"Count\"\r\n ],\r\n \"supportedTimeGrainTypes\": [\r\n \"PT5M\"\r\n ],\r\n \"dimensions\": [\r\n {\r\n \"name\": \"ResourceName\",\r\n \"internalName\": \"ResourceName\",\r\n \"displayName\": \"Database Name\"\r\n },\r\n {\r\n \"name\": \"ApiKind\",\r\n \"internalName\": \"ApiKind\",\r\n \"isHidden\": true,\r\n \"defaultDimensionValues\": [\r\n {\r\n \"value\": \"mongodb\"\r\n }\r\n ]\r\n },\r\n {\r\n \"name\": \"ApiKindResourceType\",\r\n \"internalName\": \"ApiKindResourceType\",\r\n \"isHidden\": true,\r\n \"defaultDimensionValues\": [\r\n {\r\n \"value\": \"databases\"\r\n },\r\n {\r\n \"value\": \"mongodbdatabases\"\r\n }\r\n ]\r\n },\r\n {\r\n \"name\": \"OperationType\",\r\n \"internalName\": \"OperationType\",\r\n \"isHidden\": true,\r\n \"defaultDimensionValues\": [\r\n {\r\n \"value\": \"Delete\"\r\n }\r\n ]\r\n }\r\n ]\r\n },\r\n {\r\n \"name\": \"MongoDatabaseThroughputUpdate\",\r\n \"displayName\": \"Mongo Database Throughput Updated\",\r\n \"internalMetricName\": \"ControlPlaneArmAPIRequest\",\r\n \"displayDescription\": \"Mongo Database Throughput Updated\",\r\n \"unit\": \"Count\",\r\n \"aggregationType\": \"Count\",\r\n \"lockAggregationType\": \"\",\r\n \"sourceMdmAccount\": \"CosmosDBCustomer\",\r\n \"sourceMdmNamespace\": \"AzureMonitor\",\r\n \"fillGapWithZero\": true,\r\n \"category\": \"Requests\",\r\n \"resourceIdDimensionNameOverride\": \"GlobalDatabaseAccountName\",\r\n \"supportedAggregationTypes\": [\r\n \"Count\"\r\n ],\r\n \"supportedTimeGrainTypes\": [\r\n \"PT5M\"\r\n ],\r\n \"dimensions\": [\r\n {\r\n \"name\": \"ResourceName\",\r\n \"internalName\": \"ResourceName\",\r\n \"displayName\": \"Database Name\"\r\n },\r\n {\r\n \"name\": \"ApiKind\",\r\n \"internalName\": \"ApiKind\",\r\n \"isHidden\": true,\r\n \"defaultDimensionValues\": [\r\n {\r\n \"value\": \"mongodb\"\r\n }\r\n ]\r\n },\r\n {\r\n \"name\": \"ApiKindResourceType\",\r\n \"internalName\": \"ApiKindResourceType\",\r\n \"isHidden\": true,\r\n \"defaultDimensionValues\": [\r\n {\r\n \"value\": \"databases\"\r\n },\r\n {\r\n \"value\": \"mongodbdatabases\"\r\n }\r\n ]\r\n },\r\n {\r\n \"name\": \"IsThroughputRequest\",\r\n \"internalName\": \"IsThroughputRequest\",\r\n \"isHidden\": true,\r\n \"defaultDimensionValues\": [\r\n {\r\n \"value\": \"True\"\r\n }\r\n ]\r\n }\r\n ]\r\n },\r\n {\r\n \"name\": \"MongoRequests\",\r\n \"displayName\": \"Mongo Requests\",\r\n \"internalMetricName\": \"MongoRequests\",\r\n \"displayDescription\": \"Number of Mongo Requests Made\",\r\n \"unit\": \"Count\",\r\n \"aggregationType\": \"Count\",\r\n \"lockAggregationType\": \"\",\r\n \"sourceMdmAccount\": \"CosmosDBCustomer\",\r\n \"sourceMdmNamespace\": \"AzureMonitor\",\r\n \"fillGapWithZero\": true,\r\n \"category\": \"Requests\",\r\n \"resourceIdDimensionNameOverride\": \"GlobalDatabaseAccountName\",\r\n \"supportedAggregationTypes\": [\r\n \"Count\"\r\n ],\r\n \"dimensions\": [\r\n {\r\n \"name\": \"DatabaseName\",\r\n \"internalName\": \"DatabaseName\"\r\n },\r\n {\r\n \"name\": \"CollectionName\",\r\n \"internalName\": \"CollectionName\"\r\n },\r\n {\r\n \"name\": \"Region\",\r\n \"internalName\": \"Region\"\r\n },\r\n {\r\n \"name\": \"CommandName\",\r\n \"internalName\": \"CommandName\"\r\n },\r\n {\r\n \"name\": \"ErrorCode\",\r\n \"internalName\": \"ErrorCode\"\r\n },\r\n {\r\n \"name\": \"Status\",\r\n \"internalName\": \"Status\"\r\n }\r\n ]\r\n },\r\n {\r\n \"name\": \"MongoRequestsDelete\",\r\n \"displayName\": \"(deprecated) Mongo Delete Request Rate\",\r\n \"internalMetricName\": \"MongoRequests\",\r\n \"displayDescription\": \"Mongo Delete request per second\",\r\n \"unit\": \"CountPerSecond\",\r\n \"aggregationType\": \"Average\",\r\n \"lockAggregationType\": \"Average\",\r\n \"sourceMdmAccount\": \"CosmosDBCustomer\",\r\n \"sourceMdmNamespace\": \"AzureMonitor\",\r\n \"fillGapWithZero\": true,\r\n \"category\": \"Requests\",\r\n \"resourceIdDimensionNameOverride\": \"GlobalDatabaseAccountName\",\r\n \"supportedAggregationTypes\": [\r\n \"Average\"\r\n ],\r\n \"dimensions\": [\r\n {\r\n \"name\": \"DatabaseName\",\r\n \"internalName\": \"DatabaseName\"\r\n },\r\n {\r\n \"name\": \"CollectionName\",\r\n \"internalName\": \"CollectionName\"\r\n },\r\n {\r\n \"name\": \"Region\",\r\n \"internalName\": \"Region\"\r\n },\r\n {\r\n \"name\": \"CommandName\",\r\n \"internalName\": \"CommandName\",\r\n \"isHidden\": true,\r\n \"defaultDimensionValues\": [\r\n {\r\n \"value\": \"Delete\"\r\n },\r\n {\r\n \"value\": \"OP_DELETE\"\r\n }\r\n ]\r\n },\r\n {\r\n \"name\": \"ErrorCode\",\r\n \"internalName\": \"ErrorCode\"\r\n }\r\n ]\r\n },\r\n {\r\n \"name\": \"MongoRequestsInsert\",\r\n \"displayName\": \"(deprecated) Mongo Insert Request Rate\",\r\n \"internalMetricName\": \"MongoRequests\",\r\n \"displayDescription\": \"Mongo Insert count per second\",\r\n \"unit\": \"CountPerSecond\",\r\n \"aggregationType\": \"Average\",\r\n \"lockAggregationType\": \"Average\",\r\n \"sourceMdmAccount\": \"CosmosDBCustomer\",\r\n \"sourceMdmNamespace\": \"AzureMonitor\",\r\n \"fillGapWithZero\": true,\r\n \"category\": \"Requests\",\r\n \"resourceIdDimensionNameOverride\": \"GlobalDatabaseAccountName\",\r\n \"supportedAggregationTypes\": [\r\n \"Average\"\r\n ],\r\n \"dimensions\": [\r\n {\r\n \"name\": \"DatabaseName\",\r\n \"internalName\": \"DatabaseName\"\r\n },\r\n {\r\n \"name\": \"CollectionName\",\r\n \"internalName\": \"CollectionName\"\r\n },\r\n {\r\n \"name\": \"Region\",\r\n \"internalName\": \"Region\"\r\n },\r\n {\r\n \"name\": \"CommandName\",\r\n \"internalName\": \"CommandName\",\r\n \"isHidden\": true,\r\n \"defaultDimensionValues\": [\r\n {\r\n \"value\": \"insert\"\r\n },\r\n {\r\n \"value\": \"OP_INSERT\"\r\n }\r\n ]\r\n },\r\n {\r\n \"name\": \"ErrorCode\",\r\n \"internalName\": \"ErrorCode\"\r\n }\r\n ]\r\n },\r\n {\r\n \"name\": \"MongoRequestsQuery\",\r\n \"displayName\": \"(deprecated) Mongo Query Request Rate\",\r\n \"internalMetricName\": \"MongoRequests\",\r\n \"displayDescription\": \"Mongo Query request per second\",\r\n \"unit\": \"CountPerSecond\",\r\n \"aggregationType\": \"Average\",\r\n \"lockAggregationType\": \"Average\",\r\n \"sourceMdmAccount\": \"CosmosDBCustomer\",\r\n \"sourceMdmNamespace\": \"AzureMonitor\",\r\n \"fillGapWithZero\": true,\r\n \"category\": \"Requests\",\r\n \"resourceIdDimensionNameOverride\": \"GlobalDatabaseAccountName\",\r\n \"supportedAggregationTypes\": [\r\n \"Average\"\r\n ],\r\n \"dimensions\": [\r\n {\r\n \"name\": \"DatabaseName\",\r\n \"internalName\": \"DatabaseName\"\r\n },\r\n {\r\n \"name\": \"CollectionName\",\r\n \"internalName\": \"CollectionName\"\r\n },\r\n {\r\n \"name\": \"Region\",\r\n \"internalName\": \"Region\"\r\n },\r\n {\r\n \"name\": \"CommandName\",\r\n \"internalName\": \"CommandName\",\r\n \"isHidden\": true,\r\n \"defaultDimensionValues\": [\r\n {\r\n \"value\": \"find\"\r\n },\r\n {\r\n \"value\": \"OP_QUERY\"\r\n },\r\n {\r\n \"value\": \"getMore\"\r\n },\r\n {\r\n \"value\": \"OP_GET_MORE\"\r\n }\r\n ]\r\n },\r\n {\r\n \"name\": \"ErrorCode\",\r\n \"internalName\": \"ErrorCode\"\r\n }\r\n ]\r\n },\r\n {\r\n \"name\": \"MongoRequestsUpdate\",\r\n \"displayName\": \"(deprecated) Mongo Update Request Rate\",\r\n \"internalMetricName\": \"MongoRequests\",\r\n \"displayDescription\": \"Mongo Update request per second\",\r\n \"unit\": \"CountPerSecond\",\r\n \"aggregationType\": \"Average\",\r\n \"lockAggregationType\": \"Average\",\r\n \"sourceMdmAccount\": \"CosmosDBCustomer\",\r\n \"sourceMdmNamespace\": \"AzureMonitor\",\r\n \"fillGapWithZero\": true,\r\n \"category\": \"Requests\",\r\n \"resourceIdDimensionNameOverride\": \"GlobalDatabaseAccountName\",\r\n \"supportedAggregationTypes\": [\r\n \"Average\"\r\n ],\r\n \"dimensions\": [\r\n {\r\n \"name\": \"DatabaseName\",\r\n \"internalName\": \"DatabaseName\"\r\n },\r\n {\r\n \"name\": \"CollectionName\",\r\n \"internalName\": \"CollectionName\"\r\n },\r\n {\r\n \"name\": \"Region\",\r\n \"internalName\": \"Region\"\r\n },\r\n {\r\n \"name\": \"CommandName\",\r\n \"internalName\": \"CommandName\",\r\n \"isHidden\": true,\r\n \"defaultDimensionValues\": [\r\n {\r\n \"value\": \"OP_UPDATE\"\r\n },\r\n {\r\n \"value\": \"findandmodify\"\r\n }\r\n ]\r\n },\r\n {\r\n \"name\": \"ErrorCode\",\r\n \"internalName\": \"ErrorCode\"\r\n }\r\n ]\r\n },\r\n {\r\n \"name\": \"ServerSideLatency\",\r\n \"displayName\": \"Server Side Latency\",\r\n \"internalMetricName\": \"ServerSideLatency\",\r\n \"displayDescription\": \"Server Side Latency\",\r\n \"unit\": \"MilliSeconds\",\r\n \"aggregationType\": \"Average\",\r\n \"lockAggregationType\": \"Average\",\r\n \"sourceMdmAccount\": \"CosmosDBCustomer\",\r\n \"sourceMdmNamespace\": \"AzureMonitor\",\r\n \"fillGapWithZero\": false,\r\n \"category\": \"Requests\",\r\n \"resourceIdDimensionNameOverride\": \"GlobalDatabaseAccountName\",\r\n \"supportedAggregationTypes\": [\r\n \"Average\"\r\n ],\r\n \"supportedTimeGrainTypes\": [\r\n \"PT1M\"\r\n ],\r\n \"dimensions\": [\r\n {\r\n \"name\": \"DatabaseName\",\r\n \"internalName\": \"DatabaseName\"\r\n },\r\n {\r\n \"name\": \"CollectionName\",\r\n \"internalName\": \"CollectionName\"\r\n },\r\n {\r\n \"name\": \"Region\",\r\n \"internalName\": \"Region\"\r\n },\r\n {\r\n \"name\": \"ConnectionMode\",\r\n \"internalName\": \"ConnectionMode\"\r\n },\r\n {\r\n \"name\": \"OperationType\",\r\n \"internalName\": \"OperationType\"\r\n },\r\n {\r\n \"name\": \"PublicAPIType\",\r\n \"internalName\": \"PublicAPIType\"\r\n }\r\n ]\r\n },\r\n {\r\n \"name\": \"SqlContainerThroughputUpdate\",\r\n \"displayName\": \"Sql Container Throughput Updated\",\r\n \"internalMetricName\": \"ControlPlaneArmAPIRequest\",\r\n \"displayDescription\": \"Sql Container Throughput Updated\",\r\n \"unit\": \"Count\",\r\n \"aggregationType\": \"Count\",\r\n \"lockAggregationType\": \"\",\r\n \"sourceMdmAccount\": \"CosmosDBCustomer\",\r\n \"sourceMdmNamespace\": \"AzureMonitor\",\r\n \"fillGapWithZero\": true,\r\n \"category\": \"Requests\",\r\n \"resourceIdDimensionNameOverride\": \"GlobalDatabaseAccountName\",\r\n \"supportedAggregationTypes\": [\r\n \"Count\"\r\n ],\r\n \"supportedTimeGrainTypes\": [\r\n \"PT5M\"\r\n ],\r\n \"dimensions\": [\r\n {\r\n \"name\": \"ResourceName\",\r\n \"internalName\": \"ResourceName\",\r\n \"displayName\": \"Database Name\"\r\n },\r\n {\r\n \"name\": \"ChildResourceName\",\r\n \"internalName\": \"ChildResourceName\",\r\n \"displayName\": \"Container Name\"\r\n },\r\n {\r\n \"name\": \"ApiKind\",\r\n \"internalName\": \"ApiKind\",\r\n \"isHidden\": true,\r\n \"defaultDimensionValues\": [\r\n {\r\n \"value\": \"sql\"\r\n }\r\n ]\r\n },\r\n {\r\n \"name\": \"ApiKindResourceType\",\r\n \"internalName\": \"ApiKindResourceType\",\r\n \"isHidden\": true,\r\n \"defaultDimensionValues\": [\r\n {\r\n \"value\": \"containers\"\r\n }\r\n ]\r\n },\r\n {\r\n \"name\": \"IsThroughputRequest\",\r\n \"internalName\": \"IsThroughputRequest\",\r\n \"isHidden\": true,\r\n \"defaultDimensionValues\": [\r\n {\r\n \"value\": \"True\"\r\n }\r\n ]\r\n }\r\n ]\r\n },\r\n {\r\n \"name\": \"SqlDatabaseCreate\",\r\n \"displayName\": \"Sql Database Created\",\r\n \"internalMetricName\": \"ControlPlaneArmAPIRequest\",\r\n \"displayDescription\": \"Sql Database Created\",\r\n \"unit\": \"Count\",\r\n \"aggregationType\": \"Count\",\r\n \"lockAggregationType\": \"\",\r\n \"sourceMdmAccount\": \"CosmosDBCustomer\",\r\n \"sourceMdmNamespace\": \"AzureMonitor\",\r\n \"fillGapWithZero\": true,\r\n \"category\": \"Requests\",\r\n \"resourceIdDimensionNameOverride\": \"GlobalDatabaseAccountName\",\r\n \"supportedAggregationTypes\": [\r\n \"Count\"\r\n ],\r\n \"supportedTimeGrainTypes\": [\r\n \"PT5M\"\r\n ],\r\n \"dimensions\": [\r\n {\r\n \"name\": \"ResourceName\",\r\n \"displayName\": \"Database Name\",\r\n \"internalName\": \"ResourceName\"\r\n },\r\n {\r\n \"name\": \"ApiKind\",\r\n \"internalName\": \"ApiKind\",\r\n \"isHidden\": true,\r\n \"defaultDimensionValues\": [\r\n {\r\n \"value\": \"sql\"\r\n }\r\n ]\r\n },\r\n {\r\n \"name\": \"ApiKindResourceType\",\r\n \"internalName\": \"ApiKindResourceType\",\r\n \"isHidden\": true,\r\n \"defaultDimensionValues\": [\r\n {\r\n \"value\": \"sqldatabases\"\r\n },\r\n {\r\n \"value\": \"databases\"\r\n }\r\n ]\r\n },\r\n {\r\n \"name\": \"IsThroughputRequest\",\r\n \"internalName\": \"IsThroughputRequest\",\r\n \"isHidden\": true,\r\n \"defaultDimensionValues\": [\r\n {\r\n \"value\": \"False\"\r\n }\r\n ]\r\n },\r\n {\r\n \"name\": \"OperationType\",\r\n \"internalName\": \"OperationType\",\r\n \"isHidden\": true,\r\n \"defaultDimensionValues\": [\r\n {\r\n \"value\": \"Create\"\r\n }\r\n ]\r\n }\r\n ]\r\n },\r\n {\r\n \"name\": \"SqlDatabaseThroughputUpdate\",\r\n \"displayName\": \"Sql Database Throughput Updated\",\r\n \"internalMetricName\": \"ControlPlaneArmAPIRequest\",\r\n \"displayDescription\": \"Sql Database Throughput Updated\",\r\n \"unit\": \"Count\",\r\n \"aggregationType\": \"Count\",\r\n \"lockAggregationType\": \"\",\r\n \"sourceMdmAccount\": \"CosmosDBCustomer\",\r\n \"sourceMdmNamespace\": \"AzureMonitor\",\r\n \"fillGapWithZero\": true,\r\n \"category\": \"Requests\",\r\n \"resourceIdDimensionNameOverride\": \"GlobalDatabaseAccountName\",\r\n \"supportedAggregationTypes\": [\r\n \"Count\"\r\n ],\r\n \"supportedTimeGrainTypes\": [\r\n \"PT5M\"\r\n ],\r\n \"dimensions\": [\r\n {\r\n \"name\": \"ResourceName\",\r\n \"internalName\": \"ResourceName\",\r\n \"displayName\": \"Database Name\"\r\n },\r\n {\r\n \"name\": \"ApiKind\",\r\n \"internalName\": \"ApiKind\",\r\n \"isHidden\": true,\r\n \"defaultDimensionValues\": [\r\n {\r\n \"value\": \"sql\"\r\n }\r\n ]\r\n },\r\n {\r\n \"name\": \"ApiKindResourceType\",\r\n \"internalName\": \"ApiKindResourceType\",\r\n \"isHidden\": true,\r\n \"defaultDimensionValues\": [\r\n {\r\n \"value\": \"databases\"\r\n },\r\n {\r\n \"value\": \"sqldatabases\"\r\n }\r\n ]\r\n },\r\n {\r\n \"name\": \"IsThroughputRequest\",\r\n \"internalName\": \"IsThroughputRequest\",\r\n \"isHidden\": true,\r\n \"defaultDimensionValues\": [\r\n {\r\n \"value\": \"True\"\r\n }\r\n ]\r\n }\r\n ]\r\n },\r\n {\r\n \"name\": \"TableTableCreate\",\r\n \"displayName\": \"AzureTable Table Created\",\r\n \"internalMetricName\": \"ControlPlaneArmAPIRequest\",\r\n \"displayDescription\": \"AzureTable Table Created\",\r\n \"unit\": \"Count\",\r\n \"aggregationType\": \"Count\",\r\n \"lockAggregationType\": \"\",\r\n \"sourceMdmAccount\": \"CosmosDBCustomer\",\r\n \"sourceMdmNamespace\": \"AzureMonitor\",\r\n \"fillGapWithZero\": true,\r\n \"category\": \"Requests\",\r\n \"resourceIdDimensionNameOverride\": \"GlobalDatabaseAccountName\",\r\n \"supportedAggregationTypes\": [\r\n \"Count\"\r\n ],\r\n \"supportedTimeGrainTypes\": [\r\n \"PT5M\"\r\n ],\r\n \"dimensions\": [\r\n {\r\n \"name\": \"ResourceName\",\r\n \"displayName\": \"Table Name\",\r\n \"internalName\": \"ResourceName\"\r\n },\r\n {\r\n \"name\": \"ApiKind\",\r\n \"internalName\": \"ApiKind\",\r\n \"isHidden\": true,\r\n \"defaultDimensionValues\": [\r\n {\r\n \"value\": \"table\"\r\n }\r\n ]\r\n },\r\n {\r\n \"name\": \"ApiKindResourceType\",\r\n \"internalName\": \"ApiKindResourceType\",\r\n \"isHidden\": true,\r\n \"defaultDimensionValues\": [\r\n {\r\n \"value\": \"tables\"\r\n }\r\n ]\r\n },\r\n {\r\n \"name\": \"IsThroughputRequest\",\r\n \"internalName\": \"IsThroughputRequest\",\r\n \"isHidden\": true,\r\n \"defaultDimensionValues\": [\r\n {\r\n \"value\": \"False\"\r\n }\r\n ]\r\n },\r\n {\r\n \"name\": \"OperationType\",\r\n \"internalName\": \"OperationType\",\r\n \"isHidden\": true,\r\n \"defaultDimensionValues\": [\r\n {\r\n \"value\": \"Create\"\r\n }\r\n ]\r\n }\r\n ]\r\n },\r\n {\r\n \"name\": \"UpdateAccountKeys\",\r\n \"displayName\": \"Account Keys Updated\",\r\n \"internalMetricName\": \"UpdateAccountKeys\",\r\n \"displayDescription\": \"Account Keys Updated\",\r\n \"unit\": \"Count\",\r\n \"aggregationType\": \"Count\",\r\n \"lockAggregationType\": \"\",\r\n \"sourceMdmAccount\": \"CosmosDBCustomer\",\r\n \"sourceMdmNamespace\": \"AzureMonitor\",\r\n \"fillGapWithZero\": true,\r\n \"category\": \"Requests\",\r\n \"resourceIdDimensionNameOverride\": \"GlobalDatabaseAccountName\",\r\n \"supportedAggregationTypes\": [\r\n \"Count\"\r\n ],\r\n \"supportedTimeGrainTypes\": [\r\n \"PT5M\"\r\n ],\r\n \"dimensions\": [\r\n {\r\n \"name\": \"KeyType\",\r\n \"internalName\": \"KeyType\"\r\n }\r\n ]\r\n },\r\n {\r\n \"name\": \"TotalRequests\",\r\n \"displayName\": \"Total Requests\",\r\n \"internalMetricName\": \"TotalRequests\",\r\n \"displayDescription\": \"Number of requests made\",\r\n \"unit\": \"Count\",\r\n \"aggregationType\": \"Count\",\r\n \"lockAggregationType\": \"\",\r\n \"sourceMdmAccount\": \"CosmosDBCustomer\",\r\n \"sourceMdmNamespace\": \"AzureMonitor\",\r\n \"fillGapWithZero\": true,\r\n \"category\": \"Requests\",\r\n \"resourceIdDimensionNameOverride\": \"GlobalDatabaseAccountName\",\r\n \"supportedAggregationTypes\": [\r\n \"Count\"\r\n ],\r\n \"dimensions\": [\r\n {\r\n \"name\": \"DatabaseName\",\r\n \"internalName\": \"DatabaseName\"\r\n },\r\n {\r\n \"name\": \"CollectionName\",\r\n \"internalName\": \"CollectionName\"\r\n },\r\n {\r\n \"name\": \"Region\",\r\n \"internalName\": \"Region\"\r\n },\r\n {\r\n \"name\": \"StatusCode\",\r\n \"internalName\": \"StatusCode\"\r\n },\r\n {\r\n \"name\": \"OperationType\",\r\n \"internalName\": \"OperationType\"\r\n },\r\n {\r\n \"name\": \"Status\",\r\n \"internalName\": \"Status\"\r\n }\r\n ]\r\n },\r\n {\r\n \"name\": \"IntegratedCacheEvictedEntriesSize\",\r\n \"displayName\": \"IntegratedCacheEvictedEntriesSize\",\r\n \"internalMetricName\": \"IntegratedCacheEvictedEntriesSize\",\r\n \"displayDescription\": \"Size of the entries evicted from the integrated cache\",\r\n \"unit\": \"Bytes\",\r\n \"aggregationType\": \"Average\",\r\n \"lockAggregationType\": \"Average\",\r\n \"sourceMdmAccount\": \"CosmosDBCustomer\",\r\n \"sourceMdmNamespace\": \"AzureMonitor\",\r\n \"fillGapWithZero\": false,\r\n \"category\": \"Requests\",\r\n \"resourceIdDimensionNameOverride\": \"GlobalDatabaseAccountName\",\r\n \"supportedAggregationTypes\": [\r\n \"Average\"\r\n ],\r\n \"supportedTimeGrainTypes\": [\r\n \"PT5M\"\r\n ],\r\n \"dimensions\": [\r\n {\r\n \"name\": \"Region\",\r\n \"internalName\": \"Region\"\r\n }\r\n ]\r\n },\r\n {\r\n \"name\": \"DedicatedGatewayRequests\",\r\n \"displayName\": \"DedicatedGatewayRequests\",\r\n \"internalMetricName\": \"DedicatedGatewayRequests\",\r\n \"displayDescription\": \"Requests at the dedicated gateway\",\r\n \"unit\": \"Count\",\r\n \"aggregationType\": \"Count\",\r\n \"lockAggregationType\": \"\",\r\n \"sourceMdmAccount\": \"CosmosDBCustomer\",\r\n \"sourceMdmNamespace\": \"AzureMonitor\",\r\n \"fillGapWithZero\": true,\r\n \"category\": \"Requests\",\r\n \"resourceIdDimensionNameOverride\": \"GlobalDatabaseAccountName\",\r\n \"supportedAggregationTypes\": [\r\n \"Count\"\r\n ],\r\n \"supportedTimeGrainTypes\": [\r\n \"PT1M\"\r\n ],\r\n \"dimensions\": [\r\n {\r\n \"name\": \"DatabaseName\",\r\n \"internalName\": \"DatabaseName\"\r\n },\r\n {\r\n \"name\": \"CollectionName\",\r\n \"internalName\": \"CollectionName\"\r\n },\r\n {\r\n \"name\": \"CacheExercised\",\r\n \"internalName\": \"CacheExercised\"\r\n },\r\n {\r\n \"name\": \"OperationName\",\r\n \"internalName\": \"OperationName\"\r\n },\r\n {\r\n \"name\": \"Region\",\r\n \"internalName\": \"Region\"\r\n }\r\n ]\r\n },\r\n {\r\n \"name\": \"DedicatedGatewayAverageCPUUsage\",\r\n \"displayName\": \"DedicatedGatewayAverageCPUUsage\",\r\n \"internalMetricName\": \"DedicatedGatewayCpuUsage\",\r\n \"displayDescription\": \"Average CPU usage across dedicated gateway instances\",\r\n \"unit\": \"Percent\",\r\n \"aggregationType\": \"Average\",\r\n \"lockAggregationType\": \"\",\r\n \"sourceMdmAccount\": \"CosmosDBCustomer\",\r\n \"sourceMdmNamespace\": \"AzureMonitor\",\r\n \"fillGapWithZero\": false,\r\n \"category\": \"Requests\",\r\n \"resourceIdDimensionNameOverride\": \"GlobalDatabaseAccountName\",\r\n \"supportedAggregationTypes\": [\r\n \"Average\"\r\n ],\r\n \"supportedTimeGrainTypes\": [\r\n \"PT5M\"\r\n ],\r\n \"dimensions\": [\r\n {\r\n \"name\": \"Region\",\r\n \"internalName\": \"Region\"\r\n },\r\n {\r\n \"name\": \"MetricType\",\r\n \"internalName\": \"MetricType\",\r\n \"isHidden\": true,\r\n \"defaultDimensionValues\": [\r\n {\r\n \"value\": \"Average\"\r\n },\r\n {\r\n \"value\": \"average\"\r\n }\r\n ]\r\n }\r\n ]\r\n },\r\n {\r\n \"name\": \"IntegratedCacheQueryExpirationCount\",\r\n \"displayName\": \"IntegratedCacheQueryExpirationCount\",\r\n \"internalMetricName\": \"IntegratedCacheTTLExpirationCount\",\r\n \"displayDescription\": \"Number of queries evicted from the integrated cache due to TTL expiration\",\r\n \"unit\": \"Count\",\r\n \"aggregationType\": \"Average\",\r\n \"lockAggregationType\": \"\",\r\n \"sourceMdmAccount\": \"CosmosDBCustomer\",\r\n \"sourceMdmNamespace\": \"AzureMonitor\",\r\n \"fillGapWithZero\": false,\r\n \"category\": \"Requests\",\r\n \"resourceIdDimensionNameOverride\": \"GlobalDatabaseAccountName\",\r\n \"supportedAggregationTypes\": [\r\n \"Average\"\r\n ],\r\n \"supportedTimeGrainTypes\": [\r\n \"PT5M\"\r\n ],\r\n \"dimensions\": [\r\n {\r\n \"name\": \"Region\",\r\n \"internalName\": \"Region\"\r\n },\r\n {\r\n \"name\": \"CacheEntryType\",\r\n \"internalName\": \"CacheEntryType\",\r\n \"isHidden\": true,\r\n \"defaultDimensionValues\": [\r\n {\r\n \"value\": \"SqlQuery\"\r\n }\r\n ]\r\n }\r\n ]\r\n },\r\n {\r\n \"name\": \"IntegratedCacheItemHitRate\",\r\n \"displayName\": \"IntegratedCacheItemHitRate\",\r\n \"internalMetricName\": \"IntegratedCacheHitRate\",\r\n \"displayDescription\": \"Number of point reads that used the integrated cache divided by number of point reads routed through the dedicated gateway with eventual consistency\",\r\n \"unit\": \"Percent\",\r\n \"aggregationType\": \"Average\",\r\n \"lockAggregationType\": \"\",\r\n \"sourceMdmAccount\": \"CosmosDBCustomer\",\r\n \"sourceMdmNamespace\": \"AzureMonitor\",\r\n \"fillGapWithZero\": false,\r\n \"category\": \"Requests\",\r\n \"resourceIdDimensionNameOverride\": \"GlobalDatabaseAccountName\",\r\n \"supportedAggregationTypes\": [\r\n \"Average\"\r\n ],\r\n \"supportedTimeGrainTypes\": [\r\n \"PT5M\"\r\n ],\r\n \"dimensions\": [\r\n {\r\n \"name\": \"Region\",\r\n \"internalName\": \"Region\"\r\n },\r\n {\r\n \"name\": \"CacheEntryType\",\r\n \"internalName\": \"CacheEntryType\",\r\n \"isHidden\": true,\r\n \"defaultDimensionValues\": [\r\n {\r\n \"value\": \"SqlItem\"\r\n }\r\n ]\r\n }\r\n ]\r\n },\r\n {\r\n \"name\": \"IntegratedCacheQueryHitRate\",\r\n \"displayName\": \"IntegratedCacheQueryHitRate\",\r\n \"internalMetricName\": \"IntegratedCacheHitRate\",\r\n \"displayDescription\": \"Number of queries that used the integrated cache divided by number of queries routed through the dedicated gateway with eventual consistency\",\r\n \"unit\": \"Percent\",\r\n \"aggregationType\": \"Average\",\r\n \"lockAggregationType\": \"\",\r\n \"sourceMdmAccount\": \"CosmosDBCustomer\",\r\n \"sourceMdmNamespace\": \"AzureMonitor\",\r\n \"fillGapWithZero\": false,\r\n \"category\": \"Requests\",\r\n \"resourceIdDimensionNameOverride\": \"GlobalDatabaseAccountName\",\r\n \"supportedAggregationTypes\": [\r\n \"Average\"\r\n ],\r\n \"supportedTimeGrainTypes\": [\r\n \"PT5M\"\r\n ],\r\n \"dimensions\": [\r\n {\r\n \"name\": \"Region\",\r\n \"internalName\": \"Region\"\r\n },\r\n {\r\n \"name\": \"CacheEntryType\",\r\n \"internalName\": \"CacheEntryType\",\r\n \"isHidden\": true,\r\n \"defaultDimensionValues\": [\r\n {\r\n \"value\": \"SqlQuery\"\r\n }\r\n ]\r\n }\r\n ]\r\n },\r\n {\r\n \"name\": \"CassandraConnectionClosures\",\r\n \"displayName\": \"Cassandra Connection Closures\",\r\n \"internalMetricName\": \"CassandraConnectionClosures\",\r\n \"displayDescription\": \"Number of Cassandra connections that were closed, reported at a 1 minute granularity\",\r\n \"unit\": \"Count\",\r\n \"aggregationType\": \"Total\",\r\n \"lockAggregationType\": \"Count\",\r\n \"sourceMdmAccount\": \"CosmosDBCustomer\",\r\n \"sourceMdmNamespace\": \"AzureMonitor\",\r\n \"fillGapWithZero\": true,\r\n \"category\": \"Requests\",\r\n \"resourceIdDimensionNameOverride\": \"GlobalDatabaseAccountName\",\r\n \"supportedAggregationTypes\": [\r\n \"Average\",\r\n \" Minimum\",\r\n \" Maximum\",\r\n \" Total\"\r\n ],\r\n \"supportedTimeGrainTypes\": [\r\n \"PT1M\"\r\n ],\r\n \"dimensions\": [\r\n {\r\n \"name\": \"APIType\",\r\n \"internalName\": \"APIType\",\r\n \"isHidden\": true,\r\n \"defaultDimensionValues\": [\r\n {\r\n \"value\": \"CassandraService\"\r\n }\r\n ]\r\n },\r\n {\r\n \"name\": \"Region\",\r\n \"internalName\": \"Region\"\r\n },\r\n {\r\n \"name\": \"ClosureReason\",\r\n \"internalName\": \"ClosureReason\"\r\n }\r\n ]\r\n },\r\n {\r\n \"name\": \"DocumentQuota\",\r\n \"displayName\": \"Document Quota\",\r\n \"internalMetricName\": \"DocumentQuota\",\r\n \"displayDescription\": \"Total storage quota reported at 5 minutes granularity\",\r\n \"unit\": \"Bytes\",\r\n \"aggregationType\": \"Total\",\r\n \"lockAggregationType\": \"Total\",\r\n \"sourceMdmAccount\": \"CosmosDBCustomer\",\r\n \"sourceMdmNamespace\": \"AzureMonitor\",\r\n \"fillGapWithZero\": true,\r\n \"category\": \"Requests\",\r\n \"resourceIdDimensionNameOverride\": \"GlobalDatabaseAccountName\",\r\n \"supportedAggregationTypes\": [\r\n \"Total\",\r\n \" Average\"\r\n ],\r\n \"supportedTimeGrainTypes\": [\r\n \"PT5M\"\r\n ],\r\n \"dimensions\": [\r\n {\r\n \"name\": \"CollectionName\",\r\n \"internalName\": \"CollectionName\"\r\n },\r\n {\r\n \"name\": \"DatabaseName\",\r\n \"internalName\": \"DatabaseName\"\r\n },\r\n {\r\n \"name\": \"Region\",\r\n \"internalName\": \"Region\"\r\n }\r\n ]\r\n },\r\n {\r\n \"name\": \"AvailableStorage\",\r\n \"displayName\": \"(deprecated) Available Storage\",\r\n \"internalMetricName\": \"AvailableStorage\",\r\n \"displayDescription\": \"\\\"Available Storage\\\" will be removed from Azure Monitor at the end of September 2023. Cosmos DB collection storage size is now unlimited. The only restriction is that the storage size for each logical partition key is 20GB. You can enable PartitionKeyStatistics in Diagnostic Log to know the storage consumption for top partition keys. For more info about Cosmos DB storage quota, please check this doc https://docs.microsoft.com/en-us/azure/cosmos-db/concepts-limits. After deprecation, the remaining alert rules still defined on the deprecated metric will be automatically disabled post the deprecation date.\",\r\n \"unit\": \"Bytes\",\r\n \"aggregationType\": \"Total\",\r\n \"lockAggregationType\": \"Total\",\r\n \"sourceMdmAccount\": \"CosmosDBCustomer\",\r\n \"sourceMdmNamespace\": \"AzureMonitor\",\r\n \"fillGapWithZero\": true,\r\n \"category\": \"Requests\",\r\n \"resourceIdDimensionNameOverride\": \"GlobalDatabaseAccountName\",\r\n \"supportedAggregationTypes\": [\r\n \"Total\",\r\n \" Average\"\r\n ],\r\n \"supportedTimeGrainTypes\": [\r\n \"PT5M\"\r\n ],\r\n \"dimensions\": [\r\n {\r\n \"name\": \"CollectionName\",\r\n \"internalName\": \"CollectionName\"\r\n },\r\n {\r\n \"name\": \"DatabaseName\",\r\n \"internalName\": \"DatabaseName\"\r\n },\r\n {\r\n \"name\": \"Region\",\r\n \"internalName\": \"Region\"\r\n }\r\n ]\r\n },\r\n {\r\n \"name\": \"DocumentCount\",\r\n \"displayName\": \"Document Count\",\r\n \"internalMetricName\": \"DocumentCount\",\r\n \"displayDescription\": \"Total document count reported at 5 minutes granularity\",\r\n \"unit\": \"Count\",\r\n \"aggregationType\": \"Total\",\r\n \"lockAggregationType\": \"Total\",\r\n \"sourceMdmAccount\": \"CosmosDBCustomer\",\r\n \"sourceMdmNamespace\": \"AzureMonitor\",\r\n \"fillGapWithZero\": true,\r\n \"category\": \"Requests\",\r\n \"resourceIdDimensionNameOverride\": \"GlobalDatabaseAccountName\",\r\n \"supportedAggregationTypes\": [\r\n \"Total\",\r\n \" Average\"\r\n ],\r\n \"supportedTimeGrainTypes\": [\r\n \"PT5M\"\r\n ],\r\n \"dimensions\": [\r\n {\r\n \"name\": \"CollectionName\",\r\n \"internalName\": \"CollectionName\"\r\n },\r\n {\r\n \"name\": \"DatabaseName\",\r\n \"internalName\": \"DatabaseName\"\r\n },\r\n {\r\n \"name\": \"Region\",\r\n \"internalName\": \"Region\"\r\n }\r\n ]\r\n },\r\n {\r\n \"name\": \"CassandraKeyspaceDelete\",\r\n \"displayName\": \"Cassandra Keyspace Deleted\",\r\n \"internalMetricName\": \"ControlPlaneArmAPIRequest\",\r\n \"displayDescription\": \"Cassandra Keyspace Deleted\",\r\n \"unit\": \"Count\",\r\n \"aggregationType\": \"Count\",\r\n \"lockAggregationType\": \"\",\r\n \"sourceMdmAccount\": \"CosmosDBCustomer\",\r\n \"sourceMdmNamespace\": \"AzureMonitor\",\r\n \"fillGapWithZero\": true,\r\n \"category\": \"Requests\",\r\n \"resourceIdDimensionNameOverride\": \"GlobalDatabaseAccountName\",\r\n \"supportedAggregationTypes\": [\r\n \"Count\"\r\n ],\r\n \"supportedTimeGrainTypes\": [\r\n \"PT5M\"\r\n ],\r\n \"dimensions\": [\r\n {\r\n \"name\": \"ResourceName\",\r\n \"internalName\": \"ResourceName\",\r\n \"displayName\": \"Keyspace Name\"\r\n },\r\n {\r\n \"name\": \"ApiKind\",\r\n \"internalName\": \"ApiKind\",\r\n \"isHidden\": true,\r\n \"defaultDimensionValues\": [\r\n {\r\n \"value\": \"cassandra\"\r\n }\r\n ]\r\n },\r\n {\r\n \"name\": \"ApiKindResourceType\",\r\n \"internalName\": \"ApiKindResourceType\",\r\n \"isHidden\": true,\r\n \"defaultDimensionValues\": [\r\n {\r\n \"value\": \"keyspaces\"\r\n },\r\n {\r\n \"value\": \"cassandrakeyspaces\"\r\n }\r\n ]\r\n },\r\n {\r\n \"name\": \"OperationType\",\r\n \"internalName\": \"OperationType\",\r\n \"isHidden\": true,\r\n \"defaultDimensionValues\": [\r\n {\r\n \"value\": \"Delete\"\r\n }\r\n ]\r\n }\r\n ]\r\n },\r\n {\r\n \"name\": \"GremlinGraphCreate\",\r\n \"displayName\": \"Gremlin Graph Created\",\r\n \"internalMetricName\": \"ControlPlaneArmAPIRequest\",\r\n \"displayDescription\": \"Gremlin Graph Created\",\r\n \"unit\": \"Count\",\r\n \"aggregationType\": \"Count\",\r\n \"lockAggregationType\": \"\",\r\n \"sourceMdmAccount\": \"CosmosDBCustomer\",\r\n \"sourceMdmNamespace\": \"AzureMonitor\",\r\n \"fillGapWithZero\": true,\r\n \"category\": \"Requests\",\r\n \"resourceIdDimensionNameOverride\": \"GlobalDatabaseAccountName\",\r\n \"supportedAggregationTypes\": [\r\n \"Count\"\r\n ],\r\n \"supportedTimeGrainTypes\": [\r\n \"PT5M\"\r\n ],\r\n \"dimensions\": [\r\n {\r\n \"name\": \"ResourceName\",\r\n \"displayName\": \"Database Name\",\r\n \"internalName\": \"ResourceName\"\r\n },\r\n {\r\n \"name\": \"ChildResourceName\",\r\n \"displayName\": \"Graph Name\",\r\n \"internalName\": \"ChildResourceName\"\r\n },\r\n {\r\n \"name\": \"ApiKind\",\r\n \"internalName\": \"ApiKind\",\r\n \"isHidden\": true,\r\n \"defaultDimensionValues\": [\r\n {\r\n \"value\": \"gremlin\"\r\n }\r\n ]\r\n },\r\n {\r\n \"name\": \"ApiKindResourceType\",\r\n \"internalName\": \"ApiKindResourceType\",\r\n \"isHidden\": true,\r\n \"defaultDimensionValues\": [\r\n {\r\n \"value\": \"graphs\"\r\n }\r\n ]\r\n },\r\n {\r\n \"name\": \"IsThroughputRequest\",\r\n \"internalName\": \"IsThroughputRequest\",\r\n \"isHidden\": true,\r\n \"defaultDimensionValues\": [\r\n {\r\n \"value\": \"False\"\r\n }\r\n ]\r\n },\r\n {\r\n \"name\": \"OperationType\",\r\n \"internalName\": \"OperationType\",\r\n \"isHidden\": true,\r\n \"defaultDimensionValues\": [\r\n {\r\n \"value\": \"Create\"\r\n }\r\n ]\r\n }\r\n ]\r\n },\r\n {\r\n \"name\": \"MongoCollectionDelete\",\r\n \"displayName\": \"Mongo Collection Deleted\",\r\n \"internalMetricName\": \"ControlPlaneArmAPIRequest\",\r\n \"displayDescription\": \"Mongo Collection Deleted\",\r\n \"unit\": \"Count\",\r\n \"aggregationType\": \"Count\",\r\n \"lockAggregationType\": \"\",\r\n \"sourceMdmAccount\": \"CosmosDBCustomer\",\r\n \"sourceMdmNamespace\": \"AzureMonitor\",\r\n \"fillGapWithZero\": true,\r\n \"category\": \"Requests\",\r\n \"resourceIdDimensionNameOverride\": \"GlobalDatabaseAccountName\",\r\n \"supportedAggregationTypes\": [\r\n \"Count\"\r\n ],\r\n \"supportedTimeGrainTypes\": [\r\n \"PT5M\"\r\n ],\r\n \"dimensions\": [\r\n {\r\n \"name\": \"ResourceName\",\r\n \"internalName\": \"ResourceName\",\r\n \"displayName\": \"Database Name\"\r\n },\r\n {\r\n \"name\": \"ChildResourceName\",\r\n \"internalName\": \"ChildResourceName\",\r\n \"displayName\": \"Collection Name\"\r\n },\r\n {\r\n \"name\": \"ApiKind\",\r\n \"internalName\": \"ApiKind\",\r\n \"isHidden\": true,\r\n \"defaultDimensionValues\": [\r\n {\r\n \"value\": \"mongodb\"\r\n }\r\n ]\r\n },\r\n {\r\n \"name\": \"ApiKindResourceType\",\r\n \"internalName\": \"ApiKindResourceType\",\r\n \"isHidden\": true,\r\n \"defaultDimensionValues\": [\r\n {\r\n \"value\": \"collections\"\r\n }\r\n ]\r\n },\r\n {\r\n \"name\": \"OperationType\",\r\n \"internalName\": \"OperationType\",\r\n \"isHidden\": true,\r\n \"defaultDimensionValues\": [\r\n {\r\n \"value\": \"Delete\"\r\n }\r\n ]\r\n }\r\n ]\r\n },\r\n {\r\n \"name\": \"MongoCollectionUpdate\",\r\n \"displayName\": \"Mongo Collection Updated\",\r\n \"internalMetricName\": \"ControlPlaneArmAPIRequest\",\r\n \"displayDescription\": \"Mongo Collection Updated\",\r\n \"unit\": \"Count\",\r\n \"aggregationType\": \"Count\",\r\n \"lockAggregationType\": \"\",\r\n \"sourceMdmAccount\": \"CosmosDBCustomer\",\r\n \"sourceMdmNamespace\": \"AzureMonitor\",\r\n \"fillGapWithZero\": true,\r\n \"category\": \"Requests\",\r\n \"resourceIdDimensionNameOverride\": \"GlobalDatabaseAccountName\",\r\n \"supportedAggregationTypes\": [\r\n \"Count\"\r\n ],\r\n \"supportedTimeGrainTypes\": [\r\n \"PT5M\"\r\n ],\r\n \"dimensions\": [\r\n {\r\n \"name\": \"ResourceName\",\r\n \"internalName\": \"ResourceName\",\r\n \"displayName\": \"Database Name\"\r\n },\r\n {\r\n \"name\": \"ChildResourceName\",\r\n \"internalName\": \"ChildResourceName\",\r\n \"displayName\": \"Collection Name\"\r\n },\r\n {\r\n \"name\": \"ApiKind\",\r\n \"internalName\": \"ApiKind\",\r\n \"isHidden\": true,\r\n \"defaultDimensionValues\": [\r\n {\r\n \"value\": \"mongodb\"\r\n }\r\n ]\r\n },\r\n {\r\n \"name\": \"ApiKindResourceType\",\r\n \"internalName\": \"ApiKindResourceType\",\r\n \"isHidden\": true,\r\n \"defaultDimensionValues\": [\r\n {\r\n \"value\": \"collections\"\r\n }\r\n ]\r\n },\r\n {\r\n \"name\": \"IsThroughputRequest\",\r\n \"internalName\": \"IsThroughputRequest\",\r\n \"isHidden\": true,\r\n \"defaultDimensionValues\": [\r\n {\r\n \"value\": \"False\"\r\n }\r\n ]\r\n },\r\n {\r\n \"name\": \"OperationType\",\r\n \"internalName\": \"OperationType\",\r\n \"isHidden\": true,\r\n \"defaultDimensionValues\": [\r\n {\r\n \"value\": \"Upsert\"\r\n },\r\n {\r\n \"value\": \"Replace\"\r\n }\r\n ]\r\n }\r\n ]\r\n },\r\n {\r\n \"name\": \"MongoDBDatabaseCreate\",\r\n \"displayName\": \"Mongo Database Created\",\r\n \"internalMetricName\": \"ControlPlaneArmAPIRequest\",\r\n \"displayDescription\": \"Mongo Database Created\",\r\n \"unit\": \"Count\",\r\n \"aggregationType\": \"Count\",\r\n \"lockAggregationType\": \"\",\r\n \"sourceMdmAccount\": \"CosmosDBCustomer\",\r\n \"sourceMdmNamespace\": \"AzureMonitor\",\r\n \"fillGapWithZero\": true,\r\n \"category\": \"Requests\",\r\n \"resourceIdDimensionNameOverride\": \"GlobalDatabaseAccountName\",\r\n \"supportedAggregationTypes\": [\r\n \"Count\"\r\n ],\r\n \"supportedTimeGrainTypes\": [\r\n \"PT5M\"\r\n ],\r\n \"dimensions\": [\r\n {\r\n \"name\": \"ResourceName\",\r\n \"displayName\": \"Database Name\",\r\n \"internalName\": \"ResourceName\"\r\n },\r\n {\r\n \"name\": \"ApiKind\",\r\n \"internalName\": \"ApiKind\",\r\n \"isHidden\": true,\r\n \"defaultDimensionValues\": [\r\n {\r\n \"value\": \"mongodb\"\r\n }\r\n ]\r\n },\r\n {\r\n \"name\": \"ApiKindResourceType\",\r\n \"internalName\": \"ApiKindResourceType\",\r\n \"isHidden\": true,\r\n \"defaultDimensionValues\": [\r\n {\r\n \"value\": \"databases\"\r\n },\r\n {\r\n \"value\": \"mongodbdatabases\"\r\n }\r\n ]\r\n },\r\n {\r\n \"name\": \"IsThroughputRequest\",\r\n \"internalName\": \"IsThroughputRequest\",\r\n \"isHidden\": true,\r\n \"defaultDimensionValues\": [\r\n {\r\n \"value\": \"False\"\r\n }\r\n ]\r\n },\r\n {\r\n \"name\": \"OperationType\",\r\n \"internalName\": \"OperationType\",\r\n \"isHidden\": true,\r\n \"defaultDimensionValues\": [\r\n {\r\n \"value\": \"Create\"\r\n }\r\n ]\r\n }\r\n ]\r\n },\r\n {\r\n \"name\": \"MongoRequestsCount\",\r\n \"displayName\": \"(deprecated) Mongo Request Rate\",\r\n \"internalMetricName\": \"MongoRequests\",\r\n \"displayDescription\": \"Mongo request Count per second\",\r\n \"unit\": \"CountPerSecond\",\r\n \"aggregationType\": \"Average\",\r\n \"lockAggregationType\": \"Average\",\r\n \"sourceMdmAccount\": \"CosmosDBCustomer\",\r\n \"sourceMdmNamespace\": \"AzureMonitor\",\r\n \"fillGapWithZero\": true,\r\n \"category\": \"Requests\",\r\n \"resourceIdDimensionNameOverride\": \"GlobalDatabaseAccountName\",\r\n \"supportedAggregationTypes\": [\r\n \"Average\"\r\n ],\r\n \"dimensions\": [\r\n {\r\n \"name\": \"DatabaseName\",\r\n \"internalName\": \"DatabaseName\"\r\n },\r\n {\r\n \"name\": \"CollectionName\",\r\n \"internalName\": \"CollectionName\"\r\n },\r\n {\r\n \"name\": \"Region\",\r\n \"internalName\": \"Region\"\r\n },\r\n {\r\n \"name\": \"CommandName\",\r\n \"internalName\": \"CommandName\",\r\n \"isHidden\": true,\r\n \"defaultDimensionValues\": [\r\n {\r\n \"value\": \"count\"\r\n }\r\n ]\r\n },\r\n {\r\n \"name\": \"ErrorCode\",\r\n \"internalName\": \"ErrorCode\"\r\n }\r\n ]\r\n },\r\n {\r\n \"name\": \"NormalizedRUConsumption\",\r\n \"displayName\": \"Normalized RU Consumption\",\r\n \"internalMetricName\": \"NormalizedRUConsumption\",\r\n \"displayDescription\": \"Max RU consumption percentage per minute\",\r\n \"unit\": \"Percent\",\r\n \"aggregationType\": \"Maximum\",\r\n \"lockAggregationType\": \"Maximum\",\r\n \"sourceMdmAccount\": \"CosmosDBCustomer\",\r\n \"sourceMdmNamespace\": \"AzureMonitor\",\r\n \"fillGapWithZero\": true,\r\n \"category\": \"Requests\",\r\n \"resourceIdDimensionNameOverride\": \"GlobalDatabaseAccountName\",\r\n \"supportedAggregationTypes\": [\r\n \"Maximum\",\r\n \" Average\"\r\n ],\r\n \"supportedTimeGrainTypes\": [\r\n \"PT1M\",\r\n \"PT5M\",\r\n \"PT1H\",\r\n \"P1D\"\r\n ],\r\n \"dimensions\": [\r\n {\r\n \"name\": \"CollectionName\",\r\n \"internalName\": \"CollectionName\"\r\n },\r\n {\r\n \"name\": \"DatabaseName\",\r\n \"internalName\": \"DatabaseName\"\r\n },\r\n {\r\n \"name\": \"Region\",\r\n \"internalName\": \"Region\"\r\n },\r\n {\r\n \"name\": \"PartitionKeyRangeId\",\r\n \"internalName\": \"PartitionKeyRangeId\"\r\n }\r\n ]\r\n },\r\n {\r\n \"name\": \"RemoveRegion\",\r\n \"displayName\": \"Region Removed\",\r\n \"internalMetricName\": \"RemoveRegion\",\r\n \"displayDescription\": \"Region Removed\",\r\n \"unit\": \"Count\",\r\n \"aggregationType\": \"Count\",\r\n \"lockAggregationType\": \"\",\r\n \"sourceMdmAccount\": \"CosmosDBCustomer\",\r\n \"sourceMdmNamespace\": \"AzureMonitor\",\r\n \"fillGapWithZero\": true,\r\n \"category\": \"Requests\",\r\n \"resourceIdDimensionNameOverride\": \"GlobalDatabaseAccountName\",\r\n \"supportedAggregationTypes\": [\r\n \"Count\"\r\n ],\r\n \"supportedTimeGrainTypes\": [\r\n \"PT5M\"\r\n ],\r\n \"dimensions\": [\r\n {\r\n \"name\": \"Region\",\r\n \"internalName\": \"Region\"\r\n }\r\n ]\r\n },\r\n {\r\n \"name\": \"ServiceAvailability\",\r\n \"displayName\": \"Service Availability\",\r\n \"internalMetricName\": \"ServiceAvailability\",\r\n \"displayDescription\": \"Account requests availability at one hour, day or month granularity\",\r\n \"unit\": \"Percent\",\r\n \"aggregationType\": \"Average\",\r\n \"lockAggregationType\": \"Average\",\r\n \"sourceMdmAccount\": \"CosmosDBCustomer\",\r\n \"sourceMdmNamespace\": \"AzureMonitor\",\r\n \"fillGapWithZero\": false,\r\n \"category\": \"Requests\",\r\n \"resourceIdDimensionNameOverride\": \"GlobalDatabaseAccountName\",\r\n \"supportedAggregationTypes\": [\r\n \"Minimum\",\r\n \"Average\",\r\n \"Maximum\"\r\n ],\r\n \"supportedTimeGrainTypes\": [\r\n \"PT1H\"\r\n ],\r\n \"dimensions\": []\r\n },\r\n {\r\n \"name\": \"SqlContainerCreate\",\r\n \"displayName\": \"Sql Container Created\",\r\n \"internalMetricName\": \"ControlPlaneArmAPIRequest\",\r\n \"displayDescription\": \"Sql Container Created\",\r\n \"unit\": \"Count\",\r\n \"aggregationType\": \"Count\",\r\n \"lockAggregationType\": \"\",\r\n \"sourceMdmAccount\": \"CosmosDBCustomer\",\r\n \"sourceMdmNamespace\": \"AzureMonitor\",\r\n \"fillGapWithZero\": true,\r\n \"category\": \"Requests\",\r\n \"resourceIdDimensionNameOverride\": \"GlobalDatabaseAccountName\",\r\n \"supportedAggregationTypes\": [\r\n \"Count\"\r\n ],\r\n \"supportedTimeGrainTypes\": [\r\n \"PT5M\"\r\n ],\r\n \"dimensions\": [\r\n {\r\n \"name\": \"ResourceName\",\r\n \"displayName\": \"Database Name\",\r\n \"internalName\": \"ResourceName\"\r\n },\r\n {\r\n \"name\": \"ChildResourceName\",\r\n \"displayName\": \"Container Name\",\r\n \"internalName\": \"ChildResourceName\"\r\n },\r\n {\r\n \"name\": \"ApiKind\",\r\n \"internalName\": \"ApiKind\",\r\n \"isHidden\": true,\r\n \"defaultDimensionValues\": [\r\n {\r\n \"value\": \"sql\"\r\n }\r\n ]\r\n },\r\n {\r\n \"name\": \"ApiKindResourceType\",\r\n \"internalName\": \"ApiKindResourceType\",\r\n \"isHidden\": true,\r\n \"defaultDimensionValues\": [\r\n {\r\n \"value\": \"containers\"\r\n }\r\n ]\r\n },\r\n {\r\n \"name\": \"IsThroughputRequest\",\r\n \"internalName\": \"IsThroughputRequest\",\r\n \"isHidden\": true,\r\n \"defaultDimensionValues\": [\r\n {\r\n \"value\": \"False\"\r\n }\r\n ]\r\n },\r\n {\r\n \"name\": \"OperationType\",\r\n \"internalName\": \"OperationType\",\r\n \"isHidden\": true,\r\n \"defaultDimensionValues\": [\r\n {\r\n \"value\": \"Create\"\r\n }\r\n ]\r\n }\r\n ]\r\n },\r\n {\r\n \"name\": \"SqlContainerDelete\",\r\n \"displayName\": \"Sql Container Deleted\",\r\n \"internalMetricName\": \"ControlPlaneArmAPIRequest\",\r\n \"displayDescription\": \"Sql Container Deleted\",\r\n \"unit\": \"Count\",\r\n \"aggregationType\": \"Count\",\r\n \"lockAggregationType\": \"\",\r\n \"sourceMdmAccount\": \"CosmosDBCustomer\",\r\n \"sourceMdmNamespace\": \"AzureMonitor\",\r\n \"fillGapWithZero\": true,\r\n \"category\": \"Requests\",\r\n \"resourceIdDimensionNameOverride\": \"GlobalDatabaseAccountName\",\r\n \"supportedAggregationTypes\": [\r\n \"Count\"\r\n ],\r\n \"supportedTimeGrainTypes\": [\r\n \"PT5M\"\r\n ],\r\n \"dimensions\": [\r\n {\r\n \"name\": \"ResourceName\",\r\n \"internalName\": \"ResourceName\",\r\n \"displayName\": \"Database Name\"\r\n },\r\n {\r\n \"name\": \"ChildResourceName\",\r\n \"internalName\": \"ChildResourceName\",\r\n \"displayName\": \"Container Name\"\r\n },\r\n {\r\n \"name\": \"ApiKind\",\r\n \"internalName\": \"ApiKind\",\r\n \"isHidden\": true,\r\n \"defaultDimensionValues\": [\r\n {\r\n \"value\": \"sql\"\r\n }\r\n ]\r\n },\r\n {\r\n \"name\": \"ApiKindResourceType\",\r\n \"internalName\": \"ApiKindResourceType\",\r\n \"isHidden\": true,\r\n \"defaultDimensionValues\": [\r\n {\r\n \"value\": \"containers\"\r\n }\r\n ]\r\n },\r\n {\r\n \"name\": \"OperationType\",\r\n \"internalName\": \"OperationType\",\r\n \"isHidden\": true,\r\n \"defaultDimensionValues\": [\r\n {\r\n \"value\": \"Delete\"\r\n }\r\n ]\r\n }\r\n ]\r\n },\r\n {\r\n \"name\": \"SqlContainerUpdate\",\r\n \"displayName\": \"Sql Container Updated\",\r\n \"internalMetricName\": \"ControlPlaneArmAPIRequest\",\r\n \"displayDescription\": \"Sql Container Updated\",\r\n \"unit\": \"Count\",\r\n \"aggregationType\": \"Count\",\r\n \"lockAggregationType\": \"\",\r\n \"sourceMdmAccount\": \"CosmosDBCustomer\",\r\n \"sourceMdmNamespace\": \"AzureMonitor\",\r\n \"fillGapWithZero\": true,\r\n \"category\": \"Requests\",\r\n \"resourceIdDimensionNameOverride\": \"GlobalDatabaseAccountName\",\r\n \"supportedAggregationTypes\": [\r\n \"Count\"\r\n ],\r\n \"supportedTimeGrainTypes\": [\r\n \"PT5M\"\r\n ],\r\n \"dimensions\": [\r\n {\r\n \"name\": \"ResourceName\",\r\n \"internalName\": \"ResourceName\",\r\n \"displayName\": \"Database Name\"\r\n },\r\n {\r\n \"name\": \"ChildResourceName\",\r\n \"internalName\": \"ChildResourceName\",\r\n \"displayName\": \"Container Name\"\r\n },\r\n {\r\n \"name\": \"ApiKind\",\r\n \"internalName\": \"ApiKind\",\r\n \"isHidden\": true,\r\n \"defaultDimensionValues\": [\r\n {\r\n \"value\": \"sql\"\r\n }\r\n ]\r\n },\r\n {\r\n \"name\": \"ApiKindResourceType\",\r\n \"internalName\": \"ApiKindResourceType\",\r\n \"isHidden\": true,\r\n \"defaultDimensionValues\": [\r\n {\r\n \"value\": \"containers\"\r\n }\r\n ]\r\n },\r\n {\r\n \"name\": \"IsThroughputRequest\",\r\n \"internalName\": \"IsThroughputRequest\",\r\n \"isHidden\": true,\r\n \"defaultDimensionValues\": [\r\n {\r\n \"value\": \"False\"\r\n }\r\n ]\r\n },\r\n {\r\n \"name\": \"OperationType\",\r\n \"internalName\": \"OperationType\",\r\n \"isHidden\": true,\r\n \"defaultDimensionValues\": [\r\n {\r\n \"value\": \"Upsert\"\r\n },\r\n {\r\n \"value\": \"Replace\"\r\n }\r\n ]\r\n }\r\n ]\r\n },\r\n {\r\n \"name\": \"TableTableDelete\",\r\n \"displayName\": \"AzureTable Table Deleted\",\r\n \"internalMetricName\": \"ControlPlaneArmAPIRequest\",\r\n \"displayDescription\": \"AzureTable Table Deleted\",\r\n \"unit\": \"Count\",\r\n \"aggregationType\": \"Count\",\r\n \"lockAggregationType\": \"\",\r\n \"sourceMdmAccount\": \"CosmosDBCustomer\",\r\n \"sourceMdmNamespace\": \"AzureMonitor\",\r\n \"fillGapWithZero\": true,\r\n \"category\": \"Requests\",\r\n \"resourceIdDimensionNameOverride\": \"GlobalDatabaseAccountName\",\r\n \"supportedAggregationTypes\": [\r\n \"Count\"\r\n ],\r\n \"supportedTimeGrainTypes\": [\r\n \"PT5M\"\r\n ],\r\n \"dimensions\": [\r\n {\r\n \"name\": \"ResourceName\",\r\n \"internalName\": \"ResourceName\",\r\n \"displayName\": \"Table Name\"\r\n },\r\n {\r\n \"name\": \"ApiKind\",\r\n \"internalName\": \"ApiKind\",\r\n \"isHidden\": true,\r\n \"defaultDimensionValues\": [\r\n {\r\n \"value\": \"table\"\r\n }\r\n ]\r\n },\r\n {\r\n \"name\": \"ApiKindResourceType\",\r\n \"internalName\": \"ApiKindResourceType\",\r\n \"isHidden\": true,\r\n \"defaultDimensionValues\": [\r\n {\r\n \"value\": \"tables\"\r\n }\r\n ]\r\n },\r\n {\r\n \"name\": \"OperationType\",\r\n \"internalName\": \"OperationType\",\r\n \"isHidden\": true,\r\n \"defaultDimensionValues\": [\r\n {\r\n \"value\": \"Delete\"\r\n }\r\n ]\r\n }\r\n ]\r\n },\r\n {\r\n \"name\": \"TotalRequestUnits\",\r\n \"displayName\": \"Total Request Units\",\r\n \"internalMetricName\": \"TotalRequestUnits\",\r\n \"displayDescription\": \"Request Units consumed\",\r\n \"unit\": \"Count\",\r\n \"aggregationType\": \"Total\",\r\n \"lockAggregationType\": \"\",\r\n \"sourceMdmAccount\": \"CosmosDBCustomer\",\r\n \"sourceMdmNamespace\": \"AzureMonitor\",\r\n \"fillGapWithZero\": true,\r\n \"category\": \"Requests\",\r\n \"resourceIdDimensionNameOverride\": \"GlobalDatabaseAccountName\",\r\n \"supportedAggregationTypes\": [\r\n \"Total\",\r\n \" Average\"\r\n ],\r\n \"dimensions\": [\r\n {\r\n \"name\": \"DatabaseName\",\r\n \"internalName\": \"DatabaseName\"\r\n },\r\n {\r\n \"name\": \"CollectionName\",\r\n \"internalName\": \"CollectionName\"\r\n },\r\n {\r\n \"name\": \"Region\",\r\n \"internalName\": \"Region\"\r\n },\r\n {\r\n \"name\": \"StatusCode\",\r\n \"internalName\": \"StatusCode\"\r\n },\r\n {\r\n \"name\": \"OperationType\",\r\n \"internalName\": \"OperationType\"\r\n },\r\n {\r\n \"name\": \"Status\",\r\n \"internalName\": \"Status\"\r\n }\r\n ]\r\n },\r\n {\r\n \"name\": \"UpdateAccountReplicationSettings\",\r\n \"displayName\": \"Account Replication Settings Updated\",\r\n \"internalMetricName\": \"UpdateAccountReplicationSettings\",\r\n \"displayDescription\": \"Account Replication Settings Updated\",\r\n \"unit\": \"Count\",\r\n \"aggregationType\": \"Count\",\r\n \"lockAggregationType\": \"\",\r\n \"sourceMdmAccount\": \"CosmosDBCustomer\",\r\n \"sourceMdmNamespace\": \"AzureMonitor\",\r\n \"fillGapWithZero\": true,\r\n \"category\": \"Requests\",\r\n \"resourceIdDimensionNameOverride\": \"GlobalDatabaseAccountName\",\r\n \"supportedAggregationTypes\": [\r\n \"Count\"\r\n ],\r\n \"supportedTimeGrainTypes\": [\r\n \"PT5M\"\r\n ],\r\n \"dimensions\": []\r\n },\r\n {\r\n \"name\": \"DedicatedGatewayMaximumCPUUsage\",\r\n \"displayName\": \"DedicatedGatewayMaximumCPUUsage\",\r\n \"internalMetricName\": \"DedicatedGatewayCpuUsage\",\r\n \"displayDescription\": \"Average Maximum CPU usage across dedicated gateway instances\",\r\n \"unit\": \"Percent\",\r\n \"aggregationType\": \"Average\",\r\n \"lockAggregationType\": \"\",\r\n \"sourceMdmAccount\": \"CosmosDBCustomer\",\r\n \"sourceMdmNamespace\": \"AzureMonitor\",\r\n \"fillGapWithZero\": false,\r\n \"category\": \"Requests\",\r\n \"resourceIdDimensionNameOverride\": \"GlobalDatabaseAccountName\",\r\n \"supportedAggregationTypes\": [\r\n \"Average\",\r\n \"Maximum\"\r\n ],\r\n \"supportedTimeGrainTypes\": [\r\n \"PT5M\"\r\n ],\r\n \"dimensions\": [\r\n {\r\n \"name\": \"Region\",\r\n \"internalName\": \"Region\"\r\n },\r\n {\r\n \"name\": \"MetricType\",\r\n \"internalName\": \"MetricType\",\r\n \"isHidden\": true,\r\n \"defaultDimensionValues\": [\r\n {\r\n \"value\": \"Maximum\"\r\n }\r\n ]\r\n }\r\n ]\r\n },\r\n {\r\n \"name\": \"GremlinDatabaseThroughputUpdate\",\r\n \"displayName\": \"Gremlin Database Throughput Updated\",\r\n \"internalMetricName\": \"ControlPlaneArmAPIRequest\",\r\n \"displayDescription\": \"Gremlin Database Throughput Updated\",\r\n \"unit\": \"Count\",\r\n \"aggregationType\": \"Count\",\r\n \"lockAggregationType\": \"\",\r\n \"sourceMdmAccount\": \"CosmosDBCustomer\",\r\n \"sourceMdmNamespace\": \"AzureMonitor\",\r\n \"fillGapWithZero\": true,\r\n \"category\": \"Requests\",\r\n \"resourceIdDimensionNameOverride\": \"GlobalDatabaseAccountName\",\r\n \"supportedAggregationTypes\": [\r\n \"Count\"\r\n ],\r\n \"supportedTimeGrainTypes\": [\r\n \"PT5M\"\r\n ],\r\n \"dimensions\": [\r\n {\r\n \"name\": \"ResourceName\",\r\n \"internalName\": \"ResourceName\",\r\n \"displayName\": \"Database Name\"\r\n },\r\n {\r\n \"name\": \"ApiKind\",\r\n \"internalName\": \"ApiKind\",\r\n \"isHidden\": true,\r\n \"defaultDimensionValues\": [\r\n {\r\n \"value\": \"sql\"\r\n }\r\n ]\r\n },\r\n {\r\n \"name\": \"ApiKindResourceType\",\r\n \"internalName\": \"ApiKindResourceType\",\r\n \"isHidden\": true,\r\n \"defaultDimensionValues\": [\r\n {\r\n \"value\": \"databases\"\r\n },\r\n {\r\n \"value\": \"gremlindatabases\"\r\n }\r\n ]\r\n },\r\n {\r\n \"name\": \"IsThroughputRequest\",\r\n \"internalName\": \"IsThroughputRequest\",\r\n \"isHidden\": true,\r\n \"defaultDimensionValues\": [\r\n {\r\n \"value\": \"True\"\r\n }\r\n ]\r\n }\r\n ]\r\n },\r\n {\r\n \"name\": \"AutoscaleMaxThroughput\",\r\n \"displayName\": \"Autoscale Max Throughput\",\r\n \"internalMetricName\": \"AutoscaleMaxThroughput\",\r\n \"displayDescription\": \"Autoscale Max Throughput\",\r\n \"unit\": \"Count\",\r\n \"aggregationType\": \"Maximum\",\r\n \"lockAggregationType\": \"Maximum\",\r\n \"sourceMdmAccount\": \"CosmosDBCustomer\",\r\n \"sourceMdmNamespace\": \"AzureMonitor\",\r\n \"fillGapWithZero\": true,\r\n \"category\": \"Requests\",\r\n \"resourceIdDimensionNameOverride\": \"GlobalDatabaseAccountName\",\r\n \"supportedAggregationTypes\": [\r\n \"Maximum\"\r\n ],\r\n \"supportedTimeGrainTypes\": [\r\n \"PT5M\"\r\n ],\r\n \"dimensions\": [\r\n {\r\n \"name\": \"DatabaseName\",\r\n \"internalName\": \"DatabaseName\"\r\n },\r\n {\r\n \"name\": \"CollectionName\",\r\n \"internalName\": \"CollectionName\"\r\n }\r\n ]\r\n },\r\n {\r\n \"name\": \"CassandraKeyspaceCreate\",\r\n \"displayName\": \"Cassandra Keyspace Created\",\r\n \"internalMetricName\": \"ControlPlaneArmAPIRequest\",\r\n \"displayDescription\": \"Cassandra Keyspace Created\",\r\n \"unit\": \"Count\",\r\n \"aggregationType\": \"Count\",\r\n \"lockAggregationType\": \"\",\r\n \"sourceMdmAccount\": \"CosmosDBCustomer\",\r\n \"sourceMdmNamespace\": \"AzureMonitor\",\r\n \"fillGapWithZero\": true,\r\n \"category\": \"Requests\",\r\n \"resourceIdDimensionNameOverride\": \"GlobalDatabaseAccountName\",\r\n \"supportedAggregationTypes\": [\r\n \"Count\"\r\n ],\r\n \"supportedTimeGrainTypes\": [\r\n \"PT5M\"\r\n ],\r\n \"dimensions\": [\r\n {\r\n \"name\": \"ResourceName\",\r\n \"displayName\": \"Keyspace Name\",\r\n \"internalName\": \"ResourceName\"\r\n },\r\n {\r\n \"name\": \"ApiKind\",\r\n \"internalName\": \"ApiKind\",\r\n \"isHidden\": true,\r\n \"defaultDimensionValues\": [\r\n {\r\n \"value\": \"cassandra\"\r\n }\r\n ]\r\n },\r\n {\r\n \"name\": \"ApiKindResourceType\",\r\n \"internalName\": \"ApiKindResourceType\",\r\n \"isHidden\": true,\r\n \"defaultDimensionValues\": [\r\n {\r\n \"value\": \"keyspaces\"\r\n },\r\n {\r\n \"value\": \"cassandrakeyspaces\"\r\n }\r\n ]\r\n },\r\n {\r\n \"name\": \"IsThroughputRequest\",\r\n \"internalName\": \"IsThroughputRequest\",\r\n \"isHidden\": true,\r\n \"defaultDimensionValues\": [\r\n {\r\n \"value\": \"False\"\r\n }\r\n ]\r\n },\r\n {\r\n \"name\": \"OperationType\",\r\n \"internalName\": \"OperationType\",\r\n \"isHidden\": true,\r\n \"defaultDimensionValues\": [\r\n {\r\n \"value\": \"Create\"\r\n }\r\n ]\r\n }\r\n ]\r\n },\r\n {\r\n \"name\": \"AddRegion\",\r\n \"displayName\": \"Region Added\",\r\n \"internalMetricName\": \"AddRegion\",\r\n \"displayDescription\": \"Region Added\",\r\n \"unit\": \"Count\",\r\n \"aggregationType\": \"Count\",\r\n \"lockAggregationType\": \"\",\r\n \"sourceMdmAccount\": \"CosmosDBCustomer\",\r\n \"sourceMdmNamespace\": \"AzureMonitor\",\r\n \"fillGapWithZero\": true,\r\n \"category\": \"Requests\",\r\n \"resourceIdDimensionNameOverride\": \"GlobalDatabaseAccountName\",\r\n \"supportedAggregationTypes\": [\r\n \"Count\"\r\n ],\r\n \"supportedTimeGrainTypes\": [\r\n \"PT5M\"\r\n ],\r\n \"dimensions\": [\r\n {\r\n \"name\": \"Region\",\r\n \"internalName\": \"Region\"\r\n }\r\n ]\r\n },\r\n {\r\n \"name\": \"CassandraTableUpdate\",\r\n \"displayName\": \"Cassandra Table Updated\",\r\n \"internalMetricName\": \"ControlPlaneArmAPIRequest\",\r\n \"displayDescription\": \"Cassandra Table Updated\",\r\n \"unit\": \"Count\",\r\n \"aggregationType\": \"Count\",\r\n \"lockAggregationType\": \"\",\r\n \"sourceMdmAccount\": \"CosmosDBCustomer\",\r\n \"sourceMdmNamespace\": \"AzureMonitor\",\r\n \"fillGapWithZero\": true,\r\n \"category\": \"Requests\",\r\n \"resourceIdDimensionNameOverride\": \"GlobalDatabaseAccountName\",\r\n \"supportedAggregationTypes\": [\r\n \"Count\"\r\n ],\r\n \"supportedTimeGrainTypes\": [\r\n \"PT5M\"\r\n ],\r\n \"dimensions\": [\r\n {\r\n \"name\": \"ResourceName\",\r\n \"internalName\": \"ResourceName\",\r\n \"displayName\": \"Keyspace Name\"\r\n },\r\n {\r\n \"name\": \"ChildResourceName\",\r\n \"internalName\": \"ChildResourceName\",\r\n \"displayName\": \"Table Name\"\r\n },\r\n {\r\n \"name\": \"ApiKind\",\r\n \"internalName\": \"ApiKind\",\r\n \"isHidden\": true,\r\n \"defaultDimensionValues\": [\r\n {\r\n \"value\": \"cassandra\"\r\n }\r\n ]\r\n },\r\n {\r\n \"name\": \"ApiKindResourceType\",\r\n \"internalName\": \"ApiKindResourceType\",\r\n \"isHidden\": true,\r\n \"defaultDimensionValues\": [\r\n {\r\n \"value\": \"tables\"\r\n }\r\n ]\r\n },\r\n {\r\n \"name\": \"IsThroughputRequest\",\r\n \"internalName\": \"IsThroughputRequest\",\r\n \"isHidden\": true,\r\n \"defaultDimensionValues\": [\r\n {\r\n \"value\": \"False\"\r\n }\r\n ]\r\n },\r\n {\r\n \"name\": \"OperationType\",\r\n \"internalName\": \"OperationType\",\r\n \"isHidden\": true,\r\n \"defaultDimensionValues\": [\r\n {\r\n \"value\": \"Upsert\"\r\n },\r\n {\r\n \"value\": \"Replace\"\r\n }\r\n ]\r\n }\r\n ]\r\n },\r\n {\r\n \"name\": \"CassandraConnectorReplicationHealthStatus\",\r\n \"displayName\": \"Cassandra Connector Replication Health Status\",\r\n \"internalMetricName\": \"ReplicationHealthStatus\",\r\n \"displayDescription\": \"Cassandra Connector Replication Health Status\",\r\n \"unit\": \"Count\",\r\n \"aggregationType\": \"Count\",\r\n \"lockAggregationType\": \"\",\r\n \"sourceMdmAccount\": \"CosmosDBCustomer\",\r\n \"sourceMdmNamespace\": \"AzureMonitor\",\r\n \"fillGapWithZero\": false,\r\n \"category\": \"Requests\",\r\n \"resourceIdDimensionNameOverride\": \"DatabaseAccount\",\r\n \"supportedAggregationTypes\": [\r\n \"Count\"\r\n ],\r\n \"supportedTimeGrainTypes\": [\r\n \"PT5M\"\r\n ],\r\n \"dimensions\": [\r\n {\r\n \"name\": \"NotStarted\",\r\n \"displayName\": \"Replication Not Started\",\r\n \"internalName\": \"NotStarted\"\r\n },\r\n {\r\n \"name\": \"ReplicationInProgress\",\r\n \"displayName\": \"Replication In Progress\",\r\n \"internalName\": \"ReplicationInProgress\"\r\n },\r\n {\r\n \"name\": \"Error\",\r\n \"displayName\": \"Replication In Error\",\r\n \"internalName\": \"Error\"\r\n }\r\n ]\r\n },\r\n {\r\n \"name\": \"GremlinDatabaseUpdate\",\r\n \"displayName\": \"Gremlin Database Updated\",\r\n \"internalMetricName\": \"ControlPlaneArmAPIRequest\",\r\n \"displayDescription\": \"Gremlin Database Updated\",\r\n \"unit\": \"Count\",\r\n \"aggregationType\": \"Count\",\r\n \"lockAggregationType\": \"\",\r\n \"sourceMdmAccount\": \"CosmosDBCustomer\",\r\n \"sourceMdmNamespace\": \"AzureMonitor\",\r\n \"fillGapWithZero\": true,\r\n \"category\": \"Requests\",\r\n \"resourceIdDimensionNameOverride\": \"GlobalDatabaseAccountName\",\r\n \"supportedAggregationTypes\": [\r\n \"Count\"\r\n ],\r\n \"supportedTimeGrainTypes\": [\r\n \"PT5M\"\r\n ],\r\n \"dimensions\": [\r\n {\r\n \"name\": \"ResourceName\",\r\n \"internalName\": \"ResourceName\",\r\n \"displayName\": \"Database Name\"\r\n },\r\n {\r\n \"name\": \"ApiKind\",\r\n \"internalName\": \"ApiKind\",\r\n \"isHidden\": true,\r\n \"defaultDimensionValues\": [\r\n {\r\n \"value\": \"gremlin\"\r\n }\r\n ]\r\n },\r\n {\r\n \"name\": \"ApiKindResourceType\",\r\n \"internalName\": \"ApiKindResourceType\",\r\n \"isHidden\": true,\r\n \"defaultDimensionValues\": [\r\n {\r\n \"value\": \"databases\"\r\n },\r\n {\r\n \"value\": \"gremlindatabases\"\r\n }\r\n ]\r\n },\r\n {\r\n \"name\": \"IsThroughputRequest\",\r\n \"internalName\": \"IsThroughputRequest\",\r\n \"isHidden\": true,\r\n \"defaultDimensionValues\": [\r\n {\r\n \"value\": \"False\"\r\n }\r\n ]\r\n },\r\n {\r\n \"name\": \"OperationType\",\r\n \"internalName\": \"OperationType\",\r\n \"isHidden\": true,\r\n \"defaultDimensionValues\": [\r\n {\r\n \"value\": \"Upsert\"\r\n },\r\n {\r\n \"value\": \"Replace\"\r\n }\r\n ]\r\n }\r\n ]\r\n },\r\n {\r\n \"name\": \"MongoCollectionCreate\",\r\n \"displayName\": \"Mongo Collection Created\",\r\n \"internalMetricName\": \"ControlPlaneArmAPIRequest\",\r\n \"displayDescription\": \"Mongo Collection Created\",\r\n \"unit\": \"Count\",\r\n \"aggregationType\": \"Count\",\r\n \"lockAggregationType\": \"\",\r\n \"sourceMdmAccount\": \"CosmosDBCustomer\",\r\n \"sourceMdmNamespace\": \"AzureMonitor\",\r\n \"fillGapWithZero\": true,\r\n \"category\": \"Requests\",\r\n \"resourceIdDimensionNameOverride\": \"GlobalDatabaseAccountName\",\r\n \"supportedAggregationTypes\": [\r\n \"Count\"\r\n ],\r\n \"supportedTimeGrainTypes\": [\r\n \"PT5M\"\r\n ],\r\n \"dimensions\": [\r\n {\r\n \"name\": \"ResourceName\",\r\n \"displayName\": \"Database Name\",\r\n \"internalName\": \"ResourceName\"\r\n },\r\n {\r\n \"name\": \"ChildResourceName\",\r\n \"displayName\": \"Collection Name\",\r\n \"internalName\": \"ChildResourceName\"\r\n },\r\n {\r\n \"name\": \"ApiKind\",\r\n \"internalName\": \"ApiKind\",\r\n \"isHidden\": true,\r\n \"defaultDimensionValues\": [\r\n {\r\n \"value\": \"mongodb\"\r\n }\r\n ]\r\n },\r\n {\r\n \"name\": \"ApiKindResourceType\",\r\n \"internalName\": \"ApiKindResourceType\",\r\n \"isHidden\": true,\r\n \"defaultDimensionValues\": [\r\n {\r\n \"value\": \"collections\"\r\n }\r\n ]\r\n },\r\n {\r\n \"name\": \"IsThroughputRequest\",\r\n \"internalName\": \"IsThroughputRequest\",\r\n \"isHidden\": true,\r\n \"defaultDimensionValues\": [\r\n {\r\n \"value\": \"False\"\r\n }\r\n ]\r\n },\r\n {\r\n \"name\": \"OperationType\",\r\n \"internalName\": \"OperationType\",\r\n \"isHidden\": true,\r\n \"defaultDimensionValues\": [\r\n {\r\n \"value\": \"Create\"\r\n }\r\n ]\r\n }\r\n ]\r\n },\r\n {\r\n \"name\": \"CassandraKeyspaceThroughputUpdate\",\r\n \"displayName\": \"Cassandra Keyspace Throughput Updated\",\r\n \"internalMetricName\": \"ControlPlaneArmAPIRequest\",\r\n \"displayDescription\": \"Cassandra Keyspace Throughput Updated\",\r\n \"unit\": \"Count\",\r\n \"aggregationType\": \"Count\",\r\n \"lockAggregationType\": \"\",\r\n \"sourceMdmAccount\": \"CosmosDBCustomer\",\r\n \"sourceMdmNamespace\": \"AzureMonitor\",\r\n \"fillGapWithZero\": true,\r\n \"category\": \"Requests\",\r\n \"resourceIdDimensionNameOverride\": \"GlobalDatabaseAccountName\",\r\n \"supportedAggregationTypes\": [\r\n \"Count\"\r\n ],\r\n \"supportedTimeGrainTypes\": [\r\n \"PT5M\"\r\n ],\r\n \"dimensions\": [\r\n {\r\n \"name\": \"ResourceName\",\r\n \"internalName\": \"ResourceName\",\r\n \"displayName\": \"Keyspace Name\"\r\n },\r\n {\r\n \"name\": \"ApiKind\",\r\n \"internalName\": \"ApiKind\",\r\n \"isHidden\": true,\r\n \"defaultDimensionValues\": [\r\n {\r\n \"value\": \"cassandra\"\r\n }\r\n ]\r\n },\r\n {\r\n \"name\": \"ApiKindResourceType\",\r\n \"internalName\": \"ApiKindResourceType\",\r\n \"isHidden\": true,\r\n \"defaultDimensionValues\": [\r\n {\r\n \"value\": \"keyspaces\"\r\n },\r\n {\r\n \"value\": \"cassandrakeyspaces\"\r\n }\r\n ]\r\n },\r\n {\r\n \"name\": \"IsThroughputRequest\",\r\n \"internalName\": \"IsThroughputRequest\",\r\n \"isHidden\": true,\r\n \"defaultDimensionValues\": [\r\n {\r\n \"value\": \"True\"\r\n }\r\n ]\r\n }\r\n ]\r\n },\r\n {\r\n \"name\": \"CassandraTableThroughputUpdate\",\r\n \"displayName\": \"Cassandra Table Throughput Updated\",\r\n \"internalMetricName\": \"ControlPlaneArmAPIRequest\",\r\n \"displayDescription\": \"Cassandra Table Throughput Updated\",\r\n \"unit\": \"Count\",\r\n \"aggregationType\": \"Count\",\r\n \"lockAggregationType\": \"\",\r\n \"sourceMdmAccount\": \"CosmosDBCustomer\",\r\n \"sourceMdmNamespace\": \"AzureMonitor\",\r\n \"fillGapWithZero\": true,\r\n \"category\": \"Requests\",\r\n \"resourceIdDimensionNameOverride\": \"GlobalDatabaseAccountName\",\r\n \"supportedAggregationTypes\": [\r\n \"Count\"\r\n ],\r\n \"supportedTimeGrainTypes\": [\r\n \"PT5M\"\r\n ],\r\n \"dimensions\": [\r\n {\r\n \"name\": \"ResourceName\",\r\n \"internalName\": \"ResourceName\",\r\n \"displayName\": \"Keyspace Name\"\r\n },\r\n {\r\n \"name\": \"ChildResourceName\",\r\n \"internalName\": \"ChildResourceName\",\r\n \"displayName\": \"Table Name\"\r\n },\r\n {\r\n \"name\": \"ApiKind\",\r\n \"internalName\": \"ApiKind\",\r\n \"isHidden\": true,\r\n \"defaultDimensionValues\": [\r\n {\r\n \"value\": \"cassandra\"\r\n }\r\n ]\r\n },\r\n {\r\n \"name\": \"ApiKindResourceType\",\r\n \"internalName\": \"ApiKindResourceType\",\r\n \"isHidden\": true,\r\n \"defaultDimensionValues\": [\r\n {\r\n \"value\": \"tables\"\r\n }\r\n ]\r\n },\r\n {\r\n \"name\": \"IsThroughputRequest\",\r\n \"internalName\": \"IsThroughputRequest\",\r\n \"isHidden\": true,\r\n \"defaultDimensionValues\": [\r\n {\r\n \"value\": \"True\"\r\n }\r\n ]\r\n }\r\n ]\r\n },\r\n {\r\n \"name\": \"GremlinGraphThroughputUpdate\",\r\n \"displayName\": \"Gremlin Graph Throughput Updated\",\r\n \"internalMetricName\": \"ControlPlaneArmAPIRequest\",\r\n \"displayDescription\": \"Gremlin Graph Throughput Updated\",\r\n \"unit\": \"Count\",\r\n \"aggregationType\": \"Count\",\r\n \"lockAggregationType\": \"\",\r\n \"sourceMdmAccount\": \"CosmosDBCustomer\",\r\n \"sourceMdmNamespace\": \"AzureMonitor\",\r\n \"fillGapWithZero\": true,\r\n \"category\": \"Requests\",\r\n \"resourceIdDimensionNameOverride\": \"GlobalDatabaseAccountName\",\r\n \"supportedAggregationTypes\": [\r\n \"Count\"\r\n ],\r\n \"supportedTimeGrainTypes\": [\r\n \"PT5M\"\r\n ],\r\n \"dimensions\": [\r\n {\r\n \"name\": \"ResourceName\",\r\n \"internalName\": \"ResourceName\",\r\n \"displayName\": \"Database Name\"\r\n },\r\n {\r\n \"name\": \"ChildResourceName\",\r\n \"internalName\": \"ChildResourceName\",\r\n \"displayName\": \"Graph Name\"\r\n },\r\n {\r\n \"name\": \"ApiKind\",\r\n \"internalName\": \"ApiKind\",\r\n \"isHidden\": true,\r\n \"defaultDimensionValues\": [\r\n {\r\n \"value\": \"sql\"\r\n }\r\n ]\r\n },\r\n {\r\n \"name\": \"ApiKindResourceType\",\r\n \"internalName\": \"ApiKindResourceType\",\r\n \"isHidden\": true,\r\n \"defaultDimensionValues\": [\r\n {\r\n \"value\": \"graphs\"\r\n }\r\n ]\r\n },\r\n {\r\n \"name\": \"IsThroughputRequest\",\r\n \"internalName\": \"IsThroughputRequest\",\r\n \"isHidden\": true,\r\n \"defaultDimensionValues\": [\r\n {\r\n \"value\": \"True\"\r\n }\r\n ]\r\n }\r\n ]\r\n },\r\n {\r\n \"name\": \"MongoCollectionThroughputUpdate\",\r\n \"displayName\": \"Mongo Collection Throughput Updated\",\r\n \"internalMetricName\": \"ControlPlaneArmAPIRequest\",\r\n \"displayDescription\": \"Mongo Collection Throughput Updated\",\r\n \"unit\": \"Count\",\r\n \"aggregationType\": \"Count\",\r\n \"lockAggregationType\": \"\",\r\n \"sourceMdmAccount\": \"CosmosDBCustomer\",\r\n \"sourceMdmNamespace\": \"AzureMonitor\",\r\n \"fillGapWithZero\": true,\r\n \"category\": \"Requests\",\r\n \"resourceIdDimensionNameOverride\": \"GlobalDatabaseAccountName\",\r\n \"supportedAggregationTypes\": [\r\n \"Count\"\r\n ],\r\n \"supportedTimeGrainTypes\": [\r\n \"PT5M\"\r\n ],\r\n \"dimensions\": [\r\n {\r\n \"name\": \"ResourceName\",\r\n \"internalName\": \"ResourceName\",\r\n \"displayName\": \"Database Name\"\r\n },\r\n {\r\n \"name\": \"ChildResourceName\",\r\n \"internalName\": \"ChildResourceName\",\r\n \"displayName\": \"Collection Name\"\r\n },\r\n {\r\n \"name\": \"ApiKind\",\r\n \"internalName\": \"ApiKind\",\r\n \"isHidden\": true,\r\n \"defaultDimensionValues\": [\r\n {\r\n \"value\": \"mongodb\"\r\n }\r\n ]\r\n },\r\n {\r\n \"name\": \"ApiKindResourceType\",\r\n \"internalName\": \"ApiKindResourceType\",\r\n \"isHidden\": true,\r\n \"defaultDimensionValues\": [\r\n {\r\n \"value\": \"collections\"\r\n }\r\n ]\r\n },\r\n {\r\n \"name\": \"IsThroughputRequest\",\r\n \"internalName\": \"IsThroughputRequest\",\r\n \"isHidden\": true,\r\n \"defaultDimensionValues\": [\r\n {\r\n \"value\": \"True\"\r\n }\r\n ]\r\n }\r\n ]\r\n },\r\n {\r\n \"name\": \"MongoRequestCharge\",\r\n \"displayName\": \"Mongo Request Charge\",\r\n \"internalMetricName\": \"MongoRequestCharge\",\r\n \"displayDescription\": \"Mongo Request Units Consumed\",\r\n \"unit\": \"Count\",\r\n \"aggregationType\": \"Total\",\r\n \"lockAggregationType\": \"\",\r\n \"sourceMdmAccount\": \"CosmosDBCustomer\",\r\n \"sourceMdmNamespace\": \"AzureMonitor\",\r\n \"fillGapWithZero\": true,\r\n \"category\": \"Requests\",\r\n \"resourceIdDimensionNameOverride\": \"GlobalDatabaseAccountName\",\r\n \"supportedAggregationTypes\": [\r\n \"Total\",\r\n \"Average\",\r\n \"Maximum\"\r\n ],\r\n \"dimensions\": [\r\n {\r\n \"name\": \"DatabaseName\",\r\n \"internalName\": \"DatabaseName\"\r\n },\r\n {\r\n \"name\": \"CollectionName\",\r\n \"internalName\": \"CollectionName\"\r\n },\r\n {\r\n \"name\": \"Region\",\r\n \"internalName\": \"Region\"\r\n },\r\n {\r\n \"name\": \"CommandName\",\r\n \"internalName\": \"CommandName\"\r\n },\r\n {\r\n \"name\": \"ErrorCode\",\r\n \"internalName\": \"ErrorCode\"\r\n },\r\n {\r\n \"name\": \"Status\",\r\n \"internalName\": \"Status\"\r\n }\r\n ]\r\n },\r\n {\r\n \"name\": \"ProvisionedThroughput\",\r\n \"displayName\": \"Provisioned Throughput\",\r\n \"internalMetricName\": \"ProvisionedThroughput\",\r\n \"displayDescription\": \"Provisioned Throughput\",\r\n \"unit\": \"Count\",\r\n \"aggregationType\": \"Maximum\",\r\n \"lockAggregationType\": \"Maximum\",\r\n \"sourceMdmAccount\": \"CosmosDBCustomer\",\r\n \"sourceMdmNamespace\": \"AzureMonitor\",\r\n \"fillGapWithZero\": false,\r\n \"category\": \"Requests\",\r\n \"resourceIdDimensionNameOverride\": \"GlobalDatabaseAccountName\",\r\n \"supportedAggregationTypes\": [\r\n \"Maximum\"\r\n ],\r\n \"supportedTimeGrainTypes\": [\r\n \"PT5M\"\r\n ],\r\n \"dimensions\": [\r\n {\r\n \"name\": \"DatabaseName\",\r\n \"internalName\": \"DatabaseName\"\r\n },\r\n {\r\n \"name\": \"CollectionName\",\r\n \"internalName\": \"CollectionName\"\r\n }\r\n ]\r\n },\r\n {\r\n \"name\": \"RegionFailover\",\r\n \"displayName\": \"Region Failed Over\",\r\n \"internalMetricName\": \"RegionFailover\",\r\n \"displayDescription\": \"Region Failed Over\",\r\n \"unit\": \"Count\",\r\n \"aggregationType\": \"Count\",\r\n \"lockAggregationType\": \"\",\r\n \"sourceMdmAccount\": \"CosmosDBCustomer\",\r\n \"sourceMdmNamespace\": \"AzureMonitor\",\r\n \"fillGapWithZero\": true,\r\n \"category\": \"Requests\",\r\n \"resourceIdDimensionNameOverride\": \"GlobalDatabaseAccountName\",\r\n \"supportedAggregationTypes\": [\r\n \"Count\"\r\n ],\r\n \"supportedTimeGrainTypes\": [\r\n \"PT5M\"\r\n ],\r\n \"dimensions\": []\r\n },\r\n {\r\n \"name\": \"ReplicationLatency\",\r\n \"displayName\": \"P99 Replication Latency\",\r\n \"internalMetricName\": \"ReplicationLatency\",\r\n \"displayDescription\": \"P99 Replication Latency across source and target regions for geo-enabled account\",\r\n \"unit\": \"MilliSeconds\",\r\n \"aggregationType\": \"Average\",\r\n \"lockAggregationType\": \"\",\r\n \"sourceMdmAccount\": \"CosmosDBCustomer\",\r\n \"sourceMdmNamespace\": \"AzureMonitor\",\r\n \"fillGapWithZero\": false,\r\n \"category\": \"Requests\",\r\n \"resourceIdDimensionNameOverride\": \"GlobalDatabaseAccount\",\r\n \"supportedAggregationTypes\": [\r\n \"Minimum\",\r\n \"Maximum\",\r\n \"Average\"\r\n ],\r\n \"dimensions\": [\r\n {\r\n \"name\": \"SourceRegion\",\r\n \"internalName\": \"SourceRegion\"\r\n },\r\n {\r\n \"name\": \"TargetRegion\",\r\n \"internalName\": \"TargetRegion\"\r\n }\r\n ]\r\n },\r\n {\r\n \"name\": \"SqlDatabaseDelete\",\r\n \"displayName\": \"Sql Database Deleted\",\r\n \"internalMetricName\": \"ControlPlaneArmAPIRequest\",\r\n \"displayDescription\": \"Sql Database Deleted\",\r\n \"unit\": \"Count\",\r\n \"aggregationType\": \"Count\",\r\n \"lockAggregationType\": \"\",\r\n \"sourceMdmAccount\": \"CosmosDBCustomer\",\r\n \"sourceMdmNamespace\": \"AzureMonitor\",\r\n \"fillGapWithZero\": true,\r\n \"category\": \"Requests\",\r\n \"resourceIdDimensionNameOverride\": \"GlobalDatabaseAccountName\",\r\n \"supportedAggregationTypes\": [\r\n \"Count\"\r\n ],\r\n \"supportedTimeGrainTypes\": [\r\n \"PT5M\"\r\n ],\r\n \"dimensions\": [\r\n {\r\n \"name\": \"ResourceName\",\r\n \"internalName\": \"ResourceName\",\r\n \"displayName\": \"Database Name\"\r\n },\r\n {\r\n \"name\": \"ApiKind\",\r\n \"internalName\": \"ApiKind\",\r\n \"isHidden\": true,\r\n \"defaultDimensionValues\": [\r\n {\r\n \"value\": \"sql\"\r\n }\r\n ]\r\n },\r\n {\r\n \"name\": \"ApiKindResourceType\",\r\n \"internalName\": \"ApiKindResourceType\",\r\n \"isHidden\": true,\r\n \"defaultDimensionValues\": [\r\n {\r\n \"value\": \"databases\"\r\n },\r\n {\r\n \"value\": \"sqldatabases\"\r\n }\r\n ]\r\n },\r\n {\r\n \"name\": \"OperationType\",\r\n \"internalName\": \"OperationType\",\r\n \"isHidden\": true,\r\n \"defaultDimensionValues\": [\r\n {\r\n \"value\": \"Delete\"\r\n }\r\n ]\r\n }\r\n ]\r\n },\r\n {\r\n \"name\": \"SqlDatabaseUpdate\",\r\n \"displayName\": \"Sql Database Updated\",\r\n \"internalMetricName\": \"ControlPlaneArmAPIRequest\",\r\n \"displayDescription\": \"Sql Database Updated\",\r\n \"unit\": \"Count\",\r\n \"aggregationType\": \"Count\",\r\n \"lockAggregationType\": \"\",\r\n \"sourceMdmAccount\": \"CosmosDBCustomer\",\r\n \"sourceMdmNamespace\": \"AzureMonitor\",\r\n \"fillGapWithZero\": true,\r\n \"category\": \"Requests\",\r\n \"resourceIdDimensionNameOverride\": \"GlobalDatabaseAccountName\",\r\n \"supportedAggregationTypes\": [\r\n \"Count\"\r\n ],\r\n \"supportedTimeGrainTypes\": [\r\n \"PT5M\"\r\n ],\r\n \"dimensions\": [\r\n {\r\n \"name\": \"ResourceName\",\r\n \"internalName\": \"ResourceName\",\r\n \"displayName\": \"Database Name\"\r\n },\r\n {\r\n \"name\": \"ApiKind\",\r\n \"internalName\": \"ApiKind\",\r\n \"isHidden\": true,\r\n \"defaultDimensionValues\": [\r\n {\r\n \"value\": \"sql\"\r\n }\r\n ]\r\n },\r\n {\r\n \"name\": \"ApiKindResourceType\",\r\n \"internalName\": \"ApiKindResourceType\",\r\n \"isHidden\": true,\r\n \"defaultDimensionValues\": [\r\n {\r\n \"value\": \"databases\"\r\n },\r\n {\r\n \"value\": \"sqldatabases\"\r\n }\r\n ]\r\n },\r\n {\r\n \"name\": \"IsThroughputRequest\",\r\n \"internalName\": \"IsThroughputRequest\",\r\n \"isHidden\": true,\r\n \"defaultDimensionValues\": [\r\n {\r\n \"value\": \"False\"\r\n }\r\n ]\r\n },\r\n {\r\n \"name\": \"OperationType\",\r\n \"internalName\": \"OperationType\",\r\n \"isHidden\": true,\r\n \"defaultDimensionValues\": [\r\n {\r\n \"value\": \"Upsert\"\r\n },\r\n {\r\n \"value\": \"Replace\"\r\n }\r\n ]\r\n }\r\n ]\r\n },\r\n {\r\n \"name\": \"TableTableThroughputUpdate\",\r\n \"displayName\": \"AzureTable Table Throughput Updated\",\r\n \"internalMetricName\": \"ControlPlaneArmAPIRequest\",\r\n \"displayDescription\": \"AzureTable Table Throughput Updated\",\r\n \"unit\": \"Count\",\r\n \"aggregationType\": \"Count\",\r\n \"lockAggregationType\": \"\",\r\n \"sourceMdmAccount\": \"CosmosDBCustomer\",\r\n \"sourceMdmNamespace\": \"AzureMonitor\",\r\n \"fillGapWithZero\": true,\r\n \"category\": \"Requests\",\r\n \"resourceIdDimensionNameOverride\": \"GlobalDatabaseAccountName\",\r\n \"supportedAggregationTypes\": [\r\n \"Count\"\r\n ],\r\n \"supportedTimeGrainTypes\": [\r\n \"PT5M\"\r\n ],\r\n \"dimensions\": [\r\n {\r\n \"name\": \"ResourceName\",\r\n \"internalName\": \"ResourceName\",\r\n \"displayName\": \"Table Name\"\r\n },\r\n {\r\n \"name\": \"ApiKind\",\r\n \"internalName\": \"ApiKind\",\r\n \"isHidden\": true,\r\n \"defaultDimensionValues\": [\r\n {\r\n \"value\": \"table\"\r\n }\r\n ]\r\n },\r\n {\r\n \"name\": \"ApiKindResourceType\",\r\n \"internalName\": \"ApiKindResourceType\",\r\n \"isHidden\": true,\r\n \"defaultDimensionValues\": [\r\n {\r\n \"value\": \"tables\"\r\n }\r\n ]\r\n },\r\n {\r\n \"name\": \"IsThroughputRequest\",\r\n \"internalName\": \"IsThroughputRequest\",\r\n \"isHidden\": true,\r\n \"defaultDimensionValues\": [\r\n {\r\n \"value\": \"True\"\r\n }\r\n ]\r\n }\r\n ]\r\n },\r\n {\r\n \"name\": \"TableTableUpdate\",\r\n \"displayName\": \"AzureTable Table Updated\",\r\n \"internalMetricName\": \"ControlPlaneArmAPIRequest\",\r\n \"displayDescription\": \"AzureTable Table Updated\",\r\n \"unit\": \"Count\",\r\n \"aggregationType\": \"Count\",\r\n \"lockAggregationType\": \"\",\r\n \"sourceMdmAccount\": \"CosmosDBCustomer\",\r\n \"sourceMdmNamespace\": \"AzureMonitor\",\r\n \"fillGapWithZero\": true,\r\n \"category\": \"Requests\",\r\n \"resourceIdDimensionNameOverride\": \"GlobalDatabaseAccountName\",\r\n \"supportedAggregationTypes\": [\r\n \"Count\"\r\n ],\r\n \"supportedTimeGrainTypes\": [\r\n \"PT5M\"\r\n ],\r\n \"dimensions\": [\r\n {\r\n \"name\": \"ResourceName\",\r\n \"internalName\": \"ResourceName\",\r\n \"displayName\": \"Table Name\"\r\n },\r\n {\r\n \"name\": \"ApiKind\",\r\n \"internalName\": \"ApiKind\",\r\n \"isHidden\": true,\r\n \"defaultDimensionValues\": [\r\n {\r\n \"value\": \"table\"\r\n }\r\n ]\r\n },\r\n {\r\n \"name\": \"ApiKindResourceType\",\r\n \"internalName\": \"ApiKindResourceType\",\r\n \"isHidden\": true,\r\n \"defaultDimensionValues\": [\r\n {\r\n \"value\": \"tables\"\r\n }\r\n ]\r\n },\r\n {\r\n \"name\": \"IsThroughputRequest\",\r\n \"internalName\": \"IsThroughputRequest\",\r\n \"isHidden\": true,\r\n \"defaultDimensionValues\": [\r\n {\r\n \"value\": \"False\"\r\n }\r\n ]\r\n },\r\n {\r\n \"name\": \"OperationType\",\r\n \"internalName\": \"OperationType\",\r\n \"isHidden\": true,\r\n \"defaultDimensionValues\": [\r\n {\r\n \"value\": \"Upsert\"\r\n },\r\n {\r\n \"value\": \"Replace\"\r\n }\r\n ]\r\n }\r\n ]\r\n },\r\n {\r\n \"name\": \"UpdateAccountNetworkSettings\",\r\n \"displayName\": \"Account Network Settings Updated\",\r\n \"internalMetricName\": \"UpdateAccountNetworkSettings\",\r\n \"displayDescription\": \"Account Network Settings Updated\",\r\n \"unit\": \"Count\",\r\n \"aggregationType\": \"Count\",\r\n \"lockAggregationType\": \"\",\r\n \"sourceMdmAccount\": \"CosmosDBCustomer\",\r\n \"sourceMdmNamespace\": \"AzureMonitor\",\r\n \"fillGapWithZero\": true,\r\n \"category\": \"Requests\",\r\n \"resourceIdDimensionNameOverride\": \"GlobalDatabaseAccountName\",\r\n \"supportedAggregationTypes\": [\r\n \"Count\"\r\n ],\r\n \"supportedTimeGrainTypes\": [\r\n \"PT5M\"\r\n ],\r\n \"dimensions\": []\r\n },\r\n {\r\n \"name\": \"UpdateDiagnosticsSettings\",\r\n \"displayName\": \"Account Diagnostic Settings Updated\",\r\n \"internalMetricName\": \"UpdateDiagnosticSettings\",\r\n \"displayDescription\": \"Account Diagnostic Settings Updated\",\r\n \"unit\": \"Count\",\r\n \"aggregationType\": \"Count\",\r\n \"lockAggregationType\": \"\",\r\n \"sourceMdmAccount\": \"CosmosDBCustomer\",\r\n \"sourceMdmNamespace\": \"AzureMonitor\",\r\n \"fillGapWithZero\": true,\r\n \"category\": \"Requests\",\r\n \"resourceIdDimensionNameOverride\": \"GlobalDatabaseAccountName\",\r\n \"supportedAggregationTypes\": [\r\n \"Count\"\r\n ],\r\n \"supportedTimeGrainTypes\": [\r\n \"PT5M\"\r\n ],\r\n \"dimensions\": [\r\n {\r\n \"name\": \"DiagnosticSettingsName\",\r\n \"internalName\": \"DiagnosticSettingsName\",\r\n \"displayName\": \"DiagnosticSettings Name\"\r\n },\r\n {\r\n \"name\": \"ResourceGroupName\",\r\n \"internalName\": \"ResourceGroupName\",\r\n \"displayName\": \"ResourceGroup Name\"\r\n }\r\n ]\r\n },\r\n {\r\n \"name\": \"DedicatedGatewayAverageMemoryUsage\",\r\n \"displayName\": \"DedicatedGatewayAverageMemoryUsage\",\r\n \"internalMetricName\": \"DedicatedGatewayMemoryUsage\",\r\n \"displayDescription\": \"Average memory usage across dedicated gateway instances, which is used for both routing requests and caching data\",\r\n \"unit\": \"Bytes\",\r\n \"aggregationType\": \"Average\",\r\n \"lockAggregationType\": \"\",\r\n \"sourceMdmAccount\": \"CosmosDBCustomer\",\r\n \"sourceMdmNamespace\": \"AzureMonitor\",\r\n \"fillGapWithZero\": false,\r\n \"category\": \"Requests\",\r\n \"resourceIdDimensionNameOverride\": \"GlobalDatabaseAccountName\",\r\n \"supportedAggregationTypes\": [\r\n \"Average\"\r\n ],\r\n \"supportedTimeGrainTypes\": [\r\n \"PT5M\"\r\n ],\r\n \"dimensions\": [\r\n {\r\n \"name\": \"Region\",\r\n \"internalName\": \"Region\"\r\n }\r\n ]\r\n },\r\n {\r\n \"name\": \"IntegratedCacheItemExpirationCount\",\r\n \"displayName\": \"IntegratedCacheItemExpirationCount\",\r\n \"internalMetricName\": \"IntegratedCacheTTLExpirationCount\",\r\n \"displayDescription\": \"Number of items evicted from the integrated cache due to TTL expiration\",\r\n \"unit\": \"Count\",\r\n \"aggregationType\": \"Average\",\r\n \"lockAggregationType\": \"\",\r\n \"sourceMdmAccount\": \"CosmosDBCustomer\",\r\n \"sourceMdmNamespace\": \"AzureMonitor\",\r\n \"fillGapWithZero\": false,\r\n \"category\": \"Requests\",\r\n \"resourceIdDimensionNameOverride\": \"GlobalDatabaseAccountName\",\r\n \"supportedAggregationTypes\": [\r\n \"Average\"\r\n ],\r\n \"supportedTimeGrainTypes\": [\r\n \"PT5M\"\r\n ],\r\n \"dimensions\": [\r\n {\r\n \"name\": \"Region\",\r\n \"internalName\": \"Region\"\r\n },\r\n {\r\n \"name\": \"CacheEntryType\",\r\n \"internalName\": \"CacheEntryType\",\r\n \"isHidden\": true,\r\n \"defaultDimensionValues\": [\r\n {\r\n \"value\": \"SqlItem\"\r\n }\r\n ]\r\n }\r\n ]\r\n }\r\n ]\r\n }\r\n }\r\n }\r\n ]\r\n}", "StatusCode": 200 } ], "Names": {}, "Variables": { - "SubscriptionId": "80be3961-0521-4a0a-8570-5cd5a4e2f98c" + "SubscriptionId": "259fbb24-9bcd-4cfc-865c-fc33b22fe38a" } } \ No newline at end of file diff --git a/sdk/cosmosdb/Microsoft.Azure.Management.CosmosDB/tests/SessionRecords/RestorableMongoOperationsTests/RestorableMongodb32Tests.json b/sdk/cosmosdb/Microsoft.Azure.Management.CosmosDB/tests/SessionRecords/RestorableMongoOperationsTests/RestorableMongodb32Tests.json deleted file mode 100644 index f769ab3b7ffa..000000000000 --- a/sdk/cosmosdb/Microsoft.Azure.Management.CosmosDB/tests/SessionRecords/RestorableMongoOperationsTests/RestorableMongodb32Tests.json +++ /dev/null @@ -1,197 +0,0 @@ -{ - "Entries": [ - { - "RequestUri": "/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/providers/Microsoft.DocumentDB/locations/eastus2/restorableDatabaseAccounts/eadac7e2-61f0-4e07-aaa1-9dbb495ec5a8/restorableMongodbDatabases?api-version=2021-03-01-preview", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvODBiZTM5NjEtMDUyMS00YTBhLTg1NzAtNWNkNWE0ZTJmOThjL3Byb3ZpZGVycy9NaWNyb3NvZnQuRG9jdW1lbnREQi9sb2NhdGlvbnMvZWFzdHVzMi9yZXN0b3JhYmxlRGF0YWJhc2VBY2NvdW50cy9lYWRhYzdlMi02MWYwLTRlMDctYWFhMS05ZGJiNDk1ZWM1YTgvcmVzdG9yYWJsZU1vbmdvZGJEYXRhYmFzZXM/YXBpLXZlcnNpb249MjAyMS0wMy0wMS1wcmV2aWV3", - "RequestMethod": "GET", - "RequestBody": "", - "RequestHeaders": { - "x-ms-client-request-id": [ - "c765f1c1-7f95-4a2e-9561-4cfb446d8d04" - ], - "Accept-Language": [ - "en-US" - ], - "User-Agent": [ - "FxVersion/5.0.321.7212", - "OSName/Windows", - "OSVersion/Microsoft.Windows.10.0.19042", - "Microsoft.Azure.Management.CosmosDB.CosmosDBManagementClient/2.0.0.0" - ] - }, - "ResponseHeaders": { - "Cache-Control": [ - "no-store, no-cache" - ], - "Pragma": [ - "no-cache" - ], - "Strict-Transport-Security": [ - "max-age=31536000; includeSubDomains" - ], - "x-ms-gatewayversion": [ - "version=2.11.0" - ], - "Server": [ - "Microsoft-HTTPAPI/2.0" - ], - "x-ms-ratelimit-remaining-subscription-reads": [ - "11999" - ], - "x-ms-request-id": [ - "4f0b4c7b-5170-4792-9385-d28c41c2035a" - ], - "x-ms-correlation-request-id": [ - "4f0b4c7b-5170-4792-9385-d28c41c2035a" - ], - "x-ms-routing-request-id": [ - "WESTUS2:20210303T172320Z:4f0b4c7b-5170-4792-9385-d28c41c2035a" - ], - "X-Content-Type-Options": [ - "nosniff" - ], - "Date": [ - "Wed, 03 Mar 2021 17:23:20 GMT" - ], - "Content-Length": [ - "1099" - ], - "Content-Type": [ - "application/json" - ] - }, - "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/providers/Microsoft.DocumentDB/locations/eastus2/restorableDatabaseAccounts/eadac7e2-61f0-4e07-aaa1-9dbb495ec5a8/restorableMongodbDatabases/5a7a2802-fd8a-4862-8839-48ff0c6a390a\",\r\n \"type\": \"Microsoft.DocumentDB/locations/restorableDatabaseAccounts/restorableMongodbDatabases\",\r\n \"name\": \"5a7a2802-fd8a-4862-8839-48ff0c6a390a\",\r\n \"properties\": {\r\n \"resource\": {\r\n \"_rid\": \"EfwNBgAAAA==\",\r\n \"eventTimestamp\": \"2020-12-15T21:54:28Z\",\r\n \"ownerId\": \"databaseA\",\r\n \"ownerResourceId\": \"mEYAAA==\",\r\n \"operationType\": \"Create\"\r\n }\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/providers/Microsoft.DocumentDB/locations/eastus2/restorableDatabaseAccounts/eadac7e2-61f0-4e07-aaa1-9dbb495ec5a8/restorableMongodbDatabases/47255013-9baf-44e9-9e28-df1e2830c433\",\r\n \"type\": \"Microsoft.DocumentDB/locations/restorableDatabaseAccounts/restorableMongodbDatabases\",\r\n \"name\": \"47255013-9baf-44e9-9e28-df1e2830c433\",\r\n \"properties\": {\r\n \"resource\": {\r\n \"_rid\": \"RRy06QAAAA==\",\r\n \"eventTimestamp\": \"2020-12-07T21:40:54Z\",\r\n \"ownerId\": \"database1\",\r\n \"ownerResourceId\": \"T4AhAA==\",\r\n \"operationType\": \"Create\"\r\n }\r\n }\r\n }\r\n ]\r\n}", - "StatusCode": 200 - }, - { - "RequestUri": "/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/providers/Microsoft.DocumentDB/locations/eastus2/restorableDatabaseAccounts/eadac7e2-61f0-4e07-aaa1-9dbb495ec5a8/restorableMongodbCollections?api-version=2021-03-01-preview&restorableMongodbDatabaseRid=T4AhAA%3D%3D", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvODBiZTM5NjEtMDUyMS00YTBhLTg1NzAtNWNkNWE0ZTJmOThjL3Byb3ZpZGVycy9NaWNyb3NvZnQuRG9jdW1lbnREQi9sb2NhdGlvbnMvZWFzdHVzMi9yZXN0b3JhYmxlRGF0YWJhc2VBY2NvdW50cy9lYWRhYzdlMi02MWYwLTRlMDctYWFhMS05ZGJiNDk1ZWM1YTgvcmVzdG9yYWJsZU1vbmdvZGJDb2xsZWN0aW9ucz9hcGktdmVyc2lvbj0yMDIxLTAzLTAxLXByZXZpZXcmcmVzdG9yYWJsZU1vbmdvZGJEYXRhYmFzZVJpZD1UNEFoQUElM0QlM0Q=", - "RequestMethod": "GET", - "RequestBody": "", - "RequestHeaders": { - "x-ms-client-request-id": [ - "76467377-7427-4aad-95ef-9522c504ef4b" - ], - "Accept-Language": [ - "en-US" - ], - "User-Agent": [ - "FxVersion/5.0.321.7212", - "OSName/Windows", - "OSVersion/Microsoft.Windows.10.0.19042", - "Microsoft.Azure.Management.CosmosDB.CosmosDBManagementClient/2.0.0.0" - ] - }, - "ResponseHeaders": { - "Cache-Control": [ - "no-store, no-cache" - ], - "Pragma": [ - "no-cache" - ], - "Strict-Transport-Security": [ - "max-age=31536000; includeSubDomains" - ], - "x-ms-gatewayversion": [ - "version=2.11.0" - ], - "Server": [ - "Microsoft-HTTPAPI/2.0" - ], - "x-ms-ratelimit-remaining-subscription-reads": [ - "11998" - ], - "x-ms-request-id": [ - "b0128812-e64d-4c86-b730-810bfab90b0b" - ], - "x-ms-correlation-request-id": [ - "b0128812-e64d-4c86-b730-810bfab90b0b" - ], - "x-ms-routing-request-id": [ - "WESTUS2:20210303T172322Z:b0128812-e64d-4c86-b730-810bfab90b0b" - ], - "X-Content-Type-Options": [ - "nosniff" - ], - "Date": [ - "Wed, 03 Mar 2021 17:23:22 GMT" - ], - "Content-Length": [ - "1673" - ], - "Content-Type": [ - "application/json" - ] - }, - "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/providers/Microsoft.DocumentDB/locations/eastus2/restorableDatabaseAccounts/eadac7e2-61f0-4e07-aaa1-9dbb495ec5a8/restorableMongodbCollections/5804563e-e0f4-4c4d-8969-e2a00499b921\",\r\n \"type\": \"Microsoft.DocumentDB/locations/restorableDatabaseAccounts/restorableMongodbCollections\",\r\n \"name\": \"5804563e-e0f4-4c4d-8969-e2a00499b921\",\r\n \"properties\": {\r\n \"resource\": {\r\n \"_rid\": \"KG0VUQAAAA==\",\r\n \"eventTimestamp\": \"2020-12-15T22:15:01Z\",\r\n \"ownerId\": \"collection3\",\r\n \"ownerResourceId\": \"T4AhAMjcskg=\",\r\n \"operationType\": \"Create\"\r\n }\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/providers/Microsoft.DocumentDB/locations/eastus2/restorableDatabaseAccounts/eadac7e2-61f0-4e07-aaa1-9dbb495ec5a8/restorableMongodbCollections/88f92ada-9739-4177-8fd3-8a6957722868\",\r\n \"type\": \"Microsoft.DocumentDB/locations/restorableDatabaseAccounts/restorableMongodbCollections\",\r\n \"name\": \"88f92ada-9739-4177-8fd3-8a6957722868\",\r\n \"properties\": {\r\n \"resource\": {\r\n \"_rid\": \"v2BYgwAAAA==\",\r\n \"eventTimestamp\": \"2020-12-07T21:43:11Z\",\r\n \"ownerId\": \"collection1\",\r\n \"ownerResourceId\": \"T4AhAIo-G1o=\",\r\n \"operationType\": \"Create\"\r\n }\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/providers/Microsoft.DocumentDB/locations/eastus2/restorableDatabaseAccounts/eadac7e2-61f0-4e07-aaa1-9dbb495ec5a8/restorableMongodbCollections/7d354f7f-c791-4b89-b0d8-506547879b17\",\r\n \"type\": \"Microsoft.DocumentDB/locations/restorableDatabaseAccounts/restorableMongodbCollections\",\r\n \"name\": \"7d354f7f-c791-4b89-b0d8-506547879b17\",\r\n \"properties\": {\r\n \"resource\": {\r\n \"_rid\": \"3vtcoQAAAA==\",\r\n \"eventTimestamp\": \"2020-12-15T21:53:50Z\",\r\n \"ownerId\": \"collection2\",\r\n \"ownerResourceId\": \"T4AhAPbkmGA=\",\r\n \"operationType\": \"Create\"\r\n }\r\n }\r\n }\r\n ]\r\n}", - "StatusCode": 200 - }, - { - "RequestUri": "/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/providers/Microsoft.DocumentDB/locations/eastus2/restorableDatabaseAccounts/eadac7e2-61f0-4e07-aaa1-9dbb495ec5a8/restorableMongodbResources?api-version=2021-03-01-preview&restoreLocation=eastus2&restoreTimestampInUtc=2021-03-01T00%3A00%3A00%2B0000", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvODBiZTM5NjEtMDUyMS00YTBhLTg1NzAtNWNkNWE0ZTJmOThjL3Byb3ZpZGVycy9NaWNyb3NvZnQuRG9jdW1lbnREQi9sb2NhdGlvbnMvZWFzdHVzMi9yZXN0b3JhYmxlRGF0YWJhc2VBY2NvdW50cy9lYWRhYzdlMi02MWYwLTRlMDctYWFhMS05ZGJiNDk1ZWM1YTgvcmVzdG9yYWJsZU1vbmdvZGJSZXNvdXJjZXM/YXBpLXZlcnNpb249MjAyMS0wMy0wMS1wcmV2aWV3JnJlc3RvcmVMb2NhdGlvbj1lYXN0dXMyJnJlc3RvcmVUaW1lc3RhbXBJblV0Yz0yMDIxLTAzLTAxVDAwJTNBMDAlM0EwMCUyQjAwMDA=", - "RequestMethod": "GET", - "RequestBody": "", - "RequestHeaders": { - "x-ms-client-request-id": [ - "502c34f4-4b26-49f1-803c-3ac2282f52ea" - ], - "Accept-Language": [ - "en-US" - ], - "User-Agent": [ - "FxVersion/5.0.321.7212", - "OSName/Windows", - "OSVersion/Microsoft.Windows.10.0.19042", - "Microsoft.Azure.Management.CosmosDB.CosmosDBManagementClient/2.0.0.0" - ] - }, - "ResponseHeaders": { - "Cache-Control": [ - "no-store, no-cache" - ], - "Pragma": [ - "no-cache" - ], - "Strict-Transport-Security": [ - "max-age=31536000; includeSubDomains" - ], - "x-ms-gatewayversion": [ - "version=2.11.0" - ], - "Server": [ - "Microsoft-HTTPAPI/2.0" - ], - "x-ms-ratelimit-remaining-subscription-reads": [ - "11997" - ], - "x-ms-request-id": [ - "cd78eea6-f79c-481b-8b24-799201614293" - ], - "x-ms-correlation-request-id": [ - "cd78eea6-f79c-481b-8b24-799201614293" - ], - "x-ms-routing-request-id": [ - "WESTUS2:20210303T172324Z:cd78eea6-f79c-481b-8b24-799201614293" - ], - "X-Content-Type-Options": [ - "nosniff" - ], - "Date": [ - "Wed, 03 Mar 2021 17:23:24 GMT" - ], - "Content-Length": [ - "152" - ], - "Content-Type": [ - "application/json" - ] - }, - "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"databaseName\": \"databaseA\",\r\n \"collectionNames\": []\r\n },\r\n {\r\n \"databaseName\": \"database1\",\r\n \"collectionNames\": [\r\n \"collection3\",\r\n \"collection1\",\r\n \"collection2\"\r\n ]\r\n }\r\n ]\r\n}", - "StatusCode": 200 - } - ], - "Names": {}, - "Variables": { - "SubscriptionId": "80be3961-0521-4a0a-8570-5cd5a4e2f98c" - } -} \ No newline at end of file diff --git a/sdk/cosmosdb/Microsoft.Azure.Management.CosmosDB/tests/SessionRecords/RestorableMongoOperationsTests/RestorableMongodb36Tests.json b/sdk/cosmosdb/Microsoft.Azure.Management.CosmosDB/tests/SessionRecords/RestorableMongoOperationsTests/RestorableMongodb36Tests.json deleted file mode 100644 index f76bca3fca98..000000000000 --- a/sdk/cosmosdb/Microsoft.Azure.Management.CosmosDB/tests/SessionRecords/RestorableMongoOperationsTests/RestorableMongodb36Tests.json +++ /dev/null @@ -1,197 +0,0 @@ -{ - "Entries": [ - { - "RequestUri": "/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/providers/Microsoft.DocumentDB/locations/eastus2/restorableDatabaseAccounts/25a04cf0-89d4-4546-9c30-14d1dc8899df/restorableMongodbDatabases?api-version=2021-03-01-preview", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvODBiZTM5NjEtMDUyMS00YTBhLTg1NzAtNWNkNWE0ZTJmOThjL3Byb3ZpZGVycy9NaWNyb3NvZnQuRG9jdW1lbnREQi9sb2NhdGlvbnMvZWFzdHVzMi9yZXN0b3JhYmxlRGF0YWJhc2VBY2NvdW50cy8yNWEwNGNmMC04OWQ0LTQ1NDYtOWMzMC0xNGQxZGM4ODk5ZGYvcmVzdG9yYWJsZU1vbmdvZGJEYXRhYmFzZXM/YXBpLXZlcnNpb249MjAyMS0wMy0wMS1wcmV2aWV3", - "RequestMethod": "GET", - "RequestBody": "", - "RequestHeaders": { - "x-ms-client-request-id": [ - "ae2c8e22-d386-4821-bd94-5a58f67f97b1" - ], - "Accept-Language": [ - "en-US" - ], - "User-Agent": [ - "FxVersion/5.0.321.7212", - "OSName/Windows", - "OSVersion/Microsoft.Windows.10.0.19042", - "Microsoft.Azure.Management.CosmosDB.CosmosDBManagementClient/2.0.0.0" - ] - }, - "ResponseHeaders": { - "Cache-Control": [ - "no-store, no-cache" - ], - "Pragma": [ - "no-cache" - ], - "Strict-Transport-Security": [ - "max-age=31536000; includeSubDomains" - ], - "x-ms-gatewayversion": [ - "version=2.11.0" - ], - "Server": [ - "Microsoft-HTTPAPI/2.0" - ], - "x-ms-ratelimit-remaining-subscription-reads": [ - "11999" - ], - "x-ms-request-id": [ - "bd6ded0d-ed16-4707-a644-2cb417764271" - ], - "x-ms-correlation-request-id": [ - "bd6ded0d-ed16-4707-a644-2cb417764271" - ], - "x-ms-routing-request-id": [ - "WESTUS2:20210303T172327Z:bd6ded0d-ed16-4707-a644-2cb417764271" - ], - "X-Content-Type-Options": [ - "nosniff" - ], - "Date": [ - "Wed, 03 Mar 2021 17:23:27 GMT" - ], - "Content-Length": [ - "1099" - ], - "Content-Type": [ - "application/json" - ] - }, - "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/providers/Microsoft.DocumentDB/locations/eastus2/restorableDatabaseAccounts/25a04cf0-89d4-4546-9c30-14d1dc8899df/restorableMongodbDatabases/e40c1e74-1788-4397-89da-18d91529e142\",\r\n \"type\": \"Microsoft.DocumentDB/locations/restorableDatabaseAccounts/restorableMongodbDatabases\",\r\n \"name\": \"e40c1e74-1788-4397-89da-18d91529e142\",\r\n \"properties\": {\r\n \"resource\": {\r\n \"_rid\": \"9xEDVwAAAA==\",\r\n \"eventTimestamp\": \"2020-12-15T21:53:30Z\",\r\n \"ownerId\": \"database1\",\r\n \"ownerResourceId\": \"wAkWAA==\",\r\n \"operationType\": \"Create\"\r\n }\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/providers/Microsoft.DocumentDB/locations/eastus2/restorableDatabaseAccounts/25a04cf0-89d4-4546-9c30-14d1dc8899df/restorableMongodbDatabases/43d9e064-66a6-4737-97ae-4eda50132f7e\",\r\n \"type\": \"Microsoft.DocumentDB/locations/restorableDatabaseAccounts/restorableMongodbDatabases\",\r\n \"name\": \"43d9e064-66a6-4737-97ae-4eda50132f7e\",\r\n \"properties\": {\r\n \"resource\": {\r\n \"_rid\": \"L+76pAAAAA==\",\r\n \"eventTimestamp\": \"2020-12-15T22:10:06Z\",\r\n \"ownerId\": \"databaseA\",\r\n \"ownerResourceId\": \"kcAtAA==\",\r\n \"operationType\": \"Create\"\r\n }\r\n }\r\n }\r\n ]\r\n}", - "StatusCode": 200 - }, - { - "RequestUri": "/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/providers/Microsoft.DocumentDB/locations/eastus2/restorableDatabaseAccounts/25a04cf0-89d4-4546-9c30-14d1dc8899df/restorableMongodbCollections?api-version=2021-03-01-preview&restorableMongodbDatabaseRid=wAkWAA%3D%3D", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvODBiZTM5NjEtMDUyMS00YTBhLTg1NzAtNWNkNWE0ZTJmOThjL3Byb3ZpZGVycy9NaWNyb3NvZnQuRG9jdW1lbnREQi9sb2NhdGlvbnMvZWFzdHVzMi9yZXN0b3JhYmxlRGF0YWJhc2VBY2NvdW50cy8yNWEwNGNmMC04OWQ0LTQ1NDYtOWMzMC0xNGQxZGM4ODk5ZGYvcmVzdG9yYWJsZU1vbmdvZGJDb2xsZWN0aW9ucz9hcGktdmVyc2lvbj0yMDIxLTAzLTAxLXByZXZpZXcmcmVzdG9yYWJsZU1vbmdvZGJEYXRhYmFzZVJpZD13QWtXQUElM0QlM0Q=", - "RequestMethod": "GET", - "RequestBody": "", - "RequestHeaders": { - "x-ms-client-request-id": [ - "c625e57f-65e7-4c49-9502-15a56ebaef6d" - ], - "Accept-Language": [ - "en-US" - ], - "User-Agent": [ - "FxVersion/5.0.321.7212", - "OSName/Windows", - "OSVersion/Microsoft.Windows.10.0.19042", - "Microsoft.Azure.Management.CosmosDB.CosmosDBManagementClient/2.0.0.0" - ] - }, - "ResponseHeaders": { - "Cache-Control": [ - "no-store, no-cache" - ], - "Pragma": [ - "no-cache" - ], - "Strict-Transport-Security": [ - "max-age=31536000; includeSubDomains" - ], - "x-ms-gatewayversion": [ - "version=2.11.0" - ], - "Server": [ - "Microsoft-HTTPAPI/2.0" - ], - "x-ms-ratelimit-remaining-subscription-reads": [ - "11998" - ], - "x-ms-request-id": [ - "2f97f87c-6bc1-48cc-877c-0545d72c82aa" - ], - "x-ms-correlation-request-id": [ - "2f97f87c-6bc1-48cc-877c-0545d72c82aa" - ], - "x-ms-routing-request-id": [ - "WESTUS2:20210303T172329Z:2f97f87c-6bc1-48cc-877c-0545d72c82aa" - ], - "X-Content-Type-Options": [ - "nosniff" - ], - "Date": [ - "Wed, 03 Mar 2021 17:23:28 GMT" - ], - "Content-Length": [ - "1673" - ], - "Content-Type": [ - "application/json" - ] - }, - "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/providers/Microsoft.DocumentDB/locations/eastus2/restorableDatabaseAccounts/25a04cf0-89d4-4546-9c30-14d1dc8899df/restorableMongodbCollections/3466ad90-f599-4f1c-b541-34bfdef939e3\",\r\n \"type\": \"Microsoft.DocumentDB/locations/restorableDatabaseAccounts/restorableMongodbCollections\",\r\n \"name\": \"3466ad90-f599-4f1c-b541-34bfdef939e3\",\r\n \"properties\": {\r\n \"resource\": {\r\n \"_rid\": \"4BgGBQAAAA==\",\r\n \"eventTimestamp\": \"2020-12-15T21:54:08Z\",\r\n \"ownerId\": \"collection1\",\r\n \"ownerResourceId\": \"wAkWANEk2DM=\",\r\n \"operationType\": \"Create\"\r\n }\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/providers/Microsoft.DocumentDB/locations/eastus2/restorableDatabaseAccounts/25a04cf0-89d4-4546-9c30-14d1dc8899df/restorableMongodbCollections/be7661f7-6fd8-4153-abdb-e3c9e08a8ce0\",\r\n \"type\": \"Microsoft.DocumentDB/locations/restorableDatabaseAccounts/restorableMongodbCollections\",\r\n \"name\": \"be7661f7-6fd8-4153-abdb-e3c9e08a8ce0\",\r\n \"properties\": {\r\n \"resource\": {\r\n \"_rid\": \"ZBIhSQAAAA==\",\r\n \"eventTimestamp\": \"2020-12-15T21:54:57Z\",\r\n \"ownerId\": \"collection2\",\r\n \"ownerResourceId\": \"wAkWALzezqU=\",\r\n \"operationType\": \"Create\"\r\n }\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/providers/Microsoft.DocumentDB/locations/eastus2/restorableDatabaseAccounts/25a04cf0-89d4-4546-9c30-14d1dc8899df/restorableMongodbCollections/af495ebb-429c-4aef-ba65-5fa3e53c18ae\",\r\n \"type\": \"Microsoft.DocumentDB/locations/restorableDatabaseAccounts/restorableMongodbCollections\",\r\n \"name\": \"af495ebb-429c-4aef-ba65-5fa3e53c18ae\",\r\n \"properties\": {\r\n \"resource\": {\r\n \"_rid\": \"BaxbUwAAAA==\",\r\n \"eventTimestamp\": \"2020-12-15T22:09:22Z\",\r\n \"ownerId\": \"collection3\",\r\n \"ownerResourceId\": \"wAkWAK3BRCs=\",\r\n \"operationType\": \"Create\"\r\n }\r\n }\r\n }\r\n ]\r\n}", - "StatusCode": 200 - }, - { - "RequestUri": "/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/providers/Microsoft.DocumentDB/locations/eastus2/restorableDatabaseAccounts/25a04cf0-89d4-4546-9c30-14d1dc8899df/restorableMongodbResources?api-version=2021-03-01-preview&restoreLocation=eastus2&restoreTimestampInUtc=2021-03-01T00%3A00%3A00%2B0000", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvODBiZTM5NjEtMDUyMS00YTBhLTg1NzAtNWNkNWE0ZTJmOThjL3Byb3ZpZGVycy9NaWNyb3NvZnQuRG9jdW1lbnREQi9sb2NhdGlvbnMvZWFzdHVzMi9yZXN0b3JhYmxlRGF0YWJhc2VBY2NvdW50cy8yNWEwNGNmMC04OWQ0LTQ1NDYtOWMzMC0xNGQxZGM4ODk5ZGYvcmVzdG9yYWJsZU1vbmdvZGJSZXNvdXJjZXM/YXBpLXZlcnNpb249MjAyMS0wMy0wMS1wcmV2aWV3JnJlc3RvcmVMb2NhdGlvbj1lYXN0dXMyJnJlc3RvcmVUaW1lc3RhbXBJblV0Yz0yMDIxLTAzLTAxVDAwJTNBMDAlM0EwMCUyQjAwMDA=", - "RequestMethod": "GET", - "RequestBody": "", - "RequestHeaders": { - "x-ms-client-request-id": [ - "02918fed-6c1d-47b0-b09b-92c04ef917d8" - ], - "Accept-Language": [ - "en-US" - ], - "User-Agent": [ - "FxVersion/5.0.321.7212", - "OSName/Windows", - "OSVersion/Microsoft.Windows.10.0.19042", - "Microsoft.Azure.Management.CosmosDB.CosmosDBManagementClient/2.0.0.0" - ] - }, - "ResponseHeaders": { - "Cache-Control": [ - "no-store, no-cache" - ], - "Pragma": [ - "no-cache" - ], - "Strict-Transport-Security": [ - "max-age=31536000; includeSubDomains" - ], - "x-ms-gatewayversion": [ - "version=2.11.0" - ], - "Server": [ - "Microsoft-HTTPAPI/2.0" - ], - "x-ms-ratelimit-remaining-subscription-reads": [ - "11997" - ], - "x-ms-request-id": [ - "97fa777a-5412-4f2a-9583-46e74b92374d" - ], - "x-ms-correlation-request-id": [ - "97fa777a-5412-4f2a-9583-46e74b92374d" - ], - "x-ms-routing-request-id": [ - "WESTUS2:20210303T172331Z:97fa777a-5412-4f2a-9583-46e74b92374d" - ], - "X-Content-Type-Options": [ - "nosniff" - ], - "Date": [ - "Wed, 03 Mar 2021 17:23:30 GMT" - ], - "Content-Length": [ - "152" - ], - "Content-Type": [ - "application/json" - ] - }, - "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"databaseName\": \"database1\",\r\n \"collectionNames\": [\r\n \"collection1\",\r\n \"collection2\",\r\n \"collection3\"\r\n ]\r\n },\r\n {\r\n \"databaseName\": \"databaseA\",\r\n \"collectionNames\": []\r\n }\r\n ]\r\n}", - "StatusCode": 200 - } - ], - "Names": {}, - "Variables": { - "SubscriptionId": "80be3961-0521-4a0a-8570-5cd5a4e2f98c" - } -} \ No newline at end of file diff --git a/sdk/cosmosdb/Microsoft.Azure.Management.CosmosDB/tests/SessionRecords/RestorableSqlOperationsTests/RestorableSqlTests.json b/sdk/cosmosdb/Microsoft.Azure.Management.CosmosDB/tests/SessionRecords/RestorableSqlOperationsTests/RestorableSqlTests.json deleted file mode 100644 index d99b671ef5a4..000000000000 --- a/sdk/cosmosdb/Microsoft.Azure.Management.CosmosDB/tests/SessionRecords/RestorableSqlOperationsTests/RestorableSqlTests.json +++ /dev/null @@ -1,323 +0,0 @@ -{ - "Entries": [ - { - "RequestUri": "/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/resourceGroups/pitr-stage-rg/providers/Microsoft.DocumentDB/databaseAccounts/pitr-sql-stage-source?api-version=2021-03-01-preview", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvODBiZTM5NjEtMDUyMS00YTBhLTg1NzAtNWNkNWE0ZTJmOThjL3Jlc291cmNlR3JvdXBzL3BpdHItc3RhZ2UtcmcvcHJvdmlkZXJzL01pY3Jvc29mdC5Eb2N1bWVudERCL2RhdGFiYXNlQWNjb3VudHMvcGl0ci1zcWwtc3RhZ2Utc291cmNlP2FwaS12ZXJzaW9uPTIwMjEtMDMtMDEtcHJldmlldw==", - "RequestMethod": "GET", - "RequestBody": "", - "RequestHeaders": { - "x-ms-client-request-id": [ - "e8de12aa-2d6c-4c87-85c7-e441605e16f9" - ], - "Accept-Language": [ - "en-US" - ], - "User-Agent": [ - "FxVersion/5.0.321.7212", - "OSName/Windows", - "OSVersion/Microsoft.Windows.10.0.19042", - "Microsoft.Azure.Management.CosmosDB.CosmosDBManagementClient/2.0.0.0" - ] - }, - "ResponseHeaders": { - "Cache-Control": [ - "no-store, no-cache" - ], - "Pragma": [ - "no-cache" - ], - "Strict-Transport-Security": [ - "max-age=31536000; includeSubDomains" - ], - "x-ms-gatewayversion": [ - "version=2.11.0" - ], - "Server": [ - "Microsoft-HTTPAPI/2.0" - ], - "x-ms-ratelimit-remaining-subscription-reads": [ - "11999" - ], - "x-ms-request-id": [ - "01f57dba-85de-4ffa-a2a8-b7117fd7ad0f" - ], - "x-ms-correlation-request-id": [ - "01f57dba-85de-4ffa-a2a8-b7117fd7ad0f" - ], - "x-ms-routing-request-id": [ - "WESTUS2:20210303T183708Z:01f57dba-85de-4ffa-a2a8-b7117fd7ad0f" - ], - "X-Content-Type-Options": [ - "nosniff" - ], - "Date": [ - "Wed, 03 Mar 2021 18:37:08 GMT" - ], - "Content-Length": [ - "2749" - ], - "Content-Type": [ - "application/json" - ] - }, - "ResponseBody": "{\r\n \"id\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/resourceGroups/pitr-stage-rg/providers/Microsoft.DocumentDB/databaseAccounts/pitr-sql-stage-source\",\r\n \"name\": \"pitr-sql-stage-source\",\r\n \"location\": \"West US 2\",\r\n \"type\": \"Microsoft.DocumentDB/databaseAccounts\",\r\n \"kind\": \"GlobalDocumentDB\",\r\n \"tags\": {},\r\n \"systemData\": {\r\n \"createdAt\": \"2020-12-08T18:18:46.0964181Z\"\r\n },\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"documentEndpoint\": \"https://pitr-sql-stage-source.documents-staging.windows-ppe.net:443/\",\r\n \"publicNetworkAccess\": \"Enabled\",\r\n \"enableAutomaticFailover\": false,\r\n \"enableMultipleWriteLocations\": false,\r\n \"enablePartitionKeyMonitor\": false,\r\n \"isVirtualNetworkFilterEnabled\": false,\r\n \"virtualNetworkRules\": [],\r\n \"EnabledApiTypes\": \"Sql\",\r\n \"disableKeyBasedMetadataWriteAccess\": false,\r\n \"enableFreeTier\": false,\r\n \"enableAnalyticalStorage\": false,\r\n \"instanceId\": \"9a4b63c3-49d1-4c87-b28e-92e92aeaa0ea\",\r\n \"createMode\": \"Default\",\r\n \"databaseAccountOfferType\": \"Standard\",\r\n \"enableCassandraConnector\": false,\r\n \"connectorOffer\": \"\",\r\n \"defaultIdentity\": \"\",\r\n \"networkAclBypass\": \"None\",\r\n \"consistencyPolicy\": {\r\n \"defaultConsistencyLevel\": \"Session\",\r\n \"maxIntervalInSeconds\": 5,\r\n \"maxStalenessPrefix\": 100\r\n },\r\n \"configurationOverrides\": {},\r\n \"writeLocations\": [\r\n {\r\n \"id\": \"pitr-sql-stage-source-westus2\",\r\n \"locationName\": \"West US 2\",\r\n \"documentEndpoint\": \"https://pitr-sql-stage-source-westus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"readLocations\": [\r\n {\r\n \"id\": \"pitr-sql-stage-source-westus2\",\r\n \"locationName\": \"West US 2\",\r\n \"documentEndpoint\": \"https://pitr-sql-stage-source-westus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n },\r\n {\r\n \"id\": \"pitr-sql-stage-source-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://pitr-sql-stage-source-eastus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 1,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"locations\": [\r\n {\r\n \"id\": \"pitr-sql-stage-source-westus2\",\r\n \"locationName\": \"West US 2\",\r\n \"documentEndpoint\": \"https://pitr-sql-stage-source-westus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n },\r\n {\r\n \"id\": \"pitr-sql-stage-source-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://pitr-sql-stage-source-eastus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 1,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"failoverPolicies\": [\r\n {\r\n \"id\": \"pitr-sql-stage-source-westus2\",\r\n \"locationName\": \"West US 2\",\r\n \"failoverPriority\": 0\r\n },\r\n {\r\n \"id\": \"pitr-sql-stage-source-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"failoverPriority\": 1\r\n }\r\n ],\r\n \"cors\": [],\r\n \"capabilities\": [],\r\n \"ipRules\": [],\r\n \"backupPolicy\": {\r\n \"type\": \"Continuous\"\r\n },\r\n \"networkAclBypassResourceIds\": []\r\n },\r\n \"identity\": {\r\n \"type\": \"None\"\r\n }\r\n}", - "StatusCode": 200 - }, - { - "RequestUri": "/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/providers/Microsoft.DocumentDB/locations/westus2/restorableDatabaseAccounts/9a4b63c3-49d1-4c87-b28e-92e92aeaa0ea?api-version=2021-03-01-preview", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvODBiZTM5NjEtMDUyMS00YTBhLTg1NzAtNWNkNWE0ZTJmOThjL3Byb3ZpZGVycy9NaWNyb3NvZnQuRG9jdW1lbnREQi9sb2NhdGlvbnMvd2VzdHVzMi9yZXN0b3JhYmxlRGF0YWJhc2VBY2NvdW50cy85YTRiNjNjMy00OWQxLTRjODctYjI4ZS05MmU5MmFlYWEwZWE/YXBpLXZlcnNpb249MjAyMS0wMy0wMS1wcmV2aWV3", - "RequestMethod": "GET", - "RequestBody": "", - "RequestHeaders": { - "x-ms-client-request-id": [ - "9cae45bb-9b1a-469e-86ee-09b68a579d92" - ], - "Accept-Language": [ - "en-US" - ], - "User-Agent": [ - "FxVersion/5.0.321.7212", - "OSName/Windows", - "OSVersion/Microsoft.Windows.10.0.19042", - "Microsoft.Azure.Management.CosmosDB.CosmosDBManagementClient/2.0.0.0" - ] - }, - "ResponseHeaders": { - "Cache-Control": [ - "no-store, no-cache" - ], - "Pragma": [ - "no-cache" - ], - "Strict-Transport-Security": [ - "max-age=31536000; includeSubDomains" - ], - "x-ms-gatewayversion": [ - "version=2.11.0" - ], - "Server": [ - "Microsoft-HTTPAPI/2.0" - ], - "x-ms-ratelimit-remaining-subscription-reads": [ - "11998" - ], - "x-ms-request-id": [ - "bad56cd0-2a68-4158-9185-5328bb43fe53" - ], - "x-ms-correlation-request-id": [ - "bad56cd0-2a68-4158-9185-5328bb43fe53" - ], - "x-ms-routing-request-id": [ - "WESTUS2:20210303T183717Z:bad56cd0-2a68-4158-9185-5328bb43fe53" - ], - "X-Content-Type-Options": [ - "nosniff" - ], - "Date": [ - "Wed, 03 Mar 2021 18:37:17 GMT" - ], - "Content-Length": [ - "724" - ], - "Content-Type": [ - "application/json" - ] - }, - "ResponseBody": "{\r\n \"name\": \"9a4b63c3-49d1-4c87-b28e-92e92aeaa0ea\",\r\n \"location\": \"West US 2\",\r\n \"type\": \"Microsoft.DocumentDB/locations/restorableDatabaseAccounts\",\r\n \"id\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/providers/Microsoft.DocumentDB/locations/westus2/restorableDatabaseAccounts/9a4b63c3-49d1-4c87-b28e-92e92aeaa0ea\",\r\n \"properties\": {\r\n \"accountName\": \"pitr-sql-stage-source\",\r\n \"apiType\": \"Sql\",\r\n \"creationTime\": \"2020-12-08T18:18:47Z\",\r\n \"restorableLocations\": [\r\n {\r\n \"locationName\": \"West US 2\",\r\n \"regionalDatabaseAccountInstanceId\": \"f61a9ed3-fcda-4603-b1e2-2baadbb6122b\",\r\n \"creationTime\": \"2020-12-08T18:18:47Z\"\r\n },\r\n {\r\n \"locationName\": \"East US 2\",\r\n \"regionalDatabaseAccountInstanceId\": \"cdd116b8-a956-43d5-b461-248f837099f4\",\r\n \"creationTime\": \"2020-12-14T21:35:14Z\"\r\n }\r\n ]\r\n }\r\n}", - "StatusCode": 200 - }, - { - "RequestUri": "/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/providers/Microsoft.DocumentDB/locations/westus2/restorableDatabaseAccounts/9a4b63c3-49d1-4c87-b28e-92e92aeaa0ea/restorableSqlDatabases?api-version=2021-03-01-preview", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvODBiZTM5NjEtMDUyMS00YTBhLTg1NzAtNWNkNWE0ZTJmOThjL3Byb3ZpZGVycy9NaWNyb3NvZnQuRG9jdW1lbnREQi9sb2NhdGlvbnMvd2VzdHVzMi9yZXN0b3JhYmxlRGF0YWJhc2VBY2NvdW50cy85YTRiNjNjMy00OWQxLTRjODctYjI4ZS05MmU5MmFlYWEwZWEvcmVzdG9yYWJsZVNxbERhdGFiYXNlcz9hcGktdmVyc2lvbj0yMDIxLTAzLTAxLXByZXZpZXc=", - "RequestMethod": "GET", - "RequestBody": "", - "RequestHeaders": { - "x-ms-client-request-id": [ - "f3563b28-efa3-4af2-8437-03b37c42f210" - ], - "Accept-Language": [ - "en-US" - ], - "User-Agent": [ - "FxVersion/5.0.321.7212", - "OSName/Windows", - "OSVersion/Microsoft.Windows.10.0.19042", - "Microsoft.Azure.Management.CosmosDB.CosmosDBManagementClient/2.0.0.0" - ] - }, - "ResponseHeaders": { - "Cache-Control": [ - "no-store, no-cache" - ], - "Pragma": [ - "no-cache" - ], - "Strict-Transport-Security": [ - "max-age=31536000; includeSubDomains" - ], - "x-ms-gatewayversion": [ - "version=2.11.0" - ], - "Server": [ - "Microsoft-HTTPAPI/2.0" - ], - "x-ms-ratelimit-remaining-subscription-reads": [ - "11997" - ], - "x-ms-request-id": [ - "b2c1e75f-350a-42c4-aaeb-581d79f89667" - ], - "x-ms-correlation-request-id": [ - "b2c1e75f-350a-42c4-aaeb-581d79f89667" - ], - "x-ms-routing-request-id": [ - "WESTUS2:20210303T183718Z:b2c1e75f-350a-42c4-aaeb-581d79f89667" - ], - "X-Content-Type-Options": [ - "nosniff" - ], - "Date": [ - "Wed, 03 Mar 2021 18:37:18 GMT" - ], - "Content-Length": [ - "1401" - ], - "Content-Type": [ - "application/json" - ] - }, - "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/providers/Microsoft.DocumentDB/locations/westus2/restorableDatabaseAccounts/9a4b63c3-49d1-4c87-b28e-92e92aeaa0ea/restorableSqlDatabases/0c05a7c6-c75b-4083-8ea7-fcb58fa2d308\",\r\n \"type\": \"Microsoft.DocumentDB/locations/restorableDatabaseAccounts/restorableSqlDatabases\",\r\n \"name\": \"0c05a7c6-c75b-4083-8ea7-fcb58fa2d308\",\r\n \"properties\": {\r\n \"resource\": {\r\n \"_rid\": \"Cw69IQAAAA==\",\r\n \"eventTimestamp\": \"2020-12-08T18:57:40Z\",\r\n \"ownerId\": \"database1\",\r\n \"ownerResourceId\": \"tTN6AA==\",\r\n \"operationType\": \"Create\",\r\n \"database\": {\r\n \"id\": \"database1\",\r\n \"_rid\": \"tTN6AA==\",\r\n \"_self\": \"dbs/tTN6AA==/\",\r\n \"_etag\": \"\\\"00004b0e-0000-0800-0000-5fcfcca40000\\\"\",\r\n \"_colls\": \"colls/\",\r\n \"_users\": \"users/\"\r\n }\r\n }\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/providers/Microsoft.DocumentDB/locations/westus2/restorableDatabaseAccounts/9a4b63c3-49d1-4c87-b28e-92e92aeaa0ea/restorableSqlDatabases/ea2425d8-c48f-4eed-b3a8-62167bc215c0\",\r\n \"type\": \"Microsoft.DocumentDB/locations/restorableDatabaseAccounts/restorableSqlDatabases\",\r\n \"name\": \"ea2425d8-c48f-4eed-b3a8-62167bc215c0\",\r\n \"properties\": {\r\n \"resource\": {\r\n \"_rid\": \"fRqZNgAAAA==\",\r\n \"eventTimestamp\": \"2020-12-09T00:03:36Z\",\r\n \"ownerId\": \"databaseA\",\r\n \"ownerResourceId\": \"IexNAA==\",\r\n \"operationType\": \"Create\",\r\n \"database\": {\r\n \"id\": \"databaseA\",\r\n \"_rid\": \"IexNAA==\",\r\n \"_self\": \"dbs/IexNAA==/\",\r\n \"_etag\": \"\\\"0000630f-0000-0800-0000-5fd014580000\\\"\",\r\n \"_colls\": \"colls/\",\r\n \"_users\": \"users/\"\r\n }\r\n }\r\n }\r\n }\r\n ]\r\n}", - "StatusCode": 200 - }, - { - "RequestUri": "/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/providers/Microsoft.DocumentDB/locations/westus2/restorableDatabaseAccounts/9a4b63c3-49d1-4c87-b28e-92e92aeaa0ea/restorableSqlContainers?api-version=2021-03-01-preview&restorableSqlDatabaseRid=tTN6AA%3D%3D", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvODBiZTM5NjEtMDUyMS00YTBhLTg1NzAtNWNkNWE0ZTJmOThjL3Byb3ZpZGVycy9NaWNyb3NvZnQuRG9jdW1lbnREQi9sb2NhdGlvbnMvd2VzdHVzMi9yZXN0b3JhYmxlRGF0YWJhc2VBY2NvdW50cy85YTRiNjNjMy00OWQxLTRjODctYjI4ZS05MmU5MmFlYWEwZWEvcmVzdG9yYWJsZVNxbENvbnRhaW5lcnM/YXBpLXZlcnNpb249MjAyMS0wMy0wMS1wcmV2aWV3JnJlc3RvcmFibGVTcWxEYXRhYmFzZVJpZD10VE42QUElM0QlM0Q=", - "RequestMethod": "GET", - "RequestBody": "", - "RequestHeaders": { - "x-ms-client-request-id": [ - "6f103f25-1213-4d24-9632-0de34e58b174" - ], - "Accept-Language": [ - "en-US" - ], - "User-Agent": [ - "FxVersion/5.0.321.7212", - "OSName/Windows", - "OSVersion/Microsoft.Windows.10.0.19042", - "Microsoft.Azure.Management.CosmosDB.CosmosDBManagementClient/2.0.0.0" - ] - }, - "ResponseHeaders": { - "Cache-Control": [ - "no-store, no-cache" - ], - "Pragma": [ - "no-cache" - ], - "Strict-Transport-Security": [ - "max-age=31536000; includeSubDomains" - ], - "x-ms-gatewayversion": [ - "version=2.11.0" - ], - "Server": [ - "Microsoft-HTTPAPI/2.0" - ], - "x-ms-ratelimit-remaining-subscription-reads": [ - "11996" - ], - "x-ms-request-id": [ - "ba7b149b-3f5d-4164-a1fe-ade32f50004f" - ], - "x-ms-correlation-request-id": [ - "ba7b149b-3f5d-4164-a1fe-ade32f50004f" - ], - "x-ms-routing-request-id": [ - "WESTUS2:20210303T183719Z:ba7b149b-3f5d-4164-a1fe-ade32f50004f" - ], - "X-Content-Type-Options": [ - "nosniff" - ], - "Date": [ - "Wed, 03 Mar 2021 18:37:19 GMT" - ], - "Content-Length": [ - "3108" - ], - "Content-Type": [ - "application/json" - ] - }, - "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/providers/Microsoft.DocumentDB/locations/westus2/restorableDatabaseAccounts/9a4b63c3-49d1-4c87-b28e-92e92aeaa0ea/restorableSqlContainers/c7ab514b-c4d5-4d6a-b091-72590d45fa72\",\r\n \"type\": \"Microsoft.DocumentDB/locations/restorableDatabaseAccounts/restorableSqlContainers\",\r\n \"name\": \"c7ab514b-c4d5-4d6a-b091-72590d45fa72\",\r\n \"properties\": {\r\n \"resource\": {\r\n \"_rid\": \"kGkmIwAAAA==\",\r\n \"eventTimestamp\": \"2020-12-08T18:57:51Z\",\r\n \"ownerId\": \"container1\",\r\n \"ownerResourceId\": \"tTN6ANDT5qs=\",\r\n \"operationType\": \"Create\",\r\n \"container\": {\r\n \"id\": \"container1\",\r\n \"indexingPolicy\": {\r\n \"indexingMode\": \"consistent\",\r\n \"automatic\": true,\r\n \"supportSpatialLegacyCoordinates\": false,\r\n \"usePolygonsSmallerThanAHemisphere\": false,\r\n \"includedPaths\": [\r\n {\r\n \"path\": \"/*\"\r\n },\r\n {\r\n \"path\": \"/\\\"_ts\\\"/?\"\r\n }\r\n ],\r\n \"excludedPaths\": [\r\n {\r\n \"path\": \"/\\\"_etag\\\"/?\"\r\n }\r\n ]\r\n },\r\n \"partitionKey\": {\r\n \"paths\": [\r\n \"/id\"\r\n ],\r\n \"kind\": \"Hash\"\r\n },\r\n \"uniqueKeyPolicy\": {\r\n \"uniqueKeys\": []\r\n },\r\n \"internalIndexingProperties\": {\r\n \"enableIndexingFullFidelity\": true,\r\n \"logicalIndexVersion\": 2,\r\n \"indexEncodingOptions\": 65567\r\n },\r\n \"conflictResolutionPolicy\": {\r\n \"mode\": \"LastWriterWins\",\r\n \"conflictResolutionPath\": \"/_ts\",\r\n \"conflictResolutionProcedure\": \"\"\r\n },\r\n \"backupPolicy\": {\r\n \"type\": 1\r\n },\r\n \"allowMaterializedViews\": false,\r\n \"geospatialConfig\": {\r\n \"type\": \"Geography\"\r\n },\r\n \"typeSystemPolicy\": {\r\n \"typeSystem\": \"CosmosCore\"\r\n },\r\n \"uniqueIndexNameEncodingMode\": 1,\r\n \"_idxpolicyver\": 2,\r\n \"_rid\": \"tTN6ANDT5qs=\",\r\n \"_self\": \"dbs/tTN6AA==/colls/tTN6ANDT5qs=/\",\r\n \"_etag\": \"\\\"00004e0e-0000-0800-0000-5fcfccaf0000\\\"\",\r\n \"_docs\": \"docs/\",\r\n \"_sprocs\": \"sprocs/\",\r\n \"_triggers\": \"triggers/\",\r\n \"_udfs\": \"udfs/\",\r\n \"_conflicts\": \"conflicts/\"\r\n }\r\n }\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/providers/Microsoft.DocumentDB/locations/westus2/restorableDatabaseAccounts/9a4b63c3-49d1-4c87-b28e-92e92aeaa0ea/restorableSqlContainers/8b7744e7-64b6-4feb-a1d5-eff731830769\",\r\n \"type\": \"Microsoft.DocumentDB/locations/restorableDatabaseAccounts/restorableSqlContainers\",\r\n \"name\": \"8b7744e7-64b6-4feb-a1d5-eff731830769\",\r\n \"properties\": {\r\n \"resource\": {\r\n \"_rid\": \"Zhi9NwAAAA==\",\r\n \"eventTimestamp\": \"2020-12-08T19:00:03Z\",\r\n \"ownerId\": \"container2\",\r\n \"ownerResourceId\": \"tTN6ALcE1cc=\",\r\n \"operationType\": \"Create\",\r\n \"container\": {\r\n \"id\": \"container2\",\r\n \"indexingPolicy\": {\r\n \"indexingMode\": \"consistent\",\r\n \"automatic\": true,\r\n \"supportSpatialLegacyCoordinates\": false,\r\n \"usePolygonsSmallerThanAHemisphere\": false,\r\n \"includedPaths\": [\r\n {\r\n \"path\": \"/*\"\r\n },\r\n {\r\n \"path\": \"/\\\"_ts\\\"/?\"\r\n }\r\n ],\r\n \"excludedPaths\": [\r\n {\r\n \"path\": \"/\\\"_etag\\\"/?\"\r\n }\r\n ]\r\n },\r\n \"partitionKey\": {\r\n \"paths\": [\r\n \"/zip\"\r\n ],\r\n \"kind\": \"Hash\"\r\n },\r\n \"uniqueKeyPolicy\": {\r\n \"uniqueKeys\": []\r\n },\r\n \"internalIndexingProperties\": {\r\n \"enableIndexingFullFidelity\": true,\r\n \"logicalIndexVersion\": 2,\r\n \"indexEncodingOptions\": 65567\r\n },\r\n \"conflictResolutionPolicy\": {\r\n \"mode\": \"LastWriterWins\",\r\n \"conflictResolutionPath\": \"/_ts\",\r\n \"conflictResolutionProcedure\": \"\"\r\n },\r\n \"backupPolicy\": {\r\n \"type\": 1\r\n },\r\n \"allowMaterializedViews\": false,\r\n \"geospatialConfig\": {\r\n \"type\": \"Geography\"\r\n },\r\n \"typeSystemPolicy\": {\r\n \"typeSystem\": \"CosmosCore\"\r\n },\r\n \"uniqueIndexNameEncodingMode\": 1,\r\n \"_idxpolicyver\": 2,\r\n \"_rid\": \"tTN6ALcE1cc=\",\r\n \"_self\": \"dbs/tTN6AA==/colls/tTN6ALcE1cc=/\",\r\n \"_etag\": \"\\\"0000550e-0000-0800-0000-5fcfcd330000\\\"\",\r\n \"_docs\": \"docs/\",\r\n \"_sprocs\": \"sprocs/\",\r\n \"_triggers\": \"triggers/\",\r\n \"_udfs\": \"udfs/\",\r\n \"_conflicts\": \"conflicts/\"\r\n }\r\n }\r\n }\r\n }\r\n ]\r\n}", - "StatusCode": 200 - }, - { - "RequestUri": "/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/providers/Microsoft.DocumentDB/locations/westus2/restorableDatabaseAccounts/9a4b63c3-49d1-4c87-b28e-92e92aeaa0ea/restorableSqlResources?api-version=2021-03-01-preview&restoreLocation=westus2&restoreTimestampInUtc=2021-03-01T00%3A00%3A00%2B0000", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvODBiZTM5NjEtMDUyMS00YTBhLTg1NzAtNWNkNWE0ZTJmOThjL3Byb3ZpZGVycy9NaWNyb3NvZnQuRG9jdW1lbnREQi9sb2NhdGlvbnMvd2VzdHVzMi9yZXN0b3JhYmxlRGF0YWJhc2VBY2NvdW50cy85YTRiNjNjMy00OWQxLTRjODctYjI4ZS05MmU5MmFlYWEwZWEvcmVzdG9yYWJsZVNxbFJlc291cmNlcz9hcGktdmVyc2lvbj0yMDIxLTAzLTAxLXByZXZpZXcmcmVzdG9yZUxvY2F0aW9uPXdlc3R1czImcmVzdG9yZVRpbWVzdGFtcEluVXRjPTIwMjEtMDMtMDFUMDAlM0EwMCUzQTAwJTJCMDAwMA==", - "RequestMethod": "GET", - "RequestBody": "", - "RequestHeaders": { - "x-ms-client-request-id": [ - "2729cb13-82b8-4a15-9e2c-e53e0de9f7b9" - ], - "Accept-Language": [ - "en-US" - ], - "User-Agent": [ - "FxVersion/5.0.321.7212", - "OSName/Windows", - "OSVersion/Microsoft.Windows.10.0.19042", - "Microsoft.Azure.Management.CosmosDB.CosmosDBManagementClient/2.0.0.0" - ] - }, - "ResponseHeaders": { - "Cache-Control": [ - "no-store, no-cache" - ], - "Pragma": [ - "no-cache" - ], - "Strict-Transport-Security": [ - "max-age=31536000; includeSubDomains" - ], - "x-ms-gatewayversion": [ - "version=2.11.0" - ], - "Server": [ - "Microsoft-HTTPAPI/2.0" - ], - "x-ms-ratelimit-remaining-subscription-reads": [ - "11995" - ], - "x-ms-request-id": [ - "89288176-80a2-437d-86f5-31076f97de39" - ], - "x-ms-correlation-request-id": [ - "89288176-80a2-437d-86f5-31076f97de39" - ], - "x-ms-routing-request-id": [ - "WESTUS2:20210303T183720Z:89288176-80a2-437d-86f5-31076f97de39" - ], - "X-Content-Type-Options": [ - "nosniff" - ], - "Date": [ - "Wed, 03 Mar 2021 18:37:19 GMT" - ], - "Content-Length": [ - "136" - ], - "Content-Type": [ - "application/json" - ] - }, - "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"databaseName\": \"database1\",\r\n \"collectionNames\": [\r\n \"container1\",\r\n \"container2\"\r\n ]\r\n },\r\n {\r\n \"databaseName\": \"databaseA\",\r\n \"collectionNames\": []\r\n }\r\n ]\r\n}", - "StatusCode": 200 - } - ], - "Names": {}, - "Variables": { - "SubscriptionId": "80be3961-0521-4a0a-8570-5cd5a4e2f98c" - } -} \ No newline at end of file diff --git a/sdk/cosmosdb/Microsoft.Azure.Management.CosmosDB/tests/SessionRecords/RestoreDatabaseAccountOperationsTests/RestoreDatabaseAccountFeedTests.json b/sdk/cosmosdb/Microsoft.Azure.Management.CosmosDB/tests/SessionRecords/RestoreDatabaseAccountOperationsTests/RestoreDatabaseAccountFeedTests.json index 20e8da836bfd..7a096801cdea 100644 --- a/sdk/cosmosdb/Microsoft.Azure.Management.CosmosDB/tests/SessionRecords/RestoreDatabaseAccountOperationsTests/RestoreDatabaseAccountFeedTests.json +++ b/sdk/cosmosdb/Microsoft.Azure.Management.CosmosDB/tests/SessionRecords/RestoreDatabaseAccountOperationsTests/RestoreDatabaseAccountFeedTests.json @@ -1,22 +1,82 @@ { "Entries": [ { - "RequestUri": "/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/resourceGroups/pitr-stage-rg/providers/Microsoft.DocumentDB/databaseAccounts/pitr-sql-stage-source?api-version=2021-03-01-preview", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvODBiZTM5NjEtMDUyMS00YTBhLTg1NzAtNWNkNWE0ZTJmOThjL3Jlc291cmNlR3JvdXBzL3BpdHItc3RhZ2UtcmcvcHJvdmlkZXJzL01pY3Jvc29mdC5Eb2N1bWVudERCL2RhdGFiYXNlQWNjb3VudHMvcGl0ci1zcWwtc3RhZ2Utc291cmNlP2FwaS12ZXJzaW9uPTIwMjEtMDMtMDEtcHJldmlldw==", + "RequestUri": "/providers/Microsoft.DocumentDB/databaseAccountNames/pitr-sql-stage-source?api-version=2021-06-15", + "EncodedRequestUri": "L3Byb3ZpZGVycy9NaWNyb3NvZnQuRG9jdW1lbnREQi9kYXRhYmFzZUFjY291bnROYW1lcy9waXRyLXNxbC1zdGFnZS1zb3VyY2U/YXBpLXZlcnNpb249MjAyMS0wNi0xNQ==", + "RequestMethod": "HEAD", + "RequestBody": "", + "RequestHeaders": { + "x-ms-client-request-id": [ + "e588320e-2d70-406d-ae06-e3a310ca6f15" + ], + "Accept-Language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.28207.03", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.19043.", + "Microsoft.Azure.Management.CosmosDB.CosmosDBManagementClient/3.0.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-store, no-cache" + ], + "Pragma": [ + "no-cache" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-activity-id": [ + "e588320e-2d70-406d-ae06-e3a310ca6f15" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ], + "x-ms-ratelimit-remaining-tenant-reads": [ + "11999" + ], + "x-ms-request-id": [ + "8aa45bca-0cb1-41a2-a33c-acfbee47a05d" + ], + "x-ms-correlation-request-id": [ + "8aa45bca-0cb1-41a2-a33c-acfbee47a05d" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20210616T071619Z:8aa45bca-0cb1-41a2-a33c-acfbee47a05d" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Wed, 16 Jun 2021 07:16:19 GMT" + ], + "Content-Length": [ + "0" + ] + }, + "ResponseBody": "", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/259fbb24-9bcd-4cfc-865c-fc33b22fe38a/resourceGroups/CosmosDBResourceGroup3668/providers/Microsoft.DocumentDB/databaseAccounts/pitr-sql-stage-source?api-version=2021-06-15", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMjU5ZmJiMjQtOWJjZC00Y2ZjLTg2NWMtZmMzM2IyMmZlMzhhL3Jlc291cmNlR3JvdXBzL0Nvc21vc0RCUmVzb3VyY2VHcm91cDM2NjgvcHJvdmlkZXJzL01pY3Jvc29mdC5Eb2N1bWVudERCL2RhdGFiYXNlQWNjb3VudHMvcGl0ci1zcWwtc3RhZ2Utc291cmNlP2FwaS12ZXJzaW9uPTIwMjEtMDYtMTU=", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { "x-ms-client-request-id": [ - "ae0f51c9-01c6-4cb3-bd66-fd63410aa096" + "61995d54-83f3-42c5-81bb-b5b7f1d2bbe2" ], "Accept-Language": [ "en-US" ], "User-Agent": [ - "FxVersion/5.0.321.7212", + "FxVersion/4.6.28207.03", "OSName/Windows", - "OSVersion/Microsoft.Windows.10.0.19042", - "Microsoft.Azure.Management.CosmosDB.CosmosDBManagementClient/2.0.0.0" + "OSVersion/Microsoft.Windows.10.0.19043.", + "Microsoft.Azure.Management.CosmosDB.CosmosDBManagementClient/3.0.0.0" ] }, "ResponseHeaders": { @@ -30,7 +90,7 @@ "max-age=31536000; includeSubDomains" ], "x-ms-gatewayversion": [ - "version=2.11.0" + "version=2.14.0" ], "Server": [ "Microsoft-HTTPAPI/2.0" @@ -39,242 +99,236 @@ "11999" ], "x-ms-request-id": [ - "38b9906d-c653-49b5-9c2f-15e75e88ac98" + "3870fe2d-63b9-4ebf-b162-15b8cfcf90b5" ], "x-ms-correlation-request-id": [ - "38b9906d-c653-49b5-9c2f-15e75e88ac98" + "3870fe2d-63b9-4ebf-b162-15b8cfcf90b5" ], "x-ms-routing-request-id": [ - "WESTUS2:20210303T174900Z:38b9906d-c653-49b5-9c2f-15e75e88ac98" + "WESTUS2:20210616T071620Z:3870fe2d-63b9-4ebf-b162-15b8cfcf90b5" ], "X-Content-Type-Options": [ "nosniff" ], "Date": [ - "Wed, 03 Mar 2021 17:48:59 GMT" + "Wed, 16 Jun 2021 07:16:19 GMT" ], "Content-Length": [ - "2749" + "2265" ], "Content-Type": [ "application/json" ] }, - "ResponseBody": "{\r\n \"id\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/resourceGroups/pitr-stage-rg/providers/Microsoft.DocumentDB/databaseAccounts/pitr-sql-stage-source\",\r\n \"name\": \"pitr-sql-stage-source\",\r\n \"location\": \"West US 2\",\r\n \"type\": \"Microsoft.DocumentDB/databaseAccounts\",\r\n \"kind\": \"GlobalDocumentDB\",\r\n \"tags\": {},\r\n \"systemData\": {\r\n \"createdAt\": \"2020-12-08T18:18:46.0964181Z\"\r\n },\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"documentEndpoint\": \"https://pitr-sql-stage-source.documents-staging.windows-ppe.net:443/\",\r\n \"publicNetworkAccess\": \"Enabled\",\r\n \"enableAutomaticFailover\": false,\r\n \"enableMultipleWriteLocations\": false,\r\n \"enablePartitionKeyMonitor\": false,\r\n \"isVirtualNetworkFilterEnabled\": false,\r\n \"virtualNetworkRules\": [],\r\n \"EnabledApiTypes\": \"Sql\",\r\n \"disableKeyBasedMetadataWriteAccess\": false,\r\n \"enableFreeTier\": false,\r\n \"enableAnalyticalStorage\": false,\r\n \"instanceId\": \"9a4b63c3-49d1-4c87-b28e-92e92aeaa0ea\",\r\n \"createMode\": \"Default\",\r\n \"databaseAccountOfferType\": \"Standard\",\r\n \"enableCassandraConnector\": false,\r\n \"connectorOffer\": \"\",\r\n \"defaultIdentity\": \"\",\r\n \"networkAclBypass\": \"None\",\r\n \"consistencyPolicy\": {\r\n \"defaultConsistencyLevel\": \"Session\",\r\n \"maxIntervalInSeconds\": 5,\r\n \"maxStalenessPrefix\": 100\r\n },\r\n \"configurationOverrides\": {},\r\n \"writeLocations\": [\r\n {\r\n \"id\": \"pitr-sql-stage-source-westus2\",\r\n \"locationName\": \"West US 2\",\r\n \"documentEndpoint\": \"https://pitr-sql-stage-source-westus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"readLocations\": [\r\n {\r\n \"id\": \"pitr-sql-stage-source-westus2\",\r\n \"locationName\": \"West US 2\",\r\n \"documentEndpoint\": \"https://pitr-sql-stage-source-westus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n },\r\n {\r\n \"id\": \"pitr-sql-stage-source-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://pitr-sql-stage-source-eastus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 1,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"locations\": [\r\n {\r\n \"id\": \"pitr-sql-stage-source-westus2\",\r\n \"locationName\": \"West US 2\",\r\n \"documentEndpoint\": \"https://pitr-sql-stage-source-westus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n },\r\n {\r\n \"id\": \"pitr-sql-stage-source-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://pitr-sql-stage-source-eastus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 1,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"failoverPolicies\": [\r\n {\r\n \"id\": \"pitr-sql-stage-source-westus2\",\r\n \"locationName\": \"West US 2\",\r\n \"failoverPriority\": 0\r\n },\r\n {\r\n \"id\": \"pitr-sql-stage-source-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"failoverPriority\": 1\r\n }\r\n ],\r\n \"cors\": [],\r\n \"capabilities\": [],\r\n \"ipRules\": [],\r\n \"backupPolicy\": {\r\n \"type\": \"Continuous\"\r\n },\r\n \"networkAclBypassResourceIds\": []\r\n },\r\n \"identity\": {\r\n \"type\": \"None\"\r\n }\r\n}", + "ResponseBody": "{\r\n \"id\": \"/subscriptions/259fbb24-9bcd-4cfc-865c-fc33b22fe38a/resourceGroups/CosmosDBResourceGroup3668/providers/Microsoft.DocumentDB/databaseAccounts/pitr-sql-stage-source\",\r\n \"name\": \"pitr-sql-stage-source\",\r\n \"location\": \"East US 2\",\r\n \"type\": \"Microsoft.DocumentDB/databaseAccounts\",\r\n \"kind\": \"GlobalDocumentDB\",\r\n \"tags\": {\r\n \"defaultExperience\": \"Core (SQL)\",\r\n \"hidden-cosmos-mmspecial\": \"\"\r\n },\r\n \"systemData\": {\r\n \"createdAt\": \"2021-06-02T23:30:42.158286Z\"\r\n },\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"documentEndpoint\": \"https://pitr-sql-stage-source.documents.azure.com:443/\",\r\n \"publicNetworkAccess\": \"Enabled\",\r\n \"enableAutomaticFailover\": false,\r\n \"enableMultipleWriteLocations\": false,\r\n \"enablePartitionKeyMonitor\": false,\r\n \"isVirtualNetworkFilterEnabled\": false,\r\n \"virtualNetworkRules\": [],\r\n \"EnabledApiTypes\": \"Sql\",\r\n \"disableKeyBasedMetadataWriteAccess\": false,\r\n \"enableFreeTier\": false,\r\n \"enableAnalyticalStorage\": false,\r\n \"analyticalStorageConfiguration\": {\r\n \"analyticalStorageSchemaType\": \"WellDefined\"\r\n },\r\n \"instanceId\": \"c6b53e1d-0dec-4ff2-ab70-2e9d24a3ed27\",\r\n \"createMode\": \"Default\",\r\n \"databaseAccountOfferType\": \"Standard\",\r\n \"defaultIdentity\": \"FirstPartyIdentity\",\r\n \"networkAclBypass\": \"None\",\r\n \"disableLocalAuth\": false,\r\n \"consistencyPolicy\": {\r\n \"defaultConsistencyLevel\": \"Session\",\r\n \"maxIntervalInSeconds\": 5,\r\n \"maxStalenessPrefix\": 100\r\n },\r\n \"configurationOverrides\": {},\r\n \"writeLocations\": [\r\n {\r\n \"id\": \"pitr-sql-stage-source-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://pitr-sql-stage-source-eastus2.documents.azure.com:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"readLocations\": [\r\n {\r\n \"id\": \"pitr-sql-stage-source-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://pitr-sql-stage-source-eastus2.documents.azure.com:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"locations\": [\r\n {\r\n \"id\": \"pitr-sql-stage-source-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://pitr-sql-stage-source-eastus2.documents.azure.com:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"failoverPolicies\": [\r\n {\r\n \"id\": \"pitr-sql-stage-source-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"failoverPriority\": 0\r\n }\r\n ],\r\n \"cors\": [],\r\n \"capabilities\": [],\r\n \"ipRules\": [],\r\n \"backupPolicy\": {\r\n \"type\": \"Continuous\"\r\n },\r\n \"networkAclBypassResourceIds\": []\r\n },\r\n \"identity\": {\r\n \"type\": \"None\"\r\n }\r\n}", "StatusCode": 200 }, { - "RequestUri": "/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/providers/Microsoft.DocumentDB/restorableDatabaseAccounts?api-version=2021-03-01-preview", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvODBiZTM5NjEtMDUyMS00YTBhLTg1NzAtNWNkNWE0ZTJmOThjL3Byb3ZpZGVycy9NaWNyb3NvZnQuRG9jdW1lbnREQi9yZXN0b3JhYmxlRGF0YWJhc2VBY2NvdW50cz9hcGktdmVyc2lvbj0yMDIxLTAzLTAxLXByZXZpZXc=", + "RequestUri": "/subscriptions/259fbb24-9bcd-4cfc-865c-fc33b22fe38a/providers/Microsoft.DocumentDB/locations/eastus2/restorableDatabaseAccounts?api-version=2021-06-15", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMjU5ZmJiMjQtOWJjZC00Y2ZjLTg2NWMtZmMzM2IyMmZlMzhhL3Byb3ZpZGVycy9NaWNyb3NvZnQuRG9jdW1lbnREQi9sb2NhdGlvbnMvZWFzdHVzMi9yZXN0b3JhYmxlRGF0YWJhc2VBY2NvdW50cz9hcGktdmVyc2lvbj0yMDIxLTA2LTE1", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { "x-ms-client-request-id": [ - "64628f64-d6dc-48b0-bc9f-dbbd63872344" + "b4782640-d90e-4cec-ab25-dc7c28e6d442" ], "Accept-Language": [ "en-US" ], "User-Agent": [ - "FxVersion/5.0.321.7212", + "FxVersion/4.6.28207.03", "OSName/Windows", - "OSVersion/Microsoft.Windows.10.0.19042", - "Microsoft.Azure.Management.CosmosDB.CosmosDBManagementClient/2.0.0.0" + "OSVersion/Microsoft.Windows.10.0.19043.", + "Microsoft.Azure.Management.CosmosDB.CosmosDBManagementClient/3.0.0.0" ] }, "ResponseHeaders": { "Cache-Control": [ - "no-cache" + "no-store, no-cache" ], "Pragma": [ "no-cache" ], - "x-ms-original-request-ids": [ - "", - "", - "" + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-gatewayversion": [ + "version=2.14.0" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" ], "x-ms-ratelimit-remaining-subscription-reads": [ "11998" ], "x-ms-request-id": [ - "0af4ad7f-5ffc-4dd9-8ec3-7580ceb57f78" + "6aabfc1a-b614-410b-93bb-1463ecf329c6" ], "x-ms-correlation-request-id": [ - "0af4ad7f-5ffc-4dd9-8ec3-7580ceb57f78" + "6aabfc1a-b614-410b-93bb-1463ecf329c6" ], "x-ms-routing-request-id": [ - "WESTUS2:20210303T174923Z:0af4ad7f-5ffc-4dd9-8ec3-7580ceb57f78" - ], - "Strict-Transport-Security": [ - "max-age=31536000; includeSubDomains" + "WESTUS2:20210616T071620Z:6aabfc1a-b614-410b-93bb-1463ecf329c6" ], "X-Content-Type-Options": [ "nosniff" ], "Date": [ - "Wed, 03 Mar 2021 17:49:23 GMT" - ], - "Content-Type": [ - "application/json; charset=utf-8" - ], - "Expires": [ - "-1" + "Wed, 16 Jun 2021 07:16:20 GMT" ], "Content-Length": [ - "46781" + "13637" + ], + "Content-Type": [ + "application/json" ] }, - "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"name\": \"5dee0717-8f84-40d7-b7c1-921552ba61a5\",\r\n \"location\": \"West US 2\",\r\n \"type\": \"Microsoft.DocumentDB/locations/restorableDatabaseAccounts\",\r\n \"id\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/providers/Microsoft.DocumentDB/locations/westus2/restorableDatabaseAccounts/5dee0717-8f84-40d7-b7c1-921552ba61a5\",\r\n \"properties\": {\r\n \"accountName\": \"vinhstagepitr\",\r\n \"apiType\": \"Sql\",\r\n \"creationTime\": \"2020-11-02T23:44:14Z\",\r\n \"restorableLocations\": [\r\n {\r\n \"locationName\": \"West US 2\",\r\n \"regionalDatabaseAccountInstanceId\": \"30d6cace-8354-4e1f-b427-4f234f46df87\",\r\n \"creationTime\": \"2020-11-02T23:44:14Z\"\r\n }\r\n ]\r\n }\r\n },\r\n {\r\n \"name\": \"5cfa410f-ea0c-4995-aa59-9809a69c21f8\",\r\n \"location\": \"West US 2\",\r\n \"type\": \"Microsoft.DocumentDB/locations/restorableDatabaseAccounts\",\r\n \"id\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/providers/Microsoft.DocumentDB/locations/westus2/restorableDatabaseAccounts/5cfa410f-ea0c-4995-aa59-9809a69c21f8\",\r\n \"properties\": {\r\n \"accountName\": \"vinhstagemongopitr\",\r\n \"apiType\": \"MongoDB\",\r\n \"creationTime\": \"2020-11-25T17:07:33Z\",\r\n \"restorableLocations\": [\r\n {\r\n \"locationName\": \"West US 2\",\r\n \"regionalDatabaseAccountInstanceId\": \"4ecfc265-e4d3-4638-a225-1932760404ee\",\r\n \"creationTime\": \"2020-11-25T17:07:34Z\"\r\n }\r\n ]\r\n }\r\n },\r\n {\r\n \"name\": \"2b5e6412-19dc-4d79-88ae-178f5e30dd78\",\r\n \"location\": \"West US 2\",\r\n \"type\": \"Microsoft.DocumentDB/locations/restorableDatabaseAccounts\",\r\n \"id\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/providers/Microsoft.DocumentDB/locations/westus2/restorableDatabaseAccounts/2b5e6412-19dc-4d79-88ae-178f5e30dd78\",\r\n \"properties\": {\r\n \"accountName\": \"test-virangai-vinhstagemongopitr-del-res1\",\r\n \"apiType\": \"MongoDB\",\r\n \"creationTime\": \"2020-11-30T23:17:02Z\",\r\n \"restorableLocations\": [\r\n {\r\n \"locationName\": \"West US 2\",\r\n \"regionalDatabaseAccountInstanceId\": \"a35683c3-cf9b-4378-a290-fb3ab8e741f9\",\r\n \"creationTime\": \"2020-11-30T23:17:02Z\"\r\n }\r\n ]\r\n }\r\n },\r\n {\r\n \"name\": \"9a4b63c3-49d1-4c87-b28e-92e92aeaa0ea\",\r\n \"location\": \"West US 2\",\r\n \"type\": \"Microsoft.DocumentDB/locations/restorableDatabaseAccounts\",\r\n \"id\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/providers/Microsoft.DocumentDB/locations/westus2/restorableDatabaseAccounts/9a4b63c3-49d1-4c87-b28e-92e92aeaa0ea\",\r\n \"properties\": {\r\n \"accountName\": \"pitr-sql-stage-source\",\r\n \"apiType\": \"Sql\",\r\n \"creationTime\": \"2020-12-08T18:18:47Z\",\r\n \"restorableLocations\": [\r\n {\r\n \"locationName\": \"West US 2\",\r\n \"regionalDatabaseAccountInstanceId\": \"f61a9ed3-fcda-4603-b1e2-2baadbb6122b\",\r\n \"creationTime\": \"2020-12-08T18:18:47Z\"\r\n },\r\n {\r\n \"locationName\": \"East US 2\",\r\n \"regionalDatabaseAccountInstanceId\": \"cdd116b8-a956-43d5-b461-248f837099f4\",\r\n \"creationTime\": \"2020-12-14T21:35:14Z\"\r\n }\r\n ]\r\n }\r\n },\r\n {\r\n \"name\": \"7d98d6c0-eadf-4d7e-a166-696de37c91fc\",\r\n \"location\": \"West US 2\",\r\n \"type\": \"Microsoft.DocumentDB/locations/restorableDatabaseAccounts\",\r\n \"id\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/providers/Microsoft.DocumentDB/locations/westus2/restorableDatabaseAccounts/7d98d6c0-eadf-4d7e-a166-696de37c91fc\",\r\n \"properties\": {\r\n \"accountName\": \"restore-test1\",\r\n \"apiType\": \"Sql\",\r\n \"creationTime\": \"2020-12-08T21:44:47Z\",\r\n \"restorableLocations\": [\r\n {\r\n \"locationName\": \"West US 2\",\r\n \"regionalDatabaseAccountInstanceId\": \"208a7933-2e44-4df1-9c96-97e28ae92d8f\",\r\n \"creationTime\": \"2020-12-08T21:44:47Z\"\r\n }\r\n ]\r\n }\r\n },\r\n {\r\n \"name\": \"08155af7-e63f-4db1-82ed-c99b8a08e541\",\r\n \"location\": \"West US 2\",\r\n \"type\": \"Microsoft.DocumentDB/locations/restorableDatabaseAccounts\",\r\n \"id\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/providers/Microsoft.DocumentDB/locations/westus2/restorableDatabaseAccounts/08155af7-e63f-4db1-82ed-c99b8a08e541\",\r\n \"properties\": {\r\n \"accountName\": \"test-virangai-vinhstagemongopitr-1\",\r\n \"apiType\": \"MongoDB\",\r\n \"creationTime\": \"2020-12-09T10:37:08Z\",\r\n \"restorableLocations\": [\r\n {\r\n \"locationName\": \"West US 2\",\r\n \"regionalDatabaseAccountInstanceId\": \"8c045a40-c3b5-4025-a270-156b748fd08b\",\r\n \"creationTime\": \"2020-12-09T10:37:08Z\"\r\n }\r\n ]\r\n }\r\n },\r\n {\r\n \"name\": \"d0cb2ece-f253-4f20-86d0-01897e729eba\",\r\n \"location\": \"West US 2\",\r\n \"type\": \"Microsoft.DocumentDB/locations/restorableDatabaseAccounts\",\r\n \"id\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/providers/Microsoft.DocumentDB/locations/westus2/restorableDatabaseAccounts/d0cb2ece-f253-4f20-86d0-01897e729eba\",\r\n \"properties\": {\r\n \"accountName\": \"virangai-test-vinhstagepitr-restore1\",\r\n \"apiType\": \"Sql\",\r\n \"creationTime\": \"2020-12-10T02:08:18Z\",\r\n \"restorableLocations\": [\r\n {\r\n \"locationName\": \"West US 2\",\r\n \"regionalDatabaseAccountInstanceId\": \"d4a86ba4-38f5-46ba-b0ae-724d5508b551\",\r\n \"creationTime\": \"2020-12-10T02:08:18Z\"\r\n }\r\n ]\r\n }\r\n },\r\n {\r\n \"name\": \"9373a8d7-1889-4be9-9ddb-e589e406d04b\",\r\n \"location\": \"West US 2\",\r\n \"type\": \"Microsoft.DocumentDB/locations/restorableDatabaseAccounts\",\r\n \"id\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/providers/Microsoft.DocumentDB/locations/westus2/restorableDatabaseAccounts/9373a8d7-1889-4be9-9ddb-e589e406d04b\",\r\n \"properties\": {\r\n \"accountName\": \"virangai-test-vinhstagepitr-restore2\",\r\n \"apiType\": \"Sql\",\r\n \"creationTime\": \"2020-12-10T03:12:31Z\",\r\n \"restorableLocations\": [\r\n {\r\n \"locationName\": \"West US 2\",\r\n \"regionalDatabaseAccountInstanceId\": \"c2374cdf-00cc-42e3-887e-4824532ff3e7\",\r\n \"creationTime\": \"2020-12-10T03:12:31Z\"\r\n }\r\n ]\r\n }\r\n },\r\n {\r\n \"name\": \"530b269d-274b-4987-94e1-f54b09abecff\",\r\n \"location\": \"West US 2\",\r\n \"type\": \"Microsoft.DocumentDB/locations/restorableDatabaseAccounts\",\r\n \"id\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/providers/Microsoft.DocumentDB/locations/westus2/restorableDatabaseAccounts/530b269d-274b-4987-94e1-f54b09abecff\",\r\n \"properties\": {\r\n \"accountName\": \"restoredaccountname637435832535194992\",\r\n \"apiType\": \"Sql\",\r\n \"creationTime\": \"2020-12-15T23:04:01Z\",\r\n \"restorableLocations\": [\r\n {\r\n \"locationName\": \"West US 2\",\r\n \"regionalDatabaseAccountInstanceId\": \"257c2c07-efcb-47b2-b696-6ba5ca9785b0\",\r\n \"creationTime\": \"2020-12-15T23:04:01Z\"\r\n }\r\n ]\r\n }\r\n },\r\n {\r\n \"name\": \"4993c7e8-c48b-4e45-9353-9baea1ce9e2a\",\r\n \"location\": \"West US 2\",\r\n \"type\": \"Microsoft.DocumentDB/locations/restorableDatabaseAccounts\",\r\n \"id\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/providers/Microsoft.DocumentDB/locations/westus2/restorableDatabaseAccounts/4993c7e8-c48b-4e45-9353-9baea1ce9e2a\",\r\n \"properties\": {\r\n \"accountName\": \"restoredaccountname359\",\r\n \"apiType\": \"Sql\",\r\n \"creationTime\": \"2020-12-16T00:51:06Z\",\r\n \"restorableLocations\": [\r\n {\r\n \"locationName\": \"West US 2\",\r\n \"regionalDatabaseAccountInstanceId\": \"f964f331-3322-4719-946a-a8f4e406ca14\",\r\n \"creationTime\": \"2020-12-16T00:51:06Z\"\r\n }\r\n ]\r\n }\r\n },\r\n {\r\n \"name\": \"d673eaa8-f7fa-421f-9d61-ba314864a431\",\r\n \"location\": \"West US 2\",\r\n \"type\": \"Microsoft.DocumentDB/locations/restorableDatabaseAccounts\",\r\n \"id\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/providers/Microsoft.DocumentDB/locations/westus2/restorableDatabaseAccounts/d673eaa8-f7fa-421f-9d61-ba314864a431\",\r\n \"properties\": {\r\n \"accountName\": \"pitr-sql-stage-restored-from-new-portal\",\r\n \"apiType\": \"Sql\",\r\n \"creationTime\": \"2021-01-05T00:28:34Z\",\r\n \"restorableLocations\": [\r\n {\r\n \"locationName\": \"West US 2\",\r\n \"regionalDatabaseAccountInstanceId\": \"a09d2f05-b90f-4a76-96c5-ef49edadbbae\",\r\n \"creationTime\": \"2021-01-05T00:28:34Z\"\r\n }\r\n ]\r\n }\r\n },\r\n {\r\n \"name\": \"6d6384ae-d623-4323-8388-65ca7df02733\",\r\n \"location\": \"West US 2\",\r\n \"type\": \"Microsoft.DocumentDB/locations/restorableDatabaseAccounts\",\r\n \"id\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/providers/Microsoft.DocumentDB/locations/westus2/restorableDatabaseAccounts/6d6384ae-d623-4323-8388-65ca7df02733\",\r\n \"properties\": {\r\n \"accountName\": \"pitrtest1-res1\",\r\n \"apiType\": \"Sql\",\r\n \"creationTime\": \"2021-01-05T23:45:55Z\",\r\n \"restorableLocations\": [\r\n {\r\n \"locationName\": \"West US 2\",\r\n \"regionalDatabaseAccountInstanceId\": \"2b92bb0a-1fa9-43c2-b8a7-b25d209d25c1\",\r\n \"creationTime\": \"2021-01-05T23:45:55Z\"\r\n }\r\n ]\r\n }\r\n },\r\n {\r\n \"name\": \"0bcf9a9b-1ca1-4406-9652-aa087d5f0b3f\",\r\n \"location\": \"West US 2\",\r\n \"type\": \"Microsoft.DocumentDB/locations/restorableDatabaseAccounts\",\r\n \"id\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/providers/Microsoft.DocumentDB/locations/westus2/restorableDatabaseAccounts/0bcf9a9b-1ca1-4406-9652-aa087d5f0b3f\",\r\n \"properties\": {\r\n \"accountName\": \"pitrtest1-res2\",\r\n \"apiType\": \"Sql\",\r\n \"creationTime\": \"2021-01-05T23:46:37Z\",\r\n \"restorableLocations\": [\r\n {\r\n \"locationName\": \"West US 2\",\r\n \"regionalDatabaseAccountInstanceId\": \"d666fcfb-319c-4c5d-a2b8-27ae6cc9233f\",\r\n \"creationTime\": \"2021-01-05T23:46:37Z\"\r\n }\r\n ]\r\n }\r\n },\r\n {\r\n \"name\": \"b15e30f1-4e37-4fca-b77b-303516959017\",\r\n \"location\": \"West US 2\",\r\n \"type\": \"Microsoft.DocumentDB/locations/restorableDatabaseAccounts\",\r\n \"id\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/providers/Microsoft.DocumentDB/locations/westus2/restorableDatabaseAccounts/b15e30f1-4e37-4fca-b77b-303516959017\",\r\n \"properties\": {\r\n \"accountName\": \"test-virangai-vinhstagepitr-1\",\r\n \"apiType\": \"Sql\",\r\n \"creationTime\": \"2021-01-06T09:24:07Z\",\r\n \"restorableLocations\": [\r\n {\r\n \"locationName\": \"West US 2\",\r\n \"regionalDatabaseAccountInstanceId\": \"8203b929-83ed-496a-8e6b-8a291aba9a32\",\r\n \"creationTime\": \"2021-01-06T09:24:07Z\"\r\n }\r\n ]\r\n }\r\n },\r\n {\r\n \"name\": \"617f5c88-2a93-45b4-be38-0cd7addea976\",\r\n \"location\": \"West US 2\",\r\n \"type\": \"Microsoft.DocumentDB/locations/restorableDatabaseAccounts\",\r\n \"id\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/providers/Microsoft.DocumentDB/locations/westus2/restorableDatabaseAccounts/617f5c88-2a93-45b4-be38-0cd7addea976\",\r\n \"properties\": {\r\n \"accountName\": \"test-virangai-vinhstagepitr-2\",\r\n \"apiType\": \"Sql\",\r\n \"creationTime\": \"2021-01-06T09:33:06Z\",\r\n \"restorableLocations\": [\r\n {\r\n \"locationName\": \"West US 2\",\r\n \"regionalDatabaseAccountInstanceId\": \"e54058dc-c9ec-4393-9b62-3c4a764d9dda\",\r\n \"creationTime\": \"2021-01-06T09:33:06Z\"\r\n }\r\n ]\r\n }\r\n },\r\n {\r\n \"name\": \"2eecc23f-69df-4de3-9103-b6ca529536a4\",\r\n \"location\": \"West US 2\",\r\n \"type\": \"Microsoft.DocumentDB/locations/restorableDatabaseAccounts\",\r\n \"id\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/providers/Microsoft.DocumentDB/locations/westus2/restorableDatabaseAccounts/2eecc23f-69df-4de3-9103-b6ca529536a4\",\r\n \"properties\": {\r\n \"accountName\": \"test-restore-4\",\r\n \"apiType\": \"Sql\",\r\n \"creationTime\": \"2021-01-07T01:23:39Z\",\r\n \"restorableLocations\": [\r\n {\r\n \"locationName\": \"West US 2\",\r\n \"regionalDatabaseAccountInstanceId\": \"80c0209c-f89b-41b6-8cc2-5edad302caaf\",\r\n \"creationTime\": \"2021-01-07T01:23:39Z\"\r\n }\r\n ]\r\n }\r\n },\r\n {\r\n \"name\": \"d91e1ad2-22b0-401e-b465-a16e5928e194\",\r\n \"location\": \"West US 2\",\r\n \"type\": \"Microsoft.DocumentDB/locations/restorableDatabaseAccounts\",\r\n \"id\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/providers/Microsoft.DocumentDB/locations/westus2/restorableDatabaseAccounts/d91e1ad2-22b0-401e-b465-a16e5928e194\",\r\n \"properties\": {\r\n \"accountName\": \"test-restore5\",\r\n \"apiType\": \"Sql\",\r\n \"creationTime\": \"2021-01-07T01:23:40Z\",\r\n \"restorableLocations\": [\r\n {\r\n \"locationName\": \"West US 2\",\r\n \"regionalDatabaseAccountInstanceId\": \"793334c5-2123-41a5-a382-7b5aade5bb82\",\r\n \"creationTime\": \"2021-01-07T01:23:40Z\"\r\n }\r\n ]\r\n }\r\n },\r\n {\r\n \"name\": \"132908b6-2701-44a5-bdbe-a7c296e26283\",\r\n \"location\": \"West US 2\",\r\n \"type\": \"Microsoft.DocumentDB/locations/restorableDatabaseAccounts\",\r\n \"id\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/providers/Microsoft.DocumentDB/locations/westus2/restorableDatabaseAccounts/132908b6-2701-44a5-bdbe-a7c296e26283\",\r\n \"properties\": {\r\n \"accountName\": \"test-restore6\",\r\n \"apiType\": \"Sql\",\r\n \"creationTime\": \"2021-01-07T03:18:46Z\",\r\n \"restorableLocations\": [\r\n {\r\n \"locationName\": \"West US 2\",\r\n \"regionalDatabaseAccountInstanceId\": \"a8bcc661-cdd0-4fb6-b011-ce4fb922930d\",\r\n \"creationTime\": \"2021-01-07T03:18:46Z\"\r\n }\r\n ]\r\n }\r\n },\r\n {\r\n \"name\": \"2ab6f2d2-ce7e-439b-90b3-5505c8f9ff76\",\r\n \"location\": \"West US 2\",\r\n \"type\": \"Microsoft.DocumentDB/locations/restorableDatabaseAccounts\",\r\n \"id\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/providers/Microsoft.DocumentDB/locations/westus2/restorableDatabaseAccounts/2ab6f2d2-ce7e-439b-90b3-5505c8f9ff76\",\r\n \"properties\": {\r\n \"accountName\": \"pitr-sql-stage-source-personalrestore-greeen\",\r\n \"apiType\": \"Sql\",\r\n \"creationTime\": \"2021-01-15T22:51:59Z\",\r\n \"restorableLocations\": [\r\n {\r\n \"locationName\": \"West US 2\",\r\n \"regionalDatabaseAccountInstanceId\": \"8b3376be-21d5-43db-ad08-7fa9e3f3ad5b\",\r\n \"creationTime\": \"2021-01-15T22:51:59Z\"\r\n }\r\n ]\r\n }\r\n },\r\n {\r\n \"name\": \"483d93e5-302b-4093-9502-ce63d416e70f\",\r\n \"location\": \"West US 2\",\r\n \"type\": \"Microsoft.DocumentDB/locations/restorableDatabaseAccounts\",\r\n \"id\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/providers/Microsoft.DocumentDB/locations/westus2/restorableDatabaseAccounts/483d93e5-302b-4093-9502-ce63d416e70f\",\r\n \"properties\": {\r\n \"accountName\": \"targetacctrestore\",\r\n \"apiType\": \"Sql\",\r\n \"creationTime\": \"2021-02-18T18:30:14Z\",\r\n \"restorableLocations\": [\r\n {\r\n \"locationName\": \"West US 2\",\r\n \"regionalDatabaseAccountInstanceId\": \"cb6a3895-5ded-43ee-a6a8-91d9050f5582\",\r\n \"creationTime\": \"2021-02-18T18:30:14Z\"\r\n }\r\n ]\r\n }\r\n },\r\n {\r\n \"name\": \"74e9ac09-75d3-448a-a128-e71866b42e95\",\r\n \"location\": \"West US 2\",\r\n \"type\": \"Microsoft.DocumentDB/locations/restorableDatabaseAccounts\",\r\n \"id\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/providers/Microsoft.DocumentDB/locations/westus2/restorableDatabaseAccounts/74e9ac09-75d3-448a-a128-e71866b42e95\",\r\n \"properties\": {\r\n \"accountName\": \"virangai-test-vinhstagepitr-res\",\r\n \"apiType\": \"Sql\",\r\n \"creationTime\": \"2021-02-26T22:14:50Z\",\r\n \"restorableLocations\": [\r\n {\r\n \"locationName\": \"West US 2\",\r\n \"regionalDatabaseAccountInstanceId\": \"40e6110d-0ae4-4e40-9d6e-33014540e179\",\r\n \"creationTime\": \"2021-02-26T22:14:50Z\"\r\n }\r\n ]\r\n }\r\n },\r\n {\r\n \"name\": \"24f3f6b6-9d96-4dc2-84b9-ae1c0cba8d4e\",\r\n \"location\": \"West US 2\",\r\n \"type\": \"Microsoft.DocumentDB/locations/restorableDatabaseAccounts\",\r\n \"id\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/providers/Microsoft.DocumentDB/locations/westus2/restorableDatabaseAccounts/24f3f6b6-9d96-4dc2-84b9-ae1c0cba8d4e\",\r\n \"properties\": {\r\n \"accountName\": \"restoredaccountname8240\",\r\n \"apiType\": \"Sql\",\r\n \"creationTime\": \"2021-03-02T23:44:13Z\",\r\n \"restorableLocations\": [\r\n {\r\n \"locationName\": \"West US 2\",\r\n \"regionalDatabaseAccountInstanceId\": \"c2df5fa4-a593-48f2-8417-9f5f4bb9ef56\",\r\n \"creationTime\": \"2021-03-02T23:44:13Z\"\r\n }\r\n ]\r\n }\r\n },\r\n {\r\n \"name\": \"f319c2f4-7e68-48c0-9eac-94e12fb51179\",\r\n \"location\": \"West US 2\",\r\n \"type\": \"Microsoft.DocumentDB/locations/restorableDatabaseAccounts\",\r\n \"id\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/providers/Microsoft.DocumentDB/locations/westus2/restorableDatabaseAccounts/f319c2f4-7e68-48c0-9eac-94e12fb51179\",\r\n \"properties\": {\r\n \"accountName\": \"restoredaccountname320\",\r\n \"apiType\": \"Sql\",\r\n \"creationTime\": \"2021-03-03T00:59:34Z\",\r\n \"restorableLocations\": [\r\n {\r\n \"locationName\": \"West US 2\",\r\n \"regionalDatabaseAccountInstanceId\": \"005c7a8b-fffd-4106-a2f5-0b4f58b1942a\",\r\n \"creationTime\": \"2021-03-03T00:59:34Z\"\r\n }\r\n ]\r\n }\r\n },\r\n {\r\n \"name\": \"672e89ce-0096-4a87-8131-3d2d5d483a3a\",\r\n \"location\": \"West US 2\",\r\n \"type\": \"Microsoft.DocumentDB/locations/restorableDatabaseAccounts\",\r\n \"id\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/providers/Microsoft.DocumentDB/locations/westus2/restorableDatabaseAccounts/672e89ce-0096-4a87-8131-3d2d5d483a3a\",\r\n \"properties\": {\r\n \"accountName\": \"restoredaccountname6982\",\r\n \"apiType\": \"Sql\",\r\n \"creationTime\": \"2021-03-03T02:34:06Z\",\r\n \"restorableLocations\": [\r\n {\r\n \"locationName\": \"West US 2\",\r\n \"regionalDatabaseAccountInstanceId\": \"f30afdfa-9473-4658-83c4-5067be2232db\",\r\n \"creationTime\": \"2021-03-03T02:34:06Z\"\r\n }\r\n ]\r\n }\r\n },\r\n {\r\n \"name\": \"1a937e8e-1a33-4fd1-9349-34ede3dd02f2\",\r\n \"location\": \"West US 2\",\r\n \"type\": \"Microsoft.DocumentDB/locations/restorableDatabaseAccounts\",\r\n \"id\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/providers/Microsoft.DocumentDB/locations/westus2/restorableDatabaseAccounts/1a937e8e-1a33-4fd1-9349-34ede3dd02f2\",\r\n \"properties\": {\r\n \"accountName\": \"restoredaccountname8295\",\r\n \"apiType\": \"Sql\",\r\n \"creationTime\": \"2021-03-03T17:48:45Z\",\r\n \"restorableLocations\": [\r\n {\r\n \"locationName\": \"West US 2\",\r\n \"regionalDatabaseAccountInstanceId\": \"0057f632-aaa2-44a6-92bf-c2e623403f52\",\r\n \"creationTime\": \"2021-03-03T17:48:45Z\"\r\n }\r\n ]\r\n }\r\n },\r\n {\r\n \"name\": \"4d0ae23d-5661-4c5a-ae37-48aa6308425b\",\r\n \"location\": \"West US 2\",\r\n \"type\": \"Microsoft.DocumentDB/locations/restorableDatabaseAccounts\",\r\n \"id\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/providers/Microsoft.DocumentDB/locations/westus2/restorableDatabaseAccounts/4d0ae23d-5661-4c5a-ae37-48aa6308425b\",\r\n \"properties\": {\r\n \"accountName\": \"stage-validation-pitr-test0\",\r\n \"apiType\": \"Sql\",\r\n \"creationTime\": \"2021-02-10T07:55:12Z\",\r\n \"deletionTime\": \"2021-02-10T14:21:37Z\",\r\n \"restorableLocations\": [\r\n {\r\n \"locationName\": \"West US 2\",\r\n \"regionalDatabaseAccountInstanceId\": \"26d7f01f-3f0c-4eb6-80a2-f5776f929f12\",\r\n \"creationTime\": \"2021-02-10T07:55:13Z\",\r\n \"deletionTime\": \"2021-02-10T14:21:37Z\"\r\n }\r\n ]\r\n }\r\n },\r\n {\r\n \"name\": \"c26d3f43-7363-4c54-940a-bde0e96bda72\",\r\n \"location\": \"East US 2\",\r\n \"type\": \"Microsoft.DocumentDB/locations/restorableDatabaseAccounts\",\r\n \"id\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/providers/Microsoft.DocumentDB/locations/eastus2/restorableDatabaseAccounts/c26d3f43-7363-4c54-940a-bde0e96bda72\",\r\n \"properties\": {\r\n \"accountName\": \"db1024-restored\",\r\n \"apiType\": \"Sql\",\r\n \"creationTime\": \"2020-08-14T01:17:36Z\",\r\n \"restorableLocations\": [\r\n {\r\n \"locationName\": \"East US 2\",\r\n \"regionalDatabaseAccountInstanceId\": \"eca195d4-fcaa-4d5f-b01b-20f61f01319f\",\r\n \"creationTime\": \"2020-08-14T01:17:36Z\"\r\n }\r\n ]\r\n }\r\n },\r\n {\r\n \"name\": \"d8974ca8-8f69-4924-9040-c10b7f30524b\",\r\n \"location\": \"East US 2\",\r\n \"type\": \"Microsoft.DocumentDB/locations/restorableDatabaseAccounts\",\r\n \"id\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/providers/Microsoft.DocumentDB/locations/eastus2/restorableDatabaseAccounts/d8974ca8-8f69-4924-9040-c10b7f30524b\",\r\n \"properties\": {\r\n \"accountName\": \"restoredaccountname9746\",\r\n \"apiType\": \"Sql\",\r\n \"creationTime\": \"2020-07-21T18:55:14Z\",\r\n \"restorableLocations\": [\r\n {\r\n \"locationName\": \"East US 2\",\r\n \"regionalDatabaseAccountInstanceId\": \"775c4324-cba7-4eb3-a8ee-5e1921f7f57b\",\r\n \"creationTime\": \"2020-07-21T18:55:14Z\"\r\n }\r\n ]\r\n }\r\n },\r\n {\r\n \"name\": \"aca7d453-88a9-4bf2-8abc-46d21553638f\",\r\n \"location\": \"East US 2\",\r\n \"type\": \"Microsoft.DocumentDB/locations/restorableDatabaseAccounts\",\r\n \"id\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/providers/Microsoft.DocumentDB/locations/eastus2/restorableDatabaseAccounts/aca7d453-88a9-4bf2-8abc-46d21553638f\",\r\n \"properties\": {\r\n \"accountName\": \"db1024\",\r\n \"apiType\": \"Sql\",\r\n \"creationTime\": \"2020-07-21T18:19:37Z\",\r\n \"restorableLocations\": [\r\n {\r\n \"locationName\": \"East US 2\",\r\n \"regionalDatabaseAccountInstanceId\": \"a926c9e8-3179-4774-bc1e-fb866407b7db\",\r\n \"creationTime\": \"2020-07-21T18:19:38Z\"\r\n }\r\n ]\r\n }\r\n },\r\n {\r\n \"name\": \"a54115d5-4356-4771-b7b0-20f475ce5a38\",\r\n \"location\": \"East US 2\",\r\n \"type\": \"Microsoft.DocumentDB/locations/restorableDatabaseAccounts\",\r\n \"id\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/providers/Microsoft.DocumentDB/locations/eastus2/restorableDatabaseAccounts/a54115d5-4356-4771-b7b0-20f475ce5a38\",\r\n \"properties\": {\r\n \"accountName\": \"stage-pitr-validation-source\",\r\n \"apiType\": \"Sql\",\r\n \"creationTime\": \"2020-08-13T23:51:16Z\",\r\n \"restorableLocations\": [\r\n {\r\n \"locationName\": \"East US 2\",\r\n \"regionalDatabaseAccountInstanceId\": \"d9b09727-2a45-4760-a837-3366c1187358\",\r\n \"creationTime\": \"2020-08-13T23:51:17Z\"\r\n },\r\n {\r\n \"locationName\": \"West US 2\",\r\n \"regionalDatabaseAccountInstanceId\": \"72ee099a-9209-4fe4-aeb2-8f4954f25eba\",\r\n \"creationTime\": \"2020-08-28T18:50:30Z\"\r\n },\r\n {\r\n \"locationName\": \"Southeast Asia\",\r\n \"regionalDatabaseAccountInstanceId\": \"e5abbaa4-031a-451a-b041-76c6bcd93fa9\",\r\n \"creationTime\": \"2021-02-08T19:29:22Z\"\r\n }\r\n ]\r\n }\r\n },\r\n {\r\n \"name\": \"bb3e3c48-18d8-46e8-b294-41d9406885c5\",\r\n \"location\": \"East US 2\",\r\n \"type\": \"Microsoft.DocumentDB/locations/restorableDatabaseAccounts\",\r\n \"id\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/providers/Microsoft.DocumentDB/locations/eastus2/restorableDatabaseAccounts/bb3e3c48-18d8-46e8-b294-41d9406885c5\",\r\n \"properties\": {\r\n \"accountName\": \"test-virangai-cont123\",\r\n \"apiType\": \"Sql\",\r\n \"creationTime\": \"2020-08-05T20:32:27Z\",\r\n \"restorableLocations\": [\r\n {\r\n \"locationName\": \"East US 2\",\r\n \"regionalDatabaseAccountInstanceId\": \"2355946d-5d79-4cc4-a521-3a302a9bff85\",\r\n \"creationTime\": \"2020-08-05T20:32:27Z\"\r\n }\r\n ]\r\n }\r\n },\r\n {\r\n \"name\": \"55083b96-b985-4dec-92df-fa0ac98443f1\",\r\n \"location\": \"East US 2\",\r\n \"type\": \"Microsoft.DocumentDB/locations/restorableDatabaseAccounts\",\r\n \"id\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/providers/Microsoft.DocumentDB/locations/eastus2/restorableDatabaseAccounts/55083b96-b985-4dec-92df-fa0ac98443f1\",\r\n \"properties\": {\r\n \"accountName\": \"selvitest-account\",\r\n \"apiType\": \"Sql\",\r\n \"creationTime\": \"2020-07-23T16:18:43Z\",\r\n \"restorableLocations\": [\r\n {\r\n \"locationName\": \"East US 2\",\r\n \"regionalDatabaseAccountInstanceId\": \"787a81fe-fb41-40da-8b69-a9e18966b4e3\",\r\n \"creationTime\": \"2020-07-23T16:18:43Z\"\r\n }\r\n ]\r\n }\r\n },\r\n {\r\n \"name\": \"ec72f021-4974-405a-8c78-f74207ff0e12\",\r\n \"location\": \"East US 2\",\r\n \"type\": \"Microsoft.DocumentDB/locations/restorableDatabaseAccounts\",\r\n \"id\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/providers/Microsoft.DocumentDB/locations/eastus2/restorableDatabaseAccounts/ec72f021-4974-405a-8c78-f74207ff0e12\",\r\n \"properties\": {\r\n \"accountName\": \"selvitest-account-destinationforrestore\",\r\n \"apiType\": \"Sql\",\r\n \"creationTime\": \"2020-07-23T17:39:58Z\",\r\n \"restorableLocations\": [\r\n {\r\n \"locationName\": \"East US 2\",\r\n \"regionalDatabaseAccountInstanceId\": \"11f925e4-b48d-4d16-9ad2-209d1056ec9c\",\r\n \"creationTime\": \"2020-07-23T17:39:58Z\"\r\n }\r\n ]\r\n }\r\n },\r\n {\r\n \"name\": \"17783e6d-0e28-41e2-b086-9d17763f1d51\",\r\n \"location\": \"East US 2\",\r\n \"type\": \"Microsoft.DocumentDB/locations/restorableDatabaseAccounts\",\r\n \"id\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/providers/Microsoft.DocumentDB/locations/eastus2/restorableDatabaseAccounts/17783e6d-0e28-41e2-b086-9d17763f1d51\",\r\n \"properties\": {\r\n \"accountName\": \"virangai-test-bk-cont\",\r\n \"apiType\": \"Sql\",\r\n \"creationTime\": \"2020-07-28T22:09:24Z\",\r\n \"restorableLocations\": [\r\n {\r\n \"locationName\": \"East US 2\",\r\n \"regionalDatabaseAccountInstanceId\": \"f74e094e-9b1d-4e16-82b6-a57782f1d187\",\r\n \"creationTime\": \"2020-07-28T22:09:24Z\"\r\n }\r\n ]\r\n }\r\n },\r\n {\r\n \"name\": \"2d90bc37-cd54-4352-9e57-e6aa3f22d494\",\r\n \"location\": \"East US 2\",\r\n \"type\": \"Microsoft.DocumentDB/locations/restorableDatabaseAccounts\",\r\n \"id\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/providers/Microsoft.DocumentDB/locations/eastus2/restorableDatabaseAccounts/2d90bc37-cd54-4352-9e57-e6aa3f22d494\",\r\n \"properties\": {\r\n \"accountName\": \"selvitest-account-destinationforrestorev2\",\r\n \"apiType\": \"Sql\",\r\n \"creationTime\": \"2020-07-23T17:41:22Z\",\r\n \"restorableLocations\": [\r\n {\r\n \"locationName\": \"East US 2\",\r\n \"regionalDatabaseAccountInstanceId\": \"e1dfecef-45cb-4c70-bbd5-393eb3774821\",\r\n \"creationTime\": \"2020-07-23T17:41:22Z\"\r\n }\r\n ]\r\n }\r\n },\r\n {\r\n \"name\": \"b0c8684b-7f9c-45fe-8ab9-2a74b656867e\",\r\n \"location\": \"East US 2\",\r\n \"type\": \"Microsoft.DocumentDB/locations/restorableDatabaseAccounts\",\r\n \"id\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/providers/Microsoft.DocumentDB/locations/eastus2/restorableDatabaseAccounts/b0c8684b-7f9c-45fe-8ab9-2a74b656867e\",\r\n \"properties\": {\r\n \"accountName\": \"restoredaccountname637428812785768088\",\r\n \"apiType\": \"Sql\",\r\n \"creationTime\": \"2020-12-07T20:03:41Z\",\r\n \"restorableLocations\": [\r\n {\r\n \"locationName\": \"East US 2\",\r\n \"regionalDatabaseAccountInstanceId\": \"59294929-189f-4f8b-af35-740fc0fba9f0\",\r\n \"creationTime\": \"2020-12-07T20:03:41Z\"\r\n }\r\n ]\r\n }\r\n },\r\n {\r\n \"name\": \"eadac7e2-61f0-4e07-aaa1-9dbb495ec5a8\",\r\n \"location\": \"East US 2\",\r\n \"type\": \"Microsoft.DocumentDB/locations/restorableDatabaseAccounts\",\r\n \"id\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/providers/Microsoft.DocumentDB/locations/eastus2/restorableDatabaseAccounts/eadac7e2-61f0-4e07-aaa1-9dbb495ec5a8\",\r\n \"properties\": {\r\n \"accountName\": \"pitr-mongo32-stage-source\",\r\n \"apiType\": \"MongoDB\",\r\n \"creationTime\": \"2020-12-07T21:23:56Z\",\r\n \"restorableLocations\": [\r\n {\r\n \"locationName\": \"East US 2\",\r\n \"regionalDatabaseAccountInstanceId\": \"49174788-8512-4a01-a3ca-38c7857a2635\",\r\n \"creationTime\": \"2020-12-07T21:23:56Z\"\r\n },\r\n {\r\n \"locationName\": \"West US 2\",\r\n \"regionalDatabaseAccountInstanceId\": \"921dbaed-a5bd-462d-8351-d0eda5e592c0\",\r\n \"creationTime\": \"2020-12-08T23:28:45Z\"\r\n }\r\n ]\r\n }\r\n },\r\n {\r\n \"name\": \"25a04cf0-89d4-4546-9c30-14d1dc8899df\",\r\n \"location\": \"East US 2\",\r\n \"type\": \"Microsoft.DocumentDB/locations/restorableDatabaseAccounts\",\r\n \"id\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/providers/Microsoft.DocumentDB/locations/eastus2/restorableDatabaseAccounts/25a04cf0-89d4-4546-9c30-14d1dc8899df\",\r\n \"properties\": {\r\n \"accountName\": \"pitr-mongo36-stage-source\",\r\n \"apiType\": \"MongoDB\",\r\n \"creationTime\": \"2020-12-07T21:35:24Z\",\r\n \"restorableLocations\": [\r\n {\r\n \"locationName\": \"East US 2\",\r\n \"regionalDatabaseAccountInstanceId\": \"b52d5178-bc7b-4b2b-a05e-9d3dba85e7fd\",\r\n \"creationTime\": \"2020-12-07T21:35:24Z\"\r\n },\r\n {\r\n \"locationName\": \"West US 2\",\r\n \"regionalDatabaseAccountInstanceId\": \"b0f33c79-f7b2-421f-9e94-699b0f8c840a\",\r\n \"creationTime\": \"2020-12-08T22:02:23Z\"\r\n }\r\n ]\r\n }\r\n },\r\n {\r\n \"name\": \"345c785a-e758-4f8b-94d4-0a1259f4f85b\",\r\n \"location\": \"East US 2\",\r\n \"type\": \"Microsoft.DocumentDB/locations/restorableDatabaseAccounts\",\r\n \"id\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/providers/Microsoft.DocumentDB/locations/eastus2/restorableDatabaseAccounts/345c785a-e758-4f8b-94d4-0a1259f4f85b\",\r\n \"properties\": {\r\n \"accountName\": \"nichatur-restore-test\",\r\n \"apiType\": \"Sql\",\r\n \"creationTime\": \"2020-12-07T23:33:57Z\",\r\n \"restorableLocations\": [\r\n {\r\n \"locationName\": \"East US 2\",\r\n \"regionalDatabaseAccountInstanceId\": \"94eeb20d-16d0-4ee1-ae6a-7f2a0332a1d5\",\r\n \"creationTime\": \"2020-12-07T23:33:57Z\"\r\n }\r\n ]\r\n }\r\n },\r\n {\r\n \"name\": \"605db505-9267-4cf0-b7ac-27ef644b2ef3\",\r\n \"location\": \"East US 2\",\r\n \"type\": \"Microsoft.DocumentDB/locations/restorableDatabaseAccounts\",\r\n \"id\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/providers/Microsoft.DocumentDB/locations/eastus2/restorableDatabaseAccounts/605db505-9267-4cf0-b7ac-27ef644b2ef3\",\r\n \"properties\": {\r\n \"accountName\": \"nichatur-restore-test-r1\",\r\n \"apiType\": \"Sql\",\r\n \"creationTime\": \"2020-12-07T23:57:59Z\",\r\n \"restorableLocations\": [\r\n {\r\n \"locationName\": \"East US 2\",\r\n \"regionalDatabaseAccountInstanceId\": \"71a2cff6-7e90-43a5-b261-b704fbfaf100\",\r\n \"creationTime\": \"2020-12-07T23:57:59Z\"\r\n }\r\n ]\r\n }\r\n },\r\n {\r\n \"name\": \"0d00d699-017a-4a76-8639-ab4bec82c5f2\",\r\n \"location\": \"East US 2\",\r\n \"type\": \"Microsoft.DocumentDB/locations/restorableDatabaseAccounts\",\r\n \"id\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/providers/Microsoft.DocumentDB/locations/eastus2/restorableDatabaseAccounts/0d00d699-017a-4a76-8639-ab4bec82c5f2\",\r\n \"properties\": {\r\n \"accountName\": \"restoredaccountname637428989095532319\",\r\n \"apiType\": \"Sql\",\r\n \"creationTime\": \"2020-12-08T00:57:52Z\",\r\n \"restorableLocations\": [\r\n {\r\n \"locationName\": \"East US 2\",\r\n \"regionalDatabaseAccountInstanceId\": \"7c0454e1-f718-48fe-894a-35182a8440d2\",\r\n \"creationTime\": \"2020-12-08T00:57:52Z\"\r\n }\r\n ]\r\n }\r\n },\r\n {\r\n \"name\": \"73d1010d-f0b7-4673-b8c0-18ddecdcda06\",\r\n \"location\": \"East US 2\",\r\n \"type\": \"Microsoft.DocumentDB/locations/restorableDatabaseAccounts\",\r\n \"id\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/providers/Microsoft.DocumentDB/locations/eastus2/restorableDatabaseAccounts/73d1010d-f0b7-4673-b8c0-18ddecdcda06\",\r\n \"properties\": {\r\n \"accountName\": \"nichatur-restore-test-r2\",\r\n \"apiType\": \"Sql\",\r\n \"creationTime\": \"2020-12-08T22:03:14Z\",\r\n \"restorableLocations\": [\r\n {\r\n \"locationName\": \"East US 2\",\r\n \"regionalDatabaseAccountInstanceId\": \"c6b5a1f6-2215-49be-9277-aeff5723ab4c\",\r\n \"creationTime\": \"2020-12-08T22:03:14Z\"\r\n }\r\n ]\r\n }\r\n },\r\n {\r\n \"name\": \"d1535f84-06b5-497b-8768-962ece984001\",\r\n \"location\": \"East US 2\",\r\n \"type\": \"Microsoft.DocumentDB/locations/restorableDatabaseAccounts\",\r\n \"id\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/providers/Microsoft.DocumentDB/locations/eastus2/restorableDatabaseAccounts/d1535f84-06b5-497b-8768-962ece984001\",\r\n \"properties\": {\r\n \"accountName\": \"kal-restore-test\",\r\n \"apiType\": \"Sql\",\r\n \"creationTime\": \"2021-01-15T21:58:32Z\",\r\n \"restorableLocations\": [\r\n {\r\n \"locationName\": \"West US 2\",\r\n \"regionalDatabaseAccountInstanceId\": \"f4b8377d-89b3-41dd-9892-79bfbc4d523c\",\r\n \"creationTime\": \"2021-01-15T21:58:32Z\"\r\n }\r\n ]\r\n }\r\n },\r\n {\r\n \"name\": \"9351dd2e-d901-465b-98cb-a74a3aabd49f\",\r\n \"location\": \"East US 2\",\r\n \"type\": \"Microsoft.DocumentDB/locations/restorableDatabaseAccounts\",\r\n \"id\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/providers/Microsoft.DocumentDB/locations/eastus2/restorableDatabaseAccounts/9351dd2e-d901-465b-98cb-a74a3aabd49f\",\r\n \"properties\": {\r\n \"accountName\": \"pitr-unique-mode-source\",\r\n \"apiType\": \"Sql\",\r\n \"creationTime\": \"2021-02-03T19:53:25Z\",\r\n \"restorableLocations\": [\r\n {\r\n \"locationName\": \"East US 2\",\r\n \"regionalDatabaseAccountInstanceId\": \"b5ee0cb6-20df-4132-8378-3d2b2bb477f8\",\r\n \"creationTime\": \"2021-02-03T19:53:26Z\"\r\n }\r\n ]\r\n }\r\n },\r\n {\r\n \"name\": \"222da8e2-da07-46db-9cd2-51a2efb84b9f\",\r\n \"location\": \"East US 2\",\r\n \"type\": \"Microsoft.DocumentDB/locations/restorableDatabaseAccounts\",\r\n \"id\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/providers/Microsoft.DocumentDB/locations/eastus2/restorableDatabaseAccounts/222da8e2-da07-46db-9cd2-51a2efb84b9f\",\r\n \"properties\": {\r\n \"accountName\": \"pitr-unique-mode-restored\",\r\n \"apiType\": \"Sql\",\r\n \"creationTime\": \"2021-02-03T20:07:50Z\",\r\n \"restorableLocations\": [\r\n {\r\n \"locationName\": \"East US 2\",\r\n \"regionalDatabaseAccountInstanceId\": \"094b572d-52f6-47bc-92c3-a692588ef6d6\",\r\n \"creationTime\": \"2021-02-03T20:07:50Z\"\r\n }\r\n ]\r\n }\r\n },\r\n {\r\n \"name\": \"19e4130a-cb83-4a34-85c2-e35dcda149f8\",\r\n \"location\": \"East US 2\",\r\n \"type\": \"Microsoft.DocumentDB/locations/restorableDatabaseAccounts\",\r\n \"id\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/providers/Microsoft.DocumentDB/locations/eastus2/restorableDatabaseAccounts/19e4130a-cb83-4a34-85c2-e35dcda149f8\",\r\n \"properties\": {\r\n \"accountName\": \"stage-validation-m\",\r\n \"apiType\": \"MongoDB\",\r\n \"creationTime\": \"2021-02-05T04:08:10Z\",\r\n \"restorableLocations\": [\r\n {\r\n \"locationName\": \"East US 2\",\r\n \"regionalDatabaseAccountInstanceId\": \"3f97305a-6a6b-4b38-b200-bea92d78f64a\",\r\n \"creationTime\": \"2021-02-05T04:08:11Z\"\r\n },\r\n {\r\n \"locationName\": \"West US 2\",\r\n \"regionalDatabaseAccountInstanceId\": \"7cf7aaa4-fe00-48fa-820b-cc632feaa9d7\",\r\n \"creationTime\": \"2021-02-05T04:29:43Z\"\r\n }\r\n ]\r\n }\r\n },\r\n {\r\n \"name\": \"5939cc7f-0bdd-4790-9ac6-a3b281c64f97\",\r\n \"location\": \"East US 2\",\r\n \"type\": \"Microsoft.DocumentDB/locations/restorableDatabaseAccounts\",\r\n \"id\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/providers/Microsoft.DocumentDB/locations/eastus2/restorableDatabaseAccounts/5939cc7f-0bdd-4790-9ac6-a3b281c64f97\",\r\n \"properties\": {\r\n \"accountName\": \"multiregion-pitr-billing-test\",\r\n \"apiType\": \"Sql\",\r\n \"creationTime\": \"2021-02-19T00:20:18Z\",\r\n \"restorableLocations\": [\r\n {\r\n \"locationName\": \"Southeast Asia\",\r\n \"regionalDatabaseAccountInstanceId\": \"0018e6e6-170f-4e25-b1a5-97e718138e0c\",\r\n \"creationTime\": \"2021-02-19T00:20:18Z\"\r\n },\r\n {\r\n \"locationName\": \"West US 2\",\r\n \"regionalDatabaseAccountInstanceId\": \"e235a61e-abf7-4e95-bfc2-0e4aa649b874\",\r\n \"creationTime\": \"2021-02-19T00:33:52Z\"\r\n }\r\n ]\r\n }\r\n },\r\n {\r\n \"name\": \"96aa7f5a-5292-44f3-9d3e-bec163b0de1a\",\r\n \"location\": \"East US 2\",\r\n \"type\": \"Microsoft.DocumentDB/locations/restorableDatabaseAccounts\",\r\n \"id\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/providers/Microsoft.DocumentDB/locations/eastus2/restorableDatabaseAccounts/96aa7f5a-5292-44f3-9d3e-bec163b0de1a\",\r\n \"properties\": {\r\n \"accountName\": \"restore-pitr-mongo32-stage-source\",\r\n \"apiType\": \"MongoDB\",\r\n \"creationTime\": \"2021-02-26T18:11:04Z\",\r\n \"restorableLocations\": [\r\n {\r\n \"locationName\": \"East US 2\",\r\n \"regionalDatabaseAccountInstanceId\": \"8c350d54-e45d-4ef7-af55-9f07dc4fe594\",\r\n \"creationTime\": \"2021-02-26T18:11:04Z\"\r\n }\r\n ]\r\n }\r\n },\r\n {\r\n \"name\": \"c02d9298-7cdb-440f-a16b-0dc3c97d6cde\",\r\n \"location\": \"East US 2\",\r\n \"type\": \"Microsoft.DocumentDB/locations/restorableDatabaseAccounts\",\r\n \"id\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/providers/Microsoft.DocumentDB/locations/eastus2/restorableDatabaseAccounts/c02d9298-7cdb-440f-a16b-0dc3c97d6cde\",\r\n \"properties\": {\r\n \"accountName\": \"pitr-sql-stage-restored-wrr\",\r\n \"apiType\": \"Sql\",\r\n \"creationTime\": \"2021-03-03T04:36:55Z\",\r\n \"restorableLocations\": [\r\n {\r\n \"locationName\": \"East US 2\",\r\n \"regionalDatabaseAccountInstanceId\": \"d6e10b03-43cd-4bdc-a1b8-3dfab9fe6beb\",\r\n \"creationTime\": \"2021-03-03T04:36:55Z\"\r\n }\r\n ]\r\n }\r\n },\r\n {\r\n \"name\": \"00e807ea-76c1-4b2f-afdd-dddc1b15979f\",\r\n \"location\": \"East US 2\",\r\n \"type\": \"Microsoft.DocumentDB/locations/restorableDatabaseAccounts\",\r\n \"id\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/providers/Microsoft.DocumentDB/locations/eastus2/restorableDatabaseAccounts/00e807ea-76c1-4b2f-afdd-dddc1b15979f\",\r\n \"properties\": {\r\n \"accountName\": \"pitr-sql-stage-restored-wrr1\",\r\n \"apiType\": \"Sql\",\r\n \"creationTime\": \"2021-03-03T05:01:33Z\",\r\n \"restorableLocations\": [\r\n {\r\n \"locationName\": \"East US 2\",\r\n \"regionalDatabaseAccountInstanceId\": \"683f9f6f-8b7d-4638-a4f2-db9983a9c2d1\",\r\n \"creationTime\": \"2021-03-03T05:01:33Z\"\r\n }\r\n ]\r\n }\r\n },\r\n {\r\n \"name\": \"9766bca9-cc26-4e26-83fe-32cd22fdb83d\",\r\n \"location\": \"East US 2\",\r\n \"type\": \"Microsoft.DocumentDB/locations/restorableDatabaseAccounts\",\r\n \"id\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/providers/Microsoft.DocumentDB/locations/eastus2/restorableDatabaseAccounts/9766bca9-cc26-4e26-83fe-32cd22fdb83d\",\r\n \"properties\": {\r\n \"accountName\": \"stage-pitr-billing-test\",\r\n \"apiType\": \"Sql\",\r\n \"creationTime\": \"2021-01-20T01:08:53Z\",\r\n \"deletionTime\": \"2021-02-04T00:01:29Z\",\r\n \"restorableLocations\": [\r\n {\r\n \"locationName\": \"West US 2\",\r\n \"regionalDatabaseAccountInstanceId\": \"9df768c4-6f3e-4bb8-be73-c8b338f50875\",\r\n \"creationTime\": \"2021-01-20T01:08:53Z\",\r\n \"deletionTime\": \"2021-02-04T00:01:29Z\"\r\n }\r\n ]\r\n }\r\n },\r\n {\r\n \"name\": \"8e032502-70fc-4495-8546-e69383186c09\",\r\n \"location\": \"East US 2\",\r\n \"type\": \"Microsoft.DocumentDB/locations/restorableDatabaseAccounts\",\r\n \"id\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/providers/Microsoft.DocumentDB/locations/eastus2/restorableDatabaseAccounts/8e032502-70fc-4495-8546-e69383186c09\",\r\n \"properties\": {\r\n \"accountName\": \"stage-pitr-billing-test-2\",\r\n \"apiType\": \"Sql\",\r\n \"creationTime\": \"2021-01-21T05:06:14Z\",\r\n \"deletionTime\": \"2021-02-04T00:01:29Z\",\r\n \"restorableLocations\": [\r\n {\r\n \"locationName\": \"West US 2\",\r\n \"regionalDatabaseAccountInstanceId\": \"a994d170-beb1-4f1a-a413-2d5548b171dd\",\r\n \"creationTime\": \"2021-01-21T05:06:14Z\",\r\n \"deletionTime\": \"2021-02-04T00:01:29Z\"\r\n }\r\n ]\r\n }\r\n },\r\n {\r\n \"name\": \"d9e1ccfa-1929-4532-9efb-6100feff0f0e\",\r\n \"location\": \"East US 2\",\r\n \"type\": \"Microsoft.DocumentDB/locations/restorableDatabaseAccounts\",\r\n \"id\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/providers/Microsoft.DocumentDB/locations/eastus2/restorableDatabaseAccounts/d9e1ccfa-1929-4532-9efb-6100feff0f0e\",\r\n \"properties\": {\r\n \"accountName\": \"stage-pitr-validation-restored-ror\",\r\n \"apiType\": \"Sql\",\r\n \"creationTime\": \"2021-02-06T19:32:22Z\",\r\n \"deletionTime\": \"2021-02-06T19:40:48Z\",\r\n \"restorableLocations\": [\r\n {\r\n \"locationName\": \"East US 2\",\r\n \"regionalDatabaseAccountInstanceId\": \"95ef85ad-f3dd-490d-aff2-50d6c7c0dd5f\",\r\n \"creationTime\": \"2021-02-06T19:32:22Z\",\r\n \"deletionTime\": \"2021-02-06T19:40:48Z\"\r\n }\r\n ]\r\n }\r\n },\r\n {\r\n \"name\": \"2d7d7e33-9b97-491e-895b-fe7f46f3d86c\",\r\n \"location\": \"East US 2\",\r\n \"type\": \"Microsoft.DocumentDB/locations/restorableDatabaseAccounts\",\r\n \"id\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/providers/Microsoft.DocumentDB/locations/eastus2/restorableDatabaseAccounts/2d7d7e33-9b97-491e-895b-fe7f46f3d86c\",\r\n \"properties\": {\r\n \"accountName\": \"stage-pitr-validation-source-r1\",\r\n \"apiType\": \"Sql\",\r\n \"creationTime\": \"2021-02-10T23:50:26Z\",\r\n \"deletionTime\": \"2021-02-11T07:07:51Z\",\r\n \"restorableLocations\": [\r\n {\r\n \"locationName\": \"East US 2\",\r\n \"regionalDatabaseAccountInstanceId\": \"eb35152b-9da0-44c0-a767-0c643969bf08\",\r\n \"creationTime\": \"2021-02-10T23:50:26Z\",\r\n \"deletionTime\": \"2021-02-11T07:07:51Z\"\r\n }\r\n ]\r\n }\r\n },\r\n {\r\n \"name\": \"4961ef4a-30d0-484e-ad16-8ba453b14abf\",\r\n \"location\": \"East US 2\",\r\n \"type\": \"Microsoft.DocumentDB/locations/restorableDatabaseAccounts\",\r\n \"id\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/providers/Microsoft.DocumentDB/locations/eastus2/restorableDatabaseAccounts/4961ef4a-30d0-484e-ad16-8ba453b14abf\",\r\n \"properties\": {\r\n \"accountName\": \"stage-pitr-validation-source-res\",\r\n \"apiType\": \"Sql\",\r\n \"creationTime\": \"2021-02-11T04:40:28Z\",\r\n \"deletionTime\": \"2021-02-11T07:07:51Z\",\r\n \"restorableLocations\": [\r\n {\r\n \"locationName\": \"East US 2\",\r\n \"regionalDatabaseAccountInstanceId\": \"5970d071-463b-4f79-92ac-810f199754e9\",\r\n \"creationTime\": \"2021-02-11T04:40:28Z\",\r\n \"deletionTime\": \"2021-02-11T07:07:51Z\"\r\n }\r\n ]\r\n }\r\n },\r\n {\r\n \"name\": \"ce9e2478-aa44-4bd2-96d4-d23f75dbd994\",\r\n \"location\": \"East US 2\",\r\n \"type\": \"Microsoft.DocumentDB/locations/restorableDatabaseAccounts\",\r\n \"id\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/providers/Microsoft.DocumentDB/locations/eastus2/restorableDatabaseAccounts/ce9e2478-aa44-4bd2-96d4-d23f75dbd994\",\r\n \"properties\": {\r\n \"accountName\": \"stage-pitr-validation-source-r2\",\r\n \"apiType\": \"Sql\",\r\n \"creationTime\": \"2021-02-11T00:04:43Z\",\r\n \"deletionTime\": \"2021-02-11T07:07:54Z\",\r\n \"restorableLocations\": [\r\n {\r\n \"locationName\": \"West US 2\",\r\n \"regionalDatabaseAccountInstanceId\": \"4d1a5ff8-9393-4dc4-a3b9-1b24e2aeb32c\",\r\n \"creationTime\": \"2021-02-11T00:04:43Z\",\r\n \"deletionTime\": \"2021-02-11T07:07:54Z\"\r\n }\r\n ]\r\n }\r\n },\r\n {\r\n \"name\": \"f93aff83-e412-471c-86de-e23df6cbeb58\",\r\n \"location\": \"East US 2\",\r\n \"type\": \"Microsoft.DocumentDB/locations/restorableDatabaseAccounts\",\r\n \"id\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/providers/Microsoft.DocumentDB/locations/eastus2/restorableDatabaseAccounts/f93aff83-e412-471c-86de-e23df6cbeb58\",\r\n \"properties\": {\r\n \"accountName\": \"stage-pitr-validation-restored-readregion\",\r\n \"apiType\": \"Sql\",\r\n \"creationTime\": \"2021-02-07T21:48:30Z\",\r\n \"deletionTime\": \"2021-02-11T21:07:27Z\",\r\n \"restorableLocations\": [\r\n {\r\n \"locationName\": \"North Central US\",\r\n \"regionalDatabaseAccountInstanceId\": \"ffac845b-ac41-4bfe-acc1-227406f9f68a\",\r\n \"creationTime\": \"2021-02-07T21:48:30Z\",\r\n \"deletionTime\": \"2021-02-11T21:07:27Z\"\r\n }\r\n ]\r\n }\r\n },\r\n {\r\n \"name\": \"9bb64267-f1d8-4d2a-9367-d16492966dc8\",\r\n \"location\": \"East US 2\",\r\n \"type\": \"Microsoft.DocumentDB/locations/restorableDatabaseAccounts\",\r\n \"id\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/providers/Microsoft.DocumentDB/locations/eastus2/restorableDatabaseAccounts/9bb64267-f1d8-4d2a-9367-d16492966dc8\",\r\n \"properties\": {\r\n \"accountName\": \"stage-pitr-validation-restored-wrr\",\r\n \"apiType\": \"Sql\",\r\n \"creationTime\": \"2021-02-06T18:18:14Z\",\r\n \"deletionTime\": \"2021-02-11T21:07:28Z\",\r\n \"restorableLocations\": [\r\n {\r\n \"locationName\": \"North Central US\",\r\n \"regionalDatabaseAccountInstanceId\": \"c8fdaea9-e41e-416f-8ab8-ffa9295ad14a\",\r\n \"creationTime\": \"2021-02-07T18:55:04Z\",\r\n \"deletionTime\": \"2021-02-11T21:07:28Z\"\r\n },\r\n {\r\n \"locationName\": \"East US 2\",\r\n \"regionalDatabaseAccountInstanceId\": \"de4ce762-1219-4750-9c25-cead6a9964b3\",\r\n \"creationTime\": \"2021-02-06T18:18:14Z\",\r\n \"deletionTime\": \"2021-02-11T21:07:28Z\"\r\n }\r\n ]\r\n }\r\n },\r\n {\r\n \"name\": \"78bd960f-b8bc-4412-b4e1-f16c5acc599c\",\r\n \"location\": \"East US 2\",\r\n \"type\": \"Microsoft.DocumentDB/locations/restorableDatabaseAccounts\",\r\n \"id\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/providers/Microsoft.DocumentDB/locations/eastus2/restorableDatabaseAccounts/78bd960f-b8bc-4412-b4e1-f16c5acc599c\",\r\n \"properties\": {\r\n \"accountName\": \"stage-pitr-validation-del-restored\",\r\n \"apiType\": \"Sql\",\r\n \"creationTime\": \"2021-02-06T20:23:29Z\",\r\n \"deletionTime\": \"2021-02-11T21:07:28Z\",\r\n \"restorableLocations\": [\r\n {\r\n \"locationName\": \"Southeast Asia\",\r\n \"regionalDatabaseAccountInstanceId\": \"753180e8-e128-47e9-98d1-5ce0c6d4f3a8\",\r\n \"creationTime\": \"2021-02-08T19:31:46Z\",\r\n \"deletionTime\": \"2021-02-11T21:07:28Z\"\r\n },\r\n {\r\n \"locationName\": \"East US 2\",\r\n \"regionalDatabaseAccountInstanceId\": \"2524386d-c456-4de9-a314-1acdb94e52a3\",\r\n \"creationTime\": \"2021-02-06T20:23:29Z\",\r\n \"deletionTime\": \"2021-02-11T21:07:28Z\"\r\n }\r\n ]\r\n }\r\n },\r\n {\r\n \"name\": \"67d6981a-3dc7-4e3a-b04a-73c0376d42bb\",\r\n \"location\": \"East US 2\",\r\n \"type\": \"Microsoft.DocumentDB/locations/restorableDatabaseAccounts\",\r\n \"id\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/providers/Microsoft.DocumentDB/locations/eastus2/restorableDatabaseAccounts/67d6981a-3dc7-4e3a-b04a-73c0376d42bb\",\r\n \"properties\": {\r\n \"accountName\": \"stage-pitr-validation-source-r2\",\r\n \"apiType\": \"Sql\",\r\n \"creationTime\": \"2021-02-11T08:37:02Z\",\r\n \"deletionTime\": \"2021-02-12T17:07:42Z\",\r\n \"restorableLocations\": [\r\n {\r\n \"locationName\": \"East US 2\",\r\n \"regionalDatabaseAccountInstanceId\": \"5f331e43-571c-4fe7-9874-aeafcd2b421c\",\r\n \"creationTime\": \"2021-02-11T08:37:02Z\",\r\n \"deletionTime\": \"2021-02-12T17:07:42Z\"\r\n }\r\n ]\r\n }\r\n },\r\n {\r\n \"name\": \"5ea690df-46a9-4bf2-910c-0484660978bb\",\r\n \"location\": \"East US 2\",\r\n \"type\": \"Microsoft.DocumentDB/locations/restorableDatabaseAccounts\",\r\n \"id\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/providers/Microsoft.DocumentDB/locations/eastus2/restorableDatabaseAccounts/5ea690df-46a9-4bf2-910c-0484660978bb\",\r\n \"properties\": {\r\n \"accountName\": \"stage-pitr-validation-source-r1\",\r\n \"apiType\": \"Sql\",\r\n \"creationTime\": \"2021-02-11T08:24:56Z\",\r\n \"deletionTime\": \"2021-02-12T17:07:43Z\",\r\n \"restorableLocations\": [\r\n {\r\n \"locationName\": \"East US 2\",\r\n \"regionalDatabaseAccountInstanceId\": \"29b9a3fe-b375-462d-9221-191fc4ddaa83\",\r\n \"creationTime\": \"2021-02-11T08:24:56Z\",\r\n \"deletionTime\": \"2021-02-12T17:07:43Z\"\r\n }\r\n ]\r\n }\r\n },\r\n {\r\n \"name\": \"53b3d044-7394-4a06-883d-cf9247f66e3c\",\r\n \"location\": \"East US 2\",\r\n \"type\": \"Microsoft.DocumentDB/locations/restorableDatabaseAccounts\",\r\n \"id\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/providers/Microsoft.DocumentDB/locations/eastus2/restorableDatabaseAccounts/53b3d044-7394-4a06-883d-cf9247f66e3c\",\r\n \"properties\": {\r\n \"accountName\": \"stage-pitr-validation-source-r3\",\r\n \"apiType\": \"Sql\",\r\n \"creationTime\": \"2021-02-11T08:49:08Z\",\r\n \"deletionTime\": \"2021-02-12T17:07:44Z\",\r\n \"restorableLocations\": [\r\n {\r\n \"locationName\": \"East US 2\",\r\n \"regionalDatabaseAccountInstanceId\": \"a38a83ce-d467-4c81-9f3d-c65697d1c547\",\r\n \"creationTime\": \"2021-02-11T08:49:08Z\",\r\n \"deletionTime\": \"2021-02-12T17:07:44Z\"\r\n }\r\n ]\r\n }\r\n },\r\n {\r\n \"name\": \"66c4a9a2-7799-474a-9e1e-e56a4b340d62\",\r\n \"location\": \"East US 2\",\r\n \"type\": \"Microsoft.DocumentDB/locations/restorableDatabaseAccounts\",\r\n \"id\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/providers/Microsoft.DocumentDB/locations/eastus2/restorableDatabaseAccounts/66c4a9a2-7799-474a-9e1e-e56a4b340d62\",\r\n \"properties\": {\r\n \"accountName\": \"stage-pitr-validation-source-r4\",\r\n \"apiType\": \"Sql\",\r\n \"creationTime\": \"2021-02-11T09:01:06Z\",\r\n \"deletionTime\": \"2021-02-12T17:07:45Z\",\r\n \"restorableLocations\": [\r\n {\r\n \"locationName\": \"East US 2\",\r\n \"regionalDatabaseAccountInstanceId\": \"01869f13-ab6f-451b-8b15-9cb0b369cde2\",\r\n \"creationTime\": \"2021-02-11T09:01:06Z\",\r\n \"deletionTime\": \"2021-02-12T17:07:45Z\"\r\n }\r\n ]\r\n }\r\n },\r\n {\r\n \"name\": \"674c1551-e35b-4a4d-bd79-fde1f439dbe0\",\r\n \"location\": \"East US 2\",\r\n \"type\": \"Microsoft.DocumentDB/locations/restorableDatabaseAccounts\",\r\n \"id\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/providers/Microsoft.DocumentDB/locations/eastus2/restorableDatabaseAccounts/674c1551-e35b-4a4d-bd79-fde1f439dbe0\",\r\n \"properties\": {\r\n \"accountName\": \"stage-pitr-validation-source-r1\",\r\n \"apiType\": \"Sql\",\r\n \"creationTime\": \"2021-02-17T11:23:16Z\",\r\n \"deletionTime\": \"2021-02-17T15:31:10Z\",\r\n \"restorableLocations\": [\r\n {\r\n \"locationName\": \"East US 2\",\r\n \"regionalDatabaseAccountInstanceId\": \"17329379-801c-4909-999a-421f20fd57c4\",\r\n \"creationTime\": \"2021-02-17T11:23:16Z\",\r\n \"deletionTime\": \"2021-02-17T15:31:10Z\"\r\n }\r\n ]\r\n }\r\n },\r\n {\r\n \"name\": \"af242175-f3a2-40f4-9c77-10eaf232a2b5\",\r\n \"location\": \"East US 2\",\r\n \"type\": \"Microsoft.DocumentDB/locations/restorableDatabaseAccounts\",\r\n \"id\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/providers/Microsoft.DocumentDB/locations/eastus2/restorableDatabaseAccounts/af242175-f3a2-40f4-9c77-10eaf232a2b5\",\r\n \"properties\": {\r\n \"accountName\": \"dd21234\",\r\n \"apiType\": \"Sql\",\r\n \"creationTime\": \"2021-02-22T09:47:40Z\",\r\n \"deletionTime\": \"2021-02-22T10:59:26Z\",\r\n \"restorableLocations\": [\r\n {\r\n \"locationName\": \"East US 2\",\r\n \"regionalDatabaseAccountInstanceId\": \"66b2c82f-633f-446a-b89e-dba1b13ae92c\",\r\n \"creationTime\": \"2021-02-22T09:47:40Z\",\r\n \"deletionTime\": \"2021-02-22T10:59:26Z\"\r\n }\r\n ]\r\n }\r\n },\r\n {\r\n \"name\": \"128a528a-5e22-4146-ae62-b32994614cb0\",\r\n \"location\": \"East US 2\",\r\n \"type\": \"Microsoft.DocumentDB/locations/restorableDatabaseAccounts\",\r\n \"id\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/providers/Microsoft.DocumentDB/locations/eastus2/restorableDatabaseAccounts/128a528a-5e22-4146-ae62-b32994614cb0\",\r\n \"properties\": {\r\n \"accountName\": \"dd21\",\r\n \"apiType\": \"Sql\",\r\n \"creationTime\": \"2021-02-22T09:02:19Z\",\r\n \"deletionTime\": \"2021-02-22T11:00:06Z\",\r\n \"restorableLocations\": [\r\n {\r\n \"locationName\": \"East US 2\",\r\n \"regionalDatabaseAccountInstanceId\": \"ebc69bc4-4865-41d6-a632-aef7a5e2de1d\",\r\n \"creationTime\": \"2021-02-22T09:02:19Z\",\r\n \"deletionTime\": \"2021-02-22T11:00:06Z\"\r\n }\r\n ]\r\n }\r\n },\r\n {\r\n \"name\": \"3e1a3f5e-dcae-449e-82f7-bbf80cba54c5\",\r\n \"location\": \"East US 2\",\r\n \"type\": \"Microsoft.DocumentDB/locations/restorableDatabaseAccounts\",\r\n \"id\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/providers/Microsoft.DocumentDB/locations/eastus2/restorableDatabaseAccounts/3e1a3f5e-dcae-449e-82f7-bbf80cba54c5\",\r\n \"properties\": {\r\n \"accountName\": \"ddb55\",\r\n \"apiType\": \"Sql\",\r\n \"creationTime\": \"2021-02-24T04:21:43Z\",\r\n \"deletionTime\": \"2021-02-24T07:45:59Z\",\r\n \"restorableLocations\": [\r\n {\r\n \"locationName\": \"East US 2\",\r\n \"regionalDatabaseAccountInstanceId\": \"4dff1afd-82b9-425f-840a-3237bd54478d\",\r\n \"creationTime\": \"2021-02-24T04:21:43Z\",\r\n \"deletionTime\": \"2021-02-24T07:45:59Z\"\r\n }\r\n ]\r\n }\r\n },\r\n {\r\n \"name\": \"d612dc86-9085-444b-a868-fb48c7d368fb\",\r\n \"location\": \"East US 2\",\r\n \"type\": \"Microsoft.DocumentDB/locations/restorableDatabaseAccounts\",\r\n \"id\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/providers/Microsoft.DocumentDB/locations/eastus2/restorableDatabaseAccounts/d612dc86-9085-444b-a868-fb48c7d368fb\",\r\n \"properties\": {\r\n \"accountName\": \"ddb1\",\r\n \"apiType\": \"Sql\",\r\n \"creationTime\": \"2021-02-18T11:15:52Z\",\r\n \"deletionTime\": \"2021-02-24T07:46:14Z\",\r\n \"restorableLocations\": [\r\n {\r\n \"locationName\": \"East US 2\",\r\n \"regionalDatabaseAccountInstanceId\": \"db2b9027-bcdf-4069-be69-074fc2f46d7c\",\r\n \"creationTime\": \"2021-02-18T11:15:52Z\",\r\n \"deletionTime\": \"2021-02-24T07:46:14Z\"\r\n }\r\n ]\r\n }\r\n },\r\n {\r\n \"name\": \"0ea5b02f-40bd-4cfd-8406-35286bd00fa2\",\r\n \"location\": \"East US 2\",\r\n \"type\": \"Microsoft.DocumentDB/locations/restorableDatabaseAccounts\",\r\n \"id\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/providers/Microsoft.DocumentDB/locations/eastus2/restorableDatabaseAccounts/0ea5b02f-40bd-4cfd-8406-35286bd00fa2\",\r\n \"properties\": {\r\n \"accountName\": \"pitr-sql-stage-restored-ror\",\r\n \"apiType\": \"Sql\",\r\n \"creationTime\": \"2021-02-24T17:56:15Z\",\r\n \"deletionTime\": \"2021-02-25T10:33:38Z\",\r\n \"restorableLocations\": [\r\n {\r\n \"locationName\": \"West US 2\",\r\n \"regionalDatabaseAccountInstanceId\": \"740afadb-1142-4b13-9fa4-67e857d56a89\",\r\n \"creationTime\": \"2021-02-24T17:56:15Z\",\r\n \"deletionTime\": \"2021-02-25T10:33:38Z\"\r\n }\r\n ]\r\n }\r\n },\r\n {\r\n \"name\": \"52006c1b-5c7f-43a1-9ae0-b936550aed8a\",\r\n \"location\": \"East US 2\",\r\n \"type\": \"Microsoft.DocumentDB/locations/restorableDatabaseAccounts\",\r\n \"id\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/providers/Microsoft.DocumentDB/locations/eastus2/restorableDatabaseAccounts/52006c1b-5c7f-43a1-9ae0-b936550aed8a\",\r\n \"properties\": {\r\n \"accountName\": \"pitr-sql-stage-restored-rrr\",\r\n \"apiType\": \"Sql\",\r\n \"creationTime\": \"2021-02-24T17:40:45Z\",\r\n \"deletionTime\": \"2021-02-25T10:34:20Z\",\r\n \"restorableLocations\": [\r\n {\r\n \"locationName\": \"West US 2\",\r\n \"regionalDatabaseAccountInstanceId\": \"a1e3fe50-7548-4b49-aee1-373a142e0c3b\",\r\n \"creationTime\": \"2021-02-24T17:40:45Z\",\r\n \"deletionTime\": \"2021-02-25T10:34:20Z\"\r\n }\r\n ]\r\n }\r\n },\r\n {\r\n \"name\": \"a578c9d3-1d35-451f-a3df-44e61ed45cfa\",\r\n \"location\": \"East US 2\",\r\n \"type\": \"Microsoft.DocumentDB/locations/restorableDatabaseAccounts\",\r\n \"id\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/providers/Microsoft.DocumentDB/locations/eastus2/restorableDatabaseAccounts/a578c9d3-1d35-451f-a3df-44e61ed45cfa\",\r\n \"properties\": {\r\n \"accountName\": \"pitr-sql-stage-restored-wrr\",\r\n \"apiType\": \"Sql\",\r\n \"creationTime\": \"2021-02-24T05:19:04Z\",\r\n \"deletionTime\": \"2021-02-25T10:34:35Z\",\r\n \"restorableLocations\": [\r\n {\r\n \"locationName\": \"East US 2\",\r\n \"regionalDatabaseAccountInstanceId\": \"feff600a-c776-422a-a2f7-0cfe03be68b8\",\r\n \"creationTime\": \"2021-02-24T05:19:04Z\",\r\n \"deletionTime\": \"2021-02-25T10:34:35Z\"\r\n }\r\n ]\r\n }\r\n },\r\n {\r\n \"name\": \"07b7492c-91c3-41bb-9f75-8f25c739ce06\",\r\n \"location\": \"East US 2\",\r\n \"type\": \"Microsoft.DocumentDB/locations/restorableDatabaseAccounts\",\r\n \"id\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/providers/Microsoft.DocumentDB/locations/eastus2/restorableDatabaseAccounts/07b7492c-91c3-41bb-9f75-8f25c739ce06\",\r\n \"properties\": {\r\n \"accountName\": \"pitr-sql-stage-restored-wrr\",\r\n \"apiType\": \"Sql\",\r\n \"creationTime\": \"2021-03-01T05:56:16Z\",\r\n \"deletionTime\": \"2021-03-02T09:01:04Z\",\r\n \"restorableLocations\": [\r\n {\r\n \"locationName\": \"East US 2\",\r\n \"regionalDatabaseAccountInstanceId\": \"bfbd7d4b-3edf-44da-8aab-eb9cdafe43a7\",\r\n \"creationTime\": \"2021-03-01T05:56:16Z\",\r\n \"deletionTime\": \"2021-03-02T09:01:04Z\"\r\n }\r\n ]\r\n }\r\n },\r\n {\r\n \"name\": \"db2af171-a342-4d3c-92ff-45e81629341d\",\r\n \"location\": \"East US 2\",\r\n \"type\": \"Microsoft.DocumentDB/locations/restorableDatabaseAccounts\",\r\n \"id\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/providers/Microsoft.DocumentDB/locations/eastus2/restorableDatabaseAccounts/db2af171-a342-4d3c-92ff-45e81629341d\",\r\n \"properties\": {\r\n \"accountName\": \"pitr-sql-stage-restored-wrr\",\r\n \"apiType\": \"Sql\",\r\n \"creationTime\": \"2021-03-02T10:39:31Z\",\r\n \"deletionTime\": \"2021-03-02T10:41:51Z\",\r\n \"restorableLocations\": [\r\n {\r\n \"locationName\": \"East US 2\",\r\n \"regionalDatabaseAccountInstanceId\": \"4e29876d-a887-4def-a99e-1b7043bb6181\",\r\n \"creationTime\": \"2021-03-02T10:39:31Z\",\r\n \"deletionTime\": \"2021-03-02T10:41:51Z\"\r\n }\r\n ]\r\n }\r\n },\r\n {\r\n \"name\": \"a76a91b4-489b-4714-b0fc-b98459934920\",\r\n \"location\": \"East US 2\",\r\n \"type\": \"Microsoft.DocumentDB/locations/restorableDatabaseAccounts\",\r\n \"id\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/providers/Microsoft.DocumentDB/locations/eastus2/restorableDatabaseAccounts/a76a91b4-489b-4714-b0fc-b98459934920\",\r\n \"properties\": {\r\n \"accountName\": \"pitr-sql-stage-restored-wrr\",\r\n \"apiType\": \"Sql\",\r\n \"creationTime\": \"2021-03-02T15:16:36Z\",\r\n \"deletionTime\": \"2021-03-03T04:08:46Z\",\r\n \"restorableLocations\": [\r\n {\r\n \"locationName\": \"East US 2\",\r\n \"regionalDatabaseAccountInstanceId\": \"40bafde5-ffd5-453a-acb4-9c697808790a\",\r\n \"creationTime\": \"2021-03-02T15:16:36Z\",\r\n \"deletionTime\": \"2021-03-03T04:08:46Z\"\r\n }\r\n ]\r\n }\r\n }\r\n ]\r\n}", + "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"name\": \"fccbe297-cb19-424b-a8d7-e996a6b7b689\",\r\n \"location\": \"East US 2\",\r\n \"type\": \"Microsoft.DocumentDB/locations/restorableDatabaseAccounts\",\r\n \"id\": \"/subscriptions/259fbb24-9bcd-4cfc-865c-fc33b22fe38a/providers/Microsoft.DocumentDB/locations/eastus2/restorableDatabaseAccounts/fccbe297-cb19-424b-a8d7-e996a6b7b689\",\r\n \"properties\": {\r\n \"accountName\": \"mongotestaccount\",\r\n \"apiType\": \"MongoDB\",\r\n \"creationTime\": \"2021-06-02T19:34:26Z\",\r\n \"restorableLocations\": [\r\n {\r\n \"locationName\": \"East US 2\",\r\n \"regionalDatabaseAccountInstanceId\": \"9f8cab0e-80f5-48b6-bc9f-7f7b3a69afeb\",\r\n \"creationTime\": \"2021-06-02T19:34:27Z\"\r\n }\r\n ]\r\n }\r\n },\r\n {\r\n \"name\": \"c6b53e1d-0dec-4ff2-ab70-2e9d24a3ed27\",\r\n \"location\": \"East US 2\",\r\n \"type\": \"Microsoft.DocumentDB/locations/restorableDatabaseAccounts\",\r\n \"id\": \"/subscriptions/259fbb24-9bcd-4cfc-865c-fc33b22fe38a/providers/Microsoft.DocumentDB/locations/eastus2/restorableDatabaseAccounts/c6b53e1d-0dec-4ff2-ab70-2e9d24a3ed27\",\r\n \"properties\": {\r\n \"accountName\": \"pitr-sql-stage-source\",\r\n \"apiType\": \"Sql\",\r\n \"creationTime\": \"2021-06-02T23:30:43Z\",\r\n \"restorableLocations\": [\r\n {\r\n \"locationName\": \"East US 2\",\r\n \"regionalDatabaseAccountInstanceId\": \"9961d453-89c2-4daf-bcad-add22d287617\",\r\n \"creationTime\": \"2021-06-02T23:30:43Z\"\r\n }\r\n ]\r\n }\r\n },\r\n {\r\n \"name\": \"990590c0-4db8-4b0e-96ef-55f0be03615d\",\r\n \"location\": \"East US 2\",\r\n \"type\": \"Microsoft.DocumentDB/locations/restorableDatabaseAccounts\",\r\n \"id\": \"/subscriptions/259fbb24-9bcd-4cfc-865c-fc33b22fe38a/providers/Microsoft.DocumentDB/locations/eastus2/restorableDatabaseAccounts/990590c0-4db8-4b0e-96ef-55f0be03615d\",\r\n \"properties\": {\r\n \"accountName\": \"pitr-mongo32-stage-source\",\r\n \"apiType\": \"MongoDB\",\r\n \"creationTime\": \"2021-06-02T23:32:31Z\",\r\n \"restorableLocations\": [\r\n {\r\n \"locationName\": \"East US 2\",\r\n \"regionalDatabaseAccountInstanceId\": \"2d0a8ae4-e622-429c-a2bf-b7b13ada7b45\",\r\n \"creationTime\": \"2021-06-02T23:32:32Z\"\r\n }\r\n ]\r\n }\r\n },\r\n {\r\n \"name\": \"60a54911-db9e-436f-b282-34779e0a2a7f\",\r\n \"location\": \"East US 2\",\r\n \"type\": \"Microsoft.DocumentDB/locations/restorableDatabaseAccounts\",\r\n \"id\": \"/subscriptions/259fbb24-9bcd-4cfc-865c-fc33b22fe38a/providers/Microsoft.DocumentDB/locations/eastus2/restorableDatabaseAccounts/60a54911-db9e-436f-b282-34779e0a2a7f\",\r\n \"properties\": {\r\n \"accountName\": \"pitr-mongo36-stage-source\",\r\n \"apiType\": \"MongoDB\",\r\n \"creationTime\": \"2021-06-02T23:33:01Z\",\r\n \"restorableLocations\": [\r\n {\r\n \"locationName\": \"East US 2\",\r\n \"regionalDatabaseAccountInstanceId\": \"32163288-85a4-454b-a7d7-d7fbb1f32aeb\",\r\n \"creationTime\": \"2021-06-02T23:33:02Z\"\r\n }\r\n ]\r\n }\r\n },\r\n {\r\n \"name\": \"b0736fc7-cb53-4b6f-bd2f-aac904085da4\",\r\n \"location\": \"East US 2\",\r\n \"type\": \"Microsoft.DocumentDB/locations/restorableDatabaseAccounts\",\r\n \"id\": \"/subscriptions/259fbb24-9bcd-4cfc-865c-fc33b22fe38a/providers/Microsoft.DocumentDB/locations/eastus2/restorableDatabaseAccounts/b0736fc7-cb53-4b6f-bd2f-aac904085da4\",\r\n \"properties\": {\r\n \"accountName\": \"mongo-continuous-1212\",\r\n \"apiType\": \"MongoDB\",\r\n \"creationTime\": \"2021-06-04T22:09:26Z\",\r\n \"restorableLocations\": [\r\n {\r\n \"locationName\": \"East US 2\",\r\n \"regionalDatabaseAccountInstanceId\": \"a1f3383c-4e2f-44b5-8348-7323e2356b3d\",\r\n \"creationTime\": \"2021-06-04T22:09:26Z\"\r\n }\r\n ]\r\n }\r\n },\r\n {\r\n \"name\": \"2301188f-cf13-419d-b7c2-5321c5476526\",\r\n \"location\": \"East US 2\",\r\n \"type\": \"Microsoft.DocumentDB/locations/restorableDatabaseAccounts\",\r\n \"id\": \"/subscriptions/259fbb24-9bcd-4cfc-865c-fc33b22fe38a/providers/Microsoft.DocumentDB/locations/eastus2/restorableDatabaseAccounts/2301188f-cf13-419d-b7c2-5321c5476526\",\r\n \"properties\": {\r\n \"accountName\": \"restored-cosmosdb-1212\",\r\n \"apiType\": \"Sql\",\r\n \"creationTime\": \"2021-06-07T21:06:02Z\",\r\n \"restorableLocations\": [\r\n {\r\n \"locationName\": \"East US 2\",\r\n \"regionalDatabaseAccountInstanceId\": \"05b3f3ce-59ee-4d28-bd66-09ea5c50790d\",\r\n \"creationTime\": \"2021-06-07T21:06:02Z\"\r\n }\r\n ]\r\n }\r\n },\r\n {\r\n \"name\": \"24302a82-123a-487a-bede-054ade2860f1\",\r\n \"location\": \"East US 2\",\r\n \"type\": \"Microsoft.DocumentDB/locations/restorableDatabaseAccounts\",\r\n \"id\": \"/subscriptions/259fbb24-9bcd-4cfc-865c-fc33b22fe38a/providers/Microsoft.DocumentDB/locations/eastus2/restorableDatabaseAccounts/24302a82-123a-487a-bede-054ade2860f1\",\r\n \"properties\": {\r\n \"accountName\": \"dbaccount29-1\",\r\n \"apiType\": \"Sql\",\r\n \"creationTime\": \"2021-06-07T21:24:52Z\",\r\n \"restorableLocations\": [\r\n {\r\n \"locationName\": \"East US 2\",\r\n \"regionalDatabaseAccountInstanceId\": \"ede5fb9c-4058-44a6-8dec-29e3e7de9b44\",\r\n \"creationTime\": \"2021-06-07T21:24:53Z\"\r\n }\r\n ]\r\n }\r\n },\r\n {\r\n \"name\": \"e157f1a1-6837-46fa-8f4f-ef3e7266ab3a\",\r\n \"location\": \"East US 2\",\r\n \"type\": \"Microsoft.DocumentDB/locations/restorableDatabaseAccounts\",\r\n \"id\": \"/subscriptions/259fbb24-9bcd-4cfc-865c-fc33b22fe38a/providers/Microsoft.DocumentDB/locations/eastus2/restorableDatabaseAccounts/e157f1a1-6837-46fa-8f4f-ef3e7266ab3a\",\r\n \"properties\": {\r\n \"accountName\": \"rbactestps12\",\r\n \"apiType\": \"Sql\",\r\n \"creationTime\": \"2021-06-07T21:27:24Z\",\r\n \"restorableLocations\": [\r\n {\r\n \"locationName\": \"East US 2\",\r\n \"regionalDatabaseAccountInstanceId\": \"64c449c8-6fa2-4273-b066-5a062d4418be\",\r\n \"creationTime\": \"2021-06-07T21:27:24Z\"\r\n }\r\n ]\r\n }\r\n },\r\n {\r\n \"name\": \"72706ac1-0d0a-40be-a30a-1b4af0911131\",\r\n \"location\": \"East US 2\",\r\n \"type\": \"Microsoft.DocumentDB/locations/restorableDatabaseAccounts\",\r\n \"id\": \"/subscriptions/259fbb24-9bcd-4cfc-865c-fc33b22fe38a/providers/Microsoft.DocumentDB/locations/eastus2/restorableDatabaseAccounts/72706ac1-0d0a-40be-a30a-1b4af0911131\",\r\n \"properties\": {\r\n \"accountName\": \"mongo-db0002\",\r\n \"apiType\": \"MongoDB\",\r\n \"creationTime\": \"2021-06-07T23:44:54Z\",\r\n \"restorableLocations\": [\r\n {\r\n \"locationName\": \"East US 2\",\r\n \"regionalDatabaseAccountInstanceId\": \"dfccb705-08c0-4282-9dad-07ab354ba8e8\",\r\n \"creationTime\": \"2021-06-07T23:44:55Z\"\r\n }\r\n ]\r\n }\r\n },\r\n {\r\n \"name\": \"41ea7d9e-553f-4259-872f-676c969e9a0b\",\r\n \"location\": \"East US 2\",\r\n \"type\": \"Microsoft.DocumentDB/locations/restorableDatabaseAccounts\",\r\n \"id\": \"/subscriptions/259fbb24-9bcd-4cfc-865c-fc33b22fe38a/providers/Microsoft.DocumentDB/locations/eastus2/restorableDatabaseAccounts/41ea7d9e-553f-4259-872f-676c969e9a0b\",\r\n \"properties\": {\r\n \"accountName\": \"dbaccount27-1\",\r\n \"apiType\": \"Sql\",\r\n \"creationTime\": \"2021-06-08T17:39:46Z\",\r\n \"restorableLocations\": [\r\n {\r\n \"locationName\": \"East US 2\",\r\n \"regionalDatabaseAccountInstanceId\": \"1db9bff4-73f7-48e1-a506-ab5b3edc8308\",\r\n \"creationTime\": \"2021-06-08T17:39:47Z\"\r\n }\r\n ]\r\n }\r\n },\r\n {\r\n \"name\": \"ceacd38f-9e6b-4a81-b2f7-ecd341c6fbbd\",\r\n \"location\": \"East US 2\",\r\n \"type\": \"Microsoft.DocumentDB/locations/restorableDatabaseAccounts\",\r\n \"id\": \"/subscriptions/259fbb24-9bcd-4cfc-865c-fc33b22fe38a/providers/Microsoft.DocumentDB/locations/eastus2/restorableDatabaseAccounts/ceacd38f-9e6b-4a81-b2f7-ecd341c6fbbd\",\r\n \"properties\": {\r\n \"accountName\": \"cli125\",\r\n \"apiType\": \"Sql\",\r\n \"creationTime\": \"2021-06-09T19:06:13Z\",\r\n \"restorableLocations\": [\r\n {\r\n \"locationName\": \"East US 2\",\r\n \"regionalDatabaseAccountInstanceId\": \"c2a9bc5f-f37e-4add-a582-52abfb6a36a1\",\r\n \"creationTime\": \"2021-06-09T19:06:14Z\"\r\n }\r\n ]\r\n }\r\n },\r\n {\r\n \"name\": \"88d48073-10d1-402e-8cf5-c79e4e2de08e\",\r\n \"location\": \"East US 2\",\r\n \"type\": \"Microsoft.DocumentDB/locations/restorableDatabaseAccounts\",\r\n \"id\": \"/subscriptions/259fbb24-9bcd-4cfc-865c-fc33b22fe38a/providers/Microsoft.DocumentDB/locations/eastus2/restorableDatabaseAccounts/88d48073-10d1-402e-8cf5-c79e4e2de08e\",\r\n \"properties\": {\r\n \"accountName\": \"sqltestaccount123\",\r\n \"apiType\": \"Sql\",\r\n \"creationTime\": \"2021-06-09T19:09:54Z\",\r\n \"restorableLocations\": [\r\n {\r\n \"locationName\": \"East US 2\",\r\n \"regionalDatabaseAccountInstanceId\": \"861a2513-08ea-4cf8-817b-99b8282f5013\",\r\n \"creationTime\": \"2021-06-09T19:09:54Z\"\r\n }\r\n ]\r\n }\r\n },\r\n {\r\n \"name\": \"bb9b3beb-42c4-4ae4-a983-58e20bcd71a5\",\r\n \"location\": \"East US 2\",\r\n \"type\": \"Microsoft.DocumentDB/locations/restorableDatabaseAccounts\",\r\n \"id\": \"/subscriptions/259fbb24-9bcd-4cfc-865c-fc33b22fe38a/providers/Microsoft.DocumentDB/locations/eastus2/restorableDatabaseAccounts/bb9b3beb-42c4-4ae4-a983-58e20bcd71a5\",\r\n \"properties\": {\r\n \"accountName\": \"db003\",\r\n \"apiType\": \"MongoDB\",\r\n \"creationTime\": \"2021-06-09T20:16:40Z\",\r\n \"restorableLocations\": [\r\n {\r\n \"locationName\": \"East US 2\",\r\n \"regionalDatabaseAccountInstanceId\": \"a6dda878-4486-437f-bd72-b9e87bf75221\",\r\n \"creationTime\": \"2021-06-09T20:16:41Z\"\r\n }\r\n ]\r\n }\r\n },\r\n {\r\n \"name\": \"9f8ee54b-f275-44fa-b2c5-9983644c131f\",\r\n \"location\": \"East US 2\",\r\n \"type\": \"Microsoft.DocumentDB/locations/restorableDatabaseAccounts\",\r\n \"id\": \"/subscriptions/259fbb24-9bcd-4cfc-865c-fc33b22fe38a/providers/Microsoft.DocumentDB/locations/eastus2/restorableDatabaseAccounts/9f8ee54b-f275-44fa-b2c5-9983644c131f\",\r\n \"properties\": {\r\n \"accountName\": \"sqltestaccount124\",\r\n \"apiType\": \"Sql\",\r\n \"creationTime\": \"2021-06-10T05:06:02Z\",\r\n \"restorableLocations\": [\r\n {\r\n \"locationName\": \"East US 2\",\r\n \"regionalDatabaseAccountInstanceId\": \"3fe302ed-daee-401c-9897-250919f9a0fe\",\r\n \"creationTime\": \"2021-06-10T05:06:02Z\"\r\n }\r\n ]\r\n }\r\n },\r\n {\r\n \"name\": \"c2601a38-bee1-400e-bc5e-8d817318cf31\",\r\n \"location\": \"East US 2\",\r\n \"type\": \"Microsoft.DocumentDB/locations/restorableDatabaseAccounts\",\r\n \"id\": \"/subscriptions/259fbb24-9bcd-4cfc-865c-fc33b22fe38a/providers/Microsoft.DocumentDB/locations/eastus2/restorableDatabaseAccounts/c2601a38-bee1-400e-bc5e-8d817318cf31\",\r\n \"properties\": {\r\n \"accountName\": \"restoredaccountname7595\",\r\n \"apiType\": \"Sql\",\r\n \"creationTime\": \"2021-06-10T18:00:35Z\",\r\n \"restorableLocations\": [\r\n {\r\n \"locationName\": \"East US 2\",\r\n \"regionalDatabaseAccountInstanceId\": \"0a4ccb11-2cb5-4b81-8ab6-ea10cbb2290d\",\r\n \"creationTime\": \"2021-06-10T18:00:35Z\"\r\n }\r\n ]\r\n }\r\n },\r\n {\r\n \"name\": \"33035d50-7f15-4450-a71d-a4da4dcd039f\",\r\n \"location\": \"East US 2\",\r\n \"type\": \"Microsoft.DocumentDB/locations/restorableDatabaseAccounts\",\r\n \"id\": \"/subscriptions/259fbb24-9bcd-4cfc-865c-fc33b22fe38a/providers/Microsoft.DocumentDB/locations/eastus2/restorableDatabaseAccounts/33035d50-7f15-4450-a71d-a4da4dcd039f\",\r\n \"properties\": {\r\n \"accountName\": \"restoredaccountname4020\",\r\n \"apiType\": \"Sql\",\r\n \"creationTime\": \"2021-06-15T21:27:04Z\",\r\n \"restorableLocations\": [\r\n {\r\n \"locationName\": \"East US 2\",\r\n \"regionalDatabaseAccountInstanceId\": \"5d75295f-2ad7-451c-b27d-8e877e22b075\",\r\n \"creationTime\": \"2021-06-15T21:27:04Z\"\r\n }\r\n ]\r\n }\r\n },\r\n {\r\n \"name\": \"7d405124-1129-468e-9ff9-d031059c96bc\",\r\n \"location\": \"East US 2\",\r\n \"type\": \"Microsoft.DocumentDB/locations/restorableDatabaseAccounts\",\r\n \"id\": \"/subscriptions/259fbb24-9bcd-4cfc-865c-fc33b22fe38a/providers/Microsoft.DocumentDB/locations/eastus2/restorableDatabaseAccounts/7d405124-1129-468e-9ff9-d031059c96bc\",\r\n \"properties\": {\r\n \"accountName\": \"sqltestaccount\",\r\n \"apiType\": \"Sql\",\r\n \"creationTime\": \"2021-06-16T05:58:55Z\",\r\n \"restorableLocations\": [\r\n {\r\n \"locationName\": \"East US 2\",\r\n \"regionalDatabaseAccountInstanceId\": \"d0a6a03f-c045-4275-a38a-b221f5749051\",\r\n \"creationTime\": \"2021-06-16T05:58:55Z\"\r\n }\r\n ]\r\n }\r\n },\r\n {\r\n \"name\": \"d5fe116b-8a63-474e-88a4-afb2a726198e\",\r\n \"location\": \"East US 2\",\r\n \"type\": \"Microsoft.DocumentDB/locations/restorableDatabaseAccounts\",\r\n \"id\": \"/subscriptions/259fbb24-9bcd-4cfc-865c-fc33b22fe38a/providers/Microsoft.DocumentDB/locations/eastus2/restorableDatabaseAccounts/d5fe116b-8a63-474e-88a4-afb2a726198e\",\r\n \"properties\": {\r\n \"accountName\": \"cli127\",\r\n \"apiType\": \"Sql\",\r\n \"creationTime\": \"2021-06-16T06:57:39Z\",\r\n \"restorableLocations\": [\r\n {\r\n \"locationName\": \"East US 2\",\r\n \"regionalDatabaseAccountInstanceId\": \"f9a67f44-e6f6-4270-91c6-d90a0292ac96\",\r\n \"creationTime\": \"2021-06-16T06:57:39Z\"\r\n }\r\n ]\r\n }\r\n },\r\n {\r\n \"name\": \"1dfe47fb-822c-41f1-b403-1cf6c63d0ba7\",\r\n \"location\": \"East US 2\",\r\n \"type\": \"Microsoft.DocumentDB/locations/restorableDatabaseAccounts\",\r\n \"id\": \"/subscriptions/259fbb24-9bcd-4cfc-865c-fc33b22fe38a/providers/Microsoft.DocumentDB/locations/eastus2/restorableDatabaseAccounts/1dfe47fb-822c-41f1-b403-1cf6c63d0ba7\",\r\n \"properties\": {\r\n \"accountName\": \"restoredaccountname3766\",\r\n \"apiType\": \"Sql\",\r\n \"creationTime\": \"2021-06-16T07:16:12Z\",\r\n \"restorableLocations\": [\r\n {\r\n \"locationName\": \"East US 2\",\r\n \"regionalDatabaseAccountInstanceId\": \"1a05d833-615e-45b0-b2ec-f87ca4d9829c\",\r\n \"creationTime\": \"2021-06-16T07:16:12Z\"\r\n }\r\n ]\r\n }\r\n },\r\n {\r\n \"name\": \"c483a757-4d93-4d60-ae22-04c9d2c89595\",\r\n \"location\": \"East US 2\",\r\n \"type\": \"Microsoft.DocumentDB/locations/restorableDatabaseAccounts\",\r\n \"id\": \"/subscriptions/259fbb24-9bcd-4cfc-865c-fc33b22fe38a/providers/Microsoft.DocumentDB/locations/eastus2/restorableDatabaseAccounts/c483a757-4d93-4d60-ae22-04c9d2c89595\",\r\n \"properties\": {\r\n \"accountName\": \"restored2-cosmosdb-1212-1\",\r\n \"apiType\": \"Sql\",\r\n \"creationTime\": \"2021-06-04T22:17:44Z\",\r\n \"deletionTime\": \"2021-06-05T05:04:42Z\",\r\n \"restorableLocations\": [\r\n {\r\n \"locationName\": \"East US 2\",\r\n \"regionalDatabaseAccountInstanceId\": \"eb5e33f1-8ecf-42b7-9f3f-18784854fc5e\",\r\n \"creationTime\": \"2021-06-04T22:17:44Z\",\r\n \"deletionTime\": \"2021-06-05T05:04:42Z\"\r\n }\r\n ]\r\n }\r\n },\r\n {\r\n \"name\": \"80458ce3-9b06-4d87-9405-1f47eb88164f\",\r\n \"location\": \"East US 2\",\r\n \"type\": \"Microsoft.DocumentDB/locations/restorableDatabaseAccounts\",\r\n \"id\": \"/subscriptions/259fbb24-9bcd-4cfc-865c-fc33b22fe38a/providers/Microsoft.DocumentDB/locations/eastus2/restorableDatabaseAccounts/80458ce3-9b06-4d87-9405-1f47eb88164f\",\r\n \"properties\": {\r\n \"accountName\": \"dbaccount27-1\",\r\n \"apiType\": \"Sql\",\r\n \"creationTime\": \"2021-06-07T21:24:07Z\",\r\n \"deletionTime\": \"2021-06-07T22:30:24Z\",\r\n \"restorableLocations\": [\r\n {\r\n \"locationName\": \"East US 2\",\r\n \"regionalDatabaseAccountInstanceId\": \"a47823ea-6bce-4436-91a1-1dd14a1aa3a7\",\r\n \"creationTime\": \"2021-06-07T21:24:08Z\",\r\n \"deletionTime\": \"2021-06-07T22:30:24Z\"\r\n }\r\n ]\r\n }\r\n },\r\n {\r\n \"name\": \"3b44efa3-a7e6-414e-99c2-22d63aa1d778\",\r\n \"location\": \"East US 2\",\r\n \"type\": \"Microsoft.DocumentDB/locations/restorableDatabaseAccounts\",\r\n \"id\": \"/subscriptions/259fbb24-9bcd-4cfc-865c-fc33b22fe38a/providers/Microsoft.DocumentDB/locations/eastus2/restorableDatabaseAccounts/3b44efa3-a7e6-414e-99c2-22d63aa1d778\",\r\n \"properties\": {\r\n \"accountName\": \"cli126\",\r\n \"apiType\": \"Sql\",\r\n \"creationTime\": \"2021-06-10T05:07:44Z\",\r\n \"deletionTime\": \"2021-06-15T21:00:15Z\",\r\n \"restorableLocations\": [\r\n {\r\n \"locationName\": \"East US 2\",\r\n \"regionalDatabaseAccountInstanceId\": \"fbc82bdc-1493-4cc4-bd69-2c33c650e3ed\",\r\n \"creationTime\": \"2021-06-10T05:07:45Z\",\r\n \"deletionTime\": \"2021-06-15T21:00:15Z\"\r\n }\r\n ]\r\n }\r\n },\r\n {\r\n \"name\": \"3bf55696-9845-4ab5-b57c-f955a2ffe3ca\",\r\n \"location\": \"East US 2\",\r\n \"type\": \"Microsoft.DocumentDB/locations/restorableDatabaseAccounts\",\r\n \"id\": \"/subscriptions/259fbb24-9bcd-4cfc-865c-fc33b22fe38a/providers/Microsoft.DocumentDB/locations/eastus2/restorableDatabaseAccounts/3bf55696-9845-4ab5-b57c-f955a2ffe3ca\",\r\n \"properties\": {\r\n \"accountName\": \"sqltestaccount\",\r\n \"apiType\": \"Sql\",\r\n \"creationTime\": \"2021-06-01T23:24:19Z\",\r\n \"deletionTime\": \"2021-06-16T04:58:21Z\",\r\n \"restorableLocations\": [\r\n {\r\n \"locationName\": \"East US 2\",\r\n \"regionalDatabaseAccountInstanceId\": \"1062fb86-a396-4689-9326-83193cf2274b\",\r\n \"creationTime\": \"2021-06-01T23:24:20Z\",\r\n \"deletionTime\": \"2021-06-16T04:58:21Z\"\r\n }\r\n ]\r\n }\r\n }\r\n ]\r\n}", "StatusCode": 200 }, { - "RequestUri": "/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/providers/Microsoft.DocumentDB/restorableDatabaseAccounts?api-version=2021-03-01-preview", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvODBiZTM5NjEtMDUyMS00YTBhLTg1NzAtNWNkNWE0ZTJmOThjL3Byb3ZpZGVycy9NaWNyb3NvZnQuRG9jdW1lbnREQi9yZXN0b3JhYmxlRGF0YWJhc2VBY2NvdW50cz9hcGktdmVyc2lvbj0yMDIxLTAzLTAxLXByZXZpZXc=", + "RequestUri": "/subscriptions/259fbb24-9bcd-4cfc-865c-fc33b22fe38a/providers/Microsoft.DocumentDB/locations/eastus2/restorableDatabaseAccounts?api-version=2021-06-15", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMjU5ZmJiMjQtOWJjZC00Y2ZjLTg2NWMtZmMzM2IyMmZlMzhhL3Byb3ZpZGVycy9NaWNyb3NvZnQuRG9jdW1lbnREQi9sb2NhdGlvbnMvZWFzdHVzMi9yZXN0b3JhYmxlRGF0YWJhc2VBY2NvdW50cz9hcGktdmVyc2lvbj0yMDIxLTA2LTE1", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { "x-ms-client-request-id": [ - "7b7308b2-561b-4012-aacc-4a240a660139" + "3c16e213-d24e-4634-bc2f-e19481f90cb8" ], "Accept-Language": [ "en-US" ], "User-Agent": [ - "FxVersion/5.0.321.7212", + "FxVersion/4.6.28207.03", "OSName/Windows", - "OSVersion/Microsoft.Windows.10.0.19042", - "Microsoft.Azure.Management.CosmosDB.CosmosDBManagementClient/2.0.0.0" + "OSVersion/Microsoft.Windows.10.0.19043.", + "Microsoft.Azure.Management.CosmosDB.CosmosDBManagementClient/3.0.0.0" ] }, "ResponseHeaders": { "Cache-Control": [ - "no-cache" + "no-store, no-cache" ], "Pragma": [ "no-cache" ], - "x-ms-original-request-ids": [ - "", - "", - "" + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-gatewayversion": [ + "version=2.14.0" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "11994" + "11997" ], "x-ms-request-id": [ - "008ebfc7-7969-4fcd-82ce-fb7ff441eb1a" + "49ccd120-5874-4543-bacf-53d52e78c017" ], "x-ms-correlation-request-id": [ - "008ebfc7-7969-4fcd-82ce-fb7ff441eb1a" + "49ccd120-5874-4543-bacf-53d52e78c017" ], "x-ms-routing-request-id": [ - "WESTUS2:20210303T175018Z:008ebfc7-7969-4fcd-82ce-fb7ff441eb1a" - ], - "Strict-Transport-Security": [ - "max-age=31536000; includeSubDomains" + "WESTUS2:20210616T071621Z:49ccd120-5874-4543-bacf-53d52e78c017" ], "X-Content-Type-Options": [ "nosniff" ], "Date": [ - "Wed, 03 Mar 2021 17:50:17 GMT" - ], - "Content-Type": [ - "application/json; charset=utf-8" - ], - "Expires": [ - "-1" + "Wed, 16 Jun 2021 07:16:20 GMT" ], "Content-Length": [ - "46781" + "13637" + ], + "Content-Type": [ + "application/json" ] }, - "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"name\": \"5dee0717-8f84-40d7-b7c1-921552ba61a5\",\r\n \"location\": \"West US 2\",\r\n \"type\": \"Microsoft.DocumentDB/locations/restorableDatabaseAccounts\",\r\n \"id\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/providers/Microsoft.DocumentDB/locations/westus2/restorableDatabaseAccounts/5dee0717-8f84-40d7-b7c1-921552ba61a5\",\r\n \"properties\": {\r\n \"accountName\": \"vinhstagepitr\",\r\n \"apiType\": \"Sql\",\r\n \"creationTime\": \"2020-11-02T23:44:14Z\",\r\n \"restorableLocations\": [\r\n {\r\n \"locationName\": \"West US 2\",\r\n \"regionalDatabaseAccountInstanceId\": \"30d6cace-8354-4e1f-b427-4f234f46df87\",\r\n \"creationTime\": \"2020-11-02T23:44:14Z\"\r\n }\r\n ]\r\n }\r\n },\r\n {\r\n \"name\": \"5cfa410f-ea0c-4995-aa59-9809a69c21f8\",\r\n \"location\": \"West US 2\",\r\n \"type\": \"Microsoft.DocumentDB/locations/restorableDatabaseAccounts\",\r\n \"id\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/providers/Microsoft.DocumentDB/locations/westus2/restorableDatabaseAccounts/5cfa410f-ea0c-4995-aa59-9809a69c21f8\",\r\n \"properties\": {\r\n \"accountName\": \"vinhstagemongopitr\",\r\n \"apiType\": \"MongoDB\",\r\n \"creationTime\": \"2020-11-25T17:07:33Z\",\r\n \"restorableLocations\": [\r\n {\r\n \"locationName\": \"West US 2\",\r\n \"regionalDatabaseAccountInstanceId\": \"4ecfc265-e4d3-4638-a225-1932760404ee\",\r\n \"creationTime\": \"2020-11-25T17:07:34Z\"\r\n }\r\n ]\r\n }\r\n },\r\n {\r\n \"name\": \"2b5e6412-19dc-4d79-88ae-178f5e30dd78\",\r\n \"location\": \"West US 2\",\r\n \"type\": \"Microsoft.DocumentDB/locations/restorableDatabaseAccounts\",\r\n \"id\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/providers/Microsoft.DocumentDB/locations/westus2/restorableDatabaseAccounts/2b5e6412-19dc-4d79-88ae-178f5e30dd78\",\r\n \"properties\": {\r\n \"accountName\": \"test-virangai-vinhstagemongopitr-del-res1\",\r\n \"apiType\": \"MongoDB\",\r\n \"creationTime\": \"2020-11-30T23:17:02Z\",\r\n \"restorableLocations\": [\r\n {\r\n \"locationName\": \"West US 2\",\r\n \"regionalDatabaseAccountInstanceId\": \"a35683c3-cf9b-4378-a290-fb3ab8e741f9\",\r\n \"creationTime\": \"2020-11-30T23:17:02Z\"\r\n }\r\n ]\r\n }\r\n },\r\n {\r\n \"name\": \"9a4b63c3-49d1-4c87-b28e-92e92aeaa0ea\",\r\n \"location\": \"West US 2\",\r\n \"type\": \"Microsoft.DocumentDB/locations/restorableDatabaseAccounts\",\r\n \"id\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/providers/Microsoft.DocumentDB/locations/westus2/restorableDatabaseAccounts/9a4b63c3-49d1-4c87-b28e-92e92aeaa0ea\",\r\n \"properties\": {\r\n \"accountName\": \"pitr-sql-stage-source\",\r\n \"apiType\": \"Sql\",\r\n \"creationTime\": \"2020-12-08T18:18:47Z\",\r\n \"restorableLocations\": [\r\n {\r\n \"locationName\": \"West US 2\",\r\n \"regionalDatabaseAccountInstanceId\": \"f61a9ed3-fcda-4603-b1e2-2baadbb6122b\",\r\n \"creationTime\": \"2020-12-08T18:18:47Z\"\r\n },\r\n {\r\n \"locationName\": \"East US 2\",\r\n \"regionalDatabaseAccountInstanceId\": \"cdd116b8-a956-43d5-b461-248f837099f4\",\r\n \"creationTime\": \"2020-12-14T21:35:14Z\"\r\n }\r\n ]\r\n }\r\n },\r\n {\r\n \"name\": \"7d98d6c0-eadf-4d7e-a166-696de37c91fc\",\r\n \"location\": \"West US 2\",\r\n \"type\": \"Microsoft.DocumentDB/locations/restorableDatabaseAccounts\",\r\n \"id\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/providers/Microsoft.DocumentDB/locations/westus2/restorableDatabaseAccounts/7d98d6c0-eadf-4d7e-a166-696de37c91fc\",\r\n \"properties\": {\r\n \"accountName\": \"restore-test1\",\r\n \"apiType\": \"Sql\",\r\n \"creationTime\": \"2020-12-08T21:44:47Z\",\r\n \"restorableLocations\": [\r\n {\r\n \"locationName\": \"West US 2\",\r\n \"regionalDatabaseAccountInstanceId\": \"208a7933-2e44-4df1-9c96-97e28ae92d8f\",\r\n \"creationTime\": \"2020-12-08T21:44:47Z\"\r\n }\r\n ]\r\n }\r\n },\r\n {\r\n \"name\": \"08155af7-e63f-4db1-82ed-c99b8a08e541\",\r\n \"location\": \"West US 2\",\r\n \"type\": \"Microsoft.DocumentDB/locations/restorableDatabaseAccounts\",\r\n \"id\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/providers/Microsoft.DocumentDB/locations/westus2/restorableDatabaseAccounts/08155af7-e63f-4db1-82ed-c99b8a08e541\",\r\n \"properties\": {\r\n \"accountName\": \"test-virangai-vinhstagemongopitr-1\",\r\n \"apiType\": \"MongoDB\",\r\n \"creationTime\": \"2020-12-09T10:37:08Z\",\r\n \"restorableLocations\": [\r\n {\r\n \"locationName\": \"West US 2\",\r\n \"regionalDatabaseAccountInstanceId\": \"8c045a40-c3b5-4025-a270-156b748fd08b\",\r\n \"creationTime\": \"2020-12-09T10:37:08Z\"\r\n }\r\n ]\r\n }\r\n },\r\n {\r\n \"name\": \"d0cb2ece-f253-4f20-86d0-01897e729eba\",\r\n \"location\": \"West US 2\",\r\n \"type\": \"Microsoft.DocumentDB/locations/restorableDatabaseAccounts\",\r\n \"id\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/providers/Microsoft.DocumentDB/locations/westus2/restorableDatabaseAccounts/d0cb2ece-f253-4f20-86d0-01897e729eba\",\r\n \"properties\": {\r\n \"accountName\": \"virangai-test-vinhstagepitr-restore1\",\r\n \"apiType\": \"Sql\",\r\n \"creationTime\": \"2020-12-10T02:08:18Z\",\r\n \"restorableLocations\": [\r\n {\r\n \"locationName\": \"West US 2\",\r\n \"regionalDatabaseAccountInstanceId\": \"d4a86ba4-38f5-46ba-b0ae-724d5508b551\",\r\n \"creationTime\": \"2020-12-10T02:08:18Z\"\r\n }\r\n ]\r\n }\r\n },\r\n {\r\n \"name\": \"9373a8d7-1889-4be9-9ddb-e589e406d04b\",\r\n \"location\": \"West US 2\",\r\n \"type\": \"Microsoft.DocumentDB/locations/restorableDatabaseAccounts\",\r\n \"id\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/providers/Microsoft.DocumentDB/locations/westus2/restorableDatabaseAccounts/9373a8d7-1889-4be9-9ddb-e589e406d04b\",\r\n \"properties\": {\r\n \"accountName\": \"virangai-test-vinhstagepitr-restore2\",\r\n \"apiType\": \"Sql\",\r\n \"creationTime\": \"2020-12-10T03:12:31Z\",\r\n \"restorableLocations\": [\r\n {\r\n \"locationName\": \"West US 2\",\r\n \"regionalDatabaseAccountInstanceId\": \"c2374cdf-00cc-42e3-887e-4824532ff3e7\",\r\n \"creationTime\": \"2020-12-10T03:12:31Z\"\r\n }\r\n ]\r\n }\r\n },\r\n {\r\n \"name\": \"530b269d-274b-4987-94e1-f54b09abecff\",\r\n \"location\": \"West US 2\",\r\n \"type\": \"Microsoft.DocumentDB/locations/restorableDatabaseAccounts\",\r\n \"id\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/providers/Microsoft.DocumentDB/locations/westus2/restorableDatabaseAccounts/530b269d-274b-4987-94e1-f54b09abecff\",\r\n \"properties\": {\r\n \"accountName\": \"restoredaccountname637435832535194992\",\r\n \"apiType\": \"Sql\",\r\n \"creationTime\": \"2020-12-15T23:04:01Z\",\r\n \"restorableLocations\": [\r\n {\r\n \"locationName\": \"West US 2\",\r\n \"regionalDatabaseAccountInstanceId\": \"257c2c07-efcb-47b2-b696-6ba5ca9785b0\",\r\n \"creationTime\": \"2020-12-15T23:04:01Z\"\r\n }\r\n ]\r\n }\r\n },\r\n {\r\n \"name\": \"4993c7e8-c48b-4e45-9353-9baea1ce9e2a\",\r\n \"location\": \"West US 2\",\r\n \"type\": \"Microsoft.DocumentDB/locations/restorableDatabaseAccounts\",\r\n \"id\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/providers/Microsoft.DocumentDB/locations/westus2/restorableDatabaseAccounts/4993c7e8-c48b-4e45-9353-9baea1ce9e2a\",\r\n \"properties\": {\r\n \"accountName\": \"restoredaccountname359\",\r\n \"apiType\": \"Sql\",\r\n \"creationTime\": \"2020-12-16T00:51:06Z\",\r\n \"restorableLocations\": [\r\n {\r\n \"locationName\": \"West US 2\",\r\n \"regionalDatabaseAccountInstanceId\": \"f964f331-3322-4719-946a-a8f4e406ca14\",\r\n \"creationTime\": \"2020-12-16T00:51:06Z\"\r\n }\r\n ]\r\n }\r\n },\r\n {\r\n \"name\": \"d673eaa8-f7fa-421f-9d61-ba314864a431\",\r\n \"location\": \"West US 2\",\r\n \"type\": \"Microsoft.DocumentDB/locations/restorableDatabaseAccounts\",\r\n \"id\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/providers/Microsoft.DocumentDB/locations/westus2/restorableDatabaseAccounts/d673eaa8-f7fa-421f-9d61-ba314864a431\",\r\n \"properties\": {\r\n \"accountName\": \"pitr-sql-stage-restored-from-new-portal\",\r\n \"apiType\": \"Sql\",\r\n \"creationTime\": \"2021-01-05T00:28:34Z\",\r\n \"restorableLocations\": [\r\n {\r\n \"locationName\": \"West US 2\",\r\n \"regionalDatabaseAccountInstanceId\": \"a09d2f05-b90f-4a76-96c5-ef49edadbbae\",\r\n \"creationTime\": \"2021-01-05T00:28:34Z\"\r\n }\r\n ]\r\n }\r\n },\r\n {\r\n \"name\": \"6d6384ae-d623-4323-8388-65ca7df02733\",\r\n \"location\": \"West US 2\",\r\n \"type\": \"Microsoft.DocumentDB/locations/restorableDatabaseAccounts\",\r\n \"id\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/providers/Microsoft.DocumentDB/locations/westus2/restorableDatabaseAccounts/6d6384ae-d623-4323-8388-65ca7df02733\",\r\n \"properties\": {\r\n \"accountName\": \"pitrtest1-res1\",\r\n \"apiType\": \"Sql\",\r\n \"creationTime\": \"2021-01-05T23:45:55Z\",\r\n \"restorableLocations\": [\r\n {\r\n \"locationName\": \"West US 2\",\r\n \"regionalDatabaseAccountInstanceId\": \"2b92bb0a-1fa9-43c2-b8a7-b25d209d25c1\",\r\n \"creationTime\": \"2021-01-05T23:45:55Z\"\r\n }\r\n ]\r\n }\r\n },\r\n {\r\n \"name\": \"0bcf9a9b-1ca1-4406-9652-aa087d5f0b3f\",\r\n \"location\": \"West US 2\",\r\n \"type\": \"Microsoft.DocumentDB/locations/restorableDatabaseAccounts\",\r\n \"id\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/providers/Microsoft.DocumentDB/locations/westus2/restorableDatabaseAccounts/0bcf9a9b-1ca1-4406-9652-aa087d5f0b3f\",\r\n \"properties\": {\r\n \"accountName\": \"pitrtest1-res2\",\r\n \"apiType\": \"Sql\",\r\n \"creationTime\": \"2021-01-05T23:46:37Z\",\r\n \"restorableLocations\": [\r\n {\r\n \"locationName\": \"West US 2\",\r\n \"regionalDatabaseAccountInstanceId\": \"d666fcfb-319c-4c5d-a2b8-27ae6cc9233f\",\r\n \"creationTime\": \"2021-01-05T23:46:37Z\"\r\n }\r\n ]\r\n }\r\n },\r\n {\r\n \"name\": \"b15e30f1-4e37-4fca-b77b-303516959017\",\r\n \"location\": \"West US 2\",\r\n \"type\": \"Microsoft.DocumentDB/locations/restorableDatabaseAccounts\",\r\n \"id\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/providers/Microsoft.DocumentDB/locations/westus2/restorableDatabaseAccounts/b15e30f1-4e37-4fca-b77b-303516959017\",\r\n \"properties\": {\r\n \"accountName\": \"test-virangai-vinhstagepitr-1\",\r\n \"apiType\": \"Sql\",\r\n \"creationTime\": \"2021-01-06T09:24:07Z\",\r\n \"restorableLocations\": [\r\n {\r\n \"locationName\": \"West US 2\",\r\n \"regionalDatabaseAccountInstanceId\": \"8203b929-83ed-496a-8e6b-8a291aba9a32\",\r\n \"creationTime\": \"2021-01-06T09:24:07Z\"\r\n }\r\n ]\r\n }\r\n },\r\n {\r\n \"name\": \"617f5c88-2a93-45b4-be38-0cd7addea976\",\r\n \"location\": \"West US 2\",\r\n \"type\": \"Microsoft.DocumentDB/locations/restorableDatabaseAccounts\",\r\n \"id\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/providers/Microsoft.DocumentDB/locations/westus2/restorableDatabaseAccounts/617f5c88-2a93-45b4-be38-0cd7addea976\",\r\n \"properties\": {\r\n \"accountName\": \"test-virangai-vinhstagepitr-2\",\r\n \"apiType\": \"Sql\",\r\n \"creationTime\": \"2021-01-06T09:33:06Z\",\r\n \"restorableLocations\": [\r\n {\r\n \"locationName\": \"West US 2\",\r\n \"regionalDatabaseAccountInstanceId\": \"e54058dc-c9ec-4393-9b62-3c4a764d9dda\",\r\n \"creationTime\": \"2021-01-06T09:33:06Z\"\r\n }\r\n ]\r\n }\r\n },\r\n {\r\n \"name\": \"2eecc23f-69df-4de3-9103-b6ca529536a4\",\r\n \"location\": \"West US 2\",\r\n \"type\": \"Microsoft.DocumentDB/locations/restorableDatabaseAccounts\",\r\n \"id\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/providers/Microsoft.DocumentDB/locations/westus2/restorableDatabaseAccounts/2eecc23f-69df-4de3-9103-b6ca529536a4\",\r\n \"properties\": {\r\n \"accountName\": \"test-restore-4\",\r\n \"apiType\": \"Sql\",\r\n \"creationTime\": \"2021-01-07T01:23:39Z\",\r\n \"restorableLocations\": [\r\n {\r\n \"locationName\": \"West US 2\",\r\n \"regionalDatabaseAccountInstanceId\": \"80c0209c-f89b-41b6-8cc2-5edad302caaf\",\r\n \"creationTime\": \"2021-01-07T01:23:39Z\"\r\n }\r\n ]\r\n }\r\n },\r\n {\r\n \"name\": \"d91e1ad2-22b0-401e-b465-a16e5928e194\",\r\n \"location\": \"West US 2\",\r\n \"type\": \"Microsoft.DocumentDB/locations/restorableDatabaseAccounts\",\r\n \"id\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/providers/Microsoft.DocumentDB/locations/westus2/restorableDatabaseAccounts/d91e1ad2-22b0-401e-b465-a16e5928e194\",\r\n \"properties\": {\r\n \"accountName\": \"test-restore5\",\r\n \"apiType\": \"Sql\",\r\n \"creationTime\": \"2021-01-07T01:23:40Z\",\r\n \"restorableLocations\": [\r\n {\r\n \"locationName\": \"West US 2\",\r\n \"regionalDatabaseAccountInstanceId\": \"793334c5-2123-41a5-a382-7b5aade5bb82\",\r\n \"creationTime\": \"2021-01-07T01:23:40Z\"\r\n }\r\n ]\r\n }\r\n },\r\n {\r\n \"name\": \"132908b6-2701-44a5-bdbe-a7c296e26283\",\r\n \"location\": \"West US 2\",\r\n \"type\": \"Microsoft.DocumentDB/locations/restorableDatabaseAccounts\",\r\n \"id\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/providers/Microsoft.DocumentDB/locations/westus2/restorableDatabaseAccounts/132908b6-2701-44a5-bdbe-a7c296e26283\",\r\n \"properties\": {\r\n \"accountName\": \"test-restore6\",\r\n \"apiType\": \"Sql\",\r\n \"creationTime\": \"2021-01-07T03:18:46Z\",\r\n \"restorableLocations\": [\r\n {\r\n \"locationName\": \"West US 2\",\r\n \"regionalDatabaseAccountInstanceId\": \"a8bcc661-cdd0-4fb6-b011-ce4fb922930d\",\r\n \"creationTime\": \"2021-01-07T03:18:46Z\"\r\n }\r\n ]\r\n }\r\n },\r\n {\r\n \"name\": \"2ab6f2d2-ce7e-439b-90b3-5505c8f9ff76\",\r\n \"location\": \"West US 2\",\r\n \"type\": \"Microsoft.DocumentDB/locations/restorableDatabaseAccounts\",\r\n \"id\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/providers/Microsoft.DocumentDB/locations/westus2/restorableDatabaseAccounts/2ab6f2d2-ce7e-439b-90b3-5505c8f9ff76\",\r\n \"properties\": {\r\n \"accountName\": \"pitr-sql-stage-source-personalrestore-greeen\",\r\n \"apiType\": \"Sql\",\r\n \"creationTime\": \"2021-01-15T22:51:59Z\",\r\n \"restorableLocations\": [\r\n {\r\n \"locationName\": \"West US 2\",\r\n \"regionalDatabaseAccountInstanceId\": \"8b3376be-21d5-43db-ad08-7fa9e3f3ad5b\",\r\n \"creationTime\": \"2021-01-15T22:51:59Z\"\r\n }\r\n ]\r\n }\r\n },\r\n {\r\n \"name\": \"483d93e5-302b-4093-9502-ce63d416e70f\",\r\n \"location\": \"West US 2\",\r\n \"type\": \"Microsoft.DocumentDB/locations/restorableDatabaseAccounts\",\r\n \"id\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/providers/Microsoft.DocumentDB/locations/westus2/restorableDatabaseAccounts/483d93e5-302b-4093-9502-ce63d416e70f\",\r\n \"properties\": {\r\n \"accountName\": \"targetacctrestore\",\r\n \"apiType\": \"Sql\",\r\n \"creationTime\": \"2021-02-18T18:30:14Z\",\r\n \"restorableLocations\": [\r\n {\r\n \"locationName\": \"West US 2\",\r\n \"regionalDatabaseAccountInstanceId\": \"cb6a3895-5ded-43ee-a6a8-91d9050f5582\",\r\n \"creationTime\": \"2021-02-18T18:30:14Z\"\r\n }\r\n ]\r\n }\r\n },\r\n {\r\n \"name\": \"74e9ac09-75d3-448a-a128-e71866b42e95\",\r\n \"location\": \"West US 2\",\r\n \"type\": \"Microsoft.DocumentDB/locations/restorableDatabaseAccounts\",\r\n \"id\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/providers/Microsoft.DocumentDB/locations/westus2/restorableDatabaseAccounts/74e9ac09-75d3-448a-a128-e71866b42e95\",\r\n \"properties\": {\r\n \"accountName\": \"virangai-test-vinhstagepitr-res\",\r\n \"apiType\": \"Sql\",\r\n \"creationTime\": \"2021-02-26T22:14:50Z\",\r\n \"restorableLocations\": [\r\n {\r\n \"locationName\": \"West US 2\",\r\n \"regionalDatabaseAccountInstanceId\": \"40e6110d-0ae4-4e40-9d6e-33014540e179\",\r\n \"creationTime\": \"2021-02-26T22:14:50Z\"\r\n }\r\n ]\r\n }\r\n },\r\n {\r\n \"name\": \"24f3f6b6-9d96-4dc2-84b9-ae1c0cba8d4e\",\r\n \"location\": \"West US 2\",\r\n \"type\": \"Microsoft.DocumentDB/locations/restorableDatabaseAccounts\",\r\n \"id\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/providers/Microsoft.DocumentDB/locations/westus2/restorableDatabaseAccounts/24f3f6b6-9d96-4dc2-84b9-ae1c0cba8d4e\",\r\n \"properties\": {\r\n \"accountName\": \"restoredaccountname8240\",\r\n \"apiType\": \"Sql\",\r\n \"creationTime\": \"2021-03-02T23:44:13Z\",\r\n \"restorableLocations\": [\r\n {\r\n \"locationName\": \"West US 2\",\r\n \"regionalDatabaseAccountInstanceId\": \"c2df5fa4-a593-48f2-8417-9f5f4bb9ef56\",\r\n \"creationTime\": \"2021-03-02T23:44:13Z\"\r\n }\r\n ]\r\n }\r\n },\r\n {\r\n \"name\": \"f319c2f4-7e68-48c0-9eac-94e12fb51179\",\r\n \"location\": \"West US 2\",\r\n \"type\": \"Microsoft.DocumentDB/locations/restorableDatabaseAccounts\",\r\n \"id\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/providers/Microsoft.DocumentDB/locations/westus2/restorableDatabaseAccounts/f319c2f4-7e68-48c0-9eac-94e12fb51179\",\r\n \"properties\": {\r\n \"accountName\": \"restoredaccountname320\",\r\n \"apiType\": \"Sql\",\r\n \"creationTime\": \"2021-03-03T00:59:34Z\",\r\n \"restorableLocations\": [\r\n {\r\n \"locationName\": \"West US 2\",\r\n \"regionalDatabaseAccountInstanceId\": \"005c7a8b-fffd-4106-a2f5-0b4f58b1942a\",\r\n \"creationTime\": \"2021-03-03T00:59:34Z\"\r\n }\r\n ]\r\n }\r\n },\r\n {\r\n \"name\": \"672e89ce-0096-4a87-8131-3d2d5d483a3a\",\r\n \"location\": \"West US 2\",\r\n \"type\": \"Microsoft.DocumentDB/locations/restorableDatabaseAccounts\",\r\n \"id\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/providers/Microsoft.DocumentDB/locations/westus2/restorableDatabaseAccounts/672e89ce-0096-4a87-8131-3d2d5d483a3a\",\r\n \"properties\": {\r\n \"accountName\": \"restoredaccountname6982\",\r\n \"apiType\": \"Sql\",\r\n \"creationTime\": \"2021-03-03T02:34:06Z\",\r\n \"restorableLocations\": [\r\n {\r\n \"locationName\": \"West US 2\",\r\n \"regionalDatabaseAccountInstanceId\": \"f30afdfa-9473-4658-83c4-5067be2232db\",\r\n \"creationTime\": \"2021-03-03T02:34:06Z\"\r\n }\r\n ]\r\n }\r\n },\r\n {\r\n \"name\": \"1a937e8e-1a33-4fd1-9349-34ede3dd02f2\",\r\n \"location\": \"West US 2\",\r\n \"type\": \"Microsoft.DocumentDB/locations/restorableDatabaseAccounts\",\r\n \"id\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/providers/Microsoft.DocumentDB/locations/westus2/restorableDatabaseAccounts/1a937e8e-1a33-4fd1-9349-34ede3dd02f2\",\r\n \"properties\": {\r\n \"accountName\": \"restoredaccountname8295\",\r\n \"apiType\": \"Sql\",\r\n \"creationTime\": \"2021-03-03T17:48:45Z\",\r\n \"restorableLocations\": [\r\n {\r\n \"locationName\": \"West US 2\",\r\n \"regionalDatabaseAccountInstanceId\": \"0057f632-aaa2-44a6-92bf-c2e623403f52\",\r\n \"creationTime\": \"2021-03-03T17:48:45Z\"\r\n }\r\n ]\r\n }\r\n },\r\n {\r\n \"name\": \"4d0ae23d-5661-4c5a-ae37-48aa6308425b\",\r\n \"location\": \"West US 2\",\r\n \"type\": \"Microsoft.DocumentDB/locations/restorableDatabaseAccounts\",\r\n \"id\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/providers/Microsoft.DocumentDB/locations/westus2/restorableDatabaseAccounts/4d0ae23d-5661-4c5a-ae37-48aa6308425b\",\r\n \"properties\": {\r\n \"accountName\": \"stage-validation-pitr-test0\",\r\n \"apiType\": \"Sql\",\r\n \"creationTime\": \"2021-02-10T07:55:12Z\",\r\n \"deletionTime\": \"2021-02-10T14:21:37Z\",\r\n \"restorableLocations\": [\r\n {\r\n \"locationName\": \"West US 2\",\r\n \"regionalDatabaseAccountInstanceId\": \"26d7f01f-3f0c-4eb6-80a2-f5776f929f12\",\r\n \"creationTime\": \"2021-02-10T07:55:13Z\",\r\n \"deletionTime\": \"2021-02-10T14:21:37Z\"\r\n }\r\n ]\r\n }\r\n },\r\n {\r\n \"name\": \"c26d3f43-7363-4c54-940a-bde0e96bda72\",\r\n \"location\": \"East US 2\",\r\n \"type\": \"Microsoft.DocumentDB/locations/restorableDatabaseAccounts\",\r\n \"id\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/providers/Microsoft.DocumentDB/locations/eastus2/restorableDatabaseAccounts/c26d3f43-7363-4c54-940a-bde0e96bda72\",\r\n \"properties\": {\r\n \"accountName\": \"db1024-restored\",\r\n \"apiType\": \"Sql\",\r\n \"creationTime\": \"2020-08-14T01:17:36Z\",\r\n \"restorableLocations\": [\r\n {\r\n \"locationName\": \"East US 2\",\r\n \"regionalDatabaseAccountInstanceId\": \"eca195d4-fcaa-4d5f-b01b-20f61f01319f\",\r\n \"creationTime\": \"2020-08-14T01:17:36Z\"\r\n }\r\n ]\r\n }\r\n },\r\n {\r\n \"name\": \"d8974ca8-8f69-4924-9040-c10b7f30524b\",\r\n \"location\": \"East US 2\",\r\n \"type\": \"Microsoft.DocumentDB/locations/restorableDatabaseAccounts\",\r\n \"id\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/providers/Microsoft.DocumentDB/locations/eastus2/restorableDatabaseAccounts/d8974ca8-8f69-4924-9040-c10b7f30524b\",\r\n \"properties\": {\r\n \"accountName\": \"restoredaccountname9746\",\r\n \"apiType\": \"Sql\",\r\n \"creationTime\": \"2020-07-21T18:55:14Z\",\r\n \"restorableLocations\": [\r\n {\r\n \"locationName\": \"East US 2\",\r\n \"regionalDatabaseAccountInstanceId\": \"775c4324-cba7-4eb3-a8ee-5e1921f7f57b\",\r\n \"creationTime\": \"2020-07-21T18:55:14Z\"\r\n }\r\n ]\r\n }\r\n },\r\n {\r\n \"name\": \"aca7d453-88a9-4bf2-8abc-46d21553638f\",\r\n \"location\": \"East US 2\",\r\n \"type\": \"Microsoft.DocumentDB/locations/restorableDatabaseAccounts\",\r\n \"id\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/providers/Microsoft.DocumentDB/locations/eastus2/restorableDatabaseAccounts/aca7d453-88a9-4bf2-8abc-46d21553638f\",\r\n \"properties\": {\r\n \"accountName\": \"db1024\",\r\n \"apiType\": \"Sql\",\r\n \"creationTime\": \"2020-07-21T18:19:37Z\",\r\n \"restorableLocations\": [\r\n {\r\n \"locationName\": \"East US 2\",\r\n \"regionalDatabaseAccountInstanceId\": \"a926c9e8-3179-4774-bc1e-fb866407b7db\",\r\n \"creationTime\": \"2020-07-21T18:19:38Z\"\r\n }\r\n ]\r\n }\r\n },\r\n {\r\n \"name\": \"a54115d5-4356-4771-b7b0-20f475ce5a38\",\r\n \"location\": \"East US 2\",\r\n \"type\": \"Microsoft.DocumentDB/locations/restorableDatabaseAccounts\",\r\n \"id\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/providers/Microsoft.DocumentDB/locations/eastus2/restorableDatabaseAccounts/a54115d5-4356-4771-b7b0-20f475ce5a38\",\r\n \"properties\": {\r\n \"accountName\": \"stage-pitr-validation-source\",\r\n \"apiType\": \"Sql\",\r\n \"creationTime\": \"2020-08-13T23:51:16Z\",\r\n \"restorableLocations\": [\r\n {\r\n \"locationName\": \"East US 2\",\r\n \"regionalDatabaseAccountInstanceId\": \"d9b09727-2a45-4760-a837-3366c1187358\",\r\n \"creationTime\": \"2020-08-13T23:51:17Z\"\r\n },\r\n {\r\n \"locationName\": \"West US 2\",\r\n \"regionalDatabaseAccountInstanceId\": \"72ee099a-9209-4fe4-aeb2-8f4954f25eba\",\r\n \"creationTime\": \"2020-08-28T18:50:30Z\"\r\n },\r\n {\r\n \"locationName\": \"Southeast Asia\",\r\n \"regionalDatabaseAccountInstanceId\": \"e5abbaa4-031a-451a-b041-76c6bcd93fa9\",\r\n \"creationTime\": \"2021-02-08T19:29:22Z\"\r\n }\r\n ]\r\n }\r\n },\r\n {\r\n \"name\": \"bb3e3c48-18d8-46e8-b294-41d9406885c5\",\r\n \"location\": \"East US 2\",\r\n \"type\": \"Microsoft.DocumentDB/locations/restorableDatabaseAccounts\",\r\n \"id\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/providers/Microsoft.DocumentDB/locations/eastus2/restorableDatabaseAccounts/bb3e3c48-18d8-46e8-b294-41d9406885c5\",\r\n \"properties\": {\r\n \"accountName\": \"test-virangai-cont123\",\r\n \"apiType\": \"Sql\",\r\n \"creationTime\": \"2020-08-05T20:32:27Z\",\r\n \"restorableLocations\": [\r\n {\r\n \"locationName\": \"East US 2\",\r\n \"regionalDatabaseAccountInstanceId\": \"2355946d-5d79-4cc4-a521-3a302a9bff85\",\r\n \"creationTime\": \"2020-08-05T20:32:27Z\"\r\n }\r\n ]\r\n }\r\n },\r\n {\r\n \"name\": \"55083b96-b985-4dec-92df-fa0ac98443f1\",\r\n \"location\": \"East US 2\",\r\n \"type\": \"Microsoft.DocumentDB/locations/restorableDatabaseAccounts\",\r\n \"id\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/providers/Microsoft.DocumentDB/locations/eastus2/restorableDatabaseAccounts/55083b96-b985-4dec-92df-fa0ac98443f1\",\r\n \"properties\": {\r\n \"accountName\": \"selvitest-account\",\r\n \"apiType\": \"Sql\",\r\n \"creationTime\": \"2020-07-23T16:18:43Z\",\r\n \"restorableLocations\": [\r\n {\r\n \"locationName\": \"East US 2\",\r\n \"regionalDatabaseAccountInstanceId\": \"787a81fe-fb41-40da-8b69-a9e18966b4e3\",\r\n \"creationTime\": \"2020-07-23T16:18:43Z\"\r\n }\r\n ]\r\n }\r\n },\r\n {\r\n \"name\": \"ec72f021-4974-405a-8c78-f74207ff0e12\",\r\n \"location\": \"East US 2\",\r\n \"type\": \"Microsoft.DocumentDB/locations/restorableDatabaseAccounts\",\r\n \"id\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/providers/Microsoft.DocumentDB/locations/eastus2/restorableDatabaseAccounts/ec72f021-4974-405a-8c78-f74207ff0e12\",\r\n \"properties\": {\r\n \"accountName\": \"selvitest-account-destinationforrestore\",\r\n \"apiType\": \"Sql\",\r\n \"creationTime\": \"2020-07-23T17:39:58Z\",\r\n \"restorableLocations\": [\r\n {\r\n \"locationName\": \"East US 2\",\r\n \"regionalDatabaseAccountInstanceId\": \"11f925e4-b48d-4d16-9ad2-209d1056ec9c\",\r\n \"creationTime\": \"2020-07-23T17:39:58Z\"\r\n }\r\n ]\r\n }\r\n },\r\n {\r\n \"name\": \"17783e6d-0e28-41e2-b086-9d17763f1d51\",\r\n \"location\": \"East US 2\",\r\n \"type\": \"Microsoft.DocumentDB/locations/restorableDatabaseAccounts\",\r\n \"id\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/providers/Microsoft.DocumentDB/locations/eastus2/restorableDatabaseAccounts/17783e6d-0e28-41e2-b086-9d17763f1d51\",\r\n \"properties\": {\r\n \"accountName\": \"virangai-test-bk-cont\",\r\n \"apiType\": \"Sql\",\r\n \"creationTime\": \"2020-07-28T22:09:24Z\",\r\n \"restorableLocations\": [\r\n {\r\n \"locationName\": \"East US 2\",\r\n \"regionalDatabaseAccountInstanceId\": \"f74e094e-9b1d-4e16-82b6-a57782f1d187\",\r\n \"creationTime\": \"2020-07-28T22:09:24Z\"\r\n }\r\n ]\r\n }\r\n },\r\n {\r\n \"name\": \"2d90bc37-cd54-4352-9e57-e6aa3f22d494\",\r\n \"location\": \"East US 2\",\r\n \"type\": \"Microsoft.DocumentDB/locations/restorableDatabaseAccounts\",\r\n \"id\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/providers/Microsoft.DocumentDB/locations/eastus2/restorableDatabaseAccounts/2d90bc37-cd54-4352-9e57-e6aa3f22d494\",\r\n \"properties\": {\r\n \"accountName\": \"selvitest-account-destinationforrestorev2\",\r\n \"apiType\": \"Sql\",\r\n \"creationTime\": \"2020-07-23T17:41:22Z\",\r\n \"restorableLocations\": [\r\n {\r\n \"locationName\": \"East US 2\",\r\n \"regionalDatabaseAccountInstanceId\": \"e1dfecef-45cb-4c70-bbd5-393eb3774821\",\r\n \"creationTime\": \"2020-07-23T17:41:22Z\"\r\n }\r\n ]\r\n }\r\n },\r\n {\r\n \"name\": \"b0c8684b-7f9c-45fe-8ab9-2a74b656867e\",\r\n \"location\": \"East US 2\",\r\n \"type\": \"Microsoft.DocumentDB/locations/restorableDatabaseAccounts\",\r\n \"id\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/providers/Microsoft.DocumentDB/locations/eastus2/restorableDatabaseAccounts/b0c8684b-7f9c-45fe-8ab9-2a74b656867e\",\r\n \"properties\": {\r\n \"accountName\": \"restoredaccountname637428812785768088\",\r\n \"apiType\": \"Sql\",\r\n \"creationTime\": \"2020-12-07T20:03:41Z\",\r\n \"restorableLocations\": [\r\n {\r\n \"locationName\": \"East US 2\",\r\n \"regionalDatabaseAccountInstanceId\": \"59294929-189f-4f8b-af35-740fc0fba9f0\",\r\n \"creationTime\": \"2020-12-07T20:03:41Z\"\r\n }\r\n ]\r\n }\r\n },\r\n {\r\n \"name\": \"eadac7e2-61f0-4e07-aaa1-9dbb495ec5a8\",\r\n \"location\": \"East US 2\",\r\n \"type\": \"Microsoft.DocumentDB/locations/restorableDatabaseAccounts\",\r\n \"id\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/providers/Microsoft.DocumentDB/locations/eastus2/restorableDatabaseAccounts/eadac7e2-61f0-4e07-aaa1-9dbb495ec5a8\",\r\n \"properties\": {\r\n \"accountName\": \"pitr-mongo32-stage-source\",\r\n \"apiType\": \"MongoDB\",\r\n \"creationTime\": \"2020-12-07T21:23:56Z\",\r\n \"restorableLocations\": [\r\n {\r\n \"locationName\": \"East US 2\",\r\n \"regionalDatabaseAccountInstanceId\": \"49174788-8512-4a01-a3ca-38c7857a2635\",\r\n \"creationTime\": \"2020-12-07T21:23:56Z\"\r\n },\r\n {\r\n \"locationName\": \"West US 2\",\r\n \"regionalDatabaseAccountInstanceId\": \"921dbaed-a5bd-462d-8351-d0eda5e592c0\",\r\n \"creationTime\": \"2020-12-08T23:28:45Z\"\r\n }\r\n ]\r\n }\r\n },\r\n {\r\n \"name\": \"25a04cf0-89d4-4546-9c30-14d1dc8899df\",\r\n \"location\": \"East US 2\",\r\n \"type\": \"Microsoft.DocumentDB/locations/restorableDatabaseAccounts\",\r\n \"id\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/providers/Microsoft.DocumentDB/locations/eastus2/restorableDatabaseAccounts/25a04cf0-89d4-4546-9c30-14d1dc8899df\",\r\n \"properties\": {\r\n \"accountName\": \"pitr-mongo36-stage-source\",\r\n \"apiType\": \"MongoDB\",\r\n \"creationTime\": \"2020-12-07T21:35:24Z\",\r\n \"restorableLocations\": [\r\n {\r\n \"locationName\": \"East US 2\",\r\n \"regionalDatabaseAccountInstanceId\": \"b52d5178-bc7b-4b2b-a05e-9d3dba85e7fd\",\r\n \"creationTime\": \"2020-12-07T21:35:24Z\"\r\n },\r\n {\r\n \"locationName\": \"West US 2\",\r\n \"regionalDatabaseAccountInstanceId\": \"b0f33c79-f7b2-421f-9e94-699b0f8c840a\",\r\n \"creationTime\": \"2020-12-08T22:02:23Z\"\r\n }\r\n ]\r\n }\r\n },\r\n {\r\n \"name\": \"345c785a-e758-4f8b-94d4-0a1259f4f85b\",\r\n \"location\": \"East US 2\",\r\n \"type\": \"Microsoft.DocumentDB/locations/restorableDatabaseAccounts\",\r\n \"id\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/providers/Microsoft.DocumentDB/locations/eastus2/restorableDatabaseAccounts/345c785a-e758-4f8b-94d4-0a1259f4f85b\",\r\n \"properties\": {\r\n \"accountName\": \"nichatur-restore-test\",\r\n \"apiType\": \"Sql\",\r\n \"creationTime\": \"2020-12-07T23:33:57Z\",\r\n \"restorableLocations\": [\r\n {\r\n \"locationName\": \"East US 2\",\r\n \"regionalDatabaseAccountInstanceId\": \"94eeb20d-16d0-4ee1-ae6a-7f2a0332a1d5\",\r\n \"creationTime\": \"2020-12-07T23:33:57Z\"\r\n }\r\n ]\r\n }\r\n },\r\n {\r\n \"name\": \"605db505-9267-4cf0-b7ac-27ef644b2ef3\",\r\n \"location\": \"East US 2\",\r\n \"type\": \"Microsoft.DocumentDB/locations/restorableDatabaseAccounts\",\r\n \"id\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/providers/Microsoft.DocumentDB/locations/eastus2/restorableDatabaseAccounts/605db505-9267-4cf0-b7ac-27ef644b2ef3\",\r\n \"properties\": {\r\n \"accountName\": \"nichatur-restore-test-r1\",\r\n \"apiType\": \"Sql\",\r\n \"creationTime\": \"2020-12-07T23:57:59Z\",\r\n \"restorableLocations\": [\r\n {\r\n \"locationName\": \"East US 2\",\r\n \"regionalDatabaseAccountInstanceId\": \"71a2cff6-7e90-43a5-b261-b704fbfaf100\",\r\n \"creationTime\": \"2020-12-07T23:57:59Z\"\r\n }\r\n ]\r\n }\r\n },\r\n {\r\n \"name\": \"0d00d699-017a-4a76-8639-ab4bec82c5f2\",\r\n \"location\": \"East US 2\",\r\n \"type\": \"Microsoft.DocumentDB/locations/restorableDatabaseAccounts\",\r\n \"id\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/providers/Microsoft.DocumentDB/locations/eastus2/restorableDatabaseAccounts/0d00d699-017a-4a76-8639-ab4bec82c5f2\",\r\n \"properties\": {\r\n \"accountName\": \"restoredaccountname637428989095532319\",\r\n \"apiType\": \"Sql\",\r\n \"creationTime\": \"2020-12-08T00:57:52Z\",\r\n \"restorableLocations\": [\r\n {\r\n \"locationName\": \"East US 2\",\r\n \"regionalDatabaseAccountInstanceId\": \"7c0454e1-f718-48fe-894a-35182a8440d2\",\r\n \"creationTime\": \"2020-12-08T00:57:52Z\"\r\n }\r\n ]\r\n }\r\n },\r\n {\r\n \"name\": \"73d1010d-f0b7-4673-b8c0-18ddecdcda06\",\r\n \"location\": \"East US 2\",\r\n \"type\": \"Microsoft.DocumentDB/locations/restorableDatabaseAccounts\",\r\n \"id\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/providers/Microsoft.DocumentDB/locations/eastus2/restorableDatabaseAccounts/73d1010d-f0b7-4673-b8c0-18ddecdcda06\",\r\n \"properties\": {\r\n \"accountName\": \"nichatur-restore-test-r2\",\r\n \"apiType\": \"Sql\",\r\n \"creationTime\": \"2020-12-08T22:03:14Z\",\r\n \"restorableLocations\": [\r\n {\r\n \"locationName\": \"East US 2\",\r\n \"regionalDatabaseAccountInstanceId\": \"c6b5a1f6-2215-49be-9277-aeff5723ab4c\",\r\n \"creationTime\": \"2020-12-08T22:03:14Z\"\r\n }\r\n ]\r\n }\r\n },\r\n {\r\n \"name\": \"d1535f84-06b5-497b-8768-962ece984001\",\r\n \"location\": \"East US 2\",\r\n \"type\": \"Microsoft.DocumentDB/locations/restorableDatabaseAccounts\",\r\n \"id\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/providers/Microsoft.DocumentDB/locations/eastus2/restorableDatabaseAccounts/d1535f84-06b5-497b-8768-962ece984001\",\r\n \"properties\": {\r\n \"accountName\": \"kal-restore-test\",\r\n \"apiType\": \"Sql\",\r\n \"creationTime\": \"2021-01-15T21:58:32Z\",\r\n \"restorableLocations\": [\r\n {\r\n \"locationName\": \"West US 2\",\r\n \"regionalDatabaseAccountInstanceId\": \"f4b8377d-89b3-41dd-9892-79bfbc4d523c\",\r\n \"creationTime\": \"2021-01-15T21:58:32Z\"\r\n }\r\n ]\r\n }\r\n },\r\n {\r\n \"name\": \"9351dd2e-d901-465b-98cb-a74a3aabd49f\",\r\n \"location\": \"East US 2\",\r\n \"type\": \"Microsoft.DocumentDB/locations/restorableDatabaseAccounts\",\r\n \"id\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/providers/Microsoft.DocumentDB/locations/eastus2/restorableDatabaseAccounts/9351dd2e-d901-465b-98cb-a74a3aabd49f\",\r\n \"properties\": {\r\n \"accountName\": \"pitr-unique-mode-source\",\r\n \"apiType\": \"Sql\",\r\n \"creationTime\": \"2021-02-03T19:53:25Z\",\r\n \"restorableLocations\": [\r\n {\r\n \"locationName\": \"East US 2\",\r\n \"regionalDatabaseAccountInstanceId\": \"b5ee0cb6-20df-4132-8378-3d2b2bb477f8\",\r\n \"creationTime\": \"2021-02-03T19:53:26Z\"\r\n }\r\n ]\r\n }\r\n },\r\n {\r\n \"name\": \"222da8e2-da07-46db-9cd2-51a2efb84b9f\",\r\n \"location\": \"East US 2\",\r\n \"type\": \"Microsoft.DocumentDB/locations/restorableDatabaseAccounts\",\r\n \"id\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/providers/Microsoft.DocumentDB/locations/eastus2/restorableDatabaseAccounts/222da8e2-da07-46db-9cd2-51a2efb84b9f\",\r\n \"properties\": {\r\n \"accountName\": \"pitr-unique-mode-restored\",\r\n \"apiType\": \"Sql\",\r\n \"creationTime\": \"2021-02-03T20:07:50Z\",\r\n \"restorableLocations\": [\r\n {\r\n \"locationName\": \"East US 2\",\r\n \"regionalDatabaseAccountInstanceId\": \"094b572d-52f6-47bc-92c3-a692588ef6d6\",\r\n \"creationTime\": \"2021-02-03T20:07:50Z\"\r\n }\r\n ]\r\n }\r\n },\r\n {\r\n \"name\": \"19e4130a-cb83-4a34-85c2-e35dcda149f8\",\r\n \"location\": \"East US 2\",\r\n \"type\": \"Microsoft.DocumentDB/locations/restorableDatabaseAccounts\",\r\n \"id\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/providers/Microsoft.DocumentDB/locations/eastus2/restorableDatabaseAccounts/19e4130a-cb83-4a34-85c2-e35dcda149f8\",\r\n \"properties\": {\r\n \"accountName\": \"stage-validation-m\",\r\n \"apiType\": \"MongoDB\",\r\n \"creationTime\": \"2021-02-05T04:08:10Z\",\r\n \"restorableLocations\": [\r\n {\r\n \"locationName\": \"East US 2\",\r\n \"regionalDatabaseAccountInstanceId\": \"3f97305a-6a6b-4b38-b200-bea92d78f64a\",\r\n \"creationTime\": \"2021-02-05T04:08:11Z\"\r\n },\r\n {\r\n \"locationName\": \"West US 2\",\r\n \"regionalDatabaseAccountInstanceId\": \"7cf7aaa4-fe00-48fa-820b-cc632feaa9d7\",\r\n \"creationTime\": \"2021-02-05T04:29:43Z\"\r\n }\r\n ]\r\n }\r\n },\r\n {\r\n \"name\": \"5939cc7f-0bdd-4790-9ac6-a3b281c64f97\",\r\n \"location\": \"East US 2\",\r\n \"type\": \"Microsoft.DocumentDB/locations/restorableDatabaseAccounts\",\r\n \"id\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/providers/Microsoft.DocumentDB/locations/eastus2/restorableDatabaseAccounts/5939cc7f-0bdd-4790-9ac6-a3b281c64f97\",\r\n \"properties\": {\r\n \"accountName\": \"multiregion-pitr-billing-test\",\r\n \"apiType\": \"Sql\",\r\n \"creationTime\": \"2021-02-19T00:20:18Z\",\r\n \"restorableLocations\": [\r\n {\r\n \"locationName\": \"Southeast Asia\",\r\n \"regionalDatabaseAccountInstanceId\": \"0018e6e6-170f-4e25-b1a5-97e718138e0c\",\r\n \"creationTime\": \"2021-02-19T00:20:18Z\"\r\n },\r\n {\r\n \"locationName\": \"West US 2\",\r\n \"regionalDatabaseAccountInstanceId\": \"e235a61e-abf7-4e95-bfc2-0e4aa649b874\",\r\n \"creationTime\": \"2021-02-19T00:33:52Z\"\r\n }\r\n ]\r\n }\r\n },\r\n {\r\n \"name\": \"96aa7f5a-5292-44f3-9d3e-bec163b0de1a\",\r\n \"location\": \"East US 2\",\r\n \"type\": \"Microsoft.DocumentDB/locations/restorableDatabaseAccounts\",\r\n \"id\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/providers/Microsoft.DocumentDB/locations/eastus2/restorableDatabaseAccounts/96aa7f5a-5292-44f3-9d3e-bec163b0de1a\",\r\n \"properties\": {\r\n \"accountName\": \"restore-pitr-mongo32-stage-source\",\r\n \"apiType\": \"MongoDB\",\r\n \"creationTime\": \"2021-02-26T18:11:04Z\",\r\n \"restorableLocations\": [\r\n {\r\n \"locationName\": \"East US 2\",\r\n \"regionalDatabaseAccountInstanceId\": \"8c350d54-e45d-4ef7-af55-9f07dc4fe594\",\r\n \"creationTime\": \"2021-02-26T18:11:04Z\"\r\n }\r\n ]\r\n }\r\n },\r\n {\r\n \"name\": \"c02d9298-7cdb-440f-a16b-0dc3c97d6cde\",\r\n \"location\": \"East US 2\",\r\n \"type\": \"Microsoft.DocumentDB/locations/restorableDatabaseAccounts\",\r\n \"id\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/providers/Microsoft.DocumentDB/locations/eastus2/restorableDatabaseAccounts/c02d9298-7cdb-440f-a16b-0dc3c97d6cde\",\r\n \"properties\": {\r\n \"accountName\": \"pitr-sql-stage-restored-wrr\",\r\n \"apiType\": \"Sql\",\r\n \"creationTime\": \"2021-03-03T04:36:55Z\",\r\n \"restorableLocations\": [\r\n {\r\n \"locationName\": \"East US 2\",\r\n \"regionalDatabaseAccountInstanceId\": \"d6e10b03-43cd-4bdc-a1b8-3dfab9fe6beb\",\r\n \"creationTime\": \"2021-03-03T04:36:55Z\"\r\n }\r\n ]\r\n }\r\n },\r\n {\r\n \"name\": \"00e807ea-76c1-4b2f-afdd-dddc1b15979f\",\r\n \"location\": \"East US 2\",\r\n \"type\": \"Microsoft.DocumentDB/locations/restorableDatabaseAccounts\",\r\n \"id\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/providers/Microsoft.DocumentDB/locations/eastus2/restorableDatabaseAccounts/00e807ea-76c1-4b2f-afdd-dddc1b15979f\",\r\n \"properties\": {\r\n \"accountName\": \"pitr-sql-stage-restored-wrr1\",\r\n \"apiType\": \"Sql\",\r\n \"creationTime\": \"2021-03-03T05:01:33Z\",\r\n \"restorableLocations\": [\r\n {\r\n \"locationName\": \"East US 2\",\r\n \"regionalDatabaseAccountInstanceId\": \"683f9f6f-8b7d-4638-a4f2-db9983a9c2d1\",\r\n \"creationTime\": \"2021-03-03T05:01:33Z\"\r\n }\r\n ]\r\n }\r\n },\r\n {\r\n \"name\": \"9766bca9-cc26-4e26-83fe-32cd22fdb83d\",\r\n \"location\": \"East US 2\",\r\n \"type\": \"Microsoft.DocumentDB/locations/restorableDatabaseAccounts\",\r\n \"id\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/providers/Microsoft.DocumentDB/locations/eastus2/restorableDatabaseAccounts/9766bca9-cc26-4e26-83fe-32cd22fdb83d\",\r\n \"properties\": {\r\n \"accountName\": \"stage-pitr-billing-test\",\r\n \"apiType\": \"Sql\",\r\n \"creationTime\": \"2021-01-20T01:08:53Z\",\r\n \"deletionTime\": \"2021-02-04T00:01:29Z\",\r\n \"restorableLocations\": [\r\n {\r\n \"locationName\": \"West US 2\",\r\n \"regionalDatabaseAccountInstanceId\": \"9df768c4-6f3e-4bb8-be73-c8b338f50875\",\r\n \"creationTime\": \"2021-01-20T01:08:53Z\",\r\n \"deletionTime\": \"2021-02-04T00:01:29Z\"\r\n }\r\n ]\r\n }\r\n },\r\n {\r\n \"name\": \"8e032502-70fc-4495-8546-e69383186c09\",\r\n \"location\": \"East US 2\",\r\n \"type\": \"Microsoft.DocumentDB/locations/restorableDatabaseAccounts\",\r\n \"id\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/providers/Microsoft.DocumentDB/locations/eastus2/restorableDatabaseAccounts/8e032502-70fc-4495-8546-e69383186c09\",\r\n \"properties\": {\r\n \"accountName\": \"stage-pitr-billing-test-2\",\r\n \"apiType\": \"Sql\",\r\n \"creationTime\": \"2021-01-21T05:06:14Z\",\r\n \"deletionTime\": \"2021-02-04T00:01:29Z\",\r\n \"restorableLocations\": [\r\n {\r\n \"locationName\": \"West US 2\",\r\n \"regionalDatabaseAccountInstanceId\": \"a994d170-beb1-4f1a-a413-2d5548b171dd\",\r\n \"creationTime\": \"2021-01-21T05:06:14Z\",\r\n \"deletionTime\": \"2021-02-04T00:01:29Z\"\r\n }\r\n ]\r\n }\r\n },\r\n {\r\n \"name\": \"d9e1ccfa-1929-4532-9efb-6100feff0f0e\",\r\n \"location\": \"East US 2\",\r\n \"type\": \"Microsoft.DocumentDB/locations/restorableDatabaseAccounts\",\r\n \"id\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/providers/Microsoft.DocumentDB/locations/eastus2/restorableDatabaseAccounts/d9e1ccfa-1929-4532-9efb-6100feff0f0e\",\r\n \"properties\": {\r\n \"accountName\": \"stage-pitr-validation-restored-ror\",\r\n \"apiType\": \"Sql\",\r\n \"creationTime\": \"2021-02-06T19:32:22Z\",\r\n \"deletionTime\": \"2021-02-06T19:40:48Z\",\r\n \"restorableLocations\": [\r\n {\r\n \"locationName\": \"East US 2\",\r\n \"regionalDatabaseAccountInstanceId\": \"95ef85ad-f3dd-490d-aff2-50d6c7c0dd5f\",\r\n \"creationTime\": \"2021-02-06T19:32:22Z\",\r\n \"deletionTime\": \"2021-02-06T19:40:48Z\"\r\n }\r\n ]\r\n }\r\n },\r\n {\r\n \"name\": \"2d7d7e33-9b97-491e-895b-fe7f46f3d86c\",\r\n \"location\": \"East US 2\",\r\n \"type\": \"Microsoft.DocumentDB/locations/restorableDatabaseAccounts\",\r\n \"id\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/providers/Microsoft.DocumentDB/locations/eastus2/restorableDatabaseAccounts/2d7d7e33-9b97-491e-895b-fe7f46f3d86c\",\r\n \"properties\": {\r\n \"accountName\": \"stage-pitr-validation-source-r1\",\r\n \"apiType\": \"Sql\",\r\n \"creationTime\": \"2021-02-10T23:50:26Z\",\r\n \"deletionTime\": \"2021-02-11T07:07:51Z\",\r\n \"restorableLocations\": [\r\n {\r\n \"locationName\": \"East US 2\",\r\n \"regionalDatabaseAccountInstanceId\": \"eb35152b-9da0-44c0-a767-0c643969bf08\",\r\n \"creationTime\": \"2021-02-10T23:50:26Z\",\r\n \"deletionTime\": \"2021-02-11T07:07:51Z\"\r\n }\r\n ]\r\n }\r\n },\r\n {\r\n \"name\": \"4961ef4a-30d0-484e-ad16-8ba453b14abf\",\r\n \"location\": \"East US 2\",\r\n \"type\": \"Microsoft.DocumentDB/locations/restorableDatabaseAccounts\",\r\n \"id\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/providers/Microsoft.DocumentDB/locations/eastus2/restorableDatabaseAccounts/4961ef4a-30d0-484e-ad16-8ba453b14abf\",\r\n \"properties\": {\r\n \"accountName\": \"stage-pitr-validation-source-res\",\r\n \"apiType\": \"Sql\",\r\n \"creationTime\": \"2021-02-11T04:40:28Z\",\r\n \"deletionTime\": \"2021-02-11T07:07:51Z\",\r\n \"restorableLocations\": [\r\n {\r\n \"locationName\": \"East US 2\",\r\n \"regionalDatabaseAccountInstanceId\": \"5970d071-463b-4f79-92ac-810f199754e9\",\r\n \"creationTime\": \"2021-02-11T04:40:28Z\",\r\n \"deletionTime\": \"2021-02-11T07:07:51Z\"\r\n }\r\n ]\r\n }\r\n },\r\n {\r\n \"name\": \"ce9e2478-aa44-4bd2-96d4-d23f75dbd994\",\r\n \"location\": \"East US 2\",\r\n \"type\": \"Microsoft.DocumentDB/locations/restorableDatabaseAccounts\",\r\n \"id\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/providers/Microsoft.DocumentDB/locations/eastus2/restorableDatabaseAccounts/ce9e2478-aa44-4bd2-96d4-d23f75dbd994\",\r\n \"properties\": {\r\n \"accountName\": \"stage-pitr-validation-source-r2\",\r\n \"apiType\": \"Sql\",\r\n \"creationTime\": \"2021-02-11T00:04:43Z\",\r\n \"deletionTime\": \"2021-02-11T07:07:54Z\",\r\n \"restorableLocations\": [\r\n {\r\n \"locationName\": \"West US 2\",\r\n \"regionalDatabaseAccountInstanceId\": \"4d1a5ff8-9393-4dc4-a3b9-1b24e2aeb32c\",\r\n \"creationTime\": \"2021-02-11T00:04:43Z\",\r\n \"deletionTime\": \"2021-02-11T07:07:54Z\"\r\n }\r\n ]\r\n }\r\n },\r\n {\r\n \"name\": \"f93aff83-e412-471c-86de-e23df6cbeb58\",\r\n \"location\": \"East US 2\",\r\n \"type\": \"Microsoft.DocumentDB/locations/restorableDatabaseAccounts\",\r\n \"id\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/providers/Microsoft.DocumentDB/locations/eastus2/restorableDatabaseAccounts/f93aff83-e412-471c-86de-e23df6cbeb58\",\r\n \"properties\": {\r\n \"accountName\": \"stage-pitr-validation-restored-readregion\",\r\n \"apiType\": \"Sql\",\r\n \"creationTime\": \"2021-02-07T21:48:30Z\",\r\n \"deletionTime\": \"2021-02-11T21:07:27Z\",\r\n \"restorableLocations\": [\r\n {\r\n \"locationName\": \"North Central US\",\r\n \"regionalDatabaseAccountInstanceId\": \"ffac845b-ac41-4bfe-acc1-227406f9f68a\",\r\n \"creationTime\": \"2021-02-07T21:48:30Z\",\r\n \"deletionTime\": \"2021-02-11T21:07:27Z\"\r\n }\r\n ]\r\n }\r\n },\r\n {\r\n \"name\": \"9bb64267-f1d8-4d2a-9367-d16492966dc8\",\r\n \"location\": \"East US 2\",\r\n \"type\": \"Microsoft.DocumentDB/locations/restorableDatabaseAccounts\",\r\n \"id\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/providers/Microsoft.DocumentDB/locations/eastus2/restorableDatabaseAccounts/9bb64267-f1d8-4d2a-9367-d16492966dc8\",\r\n \"properties\": {\r\n \"accountName\": \"stage-pitr-validation-restored-wrr\",\r\n \"apiType\": \"Sql\",\r\n \"creationTime\": \"2021-02-06T18:18:14Z\",\r\n \"deletionTime\": \"2021-02-11T21:07:28Z\",\r\n \"restorableLocations\": [\r\n {\r\n \"locationName\": \"North Central US\",\r\n \"regionalDatabaseAccountInstanceId\": \"c8fdaea9-e41e-416f-8ab8-ffa9295ad14a\",\r\n \"creationTime\": \"2021-02-07T18:55:04Z\",\r\n \"deletionTime\": \"2021-02-11T21:07:28Z\"\r\n },\r\n {\r\n \"locationName\": \"East US 2\",\r\n \"regionalDatabaseAccountInstanceId\": \"de4ce762-1219-4750-9c25-cead6a9964b3\",\r\n \"creationTime\": \"2021-02-06T18:18:14Z\",\r\n \"deletionTime\": \"2021-02-11T21:07:28Z\"\r\n }\r\n ]\r\n }\r\n },\r\n {\r\n \"name\": \"78bd960f-b8bc-4412-b4e1-f16c5acc599c\",\r\n \"location\": \"East US 2\",\r\n \"type\": \"Microsoft.DocumentDB/locations/restorableDatabaseAccounts\",\r\n \"id\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/providers/Microsoft.DocumentDB/locations/eastus2/restorableDatabaseAccounts/78bd960f-b8bc-4412-b4e1-f16c5acc599c\",\r\n \"properties\": {\r\n \"accountName\": \"stage-pitr-validation-del-restored\",\r\n \"apiType\": \"Sql\",\r\n \"creationTime\": \"2021-02-06T20:23:29Z\",\r\n \"deletionTime\": \"2021-02-11T21:07:28Z\",\r\n \"restorableLocations\": [\r\n {\r\n \"locationName\": \"Southeast Asia\",\r\n \"regionalDatabaseAccountInstanceId\": \"753180e8-e128-47e9-98d1-5ce0c6d4f3a8\",\r\n \"creationTime\": \"2021-02-08T19:31:46Z\",\r\n \"deletionTime\": \"2021-02-11T21:07:28Z\"\r\n },\r\n {\r\n \"locationName\": \"East US 2\",\r\n \"regionalDatabaseAccountInstanceId\": \"2524386d-c456-4de9-a314-1acdb94e52a3\",\r\n \"creationTime\": \"2021-02-06T20:23:29Z\",\r\n \"deletionTime\": \"2021-02-11T21:07:28Z\"\r\n }\r\n ]\r\n }\r\n },\r\n {\r\n \"name\": \"67d6981a-3dc7-4e3a-b04a-73c0376d42bb\",\r\n \"location\": \"East US 2\",\r\n \"type\": \"Microsoft.DocumentDB/locations/restorableDatabaseAccounts\",\r\n \"id\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/providers/Microsoft.DocumentDB/locations/eastus2/restorableDatabaseAccounts/67d6981a-3dc7-4e3a-b04a-73c0376d42bb\",\r\n \"properties\": {\r\n \"accountName\": \"stage-pitr-validation-source-r2\",\r\n \"apiType\": \"Sql\",\r\n \"creationTime\": \"2021-02-11T08:37:02Z\",\r\n \"deletionTime\": \"2021-02-12T17:07:42Z\",\r\n \"restorableLocations\": [\r\n {\r\n \"locationName\": \"East US 2\",\r\n \"regionalDatabaseAccountInstanceId\": \"5f331e43-571c-4fe7-9874-aeafcd2b421c\",\r\n \"creationTime\": \"2021-02-11T08:37:02Z\",\r\n \"deletionTime\": \"2021-02-12T17:07:42Z\"\r\n }\r\n ]\r\n }\r\n },\r\n {\r\n \"name\": \"5ea690df-46a9-4bf2-910c-0484660978bb\",\r\n \"location\": \"East US 2\",\r\n \"type\": \"Microsoft.DocumentDB/locations/restorableDatabaseAccounts\",\r\n \"id\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/providers/Microsoft.DocumentDB/locations/eastus2/restorableDatabaseAccounts/5ea690df-46a9-4bf2-910c-0484660978bb\",\r\n \"properties\": {\r\n \"accountName\": \"stage-pitr-validation-source-r1\",\r\n \"apiType\": \"Sql\",\r\n \"creationTime\": \"2021-02-11T08:24:56Z\",\r\n \"deletionTime\": \"2021-02-12T17:07:43Z\",\r\n \"restorableLocations\": [\r\n {\r\n \"locationName\": \"East US 2\",\r\n \"regionalDatabaseAccountInstanceId\": \"29b9a3fe-b375-462d-9221-191fc4ddaa83\",\r\n \"creationTime\": \"2021-02-11T08:24:56Z\",\r\n \"deletionTime\": \"2021-02-12T17:07:43Z\"\r\n }\r\n ]\r\n }\r\n },\r\n {\r\n \"name\": \"53b3d044-7394-4a06-883d-cf9247f66e3c\",\r\n \"location\": \"East US 2\",\r\n \"type\": \"Microsoft.DocumentDB/locations/restorableDatabaseAccounts\",\r\n \"id\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/providers/Microsoft.DocumentDB/locations/eastus2/restorableDatabaseAccounts/53b3d044-7394-4a06-883d-cf9247f66e3c\",\r\n \"properties\": {\r\n \"accountName\": \"stage-pitr-validation-source-r3\",\r\n \"apiType\": \"Sql\",\r\n \"creationTime\": \"2021-02-11T08:49:08Z\",\r\n \"deletionTime\": \"2021-02-12T17:07:44Z\",\r\n \"restorableLocations\": [\r\n {\r\n \"locationName\": \"East US 2\",\r\n \"regionalDatabaseAccountInstanceId\": \"a38a83ce-d467-4c81-9f3d-c65697d1c547\",\r\n \"creationTime\": \"2021-02-11T08:49:08Z\",\r\n \"deletionTime\": \"2021-02-12T17:07:44Z\"\r\n }\r\n ]\r\n }\r\n },\r\n {\r\n \"name\": \"66c4a9a2-7799-474a-9e1e-e56a4b340d62\",\r\n \"location\": \"East US 2\",\r\n \"type\": \"Microsoft.DocumentDB/locations/restorableDatabaseAccounts\",\r\n \"id\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/providers/Microsoft.DocumentDB/locations/eastus2/restorableDatabaseAccounts/66c4a9a2-7799-474a-9e1e-e56a4b340d62\",\r\n \"properties\": {\r\n \"accountName\": \"stage-pitr-validation-source-r4\",\r\n \"apiType\": \"Sql\",\r\n \"creationTime\": \"2021-02-11T09:01:06Z\",\r\n \"deletionTime\": \"2021-02-12T17:07:45Z\",\r\n \"restorableLocations\": [\r\n {\r\n \"locationName\": \"East US 2\",\r\n \"regionalDatabaseAccountInstanceId\": \"01869f13-ab6f-451b-8b15-9cb0b369cde2\",\r\n \"creationTime\": \"2021-02-11T09:01:06Z\",\r\n \"deletionTime\": \"2021-02-12T17:07:45Z\"\r\n }\r\n ]\r\n }\r\n },\r\n {\r\n \"name\": \"674c1551-e35b-4a4d-bd79-fde1f439dbe0\",\r\n \"location\": \"East US 2\",\r\n \"type\": \"Microsoft.DocumentDB/locations/restorableDatabaseAccounts\",\r\n \"id\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/providers/Microsoft.DocumentDB/locations/eastus2/restorableDatabaseAccounts/674c1551-e35b-4a4d-bd79-fde1f439dbe0\",\r\n \"properties\": {\r\n \"accountName\": \"stage-pitr-validation-source-r1\",\r\n \"apiType\": \"Sql\",\r\n \"creationTime\": \"2021-02-17T11:23:16Z\",\r\n \"deletionTime\": \"2021-02-17T15:31:10Z\",\r\n \"restorableLocations\": [\r\n {\r\n \"locationName\": \"East US 2\",\r\n \"regionalDatabaseAccountInstanceId\": \"17329379-801c-4909-999a-421f20fd57c4\",\r\n \"creationTime\": \"2021-02-17T11:23:16Z\",\r\n \"deletionTime\": \"2021-02-17T15:31:10Z\"\r\n }\r\n ]\r\n }\r\n },\r\n {\r\n \"name\": \"af242175-f3a2-40f4-9c77-10eaf232a2b5\",\r\n \"location\": \"East US 2\",\r\n \"type\": \"Microsoft.DocumentDB/locations/restorableDatabaseAccounts\",\r\n \"id\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/providers/Microsoft.DocumentDB/locations/eastus2/restorableDatabaseAccounts/af242175-f3a2-40f4-9c77-10eaf232a2b5\",\r\n \"properties\": {\r\n \"accountName\": \"dd21234\",\r\n \"apiType\": \"Sql\",\r\n \"creationTime\": \"2021-02-22T09:47:40Z\",\r\n \"deletionTime\": \"2021-02-22T10:59:26Z\",\r\n \"restorableLocations\": [\r\n {\r\n \"locationName\": \"East US 2\",\r\n \"regionalDatabaseAccountInstanceId\": \"66b2c82f-633f-446a-b89e-dba1b13ae92c\",\r\n \"creationTime\": \"2021-02-22T09:47:40Z\",\r\n \"deletionTime\": \"2021-02-22T10:59:26Z\"\r\n }\r\n ]\r\n }\r\n },\r\n {\r\n \"name\": \"128a528a-5e22-4146-ae62-b32994614cb0\",\r\n \"location\": \"East US 2\",\r\n \"type\": \"Microsoft.DocumentDB/locations/restorableDatabaseAccounts\",\r\n \"id\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/providers/Microsoft.DocumentDB/locations/eastus2/restorableDatabaseAccounts/128a528a-5e22-4146-ae62-b32994614cb0\",\r\n \"properties\": {\r\n \"accountName\": \"dd21\",\r\n \"apiType\": \"Sql\",\r\n \"creationTime\": \"2021-02-22T09:02:19Z\",\r\n \"deletionTime\": \"2021-02-22T11:00:06Z\",\r\n \"restorableLocations\": [\r\n {\r\n \"locationName\": \"East US 2\",\r\n \"regionalDatabaseAccountInstanceId\": \"ebc69bc4-4865-41d6-a632-aef7a5e2de1d\",\r\n \"creationTime\": \"2021-02-22T09:02:19Z\",\r\n \"deletionTime\": \"2021-02-22T11:00:06Z\"\r\n }\r\n ]\r\n }\r\n },\r\n {\r\n \"name\": \"3e1a3f5e-dcae-449e-82f7-bbf80cba54c5\",\r\n \"location\": \"East US 2\",\r\n \"type\": \"Microsoft.DocumentDB/locations/restorableDatabaseAccounts\",\r\n \"id\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/providers/Microsoft.DocumentDB/locations/eastus2/restorableDatabaseAccounts/3e1a3f5e-dcae-449e-82f7-bbf80cba54c5\",\r\n \"properties\": {\r\n \"accountName\": \"ddb55\",\r\n \"apiType\": \"Sql\",\r\n \"creationTime\": \"2021-02-24T04:21:43Z\",\r\n \"deletionTime\": \"2021-02-24T07:45:59Z\",\r\n \"restorableLocations\": [\r\n {\r\n \"locationName\": \"East US 2\",\r\n \"regionalDatabaseAccountInstanceId\": \"4dff1afd-82b9-425f-840a-3237bd54478d\",\r\n \"creationTime\": \"2021-02-24T04:21:43Z\",\r\n \"deletionTime\": \"2021-02-24T07:45:59Z\"\r\n }\r\n ]\r\n }\r\n },\r\n {\r\n \"name\": \"d612dc86-9085-444b-a868-fb48c7d368fb\",\r\n \"location\": \"East US 2\",\r\n \"type\": \"Microsoft.DocumentDB/locations/restorableDatabaseAccounts\",\r\n \"id\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/providers/Microsoft.DocumentDB/locations/eastus2/restorableDatabaseAccounts/d612dc86-9085-444b-a868-fb48c7d368fb\",\r\n \"properties\": {\r\n \"accountName\": \"ddb1\",\r\n \"apiType\": \"Sql\",\r\n \"creationTime\": \"2021-02-18T11:15:52Z\",\r\n \"deletionTime\": \"2021-02-24T07:46:14Z\",\r\n \"restorableLocations\": [\r\n {\r\n \"locationName\": \"East US 2\",\r\n \"regionalDatabaseAccountInstanceId\": \"db2b9027-bcdf-4069-be69-074fc2f46d7c\",\r\n \"creationTime\": \"2021-02-18T11:15:52Z\",\r\n \"deletionTime\": \"2021-02-24T07:46:14Z\"\r\n }\r\n ]\r\n }\r\n },\r\n {\r\n \"name\": \"0ea5b02f-40bd-4cfd-8406-35286bd00fa2\",\r\n \"location\": \"East US 2\",\r\n \"type\": \"Microsoft.DocumentDB/locations/restorableDatabaseAccounts\",\r\n \"id\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/providers/Microsoft.DocumentDB/locations/eastus2/restorableDatabaseAccounts/0ea5b02f-40bd-4cfd-8406-35286bd00fa2\",\r\n \"properties\": {\r\n \"accountName\": \"pitr-sql-stage-restored-ror\",\r\n \"apiType\": \"Sql\",\r\n \"creationTime\": \"2021-02-24T17:56:15Z\",\r\n \"deletionTime\": \"2021-02-25T10:33:38Z\",\r\n \"restorableLocations\": [\r\n {\r\n \"locationName\": \"West US 2\",\r\n \"regionalDatabaseAccountInstanceId\": \"740afadb-1142-4b13-9fa4-67e857d56a89\",\r\n \"creationTime\": \"2021-02-24T17:56:15Z\",\r\n \"deletionTime\": \"2021-02-25T10:33:38Z\"\r\n }\r\n ]\r\n }\r\n },\r\n {\r\n \"name\": \"52006c1b-5c7f-43a1-9ae0-b936550aed8a\",\r\n \"location\": \"East US 2\",\r\n \"type\": \"Microsoft.DocumentDB/locations/restorableDatabaseAccounts\",\r\n \"id\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/providers/Microsoft.DocumentDB/locations/eastus2/restorableDatabaseAccounts/52006c1b-5c7f-43a1-9ae0-b936550aed8a\",\r\n \"properties\": {\r\n \"accountName\": \"pitr-sql-stage-restored-rrr\",\r\n \"apiType\": \"Sql\",\r\n \"creationTime\": \"2021-02-24T17:40:45Z\",\r\n \"deletionTime\": \"2021-02-25T10:34:20Z\",\r\n \"restorableLocations\": [\r\n {\r\n \"locationName\": \"West US 2\",\r\n \"regionalDatabaseAccountInstanceId\": \"a1e3fe50-7548-4b49-aee1-373a142e0c3b\",\r\n \"creationTime\": \"2021-02-24T17:40:45Z\",\r\n \"deletionTime\": \"2021-02-25T10:34:20Z\"\r\n }\r\n ]\r\n }\r\n },\r\n {\r\n \"name\": \"a578c9d3-1d35-451f-a3df-44e61ed45cfa\",\r\n \"location\": \"East US 2\",\r\n \"type\": \"Microsoft.DocumentDB/locations/restorableDatabaseAccounts\",\r\n \"id\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/providers/Microsoft.DocumentDB/locations/eastus2/restorableDatabaseAccounts/a578c9d3-1d35-451f-a3df-44e61ed45cfa\",\r\n \"properties\": {\r\n \"accountName\": \"pitr-sql-stage-restored-wrr\",\r\n \"apiType\": \"Sql\",\r\n \"creationTime\": \"2021-02-24T05:19:04Z\",\r\n \"deletionTime\": \"2021-02-25T10:34:35Z\",\r\n \"restorableLocations\": [\r\n {\r\n \"locationName\": \"East US 2\",\r\n \"regionalDatabaseAccountInstanceId\": \"feff600a-c776-422a-a2f7-0cfe03be68b8\",\r\n \"creationTime\": \"2021-02-24T05:19:04Z\",\r\n \"deletionTime\": \"2021-02-25T10:34:35Z\"\r\n }\r\n ]\r\n }\r\n },\r\n {\r\n \"name\": \"07b7492c-91c3-41bb-9f75-8f25c739ce06\",\r\n \"location\": \"East US 2\",\r\n \"type\": \"Microsoft.DocumentDB/locations/restorableDatabaseAccounts\",\r\n \"id\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/providers/Microsoft.DocumentDB/locations/eastus2/restorableDatabaseAccounts/07b7492c-91c3-41bb-9f75-8f25c739ce06\",\r\n \"properties\": {\r\n \"accountName\": \"pitr-sql-stage-restored-wrr\",\r\n \"apiType\": \"Sql\",\r\n \"creationTime\": \"2021-03-01T05:56:16Z\",\r\n \"deletionTime\": \"2021-03-02T09:01:04Z\",\r\n \"restorableLocations\": [\r\n {\r\n \"locationName\": \"East US 2\",\r\n \"regionalDatabaseAccountInstanceId\": \"bfbd7d4b-3edf-44da-8aab-eb9cdafe43a7\",\r\n \"creationTime\": \"2021-03-01T05:56:16Z\",\r\n \"deletionTime\": \"2021-03-02T09:01:04Z\"\r\n }\r\n ]\r\n }\r\n },\r\n {\r\n \"name\": \"db2af171-a342-4d3c-92ff-45e81629341d\",\r\n \"location\": \"East US 2\",\r\n \"type\": \"Microsoft.DocumentDB/locations/restorableDatabaseAccounts\",\r\n \"id\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/providers/Microsoft.DocumentDB/locations/eastus2/restorableDatabaseAccounts/db2af171-a342-4d3c-92ff-45e81629341d\",\r\n \"properties\": {\r\n \"accountName\": \"pitr-sql-stage-restored-wrr\",\r\n \"apiType\": \"Sql\",\r\n \"creationTime\": \"2021-03-02T10:39:31Z\",\r\n \"deletionTime\": \"2021-03-02T10:41:51Z\",\r\n \"restorableLocations\": [\r\n {\r\n \"locationName\": \"East US 2\",\r\n \"regionalDatabaseAccountInstanceId\": \"4e29876d-a887-4def-a99e-1b7043bb6181\",\r\n \"creationTime\": \"2021-03-02T10:39:31Z\",\r\n \"deletionTime\": \"2021-03-02T10:41:51Z\"\r\n }\r\n ]\r\n }\r\n },\r\n {\r\n \"name\": \"a76a91b4-489b-4714-b0fc-b98459934920\",\r\n \"location\": \"East US 2\",\r\n \"type\": \"Microsoft.DocumentDB/locations/restorableDatabaseAccounts\",\r\n \"id\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/providers/Microsoft.DocumentDB/locations/eastus2/restorableDatabaseAccounts/a76a91b4-489b-4714-b0fc-b98459934920\",\r\n \"properties\": {\r\n \"accountName\": \"pitr-sql-stage-restored-wrr\",\r\n \"apiType\": \"Sql\",\r\n \"creationTime\": \"2021-03-02T15:16:36Z\",\r\n \"deletionTime\": \"2021-03-03T04:08:46Z\",\r\n \"restorableLocations\": [\r\n {\r\n \"locationName\": \"East US 2\",\r\n \"regionalDatabaseAccountInstanceId\": \"40bafde5-ffd5-453a-acb4-9c697808790a\",\r\n \"creationTime\": \"2021-03-02T15:16:36Z\",\r\n \"deletionTime\": \"2021-03-03T04:08:46Z\"\r\n }\r\n ]\r\n }\r\n }\r\n ]\r\n}", + "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"name\": \"fccbe297-cb19-424b-a8d7-e996a6b7b689\",\r\n \"location\": \"East US 2\",\r\n \"type\": \"Microsoft.DocumentDB/locations/restorableDatabaseAccounts\",\r\n \"id\": \"/subscriptions/259fbb24-9bcd-4cfc-865c-fc33b22fe38a/providers/Microsoft.DocumentDB/locations/eastus2/restorableDatabaseAccounts/fccbe297-cb19-424b-a8d7-e996a6b7b689\",\r\n \"properties\": {\r\n \"accountName\": \"mongotestaccount\",\r\n \"apiType\": \"MongoDB\",\r\n \"creationTime\": \"2021-06-02T19:34:26Z\",\r\n \"restorableLocations\": [\r\n {\r\n \"locationName\": \"East US 2\",\r\n \"regionalDatabaseAccountInstanceId\": \"9f8cab0e-80f5-48b6-bc9f-7f7b3a69afeb\",\r\n \"creationTime\": \"2021-06-02T19:34:27Z\"\r\n }\r\n ]\r\n }\r\n },\r\n {\r\n \"name\": \"c6b53e1d-0dec-4ff2-ab70-2e9d24a3ed27\",\r\n \"location\": \"East US 2\",\r\n \"type\": \"Microsoft.DocumentDB/locations/restorableDatabaseAccounts\",\r\n \"id\": \"/subscriptions/259fbb24-9bcd-4cfc-865c-fc33b22fe38a/providers/Microsoft.DocumentDB/locations/eastus2/restorableDatabaseAccounts/c6b53e1d-0dec-4ff2-ab70-2e9d24a3ed27\",\r\n \"properties\": {\r\n \"accountName\": \"pitr-sql-stage-source\",\r\n \"apiType\": \"Sql\",\r\n \"creationTime\": \"2021-06-02T23:30:43Z\",\r\n \"restorableLocations\": [\r\n {\r\n \"locationName\": \"East US 2\",\r\n \"regionalDatabaseAccountInstanceId\": \"9961d453-89c2-4daf-bcad-add22d287617\",\r\n \"creationTime\": \"2021-06-02T23:30:43Z\"\r\n }\r\n ]\r\n }\r\n },\r\n {\r\n \"name\": \"990590c0-4db8-4b0e-96ef-55f0be03615d\",\r\n \"location\": \"East US 2\",\r\n \"type\": \"Microsoft.DocumentDB/locations/restorableDatabaseAccounts\",\r\n \"id\": \"/subscriptions/259fbb24-9bcd-4cfc-865c-fc33b22fe38a/providers/Microsoft.DocumentDB/locations/eastus2/restorableDatabaseAccounts/990590c0-4db8-4b0e-96ef-55f0be03615d\",\r\n \"properties\": {\r\n \"accountName\": \"pitr-mongo32-stage-source\",\r\n \"apiType\": \"MongoDB\",\r\n \"creationTime\": \"2021-06-02T23:32:31Z\",\r\n \"restorableLocations\": [\r\n {\r\n \"locationName\": \"East US 2\",\r\n \"regionalDatabaseAccountInstanceId\": \"2d0a8ae4-e622-429c-a2bf-b7b13ada7b45\",\r\n \"creationTime\": \"2021-06-02T23:32:32Z\"\r\n }\r\n ]\r\n }\r\n },\r\n {\r\n \"name\": \"60a54911-db9e-436f-b282-34779e0a2a7f\",\r\n \"location\": \"East US 2\",\r\n \"type\": \"Microsoft.DocumentDB/locations/restorableDatabaseAccounts\",\r\n \"id\": \"/subscriptions/259fbb24-9bcd-4cfc-865c-fc33b22fe38a/providers/Microsoft.DocumentDB/locations/eastus2/restorableDatabaseAccounts/60a54911-db9e-436f-b282-34779e0a2a7f\",\r\n \"properties\": {\r\n \"accountName\": \"pitr-mongo36-stage-source\",\r\n \"apiType\": \"MongoDB\",\r\n \"creationTime\": \"2021-06-02T23:33:01Z\",\r\n \"restorableLocations\": [\r\n {\r\n \"locationName\": \"East US 2\",\r\n \"regionalDatabaseAccountInstanceId\": \"32163288-85a4-454b-a7d7-d7fbb1f32aeb\",\r\n \"creationTime\": \"2021-06-02T23:33:02Z\"\r\n }\r\n ]\r\n }\r\n },\r\n {\r\n \"name\": \"b0736fc7-cb53-4b6f-bd2f-aac904085da4\",\r\n \"location\": \"East US 2\",\r\n \"type\": \"Microsoft.DocumentDB/locations/restorableDatabaseAccounts\",\r\n \"id\": \"/subscriptions/259fbb24-9bcd-4cfc-865c-fc33b22fe38a/providers/Microsoft.DocumentDB/locations/eastus2/restorableDatabaseAccounts/b0736fc7-cb53-4b6f-bd2f-aac904085da4\",\r\n \"properties\": {\r\n \"accountName\": \"mongo-continuous-1212\",\r\n \"apiType\": \"MongoDB\",\r\n \"creationTime\": \"2021-06-04T22:09:26Z\",\r\n \"restorableLocations\": [\r\n {\r\n \"locationName\": \"East US 2\",\r\n \"regionalDatabaseAccountInstanceId\": \"a1f3383c-4e2f-44b5-8348-7323e2356b3d\",\r\n \"creationTime\": \"2021-06-04T22:09:26Z\"\r\n }\r\n ]\r\n }\r\n },\r\n {\r\n \"name\": \"2301188f-cf13-419d-b7c2-5321c5476526\",\r\n \"location\": \"East US 2\",\r\n \"type\": \"Microsoft.DocumentDB/locations/restorableDatabaseAccounts\",\r\n \"id\": \"/subscriptions/259fbb24-9bcd-4cfc-865c-fc33b22fe38a/providers/Microsoft.DocumentDB/locations/eastus2/restorableDatabaseAccounts/2301188f-cf13-419d-b7c2-5321c5476526\",\r\n \"properties\": {\r\n \"accountName\": \"restored-cosmosdb-1212\",\r\n \"apiType\": \"Sql\",\r\n \"creationTime\": \"2021-06-07T21:06:02Z\",\r\n \"restorableLocations\": [\r\n {\r\n \"locationName\": \"East US 2\",\r\n \"regionalDatabaseAccountInstanceId\": \"05b3f3ce-59ee-4d28-bd66-09ea5c50790d\",\r\n \"creationTime\": \"2021-06-07T21:06:02Z\"\r\n }\r\n ]\r\n }\r\n },\r\n {\r\n \"name\": \"24302a82-123a-487a-bede-054ade2860f1\",\r\n \"location\": \"East US 2\",\r\n \"type\": \"Microsoft.DocumentDB/locations/restorableDatabaseAccounts\",\r\n \"id\": \"/subscriptions/259fbb24-9bcd-4cfc-865c-fc33b22fe38a/providers/Microsoft.DocumentDB/locations/eastus2/restorableDatabaseAccounts/24302a82-123a-487a-bede-054ade2860f1\",\r\n \"properties\": {\r\n \"accountName\": \"dbaccount29-1\",\r\n \"apiType\": \"Sql\",\r\n \"creationTime\": \"2021-06-07T21:24:52Z\",\r\n \"restorableLocations\": [\r\n {\r\n \"locationName\": \"East US 2\",\r\n \"regionalDatabaseAccountInstanceId\": \"ede5fb9c-4058-44a6-8dec-29e3e7de9b44\",\r\n \"creationTime\": \"2021-06-07T21:24:53Z\"\r\n }\r\n ]\r\n }\r\n },\r\n {\r\n \"name\": \"e157f1a1-6837-46fa-8f4f-ef3e7266ab3a\",\r\n \"location\": \"East US 2\",\r\n \"type\": \"Microsoft.DocumentDB/locations/restorableDatabaseAccounts\",\r\n \"id\": \"/subscriptions/259fbb24-9bcd-4cfc-865c-fc33b22fe38a/providers/Microsoft.DocumentDB/locations/eastus2/restorableDatabaseAccounts/e157f1a1-6837-46fa-8f4f-ef3e7266ab3a\",\r\n \"properties\": {\r\n \"accountName\": \"rbactestps12\",\r\n \"apiType\": \"Sql\",\r\n \"creationTime\": \"2021-06-07T21:27:24Z\",\r\n \"restorableLocations\": [\r\n {\r\n \"locationName\": \"East US 2\",\r\n \"regionalDatabaseAccountInstanceId\": \"64c449c8-6fa2-4273-b066-5a062d4418be\",\r\n \"creationTime\": \"2021-06-07T21:27:24Z\"\r\n }\r\n ]\r\n }\r\n },\r\n {\r\n \"name\": \"72706ac1-0d0a-40be-a30a-1b4af0911131\",\r\n \"location\": \"East US 2\",\r\n \"type\": \"Microsoft.DocumentDB/locations/restorableDatabaseAccounts\",\r\n \"id\": \"/subscriptions/259fbb24-9bcd-4cfc-865c-fc33b22fe38a/providers/Microsoft.DocumentDB/locations/eastus2/restorableDatabaseAccounts/72706ac1-0d0a-40be-a30a-1b4af0911131\",\r\n \"properties\": {\r\n \"accountName\": \"mongo-db0002\",\r\n \"apiType\": \"MongoDB\",\r\n \"creationTime\": \"2021-06-07T23:44:54Z\",\r\n \"restorableLocations\": [\r\n {\r\n \"locationName\": \"East US 2\",\r\n \"regionalDatabaseAccountInstanceId\": \"dfccb705-08c0-4282-9dad-07ab354ba8e8\",\r\n \"creationTime\": \"2021-06-07T23:44:55Z\"\r\n }\r\n ]\r\n }\r\n },\r\n {\r\n \"name\": \"41ea7d9e-553f-4259-872f-676c969e9a0b\",\r\n \"location\": \"East US 2\",\r\n \"type\": \"Microsoft.DocumentDB/locations/restorableDatabaseAccounts\",\r\n \"id\": \"/subscriptions/259fbb24-9bcd-4cfc-865c-fc33b22fe38a/providers/Microsoft.DocumentDB/locations/eastus2/restorableDatabaseAccounts/41ea7d9e-553f-4259-872f-676c969e9a0b\",\r\n \"properties\": {\r\n \"accountName\": \"dbaccount27-1\",\r\n \"apiType\": \"Sql\",\r\n \"creationTime\": \"2021-06-08T17:39:46Z\",\r\n \"restorableLocations\": [\r\n {\r\n \"locationName\": \"East US 2\",\r\n \"regionalDatabaseAccountInstanceId\": \"1db9bff4-73f7-48e1-a506-ab5b3edc8308\",\r\n \"creationTime\": \"2021-06-08T17:39:47Z\"\r\n }\r\n ]\r\n }\r\n },\r\n {\r\n \"name\": \"ceacd38f-9e6b-4a81-b2f7-ecd341c6fbbd\",\r\n \"location\": \"East US 2\",\r\n \"type\": \"Microsoft.DocumentDB/locations/restorableDatabaseAccounts\",\r\n \"id\": \"/subscriptions/259fbb24-9bcd-4cfc-865c-fc33b22fe38a/providers/Microsoft.DocumentDB/locations/eastus2/restorableDatabaseAccounts/ceacd38f-9e6b-4a81-b2f7-ecd341c6fbbd\",\r\n \"properties\": {\r\n \"accountName\": \"cli125\",\r\n \"apiType\": \"Sql\",\r\n \"creationTime\": \"2021-06-09T19:06:13Z\",\r\n \"restorableLocations\": [\r\n {\r\n \"locationName\": \"East US 2\",\r\n \"regionalDatabaseAccountInstanceId\": \"c2a9bc5f-f37e-4add-a582-52abfb6a36a1\",\r\n \"creationTime\": \"2021-06-09T19:06:14Z\"\r\n }\r\n ]\r\n }\r\n },\r\n {\r\n \"name\": \"88d48073-10d1-402e-8cf5-c79e4e2de08e\",\r\n \"location\": \"East US 2\",\r\n \"type\": \"Microsoft.DocumentDB/locations/restorableDatabaseAccounts\",\r\n \"id\": \"/subscriptions/259fbb24-9bcd-4cfc-865c-fc33b22fe38a/providers/Microsoft.DocumentDB/locations/eastus2/restorableDatabaseAccounts/88d48073-10d1-402e-8cf5-c79e4e2de08e\",\r\n \"properties\": {\r\n \"accountName\": \"sqltestaccount123\",\r\n \"apiType\": \"Sql\",\r\n \"creationTime\": \"2021-06-09T19:09:54Z\",\r\n \"restorableLocations\": [\r\n {\r\n \"locationName\": \"East US 2\",\r\n \"regionalDatabaseAccountInstanceId\": \"861a2513-08ea-4cf8-817b-99b8282f5013\",\r\n \"creationTime\": \"2021-06-09T19:09:54Z\"\r\n }\r\n ]\r\n }\r\n },\r\n {\r\n \"name\": \"bb9b3beb-42c4-4ae4-a983-58e20bcd71a5\",\r\n \"location\": \"East US 2\",\r\n \"type\": \"Microsoft.DocumentDB/locations/restorableDatabaseAccounts\",\r\n \"id\": \"/subscriptions/259fbb24-9bcd-4cfc-865c-fc33b22fe38a/providers/Microsoft.DocumentDB/locations/eastus2/restorableDatabaseAccounts/bb9b3beb-42c4-4ae4-a983-58e20bcd71a5\",\r\n \"properties\": {\r\n \"accountName\": \"db003\",\r\n \"apiType\": \"MongoDB\",\r\n \"creationTime\": \"2021-06-09T20:16:40Z\",\r\n \"restorableLocations\": [\r\n {\r\n \"locationName\": \"East US 2\",\r\n \"regionalDatabaseAccountInstanceId\": \"a6dda878-4486-437f-bd72-b9e87bf75221\",\r\n \"creationTime\": \"2021-06-09T20:16:41Z\"\r\n }\r\n ]\r\n }\r\n },\r\n {\r\n \"name\": \"9f8ee54b-f275-44fa-b2c5-9983644c131f\",\r\n \"location\": \"East US 2\",\r\n \"type\": \"Microsoft.DocumentDB/locations/restorableDatabaseAccounts\",\r\n \"id\": \"/subscriptions/259fbb24-9bcd-4cfc-865c-fc33b22fe38a/providers/Microsoft.DocumentDB/locations/eastus2/restorableDatabaseAccounts/9f8ee54b-f275-44fa-b2c5-9983644c131f\",\r\n \"properties\": {\r\n \"accountName\": \"sqltestaccount124\",\r\n \"apiType\": \"Sql\",\r\n \"creationTime\": \"2021-06-10T05:06:02Z\",\r\n \"restorableLocations\": [\r\n {\r\n \"locationName\": \"East US 2\",\r\n \"regionalDatabaseAccountInstanceId\": \"3fe302ed-daee-401c-9897-250919f9a0fe\",\r\n \"creationTime\": \"2021-06-10T05:06:02Z\"\r\n }\r\n ]\r\n }\r\n },\r\n {\r\n \"name\": \"c2601a38-bee1-400e-bc5e-8d817318cf31\",\r\n \"location\": \"East US 2\",\r\n \"type\": \"Microsoft.DocumentDB/locations/restorableDatabaseAccounts\",\r\n \"id\": \"/subscriptions/259fbb24-9bcd-4cfc-865c-fc33b22fe38a/providers/Microsoft.DocumentDB/locations/eastus2/restorableDatabaseAccounts/c2601a38-bee1-400e-bc5e-8d817318cf31\",\r\n \"properties\": {\r\n \"accountName\": \"restoredaccountname7595\",\r\n \"apiType\": \"Sql\",\r\n \"creationTime\": \"2021-06-10T18:00:35Z\",\r\n \"restorableLocations\": [\r\n {\r\n \"locationName\": \"East US 2\",\r\n \"regionalDatabaseAccountInstanceId\": \"0a4ccb11-2cb5-4b81-8ab6-ea10cbb2290d\",\r\n \"creationTime\": \"2021-06-10T18:00:35Z\"\r\n }\r\n ]\r\n }\r\n },\r\n {\r\n \"name\": \"33035d50-7f15-4450-a71d-a4da4dcd039f\",\r\n \"location\": \"East US 2\",\r\n \"type\": \"Microsoft.DocumentDB/locations/restorableDatabaseAccounts\",\r\n \"id\": \"/subscriptions/259fbb24-9bcd-4cfc-865c-fc33b22fe38a/providers/Microsoft.DocumentDB/locations/eastus2/restorableDatabaseAccounts/33035d50-7f15-4450-a71d-a4da4dcd039f\",\r\n \"properties\": {\r\n \"accountName\": \"restoredaccountname4020\",\r\n \"apiType\": \"Sql\",\r\n \"creationTime\": \"2021-06-15T21:27:04Z\",\r\n \"restorableLocations\": [\r\n {\r\n \"locationName\": \"East US 2\",\r\n \"regionalDatabaseAccountInstanceId\": \"5d75295f-2ad7-451c-b27d-8e877e22b075\",\r\n \"creationTime\": \"2021-06-15T21:27:04Z\"\r\n }\r\n ]\r\n }\r\n },\r\n {\r\n \"name\": \"7d405124-1129-468e-9ff9-d031059c96bc\",\r\n \"location\": \"East US 2\",\r\n \"type\": \"Microsoft.DocumentDB/locations/restorableDatabaseAccounts\",\r\n \"id\": \"/subscriptions/259fbb24-9bcd-4cfc-865c-fc33b22fe38a/providers/Microsoft.DocumentDB/locations/eastus2/restorableDatabaseAccounts/7d405124-1129-468e-9ff9-d031059c96bc\",\r\n \"properties\": {\r\n \"accountName\": \"sqltestaccount\",\r\n \"apiType\": \"Sql\",\r\n \"creationTime\": \"2021-06-16T05:58:55Z\",\r\n \"restorableLocations\": [\r\n {\r\n \"locationName\": \"East US 2\",\r\n \"regionalDatabaseAccountInstanceId\": \"d0a6a03f-c045-4275-a38a-b221f5749051\",\r\n \"creationTime\": \"2021-06-16T05:58:55Z\"\r\n }\r\n ]\r\n }\r\n },\r\n {\r\n \"name\": \"d5fe116b-8a63-474e-88a4-afb2a726198e\",\r\n \"location\": \"East US 2\",\r\n \"type\": \"Microsoft.DocumentDB/locations/restorableDatabaseAccounts\",\r\n \"id\": \"/subscriptions/259fbb24-9bcd-4cfc-865c-fc33b22fe38a/providers/Microsoft.DocumentDB/locations/eastus2/restorableDatabaseAccounts/d5fe116b-8a63-474e-88a4-afb2a726198e\",\r\n \"properties\": {\r\n \"accountName\": \"cli127\",\r\n \"apiType\": \"Sql\",\r\n \"creationTime\": \"2021-06-16T06:57:39Z\",\r\n \"restorableLocations\": [\r\n {\r\n \"locationName\": \"East US 2\",\r\n \"regionalDatabaseAccountInstanceId\": \"f9a67f44-e6f6-4270-91c6-d90a0292ac96\",\r\n \"creationTime\": \"2021-06-16T06:57:39Z\"\r\n }\r\n ]\r\n }\r\n },\r\n {\r\n \"name\": \"1dfe47fb-822c-41f1-b403-1cf6c63d0ba7\",\r\n \"location\": \"East US 2\",\r\n \"type\": \"Microsoft.DocumentDB/locations/restorableDatabaseAccounts\",\r\n \"id\": \"/subscriptions/259fbb24-9bcd-4cfc-865c-fc33b22fe38a/providers/Microsoft.DocumentDB/locations/eastus2/restorableDatabaseAccounts/1dfe47fb-822c-41f1-b403-1cf6c63d0ba7\",\r\n \"properties\": {\r\n \"accountName\": \"restoredaccountname3766\",\r\n \"apiType\": \"Sql\",\r\n \"creationTime\": \"2021-06-16T07:16:12Z\",\r\n \"restorableLocations\": [\r\n {\r\n \"locationName\": \"East US 2\",\r\n \"regionalDatabaseAccountInstanceId\": \"1a05d833-615e-45b0-b2ec-f87ca4d9829c\",\r\n \"creationTime\": \"2021-06-16T07:16:12Z\"\r\n }\r\n ]\r\n }\r\n },\r\n {\r\n \"name\": \"c483a757-4d93-4d60-ae22-04c9d2c89595\",\r\n \"location\": \"East US 2\",\r\n \"type\": \"Microsoft.DocumentDB/locations/restorableDatabaseAccounts\",\r\n \"id\": \"/subscriptions/259fbb24-9bcd-4cfc-865c-fc33b22fe38a/providers/Microsoft.DocumentDB/locations/eastus2/restorableDatabaseAccounts/c483a757-4d93-4d60-ae22-04c9d2c89595\",\r\n \"properties\": {\r\n \"accountName\": \"restored2-cosmosdb-1212-1\",\r\n \"apiType\": \"Sql\",\r\n \"creationTime\": \"2021-06-04T22:17:44Z\",\r\n \"deletionTime\": \"2021-06-05T05:04:42Z\",\r\n \"restorableLocations\": [\r\n {\r\n \"locationName\": \"East US 2\",\r\n \"regionalDatabaseAccountInstanceId\": \"eb5e33f1-8ecf-42b7-9f3f-18784854fc5e\",\r\n \"creationTime\": \"2021-06-04T22:17:44Z\",\r\n \"deletionTime\": \"2021-06-05T05:04:42Z\"\r\n }\r\n ]\r\n }\r\n },\r\n {\r\n \"name\": \"80458ce3-9b06-4d87-9405-1f47eb88164f\",\r\n \"location\": \"East US 2\",\r\n \"type\": \"Microsoft.DocumentDB/locations/restorableDatabaseAccounts\",\r\n \"id\": \"/subscriptions/259fbb24-9bcd-4cfc-865c-fc33b22fe38a/providers/Microsoft.DocumentDB/locations/eastus2/restorableDatabaseAccounts/80458ce3-9b06-4d87-9405-1f47eb88164f\",\r\n \"properties\": {\r\n \"accountName\": \"dbaccount27-1\",\r\n \"apiType\": \"Sql\",\r\n \"creationTime\": \"2021-06-07T21:24:07Z\",\r\n \"deletionTime\": \"2021-06-07T22:30:24Z\",\r\n \"restorableLocations\": [\r\n {\r\n \"locationName\": \"East US 2\",\r\n \"regionalDatabaseAccountInstanceId\": \"a47823ea-6bce-4436-91a1-1dd14a1aa3a7\",\r\n \"creationTime\": \"2021-06-07T21:24:08Z\",\r\n \"deletionTime\": \"2021-06-07T22:30:24Z\"\r\n }\r\n ]\r\n }\r\n },\r\n {\r\n \"name\": \"3b44efa3-a7e6-414e-99c2-22d63aa1d778\",\r\n \"location\": \"East US 2\",\r\n \"type\": \"Microsoft.DocumentDB/locations/restorableDatabaseAccounts\",\r\n \"id\": \"/subscriptions/259fbb24-9bcd-4cfc-865c-fc33b22fe38a/providers/Microsoft.DocumentDB/locations/eastus2/restorableDatabaseAccounts/3b44efa3-a7e6-414e-99c2-22d63aa1d778\",\r\n \"properties\": {\r\n \"accountName\": \"cli126\",\r\n \"apiType\": \"Sql\",\r\n \"creationTime\": \"2021-06-10T05:07:44Z\",\r\n \"deletionTime\": \"2021-06-15T21:00:15Z\",\r\n \"restorableLocations\": [\r\n {\r\n \"locationName\": \"East US 2\",\r\n \"regionalDatabaseAccountInstanceId\": \"fbc82bdc-1493-4cc4-bd69-2c33c650e3ed\",\r\n \"creationTime\": \"2021-06-10T05:07:45Z\",\r\n \"deletionTime\": \"2021-06-15T21:00:15Z\"\r\n }\r\n ]\r\n }\r\n },\r\n {\r\n \"name\": \"3bf55696-9845-4ab5-b57c-f955a2ffe3ca\",\r\n \"location\": \"East US 2\",\r\n \"type\": \"Microsoft.DocumentDB/locations/restorableDatabaseAccounts\",\r\n \"id\": \"/subscriptions/259fbb24-9bcd-4cfc-865c-fc33b22fe38a/providers/Microsoft.DocumentDB/locations/eastus2/restorableDatabaseAccounts/3bf55696-9845-4ab5-b57c-f955a2ffe3ca\",\r\n \"properties\": {\r\n \"accountName\": \"sqltestaccount\",\r\n \"apiType\": \"Sql\",\r\n \"creationTime\": \"2021-06-01T23:24:19Z\",\r\n \"deletionTime\": \"2021-06-16T04:58:21Z\",\r\n \"restorableLocations\": [\r\n {\r\n \"locationName\": \"East US 2\",\r\n \"regionalDatabaseAccountInstanceId\": \"1062fb86-a396-4689-9326-83193cf2274b\",\r\n \"creationTime\": \"2021-06-01T23:24:20Z\",\r\n \"deletionTime\": \"2021-06-16T04:58:21Z\"\r\n }\r\n ]\r\n }\r\n }\r\n ]\r\n}", "StatusCode": 200 }, { - "RequestUri": "/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/providers/Microsoft.DocumentDB/restorableDatabaseAccounts?api-version=2021-03-01-preview", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvODBiZTM5NjEtMDUyMS00YTBhLTg1NzAtNWNkNWE0ZTJmOThjL3Byb3ZpZGVycy9NaWNyb3NvZnQuRG9jdW1lbnREQi9yZXN0b3JhYmxlRGF0YWJhc2VBY2NvdW50cz9hcGktdmVyc2lvbj0yMDIxLTAzLTAxLXByZXZpZXc=", + "RequestUri": "/subscriptions/259fbb24-9bcd-4cfc-865c-fc33b22fe38a/providers/Microsoft.DocumentDB/locations/eastus2/restorableDatabaseAccounts?api-version=2021-06-15", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMjU5ZmJiMjQtOWJjZC00Y2ZjLTg2NWMtZmMzM2IyMmZlMzhhL3Byb3ZpZGVycy9NaWNyb3NvZnQuRG9jdW1lbnREQi9sb2NhdGlvbnMvZWFzdHVzMi9yZXN0b3JhYmxlRGF0YWJhc2VBY2NvdW50cz9hcGktdmVyc2lvbj0yMDIxLTA2LTE1", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { "x-ms-client-request-id": [ - "aa05e6c8-8049-42d2-8037-ebb45e97f6d4" + "3082aec0-65bb-4e24-93cb-459de542f44a" ], "Accept-Language": [ "en-US" ], "User-Agent": [ - "FxVersion/5.0.321.7212", + "FxVersion/4.6.28207.03", "OSName/Windows", - "OSVersion/Microsoft.Windows.10.0.19042", - "Microsoft.Azure.Management.CosmosDB.CosmosDBManagementClient/2.0.0.0" + "OSVersion/Microsoft.Windows.10.0.19043.", + "Microsoft.Azure.Management.CosmosDB.CosmosDBManagementClient/3.0.0.0" ] }, "ResponseHeaders": { "Cache-Control": [ - "no-cache" + "no-store, no-cache" ], "Pragma": [ "no-cache" ], - "x-ms-original-request-ids": [ - "", - "", - "" + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-gatewayversion": [ + "version=2.14.0" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "11990" + "11994" ], "x-ms-request-id": [ - "aafef585-5a3c-408f-af83-b7a490d9372e" + "237b207b-6d77-49ac-82f5-521076aeaf2e" ], "x-ms-correlation-request-id": [ - "aafef585-5a3c-408f-af83-b7a490d9372e" + "237b207b-6d77-49ac-82f5-521076aeaf2e" ], "x-ms-routing-request-id": [ - "WESTUS2:20210303T175113Z:aafef585-5a3c-408f-af83-b7a490d9372e" - ], - "Strict-Transport-Security": [ - "max-age=31536000; includeSubDomains" + "WESTUS2:20210616T071622Z:237b207b-6d77-49ac-82f5-521076aeaf2e" ], "X-Content-Type-Options": [ "nosniff" ], "Date": [ - "Wed, 03 Mar 2021 17:51:13 GMT" - ], - "Content-Type": [ - "application/json; charset=utf-8" - ], - "Expires": [ - "-1" + "Wed, 16 Jun 2021 07:16:22 GMT" ], "Content-Length": [ - "46781" + "13637" + ], + "Content-Type": [ + "application/json" ] }, - "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"name\": \"5dee0717-8f84-40d7-b7c1-921552ba61a5\",\r\n \"location\": \"West US 2\",\r\n \"type\": \"Microsoft.DocumentDB/locations/restorableDatabaseAccounts\",\r\n \"id\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/providers/Microsoft.DocumentDB/locations/westus2/restorableDatabaseAccounts/5dee0717-8f84-40d7-b7c1-921552ba61a5\",\r\n \"properties\": {\r\n \"accountName\": \"vinhstagepitr\",\r\n \"apiType\": \"Sql\",\r\n \"creationTime\": \"2020-11-02T23:44:14Z\",\r\n \"restorableLocations\": [\r\n {\r\n \"locationName\": \"West US 2\",\r\n \"regionalDatabaseAccountInstanceId\": \"30d6cace-8354-4e1f-b427-4f234f46df87\",\r\n \"creationTime\": \"2020-11-02T23:44:14Z\"\r\n }\r\n ]\r\n }\r\n },\r\n {\r\n \"name\": \"5cfa410f-ea0c-4995-aa59-9809a69c21f8\",\r\n \"location\": \"West US 2\",\r\n \"type\": \"Microsoft.DocumentDB/locations/restorableDatabaseAccounts\",\r\n \"id\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/providers/Microsoft.DocumentDB/locations/westus2/restorableDatabaseAccounts/5cfa410f-ea0c-4995-aa59-9809a69c21f8\",\r\n \"properties\": {\r\n \"accountName\": \"vinhstagemongopitr\",\r\n \"apiType\": \"MongoDB\",\r\n \"creationTime\": \"2020-11-25T17:07:33Z\",\r\n \"restorableLocations\": [\r\n {\r\n \"locationName\": \"West US 2\",\r\n \"regionalDatabaseAccountInstanceId\": \"4ecfc265-e4d3-4638-a225-1932760404ee\",\r\n \"creationTime\": \"2020-11-25T17:07:34Z\"\r\n }\r\n ]\r\n }\r\n },\r\n {\r\n \"name\": \"2b5e6412-19dc-4d79-88ae-178f5e30dd78\",\r\n \"location\": \"West US 2\",\r\n \"type\": \"Microsoft.DocumentDB/locations/restorableDatabaseAccounts\",\r\n \"id\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/providers/Microsoft.DocumentDB/locations/westus2/restorableDatabaseAccounts/2b5e6412-19dc-4d79-88ae-178f5e30dd78\",\r\n \"properties\": {\r\n \"accountName\": \"test-virangai-vinhstagemongopitr-del-res1\",\r\n \"apiType\": \"MongoDB\",\r\n \"creationTime\": \"2020-11-30T23:17:02Z\",\r\n \"restorableLocations\": [\r\n {\r\n \"locationName\": \"West US 2\",\r\n \"regionalDatabaseAccountInstanceId\": \"a35683c3-cf9b-4378-a290-fb3ab8e741f9\",\r\n \"creationTime\": \"2020-11-30T23:17:02Z\"\r\n }\r\n ]\r\n }\r\n },\r\n {\r\n \"name\": \"9a4b63c3-49d1-4c87-b28e-92e92aeaa0ea\",\r\n \"location\": \"West US 2\",\r\n \"type\": \"Microsoft.DocumentDB/locations/restorableDatabaseAccounts\",\r\n \"id\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/providers/Microsoft.DocumentDB/locations/westus2/restorableDatabaseAccounts/9a4b63c3-49d1-4c87-b28e-92e92aeaa0ea\",\r\n \"properties\": {\r\n \"accountName\": \"pitr-sql-stage-source\",\r\n \"apiType\": \"Sql\",\r\n \"creationTime\": \"2020-12-08T18:18:47Z\",\r\n \"restorableLocations\": [\r\n {\r\n \"locationName\": \"West US 2\",\r\n \"regionalDatabaseAccountInstanceId\": \"f61a9ed3-fcda-4603-b1e2-2baadbb6122b\",\r\n \"creationTime\": \"2020-12-08T18:18:47Z\"\r\n },\r\n {\r\n \"locationName\": \"East US 2\",\r\n \"regionalDatabaseAccountInstanceId\": \"cdd116b8-a956-43d5-b461-248f837099f4\",\r\n \"creationTime\": \"2020-12-14T21:35:14Z\"\r\n }\r\n ]\r\n }\r\n },\r\n {\r\n \"name\": \"7d98d6c0-eadf-4d7e-a166-696de37c91fc\",\r\n \"location\": \"West US 2\",\r\n \"type\": \"Microsoft.DocumentDB/locations/restorableDatabaseAccounts\",\r\n \"id\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/providers/Microsoft.DocumentDB/locations/westus2/restorableDatabaseAccounts/7d98d6c0-eadf-4d7e-a166-696de37c91fc\",\r\n \"properties\": {\r\n \"accountName\": \"restore-test1\",\r\n \"apiType\": \"Sql\",\r\n \"creationTime\": \"2020-12-08T21:44:47Z\",\r\n \"restorableLocations\": [\r\n {\r\n \"locationName\": \"West US 2\",\r\n \"regionalDatabaseAccountInstanceId\": \"208a7933-2e44-4df1-9c96-97e28ae92d8f\",\r\n \"creationTime\": \"2020-12-08T21:44:47Z\"\r\n }\r\n ]\r\n }\r\n },\r\n {\r\n \"name\": \"08155af7-e63f-4db1-82ed-c99b8a08e541\",\r\n \"location\": \"West US 2\",\r\n \"type\": \"Microsoft.DocumentDB/locations/restorableDatabaseAccounts\",\r\n \"id\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/providers/Microsoft.DocumentDB/locations/westus2/restorableDatabaseAccounts/08155af7-e63f-4db1-82ed-c99b8a08e541\",\r\n \"properties\": {\r\n \"accountName\": \"test-virangai-vinhstagemongopitr-1\",\r\n \"apiType\": \"MongoDB\",\r\n \"creationTime\": \"2020-12-09T10:37:08Z\",\r\n \"restorableLocations\": [\r\n {\r\n \"locationName\": \"West US 2\",\r\n \"regionalDatabaseAccountInstanceId\": \"8c045a40-c3b5-4025-a270-156b748fd08b\",\r\n \"creationTime\": \"2020-12-09T10:37:08Z\"\r\n }\r\n ]\r\n }\r\n },\r\n {\r\n \"name\": \"d0cb2ece-f253-4f20-86d0-01897e729eba\",\r\n \"location\": \"West US 2\",\r\n \"type\": \"Microsoft.DocumentDB/locations/restorableDatabaseAccounts\",\r\n \"id\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/providers/Microsoft.DocumentDB/locations/westus2/restorableDatabaseAccounts/d0cb2ece-f253-4f20-86d0-01897e729eba\",\r\n \"properties\": {\r\n \"accountName\": \"virangai-test-vinhstagepitr-restore1\",\r\n \"apiType\": \"Sql\",\r\n \"creationTime\": \"2020-12-10T02:08:18Z\",\r\n \"restorableLocations\": [\r\n {\r\n \"locationName\": \"West US 2\",\r\n \"regionalDatabaseAccountInstanceId\": \"d4a86ba4-38f5-46ba-b0ae-724d5508b551\",\r\n \"creationTime\": \"2020-12-10T02:08:18Z\"\r\n }\r\n ]\r\n }\r\n },\r\n {\r\n \"name\": \"9373a8d7-1889-4be9-9ddb-e589e406d04b\",\r\n \"location\": \"West US 2\",\r\n \"type\": \"Microsoft.DocumentDB/locations/restorableDatabaseAccounts\",\r\n \"id\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/providers/Microsoft.DocumentDB/locations/westus2/restorableDatabaseAccounts/9373a8d7-1889-4be9-9ddb-e589e406d04b\",\r\n \"properties\": {\r\n \"accountName\": \"virangai-test-vinhstagepitr-restore2\",\r\n \"apiType\": \"Sql\",\r\n \"creationTime\": \"2020-12-10T03:12:31Z\",\r\n \"restorableLocations\": [\r\n {\r\n \"locationName\": \"West US 2\",\r\n \"regionalDatabaseAccountInstanceId\": \"c2374cdf-00cc-42e3-887e-4824532ff3e7\",\r\n \"creationTime\": \"2020-12-10T03:12:31Z\"\r\n }\r\n ]\r\n }\r\n },\r\n {\r\n \"name\": \"530b269d-274b-4987-94e1-f54b09abecff\",\r\n \"location\": \"West US 2\",\r\n \"type\": \"Microsoft.DocumentDB/locations/restorableDatabaseAccounts\",\r\n \"id\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/providers/Microsoft.DocumentDB/locations/westus2/restorableDatabaseAccounts/530b269d-274b-4987-94e1-f54b09abecff\",\r\n \"properties\": {\r\n \"accountName\": \"restoredaccountname637435832535194992\",\r\n \"apiType\": \"Sql\",\r\n \"creationTime\": \"2020-12-15T23:04:01Z\",\r\n \"restorableLocations\": [\r\n {\r\n \"locationName\": \"West US 2\",\r\n \"regionalDatabaseAccountInstanceId\": \"257c2c07-efcb-47b2-b696-6ba5ca9785b0\",\r\n \"creationTime\": \"2020-12-15T23:04:01Z\"\r\n }\r\n ]\r\n }\r\n },\r\n {\r\n \"name\": \"4993c7e8-c48b-4e45-9353-9baea1ce9e2a\",\r\n \"location\": \"West US 2\",\r\n \"type\": \"Microsoft.DocumentDB/locations/restorableDatabaseAccounts\",\r\n \"id\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/providers/Microsoft.DocumentDB/locations/westus2/restorableDatabaseAccounts/4993c7e8-c48b-4e45-9353-9baea1ce9e2a\",\r\n \"properties\": {\r\n \"accountName\": \"restoredaccountname359\",\r\n \"apiType\": \"Sql\",\r\n \"creationTime\": \"2020-12-16T00:51:06Z\",\r\n \"restorableLocations\": [\r\n {\r\n \"locationName\": \"West US 2\",\r\n \"regionalDatabaseAccountInstanceId\": \"f964f331-3322-4719-946a-a8f4e406ca14\",\r\n \"creationTime\": \"2020-12-16T00:51:06Z\"\r\n }\r\n ]\r\n }\r\n },\r\n {\r\n \"name\": \"d673eaa8-f7fa-421f-9d61-ba314864a431\",\r\n \"location\": \"West US 2\",\r\n \"type\": \"Microsoft.DocumentDB/locations/restorableDatabaseAccounts\",\r\n \"id\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/providers/Microsoft.DocumentDB/locations/westus2/restorableDatabaseAccounts/d673eaa8-f7fa-421f-9d61-ba314864a431\",\r\n \"properties\": {\r\n \"accountName\": \"pitr-sql-stage-restored-from-new-portal\",\r\n \"apiType\": \"Sql\",\r\n \"creationTime\": \"2021-01-05T00:28:34Z\",\r\n \"restorableLocations\": [\r\n {\r\n \"locationName\": \"West US 2\",\r\n \"regionalDatabaseAccountInstanceId\": \"a09d2f05-b90f-4a76-96c5-ef49edadbbae\",\r\n \"creationTime\": \"2021-01-05T00:28:34Z\"\r\n }\r\n ]\r\n }\r\n },\r\n {\r\n \"name\": \"6d6384ae-d623-4323-8388-65ca7df02733\",\r\n \"location\": \"West US 2\",\r\n \"type\": \"Microsoft.DocumentDB/locations/restorableDatabaseAccounts\",\r\n \"id\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/providers/Microsoft.DocumentDB/locations/westus2/restorableDatabaseAccounts/6d6384ae-d623-4323-8388-65ca7df02733\",\r\n \"properties\": {\r\n \"accountName\": \"pitrtest1-res1\",\r\n \"apiType\": \"Sql\",\r\n \"creationTime\": \"2021-01-05T23:45:55Z\",\r\n \"restorableLocations\": [\r\n {\r\n \"locationName\": \"West US 2\",\r\n \"regionalDatabaseAccountInstanceId\": \"2b92bb0a-1fa9-43c2-b8a7-b25d209d25c1\",\r\n \"creationTime\": \"2021-01-05T23:45:55Z\"\r\n }\r\n ]\r\n }\r\n },\r\n {\r\n \"name\": \"0bcf9a9b-1ca1-4406-9652-aa087d5f0b3f\",\r\n \"location\": \"West US 2\",\r\n \"type\": \"Microsoft.DocumentDB/locations/restorableDatabaseAccounts\",\r\n \"id\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/providers/Microsoft.DocumentDB/locations/westus2/restorableDatabaseAccounts/0bcf9a9b-1ca1-4406-9652-aa087d5f0b3f\",\r\n \"properties\": {\r\n \"accountName\": \"pitrtest1-res2\",\r\n \"apiType\": \"Sql\",\r\n \"creationTime\": \"2021-01-05T23:46:37Z\",\r\n \"restorableLocations\": [\r\n {\r\n \"locationName\": \"West US 2\",\r\n \"regionalDatabaseAccountInstanceId\": \"d666fcfb-319c-4c5d-a2b8-27ae6cc9233f\",\r\n \"creationTime\": \"2021-01-05T23:46:37Z\"\r\n }\r\n ]\r\n }\r\n },\r\n {\r\n \"name\": \"b15e30f1-4e37-4fca-b77b-303516959017\",\r\n \"location\": \"West US 2\",\r\n \"type\": \"Microsoft.DocumentDB/locations/restorableDatabaseAccounts\",\r\n \"id\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/providers/Microsoft.DocumentDB/locations/westus2/restorableDatabaseAccounts/b15e30f1-4e37-4fca-b77b-303516959017\",\r\n \"properties\": {\r\n \"accountName\": \"test-virangai-vinhstagepitr-1\",\r\n \"apiType\": \"Sql\",\r\n \"creationTime\": \"2021-01-06T09:24:07Z\",\r\n \"restorableLocations\": [\r\n {\r\n \"locationName\": \"West US 2\",\r\n \"regionalDatabaseAccountInstanceId\": \"8203b929-83ed-496a-8e6b-8a291aba9a32\",\r\n \"creationTime\": \"2021-01-06T09:24:07Z\"\r\n }\r\n ]\r\n }\r\n },\r\n {\r\n \"name\": \"617f5c88-2a93-45b4-be38-0cd7addea976\",\r\n \"location\": \"West US 2\",\r\n \"type\": \"Microsoft.DocumentDB/locations/restorableDatabaseAccounts\",\r\n \"id\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/providers/Microsoft.DocumentDB/locations/westus2/restorableDatabaseAccounts/617f5c88-2a93-45b4-be38-0cd7addea976\",\r\n \"properties\": {\r\n \"accountName\": \"test-virangai-vinhstagepitr-2\",\r\n \"apiType\": \"Sql\",\r\n \"creationTime\": \"2021-01-06T09:33:06Z\",\r\n \"restorableLocations\": [\r\n {\r\n \"locationName\": \"West US 2\",\r\n \"regionalDatabaseAccountInstanceId\": \"e54058dc-c9ec-4393-9b62-3c4a764d9dda\",\r\n \"creationTime\": \"2021-01-06T09:33:06Z\"\r\n }\r\n ]\r\n }\r\n },\r\n {\r\n \"name\": \"2eecc23f-69df-4de3-9103-b6ca529536a4\",\r\n \"location\": \"West US 2\",\r\n \"type\": \"Microsoft.DocumentDB/locations/restorableDatabaseAccounts\",\r\n \"id\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/providers/Microsoft.DocumentDB/locations/westus2/restorableDatabaseAccounts/2eecc23f-69df-4de3-9103-b6ca529536a4\",\r\n \"properties\": {\r\n \"accountName\": \"test-restore-4\",\r\n \"apiType\": \"Sql\",\r\n \"creationTime\": \"2021-01-07T01:23:39Z\",\r\n \"restorableLocations\": [\r\n {\r\n \"locationName\": \"West US 2\",\r\n \"regionalDatabaseAccountInstanceId\": \"80c0209c-f89b-41b6-8cc2-5edad302caaf\",\r\n \"creationTime\": \"2021-01-07T01:23:39Z\"\r\n }\r\n ]\r\n }\r\n },\r\n {\r\n \"name\": \"d91e1ad2-22b0-401e-b465-a16e5928e194\",\r\n \"location\": \"West US 2\",\r\n \"type\": \"Microsoft.DocumentDB/locations/restorableDatabaseAccounts\",\r\n \"id\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/providers/Microsoft.DocumentDB/locations/westus2/restorableDatabaseAccounts/d91e1ad2-22b0-401e-b465-a16e5928e194\",\r\n \"properties\": {\r\n \"accountName\": \"test-restore5\",\r\n \"apiType\": \"Sql\",\r\n \"creationTime\": \"2021-01-07T01:23:40Z\",\r\n \"restorableLocations\": [\r\n {\r\n \"locationName\": \"West US 2\",\r\n \"regionalDatabaseAccountInstanceId\": \"793334c5-2123-41a5-a382-7b5aade5bb82\",\r\n \"creationTime\": \"2021-01-07T01:23:40Z\"\r\n }\r\n ]\r\n }\r\n },\r\n {\r\n \"name\": \"132908b6-2701-44a5-bdbe-a7c296e26283\",\r\n \"location\": \"West US 2\",\r\n \"type\": \"Microsoft.DocumentDB/locations/restorableDatabaseAccounts\",\r\n \"id\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/providers/Microsoft.DocumentDB/locations/westus2/restorableDatabaseAccounts/132908b6-2701-44a5-bdbe-a7c296e26283\",\r\n \"properties\": {\r\n \"accountName\": \"test-restore6\",\r\n \"apiType\": \"Sql\",\r\n \"creationTime\": \"2021-01-07T03:18:46Z\",\r\n \"restorableLocations\": [\r\n {\r\n \"locationName\": \"West US 2\",\r\n \"regionalDatabaseAccountInstanceId\": \"a8bcc661-cdd0-4fb6-b011-ce4fb922930d\",\r\n \"creationTime\": \"2021-01-07T03:18:46Z\"\r\n }\r\n ]\r\n }\r\n },\r\n {\r\n \"name\": \"2ab6f2d2-ce7e-439b-90b3-5505c8f9ff76\",\r\n \"location\": \"West US 2\",\r\n \"type\": \"Microsoft.DocumentDB/locations/restorableDatabaseAccounts\",\r\n \"id\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/providers/Microsoft.DocumentDB/locations/westus2/restorableDatabaseAccounts/2ab6f2d2-ce7e-439b-90b3-5505c8f9ff76\",\r\n \"properties\": {\r\n \"accountName\": \"pitr-sql-stage-source-personalrestore-greeen\",\r\n \"apiType\": \"Sql\",\r\n \"creationTime\": \"2021-01-15T22:51:59Z\",\r\n \"restorableLocations\": [\r\n {\r\n \"locationName\": \"West US 2\",\r\n \"regionalDatabaseAccountInstanceId\": \"8b3376be-21d5-43db-ad08-7fa9e3f3ad5b\",\r\n \"creationTime\": \"2021-01-15T22:51:59Z\"\r\n }\r\n ]\r\n }\r\n },\r\n {\r\n \"name\": \"483d93e5-302b-4093-9502-ce63d416e70f\",\r\n \"location\": \"West US 2\",\r\n \"type\": \"Microsoft.DocumentDB/locations/restorableDatabaseAccounts\",\r\n \"id\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/providers/Microsoft.DocumentDB/locations/westus2/restorableDatabaseAccounts/483d93e5-302b-4093-9502-ce63d416e70f\",\r\n \"properties\": {\r\n \"accountName\": \"targetacctrestore\",\r\n \"apiType\": \"Sql\",\r\n \"creationTime\": \"2021-02-18T18:30:14Z\",\r\n \"restorableLocations\": [\r\n {\r\n \"locationName\": \"West US 2\",\r\n \"regionalDatabaseAccountInstanceId\": \"cb6a3895-5ded-43ee-a6a8-91d9050f5582\",\r\n \"creationTime\": \"2021-02-18T18:30:14Z\"\r\n }\r\n ]\r\n }\r\n },\r\n {\r\n \"name\": \"74e9ac09-75d3-448a-a128-e71866b42e95\",\r\n \"location\": \"West US 2\",\r\n \"type\": \"Microsoft.DocumentDB/locations/restorableDatabaseAccounts\",\r\n \"id\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/providers/Microsoft.DocumentDB/locations/westus2/restorableDatabaseAccounts/74e9ac09-75d3-448a-a128-e71866b42e95\",\r\n \"properties\": {\r\n \"accountName\": \"virangai-test-vinhstagepitr-res\",\r\n \"apiType\": \"Sql\",\r\n \"creationTime\": \"2021-02-26T22:14:50Z\",\r\n \"restorableLocations\": [\r\n {\r\n \"locationName\": \"West US 2\",\r\n \"regionalDatabaseAccountInstanceId\": \"40e6110d-0ae4-4e40-9d6e-33014540e179\",\r\n \"creationTime\": \"2021-02-26T22:14:50Z\"\r\n }\r\n ]\r\n }\r\n },\r\n {\r\n \"name\": \"24f3f6b6-9d96-4dc2-84b9-ae1c0cba8d4e\",\r\n \"location\": \"West US 2\",\r\n \"type\": \"Microsoft.DocumentDB/locations/restorableDatabaseAccounts\",\r\n \"id\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/providers/Microsoft.DocumentDB/locations/westus2/restorableDatabaseAccounts/24f3f6b6-9d96-4dc2-84b9-ae1c0cba8d4e\",\r\n \"properties\": {\r\n \"accountName\": \"restoredaccountname8240\",\r\n \"apiType\": \"Sql\",\r\n \"creationTime\": \"2021-03-02T23:44:13Z\",\r\n \"restorableLocations\": [\r\n {\r\n \"locationName\": \"West US 2\",\r\n \"regionalDatabaseAccountInstanceId\": \"c2df5fa4-a593-48f2-8417-9f5f4bb9ef56\",\r\n \"creationTime\": \"2021-03-02T23:44:13Z\"\r\n }\r\n ]\r\n }\r\n },\r\n {\r\n \"name\": \"f319c2f4-7e68-48c0-9eac-94e12fb51179\",\r\n \"location\": \"West US 2\",\r\n \"type\": \"Microsoft.DocumentDB/locations/restorableDatabaseAccounts\",\r\n \"id\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/providers/Microsoft.DocumentDB/locations/westus2/restorableDatabaseAccounts/f319c2f4-7e68-48c0-9eac-94e12fb51179\",\r\n \"properties\": {\r\n \"accountName\": \"restoredaccountname320\",\r\n \"apiType\": \"Sql\",\r\n \"creationTime\": \"2021-03-03T00:59:34Z\",\r\n \"restorableLocations\": [\r\n {\r\n \"locationName\": \"West US 2\",\r\n \"regionalDatabaseAccountInstanceId\": \"005c7a8b-fffd-4106-a2f5-0b4f58b1942a\",\r\n \"creationTime\": \"2021-03-03T00:59:34Z\"\r\n }\r\n ]\r\n }\r\n },\r\n {\r\n \"name\": \"672e89ce-0096-4a87-8131-3d2d5d483a3a\",\r\n \"location\": \"West US 2\",\r\n \"type\": \"Microsoft.DocumentDB/locations/restorableDatabaseAccounts\",\r\n \"id\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/providers/Microsoft.DocumentDB/locations/westus2/restorableDatabaseAccounts/672e89ce-0096-4a87-8131-3d2d5d483a3a\",\r\n \"properties\": {\r\n \"accountName\": \"restoredaccountname6982\",\r\n \"apiType\": \"Sql\",\r\n \"creationTime\": \"2021-03-03T02:34:06Z\",\r\n \"restorableLocations\": [\r\n {\r\n \"locationName\": \"West US 2\",\r\n \"regionalDatabaseAccountInstanceId\": \"f30afdfa-9473-4658-83c4-5067be2232db\",\r\n \"creationTime\": \"2021-03-03T02:34:06Z\"\r\n }\r\n ]\r\n }\r\n },\r\n {\r\n \"name\": \"1a937e8e-1a33-4fd1-9349-34ede3dd02f2\",\r\n \"location\": \"West US 2\",\r\n \"type\": \"Microsoft.DocumentDB/locations/restorableDatabaseAccounts\",\r\n \"id\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/providers/Microsoft.DocumentDB/locations/westus2/restorableDatabaseAccounts/1a937e8e-1a33-4fd1-9349-34ede3dd02f2\",\r\n \"properties\": {\r\n \"accountName\": \"restoredaccountname8295\",\r\n \"apiType\": \"Sql\",\r\n \"creationTime\": \"2021-03-03T17:48:45Z\",\r\n \"restorableLocations\": [\r\n {\r\n \"locationName\": \"West US 2\",\r\n \"regionalDatabaseAccountInstanceId\": \"0057f632-aaa2-44a6-92bf-c2e623403f52\",\r\n \"creationTime\": \"2021-03-03T17:48:45Z\"\r\n }\r\n ]\r\n }\r\n },\r\n {\r\n \"name\": \"4d0ae23d-5661-4c5a-ae37-48aa6308425b\",\r\n \"location\": \"West US 2\",\r\n \"type\": \"Microsoft.DocumentDB/locations/restorableDatabaseAccounts\",\r\n \"id\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/providers/Microsoft.DocumentDB/locations/westus2/restorableDatabaseAccounts/4d0ae23d-5661-4c5a-ae37-48aa6308425b\",\r\n \"properties\": {\r\n \"accountName\": \"stage-validation-pitr-test0\",\r\n \"apiType\": \"Sql\",\r\n \"creationTime\": \"2021-02-10T07:55:12Z\",\r\n \"deletionTime\": \"2021-02-10T14:21:37Z\",\r\n \"restorableLocations\": [\r\n {\r\n \"locationName\": \"West US 2\",\r\n \"regionalDatabaseAccountInstanceId\": \"26d7f01f-3f0c-4eb6-80a2-f5776f929f12\",\r\n \"creationTime\": \"2021-02-10T07:55:13Z\",\r\n \"deletionTime\": \"2021-02-10T14:21:37Z\"\r\n }\r\n ]\r\n }\r\n },\r\n {\r\n \"name\": \"c26d3f43-7363-4c54-940a-bde0e96bda72\",\r\n \"location\": \"East US 2\",\r\n \"type\": \"Microsoft.DocumentDB/locations/restorableDatabaseAccounts\",\r\n \"id\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/providers/Microsoft.DocumentDB/locations/eastus2/restorableDatabaseAccounts/c26d3f43-7363-4c54-940a-bde0e96bda72\",\r\n \"properties\": {\r\n \"accountName\": \"db1024-restored\",\r\n \"apiType\": \"Sql\",\r\n \"creationTime\": \"2020-08-14T01:17:36Z\",\r\n \"restorableLocations\": [\r\n {\r\n \"locationName\": \"East US 2\",\r\n \"regionalDatabaseAccountInstanceId\": \"eca195d4-fcaa-4d5f-b01b-20f61f01319f\",\r\n \"creationTime\": \"2020-08-14T01:17:36Z\"\r\n }\r\n ]\r\n }\r\n },\r\n {\r\n \"name\": \"d8974ca8-8f69-4924-9040-c10b7f30524b\",\r\n \"location\": \"East US 2\",\r\n \"type\": \"Microsoft.DocumentDB/locations/restorableDatabaseAccounts\",\r\n \"id\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/providers/Microsoft.DocumentDB/locations/eastus2/restorableDatabaseAccounts/d8974ca8-8f69-4924-9040-c10b7f30524b\",\r\n \"properties\": {\r\n \"accountName\": \"restoredaccountname9746\",\r\n \"apiType\": \"Sql\",\r\n \"creationTime\": \"2020-07-21T18:55:14Z\",\r\n \"restorableLocations\": [\r\n {\r\n \"locationName\": \"East US 2\",\r\n \"regionalDatabaseAccountInstanceId\": \"775c4324-cba7-4eb3-a8ee-5e1921f7f57b\",\r\n \"creationTime\": \"2020-07-21T18:55:14Z\"\r\n }\r\n ]\r\n }\r\n },\r\n {\r\n \"name\": \"aca7d453-88a9-4bf2-8abc-46d21553638f\",\r\n \"location\": \"East US 2\",\r\n \"type\": \"Microsoft.DocumentDB/locations/restorableDatabaseAccounts\",\r\n \"id\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/providers/Microsoft.DocumentDB/locations/eastus2/restorableDatabaseAccounts/aca7d453-88a9-4bf2-8abc-46d21553638f\",\r\n \"properties\": {\r\n \"accountName\": \"db1024\",\r\n \"apiType\": \"Sql\",\r\n \"creationTime\": \"2020-07-21T18:19:37Z\",\r\n \"restorableLocations\": [\r\n {\r\n \"locationName\": \"East US 2\",\r\n \"regionalDatabaseAccountInstanceId\": \"a926c9e8-3179-4774-bc1e-fb866407b7db\",\r\n \"creationTime\": \"2020-07-21T18:19:38Z\"\r\n }\r\n ]\r\n }\r\n },\r\n {\r\n \"name\": \"a54115d5-4356-4771-b7b0-20f475ce5a38\",\r\n \"location\": \"East US 2\",\r\n \"type\": \"Microsoft.DocumentDB/locations/restorableDatabaseAccounts\",\r\n \"id\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/providers/Microsoft.DocumentDB/locations/eastus2/restorableDatabaseAccounts/a54115d5-4356-4771-b7b0-20f475ce5a38\",\r\n \"properties\": {\r\n \"accountName\": \"stage-pitr-validation-source\",\r\n \"apiType\": \"Sql\",\r\n \"creationTime\": \"2020-08-13T23:51:16Z\",\r\n \"restorableLocations\": [\r\n {\r\n \"locationName\": \"East US 2\",\r\n \"regionalDatabaseAccountInstanceId\": \"d9b09727-2a45-4760-a837-3366c1187358\",\r\n \"creationTime\": \"2020-08-13T23:51:17Z\"\r\n },\r\n {\r\n \"locationName\": \"West US 2\",\r\n \"regionalDatabaseAccountInstanceId\": \"72ee099a-9209-4fe4-aeb2-8f4954f25eba\",\r\n \"creationTime\": \"2020-08-28T18:50:30Z\"\r\n },\r\n {\r\n \"locationName\": \"Southeast Asia\",\r\n \"regionalDatabaseAccountInstanceId\": \"e5abbaa4-031a-451a-b041-76c6bcd93fa9\",\r\n \"creationTime\": \"2021-02-08T19:29:22Z\"\r\n }\r\n ]\r\n }\r\n },\r\n {\r\n \"name\": \"bb3e3c48-18d8-46e8-b294-41d9406885c5\",\r\n \"location\": \"East US 2\",\r\n \"type\": \"Microsoft.DocumentDB/locations/restorableDatabaseAccounts\",\r\n \"id\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/providers/Microsoft.DocumentDB/locations/eastus2/restorableDatabaseAccounts/bb3e3c48-18d8-46e8-b294-41d9406885c5\",\r\n \"properties\": {\r\n \"accountName\": \"test-virangai-cont123\",\r\n \"apiType\": \"Sql\",\r\n \"creationTime\": \"2020-08-05T20:32:27Z\",\r\n \"restorableLocations\": [\r\n {\r\n \"locationName\": \"East US 2\",\r\n \"regionalDatabaseAccountInstanceId\": \"2355946d-5d79-4cc4-a521-3a302a9bff85\",\r\n \"creationTime\": \"2020-08-05T20:32:27Z\"\r\n }\r\n ]\r\n }\r\n },\r\n {\r\n \"name\": \"55083b96-b985-4dec-92df-fa0ac98443f1\",\r\n \"location\": \"East US 2\",\r\n \"type\": \"Microsoft.DocumentDB/locations/restorableDatabaseAccounts\",\r\n \"id\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/providers/Microsoft.DocumentDB/locations/eastus2/restorableDatabaseAccounts/55083b96-b985-4dec-92df-fa0ac98443f1\",\r\n \"properties\": {\r\n \"accountName\": \"selvitest-account\",\r\n \"apiType\": \"Sql\",\r\n \"creationTime\": \"2020-07-23T16:18:43Z\",\r\n \"restorableLocations\": [\r\n {\r\n \"locationName\": \"East US 2\",\r\n \"regionalDatabaseAccountInstanceId\": \"787a81fe-fb41-40da-8b69-a9e18966b4e3\",\r\n \"creationTime\": \"2020-07-23T16:18:43Z\"\r\n }\r\n ]\r\n }\r\n },\r\n {\r\n \"name\": \"ec72f021-4974-405a-8c78-f74207ff0e12\",\r\n \"location\": \"East US 2\",\r\n \"type\": \"Microsoft.DocumentDB/locations/restorableDatabaseAccounts\",\r\n \"id\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/providers/Microsoft.DocumentDB/locations/eastus2/restorableDatabaseAccounts/ec72f021-4974-405a-8c78-f74207ff0e12\",\r\n \"properties\": {\r\n \"accountName\": \"selvitest-account-destinationforrestore\",\r\n \"apiType\": \"Sql\",\r\n \"creationTime\": \"2020-07-23T17:39:58Z\",\r\n \"restorableLocations\": [\r\n {\r\n \"locationName\": \"East US 2\",\r\n \"regionalDatabaseAccountInstanceId\": \"11f925e4-b48d-4d16-9ad2-209d1056ec9c\",\r\n \"creationTime\": \"2020-07-23T17:39:58Z\"\r\n }\r\n ]\r\n }\r\n },\r\n {\r\n \"name\": \"17783e6d-0e28-41e2-b086-9d17763f1d51\",\r\n \"location\": \"East US 2\",\r\n \"type\": \"Microsoft.DocumentDB/locations/restorableDatabaseAccounts\",\r\n \"id\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/providers/Microsoft.DocumentDB/locations/eastus2/restorableDatabaseAccounts/17783e6d-0e28-41e2-b086-9d17763f1d51\",\r\n \"properties\": {\r\n \"accountName\": \"virangai-test-bk-cont\",\r\n \"apiType\": \"Sql\",\r\n \"creationTime\": \"2020-07-28T22:09:24Z\",\r\n \"restorableLocations\": [\r\n {\r\n \"locationName\": \"East US 2\",\r\n \"regionalDatabaseAccountInstanceId\": \"f74e094e-9b1d-4e16-82b6-a57782f1d187\",\r\n \"creationTime\": \"2020-07-28T22:09:24Z\"\r\n }\r\n ]\r\n }\r\n },\r\n {\r\n \"name\": \"2d90bc37-cd54-4352-9e57-e6aa3f22d494\",\r\n \"location\": \"East US 2\",\r\n \"type\": \"Microsoft.DocumentDB/locations/restorableDatabaseAccounts\",\r\n \"id\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/providers/Microsoft.DocumentDB/locations/eastus2/restorableDatabaseAccounts/2d90bc37-cd54-4352-9e57-e6aa3f22d494\",\r\n \"properties\": {\r\n \"accountName\": \"selvitest-account-destinationforrestorev2\",\r\n \"apiType\": \"Sql\",\r\n \"creationTime\": \"2020-07-23T17:41:22Z\",\r\n \"restorableLocations\": [\r\n {\r\n \"locationName\": \"East US 2\",\r\n \"regionalDatabaseAccountInstanceId\": \"e1dfecef-45cb-4c70-bbd5-393eb3774821\",\r\n \"creationTime\": \"2020-07-23T17:41:22Z\"\r\n }\r\n ]\r\n }\r\n },\r\n {\r\n \"name\": \"b0c8684b-7f9c-45fe-8ab9-2a74b656867e\",\r\n \"location\": \"East US 2\",\r\n \"type\": \"Microsoft.DocumentDB/locations/restorableDatabaseAccounts\",\r\n \"id\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/providers/Microsoft.DocumentDB/locations/eastus2/restorableDatabaseAccounts/b0c8684b-7f9c-45fe-8ab9-2a74b656867e\",\r\n \"properties\": {\r\n \"accountName\": \"restoredaccountname637428812785768088\",\r\n \"apiType\": \"Sql\",\r\n \"creationTime\": \"2020-12-07T20:03:41Z\",\r\n \"restorableLocations\": [\r\n {\r\n \"locationName\": \"East US 2\",\r\n \"regionalDatabaseAccountInstanceId\": \"59294929-189f-4f8b-af35-740fc0fba9f0\",\r\n \"creationTime\": \"2020-12-07T20:03:41Z\"\r\n }\r\n ]\r\n }\r\n },\r\n {\r\n \"name\": \"eadac7e2-61f0-4e07-aaa1-9dbb495ec5a8\",\r\n \"location\": \"East US 2\",\r\n \"type\": \"Microsoft.DocumentDB/locations/restorableDatabaseAccounts\",\r\n \"id\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/providers/Microsoft.DocumentDB/locations/eastus2/restorableDatabaseAccounts/eadac7e2-61f0-4e07-aaa1-9dbb495ec5a8\",\r\n \"properties\": {\r\n \"accountName\": \"pitr-mongo32-stage-source\",\r\n \"apiType\": \"MongoDB\",\r\n \"creationTime\": \"2020-12-07T21:23:56Z\",\r\n \"restorableLocations\": [\r\n {\r\n \"locationName\": \"East US 2\",\r\n \"regionalDatabaseAccountInstanceId\": \"49174788-8512-4a01-a3ca-38c7857a2635\",\r\n \"creationTime\": \"2020-12-07T21:23:56Z\"\r\n },\r\n {\r\n \"locationName\": \"West US 2\",\r\n \"regionalDatabaseAccountInstanceId\": \"921dbaed-a5bd-462d-8351-d0eda5e592c0\",\r\n \"creationTime\": \"2020-12-08T23:28:45Z\"\r\n }\r\n ]\r\n }\r\n },\r\n {\r\n \"name\": \"25a04cf0-89d4-4546-9c30-14d1dc8899df\",\r\n \"location\": \"East US 2\",\r\n \"type\": \"Microsoft.DocumentDB/locations/restorableDatabaseAccounts\",\r\n \"id\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/providers/Microsoft.DocumentDB/locations/eastus2/restorableDatabaseAccounts/25a04cf0-89d4-4546-9c30-14d1dc8899df\",\r\n \"properties\": {\r\n \"accountName\": \"pitr-mongo36-stage-source\",\r\n \"apiType\": \"MongoDB\",\r\n \"creationTime\": \"2020-12-07T21:35:24Z\",\r\n \"restorableLocations\": [\r\n {\r\n \"locationName\": \"East US 2\",\r\n \"regionalDatabaseAccountInstanceId\": \"b52d5178-bc7b-4b2b-a05e-9d3dba85e7fd\",\r\n \"creationTime\": \"2020-12-07T21:35:24Z\"\r\n },\r\n {\r\n \"locationName\": \"West US 2\",\r\n \"regionalDatabaseAccountInstanceId\": \"b0f33c79-f7b2-421f-9e94-699b0f8c840a\",\r\n \"creationTime\": \"2020-12-08T22:02:23Z\"\r\n }\r\n ]\r\n }\r\n },\r\n {\r\n \"name\": \"345c785a-e758-4f8b-94d4-0a1259f4f85b\",\r\n \"location\": \"East US 2\",\r\n \"type\": \"Microsoft.DocumentDB/locations/restorableDatabaseAccounts\",\r\n \"id\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/providers/Microsoft.DocumentDB/locations/eastus2/restorableDatabaseAccounts/345c785a-e758-4f8b-94d4-0a1259f4f85b\",\r\n \"properties\": {\r\n \"accountName\": \"nichatur-restore-test\",\r\n \"apiType\": \"Sql\",\r\n \"creationTime\": \"2020-12-07T23:33:57Z\",\r\n \"restorableLocations\": [\r\n {\r\n \"locationName\": \"East US 2\",\r\n \"regionalDatabaseAccountInstanceId\": \"94eeb20d-16d0-4ee1-ae6a-7f2a0332a1d5\",\r\n \"creationTime\": \"2020-12-07T23:33:57Z\"\r\n }\r\n ]\r\n }\r\n },\r\n {\r\n \"name\": \"605db505-9267-4cf0-b7ac-27ef644b2ef3\",\r\n \"location\": \"East US 2\",\r\n \"type\": \"Microsoft.DocumentDB/locations/restorableDatabaseAccounts\",\r\n \"id\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/providers/Microsoft.DocumentDB/locations/eastus2/restorableDatabaseAccounts/605db505-9267-4cf0-b7ac-27ef644b2ef3\",\r\n \"properties\": {\r\n \"accountName\": \"nichatur-restore-test-r1\",\r\n \"apiType\": \"Sql\",\r\n \"creationTime\": \"2020-12-07T23:57:59Z\",\r\n \"restorableLocations\": [\r\n {\r\n \"locationName\": \"East US 2\",\r\n \"regionalDatabaseAccountInstanceId\": \"71a2cff6-7e90-43a5-b261-b704fbfaf100\",\r\n \"creationTime\": \"2020-12-07T23:57:59Z\"\r\n }\r\n ]\r\n }\r\n },\r\n {\r\n \"name\": \"0d00d699-017a-4a76-8639-ab4bec82c5f2\",\r\n \"location\": \"East US 2\",\r\n \"type\": \"Microsoft.DocumentDB/locations/restorableDatabaseAccounts\",\r\n \"id\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/providers/Microsoft.DocumentDB/locations/eastus2/restorableDatabaseAccounts/0d00d699-017a-4a76-8639-ab4bec82c5f2\",\r\n \"properties\": {\r\n \"accountName\": \"restoredaccountname637428989095532319\",\r\n \"apiType\": \"Sql\",\r\n \"creationTime\": \"2020-12-08T00:57:52Z\",\r\n \"restorableLocations\": [\r\n {\r\n \"locationName\": \"East US 2\",\r\n \"regionalDatabaseAccountInstanceId\": \"7c0454e1-f718-48fe-894a-35182a8440d2\",\r\n \"creationTime\": \"2020-12-08T00:57:52Z\"\r\n }\r\n ]\r\n }\r\n },\r\n {\r\n \"name\": \"73d1010d-f0b7-4673-b8c0-18ddecdcda06\",\r\n \"location\": \"East US 2\",\r\n \"type\": \"Microsoft.DocumentDB/locations/restorableDatabaseAccounts\",\r\n \"id\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/providers/Microsoft.DocumentDB/locations/eastus2/restorableDatabaseAccounts/73d1010d-f0b7-4673-b8c0-18ddecdcda06\",\r\n \"properties\": {\r\n \"accountName\": \"nichatur-restore-test-r2\",\r\n \"apiType\": \"Sql\",\r\n \"creationTime\": \"2020-12-08T22:03:14Z\",\r\n \"restorableLocations\": [\r\n {\r\n \"locationName\": \"East US 2\",\r\n \"regionalDatabaseAccountInstanceId\": \"c6b5a1f6-2215-49be-9277-aeff5723ab4c\",\r\n \"creationTime\": \"2020-12-08T22:03:14Z\"\r\n }\r\n ]\r\n }\r\n },\r\n {\r\n \"name\": \"d1535f84-06b5-497b-8768-962ece984001\",\r\n \"location\": \"East US 2\",\r\n \"type\": \"Microsoft.DocumentDB/locations/restorableDatabaseAccounts\",\r\n \"id\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/providers/Microsoft.DocumentDB/locations/eastus2/restorableDatabaseAccounts/d1535f84-06b5-497b-8768-962ece984001\",\r\n \"properties\": {\r\n \"accountName\": \"kal-restore-test\",\r\n \"apiType\": \"Sql\",\r\n \"creationTime\": \"2021-01-15T21:58:32Z\",\r\n \"restorableLocations\": [\r\n {\r\n \"locationName\": \"West US 2\",\r\n \"regionalDatabaseAccountInstanceId\": \"f4b8377d-89b3-41dd-9892-79bfbc4d523c\",\r\n \"creationTime\": \"2021-01-15T21:58:32Z\"\r\n }\r\n ]\r\n }\r\n },\r\n {\r\n \"name\": \"9351dd2e-d901-465b-98cb-a74a3aabd49f\",\r\n \"location\": \"East US 2\",\r\n \"type\": \"Microsoft.DocumentDB/locations/restorableDatabaseAccounts\",\r\n \"id\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/providers/Microsoft.DocumentDB/locations/eastus2/restorableDatabaseAccounts/9351dd2e-d901-465b-98cb-a74a3aabd49f\",\r\n \"properties\": {\r\n \"accountName\": \"pitr-unique-mode-source\",\r\n \"apiType\": \"Sql\",\r\n \"creationTime\": \"2021-02-03T19:53:25Z\",\r\n \"restorableLocations\": [\r\n {\r\n \"locationName\": \"East US 2\",\r\n \"regionalDatabaseAccountInstanceId\": \"b5ee0cb6-20df-4132-8378-3d2b2bb477f8\",\r\n \"creationTime\": \"2021-02-03T19:53:26Z\"\r\n }\r\n ]\r\n }\r\n },\r\n {\r\n \"name\": \"222da8e2-da07-46db-9cd2-51a2efb84b9f\",\r\n \"location\": \"East US 2\",\r\n \"type\": \"Microsoft.DocumentDB/locations/restorableDatabaseAccounts\",\r\n \"id\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/providers/Microsoft.DocumentDB/locations/eastus2/restorableDatabaseAccounts/222da8e2-da07-46db-9cd2-51a2efb84b9f\",\r\n \"properties\": {\r\n \"accountName\": \"pitr-unique-mode-restored\",\r\n \"apiType\": \"Sql\",\r\n \"creationTime\": \"2021-02-03T20:07:50Z\",\r\n \"restorableLocations\": [\r\n {\r\n \"locationName\": \"East US 2\",\r\n \"regionalDatabaseAccountInstanceId\": \"094b572d-52f6-47bc-92c3-a692588ef6d6\",\r\n \"creationTime\": \"2021-02-03T20:07:50Z\"\r\n }\r\n ]\r\n }\r\n },\r\n {\r\n \"name\": \"19e4130a-cb83-4a34-85c2-e35dcda149f8\",\r\n \"location\": \"East US 2\",\r\n \"type\": \"Microsoft.DocumentDB/locations/restorableDatabaseAccounts\",\r\n \"id\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/providers/Microsoft.DocumentDB/locations/eastus2/restorableDatabaseAccounts/19e4130a-cb83-4a34-85c2-e35dcda149f8\",\r\n \"properties\": {\r\n \"accountName\": \"stage-validation-m\",\r\n \"apiType\": \"MongoDB\",\r\n \"creationTime\": \"2021-02-05T04:08:10Z\",\r\n \"restorableLocations\": [\r\n {\r\n \"locationName\": \"East US 2\",\r\n \"regionalDatabaseAccountInstanceId\": \"3f97305a-6a6b-4b38-b200-bea92d78f64a\",\r\n \"creationTime\": \"2021-02-05T04:08:11Z\"\r\n },\r\n {\r\n \"locationName\": \"West US 2\",\r\n \"regionalDatabaseAccountInstanceId\": \"7cf7aaa4-fe00-48fa-820b-cc632feaa9d7\",\r\n \"creationTime\": \"2021-02-05T04:29:43Z\"\r\n }\r\n ]\r\n }\r\n },\r\n {\r\n \"name\": \"5939cc7f-0bdd-4790-9ac6-a3b281c64f97\",\r\n \"location\": \"East US 2\",\r\n \"type\": \"Microsoft.DocumentDB/locations/restorableDatabaseAccounts\",\r\n \"id\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/providers/Microsoft.DocumentDB/locations/eastus2/restorableDatabaseAccounts/5939cc7f-0bdd-4790-9ac6-a3b281c64f97\",\r\n \"properties\": {\r\n \"accountName\": \"multiregion-pitr-billing-test\",\r\n \"apiType\": \"Sql\",\r\n \"creationTime\": \"2021-02-19T00:20:18Z\",\r\n \"restorableLocations\": [\r\n {\r\n \"locationName\": \"Southeast Asia\",\r\n \"regionalDatabaseAccountInstanceId\": \"0018e6e6-170f-4e25-b1a5-97e718138e0c\",\r\n \"creationTime\": \"2021-02-19T00:20:18Z\"\r\n },\r\n {\r\n \"locationName\": \"West US 2\",\r\n \"regionalDatabaseAccountInstanceId\": \"e235a61e-abf7-4e95-bfc2-0e4aa649b874\",\r\n \"creationTime\": \"2021-02-19T00:33:52Z\"\r\n }\r\n ]\r\n }\r\n },\r\n {\r\n \"name\": \"96aa7f5a-5292-44f3-9d3e-bec163b0de1a\",\r\n \"location\": \"East US 2\",\r\n \"type\": \"Microsoft.DocumentDB/locations/restorableDatabaseAccounts\",\r\n \"id\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/providers/Microsoft.DocumentDB/locations/eastus2/restorableDatabaseAccounts/96aa7f5a-5292-44f3-9d3e-bec163b0de1a\",\r\n \"properties\": {\r\n \"accountName\": \"restore-pitr-mongo32-stage-source\",\r\n \"apiType\": \"MongoDB\",\r\n \"creationTime\": \"2021-02-26T18:11:04Z\",\r\n \"restorableLocations\": [\r\n {\r\n \"locationName\": \"East US 2\",\r\n \"regionalDatabaseAccountInstanceId\": \"8c350d54-e45d-4ef7-af55-9f07dc4fe594\",\r\n \"creationTime\": \"2021-02-26T18:11:04Z\"\r\n }\r\n ]\r\n }\r\n },\r\n {\r\n \"name\": \"c02d9298-7cdb-440f-a16b-0dc3c97d6cde\",\r\n \"location\": \"East US 2\",\r\n \"type\": \"Microsoft.DocumentDB/locations/restorableDatabaseAccounts\",\r\n \"id\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/providers/Microsoft.DocumentDB/locations/eastus2/restorableDatabaseAccounts/c02d9298-7cdb-440f-a16b-0dc3c97d6cde\",\r\n \"properties\": {\r\n \"accountName\": \"pitr-sql-stage-restored-wrr\",\r\n \"apiType\": \"Sql\",\r\n \"creationTime\": \"2021-03-03T04:36:55Z\",\r\n \"restorableLocations\": [\r\n {\r\n \"locationName\": \"East US 2\",\r\n \"regionalDatabaseAccountInstanceId\": \"d6e10b03-43cd-4bdc-a1b8-3dfab9fe6beb\",\r\n \"creationTime\": \"2021-03-03T04:36:55Z\"\r\n }\r\n ]\r\n }\r\n },\r\n {\r\n \"name\": \"00e807ea-76c1-4b2f-afdd-dddc1b15979f\",\r\n \"location\": \"East US 2\",\r\n \"type\": \"Microsoft.DocumentDB/locations/restorableDatabaseAccounts\",\r\n \"id\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/providers/Microsoft.DocumentDB/locations/eastus2/restorableDatabaseAccounts/00e807ea-76c1-4b2f-afdd-dddc1b15979f\",\r\n \"properties\": {\r\n \"accountName\": \"pitr-sql-stage-restored-wrr1\",\r\n \"apiType\": \"Sql\",\r\n \"creationTime\": \"2021-03-03T05:01:33Z\",\r\n \"restorableLocations\": [\r\n {\r\n \"locationName\": \"East US 2\",\r\n \"regionalDatabaseAccountInstanceId\": \"683f9f6f-8b7d-4638-a4f2-db9983a9c2d1\",\r\n \"creationTime\": \"2021-03-03T05:01:33Z\"\r\n }\r\n ]\r\n }\r\n },\r\n {\r\n \"name\": \"9766bca9-cc26-4e26-83fe-32cd22fdb83d\",\r\n \"location\": \"East US 2\",\r\n \"type\": \"Microsoft.DocumentDB/locations/restorableDatabaseAccounts\",\r\n \"id\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/providers/Microsoft.DocumentDB/locations/eastus2/restorableDatabaseAccounts/9766bca9-cc26-4e26-83fe-32cd22fdb83d\",\r\n \"properties\": {\r\n \"accountName\": \"stage-pitr-billing-test\",\r\n \"apiType\": \"Sql\",\r\n \"creationTime\": \"2021-01-20T01:08:53Z\",\r\n \"deletionTime\": \"2021-02-04T00:01:29Z\",\r\n \"restorableLocations\": [\r\n {\r\n \"locationName\": \"West US 2\",\r\n \"regionalDatabaseAccountInstanceId\": \"9df768c4-6f3e-4bb8-be73-c8b338f50875\",\r\n \"creationTime\": \"2021-01-20T01:08:53Z\",\r\n \"deletionTime\": \"2021-02-04T00:01:29Z\"\r\n }\r\n ]\r\n }\r\n },\r\n {\r\n \"name\": \"8e032502-70fc-4495-8546-e69383186c09\",\r\n \"location\": \"East US 2\",\r\n \"type\": \"Microsoft.DocumentDB/locations/restorableDatabaseAccounts\",\r\n \"id\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/providers/Microsoft.DocumentDB/locations/eastus2/restorableDatabaseAccounts/8e032502-70fc-4495-8546-e69383186c09\",\r\n \"properties\": {\r\n \"accountName\": \"stage-pitr-billing-test-2\",\r\n \"apiType\": \"Sql\",\r\n \"creationTime\": \"2021-01-21T05:06:14Z\",\r\n \"deletionTime\": \"2021-02-04T00:01:29Z\",\r\n \"restorableLocations\": [\r\n {\r\n \"locationName\": \"West US 2\",\r\n \"regionalDatabaseAccountInstanceId\": \"a994d170-beb1-4f1a-a413-2d5548b171dd\",\r\n \"creationTime\": \"2021-01-21T05:06:14Z\",\r\n \"deletionTime\": \"2021-02-04T00:01:29Z\"\r\n }\r\n ]\r\n }\r\n },\r\n {\r\n \"name\": \"d9e1ccfa-1929-4532-9efb-6100feff0f0e\",\r\n \"location\": \"East US 2\",\r\n \"type\": \"Microsoft.DocumentDB/locations/restorableDatabaseAccounts\",\r\n \"id\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/providers/Microsoft.DocumentDB/locations/eastus2/restorableDatabaseAccounts/d9e1ccfa-1929-4532-9efb-6100feff0f0e\",\r\n \"properties\": {\r\n \"accountName\": \"stage-pitr-validation-restored-ror\",\r\n \"apiType\": \"Sql\",\r\n \"creationTime\": \"2021-02-06T19:32:22Z\",\r\n \"deletionTime\": \"2021-02-06T19:40:48Z\",\r\n \"restorableLocations\": [\r\n {\r\n \"locationName\": \"East US 2\",\r\n \"regionalDatabaseAccountInstanceId\": \"95ef85ad-f3dd-490d-aff2-50d6c7c0dd5f\",\r\n \"creationTime\": \"2021-02-06T19:32:22Z\",\r\n \"deletionTime\": \"2021-02-06T19:40:48Z\"\r\n }\r\n ]\r\n }\r\n },\r\n {\r\n \"name\": \"2d7d7e33-9b97-491e-895b-fe7f46f3d86c\",\r\n \"location\": \"East US 2\",\r\n \"type\": \"Microsoft.DocumentDB/locations/restorableDatabaseAccounts\",\r\n \"id\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/providers/Microsoft.DocumentDB/locations/eastus2/restorableDatabaseAccounts/2d7d7e33-9b97-491e-895b-fe7f46f3d86c\",\r\n \"properties\": {\r\n \"accountName\": \"stage-pitr-validation-source-r1\",\r\n \"apiType\": \"Sql\",\r\n \"creationTime\": \"2021-02-10T23:50:26Z\",\r\n \"deletionTime\": \"2021-02-11T07:07:51Z\",\r\n \"restorableLocations\": [\r\n {\r\n \"locationName\": \"East US 2\",\r\n \"regionalDatabaseAccountInstanceId\": \"eb35152b-9da0-44c0-a767-0c643969bf08\",\r\n \"creationTime\": \"2021-02-10T23:50:26Z\",\r\n \"deletionTime\": \"2021-02-11T07:07:51Z\"\r\n }\r\n ]\r\n }\r\n },\r\n {\r\n \"name\": \"4961ef4a-30d0-484e-ad16-8ba453b14abf\",\r\n \"location\": \"East US 2\",\r\n \"type\": \"Microsoft.DocumentDB/locations/restorableDatabaseAccounts\",\r\n \"id\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/providers/Microsoft.DocumentDB/locations/eastus2/restorableDatabaseAccounts/4961ef4a-30d0-484e-ad16-8ba453b14abf\",\r\n \"properties\": {\r\n \"accountName\": \"stage-pitr-validation-source-res\",\r\n \"apiType\": \"Sql\",\r\n \"creationTime\": \"2021-02-11T04:40:28Z\",\r\n \"deletionTime\": \"2021-02-11T07:07:51Z\",\r\n \"restorableLocations\": [\r\n {\r\n \"locationName\": \"East US 2\",\r\n \"regionalDatabaseAccountInstanceId\": \"5970d071-463b-4f79-92ac-810f199754e9\",\r\n \"creationTime\": \"2021-02-11T04:40:28Z\",\r\n \"deletionTime\": \"2021-02-11T07:07:51Z\"\r\n }\r\n ]\r\n }\r\n },\r\n {\r\n \"name\": \"ce9e2478-aa44-4bd2-96d4-d23f75dbd994\",\r\n \"location\": \"East US 2\",\r\n \"type\": \"Microsoft.DocumentDB/locations/restorableDatabaseAccounts\",\r\n \"id\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/providers/Microsoft.DocumentDB/locations/eastus2/restorableDatabaseAccounts/ce9e2478-aa44-4bd2-96d4-d23f75dbd994\",\r\n \"properties\": {\r\n \"accountName\": \"stage-pitr-validation-source-r2\",\r\n \"apiType\": \"Sql\",\r\n \"creationTime\": \"2021-02-11T00:04:43Z\",\r\n \"deletionTime\": \"2021-02-11T07:07:54Z\",\r\n \"restorableLocations\": [\r\n {\r\n \"locationName\": \"West US 2\",\r\n \"regionalDatabaseAccountInstanceId\": \"4d1a5ff8-9393-4dc4-a3b9-1b24e2aeb32c\",\r\n \"creationTime\": \"2021-02-11T00:04:43Z\",\r\n \"deletionTime\": \"2021-02-11T07:07:54Z\"\r\n }\r\n ]\r\n }\r\n },\r\n {\r\n \"name\": \"f93aff83-e412-471c-86de-e23df6cbeb58\",\r\n \"location\": \"East US 2\",\r\n \"type\": \"Microsoft.DocumentDB/locations/restorableDatabaseAccounts\",\r\n \"id\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/providers/Microsoft.DocumentDB/locations/eastus2/restorableDatabaseAccounts/f93aff83-e412-471c-86de-e23df6cbeb58\",\r\n \"properties\": {\r\n \"accountName\": \"stage-pitr-validation-restored-readregion\",\r\n \"apiType\": \"Sql\",\r\n \"creationTime\": \"2021-02-07T21:48:30Z\",\r\n \"deletionTime\": \"2021-02-11T21:07:27Z\",\r\n \"restorableLocations\": [\r\n {\r\n \"locationName\": \"North Central US\",\r\n \"regionalDatabaseAccountInstanceId\": \"ffac845b-ac41-4bfe-acc1-227406f9f68a\",\r\n \"creationTime\": \"2021-02-07T21:48:30Z\",\r\n \"deletionTime\": \"2021-02-11T21:07:27Z\"\r\n }\r\n ]\r\n }\r\n },\r\n {\r\n \"name\": \"9bb64267-f1d8-4d2a-9367-d16492966dc8\",\r\n \"location\": \"East US 2\",\r\n \"type\": \"Microsoft.DocumentDB/locations/restorableDatabaseAccounts\",\r\n \"id\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/providers/Microsoft.DocumentDB/locations/eastus2/restorableDatabaseAccounts/9bb64267-f1d8-4d2a-9367-d16492966dc8\",\r\n \"properties\": {\r\n \"accountName\": \"stage-pitr-validation-restored-wrr\",\r\n \"apiType\": \"Sql\",\r\n \"creationTime\": \"2021-02-06T18:18:14Z\",\r\n \"deletionTime\": \"2021-02-11T21:07:28Z\",\r\n \"restorableLocations\": [\r\n {\r\n \"locationName\": \"North Central US\",\r\n \"regionalDatabaseAccountInstanceId\": \"c8fdaea9-e41e-416f-8ab8-ffa9295ad14a\",\r\n \"creationTime\": \"2021-02-07T18:55:04Z\",\r\n \"deletionTime\": \"2021-02-11T21:07:28Z\"\r\n },\r\n {\r\n \"locationName\": \"East US 2\",\r\n \"regionalDatabaseAccountInstanceId\": \"de4ce762-1219-4750-9c25-cead6a9964b3\",\r\n \"creationTime\": \"2021-02-06T18:18:14Z\",\r\n \"deletionTime\": \"2021-02-11T21:07:28Z\"\r\n }\r\n ]\r\n }\r\n },\r\n {\r\n \"name\": \"78bd960f-b8bc-4412-b4e1-f16c5acc599c\",\r\n \"location\": \"East US 2\",\r\n \"type\": \"Microsoft.DocumentDB/locations/restorableDatabaseAccounts\",\r\n \"id\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/providers/Microsoft.DocumentDB/locations/eastus2/restorableDatabaseAccounts/78bd960f-b8bc-4412-b4e1-f16c5acc599c\",\r\n \"properties\": {\r\n \"accountName\": \"stage-pitr-validation-del-restored\",\r\n \"apiType\": \"Sql\",\r\n \"creationTime\": \"2021-02-06T20:23:29Z\",\r\n \"deletionTime\": \"2021-02-11T21:07:28Z\",\r\n \"restorableLocations\": [\r\n {\r\n \"locationName\": \"Southeast Asia\",\r\n \"regionalDatabaseAccountInstanceId\": \"753180e8-e128-47e9-98d1-5ce0c6d4f3a8\",\r\n \"creationTime\": \"2021-02-08T19:31:46Z\",\r\n \"deletionTime\": \"2021-02-11T21:07:28Z\"\r\n },\r\n {\r\n \"locationName\": \"East US 2\",\r\n \"regionalDatabaseAccountInstanceId\": \"2524386d-c456-4de9-a314-1acdb94e52a3\",\r\n \"creationTime\": \"2021-02-06T20:23:29Z\",\r\n \"deletionTime\": \"2021-02-11T21:07:28Z\"\r\n }\r\n ]\r\n }\r\n },\r\n {\r\n \"name\": \"67d6981a-3dc7-4e3a-b04a-73c0376d42bb\",\r\n \"location\": \"East US 2\",\r\n \"type\": \"Microsoft.DocumentDB/locations/restorableDatabaseAccounts\",\r\n \"id\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/providers/Microsoft.DocumentDB/locations/eastus2/restorableDatabaseAccounts/67d6981a-3dc7-4e3a-b04a-73c0376d42bb\",\r\n \"properties\": {\r\n \"accountName\": \"stage-pitr-validation-source-r2\",\r\n \"apiType\": \"Sql\",\r\n \"creationTime\": \"2021-02-11T08:37:02Z\",\r\n \"deletionTime\": \"2021-02-12T17:07:42Z\",\r\n \"restorableLocations\": [\r\n {\r\n \"locationName\": \"East US 2\",\r\n \"regionalDatabaseAccountInstanceId\": \"5f331e43-571c-4fe7-9874-aeafcd2b421c\",\r\n \"creationTime\": \"2021-02-11T08:37:02Z\",\r\n \"deletionTime\": \"2021-02-12T17:07:42Z\"\r\n }\r\n ]\r\n }\r\n },\r\n {\r\n \"name\": \"5ea690df-46a9-4bf2-910c-0484660978bb\",\r\n \"location\": \"East US 2\",\r\n \"type\": \"Microsoft.DocumentDB/locations/restorableDatabaseAccounts\",\r\n \"id\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/providers/Microsoft.DocumentDB/locations/eastus2/restorableDatabaseAccounts/5ea690df-46a9-4bf2-910c-0484660978bb\",\r\n \"properties\": {\r\n \"accountName\": \"stage-pitr-validation-source-r1\",\r\n \"apiType\": \"Sql\",\r\n \"creationTime\": \"2021-02-11T08:24:56Z\",\r\n \"deletionTime\": \"2021-02-12T17:07:43Z\",\r\n \"restorableLocations\": [\r\n {\r\n \"locationName\": \"East US 2\",\r\n \"regionalDatabaseAccountInstanceId\": \"29b9a3fe-b375-462d-9221-191fc4ddaa83\",\r\n \"creationTime\": \"2021-02-11T08:24:56Z\",\r\n \"deletionTime\": \"2021-02-12T17:07:43Z\"\r\n }\r\n ]\r\n }\r\n },\r\n {\r\n \"name\": \"53b3d044-7394-4a06-883d-cf9247f66e3c\",\r\n \"location\": \"East US 2\",\r\n \"type\": \"Microsoft.DocumentDB/locations/restorableDatabaseAccounts\",\r\n \"id\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/providers/Microsoft.DocumentDB/locations/eastus2/restorableDatabaseAccounts/53b3d044-7394-4a06-883d-cf9247f66e3c\",\r\n \"properties\": {\r\n \"accountName\": \"stage-pitr-validation-source-r3\",\r\n \"apiType\": \"Sql\",\r\n \"creationTime\": \"2021-02-11T08:49:08Z\",\r\n \"deletionTime\": \"2021-02-12T17:07:44Z\",\r\n \"restorableLocations\": [\r\n {\r\n \"locationName\": \"East US 2\",\r\n \"regionalDatabaseAccountInstanceId\": \"a38a83ce-d467-4c81-9f3d-c65697d1c547\",\r\n \"creationTime\": \"2021-02-11T08:49:08Z\",\r\n \"deletionTime\": \"2021-02-12T17:07:44Z\"\r\n }\r\n ]\r\n }\r\n },\r\n {\r\n \"name\": \"66c4a9a2-7799-474a-9e1e-e56a4b340d62\",\r\n \"location\": \"East US 2\",\r\n \"type\": \"Microsoft.DocumentDB/locations/restorableDatabaseAccounts\",\r\n \"id\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/providers/Microsoft.DocumentDB/locations/eastus2/restorableDatabaseAccounts/66c4a9a2-7799-474a-9e1e-e56a4b340d62\",\r\n \"properties\": {\r\n \"accountName\": \"stage-pitr-validation-source-r4\",\r\n \"apiType\": \"Sql\",\r\n \"creationTime\": \"2021-02-11T09:01:06Z\",\r\n \"deletionTime\": \"2021-02-12T17:07:45Z\",\r\n \"restorableLocations\": [\r\n {\r\n \"locationName\": \"East US 2\",\r\n \"regionalDatabaseAccountInstanceId\": \"01869f13-ab6f-451b-8b15-9cb0b369cde2\",\r\n \"creationTime\": \"2021-02-11T09:01:06Z\",\r\n \"deletionTime\": \"2021-02-12T17:07:45Z\"\r\n }\r\n ]\r\n }\r\n },\r\n {\r\n \"name\": \"674c1551-e35b-4a4d-bd79-fde1f439dbe0\",\r\n \"location\": \"East US 2\",\r\n \"type\": \"Microsoft.DocumentDB/locations/restorableDatabaseAccounts\",\r\n \"id\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/providers/Microsoft.DocumentDB/locations/eastus2/restorableDatabaseAccounts/674c1551-e35b-4a4d-bd79-fde1f439dbe0\",\r\n \"properties\": {\r\n \"accountName\": \"stage-pitr-validation-source-r1\",\r\n \"apiType\": \"Sql\",\r\n \"creationTime\": \"2021-02-17T11:23:16Z\",\r\n \"deletionTime\": \"2021-02-17T15:31:10Z\",\r\n \"restorableLocations\": [\r\n {\r\n \"locationName\": \"East US 2\",\r\n \"regionalDatabaseAccountInstanceId\": \"17329379-801c-4909-999a-421f20fd57c4\",\r\n \"creationTime\": \"2021-02-17T11:23:16Z\",\r\n \"deletionTime\": \"2021-02-17T15:31:10Z\"\r\n }\r\n ]\r\n }\r\n },\r\n {\r\n \"name\": \"af242175-f3a2-40f4-9c77-10eaf232a2b5\",\r\n \"location\": \"East US 2\",\r\n \"type\": \"Microsoft.DocumentDB/locations/restorableDatabaseAccounts\",\r\n \"id\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/providers/Microsoft.DocumentDB/locations/eastus2/restorableDatabaseAccounts/af242175-f3a2-40f4-9c77-10eaf232a2b5\",\r\n \"properties\": {\r\n \"accountName\": \"dd21234\",\r\n \"apiType\": \"Sql\",\r\n \"creationTime\": \"2021-02-22T09:47:40Z\",\r\n \"deletionTime\": \"2021-02-22T10:59:26Z\",\r\n \"restorableLocations\": [\r\n {\r\n \"locationName\": \"East US 2\",\r\n \"regionalDatabaseAccountInstanceId\": \"66b2c82f-633f-446a-b89e-dba1b13ae92c\",\r\n \"creationTime\": \"2021-02-22T09:47:40Z\",\r\n \"deletionTime\": \"2021-02-22T10:59:26Z\"\r\n }\r\n ]\r\n }\r\n },\r\n {\r\n \"name\": \"128a528a-5e22-4146-ae62-b32994614cb0\",\r\n \"location\": \"East US 2\",\r\n \"type\": \"Microsoft.DocumentDB/locations/restorableDatabaseAccounts\",\r\n \"id\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/providers/Microsoft.DocumentDB/locations/eastus2/restorableDatabaseAccounts/128a528a-5e22-4146-ae62-b32994614cb0\",\r\n \"properties\": {\r\n \"accountName\": \"dd21\",\r\n \"apiType\": \"Sql\",\r\n \"creationTime\": \"2021-02-22T09:02:19Z\",\r\n \"deletionTime\": \"2021-02-22T11:00:06Z\",\r\n \"restorableLocations\": [\r\n {\r\n \"locationName\": \"East US 2\",\r\n \"regionalDatabaseAccountInstanceId\": \"ebc69bc4-4865-41d6-a632-aef7a5e2de1d\",\r\n \"creationTime\": \"2021-02-22T09:02:19Z\",\r\n \"deletionTime\": \"2021-02-22T11:00:06Z\"\r\n }\r\n ]\r\n }\r\n },\r\n {\r\n \"name\": \"3e1a3f5e-dcae-449e-82f7-bbf80cba54c5\",\r\n \"location\": \"East US 2\",\r\n \"type\": \"Microsoft.DocumentDB/locations/restorableDatabaseAccounts\",\r\n \"id\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/providers/Microsoft.DocumentDB/locations/eastus2/restorableDatabaseAccounts/3e1a3f5e-dcae-449e-82f7-bbf80cba54c5\",\r\n \"properties\": {\r\n \"accountName\": \"ddb55\",\r\n \"apiType\": \"Sql\",\r\n \"creationTime\": \"2021-02-24T04:21:43Z\",\r\n \"deletionTime\": \"2021-02-24T07:45:59Z\",\r\n \"restorableLocations\": [\r\n {\r\n \"locationName\": \"East US 2\",\r\n \"regionalDatabaseAccountInstanceId\": \"4dff1afd-82b9-425f-840a-3237bd54478d\",\r\n \"creationTime\": \"2021-02-24T04:21:43Z\",\r\n \"deletionTime\": \"2021-02-24T07:45:59Z\"\r\n }\r\n ]\r\n }\r\n },\r\n {\r\n \"name\": \"d612dc86-9085-444b-a868-fb48c7d368fb\",\r\n \"location\": \"East US 2\",\r\n \"type\": \"Microsoft.DocumentDB/locations/restorableDatabaseAccounts\",\r\n \"id\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/providers/Microsoft.DocumentDB/locations/eastus2/restorableDatabaseAccounts/d612dc86-9085-444b-a868-fb48c7d368fb\",\r\n \"properties\": {\r\n \"accountName\": \"ddb1\",\r\n \"apiType\": \"Sql\",\r\n \"creationTime\": \"2021-02-18T11:15:52Z\",\r\n \"deletionTime\": \"2021-02-24T07:46:14Z\",\r\n \"restorableLocations\": [\r\n {\r\n \"locationName\": \"East US 2\",\r\n \"regionalDatabaseAccountInstanceId\": \"db2b9027-bcdf-4069-be69-074fc2f46d7c\",\r\n \"creationTime\": \"2021-02-18T11:15:52Z\",\r\n \"deletionTime\": \"2021-02-24T07:46:14Z\"\r\n }\r\n ]\r\n }\r\n },\r\n {\r\n \"name\": \"0ea5b02f-40bd-4cfd-8406-35286bd00fa2\",\r\n \"location\": \"East US 2\",\r\n \"type\": \"Microsoft.DocumentDB/locations/restorableDatabaseAccounts\",\r\n \"id\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/providers/Microsoft.DocumentDB/locations/eastus2/restorableDatabaseAccounts/0ea5b02f-40bd-4cfd-8406-35286bd00fa2\",\r\n \"properties\": {\r\n \"accountName\": \"pitr-sql-stage-restored-ror\",\r\n \"apiType\": \"Sql\",\r\n \"creationTime\": \"2021-02-24T17:56:15Z\",\r\n \"deletionTime\": \"2021-02-25T10:33:38Z\",\r\n \"restorableLocations\": [\r\n {\r\n \"locationName\": \"West US 2\",\r\n \"regionalDatabaseAccountInstanceId\": \"740afadb-1142-4b13-9fa4-67e857d56a89\",\r\n \"creationTime\": \"2021-02-24T17:56:15Z\",\r\n \"deletionTime\": \"2021-02-25T10:33:38Z\"\r\n }\r\n ]\r\n }\r\n },\r\n {\r\n \"name\": \"52006c1b-5c7f-43a1-9ae0-b936550aed8a\",\r\n \"location\": \"East US 2\",\r\n \"type\": \"Microsoft.DocumentDB/locations/restorableDatabaseAccounts\",\r\n \"id\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/providers/Microsoft.DocumentDB/locations/eastus2/restorableDatabaseAccounts/52006c1b-5c7f-43a1-9ae0-b936550aed8a\",\r\n \"properties\": {\r\n \"accountName\": \"pitr-sql-stage-restored-rrr\",\r\n \"apiType\": \"Sql\",\r\n \"creationTime\": \"2021-02-24T17:40:45Z\",\r\n \"deletionTime\": \"2021-02-25T10:34:20Z\",\r\n \"restorableLocations\": [\r\n {\r\n \"locationName\": \"West US 2\",\r\n \"regionalDatabaseAccountInstanceId\": \"a1e3fe50-7548-4b49-aee1-373a142e0c3b\",\r\n \"creationTime\": \"2021-02-24T17:40:45Z\",\r\n \"deletionTime\": \"2021-02-25T10:34:20Z\"\r\n }\r\n ]\r\n }\r\n },\r\n {\r\n \"name\": \"a578c9d3-1d35-451f-a3df-44e61ed45cfa\",\r\n \"location\": \"East US 2\",\r\n \"type\": \"Microsoft.DocumentDB/locations/restorableDatabaseAccounts\",\r\n \"id\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/providers/Microsoft.DocumentDB/locations/eastus2/restorableDatabaseAccounts/a578c9d3-1d35-451f-a3df-44e61ed45cfa\",\r\n \"properties\": {\r\n \"accountName\": \"pitr-sql-stage-restored-wrr\",\r\n \"apiType\": \"Sql\",\r\n \"creationTime\": \"2021-02-24T05:19:04Z\",\r\n \"deletionTime\": \"2021-02-25T10:34:35Z\",\r\n \"restorableLocations\": [\r\n {\r\n \"locationName\": \"East US 2\",\r\n \"regionalDatabaseAccountInstanceId\": \"feff600a-c776-422a-a2f7-0cfe03be68b8\",\r\n \"creationTime\": \"2021-02-24T05:19:04Z\",\r\n \"deletionTime\": \"2021-02-25T10:34:35Z\"\r\n }\r\n ]\r\n }\r\n },\r\n {\r\n \"name\": \"07b7492c-91c3-41bb-9f75-8f25c739ce06\",\r\n \"location\": \"East US 2\",\r\n \"type\": \"Microsoft.DocumentDB/locations/restorableDatabaseAccounts\",\r\n \"id\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/providers/Microsoft.DocumentDB/locations/eastus2/restorableDatabaseAccounts/07b7492c-91c3-41bb-9f75-8f25c739ce06\",\r\n \"properties\": {\r\n \"accountName\": \"pitr-sql-stage-restored-wrr\",\r\n \"apiType\": \"Sql\",\r\n \"creationTime\": \"2021-03-01T05:56:16Z\",\r\n \"deletionTime\": \"2021-03-02T09:01:04Z\",\r\n \"restorableLocations\": [\r\n {\r\n \"locationName\": \"East US 2\",\r\n \"regionalDatabaseAccountInstanceId\": \"bfbd7d4b-3edf-44da-8aab-eb9cdafe43a7\",\r\n \"creationTime\": \"2021-03-01T05:56:16Z\",\r\n \"deletionTime\": \"2021-03-02T09:01:04Z\"\r\n }\r\n ]\r\n }\r\n },\r\n {\r\n \"name\": \"db2af171-a342-4d3c-92ff-45e81629341d\",\r\n \"location\": \"East US 2\",\r\n \"type\": \"Microsoft.DocumentDB/locations/restorableDatabaseAccounts\",\r\n \"id\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/providers/Microsoft.DocumentDB/locations/eastus2/restorableDatabaseAccounts/db2af171-a342-4d3c-92ff-45e81629341d\",\r\n \"properties\": {\r\n \"accountName\": \"pitr-sql-stage-restored-wrr\",\r\n \"apiType\": \"Sql\",\r\n \"creationTime\": \"2021-03-02T10:39:31Z\",\r\n \"deletionTime\": \"2021-03-02T10:41:51Z\",\r\n \"restorableLocations\": [\r\n {\r\n \"locationName\": \"East US 2\",\r\n \"regionalDatabaseAccountInstanceId\": \"4e29876d-a887-4def-a99e-1b7043bb6181\",\r\n \"creationTime\": \"2021-03-02T10:39:31Z\",\r\n \"deletionTime\": \"2021-03-02T10:41:51Z\"\r\n }\r\n ]\r\n }\r\n },\r\n {\r\n \"name\": \"a76a91b4-489b-4714-b0fc-b98459934920\",\r\n \"location\": \"East US 2\",\r\n \"type\": \"Microsoft.DocumentDB/locations/restorableDatabaseAccounts\",\r\n \"id\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/providers/Microsoft.DocumentDB/locations/eastus2/restorableDatabaseAccounts/a76a91b4-489b-4714-b0fc-b98459934920\",\r\n \"properties\": {\r\n \"accountName\": \"pitr-sql-stage-restored-wrr\",\r\n \"apiType\": \"Sql\",\r\n \"creationTime\": \"2021-03-02T15:16:36Z\",\r\n \"deletionTime\": \"2021-03-03T04:08:46Z\",\r\n \"restorableLocations\": [\r\n {\r\n \"locationName\": \"East US 2\",\r\n \"regionalDatabaseAccountInstanceId\": \"40bafde5-ffd5-453a-acb4-9c697808790a\",\r\n \"creationTime\": \"2021-03-02T15:16:36Z\",\r\n \"deletionTime\": \"2021-03-03T04:08:46Z\"\r\n }\r\n ]\r\n }\r\n }\r\n ]\r\n}", + "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"name\": \"fccbe297-cb19-424b-a8d7-e996a6b7b689\",\r\n \"location\": \"East US 2\",\r\n \"type\": \"Microsoft.DocumentDB/locations/restorableDatabaseAccounts\",\r\n \"id\": \"/subscriptions/259fbb24-9bcd-4cfc-865c-fc33b22fe38a/providers/Microsoft.DocumentDB/locations/eastus2/restorableDatabaseAccounts/fccbe297-cb19-424b-a8d7-e996a6b7b689\",\r\n \"properties\": {\r\n \"accountName\": \"mongotestaccount\",\r\n \"apiType\": \"MongoDB\",\r\n \"creationTime\": \"2021-06-02T19:34:26Z\",\r\n \"restorableLocations\": [\r\n {\r\n \"locationName\": \"East US 2\",\r\n \"regionalDatabaseAccountInstanceId\": \"9f8cab0e-80f5-48b6-bc9f-7f7b3a69afeb\",\r\n \"creationTime\": \"2021-06-02T19:34:27Z\"\r\n }\r\n ]\r\n }\r\n },\r\n {\r\n \"name\": \"c6b53e1d-0dec-4ff2-ab70-2e9d24a3ed27\",\r\n \"location\": \"East US 2\",\r\n \"type\": \"Microsoft.DocumentDB/locations/restorableDatabaseAccounts\",\r\n \"id\": \"/subscriptions/259fbb24-9bcd-4cfc-865c-fc33b22fe38a/providers/Microsoft.DocumentDB/locations/eastus2/restorableDatabaseAccounts/c6b53e1d-0dec-4ff2-ab70-2e9d24a3ed27\",\r\n \"properties\": {\r\n \"accountName\": \"pitr-sql-stage-source\",\r\n \"apiType\": \"Sql\",\r\n \"creationTime\": \"2021-06-02T23:30:43Z\",\r\n \"restorableLocations\": [\r\n {\r\n \"locationName\": \"East US 2\",\r\n \"regionalDatabaseAccountInstanceId\": \"9961d453-89c2-4daf-bcad-add22d287617\",\r\n \"creationTime\": \"2021-06-02T23:30:43Z\"\r\n }\r\n ]\r\n }\r\n },\r\n {\r\n \"name\": \"990590c0-4db8-4b0e-96ef-55f0be03615d\",\r\n \"location\": \"East US 2\",\r\n \"type\": \"Microsoft.DocumentDB/locations/restorableDatabaseAccounts\",\r\n \"id\": \"/subscriptions/259fbb24-9bcd-4cfc-865c-fc33b22fe38a/providers/Microsoft.DocumentDB/locations/eastus2/restorableDatabaseAccounts/990590c0-4db8-4b0e-96ef-55f0be03615d\",\r\n \"properties\": {\r\n \"accountName\": \"pitr-mongo32-stage-source\",\r\n \"apiType\": \"MongoDB\",\r\n \"creationTime\": \"2021-06-02T23:32:31Z\",\r\n \"restorableLocations\": [\r\n {\r\n \"locationName\": \"East US 2\",\r\n \"regionalDatabaseAccountInstanceId\": \"2d0a8ae4-e622-429c-a2bf-b7b13ada7b45\",\r\n \"creationTime\": \"2021-06-02T23:32:32Z\"\r\n }\r\n ]\r\n }\r\n },\r\n {\r\n \"name\": \"60a54911-db9e-436f-b282-34779e0a2a7f\",\r\n \"location\": \"East US 2\",\r\n \"type\": \"Microsoft.DocumentDB/locations/restorableDatabaseAccounts\",\r\n \"id\": \"/subscriptions/259fbb24-9bcd-4cfc-865c-fc33b22fe38a/providers/Microsoft.DocumentDB/locations/eastus2/restorableDatabaseAccounts/60a54911-db9e-436f-b282-34779e0a2a7f\",\r\n \"properties\": {\r\n \"accountName\": \"pitr-mongo36-stage-source\",\r\n \"apiType\": \"MongoDB\",\r\n \"creationTime\": \"2021-06-02T23:33:01Z\",\r\n \"restorableLocations\": [\r\n {\r\n \"locationName\": \"East US 2\",\r\n \"regionalDatabaseAccountInstanceId\": \"32163288-85a4-454b-a7d7-d7fbb1f32aeb\",\r\n \"creationTime\": \"2021-06-02T23:33:02Z\"\r\n }\r\n ]\r\n }\r\n },\r\n {\r\n \"name\": \"b0736fc7-cb53-4b6f-bd2f-aac904085da4\",\r\n \"location\": \"East US 2\",\r\n \"type\": \"Microsoft.DocumentDB/locations/restorableDatabaseAccounts\",\r\n \"id\": \"/subscriptions/259fbb24-9bcd-4cfc-865c-fc33b22fe38a/providers/Microsoft.DocumentDB/locations/eastus2/restorableDatabaseAccounts/b0736fc7-cb53-4b6f-bd2f-aac904085da4\",\r\n \"properties\": {\r\n \"accountName\": \"mongo-continuous-1212\",\r\n \"apiType\": \"MongoDB\",\r\n \"creationTime\": \"2021-06-04T22:09:26Z\",\r\n \"restorableLocations\": [\r\n {\r\n \"locationName\": \"East US 2\",\r\n \"regionalDatabaseAccountInstanceId\": \"a1f3383c-4e2f-44b5-8348-7323e2356b3d\",\r\n \"creationTime\": \"2021-06-04T22:09:26Z\"\r\n }\r\n ]\r\n }\r\n },\r\n {\r\n \"name\": \"2301188f-cf13-419d-b7c2-5321c5476526\",\r\n \"location\": \"East US 2\",\r\n \"type\": \"Microsoft.DocumentDB/locations/restorableDatabaseAccounts\",\r\n \"id\": \"/subscriptions/259fbb24-9bcd-4cfc-865c-fc33b22fe38a/providers/Microsoft.DocumentDB/locations/eastus2/restorableDatabaseAccounts/2301188f-cf13-419d-b7c2-5321c5476526\",\r\n \"properties\": {\r\n \"accountName\": \"restored-cosmosdb-1212\",\r\n \"apiType\": \"Sql\",\r\n \"creationTime\": \"2021-06-07T21:06:02Z\",\r\n \"restorableLocations\": [\r\n {\r\n \"locationName\": \"East US 2\",\r\n \"regionalDatabaseAccountInstanceId\": \"05b3f3ce-59ee-4d28-bd66-09ea5c50790d\",\r\n \"creationTime\": \"2021-06-07T21:06:02Z\"\r\n }\r\n ]\r\n }\r\n },\r\n {\r\n \"name\": \"24302a82-123a-487a-bede-054ade2860f1\",\r\n \"location\": \"East US 2\",\r\n \"type\": \"Microsoft.DocumentDB/locations/restorableDatabaseAccounts\",\r\n \"id\": \"/subscriptions/259fbb24-9bcd-4cfc-865c-fc33b22fe38a/providers/Microsoft.DocumentDB/locations/eastus2/restorableDatabaseAccounts/24302a82-123a-487a-bede-054ade2860f1\",\r\n \"properties\": {\r\n \"accountName\": \"dbaccount29-1\",\r\n \"apiType\": \"Sql\",\r\n \"creationTime\": \"2021-06-07T21:24:52Z\",\r\n \"restorableLocations\": [\r\n {\r\n \"locationName\": \"East US 2\",\r\n \"regionalDatabaseAccountInstanceId\": \"ede5fb9c-4058-44a6-8dec-29e3e7de9b44\",\r\n \"creationTime\": \"2021-06-07T21:24:53Z\"\r\n }\r\n ]\r\n }\r\n },\r\n {\r\n \"name\": \"e157f1a1-6837-46fa-8f4f-ef3e7266ab3a\",\r\n \"location\": \"East US 2\",\r\n \"type\": \"Microsoft.DocumentDB/locations/restorableDatabaseAccounts\",\r\n \"id\": \"/subscriptions/259fbb24-9bcd-4cfc-865c-fc33b22fe38a/providers/Microsoft.DocumentDB/locations/eastus2/restorableDatabaseAccounts/e157f1a1-6837-46fa-8f4f-ef3e7266ab3a\",\r\n \"properties\": {\r\n \"accountName\": \"rbactestps12\",\r\n \"apiType\": \"Sql\",\r\n \"creationTime\": \"2021-06-07T21:27:24Z\",\r\n \"restorableLocations\": [\r\n {\r\n \"locationName\": \"East US 2\",\r\n \"regionalDatabaseAccountInstanceId\": \"64c449c8-6fa2-4273-b066-5a062d4418be\",\r\n \"creationTime\": \"2021-06-07T21:27:24Z\"\r\n }\r\n ]\r\n }\r\n },\r\n {\r\n \"name\": \"72706ac1-0d0a-40be-a30a-1b4af0911131\",\r\n \"location\": \"East US 2\",\r\n \"type\": \"Microsoft.DocumentDB/locations/restorableDatabaseAccounts\",\r\n \"id\": \"/subscriptions/259fbb24-9bcd-4cfc-865c-fc33b22fe38a/providers/Microsoft.DocumentDB/locations/eastus2/restorableDatabaseAccounts/72706ac1-0d0a-40be-a30a-1b4af0911131\",\r\n \"properties\": {\r\n \"accountName\": \"mongo-db0002\",\r\n \"apiType\": \"MongoDB\",\r\n \"creationTime\": \"2021-06-07T23:44:54Z\",\r\n \"restorableLocations\": [\r\n {\r\n \"locationName\": \"East US 2\",\r\n \"regionalDatabaseAccountInstanceId\": \"dfccb705-08c0-4282-9dad-07ab354ba8e8\",\r\n \"creationTime\": \"2021-06-07T23:44:55Z\"\r\n }\r\n ]\r\n }\r\n },\r\n {\r\n \"name\": \"41ea7d9e-553f-4259-872f-676c969e9a0b\",\r\n \"location\": \"East US 2\",\r\n \"type\": \"Microsoft.DocumentDB/locations/restorableDatabaseAccounts\",\r\n \"id\": \"/subscriptions/259fbb24-9bcd-4cfc-865c-fc33b22fe38a/providers/Microsoft.DocumentDB/locations/eastus2/restorableDatabaseAccounts/41ea7d9e-553f-4259-872f-676c969e9a0b\",\r\n \"properties\": {\r\n \"accountName\": \"dbaccount27-1\",\r\n \"apiType\": \"Sql\",\r\n \"creationTime\": \"2021-06-08T17:39:46Z\",\r\n \"restorableLocations\": [\r\n {\r\n \"locationName\": \"East US 2\",\r\n \"regionalDatabaseAccountInstanceId\": \"1db9bff4-73f7-48e1-a506-ab5b3edc8308\",\r\n \"creationTime\": \"2021-06-08T17:39:47Z\"\r\n }\r\n ]\r\n }\r\n },\r\n {\r\n \"name\": \"ceacd38f-9e6b-4a81-b2f7-ecd341c6fbbd\",\r\n \"location\": \"East US 2\",\r\n \"type\": \"Microsoft.DocumentDB/locations/restorableDatabaseAccounts\",\r\n \"id\": \"/subscriptions/259fbb24-9bcd-4cfc-865c-fc33b22fe38a/providers/Microsoft.DocumentDB/locations/eastus2/restorableDatabaseAccounts/ceacd38f-9e6b-4a81-b2f7-ecd341c6fbbd\",\r\n \"properties\": {\r\n \"accountName\": \"cli125\",\r\n \"apiType\": \"Sql\",\r\n \"creationTime\": \"2021-06-09T19:06:13Z\",\r\n \"restorableLocations\": [\r\n {\r\n \"locationName\": \"East US 2\",\r\n \"regionalDatabaseAccountInstanceId\": \"c2a9bc5f-f37e-4add-a582-52abfb6a36a1\",\r\n \"creationTime\": \"2021-06-09T19:06:14Z\"\r\n }\r\n ]\r\n }\r\n },\r\n {\r\n \"name\": \"88d48073-10d1-402e-8cf5-c79e4e2de08e\",\r\n \"location\": \"East US 2\",\r\n \"type\": \"Microsoft.DocumentDB/locations/restorableDatabaseAccounts\",\r\n \"id\": \"/subscriptions/259fbb24-9bcd-4cfc-865c-fc33b22fe38a/providers/Microsoft.DocumentDB/locations/eastus2/restorableDatabaseAccounts/88d48073-10d1-402e-8cf5-c79e4e2de08e\",\r\n \"properties\": {\r\n \"accountName\": \"sqltestaccount123\",\r\n \"apiType\": \"Sql\",\r\n \"creationTime\": \"2021-06-09T19:09:54Z\",\r\n \"restorableLocations\": [\r\n {\r\n \"locationName\": \"East US 2\",\r\n \"regionalDatabaseAccountInstanceId\": \"861a2513-08ea-4cf8-817b-99b8282f5013\",\r\n \"creationTime\": \"2021-06-09T19:09:54Z\"\r\n }\r\n ]\r\n }\r\n },\r\n {\r\n \"name\": \"bb9b3beb-42c4-4ae4-a983-58e20bcd71a5\",\r\n \"location\": \"East US 2\",\r\n \"type\": \"Microsoft.DocumentDB/locations/restorableDatabaseAccounts\",\r\n \"id\": \"/subscriptions/259fbb24-9bcd-4cfc-865c-fc33b22fe38a/providers/Microsoft.DocumentDB/locations/eastus2/restorableDatabaseAccounts/bb9b3beb-42c4-4ae4-a983-58e20bcd71a5\",\r\n \"properties\": {\r\n \"accountName\": \"db003\",\r\n \"apiType\": \"MongoDB\",\r\n \"creationTime\": \"2021-06-09T20:16:40Z\",\r\n \"restorableLocations\": [\r\n {\r\n \"locationName\": \"East US 2\",\r\n \"regionalDatabaseAccountInstanceId\": \"a6dda878-4486-437f-bd72-b9e87bf75221\",\r\n \"creationTime\": \"2021-06-09T20:16:41Z\"\r\n }\r\n ]\r\n }\r\n },\r\n {\r\n \"name\": \"9f8ee54b-f275-44fa-b2c5-9983644c131f\",\r\n \"location\": \"East US 2\",\r\n \"type\": \"Microsoft.DocumentDB/locations/restorableDatabaseAccounts\",\r\n \"id\": \"/subscriptions/259fbb24-9bcd-4cfc-865c-fc33b22fe38a/providers/Microsoft.DocumentDB/locations/eastus2/restorableDatabaseAccounts/9f8ee54b-f275-44fa-b2c5-9983644c131f\",\r\n \"properties\": {\r\n \"accountName\": \"sqltestaccount124\",\r\n \"apiType\": \"Sql\",\r\n \"creationTime\": \"2021-06-10T05:06:02Z\",\r\n \"restorableLocations\": [\r\n {\r\n \"locationName\": \"East US 2\",\r\n \"regionalDatabaseAccountInstanceId\": \"3fe302ed-daee-401c-9897-250919f9a0fe\",\r\n \"creationTime\": \"2021-06-10T05:06:02Z\"\r\n }\r\n ]\r\n }\r\n },\r\n {\r\n \"name\": \"c2601a38-bee1-400e-bc5e-8d817318cf31\",\r\n \"location\": \"East US 2\",\r\n \"type\": \"Microsoft.DocumentDB/locations/restorableDatabaseAccounts\",\r\n \"id\": \"/subscriptions/259fbb24-9bcd-4cfc-865c-fc33b22fe38a/providers/Microsoft.DocumentDB/locations/eastus2/restorableDatabaseAccounts/c2601a38-bee1-400e-bc5e-8d817318cf31\",\r\n \"properties\": {\r\n \"accountName\": \"restoredaccountname7595\",\r\n \"apiType\": \"Sql\",\r\n \"creationTime\": \"2021-06-10T18:00:35Z\",\r\n \"restorableLocations\": [\r\n {\r\n \"locationName\": \"East US 2\",\r\n \"regionalDatabaseAccountInstanceId\": \"0a4ccb11-2cb5-4b81-8ab6-ea10cbb2290d\",\r\n \"creationTime\": \"2021-06-10T18:00:35Z\"\r\n }\r\n ]\r\n }\r\n },\r\n {\r\n \"name\": \"33035d50-7f15-4450-a71d-a4da4dcd039f\",\r\n \"location\": \"East US 2\",\r\n \"type\": \"Microsoft.DocumentDB/locations/restorableDatabaseAccounts\",\r\n \"id\": \"/subscriptions/259fbb24-9bcd-4cfc-865c-fc33b22fe38a/providers/Microsoft.DocumentDB/locations/eastus2/restorableDatabaseAccounts/33035d50-7f15-4450-a71d-a4da4dcd039f\",\r\n \"properties\": {\r\n \"accountName\": \"restoredaccountname4020\",\r\n \"apiType\": \"Sql\",\r\n \"creationTime\": \"2021-06-15T21:27:04Z\",\r\n \"restorableLocations\": [\r\n {\r\n \"locationName\": \"East US 2\",\r\n \"regionalDatabaseAccountInstanceId\": \"5d75295f-2ad7-451c-b27d-8e877e22b075\",\r\n \"creationTime\": \"2021-06-15T21:27:04Z\"\r\n }\r\n ]\r\n }\r\n },\r\n {\r\n \"name\": \"7d405124-1129-468e-9ff9-d031059c96bc\",\r\n \"location\": \"East US 2\",\r\n \"type\": \"Microsoft.DocumentDB/locations/restorableDatabaseAccounts\",\r\n \"id\": \"/subscriptions/259fbb24-9bcd-4cfc-865c-fc33b22fe38a/providers/Microsoft.DocumentDB/locations/eastus2/restorableDatabaseAccounts/7d405124-1129-468e-9ff9-d031059c96bc\",\r\n \"properties\": {\r\n \"accountName\": \"sqltestaccount\",\r\n \"apiType\": \"Sql\",\r\n \"creationTime\": \"2021-06-16T05:58:55Z\",\r\n \"restorableLocations\": [\r\n {\r\n \"locationName\": \"East US 2\",\r\n \"regionalDatabaseAccountInstanceId\": \"d0a6a03f-c045-4275-a38a-b221f5749051\",\r\n \"creationTime\": \"2021-06-16T05:58:55Z\"\r\n }\r\n ]\r\n }\r\n },\r\n {\r\n \"name\": \"d5fe116b-8a63-474e-88a4-afb2a726198e\",\r\n \"location\": \"East US 2\",\r\n \"type\": \"Microsoft.DocumentDB/locations/restorableDatabaseAccounts\",\r\n \"id\": \"/subscriptions/259fbb24-9bcd-4cfc-865c-fc33b22fe38a/providers/Microsoft.DocumentDB/locations/eastus2/restorableDatabaseAccounts/d5fe116b-8a63-474e-88a4-afb2a726198e\",\r\n \"properties\": {\r\n \"accountName\": \"cli127\",\r\n \"apiType\": \"Sql\",\r\n \"creationTime\": \"2021-06-16T06:57:39Z\",\r\n \"restorableLocations\": [\r\n {\r\n \"locationName\": \"East US 2\",\r\n \"regionalDatabaseAccountInstanceId\": \"f9a67f44-e6f6-4270-91c6-d90a0292ac96\",\r\n \"creationTime\": \"2021-06-16T06:57:39Z\"\r\n }\r\n ]\r\n }\r\n },\r\n {\r\n \"name\": \"1dfe47fb-822c-41f1-b403-1cf6c63d0ba7\",\r\n \"location\": \"East US 2\",\r\n \"type\": \"Microsoft.DocumentDB/locations/restorableDatabaseAccounts\",\r\n \"id\": \"/subscriptions/259fbb24-9bcd-4cfc-865c-fc33b22fe38a/providers/Microsoft.DocumentDB/locations/eastus2/restorableDatabaseAccounts/1dfe47fb-822c-41f1-b403-1cf6c63d0ba7\",\r\n \"properties\": {\r\n \"accountName\": \"restoredaccountname3766\",\r\n \"apiType\": \"Sql\",\r\n \"creationTime\": \"2021-06-16T07:16:12Z\",\r\n \"restorableLocations\": [\r\n {\r\n \"locationName\": \"East US 2\",\r\n \"regionalDatabaseAccountInstanceId\": \"1a05d833-615e-45b0-b2ec-f87ca4d9829c\",\r\n \"creationTime\": \"2021-06-16T07:16:12Z\"\r\n }\r\n ]\r\n }\r\n },\r\n {\r\n \"name\": \"c483a757-4d93-4d60-ae22-04c9d2c89595\",\r\n \"location\": \"East US 2\",\r\n \"type\": \"Microsoft.DocumentDB/locations/restorableDatabaseAccounts\",\r\n \"id\": \"/subscriptions/259fbb24-9bcd-4cfc-865c-fc33b22fe38a/providers/Microsoft.DocumentDB/locations/eastus2/restorableDatabaseAccounts/c483a757-4d93-4d60-ae22-04c9d2c89595\",\r\n \"properties\": {\r\n \"accountName\": \"restored2-cosmosdb-1212-1\",\r\n \"apiType\": \"Sql\",\r\n \"creationTime\": \"2021-06-04T22:17:44Z\",\r\n \"deletionTime\": \"2021-06-05T05:04:42Z\",\r\n \"restorableLocations\": [\r\n {\r\n \"locationName\": \"East US 2\",\r\n \"regionalDatabaseAccountInstanceId\": \"eb5e33f1-8ecf-42b7-9f3f-18784854fc5e\",\r\n \"creationTime\": \"2021-06-04T22:17:44Z\",\r\n \"deletionTime\": \"2021-06-05T05:04:42Z\"\r\n }\r\n ]\r\n }\r\n },\r\n {\r\n \"name\": \"80458ce3-9b06-4d87-9405-1f47eb88164f\",\r\n \"location\": \"East US 2\",\r\n \"type\": \"Microsoft.DocumentDB/locations/restorableDatabaseAccounts\",\r\n \"id\": \"/subscriptions/259fbb24-9bcd-4cfc-865c-fc33b22fe38a/providers/Microsoft.DocumentDB/locations/eastus2/restorableDatabaseAccounts/80458ce3-9b06-4d87-9405-1f47eb88164f\",\r\n \"properties\": {\r\n \"accountName\": \"dbaccount27-1\",\r\n \"apiType\": \"Sql\",\r\n \"creationTime\": \"2021-06-07T21:24:07Z\",\r\n \"deletionTime\": \"2021-06-07T22:30:24Z\",\r\n \"restorableLocations\": [\r\n {\r\n \"locationName\": \"East US 2\",\r\n \"regionalDatabaseAccountInstanceId\": \"a47823ea-6bce-4436-91a1-1dd14a1aa3a7\",\r\n \"creationTime\": \"2021-06-07T21:24:08Z\",\r\n \"deletionTime\": \"2021-06-07T22:30:24Z\"\r\n }\r\n ]\r\n }\r\n },\r\n {\r\n \"name\": \"3b44efa3-a7e6-414e-99c2-22d63aa1d778\",\r\n \"location\": \"East US 2\",\r\n \"type\": \"Microsoft.DocumentDB/locations/restorableDatabaseAccounts\",\r\n \"id\": \"/subscriptions/259fbb24-9bcd-4cfc-865c-fc33b22fe38a/providers/Microsoft.DocumentDB/locations/eastus2/restorableDatabaseAccounts/3b44efa3-a7e6-414e-99c2-22d63aa1d778\",\r\n \"properties\": {\r\n \"accountName\": \"cli126\",\r\n \"apiType\": \"Sql\",\r\n \"creationTime\": \"2021-06-10T05:07:44Z\",\r\n \"deletionTime\": \"2021-06-15T21:00:15Z\",\r\n \"restorableLocations\": [\r\n {\r\n \"locationName\": \"East US 2\",\r\n \"regionalDatabaseAccountInstanceId\": \"fbc82bdc-1493-4cc4-bd69-2c33c650e3ed\",\r\n \"creationTime\": \"2021-06-10T05:07:45Z\",\r\n \"deletionTime\": \"2021-06-15T21:00:15Z\"\r\n }\r\n ]\r\n }\r\n },\r\n {\r\n \"name\": \"3bf55696-9845-4ab5-b57c-f955a2ffe3ca\",\r\n \"location\": \"East US 2\",\r\n \"type\": \"Microsoft.DocumentDB/locations/restorableDatabaseAccounts\",\r\n \"id\": \"/subscriptions/259fbb24-9bcd-4cfc-865c-fc33b22fe38a/providers/Microsoft.DocumentDB/locations/eastus2/restorableDatabaseAccounts/3bf55696-9845-4ab5-b57c-f955a2ffe3ca\",\r\n \"properties\": {\r\n \"accountName\": \"sqltestaccount\",\r\n \"apiType\": \"Sql\",\r\n \"creationTime\": \"2021-06-01T23:24:19Z\",\r\n \"deletionTime\": \"2021-06-16T04:58:21Z\",\r\n \"restorableLocations\": [\r\n {\r\n \"locationName\": \"East US 2\",\r\n \"regionalDatabaseAccountInstanceId\": \"1062fb86-a396-4689-9326-83193cf2274b\",\r\n \"creationTime\": \"2021-06-01T23:24:20Z\",\r\n \"deletionTime\": \"2021-06-16T04:58:21Z\"\r\n }\r\n ]\r\n }\r\n }\r\n ]\r\n}", "StatusCode": 200 }, { - "RequestUri": "/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/providers/Microsoft.DocumentDB/locations/westus2/restorableDatabaseAccounts?api-version=2021-03-01-preview", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvODBiZTM5NjEtMDUyMS00YTBhLTg1NzAtNWNkNWE0ZTJmOThjL3Byb3ZpZGVycy9NaWNyb3NvZnQuRG9jdW1lbnREQi9sb2NhdGlvbnMvd2VzdHVzMi9yZXN0b3JhYmxlRGF0YWJhc2VBY2NvdW50cz9hcGktdmVyc2lvbj0yMDIxLTAzLTAxLXByZXZpZXc=", + "RequestUri": "/subscriptions/259fbb24-9bcd-4cfc-865c-fc33b22fe38a/providers/Microsoft.DocumentDB/locations/eastus2/restorableDatabaseAccounts?api-version=2021-06-15", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMjU5ZmJiMjQtOWJjZC00Y2ZjLTg2NWMtZmMzM2IyMmZlMzhhL3Byb3ZpZGVycy9NaWNyb3NvZnQuRG9jdW1lbnREQi9sb2NhdGlvbnMvZWFzdHVzMi9yZXN0b3JhYmxlRGF0YWJhc2VBY2NvdW50cz9hcGktdmVyc2lvbj0yMDIxLTA2LTE1", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { "x-ms-client-request-id": [ - "ddd68d38-fa22-417e-8d5d-77b7927da346" + "c028a7cc-8c99-4a93-8f08-bd0d35ff2da5" ], "Accept-Language": [ "en-US" ], "User-Agent": [ - "FxVersion/5.0.321.7212", + "FxVersion/4.6.28207.03", "OSName/Windows", - "OSVersion/Microsoft.Windows.10.0.19042", - "Microsoft.Azure.Management.CosmosDB.CosmosDBManagementClient/2.0.0.0" + "OSVersion/Microsoft.Windows.10.0.19043.", + "Microsoft.Azure.Management.CosmosDB.CosmosDBManagementClient/3.0.0.0" ] }, "ResponseHeaders": { @@ -288,56 +342,56 @@ "max-age=31536000; includeSubDomains" ], "x-ms-gatewayversion": [ - "version=2.11.0" + "version=2.14.0" ], "Server": [ "Microsoft-HTTPAPI/2.0" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "11997" + "11993" ], "x-ms-request-id": [ - "82359531-600a-48d2-9967-2e8ddc0d21d2" + "1cc10db3-c7d8-4f8c-857f-4a3b95f3b539" ], "x-ms-correlation-request-id": [ - "82359531-600a-48d2-9967-2e8ddc0d21d2" + "1cc10db3-c7d8-4f8c-857f-4a3b95f3b539" ], "x-ms-routing-request-id": [ - "WESTUS2:20210303T174946Z:82359531-600a-48d2-9967-2e8ddc0d21d2" + "WESTUS2:20210616T071623Z:1cc10db3-c7d8-4f8c-857f-4a3b95f3b539" ], "X-Content-Type-Options": [ "nosniff" ], "Date": [ - "Wed, 03 Mar 2021 17:49:45 GMT" + "Wed, 16 Jun 2021 07:16:22 GMT" ], "Content-Length": [ - "15499" + "13637" ], "Content-Type": [ "application/json" ] }, - "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"name\": \"5dee0717-8f84-40d7-b7c1-921552ba61a5\",\r\n \"location\": \"West US 2\",\r\n \"type\": \"Microsoft.DocumentDB/locations/restorableDatabaseAccounts\",\r\n \"id\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/providers/Microsoft.DocumentDB/locations/westus2/restorableDatabaseAccounts/5dee0717-8f84-40d7-b7c1-921552ba61a5\",\r\n \"properties\": {\r\n \"accountName\": \"vinhstagepitr\",\r\n \"apiType\": \"Sql\",\r\n \"creationTime\": \"2020-11-02T23:44:14Z\",\r\n \"restorableLocations\": [\r\n {\r\n \"locationName\": \"West US 2\",\r\n \"regionalDatabaseAccountInstanceId\": \"30d6cace-8354-4e1f-b427-4f234f46df87\",\r\n \"creationTime\": \"2020-11-02T23:44:14Z\"\r\n }\r\n ]\r\n }\r\n },\r\n {\r\n \"name\": \"5cfa410f-ea0c-4995-aa59-9809a69c21f8\",\r\n \"location\": \"West US 2\",\r\n \"type\": \"Microsoft.DocumentDB/locations/restorableDatabaseAccounts\",\r\n \"id\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/providers/Microsoft.DocumentDB/locations/westus2/restorableDatabaseAccounts/5cfa410f-ea0c-4995-aa59-9809a69c21f8\",\r\n \"properties\": {\r\n \"accountName\": \"vinhstagemongopitr\",\r\n \"apiType\": \"MongoDB\",\r\n \"creationTime\": \"2020-11-25T17:07:33Z\",\r\n \"restorableLocations\": [\r\n {\r\n \"locationName\": \"West US 2\",\r\n \"regionalDatabaseAccountInstanceId\": \"4ecfc265-e4d3-4638-a225-1932760404ee\",\r\n \"creationTime\": \"2020-11-25T17:07:34Z\"\r\n }\r\n ]\r\n }\r\n },\r\n {\r\n \"name\": \"2b5e6412-19dc-4d79-88ae-178f5e30dd78\",\r\n \"location\": \"West US 2\",\r\n \"type\": \"Microsoft.DocumentDB/locations/restorableDatabaseAccounts\",\r\n \"id\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/providers/Microsoft.DocumentDB/locations/westus2/restorableDatabaseAccounts/2b5e6412-19dc-4d79-88ae-178f5e30dd78\",\r\n \"properties\": {\r\n \"accountName\": \"test-virangai-vinhstagemongopitr-del-res1\",\r\n \"apiType\": \"MongoDB\",\r\n \"creationTime\": \"2020-11-30T23:17:02Z\",\r\n \"restorableLocations\": [\r\n {\r\n \"locationName\": \"West US 2\",\r\n \"regionalDatabaseAccountInstanceId\": \"a35683c3-cf9b-4378-a290-fb3ab8e741f9\",\r\n \"creationTime\": \"2020-11-30T23:17:02Z\"\r\n }\r\n ]\r\n }\r\n },\r\n {\r\n \"name\": \"9a4b63c3-49d1-4c87-b28e-92e92aeaa0ea\",\r\n \"location\": \"West US 2\",\r\n \"type\": \"Microsoft.DocumentDB/locations/restorableDatabaseAccounts\",\r\n \"id\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/providers/Microsoft.DocumentDB/locations/westus2/restorableDatabaseAccounts/9a4b63c3-49d1-4c87-b28e-92e92aeaa0ea\",\r\n \"properties\": {\r\n \"accountName\": \"pitr-sql-stage-source\",\r\n \"apiType\": \"Sql\",\r\n \"creationTime\": \"2020-12-08T18:18:47Z\",\r\n \"restorableLocations\": [\r\n {\r\n \"locationName\": \"West US 2\",\r\n \"regionalDatabaseAccountInstanceId\": \"f61a9ed3-fcda-4603-b1e2-2baadbb6122b\",\r\n \"creationTime\": \"2020-12-08T18:18:47Z\"\r\n },\r\n {\r\n \"locationName\": \"East US 2\",\r\n \"regionalDatabaseAccountInstanceId\": \"cdd116b8-a956-43d5-b461-248f837099f4\",\r\n \"creationTime\": \"2020-12-14T21:35:14Z\"\r\n }\r\n ]\r\n }\r\n },\r\n {\r\n \"name\": \"7d98d6c0-eadf-4d7e-a166-696de37c91fc\",\r\n \"location\": \"West US 2\",\r\n \"type\": \"Microsoft.DocumentDB/locations/restorableDatabaseAccounts\",\r\n \"id\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/providers/Microsoft.DocumentDB/locations/westus2/restorableDatabaseAccounts/7d98d6c0-eadf-4d7e-a166-696de37c91fc\",\r\n \"properties\": {\r\n \"accountName\": \"restore-test1\",\r\n \"apiType\": \"Sql\",\r\n \"creationTime\": \"2020-12-08T21:44:47Z\",\r\n \"restorableLocations\": [\r\n {\r\n \"locationName\": \"West US 2\",\r\n \"regionalDatabaseAccountInstanceId\": \"208a7933-2e44-4df1-9c96-97e28ae92d8f\",\r\n \"creationTime\": \"2020-12-08T21:44:47Z\"\r\n }\r\n ]\r\n }\r\n },\r\n {\r\n \"name\": \"08155af7-e63f-4db1-82ed-c99b8a08e541\",\r\n \"location\": \"West US 2\",\r\n \"type\": \"Microsoft.DocumentDB/locations/restorableDatabaseAccounts\",\r\n \"id\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/providers/Microsoft.DocumentDB/locations/westus2/restorableDatabaseAccounts/08155af7-e63f-4db1-82ed-c99b8a08e541\",\r\n \"properties\": {\r\n \"accountName\": \"test-virangai-vinhstagemongopitr-1\",\r\n \"apiType\": \"MongoDB\",\r\n \"creationTime\": \"2020-12-09T10:37:08Z\",\r\n \"restorableLocations\": [\r\n {\r\n \"locationName\": \"West US 2\",\r\n \"regionalDatabaseAccountInstanceId\": \"8c045a40-c3b5-4025-a270-156b748fd08b\",\r\n \"creationTime\": \"2020-12-09T10:37:08Z\"\r\n }\r\n ]\r\n }\r\n },\r\n {\r\n \"name\": \"d0cb2ece-f253-4f20-86d0-01897e729eba\",\r\n \"location\": \"West US 2\",\r\n \"type\": \"Microsoft.DocumentDB/locations/restorableDatabaseAccounts\",\r\n \"id\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/providers/Microsoft.DocumentDB/locations/westus2/restorableDatabaseAccounts/d0cb2ece-f253-4f20-86d0-01897e729eba\",\r\n \"properties\": {\r\n \"accountName\": \"virangai-test-vinhstagepitr-restore1\",\r\n \"apiType\": \"Sql\",\r\n \"creationTime\": \"2020-12-10T02:08:18Z\",\r\n \"restorableLocations\": [\r\n {\r\n \"locationName\": \"West US 2\",\r\n \"regionalDatabaseAccountInstanceId\": \"d4a86ba4-38f5-46ba-b0ae-724d5508b551\",\r\n \"creationTime\": \"2020-12-10T02:08:18Z\"\r\n }\r\n ]\r\n }\r\n },\r\n {\r\n \"name\": \"9373a8d7-1889-4be9-9ddb-e589e406d04b\",\r\n \"location\": \"West US 2\",\r\n \"type\": \"Microsoft.DocumentDB/locations/restorableDatabaseAccounts\",\r\n \"id\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/providers/Microsoft.DocumentDB/locations/westus2/restorableDatabaseAccounts/9373a8d7-1889-4be9-9ddb-e589e406d04b\",\r\n \"properties\": {\r\n \"accountName\": \"virangai-test-vinhstagepitr-restore2\",\r\n \"apiType\": \"Sql\",\r\n \"creationTime\": \"2020-12-10T03:12:31Z\",\r\n \"restorableLocations\": [\r\n {\r\n \"locationName\": \"West US 2\",\r\n \"regionalDatabaseAccountInstanceId\": \"c2374cdf-00cc-42e3-887e-4824532ff3e7\",\r\n \"creationTime\": \"2020-12-10T03:12:31Z\"\r\n }\r\n ]\r\n }\r\n },\r\n {\r\n \"name\": \"530b269d-274b-4987-94e1-f54b09abecff\",\r\n \"location\": \"West US 2\",\r\n \"type\": \"Microsoft.DocumentDB/locations/restorableDatabaseAccounts\",\r\n \"id\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/providers/Microsoft.DocumentDB/locations/westus2/restorableDatabaseAccounts/530b269d-274b-4987-94e1-f54b09abecff\",\r\n \"properties\": {\r\n \"accountName\": \"restoredaccountname637435832535194992\",\r\n \"apiType\": \"Sql\",\r\n \"creationTime\": \"2020-12-15T23:04:01Z\",\r\n \"restorableLocations\": [\r\n {\r\n \"locationName\": \"West US 2\",\r\n \"regionalDatabaseAccountInstanceId\": \"257c2c07-efcb-47b2-b696-6ba5ca9785b0\",\r\n \"creationTime\": \"2020-12-15T23:04:01Z\"\r\n }\r\n ]\r\n }\r\n },\r\n {\r\n \"name\": \"4993c7e8-c48b-4e45-9353-9baea1ce9e2a\",\r\n \"location\": \"West US 2\",\r\n \"type\": \"Microsoft.DocumentDB/locations/restorableDatabaseAccounts\",\r\n \"id\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/providers/Microsoft.DocumentDB/locations/westus2/restorableDatabaseAccounts/4993c7e8-c48b-4e45-9353-9baea1ce9e2a\",\r\n \"properties\": {\r\n \"accountName\": \"restoredaccountname359\",\r\n \"apiType\": \"Sql\",\r\n \"creationTime\": \"2020-12-16T00:51:06Z\",\r\n \"restorableLocations\": [\r\n {\r\n \"locationName\": \"West US 2\",\r\n \"regionalDatabaseAccountInstanceId\": \"f964f331-3322-4719-946a-a8f4e406ca14\",\r\n \"creationTime\": \"2020-12-16T00:51:06Z\"\r\n }\r\n ]\r\n }\r\n },\r\n {\r\n \"name\": \"d673eaa8-f7fa-421f-9d61-ba314864a431\",\r\n \"location\": \"West US 2\",\r\n \"type\": \"Microsoft.DocumentDB/locations/restorableDatabaseAccounts\",\r\n \"id\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/providers/Microsoft.DocumentDB/locations/westus2/restorableDatabaseAccounts/d673eaa8-f7fa-421f-9d61-ba314864a431\",\r\n \"properties\": {\r\n \"accountName\": \"pitr-sql-stage-restored-from-new-portal\",\r\n \"apiType\": \"Sql\",\r\n \"creationTime\": \"2021-01-05T00:28:34Z\",\r\n \"restorableLocations\": [\r\n {\r\n \"locationName\": \"West US 2\",\r\n \"regionalDatabaseAccountInstanceId\": \"a09d2f05-b90f-4a76-96c5-ef49edadbbae\",\r\n \"creationTime\": \"2021-01-05T00:28:34Z\"\r\n }\r\n ]\r\n }\r\n },\r\n {\r\n \"name\": \"6d6384ae-d623-4323-8388-65ca7df02733\",\r\n \"location\": \"West US 2\",\r\n \"type\": \"Microsoft.DocumentDB/locations/restorableDatabaseAccounts\",\r\n \"id\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/providers/Microsoft.DocumentDB/locations/westus2/restorableDatabaseAccounts/6d6384ae-d623-4323-8388-65ca7df02733\",\r\n \"properties\": {\r\n \"accountName\": \"pitrtest1-res1\",\r\n \"apiType\": \"Sql\",\r\n \"creationTime\": \"2021-01-05T23:45:55Z\",\r\n \"restorableLocations\": [\r\n {\r\n \"locationName\": \"West US 2\",\r\n \"regionalDatabaseAccountInstanceId\": \"2b92bb0a-1fa9-43c2-b8a7-b25d209d25c1\",\r\n \"creationTime\": \"2021-01-05T23:45:55Z\"\r\n }\r\n ]\r\n }\r\n },\r\n {\r\n \"name\": \"0bcf9a9b-1ca1-4406-9652-aa087d5f0b3f\",\r\n \"location\": \"West US 2\",\r\n \"type\": \"Microsoft.DocumentDB/locations/restorableDatabaseAccounts\",\r\n \"id\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/providers/Microsoft.DocumentDB/locations/westus2/restorableDatabaseAccounts/0bcf9a9b-1ca1-4406-9652-aa087d5f0b3f\",\r\n \"properties\": {\r\n \"accountName\": \"pitrtest1-res2\",\r\n \"apiType\": \"Sql\",\r\n \"creationTime\": \"2021-01-05T23:46:37Z\",\r\n \"restorableLocations\": [\r\n {\r\n \"locationName\": \"West US 2\",\r\n \"regionalDatabaseAccountInstanceId\": \"d666fcfb-319c-4c5d-a2b8-27ae6cc9233f\",\r\n \"creationTime\": \"2021-01-05T23:46:37Z\"\r\n }\r\n ]\r\n }\r\n },\r\n {\r\n \"name\": \"b15e30f1-4e37-4fca-b77b-303516959017\",\r\n \"location\": \"West US 2\",\r\n \"type\": \"Microsoft.DocumentDB/locations/restorableDatabaseAccounts\",\r\n \"id\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/providers/Microsoft.DocumentDB/locations/westus2/restorableDatabaseAccounts/b15e30f1-4e37-4fca-b77b-303516959017\",\r\n \"properties\": {\r\n \"accountName\": \"test-virangai-vinhstagepitr-1\",\r\n \"apiType\": \"Sql\",\r\n \"creationTime\": \"2021-01-06T09:24:07Z\",\r\n \"restorableLocations\": [\r\n {\r\n \"locationName\": \"West US 2\",\r\n \"regionalDatabaseAccountInstanceId\": \"8203b929-83ed-496a-8e6b-8a291aba9a32\",\r\n \"creationTime\": \"2021-01-06T09:24:07Z\"\r\n }\r\n ]\r\n }\r\n },\r\n {\r\n \"name\": \"617f5c88-2a93-45b4-be38-0cd7addea976\",\r\n \"location\": \"West US 2\",\r\n \"type\": \"Microsoft.DocumentDB/locations/restorableDatabaseAccounts\",\r\n \"id\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/providers/Microsoft.DocumentDB/locations/westus2/restorableDatabaseAccounts/617f5c88-2a93-45b4-be38-0cd7addea976\",\r\n \"properties\": {\r\n \"accountName\": \"test-virangai-vinhstagepitr-2\",\r\n \"apiType\": \"Sql\",\r\n \"creationTime\": \"2021-01-06T09:33:06Z\",\r\n \"restorableLocations\": [\r\n {\r\n \"locationName\": \"West US 2\",\r\n \"regionalDatabaseAccountInstanceId\": \"e54058dc-c9ec-4393-9b62-3c4a764d9dda\",\r\n \"creationTime\": \"2021-01-06T09:33:06Z\"\r\n }\r\n ]\r\n }\r\n },\r\n {\r\n \"name\": \"2eecc23f-69df-4de3-9103-b6ca529536a4\",\r\n \"location\": \"West US 2\",\r\n \"type\": \"Microsoft.DocumentDB/locations/restorableDatabaseAccounts\",\r\n \"id\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/providers/Microsoft.DocumentDB/locations/westus2/restorableDatabaseAccounts/2eecc23f-69df-4de3-9103-b6ca529536a4\",\r\n \"properties\": {\r\n \"accountName\": \"test-restore-4\",\r\n \"apiType\": \"Sql\",\r\n \"creationTime\": \"2021-01-07T01:23:39Z\",\r\n \"restorableLocations\": [\r\n {\r\n \"locationName\": \"West US 2\",\r\n \"regionalDatabaseAccountInstanceId\": \"80c0209c-f89b-41b6-8cc2-5edad302caaf\",\r\n \"creationTime\": \"2021-01-07T01:23:39Z\"\r\n }\r\n ]\r\n }\r\n },\r\n {\r\n \"name\": \"d91e1ad2-22b0-401e-b465-a16e5928e194\",\r\n \"location\": \"West US 2\",\r\n \"type\": \"Microsoft.DocumentDB/locations/restorableDatabaseAccounts\",\r\n \"id\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/providers/Microsoft.DocumentDB/locations/westus2/restorableDatabaseAccounts/d91e1ad2-22b0-401e-b465-a16e5928e194\",\r\n \"properties\": {\r\n \"accountName\": \"test-restore5\",\r\n \"apiType\": \"Sql\",\r\n \"creationTime\": \"2021-01-07T01:23:40Z\",\r\n \"restorableLocations\": [\r\n {\r\n \"locationName\": \"West US 2\",\r\n \"regionalDatabaseAccountInstanceId\": \"793334c5-2123-41a5-a382-7b5aade5bb82\",\r\n \"creationTime\": \"2021-01-07T01:23:40Z\"\r\n }\r\n ]\r\n }\r\n },\r\n {\r\n \"name\": \"132908b6-2701-44a5-bdbe-a7c296e26283\",\r\n \"location\": \"West US 2\",\r\n \"type\": \"Microsoft.DocumentDB/locations/restorableDatabaseAccounts\",\r\n \"id\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/providers/Microsoft.DocumentDB/locations/westus2/restorableDatabaseAccounts/132908b6-2701-44a5-bdbe-a7c296e26283\",\r\n \"properties\": {\r\n \"accountName\": \"test-restore6\",\r\n \"apiType\": \"Sql\",\r\n \"creationTime\": \"2021-01-07T03:18:46Z\",\r\n \"restorableLocations\": [\r\n {\r\n \"locationName\": \"West US 2\",\r\n \"regionalDatabaseAccountInstanceId\": \"a8bcc661-cdd0-4fb6-b011-ce4fb922930d\",\r\n \"creationTime\": \"2021-01-07T03:18:46Z\"\r\n }\r\n ]\r\n }\r\n },\r\n {\r\n \"name\": \"2ab6f2d2-ce7e-439b-90b3-5505c8f9ff76\",\r\n \"location\": \"West US 2\",\r\n \"type\": \"Microsoft.DocumentDB/locations/restorableDatabaseAccounts\",\r\n \"id\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/providers/Microsoft.DocumentDB/locations/westus2/restorableDatabaseAccounts/2ab6f2d2-ce7e-439b-90b3-5505c8f9ff76\",\r\n \"properties\": {\r\n \"accountName\": \"pitr-sql-stage-source-personalrestore-greeen\",\r\n \"apiType\": \"Sql\",\r\n \"creationTime\": \"2021-01-15T22:51:59Z\",\r\n \"restorableLocations\": [\r\n {\r\n \"locationName\": \"West US 2\",\r\n \"regionalDatabaseAccountInstanceId\": \"8b3376be-21d5-43db-ad08-7fa9e3f3ad5b\",\r\n \"creationTime\": \"2021-01-15T22:51:59Z\"\r\n }\r\n ]\r\n }\r\n },\r\n {\r\n \"name\": \"483d93e5-302b-4093-9502-ce63d416e70f\",\r\n \"location\": \"West US 2\",\r\n \"type\": \"Microsoft.DocumentDB/locations/restorableDatabaseAccounts\",\r\n \"id\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/providers/Microsoft.DocumentDB/locations/westus2/restorableDatabaseAccounts/483d93e5-302b-4093-9502-ce63d416e70f\",\r\n \"properties\": {\r\n \"accountName\": \"targetacctrestore\",\r\n \"apiType\": \"Sql\",\r\n \"creationTime\": \"2021-02-18T18:30:14Z\",\r\n \"restorableLocations\": [\r\n {\r\n \"locationName\": \"West US 2\",\r\n \"regionalDatabaseAccountInstanceId\": \"cb6a3895-5ded-43ee-a6a8-91d9050f5582\",\r\n \"creationTime\": \"2021-02-18T18:30:14Z\"\r\n }\r\n ]\r\n }\r\n },\r\n {\r\n \"name\": \"74e9ac09-75d3-448a-a128-e71866b42e95\",\r\n \"location\": \"West US 2\",\r\n \"type\": \"Microsoft.DocumentDB/locations/restorableDatabaseAccounts\",\r\n \"id\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/providers/Microsoft.DocumentDB/locations/westus2/restorableDatabaseAccounts/74e9ac09-75d3-448a-a128-e71866b42e95\",\r\n \"properties\": {\r\n \"accountName\": \"virangai-test-vinhstagepitr-res\",\r\n \"apiType\": \"Sql\",\r\n \"creationTime\": \"2021-02-26T22:14:50Z\",\r\n \"restorableLocations\": [\r\n {\r\n \"locationName\": \"West US 2\",\r\n \"regionalDatabaseAccountInstanceId\": \"40e6110d-0ae4-4e40-9d6e-33014540e179\",\r\n \"creationTime\": \"2021-02-26T22:14:50Z\"\r\n }\r\n ]\r\n }\r\n },\r\n {\r\n \"name\": \"24f3f6b6-9d96-4dc2-84b9-ae1c0cba8d4e\",\r\n \"location\": \"West US 2\",\r\n \"type\": \"Microsoft.DocumentDB/locations/restorableDatabaseAccounts\",\r\n \"id\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/providers/Microsoft.DocumentDB/locations/westus2/restorableDatabaseAccounts/24f3f6b6-9d96-4dc2-84b9-ae1c0cba8d4e\",\r\n \"properties\": {\r\n \"accountName\": \"restoredaccountname8240\",\r\n \"apiType\": \"Sql\",\r\n \"creationTime\": \"2021-03-02T23:44:13Z\",\r\n \"restorableLocations\": [\r\n {\r\n \"locationName\": \"West US 2\",\r\n \"regionalDatabaseAccountInstanceId\": \"c2df5fa4-a593-48f2-8417-9f5f4bb9ef56\",\r\n \"creationTime\": \"2021-03-02T23:44:13Z\"\r\n }\r\n ]\r\n }\r\n },\r\n {\r\n \"name\": \"f319c2f4-7e68-48c0-9eac-94e12fb51179\",\r\n \"location\": \"West US 2\",\r\n \"type\": \"Microsoft.DocumentDB/locations/restorableDatabaseAccounts\",\r\n \"id\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/providers/Microsoft.DocumentDB/locations/westus2/restorableDatabaseAccounts/f319c2f4-7e68-48c0-9eac-94e12fb51179\",\r\n \"properties\": {\r\n \"accountName\": \"restoredaccountname320\",\r\n \"apiType\": \"Sql\",\r\n \"creationTime\": \"2021-03-03T00:59:34Z\",\r\n \"restorableLocations\": [\r\n {\r\n \"locationName\": \"West US 2\",\r\n \"regionalDatabaseAccountInstanceId\": \"005c7a8b-fffd-4106-a2f5-0b4f58b1942a\",\r\n \"creationTime\": \"2021-03-03T00:59:34Z\"\r\n }\r\n ]\r\n }\r\n },\r\n {\r\n \"name\": \"672e89ce-0096-4a87-8131-3d2d5d483a3a\",\r\n \"location\": \"West US 2\",\r\n \"type\": \"Microsoft.DocumentDB/locations/restorableDatabaseAccounts\",\r\n \"id\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/providers/Microsoft.DocumentDB/locations/westus2/restorableDatabaseAccounts/672e89ce-0096-4a87-8131-3d2d5d483a3a\",\r\n \"properties\": {\r\n \"accountName\": \"restoredaccountname6982\",\r\n \"apiType\": \"Sql\",\r\n \"creationTime\": \"2021-03-03T02:34:06Z\",\r\n \"restorableLocations\": [\r\n {\r\n \"locationName\": \"West US 2\",\r\n \"regionalDatabaseAccountInstanceId\": \"f30afdfa-9473-4658-83c4-5067be2232db\",\r\n \"creationTime\": \"2021-03-03T02:34:06Z\"\r\n }\r\n ]\r\n }\r\n },\r\n {\r\n \"name\": \"1a937e8e-1a33-4fd1-9349-34ede3dd02f2\",\r\n \"location\": \"West US 2\",\r\n \"type\": \"Microsoft.DocumentDB/locations/restorableDatabaseAccounts\",\r\n \"id\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/providers/Microsoft.DocumentDB/locations/westus2/restorableDatabaseAccounts/1a937e8e-1a33-4fd1-9349-34ede3dd02f2\",\r\n \"properties\": {\r\n \"accountName\": \"restoredaccountname8295\",\r\n \"apiType\": \"Sql\",\r\n \"creationTime\": \"2021-03-03T17:48:45Z\",\r\n \"restorableLocations\": [\r\n {\r\n \"locationName\": \"West US 2\",\r\n \"regionalDatabaseAccountInstanceId\": \"0057f632-aaa2-44a6-92bf-c2e623403f52\",\r\n \"creationTime\": \"2021-03-03T17:48:45Z\"\r\n }\r\n ]\r\n }\r\n },\r\n {\r\n \"name\": \"4d0ae23d-5661-4c5a-ae37-48aa6308425b\",\r\n \"location\": \"West US 2\",\r\n \"type\": \"Microsoft.DocumentDB/locations/restorableDatabaseAccounts\",\r\n \"id\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/providers/Microsoft.DocumentDB/locations/westus2/restorableDatabaseAccounts/4d0ae23d-5661-4c5a-ae37-48aa6308425b\",\r\n \"properties\": {\r\n \"accountName\": \"stage-validation-pitr-test0\",\r\n \"apiType\": \"Sql\",\r\n \"creationTime\": \"2021-02-10T07:55:12Z\",\r\n \"deletionTime\": \"2021-02-10T14:21:37Z\",\r\n \"restorableLocations\": [\r\n {\r\n \"locationName\": \"West US 2\",\r\n \"regionalDatabaseAccountInstanceId\": \"26d7f01f-3f0c-4eb6-80a2-f5776f929f12\",\r\n \"creationTime\": \"2021-02-10T07:55:13Z\",\r\n \"deletionTime\": \"2021-02-10T14:21:37Z\"\r\n }\r\n ]\r\n }\r\n }\r\n ]\r\n}", + "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"name\": \"fccbe297-cb19-424b-a8d7-e996a6b7b689\",\r\n \"location\": \"East US 2\",\r\n \"type\": \"Microsoft.DocumentDB/locations/restorableDatabaseAccounts\",\r\n \"id\": \"/subscriptions/259fbb24-9bcd-4cfc-865c-fc33b22fe38a/providers/Microsoft.DocumentDB/locations/eastus2/restorableDatabaseAccounts/fccbe297-cb19-424b-a8d7-e996a6b7b689\",\r\n \"properties\": {\r\n \"accountName\": \"mongotestaccount\",\r\n \"apiType\": \"MongoDB\",\r\n \"creationTime\": \"2021-06-02T19:34:26Z\",\r\n \"restorableLocations\": [\r\n {\r\n \"locationName\": \"East US 2\",\r\n \"regionalDatabaseAccountInstanceId\": \"9f8cab0e-80f5-48b6-bc9f-7f7b3a69afeb\",\r\n \"creationTime\": \"2021-06-02T19:34:27Z\"\r\n }\r\n ]\r\n }\r\n },\r\n {\r\n \"name\": \"c6b53e1d-0dec-4ff2-ab70-2e9d24a3ed27\",\r\n \"location\": \"East US 2\",\r\n \"type\": \"Microsoft.DocumentDB/locations/restorableDatabaseAccounts\",\r\n \"id\": \"/subscriptions/259fbb24-9bcd-4cfc-865c-fc33b22fe38a/providers/Microsoft.DocumentDB/locations/eastus2/restorableDatabaseAccounts/c6b53e1d-0dec-4ff2-ab70-2e9d24a3ed27\",\r\n \"properties\": {\r\n \"accountName\": \"pitr-sql-stage-source\",\r\n \"apiType\": \"Sql\",\r\n \"creationTime\": \"2021-06-02T23:30:43Z\",\r\n \"restorableLocations\": [\r\n {\r\n \"locationName\": \"East US 2\",\r\n \"regionalDatabaseAccountInstanceId\": \"9961d453-89c2-4daf-bcad-add22d287617\",\r\n \"creationTime\": \"2021-06-02T23:30:43Z\"\r\n }\r\n ]\r\n }\r\n },\r\n {\r\n \"name\": \"990590c0-4db8-4b0e-96ef-55f0be03615d\",\r\n \"location\": \"East US 2\",\r\n \"type\": \"Microsoft.DocumentDB/locations/restorableDatabaseAccounts\",\r\n \"id\": \"/subscriptions/259fbb24-9bcd-4cfc-865c-fc33b22fe38a/providers/Microsoft.DocumentDB/locations/eastus2/restorableDatabaseAccounts/990590c0-4db8-4b0e-96ef-55f0be03615d\",\r\n \"properties\": {\r\n \"accountName\": \"pitr-mongo32-stage-source\",\r\n \"apiType\": \"MongoDB\",\r\n \"creationTime\": \"2021-06-02T23:32:31Z\",\r\n \"restorableLocations\": [\r\n {\r\n \"locationName\": \"East US 2\",\r\n \"regionalDatabaseAccountInstanceId\": \"2d0a8ae4-e622-429c-a2bf-b7b13ada7b45\",\r\n \"creationTime\": \"2021-06-02T23:32:32Z\"\r\n }\r\n ]\r\n }\r\n },\r\n {\r\n \"name\": \"60a54911-db9e-436f-b282-34779e0a2a7f\",\r\n \"location\": \"East US 2\",\r\n \"type\": \"Microsoft.DocumentDB/locations/restorableDatabaseAccounts\",\r\n \"id\": \"/subscriptions/259fbb24-9bcd-4cfc-865c-fc33b22fe38a/providers/Microsoft.DocumentDB/locations/eastus2/restorableDatabaseAccounts/60a54911-db9e-436f-b282-34779e0a2a7f\",\r\n \"properties\": {\r\n \"accountName\": \"pitr-mongo36-stage-source\",\r\n \"apiType\": \"MongoDB\",\r\n \"creationTime\": \"2021-06-02T23:33:01Z\",\r\n \"restorableLocations\": [\r\n {\r\n \"locationName\": \"East US 2\",\r\n \"regionalDatabaseAccountInstanceId\": \"32163288-85a4-454b-a7d7-d7fbb1f32aeb\",\r\n \"creationTime\": \"2021-06-02T23:33:02Z\"\r\n }\r\n ]\r\n }\r\n },\r\n {\r\n \"name\": \"b0736fc7-cb53-4b6f-bd2f-aac904085da4\",\r\n \"location\": \"East US 2\",\r\n \"type\": \"Microsoft.DocumentDB/locations/restorableDatabaseAccounts\",\r\n \"id\": \"/subscriptions/259fbb24-9bcd-4cfc-865c-fc33b22fe38a/providers/Microsoft.DocumentDB/locations/eastus2/restorableDatabaseAccounts/b0736fc7-cb53-4b6f-bd2f-aac904085da4\",\r\n \"properties\": {\r\n \"accountName\": \"mongo-continuous-1212\",\r\n \"apiType\": \"MongoDB\",\r\n \"creationTime\": \"2021-06-04T22:09:26Z\",\r\n \"restorableLocations\": [\r\n {\r\n \"locationName\": \"East US 2\",\r\n \"regionalDatabaseAccountInstanceId\": \"a1f3383c-4e2f-44b5-8348-7323e2356b3d\",\r\n \"creationTime\": \"2021-06-04T22:09:26Z\"\r\n }\r\n ]\r\n }\r\n },\r\n {\r\n \"name\": \"2301188f-cf13-419d-b7c2-5321c5476526\",\r\n \"location\": \"East US 2\",\r\n \"type\": \"Microsoft.DocumentDB/locations/restorableDatabaseAccounts\",\r\n \"id\": \"/subscriptions/259fbb24-9bcd-4cfc-865c-fc33b22fe38a/providers/Microsoft.DocumentDB/locations/eastus2/restorableDatabaseAccounts/2301188f-cf13-419d-b7c2-5321c5476526\",\r\n \"properties\": {\r\n \"accountName\": \"restored-cosmosdb-1212\",\r\n \"apiType\": \"Sql\",\r\n \"creationTime\": \"2021-06-07T21:06:02Z\",\r\n \"restorableLocations\": [\r\n {\r\n \"locationName\": \"East US 2\",\r\n \"regionalDatabaseAccountInstanceId\": \"05b3f3ce-59ee-4d28-bd66-09ea5c50790d\",\r\n \"creationTime\": \"2021-06-07T21:06:02Z\"\r\n }\r\n ]\r\n }\r\n },\r\n {\r\n \"name\": \"24302a82-123a-487a-bede-054ade2860f1\",\r\n \"location\": \"East US 2\",\r\n \"type\": \"Microsoft.DocumentDB/locations/restorableDatabaseAccounts\",\r\n \"id\": \"/subscriptions/259fbb24-9bcd-4cfc-865c-fc33b22fe38a/providers/Microsoft.DocumentDB/locations/eastus2/restorableDatabaseAccounts/24302a82-123a-487a-bede-054ade2860f1\",\r\n \"properties\": {\r\n \"accountName\": \"dbaccount29-1\",\r\n \"apiType\": \"Sql\",\r\n \"creationTime\": \"2021-06-07T21:24:52Z\",\r\n \"restorableLocations\": [\r\n {\r\n \"locationName\": \"East US 2\",\r\n \"regionalDatabaseAccountInstanceId\": \"ede5fb9c-4058-44a6-8dec-29e3e7de9b44\",\r\n \"creationTime\": \"2021-06-07T21:24:53Z\"\r\n }\r\n ]\r\n }\r\n },\r\n {\r\n \"name\": \"e157f1a1-6837-46fa-8f4f-ef3e7266ab3a\",\r\n \"location\": \"East US 2\",\r\n \"type\": \"Microsoft.DocumentDB/locations/restorableDatabaseAccounts\",\r\n \"id\": \"/subscriptions/259fbb24-9bcd-4cfc-865c-fc33b22fe38a/providers/Microsoft.DocumentDB/locations/eastus2/restorableDatabaseAccounts/e157f1a1-6837-46fa-8f4f-ef3e7266ab3a\",\r\n \"properties\": {\r\n \"accountName\": \"rbactestps12\",\r\n \"apiType\": \"Sql\",\r\n \"creationTime\": \"2021-06-07T21:27:24Z\",\r\n \"restorableLocations\": [\r\n {\r\n \"locationName\": \"East US 2\",\r\n \"regionalDatabaseAccountInstanceId\": \"64c449c8-6fa2-4273-b066-5a062d4418be\",\r\n \"creationTime\": \"2021-06-07T21:27:24Z\"\r\n }\r\n ]\r\n }\r\n },\r\n {\r\n \"name\": \"72706ac1-0d0a-40be-a30a-1b4af0911131\",\r\n \"location\": \"East US 2\",\r\n \"type\": \"Microsoft.DocumentDB/locations/restorableDatabaseAccounts\",\r\n \"id\": \"/subscriptions/259fbb24-9bcd-4cfc-865c-fc33b22fe38a/providers/Microsoft.DocumentDB/locations/eastus2/restorableDatabaseAccounts/72706ac1-0d0a-40be-a30a-1b4af0911131\",\r\n \"properties\": {\r\n \"accountName\": \"mongo-db0002\",\r\n \"apiType\": \"MongoDB\",\r\n \"creationTime\": \"2021-06-07T23:44:54Z\",\r\n \"restorableLocations\": [\r\n {\r\n \"locationName\": \"East US 2\",\r\n \"regionalDatabaseAccountInstanceId\": \"dfccb705-08c0-4282-9dad-07ab354ba8e8\",\r\n \"creationTime\": \"2021-06-07T23:44:55Z\"\r\n }\r\n ]\r\n }\r\n },\r\n {\r\n \"name\": \"41ea7d9e-553f-4259-872f-676c969e9a0b\",\r\n \"location\": \"East US 2\",\r\n \"type\": \"Microsoft.DocumentDB/locations/restorableDatabaseAccounts\",\r\n \"id\": \"/subscriptions/259fbb24-9bcd-4cfc-865c-fc33b22fe38a/providers/Microsoft.DocumentDB/locations/eastus2/restorableDatabaseAccounts/41ea7d9e-553f-4259-872f-676c969e9a0b\",\r\n \"properties\": {\r\n \"accountName\": \"dbaccount27-1\",\r\n \"apiType\": \"Sql\",\r\n \"creationTime\": \"2021-06-08T17:39:46Z\",\r\n \"restorableLocations\": [\r\n {\r\n \"locationName\": \"East US 2\",\r\n \"regionalDatabaseAccountInstanceId\": \"1db9bff4-73f7-48e1-a506-ab5b3edc8308\",\r\n \"creationTime\": \"2021-06-08T17:39:47Z\"\r\n }\r\n ]\r\n }\r\n },\r\n {\r\n \"name\": \"ceacd38f-9e6b-4a81-b2f7-ecd341c6fbbd\",\r\n \"location\": \"East US 2\",\r\n \"type\": \"Microsoft.DocumentDB/locations/restorableDatabaseAccounts\",\r\n \"id\": \"/subscriptions/259fbb24-9bcd-4cfc-865c-fc33b22fe38a/providers/Microsoft.DocumentDB/locations/eastus2/restorableDatabaseAccounts/ceacd38f-9e6b-4a81-b2f7-ecd341c6fbbd\",\r\n \"properties\": {\r\n \"accountName\": \"cli125\",\r\n \"apiType\": \"Sql\",\r\n \"creationTime\": \"2021-06-09T19:06:13Z\",\r\n \"restorableLocations\": [\r\n {\r\n \"locationName\": \"East US 2\",\r\n \"regionalDatabaseAccountInstanceId\": \"c2a9bc5f-f37e-4add-a582-52abfb6a36a1\",\r\n \"creationTime\": \"2021-06-09T19:06:14Z\"\r\n }\r\n ]\r\n }\r\n },\r\n {\r\n \"name\": \"88d48073-10d1-402e-8cf5-c79e4e2de08e\",\r\n \"location\": \"East US 2\",\r\n \"type\": \"Microsoft.DocumentDB/locations/restorableDatabaseAccounts\",\r\n \"id\": \"/subscriptions/259fbb24-9bcd-4cfc-865c-fc33b22fe38a/providers/Microsoft.DocumentDB/locations/eastus2/restorableDatabaseAccounts/88d48073-10d1-402e-8cf5-c79e4e2de08e\",\r\n \"properties\": {\r\n \"accountName\": \"sqltestaccount123\",\r\n \"apiType\": \"Sql\",\r\n \"creationTime\": \"2021-06-09T19:09:54Z\",\r\n \"restorableLocations\": [\r\n {\r\n \"locationName\": \"East US 2\",\r\n \"regionalDatabaseAccountInstanceId\": \"861a2513-08ea-4cf8-817b-99b8282f5013\",\r\n \"creationTime\": \"2021-06-09T19:09:54Z\"\r\n }\r\n ]\r\n }\r\n },\r\n {\r\n \"name\": \"bb9b3beb-42c4-4ae4-a983-58e20bcd71a5\",\r\n \"location\": \"East US 2\",\r\n \"type\": \"Microsoft.DocumentDB/locations/restorableDatabaseAccounts\",\r\n \"id\": \"/subscriptions/259fbb24-9bcd-4cfc-865c-fc33b22fe38a/providers/Microsoft.DocumentDB/locations/eastus2/restorableDatabaseAccounts/bb9b3beb-42c4-4ae4-a983-58e20bcd71a5\",\r\n \"properties\": {\r\n \"accountName\": \"db003\",\r\n \"apiType\": \"MongoDB\",\r\n \"creationTime\": \"2021-06-09T20:16:40Z\",\r\n \"restorableLocations\": [\r\n {\r\n \"locationName\": \"East US 2\",\r\n \"regionalDatabaseAccountInstanceId\": \"a6dda878-4486-437f-bd72-b9e87bf75221\",\r\n \"creationTime\": \"2021-06-09T20:16:41Z\"\r\n }\r\n ]\r\n }\r\n },\r\n {\r\n \"name\": \"9f8ee54b-f275-44fa-b2c5-9983644c131f\",\r\n \"location\": \"East US 2\",\r\n \"type\": \"Microsoft.DocumentDB/locations/restorableDatabaseAccounts\",\r\n \"id\": \"/subscriptions/259fbb24-9bcd-4cfc-865c-fc33b22fe38a/providers/Microsoft.DocumentDB/locations/eastus2/restorableDatabaseAccounts/9f8ee54b-f275-44fa-b2c5-9983644c131f\",\r\n \"properties\": {\r\n \"accountName\": \"sqltestaccount124\",\r\n \"apiType\": \"Sql\",\r\n \"creationTime\": \"2021-06-10T05:06:02Z\",\r\n \"restorableLocations\": [\r\n {\r\n \"locationName\": \"East US 2\",\r\n \"regionalDatabaseAccountInstanceId\": \"3fe302ed-daee-401c-9897-250919f9a0fe\",\r\n \"creationTime\": \"2021-06-10T05:06:02Z\"\r\n }\r\n ]\r\n }\r\n },\r\n {\r\n \"name\": \"c2601a38-bee1-400e-bc5e-8d817318cf31\",\r\n \"location\": \"East US 2\",\r\n \"type\": \"Microsoft.DocumentDB/locations/restorableDatabaseAccounts\",\r\n \"id\": \"/subscriptions/259fbb24-9bcd-4cfc-865c-fc33b22fe38a/providers/Microsoft.DocumentDB/locations/eastus2/restorableDatabaseAccounts/c2601a38-bee1-400e-bc5e-8d817318cf31\",\r\n \"properties\": {\r\n \"accountName\": \"restoredaccountname7595\",\r\n \"apiType\": \"Sql\",\r\n \"creationTime\": \"2021-06-10T18:00:35Z\",\r\n \"restorableLocations\": [\r\n {\r\n \"locationName\": \"East US 2\",\r\n \"regionalDatabaseAccountInstanceId\": \"0a4ccb11-2cb5-4b81-8ab6-ea10cbb2290d\",\r\n \"creationTime\": \"2021-06-10T18:00:35Z\"\r\n }\r\n ]\r\n }\r\n },\r\n {\r\n \"name\": \"33035d50-7f15-4450-a71d-a4da4dcd039f\",\r\n \"location\": \"East US 2\",\r\n \"type\": \"Microsoft.DocumentDB/locations/restorableDatabaseAccounts\",\r\n \"id\": \"/subscriptions/259fbb24-9bcd-4cfc-865c-fc33b22fe38a/providers/Microsoft.DocumentDB/locations/eastus2/restorableDatabaseAccounts/33035d50-7f15-4450-a71d-a4da4dcd039f\",\r\n \"properties\": {\r\n \"accountName\": \"restoredaccountname4020\",\r\n \"apiType\": \"Sql\",\r\n \"creationTime\": \"2021-06-15T21:27:04Z\",\r\n \"restorableLocations\": [\r\n {\r\n \"locationName\": \"East US 2\",\r\n \"regionalDatabaseAccountInstanceId\": \"5d75295f-2ad7-451c-b27d-8e877e22b075\",\r\n \"creationTime\": \"2021-06-15T21:27:04Z\"\r\n }\r\n ]\r\n }\r\n },\r\n {\r\n \"name\": \"7d405124-1129-468e-9ff9-d031059c96bc\",\r\n \"location\": \"East US 2\",\r\n \"type\": \"Microsoft.DocumentDB/locations/restorableDatabaseAccounts\",\r\n \"id\": \"/subscriptions/259fbb24-9bcd-4cfc-865c-fc33b22fe38a/providers/Microsoft.DocumentDB/locations/eastus2/restorableDatabaseAccounts/7d405124-1129-468e-9ff9-d031059c96bc\",\r\n \"properties\": {\r\n \"accountName\": \"sqltestaccount\",\r\n \"apiType\": \"Sql\",\r\n \"creationTime\": \"2021-06-16T05:58:55Z\",\r\n \"restorableLocations\": [\r\n {\r\n \"locationName\": \"East US 2\",\r\n \"regionalDatabaseAccountInstanceId\": \"d0a6a03f-c045-4275-a38a-b221f5749051\",\r\n \"creationTime\": \"2021-06-16T05:58:55Z\"\r\n }\r\n ]\r\n }\r\n },\r\n {\r\n \"name\": \"d5fe116b-8a63-474e-88a4-afb2a726198e\",\r\n \"location\": \"East US 2\",\r\n \"type\": \"Microsoft.DocumentDB/locations/restorableDatabaseAccounts\",\r\n \"id\": \"/subscriptions/259fbb24-9bcd-4cfc-865c-fc33b22fe38a/providers/Microsoft.DocumentDB/locations/eastus2/restorableDatabaseAccounts/d5fe116b-8a63-474e-88a4-afb2a726198e\",\r\n \"properties\": {\r\n \"accountName\": \"cli127\",\r\n \"apiType\": \"Sql\",\r\n \"creationTime\": \"2021-06-16T06:57:39Z\",\r\n \"restorableLocations\": [\r\n {\r\n \"locationName\": \"East US 2\",\r\n \"regionalDatabaseAccountInstanceId\": \"f9a67f44-e6f6-4270-91c6-d90a0292ac96\",\r\n \"creationTime\": \"2021-06-16T06:57:39Z\"\r\n }\r\n ]\r\n }\r\n },\r\n {\r\n \"name\": \"1dfe47fb-822c-41f1-b403-1cf6c63d0ba7\",\r\n \"location\": \"East US 2\",\r\n \"type\": \"Microsoft.DocumentDB/locations/restorableDatabaseAccounts\",\r\n \"id\": \"/subscriptions/259fbb24-9bcd-4cfc-865c-fc33b22fe38a/providers/Microsoft.DocumentDB/locations/eastus2/restorableDatabaseAccounts/1dfe47fb-822c-41f1-b403-1cf6c63d0ba7\",\r\n \"properties\": {\r\n \"accountName\": \"restoredaccountname3766\",\r\n \"apiType\": \"Sql\",\r\n \"creationTime\": \"2021-06-16T07:16:12Z\",\r\n \"restorableLocations\": [\r\n {\r\n \"locationName\": \"East US 2\",\r\n \"regionalDatabaseAccountInstanceId\": \"1a05d833-615e-45b0-b2ec-f87ca4d9829c\",\r\n \"creationTime\": \"2021-06-16T07:16:12Z\"\r\n }\r\n ]\r\n }\r\n },\r\n {\r\n \"name\": \"c483a757-4d93-4d60-ae22-04c9d2c89595\",\r\n \"location\": \"East US 2\",\r\n \"type\": \"Microsoft.DocumentDB/locations/restorableDatabaseAccounts\",\r\n \"id\": \"/subscriptions/259fbb24-9bcd-4cfc-865c-fc33b22fe38a/providers/Microsoft.DocumentDB/locations/eastus2/restorableDatabaseAccounts/c483a757-4d93-4d60-ae22-04c9d2c89595\",\r\n \"properties\": {\r\n \"accountName\": \"restored2-cosmosdb-1212-1\",\r\n \"apiType\": \"Sql\",\r\n \"creationTime\": \"2021-06-04T22:17:44Z\",\r\n \"deletionTime\": \"2021-06-05T05:04:42Z\",\r\n \"restorableLocations\": [\r\n {\r\n \"locationName\": \"East US 2\",\r\n \"regionalDatabaseAccountInstanceId\": \"eb5e33f1-8ecf-42b7-9f3f-18784854fc5e\",\r\n \"creationTime\": \"2021-06-04T22:17:44Z\",\r\n \"deletionTime\": \"2021-06-05T05:04:42Z\"\r\n }\r\n ]\r\n }\r\n },\r\n {\r\n \"name\": \"80458ce3-9b06-4d87-9405-1f47eb88164f\",\r\n \"location\": \"East US 2\",\r\n \"type\": \"Microsoft.DocumentDB/locations/restorableDatabaseAccounts\",\r\n \"id\": \"/subscriptions/259fbb24-9bcd-4cfc-865c-fc33b22fe38a/providers/Microsoft.DocumentDB/locations/eastus2/restorableDatabaseAccounts/80458ce3-9b06-4d87-9405-1f47eb88164f\",\r\n \"properties\": {\r\n \"accountName\": \"dbaccount27-1\",\r\n \"apiType\": \"Sql\",\r\n \"creationTime\": \"2021-06-07T21:24:07Z\",\r\n \"deletionTime\": \"2021-06-07T22:30:24Z\",\r\n \"restorableLocations\": [\r\n {\r\n \"locationName\": \"East US 2\",\r\n \"regionalDatabaseAccountInstanceId\": \"a47823ea-6bce-4436-91a1-1dd14a1aa3a7\",\r\n \"creationTime\": \"2021-06-07T21:24:08Z\",\r\n \"deletionTime\": \"2021-06-07T22:30:24Z\"\r\n }\r\n ]\r\n }\r\n },\r\n {\r\n \"name\": \"3b44efa3-a7e6-414e-99c2-22d63aa1d778\",\r\n \"location\": \"East US 2\",\r\n \"type\": \"Microsoft.DocumentDB/locations/restorableDatabaseAccounts\",\r\n \"id\": \"/subscriptions/259fbb24-9bcd-4cfc-865c-fc33b22fe38a/providers/Microsoft.DocumentDB/locations/eastus2/restorableDatabaseAccounts/3b44efa3-a7e6-414e-99c2-22d63aa1d778\",\r\n \"properties\": {\r\n \"accountName\": \"cli126\",\r\n \"apiType\": \"Sql\",\r\n \"creationTime\": \"2021-06-10T05:07:44Z\",\r\n \"deletionTime\": \"2021-06-15T21:00:15Z\",\r\n \"restorableLocations\": [\r\n {\r\n \"locationName\": \"East US 2\",\r\n \"regionalDatabaseAccountInstanceId\": \"fbc82bdc-1493-4cc4-bd69-2c33c650e3ed\",\r\n \"creationTime\": \"2021-06-10T05:07:45Z\",\r\n \"deletionTime\": \"2021-06-15T21:00:15Z\"\r\n }\r\n ]\r\n }\r\n },\r\n {\r\n \"name\": \"3bf55696-9845-4ab5-b57c-f955a2ffe3ca\",\r\n \"location\": \"East US 2\",\r\n \"type\": \"Microsoft.DocumentDB/locations/restorableDatabaseAccounts\",\r\n \"id\": \"/subscriptions/259fbb24-9bcd-4cfc-865c-fc33b22fe38a/providers/Microsoft.DocumentDB/locations/eastus2/restorableDatabaseAccounts/3bf55696-9845-4ab5-b57c-f955a2ffe3ca\",\r\n \"properties\": {\r\n \"accountName\": \"sqltestaccount\",\r\n \"apiType\": \"Sql\",\r\n \"creationTime\": \"2021-06-01T23:24:19Z\",\r\n \"deletionTime\": \"2021-06-16T04:58:21Z\",\r\n \"restorableLocations\": [\r\n {\r\n \"locationName\": \"East US 2\",\r\n \"regionalDatabaseAccountInstanceId\": \"1062fb86-a396-4689-9326-83193cf2274b\",\r\n \"creationTime\": \"2021-06-01T23:24:20Z\",\r\n \"deletionTime\": \"2021-06-16T04:58:21Z\"\r\n }\r\n ]\r\n }\r\n }\r\n ]\r\n}", "StatusCode": 200 }, { - "RequestUri": "/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/providers/Microsoft.DocumentDB/locations/westus2/restorableDatabaseAccounts/9a4b63c3-49d1-4c87-b28e-92e92aeaa0ea?api-version=2021-03-01-preview", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvODBiZTM5NjEtMDUyMS00YTBhLTg1NzAtNWNkNWE0ZTJmOThjL3Byb3ZpZGVycy9NaWNyb3NvZnQuRG9jdW1lbnREQi9sb2NhdGlvbnMvd2VzdHVzMi9yZXN0b3JhYmxlRGF0YWJhc2VBY2NvdW50cy85YTRiNjNjMy00OWQxLTRjODctYjI4ZS05MmU5MmFlYWEwZWE/YXBpLXZlcnNpb249MjAyMS0wMy0wMS1wcmV2aWV3", + "RequestUri": "/subscriptions/259fbb24-9bcd-4cfc-865c-fc33b22fe38a/providers/Microsoft.DocumentDB/locations/eastus2/restorableDatabaseAccounts?api-version=2021-06-15", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMjU5ZmJiMjQtOWJjZC00Y2ZjLTg2NWMtZmMzM2IyMmZlMzhhL3Byb3ZpZGVycy9NaWNyb3NvZnQuRG9jdW1lbnREQi9sb2NhdGlvbnMvZWFzdHVzMi9yZXN0b3JhYmxlRGF0YWJhc2VBY2NvdW50cz9hcGktdmVyc2lvbj0yMDIxLTA2LTE1", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { "x-ms-client-request-id": [ - "ffc30c9b-37ea-464b-8e4d-aa530d67ae63" + "2c968462-8382-4e21-98c2-e6b2771b7aae" ], "Accept-Language": [ "en-US" ], "User-Agent": [ - "FxVersion/5.0.321.7212", + "FxVersion/4.6.28207.03", "OSName/Windows", - "OSVersion/Microsoft.Windows.10.0.19042", - "Microsoft.Azure.Management.CosmosDB.CosmosDBManagementClient/2.0.0.0" + "OSVersion/Microsoft.Windows.10.0.19043.", + "Microsoft.Azure.Management.CosmosDB.CosmosDBManagementClient/3.0.0.0" ] }, "ResponseHeaders": { @@ -351,56 +405,56 @@ "max-age=31536000; includeSubDomains" ], "x-ms-gatewayversion": [ - "version=2.11.0" + "version=2.14.0" ], "Server": [ "Microsoft-HTTPAPI/2.0" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "11996" + "11990" ], "x-ms-request-id": [ - "1bff8281-7969-464b-b01f-92b36100c733" + "0fdd8a8e-8b9a-422a-ac4d-49be41c00dfe" ], "x-ms-correlation-request-id": [ - "1bff8281-7969-464b-b01f-92b36100c733" + "0fdd8a8e-8b9a-422a-ac4d-49be41c00dfe" ], "x-ms-routing-request-id": [ - "WESTUS2:20210303T174955Z:1bff8281-7969-464b-b01f-92b36100c733" + "WESTUS2:20210616T071624Z:0fdd8a8e-8b9a-422a-ac4d-49be41c00dfe" ], "X-Content-Type-Options": [ "nosniff" ], "Date": [ - "Wed, 03 Mar 2021 17:49:54 GMT" + "Wed, 16 Jun 2021 07:16:23 GMT" ], "Content-Length": [ - "724" + "13637" ], "Content-Type": [ "application/json" ] }, - "ResponseBody": "{\r\n \"name\": \"9a4b63c3-49d1-4c87-b28e-92e92aeaa0ea\",\r\n \"location\": \"West US 2\",\r\n \"type\": \"Microsoft.DocumentDB/locations/restorableDatabaseAccounts\",\r\n \"id\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/providers/Microsoft.DocumentDB/locations/westus2/restorableDatabaseAccounts/9a4b63c3-49d1-4c87-b28e-92e92aeaa0ea\",\r\n \"properties\": {\r\n \"accountName\": \"pitr-sql-stage-source\",\r\n \"apiType\": \"Sql\",\r\n \"creationTime\": \"2020-12-08T18:18:47Z\",\r\n \"restorableLocations\": [\r\n {\r\n \"locationName\": \"West US 2\",\r\n \"regionalDatabaseAccountInstanceId\": \"f61a9ed3-fcda-4603-b1e2-2baadbb6122b\",\r\n \"creationTime\": \"2020-12-08T18:18:47Z\"\r\n },\r\n {\r\n \"locationName\": \"East US 2\",\r\n \"regionalDatabaseAccountInstanceId\": \"cdd116b8-a956-43d5-b461-248f837099f4\",\r\n \"creationTime\": \"2020-12-14T21:35:14Z\"\r\n }\r\n ]\r\n }\r\n}", + "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"name\": \"fccbe297-cb19-424b-a8d7-e996a6b7b689\",\r\n \"location\": \"East US 2\",\r\n \"type\": \"Microsoft.DocumentDB/locations/restorableDatabaseAccounts\",\r\n \"id\": \"/subscriptions/259fbb24-9bcd-4cfc-865c-fc33b22fe38a/providers/Microsoft.DocumentDB/locations/eastus2/restorableDatabaseAccounts/fccbe297-cb19-424b-a8d7-e996a6b7b689\",\r\n \"properties\": {\r\n \"accountName\": \"mongotestaccount\",\r\n \"apiType\": \"MongoDB\",\r\n \"creationTime\": \"2021-06-02T19:34:26Z\",\r\n \"restorableLocations\": [\r\n {\r\n \"locationName\": \"East US 2\",\r\n \"regionalDatabaseAccountInstanceId\": \"9f8cab0e-80f5-48b6-bc9f-7f7b3a69afeb\",\r\n \"creationTime\": \"2021-06-02T19:34:27Z\"\r\n }\r\n ]\r\n }\r\n },\r\n {\r\n \"name\": \"c6b53e1d-0dec-4ff2-ab70-2e9d24a3ed27\",\r\n \"location\": \"East US 2\",\r\n \"type\": \"Microsoft.DocumentDB/locations/restorableDatabaseAccounts\",\r\n \"id\": \"/subscriptions/259fbb24-9bcd-4cfc-865c-fc33b22fe38a/providers/Microsoft.DocumentDB/locations/eastus2/restorableDatabaseAccounts/c6b53e1d-0dec-4ff2-ab70-2e9d24a3ed27\",\r\n \"properties\": {\r\n \"accountName\": \"pitr-sql-stage-source\",\r\n \"apiType\": \"Sql\",\r\n \"creationTime\": \"2021-06-02T23:30:43Z\",\r\n \"restorableLocations\": [\r\n {\r\n \"locationName\": \"East US 2\",\r\n \"regionalDatabaseAccountInstanceId\": \"9961d453-89c2-4daf-bcad-add22d287617\",\r\n \"creationTime\": \"2021-06-02T23:30:43Z\"\r\n }\r\n ]\r\n }\r\n },\r\n {\r\n \"name\": \"990590c0-4db8-4b0e-96ef-55f0be03615d\",\r\n \"location\": \"East US 2\",\r\n \"type\": \"Microsoft.DocumentDB/locations/restorableDatabaseAccounts\",\r\n \"id\": \"/subscriptions/259fbb24-9bcd-4cfc-865c-fc33b22fe38a/providers/Microsoft.DocumentDB/locations/eastus2/restorableDatabaseAccounts/990590c0-4db8-4b0e-96ef-55f0be03615d\",\r\n \"properties\": {\r\n \"accountName\": \"pitr-mongo32-stage-source\",\r\n \"apiType\": \"MongoDB\",\r\n \"creationTime\": \"2021-06-02T23:32:31Z\",\r\n \"restorableLocations\": [\r\n {\r\n \"locationName\": \"East US 2\",\r\n \"regionalDatabaseAccountInstanceId\": \"2d0a8ae4-e622-429c-a2bf-b7b13ada7b45\",\r\n \"creationTime\": \"2021-06-02T23:32:32Z\"\r\n }\r\n ]\r\n }\r\n },\r\n {\r\n \"name\": \"60a54911-db9e-436f-b282-34779e0a2a7f\",\r\n \"location\": \"East US 2\",\r\n \"type\": \"Microsoft.DocumentDB/locations/restorableDatabaseAccounts\",\r\n \"id\": \"/subscriptions/259fbb24-9bcd-4cfc-865c-fc33b22fe38a/providers/Microsoft.DocumentDB/locations/eastus2/restorableDatabaseAccounts/60a54911-db9e-436f-b282-34779e0a2a7f\",\r\n \"properties\": {\r\n \"accountName\": \"pitr-mongo36-stage-source\",\r\n \"apiType\": \"MongoDB\",\r\n \"creationTime\": \"2021-06-02T23:33:01Z\",\r\n \"restorableLocations\": [\r\n {\r\n \"locationName\": \"East US 2\",\r\n \"regionalDatabaseAccountInstanceId\": \"32163288-85a4-454b-a7d7-d7fbb1f32aeb\",\r\n \"creationTime\": \"2021-06-02T23:33:02Z\"\r\n }\r\n ]\r\n }\r\n },\r\n {\r\n \"name\": \"b0736fc7-cb53-4b6f-bd2f-aac904085da4\",\r\n \"location\": \"East US 2\",\r\n \"type\": \"Microsoft.DocumentDB/locations/restorableDatabaseAccounts\",\r\n \"id\": \"/subscriptions/259fbb24-9bcd-4cfc-865c-fc33b22fe38a/providers/Microsoft.DocumentDB/locations/eastus2/restorableDatabaseAccounts/b0736fc7-cb53-4b6f-bd2f-aac904085da4\",\r\n \"properties\": {\r\n \"accountName\": \"mongo-continuous-1212\",\r\n \"apiType\": \"MongoDB\",\r\n \"creationTime\": \"2021-06-04T22:09:26Z\",\r\n \"restorableLocations\": [\r\n {\r\n \"locationName\": \"East US 2\",\r\n \"regionalDatabaseAccountInstanceId\": \"a1f3383c-4e2f-44b5-8348-7323e2356b3d\",\r\n \"creationTime\": \"2021-06-04T22:09:26Z\"\r\n }\r\n ]\r\n }\r\n },\r\n {\r\n \"name\": \"2301188f-cf13-419d-b7c2-5321c5476526\",\r\n \"location\": \"East US 2\",\r\n \"type\": \"Microsoft.DocumentDB/locations/restorableDatabaseAccounts\",\r\n \"id\": \"/subscriptions/259fbb24-9bcd-4cfc-865c-fc33b22fe38a/providers/Microsoft.DocumentDB/locations/eastus2/restorableDatabaseAccounts/2301188f-cf13-419d-b7c2-5321c5476526\",\r\n \"properties\": {\r\n \"accountName\": \"restored-cosmosdb-1212\",\r\n \"apiType\": \"Sql\",\r\n \"creationTime\": \"2021-06-07T21:06:02Z\",\r\n \"restorableLocations\": [\r\n {\r\n \"locationName\": \"East US 2\",\r\n \"regionalDatabaseAccountInstanceId\": \"05b3f3ce-59ee-4d28-bd66-09ea5c50790d\",\r\n \"creationTime\": \"2021-06-07T21:06:02Z\"\r\n }\r\n ]\r\n }\r\n },\r\n {\r\n \"name\": \"24302a82-123a-487a-bede-054ade2860f1\",\r\n \"location\": \"East US 2\",\r\n \"type\": \"Microsoft.DocumentDB/locations/restorableDatabaseAccounts\",\r\n \"id\": \"/subscriptions/259fbb24-9bcd-4cfc-865c-fc33b22fe38a/providers/Microsoft.DocumentDB/locations/eastus2/restorableDatabaseAccounts/24302a82-123a-487a-bede-054ade2860f1\",\r\n \"properties\": {\r\n \"accountName\": \"dbaccount29-1\",\r\n \"apiType\": \"Sql\",\r\n \"creationTime\": \"2021-06-07T21:24:52Z\",\r\n \"restorableLocations\": [\r\n {\r\n \"locationName\": \"East US 2\",\r\n \"regionalDatabaseAccountInstanceId\": \"ede5fb9c-4058-44a6-8dec-29e3e7de9b44\",\r\n \"creationTime\": \"2021-06-07T21:24:53Z\"\r\n }\r\n ]\r\n }\r\n },\r\n {\r\n \"name\": \"e157f1a1-6837-46fa-8f4f-ef3e7266ab3a\",\r\n \"location\": \"East US 2\",\r\n \"type\": \"Microsoft.DocumentDB/locations/restorableDatabaseAccounts\",\r\n \"id\": \"/subscriptions/259fbb24-9bcd-4cfc-865c-fc33b22fe38a/providers/Microsoft.DocumentDB/locations/eastus2/restorableDatabaseAccounts/e157f1a1-6837-46fa-8f4f-ef3e7266ab3a\",\r\n \"properties\": {\r\n \"accountName\": \"rbactestps12\",\r\n \"apiType\": \"Sql\",\r\n \"creationTime\": \"2021-06-07T21:27:24Z\",\r\n \"restorableLocations\": [\r\n {\r\n \"locationName\": \"East US 2\",\r\n \"regionalDatabaseAccountInstanceId\": \"64c449c8-6fa2-4273-b066-5a062d4418be\",\r\n \"creationTime\": \"2021-06-07T21:27:24Z\"\r\n }\r\n ]\r\n }\r\n },\r\n {\r\n \"name\": \"72706ac1-0d0a-40be-a30a-1b4af0911131\",\r\n \"location\": \"East US 2\",\r\n \"type\": \"Microsoft.DocumentDB/locations/restorableDatabaseAccounts\",\r\n \"id\": \"/subscriptions/259fbb24-9bcd-4cfc-865c-fc33b22fe38a/providers/Microsoft.DocumentDB/locations/eastus2/restorableDatabaseAccounts/72706ac1-0d0a-40be-a30a-1b4af0911131\",\r\n \"properties\": {\r\n \"accountName\": \"mongo-db0002\",\r\n \"apiType\": \"MongoDB\",\r\n \"creationTime\": \"2021-06-07T23:44:54Z\",\r\n \"restorableLocations\": [\r\n {\r\n \"locationName\": \"East US 2\",\r\n \"regionalDatabaseAccountInstanceId\": \"dfccb705-08c0-4282-9dad-07ab354ba8e8\",\r\n \"creationTime\": \"2021-06-07T23:44:55Z\"\r\n }\r\n ]\r\n }\r\n },\r\n {\r\n \"name\": \"41ea7d9e-553f-4259-872f-676c969e9a0b\",\r\n \"location\": \"East US 2\",\r\n \"type\": \"Microsoft.DocumentDB/locations/restorableDatabaseAccounts\",\r\n \"id\": \"/subscriptions/259fbb24-9bcd-4cfc-865c-fc33b22fe38a/providers/Microsoft.DocumentDB/locations/eastus2/restorableDatabaseAccounts/41ea7d9e-553f-4259-872f-676c969e9a0b\",\r\n \"properties\": {\r\n \"accountName\": \"dbaccount27-1\",\r\n \"apiType\": \"Sql\",\r\n \"creationTime\": \"2021-06-08T17:39:46Z\",\r\n \"restorableLocations\": [\r\n {\r\n \"locationName\": \"East US 2\",\r\n \"regionalDatabaseAccountInstanceId\": \"1db9bff4-73f7-48e1-a506-ab5b3edc8308\",\r\n \"creationTime\": \"2021-06-08T17:39:47Z\"\r\n }\r\n ]\r\n }\r\n },\r\n {\r\n \"name\": \"ceacd38f-9e6b-4a81-b2f7-ecd341c6fbbd\",\r\n \"location\": \"East US 2\",\r\n \"type\": \"Microsoft.DocumentDB/locations/restorableDatabaseAccounts\",\r\n \"id\": \"/subscriptions/259fbb24-9bcd-4cfc-865c-fc33b22fe38a/providers/Microsoft.DocumentDB/locations/eastus2/restorableDatabaseAccounts/ceacd38f-9e6b-4a81-b2f7-ecd341c6fbbd\",\r\n \"properties\": {\r\n \"accountName\": \"cli125\",\r\n \"apiType\": \"Sql\",\r\n \"creationTime\": \"2021-06-09T19:06:13Z\",\r\n \"restorableLocations\": [\r\n {\r\n \"locationName\": \"East US 2\",\r\n \"regionalDatabaseAccountInstanceId\": \"c2a9bc5f-f37e-4add-a582-52abfb6a36a1\",\r\n \"creationTime\": \"2021-06-09T19:06:14Z\"\r\n }\r\n ]\r\n }\r\n },\r\n {\r\n \"name\": \"88d48073-10d1-402e-8cf5-c79e4e2de08e\",\r\n \"location\": \"East US 2\",\r\n \"type\": \"Microsoft.DocumentDB/locations/restorableDatabaseAccounts\",\r\n \"id\": \"/subscriptions/259fbb24-9bcd-4cfc-865c-fc33b22fe38a/providers/Microsoft.DocumentDB/locations/eastus2/restorableDatabaseAccounts/88d48073-10d1-402e-8cf5-c79e4e2de08e\",\r\n \"properties\": {\r\n \"accountName\": \"sqltestaccount123\",\r\n \"apiType\": \"Sql\",\r\n \"creationTime\": \"2021-06-09T19:09:54Z\",\r\n \"restorableLocations\": [\r\n {\r\n \"locationName\": \"East US 2\",\r\n \"regionalDatabaseAccountInstanceId\": \"861a2513-08ea-4cf8-817b-99b8282f5013\",\r\n \"creationTime\": \"2021-06-09T19:09:54Z\"\r\n }\r\n ]\r\n }\r\n },\r\n {\r\n \"name\": \"bb9b3beb-42c4-4ae4-a983-58e20bcd71a5\",\r\n \"location\": \"East US 2\",\r\n \"type\": \"Microsoft.DocumentDB/locations/restorableDatabaseAccounts\",\r\n \"id\": \"/subscriptions/259fbb24-9bcd-4cfc-865c-fc33b22fe38a/providers/Microsoft.DocumentDB/locations/eastus2/restorableDatabaseAccounts/bb9b3beb-42c4-4ae4-a983-58e20bcd71a5\",\r\n \"properties\": {\r\n \"accountName\": \"db003\",\r\n \"apiType\": \"MongoDB\",\r\n \"creationTime\": \"2021-06-09T20:16:40Z\",\r\n \"restorableLocations\": [\r\n {\r\n \"locationName\": \"East US 2\",\r\n \"regionalDatabaseAccountInstanceId\": \"a6dda878-4486-437f-bd72-b9e87bf75221\",\r\n \"creationTime\": \"2021-06-09T20:16:41Z\"\r\n }\r\n ]\r\n }\r\n },\r\n {\r\n \"name\": \"9f8ee54b-f275-44fa-b2c5-9983644c131f\",\r\n \"location\": \"East US 2\",\r\n \"type\": \"Microsoft.DocumentDB/locations/restorableDatabaseAccounts\",\r\n \"id\": \"/subscriptions/259fbb24-9bcd-4cfc-865c-fc33b22fe38a/providers/Microsoft.DocumentDB/locations/eastus2/restorableDatabaseAccounts/9f8ee54b-f275-44fa-b2c5-9983644c131f\",\r\n \"properties\": {\r\n \"accountName\": \"sqltestaccount124\",\r\n \"apiType\": \"Sql\",\r\n \"creationTime\": \"2021-06-10T05:06:02Z\",\r\n \"restorableLocations\": [\r\n {\r\n \"locationName\": \"East US 2\",\r\n \"regionalDatabaseAccountInstanceId\": \"3fe302ed-daee-401c-9897-250919f9a0fe\",\r\n \"creationTime\": \"2021-06-10T05:06:02Z\"\r\n }\r\n ]\r\n }\r\n },\r\n {\r\n \"name\": \"c2601a38-bee1-400e-bc5e-8d817318cf31\",\r\n \"location\": \"East US 2\",\r\n \"type\": \"Microsoft.DocumentDB/locations/restorableDatabaseAccounts\",\r\n \"id\": \"/subscriptions/259fbb24-9bcd-4cfc-865c-fc33b22fe38a/providers/Microsoft.DocumentDB/locations/eastus2/restorableDatabaseAccounts/c2601a38-bee1-400e-bc5e-8d817318cf31\",\r\n \"properties\": {\r\n \"accountName\": \"restoredaccountname7595\",\r\n \"apiType\": \"Sql\",\r\n \"creationTime\": \"2021-06-10T18:00:35Z\",\r\n \"restorableLocations\": [\r\n {\r\n \"locationName\": \"East US 2\",\r\n \"regionalDatabaseAccountInstanceId\": \"0a4ccb11-2cb5-4b81-8ab6-ea10cbb2290d\",\r\n \"creationTime\": \"2021-06-10T18:00:35Z\"\r\n }\r\n ]\r\n }\r\n },\r\n {\r\n \"name\": \"33035d50-7f15-4450-a71d-a4da4dcd039f\",\r\n \"location\": \"East US 2\",\r\n \"type\": \"Microsoft.DocumentDB/locations/restorableDatabaseAccounts\",\r\n \"id\": \"/subscriptions/259fbb24-9bcd-4cfc-865c-fc33b22fe38a/providers/Microsoft.DocumentDB/locations/eastus2/restorableDatabaseAccounts/33035d50-7f15-4450-a71d-a4da4dcd039f\",\r\n \"properties\": {\r\n \"accountName\": \"restoredaccountname4020\",\r\n \"apiType\": \"Sql\",\r\n \"creationTime\": \"2021-06-15T21:27:04Z\",\r\n \"restorableLocations\": [\r\n {\r\n \"locationName\": \"East US 2\",\r\n \"regionalDatabaseAccountInstanceId\": \"5d75295f-2ad7-451c-b27d-8e877e22b075\",\r\n \"creationTime\": \"2021-06-15T21:27:04Z\"\r\n }\r\n ]\r\n }\r\n },\r\n {\r\n \"name\": \"7d405124-1129-468e-9ff9-d031059c96bc\",\r\n \"location\": \"East US 2\",\r\n \"type\": \"Microsoft.DocumentDB/locations/restorableDatabaseAccounts\",\r\n \"id\": \"/subscriptions/259fbb24-9bcd-4cfc-865c-fc33b22fe38a/providers/Microsoft.DocumentDB/locations/eastus2/restorableDatabaseAccounts/7d405124-1129-468e-9ff9-d031059c96bc\",\r\n \"properties\": {\r\n \"accountName\": \"sqltestaccount\",\r\n \"apiType\": \"Sql\",\r\n \"creationTime\": \"2021-06-16T05:58:55Z\",\r\n \"restorableLocations\": [\r\n {\r\n \"locationName\": \"East US 2\",\r\n \"regionalDatabaseAccountInstanceId\": \"d0a6a03f-c045-4275-a38a-b221f5749051\",\r\n \"creationTime\": \"2021-06-16T05:58:55Z\"\r\n }\r\n ]\r\n }\r\n },\r\n {\r\n \"name\": \"d5fe116b-8a63-474e-88a4-afb2a726198e\",\r\n \"location\": \"East US 2\",\r\n \"type\": \"Microsoft.DocumentDB/locations/restorableDatabaseAccounts\",\r\n \"id\": \"/subscriptions/259fbb24-9bcd-4cfc-865c-fc33b22fe38a/providers/Microsoft.DocumentDB/locations/eastus2/restorableDatabaseAccounts/d5fe116b-8a63-474e-88a4-afb2a726198e\",\r\n \"properties\": {\r\n \"accountName\": \"cli127\",\r\n \"apiType\": \"Sql\",\r\n \"creationTime\": \"2021-06-16T06:57:39Z\",\r\n \"restorableLocations\": [\r\n {\r\n \"locationName\": \"East US 2\",\r\n \"regionalDatabaseAccountInstanceId\": \"f9a67f44-e6f6-4270-91c6-d90a0292ac96\",\r\n \"creationTime\": \"2021-06-16T06:57:39Z\"\r\n }\r\n ]\r\n }\r\n },\r\n {\r\n \"name\": \"1dfe47fb-822c-41f1-b403-1cf6c63d0ba7\",\r\n \"location\": \"East US 2\",\r\n \"type\": \"Microsoft.DocumentDB/locations/restorableDatabaseAccounts\",\r\n \"id\": \"/subscriptions/259fbb24-9bcd-4cfc-865c-fc33b22fe38a/providers/Microsoft.DocumentDB/locations/eastus2/restorableDatabaseAccounts/1dfe47fb-822c-41f1-b403-1cf6c63d0ba7\",\r\n \"properties\": {\r\n \"accountName\": \"restoredaccountname3766\",\r\n \"apiType\": \"Sql\",\r\n \"creationTime\": \"2021-06-16T07:16:12Z\",\r\n \"restorableLocations\": [\r\n {\r\n \"locationName\": \"East US 2\",\r\n \"regionalDatabaseAccountInstanceId\": \"1a05d833-615e-45b0-b2ec-f87ca4d9829c\",\r\n \"creationTime\": \"2021-06-16T07:16:12Z\"\r\n }\r\n ]\r\n }\r\n },\r\n {\r\n \"name\": \"c483a757-4d93-4d60-ae22-04c9d2c89595\",\r\n \"location\": \"East US 2\",\r\n \"type\": \"Microsoft.DocumentDB/locations/restorableDatabaseAccounts\",\r\n \"id\": \"/subscriptions/259fbb24-9bcd-4cfc-865c-fc33b22fe38a/providers/Microsoft.DocumentDB/locations/eastus2/restorableDatabaseAccounts/c483a757-4d93-4d60-ae22-04c9d2c89595\",\r\n \"properties\": {\r\n \"accountName\": \"restored2-cosmosdb-1212-1\",\r\n \"apiType\": \"Sql\",\r\n \"creationTime\": \"2021-06-04T22:17:44Z\",\r\n \"deletionTime\": \"2021-06-05T05:04:42Z\",\r\n \"restorableLocations\": [\r\n {\r\n \"locationName\": \"East US 2\",\r\n \"regionalDatabaseAccountInstanceId\": \"eb5e33f1-8ecf-42b7-9f3f-18784854fc5e\",\r\n \"creationTime\": \"2021-06-04T22:17:44Z\",\r\n \"deletionTime\": \"2021-06-05T05:04:42Z\"\r\n }\r\n ]\r\n }\r\n },\r\n {\r\n \"name\": \"80458ce3-9b06-4d87-9405-1f47eb88164f\",\r\n \"location\": \"East US 2\",\r\n \"type\": \"Microsoft.DocumentDB/locations/restorableDatabaseAccounts\",\r\n \"id\": \"/subscriptions/259fbb24-9bcd-4cfc-865c-fc33b22fe38a/providers/Microsoft.DocumentDB/locations/eastus2/restorableDatabaseAccounts/80458ce3-9b06-4d87-9405-1f47eb88164f\",\r\n \"properties\": {\r\n \"accountName\": \"dbaccount27-1\",\r\n \"apiType\": \"Sql\",\r\n \"creationTime\": \"2021-06-07T21:24:07Z\",\r\n \"deletionTime\": \"2021-06-07T22:30:24Z\",\r\n \"restorableLocations\": [\r\n {\r\n \"locationName\": \"East US 2\",\r\n \"regionalDatabaseAccountInstanceId\": \"a47823ea-6bce-4436-91a1-1dd14a1aa3a7\",\r\n \"creationTime\": \"2021-06-07T21:24:08Z\",\r\n \"deletionTime\": \"2021-06-07T22:30:24Z\"\r\n }\r\n ]\r\n }\r\n },\r\n {\r\n \"name\": \"3b44efa3-a7e6-414e-99c2-22d63aa1d778\",\r\n \"location\": \"East US 2\",\r\n \"type\": \"Microsoft.DocumentDB/locations/restorableDatabaseAccounts\",\r\n \"id\": \"/subscriptions/259fbb24-9bcd-4cfc-865c-fc33b22fe38a/providers/Microsoft.DocumentDB/locations/eastus2/restorableDatabaseAccounts/3b44efa3-a7e6-414e-99c2-22d63aa1d778\",\r\n \"properties\": {\r\n \"accountName\": \"cli126\",\r\n \"apiType\": \"Sql\",\r\n \"creationTime\": \"2021-06-10T05:07:44Z\",\r\n \"deletionTime\": \"2021-06-15T21:00:15Z\",\r\n \"restorableLocations\": [\r\n {\r\n \"locationName\": \"East US 2\",\r\n \"regionalDatabaseAccountInstanceId\": \"fbc82bdc-1493-4cc4-bd69-2c33c650e3ed\",\r\n \"creationTime\": \"2021-06-10T05:07:45Z\",\r\n \"deletionTime\": \"2021-06-15T21:00:15Z\"\r\n }\r\n ]\r\n }\r\n },\r\n {\r\n \"name\": \"3bf55696-9845-4ab5-b57c-f955a2ffe3ca\",\r\n \"location\": \"East US 2\",\r\n \"type\": \"Microsoft.DocumentDB/locations/restorableDatabaseAccounts\",\r\n \"id\": \"/subscriptions/259fbb24-9bcd-4cfc-865c-fc33b22fe38a/providers/Microsoft.DocumentDB/locations/eastus2/restorableDatabaseAccounts/3bf55696-9845-4ab5-b57c-f955a2ffe3ca\",\r\n \"properties\": {\r\n \"accountName\": \"sqltestaccount\",\r\n \"apiType\": \"Sql\",\r\n \"creationTime\": \"2021-06-01T23:24:19Z\",\r\n \"deletionTime\": \"2021-06-16T04:58:21Z\",\r\n \"restorableLocations\": [\r\n {\r\n \"locationName\": \"East US 2\",\r\n \"regionalDatabaseAccountInstanceId\": \"1062fb86-a396-4689-9326-83193cf2274b\",\r\n \"creationTime\": \"2021-06-01T23:24:20Z\",\r\n \"deletionTime\": \"2021-06-16T04:58:21Z\"\r\n }\r\n ]\r\n }\r\n }\r\n ]\r\n}", "StatusCode": 200 }, { - "RequestUri": "/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/resourceGroups/pitr-stage-rg/providers/Microsoft.DocumentDB/databaseAccounts/pitr-mongo32-stage-source?api-version=2021-03-01-preview", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvODBiZTM5NjEtMDUyMS00YTBhLTg1NzAtNWNkNWE0ZTJmOThjL3Jlc291cmNlR3JvdXBzL3BpdHItc3RhZ2UtcmcvcHJvdmlkZXJzL01pY3Jvc29mdC5Eb2N1bWVudERCL2RhdGFiYXNlQWNjb3VudHMvcGl0ci1tb25nbzMyLXN0YWdlLXNvdXJjZT9hcGktdmVyc2lvbj0yMDIxLTAzLTAxLXByZXZpZXc=", + "RequestUri": "/subscriptions/259fbb24-9bcd-4cfc-865c-fc33b22fe38a/providers/Microsoft.DocumentDB/locations/eastus2/restorableDatabaseAccounts?api-version=2021-06-15", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMjU5ZmJiMjQtOWJjZC00Y2ZjLTg2NWMtZmMzM2IyMmZlMzhhL3Byb3ZpZGVycy9NaWNyb3NvZnQuRG9jdW1lbnREQi9sb2NhdGlvbnMvZWFzdHVzMi9yZXN0b3JhYmxlRGF0YWJhc2VBY2NvdW50cz9hcGktdmVyc2lvbj0yMDIxLTA2LTE1", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { "x-ms-client-request-id": [ - "e6b59c75-db4a-4aff-b533-61d3428c5964" + "88f15166-347c-4c88-a1aa-62fa9acc60d5" ], "Accept-Language": [ "en-US" ], "User-Agent": [ - "FxVersion/5.0.321.7212", + "FxVersion/4.6.28207.03", "OSName/Windows", - "OSVersion/Microsoft.Windows.10.0.19042", - "Microsoft.Azure.Management.CosmosDB.CosmosDBManagementClient/2.0.0.0" + "OSVersion/Microsoft.Windows.10.0.19043.", + "Microsoft.Azure.Management.CosmosDB.CosmosDBManagementClient/3.0.0.0" ] }, "ResponseHeaders": { @@ -414,56 +468,56 @@ "max-age=31536000; includeSubDomains" ], "x-ms-gatewayversion": [ - "version=2.11.0" + "version=2.14.0" ], "Server": [ "Microsoft-HTTPAPI/2.0" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "11995" + "11989" ], "x-ms-request-id": [ - "93ec14b0-64bd-4c29-9397-47f6cc11d7d8" + "d494ffe3-cc24-4d5b-bd7e-a70954683973" ], "x-ms-correlation-request-id": [ - "93ec14b0-64bd-4c29-9397-47f6cc11d7d8" + "d494ffe3-cc24-4d5b-bd7e-a70954683973" ], "x-ms-routing-request-id": [ - "WESTUS2:20210303T174955Z:93ec14b0-64bd-4c29-9397-47f6cc11d7d8" + "WESTUS2:20210616T071624Z:d494ffe3-cc24-4d5b-bd7e-a70954683973" ], "X-Content-Type-Options": [ "nosniff" ], "Date": [ - "Wed, 03 Mar 2021 17:49:54 GMT" + "Wed, 16 Jun 2021 07:16:24 GMT" ], "Content-Length": [ - "2869" + "13637" ], "Content-Type": [ "application/json" ] }, - "ResponseBody": "{\r\n \"id\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/resourceGroups/pitr-stage-rg/providers/Microsoft.DocumentDB/databaseAccounts/pitr-mongo32-stage-source\",\r\n \"name\": \"pitr-mongo32-stage-source\",\r\n \"location\": \"East US 2\",\r\n \"type\": \"Microsoft.DocumentDB/databaseAccounts\",\r\n \"kind\": \"MongoDB\",\r\n \"tags\": {},\r\n \"systemData\": {\r\n \"createdAt\": \"2020-12-07T21:23:55.1942911Z\"\r\n },\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"documentEndpoint\": \"https://pitr-mongo32-stage-source.documents-staging.windows-ppe.net:443/\",\r\n \"publicNetworkAccess\": \"Enabled\",\r\n \"enableAutomaticFailover\": false,\r\n \"enableMultipleWriteLocations\": false,\r\n \"enablePartitionKeyMonitor\": false,\r\n \"isVirtualNetworkFilterEnabled\": false,\r\n \"virtualNetworkRules\": [],\r\n \"EnabledApiTypes\": \"MongoDB\",\r\n \"disableKeyBasedMetadataWriteAccess\": false,\r\n \"enableFreeTier\": false,\r\n \"enableAnalyticalStorage\": false,\r\n \"instanceId\": \"eadac7e2-61f0-4e07-aaa1-9dbb495ec5a8\",\r\n \"createMode\": \"Default\",\r\n \"databaseAccountOfferType\": \"Standard\",\r\n \"enableCassandraConnector\": false,\r\n \"connectorOffer\": \"\",\r\n \"defaultIdentity\": \"\",\r\n \"networkAclBypass\": \"None\",\r\n \"consistencyPolicy\": {\r\n \"defaultConsistencyLevel\": \"Session\",\r\n \"maxIntervalInSeconds\": 5,\r\n \"maxStalenessPrefix\": 100\r\n },\r\n \"apiProperties\": {\r\n \"serverVersion\": \"3.2\"\r\n },\r\n \"configurationOverrides\": {\r\n \"EnableBsonSchema\": \"True\"\r\n },\r\n \"writeLocations\": [\r\n {\r\n \"id\": \"pitr-mongo32-stage-source-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://pitr-mongo32-stage-source-eastus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"readLocations\": [\r\n {\r\n \"id\": \"pitr-mongo32-stage-source-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://pitr-mongo32-stage-source-eastus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n },\r\n {\r\n \"id\": \"pitr-mongo32-stage-source-westus2\",\r\n \"locationName\": \"West US 2\",\r\n \"documentEndpoint\": \"https://pitr-mongo32-stage-source-westus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 1,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"locations\": [\r\n {\r\n \"id\": \"pitr-mongo32-stage-source-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://pitr-mongo32-stage-source-eastus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n },\r\n {\r\n \"id\": \"pitr-mongo32-stage-source-westus2\",\r\n \"locationName\": \"West US 2\",\r\n \"documentEndpoint\": \"https://pitr-mongo32-stage-source-westus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 1,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"failoverPolicies\": [\r\n {\r\n \"id\": \"pitr-mongo32-stage-source-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"failoverPriority\": 0\r\n },\r\n {\r\n \"id\": \"pitr-mongo32-stage-source-westus2\",\r\n \"locationName\": \"West US 2\",\r\n \"failoverPriority\": 1\r\n }\r\n ],\r\n \"cors\": [],\r\n \"capabilities\": [],\r\n \"ipRules\": [],\r\n \"backupPolicy\": {\r\n \"type\": \"Continuous\"\r\n },\r\n \"networkAclBypassResourceIds\": []\r\n },\r\n \"identity\": {\r\n \"type\": \"None\"\r\n }\r\n}", + "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"name\": \"fccbe297-cb19-424b-a8d7-e996a6b7b689\",\r\n \"location\": \"East US 2\",\r\n \"type\": \"Microsoft.DocumentDB/locations/restorableDatabaseAccounts\",\r\n \"id\": \"/subscriptions/259fbb24-9bcd-4cfc-865c-fc33b22fe38a/providers/Microsoft.DocumentDB/locations/eastus2/restorableDatabaseAccounts/fccbe297-cb19-424b-a8d7-e996a6b7b689\",\r\n \"properties\": {\r\n \"accountName\": \"mongotestaccount\",\r\n \"apiType\": \"MongoDB\",\r\n \"creationTime\": \"2021-06-02T19:34:26Z\",\r\n \"restorableLocations\": [\r\n {\r\n \"locationName\": \"East US 2\",\r\n \"regionalDatabaseAccountInstanceId\": \"9f8cab0e-80f5-48b6-bc9f-7f7b3a69afeb\",\r\n \"creationTime\": \"2021-06-02T19:34:27Z\"\r\n }\r\n ]\r\n }\r\n },\r\n {\r\n \"name\": \"c6b53e1d-0dec-4ff2-ab70-2e9d24a3ed27\",\r\n \"location\": \"East US 2\",\r\n \"type\": \"Microsoft.DocumentDB/locations/restorableDatabaseAccounts\",\r\n \"id\": \"/subscriptions/259fbb24-9bcd-4cfc-865c-fc33b22fe38a/providers/Microsoft.DocumentDB/locations/eastus2/restorableDatabaseAccounts/c6b53e1d-0dec-4ff2-ab70-2e9d24a3ed27\",\r\n \"properties\": {\r\n \"accountName\": \"pitr-sql-stage-source\",\r\n \"apiType\": \"Sql\",\r\n \"creationTime\": \"2021-06-02T23:30:43Z\",\r\n \"restorableLocations\": [\r\n {\r\n \"locationName\": \"East US 2\",\r\n \"regionalDatabaseAccountInstanceId\": \"9961d453-89c2-4daf-bcad-add22d287617\",\r\n \"creationTime\": \"2021-06-02T23:30:43Z\"\r\n }\r\n ]\r\n }\r\n },\r\n {\r\n \"name\": \"990590c0-4db8-4b0e-96ef-55f0be03615d\",\r\n \"location\": \"East US 2\",\r\n \"type\": \"Microsoft.DocumentDB/locations/restorableDatabaseAccounts\",\r\n \"id\": \"/subscriptions/259fbb24-9bcd-4cfc-865c-fc33b22fe38a/providers/Microsoft.DocumentDB/locations/eastus2/restorableDatabaseAccounts/990590c0-4db8-4b0e-96ef-55f0be03615d\",\r\n \"properties\": {\r\n \"accountName\": \"pitr-mongo32-stage-source\",\r\n \"apiType\": \"MongoDB\",\r\n \"creationTime\": \"2021-06-02T23:32:31Z\",\r\n \"restorableLocations\": [\r\n {\r\n \"locationName\": \"East US 2\",\r\n \"regionalDatabaseAccountInstanceId\": \"2d0a8ae4-e622-429c-a2bf-b7b13ada7b45\",\r\n \"creationTime\": \"2021-06-02T23:32:32Z\"\r\n }\r\n ]\r\n }\r\n },\r\n {\r\n \"name\": \"60a54911-db9e-436f-b282-34779e0a2a7f\",\r\n \"location\": \"East US 2\",\r\n \"type\": \"Microsoft.DocumentDB/locations/restorableDatabaseAccounts\",\r\n \"id\": \"/subscriptions/259fbb24-9bcd-4cfc-865c-fc33b22fe38a/providers/Microsoft.DocumentDB/locations/eastus2/restorableDatabaseAccounts/60a54911-db9e-436f-b282-34779e0a2a7f\",\r\n \"properties\": {\r\n \"accountName\": \"pitr-mongo36-stage-source\",\r\n \"apiType\": \"MongoDB\",\r\n \"creationTime\": \"2021-06-02T23:33:01Z\",\r\n \"restorableLocations\": [\r\n {\r\n \"locationName\": \"East US 2\",\r\n \"regionalDatabaseAccountInstanceId\": \"32163288-85a4-454b-a7d7-d7fbb1f32aeb\",\r\n \"creationTime\": \"2021-06-02T23:33:02Z\"\r\n }\r\n ]\r\n }\r\n },\r\n {\r\n \"name\": \"b0736fc7-cb53-4b6f-bd2f-aac904085da4\",\r\n \"location\": \"East US 2\",\r\n \"type\": \"Microsoft.DocumentDB/locations/restorableDatabaseAccounts\",\r\n \"id\": \"/subscriptions/259fbb24-9bcd-4cfc-865c-fc33b22fe38a/providers/Microsoft.DocumentDB/locations/eastus2/restorableDatabaseAccounts/b0736fc7-cb53-4b6f-bd2f-aac904085da4\",\r\n \"properties\": {\r\n \"accountName\": \"mongo-continuous-1212\",\r\n \"apiType\": \"MongoDB\",\r\n \"creationTime\": \"2021-06-04T22:09:26Z\",\r\n \"restorableLocations\": [\r\n {\r\n \"locationName\": \"East US 2\",\r\n \"regionalDatabaseAccountInstanceId\": \"a1f3383c-4e2f-44b5-8348-7323e2356b3d\",\r\n \"creationTime\": \"2021-06-04T22:09:26Z\"\r\n }\r\n ]\r\n }\r\n },\r\n {\r\n \"name\": \"2301188f-cf13-419d-b7c2-5321c5476526\",\r\n \"location\": \"East US 2\",\r\n \"type\": \"Microsoft.DocumentDB/locations/restorableDatabaseAccounts\",\r\n \"id\": \"/subscriptions/259fbb24-9bcd-4cfc-865c-fc33b22fe38a/providers/Microsoft.DocumentDB/locations/eastus2/restorableDatabaseAccounts/2301188f-cf13-419d-b7c2-5321c5476526\",\r\n \"properties\": {\r\n \"accountName\": \"restored-cosmosdb-1212\",\r\n \"apiType\": \"Sql\",\r\n \"creationTime\": \"2021-06-07T21:06:02Z\",\r\n \"restorableLocations\": [\r\n {\r\n \"locationName\": \"East US 2\",\r\n \"regionalDatabaseAccountInstanceId\": \"05b3f3ce-59ee-4d28-bd66-09ea5c50790d\",\r\n \"creationTime\": \"2021-06-07T21:06:02Z\"\r\n }\r\n ]\r\n }\r\n },\r\n {\r\n \"name\": \"24302a82-123a-487a-bede-054ade2860f1\",\r\n \"location\": \"East US 2\",\r\n \"type\": \"Microsoft.DocumentDB/locations/restorableDatabaseAccounts\",\r\n \"id\": \"/subscriptions/259fbb24-9bcd-4cfc-865c-fc33b22fe38a/providers/Microsoft.DocumentDB/locations/eastus2/restorableDatabaseAccounts/24302a82-123a-487a-bede-054ade2860f1\",\r\n \"properties\": {\r\n \"accountName\": \"dbaccount29-1\",\r\n \"apiType\": \"Sql\",\r\n \"creationTime\": \"2021-06-07T21:24:52Z\",\r\n \"restorableLocations\": [\r\n {\r\n \"locationName\": \"East US 2\",\r\n \"regionalDatabaseAccountInstanceId\": \"ede5fb9c-4058-44a6-8dec-29e3e7de9b44\",\r\n \"creationTime\": \"2021-06-07T21:24:53Z\"\r\n }\r\n ]\r\n }\r\n },\r\n {\r\n \"name\": \"e157f1a1-6837-46fa-8f4f-ef3e7266ab3a\",\r\n \"location\": \"East US 2\",\r\n \"type\": \"Microsoft.DocumentDB/locations/restorableDatabaseAccounts\",\r\n \"id\": \"/subscriptions/259fbb24-9bcd-4cfc-865c-fc33b22fe38a/providers/Microsoft.DocumentDB/locations/eastus2/restorableDatabaseAccounts/e157f1a1-6837-46fa-8f4f-ef3e7266ab3a\",\r\n \"properties\": {\r\n \"accountName\": \"rbactestps12\",\r\n \"apiType\": \"Sql\",\r\n \"creationTime\": \"2021-06-07T21:27:24Z\",\r\n \"restorableLocations\": [\r\n {\r\n \"locationName\": \"East US 2\",\r\n \"regionalDatabaseAccountInstanceId\": \"64c449c8-6fa2-4273-b066-5a062d4418be\",\r\n \"creationTime\": \"2021-06-07T21:27:24Z\"\r\n }\r\n ]\r\n }\r\n },\r\n {\r\n \"name\": \"72706ac1-0d0a-40be-a30a-1b4af0911131\",\r\n \"location\": \"East US 2\",\r\n \"type\": \"Microsoft.DocumentDB/locations/restorableDatabaseAccounts\",\r\n \"id\": \"/subscriptions/259fbb24-9bcd-4cfc-865c-fc33b22fe38a/providers/Microsoft.DocumentDB/locations/eastus2/restorableDatabaseAccounts/72706ac1-0d0a-40be-a30a-1b4af0911131\",\r\n \"properties\": {\r\n \"accountName\": \"mongo-db0002\",\r\n \"apiType\": \"MongoDB\",\r\n \"creationTime\": \"2021-06-07T23:44:54Z\",\r\n \"restorableLocations\": [\r\n {\r\n \"locationName\": \"East US 2\",\r\n \"regionalDatabaseAccountInstanceId\": \"dfccb705-08c0-4282-9dad-07ab354ba8e8\",\r\n \"creationTime\": \"2021-06-07T23:44:55Z\"\r\n }\r\n ]\r\n }\r\n },\r\n {\r\n \"name\": \"41ea7d9e-553f-4259-872f-676c969e9a0b\",\r\n \"location\": \"East US 2\",\r\n \"type\": \"Microsoft.DocumentDB/locations/restorableDatabaseAccounts\",\r\n \"id\": \"/subscriptions/259fbb24-9bcd-4cfc-865c-fc33b22fe38a/providers/Microsoft.DocumentDB/locations/eastus2/restorableDatabaseAccounts/41ea7d9e-553f-4259-872f-676c969e9a0b\",\r\n \"properties\": {\r\n \"accountName\": \"dbaccount27-1\",\r\n \"apiType\": \"Sql\",\r\n \"creationTime\": \"2021-06-08T17:39:46Z\",\r\n \"restorableLocations\": [\r\n {\r\n \"locationName\": \"East US 2\",\r\n \"regionalDatabaseAccountInstanceId\": \"1db9bff4-73f7-48e1-a506-ab5b3edc8308\",\r\n \"creationTime\": \"2021-06-08T17:39:47Z\"\r\n }\r\n ]\r\n }\r\n },\r\n {\r\n \"name\": \"ceacd38f-9e6b-4a81-b2f7-ecd341c6fbbd\",\r\n \"location\": \"East US 2\",\r\n \"type\": \"Microsoft.DocumentDB/locations/restorableDatabaseAccounts\",\r\n \"id\": \"/subscriptions/259fbb24-9bcd-4cfc-865c-fc33b22fe38a/providers/Microsoft.DocumentDB/locations/eastus2/restorableDatabaseAccounts/ceacd38f-9e6b-4a81-b2f7-ecd341c6fbbd\",\r\n \"properties\": {\r\n \"accountName\": \"cli125\",\r\n \"apiType\": \"Sql\",\r\n \"creationTime\": \"2021-06-09T19:06:13Z\",\r\n \"restorableLocations\": [\r\n {\r\n \"locationName\": \"East US 2\",\r\n \"regionalDatabaseAccountInstanceId\": \"c2a9bc5f-f37e-4add-a582-52abfb6a36a1\",\r\n \"creationTime\": \"2021-06-09T19:06:14Z\"\r\n }\r\n ]\r\n }\r\n },\r\n {\r\n \"name\": \"88d48073-10d1-402e-8cf5-c79e4e2de08e\",\r\n \"location\": \"East US 2\",\r\n \"type\": \"Microsoft.DocumentDB/locations/restorableDatabaseAccounts\",\r\n \"id\": \"/subscriptions/259fbb24-9bcd-4cfc-865c-fc33b22fe38a/providers/Microsoft.DocumentDB/locations/eastus2/restorableDatabaseAccounts/88d48073-10d1-402e-8cf5-c79e4e2de08e\",\r\n \"properties\": {\r\n \"accountName\": \"sqltestaccount123\",\r\n \"apiType\": \"Sql\",\r\n \"creationTime\": \"2021-06-09T19:09:54Z\",\r\n \"restorableLocations\": [\r\n {\r\n \"locationName\": \"East US 2\",\r\n \"regionalDatabaseAccountInstanceId\": \"861a2513-08ea-4cf8-817b-99b8282f5013\",\r\n \"creationTime\": \"2021-06-09T19:09:54Z\"\r\n }\r\n ]\r\n }\r\n },\r\n {\r\n \"name\": \"bb9b3beb-42c4-4ae4-a983-58e20bcd71a5\",\r\n \"location\": \"East US 2\",\r\n \"type\": \"Microsoft.DocumentDB/locations/restorableDatabaseAccounts\",\r\n \"id\": \"/subscriptions/259fbb24-9bcd-4cfc-865c-fc33b22fe38a/providers/Microsoft.DocumentDB/locations/eastus2/restorableDatabaseAccounts/bb9b3beb-42c4-4ae4-a983-58e20bcd71a5\",\r\n \"properties\": {\r\n \"accountName\": \"db003\",\r\n \"apiType\": \"MongoDB\",\r\n \"creationTime\": \"2021-06-09T20:16:40Z\",\r\n \"restorableLocations\": [\r\n {\r\n \"locationName\": \"East US 2\",\r\n \"regionalDatabaseAccountInstanceId\": \"a6dda878-4486-437f-bd72-b9e87bf75221\",\r\n \"creationTime\": \"2021-06-09T20:16:41Z\"\r\n }\r\n ]\r\n }\r\n },\r\n {\r\n \"name\": \"9f8ee54b-f275-44fa-b2c5-9983644c131f\",\r\n \"location\": \"East US 2\",\r\n \"type\": \"Microsoft.DocumentDB/locations/restorableDatabaseAccounts\",\r\n \"id\": \"/subscriptions/259fbb24-9bcd-4cfc-865c-fc33b22fe38a/providers/Microsoft.DocumentDB/locations/eastus2/restorableDatabaseAccounts/9f8ee54b-f275-44fa-b2c5-9983644c131f\",\r\n \"properties\": {\r\n \"accountName\": \"sqltestaccount124\",\r\n \"apiType\": \"Sql\",\r\n \"creationTime\": \"2021-06-10T05:06:02Z\",\r\n \"restorableLocations\": [\r\n {\r\n \"locationName\": \"East US 2\",\r\n \"regionalDatabaseAccountInstanceId\": \"3fe302ed-daee-401c-9897-250919f9a0fe\",\r\n \"creationTime\": \"2021-06-10T05:06:02Z\"\r\n }\r\n ]\r\n }\r\n },\r\n {\r\n \"name\": \"c2601a38-bee1-400e-bc5e-8d817318cf31\",\r\n \"location\": \"East US 2\",\r\n \"type\": \"Microsoft.DocumentDB/locations/restorableDatabaseAccounts\",\r\n \"id\": \"/subscriptions/259fbb24-9bcd-4cfc-865c-fc33b22fe38a/providers/Microsoft.DocumentDB/locations/eastus2/restorableDatabaseAccounts/c2601a38-bee1-400e-bc5e-8d817318cf31\",\r\n \"properties\": {\r\n \"accountName\": \"restoredaccountname7595\",\r\n \"apiType\": \"Sql\",\r\n \"creationTime\": \"2021-06-10T18:00:35Z\",\r\n \"restorableLocations\": [\r\n {\r\n \"locationName\": \"East US 2\",\r\n \"regionalDatabaseAccountInstanceId\": \"0a4ccb11-2cb5-4b81-8ab6-ea10cbb2290d\",\r\n \"creationTime\": \"2021-06-10T18:00:35Z\"\r\n }\r\n ]\r\n }\r\n },\r\n {\r\n \"name\": \"33035d50-7f15-4450-a71d-a4da4dcd039f\",\r\n \"location\": \"East US 2\",\r\n \"type\": \"Microsoft.DocumentDB/locations/restorableDatabaseAccounts\",\r\n \"id\": \"/subscriptions/259fbb24-9bcd-4cfc-865c-fc33b22fe38a/providers/Microsoft.DocumentDB/locations/eastus2/restorableDatabaseAccounts/33035d50-7f15-4450-a71d-a4da4dcd039f\",\r\n \"properties\": {\r\n \"accountName\": \"restoredaccountname4020\",\r\n \"apiType\": \"Sql\",\r\n \"creationTime\": \"2021-06-15T21:27:04Z\",\r\n \"restorableLocations\": [\r\n {\r\n \"locationName\": \"East US 2\",\r\n \"regionalDatabaseAccountInstanceId\": \"5d75295f-2ad7-451c-b27d-8e877e22b075\",\r\n \"creationTime\": \"2021-06-15T21:27:04Z\"\r\n }\r\n ]\r\n }\r\n },\r\n {\r\n \"name\": \"7d405124-1129-468e-9ff9-d031059c96bc\",\r\n \"location\": \"East US 2\",\r\n \"type\": \"Microsoft.DocumentDB/locations/restorableDatabaseAccounts\",\r\n \"id\": \"/subscriptions/259fbb24-9bcd-4cfc-865c-fc33b22fe38a/providers/Microsoft.DocumentDB/locations/eastus2/restorableDatabaseAccounts/7d405124-1129-468e-9ff9-d031059c96bc\",\r\n \"properties\": {\r\n \"accountName\": \"sqltestaccount\",\r\n \"apiType\": \"Sql\",\r\n \"creationTime\": \"2021-06-16T05:58:55Z\",\r\n \"restorableLocations\": [\r\n {\r\n \"locationName\": \"East US 2\",\r\n \"regionalDatabaseAccountInstanceId\": \"d0a6a03f-c045-4275-a38a-b221f5749051\",\r\n \"creationTime\": \"2021-06-16T05:58:55Z\"\r\n }\r\n ]\r\n }\r\n },\r\n {\r\n \"name\": \"d5fe116b-8a63-474e-88a4-afb2a726198e\",\r\n \"location\": \"East US 2\",\r\n \"type\": \"Microsoft.DocumentDB/locations/restorableDatabaseAccounts\",\r\n \"id\": \"/subscriptions/259fbb24-9bcd-4cfc-865c-fc33b22fe38a/providers/Microsoft.DocumentDB/locations/eastus2/restorableDatabaseAccounts/d5fe116b-8a63-474e-88a4-afb2a726198e\",\r\n \"properties\": {\r\n \"accountName\": \"cli127\",\r\n \"apiType\": \"Sql\",\r\n \"creationTime\": \"2021-06-16T06:57:39Z\",\r\n \"restorableLocations\": [\r\n {\r\n \"locationName\": \"East US 2\",\r\n \"regionalDatabaseAccountInstanceId\": \"f9a67f44-e6f6-4270-91c6-d90a0292ac96\",\r\n \"creationTime\": \"2021-06-16T06:57:39Z\"\r\n }\r\n ]\r\n }\r\n },\r\n {\r\n \"name\": \"1dfe47fb-822c-41f1-b403-1cf6c63d0ba7\",\r\n \"location\": \"East US 2\",\r\n \"type\": \"Microsoft.DocumentDB/locations/restorableDatabaseAccounts\",\r\n \"id\": \"/subscriptions/259fbb24-9bcd-4cfc-865c-fc33b22fe38a/providers/Microsoft.DocumentDB/locations/eastus2/restorableDatabaseAccounts/1dfe47fb-822c-41f1-b403-1cf6c63d0ba7\",\r\n \"properties\": {\r\n \"accountName\": \"restoredaccountname3766\",\r\n \"apiType\": \"Sql\",\r\n \"creationTime\": \"2021-06-16T07:16:12Z\",\r\n \"restorableLocations\": [\r\n {\r\n \"locationName\": \"East US 2\",\r\n \"regionalDatabaseAccountInstanceId\": \"1a05d833-615e-45b0-b2ec-f87ca4d9829c\",\r\n \"creationTime\": \"2021-06-16T07:16:12Z\"\r\n }\r\n ]\r\n }\r\n },\r\n {\r\n \"name\": \"c483a757-4d93-4d60-ae22-04c9d2c89595\",\r\n \"location\": \"East US 2\",\r\n \"type\": \"Microsoft.DocumentDB/locations/restorableDatabaseAccounts\",\r\n \"id\": \"/subscriptions/259fbb24-9bcd-4cfc-865c-fc33b22fe38a/providers/Microsoft.DocumentDB/locations/eastus2/restorableDatabaseAccounts/c483a757-4d93-4d60-ae22-04c9d2c89595\",\r\n \"properties\": {\r\n \"accountName\": \"restored2-cosmosdb-1212-1\",\r\n \"apiType\": \"Sql\",\r\n \"creationTime\": \"2021-06-04T22:17:44Z\",\r\n \"deletionTime\": \"2021-06-05T05:04:42Z\",\r\n \"restorableLocations\": [\r\n {\r\n \"locationName\": \"East US 2\",\r\n \"regionalDatabaseAccountInstanceId\": \"eb5e33f1-8ecf-42b7-9f3f-18784854fc5e\",\r\n \"creationTime\": \"2021-06-04T22:17:44Z\",\r\n \"deletionTime\": \"2021-06-05T05:04:42Z\"\r\n }\r\n ]\r\n }\r\n },\r\n {\r\n \"name\": \"80458ce3-9b06-4d87-9405-1f47eb88164f\",\r\n \"location\": \"East US 2\",\r\n \"type\": \"Microsoft.DocumentDB/locations/restorableDatabaseAccounts\",\r\n \"id\": \"/subscriptions/259fbb24-9bcd-4cfc-865c-fc33b22fe38a/providers/Microsoft.DocumentDB/locations/eastus2/restorableDatabaseAccounts/80458ce3-9b06-4d87-9405-1f47eb88164f\",\r\n \"properties\": {\r\n \"accountName\": \"dbaccount27-1\",\r\n \"apiType\": \"Sql\",\r\n \"creationTime\": \"2021-06-07T21:24:07Z\",\r\n \"deletionTime\": \"2021-06-07T22:30:24Z\",\r\n \"restorableLocations\": [\r\n {\r\n \"locationName\": \"East US 2\",\r\n \"regionalDatabaseAccountInstanceId\": \"a47823ea-6bce-4436-91a1-1dd14a1aa3a7\",\r\n \"creationTime\": \"2021-06-07T21:24:08Z\",\r\n \"deletionTime\": \"2021-06-07T22:30:24Z\"\r\n }\r\n ]\r\n }\r\n },\r\n {\r\n \"name\": \"3b44efa3-a7e6-414e-99c2-22d63aa1d778\",\r\n \"location\": \"East US 2\",\r\n \"type\": \"Microsoft.DocumentDB/locations/restorableDatabaseAccounts\",\r\n \"id\": \"/subscriptions/259fbb24-9bcd-4cfc-865c-fc33b22fe38a/providers/Microsoft.DocumentDB/locations/eastus2/restorableDatabaseAccounts/3b44efa3-a7e6-414e-99c2-22d63aa1d778\",\r\n \"properties\": {\r\n \"accountName\": \"cli126\",\r\n \"apiType\": \"Sql\",\r\n \"creationTime\": \"2021-06-10T05:07:44Z\",\r\n \"deletionTime\": \"2021-06-15T21:00:15Z\",\r\n \"restorableLocations\": [\r\n {\r\n \"locationName\": \"East US 2\",\r\n \"regionalDatabaseAccountInstanceId\": \"fbc82bdc-1493-4cc4-bd69-2c33c650e3ed\",\r\n \"creationTime\": \"2021-06-10T05:07:45Z\",\r\n \"deletionTime\": \"2021-06-15T21:00:15Z\"\r\n }\r\n ]\r\n }\r\n },\r\n {\r\n \"name\": \"3bf55696-9845-4ab5-b57c-f955a2ffe3ca\",\r\n \"location\": \"East US 2\",\r\n \"type\": \"Microsoft.DocumentDB/locations/restorableDatabaseAccounts\",\r\n \"id\": \"/subscriptions/259fbb24-9bcd-4cfc-865c-fc33b22fe38a/providers/Microsoft.DocumentDB/locations/eastus2/restorableDatabaseAccounts/3bf55696-9845-4ab5-b57c-f955a2ffe3ca\",\r\n \"properties\": {\r\n \"accountName\": \"sqltestaccount\",\r\n \"apiType\": \"Sql\",\r\n \"creationTime\": \"2021-06-01T23:24:19Z\",\r\n \"deletionTime\": \"2021-06-16T04:58:21Z\",\r\n \"restorableLocations\": [\r\n {\r\n \"locationName\": \"East US 2\",\r\n \"regionalDatabaseAccountInstanceId\": \"1062fb86-a396-4689-9326-83193cf2274b\",\r\n \"creationTime\": \"2021-06-01T23:24:20Z\",\r\n \"deletionTime\": \"2021-06-16T04:58:21Z\"\r\n }\r\n ]\r\n }\r\n }\r\n ]\r\n}", "StatusCode": 200 }, { - "RequestUri": "/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/providers/Microsoft.DocumentDB/locations/eastus2/restorableDatabaseAccounts?api-version=2021-03-01-preview", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvODBiZTM5NjEtMDUyMS00YTBhLTg1NzAtNWNkNWE0ZTJmOThjL3Byb3ZpZGVycy9NaWNyb3NvZnQuRG9jdW1lbnREQi9sb2NhdGlvbnMvZWFzdHVzMi9yZXN0b3JhYmxlRGF0YWJhc2VBY2NvdW50cz9hcGktdmVyc2lvbj0yMDIxLTAzLTAxLXByZXZpZXc=", + "RequestUri": "/subscriptions/259fbb24-9bcd-4cfc-865c-fc33b22fe38a/providers/Microsoft.DocumentDB/locations/eastus2/restorableDatabaseAccounts/c6b53e1d-0dec-4ff2-ab70-2e9d24a3ed27?api-version=2021-06-15", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMjU5ZmJiMjQtOWJjZC00Y2ZjLTg2NWMtZmMzM2IyMmZlMzhhL3Byb3ZpZGVycy9NaWNyb3NvZnQuRG9jdW1lbnREQi9sb2NhdGlvbnMvZWFzdHVzMi9yZXN0b3JhYmxlRGF0YWJhc2VBY2NvdW50cy9jNmI1M2UxZC0wZGVjLTRmZjItYWI3MC0yZTlkMjRhM2VkMjc/YXBpLXZlcnNpb249MjAyMS0wNi0xNQ==", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { "x-ms-client-request-id": [ - "f3cee460-0765-4a8c-8ec7-6d4eb42ac868" + "d276a17e-d7c1-4cad-a332-f1cd2861a8a7" ], "Accept-Language": [ "en-US" ], "User-Agent": [ - "FxVersion/5.0.321.7212", + "FxVersion/4.6.28207.03", "OSName/Windows", - "OSVersion/Microsoft.Windows.10.0.19042", - "Microsoft.Azure.Management.CosmosDB.CosmosDBManagementClient/2.0.0.0" + "OSVersion/Microsoft.Windows.10.0.19043.", + "Microsoft.Azure.Management.CosmosDB.CosmosDBManagementClient/3.0.0.0" ] }, "ResponseHeaders": { @@ -477,56 +531,116 @@ "max-age=31536000; includeSubDomains" ], "x-ms-gatewayversion": [ - "version=2.11.0" + "version=2.14.0" ], "Server": [ "Microsoft-HTTPAPI/2.0" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "11993" + "11996" ], "x-ms-request-id": [ - "14c0566a-4a4a-4c96-9049-d75e53b7a302" + "683a1d31-d898-48a8-9244-204e75a5e930" ], "x-ms-correlation-request-id": [ - "14c0566a-4a4a-4c96-9049-d75e53b7a302" + "683a1d31-d898-48a8-9244-204e75a5e930" ], "x-ms-routing-request-id": [ - "WESTUS2:20210303T175041Z:14c0566a-4a4a-4c96-9049-d75e53b7a302" + "WESTUS2:20210616T071621Z:683a1d31-d898-48a8-9244-204e75a5e930" ], "X-Content-Type-Options": [ "nosniff" ], "Date": [ - "Wed, 03 Mar 2021 17:50:40 GMT" + "Wed, 16 Jun 2021 07:16:21 GMT" ], "Content-Length": [ - "31293" + "582" ], "Content-Type": [ "application/json" ] }, - "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"name\": \"c26d3f43-7363-4c54-940a-bde0e96bda72\",\r\n \"location\": \"East US 2\",\r\n \"type\": \"Microsoft.DocumentDB/locations/restorableDatabaseAccounts\",\r\n \"id\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/providers/Microsoft.DocumentDB/locations/eastus2/restorableDatabaseAccounts/c26d3f43-7363-4c54-940a-bde0e96bda72\",\r\n \"properties\": {\r\n \"accountName\": \"db1024-restored\",\r\n \"apiType\": \"Sql\",\r\n \"creationTime\": \"2020-08-14T01:17:36Z\",\r\n \"restorableLocations\": [\r\n {\r\n \"locationName\": \"East US 2\",\r\n \"regionalDatabaseAccountInstanceId\": \"eca195d4-fcaa-4d5f-b01b-20f61f01319f\",\r\n \"creationTime\": \"2020-08-14T01:17:36Z\"\r\n }\r\n ]\r\n }\r\n },\r\n {\r\n \"name\": \"d8974ca8-8f69-4924-9040-c10b7f30524b\",\r\n \"location\": \"East US 2\",\r\n \"type\": \"Microsoft.DocumentDB/locations/restorableDatabaseAccounts\",\r\n \"id\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/providers/Microsoft.DocumentDB/locations/eastus2/restorableDatabaseAccounts/d8974ca8-8f69-4924-9040-c10b7f30524b\",\r\n \"properties\": {\r\n \"accountName\": \"restoredaccountname9746\",\r\n \"apiType\": \"Sql\",\r\n \"creationTime\": \"2020-07-21T18:55:14Z\",\r\n \"restorableLocations\": [\r\n {\r\n \"locationName\": \"East US 2\",\r\n \"regionalDatabaseAccountInstanceId\": \"775c4324-cba7-4eb3-a8ee-5e1921f7f57b\",\r\n \"creationTime\": \"2020-07-21T18:55:14Z\"\r\n }\r\n ]\r\n }\r\n },\r\n {\r\n \"name\": \"aca7d453-88a9-4bf2-8abc-46d21553638f\",\r\n \"location\": \"East US 2\",\r\n \"type\": \"Microsoft.DocumentDB/locations/restorableDatabaseAccounts\",\r\n \"id\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/providers/Microsoft.DocumentDB/locations/eastus2/restorableDatabaseAccounts/aca7d453-88a9-4bf2-8abc-46d21553638f\",\r\n \"properties\": {\r\n \"accountName\": \"db1024\",\r\n \"apiType\": \"Sql\",\r\n \"creationTime\": \"2020-07-21T18:19:37Z\",\r\n \"restorableLocations\": [\r\n {\r\n \"locationName\": \"East US 2\",\r\n \"regionalDatabaseAccountInstanceId\": \"a926c9e8-3179-4774-bc1e-fb866407b7db\",\r\n \"creationTime\": \"2020-07-21T18:19:38Z\"\r\n }\r\n ]\r\n }\r\n },\r\n {\r\n \"name\": \"a54115d5-4356-4771-b7b0-20f475ce5a38\",\r\n \"location\": \"East US 2\",\r\n \"type\": \"Microsoft.DocumentDB/locations/restorableDatabaseAccounts\",\r\n \"id\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/providers/Microsoft.DocumentDB/locations/eastus2/restorableDatabaseAccounts/a54115d5-4356-4771-b7b0-20f475ce5a38\",\r\n \"properties\": {\r\n \"accountName\": \"stage-pitr-validation-source\",\r\n \"apiType\": \"Sql\",\r\n \"creationTime\": \"2020-08-13T23:51:16Z\",\r\n \"restorableLocations\": [\r\n {\r\n \"locationName\": \"East US 2\",\r\n \"regionalDatabaseAccountInstanceId\": \"d9b09727-2a45-4760-a837-3366c1187358\",\r\n \"creationTime\": \"2020-08-13T23:51:17Z\"\r\n },\r\n {\r\n \"locationName\": \"West US 2\",\r\n \"regionalDatabaseAccountInstanceId\": \"72ee099a-9209-4fe4-aeb2-8f4954f25eba\",\r\n \"creationTime\": \"2020-08-28T18:50:30Z\"\r\n },\r\n {\r\n \"locationName\": \"Southeast Asia\",\r\n \"regionalDatabaseAccountInstanceId\": \"e5abbaa4-031a-451a-b041-76c6bcd93fa9\",\r\n \"creationTime\": \"2021-02-08T19:29:22Z\"\r\n }\r\n ]\r\n }\r\n },\r\n {\r\n \"name\": \"bb3e3c48-18d8-46e8-b294-41d9406885c5\",\r\n \"location\": \"East US 2\",\r\n \"type\": \"Microsoft.DocumentDB/locations/restorableDatabaseAccounts\",\r\n \"id\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/providers/Microsoft.DocumentDB/locations/eastus2/restorableDatabaseAccounts/bb3e3c48-18d8-46e8-b294-41d9406885c5\",\r\n \"properties\": {\r\n \"accountName\": \"test-virangai-cont123\",\r\n \"apiType\": \"Sql\",\r\n \"creationTime\": \"2020-08-05T20:32:27Z\",\r\n \"restorableLocations\": [\r\n {\r\n \"locationName\": \"East US 2\",\r\n \"regionalDatabaseAccountInstanceId\": \"2355946d-5d79-4cc4-a521-3a302a9bff85\",\r\n \"creationTime\": \"2020-08-05T20:32:27Z\"\r\n }\r\n ]\r\n }\r\n },\r\n {\r\n \"name\": \"55083b96-b985-4dec-92df-fa0ac98443f1\",\r\n \"location\": \"East US 2\",\r\n \"type\": \"Microsoft.DocumentDB/locations/restorableDatabaseAccounts\",\r\n \"id\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/providers/Microsoft.DocumentDB/locations/eastus2/restorableDatabaseAccounts/55083b96-b985-4dec-92df-fa0ac98443f1\",\r\n \"properties\": {\r\n \"accountName\": \"selvitest-account\",\r\n \"apiType\": \"Sql\",\r\n \"creationTime\": \"2020-07-23T16:18:43Z\",\r\n \"restorableLocations\": [\r\n {\r\n \"locationName\": \"East US 2\",\r\n \"regionalDatabaseAccountInstanceId\": \"787a81fe-fb41-40da-8b69-a9e18966b4e3\",\r\n \"creationTime\": \"2020-07-23T16:18:43Z\"\r\n }\r\n ]\r\n }\r\n },\r\n {\r\n \"name\": \"ec72f021-4974-405a-8c78-f74207ff0e12\",\r\n \"location\": \"East US 2\",\r\n \"type\": \"Microsoft.DocumentDB/locations/restorableDatabaseAccounts\",\r\n \"id\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/providers/Microsoft.DocumentDB/locations/eastus2/restorableDatabaseAccounts/ec72f021-4974-405a-8c78-f74207ff0e12\",\r\n \"properties\": {\r\n \"accountName\": \"selvitest-account-destinationforrestore\",\r\n \"apiType\": \"Sql\",\r\n \"creationTime\": \"2020-07-23T17:39:58Z\",\r\n \"restorableLocations\": [\r\n {\r\n \"locationName\": \"East US 2\",\r\n \"regionalDatabaseAccountInstanceId\": \"11f925e4-b48d-4d16-9ad2-209d1056ec9c\",\r\n \"creationTime\": \"2020-07-23T17:39:58Z\"\r\n }\r\n ]\r\n }\r\n },\r\n {\r\n \"name\": \"17783e6d-0e28-41e2-b086-9d17763f1d51\",\r\n \"location\": \"East US 2\",\r\n \"type\": \"Microsoft.DocumentDB/locations/restorableDatabaseAccounts\",\r\n \"id\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/providers/Microsoft.DocumentDB/locations/eastus2/restorableDatabaseAccounts/17783e6d-0e28-41e2-b086-9d17763f1d51\",\r\n \"properties\": {\r\n \"accountName\": \"virangai-test-bk-cont\",\r\n \"apiType\": \"Sql\",\r\n \"creationTime\": \"2020-07-28T22:09:24Z\",\r\n \"restorableLocations\": [\r\n {\r\n \"locationName\": \"East US 2\",\r\n \"regionalDatabaseAccountInstanceId\": \"f74e094e-9b1d-4e16-82b6-a57782f1d187\",\r\n \"creationTime\": \"2020-07-28T22:09:24Z\"\r\n }\r\n ]\r\n }\r\n },\r\n {\r\n \"name\": \"2d90bc37-cd54-4352-9e57-e6aa3f22d494\",\r\n \"location\": \"East US 2\",\r\n \"type\": \"Microsoft.DocumentDB/locations/restorableDatabaseAccounts\",\r\n \"id\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/providers/Microsoft.DocumentDB/locations/eastus2/restorableDatabaseAccounts/2d90bc37-cd54-4352-9e57-e6aa3f22d494\",\r\n \"properties\": {\r\n \"accountName\": \"selvitest-account-destinationforrestorev2\",\r\n \"apiType\": \"Sql\",\r\n \"creationTime\": \"2020-07-23T17:41:22Z\",\r\n \"restorableLocations\": [\r\n {\r\n \"locationName\": \"East US 2\",\r\n \"regionalDatabaseAccountInstanceId\": \"e1dfecef-45cb-4c70-bbd5-393eb3774821\",\r\n \"creationTime\": \"2020-07-23T17:41:22Z\"\r\n }\r\n ]\r\n }\r\n },\r\n {\r\n \"name\": \"b0c8684b-7f9c-45fe-8ab9-2a74b656867e\",\r\n \"location\": \"East US 2\",\r\n \"type\": \"Microsoft.DocumentDB/locations/restorableDatabaseAccounts\",\r\n \"id\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/providers/Microsoft.DocumentDB/locations/eastus2/restorableDatabaseAccounts/b0c8684b-7f9c-45fe-8ab9-2a74b656867e\",\r\n \"properties\": {\r\n \"accountName\": \"restoredaccountname637428812785768088\",\r\n \"apiType\": \"Sql\",\r\n \"creationTime\": \"2020-12-07T20:03:41Z\",\r\n \"restorableLocations\": [\r\n {\r\n \"locationName\": \"East US 2\",\r\n \"regionalDatabaseAccountInstanceId\": \"59294929-189f-4f8b-af35-740fc0fba9f0\",\r\n \"creationTime\": \"2020-12-07T20:03:41Z\"\r\n }\r\n ]\r\n }\r\n },\r\n {\r\n \"name\": \"eadac7e2-61f0-4e07-aaa1-9dbb495ec5a8\",\r\n \"location\": \"East US 2\",\r\n \"type\": \"Microsoft.DocumentDB/locations/restorableDatabaseAccounts\",\r\n \"id\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/providers/Microsoft.DocumentDB/locations/eastus2/restorableDatabaseAccounts/eadac7e2-61f0-4e07-aaa1-9dbb495ec5a8\",\r\n \"properties\": {\r\n \"accountName\": \"pitr-mongo32-stage-source\",\r\n \"apiType\": \"MongoDB\",\r\n \"creationTime\": \"2020-12-07T21:23:56Z\",\r\n \"restorableLocations\": [\r\n {\r\n \"locationName\": \"East US 2\",\r\n \"regionalDatabaseAccountInstanceId\": \"49174788-8512-4a01-a3ca-38c7857a2635\",\r\n \"creationTime\": \"2020-12-07T21:23:56Z\"\r\n },\r\n {\r\n \"locationName\": \"West US 2\",\r\n \"regionalDatabaseAccountInstanceId\": \"921dbaed-a5bd-462d-8351-d0eda5e592c0\",\r\n \"creationTime\": \"2020-12-08T23:28:45Z\"\r\n }\r\n ]\r\n }\r\n },\r\n {\r\n \"name\": \"25a04cf0-89d4-4546-9c30-14d1dc8899df\",\r\n \"location\": \"East US 2\",\r\n \"type\": \"Microsoft.DocumentDB/locations/restorableDatabaseAccounts\",\r\n \"id\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/providers/Microsoft.DocumentDB/locations/eastus2/restorableDatabaseAccounts/25a04cf0-89d4-4546-9c30-14d1dc8899df\",\r\n \"properties\": {\r\n \"accountName\": \"pitr-mongo36-stage-source\",\r\n \"apiType\": \"MongoDB\",\r\n \"creationTime\": \"2020-12-07T21:35:24Z\",\r\n \"restorableLocations\": [\r\n {\r\n \"locationName\": \"East US 2\",\r\n \"regionalDatabaseAccountInstanceId\": \"b52d5178-bc7b-4b2b-a05e-9d3dba85e7fd\",\r\n \"creationTime\": \"2020-12-07T21:35:24Z\"\r\n },\r\n {\r\n \"locationName\": \"West US 2\",\r\n \"regionalDatabaseAccountInstanceId\": \"b0f33c79-f7b2-421f-9e94-699b0f8c840a\",\r\n \"creationTime\": \"2020-12-08T22:02:23Z\"\r\n }\r\n ]\r\n }\r\n },\r\n {\r\n \"name\": \"345c785a-e758-4f8b-94d4-0a1259f4f85b\",\r\n \"location\": \"East US 2\",\r\n \"type\": \"Microsoft.DocumentDB/locations/restorableDatabaseAccounts\",\r\n \"id\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/providers/Microsoft.DocumentDB/locations/eastus2/restorableDatabaseAccounts/345c785a-e758-4f8b-94d4-0a1259f4f85b\",\r\n \"properties\": {\r\n \"accountName\": \"nichatur-restore-test\",\r\n \"apiType\": \"Sql\",\r\n \"creationTime\": \"2020-12-07T23:33:57Z\",\r\n \"restorableLocations\": [\r\n {\r\n \"locationName\": \"East US 2\",\r\n \"regionalDatabaseAccountInstanceId\": \"94eeb20d-16d0-4ee1-ae6a-7f2a0332a1d5\",\r\n \"creationTime\": \"2020-12-07T23:33:57Z\"\r\n }\r\n ]\r\n }\r\n },\r\n {\r\n \"name\": \"605db505-9267-4cf0-b7ac-27ef644b2ef3\",\r\n \"location\": \"East US 2\",\r\n \"type\": \"Microsoft.DocumentDB/locations/restorableDatabaseAccounts\",\r\n \"id\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/providers/Microsoft.DocumentDB/locations/eastus2/restorableDatabaseAccounts/605db505-9267-4cf0-b7ac-27ef644b2ef3\",\r\n \"properties\": {\r\n \"accountName\": \"nichatur-restore-test-r1\",\r\n \"apiType\": \"Sql\",\r\n \"creationTime\": \"2020-12-07T23:57:59Z\",\r\n \"restorableLocations\": [\r\n {\r\n \"locationName\": \"East US 2\",\r\n \"regionalDatabaseAccountInstanceId\": \"71a2cff6-7e90-43a5-b261-b704fbfaf100\",\r\n \"creationTime\": \"2020-12-07T23:57:59Z\"\r\n }\r\n ]\r\n }\r\n },\r\n {\r\n \"name\": \"0d00d699-017a-4a76-8639-ab4bec82c5f2\",\r\n \"location\": \"East US 2\",\r\n \"type\": \"Microsoft.DocumentDB/locations/restorableDatabaseAccounts\",\r\n \"id\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/providers/Microsoft.DocumentDB/locations/eastus2/restorableDatabaseAccounts/0d00d699-017a-4a76-8639-ab4bec82c5f2\",\r\n \"properties\": {\r\n \"accountName\": \"restoredaccountname637428989095532319\",\r\n \"apiType\": \"Sql\",\r\n \"creationTime\": \"2020-12-08T00:57:52Z\",\r\n \"restorableLocations\": [\r\n {\r\n \"locationName\": \"East US 2\",\r\n \"regionalDatabaseAccountInstanceId\": \"7c0454e1-f718-48fe-894a-35182a8440d2\",\r\n \"creationTime\": \"2020-12-08T00:57:52Z\"\r\n }\r\n ]\r\n }\r\n },\r\n {\r\n \"name\": \"73d1010d-f0b7-4673-b8c0-18ddecdcda06\",\r\n \"location\": \"East US 2\",\r\n \"type\": \"Microsoft.DocumentDB/locations/restorableDatabaseAccounts\",\r\n \"id\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/providers/Microsoft.DocumentDB/locations/eastus2/restorableDatabaseAccounts/73d1010d-f0b7-4673-b8c0-18ddecdcda06\",\r\n \"properties\": {\r\n \"accountName\": \"nichatur-restore-test-r2\",\r\n \"apiType\": \"Sql\",\r\n \"creationTime\": \"2020-12-08T22:03:14Z\",\r\n \"restorableLocations\": [\r\n {\r\n \"locationName\": \"East US 2\",\r\n \"regionalDatabaseAccountInstanceId\": \"c6b5a1f6-2215-49be-9277-aeff5723ab4c\",\r\n \"creationTime\": \"2020-12-08T22:03:14Z\"\r\n }\r\n ]\r\n }\r\n },\r\n {\r\n \"name\": \"d1535f84-06b5-497b-8768-962ece984001\",\r\n \"location\": \"East US 2\",\r\n \"type\": \"Microsoft.DocumentDB/locations/restorableDatabaseAccounts\",\r\n \"id\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/providers/Microsoft.DocumentDB/locations/eastus2/restorableDatabaseAccounts/d1535f84-06b5-497b-8768-962ece984001\",\r\n \"properties\": {\r\n \"accountName\": \"kal-restore-test\",\r\n \"apiType\": \"Sql\",\r\n \"creationTime\": \"2021-01-15T21:58:32Z\",\r\n \"restorableLocations\": [\r\n {\r\n \"locationName\": \"West US 2\",\r\n \"regionalDatabaseAccountInstanceId\": \"f4b8377d-89b3-41dd-9892-79bfbc4d523c\",\r\n \"creationTime\": \"2021-01-15T21:58:32Z\"\r\n }\r\n ]\r\n }\r\n },\r\n {\r\n \"name\": \"9351dd2e-d901-465b-98cb-a74a3aabd49f\",\r\n \"location\": \"East US 2\",\r\n \"type\": \"Microsoft.DocumentDB/locations/restorableDatabaseAccounts\",\r\n \"id\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/providers/Microsoft.DocumentDB/locations/eastus2/restorableDatabaseAccounts/9351dd2e-d901-465b-98cb-a74a3aabd49f\",\r\n \"properties\": {\r\n \"accountName\": \"pitr-unique-mode-source\",\r\n \"apiType\": \"Sql\",\r\n \"creationTime\": \"2021-02-03T19:53:25Z\",\r\n \"restorableLocations\": [\r\n {\r\n \"locationName\": \"East US 2\",\r\n \"regionalDatabaseAccountInstanceId\": \"b5ee0cb6-20df-4132-8378-3d2b2bb477f8\",\r\n \"creationTime\": \"2021-02-03T19:53:26Z\"\r\n }\r\n ]\r\n }\r\n },\r\n {\r\n \"name\": \"222da8e2-da07-46db-9cd2-51a2efb84b9f\",\r\n \"location\": \"East US 2\",\r\n \"type\": \"Microsoft.DocumentDB/locations/restorableDatabaseAccounts\",\r\n \"id\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/providers/Microsoft.DocumentDB/locations/eastus2/restorableDatabaseAccounts/222da8e2-da07-46db-9cd2-51a2efb84b9f\",\r\n \"properties\": {\r\n \"accountName\": \"pitr-unique-mode-restored\",\r\n \"apiType\": \"Sql\",\r\n \"creationTime\": \"2021-02-03T20:07:50Z\",\r\n \"restorableLocations\": [\r\n {\r\n \"locationName\": \"East US 2\",\r\n \"regionalDatabaseAccountInstanceId\": \"094b572d-52f6-47bc-92c3-a692588ef6d6\",\r\n \"creationTime\": \"2021-02-03T20:07:50Z\"\r\n }\r\n ]\r\n }\r\n },\r\n {\r\n \"name\": \"19e4130a-cb83-4a34-85c2-e35dcda149f8\",\r\n \"location\": \"East US 2\",\r\n \"type\": \"Microsoft.DocumentDB/locations/restorableDatabaseAccounts\",\r\n \"id\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/providers/Microsoft.DocumentDB/locations/eastus2/restorableDatabaseAccounts/19e4130a-cb83-4a34-85c2-e35dcda149f8\",\r\n \"properties\": {\r\n \"accountName\": \"stage-validation-m\",\r\n \"apiType\": \"MongoDB\",\r\n \"creationTime\": \"2021-02-05T04:08:10Z\",\r\n \"restorableLocations\": [\r\n {\r\n \"locationName\": \"East US 2\",\r\n \"regionalDatabaseAccountInstanceId\": \"3f97305a-6a6b-4b38-b200-bea92d78f64a\",\r\n \"creationTime\": \"2021-02-05T04:08:11Z\"\r\n },\r\n {\r\n \"locationName\": \"West US 2\",\r\n \"regionalDatabaseAccountInstanceId\": \"7cf7aaa4-fe00-48fa-820b-cc632feaa9d7\",\r\n \"creationTime\": \"2021-02-05T04:29:43Z\"\r\n }\r\n ]\r\n }\r\n },\r\n {\r\n \"name\": \"5939cc7f-0bdd-4790-9ac6-a3b281c64f97\",\r\n \"location\": \"East US 2\",\r\n \"type\": \"Microsoft.DocumentDB/locations/restorableDatabaseAccounts\",\r\n \"id\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/providers/Microsoft.DocumentDB/locations/eastus2/restorableDatabaseAccounts/5939cc7f-0bdd-4790-9ac6-a3b281c64f97\",\r\n \"properties\": {\r\n \"accountName\": \"multiregion-pitr-billing-test\",\r\n \"apiType\": \"Sql\",\r\n \"creationTime\": \"2021-02-19T00:20:18Z\",\r\n \"restorableLocations\": [\r\n {\r\n \"locationName\": \"Southeast Asia\",\r\n \"regionalDatabaseAccountInstanceId\": \"0018e6e6-170f-4e25-b1a5-97e718138e0c\",\r\n \"creationTime\": \"2021-02-19T00:20:18Z\"\r\n },\r\n {\r\n \"locationName\": \"West US 2\",\r\n \"regionalDatabaseAccountInstanceId\": \"e235a61e-abf7-4e95-bfc2-0e4aa649b874\",\r\n \"creationTime\": \"2021-02-19T00:33:52Z\"\r\n }\r\n ]\r\n }\r\n },\r\n {\r\n \"name\": \"96aa7f5a-5292-44f3-9d3e-bec163b0de1a\",\r\n \"location\": \"East US 2\",\r\n \"type\": \"Microsoft.DocumentDB/locations/restorableDatabaseAccounts\",\r\n \"id\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/providers/Microsoft.DocumentDB/locations/eastus2/restorableDatabaseAccounts/96aa7f5a-5292-44f3-9d3e-bec163b0de1a\",\r\n \"properties\": {\r\n \"accountName\": \"restore-pitr-mongo32-stage-source\",\r\n \"apiType\": \"MongoDB\",\r\n \"creationTime\": \"2021-02-26T18:11:04Z\",\r\n \"restorableLocations\": [\r\n {\r\n \"locationName\": \"East US 2\",\r\n \"regionalDatabaseAccountInstanceId\": \"8c350d54-e45d-4ef7-af55-9f07dc4fe594\",\r\n \"creationTime\": \"2021-02-26T18:11:04Z\"\r\n }\r\n ]\r\n }\r\n },\r\n {\r\n \"name\": \"c02d9298-7cdb-440f-a16b-0dc3c97d6cde\",\r\n \"location\": \"East US 2\",\r\n \"type\": \"Microsoft.DocumentDB/locations/restorableDatabaseAccounts\",\r\n \"id\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/providers/Microsoft.DocumentDB/locations/eastus2/restorableDatabaseAccounts/c02d9298-7cdb-440f-a16b-0dc3c97d6cde\",\r\n \"properties\": {\r\n \"accountName\": \"pitr-sql-stage-restored-wrr\",\r\n \"apiType\": \"Sql\",\r\n \"creationTime\": \"2021-03-03T04:36:55Z\",\r\n \"restorableLocations\": [\r\n {\r\n \"locationName\": \"East US 2\",\r\n \"regionalDatabaseAccountInstanceId\": \"d6e10b03-43cd-4bdc-a1b8-3dfab9fe6beb\",\r\n \"creationTime\": \"2021-03-03T04:36:55Z\"\r\n }\r\n ]\r\n }\r\n },\r\n {\r\n \"name\": \"00e807ea-76c1-4b2f-afdd-dddc1b15979f\",\r\n \"location\": \"East US 2\",\r\n \"type\": \"Microsoft.DocumentDB/locations/restorableDatabaseAccounts\",\r\n \"id\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/providers/Microsoft.DocumentDB/locations/eastus2/restorableDatabaseAccounts/00e807ea-76c1-4b2f-afdd-dddc1b15979f\",\r\n \"properties\": {\r\n \"accountName\": \"pitr-sql-stage-restored-wrr1\",\r\n \"apiType\": \"Sql\",\r\n \"creationTime\": \"2021-03-03T05:01:33Z\",\r\n \"restorableLocations\": [\r\n {\r\n \"locationName\": \"East US 2\",\r\n \"regionalDatabaseAccountInstanceId\": \"683f9f6f-8b7d-4638-a4f2-db9983a9c2d1\",\r\n \"creationTime\": \"2021-03-03T05:01:33Z\"\r\n }\r\n ]\r\n }\r\n },\r\n {\r\n \"name\": \"9766bca9-cc26-4e26-83fe-32cd22fdb83d\",\r\n \"location\": \"East US 2\",\r\n \"type\": \"Microsoft.DocumentDB/locations/restorableDatabaseAccounts\",\r\n \"id\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/providers/Microsoft.DocumentDB/locations/eastus2/restorableDatabaseAccounts/9766bca9-cc26-4e26-83fe-32cd22fdb83d\",\r\n \"properties\": {\r\n \"accountName\": \"stage-pitr-billing-test\",\r\n \"apiType\": \"Sql\",\r\n \"creationTime\": \"2021-01-20T01:08:53Z\",\r\n \"deletionTime\": \"2021-02-04T00:01:29Z\",\r\n \"restorableLocations\": [\r\n {\r\n \"locationName\": \"West US 2\",\r\n \"regionalDatabaseAccountInstanceId\": \"9df768c4-6f3e-4bb8-be73-c8b338f50875\",\r\n \"creationTime\": \"2021-01-20T01:08:53Z\",\r\n \"deletionTime\": \"2021-02-04T00:01:29Z\"\r\n }\r\n ]\r\n }\r\n },\r\n {\r\n \"name\": \"8e032502-70fc-4495-8546-e69383186c09\",\r\n \"location\": \"East US 2\",\r\n \"type\": \"Microsoft.DocumentDB/locations/restorableDatabaseAccounts\",\r\n \"id\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/providers/Microsoft.DocumentDB/locations/eastus2/restorableDatabaseAccounts/8e032502-70fc-4495-8546-e69383186c09\",\r\n \"properties\": {\r\n \"accountName\": \"stage-pitr-billing-test-2\",\r\n \"apiType\": \"Sql\",\r\n \"creationTime\": \"2021-01-21T05:06:14Z\",\r\n \"deletionTime\": \"2021-02-04T00:01:29Z\",\r\n \"restorableLocations\": [\r\n {\r\n \"locationName\": \"West US 2\",\r\n \"regionalDatabaseAccountInstanceId\": \"a994d170-beb1-4f1a-a413-2d5548b171dd\",\r\n \"creationTime\": \"2021-01-21T05:06:14Z\",\r\n \"deletionTime\": \"2021-02-04T00:01:29Z\"\r\n }\r\n ]\r\n }\r\n },\r\n {\r\n \"name\": \"d9e1ccfa-1929-4532-9efb-6100feff0f0e\",\r\n \"location\": \"East US 2\",\r\n \"type\": \"Microsoft.DocumentDB/locations/restorableDatabaseAccounts\",\r\n \"id\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/providers/Microsoft.DocumentDB/locations/eastus2/restorableDatabaseAccounts/d9e1ccfa-1929-4532-9efb-6100feff0f0e\",\r\n \"properties\": {\r\n \"accountName\": \"stage-pitr-validation-restored-ror\",\r\n \"apiType\": \"Sql\",\r\n \"creationTime\": \"2021-02-06T19:32:22Z\",\r\n \"deletionTime\": \"2021-02-06T19:40:48Z\",\r\n \"restorableLocations\": [\r\n {\r\n \"locationName\": \"East US 2\",\r\n \"regionalDatabaseAccountInstanceId\": \"95ef85ad-f3dd-490d-aff2-50d6c7c0dd5f\",\r\n \"creationTime\": \"2021-02-06T19:32:22Z\",\r\n \"deletionTime\": \"2021-02-06T19:40:48Z\"\r\n }\r\n ]\r\n }\r\n },\r\n {\r\n \"name\": \"2d7d7e33-9b97-491e-895b-fe7f46f3d86c\",\r\n \"location\": \"East US 2\",\r\n \"type\": \"Microsoft.DocumentDB/locations/restorableDatabaseAccounts\",\r\n \"id\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/providers/Microsoft.DocumentDB/locations/eastus2/restorableDatabaseAccounts/2d7d7e33-9b97-491e-895b-fe7f46f3d86c\",\r\n \"properties\": {\r\n \"accountName\": \"stage-pitr-validation-source-r1\",\r\n \"apiType\": \"Sql\",\r\n \"creationTime\": \"2021-02-10T23:50:26Z\",\r\n \"deletionTime\": \"2021-02-11T07:07:51Z\",\r\n \"restorableLocations\": [\r\n {\r\n \"locationName\": \"East US 2\",\r\n \"regionalDatabaseAccountInstanceId\": \"eb35152b-9da0-44c0-a767-0c643969bf08\",\r\n \"creationTime\": \"2021-02-10T23:50:26Z\",\r\n \"deletionTime\": \"2021-02-11T07:07:51Z\"\r\n }\r\n ]\r\n }\r\n },\r\n {\r\n \"name\": \"4961ef4a-30d0-484e-ad16-8ba453b14abf\",\r\n \"location\": \"East US 2\",\r\n \"type\": \"Microsoft.DocumentDB/locations/restorableDatabaseAccounts\",\r\n \"id\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/providers/Microsoft.DocumentDB/locations/eastus2/restorableDatabaseAccounts/4961ef4a-30d0-484e-ad16-8ba453b14abf\",\r\n \"properties\": {\r\n \"accountName\": \"stage-pitr-validation-source-res\",\r\n \"apiType\": \"Sql\",\r\n \"creationTime\": \"2021-02-11T04:40:28Z\",\r\n \"deletionTime\": \"2021-02-11T07:07:51Z\",\r\n \"restorableLocations\": [\r\n {\r\n \"locationName\": \"East US 2\",\r\n \"regionalDatabaseAccountInstanceId\": \"5970d071-463b-4f79-92ac-810f199754e9\",\r\n \"creationTime\": \"2021-02-11T04:40:28Z\",\r\n \"deletionTime\": \"2021-02-11T07:07:51Z\"\r\n }\r\n ]\r\n }\r\n },\r\n {\r\n \"name\": \"ce9e2478-aa44-4bd2-96d4-d23f75dbd994\",\r\n \"location\": \"East US 2\",\r\n \"type\": \"Microsoft.DocumentDB/locations/restorableDatabaseAccounts\",\r\n \"id\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/providers/Microsoft.DocumentDB/locations/eastus2/restorableDatabaseAccounts/ce9e2478-aa44-4bd2-96d4-d23f75dbd994\",\r\n \"properties\": {\r\n \"accountName\": \"stage-pitr-validation-source-r2\",\r\n \"apiType\": \"Sql\",\r\n \"creationTime\": \"2021-02-11T00:04:43Z\",\r\n \"deletionTime\": \"2021-02-11T07:07:54Z\",\r\n \"restorableLocations\": [\r\n {\r\n \"locationName\": \"West US 2\",\r\n \"regionalDatabaseAccountInstanceId\": \"4d1a5ff8-9393-4dc4-a3b9-1b24e2aeb32c\",\r\n \"creationTime\": \"2021-02-11T00:04:43Z\",\r\n \"deletionTime\": \"2021-02-11T07:07:54Z\"\r\n }\r\n ]\r\n }\r\n },\r\n {\r\n \"name\": \"f93aff83-e412-471c-86de-e23df6cbeb58\",\r\n \"location\": \"East US 2\",\r\n \"type\": \"Microsoft.DocumentDB/locations/restorableDatabaseAccounts\",\r\n \"id\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/providers/Microsoft.DocumentDB/locations/eastus2/restorableDatabaseAccounts/f93aff83-e412-471c-86de-e23df6cbeb58\",\r\n \"properties\": {\r\n \"accountName\": \"stage-pitr-validation-restored-readregion\",\r\n \"apiType\": \"Sql\",\r\n \"creationTime\": \"2021-02-07T21:48:30Z\",\r\n \"deletionTime\": \"2021-02-11T21:07:27Z\",\r\n \"restorableLocations\": [\r\n {\r\n \"locationName\": \"North Central US\",\r\n \"regionalDatabaseAccountInstanceId\": \"ffac845b-ac41-4bfe-acc1-227406f9f68a\",\r\n \"creationTime\": \"2021-02-07T21:48:30Z\",\r\n \"deletionTime\": \"2021-02-11T21:07:27Z\"\r\n }\r\n ]\r\n }\r\n },\r\n {\r\n \"name\": \"9bb64267-f1d8-4d2a-9367-d16492966dc8\",\r\n \"location\": \"East US 2\",\r\n \"type\": \"Microsoft.DocumentDB/locations/restorableDatabaseAccounts\",\r\n \"id\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/providers/Microsoft.DocumentDB/locations/eastus2/restorableDatabaseAccounts/9bb64267-f1d8-4d2a-9367-d16492966dc8\",\r\n \"properties\": {\r\n \"accountName\": \"stage-pitr-validation-restored-wrr\",\r\n \"apiType\": \"Sql\",\r\n \"creationTime\": \"2021-02-06T18:18:14Z\",\r\n \"deletionTime\": \"2021-02-11T21:07:28Z\",\r\n \"restorableLocations\": [\r\n {\r\n \"locationName\": \"North Central US\",\r\n \"regionalDatabaseAccountInstanceId\": \"c8fdaea9-e41e-416f-8ab8-ffa9295ad14a\",\r\n \"creationTime\": \"2021-02-07T18:55:04Z\",\r\n \"deletionTime\": \"2021-02-11T21:07:28Z\"\r\n },\r\n {\r\n \"locationName\": \"East US 2\",\r\n \"regionalDatabaseAccountInstanceId\": \"de4ce762-1219-4750-9c25-cead6a9964b3\",\r\n \"creationTime\": \"2021-02-06T18:18:14Z\",\r\n \"deletionTime\": \"2021-02-11T21:07:28Z\"\r\n }\r\n ]\r\n }\r\n },\r\n {\r\n \"name\": \"78bd960f-b8bc-4412-b4e1-f16c5acc599c\",\r\n \"location\": \"East US 2\",\r\n \"type\": \"Microsoft.DocumentDB/locations/restorableDatabaseAccounts\",\r\n \"id\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/providers/Microsoft.DocumentDB/locations/eastus2/restorableDatabaseAccounts/78bd960f-b8bc-4412-b4e1-f16c5acc599c\",\r\n \"properties\": {\r\n \"accountName\": \"stage-pitr-validation-del-restored\",\r\n \"apiType\": \"Sql\",\r\n \"creationTime\": \"2021-02-06T20:23:29Z\",\r\n \"deletionTime\": \"2021-02-11T21:07:28Z\",\r\n \"restorableLocations\": [\r\n {\r\n \"locationName\": \"Southeast Asia\",\r\n \"regionalDatabaseAccountInstanceId\": \"753180e8-e128-47e9-98d1-5ce0c6d4f3a8\",\r\n \"creationTime\": \"2021-02-08T19:31:46Z\",\r\n \"deletionTime\": \"2021-02-11T21:07:28Z\"\r\n },\r\n {\r\n \"locationName\": \"East US 2\",\r\n \"regionalDatabaseAccountInstanceId\": \"2524386d-c456-4de9-a314-1acdb94e52a3\",\r\n \"creationTime\": \"2021-02-06T20:23:29Z\",\r\n \"deletionTime\": \"2021-02-11T21:07:28Z\"\r\n }\r\n ]\r\n }\r\n },\r\n {\r\n \"name\": \"67d6981a-3dc7-4e3a-b04a-73c0376d42bb\",\r\n \"location\": \"East US 2\",\r\n \"type\": \"Microsoft.DocumentDB/locations/restorableDatabaseAccounts\",\r\n \"id\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/providers/Microsoft.DocumentDB/locations/eastus2/restorableDatabaseAccounts/67d6981a-3dc7-4e3a-b04a-73c0376d42bb\",\r\n \"properties\": {\r\n \"accountName\": \"stage-pitr-validation-source-r2\",\r\n \"apiType\": \"Sql\",\r\n \"creationTime\": \"2021-02-11T08:37:02Z\",\r\n \"deletionTime\": \"2021-02-12T17:07:42Z\",\r\n \"restorableLocations\": [\r\n {\r\n \"locationName\": \"East US 2\",\r\n \"regionalDatabaseAccountInstanceId\": \"5f331e43-571c-4fe7-9874-aeafcd2b421c\",\r\n \"creationTime\": \"2021-02-11T08:37:02Z\",\r\n \"deletionTime\": \"2021-02-12T17:07:42Z\"\r\n }\r\n ]\r\n }\r\n },\r\n {\r\n \"name\": \"5ea690df-46a9-4bf2-910c-0484660978bb\",\r\n \"location\": \"East US 2\",\r\n \"type\": \"Microsoft.DocumentDB/locations/restorableDatabaseAccounts\",\r\n \"id\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/providers/Microsoft.DocumentDB/locations/eastus2/restorableDatabaseAccounts/5ea690df-46a9-4bf2-910c-0484660978bb\",\r\n \"properties\": {\r\n \"accountName\": \"stage-pitr-validation-source-r1\",\r\n \"apiType\": \"Sql\",\r\n \"creationTime\": \"2021-02-11T08:24:56Z\",\r\n \"deletionTime\": \"2021-02-12T17:07:43Z\",\r\n \"restorableLocations\": [\r\n {\r\n \"locationName\": \"East US 2\",\r\n \"regionalDatabaseAccountInstanceId\": \"29b9a3fe-b375-462d-9221-191fc4ddaa83\",\r\n \"creationTime\": \"2021-02-11T08:24:56Z\",\r\n \"deletionTime\": \"2021-02-12T17:07:43Z\"\r\n }\r\n ]\r\n }\r\n },\r\n {\r\n \"name\": \"53b3d044-7394-4a06-883d-cf9247f66e3c\",\r\n \"location\": \"East US 2\",\r\n \"type\": \"Microsoft.DocumentDB/locations/restorableDatabaseAccounts\",\r\n \"id\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/providers/Microsoft.DocumentDB/locations/eastus2/restorableDatabaseAccounts/53b3d044-7394-4a06-883d-cf9247f66e3c\",\r\n \"properties\": {\r\n \"accountName\": \"stage-pitr-validation-source-r3\",\r\n \"apiType\": \"Sql\",\r\n \"creationTime\": \"2021-02-11T08:49:08Z\",\r\n \"deletionTime\": \"2021-02-12T17:07:44Z\",\r\n \"restorableLocations\": [\r\n {\r\n \"locationName\": \"East US 2\",\r\n \"regionalDatabaseAccountInstanceId\": \"a38a83ce-d467-4c81-9f3d-c65697d1c547\",\r\n \"creationTime\": \"2021-02-11T08:49:08Z\",\r\n \"deletionTime\": \"2021-02-12T17:07:44Z\"\r\n }\r\n ]\r\n }\r\n },\r\n {\r\n \"name\": \"66c4a9a2-7799-474a-9e1e-e56a4b340d62\",\r\n \"location\": \"East US 2\",\r\n \"type\": \"Microsoft.DocumentDB/locations/restorableDatabaseAccounts\",\r\n \"id\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/providers/Microsoft.DocumentDB/locations/eastus2/restorableDatabaseAccounts/66c4a9a2-7799-474a-9e1e-e56a4b340d62\",\r\n \"properties\": {\r\n \"accountName\": \"stage-pitr-validation-source-r4\",\r\n \"apiType\": \"Sql\",\r\n \"creationTime\": \"2021-02-11T09:01:06Z\",\r\n \"deletionTime\": \"2021-02-12T17:07:45Z\",\r\n \"restorableLocations\": [\r\n {\r\n \"locationName\": \"East US 2\",\r\n \"regionalDatabaseAccountInstanceId\": \"01869f13-ab6f-451b-8b15-9cb0b369cde2\",\r\n \"creationTime\": \"2021-02-11T09:01:06Z\",\r\n \"deletionTime\": \"2021-02-12T17:07:45Z\"\r\n }\r\n ]\r\n }\r\n },\r\n {\r\n \"name\": \"674c1551-e35b-4a4d-bd79-fde1f439dbe0\",\r\n \"location\": \"East US 2\",\r\n \"type\": \"Microsoft.DocumentDB/locations/restorableDatabaseAccounts\",\r\n \"id\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/providers/Microsoft.DocumentDB/locations/eastus2/restorableDatabaseAccounts/674c1551-e35b-4a4d-bd79-fde1f439dbe0\",\r\n \"properties\": {\r\n \"accountName\": \"stage-pitr-validation-source-r1\",\r\n \"apiType\": \"Sql\",\r\n \"creationTime\": \"2021-02-17T11:23:16Z\",\r\n \"deletionTime\": \"2021-02-17T15:31:10Z\",\r\n \"restorableLocations\": [\r\n {\r\n \"locationName\": \"East US 2\",\r\n \"regionalDatabaseAccountInstanceId\": \"17329379-801c-4909-999a-421f20fd57c4\",\r\n \"creationTime\": \"2021-02-17T11:23:16Z\",\r\n \"deletionTime\": \"2021-02-17T15:31:10Z\"\r\n }\r\n ]\r\n }\r\n },\r\n {\r\n \"name\": \"af242175-f3a2-40f4-9c77-10eaf232a2b5\",\r\n \"location\": \"East US 2\",\r\n \"type\": \"Microsoft.DocumentDB/locations/restorableDatabaseAccounts\",\r\n \"id\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/providers/Microsoft.DocumentDB/locations/eastus2/restorableDatabaseAccounts/af242175-f3a2-40f4-9c77-10eaf232a2b5\",\r\n \"properties\": {\r\n \"accountName\": \"dd21234\",\r\n \"apiType\": \"Sql\",\r\n \"creationTime\": \"2021-02-22T09:47:40Z\",\r\n \"deletionTime\": \"2021-02-22T10:59:26Z\",\r\n \"restorableLocations\": [\r\n {\r\n \"locationName\": \"East US 2\",\r\n \"regionalDatabaseAccountInstanceId\": \"66b2c82f-633f-446a-b89e-dba1b13ae92c\",\r\n \"creationTime\": \"2021-02-22T09:47:40Z\",\r\n \"deletionTime\": \"2021-02-22T10:59:26Z\"\r\n }\r\n ]\r\n }\r\n },\r\n {\r\n \"name\": \"128a528a-5e22-4146-ae62-b32994614cb0\",\r\n \"location\": \"East US 2\",\r\n \"type\": \"Microsoft.DocumentDB/locations/restorableDatabaseAccounts\",\r\n \"id\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/providers/Microsoft.DocumentDB/locations/eastus2/restorableDatabaseAccounts/128a528a-5e22-4146-ae62-b32994614cb0\",\r\n \"properties\": {\r\n \"accountName\": \"dd21\",\r\n \"apiType\": \"Sql\",\r\n \"creationTime\": \"2021-02-22T09:02:19Z\",\r\n \"deletionTime\": \"2021-02-22T11:00:06Z\",\r\n \"restorableLocations\": [\r\n {\r\n \"locationName\": \"East US 2\",\r\n \"regionalDatabaseAccountInstanceId\": \"ebc69bc4-4865-41d6-a632-aef7a5e2de1d\",\r\n \"creationTime\": \"2021-02-22T09:02:19Z\",\r\n \"deletionTime\": \"2021-02-22T11:00:06Z\"\r\n }\r\n ]\r\n }\r\n },\r\n {\r\n \"name\": \"3e1a3f5e-dcae-449e-82f7-bbf80cba54c5\",\r\n \"location\": \"East US 2\",\r\n \"type\": \"Microsoft.DocumentDB/locations/restorableDatabaseAccounts\",\r\n \"id\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/providers/Microsoft.DocumentDB/locations/eastus2/restorableDatabaseAccounts/3e1a3f5e-dcae-449e-82f7-bbf80cba54c5\",\r\n \"properties\": {\r\n \"accountName\": \"ddb55\",\r\n \"apiType\": \"Sql\",\r\n \"creationTime\": \"2021-02-24T04:21:43Z\",\r\n \"deletionTime\": \"2021-02-24T07:45:59Z\",\r\n \"restorableLocations\": [\r\n {\r\n \"locationName\": \"East US 2\",\r\n \"regionalDatabaseAccountInstanceId\": \"4dff1afd-82b9-425f-840a-3237bd54478d\",\r\n \"creationTime\": \"2021-02-24T04:21:43Z\",\r\n \"deletionTime\": \"2021-02-24T07:45:59Z\"\r\n }\r\n ]\r\n }\r\n },\r\n {\r\n \"name\": \"d612dc86-9085-444b-a868-fb48c7d368fb\",\r\n \"location\": \"East US 2\",\r\n \"type\": \"Microsoft.DocumentDB/locations/restorableDatabaseAccounts\",\r\n \"id\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/providers/Microsoft.DocumentDB/locations/eastus2/restorableDatabaseAccounts/d612dc86-9085-444b-a868-fb48c7d368fb\",\r\n \"properties\": {\r\n \"accountName\": \"ddb1\",\r\n \"apiType\": \"Sql\",\r\n \"creationTime\": \"2021-02-18T11:15:52Z\",\r\n \"deletionTime\": \"2021-02-24T07:46:14Z\",\r\n \"restorableLocations\": [\r\n {\r\n \"locationName\": \"East US 2\",\r\n \"regionalDatabaseAccountInstanceId\": \"db2b9027-bcdf-4069-be69-074fc2f46d7c\",\r\n \"creationTime\": \"2021-02-18T11:15:52Z\",\r\n \"deletionTime\": \"2021-02-24T07:46:14Z\"\r\n }\r\n ]\r\n }\r\n },\r\n {\r\n \"name\": \"0ea5b02f-40bd-4cfd-8406-35286bd00fa2\",\r\n \"location\": \"East US 2\",\r\n \"type\": \"Microsoft.DocumentDB/locations/restorableDatabaseAccounts\",\r\n \"id\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/providers/Microsoft.DocumentDB/locations/eastus2/restorableDatabaseAccounts/0ea5b02f-40bd-4cfd-8406-35286bd00fa2\",\r\n \"properties\": {\r\n \"accountName\": \"pitr-sql-stage-restored-ror\",\r\n \"apiType\": \"Sql\",\r\n \"creationTime\": \"2021-02-24T17:56:15Z\",\r\n \"deletionTime\": \"2021-02-25T10:33:38Z\",\r\n \"restorableLocations\": [\r\n {\r\n \"locationName\": \"West US 2\",\r\n \"regionalDatabaseAccountInstanceId\": \"740afadb-1142-4b13-9fa4-67e857d56a89\",\r\n \"creationTime\": \"2021-02-24T17:56:15Z\",\r\n \"deletionTime\": \"2021-02-25T10:33:38Z\"\r\n }\r\n ]\r\n }\r\n },\r\n {\r\n \"name\": \"52006c1b-5c7f-43a1-9ae0-b936550aed8a\",\r\n \"location\": \"East US 2\",\r\n \"type\": \"Microsoft.DocumentDB/locations/restorableDatabaseAccounts\",\r\n \"id\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/providers/Microsoft.DocumentDB/locations/eastus2/restorableDatabaseAccounts/52006c1b-5c7f-43a1-9ae0-b936550aed8a\",\r\n \"properties\": {\r\n \"accountName\": \"pitr-sql-stage-restored-rrr\",\r\n \"apiType\": \"Sql\",\r\n \"creationTime\": \"2021-02-24T17:40:45Z\",\r\n \"deletionTime\": \"2021-02-25T10:34:20Z\",\r\n \"restorableLocations\": [\r\n {\r\n \"locationName\": \"West US 2\",\r\n \"regionalDatabaseAccountInstanceId\": \"a1e3fe50-7548-4b49-aee1-373a142e0c3b\",\r\n \"creationTime\": \"2021-02-24T17:40:45Z\",\r\n \"deletionTime\": \"2021-02-25T10:34:20Z\"\r\n }\r\n ]\r\n }\r\n },\r\n {\r\n \"name\": \"a578c9d3-1d35-451f-a3df-44e61ed45cfa\",\r\n \"location\": \"East US 2\",\r\n \"type\": \"Microsoft.DocumentDB/locations/restorableDatabaseAccounts\",\r\n \"id\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/providers/Microsoft.DocumentDB/locations/eastus2/restorableDatabaseAccounts/a578c9d3-1d35-451f-a3df-44e61ed45cfa\",\r\n \"properties\": {\r\n \"accountName\": \"pitr-sql-stage-restored-wrr\",\r\n \"apiType\": \"Sql\",\r\n \"creationTime\": \"2021-02-24T05:19:04Z\",\r\n \"deletionTime\": \"2021-02-25T10:34:35Z\",\r\n \"restorableLocations\": [\r\n {\r\n \"locationName\": \"East US 2\",\r\n \"regionalDatabaseAccountInstanceId\": \"feff600a-c776-422a-a2f7-0cfe03be68b8\",\r\n \"creationTime\": \"2021-02-24T05:19:04Z\",\r\n \"deletionTime\": \"2021-02-25T10:34:35Z\"\r\n }\r\n ]\r\n }\r\n },\r\n {\r\n \"name\": \"07b7492c-91c3-41bb-9f75-8f25c739ce06\",\r\n \"location\": \"East US 2\",\r\n \"type\": \"Microsoft.DocumentDB/locations/restorableDatabaseAccounts\",\r\n \"id\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/providers/Microsoft.DocumentDB/locations/eastus2/restorableDatabaseAccounts/07b7492c-91c3-41bb-9f75-8f25c739ce06\",\r\n \"properties\": {\r\n \"accountName\": \"pitr-sql-stage-restored-wrr\",\r\n \"apiType\": \"Sql\",\r\n \"creationTime\": \"2021-03-01T05:56:16Z\",\r\n \"deletionTime\": \"2021-03-02T09:01:04Z\",\r\n \"restorableLocations\": [\r\n {\r\n \"locationName\": \"East US 2\",\r\n \"regionalDatabaseAccountInstanceId\": \"bfbd7d4b-3edf-44da-8aab-eb9cdafe43a7\",\r\n \"creationTime\": \"2021-03-01T05:56:16Z\",\r\n \"deletionTime\": \"2021-03-02T09:01:04Z\"\r\n }\r\n ]\r\n }\r\n },\r\n {\r\n \"name\": \"db2af171-a342-4d3c-92ff-45e81629341d\",\r\n \"location\": \"East US 2\",\r\n \"type\": \"Microsoft.DocumentDB/locations/restorableDatabaseAccounts\",\r\n \"id\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/providers/Microsoft.DocumentDB/locations/eastus2/restorableDatabaseAccounts/db2af171-a342-4d3c-92ff-45e81629341d\",\r\n \"properties\": {\r\n \"accountName\": \"pitr-sql-stage-restored-wrr\",\r\n \"apiType\": \"Sql\",\r\n \"creationTime\": \"2021-03-02T10:39:31Z\",\r\n \"deletionTime\": \"2021-03-02T10:41:51Z\",\r\n \"restorableLocations\": [\r\n {\r\n \"locationName\": \"East US 2\",\r\n \"regionalDatabaseAccountInstanceId\": \"4e29876d-a887-4def-a99e-1b7043bb6181\",\r\n \"creationTime\": \"2021-03-02T10:39:31Z\",\r\n \"deletionTime\": \"2021-03-02T10:41:51Z\"\r\n }\r\n ]\r\n }\r\n },\r\n {\r\n \"name\": \"a76a91b4-489b-4714-b0fc-b98459934920\",\r\n \"location\": \"East US 2\",\r\n \"type\": \"Microsoft.DocumentDB/locations/restorableDatabaseAccounts\",\r\n \"id\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/providers/Microsoft.DocumentDB/locations/eastus2/restorableDatabaseAccounts/a76a91b4-489b-4714-b0fc-b98459934920\",\r\n \"properties\": {\r\n \"accountName\": \"pitr-sql-stage-restored-wrr\",\r\n \"apiType\": \"Sql\",\r\n \"creationTime\": \"2021-03-02T15:16:36Z\",\r\n \"deletionTime\": \"2021-03-03T04:08:46Z\",\r\n \"restorableLocations\": [\r\n {\r\n \"locationName\": \"East US 2\",\r\n \"regionalDatabaseAccountInstanceId\": \"40bafde5-ffd5-453a-acb4-9c697808790a\",\r\n \"creationTime\": \"2021-03-02T15:16:36Z\",\r\n \"deletionTime\": \"2021-03-03T04:08:46Z\"\r\n }\r\n ]\r\n }\r\n }\r\n ]\r\n}", + "ResponseBody": "{\r\n \"name\": \"c6b53e1d-0dec-4ff2-ab70-2e9d24a3ed27\",\r\n \"location\": \"East US 2\",\r\n \"type\": \"Microsoft.DocumentDB/locations/restorableDatabaseAccounts\",\r\n \"id\": \"/subscriptions/259fbb24-9bcd-4cfc-865c-fc33b22fe38a/providers/Microsoft.DocumentDB/locations/eastus2/restorableDatabaseAccounts/c6b53e1d-0dec-4ff2-ab70-2e9d24a3ed27\",\r\n \"properties\": {\r\n \"accountName\": \"pitr-sql-stage-source\",\r\n \"apiType\": \"Sql\",\r\n \"creationTime\": \"2021-06-02T23:30:43Z\",\r\n \"restorableLocations\": [\r\n {\r\n \"locationName\": \"East US 2\",\r\n \"regionalDatabaseAccountInstanceId\": \"9961d453-89c2-4daf-bcad-add22d287617\",\r\n \"creationTime\": \"2021-06-02T23:30:43Z\"\r\n }\r\n ]\r\n }\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/providers/Microsoft.DocumentDB/databaseAccountNames/pitr-mongo32-stage-source?api-version=2021-06-15", + "EncodedRequestUri": "L3Byb3ZpZGVycy9NaWNyb3NvZnQuRG9jdW1lbnREQi9kYXRhYmFzZUFjY291bnROYW1lcy9waXRyLW1vbmdvMzItc3RhZ2Utc291cmNlP2FwaS12ZXJzaW9uPTIwMjEtMDYtMTU=", + "RequestMethod": "HEAD", + "RequestBody": "", + "RequestHeaders": { + "x-ms-client-request-id": [ + "3574ea2a-9196-46be-96bd-3a4e93777a25" + ], + "Accept-Language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.28207.03", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.19043.", + "Microsoft.Azure.Management.CosmosDB.CosmosDBManagementClient/3.0.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-store, no-cache" + ], + "Pragma": [ + "no-cache" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-activity-id": [ + "3574ea2a-9196-46be-96bd-3a4e93777a25" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ], + "x-ms-ratelimit-remaining-tenant-reads": [ + "11998" + ], + "x-ms-request-id": [ + "ad42ab63-9f5c-4761-9593-ead7dc0a9505" + ], + "x-ms-correlation-request-id": [ + "ad42ab63-9f5c-4761-9593-ead7dc0a9505" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20210616T071622Z:ad42ab63-9f5c-4761-9593-ead7dc0a9505" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Wed, 16 Jun 2021 07:16:21 GMT" + ], + "Content-Length": [ + "0" + ] + }, + "ResponseBody": "", "StatusCode": 200 }, { - "RequestUri": "/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/providers/Microsoft.DocumentDB/locations/eastus2/restorableDatabaseAccounts?api-version=2021-03-01-preview", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvODBiZTM5NjEtMDUyMS00YTBhLTg1NzAtNWNkNWE0ZTJmOThjL3Byb3ZpZGVycy9NaWNyb3NvZnQuRG9jdW1lbnREQi9sb2NhdGlvbnMvZWFzdHVzMi9yZXN0b3JhYmxlRGF0YWJhc2VBY2NvdW50cz9hcGktdmVyc2lvbj0yMDIxLTAzLTAxLXByZXZpZXc=", + "RequestUri": "/subscriptions/259fbb24-9bcd-4cfc-865c-fc33b22fe38a/resourceGroups/CosmosDBResourceGroup3668/providers/Microsoft.DocumentDB/databaseAccounts/pitr-mongo32-stage-source?api-version=2021-06-15", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMjU5ZmJiMjQtOWJjZC00Y2ZjLTg2NWMtZmMzM2IyMmZlMzhhL3Jlc291cmNlR3JvdXBzL0Nvc21vc0RCUmVzb3VyY2VHcm91cDM2NjgvcHJvdmlkZXJzL01pY3Jvc29mdC5Eb2N1bWVudERCL2RhdGFiYXNlQWNjb3VudHMvcGl0ci1tb25nbzMyLXN0YWdlLXNvdXJjZT9hcGktdmVyc2lvbj0yMDIxLTA2LTE1", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { "x-ms-client-request-id": [ - "9d595a02-4415-4fb0-8651-2db75c372562" + "e8d587bc-fa31-4f7d-bb64-0b47a72b6c69" ], "Accept-Language": [ "en-US" ], "User-Agent": [ - "FxVersion/5.0.321.7212", + "FxVersion/4.6.28207.03", "OSName/Windows", - "OSVersion/Microsoft.Windows.10.0.19042", - "Microsoft.Azure.Management.CosmosDB.CosmosDBManagementClient/2.0.0.0" + "OSVersion/Microsoft.Windows.10.0.19043.", + "Microsoft.Azure.Management.CosmosDB.CosmosDBManagementClient/3.0.0.0" ] }, "ResponseHeaders": { @@ -540,56 +654,56 @@ "max-age=31536000; includeSubDomains" ], "x-ms-gatewayversion": [ - "version=2.11.0" + "version=2.14.0" ], "Server": [ "Microsoft-HTTPAPI/2.0" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "11989" + "11995" ], "x-ms-request-id": [ - "d8ab88c5-01d6-4a23-825c-24306b48407d" + "ab5d69f1-f341-4adf-96a7-81e17a4f1848" ], "x-ms-correlation-request-id": [ - "d8ab88c5-01d6-4a23-825c-24306b48407d" + "ab5d69f1-f341-4adf-96a7-81e17a4f1848" ], "x-ms-routing-request-id": [ - "WESTUS2:20210303T175137Z:d8ab88c5-01d6-4a23-825c-24306b48407d" + "WESTUS2:20210616T071622Z:ab5d69f1-f341-4adf-96a7-81e17a4f1848" ], "X-Content-Type-Options": [ "nosniff" ], "Date": [ - "Wed, 03 Mar 2021 17:51:36 GMT" + "Wed, 16 Jun 2021 07:16:21 GMT" ], "Content-Length": [ - "31293" + "2530" ], "Content-Type": [ "application/json" ] }, - "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"name\": \"c26d3f43-7363-4c54-940a-bde0e96bda72\",\r\n \"location\": \"East US 2\",\r\n \"type\": \"Microsoft.DocumentDB/locations/restorableDatabaseAccounts\",\r\n \"id\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/providers/Microsoft.DocumentDB/locations/eastus2/restorableDatabaseAccounts/c26d3f43-7363-4c54-940a-bde0e96bda72\",\r\n \"properties\": {\r\n \"accountName\": \"db1024-restored\",\r\n \"apiType\": \"Sql\",\r\n \"creationTime\": \"2020-08-14T01:17:36Z\",\r\n \"restorableLocations\": [\r\n {\r\n \"locationName\": \"East US 2\",\r\n \"regionalDatabaseAccountInstanceId\": \"eca195d4-fcaa-4d5f-b01b-20f61f01319f\",\r\n \"creationTime\": \"2020-08-14T01:17:36Z\"\r\n }\r\n ]\r\n }\r\n },\r\n {\r\n \"name\": \"d8974ca8-8f69-4924-9040-c10b7f30524b\",\r\n \"location\": \"East US 2\",\r\n \"type\": \"Microsoft.DocumentDB/locations/restorableDatabaseAccounts\",\r\n \"id\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/providers/Microsoft.DocumentDB/locations/eastus2/restorableDatabaseAccounts/d8974ca8-8f69-4924-9040-c10b7f30524b\",\r\n \"properties\": {\r\n \"accountName\": \"restoredaccountname9746\",\r\n \"apiType\": \"Sql\",\r\n \"creationTime\": \"2020-07-21T18:55:14Z\",\r\n \"restorableLocations\": [\r\n {\r\n \"locationName\": \"East US 2\",\r\n \"regionalDatabaseAccountInstanceId\": \"775c4324-cba7-4eb3-a8ee-5e1921f7f57b\",\r\n \"creationTime\": \"2020-07-21T18:55:14Z\"\r\n }\r\n ]\r\n }\r\n },\r\n {\r\n \"name\": \"aca7d453-88a9-4bf2-8abc-46d21553638f\",\r\n \"location\": \"East US 2\",\r\n \"type\": \"Microsoft.DocumentDB/locations/restorableDatabaseAccounts\",\r\n \"id\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/providers/Microsoft.DocumentDB/locations/eastus2/restorableDatabaseAccounts/aca7d453-88a9-4bf2-8abc-46d21553638f\",\r\n \"properties\": {\r\n \"accountName\": \"db1024\",\r\n \"apiType\": \"Sql\",\r\n \"creationTime\": \"2020-07-21T18:19:37Z\",\r\n \"restorableLocations\": [\r\n {\r\n \"locationName\": \"East US 2\",\r\n \"regionalDatabaseAccountInstanceId\": \"a926c9e8-3179-4774-bc1e-fb866407b7db\",\r\n \"creationTime\": \"2020-07-21T18:19:38Z\"\r\n }\r\n ]\r\n }\r\n },\r\n {\r\n \"name\": \"a54115d5-4356-4771-b7b0-20f475ce5a38\",\r\n \"location\": \"East US 2\",\r\n \"type\": \"Microsoft.DocumentDB/locations/restorableDatabaseAccounts\",\r\n \"id\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/providers/Microsoft.DocumentDB/locations/eastus2/restorableDatabaseAccounts/a54115d5-4356-4771-b7b0-20f475ce5a38\",\r\n \"properties\": {\r\n \"accountName\": \"stage-pitr-validation-source\",\r\n \"apiType\": \"Sql\",\r\n \"creationTime\": \"2020-08-13T23:51:16Z\",\r\n \"restorableLocations\": [\r\n {\r\n \"locationName\": \"East US 2\",\r\n \"regionalDatabaseAccountInstanceId\": \"d9b09727-2a45-4760-a837-3366c1187358\",\r\n \"creationTime\": \"2020-08-13T23:51:17Z\"\r\n },\r\n {\r\n \"locationName\": \"West US 2\",\r\n \"regionalDatabaseAccountInstanceId\": \"72ee099a-9209-4fe4-aeb2-8f4954f25eba\",\r\n \"creationTime\": \"2020-08-28T18:50:30Z\"\r\n },\r\n {\r\n \"locationName\": \"Southeast Asia\",\r\n \"regionalDatabaseAccountInstanceId\": \"e5abbaa4-031a-451a-b041-76c6bcd93fa9\",\r\n \"creationTime\": \"2021-02-08T19:29:22Z\"\r\n }\r\n ]\r\n }\r\n },\r\n {\r\n \"name\": \"bb3e3c48-18d8-46e8-b294-41d9406885c5\",\r\n \"location\": \"East US 2\",\r\n \"type\": \"Microsoft.DocumentDB/locations/restorableDatabaseAccounts\",\r\n \"id\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/providers/Microsoft.DocumentDB/locations/eastus2/restorableDatabaseAccounts/bb3e3c48-18d8-46e8-b294-41d9406885c5\",\r\n \"properties\": {\r\n \"accountName\": \"test-virangai-cont123\",\r\n \"apiType\": \"Sql\",\r\n \"creationTime\": \"2020-08-05T20:32:27Z\",\r\n \"restorableLocations\": [\r\n {\r\n \"locationName\": \"East US 2\",\r\n \"regionalDatabaseAccountInstanceId\": \"2355946d-5d79-4cc4-a521-3a302a9bff85\",\r\n \"creationTime\": \"2020-08-05T20:32:27Z\"\r\n }\r\n ]\r\n }\r\n },\r\n {\r\n \"name\": \"55083b96-b985-4dec-92df-fa0ac98443f1\",\r\n \"location\": \"East US 2\",\r\n \"type\": \"Microsoft.DocumentDB/locations/restorableDatabaseAccounts\",\r\n \"id\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/providers/Microsoft.DocumentDB/locations/eastus2/restorableDatabaseAccounts/55083b96-b985-4dec-92df-fa0ac98443f1\",\r\n \"properties\": {\r\n \"accountName\": \"selvitest-account\",\r\n \"apiType\": \"Sql\",\r\n \"creationTime\": \"2020-07-23T16:18:43Z\",\r\n \"restorableLocations\": [\r\n {\r\n \"locationName\": \"East US 2\",\r\n \"regionalDatabaseAccountInstanceId\": \"787a81fe-fb41-40da-8b69-a9e18966b4e3\",\r\n \"creationTime\": \"2020-07-23T16:18:43Z\"\r\n }\r\n ]\r\n }\r\n },\r\n {\r\n \"name\": \"ec72f021-4974-405a-8c78-f74207ff0e12\",\r\n \"location\": \"East US 2\",\r\n \"type\": \"Microsoft.DocumentDB/locations/restorableDatabaseAccounts\",\r\n \"id\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/providers/Microsoft.DocumentDB/locations/eastus2/restorableDatabaseAccounts/ec72f021-4974-405a-8c78-f74207ff0e12\",\r\n \"properties\": {\r\n \"accountName\": \"selvitest-account-destinationforrestore\",\r\n \"apiType\": \"Sql\",\r\n \"creationTime\": \"2020-07-23T17:39:58Z\",\r\n \"restorableLocations\": [\r\n {\r\n \"locationName\": \"East US 2\",\r\n \"regionalDatabaseAccountInstanceId\": \"11f925e4-b48d-4d16-9ad2-209d1056ec9c\",\r\n \"creationTime\": \"2020-07-23T17:39:58Z\"\r\n }\r\n ]\r\n }\r\n },\r\n {\r\n \"name\": \"17783e6d-0e28-41e2-b086-9d17763f1d51\",\r\n \"location\": \"East US 2\",\r\n \"type\": \"Microsoft.DocumentDB/locations/restorableDatabaseAccounts\",\r\n \"id\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/providers/Microsoft.DocumentDB/locations/eastus2/restorableDatabaseAccounts/17783e6d-0e28-41e2-b086-9d17763f1d51\",\r\n \"properties\": {\r\n \"accountName\": \"virangai-test-bk-cont\",\r\n \"apiType\": \"Sql\",\r\n \"creationTime\": \"2020-07-28T22:09:24Z\",\r\n \"restorableLocations\": [\r\n {\r\n \"locationName\": \"East US 2\",\r\n \"regionalDatabaseAccountInstanceId\": \"f74e094e-9b1d-4e16-82b6-a57782f1d187\",\r\n \"creationTime\": \"2020-07-28T22:09:24Z\"\r\n }\r\n ]\r\n }\r\n },\r\n {\r\n \"name\": \"2d90bc37-cd54-4352-9e57-e6aa3f22d494\",\r\n \"location\": \"East US 2\",\r\n \"type\": \"Microsoft.DocumentDB/locations/restorableDatabaseAccounts\",\r\n \"id\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/providers/Microsoft.DocumentDB/locations/eastus2/restorableDatabaseAccounts/2d90bc37-cd54-4352-9e57-e6aa3f22d494\",\r\n \"properties\": {\r\n \"accountName\": \"selvitest-account-destinationforrestorev2\",\r\n \"apiType\": \"Sql\",\r\n \"creationTime\": \"2020-07-23T17:41:22Z\",\r\n \"restorableLocations\": [\r\n {\r\n \"locationName\": \"East US 2\",\r\n \"regionalDatabaseAccountInstanceId\": \"e1dfecef-45cb-4c70-bbd5-393eb3774821\",\r\n \"creationTime\": \"2020-07-23T17:41:22Z\"\r\n }\r\n ]\r\n }\r\n },\r\n {\r\n \"name\": \"b0c8684b-7f9c-45fe-8ab9-2a74b656867e\",\r\n \"location\": \"East US 2\",\r\n \"type\": \"Microsoft.DocumentDB/locations/restorableDatabaseAccounts\",\r\n \"id\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/providers/Microsoft.DocumentDB/locations/eastus2/restorableDatabaseAccounts/b0c8684b-7f9c-45fe-8ab9-2a74b656867e\",\r\n \"properties\": {\r\n \"accountName\": \"restoredaccountname637428812785768088\",\r\n \"apiType\": \"Sql\",\r\n \"creationTime\": \"2020-12-07T20:03:41Z\",\r\n \"restorableLocations\": [\r\n {\r\n \"locationName\": \"East US 2\",\r\n \"regionalDatabaseAccountInstanceId\": \"59294929-189f-4f8b-af35-740fc0fba9f0\",\r\n \"creationTime\": \"2020-12-07T20:03:41Z\"\r\n }\r\n ]\r\n }\r\n },\r\n {\r\n \"name\": \"eadac7e2-61f0-4e07-aaa1-9dbb495ec5a8\",\r\n \"location\": \"East US 2\",\r\n \"type\": \"Microsoft.DocumentDB/locations/restorableDatabaseAccounts\",\r\n \"id\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/providers/Microsoft.DocumentDB/locations/eastus2/restorableDatabaseAccounts/eadac7e2-61f0-4e07-aaa1-9dbb495ec5a8\",\r\n \"properties\": {\r\n \"accountName\": \"pitr-mongo32-stage-source\",\r\n \"apiType\": \"MongoDB\",\r\n \"creationTime\": \"2020-12-07T21:23:56Z\",\r\n \"restorableLocations\": [\r\n {\r\n \"locationName\": \"East US 2\",\r\n \"regionalDatabaseAccountInstanceId\": \"49174788-8512-4a01-a3ca-38c7857a2635\",\r\n \"creationTime\": \"2020-12-07T21:23:56Z\"\r\n },\r\n {\r\n \"locationName\": \"West US 2\",\r\n \"regionalDatabaseAccountInstanceId\": \"921dbaed-a5bd-462d-8351-d0eda5e592c0\",\r\n \"creationTime\": \"2020-12-08T23:28:45Z\"\r\n }\r\n ]\r\n }\r\n },\r\n {\r\n \"name\": \"25a04cf0-89d4-4546-9c30-14d1dc8899df\",\r\n \"location\": \"East US 2\",\r\n \"type\": \"Microsoft.DocumentDB/locations/restorableDatabaseAccounts\",\r\n \"id\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/providers/Microsoft.DocumentDB/locations/eastus2/restorableDatabaseAccounts/25a04cf0-89d4-4546-9c30-14d1dc8899df\",\r\n \"properties\": {\r\n \"accountName\": \"pitr-mongo36-stage-source\",\r\n \"apiType\": \"MongoDB\",\r\n \"creationTime\": \"2020-12-07T21:35:24Z\",\r\n \"restorableLocations\": [\r\n {\r\n \"locationName\": \"East US 2\",\r\n \"regionalDatabaseAccountInstanceId\": \"b52d5178-bc7b-4b2b-a05e-9d3dba85e7fd\",\r\n \"creationTime\": \"2020-12-07T21:35:24Z\"\r\n },\r\n {\r\n \"locationName\": \"West US 2\",\r\n \"regionalDatabaseAccountInstanceId\": \"b0f33c79-f7b2-421f-9e94-699b0f8c840a\",\r\n \"creationTime\": \"2020-12-08T22:02:23Z\"\r\n }\r\n ]\r\n }\r\n },\r\n {\r\n \"name\": \"345c785a-e758-4f8b-94d4-0a1259f4f85b\",\r\n \"location\": \"East US 2\",\r\n \"type\": \"Microsoft.DocumentDB/locations/restorableDatabaseAccounts\",\r\n \"id\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/providers/Microsoft.DocumentDB/locations/eastus2/restorableDatabaseAccounts/345c785a-e758-4f8b-94d4-0a1259f4f85b\",\r\n \"properties\": {\r\n \"accountName\": \"nichatur-restore-test\",\r\n \"apiType\": \"Sql\",\r\n \"creationTime\": \"2020-12-07T23:33:57Z\",\r\n \"restorableLocations\": [\r\n {\r\n \"locationName\": \"East US 2\",\r\n \"regionalDatabaseAccountInstanceId\": \"94eeb20d-16d0-4ee1-ae6a-7f2a0332a1d5\",\r\n \"creationTime\": \"2020-12-07T23:33:57Z\"\r\n }\r\n ]\r\n }\r\n },\r\n {\r\n \"name\": \"605db505-9267-4cf0-b7ac-27ef644b2ef3\",\r\n \"location\": \"East US 2\",\r\n \"type\": \"Microsoft.DocumentDB/locations/restorableDatabaseAccounts\",\r\n \"id\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/providers/Microsoft.DocumentDB/locations/eastus2/restorableDatabaseAccounts/605db505-9267-4cf0-b7ac-27ef644b2ef3\",\r\n \"properties\": {\r\n \"accountName\": \"nichatur-restore-test-r1\",\r\n \"apiType\": \"Sql\",\r\n \"creationTime\": \"2020-12-07T23:57:59Z\",\r\n \"restorableLocations\": [\r\n {\r\n \"locationName\": \"East US 2\",\r\n \"regionalDatabaseAccountInstanceId\": \"71a2cff6-7e90-43a5-b261-b704fbfaf100\",\r\n \"creationTime\": \"2020-12-07T23:57:59Z\"\r\n }\r\n ]\r\n }\r\n },\r\n {\r\n \"name\": \"0d00d699-017a-4a76-8639-ab4bec82c5f2\",\r\n \"location\": \"East US 2\",\r\n \"type\": \"Microsoft.DocumentDB/locations/restorableDatabaseAccounts\",\r\n \"id\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/providers/Microsoft.DocumentDB/locations/eastus2/restorableDatabaseAccounts/0d00d699-017a-4a76-8639-ab4bec82c5f2\",\r\n \"properties\": {\r\n \"accountName\": \"restoredaccountname637428989095532319\",\r\n \"apiType\": \"Sql\",\r\n \"creationTime\": \"2020-12-08T00:57:52Z\",\r\n \"restorableLocations\": [\r\n {\r\n \"locationName\": \"East US 2\",\r\n \"regionalDatabaseAccountInstanceId\": \"7c0454e1-f718-48fe-894a-35182a8440d2\",\r\n \"creationTime\": \"2020-12-08T00:57:52Z\"\r\n }\r\n ]\r\n }\r\n },\r\n {\r\n \"name\": \"73d1010d-f0b7-4673-b8c0-18ddecdcda06\",\r\n \"location\": \"East US 2\",\r\n \"type\": \"Microsoft.DocumentDB/locations/restorableDatabaseAccounts\",\r\n \"id\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/providers/Microsoft.DocumentDB/locations/eastus2/restorableDatabaseAccounts/73d1010d-f0b7-4673-b8c0-18ddecdcda06\",\r\n \"properties\": {\r\n \"accountName\": \"nichatur-restore-test-r2\",\r\n \"apiType\": \"Sql\",\r\n \"creationTime\": \"2020-12-08T22:03:14Z\",\r\n \"restorableLocations\": [\r\n {\r\n \"locationName\": \"East US 2\",\r\n \"regionalDatabaseAccountInstanceId\": \"c6b5a1f6-2215-49be-9277-aeff5723ab4c\",\r\n \"creationTime\": \"2020-12-08T22:03:14Z\"\r\n }\r\n ]\r\n }\r\n },\r\n {\r\n \"name\": \"d1535f84-06b5-497b-8768-962ece984001\",\r\n \"location\": \"East US 2\",\r\n \"type\": \"Microsoft.DocumentDB/locations/restorableDatabaseAccounts\",\r\n \"id\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/providers/Microsoft.DocumentDB/locations/eastus2/restorableDatabaseAccounts/d1535f84-06b5-497b-8768-962ece984001\",\r\n \"properties\": {\r\n \"accountName\": \"kal-restore-test\",\r\n \"apiType\": \"Sql\",\r\n \"creationTime\": \"2021-01-15T21:58:32Z\",\r\n \"restorableLocations\": [\r\n {\r\n \"locationName\": \"West US 2\",\r\n \"regionalDatabaseAccountInstanceId\": \"f4b8377d-89b3-41dd-9892-79bfbc4d523c\",\r\n \"creationTime\": \"2021-01-15T21:58:32Z\"\r\n }\r\n ]\r\n }\r\n },\r\n {\r\n \"name\": \"9351dd2e-d901-465b-98cb-a74a3aabd49f\",\r\n \"location\": \"East US 2\",\r\n \"type\": \"Microsoft.DocumentDB/locations/restorableDatabaseAccounts\",\r\n \"id\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/providers/Microsoft.DocumentDB/locations/eastus2/restorableDatabaseAccounts/9351dd2e-d901-465b-98cb-a74a3aabd49f\",\r\n \"properties\": {\r\n \"accountName\": \"pitr-unique-mode-source\",\r\n \"apiType\": \"Sql\",\r\n \"creationTime\": \"2021-02-03T19:53:25Z\",\r\n \"restorableLocations\": [\r\n {\r\n \"locationName\": \"East US 2\",\r\n \"regionalDatabaseAccountInstanceId\": \"b5ee0cb6-20df-4132-8378-3d2b2bb477f8\",\r\n \"creationTime\": \"2021-02-03T19:53:26Z\"\r\n }\r\n ]\r\n }\r\n },\r\n {\r\n \"name\": \"222da8e2-da07-46db-9cd2-51a2efb84b9f\",\r\n \"location\": \"East US 2\",\r\n \"type\": \"Microsoft.DocumentDB/locations/restorableDatabaseAccounts\",\r\n \"id\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/providers/Microsoft.DocumentDB/locations/eastus2/restorableDatabaseAccounts/222da8e2-da07-46db-9cd2-51a2efb84b9f\",\r\n \"properties\": {\r\n \"accountName\": \"pitr-unique-mode-restored\",\r\n \"apiType\": \"Sql\",\r\n \"creationTime\": \"2021-02-03T20:07:50Z\",\r\n \"restorableLocations\": [\r\n {\r\n \"locationName\": \"East US 2\",\r\n \"regionalDatabaseAccountInstanceId\": \"094b572d-52f6-47bc-92c3-a692588ef6d6\",\r\n \"creationTime\": \"2021-02-03T20:07:50Z\"\r\n }\r\n ]\r\n }\r\n },\r\n {\r\n \"name\": \"19e4130a-cb83-4a34-85c2-e35dcda149f8\",\r\n \"location\": \"East US 2\",\r\n \"type\": \"Microsoft.DocumentDB/locations/restorableDatabaseAccounts\",\r\n \"id\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/providers/Microsoft.DocumentDB/locations/eastus2/restorableDatabaseAccounts/19e4130a-cb83-4a34-85c2-e35dcda149f8\",\r\n \"properties\": {\r\n \"accountName\": \"stage-validation-m\",\r\n \"apiType\": \"MongoDB\",\r\n \"creationTime\": \"2021-02-05T04:08:10Z\",\r\n \"restorableLocations\": [\r\n {\r\n \"locationName\": \"East US 2\",\r\n \"regionalDatabaseAccountInstanceId\": \"3f97305a-6a6b-4b38-b200-bea92d78f64a\",\r\n \"creationTime\": \"2021-02-05T04:08:11Z\"\r\n },\r\n {\r\n \"locationName\": \"West US 2\",\r\n \"regionalDatabaseAccountInstanceId\": \"7cf7aaa4-fe00-48fa-820b-cc632feaa9d7\",\r\n \"creationTime\": \"2021-02-05T04:29:43Z\"\r\n }\r\n ]\r\n }\r\n },\r\n {\r\n \"name\": \"5939cc7f-0bdd-4790-9ac6-a3b281c64f97\",\r\n \"location\": \"East US 2\",\r\n \"type\": \"Microsoft.DocumentDB/locations/restorableDatabaseAccounts\",\r\n \"id\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/providers/Microsoft.DocumentDB/locations/eastus2/restorableDatabaseAccounts/5939cc7f-0bdd-4790-9ac6-a3b281c64f97\",\r\n \"properties\": {\r\n \"accountName\": \"multiregion-pitr-billing-test\",\r\n \"apiType\": \"Sql\",\r\n \"creationTime\": \"2021-02-19T00:20:18Z\",\r\n \"restorableLocations\": [\r\n {\r\n \"locationName\": \"Southeast Asia\",\r\n \"regionalDatabaseAccountInstanceId\": \"0018e6e6-170f-4e25-b1a5-97e718138e0c\",\r\n \"creationTime\": \"2021-02-19T00:20:18Z\"\r\n },\r\n {\r\n \"locationName\": \"West US 2\",\r\n \"regionalDatabaseAccountInstanceId\": \"e235a61e-abf7-4e95-bfc2-0e4aa649b874\",\r\n \"creationTime\": \"2021-02-19T00:33:52Z\"\r\n }\r\n ]\r\n }\r\n },\r\n {\r\n \"name\": \"96aa7f5a-5292-44f3-9d3e-bec163b0de1a\",\r\n \"location\": \"East US 2\",\r\n \"type\": \"Microsoft.DocumentDB/locations/restorableDatabaseAccounts\",\r\n \"id\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/providers/Microsoft.DocumentDB/locations/eastus2/restorableDatabaseAccounts/96aa7f5a-5292-44f3-9d3e-bec163b0de1a\",\r\n \"properties\": {\r\n \"accountName\": \"restore-pitr-mongo32-stage-source\",\r\n \"apiType\": \"MongoDB\",\r\n \"creationTime\": \"2021-02-26T18:11:04Z\",\r\n \"restorableLocations\": [\r\n {\r\n \"locationName\": \"East US 2\",\r\n \"regionalDatabaseAccountInstanceId\": \"8c350d54-e45d-4ef7-af55-9f07dc4fe594\",\r\n \"creationTime\": \"2021-02-26T18:11:04Z\"\r\n }\r\n ]\r\n }\r\n },\r\n {\r\n \"name\": \"c02d9298-7cdb-440f-a16b-0dc3c97d6cde\",\r\n \"location\": \"East US 2\",\r\n \"type\": \"Microsoft.DocumentDB/locations/restorableDatabaseAccounts\",\r\n \"id\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/providers/Microsoft.DocumentDB/locations/eastus2/restorableDatabaseAccounts/c02d9298-7cdb-440f-a16b-0dc3c97d6cde\",\r\n \"properties\": {\r\n \"accountName\": \"pitr-sql-stage-restored-wrr\",\r\n \"apiType\": \"Sql\",\r\n \"creationTime\": \"2021-03-03T04:36:55Z\",\r\n \"restorableLocations\": [\r\n {\r\n \"locationName\": \"East US 2\",\r\n \"regionalDatabaseAccountInstanceId\": \"d6e10b03-43cd-4bdc-a1b8-3dfab9fe6beb\",\r\n \"creationTime\": \"2021-03-03T04:36:55Z\"\r\n }\r\n ]\r\n }\r\n },\r\n {\r\n \"name\": \"00e807ea-76c1-4b2f-afdd-dddc1b15979f\",\r\n \"location\": \"East US 2\",\r\n \"type\": \"Microsoft.DocumentDB/locations/restorableDatabaseAccounts\",\r\n \"id\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/providers/Microsoft.DocumentDB/locations/eastus2/restorableDatabaseAccounts/00e807ea-76c1-4b2f-afdd-dddc1b15979f\",\r\n \"properties\": {\r\n \"accountName\": \"pitr-sql-stage-restored-wrr1\",\r\n \"apiType\": \"Sql\",\r\n \"creationTime\": \"2021-03-03T05:01:33Z\",\r\n \"restorableLocations\": [\r\n {\r\n \"locationName\": \"East US 2\",\r\n \"regionalDatabaseAccountInstanceId\": \"683f9f6f-8b7d-4638-a4f2-db9983a9c2d1\",\r\n \"creationTime\": \"2021-03-03T05:01:33Z\"\r\n }\r\n ]\r\n }\r\n },\r\n {\r\n \"name\": \"9766bca9-cc26-4e26-83fe-32cd22fdb83d\",\r\n \"location\": \"East US 2\",\r\n \"type\": \"Microsoft.DocumentDB/locations/restorableDatabaseAccounts\",\r\n \"id\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/providers/Microsoft.DocumentDB/locations/eastus2/restorableDatabaseAccounts/9766bca9-cc26-4e26-83fe-32cd22fdb83d\",\r\n \"properties\": {\r\n \"accountName\": \"stage-pitr-billing-test\",\r\n \"apiType\": \"Sql\",\r\n \"creationTime\": \"2021-01-20T01:08:53Z\",\r\n \"deletionTime\": \"2021-02-04T00:01:29Z\",\r\n \"restorableLocations\": [\r\n {\r\n \"locationName\": \"West US 2\",\r\n \"regionalDatabaseAccountInstanceId\": \"9df768c4-6f3e-4bb8-be73-c8b338f50875\",\r\n \"creationTime\": \"2021-01-20T01:08:53Z\",\r\n \"deletionTime\": \"2021-02-04T00:01:29Z\"\r\n }\r\n ]\r\n }\r\n },\r\n {\r\n \"name\": \"8e032502-70fc-4495-8546-e69383186c09\",\r\n \"location\": \"East US 2\",\r\n \"type\": \"Microsoft.DocumentDB/locations/restorableDatabaseAccounts\",\r\n \"id\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/providers/Microsoft.DocumentDB/locations/eastus2/restorableDatabaseAccounts/8e032502-70fc-4495-8546-e69383186c09\",\r\n \"properties\": {\r\n \"accountName\": \"stage-pitr-billing-test-2\",\r\n \"apiType\": \"Sql\",\r\n \"creationTime\": \"2021-01-21T05:06:14Z\",\r\n \"deletionTime\": \"2021-02-04T00:01:29Z\",\r\n \"restorableLocations\": [\r\n {\r\n \"locationName\": \"West US 2\",\r\n \"regionalDatabaseAccountInstanceId\": \"a994d170-beb1-4f1a-a413-2d5548b171dd\",\r\n \"creationTime\": \"2021-01-21T05:06:14Z\",\r\n \"deletionTime\": \"2021-02-04T00:01:29Z\"\r\n }\r\n ]\r\n }\r\n },\r\n {\r\n \"name\": \"d9e1ccfa-1929-4532-9efb-6100feff0f0e\",\r\n \"location\": \"East US 2\",\r\n \"type\": \"Microsoft.DocumentDB/locations/restorableDatabaseAccounts\",\r\n \"id\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/providers/Microsoft.DocumentDB/locations/eastus2/restorableDatabaseAccounts/d9e1ccfa-1929-4532-9efb-6100feff0f0e\",\r\n \"properties\": {\r\n \"accountName\": \"stage-pitr-validation-restored-ror\",\r\n \"apiType\": \"Sql\",\r\n \"creationTime\": \"2021-02-06T19:32:22Z\",\r\n \"deletionTime\": \"2021-02-06T19:40:48Z\",\r\n \"restorableLocations\": [\r\n {\r\n \"locationName\": \"East US 2\",\r\n \"regionalDatabaseAccountInstanceId\": \"95ef85ad-f3dd-490d-aff2-50d6c7c0dd5f\",\r\n \"creationTime\": \"2021-02-06T19:32:22Z\",\r\n \"deletionTime\": \"2021-02-06T19:40:48Z\"\r\n }\r\n ]\r\n }\r\n },\r\n {\r\n \"name\": \"2d7d7e33-9b97-491e-895b-fe7f46f3d86c\",\r\n \"location\": \"East US 2\",\r\n \"type\": \"Microsoft.DocumentDB/locations/restorableDatabaseAccounts\",\r\n \"id\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/providers/Microsoft.DocumentDB/locations/eastus2/restorableDatabaseAccounts/2d7d7e33-9b97-491e-895b-fe7f46f3d86c\",\r\n \"properties\": {\r\n \"accountName\": \"stage-pitr-validation-source-r1\",\r\n \"apiType\": \"Sql\",\r\n \"creationTime\": \"2021-02-10T23:50:26Z\",\r\n \"deletionTime\": \"2021-02-11T07:07:51Z\",\r\n \"restorableLocations\": [\r\n {\r\n \"locationName\": \"East US 2\",\r\n \"regionalDatabaseAccountInstanceId\": \"eb35152b-9da0-44c0-a767-0c643969bf08\",\r\n \"creationTime\": \"2021-02-10T23:50:26Z\",\r\n \"deletionTime\": \"2021-02-11T07:07:51Z\"\r\n }\r\n ]\r\n }\r\n },\r\n {\r\n \"name\": \"4961ef4a-30d0-484e-ad16-8ba453b14abf\",\r\n \"location\": \"East US 2\",\r\n \"type\": \"Microsoft.DocumentDB/locations/restorableDatabaseAccounts\",\r\n \"id\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/providers/Microsoft.DocumentDB/locations/eastus2/restorableDatabaseAccounts/4961ef4a-30d0-484e-ad16-8ba453b14abf\",\r\n \"properties\": {\r\n \"accountName\": \"stage-pitr-validation-source-res\",\r\n \"apiType\": \"Sql\",\r\n \"creationTime\": \"2021-02-11T04:40:28Z\",\r\n \"deletionTime\": \"2021-02-11T07:07:51Z\",\r\n \"restorableLocations\": [\r\n {\r\n \"locationName\": \"East US 2\",\r\n \"regionalDatabaseAccountInstanceId\": \"5970d071-463b-4f79-92ac-810f199754e9\",\r\n \"creationTime\": \"2021-02-11T04:40:28Z\",\r\n \"deletionTime\": \"2021-02-11T07:07:51Z\"\r\n }\r\n ]\r\n }\r\n },\r\n {\r\n \"name\": \"ce9e2478-aa44-4bd2-96d4-d23f75dbd994\",\r\n \"location\": \"East US 2\",\r\n \"type\": \"Microsoft.DocumentDB/locations/restorableDatabaseAccounts\",\r\n \"id\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/providers/Microsoft.DocumentDB/locations/eastus2/restorableDatabaseAccounts/ce9e2478-aa44-4bd2-96d4-d23f75dbd994\",\r\n \"properties\": {\r\n \"accountName\": \"stage-pitr-validation-source-r2\",\r\n \"apiType\": \"Sql\",\r\n \"creationTime\": \"2021-02-11T00:04:43Z\",\r\n \"deletionTime\": \"2021-02-11T07:07:54Z\",\r\n \"restorableLocations\": [\r\n {\r\n \"locationName\": \"West US 2\",\r\n \"regionalDatabaseAccountInstanceId\": \"4d1a5ff8-9393-4dc4-a3b9-1b24e2aeb32c\",\r\n \"creationTime\": \"2021-02-11T00:04:43Z\",\r\n \"deletionTime\": \"2021-02-11T07:07:54Z\"\r\n }\r\n ]\r\n }\r\n },\r\n {\r\n \"name\": \"f93aff83-e412-471c-86de-e23df6cbeb58\",\r\n \"location\": \"East US 2\",\r\n \"type\": \"Microsoft.DocumentDB/locations/restorableDatabaseAccounts\",\r\n \"id\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/providers/Microsoft.DocumentDB/locations/eastus2/restorableDatabaseAccounts/f93aff83-e412-471c-86de-e23df6cbeb58\",\r\n \"properties\": {\r\n \"accountName\": \"stage-pitr-validation-restored-readregion\",\r\n \"apiType\": \"Sql\",\r\n \"creationTime\": \"2021-02-07T21:48:30Z\",\r\n \"deletionTime\": \"2021-02-11T21:07:27Z\",\r\n \"restorableLocations\": [\r\n {\r\n \"locationName\": \"North Central US\",\r\n \"regionalDatabaseAccountInstanceId\": \"ffac845b-ac41-4bfe-acc1-227406f9f68a\",\r\n \"creationTime\": \"2021-02-07T21:48:30Z\",\r\n \"deletionTime\": \"2021-02-11T21:07:27Z\"\r\n }\r\n ]\r\n }\r\n },\r\n {\r\n \"name\": \"9bb64267-f1d8-4d2a-9367-d16492966dc8\",\r\n \"location\": \"East US 2\",\r\n \"type\": \"Microsoft.DocumentDB/locations/restorableDatabaseAccounts\",\r\n \"id\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/providers/Microsoft.DocumentDB/locations/eastus2/restorableDatabaseAccounts/9bb64267-f1d8-4d2a-9367-d16492966dc8\",\r\n \"properties\": {\r\n \"accountName\": \"stage-pitr-validation-restored-wrr\",\r\n \"apiType\": \"Sql\",\r\n \"creationTime\": \"2021-02-06T18:18:14Z\",\r\n \"deletionTime\": \"2021-02-11T21:07:28Z\",\r\n \"restorableLocations\": [\r\n {\r\n \"locationName\": \"North Central US\",\r\n \"regionalDatabaseAccountInstanceId\": \"c8fdaea9-e41e-416f-8ab8-ffa9295ad14a\",\r\n \"creationTime\": \"2021-02-07T18:55:04Z\",\r\n \"deletionTime\": \"2021-02-11T21:07:28Z\"\r\n },\r\n {\r\n \"locationName\": \"East US 2\",\r\n \"regionalDatabaseAccountInstanceId\": \"de4ce762-1219-4750-9c25-cead6a9964b3\",\r\n \"creationTime\": \"2021-02-06T18:18:14Z\",\r\n \"deletionTime\": \"2021-02-11T21:07:28Z\"\r\n }\r\n ]\r\n }\r\n },\r\n {\r\n \"name\": \"78bd960f-b8bc-4412-b4e1-f16c5acc599c\",\r\n \"location\": \"East US 2\",\r\n \"type\": \"Microsoft.DocumentDB/locations/restorableDatabaseAccounts\",\r\n \"id\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/providers/Microsoft.DocumentDB/locations/eastus2/restorableDatabaseAccounts/78bd960f-b8bc-4412-b4e1-f16c5acc599c\",\r\n \"properties\": {\r\n \"accountName\": \"stage-pitr-validation-del-restored\",\r\n \"apiType\": \"Sql\",\r\n \"creationTime\": \"2021-02-06T20:23:29Z\",\r\n \"deletionTime\": \"2021-02-11T21:07:28Z\",\r\n \"restorableLocations\": [\r\n {\r\n \"locationName\": \"Southeast Asia\",\r\n \"regionalDatabaseAccountInstanceId\": \"753180e8-e128-47e9-98d1-5ce0c6d4f3a8\",\r\n \"creationTime\": \"2021-02-08T19:31:46Z\",\r\n \"deletionTime\": \"2021-02-11T21:07:28Z\"\r\n },\r\n {\r\n \"locationName\": \"East US 2\",\r\n \"regionalDatabaseAccountInstanceId\": \"2524386d-c456-4de9-a314-1acdb94e52a3\",\r\n \"creationTime\": \"2021-02-06T20:23:29Z\",\r\n \"deletionTime\": \"2021-02-11T21:07:28Z\"\r\n }\r\n ]\r\n }\r\n },\r\n {\r\n \"name\": \"67d6981a-3dc7-4e3a-b04a-73c0376d42bb\",\r\n \"location\": \"East US 2\",\r\n \"type\": \"Microsoft.DocumentDB/locations/restorableDatabaseAccounts\",\r\n \"id\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/providers/Microsoft.DocumentDB/locations/eastus2/restorableDatabaseAccounts/67d6981a-3dc7-4e3a-b04a-73c0376d42bb\",\r\n \"properties\": {\r\n \"accountName\": \"stage-pitr-validation-source-r2\",\r\n \"apiType\": \"Sql\",\r\n \"creationTime\": \"2021-02-11T08:37:02Z\",\r\n \"deletionTime\": \"2021-02-12T17:07:42Z\",\r\n \"restorableLocations\": [\r\n {\r\n \"locationName\": \"East US 2\",\r\n \"regionalDatabaseAccountInstanceId\": \"5f331e43-571c-4fe7-9874-aeafcd2b421c\",\r\n \"creationTime\": \"2021-02-11T08:37:02Z\",\r\n \"deletionTime\": \"2021-02-12T17:07:42Z\"\r\n }\r\n ]\r\n }\r\n },\r\n {\r\n \"name\": \"5ea690df-46a9-4bf2-910c-0484660978bb\",\r\n \"location\": \"East US 2\",\r\n \"type\": \"Microsoft.DocumentDB/locations/restorableDatabaseAccounts\",\r\n \"id\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/providers/Microsoft.DocumentDB/locations/eastus2/restorableDatabaseAccounts/5ea690df-46a9-4bf2-910c-0484660978bb\",\r\n \"properties\": {\r\n \"accountName\": \"stage-pitr-validation-source-r1\",\r\n \"apiType\": \"Sql\",\r\n \"creationTime\": \"2021-02-11T08:24:56Z\",\r\n \"deletionTime\": \"2021-02-12T17:07:43Z\",\r\n \"restorableLocations\": [\r\n {\r\n \"locationName\": \"East US 2\",\r\n \"regionalDatabaseAccountInstanceId\": \"29b9a3fe-b375-462d-9221-191fc4ddaa83\",\r\n \"creationTime\": \"2021-02-11T08:24:56Z\",\r\n \"deletionTime\": \"2021-02-12T17:07:43Z\"\r\n }\r\n ]\r\n }\r\n },\r\n {\r\n \"name\": \"53b3d044-7394-4a06-883d-cf9247f66e3c\",\r\n \"location\": \"East US 2\",\r\n \"type\": \"Microsoft.DocumentDB/locations/restorableDatabaseAccounts\",\r\n \"id\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/providers/Microsoft.DocumentDB/locations/eastus2/restorableDatabaseAccounts/53b3d044-7394-4a06-883d-cf9247f66e3c\",\r\n \"properties\": {\r\n \"accountName\": \"stage-pitr-validation-source-r3\",\r\n \"apiType\": \"Sql\",\r\n \"creationTime\": \"2021-02-11T08:49:08Z\",\r\n \"deletionTime\": \"2021-02-12T17:07:44Z\",\r\n \"restorableLocations\": [\r\n {\r\n \"locationName\": \"East US 2\",\r\n \"regionalDatabaseAccountInstanceId\": \"a38a83ce-d467-4c81-9f3d-c65697d1c547\",\r\n \"creationTime\": \"2021-02-11T08:49:08Z\",\r\n \"deletionTime\": \"2021-02-12T17:07:44Z\"\r\n }\r\n ]\r\n }\r\n },\r\n {\r\n \"name\": \"66c4a9a2-7799-474a-9e1e-e56a4b340d62\",\r\n \"location\": \"East US 2\",\r\n \"type\": \"Microsoft.DocumentDB/locations/restorableDatabaseAccounts\",\r\n \"id\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/providers/Microsoft.DocumentDB/locations/eastus2/restorableDatabaseAccounts/66c4a9a2-7799-474a-9e1e-e56a4b340d62\",\r\n \"properties\": {\r\n \"accountName\": \"stage-pitr-validation-source-r4\",\r\n \"apiType\": \"Sql\",\r\n \"creationTime\": \"2021-02-11T09:01:06Z\",\r\n \"deletionTime\": \"2021-02-12T17:07:45Z\",\r\n \"restorableLocations\": [\r\n {\r\n \"locationName\": \"East US 2\",\r\n \"regionalDatabaseAccountInstanceId\": \"01869f13-ab6f-451b-8b15-9cb0b369cde2\",\r\n \"creationTime\": \"2021-02-11T09:01:06Z\",\r\n \"deletionTime\": \"2021-02-12T17:07:45Z\"\r\n }\r\n ]\r\n }\r\n },\r\n {\r\n \"name\": \"674c1551-e35b-4a4d-bd79-fde1f439dbe0\",\r\n \"location\": \"East US 2\",\r\n \"type\": \"Microsoft.DocumentDB/locations/restorableDatabaseAccounts\",\r\n \"id\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/providers/Microsoft.DocumentDB/locations/eastus2/restorableDatabaseAccounts/674c1551-e35b-4a4d-bd79-fde1f439dbe0\",\r\n \"properties\": {\r\n \"accountName\": \"stage-pitr-validation-source-r1\",\r\n \"apiType\": \"Sql\",\r\n \"creationTime\": \"2021-02-17T11:23:16Z\",\r\n \"deletionTime\": \"2021-02-17T15:31:10Z\",\r\n \"restorableLocations\": [\r\n {\r\n \"locationName\": \"East US 2\",\r\n \"regionalDatabaseAccountInstanceId\": \"17329379-801c-4909-999a-421f20fd57c4\",\r\n \"creationTime\": \"2021-02-17T11:23:16Z\",\r\n \"deletionTime\": \"2021-02-17T15:31:10Z\"\r\n }\r\n ]\r\n }\r\n },\r\n {\r\n \"name\": \"af242175-f3a2-40f4-9c77-10eaf232a2b5\",\r\n \"location\": \"East US 2\",\r\n \"type\": \"Microsoft.DocumentDB/locations/restorableDatabaseAccounts\",\r\n \"id\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/providers/Microsoft.DocumentDB/locations/eastus2/restorableDatabaseAccounts/af242175-f3a2-40f4-9c77-10eaf232a2b5\",\r\n \"properties\": {\r\n \"accountName\": \"dd21234\",\r\n \"apiType\": \"Sql\",\r\n \"creationTime\": \"2021-02-22T09:47:40Z\",\r\n \"deletionTime\": \"2021-02-22T10:59:26Z\",\r\n \"restorableLocations\": [\r\n {\r\n \"locationName\": \"East US 2\",\r\n \"regionalDatabaseAccountInstanceId\": \"66b2c82f-633f-446a-b89e-dba1b13ae92c\",\r\n \"creationTime\": \"2021-02-22T09:47:40Z\",\r\n \"deletionTime\": \"2021-02-22T10:59:26Z\"\r\n }\r\n ]\r\n }\r\n },\r\n {\r\n \"name\": \"128a528a-5e22-4146-ae62-b32994614cb0\",\r\n \"location\": \"East US 2\",\r\n \"type\": \"Microsoft.DocumentDB/locations/restorableDatabaseAccounts\",\r\n \"id\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/providers/Microsoft.DocumentDB/locations/eastus2/restorableDatabaseAccounts/128a528a-5e22-4146-ae62-b32994614cb0\",\r\n \"properties\": {\r\n \"accountName\": \"dd21\",\r\n \"apiType\": \"Sql\",\r\n \"creationTime\": \"2021-02-22T09:02:19Z\",\r\n \"deletionTime\": \"2021-02-22T11:00:06Z\",\r\n \"restorableLocations\": [\r\n {\r\n \"locationName\": \"East US 2\",\r\n \"regionalDatabaseAccountInstanceId\": \"ebc69bc4-4865-41d6-a632-aef7a5e2de1d\",\r\n \"creationTime\": \"2021-02-22T09:02:19Z\",\r\n \"deletionTime\": \"2021-02-22T11:00:06Z\"\r\n }\r\n ]\r\n }\r\n },\r\n {\r\n \"name\": \"3e1a3f5e-dcae-449e-82f7-bbf80cba54c5\",\r\n \"location\": \"East US 2\",\r\n \"type\": \"Microsoft.DocumentDB/locations/restorableDatabaseAccounts\",\r\n \"id\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/providers/Microsoft.DocumentDB/locations/eastus2/restorableDatabaseAccounts/3e1a3f5e-dcae-449e-82f7-bbf80cba54c5\",\r\n \"properties\": {\r\n \"accountName\": \"ddb55\",\r\n \"apiType\": \"Sql\",\r\n \"creationTime\": \"2021-02-24T04:21:43Z\",\r\n \"deletionTime\": \"2021-02-24T07:45:59Z\",\r\n \"restorableLocations\": [\r\n {\r\n \"locationName\": \"East US 2\",\r\n \"regionalDatabaseAccountInstanceId\": \"4dff1afd-82b9-425f-840a-3237bd54478d\",\r\n \"creationTime\": \"2021-02-24T04:21:43Z\",\r\n \"deletionTime\": \"2021-02-24T07:45:59Z\"\r\n }\r\n ]\r\n }\r\n },\r\n {\r\n \"name\": \"d612dc86-9085-444b-a868-fb48c7d368fb\",\r\n \"location\": \"East US 2\",\r\n \"type\": \"Microsoft.DocumentDB/locations/restorableDatabaseAccounts\",\r\n \"id\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/providers/Microsoft.DocumentDB/locations/eastus2/restorableDatabaseAccounts/d612dc86-9085-444b-a868-fb48c7d368fb\",\r\n \"properties\": {\r\n \"accountName\": \"ddb1\",\r\n \"apiType\": \"Sql\",\r\n \"creationTime\": \"2021-02-18T11:15:52Z\",\r\n \"deletionTime\": \"2021-02-24T07:46:14Z\",\r\n \"restorableLocations\": [\r\n {\r\n \"locationName\": \"East US 2\",\r\n \"regionalDatabaseAccountInstanceId\": \"db2b9027-bcdf-4069-be69-074fc2f46d7c\",\r\n \"creationTime\": \"2021-02-18T11:15:52Z\",\r\n \"deletionTime\": \"2021-02-24T07:46:14Z\"\r\n }\r\n ]\r\n }\r\n },\r\n {\r\n \"name\": \"0ea5b02f-40bd-4cfd-8406-35286bd00fa2\",\r\n \"location\": \"East US 2\",\r\n \"type\": \"Microsoft.DocumentDB/locations/restorableDatabaseAccounts\",\r\n \"id\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/providers/Microsoft.DocumentDB/locations/eastus2/restorableDatabaseAccounts/0ea5b02f-40bd-4cfd-8406-35286bd00fa2\",\r\n \"properties\": {\r\n \"accountName\": \"pitr-sql-stage-restored-ror\",\r\n \"apiType\": \"Sql\",\r\n \"creationTime\": \"2021-02-24T17:56:15Z\",\r\n \"deletionTime\": \"2021-02-25T10:33:38Z\",\r\n \"restorableLocations\": [\r\n {\r\n \"locationName\": \"West US 2\",\r\n \"regionalDatabaseAccountInstanceId\": \"740afadb-1142-4b13-9fa4-67e857d56a89\",\r\n \"creationTime\": \"2021-02-24T17:56:15Z\",\r\n \"deletionTime\": \"2021-02-25T10:33:38Z\"\r\n }\r\n ]\r\n }\r\n },\r\n {\r\n \"name\": \"52006c1b-5c7f-43a1-9ae0-b936550aed8a\",\r\n \"location\": \"East US 2\",\r\n \"type\": \"Microsoft.DocumentDB/locations/restorableDatabaseAccounts\",\r\n \"id\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/providers/Microsoft.DocumentDB/locations/eastus2/restorableDatabaseAccounts/52006c1b-5c7f-43a1-9ae0-b936550aed8a\",\r\n \"properties\": {\r\n \"accountName\": \"pitr-sql-stage-restored-rrr\",\r\n \"apiType\": \"Sql\",\r\n \"creationTime\": \"2021-02-24T17:40:45Z\",\r\n \"deletionTime\": \"2021-02-25T10:34:20Z\",\r\n \"restorableLocations\": [\r\n {\r\n \"locationName\": \"West US 2\",\r\n \"regionalDatabaseAccountInstanceId\": \"a1e3fe50-7548-4b49-aee1-373a142e0c3b\",\r\n \"creationTime\": \"2021-02-24T17:40:45Z\",\r\n \"deletionTime\": \"2021-02-25T10:34:20Z\"\r\n }\r\n ]\r\n }\r\n },\r\n {\r\n \"name\": \"a578c9d3-1d35-451f-a3df-44e61ed45cfa\",\r\n \"location\": \"East US 2\",\r\n \"type\": \"Microsoft.DocumentDB/locations/restorableDatabaseAccounts\",\r\n \"id\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/providers/Microsoft.DocumentDB/locations/eastus2/restorableDatabaseAccounts/a578c9d3-1d35-451f-a3df-44e61ed45cfa\",\r\n \"properties\": {\r\n \"accountName\": \"pitr-sql-stage-restored-wrr\",\r\n \"apiType\": \"Sql\",\r\n \"creationTime\": \"2021-02-24T05:19:04Z\",\r\n \"deletionTime\": \"2021-02-25T10:34:35Z\",\r\n \"restorableLocations\": [\r\n {\r\n \"locationName\": \"East US 2\",\r\n \"regionalDatabaseAccountInstanceId\": \"feff600a-c776-422a-a2f7-0cfe03be68b8\",\r\n \"creationTime\": \"2021-02-24T05:19:04Z\",\r\n \"deletionTime\": \"2021-02-25T10:34:35Z\"\r\n }\r\n ]\r\n }\r\n },\r\n {\r\n \"name\": \"07b7492c-91c3-41bb-9f75-8f25c739ce06\",\r\n \"location\": \"East US 2\",\r\n \"type\": \"Microsoft.DocumentDB/locations/restorableDatabaseAccounts\",\r\n \"id\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/providers/Microsoft.DocumentDB/locations/eastus2/restorableDatabaseAccounts/07b7492c-91c3-41bb-9f75-8f25c739ce06\",\r\n \"properties\": {\r\n \"accountName\": \"pitr-sql-stage-restored-wrr\",\r\n \"apiType\": \"Sql\",\r\n \"creationTime\": \"2021-03-01T05:56:16Z\",\r\n \"deletionTime\": \"2021-03-02T09:01:04Z\",\r\n \"restorableLocations\": [\r\n {\r\n \"locationName\": \"East US 2\",\r\n \"regionalDatabaseAccountInstanceId\": \"bfbd7d4b-3edf-44da-8aab-eb9cdafe43a7\",\r\n \"creationTime\": \"2021-03-01T05:56:16Z\",\r\n \"deletionTime\": \"2021-03-02T09:01:04Z\"\r\n }\r\n ]\r\n }\r\n },\r\n {\r\n \"name\": \"db2af171-a342-4d3c-92ff-45e81629341d\",\r\n \"location\": \"East US 2\",\r\n \"type\": \"Microsoft.DocumentDB/locations/restorableDatabaseAccounts\",\r\n \"id\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/providers/Microsoft.DocumentDB/locations/eastus2/restorableDatabaseAccounts/db2af171-a342-4d3c-92ff-45e81629341d\",\r\n \"properties\": {\r\n \"accountName\": \"pitr-sql-stage-restored-wrr\",\r\n \"apiType\": \"Sql\",\r\n \"creationTime\": \"2021-03-02T10:39:31Z\",\r\n \"deletionTime\": \"2021-03-02T10:41:51Z\",\r\n \"restorableLocations\": [\r\n {\r\n \"locationName\": \"East US 2\",\r\n \"regionalDatabaseAccountInstanceId\": \"4e29876d-a887-4def-a99e-1b7043bb6181\",\r\n \"creationTime\": \"2021-03-02T10:39:31Z\",\r\n \"deletionTime\": \"2021-03-02T10:41:51Z\"\r\n }\r\n ]\r\n }\r\n },\r\n {\r\n \"name\": \"a76a91b4-489b-4714-b0fc-b98459934920\",\r\n \"location\": \"East US 2\",\r\n \"type\": \"Microsoft.DocumentDB/locations/restorableDatabaseAccounts\",\r\n \"id\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/providers/Microsoft.DocumentDB/locations/eastus2/restorableDatabaseAccounts/a76a91b4-489b-4714-b0fc-b98459934920\",\r\n \"properties\": {\r\n \"accountName\": \"pitr-sql-stage-restored-wrr\",\r\n \"apiType\": \"Sql\",\r\n \"creationTime\": \"2021-03-02T15:16:36Z\",\r\n \"deletionTime\": \"2021-03-03T04:08:46Z\",\r\n \"restorableLocations\": [\r\n {\r\n \"locationName\": \"East US 2\",\r\n \"regionalDatabaseAccountInstanceId\": \"40bafde5-ffd5-453a-acb4-9c697808790a\",\r\n \"creationTime\": \"2021-03-02T15:16:36Z\",\r\n \"deletionTime\": \"2021-03-03T04:08:46Z\"\r\n }\r\n ]\r\n }\r\n }\r\n ]\r\n}", + "ResponseBody": "{\r\n \"id\": \"/subscriptions/259fbb24-9bcd-4cfc-865c-fc33b22fe38a/resourceGroups/CosmosDBResourceGroup3668/providers/Microsoft.DocumentDB/databaseAccounts/pitr-mongo32-stage-source\",\r\n \"name\": \"pitr-mongo32-stage-source\",\r\n \"location\": \"East US 2\",\r\n \"type\": \"Microsoft.DocumentDB/databaseAccounts\",\r\n \"kind\": \"MongoDB\",\r\n \"tags\": {\r\n \"defaultExperience\": \"Azure Cosmos DB for MongoDB API\",\r\n \"hidden-cosmos-mmspecial\": \"\"\r\n },\r\n \"systemData\": {\r\n \"createdAt\": \"2021-06-02T23:32:30.6744226Z\"\r\n },\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"documentEndpoint\": \"https://pitr-mongo32-stage-source.documents.azure.com:443/\",\r\n \"mongoEndpoint\": \"https://pitr-mongo32-stage-source.mongo.cosmos.azure.com:443/\",\r\n \"publicNetworkAccess\": \"Enabled\",\r\n \"enableAutomaticFailover\": false,\r\n \"enableMultipleWriteLocations\": false,\r\n \"enablePartitionKeyMonitor\": false,\r\n \"isVirtualNetworkFilterEnabled\": false,\r\n \"virtualNetworkRules\": [],\r\n \"EnabledApiTypes\": \"MongoDB\",\r\n \"disableKeyBasedMetadataWriteAccess\": false,\r\n \"enableFreeTier\": false,\r\n \"enableAnalyticalStorage\": false,\r\n \"analyticalStorageConfiguration\": {\r\n \"analyticalStorageSchemaType\": \"FullFidelity\"\r\n },\r\n \"instanceId\": \"990590c0-4db8-4b0e-96ef-55f0be03615d\",\r\n \"createMode\": \"Default\",\r\n \"databaseAccountOfferType\": \"Standard\",\r\n \"defaultIdentity\": \"FirstPartyIdentity\",\r\n \"networkAclBypass\": \"None\",\r\n \"disableLocalAuth\": false,\r\n \"consistencyPolicy\": {\r\n \"defaultConsistencyLevel\": \"Session\",\r\n \"maxIntervalInSeconds\": 5,\r\n \"maxStalenessPrefix\": 100\r\n },\r\n \"apiProperties\": {\r\n \"serverVersion\": \"4.0\"\r\n },\r\n \"configurationOverrides\": {\r\n \"EnableBsonSchema\": \"True\"\r\n },\r\n \"writeLocations\": [\r\n {\r\n \"id\": \"pitr-mongo32-stage-source-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://pitr-mongo32-stage-source-eastus2.documents.azure.com:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"readLocations\": [\r\n {\r\n \"id\": \"pitr-mongo32-stage-source-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://pitr-mongo32-stage-source-eastus2.documents.azure.com:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"locations\": [\r\n {\r\n \"id\": \"pitr-mongo32-stage-source-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://pitr-mongo32-stage-source-eastus2.documents.azure.com:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"failoverPolicies\": [\r\n {\r\n \"id\": \"pitr-mongo32-stage-source-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"failoverPriority\": 0\r\n }\r\n ],\r\n \"cors\": [],\r\n \"capabilities\": [\r\n {\r\n \"name\": \"EnableMongo\"\r\n },\r\n {\r\n \"name\": \"DisableRateLimitingResponses\"\r\n }\r\n ],\r\n \"ipRules\": [],\r\n \"backupPolicy\": {\r\n \"type\": \"Continuous\"\r\n },\r\n \"networkAclBypassResourceIds\": []\r\n },\r\n \"identity\": {\r\n \"type\": \"None\"\r\n }\r\n}", "StatusCode": 200 }, { - "RequestUri": "/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/providers/Microsoft.DocumentDB/locations/eastus2/restorableDatabaseAccounts/eadac7e2-61f0-4e07-aaa1-9dbb495ec5a8?api-version=2021-03-01-preview", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvODBiZTM5NjEtMDUyMS00YTBhLTg1NzAtNWNkNWE0ZTJmOThjL3Byb3ZpZGVycy9NaWNyb3NvZnQuRG9jdW1lbnREQi9sb2NhdGlvbnMvZWFzdHVzMi9yZXN0b3JhYmxlRGF0YWJhc2VBY2NvdW50cy9lYWRhYzdlMi02MWYwLTRlMDctYWFhMS05ZGJiNDk1ZWM1YTg/YXBpLXZlcnNpb249MjAyMS0wMy0wMS1wcmV2aWV3", + "RequestUri": "/subscriptions/259fbb24-9bcd-4cfc-865c-fc33b22fe38a/providers/Microsoft.DocumentDB/locations/eastus2/restorableDatabaseAccounts/990590c0-4db8-4b0e-96ef-55f0be03615d?api-version=2021-06-15", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMjU5ZmJiMjQtOWJjZC00Y2ZjLTg2NWMtZmMzM2IyMmZlMzhhL3Byb3ZpZGVycy9NaWNyb3NvZnQuRG9jdW1lbnREQi9sb2NhdGlvbnMvZWFzdHVzMi9yZXN0b3JhYmxlRGF0YWJhc2VBY2NvdW50cy85OTA1OTBjMC00ZGI4LTRiMGUtOTZlZi01NWYwYmUwMzYxNWQ/YXBpLXZlcnNpb249MjAyMS0wNi0xNQ==", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { "x-ms-client-request-id": [ - "c0387d09-2822-49ea-a453-1e2801822015" + "1802f477-28f1-41ee-b3b7-3ec2cbdc649f" ], "Accept-Language": [ "en-US" ], "User-Agent": [ - "FxVersion/5.0.321.7212", + "FxVersion/4.6.28207.03", "OSName/Windows", - "OSVersion/Microsoft.Windows.10.0.19042", - "Microsoft.Azure.Management.CosmosDB.CosmosDBManagementClient/2.0.0.0" + "OSVersion/Microsoft.Windows.10.0.19043.", + "Microsoft.Azure.Management.CosmosDB.CosmosDBManagementClient/3.0.0.0" ] }, "ResponseHeaders": { @@ -603,7 +717,7 @@ "max-age=31536000; includeSubDomains" ], "x-ms-gatewayversion": [ - "version=2.11.0" + "version=2.14.0" ], "Server": [ "Microsoft-HTTPAPI/2.0" @@ -612,47 +726,107 @@ "11992" ], "x-ms-request-id": [ - "7d382907-3350-40bb-9927-05369c5e3004" + "b27378ee-fda6-4dd7-8148-619403852509" ], "x-ms-correlation-request-id": [ - "7d382907-3350-40bb-9927-05369c5e3004" + "b27378ee-fda6-4dd7-8148-619403852509" ], "x-ms-routing-request-id": [ - "WESTUS2:20210303T175050Z:7d382907-3350-40bb-9927-05369c5e3004" + "WESTUS2:20210616T071623Z:b27378ee-fda6-4dd7-8148-619403852509" ], "X-Content-Type-Options": [ "nosniff" ], "Date": [ - "Wed, 03 Mar 2021 17:50:49 GMT" + "Wed, 16 Jun 2021 07:16:22 GMT" ], "Content-Length": [ - "732" + "590" ], "Content-Type": [ "application/json" ] }, - "ResponseBody": "{\r\n \"name\": \"eadac7e2-61f0-4e07-aaa1-9dbb495ec5a8\",\r\n \"location\": \"East US 2\",\r\n \"type\": \"Microsoft.DocumentDB/locations/restorableDatabaseAccounts\",\r\n \"id\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/providers/Microsoft.DocumentDB/locations/eastus2/restorableDatabaseAccounts/eadac7e2-61f0-4e07-aaa1-9dbb495ec5a8\",\r\n \"properties\": {\r\n \"accountName\": \"pitr-mongo32-stage-source\",\r\n \"apiType\": \"MongoDB\",\r\n \"creationTime\": \"2020-12-07T21:23:56Z\",\r\n \"restorableLocations\": [\r\n {\r\n \"locationName\": \"East US 2\",\r\n \"regionalDatabaseAccountInstanceId\": \"49174788-8512-4a01-a3ca-38c7857a2635\",\r\n \"creationTime\": \"2020-12-07T21:23:56Z\"\r\n },\r\n {\r\n \"locationName\": \"West US 2\",\r\n \"regionalDatabaseAccountInstanceId\": \"921dbaed-a5bd-462d-8351-d0eda5e592c0\",\r\n \"creationTime\": \"2020-12-08T23:28:45Z\"\r\n }\r\n ]\r\n }\r\n}", + "ResponseBody": "{\r\n \"name\": \"990590c0-4db8-4b0e-96ef-55f0be03615d\",\r\n \"location\": \"East US 2\",\r\n \"type\": \"Microsoft.DocumentDB/locations/restorableDatabaseAccounts\",\r\n \"id\": \"/subscriptions/259fbb24-9bcd-4cfc-865c-fc33b22fe38a/providers/Microsoft.DocumentDB/locations/eastus2/restorableDatabaseAccounts/990590c0-4db8-4b0e-96ef-55f0be03615d\",\r\n \"properties\": {\r\n \"accountName\": \"pitr-mongo32-stage-source\",\r\n \"apiType\": \"MongoDB\",\r\n \"creationTime\": \"2021-06-02T23:32:31Z\",\r\n \"restorableLocations\": [\r\n {\r\n \"locationName\": \"East US 2\",\r\n \"regionalDatabaseAccountInstanceId\": \"2d0a8ae4-e622-429c-a2bf-b7b13ada7b45\",\r\n \"creationTime\": \"2021-06-02T23:32:32Z\"\r\n }\r\n ]\r\n }\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/providers/Microsoft.DocumentDB/databaseAccountNames/pitr-mongo36-stage-source?api-version=2021-06-15", + "EncodedRequestUri": "L3Byb3ZpZGVycy9NaWNyb3NvZnQuRG9jdW1lbnREQi9kYXRhYmFzZUFjY291bnROYW1lcy9waXRyLW1vbmdvMzYtc3RhZ2Utc291cmNlP2FwaS12ZXJzaW9uPTIwMjEtMDYtMTU=", + "RequestMethod": "HEAD", + "RequestBody": "", + "RequestHeaders": { + "x-ms-client-request-id": [ + "d252fac7-efc5-4529-abaf-86670594fa1b" + ], + "Accept-Language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.28207.03", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.19043.", + "Microsoft.Azure.Management.CosmosDB.CosmosDBManagementClient/3.0.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-store, no-cache" + ], + "Pragma": [ + "no-cache" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-activity-id": [ + "d252fac7-efc5-4529-abaf-86670594fa1b" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ], + "x-ms-ratelimit-remaining-tenant-reads": [ + "11997" + ], + "x-ms-request-id": [ + "825d9411-6244-40d0-a488-b988bf77b896" + ], + "x-ms-correlation-request-id": [ + "825d9411-6244-40d0-a488-b988bf77b896" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20210616T071623Z:825d9411-6244-40d0-a488-b988bf77b896" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Wed, 16 Jun 2021 07:16:23 GMT" + ], + "Content-Length": [ + "0" + ] + }, + "ResponseBody": "", "StatusCode": 200 }, { - "RequestUri": "/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/resourceGroups/pitr-stage-rg/providers/Microsoft.DocumentDB/databaseAccounts/pitr-mongo36-stage-source?api-version=2021-03-01-preview", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvODBiZTM5NjEtMDUyMS00YTBhLTg1NzAtNWNkNWE0ZTJmOThjL3Jlc291cmNlR3JvdXBzL3BpdHItc3RhZ2UtcmcvcHJvdmlkZXJzL01pY3Jvc29mdC5Eb2N1bWVudERCL2RhdGFiYXNlQWNjb3VudHMvcGl0ci1tb25nbzM2LXN0YWdlLXNvdXJjZT9hcGktdmVyc2lvbj0yMDIxLTAzLTAxLXByZXZpZXc=", + "RequestUri": "/subscriptions/259fbb24-9bcd-4cfc-865c-fc33b22fe38a/resourceGroups/CosmosDBResourceGroup3668/providers/Microsoft.DocumentDB/databaseAccounts/pitr-mongo36-stage-source?api-version=2021-06-15", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMjU5ZmJiMjQtOWJjZC00Y2ZjLTg2NWMtZmMzM2IyMmZlMzhhL3Jlc291cmNlR3JvdXBzL0Nvc21vc0RCUmVzb3VyY2VHcm91cDM2NjgvcHJvdmlkZXJzL01pY3Jvc29mdC5Eb2N1bWVudERCL2RhdGFiYXNlQWNjb3VudHMvcGl0ci1tb25nbzM2LXN0YWdlLXNvdXJjZT9hcGktdmVyc2lvbj0yMDIxLTA2LTE1", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { "x-ms-client-request-id": [ - "20af1dba-a212-4b2d-9063-d25cbd8e0e98" + "f28d8a4a-7c19-4a60-ae51-7b7932d0ebed" ], "Accept-Language": [ "en-US" ], "User-Agent": [ - "FxVersion/5.0.321.7212", + "FxVersion/4.6.28207.03", "OSName/Windows", - "OSVersion/Microsoft.Windows.10.0.19042", - "Microsoft.Azure.Management.CosmosDB.CosmosDBManagementClient/2.0.0.0" + "OSVersion/Microsoft.Windows.10.0.19043.", + "Microsoft.Azure.Management.CosmosDB.CosmosDBManagementClient/3.0.0.0" ] }, "ResponseHeaders": { @@ -666,7 +840,7 @@ "max-age=31536000; includeSubDomains" ], "x-ms-gatewayversion": [ - "version=2.11.0" + "version=2.14.0" ], "Server": [ "Microsoft-HTTPAPI/2.0" @@ -675,47 +849,47 @@ "11991" ], "x-ms-request-id": [ - "7108229a-91ea-4776-86e6-65213ddbf8ce" + "f483fb47-63d1-41ce-8a03-3feb2a5815b6" ], "x-ms-correlation-request-id": [ - "7108229a-91ea-4776-86e6-65213ddbf8ce" + "f483fb47-63d1-41ce-8a03-3feb2a5815b6" ], "x-ms-routing-request-id": [ - "WESTUS2:20210303T175050Z:7108229a-91ea-4776-86e6-65213ddbf8ce" + "WESTUS2:20210616T071623Z:f483fb47-63d1-41ce-8a03-3feb2a5815b6" ], "X-Content-Type-Options": [ "nosniff" ], "Date": [ - "Wed, 03 Mar 2021 17:50:49 GMT" + "Wed, 16 Jun 2021 07:16:23 GMT" ], "Content-Length": [ - "2977" + "2530" ], "Content-Type": [ "application/json" ] }, - "ResponseBody": "{\r\n \"id\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/resourceGroups/pitr-stage-rg/providers/Microsoft.DocumentDB/databaseAccounts/pitr-mongo36-stage-source\",\r\n \"name\": \"pitr-mongo36-stage-source\",\r\n \"location\": \"East US 2\",\r\n \"type\": \"Microsoft.DocumentDB/databaseAccounts\",\r\n \"kind\": \"MongoDB\",\r\n \"tags\": {},\r\n \"systemData\": {\r\n \"createdAt\": \"2020-12-07T21:35:23.3656995Z\"\r\n },\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"documentEndpoint\": \"https://pitr-mongo36-stage-source.documents-staging.windows-ppe.net:443/\",\r\n \"mongoEndpoint\": \"https://pitr-mongo36-stage-source.mongo.cosmos.windows-ppe.net:443/\",\r\n \"publicNetworkAccess\": \"Enabled\",\r\n \"enableAutomaticFailover\": false,\r\n \"enableMultipleWriteLocations\": false,\r\n \"enablePartitionKeyMonitor\": false,\r\n \"isVirtualNetworkFilterEnabled\": false,\r\n \"virtualNetworkRules\": [],\r\n \"EnabledApiTypes\": \"MongoDB\",\r\n \"disableKeyBasedMetadataWriteAccess\": false,\r\n \"enableFreeTier\": false,\r\n \"enableAnalyticalStorage\": false,\r\n \"instanceId\": \"25a04cf0-89d4-4546-9c30-14d1dc8899df\",\r\n \"createMode\": \"Default\",\r\n \"databaseAccountOfferType\": \"Standard\",\r\n \"enableCassandraConnector\": false,\r\n \"connectorOffer\": \"\",\r\n \"defaultIdentity\": \"\",\r\n \"networkAclBypass\": \"None\",\r\n \"consistencyPolicy\": {\r\n \"defaultConsistencyLevel\": \"Session\",\r\n \"maxIntervalInSeconds\": 5,\r\n \"maxStalenessPrefix\": 100\r\n },\r\n \"apiProperties\": {\r\n \"serverVersion\": \"3.6\"\r\n },\r\n \"configurationOverrides\": {\r\n \"EnableBsonSchema\": \"True\"\r\n },\r\n \"writeLocations\": [\r\n {\r\n \"id\": \"pitr-mongo36-stage-source-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://pitr-mongo36-stage-source-eastus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"readLocations\": [\r\n {\r\n \"id\": \"pitr-mongo36-stage-source-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://pitr-mongo36-stage-source-eastus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n },\r\n {\r\n \"id\": \"pitr-mongo36-stage-source-westus2\",\r\n \"locationName\": \"West US 2\",\r\n \"documentEndpoint\": \"https://pitr-mongo36-stage-source-westus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 1,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"locations\": [\r\n {\r\n \"id\": \"pitr-mongo36-stage-source-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://pitr-mongo36-stage-source-eastus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n },\r\n {\r\n \"id\": \"pitr-mongo36-stage-source-westus2\",\r\n \"locationName\": \"West US 2\",\r\n \"documentEndpoint\": \"https://pitr-mongo36-stage-source-westus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 1,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"failoverPolicies\": [\r\n {\r\n \"id\": \"pitr-mongo36-stage-source-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"failoverPriority\": 0\r\n },\r\n {\r\n \"id\": \"pitr-mongo36-stage-source-westus2\",\r\n \"locationName\": \"West US 2\",\r\n \"failoverPriority\": 1\r\n }\r\n ],\r\n \"cors\": [],\r\n \"capabilities\": [\r\n {\r\n \"name\": \"EnableMongo\"\r\n }\r\n ],\r\n \"ipRules\": [],\r\n \"backupPolicy\": {\r\n \"type\": \"Continuous\"\r\n },\r\n \"networkAclBypassResourceIds\": []\r\n },\r\n \"identity\": {\r\n \"type\": \"None\"\r\n }\r\n}", + "ResponseBody": "{\r\n \"id\": \"/subscriptions/259fbb24-9bcd-4cfc-865c-fc33b22fe38a/resourceGroups/CosmosDBResourceGroup3668/providers/Microsoft.DocumentDB/databaseAccounts/pitr-mongo36-stage-source\",\r\n \"name\": \"pitr-mongo36-stage-source\",\r\n \"location\": \"East US 2\",\r\n \"type\": \"Microsoft.DocumentDB/databaseAccounts\",\r\n \"kind\": \"MongoDB\",\r\n \"tags\": {\r\n \"defaultExperience\": \"Azure Cosmos DB for MongoDB API\",\r\n \"hidden-cosmos-mmspecial\": \"\"\r\n },\r\n \"systemData\": {\r\n \"createdAt\": \"2021-06-02T23:33:00.4293513Z\"\r\n },\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"documentEndpoint\": \"https://pitr-mongo36-stage-source.documents.azure.com:443/\",\r\n \"mongoEndpoint\": \"https://pitr-mongo36-stage-source.mongo.cosmos.azure.com:443/\",\r\n \"publicNetworkAccess\": \"Enabled\",\r\n \"enableAutomaticFailover\": false,\r\n \"enableMultipleWriteLocations\": false,\r\n \"enablePartitionKeyMonitor\": false,\r\n \"isVirtualNetworkFilterEnabled\": false,\r\n \"virtualNetworkRules\": [],\r\n \"EnabledApiTypes\": \"MongoDB\",\r\n \"disableKeyBasedMetadataWriteAccess\": false,\r\n \"enableFreeTier\": false,\r\n \"enableAnalyticalStorage\": false,\r\n \"analyticalStorageConfiguration\": {\r\n \"analyticalStorageSchemaType\": \"FullFidelity\"\r\n },\r\n \"instanceId\": \"60a54911-db9e-436f-b282-34779e0a2a7f\",\r\n \"createMode\": \"Default\",\r\n \"databaseAccountOfferType\": \"Standard\",\r\n \"defaultIdentity\": \"FirstPartyIdentity\",\r\n \"networkAclBypass\": \"None\",\r\n \"disableLocalAuth\": false,\r\n \"consistencyPolicy\": {\r\n \"defaultConsistencyLevel\": \"Session\",\r\n \"maxIntervalInSeconds\": 5,\r\n \"maxStalenessPrefix\": 100\r\n },\r\n \"apiProperties\": {\r\n \"serverVersion\": \"4.0\"\r\n },\r\n \"configurationOverrides\": {\r\n \"EnableBsonSchema\": \"True\"\r\n },\r\n \"writeLocations\": [\r\n {\r\n \"id\": \"pitr-mongo36-stage-source-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://pitr-mongo36-stage-source-eastus2.documents.azure.com:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"readLocations\": [\r\n {\r\n \"id\": \"pitr-mongo36-stage-source-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://pitr-mongo36-stage-source-eastus2.documents.azure.com:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"locations\": [\r\n {\r\n \"id\": \"pitr-mongo36-stage-source-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://pitr-mongo36-stage-source-eastus2.documents.azure.com:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"failoverPolicies\": [\r\n {\r\n \"id\": \"pitr-mongo36-stage-source-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"failoverPriority\": 0\r\n }\r\n ],\r\n \"cors\": [],\r\n \"capabilities\": [\r\n {\r\n \"name\": \"EnableMongo\"\r\n },\r\n {\r\n \"name\": \"DisableRateLimitingResponses\"\r\n }\r\n ],\r\n \"ipRules\": [],\r\n \"backupPolicy\": {\r\n \"type\": \"Continuous\"\r\n },\r\n \"networkAclBypassResourceIds\": []\r\n },\r\n \"identity\": {\r\n \"type\": \"None\"\r\n }\r\n}", "StatusCode": 200 }, { - "RequestUri": "/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/providers/Microsoft.DocumentDB/locations/eastus2/restorableDatabaseAccounts/25a04cf0-89d4-4546-9c30-14d1dc8899df?api-version=2021-03-01-preview", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvODBiZTM5NjEtMDUyMS00YTBhLTg1NzAtNWNkNWE0ZTJmOThjL3Byb3ZpZGVycy9NaWNyb3NvZnQuRG9jdW1lbnREQi9sb2NhdGlvbnMvZWFzdHVzMi9yZXN0b3JhYmxlRGF0YWJhc2VBY2NvdW50cy8yNWEwNGNmMC04OWQ0LTQ1NDYtOWMzMC0xNGQxZGM4ODk5ZGY/YXBpLXZlcnNpb249MjAyMS0wMy0wMS1wcmV2aWV3", + "RequestUri": "/subscriptions/259fbb24-9bcd-4cfc-865c-fc33b22fe38a/providers/Microsoft.DocumentDB/locations/eastus2/restorableDatabaseAccounts/60a54911-db9e-436f-b282-34779e0a2a7f?api-version=2021-06-15", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMjU5ZmJiMjQtOWJjZC00Y2ZjLTg2NWMtZmMzM2IyMmZlMzhhL3Byb3ZpZGVycy9NaWNyb3NvZnQuRG9jdW1lbnREQi9sb2NhdGlvbnMvZWFzdHVzMi9yZXN0b3JhYmxlRGF0YWJhc2VBY2NvdW50cy82MGE1NDkxMS1kYjllLTQzNmYtYjI4Mi0zNDc3OWUwYTJhN2Y/YXBpLXZlcnNpb249MjAyMS0wNi0xNQ==", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { "x-ms-client-request-id": [ - "4d2fbbe5-f671-46e4-afd0-901a9b36248e" + "aa35c75a-d512-465d-9216-ae6188ff8bde" ], "Accept-Language": [ "en-US" ], "User-Agent": [ - "FxVersion/5.0.321.7212", + "FxVersion/4.6.28207.03", "OSName/Windows", - "OSVersion/Microsoft.Windows.10.0.19042", - "Microsoft.Azure.Management.CosmosDB.CosmosDBManagementClient/2.0.0.0" + "OSVersion/Microsoft.Windows.10.0.19043.", + "Microsoft.Azure.Management.CosmosDB.CosmosDBManagementClient/3.0.0.0" ] }, "ResponseHeaders": { @@ -729,7 +903,7 @@ "max-age=31536000; includeSubDomains" ], "x-ms-gatewayversion": [ - "version=2.11.0" + "version=2.14.0" ], "Server": [ "Microsoft-HTTPAPI/2.0" @@ -738,33 +912,33 @@ "11988" ], "x-ms-request-id": [ - "3c69aca2-d0ea-42e8-bc9b-f7946d6bca41" + "8b7f9ead-e3f1-474e-bc83-8067f106a5ce" ], "x-ms-correlation-request-id": [ - "3c69aca2-d0ea-42e8-bc9b-f7946d6bca41" + "8b7f9ead-e3f1-474e-bc83-8067f106a5ce" ], "x-ms-routing-request-id": [ - "WESTUS2:20210303T175146Z:3c69aca2-d0ea-42e8-bc9b-f7946d6bca41" + "WESTUS2:20210616T071625Z:8b7f9ead-e3f1-474e-bc83-8067f106a5ce" ], "X-Content-Type-Options": [ "nosniff" ], "Date": [ - "Wed, 03 Mar 2021 17:51:45 GMT" + "Wed, 16 Jun 2021 07:16:24 GMT" ], "Content-Length": [ - "732" + "590" ], "Content-Type": [ "application/json" ] }, - "ResponseBody": "{\r\n \"name\": \"25a04cf0-89d4-4546-9c30-14d1dc8899df\",\r\n \"location\": \"East US 2\",\r\n \"type\": \"Microsoft.DocumentDB/locations/restorableDatabaseAccounts\",\r\n \"id\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/providers/Microsoft.DocumentDB/locations/eastus2/restorableDatabaseAccounts/25a04cf0-89d4-4546-9c30-14d1dc8899df\",\r\n \"properties\": {\r\n \"accountName\": \"pitr-mongo36-stage-source\",\r\n \"apiType\": \"MongoDB\",\r\n \"creationTime\": \"2020-12-07T21:35:24Z\",\r\n \"restorableLocations\": [\r\n {\r\n \"locationName\": \"East US 2\",\r\n \"regionalDatabaseAccountInstanceId\": \"b52d5178-bc7b-4b2b-a05e-9d3dba85e7fd\",\r\n \"creationTime\": \"2020-12-07T21:35:24Z\"\r\n },\r\n {\r\n \"locationName\": \"West US 2\",\r\n \"regionalDatabaseAccountInstanceId\": \"b0f33c79-f7b2-421f-9e94-699b0f8c840a\",\r\n \"creationTime\": \"2020-12-08T22:02:23Z\"\r\n }\r\n ]\r\n }\r\n}", + "ResponseBody": "{\r\n \"name\": \"60a54911-db9e-436f-b282-34779e0a2a7f\",\r\n \"location\": \"East US 2\",\r\n \"type\": \"Microsoft.DocumentDB/locations/restorableDatabaseAccounts\",\r\n \"id\": \"/subscriptions/259fbb24-9bcd-4cfc-865c-fc33b22fe38a/providers/Microsoft.DocumentDB/locations/eastus2/restorableDatabaseAccounts/60a54911-db9e-436f-b282-34779e0a2a7f\",\r\n \"properties\": {\r\n \"accountName\": \"pitr-mongo36-stage-source\",\r\n \"apiType\": \"MongoDB\",\r\n \"creationTime\": \"2021-06-02T23:33:01Z\",\r\n \"restorableLocations\": [\r\n {\r\n \"locationName\": \"East US 2\",\r\n \"regionalDatabaseAccountInstanceId\": \"32163288-85a4-454b-a7d7-d7fbb1f32aeb\",\r\n \"creationTime\": \"2021-06-02T23:33:02Z\"\r\n }\r\n ]\r\n }\r\n}", "StatusCode": 200 } ], "Names": {}, "Variables": { - "SubscriptionId": "80be3961-0521-4a0a-8570-5cd5a4e2f98c" + "SubscriptionId": "259fbb24-9bcd-4cfc-865c-fc33b22fe38a" } } \ No newline at end of file diff --git a/sdk/cosmosdb/Microsoft.Azure.Management.CosmosDB/tests/SessionRecords/RestoreDatabaseAccountOperationsTests/RestoreDatabaseAccountTests.json b/sdk/cosmosdb/Microsoft.Azure.Management.CosmosDB/tests/SessionRecords/RestoreDatabaseAccountOperationsTests/RestoreDatabaseAccountTests.json index 640b328f5044..d239541855f9 100644 --- a/sdk/cosmosdb/Microsoft.Azure.Management.CosmosDB/tests/SessionRecords/RestoreDatabaseAccountOperationsTests/RestoreDatabaseAccountTests.json +++ b/sdk/cosmosdb/Microsoft.Azure.Management.CosmosDB/tests/SessionRecords/RestoreDatabaseAccountOperationsTests/RestoreDatabaseAccountTests.json @@ -1,22 +1,22 @@ { "Entries": [ { - "RequestUri": "/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/resourceGroups/pitr-stage-rg/providers/Microsoft.DocumentDB/databaseAccounts/pitr-sql-stage-source?api-version=2021-03-01-preview", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvODBiZTM5NjEtMDUyMS00YTBhLTg1NzAtNWNkNWE0ZTJmOThjL3Jlc291cmNlR3JvdXBzL3BpdHItc3RhZ2UtcmcvcHJvdmlkZXJzL01pY3Jvc29mdC5Eb2N1bWVudERCL2RhdGFiYXNlQWNjb3VudHMvcGl0ci1zcWwtc3RhZ2Utc291cmNlP2FwaS12ZXJzaW9uPTIwMjEtMDMtMDEtcHJldmlldw==", - "RequestMethod": "GET", + "RequestUri": "/providers/Microsoft.DocumentDB/databaseAccountNames/sqltestaccount124?api-version=2021-06-15", + "EncodedRequestUri": "L3Byb3ZpZGVycy9NaWNyb3NvZnQuRG9jdW1lbnREQi9kYXRhYmFzZUFjY291bnROYW1lcy9zcWx0ZXN0YWNjb3VudDEyND9hcGktdmVyc2lvbj0yMDIxLTA2LTE1", + "RequestMethod": "HEAD", "RequestBody": "", "RequestHeaders": { "x-ms-client-request-id": [ - "10c3ab0d-c6ef-4f5c-93f1-c2b1ef897771" + "aeb3b42a-558a-400f-8373-15d0614f87a7" ], "Accept-Language": [ "en-US" ], "User-Agent": [ - "FxVersion/5.0.321.7212", + "FxVersion/4.6.28207.03", "OSName/Windows", - "OSVersion/Microsoft.Windows.10.0.19042", - "Microsoft.Azure.Management.CosmosDB.CosmosDBManagementClient/2.0.0.0" + "OSVersion/Microsoft.Windows.10.0.19043.", + "Microsoft.Azure.Management.CosmosDB.CosmosDBManagementClient/3.0.0.0" ] }, "ResponseHeaders": { @@ -29,57 +29,54 @@ "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "x-ms-gatewayversion": [ - "version=2.11.0" + "x-ms-activity-id": [ + "aeb3b42a-558a-400f-8373-15d0614f87a7" ], "Server": [ "Microsoft-HTTPAPI/2.0" ], - "x-ms-ratelimit-remaining-subscription-reads": [ + "x-ms-ratelimit-remaining-tenant-reads": [ "11999" ], "x-ms-request-id": [ - "6d03d350-0c39-4dd3-80f0-ce2c645d70a9" + "bceb70e2-c13b-490a-b00c-8359ff15a07d" ], "x-ms-correlation-request-id": [ - "6d03d350-0c39-4dd3-80f0-ce2c645d70a9" + "bceb70e2-c13b-490a-b00c-8359ff15a07d" ], "x-ms-routing-request-id": [ - "WESTUS2:20210303T173555Z:6d03d350-0c39-4dd3-80f0-ce2c645d70a9" + "WESTUS2:20210616T070137Z:bceb70e2-c13b-490a-b00c-8359ff15a07d" ], "X-Content-Type-Options": [ "nosniff" ], "Date": [ - "Wed, 03 Mar 2021 17:35:55 GMT" + "Wed, 16 Jun 2021 07:01:37 GMT" ], "Content-Length": [ - "2749" - ], - "Content-Type": [ - "application/json" + "0" ] }, - "ResponseBody": "{\r\n \"id\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/resourceGroups/pitr-stage-rg/providers/Microsoft.DocumentDB/databaseAccounts/pitr-sql-stage-source\",\r\n \"name\": \"pitr-sql-stage-source\",\r\n \"location\": \"West US 2\",\r\n \"type\": \"Microsoft.DocumentDB/databaseAccounts\",\r\n \"kind\": \"GlobalDocumentDB\",\r\n \"tags\": {},\r\n \"systemData\": {\r\n \"createdAt\": \"2020-12-08T18:18:46.0964181Z\"\r\n },\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"documentEndpoint\": \"https://pitr-sql-stage-source.documents-staging.windows-ppe.net:443/\",\r\n \"publicNetworkAccess\": \"Enabled\",\r\n \"enableAutomaticFailover\": false,\r\n \"enableMultipleWriteLocations\": false,\r\n \"enablePartitionKeyMonitor\": false,\r\n \"isVirtualNetworkFilterEnabled\": false,\r\n \"virtualNetworkRules\": [],\r\n \"EnabledApiTypes\": \"Sql\",\r\n \"disableKeyBasedMetadataWriteAccess\": false,\r\n \"enableFreeTier\": false,\r\n \"enableAnalyticalStorage\": false,\r\n \"instanceId\": \"9a4b63c3-49d1-4c87-b28e-92e92aeaa0ea\",\r\n \"createMode\": \"Default\",\r\n \"databaseAccountOfferType\": \"Standard\",\r\n \"enableCassandraConnector\": false,\r\n \"connectorOffer\": \"\",\r\n \"defaultIdentity\": \"\",\r\n \"networkAclBypass\": \"None\",\r\n \"consistencyPolicy\": {\r\n \"defaultConsistencyLevel\": \"Session\",\r\n \"maxIntervalInSeconds\": 5,\r\n \"maxStalenessPrefix\": 100\r\n },\r\n \"configurationOverrides\": {},\r\n \"writeLocations\": [\r\n {\r\n \"id\": \"pitr-sql-stage-source-westus2\",\r\n \"locationName\": \"West US 2\",\r\n \"documentEndpoint\": \"https://pitr-sql-stage-source-westus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"readLocations\": [\r\n {\r\n \"id\": \"pitr-sql-stage-source-westus2\",\r\n \"locationName\": \"West US 2\",\r\n \"documentEndpoint\": \"https://pitr-sql-stage-source-westus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n },\r\n {\r\n \"id\": \"pitr-sql-stage-source-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://pitr-sql-stage-source-eastus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 1,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"locations\": [\r\n {\r\n \"id\": \"pitr-sql-stage-source-westus2\",\r\n \"locationName\": \"West US 2\",\r\n \"documentEndpoint\": \"https://pitr-sql-stage-source-westus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n },\r\n {\r\n \"id\": \"pitr-sql-stage-source-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://pitr-sql-stage-source-eastus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 1,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"failoverPolicies\": [\r\n {\r\n \"id\": \"pitr-sql-stage-source-westus2\",\r\n \"locationName\": \"West US 2\",\r\n \"failoverPriority\": 0\r\n },\r\n {\r\n \"id\": \"pitr-sql-stage-source-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"failoverPriority\": 1\r\n }\r\n ],\r\n \"cors\": [],\r\n \"capabilities\": [],\r\n \"ipRules\": [],\r\n \"backupPolicy\": {\r\n \"type\": \"Continuous\"\r\n },\r\n \"networkAclBypassResourceIds\": []\r\n },\r\n \"identity\": {\r\n \"type\": \"None\"\r\n }\r\n}", + "ResponseBody": "", "StatusCode": 200 }, { - "RequestUri": "/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/resourceGroups/CosmosDBResourceGroup3668/providers/Microsoft.DocumentDB/databaseAccounts/db4096/gremlinDatabases/databaseName1002/graphs/gremlinGraphName1002?api-version=2021-03-01-preview", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvODBiZTM5NjEtMDUyMS00YTBhLTg1NzAtNWNkNWE0ZTJmOThjL3Jlc291cmNlR3JvdXBzL0Nvc21vc0RCUmVzb3VyY2VHcm91cDM2NjgvcHJvdmlkZXJzL01pY3Jvc29mdC5Eb2N1bWVudERCL2RhdGFiYXNlQWNjb3VudHMvZGI0MDk2L2dyZW1saW5EYXRhYmFzZXMvZGF0YWJhc2VOYW1lMTAwMi9ncmFwaHMvZ3JlbWxpbkdyYXBoTmFtZTEwMDI/YXBpLXZlcnNpb249MjAyMS0wMy0wMS1wcmV2aWV3", - "RequestMethod": "DELETE", + "RequestUri": "/subscriptions/259fbb24-9bcd-4cfc-865c-fc33b22fe38a/resourceGroups/CosmosDBResourceGroup3668/providers/Microsoft.DocumentDB/databaseAccounts/sqltestaccount124?api-version=2021-06-15", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMjU5ZmJiMjQtOWJjZC00Y2ZjLTg2NWMtZmMzM2IyMmZlMzhhL3Jlc291cmNlR3JvdXBzL0Nvc21vc0RCUmVzb3VyY2VHcm91cDM2NjgvcHJvdmlkZXJzL01pY3Jvc29mdC5Eb2N1bWVudERCL2RhdGFiYXNlQWNjb3VudHMvc3FsdGVzdGFjY291bnQxMjQ/YXBpLXZlcnNpb249MjAyMS0wNi0xNQ==", + "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { "x-ms-client-request-id": [ - "293b764b-59dc-4135-a348-008cc29dc088" + "c5f50320-ad00-49b7-896c-6965169e3a1f" ], "Accept-Language": [ "en-US" ], "User-Agent": [ - "FxVersion/5.0.321.7212", + "FxVersion/4.6.28207.03", "OSName/Windows", - "OSVersion/Microsoft.Windows.10.0.19042", - "Microsoft.Azure.Management.CosmosDB.CosmosDBManagementClient/2.0.0.0" + "OSVersion/Microsoft.Windows.10.0.19043.", + "Microsoft.Azure.Management.CosmosDB.CosmosDBManagementClient/3.0.0.0" ] }, "ResponseHeaders": { @@ -89,66 +86,60 @@ "Pragma": [ "no-cache" ], - "Location": [ - "https://management.azure.com/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/resourceGroups/CosmosDBResourceGroup3668/providers/Microsoft.DocumentDB/databaseAccounts/db4096/gremlinDatabases/databaseName1002/graphs/gremlinGraphName1002/operationResults/50e025d8-5e4d-444e-b630-bbc6cb343851?api-version=2021-03-01-preview" - ], - "Azure-AsyncOperation": [ - "https://management.azure.com/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/providers/Microsoft.DocumentDB/locations/eastus2/operationsStatus/50e025d8-5e4d-444e-b630-bbc6cb343851?api-version=2021-03-01-preview" - ], - "x-ms-request-id": [ - "50e025d8-5e4d-444e-b630-bbc6cb343851" - ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "x-ms-gatewayversion": [ - "version=2.11.0" + "version=2.14.0" ], "Server": [ "Microsoft-HTTPAPI/2.0" ], - "x-ms-ratelimit-remaining-subscription-deletes": [ - "14999" + "x-ms-ratelimit-remaining-subscription-reads": [ + "11999" + ], + "x-ms-request-id": [ + "23414c5d-423f-42b3-a156-90e2530bb0c7" ], "x-ms-correlation-request-id": [ - "2a0ec988-ee2c-4f93-a76f-213378c3df16" + "23414c5d-423f-42b3-a156-90e2530bb0c7" ], "x-ms-routing-request-id": [ - "WESTUS2:20210303T173555Z:2a0ec988-ee2c-4f93-a76f-213378c3df16" + "WESTUS2:20210616T070138Z:23414c5d-423f-42b3-a156-90e2530bb0c7" ], "X-Content-Type-Options": [ "nosniff" ], "Date": [ - "Wed, 03 Mar 2021 17:35:55 GMT" + "Wed, 16 Jun 2021 07:01:38 GMT" ], "Content-Length": [ - "21" + "2226" ], "Content-Type": [ "application/json" ] }, - "ResponseBody": "{\r\n \"status\": \"Enqueued\"\r\n}", - "StatusCode": 202 + "ResponseBody": "{\r\n \"id\": \"/subscriptions/259fbb24-9bcd-4cfc-865c-fc33b22fe38a/resourceGroups/CosmosDBResourceGroup3668/providers/Microsoft.DocumentDB/databaseAccounts/sqltestaccount124\",\r\n \"name\": \"sqltestaccount124\",\r\n \"location\": \"East US 2\",\r\n \"type\": \"Microsoft.DocumentDB/databaseAccounts\",\r\n \"kind\": \"GlobalDocumentDB\",\r\n \"tags\": {\r\n \"defaultExperience\": \"Core (SQL)\",\r\n \"hidden-cosmos-mmspecial\": \"\"\r\n },\r\n \"systemData\": {\r\n \"createdAt\": \"2021-06-10T05:06:01.1543083Z\"\r\n },\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"documentEndpoint\": \"https://sqltestaccount124.documents.azure.com:443/\",\r\n \"publicNetworkAccess\": \"Enabled\",\r\n \"enableAutomaticFailover\": false,\r\n \"enableMultipleWriteLocations\": false,\r\n \"enablePartitionKeyMonitor\": false,\r\n \"isVirtualNetworkFilterEnabled\": false,\r\n \"virtualNetworkRules\": [],\r\n \"EnabledApiTypes\": \"Sql\",\r\n \"disableKeyBasedMetadataWriteAccess\": false,\r\n \"enableFreeTier\": false,\r\n \"enableAnalyticalStorage\": false,\r\n \"analyticalStorageConfiguration\": {\r\n \"analyticalStorageSchemaType\": \"WellDefined\"\r\n },\r\n \"instanceId\": \"9f8ee54b-f275-44fa-b2c5-9983644c131f\",\r\n \"createMode\": \"Default\",\r\n \"databaseAccountOfferType\": \"Standard\",\r\n \"defaultIdentity\": \"FirstPartyIdentity\",\r\n \"networkAclBypass\": \"None\",\r\n \"disableLocalAuth\": false,\r\n \"consistencyPolicy\": {\r\n \"defaultConsistencyLevel\": \"Session\",\r\n \"maxIntervalInSeconds\": 5,\r\n \"maxStalenessPrefix\": 100\r\n },\r\n \"configurationOverrides\": {},\r\n \"writeLocations\": [\r\n {\r\n \"id\": \"sqltestaccount124-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://sqltestaccount124-eastus2.documents.azure.com:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"readLocations\": [\r\n {\r\n \"id\": \"sqltestaccount124-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://sqltestaccount124-eastus2.documents.azure.com:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"locations\": [\r\n {\r\n \"id\": \"sqltestaccount124-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://sqltestaccount124-eastus2.documents.azure.com:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"failoverPolicies\": [\r\n {\r\n \"id\": \"sqltestaccount124-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"failoverPriority\": 0\r\n }\r\n ],\r\n \"cors\": [],\r\n \"capabilities\": [],\r\n \"ipRules\": [],\r\n \"backupPolicy\": {\r\n \"type\": \"Continuous\"\r\n },\r\n \"networkAclBypassResourceIds\": []\r\n },\r\n \"identity\": {\r\n \"type\": \"None\"\r\n }\r\n}", + "StatusCode": 200 }, { - "RequestUri": "/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/resourceGroups/CosmosDBResourceGroup3668/providers/Microsoft.DocumentDB/databaseAccounts/db4096/gremlinDatabases/databaseName21002?api-version=2021-03-01-preview", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvODBiZTM5NjEtMDUyMS00YTBhLTg1NzAtNWNkNWE0ZTJmOThjL3Jlc291cmNlR3JvdXBzL0Nvc21vc0RCUmVzb3VyY2VHcm91cDM2NjgvcHJvdmlkZXJzL01pY3Jvc29mdC5Eb2N1bWVudERCL2RhdGFiYXNlQWNjb3VudHMvZGI0MDk2L2dyZW1saW5EYXRhYmFzZXMvZGF0YWJhc2VOYW1lMjEwMDI/YXBpLXZlcnNpb249MjAyMS0wMy0wMS1wcmV2aWV3", - "RequestMethod": "DELETE", + "RequestUri": "/subscriptions/259fbb24-9bcd-4cfc-865c-fc33b22fe38a/providers/Microsoft.DocumentDB/locations/eastus2/restorableDatabaseAccounts?api-version=2021-06-15", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMjU5ZmJiMjQtOWJjZC00Y2ZjLTg2NWMtZmMzM2IyMmZlMzhhL3Byb3ZpZGVycy9NaWNyb3NvZnQuRG9jdW1lbnREQi9sb2NhdGlvbnMvZWFzdHVzMi9yZXN0b3JhYmxlRGF0YWJhc2VBY2NvdW50cz9hcGktdmVyc2lvbj0yMDIxLTA2LTE1", + "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { "x-ms-client-request-id": [ - "eabbefff-c8e3-4037-a07f-aafa5c989b07" + "8bba4223-8fa6-4fd8-badb-2d417aeec8c2" ], "Accept-Language": [ "en-US" ], "User-Agent": [ - "FxVersion/5.0.321.7212", + "FxVersion/4.6.28207.03", "OSName/Windows", - "OSVersion/Microsoft.Windows.10.0.19042", - "Microsoft.Azure.Management.CosmosDB.CosmosDBManagementClient/2.0.0.0" + "OSVersion/Microsoft.Windows.10.0.19043.", + "Microsoft.Azure.Management.CosmosDB.CosmosDBManagementClient/3.0.0.0" ] }, "ResponseHeaders": { @@ -158,66 +149,66 @@ "Pragma": [ "no-cache" ], - "Location": [ - "https://management.azure.com/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/resourceGroups/CosmosDBResourceGroup3668/providers/Microsoft.DocumentDB/databaseAccounts/db4096/gremlinDatabases/databaseName21002/operationResults/62f1cb52-4ca2-4e44-8fe7-dce4b164befc?api-version=2021-03-01-preview" - ], - "Azure-AsyncOperation": [ - "https://management.azure.com/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/providers/Microsoft.DocumentDB/locations/eastus2/operationsStatus/62f1cb52-4ca2-4e44-8fe7-dce4b164befc?api-version=2021-03-01-preview" - ], - "x-ms-request-id": [ - "62f1cb52-4ca2-4e44-8fe7-dce4b164befc" - ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "x-ms-gatewayversion": [ - "version=2.11.0" + "version=2.14.0" ], "Server": [ "Microsoft-HTTPAPI/2.0" ], - "x-ms-ratelimit-remaining-subscription-deletes": [ - "14999" + "x-ms-ratelimit-remaining-subscription-reads": [ + "11998" + ], + "x-ms-request-id": [ + "566e52f2-afec-4e11-bb51-20e2f559534b" ], "x-ms-correlation-request-id": [ - "c02dc795-0ff8-41f0-8afd-9d89c6dba274" + "566e52f2-afec-4e11-bb51-20e2f559534b" ], "x-ms-routing-request-id": [ - "WESTUS2:20210303T173556Z:c02dc795-0ff8-41f0-8afd-9d89c6dba274" + "WESTUS2:20210616T070138Z:566e52f2-afec-4e11-bb51-20e2f559534b" ], "X-Content-Type-Options": [ "nosniff" ], "Date": [ - "Wed, 03 Mar 2021 17:35:55 GMT" + "Wed, 16 Jun 2021 07:01:38 GMT" ], "Content-Length": [ - "21" + "13052" ], "Content-Type": [ "application/json" ] }, - "ResponseBody": "{\r\n \"status\": \"Enqueued\"\r\n}", - "StatusCode": 202 + "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"name\": \"fccbe297-cb19-424b-a8d7-e996a6b7b689\",\r\n \"location\": \"East US 2\",\r\n \"type\": \"Microsoft.DocumentDB/locations/restorableDatabaseAccounts\",\r\n \"id\": \"/subscriptions/259fbb24-9bcd-4cfc-865c-fc33b22fe38a/providers/Microsoft.DocumentDB/locations/eastus2/restorableDatabaseAccounts/fccbe297-cb19-424b-a8d7-e996a6b7b689\",\r\n \"properties\": {\r\n \"accountName\": \"mongotestaccount\",\r\n \"apiType\": \"MongoDB\",\r\n \"creationTime\": \"2021-06-02T19:34:26Z\",\r\n \"restorableLocations\": [\r\n {\r\n \"locationName\": \"East US 2\",\r\n \"regionalDatabaseAccountInstanceId\": \"9f8cab0e-80f5-48b6-bc9f-7f7b3a69afeb\",\r\n \"creationTime\": \"2021-06-02T19:34:27Z\"\r\n }\r\n ]\r\n }\r\n },\r\n {\r\n \"name\": \"c6b53e1d-0dec-4ff2-ab70-2e9d24a3ed27\",\r\n \"location\": \"East US 2\",\r\n \"type\": \"Microsoft.DocumentDB/locations/restorableDatabaseAccounts\",\r\n \"id\": \"/subscriptions/259fbb24-9bcd-4cfc-865c-fc33b22fe38a/providers/Microsoft.DocumentDB/locations/eastus2/restorableDatabaseAccounts/c6b53e1d-0dec-4ff2-ab70-2e9d24a3ed27\",\r\n \"properties\": {\r\n \"accountName\": \"pitr-sql-stage-source\",\r\n \"apiType\": \"Sql\",\r\n \"creationTime\": \"2021-06-02T23:30:43Z\",\r\n \"restorableLocations\": [\r\n {\r\n \"locationName\": \"East US 2\",\r\n \"regionalDatabaseAccountInstanceId\": \"9961d453-89c2-4daf-bcad-add22d287617\",\r\n \"creationTime\": \"2021-06-02T23:30:43Z\"\r\n }\r\n ]\r\n }\r\n },\r\n {\r\n \"name\": \"990590c0-4db8-4b0e-96ef-55f0be03615d\",\r\n \"location\": \"East US 2\",\r\n \"type\": \"Microsoft.DocumentDB/locations/restorableDatabaseAccounts\",\r\n \"id\": \"/subscriptions/259fbb24-9bcd-4cfc-865c-fc33b22fe38a/providers/Microsoft.DocumentDB/locations/eastus2/restorableDatabaseAccounts/990590c0-4db8-4b0e-96ef-55f0be03615d\",\r\n \"properties\": {\r\n \"accountName\": \"pitr-mongo32-stage-source\",\r\n \"apiType\": \"MongoDB\",\r\n \"creationTime\": \"2021-06-02T23:32:31Z\",\r\n \"restorableLocations\": [\r\n {\r\n \"locationName\": \"East US 2\",\r\n \"regionalDatabaseAccountInstanceId\": \"2d0a8ae4-e622-429c-a2bf-b7b13ada7b45\",\r\n \"creationTime\": \"2021-06-02T23:32:32Z\"\r\n }\r\n ]\r\n }\r\n },\r\n {\r\n \"name\": \"60a54911-db9e-436f-b282-34779e0a2a7f\",\r\n \"location\": \"East US 2\",\r\n \"type\": \"Microsoft.DocumentDB/locations/restorableDatabaseAccounts\",\r\n \"id\": \"/subscriptions/259fbb24-9bcd-4cfc-865c-fc33b22fe38a/providers/Microsoft.DocumentDB/locations/eastus2/restorableDatabaseAccounts/60a54911-db9e-436f-b282-34779e0a2a7f\",\r\n \"properties\": {\r\n \"accountName\": \"pitr-mongo36-stage-source\",\r\n \"apiType\": \"MongoDB\",\r\n \"creationTime\": \"2021-06-02T23:33:01Z\",\r\n \"restorableLocations\": [\r\n {\r\n \"locationName\": \"East US 2\",\r\n \"regionalDatabaseAccountInstanceId\": \"32163288-85a4-454b-a7d7-d7fbb1f32aeb\",\r\n \"creationTime\": \"2021-06-02T23:33:02Z\"\r\n }\r\n ]\r\n }\r\n },\r\n {\r\n \"name\": \"b0736fc7-cb53-4b6f-bd2f-aac904085da4\",\r\n \"location\": \"East US 2\",\r\n \"type\": \"Microsoft.DocumentDB/locations/restorableDatabaseAccounts\",\r\n \"id\": \"/subscriptions/259fbb24-9bcd-4cfc-865c-fc33b22fe38a/providers/Microsoft.DocumentDB/locations/eastus2/restorableDatabaseAccounts/b0736fc7-cb53-4b6f-bd2f-aac904085da4\",\r\n \"properties\": {\r\n \"accountName\": \"mongo-continuous-1212\",\r\n \"apiType\": \"MongoDB\",\r\n \"creationTime\": \"2021-06-04T22:09:26Z\",\r\n \"restorableLocations\": [\r\n {\r\n \"locationName\": \"East US 2\",\r\n \"regionalDatabaseAccountInstanceId\": \"a1f3383c-4e2f-44b5-8348-7323e2356b3d\",\r\n \"creationTime\": \"2021-06-04T22:09:26Z\"\r\n }\r\n ]\r\n }\r\n },\r\n {\r\n \"name\": \"2301188f-cf13-419d-b7c2-5321c5476526\",\r\n \"location\": \"East US 2\",\r\n \"type\": \"Microsoft.DocumentDB/locations/restorableDatabaseAccounts\",\r\n \"id\": \"/subscriptions/259fbb24-9bcd-4cfc-865c-fc33b22fe38a/providers/Microsoft.DocumentDB/locations/eastus2/restorableDatabaseAccounts/2301188f-cf13-419d-b7c2-5321c5476526\",\r\n \"properties\": {\r\n \"accountName\": \"restored-cosmosdb-1212\",\r\n \"apiType\": \"Sql\",\r\n \"creationTime\": \"2021-06-07T21:06:02Z\",\r\n \"restorableLocations\": [\r\n {\r\n \"locationName\": \"East US 2\",\r\n \"regionalDatabaseAccountInstanceId\": \"05b3f3ce-59ee-4d28-bd66-09ea5c50790d\",\r\n \"creationTime\": \"2021-06-07T21:06:02Z\"\r\n }\r\n ]\r\n }\r\n },\r\n {\r\n \"name\": \"24302a82-123a-487a-bede-054ade2860f1\",\r\n \"location\": \"East US 2\",\r\n \"type\": \"Microsoft.DocumentDB/locations/restorableDatabaseAccounts\",\r\n \"id\": \"/subscriptions/259fbb24-9bcd-4cfc-865c-fc33b22fe38a/providers/Microsoft.DocumentDB/locations/eastus2/restorableDatabaseAccounts/24302a82-123a-487a-bede-054ade2860f1\",\r\n \"properties\": {\r\n \"accountName\": \"dbaccount29-1\",\r\n \"apiType\": \"Sql\",\r\n \"creationTime\": \"2021-06-07T21:24:52Z\",\r\n \"restorableLocations\": [\r\n {\r\n \"locationName\": \"East US 2\",\r\n \"regionalDatabaseAccountInstanceId\": \"ede5fb9c-4058-44a6-8dec-29e3e7de9b44\",\r\n \"creationTime\": \"2021-06-07T21:24:53Z\"\r\n }\r\n ]\r\n }\r\n },\r\n {\r\n \"name\": \"e157f1a1-6837-46fa-8f4f-ef3e7266ab3a\",\r\n \"location\": \"East US 2\",\r\n \"type\": \"Microsoft.DocumentDB/locations/restorableDatabaseAccounts\",\r\n \"id\": \"/subscriptions/259fbb24-9bcd-4cfc-865c-fc33b22fe38a/providers/Microsoft.DocumentDB/locations/eastus2/restorableDatabaseAccounts/e157f1a1-6837-46fa-8f4f-ef3e7266ab3a\",\r\n \"properties\": {\r\n \"accountName\": \"rbactestps12\",\r\n \"apiType\": \"Sql\",\r\n \"creationTime\": \"2021-06-07T21:27:24Z\",\r\n \"restorableLocations\": [\r\n {\r\n \"locationName\": \"East US 2\",\r\n \"regionalDatabaseAccountInstanceId\": \"64c449c8-6fa2-4273-b066-5a062d4418be\",\r\n \"creationTime\": \"2021-06-07T21:27:24Z\"\r\n }\r\n ]\r\n }\r\n },\r\n {\r\n \"name\": \"72706ac1-0d0a-40be-a30a-1b4af0911131\",\r\n \"location\": \"East US 2\",\r\n \"type\": \"Microsoft.DocumentDB/locations/restorableDatabaseAccounts\",\r\n \"id\": \"/subscriptions/259fbb24-9bcd-4cfc-865c-fc33b22fe38a/providers/Microsoft.DocumentDB/locations/eastus2/restorableDatabaseAccounts/72706ac1-0d0a-40be-a30a-1b4af0911131\",\r\n \"properties\": {\r\n \"accountName\": \"mongo-db0002\",\r\n \"apiType\": \"MongoDB\",\r\n \"creationTime\": \"2021-06-07T23:44:54Z\",\r\n \"restorableLocations\": [\r\n {\r\n \"locationName\": \"East US 2\",\r\n \"regionalDatabaseAccountInstanceId\": \"dfccb705-08c0-4282-9dad-07ab354ba8e8\",\r\n \"creationTime\": \"2021-06-07T23:44:55Z\"\r\n }\r\n ]\r\n }\r\n },\r\n {\r\n \"name\": \"41ea7d9e-553f-4259-872f-676c969e9a0b\",\r\n \"location\": \"East US 2\",\r\n \"type\": \"Microsoft.DocumentDB/locations/restorableDatabaseAccounts\",\r\n \"id\": \"/subscriptions/259fbb24-9bcd-4cfc-865c-fc33b22fe38a/providers/Microsoft.DocumentDB/locations/eastus2/restorableDatabaseAccounts/41ea7d9e-553f-4259-872f-676c969e9a0b\",\r\n \"properties\": {\r\n \"accountName\": \"dbaccount27-1\",\r\n \"apiType\": \"Sql\",\r\n \"creationTime\": \"2021-06-08T17:39:46Z\",\r\n \"restorableLocations\": [\r\n {\r\n \"locationName\": \"East US 2\",\r\n \"regionalDatabaseAccountInstanceId\": \"1db9bff4-73f7-48e1-a506-ab5b3edc8308\",\r\n \"creationTime\": \"2021-06-08T17:39:47Z\"\r\n }\r\n ]\r\n }\r\n },\r\n {\r\n \"name\": \"ceacd38f-9e6b-4a81-b2f7-ecd341c6fbbd\",\r\n \"location\": \"East US 2\",\r\n \"type\": \"Microsoft.DocumentDB/locations/restorableDatabaseAccounts\",\r\n \"id\": \"/subscriptions/259fbb24-9bcd-4cfc-865c-fc33b22fe38a/providers/Microsoft.DocumentDB/locations/eastus2/restorableDatabaseAccounts/ceacd38f-9e6b-4a81-b2f7-ecd341c6fbbd\",\r\n \"properties\": {\r\n \"accountName\": \"cli125\",\r\n \"apiType\": \"Sql\",\r\n \"creationTime\": \"2021-06-09T19:06:13Z\",\r\n \"restorableLocations\": [\r\n {\r\n \"locationName\": \"East US 2\",\r\n \"regionalDatabaseAccountInstanceId\": \"c2a9bc5f-f37e-4add-a582-52abfb6a36a1\",\r\n \"creationTime\": \"2021-06-09T19:06:14Z\"\r\n }\r\n ]\r\n }\r\n },\r\n {\r\n \"name\": \"88d48073-10d1-402e-8cf5-c79e4e2de08e\",\r\n \"location\": \"East US 2\",\r\n \"type\": \"Microsoft.DocumentDB/locations/restorableDatabaseAccounts\",\r\n \"id\": \"/subscriptions/259fbb24-9bcd-4cfc-865c-fc33b22fe38a/providers/Microsoft.DocumentDB/locations/eastus2/restorableDatabaseAccounts/88d48073-10d1-402e-8cf5-c79e4e2de08e\",\r\n \"properties\": {\r\n \"accountName\": \"sqltestaccount123\",\r\n \"apiType\": \"Sql\",\r\n \"creationTime\": \"2021-06-09T19:09:54Z\",\r\n \"restorableLocations\": [\r\n {\r\n \"locationName\": \"East US 2\",\r\n \"regionalDatabaseAccountInstanceId\": \"861a2513-08ea-4cf8-817b-99b8282f5013\",\r\n \"creationTime\": \"2021-06-09T19:09:54Z\"\r\n }\r\n ]\r\n }\r\n },\r\n {\r\n \"name\": \"bb9b3beb-42c4-4ae4-a983-58e20bcd71a5\",\r\n \"location\": \"East US 2\",\r\n \"type\": \"Microsoft.DocumentDB/locations/restorableDatabaseAccounts\",\r\n \"id\": \"/subscriptions/259fbb24-9bcd-4cfc-865c-fc33b22fe38a/providers/Microsoft.DocumentDB/locations/eastus2/restorableDatabaseAccounts/bb9b3beb-42c4-4ae4-a983-58e20bcd71a5\",\r\n \"properties\": {\r\n \"accountName\": \"db003\",\r\n \"apiType\": \"MongoDB\",\r\n \"creationTime\": \"2021-06-09T20:16:40Z\",\r\n \"restorableLocations\": [\r\n {\r\n \"locationName\": \"East US 2\",\r\n \"regionalDatabaseAccountInstanceId\": \"a6dda878-4486-437f-bd72-b9e87bf75221\",\r\n \"creationTime\": \"2021-06-09T20:16:41Z\"\r\n }\r\n ]\r\n }\r\n },\r\n {\r\n \"name\": \"9f8ee54b-f275-44fa-b2c5-9983644c131f\",\r\n \"location\": \"East US 2\",\r\n \"type\": \"Microsoft.DocumentDB/locations/restorableDatabaseAccounts\",\r\n \"id\": \"/subscriptions/259fbb24-9bcd-4cfc-865c-fc33b22fe38a/providers/Microsoft.DocumentDB/locations/eastus2/restorableDatabaseAccounts/9f8ee54b-f275-44fa-b2c5-9983644c131f\",\r\n \"properties\": {\r\n \"accountName\": \"sqltestaccount124\",\r\n \"apiType\": \"Sql\",\r\n \"creationTime\": \"2021-06-10T05:06:02Z\",\r\n \"restorableLocations\": [\r\n {\r\n \"locationName\": \"East US 2\",\r\n \"regionalDatabaseAccountInstanceId\": \"3fe302ed-daee-401c-9897-250919f9a0fe\",\r\n \"creationTime\": \"2021-06-10T05:06:02Z\"\r\n }\r\n ]\r\n }\r\n },\r\n {\r\n \"name\": \"c2601a38-bee1-400e-bc5e-8d817318cf31\",\r\n \"location\": \"East US 2\",\r\n \"type\": \"Microsoft.DocumentDB/locations/restorableDatabaseAccounts\",\r\n \"id\": \"/subscriptions/259fbb24-9bcd-4cfc-865c-fc33b22fe38a/providers/Microsoft.DocumentDB/locations/eastus2/restorableDatabaseAccounts/c2601a38-bee1-400e-bc5e-8d817318cf31\",\r\n \"properties\": {\r\n \"accountName\": \"restoredaccountname7595\",\r\n \"apiType\": \"Sql\",\r\n \"creationTime\": \"2021-06-10T18:00:35Z\",\r\n \"restorableLocations\": [\r\n {\r\n \"locationName\": \"East US 2\",\r\n \"regionalDatabaseAccountInstanceId\": \"0a4ccb11-2cb5-4b81-8ab6-ea10cbb2290d\",\r\n \"creationTime\": \"2021-06-10T18:00:35Z\"\r\n }\r\n ]\r\n }\r\n },\r\n {\r\n \"name\": \"33035d50-7f15-4450-a71d-a4da4dcd039f\",\r\n \"location\": \"East US 2\",\r\n \"type\": \"Microsoft.DocumentDB/locations/restorableDatabaseAccounts\",\r\n \"id\": \"/subscriptions/259fbb24-9bcd-4cfc-865c-fc33b22fe38a/providers/Microsoft.DocumentDB/locations/eastus2/restorableDatabaseAccounts/33035d50-7f15-4450-a71d-a4da4dcd039f\",\r\n \"properties\": {\r\n \"accountName\": \"restoredaccountname4020\",\r\n \"apiType\": \"Sql\",\r\n \"creationTime\": \"2021-06-15T21:27:04Z\",\r\n \"restorableLocations\": [\r\n {\r\n \"locationName\": \"East US 2\",\r\n \"regionalDatabaseAccountInstanceId\": \"5d75295f-2ad7-451c-b27d-8e877e22b075\",\r\n \"creationTime\": \"2021-06-15T21:27:04Z\"\r\n }\r\n ]\r\n }\r\n },\r\n {\r\n \"name\": \"7d405124-1129-468e-9ff9-d031059c96bc\",\r\n \"location\": \"East US 2\",\r\n \"type\": \"Microsoft.DocumentDB/locations/restorableDatabaseAccounts\",\r\n \"id\": \"/subscriptions/259fbb24-9bcd-4cfc-865c-fc33b22fe38a/providers/Microsoft.DocumentDB/locations/eastus2/restorableDatabaseAccounts/7d405124-1129-468e-9ff9-d031059c96bc\",\r\n \"properties\": {\r\n \"accountName\": \"sqltestaccount\",\r\n \"apiType\": \"Sql\",\r\n \"creationTime\": \"2021-06-16T05:58:55Z\",\r\n \"restorableLocations\": [\r\n {\r\n \"locationName\": \"East US 2\",\r\n \"regionalDatabaseAccountInstanceId\": \"d0a6a03f-c045-4275-a38a-b221f5749051\",\r\n \"creationTime\": \"2021-06-16T05:58:55Z\"\r\n }\r\n ]\r\n }\r\n },\r\n {\r\n \"name\": \"d5fe116b-8a63-474e-88a4-afb2a726198e\",\r\n \"location\": \"East US 2\",\r\n \"type\": \"Microsoft.DocumentDB/locations/restorableDatabaseAccounts\",\r\n \"id\": \"/subscriptions/259fbb24-9bcd-4cfc-865c-fc33b22fe38a/providers/Microsoft.DocumentDB/locations/eastus2/restorableDatabaseAccounts/d5fe116b-8a63-474e-88a4-afb2a726198e\",\r\n \"properties\": {\r\n \"accountName\": \"cli127\",\r\n \"apiType\": \"Sql\",\r\n \"creationTime\": \"2021-06-16T06:57:39Z\",\r\n \"restorableLocations\": [\r\n {\r\n \"locationName\": \"East US 2\",\r\n \"regionalDatabaseAccountInstanceId\": \"f9a67f44-e6f6-4270-91c6-d90a0292ac96\",\r\n \"creationTime\": \"2021-06-16T06:57:39Z\"\r\n }\r\n ]\r\n }\r\n },\r\n {\r\n \"name\": \"c483a757-4d93-4d60-ae22-04c9d2c89595\",\r\n \"location\": \"East US 2\",\r\n \"type\": \"Microsoft.DocumentDB/locations/restorableDatabaseAccounts\",\r\n \"id\": \"/subscriptions/259fbb24-9bcd-4cfc-865c-fc33b22fe38a/providers/Microsoft.DocumentDB/locations/eastus2/restorableDatabaseAccounts/c483a757-4d93-4d60-ae22-04c9d2c89595\",\r\n \"properties\": {\r\n \"accountName\": \"restored2-cosmosdb-1212-1\",\r\n \"apiType\": \"Sql\",\r\n \"creationTime\": \"2021-06-04T22:17:44Z\",\r\n \"deletionTime\": \"2021-06-05T05:04:42Z\",\r\n \"restorableLocations\": [\r\n {\r\n \"locationName\": \"East US 2\",\r\n \"regionalDatabaseAccountInstanceId\": \"eb5e33f1-8ecf-42b7-9f3f-18784854fc5e\",\r\n \"creationTime\": \"2021-06-04T22:17:44Z\",\r\n \"deletionTime\": \"2021-06-05T05:04:42Z\"\r\n }\r\n ]\r\n }\r\n },\r\n {\r\n \"name\": \"80458ce3-9b06-4d87-9405-1f47eb88164f\",\r\n \"location\": \"East US 2\",\r\n \"type\": \"Microsoft.DocumentDB/locations/restorableDatabaseAccounts\",\r\n \"id\": \"/subscriptions/259fbb24-9bcd-4cfc-865c-fc33b22fe38a/providers/Microsoft.DocumentDB/locations/eastus2/restorableDatabaseAccounts/80458ce3-9b06-4d87-9405-1f47eb88164f\",\r\n \"properties\": {\r\n \"accountName\": \"dbaccount27-1\",\r\n \"apiType\": \"Sql\",\r\n \"creationTime\": \"2021-06-07T21:24:07Z\",\r\n \"deletionTime\": \"2021-06-07T22:30:24Z\",\r\n \"restorableLocations\": [\r\n {\r\n \"locationName\": \"East US 2\",\r\n \"regionalDatabaseAccountInstanceId\": \"a47823ea-6bce-4436-91a1-1dd14a1aa3a7\",\r\n \"creationTime\": \"2021-06-07T21:24:08Z\",\r\n \"deletionTime\": \"2021-06-07T22:30:24Z\"\r\n }\r\n ]\r\n }\r\n },\r\n {\r\n \"name\": \"3b44efa3-a7e6-414e-99c2-22d63aa1d778\",\r\n \"location\": \"East US 2\",\r\n \"type\": \"Microsoft.DocumentDB/locations/restorableDatabaseAccounts\",\r\n \"id\": \"/subscriptions/259fbb24-9bcd-4cfc-865c-fc33b22fe38a/providers/Microsoft.DocumentDB/locations/eastus2/restorableDatabaseAccounts/3b44efa3-a7e6-414e-99c2-22d63aa1d778\",\r\n \"properties\": {\r\n \"accountName\": \"cli126\",\r\n \"apiType\": \"Sql\",\r\n \"creationTime\": \"2021-06-10T05:07:44Z\",\r\n \"deletionTime\": \"2021-06-15T21:00:15Z\",\r\n \"restorableLocations\": [\r\n {\r\n \"locationName\": \"East US 2\",\r\n \"regionalDatabaseAccountInstanceId\": \"fbc82bdc-1493-4cc4-bd69-2c33c650e3ed\",\r\n \"creationTime\": \"2021-06-10T05:07:45Z\",\r\n \"deletionTime\": \"2021-06-15T21:00:15Z\"\r\n }\r\n ]\r\n }\r\n },\r\n {\r\n \"name\": \"3bf55696-9845-4ab5-b57c-f955a2ffe3ca\",\r\n \"location\": \"East US 2\",\r\n \"type\": \"Microsoft.DocumentDB/locations/restorableDatabaseAccounts\",\r\n \"id\": \"/subscriptions/259fbb24-9bcd-4cfc-865c-fc33b22fe38a/providers/Microsoft.DocumentDB/locations/eastus2/restorableDatabaseAccounts/3bf55696-9845-4ab5-b57c-f955a2ffe3ca\",\r\n \"properties\": {\r\n \"accountName\": \"sqltestaccount\",\r\n \"apiType\": \"Sql\",\r\n \"creationTime\": \"2021-06-01T23:24:19Z\",\r\n \"deletionTime\": \"2021-06-16T04:58:21Z\",\r\n \"restorableLocations\": [\r\n {\r\n \"locationName\": \"East US 2\",\r\n \"regionalDatabaseAccountInstanceId\": \"1062fb86-a396-4689-9326-83193cf2274b\",\r\n \"creationTime\": \"2021-06-01T23:24:20Z\",\r\n \"deletionTime\": \"2021-06-16T04:58:21Z\"\r\n }\r\n ]\r\n }\r\n }\r\n ]\r\n}", + "StatusCode": 200 }, { - "RequestUri": "/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/resourceGroups/CosmosDBResourceGroup3668/providers/Microsoft.DocumentDB/databaseAccounts/db4096/gremlinDatabases/databaseName1002?api-version=2021-03-01-preview", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvODBiZTM5NjEtMDUyMS00YTBhLTg1NzAtNWNkNWE0ZTJmOThjL3Jlc291cmNlR3JvdXBzL0Nvc21vc0RCUmVzb3VyY2VHcm91cDM2NjgvcHJvdmlkZXJzL01pY3Jvc29mdC5Eb2N1bWVudERCL2RhdGFiYXNlQWNjb3VudHMvZGI0MDk2L2dyZW1saW5EYXRhYmFzZXMvZGF0YWJhc2VOYW1lMTAwMj9hcGktdmVyc2lvbj0yMDIxLTAzLTAxLXByZXZpZXc=", - "RequestMethod": "DELETE", - "RequestBody": "", + "RequestUri": "/subscriptions/259fbb24-9bcd-4cfc-865c-fc33b22fe38a/resourceGroups/CosmosDBResourceGroup3668/providers/Microsoft.DocumentDB/databaseAccounts/restoredaccountname3766?api-version=2021-06-15", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMjU5ZmJiMjQtOWJjZC00Y2ZjLTg2NWMtZmMzM2IyMmZlMzhhL3Jlc291cmNlR3JvdXBzL0Nvc21vc0RCUmVzb3VyY2VHcm91cDM2NjgvcHJvdmlkZXJzL01pY3Jvc29mdC5Eb2N1bWVudERCL2RhdGFiYXNlQWNjb3VudHMvcmVzdG9yZWRhY2NvdW50bmFtZTM3NjY/YXBpLXZlcnNpb249MjAyMS0wNi0xNQ==", + "RequestMethod": "PUT", + "RequestBody": "{\r\n \"kind\": \"GlobalDocumentDB\",\r\n \"properties\": {\r\n \"locations\": [\r\n {\r\n \"locationName\": \"eastus2\"\r\n }\r\n ],\r\n \"createMode\": \"Restore\",\r\n \"restoreParameters\": {\r\n \"restoreMode\": \"PointInTime\",\r\n \"restoreSource\": \"/subscriptions/259fbb24-9bcd-4cfc-865c-fc33b22fe38a/providers/Microsoft.DocumentDB/locations/eastus2/restorableDatabaseAccounts/9f8ee54b-f275-44fa-b2c5-9983644c131f\",\r\n \"restoreTimestampInUtc\": \"2021-06-16T07:01:38.282628Z\"\r\n },\r\n \"databaseAccountOfferType\": \"Standard\"\r\n },\r\n \"location\": \"eastus2\",\r\n \"tags\": {\r\n \"key1\": \"value1\",\r\n \"key2\": \"value2\"\r\n }\r\n}", "RequestHeaders": { "x-ms-client-request-id": [ - "4cc91df1-6578-4bf7-8c1c-584a2bfe17b9" + "edb7f4f2-8ea7-4d02-9b95-dc3891f3fc1e" ], "Accept-Language": [ "en-US" ], "User-Agent": [ - "FxVersion/5.0.321.7212", + "FxVersion/4.6.28207.03", "OSName/Windows", - "OSVersion/Microsoft.Windows.10.0.19042", - "Microsoft.Azure.Management.CosmosDB.CosmosDBManagementClient/2.0.0.0" + "OSVersion/Microsoft.Windows.10.0.19043.", + "Microsoft.Azure.Management.CosmosDB.CosmosDBManagementClient/3.0.0.0" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Content-Length": [ + "631" ] }, "ResponseHeaders": { @@ -228,136 +219,173 @@ "no-cache" ], "Location": [ - "https://management.azure.com/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/resourceGroups/CosmosDBResourceGroup3668/providers/Microsoft.DocumentDB/databaseAccounts/db4096/gremlinDatabases/databaseName1002/operationResults/f495da1f-caa5-4cbd-9114-dce8f68ecafe?api-version=2021-03-01-preview" - ], - "Azure-AsyncOperation": [ - "https://management.azure.com/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/providers/Microsoft.DocumentDB/locations/eastus2/operationsStatus/f495da1f-caa5-4cbd-9114-dce8f68ecafe?api-version=2021-03-01-preview" + "https://management.azure.com/subscriptions/259fbb24-9bcd-4cfc-865c-fc33b22fe38a/resourceGroups/CosmosDBResourceGroup3668/providers/Microsoft.DocumentDB/databaseAccounts/restoredaccountname3766/operationResults/e29101ef-7d75-473a-9d92-75a120b6a65d?api-version=2021-06-15" ], "x-ms-request-id": [ - "f495da1f-caa5-4cbd-9114-dce8f68ecafe" + "e29101ef-7d75-473a-9d92-75a120b6a65d" + ], + "Azure-AsyncOperation": [ + "https://management.azure.com/subscriptions/259fbb24-9bcd-4cfc-865c-fc33b22fe38a/providers/Microsoft.DocumentDB/locations/eastus2/operationsStatus/e29101ef-7d75-473a-9d92-75a120b6a65d?api-version=2021-06-15" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "x-ms-gatewayversion": [ - "version=2.11.0" + "version=2.14.0" ], "Server": [ "Microsoft-HTTPAPI/2.0" ], - "x-ms-ratelimit-remaining-subscription-deletes": [ - "14999" + "x-ms-ratelimit-remaining-subscription-writes": [ + "1199" ], "x-ms-correlation-request-id": [ - "0857d65d-8f99-4ba9-898e-9465594731c0" + "7573c19d-7ef1-4854-b487-7b8e964172d5" ], "x-ms-routing-request-id": [ - "WESTUS2:20210303T173556Z:0857d65d-8f99-4ba9-898e-9465594731c0" + "WESTUS2:20210616T070145Z:7573c19d-7ef1-4854-b487-7b8e964172d5" ], "X-Content-Type-Options": [ "nosniff" ], "Date": [ - "Wed, 03 Mar 2021 17:35:55 GMT" + "Wed, 16 Jun 2021 07:01:44 GMT" ], "Content-Length": [ - "21" + "2454" ], "Content-Type": [ "application/json" ] }, - "ResponseBody": "{\r\n \"status\": \"Enqueued\"\r\n}", - "StatusCode": 202 + "ResponseBody": "{\r\n \"id\": \"/subscriptions/259fbb24-9bcd-4cfc-865c-fc33b22fe38a/resourceGroups/CosmosDBResourceGroup3668/providers/Microsoft.DocumentDB/databaseAccounts/restoredaccountname3766\",\r\n \"name\": \"restoredaccountname3766\",\r\n \"location\": \"East US 2\",\r\n \"type\": \"Microsoft.DocumentDB/databaseAccounts\",\r\n \"kind\": \"GlobalDocumentDB\",\r\n \"tags\": {\r\n \"defaultExperience\": \"Core (SQL)\",\r\n \"hidden-cosmos-mmspecial\": \"\"\r\n },\r\n \"systemData\": {\r\n \"createdAt\": \"2021-06-16T07:01:42.3117384Z\"\r\n },\r\n \"properties\": {\r\n \"provisioningState\": \"Creating\",\r\n \"publicNetworkAccess\": \"Enabled\",\r\n \"enableAutomaticFailover\": false,\r\n \"enableMultipleWriteLocations\": false,\r\n \"enablePartitionKeyMonitor\": false,\r\n \"isVirtualNetworkFilterEnabled\": false,\r\n \"virtualNetworkRules\": [],\r\n \"EnabledApiTypes\": \"Sql\",\r\n \"disableKeyBasedMetadataWriteAccess\": false,\r\n \"enableFreeTier\": false,\r\n \"enableAnalyticalStorage\": false,\r\n \"analyticalStorageConfiguration\": {},\r\n \"instanceId\": \"1dfe47fb-822c-41f1-b403-1cf6c63d0ba7\",\r\n \"createMode\": \"Restore\",\r\n \"databaseAccountOfferType\": \"Standard\",\r\n \"defaultIdentity\": \"FirstPartyIdentity\",\r\n \"networkAclBypass\": \"None\",\r\n \"disableLocalAuth\": false,\r\n \"consistencyPolicy\": {\r\n \"defaultConsistencyLevel\": \"Session\",\r\n \"maxIntervalInSeconds\": 5,\r\n \"maxStalenessPrefix\": 100\r\n },\r\n \"configurationOverrides\": {},\r\n \"writeLocations\": [\r\n {\r\n \"id\": \"restoredaccountname3766-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://sqltestaccount124-eastus2.documents.azure.com:443/\",\r\n \"provisioningState\": \"Creating\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"readLocations\": [\r\n {\r\n \"id\": \"restoredaccountname3766-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://sqltestaccount124-eastus2.documents.azure.com:443/\",\r\n \"provisioningState\": \"Creating\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"locations\": [\r\n {\r\n \"id\": \"restoredaccountname3766-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://sqltestaccount124-eastus2.documents.azure.com:443/\",\r\n \"provisioningState\": \"Creating\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"failoverPolicies\": [\r\n {\r\n \"id\": \"restoredaccountname3766-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"failoverPriority\": 0\r\n }\r\n ],\r\n \"cors\": [],\r\n \"capabilities\": [],\r\n \"ipRules\": [],\r\n \"backupPolicy\": {\r\n \"type\": \"Continuous\"\r\n },\r\n \"restoreParameters\": {\r\n \"restoreMode\": \"PointInTime\",\r\n \"restoreSource\": \"/subscriptions/259fbb24-9bcd-4cfc-865c-fc33b22fe38a/providers/Microsoft.DocumentDB/locations/eastus2/restorableDatabaseAccounts/9f8ee54b-f275-44fa-b2c5-9983644c131f\",\r\n \"restoreTimestampInUtc\": \"2021-06-16T07:01:38.282628Z\",\r\n \"databasesToRestore\": []\r\n },\r\n \"networkAclBypassResourceIds\": []\r\n },\r\n \"identity\": {\r\n \"type\": \"None\"\r\n }\r\n}", + "StatusCode": 200 }, { - "RequestUri": "/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/providers/Microsoft.DocumentDB/restorableDatabaseAccounts?api-version=2021-03-01-preview", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvODBiZTM5NjEtMDUyMS00YTBhLTg1NzAtNWNkNWE0ZTJmOThjL3Byb3ZpZGVycy9NaWNyb3NvZnQuRG9jdW1lbnREQi9yZXN0b3JhYmxlRGF0YWJhc2VBY2NvdW50cz9hcGktdmVyc2lvbj0yMDIxLTAzLTAxLXByZXZpZXc=", + "RequestUri": "/subscriptions/259fbb24-9bcd-4cfc-865c-fc33b22fe38a/providers/Microsoft.DocumentDB/locations/eastus2/operationsStatus/e29101ef-7d75-473a-9d92-75a120b6a65d?api-version=2021-06-15", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMjU5ZmJiMjQtOWJjZC00Y2ZjLTg2NWMtZmMzM2IyMmZlMzhhL3Byb3ZpZGVycy9NaWNyb3NvZnQuRG9jdW1lbnREQi9sb2NhdGlvbnMvZWFzdHVzMi9vcGVyYXRpb25zU3RhdHVzL2UyOTEwMWVmLTdkNzUtNDczYS05ZDkyLTc1YTEyMGI2YTY1ZD9hcGktdmVyc2lvbj0yMDIxLTA2LTE1", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { - "x-ms-client-request-id": [ - "2ef9575f-de75-497e-9c79-9e6a83ddf997" - ], - "Accept-Language": [ - "en-US" - ], "User-Agent": [ - "FxVersion/5.0.321.7212", + "FxVersion/4.6.28207.03", "OSName/Windows", - "OSVersion/Microsoft.Windows.10.0.19042", - "Microsoft.Azure.Management.CosmosDB.CosmosDBManagementClient/2.0.0.0" + "OSVersion/Microsoft.Windows.10.0.19043.", + "Microsoft.Azure.Management.CosmosDB.CosmosDBManagementClient/3.0.0.0" ] }, "ResponseHeaders": { "Cache-Control": [ - "no-cache" + "no-store, no-cache" ], "Pragma": [ "no-cache" ], - "x-ms-original-request-ids": [ - "", - "", - "" + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-gatewayversion": [ + "version=2.14.0" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "11998" + "11997" ], "x-ms-request-id": [ - "b4db4361-93ee-45e4-9879-a40df5eeefc0" + "bee43a93-6b9d-4537-8ed1-4f4c27f67305" ], "x-ms-correlation-request-id": [ - "b4db4361-93ee-45e4-9879-a40df5eeefc0" + "bee43a93-6b9d-4537-8ed1-4f4c27f67305" ], "x-ms-routing-request-id": [ - "WESTUS2:20210303T173621Z:b4db4361-93ee-45e4-9879-a40df5eeefc0" - ], - "Strict-Transport-Security": [ - "max-age=31536000; includeSubDomains" + "WESTUS2:20210616T070215Z:bee43a93-6b9d-4537-8ed1-4f4c27f67305" ], "X-Content-Type-Options": [ "nosniff" ], "Date": [ - "Wed, 03 Mar 2021 17:36:20 GMT" - ], - "Content-Type": [ - "application/json; charset=utf-8" - ], - "Expires": [ - "-1" + "Wed, 16 Jun 2021 07:02:14 GMT" ], "Content-Length": [ - "46196" + "21" + ], + "Content-Type": [ + "application/json" ] }, - "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"name\": \"5dee0717-8f84-40d7-b7c1-921552ba61a5\",\r\n \"location\": \"West US 2\",\r\n \"type\": \"Microsoft.DocumentDB/locations/restorableDatabaseAccounts\",\r\n \"id\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/providers/Microsoft.DocumentDB/locations/westus2/restorableDatabaseAccounts/5dee0717-8f84-40d7-b7c1-921552ba61a5\",\r\n \"properties\": {\r\n \"accountName\": \"vinhstagepitr\",\r\n \"apiType\": \"Sql\",\r\n \"creationTime\": \"2020-11-02T23:44:14Z\",\r\n \"restorableLocations\": [\r\n {\r\n \"locationName\": \"West US 2\",\r\n \"regionalDatabaseAccountInstanceId\": \"30d6cace-8354-4e1f-b427-4f234f46df87\",\r\n \"creationTime\": \"2020-11-02T23:44:14Z\"\r\n }\r\n ]\r\n }\r\n },\r\n {\r\n \"name\": \"5cfa410f-ea0c-4995-aa59-9809a69c21f8\",\r\n \"location\": \"West US 2\",\r\n \"type\": \"Microsoft.DocumentDB/locations/restorableDatabaseAccounts\",\r\n \"id\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/providers/Microsoft.DocumentDB/locations/westus2/restorableDatabaseAccounts/5cfa410f-ea0c-4995-aa59-9809a69c21f8\",\r\n \"properties\": {\r\n \"accountName\": \"vinhstagemongopitr\",\r\n \"apiType\": \"MongoDB\",\r\n \"creationTime\": \"2020-11-25T17:07:33Z\",\r\n \"restorableLocations\": [\r\n {\r\n \"locationName\": \"West US 2\",\r\n \"regionalDatabaseAccountInstanceId\": \"4ecfc265-e4d3-4638-a225-1932760404ee\",\r\n \"creationTime\": \"2020-11-25T17:07:34Z\"\r\n }\r\n ]\r\n }\r\n },\r\n {\r\n \"name\": \"2b5e6412-19dc-4d79-88ae-178f5e30dd78\",\r\n \"location\": \"West US 2\",\r\n \"type\": \"Microsoft.DocumentDB/locations/restorableDatabaseAccounts\",\r\n \"id\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/providers/Microsoft.DocumentDB/locations/westus2/restorableDatabaseAccounts/2b5e6412-19dc-4d79-88ae-178f5e30dd78\",\r\n \"properties\": {\r\n \"accountName\": \"test-virangai-vinhstagemongopitr-del-res1\",\r\n \"apiType\": \"MongoDB\",\r\n \"creationTime\": \"2020-11-30T23:17:02Z\",\r\n \"restorableLocations\": [\r\n {\r\n \"locationName\": \"West US 2\",\r\n \"regionalDatabaseAccountInstanceId\": \"a35683c3-cf9b-4378-a290-fb3ab8e741f9\",\r\n \"creationTime\": \"2020-11-30T23:17:02Z\"\r\n }\r\n ]\r\n }\r\n },\r\n {\r\n \"name\": \"9a4b63c3-49d1-4c87-b28e-92e92aeaa0ea\",\r\n \"location\": \"West US 2\",\r\n \"type\": \"Microsoft.DocumentDB/locations/restorableDatabaseAccounts\",\r\n \"id\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/providers/Microsoft.DocumentDB/locations/westus2/restorableDatabaseAccounts/9a4b63c3-49d1-4c87-b28e-92e92aeaa0ea\",\r\n \"properties\": {\r\n \"accountName\": \"pitr-sql-stage-source\",\r\n \"apiType\": \"Sql\",\r\n \"creationTime\": \"2020-12-08T18:18:47Z\",\r\n \"restorableLocations\": [\r\n {\r\n \"locationName\": \"West US 2\",\r\n \"regionalDatabaseAccountInstanceId\": \"f61a9ed3-fcda-4603-b1e2-2baadbb6122b\",\r\n \"creationTime\": \"2020-12-08T18:18:47Z\"\r\n },\r\n {\r\n \"locationName\": \"East US 2\",\r\n \"regionalDatabaseAccountInstanceId\": \"cdd116b8-a956-43d5-b461-248f837099f4\",\r\n \"creationTime\": \"2020-12-14T21:35:14Z\"\r\n }\r\n ]\r\n }\r\n },\r\n {\r\n \"name\": \"7d98d6c0-eadf-4d7e-a166-696de37c91fc\",\r\n \"location\": \"West US 2\",\r\n \"type\": \"Microsoft.DocumentDB/locations/restorableDatabaseAccounts\",\r\n \"id\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/providers/Microsoft.DocumentDB/locations/westus2/restorableDatabaseAccounts/7d98d6c0-eadf-4d7e-a166-696de37c91fc\",\r\n \"properties\": {\r\n \"accountName\": \"restore-test1\",\r\n \"apiType\": \"Sql\",\r\n \"creationTime\": \"2020-12-08T21:44:47Z\",\r\n \"restorableLocations\": [\r\n {\r\n \"locationName\": \"West US 2\",\r\n \"regionalDatabaseAccountInstanceId\": \"208a7933-2e44-4df1-9c96-97e28ae92d8f\",\r\n \"creationTime\": \"2020-12-08T21:44:47Z\"\r\n }\r\n ]\r\n }\r\n },\r\n {\r\n \"name\": \"08155af7-e63f-4db1-82ed-c99b8a08e541\",\r\n \"location\": \"West US 2\",\r\n \"type\": \"Microsoft.DocumentDB/locations/restorableDatabaseAccounts\",\r\n \"id\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/providers/Microsoft.DocumentDB/locations/westus2/restorableDatabaseAccounts/08155af7-e63f-4db1-82ed-c99b8a08e541\",\r\n \"properties\": {\r\n \"accountName\": \"test-virangai-vinhstagemongopitr-1\",\r\n \"apiType\": \"MongoDB\",\r\n \"creationTime\": \"2020-12-09T10:37:08Z\",\r\n \"restorableLocations\": [\r\n {\r\n \"locationName\": \"West US 2\",\r\n \"regionalDatabaseAccountInstanceId\": \"8c045a40-c3b5-4025-a270-156b748fd08b\",\r\n \"creationTime\": \"2020-12-09T10:37:08Z\"\r\n }\r\n ]\r\n }\r\n },\r\n {\r\n \"name\": \"d0cb2ece-f253-4f20-86d0-01897e729eba\",\r\n \"location\": \"West US 2\",\r\n \"type\": \"Microsoft.DocumentDB/locations/restorableDatabaseAccounts\",\r\n \"id\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/providers/Microsoft.DocumentDB/locations/westus2/restorableDatabaseAccounts/d0cb2ece-f253-4f20-86d0-01897e729eba\",\r\n \"properties\": {\r\n \"accountName\": \"virangai-test-vinhstagepitr-restore1\",\r\n \"apiType\": \"Sql\",\r\n \"creationTime\": \"2020-12-10T02:08:18Z\",\r\n \"restorableLocations\": [\r\n {\r\n \"locationName\": \"West US 2\",\r\n \"regionalDatabaseAccountInstanceId\": \"d4a86ba4-38f5-46ba-b0ae-724d5508b551\",\r\n \"creationTime\": \"2020-12-10T02:08:18Z\"\r\n }\r\n ]\r\n }\r\n },\r\n {\r\n \"name\": \"9373a8d7-1889-4be9-9ddb-e589e406d04b\",\r\n \"location\": \"West US 2\",\r\n \"type\": \"Microsoft.DocumentDB/locations/restorableDatabaseAccounts\",\r\n \"id\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/providers/Microsoft.DocumentDB/locations/westus2/restorableDatabaseAccounts/9373a8d7-1889-4be9-9ddb-e589e406d04b\",\r\n \"properties\": {\r\n \"accountName\": \"virangai-test-vinhstagepitr-restore2\",\r\n \"apiType\": \"Sql\",\r\n \"creationTime\": \"2020-12-10T03:12:31Z\",\r\n \"restorableLocations\": [\r\n {\r\n \"locationName\": \"West US 2\",\r\n \"regionalDatabaseAccountInstanceId\": \"c2374cdf-00cc-42e3-887e-4824532ff3e7\",\r\n \"creationTime\": \"2020-12-10T03:12:31Z\"\r\n }\r\n ]\r\n }\r\n },\r\n {\r\n \"name\": \"530b269d-274b-4987-94e1-f54b09abecff\",\r\n \"location\": \"West US 2\",\r\n \"type\": \"Microsoft.DocumentDB/locations/restorableDatabaseAccounts\",\r\n \"id\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/providers/Microsoft.DocumentDB/locations/westus2/restorableDatabaseAccounts/530b269d-274b-4987-94e1-f54b09abecff\",\r\n \"properties\": {\r\n \"accountName\": \"restoredaccountname637435832535194992\",\r\n \"apiType\": \"Sql\",\r\n \"creationTime\": \"2020-12-15T23:04:01Z\",\r\n \"restorableLocations\": [\r\n {\r\n \"locationName\": \"West US 2\",\r\n \"regionalDatabaseAccountInstanceId\": \"257c2c07-efcb-47b2-b696-6ba5ca9785b0\",\r\n \"creationTime\": \"2020-12-15T23:04:01Z\"\r\n }\r\n ]\r\n }\r\n },\r\n {\r\n \"name\": \"4993c7e8-c48b-4e45-9353-9baea1ce9e2a\",\r\n \"location\": \"West US 2\",\r\n \"type\": \"Microsoft.DocumentDB/locations/restorableDatabaseAccounts\",\r\n \"id\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/providers/Microsoft.DocumentDB/locations/westus2/restorableDatabaseAccounts/4993c7e8-c48b-4e45-9353-9baea1ce9e2a\",\r\n \"properties\": {\r\n \"accountName\": \"restoredaccountname359\",\r\n \"apiType\": \"Sql\",\r\n \"creationTime\": \"2020-12-16T00:51:06Z\",\r\n \"restorableLocations\": [\r\n {\r\n \"locationName\": \"West US 2\",\r\n \"regionalDatabaseAccountInstanceId\": \"f964f331-3322-4719-946a-a8f4e406ca14\",\r\n \"creationTime\": \"2020-12-16T00:51:06Z\"\r\n }\r\n ]\r\n }\r\n },\r\n {\r\n \"name\": \"d673eaa8-f7fa-421f-9d61-ba314864a431\",\r\n \"location\": \"West US 2\",\r\n \"type\": \"Microsoft.DocumentDB/locations/restorableDatabaseAccounts\",\r\n \"id\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/providers/Microsoft.DocumentDB/locations/westus2/restorableDatabaseAccounts/d673eaa8-f7fa-421f-9d61-ba314864a431\",\r\n \"properties\": {\r\n \"accountName\": \"pitr-sql-stage-restored-from-new-portal\",\r\n \"apiType\": \"Sql\",\r\n \"creationTime\": \"2021-01-05T00:28:34Z\",\r\n \"restorableLocations\": [\r\n {\r\n \"locationName\": \"West US 2\",\r\n \"regionalDatabaseAccountInstanceId\": \"a09d2f05-b90f-4a76-96c5-ef49edadbbae\",\r\n \"creationTime\": \"2021-01-05T00:28:34Z\"\r\n }\r\n ]\r\n }\r\n },\r\n {\r\n \"name\": \"6d6384ae-d623-4323-8388-65ca7df02733\",\r\n \"location\": \"West US 2\",\r\n \"type\": \"Microsoft.DocumentDB/locations/restorableDatabaseAccounts\",\r\n \"id\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/providers/Microsoft.DocumentDB/locations/westus2/restorableDatabaseAccounts/6d6384ae-d623-4323-8388-65ca7df02733\",\r\n \"properties\": {\r\n \"accountName\": \"pitrtest1-res1\",\r\n \"apiType\": \"Sql\",\r\n \"creationTime\": \"2021-01-05T23:45:55Z\",\r\n \"restorableLocations\": [\r\n {\r\n \"locationName\": \"West US 2\",\r\n \"regionalDatabaseAccountInstanceId\": \"2b92bb0a-1fa9-43c2-b8a7-b25d209d25c1\",\r\n \"creationTime\": \"2021-01-05T23:45:55Z\"\r\n }\r\n ]\r\n }\r\n },\r\n {\r\n \"name\": \"0bcf9a9b-1ca1-4406-9652-aa087d5f0b3f\",\r\n \"location\": \"West US 2\",\r\n \"type\": \"Microsoft.DocumentDB/locations/restorableDatabaseAccounts\",\r\n \"id\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/providers/Microsoft.DocumentDB/locations/westus2/restorableDatabaseAccounts/0bcf9a9b-1ca1-4406-9652-aa087d5f0b3f\",\r\n \"properties\": {\r\n \"accountName\": \"pitrtest1-res2\",\r\n \"apiType\": \"Sql\",\r\n \"creationTime\": \"2021-01-05T23:46:37Z\",\r\n \"restorableLocations\": [\r\n {\r\n \"locationName\": \"West US 2\",\r\n \"regionalDatabaseAccountInstanceId\": \"d666fcfb-319c-4c5d-a2b8-27ae6cc9233f\",\r\n \"creationTime\": \"2021-01-05T23:46:37Z\"\r\n }\r\n ]\r\n }\r\n },\r\n {\r\n \"name\": \"b15e30f1-4e37-4fca-b77b-303516959017\",\r\n \"location\": \"West US 2\",\r\n \"type\": \"Microsoft.DocumentDB/locations/restorableDatabaseAccounts\",\r\n \"id\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/providers/Microsoft.DocumentDB/locations/westus2/restorableDatabaseAccounts/b15e30f1-4e37-4fca-b77b-303516959017\",\r\n \"properties\": {\r\n \"accountName\": \"test-virangai-vinhstagepitr-1\",\r\n \"apiType\": \"Sql\",\r\n \"creationTime\": \"2021-01-06T09:24:07Z\",\r\n \"restorableLocations\": [\r\n {\r\n \"locationName\": \"West US 2\",\r\n \"regionalDatabaseAccountInstanceId\": \"8203b929-83ed-496a-8e6b-8a291aba9a32\",\r\n \"creationTime\": \"2021-01-06T09:24:07Z\"\r\n }\r\n ]\r\n }\r\n },\r\n {\r\n \"name\": \"617f5c88-2a93-45b4-be38-0cd7addea976\",\r\n \"location\": \"West US 2\",\r\n \"type\": \"Microsoft.DocumentDB/locations/restorableDatabaseAccounts\",\r\n \"id\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/providers/Microsoft.DocumentDB/locations/westus2/restorableDatabaseAccounts/617f5c88-2a93-45b4-be38-0cd7addea976\",\r\n \"properties\": {\r\n \"accountName\": \"test-virangai-vinhstagepitr-2\",\r\n \"apiType\": \"Sql\",\r\n \"creationTime\": \"2021-01-06T09:33:06Z\",\r\n \"restorableLocations\": [\r\n {\r\n \"locationName\": \"West US 2\",\r\n \"regionalDatabaseAccountInstanceId\": \"e54058dc-c9ec-4393-9b62-3c4a764d9dda\",\r\n \"creationTime\": \"2021-01-06T09:33:06Z\"\r\n }\r\n ]\r\n }\r\n },\r\n {\r\n \"name\": \"2eecc23f-69df-4de3-9103-b6ca529536a4\",\r\n \"location\": \"West US 2\",\r\n \"type\": \"Microsoft.DocumentDB/locations/restorableDatabaseAccounts\",\r\n \"id\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/providers/Microsoft.DocumentDB/locations/westus2/restorableDatabaseAccounts/2eecc23f-69df-4de3-9103-b6ca529536a4\",\r\n \"properties\": {\r\n \"accountName\": \"test-restore-4\",\r\n \"apiType\": \"Sql\",\r\n \"creationTime\": \"2021-01-07T01:23:39Z\",\r\n \"restorableLocations\": [\r\n {\r\n \"locationName\": \"West US 2\",\r\n \"regionalDatabaseAccountInstanceId\": \"80c0209c-f89b-41b6-8cc2-5edad302caaf\",\r\n \"creationTime\": \"2021-01-07T01:23:39Z\"\r\n }\r\n ]\r\n }\r\n },\r\n {\r\n \"name\": \"d91e1ad2-22b0-401e-b465-a16e5928e194\",\r\n \"location\": \"West US 2\",\r\n \"type\": \"Microsoft.DocumentDB/locations/restorableDatabaseAccounts\",\r\n \"id\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/providers/Microsoft.DocumentDB/locations/westus2/restorableDatabaseAccounts/d91e1ad2-22b0-401e-b465-a16e5928e194\",\r\n \"properties\": {\r\n \"accountName\": \"test-restore5\",\r\n \"apiType\": \"Sql\",\r\n \"creationTime\": \"2021-01-07T01:23:40Z\",\r\n \"restorableLocations\": [\r\n {\r\n \"locationName\": \"West US 2\",\r\n \"regionalDatabaseAccountInstanceId\": \"793334c5-2123-41a5-a382-7b5aade5bb82\",\r\n \"creationTime\": \"2021-01-07T01:23:40Z\"\r\n }\r\n ]\r\n }\r\n },\r\n {\r\n \"name\": \"132908b6-2701-44a5-bdbe-a7c296e26283\",\r\n \"location\": \"West US 2\",\r\n \"type\": \"Microsoft.DocumentDB/locations/restorableDatabaseAccounts\",\r\n \"id\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/providers/Microsoft.DocumentDB/locations/westus2/restorableDatabaseAccounts/132908b6-2701-44a5-bdbe-a7c296e26283\",\r\n \"properties\": {\r\n \"accountName\": \"test-restore6\",\r\n \"apiType\": \"Sql\",\r\n \"creationTime\": \"2021-01-07T03:18:46Z\",\r\n \"restorableLocations\": [\r\n {\r\n \"locationName\": \"West US 2\",\r\n \"regionalDatabaseAccountInstanceId\": \"a8bcc661-cdd0-4fb6-b011-ce4fb922930d\",\r\n \"creationTime\": \"2021-01-07T03:18:46Z\"\r\n }\r\n ]\r\n }\r\n },\r\n {\r\n \"name\": \"2ab6f2d2-ce7e-439b-90b3-5505c8f9ff76\",\r\n \"location\": \"West US 2\",\r\n \"type\": \"Microsoft.DocumentDB/locations/restorableDatabaseAccounts\",\r\n \"id\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/providers/Microsoft.DocumentDB/locations/westus2/restorableDatabaseAccounts/2ab6f2d2-ce7e-439b-90b3-5505c8f9ff76\",\r\n \"properties\": {\r\n \"accountName\": \"pitr-sql-stage-source-personalrestore-greeen\",\r\n \"apiType\": \"Sql\",\r\n \"creationTime\": \"2021-01-15T22:51:59Z\",\r\n \"restorableLocations\": [\r\n {\r\n \"locationName\": \"West US 2\",\r\n \"regionalDatabaseAccountInstanceId\": \"8b3376be-21d5-43db-ad08-7fa9e3f3ad5b\",\r\n \"creationTime\": \"2021-01-15T22:51:59Z\"\r\n }\r\n ]\r\n }\r\n },\r\n {\r\n \"name\": \"483d93e5-302b-4093-9502-ce63d416e70f\",\r\n \"location\": \"West US 2\",\r\n \"type\": \"Microsoft.DocumentDB/locations/restorableDatabaseAccounts\",\r\n \"id\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/providers/Microsoft.DocumentDB/locations/westus2/restorableDatabaseAccounts/483d93e5-302b-4093-9502-ce63d416e70f\",\r\n \"properties\": {\r\n \"accountName\": \"targetacctrestore\",\r\n \"apiType\": \"Sql\",\r\n \"creationTime\": \"2021-02-18T18:30:14Z\",\r\n \"restorableLocations\": [\r\n {\r\n \"locationName\": \"West US 2\",\r\n \"regionalDatabaseAccountInstanceId\": \"cb6a3895-5ded-43ee-a6a8-91d9050f5582\",\r\n \"creationTime\": \"2021-02-18T18:30:14Z\"\r\n }\r\n ]\r\n }\r\n },\r\n {\r\n \"name\": \"74e9ac09-75d3-448a-a128-e71866b42e95\",\r\n \"location\": \"West US 2\",\r\n \"type\": \"Microsoft.DocumentDB/locations/restorableDatabaseAccounts\",\r\n \"id\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/providers/Microsoft.DocumentDB/locations/westus2/restorableDatabaseAccounts/74e9ac09-75d3-448a-a128-e71866b42e95\",\r\n \"properties\": {\r\n \"accountName\": \"virangai-test-vinhstagepitr-res\",\r\n \"apiType\": \"Sql\",\r\n \"creationTime\": \"2021-02-26T22:14:50Z\",\r\n \"restorableLocations\": [\r\n {\r\n \"locationName\": \"West US 2\",\r\n \"regionalDatabaseAccountInstanceId\": \"40e6110d-0ae4-4e40-9d6e-33014540e179\",\r\n \"creationTime\": \"2021-02-26T22:14:50Z\"\r\n }\r\n ]\r\n }\r\n },\r\n {\r\n \"name\": \"24f3f6b6-9d96-4dc2-84b9-ae1c0cba8d4e\",\r\n \"location\": \"West US 2\",\r\n \"type\": \"Microsoft.DocumentDB/locations/restorableDatabaseAccounts\",\r\n \"id\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/providers/Microsoft.DocumentDB/locations/westus2/restorableDatabaseAccounts/24f3f6b6-9d96-4dc2-84b9-ae1c0cba8d4e\",\r\n \"properties\": {\r\n \"accountName\": \"restoredaccountname8240\",\r\n \"apiType\": \"Sql\",\r\n \"creationTime\": \"2021-03-02T23:44:13Z\",\r\n \"restorableLocations\": [\r\n {\r\n \"locationName\": \"West US 2\",\r\n \"regionalDatabaseAccountInstanceId\": \"c2df5fa4-a593-48f2-8417-9f5f4bb9ef56\",\r\n \"creationTime\": \"2021-03-02T23:44:13Z\"\r\n }\r\n ]\r\n }\r\n },\r\n {\r\n \"name\": \"f319c2f4-7e68-48c0-9eac-94e12fb51179\",\r\n \"location\": \"West US 2\",\r\n \"type\": \"Microsoft.DocumentDB/locations/restorableDatabaseAccounts\",\r\n \"id\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/providers/Microsoft.DocumentDB/locations/westus2/restorableDatabaseAccounts/f319c2f4-7e68-48c0-9eac-94e12fb51179\",\r\n \"properties\": {\r\n \"accountName\": \"restoredaccountname320\",\r\n \"apiType\": \"Sql\",\r\n \"creationTime\": \"2021-03-03T00:59:34Z\",\r\n \"restorableLocations\": [\r\n {\r\n \"locationName\": \"West US 2\",\r\n \"regionalDatabaseAccountInstanceId\": \"005c7a8b-fffd-4106-a2f5-0b4f58b1942a\",\r\n \"creationTime\": \"2021-03-03T00:59:34Z\"\r\n }\r\n ]\r\n }\r\n },\r\n {\r\n \"name\": \"672e89ce-0096-4a87-8131-3d2d5d483a3a\",\r\n \"location\": \"West US 2\",\r\n \"type\": \"Microsoft.DocumentDB/locations/restorableDatabaseAccounts\",\r\n \"id\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/providers/Microsoft.DocumentDB/locations/westus2/restorableDatabaseAccounts/672e89ce-0096-4a87-8131-3d2d5d483a3a\",\r\n \"properties\": {\r\n \"accountName\": \"restoredaccountname6982\",\r\n \"apiType\": \"Sql\",\r\n \"creationTime\": \"2021-03-03T02:34:06Z\",\r\n \"restorableLocations\": [\r\n {\r\n \"locationName\": \"West US 2\",\r\n \"regionalDatabaseAccountInstanceId\": \"f30afdfa-9473-4658-83c4-5067be2232db\",\r\n \"creationTime\": \"2021-03-03T02:34:06Z\"\r\n }\r\n ]\r\n }\r\n },\r\n {\r\n \"name\": \"4d0ae23d-5661-4c5a-ae37-48aa6308425b\",\r\n \"location\": \"West US 2\",\r\n \"type\": \"Microsoft.DocumentDB/locations/restorableDatabaseAccounts\",\r\n \"id\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/providers/Microsoft.DocumentDB/locations/westus2/restorableDatabaseAccounts/4d0ae23d-5661-4c5a-ae37-48aa6308425b\",\r\n \"properties\": {\r\n \"accountName\": \"stage-validation-pitr-test0\",\r\n \"apiType\": \"Sql\",\r\n \"creationTime\": \"2021-02-10T07:55:12Z\",\r\n \"deletionTime\": \"2021-02-10T14:21:37Z\",\r\n \"restorableLocations\": [\r\n {\r\n \"locationName\": \"West US 2\",\r\n \"regionalDatabaseAccountInstanceId\": \"26d7f01f-3f0c-4eb6-80a2-f5776f929f12\",\r\n \"creationTime\": \"2021-02-10T07:55:13Z\",\r\n \"deletionTime\": \"2021-02-10T14:21:37Z\"\r\n }\r\n ]\r\n }\r\n },\r\n {\r\n \"name\": \"c26d3f43-7363-4c54-940a-bde0e96bda72\",\r\n \"location\": \"East US 2\",\r\n \"type\": \"Microsoft.DocumentDB/locations/restorableDatabaseAccounts\",\r\n \"id\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/providers/Microsoft.DocumentDB/locations/eastus2/restorableDatabaseAccounts/c26d3f43-7363-4c54-940a-bde0e96bda72\",\r\n \"properties\": {\r\n \"accountName\": \"db1024-restored\",\r\n \"apiType\": \"Sql\",\r\n \"creationTime\": \"2020-08-14T01:17:36Z\",\r\n \"restorableLocations\": [\r\n {\r\n \"locationName\": \"East US 2\",\r\n \"regionalDatabaseAccountInstanceId\": \"eca195d4-fcaa-4d5f-b01b-20f61f01319f\",\r\n \"creationTime\": \"2020-08-14T01:17:36Z\"\r\n }\r\n ]\r\n }\r\n },\r\n {\r\n \"name\": \"d8974ca8-8f69-4924-9040-c10b7f30524b\",\r\n \"location\": \"East US 2\",\r\n \"type\": \"Microsoft.DocumentDB/locations/restorableDatabaseAccounts\",\r\n \"id\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/providers/Microsoft.DocumentDB/locations/eastus2/restorableDatabaseAccounts/d8974ca8-8f69-4924-9040-c10b7f30524b\",\r\n \"properties\": {\r\n \"accountName\": \"restoredaccountname9746\",\r\n \"apiType\": \"Sql\",\r\n \"creationTime\": \"2020-07-21T18:55:14Z\",\r\n \"restorableLocations\": [\r\n {\r\n \"locationName\": \"East US 2\",\r\n \"regionalDatabaseAccountInstanceId\": \"775c4324-cba7-4eb3-a8ee-5e1921f7f57b\",\r\n \"creationTime\": \"2020-07-21T18:55:14Z\"\r\n }\r\n ]\r\n }\r\n },\r\n {\r\n \"name\": \"aca7d453-88a9-4bf2-8abc-46d21553638f\",\r\n \"location\": \"East US 2\",\r\n \"type\": \"Microsoft.DocumentDB/locations/restorableDatabaseAccounts\",\r\n \"id\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/providers/Microsoft.DocumentDB/locations/eastus2/restorableDatabaseAccounts/aca7d453-88a9-4bf2-8abc-46d21553638f\",\r\n \"properties\": {\r\n \"accountName\": \"db1024\",\r\n \"apiType\": \"Sql\",\r\n \"creationTime\": \"2020-07-21T18:19:37Z\",\r\n \"restorableLocations\": [\r\n {\r\n \"locationName\": \"East US 2\",\r\n \"regionalDatabaseAccountInstanceId\": \"a926c9e8-3179-4774-bc1e-fb866407b7db\",\r\n \"creationTime\": \"2020-07-21T18:19:38Z\"\r\n }\r\n ]\r\n }\r\n },\r\n {\r\n \"name\": \"a54115d5-4356-4771-b7b0-20f475ce5a38\",\r\n \"location\": \"East US 2\",\r\n \"type\": \"Microsoft.DocumentDB/locations/restorableDatabaseAccounts\",\r\n \"id\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/providers/Microsoft.DocumentDB/locations/eastus2/restorableDatabaseAccounts/a54115d5-4356-4771-b7b0-20f475ce5a38\",\r\n \"properties\": {\r\n \"accountName\": \"stage-pitr-validation-source\",\r\n \"apiType\": \"Sql\",\r\n \"creationTime\": \"2020-08-13T23:51:16Z\",\r\n \"restorableLocations\": [\r\n {\r\n \"locationName\": \"East US 2\",\r\n \"regionalDatabaseAccountInstanceId\": \"d9b09727-2a45-4760-a837-3366c1187358\",\r\n \"creationTime\": \"2020-08-13T23:51:17Z\"\r\n },\r\n {\r\n \"locationName\": \"West US 2\",\r\n \"regionalDatabaseAccountInstanceId\": \"72ee099a-9209-4fe4-aeb2-8f4954f25eba\",\r\n \"creationTime\": \"2020-08-28T18:50:30Z\"\r\n },\r\n {\r\n \"locationName\": \"Southeast Asia\",\r\n \"regionalDatabaseAccountInstanceId\": \"e5abbaa4-031a-451a-b041-76c6bcd93fa9\",\r\n \"creationTime\": \"2021-02-08T19:29:22Z\"\r\n }\r\n ]\r\n }\r\n },\r\n {\r\n \"name\": \"bb3e3c48-18d8-46e8-b294-41d9406885c5\",\r\n \"location\": \"East US 2\",\r\n \"type\": \"Microsoft.DocumentDB/locations/restorableDatabaseAccounts\",\r\n \"id\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/providers/Microsoft.DocumentDB/locations/eastus2/restorableDatabaseAccounts/bb3e3c48-18d8-46e8-b294-41d9406885c5\",\r\n \"properties\": {\r\n \"accountName\": \"test-virangai-cont123\",\r\n \"apiType\": \"Sql\",\r\n \"creationTime\": \"2020-08-05T20:32:27Z\",\r\n \"restorableLocations\": [\r\n {\r\n \"locationName\": \"East US 2\",\r\n \"regionalDatabaseAccountInstanceId\": \"2355946d-5d79-4cc4-a521-3a302a9bff85\",\r\n \"creationTime\": \"2020-08-05T20:32:27Z\"\r\n }\r\n ]\r\n }\r\n },\r\n {\r\n \"name\": \"55083b96-b985-4dec-92df-fa0ac98443f1\",\r\n \"location\": \"East US 2\",\r\n \"type\": \"Microsoft.DocumentDB/locations/restorableDatabaseAccounts\",\r\n \"id\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/providers/Microsoft.DocumentDB/locations/eastus2/restorableDatabaseAccounts/55083b96-b985-4dec-92df-fa0ac98443f1\",\r\n \"properties\": {\r\n \"accountName\": \"selvitest-account\",\r\n \"apiType\": \"Sql\",\r\n \"creationTime\": \"2020-07-23T16:18:43Z\",\r\n \"restorableLocations\": [\r\n {\r\n \"locationName\": \"East US 2\",\r\n \"regionalDatabaseAccountInstanceId\": \"787a81fe-fb41-40da-8b69-a9e18966b4e3\",\r\n \"creationTime\": \"2020-07-23T16:18:43Z\"\r\n }\r\n ]\r\n }\r\n },\r\n {\r\n \"name\": \"ec72f021-4974-405a-8c78-f74207ff0e12\",\r\n \"location\": \"East US 2\",\r\n \"type\": \"Microsoft.DocumentDB/locations/restorableDatabaseAccounts\",\r\n \"id\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/providers/Microsoft.DocumentDB/locations/eastus2/restorableDatabaseAccounts/ec72f021-4974-405a-8c78-f74207ff0e12\",\r\n \"properties\": {\r\n \"accountName\": \"selvitest-account-destinationforrestore\",\r\n \"apiType\": \"Sql\",\r\n \"creationTime\": \"2020-07-23T17:39:58Z\",\r\n \"restorableLocations\": [\r\n {\r\n \"locationName\": \"East US 2\",\r\n \"regionalDatabaseAccountInstanceId\": \"11f925e4-b48d-4d16-9ad2-209d1056ec9c\",\r\n \"creationTime\": \"2020-07-23T17:39:58Z\"\r\n }\r\n ]\r\n }\r\n },\r\n {\r\n \"name\": \"17783e6d-0e28-41e2-b086-9d17763f1d51\",\r\n \"location\": \"East US 2\",\r\n \"type\": \"Microsoft.DocumentDB/locations/restorableDatabaseAccounts\",\r\n \"id\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/providers/Microsoft.DocumentDB/locations/eastus2/restorableDatabaseAccounts/17783e6d-0e28-41e2-b086-9d17763f1d51\",\r\n \"properties\": {\r\n \"accountName\": \"virangai-test-bk-cont\",\r\n \"apiType\": \"Sql\",\r\n \"creationTime\": \"2020-07-28T22:09:24Z\",\r\n \"restorableLocations\": [\r\n {\r\n \"locationName\": \"East US 2\",\r\n \"regionalDatabaseAccountInstanceId\": \"f74e094e-9b1d-4e16-82b6-a57782f1d187\",\r\n \"creationTime\": \"2020-07-28T22:09:24Z\"\r\n }\r\n ]\r\n }\r\n },\r\n {\r\n \"name\": \"2d90bc37-cd54-4352-9e57-e6aa3f22d494\",\r\n \"location\": \"East US 2\",\r\n \"type\": \"Microsoft.DocumentDB/locations/restorableDatabaseAccounts\",\r\n \"id\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/providers/Microsoft.DocumentDB/locations/eastus2/restorableDatabaseAccounts/2d90bc37-cd54-4352-9e57-e6aa3f22d494\",\r\n \"properties\": {\r\n \"accountName\": \"selvitest-account-destinationforrestorev2\",\r\n \"apiType\": \"Sql\",\r\n \"creationTime\": \"2020-07-23T17:41:22Z\",\r\n \"restorableLocations\": [\r\n {\r\n \"locationName\": \"East US 2\",\r\n \"regionalDatabaseAccountInstanceId\": \"e1dfecef-45cb-4c70-bbd5-393eb3774821\",\r\n \"creationTime\": \"2020-07-23T17:41:22Z\"\r\n }\r\n ]\r\n }\r\n },\r\n {\r\n \"name\": \"b0c8684b-7f9c-45fe-8ab9-2a74b656867e\",\r\n \"location\": \"East US 2\",\r\n \"type\": \"Microsoft.DocumentDB/locations/restorableDatabaseAccounts\",\r\n \"id\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/providers/Microsoft.DocumentDB/locations/eastus2/restorableDatabaseAccounts/b0c8684b-7f9c-45fe-8ab9-2a74b656867e\",\r\n \"properties\": {\r\n \"accountName\": \"restoredaccountname637428812785768088\",\r\n \"apiType\": \"Sql\",\r\n \"creationTime\": \"2020-12-07T20:03:41Z\",\r\n \"restorableLocations\": [\r\n {\r\n \"locationName\": \"East US 2\",\r\n \"regionalDatabaseAccountInstanceId\": \"59294929-189f-4f8b-af35-740fc0fba9f0\",\r\n \"creationTime\": \"2020-12-07T20:03:41Z\"\r\n }\r\n ]\r\n }\r\n },\r\n {\r\n \"name\": \"eadac7e2-61f0-4e07-aaa1-9dbb495ec5a8\",\r\n \"location\": \"East US 2\",\r\n \"type\": \"Microsoft.DocumentDB/locations/restorableDatabaseAccounts\",\r\n \"id\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/providers/Microsoft.DocumentDB/locations/eastus2/restorableDatabaseAccounts/eadac7e2-61f0-4e07-aaa1-9dbb495ec5a8\",\r\n \"properties\": {\r\n \"accountName\": \"pitr-mongo32-stage-source\",\r\n \"apiType\": \"MongoDB\",\r\n \"creationTime\": \"2020-12-07T21:23:56Z\",\r\n \"restorableLocations\": [\r\n {\r\n \"locationName\": \"East US 2\",\r\n \"regionalDatabaseAccountInstanceId\": \"49174788-8512-4a01-a3ca-38c7857a2635\",\r\n \"creationTime\": \"2020-12-07T21:23:56Z\"\r\n },\r\n {\r\n \"locationName\": \"West US 2\",\r\n \"regionalDatabaseAccountInstanceId\": \"921dbaed-a5bd-462d-8351-d0eda5e592c0\",\r\n \"creationTime\": \"2020-12-08T23:28:45Z\"\r\n }\r\n ]\r\n }\r\n },\r\n {\r\n \"name\": \"25a04cf0-89d4-4546-9c30-14d1dc8899df\",\r\n \"location\": \"East US 2\",\r\n \"type\": \"Microsoft.DocumentDB/locations/restorableDatabaseAccounts\",\r\n \"id\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/providers/Microsoft.DocumentDB/locations/eastus2/restorableDatabaseAccounts/25a04cf0-89d4-4546-9c30-14d1dc8899df\",\r\n \"properties\": {\r\n \"accountName\": \"pitr-mongo36-stage-source\",\r\n \"apiType\": \"MongoDB\",\r\n \"creationTime\": \"2020-12-07T21:35:24Z\",\r\n \"restorableLocations\": [\r\n {\r\n \"locationName\": \"East US 2\",\r\n \"regionalDatabaseAccountInstanceId\": \"b52d5178-bc7b-4b2b-a05e-9d3dba85e7fd\",\r\n \"creationTime\": \"2020-12-07T21:35:24Z\"\r\n },\r\n {\r\n \"locationName\": \"West US 2\",\r\n \"regionalDatabaseAccountInstanceId\": \"b0f33c79-f7b2-421f-9e94-699b0f8c840a\",\r\n \"creationTime\": \"2020-12-08T22:02:23Z\"\r\n }\r\n ]\r\n }\r\n },\r\n {\r\n \"name\": \"345c785a-e758-4f8b-94d4-0a1259f4f85b\",\r\n \"location\": \"East US 2\",\r\n \"type\": \"Microsoft.DocumentDB/locations/restorableDatabaseAccounts\",\r\n \"id\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/providers/Microsoft.DocumentDB/locations/eastus2/restorableDatabaseAccounts/345c785a-e758-4f8b-94d4-0a1259f4f85b\",\r\n \"properties\": {\r\n \"accountName\": \"nichatur-restore-test\",\r\n \"apiType\": \"Sql\",\r\n \"creationTime\": \"2020-12-07T23:33:57Z\",\r\n \"restorableLocations\": [\r\n {\r\n \"locationName\": \"East US 2\",\r\n \"regionalDatabaseAccountInstanceId\": \"94eeb20d-16d0-4ee1-ae6a-7f2a0332a1d5\",\r\n \"creationTime\": \"2020-12-07T23:33:57Z\"\r\n }\r\n ]\r\n }\r\n },\r\n {\r\n \"name\": \"605db505-9267-4cf0-b7ac-27ef644b2ef3\",\r\n \"location\": \"East US 2\",\r\n \"type\": \"Microsoft.DocumentDB/locations/restorableDatabaseAccounts\",\r\n \"id\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/providers/Microsoft.DocumentDB/locations/eastus2/restorableDatabaseAccounts/605db505-9267-4cf0-b7ac-27ef644b2ef3\",\r\n \"properties\": {\r\n \"accountName\": \"nichatur-restore-test-r1\",\r\n \"apiType\": \"Sql\",\r\n \"creationTime\": \"2020-12-07T23:57:59Z\",\r\n \"restorableLocations\": [\r\n {\r\n \"locationName\": \"East US 2\",\r\n \"regionalDatabaseAccountInstanceId\": \"71a2cff6-7e90-43a5-b261-b704fbfaf100\",\r\n \"creationTime\": \"2020-12-07T23:57:59Z\"\r\n }\r\n ]\r\n }\r\n },\r\n {\r\n \"name\": \"0d00d699-017a-4a76-8639-ab4bec82c5f2\",\r\n \"location\": \"East US 2\",\r\n \"type\": \"Microsoft.DocumentDB/locations/restorableDatabaseAccounts\",\r\n \"id\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/providers/Microsoft.DocumentDB/locations/eastus2/restorableDatabaseAccounts/0d00d699-017a-4a76-8639-ab4bec82c5f2\",\r\n \"properties\": {\r\n \"accountName\": \"restoredaccountname637428989095532319\",\r\n \"apiType\": \"Sql\",\r\n \"creationTime\": \"2020-12-08T00:57:52Z\",\r\n \"restorableLocations\": [\r\n {\r\n \"locationName\": \"East US 2\",\r\n \"regionalDatabaseAccountInstanceId\": \"7c0454e1-f718-48fe-894a-35182a8440d2\",\r\n \"creationTime\": \"2020-12-08T00:57:52Z\"\r\n }\r\n ]\r\n }\r\n },\r\n {\r\n \"name\": \"73d1010d-f0b7-4673-b8c0-18ddecdcda06\",\r\n \"location\": \"East US 2\",\r\n \"type\": \"Microsoft.DocumentDB/locations/restorableDatabaseAccounts\",\r\n \"id\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/providers/Microsoft.DocumentDB/locations/eastus2/restorableDatabaseAccounts/73d1010d-f0b7-4673-b8c0-18ddecdcda06\",\r\n \"properties\": {\r\n \"accountName\": \"nichatur-restore-test-r2\",\r\n \"apiType\": \"Sql\",\r\n \"creationTime\": \"2020-12-08T22:03:14Z\",\r\n \"restorableLocations\": [\r\n {\r\n \"locationName\": \"East US 2\",\r\n \"regionalDatabaseAccountInstanceId\": \"c6b5a1f6-2215-49be-9277-aeff5723ab4c\",\r\n \"creationTime\": \"2020-12-08T22:03:14Z\"\r\n }\r\n ]\r\n }\r\n },\r\n {\r\n \"name\": \"d1535f84-06b5-497b-8768-962ece984001\",\r\n \"location\": \"East US 2\",\r\n \"type\": \"Microsoft.DocumentDB/locations/restorableDatabaseAccounts\",\r\n \"id\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/providers/Microsoft.DocumentDB/locations/eastus2/restorableDatabaseAccounts/d1535f84-06b5-497b-8768-962ece984001\",\r\n \"properties\": {\r\n \"accountName\": \"kal-restore-test\",\r\n \"apiType\": \"Sql\",\r\n \"creationTime\": \"2021-01-15T21:58:32Z\",\r\n \"restorableLocations\": [\r\n {\r\n \"locationName\": \"West US 2\",\r\n \"regionalDatabaseAccountInstanceId\": \"f4b8377d-89b3-41dd-9892-79bfbc4d523c\",\r\n \"creationTime\": \"2021-01-15T21:58:32Z\"\r\n }\r\n ]\r\n }\r\n },\r\n {\r\n \"name\": \"9351dd2e-d901-465b-98cb-a74a3aabd49f\",\r\n \"location\": \"East US 2\",\r\n \"type\": \"Microsoft.DocumentDB/locations/restorableDatabaseAccounts\",\r\n \"id\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/providers/Microsoft.DocumentDB/locations/eastus2/restorableDatabaseAccounts/9351dd2e-d901-465b-98cb-a74a3aabd49f\",\r\n \"properties\": {\r\n \"accountName\": \"pitr-unique-mode-source\",\r\n \"apiType\": \"Sql\",\r\n \"creationTime\": \"2021-02-03T19:53:25Z\",\r\n \"restorableLocations\": [\r\n {\r\n \"locationName\": \"East US 2\",\r\n \"regionalDatabaseAccountInstanceId\": \"b5ee0cb6-20df-4132-8378-3d2b2bb477f8\",\r\n \"creationTime\": \"2021-02-03T19:53:26Z\"\r\n }\r\n ]\r\n }\r\n },\r\n {\r\n \"name\": \"222da8e2-da07-46db-9cd2-51a2efb84b9f\",\r\n \"location\": \"East US 2\",\r\n \"type\": \"Microsoft.DocumentDB/locations/restorableDatabaseAccounts\",\r\n \"id\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/providers/Microsoft.DocumentDB/locations/eastus2/restorableDatabaseAccounts/222da8e2-da07-46db-9cd2-51a2efb84b9f\",\r\n \"properties\": {\r\n \"accountName\": \"pitr-unique-mode-restored\",\r\n \"apiType\": \"Sql\",\r\n \"creationTime\": \"2021-02-03T20:07:50Z\",\r\n \"restorableLocations\": [\r\n {\r\n \"locationName\": \"East US 2\",\r\n \"regionalDatabaseAccountInstanceId\": \"094b572d-52f6-47bc-92c3-a692588ef6d6\",\r\n \"creationTime\": \"2021-02-03T20:07:50Z\"\r\n }\r\n ]\r\n }\r\n },\r\n {\r\n \"name\": \"19e4130a-cb83-4a34-85c2-e35dcda149f8\",\r\n \"location\": \"East US 2\",\r\n \"type\": \"Microsoft.DocumentDB/locations/restorableDatabaseAccounts\",\r\n \"id\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/providers/Microsoft.DocumentDB/locations/eastus2/restorableDatabaseAccounts/19e4130a-cb83-4a34-85c2-e35dcda149f8\",\r\n \"properties\": {\r\n \"accountName\": \"stage-validation-m\",\r\n \"apiType\": \"MongoDB\",\r\n \"creationTime\": \"2021-02-05T04:08:10Z\",\r\n \"restorableLocations\": [\r\n {\r\n \"locationName\": \"East US 2\",\r\n \"regionalDatabaseAccountInstanceId\": \"3f97305a-6a6b-4b38-b200-bea92d78f64a\",\r\n \"creationTime\": \"2021-02-05T04:08:11Z\"\r\n },\r\n {\r\n \"locationName\": \"West US 2\",\r\n \"regionalDatabaseAccountInstanceId\": \"7cf7aaa4-fe00-48fa-820b-cc632feaa9d7\",\r\n \"creationTime\": \"2021-02-05T04:29:43Z\"\r\n }\r\n ]\r\n }\r\n },\r\n {\r\n \"name\": \"5939cc7f-0bdd-4790-9ac6-a3b281c64f97\",\r\n \"location\": \"East US 2\",\r\n \"type\": \"Microsoft.DocumentDB/locations/restorableDatabaseAccounts\",\r\n \"id\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/providers/Microsoft.DocumentDB/locations/eastus2/restorableDatabaseAccounts/5939cc7f-0bdd-4790-9ac6-a3b281c64f97\",\r\n \"properties\": {\r\n \"accountName\": \"multiregion-pitr-billing-test\",\r\n \"apiType\": \"Sql\",\r\n \"creationTime\": \"2021-02-19T00:20:18Z\",\r\n \"restorableLocations\": [\r\n {\r\n \"locationName\": \"Southeast Asia\",\r\n \"regionalDatabaseAccountInstanceId\": \"0018e6e6-170f-4e25-b1a5-97e718138e0c\",\r\n \"creationTime\": \"2021-02-19T00:20:18Z\"\r\n },\r\n {\r\n \"locationName\": \"West US 2\",\r\n \"regionalDatabaseAccountInstanceId\": \"e235a61e-abf7-4e95-bfc2-0e4aa649b874\",\r\n \"creationTime\": \"2021-02-19T00:33:52Z\"\r\n }\r\n ]\r\n }\r\n },\r\n {\r\n \"name\": \"96aa7f5a-5292-44f3-9d3e-bec163b0de1a\",\r\n \"location\": \"East US 2\",\r\n \"type\": \"Microsoft.DocumentDB/locations/restorableDatabaseAccounts\",\r\n \"id\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/providers/Microsoft.DocumentDB/locations/eastus2/restorableDatabaseAccounts/96aa7f5a-5292-44f3-9d3e-bec163b0de1a\",\r\n \"properties\": {\r\n \"accountName\": \"restore-pitr-mongo32-stage-source\",\r\n \"apiType\": \"MongoDB\",\r\n \"creationTime\": \"2021-02-26T18:11:04Z\",\r\n \"restorableLocations\": [\r\n {\r\n \"locationName\": \"East US 2\",\r\n \"regionalDatabaseAccountInstanceId\": \"8c350d54-e45d-4ef7-af55-9f07dc4fe594\",\r\n \"creationTime\": \"2021-02-26T18:11:04Z\"\r\n }\r\n ]\r\n }\r\n },\r\n {\r\n \"name\": \"c02d9298-7cdb-440f-a16b-0dc3c97d6cde\",\r\n \"location\": \"East US 2\",\r\n \"type\": \"Microsoft.DocumentDB/locations/restorableDatabaseAccounts\",\r\n \"id\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/providers/Microsoft.DocumentDB/locations/eastus2/restorableDatabaseAccounts/c02d9298-7cdb-440f-a16b-0dc3c97d6cde\",\r\n \"properties\": {\r\n \"accountName\": \"pitr-sql-stage-restored-wrr\",\r\n \"apiType\": \"Sql\",\r\n \"creationTime\": \"2021-03-03T04:36:55Z\",\r\n \"restorableLocations\": [\r\n {\r\n \"locationName\": \"East US 2\",\r\n \"regionalDatabaseAccountInstanceId\": \"d6e10b03-43cd-4bdc-a1b8-3dfab9fe6beb\",\r\n \"creationTime\": \"2021-03-03T04:36:55Z\"\r\n }\r\n ]\r\n }\r\n },\r\n {\r\n \"name\": \"00e807ea-76c1-4b2f-afdd-dddc1b15979f\",\r\n \"location\": \"East US 2\",\r\n \"type\": \"Microsoft.DocumentDB/locations/restorableDatabaseAccounts\",\r\n \"id\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/providers/Microsoft.DocumentDB/locations/eastus2/restorableDatabaseAccounts/00e807ea-76c1-4b2f-afdd-dddc1b15979f\",\r\n \"properties\": {\r\n \"accountName\": \"pitr-sql-stage-restored-wrr1\",\r\n \"apiType\": \"Sql\",\r\n \"creationTime\": \"2021-03-03T05:01:33Z\",\r\n \"restorableLocations\": [\r\n {\r\n \"locationName\": \"East US 2\",\r\n \"regionalDatabaseAccountInstanceId\": \"683f9f6f-8b7d-4638-a4f2-db9983a9c2d1\",\r\n \"creationTime\": \"2021-03-03T05:01:33Z\"\r\n }\r\n ]\r\n }\r\n },\r\n {\r\n \"name\": \"9766bca9-cc26-4e26-83fe-32cd22fdb83d\",\r\n \"location\": \"East US 2\",\r\n \"type\": \"Microsoft.DocumentDB/locations/restorableDatabaseAccounts\",\r\n \"id\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/providers/Microsoft.DocumentDB/locations/eastus2/restorableDatabaseAccounts/9766bca9-cc26-4e26-83fe-32cd22fdb83d\",\r\n \"properties\": {\r\n \"accountName\": \"stage-pitr-billing-test\",\r\n \"apiType\": \"Sql\",\r\n \"creationTime\": \"2021-01-20T01:08:53Z\",\r\n \"deletionTime\": \"2021-02-04T00:01:29Z\",\r\n \"restorableLocations\": [\r\n {\r\n \"locationName\": \"West US 2\",\r\n \"regionalDatabaseAccountInstanceId\": \"9df768c4-6f3e-4bb8-be73-c8b338f50875\",\r\n \"creationTime\": \"2021-01-20T01:08:53Z\",\r\n \"deletionTime\": \"2021-02-04T00:01:29Z\"\r\n }\r\n ]\r\n }\r\n },\r\n {\r\n \"name\": \"8e032502-70fc-4495-8546-e69383186c09\",\r\n \"location\": \"East US 2\",\r\n \"type\": \"Microsoft.DocumentDB/locations/restorableDatabaseAccounts\",\r\n \"id\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/providers/Microsoft.DocumentDB/locations/eastus2/restorableDatabaseAccounts/8e032502-70fc-4495-8546-e69383186c09\",\r\n \"properties\": {\r\n \"accountName\": \"stage-pitr-billing-test-2\",\r\n \"apiType\": \"Sql\",\r\n \"creationTime\": \"2021-01-21T05:06:14Z\",\r\n \"deletionTime\": \"2021-02-04T00:01:29Z\",\r\n \"restorableLocations\": [\r\n {\r\n \"locationName\": \"West US 2\",\r\n \"regionalDatabaseAccountInstanceId\": \"a994d170-beb1-4f1a-a413-2d5548b171dd\",\r\n \"creationTime\": \"2021-01-21T05:06:14Z\",\r\n \"deletionTime\": \"2021-02-04T00:01:29Z\"\r\n }\r\n ]\r\n }\r\n },\r\n {\r\n \"name\": \"d9e1ccfa-1929-4532-9efb-6100feff0f0e\",\r\n \"location\": \"East US 2\",\r\n \"type\": \"Microsoft.DocumentDB/locations/restorableDatabaseAccounts\",\r\n \"id\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/providers/Microsoft.DocumentDB/locations/eastus2/restorableDatabaseAccounts/d9e1ccfa-1929-4532-9efb-6100feff0f0e\",\r\n \"properties\": {\r\n \"accountName\": \"stage-pitr-validation-restored-ror\",\r\n \"apiType\": \"Sql\",\r\n \"creationTime\": \"2021-02-06T19:32:22Z\",\r\n \"deletionTime\": \"2021-02-06T19:40:48Z\",\r\n \"restorableLocations\": [\r\n {\r\n \"locationName\": \"East US 2\",\r\n \"regionalDatabaseAccountInstanceId\": \"95ef85ad-f3dd-490d-aff2-50d6c7c0dd5f\",\r\n \"creationTime\": \"2021-02-06T19:32:22Z\",\r\n \"deletionTime\": \"2021-02-06T19:40:48Z\"\r\n }\r\n ]\r\n }\r\n },\r\n {\r\n \"name\": \"2d7d7e33-9b97-491e-895b-fe7f46f3d86c\",\r\n \"location\": \"East US 2\",\r\n \"type\": \"Microsoft.DocumentDB/locations/restorableDatabaseAccounts\",\r\n \"id\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/providers/Microsoft.DocumentDB/locations/eastus2/restorableDatabaseAccounts/2d7d7e33-9b97-491e-895b-fe7f46f3d86c\",\r\n \"properties\": {\r\n \"accountName\": \"stage-pitr-validation-source-r1\",\r\n \"apiType\": \"Sql\",\r\n \"creationTime\": \"2021-02-10T23:50:26Z\",\r\n \"deletionTime\": \"2021-02-11T07:07:51Z\",\r\n \"restorableLocations\": [\r\n {\r\n \"locationName\": \"East US 2\",\r\n \"regionalDatabaseAccountInstanceId\": \"eb35152b-9da0-44c0-a767-0c643969bf08\",\r\n \"creationTime\": \"2021-02-10T23:50:26Z\",\r\n \"deletionTime\": \"2021-02-11T07:07:51Z\"\r\n }\r\n ]\r\n }\r\n },\r\n {\r\n \"name\": \"4961ef4a-30d0-484e-ad16-8ba453b14abf\",\r\n \"location\": \"East US 2\",\r\n \"type\": \"Microsoft.DocumentDB/locations/restorableDatabaseAccounts\",\r\n \"id\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/providers/Microsoft.DocumentDB/locations/eastus2/restorableDatabaseAccounts/4961ef4a-30d0-484e-ad16-8ba453b14abf\",\r\n \"properties\": {\r\n \"accountName\": \"stage-pitr-validation-source-res\",\r\n \"apiType\": \"Sql\",\r\n \"creationTime\": \"2021-02-11T04:40:28Z\",\r\n \"deletionTime\": \"2021-02-11T07:07:51Z\",\r\n \"restorableLocations\": [\r\n {\r\n \"locationName\": \"East US 2\",\r\n \"regionalDatabaseAccountInstanceId\": \"5970d071-463b-4f79-92ac-810f199754e9\",\r\n \"creationTime\": \"2021-02-11T04:40:28Z\",\r\n \"deletionTime\": \"2021-02-11T07:07:51Z\"\r\n }\r\n ]\r\n }\r\n },\r\n {\r\n \"name\": \"ce9e2478-aa44-4bd2-96d4-d23f75dbd994\",\r\n \"location\": \"East US 2\",\r\n \"type\": \"Microsoft.DocumentDB/locations/restorableDatabaseAccounts\",\r\n \"id\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/providers/Microsoft.DocumentDB/locations/eastus2/restorableDatabaseAccounts/ce9e2478-aa44-4bd2-96d4-d23f75dbd994\",\r\n \"properties\": {\r\n \"accountName\": \"stage-pitr-validation-source-r2\",\r\n \"apiType\": \"Sql\",\r\n \"creationTime\": \"2021-02-11T00:04:43Z\",\r\n \"deletionTime\": \"2021-02-11T07:07:54Z\",\r\n \"restorableLocations\": [\r\n {\r\n \"locationName\": \"West US 2\",\r\n \"regionalDatabaseAccountInstanceId\": \"4d1a5ff8-9393-4dc4-a3b9-1b24e2aeb32c\",\r\n \"creationTime\": \"2021-02-11T00:04:43Z\",\r\n \"deletionTime\": \"2021-02-11T07:07:54Z\"\r\n }\r\n ]\r\n }\r\n },\r\n {\r\n \"name\": \"f93aff83-e412-471c-86de-e23df6cbeb58\",\r\n \"location\": \"East US 2\",\r\n \"type\": \"Microsoft.DocumentDB/locations/restorableDatabaseAccounts\",\r\n \"id\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/providers/Microsoft.DocumentDB/locations/eastus2/restorableDatabaseAccounts/f93aff83-e412-471c-86de-e23df6cbeb58\",\r\n \"properties\": {\r\n \"accountName\": \"stage-pitr-validation-restored-readregion\",\r\n \"apiType\": \"Sql\",\r\n \"creationTime\": \"2021-02-07T21:48:30Z\",\r\n \"deletionTime\": \"2021-02-11T21:07:27Z\",\r\n \"restorableLocations\": [\r\n {\r\n \"locationName\": \"North Central US\",\r\n \"regionalDatabaseAccountInstanceId\": \"ffac845b-ac41-4bfe-acc1-227406f9f68a\",\r\n \"creationTime\": \"2021-02-07T21:48:30Z\",\r\n \"deletionTime\": \"2021-02-11T21:07:27Z\"\r\n }\r\n ]\r\n }\r\n },\r\n {\r\n \"name\": \"9bb64267-f1d8-4d2a-9367-d16492966dc8\",\r\n \"location\": \"East US 2\",\r\n \"type\": \"Microsoft.DocumentDB/locations/restorableDatabaseAccounts\",\r\n \"id\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/providers/Microsoft.DocumentDB/locations/eastus2/restorableDatabaseAccounts/9bb64267-f1d8-4d2a-9367-d16492966dc8\",\r\n \"properties\": {\r\n \"accountName\": \"stage-pitr-validation-restored-wrr\",\r\n \"apiType\": \"Sql\",\r\n \"creationTime\": \"2021-02-06T18:18:14Z\",\r\n \"deletionTime\": \"2021-02-11T21:07:28Z\",\r\n \"restorableLocations\": [\r\n {\r\n \"locationName\": \"North Central US\",\r\n \"regionalDatabaseAccountInstanceId\": \"c8fdaea9-e41e-416f-8ab8-ffa9295ad14a\",\r\n \"creationTime\": \"2021-02-07T18:55:04Z\",\r\n \"deletionTime\": \"2021-02-11T21:07:28Z\"\r\n },\r\n {\r\n \"locationName\": \"East US 2\",\r\n \"regionalDatabaseAccountInstanceId\": \"de4ce762-1219-4750-9c25-cead6a9964b3\",\r\n \"creationTime\": \"2021-02-06T18:18:14Z\",\r\n \"deletionTime\": \"2021-02-11T21:07:28Z\"\r\n }\r\n ]\r\n }\r\n },\r\n {\r\n \"name\": \"78bd960f-b8bc-4412-b4e1-f16c5acc599c\",\r\n \"location\": \"East US 2\",\r\n \"type\": \"Microsoft.DocumentDB/locations/restorableDatabaseAccounts\",\r\n \"id\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/providers/Microsoft.DocumentDB/locations/eastus2/restorableDatabaseAccounts/78bd960f-b8bc-4412-b4e1-f16c5acc599c\",\r\n \"properties\": {\r\n \"accountName\": \"stage-pitr-validation-del-restored\",\r\n \"apiType\": \"Sql\",\r\n \"creationTime\": \"2021-02-06T20:23:29Z\",\r\n \"deletionTime\": \"2021-02-11T21:07:28Z\",\r\n \"restorableLocations\": [\r\n {\r\n \"locationName\": \"Southeast Asia\",\r\n \"regionalDatabaseAccountInstanceId\": \"753180e8-e128-47e9-98d1-5ce0c6d4f3a8\",\r\n \"creationTime\": \"2021-02-08T19:31:46Z\",\r\n \"deletionTime\": \"2021-02-11T21:07:28Z\"\r\n },\r\n {\r\n \"locationName\": \"East US 2\",\r\n \"regionalDatabaseAccountInstanceId\": \"2524386d-c456-4de9-a314-1acdb94e52a3\",\r\n \"creationTime\": \"2021-02-06T20:23:29Z\",\r\n \"deletionTime\": \"2021-02-11T21:07:28Z\"\r\n }\r\n ]\r\n }\r\n },\r\n {\r\n \"name\": \"67d6981a-3dc7-4e3a-b04a-73c0376d42bb\",\r\n \"location\": \"East US 2\",\r\n \"type\": \"Microsoft.DocumentDB/locations/restorableDatabaseAccounts\",\r\n \"id\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/providers/Microsoft.DocumentDB/locations/eastus2/restorableDatabaseAccounts/67d6981a-3dc7-4e3a-b04a-73c0376d42bb\",\r\n \"properties\": {\r\n \"accountName\": \"stage-pitr-validation-source-r2\",\r\n \"apiType\": \"Sql\",\r\n \"creationTime\": \"2021-02-11T08:37:02Z\",\r\n \"deletionTime\": \"2021-02-12T17:07:42Z\",\r\n \"restorableLocations\": [\r\n {\r\n \"locationName\": \"East US 2\",\r\n \"regionalDatabaseAccountInstanceId\": \"5f331e43-571c-4fe7-9874-aeafcd2b421c\",\r\n \"creationTime\": \"2021-02-11T08:37:02Z\",\r\n \"deletionTime\": \"2021-02-12T17:07:42Z\"\r\n }\r\n ]\r\n }\r\n },\r\n {\r\n \"name\": \"5ea690df-46a9-4bf2-910c-0484660978bb\",\r\n \"location\": \"East US 2\",\r\n \"type\": \"Microsoft.DocumentDB/locations/restorableDatabaseAccounts\",\r\n \"id\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/providers/Microsoft.DocumentDB/locations/eastus2/restorableDatabaseAccounts/5ea690df-46a9-4bf2-910c-0484660978bb\",\r\n \"properties\": {\r\n \"accountName\": \"stage-pitr-validation-source-r1\",\r\n \"apiType\": \"Sql\",\r\n \"creationTime\": \"2021-02-11T08:24:56Z\",\r\n \"deletionTime\": \"2021-02-12T17:07:43Z\",\r\n \"restorableLocations\": [\r\n {\r\n \"locationName\": \"East US 2\",\r\n \"regionalDatabaseAccountInstanceId\": \"29b9a3fe-b375-462d-9221-191fc4ddaa83\",\r\n \"creationTime\": \"2021-02-11T08:24:56Z\",\r\n \"deletionTime\": \"2021-02-12T17:07:43Z\"\r\n }\r\n ]\r\n }\r\n },\r\n {\r\n \"name\": \"53b3d044-7394-4a06-883d-cf9247f66e3c\",\r\n \"location\": \"East US 2\",\r\n \"type\": \"Microsoft.DocumentDB/locations/restorableDatabaseAccounts\",\r\n \"id\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/providers/Microsoft.DocumentDB/locations/eastus2/restorableDatabaseAccounts/53b3d044-7394-4a06-883d-cf9247f66e3c\",\r\n \"properties\": {\r\n \"accountName\": \"stage-pitr-validation-source-r3\",\r\n \"apiType\": \"Sql\",\r\n \"creationTime\": \"2021-02-11T08:49:08Z\",\r\n \"deletionTime\": \"2021-02-12T17:07:44Z\",\r\n \"restorableLocations\": [\r\n {\r\n \"locationName\": \"East US 2\",\r\n \"regionalDatabaseAccountInstanceId\": \"a38a83ce-d467-4c81-9f3d-c65697d1c547\",\r\n \"creationTime\": \"2021-02-11T08:49:08Z\",\r\n \"deletionTime\": \"2021-02-12T17:07:44Z\"\r\n }\r\n ]\r\n }\r\n },\r\n {\r\n \"name\": \"66c4a9a2-7799-474a-9e1e-e56a4b340d62\",\r\n \"location\": \"East US 2\",\r\n \"type\": \"Microsoft.DocumentDB/locations/restorableDatabaseAccounts\",\r\n \"id\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/providers/Microsoft.DocumentDB/locations/eastus2/restorableDatabaseAccounts/66c4a9a2-7799-474a-9e1e-e56a4b340d62\",\r\n \"properties\": {\r\n \"accountName\": \"stage-pitr-validation-source-r4\",\r\n \"apiType\": \"Sql\",\r\n \"creationTime\": \"2021-02-11T09:01:06Z\",\r\n \"deletionTime\": \"2021-02-12T17:07:45Z\",\r\n \"restorableLocations\": [\r\n {\r\n \"locationName\": \"East US 2\",\r\n \"regionalDatabaseAccountInstanceId\": \"01869f13-ab6f-451b-8b15-9cb0b369cde2\",\r\n \"creationTime\": \"2021-02-11T09:01:06Z\",\r\n \"deletionTime\": \"2021-02-12T17:07:45Z\"\r\n }\r\n ]\r\n }\r\n },\r\n {\r\n \"name\": \"674c1551-e35b-4a4d-bd79-fde1f439dbe0\",\r\n \"location\": \"East US 2\",\r\n \"type\": \"Microsoft.DocumentDB/locations/restorableDatabaseAccounts\",\r\n \"id\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/providers/Microsoft.DocumentDB/locations/eastus2/restorableDatabaseAccounts/674c1551-e35b-4a4d-bd79-fde1f439dbe0\",\r\n \"properties\": {\r\n \"accountName\": \"stage-pitr-validation-source-r1\",\r\n \"apiType\": \"Sql\",\r\n \"creationTime\": \"2021-02-17T11:23:16Z\",\r\n \"deletionTime\": \"2021-02-17T15:31:10Z\",\r\n \"restorableLocations\": [\r\n {\r\n \"locationName\": \"East US 2\",\r\n \"regionalDatabaseAccountInstanceId\": \"17329379-801c-4909-999a-421f20fd57c4\",\r\n \"creationTime\": \"2021-02-17T11:23:16Z\",\r\n \"deletionTime\": \"2021-02-17T15:31:10Z\"\r\n }\r\n ]\r\n }\r\n },\r\n {\r\n \"name\": \"af242175-f3a2-40f4-9c77-10eaf232a2b5\",\r\n \"location\": \"East US 2\",\r\n \"type\": \"Microsoft.DocumentDB/locations/restorableDatabaseAccounts\",\r\n \"id\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/providers/Microsoft.DocumentDB/locations/eastus2/restorableDatabaseAccounts/af242175-f3a2-40f4-9c77-10eaf232a2b5\",\r\n \"properties\": {\r\n \"accountName\": \"dd21234\",\r\n \"apiType\": \"Sql\",\r\n \"creationTime\": \"2021-02-22T09:47:40Z\",\r\n \"deletionTime\": \"2021-02-22T10:59:26Z\",\r\n \"restorableLocations\": [\r\n {\r\n \"locationName\": \"East US 2\",\r\n \"regionalDatabaseAccountInstanceId\": \"66b2c82f-633f-446a-b89e-dba1b13ae92c\",\r\n \"creationTime\": \"2021-02-22T09:47:40Z\",\r\n \"deletionTime\": \"2021-02-22T10:59:26Z\"\r\n }\r\n ]\r\n }\r\n },\r\n {\r\n \"name\": \"128a528a-5e22-4146-ae62-b32994614cb0\",\r\n \"location\": \"East US 2\",\r\n \"type\": \"Microsoft.DocumentDB/locations/restorableDatabaseAccounts\",\r\n \"id\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/providers/Microsoft.DocumentDB/locations/eastus2/restorableDatabaseAccounts/128a528a-5e22-4146-ae62-b32994614cb0\",\r\n \"properties\": {\r\n \"accountName\": \"dd21\",\r\n \"apiType\": \"Sql\",\r\n \"creationTime\": \"2021-02-22T09:02:19Z\",\r\n \"deletionTime\": \"2021-02-22T11:00:06Z\",\r\n \"restorableLocations\": [\r\n {\r\n \"locationName\": \"East US 2\",\r\n \"regionalDatabaseAccountInstanceId\": \"ebc69bc4-4865-41d6-a632-aef7a5e2de1d\",\r\n \"creationTime\": \"2021-02-22T09:02:19Z\",\r\n \"deletionTime\": \"2021-02-22T11:00:06Z\"\r\n }\r\n ]\r\n }\r\n },\r\n {\r\n \"name\": \"3e1a3f5e-dcae-449e-82f7-bbf80cba54c5\",\r\n \"location\": \"East US 2\",\r\n \"type\": \"Microsoft.DocumentDB/locations/restorableDatabaseAccounts\",\r\n \"id\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/providers/Microsoft.DocumentDB/locations/eastus2/restorableDatabaseAccounts/3e1a3f5e-dcae-449e-82f7-bbf80cba54c5\",\r\n \"properties\": {\r\n \"accountName\": \"ddb55\",\r\n \"apiType\": \"Sql\",\r\n \"creationTime\": \"2021-02-24T04:21:43Z\",\r\n \"deletionTime\": \"2021-02-24T07:45:59Z\",\r\n \"restorableLocations\": [\r\n {\r\n \"locationName\": \"East US 2\",\r\n \"regionalDatabaseAccountInstanceId\": \"4dff1afd-82b9-425f-840a-3237bd54478d\",\r\n \"creationTime\": \"2021-02-24T04:21:43Z\",\r\n \"deletionTime\": \"2021-02-24T07:45:59Z\"\r\n }\r\n ]\r\n }\r\n },\r\n {\r\n \"name\": \"d612dc86-9085-444b-a868-fb48c7d368fb\",\r\n \"location\": \"East US 2\",\r\n \"type\": \"Microsoft.DocumentDB/locations/restorableDatabaseAccounts\",\r\n \"id\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/providers/Microsoft.DocumentDB/locations/eastus2/restorableDatabaseAccounts/d612dc86-9085-444b-a868-fb48c7d368fb\",\r\n \"properties\": {\r\n \"accountName\": \"ddb1\",\r\n \"apiType\": \"Sql\",\r\n \"creationTime\": \"2021-02-18T11:15:52Z\",\r\n \"deletionTime\": \"2021-02-24T07:46:14Z\",\r\n \"restorableLocations\": [\r\n {\r\n \"locationName\": \"East US 2\",\r\n \"regionalDatabaseAccountInstanceId\": \"db2b9027-bcdf-4069-be69-074fc2f46d7c\",\r\n \"creationTime\": \"2021-02-18T11:15:52Z\",\r\n \"deletionTime\": \"2021-02-24T07:46:14Z\"\r\n }\r\n ]\r\n }\r\n },\r\n {\r\n \"name\": \"0ea5b02f-40bd-4cfd-8406-35286bd00fa2\",\r\n \"location\": \"East US 2\",\r\n \"type\": \"Microsoft.DocumentDB/locations/restorableDatabaseAccounts\",\r\n \"id\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/providers/Microsoft.DocumentDB/locations/eastus2/restorableDatabaseAccounts/0ea5b02f-40bd-4cfd-8406-35286bd00fa2\",\r\n \"properties\": {\r\n \"accountName\": \"pitr-sql-stage-restored-ror\",\r\n \"apiType\": \"Sql\",\r\n \"creationTime\": \"2021-02-24T17:56:15Z\",\r\n \"deletionTime\": \"2021-02-25T10:33:38Z\",\r\n \"restorableLocations\": [\r\n {\r\n \"locationName\": \"West US 2\",\r\n \"regionalDatabaseAccountInstanceId\": \"740afadb-1142-4b13-9fa4-67e857d56a89\",\r\n \"creationTime\": \"2021-02-24T17:56:15Z\",\r\n \"deletionTime\": \"2021-02-25T10:33:38Z\"\r\n }\r\n ]\r\n }\r\n },\r\n {\r\n \"name\": \"52006c1b-5c7f-43a1-9ae0-b936550aed8a\",\r\n \"location\": \"East US 2\",\r\n \"type\": \"Microsoft.DocumentDB/locations/restorableDatabaseAccounts\",\r\n \"id\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/providers/Microsoft.DocumentDB/locations/eastus2/restorableDatabaseAccounts/52006c1b-5c7f-43a1-9ae0-b936550aed8a\",\r\n \"properties\": {\r\n \"accountName\": \"pitr-sql-stage-restored-rrr\",\r\n \"apiType\": \"Sql\",\r\n \"creationTime\": \"2021-02-24T17:40:45Z\",\r\n \"deletionTime\": \"2021-02-25T10:34:20Z\",\r\n \"restorableLocations\": [\r\n {\r\n \"locationName\": \"West US 2\",\r\n \"regionalDatabaseAccountInstanceId\": \"a1e3fe50-7548-4b49-aee1-373a142e0c3b\",\r\n \"creationTime\": \"2021-02-24T17:40:45Z\",\r\n \"deletionTime\": \"2021-02-25T10:34:20Z\"\r\n }\r\n ]\r\n }\r\n },\r\n {\r\n \"name\": \"a578c9d3-1d35-451f-a3df-44e61ed45cfa\",\r\n \"location\": \"East US 2\",\r\n \"type\": \"Microsoft.DocumentDB/locations/restorableDatabaseAccounts\",\r\n \"id\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/providers/Microsoft.DocumentDB/locations/eastus2/restorableDatabaseAccounts/a578c9d3-1d35-451f-a3df-44e61ed45cfa\",\r\n \"properties\": {\r\n \"accountName\": \"pitr-sql-stage-restored-wrr\",\r\n \"apiType\": \"Sql\",\r\n \"creationTime\": \"2021-02-24T05:19:04Z\",\r\n \"deletionTime\": \"2021-02-25T10:34:35Z\",\r\n \"restorableLocations\": [\r\n {\r\n \"locationName\": \"East US 2\",\r\n \"regionalDatabaseAccountInstanceId\": \"feff600a-c776-422a-a2f7-0cfe03be68b8\",\r\n \"creationTime\": \"2021-02-24T05:19:04Z\",\r\n \"deletionTime\": \"2021-02-25T10:34:35Z\"\r\n }\r\n ]\r\n }\r\n },\r\n {\r\n \"name\": \"07b7492c-91c3-41bb-9f75-8f25c739ce06\",\r\n \"location\": \"East US 2\",\r\n \"type\": \"Microsoft.DocumentDB/locations/restorableDatabaseAccounts\",\r\n \"id\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/providers/Microsoft.DocumentDB/locations/eastus2/restorableDatabaseAccounts/07b7492c-91c3-41bb-9f75-8f25c739ce06\",\r\n \"properties\": {\r\n \"accountName\": \"pitr-sql-stage-restored-wrr\",\r\n \"apiType\": \"Sql\",\r\n \"creationTime\": \"2021-03-01T05:56:16Z\",\r\n \"deletionTime\": \"2021-03-02T09:01:04Z\",\r\n \"restorableLocations\": [\r\n {\r\n \"locationName\": \"East US 2\",\r\n \"regionalDatabaseAccountInstanceId\": \"bfbd7d4b-3edf-44da-8aab-eb9cdafe43a7\",\r\n \"creationTime\": \"2021-03-01T05:56:16Z\",\r\n \"deletionTime\": \"2021-03-02T09:01:04Z\"\r\n }\r\n ]\r\n }\r\n },\r\n {\r\n \"name\": \"db2af171-a342-4d3c-92ff-45e81629341d\",\r\n \"location\": \"East US 2\",\r\n \"type\": \"Microsoft.DocumentDB/locations/restorableDatabaseAccounts\",\r\n \"id\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/providers/Microsoft.DocumentDB/locations/eastus2/restorableDatabaseAccounts/db2af171-a342-4d3c-92ff-45e81629341d\",\r\n \"properties\": {\r\n \"accountName\": \"pitr-sql-stage-restored-wrr\",\r\n \"apiType\": \"Sql\",\r\n \"creationTime\": \"2021-03-02T10:39:31Z\",\r\n \"deletionTime\": \"2021-03-02T10:41:51Z\",\r\n \"restorableLocations\": [\r\n {\r\n \"locationName\": \"East US 2\",\r\n \"regionalDatabaseAccountInstanceId\": \"4e29876d-a887-4def-a99e-1b7043bb6181\",\r\n \"creationTime\": \"2021-03-02T10:39:31Z\",\r\n \"deletionTime\": \"2021-03-02T10:41:51Z\"\r\n }\r\n ]\r\n }\r\n },\r\n {\r\n \"name\": \"a76a91b4-489b-4714-b0fc-b98459934920\",\r\n \"location\": \"East US 2\",\r\n \"type\": \"Microsoft.DocumentDB/locations/restorableDatabaseAccounts\",\r\n \"id\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/providers/Microsoft.DocumentDB/locations/eastus2/restorableDatabaseAccounts/a76a91b4-489b-4714-b0fc-b98459934920\",\r\n \"properties\": {\r\n \"accountName\": \"pitr-sql-stage-restored-wrr\",\r\n \"apiType\": \"Sql\",\r\n \"creationTime\": \"2021-03-02T15:16:36Z\",\r\n \"deletionTime\": \"2021-03-03T04:08:46Z\",\r\n \"restorableLocations\": [\r\n {\r\n \"locationName\": \"East US 2\",\r\n \"regionalDatabaseAccountInstanceId\": \"40bafde5-ffd5-453a-acb4-9c697808790a\",\r\n \"creationTime\": \"2021-03-02T15:16:36Z\",\r\n \"deletionTime\": \"2021-03-03T04:08:46Z\"\r\n }\r\n ]\r\n }\r\n }\r\n ]\r\n}", + "ResponseBody": "{\r\n \"status\": \"Dequeued\"\r\n}", "StatusCode": 200 }, { - "RequestUri": "/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/resourceGroups/pitr-stage-rg/providers/Microsoft.DocumentDB/databaseAccounts/restoredaccountname8295?api-version=2021-03-01-preview", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvODBiZTM5NjEtMDUyMS00YTBhLTg1NzAtNWNkNWE0ZTJmOThjL3Jlc291cmNlR3JvdXBzL3BpdHItc3RhZ2UtcmcvcHJvdmlkZXJzL01pY3Jvc29mdC5Eb2N1bWVudERCL2RhdGFiYXNlQWNjb3VudHMvcmVzdG9yZWRhY2NvdW50bmFtZTgyOTU/YXBpLXZlcnNpb249MjAyMS0wMy0wMS1wcmV2aWV3", - "RequestMethod": "PUT", - "RequestBody": "{\r\n \"kind\": \"GlobalDocumentDB\",\r\n \"properties\": {\r\n \"createMode\": \"Restore\",\r\n \"restoreParameters\": {\r\n \"restoreMode\": \"PointInTime\",\r\n \"restoreSource\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/providers/Microsoft.DocumentDB/locations/westus2/restorableDatabaseAccounts/9a4b63c3-49d1-4c87-b28e-92e92aeaa0ea\",\r\n \"restoreTimestampInUtc\": \"2021-03-01T00:00:00Z\"\r\n },\r\n \"locations\": [\r\n {\r\n \"locationName\": \"westus2\"\r\n }\r\n ],\r\n \"databaseAccountOfferType\": \"Standard\"\r\n },\r\n \"location\": \"westus2\",\r\n \"tags\": {\r\n \"key1\": \"value1\",\r\n \"key2\": \"value2\"\r\n }\r\n}", + "RequestUri": "/subscriptions/259fbb24-9bcd-4cfc-865c-fc33b22fe38a/providers/Microsoft.DocumentDB/locations/eastus2/operationsStatus/e29101ef-7d75-473a-9d92-75a120b6a65d?api-version=2021-06-15", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMjU5ZmJiMjQtOWJjZC00Y2ZjLTg2NWMtZmMzM2IyMmZlMzhhL3Byb3ZpZGVycy9NaWNyb3NvZnQuRG9jdW1lbnREQi9sb2NhdGlvbnMvZWFzdHVzMi9vcGVyYXRpb25zU3RhdHVzL2UyOTEwMWVmLTdkNzUtNDczYS05ZDkyLTc1YTEyMGI2YTY1ZD9hcGktdmVyc2lvbj0yMDIxLTA2LTE1", + "RequestMethod": "GET", + "RequestBody": "", "RequestHeaders": { - "x-ms-client-request-id": [ - "dfa3b09d-304a-4344-92f8-33a14ecf91b5" - ], - "Accept-Language": [ - "en-US" - ], "User-Agent": [ - "FxVersion/5.0.321.7212", + "FxVersion/4.6.28207.03", "OSName/Windows", - "OSVersion/Microsoft.Windows.10.0.19042", - "Microsoft.Azure.Management.CosmosDB.CosmosDBManagementClient/2.0.0.0" + "OSVersion/Microsoft.Windows.10.0.19043.", + "Microsoft.Azure.Management.CosmosDB.CosmosDBManagementClient/3.0.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-store, no-cache" ], - "Content-Type": [ - "application/json; charset=utf-8" + "Pragma": [ + "no-cache" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-gatewayversion": [ + "version=2.14.0" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11996" + ], + "x-ms-request-id": [ + "98843468-3952-4f41-95ec-d1612ff5939d" + ], + "x-ms-correlation-request-id": [ + "98843468-3952-4f41-95ec-d1612ff5939d" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20210616T070245Z:98843468-3952-4f41-95ec-d1612ff5939d" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Wed, 16 Jun 2021 07:02:45 GMT" ], "Content-Length": [ - "624" + "21" + ], + "Content-Type": [ + "application/json" + ] + }, + "ResponseBody": "{\r\n \"status\": \"Dequeued\"\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/259fbb24-9bcd-4cfc-865c-fc33b22fe38a/providers/Microsoft.DocumentDB/locations/eastus2/operationsStatus/e29101ef-7d75-473a-9d92-75a120b6a65d?api-version=2021-06-15", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMjU5ZmJiMjQtOWJjZC00Y2ZjLTg2NWMtZmMzM2IyMmZlMzhhL3Byb3ZpZGVycy9NaWNyb3NvZnQuRG9jdW1lbnREQi9sb2NhdGlvbnMvZWFzdHVzMi9vcGVyYXRpb25zU3RhdHVzL2UyOTEwMWVmLTdkNzUtNDczYS05ZDkyLTc1YTEyMGI2YTY1ZD9hcGktdmVyc2lvbj0yMDIxLTA2LTE1", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.6.28207.03", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.19043.", + "Microsoft.Azure.Management.CosmosDB.CosmosDBManagementClient/3.0.0.0" ] }, "ResponseHeaders": { @@ -367,60 +395,111 @@ "Pragma": [ "no-cache" ], - "Location": [ - "https://management.azure.com/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/resourceGroups/pitr-stage-rg/providers/Microsoft.DocumentDB/databaseAccounts/restoredaccountname8295/operationResults/50a94b4c-fb92-4bd1-9d3c-1fda8d9f4b5f?api-version=2021-03-01-preview" + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-gatewayversion": [ + "version=2.14.0" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11995" ], "x-ms-request-id": [ - "50a94b4c-fb92-4bd1-9d3c-1fda8d9f4b5f" + "aa5c0f98-2964-4de7-8274-13ca638fb00d" ], - "Azure-AsyncOperation": [ - "https://management.azure.com/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/providers/Microsoft.DocumentDB/locations/westus2/operationsStatus/50a94b4c-fb92-4bd1-9d3c-1fda8d9f4b5f?api-version=2021-03-01-preview" + "x-ms-correlation-request-id": [ + "aa5c0f98-2964-4de7-8274-13ca638fb00d" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20210616T070315Z:aa5c0f98-2964-4de7-8274-13ca638fb00d" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Wed, 16 Jun 2021 07:03:15 GMT" + ], + "Content-Length": [ + "21" + ], + "Content-Type": [ + "application/json" + ] + }, + "ResponseBody": "{\r\n \"status\": \"Dequeued\"\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/259fbb24-9bcd-4cfc-865c-fc33b22fe38a/providers/Microsoft.DocumentDB/locations/eastus2/operationsStatus/e29101ef-7d75-473a-9d92-75a120b6a65d?api-version=2021-06-15", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMjU5ZmJiMjQtOWJjZC00Y2ZjLTg2NWMtZmMzM2IyMmZlMzhhL3Byb3ZpZGVycy9NaWNyb3NvZnQuRG9jdW1lbnREQi9sb2NhdGlvbnMvZWFzdHVzMi9vcGVyYXRpb25zU3RhdHVzL2UyOTEwMWVmLTdkNzUtNDczYS05ZDkyLTc1YTEyMGI2YTY1ZD9hcGktdmVyc2lvbj0yMDIxLTA2LTE1", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.6.28207.03", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.19043.", + "Microsoft.Azure.Management.CosmosDB.CosmosDBManagementClient/3.0.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-store, no-cache" + ], + "Pragma": [ + "no-cache" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "x-ms-gatewayversion": [ - "version=2.11.0" + "version=2.14.0" ], "Server": [ "Microsoft-HTTPAPI/2.0" ], - "x-ms-ratelimit-remaining-subscription-writes": [ - "1199" + "x-ms-ratelimit-remaining-subscription-reads": [ + "11994" + ], + "x-ms-request-id": [ + "eee952b7-6771-4a2d-a17d-7058cfd84594" ], "x-ms-correlation-request-id": [ - "10362ce1-d373-4cf9-b44e-504c619dcc50" + "eee952b7-6771-4a2d-a17d-7058cfd84594" ], "x-ms-routing-request-id": [ - "WESTUS2:20210303T173628Z:10362ce1-d373-4cf9-b44e-504c619dcc50" + "WESTUS2:20210616T070345Z:eee952b7-6771-4a2d-a17d-7058cfd84594" ], "X-Content-Type-Options": [ "nosniff" ], "Date": [ - "Wed, 03 Mar 2021 17:36:27 GMT" + "Wed, 16 Jun 2021 07:03:44 GMT" ], "Content-Length": [ - "2382" + "21" ], "Content-Type": [ "application/json" ] }, - "ResponseBody": "{\r\n \"id\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/resourceGroups/pitr-stage-rg/providers/Microsoft.DocumentDB/databaseAccounts/restoredaccountname8295\",\r\n \"name\": \"restoredaccountname8295\",\r\n \"location\": \"West US 2\",\r\n \"type\": \"Microsoft.DocumentDB/databaseAccounts\",\r\n \"kind\": \"GlobalDocumentDB\",\r\n \"tags\": {},\r\n \"systemData\": {\r\n \"createdAt\": \"2021-03-03T17:36:24.8536202Z\"\r\n },\r\n \"properties\": {\r\n \"provisioningState\": \"Creating\",\r\n \"publicNetworkAccess\": \"Enabled\",\r\n \"enableAutomaticFailover\": false,\r\n \"enableMultipleWriteLocations\": false,\r\n \"enablePartitionKeyMonitor\": false,\r\n \"isVirtualNetworkFilterEnabled\": false,\r\n \"virtualNetworkRules\": [],\r\n \"EnabledApiTypes\": \"Sql\",\r\n \"disableKeyBasedMetadataWriteAccess\": false,\r\n \"enableFreeTier\": false,\r\n \"enableAnalyticalStorage\": false,\r\n \"instanceId\": \"1a937e8e-1a33-4fd1-9349-34ede3dd02f2\",\r\n \"createMode\": \"Restore\",\r\n \"databaseAccountOfferType\": \"Standard\",\r\n \"enableCassandraConnector\": false,\r\n \"defaultIdentity\": \"\",\r\n \"networkAclBypass\": \"None\",\r\n \"consistencyPolicy\": {\r\n \"defaultConsistencyLevel\": \"Session\",\r\n \"maxIntervalInSeconds\": 5,\r\n \"maxStalenessPrefix\": 100\r\n },\r\n \"configurationOverrides\": {},\r\n \"writeLocations\": [\r\n {\r\n \"id\": \"restoredaccountname8295-westus2\",\r\n \"locationName\": \"West US 2\",\r\n \"documentEndpoint\": \"https://pitr-sql-stage-source-westus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Creating\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"readLocations\": [\r\n {\r\n \"id\": \"restoredaccountname8295-westus2\",\r\n \"locationName\": \"West US 2\",\r\n \"documentEndpoint\": \"https://pitr-sql-stage-source-westus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Creating\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"locations\": [\r\n {\r\n \"id\": \"restoredaccountname8295-westus2\",\r\n \"locationName\": \"West US 2\",\r\n \"documentEndpoint\": \"https://pitr-sql-stage-source-westus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Creating\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"failoverPolicies\": [\r\n {\r\n \"id\": \"restoredaccountname8295-westus2\",\r\n \"locationName\": \"West US 2\",\r\n \"failoverPriority\": 0\r\n }\r\n ],\r\n \"cors\": [],\r\n \"capabilities\": [],\r\n \"ipRules\": [],\r\n \"backupPolicy\": {\r\n \"type\": \"Continuous\"\r\n },\r\n \"restoreParameters\": {\r\n \"restoreMode\": \"PointInTime\",\r\n \"restoreSource\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/providers/Microsoft.DocumentDB/locations/westus2/restorableDatabaseAccounts/9a4b63c3-49d1-4c87-b28e-92e92aeaa0ea\",\r\n \"restoreTimestampInUtc\": \"2021-03-01T00:00:00Z\",\r\n \"databasesToRestore\": []\r\n },\r\n \"networkAclBypassResourceIds\": []\r\n },\r\n \"identity\": {\r\n \"type\": \"None\"\r\n }\r\n}", + "ResponseBody": "{\r\n \"status\": \"Dequeued\"\r\n}", "StatusCode": 200 }, { - "RequestUri": "/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/providers/Microsoft.DocumentDB/locations/westus2/operationsStatus/50a94b4c-fb92-4bd1-9d3c-1fda8d9f4b5f?api-version=2021-03-01-preview", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvODBiZTM5NjEtMDUyMS00YTBhLTg1NzAtNWNkNWE0ZTJmOThjL3Byb3ZpZGVycy9NaWNyb3NvZnQuRG9jdW1lbnREQi9sb2NhdGlvbnMvd2VzdHVzMi9vcGVyYXRpb25zU3RhdHVzLzUwYTk0YjRjLWZiOTItNGJkMS05ZDNjLTFmZGE4ZDlmNGI1Zj9hcGktdmVyc2lvbj0yMDIxLTAzLTAxLXByZXZpZXc=", + "RequestUri": "/subscriptions/259fbb24-9bcd-4cfc-865c-fc33b22fe38a/providers/Microsoft.DocumentDB/locations/eastus2/operationsStatus/e29101ef-7d75-473a-9d92-75a120b6a65d?api-version=2021-06-15", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMjU5ZmJiMjQtOWJjZC00Y2ZjLTg2NWMtZmMzM2IyMmZlMzhhL3Byb3ZpZGVycy9NaWNyb3NvZnQuRG9jdW1lbnREQi9sb2NhdGlvbnMvZWFzdHVzMi9vcGVyYXRpb25zU3RhdHVzL2UyOTEwMWVmLTdkNzUtNDczYS05ZDkyLTc1YTEyMGI2YTY1ZD9hcGktdmVyc2lvbj0yMDIxLTA2LTE1", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { "User-Agent": [ - "FxVersion/5.0.321.7212", + "FxVersion/4.6.28207.03", "OSName/Windows", - "OSVersion/Microsoft.Windows.10.0.19042", - "Microsoft.Azure.Management.CosmosDB.CosmosDBManagementClient/2.0.0.0" + "OSVersion/Microsoft.Windows.10.0.19043.", + "Microsoft.Azure.Management.CosmosDB.CosmosDBManagementClient/3.0.0.0" ] }, "ResponseHeaders": { @@ -434,28 +513,28 @@ "max-age=31536000; includeSubDomains" ], "x-ms-gatewayversion": [ - "version=2.11.0" + "version=2.14.0" ], "Server": [ "Microsoft-HTTPAPI/2.0" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "11997" + "11993" ], "x-ms-request-id": [ - "8b03e9ec-127b-42bf-beb1-ec4ec5add711" + "16ecfe75-9f58-4e42-8995-fd92aa3c1fc0" ], "x-ms-correlation-request-id": [ - "8b03e9ec-127b-42bf-beb1-ec4ec5add711" + "16ecfe75-9f58-4e42-8995-fd92aa3c1fc0" ], "x-ms-routing-request-id": [ - "WESTUS2:20210303T173658Z:8b03e9ec-127b-42bf-beb1-ec4ec5add711" + "WESTUS2:20210616T070415Z:16ecfe75-9f58-4e42-8995-fd92aa3c1fc0" ], "X-Content-Type-Options": [ "nosniff" ], "Date": [ - "Wed, 03 Mar 2021 17:36:57 GMT" + "Wed, 16 Jun 2021 07:04:15 GMT" ], "Content-Length": [ "21" @@ -468,16 +547,16 @@ "StatusCode": 200 }, { - "RequestUri": "/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/providers/Microsoft.DocumentDB/locations/westus2/operationsStatus/50a94b4c-fb92-4bd1-9d3c-1fda8d9f4b5f?api-version=2021-03-01-preview", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvODBiZTM5NjEtMDUyMS00YTBhLTg1NzAtNWNkNWE0ZTJmOThjL3Byb3ZpZGVycy9NaWNyb3NvZnQuRG9jdW1lbnREQi9sb2NhdGlvbnMvd2VzdHVzMi9vcGVyYXRpb25zU3RhdHVzLzUwYTk0YjRjLWZiOTItNGJkMS05ZDNjLTFmZGE4ZDlmNGI1Zj9hcGktdmVyc2lvbj0yMDIxLTAzLTAxLXByZXZpZXc=", + "RequestUri": "/subscriptions/259fbb24-9bcd-4cfc-865c-fc33b22fe38a/providers/Microsoft.DocumentDB/locations/eastus2/operationsStatus/e29101ef-7d75-473a-9d92-75a120b6a65d?api-version=2021-06-15", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMjU5ZmJiMjQtOWJjZC00Y2ZjLTg2NWMtZmMzM2IyMmZlMzhhL3Byb3ZpZGVycy9NaWNyb3NvZnQuRG9jdW1lbnREQi9sb2NhdGlvbnMvZWFzdHVzMi9vcGVyYXRpb25zU3RhdHVzL2UyOTEwMWVmLTdkNzUtNDczYS05ZDkyLTc1YTEyMGI2YTY1ZD9hcGktdmVyc2lvbj0yMDIxLTA2LTE1", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { "User-Agent": [ - "FxVersion/5.0.321.7212", + "FxVersion/4.6.28207.03", "OSName/Windows", - "OSVersion/Microsoft.Windows.10.0.19042", - "Microsoft.Azure.Management.CosmosDB.CosmosDBManagementClient/2.0.0.0" + "OSVersion/Microsoft.Windows.10.0.19043.", + "Microsoft.Azure.Management.CosmosDB.CosmosDBManagementClient/3.0.0.0" ] }, "ResponseHeaders": { @@ -491,28 +570,28 @@ "max-age=31536000; includeSubDomains" ], "x-ms-gatewayversion": [ - "version=2.11.0" + "version=2.14.0" ], "Server": [ "Microsoft-HTTPAPI/2.0" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "11996" + "11992" ], "x-ms-request-id": [ - "aa70b0fc-d0f7-41d4-8e82-58caa0c024ec" + "4fe4817a-40cd-438a-973e-c523ea5a6142" ], "x-ms-correlation-request-id": [ - "aa70b0fc-d0f7-41d4-8e82-58caa0c024ec" + "4fe4817a-40cd-438a-973e-c523ea5a6142" ], "x-ms-routing-request-id": [ - "WESTUS2:20210303T173728Z:aa70b0fc-d0f7-41d4-8e82-58caa0c024ec" + "WESTUS2:20210616T070445Z:4fe4817a-40cd-438a-973e-c523ea5a6142" ], "X-Content-Type-Options": [ "nosniff" ], "Date": [ - "Wed, 03 Mar 2021 17:37:27 GMT" + "Wed, 16 Jun 2021 07:04:45 GMT" ], "Content-Length": [ "21" @@ -525,16 +604,16 @@ "StatusCode": 200 }, { - "RequestUri": "/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/providers/Microsoft.DocumentDB/locations/westus2/operationsStatus/50a94b4c-fb92-4bd1-9d3c-1fda8d9f4b5f?api-version=2021-03-01-preview", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvODBiZTM5NjEtMDUyMS00YTBhLTg1NzAtNWNkNWE0ZTJmOThjL3Byb3ZpZGVycy9NaWNyb3NvZnQuRG9jdW1lbnREQi9sb2NhdGlvbnMvd2VzdHVzMi9vcGVyYXRpb25zU3RhdHVzLzUwYTk0YjRjLWZiOTItNGJkMS05ZDNjLTFmZGE4ZDlmNGI1Zj9hcGktdmVyc2lvbj0yMDIxLTAzLTAxLXByZXZpZXc=", + "RequestUri": "/subscriptions/259fbb24-9bcd-4cfc-865c-fc33b22fe38a/providers/Microsoft.DocumentDB/locations/eastus2/operationsStatus/e29101ef-7d75-473a-9d92-75a120b6a65d?api-version=2021-06-15", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMjU5ZmJiMjQtOWJjZC00Y2ZjLTg2NWMtZmMzM2IyMmZlMzhhL3Byb3ZpZGVycy9NaWNyb3NvZnQuRG9jdW1lbnREQi9sb2NhdGlvbnMvZWFzdHVzMi9vcGVyYXRpb25zU3RhdHVzL2UyOTEwMWVmLTdkNzUtNDczYS05ZDkyLTc1YTEyMGI2YTY1ZD9hcGktdmVyc2lvbj0yMDIxLTA2LTE1", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { "User-Agent": [ - "FxVersion/5.0.321.7212", + "FxVersion/4.6.28207.03", "OSName/Windows", - "OSVersion/Microsoft.Windows.10.0.19042", - "Microsoft.Azure.Management.CosmosDB.CosmosDBManagementClient/2.0.0.0" + "OSVersion/Microsoft.Windows.10.0.19043.", + "Microsoft.Azure.Management.CosmosDB.CosmosDBManagementClient/3.0.0.0" ] }, "ResponseHeaders": { @@ -548,28 +627,28 @@ "max-age=31536000; includeSubDomains" ], "x-ms-gatewayversion": [ - "version=2.11.0" + "version=2.14.0" ], "Server": [ "Microsoft-HTTPAPI/2.0" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "11995" + "11991" ], "x-ms-request-id": [ - "201c4097-b960-4990-a1b0-0ee7b0730a6f" + "fc4303a0-29d9-46d5-8f8d-4481143136c3" ], "x-ms-correlation-request-id": [ - "201c4097-b960-4990-a1b0-0ee7b0730a6f" + "fc4303a0-29d9-46d5-8f8d-4481143136c3" ], "x-ms-routing-request-id": [ - "WESTUS2:20210303T173758Z:201c4097-b960-4990-a1b0-0ee7b0730a6f" + "WESTUS2:20210616T070516Z:fc4303a0-29d9-46d5-8f8d-4481143136c3" ], "X-Content-Type-Options": [ "nosniff" ], "Date": [ - "Wed, 03 Mar 2021 17:37:58 GMT" + "Wed, 16 Jun 2021 07:05:15 GMT" ], "Content-Length": [ "21" @@ -582,16 +661,16 @@ "StatusCode": 200 }, { - "RequestUri": "/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/providers/Microsoft.DocumentDB/locations/westus2/operationsStatus/50a94b4c-fb92-4bd1-9d3c-1fda8d9f4b5f?api-version=2021-03-01-preview", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvODBiZTM5NjEtMDUyMS00YTBhLTg1NzAtNWNkNWE0ZTJmOThjL3Byb3ZpZGVycy9NaWNyb3NvZnQuRG9jdW1lbnREQi9sb2NhdGlvbnMvd2VzdHVzMi9vcGVyYXRpb25zU3RhdHVzLzUwYTk0YjRjLWZiOTItNGJkMS05ZDNjLTFmZGE4ZDlmNGI1Zj9hcGktdmVyc2lvbj0yMDIxLTAzLTAxLXByZXZpZXc=", + "RequestUri": "/subscriptions/259fbb24-9bcd-4cfc-865c-fc33b22fe38a/providers/Microsoft.DocumentDB/locations/eastus2/operationsStatus/e29101ef-7d75-473a-9d92-75a120b6a65d?api-version=2021-06-15", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMjU5ZmJiMjQtOWJjZC00Y2ZjLTg2NWMtZmMzM2IyMmZlMzhhL3Byb3ZpZGVycy9NaWNyb3NvZnQuRG9jdW1lbnREQi9sb2NhdGlvbnMvZWFzdHVzMi9vcGVyYXRpb25zU3RhdHVzL2UyOTEwMWVmLTdkNzUtNDczYS05ZDkyLTc1YTEyMGI2YTY1ZD9hcGktdmVyc2lvbj0yMDIxLTA2LTE1", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { "User-Agent": [ - "FxVersion/5.0.321.7212", + "FxVersion/4.6.28207.03", "OSName/Windows", - "OSVersion/Microsoft.Windows.10.0.19042", - "Microsoft.Azure.Management.CosmosDB.CosmosDBManagementClient/2.0.0.0" + "OSVersion/Microsoft.Windows.10.0.19043.", + "Microsoft.Azure.Management.CosmosDB.CosmosDBManagementClient/3.0.0.0" ] }, "ResponseHeaders": { @@ -605,28 +684,28 @@ "max-age=31536000; includeSubDomains" ], "x-ms-gatewayversion": [ - "version=2.11.0" + "version=2.14.0" ], "Server": [ "Microsoft-HTTPAPI/2.0" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "11994" + "11990" ], "x-ms-request-id": [ - "8e86d3fa-404c-4e40-aaaa-65cfbfecf26c" + "f6311a65-6579-4012-a87e-6d945ddf42e6" ], "x-ms-correlation-request-id": [ - "8e86d3fa-404c-4e40-aaaa-65cfbfecf26c" + "f6311a65-6579-4012-a87e-6d945ddf42e6" ], "x-ms-routing-request-id": [ - "WESTUS2:20210303T173828Z:8e86d3fa-404c-4e40-aaaa-65cfbfecf26c" + "WESTUS2:20210616T070546Z:f6311a65-6579-4012-a87e-6d945ddf42e6" ], "X-Content-Type-Options": [ "nosniff" ], "Date": [ - "Wed, 03 Mar 2021 17:38:27 GMT" + "Wed, 16 Jun 2021 07:05:45 GMT" ], "Content-Length": [ "21" @@ -639,16 +718,16 @@ "StatusCode": 200 }, { - "RequestUri": "/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/providers/Microsoft.DocumentDB/locations/westus2/operationsStatus/50a94b4c-fb92-4bd1-9d3c-1fda8d9f4b5f?api-version=2021-03-01-preview", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvODBiZTM5NjEtMDUyMS00YTBhLTg1NzAtNWNkNWE0ZTJmOThjL3Byb3ZpZGVycy9NaWNyb3NvZnQuRG9jdW1lbnREQi9sb2NhdGlvbnMvd2VzdHVzMi9vcGVyYXRpb25zU3RhdHVzLzUwYTk0YjRjLWZiOTItNGJkMS05ZDNjLTFmZGE4ZDlmNGI1Zj9hcGktdmVyc2lvbj0yMDIxLTAzLTAxLXByZXZpZXc=", + "RequestUri": "/subscriptions/259fbb24-9bcd-4cfc-865c-fc33b22fe38a/providers/Microsoft.DocumentDB/locations/eastus2/operationsStatus/e29101ef-7d75-473a-9d92-75a120b6a65d?api-version=2021-06-15", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMjU5ZmJiMjQtOWJjZC00Y2ZjLTg2NWMtZmMzM2IyMmZlMzhhL3Byb3ZpZGVycy9NaWNyb3NvZnQuRG9jdW1lbnREQi9sb2NhdGlvbnMvZWFzdHVzMi9vcGVyYXRpb25zU3RhdHVzL2UyOTEwMWVmLTdkNzUtNDczYS05ZDkyLTc1YTEyMGI2YTY1ZD9hcGktdmVyc2lvbj0yMDIxLTA2LTE1", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { "User-Agent": [ - "FxVersion/5.0.321.7212", + "FxVersion/4.6.28207.03", "OSName/Windows", - "OSVersion/Microsoft.Windows.10.0.19042", - "Microsoft.Azure.Management.CosmosDB.CosmosDBManagementClient/2.0.0.0" + "OSVersion/Microsoft.Windows.10.0.19043.", + "Microsoft.Azure.Management.CosmosDB.CosmosDBManagementClient/3.0.0.0" ] }, "ResponseHeaders": { @@ -662,28 +741,28 @@ "max-age=31536000; includeSubDomains" ], "x-ms-gatewayversion": [ - "version=2.11.0" + "version=2.14.0" ], "Server": [ "Microsoft-HTTPAPI/2.0" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "11993" + "11989" ], "x-ms-request-id": [ - "e7db80e0-8f7f-48ac-b0db-c9f05ff90a2d" + "c2d4ad20-7393-433e-b944-f530b4993b5f" ], "x-ms-correlation-request-id": [ - "e7db80e0-8f7f-48ac-b0db-c9f05ff90a2d" + "c2d4ad20-7393-433e-b944-f530b4993b5f" ], "x-ms-routing-request-id": [ - "WESTUS2:20210303T173858Z:e7db80e0-8f7f-48ac-b0db-c9f05ff90a2d" + "WESTUS2:20210616T070616Z:c2d4ad20-7393-433e-b944-f530b4993b5f" ], "X-Content-Type-Options": [ "nosniff" ], "Date": [ - "Wed, 03 Mar 2021 17:38:58 GMT" + "Wed, 16 Jun 2021 07:06:15 GMT" ], "Content-Length": [ "21" @@ -696,16 +775,16 @@ "StatusCode": 200 }, { - "RequestUri": "/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/providers/Microsoft.DocumentDB/locations/westus2/operationsStatus/50a94b4c-fb92-4bd1-9d3c-1fda8d9f4b5f?api-version=2021-03-01-preview", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvODBiZTM5NjEtMDUyMS00YTBhLTg1NzAtNWNkNWE0ZTJmOThjL3Byb3ZpZGVycy9NaWNyb3NvZnQuRG9jdW1lbnREQi9sb2NhdGlvbnMvd2VzdHVzMi9vcGVyYXRpb25zU3RhdHVzLzUwYTk0YjRjLWZiOTItNGJkMS05ZDNjLTFmZGE4ZDlmNGI1Zj9hcGktdmVyc2lvbj0yMDIxLTAzLTAxLXByZXZpZXc=", + "RequestUri": "/subscriptions/259fbb24-9bcd-4cfc-865c-fc33b22fe38a/providers/Microsoft.DocumentDB/locations/eastus2/operationsStatus/e29101ef-7d75-473a-9d92-75a120b6a65d?api-version=2021-06-15", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMjU5ZmJiMjQtOWJjZC00Y2ZjLTg2NWMtZmMzM2IyMmZlMzhhL3Byb3ZpZGVycy9NaWNyb3NvZnQuRG9jdW1lbnREQi9sb2NhdGlvbnMvZWFzdHVzMi9vcGVyYXRpb25zU3RhdHVzL2UyOTEwMWVmLTdkNzUtNDczYS05ZDkyLTc1YTEyMGI2YTY1ZD9hcGktdmVyc2lvbj0yMDIxLTA2LTE1", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { "User-Agent": [ - "FxVersion/5.0.321.7212", + "FxVersion/4.6.28207.03", "OSName/Windows", - "OSVersion/Microsoft.Windows.10.0.19042", - "Microsoft.Azure.Management.CosmosDB.CosmosDBManagementClient/2.0.0.0" + "OSVersion/Microsoft.Windows.10.0.19043.", + "Microsoft.Azure.Management.CosmosDB.CosmosDBManagementClient/3.0.0.0" ] }, "ResponseHeaders": { @@ -719,28 +798,28 @@ "max-age=31536000; includeSubDomains" ], "x-ms-gatewayversion": [ - "version=2.11.0" + "version=2.14.0" ], "Server": [ "Microsoft-HTTPAPI/2.0" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "11992" + "11988" ], "x-ms-request-id": [ - "57fd8e6e-b6c1-405b-bca8-a74c024600ca" + "b382520b-03f0-40d2-9235-7da2e4d8bfb5" ], "x-ms-correlation-request-id": [ - "57fd8e6e-b6c1-405b-bca8-a74c024600ca" + "b382520b-03f0-40d2-9235-7da2e4d8bfb5" ], "x-ms-routing-request-id": [ - "WESTUS2:20210303T173928Z:57fd8e6e-b6c1-405b-bca8-a74c024600ca" + "WESTUS2:20210616T070646Z:b382520b-03f0-40d2-9235-7da2e4d8bfb5" ], "X-Content-Type-Options": [ "nosniff" ], "Date": [ - "Wed, 03 Mar 2021 17:39:27 GMT" + "Wed, 16 Jun 2021 07:06:45 GMT" ], "Content-Length": [ "21" @@ -753,16 +832,16 @@ "StatusCode": 200 }, { - "RequestUri": "/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/providers/Microsoft.DocumentDB/locations/westus2/operationsStatus/50a94b4c-fb92-4bd1-9d3c-1fda8d9f4b5f?api-version=2021-03-01-preview", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvODBiZTM5NjEtMDUyMS00YTBhLTg1NzAtNWNkNWE0ZTJmOThjL3Byb3ZpZGVycy9NaWNyb3NvZnQuRG9jdW1lbnREQi9sb2NhdGlvbnMvd2VzdHVzMi9vcGVyYXRpb25zU3RhdHVzLzUwYTk0YjRjLWZiOTItNGJkMS05ZDNjLTFmZGE4ZDlmNGI1Zj9hcGktdmVyc2lvbj0yMDIxLTAzLTAxLXByZXZpZXc=", + "RequestUri": "/subscriptions/259fbb24-9bcd-4cfc-865c-fc33b22fe38a/providers/Microsoft.DocumentDB/locations/eastus2/operationsStatus/e29101ef-7d75-473a-9d92-75a120b6a65d?api-version=2021-06-15", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMjU5ZmJiMjQtOWJjZC00Y2ZjLTg2NWMtZmMzM2IyMmZlMzhhL3Byb3ZpZGVycy9NaWNyb3NvZnQuRG9jdW1lbnREQi9sb2NhdGlvbnMvZWFzdHVzMi9vcGVyYXRpb25zU3RhdHVzL2UyOTEwMWVmLTdkNzUtNDczYS05ZDkyLTc1YTEyMGI2YTY1ZD9hcGktdmVyc2lvbj0yMDIxLTA2LTE1", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { "User-Agent": [ - "FxVersion/5.0.321.7212", + "FxVersion/4.6.28207.03", "OSName/Windows", - "OSVersion/Microsoft.Windows.10.0.19042", - "Microsoft.Azure.Management.CosmosDB.CosmosDBManagementClient/2.0.0.0" + "OSVersion/Microsoft.Windows.10.0.19043.", + "Microsoft.Azure.Management.CosmosDB.CosmosDBManagementClient/3.0.0.0" ] }, "ResponseHeaders": { @@ -776,28 +855,28 @@ "max-age=31536000; includeSubDomains" ], "x-ms-gatewayversion": [ - "version=2.11.0" + "version=2.14.0" ], "Server": [ "Microsoft-HTTPAPI/2.0" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "11991" + "11987" ], "x-ms-request-id": [ - "ce517e65-e0c3-4370-8993-be8b6917918a" + "e8050f3f-8483-4052-bc3d-bb2b04372a24" ], "x-ms-correlation-request-id": [ - "ce517e65-e0c3-4370-8993-be8b6917918a" + "e8050f3f-8483-4052-bc3d-bb2b04372a24" ], "x-ms-routing-request-id": [ - "WESTUS2:20210303T173958Z:ce517e65-e0c3-4370-8993-be8b6917918a" + "WESTUS2:20210616T070716Z:e8050f3f-8483-4052-bc3d-bb2b04372a24" ], "X-Content-Type-Options": [ "nosniff" ], "Date": [ - "Wed, 03 Mar 2021 17:39:58 GMT" + "Wed, 16 Jun 2021 07:07:16 GMT" ], "Content-Length": [ "21" @@ -810,16 +889,16 @@ "StatusCode": 200 }, { - "RequestUri": "/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/providers/Microsoft.DocumentDB/locations/westus2/operationsStatus/50a94b4c-fb92-4bd1-9d3c-1fda8d9f4b5f?api-version=2021-03-01-preview", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvODBiZTM5NjEtMDUyMS00YTBhLTg1NzAtNWNkNWE0ZTJmOThjL3Byb3ZpZGVycy9NaWNyb3NvZnQuRG9jdW1lbnREQi9sb2NhdGlvbnMvd2VzdHVzMi9vcGVyYXRpb25zU3RhdHVzLzUwYTk0YjRjLWZiOTItNGJkMS05ZDNjLTFmZGE4ZDlmNGI1Zj9hcGktdmVyc2lvbj0yMDIxLTAzLTAxLXByZXZpZXc=", + "RequestUri": "/subscriptions/259fbb24-9bcd-4cfc-865c-fc33b22fe38a/providers/Microsoft.DocumentDB/locations/eastus2/operationsStatus/e29101ef-7d75-473a-9d92-75a120b6a65d?api-version=2021-06-15", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMjU5ZmJiMjQtOWJjZC00Y2ZjLTg2NWMtZmMzM2IyMmZlMzhhL3Byb3ZpZGVycy9NaWNyb3NvZnQuRG9jdW1lbnREQi9sb2NhdGlvbnMvZWFzdHVzMi9vcGVyYXRpb25zU3RhdHVzL2UyOTEwMWVmLTdkNzUtNDczYS05ZDkyLTc1YTEyMGI2YTY1ZD9hcGktdmVyc2lvbj0yMDIxLTA2LTE1", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { "User-Agent": [ - "FxVersion/5.0.321.7212", + "FxVersion/4.6.28207.03", "OSName/Windows", - "OSVersion/Microsoft.Windows.10.0.19042", - "Microsoft.Azure.Management.CosmosDB.CosmosDBManagementClient/2.0.0.0" + "OSVersion/Microsoft.Windows.10.0.19043.", + "Microsoft.Azure.Management.CosmosDB.CosmosDBManagementClient/3.0.0.0" ] }, "ResponseHeaders": { @@ -833,28 +912,28 @@ "max-age=31536000; includeSubDomains" ], "x-ms-gatewayversion": [ - "version=2.11.0" + "version=2.14.0" ], "Server": [ "Microsoft-HTTPAPI/2.0" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "11990" + "11986" ], "x-ms-request-id": [ - "1e1f1882-d747-4572-98bb-aea68500b442" + "d6276334-c280-4184-9019-155fd408fd48" ], "x-ms-correlation-request-id": [ - "1e1f1882-d747-4572-98bb-aea68500b442" + "d6276334-c280-4184-9019-155fd408fd48" ], "x-ms-routing-request-id": [ - "WESTUS2:20210303T174028Z:1e1f1882-d747-4572-98bb-aea68500b442" + "WESTUS2:20210616T070746Z:d6276334-c280-4184-9019-155fd408fd48" ], "X-Content-Type-Options": [ "nosniff" ], "Date": [ - "Wed, 03 Mar 2021 17:40:27 GMT" + "Wed, 16 Jun 2021 07:07:46 GMT" ], "Content-Length": [ "21" @@ -867,16 +946,16 @@ "StatusCode": 200 }, { - "RequestUri": "/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/providers/Microsoft.DocumentDB/locations/westus2/operationsStatus/50a94b4c-fb92-4bd1-9d3c-1fda8d9f4b5f?api-version=2021-03-01-preview", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvODBiZTM5NjEtMDUyMS00YTBhLTg1NzAtNWNkNWE0ZTJmOThjL3Byb3ZpZGVycy9NaWNyb3NvZnQuRG9jdW1lbnREQi9sb2NhdGlvbnMvd2VzdHVzMi9vcGVyYXRpb25zU3RhdHVzLzUwYTk0YjRjLWZiOTItNGJkMS05ZDNjLTFmZGE4ZDlmNGI1Zj9hcGktdmVyc2lvbj0yMDIxLTAzLTAxLXByZXZpZXc=", + "RequestUri": "/subscriptions/259fbb24-9bcd-4cfc-865c-fc33b22fe38a/providers/Microsoft.DocumentDB/locations/eastus2/operationsStatus/e29101ef-7d75-473a-9d92-75a120b6a65d?api-version=2021-06-15", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMjU5ZmJiMjQtOWJjZC00Y2ZjLTg2NWMtZmMzM2IyMmZlMzhhL3Byb3ZpZGVycy9NaWNyb3NvZnQuRG9jdW1lbnREQi9sb2NhdGlvbnMvZWFzdHVzMi9vcGVyYXRpb25zU3RhdHVzL2UyOTEwMWVmLTdkNzUtNDczYS05ZDkyLTc1YTEyMGI2YTY1ZD9hcGktdmVyc2lvbj0yMDIxLTA2LTE1", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { "User-Agent": [ - "FxVersion/5.0.321.7212", + "FxVersion/4.6.28207.03", "OSName/Windows", - "OSVersion/Microsoft.Windows.10.0.19042", - "Microsoft.Azure.Management.CosmosDB.CosmosDBManagementClient/2.0.0.0" + "OSVersion/Microsoft.Windows.10.0.19043.", + "Microsoft.Azure.Management.CosmosDB.CosmosDBManagementClient/3.0.0.0" ] }, "ResponseHeaders": { @@ -890,28 +969,28 @@ "max-age=31536000; includeSubDomains" ], "x-ms-gatewayversion": [ - "version=2.11.0" + "version=2.14.0" ], "Server": [ "Microsoft-HTTPAPI/2.0" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "11989" + "11985" ], "x-ms-request-id": [ - "f4510f25-6088-4597-b78f-9de54576263e" + "6b1358b4-6ea1-4799-840b-617fc091bb37" ], "x-ms-correlation-request-id": [ - "f4510f25-6088-4597-b78f-9de54576263e" + "6b1358b4-6ea1-4799-840b-617fc091bb37" ], "x-ms-routing-request-id": [ - "WESTUS2:20210303T174058Z:f4510f25-6088-4597-b78f-9de54576263e" + "WESTUS2:20210616T070816Z:6b1358b4-6ea1-4799-840b-617fc091bb37" ], "X-Content-Type-Options": [ "nosniff" ], "Date": [ - "Wed, 03 Mar 2021 17:40:57 GMT" + "Wed, 16 Jun 2021 07:08:16 GMT" ], "Content-Length": [ "21" @@ -924,16 +1003,16 @@ "StatusCode": 200 }, { - "RequestUri": "/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/providers/Microsoft.DocumentDB/locations/westus2/operationsStatus/50a94b4c-fb92-4bd1-9d3c-1fda8d9f4b5f?api-version=2021-03-01-preview", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvODBiZTM5NjEtMDUyMS00YTBhLTg1NzAtNWNkNWE0ZTJmOThjL3Byb3ZpZGVycy9NaWNyb3NvZnQuRG9jdW1lbnREQi9sb2NhdGlvbnMvd2VzdHVzMi9vcGVyYXRpb25zU3RhdHVzLzUwYTk0YjRjLWZiOTItNGJkMS05ZDNjLTFmZGE4ZDlmNGI1Zj9hcGktdmVyc2lvbj0yMDIxLTAzLTAxLXByZXZpZXc=", + "RequestUri": "/subscriptions/259fbb24-9bcd-4cfc-865c-fc33b22fe38a/providers/Microsoft.DocumentDB/locations/eastus2/operationsStatus/e29101ef-7d75-473a-9d92-75a120b6a65d?api-version=2021-06-15", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMjU5ZmJiMjQtOWJjZC00Y2ZjLTg2NWMtZmMzM2IyMmZlMzhhL3Byb3ZpZGVycy9NaWNyb3NvZnQuRG9jdW1lbnREQi9sb2NhdGlvbnMvZWFzdHVzMi9vcGVyYXRpb25zU3RhdHVzL2UyOTEwMWVmLTdkNzUtNDczYS05ZDkyLTc1YTEyMGI2YTY1ZD9hcGktdmVyc2lvbj0yMDIxLTA2LTE1", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { "User-Agent": [ - "FxVersion/5.0.321.7212", + "FxVersion/4.6.28207.03", "OSName/Windows", - "OSVersion/Microsoft.Windows.10.0.19042", - "Microsoft.Azure.Management.CosmosDB.CosmosDBManagementClient/2.0.0.0" + "OSVersion/Microsoft.Windows.10.0.19043.", + "Microsoft.Azure.Management.CosmosDB.CosmosDBManagementClient/3.0.0.0" ] }, "ResponseHeaders": { @@ -947,28 +1026,28 @@ "max-age=31536000; includeSubDomains" ], "x-ms-gatewayversion": [ - "version=2.11.0" + "version=2.14.0" ], "Server": [ "Microsoft-HTTPAPI/2.0" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "11988" + "11984" ], "x-ms-request-id": [ - "c996dbaf-5bae-4195-85b2-e96223d0a14f" + "1cabeae1-ed26-4e25-99da-fd87b4334de2" ], "x-ms-correlation-request-id": [ - "c996dbaf-5bae-4195-85b2-e96223d0a14f" + "1cabeae1-ed26-4e25-99da-fd87b4334de2" ], "x-ms-routing-request-id": [ - "WESTUS2:20210303T174128Z:c996dbaf-5bae-4195-85b2-e96223d0a14f" + "WESTUS2:20210616T070847Z:1cabeae1-ed26-4e25-99da-fd87b4334de2" ], "X-Content-Type-Options": [ "nosniff" ], "Date": [ - "Wed, 03 Mar 2021 17:41:28 GMT" + "Wed, 16 Jun 2021 07:08:46 GMT" ], "Content-Length": [ "21" @@ -981,16 +1060,16 @@ "StatusCode": 200 }, { - "RequestUri": "/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/providers/Microsoft.DocumentDB/locations/westus2/operationsStatus/50a94b4c-fb92-4bd1-9d3c-1fda8d9f4b5f?api-version=2021-03-01-preview", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvODBiZTM5NjEtMDUyMS00YTBhLTg1NzAtNWNkNWE0ZTJmOThjL3Byb3ZpZGVycy9NaWNyb3NvZnQuRG9jdW1lbnREQi9sb2NhdGlvbnMvd2VzdHVzMi9vcGVyYXRpb25zU3RhdHVzLzUwYTk0YjRjLWZiOTItNGJkMS05ZDNjLTFmZGE4ZDlmNGI1Zj9hcGktdmVyc2lvbj0yMDIxLTAzLTAxLXByZXZpZXc=", + "RequestUri": "/subscriptions/259fbb24-9bcd-4cfc-865c-fc33b22fe38a/providers/Microsoft.DocumentDB/locations/eastus2/operationsStatus/e29101ef-7d75-473a-9d92-75a120b6a65d?api-version=2021-06-15", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMjU5ZmJiMjQtOWJjZC00Y2ZjLTg2NWMtZmMzM2IyMmZlMzhhL3Byb3ZpZGVycy9NaWNyb3NvZnQuRG9jdW1lbnREQi9sb2NhdGlvbnMvZWFzdHVzMi9vcGVyYXRpb25zU3RhdHVzL2UyOTEwMWVmLTdkNzUtNDczYS05ZDkyLTc1YTEyMGI2YTY1ZD9hcGktdmVyc2lvbj0yMDIxLTA2LTE1", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { "User-Agent": [ - "FxVersion/5.0.321.7212", + "FxVersion/4.6.28207.03", "OSName/Windows", - "OSVersion/Microsoft.Windows.10.0.19042", - "Microsoft.Azure.Management.CosmosDB.CosmosDBManagementClient/2.0.0.0" + "OSVersion/Microsoft.Windows.10.0.19043.", + "Microsoft.Azure.Management.CosmosDB.CosmosDBManagementClient/3.0.0.0" ] }, "ResponseHeaders": { @@ -1004,28 +1083,28 @@ "max-age=31536000; includeSubDomains" ], "x-ms-gatewayversion": [ - "version=2.11.0" + "version=2.14.0" ], "Server": [ "Microsoft-HTTPAPI/2.0" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "11987" + "11983" ], "x-ms-request-id": [ - "eaf15d7b-a65e-4fb0-af26-539325dd4fd5" + "7ff19b7c-f950-4b5f-bad2-86b59e3eb6cc" ], "x-ms-correlation-request-id": [ - "eaf15d7b-a65e-4fb0-af26-539325dd4fd5" + "7ff19b7c-f950-4b5f-bad2-86b59e3eb6cc" ], "x-ms-routing-request-id": [ - "WESTUS2:20210303T174158Z:eaf15d7b-a65e-4fb0-af26-539325dd4fd5" + "WESTUS2:20210616T070917Z:7ff19b7c-f950-4b5f-bad2-86b59e3eb6cc" ], "X-Content-Type-Options": [ "nosniff" ], "Date": [ - "Wed, 03 Mar 2021 17:41:57 GMT" + "Wed, 16 Jun 2021 07:09:16 GMT" ], "Content-Length": [ "21" @@ -1038,16 +1117,16 @@ "StatusCode": 200 }, { - "RequestUri": "/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/providers/Microsoft.DocumentDB/locations/westus2/operationsStatus/50a94b4c-fb92-4bd1-9d3c-1fda8d9f4b5f?api-version=2021-03-01-preview", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvODBiZTM5NjEtMDUyMS00YTBhLTg1NzAtNWNkNWE0ZTJmOThjL3Byb3ZpZGVycy9NaWNyb3NvZnQuRG9jdW1lbnREQi9sb2NhdGlvbnMvd2VzdHVzMi9vcGVyYXRpb25zU3RhdHVzLzUwYTk0YjRjLWZiOTItNGJkMS05ZDNjLTFmZGE4ZDlmNGI1Zj9hcGktdmVyc2lvbj0yMDIxLTAzLTAxLXByZXZpZXc=", + "RequestUri": "/subscriptions/259fbb24-9bcd-4cfc-865c-fc33b22fe38a/providers/Microsoft.DocumentDB/locations/eastus2/operationsStatus/e29101ef-7d75-473a-9d92-75a120b6a65d?api-version=2021-06-15", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMjU5ZmJiMjQtOWJjZC00Y2ZjLTg2NWMtZmMzM2IyMmZlMzhhL3Byb3ZpZGVycy9NaWNyb3NvZnQuRG9jdW1lbnREQi9sb2NhdGlvbnMvZWFzdHVzMi9vcGVyYXRpb25zU3RhdHVzL2UyOTEwMWVmLTdkNzUtNDczYS05ZDkyLTc1YTEyMGI2YTY1ZD9hcGktdmVyc2lvbj0yMDIxLTA2LTE1", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { "User-Agent": [ - "FxVersion/5.0.321.7212", + "FxVersion/4.6.28207.03", "OSName/Windows", - "OSVersion/Microsoft.Windows.10.0.19042", - "Microsoft.Azure.Management.CosmosDB.CosmosDBManagementClient/2.0.0.0" + "OSVersion/Microsoft.Windows.10.0.19043.", + "Microsoft.Azure.Management.CosmosDB.CosmosDBManagementClient/3.0.0.0" ] }, "ResponseHeaders": { @@ -1061,28 +1140,28 @@ "max-age=31536000; includeSubDomains" ], "x-ms-gatewayversion": [ - "version=2.11.0" + "version=2.14.0" ], "Server": [ "Microsoft-HTTPAPI/2.0" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "11986" + "11982" ], "x-ms-request-id": [ - "e5c4b227-4d75-4970-aa26-aa14c14b0324" + "9efc11c7-4d20-466f-bfa0-09acbc82edc4" ], "x-ms-correlation-request-id": [ - "e5c4b227-4d75-4970-aa26-aa14c14b0324" + "9efc11c7-4d20-466f-bfa0-09acbc82edc4" ], "x-ms-routing-request-id": [ - "WESTUS2:20210303T174228Z:e5c4b227-4d75-4970-aa26-aa14c14b0324" + "WESTUS2:20210616T070947Z:9efc11c7-4d20-466f-bfa0-09acbc82edc4" ], "X-Content-Type-Options": [ "nosniff" ], "Date": [ - "Wed, 03 Mar 2021 17:42:28 GMT" + "Wed, 16 Jun 2021 07:09:47 GMT" ], "Content-Length": [ "21" @@ -1095,16 +1174,16 @@ "StatusCode": 200 }, { - "RequestUri": "/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/providers/Microsoft.DocumentDB/locations/westus2/operationsStatus/50a94b4c-fb92-4bd1-9d3c-1fda8d9f4b5f?api-version=2021-03-01-preview", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvODBiZTM5NjEtMDUyMS00YTBhLTg1NzAtNWNkNWE0ZTJmOThjL3Byb3ZpZGVycy9NaWNyb3NvZnQuRG9jdW1lbnREQi9sb2NhdGlvbnMvd2VzdHVzMi9vcGVyYXRpb25zU3RhdHVzLzUwYTk0YjRjLWZiOTItNGJkMS05ZDNjLTFmZGE4ZDlmNGI1Zj9hcGktdmVyc2lvbj0yMDIxLTAzLTAxLXByZXZpZXc=", + "RequestUri": "/subscriptions/259fbb24-9bcd-4cfc-865c-fc33b22fe38a/providers/Microsoft.DocumentDB/locations/eastus2/operationsStatus/e29101ef-7d75-473a-9d92-75a120b6a65d?api-version=2021-06-15", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMjU5ZmJiMjQtOWJjZC00Y2ZjLTg2NWMtZmMzM2IyMmZlMzhhL3Byb3ZpZGVycy9NaWNyb3NvZnQuRG9jdW1lbnREQi9sb2NhdGlvbnMvZWFzdHVzMi9vcGVyYXRpb25zU3RhdHVzL2UyOTEwMWVmLTdkNzUtNDczYS05ZDkyLTc1YTEyMGI2YTY1ZD9hcGktdmVyc2lvbj0yMDIxLTA2LTE1", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { "User-Agent": [ - "FxVersion/5.0.321.7212", + "FxVersion/4.6.28207.03", "OSName/Windows", - "OSVersion/Microsoft.Windows.10.0.19042", - "Microsoft.Azure.Management.CosmosDB.CosmosDBManagementClient/2.0.0.0" + "OSVersion/Microsoft.Windows.10.0.19043.", + "Microsoft.Azure.Management.CosmosDB.CosmosDBManagementClient/3.0.0.0" ] }, "ResponseHeaders": { @@ -1118,28 +1197,28 @@ "max-age=31536000; includeSubDomains" ], "x-ms-gatewayversion": [ - "version=2.11.0" + "version=2.14.0" ], "Server": [ "Microsoft-HTTPAPI/2.0" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "11985" + "11981" ], "x-ms-request-id": [ - "1eaf1ad3-028f-4f08-972f-36d034e5d403" + "937359e5-71bb-4ad6-820c-ade31c78b1e5" ], "x-ms-correlation-request-id": [ - "1eaf1ad3-028f-4f08-972f-36d034e5d403" + "937359e5-71bb-4ad6-820c-ade31c78b1e5" ], "x-ms-routing-request-id": [ - "WESTUS2:20210303T174258Z:1eaf1ad3-028f-4f08-972f-36d034e5d403" + "WESTUS2:20210616T071017Z:937359e5-71bb-4ad6-820c-ade31c78b1e5" ], "X-Content-Type-Options": [ "nosniff" ], "Date": [ - "Wed, 03 Mar 2021 17:42:58 GMT" + "Wed, 16 Jun 2021 07:10:17 GMT" ], "Content-Length": [ "21" @@ -1152,16 +1231,16 @@ "StatusCode": 200 }, { - "RequestUri": "/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/providers/Microsoft.DocumentDB/locations/westus2/operationsStatus/50a94b4c-fb92-4bd1-9d3c-1fda8d9f4b5f?api-version=2021-03-01-preview", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvODBiZTM5NjEtMDUyMS00YTBhLTg1NzAtNWNkNWE0ZTJmOThjL3Byb3ZpZGVycy9NaWNyb3NvZnQuRG9jdW1lbnREQi9sb2NhdGlvbnMvd2VzdHVzMi9vcGVyYXRpb25zU3RhdHVzLzUwYTk0YjRjLWZiOTItNGJkMS05ZDNjLTFmZGE4ZDlmNGI1Zj9hcGktdmVyc2lvbj0yMDIxLTAzLTAxLXByZXZpZXc=", + "RequestUri": "/subscriptions/259fbb24-9bcd-4cfc-865c-fc33b22fe38a/providers/Microsoft.DocumentDB/locations/eastus2/operationsStatus/e29101ef-7d75-473a-9d92-75a120b6a65d?api-version=2021-06-15", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMjU5ZmJiMjQtOWJjZC00Y2ZjLTg2NWMtZmMzM2IyMmZlMzhhL3Byb3ZpZGVycy9NaWNyb3NvZnQuRG9jdW1lbnREQi9sb2NhdGlvbnMvZWFzdHVzMi9vcGVyYXRpb25zU3RhdHVzL2UyOTEwMWVmLTdkNzUtNDczYS05ZDkyLTc1YTEyMGI2YTY1ZD9hcGktdmVyc2lvbj0yMDIxLTA2LTE1", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { "User-Agent": [ - "FxVersion/5.0.321.7212", + "FxVersion/4.6.28207.03", "OSName/Windows", - "OSVersion/Microsoft.Windows.10.0.19042", - "Microsoft.Azure.Management.CosmosDB.CosmosDBManagementClient/2.0.0.0" + "OSVersion/Microsoft.Windows.10.0.19043.", + "Microsoft.Azure.Management.CosmosDB.CosmosDBManagementClient/3.0.0.0" ] }, "ResponseHeaders": { @@ -1175,28 +1254,28 @@ "max-age=31536000; includeSubDomains" ], "x-ms-gatewayversion": [ - "version=2.11.0" + "version=2.14.0" ], "Server": [ "Microsoft-HTTPAPI/2.0" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "11984" + "11980" ], "x-ms-request-id": [ - "68e66183-6668-4129-aac0-e6f5ed022159" + "3c20ef59-ca4d-483f-8c7a-b5c503abab13" ], "x-ms-correlation-request-id": [ - "68e66183-6668-4129-aac0-e6f5ed022159" + "3c20ef59-ca4d-483f-8c7a-b5c503abab13" ], "x-ms-routing-request-id": [ - "WESTUS2:20210303T174328Z:68e66183-6668-4129-aac0-e6f5ed022159" + "WESTUS2:20210616T071047Z:3c20ef59-ca4d-483f-8c7a-b5c503abab13" ], "X-Content-Type-Options": [ "nosniff" ], "Date": [ - "Wed, 03 Mar 2021 17:43:28 GMT" + "Wed, 16 Jun 2021 07:10:46 GMT" ], "Content-Length": [ "21" @@ -1209,16 +1288,16 @@ "StatusCode": 200 }, { - "RequestUri": "/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/providers/Microsoft.DocumentDB/locations/westus2/operationsStatus/50a94b4c-fb92-4bd1-9d3c-1fda8d9f4b5f?api-version=2021-03-01-preview", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvODBiZTM5NjEtMDUyMS00YTBhLTg1NzAtNWNkNWE0ZTJmOThjL3Byb3ZpZGVycy9NaWNyb3NvZnQuRG9jdW1lbnREQi9sb2NhdGlvbnMvd2VzdHVzMi9vcGVyYXRpb25zU3RhdHVzLzUwYTk0YjRjLWZiOTItNGJkMS05ZDNjLTFmZGE4ZDlmNGI1Zj9hcGktdmVyc2lvbj0yMDIxLTAzLTAxLXByZXZpZXc=", + "RequestUri": "/subscriptions/259fbb24-9bcd-4cfc-865c-fc33b22fe38a/providers/Microsoft.DocumentDB/locations/eastus2/operationsStatus/e29101ef-7d75-473a-9d92-75a120b6a65d?api-version=2021-06-15", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMjU5ZmJiMjQtOWJjZC00Y2ZjLTg2NWMtZmMzM2IyMmZlMzhhL3Byb3ZpZGVycy9NaWNyb3NvZnQuRG9jdW1lbnREQi9sb2NhdGlvbnMvZWFzdHVzMi9vcGVyYXRpb25zU3RhdHVzL2UyOTEwMWVmLTdkNzUtNDczYS05ZDkyLTc1YTEyMGI2YTY1ZD9hcGktdmVyc2lvbj0yMDIxLTA2LTE1", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { "User-Agent": [ - "FxVersion/5.0.321.7212", + "FxVersion/4.6.28207.03", "OSName/Windows", - "OSVersion/Microsoft.Windows.10.0.19042", - "Microsoft.Azure.Management.CosmosDB.CosmosDBManagementClient/2.0.0.0" + "OSVersion/Microsoft.Windows.10.0.19043.", + "Microsoft.Azure.Management.CosmosDB.CosmosDBManagementClient/3.0.0.0" ] }, "ResponseHeaders": { @@ -1232,28 +1311,28 @@ "max-age=31536000; includeSubDomains" ], "x-ms-gatewayversion": [ - "version=2.11.0" + "version=2.14.0" ], "Server": [ "Microsoft-HTTPAPI/2.0" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "11983" + "11979" ], "x-ms-request-id": [ - "338f3d72-f0a6-46a0-971f-554c86b07536" + "1ec524a3-2df4-45d2-b3f0-7b4e33e22d95" ], "x-ms-correlation-request-id": [ - "338f3d72-f0a6-46a0-971f-554c86b07536" + "1ec524a3-2df4-45d2-b3f0-7b4e33e22d95" ], "x-ms-routing-request-id": [ - "WESTUS2:20210303T174358Z:338f3d72-f0a6-46a0-971f-554c86b07536" + "WESTUS2:20210616T071117Z:1ec524a3-2df4-45d2-b3f0-7b4e33e22d95" ], "X-Content-Type-Options": [ "nosniff" ], "Date": [ - "Wed, 03 Mar 2021 17:43:58 GMT" + "Wed, 16 Jun 2021 07:11:17 GMT" ], "Content-Length": [ "21" @@ -1266,16 +1345,16 @@ "StatusCode": 200 }, { - "RequestUri": "/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/providers/Microsoft.DocumentDB/locations/westus2/operationsStatus/50a94b4c-fb92-4bd1-9d3c-1fda8d9f4b5f?api-version=2021-03-01-preview", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvODBiZTM5NjEtMDUyMS00YTBhLTg1NzAtNWNkNWE0ZTJmOThjL3Byb3ZpZGVycy9NaWNyb3NvZnQuRG9jdW1lbnREQi9sb2NhdGlvbnMvd2VzdHVzMi9vcGVyYXRpb25zU3RhdHVzLzUwYTk0YjRjLWZiOTItNGJkMS05ZDNjLTFmZGE4ZDlmNGI1Zj9hcGktdmVyc2lvbj0yMDIxLTAzLTAxLXByZXZpZXc=", + "RequestUri": "/subscriptions/259fbb24-9bcd-4cfc-865c-fc33b22fe38a/providers/Microsoft.DocumentDB/locations/eastus2/operationsStatus/e29101ef-7d75-473a-9d92-75a120b6a65d?api-version=2021-06-15", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMjU5ZmJiMjQtOWJjZC00Y2ZjLTg2NWMtZmMzM2IyMmZlMzhhL3Byb3ZpZGVycy9NaWNyb3NvZnQuRG9jdW1lbnREQi9sb2NhdGlvbnMvZWFzdHVzMi9vcGVyYXRpb25zU3RhdHVzL2UyOTEwMWVmLTdkNzUtNDczYS05ZDkyLTc1YTEyMGI2YTY1ZD9hcGktdmVyc2lvbj0yMDIxLTA2LTE1", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { "User-Agent": [ - "FxVersion/5.0.321.7212", + "FxVersion/4.6.28207.03", "OSName/Windows", - "OSVersion/Microsoft.Windows.10.0.19042", - "Microsoft.Azure.Management.CosmosDB.CosmosDBManagementClient/2.0.0.0" + "OSVersion/Microsoft.Windows.10.0.19043.", + "Microsoft.Azure.Management.CosmosDB.CosmosDBManagementClient/3.0.0.0" ] }, "ResponseHeaders": { @@ -1289,28 +1368,28 @@ "max-age=31536000; includeSubDomains" ], "x-ms-gatewayversion": [ - "version=2.11.0" + "version=2.14.0" ], "Server": [ "Microsoft-HTTPAPI/2.0" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "11982" + "11978" ], "x-ms-request-id": [ - "be490cfc-f879-4361-80e4-6d8056327b67" + "4530e5e4-ab56-4395-9ec5-ac93c0fbcab1" ], "x-ms-correlation-request-id": [ - "be490cfc-f879-4361-80e4-6d8056327b67" + "4530e5e4-ab56-4395-9ec5-ac93c0fbcab1" ], "x-ms-routing-request-id": [ - "WESTUS2:20210303T174428Z:be490cfc-f879-4361-80e4-6d8056327b67" + "WESTUS2:20210616T071147Z:4530e5e4-ab56-4395-9ec5-ac93c0fbcab1" ], "X-Content-Type-Options": [ "nosniff" ], "Date": [ - "Wed, 03 Mar 2021 17:44:28 GMT" + "Wed, 16 Jun 2021 07:11:47 GMT" ], "Content-Length": [ "21" @@ -1323,16 +1402,16 @@ "StatusCode": 200 }, { - "RequestUri": "/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/providers/Microsoft.DocumentDB/locations/westus2/operationsStatus/50a94b4c-fb92-4bd1-9d3c-1fda8d9f4b5f?api-version=2021-03-01-preview", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvODBiZTM5NjEtMDUyMS00YTBhLTg1NzAtNWNkNWE0ZTJmOThjL3Byb3ZpZGVycy9NaWNyb3NvZnQuRG9jdW1lbnREQi9sb2NhdGlvbnMvd2VzdHVzMi9vcGVyYXRpb25zU3RhdHVzLzUwYTk0YjRjLWZiOTItNGJkMS05ZDNjLTFmZGE4ZDlmNGI1Zj9hcGktdmVyc2lvbj0yMDIxLTAzLTAxLXByZXZpZXc=", + "RequestUri": "/subscriptions/259fbb24-9bcd-4cfc-865c-fc33b22fe38a/providers/Microsoft.DocumentDB/locations/eastus2/operationsStatus/e29101ef-7d75-473a-9d92-75a120b6a65d?api-version=2021-06-15", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMjU5ZmJiMjQtOWJjZC00Y2ZjLTg2NWMtZmMzM2IyMmZlMzhhL3Byb3ZpZGVycy9NaWNyb3NvZnQuRG9jdW1lbnREQi9sb2NhdGlvbnMvZWFzdHVzMi9vcGVyYXRpb25zU3RhdHVzL2UyOTEwMWVmLTdkNzUtNDczYS05ZDkyLTc1YTEyMGI2YTY1ZD9hcGktdmVyc2lvbj0yMDIxLTA2LTE1", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { "User-Agent": [ - "FxVersion/5.0.321.7212", + "FxVersion/4.6.28207.03", "OSName/Windows", - "OSVersion/Microsoft.Windows.10.0.19042", - "Microsoft.Azure.Management.CosmosDB.CosmosDBManagementClient/2.0.0.0" + "OSVersion/Microsoft.Windows.10.0.19043.", + "Microsoft.Azure.Management.CosmosDB.CosmosDBManagementClient/3.0.0.0" ] }, "ResponseHeaders": { @@ -1346,28 +1425,28 @@ "max-age=31536000; includeSubDomains" ], "x-ms-gatewayversion": [ - "version=2.11.0" + "version=2.14.0" ], "Server": [ "Microsoft-HTTPAPI/2.0" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "11981" + "11977" ], "x-ms-request-id": [ - "2fcedc80-91b4-4317-94a6-30df51777eef" + "c7d03acb-6a92-476c-8cc8-48136191a976" ], "x-ms-correlation-request-id": [ - "2fcedc80-91b4-4317-94a6-30df51777eef" + "c7d03acb-6a92-476c-8cc8-48136191a976" ], "x-ms-routing-request-id": [ - "WESTUS2:20210303T174458Z:2fcedc80-91b4-4317-94a6-30df51777eef" + "WESTUS2:20210616T071217Z:c7d03acb-6a92-476c-8cc8-48136191a976" ], "X-Content-Type-Options": [ "nosniff" ], "Date": [ - "Wed, 03 Mar 2021 17:44:58 GMT" + "Wed, 16 Jun 2021 07:12:16 GMT" ], "Content-Length": [ "21" @@ -1380,16 +1459,16 @@ "StatusCode": 200 }, { - "RequestUri": "/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/providers/Microsoft.DocumentDB/locations/westus2/operationsStatus/50a94b4c-fb92-4bd1-9d3c-1fda8d9f4b5f?api-version=2021-03-01-preview", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvODBiZTM5NjEtMDUyMS00YTBhLTg1NzAtNWNkNWE0ZTJmOThjL3Byb3ZpZGVycy9NaWNyb3NvZnQuRG9jdW1lbnREQi9sb2NhdGlvbnMvd2VzdHVzMi9vcGVyYXRpb25zU3RhdHVzLzUwYTk0YjRjLWZiOTItNGJkMS05ZDNjLTFmZGE4ZDlmNGI1Zj9hcGktdmVyc2lvbj0yMDIxLTAzLTAxLXByZXZpZXc=", + "RequestUri": "/subscriptions/259fbb24-9bcd-4cfc-865c-fc33b22fe38a/providers/Microsoft.DocumentDB/locations/eastus2/operationsStatus/e29101ef-7d75-473a-9d92-75a120b6a65d?api-version=2021-06-15", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMjU5ZmJiMjQtOWJjZC00Y2ZjLTg2NWMtZmMzM2IyMmZlMzhhL3Byb3ZpZGVycy9NaWNyb3NvZnQuRG9jdW1lbnREQi9sb2NhdGlvbnMvZWFzdHVzMi9vcGVyYXRpb25zU3RhdHVzL2UyOTEwMWVmLTdkNzUtNDczYS05ZDkyLTc1YTEyMGI2YTY1ZD9hcGktdmVyc2lvbj0yMDIxLTA2LTE1", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { "User-Agent": [ - "FxVersion/5.0.321.7212", + "FxVersion/4.6.28207.03", "OSName/Windows", - "OSVersion/Microsoft.Windows.10.0.19042", - "Microsoft.Azure.Management.CosmosDB.CosmosDBManagementClient/2.0.0.0" + "OSVersion/Microsoft.Windows.10.0.19043.", + "Microsoft.Azure.Management.CosmosDB.CosmosDBManagementClient/3.0.0.0" ] }, "ResponseHeaders": { @@ -1403,28 +1482,28 @@ "max-age=31536000; includeSubDomains" ], "x-ms-gatewayversion": [ - "version=2.11.0" + "version=2.14.0" ], "Server": [ "Microsoft-HTTPAPI/2.0" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "11980" + "11976" ], "x-ms-request-id": [ - "575c107c-d13b-4343-bd76-07f05ecd0dd9" + "c4e885ac-9a6e-4a32-88bc-1e24fb47b288" ], "x-ms-correlation-request-id": [ - "575c107c-d13b-4343-bd76-07f05ecd0dd9" + "c4e885ac-9a6e-4a32-88bc-1e24fb47b288" ], "x-ms-routing-request-id": [ - "WESTUS2:20210303T174528Z:575c107c-d13b-4343-bd76-07f05ecd0dd9" + "WESTUS2:20210616T071247Z:c4e885ac-9a6e-4a32-88bc-1e24fb47b288" ], "X-Content-Type-Options": [ "nosniff" ], "Date": [ - "Wed, 03 Mar 2021 17:45:28 GMT" + "Wed, 16 Jun 2021 07:12:47 GMT" ], "Content-Length": [ "21" @@ -1437,16 +1516,16 @@ "StatusCode": 200 }, { - "RequestUri": "/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/providers/Microsoft.DocumentDB/locations/westus2/operationsStatus/50a94b4c-fb92-4bd1-9d3c-1fda8d9f4b5f?api-version=2021-03-01-preview", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvODBiZTM5NjEtMDUyMS00YTBhLTg1NzAtNWNkNWE0ZTJmOThjL3Byb3ZpZGVycy9NaWNyb3NvZnQuRG9jdW1lbnREQi9sb2NhdGlvbnMvd2VzdHVzMi9vcGVyYXRpb25zU3RhdHVzLzUwYTk0YjRjLWZiOTItNGJkMS05ZDNjLTFmZGE4ZDlmNGI1Zj9hcGktdmVyc2lvbj0yMDIxLTAzLTAxLXByZXZpZXc=", + "RequestUri": "/subscriptions/259fbb24-9bcd-4cfc-865c-fc33b22fe38a/providers/Microsoft.DocumentDB/locations/eastus2/operationsStatus/e29101ef-7d75-473a-9d92-75a120b6a65d?api-version=2021-06-15", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMjU5ZmJiMjQtOWJjZC00Y2ZjLTg2NWMtZmMzM2IyMmZlMzhhL3Byb3ZpZGVycy9NaWNyb3NvZnQuRG9jdW1lbnREQi9sb2NhdGlvbnMvZWFzdHVzMi9vcGVyYXRpb25zU3RhdHVzL2UyOTEwMWVmLTdkNzUtNDczYS05ZDkyLTc1YTEyMGI2YTY1ZD9hcGktdmVyc2lvbj0yMDIxLTA2LTE1", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { "User-Agent": [ - "FxVersion/5.0.321.7212", + "FxVersion/4.6.28207.03", "OSName/Windows", - "OSVersion/Microsoft.Windows.10.0.19042", - "Microsoft.Azure.Management.CosmosDB.CosmosDBManagementClient/2.0.0.0" + "OSVersion/Microsoft.Windows.10.0.19043.", + "Microsoft.Azure.Management.CosmosDB.CosmosDBManagementClient/3.0.0.0" ] }, "ResponseHeaders": { @@ -1460,28 +1539,28 @@ "max-age=31536000; includeSubDomains" ], "x-ms-gatewayversion": [ - "version=2.11.0" + "version=2.14.0" ], "Server": [ "Microsoft-HTTPAPI/2.0" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "11979" + "11975" ], "x-ms-request-id": [ - "f384f36a-a068-49fd-9671-6a694ae42c26" + "a74497e0-0c8d-44ec-b756-cbd0bdcff4fb" ], "x-ms-correlation-request-id": [ - "f384f36a-a068-49fd-9671-6a694ae42c26" + "a74497e0-0c8d-44ec-b756-cbd0bdcff4fb" ], "x-ms-routing-request-id": [ - "WESTUS2:20210303T174559Z:f384f36a-a068-49fd-9671-6a694ae42c26" + "WESTUS2:20210616T071318Z:a74497e0-0c8d-44ec-b756-cbd0bdcff4fb" ], "X-Content-Type-Options": [ "nosniff" ], "Date": [ - "Wed, 03 Mar 2021 17:45:58 GMT" + "Wed, 16 Jun 2021 07:13:17 GMT" ], "Content-Length": [ "21" @@ -1494,16 +1573,16 @@ "StatusCode": 200 }, { - "RequestUri": "/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/providers/Microsoft.DocumentDB/locations/westus2/operationsStatus/50a94b4c-fb92-4bd1-9d3c-1fda8d9f4b5f?api-version=2021-03-01-preview", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvODBiZTM5NjEtMDUyMS00YTBhLTg1NzAtNWNkNWE0ZTJmOThjL3Byb3ZpZGVycy9NaWNyb3NvZnQuRG9jdW1lbnREQi9sb2NhdGlvbnMvd2VzdHVzMi9vcGVyYXRpb25zU3RhdHVzLzUwYTk0YjRjLWZiOTItNGJkMS05ZDNjLTFmZGE4ZDlmNGI1Zj9hcGktdmVyc2lvbj0yMDIxLTAzLTAxLXByZXZpZXc=", + "RequestUri": "/subscriptions/259fbb24-9bcd-4cfc-865c-fc33b22fe38a/providers/Microsoft.DocumentDB/locations/eastus2/operationsStatus/e29101ef-7d75-473a-9d92-75a120b6a65d?api-version=2021-06-15", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMjU5ZmJiMjQtOWJjZC00Y2ZjLTg2NWMtZmMzM2IyMmZlMzhhL3Byb3ZpZGVycy9NaWNyb3NvZnQuRG9jdW1lbnREQi9sb2NhdGlvbnMvZWFzdHVzMi9vcGVyYXRpb25zU3RhdHVzL2UyOTEwMWVmLTdkNzUtNDczYS05ZDkyLTc1YTEyMGI2YTY1ZD9hcGktdmVyc2lvbj0yMDIxLTA2LTE1", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { "User-Agent": [ - "FxVersion/5.0.321.7212", + "FxVersion/4.6.28207.03", "OSName/Windows", - "OSVersion/Microsoft.Windows.10.0.19042", - "Microsoft.Azure.Management.CosmosDB.CosmosDBManagementClient/2.0.0.0" + "OSVersion/Microsoft.Windows.10.0.19043.", + "Microsoft.Azure.Management.CosmosDB.CosmosDBManagementClient/3.0.0.0" ] }, "ResponseHeaders": { @@ -1517,28 +1596,28 @@ "max-age=31536000; includeSubDomains" ], "x-ms-gatewayversion": [ - "version=2.11.0" + "version=2.14.0" ], "Server": [ "Microsoft-HTTPAPI/2.0" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "11978" + "11974" ], "x-ms-request-id": [ - "826fde67-ae65-4617-a83d-a9a9e9cd5352" + "63d35aed-d399-4c60-89d8-c5a0bef4b640" ], "x-ms-correlation-request-id": [ - "826fde67-ae65-4617-a83d-a9a9e9cd5352" + "63d35aed-d399-4c60-89d8-c5a0bef4b640" ], "x-ms-routing-request-id": [ - "WESTUS2:20210303T174629Z:826fde67-ae65-4617-a83d-a9a9e9cd5352" + "WESTUS2:20210616T071348Z:63d35aed-d399-4c60-89d8-c5a0bef4b640" ], "X-Content-Type-Options": [ "nosniff" ], "Date": [ - "Wed, 03 Mar 2021 17:46:28 GMT" + "Wed, 16 Jun 2021 07:13:48 GMT" ], "Content-Length": [ "21" @@ -1551,16 +1630,16 @@ "StatusCode": 200 }, { - "RequestUri": "/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/providers/Microsoft.DocumentDB/locations/westus2/operationsStatus/50a94b4c-fb92-4bd1-9d3c-1fda8d9f4b5f?api-version=2021-03-01-preview", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvODBiZTM5NjEtMDUyMS00YTBhLTg1NzAtNWNkNWE0ZTJmOThjL3Byb3ZpZGVycy9NaWNyb3NvZnQuRG9jdW1lbnREQi9sb2NhdGlvbnMvd2VzdHVzMi9vcGVyYXRpb25zU3RhdHVzLzUwYTk0YjRjLWZiOTItNGJkMS05ZDNjLTFmZGE4ZDlmNGI1Zj9hcGktdmVyc2lvbj0yMDIxLTAzLTAxLXByZXZpZXc=", + "RequestUri": "/subscriptions/259fbb24-9bcd-4cfc-865c-fc33b22fe38a/providers/Microsoft.DocumentDB/locations/eastus2/operationsStatus/e29101ef-7d75-473a-9d92-75a120b6a65d?api-version=2021-06-15", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMjU5ZmJiMjQtOWJjZC00Y2ZjLTg2NWMtZmMzM2IyMmZlMzhhL3Byb3ZpZGVycy9NaWNyb3NvZnQuRG9jdW1lbnREQi9sb2NhdGlvbnMvZWFzdHVzMi9vcGVyYXRpb25zU3RhdHVzL2UyOTEwMWVmLTdkNzUtNDczYS05ZDkyLTc1YTEyMGI2YTY1ZD9hcGktdmVyc2lvbj0yMDIxLTA2LTE1", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { "User-Agent": [ - "FxVersion/5.0.321.7212", + "FxVersion/4.6.28207.03", "OSName/Windows", - "OSVersion/Microsoft.Windows.10.0.19042", - "Microsoft.Azure.Management.CosmosDB.CosmosDBManagementClient/2.0.0.0" + "OSVersion/Microsoft.Windows.10.0.19043.", + "Microsoft.Azure.Management.CosmosDB.CosmosDBManagementClient/3.0.0.0" ] }, "ResponseHeaders": { @@ -1574,28 +1653,28 @@ "max-age=31536000; includeSubDomains" ], "x-ms-gatewayversion": [ - "version=2.11.0" + "version=2.14.0" ], "Server": [ "Microsoft-HTTPAPI/2.0" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "11977" + "11973" ], "x-ms-request-id": [ - "83112e44-28c8-4624-9de4-9cc499cff269" + "1e9b4681-9ed5-4804-9848-bae393fab29c" ], "x-ms-correlation-request-id": [ - "83112e44-28c8-4624-9de4-9cc499cff269" + "1e9b4681-9ed5-4804-9848-bae393fab29c" ], "x-ms-routing-request-id": [ - "WESTUS2:20210303T174659Z:83112e44-28c8-4624-9de4-9cc499cff269" + "WESTUS2:20210616T071418Z:1e9b4681-9ed5-4804-9848-bae393fab29c" ], "X-Content-Type-Options": [ "nosniff" ], "Date": [ - "Wed, 03 Mar 2021 17:46:58 GMT" + "Wed, 16 Jun 2021 07:14:17 GMT" ], "Content-Length": [ "21" @@ -1608,16 +1687,16 @@ "StatusCode": 200 }, { - "RequestUri": "/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/providers/Microsoft.DocumentDB/locations/westus2/operationsStatus/50a94b4c-fb92-4bd1-9d3c-1fda8d9f4b5f?api-version=2021-03-01-preview", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvODBiZTM5NjEtMDUyMS00YTBhLTg1NzAtNWNkNWE0ZTJmOThjL3Byb3ZpZGVycy9NaWNyb3NvZnQuRG9jdW1lbnREQi9sb2NhdGlvbnMvd2VzdHVzMi9vcGVyYXRpb25zU3RhdHVzLzUwYTk0YjRjLWZiOTItNGJkMS05ZDNjLTFmZGE4ZDlmNGI1Zj9hcGktdmVyc2lvbj0yMDIxLTAzLTAxLXByZXZpZXc=", + "RequestUri": "/subscriptions/259fbb24-9bcd-4cfc-865c-fc33b22fe38a/providers/Microsoft.DocumentDB/locations/eastus2/operationsStatus/e29101ef-7d75-473a-9d92-75a120b6a65d?api-version=2021-06-15", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMjU5ZmJiMjQtOWJjZC00Y2ZjLTg2NWMtZmMzM2IyMmZlMzhhL3Byb3ZpZGVycy9NaWNyb3NvZnQuRG9jdW1lbnREQi9sb2NhdGlvbnMvZWFzdHVzMi9vcGVyYXRpb25zU3RhdHVzL2UyOTEwMWVmLTdkNzUtNDczYS05ZDkyLTc1YTEyMGI2YTY1ZD9hcGktdmVyc2lvbj0yMDIxLTA2LTE1", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { "User-Agent": [ - "FxVersion/5.0.321.7212", + "FxVersion/4.6.28207.03", "OSName/Windows", - "OSVersion/Microsoft.Windows.10.0.19042", - "Microsoft.Azure.Management.CosmosDB.CosmosDBManagementClient/2.0.0.0" + "OSVersion/Microsoft.Windows.10.0.19043.", + "Microsoft.Azure.Management.CosmosDB.CosmosDBManagementClient/3.0.0.0" ] }, "ResponseHeaders": { @@ -1631,28 +1710,28 @@ "max-age=31536000; includeSubDomains" ], "x-ms-gatewayversion": [ - "version=2.11.0" + "version=2.14.0" ], "Server": [ "Microsoft-HTTPAPI/2.0" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "11976" + "11972" ], "x-ms-request-id": [ - "d4eaafa6-04a6-4b79-9df3-7802aa500457" + "1e8eca77-83ec-4d33-aa6b-4a020aac4557" ], "x-ms-correlation-request-id": [ - "d4eaafa6-04a6-4b79-9df3-7802aa500457" + "1e8eca77-83ec-4d33-aa6b-4a020aac4557" ], "x-ms-routing-request-id": [ - "WESTUS2:20210303T174729Z:d4eaafa6-04a6-4b79-9df3-7802aa500457" + "WESTUS2:20210616T071448Z:1e8eca77-83ec-4d33-aa6b-4a020aac4557" ], "X-Content-Type-Options": [ "nosniff" ], "Date": [ - "Wed, 03 Mar 2021 17:47:28 GMT" + "Wed, 16 Jun 2021 07:14:48 GMT" ], "Content-Length": [ "21" @@ -1665,16 +1744,16 @@ "StatusCode": 200 }, { - "RequestUri": "/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/providers/Microsoft.DocumentDB/locations/westus2/operationsStatus/50a94b4c-fb92-4bd1-9d3c-1fda8d9f4b5f?api-version=2021-03-01-preview", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvODBiZTM5NjEtMDUyMS00YTBhLTg1NzAtNWNkNWE0ZTJmOThjL3Byb3ZpZGVycy9NaWNyb3NvZnQuRG9jdW1lbnREQi9sb2NhdGlvbnMvd2VzdHVzMi9vcGVyYXRpb25zU3RhdHVzLzUwYTk0YjRjLWZiOTItNGJkMS05ZDNjLTFmZGE4ZDlmNGI1Zj9hcGktdmVyc2lvbj0yMDIxLTAzLTAxLXByZXZpZXc=", + "RequestUri": "/subscriptions/259fbb24-9bcd-4cfc-865c-fc33b22fe38a/providers/Microsoft.DocumentDB/locations/eastus2/operationsStatus/e29101ef-7d75-473a-9d92-75a120b6a65d?api-version=2021-06-15", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMjU5ZmJiMjQtOWJjZC00Y2ZjLTg2NWMtZmMzM2IyMmZlMzhhL3Byb3ZpZGVycy9NaWNyb3NvZnQuRG9jdW1lbnREQi9sb2NhdGlvbnMvZWFzdHVzMi9vcGVyYXRpb25zU3RhdHVzL2UyOTEwMWVmLTdkNzUtNDczYS05ZDkyLTc1YTEyMGI2YTY1ZD9hcGktdmVyc2lvbj0yMDIxLTA2LTE1", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { "User-Agent": [ - "FxVersion/5.0.321.7212", + "FxVersion/4.6.28207.03", "OSName/Windows", - "OSVersion/Microsoft.Windows.10.0.19042", - "Microsoft.Azure.Management.CosmosDB.CosmosDBManagementClient/2.0.0.0" + "OSVersion/Microsoft.Windows.10.0.19043.", + "Microsoft.Azure.Management.CosmosDB.CosmosDBManagementClient/3.0.0.0" ] }, "ResponseHeaders": { @@ -1688,28 +1767,28 @@ "max-age=31536000; includeSubDomains" ], "x-ms-gatewayversion": [ - "version=2.11.0" + "version=2.14.0" ], "Server": [ "Microsoft-HTTPAPI/2.0" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "11975" + "11971" ], "x-ms-request-id": [ - "5bfd26c5-a3da-43f0-b799-28e878cf7269" + "ed994dc9-8cc2-4076-ae31-f71dbdda318b" ], "x-ms-correlation-request-id": [ - "5bfd26c5-a3da-43f0-b799-28e878cf7269" + "ed994dc9-8cc2-4076-ae31-f71dbdda318b" ], "x-ms-routing-request-id": [ - "WESTUS2:20210303T174759Z:5bfd26c5-a3da-43f0-b799-28e878cf7269" + "WESTUS2:20210616T071518Z:ed994dc9-8cc2-4076-ae31-f71dbdda318b" ], "X-Content-Type-Options": [ "nosniff" ], "Date": [ - "Wed, 03 Mar 2021 17:47:59 GMT" + "Wed, 16 Jun 2021 07:15:17 GMT" ], "Content-Length": [ "21" @@ -1722,16 +1801,16 @@ "StatusCode": 200 }, { - "RequestUri": "/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/providers/Microsoft.DocumentDB/locations/westus2/operationsStatus/50a94b4c-fb92-4bd1-9d3c-1fda8d9f4b5f?api-version=2021-03-01-preview", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvODBiZTM5NjEtMDUyMS00YTBhLTg1NzAtNWNkNWE0ZTJmOThjL3Byb3ZpZGVycy9NaWNyb3NvZnQuRG9jdW1lbnREQi9sb2NhdGlvbnMvd2VzdHVzMi9vcGVyYXRpb25zU3RhdHVzLzUwYTk0YjRjLWZiOTItNGJkMS05ZDNjLTFmZGE4ZDlmNGI1Zj9hcGktdmVyc2lvbj0yMDIxLTAzLTAxLXByZXZpZXc=", + "RequestUri": "/subscriptions/259fbb24-9bcd-4cfc-865c-fc33b22fe38a/providers/Microsoft.DocumentDB/locations/eastus2/operationsStatus/e29101ef-7d75-473a-9d92-75a120b6a65d?api-version=2021-06-15", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMjU5ZmJiMjQtOWJjZC00Y2ZjLTg2NWMtZmMzM2IyMmZlMzhhL3Byb3ZpZGVycy9NaWNyb3NvZnQuRG9jdW1lbnREQi9sb2NhdGlvbnMvZWFzdHVzMi9vcGVyYXRpb25zU3RhdHVzL2UyOTEwMWVmLTdkNzUtNDczYS05ZDkyLTc1YTEyMGI2YTY1ZD9hcGktdmVyc2lvbj0yMDIxLTA2LTE1", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { "User-Agent": [ - "FxVersion/5.0.321.7212", + "FxVersion/4.6.28207.03", "OSName/Windows", - "OSVersion/Microsoft.Windows.10.0.19042", - "Microsoft.Azure.Management.CosmosDB.CosmosDBManagementClient/2.0.0.0" + "OSVersion/Microsoft.Windows.10.0.19043.", + "Microsoft.Azure.Management.CosmosDB.CosmosDBManagementClient/3.0.0.0" ] }, "ResponseHeaders": { @@ -1745,28 +1824,28 @@ "max-age=31536000; includeSubDomains" ], "x-ms-gatewayversion": [ - "version=2.11.0" + "version=2.14.0" ], "Server": [ "Microsoft-HTTPAPI/2.0" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "11974" + "11970" ], "x-ms-request-id": [ - "eef96a69-bd75-4428-8864-d75138b48598" + "65bcfdb1-7c5a-427a-a028-c665b9ac44c5" ], "x-ms-correlation-request-id": [ - "eef96a69-bd75-4428-8864-d75138b48598" + "65bcfdb1-7c5a-427a-a028-c665b9ac44c5" ], "x-ms-routing-request-id": [ - "WESTUS2:20210303T174829Z:eef96a69-bd75-4428-8864-d75138b48598" + "WESTUS2:20210616T071548Z:65bcfdb1-7c5a-427a-a028-c665b9ac44c5" ], "X-Content-Type-Options": [ "nosniff" ], "Date": [ - "Wed, 03 Mar 2021 17:48:28 GMT" + "Wed, 16 Jun 2021 07:15:48 GMT" ], "Content-Length": [ "21" @@ -1779,16 +1858,16 @@ "StatusCode": 200 }, { - "RequestUri": "/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/providers/Microsoft.DocumentDB/locations/westus2/operationsStatus/50a94b4c-fb92-4bd1-9d3c-1fda8d9f4b5f?api-version=2021-03-01-preview", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvODBiZTM5NjEtMDUyMS00YTBhLTg1NzAtNWNkNWE0ZTJmOThjL3Byb3ZpZGVycy9NaWNyb3NvZnQuRG9jdW1lbnREQi9sb2NhdGlvbnMvd2VzdHVzMi9vcGVyYXRpb25zU3RhdHVzLzUwYTk0YjRjLWZiOTItNGJkMS05ZDNjLTFmZGE4ZDlmNGI1Zj9hcGktdmVyc2lvbj0yMDIxLTAzLTAxLXByZXZpZXc=", + "RequestUri": "/subscriptions/259fbb24-9bcd-4cfc-865c-fc33b22fe38a/providers/Microsoft.DocumentDB/locations/eastus2/operationsStatus/e29101ef-7d75-473a-9d92-75a120b6a65d?api-version=2021-06-15", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMjU5ZmJiMjQtOWJjZC00Y2ZjLTg2NWMtZmMzM2IyMmZlMzhhL3Byb3ZpZGVycy9NaWNyb3NvZnQuRG9jdW1lbnREQi9sb2NhdGlvbnMvZWFzdHVzMi9vcGVyYXRpb25zU3RhdHVzL2UyOTEwMWVmLTdkNzUtNDczYS05ZDkyLTc1YTEyMGI2YTY1ZD9hcGktdmVyc2lvbj0yMDIxLTA2LTE1", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { "User-Agent": [ - "FxVersion/5.0.321.7212", + "FxVersion/4.6.28207.03", "OSName/Windows", - "OSVersion/Microsoft.Windows.10.0.19042", - "Microsoft.Azure.Management.CosmosDB.CosmosDBManagementClient/2.0.0.0" + "OSVersion/Microsoft.Windows.10.0.19043.", + "Microsoft.Azure.Management.CosmosDB.CosmosDBManagementClient/3.0.0.0" ] }, "ResponseHeaders": { @@ -1802,28 +1881,28 @@ "max-age=31536000; includeSubDomains" ], "x-ms-gatewayversion": [ - "version=2.11.0" + "version=2.14.0" ], "Server": [ "Microsoft-HTTPAPI/2.0" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "11973" + "11969" ], "x-ms-request-id": [ - "0d0588ea-a923-437d-a546-1889d06fe30c" + "652c8b4b-caac-4695-b9f5-a0b73f6f8cc5" ], "x-ms-correlation-request-id": [ - "0d0588ea-a923-437d-a546-1889d06fe30c" + "652c8b4b-caac-4695-b9f5-a0b73f6f8cc5" ], "x-ms-routing-request-id": [ - "WESTUS2:20210303T174859Z:0d0588ea-a923-437d-a546-1889d06fe30c" + "WESTUS2:20210616T071618Z:652c8b4b-caac-4695-b9f5-a0b73f6f8cc5" ], "X-Content-Type-Options": [ "nosniff" ], "Date": [ - "Wed, 03 Mar 2021 17:48:59 GMT" + "Wed, 16 Jun 2021 07:16:18 GMT" ], "Content-Length": [ "22" @@ -1836,16 +1915,16 @@ "StatusCode": 200 }, { - "RequestUri": "/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/resourceGroups/pitr-stage-rg/providers/Microsoft.DocumentDB/databaseAccounts/restoredaccountname8295?api-version=2021-03-01-preview", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvODBiZTM5NjEtMDUyMS00YTBhLTg1NzAtNWNkNWE0ZTJmOThjL3Jlc291cmNlR3JvdXBzL3BpdHItc3RhZ2UtcmcvcHJvdmlkZXJzL01pY3Jvc29mdC5Eb2N1bWVudERCL2RhdGFiYXNlQWNjb3VudHMvcmVzdG9yZWRhY2NvdW50bmFtZTgyOTU/YXBpLXZlcnNpb249MjAyMS0wMy0wMS1wcmV2aWV3", + "RequestUri": "/subscriptions/259fbb24-9bcd-4cfc-865c-fc33b22fe38a/resourceGroups/CosmosDBResourceGroup3668/providers/Microsoft.DocumentDB/databaseAccounts/restoredaccountname3766?api-version=2021-06-15", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMjU5ZmJiMjQtOWJjZC00Y2ZjLTg2NWMtZmMzM2IyMmZlMzhhL3Jlc291cmNlR3JvdXBzL0Nvc21vc0RCUmVzb3VyY2VHcm91cDM2NjgvcHJvdmlkZXJzL01pY3Jvc29mdC5Eb2N1bWVudERCL2RhdGFiYXNlQWNjb3VudHMvcmVzdG9yZWRhY2NvdW50bmFtZTM3NjY/YXBpLXZlcnNpb249MjAyMS0wNi0xNQ==", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { "User-Agent": [ - "FxVersion/5.0.321.7212", + "FxVersion/4.6.28207.03", "OSName/Windows", - "OSVersion/Microsoft.Windows.10.0.19042", - "Microsoft.Azure.Management.CosmosDB.CosmosDBManagementClient/2.0.0.0" + "OSVersion/Microsoft.Windows.10.0.19043.", + "Microsoft.Azure.Management.CosmosDB.CosmosDBManagementClient/3.0.0.0" ] }, "ResponseHeaders": { @@ -1859,46 +1938,46 @@ "max-age=31536000; includeSubDomains" ], "x-ms-gatewayversion": [ - "version=2.11.0" + "version=2.14.0" ], "Server": [ "Microsoft-HTTPAPI/2.0" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "11972" + "11968" ], "x-ms-request-id": [ - "d801a3f3-c426-48f0-a98e-ffada7d14d2a" + "db387b30-ebbe-4e35-8522-8c10a2ac36fb" ], "x-ms-correlation-request-id": [ - "d801a3f3-c426-48f0-a98e-ffada7d14d2a" + "db387b30-ebbe-4e35-8522-8c10a2ac36fb" ], "x-ms-routing-request-id": [ - "WESTUS2:20210303T174859Z:d801a3f3-c426-48f0-a98e-ffada7d14d2a" + "WESTUS2:20210616T071619Z:db387b30-ebbe-4e35-8522-8c10a2ac36fb" ], "X-Content-Type-Options": [ "nosniff" ], "Date": [ - "Wed, 03 Mar 2021 17:48:59 GMT" + "Wed, 16 Jun 2021 07:16:18 GMT" ], "Content-Length": [ - "2484" + "2554" ], "Content-Type": [ "application/json" ] }, - "ResponseBody": "{\r\n \"id\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/resourceGroups/pitr-stage-rg/providers/Microsoft.DocumentDB/databaseAccounts/restoredaccountname8295\",\r\n \"name\": \"restoredaccountname8295\",\r\n \"location\": \"West US 2\",\r\n \"type\": \"Microsoft.DocumentDB/databaseAccounts\",\r\n \"kind\": \"GlobalDocumentDB\",\r\n \"tags\": {},\r\n \"systemData\": {\r\n \"createdAt\": \"2021-03-03T17:48:44.4341123Z\"\r\n },\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"documentEndpoint\": \"https://restoredaccountname8295.documents-staging.windows-ppe.net:443/\",\r\n \"publicNetworkAccess\": \"Enabled\",\r\n \"enableAutomaticFailover\": false,\r\n \"enableMultipleWriteLocations\": false,\r\n \"enablePartitionKeyMonitor\": false,\r\n \"isVirtualNetworkFilterEnabled\": false,\r\n \"virtualNetworkRules\": [],\r\n \"EnabledApiTypes\": \"Sql\",\r\n \"disableKeyBasedMetadataWriteAccess\": false,\r\n \"enableFreeTier\": false,\r\n \"enableAnalyticalStorage\": false,\r\n \"instanceId\": \"1a937e8e-1a33-4fd1-9349-34ede3dd02f2\",\r\n \"createMode\": \"Restore\",\r\n \"databaseAccountOfferType\": \"Standard\",\r\n \"enableCassandraConnector\": false,\r\n \"defaultIdentity\": \"\",\r\n \"networkAclBypass\": \"None\",\r\n \"consistencyPolicy\": {\r\n \"defaultConsistencyLevel\": \"Session\",\r\n \"maxIntervalInSeconds\": 5,\r\n \"maxStalenessPrefix\": 100\r\n },\r\n \"configurationOverrides\": {},\r\n \"writeLocations\": [\r\n {\r\n \"id\": \"restoredaccountname8295-westus2\",\r\n \"locationName\": \"West US 2\",\r\n \"documentEndpoint\": \"https://restoredaccountname8295-westus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"readLocations\": [\r\n {\r\n \"id\": \"restoredaccountname8295-westus2\",\r\n \"locationName\": \"West US 2\",\r\n \"documentEndpoint\": \"https://restoredaccountname8295-westus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"locations\": [\r\n {\r\n \"id\": \"restoredaccountname8295-westus2\",\r\n \"locationName\": \"West US 2\",\r\n \"documentEndpoint\": \"https://restoredaccountname8295-westus2.documents-staging.windows-ppe.net:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"failoverPolicies\": [\r\n {\r\n \"id\": \"restoredaccountname8295-westus2\",\r\n \"locationName\": \"West US 2\",\r\n \"failoverPriority\": 0\r\n }\r\n ],\r\n \"cors\": [],\r\n \"capabilities\": [],\r\n \"ipRules\": [],\r\n \"backupPolicy\": {\r\n \"type\": \"Continuous\"\r\n },\r\n \"restoreParameters\": {\r\n \"restoreMode\": \"PointInTime\",\r\n \"restoreSource\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/providers/Microsoft.DocumentDB/locations/westus2/restorableDatabaseAccounts/9a4b63c3-49d1-4c87-b28e-92e92aeaa0ea\",\r\n \"restoreTimestampInUtc\": \"2021-03-01T00:00:00Z\",\r\n \"databasesToRestore\": []\r\n },\r\n \"networkAclBypassResourceIds\": []\r\n },\r\n \"identity\": {\r\n \"type\": \"None\"\r\n }\r\n}", + "ResponseBody": "{\r\n \"id\": \"/subscriptions/259fbb24-9bcd-4cfc-865c-fc33b22fe38a/resourceGroups/CosmosDBResourceGroup3668/providers/Microsoft.DocumentDB/databaseAccounts/restoredaccountname3766\",\r\n \"name\": \"restoredaccountname3766\",\r\n \"location\": \"East US 2\",\r\n \"type\": \"Microsoft.DocumentDB/databaseAccounts\",\r\n \"kind\": \"GlobalDocumentDB\",\r\n \"tags\": {\r\n \"defaultExperience\": \"Core (SQL)\",\r\n \"hidden-cosmos-mmspecial\": \"\"\r\n },\r\n \"systemData\": {\r\n \"createdAt\": \"2021-06-16T07:16:11.6682597Z\"\r\n },\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"documentEndpoint\": \"https://restoredaccountname3766.documents.azure.com:443/\",\r\n \"publicNetworkAccess\": \"Enabled\",\r\n \"enableAutomaticFailover\": false,\r\n \"enableMultipleWriteLocations\": false,\r\n \"enablePartitionKeyMonitor\": false,\r\n \"isVirtualNetworkFilterEnabled\": false,\r\n \"virtualNetworkRules\": [],\r\n \"EnabledApiTypes\": \"Sql\",\r\n \"disableKeyBasedMetadataWriteAccess\": false,\r\n \"enableFreeTier\": false,\r\n \"enableAnalyticalStorage\": false,\r\n \"analyticalStorageConfiguration\": {},\r\n \"instanceId\": \"1dfe47fb-822c-41f1-b403-1cf6c63d0ba7\",\r\n \"createMode\": \"Restore\",\r\n \"databaseAccountOfferType\": \"Standard\",\r\n \"defaultIdentity\": \"FirstPartyIdentity\",\r\n \"networkAclBypass\": \"None\",\r\n \"disableLocalAuth\": false,\r\n \"consistencyPolicy\": {\r\n \"defaultConsistencyLevel\": \"Session\",\r\n \"maxIntervalInSeconds\": 5,\r\n \"maxStalenessPrefix\": 100\r\n },\r\n \"configurationOverrides\": {},\r\n \"writeLocations\": [\r\n {\r\n \"id\": \"restoredaccountname3766-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://restoredaccountname3766-eastus2.documents.azure.com:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"readLocations\": [\r\n {\r\n \"id\": \"restoredaccountname3766-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://restoredaccountname3766-eastus2.documents.azure.com:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"locations\": [\r\n {\r\n \"id\": \"restoredaccountname3766-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"documentEndpoint\": \"https://restoredaccountname3766-eastus2.documents.azure.com:443/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"failoverPriority\": 0,\r\n \"isZoneRedundant\": false\r\n }\r\n ],\r\n \"failoverPolicies\": [\r\n {\r\n \"id\": \"restoredaccountname3766-eastus2\",\r\n \"locationName\": \"East US 2\",\r\n \"failoverPriority\": 0\r\n }\r\n ],\r\n \"cors\": [],\r\n \"capabilities\": [],\r\n \"ipRules\": [],\r\n \"backupPolicy\": {\r\n \"type\": \"Continuous\"\r\n },\r\n \"restoreParameters\": {\r\n \"restoreMode\": \"PointInTime\",\r\n \"restoreSource\": \"/subscriptions/259fbb24-9bcd-4cfc-865c-fc33b22fe38a/providers/Microsoft.DocumentDB/locations/eastus2/restorableDatabaseAccounts/9f8ee54b-f275-44fa-b2c5-9983644c131f\",\r\n \"restoreTimestampInUtc\": \"2021-06-16T07:01:38.282628Z\",\r\n \"databasesToRestore\": []\r\n },\r\n \"networkAclBypassResourceIds\": []\r\n },\r\n \"identity\": {\r\n \"type\": \"None\"\r\n }\r\n}", "StatusCode": 200 } ], "Names": { "RestoreDatabaseAccountTests": [ - "restoredaccountname8295" + "restoredaccountname3766" ] }, "Variables": { - "SubscriptionId": "80be3961-0521-4a0a-8570-5cd5a4e2f98c" + "SubscriptionId": "259fbb24-9bcd-4cfc-865c-fc33b22fe38a" } } \ No newline at end of file diff --git a/sdk/cosmosdb/Microsoft.Azure.Management.CosmosDB/tests/SessionRecords/RetrieveSqlContainerBackupInformationTests/RetrieveContinuousBackupInfoTest.json b/sdk/cosmosdb/Microsoft.Azure.Management.CosmosDB/tests/SessionRecords/RetrieveSqlContainerBackupInformationTests/RetrieveContinuousBackupInfoTest.json new file mode 100644 index 000000000000..f2e0f25b0988 --- /dev/null +++ b/sdk/cosmosdb/Microsoft.Azure.Management.CosmosDB/tests/SessionRecords/RetrieveSqlContainerBackupInformationTests/RetrieveContinuousBackupInfoTest.json @@ -0,0 +1,938 @@ +{ + "Entries": [ + { + "RequestUri": "/subscriptions/259fbb24-9bcd-4cfc-865c-fc33b22fe38a/resourceGroups/CosmosDBResourceGroup3668/providers/Microsoft.DocumentDB/databaseAccounts/sqltestaccount124/sqlDatabases/TestDB1/containers/TestContainer2?api-version=2021-06-15", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMjU5ZmJiMjQtOWJjZC00Y2ZjLTg2NWMtZmMzM2IyMmZlMzhhL3Jlc291cmNlR3JvdXBzL0Nvc21vc0RCUmVzb3VyY2VHcm91cDM2NjgvcHJvdmlkZXJzL01pY3Jvc29mdC5Eb2N1bWVudERCL2RhdGFiYXNlQWNjb3VudHMvc3FsdGVzdGFjY291bnQxMjQvc3FsRGF0YWJhc2VzL1Rlc3REQjEvY29udGFpbmVycy9UZXN0Q29udGFpbmVyMj9hcGktdmVyc2lvbj0yMDIxLTA2LTE1", + "RequestMethod": "PUT", + "RequestBody": "{\r\n \"properties\": {\r\n \"resource\": {\r\n \"id\": \"TestContainer2\",\r\n \"partitionKey\": {\r\n \"paths\": [\r\n \"/id\"\r\n ]\r\n }\r\n },\r\n \"options\": {\r\n \"throughput\": 400\r\n }\r\n }\r\n}", + "RequestHeaders": { + "x-ms-client-request-id": [ + "84e67394-e50c-40a6-b6bc-4cda0e097fc5" + ], + "Accept-Language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.28207.03", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.19043.", + "Microsoft.Azure.Management.CosmosDB.CosmosDBManagementClient/3.0.0.0" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Content-Length": [ + "218" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-store, no-cache" + ], + "Pragma": [ + "no-cache" + ], + "Location": [ + "https://management.azure.com/subscriptions/259fbb24-9bcd-4cfc-865c-fc33b22fe38a/resourceGroups/CosmosDBResourceGroup3668/providers/Microsoft.DocumentDB/databaseAccounts/sqltestaccount124/sqlDatabases/TestDB1/containers/TestContainer2/operationResults/6aeefaef-3899-4545-acae-495d7d5c9477?api-version=2021-06-15" + ], + "Azure-AsyncOperation": [ + "https://management.azure.com/subscriptions/259fbb24-9bcd-4cfc-865c-fc33b22fe38a/providers/Microsoft.DocumentDB/locations/eastus2/operationsStatus/6aeefaef-3899-4545-acae-495d7d5c9477?api-version=2021-06-15" + ], + "x-ms-request-id": [ + "6aeefaef-3899-4545-acae-495d7d5c9477" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-gatewayversion": [ + "version=2.14.0" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ], + "x-ms-ratelimit-remaining-subscription-writes": [ + "1199" + ], + "x-ms-correlation-request-id": [ + "d1b60f35-6f4d-4b17-9677-ded352bf5ce1" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20210616T065431Z:d1b60f35-6f4d-4b17-9677-ded352bf5ce1" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Wed, 16 Jun 2021 06:54:31 GMT" + ], + "Content-Length": [ + "21" + ], + "Content-Type": [ + "application/json" + ] + }, + "ResponseBody": "{\r\n \"status\": \"Enqueued\"\r\n}", + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/259fbb24-9bcd-4cfc-865c-fc33b22fe38a/providers/Microsoft.DocumentDB/locations/eastus2/operationsStatus/6aeefaef-3899-4545-acae-495d7d5c9477?api-version=2021-06-15", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMjU5ZmJiMjQtOWJjZC00Y2ZjLTg2NWMtZmMzM2IyMmZlMzhhL3Byb3ZpZGVycy9NaWNyb3NvZnQuRG9jdW1lbnREQi9sb2NhdGlvbnMvZWFzdHVzMi9vcGVyYXRpb25zU3RhdHVzLzZhZWVmYWVmLTM4OTktNDU0NS1hY2FlLTQ5NWQ3ZDVjOTQ3Nz9hcGktdmVyc2lvbj0yMDIxLTA2LTE1", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.6.28207.03", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.19043.", + "Microsoft.Azure.Management.CosmosDB.CosmosDBManagementClient/3.0.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-store, no-cache" + ], + "Pragma": [ + "no-cache" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-gatewayversion": [ + "version=2.14.0" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11999" + ], + "x-ms-request-id": [ + "166d970b-7241-4366-8a37-cfb0dde589c5" + ], + "x-ms-correlation-request-id": [ + "166d970b-7241-4366-8a37-cfb0dde589c5" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20210616T065502Z:166d970b-7241-4366-8a37-cfb0dde589c5" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Wed, 16 Jun 2021 06:55:01 GMT" + ], + "Content-Length": [ + "22" + ], + "Content-Type": [ + "application/json" + ] + }, + "ResponseBody": "{\r\n \"status\": \"Succeeded\"\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/259fbb24-9bcd-4cfc-865c-fc33b22fe38a/resourceGroups/CosmosDBResourceGroup3668/providers/Microsoft.DocumentDB/databaseAccounts/sqltestaccount124/sqlDatabases/TestDB1/containers/TestContainer2?api-version=2021-06-15", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMjU5ZmJiMjQtOWJjZC00Y2ZjLTg2NWMtZmMzM2IyMmZlMzhhL3Jlc291cmNlR3JvdXBzL0Nvc21vc0RCUmVzb3VyY2VHcm91cDM2NjgvcHJvdmlkZXJzL01pY3Jvc29mdC5Eb2N1bWVudERCL2RhdGFiYXNlQWNjb3VudHMvc3FsdGVzdGFjY291bnQxMjQvc3FsRGF0YWJhc2VzL1Rlc3REQjEvY29udGFpbmVycy9UZXN0Q29udGFpbmVyMj9hcGktdmVyc2lvbj0yMDIxLTA2LTE1", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.6.28207.03", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.19043.", + "Microsoft.Azure.Management.CosmosDB.CosmosDBManagementClient/3.0.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-store, no-cache" + ], + "Pragma": [ + "no-cache" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-gatewayversion": [ + "version=2.14.0" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11998" + ], + "x-ms-request-id": [ + "93395a3c-a0e7-4cfa-9e77-eed89991fd59" + ], + "x-ms-correlation-request-id": [ + "93395a3c-a0e7-4cfa-9e77-eed89991fd59" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20210616T065502Z:93395a3c-a0e7-4cfa-9e77-eed89991fd59" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Wed, 16 Jun 2021 06:55:02 GMT" + ], + "Content-Length": [ + "1106" + ], + "Content-Type": [ + "application/json" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/259fbb24-9bcd-4cfc-865c-fc33b22fe38a/resourceGroups/CosmosDBResourceGroup3668/providers/Microsoft.DocumentDB/databaseAccounts/sqltestaccount124/sqlDatabases/TestDB1/containers/TestContainer2\",\r\n \"type\": \"Microsoft.DocumentDB/databaseAccounts/sqlDatabases/containers\",\r\n \"name\": \"TestContainer2\",\r\n \"properties\": {\r\n \"resource\": {\r\n \"id\": \"TestContainer2\",\r\n \"indexingPolicy\": {\r\n \"indexingMode\": \"consistent\",\r\n \"automatic\": true,\r\n \"includedPaths\": [\r\n {\r\n \"path\": \"/*\"\r\n }\r\n ],\r\n \"excludedPaths\": [\r\n {\r\n \"path\": \"/\\\"_etag\\\"/?\"\r\n }\r\n ]\r\n },\r\n \"partitionKey\": {\r\n \"paths\": [\r\n \"/id\"\r\n ],\r\n \"kind\": \"Hash\"\r\n },\r\n \"uniqueKeyPolicy\": {\r\n \"uniqueKeys\": []\r\n },\r\n \"conflictResolutionPolicy\": {\r\n \"mode\": \"LastWriterWins\",\r\n \"conflictResolutionPath\": \"/_ts\",\r\n \"conflictResolutionProcedure\": \"\"\r\n },\r\n \"backupPolicy\": {\r\n \"type\": 1\r\n },\r\n \"allowMaterializedViews\": false,\r\n \"geospatialConfig\": {\r\n \"type\": \"Geography\"\r\n },\r\n \"_rid\": \"nNkMAJ3y89g=\",\r\n \"_ts\": 1623826477,\r\n \"_self\": \"dbs/nNkMAA==/colls/nNkMAJ3y89g=/\",\r\n \"_etag\": \"\\\"00003206-0000-0200-0000-60c9a02d0000\\\"\",\r\n \"_docs\": \"docs/\",\r\n \"_sprocs\": \"sprocs/\",\r\n \"_triggers\": \"triggers/\",\r\n \"_udfs\": \"udfs/\",\r\n \"_conflicts\": \"conflicts/\",\r\n \"statistics\": [\r\n {\r\n \"id\": \"0\",\r\n \"sizeInKB\": 0,\r\n \"documentCount\": 0,\r\n \"partitionKeys\": []\r\n }\r\n ]\r\n }\r\n }\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/259fbb24-9bcd-4cfc-865c-fc33b22fe38a/resourceGroups/CosmosDBResourceGroup3668/providers/Microsoft.DocumentDB/databaseAccounts/sqltestaccount124/sqlDatabases/TestDB1/containers/TestContainer2/retrieveContinuousBackupInformation?api-version=2021-06-15", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMjU5ZmJiMjQtOWJjZC00Y2ZjLTg2NWMtZmMzM2IyMmZlMzhhL3Jlc291cmNlR3JvdXBzL0Nvc21vc0RCUmVzb3VyY2VHcm91cDM2NjgvcHJvdmlkZXJzL01pY3Jvc29mdC5Eb2N1bWVudERCL2RhdGFiYXNlQWNjb3VudHMvc3FsdGVzdGFjY291bnQxMjQvc3FsRGF0YWJhc2VzL1Rlc3REQjEvY29udGFpbmVycy9UZXN0Q29udGFpbmVyMi9yZXRyaWV2ZUNvbnRpbnVvdXNCYWNrdXBJbmZvcm1hdGlvbj9hcGktdmVyc2lvbj0yMDIxLTA2LTE1", + "RequestMethod": "POST", + "RequestBody": "{\r\n \"location\": \"eastus2\"\r\n}", + "RequestHeaders": { + "x-ms-client-request-id": [ + "76f4d5e5-acb0-45e7-be5d-646070899d2e" + ], + "Accept-Language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.28207.03", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.19043.", + "Microsoft.Azure.Management.CosmosDB.CosmosDBManagementClient/3.0.0.0" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Content-Length": [ + "29" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-store, no-cache" + ], + "Pragma": [ + "no-cache" + ], + "Location": [ + "https://management.azure.com/subscriptions/259fbb24-9bcd-4cfc-865c-fc33b22fe38a/resourceGroups/CosmosDBResourceGroup3668/providers/Microsoft.DocumentDB/databaseAccounts/sqltestaccount124/sqlDatabases/TestDB1/containers/TestContainer2/retrieveContinuousBackupInformation/operationResults/99e13563-72c5-4129-91f5-884db45233d7?api-version=2021-06-15" + ], + "x-ms-request-id": [ + "99e13563-72c5-4129-91f5-884db45233d7" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-gatewayversion": [ + "version=2.14.0" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ], + "x-ms-ratelimit-remaining-subscription-writes": [ + "1199" + ], + "x-ms-correlation-request-id": [ + "fe9180ed-ee8c-485c-aeee-1e1459dc9e8e" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20210616T065502Z:fe9180ed-ee8c-485c-aeee-1e1459dc9e8e" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Wed, 16 Jun 2021 06:55:02 GMT" + ], + "Content-Length": [ + "21" + ], + "Content-Type": [ + "application/json" + ] + }, + "ResponseBody": "{\r\n \"status\": \"Enqueued\"\r\n}", + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/259fbb24-9bcd-4cfc-865c-fc33b22fe38a/resourceGroups/CosmosDBResourceGroup3668/providers/Microsoft.DocumentDB/databaseAccounts/sqltestaccount124/sqlDatabases/TestDB1/containers/TestContainer2/retrieveContinuousBackupInformation?api-version=2021-06-15", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMjU5ZmJiMjQtOWJjZC00Y2ZjLTg2NWMtZmMzM2IyMmZlMzhhL3Jlc291cmNlR3JvdXBzL0Nvc21vc0RCUmVzb3VyY2VHcm91cDM2NjgvcHJvdmlkZXJzL01pY3Jvc29mdC5Eb2N1bWVudERCL2RhdGFiYXNlQWNjb3VudHMvc3FsdGVzdGFjY291bnQxMjQvc3FsRGF0YWJhc2VzL1Rlc3REQjEvY29udGFpbmVycy9UZXN0Q29udGFpbmVyMi9yZXRyaWV2ZUNvbnRpbnVvdXNCYWNrdXBJbmZvcm1hdGlvbj9hcGktdmVyc2lvbj0yMDIxLTA2LTE1", + "RequestMethod": "POST", + "RequestBody": "{\r\n \"location\": \"eastus2\"\r\n}", + "RequestHeaders": { + "x-ms-client-request-id": [ + "59eb1581-f0a4-4748-817d-9d1a7852edeb" + ], + "Accept-Language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.28207.03", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.19043.", + "Microsoft.Azure.Management.CosmosDB.CosmosDBManagementClient/3.0.0.0" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Content-Length": [ + "29" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-store, no-cache" + ], + "Pragma": [ + "no-cache" + ], + "Location": [ + "https://management.azure.com/subscriptions/259fbb24-9bcd-4cfc-865c-fc33b22fe38a/resourceGroups/CosmosDBResourceGroup3668/providers/Microsoft.DocumentDB/databaseAccounts/sqltestaccount124/sqlDatabases/TestDB1/containers/TestContainer2/retrieveContinuousBackupInformation/operationResults/5244e034-a747-44d8-8f92-8eca50c542e8?api-version=2021-06-15" + ], + "x-ms-request-id": [ + "5244e034-a747-44d8-8f92-8eca50c542e8" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-gatewayversion": [ + "version=2.14.0" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ], + "x-ms-ratelimit-remaining-subscription-writes": [ + "1198" + ], + "x-ms-correlation-request-id": [ + "25d57284-9138-47a3-89bd-08a061b2a355" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20210616T065604Z:25d57284-9138-47a3-89bd-08a061b2a355" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Wed, 16 Jun 2021 06:56:04 GMT" + ], + "Content-Length": [ + "21" + ], + "Content-Type": [ + "application/json" + ] + }, + "ResponseBody": "{\r\n \"status\": \"Enqueued\"\r\n}", + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/259fbb24-9bcd-4cfc-865c-fc33b22fe38a/resourceGroups/CosmosDBResourceGroup3668/providers/Microsoft.DocumentDB/databaseAccounts/sqltestaccount124/sqlDatabases/TestDB1/containers/TestContainer2/retrieveContinuousBackupInformation/operationResults/99e13563-72c5-4129-91f5-884db45233d7?api-version=2021-06-15", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMjU5ZmJiMjQtOWJjZC00Y2ZjLTg2NWMtZmMzM2IyMmZlMzhhL3Jlc291cmNlR3JvdXBzL0Nvc21vc0RCUmVzb3VyY2VHcm91cDM2NjgvcHJvdmlkZXJzL01pY3Jvc29mdC5Eb2N1bWVudERCL2RhdGFiYXNlQWNjb3VudHMvc3FsdGVzdGFjY291bnQxMjQvc3FsRGF0YWJhc2VzL1Rlc3REQjEvY29udGFpbmVycy9UZXN0Q29udGFpbmVyMi9yZXRyaWV2ZUNvbnRpbnVvdXNCYWNrdXBJbmZvcm1hdGlvbi9vcGVyYXRpb25SZXN1bHRzLzk5ZTEzNTYzLTcyYzUtNDEyOS05MWY1LTg4NGRiNDUyMzNkNz9hcGktdmVyc2lvbj0yMDIxLTA2LTE1", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.6.28207.03", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.19043.", + "Microsoft.Azure.Management.CosmosDB.CosmosDBManagementClient/3.0.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-store, no-cache" + ], + "Pragma": [ + "no-cache" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-gatewayversion": [ + "version=2.14.0" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11997" + ], + "x-ms-request-id": [ + "b23745db-bbda-469a-be54-3bb6d2f4253b" + ], + "x-ms-correlation-request-id": [ + "b23745db-bbda-469a-be54-3bb6d2f4253b" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20210616T065533Z:b23745db-bbda-469a-be54-3bb6d2f4253b" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Wed, 16 Jun 2021 06:55:32 GMT" + ], + "Content-Length": [ + "74" + ], + "Content-Type": [ + "application/json" + ] + }, + "ResponseBody": "{\r\n \"continuousBackupInformation\": {\r\n \"latestRestorableTimestamp\": \"1623826517\"\r\n }\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/259fbb24-9bcd-4cfc-865c-fc33b22fe38a/resourceGroups/CosmosDBResourceGroup3668/providers/Microsoft.DocumentDB/databaseAccounts/sqltestaccount124/sqlDatabases/TestDB1/containers/TestContainer2/retrieveContinuousBackupInformation/operationResults/99e13563-72c5-4129-91f5-884db45233d7?api-version=2021-06-15", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMjU5ZmJiMjQtOWJjZC00Y2ZjLTg2NWMtZmMzM2IyMmZlMzhhL3Jlc291cmNlR3JvdXBzL0Nvc21vc0RCUmVzb3VyY2VHcm91cDM2NjgvcHJvdmlkZXJzL01pY3Jvc29mdC5Eb2N1bWVudERCL2RhdGFiYXNlQWNjb3VudHMvc3FsdGVzdGFjY291bnQxMjQvc3FsRGF0YWJhc2VzL1Rlc3REQjEvY29udGFpbmVycy9UZXN0Q29udGFpbmVyMi9yZXRyaWV2ZUNvbnRpbnVvdXNCYWNrdXBJbmZvcm1hdGlvbi9vcGVyYXRpb25SZXN1bHRzLzk5ZTEzNTYzLTcyYzUtNDEyOS05MWY1LTg4NGRiNDUyMzNkNz9hcGktdmVyc2lvbj0yMDIxLTA2LTE1", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.6.28207.03", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.19043.", + "Microsoft.Azure.Management.CosmosDB.CosmosDBManagementClient/3.0.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-store, no-cache" + ], + "Pragma": [ + "no-cache" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-gatewayversion": [ + "version=2.14.0" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11996" + ], + "x-ms-request-id": [ + "82823ed4-74e7-4579-a207-379ed61a7a70" + ], + "x-ms-correlation-request-id": [ + "82823ed4-74e7-4579-a207-379ed61a7a70" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20210616T065533Z:82823ed4-74e7-4579-a207-379ed61a7a70" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Wed, 16 Jun 2021 06:55:32 GMT" + ], + "Content-Length": [ + "74" + ], + "Content-Type": [ + "application/json" + ] + }, + "ResponseBody": "{\r\n \"continuousBackupInformation\": {\r\n \"latestRestorableTimestamp\": \"1623826517\"\r\n }\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/259fbb24-9bcd-4cfc-865c-fc33b22fe38a/resourceGroups/CosmosDBResourceGroup3668/providers/Microsoft.DocumentDB/databaseAccounts/sqltestaccount124/sqlDatabases/TestDB1/containers/TestContainer2/throughputSettings/default?api-version=2021-06-15", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMjU5ZmJiMjQtOWJjZC00Y2ZjLTg2NWMtZmMzM2IyMmZlMzhhL3Jlc291cmNlR3JvdXBzL0Nvc21vc0RCUmVzb3VyY2VHcm91cDM2NjgvcHJvdmlkZXJzL01pY3Jvc29mdC5Eb2N1bWVudERCL2RhdGFiYXNlQWNjb3VudHMvc3FsdGVzdGFjY291bnQxMjQvc3FsRGF0YWJhc2VzL1Rlc3REQjEvY29udGFpbmVycy9UZXN0Q29udGFpbmVyMi90aHJvdWdocHV0U2V0dGluZ3MvZGVmYXVsdD9hcGktdmVyc2lvbj0yMDIxLTA2LTE1", + "RequestMethod": "PUT", + "RequestBody": "{\r\n \"properties\": {\r\n \"resource\": {\r\n \"throughput\": 4000\r\n }\r\n }\r\n}", + "RequestHeaders": { + "x-ms-client-request-id": [ + "e76c4786-7532-43d9-8816-22f379a69492" + ], + "Accept-Language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.28207.03", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.19043.", + "Microsoft.Azure.Management.CosmosDB.CosmosDBManagementClient/3.0.0.0" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Content-Length": [ + "80" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-store, no-cache" + ], + "Pragma": [ + "no-cache" + ], + "Location": [ + "https://management.azure.com/subscriptions/259fbb24-9bcd-4cfc-865c-fc33b22fe38a/resourceGroups/CosmosDBResourceGroup3668/providers/Microsoft.DocumentDB/databaseAccounts/sqltestaccount124/sqlDatabases/TestDB1/containers/TestContainer2/throughputSettings/default/operationResults/3b33458a-4636-410f-9f6b-2fd53e42340a?api-version=2021-06-15" + ], + "Azure-AsyncOperation": [ + "https://management.azure.com/subscriptions/259fbb24-9bcd-4cfc-865c-fc33b22fe38a/providers/Microsoft.DocumentDB/locations/eastus2/operationsStatus/3b33458a-4636-410f-9f6b-2fd53e42340a?api-version=2021-06-15" + ], + "x-ms-request-id": [ + "3b33458a-4636-410f-9f6b-2fd53e42340a" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-gatewayversion": [ + "version=2.14.0" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ], + "x-ms-ratelimit-remaining-subscription-writes": [ + "1198" + ], + "x-ms-correlation-request-id": [ + "eac026ca-1bed-4cd8-ad8a-774c3b48867a" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20210616T065533Z:eac026ca-1bed-4cd8-ad8a-774c3b48867a" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Wed, 16 Jun 2021 06:55:33 GMT" + ], + "Content-Length": [ + "21" + ], + "Content-Type": [ + "application/json" + ] + }, + "ResponseBody": "{\r\n \"status\": \"Enqueued\"\r\n}", + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/259fbb24-9bcd-4cfc-865c-fc33b22fe38a/providers/Microsoft.DocumentDB/locations/eastus2/operationsStatus/3b33458a-4636-410f-9f6b-2fd53e42340a?api-version=2021-06-15", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMjU5ZmJiMjQtOWJjZC00Y2ZjLTg2NWMtZmMzM2IyMmZlMzhhL3Byb3ZpZGVycy9NaWNyb3NvZnQuRG9jdW1lbnREQi9sb2NhdGlvbnMvZWFzdHVzMi9vcGVyYXRpb25zU3RhdHVzLzNiMzM0NThhLTQ2MzYtNDEwZi05ZjZiLTJmZDUzZTQyMzQwYT9hcGktdmVyc2lvbj0yMDIxLTA2LTE1", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.6.28207.03", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.19043.", + "Microsoft.Azure.Management.CosmosDB.CosmosDBManagementClient/3.0.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-store, no-cache" + ], + "Pragma": [ + "no-cache" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-gatewayversion": [ + "version=2.14.0" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11995" + ], + "x-ms-request-id": [ + "04342c55-2166-485b-b9e8-e8cbc8e512cd" + ], + "x-ms-correlation-request-id": [ + "04342c55-2166-485b-b9e8-e8cbc8e512cd" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20210616T065604Z:04342c55-2166-485b-b9e8-e8cbc8e512cd" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Wed, 16 Jun 2021 06:56:03 GMT" + ], + "Content-Length": [ + "22" + ], + "Content-Type": [ + "application/json" + ] + }, + "ResponseBody": "{\r\n \"status\": \"Succeeded\"\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/259fbb24-9bcd-4cfc-865c-fc33b22fe38a/resourceGroups/CosmosDBResourceGroup3668/providers/Microsoft.DocumentDB/databaseAccounts/sqltestaccount124/sqlDatabases/TestDB1/containers/TestContainer2/throughputSettings/default?api-version=2021-06-15", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMjU5ZmJiMjQtOWJjZC00Y2ZjLTg2NWMtZmMzM2IyMmZlMzhhL3Jlc291cmNlR3JvdXBzL0Nvc21vc0RCUmVzb3VyY2VHcm91cDM2NjgvcHJvdmlkZXJzL01pY3Jvc29mdC5Eb2N1bWVudERCL2RhdGFiYXNlQWNjb3VudHMvc3FsdGVzdGFjY291bnQxMjQvc3FsRGF0YWJhc2VzL1Rlc3REQjEvY29udGFpbmVycy9UZXN0Q29udGFpbmVyMi90aHJvdWdocHV0U2V0dGluZ3MvZGVmYXVsdD9hcGktdmVyc2lvbj0yMDIxLTA2LTE1", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.6.28207.03", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.19043.", + "Microsoft.Azure.Management.CosmosDB.CosmosDBManagementClient/3.0.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-store, no-cache" + ], + "Pragma": [ + "no-cache" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-gatewayversion": [ + "version=2.14.0" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11994" + ], + "x-ms-request-id": [ + "9e7a2610-3673-41de-9ff8-ca944950bbf0" + ], + "x-ms-correlation-request-id": [ + "9e7a2610-3673-41de-9ff8-ca944950bbf0" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20210616T065604Z:9e7a2610-3673-41de-9ff8-ca944950bbf0" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Wed, 16 Jun 2021 06:56:03 GMT" + ], + "Content-Length": [ + "417" + ], + "Content-Type": [ + "application/json" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/259fbb24-9bcd-4cfc-865c-fc33b22fe38a/resourceGroups/CosmosDBResourceGroup3668/providers/Microsoft.DocumentDB/databaseAccounts/sqltestaccount124/sqlDatabases/TestDB1/containers/TestContainer2/throughputSettings/default\",\r\n \"type\": \"Microsoft.DocumentDB/databaseAccounts/sqlDatabases/containers/throughputSettings\",\r\n \"name\": \"bME0\",\r\n \"properties\": {\r\n \"resource\": {\r\n \"throughput\": 4000,\r\n \"minimumThroughput\": \"400\"\r\n }\r\n }\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/259fbb24-9bcd-4cfc-865c-fc33b22fe38a/resourceGroups/CosmosDBResourceGroup3668/providers/Microsoft.DocumentDB/databaseAccounts/sqltestaccount124/sqlDatabases/TestDB1/containers/TestContainer2/retrieveContinuousBackupInformation/operationResults/5244e034-a747-44d8-8f92-8eca50c542e8?api-version=2021-06-15", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMjU5ZmJiMjQtOWJjZC00Y2ZjLTg2NWMtZmMzM2IyMmZlMzhhL3Jlc291cmNlR3JvdXBzL0Nvc21vc0RCUmVzb3VyY2VHcm91cDM2NjgvcHJvdmlkZXJzL01pY3Jvc29mdC5Eb2N1bWVudERCL2RhdGFiYXNlQWNjb3VudHMvc3FsdGVzdGFjY291bnQxMjQvc3FsRGF0YWJhc2VzL1Rlc3REQjEvY29udGFpbmVycy9UZXN0Q29udGFpbmVyMi9yZXRyaWV2ZUNvbnRpbnVvdXNCYWNrdXBJbmZvcm1hdGlvbi9vcGVyYXRpb25SZXN1bHRzLzUyNDRlMDM0LWE3NDctNDRkOC04ZjkyLThlY2E1MGM1NDJlOD9hcGktdmVyc2lvbj0yMDIxLTA2LTE1", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.6.28207.03", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.19043.", + "Microsoft.Azure.Management.CosmosDB.CosmosDBManagementClient/3.0.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-store, no-cache" + ], + "Pragma": [ + "no-cache" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-gatewayversion": [ + "version=2.14.0" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11993" + ], + "x-ms-request-id": [ + "f1f6ab77-350b-47cb-b384-d3a91d86f5a1" + ], + "x-ms-correlation-request-id": [ + "f1f6ab77-350b-47cb-b384-d3a91d86f5a1" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20210616T065634Z:f1f6ab77-350b-47cb-b384-d3a91d86f5a1" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Wed, 16 Jun 2021 06:56:34 GMT" + ], + "Content-Length": [ + "74" + ], + "Content-Type": [ + "application/json" + ] + }, + "ResponseBody": "{\r\n \"continuousBackupInformation\": {\r\n \"latestRestorableTimestamp\": \"1623826579\"\r\n }\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/259fbb24-9bcd-4cfc-865c-fc33b22fe38a/resourceGroups/CosmosDBResourceGroup3668/providers/Microsoft.DocumentDB/databaseAccounts/sqltestaccount124/sqlDatabases/TestDB1/containers/TestContainer2/retrieveContinuousBackupInformation/operationResults/5244e034-a747-44d8-8f92-8eca50c542e8?api-version=2021-06-15", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMjU5ZmJiMjQtOWJjZC00Y2ZjLTg2NWMtZmMzM2IyMmZlMzhhL3Jlc291cmNlR3JvdXBzL0Nvc21vc0RCUmVzb3VyY2VHcm91cDM2NjgvcHJvdmlkZXJzL01pY3Jvc29mdC5Eb2N1bWVudERCL2RhdGFiYXNlQWNjb3VudHMvc3FsdGVzdGFjY291bnQxMjQvc3FsRGF0YWJhc2VzL1Rlc3REQjEvY29udGFpbmVycy9UZXN0Q29udGFpbmVyMi9yZXRyaWV2ZUNvbnRpbnVvdXNCYWNrdXBJbmZvcm1hdGlvbi9vcGVyYXRpb25SZXN1bHRzLzUyNDRlMDM0LWE3NDctNDRkOC04ZjkyLThlY2E1MGM1NDJlOD9hcGktdmVyc2lvbj0yMDIxLTA2LTE1", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.6.28207.03", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.19043.", + "Microsoft.Azure.Management.CosmosDB.CosmosDBManagementClient/3.0.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-store, no-cache" + ], + "Pragma": [ + "no-cache" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-gatewayversion": [ + "version=2.14.0" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11992" + ], + "x-ms-request-id": [ + "fa310cb8-b710-462a-95b6-5d5d3c102f41" + ], + "x-ms-correlation-request-id": [ + "fa310cb8-b710-462a-95b6-5d5d3c102f41" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20210616T065635Z:fa310cb8-b710-462a-95b6-5d5d3c102f41" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Wed, 16 Jun 2021 06:56:34 GMT" + ], + "Content-Length": [ + "74" + ], + "Content-Type": [ + "application/json" + ] + }, + "ResponseBody": "{\r\n \"continuousBackupInformation\": {\r\n \"latestRestorableTimestamp\": \"1623826579\"\r\n }\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/259fbb24-9bcd-4cfc-865c-fc33b22fe38a/resourceGroups/CosmosDBResourceGroup3668/providers/Microsoft.DocumentDB/databaseAccounts/sqltestaccount124/sqlDatabases/TestDB1/containers/TestContainer2?api-version=2021-06-15", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMjU5ZmJiMjQtOWJjZC00Y2ZjLTg2NWMtZmMzM2IyMmZlMzhhL3Jlc291cmNlR3JvdXBzL0Nvc21vc0RCUmVzb3VyY2VHcm91cDM2NjgvcHJvdmlkZXJzL01pY3Jvc29mdC5Eb2N1bWVudERCL2RhdGFiYXNlQWNjb3VudHMvc3FsdGVzdGFjY291bnQxMjQvc3FsRGF0YWJhc2VzL1Rlc3REQjEvY29udGFpbmVycy9UZXN0Q29udGFpbmVyMj9hcGktdmVyc2lvbj0yMDIxLTA2LTE1", + "RequestMethod": "DELETE", + "RequestBody": "", + "RequestHeaders": { + "x-ms-client-request-id": [ + "acbd831b-c184-4831-9e9a-813e15c09f24" + ], + "Accept-Language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.28207.03", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.19043.", + "Microsoft.Azure.Management.CosmosDB.CosmosDBManagementClient/3.0.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-store, no-cache" + ], + "Pragma": [ + "no-cache" + ], + "Location": [ + "https://management.azure.com/subscriptions/259fbb24-9bcd-4cfc-865c-fc33b22fe38a/resourceGroups/CosmosDBResourceGroup3668/providers/Microsoft.DocumentDB/databaseAccounts/sqltestaccount124/sqlDatabases/TestDB1/containers/TestContainer2/operationResults/8fd6bf31-88a0-4e57-9c71-b6a9137d399e?api-version=2021-06-15" + ], + "Azure-AsyncOperation": [ + "https://management.azure.com/subscriptions/259fbb24-9bcd-4cfc-865c-fc33b22fe38a/providers/Microsoft.DocumentDB/locations/eastus2/operationsStatus/8fd6bf31-88a0-4e57-9c71-b6a9137d399e?api-version=2021-06-15" + ], + "x-ms-request-id": [ + "8fd6bf31-88a0-4e57-9c71-b6a9137d399e" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-gatewayversion": [ + "version=2.14.0" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ], + "x-ms-ratelimit-remaining-subscription-deletes": [ + "14999" + ], + "x-ms-correlation-request-id": [ + "4d79b492-5096-420a-9e64-44b04cde432f" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20210616T065635Z:4d79b492-5096-420a-9e64-44b04cde432f" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Wed, 16 Jun 2021 06:56:35 GMT" + ], + "Content-Length": [ + "21" + ], + "Content-Type": [ + "application/json" + ] + }, + "ResponseBody": "{\r\n \"status\": \"Enqueued\"\r\n}", + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/259fbb24-9bcd-4cfc-865c-fc33b22fe38a/providers/Microsoft.DocumentDB/locations/eastus2/operationsStatus/8fd6bf31-88a0-4e57-9c71-b6a9137d399e?api-version=2021-06-15", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMjU5ZmJiMjQtOWJjZC00Y2ZjLTg2NWMtZmMzM2IyMmZlMzhhL3Byb3ZpZGVycy9NaWNyb3NvZnQuRG9jdW1lbnREQi9sb2NhdGlvbnMvZWFzdHVzMi9vcGVyYXRpb25zU3RhdHVzLzhmZDZiZjMxLTg4YTAtNGU1Ny05YzcxLWI2YTkxMzdkMzk5ZT9hcGktdmVyc2lvbj0yMDIxLTA2LTE1", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.6.28207.03", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.19043.", + "Microsoft.Azure.Management.CosmosDB.CosmosDBManagementClient/3.0.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-store, no-cache" + ], + "Pragma": [ + "no-cache" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-gatewayversion": [ + "version=2.14.0" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11991" + ], + "x-ms-request-id": [ + "e60203de-1dd5-41df-bb6a-9156ed56d05a" + ], + "x-ms-correlation-request-id": [ + "e60203de-1dd5-41df-bb6a-9156ed56d05a" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20210616T065705Z:e60203de-1dd5-41df-bb6a-9156ed56d05a" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Wed, 16 Jun 2021 06:57:05 GMT" + ], + "Content-Length": [ + "22" + ], + "Content-Type": [ + "application/json" + ] + }, + "ResponseBody": "{\r\n \"status\": \"Succeeded\"\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/259fbb24-9bcd-4cfc-865c-fc33b22fe38a/resourceGroups/CosmosDBResourceGroup3668/providers/Microsoft.DocumentDB/databaseAccounts/sqltestaccount124/sqlDatabases/TestDB1/containers/TestContainer2/operationResults/8fd6bf31-88a0-4e57-9c71-b6a9137d399e?api-version=2021-06-15", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMjU5ZmJiMjQtOWJjZC00Y2ZjLTg2NWMtZmMzM2IyMmZlMzhhL3Jlc291cmNlR3JvdXBzL0Nvc21vc0RCUmVzb3VyY2VHcm91cDM2NjgvcHJvdmlkZXJzL01pY3Jvc29mdC5Eb2N1bWVudERCL2RhdGFiYXNlQWNjb3VudHMvc3FsdGVzdGFjY291bnQxMjQvc3FsRGF0YWJhc2VzL1Rlc3REQjEvY29udGFpbmVycy9UZXN0Q29udGFpbmVyMi9vcGVyYXRpb25SZXN1bHRzLzhmZDZiZjMxLTg4YTAtNGU1Ny05YzcxLWI2YTkxMzdkMzk5ZT9hcGktdmVyc2lvbj0yMDIxLTA2LTE1", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.6.28207.03", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.19043.", + "Microsoft.Azure.Management.CosmosDB.CosmosDBManagementClient/3.0.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-store, no-cache" + ], + "Pragma": [ + "no-cache" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-gatewayversion": [ + "version=2.14.0" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11990" + ], + "x-ms-request-id": [ + "a90803cd-e806-4e04-a515-27272192d5dd" + ], + "x-ms-correlation-request-id": [ + "a90803cd-e806-4e04-a515-27272192d5dd" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20210616T065705Z:a90803cd-e806-4e04-a515-27272192d5dd" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Wed, 16 Jun 2021 06:57:05 GMT" + ], + "Content-Type": [ + "application/json" + ] + }, + "ResponseBody": "", + "StatusCode": 204 + } + ], + "Names": {}, + "Variables": { + "SubscriptionId": "259fbb24-9bcd-4cfc-865c-fc33b22fe38a" + } +} \ No newline at end of file diff --git a/sdk/cosmosdb/Microsoft.Azure.Management.CosmosDB/tests/SessionRecords/SqlResourcesOperationsTests/SqlCRUDTests.json b/sdk/cosmosdb/Microsoft.Azure.Management.CosmosDB/tests/SessionRecords/SqlResourcesOperationsTests/SqlCRUDTests.json index cf48ee06727a..8fa5f1c04212 100644 --- a/sdk/cosmosdb/Microsoft.Azure.Management.CosmosDB/tests/SessionRecords/SqlResourcesOperationsTests/SqlCRUDTests.json +++ b/sdk/cosmosdb/Microsoft.Azure.Management.CosmosDB/tests/SessionRecords/SqlResourcesOperationsTests/SqlCRUDTests.json @@ -1,21 +1,21 @@ { "Entries": [ { - "RequestUri": "/providers/Microsoft.DocumentDB/databaseAccountNames/cli124?api-version=2021-04-15", - "EncodedRequestUri": "L3Byb3ZpZGVycy9NaWNyb3NvZnQuRG9jdW1lbnREQi9kYXRhYmFzZUFjY291bnROYW1lcy9jbGkxMjQ/YXBpLXZlcnNpb249MjAyMS0wNC0xNQ==", + "RequestUri": "/providers/Microsoft.DocumentDB/databaseAccountNames/cli126?api-version=2021-06-15", + "EncodedRequestUri": "L3Byb3ZpZGVycy9NaWNyb3NvZnQuRG9jdW1lbnREQi9kYXRhYmFzZUFjY291bnROYW1lcy9jbGkxMjY/YXBpLXZlcnNpb249MjAyMS0wNi0xNQ==", "RequestMethod": "HEAD", "RequestBody": "", "RequestHeaders": { "x-ms-client-request-id": [ - "2b83f260-8160-473b-b211-6da9961cbb3c" + "dec186b4-89c1-4de6-a0b9-9e77b8317a09" ], "Accept-Language": [ "en-US" ], "User-Agent": [ - "FxVersion/4.6.29916.01", + "FxVersion/4.6.28207.03", "OSName/Windows", - "OSVersion/Microsoft.Windows.10.0.19042.", + "OSVersion/Microsoft.Windows.10.0.19043.", "Microsoft.Azure.Management.CosmosDB.CosmosDBManagementClient/3.0.0.0" ] }, @@ -30,7 +30,7 @@ "max-age=31536000; includeSubDomains" ], "x-ms-activity-id": [ - "2b83f260-8160-473b-b211-6da9961cbb3c" + "dec186b4-89c1-4de6-a0b9-9e77b8317a09" ], "Server": [ "Microsoft-HTTPAPI/2.0" @@ -39,19 +39,19 @@ "11999" ], "x-ms-request-id": [ - "8998fda8-ee22-4be4-b66b-a20832ab97b0" + "78d9ae00-a153-4ed4-ba62-e38cee5aaaf2" ], "x-ms-correlation-request-id": [ - "8998fda8-ee22-4be4-b66b-a20832ab97b0" + "78d9ae00-a153-4ed4-ba62-e38cee5aaaf2" ], "x-ms-routing-request-id": [ - "WESTCENTRALUS:20210427T174428Z:8998fda8-ee22-4be4-b66b-a20832ab97b0" + "WESTUS2:20210616T075815Z:78d9ae00-a153-4ed4-ba62-e38cee5aaaf2" ], "X-Content-Type-Options": [ "nosniff" ], "Date": [ - "Tue, 27 Apr 2021 17:44:28 GMT" + "Wed, 16 Jun 2021 07:58:14 GMT" ], "Content-Length": [ "0" @@ -61,21 +61,21 @@ "StatusCode": 200 }, { - "RequestUri": "/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/resourceGroups/CosmosDBResourceGroup3668/providers/Microsoft.DocumentDB/databaseAccounts/cli124/sqlDatabases/databaseName?api-version=2021-04-15", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvODBiZTM5NjEtMDUyMS00YTBhLTg1NzAtNWNkNWE0ZTJmOThjL3Jlc291cmNlR3JvdXBzL0Nvc21vc0RCUmVzb3VyY2VHcm91cDM2NjgvcHJvdmlkZXJzL01pY3Jvc29mdC5Eb2N1bWVudERCL2RhdGFiYXNlQWNjb3VudHMvY2xpMTI0L3NxbERhdGFiYXNlcy9kYXRhYmFzZU5hbWU/YXBpLXZlcnNpb249MjAyMS0wNC0xNQ==", + "RequestUri": "/subscriptions/259fbb24-9bcd-4cfc-865c-fc33b22fe38a/resourceGroups/CosmosDBResourceGroup3668/providers/Microsoft.DocumentDB/databaseAccounts/cli126/sqlDatabases/databaseName?api-version=2021-06-15", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMjU5ZmJiMjQtOWJjZC00Y2ZjLTg2NWMtZmMzM2IyMmZlMzhhL3Jlc291cmNlR3JvdXBzL0Nvc21vc0RCUmVzb3VyY2VHcm91cDM2NjgvcHJvdmlkZXJzL01pY3Jvc29mdC5Eb2N1bWVudERCL2RhdGFiYXNlQWNjb3VudHMvY2xpMTI2L3NxbERhdGFiYXNlcy9kYXRhYmFzZU5hbWU/YXBpLXZlcnNpb249MjAyMS0wNi0xNQ==", "RequestMethod": "PUT", "RequestBody": "{\r\n \"properties\": {\r\n \"resource\": {\r\n \"id\": \"databaseName\"\r\n },\r\n \"options\": {}\r\n }\r\n}", "RequestHeaders": { "x-ms-client-request-id": [ - "fbcea387-12ed-4254-bc7f-ed05b8138813" + "8f2b12a7-aba2-452a-90cb-05df84dcee75" ], "Accept-Language": [ "en-US" ], "User-Agent": [ - "FxVersion/4.6.29916.01", + "FxVersion/4.6.28207.03", "OSName/Windows", - "OSVersion/Microsoft.Windows.10.0.19042.", + "OSVersion/Microsoft.Windows.10.0.19043.", "Microsoft.Azure.Management.CosmosDB.CosmosDBManagementClient/3.0.0.0" ], "Content-Type": [ @@ -93,19 +93,19 @@ "no-cache" ], "Location": [ - "https://management.azure.com/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/resourceGroups/CosmosDBResourceGroup3668/providers/Microsoft.DocumentDB/databaseAccounts/cli124/sqlDatabases/databaseName/operationResults/6cc325fb-e2ff-4105-8a33-53f45f30c9ba?api-version=2021-04-15" + "https://management.azure.com/subscriptions/259fbb24-9bcd-4cfc-865c-fc33b22fe38a/resourceGroups/CosmosDBResourceGroup3668/providers/Microsoft.DocumentDB/databaseAccounts/cli126/sqlDatabases/databaseName/operationResults/9135e661-d84a-4811-8536-572761dc9dbb?api-version=2021-06-15" ], "Azure-AsyncOperation": [ - "https://management.azure.com/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/providers/Microsoft.DocumentDB/locations/eastus2/operationsStatus/6cc325fb-e2ff-4105-8a33-53f45f30c9ba?api-version=2021-04-15" + "https://management.azure.com/subscriptions/259fbb24-9bcd-4cfc-865c-fc33b22fe38a/providers/Microsoft.DocumentDB/locations/eastus2/operationsStatus/9135e661-d84a-4811-8536-572761dc9dbb?api-version=2021-06-15" ], "x-ms-request-id": [ - "6cc325fb-e2ff-4105-8a33-53f45f30c9ba" + "9135e661-d84a-4811-8536-572761dc9dbb" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "x-ms-gatewayversion": [ - "version=2.11.0" + "version=2.14.0" ], "Server": [ "Microsoft-HTTPAPI/2.0" @@ -114,16 +114,16 @@ "1199" ], "x-ms-correlation-request-id": [ - "8a7855e1-73cc-4fe6-8778-e49d41194961" + "a8610c35-1523-493e-b484-a6b6a7c37096" ], "x-ms-routing-request-id": [ - "WESTCENTRALUS:20210427T174429Z:8a7855e1-73cc-4fe6-8778-e49d41194961" + "WESTUS2:20210616T075816Z:a8610c35-1523-493e-b484-a6b6a7c37096" ], "X-Content-Type-Options": [ "nosniff" ], "Date": [ - "Tue, 27 Apr 2021 17:44:29 GMT" + "Wed, 16 Jun 2021 07:58:16 GMT" ], "Content-Length": [ "21" @@ -136,15 +136,15 @@ "StatusCode": 202 }, { - "RequestUri": "/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/providers/Microsoft.DocumentDB/locations/eastus2/operationsStatus/6cc325fb-e2ff-4105-8a33-53f45f30c9ba?api-version=2021-04-15", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvODBiZTM5NjEtMDUyMS00YTBhLTg1NzAtNWNkNWE0ZTJmOThjL3Byb3ZpZGVycy9NaWNyb3NvZnQuRG9jdW1lbnREQi9sb2NhdGlvbnMvZWFzdHVzMi9vcGVyYXRpb25zU3RhdHVzLzZjYzMyNWZiLWUyZmYtNDEwNS04YTMzLTUzZjQ1ZjMwYzliYT9hcGktdmVyc2lvbj0yMDIxLTA0LTE1", + "RequestUri": "/subscriptions/259fbb24-9bcd-4cfc-865c-fc33b22fe38a/providers/Microsoft.DocumentDB/locations/eastus2/operationsStatus/9135e661-d84a-4811-8536-572761dc9dbb?api-version=2021-06-15", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMjU5ZmJiMjQtOWJjZC00Y2ZjLTg2NWMtZmMzM2IyMmZlMzhhL3Byb3ZpZGVycy9NaWNyb3NvZnQuRG9jdW1lbnREQi9sb2NhdGlvbnMvZWFzdHVzMi9vcGVyYXRpb25zU3RhdHVzLzkxMzVlNjYxLWQ4NGEtNDgxMS04NTM2LTU3Mjc2MWRjOWRiYj9hcGktdmVyc2lvbj0yMDIxLTA2LTE1", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { "User-Agent": [ - "FxVersion/4.6.29916.01", + "FxVersion/4.6.28207.03", "OSName/Windows", - "OSVersion/Microsoft.Windows.10.0.19042.", + "OSVersion/Microsoft.Windows.10.0.19043.", "Microsoft.Azure.Management.CosmosDB.CosmosDBManagementClient/3.0.0.0" ] }, @@ -159,7 +159,7 @@ "max-age=31536000; includeSubDomains" ], "x-ms-gatewayversion": [ - "version=2.11.0" + "version=2.14.0" ], "Server": [ "Microsoft-HTTPAPI/2.0" @@ -168,19 +168,19 @@ "11999" ], "x-ms-request-id": [ - "a107e341-b554-46ff-9430-2bd780e082dc" + "ed5f3dfb-09a0-46da-9ef6-f8abb1054fc0" ], "x-ms-correlation-request-id": [ - "a107e341-b554-46ff-9430-2bd780e082dc" + "ed5f3dfb-09a0-46da-9ef6-f8abb1054fc0" ], "x-ms-routing-request-id": [ - "WESTCENTRALUS:20210427T174459Z:a107e341-b554-46ff-9430-2bd780e082dc" + "WESTUS2:20210616T075846Z:ed5f3dfb-09a0-46da-9ef6-f8abb1054fc0" ], "X-Content-Type-Options": [ "nosniff" ], "Date": [ - "Tue, 27 Apr 2021 17:44:59 GMT" + "Wed, 16 Jun 2021 07:58:46 GMT" ], "Content-Length": [ "22" @@ -193,15 +193,15 @@ "StatusCode": 200 }, { - "RequestUri": "/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/resourceGroups/CosmosDBResourceGroup3668/providers/Microsoft.DocumentDB/databaseAccounts/cli124/sqlDatabases/databaseName?api-version=2021-04-15", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvODBiZTM5NjEtMDUyMS00YTBhLTg1NzAtNWNkNWE0ZTJmOThjL3Jlc291cmNlR3JvdXBzL0Nvc21vc0RCUmVzb3VyY2VHcm91cDM2NjgvcHJvdmlkZXJzL01pY3Jvc29mdC5Eb2N1bWVudERCL2RhdGFiYXNlQWNjb3VudHMvY2xpMTI0L3NxbERhdGFiYXNlcy9kYXRhYmFzZU5hbWU/YXBpLXZlcnNpb249MjAyMS0wNC0xNQ==", + "RequestUri": "/subscriptions/259fbb24-9bcd-4cfc-865c-fc33b22fe38a/resourceGroups/CosmosDBResourceGroup3668/providers/Microsoft.DocumentDB/databaseAccounts/cli126/sqlDatabases/databaseName?api-version=2021-06-15", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMjU5ZmJiMjQtOWJjZC00Y2ZjLTg2NWMtZmMzM2IyMmZlMzhhL3Jlc291cmNlR3JvdXBzL0Nvc21vc0RCUmVzb3VyY2VHcm91cDM2NjgvcHJvdmlkZXJzL01pY3Jvc29mdC5Eb2N1bWVudERCL2RhdGFiYXNlQWNjb3VudHMvY2xpMTI2L3NxbERhdGFiYXNlcy9kYXRhYmFzZU5hbWU/YXBpLXZlcnNpb249MjAyMS0wNi0xNQ==", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { "User-Agent": [ - "FxVersion/4.6.29916.01", + "FxVersion/4.6.28207.03", "OSName/Windows", - "OSVersion/Microsoft.Windows.10.0.19042.", + "OSVersion/Microsoft.Windows.10.0.19043.", "Microsoft.Azure.Management.CosmosDB.CosmosDBManagementClient/3.0.0.0" ] }, @@ -216,7 +216,7 @@ "max-age=31536000; includeSubDomains" ], "x-ms-gatewayversion": [ - "version=2.11.0" + "version=2.14.0" ], "Server": [ "Microsoft-HTTPAPI/2.0" @@ -225,19 +225,19 @@ "11998" ], "x-ms-request-id": [ - "4e07a839-902b-4a0c-9cf2-ad4d35161783" + "34e46b72-0bbc-4224-98df-c53039d4ecf2" ], "x-ms-correlation-request-id": [ - "4e07a839-902b-4a0c-9cf2-ad4d35161783" + "34e46b72-0bbc-4224-98df-c53039d4ecf2" ], "x-ms-routing-request-id": [ - "WESTCENTRALUS:20210427T174500Z:4e07a839-902b-4a0c-9cf2-ad4d35161783" + "WESTUS2:20210616T075846Z:34e46b72-0bbc-4224-98df-c53039d4ecf2" ], "X-Content-Type-Options": [ "nosniff" ], "Date": [ - "Tue, 27 Apr 2021 17:44:59 GMT" + "Wed, 16 Jun 2021 07:58:46 GMT" ], "Content-Length": [ "458" @@ -246,25 +246,25 @@ "application/json" ] }, - "ResponseBody": "{\r\n \"id\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/resourceGroups/CosmosDBResourceGroup3668/providers/Microsoft.DocumentDB/databaseAccounts/cli124/sqlDatabases/databaseName\",\r\n \"type\": \"Microsoft.DocumentDB/databaseAccounts/sqlDatabases\",\r\n \"name\": \"databaseName\",\r\n \"properties\": {\r\n \"resource\": {\r\n \"id\": \"databaseName\",\r\n \"_rid\": \"6EAGAA==\",\r\n \"_self\": \"dbs/6EAGAA==/\",\r\n \"_etag\": \"\\\"0000c20e-0000-0200-0000-60884d820000\\\"\",\r\n \"_colls\": \"colls/\",\r\n \"_users\": \"users/\",\r\n \"_ts\": 1619545474\r\n }\r\n }\r\n}", + "ResponseBody": "{\r\n \"id\": \"/subscriptions/259fbb24-9bcd-4cfc-865c-fc33b22fe38a/resourceGroups/CosmosDBResourceGroup3668/providers/Microsoft.DocumentDB/databaseAccounts/cli126/sqlDatabases/databaseName\",\r\n \"type\": \"Microsoft.DocumentDB/databaseAccounts/sqlDatabases\",\r\n \"name\": \"databaseName\",\r\n \"properties\": {\r\n \"resource\": {\r\n \"id\": \"databaseName\",\r\n \"_rid\": \"xaE4AA==\",\r\n \"_self\": \"dbs/xaE4AA==/\",\r\n \"_etag\": \"\\\"0000c401-0000-0200-0000-60c944c50000\\\"\",\r\n \"_colls\": \"colls/\",\r\n \"_users\": \"users/\",\r\n \"_ts\": 1623803077\r\n }\r\n }\r\n}", "StatusCode": 200 }, { - "RequestUri": "/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/resourceGroups/CosmosDBResourceGroup3668/providers/Microsoft.DocumentDB/databaseAccounts/cli124/sqlDatabases/databaseName?api-version=2021-04-15", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvODBiZTM5NjEtMDUyMS00YTBhLTg1NzAtNWNkNWE0ZTJmOThjL3Jlc291cmNlR3JvdXBzL0Nvc21vc0RCUmVzb3VyY2VHcm91cDM2NjgvcHJvdmlkZXJzL01pY3Jvc29mdC5Eb2N1bWVudERCL2RhdGFiYXNlQWNjb3VudHMvY2xpMTI0L3NxbERhdGFiYXNlcy9kYXRhYmFzZU5hbWU/YXBpLXZlcnNpb249MjAyMS0wNC0xNQ==", + "RequestUri": "/subscriptions/259fbb24-9bcd-4cfc-865c-fc33b22fe38a/resourceGroups/CosmosDBResourceGroup3668/providers/Microsoft.DocumentDB/databaseAccounts/cli126/sqlDatabases/databaseName?api-version=2021-06-15", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMjU5ZmJiMjQtOWJjZC00Y2ZjLTg2NWMtZmMzM2IyMmZlMzhhL3Jlc291cmNlR3JvdXBzL0Nvc21vc0RCUmVzb3VyY2VHcm91cDM2NjgvcHJvdmlkZXJzL01pY3Jvc29mdC5Eb2N1bWVudERCL2RhdGFiYXNlQWNjb3VudHMvY2xpMTI2L3NxbERhdGFiYXNlcy9kYXRhYmFzZU5hbWU/YXBpLXZlcnNpb249MjAyMS0wNi0xNQ==", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { "x-ms-client-request-id": [ - "c50a30fe-dfc3-495a-ba45-5a2df530a8ba" + "d3fddd52-e0bb-479c-9416-4d450ec59d98" ], "Accept-Language": [ "en-US" ], "User-Agent": [ - "FxVersion/4.6.29916.01", + "FxVersion/4.6.28207.03", "OSName/Windows", - "OSVersion/Microsoft.Windows.10.0.19042.", + "OSVersion/Microsoft.Windows.10.0.19043.", "Microsoft.Azure.Management.CosmosDB.CosmosDBManagementClient/3.0.0.0" ] }, @@ -279,7 +279,7 @@ "max-age=31536000; includeSubDomains" ], "x-ms-gatewayversion": [ - "version=2.11.0" + "version=2.14.0" ], "Server": [ "Microsoft-HTTPAPI/2.0" @@ -288,19 +288,19 @@ "11997" ], "x-ms-request-id": [ - "7127b2fe-37b2-4716-a8f2-442649d3800e" + "b639a19e-6507-4110-a5ce-9be5e28f7a0e" ], "x-ms-correlation-request-id": [ - "7127b2fe-37b2-4716-a8f2-442649d3800e" + "b639a19e-6507-4110-a5ce-9be5e28f7a0e" ], "x-ms-routing-request-id": [ - "WESTCENTRALUS:20210427T174500Z:7127b2fe-37b2-4716-a8f2-442649d3800e" + "WESTUS2:20210616T075847Z:b639a19e-6507-4110-a5ce-9be5e28f7a0e" ], "X-Content-Type-Options": [ "nosniff" ], "Date": [ - "Tue, 27 Apr 2021 17:44:59 GMT" + "Wed, 16 Jun 2021 07:58:46 GMT" ], "Content-Length": [ "458" @@ -309,25 +309,25 @@ "application/json" ] }, - "ResponseBody": "{\r\n \"id\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/resourceGroups/CosmosDBResourceGroup3668/providers/Microsoft.DocumentDB/databaseAccounts/cli124/sqlDatabases/databaseName\",\r\n \"type\": \"Microsoft.DocumentDB/databaseAccounts/sqlDatabases\",\r\n \"name\": \"databaseName\",\r\n \"properties\": {\r\n \"resource\": {\r\n \"id\": \"databaseName\",\r\n \"_rid\": \"6EAGAA==\",\r\n \"_self\": \"dbs/6EAGAA==/\",\r\n \"_etag\": \"\\\"0000c20e-0000-0200-0000-60884d820000\\\"\",\r\n \"_colls\": \"colls/\",\r\n \"_users\": \"users/\",\r\n \"_ts\": 1619545474\r\n }\r\n }\r\n}", + "ResponseBody": "{\r\n \"id\": \"/subscriptions/259fbb24-9bcd-4cfc-865c-fc33b22fe38a/resourceGroups/CosmosDBResourceGroup3668/providers/Microsoft.DocumentDB/databaseAccounts/cli126/sqlDatabases/databaseName\",\r\n \"type\": \"Microsoft.DocumentDB/databaseAccounts/sqlDatabases\",\r\n \"name\": \"databaseName\",\r\n \"properties\": {\r\n \"resource\": {\r\n \"id\": \"databaseName\",\r\n \"_rid\": \"xaE4AA==\",\r\n \"_self\": \"dbs/xaE4AA==/\",\r\n \"_etag\": \"\\\"0000c401-0000-0200-0000-60c944c50000\\\"\",\r\n \"_colls\": \"colls/\",\r\n \"_users\": \"users/\",\r\n \"_ts\": 1623803077\r\n }\r\n }\r\n}", "StatusCode": 200 }, { - "RequestUri": "/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/resourceGroups/CosmosDBResourceGroup3668/providers/Microsoft.DocumentDB/databaseAccounts/cli124/sqlDatabases/databaseName2?api-version=2021-04-15", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvODBiZTM5NjEtMDUyMS00YTBhLTg1NzAtNWNkNWE0ZTJmOThjL3Jlc291cmNlR3JvdXBzL0Nvc21vc0RCUmVzb3VyY2VHcm91cDM2NjgvcHJvdmlkZXJzL01pY3Jvc29mdC5Eb2N1bWVudERCL2RhdGFiYXNlQWNjb3VudHMvY2xpMTI0L3NxbERhdGFiYXNlcy9kYXRhYmFzZU5hbWUyP2FwaS12ZXJzaW9uPTIwMjEtMDQtMTU=", + "RequestUri": "/subscriptions/259fbb24-9bcd-4cfc-865c-fc33b22fe38a/resourceGroups/CosmosDBResourceGroup3668/providers/Microsoft.DocumentDB/databaseAccounts/cli126/sqlDatabases/databaseName2?api-version=2021-06-15", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMjU5ZmJiMjQtOWJjZC00Y2ZjLTg2NWMtZmMzM2IyMmZlMzhhL3Jlc291cmNlR3JvdXBzL0Nvc21vc0RCUmVzb3VyY2VHcm91cDM2NjgvcHJvdmlkZXJzL01pY3Jvc29mdC5Eb2N1bWVudERCL2RhdGFiYXNlQWNjb3VudHMvY2xpMTI2L3NxbERhdGFiYXNlcy9kYXRhYmFzZU5hbWUyP2FwaS12ZXJzaW9uPTIwMjEtMDYtMTU=", "RequestMethod": "PUT", "RequestBody": "{\r\n \"properties\": {\r\n \"resource\": {\r\n \"id\": \"databaseName2\"\r\n },\r\n \"options\": {\r\n \"throughput\": 700\r\n }\r\n },\r\n \"location\": \"EAST US 2\",\r\n \"tags\": {\r\n \"key3\": \"value3\",\r\n \"key4\": \"value4\"\r\n }\r\n}", "RequestHeaders": { "x-ms-client-request-id": [ - "7a824c4d-7cd2-4b9b-9334-b4643edd8256" + "b191d4bd-d53b-4895-b95d-1051dd2d4cb7" ], "Accept-Language": [ "en-US" ], "User-Agent": [ - "FxVersion/4.6.29916.01", + "FxVersion/4.6.28207.03", "OSName/Windows", - "OSVersion/Microsoft.Windows.10.0.19042.", + "OSVersion/Microsoft.Windows.10.0.19043.", "Microsoft.Azure.Management.CosmosDB.CosmosDBManagementClient/3.0.0.0" ], "Content-Type": [ @@ -345,19 +345,19 @@ "no-cache" ], "Location": [ - "https://management.azure.com/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/resourceGroups/CosmosDBResourceGroup3668/providers/Microsoft.DocumentDB/databaseAccounts/cli124/sqlDatabases/databaseName2/operationResults/db60d581-18ae-4752-99f7-ceb089ecfd58?api-version=2021-04-15" + "https://management.azure.com/subscriptions/259fbb24-9bcd-4cfc-865c-fc33b22fe38a/resourceGroups/CosmosDBResourceGroup3668/providers/Microsoft.DocumentDB/databaseAccounts/cli126/sqlDatabases/databaseName2/operationResults/b22d325f-c852-4eb4-b5d7-7fd1bfff0a49?api-version=2021-06-15" ], "Azure-AsyncOperation": [ - "https://management.azure.com/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/providers/Microsoft.DocumentDB/locations/eastus2/operationsStatus/db60d581-18ae-4752-99f7-ceb089ecfd58?api-version=2021-04-15" + "https://management.azure.com/subscriptions/259fbb24-9bcd-4cfc-865c-fc33b22fe38a/providers/Microsoft.DocumentDB/locations/eastus2/operationsStatus/b22d325f-c852-4eb4-b5d7-7fd1bfff0a49?api-version=2021-06-15" ], "x-ms-request-id": [ - "db60d581-18ae-4752-99f7-ceb089ecfd58" + "b22d325f-c852-4eb4-b5d7-7fd1bfff0a49" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "x-ms-gatewayversion": [ - "version=2.11.0" + "version=2.14.0" ], "Server": [ "Microsoft-HTTPAPI/2.0" @@ -366,16 +366,16 @@ "1198" ], "x-ms-correlation-request-id": [ - "52c39d89-fe3c-46c8-91fb-b814f7eed34e" + "6fd5201e-f3f0-416d-b9bd-4d655945db0c" ], "x-ms-routing-request-id": [ - "WESTCENTRALUS:20210427T174501Z:52c39d89-fe3c-46c8-91fb-b814f7eed34e" + "WESTUS2:20210616T075847Z:6fd5201e-f3f0-416d-b9bd-4d655945db0c" ], "X-Content-Type-Options": [ "nosniff" ], "Date": [ - "Tue, 27 Apr 2021 17:45:00 GMT" + "Wed, 16 Jun 2021 07:58:47 GMT" ], "Content-Length": [ "21" @@ -388,15 +388,15 @@ "StatusCode": 202 }, { - "RequestUri": "/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/providers/Microsoft.DocumentDB/locations/eastus2/operationsStatus/db60d581-18ae-4752-99f7-ceb089ecfd58?api-version=2021-04-15", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvODBiZTM5NjEtMDUyMS00YTBhLTg1NzAtNWNkNWE0ZTJmOThjL3Byb3ZpZGVycy9NaWNyb3NvZnQuRG9jdW1lbnREQi9sb2NhdGlvbnMvZWFzdHVzMi9vcGVyYXRpb25zU3RhdHVzL2RiNjBkNTgxLTE4YWUtNDc1Mi05OWY3LWNlYjA4OWVjZmQ1OD9hcGktdmVyc2lvbj0yMDIxLTA0LTE1", + "RequestUri": "/subscriptions/259fbb24-9bcd-4cfc-865c-fc33b22fe38a/providers/Microsoft.DocumentDB/locations/eastus2/operationsStatus/b22d325f-c852-4eb4-b5d7-7fd1bfff0a49?api-version=2021-06-15", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMjU5ZmJiMjQtOWJjZC00Y2ZjLTg2NWMtZmMzM2IyMmZlMzhhL3Byb3ZpZGVycy9NaWNyb3NvZnQuRG9jdW1lbnREQi9sb2NhdGlvbnMvZWFzdHVzMi9vcGVyYXRpb25zU3RhdHVzL2IyMmQzMjVmLWM4NTItNGViNC1iNWQ3LTdmZDFiZmZmMGE0OT9hcGktdmVyc2lvbj0yMDIxLTA2LTE1", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { "User-Agent": [ - "FxVersion/4.6.29916.01", + "FxVersion/4.6.28207.03", "OSName/Windows", - "OSVersion/Microsoft.Windows.10.0.19042.", + "OSVersion/Microsoft.Windows.10.0.19043.", "Microsoft.Azure.Management.CosmosDB.CosmosDBManagementClient/3.0.0.0" ] }, @@ -411,7 +411,7 @@ "max-age=31536000; includeSubDomains" ], "x-ms-gatewayversion": [ - "version=2.11.0" + "version=2.14.0" ], "Server": [ "Microsoft-HTTPAPI/2.0" @@ -420,19 +420,19 @@ "11996" ], "x-ms-request-id": [ - "88139015-4731-4228-90ea-80262773d5c9" + "2dc98b4b-8eee-4742-8035-5af3e2cfc104" ], "x-ms-correlation-request-id": [ - "88139015-4731-4228-90ea-80262773d5c9" + "2dc98b4b-8eee-4742-8035-5af3e2cfc104" ], "x-ms-routing-request-id": [ - "WESTCENTRALUS:20210427T174531Z:88139015-4731-4228-90ea-80262773d5c9" + "WESTUS2:20210616T075917Z:2dc98b4b-8eee-4742-8035-5af3e2cfc104" ], "X-Content-Type-Options": [ "nosniff" ], "Date": [ - "Tue, 27 Apr 2021 17:45:31 GMT" + "Wed, 16 Jun 2021 07:59:16 GMT" ], "Content-Length": [ "22" @@ -445,15 +445,15 @@ "StatusCode": 200 }, { - "RequestUri": "/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/resourceGroups/CosmosDBResourceGroup3668/providers/Microsoft.DocumentDB/databaseAccounts/cli124/sqlDatabases/databaseName2?api-version=2021-04-15", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvODBiZTM5NjEtMDUyMS00YTBhLTg1NzAtNWNkNWE0ZTJmOThjL3Jlc291cmNlR3JvdXBzL0Nvc21vc0RCUmVzb3VyY2VHcm91cDM2NjgvcHJvdmlkZXJzL01pY3Jvc29mdC5Eb2N1bWVudERCL2RhdGFiYXNlQWNjb3VudHMvY2xpMTI0L3NxbERhdGFiYXNlcy9kYXRhYmFzZU5hbWUyP2FwaS12ZXJzaW9uPTIwMjEtMDQtMTU=", + "RequestUri": "/subscriptions/259fbb24-9bcd-4cfc-865c-fc33b22fe38a/resourceGroups/CosmosDBResourceGroup3668/providers/Microsoft.DocumentDB/databaseAccounts/cli126/sqlDatabases/databaseName2?api-version=2021-06-15", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMjU5ZmJiMjQtOWJjZC00Y2ZjLTg2NWMtZmMzM2IyMmZlMzhhL3Jlc291cmNlR3JvdXBzL0Nvc21vc0RCUmVzb3VyY2VHcm91cDM2NjgvcHJvdmlkZXJzL01pY3Jvc29mdC5Eb2N1bWVudERCL2RhdGFiYXNlQWNjb3VudHMvY2xpMTI2L3NxbERhdGFiYXNlcy9kYXRhYmFzZU5hbWUyP2FwaS12ZXJzaW9uPTIwMjEtMDYtMTU=", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { "User-Agent": [ - "FxVersion/4.6.29916.01", + "FxVersion/4.6.28207.03", "OSName/Windows", - "OSVersion/Microsoft.Windows.10.0.19042.", + "OSVersion/Microsoft.Windows.10.0.19043.", "Microsoft.Azure.Management.CosmosDB.CosmosDBManagementClient/3.0.0.0" ] }, @@ -468,7 +468,7 @@ "max-age=31536000; includeSubDomains" ], "x-ms-gatewayversion": [ - "version=2.11.0" + "version=2.14.0" ], "Server": [ "Microsoft-HTTPAPI/2.0" @@ -477,19 +477,19 @@ "11995" ], "x-ms-request-id": [ - "92e448e2-5116-4447-aad1-23c733243fc0" + "712e3bb7-7b08-4c75-93fa-51a7d37d4ef2" ], "x-ms-correlation-request-id": [ - "92e448e2-5116-4447-aad1-23c733243fc0" + "712e3bb7-7b08-4c75-93fa-51a7d37d4ef2" ], "x-ms-routing-request-id": [ - "WESTCENTRALUS:20210427T174531Z:92e448e2-5116-4447-aad1-23c733243fc0" + "WESTUS2:20210616T075918Z:712e3bb7-7b08-4c75-93fa-51a7d37d4ef2" ], "X-Content-Type-Options": [ "nosniff" ], "Date": [ - "Tue, 27 Apr 2021 17:45:31 GMT" + "Wed, 16 Jun 2021 07:59:17 GMT" ], "Content-Length": [ "461" @@ -498,25 +498,25 @@ "application/json" ] }, - "ResponseBody": "{\r\n \"id\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/resourceGroups/CosmosDBResourceGroup3668/providers/Microsoft.DocumentDB/databaseAccounts/cli124/sqlDatabases/databaseName2\",\r\n \"type\": \"Microsoft.DocumentDB/databaseAccounts/sqlDatabases\",\r\n \"name\": \"databaseName2\",\r\n \"properties\": {\r\n \"resource\": {\r\n \"id\": \"databaseName2\",\r\n \"_rid\": \"ok8iAA==\",\r\n \"_self\": \"dbs/ok8iAA==/\",\r\n \"_etag\": \"\\\"0000c40e-0000-0200-0000-60884da60000\\\"\",\r\n \"_colls\": \"colls/\",\r\n \"_users\": \"users/\",\r\n \"_ts\": 1619545510\r\n }\r\n }\r\n}", + "ResponseBody": "{\r\n \"id\": \"/subscriptions/259fbb24-9bcd-4cfc-865c-fc33b22fe38a/resourceGroups/CosmosDBResourceGroup3668/providers/Microsoft.DocumentDB/databaseAccounts/cli126/sqlDatabases/databaseName2\",\r\n \"type\": \"Microsoft.DocumentDB/databaseAccounts/sqlDatabases\",\r\n \"name\": \"databaseName2\",\r\n \"properties\": {\r\n \"resource\": {\r\n \"id\": \"databaseName2\",\r\n \"_rid\": \"Cy8eAA==\",\r\n \"_self\": \"dbs/Cy8eAA==/\",\r\n \"_etag\": \"\\\"0000c601-0000-0200-0000-60c944e60000\\\"\",\r\n \"_colls\": \"colls/\",\r\n \"_users\": \"users/\",\r\n \"_ts\": 1623803110\r\n }\r\n }\r\n}", "StatusCode": 200 }, { - "RequestUri": "/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/resourceGroups/CosmosDBResourceGroup3668/providers/Microsoft.DocumentDB/databaseAccounts/cli124/sqlDatabases?api-version=2021-04-15", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvODBiZTM5NjEtMDUyMS00YTBhLTg1NzAtNWNkNWE0ZTJmOThjL3Jlc291cmNlR3JvdXBzL0Nvc21vc0RCUmVzb3VyY2VHcm91cDM2NjgvcHJvdmlkZXJzL01pY3Jvc29mdC5Eb2N1bWVudERCL2RhdGFiYXNlQWNjb3VudHMvY2xpMTI0L3NxbERhdGFiYXNlcz9hcGktdmVyc2lvbj0yMDIxLTA0LTE1", + "RequestUri": "/subscriptions/259fbb24-9bcd-4cfc-865c-fc33b22fe38a/resourceGroups/CosmosDBResourceGroup3668/providers/Microsoft.DocumentDB/databaseAccounts/cli126/sqlDatabases?api-version=2021-06-15", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMjU5ZmJiMjQtOWJjZC00Y2ZjLTg2NWMtZmMzM2IyMmZlMzhhL3Jlc291cmNlR3JvdXBzL0Nvc21vc0RCUmVzb3VyY2VHcm91cDM2NjgvcHJvdmlkZXJzL01pY3Jvc29mdC5Eb2N1bWVudERCL2RhdGFiYXNlQWNjb3VudHMvY2xpMTI2L3NxbERhdGFiYXNlcz9hcGktdmVyc2lvbj0yMDIxLTA2LTE1", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { "x-ms-client-request-id": [ - "a7bde4cb-aa97-479f-99f1-80aa77bd5a51" + "015f855c-c0a6-40d9-8164-25a17b9fe0f8" ], "Accept-Language": [ "en-US" ], "User-Agent": [ - "FxVersion/4.6.29916.01", + "FxVersion/4.6.28207.03", "OSName/Windows", - "OSVersion/Microsoft.Windows.10.0.19042.", + "OSVersion/Microsoft.Windows.10.0.19043.", "Microsoft.Azure.Management.CosmosDB.CosmosDBManagementClient/3.0.0.0" ] }, @@ -531,7 +531,7 @@ "max-age=31536000; includeSubDomains" ], "x-ms-gatewayversion": [ - "version=2.11.0" + "version=2.14.0" ], "Server": [ "Microsoft-HTTPAPI/2.0" @@ -540,46 +540,46 @@ "11994" ], "x-ms-request-id": [ - "d286f36f-c978-4ee5-9eff-a8902e42c87e" + "3ec3774d-d6cb-4904-b9e3-3871524b5819" ], "x-ms-correlation-request-id": [ - "d286f36f-c978-4ee5-9eff-a8902e42c87e" + "3ec3774d-d6cb-4904-b9e3-3871524b5819" ], "x-ms-routing-request-id": [ - "WESTCENTRALUS:20210427T174531Z:d286f36f-c978-4ee5-9eff-a8902e42c87e" + "WESTUS2:20210616T075918Z:3ec3774d-d6cb-4904-b9e3-3871524b5819" ], "X-Content-Type-Options": [ "nosniff" ], "Date": [ - "Tue, 27 Apr 2021 17:45:31 GMT" + "Wed, 16 Jun 2021 07:59:17 GMT" ], "Content-Length": [ - "932" + "1394" ], "Content-Type": [ "application/json" ] }, - "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/resourceGroups/CosmosDBResourceGroup3668/providers/Microsoft.DocumentDB/databaseAccounts/cli124/sqlDatabases/databaseName\",\r\n \"type\": \"Microsoft.DocumentDB/databaseAccounts/sqlDatabases\",\r\n \"name\": \"databaseName\",\r\n \"properties\": {\r\n \"resource\": {\r\n \"id\": \"databaseName\",\r\n \"_rid\": \"6EAGAA==\",\r\n \"_self\": \"dbs/6EAGAA==/\",\r\n \"_etag\": \"\\\"0000c20e-0000-0200-0000-60884d820000\\\"\",\r\n \"_colls\": \"colls/\",\r\n \"_users\": \"users/\",\r\n \"_ts\": 1619545474\r\n }\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/resourceGroups/CosmosDBResourceGroup3668/providers/Microsoft.DocumentDB/databaseAccounts/cli124/sqlDatabases/databaseName2\",\r\n \"type\": \"Microsoft.DocumentDB/databaseAccounts/sqlDatabases\",\r\n \"name\": \"databaseName2\",\r\n \"properties\": {\r\n \"resource\": {\r\n \"id\": \"databaseName2\",\r\n \"_rid\": \"ok8iAA==\",\r\n \"_self\": \"dbs/ok8iAA==/\",\r\n \"_etag\": \"\\\"0000c40e-0000-0200-0000-60884da60000\\\"\",\r\n \"_colls\": \"colls/\",\r\n \"_users\": \"users/\",\r\n \"_ts\": 1619545510\r\n }\r\n }\r\n }\r\n ]\r\n}", + "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/subscriptions/259fbb24-9bcd-4cfc-865c-fc33b22fe38a/resourceGroups/CosmosDBResourceGroup3668/providers/Microsoft.DocumentDB/databaseAccounts/cli126/sqlDatabases/databaseName2\",\r\n \"type\": \"Microsoft.DocumentDB/databaseAccounts/sqlDatabases\",\r\n \"name\": \"databaseName2\",\r\n \"properties\": {\r\n \"resource\": {\r\n \"id\": \"databaseName2\",\r\n \"_rid\": \"Cy8eAA==\",\r\n \"_self\": \"dbs/Cy8eAA==/\",\r\n \"_etag\": \"\\\"0000c601-0000-0200-0000-60c944e60000\\\"\",\r\n \"_colls\": \"colls/\",\r\n \"_users\": \"users/\",\r\n \"_ts\": 1623803110\r\n }\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/259fbb24-9bcd-4cfc-865c-fc33b22fe38a/resourceGroups/CosmosDBResourceGroup3668/providers/Microsoft.DocumentDB/databaseAccounts/cli126/sqlDatabases/databaseName\",\r\n \"type\": \"Microsoft.DocumentDB/databaseAccounts/sqlDatabases\",\r\n \"name\": \"databaseName\",\r\n \"properties\": {\r\n \"resource\": {\r\n \"id\": \"databaseName\",\r\n \"_rid\": \"xaE4AA==\",\r\n \"_self\": \"dbs/xaE4AA==/\",\r\n \"_etag\": \"\\\"0000c401-0000-0200-0000-60c944c50000\\\"\",\r\n \"_colls\": \"colls/\",\r\n \"_users\": \"users/\",\r\n \"_ts\": 1623803077\r\n }\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/259fbb24-9bcd-4cfc-865c-fc33b22fe38a/resourceGroups/CosmosDBResourceGroup3668/providers/Microsoft.DocumentDB/databaseAccounts/cli126/sqlDatabases/databaseName3\",\r\n \"type\": \"Microsoft.DocumentDB/databaseAccounts/sqlDatabases\",\r\n \"name\": \"databaseName3\",\r\n \"properties\": {\r\n \"resource\": {\r\n \"id\": \"databaseName3\",\r\n \"_rid\": \"VE5xAA==\",\r\n \"_self\": \"dbs/VE5xAA==/\",\r\n \"_etag\": \"\\\"0000db01-0000-0200-0000-60c9483d0000\\\"\",\r\n \"_colls\": \"colls/\",\r\n \"_users\": \"users/\",\r\n \"_ts\": 1623803965\r\n }\r\n }\r\n }\r\n ]\r\n}", "StatusCode": 200 }, { - "RequestUri": "/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/resourceGroups/CosmosDBResourceGroup3668/providers/Microsoft.DocumentDB/databaseAccounts/cli124/sqlDatabases/databaseName2/throughputSettings/default?api-version=2021-04-15", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvODBiZTM5NjEtMDUyMS00YTBhLTg1NzAtNWNkNWE0ZTJmOThjL3Jlc291cmNlR3JvdXBzL0Nvc21vc0RCUmVzb3VyY2VHcm91cDM2NjgvcHJvdmlkZXJzL01pY3Jvc29mdC5Eb2N1bWVudERCL2RhdGFiYXNlQWNjb3VudHMvY2xpMTI0L3NxbERhdGFiYXNlcy9kYXRhYmFzZU5hbWUyL3Rocm91Z2hwdXRTZXR0aW5ncy9kZWZhdWx0P2FwaS12ZXJzaW9uPTIwMjEtMDQtMTU=", + "RequestUri": "/subscriptions/259fbb24-9bcd-4cfc-865c-fc33b22fe38a/resourceGroups/CosmosDBResourceGroup3668/providers/Microsoft.DocumentDB/databaseAccounts/cli126/sqlDatabases/databaseName2/throughputSettings/default?api-version=2021-06-15", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMjU5ZmJiMjQtOWJjZC00Y2ZjLTg2NWMtZmMzM2IyMmZlMzhhL3Jlc291cmNlR3JvdXBzL0Nvc21vc0RCUmVzb3VyY2VHcm91cDM2NjgvcHJvdmlkZXJzL01pY3Jvc29mdC5Eb2N1bWVudERCL2RhdGFiYXNlQWNjb3VudHMvY2xpMTI2L3NxbERhdGFiYXNlcy9kYXRhYmFzZU5hbWUyL3Rocm91Z2hwdXRTZXR0aW5ncy9kZWZhdWx0P2FwaS12ZXJzaW9uPTIwMjEtMDYtMTU=", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { "x-ms-client-request-id": [ - "6b95967e-fba5-483c-9cd5-6fbfe5915734" + "775571e3-ec31-4fe9-989f-3c6943319369" ], "Accept-Language": [ "en-US" ], "User-Agent": [ - "FxVersion/4.6.29916.01", + "FxVersion/4.6.28207.03", "OSName/Windows", - "OSVersion/Microsoft.Windows.10.0.19042.", + "OSVersion/Microsoft.Windows.10.0.19043.", "Microsoft.Azure.Management.CosmosDB.CosmosDBManagementClient/3.0.0.0" ] }, @@ -594,7 +594,7 @@ "max-age=31536000; includeSubDomains" ], "x-ms-gatewayversion": [ - "version=2.11.0" + "version=2.14.0" ], "Server": [ "Microsoft-HTTPAPI/2.0" @@ -603,19 +603,19 @@ "11993" ], "x-ms-request-id": [ - "f61ad662-cad8-41a9-b72a-ed0f15fb528b" + "8b659c74-462d-4be7-9999-f42afbfceb46" ], "x-ms-correlation-request-id": [ - "f61ad662-cad8-41a9-b72a-ed0f15fb528b" + "8b659c74-462d-4be7-9999-f42afbfceb46" ], "x-ms-routing-request-id": [ - "WESTCENTRALUS:20210427T174532Z:f61ad662-cad8-41a9-b72a-ed0f15fb528b" + "WESTUS2:20210616T075918Z:8b659c74-462d-4be7-9999-f42afbfceb46" ], "X-Content-Type-Options": [ "nosniff" ], "Date": [ - "Tue, 27 Apr 2021 17:45:31 GMT" + "Wed, 16 Jun 2021 07:59:17 GMT" ], "Content-Length": [ "374" @@ -624,32 +624,32 @@ "application/json" ] }, - "ResponseBody": "{\r\n \"id\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/resourceGroups/CosmosDBResourceGroup3668/providers/Microsoft.DocumentDB/databaseAccounts/cli124/sqlDatabases/databaseName2/throughputSettings/default\",\r\n \"type\": \"Microsoft.DocumentDB/databaseAccounts/sqlDatabases/throughputSettings\",\r\n \"name\": \"1nZu\",\r\n \"properties\": {\r\n \"resource\": {\r\n \"throughput\": 700,\r\n \"minimumThroughput\": \"400\"\r\n }\r\n }\r\n}", + "ResponseBody": "{\r\n \"id\": \"/subscriptions/259fbb24-9bcd-4cfc-865c-fc33b22fe38a/resourceGroups/CosmosDBResourceGroup3668/providers/Microsoft.DocumentDB/databaseAccounts/cli126/sqlDatabases/databaseName2/throughputSettings/default\",\r\n \"type\": \"Microsoft.DocumentDB/databaseAccounts/sqlDatabases/throughputSettings\",\r\n \"name\": \"TskQ\",\r\n \"properties\": {\r\n \"resource\": {\r\n \"throughput\": 700,\r\n \"minimumThroughput\": \"400\"\r\n }\r\n }\r\n}", "StatusCode": 200 }, { - "RequestUri": "/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/resourceGroups/CosmosDBResourceGroup3668/providers/Microsoft.DocumentDB/databaseAccounts/cli124/sqlDatabases/databaseName/containers/containerName?api-version=2021-04-15", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvODBiZTM5NjEtMDUyMS00YTBhLTg1NzAtNWNkNWE0ZTJmOThjL3Jlc291cmNlR3JvdXBzL0Nvc21vc0RCUmVzb3VyY2VHcm91cDM2NjgvcHJvdmlkZXJzL01pY3Jvc29mdC5Eb2N1bWVudERCL2RhdGFiYXNlQWNjb3VudHMvY2xpMTI0L3NxbERhdGFiYXNlcy9kYXRhYmFzZU5hbWUvY29udGFpbmVycy9jb250YWluZXJOYW1lP2FwaS12ZXJzaW9uPTIwMjEtMDQtMTU=", + "RequestUri": "/subscriptions/259fbb24-9bcd-4cfc-865c-fc33b22fe38a/resourceGroups/CosmosDBResourceGroup3668/providers/Microsoft.DocumentDB/databaseAccounts/cli126/sqlDatabases/databaseName/containers/containerName2?api-version=2021-06-15", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMjU5ZmJiMjQtOWJjZC00Y2ZjLTg2NWMtZmMzM2IyMmZlMzhhL3Jlc291cmNlR3JvdXBzL0Nvc21vc0RCUmVzb3VyY2VHcm91cDM2NjgvcHJvdmlkZXJzL01pY3Jvc29mdC5Eb2N1bWVudERCL2RhdGFiYXNlQWNjb3VudHMvY2xpMTI2L3NxbERhdGFiYXNlcy9kYXRhYmFzZU5hbWUvY29udGFpbmVycy9jb250YWluZXJOYW1lMj9hcGktdmVyc2lvbj0yMDIxLTA2LTE1", "RequestMethod": "PUT", - "RequestBody": "{\r\n \"properties\": {\r\n \"resource\": {\r\n \"id\": \"containerName\",\r\n \"indexingPolicy\": {\r\n \"automatic\": true,\r\n \"indexingMode\": \"consistent\",\r\n \"includedPaths\": [\r\n {\r\n \"path\": \"/*\"\r\n }\r\n ],\r\n \"excludedPaths\": [\r\n {\r\n \"path\": \"/pathToNotIndex/*\"\r\n }\r\n ],\r\n \"compositeIndexes\": [\r\n [\r\n {\r\n \"path\": \"/orderByPath1\",\r\n \"order\": \"ascending\"\r\n },\r\n {\r\n \"path\": \"/orderByPath2\",\r\n \"order\": \"descending\"\r\n }\r\n ],\r\n [\r\n {\r\n \"path\": \"/orderByPath3\",\r\n \"order\": \"ascending\"\r\n },\r\n {\r\n \"path\": \"/orderByPath4\",\r\n \"order\": \"descending\"\r\n }\r\n ]\r\n ]\r\n },\r\n \"partitionKey\": {\r\n \"paths\": [\r\n \"/address/zipCode\"\r\n ],\r\n \"kind\": \"Hash\"\r\n }\r\n },\r\n \"options\": {\r\n \"throughput\": 700\r\n }\r\n }\r\n}", + "RequestBody": "{\r\n \"properties\": {\r\n \"resource\": {\r\n \"id\": \"containerName2\",\r\n \"indexingPolicy\": {\r\n \"automatic\": true,\r\n \"indexingMode\": \"consistent\",\r\n \"includedPaths\": [\r\n {\r\n \"path\": \"/*\"\r\n }\r\n ],\r\n \"excludedPaths\": [\r\n {\r\n \"path\": \"/pathToNotIndex/*\"\r\n }\r\n ],\r\n \"compositeIndexes\": [\r\n [\r\n {\r\n \"path\": \"/orderByPath1\",\r\n \"order\": \"ascending\"\r\n },\r\n {\r\n \"path\": \"/orderByPath2\",\r\n \"order\": \"descending\"\r\n }\r\n ],\r\n [\r\n {\r\n \"path\": \"/orderByPath3\",\r\n \"order\": \"ascending\"\r\n },\r\n {\r\n \"path\": \"/orderByPath4\",\r\n \"order\": \"descending\"\r\n }\r\n ]\r\n ]\r\n },\r\n \"partitionKey\": {\r\n \"paths\": [\r\n \"/address/zipCode\"\r\n ],\r\n \"kind\": \"Hash\"\r\n }\r\n },\r\n \"options\": {\r\n \"throughput\": 700\r\n }\r\n }\r\n}", "RequestHeaders": { "x-ms-client-request-id": [ - "74fffc6c-7156-4be3-83ff-c65b9b73df8d" + "d3bc7c2d-d300-4636-a80f-ba5c4137472e" ], "Accept-Language": [ "en-US" ], "User-Agent": [ - "FxVersion/4.6.29916.01", + "FxVersion/4.6.28207.03", "OSName/Windows", - "OSVersion/Microsoft.Windows.10.0.19042.", + "OSVersion/Microsoft.Windows.10.0.19043.", "Microsoft.Azure.Management.CosmosDB.CosmosDBManagementClient/3.0.0.0" ], "Content-Type": [ "application/json; charset=utf-8" ], "Content-Length": [ - "1081" + "1082" ] }, "ResponseHeaders": { @@ -660,19 +660,19 @@ "no-cache" ], "Location": [ - "https://management.azure.com/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/resourceGroups/CosmosDBResourceGroup3668/providers/Microsoft.DocumentDB/databaseAccounts/cli124/sqlDatabases/databaseName/containers/containerName/operationResults/f055147d-6919-4744-b6c3-2cbd3e853278?api-version=2021-04-15" + "https://management.azure.com/subscriptions/259fbb24-9bcd-4cfc-865c-fc33b22fe38a/resourceGroups/CosmosDBResourceGroup3668/providers/Microsoft.DocumentDB/databaseAccounts/cli126/sqlDatabases/databaseName/containers/containerName2/operationResults/4cc010d8-5975-4210-a1b9-b1eb500de178?api-version=2021-06-15" ], "Azure-AsyncOperation": [ - "https://management.azure.com/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/providers/Microsoft.DocumentDB/locations/eastus2/operationsStatus/f055147d-6919-4744-b6c3-2cbd3e853278?api-version=2021-04-15" + "https://management.azure.com/subscriptions/259fbb24-9bcd-4cfc-865c-fc33b22fe38a/providers/Microsoft.DocumentDB/locations/eastus2/operationsStatus/4cc010d8-5975-4210-a1b9-b1eb500de178?api-version=2021-06-15" ], "x-ms-request-id": [ - "f055147d-6919-4744-b6c3-2cbd3e853278" + "4cc010d8-5975-4210-a1b9-b1eb500de178" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "x-ms-gatewayversion": [ - "version=2.11.0" + "version=2.14.0" ], "Server": [ "Microsoft-HTTPAPI/2.0" @@ -681,16 +681,16 @@ "1197" ], "x-ms-correlation-request-id": [ - "57e37d4e-1fca-4361-a3bd-9ae6d1abea62" + "25708cd9-bc3e-4d2a-8c14-5407cbbfbf64" ], "x-ms-routing-request-id": [ - "WESTCENTRALUS:20210427T174533Z:57e37d4e-1fca-4361-a3bd-9ae6d1abea62" + "WESTUS2:20210616T075919Z:25708cd9-bc3e-4d2a-8c14-5407cbbfbf64" ], "X-Content-Type-Options": [ "nosniff" ], "Date": [ - "Tue, 27 Apr 2021 17:45:32 GMT" + "Wed, 16 Jun 2021 07:59:18 GMT" ], "Content-Length": [ "21" @@ -703,15 +703,15 @@ "StatusCode": 202 }, { - "RequestUri": "/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/providers/Microsoft.DocumentDB/locations/eastus2/operationsStatus/f055147d-6919-4744-b6c3-2cbd3e853278?api-version=2021-04-15", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvODBiZTM5NjEtMDUyMS00YTBhLTg1NzAtNWNkNWE0ZTJmOThjL3Byb3ZpZGVycy9NaWNyb3NvZnQuRG9jdW1lbnREQi9sb2NhdGlvbnMvZWFzdHVzMi9vcGVyYXRpb25zU3RhdHVzL2YwNTUxNDdkLTY5MTktNDc0NC1iNmMzLTJjYmQzZTg1MzI3OD9hcGktdmVyc2lvbj0yMDIxLTA0LTE1", + "RequestUri": "/subscriptions/259fbb24-9bcd-4cfc-865c-fc33b22fe38a/providers/Microsoft.DocumentDB/locations/eastus2/operationsStatus/4cc010d8-5975-4210-a1b9-b1eb500de178?api-version=2021-06-15", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMjU5ZmJiMjQtOWJjZC00Y2ZjLTg2NWMtZmMzM2IyMmZlMzhhL3Byb3ZpZGVycy9NaWNyb3NvZnQuRG9jdW1lbnREQi9sb2NhdGlvbnMvZWFzdHVzMi9vcGVyYXRpb25zU3RhdHVzLzRjYzAxMGQ4LTU5NzUtNDIxMC1hMWI5LWIxZWI1MDBkZTE3OD9hcGktdmVyc2lvbj0yMDIxLTA2LTE1", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { "User-Agent": [ - "FxVersion/4.6.29916.01", + "FxVersion/4.6.28207.03", "OSName/Windows", - "OSVersion/Microsoft.Windows.10.0.19042.", + "OSVersion/Microsoft.Windows.10.0.19043.", "Microsoft.Azure.Management.CosmosDB.CosmosDBManagementClient/3.0.0.0" ] }, @@ -726,7 +726,7 @@ "max-age=31536000; includeSubDomains" ], "x-ms-gatewayversion": [ - "version=2.11.0" + "version=2.14.0" ], "Server": [ "Microsoft-HTTPAPI/2.0" @@ -735,19 +735,19 @@ "11992" ], "x-ms-request-id": [ - "07b93a27-2e05-462d-af06-852cf7434fad" + "cb045140-d012-459e-8b45-19b1dd2020a4" ], "x-ms-correlation-request-id": [ - "07b93a27-2e05-462d-af06-852cf7434fad" + "cb045140-d012-459e-8b45-19b1dd2020a4" ], "x-ms-routing-request-id": [ - "WESTCENTRALUS:20210427T174603Z:07b93a27-2e05-462d-af06-852cf7434fad" + "WESTUS2:20210616T075949Z:cb045140-d012-459e-8b45-19b1dd2020a4" ], "X-Content-Type-Options": [ "nosniff" ], "Date": [ - "Tue, 27 Apr 2021 17:46:02 GMT" + "Wed, 16 Jun 2021 07:59:49 GMT" ], "Content-Length": [ "22" @@ -760,15 +760,15 @@ "StatusCode": 200 }, { - "RequestUri": "/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/resourceGroups/CosmosDBResourceGroup3668/providers/Microsoft.DocumentDB/databaseAccounts/cli124/sqlDatabases/databaseName/containers/containerName?api-version=2021-04-15", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvODBiZTM5NjEtMDUyMS00YTBhLTg1NzAtNWNkNWE0ZTJmOThjL3Jlc291cmNlR3JvdXBzL0Nvc21vc0RCUmVzb3VyY2VHcm91cDM2NjgvcHJvdmlkZXJzL01pY3Jvc29mdC5Eb2N1bWVudERCL2RhdGFiYXNlQWNjb3VudHMvY2xpMTI0L3NxbERhdGFiYXNlcy9kYXRhYmFzZU5hbWUvY29udGFpbmVycy9jb250YWluZXJOYW1lP2FwaS12ZXJzaW9uPTIwMjEtMDQtMTU=", + "RequestUri": "/subscriptions/259fbb24-9bcd-4cfc-865c-fc33b22fe38a/resourceGroups/CosmosDBResourceGroup3668/providers/Microsoft.DocumentDB/databaseAccounts/cli126/sqlDatabases/databaseName/containers/containerName2?api-version=2021-06-15", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMjU5ZmJiMjQtOWJjZC00Y2ZjLTg2NWMtZmMzM2IyMmZlMzhhL3Jlc291cmNlR3JvdXBzL0Nvc21vc0RCUmVzb3VyY2VHcm91cDM2NjgvcHJvdmlkZXJzL01pY3Jvc29mdC5Eb2N1bWVudERCL2RhdGFiYXNlQWNjb3VudHMvY2xpMTI2L3NxbERhdGFiYXNlcy9kYXRhYmFzZU5hbWUvY29udGFpbmVycy9jb250YWluZXJOYW1lMj9hcGktdmVyc2lvbj0yMDIxLTA2LTE1", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { "User-Agent": [ - "FxVersion/4.6.29916.01", + "FxVersion/4.6.28207.03", "OSName/Windows", - "OSVersion/Microsoft.Windows.10.0.19042.", + "OSVersion/Microsoft.Windows.10.0.19043.", "Microsoft.Azure.Management.CosmosDB.CosmosDBManagementClient/3.0.0.0" ] }, @@ -783,7 +783,7 @@ "max-age=31536000; includeSubDomains" ], "x-ms-gatewayversion": [ - "version=2.11.0" + "version=2.14.0" ], "Server": [ "Microsoft-HTTPAPI/2.0" @@ -792,46 +792,46 @@ "11991" ], "x-ms-request-id": [ - "2e789efb-0f12-4214-829a-d11fb1534b12" + "0fa482bf-0149-4421-8622-5f5f2dc118b4" ], "x-ms-correlation-request-id": [ - "2e789efb-0f12-4214-829a-d11fb1534b12" + "0fa482bf-0149-4421-8622-5f5f2dc118b4" ], "x-ms-routing-request-id": [ - "WESTCENTRALUS:20210427T174603Z:2e789efb-0f12-4214-829a-d11fb1534b12" + "WESTUS2:20210616T075949Z:0fa482bf-0149-4421-8622-5f5f2dc118b4" ], "X-Content-Type-Options": [ "nosniff" ], "Date": [ - "Tue, 27 Apr 2021 17:46:02 GMT" + "Wed, 16 Jun 2021 07:59:49 GMT" ], "Content-Length": [ - "1320" + "1323" ], "Content-Type": [ "application/json" ] }, - "ResponseBody": "{\r\n \"id\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/resourceGroups/CosmosDBResourceGroup3668/providers/Microsoft.DocumentDB/databaseAccounts/cli124/sqlDatabases/databaseName/containers/containerName\",\r\n \"type\": \"Microsoft.DocumentDB/databaseAccounts/sqlDatabases/containers\",\r\n \"name\": \"containerName\",\r\n \"properties\": {\r\n \"resource\": {\r\n \"id\": \"containerName\",\r\n \"indexingPolicy\": {\r\n \"indexingMode\": \"consistent\",\r\n \"automatic\": true,\r\n \"includedPaths\": [\r\n {\r\n \"path\": \"/*\"\r\n }\r\n ],\r\n \"excludedPaths\": [\r\n {\r\n \"path\": \"/pathToNotIndex/*\"\r\n },\r\n {\r\n \"path\": \"/\\\"_etag\\\"/?\"\r\n }\r\n ],\r\n \"compositeIndexes\": [\r\n [\r\n {\r\n \"path\": \"/orderByPath1\",\r\n \"order\": \"ascending\"\r\n },\r\n {\r\n \"path\": \"/orderByPath2\",\r\n \"order\": \"descending\"\r\n }\r\n ],\r\n [\r\n {\r\n \"path\": \"/orderByPath3\",\r\n \"order\": \"ascending\"\r\n },\r\n {\r\n \"path\": \"/orderByPath4\",\r\n \"order\": \"descending\"\r\n }\r\n ]\r\n ]\r\n },\r\n \"partitionKey\": {\r\n \"paths\": [\r\n \"/address/zipCode\"\r\n ],\r\n \"kind\": \"Hash\"\r\n },\r\n \"uniqueKeyPolicy\": {\r\n \"uniqueKeys\": []\r\n },\r\n \"conflictResolutionPolicy\": {\r\n \"mode\": \"LastWriterWins\",\r\n \"conflictResolutionPath\": \"/_ts\",\r\n \"conflictResolutionProcedure\": \"\"\r\n },\r\n \"allowMaterializedViews\": false,\r\n \"geospatialConfig\": {\r\n \"type\": \"Geography\"\r\n },\r\n \"_rid\": \"6EAGAPmHjic=\",\r\n \"_ts\": 1619545541,\r\n \"_self\": \"dbs/6EAGAA==/colls/6EAGAPmHjic=/\",\r\n \"_etag\": \"\\\"0000c80e-0000-0200-0000-60884dc50000\\\"\",\r\n \"_docs\": \"docs/\",\r\n \"_sprocs\": \"sprocs/\",\r\n \"_triggers\": \"triggers/\",\r\n \"_udfs\": \"udfs/\",\r\n \"_conflicts\": \"conflicts/\",\r\n \"statistics\": [\r\n {\r\n \"id\": \"0\",\r\n \"sizeInKB\": 0,\r\n \"documentCount\": 0,\r\n \"partitionKeys\": []\r\n }\r\n ]\r\n }\r\n }\r\n}", + "ResponseBody": "{\r\n \"id\": \"/subscriptions/259fbb24-9bcd-4cfc-865c-fc33b22fe38a/resourceGroups/CosmosDBResourceGroup3668/providers/Microsoft.DocumentDB/databaseAccounts/cli126/sqlDatabases/databaseName/containers/containerName2\",\r\n \"type\": \"Microsoft.DocumentDB/databaseAccounts/sqlDatabases/containers\",\r\n \"name\": \"containerName2\",\r\n \"properties\": {\r\n \"resource\": {\r\n \"id\": \"containerName2\",\r\n \"indexingPolicy\": {\r\n \"indexingMode\": \"consistent\",\r\n \"automatic\": true,\r\n \"includedPaths\": [\r\n {\r\n \"path\": \"/*\"\r\n }\r\n ],\r\n \"excludedPaths\": [\r\n {\r\n \"path\": \"/pathToNotIndex/*\"\r\n },\r\n {\r\n \"path\": \"/\\\"_etag\\\"/?\"\r\n }\r\n ],\r\n \"compositeIndexes\": [\r\n [\r\n {\r\n \"path\": \"/orderByPath1\",\r\n \"order\": \"ascending\"\r\n },\r\n {\r\n \"path\": \"/orderByPath2\",\r\n \"order\": \"descending\"\r\n }\r\n ],\r\n [\r\n {\r\n \"path\": \"/orderByPath3\",\r\n \"order\": \"ascending\"\r\n },\r\n {\r\n \"path\": \"/orderByPath4\",\r\n \"order\": \"descending\"\r\n }\r\n ]\r\n ]\r\n },\r\n \"partitionKey\": {\r\n \"paths\": [\r\n \"/address/zipCode\"\r\n ],\r\n \"kind\": \"Hash\"\r\n },\r\n \"uniqueKeyPolicy\": {\r\n \"uniqueKeys\": []\r\n },\r\n \"conflictResolutionPolicy\": {\r\n \"mode\": \"LastWriterWins\",\r\n \"conflictResolutionPath\": \"/_ts\",\r\n \"conflictResolutionProcedure\": \"\"\r\n },\r\n \"allowMaterializedViews\": false,\r\n \"geospatialConfig\": {\r\n \"type\": \"Geography\"\r\n },\r\n \"_rid\": \"xaE4AO-G7eg=\",\r\n \"_ts\": 1623803142,\r\n \"_self\": \"dbs/xaE4AA==/colls/xaE4AO-G7eg=/\",\r\n \"_etag\": \"\\\"0000ca01-0000-0200-0000-60c945060000\\\"\",\r\n \"_docs\": \"docs/\",\r\n \"_sprocs\": \"sprocs/\",\r\n \"_triggers\": \"triggers/\",\r\n \"_udfs\": \"udfs/\",\r\n \"_conflicts\": \"conflicts/\",\r\n \"statistics\": [\r\n {\r\n \"id\": \"0\",\r\n \"sizeInKB\": 0,\r\n \"documentCount\": 0,\r\n \"partitionKeys\": []\r\n }\r\n ]\r\n }\r\n }\r\n}", "StatusCode": 200 }, { - "RequestUri": "/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/resourceGroups/CosmosDBResourceGroup3668/providers/Microsoft.DocumentDB/databaseAccounts/cli124/sqlDatabases/databaseName/containers?api-version=2021-04-15", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvODBiZTM5NjEtMDUyMS00YTBhLTg1NzAtNWNkNWE0ZTJmOThjL3Jlc291cmNlR3JvdXBzL0Nvc21vc0RCUmVzb3VyY2VHcm91cDM2NjgvcHJvdmlkZXJzL01pY3Jvc29mdC5Eb2N1bWVudERCL2RhdGFiYXNlQWNjb3VudHMvY2xpMTI0L3NxbERhdGFiYXNlcy9kYXRhYmFzZU5hbWUvY29udGFpbmVycz9hcGktdmVyc2lvbj0yMDIxLTA0LTE1", + "RequestUri": "/subscriptions/259fbb24-9bcd-4cfc-865c-fc33b22fe38a/resourceGroups/CosmosDBResourceGroup3668/providers/Microsoft.DocumentDB/databaseAccounts/cli126/sqlDatabases/databaseName/containers?api-version=2021-06-15", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMjU5ZmJiMjQtOWJjZC00Y2ZjLTg2NWMtZmMzM2IyMmZlMzhhL3Jlc291cmNlR3JvdXBzL0Nvc21vc0RCUmVzb3VyY2VHcm91cDM2NjgvcHJvdmlkZXJzL01pY3Jvc29mdC5Eb2N1bWVudERCL2RhdGFiYXNlQWNjb3VudHMvY2xpMTI2L3NxbERhdGFiYXNlcy9kYXRhYmFzZU5hbWUvY29udGFpbmVycz9hcGktdmVyc2lvbj0yMDIxLTA2LTE1", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { "x-ms-client-request-id": [ - "1ed83b9b-a737-4486-b056-8ec4fc507a01" + "ca666a87-ed91-417b-8fed-b9e27ffd27fe" ], "Accept-Language": [ "en-US" ], "User-Agent": [ - "FxVersion/4.6.29916.01", + "FxVersion/4.6.28207.03", "OSName/Windows", - "OSVersion/Microsoft.Windows.10.0.19042.", + "OSVersion/Microsoft.Windows.10.0.19043.", "Microsoft.Azure.Management.CosmosDB.CosmosDBManagementClient/3.0.0.0" ] }, @@ -846,7 +846,7 @@ "max-age=31536000; includeSubDomains" ], "x-ms-gatewayversion": [ - "version=2.11.0" + "version=2.14.0" ], "Server": [ "Microsoft-HTTPAPI/2.0" @@ -855,46 +855,46 @@ "11990" ], "x-ms-request-id": [ - "c7163b76-0b04-463b-ae4c-159824cd638c" + "a9656ac1-03ee-40da-97f9-9ec6529c35c7" ], "x-ms-correlation-request-id": [ - "c7163b76-0b04-463b-ae4c-159824cd638c" + "a9656ac1-03ee-40da-97f9-9ec6529c35c7" ], "x-ms-routing-request-id": [ - "WESTCENTRALUS:20210427T174603Z:c7163b76-0b04-463b-ae4c-159824cd638c" + "WESTUS2:20210616T075949Z:a9656ac1-03ee-40da-97f9-9ec6529c35c7" ], "X-Content-Type-Options": [ "nosniff" ], "Date": [ - "Tue, 27 Apr 2021 17:46:02 GMT" + "Wed, 16 Jun 2021 07:59:49 GMT" ], "Content-Length": [ - "1256" + "2504" ], "Content-Type": [ "application/json" ] }, - "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/resourceGroups/CosmosDBResourceGroup3668/providers/Microsoft.DocumentDB/databaseAccounts/cli124/sqlDatabases/databaseName/containers/containerName\",\r\n \"type\": \"Microsoft.DocumentDB/databaseAccounts/sqlDatabases/containers\",\r\n \"name\": \"containerName\",\r\n \"properties\": {\r\n \"resource\": {\r\n \"id\": \"containerName\",\r\n \"indexingPolicy\": {\r\n \"indexingMode\": \"consistent\",\r\n \"automatic\": true,\r\n \"includedPaths\": [\r\n {\r\n \"path\": \"/*\"\r\n }\r\n ],\r\n \"excludedPaths\": [\r\n {\r\n \"path\": \"/pathToNotIndex/*\"\r\n },\r\n {\r\n \"path\": \"/\\\"_etag\\\"/?\"\r\n }\r\n ],\r\n \"compositeIndexes\": [\r\n [\r\n {\r\n \"path\": \"/orderByPath1\",\r\n \"order\": \"ascending\"\r\n },\r\n {\r\n \"path\": \"/orderByPath2\",\r\n \"order\": \"descending\"\r\n }\r\n ],\r\n [\r\n {\r\n \"path\": \"/orderByPath3\",\r\n \"order\": \"ascending\"\r\n },\r\n {\r\n \"path\": \"/orderByPath4\",\r\n \"order\": \"descending\"\r\n }\r\n ]\r\n ]\r\n },\r\n \"partitionKey\": {\r\n \"paths\": [\r\n \"/address/zipCode\"\r\n ],\r\n \"kind\": \"Hash\"\r\n },\r\n \"uniqueKeyPolicy\": {\r\n \"uniqueKeys\": []\r\n },\r\n \"conflictResolutionPolicy\": {\r\n \"mode\": \"LastWriterWins\",\r\n \"conflictResolutionPath\": \"/_ts\",\r\n \"conflictResolutionProcedure\": \"\"\r\n },\r\n \"allowMaterializedViews\": false,\r\n \"geospatialConfig\": {\r\n \"type\": \"Geography\"\r\n },\r\n \"_rid\": \"6EAGAPmHjic=\",\r\n \"_ts\": 1619545541,\r\n \"_self\": \"dbs/6EAGAA==/colls/6EAGAPmHjic=/\",\r\n \"_etag\": \"\\\"0000c80e-0000-0200-0000-60884dc50000\\\"\",\r\n \"_docs\": \"docs/\",\r\n \"_sprocs\": \"sprocs/\",\r\n \"_triggers\": \"triggers/\",\r\n \"_udfs\": \"udfs/\",\r\n \"_conflicts\": \"conflicts/\"\r\n }\r\n }\r\n }\r\n ]\r\n}", + "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/subscriptions/259fbb24-9bcd-4cfc-865c-fc33b22fe38a/resourceGroups/CosmosDBResourceGroup3668/providers/Microsoft.DocumentDB/databaseAccounts/cli126/sqlDatabases/databaseName/containers/containerName\",\r\n \"type\": \"Microsoft.DocumentDB/databaseAccounts/sqlDatabases/containers\",\r\n \"name\": \"containerName\",\r\n \"properties\": {\r\n \"resource\": {\r\n \"id\": \"containerName\",\r\n \"indexingPolicy\": {\r\n \"indexingMode\": \"consistent\",\r\n \"automatic\": true,\r\n \"includedPaths\": [\r\n {\r\n \"path\": \"/*\"\r\n }\r\n ],\r\n \"excludedPaths\": [\r\n {\r\n \"path\": \"/pathToNotIndex/*\"\r\n },\r\n {\r\n \"path\": \"/\\\"_etag\\\"/?\"\r\n }\r\n ],\r\n \"compositeIndexes\": [\r\n [\r\n {\r\n \"path\": \"/orderByPath1\",\r\n \"order\": \"ascending\"\r\n },\r\n {\r\n \"path\": \"/orderByPath2\",\r\n \"order\": \"descending\"\r\n }\r\n ],\r\n [\r\n {\r\n \"path\": \"/orderByPath3\",\r\n \"order\": \"ascending\"\r\n },\r\n {\r\n \"path\": \"/orderByPath4\",\r\n \"order\": \"descending\"\r\n }\r\n ]\r\n ]\r\n },\r\n \"partitionKey\": {\r\n \"paths\": [\r\n \"/address/zipCode\"\r\n ],\r\n \"kind\": \"Hash\"\r\n },\r\n \"uniqueKeyPolicy\": {\r\n \"uniqueKeys\": []\r\n },\r\n \"conflictResolutionPolicy\": {\r\n \"mode\": \"LastWriterWins\",\r\n \"conflictResolutionPath\": \"/_ts\",\r\n \"conflictResolutionProcedure\": \"\"\r\n },\r\n \"allowMaterializedViews\": false,\r\n \"geospatialConfig\": {\r\n \"type\": \"Geography\"\r\n },\r\n \"_rid\": \"xaE4AOImaIk=\",\r\n \"_ts\": 1623806406,\r\n \"_self\": \"dbs/xaE4AA==/colls/xaE4AOImaIk=/\",\r\n \"_etag\": \"\\\"0000ef01-0000-0200-0000-60c951c60000\\\"\",\r\n \"_docs\": \"docs/\",\r\n \"_sprocs\": \"sprocs/\",\r\n \"_triggers\": \"triggers/\",\r\n \"_udfs\": \"udfs/\",\r\n \"_conflicts\": \"conflicts/\"\r\n }\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/259fbb24-9bcd-4cfc-865c-fc33b22fe38a/resourceGroups/CosmosDBResourceGroup3668/providers/Microsoft.DocumentDB/databaseAccounts/cli126/sqlDatabases/databaseName/containers/containerName2\",\r\n \"type\": \"Microsoft.DocumentDB/databaseAccounts/sqlDatabases/containers\",\r\n \"name\": \"containerName2\",\r\n \"properties\": {\r\n \"resource\": {\r\n \"id\": \"containerName2\",\r\n \"indexingPolicy\": {\r\n \"indexingMode\": \"consistent\",\r\n \"automatic\": true,\r\n \"includedPaths\": [\r\n {\r\n \"path\": \"/*\"\r\n }\r\n ],\r\n \"excludedPaths\": [\r\n {\r\n \"path\": \"/pathToNotIndex/*\"\r\n },\r\n {\r\n \"path\": \"/\\\"_etag\\\"/?\"\r\n }\r\n ],\r\n \"compositeIndexes\": [\r\n [\r\n {\r\n \"path\": \"/orderByPath1\",\r\n \"order\": \"ascending\"\r\n },\r\n {\r\n \"path\": \"/orderByPath2\",\r\n \"order\": \"descending\"\r\n }\r\n ],\r\n [\r\n {\r\n \"path\": \"/orderByPath3\",\r\n \"order\": \"ascending\"\r\n },\r\n {\r\n \"path\": \"/orderByPath4\",\r\n \"order\": \"descending\"\r\n }\r\n ]\r\n ]\r\n },\r\n \"partitionKey\": {\r\n \"paths\": [\r\n \"/address/zipCode\"\r\n ],\r\n \"kind\": \"Hash\"\r\n },\r\n \"uniqueKeyPolicy\": {\r\n \"uniqueKeys\": []\r\n },\r\n \"conflictResolutionPolicy\": {\r\n \"mode\": \"LastWriterWins\",\r\n \"conflictResolutionPath\": \"/_ts\",\r\n \"conflictResolutionProcedure\": \"\"\r\n },\r\n \"allowMaterializedViews\": false,\r\n \"geospatialConfig\": {\r\n \"type\": \"Geography\"\r\n },\r\n \"_rid\": \"xaE4AO-G7eg=\",\r\n \"_ts\": 1623803142,\r\n \"_self\": \"dbs/xaE4AA==/colls/xaE4AO-G7eg=/\",\r\n \"_etag\": \"\\\"0000ca01-0000-0200-0000-60c945060000\\\"\",\r\n \"_docs\": \"docs/\",\r\n \"_sprocs\": \"sprocs/\",\r\n \"_triggers\": \"triggers/\",\r\n \"_udfs\": \"udfs/\",\r\n \"_conflicts\": \"conflicts/\"\r\n }\r\n }\r\n }\r\n ]\r\n}", "StatusCode": 200 }, { - "RequestUri": "/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/resourceGroups/CosmosDBResourceGroup3668/providers/Microsoft.DocumentDB/databaseAccounts/cli124/sqlDatabases/databaseName/containers/containerName/storedProcedures/storedProcedureName?api-version=2021-04-15", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvODBiZTM5NjEtMDUyMS00YTBhLTg1NzAtNWNkNWE0ZTJmOThjL3Jlc291cmNlR3JvdXBzL0Nvc21vc0RCUmVzb3VyY2VHcm91cDM2NjgvcHJvdmlkZXJzL01pY3Jvc29mdC5Eb2N1bWVudERCL2RhdGFiYXNlQWNjb3VudHMvY2xpMTI0L3NxbERhdGFiYXNlcy9kYXRhYmFzZU5hbWUvY29udGFpbmVycy9jb250YWluZXJOYW1lL3N0b3JlZFByb2NlZHVyZXMvc3RvcmVkUHJvY2VkdXJlTmFtZT9hcGktdmVyc2lvbj0yMDIxLTA0LTE1", + "RequestUri": "/subscriptions/259fbb24-9bcd-4cfc-865c-fc33b22fe38a/resourceGroups/CosmosDBResourceGroup3668/providers/Microsoft.DocumentDB/databaseAccounts/cli126/sqlDatabases/databaseName/containers/containerName2/storedProcedures/storedProcedureName?api-version=2021-06-15", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMjU5ZmJiMjQtOWJjZC00Y2ZjLTg2NWMtZmMzM2IyMmZlMzhhL3Jlc291cmNlR3JvdXBzL0Nvc21vc0RCUmVzb3VyY2VHcm91cDM2NjgvcHJvdmlkZXJzL01pY3Jvc29mdC5Eb2N1bWVudERCL2RhdGFiYXNlQWNjb3VudHMvY2xpMTI2L3NxbERhdGFiYXNlcy9kYXRhYmFzZU5hbWUvY29udGFpbmVycy9jb250YWluZXJOYW1lMi9zdG9yZWRQcm9jZWR1cmVzL3N0b3JlZFByb2NlZHVyZU5hbWU/YXBpLXZlcnNpb249MjAyMS0wNi0xNQ==", "RequestMethod": "PUT", "RequestBody": "{\r\n \"properties\": {\r\n \"resource\": {\r\n \"id\": \"storedProcedureName\",\r\n \"body\": \"function () { var context = getContext(); var response = context.getResponse();response.setBody('Hello, World');}\"\r\n },\r\n \"options\": {}\r\n }\r\n}", "RequestHeaders": { "x-ms-client-request-id": [ - "9dba277c-ce85-4b62-9c38-49b6ef23420e" + "d687b9d2-a093-4a29-add3-a71b4be5c86e" ], "Accept-Language": [ "en-US" ], "User-Agent": [ - "FxVersion/4.6.29916.01", + "FxVersion/4.6.28207.03", "OSName/Windows", - "OSVersion/Microsoft.Windows.10.0.19042.", + "OSVersion/Microsoft.Windows.10.0.19043.", "Microsoft.Azure.Management.CosmosDB.CosmosDBManagementClient/3.0.0.0" ], "Content-Type": [ @@ -912,19 +912,19 @@ "no-cache" ], "Location": [ - "https://management.azure.com/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/resourceGroups/CosmosDBResourceGroup3668/providers/Microsoft.DocumentDB/databaseAccounts/cli124/sqlDatabases/databaseName/containers/containerName/storedProcedures/storedProcedureName/operationResults/708065d8-37f0-473a-bb55-9d0cb17d4500?api-version=2021-04-15" + "https://management.azure.com/subscriptions/259fbb24-9bcd-4cfc-865c-fc33b22fe38a/resourceGroups/CosmosDBResourceGroup3668/providers/Microsoft.DocumentDB/databaseAccounts/cli126/sqlDatabases/databaseName/containers/containerName2/storedProcedures/storedProcedureName/operationResults/a84f59af-2060-4135-b5b6-fdebaee4dacf?api-version=2021-06-15" ], "Azure-AsyncOperation": [ - "https://management.azure.com/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/providers/Microsoft.DocumentDB/locations/eastus2/operationsStatus/708065d8-37f0-473a-bb55-9d0cb17d4500?api-version=2021-04-15" + "https://management.azure.com/subscriptions/259fbb24-9bcd-4cfc-865c-fc33b22fe38a/providers/Microsoft.DocumentDB/locations/eastus2/operationsStatus/a84f59af-2060-4135-b5b6-fdebaee4dacf?api-version=2021-06-15" ], "x-ms-request-id": [ - "708065d8-37f0-473a-bb55-9d0cb17d4500" + "a84f59af-2060-4135-b5b6-fdebaee4dacf" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "x-ms-gatewayversion": [ - "version=2.11.0" + "version=2.14.0" ], "Server": [ "Microsoft-HTTPAPI/2.0" @@ -933,16 +933,16 @@ "1196" ], "x-ms-correlation-request-id": [ - "37eb7699-325a-4012-99fb-b121e52f656f" + "fc336a26-ef77-45c2-9c8c-a58352c4c234" ], "x-ms-routing-request-id": [ - "WESTCENTRALUS:20210427T174604Z:37eb7699-325a-4012-99fb-b121e52f656f" + "WESTUS2:20210616T075950Z:fc336a26-ef77-45c2-9c8c-a58352c4c234" ], "X-Content-Type-Options": [ "nosniff" ], "Date": [ - "Tue, 27 Apr 2021 17:46:03 GMT" + "Wed, 16 Jun 2021 07:59:50 GMT" ], "Content-Length": [ "21" @@ -955,15 +955,15 @@ "StatusCode": 202 }, { - "RequestUri": "/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/providers/Microsoft.DocumentDB/locations/eastus2/operationsStatus/708065d8-37f0-473a-bb55-9d0cb17d4500?api-version=2021-04-15", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvODBiZTM5NjEtMDUyMS00YTBhLTg1NzAtNWNkNWE0ZTJmOThjL3Byb3ZpZGVycy9NaWNyb3NvZnQuRG9jdW1lbnREQi9sb2NhdGlvbnMvZWFzdHVzMi9vcGVyYXRpb25zU3RhdHVzLzcwODA2NWQ4LTM3ZjAtNDczYS1iYjU1LTlkMGNiMTdkNDUwMD9hcGktdmVyc2lvbj0yMDIxLTA0LTE1", + "RequestUri": "/subscriptions/259fbb24-9bcd-4cfc-865c-fc33b22fe38a/providers/Microsoft.DocumentDB/locations/eastus2/operationsStatus/a84f59af-2060-4135-b5b6-fdebaee4dacf?api-version=2021-06-15", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMjU5ZmJiMjQtOWJjZC00Y2ZjLTg2NWMtZmMzM2IyMmZlMzhhL3Byb3ZpZGVycy9NaWNyb3NvZnQuRG9jdW1lbnREQi9sb2NhdGlvbnMvZWFzdHVzMi9vcGVyYXRpb25zU3RhdHVzL2E4NGY1OWFmLTIwNjAtNDEzNS1iNWI2LWZkZWJhZWU0ZGFjZj9hcGktdmVyc2lvbj0yMDIxLTA2LTE1", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { "User-Agent": [ - "FxVersion/4.6.29916.01", + "FxVersion/4.6.28207.03", "OSName/Windows", - "OSVersion/Microsoft.Windows.10.0.19042.", + "OSVersion/Microsoft.Windows.10.0.19043.", "Microsoft.Azure.Management.CosmosDB.CosmosDBManagementClient/3.0.0.0" ] }, @@ -978,7 +978,7 @@ "max-age=31536000; includeSubDomains" ], "x-ms-gatewayversion": [ - "version=2.11.0" + "version=2.14.0" ], "Server": [ "Microsoft-HTTPAPI/2.0" @@ -987,19 +987,19 @@ "11989" ], "x-ms-request-id": [ - "0c1d6466-3bdb-46fe-9750-87792f5cf76a" + "0cc13fa5-9361-4c13-bd8d-b5e0b50d5cfc" ], "x-ms-correlation-request-id": [ - "0c1d6466-3bdb-46fe-9750-87792f5cf76a" + "0cc13fa5-9361-4c13-bd8d-b5e0b50d5cfc" ], "x-ms-routing-request-id": [ - "WESTCENTRALUS:20210427T174634Z:0c1d6466-3bdb-46fe-9750-87792f5cf76a" + "WESTUS2:20210616T080020Z:0cc13fa5-9361-4c13-bd8d-b5e0b50d5cfc" ], "X-Content-Type-Options": [ "nosniff" ], "Date": [ - "Tue, 27 Apr 2021 17:46:33 GMT" + "Wed, 16 Jun 2021 08:00:19 GMT" ], "Content-Length": [ "22" @@ -1012,15 +1012,15 @@ "StatusCode": 200 }, { - "RequestUri": "/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/resourceGroups/CosmosDBResourceGroup3668/providers/Microsoft.DocumentDB/databaseAccounts/cli124/sqlDatabases/databaseName/containers/containerName/storedProcedures/storedProcedureName?api-version=2021-04-15", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvODBiZTM5NjEtMDUyMS00YTBhLTg1NzAtNWNkNWE0ZTJmOThjL3Jlc291cmNlR3JvdXBzL0Nvc21vc0RCUmVzb3VyY2VHcm91cDM2NjgvcHJvdmlkZXJzL01pY3Jvc29mdC5Eb2N1bWVudERCL2RhdGFiYXNlQWNjb3VudHMvY2xpMTI0L3NxbERhdGFiYXNlcy9kYXRhYmFzZU5hbWUvY29udGFpbmVycy9jb250YWluZXJOYW1lL3N0b3JlZFByb2NlZHVyZXMvc3RvcmVkUHJvY2VkdXJlTmFtZT9hcGktdmVyc2lvbj0yMDIxLTA0LTE1", + "RequestUri": "/subscriptions/259fbb24-9bcd-4cfc-865c-fc33b22fe38a/resourceGroups/CosmosDBResourceGroup3668/providers/Microsoft.DocumentDB/databaseAccounts/cli126/sqlDatabases/databaseName/containers/containerName2/storedProcedures/storedProcedureName?api-version=2021-06-15", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMjU5ZmJiMjQtOWJjZC00Y2ZjLTg2NWMtZmMzM2IyMmZlMzhhL3Jlc291cmNlR3JvdXBzL0Nvc21vc0RCUmVzb3VyY2VHcm91cDM2NjgvcHJvdmlkZXJzL01pY3Jvc29mdC5Eb2N1bWVudERCL2RhdGFiYXNlQWNjb3VudHMvY2xpMTI2L3NxbERhdGFiYXNlcy9kYXRhYmFzZU5hbWUvY29udGFpbmVycy9jb250YWluZXJOYW1lMi9zdG9yZWRQcm9jZWR1cmVzL3N0b3JlZFByb2NlZHVyZU5hbWU/YXBpLXZlcnNpb249MjAyMS0wNi0xNQ==", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { "User-Agent": [ - "FxVersion/4.6.29916.01", + "FxVersion/4.6.28207.03", "OSName/Windows", - "OSVersion/Microsoft.Windows.10.0.19042.", + "OSVersion/Microsoft.Windows.10.0.19043.", "Microsoft.Azure.Management.CosmosDB.CosmosDBManagementClient/3.0.0.0" ] }, @@ -1035,7 +1035,7 @@ "max-age=31536000; includeSubDomains" ], "x-ms-gatewayversion": [ - "version=2.11.0" + "version=2.14.0" ], "Server": [ "Microsoft-HTTPAPI/2.0" @@ -1044,46 +1044,46 @@ "11988" ], "x-ms-request-id": [ - "490e2ddb-1cb7-42fe-96e0-97f60b4e4bfe" + "124d7175-a4aa-40f8-a151-3f380b26a574" ], "x-ms-correlation-request-id": [ - "490e2ddb-1cb7-42fe-96e0-97f60b4e4bfe" + "124d7175-a4aa-40f8-a151-3f380b26a574" ], "x-ms-routing-request-id": [ - "WESTCENTRALUS:20210427T174634Z:490e2ddb-1cb7-42fe-96e0-97f60b4e4bfe" + "WESTUS2:20210616T080020Z:124d7175-a4aa-40f8-a151-3f380b26a574" ], "X-Content-Type-Options": [ "nosniff" ], "Date": [ - "Tue, 27 Apr 2021 17:46:34 GMT" + "Wed, 16 Jun 2021 08:00:20 GMT" ], "Content-Length": [ - "716" + "717" ], "Content-Type": [ "application/json" ] }, - "ResponseBody": "{\r\n \"id\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/resourceGroups/CosmosDBResourceGroup3668/providers/Microsoft.DocumentDB/databaseAccounts/cli124/sqlDatabases/databaseName/containers/containerName/storedProcedures/storedProcedureName\",\r\n \"type\": \"Microsoft.DocumentDB/databaseAccounts/sqlDatabases/containers/storedProcedures\",\r\n \"name\": \"storedProcedureName\",\r\n \"properties\": {\r\n \"resource\": {\r\n \"id\": \"storedProcedureName\",\r\n \"body\": \"function () { var context = getContext(); var response = context.getResponse();response.setBody('Hello, World');}\",\r\n \"_rid\": \"6EAGAPmHjicBAAAAAAAAgA==\",\r\n \"_self\": \"dbs/6EAGAA==/colls/6EAGAPmHjic=/sprocs/6EAGAPmHjicBAAAAAAAAgA==/\",\r\n \"_etag\": \"\\\"7100f55f-0000-0200-0000-60884de20000\\\"\",\r\n \"_ts\": 1619545570\r\n }\r\n }\r\n}", + "ResponseBody": "{\r\n \"id\": \"/subscriptions/259fbb24-9bcd-4cfc-865c-fc33b22fe38a/resourceGroups/CosmosDBResourceGroup3668/providers/Microsoft.DocumentDB/databaseAccounts/cli126/sqlDatabases/databaseName/containers/containerName2/storedProcedures/storedProcedureName\",\r\n \"type\": \"Microsoft.DocumentDB/databaseAccounts/sqlDatabases/containers/storedProcedures\",\r\n \"name\": \"storedProcedureName\",\r\n \"properties\": {\r\n \"resource\": {\r\n \"id\": \"storedProcedureName\",\r\n \"body\": \"function () { var context = getContext(); var response = context.getResponse();response.setBody('Hello, World');}\",\r\n \"_rid\": \"xaE4AO-G7egBAAAAAAAAgA==\",\r\n \"_self\": \"dbs/xaE4AA==/colls/xaE4AO-G7eg=/sprocs/xaE4AO-G7egBAAAAAAAAgA==/\",\r\n \"_etag\": \"\\\"00009c04-0000-0200-0000-60c9af7a0000\\\"\",\r\n \"_ts\": 1623830394\r\n }\r\n }\r\n}", "StatusCode": 200 }, { - "RequestUri": "/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/resourceGroups/CosmosDBResourceGroup3668/providers/Microsoft.DocumentDB/databaseAccounts/cli124/sqlDatabases/databaseName/containers/containerName/storedProcedures?api-version=2021-04-15", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvODBiZTM5NjEtMDUyMS00YTBhLTg1NzAtNWNkNWE0ZTJmOThjL3Jlc291cmNlR3JvdXBzL0Nvc21vc0RCUmVzb3VyY2VHcm91cDM2NjgvcHJvdmlkZXJzL01pY3Jvc29mdC5Eb2N1bWVudERCL2RhdGFiYXNlQWNjb3VudHMvY2xpMTI0L3NxbERhdGFiYXNlcy9kYXRhYmFzZU5hbWUvY29udGFpbmVycy9jb250YWluZXJOYW1lL3N0b3JlZFByb2NlZHVyZXM/YXBpLXZlcnNpb249MjAyMS0wNC0xNQ==", + "RequestUri": "/subscriptions/259fbb24-9bcd-4cfc-865c-fc33b22fe38a/resourceGroups/CosmosDBResourceGroup3668/providers/Microsoft.DocumentDB/databaseAccounts/cli126/sqlDatabases/databaseName/containers/containerName/storedProcedures?api-version=2021-06-15", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMjU5ZmJiMjQtOWJjZC00Y2ZjLTg2NWMtZmMzM2IyMmZlMzhhL3Jlc291cmNlR3JvdXBzL0Nvc21vc0RCUmVzb3VyY2VHcm91cDM2NjgvcHJvdmlkZXJzL01pY3Jvc29mdC5Eb2N1bWVudERCL2RhdGFiYXNlQWNjb3VudHMvY2xpMTI2L3NxbERhdGFiYXNlcy9kYXRhYmFzZU5hbWUvY29udGFpbmVycy9jb250YWluZXJOYW1lL3N0b3JlZFByb2NlZHVyZXM/YXBpLXZlcnNpb249MjAyMS0wNi0xNQ==", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { "x-ms-client-request-id": [ - "bd3da3c0-ffc6-4e95-9b0f-b96cca43bb21" + "fee4dc7a-0d44-47f2-98d5-d8db420c8af8" ], "Accept-Language": [ "en-US" ], "User-Agent": [ - "FxVersion/4.6.29916.01", + "FxVersion/4.6.28207.03", "OSName/Windows", - "OSVersion/Microsoft.Windows.10.0.19042.", + "OSVersion/Microsoft.Windows.10.0.19043.", "Microsoft.Azure.Management.CosmosDB.CosmosDBManagementClient/3.0.0.0" ] }, @@ -1098,7 +1098,7 @@ "max-age=31536000; includeSubDomains" ], "x-ms-gatewayversion": [ - "version=2.11.0" + "version=2.14.0" ], "Server": [ "Microsoft-HTTPAPI/2.0" @@ -1107,115 +1107,46 @@ "11987" ], "x-ms-request-id": [ - "974828c0-1f2b-4580-8043-7fe3cb260549" + "de614af1-ac6b-4858-a5cc-ba125756e99d" ], "x-ms-correlation-request-id": [ - "974828c0-1f2b-4580-8043-7fe3cb260549" + "de614af1-ac6b-4858-a5cc-ba125756e99d" ], "x-ms-routing-request-id": [ - "WESTCENTRALUS:20210427T174635Z:974828c0-1f2b-4580-8043-7fe3cb260549" + "WESTUS2:20210616T080020Z:de614af1-ac6b-4858-a5cc-ba125756e99d" ], "X-Content-Type-Options": [ "nosniff" ], "Date": [ - "Tue, 27 Apr 2021 17:46:34 GMT" + "Wed, 16 Jun 2021 08:00:20 GMT" ], "Content-Length": [ - "728" + "12" ], "Content-Type": [ "application/json" ] }, - "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/resourceGroups/CosmosDBResourceGroup3668/providers/Microsoft.DocumentDB/databaseAccounts/cli124/sqlDatabases/databaseName/containers/containerName/storedProcedures/storedProcedureName\",\r\n \"type\": \"Microsoft.DocumentDB/databaseAccounts/sqlDatabases/containers/storedProcedures\",\r\n \"name\": \"storedProcedureName\",\r\n \"properties\": {\r\n \"resource\": {\r\n \"id\": \"storedProcedureName\",\r\n \"body\": \"function () { var context = getContext(); var response = context.getResponse();response.setBody('Hello, World');}\",\r\n \"_rid\": \"6EAGAPmHjicBAAAAAAAAgA==\",\r\n \"_self\": \"dbs/6EAGAA==/colls/6EAGAPmHjic=/sprocs/6EAGAPmHjicBAAAAAAAAgA==/\",\r\n \"_etag\": \"\\\"7100f55f-0000-0200-0000-60884de20000\\\"\",\r\n \"_ts\": 1619545570\r\n }\r\n }\r\n }\r\n ]\r\n}", + "ResponseBody": "{\r\n \"value\": []\r\n}", "StatusCode": 200 }, { - "RequestUri": "/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/resourceGroups/CosmosDBResourceGroup3668/providers/Microsoft.DocumentDB/databaseAccounts/cli124/sqlDatabases/databaseName/containers/containerName/storedProcedures/storedProcedureName?api-version=2021-04-15", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvODBiZTM5NjEtMDUyMS00YTBhLTg1NzAtNWNkNWE0ZTJmOThjL3Jlc291cmNlR3JvdXBzL0Nvc21vc0RCUmVzb3VyY2VHcm91cDM2NjgvcHJvdmlkZXJzL01pY3Jvc29mdC5Eb2N1bWVudERCL2RhdGFiYXNlQWNjb3VudHMvY2xpMTI0L3NxbERhdGFiYXNlcy9kYXRhYmFzZU5hbWUvY29udGFpbmVycy9jb250YWluZXJOYW1lL3N0b3JlZFByb2NlZHVyZXMvc3RvcmVkUHJvY2VkdXJlTmFtZT9hcGktdmVyc2lvbj0yMDIxLTA0LTE1", - "RequestMethod": "DELETE", - "RequestBody": "", - "RequestHeaders": { - "x-ms-client-request-id": [ - "66a6e26b-a722-4877-b42a-26f6885e5b4f" - ], - "Accept-Language": [ - "en-US" - ], - "User-Agent": [ - "FxVersion/4.6.29916.01", - "OSName/Windows", - "OSVersion/Microsoft.Windows.10.0.19042.", - "Microsoft.Azure.Management.CosmosDB.CosmosDBManagementClient/3.0.0.0" - ] - }, - "ResponseHeaders": { - "Cache-Control": [ - "no-store, no-cache" - ], - "Pragma": [ - "no-cache" - ], - "Location": [ - "https://management.azure.com/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/resourceGroups/CosmosDBResourceGroup3668/providers/Microsoft.DocumentDB/databaseAccounts/cli124/sqlDatabases/databaseName/containers/containerName/storedProcedures/storedProcedureName/operationResults/c9e521d7-56af-44b5-8433-ad093504c418?api-version=2021-04-15" - ], - "Azure-AsyncOperation": [ - "https://management.azure.com/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/providers/Microsoft.DocumentDB/locations/eastus2/operationsStatus/c9e521d7-56af-44b5-8433-ad093504c418?api-version=2021-04-15" - ], - "x-ms-request-id": [ - "c9e521d7-56af-44b5-8433-ad093504c418" - ], - "Strict-Transport-Security": [ - "max-age=31536000; includeSubDomains" - ], - "x-ms-gatewayversion": [ - "version=2.11.0" - ], - "Server": [ - "Microsoft-HTTPAPI/2.0" - ], - "x-ms-ratelimit-remaining-subscription-deletes": [ - "14999" - ], - "x-ms-correlation-request-id": [ - "f13c4992-7600-43a7-a56d-9113dc195912" - ], - "x-ms-routing-request-id": [ - "WESTCENTRALUS:20210427T174635Z:f13c4992-7600-43a7-a56d-9113dc195912" - ], - "X-Content-Type-Options": [ - "nosniff" - ], - "Date": [ - "Tue, 27 Apr 2021 17:46:35 GMT" - ], - "Content-Length": [ - "21" - ], - "Content-Type": [ - "application/json" - ] - }, - "ResponseBody": "{\r\n \"status\": \"Enqueued\"\r\n}", - "StatusCode": 202 - }, - { - "RequestUri": "/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/resourceGroups/CosmosDBResourceGroup3668/providers/Microsoft.DocumentDB/databaseAccounts/cli124/sqlDatabases/databaseName/containers/containerName/userDefinedFunctions/userDefinedFunctionName?api-version=2021-04-15", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvODBiZTM5NjEtMDUyMS00YTBhLTg1NzAtNWNkNWE0ZTJmOThjL3Jlc291cmNlR3JvdXBzL0Nvc21vc0RCUmVzb3VyY2VHcm91cDM2NjgvcHJvdmlkZXJzL01pY3Jvc29mdC5Eb2N1bWVudERCL2RhdGFiYXNlQWNjb3VudHMvY2xpMTI0L3NxbERhdGFiYXNlcy9kYXRhYmFzZU5hbWUvY29udGFpbmVycy9jb250YWluZXJOYW1lL3VzZXJEZWZpbmVkRnVuY3Rpb25zL3VzZXJEZWZpbmVkRnVuY3Rpb25OYW1lP2FwaS12ZXJzaW9uPTIwMjEtMDQtMTU=", + "RequestUri": "/subscriptions/259fbb24-9bcd-4cfc-865c-fc33b22fe38a/resourceGroups/CosmosDBResourceGroup3668/providers/Microsoft.DocumentDB/databaseAccounts/cli126/sqlDatabases/databaseName/containers/containerName/userDefinedFunctions/userDefinedFunctionName?api-version=2021-06-15", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMjU5ZmJiMjQtOWJjZC00Y2ZjLTg2NWMtZmMzM2IyMmZlMzhhL3Jlc291cmNlR3JvdXBzL0Nvc21vc0RCUmVzb3VyY2VHcm91cDM2NjgvcHJvdmlkZXJzL01pY3Jvc29mdC5Eb2N1bWVudERCL2RhdGFiYXNlQWNjb3VudHMvY2xpMTI2L3NxbERhdGFiYXNlcy9kYXRhYmFzZU5hbWUvY29udGFpbmVycy9jb250YWluZXJOYW1lL3VzZXJEZWZpbmVkRnVuY3Rpb25zL3VzZXJEZWZpbmVkRnVuY3Rpb25OYW1lP2FwaS12ZXJzaW9uPTIwMjEtMDYtMTU=", "RequestMethod": "PUT", "RequestBody": "{\r\n \"properties\": {\r\n \"resource\": {\r\n \"id\": \"userDefinedFunctionName\",\r\n \"body\": \"function () { var context = getContext(); var response = context.getResponse();response.setBody('Hello, World');}\"\r\n },\r\n \"options\": {}\r\n }\r\n}", "RequestHeaders": { "x-ms-client-request-id": [ - "8e861382-100c-459c-9d7f-5db3c05b8e01" + "e1cd7b13-3bea-48bc-a984-7193ac55eea5" ], "Accept-Language": [ "en-US" ], "User-Agent": [ - "FxVersion/4.6.29916.01", + "FxVersion/4.6.28207.03", "OSName/Windows", - "OSVersion/Microsoft.Windows.10.0.19042.", + "OSVersion/Microsoft.Windows.10.0.19043.", "Microsoft.Azure.Management.CosmosDB.CosmosDBManagementClient/3.0.0.0" ], "Content-Type": [ @@ -1233,37 +1164,37 @@ "no-cache" ], "Location": [ - "https://management.azure.com/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/resourceGroups/CosmosDBResourceGroup3668/providers/Microsoft.DocumentDB/databaseAccounts/cli124/sqlDatabases/databaseName/containers/containerName/userDefinedFunctions/userDefinedFunctionName/operationResults/b6dc992f-4cb1-45a4-8d0e-8398012d27a5?api-version=2021-04-15" + "https://management.azure.com/subscriptions/259fbb24-9bcd-4cfc-865c-fc33b22fe38a/resourceGroups/CosmosDBResourceGroup3668/providers/Microsoft.DocumentDB/databaseAccounts/cli126/sqlDatabases/databaseName/containers/containerName/userDefinedFunctions/userDefinedFunctionName/operationResults/7d0447bf-c225-47d0-bb0b-c4682df727fd?api-version=2021-06-15" ], "Azure-AsyncOperation": [ - "https://management.azure.com/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/providers/Microsoft.DocumentDB/locations/eastus2/operationsStatus/b6dc992f-4cb1-45a4-8d0e-8398012d27a5?api-version=2021-04-15" + "https://management.azure.com/subscriptions/259fbb24-9bcd-4cfc-865c-fc33b22fe38a/providers/Microsoft.DocumentDB/locations/eastus2/operationsStatus/7d0447bf-c225-47d0-bb0b-c4682df727fd?api-version=2021-06-15" ], "x-ms-request-id": [ - "b6dc992f-4cb1-45a4-8d0e-8398012d27a5" + "7d0447bf-c225-47d0-bb0b-c4682df727fd" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "x-ms-gatewayversion": [ - "version=2.11.0" + "version=2.14.0" ], "Server": [ "Microsoft-HTTPAPI/2.0" ], "x-ms-ratelimit-remaining-subscription-writes": [ - "1199" + "1195" ], "x-ms-correlation-request-id": [ - "81ebf9cc-f3e0-4270-92cd-0b80d4f5c010" + "c68a4bfb-624e-4aa9-a4bb-c0759be0c623" ], "x-ms-routing-request-id": [ - "WESTUS:20210427T174636Z:81ebf9cc-f3e0-4270-92cd-0b80d4f5c010" + "WESTUS2:20210616T080021Z:c68a4bfb-624e-4aa9-a4bb-c0759be0c623" ], "X-Content-Type-Options": [ "nosniff" ], "Date": [ - "Tue, 27 Apr 2021 17:46:35 GMT" + "Wed, 16 Jun 2021 08:00:21 GMT" ], "Content-Length": [ "21" @@ -1276,72 +1207,15 @@ "StatusCode": 202 }, { - "RequestUri": "/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/providers/Microsoft.DocumentDB/locations/eastus2/operationsStatus/c9e521d7-56af-44b5-8433-ad093504c418?api-version=2021-04-15", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvODBiZTM5NjEtMDUyMS00YTBhLTg1NzAtNWNkNWE0ZTJmOThjL3Byb3ZpZGVycy9NaWNyb3NvZnQuRG9jdW1lbnREQi9sb2NhdGlvbnMvZWFzdHVzMi9vcGVyYXRpb25zU3RhdHVzL2M5ZTUyMWQ3LTU2YWYtNDRiNS04NDMzLWFkMDkzNTA0YzQxOD9hcGktdmVyc2lvbj0yMDIxLTA0LTE1", - "RequestMethod": "GET", - "RequestBody": "", - "RequestHeaders": { - "User-Agent": [ - "FxVersion/4.6.29916.01", - "OSName/Windows", - "OSVersion/Microsoft.Windows.10.0.19042.", - "Microsoft.Azure.Management.CosmosDB.CosmosDBManagementClient/3.0.0.0" - ] - }, - "ResponseHeaders": { - "Cache-Control": [ - "no-store, no-cache" - ], - "Pragma": [ - "no-cache" - ], - "Strict-Transport-Security": [ - "max-age=31536000; includeSubDomains" - ], - "x-ms-gatewayversion": [ - "version=2.11.0" - ], - "Server": [ - "Microsoft-HTTPAPI/2.0" - ], - "x-ms-ratelimit-remaining-subscription-reads": [ - "11999" - ], - "x-ms-request-id": [ - "569f1bcf-b5a1-42d1-97df-6b8a1c236812" - ], - "x-ms-correlation-request-id": [ - "569f1bcf-b5a1-42d1-97df-6b8a1c236812" - ], - "x-ms-routing-request-id": [ - "WESTUS:20210427T174706Z:569f1bcf-b5a1-42d1-97df-6b8a1c236812" - ], - "X-Content-Type-Options": [ - "nosniff" - ], - "Date": [ - "Tue, 27 Apr 2021 17:47:05 GMT" - ], - "Content-Length": [ - "22" - ], - "Content-Type": [ - "application/json" - ] - }, - "ResponseBody": "{\r\n \"status\": \"Succeeded\"\r\n}", - "StatusCode": 200 - }, - { - "RequestUri": "/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/resourceGroups/CosmosDBResourceGroup3668/providers/Microsoft.DocumentDB/databaseAccounts/cli124/sqlDatabases/databaseName/containers/containerName/storedProcedures/storedProcedureName/operationResults/c9e521d7-56af-44b5-8433-ad093504c418?api-version=2021-04-15", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvODBiZTM5NjEtMDUyMS00YTBhLTg1NzAtNWNkNWE0ZTJmOThjL3Jlc291cmNlR3JvdXBzL0Nvc21vc0RCUmVzb3VyY2VHcm91cDM2NjgvcHJvdmlkZXJzL01pY3Jvc29mdC5Eb2N1bWVudERCL2RhdGFiYXNlQWNjb3VudHMvY2xpMTI0L3NxbERhdGFiYXNlcy9kYXRhYmFzZU5hbWUvY29udGFpbmVycy9jb250YWluZXJOYW1lL3N0b3JlZFByb2NlZHVyZXMvc3RvcmVkUHJvY2VkdXJlTmFtZS9vcGVyYXRpb25SZXN1bHRzL2M5ZTUyMWQ3LTU2YWYtNDRiNS04NDMzLWFkMDkzNTA0YzQxOD9hcGktdmVyc2lvbj0yMDIxLTA0LTE1", + "RequestUri": "/subscriptions/259fbb24-9bcd-4cfc-865c-fc33b22fe38a/providers/Microsoft.DocumentDB/locations/eastus2/operationsStatus/7d0447bf-c225-47d0-bb0b-c4682df727fd?api-version=2021-06-15", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMjU5ZmJiMjQtOWJjZC00Y2ZjLTg2NWMtZmMzM2IyMmZlMzhhL3Byb3ZpZGVycy9NaWNyb3NvZnQuRG9jdW1lbnREQi9sb2NhdGlvbnMvZWFzdHVzMi9vcGVyYXRpb25zU3RhdHVzLzdkMDQ0N2JmLWMyMjUtNDdkMC1iYjBiLWM0NjgyZGY3MjdmZD9hcGktdmVyc2lvbj0yMDIxLTA2LTE1", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { "User-Agent": [ - "FxVersion/4.6.29916.01", + "FxVersion/4.6.28207.03", "OSName/Windows", - "OSVersion/Microsoft.Windows.10.0.19042.", + "OSVersion/Microsoft.Windows.10.0.19043.", "Microsoft.Azure.Management.CosmosDB.CosmosDBManagementClient/3.0.0.0" ] }, @@ -1356,61 +1230,7 @@ "max-age=31536000; includeSubDomains" ], "x-ms-gatewayversion": [ - "version=2.11.0" - ], - "Server": [ - "Microsoft-HTTPAPI/2.0" - ], - "x-ms-ratelimit-remaining-subscription-reads": [ - "11998" - ], - "x-ms-request-id": [ - "ebb02d10-dfb2-444a-8fdc-c5e53607f322" - ], - "x-ms-correlation-request-id": [ - "ebb02d10-dfb2-444a-8fdc-c5e53607f322" - ], - "x-ms-routing-request-id": [ - "WESTUS:20210427T174706Z:ebb02d10-dfb2-444a-8fdc-c5e53607f322" - ], - "X-Content-Type-Options": [ - "nosniff" - ], - "Date": [ - "Tue, 27 Apr 2021 17:47:05 GMT" - ], - "Content-Type": [ - "application/json" - ] - }, - "ResponseBody": "", - "StatusCode": 204 - }, - { - "RequestUri": "/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/providers/Microsoft.DocumentDB/locations/eastus2/operationsStatus/b6dc992f-4cb1-45a4-8d0e-8398012d27a5?api-version=2021-04-15", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvODBiZTM5NjEtMDUyMS00YTBhLTg1NzAtNWNkNWE0ZTJmOThjL3Byb3ZpZGVycy9NaWNyb3NvZnQuRG9jdW1lbnREQi9sb2NhdGlvbnMvZWFzdHVzMi9vcGVyYXRpb25zU3RhdHVzL2I2ZGM5OTJmLTRjYjEtNDVhNC04ZDBlLTgzOTgwMTJkMjdhNT9hcGktdmVyc2lvbj0yMDIxLTA0LTE1", - "RequestMethod": "GET", - "RequestBody": "", - "RequestHeaders": { - "User-Agent": [ - "FxVersion/4.6.29916.01", - "OSName/Windows", - "OSVersion/Microsoft.Windows.10.0.19042.", - "Microsoft.Azure.Management.CosmosDB.CosmosDBManagementClient/3.0.0.0" - ] - }, - "ResponseHeaders": { - "Cache-Control": [ - "no-store, no-cache" - ], - "Pragma": [ - "no-cache" - ], - "Strict-Transport-Security": [ - "max-age=31536000; includeSubDomains" - ], - "x-ms-gatewayversion": [ - "version=2.11.0" + "version=2.14.0" ], "Server": [ "Microsoft-HTTPAPI/2.0" @@ -1419,19 +1239,19 @@ "11986" ], "x-ms-request-id": [ - "40abf89d-5378-4f8f-8f57-5a53eb91c53c" + "61ba8a57-4db4-4a5a-ac84-e6c95e8b9eb7" ], "x-ms-correlation-request-id": [ - "40abf89d-5378-4f8f-8f57-5a53eb91c53c" + "61ba8a57-4db4-4a5a-ac84-e6c95e8b9eb7" ], "x-ms-routing-request-id": [ - "WESTCENTRALUS:20210427T174706Z:40abf89d-5378-4f8f-8f57-5a53eb91c53c" + "WESTUS2:20210616T080051Z:61ba8a57-4db4-4a5a-ac84-e6c95e8b9eb7" ], "X-Content-Type-Options": [ "nosniff" ], "Date": [ - "Tue, 27 Apr 2021 17:47:06 GMT" + "Wed, 16 Jun 2021 08:00:50 GMT" ], "Content-Length": [ "22" @@ -1444,15 +1264,15 @@ "StatusCode": 200 }, { - "RequestUri": "/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/resourceGroups/CosmosDBResourceGroup3668/providers/Microsoft.DocumentDB/databaseAccounts/cli124/sqlDatabases/databaseName/containers/containerName/userDefinedFunctions/userDefinedFunctionName?api-version=2021-04-15", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvODBiZTM5NjEtMDUyMS00YTBhLTg1NzAtNWNkNWE0ZTJmOThjL3Jlc291cmNlR3JvdXBzL0Nvc21vc0RCUmVzb3VyY2VHcm91cDM2NjgvcHJvdmlkZXJzL01pY3Jvc29mdC5Eb2N1bWVudERCL2RhdGFiYXNlQWNjb3VudHMvY2xpMTI0L3NxbERhdGFiYXNlcy9kYXRhYmFzZU5hbWUvY29udGFpbmVycy9jb250YWluZXJOYW1lL3VzZXJEZWZpbmVkRnVuY3Rpb25zL3VzZXJEZWZpbmVkRnVuY3Rpb25OYW1lP2FwaS12ZXJzaW9uPTIwMjEtMDQtMTU=", + "RequestUri": "/subscriptions/259fbb24-9bcd-4cfc-865c-fc33b22fe38a/resourceGroups/CosmosDBResourceGroup3668/providers/Microsoft.DocumentDB/databaseAccounts/cli126/sqlDatabases/databaseName/containers/containerName/userDefinedFunctions/userDefinedFunctionName?api-version=2021-06-15", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMjU5ZmJiMjQtOWJjZC00Y2ZjLTg2NWMtZmMzM2IyMmZlMzhhL3Jlc291cmNlR3JvdXBzL0Nvc21vc0RCUmVzb3VyY2VHcm91cDM2NjgvcHJvdmlkZXJzL01pY3Jvc29mdC5Eb2N1bWVudERCL2RhdGFiYXNlQWNjb3VudHMvY2xpMTI2L3NxbERhdGFiYXNlcy9kYXRhYmFzZU5hbWUvY29udGFpbmVycy9jb250YWluZXJOYW1lL3VzZXJEZWZpbmVkRnVuY3Rpb25zL3VzZXJEZWZpbmVkRnVuY3Rpb25OYW1lP2FwaS12ZXJzaW9uPTIwMjEtMDYtMTU=", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { "User-Agent": [ - "FxVersion/4.6.29916.01", + "FxVersion/4.6.28207.03", "OSName/Windows", - "OSVersion/Microsoft.Windows.10.0.19042.", + "OSVersion/Microsoft.Windows.10.0.19043.", "Microsoft.Azure.Management.CosmosDB.CosmosDBManagementClient/3.0.0.0" ] }, @@ -1467,7 +1287,7 @@ "max-age=31536000; includeSubDomains" ], "x-ms-gatewayversion": [ - "version=2.11.0" + "version=2.14.0" ], "Server": [ "Microsoft-HTTPAPI/2.0" @@ -1476,19 +1296,19 @@ "11985" ], "x-ms-request-id": [ - "a27fdc45-fff3-4a04-92d8-94c1b7177a53" + "6e67be5b-1a70-4bcf-ab86-0a6a1b0fa440" ], "x-ms-correlation-request-id": [ - "a27fdc45-fff3-4a04-92d8-94c1b7177a53" + "6e67be5b-1a70-4bcf-ab86-0a6a1b0fa440" ], "x-ms-routing-request-id": [ - "WESTCENTRALUS:20210427T174706Z:a27fdc45-fff3-4a04-92d8-94c1b7177a53" + "WESTUS2:20210616T080051Z:6e67be5b-1a70-4bcf-ab86-0a6a1b0fa440" ], "X-Content-Type-Options": [ "nosniff" ], "Date": [ - "Tue, 27 Apr 2021 17:47:06 GMT" + "Wed, 16 Jun 2021 08:00:51 GMT" ], "Content-Length": [ "734" @@ -1497,25 +1317,25 @@ "application/json" ] }, - "ResponseBody": "{\r\n \"id\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/resourceGroups/CosmosDBResourceGroup3668/providers/Microsoft.DocumentDB/databaseAccounts/cli124/sqlDatabases/databaseName/containers/containerName/userDefinedFunctions/userDefinedFunctionName\",\r\n \"type\": \"Microsoft.DocumentDB/databaseAccounts/sqlDatabases/containers/userDefinedFunctions\",\r\n \"name\": \"userDefinedFunctionName\",\r\n \"properties\": {\r\n \"resource\": {\r\n \"id\": \"userDefinedFunctionName\",\r\n \"body\": \"function () { var context = getContext(); var response = context.getResponse();response.setBody('Hello, World');}\",\r\n \"_rid\": \"6EAGAPmHjicBAAAAAAAAYA==\",\r\n \"_self\": \"dbs/6EAGAA==/colls/6EAGAPmHjic=/udfs/6EAGAPmHjicBAAAAAAAAYA==/\",\r\n \"_etag\": \"\\\"71008162-0000-0200-0000-60884e010000\\\"\",\r\n \"_ts\": 1619545601\r\n }\r\n }\r\n}", + "ResponseBody": "{\r\n \"id\": \"/subscriptions/259fbb24-9bcd-4cfc-865c-fc33b22fe38a/resourceGroups/CosmosDBResourceGroup3668/providers/Microsoft.DocumentDB/databaseAccounts/cli126/sqlDatabases/databaseName/containers/containerName/userDefinedFunctions/userDefinedFunctionName\",\r\n \"type\": \"Microsoft.DocumentDB/databaseAccounts/sqlDatabases/containers/userDefinedFunctions\",\r\n \"name\": \"userDefinedFunctionName\",\r\n \"properties\": {\r\n \"resource\": {\r\n \"id\": \"userDefinedFunctionName\",\r\n \"body\": \"function () { var context = getContext(); var response = context.getResponse();response.setBody('Hello, World');}\",\r\n \"_rid\": \"xaE4AOImaIkBAAAAAAAAYA==\",\r\n \"_self\": \"dbs/xaE4AA==/colls/xaE4AOImaIk=/udfs/xaE4AOImaIkBAAAAAAAAYA==/\",\r\n \"_etag\": \"\\\"0000580c-0000-0200-0000-60c9af990000\\\"\",\r\n \"_ts\": 1623830425\r\n }\r\n }\r\n}", "StatusCode": 200 }, { - "RequestUri": "/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/resourceGroups/CosmosDBResourceGroup3668/providers/Microsoft.DocumentDB/databaseAccounts/cli124/sqlDatabases/databaseName/containers/containerName/userDefinedFunctions?api-version=2021-04-15", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvODBiZTM5NjEtMDUyMS00YTBhLTg1NzAtNWNkNWE0ZTJmOThjL3Jlc291cmNlR3JvdXBzL0Nvc21vc0RCUmVzb3VyY2VHcm91cDM2NjgvcHJvdmlkZXJzL01pY3Jvc29mdC5Eb2N1bWVudERCL2RhdGFiYXNlQWNjb3VudHMvY2xpMTI0L3NxbERhdGFiYXNlcy9kYXRhYmFzZU5hbWUvY29udGFpbmVycy9jb250YWluZXJOYW1lL3VzZXJEZWZpbmVkRnVuY3Rpb25zP2FwaS12ZXJzaW9uPTIwMjEtMDQtMTU=", + "RequestUri": "/subscriptions/259fbb24-9bcd-4cfc-865c-fc33b22fe38a/resourceGroups/CosmosDBResourceGroup3668/providers/Microsoft.DocumentDB/databaseAccounts/cli126/sqlDatabases/databaseName/containers/containerName/userDefinedFunctions?api-version=2021-06-15", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMjU5ZmJiMjQtOWJjZC00Y2ZjLTg2NWMtZmMzM2IyMmZlMzhhL3Jlc291cmNlR3JvdXBzL0Nvc21vc0RCUmVzb3VyY2VHcm91cDM2NjgvcHJvdmlkZXJzL01pY3Jvc29mdC5Eb2N1bWVudERCL2RhdGFiYXNlQWNjb3VudHMvY2xpMTI2L3NxbERhdGFiYXNlcy9kYXRhYmFzZU5hbWUvY29udGFpbmVycy9jb250YWluZXJOYW1lL3VzZXJEZWZpbmVkRnVuY3Rpb25zP2FwaS12ZXJzaW9uPTIwMjEtMDYtMTU=", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { "x-ms-client-request-id": [ - "516b30ba-9178-40f4-aca8-45c68c1597b0" + "58f7899d-2302-489c-83ee-a6b5dff7b2e5" ], "Accept-Language": [ "en-US" ], "User-Agent": [ - "FxVersion/4.6.29916.01", + "FxVersion/4.6.28207.03", "OSName/Windows", - "OSVersion/Microsoft.Windows.10.0.19042.", + "OSVersion/Microsoft.Windows.10.0.19043.", "Microsoft.Azure.Management.CosmosDB.CosmosDBManagementClient/3.0.0.0" ] }, @@ -1530,7 +1350,7 @@ "max-age=31536000; includeSubDomains" ], "x-ms-gatewayversion": [ - "version=2.11.0" + "version=2.14.0" ], "Server": [ "Microsoft-HTTPAPI/2.0" @@ -1539,19 +1359,19 @@ "11984" ], "x-ms-request-id": [ - "25c0d2c0-06b9-4ef8-bb12-cf35701c527e" + "f3fd063e-870a-49e0-b7aa-57a3327a83f6" ], "x-ms-correlation-request-id": [ - "25c0d2c0-06b9-4ef8-bb12-cf35701c527e" + "f3fd063e-870a-49e0-b7aa-57a3327a83f6" ], "x-ms-routing-request-id": [ - "WESTCENTRALUS:20210427T174707Z:25c0d2c0-06b9-4ef8-bb12-cf35701c527e" + "WESTUS2:20210616T080052Z:f3fd063e-870a-49e0-b7aa-57a3327a83f6" ], "X-Content-Type-Options": [ "nosniff" ], "Date": [ - "Tue, 27 Apr 2021 17:47:06 GMT" + "Wed, 16 Jun 2021 08:00:51 GMT" ], "Content-Length": [ "746" @@ -1560,25 +1380,25 @@ "application/json" ] }, - "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/resourceGroups/CosmosDBResourceGroup3668/providers/Microsoft.DocumentDB/databaseAccounts/cli124/sqlDatabases/databaseName/containers/containerName/userDefinedFunctions/userDefinedFunctionName\",\r\n \"type\": \"Microsoft.DocumentDB/databaseAccounts/sqlDatabases/containers/userDefinedFunctions\",\r\n \"name\": \"userDefinedFunctionName\",\r\n \"properties\": {\r\n \"resource\": {\r\n \"id\": \"userDefinedFunctionName\",\r\n \"body\": \"function () { var context = getContext(); var response = context.getResponse();response.setBody('Hello, World');}\",\r\n \"_rid\": \"6EAGAPmHjicBAAAAAAAAYA==\",\r\n \"_self\": \"dbs/6EAGAA==/colls/6EAGAPmHjic=/udfs/6EAGAPmHjicBAAAAAAAAYA==/\",\r\n \"_etag\": \"\\\"71008162-0000-0200-0000-60884e010000\\\"\",\r\n \"_ts\": 1619545601\r\n }\r\n }\r\n }\r\n ]\r\n}", + "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/subscriptions/259fbb24-9bcd-4cfc-865c-fc33b22fe38a/resourceGroups/CosmosDBResourceGroup3668/providers/Microsoft.DocumentDB/databaseAccounts/cli126/sqlDatabases/databaseName/containers/containerName/userDefinedFunctions/userDefinedFunctionName\",\r\n \"type\": \"Microsoft.DocumentDB/databaseAccounts/sqlDatabases/containers/userDefinedFunctions\",\r\n \"name\": \"userDefinedFunctionName\",\r\n \"properties\": {\r\n \"resource\": {\r\n \"id\": \"userDefinedFunctionName\",\r\n \"body\": \"function () { var context = getContext(); var response = context.getResponse();response.setBody('Hello, World');}\",\r\n \"_rid\": \"xaE4AOImaIkBAAAAAAAAYA==\",\r\n \"_self\": \"dbs/xaE4AA==/colls/xaE4AOImaIk=/udfs/xaE4AOImaIkBAAAAAAAAYA==/\",\r\n \"_etag\": \"\\\"0000580c-0000-0200-0000-60c9af990000\\\"\",\r\n \"_ts\": 1623830425\r\n }\r\n }\r\n }\r\n ]\r\n}", "StatusCode": 200 }, { - "RequestUri": "/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/resourceGroups/CosmosDBResourceGroup3668/providers/Microsoft.DocumentDB/databaseAccounts/cli124/sqlDatabases/databaseName/containers/containerName/userDefinedFunctions/userDefinedFunctionName?api-version=2021-04-15", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvODBiZTM5NjEtMDUyMS00YTBhLTg1NzAtNWNkNWE0ZTJmOThjL3Jlc291cmNlR3JvdXBzL0Nvc21vc0RCUmVzb3VyY2VHcm91cDM2NjgvcHJvdmlkZXJzL01pY3Jvc29mdC5Eb2N1bWVudERCL2RhdGFiYXNlQWNjb3VudHMvY2xpMTI0L3NxbERhdGFiYXNlcy9kYXRhYmFzZU5hbWUvY29udGFpbmVycy9jb250YWluZXJOYW1lL3VzZXJEZWZpbmVkRnVuY3Rpb25zL3VzZXJEZWZpbmVkRnVuY3Rpb25OYW1lP2FwaS12ZXJzaW9uPTIwMjEtMDQtMTU=", + "RequestUri": "/subscriptions/259fbb24-9bcd-4cfc-865c-fc33b22fe38a/resourceGroups/CosmosDBResourceGroup3668/providers/Microsoft.DocumentDB/databaseAccounts/cli126/sqlDatabases/databaseName/containers/containerName2/userDefinedFunctions/userDefinedFunctionName?api-version=2021-06-15", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMjU5ZmJiMjQtOWJjZC00Y2ZjLTg2NWMtZmMzM2IyMmZlMzhhL3Jlc291cmNlR3JvdXBzL0Nvc21vc0RCUmVzb3VyY2VHcm91cDM2NjgvcHJvdmlkZXJzL01pY3Jvc29mdC5Eb2N1bWVudERCL2RhdGFiYXNlQWNjb3VudHMvY2xpMTI2L3NxbERhdGFiYXNlcy9kYXRhYmFzZU5hbWUvY29udGFpbmVycy9jb250YWluZXJOYW1lMi91c2VyRGVmaW5lZEZ1bmN0aW9ucy91c2VyRGVmaW5lZEZ1bmN0aW9uTmFtZT9hcGktdmVyc2lvbj0yMDIxLTA2LTE1", "RequestMethod": "DELETE", "RequestBody": "", "RequestHeaders": { "x-ms-client-request-id": [ - "356f4db4-8efa-4e44-bd30-38e0457347ea" + "6c7e3571-162b-441a-ad67-0d3b5f853af8" ], "Accept-Language": [ "en-US" ], "User-Agent": [ - "FxVersion/4.6.29916.01", + "FxVersion/4.6.28207.03", "OSName/Windows", - "OSVersion/Microsoft.Windows.10.0.19042.", + "OSVersion/Microsoft.Windows.10.0.19043.", "Microsoft.Azure.Management.CosmosDB.CosmosDBManagementClient/3.0.0.0" ] }, @@ -1590,37 +1410,37 @@ "no-cache" ], "Location": [ - "https://management.azure.com/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/resourceGroups/CosmosDBResourceGroup3668/providers/Microsoft.DocumentDB/databaseAccounts/cli124/sqlDatabases/databaseName/containers/containerName/userDefinedFunctions/userDefinedFunctionName/operationResults/b329581f-999a-4f22-927d-d54d969b827d?api-version=2021-04-15" + "https://management.azure.com/subscriptions/259fbb24-9bcd-4cfc-865c-fc33b22fe38a/resourceGroups/CosmosDBResourceGroup3668/providers/Microsoft.DocumentDB/databaseAccounts/cli126/sqlDatabases/databaseName/containers/containerName2/userDefinedFunctions/userDefinedFunctionName/operationResults/2135cacd-233f-4b93-b7c6-f1e61a6c9331?api-version=2021-06-15" ], "Azure-AsyncOperation": [ - "https://management.azure.com/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/providers/Microsoft.DocumentDB/locations/eastus2/operationsStatus/b329581f-999a-4f22-927d-d54d969b827d?api-version=2021-04-15" + "https://management.azure.com/subscriptions/259fbb24-9bcd-4cfc-865c-fc33b22fe38a/providers/Microsoft.DocumentDB/locations/eastus2/operationsStatus/2135cacd-233f-4b93-b7c6-f1e61a6c9331?api-version=2021-06-15" ], "x-ms-request-id": [ - "b329581f-999a-4f22-927d-d54d969b827d" + "2135cacd-233f-4b93-b7c6-f1e61a6c9331" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "x-ms-gatewayversion": [ - "version=2.11.0" + "version=2.14.0" ], "Server": [ "Microsoft-HTTPAPI/2.0" ], "x-ms-ratelimit-remaining-subscription-deletes": [ - "14998" + "14999" ], "x-ms-correlation-request-id": [ - "1b3f6e9e-4916-4269-93a7-b0a9cb2bf75c" + "c02db41e-3267-4696-8c2d-9fe3fba9c72a" ], "x-ms-routing-request-id": [ - "WESTCENTRALUS:20210427T174707Z:1b3f6e9e-4916-4269-93a7-b0a9cb2bf75c" + "WESTUS2:20210616T080052Z:c02db41e-3267-4696-8c2d-9fe3fba9c72a" ], "X-Content-Type-Options": [ "nosniff" ], "Date": [ - "Tue, 27 Apr 2021 17:47:07 GMT" + "Wed, 16 Jun 2021 08:00:51 GMT" ], "Content-Length": [ "21" @@ -1633,21 +1453,21 @@ "StatusCode": 202 }, { - "RequestUri": "/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/resourceGroups/CosmosDBResourceGroup3668/providers/Microsoft.DocumentDB/databaseAccounts/cli124/sqlDatabases/databaseName/containers/containerName/triggers/triggerName?api-version=2021-04-15", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvODBiZTM5NjEtMDUyMS00YTBhLTg1NzAtNWNkNWE0ZTJmOThjL3Jlc291cmNlR3JvdXBzL0Nvc21vc0RCUmVzb3VyY2VHcm91cDM2NjgvcHJvdmlkZXJzL01pY3Jvc29mdC5Eb2N1bWVudERCL2RhdGFiYXNlQWNjb3VudHMvY2xpMTI0L3NxbERhdGFiYXNlcy9kYXRhYmFzZU5hbWUvY29udGFpbmVycy9jb250YWluZXJOYW1lL3RyaWdnZXJzL3RyaWdnZXJOYW1lP2FwaS12ZXJzaW9uPTIwMjEtMDQtMTU=", + "RequestUri": "/subscriptions/259fbb24-9bcd-4cfc-865c-fc33b22fe38a/resourceGroups/CosmosDBResourceGroup3668/providers/Microsoft.DocumentDB/databaseAccounts/cli126/sqlDatabases/databaseName/containers/containerName/triggers/triggerName?api-version=2021-06-15", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMjU5ZmJiMjQtOWJjZC00Y2ZjLTg2NWMtZmMzM2IyMmZlMzhhL3Jlc291cmNlR3JvdXBzL0Nvc21vc0RCUmVzb3VyY2VHcm91cDM2NjgvcHJvdmlkZXJzL01pY3Jvc29mdC5Eb2N1bWVudERCL2RhdGFiYXNlQWNjb3VudHMvY2xpMTI2L3NxbERhdGFiYXNlcy9kYXRhYmFzZU5hbWUvY29udGFpbmVycy9jb250YWluZXJOYW1lL3RyaWdnZXJzL3RyaWdnZXJOYW1lP2FwaS12ZXJzaW9uPTIwMjEtMDYtMTU=", "RequestMethod": "PUT", "RequestBody": "{\r\n \"properties\": {\r\n \"resource\": {\r\n \"id\": \"triggerName\",\r\n \"body\": \"function () { var context = getContext(); var response = context.getResponse();response.setBody('Hello, World');}\",\r\n \"triggerType\": \"Pre\",\r\n \"triggerOperation\": \"All\"\r\n },\r\n \"options\": {}\r\n }\r\n}", "RequestHeaders": { "x-ms-client-request-id": [ - "317d0d86-e70e-4385-8a1f-147d30274107" + "27023024-7770-498b-b3f9-b1d09848c81b" ], "Accept-Language": [ "en-US" ], "User-Agent": [ - "FxVersion/4.6.29916.01", + "FxVersion/4.6.28207.03", "OSName/Windows", - "OSVersion/Microsoft.Windows.10.0.19042.", + "OSVersion/Microsoft.Windows.10.0.19043.", "Microsoft.Azure.Management.CosmosDB.CosmosDBManagementClient/3.0.0.0" ], "Content-Type": [ @@ -1665,37 +1485,37 @@ "no-cache" ], "Location": [ - "https://management.azure.com/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/resourceGroups/CosmosDBResourceGroup3668/providers/Microsoft.DocumentDB/databaseAccounts/cli124/sqlDatabases/databaseName/containers/containerName/triggers/triggerName/operationResults/c2305891-264d-4893-ba81-8491c7fb717d?api-version=2021-04-15" + "https://management.azure.com/subscriptions/259fbb24-9bcd-4cfc-865c-fc33b22fe38a/resourceGroups/CosmosDBResourceGroup3668/providers/Microsoft.DocumentDB/databaseAccounts/cli126/sqlDatabases/databaseName/containers/containerName/triggers/triggerName/operationResults/6fb5d99d-5089-40c1-95c7-41e931a042f2?api-version=2021-06-15" ], "Azure-AsyncOperation": [ - "https://management.azure.com/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/providers/Microsoft.DocumentDB/locations/eastus2/operationsStatus/c2305891-264d-4893-ba81-8491c7fb717d?api-version=2021-04-15" + "https://management.azure.com/subscriptions/259fbb24-9bcd-4cfc-865c-fc33b22fe38a/providers/Microsoft.DocumentDB/locations/eastus2/operationsStatus/6fb5d99d-5089-40c1-95c7-41e931a042f2?api-version=2021-06-15" ], "x-ms-request-id": [ - "c2305891-264d-4893-ba81-8491c7fb717d" + "6fb5d99d-5089-40c1-95c7-41e931a042f2" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "x-ms-gatewayversion": [ - "version=2.11.0" + "version=2.14.0" ], "Server": [ "Microsoft-HTTPAPI/2.0" ], "x-ms-ratelimit-remaining-subscription-writes": [ - "1198" + "1199" ], "x-ms-correlation-request-id": [ - "e93f4159-9aac-4b0a-b9f0-6166b1d24b2c" + "378e050c-5ce9-4ecc-a3ea-7233731ae50e" ], "x-ms-routing-request-id": [ - "WESTCENTRALUS:20210427T174708Z:e93f4159-9aac-4b0a-b9f0-6166b1d24b2c" + "WESTUS2:20210616T080053Z:378e050c-5ce9-4ecc-a3ea-7233731ae50e" ], "X-Content-Type-Options": [ "nosniff" ], "Date": [ - "Tue, 27 Apr 2021 17:47:08 GMT" + "Wed, 16 Jun 2021 08:00:52 GMT" ], "Content-Length": [ "21" @@ -1708,15 +1528,15 @@ "StatusCode": 202 }, { - "RequestUri": "/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/providers/Microsoft.DocumentDB/locations/eastus2/operationsStatus/b329581f-999a-4f22-927d-d54d969b827d?api-version=2021-04-15", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvODBiZTM5NjEtMDUyMS00YTBhLTg1NzAtNWNkNWE0ZTJmOThjL3Byb3ZpZGVycy9NaWNyb3NvZnQuRG9jdW1lbnREQi9sb2NhdGlvbnMvZWFzdHVzMi9vcGVyYXRpb25zU3RhdHVzL2IzMjk1ODFmLTk5OWEtNGYyMi05MjdkLWQ1NGQ5NjliODI3ZD9hcGktdmVyc2lvbj0yMDIxLTA0LTE1", + "RequestUri": "/subscriptions/259fbb24-9bcd-4cfc-865c-fc33b22fe38a/providers/Microsoft.DocumentDB/locations/eastus2/operationsStatus/2135cacd-233f-4b93-b7c6-f1e61a6c9331?api-version=2021-06-15", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMjU5ZmJiMjQtOWJjZC00Y2ZjLTg2NWMtZmMzM2IyMmZlMzhhL3Byb3ZpZGVycy9NaWNyb3NvZnQuRG9jdW1lbnREQi9sb2NhdGlvbnMvZWFzdHVzMi9vcGVyYXRpb25zU3RhdHVzLzIxMzVjYWNkLTIzM2YtNGI5My1iN2M2LWYxZTYxYTZjOTMzMT9hcGktdmVyc2lvbj0yMDIxLTA2LTE1", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { "User-Agent": [ - "FxVersion/4.6.29916.01", + "FxVersion/4.6.28207.03", "OSName/Windows", - "OSVersion/Microsoft.Windows.10.0.19042.", + "OSVersion/Microsoft.Windows.10.0.19043.", "Microsoft.Azure.Management.CosmosDB.CosmosDBManagementClient/3.0.0.0" ] }, @@ -1731,28 +1551,28 @@ "max-age=31536000; includeSubDomains" ], "x-ms-gatewayversion": [ - "version=2.11.0" + "version=2.14.0" ], "Server": [ "Microsoft-HTTPAPI/2.0" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "11998" + "11999" ], "x-ms-request-id": [ - "21d54e91-3bb6-4250-a15d-d25384e1a750" + "60cd1d89-a2bc-4e0a-8282-c12ecd9e5f9b" ], "x-ms-correlation-request-id": [ - "21d54e91-3bb6-4250-a15d-d25384e1a750" + "60cd1d89-a2bc-4e0a-8282-c12ecd9e5f9b" ], "x-ms-routing-request-id": [ - "WESTCENTRALUS:20210427T174737Z:21d54e91-3bb6-4250-a15d-d25384e1a750" + "WESTUS2:20210616T080122Z:60cd1d89-a2bc-4e0a-8282-c12ecd9e5f9b" ], "X-Content-Type-Options": [ "nosniff" ], "Date": [ - "Tue, 27 Apr 2021 17:47:37 GMT" + "Wed, 16 Jun 2021 08:01:21 GMT" ], "Content-Length": [ "22" @@ -1765,15 +1585,15 @@ "StatusCode": 200 }, { - "RequestUri": "/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/resourceGroups/CosmosDBResourceGroup3668/providers/Microsoft.DocumentDB/databaseAccounts/cli124/sqlDatabases/databaseName/containers/containerName/userDefinedFunctions/userDefinedFunctionName/operationResults/b329581f-999a-4f22-927d-d54d969b827d?api-version=2021-04-15", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvODBiZTM5NjEtMDUyMS00YTBhLTg1NzAtNWNkNWE0ZTJmOThjL3Jlc291cmNlR3JvdXBzL0Nvc21vc0RCUmVzb3VyY2VHcm91cDM2NjgvcHJvdmlkZXJzL01pY3Jvc29mdC5Eb2N1bWVudERCL2RhdGFiYXNlQWNjb3VudHMvY2xpMTI0L3NxbERhdGFiYXNlcy9kYXRhYmFzZU5hbWUvY29udGFpbmVycy9jb250YWluZXJOYW1lL3VzZXJEZWZpbmVkRnVuY3Rpb25zL3VzZXJEZWZpbmVkRnVuY3Rpb25OYW1lL29wZXJhdGlvblJlc3VsdHMvYjMyOTU4MWYtOTk5YS00ZjIyLTkyN2QtZDU0ZDk2OWI4MjdkP2FwaS12ZXJzaW9uPTIwMjEtMDQtMTU=", + "RequestUri": "/subscriptions/259fbb24-9bcd-4cfc-865c-fc33b22fe38a/resourceGroups/CosmosDBResourceGroup3668/providers/Microsoft.DocumentDB/databaseAccounts/cli126/sqlDatabases/databaseName/containers/containerName2/userDefinedFunctions/userDefinedFunctionName/operationResults/2135cacd-233f-4b93-b7c6-f1e61a6c9331?api-version=2021-06-15", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMjU5ZmJiMjQtOWJjZC00Y2ZjLTg2NWMtZmMzM2IyMmZlMzhhL3Jlc291cmNlR3JvdXBzL0Nvc21vc0RCUmVzb3VyY2VHcm91cDM2NjgvcHJvdmlkZXJzL01pY3Jvc29mdC5Eb2N1bWVudERCL2RhdGFiYXNlQWNjb3VudHMvY2xpMTI2L3NxbERhdGFiYXNlcy9kYXRhYmFzZU5hbWUvY29udGFpbmVycy9jb250YWluZXJOYW1lMi91c2VyRGVmaW5lZEZ1bmN0aW9ucy91c2VyRGVmaW5lZEZ1bmN0aW9uTmFtZS9vcGVyYXRpb25SZXN1bHRzLzIxMzVjYWNkLTIzM2YtNGI5My1iN2M2LWYxZTYxYTZjOTMzMT9hcGktdmVyc2lvbj0yMDIxLTA2LTE1", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { "User-Agent": [ - "FxVersion/4.6.29916.01", + "FxVersion/4.6.28207.03", "OSName/Windows", - "OSVersion/Microsoft.Windows.10.0.19042.", + "OSVersion/Microsoft.Windows.10.0.19043.", "Microsoft.Azure.Management.CosmosDB.CosmosDBManagementClient/3.0.0.0" ] }, @@ -1788,28 +1608,28 @@ "max-age=31536000; includeSubDomains" ], "x-ms-gatewayversion": [ - "version=2.11.0" + "version=2.14.0" ], "Server": [ "Microsoft-HTTPAPI/2.0" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "11997" + "11998" ], "x-ms-request-id": [ - "b5bf3c24-e729-4605-9b03-1a56a0defcb7" + "33a49a43-35a3-4653-9337-bdaf3c9dfc1d" ], "x-ms-correlation-request-id": [ - "b5bf3c24-e729-4605-9b03-1a56a0defcb7" + "33a49a43-35a3-4653-9337-bdaf3c9dfc1d" ], "x-ms-routing-request-id": [ - "WESTCENTRALUS:20210427T174738Z:b5bf3c24-e729-4605-9b03-1a56a0defcb7" + "WESTUS2:20210616T080122Z:33a49a43-35a3-4653-9337-bdaf3c9dfc1d" ], "X-Content-Type-Options": [ "nosniff" ], "Date": [ - "Tue, 27 Apr 2021 17:47:37 GMT" + "Wed, 16 Jun 2021 08:01:21 GMT" ], "Content-Type": [ "application/json" @@ -1819,15 +1639,15 @@ "StatusCode": 204 }, { - "RequestUri": "/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/providers/Microsoft.DocumentDB/locations/eastus2/operationsStatus/c2305891-264d-4893-ba81-8491c7fb717d?api-version=2021-04-15", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvODBiZTM5NjEtMDUyMS00YTBhLTg1NzAtNWNkNWE0ZTJmOThjL3Byb3ZpZGVycy9NaWNyb3NvZnQuRG9jdW1lbnREQi9sb2NhdGlvbnMvZWFzdHVzMi9vcGVyYXRpb25zU3RhdHVzL2MyMzA1ODkxLTI2NGQtNDg5My1iYTgxLTg0OTFjN2ZiNzE3ZD9hcGktdmVyc2lvbj0yMDIxLTA0LTE1", + "RequestUri": "/subscriptions/259fbb24-9bcd-4cfc-865c-fc33b22fe38a/providers/Microsoft.DocumentDB/locations/eastus2/operationsStatus/6fb5d99d-5089-40c1-95c7-41e931a042f2?api-version=2021-06-15", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMjU5ZmJiMjQtOWJjZC00Y2ZjLTg2NWMtZmMzM2IyMmZlMzhhL3Byb3ZpZGVycy9NaWNyb3NvZnQuRG9jdW1lbnREQi9sb2NhdGlvbnMvZWFzdHVzMi9vcGVyYXRpb25zU3RhdHVzLzZmYjVkOTlkLTUwODktNDBjMS05NWM3LTQxZTkzMWEwNDJmMj9hcGktdmVyc2lvbj0yMDIxLTA2LTE1", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { "User-Agent": [ - "FxVersion/4.6.29916.01", + "FxVersion/4.6.28207.03", "OSName/Windows", - "OSVersion/Microsoft.Windows.10.0.19042.", + "OSVersion/Microsoft.Windows.10.0.19043.", "Microsoft.Azure.Management.CosmosDB.CosmosDBManagementClient/3.0.0.0" ] }, @@ -1842,7 +1662,7 @@ "max-age=31536000; includeSubDomains" ], "x-ms-gatewayversion": [ - "version=2.11.0" + "version=2.14.0" ], "Server": [ "Microsoft-HTTPAPI/2.0" @@ -1851,19 +1671,19 @@ "11983" ], "x-ms-request-id": [ - "7317914c-5c22-4240-b317-103325561d4e" + "9698b38c-51d4-4286-bb92-36ea1ce56f9b" ], "x-ms-correlation-request-id": [ - "7317914c-5c22-4240-b317-103325561d4e" + "9698b38c-51d4-4286-bb92-36ea1ce56f9b" ], "x-ms-routing-request-id": [ - "WESTCENTRALUS:20210427T174738Z:7317914c-5c22-4240-b317-103325561d4e" + "WESTUS2:20210616T080123Z:9698b38c-51d4-4286-bb92-36ea1ce56f9b" ], "X-Content-Type-Options": [ "nosniff" ], "Date": [ - "Tue, 27 Apr 2021 17:47:37 GMT" + "Wed, 16 Jun 2021 08:01:22 GMT" ], "Content-Length": [ "22" @@ -1876,15 +1696,15 @@ "StatusCode": 200 }, { - "RequestUri": "/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/resourceGroups/CosmosDBResourceGroup3668/providers/Microsoft.DocumentDB/databaseAccounts/cli124/sqlDatabases/databaseName/containers/containerName/triggers/triggerName?api-version=2021-04-15", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvODBiZTM5NjEtMDUyMS00YTBhLTg1NzAtNWNkNWE0ZTJmOThjL3Jlc291cmNlR3JvdXBzL0Nvc21vc0RCUmVzb3VyY2VHcm91cDM2NjgvcHJvdmlkZXJzL01pY3Jvc29mdC5Eb2N1bWVudERCL2RhdGFiYXNlQWNjb3VudHMvY2xpMTI0L3NxbERhdGFiYXNlcy9kYXRhYmFzZU5hbWUvY29udGFpbmVycy9jb250YWluZXJOYW1lL3RyaWdnZXJzL3RyaWdnZXJOYW1lP2FwaS12ZXJzaW9uPTIwMjEtMDQtMTU=", + "RequestUri": "/subscriptions/259fbb24-9bcd-4cfc-865c-fc33b22fe38a/resourceGroups/CosmosDBResourceGroup3668/providers/Microsoft.DocumentDB/databaseAccounts/cli126/sqlDatabases/databaseName/containers/containerName/triggers/triggerName?api-version=2021-06-15", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMjU5ZmJiMjQtOWJjZC00Y2ZjLTg2NWMtZmMzM2IyMmZlMzhhL3Jlc291cmNlR3JvdXBzL0Nvc21vc0RCUmVzb3VyY2VHcm91cDM2NjgvcHJvdmlkZXJzL01pY3Jvc29mdC5Eb2N1bWVudERCL2RhdGFiYXNlQWNjb3VudHMvY2xpMTI2L3NxbERhdGFiYXNlcy9kYXRhYmFzZU5hbWUvY29udGFpbmVycy9jb250YWluZXJOYW1lL3RyaWdnZXJzL3RyaWdnZXJOYW1lP2FwaS12ZXJzaW9uPTIwMjEtMDYtMTU=", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { "User-Agent": [ - "FxVersion/4.6.29916.01", + "FxVersion/4.6.28207.03", "OSName/Windows", - "OSVersion/Microsoft.Windows.10.0.19042.", + "OSVersion/Microsoft.Windows.10.0.19043.", "Microsoft.Azure.Management.CosmosDB.CosmosDBManagementClient/3.0.0.0" ] }, @@ -1899,7 +1719,7 @@ "max-age=31536000; includeSubDomains" ], "x-ms-gatewayversion": [ - "version=2.11.0" + "version=2.14.0" ], "Server": [ "Microsoft-HTTPAPI/2.0" @@ -1908,19 +1728,19 @@ "11982" ], "x-ms-request-id": [ - "bd00cd5e-3678-46de-9f8d-c6f139c7e3d4" + "89acee80-79a6-4137-81ba-723925ec6ad0" ], "x-ms-correlation-request-id": [ - "bd00cd5e-3678-46de-9f8d-c6f139c7e3d4" + "89acee80-79a6-4137-81ba-723925ec6ad0" ], "x-ms-routing-request-id": [ - "WESTCENTRALUS:20210427T174738Z:bd00cd5e-3678-46de-9f8d-c6f139c7e3d4" + "WESTUS2:20210616T080123Z:89acee80-79a6-4137-81ba-723925ec6ad0" ], "X-Content-Type-Options": [ "nosniff" ], "Date": [ - "Tue, 27 Apr 2021 17:47:38 GMT" + "Wed, 16 Jun 2021 08:01:23 GMT" ], "Content-Length": [ "723" @@ -1929,25 +1749,25 @@ "application/json" ] }, - "ResponseBody": "{\r\n \"id\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/resourceGroups/CosmosDBResourceGroup3668/providers/Microsoft.DocumentDB/databaseAccounts/cli124/sqlDatabases/databaseName/containers/containerName/triggers/triggerName\",\r\n \"type\": \"Microsoft.DocumentDB/databaseAccounts/sqlDatabases/containers/triggers\",\r\n \"name\": \"triggerName\",\r\n \"properties\": {\r\n \"resource\": {\r\n \"id\": \"triggerName\",\r\n \"body\": \"function () { var context = getContext(); var response = context.getResponse();response.setBody('Hello, World');}\",\r\n \"triggerType\": \"Pre\",\r\n \"triggerOperation\": \"All\",\r\n \"_rid\": \"6EAGAPmHjicBAAAAAAAAcA==\",\r\n \"_self\": \"dbs/6EAGAA==/colls/6EAGAPmHjic=/triggers/6EAGAPmHjicBAAAAAAAAcA==/\",\r\n \"_etag\": \"\\\"71003765-0000-0200-0000-60884e210000\\\"\",\r\n \"_ts\": 1619545633\r\n }\r\n }\r\n}", + "ResponseBody": "{\r\n \"id\": \"/subscriptions/259fbb24-9bcd-4cfc-865c-fc33b22fe38a/resourceGroups/CosmosDBResourceGroup3668/providers/Microsoft.DocumentDB/databaseAccounts/cli126/sqlDatabases/databaseName/containers/containerName/triggers/triggerName\",\r\n \"type\": \"Microsoft.DocumentDB/databaseAccounts/sqlDatabases/containers/triggers\",\r\n \"name\": \"triggerName\",\r\n \"properties\": {\r\n \"resource\": {\r\n \"id\": \"triggerName\",\r\n \"body\": \"function () { var context = getContext(); var response = context.getResponse();response.setBody('Hello, World');}\",\r\n \"triggerType\": \"Pre\",\r\n \"triggerOperation\": \"All\",\r\n \"_rid\": \"xaE4AOImaIkBAAAAAAAAcA==\",\r\n \"_self\": \"dbs/xaE4AA==/colls/xaE4AOImaIk=/triggers/xaE4AOImaIkBAAAAAAAAcA==/\",\r\n \"_etag\": \"\\\"0000590c-0000-0200-0000-60c9afb90000\\\"\",\r\n \"_ts\": 1623830457\r\n }\r\n }\r\n}", "StatusCode": 200 }, { - "RequestUri": "/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/resourceGroups/CosmosDBResourceGroup3668/providers/Microsoft.DocumentDB/databaseAccounts/cli124/sqlDatabases/databaseName/containers/containerName/triggers?api-version=2021-04-15", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvODBiZTM5NjEtMDUyMS00YTBhLTg1NzAtNWNkNWE0ZTJmOThjL3Jlc291cmNlR3JvdXBzL0Nvc21vc0RCUmVzb3VyY2VHcm91cDM2NjgvcHJvdmlkZXJzL01pY3Jvc29mdC5Eb2N1bWVudERCL2RhdGFiYXNlQWNjb3VudHMvY2xpMTI0L3NxbERhdGFiYXNlcy9kYXRhYmFzZU5hbWUvY29udGFpbmVycy9jb250YWluZXJOYW1lL3RyaWdnZXJzP2FwaS12ZXJzaW9uPTIwMjEtMDQtMTU=", + "RequestUri": "/subscriptions/259fbb24-9bcd-4cfc-865c-fc33b22fe38a/resourceGroups/CosmosDBResourceGroup3668/providers/Microsoft.DocumentDB/databaseAccounts/cli126/sqlDatabases/databaseName/containers/containerName/triggers?api-version=2021-06-15", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMjU5ZmJiMjQtOWJjZC00Y2ZjLTg2NWMtZmMzM2IyMmZlMzhhL3Jlc291cmNlR3JvdXBzL0Nvc21vc0RCUmVzb3VyY2VHcm91cDM2NjgvcHJvdmlkZXJzL01pY3Jvc29mdC5Eb2N1bWVudERCL2RhdGFiYXNlQWNjb3VudHMvY2xpMTI2L3NxbERhdGFiYXNlcy9kYXRhYmFzZU5hbWUvY29udGFpbmVycy9jb250YWluZXJOYW1lL3RyaWdnZXJzP2FwaS12ZXJzaW9uPTIwMjEtMDYtMTU=", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { "x-ms-client-request-id": [ - "370a1d13-4df9-4013-93ef-a6b0bad449db" + "4cd7ff95-3d8e-4d4e-b30f-df055441bf74" ], "Accept-Language": [ "en-US" ], "User-Agent": [ - "FxVersion/4.6.29916.01", + "FxVersion/4.6.28207.03", "OSName/Windows", - "OSVersion/Microsoft.Windows.10.0.19042.", + "OSVersion/Microsoft.Windows.10.0.19043.", "Microsoft.Azure.Management.CosmosDB.CosmosDBManagementClient/3.0.0.0" ] }, @@ -1962,7 +1782,7 @@ "max-age=31536000; includeSubDomains" ], "x-ms-gatewayversion": [ - "version=2.11.0" + "version=2.14.0" ], "Server": [ "Microsoft-HTTPAPI/2.0" @@ -1971,19 +1791,19 @@ "11981" ], "x-ms-request-id": [ - "744172fc-344e-442c-9697-2ae8d7796ed0" + "b1ecd63f-a09b-4cb5-8b2c-1b3bcdf6b007" ], "x-ms-correlation-request-id": [ - "744172fc-344e-442c-9697-2ae8d7796ed0" + "b1ecd63f-a09b-4cb5-8b2c-1b3bcdf6b007" ], "x-ms-routing-request-id": [ - "WESTCENTRALUS:20210427T174738Z:744172fc-344e-442c-9697-2ae8d7796ed0" + "WESTUS2:20210616T080123Z:b1ecd63f-a09b-4cb5-8b2c-1b3bcdf6b007" ], "X-Content-Type-Options": [ "nosniff" ], "Date": [ - "Tue, 27 Apr 2021 17:47:38 GMT" + "Wed, 16 Jun 2021 08:01:23 GMT" ], "Content-Length": [ "735" @@ -1992,12 +1812,12 @@ "application/json" ] }, - "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/resourceGroups/CosmosDBResourceGroup3668/providers/Microsoft.DocumentDB/databaseAccounts/cli124/sqlDatabases/databaseName/containers/containerName/triggers/triggerName\",\r\n \"type\": \"Microsoft.DocumentDB/databaseAccounts/sqlDatabases/containers/triggers\",\r\n \"name\": \"triggerName\",\r\n \"properties\": {\r\n \"resource\": {\r\n \"id\": \"triggerName\",\r\n \"body\": \"function () { var context = getContext(); var response = context.getResponse();response.setBody('Hello, World');}\",\r\n \"triggerType\": \"Pre\",\r\n \"triggerOperation\": \"All\",\r\n \"_rid\": \"6EAGAPmHjicBAAAAAAAAcA==\",\r\n \"_self\": \"dbs/6EAGAA==/colls/6EAGAPmHjic=/triggers/6EAGAPmHjicBAAAAAAAAcA==/\",\r\n \"_etag\": \"\\\"71003765-0000-0200-0000-60884e210000\\\"\",\r\n \"_ts\": 1619545633\r\n }\r\n }\r\n }\r\n ]\r\n}", + "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/subscriptions/259fbb24-9bcd-4cfc-865c-fc33b22fe38a/resourceGroups/CosmosDBResourceGroup3668/providers/Microsoft.DocumentDB/databaseAccounts/cli126/sqlDatabases/databaseName/containers/containerName/triggers/triggerName\",\r\n \"type\": \"Microsoft.DocumentDB/databaseAccounts/sqlDatabases/containers/triggers\",\r\n \"name\": \"triggerName\",\r\n \"properties\": {\r\n \"resource\": {\r\n \"id\": \"triggerName\",\r\n \"body\": \"function () { var context = getContext(); var response = context.getResponse();response.setBody('Hello, World');}\",\r\n \"triggerType\": \"Pre\",\r\n \"triggerOperation\": \"All\",\r\n \"_rid\": \"xaE4AOImaIkBAAAAAAAAcA==\",\r\n \"_self\": \"dbs/xaE4AA==/colls/xaE4AOImaIk=/triggers/xaE4AOImaIkBAAAAAAAAcA==/\",\r\n \"_etag\": \"\\\"0000590c-0000-0200-0000-60c9afb90000\\\"\",\r\n \"_ts\": 1623830457\r\n }\r\n }\r\n }\r\n ]\r\n}", "StatusCode": 200 } ], "Names": {}, "Variables": { - "SubscriptionId": "80be3961-0521-4a0a-8570-5cd5a4e2f98c" + "SubscriptionId": "259fbb24-9bcd-4cfc-865c-fc33b22fe38a" } } \ No newline at end of file diff --git a/sdk/cosmosdb/Microsoft.Azure.Management.CosmosDB/tests/SessionRecords/SqlResourcesOperationsTests/SqlRoleTests.json b/sdk/cosmosdb/Microsoft.Azure.Management.CosmosDB/tests/SessionRecords/SqlResourcesOperationsTests/SqlRoleTests.json index d8e1e66e8d24..a77cc5b5d4cf 100644 --- a/sdk/cosmosdb/Microsoft.Azure.Management.CosmosDB/tests/SessionRecords/SqlResourcesOperationsTests/SqlRoleTests.json +++ b/sdk/cosmosdb/Microsoft.Azure.Management.CosmosDB/tests/SessionRecords/SqlResourcesOperationsTests/SqlRoleTests.json @@ -1,28 +1,28 @@ { "Entries": [ { - "RequestUri": "/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/resourceGroups/CosmosDBResourceGroup3668/providers/Microsoft.DocumentDB/databaseAccounts/rbac/sqlRoleDefinitions/70580ac3-cd0b-4549-8336-2f0d55df111e?api-version=2021-04-15", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvODBiZTM5NjEtMDUyMS00YTBhLTg1NzAtNWNkNWE0ZTJmOThjL3Jlc291cmNlR3JvdXBzL0Nvc21vc0RCUmVzb3VyY2VHcm91cDM2NjgvcHJvdmlkZXJzL01pY3Jvc29mdC5Eb2N1bWVudERCL2RhdGFiYXNlQWNjb3VudHMvcmJhYy9zcWxSb2xlRGVmaW5pdGlvbnMvNzA1ODBhYzMtY2QwYi00NTQ5LTgzMzYtMmYwZDU1ZGYxMTFlP2FwaS12ZXJzaW9uPTIwMjEtMDQtMTU=", + "RequestUri": "/subscriptions/259fbb24-9bcd-4cfc-865c-fc33b22fe38a/resourceGroups/CosmosDBResourceGroup3668/providers/Microsoft.DocumentDB/databaseAccounts/rbac126/sqlRoleDefinitions/70580ac3-cd0b-4549-8336-2f0d55df111e?api-version=2021-06-15", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMjU5ZmJiMjQtOWJjZC00Y2ZjLTg2NWMtZmMzM2IyMmZlMzhhL3Jlc291cmNlR3JvdXBzL0Nvc21vc0RCUmVzb3VyY2VHcm91cDM2NjgvcHJvdmlkZXJzL01pY3Jvc29mdC5Eb2N1bWVudERCL2RhdGFiYXNlQWNjb3VudHMvcmJhYzEyNi9zcWxSb2xlRGVmaW5pdGlvbnMvNzA1ODBhYzMtY2QwYi00NTQ5LTgzMzYtMmYwZDU1ZGYxMTFlP2FwaS12ZXJzaW9uPTIwMjEtMDYtMTU=", "RequestMethod": "PUT", - "RequestBody": "{\r\n \"properties\": {\r\n \"roleName\": \"roleName\",\r\n \"type\": \"CustomRole\",\r\n \"assignableScopes\": [\r\n \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/resourceGroups/CosmosDBResourceGroup3668/providers/Microsoft.DocumentDB/databaseAccounts/rbac\"\r\n ],\r\n \"permissions\": [\r\n {\r\n \"dataActions\": [\r\n \"Microsoft.DocumentDB/databaseAccounts/sqlDatabases/containers/items/create\",\r\n \"Microsoft.DocumentDB/databaseAccounts/sqlDatabases/containers/items/read\"\r\n ]\r\n }\r\n ]\r\n }\r\n}", + "RequestBody": "{\r\n \"properties\": {\r\n \"roleName\": \"roleName\",\r\n \"type\": \"CustomRole\",\r\n \"assignableScopes\": [\r\n \"/subscriptions/259fbb24-9bcd-4cfc-865c-fc33b22fe38a/resourceGroups/CosmosDBResourceGroup3668/providers/Microsoft.DocumentDB/databaseAccounts/rbac126\"\r\n ],\r\n \"permissions\": [\r\n {\r\n \"dataActions\": [\r\n \"Microsoft.DocumentDB/databaseAccounts/sqlDatabases/containers/items/create\",\r\n \"Microsoft.DocumentDB/databaseAccounts/sqlDatabases/containers/items/read\"\r\n ]\r\n }\r\n ]\r\n }\r\n}", "RequestHeaders": { "x-ms-client-request-id": [ - "65baeeea-782b-4729-a956-6b7685c54575" + "4e4a42ff-0068-4c72-a58b-bd6db218a5a6" ], "Accept-Language": [ "en-US" ], "User-Agent": [ - "FxVersion/4.6.29916.01", + "FxVersion/4.6.28207.03", "OSName/Windows", - "OSVersion/Microsoft.Windows.10.0.19042.", + "OSVersion/Microsoft.Windows.10.0.19043.", "Microsoft.Azure.Management.CosmosDB.CosmosDBManagementClient/3.0.0.0" ], "Content-Type": [ "application/json; charset=utf-8" ], "Content-Length": [ - "533" + "536" ] }, "ResponseHeaders": { @@ -33,19 +33,19 @@ "no-cache" ], "Location": [ - "https://management.azure.com/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/resourceGroups/CosmosDBResourceGroup3668/providers/Microsoft.DocumentDB/databaseAccounts/rbac/sqlRoleDefinitions/70580ac3-cd0b-4549-8336-2f0d55df111e/operationResults/0a078d69-c290-4c4d-a234-163b333712ea?api-version=2021-04-15" + "https://management.azure.com/subscriptions/259fbb24-9bcd-4cfc-865c-fc33b22fe38a/resourceGroups/CosmosDBResourceGroup3668/providers/Microsoft.DocumentDB/databaseAccounts/rbac126/sqlRoleDefinitions/70580ac3-cd0b-4549-8336-2f0d55df111e/operationResults/426a7e35-c883-4495-bf25-ed0947bd5ffd?api-version=2021-06-15" ], "Azure-AsyncOperation": [ - "https://management.azure.com/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/providers/Microsoft.DocumentDB/locations/eastus2/operationsStatus/0a078d69-c290-4c4d-a234-163b333712ea?api-version=2021-04-15" + "https://management.azure.com/subscriptions/259fbb24-9bcd-4cfc-865c-fc33b22fe38a/providers/Microsoft.DocumentDB/locations/eastus2/operationsStatus/426a7e35-c883-4495-bf25-ed0947bd5ffd?api-version=2021-06-15" ], "x-ms-request-id": [ - "0a078d69-c290-4c4d-a234-163b333712ea" + "426a7e35-c883-4495-bf25-ed0947bd5ffd" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "x-ms-gatewayversion": [ - "version=2.11.0" + "version=2.14.0" ], "Server": [ "Microsoft-HTTPAPI/2.0" @@ -54,16 +54,16 @@ "1199" ], "x-ms-correlation-request-id": [ - "4776df49-650c-4654-a8e0-6c7d1938ec86" + "bc0c19e8-26e3-44b6-bd85-eb7c87688768" ], "x-ms-routing-request-id": [ - "WESTUS:20210427T185256Z:4776df49-650c-4654-a8e0-6c7d1938ec86" + "WESTUS2:20210616T075259Z:bc0c19e8-26e3-44b6-bd85-eb7c87688768" ], "X-Content-Type-Options": [ "nosniff" ], "Date": [ - "Tue, 27 Apr 2021 18:52:56 GMT" + "Wed, 16 Jun 2021 07:52:58 GMT" ], "Content-Length": [ "21" @@ -76,21 +76,21 @@ "StatusCode": 202 }, { - "RequestUri": "/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/resourceGroups/CosmosDBResourceGroup3668/providers/Microsoft.DocumentDB/databaseAccounts/rbac/sqlRoleDefinitions/70580ac3-cd0b-4549-8336-2f0d55df111e?api-version=2021-04-15", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvODBiZTM5NjEtMDUyMS00YTBhLTg1NzAtNWNkNWE0ZTJmOThjL3Jlc291cmNlR3JvdXBzL0Nvc21vc0RCUmVzb3VyY2VHcm91cDM2NjgvcHJvdmlkZXJzL01pY3Jvc29mdC5Eb2N1bWVudERCL2RhdGFiYXNlQWNjb3VudHMvcmJhYy9zcWxSb2xlRGVmaW5pdGlvbnMvNzA1ODBhYzMtY2QwYi00NTQ5LTgzMzYtMmYwZDU1ZGYxMTFlP2FwaS12ZXJzaW9uPTIwMjEtMDQtMTU=", + "RequestUri": "/subscriptions/259fbb24-9bcd-4cfc-865c-fc33b22fe38a/resourceGroups/CosmosDBResourceGroup3668/providers/Microsoft.DocumentDB/databaseAccounts/rbac126/sqlRoleDefinitions/70580ac3-cd0b-4549-8336-2f0d55df111e?api-version=2021-06-15", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMjU5ZmJiMjQtOWJjZC00Y2ZjLTg2NWMtZmMzM2IyMmZlMzhhL3Jlc291cmNlR3JvdXBzL0Nvc21vc0RCUmVzb3VyY2VHcm91cDM2NjgvcHJvdmlkZXJzL01pY3Jvc29mdC5Eb2N1bWVudERCL2RhdGFiYXNlQWNjb3VudHMvcmJhYzEyNi9zcWxSb2xlRGVmaW5pdGlvbnMvNzA1ODBhYzMtY2QwYi00NTQ5LTgzMzYtMmYwZDU1ZGYxMTFlP2FwaS12ZXJzaW9uPTIwMjEtMDYtMTU=", "RequestMethod": "PUT", - "RequestBody": "{\r\n \"properties\": {\r\n \"roleName\": \"roleName3\",\r\n \"type\": \"CustomRole\",\r\n \"assignableScopes\": [\r\n \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/resourceGroups/CosmosDBResourceGroup3668/providers/Microsoft.DocumentDB/databaseAccounts/cli124\"\r\n ],\r\n \"permissions\": [\r\n {\r\n \"dataActions\": [\r\n \"Microsoft.DocumentDB/databaseAccounts/sqlDatabases/containers/items/create\",\r\n \"Microsoft.DocumentDB/databaseAccounts/sqlDatabases/containers/items/delete\",\r\n \"Microsoft.DocumentDB/databaseAccounts/sqlDatabases/containers/items/replace\"\r\n ]\r\n }\r\n ]\r\n }\r\n}", + "RequestBody": "{\r\n \"properties\": {\r\n \"roleName\": \"roleName3\",\r\n \"type\": \"CustomRole\",\r\n \"assignableScopes\": [\r\n \"/subscriptions/259fbb24-9bcd-4cfc-865c-fc33b22fe38a/resourceGroups/CosmosDBResourceGroup3668/providers/Microsoft.DocumentDB/databaseAccounts/cli126\"\r\n ],\r\n \"permissions\": [\r\n {\r\n \"dataActions\": [\r\n \"Microsoft.DocumentDB/databaseAccounts/sqlDatabases/containers/items/create\",\r\n \"Microsoft.DocumentDB/databaseAccounts/sqlDatabases/containers/items/delete\",\r\n \"Microsoft.DocumentDB/databaseAccounts/sqlDatabases/containers/items/replace\"\r\n ]\r\n }\r\n ]\r\n }\r\n}", "RequestHeaders": { "x-ms-client-request-id": [ - "7c605e66-6e98-4f17-8ad4-2309730e984b" + "74da667c-4fcb-4c46-874c-bd04f06a242b" ], "Accept-Language": [ "en-US" ], "User-Agent": [ - "FxVersion/4.6.29916.01", + "FxVersion/4.6.28207.03", "OSName/Windows", - "OSVersion/Microsoft.Windows.10.0.19042.", + "OSVersion/Microsoft.Windows.10.0.19043.", "Microsoft.Azure.Management.CosmosDB.CosmosDBManagementClient/3.0.0.0" ], "Content-Type": [ @@ -108,19 +108,19 @@ "no-cache" ], "Location": [ - "https://management.azure.com/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/resourceGroups/CosmosDBResourceGroup3668/providers/Microsoft.DocumentDB/databaseAccounts/rbac/sqlRoleDefinitions/70580ac3-cd0b-4549-8336-2f0d55df111e/operationResults/5e7e1323-f723-48de-9c8c-06979c12a5e0?api-version=2021-04-15" + "https://management.azure.com/subscriptions/259fbb24-9bcd-4cfc-865c-fc33b22fe38a/resourceGroups/CosmosDBResourceGroup3668/providers/Microsoft.DocumentDB/databaseAccounts/rbac126/sqlRoleDefinitions/70580ac3-cd0b-4549-8336-2f0d55df111e/operationResults/c3b8b52c-3a98-4e89-a2c8-ddb602f1ab92?api-version=2021-06-15" ], "Azure-AsyncOperation": [ - "https://management.azure.com/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/providers/Microsoft.DocumentDB/locations/eastus2/operationsStatus/5e7e1323-f723-48de-9c8c-06979c12a5e0?api-version=2021-04-15" + "https://management.azure.com/subscriptions/259fbb24-9bcd-4cfc-865c-fc33b22fe38a/providers/Microsoft.DocumentDB/locations/eastus2/operationsStatus/c3b8b52c-3a98-4e89-a2c8-ddb602f1ab92?api-version=2021-06-15" ], "x-ms-request-id": [ - "5e7e1323-f723-48de-9c8c-06979c12a5e0" + "c3b8b52c-3a98-4e89-a2c8-ddb602f1ab92" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "x-ms-gatewayversion": [ - "version=2.11.0" + "version=2.14.0" ], "Server": [ "Microsoft-HTTPAPI/2.0" @@ -129,16 +129,16 @@ "1197" ], "x-ms-correlation-request-id": [ - "60b6403d-c040-4713-97f9-76cd6a87a2cf" + "91c5d2e2-5a83-4b3e-a6e3-567c634d77d1" ], "x-ms-routing-request-id": [ - "WESTUS:20210427T185400Z:60b6403d-c040-4713-97f9-76cd6a87a2cf" + "WESTUS2:20210616T075402Z:91c5d2e2-5a83-4b3e-a6e3-567c634d77d1" ], "X-Content-Type-Options": [ "nosniff" ], "Date": [ - "Tue, 27 Apr 2021 18:54:00 GMT" + "Wed, 16 Jun 2021 07:54:01 GMT" ], "Content-Length": [ "21" @@ -151,15 +151,15 @@ "StatusCode": 202 }, { - "RequestUri": "/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/providers/Microsoft.DocumentDB/locations/eastus2/operationsStatus/0a078d69-c290-4c4d-a234-163b333712ea?api-version=2021-04-15", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvODBiZTM5NjEtMDUyMS00YTBhLTg1NzAtNWNkNWE0ZTJmOThjL3Byb3ZpZGVycy9NaWNyb3NvZnQuRG9jdW1lbnREQi9sb2NhdGlvbnMvZWFzdHVzMi9vcGVyYXRpb25zU3RhdHVzLzBhMDc4ZDY5LWMyOTAtNGM0ZC1hMjM0LTE2M2IzMzM3MTJlYT9hcGktdmVyc2lvbj0yMDIxLTA0LTE1", + "RequestUri": "/subscriptions/259fbb24-9bcd-4cfc-865c-fc33b22fe38a/providers/Microsoft.DocumentDB/locations/eastus2/operationsStatus/426a7e35-c883-4495-bf25-ed0947bd5ffd?api-version=2021-06-15", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMjU5ZmJiMjQtOWJjZC00Y2ZjLTg2NWMtZmMzM2IyMmZlMzhhL3Byb3ZpZGVycy9NaWNyb3NvZnQuRG9jdW1lbnREQi9sb2NhdGlvbnMvZWFzdHVzMi9vcGVyYXRpb25zU3RhdHVzLzQyNmE3ZTM1LWM4ODMtNDQ5NS1iZjI1LWVkMDk0N2JkNWZmZD9hcGktdmVyc2lvbj0yMDIxLTA2LTE1", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { "User-Agent": [ - "FxVersion/4.6.29916.01", + "FxVersion/4.6.28207.03", "OSName/Windows", - "OSVersion/Microsoft.Windows.10.0.19042.", + "OSVersion/Microsoft.Windows.10.0.19043.", "Microsoft.Azure.Management.CosmosDB.CosmosDBManagementClient/3.0.0.0" ] }, @@ -174,7 +174,7 @@ "max-age=31536000; includeSubDomains" ], "x-ms-gatewayversion": [ - "version=2.11.0" + "version=2.14.0" ], "Server": [ "Microsoft-HTTPAPI/2.0" @@ -183,19 +183,19 @@ "11999" ], "x-ms-request-id": [ - "292ccb2b-dc9f-476e-a55e-209933df0429" + "cfe5ac10-c71b-4bae-acba-3e771216c138" ], "x-ms-correlation-request-id": [ - "292ccb2b-dc9f-476e-a55e-209933df0429" + "cfe5ac10-c71b-4bae-acba-3e771216c138" ], "x-ms-routing-request-id": [ - "WESTUS:20210427T185326Z:292ccb2b-dc9f-476e-a55e-209933df0429" + "WESTUS2:20210616T075329Z:cfe5ac10-c71b-4bae-acba-3e771216c138" ], "X-Content-Type-Options": [ "nosniff" ], "Date": [ - "Tue, 27 Apr 2021 18:53:26 GMT" + "Wed, 16 Jun 2021 07:53:29 GMT" ], "Content-Length": [ "22" @@ -208,15 +208,15 @@ "StatusCode": 200 }, { - "RequestUri": "/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/resourceGroups/CosmosDBResourceGroup3668/providers/Microsoft.DocumentDB/databaseAccounts/rbac/sqlRoleDefinitions/70580ac3-cd0b-4549-8336-2f0d55df111e?api-version=2021-04-15", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvODBiZTM5NjEtMDUyMS00YTBhLTg1NzAtNWNkNWE0ZTJmOThjL3Jlc291cmNlR3JvdXBzL0Nvc21vc0RCUmVzb3VyY2VHcm91cDM2NjgvcHJvdmlkZXJzL01pY3Jvc29mdC5Eb2N1bWVudERCL2RhdGFiYXNlQWNjb3VudHMvcmJhYy9zcWxSb2xlRGVmaW5pdGlvbnMvNzA1ODBhYzMtY2QwYi00NTQ5LTgzMzYtMmYwZDU1ZGYxMTFlP2FwaS12ZXJzaW9uPTIwMjEtMDQtMTU=", + "RequestUri": "/subscriptions/259fbb24-9bcd-4cfc-865c-fc33b22fe38a/resourceGroups/CosmosDBResourceGroup3668/providers/Microsoft.DocumentDB/databaseAccounts/rbac126/sqlRoleDefinitions/70580ac3-cd0b-4549-8336-2f0d55df111e?api-version=2021-06-15", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMjU5ZmJiMjQtOWJjZC00Y2ZjLTg2NWMtZmMzM2IyMmZlMzhhL3Jlc291cmNlR3JvdXBzL0Nvc21vc0RCUmVzb3VyY2VHcm91cDM2NjgvcHJvdmlkZXJzL01pY3Jvc29mdC5Eb2N1bWVudERCL2RhdGFiYXNlQWNjb3VudHMvcmJhYzEyNi9zcWxSb2xlRGVmaW5pdGlvbnMvNzA1ODBhYzMtY2QwYi00NTQ5LTgzMzYtMmYwZDU1ZGYxMTFlP2FwaS12ZXJzaW9uPTIwMjEtMDYtMTU=", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { "User-Agent": [ - "FxVersion/4.6.29916.01", + "FxVersion/4.6.28207.03", "OSName/Windows", - "OSVersion/Microsoft.Windows.10.0.19042.", + "OSVersion/Microsoft.Windows.10.0.19043.", "Microsoft.Azure.Management.CosmosDB.CosmosDBManagementClient/3.0.0.0" ] }, @@ -231,7 +231,7 @@ "max-age=31536000; includeSubDomains" ], "x-ms-gatewayversion": [ - "version=2.11.0" + "version=2.14.0" ], "Server": [ "Microsoft-HTTPAPI/2.0" @@ -240,46 +240,46 @@ "11998" ], "x-ms-request-id": [ - "88bddc15-e11e-4136-bd86-b3a3d154b75b" + "1f404336-f247-470f-acc6-6b68130b2dba" ], "x-ms-correlation-request-id": [ - "88bddc15-e11e-4136-bd86-b3a3d154b75b" + "1f404336-f247-470f-acc6-6b68130b2dba" ], "x-ms-routing-request-id": [ - "WESTUS:20210427T185327Z:88bddc15-e11e-4136-bd86-b3a3d154b75b" + "WESTUS2:20210616T075329Z:1f404336-f247-470f-acc6-6b68130b2dba" ], "X-Content-Type-Options": [ "nosniff" ], "Date": [ - "Tue, 27 Apr 2021 18:53:26 GMT" + "Wed, 16 Jun 2021 07:53:29 GMT" ], "Content-Length": [ - "743" + "749" ], "Content-Type": [ "application/json" ] }, - "ResponseBody": "{\r\n \"id\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/resourceGroups/CosmosDBResourceGroup3668/providers/Microsoft.DocumentDB/databaseAccounts/rbac/sqlRoleDefinitions/70580ac3-cd0b-4549-8336-2f0d55df111e\",\r\n \"name\": \"70580ac3-cd0b-4549-8336-2f0d55df111e\",\r\n \"properties\": {\r\n \"roleName\": \"roleName\",\r\n \"type\": 1,\r\n \"assignableScopes\": [\r\n \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/resourceGroups/CosmosDBResourceGroup3668/providers/Microsoft.DocumentDB/databaseAccounts/rbac\"\r\n ],\r\n \"permissions\": [\r\n {\r\n \"dataActions\": [\r\n \"Microsoft.DocumentDB/databaseAccounts/sqlDatabases/containers/items/create\",\r\n \"Microsoft.DocumentDB/databaseAccounts/sqlDatabases/containers/items/read\"\r\n ],\r\n \"notDataActions\": []\r\n }\r\n ]\r\n },\r\n \"type\": \"Microsoft.DocumentDB/databaseAccounts/sqlRoleDefinitions\"\r\n}", + "ResponseBody": "{\r\n \"id\": \"/subscriptions/259fbb24-9bcd-4cfc-865c-fc33b22fe38a/resourceGroups/CosmosDBResourceGroup3668/providers/Microsoft.DocumentDB/databaseAccounts/rbac126/sqlRoleDefinitions/70580ac3-cd0b-4549-8336-2f0d55df111e\",\r\n \"name\": \"70580ac3-cd0b-4549-8336-2f0d55df111e\",\r\n \"properties\": {\r\n \"roleName\": \"roleName\",\r\n \"type\": 1,\r\n \"assignableScopes\": [\r\n \"/subscriptions/259fbb24-9bcd-4cfc-865c-fc33b22fe38a/resourceGroups/CosmosDBResourceGroup3668/providers/Microsoft.DocumentDB/databaseAccounts/rbac126\"\r\n ],\r\n \"permissions\": [\r\n {\r\n \"dataActions\": [\r\n \"Microsoft.DocumentDB/databaseAccounts/sqlDatabases/containers/items/create\",\r\n \"Microsoft.DocumentDB/databaseAccounts/sqlDatabases/containers/items/read\"\r\n ],\r\n \"notDataActions\": []\r\n }\r\n ]\r\n },\r\n \"type\": \"Microsoft.DocumentDB/databaseAccounts/sqlRoleDefinitions\"\r\n}", "StatusCode": 200 }, { - "RequestUri": "/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/resourceGroups/CosmosDBResourceGroup3668/providers/Microsoft.DocumentDB/databaseAccounts/rbac/sqlRoleDefinitions/70580ac3-cd0b-4549-8336-2f0d55df111e?api-version=2021-04-15", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvODBiZTM5NjEtMDUyMS00YTBhLTg1NzAtNWNkNWE0ZTJmOThjL3Jlc291cmNlR3JvdXBzL0Nvc21vc0RCUmVzb3VyY2VHcm91cDM2NjgvcHJvdmlkZXJzL01pY3Jvc29mdC5Eb2N1bWVudERCL2RhdGFiYXNlQWNjb3VudHMvcmJhYy9zcWxSb2xlRGVmaW5pdGlvbnMvNzA1ODBhYzMtY2QwYi00NTQ5LTgzMzYtMmYwZDU1ZGYxMTFlP2FwaS12ZXJzaW9uPTIwMjEtMDQtMTU=", + "RequestUri": "/subscriptions/259fbb24-9bcd-4cfc-865c-fc33b22fe38a/resourceGroups/CosmosDBResourceGroup3668/providers/Microsoft.DocumentDB/databaseAccounts/rbac126/sqlRoleDefinitions/70580ac3-cd0b-4549-8336-2f0d55df111e?api-version=2021-06-15", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMjU5ZmJiMjQtOWJjZC00Y2ZjLTg2NWMtZmMzM2IyMmZlMzhhL3Jlc291cmNlR3JvdXBzL0Nvc21vc0RCUmVzb3VyY2VHcm91cDM2NjgvcHJvdmlkZXJzL01pY3Jvc29mdC5Eb2N1bWVudERCL2RhdGFiYXNlQWNjb3VudHMvcmJhYzEyNi9zcWxSb2xlRGVmaW5pdGlvbnMvNzA1ODBhYzMtY2QwYi00NTQ5LTgzMzYtMmYwZDU1ZGYxMTFlP2FwaS12ZXJzaW9uPTIwMjEtMDYtMTU=", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { "x-ms-client-request-id": [ - "79926309-2afb-4a6f-b898-8587be573218" + "33479392-dfe5-45e7-8e19-116b71329bfe" ], "Accept-Language": [ "en-US" ], "User-Agent": [ - "FxVersion/4.6.29916.01", + "FxVersion/4.6.28207.03", "OSName/Windows", - "OSVersion/Microsoft.Windows.10.0.19042.", + "OSVersion/Microsoft.Windows.10.0.19043.", "Microsoft.Azure.Management.CosmosDB.CosmosDBManagementClient/3.0.0.0" ] }, @@ -294,7 +294,7 @@ "max-age=31536000; includeSubDomains" ], "x-ms-gatewayversion": [ - "version=2.11.0" + "version=2.14.0" ], "Server": [ "Microsoft-HTTPAPI/2.0" @@ -303,40 +303,40 @@ "11997" ], "x-ms-request-id": [ - "1ce0d7da-0b63-40db-b825-e39a99b2c541" + "50744813-3bbd-4aa7-ac7f-f1ad1be49419" ], "x-ms-correlation-request-id": [ - "1ce0d7da-0b63-40db-b825-e39a99b2c541" + "50744813-3bbd-4aa7-ac7f-f1ad1be49419" ], "x-ms-routing-request-id": [ - "WESTUS:20210427T185327Z:1ce0d7da-0b63-40db-b825-e39a99b2c541" + "WESTUS2:20210616T075329Z:50744813-3bbd-4aa7-ac7f-f1ad1be49419" ], "X-Content-Type-Options": [ "nosniff" ], "Date": [ - "Tue, 27 Apr 2021 18:53:27 GMT" + "Wed, 16 Jun 2021 07:53:29 GMT" ], "Content-Length": [ - "743" + "749" ], "Content-Type": [ "application/json" ] }, - "ResponseBody": "{\r\n \"id\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/resourceGroups/CosmosDBResourceGroup3668/providers/Microsoft.DocumentDB/databaseAccounts/rbac/sqlRoleDefinitions/70580ac3-cd0b-4549-8336-2f0d55df111e\",\r\n \"name\": \"70580ac3-cd0b-4549-8336-2f0d55df111e\",\r\n \"properties\": {\r\n \"roleName\": \"roleName\",\r\n \"type\": 1,\r\n \"assignableScopes\": [\r\n \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/resourceGroups/CosmosDBResourceGroup3668/providers/Microsoft.DocumentDB/databaseAccounts/rbac\"\r\n ],\r\n \"permissions\": [\r\n {\r\n \"dataActions\": [\r\n \"Microsoft.DocumentDB/databaseAccounts/sqlDatabases/containers/items/create\",\r\n \"Microsoft.DocumentDB/databaseAccounts/sqlDatabases/containers/items/read\"\r\n ],\r\n \"notDataActions\": []\r\n }\r\n ]\r\n },\r\n \"type\": \"Microsoft.DocumentDB/databaseAccounts/sqlRoleDefinitions\"\r\n}", + "ResponseBody": "{\r\n \"id\": \"/subscriptions/259fbb24-9bcd-4cfc-865c-fc33b22fe38a/resourceGroups/CosmosDBResourceGroup3668/providers/Microsoft.DocumentDB/databaseAccounts/rbac126/sqlRoleDefinitions/70580ac3-cd0b-4549-8336-2f0d55df111e\",\r\n \"name\": \"70580ac3-cd0b-4549-8336-2f0d55df111e\",\r\n \"properties\": {\r\n \"roleName\": \"roleName\",\r\n \"type\": 1,\r\n \"assignableScopes\": [\r\n \"/subscriptions/259fbb24-9bcd-4cfc-865c-fc33b22fe38a/resourceGroups/CosmosDBResourceGroup3668/providers/Microsoft.DocumentDB/databaseAccounts/rbac126\"\r\n ],\r\n \"permissions\": [\r\n {\r\n \"dataActions\": [\r\n \"Microsoft.DocumentDB/databaseAccounts/sqlDatabases/containers/items/create\",\r\n \"Microsoft.DocumentDB/databaseAccounts/sqlDatabases/containers/items/read\"\r\n ],\r\n \"notDataActions\": []\r\n }\r\n ]\r\n },\r\n \"type\": \"Microsoft.DocumentDB/databaseAccounts/sqlRoleDefinitions\"\r\n}", "StatusCode": 200 }, { - "RequestUri": "/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/resourceGroups/CosmosDBResourceGroup3668/providers/Microsoft.DocumentDB/databaseAccounts/rbac/sqlRoleDefinitions/70580ac3-cd0b-4549-8336-2f0d55df111e?api-version=2021-04-15", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvODBiZTM5NjEtMDUyMS00YTBhLTg1NzAtNWNkNWE0ZTJmOThjL3Jlc291cmNlR3JvdXBzL0Nvc21vc0RCUmVzb3VyY2VHcm91cDM2NjgvcHJvdmlkZXJzL01pY3Jvc29mdC5Eb2N1bWVudERCL2RhdGFiYXNlQWNjb3VudHMvcmJhYy9zcWxSb2xlRGVmaW5pdGlvbnMvNzA1ODBhYzMtY2QwYi00NTQ5LTgzMzYtMmYwZDU1ZGYxMTFlP2FwaS12ZXJzaW9uPTIwMjEtMDQtMTU=", + "RequestUri": "/subscriptions/259fbb24-9bcd-4cfc-865c-fc33b22fe38a/resourceGroups/CosmosDBResourceGroup3668/providers/Microsoft.DocumentDB/databaseAccounts/rbac126/sqlRoleDefinitions/70580ac3-cd0b-4549-8336-2f0d55df111e?api-version=2021-06-15", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMjU5ZmJiMjQtOWJjZC00Y2ZjLTg2NWMtZmMzM2IyMmZlMzhhL3Jlc291cmNlR3JvdXBzL0Nvc21vc0RCUmVzb3VyY2VHcm91cDM2NjgvcHJvdmlkZXJzL01pY3Jvc29mdC5Eb2N1bWVudERCL2RhdGFiYXNlQWNjb3VudHMvcmJhYzEyNi9zcWxSb2xlRGVmaW5pdGlvbnMvNzA1ODBhYzMtY2QwYi00NTQ5LTgzMzYtMmYwZDU1ZGYxMTFlP2FwaS12ZXJzaW9uPTIwMjEtMDYtMTU=", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { "User-Agent": [ - "FxVersion/4.6.29916.01", + "FxVersion/4.6.28207.03", "OSName/Windows", - "OSVersion/Microsoft.Windows.10.0.19042.", + "OSVersion/Microsoft.Windows.10.0.19043.", "Microsoft.Azure.Management.CosmosDB.CosmosDBManagementClient/3.0.0.0" ] }, @@ -351,7 +351,7 @@ "max-age=31536000; includeSubDomains" ], "x-ms-gatewayversion": [ - "version=2.11.0" + "version=2.14.0" ], "Server": [ "Microsoft-HTTPAPI/2.0" @@ -360,53 +360,53 @@ "11993" ], "x-ms-request-id": [ - "09df9252-ee21-4db7-ae3d-bf474e78efca" + "626a19ff-9c20-49b1-bbaf-ae0bbc7062fc" ], "x-ms-correlation-request-id": [ - "09df9252-ee21-4db7-ae3d-bf474e78efca" + "626a19ff-9c20-49b1-bbaf-ae0bbc7062fc" ], "x-ms-routing-request-id": [ - "WESTUS:20210427T185431Z:09df9252-ee21-4db7-ae3d-bf474e78efca" + "WESTUS2:20210616T075432Z:626a19ff-9c20-49b1-bbaf-ae0bbc7062fc" ], "X-Content-Type-Options": [ "nosniff" ], "Date": [ - "Tue, 27 Apr 2021 18:54:30 GMT" + "Wed, 16 Jun 2021 07:54:31 GMT" ], "Content-Length": [ - "824" + "830" ], "Content-Type": [ "application/json" ] }, - "ResponseBody": "{\r\n \"id\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/resourceGroups/CosmosDBResourceGroup3668/providers/Microsoft.DocumentDB/databaseAccounts/rbac/sqlRoleDefinitions/70580ac3-cd0b-4549-8336-2f0d55df111e\",\r\n \"name\": \"70580ac3-cd0b-4549-8336-2f0d55df111e\",\r\n \"properties\": {\r\n \"roleName\": \"roleName3\",\r\n \"type\": 1,\r\n \"assignableScopes\": [\r\n \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/resourceGroups/CosmosDBResourceGroup3668/providers/Microsoft.DocumentDB/databaseAccounts/rbac\"\r\n ],\r\n \"permissions\": [\r\n {\r\n \"dataActions\": [\r\n \"Microsoft.DocumentDB/databaseAccounts/sqlDatabases/containers/items/create\",\r\n \"Microsoft.DocumentDB/databaseAccounts/sqlDatabases/containers/items/delete\",\r\n \"Microsoft.DocumentDB/databaseAccounts/sqlDatabases/containers/items/replace\"\r\n ],\r\n \"notDataActions\": []\r\n }\r\n ]\r\n },\r\n \"type\": \"Microsoft.DocumentDB/databaseAccounts/sqlRoleDefinitions\"\r\n}", + "ResponseBody": "{\r\n \"id\": \"/subscriptions/259fbb24-9bcd-4cfc-865c-fc33b22fe38a/resourceGroups/CosmosDBResourceGroup3668/providers/Microsoft.DocumentDB/databaseAccounts/rbac126/sqlRoleDefinitions/70580ac3-cd0b-4549-8336-2f0d55df111e\",\r\n \"name\": \"70580ac3-cd0b-4549-8336-2f0d55df111e\",\r\n \"properties\": {\r\n \"roleName\": \"roleName3\",\r\n \"type\": 1,\r\n \"assignableScopes\": [\r\n \"/subscriptions/259fbb24-9bcd-4cfc-865c-fc33b22fe38a/resourceGroups/CosmosDBResourceGroup3668/providers/Microsoft.DocumentDB/databaseAccounts/rbac126\"\r\n ],\r\n \"permissions\": [\r\n {\r\n \"dataActions\": [\r\n \"Microsoft.DocumentDB/databaseAccounts/sqlDatabases/containers/items/create\",\r\n \"Microsoft.DocumentDB/databaseAccounts/sqlDatabases/containers/items/delete\",\r\n \"Microsoft.DocumentDB/databaseAccounts/sqlDatabases/containers/items/replace\"\r\n ],\r\n \"notDataActions\": []\r\n }\r\n ]\r\n },\r\n \"type\": \"Microsoft.DocumentDB/databaseAccounts/sqlRoleDefinitions\"\r\n}", "StatusCode": 200 }, { - "RequestUri": "/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/resourceGroups/CosmosDBResourceGroup3668/providers/Microsoft.DocumentDB/databaseAccounts/rbac/sqlRoleDefinitions/fbf74201-f33f-46f0-8234-2b8bf15ecec4?api-version=2021-04-15", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvODBiZTM5NjEtMDUyMS00YTBhLTg1NzAtNWNkNWE0ZTJmOThjL3Jlc291cmNlR3JvdXBzL0Nvc21vc0RCUmVzb3VyY2VHcm91cDM2NjgvcHJvdmlkZXJzL01pY3Jvc29mdC5Eb2N1bWVudERCL2RhdGFiYXNlQWNjb3VudHMvcmJhYy9zcWxSb2xlRGVmaW5pdGlvbnMvZmJmNzQyMDEtZjMzZi00NmYwLTgyMzQtMmI4YmYxNWVjZWM0P2FwaS12ZXJzaW9uPTIwMjEtMDQtMTU=", + "RequestUri": "/subscriptions/259fbb24-9bcd-4cfc-865c-fc33b22fe38a/resourceGroups/CosmosDBResourceGroup3668/providers/Microsoft.DocumentDB/databaseAccounts/rbac126/sqlRoleDefinitions/fbf74201-f33f-46f0-8234-2b8bf15ecec4?api-version=2021-06-15", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMjU5ZmJiMjQtOWJjZC00Y2ZjLTg2NWMtZmMzM2IyMmZlMzhhL3Jlc291cmNlR3JvdXBzL0Nvc21vc0RCUmVzb3VyY2VHcm91cDM2NjgvcHJvdmlkZXJzL01pY3Jvc29mdC5Eb2N1bWVudERCL2RhdGFiYXNlQWNjb3VudHMvcmJhYzEyNi9zcWxSb2xlRGVmaW5pdGlvbnMvZmJmNzQyMDEtZjMzZi00NmYwLTgyMzQtMmI4YmYxNWVjZWM0P2FwaS12ZXJzaW9uPTIwMjEtMDYtMTU=", "RequestMethod": "PUT", - "RequestBody": "{\r\n \"properties\": {\r\n \"roleName\": \"roleName2\",\r\n \"type\": \"CustomRole\",\r\n \"assignableScopes\": [\r\n \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/resourceGroups/CosmosDBResourceGroup3668/providers/Microsoft.DocumentDB/databaseAccounts/rbac\"\r\n ],\r\n \"permissions\": [\r\n {\r\n \"dataActions\": [\r\n \"Microsoft.DocumentDB/databaseAccounts/sqlDatabases/containers/items/create\",\r\n \"Microsoft.DocumentDB/databaseAccounts/sqlDatabases/containers/items/read\",\r\n \"Microsoft.DocumentDB/databaseAccounts/sqlDatabases/containers/items/delete\",\r\n \"Microsoft.DocumentDB/databaseAccounts/sqlDatabases/containers/items/replace\"\r\n ]\r\n }\r\n ]\r\n }\r\n}", + "RequestBody": "{\r\n \"properties\": {\r\n \"roleName\": \"roleName2\",\r\n \"type\": \"CustomRole\",\r\n \"assignableScopes\": [\r\n \"/subscriptions/259fbb24-9bcd-4cfc-865c-fc33b22fe38a/resourceGroups/CosmosDBResourceGroup3668/providers/Microsoft.DocumentDB/databaseAccounts/rbac126\"\r\n ],\r\n \"permissions\": [\r\n {\r\n \"dataActions\": [\r\n \"Microsoft.DocumentDB/databaseAccounts/sqlDatabases/containers/items/create\",\r\n \"Microsoft.DocumentDB/databaseAccounts/sqlDatabases/containers/items/read\",\r\n \"Microsoft.DocumentDB/databaseAccounts/sqlDatabases/containers/items/delete\",\r\n \"Microsoft.DocumentDB/databaseAccounts/sqlDatabases/containers/items/replace\"\r\n ]\r\n }\r\n ]\r\n }\r\n}", "RequestHeaders": { "x-ms-client-request-id": [ - "7e155292-1e7b-4acc-a0ea-8322dbff8f24" + "d05dbeed-6241-4994-b239-74ef5a905894" ], "Accept-Language": [ "en-US" ], "User-Agent": [ - "FxVersion/4.6.29916.01", + "FxVersion/4.6.28207.03", "OSName/Windows", - "OSVersion/Microsoft.Windows.10.0.19042.", + "OSVersion/Microsoft.Windows.10.0.19043.", "Microsoft.Azure.Management.CosmosDB.CosmosDBManagementClient/3.0.0.0" ], "Content-Type": [ "application/json; charset=utf-8" ], "Content-Length": [ - "713" + "716" ] }, "ResponseHeaders": { @@ -417,19 +417,19 @@ "no-cache" ], "Location": [ - "https://management.azure.com/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/resourceGroups/CosmosDBResourceGroup3668/providers/Microsoft.DocumentDB/databaseAccounts/rbac/sqlRoleDefinitions/fbf74201-f33f-46f0-8234-2b8bf15ecec4/operationResults/22c9e47e-cff8-4772-a06d-0a5e9cf6bd85?api-version=2021-04-15" + "https://management.azure.com/subscriptions/259fbb24-9bcd-4cfc-865c-fc33b22fe38a/resourceGroups/CosmosDBResourceGroup3668/providers/Microsoft.DocumentDB/databaseAccounts/rbac126/sqlRoleDefinitions/fbf74201-f33f-46f0-8234-2b8bf15ecec4/operationResults/81bc6fd1-ee41-4e25-bbf9-283e4da53acb?api-version=2021-06-15" ], "Azure-AsyncOperation": [ - "https://management.azure.com/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/providers/Microsoft.DocumentDB/locations/eastus2/operationsStatus/22c9e47e-cff8-4772-a06d-0a5e9cf6bd85?api-version=2021-04-15" + "https://management.azure.com/subscriptions/259fbb24-9bcd-4cfc-865c-fc33b22fe38a/providers/Microsoft.DocumentDB/locations/eastus2/operationsStatus/81bc6fd1-ee41-4e25-bbf9-283e4da53acb?api-version=2021-06-15" ], "x-ms-request-id": [ - "22c9e47e-cff8-4772-a06d-0a5e9cf6bd85" + "81bc6fd1-ee41-4e25-bbf9-283e4da53acb" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "x-ms-gatewayversion": [ - "version=2.11.0" + "version=2.14.0" ], "Server": [ "Microsoft-HTTPAPI/2.0" @@ -438,16 +438,16 @@ "1198" ], "x-ms-correlation-request-id": [ - "669a4760-6c2a-4a67-8965-dad4c81b4cc7" + "b1adc655-8c04-4a2d-a4b1-028648f26bce" ], "x-ms-routing-request-id": [ - "WESTUS:20210427T185329Z:669a4760-6c2a-4a67-8965-dad4c81b4cc7" + "WESTUS2:20210616T075330Z:b1adc655-8c04-4a2d-a4b1-028648f26bce" ], "X-Content-Type-Options": [ "nosniff" ], "Date": [ - "Tue, 27 Apr 2021 18:53:28 GMT" + "Wed, 16 Jun 2021 07:53:30 GMT" ], "Content-Length": [ "21" @@ -460,15 +460,15 @@ "StatusCode": 202 }, { - "RequestUri": "/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/providers/Microsoft.DocumentDB/locations/eastus2/operationsStatus/22c9e47e-cff8-4772-a06d-0a5e9cf6bd85?api-version=2021-04-15", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvODBiZTM5NjEtMDUyMS00YTBhLTg1NzAtNWNkNWE0ZTJmOThjL3Byb3ZpZGVycy9NaWNyb3NvZnQuRG9jdW1lbnREQi9sb2NhdGlvbnMvZWFzdHVzMi9vcGVyYXRpb25zU3RhdHVzLzIyYzllNDdlLWNmZjgtNDc3Mi1hMDZkLTBhNWU5Y2Y2YmQ4NT9hcGktdmVyc2lvbj0yMDIxLTA0LTE1", + "RequestUri": "/subscriptions/259fbb24-9bcd-4cfc-865c-fc33b22fe38a/providers/Microsoft.DocumentDB/locations/eastus2/operationsStatus/81bc6fd1-ee41-4e25-bbf9-283e4da53acb?api-version=2021-06-15", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMjU5ZmJiMjQtOWJjZC00Y2ZjLTg2NWMtZmMzM2IyMmZlMzhhL3Byb3ZpZGVycy9NaWNyb3NvZnQuRG9jdW1lbnREQi9sb2NhdGlvbnMvZWFzdHVzMi9vcGVyYXRpb25zU3RhdHVzLzgxYmM2ZmQxLWVlNDEtNGUyNS1iYmY5LTI4M2U0ZGE1M2FjYj9hcGktdmVyc2lvbj0yMDIxLTA2LTE1", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { "User-Agent": [ - "FxVersion/4.6.29916.01", + "FxVersion/4.6.28207.03", "OSName/Windows", - "OSVersion/Microsoft.Windows.10.0.19042.", + "OSVersion/Microsoft.Windows.10.0.19043.", "Microsoft.Azure.Management.CosmosDB.CosmosDBManagementClient/3.0.0.0" ] }, @@ -483,7 +483,7 @@ "max-age=31536000; includeSubDomains" ], "x-ms-gatewayversion": [ - "version=2.11.0" + "version=2.14.0" ], "Server": [ "Microsoft-HTTPAPI/2.0" @@ -492,19 +492,19 @@ "11996" ], "x-ms-request-id": [ - "635f8373-75b2-438e-bc87-9152a66bad50" + "338baac5-5d25-4c03-b48b-d86e0dc8968f" ], "x-ms-correlation-request-id": [ - "635f8373-75b2-438e-bc87-9152a66bad50" + "338baac5-5d25-4c03-b48b-d86e0dc8968f" ], "x-ms-routing-request-id": [ - "WESTUS:20210427T185359Z:635f8373-75b2-438e-bc87-9152a66bad50" + "WESTUS2:20210616T075400Z:338baac5-5d25-4c03-b48b-d86e0dc8968f" ], "X-Content-Type-Options": [ "nosniff" ], "Date": [ - "Tue, 27 Apr 2021 18:53:58 GMT" + "Wed, 16 Jun 2021 07:54:00 GMT" ], "Content-Length": [ "22" @@ -517,15 +517,15 @@ "StatusCode": 200 }, { - "RequestUri": "/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/resourceGroups/CosmosDBResourceGroup3668/providers/Microsoft.DocumentDB/databaseAccounts/rbac/sqlRoleDefinitions/fbf74201-f33f-46f0-8234-2b8bf15ecec4?api-version=2021-04-15", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvODBiZTM5NjEtMDUyMS00YTBhLTg1NzAtNWNkNWE0ZTJmOThjL3Jlc291cmNlR3JvdXBzL0Nvc21vc0RCUmVzb3VyY2VHcm91cDM2NjgvcHJvdmlkZXJzL01pY3Jvc29mdC5Eb2N1bWVudERCL2RhdGFiYXNlQWNjb3VudHMvcmJhYy9zcWxSb2xlRGVmaW5pdGlvbnMvZmJmNzQyMDEtZjMzZi00NmYwLTgyMzQtMmI4YmYxNWVjZWM0P2FwaS12ZXJzaW9uPTIwMjEtMDQtMTU=", + "RequestUri": "/subscriptions/259fbb24-9bcd-4cfc-865c-fc33b22fe38a/resourceGroups/CosmosDBResourceGroup3668/providers/Microsoft.DocumentDB/databaseAccounts/rbac126/sqlRoleDefinitions/fbf74201-f33f-46f0-8234-2b8bf15ecec4?api-version=2021-06-15", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMjU5ZmJiMjQtOWJjZC00Y2ZjLTg2NWMtZmMzM2IyMmZlMzhhL3Jlc291cmNlR3JvdXBzL0Nvc21vc0RCUmVzb3VyY2VHcm91cDM2NjgvcHJvdmlkZXJzL01pY3Jvc29mdC5Eb2N1bWVudERCL2RhdGFiYXNlQWNjb3VudHMvcmJhYzEyNi9zcWxSb2xlRGVmaW5pdGlvbnMvZmJmNzQyMDEtZjMzZi00NmYwLTgyMzQtMmI4YmYxNWVjZWM0P2FwaS12ZXJzaW9uPTIwMjEtMDYtMTU=", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { "User-Agent": [ - "FxVersion/4.6.29916.01", + "FxVersion/4.6.28207.03", "OSName/Windows", - "OSVersion/Microsoft.Windows.10.0.19042.", + "OSVersion/Microsoft.Windows.10.0.19043.", "Microsoft.Azure.Management.CosmosDB.CosmosDBManagementClient/3.0.0.0" ] }, @@ -540,7 +540,7 @@ "max-age=31536000; includeSubDomains" ], "x-ms-gatewayversion": [ - "version=2.11.0" + "version=2.14.0" ], "Server": [ "Microsoft-HTTPAPI/2.0" @@ -549,40 +549,40 @@ "11995" ], "x-ms-request-id": [ - "8e9d266e-2e53-4961-9cbf-4be006392172" + "0cc1262e-168d-495b-ba00-81ee91f17fb1" ], "x-ms-correlation-request-id": [ - "8e9d266e-2e53-4961-9cbf-4be006392172" + "0cc1262e-168d-495b-ba00-81ee91f17fb1" ], "x-ms-routing-request-id": [ - "WESTUS:20210427T185359Z:8e9d266e-2e53-4961-9cbf-4be006392172" + "WESTUS2:20210616T075401Z:0cc1262e-168d-495b-ba00-81ee91f17fb1" ], "X-Content-Type-Options": [ "nosniff" ], "Date": [ - "Tue, 27 Apr 2021 18:53:58 GMT" + "Wed, 16 Jun 2021 07:54:00 GMT" ], "Content-Length": [ - "899" + "905" ], "Content-Type": [ "application/json" ] }, - "ResponseBody": "{\r\n \"id\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/resourceGroups/CosmosDBResourceGroup3668/providers/Microsoft.DocumentDB/databaseAccounts/rbac/sqlRoleDefinitions/fbf74201-f33f-46f0-8234-2b8bf15ecec4\",\r\n \"name\": \"fbf74201-f33f-46f0-8234-2b8bf15ecec4\",\r\n \"properties\": {\r\n \"roleName\": \"roleName2\",\r\n \"type\": 1,\r\n \"assignableScopes\": [\r\n \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/resourceGroups/CosmosDBResourceGroup3668/providers/Microsoft.DocumentDB/databaseAccounts/rbac\"\r\n ],\r\n \"permissions\": [\r\n {\r\n \"dataActions\": [\r\n \"Microsoft.DocumentDB/databaseAccounts/sqlDatabases/containers/items/create\",\r\n \"Microsoft.DocumentDB/databaseAccounts/sqlDatabases/containers/items/read\",\r\n \"Microsoft.DocumentDB/databaseAccounts/sqlDatabases/containers/items/delete\",\r\n \"Microsoft.DocumentDB/databaseAccounts/sqlDatabases/containers/items/replace\"\r\n ],\r\n \"notDataActions\": []\r\n }\r\n ]\r\n },\r\n \"type\": \"Microsoft.DocumentDB/databaseAccounts/sqlRoleDefinitions\"\r\n}", + "ResponseBody": "{\r\n \"id\": \"/subscriptions/259fbb24-9bcd-4cfc-865c-fc33b22fe38a/resourceGroups/CosmosDBResourceGroup3668/providers/Microsoft.DocumentDB/databaseAccounts/rbac126/sqlRoleDefinitions/fbf74201-f33f-46f0-8234-2b8bf15ecec4\",\r\n \"name\": \"fbf74201-f33f-46f0-8234-2b8bf15ecec4\",\r\n \"properties\": {\r\n \"roleName\": \"roleName2\",\r\n \"type\": 1,\r\n \"assignableScopes\": [\r\n \"/subscriptions/259fbb24-9bcd-4cfc-865c-fc33b22fe38a/resourceGroups/CosmosDBResourceGroup3668/providers/Microsoft.DocumentDB/databaseAccounts/rbac126\"\r\n ],\r\n \"permissions\": [\r\n {\r\n \"dataActions\": [\r\n \"Microsoft.DocumentDB/databaseAccounts/sqlDatabases/containers/items/create\",\r\n \"Microsoft.DocumentDB/databaseAccounts/sqlDatabases/containers/items/read\",\r\n \"Microsoft.DocumentDB/databaseAccounts/sqlDatabases/containers/items/delete\",\r\n \"Microsoft.DocumentDB/databaseAccounts/sqlDatabases/containers/items/replace\"\r\n ],\r\n \"notDataActions\": []\r\n }\r\n ]\r\n },\r\n \"type\": \"Microsoft.DocumentDB/databaseAccounts/sqlRoleDefinitions\"\r\n}", "StatusCode": 200 }, { - "RequestUri": "/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/providers/Microsoft.DocumentDB/locations/eastus2/operationsStatus/5e7e1323-f723-48de-9c8c-06979c12a5e0?api-version=2021-04-15", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvODBiZTM5NjEtMDUyMS00YTBhLTg1NzAtNWNkNWE0ZTJmOThjL3Byb3ZpZGVycy9NaWNyb3NvZnQuRG9jdW1lbnREQi9sb2NhdGlvbnMvZWFzdHVzMi9vcGVyYXRpb25zU3RhdHVzLzVlN2UxMzIzLWY3MjMtNDhkZS05YzhjLTA2OTc5YzEyYTVlMD9hcGktdmVyc2lvbj0yMDIxLTA0LTE1", + "RequestUri": "/subscriptions/259fbb24-9bcd-4cfc-865c-fc33b22fe38a/providers/Microsoft.DocumentDB/locations/eastus2/operationsStatus/c3b8b52c-3a98-4e89-a2c8-ddb602f1ab92?api-version=2021-06-15", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMjU5ZmJiMjQtOWJjZC00Y2ZjLTg2NWMtZmMzM2IyMmZlMzhhL3Byb3ZpZGVycy9NaWNyb3NvZnQuRG9jdW1lbnREQi9sb2NhdGlvbnMvZWFzdHVzMi9vcGVyYXRpb25zU3RhdHVzL2MzYjhiNTJjLTNhOTgtNGU4OS1hMmM4LWRkYjYwMmYxYWI5Mj9hcGktdmVyc2lvbj0yMDIxLTA2LTE1", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { "User-Agent": [ - "FxVersion/4.6.29916.01", + "FxVersion/4.6.28207.03", "OSName/Windows", - "OSVersion/Microsoft.Windows.10.0.19042.", + "OSVersion/Microsoft.Windows.10.0.19043.", "Microsoft.Azure.Management.CosmosDB.CosmosDBManagementClient/3.0.0.0" ] }, @@ -597,7 +597,7 @@ "max-age=31536000; includeSubDomains" ], "x-ms-gatewayversion": [ - "version=2.11.0" + "version=2.14.0" ], "Server": [ "Microsoft-HTTPAPI/2.0" @@ -606,19 +606,19 @@ "11994" ], "x-ms-request-id": [ - "4640e021-0b1f-427c-bf01-2021c474f274" + "c3542ce6-3ac4-403a-b841-a51c753ca6d6" ], "x-ms-correlation-request-id": [ - "4640e021-0b1f-427c-bf01-2021c474f274" + "c3542ce6-3ac4-403a-b841-a51c753ca6d6" ], "x-ms-routing-request-id": [ - "WESTUS:20210427T185430Z:4640e021-0b1f-427c-bf01-2021c474f274" + "WESTUS2:20210616T075432Z:c3542ce6-3ac4-403a-b841-a51c753ca6d6" ], "X-Content-Type-Options": [ "nosniff" ], "Date": [ - "Tue, 27 Apr 2021 18:54:29 GMT" + "Wed, 16 Jun 2021 07:54:31 GMT" ], "Content-Length": [ "22" @@ -631,21 +631,21 @@ "StatusCode": 200 }, { - "RequestUri": "/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/resourceGroups/CosmosDBResourceGroup3668/providers/Microsoft.DocumentDB/databaseAccounts/rbac/sqlRoleDefinitions?api-version=2021-04-15", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvODBiZTM5NjEtMDUyMS00YTBhLTg1NzAtNWNkNWE0ZTJmOThjL3Jlc291cmNlR3JvdXBzL0Nvc21vc0RCUmVzb3VyY2VHcm91cDM2NjgvcHJvdmlkZXJzL01pY3Jvc29mdC5Eb2N1bWVudERCL2RhdGFiYXNlQWNjb3VudHMvcmJhYy9zcWxSb2xlRGVmaW5pdGlvbnM/YXBpLXZlcnNpb249MjAyMS0wNC0xNQ==", + "RequestUri": "/subscriptions/259fbb24-9bcd-4cfc-865c-fc33b22fe38a/resourceGroups/CosmosDBResourceGroup3668/providers/Microsoft.DocumentDB/databaseAccounts/rbac126/sqlRoleDefinitions?api-version=2021-06-15", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMjU5ZmJiMjQtOWJjZC00Y2ZjLTg2NWMtZmMzM2IyMmZlMzhhL3Jlc291cmNlR3JvdXBzL0Nvc21vc0RCUmVzb3VyY2VHcm91cDM2NjgvcHJvdmlkZXJzL01pY3Jvc29mdC5Eb2N1bWVudERCL2RhdGFiYXNlQWNjb3VudHMvcmJhYzEyNi9zcWxSb2xlRGVmaW5pdGlvbnM/YXBpLXZlcnNpb249MjAyMS0wNi0xNQ==", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { "x-ms-client-request-id": [ - "bd66e807-2f7c-4b76-abc1-666e76291f79" + "bc0b3d36-b63d-4029-9a9e-2db4077c079d" ], "Accept-Language": [ "en-US" ], "User-Agent": [ - "FxVersion/4.6.29916.01", + "FxVersion/4.6.28207.03", "OSName/Windows", - "OSVersion/Microsoft.Windows.10.0.19042.", + "OSVersion/Microsoft.Windows.10.0.19043.", "Microsoft.Azure.Management.CosmosDB.CosmosDBManagementClient/3.0.0.0" ] }, @@ -660,7 +660,7 @@ "max-age=31536000; includeSubDomains" ], "x-ms-gatewayversion": [ - "version=2.11.0" + "version=2.14.0" ], "Server": [ "Microsoft-HTTPAPI/2.0" @@ -669,53 +669,53 @@ "11992" ], "x-ms-request-id": [ - "45797106-2431-4caf-9e8d-16036f2b018c" + "02c57bec-be20-4d06-a141-7088e88b18f5" ], "x-ms-correlation-request-id": [ - "45797106-2431-4caf-9e8d-16036f2b018c" + "02c57bec-be20-4d06-a141-7088e88b18f5" ], "x-ms-routing-request-id": [ - "WESTUS:20210427T185431Z:45797106-2431-4caf-9e8d-16036f2b018c" + "WESTUS2:20210616T075432Z:02c57bec-be20-4d06-a141-7088e88b18f5" ], "X-Content-Type-Options": [ "nosniff" ], "Date": [ - "Tue, 27 Apr 2021 18:54:30 GMT" + "Wed, 16 Jun 2021 07:54:31 GMT" ], "Content-Length": [ - "1736" + "3468" ], "Content-Type": [ "application/json" ] }, - "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/resourceGroups/CosmosDBResourceGroup3668/providers/Microsoft.DocumentDB/databaseAccounts/rbac/sqlRoleDefinitions/fbf74201-f33f-46f0-8234-2b8bf15ecec4\",\r\n \"name\": \"fbf74201-f33f-46f0-8234-2b8bf15ecec4\",\r\n \"properties\": {\r\n \"roleName\": \"roleName2\",\r\n \"type\": 1,\r\n \"assignableScopes\": [\r\n \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/resourceGroups/CosmosDBResourceGroup3668/providers/Microsoft.DocumentDB/databaseAccounts/rbac\"\r\n ],\r\n \"permissions\": [\r\n {\r\n \"dataActions\": [\r\n \"Microsoft.DocumentDB/databaseAccounts/sqlDatabases/containers/items/create\",\r\n \"Microsoft.DocumentDB/databaseAccounts/sqlDatabases/containers/items/read\",\r\n \"Microsoft.DocumentDB/databaseAccounts/sqlDatabases/containers/items/delete\",\r\n \"Microsoft.DocumentDB/databaseAccounts/sqlDatabases/containers/items/replace\"\r\n ],\r\n \"notDataActions\": []\r\n }\r\n ]\r\n },\r\n \"type\": \"Microsoft.DocumentDB/databaseAccounts/sqlRoleDefinitions\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/resourceGroups/CosmosDBResourceGroup3668/providers/Microsoft.DocumentDB/databaseAccounts/rbac/sqlRoleDefinitions/70580ac3-cd0b-4549-8336-2f0d55df111e\",\r\n \"name\": \"70580ac3-cd0b-4549-8336-2f0d55df111e\",\r\n \"properties\": {\r\n \"roleName\": \"roleName3\",\r\n \"type\": 1,\r\n \"assignableScopes\": [\r\n \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/resourceGroups/CosmosDBResourceGroup3668/providers/Microsoft.DocumentDB/databaseAccounts/rbac\"\r\n ],\r\n \"permissions\": [\r\n {\r\n \"dataActions\": [\r\n \"Microsoft.DocumentDB/databaseAccounts/sqlDatabases/containers/items/create\",\r\n \"Microsoft.DocumentDB/databaseAccounts/sqlDatabases/containers/items/delete\",\r\n \"Microsoft.DocumentDB/databaseAccounts/sqlDatabases/containers/items/replace\"\r\n ],\r\n \"notDataActions\": []\r\n }\r\n ]\r\n },\r\n \"type\": \"Microsoft.DocumentDB/databaseAccounts/sqlRoleDefinitions\"\r\n }\r\n ]\r\n}", + "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/subscriptions/259fbb24-9bcd-4cfc-865c-fc33b22fe38a/resourceGroups/CosmosDBResourceGroup3668/providers/Microsoft.DocumentDB/databaseAccounts/rbac126/sqlRoleDefinitions/fbf74201-f33f-46f0-8234-2b8bf15ecec4\",\r\n \"name\": \"fbf74201-f33f-46f0-8234-2b8bf15ecec4\",\r\n \"properties\": {\r\n \"roleName\": \"roleName2\",\r\n \"type\": 1,\r\n \"assignableScopes\": [\r\n \"/subscriptions/259fbb24-9bcd-4cfc-865c-fc33b22fe38a/resourceGroups/CosmosDBResourceGroup3668/providers/Microsoft.DocumentDB/databaseAccounts/rbac126\"\r\n ],\r\n \"permissions\": [\r\n {\r\n \"dataActions\": [\r\n \"Microsoft.DocumentDB/databaseAccounts/sqlDatabases/containers/items/create\",\r\n \"Microsoft.DocumentDB/databaseAccounts/sqlDatabases/containers/items/read\",\r\n \"Microsoft.DocumentDB/databaseAccounts/sqlDatabases/containers/items/delete\",\r\n \"Microsoft.DocumentDB/databaseAccounts/sqlDatabases/containers/items/replace\"\r\n ],\r\n \"notDataActions\": []\r\n }\r\n ]\r\n },\r\n \"type\": \"Microsoft.DocumentDB/databaseAccounts/sqlRoleDefinitions\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/259fbb24-9bcd-4cfc-865c-fc33b22fe38a/resourceGroups/CosmosDBResourceGroup3668/providers/Microsoft.DocumentDB/databaseAccounts/rbac126/sqlRoleDefinitions/70580ac3-cd0b-4549-8336-2f0d55df111e\",\r\n \"name\": \"70580ac3-cd0b-4549-8336-2f0d55df111e\",\r\n \"properties\": {\r\n \"roleName\": \"roleName3\",\r\n \"type\": 1,\r\n \"assignableScopes\": [\r\n \"/subscriptions/259fbb24-9bcd-4cfc-865c-fc33b22fe38a/resourceGroups/CosmosDBResourceGroup3668/providers/Microsoft.DocumentDB/databaseAccounts/rbac126\"\r\n ],\r\n \"permissions\": [\r\n {\r\n \"dataActions\": [\r\n \"Microsoft.DocumentDB/databaseAccounts/sqlDatabases/containers/items/create\",\r\n \"Microsoft.DocumentDB/databaseAccounts/sqlDatabases/containers/items/delete\",\r\n \"Microsoft.DocumentDB/databaseAccounts/sqlDatabases/containers/items/replace\"\r\n ],\r\n \"notDataActions\": []\r\n }\r\n ]\r\n },\r\n \"type\": \"Microsoft.DocumentDB/databaseAccounts/sqlRoleDefinitions\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/259fbb24-9bcd-4cfc-865c-fc33b22fe38a/resourceGroups/CosmosDBResourceGroup3668/providers/Microsoft.DocumentDB/databaseAccounts/rbac126/sqlRoleDefinitions/00000000-0000-0000-0000-000000000001\",\r\n \"name\": \"00000000-0000-0000-0000-000000000001\",\r\n \"properties\": {\r\n \"roleName\": \"Cosmos DB Built-in Data Reader\",\r\n \"type\": 0,\r\n \"assignableScopes\": [\r\n \"/subscriptions/259fbb24-9bcd-4cfc-865c-fc33b22fe38a/resourceGroups/CosmosDBResourceGroup3668/providers/Microsoft.DocumentDB/databaseAccounts/rbac126\"\r\n ],\r\n \"permissions\": [\r\n {\r\n \"dataActions\": [\r\n \"Microsoft.DocumentDB/databaseAccounts/readMetadata\",\r\n \"Microsoft.DocumentDB/databaseAccounts/sqlDatabases/containers/executeQuery\",\r\n \"Microsoft.DocumentDB/databaseAccounts/sqlDatabases/containers/readChangeFeed\",\r\n \"Microsoft.DocumentDB/databaseAccounts/sqlDatabases/containers/items/read\"\r\n ],\r\n \"notDataActions\": []\r\n }\r\n ]\r\n },\r\n \"type\": \"Microsoft.DocumentDB/databaseAccounts/sqlRoleDefinitions\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/259fbb24-9bcd-4cfc-865c-fc33b22fe38a/resourceGroups/CosmosDBResourceGroup3668/providers/Microsoft.DocumentDB/databaseAccounts/rbac126/sqlRoleDefinitions/00000000-0000-0000-0000-000000000002\",\r\n \"name\": \"00000000-0000-0000-0000-000000000002\",\r\n \"properties\": {\r\n \"roleName\": \"Cosmos DB Built-in Data Contributor\",\r\n \"type\": 0,\r\n \"assignableScopes\": [\r\n \"/subscriptions/259fbb24-9bcd-4cfc-865c-fc33b22fe38a/resourceGroups/CosmosDBResourceGroup3668/providers/Microsoft.DocumentDB/databaseAccounts/rbac126\"\r\n ],\r\n \"permissions\": [\r\n {\r\n \"dataActions\": [\r\n \"Microsoft.DocumentDB/databaseAccounts/readMetadata\",\r\n \"Microsoft.DocumentDB/databaseAccounts/sqlDatabases/containers/*\",\r\n \"Microsoft.DocumentDB/databaseAccounts/sqlDatabases/containers/items/*\"\r\n ],\r\n \"notDataActions\": []\r\n }\r\n ]\r\n },\r\n \"type\": \"Microsoft.DocumentDB/databaseAccounts/sqlRoleDefinitions\"\r\n }\r\n ]\r\n}", "StatusCode": 200 }, { - "RequestUri": "/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/resourceGroups/CosmosDBResourceGroup3668/providers/Microsoft.DocumentDB/databaseAccounts/rbac/sqlRoleAssignments/adcb35e1-e104-41c2-b76d-70a8b03e6463?api-version=2021-04-15", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvODBiZTM5NjEtMDUyMS00YTBhLTg1NzAtNWNkNWE0ZTJmOThjL3Jlc291cmNlR3JvdXBzL0Nvc21vc0RCUmVzb3VyY2VHcm91cDM2NjgvcHJvdmlkZXJzL01pY3Jvc29mdC5Eb2N1bWVudERCL2RhdGFiYXNlQWNjb3VudHMvcmJhYy9zcWxSb2xlQXNzaWdubWVudHMvYWRjYjM1ZTEtZTEwNC00MWMyLWI3NmQtNzBhOGIwM2U2NDYzP2FwaS12ZXJzaW9uPTIwMjEtMDQtMTU=", + "RequestUri": "/subscriptions/259fbb24-9bcd-4cfc-865c-fc33b22fe38a/resourceGroups/CosmosDBResourceGroup3668/providers/Microsoft.DocumentDB/databaseAccounts/rbac126/sqlRoleAssignments/adcb35e1-e104-41c2-b76d-70a8b03e6463?api-version=2021-06-15", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMjU5ZmJiMjQtOWJjZC00Y2ZjLTg2NWMtZmMzM2IyMmZlMzhhL3Jlc291cmNlR3JvdXBzL0Nvc21vc0RCUmVzb3VyY2VHcm91cDM2NjgvcHJvdmlkZXJzL01pY3Jvc29mdC5Eb2N1bWVudERCL2RhdGFiYXNlQWNjb3VudHMvcmJhYzEyNi9zcWxSb2xlQXNzaWdubWVudHMvYWRjYjM1ZTEtZTEwNC00MWMyLWI3NmQtNzBhOGIwM2U2NDYzP2FwaS12ZXJzaW9uPTIwMjEtMDYtMTU=", "RequestMethod": "PUT", - "RequestBody": "{\r\n \"properties\": {\r\n \"roleDefinitionId\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/resourceGroups/CosmosDBResourceGroup3668/providers/Microsoft.DocumentDB/databaseAccounts/rbac/sqlRoleDefinitions/70580ac3-cd0b-4549-8336-2f0d55df111e\",\r\n \"scope\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/resourceGroups/CosmosDBResourceGroup3668/providers/Microsoft.DocumentDB/databaseAccounts/rbac/dbs/databaseName\",\r\n \"principalId\": \"ed4c2395-a18c-4018-afb3-6e521e7534d2\"\r\n }\r\n}", + "RequestBody": "{\r\n \"properties\": {\r\n \"roleDefinitionId\": \"/subscriptions/259fbb24-9bcd-4cfc-865c-fc33b22fe38a/resourceGroups/CosmosDBResourceGroup3668/providers/Microsoft.DocumentDB/databaseAccounts/rbac126/sqlRoleDefinitions/70580ac3-cd0b-4549-8336-2f0d55df111e\",\r\n \"scope\": \"/subscriptions/259fbb24-9bcd-4cfc-865c-fc33b22fe38a/resourceGroups/CosmosDBResourceGroup3668/providers/Microsoft.DocumentDB/databaseAccounts/rbac126/dbs/databaseName\",\r\n \"principalId\": \"ed4c2395-a18c-4018-afb3-6e521e7534d2\"\r\n }\r\n}", "RequestHeaders": { "x-ms-client-request-id": [ - "0d3b1695-c769-4906-9ded-b89e0085a062" + "45f60382-dd2c-4bc2-9813-ea35f1907f9f" ], "Accept-Language": [ "en-US" ], "User-Agent": [ - "FxVersion/4.6.29916.01", + "FxVersion/4.6.28207.03", "OSName/Windows", - "OSVersion/Microsoft.Windows.10.0.19042.", + "OSVersion/Microsoft.Windows.10.0.19043.", "Microsoft.Azure.Management.CosmosDB.CosmosDBManagementClient/3.0.0.0" ], "Content-Type": [ "application/json; charset=utf-8" ], "Content-Length": [ - "497" + "503" ] }, "ResponseHeaders": { @@ -726,19 +726,19 @@ "no-cache" ], "Location": [ - "https://management.azure.com/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/resourceGroups/CosmosDBResourceGroup3668/providers/Microsoft.DocumentDB/databaseAccounts/rbac/sqlRoleAssignments/adcb35e1-e104-41c2-b76d-70a8b03e6463/operationResults/00e98026-f104-4683-9f46-ba4a16d147a3?api-version=2021-04-15" + "https://management.azure.com/subscriptions/259fbb24-9bcd-4cfc-865c-fc33b22fe38a/resourceGroups/CosmosDBResourceGroup3668/providers/Microsoft.DocumentDB/databaseAccounts/rbac126/sqlRoleAssignments/adcb35e1-e104-41c2-b76d-70a8b03e6463/operationResults/93110450-a035-4bd2-a21c-793c916efa28?api-version=2021-06-15" ], "Azure-AsyncOperation": [ - "https://management.azure.com/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/providers/Microsoft.DocumentDB/locations/eastus2/operationsStatus/00e98026-f104-4683-9f46-ba4a16d147a3?api-version=2021-04-15" + "https://management.azure.com/subscriptions/259fbb24-9bcd-4cfc-865c-fc33b22fe38a/providers/Microsoft.DocumentDB/locations/eastus2/operationsStatus/93110450-a035-4bd2-a21c-793c916efa28?api-version=2021-06-15" ], "x-ms-request-id": [ - "00e98026-f104-4683-9f46-ba4a16d147a3" + "93110450-a035-4bd2-a21c-793c916efa28" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "x-ms-gatewayversion": [ - "version=2.11.0" + "version=2.14.0" ], "Server": [ "Microsoft-HTTPAPI/2.0" @@ -747,16 +747,16 @@ "1196" ], "x-ms-correlation-request-id": [ - "064e5cb8-fa3c-4c85-91ec-dd3915e26541" + "8770c3ff-50dc-42f5-9849-32fc7a39878c" ], "x-ms-routing-request-id": [ - "WESTUS:20210427T185432Z:064e5cb8-fa3c-4c85-91ec-dd3915e26541" + "WESTUS2:20210616T075433Z:8770c3ff-50dc-42f5-9849-32fc7a39878c" ], "X-Content-Type-Options": [ "nosniff" ], "Date": [ - "Tue, 27 Apr 2021 18:54:31 GMT" + "Wed, 16 Jun 2021 07:54:32 GMT" ], "Content-Length": [ "21" @@ -769,15 +769,15 @@ "StatusCode": 202 }, { - "RequestUri": "/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/providers/Microsoft.DocumentDB/locations/eastus2/operationsStatus/00e98026-f104-4683-9f46-ba4a16d147a3?api-version=2021-04-15", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvODBiZTM5NjEtMDUyMS00YTBhLTg1NzAtNWNkNWE0ZTJmOThjL3Byb3ZpZGVycy9NaWNyb3NvZnQuRG9jdW1lbnREQi9sb2NhdGlvbnMvZWFzdHVzMi9vcGVyYXRpb25zU3RhdHVzLzAwZTk4MDI2LWYxMDQtNDY4My05ZjQ2LWJhNGExNmQxNDdhMz9hcGktdmVyc2lvbj0yMDIxLTA0LTE1", + "RequestUri": "/subscriptions/259fbb24-9bcd-4cfc-865c-fc33b22fe38a/providers/Microsoft.DocumentDB/locations/eastus2/operationsStatus/93110450-a035-4bd2-a21c-793c916efa28?api-version=2021-06-15", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMjU5ZmJiMjQtOWJjZC00Y2ZjLTg2NWMtZmMzM2IyMmZlMzhhL3Byb3ZpZGVycy9NaWNyb3NvZnQuRG9jdW1lbnREQi9sb2NhdGlvbnMvZWFzdHVzMi9vcGVyYXRpb25zU3RhdHVzLzkzMTEwNDUwLWEwMzUtNGJkMi1hMjFjLTc5M2M5MTZlZmEyOD9hcGktdmVyc2lvbj0yMDIxLTA2LTE1", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { "User-Agent": [ - "FxVersion/4.6.29916.01", + "FxVersion/4.6.28207.03", "OSName/Windows", - "OSVersion/Microsoft.Windows.10.0.19042.", + "OSVersion/Microsoft.Windows.10.0.19043.", "Microsoft.Azure.Management.CosmosDB.CosmosDBManagementClient/3.0.0.0" ] }, @@ -792,7 +792,7 @@ "max-age=31536000; includeSubDomains" ], "x-ms-gatewayversion": [ - "version=2.11.0" + "version=2.14.0" ], "Server": [ "Microsoft-HTTPAPI/2.0" @@ -801,19 +801,19 @@ "11991" ], "x-ms-request-id": [ - "508655f8-35d3-49c0-9109-2d274e222751" + "1fbf6fe3-4632-4495-acaf-031b132bdd72" ], "x-ms-correlation-request-id": [ - "508655f8-35d3-49c0-9109-2d274e222751" + "1fbf6fe3-4632-4495-acaf-031b132bdd72" ], "x-ms-routing-request-id": [ - "WESTUS:20210427T185502Z:508655f8-35d3-49c0-9109-2d274e222751" + "WESTUS2:20210616T075503Z:1fbf6fe3-4632-4495-acaf-031b132bdd72" ], "X-Content-Type-Options": [ "nosniff" ], "Date": [ - "Tue, 27 Apr 2021 18:55:02 GMT" + "Wed, 16 Jun 2021 07:55:03 GMT" ], "Content-Length": [ "22" @@ -826,15 +826,15 @@ "StatusCode": 200 }, { - "RequestUri": "/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/resourceGroups/CosmosDBResourceGroup3668/providers/Microsoft.DocumentDB/databaseAccounts/rbac/sqlRoleAssignments/adcb35e1-e104-41c2-b76d-70a8b03e6463?api-version=2021-04-15", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvODBiZTM5NjEtMDUyMS00YTBhLTg1NzAtNWNkNWE0ZTJmOThjL3Jlc291cmNlR3JvdXBzL0Nvc21vc0RCUmVzb3VyY2VHcm91cDM2NjgvcHJvdmlkZXJzL01pY3Jvc29mdC5Eb2N1bWVudERCL2RhdGFiYXNlQWNjb3VudHMvcmJhYy9zcWxSb2xlQXNzaWdubWVudHMvYWRjYjM1ZTEtZTEwNC00MWMyLWI3NmQtNzBhOGIwM2U2NDYzP2FwaS12ZXJzaW9uPTIwMjEtMDQtMTU=", + "RequestUri": "/subscriptions/259fbb24-9bcd-4cfc-865c-fc33b22fe38a/resourceGroups/CosmosDBResourceGroup3668/providers/Microsoft.DocumentDB/databaseAccounts/rbac126/sqlRoleAssignments/adcb35e1-e104-41c2-b76d-70a8b03e6463?api-version=2021-06-15", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMjU5ZmJiMjQtOWJjZC00Y2ZjLTg2NWMtZmMzM2IyMmZlMzhhL3Jlc291cmNlR3JvdXBzL0Nvc21vc0RCUmVzb3VyY2VHcm91cDM2NjgvcHJvdmlkZXJzL01pY3Jvc29mdC5Eb2N1bWVudERCL2RhdGFiYXNlQWNjb3VudHMvcmJhYzEyNi9zcWxSb2xlQXNzaWdubWVudHMvYWRjYjM1ZTEtZTEwNC00MWMyLWI3NmQtNzBhOGIwM2U2NDYzP2FwaS12ZXJzaW9uPTIwMjEtMDYtMTU=", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { "User-Agent": [ - "FxVersion/4.6.29916.01", + "FxVersion/4.6.28207.03", "OSName/Windows", - "OSVersion/Microsoft.Windows.10.0.19042.", + "OSVersion/Microsoft.Windows.10.0.19043.", "Microsoft.Azure.Management.CosmosDB.CosmosDBManagementClient/3.0.0.0" ] }, @@ -849,7 +849,7 @@ "max-age=31536000; includeSubDomains" ], "x-ms-gatewayversion": [ - "version=2.11.0" + "version=2.14.0" ], "Server": [ "Microsoft-HTTPAPI/2.0" @@ -858,46 +858,46 @@ "11990" ], "x-ms-request-id": [ - "57669654-268d-4c1f-92e2-8fc2bbbfa6cf" + "e9ccb33a-8c94-4ee3-8ced-2cff381875a7" ], "x-ms-correlation-request-id": [ - "57669654-268d-4c1f-92e2-8fc2bbbfa6cf" + "e9ccb33a-8c94-4ee3-8ced-2cff381875a7" ], "x-ms-routing-request-id": [ - "WESTUS:20210427T185503Z:57669654-268d-4c1f-92e2-8fc2bbbfa6cf" + "WESTUS2:20210616T075504Z:e9ccb33a-8c94-4ee3-8ced-2cff381875a7" ], "X-Content-Type-Options": [ "nosniff" ], "Date": [ - "Tue, 27 Apr 2021 18:55:03 GMT" + "Wed, 16 Jun 2021 07:55:03 GMT" ], "Content-Length": [ - "786" + "795" ], "Content-Type": [ "application/json" ] }, - "ResponseBody": "{\r\n \"id\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/resourceGroups/CosmosDBResourceGroup3668/providers/Microsoft.DocumentDB/databaseAccounts/rbac/sqlRoleAssignments/adcb35e1-e104-41c2-b76d-70a8b03e6463\",\r\n \"name\": \"adcb35e1-e104-41c2-b76d-70a8b03e6463\",\r\n \"properties\": {\r\n \"roleDefinitionId\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/resourceGroups/CosmosDBResourceGroup3668/providers/Microsoft.DocumentDB/databaseAccounts/rbac/sqlRoleDefinitions/70580ac3-cd0b-4549-8336-2f0d55df111e\",\r\n \"principalId\": \"ed4c2395-a18c-4018-afb3-6e521e7534d2\",\r\n \"scope\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/resourceGroups/CosmosDBResourceGroup3668/providers/Microsoft.DocumentDB/databaseAccounts/rbac/dbs/databaseName\"\r\n },\r\n \"type\": \"Microsoft.DocumentDB/databaseAccounts/sqlRoleAssignments\"\r\n}", + "ResponseBody": "{\r\n \"id\": \"/subscriptions/259fbb24-9bcd-4cfc-865c-fc33b22fe38a/resourceGroups/CosmosDBResourceGroup3668/providers/Microsoft.DocumentDB/databaseAccounts/rbac126/sqlRoleAssignments/adcb35e1-e104-41c2-b76d-70a8b03e6463\",\r\n \"name\": \"adcb35e1-e104-41c2-b76d-70a8b03e6463\",\r\n \"properties\": {\r\n \"roleDefinitionId\": \"/subscriptions/259fbb24-9bcd-4cfc-865c-fc33b22fe38a/resourceGroups/CosmosDBResourceGroup3668/providers/Microsoft.DocumentDB/databaseAccounts/rbac126/sqlRoleDefinitions/70580ac3-cd0b-4549-8336-2f0d55df111e\",\r\n \"principalId\": \"ed4c2395-a18c-4018-afb3-6e521e7534d2\",\r\n \"scope\": \"/subscriptions/259fbb24-9bcd-4cfc-865c-fc33b22fe38a/resourceGroups/CosmosDBResourceGroup3668/providers/Microsoft.DocumentDB/databaseAccounts/rbac126/dbs/databaseName\"\r\n },\r\n \"type\": \"Microsoft.DocumentDB/databaseAccounts/sqlRoleAssignments\"\r\n}", "StatusCode": 200 }, { - "RequestUri": "/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/resourceGroups/CosmosDBResourceGroup3668/providers/Microsoft.DocumentDB/databaseAccounts/rbac/sqlRoleAssignments/adcb35e1-e104-41c2-b76d-70a8b03e6463?api-version=2021-04-15", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvODBiZTM5NjEtMDUyMS00YTBhLTg1NzAtNWNkNWE0ZTJmOThjL3Jlc291cmNlR3JvdXBzL0Nvc21vc0RCUmVzb3VyY2VHcm91cDM2NjgvcHJvdmlkZXJzL01pY3Jvc29mdC5Eb2N1bWVudERCL2RhdGFiYXNlQWNjb3VudHMvcmJhYy9zcWxSb2xlQXNzaWdubWVudHMvYWRjYjM1ZTEtZTEwNC00MWMyLWI3NmQtNzBhOGIwM2U2NDYzP2FwaS12ZXJzaW9uPTIwMjEtMDQtMTU=", + "RequestUri": "/subscriptions/259fbb24-9bcd-4cfc-865c-fc33b22fe38a/resourceGroups/CosmosDBResourceGroup3668/providers/Microsoft.DocumentDB/databaseAccounts/rbac126/sqlRoleAssignments/adcb35e1-e104-41c2-b76d-70a8b03e6463?api-version=2021-06-15", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMjU5ZmJiMjQtOWJjZC00Y2ZjLTg2NWMtZmMzM2IyMmZlMzhhL3Jlc291cmNlR3JvdXBzL0Nvc21vc0RCUmVzb3VyY2VHcm91cDM2NjgvcHJvdmlkZXJzL01pY3Jvc29mdC5Eb2N1bWVudERCL2RhdGFiYXNlQWNjb3VudHMvcmJhYzEyNi9zcWxSb2xlQXNzaWdubWVudHMvYWRjYjM1ZTEtZTEwNC00MWMyLWI3NmQtNzBhOGIwM2U2NDYzP2FwaS12ZXJzaW9uPTIwMjEtMDYtMTU=", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { "x-ms-client-request-id": [ - "f878c160-a065-4875-b6ff-b98f35457a4c" + "bf5f4271-8d8a-458e-b148-5c2d8416706a" ], "Accept-Language": [ "en-US" ], "User-Agent": [ - "FxVersion/4.6.29916.01", + "FxVersion/4.6.28207.03", "OSName/Windows", - "OSVersion/Microsoft.Windows.10.0.19042.", + "OSVersion/Microsoft.Windows.10.0.19043.", "Microsoft.Azure.Management.CosmosDB.CosmosDBManagementClient/3.0.0.0" ] }, @@ -912,7 +912,7 @@ "max-age=31536000; includeSubDomains" ], "x-ms-gatewayversion": [ - "version=2.11.0" + "version=2.14.0" ], "Server": [ "Microsoft-HTTPAPI/2.0" @@ -921,53 +921,53 @@ "11989" ], "x-ms-request-id": [ - "ae21eb3c-7d5b-491c-bb81-6949ee453673" + "a80015c7-cd83-4ed6-b36c-db563357e596" ], "x-ms-correlation-request-id": [ - "ae21eb3c-7d5b-491c-bb81-6949ee453673" + "a80015c7-cd83-4ed6-b36c-db563357e596" ], "x-ms-routing-request-id": [ - "WESTUS:20210427T185503Z:ae21eb3c-7d5b-491c-bb81-6949ee453673" + "WESTUS2:20210616T075504Z:a80015c7-cd83-4ed6-b36c-db563357e596" ], "X-Content-Type-Options": [ "nosniff" ], "Date": [ - "Tue, 27 Apr 2021 18:55:03 GMT" + "Wed, 16 Jun 2021 07:55:03 GMT" ], "Content-Length": [ - "786" + "795" ], "Content-Type": [ "application/json" ] }, - "ResponseBody": "{\r\n \"id\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/resourceGroups/CosmosDBResourceGroup3668/providers/Microsoft.DocumentDB/databaseAccounts/rbac/sqlRoleAssignments/adcb35e1-e104-41c2-b76d-70a8b03e6463\",\r\n \"name\": \"adcb35e1-e104-41c2-b76d-70a8b03e6463\",\r\n \"properties\": {\r\n \"roleDefinitionId\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/resourceGroups/CosmosDBResourceGroup3668/providers/Microsoft.DocumentDB/databaseAccounts/rbac/sqlRoleDefinitions/70580ac3-cd0b-4549-8336-2f0d55df111e\",\r\n \"principalId\": \"ed4c2395-a18c-4018-afb3-6e521e7534d2\",\r\n \"scope\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/resourceGroups/CosmosDBResourceGroup3668/providers/Microsoft.DocumentDB/databaseAccounts/rbac/dbs/databaseName\"\r\n },\r\n \"type\": \"Microsoft.DocumentDB/databaseAccounts/sqlRoleAssignments\"\r\n}", + "ResponseBody": "{\r\n \"id\": \"/subscriptions/259fbb24-9bcd-4cfc-865c-fc33b22fe38a/resourceGroups/CosmosDBResourceGroup3668/providers/Microsoft.DocumentDB/databaseAccounts/rbac126/sqlRoleAssignments/adcb35e1-e104-41c2-b76d-70a8b03e6463\",\r\n \"name\": \"adcb35e1-e104-41c2-b76d-70a8b03e6463\",\r\n \"properties\": {\r\n \"roleDefinitionId\": \"/subscriptions/259fbb24-9bcd-4cfc-865c-fc33b22fe38a/resourceGroups/CosmosDBResourceGroup3668/providers/Microsoft.DocumentDB/databaseAccounts/rbac126/sqlRoleDefinitions/70580ac3-cd0b-4549-8336-2f0d55df111e\",\r\n \"principalId\": \"ed4c2395-a18c-4018-afb3-6e521e7534d2\",\r\n \"scope\": \"/subscriptions/259fbb24-9bcd-4cfc-865c-fc33b22fe38a/resourceGroups/CosmosDBResourceGroup3668/providers/Microsoft.DocumentDB/databaseAccounts/rbac126/dbs/databaseName\"\r\n },\r\n \"type\": \"Microsoft.DocumentDB/databaseAccounts/sqlRoleAssignments\"\r\n}", "StatusCode": 200 }, { - "RequestUri": "/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/resourceGroups/CosmosDBResourceGroup3668/providers/Microsoft.DocumentDB/databaseAccounts/rbac/sqlRoleAssignments/d5fcc566-a91c-4fce-8f54-138855981e63?api-version=2021-04-15", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvODBiZTM5NjEtMDUyMS00YTBhLTg1NzAtNWNkNWE0ZTJmOThjL3Jlc291cmNlR3JvdXBzL0Nvc21vc0RCUmVzb3VyY2VHcm91cDM2NjgvcHJvdmlkZXJzL01pY3Jvc29mdC5Eb2N1bWVudERCL2RhdGFiYXNlQWNjb3VudHMvcmJhYy9zcWxSb2xlQXNzaWdubWVudHMvZDVmY2M1NjYtYTkxYy00ZmNlLThmNTQtMTM4ODU1OTgxZTYzP2FwaS12ZXJzaW9uPTIwMjEtMDQtMTU=", + "RequestUri": "/subscriptions/259fbb24-9bcd-4cfc-865c-fc33b22fe38a/resourceGroups/CosmosDBResourceGroup3668/providers/Microsoft.DocumentDB/databaseAccounts/rbac126/sqlRoleAssignments/d5fcc566-a91c-4fce-8f54-138855981e63?api-version=2021-06-15", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMjU5ZmJiMjQtOWJjZC00Y2ZjLTg2NWMtZmMzM2IyMmZlMzhhL3Jlc291cmNlR3JvdXBzL0Nvc21vc0RCUmVzb3VyY2VHcm91cDM2NjgvcHJvdmlkZXJzL01pY3Jvc29mdC5Eb2N1bWVudERCL2RhdGFiYXNlQWNjb3VudHMvcmJhYzEyNi9zcWxSb2xlQXNzaWdubWVudHMvZDVmY2M1NjYtYTkxYy00ZmNlLThmNTQtMTM4ODU1OTgxZTYzP2FwaS12ZXJzaW9uPTIwMjEtMDYtMTU=", "RequestMethod": "PUT", - "RequestBody": "{\r\n \"properties\": {\r\n \"roleDefinitionId\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/resourceGroups/CosmosDBResourceGroup3668/providers/Microsoft.DocumentDB/databaseAccounts/rbac/sqlRoleDefinitions/fbf74201-f33f-46f0-8234-2b8bf15ecec4\",\r\n \"scope\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/resourceGroups/CosmosDBResourceGroup3668/providers/Microsoft.DocumentDB/databaseAccounts/rbac\",\r\n \"principalId\": \"d60019b0-c5a8-4e38-beb9-fb80daa3ce90\"\r\n }\r\n}", + "RequestBody": "{\r\n \"properties\": {\r\n \"roleDefinitionId\": \"/subscriptions/259fbb24-9bcd-4cfc-865c-fc33b22fe38a/resourceGroups/CosmosDBResourceGroup3668/providers/Microsoft.DocumentDB/databaseAccounts/rbac126/sqlRoleDefinitions/fbf74201-f33f-46f0-8234-2b8bf15ecec4\",\r\n \"scope\": \"/subscriptions/259fbb24-9bcd-4cfc-865c-fc33b22fe38a/resourceGroups/CosmosDBResourceGroup3668/providers/Microsoft.DocumentDB/databaseAccounts/rbac126\",\r\n \"principalId\": \"d60019b0-c5a8-4e38-beb9-fb80daa3ce90\"\r\n }\r\n}", "RequestHeaders": { "x-ms-client-request-id": [ - "06f6f229-ecbc-4b64-9225-b2ce23ec830a" + "f5e59091-e778-4dd0-9f96-dd0126de9fd3" ], "Accept-Language": [ "en-US" ], "User-Agent": [ - "FxVersion/4.6.29916.01", + "FxVersion/4.6.28207.03", "OSName/Windows", - "OSVersion/Microsoft.Windows.10.0.19042.", + "OSVersion/Microsoft.Windows.10.0.19043.", "Microsoft.Azure.Management.CosmosDB.CosmosDBManagementClient/3.0.0.0" ], "Content-Type": [ "application/json; charset=utf-8" ], "Content-Length": [ - "480" + "486" ] }, "ResponseHeaders": { @@ -978,19 +978,19 @@ "no-cache" ], "Location": [ - "https://management.azure.com/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/resourceGroups/CosmosDBResourceGroup3668/providers/Microsoft.DocumentDB/databaseAccounts/rbac/sqlRoleAssignments/d5fcc566-a91c-4fce-8f54-138855981e63/operationResults/2450ef99-5571-4a84-8242-8348fba6eaef?api-version=2021-04-15" + "https://management.azure.com/subscriptions/259fbb24-9bcd-4cfc-865c-fc33b22fe38a/resourceGroups/CosmosDBResourceGroup3668/providers/Microsoft.DocumentDB/databaseAccounts/rbac126/sqlRoleAssignments/d5fcc566-a91c-4fce-8f54-138855981e63/operationResults/2345063e-9fd8-4c0b-a854-5b531253fff3?api-version=2021-06-15" ], "Azure-AsyncOperation": [ - "https://management.azure.com/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/providers/Microsoft.DocumentDB/locations/eastus2/operationsStatus/2450ef99-5571-4a84-8242-8348fba6eaef?api-version=2021-04-15" + "https://management.azure.com/subscriptions/259fbb24-9bcd-4cfc-865c-fc33b22fe38a/providers/Microsoft.DocumentDB/locations/eastus2/operationsStatus/2345063e-9fd8-4c0b-a854-5b531253fff3?api-version=2021-06-15" ], "x-ms-request-id": [ - "2450ef99-5571-4a84-8242-8348fba6eaef" + "2345063e-9fd8-4c0b-a854-5b531253fff3" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "x-ms-gatewayversion": [ - "version=2.11.0" + "version=2.14.0" ], "Server": [ "Microsoft-HTTPAPI/2.0" @@ -999,16 +999,16 @@ "1195" ], "x-ms-correlation-request-id": [ - "4fe309b4-51c7-42e3-b9c9-6b1bb5f34ed4" + "3e8144b0-f626-4f2d-b35a-8ee7cabad264" ], "x-ms-routing-request-id": [ - "WESTUS:20210427T185504Z:4fe309b4-51c7-42e3-b9c9-6b1bb5f34ed4" + "WESTUS2:20210616T075505Z:3e8144b0-f626-4f2d-b35a-8ee7cabad264" ], "X-Content-Type-Options": [ "nosniff" ], "Date": [ - "Tue, 27 Apr 2021 18:55:04 GMT" + "Wed, 16 Jun 2021 07:55:04 GMT" ], "Content-Length": [ "21" @@ -1021,15 +1021,15 @@ "StatusCode": 202 }, { - "RequestUri": "/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/providers/Microsoft.DocumentDB/locations/eastus2/operationsStatus/2450ef99-5571-4a84-8242-8348fba6eaef?api-version=2021-04-15", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvODBiZTM5NjEtMDUyMS00YTBhLTg1NzAtNWNkNWE0ZTJmOThjL3Byb3ZpZGVycy9NaWNyb3NvZnQuRG9jdW1lbnREQi9sb2NhdGlvbnMvZWFzdHVzMi9vcGVyYXRpb25zU3RhdHVzLzI0NTBlZjk5LTU1NzEtNGE4NC04MjQyLTgzNDhmYmE2ZWFlZj9hcGktdmVyc2lvbj0yMDIxLTA0LTE1", + "RequestUri": "/subscriptions/259fbb24-9bcd-4cfc-865c-fc33b22fe38a/providers/Microsoft.DocumentDB/locations/eastus2/operationsStatus/2345063e-9fd8-4c0b-a854-5b531253fff3?api-version=2021-06-15", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMjU5ZmJiMjQtOWJjZC00Y2ZjLTg2NWMtZmMzM2IyMmZlMzhhL3Byb3ZpZGVycy9NaWNyb3NvZnQuRG9jdW1lbnREQi9sb2NhdGlvbnMvZWFzdHVzMi9vcGVyYXRpb25zU3RhdHVzLzIzNDUwNjNlLTlmZDgtNGMwYi1hODU0LTViNTMxMjUzZmZmMz9hcGktdmVyc2lvbj0yMDIxLTA2LTE1", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { "User-Agent": [ - "FxVersion/4.6.29916.01", + "FxVersion/4.6.28207.03", "OSName/Windows", - "OSVersion/Microsoft.Windows.10.0.19042.", + "OSVersion/Microsoft.Windows.10.0.19043.", "Microsoft.Azure.Management.CosmosDB.CosmosDBManagementClient/3.0.0.0" ] }, @@ -1044,7 +1044,7 @@ "max-age=31536000; includeSubDomains" ], "x-ms-gatewayversion": [ - "version=2.11.0" + "version=2.14.0" ], "Server": [ "Microsoft-HTTPAPI/2.0" @@ -1053,19 +1053,19 @@ "11988" ], "x-ms-request-id": [ - "8cf34785-4a13-4f70-8a4e-33d539ebc390" + "19589040-9d9e-4b0f-b449-818689f44cb9" ], "x-ms-correlation-request-id": [ - "8cf34785-4a13-4f70-8a4e-33d539ebc390" + "19589040-9d9e-4b0f-b449-818689f44cb9" ], "x-ms-routing-request-id": [ - "WESTUS:20210427T185535Z:8cf34785-4a13-4f70-8a4e-33d539ebc390" + "WESTUS2:20210616T075535Z:19589040-9d9e-4b0f-b449-818689f44cb9" ], "X-Content-Type-Options": [ "nosniff" ], "Date": [ - "Tue, 27 Apr 2021 18:55:34 GMT" + "Wed, 16 Jun 2021 07:55:34 GMT" ], "Content-Length": [ "22" @@ -1078,15 +1078,15 @@ "StatusCode": 200 }, { - "RequestUri": "/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/resourceGroups/CosmosDBResourceGroup3668/providers/Microsoft.DocumentDB/databaseAccounts/rbac/sqlRoleAssignments/d5fcc566-a91c-4fce-8f54-138855981e63?api-version=2021-04-15", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvODBiZTM5NjEtMDUyMS00YTBhLTg1NzAtNWNkNWE0ZTJmOThjL3Jlc291cmNlR3JvdXBzL0Nvc21vc0RCUmVzb3VyY2VHcm91cDM2NjgvcHJvdmlkZXJzL01pY3Jvc29mdC5Eb2N1bWVudERCL2RhdGFiYXNlQWNjb3VudHMvcmJhYy9zcWxSb2xlQXNzaWdubWVudHMvZDVmY2M1NjYtYTkxYy00ZmNlLThmNTQtMTM4ODU1OTgxZTYzP2FwaS12ZXJzaW9uPTIwMjEtMDQtMTU=", + "RequestUri": "/subscriptions/259fbb24-9bcd-4cfc-865c-fc33b22fe38a/resourceGroups/CosmosDBResourceGroup3668/providers/Microsoft.DocumentDB/databaseAccounts/rbac126/sqlRoleAssignments/d5fcc566-a91c-4fce-8f54-138855981e63?api-version=2021-06-15", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMjU5ZmJiMjQtOWJjZC00Y2ZjLTg2NWMtZmMzM2IyMmZlMzhhL3Jlc291cmNlR3JvdXBzL0Nvc21vc0RCUmVzb3VyY2VHcm91cDM2NjgvcHJvdmlkZXJzL01pY3Jvc29mdC5Eb2N1bWVudERCL2RhdGFiYXNlQWNjb3VudHMvcmJhYzEyNi9zcWxSb2xlQXNzaWdubWVudHMvZDVmY2M1NjYtYTkxYy00ZmNlLThmNTQtMTM4ODU1OTgxZTYzP2FwaS12ZXJzaW9uPTIwMjEtMDYtMTU=", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { "User-Agent": [ - "FxVersion/4.6.29916.01", + "FxVersion/4.6.28207.03", "OSName/Windows", - "OSVersion/Microsoft.Windows.10.0.19042.", + "OSVersion/Microsoft.Windows.10.0.19043.", "Microsoft.Azure.Management.CosmosDB.CosmosDBManagementClient/3.0.0.0" ] }, @@ -1101,7 +1101,7 @@ "max-age=31536000; includeSubDomains" ], "x-ms-gatewayversion": [ - "version=2.11.0" + "version=2.14.0" ], "Server": [ "Microsoft-HTTPAPI/2.0" @@ -1110,46 +1110,46 @@ "11987" ], "x-ms-request-id": [ - "4251657d-2ca0-472b-97e5-184db8fed440" + "0ed4497f-6780-4349-82f5-bfc2e2e5ce0f" ], "x-ms-correlation-request-id": [ - "4251657d-2ca0-472b-97e5-184db8fed440" + "0ed4497f-6780-4349-82f5-bfc2e2e5ce0f" ], "x-ms-routing-request-id": [ - "WESTUS:20210427T185535Z:4251657d-2ca0-472b-97e5-184db8fed440" + "WESTUS2:20210616T075535Z:0ed4497f-6780-4349-82f5-bfc2e2e5ce0f" ], "X-Content-Type-Options": [ "nosniff" ], "Date": [ - "Tue, 27 Apr 2021 18:55:35 GMT" + "Wed, 16 Jun 2021 07:55:34 GMT" ], "Content-Length": [ - "769" + "778" ], "Content-Type": [ "application/json" ] }, - "ResponseBody": "{\r\n \"id\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/resourceGroups/CosmosDBResourceGroup3668/providers/Microsoft.DocumentDB/databaseAccounts/rbac/sqlRoleAssignments/d5fcc566-a91c-4fce-8f54-138855981e63\",\r\n \"name\": \"d5fcc566-a91c-4fce-8f54-138855981e63\",\r\n \"properties\": {\r\n \"roleDefinitionId\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/resourceGroups/CosmosDBResourceGroup3668/providers/Microsoft.DocumentDB/databaseAccounts/rbac/sqlRoleDefinitions/fbf74201-f33f-46f0-8234-2b8bf15ecec4\",\r\n \"principalId\": \"d60019b0-c5a8-4e38-beb9-fb80daa3ce90\",\r\n \"scope\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/resourceGroups/CosmosDBResourceGroup3668/providers/Microsoft.DocumentDB/databaseAccounts/rbac\"\r\n },\r\n \"type\": \"Microsoft.DocumentDB/databaseAccounts/sqlRoleAssignments\"\r\n}", + "ResponseBody": "{\r\n \"id\": \"/subscriptions/259fbb24-9bcd-4cfc-865c-fc33b22fe38a/resourceGroups/CosmosDBResourceGroup3668/providers/Microsoft.DocumentDB/databaseAccounts/rbac126/sqlRoleAssignments/d5fcc566-a91c-4fce-8f54-138855981e63\",\r\n \"name\": \"d5fcc566-a91c-4fce-8f54-138855981e63\",\r\n \"properties\": {\r\n \"roleDefinitionId\": \"/subscriptions/259fbb24-9bcd-4cfc-865c-fc33b22fe38a/resourceGroups/CosmosDBResourceGroup3668/providers/Microsoft.DocumentDB/databaseAccounts/rbac126/sqlRoleDefinitions/fbf74201-f33f-46f0-8234-2b8bf15ecec4\",\r\n \"principalId\": \"d60019b0-c5a8-4e38-beb9-fb80daa3ce90\",\r\n \"scope\": \"/subscriptions/259fbb24-9bcd-4cfc-865c-fc33b22fe38a/resourceGroups/CosmosDBResourceGroup3668/providers/Microsoft.DocumentDB/databaseAccounts/rbac126\"\r\n },\r\n \"type\": \"Microsoft.DocumentDB/databaseAccounts/sqlRoleAssignments\"\r\n}", "StatusCode": 200 }, { - "RequestUri": "/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/resourceGroups/CosmosDBResourceGroup3668/providers/Microsoft.DocumentDB/databaseAccounts/rbac/sqlRoleAssignments?api-version=2021-04-15", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvODBiZTM5NjEtMDUyMS00YTBhLTg1NzAtNWNkNWE0ZTJmOThjL3Jlc291cmNlR3JvdXBzL0Nvc21vc0RCUmVzb3VyY2VHcm91cDM2NjgvcHJvdmlkZXJzL01pY3Jvc29mdC5Eb2N1bWVudERCL2RhdGFiYXNlQWNjb3VudHMvcmJhYy9zcWxSb2xlQXNzaWdubWVudHM/YXBpLXZlcnNpb249MjAyMS0wNC0xNQ==", + "RequestUri": "/subscriptions/259fbb24-9bcd-4cfc-865c-fc33b22fe38a/resourceGroups/CosmosDBResourceGroup3668/providers/Microsoft.DocumentDB/databaseAccounts/rbac126/sqlRoleAssignments?api-version=2021-06-15", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMjU5ZmJiMjQtOWJjZC00Y2ZjLTg2NWMtZmMzM2IyMmZlMzhhL3Jlc291cmNlR3JvdXBzL0Nvc21vc0RCUmVzb3VyY2VHcm91cDM2NjgvcHJvdmlkZXJzL01pY3Jvc29mdC5Eb2N1bWVudERCL2RhdGFiYXNlQWNjb3VudHMvcmJhYzEyNi9zcWxSb2xlQXNzaWdubWVudHM/YXBpLXZlcnNpb249MjAyMS0wNi0xNQ==", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { "x-ms-client-request-id": [ - "5f9eb75c-67f1-46f5-a208-90e9f754641e" + "1162990a-2860-43c3-8465-be0c7ed493ea" ], "Accept-Language": [ "en-US" ], "User-Agent": [ - "FxVersion/4.6.29916.01", + "FxVersion/4.6.28207.03", "OSName/Windows", - "OSVersion/Microsoft.Windows.10.0.19042.", + "OSVersion/Microsoft.Windows.10.0.19043.", "Microsoft.Azure.Management.CosmosDB.CosmosDBManagementClient/3.0.0.0" ] }, @@ -1164,7 +1164,7 @@ "max-age=31536000; includeSubDomains" ], "x-ms-gatewayversion": [ - "version=2.11.0" + "version=2.14.0" ], "Server": [ "Microsoft-HTTPAPI/2.0" @@ -1173,46 +1173,46 @@ "11986" ], "x-ms-request-id": [ - "84de2ba8-1dde-4923-bef6-d98ff1ff8807" + "1b529124-2d85-4d9c-9ef4-de85508700c1" ], "x-ms-correlation-request-id": [ - "84de2ba8-1dde-4923-bef6-d98ff1ff8807" + "1b529124-2d85-4d9c-9ef4-de85508700c1" ], "x-ms-routing-request-id": [ - "WESTUS:20210427T185535Z:84de2ba8-1dde-4923-bef6-d98ff1ff8807" + "WESTUS2:20210616T075535Z:1b529124-2d85-4d9c-9ef4-de85508700c1" ], "X-Content-Type-Options": [ "nosniff" ], "Date": [ - "Tue, 27 Apr 2021 18:55:35 GMT" + "Wed, 16 Jun 2021 07:55:35 GMT" ], "Content-Length": [ - "1568" + "1586" ], "Content-Type": [ "application/json" ] }, - "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/resourceGroups/CosmosDBResourceGroup3668/providers/Microsoft.DocumentDB/databaseAccounts/rbac/sqlRoleAssignments/adcb35e1-e104-41c2-b76d-70a8b03e6463\",\r\n \"name\": \"adcb35e1-e104-41c2-b76d-70a8b03e6463\",\r\n \"properties\": {\r\n \"roleDefinitionId\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/resourceGroups/CosmosDBResourceGroup3668/providers/Microsoft.DocumentDB/databaseAccounts/rbac/sqlRoleDefinitions/70580ac3-cd0b-4549-8336-2f0d55df111e\",\r\n \"principalId\": \"ed4c2395-a18c-4018-afb3-6e521e7534d2\",\r\n \"scope\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/resourceGroups/CosmosDBResourceGroup3668/providers/Microsoft.DocumentDB/databaseAccounts/rbac/dbs/databaseName\"\r\n },\r\n \"type\": \"Microsoft.DocumentDB/databaseAccounts/sqlRoleAssignments\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/resourceGroups/CosmosDBResourceGroup3668/providers/Microsoft.DocumentDB/databaseAccounts/rbac/sqlRoleAssignments/d5fcc566-a91c-4fce-8f54-138855981e63\",\r\n \"name\": \"d5fcc566-a91c-4fce-8f54-138855981e63\",\r\n \"properties\": {\r\n \"roleDefinitionId\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/resourceGroups/CosmosDBResourceGroup3668/providers/Microsoft.DocumentDB/databaseAccounts/rbac/sqlRoleDefinitions/fbf74201-f33f-46f0-8234-2b8bf15ecec4\",\r\n \"principalId\": \"d60019b0-c5a8-4e38-beb9-fb80daa3ce90\",\r\n \"scope\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/resourceGroups/CosmosDBResourceGroup3668/providers/Microsoft.DocumentDB/databaseAccounts/rbac\"\r\n },\r\n \"type\": \"Microsoft.DocumentDB/databaseAccounts/sqlRoleAssignments\"\r\n }\r\n ]\r\n}", + "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/subscriptions/259fbb24-9bcd-4cfc-865c-fc33b22fe38a/resourceGroups/CosmosDBResourceGroup3668/providers/Microsoft.DocumentDB/databaseAccounts/rbac126/sqlRoleAssignments/adcb35e1-e104-41c2-b76d-70a8b03e6463\",\r\n \"name\": \"adcb35e1-e104-41c2-b76d-70a8b03e6463\",\r\n \"properties\": {\r\n \"roleDefinitionId\": \"/subscriptions/259fbb24-9bcd-4cfc-865c-fc33b22fe38a/resourceGroups/CosmosDBResourceGroup3668/providers/Microsoft.DocumentDB/databaseAccounts/rbac126/sqlRoleDefinitions/70580ac3-cd0b-4549-8336-2f0d55df111e\",\r\n \"principalId\": \"ed4c2395-a18c-4018-afb3-6e521e7534d2\",\r\n \"scope\": \"/subscriptions/259fbb24-9bcd-4cfc-865c-fc33b22fe38a/resourceGroups/CosmosDBResourceGroup3668/providers/Microsoft.DocumentDB/databaseAccounts/rbac126/dbs/databaseName\"\r\n },\r\n \"type\": \"Microsoft.DocumentDB/databaseAccounts/sqlRoleAssignments\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/259fbb24-9bcd-4cfc-865c-fc33b22fe38a/resourceGroups/CosmosDBResourceGroup3668/providers/Microsoft.DocumentDB/databaseAccounts/rbac126/sqlRoleAssignments/d5fcc566-a91c-4fce-8f54-138855981e63\",\r\n \"name\": \"d5fcc566-a91c-4fce-8f54-138855981e63\",\r\n \"properties\": {\r\n \"roleDefinitionId\": \"/subscriptions/259fbb24-9bcd-4cfc-865c-fc33b22fe38a/resourceGroups/CosmosDBResourceGroup3668/providers/Microsoft.DocumentDB/databaseAccounts/rbac126/sqlRoleDefinitions/fbf74201-f33f-46f0-8234-2b8bf15ecec4\",\r\n \"principalId\": \"d60019b0-c5a8-4e38-beb9-fb80daa3ce90\",\r\n \"scope\": \"/subscriptions/259fbb24-9bcd-4cfc-865c-fc33b22fe38a/resourceGroups/CosmosDBResourceGroup3668/providers/Microsoft.DocumentDB/databaseAccounts/rbac126\"\r\n },\r\n \"type\": \"Microsoft.DocumentDB/databaseAccounts/sqlRoleAssignments\"\r\n }\r\n ]\r\n}", "StatusCode": 200 }, { - "RequestUri": "/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/resourceGroups/CosmosDBResourceGroup3668/providers/Microsoft.DocumentDB/databaseAccounts/rbac/sqlRoleAssignments/adcb35e1-e104-41c2-b76d-70a8b03e6463?api-version=2021-04-15", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvODBiZTM5NjEtMDUyMS00YTBhLTg1NzAtNWNkNWE0ZTJmOThjL3Jlc291cmNlR3JvdXBzL0Nvc21vc0RCUmVzb3VyY2VHcm91cDM2NjgvcHJvdmlkZXJzL01pY3Jvc29mdC5Eb2N1bWVudERCL2RhdGFiYXNlQWNjb3VudHMvcmJhYy9zcWxSb2xlQXNzaWdubWVudHMvYWRjYjM1ZTEtZTEwNC00MWMyLWI3NmQtNzBhOGIwM2U2NDYzP2FwaS12ZXJzaW9uPTIwMjEtMDQtMTU=", + "RequestUri": "/subscriptions/259fbb24-9bcd-4cfc-865c-fc33b22fe38a/resourceGroups/CosmosDBResourceGroup3668/providers/Microsoft.DocumentDB/databaseAccounts/rbac126/sqlRoleAssignments/adcb35e1-e104-41c2-b76d-70a8b03e6463?api-version=2021-06-15", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMjU5ZmJiMjQtOWJjZC00Y2ZjLTg2NWMtZmMzM2IyMmZlMzhhL3Jlc291cmNlR3JvdXBzL0Nvc21vc0RCUmVzb3VyY2VHcm91cDM2NjgvcHJvdmlkZXJzL01pY3Jvc29mdC5Eb2N1bWVudERCL2RhdGFiYXNlQWNjb3VudHMvcmJhYzEyNi9zcWxSb2xlQXNzaWdubWVudHMvYWRjYjM1ZTEtZTEwNC00MWMyLWI3NmQtNzBhOGIwM2U2NDYzP2FwaS12ZXJzaW9uPTIwMjEtMDYtMTU=", "RequestMethod": "DELETE", "RequestBody": "", "RequestHeaders": { "x-ms-client-request-id": [ - "a4703928-b686-4fd9-be5a-f984a572d798" + "0cc28fea-1599-4c1c-bc15-27aa3161b4c8" ], "Accept-Language": [ "en-US" ], "User-Agent": [ - "FxVersion/4.6.29916.01", + "FxVersion/4.6.28207.03", "OSName/Windows", - "OSVersion/Microsoft.Windows.10.0.19042.", + "OSVersion/Microsoft.Windows.10.0.19043.", "Microsoft.Azure.Management.CosmosDB.CosmosDBManagementClient/3.0.0.0" ] }, @@ -1224,19 +1224,19 @@ "no-cache" ], "Location": [ - "https://management.azure.com/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/resourceGroups/CosmosDBResourceGroup3668/providers/Microsoft.DocumentDB/databaseAccounts/rbac/sqlRoleAssignments/adcb35e1-e104-41c2-b76d-70a8b03e6463/operationResults/612c1299-71a2-4c9d-b61a-73533ae4cc33?api-version=2021-04-15" + "https://management.azure.com/subscriptions/259fbb24-9bcd-4cfc-865c-fc33b22fe38a/resourceGroups/CosmosDBResourceGroup3668/providers/Microsoft.DocumentDB/databaseAccounts/rbac126/sqlRoleAssignments/adcb35e1-e104-41c2-b76d-70a8b03e6463/operationResults/33e889e0-e174-4092-b9aa-a7b173a28db6?api-version=2021-06-15" ], "Azure-AsyncOperation": [ - "https://management.azure.com/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/providers/Microsoft.DocumentDB/locations/eastus2/operationsStatus/612c1299-71a2-4c9d-b61a-73533ae4cc33?api-version=2021-04-15" + "https://management.azure.com/subscriptions/259fbb24-9bcd-4cfc-865c-fc33b22fe38a/providers/Microsoft.DocumentDB/locations/eastus2/operationsStatus/33e889e0-e174-4092-b9aa-a7b173a28db6?api-version=2021-06-15" ], "x-ms-request-id": [ - "612c1299-71a2-4c9d-b61a-73533ae4cc33" + "33e889e0-e174-4092-b9aa-a7b173a28db6" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "x-ms-gatewayversion": [ - "version=2.11.0" + "version=2.14.0" ], "Server": [ "Microsoft-HTTPAPI/2.0" @@ -1245,16 +1245,16 @@ "14999" ], "x-ms-correlation-request-id": [ - "f2c19109-f12c-4c8d-ac53-651c5d5d129b" + "43aa6b58-bdca-49ee-8f2c-9bfd587839c8" ], "x-ms-routing-request-id": [ - "WESTUS:20210427T185536Z:f2c19109-f12c-4c8d-ac53-651c5d5d129b" + "WESTUS2:20210616T075536Z:43aa6b58-bdca-49ee-8f2c-9bfd587839c8" ], "X-Content-Type-Options": [ "nosniff" ], "Date": [ - "Tue, 27 Apr 2021 18:55:36 GMT" + "Wed, 16 Jun 2021 07:55:35 GMT" ], "Content-Length": [ "21" @@ -1267,15 +1267,15 @@ "StatusCode": 202 }, { - "RequestUri": "/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/providers/Microsoft.DocumentDB/locations/eastus2/operationsStatus/612c1299-71a2-4c9d-b61a-73533ae4cc33?api-version=2021-04-15", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvODBiZTM5NjEtMDUyMS00YTBhLTg1NzAtNWNkNWE0ZTJmOThjL3Byb3ZpZGVycy9NaWNyb3NvZnQuRG9jdW1lbnREQi9sb2NhdGlvbnMvZWFzdHVzMi9vcGVyYXRpb25zU3RhdHVzLzYxMmMxMjk5LTcxYTItNGM5ZC1iNjFhLTczNTMzYWU0Y2MzMz9hcGktdmVyc2lvbj0yMDIxLTA0LTE1", + "RequestUri": "/subscriptions/259fbb24-9bcd-4cfc-865c-fc33b22fe38a/providers/Microsoft.DocumentDB/locations/eastus2/operationsStatus/33e889e0-e174-4092-b9aa-a7b173a28db6?api-version=2021-06-15", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMjU5ZmJiMjQtOWJjZC00Y2ZjLTg2NWMtZmMzM2IyMmZlMzhhL3Byb3ZpZGVycy9NaWNyb3NvZnQuRG9jdW1lbnREQi9sb2NhdGlvbnMvZWFzdHVzMi9vcGVyYXRpb25zU3RhdHVzLzMzZTg4OWUwLWUxNzQtNDA5Mi1iOWFhLWE3YjE3M2EyOGRiNj9hcGktdmVyc2lvbj0yMDIxLTA2LTE1", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { "User-Agent": [ - "FxVersion/4.6.29916.01", + "FxVersion/4.6.28207.03", "OSName/Windows", - "OSVersion/Microsoft.Windows.10.0.19042.", + "OSVersion/Microsoft.Windows.10.0.19043.", "Microsoft.Azure.Management.CosmosDB.CosmosDBManagementClient/3.0.0.0" ] }, @@ -1290,7 +1290,7 @@ "max-age=31536000; includeSubDomains" ], "x-ms-gatewayversion": [ - "version=2.11.0" + "version=2.14.0" ], "Server": [ "Microsoft-HTTPAPI/2.0" @@ -1299,19 +1299,19 @@ "11985" ], "x-ms-request-id": [ - "d9ac20f4-f8d4-4b65-a789-d082e1a2dcc8" + "832ec39f-988e-4a5f-9e95-017fbc5b723b" ], "x-ms-correlation-request-id": [ - "d9ac20f4-f8d4-4b65-a789-d082e1a2dcc8" + "832ec39f-988e-4a5f-9e95-017fbc5b723b" ], "x-ms-routing-request-id": [ - "WESTUS:20210427T185607Z:d9ac20f4-f8d4-4b65-a789-d082e1a2dcc8" + "WESTUS2:20210616T075606Z:832ec39f-988e-4a5f-9e95-017fbc5b723b" ], "X-Content-Type-Options": [ "nosniff" ], "Date": [ - "Tue, 27 Apr 2021 18:56:06 GMT" + "Wed, 16 Jun 2021 07:56:06 GMT" ], "Content-Length": [ "22" @@ -1324,15 +1324,15 @@ "StatusCode": 200 }, { - "RequestUri": "/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/resourceGroups/CosmosDBResourceGroup3668/providers/Microsoft.DocumentDB/databaseAccounts/rbac/sqlRoleAssignments/adcb35e1-e104-41c2-b76d-70a8b03e6463/operationResults/612c1299-71a2-4c9d-b61a-73533ae4cc33?api-version=2021-04-15", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvODBiZTM5NjEtMDUyMS00YTBhLTg1NzAtNWNkNWE0ZTJmOThjL3Jlc291cmNlR3JvdXBzL0Nvc21vc0RCUmVzb3VyY2VHcm91cDM2NjgvcHJvdmlkZXJzL01pY3Jvc29mdC5Eb2N1bWVudERCL2RhdGFiYXNlQWNjb3VudHMvcmJhYy9zcWxSb2xlQXNzaWdubWVudHMvYWRjYjM1ZTEtZTEwNC00MWMyLWI3NmQtNzBhOGIwM2U2NDYzL29wZXJhdGlvblJlc3VsdHMvNjEyYzEyOTktNzFhMi00YzlkLWI2MWEtNzM1MzNhZTRjYzMzP2FwaS12ZXJzaW9uPTIwMjEtMDQtMTU=", + "RequestUri": "/subscriptions/259fbb24-9bcd-4cfc-865c-fc33b22fe38a/resourceGroups/CosmosDBResourceGroup3668/providers/Microsoft.DocumentDB/databaseAccounts/rbac126/sqlRoleAssignments/adcb35e1-e104-41c2-b76d-70a8b03e6463/operationResults/33e889e0-e174-4092-b9aa-a7b173a28db6?api-version=2021-06-15", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMjU5ZmJiMjQtOWJjZC00Y2ZjLTg2NWMtZmMzM2IyMmZlMzhhL3Jlc291cmNlR3JvdXBzL0Nvc21vc0RCUmVzb3VyY2VHcm91cDM2NjgvcHJvdmlkZXJzL01pY3Jvc29mdC5Eb2N1bWVudERCL2RhdGFiYXNlQWNjb3VudHMvcmJhYzEyNi9zcWxSb2xlQXNzaWdubWVudHMvYWRjYjM1ZTEtZTEwNC00MWMyLWI3NmQtNzBhOGIwM2U2NDYzL29wZXJhdGlvblJlc3VsdHMvMzNlODg5ZTAtZTE3NC00MDkyLWI5YWEtYTdiMTczYTI4ZGI2P2FwaS12ZXJzaW9uPTIwMjEtMDYtMTU=", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { "User-Agent": [ - "FxVersion/4.6.29916.01", + "FxVersion/4.6.28207.03", "OSName/Windows", - "OSVersion/Microsoft.Windows.10.0.19042.", + "OSVersion/Microsoft.Windows.10.0.19043.", "Microsoft.Azure.Management.CosmosDB.CosmosDBManagementClient/3.0.0.0" ] }, @@ -1347,7 +1347,7 @@ "max-age=31536000; includeSubDomains" ], "x-ms-gatewayversion": [ - "version=2.11.0" + "version=2.14.0" ], "Server": [ "Microsoft-HTTPAPI/2.0" @@ -1356,19 +1356,19 @@ "11984" ], "x-ms-request-id": [ - "e92788a6-78ff-4b43-a956-db9d8adb755e" + "c2b4c28e-a5cf-4bcc-8ecc-18ae15858b89" ], "x-ms-correlation-request-id": [ - "e92788a6-78ff-4b43-a956-db9d8adb755e" + "c2b4c28e-a5cf-4bcc-8ecc-18ae15858b89" ], "x-ms-routing-request-id": [ - "WESTUS:20210427T185607Z:e92788a6-78ff-4b43-a956-db9d8adb755e" + "WESTUS2:20210616T075607Z:c2b4c28e-a5cf-4bcc-8ecc-18ae15858b89" ], "X-Content-Type-Options": [ "nosniff" ], "Date": [ - "Tue, 27 Apr 2021 18:56:06 GMT" + "Wed, 16 Jun 2021 07:56:06 GMT" ], "Content-Length": [ "22" @@ -1381,21 +1381,21 @@ "StatusCode": 200 }, { - "RequestUri": "/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/resourceGroups/CosmosDBResourceGroup3668/providers/Microsoft.DocumentDB/databaseAccounts/rbac/sqlRoleAssignments/d5fcc566-a91c-4fce-8f54-138855981e63?api-version=2021-04-15", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvODBiZTM5NjEtMDUyMS00YTBhLTg1NzAtNWNkNWE0ZTJmOThjL3Jlc291cmNlR3JvdXBzL0Nvc21vc0RCUmVzb3VyY2VHcm91cDM2NjgvcHJvdmlkZXJzL01pY3Jvc29mdC5Eb2N1bWVudERCL2RhdGFiYXNlQWNjb3VudHMvcmJhYy9zcWxSb2xlQXNzaWdubWVudHMvZDVmY2M1NjYtYTkxYy00ZmNlLThmNTQtMTM4ODU1OTgxZTYzP2FwaS12ZXJzaW9uPTIwMjEtMDQtMTU=", + "RequestUri": "/subscriptions/259fbb24-9bcd-4cfc-865c-fc33b22fe38a/resourceGroups/CosmosDBResourceGroup3668/providers/Microsoft.DocumentDB/databaseAccounts/rbac126/sqlRoleAssignments/d5fcc566-a91c-4fce-8f54-138855981e63?api-version=2021-06-15", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMjU5ZmJiMjQtOWJjZC00Y2ZjLTg2NWMtZmMzM2IyMmZlMzhhL3Jlc291cmNlR3JvdXBzL0Nvc21vc0RCUmVzb3VyY2VHcm91cDM2NjgvcHJvdmlkZXJzL01pY3Jvc29mdC5Eb2N1bWVudERCL2RhdGFiYXNlQWNjb3VudHMvcmJhYzEyNi9zcWxSb2xlQXNzaWdubWVudHMvZDVmY2M1NjYtYTkxYy00ZmNlLThmNTQtMTM4ODU1OTgxZTYzP2FwaS12ZXJzaW9uPTIwMjEtMDYtMTU=", "RequestMethod": "DELETE", "RequestBody": "", "RequestHeaders": { "x-ms-client-request-id": [ - "0443f261-37af-48ca-9dea-548bc2bdc0c2" + "c190bc23-7379-46a4-8f97-352cd456e212" ], "Accept-Language": [ "en-US" ], "User-Agent": [ - "FxVersion/4.6.29916.01", + "FxVersion/4.6.28207.03", "OSName/Windows", - "OSVersion/Microsoft.Windows.10.0.19042.", + "OSVersion/Microsoft.Windows.10.0.19043.", "Microsoft.Azure.Management.CosmosDB.CosmosDBManagementClient/3.0.0.0" ] }, @@ -1407,19 +1407,19 @@ "no-cache" ], "Location": [ - "https://management.azure.com/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/resourceGroups/CosmosDBResourceGroup3668/providers/Microsoft.DocumentDB/databaseAccounts/rbac/sqlRoleAssignments/d5fcc566-a91c-4fce-8f54-138855981e63/operationResults/13733377-9f5a-4b34-9aa8-6c1b2ca982e7?api-version=2021-04-15" + "https://management.azure.com/subscriptions/259fbb24-9bcd-4cfc-865c-fc33b22fe38a/resourceGroups/CosmosDBResourceGroup3668/providers/Microsoft.DocumentDB/databaseAccounts/rbac126/sqlRoleAssignments/d5fcc566-a91c-4fce-8f54-138855981e63/operationResults/75ce63db-084c-496e-877b-d7a50b110978?api-version=2021-06-15" ], "Azure-AsyncOperation": [ - "https://management.azure.com/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/providers/Microsoft.DocumentDB/locations/eastus2/operationsStatus/13733377-9f5a-4b34-9aa8-6c1b2ca982e7?api-version=2021-04-15" + "https://management.azure.com/subscriptions/259fbb24-9bcd-4cfc-865c-fc33b22fe38a/providers/Microsoft.DocumentDB/locations/eastus2/operationsStatus/75ce63db-084c-496e-877b-d7a50b110978?api-version=2021-06-15" ], "x-ms-request-id": [ - "13733377-9f5a-4b34-9aa8-6c1b2ca982e7" + "75ce63db-084c-496e-877b-d7a50b110978" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "x-ms-gatewayversion": [ - "version=2.11.0" + "version=2.14.0" ], "Server": [ "Microsoft-HTTPAPI/2.0" @@ -1428,16 +1428,16 @@ "14998" ], "x-ms-correlation-request-id": [ - "c8155233-90fb-40dd-8f5a-335588511fee" + "1724a767-f726-4e45-99de-02be92c9892c" ], "x-ms-routing-request-id": [ - "WESTUS:20210427T185608Z:c8155233-90fb-40dd-8f5a-335588511fee" + "WESTUS2:20210616T075607Z:1724a767-f726-4e45-99de-02be92c9892c" ], "X-Content-Type-Options": [ "nosniff" ], "Date": [ - "Tue, 27 Apr 2021 18:56:07 GMT" + "Wed, 16 Jun 2021 07:56:07 GMT" ], "Content-Length": [ "21" @@ -1450,15 +1450,15 @@ "StatusCode": 202 }, { - "RequestUri": "/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/providers/Microsoft.DocumentDB/locations/eastus2/operationsStatus/13733377-9f5a-4b34-9aa8-6c1b2ca982e7?api-version=2021-04-15", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvODBiZTM5NjEtMDUyMS00YTBhLTg1NzAtNWNkNWE0ZTJmOThjL3Byb3ZpZGVycy9NaWNyb3NvZnQuRG9jdW1lbnREQi9sb2NhdGlvbnMvZWFzdHVzMi9vcGVyYXRpb25zU3RhdHVzLzEzNzMzMzc3LTlmNWEtNGIzNC05YWE4LTZjMWIyY2E5ODJlNz9hcGktdmVyc2lvbj0yMDIxLTA0LTE1", + "RequestUri": "/subscriptions/259fbb24-9bcd-4cfc-865c-fc33b22fe38a/providers/Microsoft.DocumentDB/locations/eastus2/operationsStatus/75ce63db-084c-496e-877b-d7a50b110978?api-version=2021-06-15", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMjU5ZmJiMjQtOWJjZC00Y2ZjLTg2NWMtZmMzM2IyMmZlMzhhL3Byb3ZpZGVycy9NaWNyb3NvZnQuRG9jdW1lbnREQi9sb2NhdGlvbnMvZWFzdHVzMi9vcGVyYXRpb25zU3RhdHVzLzc1Y2U2M2RiLTA4NGMtNDk2ZS04NzdiLWQ3YTUwYjExMDk3OD9hcGktdmVyc2lvbj0yMDIxLTA2LTE1", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { "User-Agent": [ - "FxVersion/4.6.29916.01", + "FxVersion/4.6.28207.03", "OSName/Windows", - "OSVersion/Microsoft.Windows.10.0.19042.", + "OSVersion/Microsoft.Windows.10.0.19043.", "Microsoft.Azure.Management.CosmosDB.CosmosDBManagementClient/3.0.0.0" ] }, @@ -1473,7 +1473,7 @@ "max-age=31536000; includeSubDomains" ], "x-ms-gatewayversion": [ - "version=2.11.0" + "version=2.14.0" ], "Server": [ "Microsoft-HTTPAPI/2.0" @@ -1482,19 +1482,19 @@ "11983" ], "x-ms-request-id": [ - "4cebf5d1-e7f2-417a-92ce-a14103a2a065" + "0b12b413-b07b-4d3b-a3ab-f398dddfb664" ], "x-ms-correlation-request-id": [ - "4cebf5d1-e7f2-417a-92ce-a14103a2a065" + "0b12b413-b07b-4d3b-a3ab-f398dddfb664" ], "x-ms-routing-request-id": [ - "WESTUS:20210427T185638Z:4cebf5d1-e7f2-417a-92ce-a14103a2a065" + "WESTUS2:20210616T075637Z:0b12b413-b07b-4d3b-a3ab-f398dddfb664" ], "X-Content-Type-Options": [ "nosniff" ], "Date": [ - "Tue, 27 Apr 2021 18:56:37 GMT" + "Wed, 16 Jun 2021 07:56:37 GMT" ], "Content-Length": [ "22" @@ -1507,15 +1507,15 @@ "StatusCode": 200 }, { - "RequestUri": "/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/resourceGroups/CosmosDBResourceGroup3668/providers/Microsoft.DocumentDB/databaseAccounts/rbac/sqlRoleAssignments/d5fcc566-a91c-4fce-8f54-138855981e63/operationResults/13733377-9f5a-4b34-9aa8-6c1b2ca982e7?api-version=2021-04-15", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvODBiZTM5NjEtMDUyMS00YTBhLTg1NzAtNWNkNWE0ZTJmOThjL3Jlc291cmNlR3JvdXBzL0Nvc21vc0RCUmVzb3VyY2VHcm91cDM2NjgvcHJvdmlkZXJzL01pY3Jvc29mdC5Eb2N1bWVudERCL2RhdGFiYXNlQWNjb3VudHMvcmJhYy9zcWxSb2xlQXNzaWdubWVudHMvZDVmY2M1NjYtYTkxYy00ZmNlLThmNTQtMTM4ODU1OTgxZTYzL29wZXJhdGlvblJlc3VsdHMvMTM3MzMzNzctOWY1YS00YjM0LTlhYTgtNmMxYjJjYTk4MmU3P2FwaS12ZXJzaW9uPTIwMjEtMDQtMTU=", + "RequestUri": "/subscriptions/259fbb24-9bcd-4cfc-865c-fc33b22fe38a/resourceGroups/CosmosDBResourceGroup3668/providers/Microsoft.DocumentDB/databaseAccounts/rbac126/sqlRoleAssignments/d5fcc566-a91c-4fce-8f54-138855981e63/operationResults/75ce63db-084c-496e-877b-d7a50b110978?api-version=2021-06-15", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMjU5ZmJiMjQtOWJjZC00Y2ZjLTg2NWMtZmMzM2IyMmZlMzhhL3Jlc291cmNlR3JvdXBzL0Nvc21vc0RCUmVzb3VyY2VHcm91cDM2NjgvcHJvdmlkZXJzL01pY3Jvc29mdC5Eb2N1bWVudERCL2RhdGFiYXNlQWNjb3VudHMvcmJhYzEyNi9zcWxSb2xlQXNzaWdubWVudHMvZDVmY2M1NjYtYTkxYy00ZmNlLThmNTQtMTM4ODU1OTgxZTYzL29wZXJhdGlvblJlc3VsdHMvNzVjZTYzZGItMDg0Yy00OTZlLTg3N2ItZDdhNTBiMTEwOTc4P2FwaS12ZXJzaW9uPTIwMjEtMDYtMTU=", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { "User-Agent": [ - "FxVersion/4.6.29916.01", + "FxVersion/4.6.28207.03", "OSName/Windows", - "OSVersion/Microsoft.Windows.10.0.19042.", + "OSVersion/Microsoft.Windows.10.0.19043.", "Microsoft.Azure.Management.CosmosDB.CosmosDBManagementClient/3.0.0.0" ] }, @@ -1530,7 +1530,7 @@ "max-age=31536000; includeSubDomains" ], "x-ms-gatewayversion": [ - "version=2.11.0" + "version=2.14.0" ], "Server": [ "Microsoft-HTTPAPI/2.0" @@ -1539,19 +1539,19 @@ "11982" ], "x-ms-request-id": [ - "5a402b41-4549-40c6-bc4d-da13f43b9a93" + "1146f5b7-d2e2-458a-8094-3883d6b6b161" ], "x-ms-correlation-request-id": [ - "5a402b41-4549-40c6-bc4d-da13f43b9a93" + "1146f5b7-d2e2-458a-8094-3883d6b6b161" ], "x-ms-routing-request-id": [ - "WESTUS:20210427T185638Z:5a402b41-4549-40c6-bc4d-da13f43b9a93" + "WESTUS2:20210616T075638Z:1146f5b7-d2e2-458a-8094-3883d6b6b161" ], "X-Content-Type-Options": [ "nosniff" ], "Date": [ - "Tue, 27 Apr 2021 18:56:37 GMT" + "Wed, 16 Jun 2021 07:56:37 GMT" ], "Content-Length": [ "22" @@ -1564,21 +1564,21 @@ "StatusCode": 200 }, { - "RequestUri": "/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/resourceGroups/CosmosDBResourceGroup3668/providers/Microsoft.DocumentDB/databaseAccounts/rbac/sqlRoleDefinitions/fbf74201-f33f-46f0-8234-2b8bf15ecec4?api-version=2021-04-15", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvODBiZTM5NjEtMDUyMS00YTBhLTg1NzAtNWNkNWE0ZTJmOThjL3Jlc291cmNlR3JvdXBzL0Nvc21vc0RCUmVzb3VyY2VHcm91cDM2NjgvcHJvdmlkZXJzL01pY3Jvc29mdC5Eb2N1bWVudERCL2RhdGFiYXNlQWNjb3VudHMvcmJhYy9zcWxSb2xlRGVmaW5pdGlvbnMvZmJmNzQyMDEtZjMzZi00NmYwLTgyMzQtMmI4YmYxNWVjZWM0P2FwaS12ZXJzaW9uPTIwMjEtMDQtMTU=", + "RequestUri": "/subscriptions/259fbb24-9bcd-4cfc-865c-fc33b22fe38a/resourceGroups/CosmosDBResourceGroup3668/providers/Microsoft.DocumentDB/databaseAccounts/rbac126/sqlRoleDefinitions/fbf74201-f33f-46f0-8234-2b8bf15ecec4?api-version=2021-06-15", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMjU5ZmJiMjQtOWJjZC00Y2ZjLTg2NWMtZmMzM2IyMmZlMzhhL3Jlc291cmNlR3JvdXBzL0Nvc21vc0RCUmVzb3VyY2VHcm91cDM2NjgvcHJvdmlkZXJzL01pY3Jvc29mdC5Eb2N1bWVudERCL2RhdGFiYXNlQWNjb3VudHMvcmJhYzEyNi9zcWxSb2xlRGVmaW5pdGlvbnMvZmJmNzQyMDEtZjMzZi00NmYwLTgyMzQtMmI4YmYxNWVjZWM0P2FwaS12ZXJzaW9uPTIwMjEtMDYtMTU=", "RequestMethod": "DELETE", "RequestBody": "", "RequestHeaders": { "x-ms-client-request-id": [ - "491140e9-c298-49ad-89e2-190341c1d739" + "eb4dfe20-7e1e-4725-8032-c7f039944033" ], "Accept-Language": [ "en-US" ], "User-Agent": [ - "FxVersion/4.6.29916.01", + "FxVersion/4.6.28207.03", "OSName/Windows", - "OSVersion/Microsoft.Windows.10.0.19042.", + "OSVersion/Microsoft.Windows.10.0.19043.", "Microsoft.Azure.Management.CosmosDB.CosmosDBManagementClient/3.0.0.0" ] }, @@ -1590,19 +1590,19 @@ "no-cache" ], "Location": [ - "https://management.azure.com/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/resourceGroups/CosmosDBResourceGroup3668/providers/Microsoft.DocumentDB/databaseAccounts/rbac/sqlRoleDefinitions/fbf74201-f33f-46f0-8234-2b8bf15ecec4/operationResults/8bb92ed1-5f38-4553-81e4-e3b3bee46e2d?api-version=2021-04-15" + "https://management.azure.com/subscriptions/259fbb24-9bcd-4cfc-865c-fc33b22fe38a/resourceGroups/CosmosDBResourceGroup3668/providers/Microsoft.DocumentDB/databaseAccounts/rbac126/sqlRoleDefinitions/fbf74201-f33f-46f0-8234-2b8bf15ecec4/operationResults/04063ca1-35e2-4aad-8681-3ed8df6c8499?api-version=2021-06-15" ], "Azure-AsyncOperation": [ - "https://management.azure.com/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/providers/Microsoft.DocumentDB/locations/eastus2/operationsStatus/8bb92ed1-5f38-4553-81e4-e3b3bee46e2d?api-version=2021-04-15" + "https://management.azure.com/subscriptions/259fbb24-9bcd-4cfc-865c-fc33b22fe38a/providers/Microsoft.DocumentDB/locations/eastus2/operationsStatus/04063ca1-35e2-4aad-8681-3ed8df6c8499?api-version=2021-06-15" ], "x-ms-request-id": [ - "8bb92ed1-5f38-4553-81e4-e3b3bee46e2d" + "04063ca1-35e2-4aad-8681-3ed8df6c8499" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "x-ms-gatewayversion": [ - "version=2.11.0" + "version=2.14.0" ], "Server": [ "Microsoft-HTTPAPI/2.0" @@ -1611,16 +1611,16 @@ "14997" ], "x-ms-correlation-request-id": [ - "e5a1eec6-570e-44d8-a996-be483aa38f59" + "fe30cf1b-02e1-4315-9948-12a1dfde0b71" ], "x-ms-routing-request-id": [ - "WESTUS:20210427T185639Z:e5a1eec6-570e-44d8-a996-be483aa38f59" + "WESTUS2:20210616T075638Z:fe30cf1b-02e1-4315-9948-12a1dfde0b71" ], "X-Content-Type-Options": [ "nosniff" ], "Date": [ - "Tue, 27 Apr 2021 18:56:38 GMT" + "Wed, 16 Jun 2021 07:56:38 GMT" ], "Content-Length": [ "21" @@ -1633,15 +1633,15 @@ "StatusCode": 202 }, { - "RequestUri": "/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/providers/Microsoft.DocumentDB/locations/eastus2/operationsStatus/8bb92ed1-5f38-4553-81e4-e3b3bee46e2d?api-version=2021-04-15", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvODBiZTM5NjEtMDUyMS00YTBhLTg1NzAtNWNkNWE0ZTJmOThjL3Byb3ZpZGVycy9NaWNyb3NvZnQuRG9jdW1lbnREQi9sb2NhdGlvbnMvZWFzdHVzMi9vcGVyYXRpb25zU3RhdHVzLzhiYjkyZWQxLTVmMzgtNDU1My04MWU0LWUzYjNiZWU0NmUyZD9hcGktdmVyc2lvbj0yMDIxLTA0LTE1", + "RequestUri": "/subscriptions/259fbb24-9bcd-4cfc-865c-fc33b22fe38a/providers/Microsoft.DocumentDB/locations/eastus2/operationsStatus/04063ca1-35e2-4aad-8681-3ed8df6c8499?api-version=2021-06-15", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMjU5ZmJiMjQtOWJjZC00Y2ZjLTg2NWMtZmMzM2IyMmZlMzhhL3Byb3ZpZGVycy9NaWNyb3NvZnQuRG9jdW1lbnREQi9sb2NhdGlvbnMvZWFzdHVzMi9vcGVyYXRpb25zU3RhdHVzLzA0MDYzY2ExLTM1ZTItNGFhZC04NjgxLTNlZDhkZjZjODQ5OT9hcGktdmVyc2lvbj0yMDIxLTA2LTE1", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { "User-Agent": [ - "FxVersion/4.6.29916.01", + "FxVersion/4.6.28207.03", "OSName/Windows", - "OSVersion/Microsoft.Windows.10.0.19042.", + "OSVersion/Microsoft.Windows.10.0.19043.", "Microsoft.Azure.Management.CosmosDB.CosmosDBManagementClient/3.0.0.0" ] }, @@ -1656,7 +1656,7 @@ "max-age=31536000; includeSubDomains" ], "x-ms-gatewayversion": [ - "version=2.11.0" + "version=2.14.0" ], "Server": [ "Microsoft-HTTPAPI/2.0" @@ -1665,19 +1665,19 @@ "11981" ], "x-ms-request-id": [ - "b6aa36ff-5bfe-45ea-8932-66d8bbef9894" + "afb8f8ac-1901-4ec3-847f-b8127abe3002" ], "x-ms-correlation-request-id": [ - "b6aa36ff-5bfe-45ea-8932-66d8bbef9894" + "afb8f8ac-1901-4ec3-847f-b8127abe3002" ], "x-ms-routing-request-id": [ - "WESTUS:20210427T185709Z:b6aa36ff-5bfe-45ea-8932-66d8bbef9894" + "WESTUS2:20210616T075708Z:afb8f8ac-1901-4ec3-847f-b8127abe3002" ], "X-Content-Type-Options": [ "nosniff" ], "Date": [ - "Tue, 27 Apr 2021 18:57:09 GMT" + "Wed, 16 Jun 2021 07:57:07 GMT" ], "Content-Length": [ "22" @@ -1690,15 +1690,15 @@ "StatusCode": 200 }, { - "RequestUri": "/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/resourceGroups/CosmosDBResourceGroup3668/providers/Microsoft.DocumentDB/databaseAccounts/rbac/sqlRoleDefinitions/fbf74201-f33f-46f0-8234-2b8bf15ecec4/operationResults/8bb92ed1-5f38-4553-81e4-e3b3bee46e2d?api-version=2021-04-15", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvODBiZTM5NjEtMDUyMS00YTBhLTg1NzAtNWNkNWE0ZTJmOThjL3Jlc291cmNlR3JvdXBzL0Nvc21vc0RCUmVzb3VyY2VHcm91cDM2NjgvcHJvdmlkZXJzL01pY3Jvc29mdC5Eb2N1bWVudERCL2RhdGFiYXNlQWNjb3VudHMvcmJhYy9zcWxSb2xlRGVmaW5pdGlvbnMvZmJmNzQyMDEtZjMzZi00NmYwLTgyMzQtMmI4YmYxNWVjZWM0L29wZXJhdGlvblJlc3VsdHMvOGJiOTJlZDEtNWYzOC00NTUzLTgxZTQtZTNiM2JlZTQ2ZTJkP2FwaS12ZXJzaW9uPTIwMjEtMDQtMTU=", + "RequestUri": "/subscriptions/259fbb24-9bcd-4cfc-865c-fc33b22fe38a/resourceGroups/CosmosDBResourceGroup3668/providers/Microsoft.DocumentDB/databaseAccounts/rbac126/sqlRoleDefinitions/fbf74201-f33f-46f0-8234-2b8bf15ecec4/operationResults/04063ca1-35e2-4aad-8681-3ed8df6c8499?api-version=2021-06-15", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMjU5ZmJiMjQtOWJjZC00Y2ZjLTg2NWMtZmMzM2IyMmZlMzhhL3Jlc291cmNlR3JvdXBzL0Nvc21vc0RCUmVzb3VyY2VHcm91cDM2NjgvcHJvdmlkZXJzL01pY3Jvc29mdC5Eb2N1bWVudERCL2RhdGFiYXNlQWNjb3VudHMvcmJhYzEyNi9zcWxSb2xlRGVmaW5pdGlvbnMvZmJmNzQyMDEtZjMzZi00NmYwLTgyMzQtMmI4YmYxNWVjZWM0L29wZXJhdGlvblJlc3VsdHMvMDQwNjNjYTEtMzVlMi00YWFkLTg2ODEtM2VkOGRmNmM4NDk5P2FwaS12ZXJzaW9uPTIwMjEtMDYtMTU=", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { "User-Agent": [ - "FxVersion/4.6.29916.01", + "FxVersion/4.6.28207.03", "OSName/Windows", - "OSVersion/Microsoft.Windows.10.0.19042.", + "OSVersion/Microsoft.Windows.10.0.19043.", "Microsoft.Azure.Management.CosmosDB.CosmosDBManagementClient/3.0.0.0" ] }, @@ -1713,7 +1713,7 @@ "max-age=31536000; includeSubDomains" ], "x-ms-gatewayversion": [ - "version=2.11.0" + "version=2.14.0" ], "Server": [ "Microsoft-HTTPAPI/2.0" @@ -1722,19 +1722,19 @@ "11980" ], "x-ms-request-id": [ - "940cccc9-de50-4d3b-87b8-8d954f10a838" + "a7918451-864d-4a24-94b4-a929b3dcd958" ], "x-ms-correlation-request-id": [ - "940cccc9-de50-4d3b-87b8-8d954f10a838" + "a7918451-864d-4a24-94b4-a929b3dcd958" ], "x-ms-routing-request-id": [ - "WESTUS:20210427T185710Z:940cccc9-de50-4d3b-87b8-8d954f10a838" + "WESTUS2:20210616T075709Z:a7918451-864d-4a24-94b4-a929b3dcd958" ], "X-Content-Type-Options": [ "nosniff" ], "Date": [ - "Tue, 27 Apr 2021 18:57:10 GMT" + "Wed, 16 Jun 2021 07:57:08 GMT" ], "Content-Length": [ "22" @@ -1747,21 +1747,21 @@ "StatusCode": 200 }, { - "RequestUri": "/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/resourceGroups/CosmosDBResourceGroup3668/providers/Microsoft.DocumentDB/databaseAccounts/rbac/sqlRoleDefinitions/70580ac3-cd0b-4549-8336-2f0d55df111e?api-version=2021-04-15", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvODBiZTM5NjEtMDUyMS00YTBhLTg1NzAtNWNkNWE0ZTJmOThjL3Jlc291cmNlR3JvdXBzL0Nvc21vc0RCUmVzb3VyY2VHcm91cDM2NjgvcHJvdmlkZXJzL01pY3Jvc29mdC5Eb2N1bWVudERCL2RhdGFiYXNlQWNjb3VudHMvcmJhYy9zcWxSb2xlRGVmaW5pdGlvbnMvNzA1ODBhYzMtY2QwYi00NTQ5LTgzMzYtMmYwZDU1ZGYxMTFlP2FwaS12ZXJzaW9uPTIwMjEtMDQtMTU=", + "RequestUri": "/subscriptions/259fbb24-9bcd-4cfc-865c-fc33b22fe38a/resourceGroups/CosmosDBResourceGroup3668/providers/Microsoft.DocumentDB/databaseAccounts/rbac126/sqlRoleDefinitions/70580ac3-cd0b-4549-8336-2f0d55df111e?api-version=2021-06-15", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMjU5ZmJiMjQtOWJjZC00Y2ZjLTg2NWMtZmMzM2IyMmZlMzhhL3Jlc291cmNlR3JvdXBzL0Nvc21vc0RCUmVzb3VyY2VHcm91cDM2NjgvcHJvdmlkZXJzL01pY3Jvc29mdC5Eb2N1bWVudERCL2RhdGFiYXNlQWNjb3VudHMvcmJhYzEyNi9zcWxSb2xlRGVmaW5pdGlvbnMvNzA1ODBhYzMtY2QwYi00NTQ5LTgzMzYtMmYwZDU1ZGYxMTFlP2FwaS12ZXJzaW9uPTIwMjEtMDYtMTU=", "RequestMethod": "DELETE", "RequestBody": "", "RequestHeaders": { "x-ms-client-request-id": [ - "13a9bb41-1537-4976-801f-3c67a50d5171" + "6375f92b-c852-4116-9ccb-1fea80bd4f97" ], "Accept-Language": [ "en-US" ], "User-Agent": [ - "FxVersion/4.6.29916.01", + "FxVersion/4.6.28207.03", "OSName/Windows", - "OSVersion/Microsoft.Windows.10.0.19042.", + "OSVersion/Microsoft.Windows.10.0.19043.", "Microsoft.Azure.Management.CosmosDB.CosmosDBManagementClient/3.0.0.0" ] }, @@ -1773,19 +1773,19 @@ "no-cache" ], "Location": [ - "https://management.azure.com/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/resourceGroups/CosmosDBResourceGroup3668/providers/Microsoft.DocumentDB/databaseAccounts/rbac/sqlRoleDefinitions/70580ac3-cd0b-4549-8336-2f0d55df111e/operationResults/d7f5673a-b661-4542-befe-f827a22d97bf?api-version=2021-04-15" + "https://management.azure.com/subscriptions/259fbb24-9bcd-4cfc-865c-fc33b22fe38a/resourceGroups/CosmosDBResourceGroup3668/providers/Microsoft.DocumentDB/databaseAccounts/rbac126/sqlRoleDefinitions/70580ac3-cd0b-4549-8336-2f0d55df111e/operationResults/6cff3b66-14b4-4780-95a8-6a6215af5354?api-version=2021-06-15" ], "Azure-AsyncOperation": [ - "https://management.azure.com/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/providers/Microsoft.DocumentDB/locations/eastus2/operationsStatus/d7f5673a-b661-4542-befe-f827a22d97bf?api-version=2021-04-15" + "https://management.azure.com/subscriptions/259fbb24-9bcd-4cfc-865c-fc33b22fe38a/providers/Microsoft.DocumentDB/locations/eastus2/operationsStatus/6cff3b66-14b4-4780-95a8-6a6215af5354?api-version=2021-06-15" ], "x-ms-request-id": [ - "d7f5673a-b661-4542-befe-f827a22d97bf" + "6cff3b66-14b4-4780-95a8-6a6215af5354" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "x-ms-gatewayversion": [ - "version=2.11.0" + "version=2.14.0" ], "Server": [ "Microsoft-HTTPAPI/2.0" @@ -1794,16 +1794,16 @@ "14996" ], "x-ms-correlation-request-id": [ - "030bdda0-c08b-4375-963a-0e282aa3d4e8" + "08284fa6-3be0-436d-acfe-3a20dbad25c6" ], "x-ms-routing-request-id": [ - "WESTUS:20210427T185711Z:030bdda0-c08b-4375-963a-0e282aa3d4e8" + "WESTUS2:20210616T075710Z:08284fa6-3be0-436d-acfe-3a20dbad25c6" ], "X-Content-Type-Options": [ "nosniff" ], "Date": [ - "Tue, 27 Apr 2021 18:57:11 GMT" + "Wed, 16 Jun 2021 07:57:09 GMT" ], "Content-Length": [ "21" @@ -1816,15 +1816,15 @@ "StatusCode": 202 }, { - "RequestUri": "/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/providers/Microsoft.DocumentDB/locations/eastus2/operationsStatus/d7f5673a-b661-4542-befe-f827a22d97bf?api-version=2021-04-15", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvODBiZTM5NjEtMDUyMS00YTBhLTg1NzAtNWNkNWE0ZTJmOThjL3Byb3ZpZGVycy9NaWNyb3NvZnQuRG9jdW1lbnREQi9sb2NhdGlvbnMvZWFzdHVzMi9vcGVyYXRpb25zU3RhdHVzL2Q3ZjU2NzNhLWI2NjEtNDU0Mi1iZWZlLWY4MjdhMjJkOTdiZj9hcGktdmVyc2lvbj0yMDIxLTA0LTE1", + "RequestUri": "/subscriptions/259fbb24-9bcd-4cfc-865c-fc33b22fe38a/providers/Microsoft.DocumentDB/locations/eastus2/operationsStatus/6cff3b66-14b4-4780-95a8-6a6215af5354?api-version=2021-06-15", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMjU5ZmJiMjQtOWJjZC00Y2ZjLTg2NWMtZmMzM2IyMmZlMzhhL3Byb3ZpZGVycy9NaWNyb3NvZnQuRG9jdW1lbnREQi9sb2NhdGlvbnMvZWFzdHVzMi9vcGVyYXRpb25zU3RhdHVzLzZjZmYzYjY2LTE0YjQtNDc4MC05NWE4LTZhNjIxNWFmNTM1ND9hcGktdmVyc2lvbj0yMDIxLTA2LTE1", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { "User-Agent": [ - "FxVersion/4.6.29916.01", + "FxVersion/4.6.28207.03", "OSName/Windows", - "OSVersion/Microsoft.Windows.10.0.19042.", + "OSVersion/Microsoft.Windows.10.0.19043.", "Microsoft.Azure.Management.CosmosDB.CosmosDBManagementClient/3.0.0.0" ] }, @@ -1839,7 +1839,7 @@ "max-age=31536000; includeSubDomains" ], "x-ms-gatewayversion": [ - "version=2.11.0" + "version=2.14.0" ], "Server": [ "Microsoft-HTTPAPI/2.0" @@ -1848,19 +1848,19 @@ "11979" ], "x-ms-request-id": [ - "ced5e601-7f51-498a-bfbf-fdaa25c7a151" + "145977cd-4255-4ca3-9157-042234b88db4" ], "x-ms-correlation-request-id": [ - "ced5e601-7f51-498a-bfbf-fdaa25c7a151" + "145977cd-4255-4ca3-9157-042234b88db4" ], "x-ms-routing-request-id": [ - "WESTUS:20210427T185741Z:ced5e601-7f51-498a-bfbf-fdaa25c7a151" + "WESTUS2:20210616T075740Z:145977cd-4255-4ca3-9157-042234b88db4" ], "X-Content-Type-Options": [ "nosniff" ], "Date": [ - "Tue, 27 Apr 2021 18:57:41 GMT" + "Wed, 16 Jun 2021 07:57:39 GMT" ], "Content-Length": [ "22" @@ -1873,15 +1873,15 @@ "StatusCode": 200 }, { - "RequestUri": "/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/resourceGroups/CosmosDBResourceGroup3668/providers/Microsoft.DocumentDB/databaseAccounts/rbac/sqlRoleDefinitions/70580ac3-cd0b-4549-8336-2f0d55df111e/operationResults/d7f5673a-b661-4542-befe-f827a22d97bf?api-version=2021-04-15", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvODBiZTM5NjEtMDUyMS00YTBhLTg1NzAtNWNkNWE0ZTJmOThjL3Jlc291cmNlR3JvdXBzL0Nvc21vc0RCUmVzb3VyY2VHcm91cDM2NjgvcHJvdmlkZXJzL01pY3Jvc29mdC5Eb2N1bWVudERCL2RhdGFiYXNlQWNjb3VudHMvcmJhYy9zcWxSb2xlRGVmaW5pdGlvbnMvNzA1ODBhYzMtY2QwYi00NTQ5LTgzMzYtMmYwZDU1ZGYxMTFlL29wZXJhdGlvblJlc3VsdHMvZDdmNTY3M2EtYjY2MS00NTQyLWJlZmUtZjgyN2EyMmQ5N2JmP2FwaS12ZXJzaW9uPTIwMjEtMDQtMTU=", + "RequestUri": "/subscriptions/259fbb24-9bcd-4cfc-865c-fc33b22fe38a/resourceGroups/CosmosDBResourceGroup3668/providers/Microsoft.DocumentDB/databaseAccounts/rbac126/sqlRoleDefinitions/70580ac3-cd0b-4549-8336-2f0d55df111e/operationResults/6cff3b66-14b4-4780-95a8-6a6215af5354?api-version=2021-06-15", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMjU5ZmJiMjQtOWJjZC00Y2ZjLTg2NWMtZmMzM2IyMmZlMzhhL3Jlc291cmNlR3JvdXBzL0Nvc21vc0RCUmVzb3VyY2VHcm91cDM2NjgvcHJvdmlkZXJzL01pY3Jvc29mdC5Eb2N1bWVudERCL2RhdGFiYXNlQWNjb3VudHMvcmJhYzEyNi9zcWxSb2xlRGVmaW5pdGlvbnMvNzA1ODBhYzMtY2QwYi00NTQ5LTgzMzYtMmYwZDU1ZGYxMTFlL29wZXJhdGlvblJlc3VsdHMvNmNmZjNiNjYtMTRiNC00NzgwLTk1YTgtNmE2MjE1YWY1MzU0P2FwaS12ZXJzaW9uPTIwMjEtMDYtMTU=", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { "User-Agent": [ - "FxVersion/4.6.29916.01", + "FxVersion/4.6.28207.03", "OSName/Windows", - "OSVersion/Microsoft.Windows.10.0.19042.", + "OSVersion/Microsoft.Windows.10.0.19043.", "Microsoft.Azure.Management.CosmosDB.CosmosDBManagementClient/3.0.0.0" ] }, @@ -1896,7 +1896,7 @@ "max-age=31536000; includeSubDomains" ], "x-ms-gatewayversion": [ - "version=2.11.0" + "version=2.14.0" ], "Server": [ "Microsoft-HTTPAPI/2.0" @@ -1905,19 +1905,19 @@ "11978" ], "x-ms-request-id": [ - "298e12b7-6436-465d-9c38-827ebe7df39a" + "d8929e71-1800-4864-882e-7af78795449c" ], "x-ms-correlation-request-id": [ - "298e12b7-6436-465d-9c38-827ebe7df39a" + "d8929e71-1800-4864-882e-7af78795449c" ], "x-ms-routing-request-id": [ - "WESTUS:20210427T185741Z:298e12b7-6436-465d-9c38-827ebe7df39a" + "WESTUS2:20210616T075740Z:d8929e71-1800-4864-882e-7af78795449c" ], "X-Content-Type-Options": [ "nosniff" ], "Date": [ - "Tue, 27 Apr 2021 18:57:41 GMT" + "Wed, 16 Jun 2021 07:57:40 GMT" ], "Content-Length": [ "22" @@ -1930,21 +1930,21 @@ "StatusCode": 200 }, { - "RequestUri": "/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/resourceGroups/CosmosDBResourceGroup3668/providers/Microsoft.DocumentDB/databaseAccounts/cli124/sqlRoleDefinitions/a5d92de7-1c34-481e-aafa-44f5cb03744c?api-version=2021-04-15", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvODBiZTM5NjEtMDUyMS00YTBhLTg1NzAtNWNkNWE0ZTJmOThjL3Jlc291cmNlR3JvdXBzL0Nvc21vc0RCUmVzb3VyY2VHcm91cDM2NjgvcHJvdmlkZXJzL01pY3Jvc29mdC5Eb2N1bWVudERCL2RhdGFiYXNlQWNjb3VudHMvY2xpMTI0L3NxbFJvbGVEZWZpbml0aW9ucy9hNWQ5MmRlNy0xYzM0LTQ4MWUtYWFmYS00NGY1Y2IwMzc0NGM/YXBpLXZlcnNpb249MjAyMS0wNC0xNQ==", + "RequestUri": "/subscriptions/259fbb24-9bcd-4cfc-865c-fc33b22fe38a/resourceGroups/CosmosDBResourceGroup3668/providers/Microsoft.DocumentDB/databaseAccounts/cli126/sqlRoleDefinitions/a5d92de7-1c34-481e-aafa-44f5cb03744c?api-version=2021-06-15", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMjU5ZmJiMjQtOWJjZC00Y2ZjLTg2NWMtZmMzM2IyMmZlMzhhL3Jlc291cmNlR3JvdXBzL0Nvc21vc0RCUmVzb3VyY2VHcm91cDM2NjgvcHJvdmlkZXJzL01pY3Jvc29mdC5Eb2N1bWVudERCL2RhdGFiYXNlQWNjb3VudHMvY2xpMTI2L3NxbFJvbGVEZWZpbml0aW9ucy9hNWQ5MmRlNy0xYzM0LTQ4MWUtYWFmYS00NGY1Y2IwMzc0NGM/YXBpLXZlcnNpb249MjAyMS0wNi0xNQ==", "RequestMethod": "PUT", - "RequestBody": "{\r\n \"properties\": {\r\n \"roleName\": \"roleName4\",\r\n \"type\": \"CustomRole\",\r\n \"assignableScopes\": [\r\n \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/resourceGroups/CosmosDBResourceGroup3668/providers/Microsoft.DocumentDB/databaseAccounts/cli124\"\r\n ],\r\n \"permissions\": [\r\n {\r\n \"dataActions\": [\r\n \"invalid-action-name\",\r\n \"Microsoft.DocumentDB/databaseAccounts/sqlDatabases/containers/items/delete\",\r\n \"Microsoft.DocumentDB/databaseAccounts/sqlDatabases/containers/items/replace\"\r\n ]\r\n }\r\n ]\r\n }\r\n}", + "RequestBody": "{\r\n \"properties\": {\r\n \"roleName\": \"roleName4\",\r\n \"type\": \"CustomRole\",\r\n \"assignableScopes\": [\r\n \"/subscriptions/259fbb24-9bcd-4cfc-865c-fc33b22fe38a/resourceGroups/CosmosDBResourceGroup3668/providers/Microsoft.DocumentDB/databaseAccounts/cli126\"\r\n ],\r\n \"permissions\": [\r\n {\r\n \"dataActions\": [\r\n \"invalid-action-name\",\r\n \"Microsoft.DocumentDB/databaseAccounts/sqlDatabases/containers/items/delete\",\r\n \"Microsoft.DocumentDB/databaseAccounts/sqlDatabases/containers/items/replace\"\r\n ]\r\n }\r\n ]\r\n }\r\n}", "RequestHeaders": { "x-ms-client-request-id": [ - "7e758ad9-5539-427f-a346-848ea82d0047" + "9018c79b-0637-4816-bb95-73a20e201c9a" ], "Accept-Language": [ "en-US" ], "User-Agent": [ - "FxVersion/4.6.29916.01", + "FxVersion/4.6.28207.03", "OSName/Windows", - "OSVersion/Microsoft.Windows.10.0.19042.", + "OSVersion/Microsoft.Windows.10.0.19043.", "Microsoft.Azure.Management.CosmosDB.CosmosDBManagementClient/3.0.0.0" ], "Content-Type": [ @@ -1965,7 +1965,7 @@ "max-age=31536000; includeSubDomains" ], "x-ms-gatewayversion": [ - "version=2.11.0" + "version=2.14.0" ], "Server": [ "Microsoft-HTTPAPI/2.0" @@ -1974,19 +1974,19 @@ "1194" ], "x-ms-request-id": [ - "e089af9e-ed2b-4cc8-81ac-5c9e7ab23a92" + "86711fa9-cd3f-4200-8f79-1d409199df01" ], "x-ms-correlation-request-id": [ - "e089af9e-ed2b-4cc8-81ac-5c9e7ab23a92" + "86711fa9-cd3f-4200-8f79-1d409199df01" ], "x-ms-routing-request-id": [ - "WESTUS:20210427T185742Z:e089af9e-ed2b-4cc8-81ac-5c9e7ab23a92" + "WESTUS2:20210616T075741Z:86711fa9-cd3f-4200-8f79-1d409199df01" ], "X-Content-Type-Options": [ "nosniff" ], "Date": [ - "Tue, 27 Apr 2021 18:57:41 GMT" + "Wed, 16 Jun 2021 07:57:40 GMT" ], "Content-Length": [ "230" @@ -1995,12 +1995,12 @@ "application/json" ] }, - "ResponseBody": "{\r\n \"code\": \"BadRequest\",\r\n \"message\": \"The provided data action string [invalid-action-name] does not correspond to any valid SQL data action.\\r\\nActivityId: 7e758ad9-5539-427f-a346-848ea82d0047, Microsoft.Azure.Documents.Common/2.11.0\"\r\n}", + "ResponseBody": "{\r\n \"code\": \"BadRequest\",\r\n \"message\": \"The provided data action string [invalid-action-name] does not correspond to any valid SQL data action.\\r\\nActivityId: 9018c79b-0637-4816-bb95-73a20e201c9a, Microsoft.Azure.Documents.Common/2.14.0\"\r\n}", "StatusCode": 400 } ], "Names": {}, "Variables": { - "SubscriptionId": "80be3961-0521-4a0a-8570-5cd5a4e2f98c" + "SubscriptionId": "259fbb24-9bcd-4cfc-865c-fc33b22fe38a" } } \ No newline at end of file diff --git a/sdk/cosmosdb/Microsoft.Azure.Management.CosmosDB/tests/SessionRecords/TableResourcesOperationsTests/TableCRUDTests.json b/sdk/cosmosdb/Microsoft.Azure.Management.CosmosDB/tests/SessionRecords/TableResourcesOperationsTests/TableCRUDTests.json index 3f8feed5087c..276303b9d453 100644 --- a/sdk/cosmosdb/Microsoft.Azure.Management.CosmosDB/tests/SessionRecords/TableResourcesOperationsTests/TableCRUDTests.json +++ b/sdk/cosmosdb/Microsoft.Azure.Management.CosmosDB/tests/SessionRecords/TableResourcesOperationsTests/TableCRUDTests.json @@ -1,21 +1,21 @@ { "Entries": [ { - "RequestUri": "/providers/Microsoft.DocumentDB/databaseAccountNames/db2048?api-version=2021-04-15", - "EncodedRequestUri": "L3Byb3ZpZGVycy9NaWNyb3NvZnQuRG9jdW1lbnREQi9kYXRhYmFzZUFjY291bnROYW1lcy9kYjIwNDg/YXBpLXZlcnNpb249MjAyMS0wNC0xNQ==", + "RequestUri": "/providers/Microsoft.DocumentDB/databaseAccountNames/db2048?api-version=2021-06-15", + "EncodedRequestUri": "L3Byb3ZpZGVycy9NaWNyb3NvZnQuRG9jdW1lbnREQi9kYXRhYmFzZUFjY291bnROYW1lcy9kYjIwNDg/YXBpLXZlcnNpb249MjAyMS0wNi0xNQ==", "RequestMethod": "HEAD", "RequestBody": "", "RequestHeaders": { "x-ms-client-request-id": [ - "8b490331-fcf2-4b0d-98d6-a4a88afba420" + "ba373e93-f3d5-496b-b7b8-a02460dd55ae" ], "Accept-Language": [ "en-US" ], "User-Agent": [ - "FxVersion/4.6.29916.01", + "FxVersion/4.6.28207.03", "OSName/Windows", - "OSVersion/Microsoft.Windows.10.0.19042.", + "OSVersion/Microsoft.Windows.10.0.19043.", "Microsoft.Azure.Management.CosmosDB.CosmosDBManagementClient/3.0.0.0" ] }, @@ -30,7 +30,7 @@ "max-age=31536000; includeSubDomains" ], "x-ms-activity-id": [ - "8b490331-fcf2-4b0d-98d6-a4a88afba420" + "ba373e93-f3d5-496b-b7b8-a02460dd55ae" ], "Server": [ "Microsoft-HTTPAPI/2.0" @@ -39,19 +39,19 @@ "11999" ], "x-ms-request-id": [ - "300f5a1d-438b-4cc2-96e0-36fa70b21ace" + "32e5ab8d-aa38-480e-8cd9-00225f56308b" ], "x-ms-correlation-request-id": [ - "300f5a1d-438b-4cc2-96e0-36fa70b21ace" + "32e5ab8d-aa38-480e-8cd9-00225f56308b" ], "x-ms-routing-request-id": [ - "WESTUS:20210427T173835Z:300f5a1d-438b-4cc2-96e0-36fa70b21ace" + "WESTUS2:20210616T055947Z:32e5ab8d-aa38-480e-8cd9-00225f56308b" ], "X-Content-Type-Options": [ "nosniff" ], "Date": [ - "Tue, 27 Apr 2021 17:38:34 GMT" + "Wed, 16 Jun 2021 05:59:46 GMT" ], "Content-Length": [ "0" @@ -61,21 +61,21 @@ "StatusCode": 200 }, { - "RequestUri": "/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/resourceGroups/CosmosDBResourceGroup3668/providers/Microsoft.DocumentDB/databaseAccounts/db2048/tables/tableName2527?api-version=2021-04-15", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvODBiZTM5NjEtMDUyMS00YTBhLTg1NzAtNWNkNWE0ZTJmOThjL3Jlc291cmNlR3JvdXBzL0Nvc21vc0RCUmVzb3VyY2VHcm91cDM2NjgvcHJvdmlkZXJzL01pY3Jvc29mdC5Eb2N1bWVudERCL2RhdGFiYXNlQWNjb3VudHMvZGIyMDQ4L3RhYmxlcy90YWJsZU5hbWUyNTI3P2FwaS12ZXJzaW9uPTIwMjEtMDQtMTU=", + "RequestUri": "/subscriptions/259fbb24-9bcd-4cfc-865c-fc33b22fe38a/resourceGroups/CosmosDBResourceGroup3668/providers/Microsoft.DocumentDB/databaseAccounts/db2048/tables/tableName2527?api-version=2021-06-15", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMjU5ZmJiMjQtOWJjZC00Y2ZjLTg2NWMtZmMzM2IyMmZlMzhhL3Jlc291cmNlR3JvdXBzL0Nvc21vc0RCUmVzb3VyY2VHcm91cDM2NjgvcHJvdmlkZXJzL01pY3Jvc29mdC5Eb2N1bWVudERCL2RhdGFiYXNlQWNjb3VudHMvZGIyMDQ4L3RhYmxlcy90YWJsZU5hbWUyNTI3P2FwaS12ZXJzaW9uPTIwMjEtMDYtMTU=", "RequestMethod": "PUT", "RequestBody": "{\r\n \"properties\": {\r\n \"resource\": {\r\n \"id\": \"tableName2527\"\r\n },\r\n \"options\": {}\r\n }\r\n}", "RequestHeaders": { "x-ms-client-request-id": [ - "903babb9-f2c4-4b5f-8cbb-e1e3a0217c25" + "9fa121fd-ad59-426c-bb82-c3b9e3a5539a" ], "Accept-Language": [ "en-US" ], "User-Agent": [ - "FxVersion/4.6.29916.01", + "FxVersion/4.6.28207.03", "OSName/Windows", - "OSVersion/Microsoft.Windows.10.0.19042.", + "OSVersion/Microsoft.Windows.10.0.19043.", "Microsoft.Azure.Management.CosmosDB.CosmosDBManagementClient/3.0.0.0" ], "Content-Type": [ @@ -93,19 +93,19 @@ "no-cache" ], "Location": [ - "https://management.azure.com/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/resourceGroups/CosmosDBResourceGroup3668/providers/Microsoft.DocumentDB/databaseAccounts/db2048/tables/tableName2527/operationResults/16010563-4a5e-4c7a-ba7f-2bc8552400e8?api-version=2021-04-15" + "https://management.azure.com/subscriptions/259fbb24-9bcd-4cfc-865c-fc33b22fe38a/resourceGroups/CosmosDBResourceGroup3668/providers/Microsoft.DocumentDB/databaseAccounts/db2048/tables/tableName2527/operationResults/19b033cd-69eb-4bdf-a6bc-813e75b5965d?api-version=2021-06-15" ], "Azure-AsyncOperation": [ - "https://management.azure.com/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/providers/Microsoft.DocumentDB/locations/eastus2/operationsStatus/16010563-4a5e-4c7a-ba7f-2bc8552400e8?api-version=2021-04-15" + "https://management.azure.com/subscriptions/259fbb24-9bcd-4cfc-865c-fc33b22fe38a/providers/Microsoft.DocumentDB/locations/eastus2/operationsStatus/19b033cd-69eb-4bdf-a6bc-813e75b5965d?api-version=2021-06-15" ], "x-ms-request-id": [ - "16010563-4a5e-4c7a-ba7f-2bc8552400e8" + "19b033cd-69eb-4bdf-a6bc-813e75b5965d" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "x-ms-gatewayversion": [ - "version=2.11.0" + "version=2.14.0" ], "Server": [ "Microsoft-HTTPAPI/2.0" @@ -114,16 +114,16 @@ "1199" ], "x-ms-correlation-request-id": [ - "f301eef4-75e0-48c4-8906-a9f9fc1d1787" + "50f7a051-49a9-418b-b388-ca6f44ab99db" ], "x-ms-routing-request-id": [ - "WESTUS:20210427T173836Z:f301eef4-75e0-48c4-8906-a9f9fc1d1787" + "WESTUS2:20210616T055948Z:50f7a051-49a9-418b-b388-ca6f44ab99db" ], "X-Content-Type-Options": [ "nosniff" ], "Date": [ - "Tue, 27 Apr 2021 17:38:36 GMT" + "Wed, 16 Jun 2021 05:59:48 GMT" ], "Content-Length": [ "21" @@ -136,15 +136,15 @@ "StatusCode": 202 }, { - "RequestUri": "/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/providers/Microsoft.DocumentDB/locations/eastus2/operationsStatus/16010563-4a5e-4c7a-ba7f-2bc8552400e8?api-version=2021-04-15", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvODBiZTM5NjEtMDUyMS00YTBhLTg1NzAtNWNkNWE0ZTJmOThjL3Byb3ZpZGVycy9NaWNyb3NvZnQuRG9jdW1lbnREQi9sb2NhdGlvbnMvZWFzdHVzMi9vcGVyYXRpb25zU3RhdHVzLzE2MDEwNTYzLTRhNWUtNGM3YS1iYTdmLTJiYzg1NTI0MDBlOD9hcGktdmVyc2lvbj0yMDIxLTA0LTE1", + "RequestUri": "/subscriptions/259fbb24-9bcd-4cfc-865c-fc33b22fe38a/providers/Microsoft.DocumentDB/locations/eastus2/operationsStatus/19b033cd-69eb-4bdf-a6bc-813e75b5965d?api-version=2021-06-15", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMjU5ZmJiMjQtOWJjZC00Y2ZjLTg2NWMtZmMzM2IyMmZlMzhhL3Byb3ZpZGVycy9NaWNyb3NvZnQuRG9jdW1lbnREQi9sb2NhdGlvbnMvZWFzdHVzMi9vcGVyYXRpb25zU3RhdHVzLzE5YjAzM2NkLTY5ZWItNGJkZi1hNmJjLTgxM2U3NWI1OTY1ZD9hcGktdmVyc2lvbj0yMDIxLTA2LTE1", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { "User-Agent": [ - "FxVersion/4.6.29916.01", + "FxVersion/4.6.28207.03", "OSName/Windows", - "OSVersion/Microsoft.Windows.10.0.19042.", + "OSVersion/Microsoft.Windows.10.0.19043.", "Microsoft.Azure.Management.CosmosDB.CosmosDBManagementClient/3.0.0.0" ] }, @@ -159,7 +159,7 @@ "max-age=31536000; includeSubDomains" ], "x-ms-gatewayversion": [ - "version=2.11.0" + "version=2.14.0" ], "Server": [ "Microsoft-HTTPAPI/2.0" @@ -168,19 +168,19 @@ "11999" ], "x-ms-request-id": [ - "0bd24c61-ddbf-4222-ba0d-423fdf550e42" + "28fa50c4-4885-46e2-83b6-d2d6bbeba31a" ], "x-ms-correlation-request-id": [ - "0bd24c61-ddbf-4222-ba0d-423fdf550e42" + "28fa50c4-4885-46e2-83b6-d2d6bbeba31a" ], "x-ms-routing-request-id": [ - "WESTUS:20210427T173907Z:0bd24c61-ddbf-4222-ba0d-423fdf550e42" + "WESTUS2:20210616T060018Z:28fa50c4-4885-46e2-83b6-d2d6bbeba31a" ], "X-Content-Type-Options": [ "nosniff" ], "Date": [ - "Tue, 27 Apr 2021 17:39:06 GMT" + "Wed, 16 Jun 2021 06:00:17 GMT" ], "Content-Length": [ "22" @@ -193,15 +193,15 @@ "StatusCode": 200 }, { - "RequestUri": "/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/resourceGroups/CosmosDBResourceGroup3668/providers/Microsoft.DocumentDB/databaseAccounts/db2048/tables/tableName2527?api-version=2021-04-15", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvODBiZTM5NjEtMDUyMS00YTBhLTg1NzAtNWNkNWE0ZTJmOThjL3Jlc291cmNlR3JvdXBzL0Nvc21vc0RCUmVzb3VyY2VHcm91cDM2NjgvcHJvdmlkZXJzL01pY3Jvc29mdC5Eb2N1bWVudERCL2RhdGFiYXNlQWNjb3VudHMvZGIyMDQ4L3RhYmxlcy90YWJsZU5hbWUyNTI3P2FwaS12ZXJzaW9uPTIwMjEtMDQtMTU=", + "RequestUri": "/subscriptions/259fbb24-9bcd-4cfc-865c-fc33b22fe38a/resourceGroups/CosmosDBResourceGroup3668/providers/Microsoft.DocumentDB/databaseAccounts/db2048/tables/tableName2527?api-version=2021-06-15", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMjU5ZmJiMjQtOWJjZC00Y2ZjLTg2NWMtZmMzM2IyMmZlMzhhL3Jlc291cmNlR3JvdXBzL0Nvc21vc0RCUmVzb3VyY2VHcm91cDM2NjgvcHJvdmlkZXJzL01pY3Jvc29mdC5Eb2N1bWVudERCL2RhdGFiYXNlQWNjb3VudHMvZGIyMDQ4L3RhYmxlcy90YWJsZU5hbWUyNTI3P2FwaS12ZXJzaW9uPTIwMjEtMDYtMTU=", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { "User-Agent": [ - "FxVersion/4.6.29916.01", + "FxVersion/4.6.28207.03", "OSName/Windows", - "OSVersion/Microsoft.Windows.10.0.19042.", + "OSVersion/Microsoft.Windows.10.0.19043.", "Microsoft.Azure.Management.CosmosDB.CosmosDBManagementClient/3.0.0.0" ] }, @@ -216,7 +216,7 @@ "max-age=31536000; includeSubDomains" ], "x-ms-gatewayversion": [ - "version=2.11.0" + "version=2.14.0" ], "Server": [ "Microsoft-HTTPAPI/2.0" @@ -225,19 +225,19 @@ "11998" ], "x-ms-request-id": [ - "ccdf01f4-04f6-4d3b-9b49-6513957547f7" + "ebfd55a7-b18c-431c-a3bd-d6cb53857c11" ], "x-ms-correlation-request-id": [ - "ccdf01f4-04f6-4d3b-9b49-6513957547f7" + "ebfd55a7-b18c-431c-a3bd-d6cb53857c11" ], "x-ms-routing-request-id": [ - "WESTUS:20210427T173907Z:ccdf01f4-04f6-4d3b-9b49-6513957547f7" + "WESTUS2:20210616T060019Z:ebfd55a7-b18c-431c-a3bd-d6cb53857c11" ], "X-Content-Type-Options": [ "nosniff" ], "Date": [ - "Tue, 27 Apr 2021 17:39:07 GMT" + "Wed, 16 Jun 2021 06:00:18 GMT" ], "Content-Length": [ "393" @@ -246,25 +246,25 @@ "application/json" ] }, - "ResponseBody": "{\r\n \"id\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/resourceGroups/CosmosDBResourceGroup3668/providers/Microsoft.DocumentDB/databaseAccounts/db2048/tables/tableName2527\",\r\n \"type\": \"Microsoft.DocumentDB/databaseAccounts/tables\",\r\n \"name\": \"tableName2527\",\r\n \"properties\": {\r\n \"resource\": {\r\n \"id\": \"tableName2527\",\r\n \"_rid\": \"QX49AM2IVPM=\",\r\n \"_etag\": \"\\\"00000000-0000-0000-3b8c-2abcb40201d7\\\"\",\r\n \"_ts\": 1619545122\r\n }\r\n }\r\n}", + "ResponseBody": "{\r\n \"id\": \"/subscriptions/259fbb24-9bcd-4cfc-865c-fc33b22fe38a/resourceGroups/CosmosDBResourceGroup3668/providers/Microsoft.DocumentDB/databaseAccounts/db2048/tables/tableName2527\",\r\n \"type\": \"Microsoft.DocumentDB/databaseAccounts/tables\",\r\n \"name\": \"tableName2527\",\r\n \"properties\": {\r\n \"resource\": {\r\n \"id\": \"tableName2527\",\r\n \"_rid\": \"YLxZAKBC3Pg=\",\r\n \"_etag\": \"\\\"00000000-0000-0000-5d60-d378a40201d7\\\"\",\r\n \"_ts\": 1623264847\r\n }\r\n }\r\n}", "StatusCode": 200 }, { - "RequestUri": "/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/resourceGroups/CosmosDBResourceGroup3668/providers/Microsoft.DocumentDB/databaseAccounts/db2048/tables/tableName2527?api-version=2021-04-15", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvODBiZTM5NjEtMDUyMS00YTBhLTg1NzAtNWNkNWE0ZTJmOThjL3Jlc291cmNlR3JvdXBzL0Nvc21vc0RCUmVzb3VyY2VHcm91cDM2NjgvcHJvdmlkZXJzL01pY3Jvc29mdC5Eb2N1bWVudERCL2RhdGFiYXNlQWNjb3VudHMvZGIyMDQ4L3RhYmxlcy90YWJsZU5hbWUyNTI3P2FwaS12ZXJzaW9uPTIwMjEtMDQtMTU=", + "RequestUri": "/subscriptions/259fbb24-9bcd-4cfc-865c-fc33b22fe38a/resourceGroups/CosmosDBResourceGroup3668/providers/Microsoft.DocumentDB/databaseAccounts/db2048/tables/tableName2527?api-version=2021-06-15", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMjU5ZmJiMjQtOWJjZC00Y2ZjLTg2NWMtZmMzM2IyMmZlMzhhL3Jlc291cmNlR3JvdXBzL0Nvc21vc0RCUmVzb3VyY2VHcm91cDM2NjgvcHJvdmlkZXJzL01pY3Jvc29mdC5Eb2N1bWVudERCL2RhdGFiYXNlQWNjb3VudHMvZGIyMDQ4L3RhYmxlcy90YWJsZU5hbWUyNTI3P2FwaS12ZXJzaW9uPTIwMjEtMDYtMTU=", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { "x-ms-client-request-id": [ - "2a1a0945-a9be-480f-b590-0eb25cb1cf79" + "fd2d50e2-607a-4d13-aff0-a4d54e0d911c" ], "Accept-Language": [ "en-US" ], "User-Agent": [ - "FxVersion/4.6.29916.01", + "FxVersion/4.6.28207.03", "OSName/Windows", - "OSVersion/Microsoft.Windows.10.0.19042.", + "OSVersion/Microsoft.Windows.10.0.19043.", "Microsoft.Azure.Management.CosmosDB.CosmosDBManagementClient/3.0.0.0" ] }, @@ -279,7 +279,7 @@ "max-age=31536000; includeSubDomains" ], "x-ms-gatewayversion": [ - "version=2.11.0" + "version=2.14.0" ], "Server": [ "Microsoft-HTTPAPI/2.0" @@ -288,19 +288,19 @@ "11997" ], "x-ms-request-id": [ - "c53d5680-4030-47ae-80d2-a7a90e244d75" + "8798a41e-7536-47c9-abde-daa14bce9257" ], "x-ms-correlation-request-id": [ - "c53d5680-4030-47ae-80d2-a7a90e244d75" + "8798a41e-7536-47c9-abde-daa14bce9257" ], "x-ms-routing-request-id": [ - "WESTUS:20210427T173907Z:c53d5680-4030-47ae-80d2-a7a90e244d75" + "WESTUS2:20210616T060019Z:8798a41e-7536-47c9-abde-daa14bce9257" ], "X-Content-Type-Options": [ "nosniff" ], "Date": [ - "Tue, 27 Apr 2021 17:39:07 GMT" + "Wed, 16 Jun 2021 06:00:18 GMT" ], "Content-Length": [ "393" @@ -309,25 +309,25 @@ "application/json" ] }, - "ResponseBody": "{\r\n \"id\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/resourceGroups/CosmosDBResourceGroup3668/providers/Microsoft.DocumentDB/databaseAccounts/db2048/tables/tableName2527\",\r\n \"type\": \"Microsoft.DocumentDB/databaseAccounts/tables\",\r\n \"name\": \"tableName2527\",\r\n \"properties\": {\r\n \"resource\": {\r\n \"id\": \"tableName2527\",\r\n \"_rid\": \"QX49AM2IVPM=\",\r\n \"_etag\": \"\\\"00000000-0000-0000-3b8c-2abcb40201d7\\\"\",\r\n \"_ts\": 1619545122\r\n }\r\n }\r\n}", + "ResponseBody": "{\r\n \"id\": \"/subscriptions/259fbb24-9bcd-4cfc-865c-fc33b22fe38a/resourceGroups/CosmosDBResourceGroup3668/providers/Microsoft.DocumentDB/databaseAccounts/db2048/tables/tableName2527\",\r\n \"type\": \"Microsoft.DocumentDB/databaseAccounts/tables\",\r\n \"name\": \"tableName2527\",\r\n \"properties\": {\r\n \"resource\": {\r\n \"id\": \"tableName2527\",\r\n \"_rid\": \"YLxZAKBC3Pg=\",\r\n \"_etag\": \"\\\"00000000-0000-0000-5d60-d378a40201d7\\\"\",\r\n \"_ts\": 1623264847\r\n }\r\n }\r\n}", "StatusCode": 200 }, { - "RequestUri": "/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/resourceGroups/CosmosDBResourceGroup3668/providers/Microsoft.DocumentDB/databaseAccounts/db2048/tables/tableName22527?api-version=2021-04-15", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvODBiZTM5NjEtMDUyMS00YTBhLTg1NzAtNWNkNWE0ZTJmOThjL3Jlc291cmNlR3JvdXBzL0Nvc21vc0RCUmVzb3VyY2VHcm91cDM2NjgvcHJvdmlkZXJzL01pY3Jvc29mdC5Eb2N1bWVudERCL2RhdGFiYXNlQWNjb3VudHMvZGIyMDQ4L3RhYmxlcy90YWJsZU5hbWUyMjUyNz9hcGktdmVyc2lvbj0yMDIxLTA0LTE1", + "RequestUri": "/subscriptions/259fbb24-9bcd-4cfc-865c-fc33b22fe38a/resourceGroups/CosmosDBResourceGroup3668/providers/Microsoft.DocumentDB/databaseAccounts/db2048/tables/tableName22527?api-version=2021-06-15", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMjU5ZmJiMjQtOWJjZC00Y2ZjLTg2NWMtZmMzM2IyMmZlMzhhL3Jlc291cmNlR3JvdXBzL0Nvc21vc0RCUmVzb3VyY2VHcm91cDM2NjgvcHJvdmlkZXJzL01pY3Jvc29mdC5Eb2N1bWVudERCL2RhdGFiYXNlQWNjb3VudHMvZGIyMDQ4L3RhYmxlcy90YWJsZU5hbWUyMjUyNz9hcGktdmVyc2lvbj0yMDIxLTA2LTE1", "RequestMethod": "PUT", "RequestBody": "{\r\n \"properties\": {\r\n \"resource\": {\r\n \"id\": \"tableName22527\"\r\n },\r\n \"options\": {\r\n \"throughput\": 700\r\n }\r\n },\r\n \"location\": \"EAST US 2\",\r\n \"tags\": {\r\n \"key3\": \"value3\",\r\n \"key4\": \"value4\"\r\n }\r\n}", "RequestHeaders": { "x-ms-client-request-id": [ - "ffb954be-4b84-4268-a615-047aaa60b451" + "83879e8d-0aea-4298-9246-4111513907d3" ], "Accept-Language": [ "en-US" ], "User-Agent": [ - "FxVersion/4.6.29916.01", + "FxVersion/4.6.28207.03", "OSName/Windows", - "OSVersion/Microsoft.Windows.10.0.19042.", + "OSVersion/Microsoft.Windows.10.0.19043.", "Microsoft.Azure.Management.CosmosDB.CosmosDBManagementClient/3.0.0.0" ], "Content-Type": [ @@ -345,19 +345,19 @@ "no-cache" ], "Location": [ - "https://management.azure.com/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/resourceGroups/CosmosDBResourceGroup3668/providers/Microsoft.DocumentDB/databaseAccounts/db2048/tables/tableName22527/operationResults/412f175a-ae9e-4934-9e44-0c722497e1d4?api-version=2021-04-15" + "https://management.azure.com/subscriptions/259fbb24-9bcd-4cfc-865c-fc33b22fe38a/resourceGroups/CosmosDBResourceGroup3668/providers/Microsoft.DocumentDB/databaseAccounts/db2048/tables/tableName22527/operationResults/338b98d0-7cad-44ee-a57e-72c76355c3dc?api-version=2021-06-15" ], "Azure-AsyncOperation": [ - "https://management.azure.com/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/providers/Microsoft.DocumentDB/locations/eastus2/operationsStatus/412f175a-ae9e-4934-9e44-0c722497e1d4?api-version=2021-04-15" + "https://management.azure.com/subscriptions/259fbb24-9bcd-4cfc-865c-fc33b22fe38a/providers/Microsoft.DocumentDB/locations/eastus2/operationsStatus/338b98d0-7cad-44ee-a57e-72c76355c3dc?api-version=2021-06-15" ], "x-ms-request-id": [ - "412f175a-ae9e-4934-9e44-0c722497e1d4" + "338b98d0-7cad-44ee-a57e-72c76355c3dc" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "x-ms-gatewayversion": [ - "version=2.11.0" + "version=2.14.0" ], "Server": [ "Microsoft-HTTPAPI/2.0" @@ -366,16 +366,16 @@ "1198" ], "x-ms-correlation-request-id": [ - "b0559496-b9a4-4ba1-960f-92bc9d467b31" + "bccf39c4-5ba0-4d86-ab9d-8082633e9cb0" ], "x-ms-routing-request-id": [ - "WESTUS:20210427T173908Z:b0559496-b9a4-4ba1-960f-92bc9d467b31" + "WESTUS2:20210616T060019Z:bccf39c4-5ba0-4d86-ab9d-8082633e9cb0" ], "X-Content-Type-Options": [ "nosniff" ], "Date": [ - "Tue, 27 Apr 2021 17:39:08 GMT" + "Wed, 16 Jun 2021 06:00:18 GMT" ], "Content-Length": [ "21" @@ -388,15 +388,15 @@ "StatusCode": 202 }, { - "RequestUri": "/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/providers/Microsoft.DocumentDB/locations/eastus2/operationsStatus/412f175a-ae9e-4934-9e44-0c722497e1d4?api-version=2021-04-15", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvODBiZTM5NjEtMDUyMS00YTBhLTg1NzAtNWNkNWE0ZTJmOThjL3Byb3ZpZGVycy9NaWNyb3NvZnQuRG9jdW1lbnREQi9sb2NhdGlvbnMvZWFzdHVzMi9vcGVyYXRpb25zU3RhdHVzLzQxMmYxNzVhLWFlOWUtNDkzNC05ZTQ0LTBjNzIyNDk3ZTFkND9hcGktdmVyc2lvbj0yMDIxLTA0LTE1", + "RequestUri": "/subscriptions/259fbb24-9bcd-4cfc-865c-fc33b22fe38a/providers/Microsoft.DocumentDB/locations/eastus2/operationsStatus/338b98d0-7cad-44ee-a57e-72c76355c3dc?api-version=2021-06-15", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMjU5ZmJiMjQtOWJjZC00Y2ZjLTg2NWMtZmMzM2IyMmZlMzhhL3Byb3ZpZGVycy9NaWNyb3NvZnQuRG9jdW1lbnREQi9sb2NhdGlvbnMvZWFzdHVzMi9vcGVyYXRpb25zU3RhdHVzLzMzOGI5OGQwLTdjYWQtNDRlZS1hNTdlLTcyYzc2MzU1YzNkYz9hcGktdmVyc2lvbj0yMDIxLTA2LTE1", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { "User-Agent": [ - "FxVersion/4.6.29916.01", + "FxVersion/4.6.28207.03", "OSName/Windows", - "OSVersion/Microsoft.Windows.10.0.19042.", + "OSVersion/Microsoft.Windows.10.0.19043.", "Microsoft.Azure.Management.CosmosDB.CosmosDBManagementClient/3.0.0.0" ] }, @@ -411,7 +411,7 @@ "max-age=31536000; includeSubDomains" ], "x-ms-gatewayversion": [ - "version=2.11.0" + "version=2.14.0" ], "Server": [ "Microsoft-HTTPAPI/2.0" @@ -420,19 +420,19 @@ "11996" ], "x-ms-request-id": [ - "9c5785cf-7ee5-45fe-80da-210c303f56a3" + "a1067811-2353-4740-bc4e-0e032d3dd1bd" ], "x-ms-correlation-request-id": [ - "9c5785cf-7ee5-45fe-80da-210c303f56a3" + "a1067811-2353-4740-bc4e-0e032d3dd1bd" ], "x-ms-routing-request-id": [ - "WESTUS:20210427T173938Z:9c5785cf-7ee5-45fe-80da-210c303f56a3" + "WESTUS2:20210616T060049Z:a1067811-2353-4740-bc4e-0e032d3dd1bd" ], "X-Content-Type-Options": [ "nosniff" ], "Date": [ - "Tue, 27 Apr 2021 17:39:38 GMT" + "Wed, 16 Jun 2021 06:00:49 GMT" ], "Content-Length": [ "22" @@ -445,15 +445,15 @@ "StatusCode": 200 }, { - "RequestUri": "/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/resourceGroups/CosmosDBResourceGroup3668/providers/Microsoft.DocumentDB/databaseAccounts/db2048/tables/tableName22527?api-version=2021-04-15", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvODBiZTM5NjEtMDUyMS00YTBhLTg1NzAtNWNkNWE0ZTJmOThjL3Jlc291cmNlR3JvdXBzL0Nvc21vc0RCUmVzb3VyY2VHcm91cDM2NjgvcHJvdmlkZXJzL01pY3Jvc29mdC5Eb2N1bWVudERCL2RhdGFiYXNlQWNjb3VudHMvZGIyMDQ4L3RhYmxlcy90YWJsZU5hbWUyMjUyNz9hcGktdmVyc2lvbj0yMDIxLTA0LTE1", + "RequestUri": "/subscriptions/259fbb24-9bcd-4cfc-865c-fc33b22fe38a/resourceGroups/CosmosDBResourceGroup3668/providers/Microsoft.DocumentDB/databaseAccounts/db2048/tables/tableName22527?api-version=2021-06-15", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMjU5ZmJiMjQtOWJjZC00Y2ZjLTg2NWMtZmMzM2IyMmZlMzhhL3Jlc291cmNlR3JvdXBzL0Nvc21vc0RCUmVzb3VyY2VHcm91cDM2NjgvcHJvdmlkZXJzL01pY3Jvc29mdC5Eb2N1bWVudERCL2RhdGFiYXNlQWNjb3VudHMvZGIyMDQ4L3RhYmxlcy90YWJsZU5hbWUyMjUyNz9hcGktdmVyc2lvbj0yMDIxLTA2LTE1", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { "User-Agent": [ - "FxVersion/4.6.29916.01", + "FxVersion/4.6.28207.03", "OSName/Windows", - "OSVersion/Microsoft.Windows.10.0.19042.", + "OSVersion/Microsoft.Windows.10.0.19043.", "Microsoft.Azure.Management.CosmosDB.CosmosDBManagementClient/3.0.0.0" ] }, @@ -468,7 +468,7 @@ "max-age=31536000; includeSubDomains" ], "x-ms-gatewayversion": [ - "version=2.11.0" + "version=2.14.0" ], "Server": [ "Microsoft-HTTPAPI/2.0" @@ -477,19 +477,19 @@ "11995" ], "x-ms-request-id": [ - "791fd915-ce86-4f9b-b15d-d0fecae83ccb" + "7f54868e-f628-4050-a46b-a0c698fc3f3e" ], "x-ms-correlation-request-id": [ - "791fd915-ce86-4f9b-b15d-d0fecae83ccb" + "7f54868e-f628-4050-a46b-a0c698fc3f3e" ], "x-ms-routing-request-id": [ - "WESTUS:20210427T173938Z:791fd915-ce86-4f9b-b15d-d0fecae83ccb" + "WESTUS2:20210616T060050Z:7f54868e-f628-4050-a46b-a0c698fc3f3e" ], "X-Content-Type-Options": [ "nosniff" ], "Date": [ - "Tue, 27 Apr 2021 17:39:38 GMT" + "Wed, 16 Jun 2021 06:00:49 GMT" ], "Content-Length": [ "396" @@ -498,25 +498,25 @@ "application/json" ] }, - "ResponseBody": "{\r\n \"id\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/resourceGroups/CosmosDBResourceGroup3668/providers/Microsoft.DocumentDB/databaseAccounts/db2048/tables/tableName22527\",\r\n \"type\": \"Microsoft.DocumentDB/databaseAccounts/tables\",\r\n \"name\": \"tableName22527\",\r\n \"properties\": {\r\n \"resource\": {\r\n \"id\": \"tableName22527\",\r\n \"_rid\": \"QX49AOqBcfY=\",\r\n \"_etag\": \"\\\"00000000-0000-0000-3b8c-3ec8980201d7\\\"\",\r\n \"_ts\": 1619545156\r\n }\r\n }\r\n}", + "ResponseBody": "{\r\n \"id\": \"/subscriptions/259fbb24-9bcd-4cfc-865c-fc33b22fe38a/resourceGroups/CosmosDBResourceGroup3668/providers/Microsoft.DocumentDB/databaseAccounts/db2048/tables/tableName22527\",\r\n \"type\": \"Microsoft.DocumentDB/databaseAccounts/tables\",\r\n \"name\": \"tableName22527\",\r\n \"properties\": {\r\n \"resource\": {\r\n \"id\": \"tableName22527\",\r\n \"_rid\": \"YLxZAMC8GaM=\",\r\n \"_etag\": \"\\\"00000000-0000-0000-6274-e7e2700201d7\\\"\",\r\n \"_ts\": 1623823227\r\n }\r\n }\r\n}", "StatusCode": 200 }, { - "RequestUri": "/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/resourceGroups/CosmosDBResourceGroup3668/providers/Microsoft.DocumentDB/databaseAccounts/db2048/tables?api-version=2021-04-15", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvODBiZTM5NjEtMDUyMS00YTBhLTg1NzAtNWNkNWE0ZTJmOThjL3Jlc291cmNlR3JvdXBzL0Nvc21vc0RCUmVzb3VyY2VHcm91cDM2NjgvcHJvdmlkZXJzL01pY3Jvc29mdC5Eb2N1bWVudERCL2RhdGFiYXNlQWNjb3VudHMvZGIyMDQ4L3RhYmxlcz9hcGktdmVyc2lvbj0yMDIxLTA0LTE1", + "RequestUri": "/subscriptions/259fbb24-9bcd-4cfc-865c-fc33b22fe38a/resourceGroups/CosmosDBResourceGroup3668/providers/Microsoft.DocumentDB/databaseAccounts/db2048/tables?api-version=2021-06-15", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMjU5ZmJiMjQtOWJjZC00Y2ZjLTg2NWMtZmMzM2IyMmZlMzhhL3Jlc291cmNlR3JvdXBzL0Nvc21vc0RCUmVzb3VyY2VHcm91cDM2NjgvcHJvdmlkZXJzL01pY3Jvc29mdC5Eb2N1bWVudERCL2RhdGFiYXNlQWNjb3VudHMvZGIyMDQ4L3RhYmxlcz9hcGktdmVyc2lvbj0yMDIxLTA2LTE1", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { "x-ms-client-request-id": [ - "3a45bede-0def-4976-804b-668c814cb5df" + "52e097d3-abf7-49d4-8f7e-be41bd5b570f" ], "Accept-Language": [ "en-US" ], "User-Agent": [ - "FxVersion/4.6.29916.01", + "FxVersion/4.6.28207.03", "OSName/Windows", - "OSVersion/Microsoft.Windows.10.0.19042.", + "OSVersion/Microsoft.Windows.10.0.19043.", "Microsoft.Azure.Management.CosmosDB.CosmosDBManagementClient/3.0.0.0" ] }, @@ -531,7 +531,7 @@ "max-age=31536000; includeSubDomains" ], "x-ms-gatewayversion": [ - "version=2.11.0" + "version=2.14.0" ], "Server": [ "Microsoft-HTTPAPI/2.0" @@ -540,19 +540,19 @@ "11994" ], "x-ms-request-id": [ - "dcdc140d-63bb-45bb-b7b9-c2ba7766f393" + "a3b0a367-88d1-449c-8c82-a025d1b54e5b" ], "x-ms-correlation-request-id": [ - "dcdc140d-63bb-45bb-b7b9-c2ba7766f393" + "a3b0a367-88d1-449c-8c82-a025d1b54e5b" ], "x-ms-routing-request-id": [ - "WESTUS:20210427T173938Z:dcdc140d-63bb-45bb-b7b9-c2ba7766f393" + "WESTUS2:20210616T060050Z:a3b0a367-88d1-449c-8c82-a025d1b54e5b" ], "X-Content-Type-Options": [ "nosniff" ], "Date": [ - "Tue, 27 Apr 2021 17:39:38 GMT" + "Wed, 16 Jun 2021 06:00:49 GMT" ], "Content-Length": [ "802" @@ -561,25 +561,25 @@ "application/json" ] }, - "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/resourceGroups/CosmosDBResourceGroup3668/providers/Microsoft.DocumentDB/databaseAccounts/db2048/tables/tableName2527\",\r\n \"type\": \"Microsoft.DocumentDB/databaseAccounts/tables\",\r\n \"name\": \"tableName2527\",\r\n \"properties\": {\r\n \"resource\": {\r\n \"id\": \"tableName2527\",\r\n \"_rid\": \"QX49AM2IVPM=\",\r\n \"_etag\": \"\\\"00000000-0000-0000-3b8c-2abcb40201d7\\\"\",\r\n \"_ts\": 1619545122\r\n }\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/resourceGroups/CosmosDBResourceGroup3668/providers/Microsoft.DocumentDB/databaseAccounts/db2048/tables/tableName22527\",\r\n \"type\": \"Microsoft.DocumentDB/databaseAccounts/tables\",\r\n \"name\": \"tableName22527\",\r\n \"properties\": {\r\n \"resource\": {\r\n \"id\": \"tableName22527\",\r\n \"_rid\": \"QX49AOqBcfY=\",\r\n \"_etag\": \"\\\"00000000-0000-0000-3b8c-3ec8980201d7\\\"\",\r\n \"_ts\": 1619545156\r\n }\r\n }\r\n }\r\n ]\r\n}", + "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/subscriptions/259fbb24-9bcd-4cfc-865c-fc33b22fe38a/resourceGroups/CosmosDBResourceGroup3668/providers/Microsoft.DocumentDB/databaseAccounts/db2048/tables/tableName22527\",\r\n \"type\": \"Microsoft.DocumentDB/databaseAccounts/tables\",\r\n \"name\": \"tableName22527\",\r\n \"properties\": {\r\n \"resource\": {\r\n \"id\": \"tableName22527\",\r\n \"_rid\": \"YLxZAMC8GaM=\",\r\n \"_etag\": \"\\\"00000000-0000-0000-6274-e7e2700201d7\\\"\",\r\n \"_ts\": 1623823227\r\n }\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/259fbb24-9bcd-4cfc-865c-fc33b22fe38a/resourceGroups/CosmosDBResourceGroup3668/providers/Microsoft.DocumentDB/databaseAccounts/db2048/tables/tableName2527\",\r\n \"type\": \"Microsoft.DocumentDB/databaseAccounts/tables\",\r\n \"name\": \"tableName2527\",\r\n \"properties\": {\r\n \"resource\": {\r\n \"id\": \"tableName2527\",\r\n \"_rid\": \"YLxZAKBC3Pg=\",\r\n \"_etag\": \"\\\"00000000-0000-0000-5d60-d378a40201d7\\\"\",\r\n \"_ts\": 1623264847\r\n }\r\n }\r\n }\r\n ]\r\n}", "StatusCode": 200 }, { - "RequestUri": "/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/resourceGroups/CosmosDBResourceGroup3668/providers/Microsoft.DocumentDB/databaseAccounts/db2048/tables/tableName22527/throughputSettings/default?api-version=2021-04-15", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvODBiZTM5NjEtMDUyMS00YTBhLTg1NzAtNWNkNWE0ZTJmOThjL3Jlc291cmNlR3JvdXBzL0Nvc21vc0RCUmVzb3VyY2VHcm91cDM2NjgvcHJvdmlkZXJzL01pY3Jvc29mdC5Eb2N1bWVudERCL2RhdGFiYXNlQWNjb3VudHMvZGIyMDQ4L3RhYmxlcy90YWJsZU5hbWUyMjUyNy90aHJvdWdocHV0U2V0dGluZ3MvZGVmYXVsdD9hcGktdmVyc2lvbj0yMDIxLTA0LTE1", + "RequestUri": "/subscriptions/259fbb24-9bcd-4cfc-865c-fc33b22fe38a/resourceGroups/CosmosDBResourceGroup3668/providers/Microsoft.DocumentDB/databaseAccounts/db2048/tables/tableName22527/throughputSettings/default?api-version=2021-06-15", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMjU5ZmJiMjQtOWJjZC00Y2ZjLTg2NWMtZmMzM2IyMmZlMzhhL3Jlc291cmNlR3JvdXBzL0Nvc21vc0RCUmVzb3VyY2VHcm91cDM2NjgvcHJvdmlkZXJzL01pY3Jvc29mdC5Eb2N1bWVudERCL2RhdGFiYXNlQWNjb3VudHMvZGIyMDQ4L3RhYmxlcy90YWJsZU5hbWUyMjUyNy90aHJvdWdocHV0U2V0dGluZ3MvZGVmYXVsdD9hcGktdmVyc2lvbj0yMDIxLTA2LTE1", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { "x-ms-client-request-id": [ - "028ea130-60b8-41a2-9b03-24c81bb0c7ff" + "13ee3d9c-a2cc-4504-8e2a-972a3c61718a" ], "Accept-Language": [ "en-US" ], "User-Agent": [ - "FxVersion/4.6.29916.01", + "FxVersion/4.6.28207.03", "OSName/Windows", - "OSVersion/Microsoft.Windows.10.0.19042.", + "OSVersion/Microsoft.Windows.10.0.19043.", "Microsoft.Azure.Management.CosmosDB.CosmosDBManagementClient/3.0.0.0" ] }, @@ -594,7 +594,7 @@ "max-age=31536000; includeSubDomains" ], "x-ms-gatewayversion": [ - "version=2.11.0" + "version=2.14.0" ], "Server": [ "Microsoft-HTTPAPI/2.0" @@ -603,19 +603,19 @@ "11993" ], "x-ms-request-id": [ - "bdf823d6-25b5-4b29-baaa-cd85e4647eae" + "b5913b71-e0a2-49c3-8a03-c531f78ad54d" ], "x-ms-correlation-request-id": [ - "bdf823d6-25b5-4b29-baaa-cd85e4647eae" + "b5913b71-e0a2-49c3-8a03-c531f78ad54d" ], "x-ms-routing-request-id": [ - "WESTUS:20210427T173939Z:bdf823d6-25b5-4b29-baaa-cd85e4647eae" + "WESTUS2:20210616T060050Z:b5913b71-e0a2-49c3-8a03-c531f78ad54d" ], "X-Content-Type-Options": [ "nosniff" ], "Date": [ - "Tue, 27 Apr 2021 17:39:38 GMT" + "Wed, 16 Jun 2021 06:00:50 GMT" ], "Content-Length": [ "363" @@ -624,12 +624,12 @@ "application/json" ] }, - "ResponseBody": "{\r\n \"id\": \"/subscriptions/80be3961-0521-4a0a-8570-5cd5a4e2f98c/resourceGroups/CosmosDBResourceGroup3668/providers/Microsoft.DocumentDB/databaseAccounts/db2048/tables/tableName22527/throughputSettings/default\",\r\n \"type\": \"Microsoft.DocumentDB/databaseAccounts/tables/throughputSettings\",\r\n \"name\": \"CXCZ\",\r\n \"properties\": {\r\n \"resource\": {\r\n \"throughput\": 700,\r\n \"minimumThroughput\": \"400\"\r\n }\r\n }\r\n}", + "ResponseBody": "{\r\n \"id\": \"/subscriptions/259fbb24-9bcd-4cfc-865c-fc33b22fe38a/resourceGroups/CosmosDBResourceGroup3668/providers/Microsoft.DocumentDB/databaseAccounts/db2048/tables/tableName22527/throughputSettings/default\",\r\n \"type\": \"Microsoft.DocumentDB/databaseAccounts/tables/throughputSettings\",\r\n \"name\": \"Y5FA\",\r\n \"properties\": {\r\n \"resource\": {\r\n \"throughput\": 700,\r\n \"minimumThroughput\": \"400\"\r\n }\r\n }\r\n}", "StatusCode": 200 } ], "Names": {}, "Variables": { - "SubscriptionId": "80be3961-0521-4a0a-8570-5cd5a4e2f98c" + "SubscriptionId": "259fbb24-9bcd-4cfc-865c-fc33b22fe38a" } } \ No newline at end of file From 6ac2f796fcda397f427feb47f93d4f78c492370f Mon Sep 17 00:00:00 2001 From: Heath Stewart Date: Fri, 18 Jun 2021 16:41:13 -0700 Subject: [PATCH 12/27] Fix Managed HSM test deployment (#21979) Also gets rid of unnecessary, deprecated enableSoftDelete parameter. --- sdk/keyvault/test-resources.json | 21 +++++++-------------- 1 file changed, 7 insertions(+), 14 deletions(-) diff --git a/sdk/keyvault/test-resources.json b/sdk/keyvault/test-resources.json index 8b0fd1f4b320..f4f7299cbdf4 100644 --- a/sdk/keyvault/test-resources.json +++ b/sdk/keyvault/test-resources.json @@ -60,13 +60,6 @@ "description": "Whether to enable deployment of Managed HSM. The default is false." } }, - "enableSoftDelete": { - "type": "bool", - "defaultValue": true, - "metadata": { - "description": "Whether to enable soft delete for the Key Vault. The default is true." - } - }, "keyVaultSku": { "type": "string", "defaultValue": "premium", @@ -78,7 +71,7 @@ "variables": { "kvApiVersion": "2019-09-01", "kvName": "[parameters('baseName')]", - "hsmApiVersion": "2020-04-01-preview", + "hsmApiVersion": "2021-04-01-preview", "hsmName": "[concat(parameters('baseName'), 'hsm')]", "mgmtApiVersion": "2019-04-01", "blobContainerName": "backup", @@ -93,10 +86,8 @@ }, "networkAcls": { "bypass": "AzureServices", - "virtualNetworkRules": [ - ], - "ipRules": [ - ], + "virtualNetworkRules": [], + "ipRules": [], "defaultAction": "Allow" } }, @@ -169,7 +160,7 @@ "enabledForDeployment": false, "enabledForDiskEncryption": false, "enabledForTemplateDeployment": false, - "enableSoftDelete": "[parameters('enableSoftDelete')]" + "enableSoftDelete": true } }, { @@ -188,7 +179,9 @@ "[parameters('testApplicationOid')]" ], "enablePurgeProtection": false, - "enableSoftDelete": "[parameters('enableSoftDelete')]" + "enableSoftDelete": true, + "publicNetworkAccess": "Enabled", + "networkAcls": "[variables('networkAcls')]" } }, { From a358f1054d6461fcac676c46cbd8bbbc680b222b Mon Sep 17 00:00:00 2001 From: Krzysztof Cwalina Date: Fri, 18 Jun 2021 16:48:09 -0700 Subject: [PATCH 13/27] WPS changes based on API reviews, PR reviews, and changes to LLC plans (#21968) * Fixed pipeline break * 100% methods have protocol overloads * API cleanup * Update API file * renamed message to content * bug fix and parameter validation --- ...zure.Messaging.WebPubSub.netstandard2.0.cs | 43 ++-- .../src/Generated/WebPubSubServiceClient.cs | 48 ++-- .../src/GlobalSuppressions.cs | 6 + .../src/WebPubSubAuthenticationPolicy.cs | 4 +- .../WebPubSubAuthenticationPolicy_token.cs | 13 +- .../src/WebPubSubServiceClient_extensions.cs | 212 +++++++++--------- .../src/WebPubSubServiceClient_helpers.cs | 51 ++++- .../src/swagger/WebPubSub.json | 6 +- .../Samples/WebPubSubSamples.HelloWorld.cs | 2 +- .../WebPubSubParseConnectionStringTests.cs | 2 +- 10 files changed, 209 insertions(+), 178 deletions(-) create mode 100644 sdk/webpubsub/Azure.Messaging.WebPubSub/src/GlobalSuppressions.cs diff --git a/sdk/webpubsub/Azure.Messaging.WebPubSub/api/Azure.Messaging.WebPubSub.netstandard2.0.cs b/sdk/webpubsub/Azure.Messaging.WebPubSub/api/Azure.Messaging.WebPubSub.netstandard2.0.cs index 94563ad6befa..9c5fa0c04310 100644 --- a/sdk/webpubsub/Azure.Messaging.WebPubSub/api/Azure.Messaging.WebPubSub.netstandard2.0.cs +++ b/sdk/webpubsub/Azure.Messaging.WebPubSub/api/Azure.Messaging.WebPubSub.netstandard2.0.cs @@ -19,43 +19,44 @@ public WebPubSubServiceClient(System.Uri endpoint, string hub, Azure.AzureKeyCre public virtual System.Threading.Tasks.Task AddConnectionToGroupAsync(string group, string connectionId, Azure.RequestOptions requestOptions = null) { throw null; } public virtual Azure.Response AddUserToGroup(string group, string userId, Azure.RequestOptions requestOptions = null) { throw null; } public virtual System.Threading.Tasks.Task AddUserToGroupAsync(string group, string userId, Azure.RequestOptions requestOptions = null) { throw null; } - public virtual Azure.Response CheckPermission(Azure.Messaging.WebPubSub.WebPubSubPermission permission, string connectionId, string targetName = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual System.Threading.Tasks.Task CheckPermissionAsync(Azure.Messaging.WebPubSub.WebPubSubPermission permission, string connectionId, string targetName = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.Response CheckPermission(Azure.Messaging.WebPubSub.WebPubSubPermission permission, string connectionId, string targetName = null, Azure.RequestOptions options = null) { throw null; } + public virtual System.Threading.Tasks.Task> CheckPermissionAsync(Azure.Messaging.WebPubSub.WebPubSubPermission permission, string connectionId, string targetName = null, Azure.RequestOptions options = null) { throw null; } public virtual Azure.Response CloseClientConnection(string connectionId, string reason = null, Azure.RequestOptions requestOptions = null) { throw null; } public virtual System.Threading.Tasks.Task CloseClientConnectionAsync(string connectionId, string reason = null, Azure.RequestOptions requestOptions = null) { throw null; } - public virtual Azure.Response ConnectionExists(string connectionId, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual System.Threading.Tasks.Task> ConnectionExistsAsync(string connectionId, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual System.Uri GenerateClientAccessUri(string userId = null, string[] roles = null, System.TimeSpan expiresAfter = default(System.TimeSpan)) { throw null; } - public virtual Azure.Response GrantPermission(Azure.Messaging.WebPubSub.WebPubSubPermission permission, string connectionId, string targetName = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual System.Threading.Tasks.Task GrantPermissionAsync(Azure.Messaging.WebPubSub.WebPubSubPermission permission, string connectionId, string targetName = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual Azure.Response GroupExists(string group, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual System.Threading.Tasks.Task> GroupExistsAsync(string group, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.Response ConnectionExists(string connectionId, Azure.RequestOptions options = null) { throw null; } + public virtual System.Threading.Tasks.Task> ConnectionExistsAsync(string connectionId, Azure.RequestOptions options = null) { throw null; } + public virtual System.Uri GenerateClientAccessUri(System.DateTime expiresAtUtc, string userId = null, params string[] roles) { throw null; } + public virtual System.Uri GenerateClientAccessUri(System.TimeSpan expiresAfter = default(System.TimeSpan), string userId = null, params string[] roles) { throw null; } + public virtual Azure.Response GrantPermission(Azure.Messaging.WebPubSub.WebPubSubPermission permission, string connectionId, string targetName = null, Azure.RequestOptions options = null) { throw null; } + public virtual System.Threading.Tasks.Task GrantPermissionAsync(Azure.Messaging.WebPubSub.WebPubSubPermission permission, string connectionId, string targetName = null, Azure.RequestOptions options = null) { throw null; } + public virtual Azure.Response GroupExists(string group, Azure.RequestOptions options = null) { throw null; } + public virtual System.Threading.Tasks.Task> GroupExistsAsync(string group, Azure.RequestOptions options = null) { throw null; } public virtual Azure.Response RemoveConnectionFromGroup(string group, string connectionId, Azure.RequestOptions requestOptions = null) { throw null; } public virtual System.Threading.Tasks.Task RemoveConnectionFromGroupAsync(string group, string connectionId, Azure.RequestOptions requestOptions = null) { throw null; } public virtual Azure.Response RemoveUserFromAllGroups(string userId, Azure.RequestOptions requestOptions = null) { throw null; } public virtual System.Threading.Tasks.Task RemoveUserFromAllGroupsAsync(string userId, Azure.RequestOptions requestOptions = null) { throw null; } public virtual Azure.Response RemoveUserFromGroup(string group, string userId, Azure.RequestOptions requestOptions = null) { throw null; } public virtual System.Threading.Tasks.Task RemoveUserFromGroupAsync(string group, string userId, Azure.RequestOptions requestOptions = null) { throw null; } - public virtual Azure.Response RevokePermission(Azure.Messaging.WebPubSub.WebPubSubPermission permission, string connectionId, string targetName = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual System.Threading.Tasks.Task RevokePermissionAsync(Azure.Messaging.WebPubSub.WebPubSubPermission permission, string connectionId, string targetName = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.Response RevokePermission(Azure.Messaging.WebPubSub.WebPubSubPermission permission, string connectionId, string targetName = null, Azure.RequestOptions options = null) { throw null; } + public virtual System.Threading.Tasks.Task RevokePermissionAsync(Azure.Messaging.WebPubSub.WebPubSubPermission permission, string connectionId, string targetName = null, Azure.RequestOptions options = null) { throw null; } + public virtual Azure.Response SendToAll(string content, Azure.Core.ContentType contentType = default(Azure.Core.ContentType)) { throw null; } public virtual Azure.Response SendToAll(string contentType, Azure.Core.RequestContent requestBody, System.Collections.Generic.IEnumerable excluded = null, Azure.RequestOptions requestOptions = null) { throw null; } - public virtual Azure.Response SendToAll(string message, System.Collections.Generic.IEnumerable excluded = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual System.Threading.Tasks.Task SendToAllAsync(string content, Azure.Core.ContentType contentType = default(Azure.Core.ContentType)) { throw null; } public virtual System.Threading.Tasks.Task SendToAllAsync(string contentType, Azure.Core.RequestContent requestBody, System.Collections.Generic.IEnumerable excluded = null, Azure.RequestOptions requestOptions = null) { throw null; } - public virtual System.Threading.Tasks.Task SendToAllAsync(string message, System.Collections.Generic.IEnumerable excluded = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.Response SendToConnection(string connectionId, string content, Azure.Core.ContentType contentType = default(Azure.Core.ContentType)) { throw null; } public virtual Azure.Response SendToConnection(string connectionId, string contentType, Azure.Core.RequestContent requestBody, Azure.RequestOptions requestOptions = null) { throw null; } - public virtual Azure.Response SendToConnection(string connectionId, string message, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual System.Threading.Tasks.Task SendToConnectionAsync(string connectionId, string content, Azure.Core.ContentType contentType = default(Azure.Core.ContentType)) { throw null; } public virtual System.Threading.Tasks.Task SendToConnectionAsync(string connectionId, string contentType, Azure.Core.RequestContent requestBody, Azure.RequestOptions requestOptions = null) { throw null; } - public virtual System.Threading.Tasks.Task SendToConnectionAsync(string connectionId, string message, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.Response SendToGroup(string group, string content, Azure.Core.ContentType contentType = default(Azure.Core.ContentType)) { throw null; } public virtual Azure.Response SendToGroup(string group, string contentType, Azure.Core.RequestContent requestBody, System.Collections.Generic.IEnumerable excluded = null, Azure.RequestOptions requestOptions = null) { throw null; } - public virtual Azure.Response SendToGroup(string group, string message, System.Collections.Generic.IEnumerable excluded = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual System.Threading.Tasks.Task SendToGroupAsync(string group, string content, Azure.Core.ContentType contentType = default(Azure.Core.ContentType)) { throw null; } public virtual System.Threading.Tasks.Task SendToGroupAsync(string group, string contentType, Azure.Core.RequestContent requestBody, System.Collections.Generic.IEnumerable excluded = null, Azure.RequestOptions requestOptions = null) { throw null; } - public virtual System.Threading.Tasks.Task SendToGroupAsync(string group, string message, System.Collections.Generic.IEnumerable excluded = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.Response SendToUser(string userId, string content, Azure.Core.ContentType contentType = default(Azure.Core.ContentType)) { throw null; } public virtual Azure.Response SendToUser(string userId, string contentType, Azure.Core.RequestContent requestBody, Azure.RequestOptions requestOptions = null) { throw null; } - public virtual Azure.Response SendToUser(string userId, string message, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual System.Threading.Tasks.Task SendToUserAsync(string userId, string content, Azure.Core.ContentType contentType = default(Azure.Core.ContentType)) { throw null; } public virtual System.Threading.Tasks.Task SendToUserAsync(string userId, string contentType, Azure.Core.RequestContent requestBody, Azure.RequestOptions requestOptions = null) { throw null; } - public virtual System.Threading.Tasks.Task SendToUserAsync(string userId, string message, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual Azure.Response UserExists(string userId, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual System.Threading.Tasks.Task> UserExistsAsync(string userId, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.Response UserExists(string userId, Azure.RequestOptions options = null) { throw null; } + public virtual System.Threading.Tasks.Task> UserExistsAsync(string userId, Azure.RequestOptions options = null) { throw null; } } public partial class WebPubSubServiceClientOptions : Azure.Core.ClientOptions { diff --git a/sdk/webpubsub/Azure.Messaging.WebPubSub/src/Generated/WebPubSubServiceClient.cs b/sdk/webpubsub/Azure.Messaging.WebPubSub/src/Generated/WebPubSubServiceClient.cs index 2df95503c458..9dae6c00ef54 100644 --- a/sdk/webpubsub/Azure.Messaging.WebPubSub/src/Generated/WebPubSubServiceClient.cs +++ b/sdk/webpubsub/Azure.Messaging.WebPubSub/src/Generated/WebPubSubServiceClient.cs @@ -146,16 +146,16 @@ private HttpMessage CreateSendToAllRequest(string contentType, RequestContent re /// The connection Id. /// The request options. #pragma warning disable AZC0002 - internal virtual async Task ConnectionExistsAsync(string connectionId, RequestOptions requestOptions = null) + internal virtual async Task ConnectionExistsImplAsync(string connectionId, RequestOptions requestOptions = null) #pragma warning restore AZC0002 { requestOptions ??= new RequestOptions(); - HttpMessage message = CreateConnectionExistsRequest(connectionId, requestOptions); + HttpMessage message = CreateConnectionExistsImplRequest(connectionId, requestOptions); if (requestOptions.PerCallPolicy != null) { message.SetProperty("RequestOptionsPerCallPolicyCallback", requestOptions.PerCallPolicy); } - using var scope = _clientDiagnostics.CreateScope("WebPubSubServiceClient.ConnectionExists"); + using var scope = _clientDiagnostics.CreateScope("WebPubSubServiceClient.ConnectionExistsImpl"); scope.Start(); try { @@ -187,16 +187,16 @@ internal virtual async Task ConnectionExistsAsync(string connectionId, /// The connection Id. /// The request options. #pragma warning disable AZC0002 - internal virtual Response ConnectionExists(string connectionId, RequestOptions requestOptions = null) + internal virtual Response ConnectionExistsImpl(string connectionId, RequestOptions requestOptions = null) #pragma warning restore AZC0002 { requestOptions ??= new RequestOptions(); - HttpMessage message = CreateConnectionExistsRequest(connectionId, requestOptions); + HttpMessage message = CreateConnectionExistsImplRequest(connectionId, requestOptions); if (requestOptions.PerCallPolicy != null) { message.SetProperty("RequestOptionsPerCallPolicyCallback", requestOptions.PerCallPolicy); } - using var scope = _clientDiagnostics.CreateScope("WebPubSubServiceClient.ConnectionExists"); + using var scope = _clientDiagnostics.CreateScope("WebPubSubServiceClient.ConnectionExistsImpl"); scope.Start(); try { @@ -224,10 +224,10 @@ internal virtual Response ConnectionExists(string connectionId, RequestOptions r } } - /// Create Request for and operations. + /// Create Request for and operations. /// The connection Id. /// The request options. - private HttpMessage CreateConnectionExistsRequest(string connectionId, RequestOptions requestOptions = null) + private HttpMessage CreateConnectionExistsImplRequest(string connectionId, RequestOptions requestOptions = null) { var message = Pipeline.CreateMessage(); var request = message.Request; @@ -470,16 +470,16 @@ private HttpMessage CreateSendToConnectionRequest(string connectionId, string co /// Target group name, which length should be greater than 0 and less than 1025. /// The request options. #pragma warning disable AZC0002 - internal virtual async Task GroupExistsAsync(string group, RequestOptions requestOptions = null) + internal virtual async Task GroupExistsImplAsync(string group, RequestOptions requestOptions = null) #pragma warning restore AZC0002 { requestOptions ??= new RequestOptions(); - HttpMessage message = CreateGroupExistsRequest(group, requestOptions); + HttpMessage message = CreateGroupExistsImplRequest(group, requestOptions); if (requestOptions.PerCallPolicy != null) { message.SetProperty("RequestOptionsPerCallPolicyCallback", requestOptions.PerCallPolicy); } - using var scope = _clientDiagnostics.CreateScope("WebPubSubServiceClient.GroupExists"); + using var scope = _clientDiagnostics.CreateScope("WebPubSubServiceClient.GroupExistsImpl"); scope.Start(); try { @@ -511,16 +511,16 @@ internal virtual async Task GroupExistsAsync(string group, RequestOpti /// Target group name, which length should be greater than 0 and less than 1025. /// The request options. #pragma warning disable AZC0002 - internal virtual Response GroupExists(string group, RequestOptions requestOptions = null) + internal virtual Response GroupExistsImpl(string group, RequestOptions requestOptions = null) #pragma warning restore AZC0002 { requestOptions ??= new RequestOptions(); - HttpMessage message = CreateGroupExistsRequest(group, requestOptions); + HttpMessage message = CreateGroupExistsImplRequest(group, requestOptions); if (requestOptions.PerCallPolicy != null) { message.SetProperty("RequestOptionsPerCallPolicyCallback", requestOptions.PerCallPolicy); } - using var scope = _clientDiagnostics.CreateScope("WebPubSubServiceClient.GroupExists"); + using var scope = _clientDiagnostics.CreateScope("WebPubSubServiceClient.GroupExistsImpl"); scope.Start(); try { @@ -548,10 +548,10 @@ internal virtual Response GroupExists(string group, RequestOptions requestOption } } - /// Create Request for and operations. + /// Create Request for and operations. /// Target group name, which length should be greater than 0 and less than 1025. /// The request options. - private HttpMessage CreateGroupExistsRequest(string group, RequestOptions requestOptions = null) + private HttpMessage CreateGroupExistsImplRequest(string group, RequestOptions requestOptions = null) { var message = Pipeline.CreateMessage(); var request = message.Request; @@ -908,16 +908,16 @@ private HttpMessage CreateRemoveConnectionFromGroupRequest(string group, string /// Target user Id. /// The request options. #pragma warning disable AZC0002 - internal virtual async Task UserExistsAsync(string userId, RequestOptions requestOptions = null) + internal virtual async Task UserExistsImplAsync(string userId, RequestOptions requestOptions = null) #pragma warning restore AZC0002 { requestOptions ??= new RequestOptions(); - HttpMessage message = CreateUserExistsRequest(userId, requestOptions); + HttpMessage message = CreateUserExistsImplRequest(userId, requestOptions); if (requestOptions.PerCallPolicy != null) { message.SetProperty("RequestOptionsPerCallPolicyCallback", requestOptions.PerCallPolicy); } - using var scope = _clientDiagnostics.CreateScope("WebPubSubServiceClient.UserExists"); + using var scope = _clientDiagnostics.CreateScope("WebPubSubServiceClient.UserExistsImpl"); scope.Start(); try { @@ -949,16 +949,16 @@ internal virtual async Task UserExistsAsync(string userId, RequestOpti /// Target user Id. /// The request options. #pragma warning disable AZC0002 - internal virtual Response UserExists(string userId, RequestOptions requestOptions = null) + internal virtual Response UserExistsImpl(string userId, RequestOptions requestOptions = null) #pragma warning restore AZC0002 { requestOptions ??= new RequestOptions(); - HttpMessage message = CreateUserExistsRequest(userId, requestOptions); + HttpMessage message = CreateUserExistsImplRequest(userId, requestOptions); if (requestOptions.PerCallPolicy != null) { message.SetProperty("RequestOptionsPerCallPolicyCallback", requestOptions.PerCallPolicy); } - using var scope = _clientDiagnostics.CreateScope("WebPubSubServiceClient.UserExists"); + using var scope = _clientDiagnostics.CreateScope("WebPubSubServiceClient.UserExistsImpl"); scope.Start(); try { @@ -986,10 +986,10 @@ internal virtual Response UserExists(string userId, RequestOptions requestOption } } - /// Create Request for and operations. + /// Create Request for and operations. /// Target user Id. /// The request options. - private HttpMessage CreateUserExistsRequest(string userId, RequestOptions requestOptions = null) + private HttpMessage CreateUserExistsImplRequest(string userId, RequestOptions requestOptions = null) { var message = Pipeline.CreateMessage(); var request = message.Request; diff --git a/sdk/webpubsub/Azure.Messaging.WebPubSub/src/GlobalSuppressions.cs b/sdk/webpubsub/Azure.Messaging.WebPubSub/src/GlobalSuppressions.cs new file mode 100644 index 000000000000..b6f456d951a1 --- /dev/null +++ b/sdk/webpubsub/Azure.Messaging.WebPubSub/src/GlobalSuppressions.cs @@ -0,0 +1,6 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +using System.Diagnostics.CodeAnalysis; + +[assembly: SuppressMessage("Usage", "AZC0002:DO ensure all service methods, both asynchronous and synchronous, take an optional CancellationToken parameter called cancellationToken.", Justification = "CancellationToken can be passed through RequestOptions")] diff --git a/sdk/webpubsub/Azure.Messaging.WebPubSub/src/WebPubSubAuthenticationPolicy.cs b/sdk/webpubsub/Azure.Messaging.WebPubSub/src/WebPubSubAuthenticationPolicy.cs index 148c59bc6b2a..817b32fbd056 100644 --- a/sdk/webpubsub/Azure.Messaging.WebPubSub/src/WebPubSubAuthenticationPolicy.cs +++ b/sdk/webpubsub/Azure.Messaging.WebPubSub/src/WebPubSubAuthenticationPolicy.cs @@ -26,7 +26,9 @@ internal partial class WebPubSubAuthenticationPolicy : HttpPipelineSynchronousPo public override void OnSendingRequest(HttpMessage message) { string audience = message.Request.Uri.ToUri().AbsoluteUri; - string accessToken = JwtUtils.GenerateJwtBearer(audience, claims: null, expiresAfter: TimeSpan.FromMinutes(10), _credential); + var expiresAt = DateTime.UtcNow + TimeSpan.FromMinutes(10); + + string accessToken = JwtUtils.GenerateJwtBearer(audience, claims: null, expiresAt, _credential); var header = new AuthenticationHeaderValue("Bearer", accessToken); message.Request.Headers.SetValue(HttpHeader.Names.Authorization, header.ToString()); diff --git a/sdk/webpubsub/Azure.Messaging.WebPubSub/src/WebPubSubAuthenticationPolicy_token.cs b/sdk/webpubsub/Azure.Messaging.WebPubSub/src/WebPubSubAuthenticationPolicy_token.cs index 1e70fc689e36..9787aa2d7980 100644 --- a/sdk/webpubsub/Azure.Messaging.WebPubSub/src/WebPubSubAuthenticationPolicy_token.cs +++ b/sdk/webpubsub/Azure.Messaging.WebPubSub/src/WebPubSubAuthenticationPolicy_token.cs @@ -26,22 +26,23 @@ internal partial class WebPubSubAuthenticationPolicy : HttpPipelineSynchronousPo /// /// /// - /// + /// DateTime.Kind must be DateTimeKind.Utc. /// SHA512 if true, otherwise SHA256 /// public static string GenerateAccessToken( string audience, IEnumerable claims, AzureKeyCredential key, - TimeSpan expireAfter = default, + DateTime expiresAtUtc = default, bool hmacSha512 = false) { - if (expireAfter == default) expireAfter = TimeSpan.FromMinutes(10); + if (expiresAtUtc.Kind != DateTimeKind.Utc) + throw new ArgumentOutOfRangeException(nameof(expiresAtUtc)); var jwtToken = JwtUtils.GenerateJwtBearer( audience: audience, claims: claims, - expiresAfter: expireAfter, + expiresAt: expiresAtUtc, key: key, hmacSha512: hmacSha512 ); @@ -59,13 +60,11 @@ private static class JwtUtils public static string GenerateJwtBearer( string audience, IEnumerable claims, - TimeSpan expiresAfter, + DateTime expiresAt, AzureKeyCredential key, string issuer = null, bool hmacSha512 = false) { - var expiresAt = DateTime.UtcNow.Add(expiresAfter); - var subject = claims == null ? null : new ClaimsIdentity(claims); SigningCredentials credentials = null; if (key != null) diff --git a/sdk/webpubsub/Azure.Messaging.WebPubSub/src/WebPubSubServiceClient_extensions.cs b/sdk/webpubsub/Azure.Messaging.WebPubSub/src/WebPubSubServiceClient_extensions.cs index 365a0d23eca9..d0078826d588 100644 --- a/sdk/webpubsub/Azure.Messaging.WebPubSub/src/WebPubSubServiceClient_extensions.cs +++ b/sdk/webpubsub/Azure.Messaging.WebPubSub/src/WebPubSubServiceClient_extensions.cs @@ -19,8 +19,6 @@ public partial class WebPubSubServiceClient { private AzureKeyCredential _credential; - private const string JsonContent = "application/json"; - /// /// The hub. /// @@ -98,188 +96,184 @@ private WebPubSubServiceClient((Uri Endpoint, AzureKeyCredential Credential) par } /// Broadcast message to all the connected client connections. - /// - /// Excluded connection Ids. - /// The cancellation token to use. + /// + /// Defaults to ContentType.PlainText. /// A if successful. - public virtual async Task SendToAllAsync(string message, IEnumerable excluded = null, CancellationToken cancellationToken = default) + public virtual async Task SendToAllAsync(string content, ContentType contentType = default) { - RequestOptions options = default; - if (cancellationToken != default) - options = new RequestOptions() { CancellationToken = cancellationToken }; + Argument.AssertNotNull(content, nameof(content)); + + if (contentType == default) contentType = ContentType.TextPlain; - return await SendToAllAsync(JsonContent, RequestContent.Create((object)message), excluded, options).ConfigureAwait(false); + return await SendToAllAsync(contentType.ToString(), RequestContent.Create(content), default, requestOptions: default).ConfigureAwait(false); } /// Broadcast message to all the connected client connections. - /// - /// Excluded connection Ids. - /// The cancellation token to use. + /// + /// Defaults to ContentType.PlainText. /// A if successful. - public virtual Response SendToAll(string message, IEnumerable excluded = null, CancellationToken cancellationToken = default) + public virtual Response SendToAll(string content, ContentType contentType = default) { - RequestOptions options = default; - if (cancellationToken != default) - options = new RequestOptions() { CancellationToken = cancellationToken }; + Argument.AssertNotNull(content, nameof(content)); + + if (contentType == default) contentType = ContentType.TextPlain; - return SendToAll(JsonContent, RequestContent.Create((object)message), excluded, options); + return SendToAll(contentType.ToString(), RequestContent.Create(content), excluded: default, requestOptions: default); } /// /// Send message to the specific user. /// /// The user Id. - /// - /// + /// + /// Defaults to ContentType.PlainText. /// A if successful. - public virtual async Task SendToUserAsync(string userId, string message, CancellationToken cancellationToken = default) + public virtual async Task SendToUserAsync(string userId, string content, ContentType contentType = default) { - RequestOptions options = default; - if (cancellationToken != default) - options = new RequestOptions() { CancellationToken = cancellationToken }; + Argument.AssertNotNull(userId, nameof(userId)); + Argument.AssertNotNull(content, nameof(content)); - return await SendToUserAsync(userId, JsonContent, RequestContent.Create((object)message), options).ConfigureAwait(false); + if (contentType == default) contentType = ContentType.TextPlain; + + return await SendToUserAsync(userId, contentType.ToString(), RequestContent.Create(content), requestOptions: default).ConfigureAwait(false); } /// /// Send message to the specific user. /// /// The user Id. - /// - /// + /// + /// Defaults to ContentType.PlainText. /// A if successful. - public virtual Response SendToUser(string userId, string message, CancellationToken cancellationToken = default) + public virtual Response SendToUser(string userId, string content, ContentType contentType = default) { - RequestOptions options = default; - if (cancellationToken != default) - options = new RequestOptions() { CancellationToken = cancellationToken }; + Argument.AssertNotNull(userId, nameof(userId)); + Argument.AssertNotNull(content, nameof(content)); + + if (contentType == default) contentType = ContentType.TextPlain; - return SendToUser(userId, JsonContent, RequestContent.Create((object)message), options); + return SendToUser(userId, contentType.ToString(), RequestContent.Create(content), requestOptions: default); } /// /// Send message to the specific connection. /// /// The connection Id. - /// - /// + /// + /// Defaults to ContentType.PlainText. /// A if successful. - public virtual async Task SendToConnectionAsync(string connectionId, string message, CancellationToken cancellationToken = default) + public virtual async Task SendToConnectionAsync(string connectionId, string content, ContentType contentType = default) { - RequestOptions options = default; - if (cancellationToken != default) - options = new RequestOptions() { CancellationToken = cancellationToken }; + Argument.AssertNotNull(connectionId, nameof(connectionId)); + Argument.AssertNotNull(content, nameof(content)); + + if (contentType == default) contentType = ContentType.TextPlain; - return await SendToConnectionAsync(connectionId, JsonContent, RequestContent.Create((object)message), options).ConfigureAwait(false); + return await SendToConnectionAsync(connectionId, contentType.ToString(), RequestContent.Create(content), requestOptions: default).ConfigureAwait(false); } /// /// Send message to the specific connection. /// /// The connection Id. - /// - /// + /// + /// Defaults to ContentType.PlainText. /// A if successful. - public virtual Response SendToConnection(string connectionId, string message, CancellationToken cancellationToken = default) + public virtual Response SendToConnection(string connectionId, string content, ContentType contentType = default) { - RequestOptions options = default; - if (cancellationToken != default) - options = new RequestOptions() { CancellationToken = cancellationToken }; + Argument.AssertNotNull(connectionId, nameof(connectionId)); + Argument.AssertNotNull(content, nameof(content)); - return SendToConnection(connectionId, JsonContent, RequestContent.Create((object)message), options); + if (contentType == default) contentType = ContentType.TextPlain; + + return SendToConnection(connectionId, contentType.ToString(), RequestContent.Create(content), requestOptions: default); } /// /// Send message to a group of connections. /// /// Target group name, which length should be greater than 0 and less than 1025. - /// - /// Excluded connection Ids - /// + /// + /// Defaults to ContentType.PlainText. /// A if successful. - public virtual async Task SendToGroupAsync(string group, string message, IEnumerable excluded = null, CancellationToken cancellationToken = default) + public virtual async Task SendToGroupAsync(string group, string content, ContentType contentType = default) { - RequestOptions options = default; - if (cancellationToken != default) - options = new RequestOptions() { CancellationToken = cancellationToken }; + Argument.AssertNotNull(group, nameof(group)); + Argument.AssertNotNull(content, nameof(content)); + + if (contentType == default) contentType = ContentType.TextPlain; - return await SendToGroupAsync(group, JsonContent, RequestContent.Create((object)message), excluded, options).ConfigureAwait(false); + return await SendToGroupAsync(group, contentType.ToString(), RequestContent.Create(content), excluded : default, requestOptions: default).ConfigureAwait(false); } /// /// Send message to a group of connections. /// /// Target group name, which length should be greater than 0 and less than 1025. - /// - /// Excluded connection Ids - /// + /// + /// Defaults to ContentType.PlainText. /// A if successful. - public virtual Response SendToGroup(string group, string message, IEnumerable excluded = null, CancellationToken cancellationToken = default) + public virtual Response SendToGroup(string group, string content, ContentType contentType = default) { - RequestOptions options = default; - if (cancellationToken != default) - options = new RequestOptions() { CancellationToken = cancellationToken }; + Argument.AssertNotNull(group, nameof(group)); + Argument.AssertNotNull(content, nameof(content)); + + if (contentType == default) contentType = ContentType.TextPlain; - return SendToGroup(group, JsonContent, RequestContent.Create((object)message), excluded, options); + return SendToGroup(group, contentType.ToString(), RequestContent.Create(content), excluded : default, requestOptions: default); } /// Check if there are any client connections inside the given group. /// Target group name, which length should be greater than 0 and less than 1025. - /// The cancellation token to use. - public virtual async Task> GroupExistsAsync(string group, CancellationToken cancellationToken = default) + /// Options specifying the cancellation token, controlling error reporting, etc. + public virtual async Task> GroupExistsAsync(string group, RequestOptions options = default) { - var options = new RequestOptions() { StatusOption = ResponseStatusOption.NoThrow, CancellationToken = cancellationToken }; - var response = await GroupExistsAsync(group, options).ConfigureAwait(false); + var response = await GroupExistsImplAsync(group, options).ConfigureAwait(false); return Response.FromValue(response.Status == 200, response); } /// Check if there are any client connections inside the given group. /// Target group name, which length should be greater than 0 and less than 1025. - /// The cancellation token to use. - public virtual Response GroupExists(string group, CancellationToken cancellationToken = default) + /// Options specifying the cancellation token, controlling error reporting, etc. + public virtual Response GroupExists(string group, RequestOptions options = default) { - var options = new RequestOptions() { StatusOption = ResponseStatusOption.NoThrow, CancellationToken = cancellationToken }; - var response = GroupExists(group, options); + var response = GroupExistsImpl(group, options); return Response.FromValue(response.Status == 200, response); } /// Check if there are any client connections connected for the given user. /// Target user Id. - /// The cancellation token to use. - public virtual async Task> UserExistsAsync(string userId, CancellationToken cancellationToken = default) + /// Options specifying the cancellation token, controlling error reporting, etc. + public virtual async Task> UserExistsAsync(string userId, RequestOptions options = default) { - var options = new RequestOptions() { StatusOption = ResponseStatusOption.NoThrow, CancellationToken = cancellationToken }; - var response = await UserExistsAsync(userId, options).ConfigureAwait(false); + var response = await UserExistsImplAsync(userId, options).ConfigureAwait(false); return Response.FromValue(response.Status == 200, response); } /// Check if there are any client connections connected for the given user. /// Target user Id. - /// The cancellation token to use. - public virtual Response UserExists(string userId, CancellationToken cancellationToken = default) + /// Options specifying the cancellation token, controlling error reporting, etc. + public virtual Response UserExists(string userId, RequestOptions options = default) { - var options = new RequestOptions() { StatusOption = ResponseStatusOption.NoThrow, CancellationToken = cancellationToken }; - var response = UserExists(userId, options); + var response = UserExistsImpl(userId, options); return Response.FromValue(response.Status == 200, response); } /// Check if the connection with the given connectionId exists. /// The connection Id. - /// The cancellation token to use. - public virtual async Task> ConnectionExistsAsync(string connectionId, CancellationToken cancellationToken = default) + /// Options specifying the cancellation token, controlling error reporting, etc. + public virtual async Task> ConnectionExistsAsync(string connectionId, RequestOptions options = default) { - var options = new RequestOptions() { StatusOption = ResponseStatusOption.NoThrow, CancellationToken = cancellationToken }; - var response = await ConnectionExistsAsync(connectionId, options).ConfigureAwait(false); + var response = await ConnectionExistsImplAsync(connectionId, options).ConfigureAwait(false); return Response.FromValue(response.Status == 200, response); } /// Check if the connection with the given connectionId exists. /// The connection Id. - /// The cancellation token to use. - public virtual Response ConnectionExists(string connectionId, CancellationToken cancellationToken = default) + /// Options specifying the cancellation token, controlling error reporting, etc. + public virtual Response ConnectionExists(string connectionId, RequestOptions options = default) { - var options = new RequestOptions() { StatusOption = ResponseStatusOption.NoThrow, CancellationToken = cancellationToken }; - var response = ConnectionExists(connectionId, options); + var response = ConnectionExistsImpl(connectionId, options); return Response.FromValue(response.Status == 200, response); } @@ -287,11 +281,10 @@ public virtual Response ConnectionExists(string connectionId, Cancellation /// The permission: current supported actions are joinLeaveGroup and sendToGroup. /// Target connection Id. /// Optional. If not set, grant the permission to all the targets. If set, grant the permission to the specific target. The meaning of the target depends on the specific permission. - /// The cancellation token to use. - public virtual async Task GrantPermissionAsync(WebPubSubPermission permission, string connectionId, string targetName = null, CancellationToken cancellationToken = default) + /// Options specifying the cancellation token, controlling error reporting, etc. + public virtual async Task GrantPermissionAsync(WebPubSubPermission permission, string connectionId, string targetName = null, RequestOptions options = default) { - var options = new RequestOptions() { StatusOption = ResponseStatusOption.NoThrow, CancellationToken = cancellationToken }; - var response = await GrantPermissionAsync(permission.ToString(), connectionId, targetName, options).ConfigureAwait(false); + var response = await GrantPermissionAsync(PermissionToString(permission), connectionId, targetName, options).ConfigureAwait(false); return response; } @@ -299,11 +292,10 @@ public virtual async Task GrantPermissionAsync(WebPubSubPermission per /// The permission: current supported actions are joinLeaveGroup and sendToGroup. /// Target connection Id. /// Optional. If not set, grant the permission to all the targets. If set, grant the permission to the specific target. The meaning of the target depends on the specific permission. - /// The cancellation token to use. - public virtual Response GrantPermission(WebPubSubPermission permission, string connectionId, string targetName = null, CancellationToken cancellationToken = default) + /// Options specifying the cancellation token, controlling error reporting, etc. + public virtual Response GrantPermission(WebPubSubPermission permission, string connectionId, string targetName = null, RequestOptions options = default) { - var options = new RequestOptions() { StatusOption = ResponseStatusOption.NoThrow, CancellationToken = cancellationToken }; - var response = GrantPermission(permission.ToString(), connectionId, targetName, options); + var response = GrantPermission(PermissionToString(permission), connectionId, targetName, options); return response; } @@ -311,11 +303,10 @@ public virtual Response GrantPermission(WebPubSubPermission permission, string c /// The permission: current supported actions are joinLeaveGroup and sendToGroup. /// Target connection Id. /// Optional. If not set, revoke the permission for all targets. If set, revoke the permission for the specific target. The meaning of the target depends on the specific permission. - /// The cancellation token to use. - public virtual async Task RevokePermissionAsync(WebPubSubPermission permission, string connectionId, string targetName = null, CancellationToken cancellationToken = default) + /// Options specifying the cancellation token, controlling error reporting, etc. + public virtual async Task RevokePermissionAsync(WebPubSubPermission permission, string connectionId, string targetName = null, RequestOptions options = default) { - var options = new RequestOptions() { StatusOption = ResponseStatusOption.NoThrow, CancellationToken = cancellationToken }; - var response = await RevokePermissionAsync(permission.ToString(), connectionId, targetName, options).ConfigureAwait(false); + var response = await RevokePermissionAsync(PermissionToString(permission), connectionId, targetName, options).ConfigureAwait(false); return response; } @@ -323,11 +314,10 @@ public virtual async Task RevokePermissionAsync(WebPubSubPermission pe /// The permission: current supported actions are joinLeaveGroup and sendToGroup. /// Target connection Id. /// Optional. If not set, revoke the permission for all targets. If set, revoke the permission for the specific target. The meaning of the target depends on the specific permission. - /// The cancellation token to use. - public virtual Response RevokePermission(WebPubSubPermission permission, string connectionId, string targetName = null, CancellationToken cancellationToken = default) + /// Options specifying the cancellation token, controlling error reporting, etc. + public virtual Response RevokePermission(WebPubSubPermission permission, string connectionId, string targetName = null, RequestOptions options = default) { - var options = new RequestOptions() { StatusOption = ResponseStatusOption.NoThrow, CancellationToken = cancellationToken }; - var response = RevokePermission(permission.ToString(), connectionId, targetName, options); + var response = RevokePermission(PermissionToString(permission), connectionId, targetName, options); return response; } @@ -335,24 +325,22 @@ public virtual Response RevokePermission(WebPubSubPermission permission, string /// The permission: current supported actions are joinLeaveGroup and sendToGroup. /// Target connection Id. /// Optional. If not set, get the permission for all targets. If set, get the permission for the specific target. The meaning of the target depends on the specific permission. - /// The cancellation token to use. - public virtual async Task CheckPermissionAsync(WebPubSubPermission permission, string connectionId, string targetName = null, CancellationToken cancellationToken = default) + /// Options specifying the cancellation token, controlling error reporting, etc. + public virtual async Task> CheckPermissionAsync(WebPubSubPermission permission, string connectionId, string targetName = null, RequestOptions options = default) { - var options = new RequestOptions() { StatusOption = ResponseStatusOption.NoThrow, CancellationToken = cancellationToken }; - var response = await CheckPermissionAsync(permission.ToString(), connectionId, targetName, options).ConfigureAwait(false); - return response; + var response = await CheckPermissionAsync(PermissionToString(permission), connectionId, targetName, options).ConfigureAwait(false); + return Response.FromValue((response.Status == 200), response); } /// Check if a connection has permission to the specified action. /// The permission: current supported actions are joinLeaveGroup and sendToGroup. /// Target connection Id. /// Optional. If not set, get the permission for all targets. If set, get the permission for the specific target. The meaning of the target depends on the specific permission. - /// The cancellation token to use. - public virtual Response CheckPermission(WebPubSubPermission permission, string connectionId, string targetName = null, CancellationToken cancellationToken = default) + /// Options specifying the cancellation token, controlling error reporting, etc. + public virtual Response CheckPermission(WebPubSubPermission permission, string connectionId, string targetName = null, RequestOptions options = default) { - var options = new RequestOptions() { StatusOption = ResponseStatusOption.NoThrow, CancellationToken = cancellationToken }; - var response = CheckPermission(permission.ToString(), connectionId, targetName, options); - return response; + var response = CheckPermission(PermissionToString(permission), connectionId, targetName, options); + return Response.FromValue((response.Status == 200), response); } } } diff --git a/sdk/webpubsub/Azure.Messaging.WebPubSub/src/WebPubSubServiceClient_helpers.cs b/sdk/webpubsub/Azure.Messaging.WebPubSub/src/WebPubSubServiceClient_helpers.cs index cd3702ef8e6d..7e7f87bcd545 100644 --- a/sdk/webpubsub/Azure.Messaging.WebPubSub/src/WebPubSubServiceClient_helpers.cs +++ b/sdk/webpubsub/Azure.Messaging.WebPubSub/src/WebPubSubServiceClient_helpers.cs @@ -4,6 +4,7 @@ using System; using System.Collections.Generic; using System.Security.Claims; +using Azure.Core; using Azure.Core.Pipeline; namespace Azure.Messaging.WebPubSub @@ -22,17 +23,12 @@ public partial class WebPubSubServiceClient /// /// Creates a URI with authentication token. /// + /// UTC time when the token expires. /// /// - /// Defaults to one hour, if not specified. /// - public virtual Uri GenerateClientAccessUri(string userId = default, string[] roles = default, TimeSpan expiresAfter = default) + public virtual Uri GenerateClientAccessUri(DateTime expiresAtUtc, string userId = default, params string[] roles) { - if (expiresAfter == default) - { - expiresAfter = TimeSpan.FromHours(1); - } - List claims = new List(); if (userId != default) { @@ -54,7 +50,7 @@ public virtual Uri GenerateClientAccessUri(string userId = default, string[] rol } var audience = $"{endpoint}client/hubs/{hub}"; - string token = WebPubSubAuthenticationPolicy.GenerateAccessToken(audience, claims, _credential, expiresAfter); + string token = WebPubSubAuthenticationPolicy.GenerateAccessToken(audience, claims, _credential, expiresAtUtc); var clientEndpoint = new UriBuilder(endpoint); clientEndpoint.Scheme = this.endpoint.Scheme == "http" ? "ws" : "wss"; @@ -63,12 +59,38 @@ public virtual Uri GenerateClientAccessUri(string userId = default, string[] rol return new Uri(uriString); } + /// + /// Creates a URI with authentication token. + /// + /// Defaults to one hour, if not specified. Must be greater or equal zero. + /// + /// + /// + public virtual Uri GenerateClientAccessUri(TimeSpan expiresAfter = default, string userId = default, params string[] roles) + { + if (expiresAfter.TotalMilliseconds < 0) + throw new ArgumentOutOfRangeException(nameof(expiresAfter)); + + DateTime expiresAt = DateTime.UtcNow; + if (expiresAfter == default) + { + expiresAt += TimeSpan.FromHours(1); + } + else + { + expiresAt += expiresAfter; + } + return GenerateClientAccessUri(expiresAt, userId, roles); + } + /// /// Parse connection string to endpoint and credential /// /// internal static (Uri Endpoint, AzureKeyCredential Credential) ParseConnectionString(string connectionString) { + Argument.AssertNotNull(connectionString, nameof(connectionString)); + var properties = connectionString.Split(PropertySeparator, StringSplitOptions.RemoveEmptyEntries); var dict = new Dictionary(StringComparer.OrdinalIgnoreCase); @@ -119,5 +141,18 @@ internal static (Uri Endpoint, AzureKeyCredential Credential) ParseConnectionStr return (uriBuilder.Uri, new AzureKeyCredential(accessKey)); } + + internal static string PermissionToString(WebPubSubPermission permission) + { + switch (permission) + { + case WebPubSubPermission.SendToGroup: + return "sendToGroup"; + case WebPubSubPermission.JoinLeaveGroup: + return "joinLeaveGroup"; + default: + throw new ArgumentOutOfRangeException(nameof(permission)); + } + } } } diff --git a/sdk/webpubsub/Azure.Messaging.WebPubSub/src/swagger/WebPubSub.json b/sdk/webpubsub/Azure.Messaging.WebPubSub/src/swagger/WebPubSub.json index ded8d9684bdd..eabfa10aa84d 100644 --- a/sdk/webpubsub/Azure.Messaging.WebPubSub/src/swagger/WebPubSub.json +++ b/sdk/webpubsub/Azure.Messaging.WebPubSub/src/swagger/WebPubSub.json @@ -99,7 +99,7 @@ "webpubsub" ], "summary": "Check if the connection with the given connectionId exists.", - "operationId": "WebPubSubService_ConnectionExists", + "operationId": "WebPubSubService_ConnectionExistsImpl", "x-accessibility": "internal", "parameters": [ { @@ -254,7 +254,7 @@ "webpubsub" ], "summary": "Check if there are any client connections inside the given group", - "operationId": "WebPubSubService_GroupExists", + "operationId": "WebPubSubService_GroupExistsImpl", "x-accessibility": "internal", "parameters": [ { @@ -480,7 +480,7 @@ "webpubsub" ], "summary": "Check if there are any client connections connected for the given user.", - "operationId": "WebPubSubService_UserExists", + "operationId": "WebPubSubService_UserExistsImpl", "x-accessibility": "internal", "parameters": [ { diff --git a/sdk/webpubsub/Azure.Messaging.WebPubSub/tests/Samples/WebPubSubSamples.HelloWorld.cs b/sdk/webpubsub/Azure.Messaging.WebPubSub/tests/Samples/WebPubSubSamples.HelloWorld.cs index 03f95c389a58..2897f766d7ee 100644 --- a/sdk/webpubsub/Azure.Messaging.WebPubSub/tests/Samples/WebPubSubSamples.HelloWorld.cs +++ b/sdk/webpubsub/Azure.Messaging.WebPubSub/tests/Samples/WebPubSubSamples.HelloWorld.cs @@ -90,7 +90,7 @@ public void AddUserToGroup() client.AddUserToGroup("some_group", "some_user"); // Avoid sending messages to users who do not exist. - if (client.UserExists("some_user", CancellationToken.None).Value) + if (client.UserExists("some_user").Value) { client.SendToUser("some_user", "Hi, I am glad you exist!"); } diff --git a/sdk/webpubsub/Azure.Messaging.WebPubSub/tests/WebPubSubParseConnectionStringTests.cs b/sdk/webpubsub/Azure.Messaging.WebPubSub/tests/WebPubSubParseConnectionStringTests.cs index 6e83d0e62d20..d2e38677f68c 100644 --- a/sdk/webpubsub/Azure.Messaging.WebPubSub/tests/WebPubSubParseConnectionStringTests.cs +++ b/sdk/webpubsub/Azure.Messaging.WebPubSub/tests/WebPubSubParseConnectionStringTests.cs @@ -36,7 +36,7 @@ public void ParseConnectionStringTests(string connectionString, string url) public void TestGenerateUriContainsExpectedPayloads(string userId, string[] roles) { var serviceClient = new WebPubSubServiceClient(string.Format("Endpoint=http://localhost;Port=8080;AccessKey={0};Version=1.0;", FakeAccessKey), "hub"); - var uri = serviceClient.GenerateClientAccessUri(userId, roles, TimeSpan.FromMinutes(5)); + var uri = serviceClient.GenerateClientAccessUri(TimeSpan.FromMinutes(5), userId, roles); var token = HttpUtility.ParseQueryString(uri.Query).Get("access_token"); Assert.NotNull(token); var jwt = JwtTokenHandler.ReadJwtToken(token); From cbad4bb143cd1e8c59afbb3f52dc864d708f2522 Mon Sep 17 00:00:00 2001 From: Mohit Chakraborty <8271806+Mohit-Chakraborty@users.noreply.github.com> Date: Fri, 18 Jun 2021 17:47:38 -0700 Subject: [PATCH 14/27] Mark test as inconclusive if doc publish does not start (#21859) * Add asserts to verify all actions are counted for pending queue * Increase timeout of test --- .../tests/Batching/BatchingTests.cs | 16 +++++-- .../tests/Utilities/SearchTestBase.cs | 48 +++++++++++++++++++ 2 files changed, 60 insertions(+), 4 deletions(-) diff --git a/sdk/search/Azure.Search.Documents/tests/Batching/BatchingTests.cs b/sdk/search/Azure.Search.Documents/tests/Batching/BatchingTests.cs index b6732e50ddef..022c4b8c9920 100644 --- a/sdk/search/Azure.Search.Documents/tests/Batching/BatchingTests.cs +++ b/sdk/search/Azure.Search.Documents/tests/Batching/BatchingTests.cs @@ -364,6 +364,8 @@ public async Task Champion_BasicCheckpointing() AutoFlushInterval = null }); + int removeFailedCount = 0; + List> pending = new List>(); indexer.ActionAdded += (IndexActionEventArgs e) => @@ -374,13 +376,15 @@ public async Task Champion_BasicCheckpointing() indexer.ActionCompleted += (IndexActionCompletedEventArgs e) => { - pending.Remove(e.Action); + if (!pending.Remove(e.Action)) + { removeFailedCount++; } return Task.CompletedTask; }; indexer.ActionFailed += (IndexActionFailedEventArgs e) => { - pending.Remove(e.Action); + if (!pending.Remove(e.Action)) + { removeFailedCount++; } return Task.CompletedTask; }; @@ -388,11 +392,15 @@ public async Task Champion_BasicCheckpointing() await indexer.MergeDocumentsAsync(new[] { new SimpleDocument { Id = "Fake" } }); await indexer.UploadDocumentsAsync(data.Skip(500)); - await DelayAsync(TimeSpan.FromSeconds(5), TimeSpan.FromMilliseconds(250)); - Assert.AreEqual(1001 - BatchSize, pending.Count); + int expectedPendingQueueSize = 1001 - BatchSize; + + await ConditionallyDelayAsync(() => (pending.Count == expectedPendingQueueSize), TimeSpan.FromSeconds(2), TimeSpan.FromMilliseconds(250), 5); + Assert.AreEqual(expectedPendingQueueSize, pending.Count); + Assert.AreEqual(0, removeFailedCount); await indexer.FlushAsync(); Assert.AreEqual(0, pending.Count); + Assert.AreEqual(0, removeFailedCount); } #endregion diff --git a/sdk/search/Azure.Search.Documents/tests/Utilities/SearchTestBase.cs b/sdk/search/Azure.Search.Documents/tests/Utilities/SearchTestBase.cs index c43f3fcc9f80..933675955aa6 100644 --- a/sdk/search/Azure.Search.Documents/tests/Utilities/SearchTestBase.cs +++ b/sdk/search/Azure.Search.Documents/tests/Utilities/SearchTestBase.cs @@ -107,6 +107,54 @@ public async Task DelayAsync(TimeSpan? delay = null, TimeSpan? playbackDelay = n } } + /// + /// A number of our tests have built in delays while we wait an expected + /// amount of time for a service operation to complete and this method + /// allows us to wait (unless we're playing back recordings, which can + /// complete immediately). + /// This method allows us to return early if the condition evaluates to true. + /// It evaluates the predicate after every or time span. + /// It returns when the condition evaluates to true, or if the condition stays false after checks. + /// + /// Condition that will result in early end of delay when it evaluates to true. + /// The time to wait per iteration. Defaults to 1s. + /// + /// An optional time wait if we're playing back a recorded test. This + /// is useful for allowing client side events to get processed. + /// + /// Maximum number of iterations of the wait-and-check cycle. + /// Optional to check. + /// A task that will (optionally) delay. + /// The was signaled. + public async Task ConditionallyDelayAsync(Func predicate, TimeSpan ? delayPerIteration = null, TimeSpan? playbackDelayPerIteration = null, uint maxIterations = 1, CancellationToken cancellationToken = default) + { + TimeSpan waitPeriod = TimeSpan.Zero; + + for (int i = 0; i < maxIterations; i++) + { + if (predicate()) + { + TestContext.WriteLine($"{nameof(ConditionallyDelayAsync)}: Condition evaluated to true in {waitPeriod.TotalSeconds} seconds."); + return; + } + + cancellationToken.ThrowIfCancellationRequested(); + + if (Mode != RecordedTestMode.Playback) + { + waitPeriod += delayPerIteration ?? TimeSpan.FromSeconds(1); + await Task.Delay(delayPerIteration ?? TimeSpan.FromSeconds(1)); + } + else if (playbackDelayPerIteration != null) + { + waitPeriod += playbackDelayPerIteration.Value; + await Task.Delay(playbackDelayPerIteration.Value); + } + } + + TestContext.WriteLine($"{nameof(ConditionallyDelayAsync)}: Condition did not evaluate to true in {waitPeriod.TotalSeconds} seconds."); + } + /// /// Assert that we can catch the desired exception. NUnit's default /// forces everything to be sync. From c11b1289e120d8fd1bdad41808065f416f0ef824 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 21 Jun 2021 12:07:33 -0400 Subject: [PATCH 15/27] Bump log4net in /sdk/mgmtcommon/ClientRuntime.Log4Net (#21964) Bumps [log4net](https://github.com/apache/logging-log4net) from 2.0.3 to 2.0.10. - [Release notes](https://github.com/apache/logging-log4net/releases) - [Changelog](https://github.com/apache/logging-log4net/blob/master/ReleaseInstructions.txt) - [Commits](https://github.com/apache/logging-log4net/commits/rel/2.0.10) --- updated-dependencies: - dependency-name: log4net dependency-type: direct:production ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- .../Microsoft.Rest.ClientRuntime.Log4Net.csproj | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sdk/mgmtcommon/ClientRuntime.Log4Net/Microsoft.Rest.ClientRuntime.Log4Net.csproj b/sdk/mgmtcommon/ClientRuntime.Log4Net/Microsoft.Rest.ClientRuntime.Log4Net.csproj index 6495c6e7d0f1..4a41648d4270 100644 --- a/sdk/mgmtcommon/ClientRuntime.Log4Net/Microsoft.Rest.ClientRuntime.Log4Net.csproj +++ b/sdk/mgmtcommon/ClientRuntime.Log4Net/Microsoft.Rest.ClientRuntime.Log4Net.csproj @@ -16,7 +16,7 @@ - + From e4bc18f8973dbf5663e95e9b5a9a45e69c1014cf Mon Sep 17 00:00:00 2001 From: Azure SDK Bot <53356347+azure-sdk@users.noreply.github.com> Date: Mon, 21 Jun 2021 12:18:59 -0700 Subject: [PATCH 16/27] Sync eng/common directory with azure-sdk-tools for PR 1716 (#22013) * Update links with master to use main * Update ci.yml files Co-authored-by: Chidozie Ononiwu --- eng/common/README.md | 2 +- eng/common/docgeneration/Generate-DocIndex.ps1 | 2 +- eng/common/pipelines/templates/steps/check-spelling.yml | 2 +- .../pipelines/templates/steps/docs-metadata-release.yml | 2 +- .../templates/steps/eng-common-workflow-enforcer.yml | 2 +- eng/common/scripts/Create-APIReview.ps1 | 4 ++-- eng/common/scripts/Package-Properties.ps1 | 4 ++-- eng/common/scripts/Prepare-Release.ps1 | 2 +- eng/common/scripts/Update-DocsMsPackages.ps1 | 2 +- eng/common/scripts/artifact-metadata-parsing.ps1 | 2 +- eng/common/scripts/copy-docs-to-blobstorage.ps1 | 2 +- 11 files changed, 13 insertions(+), 13 deletions(-) diff --git a/eng/common/README.md b/eng/common/README.md index b9867f0705e2..732688daadc0 100644 --- a/eng/common/README.md +++ b/eng/common/README.md @@ -1,3 +1,3 @@ # Common Engineering System -Updates under this directory should only be made in the `azure-sdk-tools` repo as any changes under this directory outside of that repo will end up getting overwritten with future updates. For information about making updates see [common engineering system docs](https://github.com/Azure/azure-sdk-tools/blob/master/doc/common/common_engsys.md) +Updates under this directory should only be made in the `azure-sdk-tools` repo as any changes under this directory outside of that repo will end up getting overwritten with future updates. For information about making updates see [common engineering system docs](https://github.com/Azure/azure-sdk-tools/blob/main/doc/common/common_engsys.md) diff --git a/eng/common/docgeneration/Generate-DocIndex.ps1 b/eng/common/docgeneration/Generate-DocIndex.ps1 index 82b3a75e4e53..cf9b5f06ff95 100644 --- a/eng/common/docgeneration/Generate-DocIndex.ps1 +++ b/eng/common/docgeneration/Generate-DocIndex.ps1 @@ -177,5 +177,5 @@ else { LogWarning "The function for 'GetGithubIoDocIndexFn' was not found.` Make sure it is present in eng/scripts/Language-Settings.ps1 and referenced in eng/common/scripts/common.ps1.` - See https://github.com/Azure/azure-sdk-tools/blob/master/doc/common/common_engsys.md#code-structure" + See https://github.com/Azure/azure-sdk-tools/blob/main/doc/common/common_engsys.md#code-structure" } diff --git a/eng/common/pipelines/templates/steps/check-spelling.yml b/eng/common/pipelines/templates/steps/check-spelling.yml index 3865a3f26ece..986d729fc30c 100644 --- a/eng/common/pipelines/templates/steps/check-spelling.yml +++ b/eng/common/pipelines/templates/steps/check-spelling.yml @@ -2,7 +2,7 @@ # and some ref (branch, tag, etc.) or commit hash. Only runs on PRs. # ContinueOnError - true: Pipeline warns on spelling error # false: Pipeline fails on spelling error -# TargetBranch - Target ref (e.g. master) to compare to create file change +# TargetBranch - Target ref (e.g. main) to compare to create file change # list. # CspellConfigPath - Path to cspell.json config location diff --git a/eng/common/pipelines/templates/steps/docs-metadata-release.yml b/eng/common/pipelines/templates/steps/docs-metadata-release.yml index b3c844422585..2f58b90d4d10 100644 --- a/eng/common/pipelines/templates/steps/docs-metadata-release.yml +++ b/eng/common/pipelines/templates/steps/docs-metadata-release.yml @@ -26,7 +26,7 @@ parameters: default: '' - name: PRBranchName type: string - default: 'master-rdme' + default: 'main-rdme' - name: PRLabels type: string default: 'auto-merge' diff --git a/eng/common/pipelines/templates/steps/eng-common-workflow-enforcer.yml b/eng/common/pipelines/templates/steps/eng-common-workflow-enforcer.yml index 0125e6cbacee..b68e1cd0c27a 100644 --- a/eng/common/pipelines/templates/steps/eng-common-workflow-enforcer.yml +++ b/eng/common/pipelines/templates/steps/eng-common-workflow-enforcer.yml @@ -16,7 +16,7 @@ steps: if (($LASTEXITCODE -eq 0) -and ($filesInCommonDir.Count -gt 0)) { Write-Host "##vso[task.LogIssue type=error;]Changes to files under 'eng/common' directory should not be made in this Repo`n${filesInCommonDir}" - Write-Host "##vso[task.LogIssue type=error;]Please follow workflow at https://github.com/Azure/azure-sdk-tools/blob/master/doc/common/common_engsys.md" + Write-Host "##vso[task.LogIssue type=error;]Please follow workflow at https://github.com/Azure/azure-sdk-tools/blob/main/doc/common/common_engsys.md" exit 1 } } diff --git a/eng/common/scripts/Create-APIReview.ps1 b/eng/common/scripts/Create-APIReview.ps1 index 8b9007253274..0ef5e0ba6818 100644 --- a/eng/common/scripts/Create-APIReview.ps1 +++ b/eng/common/scripts/Create-APIReview.ps1 @@ -71,7 +71,7 @@ else { Write-Host "The function for 'FindArtifactForApiReviewFn' was not found.` Make sure it is present in eng/scripts/Language-Settings.ps1 and referenced in eng/common/scripts/common.ps1.` - See https://github.com/Azure/azure-sdk-tools/blob/master/doc/common/common_engsys.md#code-structure" + See https://github.com/Azure/azure-sdk-tools/blob/main/doc/common/common_engsys.md#code-structure" exit(1) } @@ -104,7 +104,7 @@ if ($packages) Write-Host "Version: $($version)" Write-Host "SDK Type: $($pkgInfo.SdkType)" - # Run create review step only if build is triggered from master branch or if version is GA. + # Run create review step only if build is triggered from main branch or if version is GA. # This is to avoid invalidating review status by a build triggered from feature branch if ( ($SourceBranch -eq $DefaultBranch) -or (-not $version.IsPrerelease)) { diff --git a/eng/common/scripts/Package-Properties.ps1 b/eng/common/scripts/Package-Properties.ps1 index 3aadc8d58064..64698a181b7e 100644 --- a/eng/common/scripts/Package-Properties.ps1 +++ b/eng/common/scripts/Package-Properties.ps1 @@ -126,7 +126,7 @@ function Get-AllPkgProperties ([string]$ServiceDirectory = $null) return $pkgPropsResult } -# Given the metadata url under https://github.com/Azure/azure-sdk/tree/master/_data/releases/latest, +# Given the metadata url under https://github.com/Azure/azure-sdk/tree/main/_data/releases/latest, # the function will return the csv metadata back as part of response. function Get-CSVMetadata ([string]$MetadataUri=$MetadataUri) { @@ -143,7 +143,7 @@ function Get-PkgPropsForEntireService ($serviceDirectoryPath) { LogError "The function for '$GetPackageInfoFromRepoFn' was not found.` Make sure it is present in eng/scripts/Language-Settings.ps1 and referenced in eng/common/scripts/common.ps1.` - See https://github.com/Azure/azure-sdk-tools/blob/master/doc/common/common_engsys.md#code-structure" + See https://github.com/Azure/azure-sdk-tools/blob/main/doc/common/common_engsys.md#code-structure" } foreach ($directory in (Get-ChildItem $serviceDirectoryPath -Directory)) diff --git a/eng/common/scripts/Prepare-Release.ps1 b/eng/common/scripts/Prepare-Release.ps1 index eed113299a2e..95f175d3fdaf 100644 --- a/eng/common/scripts/Prepare-Release.ps1 +++ b/eng/common/scripts/Prepare-Release.ps1 @@ -180,7 +180,7 @@ else { LogError "The function 'SetPackageVersion' was not found.` Make sure it is present in eng/scripts/Language-Settings.ps1.` - See https://github.com/Azure/azure-sdk-tools/blob/master/doc/common/common_engsys.md#code-structure" + See https://github.com/Azure/azure-sdk-tools/blob/main/doc/common/common_engsys.md#code-structure" exit 1 } diff --git a/eng/common/scripts/Update-DocsMsPackages.ps1 b/eng/common/scripts/Update-DocsMsPackages.ps1 index 2d43127b2b14..4292200f3b6f 100644 --- a/eng/common/scripts/Update-DocsMsPackages.ps1 +++ b/eng/common/scripts/Update-DocsMsPackages.ps1 @@ -31,6 +31,6 @@ if ($UpdateDocsMsPackagesFn -and (Test-Path "Function:$UpdateDocsMsPackagesFn")) } else { LogError "The function for '$UpdateFn' was not found.` Make sure it is present in eng/scripts/Language-Settings.ps1 and referenced in eng/common/scripts/common.ps1.` - See https://github.com/Azure/azure-sdk-tools/blob/master/doc/common/common_engsys.md#code-structure" + See https://github.com/Azure/azure-sdk-tools/blob/main/doc/common/common_engsys.md#code-structure" exit 1 } diff --git a/eng/common/scripts/artifact-metadata-parsing.ps1 b/eng/common/scripts/artifact-metadata-parsing.ps1 index 2339155b359d..dc96ee917288 100644 --- a/eng/common/scripts/artifact-metadata-parsing.ps1 +++ b/eng/common/scripts/artifact-metadata-parsing.ps1 @@ -101,7 +101,7 @@ function RetrievePackages($artifactLocation) { { LogError "The function for '$GetPackageInfoFromPackageFileFn' was not found.` Make sure it is present in eng/scripts/Language-Settings.ps1 and referenced in eng/common/scripts/common.ps1.` - See https://github.com/Azure/azure-sdk-tools/blob/master/doc/common/common_engsys.md#code-structure" + See https://github.com/Azure/azure-sdk-tools/blob/main/doc/common/common_engsys.md#code-structure" } } diff --git a/eng/common/scripts/copy-docs-to-blobstorage.ps1 b/eng/common/scripts/copy-docs-to-blobstorage.ps1 index 7864e9680f1f..f037dcf51e4f 100644 --- a/eng/common/scripts/copy-docs-to-blobstorage.ps1 +++ b/eng/common/scripts/copy-docs-to-blobstorage.ps1 @@ -240,6 +240,6 @@ else { LogWarning "The function for '$PublishGithubIODocsFn' was not found.` Make sure it is present in eng/scripts/Language-Settings.ps1 and referenced in eng/common/scripts/common.ps1.` - See https://github.com/Azure/azure-sdk-tools/blob/master/doc/common/common_engsys.md#code-structure" + See https://github.com/Azure/azure-sdk-tools/blob/main/doc/common/common_engsys.md#code-structure" } From 237cc4c044375d58552d4e8e840b34013844b5a9 Mon Sep 17 00:00:00 2001 From: Vishwesh Bankwar Date: Mon, 21 Jun 2021 13:02:02 -0700 Subject: [PATCH 17/27] Updating CODEOWNERS - Azure Monitor OTEL Exporter (#22018) --- .github/CODEOWNERS | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/CODEOWNERS b/.github/CODEOWNERS index 27f98a24d94e..17be87b103b8 100644 --- a/.github/CODEOWNERS +++ b/.github/CODEOWNERS @@ -401,7 +401,7 @@ sdk/monitor/Azure.Monitor.Query @pakrym # PRLabel: %Monitor - Exporter # ServiceLabel: %Monitor - Exporter %Service Attention -/sdk/monitor/Azure.Monitor.OpenTelemetry.*/ @cijothomas @reyang @rajkumar-rangaraj @TimothyMothra +/sdk/monitor/Azure.Monitor.OpenTelemetry.*/ @cijothomas @reyang @rajkumar-rangaraj @TimothyMothra @vishweshbankwar # ServiceLabel: %Monitor - Metrics %Service Attention #// @AzMonEssential From eaf699d728f6185237cea3d7c00bc8d3b6a82ad5 Mon Sep 17 00:00:00 2001 From: Chidozie Ononiwu Date: Mon, 21 Jun 2021 12:52:37 -0700 Subject: [PATCH 18/27] Clean up master ref in ci --- eng/containers/ci.yml | 1 - eng/pipelines/aggregate-reports.yml | 1 - eng/pipelines/mgmt.yml | 1 - eng/templates/Azure.ResourceManager.Template/content/ci.yml | 2 -- sdk/agrifood/ci.yml | 2 -- sdk/anomalydetector/ci.yml | 2 -- sdk/appconfiguration/ci.yml | 2 -- sdk/applicationinsights/ci.yml | 2 -- sdk/attestation/ci.yml | 2 -- sdk/batch/ci.yml | 2 -- sdk/cognitiveservices/ci.yml | 2 -- sdk/communication/ci.yml | 2 -- sdk/compute/ci.yml | 2 -- sdk/confidentialledger/ci.yml | 2 -- sdk/containerinstance/ci.yml | 2 -- sdk/containerregistry/ci.data.yml | 2 -- sdk/containerregistry/ci.yml | 2 -- sdk/core/ci.yml | 2 -- sdk/cosmosdb/ci.yml | 2 -- sdk/deviceupdate/ci.yml | 2 -- sdk/digitaltwins/ci.yml | 2 -- sdk/dns/ci.yml | 2 -- sdk/eventgrid/ci.yml | 2 -- sdk/eventhub/ci.data.yml | 2 -- sdk/eventhub/ci.mgmt.yml | 2 -- sdk/eventhub/ci.yml | 2 -- sdk/extensions/ci.yml | 2 -- sdk/formrecognizer/ci.yml | 2 -- sdk/graphrbac/ci.yml | 2 -- sdk/hdinsight/ci.yml | 2 -- sdk/identity/ci.yml | 2 -- sdk/insights/ci.yml | 2 -- sdk/iot/ci.yml | 2 -- sdk/keyvault/ci.yml | 2 -- sdk/machinelearningservices/ci.yml | 2 -- sdk/metricsadvisor/ci.yml | 2 -- sdk/mixedreality/ci.yml | 2 -- sdk/modelsrepository/ci.yml | 2 -- sdk/monitor/ci.yml | 2 -- sdk/network/ci.yml | 2 -- sdk/objectanchors/ci.yml | 2 -- sdk/operationalinsights/ci.yml | 2 -- sdk/purview/ci.yml | 2 -- sdk/quantum/ci.yml | 2 -- sdk/remoterendering/ci.yml | 2 -- sdk/resources/ci.yml | 2 -- sdk/schemaregistry/ci.yml | 2 -- sdk/search/ci.yml | 2 -- sdk/servicebus/ci.data.yml | 2 -- sdk/servicebus/ci.yml | 2 -- sdk/sqlmanagement/ci.yml | 2 -- sdk/storage/ci.yml | 2 -- sdk/synapse/ci.yml | 2 -- sdk/tables/ci.yml | 2 -- sdk/template/ci.yml | 2 -- sdk/textanalytics/ci.yml | 2 -- sdk/timeseriesinsights/ci.yml | 2 -- sdk/translation/ci.yml | 2 -- sdk/videoanalyzer/ci.yml | 2 -- sdk/webpubsub/ci.yml | 2 -- 60 files changed, 117 deletions(-) diff --git a/eng/containers/ci.yml b/eng/containers/ci.yml index bc85671ff5ac..1ae7ac990661 100644 --- a/eng/containers/ci.yml +++ b/eng/containers/ci.yml @@ -3,7 +3,6 @@ pr: none trigger: branches: include: - - master - main paths: include: diff --git a/eng/pipelines/aggregate-reports.yml b/eng/pipelines/aggregate-reports.yml index 943fe6353be9..20dfef1641f1 100644 --- a/eng/pipelines/aggregate-reports.yml +++ b/eng/pipelines/aggregate-reports.yml @@ -12,7 +12,6 @@ trigger: none pr: branches: include: - - master - main paths: include: diff --git a/eng/pipelines/mgmt.yml b/eng/pipelines/mgmt.yml index 42628c1d2a99..ebe205b7d181 100644 --- a/eng/pipelines/mgmt.yml +++ b/eng/pipelines/mgmt.yml @@ -2,7 +2,6 @@ trigger: none pr: branches: include: - - master - main - '*-preview' - 'feature/cplat*' diff --git a/eng/templates/Azure.ResourceManager.Template/content/ci.yml b/eng/templates/Azure.ResourceManager.Template/content/ci.yml index 9f091158a2a5..b603625002ad 100644 --- a/eng/templates/Azure.ResourceManager.Template/content/ci.yml +++ b/eng/templates/Azure.ResourceManager.Template/content/ci.yml @@ -3,7 +3,6 @@ trigger: branches: include: - - master - main - hotfix/* - release/* @@ -14,7 +13,6 @@ trigger: pr: branches: include: - - master - main - feature/* - hotfix/* diff --git a/sdk/agrifood/ci.yml b/sdk/agrifood/ci.yml index 5daa0dc29729..891387aca5cb 100644 --- a/sdk/agrifood/ci.yml +++ b/sdk/agrifood/ci.yml @@ -2,7 +2,6 @@ trigger: branches: include: - - master - main - hotfix/* - release/* @@ -13,7 +12,6 @@ trigger: pr: branches: include: - - master - main - feature/* - hotfix/* diff --git a/sdk/anomalydetector/ci.yml b/sdk/anomalydetector/ci.yml index 539baf28e7f8..e2516a5aae5d 100644 --- a/sdk/anomalydetector/ci.yml +++ b/sdk/anomalydetector/ci.yml @@ -3,7 +3,6 @@ trigger: branches: include: - - master - main - hotfix/* - release/* @@ -14,7 +13,6 @@ trigger: pr: branches: include: - - master - main - feature/* - hotfix/* diff --git a/sdk/appconfiguration/ci.yml b/sdk/appconfiguration/ci.yml index cee6761057dc..08581e5c22b6 100644 --- a/sdk/appconfiguration/ci.yml +++ b/sdk/appconfiguration/ci.yml @@ -3,7 +3,6 @@ trigger: branches: include: - - master - main - hotfix/* - release/* @@ -14,7 +13,6 @@ trigger: pr: branches: include: - - master - main - feature/* - hotfix/* diff --git a/sdk/applicationinsights/ci.yml b/sdk/applicationinsights/ci.yml index 2d9416ed08ad..49d6754bd51b 100644 --- a/sdk/applicationinsights/ci.yml +++ b/sdk/applicationinsights/ci.yml @@ -2,7 +2,6 @@ trigger: branches: include: - - master - main - hotfix/* - release/* @@ -13,7 +12,6 @@ trigger: pr: branches: include: - - master - main - feature/* - hotfix/* diff --git a/sdk/attestation/ci.yml b/sdk/attestation/ci.yml index e557a631192d..97b9e8aa4da7 100644 --- a/sdk/attestation/ci.yml +++ b/sdk/attestation/ci.yml @@ -3,7 +3,6 @@ trigger: branches: include: - - master - main - hotfix/* - release/* @@ -14,7 +13,6 @@ trigger: pr: branches: include: - - master - main - feature/* - hotfix/* diff --git a/sdk/batch/ci.yml b/sdk/batch/ci.yml index 59a14ce734f1..a9b78d73f70f 100644 --- a/sdk/batch/ci.yml +++ b/sdk/batch/ci.yml @@ -3,7 +3,6 @@ trigger: branches: include: - - master - main - hotfix/* - release/* @@ -14,7 +13,6 @@ trigger: pr: branches: include: - - master - main - feature/* - hotfix/* diff --git a/sdk/cognitiveservices/ci.yml b/sdk/cognitiveservices/ci.yml index b76bc08de435..5fe1212bad73 100644 --- a/sdk/cognitiveservices/ci.yml +++ b/sdk/cognitiveservices/ci.yml @@ -3,7 +3,6 @@ trigger: branches: include: - - master - main - hotfix/* - release/* @@ -14,7 +13,6 @@ trigger: pr: branches: include: - - master - main - feature/* - hotfix/* diff --git a/sdk/communication/ci.yml b/sdk/communication/ci.yml index c9434a21a1de..fd80f4dc7fa3 100644 --- a/sdk/communication/ci.yml +++ b/sdk/communication/ci.yml @@ -2,7 +2,6 @@ trigger: branches: include: - - master - main - hotfix/* - release/* @@ -13,7 +12,6 @@ trigger: pr: branches: include: - - master - main - feature/* - hotfix/* diff --git a/sdk/compute/ci.yml b/sdk/compute/ci.yml index 7144adcb2023..88192ffb2b4c 100644 --- a/sdk/compute/ci.yml +++ b/sdk/compute/ci.yml @@ -3,7 +3,6 @@ trigger: branches: include: - - master - main - hotfix/* - release/* @@ -14,7 +13,6 @@ trigger: pr: branches: include: - - master - main - feature/* - hotfix/* diff --git a/sdk/confidentialledger/ci.yml b/sdk/confidentialledger/ci.yml index 8d877aa9f229..c8ae6f615477 100644 --- a/sdk/confidentialledger/ci.yml +++ b/sdk/confidentialledger/ci.yml @@ -2,7 +2,6 @@ trigger: branches: include: - - master - main - hotfix/* - release/* @@ -13,7 +12,6 @@ trigger: pr: branches: include: - - master - main - feature/* - hotfix/* diff --git a/sdk/containerinstance/ci.yml b/sdk/containerinstance/ci.yml index 387988b04f32..ff4ae0c73ef6 100644 --- a/sdk/containerinstance/ci.yml +++ b/sdk/containerinstance/ci.yml @@ -3,7 +3,6 @@ trigger: branches: include: - - master - main - hotfix/* - release/* @@ -14,7 +13,6 @@ trigger: pr: branches: include: - - master - main - feature/* - hotfix/* diff --git a/sdk/containerregistry/ci.data.yml b/sdk/containerregistry/ci.data.yml index de1c677c26e2..48a46eb05486 100644 --- a/sdk/containerregistry/ci.data.yml +++ b/sdk/containerregistry/ci.data.yml @@ -3,7 +3,6 @@ trigger: branches: include: - - master - main - hotfix/* - release/* @@ -16,7 +15,6 @@ trigger: pr: branches: include: - - master - main - feature/* - hotfix/* diff --git a/sdk/containerregistry/ci.yml b/sdk/containerregistry/ci.yml index 312bca494704..b0a538d27929 100644 --- a/sdk/containerregistry/ci.yml +++ b/sdk/containerregistry/ci.yml @@ -3,7 +3,6 @@ trigger: branches: include: - - master - main - hotfix/* - release/* @@ -16,7 +15,6 @@ trigger: pr: branches: include: - - master - main - feature/* - hotfix/* diff --git a/sdk/core/ci.yml b/sdk/core/ci.yml index c5ec531a7ea9..748d2ad52a54 100644 --- a/sdk/core/ci.yml +++ b/sdk/core/ci.yml @@ -3,7 +3,6 @@ trigger: branches: include: - - master - main - hotfix/* - release/* @@ -17,7 +16,6 @@ trigger: pr: branches: include: - - master - main - feature/* - hotfix/* diff --git a/sdk/cosmosdb/ci.yml b/sdk/cosmosdb/ci.yml index 173e1560e25f..282b1cb5e7a6 100644 --- a/sdk/cosmosdb/ci.yml +++ b/sdk/cosmosdb/ci.yml @@ -4,7 +4,6 @@ trigger: branches: include: - - master - main - hotfix/* - release/* @@ -15,7 +14,6 @@ trigger: pr: branches: include: - - master - main - feature/* - hotfix/* diff --git a/sdk/deviceupdate/ci.yml b/sdk/deviceupdate/ci.yml index 18af255d127f..2efd2d1906ac 100644 --- a/sdk/deviceupdate/ci.yml +++ b/sdk/deviceupdate/ci.yml @@ -3,7 +3,6 @@ trigger: branches: include: - - master - main - hotfix/* - release/* @@ -14,7 +13,6 @@ trigger: pr: branches: include: - - master - main - feature/* - hotfix/* diff --git a/sdk/digitaltwins/ci.yml b/sdk/digitaltwins/ci.yml index 7c3e918ea394..e03c69ef5fd9 100644 --- a/sdk/digitaltwins/ci.yml +++ b/sdk/digitaltwins/ci.yml @@ -3,7 +3,6 @@ trigger: branches: include: - - master - main - hotfix/* - release/* @@ -14,7 +13,6 @@ trigger: pr: branches: include: - - master - main - feature/* - hotfix/* diff --git a/sdk/dns/ci.yml b/sdk/dns/ci.yml index 8959de511e5b..82417ae80e59 100644 --- a/sdk/dns/ci.yml +++ b/sdk/dns/ci.yml @@ -4,7 +4,6 @@ trigger: branches: include: - - master - main - hotfix/* - release/* @@ -15,7 +14,6 @@ trigger: pr: branches: include: - - master - main - feature/* - hotfix/* diff --git a/sdk/eventgrid/ci.yml b/sdk/eventgrid/ci.yml index 1611927f76ed..418b51e9e39b 100644 --- a/sdk/eventgrid/ci.yml +++ b/sdk/eventgrid/ci.yml @@ -3,7 +3,6 @@ trigger: branches: include: - - master - main - hotfix/* - release/* @@ -14,7 +13,6 @@ trigger: pr: branches: include: - - master - main - feature/* - hotfix/* diff --git a/sdk/eventhub/ci.data.yml b/sdk/eventhub/ci.data.yml index f120091349b7..d9caf3fbac6a 100644 --- a/sdk/eventhub/ci.data.yml +++ b/sdk/eventhub/ci.data.yml @@ -3,7 +3,6 @@ trigger: branches: include: - - master - main - hotfix/* - release/* @@ -18,7 +17,6 @@ trigger: pr: branches: include: - - master - main - feature/* - hotfix/* diff --git a/sdk/eventhub/ci.mgmt.yml b/sdk/eventhub/ci.mgmt.yml index c8899a8969bf..8c799a4312c4 100644 --- a/sdk/eventhub/ci.mgmt.yml +++ b/sdk/eventhub/ci.mgmt.yml @@ -3,7 +3,6 @@ trigger: branches: include: - - master - main - hotfix/* - release/* @@ -16,7 +15,6 @@ trigger: pr: branches: include: - - master - main - feature/* - hotfix/* diff --git a/sdk/eventhub/ci.yml b/sdk/eventhub/ci.yml index 0d5e6d162af9..8200cbf71e1b 100644 --- a/sdk/eventhub/ci.yml +++ b/sdk/eventhub/ci.yml @@ -3,7 +3,6 @@ trigger: branches: include: - - master - main - hotfix/* - release/* @@ -19,7 +18,6 @@ trigger: pr: branches: include: - - master - main - feature/* - hotfix/* diff --git a/sdk/extensions/ci.yml b/sdk/extensions/ci.yml index a923942be05f..50036dee2854 100644 --- a/sdk/extensions/ci.yml +++ b/sdk/extensions/ci.yml @@ -3,7 +3,6 @@ trigger: branches: include: - - master - main - hotfix/* - release/* @@ -14,7 +13,6 @@ trigger: pr: branches: include: - - master - main - feature/* - hotfix/* diff --git a/sdk/formrecognizer/ci.yml b/sdk/formrecognizer/ci.yml index a1fedfe52805..e806f5d7daa4 100644 --- a/sdk/formrecognizer/ci.yml +++ b/sdk/formrecognizer/ci.yml @@ -3,7 +3,6 @@ trigger: branches: include: - - master - main - hotfix/* - release/* @@ -14,7 +13,6 @@ trigger: pr: branches: include: - - master - main - feature/* - hotfix/* diff --git a/sdk/graphrbac/ci.yml b/sdk/graphrbac/ci.yml index 43dd80733f6e..c0cb0f530d49 100644 --- a/sdk/graphrbac/ci.yml +++ b/sdk/graphrbac/ci.yml @@ -3,7 +3,6 @@ trigger: branches: include: - - master - main - hotfix/* - release/* @@ -14,7 +13,6 @@ trigger: pr: branches: include: - - master - main - feature/* - hotfix/* diff --git a/sdk/hdinsight/ci.yml b/sdk/hdinsight/ci.yml index 8dd783dce136..e2de3154a02a 100644 --- a/sdk/hdinsight/ci.yml +++ b/sdk/hdinsight/ci.yml @@ -3,7 +3,6 @@ trigger: branches: include: - - master - main - hotfix/* - release/* @@ -14,7 +13,6 @@ trigger: pr: branches: include: - - master - main - feature/* - hotfix/* diff --git a/sdk/identity/ci.yml b/sdk/identity/ci.yml index a51ccc42ce6b..a15a57da549d 100644 --- a/sdk/identity/ci.yml +++ b/sdk/identity/ci.yml @@ -3,7 +3,6 @@ trigger: branches: include: - - master - main - hotfix/* - release/* @@ -14,7 +13,6 @@ trigger: pr: branches: include: - - master - main - feature/* - hotfix/* diff --git a/sdk/insights/ci.yml b/sdk/insights/ci.yml index 83c9eb1777af..335bd586ece3 100644 --- a/sdk/insights/ci.yml +++ b/sdk/insights/ci.yml @@ -4,7 +4,6 @@ trigger: branches: include: - - master - main - hotfix/* - release/* @@ -15,7 +14,6 @@ trigger: pr: branches: include: - - master - main - feature/* - hotfix/* diff --git a/sdk/iot/ci.yml b/sdk/iot/ci.yml index 872289cafec6..4fc2824f7194 100644 --- a/sdk/iot/ci.yml +++ b/sdk/iot/ci.yml @@ -3,7 +3,6 @@ trigger: branches: include: - - master - main paths: include: @@ -12,7 +11,6 @@ trigger: pr: branches: include: - - master - main paths: include: diff --git a/sdk/keyvault/ci.yml b/sdk/keyvault/ci.yml index b01c1d64662c..d76afc77ffb1 100644 --- a/sdk/keyvault/ci.yml +++ b/sdk/keyvault/ci.yml @@ -3,7 +3,6 @@ trigger: branches: include: - - master - main - hotfix/* - release/* @@ -14,7 +13,6 @@ trigger: pr: branches: include: - - master - main - feature/* - hotfix/* diff --git a/sdk/machinelearningservices/ci.yml b/sdk/machinelearningservices/ci.yml index 95d55a8264c2..b8a293293484 100644 --- a/sdk/machinelearningservices/ci.yml +++ b/sdk/machinelearningservices/ci.yml @@ -2,7 +2,6 @@ trigger: branches: include: - - master - main - hotfix/* - release/* @@ -13,7 +12,6 @@ trigger: pr: branches: include: - - master - main - feature/* - hotfix/* diff --git a/sdk/metricsadvisor/ci.yml b/sdk/metricsadvisor/ci.yml index 6296a0cbb6aa..fb0b34d20945 100644 --- a/sdk/metricsadvisor/ci.yml +++ b/sdk/metricsadvisor/ci.yml @@ -3,7 +3,6 @@ trigger: branches: include: - - master - main - hotfix/* - release/* @@ -14,7 +13,6 @@ trigger: pr: branches: include: - - master - main - feature/* - hotfix/* diff --git a/sdk/mixedreality/ci.yml b/sdk/mixedreality/ci.yml index 312433a52424..33f66aa4834f 100644 --- a/sdk/mixedreality/ci.yml +++ b/sdk/mixedreality/ci.yml @@ -2,7 +2,6 @@ trigger: branches: include: - - master - main - hotfix/* - release/* @@ -13,7 +12,6 @@ trigger: pr: branches: include: - - master - main - feature/* - hotfix/* diff --git a/sdk/modelsrepository/ci.yml b/sdk/modelsrepository/ci.yml index 9449d401ab48..3475d229bf2f 100644 --- a/sdk/modelsrepository/ci.yml +++ b/sdk/modelsrepository/ci.yml @@ -3,7 +3,6 @@ trigger: branches: include: - - master - main - hotfix/* - release/* @@ -14,7 +13,6 @@ trigger: pr: branches: include: - - master - main - feature/* - hotfix/* diff --git a/sdk/monitor/ci.yml b/sdk/monitor/ci.yml index 6900017f8fd0..aa62137a43a2 100644 --- a/sdk/monitor/ci.yml +++ b/sdk/monitor/ci.yml @@ -4,7 +4,6 @@ trigger: branches: include: - - master - main - hotfix/* - release/* @@ -15,7 +14,6 @@ trigger: pr: branches: include: - - master - main - feature/* - hotfix/* diff --git a/sdk/network/ci.yml b/sdk/network/ci.yml index 430bde0c834b..e6518749d655 100644 --- a/sdk/network/ci.yml +++ b/sdk/network/ci.yml @@ -3,7 +3,6 @@ trigger: branches: include: - - master - main - hotfix/* - release/* @@ -14,7 +13,6 @@ trigger: pr: branches: include: - - master - main - feature/* - hotfix/* diff --git a/sdk/objectanchors/ci.yml b/sdk/objectanchors/ci.yml index 213c9df3fbc5..9631b890d0a8 100644 --- a/sdk/objectanchors/ci.yml +++ b/sdk/objectanchors/ci.yml @@ -2,7 +2,6 @@ trigger: branches: include: - - master - main - hotfix/* - release/* @@ -13,7 +12,6 @@ trigger: pr: branches: include: - - master - main - feature/* - hotfix/* diff --git a/sdk/operationalinsights/ci.yml b/sdk/operationalinsights/ci.yml index 100c2cdb5c00..4e09370dc6ff 100644 --- a/sdk/operationalinsights/ci.yml +++ b/sdk/operationalinsights/ci.yml @@ -3,7 +3,6 @@ trigger: branches: include: - - master - main - hotfix/* - release/* @@ -14,7 +13,6 @@ trigger: pr: branches: include: - - master - main - feature/* - hotfix/* diff --git a/sdk/purview/ci.yml b/sdk/purview/ci.yml index 6c793145cf12..8421be6f7903 100644 --- a/sdk/purview/ci.yml +++ b/sdk/purview/ci.yml @@ -2,7 +2,6 @@ trigger: branches: include: - - master - main - hotfix/* - release/* @@ -13,7 +12,6 @@ trigger: pr: branches: include: - - master - main - feature/* - hotfix/* diff --git a/sdk/quantum/ci.yml b/sdk/quantum/ci.yml index 2e2e3b1ca1b7..5218fa5a1fd0 100644 --- a/sdk/quantum/ci.yml +++ b/sdk/quantum/ci.yml @@ -2,7 +2,6 @@ trigger: branches: include: - - master - main - hotfix/* - release/* @@ -13,7 +12,6 @@ trigger: pr: branches: include: - - master - main - feature/* - hotfix/* diff --git a/sdk/remoterendering/ci.yml b/sdk/remoterendering/ci.yml index 2aa96ca9c9b1..602701e13927 100644 --- a/sdk/remoterendering/ci.yml +++ b/sdk/remoterendering/ci.yml @@ -2,7 +2,6 @@ trigger: branches: include: - - master - main - hotfix/* - release/* @@ -13,7 +12,6 @@ trigger: pr: branches: include: - - master - main - feature/* - hotfix/* diff --git a/sdk/resources/ci.yml b/sdk/resources/ci.yml index 502590954132..f42c7920a85e 100644 --- a/sdk/resources/ci.yml +++ b/sdk/resources/ci.yml @@ -3,7 +3,6 @@ trigger: branches: include: - - master - main - hotfix/* - release/* @@ -14,7 +13,6 @@ trigger: pr: branches: include: - - master - main - feature/* - hotfix/* diff --git a/sdk/schemaregistry/ci.yml b/sdk/schemaregistry/ci.yml index 54a40cd65dd7..d6f703f807b7 100644 --- a/sdk/schemaregistry/ci.yml +++ b/sdk/schemaregistry/ci.yml @@ -2,7 +2,6 @@ trigger: branches: include: - - master - main - hotfix/* - release/* @@ -13,7 +12,6 @@ trigger: pr: branches: include: - - master - main - feature/* - hotfix/* diff --git a/sdk/search/ci.yml b/sdk/search/ci.yml index 85d90237fb0a..723e068d7962 100644 --- a/sdk/search/ci.yml +++ b/sdk/search/ci.yml @@ -3,7 +3,6 @@ trigger: branches: include: - - master - main - hotfix/* - release/* @@ -14,7 +13,6 @@ trigger: pr: branches: include: - - master - main - feature/* - hotfix/* diff --git a/sdk/servicebus/ci.data.yml b/sdk/servicebus/ci.data.yml index 1fd71add28a8..ab38e79681aa 100644 --- a/sdk/servicebus/ci.data.yml +++ b/sdk/servicebus/ci.data.yml @@ -3,7 +3,6 @@ trigger: branches: include: - - master - main - hotfix/* - release/* @@ -15,7 +14,6 @@ trigger: pr: branches: include: - - master - main - feature/* - hotfix/* diff --git a/sdk/servicebus/ci.yml b/sdk/servicebus/ci.yml index 3215cdc3a937..49ded87c052f 100644 --- a/sdk/servicebus/ci.yml +++ b/sdk/servicebus/ci.yml @@ -3,7 +3,6 @@ trigger: branches: include: - - master - main - hotfix/* - release/* @@ -17,7 +16,6 @@ trigger: pr: branches: include: - - master - main - feature/* - hotfix/* diff --git a/sdk/sqlmanagement/ci.yml b/sdk/sqlmanagement/ci.yml index 01f544d5de19..84bf64291c89 100644 --- a/sdk/sqlmanagement/ci.yml +++ b/sdk/sqlmanagement/ci.yml @@ -4,7 +4,6 @@ trigger: branches: include: - - master - main - hotfix/* - release/* @@ -15,7 +14,6 @@ trigger: pr: branches: include: - - master - main - feature/* - hotfix/* diff --git a/sdk/storage/ci.yml b/sdk/storage/ci.yml index 84999dd0d87e..ff6e38202861 100644 --- a/sdk/storage/ci.yml +++ b/sdk/storage/ci.yml @@ -3,7 +3,6 @@ trigger: branches: include: - - master - main - hotfix/* - release/* @@ -14,7 +13,6 @@ trigger: pr: branches: include: - - master - main - feature/* - hotfix/* diff --git a/sdk/synapse/ci.yml b/sdk/synapse/ci.yml index 0bf52bda75a1..92771640e39f 100644 --- a/sdk/synapse/ci.yml +++ b/sdk/synapse/ci.yml @@ -3,7 +3,6 @@ trigger: branches: include: - - master - main - feature/* - hotfix/* @@ -15,7 +14,6 @@ trigger: pr: branches: include: - - master - main - feature/* - hotfix/* diff --git a/sdk/tables/ci.yml b/sdk/tables/ci.yml index aefe65b9deed..b47793d1c5c7 100644 --- a/sdk/tables/ci.yml +++ b/sdk/tables/ci.yml @@ -3,7 +3,6 @@ trigger: branches: include: - - master - main - hotfix/* - release/* @@ -14,7 +13,6 @@ trigger: pr: branches: include: - - master - main - feature/* - hotfix/* diff --git a/sdk/template/ci.yml b/sdk/template/ci.yml index af98ffe31258..dff9202537c3 100644 --- a/sdk/template/ci.yml +++ b/sdk/template/ci.yml @@ -2,7 +2,6 @@ trigger: branches: include: - - master - main - hotfix/* - release/* @@ -13,7 +12,6 @@ trigger: pr: branches: include: - - master - main - feature/* - hotfix/* diff --git a/sdk/textanalytics/ci.yml b/sdk/textanalytics/ci.yml index 1aa90058f96b..315827e3e96a 100644 --- a/sdk/textanalytics/ci.yml +++ b/sdk/textanalytics/ci.yml @@ -3,7 +3,6 @@ trigger: branches: include: - - master - main - hotfix/* - release/* @@ -14,7 +13,6 @@ trigger: pr: branches: include: - - master - main - feature/* - hotfix/* diff --git a/sdk/timeseriesinsights/ci.yml b/sdk/timeseriesinsights/ci.yml index 9fecf252a2ca..d74472b0604f 100644 --- a/sdk/timeseriesinsights/ci.yml +++ b/sdk/timeseriesinsights/ci.yml @@ -2,7 +2,6 @@ trigger: branches: include: - - master - main - hotfix/* - release/* @@ -13,7 +12,6 @@ trigger: pr: branches: include: - - master - main - feature/* - hotfix/* diff --git a/sdk/translation/ci.yml b/sdk/translation/ci.yml index fe43caa8adec..aebe750fd403 100644 --- a/sdk/translation/ci.yml +++ b/sdk/translation/ci.yml @@ -2,7 +2,6 @@ trigger: branches: include: - - master - main - hotfix/* - release/* @@ -13,7 +12,6 @@ trigger: pr: branches: include: - - master - main - feature/* - hotfix/* diff --git a/sdk/videoanalyzer/ci.yml b/sdk/videoanalyzer/ci.yml index 8bd253969372..016e0ff7f0cc 100644 --- a/sdk/videoanalyzer/ci.yml +++ b/sdk/videoanalyzer/ci.yml @@ -3,7 +3,6 @@ trigger: branches: include: - - master - main - hotfix/* - release/* @@ -14,7 +13,6 @@ trigger: pr: branches: include: - - master - main - feature/* - hotfix/* diff --git a/sdk/webpubsub/ci.yml b/sdk/webpubsub/ci.yml index 607a370b6576..30b83ce22bd6 100644 --- a/sdk/webpubsub/ci.yml +++ b/sdk/webpubsub/ci.yml @@ -2,7 +2,6 @@ trigger: branches: include: - - master - main - hotfix/* - release/* @@ -13,7 +12,6 @@ trigger: pr: branches: include: - - master - main - feature/* - hotfix/* From e33bbdde51b3b50acc4a5057203168f8ac7a2765 Mon Sep 17 00:00:00 2001 From: JoshLove-msft <54595583+JoshLove-msft@users.noreply.github.com> Date: Mon, 21 Jun 2021 13:13:48 -0700 Subject: [PATCH 19/27] Fix storage extension build (#22012) * Fix storage extension build * Add project reference * Shadow type * Camel case --- .../TriggerBinding/HttpRequestProcessor.cs | 2 +- ...re.WebJobs.Extensions.Storage.Blobs.csproj | 1 - .../src/SubscriptionValidationResponse.cs | 19 +++++++++++++++++++ 3 files changed, 20 insertions(+), 2 deletions(-) create mode 100644 sdk/storage/Microsoft.Azure.WebJobs.Extensions.Storage.Blobs/src/SubscriptionValidationResponse.cs diff --git a/sdk/eventgrid/Microsoft.Azure.WebJobs.Extensions.EventGrid/src/TriggerBinding/HttpRequestProcessor.cs b/sdk/eventgrid/Microsoft.Azure.WebJobs.Extensions.EventGrid/src/TriggerBinding/HttpRequestProcessor.cs index da41927eab6b..ee8d12413b53 100644 --- a/sdk/eventgrid/Microsoft.Azure.WebJobs.Extensions.EventGrid/src/TriggerBinding/HttpRequestProcessor.cs +++ b/sdk/eventgrid/Microsoft.Azure.WebJobs.Extensions.EventGrid/src/TriggerBinding/HttpRequestProcessor.cs @@ -67,7 +67,7 @@ internal async Task ProcessAsync( $"The request content should be parseable into a JSON object or array, but was {events.Type}."); } - SubscriptionValidationResponse validationResponse = new(){ ValidationResponse = validationCode }; + SubscriptionValidationResponse validationResponse = new SubscriptionValidationResponse{ ValidationResponse = validationCode }; var returnMessage = new HttpResponseMessage(HttpStatusCode.OK) { // use System.Text.Json to leverage the custom converter so that the casing is correct. diff --git a/sdk/storage/Microsoft.Azure.WebJobs.Extensions.Storage.Blobs/src/Microsoft.Azure.WebJobs.Extensions.Storage.Blobs.csproj b/sdk/storage/Microsoft.Azure.WebJobs.Extensions.Storage.Blobs/src/Microsoft.Azure.WebJobs.Extensions.Storage.Blobs.csproj index 90bd6aa26b10..b6fd338f24f0 100644 --- a/sdk/storage/Microsoft.Azure.WebJobs.Extensions.Storage.Blobs/src/Microsoft.Azure.WebJobs.Extensions.Storage.Blobs.csproj +++ b/sdk/storage/Microsoft.Azure.WebJobs.Extensions.Storage.Blobs/src/Microsoft.Azure.WebJobs.Extensions.Storage.Blobs.csproj @@ -21,7 +21,6 @@ - diff --git a/sdk/storage/Microsoft.Azure.WebJobs.Extensions.Storage.Blobs/src/SubscriptionValidationResponse.cs b/sdk/storage/Microsoft.Azure.WebJobs.Extensions.Storage.Blobs/src/SubscriptionValidationResponse.cs new file mode 100644 index 000000000000..548f37840474 --- /dev/null +++ b/sdk/storage/Microsoft.Azure.WebJobs.Extensions.Storage.Blobs/src/SubscriptionValidationResponse.cs @@ -0,0 +1,19 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +using System.Text.Json.Serialization; + +namespace Azure.Messaging.EventGrid.SystemEvents +{ + internal class SubscriptionValidationResponse + { + /// Initializes a new instance of SubscriptionValidationResponse. + public SubscriptionValidationResponse() + { + } + + /// The validation response sent by the subscriber to Azure Event Grid to complete the validation of an event subscription. + [JsonPropertyName("validationResponse")] + public string ValidationResponse { get; set; } + } +} \ No newline at end of file From 834ddd425a1efd0dec563a6bf8d9e21f0b12a24a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?C=C3=A9dric=20Luthi?= Date: Mon, 21 Jun 2021 22:54:47 +0200 Subject: [PATCH 20/27] [Microsoft.Azure.ServiceBus] Fix event source messages 40 and 41 (#22009) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * Fix typo: `AmqpSendAuthenticanToken` → `AmqpSendAuthenticationToken` * Fix claims: `System.String[]` → `Manage,Listen` --- .../Microsoft.Azure.ServiceBus/src/MessagingEventSource.cs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/sdk/servicebus/Microsoft.Azure.ServiceBus/src/MessagingEventSource.cs b/sdk/servicebus/Microsoft.Azure.ServiceBus/src/MessagingEventSource.cs index a90e6a942185..1a2544a4c1ab 100644 --- a/sdk/servicebus/Microsoft.Azure.ServiceBus/src/MessagingEventSource.cs +++ b/sdk/servicebus/Microsoft.Azure.ServiceBus/src/MessagingEventSource.cs @@ -423,17 +423,17 @@ public void AmqpSendAuthenticationTokenStart(Uri address, string audience, strin { if (this.IsEnabled()) { - this.AmqpSendAuthenticationTokenStart(address.ToString(), audience, resource, claims.ToString()); + this.AmqpSendAuthenticationTokenStart(address.ToString(), audience, resource, string.Join(",", claims)); } } - [Event(40, Level = EventLevel.Verbose, Message = "AmqpSendAuthenticanToken started. Address: {0}, Audience: {1}, Resource: {2}, Claims: {3}")] + [Event(40, Level = EventLevel.Verbose, Message = "AmqpSendAuthenticationToken started. Address: {0}, Audience: {1}, Resource: {2}, Claims: {3}")] void AmqpSendAuthenticationTokenStart(string address, string audience, string resource, string claims) { this.WriteEvent(40, address, audience, resource, claims); } - [Event(41, Level = EventLevel.Verbose, Message = "AmqpSendAuthenticanToken done.")] + [Event(41, Level = EventLevel.Verbose, Message = "AmqpSendAuthenticationToken done.")] public void AmqpSendAuthenticationTokenStop() { if (this.IsEnabled()) From 69e52710e25588d4edf51344371050f5fa5c8c66 Mon Sep 17 00:00:00 2001 From: JoshLove-msft <54595583+JoshLove-msft@users.noreply.github.com> Date: Mon, 21 Jun 2021 14:36:23 -0700 Subject: [PATCH 21/27] Prepare for release (#22020) --- sdk/eventgrid/Azure.Messaging.EventGrid/CHANGELOG.md | 9 +++------ .../src/Azure.Messaging.EventGrid.csproj | 2 +- 2 files changed, 4 insertions(+), 7 deletions(-) diff --git a/sdk/eventgrid/Azure.Messaging.EventGrid/CHANGELOG.md b/sdk/eventgrid/Azure.Messaging.EventGrid/CHANGELOG.md index 8b81c89311a2..bb3ba11d26da 100644 --- a/sdk/eventgrid/Azure.Messaging.EventGrid/CHANGELOG.md +++ b/sdk/eventgrid/Azure.Messaging.EventGrid/CHANGELOG.md @@ -1,15 +1,12 @@ # Release History -## 4.4.0-beta.1 (Unreleased) +## 4.4.0 (2021-06-21) ### Features Added - -### Breaking Changes +- Added public constructor and settable property for `SubscriptionValidationResponse`. ### Key Bugs Fixed - -### Fixed - +- Fix issue where ARM system event data could not be deserialized into their strongly typed models. ## 4.3.0 (2021-06-08) diff --git a/sdk/eventgrid/Azure.Messaging.EventGrid/src/Azure.Messaging.EventGrid.csproj b/sdk/eventgrid/Azure.Messaging.EventGrid/src/Azure.Messaging.EventGrid.csproj index d6d14c6e3615..dfd950e0d8f2 100644 --- a/sdk/eventgrid/Azure.Messaging.EventGrid/src/Azure.Messaging.EventGrid.csproj +++ b/sdk/eventgrid/Azure.Messaging.EventGrid/src/Azure.Messaging.EventGrid.csproj @@ -2,7 +2,7 @@ This library can be used to publish events to Azure Event Grid and to consume events delivered by EventGrid. It also defines the event schemas for the events published to EventGrid by various Azure services. Microsoft Azure.Messaging.EventGrid client library - 4.4.0-beta.1 + 4.4.0 4.3.0 Microsoft Azure EventGrid;Event Grid;Event Grid Publishing; From 09cc00a4fb2074a24cdf164acfa8e4a1b70c6654 Mon Sep 17 00:00:00 2001 From: Pavel Krymets Date: Mon, 21 Jun 2021 15:00:07 -0700 Subject: [PATCH 22/27] Add a flag to enable NuGet.org README.md display (#21157) --- CONTRIBUTING.md | 2 +- eng/Directory.Build.Common.targets | 32 +++++++++++++++++++++--- global.json | 2 +- sdk/template/Azure.Template/CHANGELOG.md | 3 +++ 4 files changed, 34 insertions(+), 5 deletions(-) diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 6a6902f17d33..cab8d774f930 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -9,7 +9,7 @@ - Install VS 2019 (Community or higher) and make sure you have the latest updates (https://www.visualstudio.com/). - Need at least .NET Framework 4.6.1 and 4.7 development tools - Install the **.NET Core cross-platform development** workloads in VisualStudio -- Install **.NET Core 5.0.200 SDK** for your specific platform. (or a higher version within the 5.0.*** band) (https://dotnet.microsoft.com/download/dotnet-core/5.0) +- Install **.NET Core 5.0.301 SDK** for your specific platform. (or a higher version within the 5.0.*** band) (https://dotnet.microsoft.com/download/dotnet-core/5.0) - Install the latest version of git (https://git-scm.com/downloads) - Install [PowerShell](https://docs.microsoft.com/powershell/scripting/install/installing-powershell), version 6 or higher, if you plan to make public API changes or are working with generated code snippets. - Install [NodeJS](https://nodejs.org/) (14.x.x) if you plan to use [C# code generation](https://github.com/Azure/autorest.csharp). diff --git a/eng/Directory.Build.Common.targets b/eng/Directory.Build.Common.targets index de34bbe5f6a2..9cabecdd78e6 100644 --- a/eng/Directory.Build.Common.targets +++ b/eng/Directory.Build.Common.targets @@ -1,4 +1,7 @@  + + + @@ -43,6 +46,32 @@ + + $([MSBuild]::NormalizeDirectory($(MSBuildProjectDirectory)/../))README.md + $(IntermediateOutputPath)README.md + true + README.md + + + + + + + + + + + <_ReadmeMdLines>$([System.IO.File]::ReadAllText($(OriginalReadmeMdPath))) + + + <_ReadmeMdLines>', ''))]]> + + <_ReadmeMdLines> + + + + + @@ -68,7 +97,6 @@ - @@ -103,8 +131,6 @@ - - diff --git a/global.json b/global.json index 8ec079bafb63..3f72da14e86d 100644 --- a/global.json +++ b/global.json @@ -3,7 +3,7 @@ "Microsoft.Build.Traversal": "1.0.45" }, "sdk": { - "version": "5.0.200", + "version": "5.0.301", "rollForward": "feature" } } \ No newline at end of file diff --git a/sdk/template/Azure.Template/CHANGELOG.md b/sdk/template/Azure.Template/CHANGELOG.md index 5f176a71421d..b09666b151f0 100644 --- a/sdk/template/Azure.Template/CHANGELOG.md +++ b/sdk/template/Azure.Template/CHANGELOG.md @@ -1,5 +1,8 @@ # Release History +## 1.0.3-beta.19 (2020-09-24) +- Test Submit-PR + ## 1.0.3-beta.18 (2020-09-24) - Test Submit-PR From 658dbd4976d088a21f0fc368b6ed42e5688200cd Mon Sep 17 00:00:00 2001 From: navali-msft <66667092+navali-msft@users.noreply.github.com> Date: Mon, 21 Jun 2021 15:20:15 -0700 Subject: [PATCH 23/27] Added enhancements on top of Calling Server preview 1 (#21686) * Clean up clients comments. * Models updates to introduce CallConnection and Server. * callState updated to callConnectionState, replace sourceAlternateIdentity with alternateCallerId, other fixes * Update to the test sample. * Updated the swagger path, removed delete operation, updated unit tests and live tests * Updates based on comments * Zihzhan/fix (#21727) * Clean up clients comments. * Update Snippet and Export-API. * Zihzhan/fix (#21764) * Update Snippet and Export-API. * remove calloption override in servercall client. * Nit for params and arguments handling. * Merge Downloader updates. * Merge Downloader updates test cases. * Update AutoGen Content. * Model name updates (Suffix for responses models now has Result instead of Response), fixes based on comments (#21790) * Zihzhan/fix (#21805) * Update Snippet and Export-API. * remove calloption override in servercall client. * Nit for params and arguments handling. * Merge Downloader updates. * Merge Downloader updates test cases. * Update AutoGen Content. * Nit clean on Unit Tests. * Updating and renaming. * The changes which are done: (#21863) InviteParticipants --> AddParticipant InviteParticipantResultEvent --> AddParticipantResultEvent CallModality --> MediaType CommunicationParticipant --> CallParticipant Id in PlayAudioResult & CancelAllMediaOperations is now called OperationId CallConnectionState now has {incoming, connecting, connected, disconnecting, disconnected} CallRecordingStateResult ---> CallRecording... by Naveed Ali CallRecordingStateResult ---> CallRecordingProperties * Fix build Anaylse. * fix(tests): improve code coverage * Added AddParticipantResult, Re-added communication error, updated swagger path (#21870) * Added AddParticipantResult, Re-added communication error, updated swagger path * Fixed unit tests * Updated netstandard * Analysis fix * Updated event type for add participant * Fix build issue. * Zihzhan/fix (#21905) * Update Snippet and Export-API. * remove calloption override in servercall client. * Nit for params and arguments handling. * Merge Downloader updates. * Merge Downloader updates test cases. * Update AutoGen Content. * Nit clean on Unit Tests. * Updating and renaming. * Test update. * Add Call Connection Live Tests. * Add ServerCall Live Tests * Increase Test Coverage. * Reenable sample tests. * Zihzhan/fix (#21931) * Update Snippet and Export-API. * remove calloption override in servercall client. * Nit for params and arguments handling. * Merge Downloader updates. * Merge Downloader updates test cases. * Update AutoGen Content. * Nit clean on Unit Tests. * Updating and renaming. * Test update. * Add Call Connection Live Tests. * Add ServerCall Live Tests * Increase Test Coverage. * Reenable sample tests. * Address comments. * Point to swagger file in master branch. * Zihzhan/fix (#21950) * Update Snippet and Export-API. * remove calloption override in servercall client. * Nit for params and arguments handling. * Merge Downloader updates. * Merge Downloader updates test cases. * Update AutoGen Content. * Nit clean on Unit Tests. * Updating and renaming. * Test update. * Add Call Connection Live Tests. * Add ServerCall Live Tests * Increase Test Coverage. * Reenable sample tests. * Address comments. * Point to swagger file in master branch. * Nit fix. * Nit changes based on Azure boarder review feedback. * Address comments. * Naming changes. * Change to static connection string. * Add methods that support Live Test. * Moved Recorded value inside the test method. * Updated models definition based on new swagger plus updated events properties to readonly (#21980) * Updated models definition based on new swagger, also fixed events to make properties readonly * Update accessibility of internal models * Update the file path in autorest * Update auto gen apis. * Rewrite the event tests and fixed json for other tests (#21983) * Disable AddParticipant test in Live mode. * Moved modelfactory to .models namespace (#22021) Co-authored-by: zihzhan Co-authored-by: Zihan Zhang <43592314+zihzhan-msft@users.noreply.github.com> Co-authored-by: Christian Whitehead --- .vscode/cspell.json | 3 + .../README.md | 20 +- ...munication.CallingServer.netstandard2.0.cs | 356 ++++---- .../samples/README.md | 6 +- .../samples/Sample1_CreateCall.md | 14 +- .../samples/Sample1_CreateCallAsync.md | 14 +- .../Azure.Communication.CallingServer.csproj | 6 +- .../src/CallClient.cs | 533 ----------- .../src/CallConnection.cs | 336 +++++++ .../src/CallingServerClient.cs | 476 ++++++++++ ...tions.cs => CallingServerClientOptions.cs} | 14 +- .../src/ConversationClient.cs | 863 ------------------ .../src/{ => Downloader}/Constants.cs | 0 .../src/{ => Downloader}/ContentDownloader.cs | 4 +- .../{ => Downloader}/PartitionedDownloader.cs | 4 +- ...icationCallingServerServiceModelFactory.cs | 89 -- ...Client.cs => CallConnectionsRestClient.cs} | 361 +++----- .../Generated/CallingServerModelFactory.cs | 131 +++ ...=> AddParticipantRequest.Serialization.cs} | 10 +- .../Generated/Models/AddParticipantRequest.cs | 29 + ... => AddParticipantResult.Serialization.cs} | 12 +- .../Generated/Models/AddParticipantResult.cs | 28 + ...AddParticipantResultEvent.Serialization.cs | 46 + .../Models/AddParticipantResultEvent.cs | 38 + .../Generated/Models/CallConnectionState.cs | 60 ++ ...nnectionStateChangedEvent.Serialization.cs | 41 + .../Models/CallConnectionStateChangedEvent.cs | 38 + .../CallLegStateChangedEvent.Serialization.cs | 67 -- .../Models/CallLegStateChangedEvent.cs | 36 - .../src/Generated/Models/CallModality.cs | 51 -- ... CallParticipantInternal.Serialization.cs} | 13 +- .../Models/CallParticipantInternal.cs | 40 + ... CallRecordingProperties.Serialization.cs} | 13 +- .../Models/CallRecordingProperties.cs | 23 + .../Generated/Models/CallRecordingState.cs | 2 +- ...RecordingStateChangeEvent.Serialization.cs | 50 +- .../Models/CallRecordingStateChangeEvent.cs | 26 +- .../src/Generated/Models/CallState.cs | 78 -- .../Models/CancelAllMediaOperationsRequest.cs | 2 +- .../CancelAllMediaOperationsResponse.cs | 40 - ...AllMediaOperationsResult.Serialization.cs} | 19 +- .../Models/CancelAllMediaOperationsResult.cs | 42 + ...ommunicationErrorResponse.Serialization.cs | 29 + .../Models/CommunicationErrorResponse.cs | 31 + .../CommunicationParticipantInternal.cs | 38 - ...CreateCallRequestInternal.Serialization.cs | 32 +- .../Models/CreateCallRequestInternal.cs | 23 +- .../CreateCallResultInternal.Serialization.cs | 29 + ...esponse.cs => CreateCallResultInternal.cs} | 18 +- .../Models/GetCallRecordingStateResponse.cs | 28 - .../InviteParticipantsRequestInternal.cs | 40 - ...teParticipantsResultEvent.Serialization.cs | 72 -- .../Models/InviteParticipantsResultEvent.cs | 36 - .../JoinCallRequestInternal.Serialization.cs | 26 +- .../Models/JoinCallRequestInternal.cs | 22 +- .../src/Generated/Models/JoinCallResponse.cs | 28 - ...> JoinCallResultInternal.Serialization.cs} | 12 +- .../Models/JoinCallResultInternal.cs | 28 + .../src/Generated/Models/MediaType.cs | 51 ++ .../src/Generated/Models/OperationStatus.cs | 2 +- ...pantsUpdatedEventInternal.Serialization.cs | 14 +- .../ParticipantsUpdatedEventInternal.cs | 16 +- .../src/Generated/Models/PlayAudioResponse.cs | 40 - ...on.cs => PlayAudioResult.Serialization.cs} | 19 +- .../src/Generated/Models/PlayAudioResult.cs | 42 + .../PlayAudioResultEvent.Serialization.cs | 32 +- .../Generated/Models/PlayAudioResultEvent.cs | 16 +- .../Models/ResultInfo.Serialization.cs | 16 +- .../src/Generated/Models/ResultInfo.cs | 48 +- ...StartCallRecordingResult.Serialization.cs} | 6 +- ...esponse.cs => StartCallRecordingResult.cs} | 10 +- .../Models/ToneInfo.Serialization.cs | 34 +- .../src/Generated/Models/ToneInfo.cs | 29 +- .../Models/ToneReceivedEvent.Serialization.cs | 33 +- .../src/Generated/Models/ToneReceivedEvent.cs | 24 +- .../src/Generated/Models/ToneValue.cs | 2 +- ...RestClient.cs => ServerCallsRestClient.cs} | 733 +++++++-------- .../{CallState.cs => CallConnectionState.cs} | 4 +- ...ationParticipant.cs => CallParticipant.cs} | 19 +- ...Internal.cs => CallParticipantInternal.cs} | 4 +- .../src/Models/CallingServerModelFactory.cs | 15 + .../src/Models/CreateCallOptions.cs | 14 +- .../src/Models/CreateCallResultInternal.cs | 12 + .../Events/AddParticipantResultEvent.cs | 28 + .../Events/CallConnectionStateChangedEvent.cs | 28 + .../Models/Events/CallLegStateChangedEvent.cs | 28 - .../Events/CallRecordingStateChangeEvent.cs | 2 +- .../Models/Events/CallingServerEventType.cs | 14 +- .../Events/InviteParticipantsResultEvent.cs | 28 - .../Models/Events/ParticipantsUpdatedEvent.cs | 21 +- .../src/Models/Events/PlayAudioResultEvent.cs | 2 +- .../src/Models/Events/ToneReceivedEvent.cs | 2 +- .../src/Models/JoinCallOptions.cs | 14 +- .../src/Models/JoinCallResultInternal.cs | 12 + .../src/Models/ToneInfo.cs | 2 +- .../src/Models/ToneValue.cs | 2 +- .../src/Properties/AssemblyInfo.cs | 1 + .../src/ServerCall.cs | 455 +++++++++ .../src/autorest.md | 11 +- .../tests.yml | 4 +- ...e.Communication.CallingServer.Tests.csproj | 8 +- .../CallConnection/CallConnectionLiveTests.cs | 103 +++ .../CallConnection/CallConnectionTests.cs | 379 ++++++++ .../CallingServerClientLiveTests.cs | 29 + .../CallingServerClientTests.cs | 151 +++ .../ContentDownloadTests.cs | 86 +- .../ConversationClientBaseTests.cs | 59 -- .../ConversationClientsTests.cs | 208 ----- .../tests/Events/EventTests.cs | 112 +++ .../CallingServerLiveTestBase.cs | 366 +++++++- .../Infrastructure/CallingServerTestBase.cs | 59 ++ .../CallingServerTestEnvironment.cs | 13 +- .../tests/ServerCall/ServerCallLiveTests.cs | 144 +++ .../tests/ServerCall/ServerCallTests.cs | 450 +++++++++ .../CallingServerClientsLiveTests.cs | 245 ----- .../CallingServerClientsTests.cs | 305 ------- ...RunCreateAddRemoveHangupScenarioTests.json | 190 ++++ ...eateAddRemoveHangupScenarioTestsAsync.json | 190 ++++ ...unCreatePlayCancelHangupScenarioTests.json | 197 ++++ ...atePlayCancelHangupScenarioTestsAsync.json | 197 ++++ .../CancelAllMediaOperationsTest.json | 198 ---- .../CancelAllMediaOperationsTestAsync.json | 198 ---- .../CreateCallTest.json | 102 --- .../Sample1_CallClient/CreateCall.json | 83 +- .../CreateCallAsyncAsync.json | 87 +- ...RunAllRecordingFunctionsScenarioTests.json | 370 ++++++++ ...lRecordingFunctionsScenarioTestsAsync.json | 370 ++++++++ ...RunCreateAddRemoveHangupScenarioTests.json | 210 +++++ ...eateAddRemoveHangupScenarioTestsAsync.json | 210 +++++ ...unCreatePlayCancelHangupScenarioTests.json | 249 +++++ ...atePlayCancelHangupScenarioTestsAsync.json | 249 +++++ .../tests/samples/Sample1_CallClient.cs | 35 +- 132 files changed, 7513 insertions(+), 4754 deletions(-) delete mode 100644 sdk/communication/Azure.Communication.CallingServer/src/CallClient.cs create mode 100644 sdk/communication/Azure.Communication.CallingServer/src/CallConnection.cs create mode 100644 sdk/communication/Azure.Communication.CallingServer/src/CallingServerClient.cs rename sdk/communication/Azure.Communication.CallingServer/src/{CallClientOptions.cs => CallingServerClientOptions.cs} (65%) delete mode 100644 sdk/communication/Azure.Communication.CallingServer/src/ConversationClient.cs rename sdk/communication/Azure.Communication.CallingServer/src/{ => Downloader}/Constants.cs (100%) rename sdk/communication/Azure.Communication.CallingServer/src/{ => Downloader}/ContentDownloader.cs (97%) rename sdk/communication/Azure.Communication.CallingServer/src/{ => Downloader}/PartitionedDownloader.cs (98%) delete mode 100644 sdk/communication/Azure.Communication.CallingServer/src/Generated/AzureCommunicationCallingServerServiceModelFactory.cs rename sdk/communication/Azure.Communication.CallingServer/src/Generated/{CallRestClient.cs => CallConnectionsRestClient.cs} (57%) create mode 100644 sdk/communication/Azure.Communication.CallingServer/src/Generated/CallingServerModelFactory.cs rename sdk/communication/Azure.Communication.CallingServer/src/Generated/Models/{InviteParticipantsRequestInternal.Serialization.cs => AddParticipantRequest.Serialization.cs} (76%) create mode 100644 sdk/communication/Azure.Communication.CallingServer/src/Generated/Models/AddParticipantRequest.cs rename sdk/communication/Azure.Communication.CallingServer/src/Generated/Models/{JoinCallResponse.Serialization.cs => AddParticipantResult.Serialization.cs} (52%) create mode 100644 sdk/communication/Azure.Communication.CallingServer/src/Generated/Models/AddParticipantResult.cs create mode 100644 sdk/communication/Azure.Communication.CallingServer/src/Generated/Models/AddParticipantResultEvent.Serialization.cs create mode 100644 sdk/communication/Azure.Communication.CallingServer/src/Generated/Models/AddParticipantResultEvent.cs create mode 100644 sdk/communication/Azure.Communication.CallingServer/src/Generated/Models/CallConnectionState.cs create mode 100644 sdk/communication/Azure.Communication.CallingServer/src/Generated/Models/CallConnectionStateChangedEvent.Serialization.cs create mode 100644 sdk/communication/Azure.Communication.CallingServer/src/Generated/Models/CallConnectionStateChangedEvent.cs delete mode 100644 sdk/communication/Azure.Communication.CallingServer/src/Generated/Models/CallLegStateChangedEvent.Serialization.cs delete mode 100644 sdk/communication/Azure.Communication.CallingServer/src/Generated/Models/CallLegStateChangedEvent.cs delete mode 100644 sdk/communication/Azure.Communication.CallingServer/src/Generated/Models/CallModality.cs rename sdk/communication/Azure.Communication.CallingServer/src/Generated/Models/{CommunicationParticipantInternal.Serialization.cs => CallParticipantInternal.Serialization.cs} (69%) create mode 100644 sdk/communication/Azure.Communication.CallingServer/src/Generated/Models/CallParticipantInternal.cs rename sdk/communication/Azure.Communication.CallingServer/src/Generated/Models/{GetCallRecordingStateResponse.Serialization.cs => CallRecordingProperties.Serialization.cs} (50%) create mode 100644 sdk/communication/Azure.Communication.CallingServer/src/Generated/Models/CallRecordingProperties.cs delete mode 100644 sdk/communication/Azure.Communication.CallingServer/src/Generated/Models/CallState.cs delete mode 100644 sdk/communication/Azure.Communication.CallingServer/src/Generated/Models/CancelAllMediaOperationsResponse.cs rename sdk/communication/Azure.Communication.CallingServer/src/Generated/Models/{PlayAudioResponse.Serialization.cs => CancelAllMediaOperationsResult.Serialization.cs} (66%) create mode 100644 sdk/communication/Azure.Communication.CallingServer/src/Generated/Models/CancelAllMediaOperationsResult.cs create mode 100644 sdk/communication/Azure.Communication.CallingServer/src/Generated/Models/CommunicationErrorResponse.Serialization.cs create mode 100644 sdk/communication/Azure.Communication.CallingServer/src/Generated/Models/CommunicationErrorResponse.cs delete mode 100644 sdk/communication/Azure.Communication.CallingServer/src/Generated/Models/CommunicationParticipantInternal.cs create mode 100644 sdk/communication/Azure.Communication.CallingServer/src/Generated/Models/CreateCallResultInternal.Serialization.cs rename sdk/communication/Azure.Communication.CallingServer/src/Generated/Models/{CreateCallResponse.cs => CreateCallResultInternal.cs} (50%) delete mode 100644 sdk/communication/Azure.Communication.CallingServer/src/Generated/Models/GetCallRecordingStateResponse.cs delete mode 100644 sdk/communication/Azure.Communication.CallingServer/src/Generated/Models/InviteParticipantsRequestInternal.cs delete mode 100644 sdk/communication/Azure.Communication.CallingServer/src/Generated/Models/InviteParticipantsResultEvent.Serialization.cs delete mode 100644 sdk/communication/Azure.Communication.CallingServer/src/Generated/Models/InviteParticipantsResultEvent.cs delete mode 100644 sdk/communication/Azure.Communication.CallingServer/src/Generated/Models/JoinCallResponse.cs rename sdk/communication/Azure.Communication.CallingServer/src/Generated/Models/{CreateCallResponse.Serialization.cs => JoinCallResultInternal.Serialization.cs} (50%) create mode 100644 sdk/communication/Azure.Communication.CallingServer/src/Generated/Models/JoinCallResultInternal.cs create mode 100644 sdk/communication/Azure.Communication.CallingServer/src/Generated/Models/MediaType.cs delete mode 100644 sdk/communication/Azure.Communication.CallingServer/src/Generated/Models/PlayAudioResponse.cs rename sdk/communication/Azure.Communication.CallingServer/src/Generated/Models/{CancelAllMediaOperationsResponse.Serialization.cs => PlayAudioResult.Serialization.cs} (64%) create mode 100644 sdk/communication/Azure.Communication.CallingServer/src/Generated/Models/PlayAudioResult.cs rename sdk/communication/Azure.Communication.CallingServer/src/Generated/Models/{StartCallRecordingResponse.Serialization.cs => StartCallRecordingResult.Serialization.cs} (71%) rename sdk/communication/Azure.Communication.CallingServer/src/Generated/Models/{StartCallRecordingResponse.cs => StartCallRecordingResult.cs} (76%) rename sdk/communication/Azure.Communication.CallingServer/src/Generated/{ConversationRestClient.cs => ServerCallsRestClient.cs} (59%) rename sdk/communication/Azure.Communication.CallingServer/src/Models/{CallState.cs => CallConnectionState.cs} (59%) rename sdk/communication/Azure.Communication.CallingServer/src/Models/{CommunicationParticipant.cs => CallParticipant.cs} (52%) rename sdk/communication/Azure.Communication.CallingServer/src/Models/{CommunicationParticipantInternal.cs => CallParticipantInternal.cs} (58%) create mode 100644 sdk/communication/Azure.Communication.CallingServer/src/Models/CallingServerModelFactory.cs create mode 100644 sdk/communication/Azure.Communication.CallingServer/src/Models/CreateCallResultInternal.cs create mode 100644 sdk/communication/Azure.Communication.CallingServer/src/Models/Events/AddParticipantResultEvent.cs create mode 100644 sdk/communication/Azure.Communication.CallingServer/src/Models/Events/CallConnectionStateChangedEvent.cs delete mode 100644 sdk/communication/Azure.Communication.CallingServer/src/Models/Events/CallLegStateChangedEvent.cs delete mode 100644 sdk/communication/Azure.Communication.CallingServer/src/Models/Events/InviteParticipantsResultEvent.cs create mode 100644 sdk/communication/Azure.Communication.CallingServer/src/Models/JoinCallResultInternal.cs create mode 100644 sdk/communication/Azure.Communication.CallingServer/src/ServerCall.cs create mode 100644 sdk/communication/Azure.Communication.CallingServer/tests/CallConnection/CallConnectionLiveTests.cs create mode 100644 sdk/communication/Azure.Communication.CallingServer/tests/CallConnection/CallConnectionTests.cs create mode 100644 sdk/communication/Azure.Communication.CallingServer/tests/CallingServerClient/CallingServerClientLiveTests.cs create mode 100644 sdk/communication/Azure.Communication.CallingServer/tests/CallingServerClient/CallingServerClientTests.cs rename sdk/communication/Azure.Communication.CallingServer/tests/{ConversationClients => CallingServerClient}/ContentDownloadTests.cs (64%) delete mode 100644 sdk/communication/Azure.Communication.CallingServer/tests/ConversationClients/ConversationClientBaseTests.cs delete mode 100644 sdk/communication/Azure.Communication.CallingServer/tests/ConversationClients/ConversationClientsTests.cs create mode 100644 sdk/communication/Azure.Communication.CallingServer/tests/Events/EventTests.cs create mode 100644 sdk/communication/Azure.Communication.CallingServer/tests/Infrastructure/CallingServerTestBase.cs create mode 100644 sdk/communication/Azure.Communication.CallingServer/tests/ServerCall/ServerCallLiveTests.cs create mode 100644 sdk/communication/Azure.Communication.CallingServer/tests/ServerCall/ServerCallTests.cs delete mode 100644 sdk/communication/Azure.Communication.CallingServer/tests/ServerCallingClients/CallingServerClientsLiveTests.cs delete mode 100644 sdk/communication/Azure.Communication.CallingServer/tests/ServerCallingClients/CallingServerClientsTests.cs create mode 100644 sdk/communication/Azure.Communication.CallingServer/tests/SessionRecords/CallConnectionLiveTests/RunCreateAddRemoveHangupScenarioTests.json create mode 100644 sdk/communication/Azure.Communication.CallingServer/tests/SessionRecords/CallConnectionLiveTests/RunCreateAddRemoveHangupScenarioTestsAsync.json create mode 100644 sdk/communication/Azure.Communication.CallingServer/tests/SessionRecords/CallConnectionLiveTests/RunCreatePlayCancelHangupScenarioTests.json create mode 100644 sdk/communication/Azure.Communication.CallingServer/tests/SessionRecords/CallConnectionLiveTests/RunCreatePlayCancelHangupScenarioTestsAsync.json delete mode 100644 sdk/communication/Azure.Communication.CallingServer/tests/SessionRecords/CallingServerClientsLiveTests/CancelAllMediaOperationsTest.json delete mode 100644 sdk/communication/Azure.Communication.CallingServer/tests/SessionRecords/CallingServerClientsLiveTests/CancelAllMediaOperationsTestAsync.json delete mode 100644 sdk/communication/Azure.Communication.CallingServer/tests/SessionRecords/CallingServerClientsLiveTests/CreateCallTest.json create mode 100644 sdk/communication/Azure.Communication.CallingServer/tests/SessionRecords/ServerCallLiveTests/RunAllRecordingFunctionsScenarioTests.json create mode 100644 sdk/communication/Azure.Communication.CallingServer/tests/SessionRecords/ServerCallLiveTests/RunAllRecordingFunctionsScenarioTestsAsync.json create mode 100644 sdk/communication/Azure.Communication.CallingServer/tests/SessionRecords/ServerCallLiveTests/RunCreateAddRemoveHangupScenarioTests.json create mode 100644 sdk/communication/Azure.Communication.CallingServer/tests/SessionRecords/ServerCallLiveTests/RunCreateAddRemoveHangupScenarioTestsAsync.json create mode 100644 sdk/communication/Azure.Communication.CallingServer/tests/SessionRecords/ServerCallLiveTests/RunCreatePlayCancelHangupScenarioTests.json create mode 100644 sdk/communication/Azure.Communication.CallingServer/tests/SessionRecords/ServerCallLiveTests/RunCreatePlayCancelHangupScenarioTestsAsync.json diff --git a/.vscode/cspell.json b/.vscode/cspell.json index 117b5722194e..9cc151b70806 100644 --- a/.vscode/cspell.json +++ b/.vscode/cspell.json @@ -37,6 +37,7 @@ "contoso", "deserializes", "diagnoser", + "dtmf", "epsg", "expando", "finalizer", @@ -50,6 +51,7 @@ "overridden", "parallelization", "pkcs", + "pstn", "pwsh", "referer", "renormalize", @@ -57,6 +59,7 @@ "structs", "uints", "unformattable", + "unhold", "uninstrumented", "westus", "xunit" diff --git a/sdk/communication/Azure.Communication.CallingServer/README.md b/sdk/communication/Azure.Communication.CallingServer/README.md index f5c7ab2f5aba..0e2da8398ef1 100644 --- a/sdk/communication/Azure.Communication.CallingServer/README.md +++ b/sdk/communication/Azure.Communication.CallingServer/README.md @@ -1,4 +1,4 @@ -# Azure Communication Server Calling client library for .NET +# Azure Communication CallingServer client library for .NET This package contains a C# SDK for Azure Communication Services for Calling. @@ -6,7 +6,7 @@ This package contains a C# SDK for Azure Communication Services for Calling. ## Getting started ### Install the package -Install the Azure Communication Server Calling client library for .NET with [NuGet][nuget]: +Install the Azure Communication CallingServer client library for .NET with [NuGet][nuget]: ```PowerShell dotnet add package Azure.Communication.CallingServer --version 1.0.0-beta.1 @@ -18,7 +18,7 @@ You need an [Azure subscription][azure_sub] and a [Communication Service Resourc To create a new Communication Service, you can use the [Azure Portal][communication_resource_create_portal], the [Azure PowerShell][communication_resource_create_power_shell], or the [.NET management client library][communication_resource_create_net]. ### Key concepts -`CallClient` provides the functionality to make call related operations. +`CallingServerClient` provides the functionality to make call connection, join call connection or initialize a server call. ### Using statements ```C# Snippet:Azure_Communication_ServerCalling_Tests_UsingStatements @@ -28,33 +28,33 @@ using Azure.Communication.CallingServer; ``` ### Authenticate the client -Server Calling clients can be authenticated using the connection string acquired from an Azure Communication Resource in the [Azure Portal][azure_portal]. +Calling server client can be authenticated using the connection string acquired from an Azure Communication Resource in the [Azure Portal][azure_portal]. ```C# Snippet:Azure_Communication_ServerCalling_Tests_Samples_CreateServerCallingClient var connectionString = ""; // Find your Communication Services resource in the Azure portal -CallClient client = new CallClient(connectionString); +CallingServerClient callingServerClient = new CallingServerClient(connectionString); ``` ## Examples ### Make a call to a phone number recipient -To make a call, call the `CreateCall` or `CreateCallAsync` function from the `CallClient`. +To make an outbound call, call the `CreateCallConnection` or `CreateCallConnectionAsync` function from the `CallingServerClient`. ```C# Snippet:Azure_Communication_Call_Tests_CreateCallOptions var createCallOption = new CreateCallOptions( new Uri(TestEnvironment.AppCallbackUrl), - new List { CallModality.Audio }, - new List + new[] { MediaType.Audio }, + new[] { EventSubscriptionType.ParticipantsUpdated, EventSubscriptionType.DtmfReceived }); ``` ```C# Snippet:Azure_Communication_Call_Tests_CreateCallAsync -CreateCallResponse createCallResponse = await callClient.CreateCallAsync( +var callConnection = await callingServerClient.CreateCallConnectionAsync( source: new CommunicationUserIdentifier(""), // Your Azure Communication Resource Guid Id used to make a Call targets: new List() { new PhoneNumberIdentifier("") }, // E.164 formatted recipient phone number options: createCallOption // The options for creating a call. ); -Console.WriteLine($"Call Leg id: {createCallResponse.CallLegId}"); +Console.WriteLine($"Call connection id: {callConnection.Value.CallConnectionId}"); ``` ## Troubleshooting diff --git a/sdk/communication/Azure.Communication.CallingServer/api/Azure.Communication.CallingServer.netstandard2.0.cs b/sdk/communication/Azure.Communication.CallingServer/api/Azure.Communication.CallingServer.netstandard2.0.cs index c87567dfa6b8..6a748a9c5152 100644 --- a/sdk/communication/Azure.Communication.CallingServer/api/Azure.Communication.CallingServer.netstandard2.0.cs +++ b/sdk/communication/Azure.Communication.CallingServer/api/Azure.Communication.CallingServer.netstandard2.0.cs @@ -1,46 +1,88 @@ namespace Azure.Communication.CallingServer { - public static partial class AzureCommunicationCallingServerServiceModelFactory + public partial class AddParticipantResult { - public static Azure.Communication.CallingServer.CancelAllMediaOperationsResponse CancelAllMediaOperationsResponse(string id = null, Azure.Communication.CallingServer.OperationStatus? status = default(Azure.Communication.CallingServer.OperationStatus?), string operationContext = null, Azure.Communication.CallingServer.ResultInfo resultInfo = null) { throw null; } - public static Azure.Communication.CallingServer.CreateCallResponse CreateCallResponse(string callLegId = null) { throw null; } - public static Azure.Communication.CallingServer.GetCallRecordingStateResponse GetCallRecordingStateResponse(Azure.Communication.CallingServer.CallRecordingState? recordingState = default(Azure.Communication.CallingServer.CallRecordingState?)) { throw null; } - public static Azure.Communication.CallingServer.JoinCallResponse JoinCallResponse(string callLegId = null) { throw null; } - public static Azure.Communication.CallingServer.PlayAudioResponse PlayAudioResponse(string id = null, Azure.Communication.CallingServer.OperationStatus? status = default(Azure.Communication.CallingServer.OperationStatus?), string operationContext = null, Azure.Communication.CallingServer.ResultInfo resultInfo = null) { throw null; } - public static Azure.Communication.CallingServer.ResultInfo ResultInfo(int? code = default(int?), int? subcode = default(int?), string message = null) { throw null; } - public static Azure.Communication.CallingServer.StartCallRecordingResponse StartCallRecordingResponse(string recordingId = null) { throw null; } + internal AddParticipantResult() { } + public string ParticipantId { get { throw null; } } } - public partial class CallClient + public partial class AddParticipantResultEvent : Azure.Communication.CallingServer.CallingServerEventBase { - protected CallClient() { } - public CallClient(string connectionString) { } - public CallClient(string connectionString, Azure.Communication.CallingServer.CallClientOptions options = null) { } - public CallClient(System.Uri endpoint, Azure.AzureKeyCredential keyCredential, Azure.Communication.CallingServer.CallClientOptions options = null) { } - public CallClient(System.Uri endpoint, Azure.Core.TokenCredential tokenCredential, Azure.Communication.CallingServer.CallClientOptions options = null) { } - public virtual Azure.Response AddParticipant(string callLegId, Azure.Communication.CommunicationIdentifier participant, string alternateCallerId = null, string operationContext = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual System.Threading.Tasks.Task AddParticipantAsync(string callLegId, Azure.Communication.CommunicationIdentifier participant, string alternateCallerId = null, string operationContext = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual Azure.Response CancelAllMediaOperations(string callLegId, string operationContext = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual System.Threading.Tasks.Task> CancelAllMediaOperationsAsync(string callLegId, string operationContext = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual Azure.Response CreateCall(Azure.Communication.CommunicationIdentifier source, System.Collections.Generic.IEnumerable targets, Azure.Communication.CallingServer.CreateCallOptions options, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual System.Threading.Tasks.Task> CreateCallAsync(Azure.Communication.CommunicationIdentifier source, System.Collections.Generic.IEnumerable targets, Azure.Communication.CallingServer.CreateCallOptions options, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual Azure.Response DeleteCall(string callLegId, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual System.Threading.Tasks.Task DeleteCallAsync(string callLegId, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual Azure.Response HangupCall(string callLegId, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual System.Threading.Tasks.Task HangupCallAsync(string callLegId, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual Azure.Response PlayAudio(string callLegId, Azure.Communication.CallingServer.PlayAudioOptions options, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual Azure.Response PlayAudio(string callLegId, System.Uri audioFileUri, bool? loop, string audioFileId, System.Uri callbackUri, string operationContext = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual System.Threading.Tasks.Task> PlayAudioAsync(string callLegId, Azure.Communication.CallingServer.PlayAudioOptions options, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual System.Threading.Tasks.Task> PlayAudioAsync(string callLegId, System.Uri audioFileUri, bool? loop, string audioFileId, System.Uri callbackUri, string operationContext = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual Azure.Response RemoveParticipant(string callLegId, string participantId, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual System.Threading.Tasks.Task RemoveParticipantAsync(string callLegId, string participantId, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + internal AddParticipantResultEvent() { } + public string OperationContext { get { throw null; } } + public Azure.Communication.CallingServer.ResultInfo ResultInfo { get { throw null; } } + public Azure.Communication.CallingServer.OperationStatus Status { get { throw null; } } + public static Azure.Communication.CallingServer.AddParticipantResultEvent Deserialize(string content) { throw null; } + } + public partial class CallConnection + { + protected CallConnection() { } + public virtual string CallConnectionId { get { throw null; } } + public virtual Azure.Response AddParticipant(Azure.Communication.CommunicationIdentifier participant, string alternateCallerId = null, string operationContext = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual System.Threading.Tasks.Task> AddParticipantAsync(Azure.Communication.CommunicationIdentifier participant, string alternateCallerId = null, string operationContext = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.Response CancelAllMediaOperations(string operationContext = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual System.Threading.Tasks.Task> CancelAllMediaOperationsAsync(string operationContext = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.Response Hangup(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual System.Threading.Tasks.Task HangupAsync(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.Response PlayAudio(Azure.Communication.CallingServer.PlayAudioOptions options, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.Response PlayAudio(System.Uri audioFileUri, bool? loop, string audioFileId, System.Uri callbackUri, string operationContext = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual System.Threading.Tasks.Task> PlayAudioAsync(Azure.Communication.CallingServer.PlayAudioOptions options, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual System.Threading.Tasks.Task> PlayAudioAsync(System.Uri audioFileUri, bool? loop, string audioFileId, System.Uri callbackUri, string operationContext = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.Response RemoveParticipant(string participantId, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual System.Threading.Tasks.Task RemoveParticipantAsync(string participantId, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + } + [System.Runtime.InteropServices.StructLayoutAttribute(System.Runtime.InteropServices.LayoutKind.Sequential)] + public readonly partial struct CallConnectionState : System.IEquatable + { + private readonly object _dummy; + private readonly int _dummyPrimitive; + public CallConnectionState(string value) { throw null; } + public static Azure.Communication.CallingServer.CallConnectionState Connected { get { throw null; } } + public static Azure.Communication.CallingServer.CallConnectionState Connecting { get { throw null; } } + public static Azure.Communication.CallingServer.CallConnectionState Disconnected { get { throw null; } } + public static Azure.Communication.CallingServer.CallConnectionState Disconnecting { get { throw null; } } + public static Azure.Communication.CallingServer.CallConnectionState Incoming { get { throw null; } } + public bool Equals(Azure.Communication.CallingServer.CallConnectionState other) { throw null; } + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] + public override bool Equals(object obj) { throw null; } + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] + public override int GetHashCode() { throw null; } + public static bool operator ==(Azure.Communication.CallingServer.CallConnectionState left, Azure.Communication.CallingServer.CallConnectionState right) { throw null; } + public static implicit operator Azure.Communication.CallingServer.CallConnectionState (string value) { throw null; } + public static bool operator !=(Azure.Communication.CallingServer.CallConnectionState left, Azure.Communication.CallingServer.CallConnectionState right) { throw null; } + public override string ToString() { throw null; } + } + public partial class CallConnectionStateChangedEvent : Azure.Communication.CallingServer.CallingServerEventBase + { + internal CallConnectionStateChangedEvent() { } + public string CallConnectionId { get { throw null; } } + public Azure.Communication.CallingServer.CallConnectionState CallConnectionState { get { throw null; } } + public string ServerCallId { get { throw null; } } + public static Azure.Communication.CallingServer.CallConnectionStateChangedEvent Deserialize(string content) { throw null; } } - public partial class CallClientOptions : Azure.Core.ClientOptions + public partial class CallingServerClient { - public const Azure.Communication.CallingServer.CallClientOptions.ServiceVersion LatestVersion = Azure.Communication.CallingServer.CallClientOptions.ServiceVersion.V2021_04_15_Preview1; - public CallClientOptions(Azure.Communication.CallingServer.CallClientOptions.ServiceVersion version = Azure.Communication.CallingServer.CallClientOptions.ServiceVersion.V2021_04_15_Preview1) { } + protected CallingServerClient() { } + public CallingServerClient(string connectionString) { } + public CallingServerClient(string connectionString, Azure.Communication.CallingServer.CallingServerClientOptions options) { } + public virtual Azure.Response CreateCallConnection(Azure.Communication.CommunicationIdentifier source, System.Collections.Generic.IEnumerable targets, Azure.Communication.CallingServer.CreateCallOptions options, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual System.Threading.Tasks.Task> CreateCallConnectionAsync(Azure.Communication.CommunicationIdentifier source, System.Collections.Generic.IEnumerable targets, Azure.Communication.CallingServer.CreateCallOptions options, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.Response DownloadStreaming(System.Uri sourceEndpoint, Azure.HttpRange range = default(Azure.HttpRange), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual System.Threading.Tasks.Task> DownloadStreamingAsync(System.Uri sourceEndpoint, Azure.HttpRange range = default(Azure.HttpRange), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.Response DownloadTo(System.Uri sourceEndpoint, System.IO.Stream destinationStream, Azure.Communication.CallingServer.ContentTransferOptions transferOptions = default(Azure.Communication.CallingServer.ContentTransferOptions), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.Response DownloadTo(System.Uri sourceEndpoint, string destinationPath, Azure.Communication.CallingServer.ContentTransferOptions transferOptions = default(Azure.Communication.CallingServer.ContentTransferOptions), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual System.Threading.Tasks.Task DownloadToAsync(System.Uri sourceEndpoint, System.IO.Stream destinationStream, Azure.Communication.CallingServer.ContentTransferOptions transferOptions = default(Azure.Communication.CallingServer.ContentTransferOptions), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual System.Threading.Tasks.Task DownloadToAsync(System.Uri sourceEndpoint, string destinationPath, Azure.Communication.CallingServer.ContentTransferOptions transferOptions = default(Azure.Communication.CallingServer.ContentTransferOptions), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.Communication.CallingServer.CallConnection GetCallConnection(string callConnectionId) { throw null; } + public virtual Azure.Communication.CallingServer.ServerCall InitializeServerCall(string serverCallId) { throw null; } + public virtual Azure.Response JoinCall(string serverCallId, Azure.Communication.CommunicationIdentifier source, Azure.Communication.CallingServer.JoinCallOptions callOptions, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual System.Threading.Tasks.Task> JoinCallAsync(string serverCallId, Azure.Communication.CommunicationIdentifier source, Azure.Communication.CallingServer.JoinCallOptions callOptions, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + } + public partial class CallingServerClientOptions : Azure.Core.ClientOptions + { + public CallingServerClientOptions(Azure.Communication.CallingServer.CallingServerClientOptions.ServiceVersion version = Azure.Communication.CallingServer.CallingServerClientOptions.ServiceVersion.V2021_06_15_Preview) { } public enum ServiceVersion { - V2021_04_15_Preview1 = 0, + V2021_06_15_Preview = 1, } } public abstract partial class CallingServerEventBase @@ -53,9 +95,9 @@ protected CallingServerEventBase() { } private readonly object _dummy; private readonly int _dummyPrimitive; public CallingServerEventType(string value) { throw null; } - public static Azure.Communication.CallingServer.CallingServerEventType CallLegStateChangedEvent { get { throw null; } } + public static Azure.Communication.CallingServer.CallingServerEventType AddParticipantResultEvent { get { throw null; } } + public static Azure.Communication.CallingServer.CallingServerEventType CallConnectionStateChangedEvent { get { throw null; } } public static Azure.Communication.CallingServer.CallingServerEventType CallRecordingStateChangeEvent { get { throw null; } } - public static Azure.Communication.CallingServer.CallingServerEventType InviteParticipantsResultEvent { get { throw null; } } public static Azure.Communication.CallingServer.CallingServerEventType ParticipantsUpdatedEvent { get { throw null; } } public static Azure.Communication.CallingServer.CallingServerEventType PlayAudioResultEvent { get { throw null; } } public static Azure.Communication.CallingServer.CallingServerEventType ToneReceivedEvent { get { throw null; } } @@ -68,31 +110,17 @@ protected CallingServerEventBase() { } public static bool operator !=(Azure.Communication.CallingServer.CallingServerEventType left, Azure.Communication.CallingServer.CallingServerEventType right) { throw null; } public override string ToString() { throw null; } } - public partial class CallLegStateChangedEvent : Azure.Communication.CallingServer.CallingServerEventBase + public partial class CallParticipant { - public CallLegStateChangedEvent() { } - public string CallLegId { get { throw null; } set { } } - public Azure.Communication.CallingServer.CallState? CallState { get { throw null; } set { } } - public string ConversationId { get { throw null; } set { } } - public static Azure.Communication.CallingServer.CallLegStateChangedEvent Deserialize(string content) { throw null; } + internal CallParticipant() { } + public Azure.Communication.CommunicationIdentifier Identifier { get { throw null; } } + public bool IsMuted { get { throw null; } } + public string ParticipantId { get { throw null; } } } - [System.Runtime.InteropServices.StructLayoutAttribute(System.Runtime.InteropServices.LayoutKind.Sequential)] - public readonly partial struct CallModality : System.IEquatable + public partial class CallRecordingProperties { - private readonly object _dummy; - private readonly int _dummyPrimitive; - public CallModality(string value) { throw null; } - public static Azure.Communication.CallingServer.CallModality Audio { get { throw null; } } - public static Azure.Communication.CallingServer.CallModality Video { get { throw null; } } - public bool Equals(Azure.Communication.CallingServer.CallModality other) { throw null; } - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] - public override bool Equals(object obj) { throw null; } - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] - public override int GetHashCode() { throw null; } - public static bool operator ==(Azure.Communication.CallingServer.CallModality left, Azure.Communication.CallingServer.CallModality right) { throw null; } - public static implicit operator Azure.Communication.CallingServer.CallModality (string value) { throw null; } - public static bool operator !=(Azure.Communication.CallingServer.CallModality left, Azure.Communication.CallingServer.CallModality right) { throw null; } - public override string ToString() { throw null; } + internal CallRecordingProperties() { } + public Azure.Communication.CallingServer.CallRecordingState RecordingState { get { throw null; } } } [System.Runtime.InteropServices.StructLayoutAttribute(System.Runtime.InteropServices.LayoutKind.Sequential)] public readonly partial struct CallRecordingState : System.IEquatable @@ -114,55 +142,20 @@ public CallLegStateChangedEvent() { } } public partial class CallRecordingStateChangeEvent : Azure.Communication.CallingServer.CallingServerEventBase { - public CallRecordingStateChangeEvent() { } - public string ConversationId { get { throw null; } set { } } - public string RecordingId { get { throw null; } set { } } - public System.DateTimeOffset? StartDateTime { get { throw null; } set { } } - public Azure.Communication.CallingServer.CallRecordingState? State { get { throw null; } set { } } + internal CallRecordingStateChangeEvent() { } + public string RecordingId { get { throw null; } } + public string ServerCallId { get { throw null; } } + public System.DateTimeOffset StartDateTime { get { throw null; } } + public Azure.Communication.CallingServer.CallRecordingState State { get { throw null; } } public static Azure.Communication.CallingServer.CallRecordingStateChangeEvent Deserialize(string content) { throw null; } } - [System.Runtime.InteropServices.StructLayoutAttribute(System.Runtime.InteropServices.LayoutKind.Sequential)] - public readonly partial struct CallState : System.IEquatable + public partial class CancelAllMediaOperationsResult { - private readonly object _dummy; - private readonly int _dummyPrimitive; - public CallState(string value) { throw null; } - public static Azure.Communication.CallingServer.CallState Established { get { throw null; } } - public static Azure.Communication.CallingServer.CallState Establishing { get { throw null; } } - public static Azure.Communication.CallingServer.CallState Hold { get { throw null; } } - public static Azure.Communication.CallingServer.CallState Idle { get { throw null; } } - public static Azure.Communication.CallingServer.CallState Incoming { get { throw null; } } - public static Azure.Communication.CallingServer.CallState Redirecting { get { throw null; } } - public static Azure.Communication.CallingServer.CallState Terminated { get { throw null; } } - public static Azure.Communication.CallingServer.CallState Terminating { get { throw null; } } - public static Azure.Communication.CallingServer.CallState Transferring { get { throw null; } } - public static Azure.Communication.CallingServer.CallState Unhold { get { throw null; } } - public static Azure.Communication.CallingServer.CallState Unknown { get { throw null; } } - public bool Equals(Azure.Communication.CallingServer.CallState other) { throw null; } - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] - public override bool Equals(object obj) { throw null; } - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] - public override int GetHashCode() { throw null; } - public static bool operator ==(Azure.Communication.CallingServer.CallState left, Azure.Communication.CallingServer.CallState right) { throw null; } - public static implicit operator Azure.Communication.CallingServer.CallState (string value) { throw null; } - public static bool operator !=(Azure.Communication.CallingServer.CallState left, Azure.Communication.CallingServer.CallState right) { throw null; } - public override string ToString() { throw null; } - } - public partial class CancelAllMediaOperationsResponse - { - internal CancelAllMediaOperationsResponse() { } - public string Id { get { throw null; } } + internal CancelAllMediaOperationsResult() { } public string OperationContext { get { throw null; } } + public string OperationId { get { throw null; } } public Azure.Communication.CallingServer.ResultInfo ResultInfo { get { throw null; } } - public Azure.Communication.CallingServer.OperationStatus? Status { get { throw null; } } - } - public partial class CommunicationParticipant - { - public CommunicationParticipant() { } - public CommunicationParticipant(Azure.Communication.CommunicationIdentifier identifier, string participantId, bool? isMuted) { } - public Azure.Communication.CommunicationIdentifier Identifier { get { throw null; } set { } } - public bool? IsMuted { get { throw null; } set { } } - public string ParticipantId { get { throw null; } set { } } + public Azure.Communication.CallingServer.OperationStatus Status { get { throw null; } } } [System.Runtime.InteropServices.StructLayoutAttribute(System.Runtime.InteropServices.LayoutKind.Sequential)] public partial struct ContentTransferOptions : System.IEquatable @@ -181,54 +174,15 @@ public partial struct ContentTransferOptions : System.IEquatable AddParticipantAsync(string conversationId, Azure.Communication.CommunicationIdentifier participant, System.Uri callbackUri, string alternateCallerId = null, string operationContext = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual Azure.Response DownloadStreaming(System.Uri sourceEndpoint, Azure.HttpRange range = default(Azure.HttpRange), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual System.Threading.Tasks.Task> DownloadStreamingAsync(System.Uri sourceEndpoint, Azure.HttpRange range = default(Azure.HttpRange), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual Azure.Response DownloadTo(System.Uri sourceEndpoint, System.IO.Stream destinationStream, Azure.Communication.CallingServer.ContentTransferOptions transferOptions = default(Azure.Communication.CallingServer.ContentTransferOptions), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual Azure.Response DownloadTo(System.Uri sourceEndpoint, string destinationPath, Azure.Communication.CallingServer.ContentTransferOptions transferOptions = default(Azure.Communication.CallingServer.ContentTransferOptions), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual System.Threading.Tasks.Task DownloadToAsync(System.Uri sourceEndpoint, System.IO.Stream destinationStream, Azure.Communication.CallingServer.ContentTransferOptions transferOptions = default(Azure.Communication.CallingServer.ContentTransferOptions), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual System.Threading.Tasks.Task DownloadToAsync(System.Uri sourceEndpoint, string destinationPath, Azure.Communication.CallingServer.ContentTransferOptions transferOptions = default(Azure.Communication.CallingServer.ContentTransferOptions), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual Azure.Response GetRecordingState(string conversationId, string recordingId, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual System.Threading.Tasks.Task> GetRecordingStateAsync(string conversationId, string recordingId, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual Azure.Response JoinCall(string conversationId, Azure.Communication.CommunicationIdentifier source, Azure.Communication.CallingServer.JoinCallOptions callOptions, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual System.Threading.Tasks.Task> JoinCallAsync(string conversationId, Azure.Communication.CommunicationIdentifier source, Azure.Communication.CallingServer.JoinCallOptions callOptions, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual Azure.Response PauseRecording(string conversationId, string recordingId, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual System.Threading.Tasks.Task PauseRecordingAsync(string conversationId, string recordingId, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual Azure.Response PlayAudio(string conversationId, Azure.Communication.CallingServer.PlayAudioOptions options, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual Azure.Response PlayAudio(string conversationId, System.Uri audioFileUri, string audioFileId, System.Uri callbackUri, string operationContext = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual System.Threading.Tasks.Task> PlayAudioAsync(string conversationId, Azure.Communication.CallingServer.PlayAudioOptions options, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual System.Threading.Tasks.Task> PlayAudioAsync(string conversationId, System.Uri audioFileUri, string audioFileId, System.Uri callbackUri, string operationContext = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual Azure.Response RemoveParticipant(string conversationId, string participantId, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual System.Threading.Tasks.Task RemoveParticipantAsync(string conversationId, string participantId, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual Azure.Response ResumeRecording(string conversationId, string recordingId, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual System.Threading.Tasks.Task ResumeRecordingAsync(string conversationId, string recordingId, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual Azure.Response StartRecording(string conversationId, System.Uri recordingStateCallbackUri, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual System.Threading.Tasks.Task> StartRecordingAsync(string conversationId, System.Uri recordingStateCallbackUri, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual Azure.Response StopRecording(string conversationId, string recordingId, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual System.Threading.Tasks.Task StopRecordingAsync(string conversationId, string recordingId, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - } public partial class CreateCallOptions { - public CreateCallOptions(System.Uri callbackUri, System.Collections.Generic.IEnumerable requestedModalities, System.Collections.Generic.IEnumerable requestedCallEvents) { } + public CreateCallOptions(System.Uri callbackUri, System.Collections.Generic.IEnumerable requestedMediaTypes, System.Collections.Generic.IEnumerable requestedCallEvents) { } public Azure.Communication.PhoneNumberIdentifier AlternateCallerId { get { throw null; } set { } } public System.Uri CallbackUri { get { throw null; } } public System.Collections.Generic.IList RequestedCallEvents { get { throw null; } } - public System.Collections.Generic.IList RequestedModalities { get { throw null; } } + public System.Collections.Generic.IList RequestedMediaTypes { get { throw null; } } public string Subject { get { throw null; } set { } } } - public partial class CreateCallResponse - { - internal CreateCallResponse() { } - public string CallLegId { get { throw null; } } - } [System.Runtime.InteropServices.StructLayoutAttribute(System.Runtime.InteropServices.LayoutKind.Sequential)] public readonly partial struct EventSubscriptionType : System.IEquatable { @@ -247,31 +201,31 @@ internal CreateCallResponse() { } public static bool operator !=(Azure.Communication.CallingServer.EventSubscriptionType left, Azure.Communication.CallingServer.EventSubscriptionType right) { throw null; } public override string ToString() { throw null; } } - public partial class GetCallRecordingStateResponse - { - internal GetCallRecordingStateResponse() { } - public Azure.Communication.CallingServer.CallRecordingState? RecordingState { get { throw null; } } - } - public partial class InviteParticipantsResultEvent : Azure.Communication.CallingServer.CallingServerEventBase - { - public InviteParticipantsResultEvent() { } - public string OperationContext { get { throw null; } set { } } - public Azure.Communication.CallingServer.ResultInfo ResultInfo { get { throw null; } set { } } - public Azure.Communication.CallingServer.OperationStatus? Status { get { throw null; } set { } } - public static Azure.Communication.CallingServer.InviteParticipantsResultEvent Deserialize(string content) { throw null; } - } public partial class JoinCallOptions { - public JoinCallOptions(System.Uri callbackUri, System.Collections.Generic.IEnumerable requestedModalities, System.Collections.Generic.IEnumerable requestedCallEvents) { } + public JoinCallOptions(System.Uri callbackUri, System.Collections.Generic.IEnumerable requestedMediaTypes, System.Collections.Generic.IEnumerable requestedCallEvents) { } public System.Uri CallbackUri { get { throw null; } } public System.Collections.Generic.IList RequestedCallEvents { get { throw null; } } - public System.Collections.Generic.IList RequestedModalities { get { throw null; } } + public System.Collections.Generic.IList RequestedMediaTypes { get { throw null; } } public string Subject { get { throw null; } set { } } } - public partial class JoinCallResponse + [System.Runtime.InteropServices.StructLayoutAttribute(System.Runtime.InteropServices.LayoutKind.Sequential)] + public readonly partial struct MediaType : System.IEquatable { - internal JoinCallResponse() { } - public string CallLegId { get { throw null; } } + private readonly object _dummy; + private readonly int _dummyPrimitive; + public MediaType(string value) { throw null; } + public static Azure.Communication.CallingServer.MediaType Audio { get { throw null; } } + public static Azure.Communication.CallingServer.MediaType Video { get { throw null; } } + public bool Equals(Azure.Communication.CallingServer.MediaType other) { throw null; } + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] + public override bool Equals(object obj) { throw null; } + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] + public override int GetHashCode() { throw null; } + public static bool operator ==(Azure.Communication.CallingServer.MediaType left, Azure.Communication.CallingServer.MediaType right) { throw null; } + public static implicit operator Azure.Communication.CallingServer.MediaType (string value) { throw null; } + public static bool operator !=(Azure.Communication.CallingServer.MediaType left, Azure.Communication.CallingServer.MediaType right) { throw null; } + public override string ToString() { throw null; } } [System.Runtime.InteropServices.StructLayoutAttribute(System.Runtime.InteropServices.LayoutKind.Sequential)] public readonly partial struct OperationStatus : System.IEquatable @@ -295,9 +249,9 @@ internal JoinCallResponse() { } } public partial class ParticipantsUpdatedEvent : Azure.Communication.CallingServer.CallingServerEventBase { - public ParticipantsUpdatedEvent() { } - public string CallLegId { get { throw null; } set { } } - public System.Collections.Generic.IEnumerable Participants { get { throw null; } set { } } + internal ParticipantsUpdatedEvent() { } + public string CallConnectionId { get { throw null; } } + public System.Collections.Generic.IEnumerable Participants { get { throw null; } } public static Azure.Communication.CallingServer.ParticipantsUpdatedEvent Deserialize(string content) { throw null; } } public partial class PlayAudioOptions @@ -309,45 +263,65 @@ public PlayAudioOptions() { } public bool? Loop { get { throw null; } set { } } public string OperationContext { get { throw null; } set { } } } - public partial class PlayAudioResponse + public partial class PlayAudioResult { - internal PlayAudioResponse() { } - public string Id { get { throw null; } } + internal PlayAudioResult() { } public string OperationContext { get { throw null; } } + public string OperationId { get { throw null; } } public Azure.Communication.CallingServer.ResultInfo ResultInfo { get { throw null; } } - public Azure.Communication.CallingServer.OperationStatus? Status { get { throw null; } } + public Azure.Communication.CallingServer.OperationStatus Status { get { throw null; } } } public partial class PlayAudioResultEvent : Azure.Communication.CallingServer.CallingServerEventBase { - public PlayAudioResultEvent() { } - public string OperationContext { get { throw null; } set { } } - public Azure.Communication.CallingServer.ResultInfo ResultInfo { get { throw null; } set { } } - public Azure.Communication.CallingServer.OperationStatus? Status { get { throw null; } set { } } + internal PlayAudioResultEvent() { } + public string OperationContext { get { throw null; } } + public Azure.Communication.CallingServer.ResultInfo ResultInfo { get { throw null; } } + public Azure.Communication.CallingServer.OperationStatus Status { get { throw null; } } public static Azure.Communication.CallingServer.PlayAudioResultEvent Deserialize(string content) { throw null; } } public partial class ResultInfo { internal ResultInfo() { } - public int? Code { get { throw null; } } + public int Code { get { throw null; } } public string Message { get { throw null; } } - public int? Subcode { get { throw null; } } + public int Subcode { get { throw null; } } + } + public partial class ServerCall + { + protected ServerCall() { } + public virtual Azure.Response AddParticipant(Azure.Communication.CommunicationIdentifier participant, System.Uri callbackUri, string alternateCallerId = null, string operationContext = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual System.Threading.Tasks.Task> AddParticipantAsync(Azure.Communication.CommunicationIdentifier participant, System.Uri callbackUri, string alternateCallerId = null, string operationContext = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.Response GetRecordingState(string recordingId, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual System.Threading.Tasks.Task> GetRecordingStateAsync(string recordingId, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.Response PauseRecording(string recordingId, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual System.Threading.Tasks.Task PauseRecordingAsync(string recordingId, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.Response PlayAudio(System.Uri audioFileUri, string audioFileId, System.Uri callbackUri, string operationContext = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual System.Threading.Tasks.Task> PlayAudioAsync(System.Uri audioFileUri, string audioFileId, System.Uri callbackUri, string operationContext = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.Response RemoveParticipant(string participantId, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual System.Threading.Tasks.Task RemoveParticipantAsync(string participantId, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.Response ResumeRecording(string recordingId, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual System.Threading.Tasks.Task ResumeRecordingAsync(string recordingId, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.Response StartRecording(System.Uri recordingStateCallbackUri, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual System.Threading.Tasks.Task> StartRecordingAsync(System.Uri recordingStateCallbackUri, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.Response StopRecording(string recordingId, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual System.Threading.Tasks.Task StopRecordingAsync(string recordingId, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } } - public partial class StartCallRecordingResponse + public partial class StartCallRecordingResult { - internal StartCallRecordingResponse() { } + internal StartCallRecordingResult() { } public string RecordingId { get { throw null; } } } public partial class ToneInfo { - public ToneInfo() { } - public int? SequenceId { get { throw null; } set { } } - public Azure.Communication.CallingServer.ToneValue? Tone { get { throw null; } set { } } + internal ToneInfo() { } + public int SequenceId { get { throw null; } } + public Azure.Communication.CallingServer.ToneValue Tone { get { throw null; } } } public partial class ToneReceivedEvent : Azure.Communication.CallingServer.CallingServerEventBase { - public ToneReceivedEvent() { } - public string CallLegId { get { throw null; } set { } } - public Azure.Communication.CallingServer.ToneInfo ToneInfo { get { throw null; } set { } } + internal ToneReceivedEvent() { } + public string CallConnectionId { get { throw null; } } + public Azure.Communication.CallingServer.ToneInfo ToneInfo { get { throw null; } } public static Azure.Communication.CallingServer.ToneReceivedEvent Deserialize(string content) { throw null; } } [System.Runtime.InteropServices.StructLayoutAttribute(System.Runtime.InteropServices.LayoutKind.Sequential)] @@ -384,3 +358,21 @@ public ToneReceivedEvent() { } public override string ToString() { throw null; } } } +namespace Azure.Communication.CallingServer.Models +{ + public static partial class CallingServerModelFactory + { + public static Azure.Communication.CallingServer.AddParticipantResult AddParticipantResult(string participantId = null) { throw null; } + public static Azure.Communication.CallingServer.AddParticipantResultEvent AddParticipantResultEvent(Azure.Communication.CallingServer.ResultInfo resultInfo = null, string operationContext = null, Azure.Communication.CallingServer.OperationStatus status = default(Azure.Communication.CallingServer.OperationStatus)) { throw null; } + public static Azure.Communication.CallingServer.CallConnectionStateChangedEvent CallConnectionStateChangedEvent(string serverCallId = null, string callConnectionId = null, Azure.Communication.CallingServer.CallConnectionState callConnectionState = default(Azure.Communication.CallingServer.CallConnectionState)) { throw null; } + public static Azure.Communication.CallingServer.CallRecordingProperties CallRecordingProperties(Azure.Communication.CallingServer.CallRecordingState recordingState = default(Azure.Communication.CallingServer.CallRecordingState)) { throw null; } + public static Azure.Communication.CallingServer.CallRecordingStateChangeEvent CallRecordingStateChangeEvent(string recordingId = null, Azure.Communication.CallingServer.CallRecordingState state = default(Azure.Communication.CallingServer.CallRecordingState), System.DateTimeOffset startDateTime = default(System.DateTimeOffset), string serverCallId = null) { throw null; } + public static Azure.Communication.CallingServer.CancelAllMediaOperationsResult CancelAllMediaOperationsResult(string operationId = null, Azure.Communication.CallingServer.OperationStatus status = default(Azure.Communication.CallingServer.OperationStatus), string operationContext = null, Azure.Communication.CallingServer.ResultInfo resultInfo = null) { throw null; } + public static Azure.Communication.CallingServer.PlayAudioResult PlayAudioResult(string operationId = null, Azure.Communication.CallingServer.OperationStatus status = default(Azure.Communication.CallingServer.OperationStatus), string operationContext = null, Azure.Communication.CallingServer.ResultInfo resultInfo = null) { throw null; } + public static Azure.Communication.CallingServer.PlayAudioResultEvent PlayAudioResultEvent(Azure.Communication.CallingServer.ResultInfo resultInfo = null, string operationContext = null, Azure.Communication.CallingServer.OperationStatus status = default(Azure.Communication.CallingServer.OperationStatus)) { throw null; } + public static Azure.Communication.CallingServer.ResultInfo ResultInfo(int code = 0, int subcode = 0, string message = null) { throw null; } + public static Azure.Communication.CallingServer.StartCallRecordingResult StartCallRecordingResult(string recordingId = null) { throw null; } + public static Azure.Communication.CallingServer.ToneInfo ToneInfo(int sequenceId = 0, Azure.Communication.CallingServer.ToneValue tone = default(Azure.Communication.CallingServer.ToneValue)) { throw null; } + public static Azure.Communication.CallingServer.ToneReceivedEvent ToneReceivedEvent(Azure.Communication.CallingServer.ToneInfo toneInfo = null, string callConnectionId = null) { throw null; } + } +} diff --git a/sdk/communication/Azure.Communication.CallingServer/samples/README.md b/sdk/communication/Azure.Communication.CallingServer/samples/README.md index 502d01001f01..e775faa2a382 100644 --- a/sdk/communication/Azure.Communication.CallingServer/samples/README.md +++ b/sdk/communication/Azure.Communication.CallingServer/samples/README.md @@ -5,13 +5,13 @@ languages: products: - azure - azure-communication-services -name: Azure Communication Server Calling samples for .NET +name: Azure Communication CallingServer samples for .NET description: Samples for the Azure.Communication.CallingServer client library --- -# Azure Communication Server Calling SDK samples +# Azure Communication CallingServer SDK samples -Azure Communication Server Calling is a client library that provides the functionality to make call between user identities. +Azure Communication CallingServer is a client library that provides the functionality to make call between user identities. To get started you will need to have an Azure Subscription. Once you have this you can go into the Azure portal and create Azure Communication Services resource. The page will give you necessary information to be able to use the sample codes here such as connections string, shared access key, etc. This client library allows to do following operations: diff --git a/sdk/communication/Azure.Communication.CallingServer/samples/Sample1_CreateCall.md b/sdk/communication/Azure.Communication.CallingServer/samples/Sample1_CreateCall.md index 8ea57baf5a1e..7b8b15a9b5fb 100644 --- a/sdk/communication/Azure.Communication.CallingServer/samples/Sample1_CreateCall.md +++ b/sdk/communication/Azure.Communication.CallingServer/samples/Sample1_CreateCall.md @@ -4,13 +4,13 @@ This sample demonstrates how to make a call to a phone number recipient. To get started you'll need a Communication Service Resource. See [README][README] for prerequisites and instructions. -## Creating an `ServerCallingClient` +## Creating a `CallingServerClient` -Server Calling clients can be authenticated using the connection string acquired from an Azure Communication Resource in the Azure Portal. +CallingServer client can be authenticated using the connection string acquired from an Azure Communication Resource in the Azure Portal. ```C# Snippet:Azure_Communication_ServerCalling_Tests_Samples_CreateServerCallingClient var connectionString = ""; // Find your Communication Services resource in the Azure portal -CallClient client = new CallClient(connectionString); +CallingServerClient callingServerClient = new CallingServerClient(connectionString); ``` ## Make a call to a phone number recipient @@ -19,20 +19,20 @@ To make a call, call the `CreateCall` or `CreateCallAsync` function from the `Ca ```C# Snippet:Azure_Communication_Call_Tests_CreateCallOptions var createCallOption = new CreateCallOptions( new Uri(TestEnvironment.AppCallbackUrl), - new List { CallModality.Audio }, - new List + new[] { MediaType.Audio }, + new[] { EventSubscriptionType.ParticipantsUpdated, EventSubscriptionType.DtmfReceived }); ``` ```C# Snippet:Azure_Communication_Call_Tests_CreateCall -CreateCallResponse createCallResponse = callClient.CreateCall( +var callConnection = callingServerClient.CreateCallConnection( source: new CommunicationUserIdentifier(""), // Your Azure Communication Resource Guid Id used to make a Call targets: new List() { new PhoneNumberIdentifier("") }, // E.164 formatted recipient phone number options: createCallOption // The options for creating a call. ); -Console.WriteLine($"Call Leg id: {createCallResponse.CallLegId}"); +Console.WriteLine($"Call connection id: {callConnection.Value.CallConnectionId}"); ``` To see the full example source files, see: diff --git a/sdk/communication/Azure.Communication.CallingServer/samples/Sample1_CreateCallAsync.md b/sdk/communication/Azure.Communication.CallingServer/samples/Sample1_CreateCallAsync.md index 1ad5703e3a79..18b334d34625 100644 --- a/sdk/communication/Azure.Communication.CallingServer/samples/Sample1_CreateCallAsync.md +++ b/sdk/communication/Azure.Communication.CallingServer/samples/Sample1_CreateCallAsync.md @@ -4,13 +4,13 @@ This sample demonstrates how to make a call to a recipient phone number. To get started you'll need a Communication Service Resource. See [README][README] for prerequisites and instructions. -## Creating an `ServerCallingClient` +## Creating a `CallingServerClient` -Server Calling clients can be authenticated using the connection string acquired from an Azure Communication Resource in the Azure Portal. +CallingServer client can be authenticated using the connection string acquired from an Azure Communication Resource in the Azure Portal. ```C# Snippet:Azure_Communication_ServerCalling_Tests_Samples_CreateServerCallingClient var connectionString = ""; // Find your Communication Services resource in the Azure portal -CallClient client = new CallClient(connectionString); +CallingServerClient callingServerClient = new CallingServerClient(connectionString); ``` ## Make a call to a phone number recipient @@ -19,20 +19,20 @@ To make a Call, call the `CreateCall` or `CreateCallAsync` function from the `Ca ```C# Snippet:Azure_Communication_Call_Tests_CreateCallOptions var createCallOption = new CreateCallOptions( new Uri(TestEnvironment.AppCallbackUrl), - new List { CallModality.Audio }, - new List + new[] { MediaType.Audio }, + new[] { EventSubscriptionType.ParticipantsUpdated, EventSubscriptionType.DtmfReceived }); ``` ```C# Snippet:Azure_Communication_Call_Tests_CreateCallAsync -CreateCallResponse createCallResponse = await callClient.CreateCallAsync( +var callConnection = await callingServerClient.CreateCallConnectionAsync( source: new CommunicationUserIdentifier(""), // Your Azure Communication Resource Guid Id used to make a Call targets: new List() { new PhoneNumberIdentifier("") }, // E.164 formatted recipient phone number options: createCallOption // The options for creating a call. ); -Console.WriteLine($"Call Leg id: {createCallResponse.CallLegId}"); +Console.WriteLine($"Call connection id: {callConnection.Value.CallConnectionId}"); ``` To see the full example source files, see: diff --git a/sdk/communication/Azure.Communication.CallingServer/src/Azure.Communication.CallingServer.csproj b/sdk/communication/Azure.Communication.CallingServer/src/Azure.Communication.CallingServer.csproj index af9fd5b53b07..b6c54a2c7064 100644 --- a/sdk/communication/Azure.Communication.CallingServer/src/Azure.Communication.CallingServer.csproj +++ b/sdk/communication/Azure.Communication.CallingServer/src/Azure.Communication.CallingServer.csproj @@ -1,13 +1,13 @@  - This client library enables working with the Microsoft Azure Communication Service Calling Server APIs. + This client library enables working with the Microsoft Azure Communication CallingServer service. For this release, see notes - https://github.com/Azure/azure-sdk-for-net-pr/blob/master/sdk/communication/Azure.Communication.ServerCalling/README.md and https://github.com/Azure/azure-sdk-for-net-pr/blob/master/sdk/communication/Azure.Communication.ServerCalling/CHANGELOG.md. - Azure Communication Service Calling Server APIs + Azure Communication CallingServer Service 1.0.0-beta.1 - Microsoft Azure Communication Calling Server APIs;Microsoft;Azure;Azure Communication Service;Azure Communication Calling Server APIs;Calling;Communication;$(PackageCommonTags) + Microsoft Azure Communication CallingServer Service;Microsoft;Azure;Azure Communication Service;Azure Communication CallingServer Service;Calling;Communication;$(PackageCommonTags) $(RequiredTargetFrameworks) diff --git a/sdk/communication/Azure.Communication.CallingServer/src/CallClient.cs b/sdk/communication/Azure.Communication.CallingServer/src/CallClient.cs deleted file mode 100644 index 6ddf78a66d82..000000000000 --- a/sdk/communication/Azure.Communication.CallingServer/src/CallClient.cs +++ /dev/null @@ -1,533 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. - -using System; -using System.Collections.Generic; -using System.Linq; -using System.Threading; -using System.Threading.Tasks; -using Azure.Core; -using Azure.Core.Pipeline; -using Azure.Communication.Pipeline; - -namespace Azure.Communication.CallingServer -{ - /// - /// The Azure Communication Services Calling Server client. - /// - public class CallClient - { - private readonly ClientDiagnostics _clientDiagnostics; - internal CallRestClient RestClient { get; } - - #region public constructors - all arguments need null check - - /// Initializes a new instance of . - /// Connection string acquired from the Azure Communication Services resource. - public CallClient(string connectionString) - : this( - ConnectionString.Parse(Argument.CheckNotNullOrEmpty(connectionString, nameof(connectionString))), - new CallClientOptions()) - { } - - /// Initializes a new instance of . - /// Connection string acquired from the Azure Communication Services resource. - /// Client option exposing , , , etc. - public CallClient(string connectionString, CallClientOptions options = default) - : this( - ConnectionString.Parse(Argument.CheckNotNullOrEmpty(connectionString, nameof(connectionString))), - options ?? new CallClientOptions()) - { } - - /// Initializes a new instance of . - /// The URI of the Azure Communication Services resource. - /// The used to authenticate requests. - /// Client option exposing , , , etc. - public CallClient(Uri endpoint, AzureKeyCredential keyCredential, CallClientOptions options = default) - : this( - Argument.CheckNotNull(endpoint, nameof(endpoint)).AbsoluteUri, - Argument.CheckNotNull(keyCredential, nameof(keyCredential)), - options ?? new CallClientOptions()) - { } - - /// Initializes a new instance of . - /// The URI of the Azure Communication Services resource. - /// The TokenCredential used to authenticate requests, such as DefaultAzureCredential. - /// Client option exposing , , , etc. - public CallClient(Uri endpoint, TokenCredential tokenCredential, CallClientOptions options = default) - : this( - Argument.CheckNotNull(endpoint, nameof(endpoint)).AbsoluteUri, - Argument.CheckNotNull(tokenCredential, nameof(tokenCredential)), - options ?? new CallClientOptions()) - { } - - #endregion - - #region private constructors - - private CallClient(ConnectionString connectionString, CallClientOptions options) - : this(connectionString.GetRequired("endpoint"), options.BuildHttpPipeline(connectionString), options) - { } - - private CallClient(string endpoint, TokenCredential tokenCredential, CallClientOptions options) - : this(endpoint, options.BuildHttpPipeline(tokenCredential), options) - { } - - private CallClient(string endpoint, AzureKeyCredential keyCredential, CallClientOptions options) - : this(endpoint, options.BuildHttpPipeline(keyCredential), options) - { } - - private CallClient(string endpoint, HttpPipeline httpPipeline, CallClientOptions options) - { - _clientDiagnostics = new ClientDiagnostics(options); - RestClient = new CallRestClient(_clientDiagnostics, httpPipeline, endpoint, options.ApiVersion); - } - - #endregion - - /// Initializes a new instance of for mocking. - protected CallClient() - { - _clientDiagnostics = null; - RestClient = null; - } - - /// Create an outgoing call from source to target identities. - /// The source identity - /// The target identities. - /// The call options. - /// The cancellation token. - /// The server returned an error. See for details returned from the server. - /// is null. - /// is null. - /// is null. - public virtual async Task> CreateCallAsync(CommunicationIdentifier source, IEnumerable targets, CreateCallOptions options, CancellationToken cancellationToken = default) - { - using DiagnosticScope scope = _clientDiagnostics.CreateScope($"{nameof(CallClient)}.{nameof(CreateCall)}"); - scope.Start(); - try - { - Argument.AssertNotNull(source, nameof(source)); - Argument.AssertNotNullOrEmpty(targets, nameof(targets)); - Argument.AssertNotNull(options, nameof(options)); - - var sourceAlternateIdentity = options.AlternateCallerId == null ? null : new PhoneNumberIdentifierModel(options.AlternateCallerId.PhoneNumber); - - return await RestClient.CreateCallAsync( - targets: targets.Select(t => CommunicationIdentifierSerializer.Serialize(t)), - source: CommunicationIdentifierSerializer.Serialize(source), - callbackUri: options.CallbackUri?.AbsoluteUri, - requestedModalities: options.RequestedModalities, - requestedCallEvents: options.RequestedCallEvents, - sourceAlternateIdentity: sourceAlternateIdentity, - subject: options.Subject, - cancellationToken: cancellationToken - ).ConfigureAwait(false); - } - catch (Exception ex) - { - scope.Failed(ex); - throw; - } - } - - /// Create an outgoing call from source to target identities. - /// The source identity - /// The target identities. - /// The call options. - /// The cancellation token. - /// The server returned an error. See for details returned from the server. - /// is null. - /// is null. - /// is null. - public virtual Response CreateCall(CommunicationIdentifier source, IEnumerable targets, CreateCallOptions options, CancellationToken cancellationToken = default) - { - using DiagnosticScope scope = _clientDiagnostics.CreateScope($"{nameof(CallClient)}.{nameof(CreateCall)}"); - scope.Start(); - try - { - Argument.AssertNotNull(source, nameof(source)); - Argument.AssertNotNullOrEmpty(targets, nameof(targets)); - Argument.AssertNotNull(options, nameof(options)); - - var sourceAlternateIdentity = options.AlternateCallerId == null ? null : new PhoneNumberIdentifierModel(options.AlternateCallerId.PhoneNumber); - - return RestClient.CreateCall( - targets: targets.Select(t => CommunicationIdentifierSerializer.Serialize(t)), - source: CommunicationIdentifierSerializer.Serialize(source), - callbackUri: options.CallbackUri?.AbsoluteUri, - requestedModalities: options.RequestedModalities, - requestedCallEvents: options.RequestedCallEvents, - sourceAlternateIdentity: sourceAlternateIdentity, - subject: options.Subject, - cancellationToken: cancellationToken - ); - } - catch (Exception ex) - { - scope.Failed(ex); - throw; - } - } - - /// Deletes the call. - /// The call leg id. - /// The cancellation token . - /// The server returned an error. See for details returned from the server. - public virtual async Task DeleteCallAsync(string callLegId, CancellationToken cancellationToken = default) - { - using DiagnosticScope scope = _clientDiagnostics.CreateScope($"{nameof(CallClient)}.{nameof(DeleteCall)}"); - scope.Start(); - try - { - return await RestClient.DeleteCallAsync( - callId: callLegId, - cancellationToken: cancellationToken - ).ConfigureAwait(false); - } - catch (Exception ex) - { - scope.Failed(ex); - throw; - } - } - - /// Deletes the call. - /// The call leg id. - /// The cancellation token. - /// The server returned an error. See for details returned from the server. - public virtual Response DeleteCall(string callLegId, CancellationToken cancellationToken = default) - { - using DiagnosticScope scope = _clientDiagnostics.CreateScope($"{nameof(CallClient)}.{nameof(DeleteCall)}"); - scope.Start(); - try - { - return RestClient.DeleteCall( - callId: callLegId, - cancellationToken: cancellationToken - ); - } - catch (Exception ex) - { - scope.Failed(ex); - throw; - } - } - - /// Disconnect the current caller in a group-call or end a p2p-call. - /// The call leg id. - /// The cancellation token. - /// The server returned an error. See for details returned from the server. - public virtual async Task HangupCallAsync(string callLegId, CancellationToken cancellationToken = default) - { - using DiagnosticScope scope = _clientDiagnostics.CreateScope($"{nameof(CallClient)}.{nameof(HangupCall)}"); - scope.Start(); - try - { - return await RestClient.HangupCallAsync( - callId: callLegId, - cancellationToken: cancellationToken - ).ConfigureAwait(false); - } - catch (Exception ex) - { - scope.Failed(ex); - throw; - } - } - - /// Disconnect the current caller in a group-call or end a p2p-call. - /// The call leg id. - /// The cancellation token. - /// The server returned an error. See for details returned from the server. - public virtual Response HangupCall(string callLegId, CancellationToken cancellationToken = default) - { - using DiagnosticScope scope = _clientDiagnostics.CreateScope($"{nameof(CallClient)}.{nameof(HangupCall)}"); - scope.Start(); - try - { - return RestClient.HangupCall( - callId: callLegId, - cancellationToken: cancellationToken - ); - } - catch (Exception ex) - { - scope.Failed(ex); - throw; - } - } - - /// Cancel all media operations in the call. - /// The call leg id. - /// The operation context. - /// The cancellation token. - /// The server returned an error. See for details returned from the server. - public virtual async Task> CancelAllMediaOperationsAsync(string callLegId, string operationContext = null, CancellationToken cancellationToken = default) - { - using DiagnosticScope scope = _clientDiagnostics.CreateScope($"{nameof(CallClient)}.{nameof(CancelAllMediaOperations)}"); - scope.Start(); - try - { - return await RestClient.CancelAllMediaOperationsAsync( - callId: callLegId, - operationContext: operationContext, - cancellationToken: cancellationToken - ).ConfigureAwait(false); - } - catch (Exception ex) - { - scope.Failed(ex); - throw; - } - } - - /// Cancel all media operations in the call. - /// The call leg id. - /// The operation context. - /// The cancellation token. - /// The server returned an error. See for details returned from the server. - public virtual Response CancelAllMediaOperations(string callLegId, string operationContext = null, CancellationToken cancellationToken = default) - { - using DiagnosticScope scope = _clientDiagnostics.CreateScope($"{nameof(CallClient)}.{nameof(CancelAllMediaOperations)}"); - scope.Start(); - try - { - return RestClient.CancelAllMediaOperations( - callId: callLegId, - operationContext: operationContext, - cancellationToken: cancellationToken - ); - } - catch (Exception ex) - { - scope.Failed(ex); - throw; - } - } - - /// Play audio in the call. - /// The call leg id. - /// The uri of the audio file. - /// The flag to indicate if audio file need to be played in a loop or not. - /// Tne id for the media in the AudioFileUri, using which we cache the media resource. - /// The callback Uri to receive PlayAudio status notifications. - /// The operation context. - /// The cancellation token to use. - /// The server returned an error. See for details returned from the server. - /// is null. - public virtual async Task> PlayAudioAsync(string callLegId, Uri audioFileUri, bool? loop, string audioFileId, Uri callbackUri, string operationContext = null, CancellationToken cancellationToken = default) - => await PlayAudioAsync( - callLegId: callLegId, - options: new PlayAudioOptions { - AudioFileUri = audioFileUri, - Loop = loop, - AudioFileId = audioFileId, - CallbackUri = callbackUri, - OperationContext = operationContext - }, - cancellationToken: cancellationToken - ).ConfigureAwait(false); - - /// Play audio in the call. - /// The call leg id. - /// Play audio request. - /// The cancellation token. - /// The server returned an error. See for details returned from the server. - /// is null. - public virtual async Task> PlayAudioAsync(string callLegId, PlayAudioOptions options, CancellationToken cancellationToken = default) - { - using DiagnosticScope scope = _clientDiagnostics.CreateScope($"{nameof(CallClient)}.{nameof(PlayAudio)}"); - scope.Start(); - try - { - Argument.AssertNotNull(options, nameof(options)); - - return await RestClient.PlayAudioAsync( - callId: callLegId, - audioFileUri: options.AudioFileUri?.AbsoluteUri, - loop: options.Loop, - audioFileId: options.AudioFileId, - callbackUri: options.CallbackUri?.AbsoluteUri, - operationContext: options.OperationContext, - cancellationToken: cancellationToken - ).ConfigureAwait(false); - } - catch (Exception ex) - { - scope.Failed(ex); - throw; - } - } - - /// Play audio in the call. - /// The call leg id. - /// The uri of the audio file. - /// The flag to indicate if audio file need to be played in a loop or not. - /// Tne id for the media in the AudioFileUri, using which we cache the media resource. - /// The callback Uri to receive PlayAudio status notifications. - /// The operation context. - /// The cancellation token to use. - /// The server returned an error. See for details returned from the server. - /// is null. - public virtual Response PlayAudio(string callLegId, Uri audioFileUri, bool? loop, string audioFileId, Uri callbackUri, string operationContext = null, CancellationToken cancellationToken = default) - => PlayAudio( - callLegId: callLegId, - options: new PlayAudioOptions { - AudioFileUri = audioFileUri, - Loop = loop, - AudioFileId = audioFileId, - CallbackUri = callbackUri, - OperationContext = operationContext - }, - cancellationToken: cancellationToken - ); - - /// Play audio in the call. - /// The call leg id. - /// Play audio request. - /// The cancellation token. - /// The server returned an error. See for details returned from the server. - /// is null. - public virtual Response PlayAudio(string callLegId, PlayAudioOptions options, CancellationToken cancellationToken = default) - { - using DiagnosticScope scope = _clientDiagnostics.CreateScope($"{nameof(CallClient)}.{nameof(PlayAudio)}"); - scope.Start(); - try - { - Argument.AssertNotNull(options, nameof(options)); - - return RestClient.PlayAudio( - callId: callLegId, - audioFileUri: options.AudioFileUri?.AbsoluteUri, - loop: options.Loop, - audioFileId: options.AudioFileId, - callbackUri: options.CallbackUri?.AbsoluteUri, - operationContext: options.OperationContext, - cancellationToken: cancellationToken - ); - } - catch (Exception ex) - { - scope.Failed(ex); - throw; - } - } - - /// Add a participant to the call. - /// The call leg id. - /// The identity of participant to be added to the call. - /// The phone number to use when adding a pstn participant. - /// The operation context. - /// The cancellation token. - /// The server returned an error. See for details returned from the server. - /// is null. - public virtual async Task AddParticipantAsync(string callLegId, CommunicationIdentifier participant, string alternateCallerId = default, string operationContext = default, CancellationToken cancellationToken = default) - { - using DiagnosticScope scope = _clientDiagnostics.CreateScope($"{nameof(CallClient)}.{nameof(AddParticipant)}"); - scope.Start(); - try - { - Argument.AssertNotNull(participant, nameof(participant)); - Argument.AssertNotNullOrEmpty(alternateCallerId, nameof(alternateCallerId)); - - return await RestClient.InviteParticipantsAsync( - callId: callLegId, - participants: new List() { CommunicationIdentifierSerializer.Serialize(participant) }, - alternateCallerId: new PhoneNumberIdentifierModel(alternateCallerId), - operationContext: operationContext, - callbackUri: null, - cancellationToken: cancellationToken - ).ConfigureAwait(false); - } - catch (Exception ex) - { - scope.Failed(ex); - throw; - } - } - - /// Add a participant to the call. - /// The call leg id. - /// The identity of participant to be added to the call. - /// The phone number to use when adding a pstn participant. - /// The operation context. - /// The cancellation token. - /// The server returned an error. See for details returned from the server. - /// is null. - public virtual Response AddParticipant(string callLegId, CommunicationIdentifier participant, string alternateCallerId = default, string operationContext = default, CancellationToken cancellationToken = default) - { - using DiagnosticScope scope = _clientDiagnostics.CreateScope($"{nameof(CallClient)}.{nameof(AddParticipant)}"); - scope.Start(); - try - { - Argument.AssertNotNull(participant, nameof(participant)); - Argument.AssertNotNullOrEmpty(alternateCallerId, nameof(alternateCallerId)); - - return RestClient.InviteParticipants( - callId: callLegId, - participants: new List() { CommunicationIdentifierSerializer.Serialize(participant) }, - alternateCallerId: new PhoneNumberIdentifierModel(alternateCallerId), - operationContext: operationContext, - callbackUri: null, - cancellationToken: cancellationToken - ); - } - catch (Exception ex) - { - scope.Failed(ex); - throw; - } - } - - /// Remove a participant from the call. - /// The call leg id. - /// The participant id. - /// The cancellation token. - /// The server returned an error. See for details returned from the server. - /// is null. - public virtual async Task RemoveParticipantAsync(string callLegId, string participantId, CancellationToken cancellationToken = default) - { - using DiagnosticScope scope = _clientDiagnostics.CreateScope($"{nameof(CallClient)}.{nameof(RemoveParticipant)}"); - scope.Start(); - try - { - return await RestClient.RemoveParticipantAsync( - callId: callLegId, - participantId: participantId, - cancellationToken: cancellationToken - ).ConfigureAwait(false); - } - catch (Exception ex) - { - scope.Failed(ex); - throw; - } - } - - /// Remove a participants from the call. - /// The call leg id. - /// The participant id. - /// The cancellation token. - /// The server returned an error. See for details returned from the server. - /// is null. - public virtual Response RemoveParticipant(string callLegId, string participantId, CancellationToken cancellationToken = default) - { - using DiagnosticScope scope = _clientDiagnostics.CreateScope($"{nameof(CallClient)}.{nameof(RemoveParticipant)}"); - scope.Start(); - try - { - return RestClient.RemoveParticipant( - callId: callLegId, - participantId: participantId, - cancellationToken: cancellationToken - ); - } - catch (Exception ex) - { - scope.Failed(ex); - throw; - } - } - } -} diff --git a/sdk/communication/Azure.Communication.CallingServer/src/CallConnection.cs b/sdk/communication/Azure.Communication.CallingServer/src/CallConnection.cs new file mode 100644 index 000000000000..b51276df2bbc --- /dev/null +++ b/sdk/communication/Azure.Communication.CallingServer/src/CallConnection.cs @@ -0,0 +1,336 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +using System; +using System.Threading; +using System.Threading.Tasks; +using Azure.Core; +using Azure.Core.Pipeline; + +namespace Azure.Communication.CallingServer +{ + /// + /// The Azure Communication Services Calling Server client. + /// + public class CallConnection + { + private readonly ClientDiagnostics _clientDiagnostics; + internal CallConnectionsRestClient RestClient { get; } + + /// + /// The call connection id. + /// + public virtual string CallConnectionId { get; internal set; } + + internal CallConnection(string callConnectionId, CallConnectionsRestClient callConnectionRestClient, ClientDiagnostics clientDiagnostics) + { + this.CallConnectionId = callConnectionId; + this.RestClient = callConnectionRestClient; + this._clientDiagnostics = clientDiagnostics; + } + + /// Initializes a new instance of for mocking. + protected CallConnection() + { + _clientDiagnostics = null; + RestClient = null; + CallConnectionId = null; + } + + /// Disconnect the current caller in a group-call or end a p2p-call. + /// The cancellation token. + /// The server returned an error. See for details returned from the server. + public virtual async Task HangupAsync(CancellationToken cancellationToken = default) + { + using DiagnosticScope scope = _clientDiagnostics.CreateScope($"{nameof(CallConnection)}.{nameof(Hangup)}"); + scope.Start(); + try + { + return await RestClient.HangupCallAsync( + callConnectionId: CallConnectionId, + cancellationToken: cancellationToken + ).ConfigureAwait(false); + } + catch (Exception ex) + { + scope.Failed(ex); + throw; + } + } + + /// Disconnect the current caller in a group-call or end a p2p-call. + /// The cancellation token. + /// The server returned an error. See for details returned from the server. + public virtual Response Hangup(CancellationToken cancellationToken = default) + { + using DiagnosticScope scope = _clientDiagnostics.CreateScope($"{nameof(CallConnection)}.{nameof(Hangup)}"); + scope.Start(); + try + { + return RestClient.HangupCall( + callConnectionId: CallConnectionId, + cancellationToken: cancellationToken + ); + } + catch (Exception ex) + { + scope.Failed(ex); + throw; + } + } + + /// Cancel all media operations in the call. + /// The operation context. + /// The cancellation token. + /// The server returned an error. See for details returned from the server. + public virtual async Task> CancelAllMediaOperationsAsync(string operationContext = null, CancellationToken cancellationToken = default) + { + using DiagnosticScope scope = _clientDiagnostics.CreateScope($"{nameof(CallConnection)}.{nameof(CancelAllMediaOperations)}"); + scope.Start(); + try + { + return await RestClient.CancelAllMediaOperationsAsync( + callConnectionId: CallConnectionId, + operationContext: operationContext, + cancellationToken: cancellationToken + ).ConfigureAwait(false); + } + catch (Exception ex) + { + scope.Failed(ex); + throw; + } + } + + /// Cancel all media operations in the call. + /// The operation context. + /// The cancellation token. + /// The server returned an error. See for details returned from the server. + public virtual Response CancelAllMediaOperations(string operationContext = null, CancellationToken cancellationToken = default) + { + using DiagnosticScope scope = _clientDiagnostics.CreateScope($"{nameof(CallConnection)}.{nameof(CancelAllMediaOperations)}"); + scope.Start(); + try + { + return RestClient.CancelAllMediaOperations( + callConnectionId: CallConnectionId, + operationContext: operationContext, + cancellationToken: cancellationToken + ); + } + catch (Exception ex) + { + scope.Failed(ex); + throw; + } + } + + /// Play audio in the call. + /// The uri of the audio file. + /// The flag to indicate if audio file need to be played in a loop or not. + /// Tne id for the media in the AudioFileUri, using which we cache the media resource. + /// The callback Uri to receive PlayAudio status notifications. + /// The operation context. + /// The cancellation token to use. + /// The server returned an error. See for details returned from the server. + public virtual async Task> PlayAudioAsync(Uri audioFileUri, bool? loop, string audioFileId, Uri callbackUri, string operationContext = null, CancellationToken cancellationToken = default) + => await PlayAudioAsync( + options: new PlayAudioOptions { + AudioFileUri = audioFileUri, + Loop = loop, + AudioFileId = audioFileId, + CallbackUri = callbackUri, + OperationContext = operationContext + }, + cancellationToken: cancellationToken + ).ConfigureAwait(false); + + /// Play audio in the call. + /// Play audio request. + /// The cancellation token. + /// The server returned an error. See for details returned from the server. + /// is null. + public virtual async Task> PlayAudioAsync(PlayAudioOptions options, CancellationToken cancellationToken = default) + { + using DiagnosticScope scope = _clientDiagnostics.CreateScope($"{nameof(CallConnection)}.{nameof(PlayAudio)}"); + scope.Start(); + try + { + Argument.AssertNotNull(options, nameof(options)); + + return await RestClient.PlayAudioAsync( + callConnectionId: CallConnectionId, + audioFileUri: options.AudioFileUri?.AbsoluteUri, + loop: options.Loop, + audioFileId: options.AudioFileId, + callbackUri: options.CallbackUri?.AbsoluteUri, + operationContext: options.OperationContext, + cancellationToken: cancellationToken + ).ConfigureAwait(false); + } + catch (Exception ex) + { + scope.Failed(ex); + throw; + } + } + + /// Play audio in the call. + /// The uri of the audio file. + /// The flag to indicate if audio file need to be played in a loop or not. + /// Tne id for the media in the AudioFileUri, using which we cache the media resource. + /// The callback Uri to receive PlayAudio status notifications. + /// The operation context. + /// The cancellation token to use. + /// The server returned an error. See for details returned from the server. + public virtual Response PlayAudio(Uri audioFileUri, bool? loop, string audioFileId, Uri callbackUri, string operationContext = null, CancellationToken cancellationToken = default) + => PlayAudio( + options: new PlayAudioOptions { + AudioFileUri = audioFileUri, + Loop = loop, + AudioFileId = audioFileId, + CallbackUri = callbackUri, + OperationContext = operationContext + }, + cancellationToken: cancellationToken + ); + + /// Play audio in the call. + /// Play audio request. + /// The cancellation token. + /// The server returned an error. See for details returned from the server. + /// is null. + public virtual Response PlayAudio(PlayAudioOptions options, CancellationToken cancellationToken = default) + { + using DiagnosticScope scope = _clientDiagnostics.CreateScope($"{nameof(CallConnection)}.{nameof(PlayAudio)}"); + scope.Start(); + try + { + Argument.AssertNotNull(options, nameof(options)); + + return RestClient.PlayAudio( + callConnectionId: CallConnectionId, + audioFileUri: options.AudioFileUri?.AbsoluteUri, + loop: options.Loop, + audioFileId: options.AudioFileId, + callbackUri: options.CallbackUri?.AbsoluteUri, + operationContext: options.OperationContext, + cancellationToken: cancellationToken + ); + } + catch (Exception ex) + { + scope.Failed(ex); + throw; + } + } + + /// Add a participant to the call. + /// The identity of participant to be added to the call. + /// The phone number to use when adding a pstn participant. + /// The operation context. + /// The cancellation token. + /// The server returned an error. See for details returned from the server. + /// is null. + public virtual async Task> AddParticipantAsync(CommunicationIdentifier participant, string alternateCallerId = default, string operationContext = default, CancellationToken cancellationToken = default) + { + using DiagnosticScope scope = _clientDiagnostics.CreateScope($"{nameof(CallConnection)}.{nameof(AddParticipant)}"); + scope.Start(); + try + { + Argument.AssertNotNull(participant, nameof(participant)); + + return await RestClient.AddParticipantAsync( + callConnectionId: CallConnectionId, + participant: CommunicationIdentifierSerializer.Serialize(participant), + alternateCallerId: alternateCallerId == null ? null : new PhoneNumberIdentifierModel(alternateCallerId), + operationContext: operationContext, + callbackUri: null, + cancellationToken: cancellationToken + ).ConfigureAwait(false); + } + catch (Exception ex) + { + scope.Failed(ex); + throw; + } + } + + /// Add a participant to the call. + /// The identity of participant to be added to the call. + /// The phone number to use when adding a pstn participant. + /// The operation context. + /// The cancellation token. + /// The server returned an error. See for details returned from the server. + /// is null. + public virtual Response AddParticipant(CommunicationIdentifier participant, string alternateCallerId = default, string operationContext = default, CancellationToken cancellationToken = default) + { + using DiagnosticScope scope = _clientDiagnostics.CreateScope($"{nameof(CallConnection)}.{nameof(AddParticipant)}"); + scope.Start(); + try + { + Argument.AssertNotNull(participant, nameof(participant)); + + return RestClient.AddParticipant( + callConnectionId: CallConnectionId, + participant: CommunicationIdentifierSerializer.Serialize(participant), + alternateCallerId: alternateCallerId == null ? null : new PhoneNumberIdentifierModel(alternateCallerId), + operationContext: operationContext, + callbackUri: null, + cancellationToken: cancellationToken + ); + } + catch (Exception ex) + { + scope.Failed(ex); + throw; + } + } + + /// Remove a participant from the call. + /// The participant id. + /// The cancellation token. + /// The server returned an error. See for details returned from the server. + public virtual async Task RemoveParticipantAsync(string participantId, CancellationToken cancellationToken = default) + { + using DiagnosticScope scope = _clientDiagnostics.CreateScope($"{nameof(CallConnection)}.{nameof(RemoveParticipant)}"); + scope.Start(); + try + { + return await RestClient.RemoveParticipantAsync( + callConnectionId: CallConnectionId, + participantId: participantId, + cancellationToken: cancellationToken + ).ConfigureAwait(false); + } + catch (Exception ex) + { + scope.Failed(ex); + throw; + } + } + + /// Remove a participants from the call. + /// The participant id. + /// The cancellation token. + /// The server returned an error. See for details returned from the server. + public virtual Response RemoveParticipant(string participantId, CancellationToken cancellationToken = default) + { + using DiagnosticScope scope = _clientDiagnostics.CreateScope($"{nameof(CallConnection)}.{nameof(RemoveParticipant)}"); + scope.Start(); + try + { + return RestClient.RemoveParticipant( + callConnectionId: CallConnectionId, + participantId: participantId, + cancellationToken: cancellationToken + ); + } + catch (Exception ex) + { + scope.Failed(ex); + throw; + } + } + } +} diff --git a/sdk/communication/Azure.Communication.CallingServer/src/CallingServerClient.cs b/sdk/communication/Azure.Communication.CallingServer/src/CallingServerClient.cs new file mode 100644 index 000000000000..d6b5143d7049 --- /dev/null +++ b/sdk/communication/Azure.Communication.CallingServer/src/CallingServerClient.cs @@ -0,0 +1,476 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +using System; +using System.Collections.Generic; +using System.IO; +using System.Linq; +using System.Threading; +using System.Threading.Tasks; +using Azure.Core; +using Azure.Core.Pipeline; +using Azure.Communication.Pipeline; + +namespace Azure.Communication.CallingServer +{ + /// + /// The Azure Communication Services Calling Server client. + /// + public class CallingServerClient + { + internal readonly ClientDiagnostics _clientDiagnostics; + internal readonly HttpPipeline _pipeline; + internal readonly string _resourceEndpoint; + internal readonly ContentDownloader _contentDownloader; + + internal CallConnectionsRestClient CallConnectionRestClient { get; } + internal ServerCallsRestClient ServerCallRestClient { get; } + + #region public constructors + /// Initializes a new instance of . + /// Connection string acquired from the Azure Communication Services resource. + public CallingServerClient(string connectionString) + : this( + ConnectionString.Parse(Argument.CheckNotNullOrEmpty(connectionString, nameof(connectionString))), + new CallingServerClientOptions()) + { } + + /// Initializes a new instance of . + /// Connection string acquired from the Azure Communication Services resource. + /// Client option exposing , , , etc. + public CallingServerClient(string connectionString, CallingServerClientOptions options) + : this( + ConnectionString.Parse(Argument.CheckNotNullOrEmpty(connectionString, nameof(connectionString))), + Argument.CheckNotNull(options, nameof(options))) + { } + + #endregion + + #region private constructors + + private CallingServerClient(ConnectionString connectionString, CallingServerClientOptions options) + : this(connectionString.GetRequired("endpoint"), options.BuildHttpPipeline(connectionString), options) + { } + + private CallingServerClient(string endpoint, HttpPipeline httpPipeline, CallingServerClientOptions options) + { + _pipeline = httpPipeline; + _resourceEndpoint = endpoint; + _clientDiagnostics = new ClientDiagnostics(options); + _contentDownloader = new(this); + CallConnectionRestClient = new CallConnectionsRestClient(_clientDiagnostics, httpPipeline, endpoint, options.ApiVersion); + ServerCallRestClient = new ServerCallsRestClient(_clientDiagnostics, httpPipeline, endpoint, options.ApiVersion); + } + + #endregion + + /// Initializes a new instance of for mocking. + protected CallingServerClient() + { + _pipeline = null; + _resourceEndpoint = null; + _clientDiagnostics = null; + _contentDownloader = new(this); + CallConnectionRestClient = null; + ServerCallRestClient = null; + } + + /// Create an outgoing call from source to target identities. + /// The source identity + /// The target identities. + /// The call options. + /// The cancellation token. + /// The server returned an error. See for details returned from the server. + /// is null. + /// is null. + /// is null. + public virtual async Task> CreateCallConnectionAsync(CommunicationIdentifier source, IEnumerable targets, CreateCallOptions options, CancellationToken cancellationToken = default) + { + using DiagnosticScope scope = _clientDiagnostics.CreateScope($"{nameof(CallingServerClient)}.{nameof(CreateCallConnection)}"); + scope.Start(); + try + { + Argument.AssertNotNull(source, nameof(source)); + Argument.AssertNotNullOrEmpty(targets, nameof(targets)); + Argument.AssertNotNull(options, nameof(options)); + + var createCallResponse = await CallConnectionRestClient.CreateCallAsync( + source: CommunicationIdentifierSerializer.Serialize(source), + targets: targets.Select(t => CommunicationIdentifierSerializer.Serialize(t)), + callbackUri: options.CallbackUri?.AbsoluteUri, + requestedMediaTypes: options.RequestedMediaTypes, + requestedCallEvents: options.RequestedCallEvents, + alternateCallerId: options.AlternateCallerId == null ? null : new PhoneNumberIdentifierModel(options.AlternateCallerId.PhoneNumber), + subject: options.Subject, + cancellationToken: cancellationToken + ).ConfigureAwait(false); + + return Response.FromValue( + new CallConnection(createCallResponse.Value.CallConnectionId, CallConnectionRestClient, _clientDiagnostics), + createCallResponse.GetRawResponse()); + } + catch (Exception ex) + { + scope.Failed(ex); + throw; + } + } + + /// Create an outgoing call from source to target identities. + /// The source identity + /// The target identities. + /// The call options. + /// The cancellation token. + /// The server returned an error. See for details returned from the server. + /// is null. + /// is null. + /// is null. + public virtual Response CreateCallConnection(CommunicationIdentifier source, IEnumerable targets, CreateCallOptions options, CancellationToken cancellationToken = default) + { + using DiagnosticScope scope = _clientDiagnostics.CreateScope($"{nameof(CallingServerClient)}.{nameof(CreateCallConnection)}"); + scope.Start(); + try + { + Argument.AssertNotNull(source, nameof(source)); + Argument.AssertNotNullOrEmpty(targets, nameof(targets)); + Argument.AssertNotNull(options, nameof(options)); + + var createCallResponse = CallConnectionRestClient.CreateCall( + source: CommunicationIdentifierSerializer.Serialize(source), + targets: targets.Select(t => CommunicationIdentifierSerializer.Serialize(t)), + callbackUri: options.CallbackUri?.AbsoluteUri, + requestedMediaTypes: options.RequestedMediaTypes, + requestedCallEvents: options.RequestedCallEvents, + alternateCallerId: options.AlternateCallerId == null ? null : new PhoneNumberIdentifierModel(options.AlternateCallerId.PhoneNumber), + subject: options.Subject, + cancellationToken: cancellationToken + ); + + return Response.FromValue( + new CallConnection(createCallResponse.Value.CallConnectionId, CallConnectionRestClient, _clientDiagnostics), + createCallResponse.GetRawResponse()); + } + catch (Exception ex) + { + scope.Failed(ex); + throw; + } + } + + /// Join the call using server call id. + /// The server call id. + /// The source identity. + /// The call Options. + /// The cancellation token. + /// The server returned an error. See for details returned from the server. + /// is null. + /// is null. + /// is null. + public virtual async Task> JoinCallAsync(string serverCallId, CommunicationIdentifier source, JoinCallOptions callOptions, CancellationToken cancellationToken = default) + { + using DiagnosticScope scope = _clientDiagnostics.CreateScope($"{nameof(CallingServerClient)}.{nameof(JoinCall)}"); + scope.Start(); + try + { + Argument.AssertNotNull(source, nameof(source)); + Argument.AssertNotNull(callOptions, nameof(callOptions)); + + var joinCallResponse = await ServerCallRestClient.JoinCallAsync( + serverCallId: serverCallId, + source: CommunicationIdentifierSerializer.Serialize(source), + callbackUri: callOptions.CallbackUri?.AbsoluteUri, + requestedMediaTypes: callOptions.RequestedMediaTypes, + requestedCallEvents: callOptions.RequestedCallEvents, + subject: null, + cancellationToken: cancellationToken + ).ConfigureAwait(false); + + return Response.FromValue( + new CallConnection(joinCallResponse.Value.CallConnectionId, CallConnectionRestClient, _clientDiagnostics), + joinCallResponse.GetRawResponse()); + } + catch (Exception ex) + { + scope.Failed(ex); + throw; + } + } + + /// Join the call using server call id. + /// The server call id. + /// The source identity. + /// The call Options. + /// The cancellation token. + /// The server returned an error. See for details returned from the server. + /// is null. + /// is null. + /// is null. + public virtual Response JoinCall(string serverCallId, CommunicationIdentifier source, JoinCallOptions callOptions, CancellationToken cancellationToken = default) + { + using DiagnosticScope scope = _clientDiagnostics.CreateScope($"{nameof(CallingServerClient)}.{nameof(JoinCall)}"); + scope.Start(); + try + { + Argument.AssertNotNull(source, nameof(source)); + Argument.AssertNotNull(callOptions, nameof(callOptions)); + + var joinCallResponse = ServerCallRestClient.JoinCall( + serverCallId: serverCallId, + source: CommunicationIdentifierSerializer.Serialize(source), + callbackUri: callOptions.CallbackUri?.AbsoluteUri, + requestedMediaTypes: callOptions.RequestedMediaTypes, + requestedCallEvents: callOptions.RequestedCallEvents, + subject: null, + cancellationToken: cancellationToken + ); + + return Response.FromValue( + new CallConnection(joinCallResponse.Value.CallConnectionId, CallConnectionRestClient, _clientDiagnostics), + joinCallResponse.GetRawResponse()); + } + catch (Exception ex) + { + scope.Failed(ex); + throw; + } + } + + /// Initializes a new instance of CallConnection. . + /// The thread id for the ChatThreadClient instance. + public virtual CallConnection GetCallConnection(string callConnectionId) + { + using DiagnosticScope scope = _clientDiagnostics.CreateScope($"{nameof(CallingServerClient)}.{nameof(CallingServerClient)}"); + scope.Start(); + try + { + Argument.AssertNotNullOrEmpty(callConnectionId, nameof(callConnectionId)); + + return new CallConnection(callConnectionId, CallConnectionRestClient, _clientDiagnostics); + } + catch (Exception ex) + { + scope.Failed(ex); + throw; + } + } + + /// + /// Initializes a server call. + /// + /// The server call id. + /// + public virtual ServerCall InitializeServerCall(string serverCallId) + { + using DiagnosticScope scope = _clientDiagnostics.CreateScope($"{nameof(CallingServerClient)}.{nameof(InitializeServerCall)}"); + scope.Start(); + try + { + Argument.AssertNotNull(serverCallId, nameof(serverCallId)); + + return new ServerCall(serverCallId, ServerCallRestClient, _clientDiagnostics); + } + catch (Exception ex) + { + scope.Failed(ex); + throw; + } + } + + /// + /// The + /// operation downloads the recording's content. + /// + /// + /// + /// Recording's content's url location. + /// + /// + /// If provided, only download the bytes of the content in the specified range. + /// If not provided, download the entire content. + /// + /// + /// Optional to propagate + /// notifications that the operation should be cancelled. + /// + /// + /// A containing the + /// downloaded content. + /// + /// + /// A will be thrown if + /// a failure occurs. + /// + public virtual async Task> DownloadStreamingAsync( + Uri sourceEndpoint, + HttpRange range = default, + CancellationToken cancellationToken = default) => + await _contentDownloader.DownloadStreamingInternal( + sourceEndpoint, + range, + async: true, + cancellationToken) + .ConfigureAwait(false); + + /// + /// The + /// operation downloads the recording's content. + /// + /// + /// + /// Recording's content's url location. + /// + /// + /// If provided, only download the bytes of the content in the specified range. + /// If not provided, download the entire content. + /// + /// + /// Optional to propagate + /// notifications that the operation should be cancelled. + /// + /// + /// A containing the + /// downloaded content. + /// + /// + /// A will be thrown if + /// a failure occurs. + /// + public virtual Response DownloadStreaming( + Uri sourceEndpoint, + HttpRange range = default, + CancellationToken cancellationToken = default) => + _contentDownloader.DownloadStreamingInternal( + sourceEndpoint, + range, + async: false, + cancellationToken) + .EnsureCompleted(); + + /// + /// The + /// operation downloads the specified content using parallel requests, + /// and writes the content to . + /// + /// + /// A with the Recording's content's url location. + /// + /// + /// A to write the downloaded content to. + /// + /// + /// Optional to configure + /// parallel transfer behavior. + /// + /// + /// Optional to propagate + /// notifications that the operation should be cancelled. + /// + /// + /// A describing the operation. + /// + /// + /// A will be thrown if + /// a failure occurs. + /// + public virtual Response DownloadTo(Uri sourceEndpoint, Stream destinationStream, + ContentTransferOptions transferOptions = default, CancellationToken cancellationToken = default) => + _contentDownloader.StagedDownloadAsync(sourceEndpoint, destinationStream, transferOptions, async: false, cancellationToken: cancellationToken).EnsureCompleted(); + + /// + /// The + /// operation downloads the specified content using parallel requests, + /// and writes the content to . + /// + /// + /// A with the Recording's content's url location. + /// + /// + /// A to write the downloaded content to. + /// + /// + /// Optional to configure + /// parallel transfer behavior. + /// + /// + /// Optional to propagate + /// notifications that the operation should be cancelled. + /// + /// + /// A describing the operation. + /// + /// + /// A will be thrown if + /// a failure occurs. + /// + public virtual async Task DownloadToAsync(Uri sourceEndpoint, Stream destinationStream, ContentTransferOptions transferOptions = default, CancellationToken cancellationToken = default) => + await _contentDownloader.StagedDownloadAsync(sourceEndpoint, destinationStream, transferOptions, async: true, cancellationToken: cancellationToken).ConfigureAwait(false); + + /// + /// The + /// operation downloads the specified content using parallel requests, + /// and writes the content to . + /// + /// + /// A with the Recording's content's url location. + /// + /// + /// A file path to write the downloaded content to. + /// + /// + /// Optional to configure + /// parallel transfer behavior. + /// + /// + /// Optional to propagate + /// notifications that the operation should be cancelled. + /// + /// + /// A describing the operation. + /// + /// + /// A will be thrown if + /// a failure occurs. + /// + public virtual Response DownloadTo(Uri sourceEndpoint, string destinationPath, + ContentTransferOptions transferOptions = default, CancellationToken cancellationToken = default) + { + using Stream destination = File.Create(destinationPath); + return _contentDownloader.StagedDownloadAsync(sourceEndpoint, destination, transferOptions, + async: false, cancellationToken: cancellationToken).EnsureCompleted(); + } + + /// + /// The + /// operation downloads the specified content using parallel requests, + /// and writes the content to . + /// + /// + /// A with the Recording's content's url location. + /// + /// + /// A file path to write the downloaded content to. + /// + /// + /// Optional to configure + /// parallel transfer behavior. + /// + /// + /// Optional to propagate + /// notifications that the operation should be cancelled. + /// + /// + /// A describing the operation. + /// + /// + /// A will be thrown if + /// a failure occurs. + /// + public virtual async Task DownloadToAsync(Uri sourceEndpoint, string destinationPath, + ContentTransferOptions transferOptions = default, CancellationToken cancellationToken = default) + { + using Stream destination = File.Create(destinationPath); + return await _contentDownloader.StagedDownloadAsync(sourceEndpoint, destination, transferOptions, + async: true, cancellationToken: cancellationToken).ConfigureAwait(false); + } + } +} diff --git a/sdk/communication/Azure.Communication.CallingServer/src/CallClientOptions.cs b/sdk/communication/Azure.Communication.CallingServer/src/CallingServerClientOptions.cs similarity index 65% rename from sdk/communication/Azure.Communication.CallingServer/src/CallClientOptions.cs rename to sdk/communication/Azure.Communication.CallingServer/src/CallingServerClientOptions.cs index 6427a2995561..737b9a76425b 100644 --- a/sdk/communication/Azure.Communication.CallingServer/src/CallClientOptions.cs +++ b/sdk/communication/Azure.Communication.CallingServer/src/CallingServerClientOptions.cs @@ -7,25 +7,25 @@ namespace Azure.Communication.CallingServer { /// - /// The options for communication . + /// The options for communication and . /// - public class CallClientOptions : ClientOptions + public class CallingServerClientOptions : ClientOptions { /// /// The latest version of the CallingServer service. /// - public const ServiceVersion LatestVersion = ServiceVersion.V2021_04_15_Preview1; + internal const ServiceVersion LatestVersion = ServiceVersion.V2021_06_15_Preview; internal string ApiVersion { get; } /// - /// Initializes a new instance of the . + /// Initializes a new instance of the . /// - public CallClientOptions(ServiceVersion version = LatestVersion) + public CallingServerClientOptions(ServiceVersion version = LatestVersion) { ApiVersion = version switch { - ServiceVersion.V2021_04_15_Preview1 => "2021-04-15-preview1", + ServiceVersion.V2021_06_15_Preview => "2021-06-15-preview", _ => throw new ArgumentOutOfRangeException(nameof(version)), }; } @@ -39,7 +39,7 @@ public enum ServiceVersion /// The Beta of the CallingServer service. /// #pragma warning disable CA1707 // Identifiers should not contain underscores - V2021_04_15_Preview1 = 0 + V2021_06_15_Preview = 1 #pragma warning restore CA1707 // Identifiers should not contain underscores } } diff --git a/sdk/communication/Azure.Communication.CallingServer/src/ConversationClient.cs b/sdk/communication/Azure.Communication.CallingServer/src/ConversationClient.cs deleted file mode 100644 index e95c96d46078..000000000000 --- a/sdk/communication/Azure.Communication.CallingServer/src/ConversationClient.cs +++ /dev/null @@ -1,863 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. - -using System; -using System.Threading; -using System.Threading.Tasks; -using Azure.Core; -using Azure.Core.Pipeline; -using Azure.Communication.Pipeline; -using System.Collections.Generic; -using System.Linq; -using System.IO; - -namespace Azure.Communication.CallingServer -{ - /// - /// The Azure Communication Services Conversation Client. - /// - public class ConversationClient - { - internal readonly ClientDiagnostics _clientDiagnostics; - internal readonly HttpPipeline _pipeline; - internal readonly string _resourceEndpoint; - private readonly ContentDownloader _contentDownloader; - - internal ConversationRestClient RestClient { get; } - - #region public constructors - all arguments need null check - - /// Initializes a new instance of . - /// Connection string acquired from the Azure Communication Services resource. - public ConversationClient(string connectionString) - : this( - ConnectionString.Parse(Argument.CheckNotNullOrEmpty(connectionString, nameof(connectionString))), - new CallClientOptions()) - { } - - /// Initializes a new instance of . - /// Connection string acquired from the Azure Communication Services resource. - /// Client option exposing , , , etc. - public ConversationClient(string connectionString, CallClientOptions options) - : this( - ConnectionString.Parse(Argument.CheckNotNullOrEmpty(connectionString, nameof(connectionString))), - options ?? new CallClientOptions()) - { } - - /// Initializes a new instance of . - /// The URI of the Azure Communication Services resource. - /// The used to authenticate requests. - /// Client option exposing , , , etc. - public ConversationClient(Uri endpoint, AzureKeyCredential keyCredential, CallClientOptions options = default) - : this( - Argument.CheckNotNull(endpoint, nameof(endpoint)).AbsoluteUri, - Argument.CheckNotNull(keyCredential, nameof(keyCredential)), - options ?? new CallClientOptions()) - { } - - /// Initializes a new instance of . - /// The URI of the Azure Communication Services resource. - /// The TokenCredential used to authenticate requests, such as DefaultAzureCredential. - /// Client option exposing , , , etc. - public ConversationClient(Uri endpoint, TokenCredential tokenCredential, CallClientOptions options = default) - : this( - Argument.CheckNotNull(endpoint, nameof(endpoint)).AbsoluteUri, - Argument.CheckNotNull(tokenCredential, nameof(tokenCredential)), - options ?? new CallClientOptions()) - { } - - #endregion - - #region private constructors - - private ConversationClient(ConnectionString connectionString, CallClientOptions options) - : this(connectionString.GetRequired("endpoint"), options.BuildHttpPipeline(connectionString), options) - { } - - private ConversationClient(string endpoint, TokenCredential tokenCredential, CallClientOptions options) - : this(endpoint, options.BuildHttpPipeline(tokenCredential), options) - { } - - private ConversationClient(string endpoint, AzureKeyCredential keyCredential, CallClientOptions options) - : this(endpoint, options.BuildHttpPipeline(keyCredential), options) - { } - - private ConversationClient(string endpoint, HttpPipeline httpPipeline, CallClientOptions options) - { - _clientDiagnostics = new ClientDiagnostics(options); - _pipeline = httpPipeline; - _resourceEndpoint = endpoint; - _contentDownloader = new(this); - RestClient = new ConversationRestClient(_clientDiagnostics, httpPipeline, endpoint, options.ApiVersion); - } - - #endregion - - /// Initializes a new instance of for mocking. - protected ConversationClient() - { - _clientDiagnostics = null; - _pipeline = null; - _resourceEndpoint = null; - _contentDownloader = new(this); - RestClient = null; - } - - /// Join the call using conversation id. - /// The conversation id that can be a group id or a encoded conversation url retrieve from client. - /// The source identity. - /// The call Options. - /// The cancellation token. - /// The server returned an error. See for details returned from the server. - /// is null. - /// is null. - /// is null. - public virtual async Task> JoinCallAsync(string conversationId, CommunicationIdentifier source, JoinCallOptions callOptions, CancellationToken cancellationToken = default) - { - using DiagnosticScope scope = _clientDiagnostics.CreateScope($"{nameof(CallClient)}.{nameof(JoinCall)}"); - scope.Start(); - try - { - Argument.AssertNotNull(source, nameof(source)); - Argument.AssertNotNull(callOptions, nameof(callOptions)); - - return await RestClient.JoinCallAsync( - conversationId: conversationId, - source: CommunicationIdentifierSerializer.Serialize(source), - callbackUri: callOptions.CallbackUri?.AbsoluteUri, - requestedModalities: callOptions.RequestedModalities, - requestedCallEvents: callOptions.RequestedCallEvents, - subject: null, - cancellationToken: cancellationToken - ).ConfigureAwait(false); - } - catch (Exception ex) - { - scope.Failed(ex); - throw; - } - } - - /// Join the call using conversation id. - /// The conversation id that can be a group id or a encoded conversation url retrieve from client. - /// The source identity. - /// The call Options. - /// The cancellation token. - /// The server returned an error. See for details returned from the server. - /// is null. - /// is null. - /// is null. - public virtual Response JoinCall(string conversationId, CommunicationIdentifier source, JoinCallOptions callOptions, CancellationToken cancellationToken = default) - { - using DiagnosticScope scope = _clientDiagnostics.CreateScope($"{nameof(CallClient)}.{nameof(JoinCall)}"); - scope.Start(); - try - { - Argument.AssertNotNull(source, nameof(source)); - Argument.AssertNotNull(callOptions, nameof(callOptions)); - - return RestClient.JoinCall( - conversationId: conversationId, - source: CommunicationIdentifierSerializer.Serialize(source), - callbackUri: callOptions.CallbackUri?.AbsoluteUri, - requestedModalities: callOptions.RequestedModalities, - requestedCallEvents: callOptions.RequestedCallEvents, - subject: null, - cancellationToken: cancellationToken - ); - } - catch (Exception ex) - { - scope.Failed(ex); - throw; - } - } - - /// Play audio in the call. - /// The conversation id that can be a group id or a encoded conversation url retrieve from client. - /// The uri of the audio file. - /// Tne id for the media in the AudioFileUri, using which we cache the media resource. - /// The callback Uri to receive PlayAudio status notifications. - /// The operation context. - /// The cancellation token to use. - /// The server returned an error. See for details returned from the server. - /// is null. - public virtual async Task> PlayAudioAsync(string conversationId, Uri audioFileUri, string audioFileId, Uri callbackUri, string operationContext = null, CancellationToken cancellationToken = default) - => await PlayAudioAsync( - conversationId: conversationId, - options: new PlayAudioOptions - { - AudioFileUri = audioFileUri, - AudioFileId = audioFileId, - CallbackUri = callbackUri, - OperationContext = operationContext - }, - cancellationToken: cancellationToken - ).ConfigureAwait(false); - - /// Play audio in the call. - /// The call leg id. - /// Play audio request. - /// The cancellation token. - /// The server returned an error. See for details returned from the server. - /// is null. - public virtual async Task> PlayAudioAsync(string conversationId, PlayAudioOptions options, CancellationToken cancellationToken = default) - { - using DiagnosticScope scope = _clientDiagnostics.CreateScope($"{nameof(ConversationClient)}.{nameof(PlayAudio)}"); - scope.Start(); - try - { - Argument.AssertNotNull(options, nameof(options)); - - // Currently looping media is not supported for out-call scenarios, thus setting it to false. - return await RestClient.PlayAudioAsync( - conversationId: conversationId, - audioFileUri: options.AudioFileUri?.AbsoluteUri, - loop: false, - audioFileId: options.AudioFileId, - callbackUri: options.CallbackUri?.AbsoluteUri, - operationContext: options.OperationContext, - cancellationToken: cancellationToken - ).ConfigureAwait(false); - } - catch (Exception ex) - { - scope.Failed(ex); - throw; - } - } - - /// Play audio in the call. - /// The conversation id that can be a group id or a encoded conversation url retrieve from client. - /// The uri of the audio file. - /// Tne id for the media in the AudioFileUri, using which we cache the media resource. - /// The callback Uri to receive PlayAudio status notifications. - /// The operation context. - /// The cancellation token to use. - /// - public virtual Response PlayAudio(string conversationId, Uri audioFileUri, string audioFileId, Uri callbackUri, string operationContext = null, CancellationToken cancellationToken = default) - => PlayAudio( - conversationId: conversationId, - options: new PlayAudioOptions - { - AudioFileUri = audioFileUri, - AudioFileId = audioFileId, - CallbackUri = callbackUri, - OperationContext = operationContext - }, - cancellationToken: cancellationToken - ); - - /// Play audio in the call. - /// The conversation id that can be a group id or a encoded conversation url retrieve from client. - /// Play audio request. - /// The cancellation token. - /// The server returned an error. See for details returned from the server. - /// is null. - public virtual Response PlayAudio(string conversationId, PlayAudioOptions options, CancellationToken cancellationToken = default) - { - using DiagnosticScope scope = _clientDiagnostics.CreateScope($"{nameof(ConversationClient)}.{nameof(PlayAudio)}"); - scope.Start(); - try - { - Argument.AssertNotNull(options, nameof(options)); - - // Currently looping media is not supported for out-call scenarios, thus setting it to false. - return RestClient.PlayAudio( - conversationId: conversationId, - audioFileUri: options.AudioFileUri?.AbsoluteUri, - loop: false, - audioFileId: options.AudioFileId, - callbackUri: options.CallbackUri?.AbsoluteUri, - operationContext: options.OperationContext, - cancellationToken: cancellationToken - ); - } - catch (Exception ex) - { - scope.Failed(ex); - throw; - } - } - - /// - /// Add participant to the call. - /// - /// The conversation id that can be a group id or a encoded conversation url retrieve from client. - /// The identity of participant to be added to the call. - /// The callback uri to receive the notification. - /// The phone number to use when adding a pstn participant. - /// The operation context. - /// The cancellation token. - public virtual Response AddParticipant(string conversationId, CommunicationIdentifier participant, Uri callbackUri, string alternateCallerId = default, string operationContext = default, CancellationToken cancellationToken = default) - { - using DiagnosticScope scope = _clientDiagnostics.CreateScope($"{nameof(ConversationClient)}.{nameof(AddParticipant)}"); - scope.Start(); - try - { - Argument.AssertNotNull(participant, nameof(participant)); - - var participantsInternal = new List { CommunicationIdentifierSerializer.Serialize(participant) }; - var alternateCallerIdInternal = string.IsNullOrEmpty(alternateCallerId) ? null : new PhoneNumberIdentifierModel(alternateCallerId); - return RestClient.InviteParticipants( - conversationId: conversationId, - participants: participantsInternal, - alternateCallerId: alternateCallerIdInternal, - callbackUri: callbackUri?.AbsoluteUri, - operationContext: operationContext, - cancellationToken: cancellationToken - ); - } - catch (Exception ex) - { - scope.Failed(ex); - throw; - } - } - - /// - /// Add participant to the call. - /// - /// The conversation id that can be a group id or a encoded conversation url retrieve from client. - /// The identity of participant to be added to the call. - /// - /// The phone number to use when adding a pstn participant. - /// The operation context. - /// The cancellation token. - public virtual async Task AddParticipantAsync(string conversationId, CommunicationIdentifier participant, Uri callbackUri, string alternateCallerId = default, string operationContext = default, CancellationToken cancellationToken = default) - { - using DiagnosticScope scope = _clientDiagnostics.CreateScope($"{nameof(ConversationClient)}.{nameof(AddParticipant)}"); - scope.Start(); - try - { - Argument.AssertNotNull(participant, nameof(participant)); - - var participantsInternal = new List { CommunicationIdentifierSerializer.Serialize(participant) }; - var alternateCallerIdInternal = string.IsNullOrEmpty(alternateCallerId) ? null : new PhoneNumberIdentifierModel(alternateCallerId); - return await RestClient.InviteParticipantsAsync( - conversationId: conversationId, - participants: participantsInternal, - alternateCallerId: alternateCallerIdInternal, - callbackUri: callbackUri?.AbsoluteUri, - operationContext: operationContext, - cancellationToken: cancellationToken - ).ConfigureAwait(false); - } - catch (Exception ex) - { - scope.Failed(ex); - throw; - } - } - - /// - /// Remove participant from the call. - /// - /// The conversation id that can be a group id or a encoded conversation url retrieve from client. - /// The participant id. - /// The cancellation token. - public virtual Response RemoveParticipant(string conversationId, string participantId, CancellationToken cancellationToken = default) - { - using DiagnosticScope scope = _clientDiagnostics.CreateScope($"{nameof(ConversationClient)}.{nameof(RemoveParticipant)}"); - scope.Start(); - try - { - return RestClient.RemoveParticipant( - conversationId: conversationId, - participantId: participantId, - cancellationToken: cancellationToken - ); - } - catch (Exception ex) - { - scope.Failed(ex); - throw; - } - } - - /// - /// Remove participant from the call. - /// - /// The conversation id that can be a group id or a encoded conversation url retrieve from client. - /// The participant id. - /// The cancellation token. - public virtual async Task RemoveParticipantAsync(string conversationId, string participantId, CancellationToken cancellationToken = default) - { - using DiagnosticScope scope = _clientDiagnostics.CreateScope($"{nameof(ConversationClient)}.{nameof(RemoveParticipant)}"); - scope.Start(); - try - { - return await RestClient.RemoveParticipantAsync( - conversationId: conversationId, - participantId: participantId, - cancellationToken: cancellationToken - ).ConfigureAwait(false); - } - catch (Exception ex) - { - scope.Failed(ex); - throw; - } - } - - /// - /// Start recording of the call. - /// - /// The conversation id that can be a group id or a encoded conversation url retrieve from client. - /// The uri to send state change callbacks. - /// The cancellation token. - public virtual async Task> StartRecordingAsync(string conversationId, Uri recordingStateCallbackUri, CancellationToken cancellationToken = default) - { - using DiagnosticScope scope = _clientDiagnostics.CreateScope($"{nameof(ConversationClient)}.{nameof(StartRecording)}"); - scope.Start(); - try - { - return await RestClient.StartRecordingAsync( - conversationId: conversationId, - recordingStateCallbackUri: recordingStateCallbackUri.AbsoluteUri, - cancellationToken: cancellationToken - ).ConfigureAwait(false); - } - catch (Exception ex) - { - scope.Failed(ex); - throw; - } - } - - /// - /// Start recording of the call. - /// - /// The conversation id that can be a group id or a encoded conversation url retrieve from client. - /// The uri to send state change callbacks. - /// The cancellation token. - public virtual Response StartRecording(string conversationId, Uri recordingStateCallbackUri, CancellationToken cancellationToken = default) - { - using DiagnosticScope scope = _clientDiagnostics.CreateScope($"{nameof(ConversationClient)}.{nameof(StartRecording)}"); - scope.Start(); - try - { - return RestClient.StartRecording( - conversationId: conversationId, - recordingStateCallbackUri: recordingStateCallbackUri.AbsoluteUri, - cancellationToken: cancellationToken - ); - } - catch (Exception ex) - { - scope.Failed(ex); - throw; - } - } - - /// - /// Get the current recording state by recording id. - /// - /// The conversation id that can be a group id or a encoded conversation url retrieve from client. - /// The recording id to get the state of. - /// The cancellation token. - public virtual async Task> GetRecordingStateAsync(string conversationId, string recordingId, CancellationToken cancellationToken = default) - { - using DiagnosticScope scope = _clientDiagnostics.CreateScope($"{nameof(ConversationClient)}.{nameof(GetRecordingState)}"); - scope.Start(); - try - { - return await RestClient.RecordingStateAsync( - conversationId: conversationId, - recordingId: recordingId, - cancellationToken: cancellationToken - ).ConfigureAwait(false); - } - catch (Exception ex) - { - scope.Failed(ex); - throw; - } - } - - /// - /// Get the current recording state by recording id. - /// - /// The conversation id that can be a group id or a encoded conversation url retrieve from client. - /// The recording id to get the state of. - /// The cancellation token. - public virtual Response GetRecordingState(string conversationId, string recordingId, CancellationToken cancellationToken = default) - { - using DiagnosticScope scope = _clientDiagnostics.CreateScope($"{nameof(ConversationClient)}.{nameof(GetRecordingState)}"); - scope.Start(); - try - { - return RestClient.RecordingState( - conversationId: conversationId, - recordingId: recordingId, - cancellationToken: cancellationToken - ); - } - catch (Exception ex) - { - scope.Failed(ex); - throw; - } - } - - /// - /// Stop recording of the call. - /// - /// The conversation id that can be a group id or a encoded conversation url retrieve from client. - /// The recording id to stop. - /// The cancellation token. - public virtual async Task StopRecordingAsync(string conversationId, string recordingId, CancellationToken cancellationToken = default) - { - using DiagnosticScope scope = _clientDiagnostics.CreateScope($"{nameof(ConversationClient)}.{nameof(StopRecording)}"); - scope.Start(); - try - { - return await RestClient.StopRecordingAsync( - conversationId: conversationId, - recordingId: recordingId, - cancellationToken: cancellationToken - ).ConfigureAwait(false); - } - catch (Exception ex) - { - scope.Failed(ex); - throw; - } - } - - /// - /// Stop recording of the call. - /// - /// The conversation id that can be a group id or a encoded conversation url retrieve from client. - /// The recording id to stop. - /// The cancellation token. - public virtual Response StopRecording(string conversationId, string recordingId, CancellationToken cancellationToken = default) - { - using DiagnosticScope scope = _clientDiagnostics.CreateScope($"{nameof(ConversationClient)}.{nameof(StopRecording)}"); - scope.Start(); - try - { - return RestClient.StopRecording( - conversationId: conversationId, - recordingId: recordingId, - cancellationToken: cancellationToken - ); - } - catch (Exception ex) - { - scope.Failed(ex); - throw; - } - } - - /// - /// Pause recording of the call. - /// - /// The conversation id that can be a group id or a encoded conversation url retrieve from client. - /// The recording id to pause. - /// The cancellation token. - public virtual async Task PauseRecordingAsync(string conversationId, string recordingId, CancellationToken cancellationToken = default) - { - using DiagnosticScope scope = _clientDiagnostics.CreateScope($"{nameof(ConversationClient)}.{nameof(PauseRecording)}"); - scope.Start(); - try - { - return await RestClient.PauseRecordingAsync( - conversationId: conversationId, - recordingId: recordingId, - cancellationToken: cancellationToken - ).ConfigureAwait(false); - } - catch (Exception ex) - { - scope.Failed(ex); - throw; - } - } - - /// - /// Pause recording of the call. - /// - /// The conversation id that can be a group id or a encoded conversation url retrieve from client. - /// The recording id to pause. - /// The cancellation token. - public virtual Response PauseRecording(string conversationId, string recordingId, CancellationToken cancellationToken = default) - { - using DiagnosticScope scope = _clientDiagnostics.CreateScope($"{nameof(ConversationClient)}.{nameof(PauseRecording)}"); - scope.Start(); - try - { - return RestClient.PauseRecording( - conversationId: conversationId, - recordingId: recordingId, - cancellationToken: cancellationToken - ); - } - catch (Exception ex) - { - scope.Failed(ex); - throw; - } - } - - /// - /// Resume recording of the call. - /// - /// The conversation id that can be a group id or a encoded conversation url retrieve from client. - /// The recording id to pause. - /// The cancellation token. - public virtual async Task ResumeRecordingAsync(string conversationId, string recordingId, CancellationToken cancellationToken = default) - { - using DiagnosticScope scope = _clientDiagnostics.CreateScope($"{nameof(ConversationClient)}.{nameof(ResumeRecording)}"); - scope.Start(); - try - { - return await RestClient.ResumeRecordingAsync( - conversationId: conversationId, - recordingId: recordingId, - cancellationToken: cancellationToken - ).ConfigureAwait(false); - } - catch (Exception ex) - { - scope.Failed(ex); - throw; - } - } - - /// - /// resume recording of the call. - /// - /// The conversation id that can be a group id or a encoded conversation url retrieve from client. - /// The recording id to resume. - /// The cancellation token. - public virtual Response ResumeRecording(string conversationId, string recordingId, CancellationToken cancellationToken = default) - { - using DiagnosticScope scope = _clientDiagnostics.CreateScope($"{nameof(ConversationClient)}.{nameof(ResumeRecording)}"); - scope.Start(); - try - { - return RestClient.ResumeRecording( - conversationId: conversationId, - recordingId: recordingId, - cancellationToken: cancellationToken - ); - } - catch (Exception ex) - { - scope.Failed(ex); - throw; - } - } - - /// - /// The - /// operation downloads the recording's content. - /// - /// - /// - /// Recording's content's url location. - /// - /// - /// If provided, only download the bytes of the content in the specified range. - /// If not provided, download the entire content. - /// - /// - /// Optional to propagate - /// notifications that the operation should be cancelled. - /// - /// - /// A containing the - /// downloaded content. - /// - /// - /// A will be thrown if - /// a failure occurs. - /// - public virtual async Task> DownloadStreamingAsync( - Uri sourceEndpoint, - HttpRange range = default, - CancellationToken cancellationToken = default) => - await _contentDownloader.DownloadStreamingInternal( - sourceEndpoint, - range, - async: true, - cancellationToken) - .ConfigureAwait(false); - - /// - /// The - /// operation downloads the recording's content. - /// - /// - /// - /// Recording's content's url location. - /// - /// - /// If provided, only download the bytes of the content in the specified range. - /// If not provided, download the entire content. - /// - /// - /// Optional to propagate - /// notifications that the operation should be cancelled. - /// - /// - /// A containing the - /// downloaded content. - /// - /// - /// A will be thrown if - /// a failure occurs. - /// - public virtual Response DownloadStreaming( - Uri sourceEndpoint, - HttpRange range = default, - CancellationToken cancellationToken = default) => - _contentDownloader.DownloadStreamingInternal( - sourceEndpoint, - range, - async: false, - cancellationToken) - .EnsureCompleted(); - - /// - /// The - /// operation downloads the specified content using parallel requests, - /// and writes the content to . - /// - /// - /// A with the Recording's content's url location. - /// - /// - /// A to write the downloaded content to. - /// - /// - /// Optional to configure - /// parallel transfer behavior. - /// - /// - /// Optional to propagate - /// notifications that the operation should be cancelled. - /// - /// - /// A describing the operation. - /// - /// - /// A will be thrown if - /// a failure occurs. - /// - public virtual Response DownloadTo(Uri sourceEndpoint, Stream destinationStream, - ContentTransferOptions transferOptions = default, CancellationToken cancellationToken = default) => - _contentDownloader.StagedDownloadAsync(sourceEndpoint, destinationStream, transferOptions, async: false, cancellationToken: cancellationToken).EnsureCompleted(); - - /// - /// The - /// operation downloads the specified content using parallel requests, - /// and writes the content to . - /// - /// - /// A with the Recording's content's url location. - /// - /// - /// A to write the downloaded content to. - /// - /// - /// Optional to configure - /// parallel transfer behavior. - /// - /// - /// Optional to propagate - /// notifications that the operation should be cancelled. - /// - /// - /// A describing the operation. - /// - /// - /// A will be thrown if - /// a failure occurs. - /// - public virtual async Task DownloadToAsync(Uri sourceEndpoint, Stream destinationStream, ContentTransferOptions transferOptions = default, CancellationToken cancellationToken = default) => - await _contentDownloader.StagedDownloadAsync(sourceEndpoint, destinationStream, transferOptions, async: true, cancellationToken: cancellationToken).ConfigureAwait(false); - - /// - /// The - /// operation downloads the specified content using parallel requests, - /// and writes the content to . - /// - /// - /// A with the Recording's content's url location. - /// - /// - /// A file path to write the downloaded content to. - /// - /// - /// Optional to configure - /// parallel transfer behavior. - /// - /// - /// Optional to propagate - /// notifications that the operation should be cancelled. - /// - /// - /// A describing the operation. - /// - /// - /// A will be thrown if - /// a failure occurs. - /// - public virtual Response DownloadTo(Uri sourceEndpoint, string destinationPath, - ContentTransferOptions transferOptions = default, CancellationToken cancellationToken = default) - { - using Stream destination = File.Create(destinationPath); - return _contentDownloader.StagedDownloadAsync(sourceEndpoint, destination, transferOptions, - async: false, cancellationToken: cancellationToken).EnsureCompleted(); - } - - /// - /// The - /// operation downloads the specified content using parallel requests, - /// and writes the content to . - /// - /// - /// A with the Recording's content's url location. - /// - /// - /// A file path to write the downloaded content to. - /// - /// - /// Optional to configure - /// parallel transfer behavior. - /// - /// - /// Optional to propagate - /// notifications that the operation should be cancelled. - /// - /// - /// A describing the operation. - /// - /// - /// A will be thrown if - /// a failure occurs. - /// - public virtual async Task DownloadToAsync(Uri sourceEndpoint, string destinationPath, - ContentTransferOptions transferOptions = default, CancellationToken cancellationToken = default) - { - using Stream destination = File.Create(destinationPath); - return await _contentDownloader.StagedDownloadAsync(sourceEndpoint, destination, transferOptions, - async: true, cancellationToken: cancellationToken).ConfigureAwait(false); - } - - private static T AssertNotNull(T argument, string argumentName) - where T : class - { - Argument.AssertNotNull(argument, argumentName); - return argument; - } - - private static string AssertNotNullOrEmpty(string argument, string argumentName) - { - Argument.AssertNotNullOrEmpty(argument, argumentName); - return argument; - } - } -} diff --git a/sdk/communication/Azure.Communication.CallingServer/src/Constants.cs b/sdk/communication/Azure.Communication.CallingServer/src/Downloader/Constants.cs similarity index 100% rename from sdk/communication/Azure.Communication.CallingServer/src/Constants.cs rename to sdk/communication/Azure.Communication.CallingServer/src/Downloader/Constants.cs diff --git a/sdk/communication/Azure.Communication.CallingServer/src/ContentDownloader.cs b/sdk/communication/Azure.Communication.CallingServer/src/Downloader/ContentDownloader.cs similarity index 97% rename from sdk/communication/Azure.Communication.CallingServer/src/ContentDownloader.cs rename to sdk/communication/Azure.Communication.CallingServer/src/Downloader/ContentDownloader.cs index 74a5aac01b5d..59cc2248299a 100644 --- a/sdk/communication/Azure.Communication.CallingServer/src/ContentDownloader.cs +++ b/sdk/communication/Azure.Communication.CallingServer/src/Downloader/ContentDownloader.cs @@ -12,9 +12,9 @@ namespace Azure.Communication.CallingServer { internal class ContentDownloader { - private readonly ConversationClient _client; + private readonly CallingServerClient _client; - internal ContentDownloader(ConversationClient client) + internal ContentDownloader(CallingServerClient client) { _client = client; } diff --git a/sdk/communication/Azure.Communication.CallingServer/src/PartitionedDownloader.cs b/sdk/communication/Azure.Communication.CallingServer/src/Downloader/PartitionedDownloader.cs similarity index 98% rename from sdk/communication/Azure.Communication.CallingServer/src/PartitionedDownloader.cs rename to sdk/communication/Azure.Communication.CallingServer/src/Downloader/PartitionedDownloader.cs index 0309a1f6ca36..23ff1ce9a56d 100644 --- a/sdk/communication/Azure.Communication.CallingServer/src/PartitionedDownloader.cs +++ b/sdk/communication/Azure.Communication.CallingServer/src/Downloader/PartitionedDownloader.cs @@ -15,7 +15,7 @@ internal class PartitionedDownloader /// /// The client used to download the blob. /// - private readonly ConversationClient _client; + private readonly CallingServerClient _client; /// /// The maximum number of simultaneous workers. @@ -34,7 +34,7 @@ internal class PartitionedDownloader private readonly long _rangeSize; internal PartitionedDownloader( - ConversationClient client, + CallingServerClient client, ContentTransferOptions transferOptions = default) { _client = client; diff --git a/sdk/communication/Azure.Communication.CallingServer/src/Generated/AzureCommunicationCallingServerServiceModelFactory.cs b/sdk/communication/Azure.Communication.CallingServer/src/Generated/AzureCommunicationCallingServerServiceModelFactory.cs deleted file mode 100644 index 7a1b5cdbef82..000000000000 --- a/sdk/communication/Azure.Communication.CallingServer/src/Generated/AzureCommunicationCallingServerServiceModelFactory.cs +++ /dev/null @@ -1,89 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. - -// - -#nullable disable - -namespace Azure.Communication.CallingServer -{ - /// Model factory for read-only models. - public static partial class AzureCommunicationCallingServerServiceModelFactory - { - /// Initializes new instance of CreateCallResponse class. - /// Call leg id of the call. - /// A new instance for mocking. - public static CreateCallResponse CreateCallResponse(string callLegId = default) - { - return new CreateCallResponse(callLegId); - } - - /// Initializes new instance of PlayAudioResponse class. - /// Gets or sets the identifier. - /// Gets or sets the status of the operation. - /// Gets or sets the operation context. - /// Gets or sets the result info. - /// A new instance for mocking. - public static PlayAudioResponse PlayAudioResponse(string id = default, OperationStatus? status = default, string operationContext = default, ResultInfo resultInfo = default) - { - return new PlayAudioResponse(id, status, operationContext, resultInfo); - } - - /// Initializes new instance of ResultInfo class. - /// - /// Gets or sets the result code - /// - /// For synchronous failures, this maps one-to-one with HTTP responses. For asynchronous failures or messages, it is contextual. - /// - /// - /// Gets or sets the result subcode. - /// - /// The subcode further classifies a failure. For example. - /// - /// - /// Gets or sets the message - /// - /// The message is a detail explanation of subcode. - /// - /// A new instance for mocking. - public static ResultInfo ResultInfo(int? code = default, int? subcode = default, string message = default) - { - return new ResultInfo(code, subcode, message); - } - - /// Initializes new instance of CancelAllMediaOperationsResponse class. - /// Gets or sets the identifier. - /// Gets or sets the status of the operation. - /// Gets or sets the operation context. - /// Gets or sets the result info. - /// A new instance for mocking. - public static CancelAllMediaOperationsResponse CancelAllMediaOperationsResponse(string id = default, OperationStatus? status = default, string operationContext = default, ResultInfo resultInfo = default) - { - return new CancelAllMediaOperationsResponse(id, status, operationContext, resultInfo); - } - - /// Initializes new instance of JoinCallResponse class. - /// Call leg id of the call. - /// A new instance for mocking. - public static JoinCallResponse JoinCallResponse(string callLegId = default) - { - return new JoinCallResponse(callLegId); - } - - /// Initializes new instance of StartCallRecordingResponse class. - /// The recording id of the started recording. - /// A new instance for mocking. - public static StartCallRecordingResponse StartCallRecordingResponse(string recordingId = default) - { - return new StartCallRecordingResponse(recordingId); - } - - /// Initializes new instance of GetCallRecordingStateResponse class. - /// The recording state of the recording. - /// A new instance for mocking. - public static GetCallRecordingStateResponse GetCallRecordingStateResponse(CallRecordingState? recordingState = default) - { - return new GetCallRecordingStateResponse(recordingState); - } - } -} diff --git a/sdk/communication/Azure.Communication.CallingServer/src/Generated/CallRestClient.cs b/sdk/communication/Azure.Communication.CallingServer/src/Generated/CallConnectionsRestClient.cs similarity index 57% rename from sdk/communication/Azure.Communication.CallingServer/src/Generated/CallRestClient.cs rename to sdk/communication/Azure.Communication.CallingServer/src/Generated/CallConnectionsRestClient.cs index 8724406844a5..d5010fe774dc 100644 --- a/sdk/communication/Azure.Communication.CallingServer/src/Generated/CallRestClient.cs +++ b/sdk/communication/Azure.Communication.CallingServer/src/Generated/CallConnectionsRestClient.cs @@ -18,20 +18,20 @@ namespace Azure.Communication.CallingServer { - internal partial class CallRestClient + internal partial class CallConnectionsRestClient { private string endpoint; private string apiVersion; private ClientDiagnostics _clientDiagnostics; private HttpPipeline _pipeline; - /// Initializes a new instance of CallRestClient. + /// Initializes a new instance of CallConnectionsRestClient. /// The handler for diagnostic messaging in the client. /// The HTTP pipeline for sending and receiving REST requests and responses. /// The endpoint of the Azure Communication resource. /// Api Version. /// or is null. - public CallRestClient(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string endpoint, string apiVersion = "2021-04-15-preview1") + public CallConnectionsRestClient(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string endpoint, string apiVersion = "2021-06-15-preview") { if (endpoint == null) { @@ -48,23 +48,38 @@ public CallRestClient(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline _pipeline = pipeline; } - internal HttpMessage CreateCreateCallRequest(IEnumerable targets, CommunicationIdentifierModel source, string callbackUri, IEnumerable requestedModalities, IEnumerable requestedCallEvents, PhoneNumberIdentifierModel sourceAlternateIdentity, string subject) + internal HttpMessage CreateCreateCallRequest(IEnumerable targets, CommunicationIdentifierModel source, string callbackUri, PhoneNumberIdentifierModel alternateCallerId, string subject, IEnumerable requestedMediaTypes, IEnumerable requestedCallEvents) { var message = _pipeline.CreateMessage(); var request = message.Request; request.Method = RequestMethod.Post; var uri = new RawRequestUriBuilder(); uri.AppendRaw(endpoint, false); - uri.AppendPath("/calling/calls", false); + uri.AppendPath("/calling/callConnections", false); uri.AppendQuery("api-version", apiVersion, true); request.Uri = uri; request.Headers.Add("Accept", "application/json"); request.Headers.Add("Content-Type", "application/json"); - var model = new CreateCallRequestInternal(targets.ToList(), source, callbackUri, requestedModalities.ToList(), requestedCallEvents.ToList()) + CreateCallRequestInternal createCallRequestInternal = new CreateCallRequestInternal(targets.ToList(), source, callbackUri) { - SourceAlternateIdentity = sourceAlternateIdentity, + AlternateCallerId = alternateCallerId, Subject = subject }; + if (requestedMediaTypes != null) + { + foreach (var value in requestedMediaTypes) + { + createCallRequestInternal.RequestedMediaTypes.Add(value); + } + } + if (requestedCallEvents != null) + { + foreach (var value in requestedCallEvents) + { + createCallRequestInternal.RequestedCallEvents.Add(value); + } + } + var model = createCallRequestInternal; var content = new Utf8JsonRequestContent(); content.JsonWriter.WriteObjectValue(model); request.Content = content; @@ -75,13 +90,13 @@ internal HttpMessage CreateCreateCallRequest(IEnumerable The targets of the call. /// The source of the call. /// The callback URI. - /// The requested modalities. - /// The requested call events to subscribe to. - /// The alternate identity of the source of the call if dialing out to a pstn number. + /// The alternate identity of the source of the call if dialing out to a pstn number. /// The subject. + /// The requested modalities. + /// The requested call events to subscribe to. /// The cancellation token to use. - /// , , , , or is null. - public async Task> CreateCallAsync(IEnumerable targets, CommunicationIdentifierModel source, string callbackUri, IEnumerable requestedModalities, IEnumerable requestedCallEvents, PhoneNumberIdentifierModel sourceAlternateIdentity = null, string subject = null, CancellationToken cancellationToken = default) + /// , , or is null. + public async Task> CreateCallAsync(IEnumerable targets, CommunicationIdentifierModel source, string callbackUri, PhoneNumberIdentifierModel alternateCallerId = null, string subject = null, IEnumerable requestedMediaTypes = null, IEnumerable requestedCallEvents = null, CancellationToken cancellationToken = default) { if (targets == null) { @@ -95,24 +110,16 @@ public async Task> CreateCallAsync(IEnumerable> CreateCallAsync(IEnumerable The targets of the call. /// The source of the call. /// The callback URI. - /// The requested modalities. - /// The requested call events to subscribe to. - /// The alternate identity of the source of the call if dialing out to a pstn number. + /// The alternate identity of the source of the call if dialing out to a pstn number. /// The subject. + /// The requested modalities. + /// The requested call events to subscribe to. /// The cancellation token to use. - /// , , , , or is null. - public Response CreateCall(IEnumerable targets, CommunicationIdentifierModel source, string callbackUri, IEnumerable requestedModalities, IEnumerable requestedCallEvents, PhoneNumberIdentifierModel sourceAlternateIdentity = null, string subject = null, CancellationToken cancellationToken = default) + /// , , or is null. + public Response CreateCall(IEnumerable targets, CommunicationIdentifierModel source, string callbackUri, PhoneNumberIdentifierModel alternateCallerId = null, string subject = null, IEnumerable requestedMediaTypes = null, IEnumerable requestedCallEvents = null, CancellationToken cancellationToken = default) { if (targets == null) { @@ -144,24 +151,16 @@ public Response CreateCall(IEnumerable CreateCall(IEnumerable Hangup a call. - /// Call id. + /// Hangup the call. + /// The call connection id. /// The cancellation token to use. - /// is null. - public async Task HangupCallAsync(string callId, CancellationToken cancellationToken = default) + /// is null. + public async Task HangupCallAsync(string callConnectionId, CancellationToken cancellationToken = default) { - if (callId == null) + if (callConnectionId == null) { - throw new ArgumentNullException(nameof(callId)); + throw new ArgumentNullException(nameof(callConnectionId)); } - using var message = CreateHangupCallRequest(callId); + using var message = CreateHangupCallRequest(callConnectionId); await _pipeline.SendAsync(message, cancellationToken).ConfigureAwait(false); switch (message.Response.Status) { @@ -207,18 +206,18 @@ public async Task HangupCallAsync(string callId, CancellationToken can } } - /// Hangup a call. - /// Call id. + /// Hangup the call. + /// The call connection id. /// The cancellation token to use. - /// is null. - public Response HangupCall(string callId, CancellationToken cancellationToken = default) + /// is null. + public Response HangupCall(string callConnectionId, CancellationToken cancellationToken = default) { - if (callId == null) + if (callConnectionId == null) { - throw new ArgumentNullException(nameof(callId)); + throw new ArgumentNullException(nameof(callConnectionId)); } - using var message = CreateHangupCallRequest(callId); + using var message = CreateHangupCallRequest(callConnectionId); _pipeline.Send(message, cancellationToken); switch (message.Response.Status) { @@ -229,75 +228,16 @@ public Response HangupCall(string callId, CancellationToken cancellationToken = } } - internal HttpMessage CreateDeleteCallRequest(string callId) - { - var message = _pipeline.CreateMessage(); - var request = message.Request; - request.Method = RequestMethod.Delete; - var uri = new RawRequestUriBuilder(); - uri.AppendRaw(endpoint, false); - uri.AppendPath("/calling/calls/", false); - uri.AppendPath(callId, true); - uri.AppendQuery("api-version", apiVersion, true); - request.Uri = uri; - request.Headers.Add("Accept", "application/json"); - return message; - } - - /// Delete a call. - /// Call id. - /// The cancellation token to use. - /// is null. - public async Task DeleteCallAsync(string callId, CancellationToken cancellationToken = default) - { - if (callId == null) - { - throw new ArgumentNullException(nameof(callId)); - } - - using var message = CreateDeleteCallRequest(callId); - await _pipeline.SendAsync(message, cancellationToken).ConfigureAwait(false); - switch (message.Response.Status) - { - case 202: - return message.Response; - default: - throw await _clientDiagnostics.CreateRequestFailedExceptionAsync(message.Response).ConfigureAwait(false); - } - } - - /// Delete a call. - /// Call id. - /// The cancellation token to use. - /// is null. - public Response DeleteCall(string callId, CancellationToken cancellationToken = default) - { - if (callId == null) - { - throw new ArgumentNullException(nameof(callId)); - } - - using var message = CreateDeleteCallRequest(callId); - _pipeline.Send(message, cancellationToken); - switch (message.Response.Status) - { - case 202: - return message.Response; - default: - throw _clientDiagnostics.CreateRequestFailedException(message.Response); - } - } - - internal HttpMessage CreatePlayAudioRequest(string callId, string audioFileUri, bool? loop, string operationContext, string audioFileId, string callbackUri) + internal HttpMessage CreatePlayAudioRequest(string callConnectionId, string audioFileUri, bool? loop, string operationContext, string audioFileId, string callbackUri) { var message = _pipeline.CreateMessage(); var request = message.Request; request.Method = RequestMethod.Post; var uri = new RawRequestUriBuilder(); uri.AppendRaw(endpoint, false); - uri.AppendPath("/calling/calls/", false); - uri.AppendPath(callId, true); - uri.AppendPath("/PlayAudio", false); + uri.AppendPath("/calling/callConnections/", false); + uri.AppendPath(callConnectionId, true); + uri.AppendPath("/:playAudio", false); uri.AppendQuery("api-version", apiVersion, true); request.Uri = uri; request.Headers.Add("Accept", "application/json"); @@ -316,8 +256,8 @@ internal HttpMessage CreatePlayAudioRequest(string callId, string audioFileUri, return message; } - /// Play audio in a call. - /// The call id. + /// Play audio in the call. + /// The call connection id. /// /// The media resource uri of the play audio request. /// @@ -332,23 +272,23 @@ internal HttpMessage CreatePlayAudioRequest(string callId, string audioFileUri, /// An id for the media in the AudioFileUri, using which we cache the media resource. /// The callback Uri to receive PlayAudio status notifications. /// The cancellation token to use. - /// is null. - public async Task> PlayAudioAsync(string callId, string audioFileUri = null, bool? loop = null, string operationContext = null, string audioFileId = null, string callbackUri = null, CancellationToken cancellationToken = default) + /// is null. + public async Task> PlayAudioAsync(string callConnectionId, string audioFileUri = null, bool? loop = null, string operationContext = null, string audioFileId = null, string callbackUri = null, CancellationToken cancellationToken = default) { - if (callId == null) + if (callConnectionId == null) { - throw new ArgumentNullException(nameof(callId)); + throw new ArgumentNullException(nameof(callConnectionId)); } - using var message = CreatePlayAudioRequest(callId, audioFileUri, loop, operationContext, audioFileId, callbackUri); + using var message = CreatePlayAudioRequest(callConnectionId, audioFileUri, loop, operationContext, audioFileId, callbackUri); await _pipeline.SendAsync(message, cancellationToken).ConfigureAwait(false); switch (message.Response.Status) { case 202: { - PlayAudioResponse value = default; + PlayAudioResult value = default; using var document = await JsonDocument.ParseAsync(message.Response.ContentStream, default, cancellationToken).ConfigureAwait(false); - value = PlayAudioResponse.DeserializePlayAudioResponse(document.RootElement); + value = PlayAudioResult.DeserializePlayAudioResult(document.RootElement); return Response.FromValue(value, message.Response); } default: @@ -356,8 +296,8 @@ public async Task> PlayAudioAsync(string callId, str } } - /// Play audio in a call. - /// The call id. + /// Play audio in the call. + /// The call connection id. /// /// The media resource uri of the play audio request. /// @@ -372,23 +312,23 @@ public async Task> PlayAudioAsync(string callId, str /// An id for the media in the AudioFileUri, using which we cache the media resource. /// The callback Uri to receive PlayAudio status notifications. /// The cancellation token to use. - /// is null. - public Response PlayAudio(string callId, string audioFileUri = null, bool? loop = null, string operationContext = null, string audioFileId = null, string callbackUri = null, CancellationToken cancellationToken = default) + /// is null. + public Response PlayAudio(string callConnectionId, string audioFileUri = null, bool? loop = null, string operationContext = null, string audioFileId = null, string callbackUri = null, CancellationToken cancellationToken = default) { - if (callId == null) + if (callConnectionId == null) { - throw new ArgumentNullException(nameof(callId)); + throw new ArgumentNullException(nameof(callConnectionId)); } - using var message = CreatePlayAudioRequest(callId, audioFileUri, loop, operationContext, audioFileId, callbackUri); + using var message = CreatePlayAudioRequest(callConnectionId, audioFileUri, loop, operationContext, audioFileId, callbackUri); _pipeline.Send(message, cancellationToken); switch (message.Response.Status) { case 202: { - PlayAudioResponse value = default; + PlayAudioResult value = default; using var document = JsonDocument.Parse(message.Response.ContentStream); - value = PlayAudioResponse.DeserializePlayAudioResponse(document.RootElement); + value = PlayAudioResult.DeserializePlayAudioResult(document.RootElement); return Response.FromValue(value, message.Response); } default: @@ -396,16 +336,16 @@ public Response PlayAudio(string callId, string audioFileUri } } - internal HttpMessage CreateCancelAllMediaOperationsRequest(string callId, string operationContext) + internal HttpMessage CreateCancelAllMediaOperationsRequest(string callConnectionId, string operationContext) { var message = _pipeline.CreateMessage(); var request = message.Request; request.Method = RequestMethod.Post; var uri = new RawRequestUriBuilder(); uri.AppendRaw(endpoint, false); - uri.AppendPath("/calling/calls/", false); - uri.AppendPath(callId, true); - uri.AppendPath("/CancelMediaProcessing", false); + uri.AppendPath("/calling/callConnections/", false); + uri.AppendPath(callConnectionId, true); + uri.AppendPath("/:cancelAllMediaOperations", false); uri.AppendQuery("api-version", apiVersion, true); request.Uri = uri; request.Headers.Add("Accept", "application/json"); @@ -420,27 +360,27 @@ internal HttpMessage CreateCancelAllMediaOperationsRequest(string callId, string return message; } - /// Cancel Media Processing. - /// The call id. + /// Cancel all media operations. + /// The call connection id. /// The context for this operation. /// The cancellation token to use. - /// is null. - public async Task> CancelAllMediaOperationsAsync(string callId, string operationContext = null, CancellationToken cancellationToken = default) + /// is null. + public async Task> CancelAllMediaOperationsAsync(string callConnectionId, string operationContext = null, CancellationToken cancellationToken = default) { - if (callId == null) + if (callConnectionId == null) { - throw new ArgumentNullException(nameof(callId)); + throw new ArgumentNullException(nameof(callConnectionId)); } - using var message = CreateCancelAllMediaOperationsRequest(callId, operationContext); + using var message = CreateCancelAllMediaOperationsRequest(callConnectionId, operationContext); await _pipeline.SendAsync(message, cancellationToken).ConfigureAwait(false); switch (message.Response.Status) { case 200: { - CancelAllMediaOperationsResponse value = default; + CancelAllMediaOperationsResult value = default; using var document = await JsonDocument.ParseAsync(message.Response.ContentStream, default, cancellationToken).ConfigureAwait(false); - value = CancelAllMediaOperationsResponse.DeserializeCancelAllMediaOperationsResponse(document.RootElement); + value = CancelAllMediaOperationsResult.DeserializeCancelAllMediaOperationsResult(document.RootElement); return Response.FromValue(value, message.Response); } default: @@ -448,27 +388,27 @@ public async Task> CancelAllMediaOper } } - /// Cancel Media Processing. - /// The call id. + /// Cancel all media operations. + /// The call connection id. /// The context for this operation. /// The cancellation token to use. - /// is null. - public Response CancelAllMediaOperations(string callId, string operationContext = null, CancellationToken cancellationToken = default) + /// is null. + public Response CancelAllMediaOperations(string callConnectionId, string operationContext = null, CancellationToken cancellationToken = default) { - if (callId == null) + if (callConnectionId == null) { - throw new ArgumentNullException(nameof(callId)); + throw new ArgumentNullException(nameof(callConnectionId)); } - using var message = CreateCancelAllMediaOperationsRequest(callId, operationContext); + using var message = CreateCancelAllMediaOperationsRequest(callConnectionId, operationContext); _pipeline.Send(message, cancellationToken); switch (message.Response.Status) { case 200: { - CancelAllMediaOperationsResponse value = default; + CancelAllMediaOperationsResult value = default; using var document = JsonDocument.Parse(message.Response.ContentStream); - value = CancelAllMediaOperationsResponse.DeserializeCancelAllMediaOperationsResponse(document.RootElement); + value = CancelAllMediaOperationsResult.DeserializeCancelAllMediaOperationsResult(document.RootElement); return Response.FromValue(value, message.Response); } default: @@ -476,23 +416,24 @@ public Response CancelAllMediaOperations(strin } } - internal HttpMessage CreateInviteParticipantsRequest(string callId, IEnumerable participants, PhoneNumberIdentifierModel alternateCallerId, string operationContext, string callbackUri) + internal HttpMessage CreateAddParticipantRequest(string callConnectionId, PhoneNumberIdentifierModel alternateCallerId, CommunicationIdentifierModel participant, string operationContext, string callbackUri) { var message = _pipeline.CreateMessage(); var request = message.Request; request.Method = RequestMethod.Post; var uri = new RawRequestUriBuilder(); uri.AppendRaw(endpoint, false); - uri.AppendPath("/calling/calls/", false); - uri.AppendPath(callId, true); + uri.AppendPath("/calling/callConnections/", false); + uri.AppendPath(callConnectionId, true); uri.AppendPath("/participants", false); uri.AppendQuery("api-version", apiVersion, true); request.Uri = uri; request.Headers.Add("Accept", "application/json"); request.Headers.Add("Content-Type", "application/json"); - var model = new InviteParticipantsRequestInternal(participants.ToList()) + var model = new AddParticipantRequest() { AlternateCallerId = alternateCallerId, + Participant = participant, OperationContext = operationContext, CallbackUri = callbackUri }; @@ -502,75 +443,77 @@ internal HttpMessage CreateInviteParticipantsRequest(string callId, IEnumerable< return message; } - /// Invite participants to the call. - /// Call id. - /// The list of participants to be added to the call. + /// Add a participant to the call. + /// The call connection id. /// The alternate identity of source participant. + /// The participant to be added to the call. /// The operation context. /// The callback URI. /// The cancellation token to use. - /// or is null. - public async Task InviteParticipantsAsync(string callId, IEnumerable participants, PhoneNumberIdentifierModel alternateCallerId = null, string operationContext = null, string callbackUri = null, CancellationToken cancellationToken = default) + /// is null. + public async Task> AddParticipantAsync(string callConnectionId, PhoneNumberIdentifierModel alternateCallerId = null, CommunicationIdentifierModel participant = null, string operationContext = null, string callbackUri = null, CancellationToken cancellationToken = default) { - if (callId == null) + if (callConnectionId == null) { - throw new ArgumentNullException(nameof(callId)); - } - if (participants == null) - { - throw new ArgumentNullException(nameof(participants)); + throw new ArgumentNullException(nameof(callConnectionId)); } - using var message = CreateInviteParticipantsRequest(callId, participants, alternateCallerId, operationContext, callbackUri); + using var message = CreateAddParticipantRequest(callConnectionId, alternateCallerId, participant, operationContext, callbackUri); await _pipeline.SendAsync(message, cancellationToken).ConfigureAwait(false); switch (message.Response.Status) { case 202: - return message.Response; + { + AddParticipantResult value = default; + using var document = await JsonDocument.ParseAsync(message.Response.ContentStream, default, cancellationToken).ConfigureAwait(false); + value = AddParticipantResult.DeserializeAddParticipantResult(document.RootElement); + return Response.FromValue(value, message.Response); + } default: throw await _clientDiagnostics.CreateRequestFailedExceptionAsync(message.Response).ConfigureAwait(false); } } - /// Invite participants to the call. - /// Call id. - /// The list of participants to be added to the call. + /// Add a participant to the call. + /// The call connection id. /// The alternate identity of source participant. + /// The participant to be added to the call. /// The operation context. /// The callback URI. /// The cancellation token to use. - /// or is null. - public Response InviteParticipants(string callId, IEnumerable participants, PhoneNumberIdentifierModel alternateCallerId = null, string operationContext = null, string callbackUri = null, CancellationToken cancellationToken = default) + /// is null. + public Response AddParticipant(string callConnectionId, PhoneNumberIdentifierModel alternateCallerId = null, CommunicationIdentifierModel participant = null, string operationContext = null, string callbackUri = null, CancellationToken cancellationToken = default) { - if (callId == null) + if (callConnectionId == null) { - throw new ArgumentNullException(nameof(callId)); - } - if (participants == null) - { - throw new ArgumentNullException(nameof(participants)); + throw new ArgumentNullException(nameof(callConnectionId)); } - using var message = CreateInviteParticipantsRequest(callId, participants, alternateCallerId, operationContext, callbackUri); + using var message = CreateAddParticipantRequest(callConnectionId, alternateCallerId, participant, operationContext, callbackUri); _pipeline.Send(message, cancellationToken); switch (message.Response.Status) { case 202: - return message.Response; + { + AddParticipantResult value = default; + using var document = JsonDocument.Parse(message.Response.ContentStream); + value = AddParticipantResult.DeserializeAddParticipantResult(document.RootElement); + return Response.FromValue(value, message.Response); + } default: throw _clientDiagnostics.CreateRequestFailedException(message.Response); } } - internal HttpMessage CreateRemoveParticipantRequest(string callId, string participantId) + internal HttpMessage CreateRemoveParticipantRequest(string callConnectionId, string participantId) { var message = _pipeline.CreateMessage(); var request = message.Request; request.Method = RequestMethod.Delete; var uri = new RawRequestUriBuilder(); uri.AppendRaw(endpoint, false); - uri.AppendPath("/calling/calls/", false); - uri.AppendPath(callId, true); + uri.AppendPath("/calling/callConnections/", false); + uri.AppendPath(callConnectionId, true); uri.AppendPath("/participants/", false); uri.AppendPath(participantId, true); uri.AppendQuery("api-version", apiVersion, true); @@ -579,23 +522,23 @@ internal HttpMessage CreateRemoveParticipantRequest(string callId, string partic return message; } - /// Remove participant from the call. - /// Call id. - /// Participant id. + /// Remove a participant from the call. + /// The call connection id. + /// The participant id. /// The cancellation token to use. - /// or is null. - public async Task RemoveParticipantAsync(string callId, string participantId, CancellationToken cancellationToken = default) + /// or is null. + public async Task RemoveParticipantAsync(string callConnectionId, string participantId, CancellationToken cancellationToken = default) { - if (callId == null) + if (callConnectionId == null) { - throw new ArgumentNullException(nameof(callId)); + throw new ArgumentNullException(nameof(callConnectionId)); } if (participantId == null) { throw new ArgumentNullException(nameof(participantId)); } - using var message = CreateRemoveParticipantRequest(callId, participantId); + using var message = CreateRemoveParticipantRequest(callConnectionId, participantId); await _pipeline.SendAsync(message, cancellationToken).ConfigureAwait(false); switch (message.Response.Status) { @@ -606,23 +549,23 @@ public async Task RemoveParticipantAsync(string callId, string partici } } - /// Remove participant from the call. - /// Call id. - /// Participant id. + /// Remove a participant from the call. + /// The call connection id. + /// The participant id. /// The cancellation token to use. - /// or is null. - public Response RemoveParticipant(string callId, string participantId, CancellationToken cancellationToken = default) + /// or is null. + public Response RemoveParticipant(string callConnectionId, string participantId, CancellationToken cancellationToken = default) { - if (callId == null) + if (callConnectionId == null) { - throw new ArgumentNullException(nameof(callId)); + throw new ArgumentNullException(nameof(callConnectionId)); } if (participantId == null) { throw new ArgumentNullException(nameof(participantId)); } - using var message = CreateRemoveParticipantRequest(callId, participantId); + using var message = CreateRemoveParticipantRequest(callConnectionId, participantId); _pipeline.Send(message, cancellationToken); switch (message.Response.Status) { diff --git a/sdk/communication/Azure.Communication.CallingServer/src/Generated/CallingServerModelFactory.cs b/sdk/communication/Azure.Communication.CallingServer/src/Generated/CallingServerModelFactory.cs new file mode 100644 index 000000000000..1af99b9c7641 --- /dev/null +++ b/sdk/communication/Azure.Communication.CallingServer/src/Generated/CallingServerModelFactory.cs @@ -0,0 +1,131 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +// + +#nullable disable + +using System; +using Azure.Communication.CallingServer; + +namespace Azure.Communication.CallingServer.Models +{ + /// Model factory for read-only models. + public static partial class CallingServerModelFactory + { + /// Initializes new instance of PlayAudioResult class. + /// The operation id. + /// The status of the operation. + /// The operation context provided by client. + /// The result info for the operation. + /// A new instance for mocking. + public static PlayAudioResult PlayAudioResult(string operationId = default, OperationStatus status = default, string operationContext = default, ResultInfo resultInfo = default) + { + return new PlayAudioResult(operationId, status, operationContext, resultInfo); + } + + /// Initializes new instance of ResultInfo class. + /// The result code associated with the operation. + /// The subcode that further classifies the result. + /// The message is a detail explanation of subcode. + /// A new instance for mocking. + public static ResultInfo ResultInfo(int code = default, int subcode = default, string message = default) + { + return new ResultInfo(code, subcode, message); + } + + /// Initializes new instance of CancelAllMediaOperationsResult class. + /// The operation id. + /// The status of the operation. + /// The operation context provided by client. + /// The result info for the operation. + /// A new instance for mocking. + public static CancelAllMediaOperationsResult CancelAllMediaOperationsResult(string operationId = default, OperationStatus status = default, string operationContext = default, ResultInfo resultInfo = default) + { + return new CancelAllMediaOperationsResult(operationId, status, operationContext, resultInfo); + } + + /// Initializes new instance of AddParticipantResult class. + /// The id of the added participant. + /// A new instance for mocking. + public static AddParticipantResult AddParticipantResult(string participantId = default) + { + return new AddParticipantResult(participantId); + } + + /// Initializes new instance of StartCallRecordingResult class. + /// The recording id of the started recording. + /// A new instance for mocking. + public static StartCallRecordingResult StartCallRecordingResult(string recordingId = default) + { + return new StartCallRecordingResult(recordingId); + } + + /// Initializes new instance of CallRecordingProperties class. + /// The state of the recording. + /// A new instance for mocking. + public static CallRecordingProperties CallRecordingProperties(CallRecordingState recordingState = default) + { + return new CallRecordingProperties(recordingState); + } + + /// Initializes new instance of CallConnectionStateChangedEvent class. + /// The server call.id. + /// The call connection id. + /// The call connection state. + /// A new instance for mocking. + public static CallConnectionStateChangedEvent CallConnectionStateChangedEvent(string serverCallId = default, string callConnectionId = default, CallConnectionState callConnectionState = default) + { + return new CallConnectionStateChangedEvent(serverCallId, callConnectionId, callConnectionState); + } + + /// Initializes new instance of CallRecordingStateChangeEvent class. + /// The call recording id. + /// The state of the recording. + /// The time of the recording started. + /// The server call.id. + /// A new instance for mocking. + public static CallRecordingStateChangeEvent CallRecordingStateChangeEvent(string recordingId = default, CallRecordingState state = default, DateTimeOffset startDateTime = default, string serverCallId = default) + { + return new CallRecordingStateChangeEvent(recordingId, state, startDateTime, serverCallId); + } + + /// Initializes new instance of AddParticipantResultEvent class. + /// The result details. + /// The operation context. + /// The status of the operation. + /// A new instance for mocking. + public static AddParticipantResultEvent AddParticipantResultEvent(ResultInfo resultInfo = default, string operationContext = default, OperationStatus status = default) + { + return new AddParticipantResultEvent(resultInfo, operationContext, status); + } + + /// Initializes new instance of PlayAudioResultEvent class. + /// The result details. + /// The operation context. + /// The status of the operation. + /// A new instance for mocking. + public static PlayAudioResultEvent PlayAudioResultEvent(ResultInfo resultInfo = default, string operationContext = default, OperationStatus status = default) + { + return new PlayAudioResultEvent(resultInfo, operationContext, status); + } + + /// Initializes new instance of ToneReceivedEvent class. + /// The tone info. + /// The call connection id. + /// A new instance for mocking. + public static ToneReceivedEvent ToneReceivedEvent(ToneInfo toneInfo = default, string callConnectionId = default) + { + return new ToneReceivedEvent(toneInfo, callConnectionId); + } + + /// Initializes new instance of ToneInfo class. + /// The sequence id which can be used to determine if the same tone was played multiple times or if any tones were missed. + /// The tone value. + /// A new instance for mocking. + public static ToneInfo ToneInfo(int sequenceId = default, ToneValue tone = default) + { + return new ToneInfo(sequenceId, tone); + } + } +} diff --git a/sdk/communication/Azure.Communication.CallingServer/src/Generated/Models/InviteParticipantsRequestInternal.Serialization.cs b/sdk/communication/Azure.Communication.CallingServer/src/Generated/Models/AddParticipantRequest.Serialization.cs similarity index 76% rename from sdk/communication/Azure.Communication.CallingServer/src/Generated/Models/InviteParticipantsRequestInternal.Serialization.cs rename to sdk/communication/Azure.Communication.CallingServer/src/Generated/Models/AddParticipantRequest.Serialization.cs index 60e7b7968455..407f6e7f1238 100644 --- a/sdk/communication/Azure.Communication.CallingServer/src/Generated/Models/InviteParticipantsRequestInternal.Serialization.cs +++ b/sdk/communication/Azure.Communication.CallingServer/src/Generated/Models/AddParticipantRequest.Serialization.cs @@ -10,7 +10,7 @@ namespace Azure.Communication.CallingServer { - internal partial class InviteParticipantsRequestInternal : IUtf8JsonSerializable + internal partial class AddParticipantRequest : IUtf8JsonSerializable { void IUtf8JsonSerializable.Write(Utf8JsonWriter writer) { @@ -20,13 +20,11 @@ void IUtf8JsonSerializable.Write(Utf8JsonWriter writer) writer.WritePropertyName("alternateCallerId"); writer.WriteObjectValue(AlternateCallerId); } - writer.WritePropertyName("participants"); - writer.WriteStartArray(); - foreach (var item in Participants) + if (Optional.IsDefined(Participant)) { - writer.WriteObjectValue(item); + writer.WritePropertyName("participant"); + writer.WriteObjectValue(Participant); } - writer.WriteEndArray(); if (Optional.IsDefined(OperationContext)) { writer.WritePropertyName("operationContext"); diff --git a/sdk/communication/Azure.Communication.CallingServer/src/Generated/Models/AddParticipantRequest.cs b/sdk/communication/Azure.Communication.CallingServer/src/Generated/Models/AddParticipantRequest.cs new file mode 100644 index 000000000000..c5c466c3d73e --- /dev/null +++ b/sdk/communication/Azure.Communication.CallingServer/src/Generated/Models/AddParticipantRequest.cs @@ -0,0 +1,29 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +// + +#nullable disable + +using Azure.Communication; + +namespace Azure.Communication.CallingServer +{ + /// The add participant request. + internal partial class AddParticipantRequest + { + /// Initializes a new instance of AddParticipantRequest. + public AddParticipantRequest() + { + } + + /// The alternate identity of source participant. + public PhoneNumberIdentifierModel AlternateCallerId { get; set; } + /// The participant to be added to the call. + public CommunicationIdentifierModel Participant { get; set; } + /// The operation context. + public string OperationContext { get; set; } + /// The callback URI. + public string CallbackUri { get; set; } + } +} diff --git a/sdk/communication/Azure.Communication.CallingServer/src/Generated/Models/JoinCallResponse.Serialization.cs b/sdk/communication/Azure.Communication.CallingServer/src/Generated/Models/AddParticipantResult.Serialization.cs similarity index 52% rename from sdk/communication/Azure.Communication.CallingServer/src/Generated/Models/JoinCallResponse.Serialization.cs rename to sdk/communication/Azure.Communication.CallingServer/src/Generated/Models/AddParticipantResult.Serialization.cs index 837903cd12d2..1ad1575d6224 100644 --- a/sdk/communication/Azure.Communication.CallingServer/src/Generated/Models/JoinCallResponse.Serialization.cs +++ b/sdk/communication/Azure.Communication.CallingServer/src/Generated/Models/AddParticipantResult.Serialization.cs @@ -10,20 +10,20 @@ namespace Azure.Communication.CallingServer { - public partial class JoinCallResponse + public partial class AddParticipantResult { - internal static JoinCallResponse DeserializeJoinCallResponse(JsonElement element) + internal static AddParticipantResult DeserializeAddParticipantResult(JsonElement element) { - Optional callLegId = default; + Optional participantId = default; foreach (var property in element.EnumerateObject()) { - if (property.NameEquals("callLegId")) + if (property.NameEquals("participantId")) { - callLegId = property.Value.GetString(); + participantId = property.Value.GetString(); continue; } } - return new JoinCallResponse(callLegId.Value); + return new AddParticipantResult(participantId.Value); } } } diff --git a/sdk/communication/Azure.Communication.CallingServer/src/Generated/Models/AddParticipantResult.cs b/sdk/communication/Azure.Communication.CallingServer/src/Generated/Models/AddParticipantResult.cs new file mode 100644 index 000000000000..827e351accce --- /dev/null +++ b/sdk/communication/Azure.Communication.CallingServer/src/Generated/Models/AddParticipantResult.cs @@ -0,0 +1,28 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +// + +#nullable disable + +namespace Azure.Communication.CallingServer +{ + /// The add participant result. + public partial class AddParticipantResult + { + /// Initializes a new instance of AddParticipantResult. + internal AddParticipantResult() + { + } + + /// Initializes a new instance of AddParticipantResult. + /// The id of the added participant. + internal AddParticipantResult(string participantId) + { + ParticipantId = participantId; + } + + /// The id of the added participant. + public string ParticipantId { get; } + } +} diff --git a/sdk/communication/Azure.Communication.CallingServer/src/Generated/Models/AddParticipantResultEvent.Serialization.cs b/sdk/communication/Azure.Communication.CallingServer/src/Generated/Models/AddParticipantResultEvent.Serialization.cs new file mode 100644 index 000000000000..05004943a343 --- /dev/null +++ b/sdk/communication/Azure.Communication.CallingServer/src/Generated/Models/AddParticipantResultEvent.Serialization.cs @@ -0,0 +1,46 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +// + +#nullable disable + +using System.Text.Json; +using Azure.Core; + +namespace Azure.Communication.CallingServer +{ + public partial class AddParticipantResultEvent + { + internal static AddParticipantResultEvent DeserializeAddParticipantResultEvent(JsonElement element) + { + Optional resultInfo = default; + Optional operationContext = default; + OperationStatus status = default; + foreach (var property in element.EnumerateObject()) + { + if (property.NameEquals("resultInfo")) + { + if (property.Value.ValueKind == JsonValueKind.Null) + { + property.ThrowNonNullablePropertyIsNull(); + continue; + } + resultInfo = ResultInfo.DeserializeResultInfo(property.Value); + continue; + } + if (property.NameEquals("operationContext")) + { + operationContext = property.Value.GetString(); + continue; + } + if (property.NameEquals("status")) + { + status = new OperationStatus(property.Value.GetString()); + continue; + } + } + return new AddParticipantResultEvent(resultInfo.Value, operationContext.Value, status); + } + } +} diff --git a/sdk/communication/Azure.Communication.CallingServer/src/Generated/Models/AddParticipantResultEvent.cs b/sdk/communication/Azure.Communication.CallingServer/src/Generated/Models/AddParticipantResultEvent.cs new file mode 100644 index 000000000000..e2bae28a24b4 --- /dev/null +++ b/sdk/communication/Azure.Communication.CallingServer/src/Generated/Models/AddParticipantResultEvent.cs @@ -0,0 +1,38 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +// + +#nullable disable + +namespace Azure.Communication.CallingServer +{ + /// The AddParticipantResultEvent. + public partial class AddParticipantResultEvent + { + /// Initializes a new instance of AddParticipantResultEvent. + /// The status of the operation. + internal AddParticipantResultEvent(OperationStatus status) + { + Status = status; + } + + /// Initializes a new instance of AddParticipantResultEvent. + /// The result details. + /// The operation context. + /// The status of the operation. + internal AddParticipantResultEvent(ResultInfo resultInfo, string operationContext, OperationStatus status) + { + ResultInfo = resultInfo; + OperationContext = operationContext; + Status = status; + } + + /// The result details. + public ResultInfo ResultInfo { get; } + /// The operation context. + public string OperationContext { get; } + /// The status of the operation. + public OperationStatus Status { get; } + } +} diff --git a/sdk/communication/Azure.Communication.CallingServer/src/Generated/Models/CallConnectionState.cs b/sdk/communication/Azure.Communication.CallingServer/src/Generated/Models/CallConnectionState.cs new file mode 100644 index 000000000000..6979532fe5e1 --- /dev/null +++ b/sdk/communication/Azure.Communication.CallingServer/src/Generated/Models/CallConnectionState.cs @@ -0,0 +1,60 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +// + +#nullable disable + +using System; +using System.ComponentModel; + +namespace Azure.Communication.CallingServer +{ + /// The call connection state. + public readonly partial struct CallConnectionState : IEquatable + { + private readonly string _value; + + /// Determines if two values are the same. + /// is null. + public CallConnectionState(string value) + { + _value = value ?? throw new ArgumentNullException(nameof(value)); + } + + private const string IncomingValue = "incoming"; + private const string ConnectingValue = "connecting"; + private const string ConnectedValue = "connected"; + private const string DisconnectingValue = "disconnecting"; + private const string DisconnectedValue = "disconnected"; + + /// incoming. + public static CallConnectionState Incoming { get; } = new CallConnectionState(IncomingValue); + /// connecting. + public static CallConnectionState Connecting { get; } = new CallConnectionState(ConnectingValue); + /// connected. + public static CallConnectionState Connected { get; } = new CallConnectionState(ConnectedValue); + /// disconnecting. + public static CallConnectionState Disconnecting { get; } = new CallConnectionState(DisconnectingValue); + /// disconnected. + public static CallConnectionState Disconnected { get; } = new CallConnectionState(DisconnectedValue); + /// Determines if two values are the same. + public static bool operator ==(CallConnectionState left, CallConnectionState right) => left.Equals(right); + /// Determines if two values are not the same. + public static bool operator !=(CallConnectionState left, CallConnectionState right) => !left.Equals(right); + /// Converts a string to a . + public static implicit operator CallConnectionState(string value) => new CallConnectionState(value); + + /// + [EditorBrowsable(EditorBrowsableState.Never)] + public override bool Equals(object obj) => obj is CallConnectionState other && Equals(other); + /// + public bool Equals(CallConnectionState other) => string.Equals(_value, other._value, StringComparison.InvariantCultureIgnoreCase); + + /// + [EditorBrowsable(EditorBrowsableState.Never)] + public override int GetHashCode() => _value?.GetHashCode() ?? 0; + /// + public override string ToString() => _value; + } +} diff --git a/sdk/communication/Azure.Communication.CallingServer/src/Generated/Models/CallConnectionStateChangedEvent.Serialization.cs b/sdk/communication/Azure.Communication.CallingServer/src/Generated/Models/CallConnectionStateChangedEvent.Serialization.cs new file mode 100644 index 000000000000..06d4e92a9768 --- /dev/null +++ b/sdk/communication/Azure.Communication.CallingServer/src/Generated/Models/CallConnectionStateChangedEvent.Serialization.cs @@ -0,0 +1,41 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +// + +#nullable disable + +using System.Text.Json; +using Azure.Core; + +namespace Azure.Communication.CallingServer +{ + public partial class CallConnectionStateChangedEvent + { + internal static CallConnectionStateChangedEvent DeserializeCallConnectionStateChangedEvent(JsonElement element) + { + Optional serverCallId = default; + Optional callConnectionId = default; + CallConnectionState callConnectionState = default; + foreach (var property in element.EnumerateObject()) + { + if (property.NameEquals("serverCallId")) + { + serverCallId = property.Value.GetString(); + continue; + } + if (property.NameEquals("callConnectionId")) + { + callConnectionId = property.Value.GetString(); + continue; + } + if (property.NameEquals("callConnectionState")) + { + callConnectionState = new CallConnectionState(property.Value.GetString()); + continue; + } + } + return new CallConnectionStateChangedEvent(serverCallId.Value, callConnectionId.Value, callConnectionState); + } + } +} diff --git a/sdk/communication/Azure.Communication.CallingServer/src/Generated/Models/CallConnectionStateChangedEvent.cs b/sdk/communication/Azure.Communication.CallingServer/src/Generated/Models/CallConnectionStateChangedEvent.cs new file mode 100644 index 000000000000..c15300cdded3 --- /dev/null +++ b/sdk/communication/Azure.Communication.CallingServer/src/Generated/Models/CallConnectionStateChangedEvent.cs @@ -0,0 +1,38 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +// + +#nullable disable + +namespace Azure.Communication.CallingServer +{ + /// The call connection state changed event. + public partial class CallConnectionStateChangedEvent + { + /// Initializes a new instance of CallConnectionStateChangedEvent. + /// The call connection state. + internal CallConnectionStateChangedEvent(CallConnectionState callConnectionState) + { + CallConnectionState = callConnectionState; + } + + /// Initializes a new instance of CallConnectionStateChangedEvent. + /// The server call.id. + /// The call connection id. + /// The call connection state. + internal CallConnectionStateChangedEvent(string serverCallId, string callConnectionId, CallConnectionState callConnectionState) + { + ServerCallId = serverCallId; + CallConnectionId = callConnectionId; + CallConnectionState = callConnectionState; + } + + /// The server call.id. + public string ServerCallId { get; } + /// The call connection id. + public string CallConnectionId { get; } + /// The call connection state. + public CallConnectionState CallConnectionState { get; } + } +} diff --git a/sdk/communication/Azure.Communication.CallingServer/src/Generated/Models/CallLegStateChangedEvent.Serialization.cs b/sdk/communication/Azure.Communication.CallingServer/src/Generated/Models/CallLegStateChangedEvent.Serialization.cs deleted file mode 100644 index 5f1db1ce2625..000000000000 --- a/sdk/communication/Azure.Communication.CallingServer/src/Generated/Models/CallLegStateChangedEvent.Serialization.cs +++ /dev/null @@ -1,67 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. - -// - -#nullable disable - -using System.Text.Json; -using Azure.Core; - -namespace Azure.Communication.CallingServer -{ - public partial class CallLegStateChangedEvent : IUtf8JsonSerializable - { - void IUtf8JsonSerializable.Write(Utf8JsonWriter writer) - { - writer.WriteStartObject(); - if (Optional.IsDefined(ConversationId)) - { - writer.WritePropertyName("conversationId"); - writer.WriteStringValue(ConversationId); - } - if (Optional.IsDefined(CallLegId)) - { - writer.WritePropertyName("callLegId"); - writer.WriteStringValue(CallLegId); - } - if (Optional.IsDefined(CallState)) - { - writer.WritePropertyName("callState"); - writer.WriteStringValue(CallState.Value.ToString()); - } - writer.WriteEndObject(); - } - - internal static CallLegStateChangedEvent DeserializeCallLegStateChangedEvent(JsonElement element) - { - Optional conversationId = default; - Optional callLegId = default; - Optional callState = default; - foreach (var property in element.EnumerateObject()) - { - if (property.NameEquals("conversationId")) - { - conversationId = property.Value.GetString(); - continue; - } - if (property.NameEquals("callLegId")) - { - callLegId = property.Value.GetString(); - continue; - } - if (property.NameEquals("callState")) - { - if (property.Value.ValueKind == JsonValueKind.Null) - { - property.ThrowNonNullablePropertyIsNull(); - continue; - } - callState = new CallState(property.Value.GetString()); - continue; - } - } - return new CallLegStateChangedEvent(conversationId.Value, callLegId.Value, Optional.ToNullable(callState)); - } - } -} diff --git a/sdk/communication/Azure.Communication.CallingServer/src/Generated/Models/CallLegStateChangedEvent.cs b/sdk/communication/Azure.Communication.CallingServer/src/Generated/Models/CallLegStateChangedEvent.cs deleted file mode 100644 index de96c72a9686..000000000000 --- a/sdk/communication/Azure.Communication.CallingServer/src/Generated/Models/CallLegStateChangedEvent.cs +++ /dev/null @@ -1,36 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. - -// - -#nullable disable - -namespace Azure.Communication.CallingServer -{ - /// The call state change event. - public partial class CallLegStateChangedEvent - { - /// Initializes a new instance of CallLegStateChangedEvent. - public CallLegStateChangedEvent() - { - } - - /// Initializes a new instance of CallLegStateChangedEvent. - /// The conversation.id. - /// The call leg.id. - /// The call state. - internal CallLegStateChangedEvent(string conversationId, string callLegId, CallState? callState) - { - ConversationId = conversationId; - CallLegId = callLegId; - CallState = callState; - } - - /// The conversation.id. - public string ConversationId { get; set; } - /// The call leg.id. - public string CallLegId { get; set; } - /// The call state. - public CallState? CallState { get; set; } - } -} diff --git a/sdk/communication/Azure.Communication.CallingServer/src/Generated/Models/CallModality.cs b/sdk/communication/Azure.Communication.CallingServer/src/Generated/Models/CallModality.cs deleted file mode 100644 index 731293ed3196..000000000000 --- a/sdk/communication/Azure.Communication.CallingServer/src/Generated/Models/CallModality.cs +++ /dev/null @@ -1,51 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. - -// - -#nullable disable - -using System; -using System.ComponentModel; - -namespace Azure.Communication.CallingServer -{ - /// The CallModality. - public readonly partial struct CallModality : IEquatable - { - private readonly string _value; - - /// Determines if two values are the same. - /// is null. - public CallModality(string value) - { - _value = value ?? throw new ArgumentNullException(nameof(value)); - } - - private const string AudioValue = "audio"; - private const string VideoValue = "video"; - - /// audio. - public static CallModality Audio { get; } = new CallModality(AudioValue); - /// video. - public static CallModality Video { get; } = new CallModality(VideoValue); - /// Determines if two values are the same. - public static bool operator ==(CallModality left, CallModality right) => left.Equals(right); - /// Determines if two values are not the same. - public static bool operator !=(CallModality left, CallModality right) => !left.Equals(right); - /// Converts a string to a . - public static implicit operator CallModality(string value) => new CallModality(value); - - /// - [EditorBrowsable(EditorBrowsableState.Never)] - public override bool Equals(object obj) => obj is CallModality other && Equals(other); - /// - public bool Equals(CallModality other) => string.Equals(_value, other._value, StringComparison.InvariantCultureIgnoreCase); - - /// - [EditorBrowsable(EditorBrowsableState.Never)] - public override int GetHashCode() => _value?.GetHashCode() ?? 0; - /// - public override string ToString() => _value; - } -} diff --git a/sdk/communication/Azure.Communication.CallingServer/src/Generated/Models/CommunicationParticipantInternal.Serialization.cs b/sdk/communication/Azure.Communication.CallingServer/src/Generated/Models/CallParticipantInternal.Serialization.cs similarity index 69% rename from sdk/communication/Azure.Communication.CallingServer/src/Generated/Models/CommunicationParticipantInternal.Serialization.cs rename to sdk/communication/Azure.Communication.CallingServer/src/Generated/Models/CallParticipantInternal.Serialization.cs index a122d06ea955..87a9c9e45f00 100644 --- a/sdk/communication/Azure.Communication.CallingServer/src/Generated/Models/CommunicationParticipantInternal.Serialization.cs +++ b/sdk/communication/Azure.Communication.CallingServer/src/Generated/Models/CallParticipantInternal.Serialization.cs @@ -11,13 +11,13 @@ namespace Azure.Communication.CallingServer { - internal partial class CommunicationParticipantInternal + internal partial class CallParticipantInternal { - internal static CommunicationParticipantInternal DeserializeCommunicationParticipantInternal(JsonElement element) + internal static CallParticipantInternal DeserializeCallParticipantInternal(JsonElement element) { Optional identifier = default; Optional participantId = default; - Optional isMuted = default; + bool isMuted = default; foreach (var property in element.EnumerateObject()) { if (property.NameEquals("identifier")) @@ -37,16 +37,11 @@ internal static CommunicationParticipantInternal DeserializeCommunicationPartici } if (property.NameEquals("isMuted")) { - if (property.Value.ValueKind == JsonValueKind.Null) - { - property.ThrowNonNullablePropertyIsNull(); - continue; - } isMuted = property.Value.GetBoolean(); continue; } } - return new CommunicationParticipantInternal(identifier.Value, participantId.Value, Optional.ToNullable(isMuted)); + return new CallParticipantInternal(identifier.Value, participantId.Value, isMuted); } } } diff --git a/sdk/communication/Azure.Communication.CallingServer/src/Generated/Models/CallParticipantInternal.cs b/sdk/communication/Azure.Communication.CallingServer/src/Generated/Models/CallParticipantInternal.cs new file mode 100644 index 000000000000..d0e9755d677f --- /dev/null +++ b/sdk/communication/Azure.Communication.CallingServer/src/Generated/Models/CallParticipantInternal.cs @@ -0,0 +1,40 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +// + +#nullable disable + +using Azure.Communication; + +namespace Azure.Communication.CallingServer +{ + /// A participant in a call. + internal partial class CallParticipantInternal + { + /// Initializes a new instance of CallParticipantInternal. + /// Is participant muted. + internal CallParticipantInternal(bool isMuted) + { + IsMuted = isMuted; + } + + /// Initializes a new instance of CallParticipantInternal. + /// Communication identifier of the participant. + /// Participant id. + /// Is participant muted. + internal CallParticipantInternal(CommunicationIdentifierModel identifier, string participantId, bool isMuted) + { + Identifier = identifier; + ParticipantId = participantId; + IsMuted = isMuted; + } + + /// Communication identifier of the participant. + public CommunicationIdentifierModel Identifier { get; } + /// Participant id. + public string ParticipantId { get; } + /// Is participant muted. + public bool IsMuted { get; } + } +} diff --git a/sdk/communication/Azure.Communication.CallingServer/src/Generated/Models/GetCallRecordingStateResponse.Serialization.cs b/sdk/communication/Azure.Communication.CallingServer/src/Generated/Models/CallRecordingProperties.Serialization.cs similarity index 50% rename from sdk/communication/Azure.Communication.CallingServer/src/Generated/Models/GetCallRecordingStateResponse.Serialization.cs rename to sdk/communication/Azure.Communication.CallingServer/src/Generated/Models/CallRecordingProperties.Serialization.cs index c004a26399d0..44eca4f22244 100644 --- a/sdk/communication/Azure.Communication.CallingServer/src/Generated/Models/GetCallRecordingStateResponse.Serialization.cs +++ b/sdk/communication/Azure.Communication.CallingServer/src/Generated/Models/CallRecordingProperties.Serialization.cs @@ -10,25 +10,20 @@ namespace Azure.Communication.CallingServer { - public partial class GetCallRecordingStateResponse + public partial class CallRecordingProperties { - internal static GetCallRecordingStateResponse DeserializeGetCallRecordingStateResponse(JsonElement element) + internal static CallRecordingProperties DeserializeCallRecordingProperties(JsonElement element) { - Optional recordingState = default; + CallRecordingState recordingState = default; foreach (var property in element.EnumerateObject()) { if (property.NameEquals("recordingState")) { - if (property.Value.ValueKind == JsonValueKind.Null) - { - property.ThrowNonNullablePropertyIsNull(); - continue; - } recordingState = new CallRecordingState(property.Value.GetString()); continue; } } - return new GetCallRecordingStateResponse(Optional.ToNullable(recordingState)); + return new CallRecordingProperties(recordingState); } } } diff --git a/sdk/communication/Azure.Communication.CallingServer/src/Generated/Models/CallRecordingProperties.cs b/sdk/communication/Azure.Communication.CallingServer/src/Generated/Models/CallRecordingProperties.cs new file mode 100644 index 000000000000..64daf6f9d92b --- /dev/null +++ b/sdk/communication/Azure.Communication.CallingServer/src/Generated/Models/CallRecordingProperties.cs @@ -0,0 +1,23 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +// + +#nullable disable + +namespace Azure.Communication.CallingServer +{ + /// The response payload of get call recording properties operation. + public partial class CallRecordingProperties + { + /// Initializes a new instance of CallRecordingProperties. + /// The state of the recording. + internal CallRecordingProperties(CallRecordingState recordingState) + { + RecordingState = recordingState; + } + + /// The state of the recording. + public CallRecordingState RecordingState { get; } + } +} diff --git a/sdk/communication/Azure.Communication.CallingServer/src/Generated/Models/CallRecordingState.cs b/sdk/communication/Azure.Communication.CallingServer/src/Generated/Models/CallRecordingState.cs index 2aa166bbece7..ad9278e1b12c 100644 --- a/sdk/communication/Azure.Communication.CallingServer/src/Generated/Models/CallRecordingState.cs +++ b/sdk/communication/Azure.Communication.CallingServer/src/Generated/Models/CallRecordingState.cs @@ -10,7 +10,7 @@ namespace Azure.Communication.CallingServer { - /// The recording state of the recording. + /// The state of the recording. public readonly partial struct CallRecordingState : IEquatable { private readonly string _value; diff --git a/sdk/communication/Azure.Communication.CallingServer/src/Generated/Models/CallRecordingStateChangeEvent.Serialization.cs b/sdk/communication/Azure.Communication.CallingServer/src/Generated/Models/CallRecordingStateChangeEvent.Serialization.cs index ccf995cb91fc..a36e9962460c 100644 --- a/sdk/communication/Azure.Communication.CallingServer/src/Generated/Models/CallRecordingStateChangeEvent.Serialization.cs +++ b/sdk/communication/Azure.Communication.CallingServer/src/Generated/Models/CallRecordingStateChangeEvent.Serialization.cs @@ -11,40 +11,14 @@ namespace Azure.Communication.CallingServer { - public partial class CallRecordingStateChangeEvent : IUtf8JsonSerializable + public partial class CallRecordingStateChangeEvent { - void IUtf8JsonSerializable.Write(Utf8JsonWriter writer) - { - writer.WriteStartObject(); - if (Optional.IsDefined(RecordingId)) - { - writer.WritePropertyName("recordingId"); - writer.WriteStringValue(RecordingId); - } - if (Optional.IsDefined(State)) - { - writer.WritePropertyName("state"); - writer.WriteStringValue(State.Value.ToString()); - } - if (Optional.IsDefined(StartDateTime)) - { - writer.WritePropertyName("startDateTime"); - writer.WriteStringValue(StartDateTime.Value, "O"); - } - if (Optional.IsDefined(ConversationId)) - { - writer.WritePropertyName("conversationId"); - writer.WriteStringValue(ConversationId); - } - writer.WriteEndObject(); - } - internal static CallRecordingStateChangeEvent DeserializeCallRecordingStateChangeEvent(JsonElement element) { Optional recordingId = default; - Optional state = default; - Optional startDateTime = default; - Optional conversationId = default; + CallRecordingState state = default; + DateTimeOffset startDateTime = default; + Optional serverCallId = default; foreach (var property in element.EnumerateObject()) { if (property.NameEquals("recordingId")) @@ -54,31 +28,21 @@ internal static CallRecordingStateChangeEvent DeserializeCallRecordingStateChang } if (property.NameEquals("state")) { - if (property.Value.ValueKind == JsonValueKind.Null) - { - property.ThrowNonNullablePropertyIsNull(); - continue; - } state = new CallRecordingState(property.Value.GetString()); continue; } if (property.NameEquals("startDateTime")) { - if (property.Value.ValueKind == JsonValueKind.Null) - { - property.ThrowNonNullablePropertyIsNull(); - continue; - } startDateTime = property.Value.GetDateTimeOffset("O"); continue; } - if (property.NameEquals("conversationId")) + if (property.NameEquals("serverCallId")) { - conversationId = property.Value.GetString(); + serverCallId = property.Value.GetString(); continue; } } - return new CallRecordingStateChangeEvent(recordingId.Value, Optional.ToNullable(state), Optional.ToNullable(startDateTime), conversationId.Value); + return new CallRecordingStateChangeEvent(recordingId.Value, state, startDateTime, serverCallId.Value); } } } diff --git a/sdk/communication/Azure.Communication.CallingServer/src/Generated/Models/CallRecordingStateChangeEvent.cs b/sdk/communication/Azure.Communication.CallingServer/src/Generated/Models/CallRecordingStateChangeEvent.cs index ad2a94e87045..481668aa3cbf 100644 --- a/sdk/communication/Azure.Communication.CallingServer/src/Generated/Models/CallRecordingStateChangeEvent.cs +++ b/sdk/communication/Azure.Communication.CallingServer/src/Generated/Models/CallRecordingStateChangeEvent.cs @@ -13,30 +13,34 @@ namespace Azure.Communication.CallingServer public partial class CallRecordingStateChangeEvent { /// Initializes a new instance of CallRecordingStateChangeEvent. - public CallRecordingStateChangeEvent() + /// The state of the recording. + /// The time of the recording started. + internal CallRecordingStateChangeEvent(CallRecordingState state, DateTimeOffset startDateTime) { + State = state; + StartDateTime = startDateTime; } /// Initializes a new instance of CallRecordingStateChangeEvent. /// The call recording id. - /// The recording state of the recording. + /// The state of the recording. /// The time of the recording started. - /// The conversation id from a out call start recording request. - internal CallRecordingStateChangeEvent(string recordingId, CallRecordingState? state, DateTimeOffset? startDateTime, string conversationId) + /// The server call.id. + internal CallRecordingStateChangeEvent(string recordingId, CallRecordingState state, DateTimeOffset startDateTime, string serverCallId) { RecordingId = recordingId; State = state; StartDateTime = startDateTime; - ConversationId = conversationId; + ServerCallId = serverCallId; } /// The call recording id. - public string RecordingId { get; set; } - /// The recording state of the recording. - public CallRecordingState? State { get; set; } + public string RecordingId { get; } + /// The state of the recording. + public CallRecordingState State { get; } /// The time of the recording started. - public DateTimeOffset? StartDateTime { get; set; } - /// The conversation id from a out call start recording request. - public string ConversationId { get; set; } + public DateTimeOffset StartDateTime { get; } + /// The server call.id. + public string ServerCallId { get; } } } diff --git a/sdk/communication/Azure.Communication.CallingServer/src/Generated/Models/CallState.cs b/sdk/communication/Azure.Communication.CallingServer/src/Generated/Models/CallState.cs deleted file mode 100644 index cbd5c4ab0615..000000000000 --- a/sdk/communication/Azure.Communication.CallingServer/src/Generated/Models/CallState.cs +++ /dev/null @@ -1,78 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. - -// - -#nullable disable - -using System; -using System.ComponentModel; - -namespace Azure.Communication.CallingServer -{ - /// The call state. - public readonly partial struct CallState : IEquatable - { - private readonly string _value; - - /// Determines if two values are the same. - /// is null. - public CallState(string value) - { - _value = value ?? throw new ArgumentNullException(nameof(value)); - } - - private const string UnknownValue = "unknown"; - private const string IdleValue = "idle"; - private const string IncomingValue = "incoming"; - private const string EstablishingValue = "establishing"; - private const string EstablishedValue = "established"; - private const string HoldValue = "hold"; - private const string UnholdValue = "unhold"; - private const string TransferringValue = "transferring"; - private const string RedirectingValue = "redirecting"; - private const string TerminatingValue = "terminating"; - private const string TerminatedValue = "terminated"; - - /// unknown. - public static CallState Unknown { get; } = new CallState(UnknownValue); - /// idle. - public static CallState Idle { get; } = new CallState(IdleValue); - /// incoming. - public static CallState Incoming { get; } = new CallState(IncomingValue); - /// establishing. - public static CallState Establishing { get; } = new CallState(EstablishingValue); - /// established. - public static CallState Established { get; } = new CallState(EstablishedValue); - /// hold. - public static CallState Hold { get; } = new CallState(HoldValue); - /// unhold. - public static CallState Unhold { get; } = new CallState(UnholdValue); - /// transferring. - public static CallState Transferring { get; } = new CallState(TransferringValue); - /// redirecting. - public static CallState Redirecting { get; } = new CallState(RedirectingValue); - /// terminating. - public static CallState Terminating { get; } = new CallState(TerminatingValue); - /// terminated. - public static CallState Terminated { get; } = new CallState(TerminatedValue); - /// Determines if two values are the same. - public static bool operator ==(CallState left, CallState right) => left.Equals(right); - /// Determines if two values are not the same. - public static bool operator !=(CallState left, CallState right) => !left.Equals(right); - /// Converts a string to a . - public static implicit operator CallState(string value) => new CallState(value); - - /// - [EditorBrowsable(EditorBrowsableState.Never)] - public override bool Equals(object obj) => obj is CallState other && Equals(other); - /// - public bool Equals(CallState other) => string.Equals(_value, other._value, StringComparison.InvariantCultureIgnoreCase); - - /// - [EditorBrowsable(EditorBrowsableState.Never)] - public override int GetHashCode() => _value?.GetHashCode() ?? 0; - /// - public override string ToString() => _value; - } -} diff --git a/sdk/communication/Azure.Communication.CallingServer/src/Generated/Models/CancelAllMediaOperationsRequest.cs b/sdk/communication/Azure.Communication.CallingServer/src/Generated/Models/CancelAllMediaOperationsRequest.cs index b9ba58849858..498b236ddf8f 100644 --- a/sdk/communication/Azure.Communication.CallingServer/src/Generated/Models/CancelAllMediaOperationsRequest.cs +++ b/sdk/communication/Azure.Communication.CallingServer/src/Generated/Models/CancelAllMediaOperationsRequest.cs @@ -7,7 +7,7 @@ namespace Azure.Communication.CallingServer { - /// The request payload for cancel media processing. + /// The request payload for cancel all media operations. internal partial class CancelAllMediaOperationsRequest { /// Initializes a new instance of CancelAllMediaOperationsRequest. diff --git a/sdk/communication/Azure.Communication.CallingServer/src/Generated/Models/CancelAllMediaOperationsResponse.cs b/sdk/communication/Azure.Communication.CallingServer/src/Generated/Models/CancelAllMediaOperationsResponse.cs deleted file mode 100644 index 9560e0967afa..000000000000 --- a/sdk/communication/Azure.Communication.CallingServer/src/Generated/Models/CancelAllMediaOperationsResponse.cs +++ /dev/null @@ -1,40 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. - -// - -#nullable disable - -namespace Azure.Communication.CallingServer -{ - /// The response payload of the cancel media processing operation. - public partial class CancelAllMediaOperationsResponse - { - /// Initializes a new instance of CancelAllMediaOperationsResponse. - internal CancelAllMediaOperationsResponse() - { - } - - /// Initializes a new instance of CancelAllMediaOperationsResponse. - /// Gets or sets the identifier. - /// Gets or sets the status of the operation. - /// Gets or sets the operation context. - /// Gets or sets the result info. - internal CancelAllMediaOperationsResponse(string id, OperationStatus? status, string operationContext, ResultInfo resultInfo) - { - Id = id; - Status = status; - OperationContext = operationContext; - ResultInfo = resultInfo; - } - - /// Gets or sets the identifier. - public string Id { get; } - /// Gets or sets the status of the operation. - public OperationStatus? Status { get; } - /// Gets or sets the operation context. - public string OperationContext { get; } - /// Gets or sets the result info. - public ResultInfo ResultInfo { get; } - } -} diff --git a/sdk/communication/Azure.Communication.CallingServer/src/Generated/Models/PlayAudioResponse.Serialization.cs b/sdk/communication/Azure.Communication.CallingServer/src/Generated/Models/CancelAllMediaOperationsResult.Serialization.cs similarity index 66% rename from sdk/communication/Azure.Communication.CallingServer/src/Generated/Models/PlayAudioResponse.Serialization.cs rename to sdk/communication/Azure.Communication.CallingServer/src/Generated/Models/CancelAllMediaOperationsResult.Serialization.cs index 8757de91f31c..0d94214912ba 100644 --- a/sdk/communication/Azure.Communication.CallingServer/src/Generated/Models/PlayAudioResponse.Serialization.cs +++ b/sdk/communication/Azure.Communication.CallingServer/src/Generated/Models/CancelAllMediaOperationsResult.Serialization.cs @@ -10,28 +10,23 @@ namespace Azure.Communication.CallingServer { - public partial class PlayAudioResponse + public partial class CancelAllMediaOperationsResult { - internal static PlayAudioResponse DeserializePlayAudioResponse(JsonElement element) + internal static CancelAllMediaOperationsResult DeserializeCancelAllMediaOperationsResult(JsonElement element) { - Optional id = default; - Optional status = default; + Optional operationId = default; + OperationStatus status = default; Optional operationContext = default; Optional resultInfo = default; foreach (var property in element.EnumerateObject()) { - if (property.NameEquals("id")) + if (property.NameEquals("operationId")) { - id = property.Value.GetString(); + operationId = property.Value.GetString(); continue; } if (property.NameEquals("status")) { - if (property.Value.ValueKind == JsonValueKind.Null) - { - property.ThrowNonNullablePropertyIsNull(); - continue; - } status = new OperationStatus(property.Value.GetString()); continue; } @@ -51,7 +46,7 @@ internal static PlayAudioResponse DeserializePlayAudioResponse(JsonElement eleme continue; } } - return new PlayAudioResponse(id.Value, Optional.ToNullable(status), operationContext.Value, resultInfo.Value); + return new CancelAllMediaOperationsResult(operationId.Value, status, operationContext.Value, resultInfo.Value); } } } diff --git a/sdk/communication/Azure.Communication.CallingServer/src/Generated/Models/CancelAllMediaOperationsResult.cs b/sdk/communication/Azure.Communication.CallingServer/src/Generated/Models/CancelAllMediaOperationsResult.cs new file mode 100644 index 000000000000..e31e114e93f7 --- /dev/null +++ b/sdk/communication/Azure.Communication.CallingServer/src/Generated/Models/CancelAllMediaOperationsResult.cs @@ -0,0 +1,42 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +// + +#nullable disable + +namespace Azure.Communication.CallingServer +{ + /// The response payload of the cancel all media operations. + public partial class CancelAllMediaOperationsResult + { + /// Initializes a new instance of CancelAllMediaOperationsResult. + /// The status of the operation. + internal CancelAllMediaOperationsResult(OperationStatus status) + { + Status = status; + } + + /// Initializes a new instance of CancelAllMediaOperationsResult. + /// The operation id. + /// The status of the operation. + /// The operation context provided by client. + /// The result info for the operation. + internal CancelAllMediaOperationsResult(string operationId, OperationStatus status, string operationContext, ResultInfo resultInfo) + { + OperationId = operationId; + Status = status; + OperationContext = operationContext; + ResultInfo = resultInfo; + } + + /// The operation id. + public string OperationId { get; } + /// The status of the operation. + public OperationStatus Status { get; } + /// The operation context provided by client. + public string OperationContext { get; } + /// The result info for the operation. + public ResultInfo ResultInfo { get; } + } +} diff --git a/sdk/communication/Azure.Communication.CallingServer/src/Generated/Models/CommunicationErrorResponse.Serialization.cs b/sdk/communication/Azure.Communication.CallingServer/src/Generated/Models/CommunicationErrorResponse.Serialization.cs new file mode 100644 index 000000000000..6637948463e5 --- /dev/null +++ b/sdk/communication/Azure.Communication.CallingServer/src/Generated/Models/CommunicationErrorResponse.Serialization.cs @@ -0,0 +1,29 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +// + +#nullable disable + +using System.Text.Json; +using Azure.Core; + +namespace Azure.Communication.CallingServer +{ + internal partial class CommunicationErrorResponse + { + internal static CommunicationErrorResponse DeserializeCommunicationErrorResponse(JsonElement element) + { + CommunicationError error = default; + foreach (var property in element.EnumerateObject()) + { + if (property.NameEquals("error")) + { + error = CommunicationError.DeserializeCommunicationError(property.Value); + continue; + } + } + return new CommunicationErrorResponse(error); + } + } +} diff --git a/sdk/communication/Azure.Communication.CallingServer/src/Generated/Models/CommunicationErrorResponse.cs b/sdk/communication/Azure.Communication.CallingServer/src/Generated/Models/CommunicationErrorResponse.cs new file mode 100644 index 000000000000..08849379fca7 --- /dev/null +++ b/sdk/communication/Azure.Communication.CallingServer/src/Generated/Models/CommunicationErrorResponse.cs @@ -0,0 +1,31 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +// + +#nullable disable + +using System; + +namespace Azure.Communication.CallingServer +{ + /// The Communication Services error. + internal partial class CommunicationErrorResponse + { + /// Initializes a new instance of CommunicationErrorResponse. + /// The Communication Services error. + /// is null. + internal CommunicationErrorResponse(CommunicationError error) + { + if (error == null) + { + throw new ArgumentNullException(nameof(error)); + } + + Error = error; + } + + /// The Communication Services error. + public CommunicationError Error { get; } + } +} diff --git a/sdk/communication/Azure.Communication.CallingServer/src/Generated/Models/CommunicationParticipantInternal.cs b/sdk/communication/Azure.Communication.CallingServer/src/Generated/Models/CommunicationParticipantInternal.cs deleted file mode 100644 index f4f85d3a97e3..000000000000 --- a/sdk/communication/Azure.Communication.CallingServer/src/Generated/Models/CommunicationParticipantInternal.cs +++ /dev/null @@ -1,38 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. - -// - -#nullable disable - -using Azure.Communication; - -namespace Azure.Communication.CallingServer -{ - /// Class to represent entry in roster. - internal partial class CommunicationParticipantInternal - { - /// Initializes a new instance of CommunicationParticipantInternal. - internal CommunicationParticipantInternal() - { - } - - /// Initializes a new instance of CommunicationParticipantInternal. - /// ACS communication identifier. - /// Participant Id. - /// Is participant muted. - internal CommunicationParticipantInternal(CommunicationIdentifierModel identifier, string participantId, bool? isMuted) - { - Identifier = identifier; - ParticipantId = participantId; - IsMuted = isMuted; - } - - /// ACS communication identifier. - public CommunicationIdentifierModel Identifier { get; } - /// Participant Id. - public string ParticipantId { get; } - /// Is participant muted. - public bool? IsMuted { get; } - } -} diff --git a/sdk/communication/Azure.Communication.CallingServer/src/Generated/Models/CreateCallRequestInternal.Serialization.cs b/sdk/communication/Azure.Communication.CallingServer/src/Generated/Models/CreateCallRequestInternal.Serialization.cs index 8a733b6b2dd3..b283cbb7b742 100644 --- a/sdk/communication/Azure.Communication.CallingServer/src/Generated/Models/CreateCallRequestInternal.Serialization.cs +++ b/sdk/communication/Azure.Communication.CallingServer/src/Generated/Models/CreateCallRequestInternal.Serialization.cs @@ -15,10 +15,10 @@ internal partial class CreateCallRequestInternal : IUtf8JsonSerializable void IUtf8JsonSerializable.Write(Utf8JsonWriter writer) { writer.WriteStartObject(); - if (Optional.IsDefined(SourceAlternateIdentity)) + if (Optional.IsDefined(AlternateCallerId)) { - writer.WritePropertyName("sourceAlternateIdentity"); - writer.WriteObjectValue(SourceAlternateIdentity); + writer.WritePropertyName("alternateCallerId"); + writer.WriteObjectValue(AlternateCallerId); } writer.WritePropertyName("targets"); writer.WriteStartArray(); @@ -36,20 +36,26 @@ void IUtf8JsonSerializable.Write(Utf8JsonWriter writer) } writer.WritePropertyName("callbackUri"); writer.WriteStringValue(CallbackUri); - writer.WritePropertyName("requestedModalities"); - writer.WriteStartArray(); - foreach (var item in RequestedModalities) + if (Optional.IsCollectionDefined(RequestedMediaTypes)) { - writer.WriteStringValue(item.ToString()); + writer.WritePropertyName("requestedMediaTypes"); + writer.WriteStartArray(); + foreach (var item in RequestedMediaTypes) + { + writer.WriteStringValue(item.ToString()); + } + writer.WriteEndArray(); } - writer.WriteEndArray(); - writer.WritePropertyName("requestedCallEvents"); - writer.WriteStartArray(); - foreach (var item in RequestedCallEvents) + if (Optional.IsCollectionDefined(RequestedCallEvents)) { - writer.WriteStringValue(item.ToString()); + writer.WritePropertyName("requestedCallEvents"); + writer.WriteStartArray(); + foreach (var item in RequestedCallEvents) + { + writer.WriteStringValue(item.ToString()); + } + writer.WriteEndArray(); } - writer.WriteEndArray(); writer.WriteEndObject(); } } diff --git a/sdk/communication/Azure.Communication.CallingServer/src/Generated/Models/CreateCallRequestInternal.cs b/sdk/communication/Azure.Communication.CallingServer/src/Generated/Models/CreateCallRequestInternal.cs index d75474f0b119..d851487109dc 100644 --- a/sdk/communication/Azure.Communication.CallingServer/src/Generated/Models/CreateCallRequestInternal.cs +++ b/sdk/communication/Azure.Communication.CallingServer/src/Generated/Models/CreateCallRequestInternal.cs @@ -9,6 +9,7 @@ using System.Collections.Generic; using System.Linq; using Azure.Communication; +using Azure.Core; namespace Azure.Communication.CallingServer { @@ -19,10 +20,8 @@ internal partial class CreateCallRequestInternal /// The targets of the call. /// The source of the call. /// The callback URI. - /// The requested modalities. - /// The requested call events to subscribe to. - /// , , , , or is null. - public CreateCallRequestInternal(IEnumerable targets, CommunicationIdentifierModel source, string callbackUri, IEnumerable requestedModalities, IEnumerable requestedCallEvents) + /// , , or is null. + public CreateCallRequestInternal(IEnumerable targets, CommunicationIdentifierModel source, string callbackUri) { if (targets == null) { @@ -36,24 +35,16 @@ public CreateCallRequestInternal(IEnumerable targe { throw new ArgumentNullException(nameof(callbackUri)); } - if (requestedModalities == null) - { - throw new ArgumentNullException(nameof(requestedModalities)); - } - if (requestedCallEvents == null) - { - throw new ArgumentNullException(nameof(requestedCallEvents)); - } Targets = targets.ToList(); Source = source; CallbackUri = callbackUri; - RequestedModalities = requestedModalities.ToList(); - RequestedCallEvents = requestedCallEvents.ToList(); + RequestedMediaTypes = new ChangeTrackingList(); + RequestedCallEvents = new ChangeTrackingList(); } /// The alternate identity of the source of the call if dialing out to a pstn number. - public PhoneNumberIdentifierModel SourceAlternateIdentity { get; set; } + public PhoneNumberIdentifierModel AlternateCallerId { get; set; } /// The targets of the call. public IList Targets { get; } /// The source of the call. @@ -63,7 +54,7 @@ public CreateCallRequestInternal(IEnumerable targe /// The callback URI. public string CallbackUri { get; } /// The requested modalities. - public IList RequestedModalities { get; } + public IList RequestedMediaTypes { get; } /// The requested call events to subscribe to. public IList RequestedCallEvents { get; } } diff --git a/sdk/communication/Azure.Communication.CallingServer/src/Generated/Models/CreateCallResultInternal.Serialization.cs b/sdk/communication/Azure.Communication.CallingServer/src/Generated/Models/CreateCallResultInternal.Serialization.cs new file mode 100644 index 000000000000..0181a75d8685 --- /dev/null +++ b/sdk/communication/Azure.Communication.CallingServer/src/Generated/Models/CreateCallResultInternal.Serialization.cs @@ -0,0 +1,29 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +// + +#nullable disable + +using System.Text.Json; +using Azure.Core; + +namespace Azure.Communication.CallingServer +{ + internal partial class CreateCallResultInternal + { + internal static CreateCallResultInternal DeserializeCreateCallResultInternal(JsonElement element) + { + Optional callConnectionId = default; + foreach (var property in element.EnumerateObject()) + { + if (property.NameEquals("callConnectionId")) + { + callConnectionId = property.Value.GetString(); + continue; + } + } + return new CreateCallResultInternal(callConnectionId.Value); + } + } +} diff --git a/sdk/communication/Azure.Communication.CallingServer/src/Generated/Models/CreateCallResponse.cs b/sdk/communication/Azure.Communication.CallingServer/src/Generated/Models/CreateCallResultInternal.cs similarity index 50% rename from sdk/communication/Azure.Communication.CallingServer/src/Generated/Models/CreateCallResponse.cs rename to sdk/communication/Azure.Communication.CallingServer/src/Generated/Models/CreateCallResultInternal.cs index cc4aa0e8128c..a06e1a24a29e 100644 --- a/sdk/communication/Azure.Communication.CallingServer/src/Generated/Models/CreateCallResponse.cs +++ b/sdk/communication/Azure.Communication.CallingServer/src/Generated/Models/CreateCallResultInternal.cs @@ -8,21 +8,21 @@ namespace Azure.Communication.CallingServer { /// The response payload of the create call operation. - public partial class CreateCallResponse + internal partial class CreateCallResultInternal { - /// Initializes a new instance of CreateCallResponse. - internal CreateCallResponse() + /// Initializes a new instance of CreateCallResultInternal. + internal CreateCallResultInternal() { } - /// Initializes a new instance of CreateCallResponse. - /// Call leg id of the call. - internal CreateCallResponse(string callLegId) + /// Initializes a new instance of CreateCallResultInternal. + /// The call connection id. + internal CreateCallResultInternal(string callConnectionId) { - CallLegId = callLegId; + CallConnectionId = callConnectionId; } - /// Call leg id of the call. - public string CallLegId { get; } + /// The call connection id. + public string CallConnectionId { get; } } } diff --git a/sdk/communication/Azure.Communication.CallingServer/src/Generated/Models/GetCallRecordingStateResponse.cs b/sdk/communication/Azure.Communication.CallingServer/src/Generated/Models/GetCallRecordingStateResponse.cs deleted file mode 100644 index ea34da593ec1..000000000000 --- a/sdk/communication/Azure.Communication.CallingServer/src/Generated/Models/GetCallRecordingStateResponse.cs +++ /dev/null @@ -1,28 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. - -// - -#nullable disable - -namespace Azure.Communication.CallingServer -{ - /// The response payload of get call recording state operation. - public partial class GetCallRecordingStateResponse - { - /// Initializes a new instance of GetCallRecordingStateResponse. - internal GetCallRecordingStateResponse() - { - } - - /// Initializes a new instance of GetCallRecordingStateResponse. - /// The recording state of the recording. - internal GetCallRecordingStateResponse(CallRecordingState? recordingState) - { - RecordingState = recordingState; - } - - /// The recording state of the recording. - public CallRecordingState? RecordingState { get; } - } -} diff --git a/sdk/communication/Azure.Communication.CallingServer/src/Generated/Models/InviteParticipantsRequestInternal.cs b/sdk/communication/Azure.Communication.CallingServer/src/Generated/Models/InviteParticipantsRequestInternal.cs deleted file mode 100644 index b806cfa49c03..000000000000 --- a/sdk/communication/Azure.Communication.CallingServer/src/Generated/Models/InviteParticipantsRequestInternal.cs +++ /dev/null @@ -1,40 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. - -// - -#nullable disable - -using System; -using System.Collections.Generic; -using System.Linq; -using Azure.Communication; - -namespace Azure.Communication.CallingServer -{ - /// The invite participants request. - internal partial class InviteParticipantsRequestInternal - { - /// Initializes a new instance of InviteParticipantsRequestInternal. - /// The list of participants to be added to the call. - /// is null. - public InviteParticipantsRequestInternal(IEnumerable participants) - { - if (participants == null) - { - throw new ArgumentNullException(nameof(participants)); - } - - Participants = participants.ToList(); - } - - /// The alternate identity of source participant. - public PhoneNumberIdentifierModel AlternateCallerId { get; set; } - /// The list of participants to be added to the call. - public IList Participants { get; } - /// The operation context. - public string OperationContext { get; set; } - /// The callback URI. - public string CallbackUri { get; set; } - } -} diff --git a/sdk/communication/Azure.Communication.CallingServer/src/Generated/Models/InviteParticipantsResultEvent.Serialization.cs b/sdk/communication/Azure.Communication.CallingServer/src/Generated/Models/InviteParticipantsResultEvent.Serialization.cs deleted file mode 100644 index 52d3b4767665..000000000000 --- a/sdk/communication/Azure.Communication.CallingServer/src/Generated/Models/InviteParticipantsResultEvent.Serialization.cs +++ /dev/null @@ -1,72 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. - -// - -#nullable disable - -using System.Text.Json; -using Azure.Core; - -namespace Azure.Communication.CallingServer -{ - public partial class InviteParticipantsResultEvent : IUtf8JsonSerializable - { - void IUtf8JsonSerializable.Write(Utf8JsonWriter writer) - { - writer.WriteStartObject(); - if (Optional.IsDefined(ResultInfo)) - { - writer.WritePropertyName("resultInfo"); - writer.WriteObjectValue(ResultInfo); - } - if (Optional.IsDefined(OperationContext)) - { - writer.WritePropertyName("operationContext"); - writer.WriteStringValue(OperationContext); - } - if (Optional.IsDefined(Status)) - { - writer.WritePropertyName("status"); - writer.WriteStringValue(Status.Value.ToString()); - } - writer.WriteEndObject(); - } - - internal static InviteParticipantsResultEvent DeserializeInviteParticipantsResultEvent(JsonElement element) - { - Optional resultInfo = default; - Optional operationContext = default; - Optional status = default; - foreach (var property in element.EnumerateObject()) - { - if (property.NameEquals("resultInfo")) - { - if (property.Value.ValueKind == JsonValueKind.Null) - { - property.ThrowNonNullablePropertyIsNull(); - continue; - } - resultInfo = ResultInfo.DeserializeResultInfo(property.Value); - continue; - } - if (property.NameEquals("operationContext")) - { - operationContext = property.Value.GetString(); - continue; - } - if (property.NameEquals("status")) - { - if (property.Value.ValueKind == JsonValueKind.Null) - { - property.ThrowNonNullablePropertyIsNull(); - continue; - } - status = new OperationStatus(property.Value.GetString()); - continue; - } - } - return new InviteParticipantsResultEvent(resultInfo.Value, operationContext.Value, Optional.ToNullable(status)); - } - } -} diff --git a/sdk/communication/Azure.Communication.CallingServer/src/Generated/Models/InviteParticipantsResultEvent.cs b/sdk/communication/Azure.Communication.CallingServer/src/Generated/Models/InviteParticipantsResultEvent.cs deleted file mode 100644 index 1fd35fffa5b1..000000000000 --- a/sdk/communication/Azure.Communication.CallingServer/src/Generated/Models/InviteParticipantsResultEvent.cs +++ /dev/null @@ -1,36 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. - -// - -#nullable disable - -namespace Azure.Communication.CallingServer -{ - /// The InviteParticipantsResultEvent. - public partial class InviteParticipantsResultEvent - { - /// Initializes a new instance of InviteParticipantsResultEvent. - public InviteParticipantsResultEvent() - { - } - - /// Initializes a new instance of InviteParticipantsResultEvent. - /// The result details. - /// The operation context. - /// Gets or sets the status of the operation. - internal InviteParticipantsResultEvent(ResultInfo resultInfo, string operationContext, OperationStatus? status) - { - ResultInfo = resultInfo; - OperationContext = operationContext; - Status = status; - } - - /// The result details. - public ResultInfo ResultInfo { get; set; } - /// The operation context. - public string OperationContext { get; set; } - /// Gets or sets the status of the operation. - public OperationStatus? Status { get; set; } - } -} diff --git a/sdk/communication/Azure.Communication.CallingServer/src/Generated/Models/JoinCallRequestInternal.Serialization.cs b/sdk/communication/Azure.Communication.CallingServer/src/Generated/Models/JoinCallRequestInternal.Serialization.cs index 286ada28f878..16cadb22366e 100644 --- a/sdk/communication/Azure.Communication.CallingServer/src/Generated/Models/JoinCallRequestInternal.Serialization.cs +++ b/sdk/communication/Azure.Communication.CallingServer/src/Generated/Models/JoinCallRequestInternal.Serialization.cs @@ -24,20 +24,26 @@ void IUtf8JsonSerializable.Write(Utf8JsonWriter writer) } writer.WritePropertyName("callbackUri"); writer.WriteStringValue(CallbackUri); - writer.WritePropertyName("requestedModalities"); - writer.WriteStartArray(); - foreach (var item in RequestedModalities) + if (Optional.IsCollectionDefined(RequestedMediaTypes)) { - writer.WriteStringValue(item.ToString()); + writer.WritePropertyName("requestedMediaTypes"); + writer.WriteStartArray(); + foreach (var item in RequestedMediaTypes) + { + writer.WriteStringValue(item.ToString()); + } + writer.WriteEndArray(); } - writer.WriteEndArray(); - writer.WritePropertyName("requestedCallEvents"); - writer.WriteStartArray(); - foreach (var item in RequestedCallEvents) + if (Optional.IsCollectionDefined(RequestedCallEvents)) { - writer.WriteStringValue(item.ToString()); + writer.WritePropertyName("requestedCallEvents"); + writer.WriteStartArray(); + foreach (var item in RequestedCallEvents) + { + writer.WriteStringValue(item.ToString()); + } + writer.WriteEndArray(); } - writer.WriteEndArray(); writer.WriteEndObject(); } } diff --git a/sdk/communication/Azure.Communication.CallingServer/src/Generated/Models/JoinCallRequestInternal.cs b/sdk/communication/Azure.Communication.CallingServer/src/Generated/Models/JoinCallRequestInternal.cs index 519e2948fec2..bafb78435ca5 100644 --- a/sdk/communication/Azure.Communication.CallingServer/src/Generated/Models/JoinCallRequestInternal.cs +++ b/sdk/communication/Azure.Communication.CallingServer/src/Generated/Models/JoinCallRequestInternal.cs @@ -7,8 +7,8 @@ using System; using System.Collections.Generic; -using System.Linq; using Azure.Communication; +using Azure.Core; namespace Azure.Communication.CallingServer { @@ -18,10 +18,8 @@ internal partial class JoinCallRequestInternal /// Initializes a new instance of JoinCallRequestInternal. /// The source of the call. /// The callback URI. - /// The requested modalities. - /// The requested call events to subscribe to. - /// , , , or is null. - public JoinCallRequestInternal(CommunicationIdentifierModel source, string callbackUri, IEnumerable requestedModalities, IEnumerable requestedCallEvents) + /// or is null. + public JoinCallRequestInternal(CommunicationIdentifierModel source, string callbackUri) { if (source == null) { @@ -31,19 +29,11 @@ public JoinCallRequestInternal(CommunicationIdentifierModel source, string callb { throw new ArgumentNullException(nameof(callbackUri)); } - if (requestedModalities == null) - { - throw new ArgumentNullException(nameof(requestedModalities)); - } - if (requestedCallEvents == null) - { - throw new ArgumentNullException(nameof(requestedCallEvents)); - } Source = source; CallbackUri = callbackUri; - RequestedModalities = requestedModalities.ToList(); - RequestedCallEvents = requestedCallEvents.ToList(); + RequestedMediaTypes = new ChangeTrackingList(); + RequestedCallEvents = new ChangeTrackingList(); } /// The source of the call. @@ -53,7 +43,7 @@ public JoinCallRequestInternal(CommunicationIdentifierModel source, string callb /// The callback URI. public string CallbackUri { get; } /// The requested modalities. - public IList RequestedModalities { get; } + public IList RequestedMediaTypes { get; } /// The requested call events to subscribe to. public IList RequestedCallEvents { get; } } diff --git a/sdk/communication/Azure.Communication.CallingServer/src/Generated/Models/JoinCallResponse.cs b/sdk/communication/Azure.Communication.CallingServer/src/Generated/Models/JoinCallResponse.cs deleted file mode 100644 index 4813790e5a80..000000000000 --- a/sdk/communication/Azure.Communication.CallingServer/src/Generated/Models/JoinCallResponse.cs +++ /dev/null @@ -1,28 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. - -// - -#nullable disable - -namespace Azure.Communication.CallingServer -{ - /// The response payload of the join call operation. - public partial class JoinCallResponse - { - /// Initializes a new instance of JoinCallResponse. - internal JoinCallResponse() - { - } - - /// Initializes a new instance of JoinCallResponse. - /// Call leg id of the call. - internal JoinCallResponse(string callLegId) - { - CallLegId = callLegId; - } - - /// Call leg id of the call. - public string CallLegId { get; } - } -} diff --git a/sdk/communication/Azure.Communication.CallingServer/src/Generated/Models/CreateCallResponse.Serialization.cs b/sdk/communication/Azure.Communication.CallingServer/src/Generated/Models/JoinCallResultInternal.Serialization.cs similarity index 50% rename from sdk/communication/Azure.Communication.CallingServer/src/Generated/Models/CreateCallResponse.Serialization.cs rename to sdk/communication/Azure.Communication.CallingServer/src/Generated/Models/JoinCallResultInternal.Serialization.cs index 82d8b2c87bdf..4d226b1a4661 100644 --- a/sdk/communication/Azure.Communication.CallingServer/src/Generated/Models/CreateCallResponse.Serialization.cs +++ b/sdk/communication/Azure.Communication.CallingServer/src/Generated/Models/JoinCallResultInternal.Serialization.cs @@ -10,20 +10,20 @@ namespace Azure.Communication.CallingServer { - public partial class CreateCallResponse + internal partial class JoinCallResultInternal { - internal static CreateCallResponse DeserializeCreateCallResponse(JsonElement element) + internal static JoinCallResultInternal DeserializeJoinCallResultInternal(JsonElement element) { - Optional callLegId = default; + Optional callConnectionId = default; foreach (var property in element.EnumerateObject()) { - if (property.NameEquals("callLegId")) + if (property.NameEquals("callConnectionId")) { - callLegId = property.Value.GetString(); + callConnectionId = property.Value.GetString(); continue; } } - return new CreateCallResponse(callLegId.Value); + return new JoinCallResultInternal(callConnectionId.Value); } } } diff --git a/sdk/communication/Azure.Communication.CallingServer/src/Generated/Models/JoinCallResultInternal.cs b/sdk/communication/Azure.Communication.CallingServer/src/Generated/Models/JoinCallResultInternal.cs new file mode 100644 index 000000000000..94b89f2ba743 --- /dev/null +++ b/sdk/communication/Azure.Communication.CallingServer/src/Generated/Models/JoinCallResultInternal.cs @@ -0,0 +1,28 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +// + +#nullable disable + +namespace Azure.Communication.CallingServer +{ + /// The response payload of the join call operation. + internal partial class JoinCallResultInternal + { + /// Initializes a new instance of JoinCallResultInternal. + internal JoinCallResultInternal() + { + } + + /// Initializes a new instance of JoinCallResultInternal. + /// The call connection id. + internal JoinCallResultInternal(string callConnectionId) + { + CallConnectionId = callConnectionId; + } + + /// The call connection id. + public string CallConnectionId { get; } + } +} diff --git a/sdk/communication/Azure.Communication.CallingServer/src/Generated/Models/MediaType.cs b/sdk/communication/Azure.Communication.CallingServer/src/Generated/Models/MediaType.cs new file mode 100644 index 000000000000..27cd7f3a3459 --- /dev/null +++ b/sdk/communication/Azure.Communication.CallingServer/src/Generated/Models/MediaType.cs @@ -0,0 +1,51 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +// + +#nullable disable + +using System; +using System.ComponentModel; + +namespace Azure.Communication.CallingServer +{ + /// The MediaType. + public readonly partial struct MediaType : IEquatable + { + private readonly string _value; + + /// Determines if two values are the same. + /// is null. + public MediaType(string value) + { + _value = value ?? throw new ArgumentNullException(nameof(value)); + } + + private const string AudioValue = "audio"; + private const string VideoValue = "video"; + + /// audio. + public static MediaType Audio { get; } = new MediaType(AudioValue); + /// video. + public static MediaType Video { get; } = new MediaType(VideoValue); + /// Determines if two values are the same. + public static bool operator ==(MediaType left, MediaType right) => left.Equals(right); + /// Determines if two values are not the same. + public static bool operator !=(MediaType left, MediaType right) => !left.Equals(right); + /// Converts a string to a . + public static implicit operator MediaType(string value) => new MediaType(value); + + /// + [EditorBrowsable(EditorBrowsableState.Never)] + public override bool Equals(object obj) => obj is MediaType other && Equals(other); + /// + public bool Equals(MediaType other) => string.Equals(_value, other._value, StringComparison.InvariantCultureIgnoreCase); + + /// + [EditorBrowsable(EditorBrowsableState.Never)] + public override int GetHashCode() => _value?.GetHashCode() ?? 0; + /// + public override string ToString() => _value; + } +} diff --git a/sdk/communication/Azure.Communication.CallingServer/src/Generated/Models/OperationStatus.cs b/sdk/communication/Azure.Communication.CallingServer/src/Generated/Models/OperationStatus.cs index 878c958f9d8e..63fe782fb828 100644 --- a/sdk/communication/Azure.Communication.CallingServer/src/Generated/Models/OperationStatus.cs +++ b/sdk/communication/Azure.Communication.CallingServer/src/Generated/Models/OperationStatus.cs @@ -10,7 +10,7 @@ namespace Azure.Communication.CallingServer { - /// Gets or sets the status of the operation. + /// The status of the operation. public readonly partial struct OperationStatus : IEquatable { private readonly string _value; diff --git a/sdk/communication/Azure.Communication.CallingServer/src/Generated/Models/ParticipantsUpdatedEventInternal.Serialization.cs b/sdk/communication/Azure.Communication.CallingServer/src/Generated/Models/ParticipantsUpdatedEventInternal.Serialization.cs index 954fa3e99465..61d4cbba4f09 100644 --- a/sdk/communication/Azure.Communication.CallingServer/src/Generated/Models/ParticipantsUpdatedEventInternal.Serialization.cs +++ b/sdk/communication/Azure.Communication.CallingServer/src/Generated/Models/ParticipantsUpdatedEventInternal.Serialization.cs @@ -15,13 +15,13 @@ internal partial class ParticipantsUpdatedEventInternal { internal static ParticipantsUpdatedEventInternal DeserializeParticipantsUpdatedEventInternal(JsonElement element) { - Optional callLegId = default; - Optional> participants = default; + Optional callConnectionId = default; + Optional> participants = default; foreach (var property in element.EnumerateObject()) { - if (property.NameEquals("callLegId")) + if (property.NameEquals("callConnectionId")) { - callLegId = property.Value.GetString(); + callConnectionId = property.Value.GetString(); continue; } if (property.NameEquals("participants")) @@ -31,16 +31,16 @@ internal static ParticipantsUpdatedEventInternal DeserializeParticipantsUpdatedE property.ThrowNonNullablePropertyIsNull(); continue; } - List array = new List(); + List array = new List(); foreach (var item in property.Value.EnumerateArray()) { - array.Add(CommunicationParticipantInternal.DeserializeCommunicationParticipantInternal(item)); + array.Add(CallParticipantInternal.DeserializeCallParticipantInternal(item)); } participants = array; continue; } } - return new ParticipantsUpdatedEventInternal(callLegId.Value, Optional.ToList(participants)); + return new ParticipantsUpdatedEventInternal(callConnectionId.Value, Optional.ToList(participants)); } } } diff --git a/sdk/communication/Azure.Communication.CallingServer/src/Generated/Models/ParticipantsUpdatedEventInternal.cs b/sdk/communication/Azure.Communication.CallingServer/src/Generated/Models/ParticipantsUpdatedEventInternal.cs index e9a5240bb648..81254e79aeda 100644 --- a/sdk/communication/Azure.Communication.CallingServer/src/Generated/Models/ParticipantsUpdatedEventInternal.cs +++ b/sdk/communication/Azure.Communication.CallingServer/src/Generated/Models/ParticipantsUpdatedEventInternal.cs @@ -10,27 +10,27 @@ namespace Azure.Communication.CallingServer { - /// Class to represent roster update. + /// The participant update event. internal partial class ParticipantsUpdatedEventInternal { /// Initializes a new instance of ParticipantsUpdatedEventInternal. internal ParticipantsUpdatedEventInternal() { - Participants = new ChangeTrackingList(); + Participants = new ChangeTrackingList(); } /// Initializes a new instance of ParticipantsUpdatedEventInternal. - /// The call leg.id. + /// The call connection id. /// The list of participants. - internal ParticipantsUpdatedEventInternal(string callLegId, IReadOnlyList participants) + internal ParticipantsUpdatedEventInternal(string callConnectionId, IReadOnlyList participants) { - CallLegId = callLegId; + CallConnectionId = callConnectionId; Participants = participants; } - /// The call leg.id. - public string CallLegId { get; } + /// The call connection id. + public string CallConnectionId { get; } /// The list of participants. - public IReadOnlyList Participants { get; } + public IReadOnlyList Participants { get; } } } diff --git a/sdk/communication/Azure.Communication.CallingServer/src/Generated/Models/PlayAudioResponse.cs b/sdk/communication/Azure.Communication.CallingServer/src/Generated/Models/PlayAudioResponse.cs deleted file mode 100644 index daa01f390e2b..000000000000 --- a/sdk/communication/Azure.Communication.CallingServer/src/Generated/Models/PlayAudioResponse.cs +++ /dev/null @@ -1,40 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. - -// - -#nullable disable - -namespace Azure.Communication.CallingServer -{ - /// The response payload for play audio operation. - public partial class PlayAudioResponse - { - /// Initializes a new instance of PlayAudioResponse. - internal PlayAudioResponse() - { - } - - /// Initializes a new instance of PlayAudioResponse. - /// Gets or sets the identifier. - /// Gets or sets the status of the operation. - /// Gets or sets the operation context. - /// Gets or sets the result info. - internal PlayAudioResponse(string id, OperationStatus? status, string operationContext, ResultInfo resultInfo) - { - Id = id; - Status = status; - OperationContext = operationContext; - ResultInfo = resultInfo; - } - - /// Gets or sets the identifier. - public string Id { get; } - /// Gets or sets the status of the operation. - public OperationStatus? Status { get; } - /// Gets or sets the operation context. - public string OperationContext { get; } - /// Gets or sets the result info. - public ResultInfo ResultInfo { get; } - } -} diff --git a/sdk/communication/Azure.Communication.CallingServer/src/Generated/Models/CancelAllMediaOperationsResponse.Serialization.cs b/sdk/communication/Azure.Communication.CallingServer/src/Generated/Models/PlayAudioResult.Serialization.cs similarity index 64% rename from sdk/communication/Azure.Communication.CallingServer/src/Generated/Models/CancelAllMediaOperationsResponse.Serialization.cs rename to sdk/communication/Azure.Communication.CallingServer/src/Generated/Models/PlayAudioResult.Serialization.cs index 90342df4e832..bda9dc0250e5 100644 --- a/sdk/communication/Azure.Communication.CallingServer/src/Generated/Models/CancelAllMediaOperationsResponse.Serialization.cs +++ b/sdk/communication/Azure.Communication.CallingServer/src/Generated/Models/PlayAudioResult.Serialization.cs @@ -10,28 +10,23 @@ namespace Azure.Communication.CallingServer { - public partial class CancelAllMediaOperationsResponse + public partial class PlayAudioResult { - internal static CancelAllMediaOperationsResponse DeserializeCancelAllMediaOperationsResponse(JsonElement element) + internal static PlayAudioResult DeserializePlayAudioResult(JsonElement element) { - Optional id = default; - Optional status = default; + Optional operationId = default; + OperationStatus status = default; Optional operationContext = default; Optional resultInfo = default; foreach (var property in element.EnumerateObject()) { - if (property.NameEquals("id")) + if (property.NameEquals("operationId")) { - id = property.Value.GetString(); + operationId = property.Value.GetString(); continue; } if (property.NameEquals("status")) { - if (property.Value.ValueKind == JsonValueKind.Null) - { - property.ThrowNonNullablePropertyIsNull(); - continue; - } status = new OperationStatus(property.Value.GetString()); continue; } @@ -51,7 +46,7 @@ internal static CancelAllMediaOperationsResponse DeserializeCancelAllMediaOperat continue; } } - return new CancelAllMediaOperationsResponse(id.Value, Optional.ToNullable(status), operationContext.Value, resultInfo.Value); + return new PlayAudioResult(operationId.Value, status, operationContext.Value, resultInfo.Value); } } } diff --git a/sdk/communication/Azure.Communication.CallingServer/src/Generated/Models/PlayAudioResult.cs b/sdk/communication/Azure.Communication.CallingServer/src/Generated/Models/PlayAudioResult.cs new file mode 100644 index 000000000000..7dd6b1dfd6d1 --- /dev/null +++ b/sdk/communication/Azure.Communication.CallingServer/src/Generated/Models/PlayAudioResult.cs @@ -0,0 +1,42 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +// + +#nullable disable + +namespace Azure.Communication.CallingServer +{ + /// The response payload for play audio operation. + public partial class PlayAudioResult + { + /// Initializes a new instance of PlayAudioResult. + /// The status of the operation. + internal PlayAudioResult(OperationStatus status) + { + Status = status; + } + + /// Initializes a new instance of PlayAudioResult. + /// The operation id. + /// The status of the operation. + /// The operation context provided by client. + /// The result info for the operation. + internal PlayAudioResult(string operationId, OperationStatus status, string operationContext, ResultInfo resultInfo) + { + OperationId = operationId; + Status = status; + OperationContext = operationContext; + ResultInfo = resultInfo; + } + + /// The operation id. + public string OperationId { get; } + /// The status of the operation. + public OperationStatus Status { get; } + /// The operation context provided by client. + public string OperationContext { get; } + /// The result info for the operation. + public ResultInfo ResultInfo { get; } + } +} diff --git a/sdk/communication/Azure.Communication.CallingServer/src/Generated/Models/PlayAudioResultEvent.Serialization.cs b/sdk/communication/Azure.Communication.CallingServer/src/Generated/Models/PlayAudioResultEvent.Serialization.cs index b1f1eeae26f4..865e57a31d3b 100644 --- a/sdk/communication/Azure.Communication.CallingServer/src/Generated/Models/PlayAudioResultEvent.Serialization.cs +++ b/sdk/communication/Azure.Communication.CallingServer/src/Generated/Models/PlayAudioResultEvent.Serialization.cs @@ -10,34 +10,13 @@ namespace Azure.Communication.CallingServer { - public partial class PlayAudioResultEvent : IUtf8JsonSerializable + public partial class PlayAudioResultEvent { - void IUtf8JsonSerializable.Write(Utf8JsonWriter writer) - { - writer.WriteStartObject(); - if (Optional.IsDefined(ResultInfo)) - { - writer.WritePropertyName("resultInfo"); - writer.WriteObjectValue(ResultInfo); - } - if (Optional.IsDefined(OperationContext)) - { - writer.WritePropertyName("operationContext"); - writer.WriteStringValue(OperationContext); - } - if (Optional.IsDefined(Status)) - { - writer.WritePropertyName("status"); - writer.WriteStringValue(Status.Value.ToString()); - } - writer.WriteEndObject(); - } - internal static PlayAudioResultEvent DeserializePlayAudioResultEvent(JsonElement element) { Optional resultInfo = default; Optional operationContext = default; - Optional status = default; + OperationStatus status = default; foreach (var property in element.EnumerateObject()) { if (property.NameEquals("resultInfo")) @@ -57,16 +36,11 @@ internal static PlayAudioResultEvent DeserializePlayAudioResultEvent(JsonElement } if (property.NameEquals("status")) { - if (property.Value.ValueKind == JsonValueKind.Null) - { - property.ThrowNonNullablePropertyIsNull(); - continue; - } status = new OperationStatus(property.Value.GetString()); continue; } } - return new PlayAudioResultEvent(resultInfo.Value, operationContext.Value, Optional.ToNullable(status)); + return new PlayAudioResultEvent(resultInfo.Value, operationContext.Value, status); } } } diff --git a/sdk/communication/Azure.Communication.CallingServer/src/Generated/Models/PlayAudioResultEvent.cs b/sdk/communication/Azure.Communication.CallingServer/src/Generated/Models/PlayAudioResultEvent.cs index a781525bc166..5c13697c27d9 100644 --- a/sdk/communication/Azure.Communication.CallingServer/src/Generated/Models/PlayAudioResultEvent.cs +++ b/sdk/communication/Azure.Communication.CallingServer/src/Generated/Models/PlayAudioResultEvent.cs @@ -11,15 +11,17 @@ namespace Azure.Communication.CallingServer public partial class PlayAudioResultEvent { /// Initializes a new instance of PlayAudioResultEvent. - public PlayAudioResultEvent() + /// The status of the operation. + internal PlayAudioResultEvent(OperationStatus status) { + Status = status; } /// Initializes a new instance of PlayAudioResultEvent. /// The result details. /// The operation context. - /// Gets or sets the status of the operation. - internal PlayAudioResultEvent(ResultInfo resultInfo, string operationContext, OperationStatus? status) + /// The status of the operation. + internal PlayAudioResultEvent(ResultInfo resultInfo, string operationContext, OperationStatus status) { ResultInfo = resultInfo; OperationContext = operationContext; @@ -27,10 +29,10 @@ internal PlayAudioResultEvent(ResultInfo resultInfo, string operationContext, Op } /// The result details. - public ResultInfo ResultInfo { get; set; } + public ResultInfo ResultInfo { get; } /// The operation context. - public string OperationContext { get; set; } - /// Gets or sets the status of the operation. - public OperationStatus? Status { get; set; } + public string OperationContext { get; } + /// The status of the operation. + public OperationStatus Status { get; } } } diff --git a/sdk/communication/Azure.Communication.CallingServer/src/Generated/Models/ResultInfo.Serialization.cs b/sdk/communication/Azure.Communication.CallingServer/src/Generated/Models/ResultInfo.Serialization.cs index 2a66db65162b..afeabc783ff3 100644 --- a/sdk/communication/Azure.Communication.CallingServer/src/Generated/Models/ResultInfo.Serialization.cs +++ b/sdk/communication/Azure.Communication.CallingServer/src/Generated/Models/ResultInfo.Serialization.cs @@ -14,28 +14,18 @@ public partial class ResultInfo { internal static ResultInfo DeserializeResultInfo(JsonElement element) { - Optional code = default; - Optional subcode = default; + int code = default; + int subcode = default; Optional message = default; foreach (var property in element.EnumerateObject()) { if (property.NameEquals("code")) { - if (property.Value.ValueKind == JsonValueKind.Null) - { - property.ThrowNonNullablePropertyIsNull(); - continue; - } code = property.Value.GetInt32(); continue; } if (property.NameEquals("subcode")) { - if (property.Value.ValueKind == JsonValueKind.Null) - { - property.ThrowNonNullablePropertyIsNull(); - continue; - } subcode = property.Value.GetInt32(); continue; } @@ -45,7 +35,7 @@ internal static ResultInfo DeserializeResultInfo(JsonElement element) continue; } } - return new ResultInfo(Optional.ToNullable(code), Optional.ToNullable(subcode), message.Value); + return new ResultInfo(code, subcode, message.Value); } } } diff --git a/sdk/communication/Azure.Communication.CallingServer/src/Generated/Models/ResultInfo.cs b/sdk/communication/Azure.Communication.CallingServer/src/Generated/Models/ResultInfo.cs index f40ef9a660a4..7b4aa9982c19 100644 --- a/sdk/communication/Azure.Communication.CallingServer/src/Generated/Models/ResultInfo.cs +++ b/sdk/communication/Azure.Communication.CallingServer/src/Generated/Models/ResultInfo.cs @@ -11,50 +11,30 @@ namespace Azure.Communication.CallingServer public partial class ResultInfo { /// Initializes a new instance of ResultInfo. - internal ResultInfo() + /// The result code associated with the operation. + /// The subcode that further classifies the result. + internal ResultInfo(int code, int subcode) { + Code = code; + Subcode = subcode; } /// Initializes a new instance of ResultInfo. - /// - /// Gets or sets the result code - /// - /// For synchronous failures, this maps one-to-one with HTTP responses. For asynchronous failures or messages, it is contextual. - /// - /// - /// Gets or sets the result subcode. - /// - /// The subcode further classifies a failure. For example. - /// - /// - /// Gets or sets the message - /// - /// The message is a detail explanation of subcode. - /// - internal ResultInfo(int? code, int? subcode, string message) + /// The result code associated with the operation. + /// The subcode that further classifies the result. + /// The message is a detail explanation of subcode. + internal ResultInfo(int code, int subcode, string message) { Code = code; Subcode = subcode; Message = message; } - /// - /// Gets or sets the result code - /// - /// For synchronous failures, this maps one-to-one with HTTP responses. For asynchronous failures or messages, it is contextual. - /// - public int? Code { get; } - /// - /// Gets or sets the result subcode. - /// - /// The subcode further classifies a failure. For example. - /// - public int? Subcode { get; } - /// - /// Gets or sets the message - /// - /// The message is a detail explanation of subcode. - /// + /// The result code associated with the operation. + public int Code { get; } + /// The subcode that further classifies the result. + public int Subcode { get; } + /// The message is a detail explanation of subcode. public string Message { get; } } } diff --git a/sdk/communication/Azure.Communication.CallingServer/src/Generated/Models/StartCallRecordingResponse.Serialization.cs b/sdk/communication/Azure.Communication.CallingServer/src/Generated/Models/StartCallRecordingResult.Serialization.cs similarity index 71% rename from sdk/communication/Azure.Communication.CallingServer/src/Generated/Models/StartCallRecordingResponse.Serialization.cs rename to sdk/communication/Azure.Communication.CallingServer/src/Generated/Models/StartCallRecordingResult.Serialization.cs index 2819ae59c6cd..0ed327d5f67e 100644 --- a/sdk/communication/Azure.Communication.CallingServer/src/Generated/Models/StartCallRecordingResponse.Serialization.cs +++ b/sdk/communication/Azure.Communication.CallingServer/src/Generated/Models/StartCallRecordingResult.Serialization.cs @@ -10,9 +10,9 @@ namespace Azure.Communication.CallingServer { - public partial class StartCallRecordingResponse + public partial class StartCallRecordingResult { - internal static StartCallRecordingResponse DeserializeStartCallRecordingResponse(JsonElement element) + internal static StartCallRecordingResult DeserializeStartCallRecordingResult(JsonElement element) { Optional recordingId = default; foreach (var property in element.EnumerateObject()) @@ -23,7 +23,7 @@ internal static StartCallRecordingResponse DeserializeStartCallRecordingResponse continue; } } - return new StartCallRecordingResponse(recordingId.Value); + return new StartCallRecordingResult(recordingId.Value); } } } diff --git a/sdk/communication/Azure.Communication.CallingServer/src/Generated/Models/StartCallRecordingResponse.cs b/sdk/communication/Azure.Communication.CallingServer/src/Generated/Models/StartCallRecordingResult.cs similarity index 76% rename from sdk/communication/Azure.Communication.CallingServer/src/Generated/Models/StartCallRecordingResponse.cs rename to sdk/communication/Azure.Communication.CallingServer/src/Generated/Models/StartCallRecordingResult.cs index fdd30e12eb77..1f34fac12aa1 100644 --- a/sdk/communication/Azure.Communication.CallingServer/src/Generated/Models/StartCallRecordingResponse.cs +++ b/sdk/communication/Azure.Communication.CallingServer/src/Generated/Models/StartCallRecordingResult.cs @@ -8,16 +8,16 @@ namespace Azure.Communication.CallingServer { /// The response payload of start call recording operation. - public partial class StartCallRecordingResponse + public partial class StartCallRecordingResult { - /// Initializes a new instance of StartCallRecordingResponse. - internal StartCallRecordingResponse() + /// Initializes a new instance of StartCallRecordingResult. + internal StartCallRecordingResult() { } - /// Initializes a new instance of StartCallRecordingResponse. + /// Initializes a new instance of StartCallRecordingResult. /// The recording id of the started recording. - internal StartCallRecordingResponse(string recordingId) + internal StartCallRecordingResult(string recordingId) { RecordingId = recordingId; } diff --git a/sdk/communication/Azure.Communication.CallingServer/src/Generated/Models/ToneInfo.Serialization.cs b/sdk/communication/Azure.Communication.CallingServer/src/Generated/Models/ToneInfo.Serialization.cs index f97a5a860928..88f829d9ce48 100644 --- a/sdk/communication/Azure.Communication.CallingServer/src/Generated/Models/ToneInfo.Serialization.cs +++ b/sdk/communication/Azure.Communication.CallingServer/src/Generated/Models/ToneInfo.Serialization.cs @@ -10,52 +10,26 @@ namespace Azure.Communication.CallingServer { - public partial class ToneInfo : IUtf8JsonSerializable + public partial class ToneInfo { - void IUtf8JsonSerializable.Write(Utf8JsonWriter writer) - { - writer.WriteStartObject(); - if (Optional.IsDefined(SequenceId)) - { - writer.WritePropertyName("sequenceId"); - writer.WriteNumberValue(SequenceId.Value); - } - if (Optional.IsDefined(Tone)) - { - writer.WritePropertyName("tone"); - writer.WriteStringValue(Tone.Value.ToString()); - } - writer.WriteEndObject(); - } - internal static ToneInfo DeserializeToneInfo(JsonElement element) { - Optional sequenceId = default; - Optional tone = default; + int sequenceId = default; + ToneValue tone = default; foreach (var property in element.EnumerateObject()) { if (property.NameEquals("sequenceId")) { - if (property.Value.ValueKind == JsonValueKind.Null) - { - property.ThrowNonNullablePropertyIsNull(); - continue; - } sequenceId = property.Value.GetInt32(); continue; } if (property.NameEquals("tone")) { - if (property.Value.ValueKind == JsonValueKind.Null) - { - property.ThrowNonNullablePropertyIsNull(); - continue; - } tone = new ToneValue(property.Value.GetString()); continue; } } - return new ToneInfo(Optional.ToNullable(sequenceId), Optional.ToNullable(tone)); + return new ToneInfo(sequenceId, tone); } } } diff --git a/sdk/communication/Azure.Communication.CallingServer/src/Generated/Models/ToneInfo.cs b/sdk/communication/Azure.Communication.CallingServer/src/Generated/Models/ToneInfo.cs index e22dc97f01a0..0fc8ed115fa8 100644 --- a/sdk/communication/Azure.Communication.CallingServer/src/Generated/Models/ToneInfo.cs +++ b/sdk/communication/Azure.Communication.CallingServer/src/Generated/Models/ToneInfo.cs @@ -7,34 +7,21 @@ namespace Azure.Communication.CallingServer { - /// Gets or sets the tone info. + /// The information about the tone. public partial class ToneInfo { /// Initializes a new instance of ToneInfo. - public ToneInfo() - { - } - - /// Initializes a new instance of ToneInfo. - /// - /// Gets or sets the sequence id. This id can be used to determine if the same tone - /// - /// was played multiple times or if any tones were missed. - /// - /// Gets or sets the tone detected. - internal ToneInfo(int? sequenceId, ToneValue? tone) + /// The sequence id which can be used to determine if the same tone was played multiple times or if any tones were missed. + /// The tone value. + internal ToneInfo(int sequenceId, ToneValue tone) { SequenceId = sequenceId; Tone = tone; } - /// - /// Gets or sets the sequence id. This id can be used to determine if the same tone - /// - /// was played multiple times or if any tones were missed. - /// - public int? SequenceId { get; set; } - /// Gets or sets the tone detected. - public ToneValue? Tone { get; set; } + /// The sequence id which can be used to determine if the same tone was played multiple times or if any tones were missed. + public int SequenceId { get; } + /// The tone value. + public ToneValue Tone { get; } } } diff --git a/sdk/communication/Azure.Communication.CallingServer/src/Generated/Models/ToneReceivedEvent.Serialization.cs b/sdk/communication/Azure.Communication.CallingServer/src/Generated/Models/ToneReceivedEvent.Serialization.cs index 025c53232a1d..9c2f01a2901a 100644 --- a/sdk/communication/Azure.Communication.CallingServer/src/Generated/Models/ToneReceivedEvent.Serialization.cs +++ b/sdk/communication/Azure.Communication.CallingServer/src/Generated/Models/ToneReceivedEvent.Serialization.cs @@ -10,47 +10,26 @@ namespace Azure.Communication.CallingServer { - public partial class ToneReceivedEvent : IUtf8JsonSerializable + public partial class ToneReceivedEvent { - void IUtf8JsonSerializable.Write(Utf8JsonWriter writer) - { - writer.WriteStartObject(); - if (Optional.IsDefined(ToneInfo)) - { - writer.WritePropertyName("toneInfo"); - writer.WriteObjectValue(ToneInfo); - } - if (Optional.IsDefined(CallLegId)) - { - writer.WritePropertyName("callLegId"); - writer.WriteStringValue(CallLegId); - } - writer.WriteEndObject(); - } - internal static ToneReceivedEvent DeserializeToneReceivedEvent(JsonElement element) { - Optional toneInfo = default; - Optional callLegId = default; + ToneInfo toneInfo = default; + Optional callConnectionId = default; foreach (var property in element.EnumerateObject()) { if (property.NameEquals("toneInfo")) { - if (property.Value.ValueKind == JsonValueKind.Null) - { - property.ThrowNonNullablePropertyIsNull(); - continue; - } toneInfo = ToneInfo.DeserializeToneInfo(property.Value); continue; } - if (property.NameEquals("callLegId")) + if (property.NameEquals("callConnectionId")) { - callLegId = property.Value.GetString(); + callConnectionId = property.Value.GetString(); continue; } } - return new ToneReceivedEvent(toneInfo.Value, callLegId.Value); + return new ToneReceivedEvent(toneInfo, callConnectionId.Value); } } } diff --git a/sdk/communication/Azure.Communication.CallingServer/src/Generated/Models/ToneReceivedEvent.cs b/sdk/communication/Azure.Communication.CallingServer/src/Generated/Models/ToneReceivedEvent.cs index 7c84fcfde510..645c5e5e72b0 100644 --- a/sdk/communication/Azure.Communication.CallingServer/src/Generated/Models/ToneReceivedEvent.cs +++ b/sdk/communication/Azure.Communication.CallingServer/src/Generated/Models/ToneReceivedEvent.cs @@ -5,28 +5,38 @@ #nullable disable +using System; + namespace Azure.Communication.CallingServer { /// The subscribe to tone event. public partial class ToneReceivedEvent { /// Initializes a new instance of ToneReceivedEvent. - public ToneReceivedEvent() + /// The tone info. + /// is null. + internal ToneReceivedEvent(ToneInfo toneInfo) { + if (toneInfo == null) + { + throw new ArgumentNullException(nameof(toneInfo)); + } + + ToneInfo = toneInfo; } /// Initializes a new instance of ToneReceivedEvent. /// The tone info. - /// The call leg.id. - internal ToneReceivedEvent(ToneInfo toneInfo, string callLegId) + /// The call connection id. + internal ToneReceivedEvent(ToneInfo toneInfo, string callConnectionId) { ToneInfo = toneInfo; - CallLegId = callLegId; + CallConnectionId = callConnectionId; } /// The tone info. - public ToneInfo ToneInfo { get; set; } - /// The call leg.id. - public string CallLegId { get; set; } + public ToneInfo ToneInfo { get; } + /// The call connection id. + public string CallConnectionId { get; } } } diff --git a/sdk/communication/Azure.Communication.CallingServer/src/Generated/Models/ToneValue.cs b/sdk/communication/Azure.Communication.CallingServer/src/Generated/Models/ToneValue.cs index 2881449048c2..b61260b6d57e 100644 --- a/sdk/communication/Azure.Communication.CallingServer/src/Generated/Models/ToneValue.cs +++ b/sdk/communication/Azure.Communication.CallingServer/src/Generated/Models/ToneValue.cs @@ -10,7 +10,7 @@ namespace Azure.Communication.CallingServer { - /// Gets or sets the tone detected. + /// The tone value. public readonly partial struct ToneValue : IEquatable { private readonly string _value; diff --git a/sdk/communication/Azure.Communication.CallingServer/src/Generated/ConversationRestClient.cs b/sdk/communication/Azure.Communication.CallingServer/src/Generated/ServerCallsRestClient.cs similarity index 59% rename from sdk/communication/Azure.Communication.CallingServer/src/Generated/ConversationRestClient.cs rename to sdk/communication/Azure.Communication.CallingServer/src/Generated/ServerCallsRestClient.cs index 13c588e0121b..590d85b54afa 100644 --- a/sdk/communication/Azure.Communication.CallingServer/src/Generated/ConversationRestClient.cs +++ b/sdk/communication/Azure.Communication.CallingServer/src/Generated/ServerCallsRestClient.cs @@ -7,7 +7,6 @@ using System; using System.Collections.Generic; -using System.Linq; using System.Text.Json; using System.Threading; using System.Threading.Tasks; @@ -18,20 +17,20 @@ namespace Azure.Communication.CallingServer { - internal partial class ConversationRestClient + internal partial class ServerCallsRestClient { private string endpoint; private string apiVersion; private ClientDiagnostics _clientDiagnostics; private HttpPipeline _pipeline; - /// Initializes a new instance of ConversationRestClient. + /// Initializes a new instance of ServerCallsRestClient. /// The handler for diagnostic messaging in the client. /// The HTTP pipeline for sending and receiving REST requests and responses. /// The endpoint of the Azure Communication resource. /// Api Version. /// or is null. - public ConversationRestClient(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string endpoint, string apiVersion = "2021-04-15-preview1") + public ServerCallsRestClient(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string endpoint, string apiVersion = "2021-06-15-preview") { if (endpoint == null) { @@ -48,23 +47,26 @@ public ConversationRestClient(ClientDiagnostics clientDiagnostics, HttpPipeline _pipeline = pipeline; } - internal HttpMessage CreateJoinCallRequest(string conversationId, CommunicationIdentifierModel source, string callbackUri, IEnumerable requestedModalities, IEnumerable requestedCallEvents, string subject) + internal HttpMessage CreateAddParticipantRequest(string serverCallId, PhoneNumberIdentifierModel alternateCallerId, CommunicationIdentifierModel participant, string operationContext, string callbackUri) { var message = _pipeline.CreateMessage(); var request = message.Request; request.Method = RequestMethod.Post; var uri = new RawRequestUriBuilder(); uri.AppendRaw(endpoint, false); - uri.AppendPath("/calling/conversations/", false); - uri.AppendPath(conversationId, true); - uri.AppendPath("/Join", false); + uri.AppendPath("/calling/serverCalls/", false); + uri.AppendPath(serverCallId, true); + uri.AppendPath("/participants", false); uri.AppendQuery("api-version", apiVersion, true); request.Uri = uri; request.Headers.Add("Accept", "application/json"); request.Headers.Add("Content-Type", "application/json"); - var model = new JoinCallRequestInternal(source, callbackUri, requestedModalities.ToList(), requestedCallEvents.ToList()) + var model = new AddParticipantRequest() { - Subject = subject + AlternateCallerId = alternateCallerId, + Participant = participant, + OperationContext = operationContext, + CallbackUri = callbackUri }; var content = new Utf8JsonRequestContent(); content.JsonWriter.WriteObjectValue(model); @@ -72,47 +74,30 @@ internal HttpMessage CreateJoinCallRequest(string conversationId, CommunicationI return message; } - /// Join a call. - /// The conversation id which can be guid or encoded cs url. - /// The source of the call. + /// Add a participant to the call. + /// The server call id. + /// The alternate identity of source participant. + /// The participant to be added to the call. + /// The operation context. /// The callback URI. - /// The requested modalities. - /// The requested call events to subscribe to. - /// The subject. /// The cancellation token to use. - /// , , , , or is null. - public async Task> JoinCallAsync(string conversationId, CommunicationIdentifierModel source, string callbackUri, IEnumerable requestedModalities, IEnumerable requestedCallEvents, string subject = null, CancellationToken cancellationToken = default) + /// is null. + public async Task> AddParticipantAsync(string serverCallId, PhoneNumberIdentifierModel alternateCallerId = null, CommunicationIdentifierModel participant = null, string operationContext = null, string callbackUri = null, CancellationToken cancellationToken = default) { - if (conversationId == null) - { - throw new ArgumentNullException(nameof(conversationId)); - } - if (source == null) - { - throw new ArgumentNullException(nameof(source)); - } - if (callbackUri == null) - { - throw new ArgumentNullException(nameof(callbackUri)); - } - if (requestedModalities == null) + if (serverCallId == null) { - throw new ArgumentNullException(nameof(requestedModalities)); - } - if (requestedCallEvents == null) - { - throw new ArgumentNullException(nameof(requestedCallEvents)); + throw new ArgumentNullException(nameof(serverCallId)); } - using var message = CreateJoinCallRequest(conversationId, source, callbackUri, requestedModalities, requestedCallEvents, subject); + using var message = CreateAddParticipantRequest(serverCallId, alternateCallerId, participant, operationContext, callbackUri); await _pipeline.SendAsync(message, cancellationToken).ConfigureAwait(false); switch (message.Response.Status) { case 202: { - JoinCallResponse value = default; + AddParticipantResult value = default; using var document = await JsonDocument.ParseAsync(message.Response.ContentStream, default, cancellationToken).ConfigureAwait(false); - value = JoinCallResponse.DeserializeJoinCallResponse(document.RootElement); + value = AddParticipantResult.DeserializeAddParticipantResult(document.RootElement); return Response.FromValue(value, message.Response); } default: @@ -120,47 +105,30 @@ public async Task> JoinCallAsync(string conversationI } } - /// Join a call. - /// The conversation id which can be guid or encoded cs url. - /// The source of the call. + /// Add a participant to the call. + /// The server call id. + /// The alternate identity of source participant. + /// The participant to be added to the call. + /// The operation context. /// The callback URI. - /// The requested modalities. - /// The requested call events to subscribe to. - /// The subject. /// The cancellation token to use. - /// , , , , or is null. - public Response JoinCall(string conversationId, CommunicationIdentifierModel source, string callbackUri, IEnumerable requestedModalities, IEnumerable requestedCallEvents, string subject = null, CancellationToken cancellationToken = default) + /// is null. + public Response AddParticipant(string serverCallId, PhoneNumberIdentifierModel alternateCallerId = null, CommunicationIdentifierModel participant = null, string operationContext = null, string callbackUri = null, CancellationToken cancellationToken = default) { - if (conversationId == null) + if (serverCallId == null) { - throw new ArgumentNullException(nameof(conversationId)); - } - if (source == null) - { - throw new ArgumentNullException(nameof(source)); - } - if (callbackUri == null) - { - throw new ArgumentNullException(nameof(callbackUri)); - } - if (requestedModalities == null) - { - throw new ArgumentNullException(nameof(requestedModalities)); - } - if (requestedCallEvents == null) - { - throw new ArgumentNullException(nameof(requestedCallEvents)); + throw new ArgumentNullException(nameof(serverCallId)); } - using var message = CreateJoinCallRequest(conversationId, source, callbackUri, requestedModalities, requestedCallEvents, subject); + using var message = CreateAddParticipantRequest(serverCallId, alternateCallerId, participant, operationContext, callbackUri); _pipeline.Send(message, cancellationToken); switch (message.Response.Status) { case 202: { - JoinCallResponse value = default; + AddParticipantResult value = default; using var document = JsonDocument.Parse(message.Response.ContentStream); - value = JoinCallResponse.DeserializeJoinCallResponse(document.RootElement); + value = AddParticipantResult.DeserializeAddParticipantResult(document.RootElement); return Response.FromValue(value, message.Response); } default: @@ -168,133 +136,94 @@ public Response JoinCall(string conversationId, CommunicationI } } - internal HttpMessage CreatePlayAudioRequest(string conversationId, string audioFileUri, bool? loop, string operationContext, string audioFileId, string callbackUri) + internal HttpMessage CreateRemoveParticipantRequest(string serverCallId, string participantId) { var message = _pipeline.CreateMessage(); var request = message.Request; - request.Method = RequestMethod.Post; + request.Method = RequestMethod.Delete; var uri = new RawRequestUriBuilder(); uri.AppendRaw(endpoint, false); - uri.AppendPath("/calling/conversations/", false); - uri.AppendPath(conversationId, true); - uri.AppendPath("/PlayAudio", false); + uri.AppendPath("/calling/serverCalls/", false); + uri.AppendPath(serverCallId, true); + uri.AppendPath("/participants/", false); + uri.AppendPath(participantId, true); uri.AppendQuery("api-version", apiVersion, true); request.Uri = uri; request.Headers.Add("Accept", "application/json"); - request.Headers.Add("Content-Type", "application/json"); - var model = new PlayAudioRequest() - { - AudioFileUri = audioFileUri, - Loop = loop, - OperationContext = operationContext, - AudioFileId = audioFileId, - CallbackUri = callbackUri - }; - var content = new Utf8JsonRequestContent(); - content.JsonWriter.WriteObjectValue(model); - request.Content = content; return message; } - /// Play audio in a call. - /// The conversation id which can be guid or encoded cs url. - /// - /// The media resource uri of the play audio request. - /// - /// Currently only Wave file (.wav) format audio prompts are supported. - /// - /// More specifically, the audio content in the wave file must be mono (single-channel), - /// - /// 16-bit samples with a 16,000 (16KHz) sampling rate. - /// - /// The flag indicating whether audio file needs to be played in loop or not. - /// The value to identify context of the operation. - /// An id for the media in the AudioFileUri, using which we cache the media resource. - /// The callback Uri to receive PlayAudio status notifications. + /// Remove participant from the call. + /// Server call id. + /// Participant id. /// The cancellation token to use. - /// is null. - public async Task> PlayAudioAsync(string conversationId, string audioFileUri = null, bool? loop = null, string operationContext = null, string audioFileId = null, string callbackUri = null, CancellationToken cancellationToken = default) + /// or is null. + public async Task RemoveParticipantAsync(string serverCallId, string participantId, CancellationToken cancellationToken = default) { - if (conversationId == null) + if (serverCallId == null) + { + throw new ArgumentNullException(nameof(serverCallId)); + } + if (participantId == null) { - throw new ArgumentNullException(nameof(conversationId)); + throw new ArgumentNullException(nameof(participantId)); } - using var message = CreatePlayAudioRequest(conversationId, audioFileUri, loop, operationContext, audioFileId, callbackUri); + using var message = CreateRemoveParticipantRequest(serverCallId, participantId); await _pipeline.SendAsync(message, cancellationToken).ConfigureAwait(false); switch (message.Response.Status) { case 202: - { - PlayAudioResponse value = default; - using var document = await JsonDocument.ParseAsync(message.Response.ContentStream, default, cancellationToken).ConfigureAwait(false); - value = PlayAudioResponse.DeserializePlayAudioResponse(document.RootElement); - return Response.FromValue(value, message.Response); - } + return message.Response; default: throw await _clientDiagnostics.CreateRequestFailedExceptionAsync(message.Response).ConfigureAwait(false); } } - /// Play audio in a call. - /// The conversation id which can be guid or encoded cs url. - /// - /// The media resource uri of the play audio request. - /// - /// Currently only Wave file (.wav) format audio prompts are supported. - /// - /// More specifically, the audio content in the wave file must be mono (single-channel), - /// - /// 16-bit samples with a 16,000 (16KHz) sampling rate. - /// - /// The flag indicating whether audio file needs to be played in loop or not. - /// The value to identify context of the operation. - /// An id for the media in the AudioFileUri, using which we cache the media resource. - /// The callback Uri to receive PlayAudio status notifications. + /// Remove participant from the call. + /// Server call id. + /// Participant id. /// The cancellation token to use. - /// is null. - public Response PlayAudio(string conversationId, string audioFileUri = null, bool? loop = null, string operationContext = null, string audioFileId = null, string callbackUri = null, CancellationToken cancellationToken = default) + /// or is null. + public Response RemoveParticipant(string serverCallId, string participantId, CancellationToken cancellationToken = default) { - if (conversationId == null) + if (serverCallId == null) + { + throw new ArgumentNullException(nameof(serverCallId)); + } + if (participantId == null) { - throw new ArgumentNullException(nameof(conversationId)); + throw new ArgumentNullException(nameof(participantId)); } - using var message = CreatePlayAudioRequest(conversationId, audioFileUri, loop, operationContext, audioFileId, callbackUri); + using var message = CreateRemoveParticipantRequest(serverCallId, participantId); _pipeline.Send(message, cancellationToken); switch (message.Response.Status) { case 202: - { - PlayAudioResponse value = default; - using var document = JsonDocument.Parse(message.Response.ContentStream); - value = PlayAudioResponse.DeserializePlayAudioResponse(document.RootElement); - return Response.FromValue(value, message.Response); - } + return message.Response; default: throw _clientDiagnostics.CreateRequestFailedException(message.Response); } } - internal HttpMessage CreateInviteParticipantsRequest(string conversationId, IEnumerable participants, PhoneNumberIdentifierModel alternateCallerId, string operationContext, string callbackUri) + internal HttpMessage CreateStartRecordingRequest(string serverCallId, string recordingStateCallbackUri) { var message = _pipeline.CreateMessage(); var request = message.Request; request.Method = RequestMethod.Post; var uri = new RawRequestUriBuilder(); uri.AppendRaw(endpoint, false); - uri.AppendPath("/calling/conversations/", false); - uri.AppendPath(conversationId, true); - uri.AppendPath("/participants", false); + uri.AppendPath("/calling/serverCalls/", false); + uri.AppendPath(serverCallId, true); + uri.AppendPath("/recordings", false); uri.AppendQuery("api-version", apiVersion, true); request.Uri = uri; request.Headers.Add("Accept", "application/json"); request.Headers.Add("Content-Type", "application/json"); - var model = new InviteParticipantsRequestInternal(participants.ToList()) + var model = new StartCallRecordingRequest() { - AlternateCallerId = alternateCallerId, - OperationContext = operationContext, - CallbackUri = callbackUri + RecordingStateCallbackUri = recordingStateCallbackUri }; var content = new Utf8JsonRequestContent(); content.JsonWriter.WriteObjectValue(model); @@ -302,332 +231,321 @@ internal HttpMessage CreateInviteParticipantsRequest(string conversationId, IEnu return message; } - /// Invite participants to the call. - /// Conversation id. - /// The list of participants to be added to the call. - /// The alternate identity of source participant. - /// The operation context. - /// The callback URI. + /// Start recording of the call. + /// The server call id. + /// The uri to send notifications to. /// The cancellation token to use. - /// or is null. - public async Task InviteParticipantsAsync(string conversationId, IEnumerable participants, PhoneNumberIdentifierModel alternateCallerId = null, string operationContext = null, string callbackUri = null, CancellationToken cancellationToken = default) + /// is null. + public async Task> StartRecordingAsync(string serverCallId, string recordingStateCallbackUri = null, CancellationToken cancellationToken = default) { - if (conversationId == null) - { - throw new ArgumentNullException(nameof(conversationId)); - } - if (participants == null) + if (serverCallId == null) { - throw new ArgumentNullException(nameof(participants)); + throw new ArgumentNullException(nameof(serverCallId)); } - using var message = CreateInviteParticipantsRequest(conversationId, participants, alternateCallerId, operationContext, callbackUri); + using var message = CreateStartRecordingRequest(serverCallId, recordingStateCallbackUri); await _pipeline.SendAsync(message, cancellationToken).ConfigureAwait(false); switch (message.Response.Status) { - case 202: - return message.Response; + case 200: + { + StartCallRecordingResult value = default; + using var document = await JsonDocument.ParseAsync(message.Response.ContentStream, default, cancellationToken).ConfigureAwait(false); + value = StartCallRecordingResult.DeserializeStartCallRecordingResult(document.RootElement); + return Response.FromValue(value, message.Response); + } default: throw await _clientDiagnostics.CreateRequestFailedExceptionAsync(message.Response).ConfigureAwait(false); } } - /// Invite participants to the call. - /// Conversation id. - /// The list of participants to be added to the call. - /// The alternate identity of source participant. - /// The operation context. - /// The callback URI. + /// Start recording of the call. + /// The server call id. + /// The uri to send notifications to. /// The cancellation token to use. - /// or is null. - public Response InviteParticipants(string conversationId, IEnumerable participants, PhoneNumberIdentifierModel alternateCallerId = null, string operationContext = null, string callbackUri = null, CancellationToken cancellationToken = default) + /// is null. + public Response StartRecording(string serverCallId, string recordingStateCallbackUri = null, CancellationToken cancellationToken = default) { - if (conversationId == null) - { - throw new ArgumentNullException(nameof(conversationId)); - } - if (participants == null) + if (serverCallId == null) { - throw new ArgumentNullException(nameof(participants)); + throw new ArgumentNullException(nameof(serverCallId)); } - using var message = CreateInviteParticipantsRequest(conversationId, participants, alternateCallerId, operationContext, callbackUri); + using var message = CreateStartRecordingRequest(serverCallId, recordingStateCallbackUri); _pipeline.Send(message, cancellationToken); switch (message.Response.Status) { - case 202: - return message.Response; + case 200: + { + StartCallRecordingResult value = default; + using var document = JsonDocument.Parse(message.Response.ContentStream); + value = StartCallRecordingResult.DeserializeStartCallRecordingResult(document.RootElement); + return Response.FromValue(value, message.Response); + } default: throw _clientDiagnostics.CreateRequestFailedException(message.Response); } } - internal HttpMessage CreateRemoveParticipantRequest(string conversationId, string participantId) + internal HttpMessage CreateGetRecordingPropertiesRequest(string serverCallId, string recordingId) { var message = _pipeline.CreateMessage(); var request = message.Request; - request.Method = RequestMethod.Delete; + request.Method = RequestMethod.Get; var uri = new RawRequestUriBuilder(); uri.AppendRaw(endpoint, false); - uri.AppendPath("/calling/conversations/", false); - uri.AppendPath(conversationId, true); - uri.AppendPath("/participants/", false); - uri.AppendPath(participantId, true); + uri.AppendPath("/calling/serverCalls/", false); + uri.AppendPath(serverCallId, true); + uri.AppendPath("/recordings/", false); + uri.AppendPath(recordingId, true); uri.AppendQuery("api-version", apiVersion, true); request.Uri = uri; request.Headers.Add("Accept", "application/json"); return message; } - /// Remove participant from the call. - /// Conversation id. - /// Participant id. + /// Get call recording properties. + /// The server call id. + /// The recording id. /// The cancellation token to use. - /// or is null. - public async Task RemoveParticipantAsync(string conversationId, string participantId, CancellationToken cancellationToken = default) + /// or is null. + public async Task> GetRecordingPropertiesAsync(string serverCallId, string recordingId, CancellationToken cancellationToken = default) { - if (conversationId == null) + if (serverCallId == null) { - throw new ArgumentNullException(nameof(conversationId)); + throw new ArgumentNullException(nameof(serverCallId)); } - if (participantId == null) + if (recordingId == null) { - throw new ArgumentNullException(nameof(participantId)); + throw new ArgumentNullException(nameof(recordingId)); } - using var message = CreateRemoveParticipantRequest(conversationId, participantId); + using var message = CreateGetRecordingPropertiesRequest(serverCallId, recordingId); await _pipeline.SendAsync(message, cancellationToken).ConfigureAwait(false); switch (message.Response.Status) { - case 202: - return message.Response; + case 200: + { + CallRecordingProperties value = default; + using var document = await JsonDocument.ParseAsync(message.Response.ContentStream, default, cancellationToken).ConfigureAwait(false); + value = CallRecordingProperties.DeserializeCallRecordingProperties(document.RootElement); + return Response.FromValue(value, message.Response); + } default: throw await _clientDiagnostics.CreateRequestFailedExceptionAsync(message.Response).ConfigureAwait(false); } } - /// Remove participant from the call. - /// Conversation id. - /// Participant id. + /// Get call recording properties. + /// The server call id. + /// The recording id. /// The cancellation token to use. - /// or is null. - public Response RemoveParticipant(string conversationId, string participantId, CancellationToken cancellationToken = default) + /// or is null. + public Response GetRecordingProperties(string serverCallId, string recordingId, CancellationToken cancellationToken = default) { - if (conversationId == null) + if (serverCallId == null) { - throw new ArgumentNullException(nameof(conversationId)); + throw new ArgumentNullException(nameof(serverCallId)); } - if (participantId == null) + if (recordingId == null) { - throw new ArgumentNullException(nameof(participantId)); + throw new ArgumentNullException(nameof(recordingId)); } - using var message = CreateRemoveParticipantRequest(conversationId, participantId); + using var message = CreateGetRecordingPropertiesRequest(serverCallId, recordingId); _pipeline.Send(message, cancellationToken); switch (message.Response.Status) { - case 202: - return message.Response; + case 200: + { + CallRecordingProperties value = default; + using var document = JsonDocument.Parse(message.Response.ContentStream); + value = CallRecordingProperties.DeserializeCallRecordingProperties(document.RootElement); + return Response.FromValue(value, message.Response); + } default: throw _clientDiagnostics.CreateRequestFailedException(message.Response); } } - internal HttpMessage CreateStartRecordingRequest(string conversationId, string recordingStateCallbackUri) + internal HttpMessage CreateStopRecordingRequest(string serverCallId, string recordingId) { var message = _pipeline.CreateMessage(); var request = message.Request; - request.Method = RequestMethod.Post; + request.Method = RequestMethod.Delete; var uri = new RawRequestUriBuilder(); uri.AppendRaw(endpoint, false); - uri.AppendPath("/calling/conversations/", false); - uri.AppendPath(conversationId, true); - uri.AppendPath("/recordings", false); + uri.AppendPath("/calling/serverCalls/", false); + uri.AppendPath(serverCallId, true); + uri.AppendPath("/recordings/", false); + uri.AppendPath(recordingId, true); uri.AppendQuery("api-version", apiVersion, true); request.Uri = uri; request.Headers.Add("Accept", "application/json"); - request.Headers.Add("Content-Type", "application/json"); - var model = new StartCallRecordingRequest() - { - RecordingStateCallbackUri = recordingStateCallbackUri - }; - var content = new Utf8JsonRequestContent(); - content.JsonWriter.WriteObjectValue(model); - request.Content = content; return message; } - /// Start call recording request. - /// Encoded conversation url. - /// The uri to send notifications to. + /// Stop recording the call. + /// The server call id. + /// The recording id. /// The cancellation token to use. - /// is null. - public async Task> StartRecordingAsync(string conversationId, string recordingStateCallbackUri = null, CancellationToken cancellationToken = default) + /// or is null. + public async Task StopRecordingAsync(string serverCallId, string recordingId, CancellationToken cancellationToken = default) { - if (conversationId == null) + if (serverCallId == null) + { + throw new ArgumentNullException(nameof(serverCallId)); + } + if (recordingId == null) { - throw new ArgumentNullException(nameof(conversationId)); + throw new ArgumentNullException(nameof(recordingId)); } - using var message = CreateStartRecordingRequest(conversationId, recordingStateCallbackUri); + using var message = CreateStopRecordingRequest(serverCallId, recordingId); await _pipeline.SendAsync(message, cancellationToken).ConfigureAwait(false); switch (message.Response.Status) { case 200: - { - StartCallRecordingResponse value = default; - using var document = await JsonDocument.ParseAsync(message.Response.ContentStream, default, cancellationToken).ConfigureAwait(false); - value = StartCallRecordingResponse.DeserializeStartCallRecordingResponse(document.RootElement); - return Response.FromValue(value, message.Response); - } + return message.Response; default: throw await _clientDiagnostics.CreateRequestFailedExceptionAsync(message.Response).ConfigureAwait(false); } } - /// Start call recording request. - /// Encoded conversation url. - /// The uri to send notifications to. + /// Stop recording the call. + /// The server call id. + /// The recording id. /// The cancellation token to use. - /// is null. - public Response StartRecording(string conversationId, string recordingStateCallbackUri = null, CancellationToken cancellationToken = default) + /// or is null. + public Response StopRecording(string serverCallId, string recordingId, CancellationToken cancellationToken = default) { - if (conversationId == null) + if (serverCallId == null) { - throw new ArgumentNullException(nameof(conversationId)); + throw new ArgumentNullException(nameof(serverCallId)); + } + if (recordingId == null) + { + throw new ArgumentNullException(nameof(recordingId)); } - using var message = CreateStartRecordingRequest(conversationId, recordingStateCallbackUri); + using var message = CreateStopRecordingRequest(serverCallId, recordingId); _pipeline.Send(message, cancellationToken); switch (message.Response.Status) { case 200: - { - StartCallRecordingResponse value = default; - using var document = JsonDocument.Parse(message.Response.ContentStream); - value = StartCallRecordingResponse.DeserializeStartCallRecordingResponse(document.RootElement); - return Response.FromValue(value, message.Response); - } + return message.Response; default: throw _clientDiagnostics.CreateRequestFailedException(message.Response); } } - internal HttpMessage CreateRecordingStateRequest(string conversationId, string recordingId) + internal HttpMessage CreatePauseRecordingRequest(string serverCallId, string recordingId) { var message = _pipeline.CreateMessage(); var request = message.Request; - request.Method = RequestMethod.Get; + request.Method = RequestMethod.Post; var uri = new RawRequestUriBuilder(); uri.AppendRaw(endpoint, false); - uri.AppendPath("/calling/conversations/", false); - uri.AppendPath(conversationId, true); + uri.AppendPath("/calling/serverCalls/", false); + uri.AppendPath(serverCallId, true); uri.AppendPath("/recordings/", false); uri.AppendPath(recordingId, true); + uri.AppendPath("/:pause", false); uri.AppendQuery("api-version", apiVersion, true); request.Uri = uri; request.Headers.Add("Accept", "application/json"); return message; } - /// Get call recording state. - /// Encoded conversation url. - /// Recording id. + /// Pause recording the call. + /// The server call id. + /// The recording id. /// The cancellation token to use. - /// or is null. - public async Task> RecordingStateAsync(string conversationId, string recordingId, CancellationToken cancellationToken = default) + /// or is null. + public async Task PauseRecordingAsync(string serverCallId, string recordingId, CancellationToken cancellationToken = default) { - if (conversationId == null) + if (serverCallId == null) { - throw new ArgumentNullException(nameof(conversationId)); + throw new ArgumentNullException(nameof(serverCallId)); } if (recordingId == null) { throw new ArgumentNullException(nameof(recordingId)); } - using var message = CreateRecordingStateRequest(conversationId, recordingId); + using var message = CreatePauseRecordingRequest(serverCallId, recordingId); await _pipeline.SendAsync(message, cancellationToken).ConfigureAwait(false); switch (message.Response.Status) { case 200: - { - GetCallRecordingStateResponse value = default; - using var document = await JsonDocument.ParseAsync(message.Response.ContentStream, default, cancellationToken).ConfigureAwait(false); - value = GetCallRecordingStateResponse.DeserializeGetCallRecordingStateResponse(document.RootElement); - return Response.FromValue(value, message.Response); - } + return message.Response; default: throw await _clientDiagnostics.CreateRequestFailedExceptionAsync(message.Response).ConfigureAwait(false); } } - /// Get call recording state. - /// Encoded conversation url. - /// Recording id. + /// Pause recording the call. + /// The server call id. + /// The recording id. /// The cancellation token to use. - /// or is null. - public Response RecordingState(string conversationId, string recordingId, CancellationToken cancellationToken = default) + /// or is null. + public Response PauseRecording(string serverCallId, string recordingId, CancellationToken cancellationToken = default) { - if (conversationId == null) + if (serverCallId == null) { - throw new ArgumentNullException(nameof(conversationId)); + throw new ArgumentNullException(nameof(serverCallId)); } if (recordingId == null) { throw new ArgumentNullException(nameof(recordingId)); } - using var message = CreateRecordingStateRequest(conversationId, recordingId); + using var message = CreatePauseRecordingRequest(serverCallId, recordingId); _pipeline.Send(message, cancellationToken); switch (message.Response.Status) { case 200: - { - GetCallRecordingStateResponse value = default; - using var document = JsonDocument.Parse(message.Response.ContentStream); - value = GetCallRecordingStateResponse.DeserializeGetCallRecordingStateResponse(document.RootElement); - return Response.FromValue(value, message.Response); - } + return message.Response; default: throw _clientDiagnostics.CreateRequestFailedException(message.Response); } } - internal HttpMessage CreateStopRecordingRequest(string conversationId, string recordingId) + internal HttpMessage CreateResumeRecordingRequest(string serverCallId, string recordingId) { var message = _pipeline.CreateMessage(); var request = message.Request; - request.Method = RequestMethod.Delete; + request.Method = RequestMethod.Post; var uri = new RawRequestUriBuilder(); uri.AppendRaw(endpoint, false); - uri.AppendPath("/calling/conversations/", false); - uri.AppendPath(conversationId, true); + uri.AppendPath("/calling/serverCalls/", false); + uri.AppendPath(serverCallId, true); uri.AppendPath("/recordings/", false); uri.AppendPath(recordingId, true); + uri.AppendPath("/:resume", false); uri.AppendQuery("api-version", apiVersion, true); request.Uri = uri; request.Headers.Add("Accept", "application/json"); return message; } - /// Stop recording a call. - /// Encoded conversation url. - /// Recording id. + /// Resume recording the call. + /// The server call id. + /// The recording id. /// The cancellation token to use. - /// or is null. - public async Task StopRecordingAsync(string conversationId, string recordingId, CancellationToken cancellationToken = default) + /// or is null. + public async Task ResumeRecordingAsync(string serverCallId, string recordingId, CancellationToken cancellationToken = default) { - if (conversationId == null) + if (serverCallId == null) { - throw new ArgumentNullException(nameof(conversationId)); + throw new ArgumentNullException(nameof(serverCallId)); } if (recordingId == null) { throw new ArgumentNullException(nameof(recordingId)); } - using var message = CreateStopRecordingRequest(conversationId, recordingId); + using var message = CreateResumeRecordingRequest(serverCallId, recordingId); await _pipeline.SendAsync(message, cancellationToken).ConfigureAwait(false); switch (message.Response.Status) { @@ -638,23 +556,23 @@ public async Task StopRecordingAsync(string conversationId, string rec } } - /// Stop recording a call. - /// Encoded conversation url. - /// Recording id. + /// Resume recording the call. + /// The server call id. + /// The recording id. /// The cancellation token to use. - /// or is null. - public Response StopRecording(string conversationId, string recordingId, CancellationToken cancellationToken = default) + /// or is null. + public Response ResumeRecording(string serverCallId, string recordingId, CancellationToken cancellationToken = default) { - if (conversationId == null) + if (serverCallId == null) { - throw new ArgumentNullException(nameof(conversationId)); + throw new ArgumentNullException(nameof(serverCallId)); } if (recordingId == null) { throw new ArgumentNullException(nameof(recordingId)); } - using var message = CreateStopRecordingRequest(conversationId, recordingId); + using var message = CreateResumeRecordingRequest(serverCallId, recordingId); _pipeline.Send(message, cancellationToken); switch (message.Response.Status) { @@ -665,145 +583,228 @@ public Response StopRecording(string conversationId, string recordingId, Cancell } } - internal HttpMessage CreatePauseRecordingRequest(string conversationId, string recordingId) + internal HttpMessage CreateJoinCallRequest(string serverCallId, CommunicationIdentifierModel source, string callbackUri, string subject, IEnumerable requestedMediaTypes, IEnumerable requestedCallEvents) { var message = _pipeline.CreateMessage(); var request = message.Request; request.Method = RequestMethod.Post; var uri = new RawRequestUriBuilder(); uri.AppendRaw(endpoint, false); - uri.AppendPath("/calling/conversations/", false); - uri.AppendPath(conversationId, true); - uri.AppendPath("/recordings/", false); - uri.AppendPath(recordingId, true); - uri.AppendPath("/Pause", false); + uri.AppendPath("/calling/serverCalls/", false); + uri.AppendPath(serverCallId, true); + uri.AppendPath("/:join", false); uri.AppendQuery("api-version", apiVersion, true); request.Uri = uri; request.Headers.Add("Accept", "application/json"); + request.Headers.Add("Content-Type", "application/json"); + JoinCallRequestInternal joinCallRequestInternal = new JoinCallRequestInternal(source, callbackUri) + { + Subject = subject + }; + if (requestedMediaTypes != null) + { + foreach (var value in requestedMediaTypes) + { + joinCallRequestInternal.RequestedMediaTypes.Add(value); + } + } + if (requestedCallEvents != null) + { + foreach (var value in requestedCallEvents) + { + joinCallRequestInternal.RequestedCallEvents.Add(value); + } + } + var model = joinCallRequestInternal; + var content = new Utf8JsonRequestContent(); + content.JsonWriter.WriteObjectValue(model); + request.Content = content; return message; } - /// Pause recording a call. - /// Encoded conversation url. - /// Recording id. + /// Join a call. + /// The server call id. + /// The source of the call. + /// The callback URI. + /// The subject. + /// The requested modalities. + /// The requested call events to subscribe to. /// The cancellation token to use. - /// or is null. - public async Task PauseRecordingAsync(string conversationId, string recordingId, CancellationToken cancellationToken = default) + /// , , or is null. + public async Task> JoinCallAsync(string serverCallId, CommunicationIdentifierModel source, string callbackUri, string subject = null, IEnumerable requestedMediaTypes = null, IEnumerable requestedCallEvents = null, CancellationToken cancellationToken = default) { - if (conversationId == null) + if (serverCallId == null) { - throw new ArgumentNullException(nameof(conversationId)); + throw new ArgumentNullException(nameof(serverCallId)); } - if (recordingId == null) + if (source == null) { - throw new ArgumentNullException(nameof(recordingId)); + throw new ArgumentNullException(nameof(source)); + } + if (callbackUri == null) + { + throw new ArgumentNullException(nameof(callbackUri)); } - using var message = CreatePauseRecordingRequest(conversationId, recordingId); + using var message = CreateJoinCallRequest(serverCallId, source, callbackUri, subject, requestedMediaTypes, requestedCallEvents); await _pipeline.SendAsync(message, cancellationToken).ConfigureAwait(false); switch (message.Response.Status) { - case 200: - return message.Response; + case 202: + { + JoinCallResultInternal value = default; + using var document = await JsonDocument.ParseAsync(message.Response.ContentStream, default, cancellationToken).ConfigureAwait(false); + value = JoinCallResultInternal.DeserializeJoinCallResultInternal(document.RootElement); + return Response.FromValue(value, message.Response); + } default: throw await _clientDiagnostics.CreateRequestFailedExceptionAsync(message.Response).ConfigureAwait(false); } } - /// Pause recording a call. - /// Encoded conversation url. - /// Recording id. + /// Join a call. + /// The server call id. + /// The source of the call. + /// The callback URI. + /// The subject. + /// The requested modalities. + /// The requested call events to subscribe to. /// The cancellation token to use. - /// or is null. - public Response PauseRecording(string conversationId, string recordingId, CancellationToken cancellationToken = default) + /// , , or is null. + public Response JoinCall(string serverCallId, CommunicationIdentifierModel source, string callbackUri, string subject = null, IEnumerable requestedMediaTypes = null, IEnumerable requestedCallEvents = null, CancellationToken cancellationToken = default) { - if (conversationId == null) + if (serverCallId == null) { - throw new ArgumentNullException(nameof(conversationId)); + throw new ArgumentNullException(nameof(serverCallId)); } - if (recordingId == null) + if (source == null) { - throw new ArgumentNullException(nameof(recordingId)); + throw new ArgumentNullException(nameof(source)); + } + if (callbackUri == null) + { + throw new ArgumentNullException(nameof(callbackUri)); } - using var message = CreatePauseRecordingRequest(conversationId, recordingId); + using var message = CreateJoinCallRequest(serverCallId, source, callbackUri, subject, requestedMediaTypes, requestedCallEvents); _pipeline.Send(message, cancellationToken); switch (message.Response.Status) { - case 200: - return message.Response; + case 202: + { + JoinCallResultInternal value = default; + using var document = JsonDocument.Parse(message.Response.ContentStream); + value = JoinCallResultInternal.DeserializeJoinCallResultInternal(document.RootElement); + return Response.FromValue(value, message.Response); + } default: throw _clientDiagnostics.CreateRequestFailedException(message.Response); } } - internal HttpMessage CreateResumeRecordingRequest(string conversationId, string recordingId) + internal HttpMessage CreatePlayAudioRequest(string serverCallId, string audioFileUri, bool? loop, string operationContext, string audioFileId, string callbackUri) { var message = _pipeline.CreateMessage(); var request = message.Request; request.Method = RequestMethod.Post; var uri = new RawRequestUriBuilder(); uri.AppendRaw(endpoint, false); - uri.AppendPath("/calling/conversations/", false); - uri.AppendPath(conversationId, true); - uri.AppendPath("/recordings/", false); - uri.AppendPath(recordingId, true); - uri.AppendPath("/Resume", false); + uri.AppendPath("/calling/serverCalls/", false); + uri.AppendPath(serverCallId, true); + uri.AppendPath("/:playAudio", false); uri.AppendQuery("api-version", apiVersion, true); request.Uri = uri; request.Headers.Add("Accept", "application/json"); + request.Headers.Add("Content-Type", "application/json"); + var model = new PlayAudioRequest() + { + AudioFileUri = audioFileUri, + Loop = loop, + OperationContext = operationContext, + AudioFileId = audioFileId, + CallbackUri = callbackUri + }; + var content = new Utf8JsonRequestContent(); + content.JsonWriter.WriteObjectValue(model); + request.Content = content; return message; } - /// Resume recording a call. - /// Encoded conversation url. - /// Recording id. + /// Play audio in the call. + /// The server call id. + /// + /// The media resource uri of the play audio request. + /// + /// Currently only Wave file (.wav) format audio prompts are supported. + /// + /// More specifically, the audio content in the wave file must be mono (single-channel), + /// + /// 16-bit samples with a 16,000 (16KHz) sampling rate. + /// + /// The flag indicating whether audio file needs to be played in loop or not. + /// The value to identify context of the operation. + /// An id for the media in the AudioFileUri, using which we cache the media resource. + /// The callback Uri to receive PlayAudio status notifications. /// The cancellation token to use. - /// or is null. - public async Task ResumeRecordingAsync(string conversationId, string recordingId, CancellationToken cancellationToken = default) + /// is null. + public async Task> PlayAudioAsync(string serverCallId, string audioFileUri = null, bool? loop = null, string operationContext = null, string audioFileId = null, string callbackUri = null, CancellationToken cancellationToken = default) { - if (conversationId == null) + if (serverCallId == null) { - throw new ArgumentNullException(nameof(conversationId)); - } - if (recordingId == null) - { - throw new ArgumentNullException(nameof(recordingId)); + throw new ArgumentNullException(nameof(serverCallId)); } - using var message = CreateResumeRecordingRequest(conversationId, recordingId); + using var message = CreatePlayAudioRequest(serverCallId, audioFileUri, loop, operationContext, audioFileId, callbackUri); await _pipeline.SendAsync(message, cancellationToken).ConfigureAwait(false); switch (message.Response.Status) { - case 200: - return message.Response; + case 202: + { + PlayAudioResult value = default; + using var document = await JsonDocument.ParseAsync(message.Response.ContentStream, default, cancellationToken).ConfigureAwait(false); + value = PlayAudioResult.DeserializePlayAudioResult(document.RootElement); + return Response.FromValue(value, message.Response); + } default: throw await _clientDiagnostics.CreateRequestFailedExceptionAsync(message.Response).ConfigureAwait(false); } } - /// Resume recording a call. - /// Encoded conversation url. - /// Recording id. + /// Play audio in the call. + /// The server call id. + /// + /// The media resource uri of the play audio request. + /// + /// Currently only Wave file (.wav) format audio prompts are supported. + /// + /// More specifically, the audio content in the wave file must be mono (single-channel), + /// + /// 16-bit samples with a 16,000 (16KHz) sampling rate. + /// + /// The flag indicating whether audio file needs to be played in loop or not. + /// The value to identify context of the operation. + /// An id for the media in the AudioFileUri, using which we cache the media resource. + /// The callback Uri to receive PlayAudio status notifications. /// The cancellation token to use. - /// or is null. - public Response ResumeRecording(string conversationId, string recordingId, CancellationToken cancellationToken = default) + /// is null. + public Response PlayAudio(string serverCallId, string audioFileUri = null, bool? loop = null, string operationContext = null, string audioFileId = null, string callbackUri = null, CancellationToken cancellationToken = default) { - if (conversationId == null) - { - throw new ArgumentNullException(nameof(conversationId)); - } - if (recordingId == null) + if (serverCallId == null) { - throw new ArgumentNullException(nameof(recordingId)); + throw new ArgumentNullException(nameof(serverCallId)); } - using var message = CreateResumeRecordingRequest(conversationId, recordingId); + using var message = CreatePlayAudioRequest(serverCallId, audioFileUri, loop, operationContext, audioFileId, callbackUri); _pipeline.Send(message, cancellationToken); switch (message.Response.Status) { - case 200: - return message.Response; + case 202: + { + PlayAudioResult value = default; + using var document = JsonDocument.Parse(message.Response.ContentStream); + value = PlayAudioResult.DeserializePlayAudioResult(document.RootElement); + return Response.FromValue(value, message.Response); + } default: throw _clientDiagnostics.CreateRequestFailedException(message.Response); } diff --git a/sdk/communication/Azure.Communication.CallingServer/src/Models/CallState.cs b/sdk/communication/Azure.Communication.CallingServer/src/Models/CallConnectionState.cs similarity index 59% rename from sdk/communication/Azure.Communication.CallingServer/src/Models/CallState.cs rename to sdk/communication/Azure.Communication.CallingServer/src/Models/CallConnectionState.cs index bc33da63dffd..0175802d929d 100644 --- a/sdk/communication/Azure.Communication.CallingServer/src/Models/CallState.cs +++ b/sdk/communication/Azure.Communication.CallingServer/src/Models/CallConnectionState.cs @@ -8,8 +8,8 @@ namespace Azure.Communication.CallingServer /// /// The states of a call. /// - [CodeGenModel("CallState", Usage = new string[] { "input", "output" }, Formats = new string[] { "json" })] - public readonly partial struct CallState + [CodeGenModel("CallConnectionState", Usage = new string[] { "output" }, Formats = new string[] { "json" })] + public readonly partial struct CallConnectionState { } } diff --git a/sdk/communication/Azure.Communication.CallingServer/src/Models/CommunicationParticipant.cs b/sdk/communication/Azure.Communication.CallingServer/src/Models/CallParticipant.cs similarity index 52% rename from sdk/communication/Azure.Communication.CallingServer/src/Models/CommunicationParticipant.cs rename to sdk/communication/Azure.Communication.CallingServer/src/Models/CallParticipant.cs index 7ce1548733bd..938623f882f4 100644 --- a/sdk/communication/Azure.Communication.CallingServer/src/Models/CommunicationParticipant.cs +++ b/sdk/communication/Azure.Communication.CallingServer/src/Models/CallParticipant.cs @@ -3,19 +3,14 @@ namespace Azure.Communication.CallingServer { - /// Class to represent entry in roster. - public class CommunicationParticipant + /// The participant in a call. + public class CallParticipant { - /// Initializes a new instance of CommunicationParticipant. - public CommunicationParticipant() - { - } - - /// Initializes a new instance of CommunicationParticipant. + /// Initializes a new instance of CallParticipant. /// The communication identifier. /// Participant Id. /// Is participant muted. - public CommunicationParticipant(CommunicationIdentifier identifier, string participantId, bool? isMuted) + internal CallParticipant(CommunicationIdentifier identifier, string participantId, bool isMuted) { Identifier = identifier; ParticipantId = participantId; @@ -23,12 +18,12 @@ public CommunicationParticipant(CommunicationIdentifier identifier, string parti } /// The communication identifier. - public CommunicationIdentifier Identifier { get; set; } + public CommunicationIdentifier Identifier { get; } /// Participant Id. - public string ParticipantId { get; set; } + public string ParticipantId { get; } /// Is participant muted. - public bool? IsMuted { get; set; } + public bool IsMuted { get; } } } diff --git a/sdk/communication/Azure.Communication.CallingServer/src/Models/CommunicationParticipantInternal.cs b/sdk/communication/Azure.Communication.CallingServer/src/Models/CallParticipantInternal.cs similarity index 58% rename from sdk/communication/Azure.Communication.CallingServer/src/Models/CommunicationParticipantInternal.cs rename to sdk/communication/Azure.Communication.CallingServer/src/Models/CallParticipantInternal.cs index 54ecdbcdfd2f..781dcb69ceda 100644 --- a/sdk/communication/Azure.Communication.CallingServer/src/Models/CommunicationParticipantInternal.cs +++ b/sdk/communication/Azure.Communication.CallingServer/src/Models/CallParticipantInternal.cs @@ -8,8 +8,8 @@ namespace Azure.Communication.CallingServer /// /// The participant in a call. /// - [CodeGenModel("CommunicationParticipant", Usage = new string[] { "output" }, Formats = new string[] { "json" })] - internal partial class CommunicationParticipantInternal + [CodeGenModel("CallParticipant", Usage = new string[] { "output" }, Formats = new string[] { "json" })] + internal partial class CallParticipantInternal { } } diff --git a/sdk/communication/Azure.Communication.CallingServer/src/Models/CallingServerModelFactory.cs b/sdk/communication/Azure.Communication.CallingServer/src/Models/CallingServerModelFactory.cs new file mode 100644 index 000000000000..e37cf7fd149b --- /dev/null +++ b/sdk/communication/Azure.Communication.CallingServer/src/Models/CallingServerModelFactory.cs @@ -0,0 +1,15 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +using Azure.Core; + +namespace Azure.Communication.CallingServer.Models +{ + /// + /// Calling server model factory + /// + [CodeGenModel("AzureCommunicationServicesModelFactory")] + public partial class CallingServerModelFactory + { + } +} diff --git a/sdk/communication/Azure.Communication.CallingServer/src/Models/CreateCallOptions.cs b/sdk/communication/Azure.Communication.CallingServer/src/Models/CreateCallOptions.cs index 6740661ee3c4..1f3008b4b5e0 100644 --- a/sdk/communication/Azure.Communication.CallingServer/src/Models/CreateCallOptions.cs +++ b/sdk/communication/Azure.Communication.CallingServer/src/Models/CreateCallOptions.cs @@ -20,25 +20,25 @@ public class CreateCallOptions /// The callback URI. public Uri CallbackUri { get; } - /// The requested modalities. - public IList RequestedModalities { get; } + /// The requested media types. + public IList RequestedMediaTypes { get; } /// The requested call events to subscribe to. public IList RequestedCallEvents { get; } /// Initializes a new instance of CreateCallOptions. /// The callback URI. - /// The requested modalities. + /// The requested media types. /// The requested call events to subscribe to. - /// , , or is null. - public CreateCallOptions(Uri callbackUri, IEnumerable requestedModalities, IEnumerable requestedCallEvents) + /// , , or is null. + public CreateCallOptions(Uri callbackUri, IEnumerable requestedMediaTypes, IEnumerable requestedCallEvents) { Argument.AssertNotNull(callbackUri, nameof(callbackUri)); - Argument.AssertNotNull(requestedModalities, nameof(requestedModalities)); + Argument.AssertNotNull(requestedMediaTypes, nameof(requestedMediaTypes)); Argument.AssertNotNull(requestedCallEvents, nameof(requestedCallEvents)); CallbackUri = callbackUri; - RequestedModalities = requestedModalities.ToList(); + RequestedMediaTypes = requestedMediaTypes.ToList(); RequestedCallEvents = requestedCallEvents.ToList(); } } diff --git a/sdk/communication/Azure.Communication.CallingServer/src/Models/CreateCallResultInternal.cs b/sdk/communication/Azure.Communication.CallingServer/src/Models/CreateCallResultInternal.cs new file mode 100644 index 000000000000..8a5e2b7913da --- /dev/null +++ b/sdk/communication/Azure.Communication.CallingServer/src/Models/CreateCallResultInternal.cs @@ -0,0 +1,12 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +using Azure.Core; + +namespace Azure.Communication.CallingServer +{ + [CodeGenModel("CreateCallResult")] + internal partial class CreateCallResultInternal + { + } +} diff --git a/sdk/communication/Azure.Communication.CallingServer/src/Models/Events/AddParticipantResultEvent.cs b/sdk/communication/Azure.Communication.CallingServer/src/Models/Events/AddParticipantResultEvent.cs new file mode 100644 index 000000000000..29ed58bab1cb --- /dev/null +++ b/sdk/communication/Azure.Communication.CallingServer/src/Models/Events/AddParticipantResultEvent.cs @@ -0,0 +1,28 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +using System.Text.Json; +using Azure.Core; + +namespace Azure.Communication.CallingServer +{ + /// + /// The added participants result event. + /// + [CodeGenModel("AddParticipantResultEvent", Usage = new string[] { "output" }, Formats = new string[] { "json" })] + public partial class AddParticipantResultEvent : CallingServerEventBase + { + /// + /// Deserialize event. + /// + /// The json content. + /// The new object. + public static AddParticipantResultEvent Deserialize(string content) + { + using var document = JsonDocument.Parse(content); + JsonElement element = document.RootElement; + + return DeserializeAddParticipantResultEvent(element); + } + } +} diff --git a/sdk/communication/Azure.Communication.CallingServer/src/Models/Events/CallConnectionStateChangedEvent.cs b/sdk/communication/Azure.Communication.CallingServer/src/Models/Events/CallConnectionStateChangedEvent.cs new file mode 100644 index 000000000000..10f8ca12a864 --- /dev/null +++ b/sdk/communication/Azure.Communication.CallingServer/src/Models/Events/CallConnectionStateChangedEvent.cs @@ -0,0 +1,28 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +using System.Text.Json; +using Azure.Core; + +namespace Azure.Communication.CallingServer +{ + /// + /// The call connection state change event. + /// + [CodeGenModel("CallConnectionStateChangedEvent", Usage = new string[] { "output" }, Formats = new string[] { "json" })] + public partial class CallConnectionStateChangedEvent : CallingServerEventBase + { + /// + /// Deserialize event. + /// + /// The json content. + /// The new object. + public static CallConnectionStateChangedEvent Deserialize(string content) + { + using var document = JsonDocument.Parse(content); + JsonElement element = document.RootElement; + + return DeserializeCallConnectionStateChangedEvent(element); + } + } +} diff --git a/sdk/communication/Azure.Communication.CallingServer/src/Models/Events/CallLegStateChangedEvent.cs b/sdk/communication/Azure.Communication.CallingServer/src/Models/Events/CallLegStateChangedEvent.cs deleted file mode 100644 index 8c6289d39b82..000000000000 --- a/sdk/communication/Azure.Communication.CallingServer/src/Models/Events/CallLegStateChangedEvent.cs +++ /dev/null @@ -1,28 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. - -using System.Text.Json; -using Azure.Core; - -namespace Azure.Communication.CallingServer -{ - /// - /// The call leg state change event. - /// - [CodeGenModel("CallLegStateChangedEvent", Usage = new string[] { "input, output" }, Formats = new string[] { "json" })] - public partial class CallLegStateChangedEvent : CallingServerEventBase - { - /// - /// Deserialize event. - /// - /// The json content. - /// The new object. - public static CallLegStateChangedEvent Deserialize(string content) - { - using var document = JsonDocument.Parse(content); - JsonElement element = document.RootElement; - - return DeserializeCallLegStateChangedEvent(element); - } - } -} diff --git a/sdk/communication/Azure.Communication.CallingServer/src/Models/Events/CallRecordingStateChangeEvent.cs b/sdk/communication/Azure.Communication.CallingServer/src/Models/Events/CallRecordingStateChangeEvent.cs index 1b84ea2dd947..81ca894900d5 100644 --- a/sdk/communication/Azure.Communication.CallingServer/src/Models/Events/CallRecordingStateChangeEvent.cs +++ b/sdk/communication/Azure.Communication.CallingServer/src/Models/Events/CallRecordingStateChangeEvent.cs @@ -9,7 +9,7 @@ namespace Azure.Communication.CallingServer /// /// The call recording state change event. /// - [CodeGenModel("CallRecordingStateChangeEvent", Usage = new string[] { "input, output" }, Formats = new string[] { "json" })] + [CodeGenModel("CallRecordingStateChangeEvent", Usage = new string[] { "output" }, Formats = new string[] { "json" })] public partial class CallRecordingStateChangeEvent : CallingServerEventBase { /// diff --git a/sdk/communication/Azure.Communication.CallingServer/src/Models/Events/CallingServerEventType.cs b/sdk/communication/Azure.Communication.CallingServer/src/Models/Events/CallingServerEventType.cs index 8e17723f93bc..ecb6b39238df 100644 --- a/sdk/communication/Azure.Communication.CallingServer/src/Models/Events/CallingServerEventType.cs +++ b/sdk/communication/Azure.Communication.CallingServer/src/Models/Events/CallingServerEventType.cs @@ -22,17 +22,17 @@ public CallingServerEventType(string value) _value = value ?? throw new ArgumentNullException(nameof(value)); } - internal const string CallLegStateChangedEventValue = "Microsoft.Communication.CallLegStateChanged"; + internal const string CallConnectionStateChangedEventValue = "Microsoft.Communication.CallConnectionStateChanged"; internal const string ToneReceivedEventValue = "Microsoft.Communication.DtmfReceived"; internal const string PlayAudioResultEventValue = "Microsoft.Communication.PlayAudioResult"; internal const string CallRecordingStateChangeEventValue = "Microsoft.Communication.CallRecordingStateChanged"; - internal const string InviteParticipantsResultEventValue = "Microsoft.Communication.InviteParticipantResult"; + internal const string AddParticipantResultEventValue = "Microsoft.Communication.AddParticipantResult"; internal const string ParticipantsUpdatedEventValue = "Microsoft.Communication.ParticipantsUpdated"; /// - /// The call leg state change event type. + /// The call connection state change event type. /// - public static CallingServerEventType CallLegStateChangedEvent { get; } = new CallingServerEventType(CallLegStateChangedEventValue); + public static CallingServerEventType CallConnectionStateChangedEvent { get; } = new CallingServerEventType(CallConnectionStateChangedEventValue); /// /// The subscribe to tone event type. @@ -50,9 +50,9 @@ public CallingServerEventType(string value) public static CallingServerEventType CallRecordingStateChangeEvent { get; } = new CallingServerEventType(CallRecordingStateChangeEventValue); /// - /// The invited participants result event type. + /// The add participant result event type. /// - public static CallingServerEventType InviteParticipantsResultEvent { get; } = new CallingServerEventType(InviteParticipantsResultEventValue); + public static CallingServerEventType AddParticipantResultEvent { get; } = new CallingServerEventType(AddParticipantResultEventValue); /// /// The call state change event type. @@ -88,7 +88,7 @@ public bool Equals(CallingServerEventType other) [EditorBrowsable(EditorBrowsableState.Never)] public override bool Equals(object obj) { - return obj is CallState && Equals((CallingServerEventType)obj); + return obj is CallingServerEventType && Equals((CallingServerEventType)obj); } /// diff --git a/sdk/communication/Azure.Communication.CallingServer/src/Models/Events/InviteParticipantsResultEvent.cs b/sdk/communication/Azure.Communication.CallingServer/src/Models/Events/InviteParticipantsResultEvent.cs deleted file mode 100644 index 191c0cf224ad..000000000000 --- a/sdk/communication/Azure.Communication.CallingServer/src/Models/Events/InviteParticipantsResultEvent.cs +++ /dev/null @@ -1,28 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. - -using System.Text.Json; -using Azure.Core; - -namespace Azure.Communication.CallingServer -{ - /// - /// The invited participants result event. - /// - [CodeGenModel("InviteParticipantsResultEvent", Usage = new string[] { "input, output" }, Formats = new string[] { "json" })] - public partial class InviteParticipantsResultEvent : CallingServerEventBase - { - /// - /// Deserialize event. - /// - /// The json content. - /// The new object. - public static InviteParticipantsResultEvent Deserialize(string content) - { - using var document = JsonDocument.Parse(content); - JsonElement element = document.RootElement; - - return DeserializeInviteParticipantsResultEvent(element); - } - } -} diff --git a/sdk/communication/Azure.Communication.CallingServer/src/Models/Events/ParticipantsUpdatedEvent.cs b/sdk/communication/Azure.Communication.CallingServer/src/Models/Events/ParticipantsUpdatedEvent.cs index a96c5490cfde..4e6293852ee3 100644 --- a/sdk/communication/Azure.Communication.CallingServer/src/Models/Events/ParticipantsUpdatedEvent.cs +++ b/sdk/communication/Azure.Communication.CallingServer/src/Models/Events/ParticipantsUpdatedEvent.cs @@ -12,9 +12,13 @@ namespace Azure.Communication.CallingServer /// public class ParticipantsUpdatedEvent : CallingServerEventBase { - /// Initializes a new instance of ParticipantsUpdatedEventInternal. - public ParticipantsUpdatedEvent() + /// Initializes a new instance of ParticipantsUpdatedEvent. + /// The call connection id. + /// The list of participants. + internal ParticipantsUpdatedEvent(string callConnectionId, IEnumerable participants) { + CallConnectionId = callConnectionId; + Participants = participants; } /// @@ -28,18 +32,15 @@ public static ParticipantsUpdatedEvent Deserialize(string content) JsonElement element = document.RootElement; var participantsUpdatedEventInternal = ParticipantsUpdatedEventInternal.DeserializeParticipantsUpdatedEventInternal(element); + var callParticipants = participantsUpdatedEventInternal.Participants?.Select(x => new CallParticipant(identifier: CommunicationIdentifierSerializer.Deserialize(x.Identifier), isMuted: x.IsMuted, participantId: x.ParticipantId)); - return new ParticipantsUpdatedEvent - { - CallLegId = participantsUpdatedEventInternal.CallLegId, - Participants = participantsUpdatedEventInternal.Participants?.Select(x => new CommunicationParticipant { Identifier = CommunicationIdentifierSerializer.Deserialize(x.Identifier), IsMuted = x.IsMuted, ParticipantId = x.ParticipantId }) - }; + return new ParticipantsUpdatedEvent(participantsUpdatedEventInternal.CallConnectionId, callParticipants); } - /// The call leg.id. - public string CallLegId { get; set; } + /// The call connection id. + public string CallConnectionId { get; } /// The list of participants. - public IEnumerable Participants { get; set; } + public IEnumerable Participants { get; } } } diff --git a/sdk/communication/Azure.Communication.CallingServer/src/Models/Events/PlayAudioResultEvent.cs b/sdk/communication/Azure.Communication.CallingServer/src/Models/Events/PlayAudioResultEvent.cs index 6521c7b799e5..c871bfab7f40 100644 --- a/sdk/communication/Azure.Communication.CallingServer/src/Models/Events/PlayAudioResultEvent.cs +++ b/sdk/communication/Azure.Communication.CallingServer/src/Models/Events/PlayAudioResultEvent.cs @@ -9,7 +9,7 @@ namespace Azure.Communication.CallingServer /// /// The play audio result event. /// - [CodeGenModel("PlayAudioResultEvent", Usage = new string[] { "input, output" }, Formats = new string[] { "json" })] + [CodeGenModel("PlayAudioResultEvent", Usage = new string[] { "output" }, Formats = new string[] { "json" })] public partial class PlayAudioResultEvent : CallingServerEventBase { /// diff --git a/sdk/communication/Azure.Communication.CallingServer/src/Models/Events/ToneReceivedEvent.cs b/sdk/communication/Azure.Communication.CallingServer/src/Models/Events/ToneReceivedEvent.cs index cb209c5d8685..49aafc51de0e 100644 --- a/sdk/communication/Azure.Communication.CallingServer/src/Models/Events/ToneReceivedEvent.cs +++ b/sdk/communication/Azure.Communication.CallingServer/src/Models/Events/ToneReceivedEvent.cs @@ -9,7 +9,7 @@ namespace Azure.Communication.CallingServer /// /// The subscribe to tone event /// - [CodeGenModel("ToneReceivedEvent", Usage = new string[] { "model", "input, output" }, Formats = new string[] { "json" })] + [CodeGenModel("ToneReceivedEvent", Usage = new string[] { "model", "output" }, Formats = new string[] { "json" })] public partial class ToneReceivedEvent : CallingServerEventBase { /// diff --git a/sdk/communication/Azure.Communication.CallingServer/src/Models/JoinCallOptions.cs b/sdk/communication/Azure.Communication.CallingServer/src/Models/JoinCallOptions.cs index 3f00f13f4420..f52bb95e7041 100644 --- a/sdk/communication/Azure.Communication.CallingServer/src/Models/JoinCallOptions.cs +++ b/sdk/communication/Azure.Communication.CallingServer/src/Models/JoinCallOptions.cs @@ -17,25 +17,25 @@ public class JoinCallOptions /// The callback URI. public Uri CallbackUri { get; } - /// The requested modalities. - public IList RequestedModalities { get; } + /// The requested media types. + public IList RequestedMediaTypes { get; } /// The requested call events to subscribe to. public IList RequestedCallEvents { get; } /// Initializes a new instance of JoinCallOptions. /// The callback URI. - /// The requested modalities. + /// The requested media types. /// The requested call events to subscribe to. - /// , , or is null. - public JoinCallOptions(Uri callbackUri, IEnumerable requestedModalities, IEnumerable requestedCallEvents) + /// , , or is null. + public JoinCallOptions(Uri callbackUri, IEnumerable requestedMediaTypes, IEnumerable requestedCallEvents) { Argument.AssertNotNull(callbackUri, nameof(callbackUri)); - Argument.AssertNotNull(requestedModalities, nameof(requestedModalities)); + Argument.AssertNotNull(requestedMediaTypes, nameof(requestedMediaTypes)); Argument.AssertNotNull(requestedCallEvents, nameof(requestedCallEvents)); CallbackUri = callbackUri; - RequestedModalities = requestedModalities.ToList(); + RequestedMediaTypes = requestedMediaTypes.ToList(); RequestedCallEvents = requestedCallEvents.ToList(); } } diff --git a/sdk/communication/Azure.Communication.CallingServer/src/Models/JoinCallResultInternal.cs b/sdk/communication/Azure.Communication.CallingServer/src/Models/JoinCallResultInternal.cs new file mode 100644 index 000000000000..5a05ab52ef1a --- /dev/null +++ b/sdk/communication/Azure.Communication.CallingServer/src/Models/JoinCallResultInternal.cs @@ -0,0 +1,12 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +using Azure.Core; + +namespace Azure.Communication.CallingServer +{ + [CodeGenModel("JoinCallResult")] + internal partial class JoinCallResultInternal + { + } +} diff --git a/sdk/communication/Azure.Communication.CallingServer/src/Models/ToneInfo.cs b/sdk/communication/Azure.Communication.CallingServer/src/Models/ToneInfo.cs index aa712ecc98c7..ad05aec9e750 100644 --- a/sdk/communication/Azure.Communication.CallingServer/src/Models/ToneInfo.cs +++ b/sdk/communication/Azure.Communication.CallingServer/src/Models/ToneInfo.cs @@ -8,7 +8,7 @@ namespace Azure.Communication.CallingServer /// /// The tone info /// - [CodeGenModel("ToneInfo", Usage = new[] { "input", "output" }, Formats = new[] { "json" })] + [CodeGenModel("ToneInfo", Usage = new[] { "output" }, Formats = new[] { "json" })] public partial class ToneInfo { } diff --git a/sdk/communication/Azure.Communication.CallingServer/src/Models/ToneValue.cs b/sdk/communication/Azure.Communication.CallingServer/src/Models/ToneValue.cs index dd8021414b35..665bd6758bda 100644 --- a/sdk/communication/Azure.Communication.CallingServer/src/Models/ToneValue.cs +++ b/sdk/communication/Azure.Communication.CallingServer/src/Models/ToneValue.cs @@ -8,7 +8,7 @@ namespace Azure.Communication.CallingServer /// /// The tone. /// - [CodeGenModel("ToneValue", Usage = new string[] { "input", "output" }, Formats = new string[] { "json" })] + [CodeGenModel("ToneValue", Usage = new string[] { "output" }, Formats = new string[] { "json" })] public readonly partial struct ToneValue { } diff --git a/sdk/communication/Azure.Communication.CallingServer/src/Properties/AssemblyInfo.cs b/sdk/communication/Azure.Communication.CallingServer/src/Properties/AssemblyInfo.cs index 6522e17d75cc..12a9c7421e7a 100644 --- a/sdk/communication/Azure.Communication.CallingServer/src/Properties/AssemblyInfo.cs +++ b/sdk/communication/Azure.Communication.CallingServer/src/Properties/AssemblyInfo.cs @@ -4,3 +4,4 @@ using System.Runtime.CompilerServices; [assembly: Azure.Core.AzureResourceProviderNamespace("Communication")] +[assembly: InternalsVisibleTo("Azure.Communication.CallingServer.Tests, PublicKey=0024000004800000940000000602000000240000525341310004000001000100d15ddcb29688295338af4b7686603fe614abd555e09efba8fb88ee09e1f7b1ccaeed2e8f823fa9eef3fdd60217fc012ea67d2479751a0b8c087a4185541b851bd8b16f8d91b840e51b1cb0ba6fe647997e57429265e85ef62d565db50a69ae1647d54d7bd855e4db3d8a91510e5bcbd0edfbbecaa20a7bd9ae74593daa7b11b4")] diff --git a/sdk/communication/Azure.Communication.CallingServer/src/ServerCall.cs b/sdk/communication/Azure.Communication.CallingServer/src/ServerCall.cs new file mode 100644 index 000000000000..204d2015f960 --- /dev/null +++ b/sdk/communication/Azure.Communication.CallingServer/src/ServerCall.cs @@ -0,0 +1,455 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +using System; +using System.Threading; +using System.Threading.Tasks; +using Azure.Core; +using Azure.Core.Pipeline; + +namespace Azure.Communication.CallingServer +{ + /// + /// The Azure Communication Services Server Call Client. + /// + public class ServerCall + { + private readonly ClientDiagnostics _clientDiagnostics; + internal ServerCallsRestClient RestClient { get; } + + /// + /// The server call id. + /// + internal virtual string ServerCallId { get; set; } + + /// Initializes a new instance of . + internal ServerCall(string serverCallId, ServerCallsRestClient serverCallRestClient, ClientDiagnostics clientDiagnostics) + { + ServerCallId = serverCallId; + RestClient = serverCallRestClient; + _clientDiagnostics = clientDiagnostics; + } + + /// Initializes a new instance of for mocking. + protected ServerCall() + { + ServerCallId = null; + _clientDiagnostics = null; + RestClient = null; + } + + /// Play audio in the call. + /// The uri of the audio file. + /// Tne id for the media in the AudioFileUri, using which we cache the media resource. + /// The callback Uri to receive PlayAudio status notifications. + /// The operation context. + /// The cancellation token to use. + /// The server returned an error. See for details returned from the server. + public virtual async Task> PlayAudioAsync(Uri audioFileUri, string audioFileId, Uri callbackUri, string operationContext = null, CancellationToken cancellationToken = default) + { + using DiagnosticScope scope = _clientDiagnostics.CreateScope($"{nameof(ServerCall)}.{nameof(PlayAudio)}"); + scope.Start(); + try + { + // Currently looping media is not supported for out-call scenarios, thus setting it to false. + return await RestClient.PlayAudioAsync( + serverCallId: ServerCallId, + audioFileUri: audioFileUri?.AbsoluteUri, + loop: false, + audioFileId: audioFileId, + callbackUri: callbackUri?.AbsoluteUri, + operationContext: operationContext, + cancellationToken: cancellationToken + ).ConfigureAwait(false); + } + catch (Exception ex) + { + scope.Failed(ex); + throw; + } + } + + /// Play audio in the call. + /// The uri of the audio file. + /// Tne id for the media in the AudioFileUri, using which we cache the media resource. + /// The callback Uri to receive PlayAudio status notifications. + /// The operation context. + /// The cancellation token to use. + /// The server returned an error. See for details returned from the server. + public virtual Response PlayAudio(Uri audioFileUri, string audioFileId, Uri callbackUri, string operationContext = null, CancellationToken cancellationToken = default) + { + using DiagnosticScope scope = _clientDiagnostics.CreateScope($"{nameof(ServerCall)}.{nameof(PlayAudio)}"); + scope.Start(); + try + { + // Currently looping media is not supported for out-call scenarios, thus setting it to false. + return RestClient.PlayAudio( + serverCallId: ServerCallId, + audioFileUri: audioFileUri?.AbsoluteUri, + loop: false, + audioFileId: audioFileId, + callbackUri: callbackUri?.AbsoluteUri, + operationContext: operationContext, + cancellationToken: cancellationToken + ); + } + catch (Exception ex) + { + scope.Failed(ex); + throw; + } + } + + /// + /// Add participant to the call. + /// + /// The identity of participant to be added to the call. + /// The callback uri to receive the notification. + /// The phone number to use when adding a pstn participant. + /// The operation context. + /// The cancellation token. + public virtual Response AddParticipant(CommunicationIdentifier participant, Uri callbackUri, string alternateCallerId = default, string operationContext = default, CancellationToken cancellationToken = default) + { + using DiagnosticScope scope = _clientDiagnostics.CreateScope($"{nameof(ServerCall)}.{nameof(AddParticipant)}"); + scope.Start(); + try + { + Argument.AssertNotNull(participant, nameof(participant)); + + return RestClient.AddParticipant( + serverCallId: ServerCallId, + participant: CommunicationIdentifierSerializer.Serialize(participant), + alternateCallerId: string.IsNullOrEmpty(alternateCallerId) ? null : new PhoneNumberIdentifierModel(alternateCallerId), + callbackUri: callbackUri?.AbsoluteUri, + operationContext: operationContext, + cancellationToken: cancellationToken + ); + } + catch (Exception ex) + { + scope.Failed(ex); + throw; + } + } + + /// + /// Add participant to the call. + /// + /// The identity of participant to be added to the call. + /// + /// The phone number to use when adding a pstn participant. + /// The operation context. + /// The cancellation token. + public virtual async Task> AddParticipantAsync(CommunicationIdentifier participant, Uri callbackUri, string alternateCallerId = default, string operationContext = default, CancellationToken cancellationToken = default) + { + using DiagnosticScope scope = _clientDiagnostics.CreateScope($"{nameof(ServerCall)}.{nameof(AddParticipant)}"); + scope.Start(); + try + { + Argument.AssertNotNull(participant, nameof(participant)); + + return await RestClient.AddParticipantAsync( + serverCallId: ServerCallId, + participant: CommunicationIdentifierSerializer.Serialize(participant), + alternateCallerId: string.IsNullOrEmpty(alternateCallerId) ? null : new PhoneNumberIdentifierModel(alternateCallerId), + callbackUri: callbackUri?.AbsoluteUri, + operationContext: operationContext, + cancellationToken: cancellationToken + ).ConfigureAwait(false); + } + catch (Exception ex) + { + scope.Failed(ex); + throw; + } + } + + /// + /// Remove participant from the call. + /// + /// The participant id. + /// The cancellation token. + public virtual Response RemoveParticipant(string participantId, CancellationToken cancellationToken = default) + { + using DiagnosticScope scope = _clientDiagnostics.CreateScope($"{nameof(ServerCall)}.{nameof(RemoveParticipant)}"); + scope.Start(); + try + { + return RestClient.RemoveParticipant( + serverCallId: ServerCallId, + participantId: participantId, + cancellationToken: cancellationToken + ); + } + catch (Exception ex) + { + scope.Failed(ex); + throw; + } + } + + /// + /// Remove participant from the call. + /// + /// The participant id. + /// The cancellation token. + public virtual async Task RemoveParticipantAsync(string participantId, CancellationToken cancellationToken = default) + { + using DiagnosticScope scope = _clientDiagnostics.CreateScope($"{nameof(ServerCall)}.{nameof(RemoveParticipant)}"); + scope.Start(); + try + { + return await RestClient.RemoveParticipantAsync( + serverCallId: ServerCallId, + participantId: participantId, + cancellationToken: cancellationToken + ).ConfigureAwait(false); + } + catch (Exception ex) + { + scope.Failed(ex); + throw; + } + } + + /// + /// Start recording of the call. + /// + /// The uri to send state change callbacks. + /// The cancellation token. + public virtual async Task> StartRecordingAsync(Uri recordingStateCallbackUri, CancellationToken cancellationToken = default) + { + using DiagnosticScope scope = _clientDiagnostics.CreateScope($"{nameof(ServerCall)}.{nameof(StartRecording)}"); + scope.Start(); + try + { + return await RestClient.StartRecordingAsync( + serverCallId: ServerCallId, + recordingStateCallbackUri: recordingStateCallbackUri.AbsoluteUri, + cancellationToken: cancellationToken + ).ConfigureAwait(false); + } + catch (Exception ex) + { + scope.Failed(ex); + throw; + } + } + + /// + /// Start recording of the call. + /// + /// The uri to send state change callbacks. + /// The cancellation token. + public virtual Response StartRecording(Uri recordingStateCallbackUri, CancellationToken cancellationToken = default) + { + using DiagnosticScope scope = _clientDiagnostics.CreateScope($"{nameof(ServerCall)}.{nameof(StartRecording)}"); + scope.Start(); + try + { + return RestClient.StartRecording( + serverCallId: ServerCallId, + recordingStateCallbackUri: recordingStateCallbackUri.AbsoluteUri, + cancellationToken: cancellationToken + ); + } + catch (Exception ex) + { + scope.Failed(ex); + throw; + } + } + + /// + /// Get the current recording state by recording id. + /// + /// The recording id to get the state of. + /// The cancellation token. + public virtual async Task> GetRecordingStateAsync(string recordingId, CancellationToken cancellationToken = default) + { + using DiagnosticScope scope = _clientDiagnostics.CreateScope($"{nameof(ServerCall)}.{nameof(GetRecordingState)}"); + scope.Start(); + try + { + return await RestClient.GetRecordingPropertiesAsync( + serverCallId: ServerCallId, + recordingId: recordingId, + cancellationToken: cancellationToken + ).ConfigureAwait(false); + } + catch (Exception ex) + { + scope.Failed(ex); + throw; + } + } + + /// + /// Get the current recording state by recording id. + /// + /// The recording id to get the state of. + /// The cancellation token. + public virtual Response GetRecordingState(string recordingId, CancellationToken cancellationToken = default) + { + using DiagnosticScope scope = _clientDiagnostics.CreateScope($"{nameof(ServerCall)}.{nameof(GetRecordingState)}"); + scope.Start(); + try + { + return RestClient.GetRecordingProperties( + serverCallId: ServerCallId, + recordingId: recordingId, + cancellationToken: cancellationToken + ); + } + catch (Exception ex) + { + scope.Failed(ex); + throw; + } + } + + /// + /// Stop recording of the call. + /// + /// The recording id to stop. + /// The cancellation token. + public virtual async Task StopRecordingAsync(string recordingId, CancellationToken cancellationToken = default) + { + using DiagnosticScope scope = _clientDiagnostics.CreateScope($"{nameof(ServerCall)}.{nameof(StopRecording)}"); + scope.Start(); + try + { + return await RestClient.StopRecordingAsync( + serverCallId: ServerCallId, + recordingId: recordingId, + cancellationToken: cancellationToken + ).ConfigureAwait(false); + } + catch (Exception ex) + { + scope.Failed(ex); + throw; + } + } + + /// + /// Stop recording of the call. + /// + /// The recording id to stop. + /// The cancellation token. + public virtual Response StopRecording(string recordingId, CancellationToken cancellationToken = default) + { + using DiagnosticScope scope = _clientDiagnostics.CreateScope($"{nameof(ServerCall)}.{nameof(StopRecording)}"); + scope.Start(); + try + { + return RestClient.StopRecording( + serverCallId: ServerCallId, + recordingId: recordingId, + cancellationToken: cancellationToken + ); + } + catch (Exception ex) + { + scope.Failed(ex); + throw; + } + } + + /// + /// Pause recording of the call. + /// + /// The recording id to pause. + /// The cancellation token. + public virtual async Task PauseRecordingAsync(string recordingId, CancellationToken cancellationToken = default) + { + using DiagnosticScope scope = _clientDiagnostics.CreateScope($"{nameof(ServerCall)}.{nameof(PauseRecording)}"); + scope.Start(); + try + { + return await RestClient.PauseRecordingAsync( + serverCallId: ServerCallId, + recordingId: recordingId, + cancellationToken: cancellationToken + ).ConfigureAwait(false); + } + catch (Exception ex) + { + scope.Failed(ex); + throw; + } + } + + /// + /// Pause recording of the call. + /// + /// The recording id to pause. + /// The cancellation token. + public virtual Response PauseRecording(string recordingId, CancellationToken cancellationToken = default) + { + using DiagnosticScope scope = _clientDiagnostics.CreateScope($"{nameof(ServerCall)}.{nameof(PauseRecording)}"); + scope.Start(); + try + { + return RestClient.PauseRecording( + serverCallId: ServerCallId, + recordingId: recordingId, + cancellationToken: cancellationToken + ); + } + catch (Exception ex) + { + scope.Failed(ex); + throw; + } + } + + /// + /// Resume recording of the call. + /// + /// The recording id to pause. + /// The cancellation token. + public virtual async Task ResumeRecordingAsync(string recordingId, CancellationToken cancellationToken = default) + { + using DiagnosticScope scope = _clientDiagnostics.CreateScope($"{nameof(ServerCall)}.{nameof(ResumeRecording)}"); + scope.Start(); + try + { + return await RestClient.ResumeRecordingAsync( + serverCallId: ServerCallId, + recordingId: recordingId, + cancellationToken: cancellationToken + ).ConfigureAwait(false); + } + catch (Exception ex) + { + scope.Failed(ex); + throw; + } + } + + /// + /// resume recording of the call. + /// + /// The recording id to resume. + /// The cancellation token. + public virtual Response ResumeRecording(string recordingId, CancellationToken cancellationToken = default) + { + using DiagnosticScope scope = _clientDiagnostics.CreateScope($"{nameof(ServerCall)}.{nameof(ResumeRecording)}"); + scope.Start(); + try + { + return RestClient.ResumeRecording( + serverCallId: ServerCallId, + recordingId: recordingId, + cancellationToken: cancellationToken + ); + } + catch (Exception ex) + { + scope.Failed(ex); + throw; + } + } + } +} diff --git a/sdk/communication/Azure.Communication.CallingServer/src/autorest.md b/sdk/communication/Azure.Communication.CallingServer/src/autorest.md index 065b6602448a..7f943bd1c644 100644 --- a/sdk/communication/Azure.Communication.CallingServer/src/autorest.md +++ b/sdk/communication/Azure.Communication.CallingServer/src/autorest.md @@ -8,15 +8,12 @@ If any of the new objects needs to be overwritten, add the required changes to t 3. Repeat 2 and 3 until the desided interface is reflected in the apiview.dev. -## General settings -> see https://aka.ms/autorest - -## Configuration -The following are the settings for generating this API with AutoRest. +### AutoRest Configuration +> see https://aka.ms/autorest ```yaml -tag: beta -input-file: https://github.com/Azure/azure-rest-api-specs/raw/9550e58c98dc0af9474d896493335bf0543b2b4d/specification/communication/data-plane/CallingServer/preview/2021-04-15-preview1/communicationservicescallingserver.json +require: + - https://raw.githubusercontent.com/Azure/azure-rest-api-specs/b4b5fa5ee23f8cce9e1ade4a82076b4c34b25651/specification/communication/data-plane/CallingServer/readme.md payload-flattening-threshold: 10 clear-output-folder: true directive: diff --git a/sdk/communication/Azure.Communication.CallingServer/tests.yml b/sdk/communication/Azure.Communication.CallingServer/tests.yml index 6ba1986eb50f..7b673422c354 100644 --- a/sdk/communication/Azure.Communication.CallingServer/tests.yml +++ b/sdk/communication/Azure.Communication.CallingServer/tests.yml @@ -18,4 +18,6 @@ extends: Clouds: Public,Int EnvVars: # SKIP_PHONENUMBER_LIVE_TESTS skips certain phone number tests such as purchase and release - SKIP_PHONENUMBER_LIVE_TESTS: TRUE \ No newline at end of file + SKIP_PHONENUMBER_LIVE_TESTS: TRUE + # SKIP_CALLINGSERVER_INTERACTION_LIVE_TESTS skips certain callingserver tests that required human interaction + SKIP_CALLINGSERVER_INTERACTION_LIVE_TESTS: TRUE \ No newline at end of file diff --git a/sdk/communication/Azure.Communication.CallingServer/tests/Azure.Communication.CallingServer.Tests.csproj b/sdk/communication/Azure.Communication.CallingServer/tests/Azure.Communication.CallingServer.Tests.csproj index 061c17322b76..52bdf1f75f45 100644 --- a/sdk/communication/Azure.Communication.CallingServer/tests/Azure.Communication.CallingServer.Tests.csproj +++ b/sdk/communication/Azure.Communication.CallingServer/tests/Azure.Communication.CallingServer.Tests.csproj @@ -1,4 +1,4 @@ - + $(RequiredTargetFrameworks) enable @@ -14,12 +14,6 @@ - - - - - - diff --git a/sdk/communication/Azure.Communication.CallingServer/tests/CallConnection/CallConnectionLiveTests.cs b/sdk/communication/Azure.Communication.CallingServer/tests/CallConnection/CallConnectionLiveTests.cs new file mode 100644 index 000000000000..3141d7d52efd --- /dev/null +++ b/sdk/communication/Azure.Communication.CallingServer/tests/CallConnection/CallConnectionLiveTests.cs @@ -0,0 +1,103 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +#region Snippet:Azure_Communication_ServerCalling_Tests_UsingStatements +using System; +using System.Collections.Generic; +//@@ using Azure.Communication.CallingServer; +#endregion Snippet:Azure_Communication_ServerCalling_Tests_UsingStatements +using Azure.Communication.Identity; + +using NUnit.Framework; +using System.Threading.Tasks; + +namespace Azure.Communication.CallingServer.Tests +{ + /// + /// The suite of tests for the class. + /// + /// + /// These tests have a dependency on live Azure services and may incur costs for the associated + /// Azure subscription. + /// + public class CallConnectionLiveTests : CallingServerLiveTestBase + { + /// + /// Initializes a new instance of the class. + /// + /// A flag used by the Azure Core Test Framework to differentiate between tests for asynchronous and synchronous methods. + public CallConnectionLiveTests(bool isAsync) : base(isAsync) + { + } + + [Test] + public async Task RunCreatePlayCancelHangupScenarioTests() + { + if (SkipCallingServerInteractionLiveTests) + Assert.Ignore("Skip callingserver interaction live tests flag is on."); + + CallingServerClient client = CreateInstrumentedCallingServerClient(); + try + { + // Establish a Call + var callConnection = await CreateCallConnectionOperation(client).ConfigureAwait(false); + + // Play Prompt Audio + await SleepIfNotInPlaybackModeAsync().ConfigureAwait(false); + await PlayAudioOperation(callConnection).ConfigureAwait(false); + + // Cancel Prompt Audio + await SleepIfNotInPlaybackModeAsync().ConfigureAwait(false); + await CancelAllMediaOperationsOperation(callConnection).ConfigureAwait(false); + + // Hang up the Call, there is one call leg in this test case, hangup the call will also delete the call as the result. + await SleepIfNotInPlaybackModeAsync().ConfigureAwait(false); + await HangupOperation(callConnection).ConfigureAwait(false); + } + catch (RequestFailedException ex) + { + Console.WriteLine(ex.Message); + Assert.Fail($"Unexpected error: {ex}"); + } + catch (Exception ex) + { + Assert.Fail($"Unexpected error: {ex}"); + } + } + + [Test] + public async Task RunCreateAddRemoveHangupScenarioTests() + { + if (SkipCallingServerInteractionLiveTests) + Assert.Ignore("Skip callingserver interaction live tests flag is on."); + + CallingServerClient client = CreateInstrumentedCallingServerClient(); + try + { + // Establish a call + var callConnection = await CreateCallConnectionOperation(client).ConfigureAwait(false); + + // Add Participant + await SleepIfNotInPlaybackModeAsync().ConfigureAwait(false); + var participantId = await AddParticipantOperation(callConnection).ConfigureAwait(false); + + // Remove Participant + await SleepIfNotInPlaybackModeAsync().ConfigureAwait(false); + await RemoveParticipantOperation(callConnection, participantId).ConfigureAwait(false); + + // Hang up the Call, there is one call leg in this test case, hangup the call will also delete the call as the result. + await SleepIfNotInPlaybackModeAsync().ConfigureAwait(false); + await HangupOperation(callConnection).ConfigureAwait(false); + } + catch (RequestFailedException ex) + { + Console.WriteLine(ex.Message); + Assert.Fail($"Unexpected error: {ex}"); + } + catch (Exception ex) + { + Assert.Fail($"Unexpected error: {ex}"); + } + } + } +} diff --git a/sdk/communication/Azure.Communication.CallingServer/tests/CallConnection/CallConnectionTests.cs b/sdk/communication/Azure.Communication.CallingServer/tests/CallConnection/CallConnectionTests.cs new file mode 100644 index 000000000000..c4810d104ad4 --- /dev/null +++ b/sdk/communication/Azure.Communication.CallingServer/tests/CallConnection/CallConnectionTests.cs @@ -0,0 +1,379 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +using System; +using System.Collections.Generic; +using System.Net; +using System.Threading.Tasks; +using NUnit.Framework; + +namespace Azure.Communication.CallingServer.Tests +{ + public class CallConnectionTests : CallingServerTestBase + { + private const string CancelAllMediaOperaionsResponsePayload = "{" + + "\"operationId\": \"dummyId\"," + + "\"status\": \"completed\"," + + "\"operationContext\": \"dummyOperationContext\"," + + "\"resultInfo\": {" + + "\"code\": 200," + + "\"subcode\": 200," + + "\"message\": \"dummyMessage\"" + + "}" + + "}"; + + private const string PlayAudioResponsePayload = "{" + + "\"operationId\": \"dummyId\"," + + "\"status\": \"running\"," + + "\"operationContext\": \"dummyOperationContext\"," + + "\"resultInfo\": {" + + "\"code\": 200," + + "\"subcode\": 200," + + "\"message\": \"dummyMessage\"" + + "}" + + "}"; + + private const string AddParticipantResultPayload = "{" + + "\"participantId\": \"dummyparticipantid\"" + + "}"; + + [TestCaseSource(nameof(TestData_CallConnectionId))] + public async Task HangupCallAsync_Passes(string callConnectionId) + { + var callConnection = CreateMockCallConnection(202, callConnectionId: callConnectionId); + + var response = await callConnection.HangupAsync().ConfigureAwait(false); + Assert.AreEqual((int)HttpStatusCode.Accepted, response.Status); + } + + [TestCaseSource(nameof(TestData_CallConnectionId))] + public void HangupCall_Passes(string callConnectionId) + { + var callConnection = CreateMockCallConnection(202, callConnectionId: callConnectionId); + + var response = callConnection.Hangup(); + Assert.AreEqual((int)HttpStatusCode.Accepted, response.Status); + } + + [TestCaseSource(nameof(TestData_CallConnectionId))] + public void HangupCallAsync_Failed(string callConnectionId) + { + var callConnection = CreateMockCallConnection(404); + + RequestFailedException? ex = Assert.ThrowsAsync(async () => await callConnection.HangupAsync().ConfigureAwait(false)); + Assert.NotNull(ex); + Assert.AreEqual(ex?.Status, 404); + } + + [TestCaseSource(nameof(TestData_CallConnectionId))] + public void HangupCall_Failed(string callConnectionId) + { + var callConnection = CreateMockCallConnection(404); + + RequestFailedException? ex = Assert.Throws(() => callConnection.Hangup()); + Assert.NotNull(ex); + Assert.AreEqual(ex?.Status, 404); + } + + [TestCaseSource(nameof(TestData_CallConnectionId))] + public async Task CancelAllMediaOperationsAsync_Passes(string callConnectionId) + { + var callConnection = CreateMockCallConnection(200, CancelAllMediaOperaionsResponsePayload, callConnectionId: callConnectionId); + + var result = await callConnection.CancelAllMediaOperationsAsync().ConfigureAwait(false); + VerifyCancelAllMediaOperationsResult(result); + } + + [TestCaseSource(nameof(TestData_CallConnectionId))] + public void CancelAllMediaOperations_Passes(string callConnectionId) + { + var callConnection = CreateMockCallConnection(200, CancelAllMediaOperaionsResponsePayload, callConnectionId: callConnectionId); + + var result = callConnection.CancelAllMediaOperations(); + VerifyCancelAllMediaOperationsResult(result); + } + + [TestCaseSource(nameof(TestData_CallConnectionId))] + public void CancelAllMediaOperationsAsync_Failed(string callConnectionId) + { + var callConnection = CreateMockCallConnection(404); + + RequestFailedException? ex = Assert.ThrowsAsync(async () => await callConnection.CancelAllMediaOperationsAsync().ConfigureAwait(false)); + Assert.NotNull(ex); + Assert.AreEqual(ex?.Status, 404); + } + + [TestCaseSource(nameof(TestData_CallConnectionId))] + public void CancelAllMediaOperations_Failed(string callConnectionId) + { + var callConnection = CreateMockCallConnection(404); + + RequestFailedException? ex = Assert.Throws(() => callConnection.CancelAllMediaOperations()); + Assert.NotNull(ex); + Assert.AreEqual(ex?.Status, 404); + } + + [TestCaseSource(nameof(TestData_PlayAudio))] + public async Task PlayAudioAsync_Passes(Uri sampleAudioFileUri, string sampleAudioFileId, Uri sampleCallbackUri, string sampleOperationContext) + { + var callConnection = CreateMockCallConnection(202, PlayAudioResponsePayload); + + var result = await callConnection.PlayAudioAsync(sampleAudioFileUri, false, sampleAudioFileId, sampleCallbackUri, sampleOperationContext).ConfigureAwait(false); + VerifyPlayAudioResult(result); + } + + [TestCaseSource(nameof(TestData_PlayAudio))] + public void PlayAudio_Passes(Uri sampleAudioFileUri, string sampleAudioFileId, Uri sampleCallbackUri, string sampleOperationContext) + { + var callConnection = CreateMockCallConnection(202, PlayAudioResponsePayload); + + var result = callConnection.PlayAudio(sampleAudioFileUri, false, sampleAudioFileId, sampleCallbackUri, sampleOperationContext); + VerifyPlayAudioResult(result); + } + + [TestCaseSource(nameof(TestData_PlayAudio))] + public void PlayAudioAsync_Failed(Uri sampleAudioFileUri, string sampleAudioFileId, Uri sampleCallbackUri, string sampleOperationContext) + { + var callConnection = CreateMockCallConnection(404); + + RequestFailedException? ex = Assert.ThrowsAsync(async () => await callConnection.PlayAudioAsync(sampleAudioFileUri, false, sampleAudioFileId, sampleCallbackUri, sampleOperationContext).ConfigureAwait(false)); + Assert.NotNull(ex); + Assert.AreEqual(ex?.Status, 404); + } + + [TestCaseSource(nameof(TestData_PlayAudio))] + public void PlayAudio_Failed(Uri sampleAudioFileUri, string sampleAudioFileId, Uri sampleCallbackUri, string sampleOperationContext) + { + var callConnection = CreateMockCallConnection(404); + + RequestFailedException? ex = Assert.Throws(() => callConnection.PlayAudio(sampleAudioFileUri, false, sampleAudioFileId, sampleCallbackUri, sampleOperationContext)); + Assert.NotNull(ex); + Assert.AreEqual(ex?.Status, 404); + } + + [TestCaseSource(nameof(TestData_PlayAudio))] + public async Task PlayAudioAsyncOverload_Passes(Uri sampleAudioFileUri, string sampleAudioFileId, Uri sampleCallbackUri, string sampleOperationContext) + { + var callConnection = CreateMockCallConnection(202, PlayAudioResponsePayload); + + var playAudio = new PlayAudioOptions() + { + AudioFileUri = sampleAudioFileUri, + AudioFileId = sampleAudioFileId, + CallbackUri = sampleCallbackUri, + Loop = false, + OperationContext = sampleOperationContext + }; + + var result = await callConnection.PlayAudioAsync(playAudio).ConfigureAwait(false); + VerifyPlayAudioResult(result); + } + + [TestCaseSource(nameof(TestData_PlayAudio))] + public void PlayAudioOverload_Passes(Uri sampleAudioFileUri, string sampleAudioFileId, Uri sampleCallbackUri, string sampleOperationContext) + { + var callConnection = CreateMockCallConnection(202, PlayAudioResponsePayload); + + var playAudio = new PlayAudioOptions() + { + AudioFileUri = sampleAudioFileUri, + AudioFileId = sampleAudioFileId, + CallbackUri = sampleCallbackUri, + Loop = false, + OperationContext = sampleOperationContext + }; + + var result = callConnection.PlayAudio(playAudio); + VerifyPlayAudioResult(result); + } + + [TestCaseSource(nameof(TestData_PlayAudio))] + public void PlayAudioAsyncOverload_Failed(Uri sampleAudioFileUri, string sampleAudioFileId, Uri sampleCallbackUri, string sampleOperationContext) + { + var callConnection = CreateMockCallConnection(404); + + var playAudio = new PlayAudioOptions() + { + AudioFileUri = sampleAudioFileUri, + AudioFileId = sampleAudioFileId, + CallbackUri = sampleCallbackUri, + Loop = false, + OperationContext = sampleOperationContext + }; + + RequestFailedException? ex = Assert.ThrowsAsync(async () => await callConnection.PlayAudioAsync(playAudio).ConfigureAwait(false)); + Assert.NotNull(ex); + Assert.AreEqual(ex?.Status, 404); + } + + [TestCaseSource(nameof(TestData_PlayAudio))] + public void PlayAudioOverload_Failed(Uri sampleAudioFileUri, string sampleAudioFileId, Uri sampleCallbackUri, string sampleOperationContext) + { + var callConnection = CreateMockCallConnection(404); + + var playAudio = new PlayAudioOptions() + { + AudioFileUri = sampleAudioFileUri, + AudioFileId = sampleAudioFileId, + CallbackUri = sampleCallbackUri, + Loop = false, + OperationContext = sampleOperationContext + }; + + RequestFailedException? ex = Assert.Throws(() => callConnection.PlayAudio(playAudio)); + Assert.NotNull(ex); + Assert.AreEqual(ex?.Status, 404); + } + + [TestCaseSource(nameof(TestData_AddParticipant))] + public async Task AddParticipantsAsync_Passes(CommunicationIdentifier participant, string alternateCallerId, string operationContext) + { + var callConnection = CreateMockCallConnection(202, AddParticipantResultPayload); + + var response = await callConnection.AddParticipantAsync(participant, alternateCallerId, operationContext).ConfigureAwait(false); + Assert.AreEqual((int)HttpStatusCode.Accepted, response.GetRawResponse().Status); + Assert.AreEqual("dummyparticipantid", response.Value.ParticipantId); + } + + [TestCaseSource(nameof(TestData_AddParticipant))] + public void AddParticipants_Passes(CommunicationIdentifier participant, string alternateCallerId, string operationContext) + { + var callConnection = CreateMockCallConnection(202, AddParticipantResultPayload); + + var response = callConnection.AddParticipant(participant, alternateCallerId, operationContext); + Assert.AreEqual((int)HttpStatusCode.Accepted, response.GetRawResponse().Status); + Assert.AreEqual("dummyparticipantid", response.Value.ParticipantId); + } + + [TestCaseSource(nameof(TestData_AddParticipant))] + public void AddParticipantsAsync_Failed(CommunicationIdentifier participant, string alternateCallerId, string operationContext) + { + var callConnection = CreateMockCallConnection(404); + + RequestFailedException? ex = Assert.ThrowsAsync(async () => await callConnection.AddParticipantAsync(participant, alternateCallerId, operationContext).ConfigureAwait(false)); + Assert.NotNull(ex); + Assert.AreEqual(ex?.Status, 404); + } + + [TestCaseSource(nameof(TestData_AddParticipant))] + public void AddParticipants_Failed(CommunicationIdentifier participant, string alternateCallerId, string operationContext) + { + var callConnection = CreateMockCallConnection(404); + + RequestFailedException? ex = Assert.Throws(() => callConnection.AddParticipant(participant, alternateCallerId, operationContext)); + Assert.NotNull(ex); + Assert.AreEqual(ex?.Status, 404); + } + + [TestCaseSource(nameof(TestData_ParticipantId))] + public async Task RemoveParticipantsAsync_Passes(string callConnectionId, string participantId) + { + var callConnection = CreateMockCallConnection(202, callConnectionId: callConnectionId); + + var response = await callConnection.RemoveParticipantAsync(participantId).ConfigureAwait(false); + Assert.AreEqual((int)HttpStatusCode.Accepted, response.Status); + } + + [TestCaseSource(nameof(TestData_ParticipantId))] + public void RemoveParticipants_Passes(string callConnectionId, string participantId) + { + var callConnection = CreateMockCallConnection(202, callConnectionId: callConnectionId); + + var response = callConnection.RemoveParticipant(participantId); + Assert.AreEqual((int)HttpStatusCode.Accepted, response.Status); + } + + [TestCaseSource(nameof(TestData_ParticipantId))] + public void RemoveParticipantsAsync_Failed(string callConnectionId, string participantId) + { + var callConnection = CreateMockCallConnection(404); + + RequestFailedException? ex = Assert.ThrowsAsync(async () => await callConnection.RemoveParticipantAsync(participantId).ConfigureAwait(false)); + Assert.NotNull(ex); + Assert.AreEqual(ex?.Status, 404); + } + + [TestCaseSource(nameof(TestData_ParticipantId))] + public void RemoveParticipants_Failed(string callConnectionId, string participantId) + { + var callConnection = CreateMockCallConnection(404); + + RequestFailedException? ex = Assert.Throws(() => callConnection.RemoveParticipant(participantId)); + Assert.NotNull(ex); + Assert.AreEqual(ex?.Status, 404); + } + + private void VerifyCancelAllMediaOperationsResult(CancelAllMediaOperationsResult result) + { + Assert.AreEqual("dummyId", result.OperationId); + Assert.AreEqual(OperationStatus.Completed, result.Status); + Assert.AreEqual("dummyOperationContext", result.OperationContext); + Assert.AreEqual(200, result.ResultInfo.Code); + Assert.AreEqual("dummyMessage", result.ResultInfo.Message); + } + + private void VerifyPlayAudioResult(PlayAudioResult result) + { + Assert.AreEqual("dummyId", result.OperationId); + Assert.AreEqual(OperationStatus.Running, result.Status); + Assert.AreEqual("dummyOperationContext", result.OperationContext); + Assert.AreEqual(200, result.ResultInfo.Code); + Assert.AreEqual("dummyMessage", result.ResultInfo.Message); + } + + private CallConnection CreateMockCallConnection(int responseCode, string? responseContent = null, string callConnectionId = "9ec7da16-30be-4e74-a941-285cfc4bffc5") + { + return CreateMockCallingServerClient(responseCode, responseContent).GetCallConnection(callConnectionId); + } + + private static IEnumerable TestData_CallConnectionId() + { + return new[] + { + new object?[] + { + "4ab31d78-a189-4e50-afaa-f9610975b6cb", + }, + }; + } + + private static IEnumerable TestData_PlayAudio() + { + return new[] + { + new object?[] + { + new Uri("https://bot.contoso.io/audio/sample-message.wav"), + "sampleAudioFileId", + new Uri("https://bot.contoso.io/callback"), + "sampleOperationContext", + } + }; + } + + private static IEnumerable TestData_AddParticipant() + { + return new[] + { + new object?[] + { + new CommunicationUserIdentifier("8:acs:acsuserid"), + "+14250000000", + "dummycontext" + }, + }; + } + + private static IEnumerable TestData_ParticipantId() + { + return new[] + { + new object?[] + { + "d09038e7-38f7-4aa1-9c5c-4bb07a65aa17", + "66c76529-3e58-45bf-9592-84eadd52bc81" + }, + }; + } + } +} diff --git a/sdk/communication/Azure.Communication.CallingServer/tests/CallingServerClient/CallingServerClientLiveTests.cs b/sdk/communication/Azure.Communication.CallingServer/tests/CallingServerClient/CallingServerClientLiveTests.cs new file mode 100644 index 000000000000..c8f63a6d782f --- /dev/null +++ b/sdk/communication/Azure.Communication.CallingServer/tests/CallingServerClient/CallingServerClientLiveTests.cs @@ -0,0 +1,29 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +using System; +using System.Collections.Generic; +using System.Threading.Tasks; +using Azure.Core.TestFramework; +using NUnit.Framework; + +namespace Azure.Communication.CallingServer.Tests +{ + /// + /// The suite of tests for the class. + /// + /// + /// These tests have a dependency on live Azure services and may incur costs for the associated + /// Azure subscription. + /// + public class CallingServerClientLiveTests : CallingServerLiveTestBase + { + /// + /// Initializes a new instance of the class. + /// + /// A flag used by the Azure Core Test Framework to differentiate between tests for asynchronous and synchronous methods. + public CallingServerClientLiveTests(bool isAsync) : base(isAsync) + { + } + } +} diff --git a/sdk/communication/Azure.Communication.CallingServer/tests/CallingServerClient/CallingServerClientTests.cs b/sdk/communication/Azure.Communication.CallingServer/tests/CallingServerClient/CallingServerClientTests.cs new file mode 100644 index 000000000000..8e57a63958e5 --- /dev/null +++ b/sdk/communication/Azure.Communication.CallingServer/tests/CallingServerClient/CallingServerClientTests.cs @@ -0,0 +1,151 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +using System; +using System.Collections.Generic; +using System.Net; +using System.Threading.Tasks; +using NUnit.Framework; + +namespace Azure.Communication.CallingServer.Tests +{ + public class CallingServerClientTests : CallingServerTestBase + { + [TestCaseSource(nameof(TestData_CreateCall))] + public async Task CreateCallAsync_Returns201Created(CommunicationIdentifier source, IEnumerable targets, CreateCallOptions createCallOptions) + { + CallingServerClient callingServerClient = CreateMockCallingServerClient(201, CreateOrJoinCallPayload); + + var response = await callingServerClient.CreateCallConnectionAsync(source, targets, createCallOptions).ConfigureAwait(false); + Assert.AreEqual((int)HttpStatusCode.Created, response.GetRawResponse().Status); + Assert.AreEqual("cad9df7b-f3ac-4c53-96f7-c76e7437b3c1", response.Value.CallConnectionId); + } + + [TestCaseSource(nameof(TestData_CreateCall))] + public void CreateCall_Returns201Created(CommunicationIdentifier source, IEnumerable targets, CreateCallOptions createCallOptions) + { + CallingServerClient callingServerClient = CreateMockCallingServerClient(201, CreateOrJoinCallPayload); + + var response = callingServerClient.CreateCallConnection(source, targets, createCallOptions); + Assert.AreEqual((int)HttpStatusCode.Created, response.GetRawResponse().Status); + Assert.AreEqual("cad9df7b-f3ac-4c53-96f7-c76e7437b3c1", response.Value.CallConnectionId); + } + + [TestCaseSource(nameof(TestData_CreateCall))] + public void CreateCallAsync_Returns404NotFound(CommunicationIdentifier source, IEnumerable targets, CreateCallOptions createCallOptions) + { + CallingServerClient callingServerClient = CreateMockCallingServerClient(404); + + RequestFailedException? ex = Assert.ThrowsAsync(async () => await callingServerClient.CreateCallConnectionAsync(source, targets, createCallOptions).ConfigureAwait(false)); + Assert.NotNull(ex); + Assert.AreEqual(ex?.Status, 404); + } + + [TestCaseSource(nameof(TestData_CreateCall))] + public void CreateCall_Returns404NotFound(CommunicationIdentifier source, IEnumerable targets, CreateCallOptions createCallOptions) + { + CallingServerClient callingServerClient = CreateMockCallingServerClient(404); + + RequestFailedException? ex = Assert.Throws(() => callingServerClient.CreateCallConnection(source, targets, createCallOptions)); + Assert.NotNull(ex); + Assert.AreEqual(ex?.Status, 404); + } + + [TestCaseSource(nameof(TestData_JoinCall))] + public async Task JoinCallAsync_Returns202Accepted(string serverCallId, CommunicationIdentifier source, JoinCallOptions joinCallOptions) + { + CallingServerClient callingServerClient = CreateMockCallingServerClient(202, CreateOrJoinCallPayload); + + var response = await callingServerClient.JoinCallAsync(serverCallId, source, joinCallOptions).ConfigureAwait(false); + Assert.AreEqual((int)HttpStatusCode.Accepted, response.GetRawResponse().Status); + Assert.AreEqual("cad9df7b-f3ac-4c53-96f7-c76e7437b3c1", response.Value.CallConnectionId); + } + + [TestCaseSource(nameof(TestData_JoinCall))] + public void JoinCall_Returns202Accepted(string serverCallId, CommunicationIdentifier source, JoinCallOptions joinCallOptions) + { + CallingServerClient callingServerClient = CreateMockCallingServerClient(202, CreateOrJoinCallPayload); + + var response = callingServerClient.JoinCall(serverCallId, source, joinCallOptions); + Assert.AreEqual((int)HttpStatusCode.Accepted, response.GetRawResponse().Status); + Assert.AreEqual("cad9df7b-f3ac-4c53-96f7-c76e7437b3c1", response.Value.CallConnectionId); + } + + [TestCaseSource(nameof(TestData_JoinCall))] + public void JoinCallAsync_Returns404NotFound(string serverCallId, CommunicationIdentifier source, JoinCallOptions joinCallOptions) + { + CallingServerClient callingServerClient = CreateMockCallingServerClient(404); + + RequestFailedException? ex = Assert.ThrowsAsync(async () => await callingServerClient.JoinCallAsync(serverCallId, source, joinCallOptions).ConfigureAwait(false)); + Assert.NotNull(ex); + Assert.AreEqual(ex?.Status, 404); + } + + [TestCaseSource(nameof(TestData_JoinCall))] + public void JoinCall_Returns404NotFound(string serverCallId, CommunicationIdentifier source, JoinCallOptions joinCallOptions) + { + CallingServerClient callingServerClient = CreateMockCallingServerClient(404); + + RequestFailedException? ex = Assert.Throws(() => callingServerClient.JoinCall(serverCallId, source, joinCallOptions)); + Assert.NotNull(ex); + Assert.AreEqual(ex?.Status, 404); + } + + private static IEnumerable TestData_CreateCall() + { + return new[] + { + new object?[] + { + new CommunicationUserIdentifier("8:acs:resource_source"), + new CommunicationIdentifier[] + { + new CommunicationUserIdentifier("8:acs:resource_target"), + new PhoneNumberIdentifier("+14255550123") + }, + new CreateCallOptions( + new Uri("https://bot.contoso.com/callback"), + new[] + { + MediaType.Video + }, + new[] + { + EventSubscriptionType.ParticipantsUpdated + } + ) + { + AlternateCallerId = new PhoneNumberIdentifier("+14255550123"), + Subject = "testsubject" + } + }, + }; + } + + private static IEnumerable TestData_JoinCall() + { + return new[] + { + new object?[] + { + "guid", + new CommunicationUserIdentifier("8:acs:resource_source"), + new JoinCallOptions( + new Uri("https://bot.contoso.com/callback"), + new[] + { + MediaType.Video + }, + new[] + { + EventSubscriptionType.ParticipantsUpdated + } + ) + { + Subject = "testsubject" + } + }, + }; + } + } +} diff --git a/sdk/communication/Azure.Communication.CallingServer/tests/ConversationClients/ContentDownloadTests.cs b/sdk/communication/Azure.Communication.CallingServer/tests/CallingServerClient/ContentDownloadTests.cs similarity index 64% rename from sdk/communication/Azure.Communication.CallingServer/tests/ConversationClients/ContentDownloadTests.cs rename to sdk/communication/Azure.Communication.CallingServer/tests/CallingServerClient/ContentDownloadTests.cs index e757de9e4e38..0db43535cc60 100644 --- a/sdk/communication/Azure.Communication.CallingServer/tests/ConversationClients/ContentDownloadTests.cs +++ b/sdk/communication/Azure.Communication.CallingServer/tests/CallingServerClient/ContentDownloadTests.cs @@ -9,12 +9,11 @@ using NUnit.Framework; using System.Linq; using Azure.Core.Pipeline; -using Azure.Communication.CallingServer.Tests.ConversationClients; using Azure.Core.TestFramework; namespace Azure.Communication.CallingServer.Tests.ContentDownloadTests { - public class ContentDownloadTests : ConversationClientBaseTests + public class ContentDownloadTests : CallingServerTestBase { private const string DummyRecordingMetadata = "{" + "\"chunkDocumentId\": \"dummyDocId\"," + @@ -50,9 +49,9 @@ public class ContentDownloadTests : ConversationClientBaseTests [Test] public void DownloadMetadata_Test() { - ConversationClient _convClient = CreateMockConversationClient(200, DummyRecordingMetadata); + CallingServerClient _callingserverClient = CreateMockCallingServerClient(200, DummyRecordingMetadata); - Stream metadata = _convClient.DownloadStreaming(_dummyMetadataLocation); + Stream metadata = _callingserverClient.DownloadStreaming(_dummyMetadataLocation); VerifyExpectedMetadata(metadata); } @@ -60,9 +59,9 @@ public void DownloadMetadata_Test() [Test] public async Task DownloadMetadataAsync_Test() { - ConversationClient _convClient = CreateMockConversationClient(200, DummyRecordingMetadata); + CallingServerClient _callingserverClient = CreateMockCallingServerClient(200, DummyRecordingMetadata); - Stream metadata = await _convClient.DownloadStreamingAsync(_dummyMetadataLocation); + Stream metadata = await _callingserverClient.DownloadStreamingAsync(_dummyMetadataLocation); VerifyExpectedMetadata(metadata); } @@ -70,9 +69,9 @@ public async Task DownloadMetadataAsync_Test() [Test] public void DownloadRecording_Test() { - ConversationClient _convClient = CreateMockConversationClient(200, _dummyRecordingStream); + CallingServerClient _callingserverClient = CreateMockCallingServerClient(200, _dummyRecordingStream); - Response recording = _convClient.DownloadStreaming(_dummyRecordingLocation); + Response recording = _callingserverClient.DownloadStreaming(_dummyRecordingLocation); VerifyExpectedRecording(recording, 10); } @@ -80,9 +79,9 @@ public void DownloadRecording_Test() [Test] public void DownloadRecordingByRanges_Test() { - ConversationClient _convClient = CreateMockConversationClient(206, _dummyRecordingStream.Take(5).ToArray(), _rangeResponseHeaders); + CallingServerClient _callingserverClient = CreateMockCallingServerClient(206, _dummyRecordingStream.Take(5).ToArray(), _rangeResponseHeaders); - Response recording = _convClient.DownloadStreaming(_dummyRecordingLocation, new HttpRange(0, 4)); + Response recording = _callingserverClient.DownloadStreaming(_dummyRecordingLocation, new HttpRange(0, 4)); VerifyExpectedRecording(recording, 5); } @@ -90,9 +89,9 @@ public void DownloadRecordingByRanges_Test() [Test] public async Task DownloadRecordingAsync_Test() { - ConversationClient _convClient = CreateMockConversationClient(200, _dummyRecordingStream); + CallingServerClient _callingserverClient = CreateMockCallingServerClient(200, _dummyRecordingStream); - Response recording = await _convClient.DownloadStreamingAsync(_dummyRecordingLocation); + Response recording = await _callingserverClient.DownloadStreamingAsync(_dummyRecordingLocation); VerifyExpectedRecording(recording, 10); } @@ -100,9 +99,9 @@ public async Task DownloadRecordingAsync_Test() [Test] public async Task DownloadRecordingByRangesAsync_Test() { - ConversationClient _convClient = CreateMockConversationClient(206, _dummyRecordingStream.Take(5).ToArray(), _rangeResponseHeaders); + CallingServerClient _callingserverClient = CreateMockCallingServerClient(206, _dummyRecordingStream.Take(5).ToArray(), _rangeResponseHeaders); - Response recording = await _convClient.DownloadStreamingAsync(_dummyRecordingLocation, new HttpRange(0, 4)); + Response recording = await _callingserverClient.DownloadStreamingAsync(_dummyRecordingLocation, new HttpRange(0, 4)); VerifyExpectedRecording(recording, 5); } @@ -119,19 +118,50 @@ public void DownloadRecordingToStream_Test() ContentTransferOptions options = new(); options.InitialTransferSize = 10; - ConversationClient _convClient = CreateMockConversationClient(206, _dummyRecordingStream, rangeHeaderResponse); + CallingServerClient _callingserverClient = CreateMockCallingServerClient(206, _dummyRecordingStream, rangeHeaderResponse); Stream destination = new MemoryStream(); - _convClient.DownloadTo(_dummyRecordingLocation, destination, options); + _callingserverClient.DownloadTo(_dummyRecordingLocation, destination, options); Assert.AreEqual(10, destination.Length); } + [Test] + public void DownloadRecordingToStream_ContentTransferOptions_Test() + { + ContentTransferOptions options = new() + { + InitialTransferSize = 10, + MaximumConcurrency = 1, + MaximumTransferSize = 5 + }; + + ContentTransferOptions options_copy = new() + { + InitialTransferSize = 10, + MaximumConcurrency = 1, + MaximumTransferSize = 5 + }; + + ContentTransferOptions options_updated = new() + { + InitialTransferSize = 11, + MaximumConcurrency = 1, + MaximumTransferSize = 5 + }; + + Assert.AreNotEqual(options.GetHashCode(), options_updated.GetHashCode()); + Assert.AreEqual(options.GetHashCode(), options_copy.GetHashCode()); + Assert.True(options.Equals(options_copy)); + Assert.True(options.Equals((object)options_copy)); + Assert.False(options.Equals(options_updated)); + } + [Test] public void DownloadNotExistentContent_Failure_Test() { - ConversationClient _convClient = CreateMockConversationClient(404); - RequestFailedException? ex = Assert.Throws(() => _convClient.DownloadStreaming(_dummyMetadataLocation)); + CallingServerClient _callingserverClient = CreateMockCallingServerClient(404); + RequestFailedException? ex = Assert.Throws(() => _callingserverClient.DownloadStreaming(_dummyMetadataLocation)); Assert.NotNull(ex); Assert.AreEqual(ex?.Status, 404); } @@ -139,8 +169,8 @@ public void DownloadNotExistentContent_Failure_Test() [Test] public void DownloadNotExistentContentAsync_Failure_Test() { - ConversationClient _convClient = CreateMockConversationClient(404); - RequestFailedException? ex = Assert.ThrowsAsync(async () => await _convClient.DownloadStreamingAsync(_dummyMetadataLocation)); + CallingServerClient _callingserverClient = CreateMockCallingServerClient(404); + RequestFailedException? ex = Assert.ThrowsAsync(async () => await _callingserverClient.DownloadStreamingAsync(_dummyMetadataLocation)); Assert.NotNull(ex); Assert.AreEqual(ex?.Status, 404); } @@ -148,8 +178,8 @@ public void DownloadNotExistentContentAsync_Failure_Test() [Test] public void AccessDenied_Failure_Test() { - ConversationClient _convClient = CreateMockConversationClient(401); - RequestFailedException? ex = Assert.Throws(() => _convClient.DownloadStreaming(_dummyMetadataLocation)); + CallingServerClient _callingserverClient = CreateMockCallingServerClient(401); + RequestFailedException? ex = Assert.Throws(() => _callingserverClient.DownloadStreaming(_dummyMetadataLocation)); Assert.NotNull(ex); Assert.AreEqual(ex?.Status, 401); } @@ -157,8 +187,8 @@ public void AccessDenied_Failure_Test() [Test] public void AccessDeniedAsync_Failure_Test() { - ConversationClient _convClient = CreateMockConversationClient(401); - RequestFailedException? ex = Assert.ThrowsAsync(async () => await _convClient.DownloadStreamingAsync(_dummyMetadataLocation)); + CallingServerClient _callingserverClient = CreateMockCallingServerClient(401); + RequestFailedException? ex = Assert.ThrowsAsync(async () => await _callingserverClient.DownloadStreamingAsync(_dummyMetadataLocation)); Assert.NotNull(ex); Assert.AreEqual(ex?.Status, 401); } @@ -183,9 +213,9 @@ public void ParallelDownloadWithInvalidRangeFirst() MaximumTransferSize = 5 }; - ConversationClient _convClient = CreateMockConversationClient(new MockResponse[] { invalidResponse, validResponse1, validResponse2 }); + CallingServerClient _callingserverClient = CreateMockCallingServerClient(new MockResponse[] { invalidResponse, validResponse1, validResponse2 }); Stream destination = new MemoryStream(); - _convClient.DownloadTo(_dummyRecordingLocation, destination, options); + _callingserverClient.DownloadTo(_dummyRecordingLocation, destination, options); Assert.AreEqual(10, destination.Length); } @@ -210,9 +240,9 @@ public async Task ParallelDownloadWithInvalidRangeFirstAsync() MaximumTransferSize = 5 }; - ConversationClient _convClient = CreateMockConversationClient(new MockResponse[] { invalidResponse, validResponse1, validResponse2 }); + CallingServerClient _callingserverClient = CreateMockCallingServerClient(new MockResponse[] { invalidResponse, validResponse1, validResponse2 }); Stream destination = new MemoryStream(); - await _convClient.DownloadToAsync(_dummyRecordingLocation, destination, options); + await _callingserverClient.DownloadToAsync(_dummyRecordingLocation, destination, options); Assert.AreEqual(10, destination.Length); } diff --git a/sdk/communication/Azure.Communication.CallingServer/tests/ConversationClients/ConversationClientBaseTests.cs b/sdk/communication/Azure.Communication.CallingServer/tests/ConversationClients/ConversationClientBaseTests.cs deleted file mode 100644 index 00970201d3a6..000000000000 --- a/sdk/communication/Azure.Communication.CallingServer/tests/ConversationClients/ConversationClientBaseTests.cs +++ /dev/null @@ -1,59 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. - -using System; -using Azure.Core; -using Azure.Core.TestFramework; - -namespace Azure.Communication.CallingServer.Tests.ConversationClients -{ - public class ConversationClientBaseTests - { - private const string dummyAccessKey = "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9+eyJzdWIiOiIxMjM0NTY3ODkwIiwibmFtZSI6IkpvaG4gRG9lIiwiaWF0IjoxNTE2MjM5MDIyfQ+SflKxwRJSMeKKF2QT4fwpMeJf36POk6yJV+adQssw5c="; - public ConversationClient CreateMockConversationClient(int statusCode, object? content = null, HttpHeader[]? httpHeaders = null) - { - var uri = new Uri("https://acs.dummyresource.com"); - var communicationTokenCredential = - new AzureKeyCredential(dummyAccessKey); - var mockResponse = new MockResponse(statusCode); - if (content != null) - { - if (content.GetType() == typeof(string)) - mockResponse.SetContent((string)content); - else if (content.GetType() == typeof(byte[])) - mockResponse.SetContent((byte[])content); - } - - if (httpHeaders != null) - { - for (int i = 0; i < httpHeaders.Length; i++) - { - mockResponse.AddHeader(httpHeaders[i]); - } - } - - var callClientOptions = new CallClientOptions - { - Transport = new MockTransport(mockResponse) - }; - - var convClient = new ConversationClient(uri, communicationTokenCredential, callClientOptions); - return convClient; - } - - public ConversationClient CreateMockConversationClient(MockResponse[] mockResponses) - { - var uri = new Uri("https://acs.dummyresource.com"); - var communicationTokenCredential = - new AzureKeyCredential(dummyAccessKey); - - var callClientOptions = new CallClientOptions - { - Transport = new MockTransport(mockResponses) - }; - - var convClient = new ConversationClient(uri, communicationTokenCredential, callClientOptions); - return convClient; - } - } -} diff --git a/sdk/communication/Azure.Communication.CallingServer/tests/ConversationClients/ConversationClientsTests.cs b/sdk/communication/Azure.Communication.CallingServer/tests/ConversationClients/ConversationClientsTests.cs deleted file mode 100644 index 7e127e3e16ec..000000000000 --- a/sdk/communication/Azure.Communication.CallingServer/tests/ConversationClients/ConversationClientsTests.cs +++ /dev/null @@ -1,208 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. - -using System; -using System.Collections.Generic; -using System.Linq.Expressions; -using System.Net; -using System.Threading.Tasks; -using Azure.Communication.CallingServer.Tests.ConversationClients; -using Azure.Core; -using Azure.Core.TestFramework; -using NUnit.Framework; - -namespace Azure.Communication.CallingServer.Tests -{ - public class ConversationClientsTests : ConversationClientBaseTests - { - private const string DummyStartRecordingResponse = "{" + - "\"recordingId\": \"dummyRecordingId\"" + - "}"; - private const string DummyRecordingStateResponse = "{" + - "\"recordingState\": \"active\"" + - "}"; - - private const string DummyPlayAudioResponse = "{" + - "\"id\": \"dummyId\"," + - "\"status\": \"running\"," + - "\"operationContext\": \"dummyOperationContext\"," + - "\"resultInfo\": {" + - "\"code\": 200," + - "\"subcode\": 200," + - "\"message\": \"dummyMessage\"" + - "}" + - "}"; - - [TestCaseSource(nameof(TestData_StartRecording))] - public void StartRecording_Returns200Ok(string sampleConversationId, Uri sampleCallBackUri) - { - ConversationClient _convClient = CreateMockConversationClient(200, DummyStartRecordingResponse); - StartCallRecordingResponse response = _convClient.StartRecording(sampleConversationId, sampleCallBackUri); - Assert.AreEqual("dummyRecordingId", response.RecordingId); - } - - [TestCaseSource(nameof(TestData_StartRecording))] - public async Task StartRecordingAsync_Returns200Ok(string sampleConversationId, Uri sampleCallBackUri) - { - ConversationClient _convClient = CreateMockConversationClient(200, DummyStartRecordingResponse); - Response response = await _convClient.StartRecordingAsync(sampleConversationId, sampleCallBackUri); - Assert.AreEqual("dummyRecordingId", response.Value.RecordingId); - } - - [TestCaseSource(nameof(TestData_StopRecording))] - public void StopRecording_Return200Ok(string sampleConversationId, string sampleRecordingId) - { - ConversationClient _convClient = CreateMockConversationClient(200); - Response response = _convClient.StopRecording(sampleConversationId, sampleRecordingId); - var temp = response.Status; - Assert.AreEqual((int)HttpStatusCode.OK, response.Status); - } - - [TestCaseSource(nameof(TestData_StopRecording))] - public async Task StopRecordingAsync_Return200Ok(string sampleConversationId, string sampleRecordingId) - { - ConversationClient _convClient = CreateMockConversationClient(200); - Response response = await _convClient.StopRecordingAsync(sampleConversationId, sampleRecordingId); - Assert.AreEqual((int)HttpStatusCode.OK, response.Status); - } - - [TestCaseSource(nameof(TestData_PauseRecording))] - public void PauseRecording_Return200Ok(string sampleConversationId, string sampleRecordingId) - { - ConversationClient _convClient = CreateMockConversationClient(200); - Response response = _convClient.PauseRecording(sampleConversationId, sampleRecordingId); - Assert.AreEqual((int)HttpStatusCode.OK, response.Status); - } - - [TestCaseSource(nameof(TestData_PauseRecording))] - public async Task PauseRecordingAsync_Return200Ok(string sampleConversationId, string sampleRecordingId) - { - ConversationClient _convClient = CreateMockConversationClient(200); - Response response = await _convClient.PauseRecordingAsync(sampleConversationId, sampleRecordingId); - Assert.AreEqual((int)HttpStatusCode.OK, response.Status); - } - - [TestCaseSource(nameof(TestData_ResumeRecording))] - public void ResumeRecording_Return200Ok(string sampleConversationId, string sampleRecordingId) - { - ConversationClient _convClient = CreateMockConversationClient(200); - Response response = _convClient.ResumeRecording(sampleConversationId, sampleRecordingId); - Assert.AreEqual((int)HttpStatusCode.OK, response.Status); - } - - [TestCaseSource(nameof(TestData_ResumeRecording))] - public async Task ResumeRecordingAsync_Return200Ok(string sampleConversationId, string sampleRecordingId) - { - ConversationClient _convClient = CreateMockConversationClient(200); - Response response = await _convClient.ResumeRecordingAsync(sampleConversationId, sampleRecordingId); - Assert.AreEqual((int)HttpStatusCode.OK, response.Status); - } - - [TestCaseSource(nameof(TestData_GetRecordingState))] - public void GetRecordingState_Return200Ok(string sampleConversationId, string sampleRecordingId) - { - ConversationClient _convClient = CreateMockConversationClient(200, DummyRecordingStateResponse); - GetCallRecordingStateResponse response = _convClient.GetRecordingState(sampleConversationId, sampleRecordingId); - Assert.AreEqual(CallRecordingState.Active, response.RecordingState); - } - - [TestCaseSource(nameof(TestData_GetRecordingState))] - public async Task GetRecordingStateAsync_Return200Ok(string sampleConversationId, string sampleRecordingId) - { - ConversationClient _convClient = CreateMockConversationClient(200, DummyRecordingStateResponse); - Response response = await _convClient.GetRecordingStateAsync(sampleConversationId, sampleRecordingId); - Assert.AreEqual(CallRecordingState.Active, response.Value.RecordingState); - } - - [TestCaseSource(nameof(TestData_PlayAudio))] - public void PlayAudio_Return202Accepted(string sampleConversationId, Uri sampleAudioFileUri, string sampleAudioFileId, Uri sampleCallbackUri, string sampleOperationContext) - { - ConversationClient _convClient = CreateMockConversationClient(202, DummyPlayAudioResponse); - PlayAudioResponse response = _convClient.PlayAudio(sampleConversationId, sampleAudioFileUri, sampleAudioFileId, sampleCallbackUri, sampleOperationContext); - VerifyPlayAudioResponse(response); - } - - [TestCaseSource(nameof(TestData_PlayAudio))] - public async Task PlayAudioAsync_Return202Accepted(string sampleConversationId, Uri sampleAudioFileUri, string sampleAudioFileId, Uri sampleCallbackUri, string sampleOperationContext) - { - ConversationClient _convClient = CreateMockConversationClient(202, DummyPlayAudioResponse); - Response response = await _convClient.PlayAudioAsync(sampleConversationId, sampleAudioFileUri, sampleAudioFileId, sampleCallbackUri, sampleOperationContext); - VerifyPlayAudioResponse(response); - } - - private void VerifyPlayAudioResponse(PlayAudioResponse response) - { - Assert.AreEqual("dummyId", response.Id); - Assert.AreEqual(OperationStatus.Running, response.Status); - Assert.AreEqual("dummyOperationContext", response.OperationContext); - Assert.AreEqual(200, response.ResultInfo.Code); - Assert.AreEqual("dummyMessage", response.ResultInfo.Message); - } - - private static IEnumerable TestData_StartRecording() - { - return new List(){ - new object?[] { - "sampleConversationId", - new Uri("https://somecallbackurl"), - }, - }; - } - - private static IEnumerable TestData_StopRecording() - { - return new List(){ - new object?[] { - "sampleConversationId", - "sampleRecordingId", - }, - }; - } - - private static IEnumerable TestData_PauseRecording() - { - return new List(){ - new object?[] { - "sampleConversationId", - "sampleRecordingId", - }, - }; - } - - private static IEnumerable TestData_ResumeRecording() - { - return new List(){ - new object?[] { - "sampleConversationId", - "sampleRecordingId", - }, - }; - } - - private static IEnumerable TestData_GetRecordingState() - { - return new List(){ - new object?[] { - "sampleConversationId", - "sampleRecordingId", - }, - }; - } - - private static IEnumerable TestData_PlayAudio() - { - return new List(){ - new object?[] { - "sampleConversationId", - new Uri("https://av.ngrok.io/audio/sample-message.wav"), - "sampleAudioFileId", - new Uri("https://av.ngrok.io/someCallbackUri"), - "sampleOperationContext", - } - }; - } - - private static Expression> BuildExpression(Expression> expression) - => expression; - } -} diff --git a/sdk/communication/Azure.Communication.CallingServer/tests/Events/EventTests.cs b/sdk/communication/Azure.Communication.CallingServer/tests/Events/EventTests.cs new file mode 100644 index 000000000000..9fc788a8afb2 --- /dev/null +++ b/sdk/communication/Azure.Communication.CallingServer/tests/Events/EventTests.cs @@ -0,0 +1,112 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +using System.Linq; +using NUnit.Framework; + +namespace Azure.Communication.CallingServer.Tests.Events +{ + public class EventTests : CallingServerTestBase + { + [Test] + public void CallRecordingStateChangeEventTest() + { + var json = "{\"recordingId\":\"id\",\"state\":\"active\",\"startDateTime\":\"2021-06-18T18:59:23.5718812-07:00\",\"serverCallId\":\"callServerId\"}"; + + var c = CallRecordingStateChangeEvent.Deserialize(json); + + Assert.AreEqual("id", c.RecordingId); + Assert.AreEqual(CallRecordingState.Active, c.State); + Assert.AreEqual("callServerId", c.ServerCallId); + Assert.AreEqual("2021-06-18", c.StartDateTime.ToString("yyyy-MM-dd")); + } + + [Test] + public void CallConnectionStateChangedEventTest() + { + var json = "{\"serverCallId\":\"serverCallId\",\"callConnectionId\":\"callConnectionId\",\"callConnectionState\":\"connected\"}"; + + var c = CallConnectionStateChangedEvent.Deserialize(json); + + Assert.AreEqual("serverCallId", c.ServerCallId); + Assert.AreEqual("callConnectionId", c.CallConnectionId); + Assert.AreEqual(CallConnectionState.Connected, c.CallConnectionState); + } + + [Test] + public void AddParticipantResultEventTest() + { + var json = "{\"resultInfo\":{\"code\":400,\"subcode\":415,\"message\":\"failure message\"},\"operationContext\":\"operatingContext\",\"status\":\"failed\"}"; + + var c = AddParticipantResultEvent.Deserialize(json); + + Assert.AreEqual("operatingContext", c.OperationContext); + Assert.AreEqual(OperationStatus.Failed, c.Status); + Assert.IsNotNull(c.ResultInfo); + Assert.AreEqual(400, c.ResultInfo.Code); + Assert.AreEqual(415, c.ResultInfo.Subcode); + Assert.AreEqual("failure message", c.ResultInfo.Message); + + json = "{\"operationContext\":\"operatingContext\",\"status\":\"running\"}"; + c = AddParticipantResultEvent.Deserialize(json); + + Assert.AreEqual("operatingContext", c.OperationContext); + Assert.AreEqual(OperationStatus.Running, c.Status); + Assert.IsNull(c.ResultInfo); + } + + [Test] + public void PlayAudioResultEventTest() + { + var json = "{\"resultInfo\":{\"code\":500,\"subcode\":505,\"message\":\"failure message\"},\"operationContext\":\"operatingContext\",\"status\":\"failed\"}"; + + var c = PlayAudioResultEvent.Deserialize(json); + + Assert.AreEqual("operatingContext", c.OperationContext); + Assert.AreEqual(OperationStatus.Failed, c.Status); + Assert.IsNotNull(c.ResultInfo); + Assert.AreEqual(500, c.ResultInfo.Code); + Assert.AreEqual(505, c.ResultInfo.Subcode); + Assert.AreEqual("failure message", c.ResultInfo.Message); + + json = "{\"operationContext\":\"operatingContext\",\"status\":\"completed\"}"; + c = PlayAudioResultEvent.Deserialize(json); + + Assert.AreEqual("operatingContext", c.OperationContext); + Assert.AreEqual(OperationStatus.Completed, c.Status); + Assert.IsNull(c.ResultInfo); + } + + [Test] + public void ToneReceivedEventTest() + { + var json = "{\"toneInfo\":{\"sequenceId\":1,\"tone\":\"A\"},\"callConnectionId\": \"8e6ff9fd-dd81-47f9-963a-1989bb95779c\"}"; + + var c = ToneReceivedEvent.Deserialize(json); + + Assert.AreEqual("8e6ff9fd-dd81-47f9-963a-1989bb95779c", c.CallConnectionId); + Assert.IsNotNull(c.ToneInfo); + Assert.AreEqual(1, c.ToneInfo.SequenceId); + Assert.AreEqual(ToneValue.A, c.ToneInfo.Tone); + } + + [Test] + [Ignore("Issue will fix later: A property 'phoneNumber' defined as non-nullable but received as null from the service.")] + public void ParticipantUpdatedEventTest() + { + var json = "{\"callConnectionId\":\"c0623fc9-f723-44e1-b18e-ec2da390fba0\",\"participants\":[{\"identifier\":{\"rawId\":\"8:acs:resource_guid1\",\"communicationUser\":{\"id\":\"8:acs:resource_guid1\"},\"phoneNumber\":null,\"microsoftTeamsUser\":null},\"participantId\":\"participant1\",\"isMuted\":false},{\"identifier\":{\"rawId\":\"8:acs:resource_guid2\",\"communicationUser\":null,\"phoneNumber\":{\"value\":\"\\u002B14250000000\"},\"microsoftTeamsUser\":null},\"participantId\":\"participant2\",\"isMuted\":true}]}"; + + var c = ParticipantsUpdatedEvent.Deserialize(json); + + Assert.AreEqual("c0623fc9-f723-44e1-b18e-ec2da390fba0", c.CallConnectionId); + Assert.IsNotNull(c.Participants); + Assert.AreEqual(2, c.Participants.Count()); + Assert.AreEqual("participant1", c.Participants.ElementAt(0).ParticipantId); + Assert.AreEqual(false, c.Participants.ElementAt(0).IsMuted); + Assert.AreEqual(new CommunicationUserIdentifier("8:acs:resource_guid1"), c.Participants.ElementAt(0).Identifier); + Assert.AreEqual("participant2", c.Participants.ElementAt(1).ParticipantId); + Assert.AreEqual(true, c.Participants.ElementAt(1).IsMuted); + Assert.AreEqual(new PhoneNumberIdentifier("+14250000000"), c.Participants.ElementAt(1).Identifier); + } + } +} diff --git a/sdk/communication/Azure.Communication.CallingServer/tests/Infrastructure/CallingServerLiveTestBase.cs b/sdk/communication/Azure.Communication.CallingServer/tests/Infrastructure/CallingServerLiveTestBase.cs index ee6201103ceb..40945c931f24 100644 --- a/sdk/communication/Azure.Communication.CallingServer/tests/Infrastructure/CallingServerLiveTestBase.cs +++ b/sdk/communication/Azure.Communication.CallingServer/tests/Infrastructure/CallingServerLiveTestBase.cs @@ -1,18 +1,92 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. +using System; +using System.Collections.Generic; using System.Threading; using System.Threading.Tasks; using Azure.Communication.Identity; using Azure.Core.TestFramework; +using NUnit.Framework; namespace Azure.Communication.CallingServer.Tests { public class CallingServerLiveTestBase : RecordedTestBase { + // Random Gen Guid + protected const string FROM_USER_IDENTIFIER = "e3560385-776f-41d1-bf04-07ef738f2f23"; + + // Random Gen Guid + protected const string TO_USER_IDENTIFIER = "e3560385-776f-41d1-bf04-07ef738f2fc1"; + + // From ACS Resource "immutableResourceId". + protected const string RESOURCE_IDENTIFIER = "016a7064-0581-40b9-be73-6dde64d69d72"; + + // Random Gen Guid + protected const string GROUP_IDENTIFIER = "3500789f-e11b-4ceb-85cb-bc8df2a01768"; + + protected string GetResourceId() + { + if (Mode == RecordedTestMode.Live) + { + return TestEnvironment.ResourceIdentifier; + } + return RESOURCE_IDENTIFIER; + } + + protected string GetRandomUserId() + { + return "8:acs:" + GetResourceId() + "_" + Guid.NewGuid().ToString(); + } + + protected string GetFixedUserId(string userGuid) + { + return "8:acs:" + GetResourceId() + "_" + userGuid; + } + + protected string GetFromUserId() + { + if (Mode == RecordedTestMode.Live) + { + return GetRandomUserId(); + } + return GetFixedUserId(FROM_USER_IDENTIFIER); + } + + protected string GetToUserId() + { + if (Mode == RecordedTestMode.Live) + { + return GetRandomUserId(); + } + return GetFixedUserId(TO_USER_IDENTIFIER); + } + + protected string GetGroupId() + { + /** + * If tests are running in live mode, we want them to all + * have unique groupId's so they do not conflict with other + * recording tests running in live mode. + */ + if (Mode == RecordedTestMode.Live) + { + return Guid.NewGuid().ToString(); + } + + /** + * For recording tests we need to make sure the groupId + * matches the recorded groupId, or the call will fail. + */ + return GROUP_IDENTIFIER; + } + public CallingServerLiveTestBase(bool isAsync) : base(isAsync) => Sanitizer = new CallingServerRecordedTestSanitizer(); + public bool SkipCallingServerInteractionLiveTests + => TestEnvironment.Mode == RecordedTestMode.Live && Environment.GetEnvironmentVariable("SKIP_CALLINGSERVER_INTERACTION_LIVE_TESTS") == "TRUE"; + /// /// Creates a with the connectionstring via environment /// variables and instruments it to make use of the Azure Core Test Framework functionalities. @@ -21,36 +95,308 @@ public CallingServerLiveTestBase(bool isAsync) : base(isAsync) protected CommunicationIdentityClient CreateInstrumentedCommunicationIdentityClient() => InstrumentClient( new CommunicationIdentityClient( - TestEnvironment.LiveTestDynamicConnectionString, + TestEnvironment.LiveTestStaticConnectionString, InstrumentClientOptions(new CommunicationIdentityClientOptions(CommunicationIdentityClientOptions.ServiceVersion.V2021_03_07)))); /// - /// Creates a + /// Creates a /// - /// The instrumented . - protected CallClient CreateInstrumentedCallingServerClient() + /// The instrumented . + protected CallingServerClient CreateInstrumentedCallingServerClient() { var connectionString = TestEnvironment.LiveTestStaticConnectionString; - CallClient client = new CallClient(connectionString, CreateServerCallingClientOptionsWithCorrelationVectorLogs()); + CallingServerClient callingServerClient = new CallingServerClient(connectionString, CreateServerCallingClientOptionsWithCorrelationVectorLogs()); #region Snippet:Azure_Communication_ServerCalling_Tests_Samples_CreateServerCallingClient //@@var connectionString = ""; // Find your Communication Services resource in the Azure portal - //@@CallClient client = new CallClient(connectionString); + //@@CallingServerClient callingServerClient = new CallingServerClient(connectionString); #endregion Snippet:Azure_Communication_ServerCalling_Tests_Samples_CreateServerCallingClient - return InstrumentClient(client); + return InstrumentClient(callingServerClient); } - protected async Task SleepIfNotInPlaybackModeAsync() + + #region Api operation functions + #region Snippet:Azure_Communication_ServerCalling_Tests_CreateGroupCallOperation + internal async Task> CreateGroupCallOperation(CallingServerClient callingServerClient, string groupId, string from, string to, string callBackUri) + { + CallConnection? fromCallConnection = null; + CallConnection? toCallConnection = null; + + try + { + CommunicationIdentifier fromParticipant = new CommunicationUserIdentifier(from); + CommunicationIdentifier toParticipant = new CommunicationUserIdentifier(to); + + JoinCallOptions fromCallOptions = new JoinCallOptions( + new Uri(callBackUri), + new MediaType[] { MediaType.Audio }, + new EventSubscriptionType[] { EventSubscriptionType.ParticipantsUpdated }); + fromCallConnection = await callingServerClient.JoinCallAsync(groupId, fromParticipant, fromCallOptions).ConfigureAwait(false); + SleepInTest(1000); + Assert.IsFalse(string.IsNullOrWhiteSpace(fromCallConnection.CallConnectionId)); + + JoinCallOptions joinCallOptions = new JoinCallOptions( + new Uri(callBackUri), + new MediaType[] { MediaType.Audio }, + new EventSubscriptionType[] { EventSubscriptionType.ParticipantsUpdated}); + + toCallConnection = await callingServerClient.JoinCallAsync(groupId, toParticipant, joinCallOptions).ConfigureAwait(false); + SleepInTest(1000); + Assert.IsFalse(string.IsNullOrWhiteSpace(toCallConnection.CallConnectionId)); + + return new CallConnection[] { fromCallConnection, toCallConnection }; + } + catch (RequestFailedException ex) + { + Console.WriteLine(ex.Message); + Assert.Fail($"Unexpected error: {ex}"); + throw; + } + catch (Exception ex) + { + Assert.Fail($"Unexpected error: {ex}"); + + if (fromCallConnection != null) + { + await fromCallConnection.HangupAsync().ConfigureAwait(false); + } + + if (toCallConnection != null) + { + await toCallConnection.HangupAsync().ConfigureAwait(false); + } + throw; + } + } + #endregion Snippet:Azure_Communication_ServerCalling_Tests_CreateGroupCallOperation + + #region Snippet:Azure_Communication_ServerCalling_Tests_CreateCallConnectionOperation + internal async Task> CreateCallConnectionOperation(CallingServerClient client) + { + CommunicationIdentityClient communicationIdentityClient = CreateInstrumentedCommunicationIdentityClient(); + var source = await CreateUserAsync(communicationIdentityClient).ConfigureAwait(false); + + var targets = new[] { new PhoneNumberIdentifier(TestEnvironment.TargetPhoneNumber) }; + var createCallOption = new CreateCallOptions( + new Uri(TestEnvironment.AppCallbackUrl), + new[] { MediaType.Audio }, + new[] { EventSubscriptionType.ParticipantsUpdated, EventSubscriptionType.DtmfReceived }); + createCallOption.AlternateCallerId = new PhoneNumberIdentifier(TestEnvironment.SourcePhoneNumber); + + Console.WriteLine("Performing CreateCall operation"); + + var callConnection = await client.CreateCallConnectionAsync(source: source, targets: targets, options: createCallOption).ConfigureAwait(false); + + Console.WriteLine("Call initiated with Call connection id: {0}", callConnection.Value.CallConnectionId); + + Assert.IsFalse(string.IsNullOrWhiteSpace(callConnection.Value.CallConnectionId)); + return callConnection; + } + #endregion Snippet:Azure_Communication_ServerCalling_Tests_CreateCallConnectionOperation + + #region Snippet:Azure_Communication_ServerCalling_Tests_PlayAudioOperation + internal async Task PlayAudioOperation(CallConnection callConnection) + { + var playAudioOptions = new PlayAudioOptions() + { + AudioFileUri = new Uri(TestEnvironment.AudioFileUrl), + OperationContext = "de346f03-7f8d-41ab-a232-cc5e14990769", + Loop = false, + AudioFileId = "ebb1d98d-fd86-4204-800c-f7bdfc2e515c" + }; + + Console.WriteLine("Performing PlayAudio operation"); + + var response = await callConnection.PlayAudioAsync(playAudioOptions).ConfigureAwait(false); + + Assert.AreEqual(response.Value.Status, OperationStatus.Running); + } + + internal async Task PlayAudioOperation(ServerCall serverCall) + { + Console.WriteLine("Performing PlayAudio operation"); + + var response = await serverCall.PlayAudioAsync( + audioFileUri: new Uri(TestEnvironment.AudioFileUrl), + audioFileId: "ebb1d98d-fd86-4204-800c-f7bdfc2e515c", + callbackUri: new Uri(TestEnvironment.AppCallbackUrl), + operationContext: "de346f03-7f8d-41ab-a232-cc5e14990769" + ).ConfigureAwait(false); + + Assert.AreEqual(response.Value.Status, OperationStatus.Running); + } + #endregion Snippet:Azure_Communication_ServerCalling_Tests_PlayAudioOperation + + #region Snippet:Azure_Communication_ServerCalling_Tests_HangupCallOperation + internal async Task HangupOperation(CallConnection callConnection) + { + Console.WriteLine("Performing Hangup operation"); + + var response = await callConnection.HangupAsync().ConfigureAwait(false); + + Assert.AreEqual(202, response.Status); + } + #endregion Snippet:Azure_Communication_ServerCalling_Tests_HangupCallOperation + + #region Snippet:Azure_Communication_ServerCalling_Tests_CancelMediaOperationsOperation + internal async Task CancelAllMediaOperationsOperation(CallConnection callConnection) + { + Console.WriteLine("Performing cancel media processing operation to stop playing audio"); + + var response = await callConnection.CancelAllMediaOperationsAsync().ConfigureAwait(false); + + Assert.AreEqual(OperationStatus.Completed, response.Value.Status); + } + + internal async Task CancelAllMediaOperationsOperation(IEnumerable callConnections) + { + Console.WriteLine("Performing cancel media processing operation to stop playing audio"); + + if (callConnections == null) + { + return; + } + foreach (CallConnection callConnection in callConnections) + { + if (callConnection != null) + { + try + { + var response = await callConnection.CancelAllMediaOperationsAsync().ConfigureAwait(false); + Assert.AreEqual(OperationStatus.Completed, response.Value.Status); + } + catch (Exception ex) + { + Console.WriteLine("Error hanging up: " + ex.Message); + } + } + } + } + #endregion Snippet:Azure_Communication_ServerCalling_Tests_CancelMediaOperationsOperation + + #region Snippet:Azure_Communication_ServerCalling_Tests_AddParticipantOperation + internal async Task AddParticipantOperation(CallConnection callConnection) + { + Console.WriteLine("Performing add participant operation to add a participant"); + + string invitedUser = GetFixedUserId("0000000a-b200-7a0d-570c-113a0d00288d"); + + var response = await callConnection.AddParticipantAsync(new CommunicationUserIdentifier(invitedUser)).ConfigureAwait(false); + + Assert.AreEqual(false, string.IsNullOrEmpty(response.Value.ParticipantId)); + + return response.Value.ParticipantId; + } + + internal async Task AddParticipantOperation(ServerCall serverCall) + { + Console.WriteLine("Performing add participant operation to add a participant"); + + string invitedUser = GetFixedUserId("0000000a-b200-7a0d-570c-113a0d00288d"); + + var response = await serverCall.AddParticipantAsync( + new CommunicationUserIdentifier(invitedUser), + callbackUri: new Uri(TestEnvironment.AppCallbackUrl) + ).ConfigureAwait(false); + + Assert.AreEqual(false, string.IsNullOrEmpty(response.Value.ParticipantId)); + + return response.Value.ParticipantId; + } + #endregion Snippet:Azure_Communication_ServerCalling_Tests_AddParticipantOperation + + #region Snippet:Azure_Communication_ServerCalling_Tests_RemoveParticipantOperation + internal async Task RemoveParticipantOperation(CallConnection callConnection, string participantId) + { + Console.WriteLine("Performing remove participant operation to remove a participant"); + + var response = await callConnection.RemoveParticipantAsync(participantId).ConfigureAwait(false); + + Assert.AreEqual(202, response.Status); + } + + internal async Task RemoveParticipantOperation(ServerCall serverCall, string participantId) + { + Console.WriteLine("Performing remove participant operation to remove a participant"); + + var response = await serverCall.RemoveParticipantAsync(participantId).ConfigureAwait(false); + + Assert.AreEqual(202, response.Status); + } + #endregion Snippet:Azure_Communication_ServerCalling_Tests_RemoveParticipantOperation + #endregion Api operation functions + + #region Support functions + private CommunicationUserIdentifier CreateUser(CommunicationIdentityClient communicationIdentityClient) + { + // reserve for living test, expect adding more content in the future. + return communicationIdentityClient.CreateUser(); + } + + private async Task CreateUserAsync(CommunicationIdentityClient communicationIdentityClient) + { + // reserve for living test, expect adding more content in the future. + return await communicationIdentityClient.CreateUserAsync(); + } + + protected async Task CleanUpConnectionsAsync(IEnumerable connections) + { + if (connections == null) + { + return; + } + foreach (CallConnection connection in connections) + { + if (connection != null) + { + try + { + await connection.HangupAsync().ConfigureAwait(false); + } + catch (Exception ex) + { + Console.WriteLine("Error hanging up: " + ex.Message); + } + } + } + } + + protected async Task SleepIfNotInPlaybackModeAsync(int milliSeconds = 10000) { if (TestEnvironment.Mode != RecordedTestMode.Playback) await Task.Delay(10000); } - private CallClientOptions CreateServerCallingClientOptionsWithCorrelationVectorLogs() + protected void SleepInTest(int milliSeconds) + { + if (Mode == RecordedTestMode.Playback) + return; + Thread.Sleep(milliSeconds); + } + + protected async Task ValidateCallRecordingStateAsync(ServerCall serverCall, + string recordingId, + CallRecordingState expectedCallRecordingState) + { + Assert.NotNull(serverCall); + Assert.NotNull(recordingId); + + // There is a delay between the action and when the state is available. + // Waiting to make sure we get the updated state, when we are running + // against a live service. + SleepInTest(6000); + + CallRecordingProperties callRecordingProperties = await serverCall.GetRecordingStateAsync(recordingId).ConfigureAwait(false); + Assert.NotNull(callRecordingProperties); + Assert.AreEqual(callRecordingProperties.RecordingState, expectedCallRecordingState); + } + + private CallingServerClientOptions CreateServerCallingClientOptionsWithCorrelationVectorLogs() { - CallClientOptions callClientOptions = new CallClientOptions(); + CallingServerClientOptions callClientOptions = new CallingServerClientOptions(); callClientOptions.Diagnostics.LoggedHeaderNames.Add("MS-CV"); return InstrumentClientOptions(callClientOptions); } + #endregion Support functions } } diff --git a/sdk/communication/Azure.Communication.CallingServer/tests/Infrastructure/CallingServerTestBase.cs b/sdk/communication/Azure.Communication.CallingServer/tests/Infrastructure/CallingServerTestBase.cs new file mode 100644 index 000000000000..ae899c237e40 --- /dev/null +++ b/sdk/communication/Azure.Communication.CallingServer/tests/Infrastructure/CallingServerTestBase.cs @@ -0,0 +1,59 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +using Azure.Core; +using Azure.Core.TestFramework; + +namespace Azure.Communication.CallingServer.Tests +{ + public class CallingServerTestBase + { + protected const string connectionString = "endpoint=https://contoso.azure.com/;accesskey=ZHVtbXlhY2Nlc3NrZXk="; + + protected const string CreateOrJoinCallPayload = "{" + + "\"callConnectionId\": \"cad9df7b-f3ac-4c53-96f7-c76e7437b3c1\"" + + "}"; + + internal CallingServerClient CreateMockCallingServerClient(int responseCode, object? responseContent = null, HttpHeader[]? httpHeaders = null) + { + var mockResponse = new MockResponse(responseCode); + + if (responseContent != null) + { + if (responseContent is string responseContentString) + { + mockResponse.SetContent(responseContentString); + } + else if (responseContent is byte[] responseContentObjectArr) + { + mockResponse.SetContent(responseContentObjectArr); + } + } + + if (httpHeaders != null) + { + for (int i = 0; i < httpHeaders.Length; i++) + { + mockResponse.AddHeader(httpHeaders[i]); + } + } + + var callingServerClientOptions = new CallingServerClientOptions + { + Transport = new MockTransport(mockResponse) + }; + + return new CallingServerClient(connectionString, callingServerClientOptions); + } + + internal CallingServerClient CreateMockCallingServerClient(params MockResponse[] mockResponses) + { + var callingServerClientOptions = new CallingServerClientOptions + { + Transport = new MockTransport(mockResponses) + }; + + return new CallingServerClient(connectionString, callingServerClientOptions); + } + } +} diff --git a/sdk/communication/Azure.Communication.CallingServer/tests/Infrastructure/CallingServerTestEnvironment.cs b/sdk/communication/Azure.Communication.CallingServer/tests/Infrastructure/CallingServerTestEnvironment.cs index fe5f29568918..7a24cbf54bd5 100644 --- a/sdk/communication/Azure.Communication.CallingServer/tests/Infrastructure/CallingServerTestEnvironment.cs +++ b/sdk/communication/Azure.Communication.CallingServer/tests/Infrastructure/CallingServerTestEnvironment.cs @@ -12,16 +12,25 @@ namespace Azure.Communication.CallingServer.Tests /// public class CallingServerTestEnvironment : CommunicationTestEnvironment { + public const string AlternateCallerId = "ALTERNATE_CALLERID"; + + public const string ResourceId = "COMMUNICATION_LIVETEST_STATIC_RESOURCE_IDENTIFIER"; + /// - /// The phone number associated with the source. + /// The phone number required to make a pstn call. /// - public string SourcePhoneNumber => GetRecordedVariable(AzurePhoneNumber, options => options.IsSecret()); + public string SourcePhoneNumber => GetRecordedVariable(AlternateCallerId, options => options.IsSecret()); /// /// The phone number associated with the source. /// public string TargetPhoneNumber => GetRecordedVariable(AzurePhoneNumber, options => options.IsSecret()); + /// + /// The resource identifier associated with the Azure Communication Service. + /// + public string ResourceIdentifier => GetRecordedVariable(ResourceId, options => options.IsSecret()); + /// /// The audio file name of the play prompt. /// diff --git a/sdk/communication/Azure.Communication.CallingServer/tests/ServerCall/ServerCallLiveTests.cs b/sdk/communication/Azure.Communication.CallingServer/tests/ServerCall/ServerCallLiveTests.cs new file mode 100644 index 000000000000..a704c082f8ad --- /dev/null +++ b/sdk/communication/Azure.Communication.CallingServer/tests/ServerCall/ServerCallLiveTests.cs @@ -0,0 +1,144 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +using System; +using System.Linq; +using System.Threading.Tasks; +using NUnit.Framework; + +namespace Azure.Communication.CallingServer.Tests +{ + /// + /// The suite of tests for the class. + /// + /// + /// These tests have a dependency on live Azure services and may incur costs for the associated + /// Azure subscription. + /// + public class ServerCallLiveTests : CallingServerLiveTestBase + { + /// + /// Initializes a new instance of the class. + /// + /// A flag used by the Azure Core Test Framework to differentiate between tests for asynchronous and synchronous methods. + public ServerCallLiveTests(bool isAsync) : base(isAsync) + { + } + + [Test] + public async Task RunAllRecordingFunctionsScenarioTests() + { + CallingServerClient callingServerClient = CreateInstrumentedCallingServerClient(); + var groupId = GetGroupId(); + try + { + // Establish a Call + var callConnections = await CreateGroupCallOperation(callingServerClient, groupId, GetFromUserId(), GetToUserId(), TestEnvironment.AppCallbackUrl).ConfigureAwait(false); + var serverCall = callingServerClient.InitializeServerCall(groupId); + + // Start Recording + StartCallRecordingResult startCallRecordingResult = await serverCall.StartRecordingAsync(new Uri(TestEnvironment.AppCallbackUrl)).ConfigureAwait(false); + var recordingId = startCallRecordingResult.RecordingId; + await ValidateCallRecordingStateAsync(serverCall, recordingId, CallRecordingState.Active).ConfigureAwait(false); + + // Pause Recording + await serverCall.PauseRecordingAsync(recordingId).ConfigureAwait(false); + await ValidateCallRecordingStateAsync(serverCall, recordingId, CallRecordingState.Inactive).ConfigureAwait(false); + + // Resume Recording + await serverCall.ResumeRecordingAsync(recordingId).ConfigureAwait(false); + await ValidateCallRecordingStateAsync(serverCall, recordingId, CallRecordingState.Active).ConfigureAwait(false); + + // Stop Recording + await serverCall.StopRecordingAsync(recordingId).ConfigureAwait(false); + + // Get Recording StateAsync + Assert.ThrowsAsync(async () => await serverCall.GetRecordingStateAsync(recordingId).ConfigureAwait(false)); + + // Hang up the Call, there is one call leg in this test case, hangup the call will also delete the call as the result. + await SleepIfNotInPlaybackModeAsync().ConfigureAwait(false); + await CleanUpConnectionsAsync(callConnections).ConfigureAwait(false); + } + catch (RequestFailedException ex) + { + Console.WriteLine(ex.Message); + Assert.Fail($"Unexpected error: {ex}"); + } + catch (Exception ex) + { + Assert.Fail($"Unexpected error: {ex}"); + } + } + + [Test] + public async Task RunCreatePlayCancelHangupScenarioTests() + { + CallingServerClient callingServerClient = CreateInstrumentedCallingServerClient(); + var groupId = GetGroupId(); + try + { + // Establish a Call + var callConnections = await CreateGroupCallOperation(callingServerClient, groupId, GetFromUserId(), GetToUserId(), TestEnvironment.AppCallbackUrl).ConfigureAwait(false); + var serverCall = callingServerClient.InitializeServerCall(groupId); + + // Play Prompt Audio + await SleepIfNotInPlaybackModeAsync().ConfigureAwait(false); + await PlayAudioOperation(serverCall).ConfigureAwait(false); + + // Cancel Prompt Audio + await SleepIfNotInPlaybackModeAsync().ConfigureAwait(false); + await CancelAllMediaOperationsOperation(callConnections).ConfigureAwait(false); + + // Hang up the Call, there is one call leg in this test case, hangup the call will also delete the call as the result. + await SleepIfNotInPlaybackModeAsync().ConfigureAwait(false); + await CleanUpConnectionsAsync(callConnections).ConfigureAwait(false); + } + catch (RequestFailedException ex) + { + Console.WriteLine(ex.Message); + Assert.Fail($"Unexpected error: {ex}"); + } + catch (Exception ex) + { + Assert.Fail($"Unexpected error: {ex}"); + } + } + + [Test] + public async Task RunCreateAddRemoveHangupScenarioTests() + { + if (SkipCallingServerInteractionLiveTests) + Assert.Ignore("Skip callingserver interaction live tests flag is on."); + + CallingServerClient callingServerClient = CreateInstrumentedCallingServerClient(); + var groupId = GetGroupId(); + try + { + // Establish a Call + var callConnections = await CreateGroupCallOperation(callingServerClient, groupId, GetFromUserId(), GetToUserId(), TestEnvironment.AppCallbackUrl).ConfigureAwait(false); + var serverCall = callingServerClient.InitializeServerCall(groupId); + + // Add Participant + await SleepIfNotInPlaybackModeAsync().ConfigureAwait(false); + var participantId = await AddParticipantOperation(serverCall).ConfigureAwait(false); + + // Remove Participant + await SleepIfNotInPlaybackModeAsync().ConfigureAwait(false); + await RemoveParticipantOperation(serverCall, participantId).ConfigureAwait(false); + + // Hang up the Call, there is one call leg in this test case, hangup the call will also delete the call as the result. + await SleepIfNotInPlaybackModeAsync().ConfigureAwait(false); + await CleanUpConnectionsAsync(callConnections).ConfigureAwait(false); + } + catch (RequestFailedException ex) + { + Console.WriteLine(ex.Message); + Assert.Fail($"Unexpected error: {ex}"); + } + catch (Exception ex) + { + Assert.Fail($"Unexpected error: {ex}"); + } + } + } +} diff --git a/sdk/communication/Azure.Communication.CallingServer/tests/ServerCall/ServerCallTests.cs b/sdk/communication/Azure.Communication.CallingServer/tests/ServerCall/ServerCallTests.cs new file mode 100644 index 000000000000..090693c64f56 --- /dev/null +++ b/sdk/communication/Azure.Communication.CallingServer/tests/ServerCall/ServerCallTests.cs @@ -0,0 +1,450 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +using System; +using System.Collections.Generic; +using System.Net; +using System.Threading.Tasks; +using NUnit.Framework; + +namespace Azure.Communication.CallingServer.Tests +{ + public class ServerCallTests : CallingServerTestBase + { + private const string DummyStartRecordingResponse = "{" + + "\"recordingId\": \"dummyRecordingId\"" + + "}"; + private const string DummyRecordingStateResponse = "{" + + "\"recordingState\": \"active\"" + + "}"; + + private const string DummyPlayAudioResponse = "{" + + "\"operationId\": \"dummyId\"," + + "\"status\": \"running\"," + + "\"operationContext\": \"dummyOperationContext\"," + + "\"resultInfo\": {" + + "\"code\": 200," + + "\"subcode\": 200," + + "\"message\": \"dummyMessage\"" + + "}" + + "}"; + + private const string AddParticipantResultPayload = "{" + + "\"participantId\": \"dummyparticipantid\"" + + "}"; + + [TestCaseSource(nameof(TestData_StartRecording))] + public async Task StartRecordingAsync_Returns200Ok(Uri sampleCallBackUri) + { + ServerCall serverCall = CreateMockServerCall(200, responseContent: DummyStartRecordingResponse); + + Response result = await serverCall.StartRecordingAsync(sampleCallBackUri); + Assert.AreEqual("dummyRecordingId", result.Value.RecordingId); + } + + [TestCaseSource(nameof(TestData_StartRecording))] + public void StartRecording_Returns200Ok(Uri sampleCallBackUri) + { + ServerCall serverCall = CreateMockServerCall(200, responseContent: DummyStartRecordingResponse); + + StartCallRecordingResult result = serverCall.StartRecording(sampleCallBackUri); + Assert.AreEqual("dummyRecordingId", result.RecordingId); + } + + [TestCaseSource(nameof(TestData_StartRecording))] + public void StartRecordingAsync_Returns404NotFound(Uri sampleCallBackUri) + { + ServerCall serverCall = CreateMockServerCall(404); + + RequestFailedException? ex = Assert.ThrowsAsync(async () => await serverCall.StartRecordingAsync(sampleCallBackUri).ConfigureAwait(false)); + Assert.NotNull(ex); + Assert.AreEqual(ex?.Status, 404); + } + + [TestCaseSource(nameof(TestData_StartRecording))] + public void StartRecording_Returns404NotFound(Uri sampleCallBackUri) + { + ServerCall serverCall = CreateMockServerCall(404); + + RequestFailedException? ex = Assert.Throws(() => serverCall.StartRecording(sampleCallBackUri)); + Assert.NotNull(ex); + Assert.AreEqual(ex?.Status, 404); + } + + [TestCaseSource(nameof(TestData_StopRecording))] + public async Task StopRecordingAsync_Return200Ok(string sampleRecordingId) + { + ServerCall serverCall = CreateMockServerCall(200); + + Response response = await serverCall.StopRecordingAsync(sampleRecordingId); + Assert.AreEqual((int)HttpStatusCode.OK, response.Status); + } + + [TestCaseSource(nameof(TestData_StopRecording))] + public void StopRecording_Return200Ok(string sampleRecordingId) + { + ServerCall serverCall = CreateMockServerCall(200); + + Response response = serverCall.StopRecording(sampleRecordingId); + Assert.AreEqual((int)HttpStatusCode.OK, response.Status); + } + + [TestCaseSource(nameof(TestData_StopRecording))] + public void StopRecordingAsync_Returns404NotFound(string sampleRecordingId) + { + ServerCall serverCall = CreateMockServerCall(404); + + RequestFailedException? ex = Assert.ThrowsAsync(async () => await serverCall.StopRecordingAsync(sampleRecordingId).ConfigureAwait(false)); + Assert.NotNull(ex); + Assert.AreEqual(ex?.Status, 404); + } + + [TestCaseSource(nameof(TestData_StopRecording))] + public void StopRecording_Returns404NotFound(string sampleRecordingId) + { + ServerCall serverCall = CreateMockServerCall(404); + + RequestFailedException? ex = Assert.Throws(() => serverCall.StopRecording(sampleRecordingId)); + Assert.NotNull(ex); + Assert.AreEqual(ex?.Status, 404); + } + + [TestCaseSource(nameof(TestData_PauseRecording))] + public async Task PauseRecordingAsync_Return200Ok(string sampleRecordingId) + { + ServerCall serverCall = CreateMockServerCall(200); + + Response response = await serverCall.PauseRecordingAsync(sampleRecordingId); + Assert.AreEqual((int)HttpStatusCode.OK, response.Status); + } + + [TestCaseSource(nameof(TestData_PauseRecording))] + public void PauseRecording_Return200Ok(string sampleRecordingId) + { + ServerCall serverCall = CreateMockServerCall(200); + + Response response = serverCall.PauseRecording(sampleRecordingId); + Assert.AreEqual((int)HttpStatusCode.OK, response.Status); + } + + [TestCaseSource(nameof(TestData_PauseRecording))] + public void PauseRecordingAsync_Returns404NotFound(string sampleRecordingId) + { + ServerCall serverCall = CreateMockServerCall(404); + + RequestFailedException? ex = Assert.ThrowsAsync(async () => await serverCall.PauseRecordingAsync(sampleRecordingId).ConfigureAwait(false)); + Assert.NotNull(ex); + Assert.AreEqual(ex?.Status, 404); + } + + [TestCaseSource(nameof(TestData_PauseRecording))] + public void PauseRecording_Returns404NotFound(string sampleRecordingId) + { + ServerCall serverCall = CreateMockServerCall(404); + + RequestFailedException? ex = Assert.Throws(() => serverCall.PauseRecording(sampleRecordingId)); + Assert.NotNull(ex); + Assert.AreEqual(ex?.Status, 404); + } + + [TestCaseSource(nameof(TestData_ResumeRecording))] + public async Task ResumeRecordingAsync_Return200Ok(string sampleRecordingId) + { + ServerCall serverCall = CreateMockServerCall(200); + + Response response = await serverCall.ResumeRecordingAsync(sampleRecordingId); + Assert.AreEqual((int)HttpStatusCode.OK, response.Status); + } + + [TestCaseSource(nameof(TestData_ResumeRecording))] + public void ResumeRecording_Return200Ok(string sampleRecordingId) + { + ServerCall serverCall = CreateMockServerCall(200); + + Response response = serverCall.ResumeRecording(sampleRecordingId); + Assert.AreEqual((int)HttpStatusCode.OK, response.Status); + } + + [TestCaseSource(nameof(TestData_ResumeRecording))] + public void ResumeRecordingAsync_Returns404NotFound(string sampleRecordingId) + { + ServerCall serverCall = CreateMockServerCall(404); + + RequestFailedException? ex = Assert.ThrowsAsync(async () => await serverCall.ResumeRecordingAsync(sampleRecordingId).ConfigureAwait(false)); + Assert.NotNull(ex); + Assert.AreEqual(ex?.Status, 404); + } + + [TestCaseSource(nameof(TestData_ResumeRecording))] + public void ResumeRecording_Returns404NotFound(string sampleRecordingId) + { + ServerCall serverCall = CreateMockServerCall(404); + + RequestFailedException? ex = Assert.Throws(() => serverCall.ResumeRecording(sampleRecordingId)); + Assert.NotNull(ex); + Assert.AreEqual(ex?.Status, 404); + } + + [TestCaseSource(nameof(TestData_GetRecordingState))] + public async Task GetRecordingStateAsync_Return200Ok(string sampleRecordingId) + { + ServerCall serverCall = CreateMockServerCall(200, responseContent: DummyRecordingStateResponse); + + Response result = await serverCall.GetRecordingStateAsync(sampleRecordingId); + Assert.AreEqual(CallRecordingState.Active, result.Value.RecordingState); + } + + [TestCaseSource(nameof(TestData_GetRecordingState))] + public void GetRecordingState_Return200Ok(string sampleRecordingId) + { + ServerCall serverCall = CreateMockServerCall(200, responseContent: DummyRecordingStateResponse); + + CallRecordingProperties result = serverCall.GetRecordingState(sampleRecordingId); + Assert.AreEqual(CallRecordingState.Active, result.RecordingState); + } + + [TestCaseSource(nameof(TestData_GetRecordingState))] + public void GetRecordingStateAsync_Returns404NotFound(string sampleRecordingId) + { + ServerCall serverCall = CreateMockServerCall(404); + + RequestFailedException? ex = Assert.ThrowsAsync(async () => await serverCall.GetRecordingStateAsync(sampleRecordingId).ConfigureAwait(false)); + Assert.NotNull(ex); + Assert.AreEqual(ex?.Status, 404); + } + + [TestCaseSource(nameof(TestData_GetRecordingState))] + public void GetRecordingState_Returns404NotFound(string sampleRecordingId) + { + ServerCall serverCall = CreateMockServerCall(404); + + RequestFailedException? ex = Assert.Throws(() => serverCall.GetRecordingState(sampleRecordingId)); + Assert.NotNull(ex); + Assert.AreEqual(ex?.Status, 404); + } + + [TestCaseSource(nameof(TestData_PlayAudio))] + public async Task PlayAudioAsync_Return202Accepted(Uri sampleAudioFileUri, string sampleAudioFileId, Uri sampleCallbackUri, string sampleOperationContext) + { + ServerCall serverCall = CreateMockServerCall(202, responseContent: DummyPlayAudioResponse); + + Response result = await serverCall.PlayAudioAsync(sampleAudioFileUri, sampleAudioFileId, sampleCallbackUri, sampleOperationContext); + VerifyPlayAudioResult(result); + } + + [TestCaseSource(nameof(TestData_PlayAudio))] + public void PlayAudio_Return202Accepted(Uri sampleAudioFileUri, string sampleAudioFileId, Uri sampleCallbackUri, string sampleOperationContext) + { + ServerCall serverCall = CreateMockServerCall(202, responseContent: DummyPlayAudioResponse); + + PlayAudioResult result = serverCall.PlayAudio(sampleAudioFileUri, sampleAudioFileId, sampleCallbackUri, sampleOperationContext); + VerifyPlayAudioResult(result); + } + + [TestCaseSource(nameof(TestData_PlayAudio))] + public void PlayAudioAsync_Returns404NotFound(Uri sampleAudioFileUri, string sampleAudioFileId, Uri sampleCallbackUri, string sampleOperationContext) + { + ServerCall serverCall = CreateMockServerCall(404); + + RequestFailedException? ex = Assert.ThrowsAsync(async () => await serverCall.PlayAudioAsync(sampleAudioFileUri, sampleAudioFileId, sampleCallbackUri, sampleOperationContext).ConfigureAwait(false)); + Assert.NotNull(ex); + Assert.AreEqual(ex?.Status, 404); + } + + [TestCaseSource(nameof(TestData_PlayAudio))] + public void PlayAudio_Returns404NotFound(Uri sampleAudioFileUri, string sampleAudioFileId, Uri sampleCallbackUri, string sampleOperationContext) + { + ServerCall serverCall = CreateMockServerCall(404); + + RequestFailedException? ex = Assert.Throws(() => serverCall.PlayAudio(sampleAudioFileUri, sampleAudioFileId, sampleCallbackUri, sampleOperationContext)); + Assert.NotNull(ex); + Assert.AreEqual(ex?.Status, 404); + } + + [TestCaseSource(nameof(TestData_AddParticipant))] + public async Task AddParticipantsAsync_Return202Accepted(CommunicationIdentifier participant, Uri callBack, string alternateCallerId, string operationContext) + { + var serverCall = CreateMockServerCall(202, AddParticipantResultPayload); + + var response = await serverCall.AddParticipantAsync(participant, callBack, alternateCallerId, operationContext).ConfigureAwait(false); + Assert.AreEqual((int)HttpStatusCode.Accepted, response.GetRawResponse().Status); + Assert.AreEqual("dummyparticipantid", response.Value.ParticipantId); + } + + [TestCaseSource(nameof(TestData_AddParticipant))] + public void AddParticipants_Return202Accepted(CommunicationIdentifier participant, Uri callBack, string alternateCallerId, string operationContext) + { + var serverCall = CreateMockServerCall(202, AddParticipantResultPayload); + + var response = serverCall.AddParticipant(participant, callBack, alternateCallerId, operationContext); + Assert.AreEqual((int)HttpStatusCode.Accepted, response.GetRawResponse().Status); + Assert.AreEqual("dummyparticipantid", response.Value.ParticipantId); + } + + [TestCaseSource(nameof(TestData_AddParticipant))] + public void AddParticipantsAsync_Returns404NotFound(CommunicationIdentifier participant, Uri callBack, string alternateCallerId, string operationContext) + { + var serverCall = CreateMockServerCall(404); + + RequestFailedException? ex = Assert.ThrowsAsync(async () => await serverCall.AddParticipantAsync(participant, callBack, alternateCallerId, operationContext).ConfigureAwait(false)); + Assert.NotNull(ex); + Assert.AreEqual(ex?.Status, 404); + } + + [TestCaseSource(nameof(TestData_AddParticipant))] + public void AddParticipants_Returns404NotFound(CommunicationIdentifier participant, Uri callBack, string alternateCallerId, string operationContext) + { + var serverCall = CreateMockServerCall(404); + + RequestFailedException? ex = Assert.Throws(() => serverCall.AddParticipant(participant, callBack, alternateCallerId, operationContext)); + Assert.NotNull(ex); + Assert.AreEqual(ex?.Status, 404); + } + + [TestCaseSource(nameof(TestData_ParticipantId))] + public async Task RemoveParticipantsAsync_Return202Accepted(string participantId) + { + var serverCall = CreateMockServerCall(202); + + var response = await serverCall.RemoveParticipantAsync(participantId).ConfigureAwait(false); + Assert.AreEqual((int)HttpStatusCode.Accepted, response.Status); + } + + [TestCaseSource(nameof(TestData_ParticipantId))] + public void RemoveParticipants_Return202Accepted(string participantId) + { + var serverCall = CreateMockServerCall(202); + + var response = serverCall.RemoveParticipant(participantId); + Assert.AreEqual((int)HttpStatusCode.Accepted, response.Status); + } + + [TestCaseSource(nameof(TestData_ParticipantId))] + public void RemoveParticipantsAsync_Returns404NotFound(string participantId) + { + var serverCall = CreateMockServerCall(404); + + RequestFailedException? ex = Assert.ThrowsAsync(async () => await serverCall.RemoveParticipantAsync(participantId).ConfigureAwait(false)); + Assert.NotNull(ex); + Assert.AreEqual(ex?.Status, 404); + } + + [TestCaseSource(nameof(TestData_ParticipantId))] + public void RemoveParticipants_Returns404NotFound(string participantId) + { + var serverCall = CreateMockServerCall(404); + + RequestFailedException? ex = Assert.Throws(() => serverCall.RemoveParticipant(participantId)); + Assert.NotNull(ex); + Assert.AreEqual(ex?.Status, 404); + } + + private void VerifyPlayAudioResult(PlayAudioResult response) + { + Assert.AreEqual("dummyId", response.OperationId); + Assert.AreEqual(OperationStatus.Running, response.Status); + Assert.AreEqual("dummyOperationContext", response.OperationContext); + Assert.AreEqual(200, response.ResultInfo.Code); + Assert.AreEqual("dummyMessage", response.ResultInfo.Message); + } + + private static IEnumerable TestData_StartRecording() + { + return new[] + { + new object?[] + { + new Uri("https://somecallbackurl"), + }, + }; + } + + private static IEnumerable TestData_StopRecording() + { + return new[] + { + new object?[] + { + "sampleRecordingId", + }, + }; + } + + private static IEnumerable TestData_PauseRecording() + { + return new[] + { + new object?[] + { + "sampleRecordingId", + }, + }; + } + + private static IEnumerable TestData_ResumeRecording() + { + return new[] + { + new object?[] + { + "sampleRecordingId", + }, + }; + } + + private static IEnumerable TestData_GetRecordingState() + { + return new[] + { + new object?[] + { + "sampleRecordingId", + }, + }; + } + + private static IEnumerable TestData_PlayAudio() + { + return new[] + { + new object?[] + { + new Uri("https://av.ngrok.io/audio/sample-message.wav"), + "sampleAudioFileId", + new Uri("https://av.ngrok.io/someCallbackUri"), + "sampleOperationContext", + } + }; + } + + private static IEnumerable TestData_AddParticipant() + { + return new[] + { + new object?[] + { + new CommunicationUserIdentifier("8:acs:acsuserid"), + new Uri("https://bot.contoso.com/callback"), + "+14250000000", + "dummycontext" + }, + }; + } + + private static IEnumerable TestData_ParticipantId() + { + return new[] + { + new object?[] + { + "66c76529-3e58-45bf-9592-84eadd52bc81" + }, + }; + } + + private ServerCall CreateMockServerCall(int responseCode, string? responseContent = null, string serverCallId = "sampleServerCallId") + { + return CreateMockCallingServerClient(responseCode, responseContent).InitializeServerCall(serverCallId); + } + } +} diff --git a/sdk/communication/Azure.Communication.CallingServer/tests/ServerCallingClients/CallingServerClientsLiveTests.cs b/sdk/communication/Azure.Communication.CallingServer/tests/ServerCallingClients/CallingServerClientsLiveTests.cs deleted file mode 100644 index 7d411cb0844f..000000000000 --- a/sdk/communication/Azure.Communication.CallingServer/tests/ServerCallingClients/CallingServerClientsLiveTests.cs +++ /dev/null @@ -1,245 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. - -#region Snippet:Azure_Communication_ServerCalling_Tests_UsingStatements -using System; -using System.Collections.Generic; -//@@ using Azure.Communication.CallingServer; -#endregion Snippet:Azure_Communication_ServerCalling_Tests_UsingStatements -using Azure.Communication.Identity; - -using Azure.Core.TestFramework; -using NUnit.Framework; -using System.Threading.Tasks; - -namespace Azure.Communication.CallingServer.Tests -{ - /// - /// The suite of tests for the class. - /// - /// - /// These tests have a dependency on live Azure services and may incur costs for the associated - /// Azure subscription. - /// - public class CallingServerClientsLiveTests : CallingServerLiveTestBase - { - /// - /// Initializes a new instance of the class. - /// - /// A flag used by the Azure Core Test Framework to differentiate between tests for asynchronous and synchronous methods. - public CallingServerClientsLiveTests(bool isAsync) : base(isAsync) - { - } - - [Test] - public async Task CreateCallTest() - { - CallClient client = CreateInstrumentedCallingServerClient(); - try - { - await CreateCallOperation(client).ConfigureAwait(false); - } - catch (RequestFailedException ex) - { - Console.WriteLine(ex.Message); - Assert.Fail($"Unexpected error: {ex}"); - } - catch (Exception ex) - { - Assert.Fail($"Unexpected error: {ex}"); - } - } - - [Test] - public async Task DeteleCallTest() - { - CallClient client = CreateInstrumentedCallingServerClient(); - try - { - var createCallResponse = await CreateCallOperation(client).ConfigureAwait(false); - var callLegId = createCallResponse.Value.CallLegId; - - await DeteleCallOperation(client, callLegId).ConfigureAwait(false); - } - catch (RequestFailedException ex) - { - Console.WriteLine(ex.Message); - Assert.Fail($"Unexpected error: {ex}"); - } - catch (Exception ex) - { - Assert.Fail($"Unexpected error: {ex}"); - } - } - - [Test] - public async Task PlayAudioTest() - { - CallClient client = CreateInstrumentedCallingServerClient(); - try - { - var createCallResponse = await CreateCallOperation(client).ConfigureAwait(false); - var callLegId = createCallResponse.Value.CallLegId; - - await SleepIfNotInPlaybackModeAsync().ConfigureAwait(false); - await PlayAudioOperation(client, callLegId).ConfigureAwait(false); - - await DeteleCallOperation(client, callLegId).ConfigureAwait(false); - } - catch (RequestFailedException ex) - { - Console.WriteLine(ex.Message); - Assert.Fail($"Unexpected error: {ex}"); - } - catch (Exception ex) - { - Assert.Fail($"Unexpected error: {ex}"); - } - } - - [Test] - public async Task HangupCallTest() - { - CallClient client = CreateInstrumentedCallingServerClient(); - try - { - var createCallResponse = await CreateCallOperation(client).ConfigureAwait(false); - var callLegId = createCallResponse.Value.CallLegId; - - // There is one call leg in this test case, hangup the call will also delete the call as the result. - await HangupOperation(client, callLegId).ConfigureAwait(false); - } - catch (RequestFailedException ex) - { - Console.WriteLine(ex.Message); - Assert.Fail($"Unexpected error: {ex}"); - } - catch (Exception ex) - { - Assert.Fail($"Unexpected error: {ex}"); - } - } - - [Test] - public async Task CancelAllMediaOperationsTest() - { - CallClient client = CreateInstrumentedCallingServerClient(); - try - { - var createCallResponse = await CreateCallOperation(client).ConfigureAwait(false); - var callLegId = createCallResponse.Value.CallLegId; - - await SleepIfNotInPlaybackModeAsync().ConfigureAwait(false); - await PlayAudioOperation(client, callLegId).ConfigureAwait(false); - - await SleepIfNotInPlaybackModeAsync().ConfigureAwait(false); - await CancelAllMediaOperationsOperation(client, callLegId).ConfigureAwait(false); - - await DeteleCallOperation(client, callLegId).ConfigureAwait(false); - } - catch (RequestFailedException ex) - { - Console.WriteLine(ex.Message); - Assert.Fail($"Unexpected error: {ex}"); - } - catch (Exception ex) - { - Assert.Fail($"Unexpected error: {ex}"); - } - } - - #region Support functions - #region Snippet:Azure_Communication_ServerCalling_Tests_CreateCallOperation - private async Task> CreateCallOperation(CallClient client) - { - CommunicationIdentityClient communicationIdentityClient = CreateInstrumentedCommunicationIdentityClient(); - var source = await CreateUserAsync(communicationIdentityClient).ConfigureAwait(false); - - var targets = new List() { new PhoneNumberIdentifier(TestEnvironment.TargetPhoneNumber) }; - var createCallOption = new CreateCallOptions( - new Uri(TestEnvironment.AppCallbackUrl), - new List { CallModality.Audio }, - new List { EventSubscriptionType.ParticipantsUpdated, EventSubscriptionType.DtmfReceived }); - createCallOption.AlternateCallerId = new PhoneNumberIdentifier(TestEnvironment.SourcePhoneNumber); - - Console.WriteLine("Performing CreateCall operation"); - - var createCallResponse = await client.CreateCallAsync(source: source, targets: targets, options: createCallOption).ConfigureAwait(false); - - Console.WriteLine("Call initiated with Call Leg id: {0}", createCallResponse.Value.CallLegId); - - Assert.IsFalse(string.IsNullOrWhiteSpace(createCallResponse.Value.CallLegId)); - return createCallResponse; - } - #endregion Snippet:Azure_Communication_ServerCalling_Tests_CreateCallOperation - - #region Snippet:Azure_Communication_ServerCalling_Tests_DeteleCallOperation - private async Task DeteleCallOperation(CallClient client, string callLegId) - { - var response = await client.DeleteCallAsync(callLegId: callLegId).ConfigureAwait(false); - - Console.WriteLine("Delete Call with Call Leg id: {0}", callLegId); - - Assert.AreEqual(202, response.Status); - Assert.IsFalse(string.IsNullOrWhiteSpace(response.ClientRequestId)); - } - #endregion Snippet:Azure_Communication_ServerCalling_Tests_DeteleCallOperation - - #region Snippet:Azure_Communication_ServerCalling_Tests_PlayAudioOperation - private async Task PlayAudioOperation(CallClient client, string callLegId) - { - var playAudioOptions = new PlayAudioOptions() - { - AudioFileUri = new Uri(TestEnvironment.AudioFileUrl), - OperationContext = "de346f03-7f8d-41ab-a232-cc5e14990769", - Loop = true, - AudioFileId = "ebb1d98d-fd86-4204-800c-f7bdfc2e515c" - }; - - Console.WriteLine("Performing PlayAudio operation"); - - var response = await client.PlayAudioAsync(callLegId, playAudioOptions).ConfigureAwait(false); - - Assert.AreEqual(response.Value.Status, OperationStatus.Running); - } - #endregion Snippet:Azure_Communication_ServerCalling_Tests_PlayAudioOperation - - #region Snippet:Azure_Communication_ServerCalling_Tests_HangupCallOperation - private async Task HangupOperation(CallClient client, string callLegId) - { - Console.WriteLine("Performing Hangup operation"); - - var response = await client.HangupCallAsync(callLegId).ConfigureAwait(false); - - Assert.AreEqual(202, response.Status); - } - #endregion Snippet:Azure_Communication_ServerCalling_Tests_HangupCallOperation - - #region Snippet:Azure_Communication_ServerCalling_Tests_CancelMediaOperationsOperation - private async Task CancelAllMediaOperationsOperation(CallClient client, string callLegId) - { - Console.WriteLine("Performing cancel media processing operation to stop playing audio"); - - var response = await client.CancelAllMediaOperationsAsync(callLegId).ConfigureAwait(false); - - Assert.AreEqual(OperationStatus.Completed, response.Value.Status); - } - #endregion Snippet:Azure_Communication_ServerCalling_Tests_CancelMediaOperationsOperation - - #endregion - - #region Support functions - private CommunicationUserIdentifier CreateUser(CommunicationIdentityClient communicationIdentityClient) - { - // reserve for living test, expect adding more content in the future. - return communicationIdentityClient.CreateUser(); - } - - private async Task CreateUserAsync(CommunicationIdentityClient communicationIdentityClient) - { - // reserve for living test, expect adding more content in the future. - return await communicationIdentityClient.CreateUserAsync(); - } - #endregion Support functions - } -} diff --git a/sdk/communication/Azure.Communication.CallingServer/tests/ServerCallingClients/CallingServerClientsTests.cs b/sdk/communication/Azure.Communication.CallingServer/tests/ServerCallingClients/CallingServerClientsTests.cs deleted file mode 100644 index dd8d4d8bb522..000000000000 --- a/sdk/communication/Azure.Communication.CallingServer/tests/ServerCallingClients/CallingServerClientsTests.cs +++ /dev/null @@ -1,305 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. - -using System; -using System.Collections.Generic; -using System.Linq.Expressions; -using System.Threading; -using System.Threading.Tasks; -using Moq; -using NUnit.Framework; - -namespace Azure.Communication.CallingServer.Tests -{ - public class CallingServerClientsTests - { - [TestCaseSource(nameof(TestData_CreateCall))] - public async Task CreateCallAsyncOverload_Passes(CommunicationIdentifier expectedSource, IEnumerable expectedTargets, CreateCallOptions expectedOptions) - { - Mock mockClient = new Mock() { CallBase = true }; - Response? expectedResponse = default; - CancellationToken cancellationToken = new CancellationTokenSource().Token; - var callExpression = BuildExpression(x => x.CreateCallAsync(It.IsAny(), It.IsAny>(), It.IsAny(), It.IsAny())); - - mockClient - .Setup(callExpression) - .ReturnsAsync((CommunicationIdentifier source, IEnumerable targets, CreateCallOptions options, CancellationToken token) => - { - Assert.AreEqual(expectedSource, source); - Assert.AreEqual(expectedTargets, targets); - Assert.AreEqual(expectedOptions, options); - Assert.AreEqual(cancellationToken, token); - return expectedResponse = new Mock>().Object; - }); - - Response actualResponse = await mockClient.Object.CreateCallAsync(expectedSource, expectedTargets, expectedOptions, cancellationToken); - - mockClient.Verify(callExpression, Times.Once()); - Assert.AreEqual(expectedResponse, actualResponse); - } - - [TestCaseSource(nameof(TestData_CommonOperationWithCallId))] - public async Task DeleteCallAsyncOverload_Passes(string expectedCallLegId) - { - Mock mockClient = new Mock() { CallBase = true }; - Response? expectedResponse = default; - CancellationToken cancellationToken = new CancellationTokenSource().Token; - var callExpression = BuildExpression(x => x.DeleteCallAsync(It.IsAny(), It.IsAny())); - - mockClient - .Setup(callExpression) - .ReturnsAsync((string callLegId, CancellationToken token) => - { - Assert.AreEqual(expectedCallLegId, callLegId); - Assert.AreEqual(cancellationToken, token); - return expectedResponse = new Mock().Object; - }); - - Response actualResponse = await mockClient.Object.DeleteCallAsync(expectedCallLegId, cancellationToken); - - mockClient.Verify(callExpression, Times.Once()); - Assert.AreEqual(expectedResponse, actualResponse); - } - - [TestCaseSource(nameof(TestData_CommonOperationWithCallId))] - public async Task HangupCallAsyncOverload_Passes(string expectedCallLegId) - { - Mock mockClient = new Mock() { CallBase = true }; - Response? expectedResponse = default; - CancellationToken cancellationToken = new CancellationTokenSource().Token; - var callExpression = BuildExpression(x => x.HangupCallAsync(It.IsAny(), It.IsAny())); - - mockClient - .Setup(callExpression) - .ReturnsAsync((string callLegId, CancellationToken token) => - { - Assert.AreEqual(expectedCallLegId, callLegId); - Assert.AreEqual(cancellationToken, token); - return expectedResponse = new Mock().Object; - }); - - Response actualResponse = await mockClient.Object.HangupCallAsync(expectedCallLegId, cancellationToken); - - mockClient.Verify(callExpression, Times.Once()); - Assert.AreEqual(expectedResponse, actualResponse); - } - - [TestCaseSource(nameof(TestData_CancelAllMediaOperations))] - public async Task CancelMediaOperationsAsyncOverload_Passes(string expectedCallLegId, string expectedOperationContext) - { - Mock mockClient = new Mock() { CallBase = true }; - Response? expectedResponse = default; - CancellationToken cancellationToken = new CancellationTokenSource().Token; - var callExpression = BuildExpression(x => x.CancelAllMediaOperationsAsync(It.IsAny(), It.IsAny(), It.IsAny())); - - mockClient - .Setup(callExpression) - .ReturnsAsync((string callLegId, string operationContext, CancellationToken token) => - { - Assert.AreEqual(expectedCallLegId, callLegId); - Assert.AreEqual(expectedOperationContext, operationContext); - Assert.AreEqual(cancellationToken, token); - return expectedResponse = new Mock>().Object; - }); - - Response actualResponse = await mockClient.Object.CancelAllMediaOperationsAsync(expectedCallLegId, expectedOperationContext, cancellationToken); - - mockClient.Verify(callExpression, Times.Once()); - Assert.AreEqual(expectedResponse, actualResponse); - } - - [TestCaseSource(nameof(TestData_PlayAudioWithRequest))] - public async Task PlayAudioAsyncOverload_Passes(string expectedCallLegId, PlayAudioOptions expectedRequest) - { - Mock mockClient = new Mock() { CallBase = true }; - Response? expectedResponse = default; - CancellationToken cancellationToken = new CancellationTokenSource().Token; - var callExpression = BuildExpression(x => x.PlayAudioAsync(It.IsAny(), It.IsAny(), It.IsAny())); - - mockClient - .Setup(callExpression) - .ReturnsAsync((string callLegId, PlayAudioOptions request, CancellationToken token) => - { - Assert.AreEqual(expectedCallLegId, callLegId); - Assert.AreEqual(expectedRequest, request); - Assert.AreEqual(cancellationToken, token); - return expectedResponse = new Mock>().Object; - }); - - Response actualResponse = await mockClient.Object.PlayAudioAsync(expectedCallLegId, expectedRequest, cancellationToken); - - mockClient.Verify(callExpression, Times.Once()); - Assert.AreEqual(expectedResponse, actualResponse); - } - - [TestCaseSource(nameof(TestData_PlayAudioWithoutRequest))] - public async Task PlayAudioAsyncOverload_Passes(string expectedCallLegId, Uri expectedAudioFileUri, bool expectedLoop, string expectedAudioFileId, Uri expectedCallbackUri, string expectedOperationContext) - { - Mock mockClient = new Mock() { CallBase = true }; - Response? expectedResponse = default; - CancellationToken cancellationToken = new CancellationTokenSource().Token; - var callExpression = BuildExpression(x => x.PlayAudioAsync(It.IsAny(), It.IsAny(), It.IsAny(), It.IsAny(), It.IsAny(), It.IsAny(), It.IsAny())); - - mockClient - .Setup(callExpression) - .ReturnsAsync((string callLegId, Uri audioFileUri, bool loop, string audioFileId, Uri callbackUri, string operationContext, CancellationToken token) => - { - Assert.AreEqual(expectedCallLegId, callLegId); - Assert.AreEqual(expectedAudioFileUri, audioFileUri); - Assert.AreEqual(expectedLoop, loop); - Assert.AreEqual(expectedAudioFileId, audioFileId); - Assert.AreEqual(expectedCallbackUri, callbackUri); - Assert.AreEqual(expectedOperationContext, operationContext); - Assert.AreEqual(cancellationToken, token); - return expectedResponse = new Mock>().Object; - }); - - Response actualResponse = await mockClient.Object.PlayAudioAsync(expectedCallLegId, expectedAudioFileUri, expectedLoop, expectedAudioFileId, expectedCallbackUri, expectedOperationContext, cancellationToken); - - mockClient.Verify(callExpression, Times.Once()); - Assert.AreEqual(expectedResponse, actualResponse); - } - - [TestCaseSource(nameof(TestData_InviteParticipants))] - public async Task InviteParticipantsAsyncOverload_Passes(string expectedCallLegId, CommunicationIdentifier expectedParticipant, string expectedAlternateCallerId, string expectedOperationContext) - { - Mock mockClient = new Mock() { CallBase = true }; - Response? expectedResponse = default; - CancellationToken cancellationToken = new CancellationTokenSource().Token; - var callExpression = BuildExpression(x => x.AddParticipantAsync(It.IsAny(), It.IsAny(), It.IsAny(), It.IsAny(), It.IsAny())); - - mockClient - .Setup(callExpression) - .ReturnsAsync((string callLegId, CommunicationIdentifier participants, string operationContext, string alternateCallerId, CancellationToken token) => - { - Assert.AreEqual(expectedCallLegId, callLegId); - Assert.AreEqual(expectedParticipant, participants); - Assert.AreEqual(expectedOperationContext, operationContext); - Assert.AreEqual(expectedAlternateCallerId, alternateCallerId); - Assert.AreEqual(cancellationToken, token); - return expectedResponse = new Mock().Object; - }); - - Response actualResponse = await mockClient.Object.AddParticipantAsync(expectedCallLegId, expectedParticipant, expectedOperationContext, expectedAlternateCallerId, cancellationToken); - - mockClient.Verify(callExpression, Times.Once()); - Assert.AreEqual(expectedResponse, actualResponse); - } - - [TestCaseSource(nameof(TestData_RemoveParticipant))] - public async Task RemoveParticipantAsyncOverload_Passes(string expectedCallLegId, string expectedParticipantId) - { - Mock mockClient = new Mock() { CallBase = true }; - Response? expectedResponse = default; - CancellationToken cancellationToken = new CancellationTokenSource().Token; - var callExpression = BuildExpression(x => x.RemoveParticipantAsync(It.IsAny(), It.IsAny(), It.IsAny())); - - mockClient - .Setup(callExpression) - .ReturnsAsync((string callLegId, string participantId, CancellationToken token) => - { - Assert.AreEqual(expectedCallLegId, callLegId); - Assert.AreEqual(expectedParticipantId, participantId); - Assert.AreEqual(cancellationToken, token); - return expectedResponse = new Mock().Object; - }); - - Response actualResponse = await mockClient.Object.RemoveParticipantAsync(expectedCallLegId, expectedParticipantId, cancellationToken); - - mockClient.Verify(callExpression, Times.Once()); - Assert.AreEqual(expectedResponse, actualResponse); - } - - private static IEnumerable TestData_CreateCall() - { - return new List(){ - new object?[] { - new CommunicationUserIdentifier("50125645-5dca-4193-877d-4608ed2a0bc2"), - new List() { new PhoneNumberIdentifier("+14052882361") }, - new CreateCallOptions(new Uri($"https://dummy.ngrok.io/api/incident/callback?secret=h3llowW0rld"), new List { CallModality.Audio }, new List { EventSubscriptionType.ParticipantsUpdated, EventSubscriptionType.DtmfReceived }) - }, - }; - } - - private static IEnumerable TestData_CancelAllMediaOperations() - { - return new List(){ - new object?[] { - "4ab31d78-a189-4e50-afaa-f9610975b6cb", - "af82480b-6df3-4f4c-a58c-a6a78b614b36" - }, - }; - } - - private static IEnumerable TestData_PlayAudioWithRequest() - { - return new List(){ - new object?[] { - "4ab31d78-a189-4e50-afaa-f9610975b6cb", - new PlayAudioOptions() - { - AudioFileUri = new Uri("https://av.ngrok.io/audio/sample-message.wav"), - Loop = true, - AudioFileId = Guid.NewGuid().ToString(), - CallbackUri = new Uri("https://av.ngrok.io/someCallbackUri"), - OperationContext = Guid.NewGuid().ToString(), - } - } - }; - } - - private static IEnumerable TestData_PlayAudioWithoutRequest() - { - return new List(){ - new object?[] { - "4ab31d78-a189-4e50-afaa-f9610975b6cb", - new Uri("https://av.ngrok.io/audio/sample-message.wav"), - true, - "b76993e4-1906-4967-9a9b-feecbbccc60e", - new Uri("http://foo.com/bar"), - "af82480b-6df3-4f4c-a58c-a6a78b614b36" - } - }; - } - - private static IEnumerable TestData_CommonOperationWithCallId() - { - return new List(){ - new object?[] { - "4ab31d78-a189-4e50-afaa-f9610975b6cb", - }, - }; - } - - private static IEnumerable TestData_InviteParticipants() - { - return new List(){ - new object?[] { - "4ab31d78-a189-4e50-afaa-f9610975b6cb", - new CommunicationUserIdentifier("50125645-5dca-4193-877d-4608ed2a0bc2"), - "+14052882362", - "af82480b-6df3-4f4c-a58c-a6a78b614b36" - }, - new object?[] { - "4ab31d78-a189-4e50-afaa-f9610975b6cb", - new CommunicationUserIdentifier("50125645-5dca-4193-877d-4608ed2a0bc2"), - null, - "af82480b-6df3-4f4c-a58c-a6a78b614b36" - }, - }; - } - - private static IEnumerable TestData_RemoveParticipant() - { - return new List(){ - new object?[] { - "4ab31d78-a189-4e50-afaa-f9610975b6cb", - "bb00cdef-9f34-408d-ae95-81bce082fff5" - } - }; - } - - private static Expression> BuildExpression(Expression> expression) - => expression; - } -} diff --git a/sdk/communication/Azure.Communication.CallingServer/tests/SessionRecords/CallConnectionLiveTests/RunCreateAddRemoveHangupScenarioTests.json b/sdk/communication/Azure.Communication.CallingServer/tests/SessionRecords/CallConnectionLiveTests/RunCreateAddRemoveHangupScenarioTests.json new file mode 100644 index 000000000000..922dc8c71eba --- /dev/null +++ b/sdk/communication/Azure.Communication.CallingServer/tests/SessionRecords/CallConnectionLiveTests/RunCreateAddRemoveHangupScenarioTests.json @@ -0,0 +1,190 @@ +{ + "Entries": [ + { + "RequestUri": "https://acstestbot1.communication.azure.com/identities?api-version=2021-03-07", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json", + "Authorization": "Sanitized", + "Content-Length": "2", + "Content-Type": "application/json", + "Date": "Wed, 16 Jun 2021 00:52:24 GMT", + "traceparent": "00-ad453446efd144458f4030f69a85ca7b-f33ad15e795bbb4a-00", + "User-Agent": "azsdk-net-Communication.Identity/1.1.0-alpha.20210615.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19043 )", + "x-ms-client-request-id": "500420ef7b1dbfd0659302bbf1a9c676", + "x-ms-content-sha256": "Sanitized", + "x-ms-return-client-request-id": "true", + "x-ms-date": "Wed, 16 Jun 2021 00:52:24 GMT" + }, + "RequestBody": {}, + "StatusCode": 201, + "ResponseHeaders": { + "api-supported-versions": "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 16 Jun 2021 00:52:24 GMT", + "MS-CV": "162iTJ1JQUmpagjs6HDu9A.0", + "Request-Context": "appId=", + "Strict-Transport-Security": "max-age=2592000", + "Transfer-Encoding": "chunked", + "X-Azure-Ref": "0SEvJYAAAAABms56xYdZDS4KQbjqWKe9LV1NURURHRTA4MDgAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "X-Cache": "CONFIG_NOCACHE", + "x-ms-client-request-id": "500420ef7b1dbfd0659302bbf1a9c676", + "X-Processing-Time": "24ms" + }, + "ResponseBody": { + "identity": { + "id": "8:acs:016a7064-0581-40b9-be73-6dde64d69d72_0000000a-b22f-b8c5-99c6-593a0d001c83" + } + } + }, + { + "RequestUri": "https://acstestbot1.communication.azure.com/calling/callConnections?api-version=2021-06-15-preview", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json", + "Authorization": "Sanitized", + "Content-Length": "388", + "Content-Type": "application/json", + "Date": "Wed, 16 Jun 2021 00:52:25 GMT", + "traceparent": "00-e252cf67ca16c94999031824c913497d-0226fb31e8f2a14a-00", + "User-Agent": "azsdk-net-Communication.CallingServer/1.0.0-alpha.20210615.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19043 )", + "x-ms-client-request-id": "0c5cd4cbca7f230b8038e86378222800", + "x-ms-content-sha256": "Sanitized", + "x-ms-return-client-request-id": "true", + "x-ms-date": "Wed, 16 Jun 2021 00:52:25 GMT" + }, + "RequestBody": { + "alternateCallerId": { + "value": "Sanitized" + }, + "targets": [ + { + "phoneNumber": { + "value": "Sanitized" + } + } + ], + "source": { + "communicationUser": { + "id": "8:acs:016a7064-0581-40b9-be73-6dde64d69d72_0000000a-b22f-b8c5-99c6-593a0d001c83" + } + }, + "callbackUri": "https://dummy.ngrok.io/api/incident/callback?SecretKey=helloworld", + "requestedMediaTypes": [ + "audio" + ], + "requestedCallEvents": [ + "participantsUpdated", + "dtmfReceived" + ] + }, + "StatusCode": 201, + "ResponseHeaders": { + "Content-Length": "110", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 16 Jun 2021 00:52:27 GMT", + "X-Azure-Ref": "0SUvJYAAAAABvPeAqait7QpnfZXwtymYSV1NURURHRTA4MDgAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "X-Cache": "CONFIG_NOCACHE", + "X-Microsoft-Skype-Chain-ID": "14440d76-7512-4130-bacb-d558427658ab", + "x-ms-client-request-id": "0c5cd4cbca7f230b8038e86378222800" + }, + "ResponseBody": { + "callLegId": "b21f1300-058d-40e5-88e6-fb85f42be0c7", + "callConnectionId": "b21f1300-058d-40e5-88e6-fb85f42be0c7" + } + }, + { + "RequestUri": "https://acstestbot1.communication.azure.com/calling/callConnections/b21f1300-058d-40e5-88e6-fb85f42be0c7/participants?api-version=2021-06-15-preview", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json", + "Authorization": "Sanitized", + "Content-Length": "126", + "Content-Type": "application/json", + "Date": "Wed, 16 Jun 2021 00:52:43 GMT", + "User-Agent": "azsdk-net-Communication.CallingServer/1.0.0-alpha.20210615.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19043 )", + "x-ms-client-request-id": "37617bbd369c3124106ee1120009be04", + "x-ms-content-sha256": "Sanitized", + "x-ms-return-client-request-id": "true", + "x-ms-date": "Wed, 16 Jun 2021 00:52:43 GMT" + }, + "RequestBody": { + "participant": { + "communicationUser": { + "id": "8:acs:016a7064-0581-40b9-be73-6dde64d69d72_0000000a-b200-7a0d-570c-113a0d00288d" + } + } + }, + "StatusCode": 202, + "ResponseHeaders": { + "Content-Length": "56", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 16 Jun 2021 00:52:43 GMT", + "X-Azure-Ref": "0W0vJYAAAAADA2hxujqGcRpofblFZl1IyV1NURURHRTA4MDgAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "X-Cache": "CONFIG_NOCACHE", + "X-Microsoft-Skype-Chain-ID": "85234923-92c5-4e72-b593-880098baf571", + "x-ms-client-request-id": "37617bbd369c3124106ee1120009be04" + }, + "ResponseBody": { + "participantId": "ec6509bf-4263-4e92-ac07-7d08aaa2cb57" + } + }, + { + "RequestUri": "https://acstestbot1.communication.azure.com/calling/callConnections/b21f1300-058d-40e5-88e6-fb85f42be0c7/participants/ec6509bf-4263-4e92-ac07-7d08aaa2cb57?api-version=2021-06-15-preview", + "RequestMethod": "DELETE", + "RequestHeaders": { + "Accept": "application/json", + "Authorization": "Sanitized", + "Date": "Wed, 16 Jun 2021 00:53:07 GMT", + "User-Agent": "azsdk-net-Communication.CallingServer/1.0.0-alpha.20210615.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19043 )", + "x-ms-client-request-id": "e1973e776e8a253114e1d0e5936c4642", + "x-ms-content-sha256": "Sanitized", + "x-ms-return-client-request-id": "true", + "x-ms-date": "Wed, 16 Jun 2021 00:53:07 GMT" + }, + "RequestBody": null, + "StatusCode": 202, + "ResponseHeaders": { + "Content-Length": "0", + "Date": "Wed, 16 Jun 2021 00:53:07 GMT", + "X-Azure-Ref": "0c0vJYAAAAADqN7JST0F9RL5k\u002BHfjcV1yV1NURURHRTA4MDgAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "X-Cache": "CONFIG_NOCACHE", + "X-Microsoft-Skype-Chain-ID": "c5f65d20-c723-4f82-9fa3-226ac4183418", + "x-ms-client-request-id": "e1973e776e8a253114e1d0e5936c4642" + }, + "ResponseBody": [] + }, + { + "RequestUri": "https://acstestbot1.communication.azure.com/calling/callConnections/b21f1300-058d-40e5-88e6-fb85f42be0c7/:hangup?api-version=2021-06-15-preview", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json", + "Authorization": "Sanitized", + "Date": "Wed, 16 Jun 2021 00:53:19 GMT", + "User-Agent": "azsdk-net-Communication.CallingServer/1.0.0-alpha.20210615.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19043 )", + "x-ms-client-request-id": "75fe026a8e4894dab02bfb10e8f82276", + "x-ms-content-sha256": "Sanitized", + "x-ms-return-client-request-id": "true", + "x-ms-date": "Wed, 16 Jun 2021 00:53:19 GMT" + }, + "RequestBody": null, + "StatusCode": 202, + "ResponseHeaders": { + "Content-Length": "0", + "Date": "Wed, 16 Jun 2021 00:53:19 GMT", + "X-Azure-Ref": "0f0vJYAAAAAAo6ey4cUg7RpiGNenwL8PcV1NURURHRTA4MDgAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "X-Cache": "CONFIG_NOCACHE", + "X-Microsoft-Skype-Chain-ID": "961ad1bd-531c-4316-9332-3b88b5252ab6", + "x-ms-client-request-id": "75fe026a8e4894dab02bfb10e8f82276" + }, + "ResponseBody": [] + } + ], + "Variables": { + "ALTERNATE_CALLERID": "Sanitized", + "AZURE_PHONE_NUMBER": "Sanitized", + "COMMUNICATION_LIVETEST_DYNAMIC_CONNECTION_STRING": "endpoint=https://acstestbot1.communication.azure.com/;accesskey=Kg==", + "COMMUNICATION_LIVETEST_STATIC_CONNECTION_STRING": "endpoint=https://acstestbot1.communication.azure.com/;accesskey=Kg==", + "RandomSeed": "423820033" + } +} diff --git a/sdk/communication/Azure.Communication.CallingServer/tests/SessionRecords/CallConnectionLiveTests/RunCreateAddRemoveHangupScenarioTestsAsync.json b/sdk/communication/Azure.Communication.CallingServer/tests/SessionRecords/CallConnectionLiveTests/RunCreateAddRemoveHangupScenarioTestsAsync.json new file mode 100644 index 000000000000..f1e3483b56cd --- /dev/null +++ b/sdk/communication/Azure.Communication.CallingServer/tests/SessionRecords/CallConnectionLiveTests/RunCreateAddRemoveHangupScenarioTestsAsync.json @@ -0,0 +1,190 @@ +{ + "Entries": [ + { + "RequestUri": "https://acstestbot1.communication.azure.com/identities?api-version=2021-03-07", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json", + "Authorization": "Sanitized", + "Content-Length": "2", + "Content-Type": "application/json", + "Date": "Wed, 16 Jun 2021 02:47:03 GMT", + "traceparent": "00-292e0b1b32cc41429f3db26ae9429d80-ed5aa23c0bd10f4e-00", + "User-Agent": "azsdk-net-Communication.Identity/1.1.0-alpha.20210615.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19043 )", + "x-ms-client-request-id": "422c3910d41ce5e257913753e6baa3e8", + "x-ms-content-sha256": "Sanitized", + "x-ms-return-client-request-id": "true", + "x-ms-date": "Mon, 16 Jun 2021 00:52:24 GMT" + }, + "RequestBody": {}, + "StatusCode": 201, + "ResponseHeaders": { + "api-supported-versions": "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 16 Jun 2021 02:47:03 GMT", + "MS-CV": "MPQMjXEhKEejHY13Eo8/rw.0", + "Request-Context": "appId=", + "Strict-Transport-Security": "max-age=2592000", + "Transfer-Encoding": "chunked", + "X-Azure-Ref": "0J2bJYAAAAABlu4TdTO22QZLXM7FyyTcWV1NURURHRTA4MTkAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "X-Cache": "CONFIG_NOCACHE", + "x-ms-client-request-id": "422c3910d41ce5e257913753e6baa3e8", + "X-Processing-Time": "94ms" + }, + "ResponseBody": { + "identity": { + "id": "8:acs:016a7064-0581-40b9-be73-6dde64d69d72_0000000a-b298-aea0-51b9-a43a0d009a4f" + } + } + }, + { + "RequestUri": "https://acstestbot1.communication.azure.com/calling/callConnections?api-version=2021-06-15-preview", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json", + "Authorization": "Sanitized", + "Content-Length": "388", + "Content-Type": "application/json", + "Date": "Wed, 16 Jun 2021 02:47:03 GMT", + "traceparent": "00-ba51f047e1f15e429b9be83dacc29835-0f2abd848170664a-00", + "User-Agent": "azsdk-net-Communication.CallingServer/1.0.0-alpha.20210615.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19043 )", + "x-ms-client-request-id": "fc233447fe1ab89e33898d8d73fc9858", + "x-ms-content-sha256": "Sanitized", + "x-ms-return-client-request-id": "true", + "x-ms-date": "Wed, 16 Jun 2021 02:47:03 GMT" + }, + "RequestBody": { + "alternateCallerId": { + "value": "Sanitized" + }, + "targets": [ + { + "phoneNumber": { + "value": "Sanitized" + } + } + ], + "source": { + "communicationUser": { + "id": "8:acs:016a7064-0581-40b9-be73-6dde64d69d72_0000000a-b298-aea0-51b9-a43a0d009a4f" + } + }, + "callbackUri": "https://dummy.ngrok.io/api/incident/callback?SecretKey=helloworld", + "requestedMediaTypes": [ + "audio" + ], + "requestedCallEvents": [ + "participantsUpdated", + "dtmfReceived" + ] + }, + "StatusCode": 201, + "ResponseHeaders": { + "Content-Length": "110", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 16 Jun 2021 02:47:03 GMT", + "X-Azure-Ref": "0J2bJYAAAAAAcip9JfhFJR7bItClkkSSTV1NURURHRTA4MTkAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "X-Cache": "CONFIG_NOCACHE", + "X-Microsoft-Skype-Chain-ID": "11c19dc6-753f-4e13-8448-6d594fae0ab9", + "x-ms-client-request-id": "fc233447fe1ab89e33898d8d73fc9858" + }, + "ResponseBody": { + "callLegId": "761f1300-7d9c-4f8b-9a12-89c8b8941063", + "callConnectionId": "761f1300-7d9c-4f8b-9a12-89c8b8941063" + } + }, + { + "RequestUri": "https://acstestbot1.communication.azure.com/calling/callConnections/761f1300-7d9c-4f8b-9a12-89c8b8941063/participants?api-version=2021-06-15-preview", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json", + "Authorization": "Sanitized", + "Content-Length": "126", + "Content-Type": "application/json", + "Date": "Wed, 16 Jun 2021 02:47:13 GMT", + "User-Agent": "azsdk-net-Communication.CallingServer/1.0.0-alpha.20210615.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19043 )", + "x-ms-client-request-id": "cb47f7341133b4af5a8fc2eb57796400", + "x-ms-content-sha256": "Sanitized", + "x-ms-return-client-request-id": "true", + "x-ms-date": "Wed, 16 Jun 2021 02:47:13 GMT" + }, + "RequestBody": { + "participant": { + "communicationUser": { + "id": "8:acs:016a7064-0581-40b9-be73-6dde64d69d72_0000000a-b200-7a0d-570c-113a0d00288d" + } + } + }, + "StatusCode": 202, + "ResponseHeaders": { + "Content-Length": "56", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 16 Jun 2021 02:47:13 GMT", + "X-Azure-Ref": "0MWbJYAAAAAD3SA2ix3FTRK1EAxOwMLpeV1NURURHRTA4MTkAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "X-Cache": "CONFIG_NOCACHE", + "X-Microsoft-Skype-Chain-ID": "393391fb-6811-4b6b-bfbc-6c481760f8cc", + "x-ms-client-request-id": "cb47f7341133b4af5a8fc2eb57796400" + }, + "ResponseBody": { + "participantId": "905aac00-45df-4869-8da7-23c3d86db1c4" + } + }, + { + "RequestUri": "https://acstestbot1.communication.azure.com/calling/callConnections/761f1300-7d9c-4f8b-9a12-89c8b8941063/participants/905aac00-45df-4869-8da7-23c3d86db1c4?api-version=2021-06-15-preview", + "RequestMethod": "DELETE", + "RequestHeaders": { + "Accept": "application/json", + "Authorization": "Sanitized", + "Date": "Wed, 16 Jun 2021 02:47:24 GMT", + "User-Agent": "azsdk-net-Communication.CallingServer/1.0.0-alpha.20210615.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19043 )", + "x-ms-client-request-id": "02eebb81a11712169b730f934755715b", + "x-ms-content-sha256": "Sanitized", + "x-ms-return-client-request-id": "true", + "x-ms-date": "Wed, 16 Jun 2021 02:47:24 GMT" + }, + "RequestBody": null, + "StatusCode": 202, + "ResponseHeaders": { + "Content-Length": "0", + "Date": "Wed, 16 Jun 2021 02:47:23 GMT", + "X-Azure-Ref": "0PGbJYAAAAAB0vjmsevIhQ6rY3dTzcjJ\u002BV1NURURHRTA4MTkAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "X-Cache": "CONFIG_NOCACHE", + "X-Microsoft-Skype-Chain-ID": "7a7b3abc-9c90-4c51-9df6-833ea213a53a", + "x-ms-client-request-id": "02eebb81a11712169b730f934755715b" + }, + "ResponseBody": [] + }, + { + "RequestUri": "https://acstestbot1.communication.azure.com/calling/callConnections/761f1300-7d9c-4f8b-9a12-89c8b8941063/:hangup?api-version=2021-06-15-preview", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json", + "Authorization": "Sanitized", + "Date": "Wed, 16 Jun 2021 02:47:34 GMT", + "User-Agent": "azsdk-net-Communication.CallingServer/1.0.0-alpha.20210615.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19043 )", + "x-ms-client-request-id": "ef1fdef8d77335b5856fa18b3cb360b9", + "x-ms-content-sha256": "Sanitized", + "x-ms-return-client-request-id": "true", + "x-ms-date": "Wed, 16 Jun 2021 02:47:34 GMT" + }, + "RequestBody": null, + "StatusCode": 202, + "ResponseHeaders": { + "Content-Length": "0", + "Date": "Wed, 16 Jun 2021 02:47:33 GMT", + "X-Azure-Ref": "0RmbJYAAAAAClHElVugeoSprumTu1r80NV1NURURHRTA4MTkAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "X-Cache": "CONFIG_NOCACHE", + "X-Microsoft-Skype-Chain-ID": "532007e9-5790-4c08-8442-fa39e73c85f7", + "x-ms-client-request-id": "ef1fdef8d77335b5856fa18b3cb360b9" + }, + "ResponseBody": [] + } + ], + "Variables": { + "ALTERNATE_CALLERID": "Sanitized", + "AZURE_PHONE_NUMBER": "Sanitized", + "COMMUNICATION_LIVETEST_DYNAMIC_CONNECTION_STRING": "endpoint=https://acstestbot1.communication.azure.com/;accesskey=Kg==", + "COMMUNICATION_LIVETEST_STATIC_CONNECTION_STRING": "endpoint=https://acstestbot1.communication.azure.com/;accesskey=Kg==", + "RandomSeed": "398231748" + } +} diff --git a/sdk/communication/Azure.Communication.CallingServer/tests/SessionRecords/CallConnectionLiveTests/RunCreatePlayCancelHangupScenarioTests.json b/sdk/communication/Azure.Communication.CallingServer/tests/SessionRecords/CallConnectionLiveTests/RunCreatePlayCancelHangupScenarioTests.json new file mode 100644 index 000000000000..0f5067352591 --- /dev/null +++ b/sdk/communication/Azure.Communication.CallingServer/tests/SessionRecords/CallConnectionLiveTests/RunCreatePlayCancelHangupScenarioTests.json @@ -0,0 +1,197 @@ +{ + "Entries": [ + { + "RequestUri": "https://acstestbot1.communication.azure.com/identities?api-version=2021-03-07", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json", + "Authorization": "Sanitized", + "Content-Length": "2", + "Content-Type": "application/json", + "Date": "Wed, 16 Jun 2021 02:50:24 GMT", + "traceparent": "00-a4935b7252145545817d1680c4827e3a-87bf3e667c68be4c-00", + "User-Agent": "azsdk-net-Communication.Identity/1.1.0-alpha.20210615.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19043 )", + "x-ms-client-request-id": "fbc68bc12c3dc3845fed5c7c01ffddd1", + "x-ms-content-sha256": "Sanitized", + "x-ms-return-client-request-id": "true", + "x-ms-date": "Wed, 16 Jun 2021 02:50:24 GMT" + }, + "RequestBody": {}, + "StatusCode": 201, + "ResponseHeaders": { + "api-supported-versions": "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 16 Jun 2021 02:50:23 GMT", + "MS-CV": "ekKTkoxIGUSgHaoVZHgOqQ.0", + "Request-Context": "appId=", + "Strict-Transport-Security": "max-age=2592000", + "Transfer-Encoding": "chunked", + "X-Azure-Ref": "08GbJYAAAAABPf\u002BM1t1HRTIK54vGzT1XXV1NURURHRTA4MTYAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "X-Cache": "CONFIG_NOCACHE", + "x-ms-client-request-id": "fbc68bc12c3dc3845fed5c7c01ffddd1", + "X-Processing-Time": "79ms" + }, + "ResponseBody": { + "identity": { + "id": "8:acs:016a7064-0581-40b9-be73-6dde64d69d72_0000000a-b29b-bde8-71bf-a43a0d00aaf1" + } + } + }, + { + "RequestUri": "https://acstestbot1.communication.azure.com/calling/callConnections?api-version=2021-06-15-preview", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json", + "Authorization": "Sanitized", + "Content-Length": "388", + "Content-Type": "application/json", + "Date": "Wed, 16 Jun 2021 02:50:24 GMT", + "traceparent": "00-7a3f51d045d5a34ab9d82eae94b639db-fc2e806a88a7f144-00", + "User-Agent": "azsdk-net-Communication.CallingServer/1.0.0-alpha.20210615.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19043 )", + "x-ms-client-request-id": "51e8db5f086fd2d835fbe7ff672bf037", + "x-ms-content-sha256": "Sanitized", + "x-ms-return-client-request-id": "true", + "x-ms-date": "Wed, 16 Jun 2021 02:50:24 GMT" + }, + "RequestBody": { + "alternateCallerId": { + "value": "Sanitized" + }, + "targets": [ + { + "phoneNumber": { + "value": "Sanitized" + } + } + ], + "source": { + "communicationUser": { + "id": "8:acs:016a7064-0581-40b9-be73-6dde64d69d72_0000000a-b29b-bde8-71bf-a43a0d00aaf1" + } + }, + "callbackUri": "https://dummy.ngrok.io/api/incident/callback?SecretKey=helloworld", + "requestedMediaTypes": [ + "audio" + ], + "requestedCallEvents": [ + "participantsUpdated", + "dtmfReceived" + ] + }, + "StatusCode": 201, + "ResponseHeaders": { + "Content-Length": "110", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 16 Jun 2021 02:50:23 GMT", + "X-Azure-Ref": "08GbJYAAAAADtwZp4\u002BpgqQYHlj5z6/mJLV1NURURHRTA4MTYAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "X-Cache": "CONFIG_NOCACHE", + "X-Microsoft-Skype-Chain-ID": "09ee466e-f5c7-4654-aebc-f11bfcf30e2b", + "x-ms-client-request-id": "51e8db5f086fd2d835fbe7ff672bf037" + }, + "ResponseBody": { + "callLegId": "01201300-3da1-4b5a-a4a9-8a91311037b7", + "callConnectionId": "01201300-3da1-4b5a-a4a9-8a91311037b7" + } + }, + { + "RequestUri": "https://acstestbot1.communication.azure.com/calling/callConnections/01201300-3da1-4b5a-a4a9-8a91311037b7/:playAudio?api-version=2021-06-15-preview", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json", + "Authorization": "Sanitized", + "Content-Length": "190", + "Content-Type": "application/json", + "Date": "Wed, 16 Jun 2021 02:50:34 GMT", + "User-Agent": "azsdk-net-Communication.CallingServer/1.0.0-alpha.20210615.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19043 )", + "x-ms-client-request-id": "3f82b20ca43688f39cc5acb3d7942525", + "x-ms-content-sha256": "Sanitized", + "x-ms-return-client-request-id": "true", + "x-ms-date": "Wed, 16 Jun 2021 02:50:34 GMT" + }, + "RequestBody": { + "audioFileUri": "https://dummy.ngrok.io/audio/sample-message.wav", + "loop": false, + "operationContext": "de346f03-7f8d-41ab-a232-cc5e14990769", + "audioFileId": "ebb1d98d-fd86-4204-800c-f7bdfc2e515c" + }, + "StatusCode": 202, + "ResponseHeaders": { + "Content-Length": "131", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 16 Jun 2021 02:50:35 GMT", + "X-Azure-Ref": "0\u002BmbJYAAAAABJVJ32wLyhTJFAasbbuTSoV1NURURHRTA4MTYAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "X-Cache": "CONFIG_NOCACHE", + "X-Microsoft-Skype-Chain-ID": "f4f5a7e9-4240-4a0c-b510-e30c27fbc358", + "x-ms-client-request-id": "3f82b20ca43688f39cc5acb3d7942525" + }, + "ResponseBody": { + "operationId": "c2123c45-5032-425a-9883-4742f8d74722", + "status": "running", + "operationContext": "de346f03-7f8d-41ab-a232-cc5e14990769" + } + }, + { + "RequestUri": "https://acstestbot1.communication.azure.com/calling/callConnections/01201300-3da1-4b5a-a4a9-8a91311037b7/:cancelAllMediaOperations?api-version=2021-06-15-preview", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json", + "Authorization": "Sanitized", + "Content-Length": "2", + "Content-Type": "application/json", + "Date": "Wed, 16 Jun 2021 02:50:46 GMT", + "User-Agent": "azsdk-net-Communication.CallingServer/1.0.0-alpha.20210615.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19043 )", + "x-ms-client-request-id": "bf654c2b80fbb95ab2f4c64144855b34", + "x-ms-content-sha256": "Sanitized", + "x-ms-return-client-request-id": "true", + "x-ms-date": "Wed, 16 Jun 2021 02:50:46 GMT" + }, + "RequestBody": {}, + "StatusCode": 200, + "ResponseHeaders": { + "Content-Length": "75", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 16 Jun 2021 02:50:46 GMT", + "X-Azure-Ref": "0BmfJYAAAAADT6QQ\u002BcnYoSb4vevUypgooV1NURURHRTA4MTYAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "X-Cache": "CONFIG_NOCACHE", + "X-Microsoft-Skype-Chain-ID": "323a1e39-8413-4e5b-9363-25f9e9add274", + "x-ms-client-request-id": "bf654c2b80fbb95ab2f4c64144855b34" + }, + "ResponseBody": { + "operationId": "819edd7b-e769-4f4f-a1de-084beb66d8fe", + "status": "completed" + } + }, + { + "RequestUri": "https://acstestbot1.communication.azure.com/calling/callConnections/01201300-3da1-4b5a-a4a9-8a91311037b7/:hangup?api-version=2021-06-15-preview", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json", + "Authorization": "Sanitized", + "Date": "Wed, 16 Jun 2021 02:50:56 GMT", + "User-Agent": "azsdk-net-Communication.CallingServer/1.0.0-alpha.20210615.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19043 )", + "x-ms-client-request-id": "4f7024fc9e7cbb9be85fb4a95c25faa0", + "x-ms-content-sha256": "Sanitized", + "x-ms-return-client-request-id": "true", + "x-ms-date": "Wed, 16 Jun 2021 02:50:56 GMT" + }, + "RequestBody": null, + "StatusCode": 202, + "ResponseHeaders": { + "Content-Length": "0", + "Date": "Wed, 16 Jun 2021 02:50:56 GMT", + "X-Azure-Ref": "0EGfJYAAAAABIbhsKhzktR6b/JJVfRDuZV1NURURHRTA4MTYAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "X-Cache": "CONFIG_NOCACHE", + "X-Microsoft-Skype-Chain-ID": "a08d69d9-faf1-4e30-997e-7894ba55d133", + "x-ms-client-request-id": "4f7024fc9e7cbb9be85fb4a95c25faa0" + }, + "ResponseBody": [] + } + ], + "Variables": { + "ALTERNATE_CALLERID": "Sanitized", + "AZURE_PHONE_NUMBER": "Sanitized", + "COMMUNICATION_LIVETEST_DYNAMIC_CONNECTION_STRING": "endpoint=https://acstestbot1.communication.azure.com/;accesskey=Kg==", + "COMMUNICATION_LIVETEST_STATIC_CONNECTION_STRING": "endpoint=https://acstestbot1.communication.azure.com/;accesskey=Kg==", + "RandomSeed": "1479243591" + } +} diff --git a/sdk/communication/Azure.Communication.CallingServer/tests/SessionRecords/CallConnectionLiveTests/RunCreatePlayCancelHangupScenarioTestsAsync.json b/sdk/communication/Azure.Communication.CallingServer/tests/SessionRecords/CallConnectionLiveTests/RunCreatePlayCancelHangupScenarioTestsAsync.json new file mode 100644 index 000000000000..9a5b6ea567e4 --- /dev/null +++ b/sdk/communication/Azure.Communication.CallingServer/tests/SessionRecords/CallConnectionLiveTests/RunCreatePlayCancelHangupScenarioTestsAsync.json @@ -0,0 +1,197 @@ +{ + "Entries": [ + { + "RequestUri": "https://acstestbot1.communication.azure.com/identities?api-version=2021-03-07", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json", + "Authorization": "Sanitized", + "Content-Length": "2", + "Content-Type": "application/json", + "Date": "Wed, 16 Jun 2021 00:48:45 GMT", + "traceparent": "00-082a9606c14f804386d10d505e1bbb6f-ff8156e41829e04d-00", + "User-Agent": "azsdk-net-Communication.Identity/1.1.0-alpha.20210615.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19043 )", + "x-ms-client-request-id": "d76df114f6a29e3f08e7928c322e3631", + "x-ms-content-sha256": "Sanitized", + "x-ms-return-client-request-id": "true", + "x-ms-date": "Wed, 16 Jun 2021 00:48:45 GMT" + }, + "RequestBody": {}, + "StatusCode": 201, + "ResponseHeaders": { + "api-supported-versions": "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 16 Jun 2021 00:48:45 GMT", + "MS-CV": "JrXBhw0XDkSH7sNgh1pzUQ.0", + "Request-Context": "appId=", + "Strict-Transport-Security": "max-age=2592000", + "Transfer-Encoding": "chunked", + "X-Azure-Ref": "0bUrJYAAAAACG7bx3iv/rS6uGrS2DaQt7V1NURURHRTA4MDcAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "X-Cache": "CONFIG_NOCACHE", + "x-ms-client-request-id": "d76df114f6a29e3f08e7928c322e3631", + "X-Processing-Time": "88ms" + }, + "ResponseBody": { + "identity": { + "id": "8:acs:016a7064-0581-40b9-be73-6dde64d69d72_0000000a-b22c-6155-290c-113a0d00f7de" + } + } + }, + { + "RequestUri": "https://acstestbot1.communication.azure.com/calling/callConnections?api-version=2021-06-15-preview", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json", + "Authorization": "Sanitized", + "Content-Length": "388", + "Content-Type": "application/json", + "Date": "Wed, 16 Jun 2021 00:48:46 GMT", + "traceparent": "00-7570b7647491ec4c878a4ad91b88e96a-639e2d7a439d2847-00", + "User-Agent": "azsdk-net-Communication.CallingServer/1.0.0-alpha.20210615.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19043 )", + "x-ms-client-request-id": "568790ef80ccc0ab5f53da2e8862529c", + "x-ms-content-sha256": "Sanitized", + "x-ms-return-client-request-id": "true", + "x-ms-date": "Wed, 16 Jun 2021 00:48:46 GMT" + }, + "RequestBody": { + "alternateCallerId": { + "value": "Sanitized" + }, + "targets": [ + { + "phoneNumber": { + "value": "Sanitized" + } + } + ], + "source": { + "communicationUser": { + "id": "8:acs:016a7064-0581-40b9-be73-6dde64d69d72_0000000a-b22c-6155-290c-113a0d00f7de" + } + }, + "callbackUri": "https://dummy.ngrok.io/api/incident/callback?SecretKey=helloworld", + "requestedMediaTypes": [ + "audio" + ], + "requestedCallEvents": [ + "participantsUpdated", + "dtmfReceived" + ] + }, + "StatusCode": 201, + "ResponseHeaders": { + "Content-Length": "110", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 16 Jun 2021 00:48:45 GMT", + "X-Azure-Ref": "0bkrJYAAAAAC6kVNv7ge0T5Io7lDRMarfV1NURURHRTA4MDcAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "X-Cache": "CONFIG_NOCACHE", + "X-Microsoft-Skype-Chain-ID": "73cc08e4-cbd1-4f8f-950e-913e2aa0ad8a", + "x-ms-client-request-id": "568790ef80ccc0ab5f53da2e8862529c" + }, + "ResponseBody": { + "callLegId": "f11f1300-160b-444e-af99-af3e7bfcadf7", + "callConnectionId": "f11f1300-160b-444e-af99-af3e7bfcadf7" + } + }, + { + "RequestUri": "https://acstestbot1.communication.azure.com/calling/callConnections/f11f1300-160b-444e-af99-af3e7bfcadf7/:playAudio?api-version=2021-06-15-preview", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json", + "Authorization": "Sanitized", + "Content-Length": "190", + "Content-Type": "application/json", + "Date": "Wed, 16 Jun 2021 00:48:56 GMT", + "User-Agent": "azsdk-net-Communication.CallingServer/1.0.0-alpha.20210615.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19043 )", + "x-ms-client-request-id": "0afd87e15d5ca65dc5d31a3c3dc1e896", + "x-ms-content-sha256": "Sanitized", + "x-ms-return-client-request-id": "true", + "x-ms-date": "Wed, 16 Jun 2021 00:48:56 GMT" + }, + "RequestBody": { + "audioFileUri": "https://dummy.ngrok.io/audio/sample-message.wav", + "loop": false, + "operationContext": "de346f03-7f8d-41ab-a232-cc5e14990769", + "audioFileId": "ebb1d98d-fd86-4204-800c-f7bdfc2e515c" + }, + "StatusCode": 202, + "ResponseHeaders": { + "Content-Length": "131", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 16 Jun 2021 00:48:55 GMT", + "X-Azure-Ref": "0eErJYAAAAABt8OZpB3puTbyofhiChNM0V1NURURHRTA4MDcAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "X-Cache": "CONFIG_NOCACHE", + "X-Microsoft-Skype-Chain-ID": "eb19972f-dccd-4197-9b44-1a1cd278bda3", + "x-ms-client-request-id": "0afd87e15d5ca65dc5d31a3c3dc1e896" + }, + "ResponseBody": { + "operationId": "5ea3c453-7706-4aee-95c7-1e2ea0af1d36", + "status": "running", + "operationContext": "de346f03-7f8d-41ab-a232-cc5e14990769" + } + }, + { + "RequestUri": "https://acstestbot1.communication.azure.com/calling/callConnections/f11f1300-160b-444e-af99-af3e7bfcadf7/:cancelAllMediaOperations?api-version=2021-06-15-preview", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json", + "Authorization": "Sanitized", + "Content-Length": "2", + "Content-Type": "application/json", + "Date": "Wed, 16 Jun 2021 00:49:06 GMT", + "User-Agent": "azsdk-net-Communication.CallingServer/1.0.0-alpha.20210615.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19043 )", + "x-ms-client-request-id": "2245966dbd2794b646ad774f1c1116a6", + "x-ms-content-sha256": "Sanitized", + "x-ms-return-client-request-id": "true", + "x-ms-date": "Wed, 16 Jun 2021 00:49:06 GMT" + }, + "RequestBody": {}, + "StatusCode": 200, + "ResponseHeaders": { + "Content-Length": "75", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 16 Jun 2021 00:49:05 GMT", + "X-Azure-Ref": "0gkrJYAAAAADunrHo2PRzSKFESx\u002BIqirkV1NURURHRTA4MDcAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "X-Cache": "CONFIG_NOCACHE", + "X-Microsoft-Skype-Chain-ID": "fa85a42d-0f62-4a44-8383-6dd852591cce", + "x-ms-client-request-id": "2245966dbd2794b646ad774f1c1116a6" + }, + "ResponseBody": { + "operationId": "cc81a010-55da-4ecf-9fce-5cc417a43aec", + "status": "completed" + } + }, + { + "RequestUri": "https://acstestbot1.communication.azure.com/calling/callConnections/f11f1300-160b-444e-af99-af3e7bfcadf7/:hangup?api-version=2021-06-15-preview", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json", + "Authorization": "Sanitized", + "Date": "Wed, 16 Jun 2021 00:49:16 GMT", + "User-Agent": "azsdk-net-Communication.CallingServer/1.0.0-alpha.20210615.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19043 )", + "x-ms-client-request-id": "abaaf5952c3191d533e191f8666e829d", + "x-ms-content-sha256": "Sanitized", + "x-ms-return-client-request-id": "true", + "x-ms-date": "Wed, 16 Jun 2021 00:49:16 GMT" + }, + "RequestBody": null, + "StatusCode": 202, + "ResponseHeaders": { + "Content-Length": "0", + "Date": "Wed, 16 Jun 2021 00:49:15 GMT", + "X-Azure-Ref": "0jErJYAAAAACoR7Y/VapuTKF5Zc/bW/v3V1NURURHRTA4MDcAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "X-Cache": "CONFIG_NOCACHE", + "X-Microsoft-Skype-Chain-ID": "8f74d0c6-ba85-4c79-8255-9c5c541d01a1", + "x-ms-client-request-id": "abaaf5952c3191d533e191f8666e829d" + }, + "ResponseBody": [] + } + ], + "Variables": { + "ALTERNATE_CALLERID": "Sanitized", + "AZURE_PHONE_NUMBER": "Sanitized", + "COMMUNICATION_LIVETEST_DYNAMIC_CONNECTION_STRING": "endpoint=https://acstestbot1.communication.azure.com/;accesskey=Kg==", + "COMMUNICATION_LIVETEST_STATIC_CONNECTION_STRING": "endpoint=https://acstestbot1.communication.azure.com/;accesskey=Kg==", + "RandomSeed": "34829153" + } +} diff --git a/sdk/communication/Azure.Communication.CallingServer/tests/SessionRecords/CallingServerClientsLiveTests/CancelAllMediaOperationsTest.json b/sdk/communication/Azure.Communication.CallingServer/tests/SessionRecords/CallingServerClientsLiveTests/CancelAllMediaOperationsTest.json deleted file mode 100644 index f6d58f5a85f1..000000000000 --- a/sdk/communication/Azure.Communication.CallingServer/tests/SessionRecords/CallingServerClientsLiveTests/CancelAllMediaOperationsTest.json +++ /dev/null @@ -1,198 +0,0 @@ -{ - "Entries": [ - { - "RequestUri": "https://acstestbot3.communication.azure.com/identities?api-version=2021-03-07", - "RequestMethod": "POST", - "RequestHeaders": { - "Accept": "application/json", - "Authorization": "Sanitized", - "Content-Length": "2", - "Content-Type": "application/json", - "Date": "Mon, 07 Jun 2021 21:33:14 GMT", - "traceparent": "00-70ff82b91389e640b5cc378941aa7278-034203f41a895c40-00", - "User-Agent": "azsdk-net-Communication.Identity/1.1.0-alpha.20210607.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19043 )", - "x-ms-client-request-id": "3a91045fc3b28947c3bc6bb38d011636", - "x-ms-content-sha256": "Sanitized", - "x-ms-date": "Mon, 07 Jun 2021 21:33:14 GMT", - "x-ms-return-client-request-id": "true" - }, - "RequestBody": {}, - "StatusCode": 201, - "ResponseHeaders": { - "api-supported-versions": "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1", - "Content-Type": "application/json; charset=utf-8", - "Date": "Mon, 07 Jun 2021 21:33:14 GMT", - "MS-CV": "O6Rhb9vQlUaWuTXIuX9kPA.0", - "Request-Context": "appId=", - "Strict-Transport-Security": "max-age=2592000", - "Transfer-Encoding": "chunked", - "X-Azure-Ref": "0m5C\u002BYAAAAACgUupLjIauQrtNt/7YYfruV1NURURHRTA4MjAAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", - "X-Cache": "CONFIG_NOCACHE", - "x-ms-client-request-id": "3a91045fc3b28947c3bc6bb38d011636", - "X-Processing-Time": "89ms" - }, - "ResponseBody": { - "identity": { - "id": "8:acs:02665c56-277e-4c59-bab4-c475caa3ee80_0000000a-8846-8408-3ef0-8b3a0d002505" - } - } - }, - { - "RequestUri": "https://acstestbot3.communication.azure.com/calling/calls?api-version=2021-04-15-preview1", - "RequestMethod": "POST", - "RequestHeaders": { - "Accept": "application/json", - "Authorization": "Sanitized", - "Content-Length": "394", - "Content-Type": "application/json", - "Date": "Mon, 07 Jun 2021 21:33:16 GMT", - "traceparent": "00-25fd9d696df13644ae8cea5f2afda2f3-f58afde3f311ad4c-00", - "User-Agent": "azsdk-net-Communication.CallingServer/1.0.0-alpha.20210607.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19043 )", - "x-ms-client-request-id": "16f888f3262fb3425888af43511f9865", - "x-ms-content-sha256": "Sanitized", - "x-ms-date": "Mon, 07 Jun 2021 21:33:16 GMT", - "x-ms-return-client-request-id": "true" - }, - "RequestBody": { - "sourceAlternateIdentity": { - "value": "Sanitized" - }, - "targets": [ - { - "phoneNumber": { - "value": "Sanitized" - } - } - ], - "source": { - "communicationUser": { - "id": "8:acs:02665c56-277e-4c59-bab4-c475caa3ee80_0000000a-8846-8408-3ef0-8b3a0d002505" - } - }, - "callbackUri": "https://dummy.ngrok.io/api/incident/callback?SecretKey=helloworld", - "requestedModalities": [ - "audio" - ], - "requestedCallEvents": [ - "participantsUpdated", - "dtmfReceived" - ] - }, - "StatusCode": 201, - "ResponseHeaders": { - "Client-Request-Id": "270077c7-7660-46ab-bc41-c2dc2e53d946", - "Content-Length": "52", - "Content-Type": "application/json; charset=utf-8", - "Date": "Mon, 07 Jun 2021 21:33:15 GMT", - "X-Azure-Ref": "0nJC\u002BYAAAAABPo1lpCog6T7fwfYRzWtJGV1NURURHRTA4MjAAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", - "X-Cache": "CONFIG_NOCACHE", - "X-Microsoft-Skype-Chain-ID": "72273267-4def-43fc-8c34-3586fc69e2f4" - }, - "ResponseBody": { - "callLegId": "00000b80-b462-4411-b32a-c704e059f1c7" - } - }, - { - "RequestUri": "https://acstestbot3.communication.azure.com/calling/calls/00000b80-b462-4411-b32a-c704e059f1c7/PlayAudio?api-version=2021-04-15-preview1", - "RequestMethod": "POST", - "RequestHeaders": { - "Accept": "application/json", - "Authorization": "Sanitized", - "Content-Length": "189", - "Content-Type": "application/json", - "Date": "Mon, 07 Jun 2021 21:33:26 GMT", - "traceparent": "00-c2efbd308de11b47a827b3326bf1b27d-5e29db60a7534e46-00", - "User-Agent": "azsdk-net-Communication.CallingServer/1.0.0-alpha.20210607.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19043 )", - "x-ms-client-request-id": "d7a070c88562db1df7a3fef86f0a778d", - "x-ms-content-sha256": "Sanitized", - "x-ms-date": "Mon, 07 Jun 2021 21:33:26 GMT", - "x-ms-return-client-request-id": "true" - }, - "RequestBody": { - "audioFileUri": "https://dummy.ngrok.io/audio/sample-message.wav", - "loop": true, - "operationContext": "de346f03-7f8d-41ab-a232-cc5e14990769", - "audioFileId": "ebb1d98d-fd86-4204-800c-f7bdfc2e515c" - }, - "StatusCode": 202, - "ResponseHeaders": { - "Client-Request-Id": "d6422823-e979-414c-b22d-a903821bd769", - "Content-Length": "122", - "Content-Type": "application/json; charset=utf-8", - "Date": "Mon, 07 Jun 2021 21:33:26 GMT", - "X-Azure-Ref": "0ppC\u002BYAAAAACfwgh7MHw6Sqw\u002BRtn3pz6HV1NURURHRTA4MjAAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", - "X-Cache": "CONFIG_NOCACHE", - "X-Microsoft-Skype-Chain-ID": "f79370ff-9595-420b-ac80-3d773f898579" - }, - "ResponseBody": { - "id": "d32ac4dd-800f-4703-ac9e-cb2eba999b24", - "status": "running", - "operationContext": "de346f03-7f8d-41ab-a232-cc5e14990769" - } - }, - { - "RequestUri": "https://acstestbot3.communication.azure.com/calling/calls/00000b80-b462-4411-b32a-c704e059f1c7/CancelMediaProcessing?api-version=2021-04-15-preview1", - "RequestMethod": "POST", - "RequestHeaders": { - "Accept": "application/json", - "Authorization": "Sanitized", - "Content-Length": "2", - "Content-Type": "application/json", - "Date": "Mon, 07 Jun 2021 21:33:32 GMT", - "traceparent": "00-a11ec20337b7184f945d622a464e3456-914744677d3e7849-00", - "User-Agent": "azsdk-net-Communication.CallingServer/1.0.0-alpha.20210607.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19043 )", - "x-ms-client-request-id": "cd82999b133838b5c2dde129130437a3", - "x-ms-content-sha256": "Sanitized", - "x-ms-date": "Mon, 07 Jun 2021 21:33:32 GMT", - "x-ms-return-client-request-id": "true" - }, - "RequestBody": {}, - "StatusCode": 200, - "ResponseHeaders": { - "Client-Request-Id": "34145f63-32be-406c-837d-08f45da19ee6", - "Content-Length": "66", - "Content-Type": "application/json; charset=utf-8", - "Date": "Mon, 07 Jun 2021 21:33:31 GMT", - "X-Azure-Ref": "0rJC\u002BYAAAAAAb8GLZxK31RoIddYT9ETjnV1NURURHRTA4MjAAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", - "X-Cache": "CONFIG_NOCACHE", - "X-Microsoft-Skype-Chain-ID": "d6794596-646c-4457-8265-f56185996d41" - }, - "ResponseBody": { - "id": "9caedaea-d129-4875-8b32-403754f9bfd8", - "status": "completed" - } - }, - { - "RequestUri": "https://acstestbot3.communication.azure.com/calling/calls/00000b80-b462-4411-b32a-c704e059f1c7?api-version=2021-04-15-preview1", - "RequestMethod": "DELETE", - "RequestHeaders": { - "Accept": "application/json", - "Authorization": "Sanitized", - "Date": "Mon, 07 Jun 2021 21:33:40 GMT", - "traceparent": "00-06fd3b3b9a6965499644b273b94b3003-190d7b8c3ae5dd46-00", - "User-Agent": "azsdk-net-Communication.CallingServer/1.0.0-alpha.20210607.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19043 )", - "x-ms-client-request-id": "1deb06243e606ed36a1d1f8c2749434e", - "x-ms-content-sha256": "Sanitized", - "x-ms-date": "Mon, 07 Jun 2021 21:33:40 GMT", - "x-ms-return-client-request-id": "true" - }, - "RequestBody": null, - "StatusCode": 202, - "ResponseHeaders": { - "Client-Request-Id": "2be0c098-78a9-4b9c-aa40-83432b10c2ce", - "Content-Length": "0", - "Date": "Mon, 07 Jun 2021 21:33:39 GMT", - "X-Azure-Ref": "0tJC\u002BYAAAAADL\u002BNa0hATnQJK\u002BaaxYAoXAV1NURURHRTA4MjAAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", - "X-Cache": "CONFIG_NOCACHE", - "X-Microsoft-Skype-Chain-ID": "d7647a97-8419-488b-b930-c858c7b20c78" - }, - "ResponseBody": [] - } - ], - "Variables": { - "AZURE_PHONE_NUMBER": "Sanitized", - "COMMUNICATION_LIVETEST_DYNAMIC_CONNECTION_STRING": "endpoint=https://acstestbot3.communication.azure.com/;accesskey=Kg==", - "COMMUNICATION_LIVETEST_STATIC_CONNECTION_STRING": "endpoint=https://acstestbot3.communication.azure.com/;accesskey=Kg==", - "RandomSeed": "1959684932" - } -} diff --git a/sdk/communication/Azure.Communication.CallingServer/tests/SessionRecords/CallingServerClientsLiveTests/CancelAllMediaOperationsTestAsync.json b/sdk/communication/Azure.Communication.CallingServer/tests/SessionRecords/CallingServerClientsLiveTests/CancelAllMediaOperationsTestAsync.json deleted file mode 100644 index b44372c6c07a..000000000000 --- a/sdk/communication/Azure.Communication.CallingServer/tests/SessionRecords/CallingServerClientsLiveTests/CancelAllMediaOperationsTestAsync.json +++ /dev/null @@ -1,198 +0,0 @@ -{ - "Entries": [ - { - "RequestUri": "https://acstestbot3.communication.azure.com/identities?api-version=2021-03-07", - "RequestMethod": "POST", - "RequestHeaders": { - "Accept": "application/json", - "Authorization": "Sanitized", - "Content-Length": "2", - "Content-Type": "application/json", - "Date": "Mon, 07 Jun 2021 21:32:06 GMT", - "traceparent": "00-c851b7e5ed46814f9f81e9412452280e-33b734496067e247-00", - "User-Agent": "azsdk-net-Communication.Identity/1.1.0-alpha.20210607.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19043 )", - "x-ms-client-request-id": "85386b3453516484d0b733876273b734", - "x-ms-content-sha256": "Sanitized", - "x-ms-date": "Mon, 07 Jun 2021 21:32:06 GMT", - "x-ms-return-client-request-id": "true" - }, - "RequestBody": {}, - "StatusCode": 201, - "ResponseHeaders": { - "api-supported-versions": "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1", - "Content-Type": "application/json; charset=utf-8", - "Date": "Mon, 07 Jun 2021 21:32:06 GMT", - "MS-CV": "JOokOoj9w0aGYpJgvb2m5w.0", - "Request-Context": "appId=", - "Strict-Transport-Security": "max-age=2592000", - "Transfer-Encoding": "chunked", - "X-Azure-Ref": "0V5C\u002BYAAAAACamtRHYCRkRpfR9ZiEMchbV1NURURHRTA4MjEAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", - "X-Cache": "CONFIG_NOCACHE", - "x-ms-client-request-id": "85386b3453516484d0b733876273b734", - "X-Processing-Time": "30ms" - }, - "ResponseBody": { - "identity": { - "id": "8:acs:02665c56-277e-4c59-bab4-c475caa3ee80_0000000a-8845-793b-0e04-343a0d0050cf" - } - } - }, - { - "RequestUri": "https://acstestbot3.communication.azure.com/calling/calls?api-version=2021-04-15-preview1", - "RequestMethod": "POST", - "RequestHeaders": { - "Accept": "application/json", - "Authorization": "Sanitized", - "Content-Length": "394", - "Content-Type": "application/json", - "Date": "Mon, 07 Jun 2021 21:32:07 GMT", - "traceparent": "00-351cb0e323dcd743802a8088377ef236-c403d8318d4e244b-00", - "User-Agent": "azsdk-net-Communication.CallingServer/1.0.0-alpha.20210607.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19043 )", - "x-ms-client-request-id": "a7a015657f3a707ebeab76079b5db180", - "x-ms-content-sha256": "Sanitized", - "x-ms-date": "Mon, 07 Jun 2021 21:32:07 GMT", - "x-ms-return-client-request-id": "true" - }, - "RequestBody": { - "sourceAlternateIdentity": { - "value": "Sanitized" - }, - "targets": [ - { - "phoneNumber": { - "value": "Sanitized" - } - } - ], - "source": { - "communicationUser": { - "id": "8:acs:02665c56-277e-4c59-bab4-c475caa3ee80_0000000a-8845-793b-0e04-343a0d0050cf" - } - }, - "callbackUri": "https://dummy.ngrok.io/api/incident/callback?SecretKey=helloworld", - "requestedModalities": [ - "audio" - ], - "requestedCallEvents": [ - "participantsUpdated", - "dtmfReceived" - ] - }, - "StatusCode": 201, - "ResponseHeaders": { - "Client-Request-Id": "41453c0c-905f-466c-80e7-d8b00aeca5f0", - "Content-Length": "52", - "Content-Type": "application/json; charset=utf-8", - "Date": "Mon, 07 Jun 2021 21:32:07 GMT", - "X-Azure-Ref": "0V5C\u002BYAAAAABq4uRWokpsRo67nRS/bVVFV1NURURHRTA4MjEAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", - "X-Cache": "CONFIG_NOCACHE", - "X-Microsoft-Skype-Chain-ID": "c3b4f31a-b467-4cf7-b0ef-73360e149208" - }, - "ResponseBody": { - "callLegId": "04000b80-d37e-440a-b08a-5b0d3862bbfb" - } - }, - { - "RequestUri": "https://acstestbot3.communication.azure.com/calling/calls/04000b80-d37e-440a-b08a-5b0d3862bbfb/PlayAudio?api-version=2021-04-15-preview1", - "RequestMethod": "POST", - "RequestHeaders": { - "Accept": "application/json", - "Authorization": "Sanitized", - "Content-Length": "189", - "Content-Type": "application/json", - "Date": "Mon, 07 Jun 2021 21:32:18 GMT", - "traceparent": "00-f5d984ce0caa9548aa2c58f4262ae534-7f34d64a7dabf949-00", - "User-Agent": "azsdk-net-Communication.CallingServer/1.0.0-alpha.20210607.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19043 )", - "x-ms-client-request-id": "99014c3a65871596c72d30c2313cdd74", - "x-ms-content-sha256": "Sanitized", - "x-ms-date": "Mon, 07 Jun 2021 21:32:18 GMT", - "x-ms-return-client-request-id": "true" - }, - "RequestBody": { - "audioFileUri": "https://dummy.ngrok.io/audio/sample-message.wav", - "loop": true, - "operationContext": "de346f03-7f8d-41ab-a232-cc5e14990769", - "audioFileId": "ebb1d98d-fd86-4204-800c-f7bdfc2e515c" - }, - "StatusCode": 202, - "ResponseHeaders": { - "Client-Request-Id": "d86ba053-cc2b-4ba6-a721-933d28c14ba3", - "Content-Length": "122", - "Content-Type": "application/json; charset=utf-8", - "Date": "Mon, 07 Jun 2021 21:32:17 GMT", - "X-Azure-Ref": "0YpC\u002BYAAAAAByhppb6Du0SpXmImkL6QujV1NURURHRTA4MjEAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", - "X-Cache": "CONFIG_NOCACHE", - "X-Microsoft-Skype-Chain-ID": "9bda2bd2-9465-47e3-8778-dd98f1997d29" - }, - "ResponseBody": { - "id": "6257383a-1966-42b0-9509-2f66164744e8", - "status": "running", - "operationContext": "de346f03-7f8d-41ab-a232-cc5e14990769" - } - }, - { - "RequestUri": "https://acstestbot3.communication.azure.com/calling/calls/04000b80-d37e-440a-b08a-5b0d3862bbfb/CancelMediaProcessing?api-version=2021-04-15-preview1", - "RequestMethod": "POST", - "RequestHeaders": { - "Accept": "application/json", - "Authorization": "Sanitized", - "Content-Length": "2", - "Content-Type": "application/json", - "Date": "Mon, 07 Jun 2021 21:32:23 GMT", - "traceparent": "00-d71e866bb505f941808d1993c8af5b25-df76a380f902c647-00", - "User-Agent": "azsdk-net-Communication.CallingServer/1.0.0-alpha.20210607.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19043 )", - "x-ms-client-request-id": "83991d694137b407edc7c7a5dd7cc973", - "x-ms-content-sha256": "Sanitized", - "x-ms-date": "Mon, 07 Jun 2021 21:32:23 GMT", - "x-ms-return-client-request-id": "true" - }, - "RequestBody": {}, - "StatusCode": 200, - "ResponseHeaders": { - "Client-Request-Id": "6ddcd3cf-7a3c-4291-8881-c3ba1f6739ce", - "Content-Length": "66", - "Content-Type": "application/json; charset=utf-8", - "Date": "Mon, 07 Jun 2021 21:32:23 GMT", - "X-Azure-Ref": "0Z5C\u002BYAAAAAAnBjtZVIp9R5a4HGN3WHFLV1NURURHRTA4MjEAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", - "X-Cache": "CONFIG_NOCACHE", - "X-Microsoft-Skype-Chain-ID": "1a2e20c2-41c1-4a3f-bd94-8d5cc85fe1c7" - }, - "ResponseBody": { - "id": "bb2b8889-df0e-44ad-9513-4f3d1e698f37", - "status": "completed" - } - }, - { - "RequestUri": "https://acstestbot3.communication.azure.com/calling/calls/04000b80-d37e-440a-b08a-5b0d3862bbfb?api-version=2021-04-15-preview1", - "RequestMethod": "DELETE", - "RequestHeaders": { - "Accept": "application/json", - "Authorization": "Sanitized", - "Date": "Mon, 07 Jun 2021 21:32:32 GMT", - "traceparent": "00-7a42cdf4ebc9fe488d25de98f25b382e-51f3d6facc1a2345-00", - "User-Agent": "azsdk-net-Communication.CallingServer/1.0.0-alpha.20210607.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19043 )", - "x-ms-client-request-id": "154cb2061e71ffad7e8bdf0c4ebb3e81", - "x-ms-content-sha256": "Sanitized", - "x-ms-date": "Mon, 07 Jun 2021 21:32:32 GMT", - "x-ms-return-client-request-id": "true" - }, - "RequestBody": null, - "StatusCode": 202, - "ResponseHeaders": { - "Client-Request-Id": "a33479a1-fce1-49fe-8819-80a6eb270aaf", - "Content-Length": "0", - "Date": "Mon, 07 Jun 2021 21:32:31 GMT", - "X-Azure-Ref": "0b5C\u002BYAAAAAByvzMkFgeXRLhuW637U54FV1NURURHRTA4MjEAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", - "X-Cache": "CONFIG_NOCACHE", - "X-Microsoft-Skype-Chain-ID": "8384df1a-783f-43c3-a393-1a725582cfdc" - }, - "ResponseBody": [] - } - ], - "Variables": { - "AZURE_PHONE_NUMBER": "Sanitized", - "COMMUNICATION_LIVETEST_DYNAMIC_CONNECTION_STRING": "endpoint=https://acstestbot3.communication.azure.com/;accesskey=Kg==", - "COMMUNICATION_LIVETEST_STATIC_CONNECTION_STRING": "endpoint=https://acstestbot3.communication.azure.com/;accesskey=Kg==", - "RandomSeed": "1859146728" - } -} diff --git a/sdk/communication/Azure.Communication.CallingServer/tests/SessionRecords/CallingServerClientsLiveTests/CreateCallTest.json b/sdk/communication/Azure.Communication.CallingServer/tests/SessionRecords/CallingServerClientsLiveTests/CreateCallTest.json deleted file mode 100644 index 83f11d75e0f3..000000000000 --- a/sdk/communication/Azure.Communication.CallingServer/tests/SessionRecords/CallingServerClientsLiveTests/CreateCallTest.json +++ /dev/null @@ -1,102 +0,0 @@ -{ - "Entries": [ - { - "RequestUri": "https://acstestbot3.communication.azure.com/identities?api-version=2021-03-07", - "RequestMethod": "POST", - "RequestHeaders": { - "Accept": "application/json", - "Authorization": "Sanitized", - "Content-Length": "2", - "Content-Type": "application/json", - "Date": "Mon, 07 Jun 2021 18:11:47 GMT", - "traceparent": "00-dce5ab2dd9f9294da83c23c04c4b93a0-e5dfeb27fff23546-00", - "User-Agent": "azsdk-net-Communication.Identity/1.1.0-alpha.20210607.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19043 )", - "x-ms-client-request-id": "e96333c2a95914ae53be009620a86591", - "x-ms-content-sha256": "Sanitized", - "x-ms-date": "Mon, 07 Jun 2021 18:11:47 GMT", - "x-ms-return-client-request-id": "true" - }, - "RequestBody": {}, - "StatusCode": 201, - "ResponseHeaders": { - "api-supported-versions": "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1", - "Content-Type": "application/json; charset=utf-8", - "Date": "Mon, 07 Jun 2021 18:11:47 GMT", - "MS-CV": "U/fWzwghYESANtfT9fKQsw.0", - "Request-Context": "appId=", - "Strict-Transport-Security": "max-age=2592000", - "Transfer-Encoding": "chunked", - "X-Azure-Ref": "0ZGG\u002BYAAAAADBIiegi3spSa4qj6gzzMgsV1NURURHRTA4MTQAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", - "X-Cache": "CONFIG_NOCACHE", - "x-ms-client-request-id": "e96333c2a95914ae53be009620a86591", - "X-Processing-Time": "22ms" - }, - "ResponseBody": { - "identity": { - "id": "8:acs:02665c56-277e-4c59-bab4-c475caa3ee80_0000000a-878e-1315-ac00-343a0d006216" - } - } - }, - { - "RequestUri": "https://acstestbot3.communication.azure.com/calling/calls?api-version=2021-04-15-preview1", - "RequestMethod": "POST", - "RequestHeaders": { - "Accept": "application/json", - "Authorization": "Sanitized", - "Content-Length": "394", - "Content-Type": "application/json", - "Date": "Mon, 07 Jun 2021 18:11:48 GMT", - "traceparent": "00-1dd237a56fee6f46bd5451fd1b1615ea-9488b0af5c842e4c-00", - "User-Agent": "azsdk-net-Communication.CallingServer/1.0.0-alpha.20210607.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19043 )", - "x-ms-client-request-id": "a0a79d28c93a0d02342bb4975468973d", - "x-ms-content-sha256": "Sanitized", - "x-ms-date": "Mon, 07 Jun 2021 18:11:48 GMT", - "x-ms-return-client-request-id": "true" - }, - "RequestBody": { - "sourceAlternateIdentity": { - "value": "Sanitized" - }, - "targets": [ - { - "phoneNumber": { - "value": "Sanitized" - } - } - ], - "source": { - "communicationUser": { - "id": "8:acs:02665c56-277e-4c59-bab4-c475caa3ee80_0000000a-878e-1315-ac00-343a0d006216" - } - }, - "callbackUri": "https://dummy.ngrok.io/api/incident/callback?SecretKey=helloworld", - "requestedModalities": [ - "audio" - ], - "requestedCallEvents": [ - "participantsUpdated", - "dtmfReceived" - ] - }, - "StatusCode": 201, - "ResponseHeaders": { - "Client-Request-Id": "c074b88e-804a-4ba7-85b8-197f25f415a5", - "Content-Length": "52", - "Content-Type": "application/json; charset=utf-8", - "Date": "Mon, 07 Jun 2021 18:11:48 GMT", - "X-Azure-Ref": "0ZGG\u002BYAAAAAB5blUKyCDlRrbcwUnWy8ZUV1NURURHRTA4MTQAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", - "X-Cache": "CONFIG_NOCACHE", - "X-Microsoft-Skype-Chain-ID": "ba9797a5-a5a3-4c2d-aa4c-e9ba84a2b38b" - }, - "ResponseBody": { - "callLegId": "01000b80-2fb2-4fc3-b9dd-56bb53310817" - } - } - ], - "Variables": { - "AZURE_PHONE_NUMBER": "Sanitized", - "COMMUNICATION_LIVETEST_DYNAMIC_CONNECTION_STRING": "endpoint=https://acstestbot3.communication.azure.com/;accesskey=Kg==", - "COMMUNICATION_LIVETEST_STATIC_CONNECTION_STRING": "endpoint=https://acstestbot3.communication.azure.com/;accesskey=Kg==", - "RandomSeed": "220983724" - } -} diff --git a/sdk/communication/Azure.Communication.CallingServer/tests/SessionRecords/Sample1_CallClient/CreateCall.json b/sdk/communication/Azure.Communication.CallingServer/tests/SessionRecords/Sample1_CallClient/CreateCall.json index 77a9872eeae2..2380f85b0202 100644 --- a/sdk/communication/Azure.Communication.CallingServer/tests/SessionRecords/Sample1_CallClient/CreateCall.json +++ b/sdk/communication/Azure.Communication.CallingServer/tests/SessionRecords/Sample1_CallClient/CreateCall.json @@ -1,35 +1,71 @@ { "Entries": [ { - "RequestUri": "https://acstestbot3.communication.azure.com/calling/calls?api-version=2021-04-15-preview1", + "RequestUri": "https://acstestbot1.communication.azure.com/identities?api-version=2021-03-07", "RequestMethod": "POST", - "RequestHeaders": { - "Accept": "application/json", - "Authorization": "Sanitized", - "Content-Length": "354", - "Content-Type": "application/json", - "Date": "Wed, 02 Jun 2021 21:28:27 GMT", - "User-Agent": "azsdk-net-Communication.CallingServer/1.0.0-alpha.20210602.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19043 )", + "RequestHeaders": { + "Accept": "application/json", + "Authorization": "Sanitized", + "Content-Length": "2", + "Content-Type": "application/json", + "Date": "Wed, 16 Jun 2021 17:01:53 GMT", + "User-Agent": "azsdk-net-Communication.Identity/1.1.0-alpha.20210616.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19043 )", + "x-ms-client-request-id": "f7c8910f9c6fa503ddd8b7582e6d4d17", + "x-ms-content-sha256": "Sanitized", + "x-ms-date": "Wed, 16 Jun 2021 17:01:53 GMT", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": {}, + "StatusCode": 201, + "ResponseHeaders": { + "api-supported-versions": "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 16 Jun 2021 17:01:54 GMT", + "MS-CV": "Waia\u002BH\u002BoTkSaqGl671wvsQ.0", + "Request-Context": "appId=", + "Strict-Transport-Security": "max-age=2592000", + "Transfer-Encoding": "chunked", + "X-Azure-Ref": "0gy7KYAAAAADwMwiEWDQYRLKBnAnlHKJOV1NURURHRTA4MTMAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "X-Cache": "CONFIG_NOCACHE", "x-ms-client-request-id": "f7c8910f9c6fa503ddd8b7582e6d4d17", - "x-ms-content-sha256": "Sanitized", - "x-ms-date": "Wed, 02 Jun 2021 21:28:27 GMT", - "x-ms-return-client-request-id": "true" + "X-Processing-Time": "103ms" }, + "ResponseBody": { + "identity": { + "id": "8:acs:016a7064-0581-40b9-be73-6dde64d69d72_0000000a-b5a7-54a0-e3c7-593a0d008912" + } + } + }, + { + "RequestUri": "https://acstestbot1.communication.azure.com/calling/callConnections?api-version=2021-06-15-preview", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json", + "Authorization": "Sanitized", + "Content-Length": "346", + "Content-Type": "application/json", + "Date": "Wed, 16 Jun 2021 17:01:55 GMT", + "User-Agent": "azsdk-net-Communication.CallingServer/1.0.0-alpha.20210616.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19043 )", + "x-ms-client-request-id": "a585200bb309794fd62f46729d5801ec", + "x-ms-content-sha256": "Sanitized", + "x-ms-return-client-request-id": "true", + "x-ms-date": "Wed, 16 Jun 2021 17:01:55 GMT" + }, "RequestBody": { "targets": [ { "phoneNumber": { - "value": "\u002B15129104698" + "value": "Sanitized" } } ], "source": { "communicationUser": { - "id": "8:acs:02665c56-277e-4c59-bab4-c475caa3ee80_0000000a-6e82-5005-63b2-a43a0d00393c" + "id": "8:acs:016a7064-0581-40b9-be73-6dde64d69d72_0000000a-b5a7-54a0-e3c7-593a0d008912" } }, "callbackUri": "https://dummy.ngrok.io/api/incident/callback?SecretKey=helloworld", - "requestedModalities": [ + "requestedMediaTypes": [ "audio" ], "requestedCallEvents": [ @@ -39,23 +75,24 @@ }, "StatusCode": 201, "ResponseHeaders": { - "Client-Request-Id": "c4d55e4e-e491-434b-a9f1-37a9234d4f51", - "Content-Length": "52", + "Content-Length": "110", "Content-Type": "application/json; charset=utf-8", - "Date": "Wed, 02 Jun 2021 21:28:27 GMT", - "X-Azure-Ref": "0\u002B/e3YAAAAAD7jnJZgiP4TKurZwfRajDbV1NURURHRTA4MTQAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "Date": "Wed, 16 Jun 2021 17:01:55 GMT", + "X-Azure-Ref": "0gy7KYAAAAAA\u002BA4K9iGDhTZnNyh0Y6O5ZV1NURURHRTA4MTMAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", "X-Cache": "CONFIG_NOCACHE", - "X-Microsoft-Skype-Chain-ID": "03025d96-60d3-4ff7-843b-3a4023911570" + "X-Microsoft-Skype-Chain-ID": "51e5fb62-e6b5-4656-9f21-95ab83fa83d1", + "x-ms-client-request-id": "a585200bb309794fd62f46729d5801ec" }, "ResponseBody": { - "callLegId": "6c1f6900-1fbd-4ee0-a4b9-2aa0b5f40ad1" + "callLegId": "4c201300-43e4-4471-9b5e-7988ff001cdd", + "callConnectionId": "4c201300-43e4-4471-9b5e-7988ff001cdd" } } ], "Variables": { - "AZURE_PHONE_NUMBER": "\u002B15129104698", - "COMMUNICATION_LIVETEST_DYNAMIC_CONNECTION_STRING": "endpoint=https://acstestbot3.communication.azure.com/;accesskey=Kg==", - "COMMUNICATION_LIVETEST_STATIC_CONNECTION_STRING": "endpoint=https://acstestbot3.communication.azure.com/;accesskey=Kg==", + "AZURE_PHONE_NUMBER": "Sanitized", + "COMMUNICATION_LIVETEST_DYNAMIC_CONNECTION_STRING": "endpoint=https://acstestbot1.communication.azure.com/;accesskey=Kg==", + "COMMUNICATION_LIVETEST_STATIC_CONNECTION_STRING": "endpoint=https://acstestbot1.communication.azure.com/;accesskey=Kg==", "RandomSeed": "54266852" } } diff --git a/sdk/communication/Azure.Communication.CallingServer/tests/SessionRecords/Sample1_CallClient/CreateCallAsyncAsync.json b/sdk/communication/Azure.Communication.CallingServer/tests/SessionRecords/Sample1_CallClient/CreateCallAsyncAsync.json index 678367f9951b..14e3cab2d9b3 100644 --- a/sdk/communication/Azure.Communication.CallingServer/tests/SessionRecords/Sample1_CallClient/CreateCallAsyncAsync.json +++ b/sdk/communication/Azure.Communication.CallingServer/tests/SessionRecords/Sample1_CallClient/CreateCallAsyncAsync.json @@ -1,35 +1,73 @@ { "Entries": [ { - "RequestUri": "https://acstestbot3.communication.azure.com/calling/calls?api-version=2021-04-15-preview1", + "RequestUri": "https://acstestbot1.communication.azure.com/identities?api-version=2021-03-07", "RequestMethod": "POST", - "RequestHeaders": { - "Accept": "application/json", - "Authorization": "Sanitized", - "Content-Length": "354", - "Content-Type": "application/json", - "Date": "Wed, 02 Jun 2021 21:28:29 GMT", - "traceparent": "00-f03b3c0995adc24882d0cb3f6d4ef016-32e1ef3fa4d5b94d-00", - "User-Agent": "azsdk-net-Communication.CallingServer/1.0.0-alpha.20210602.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19043 )", + "RequestHeaders": { + "Accept": "application/json", + "Authorization": "Sanitized", + "Content-Length": "2", + "Content-Type": "application/json", + "Date": "Wed, 16 Jun 2021 17:01:57 GMT", + "traceparent": "00-563d4f660fb30b4ba0fdfc0025f17506-50f5c17400915e4e-00", + "User-Agent": "azsdk-net-Communication.Identity/1.1.0-alpha.20210616.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19043 )", + "x-ms-client-request-id": "750c6da09b80fc970cd7aa322fd6b1c9", + "x-ms-content-sha256": "Sanitized", + "x-ms-return-client-request-id": "true", + "x-ms-date": "Wed, 16 Jun 2021 17:01:57 GMT" + }, + "RequestBody": {}, + "StatusCode": 201, + "ResponseHeaders": { + "api-supported-versions": "2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 16 Jun 2021 17:01:56 GMT", + "MS-CV": "fbWazVRcpkOcx5Y2NiwPMw.0", + "Request-Context": "appId=", + "Strict-Transport-Security": "max-age=2592000", + "Transfer-Encoding": "chunked", + "X-Azure-Ref": "0hS7KYAAAAAB\u002B/YJWZ6O4RJSV\u002B9QJ2nt9V1NURURHRTA4MTMAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "X-Cache": "CONFIG_NOCACHE", "x-ms-client-request-id": "750c6da09b80fc970cd7aa322fd6b1c9", - "x-ms-content-sha256": "Sanitized", - "x-ms-return-client-request-id": "true" + "X-Processing-Time": "22ms" }, + "ResponseBody": { + "identity": { + "id": "8:acs:016a7064-0581-40b9-be73-6dde64d69d72_0000000a-b5a7-5d10-e3c7-593a0d008917" + } + } + }, + { + "RequestUri": "https://acstestbot1.communication.azure.com/calling/callConnections?api-version=2021-06-15-preview", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json", + "Authorization": "Sanitized", + "Content-Length": "346", + "Content-Type": "application/json", + "Date": "Wed, 16 Jun 2021 17:01:58 GMT", + "traceparent": "00-47ba21026d51af43b3b276bb9fb8fcb6-b915fd9d37c14f49-00", + "User-Agent": "azsdk-net-Communication.CallingServer/1.0.0-alpha.20210616.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19043 )", + "x-ms-client-request-id": "f65700430c203efc039afdad51d467bb", + "x-ms-content-sha256": "Sanitized", + "x-ms-return-client-request-id": "true", + "x-ms-date": "Wed, 16 Jun 2021 17:01:58 GMT" + }, "RequestBody": { "targets": [ { "phoneNumber": { - "value": "\u002B15129104698" + "value": "Sanitized" } } ], "source": { "communicationUser": { - "id": "8:acs:02665c56-277e-4c59-bab4-c475caa3ee80_0000000a-6e82-5627-54b7-a43a0d00395f" + "id": "8:acs:016a7064-0581-40b9-be73-6dde64d69d72_0000000a-b5a7-5d10-e3c7-593a0d008917" } }, "callbackUri": "https://dummy.ngrok.io/api/incident/callback?SecretKey=helloworld", - "requestedModalities": [ + "requestedMediaTypes": [ "audio" ], "requestedCallEvents": [ @@ -39,23 +77,24 @@ }, "StatusCode": 201, "ResponseHeaders": { - "Client-Request-Id": "77074750-189c-4615-843f-b357d68fa3b5", - "Content-Length": "52", + "Content-Length": "110", "Content-Type": "application/json; charset=utf-8", - "Date": "Wed, 02 Jun 2021 21:28:28 GMT", - "X-Azure-Ref": "0/Pe3YAAAAADZL\u002B\u002BDA03YQangI05vTMI1V1NURURHRTA4MTQAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "Date": "Wed, 16 Jun 2021 17:01:57 GMT", + "X-Azure-Ref": "0hS7KYAAAAAD0hiiC1T7aRJrZmS4CLBuoV1NURURHRTA4MTMAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", "X-Cache": "CONFIG_NOCACHE", - "X-Microsoft-Skype-Chain-ID": "80b47d16-ed1f-4c8b-88b9-3f6d1de9b3f5" + "X-Microsoft-Skype-Chain-ID": "8cbc8bfe-863e-476e-85c8-a77b67a93cc4", + "x-ms-client-request-id": "f65700430c203efc039afdad51d467bb" }, "ResponseBody": { - "callLegId": "6c1f6900-5681-4271-9cf6-f5c1a3a64bc3" + "callLegId": "4c201300-eb1e-4e9f-8a0a-6aaf623fc9f3", + "callConnectionId": "4c201300-eb1e-4e9f-8a0a-6aaf623fc9f3" } } ], "Variables": { - "AZURE_PHONE_NUMBER": "\u002B15129104698", - "COMMUNICATION_LIVETEST_DYNAMIC_CONNECTION_STRING": "endpoint=https://acstestbot3.communication.azure.com/;accesskey=Kg==", - "COMMUNICATION_LIVETEST_STATIC_CONNECTION_STRING": "endpoint=https://acstestbot3.communication.azure.com/;accesskey=Kg==", + "AZURE_PHONE_NUMBER": "Sanitized", + "COMMUNICATION_LIVETEST_DYNAMIC_CONNECTION_STRING": "endpoint=https://acstestbot1.communication.azure.com/;accesskey=Kg==", + "COMMUNICATION_LIVETEST_STATIC_CONNECTION_STRING": "endpoint=https://acstestbot1.communication.azure.com/;accesskey=Kg==", "RandomSeed": "303477573" } -} \ No newline at end of file +} diff --git a/sdk/communication/Azure.Communication.CallingServer/tests/SessionRecords/ServerCallLiveTests/RunAllRecordingFunctionsScenarioTests.json b/sdk/communication/Azure.Communication.CallingServer/tests/SessionRecords/ServerCallLiveTests/RunAllRecordingFunctionsScenarioTests.json new file mode 100644 index 000000000000..28d97a9c09f8 --- /dev/null +++ b/sdk/communication/Azure.Communication.CallingServer/tests/SessionRecords/ServerCallLiveTests/RunAllRecordingFunctionsScenarioTests.json @@ -0,0 +1,370 @@ +{ + "Entries": [ + { + "RequestUri": "https://acstestbot1.communication.azure.com/calling/serverCalls/3500789f-e11b-4ceb-85cb-bc8df2a01768/:join?api-version=2021-06-15-preview", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json", + "Authorization": "Sanitized", + "Content-Length": "281", + "Content-Type": "application/json", + "Date": "Wed, 16 Jun 2021 06:14:39 GMT", + "traceparent": "00-616dfbbf36772a46864bf7c08755624d-bcc64f263cee0042-00", + "User-Agent": "azsdk-net-Communication.CallingServer/1.0.0-alpha.20210615.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19043 )", + "x-ms-client-request-id": "f49f5f0bf1da113c53240a529cfffbef", + "x-ms-content-sha256": "Sanitized", + "x-ms-return-client-request-id": "true", + "x-ms-date": "Wed, 16 Jun 2021 06:14:39 GMT" + }, + "RequestBody": { + "source": { + "communicationUser": { + "id": "8:acs:016a7064-0581-40b9-be73-6dde64d69d72_e3560385-776f-41d1-bf04-07ef738f2f23" + } + }, + "callbackUri": "https://dummy.ngrok.io/api/incident/callback?SecretKey=helloworld", + "requestedMediaTypes": [ + "audio" + ], + "requestedCallEvents": [ + "participantsUpdated" + ] + }, + "StatusCode": 202, + "ResponseHeaders": { + "Content-Length": "110", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 16 Jun 2021 06:14:40 GMT", + "X-Azure-Ref": "00JbJYAAAAABoXEnj\u002B/jNT6h9T9oEgjZlV1NURURHRTA4MTMAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "X-Cache": "CONFIG_NOCACHE", + "X-Microsoft-Skype-Chain-ID": "63fffae3-74c2-4c76-bd52-d7e03c99814c", + "x-ms-client-request-id": "f49f5f0bf1da113c53240a529cfffbef" + }, + "ResponseBody": { + "callLegId": "1f201300-bfb0-4767-9e79-78154c5f075d", + "callConnectionId": "1f201300-bfb0-4767-9e79-78154c5f075d" + } + }, + { + "RequestUri": "https://acstestbot1.communication.azure.com/calling/serverCalls/3500789f-e11b-4ceb-85cb-bc8df2a01768/:join?api-version=2021-06-15-preview", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json", + "Authorization": "Sanitized", + "Content-Length": "281", + "Content-Type": "application/json", + "Date": "Wed, 16 Jun 2021 06:14:41 GMT", + "traceparent": "00-97b6c6b7e5d89e41a1954f50a2583670-b9ea8c9ae34aa643-00", + "User-Agent": "azsdk-net-Communication.CallingServer/1.0.0-alpha.20210615.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19043 )", + "x-ms-client-request-id": "37b43a95a006dde1b43b017473e2d7de", + "x-ms-content-sha256": "Sanitized", + "x-ms-return-client-request-id": "true", + "x-ms-date": "Wed, 16 Jun 2021 06:14:41 GMT" + }, + "RequestBody": { + "source": { + "communicationUser": { + "id": "8:acs:016a7064-0581-40b9-be73-6dde64d69d72_e3560385-776f-41d1-bf04-07ef738f2fc1" + } + }, + "callbackUri": "https://dummy.ngrok.io/api/incident/callback?SecretKey=helloworld", + "requestedMediaTypes": [ + "audio" + ], + "requestedCallEvents": [ + "participantsUpdated" + ] + }, + "StatusCode": 202, + "ResponseHeaders": { + "Content-Length": "110", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 16 Jun 2021 06:14:41 GMT", + "X-Azure-Ref": "00ZbJYAAAAAAWWBFl\u002BUa4Q4pAQfn83SdiV1NURURHRTA4MTMAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "X-Cache": "CONFIG_NOCACHE", + "X-Microsoft-Skype-Chain-ID": "afd18997-36d8-4ea5-aaca-6fe5534394e0", + "x-ms-client-request-id": "37b43a95a006dde1b43b017473e2d7de" + }, + "ResponseBody": { + "callLegId": "1f201300-c64b-4d56-8b13-d2d249d66e51", + "callConnectionId": "1f201300-c64b-4d56-8b13-d2d249d66e51" + } + }, + { + "RequestUri": "https://acstestbot1.communication.azure.com/calling/serverCalls/3500789f-e11b-4ceb-85cb-bc8df2a01768/recordings?api-version=2021-06-15-preview", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json", + "Authorization": "Sanitized", + "Content-Length": "97", + "Content-Type": "application/json", + "Date": "Wed, 16 Jun 2021 06:14:43 GMT", + "User-Agent": "azsdk-net-Communication.CallingServer/1.0.0-alpha.20210615.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19043 )", + "x-ms-client-request-id": "c9e4c88cc186738e15632a50b497a3fc", + "x-ms-content-sha256": "Sanitized", + "x-ms-return-client-request-id": "true", + "x-ms-date": "Wed, 16 Jun 2021 06:14:43 GMT" + }, + "RequestBody": { + "recordingStateCallbackUri": "https://dummy.ngrok.io/api/incident/callback?SecretKey=helloworld" + }, + "StatusCode": 200, + "ResponseHeaders": { + "Content-Length": "180", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 16 Jun 2021 06:14:47 GMT", + "X-Azure-Ref": "005bJYAAAAAA1himOYEmwRKGBxioDEEsFV1NURURHRTA4MTMAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "X-Cache": "CONFIG_NOCACHE", + "X-Microsoft-Skype-Chain-ID": "36fe1b85-d99c-4558-8f2e-82ce686480bb", + "x-ms-client-request-id": "c9e4c88cc186738e15632a50b497a3fc" + }, + "ResponseBody": { + "recordingId": "eyJQbGF0Zm9ybUVuZHBvaW50SWQiOiIxZjIwMTMwMC1kNDQ0LTRmODItOTNkNS1iMjFjMGI0N2Q0NGYiLCJSZXNvdXJjZVNwZWNpZmljSWQiOiI3ODg1ZGNhYy0zOTU1LTRmNTEtODM1OC01MDNkZmYyZjZkZWIifQ" + } + }, + { + "RequestUri": "https://acstestbot1.communication.azure.com/calling/serverCalls/3500789f-e11b-4ceb-85cb-bc8df2a01768/recordings/eyJQbGF0Zm9ybUVuZHBvaW50SWQiOiIxZjIwMTMwMC1kNDQ0LTRmODItOTNkNS1iMjFjMGI0N2Q0NGYiLCJSZXNvdXJjZVNwZWNpZmljSWQiOiI3ODg1ZGNhYy0zOTU1LTRmNTEtODM1OC01MDNkZmYyZjZkZWIifQ?api-version=2021-06-15-preview", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Authorization": "Sanitized", + "Date": "Wed, 16 Jun 2021 06:14:54 GMT", + "User-Agent": "azsdk-net-Communication.CallingServer/1.0.0-alpha.20210615.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19043 )", + "x-ms-client-request-id": "729d170df0726a9b7dc2409ff0c89e70", + "x-ms-content-sha256": "Sanitized", + "x-ms-return-client-request-id": "true", + "x-ms-date": "Wed, 16 Jun 2021 06:14:54 GMT" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Content-Length": "27", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 16 Jun 2021 06:14:53 GMT", + "X-Azure-Ref": "03ZbJYAAAAAAgJG8VtzO1TrwwB9BOK5y1V1NURURHRTA4MTMAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "X-Cache": "CONFIG_NOCACHE", + "X-Microsoft-Skype-Chain-ID": "d10931d4-a019-450b-ba8c-7c12b69abfa5", + "x-ms-client-request-id": "729d170df0726a9b7dc2409ff0c89e70" + }, + "ResponseBody": { + "recordingState": "active" + } + }, + { + "RequestUri": "https://acstestbot1.communication.azure.com/calling/serverCalls/3500789f-e11b-4ceb-85cb-bc8df2a01768/recordings/eyJQbGF0Zm9ybUVuZHBvaW50SWQiOiIxZjIwMTMwMC1kNDQ0LTRmODItOTNkNS1iMjFjMGI0N2Q0NGYiLCJSZXNvdXJjZVNwZWNpZmljSWQiOiI3ODg1ZGNhYy0zOTU1LTRmNTEtODM1OC01MDNkZmYyZjZkZWIifQ/:pause?api-version=2021-06-15-preview", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json", + "Authorization": "Sanitized", + "Date": "Wed, 16 Jun 2021 06:14:54 GMT", + "User-Agent": "azsdk-net-Communication.CallingServer/1.0.0-alpha.20210615.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19043 )", + "x-ms-client-request-id": "d3c52c4d311ad369ab4121a37691281d", + "x-ms-content-sha256": "Sanitized", + "x-ms-return-client-request-id": "true", + "x-ms-date": "Wed, 16 Jun 2021 06:14:54 GMT" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Content-Length": "0", + "Date": "Wed, 16 Jun 2021 06:14:54 GMT", + "X-Azure-Ref": "03pbJYAAAAABp62/ClNLRSKXU67cpwhpTV1NURURHRTA4MTMAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "X-Cache": "CONFIG_NOCACHE", + "X-Microsoft-Skype-Chain-ID": "4794c1cc-8455-40f9-9376-18b6fff4565e", + "x-ms-client-request-id": "d3c52c4d311ad369ab4121a37691281d" + }, + "ResponseBody": [] + }, + { + "RequestUri": "https://acstestbot1.communication.azure.com/calling/serverCalls/3500789f-e11b-4ceb-85cb-bc8df2a01768/recordings/eyJQbGF0Zm9ybUVuZHBvaW50SWQiOiIxZjIwMTMwMC1kNDQ0LTRmODItOTNkNS1iMjFjMGI0N2Q0NGYiLCJSZXNvdXJjZVNwZWNpZmljSWQiOiI3ODg1ZGNhYy0zOTU1LTRmNTEtODM1OC01MDNkZmYyZjZkZWIifQ?api-version=2021-06-15-preview", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Authorization": "Sanitized", + "Date": "Wed, 16 Jun 2021 06:15:00 GMT", + "User-Agent": "azsdk-net-Communication.CallingServer/1.0.0-alpha.20210615.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19043 )", + "x-ms-client-request-id": "5b67059864459b6c2d794bc481ef834d", + "x-ms-content-sha256": "Sanitized", + "x-ms-return-client-request-id": "true", + "x-ms-date": "Wed, 16 Jun 2021 06:15:00 GMT" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Content-Length": "29", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 16 Jun 2021 06:15:00 GMT", + "X-Azure-Ref": "05JbJYAAAAACM6rwId1HSQLYyd1v2JmBPV1NURURHRTA4MTMAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "X-Cache": "CONFIG_NOCACHE", + "X-Microsoft-Skype-Chain-ID": "aa9d90af-19a5-4b68-b398-b4e1297babf6", + "x-ms-client-request-id": "5b67059864459b6c2d794bc481ef834d" + }, + "ResponseBody": { + "recordingState": "inactive" + } + }, + { + "RequestUri": "https://acstestbot1.communication.azure.com/calling/serverCalls/3500789f-e11b-4ceb-85cb-bc8df2a01768/recordings/eyJQbGF0Zm9ybUVuZHBvaW50SWQiOiIxZjIwMTMwMC1kNDQ0LTRmODItOTNkNS1iMjFjMGI0N2Q0NGYiLCJSZXNvdXJjZVNwZWNpZmljSWQiOiI3ODg1ZGNhYy0zOTU1LTRmNTEtODM1OC01MDNkZmYyZjZkZWIifQ/:resume?api-version=2021-06-15-preview", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json", + "Authorization": "Sanitized", + "Date": "Wed, 16 Jun 2021 06:15:00 GMT", + "User-Agent": "azsdk-net-Communication.CallingServer/1.0.0-alpha.20210615.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19043 )", + "x-ms-client-request-id": "8803bac5d0d2dbe1aec9c730cff8f4eb", + "x-ms-content-sha256": "Sanitized", + "x-ms-return-client-request-id": "true", + "x-ms-date": "Wed, 16 Jun 2021 06:15:00 GMT" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Content-Length": "0", + "Date": "Wed, 16 Jun 2021 06:15:00 GMT", + "X-Azure-Ref": "05JbJYAAAAABe2s0EGy9XRaajwOIaoIGIV1NURURHRTA4MTMAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "X-Cache": "CONFIG_NOCACHE", + "X-Microsoft-Skype-Chain-ID": "70b8fd92-9762-4252-8113-5ab171bd0fa1", + "x-ms-client-request-id": "8803bac5d0d2dbe1aec9c730cff8f4eb" + }, + "ResponseBody": [] + }, + { + "RequestUri": "https://acstestbot1.communication.azure.com/calling/serverCalls/3500789f-e11b-4ceb-85cb-bc8df2a01768/recordings/eyJQbGF0Zm9ybUVuZHBvaW50SWQiOiIxZjIwMTMwMC1kNDQ0LTRmODItOTNkNS1iMjFjMGI0N2Q0NGYiLCJSZXNvdXJjZVNwZWNpZmljSWQiOiI3ODg1ZGNhYy0zOTU1LTRmNTEtODM1OC01MDNkZmYyZjZkZWIifQ?api-version=2021-06-15-preview", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Authorization": "Sanitized", + "Date": "Wed, 16 Jun 2021 06:15:06 GMT", + "User-Agent": "azsdk-net-Communication.CallingServer/1.0.0-alpha.20210615.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19043 )", + "x-ms-client-request-id": "ea0623994260e82abf29a6a1e5a552bc", + "x-ms-content-sha256": "Sanitized", + "x-ms-return-client-request-id": "true", + "x-ms-date": "Wed, 16 Jun 2021 06:15:06 GMT" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Content-Length": "27", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 16 Jun 2021 06:15:06 GMT", + "X-Azure-Ref": "06pbJYAAAAAAMilSk8NYKQI/3lphUmEdQV1NURURHRTA4MTMAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "X-Cache": "CONFIG_NOCACHE", + "X-Microsoft-Skype-Chain-ID": "49208aef-1fdc-4dd2-aa6c-8673377f8e1d", + "x-ms-client-request-id": "ea0623994260e82abf29a6a1e5a552bc" + }, + "ResponseBody": { + "recordingState": "active" + } + }, + { + "RequestUri": "https://acstestbot1.communication.azure.com/calling/serverCalls/3500789f-e11b-4ceb-85cb-bc8df2a01768/recordings/eyJQbGF0Zm9ybUVuZHBvaW50SWQiOiIxZjIwMTMwMC1kNDQ0LTRmODItOTNkNS1iMjFjMGI0N2Q0NGYiLCJSZXNvdXJjZVNwZWNpZmljSWQiOiI3ODg1ZGNhYy0zOTU1LTRmNTEtODM1OC01MDNkZmYyZjZkZWIifQ?api-version=2021-06-15-preview", + "RequestMethod": "DELETE", + "RequestHeaders": { + "Accept": "application/json", + "Authorization": "Sanitized", + "Date": "Wed, 16 Jun 2021 06:15:07 GMT", + "User-Agent": "azsdk-net-Communication.CallingServer/1.0.0-alpha.20210615.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19043 )", + "x-ms-client-request-id": "bbddd4be9f8ec84b238cad7c9d3bcc34", + "x-ms-content-sha256": "Sanitized", + "x-ms-return-client-request-id": "true", + "x-ms-date": "Wed, 16 Jun 2021 06:15:07 GMT" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Content-Length": "0", + "Date": "Wed, 16 Jun 2021 06:15:06 GMT", + "X-Azure-Ref": "06pbJYAAAAADt\u002Bvd3Ym54Tqz0ZriqLeKfV1NURURHRTA4MTMAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "X-Cache": "CONFIG_NOCACHE", + "X-Microsoft-Skype-Chain-ID": "b07f60d0-be10-4c91-bd93-4a540be0d6a5", + "x-ms-client-request-id": "bbddd4be9f8ec84b238cad7c9d3bcc34" + }, + "ResponseBody": [] + }, + { + "RequestUri": "https://acstestbot1.communication.azure.com/calling/serverCalls/3500789f-e11b-4ceb-85cb-bc8df2a01768/recordings/eyJQbGF0Zm9ybUVuZHBvaW50SWQiOiIxZjIwMTMwMC1kNDQ0LTRmODItOTNkNS1iMjFjMGI0N2Q0NGYiLCJSZXNvdXJjZVNwZWNpZmljSWQiOiI3ODg1ZGNhYy0zOTU1LTRmNTEtODM1OC01MDNkZmYyZjZkZWIifQ?api-version=2021-06-15-preview", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Authorization": "Sanitized", + "Date": "Wed, 16 Jun 2021 06:15:07 GMT", + "User-Agent": "azsdk-net-Communication.CallingServer/1.0.0-alpha.20210615.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19043 )", + "x-ms-client-request-id": "5e2a5f8598e882ec8f1ac9a82940f508", + "x-ms-content-sha256": "Sanitized", + "x-ms-return-client-request-id": "true", + "x-ms-date": "Wed, 16 Jun 2021 06:15:06 GMT" + }, + "RequestBody": null, + "StatusCode": 400, + "ResponseHeaders": { + "Content-Length": "93", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 16 Jun 2021 06:15:06 GMT", + "X-Azure-Ref": "065bJYAAAAAC5fPwjZF8zQJTaqoIJiI\u002BbV1NURURHRTA4MTMAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "X-Cache": "CONFIG_NOCACHE", + "X-Microsoft-Skype-Chain-ID": "b91d8469-13ed-4220-bd56-745e7b1d5e87", + "x-ms-client-request-id": "5e2a5f8598e882ec8f1ac9a82940f508" + }, + "ResponseBody": { + "error": { + "code": "8501", + "message": "Action is invalid when call is not in Established state" + } + } + }, + { + "RequestUri": "https://acstestbot1.communication.azure.com/calling/callConnections/1f201300-bfb0-4767-9e79-78154c5f075d/:hangup?api-version=2021-06-15-preview", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json", + "Authorization": "Sanitized", + "Date": "Wed, 16 Jun 2021 06:15:17 GMT", + "User-Agent": "azsdk-net-Communication.CallingServer/1.0.0-alpha.20210615.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19043 )", + "x-ms-client-request-id": "fb720b77381af95dd83ec7d495ae4a83", + "x-ms-content-sha256": "Sanitized", + "x-ms-return-client-request-id": "true", + "x-ms-date": "Wed, 16 Jun 2021 06:15:17 GMT" + }, + "RequestBody": null, + "StatusCode": 202, + "ResponseHeaders": { + "Content-Length": "0", + "Date": "Wed, 16 Jun 2021 06:15:17 GMT", + "X-Azure-Ref": "09ZbJYAAAAABvakfTfriAR41VW7CnhDyvV1NURURHRTA4MTMAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "X-Cache": "CONFIG_NOCACHE", + "X-Microsoft-Skype-Chain-ID": "6d7fb8b8-f118-4157-b315-cb785079c3c2", + "x-ms-client-request-id": "fb720b77381af95dd83ec7d495ae4a83" + }, + "ResponseBody": [] + }, + { + "RequestUri": "https://acstestbot1.communication.azure.com/calling/callConnections/1f201300-c64b-4d56-8b13-d2d249d66e51/:hangup?api-version=2021-06-15-preview", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json", + "Authorization": "Sanitized", + "Date": "Wed, 16 Jun 2021 06:15:17 GMT", + "User-Agent": "azsdk-net-Communication.CallingServer/1.0.0-alpha.20210615.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19043 )", + "x-ms-client-request-id": "851b715df47a25d3e75b2c73d6a29ee3", + "x-ms-content-sha256": "Sanitized", + "x-ms-return-client-request-id": "true", + "x-ms-date": "Wed, 16 Jun 2021 06:15:17 GMT" + }, + "RequestBody": null, + "StatusCode": 202, + "ResponseHeaders": { + "Content-Length": "0", + "Date": "Wed, 16 Jun 2021 06:15:17 GMT", + "X-Azure-Ref": "09ZbJYAAAAADMPDfgdmFDRpl/2PhlOTFNV1NURURHRTA4MTMAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "X-Cache": "CONFIG_NOCACHE", + "X-Microsoft-Skype-Chain-ID": "98c8b906-d978-4b79-9ef4-ca0537cdc539", + "x-ms-client-request-id": "851b715df47a25d3e75b2c73d6a29ee3" + }, + "ResponseBody": [] + } + ], + "Variables": { + "COMMUNICATION_LIVETEST_STATIC_CONNECTION_STRING": "endpoint=https://acstestbot1.communication.azure.com/;accesskey=Kg==", + "RandomSeed": "502582709" + } +} diff --git a/sdk/communication/Azure.Communication.CallingServer/tests/SessionRecords/ServerCallLiveTests/RunAllRecordingFunctionsScenarioTestsAsync.json b/sdk/communication/Azure.Communication.CallingServer/tests/SessionRecords/ServerCallLiveTests/RunAllRecordingFunctionsScenarioTestsAsync.json new file mode 100644 index 000000000000..c28d5053f636 --- /dev/null +++ b/sdk/communication/Azure.Communication.CallingServer/tests/SessionRecords/ServerCallLiveTests/RunAllRecordingFunctionsScenarioTestsAsync.json @@ -0,0 +1,370 @@ +{ + "Entries": [ + { + "RequestUri": "https://acstestbot1.communication.azure.com/calling/serverCalls/3500789f-e11b-4ceb-85cb-bc8df2a01768/:join?api-version=2021-06-15-preview", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json", + "Authorization": "Sanitized", + "Content-Length": "281", + "Content-Type": "application/json", + "Date": "Wed, 16 Jun 2021 06:14:39 GMT", + "traceparent": "00-616dfbbf36772a46864bf7c08755624d-bcc64f263cee0042-00", + "User-Agent": "azsdk-net-Communication.CallingServer/1.0.0-alpha.20210615.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19043 )", + "x-ms-client-request-id": "f49f5f0bf1da113c53240a529cfffbef", + "x-ms-content-sha256": "Sanitized", + "x-ms-return-client-request-id": "true", + "x-ms-date": "Wed, 16 Jun 2021 06:14:39 GMT" + }, + "RequestBody": { + "source": { + "communicationUser": { + "id": "8:acs:016a7064-0581-40b9-be73-6dde64d69d72_e3560385-776f-41d1-bf04-07ef738f2f23" + } + }, + "callbackUri": "https://dummy.ngrok.io/api/incident/callback?SecretKey=helloworld", + "requestedMediaTypes": [ + "audio" + ], + "requestedCallEvents": [ + "participantsUpdated" + ] + }, + "StatusCode": 202, + "ResponseHeaders": { + "Content-Length": "110", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 16 Jun 2021 06:14:40 GMT", + "X-Azure-Ref": "00JbJYAAAAABoXEnj\u002B/jNT6h9T9oEgjZlV1NURURHRTA4MTMAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "X-Cache": "CONFIG_NOCACHE", + "X-Microsoft-Skype-Chain-ID": "63fffae3-74c2-4c76-bd52-d7e03c99814c", + "x-ms-client-request-id": "f49f5f0bf1da113c53240a529cfffbef" + }, + "ResponseBody": { + "callLegId": "1f201300-bfb0-4767-9e79-78154c5f075d", + "callConnectionId": "1f201300-bfb0-4767-9e79-78154c5f075d" + } + }, + { + "RequestUri": "https://acstestbot1.communication.azure.com/calling/serverCalls/3500789f-e11b-4ceb-85cb-bc8df2a01768/:join?api-version=2021-06-15-preview", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json", + "Authorization": "Sanitized", + "Content-Length": "281", + "Content-Type": "application/json", + "Date": "Wed, 16 Jun 2021 06:14:41 GMT", + "traceparent": "00-97b6c6b7e5d89e41a1954f50a2583670-b9ea8c9ae34aa643-00", + "User-Agent": "azsdk-net-Communication.CallingServer/1.0.0-alpha.20210615.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19043 )", + "x-ms-client-request-id": "37b43a95a006dde1b43b017473e2d7de", + "x-ms-content-sha256": "Sanitized", + "x-ms-return-client-request-id": "true", + "x-ms-date": "Wed, 16 Jun 2021 06:14:41 GMT" + }, + "RequestBody": { + "source": { + "communicationUser": { + "id": "8:acs:016a7064-0581-40b9-be73-6dde64d69d72_e3560385-776f-41d1-bf04-07ef738f2fc1" + } + }, + "callbackUri": "https://dummy.ngrok.io/api/incident/callback?SecretKey=helloworld", + "requestedMediaTypes": [ + "audio" + ], + "requestedCallEvents": [ + "participantsUpdated" + ] + }, + "StatusCode": 202, + "ResponseHeaders": { + "Content-Length": "110", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 16 Jun 2021 06:14:41 GMT", + "X-Azure-Ref": "00ZbJYAAAAAAWWBFl\u002BUa4Q4pAQfn83SdiV1NURURHRTA4MTMAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "X-Cache": "CONFIG_NOCACHE", + "X-Microsoft-Skype-Chain-ID": "afd18997-36d8-4ea5-aaca-6fe5534394e0", + "x-ms-client-request-id": "37b43a95a006dde1b43b017473e2d7de" + }, + "ResponseBody": { + "callLegId": "1f201300-c64b-4d56-8b13-d2d249d66e51", + "callConnectionId": "1f201300-c64b-4d56-8b13-d2d249d66e51" + } + }, + { + "RequestUri": "https://acstestbot1.communication.azure.com/calling/serverCalls/3500789f-e11b-4ceb-85cb-bc8df2a01768/recordings?api-version=2021-06-15-preview", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json", + "Authorization": "Sanitized", + "Content-Length": "97", + "Content-Type": "application/json", + "Date": "Wed, 16 Jun 2021 06:14:43 GMT", + "User-Agent": "azsdk-net-Communication.CallingServer/1.0.0-alpha.20210615.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19043 )", + "x-ms-client-request-id": "c9e4c88cc186738e15632a50b497a3fc", + "x-ms-content-sha256": "Sanitized", + "x-ms-return-client-request-id": "true", + "x-ms-date": "Wed, 16 Jun 2021 06:14:43 GMT" + }, + "RequestBody": { + "recordingStateCallbackUri": "https://dummy.ngrok.io/api/incident/callback?SecretKey=helloworld" + }, + "StatusCode": 200, + "ResponseHeaders": { + "Content-Length": "180", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 16 Jun 2021 06:14:47 GMT", + "X-Azure-Ref": "005bJYAAAAAA1himOYEmwRKGBxioDEEsFV1NURURHRTA4MTMAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "X-Cache": "CONFIG_NOCACHE", + "X-Microsoft-Skype-Chain-ID": "36fe1b85-d99c-4558-8f2e-82ce686480bb", + "x-ms-client-request-id": "c9e4c88cc186738e15632a50b497a3fc" + }, + "ResponseBody": { + "recordingId": "eyJQbGF0Zm9ybUVuZHBvaW50SWQiOiIxZjIwMTMwMC1kNDQ0LTRmODItOTNkNS1iMjFjMGI0N2Q0NGYiLCJSZXNvdXJjZVNwZWNpZmljSWQiOiI3ODg1ZGNhYy0zOTU1LTRmNTEtODM1OC01MDNkZmYyZjZkZWIifQ" + } + }, + { + "RequestUri": "https://acstestbot1.communication.azure.com/calling/serverCalls/3500789f-e11b-4ceb-85cb-bc8df2a01768/recordings/eyJQbGF0Zm9ybUVuZHBvaW50SWQiOiIxZjIwMTMwMC1kNDQ0LTRmODItOTNkNS1iMjFjMGI0N2Q0NGYiLCJSZXNvdXJjZVNwZWNpZmljSWQiOiI3ODg1ZGNhYy0zOTU1LTRmNTEtODM1OC01MDNkZmYyZjZkZWIifQ?api-version=2021-06-15-preview", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Authorization": "Sanitized", + "Date": "Wed, 16 Jun 2021 06:14:54 GMT", + "User-Agent": "azsdk-net-Communication.CallingServer/1.0.0-alpha.20210615.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19043 )", + "x-ms-client-request-id": "729d170df0726a9b7dc2409ff0c89e70", + "x-ms-content-sha256": "Sanitized", + "x-ms-return-client-request-id": "true", + "x-ms-date": "Wed, 16 Jun 2021 06:14:54 GMT" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Content-Length": "27", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 16 Jun 2021 06:14:53 GMT", + "X-Azure-Ref": "03ZbJYAAAAAAgJG8VtzO1TrwwB9BOK5y1V1NURURHRTA4MTMAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "X-Cache": "CONFIG_NOCACHE", + "X-Microsoft-Skype-Chain-ID": "d10931d4-a019-450b-ba8c-7c12b69abfa5", + "x-ms-client-request-id": "729d170df0726a9b7dc2409ff0c89e70" + }, + "ResponseBody": { + "recordingState": "active" + } + }, + { + "RequestUri": "https://acstestbot1.communication.azure.com/calling/serverCalls/3500789f-e11b-4ceb-85cb-bc8df2a01768/recordings/eyJQbGF0Zm9ybUVuZHBvaW50SWQiOiIxZjIwMTMwMC1kNDQ0LTRmODItOTNkNS1iMjFjMGI0N2Q0NGYiLCJSZXNvdXJjZVNwZWNpZmljSWQiOiI3ODg1ZGNhYy0zOTU1LTRmNTEtODM1OC01MDNkZmYyZjZkZWIifQ/:pause?api-version=2021-06-15-preview", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json", + "Authorization": "Sanitized", + "Date": "Wed, 16 Jun 2021 06:14:54 GMT", + "User-Agent": "azsdk-net-Communication.CallingServer/1.0.0-alpha.20210615.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19043 )", + "x-ms-client-request-id": "d3c52c4d311ad369ab4121a37691281d", + "x-ms-content-sha256": "Sanitized", + "x-ms-return-client-request-id": "true", + "x-ms-date": "Wed, 16 Jun 2021 06:14:54 GMT" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Content-Length": "0", + "Date": "Wed, 16 Jun 2021 06:14:54 GMT", + "X-Azure-Ref": "03pbJYAAAAABp62/ClNLRSKXU67cpwhpTV1NURURHRTA4MTMAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "X-Cache": "CONFIG_NOCACHE", + "X-Microsoft-Skype-Chain-ID": "4794c1cc-8455-40f9-9376-18b6fff4565e", + "x-ms-client-request-id": "d3c52c4d311ad369ab4121a37691281d" + }, + "ResponseBody": [] + }, + { + "RequestUri": "https://acstestbot1.communication.azure.com/calling/serverCalls/3500789f-e11b-4ceb-85cb-bc8df2a01768/recordings/eyJQbGF0Zm9ybUVuZHBvaW50SWQiOiIxZjIwMTMwMC1kNDQ0LTRmODItOTNkNS1iMjFjMGI0N2Q0NGYiLCJSZXNvdXJjZVNwZWNpZmljSWQiOiI3ODg1ZGNhYy0zOTU1LTRmNTEtODM1OC01MDNkZmYyZjZkZWIifQ?api-version=2021-06-15-preview", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Authorization": "Sanitized", + "Date": "Wed, 16 Jun 2021 06:15:00 GMT", + "User-Agent": "azsdk-net-Communication.CallingServer/1.0.0-alpha.20210615.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19043 )", + "x-ms-client-request-id": "5b67059864459b6c2d794bc481ef834d", + "x-ms-content-sha256": "Sanitized", + "x-ms-return-client-request-id": "true", + "x-ms-date": "Wed, 16 Jun 2021 06:15:00 GMT" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Content-Length": "29", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 16 Jun 2021 06:15:00 GMT", + "X-Azure-Ref": "05JbJYAAAAACM6rwId1HSQLYyd1v2JmBPV1NURURHRTA4MTMAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "X-Cache": "CONFIG_NOCACHE", + "X-Microsoft-Skype-Chain-ID": "aa9d90af-19a5-4b68-b398-b4e1297babf6", + "x-ms-client-request-id": "5b67059864459b6c2d794bc481ef834d" + }, + "ResponseBody": { + "recordingState": "inactive" + } + }, + { + "RequestUri": "https://acstestbot1.communication.azure.com/calling/serverCalls/3500789f-e11b-4ceb-85cb-bc8df2a01768/recordings/eyJQbGF0Zm9ybUVuZHBvaW50SWQiOiIxZjIwMTMwMC1kNDQ0LTRmODItOTNkNS1iMjFjMGI0N2Q0NGYiLCJSZXNvdXJjZVNwZWNpZmljSWQiOiI3ODg1ZGNhYy0zOTU1LTRmNTEtODM1OC01MDNkZmYyZjZkZWIifQ/:resume?api-version=2021-06-15-preview", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json", + "Authorization": "Sanitized", + "Date": "Wed, 16 Jun 2021 06:15:00 GMT", + "User-Agent": "azsdk-net-Communication.CallingServer/1.0.0-alpha.20210615.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19043 )", + "x-ms-client-request-id": "8803bac5d0d2dbe1aec9c730cff8f4eb", + "x-ms-content-sha256": "Sanitized", + "x-ms-return-client-request-id": "true", + "x-ms-date": "Wed, 16 Jun 2021 06:15:00 GMT" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Content-Length": "0", + "Date": "Wed, 16 Jun 2021 06:15:00 GMT", + "X-Azure-Ref": "05JbJYAAAAABe2s0EGy9XRaajwOIaoIGIV1NURURHRTA4MTMAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "X-Cache": "CONFIG_NOCACHE", + "X-Microsoft-Skype-Chain-ID": "70b8fd92-9762-4252-8113-5ab171bd0fa1", + "x-ms-client-request-id": "8803bac5d0d2dbe1aec9c730cff8f4eb" + }, + "ResponseBody": [] + }, + { + "RequestUri": "https://acstestbot1.communication.azure.com/calling/serverCalls/3500789f-e11b-4ceb-85cb-bc8df2a01768/recordings/eyJQbGF0Zm9ybUVuZHBvaW50SWQiOiIxZjIwMTMwMC1kNDQ0LTRmODItOTNkNS1iMjFjMGI0N2Q0NGYiLCJSZXNvdXJjZVNwZWNpZmljSWQiOiI3ODg1ZGNhYy0zOTU1LTRmNTEtODM1OC01MDNkZmYyZjZkZWIifQ?api-version=2021-06-15-preview", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Authorization": "Sanitized", + "Date": "Wed, 16 Jun 2021 06:15:06 GMT", + "User-Agent": "azsdk-net-Communication.CallingServer/1.0.0-alpha.20210615.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19043 )", + "x-ms-client-request-id": "ea0623994260e82abf29a6a1e5a552bc", + "x-ms-content-sha256": "Sanitized", + "x-ms-return-client-request-id": "true", + "x-ms-date": "Wed, 16 Jun 2021 06:15:06 GMT" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Content-Length": "27", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 16 Jun 2021 06:15:06 GMT", + "X-Azure-Ref": "06pbJYAAAAAAMilSk8NYKQI/3lphUmEdQV1NURURHRTA4MTMAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "X-Cache": "CONFIG_NOCACHE", + "X-Microsoft-Skype-Chain-ID": "49208aef-1fdc-4dd2-aa6c-8673377f8e1d", + "x-ms-client-request-id": "ea0623994260e82abf29a6a1e5a552bc" + }, + "ResponseBody": { + "recordingState": "active" + } + }, + { + "RequestUri": "https://acstestbot1.communication.azure.com/calling/serverCalls/3500789f-e11b-4ceb-85cb-bc8df2a01768/recordings/eyJQbGF0Zm9ybUVuZHBvaW50SWQiOiIxZjIwMTMwMC1kNDQ0LTRmODItOTNkNS1iMjFjMGI0N2Q0NGYiLCJSZXNvdXJjZVNwZWNpZmljSWQiOiI3ODg1ZGNhYy0zOTU1LTRmNTEtODM1OC01MDNkZmYyZjZkZWIifQ?api-version=2021-06-15-preview", + "RequestMethod": "DELETE", + "RequestHeaders": { + "Accept": "application/json", + "Authorization": "Sanitized", + "Date": "Wed, 16 Jun 2021 06:15:07 GMT", + "User-Agent": "azsdk-net-Communication.CallingServer/1.0.0-alpha.20210615.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19043 )", + "x-ms-client-request-id": "bbddd4be9f8ec84b238cad7c9d3bcc34", + "x-ms-content-sha256": "Sanitized", + "x-ms-return-client-request-id": "true", + "x-ms-date": "Wed, 16 Jun 2021 06:15:07 GMT" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Content-Length": "0", + "Date": "Wed, 16 Jun 2021 06:15:06 GMT", + "X-Azure-Ref": "06pbJYAAAAADt\u002Bvd3Ym54Tqz0ZriqLeKfV1NURURHRTA4MTMAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "X-Cache": "CONFIG_NOCACHE", + "X-Microsoft-Skype-Chain-ID": "b07f60d0-be10-4c91-bd93-4a540be0d6a5", + "x-ms-client-request-id": "bbddd4be9f8ec84b238cad7c9d3bcc34" + }, + "ResponseBody": [] + }, + { + "RequestUri": "https://acstestbot1.communication.azure.com/calling/serverCalls/3500789f-e11b-4ceb-85cb-bc8df2a01768/recordings/eyJQbGF0Zm9ybUVuZHBvaW50SWQiOiIxZjIwMTMwMC1kNDQ0LTRmODItOTNkNS1iMjFjMGI0N2Q0NGYiLCJSZXNvdXJjZVNwZWNpZmljSWQiOiI3ODg1ZGNhYy0zOTU1LTRmNTEtODM1OC01MDNkZmYyZjZkZWIifQ?api-version=2021-06-15-preview", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Authorization": "Sanitized", + "Date": "Wed, 16 Jun 2021 06:15:07 GMT", + "User-Agent": "azsdk-net-Communication.CallingServer/1.0.0-alpha.20210615.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19043 )", + "x-ms-client-request-id": "5e2a5f8598e882ec8f1ac9a82940f508", + "x-ms-content-sha256": "Sanitized", + "x-ms-return-client-request-id": "true", + "x-ms-date": "Wed, 16 Jun 2021 06:15:06 GMT" + }, + "RequestBody": null, + "StatusCode": 400, + "ResponseHeaders": { + "Content-Length": "93", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 16 Jun 2021 06:15:06 GMT", + "X-Azure-Ref": "065bJYAAAAAC5fPwjZF8zQJTaqoIJiI\u002BbV1NURURHRTA4MTMAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "X-Cache": "CONFIG_NOCACHE", + "X-Microsoft-Skype-Chain-ID": "b91d8469-13ed-4220-bd56-745e7b1d5e87", + "x-ms-client-request-id": "5e2a5f8598e882ec8f1ac9a82940f508" + }, + "ResponseBody": { + "error": { + "code": "8501", + "message": "Action is invalid when call is not in Established state" + } + } + }, + { + "RequestUri": "https://acstestbot1.communication.azure.com/calling/callConnections/1f201300-bfb0-4767-9e79-78154c5f075d/:hangup?api-version=2021-06-15-preview", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json", + "Authorization": "Sanitized", + "Date": "Wed, 16 Jun 2021 06:15:17 GMT", + "User-Agent": "azsdk-net-Communication.CallingServer/1.0.0-alpha.20210615.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19043 )", + "x-ms-client-request-id": "fb720b77381af95dd83ec7d495ae4a83", + "x-ms-content-sha256": "Sanitized", + "x-ms-return-client-request-id": "true", + "x-ms-date": "Wed, 16 Jun 2021 06:15:17 GMT" + }, + "RequestBody": null, + "StatusCode": 202, + "ResponseHeaders": { + "Content-Length": "0", + "Date": "Wed, 16 Jun 2021 06:15:17 GMT", + "X-Azure-Ref": "09ZbJYAAAAABvakfTfriAR41VW7CnhDyvV1NURURHRTA4MTMAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "X-Cache": "CONFIG_NOCACHE", + "X-Microsoft-Skype-Chain-ID": "6d7fb8b8-f118-4157-b315-cb785079c3c2", + "x-ms-client-request-id": "fb720b77381af95dd83ec7d495ae4a83" + }, + "ResponseBody": [] + }, + { + "RequestUri": "https://acstestbot1.communication.azure.com/calling/callConnections/1f201300-c64b-4d56-8b13-d2d249d66e51/:hangup?api-version=2021-06-15-preview", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json", + "Authorization": "Sanitized", + "Date": "Wed, 16 Jun 2021 06:15:17 GMT", + "User-Agent": "azsdk-net-Communication.CallingServer/1.0.0-alpha.20210615.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19043 )", + "x-ms-client-request-id": "851b715df47a25d3e75b2c73d6a29ee3", + "x-ms-content-sha256": "Sanitized", + "x-ms-return-client-request-id": "true", + "x-ms-date": "Wed, 16 Jun 2021 06:15:17 GMT" + }, + "RequestBody": null, + "StatusCode": 202, + "ResponseHeaders": { + "Content-Length": "0", + "Date": "Wed, 16 Jun 2021 06:15:17 GMT", + "X-Azure-Ref": "09ZbJYAAAAADMPDfgdmFDRpl/2PhlOTFNV1NURURHRTA4MTMAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "X-Cache": "CONFIG_NOCACHE", + "X-Microsoft-Skype-Chain-ID": "98c8b906-d978-4b79-9ef4-ca0537cdc539", + "x-ms-client-request-id": "851b715df47a25d3e75b2c73d6a29ee3" + }, + "ResponseBody": [] + } + ], + "Variables": { + "COMMUNICATION_LIVETEST_STATIC_CONNECTION_STRING": "endpoint=https://acstestbot1.communication.azure.com/;accesskey=Kg==", + "RandomSeed": "502582709" + } +} diff --git a/sdk/communication/Azure.Communication.CallingServer/tests/SessionRecords/ServerCallLiveTests/RunCreateAddRemoveHangupScenarioTests.json b/sdk/communication/Azure.Communication.CallingServer/tests/SessionRecords/ServerCallLiveTests/RunCreateAddRemoveHangupScenarioTests.json new file mode 100644 index 000000000000..fc6295976b30 --- /dev/null +++ b/sdk/communication/Azure.Communication.CallingServer/tests/SessionRecords/ServerCallLiveTests/RunCreateAddRemoveHangupScenarioTests.json @@ -0,0 +1,210 @@ +{ + "Entries": [ + { + "RequestUri": "https://acstestbot1.communication.azure.com/calling/serverCalls/3500789f-e11b-4ceb-85cb-bc8df2a01768/:join?api-version=2021-06-15-preview", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json", + "Authorization": "Sanitized", + "Content-Length": "281", + "Content-Type": "application/json", + "Date": "Wed, 16 Jun 2021 06:19:57 GMT", + "traceparent": "00-0cb5b4526f16344dabc81f983bdd33f8-c6457baa3ffaa342-00", + "User-Agent": "azsdk-net-Communication.CallingServer/1.0.0-alpha.20210615.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19043 )", + "x-ms-client-request-id": "5b1c21631872ba7c6eab805565cd5455", + "x-ms-content-sha256": "Sanitized", + "x-ms-return-client-request-id": "true", + "x-ms-date": "Wed, 16 Jun 2021 06:19:57 GMT" + }, + "RequestBody": { + "source": { + "communicationUser": { + "id": "8:acs:016a7064-0581-40b9-be73-6dde64d69d72_e3560385-776f-41d1-bf04-07ef738f2f23" + } + }, + "callbackUri": "https://dummy.ngrok.io/api/incident/callback?SecretKey=helloworld", + "requestedMediaTypes": [ + "audio" + ], + "requestedCallEvents": [ + "participantsUpdated" + ] + }, + "StatusCode": 202, + "ResponseHeaders": { + "Content-Length": "110", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 16 Jun 2021 06:19:57 GMT", + "X-Azure-Ref": "0DpjJYAAAAACsNdkW0upQTL\u002BwrOJMzDCHV1NURURHRTA4MDkAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "X-Cache": "CONFIG_NOCACHE", + "X-Microsoft-Skype-Chain-ID": "5a3dc9d6-3a58-4a91-a32b-aae81af84c36", + "x-ms-client-request-id": "5b1c21631872ba7c6eab805565cd5455" + }, + "ResponseBody": { + "callLegId": "86201300-42cd-440d-8c0c-9536b501ae43", + "callConnectionId": "86201300-42cd-440d-8c0c-9536b501ae43" + } + }, + { + "RequestUri": "https://acstestbot1.communication.azure.com/calling/serverCalls/3500789f-e11b-4ceb-85cb-bc8df2a01768/:join?api-version=2021-06-15-preview", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json", + "Authorization": "Sanitized", + "Content-Length": "281", + "Content-Type": "application/json", + "Date": "Wed, 16 Jun 2021 06:19:59 GMT", + "traceparent": "00-5220e669df7b314da391bac86927fdbe-1a9483565a5e7544-00", + "User-Agent": "azsdk-net-Communication.CallingServer/1.0.0-alpha.20210615.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19043 )", + "x-ms-client-request-id": "dc3c427de05f9908815bf920d2c33b02", + "x-ms-content-sha256": "Sanitized", + "x-ms-return-client-request-id": "true", + "x-ms-date": "Wed, 16 Jun 2021 06:19:59 GMT" + }, + "RequestBody": { + "source": { + "communicationUser": { + "id": "8:acs:016a7064-0581-40b9-be73-6dde64d69d72_e3560385-776f-41d1-bf04-07ef738f2fc1" + } + }, + "callbackUri": "https://dummy.ngrok.io/api/incident/callback?SecretKey=helloworld", + "requestedMediaTypes": [ + "audio" + ], + "requestedCallEvents": [ + "participantsUpdated" + ] + }, + "StatusCode": 202, + "ResponseHeaders": { + "Content-Length": "110", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 16 Jun 2021 06:19:59 GMT", + "X-Azure-Ref": "0D5jJYAAAAACAjX3iTmssRqXtdBC05sNSV1NURURHRTA4MDkAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "X-Cache": "CONFIG_NOCACHE", + "X-Microsoft-Skype-Chain-ID": "39a374e5-fd55-48a3-ad47-71290dfd6ee7", + "x-ms-client-request-id": "dc3c427de05f9908815bf920d2c33b02" + }, + "ResponseBody": { + "callLegId": "86201300-2cfb-4d0e-8db8-2e11a994b2ed", + "callConnectionId": "86201300-2cfb-4d0e-8db8-2e11a994b2ed" + } + }, + { + "RequestUri": "https://acstestbot1.communication.azure.com/calling/serverCalls/3500789f-e11b-4ceb-85cb-bc8df2a01768/participants?api-version=2021-06-15-preview", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json", + "Authorization": "Sanitized", + "Content-Length": "208", + "Content-Type": "application/json", + "Date": "Wed, 16 Jun 2021 06:20:11 GMT", + "User-Agent": "azsdk-net-Communication.CallingServer/1.0.0-alpha.20210615.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19043 )", + "x-ms-client-request-id": "903aec5eab806bc4938f9e74ab45934c", + "x-ms-content-sha256": "Sanitized", + "x-ms-return-client-request-id": "true", + "x-ms-date": "Wed, 16 Jun 2021 06:20:11 GMT" + }, + "RequestBody": { + "participant": { + "communicationUser": { + "id": "8:acs:016a7064-0581-40b9-be73-6dde64d69d72_0000000a-b200-7a0d-570c-113a0d00288d" + } + }, + "callbackUri": "https://dummy.ngrok.io/api/incident/callback?SecretKey=helloworld" + }, + "StatusCode": 202, + "ResponseHeaders": { + "Content-Length": "56", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 16 Jun 2021 06:20:11 GMT", + "X-Azure-Ref": "0GpjJYAAAAADYA3qHM1aORan7rt3Q0JGTV1NURURHRTA4MDkAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "X-Cache": "CONFIG_NOCACHE", + "X-Microsoft-Skype-Chain-ID": "f2914421-4a9c-40c8-af49-c26181d7b1ec", + "x-ms-client-request-id": "903aec5eab806bc4938f9e74ab45934c" + }, + "ResponseBody": { + "participantId": "458cd853-3a2a-4cba-bb73-e86570c59f92" + } + }, + { + "RequestUri": "https://acstestbot1.communication.azure.com/calling/serverCalls/3500789f-e11b-4ceb-85cb-bc8df2a01768/participants/458cd853-3a2a-4cba-bb73-e86570c59f92?api-version=2021-06-15-preview", + "RequestMethod": "DELETE", + "RequestHeaders": { + "Accept": "application/json", + "Authorization": "Sanitized", + "Date": "Wed, 16 Jun 2021 06:20:22 GMT", + "User-Agent": "azsdk-net-Communication.CallingServer/1.0.0-alpha.20210615.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19043 )", + "x-ms-client-request-id": "13e2df785e4883d71883da171f5ce8aa", + "x-ms-content-sha256": "Sanitized", + "x-ms-return-client-request-id": "true", + "x-ms-date": "Wed, 16 Jun 2021 06:20:22 GMT" + }, + "RequestBody": null, + "StatusCode": 202, + "ResponseHeaders": { + "Content-Length": "0", + "Date": "Wed, 16 Jun 2021 06:20:23 GMT", + "X-Azure-Ref": "0JpjJYAAAAACZN8SExMrNQpJifKyXZ37TV1NURURHRTA4MDkAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "X-Cache": "CONFIG_NOCACHE", + "X-Microsoft-Skype-Chain-ID": "ac90b417-6b79-4f25-8082-187cef31bfc1", + "x-ms-client-request-id": "13e2df785e4883d71883da171f5ce8aa" + }, + "ResponseBody": [] + }, + { + "RequestUri": "https://acstestbot1.communication.azure.com/calling/callConnections/86201300-42cd-440d-8c0c-9536b501ae43/:hangup?api-version=2021-06-15-preview", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json", + "Authorization": "Sanitized", + "Date": "Wed, 16 Jun 2021 06:20:34 GMT", + "User-Agent": "azsdk-net-Communication.CallingServer/1.0.0-alpha.20210615.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19043 )", + "x-ms-client-request-id": "79f77e6fc393d1d57ed049cf4193ee3b", + "x-ms-content-sha256": "Sanitized", + "x-ms-return-client-request-id": "true", + "x-ms-date": "Wed, 16 Jun 2021 06:20:34 GMT" + }, + "RequestBody": null, + "StatusCode": 202, + "ResponseHeaders": { + "Content-Length": "0", + "Date": "Wed, 16 Jun 2021 06:20:33 GMT", + "X-Azure-Ref": "0MpjJYAAAAAAjctD2KR8GQpby4gRy3IPBV1NURURHRTA4MDkAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "X-Cache": "CONFIG_NOCACHE", + "X-Microsoft-Skype-Chain-ID": "e0e90ba5-2f82-4e21-baf6-825be0611d19", + "x-ms-client-request-id": "79f77e6fc393d1d57ed049cf4193ee3b" + }, + "ResponseBody": [] + }, + { + "RequestUri": "https://acstestbot1.communication.azure.com/calling/callConnections/86201300-2cfb-4d0e-8db8-2e11a994b2ed/:hangup?api-version=2021-06-15-preview", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json", + "Authorization": "Sanitized", + "Date": "Wed, 16 Jun 2021 06:20:34 GMT", + "User-Agent": "azsdk-net-Communication.CallingServer/1.0.0-alpha.20210615.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19043 )", + "x-ms-client-request-id": "f2a7acc728e1ffb914b777fdd1ad4c36", + "x-ms-content-sha256": "Sanitized", + "x-ms-return-client-request-id": "true", + "x-ms-date": "Wed, 16 Jun 2021 06:20:34 GMT" + }, + "RequestBody": null, + "StatusCode": 202, + "ResponseHeaders": { + "Content-Length": "0", + "Date": "Wed, 16 Jun 2021 06:20:33 GMT", + "X-Azure-Ref": "0MpjJYAAAAABunbzxQG1rSq7EN/GQmG3ZV1NURURHRTA4MDkAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "X-Cache": "CONFIG_NOCACHE", + "X-Microsoft-Skype-Chain-ID": "ec709066-aef6-41c1-9764-3bafa857452d", + "x-ms-client-request-id": "f2a7acc728e1ffb914b777fdd1ad4c36" + }, + "ResponseBody": [] + } + ], + "Variables": { + "COMMUNICATION_LIVETEST_STATIC_CONNECTION_STRING": "endpoint=https://acstestbot1.communication.azure.com/;accesskey=Kg==", + "RandomSeed": "1522827907" + } +} diff --git a/sdk/communication/Azure.Communication.CallingServer/tests/SessionRecords/ServerCallLiveTests/RunCreateAddRemoveHangupScenarioTestsAsync.json b/sdk/communication/Azure.Communication.CallingServer/tests/SessionRecords/ServerCallLiveTests/RunCreateAddRemoveHangupScenarioTestsAsync.json new file mode 100644 index 000000000000..44af6db5a4a3 --- /dev/null +++ b/sdk/communication/Azure.Communication.CallingServer/tests/SessionRecords/ServerCallLiveTests/RunCreateAddRemoveHangupScenarioTestsAsync.json @@ -0,0 +1,210 @@ +{ + "Entries": [ + { + "RequestUri": "https://acstestbot1.communication.azure.com/calling/serverCalls/3500789f-e11b-4ceb-85cb-bc8df2a01768/:join?api-version=2021-06-15-preview", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json", + "Authorization": "Sanitized", + "Content-Length": "281", + "Content-Type": "application/json", + "Date": "Wed, 16 Jun 2021 06:20:35 GMT", + "traceparent": "00-f5557c794173be4a800f3f8e5e51f6f5-26cb1b99b9cb9348-00", + "User-Agent": "azsdk-net-Communication.CallingServer/1.0.0-alpha.20210615.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19043 )", + "x-ms-client-request-id": "1cdb28d9a82f6a18a79aa8ce818fde86", + "x-ms-content-sha256": "Sanitized", + "x-ms-return-client-request-id": "true", + "x-ms-date": "Wed, 16 Jun 2021 06:20:35 GMT" + }, + "RequestBody": { + "source": { + "communicationUser": { + "id": "8:acs:016a7064-0581-40b9-be73-6dde64d69d72_e3560385-776f-41d1-bf04-07ef738f2f23" + } + }, + "callbackUri": "https://dummy.ngrok.io/api/incident/callback?SecretKey=helloworld", + "requestedMediaTypes": [ + "audio" + ], + "requestedCallEvents": [ + "participantsUpdated" + ] + }, + "StatusCode": 202, + "ResponseHeaders": { + "Content-Length": "110", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 16 Jun 2021 06:20:34 GMT", + "X-Azure-Ref": "0MpjJYAAAAABhEubOs9Y9SqXxYwfuovZNV1NURURHRTA4MDkAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "X-Cache": "CONFIG_NOCACHE", + "X-Microsoft-Skype-Chain-ID": "d190e51d-23a8-4a17-a741-0a2c8ea30d12", + "x-ms-client-request-id": "1cdb28d9a82f6a18a79aa8ce818fde86" + }, + "ResponseBody": { + "callLegId": "86201300-2d08-48c7-bdcf-af606c040f6d", + "callConnectionId": "86201300-2d08-48c7-bdcf-af606c040f6d" + } + }, + { + "RequestUri": "https://acstestbot1.communication.azure.com/calling/serverCalls/3500789f-e11b-4ceb-85cb-bc8df2a01768/:join?api-version=2021-06-15-preview", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json", + "Authorization": "Sanitized", + "Content-Length": "281", + "Content-Type": "application/json", + "Date": "Wed, 16 Jun 2021 06:20:36 GMT", + "traceparent": "00-72e30145c827ee4e9cb04cd030f8399d-c93bc30c2786a44b-00", + "User-Agent": "azsdk-net-Communication.CallingServer/1.0.0-alpha.20210615.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19043 )", + "x-ms-client-request-id": "c578aad863a3538dd12a8af51b75ea12", + "x-ms-content-sha256": "Sanitized", + "x-ms-return-client-request-id": "true", + "x-ms-date": "Wed, 16 Jun 2021 06:20:36 GMT" + }, + "RequestBody": { + "source": { + "communicationUser": { + "id": "8:acs:016a7064-0581-40b9-be73-6dde64d69d72_e3560385-776f-41d1-bf04-07ef738f2fc1" + } + }, + "callbackUri": "https://dummy.ngrok.io/api/incident/callback?SecretKey=helloworld", + "requestedMediaTypes": [ + "audio" + ], + "requestedCallEvents": [ + "participantsUpdated" + ] + }, + "StatusCode": 202, + "ResponseHeaders": { + "Content-Length": "110", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 16 Jun 2021 06:20:35 GMT", + "X-Azure-Ref": "0NJjJYAAAAABvqdnHxPu3RJEF6dgjpsWhV1NURURHRTA4MDkAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "X-Cache": "CONFIG_NOCACHE", + "X-Microsoft-Skype-Chain-ID": "d4b4695d-26e1-487b-bd7a-f1b7d848176a", + "x-ms-client-request-id": "c578aad863a3538dd12a8af51b75ea12" + }, + "ResponseBody": { + "callLegId": "86201300-879b-4661-9077-38685652597f", + "callConnectionId": "86201300-879b-4661-9077-38685652597f" + } + }, + { + "RequestUri": "https://acstestbot1.communication.azure.com/calling/serverCalls/3500789f-e11b-4ceb-85cb-bc8df2a01768/participants?api-version=2021-06-15-preview", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json", + "Authorization": "Sanitized", + "Content-Length": "208", + "Content-Type": "application/json", + "Date": "Wed, 16 Jun 2021 06:20:47 GMT", + "User-Agent": "azsdk-net-Communication.CallingServer/1.0.0-alpha.20210615.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19043 )", + "x-ms-client-request-id": "a31a89405456b2bdaf8b092b273fd2c1", + "x-ms-content-sha256": "Sanitized", + "x-ms-return-client-request-id": "true", + "x-ms-date": "Wed, 16 Jun 2021 06:20:47 GMT" + }, + "RequestBody": { + "participant": { + "communicationUser": { + "id": "8:acs:016a7064-0581-40b9-be73-6dde64d69d72_0000000a-b200-7a0d-570c-113a0d00288d" + } + }, + "callbackUri": "https://dummy.ngrok.io/api/incident/callback?SecretKey=helloworld" + }, + "StatusCode": 202, + "ResponseHeaders": { + "Content-Length": "56", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 16 Jun 2021 06:20:48 GMT", + "X-Azure-Ref": "0P5jJYAAAAAB1/E0yb6yRSJ6c/Ui8e57IV1NURURHRTA4MDkAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "X-Cache": "CONFIG_NOCACHE", + "X-Microsoft-Skype-Chain-ID": "6a2130ee-3730-435e-beae-e0cdb9c61025", + "x-ms-client-request-id": "a31a89405456b2bdaf8b092b273fd2c1" + }, + "ResponseBody": { + "participantId": "15b87b6d-5e0b-421e-b5ad-9dd2e389eb8d" + } + }, + { + "RequestUri": "https://acstestbot1.communication.azure.com/calling/serverCalls/3500789f-e11b-4ceb-85cb-bc8df2a01768/participants/15b87b6d-5e0b-421e-b5ad-9dd2e389eb8d?api-version=2021-06-15-preview", + "RequestMethod": "DELETE", + "RequestHeaders": { + "Accept": "application/json", + "Authorization": "Sanitized", + "Date": "Wed, 16 Jun 2021 06:20:59 GMT", + "User-Agent": "azsdk-net-Communication.CallingServer/1.0.0-alpha.20210615.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19043 )", + "x-ms-client-request-id": "5de5d95fe3a475459b874b041d234e31", + "x-ms-content-sha256": "Sanitized", + "x-ms-return-client-request-id": "true", + "x-ms-date": "Wed, 16 Jun 2021 06:20:59 GMT" + }, + "RequestBody": null, + "StatusCode": 202, + "ResponseHeaders": { + "Content-Length": "0", + "Date": "Wed, 16 Jun 2021 06:21:00 GMT", + "X-Azure-Ref": "0S5jJYAAAAAAAB7iunIIuQJ\u002B7ddnx4nfvV1NURURHRTA4MDkAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "X-Cache": "CONFIG_NOCACHE", + "X-Microsoft-Skype-Chain-ID": "1fa79fa2-68ee-40ea-b2f7-a7a3a7f7f631", + "x-ms-client-request-id": "5de5d95fe3a475459b874b041d234e31" + }, + "ResponseBody": [] + }, + { + "RequestUri": "https://acstestbot1.communication.azure.com/calling/callConnections/86201300-2d08-48c7-bdcf-af606c040f6d/:hangup?api-version=2021-06-15-preview", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json", + "Authorization": "Sanitized", + "Date": "Wed, 16 Jun 2021 06:21:12 GMT", + "User-Agent": "azsdk-net-Communication.CallingServer/1.0.0-alpha.20210615.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19043 )", + "x-ms-client-request-id": "f88d96af3b748330ecc6161759612c91", + "x-ms-content-sha256": "Sanitized", + "x-ms-return-client-request-id": "true", + "x-ms-date": "Wed, 16 Jun 2021 06:21:12 GMT" + }, + "RequestBody": null, + "StatusCode": 202, + "ResponseHeaders": { + "Content-Length": "0", + "Date": "Wed, 16 Jun 2021 06:21:12 GMT", + "X-Azure-Ref": "0WJjJYAAAAACpoBkeTocASY2zUGtq21ioV1NURURHRTA4MDkAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "X-Cache": "CONFIG_NOCACHE", + "X-Microsoft-Skype-Chain-ID": "626f001c-a86b-4a74-84f0-e8c4fc81774d", + "x-ms-client-request-id": "f88d96af3b748330ecc6161759612c91" + }, + "ResponseBody": [] + }, + { + "RequestUri": "https://acstestbot1.communication.azure.com/calling/callConnections/86201300-879b-4661-9077-38685652597f/:hangup?api-version=2021-06-15-preview", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json", + "Authorization": "Sanitized", + "Date": "Wed, 16 Jun 2021 06:21:12 GMT", + "User-Agent": "azsdk-net-Communication.CallingServer/1.0.0-alpha.20210615.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19043 )", + "x-ms-client-request-id": "4296c9588d8f5d6e43a508ce08b9948c", + "x-ms-content-sha256": "Sanitized", + "x-ms-return-client-request-id": "true", + "x-ms-date": "Wed, 16 Jun 2021 06:21:12 GMT" + }, + "RequestBody": null, + "StatusCode": 202, + "ResponseHeaders": { + "Content-Length": "0", + "Date": "Wed, 16 Jun 2021 06:21:12 GMT", + "X-Azure-Ref": "0WJjJYAAAAAAgESxYLSQBQ6hXzOnXabtoV1NURURHRTA4MDkAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "X-Cache": "CONFIG_NOCACHE", + "X-Microsoft-Skype-Chain-ID": "b61c4230-eaa0-4b96-86e8-915c92bc6e3b", + "x-ms-client-request-id": "4296c9588d8f5d6e43a508ce08b9948c" + }, + "ResponseBody": [] + } + ], + "Variables": { + "COMMUNICATION_LIVETEST_STATIC_CONNECTION_STRING": "endpoint=https://acstestbot1.communication.azure.com/;accesskey=Kg==", + "RandomSeed": "38775367" + } +} diff --git a/sdk/communication/Azure.Communication.CallingServer/tests/SessionRecords/ServerCallLiveTests/RunCreatePlayCancelHangupScenarioTests.json b/sdk/communication/Azure.Communication.CallingServer/tests/SessionRecords/ServerCallLiveTests/RunCreatePlayCancelHangupScenarioTests.json new file mode 100644 index 000000000000..968caf9814d3 --- /dev/null +++ b/sdk/communication/Azure.Communication.CallingServer/tests/SessionRecords/ServerCallLiveTests/RunCreatePlayCancelHangupScenarioTests.json @@ -0,0 +1,249 @@ +{ + "Entries": [ + { + "RequestUri": "https://acstestbot1.communication.azure.com/calling/serverCalls/3500789f-e11b-4ceb-85cb-bc8df2a01768/:join?api-version=2021-06-15-preview", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json", + "Authorization": "Sanitized", + "Content-Length": "281", + "Content-Type": "application/json", + "Date": "Wed, 16 Jun 2021 06:16:47 GMT", + "traceparent": "00-8be82162454b314698037a2f1bffffef-5f4432689b885c4e-00", + "User-Agent": "azsdk-net-Communication.CallingServer/1.0.0-alpha.20210615.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19043 )", + "x-ms-client-request-id": "3eb76071115360cd27c4c26d83b4f8b4", + "x-ms-content-sha256": "Sanitized", + "x-ms-return-client-request-id": "true", + "x-ms-date": "Wed, 16 Jun 2021 06:16:47 GMT" + }, + "RequestBody": { + "source": { + "communicationUser": { + "id": "8:acs:016a7064-0581-40b9-be73-6dde64d69d72_e3560385-776f-41d1-bf04-07ef738f2f23" + } + }, + "callbackUri": "https://dummy.ngrok.io/api/incident/callback?SecretKey=helloworld", + "requestedMediaTypes": [ + "audio" + ], + "requestedCallEvents": [ + "participantsUpdated" + ] + }, + "StatusCode": 202, + "ResponseHeaders": { + "Content-Length": "110", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 16 Jun 2021 06:16:46 GMT", + "X-Azure-Ref": "0T5fJYAAAAAB3DWWnUVthQpm/9ECHREOJV1NURURHRTA4MDgAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "X-Cache": "CONFIG_NOCACHE", + "X-Microsoft-Skype-Chain-ID": "eee23c88-b4c7-427b-a442-339e4b0f90df", + "x-ms-client-request-id": "3eb76071115360cd27c4c26d83b4f8b4" + }, + "ResponseBody": { + "callLegId": "cd1f1300-00e2-4622-a7a4-7a12d92409fb", + "callConnectionId": "cd1f1300-00e2-4622-a7a4-7a12d92409fb" + } + }, + { + "RequestUri": "https://acstestbot1.communication.azure.com/calling/serverCalls/3500789f-e11b-4ceb-85cb-bc8df2a01768/:join?api-version=2021-06-15-preview", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json", + "Authorization": "Sanitized", + "Content-Length": "281", + "Content-Type": "application/json", + "Date": "Wed, 16 Jun 2021 06:16:48 GMT", + "traceparent": "00-5fd283bbed687e45b0f37243d26b191a-0d540710af6f9248-00", + "User-Agent": "azsdk-net-Communication.CallingServer/1.0.0-alpha.20210615.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19043 )", + "x-ms-client-request-id": "7f29f5ce3a7b2111dd86b053335b9b2b", + "x-ms-content-sha256": "Sanitized", + "x-ms-return-client-request-id": "true", + "x-ms-date": "Wed, 16 Jun 2021 06:16:48 GMT" + }, + "RequestBody": { + "source": { + "communicationUser": { + "id": "8:acs:016a7064-0581-40b9-be73-6dde64d69d72_e3560385-776f-41d1-bf04-07ef738f2fc1" + } + }, + "callbackUri": "https://dummy.ngrok.io/api/incident/callback?SecretKey=helloworld", + "requestedMediaTypes": [ + "audio" + ], + "requestedCallEvents": [ + "participantsUpdated" + ] + }, + "StatusCode": 202, + "ResponseHeaders": { + "Content-Length": "110", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 16 Jun 2021 06:16:48 GMT", + "X-Azure-Ref": "0UJfJYAAAAAD34t/8WEepT7hELT6lf6j5V1NURURHRTA4MDgAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "X-Cache": "CONFIG_NOCACHE", + "X-Microsoft-Skype-Chain-ID": "01f7653d-f6b3-43e4-9e99-3cd144b802b8", + "x-ms-client-request-id": "7f29f5ce3a7b2111dd86b053335b9b2b" + }, + "ResponseBody": { + "callLegId": "cd1f1300-6e70-47db-9150-db14bc073cd9", + "callConnectionId": "cd1f1300-6e70-47db-9150-db14bc073cd9" + } + }, + { + "RequestUri": "https://acstestbot1.communication.azure.com/calling/serverCalls/3500789f-e11b-4ceb-85cb-bc8df2a01768/:playAudio?api-version=2021-06-15-preview", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json", + "Authorization": "Sanitized", + "Content-Length": "272", + "Content-Type": "application/json", + "Date": "Wed, 16 Jun 2021 06:16:59 GMT", + "User-Agent": "azsdk-net-Communication.CallingServer/1.0.0-alpha.20210615.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19043 )", + "x-ms-client-request-id": "eed6d7747d179189096d4eee34e9d72d", + "x-ms-content-sha256": "Sanitized", + "x-ms-return-client-request-id": "true", + "x-ms-date": "Wed, 16 Jun 2021 06:16:59 GMT" + }, + "RequestBody": { + "audioFileUri": "https://dummy.ngrok.io/audio/sample-message.wav", + "loop": false, + "operationContext": "de346f03-7f8d-41ab-a232-cc5e14990769", + "audioFileId": "ebb1d98d-fd86-4204-800c-f7bdfc2e515c", + "callbackUri": "https://dummy.ngrok.io/api/incident/callback?SecretKey=helloworld" + }, + "StatusCode": 202, + "ResponseHeaders": { + "Content-Length": "131", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 16 Jun 2021 06:16:59 GMT", + "X-Azure-Ref": "0W5fJYAAAAACcNRW1MFJqRLstwg8m7FDRV1NURURHRTA4MDgAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "X-Cache": "CONFIG_NOCACHE", + "X-Microsoft-Skype-Chain-ID": "58361be6-6845-48bb-b935-c0d7bbbd8db1", + "x-ms-client-request-id": "eed6d7747d179189096d4eee34e9d72d" + }, + "ResponseBody": { + "operationId": "cd1f1300-590a-4aaf-a4ef-94e82a361403", + "status": "running", + "operationContext": "de346f03-7f8d-41ab-a232-cc5e14990769" + } + }, + { + "RequestUri": "https://acstestbot1.communication.azure.com/calling/callConnections/cd1f1300-00e2-4622-a7a4-7a12d92409fb/:cancelAllMediaOperations?api-version=2021-06-15-preview", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json", + "Authorization": "Sanitized", + "Content-Length": "2", + "Content-Type": "application/json", + "Date": "Wed, 16 Jun 2021 06:17:11 GMT", + "User-Agent": "azsdk-net-Communication.CallingServer/1.0.0-alpha.20210615.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19043 )", + "x-ms-client-request-id": "72afde20e9a137734f9561cc61792ccb", + "x-ms-content-sha256": "Sanitized", + "x-ms-return-client-request-id": "true", + "x-ms-date": "Wed, 16 Jun 2021 06:17:11 GMT" + }, + "RequestBody": {}, + "StatusCode": 200, + "ResponseHeaders": { + "Content-Length": "75", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 16 Jun 2021 06:17:10 GMT", + "X-Azure-Ref": "0ZpfJYAAAAAD4xZGe86puRomNI0C/dJghV1NURURHRTA4MDgAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "X-Cache": "CONFIG_NOCACHE", + "X-Microsoft-Skype-Chain-ID": "2da50efa-a0ea-47b5-af11-d5f19041c59a", + "x-ms-client-request-id": "72afde20e9a137734f9561cc61792ccb" + }, + "ResponseBody": { + "operationId": "27d17843-a7aa-48e3-9150-1cbb7161f95a", + "status": "completed" + } + }, + { + "RequestUri": "https://acstestbot1.communication.azure.com/calling/callConnections/cd1f1300-6e70-47db-9150-db14bc073cd9/:cancelAllMediaOperations?api-version=2021-06-15-preview", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json", + "Authorization": "Sanitized", + "Content-Length": "2", + "Content-Type": "application/json", + "Date": "Wed, 16 Jun 2021 06:17:11 GMT", + "User-Agent": "azsdk-net-Communication.CallingServer/1.0.0-alpha.20210615.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19043 )", + "x-ms-client-request-id": "acf9972809de519c6c98760eeb23edf3", + "x-ms-content-sha256": "Sanitized", + "x-ms-return-client-request-id": "true", + "x-ms-date": "Wed, 16 Jun 2021 06:17:11 GMT" + + }, + "RequestBody": {}, + "StatusCode": 200, + "ResponseHeaders": { + "Content-Length": "75", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 16 Jun 2021 06:17:10 GMT", + "X-Azure-Ref": "0Z5fJYAAAAACsLZ9zs/TOTbGMkqANyzYAV1NURURHRTA4MDgAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "X-Cache": "CONFIG_NOCACHE", + "X-Microsoft-Skype-Chain-ID": "fb45eace-0a3f-46e1-8325-6fd28d6e906c", + "x-ms-client-request-id": "acf9972809de519c6c98760eeb23edf3" + }, + "ResponseBody": { + "operationId": "19e87892-9e86-48e9-9fbe-7eec9cd87b08", + "status": "completed" + } + }, + { + "RequestUri": "https://acstestbot1.communication.azure.com/calling/callConnections/cd1f1300-00e2-4622-a7a4-7a12d92409fb/:hangup?api-version=2021-06-15-preview", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json", + "Authorization": "Sanitized", + "Date": "Wed, 16 Jun 2021 06:17:21 GMT", + "User-Agent": "azsdk-net-Communication.CallingServer/1.0.0-alpha.20210615.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19043 )", + "x-ms-client-request-id": "553382af29ab8a89649e9f811bbc308f", + "x-ms-content-sha256": "Sanitized", + "x-ms-return-client-request-id": "true", + "x-ms-date": "Wed, 16 Jun 2021 06:17:21 GMT" + }, + "RequestBody": null, + "StatusCode": 202, + "ResponseHeaders": { + "Content-Length": "0", + "Date": "Wed, 16 Jun 2021 06:17:20 GMT", + "X-Azure-Ref": "0cZfJYAAAAAB0roZUcRQ9Q4Dx\u002BxyJI/f2V1NURURHRTA4MDgAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "X-Cache": "CONFIG_NOCACHE", + "X-Microsoft-Skype-Chain-ID": "1a9b14d0-061a-4c60-9faa-74f4c18d31ac", + "x-ms-client-request-id": "553382af29ab8a89649e9f811bbc308f" + }, + "ResponseBody": [] + }, + { + "RequestUri": "https://acstestbot1.communication.azure.com/calling/callConnections/cd1f1300-6e70-47db-9150-db14bc073cd9/:hangup?api-version=2021-06-15-preview", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json", + "Authorization": "Sanitized", + "Date": "Wed, 16 Jun 2021 06:17:21 GMT", + "User-Agent": "azsdk-net-Communication.CallingServer/1.0.0-alpha.20210615.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19043 )", + "x-ms-client-request-id": "9cc583412bef164f415e050973644c2b", + "x-ms-content-sha256": "Sanitized", + "x-ms-return-client-request-id": "true", + "x-ms-date": "Wed, 16 Jun 2021 06:17:21 GMT" + }, + "RequestBody": null, + "StatusCode": 202, + "ResponseHeaders": { + "Content-Length": "0", + "Date": "Wed, 16 Jun 2021 06:17:20 GMT", + "X-Azure-Ref": "0cZfJYAAAAABguzaZMdnPTZ77QW9PdIk3V1NURURHRTA4MDgAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "X-Cache": "CONFIG_NOCACHE", + "X-Microsoft-Skype-Chain-ID": "252dba3f-afd9-403c-9026-5f1b093a166d", + "x-ms-client-request-id": "9cc583412bef164f415e050973644c2b" + }, + "ResponseBody": [] + } + ], + "Variables": { + "COMMUNICATION_LIVETEST_STATIC_CONNECTION_STRING": "endpoint=https://acstestbot1.communication.azure.com/;accesskey=Kg==", + "RandomSeed": "1656122379" + } +} diff --git a/sdk/communication/Azure.Communication.CallingServer/tests/SessionRecords/ServerCallLiveTests/RunCreatePlayCancelHangupScenarioTestsAsync.json b/sdk/communication/Azure.Communication.CallingServer/tests/SessionRecords/ServerCallLiveTests/RunCreatePlayCancelHangupScenarioTestsAsync.json new file mode 100644 index 000000000000..968caf9814d3 --- /dev/null +++ b/sdk/communication/Azure.Communication.CallingServer/tests/SessionRecords/ServerCallLiveTests/RunCreatePlayCancelHangupScenarioTestsAsync.json @@ -0,0 +1,249 @@ +{ + "Entries": [ + { + "RequestUri": "https://acstestbot1.communication.azure.com/calling/serverCalls/3500789f-e11b-4ceb-85cb-bc8df2a01768/:join?api-version=2021-06-15-preview", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json", + "Authorization": "Sanitized", + "Content-Length": "281", + "Content-Type": "application/json", + "Date": "Wed, 16 Jun 2021 06:16:47 GMT", + "traceparent": "00-8be82162454b314698037a2f1bffffef-5f4432689b885c4e-00", + "User-Agent": "azsdk-net-Communication.CallingServer/1.0.0-alpha.20210615.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19043 )", + "x-ms-client-request-id": "3eb76071115360cd27c4c26d83b4f8b4", + "x-ms-content-sha256": "Sanitized", + "x-ms-return-client-request-id": "true", + "x-ms-date": "Wed, 16 Jun 2021 06:16:47 GMT" + }, + "RequestBody": { + "source": { + "communicationUser": { + "id": "8:acs:016a7064-0581-40b9-be73-6dde64d69d72_e3560385-776f-41d1-bf04-07ef738f2f23" + } + }, + "callbackUri": "https://dummy.ngrok.io/api/incident/callback?SecretKey=helloworld", + "requestedMediaTypes": [ + "audio" + ], + "requestedCallEvents": [ + "participantsUpdated" + ] + }, + "StatusCode": 202, + "ResponseHeaders": { + "Content-Length": "110", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 16 Jun 2021 06:16:46 GMT", + "X-Azure-Ref": "0T5fJYAAAAAB3DWWnUVthQpm/9ECHREOJV1NURURHRTA4MDgAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "X-Cache": "CONFIG_NOCACHE", + "X-Microsoft-Skype-Chain-ID": "eee23c88-b4c7-427b-a442-339e4b0f90df", + "x-ms-client-request-id": "3eb76071115360cd27c4c26d83b4f8b4" + }, + "ResponseBody": { + "callLegId": "cd1f1300-00e2-4622-a7a4-7a12d92409fb", + "callConnectionId": "cd1f1300-00e2-4622-a7a4-7a12d92409fb" + } + }, + { + "RequestUri": "https://acstestbot1.communication.azure.com/calling/serverCalls/3500789f-e11b-4ceb-85cb-bc8df2a01768/:join?api-version=2021-06-15-preview", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json", + "Authorization": "Sanitized", + "Content-Length": "281", + "Content-Type": "application/json", + "Date": "Wed, 16 Jun 2021 06:16:48 GMT", + "traceparent": "00-5fd283bbed687e45b0f37243d26b191a-0d540710af6f9248-00", + "User-Agent": "azsdk-net-Communication.CallingServer/1.0.0-alpha.20210615.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19043 )", + "x-ms-client-request-id": "7f29f5ce3a7b2111dd86b053335b9b2b", + "x-ms-content-sha256": "Sanitized", + "x-ms-return-client-request-id": "true", + "x-ms-date": "Wed, 16 Jun 2021 06:16:48 GMT" + }, + "RequestBody": { + "source": { + "communicationUser": { + "id": "8:acs:016a7064-0581-40b9-be73-6dde64d69d72_e3560385-776f-41d1-bf04-07ef738f2fc1" + } + }, + "callbackUri": "https://dummy.ngrok.io/api/incident/callback?SecretKey=helloworld", + "requestedMediaTypes": [ + "audio" + ], + "requestedCallEvents": [ + "participantsUpdated" + ] + }, + "StatusCode": 202, + "ResponseHeaders": { + "Content-Length": "110", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 16 Jun 2021 06:16:48 GMT", + "X-Azure-Ref": "0UJfJYAAAAAD34t/8WEepT7hELT6lf6j5V1NURURHRTA4MDgAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "X-Cache": "CONFIG_NOCACHE", + "X-Microsoft-Skype-Chain-ID": "01f7653d-f6b3-43e4-9e99-3cd144b802b8", + "x-ms-client-request-id": "7f29f5ce3a7b2111dd86b053335b9b2b" + }, + "ResponseBody": { + "callLegId": "cd1f1300-6e70-47db-9150-db14bc073cd9", + "callConnectionId": "cd1f1300-6e70-47db-9150-db14bc073cd9" + } + }, + { + "RequestUri": "https://acstestbot1.communication.azure.com/calling/serverCalls/3500789f-e11b-4ceb-85cb-bc8df2a01768/:playAudio?api-version=2021-06-15-preview", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json", + "Authorization": "Sanitized", + "Content-Length": "272", + "Content-Type": "application/json", + "Date": "Wed, 16 Jun 2021 06:16:59 GMT", + "User-Agent": "azsdk-net-Communication.CallingServer/1.0.0-alpha.20210615.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19043 )", + "x-ms-client-request-id": "eed6d7747d179189096d4eee34e9d72d", + "x-ms-content-sha256": "Sanitized", + "x-ms-return-client-request-id": "true", + "x-ms-date": "Wed, 16 Jun 2021 06:16:59 GMT" + }, + "RequestBody": { + "audioFileUri": "https://dummy.ngrok.io/audio/sample-message.wav", + "loop": false, + "operationContext": "de346f03-7f8d-41ab-a232-cc5e14990769", + "audioFileId": "ebb1d98d-fd86-4204-800c-f7bdfc2e515c", + "callbackUri": "https://dummy.ngrok.io/api/incident/callback?SecretKey=helloworld" + }, + "StatusCode": 202, + "ResponseHeaders": { + "Content-Length": "131", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 16 Jun 2021 06:16:59 GMT", + "X-Azure-Ref": "0W5fJYAAAAACcNRW1MFJqRLstwg8m7FDRV1NURURHRTA4MDgAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "X-Cache": "CONFIG_NOCACHE", + "X-Microsoft-Skype-Chain-ID": "58361be6-6845-48bb-b935-c0d7bbbd8db1", + "x-ms-client-request-id": "eed6d7747d179189096d4eee34e9d72d" + }, + "ResponseBody": { + "operationId": "cd1f1300-590a-4aaf-a4ef-94e82a361403", + "status": "running", + "operationContext": "de346f03-7f8d-41ab-a232-cc5e14990769" + } + }, + { + "RequestUri": "https://acstestbot1.communication.azure.com/calling/callConnections/cd1f1300-00e2-4622-a7a4-7a12d92409fb/:cancelAllMediaOperations?api-version=2021-06-15-preview", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json", + "Authorization": "Sanitized", + "Content-Length": "2", + "Content-Type": "application/json", + "Date": "Wed, 16 Jun 2021 06:17:11 GMT", + "User-Agent": "azsdk-net-Communication.CallingServer/1.0.0-alpha.20210615.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19043 )", + "x-ms-client-request-id": "72afde20e9a137734f9561cc61792ccb", + "x-ms-content-sha256": "Sanitized", + "x-ms-return-client-request-id": "true", + "x-ms-date": "Wed, 16 Jun 2021 06:17:11 GMT" + }, + "RequestBody": {}, + "StatusCode": 200, + "ResponseHeaders": { + "Content-Length": "75", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 16 Jun 2021 06:17:10 GMT", + "X-Azure-Ref": "0ZpfJYAAAAAD4xZGe86puRomNI0C/dJghV1NURURHRTA4MDgAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "X-Cache": "CONFIG_NOCACHE", + "X-Microsoft-Skype-Chain-ID": "2da50efa-a0ea-47b5-af11-d5f19041c59a", + "x-ms-client-request-id": "72afde20e9a137734f9561cc61792ccb" + }, + "ResponseBody": { + "operationId": "27d17843-a7aa-48e3-9150-1cbb7161f95a", + "status": "completed" + } + }, + { + "RequestUri": "https://acstestbot1.communication.azure.com/calling/callConnections/cd1f1300-6e70-47db-9150-db14bc073cd9/:cancelAllMediaOperations?api-version=2021-06-15-preview", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json", + "Authorization": "Sanitized", + "Content-Length": "2", + "Content-Type": "application/json", + "Date": "Wed, 16 Jun 2021 06:17:11 GMT", + "User-Agent": "azsdk-net-Communication.CallingServer/1.0.0-alpha.20210615.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19043 )", + "x-ms-client-request-id": "acf9972809de519c6c98760eeb23edf3", + "x-ms-content-sha256": "Sanitized", + "x-ms-return-client-request-id": "true", + "x-ms-date": "Wed, 16 Jun 2021 06:17:11 GMT" + + }, + "RequestBody": {}, + "StatusCode": 200, + "ResponseHeaders": { + "Content-Length": "75", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 16 Jun 2021 06:17:10 GMT", + "X-Azure-Ref": "0Z5fJYAAAAACsLZ9zs/TOTbGMkqANyzYAV1NURURHRTA4MDgAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "X-Cache": "CONFIG_NOCACHE", + "X-Microsoft-Skype-Chain-ID": "fb45eace-0a3f-46e1-8325-6fd28d6e906c", + "x-ms-client-request-id": "acf9972809de519c6c98760eeb23edf3" + }, + "ResponseBody": { + "operationId": "19e87892-9e86-48e9-9fbe-7eec9cd87b08", + "status": "completed" + } + }, + { + "RequestUri": "https://acstestbot1.communication.azure.com/calling/callConnections/cd1f1300-00e2-4622-a7a4-7a12d92409fb/:hangup?api-version=2021-06-15-preview", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json", + "Authorization": "Sanitized", + "Date": "Wed, 16 Jun 2021 06:17:21 GMT", + "User-Agent": "azsdk-net-Communication.CallingServer/1.0.0-alpha.20210615.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19043 )", + "x-ms-client-request-id": "553382af29ab8a89649e9f811bbc308f", + "x-ms-content-sha256": "Sanitized", + "x-ms-return-client-request-id": "true", + "x-ms-date": "Wed, 16 Jun 2021 06:17:21 GMT" + }, + "RequestBody": null, + "StatusCode": 202, + "ResponseHeaders": { + "Content-Length": "0", + "Date": "Wed, 16 Jun 2021 06:17:20 GMT", + "X-Azure-Ref": "0cZfJYAAAAAB0roZUcRQ9Q4Dx\u002BxyJI/f2V1NURURHRTA4MDgAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "X-Cache": "CONFIG_NOCACHE", + "X-Microsoft-Skype-Chain-ID": "1a9b14d0-061a-4c60-9faa-74f4c18d31ac", + "x-ms-client-request-id": "553382af29ab8a89649e9f811bbc308f" + }, + "ResponseBody": [] + }, + { + "RequestUri": "https://acstestbot1.communication.azure.com/calling/callConnections/cd1f1300-6e70-47db-9150-db14bc073cd9/:hangup?api-version=2021-06-15-preview", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json", + "Authorization": "Sanitized", + "Date": "Wed, 16 Jun 2021 06:17:21 GMT", + "User-Agent": "azsdk-net-Communication.CallingServer/1.0.0-alpha.20210615.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19043 )", + "x-ms-client-request-id": "9cc583412bef164f415e050973644c2b", + "x-ms-content-sha256": "Sanitized", + "x-ms-return-client-request-id": "true", + "x-ms-date": "Wed, 16 Jun 2021 06:17:21 GMT" + }, + "RequestBody": null, + "StatusCode": 202, + "ResponseHeaders": { + "Content-Length": "0", + "Date": "Wed, 16 Jun 2021 06:17:20 GMT", + "X-Azure-Ref": "0cZfJYAAAAABguzaZMdnPTZ77QW9PdIk3V1NURURHRTA4MDgAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx", + "X-Cache": "CONFIG_NOCACHE", + "X-Microsoft-Skype-Chain-ID": "252dba3f-afd9-403c-9026-5f1b093a166d", + "x-ms-client-request-id": "9cc583412bef164f415e050973644c2b" + }, + "ResponseBody": [] + } + ], + "Variables": { + "COMMUNICATION_LIVETEST_STATIC_CONNECTION_STRING": "endpoint=https://acstestbot1.communication.azure.com/;accesskey=Kg==", + "RandomSeed": "1656122379" + } +} diff --git a/sdk/communication/Azure.Communication.CallingServer/tests/samples/Sample1_CallClient.cs b/sdk/communication/Azure.Communication.CallingServer/tests/samples/Sample1_CallClient.cs index 34f38b4eebee..900129d47850 100644 --- a/sdk/communication/Azure.Communication.CallingServer/tests/samples/Sample1_CallClient.cs +++ b/sdk/communication/Azure.Communication.CallingServer/tests/samples/Sample1_CallClient.cs @@ -2,7 +2,6 @@ // Licensed under the MIT License. using System; -using System.Collections.Generic; using System.Threading.Tasks; using Azure.Communication.Identity; using Azure.Core.TestFramework; @@ -21,26 +20,25 @@ public Sample1_CallClient(bool isAsync) : base(isAsync) [Test] [AsyncOnly] - [Ignore("Ignore for now as we get build errors that block checkingin.")] public async Task CreateCallAsync() { - CommunicationIdentityClient communicationIdentityClient = new CommunicationIdentityClient(TestEnvironment.LiveTestDynamicConnectionString); + CommunicationIdentityClient communicationIdentityClient = CreateInstrumentedCommunicationIdentityClient(); var source = await communicationIdentityClient.CreateUserAsync(); - var targets = new List() { new PhoneNumberIdentifier(TestEnvironment.SourcePhoneNumber) }; + var targets = new[] { new PhoneNumberIdentifier(TestEnvironment.TargetPhoneNumber) }; #region Snippet:Azure_Communication_Call_Tests_CreateCallOptions var createCallOption = new CreateCallOptions( new Uri(TestEnvironment.AppCallbackUrl), - new List { CallModality.Audio }, - new List + new[] { MediaType.Audio }, + new[] { EventSubscriptionType.ParticipantsUpdated, EventSubscriptionType.DtmfReceived }); #endregion Snippet:Azure_Communication_Call_Tests_CreateCallOptions - CallClient callClient = CreateInstrumentedCallingServerClient(); - Console.WriteLine("Performing CreateCall operation"); + CallingServerClient callingServerClient = CreateInstrumentedCallingServerClient(); + Console.WriteLine("Performing CreateCallConnection operation"); #region Snippet:Azure_Communication_Call_Tests_CreateCallAsync - CreateCallResponse createCallResponse = await callClient.CreateCallAsync( + var callConnection = await callingServerClient.CreateCallConnectionAsync( //@@ source: new CommunicationUserIdentifier(""), // Your Azure Communication Resource Guid Id used to make a Call //@@ targets: new List() { new PhoneNumberIdentifier("") }, // E.164 formatted recipient phone number //@@ options: createCallOption // The options for creating a call. @@ -48,29 +46,28 @@ public async Task CreateCallAsync() /*@@*/ targets: targets, /*@@*/ options: createCallOption ); - Console.WriteLine($"Call Leg id: {createCallResponse.CallLegId}"); + Console.WriteLine($"Call connection id: {callConnection.Value.CallConnectionId}"); #endregion Snippet:Azure_Communication_Call_Tests_CreateCallAsync } [Test] [SyncOnly] - [Ignore("Ignore for now as we get build errors that block checkingin.")] public void CreateCall() { - CommunicationIdentityClient communicationIdentityClient = new CommunicationIdentityClient(TestEnvironment.LiveTestDynamicConnectionString); + CommunicationIdentityClient communicationIdentityClient = CreateInstrumentedCommunicationIdentityClient(); var source = communicationIdentityClient.CreateUser(); - var targets = new List() { new PhoneNumberIdentifier(TestEnvironment.SourcePhoneNumber) }; + var targets = new[] { new PhoneNumberIdentifier(TestEnvironment.TargetPhoneNumber) }; var createCallOption = new CreateCallOptions( new Uri(TestEnvironment.AppCallbackUrl), - new List { CallModality.Audio }, - new List { + new[] { MediaType.Audio }, + new[] { EventSubscriptionType.ParticipantsUpdated, EventSubscriptionType.DtmfReceived }); - CallClient callClient = CreateInstrumentedCallingServerClient(); - Console.WriteLine("Performing CreateCall operation"); + CallingServerClient callingServerClient = CreateInstrumentedCallingServerClient(); + Console.WriteLine("Performing CreateCallConnection operation"); #region Snippet:Azure_Communication_Call_Tests_CreateCall - CreateCallResponse createCallResponse = callClient.CreateCall( + var callConnection = callingServerClient.CreateCallConnection( //@@ source: new CommunicationUserIdentifier(""), // Your Azure Communication Resource Guid Id used to make a Call //@@ targets: new List() { new PhoneNumberIdentifier("") }, // E.164 formatted recipient phone number //@@ options: createCallOption // The options for creating a call. @@ -78,7 +75,7 @@ public void CreateCall() /*@@*/ targets: targets, /*@@*/ options: createCallOption ); - Console.WriteLine($"Call Leg id: {createCallResponse.CallLegId}"); + Console.WriteLine($"Call connection id: {callConnection.Value.CallConnectionId}"); #endregion Snippet:Azure_Communication_Call_Tests_CreateCall } } From 6101e57a1d02e56cde67a3f7f52a9f46b3897e13 Mon Sep 17 00:00:00 2001 From: Azure SDK Bot <53356347+azure-sdk@users.noreply.github.com> Date: Mon, 21 Jun 2021 16:41:06 -0700 Subject: [PATCH 24/27] Sync eng/common directory with azure-sdk-tools for PR 1719 (#22024) * Update pipeline generation tool version Consume latest changes from pipeline generation tool in https://github.com/Azure/azure-sdk-tools/pull/1708 * Update tool version to include fix for public ci Co-authored-by: Wes Haggard --- .../pipelines/templates/steps/install-pipeline-generation.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/eng/common/pipelines/templates/steps/install-pipeline-generation.yml b/eng/common/pipelines/templates/steps/install-pipeline-generation.yml index d0da703285f3..d368d52595b3 100644 --- a/eng/common/pipelines/templates/steps/install-pipeline-generation.yml +++ b/eng/common/pipelines/templates/steps/install-pipeline-generation.yml @@ -9,7 +9,7 @@ steps: - script: > dotnet tool install Azure.Sdk.Tools.PipelineGenerator - --version 1.0.2-dev.20210309.1 + --version 1.0.2-dev.20210621.4 --add-source https://pkgs.dev.azure.com/azure-sdk/public/_packaging/azure-sdk/nuget/v3/index.json --tool-path ${{parameters.ToolPath}} workingDirectory: $(Pipeline.Workspace)/pipeline-generator From 893aee7e83bb06dcd890ec1635d431f9ffb17454 Mon Sep 17 00:00:00 2001 From: Azure SDK Bot <53356347+azure-sdk@users.noreply.github.com> Date: Mon, 21 Jun 2021 19:08:18 -0700 Subject: [PATCH 25/27] Update AutoRest C# version (#21912) * Update AutoRest C# version to 3.0.0-beta.20210621.1 * [WebPubSub] requestOptions -> options * Run Export-API Co-authored-by: Matt Ellis --- eng/Packages.Data.props | 2 +- ...rticals.AgriFood.Farming.netstandard2.0.cs | 384 ++-- .../src/Generated/ApplicationDataClient.cs | 212 +- .../src/Generated/AttachmentsClient.cs | 188 +- .../src/Generated/BoundariesClient.cs | 432 ++-- .../src/Generated/CropVarietiesClient.cs | 196 +- .../src/Generated/CropsClient.cs | 160 +- .../src/Generated/FarmClient.cs | 88 +- .../src/Generated/FarmersClient.cs | 232 +- .../src/Generated/FarmsClient.cs | 268 +-- .../src/Generated/FieldsClient.cs | 268 +-- .../src/Generated/HarvestDataClient.cs | 212 +- .../src/Generated/ImageProcessingClient.cs | 88 +- .../src/Generated/OAuthProvidersClient.cs | 160 +- .../src/Generated/OAuthTokensClient.cs | 160 +- .../src/Generated/PlantingDataClient.cs | 212 +- .../src/Generated/ScenesClient.cs | 168 +- .../src/Generated/SeasonalFieldsClient.cs | 268 +-- .../src/Generated/SeasonsClient.cs | 160 +- .../src/Generated/TillageDataClient.cs | 204 +- .../src/Generated/WeatherClient.cs | 212 +- ...urity.ConfidentialLedger.netstandard2.0.cs | 52 +- .../src/Generated/ConfidentialLedgerClient.cs | 464 ++-- ...ConfidentialLedgerIdentityServiceClient.cs | 36 +- ...nalytics.Purview.Catalog.netstandard2.0.cs | 344 +-- .../src/Generated/PurviewCatalogClient.cs | 244 +-- .../src/Generated/PurviewEntities.cs | 1144 +++++----- .../src/Generated/PurviewGlossaries.cs | 1908 ++++++++--------- .../src/Generated/PurviewRelationships.cs | 192 +- .../src/Generated/PurviewTypes.cs | 1104 +++++----- ...alytics.Purview.Scanning.netstandard2.0.cs | 148 +- .../PurviewClassificationRuleClient.cs | 196 +- .../src/Generated/PurviewDataSourceClient.cs | 244 +-- .../src/Generated/PurviewScanClient.cs | 524 ++--- .../Generated/PurviewScanningServiceClient.cs | 616 +++--- ...zure.Messaging.WebPubSub.netstandard2.0.cs | 40 +- .../src/Generated/HealthApiClient.cs | 36 +- .../src/Generated/WebPubSubServiceClient.cs | 608 +++--- .../src/WebPubSubServiceClient_extensions.cs | 16 +- 39 files changed, 6095 insertions(+), 6095 deletions(-) diff --git a/eng/Packages.Data.props b/eng/Packages.Data.props index da4cf09f2b74..c9ee26549bea 100644 --- a/eng/Packages.Data.props +++ b/eng/Packages.Data.props @@ -131,7 +131,7 @@ All should have PrivateAssets="All" set so they don't become pacakge dependencies --> - + diff --git a/sdk/agrifood/Azure.Verticals.AgriFood.Farming/api/Azure.Verticals.AgriFood.Farming.netstandard2.0.cs b/sdk/agrifood/Azure.Verticals.AgriFood.Farming/api/Azure.Verticals.AgriFood.Farming.netstandard2.0.cs index 15855c5320ea..f1af9740b6cd 100644 --- a/sdk/agrifood/Azure.Verticals.AgriFood.Farming/api/Azure.Verticals.AgriFood.Farming.netstandard2.0.cs +++ b/sdk/agrifood/Azure.Verticals.AgriFood.Farming/api/Azure.Verticals.AgriFood.Farming.netstandard2.0.cs @@ -5,88 +5,88 @@ public partial class ApplicationDataClient protected ApplicationDataClient() { } public ApplicationDataClient(System.Uri endpoint, Azure.Core.TokenCredential credential, Azure.Verticals.AgriFood.Farming.FarmBeatsClientOptions options = null) { } public virtual Azure.Core.Pipeline.HttpPipeline Pipeline { get { throw null; } } - public virtual Azure.Response CreateOrUpdate(string farmerId, string applicationDataId, Azure.Core.RequestContent requestBody, Azure.RequestOptions requestOptions = null) { throw null; } - public virtual System.Threading.Tasks.Task CreateOrUpdateAsync(string farmerId, string applicationDataId, Azure.Core.RequestContent requestBody, Azure.RequestOptions requestOptions = null) { throw null; } - public virtual Azure.Response Delete(string farmerId, string applicationDataId, Azure.RequestOptions requestOptions = null) { throw null; } - public virtual System.Threading.Tasks.Task DeleteAsync(string farmerId, string applicationDataId, Azure.RequestOptions requestOptions = null) { throw null; } - public virtual Azure.Response Get(string farmerId, string applicationDataId, Azure.RequestOptions requestOptions = null) { throw null; } - public virtual System.Threading.Tasks.Task GetAsync(string farmerId, string applicationDataId, Azure.RequestOptions requestOptions = null) { throw null; } - public virtual Azure.Response List(double? minAvgMaterial = default(double?), double? maxAvgMaterial = default(double?), double? minTotalMaterial = default(double?), double? maxTotalMaterial = default(double?), System.Collections.Generic.IEnumerable sources = null, System.Collections.Generic.IEnumerable associatedBoundaryIds = null, System.Collections.Generic.IEnumerable operationBoundaryIds = null, System.DateTimeOffset? minOperationStartDateTime = default(System.DateTimeOffset?), System.DateTimeOffset? maxOperationStartDateTime = default(System.DateTimeOffset?), System.DateTimeOffset? minOperationEndDateTime = default(System.DateTimeOffset?), System.DateTimeOffset? maxOperationEndDateTime = default(System.DateTimeOffset?), System.DateTimeOffset? minOperationModifiedDateTime = default(System.DateTimeOffset?), System.DateTimeOffset? maxOperationModifiedDateTime = default(System.DateTimeOffset?), double? minArea = default(double?), double? maxArea = default(double?), System.Collections.Generic.IEnumerable ids = null, System.Collections.Generic.IEnumerable names = null, System.Collections.Generic.IEnumerable propertyFilters = null, System.Collections.Generic.IEnumerable statuses = null, System.DateTimeOffset? minCreatedDateTime = default(System.DateTimeOffset?), System.DateTimeOffset? maxCreatedDateTime = default(System.DateTimeOffset?), System.DateTimeOffset? minLastModifiedDateTime = default(System.DateTimeOffset?), System.DateTimeOffset? maxLastModifiedDateTime = default(System.DateTimeOffset?), int? maxPageSize = default(int?), string skipToken = null, Azure.RequestOptions requestOptions = null) { throw null; } - public virtual System.Threading.Tasks.Task ListAsync(double? minAvgMaterial = default(double?), double? maxAvgMaterial = default(double?), double? minTotalMaterial = default(double?), double? maxTotalMaterial = default(double?), System.Collections.Generic.IEnumerable sources = null, System.Collections.Generic.IEnumerable associatedBoundaryIds = null, System.Collections.Generic.IEnumerable operationBoundaryIds = null, System.DateTimeOffset? minOperationStartDateTime = default(System.DateTimeOffset?), System.DateTimeOffset? maxOperationStartDateTime = default(System.DateTimeOffset?), System.DateTimeOffset? minOperationEndDateTime = default(System.DateTimeOffset?), System.DateTimeOffset? maxOperationEndDateTime = default(System.DateTimeOffset?), System.DateTimeOffset? minOperationModifiedDateTime = default(System.DateTimeOffset?), System.DateTimeOffset? maxOperationModifiedDateTime = default(System.DateTimeOffset?), double? minArea = default(double?), double? maxArea = default(double?), System.Collections.Generic.IEnumerable ids = null, System.Collections.Generic.IEnumerable names = null, System.Collections.Generic.IEnumerable propertyFilters = null, System.Collections.Generic.IEnumerable statuses = null, System.DateTimeOffset? minCreatedDateTime = default(System.DateTimeOffset?), System.DateTimeOffset? maxCreatedDateTime = default(System.DateTimeOffset?), System.DateTimeOffset? minLastModifiedDateTime = default(System.DateTimeOffset?), System.DateTimeOffset? maxLastModifiedDateTime = default(System.DateTimeOffset?), int? maxPageSize = default(int?), string skipToken = null, Azure.RequestOptions requestOptions = null) { throw null; } - public virtual Azure.Response ListByFarmerId(string farmerId, double? minAvgMaterial = default(double?), double? maxAvgMaterial = default(double?), double? minTotalMaterial = default(double?), double? maxTotalMaterial = default(double?), System.Collections.Generic.IEnumerable sources = null, System.Collections.Generic.IEnumerable associatedBoundaryIds = null, System.Collections.Generic.IEnumerable operationBoundaryIds = null, System.DateTimeOffset? minOperationStartDateTime = default(System.DateTimeOffset?), System.DateTimeOffset? maxOperationStartDateTime = default(System.DateTimeOffset?), System.DateTimeOffset? minOperationEndDateTime = default(System.DateTimeOffset?), System.DateTimeOffset? maxOperationEndDateTime = default(System.DateTimeOffset?), System.DateTimeOffset? minOperationModifiedDateTime = default(System.DateTimeOffset?), System.DateTimeOffset? maxOperationModifiedDateTime = default(System.DateTimeOffset?), double? minArea = default(double?), double? maxArea = default(double?), System.Collections.Generic.IEnumerable ids = null, System.Collections.Generic.IEnumerable names = null, System.Collections.Generic.IEnumerable propertyFilters = null, System.Collections.Generic.IEnumerable statuses = null, System.DateTimeOffset? minCreatedDateTime = default(System.DateTimeOffset?), System.DateTimeOffset? maxCreatedDateTime = default(System.DateTimeOffset?), System.DateTimeOffset? minLastModifiedDateTime = default(System.DateTimeOffset?), System.DateTimeOffset? maxLastModifiedDateTime = default(System.DateTimeOffset?), int? maxPageSize = default(int?), string skipToken = null, Azure.RequestOptions requestOptions = null) { throw null; } - public virtual System.Threading.Tasks.Task ListByFarmerIdAsync(string farmerId, double? minAvgMaterial = default(double?), double? maxAvgMaterial = default(double?), double? minTotalMaterial = default(double?), double? maxTotalMaterial = default(double?), System.Collections.Generic.IEnumerable sources = null, System.Collections.Generic.IEnumerable associatedBoundaryIds = null, System.Collections.Generic.IEnumerable operationBoundaryIds = null, System.DateTimeOffset? minOperationStartDateTime = default(System.DateTimeOffset?), System.DateTimeOffset? maxOperationStartDateTime = default(System.DateTimeOffset?), System.DateTimeOffset? minOperationEndDateTime = default(System.DateTimeOffset?), System.DateTimeOffset? maxOperationEndDateTime = default(System.DateTimeOffset?), System.DateTimeOffset? minOperationModifiedDateTime = default(System.DateTimeOffset?), System.DateTimeOffset? maxOperationModifiedDateTime = default(System.DateTimeOffset?), double? minArea = default(double?), double? maxArea = default(double?), System.Collections.Generic.IEnumerable ids = null, System.Collections.Generic.IEnumerable names = null, System.Collections.Generic.IEnumerable propertyFilters = null, System.Collections.Generic.IEnumerable statuses = null, System.DateTimeOffset? minCreatedDateTime = default(System.DateTimeOffset?), System.DateTimeOffset? maxCreatedDateTime = default(System.DateTimeOffset?), System.DateTimeOffset? minLastModifiedDateTime = default(System.DateTimeOffset?), System.DateTimeOffset? maxLastModifiedDateTime = default(System.DateTimeOffset?), int? maxPageSize = default(int?), string skipToken = null, Azure.RequestOptions requestOptions = null) { throw null; } + public virtual Azure.Response CreateOrUpdate(string farmerId, string applicationDataId, Azure.Core.RequestContent content, Azure.RequestOptions options = null) { throw null; } + public virtual System.Threading.Tasks.Task CreateOrUpdateAsync(string farmerId, string applicationDataId, Azure.Core.RequestContent content, Azure.RequestOptions options = null) { throw null; } + public virtual Azure.Response Delete(string farmerId, string applicationDataId, Azure.RequestOptions options = null) { throw null; } + public virtual System.Threading.Tasks.Task DeleteAsync(string farmerId, string applicationDataId, Azure.RequestOptions options = null) { throw null; } + public virtual Azure.Response Get(string farmerId, string applicationDataId, Azure.RequestOptions options = null) { throw null; } + public virtual System.Threading.Tasks.Task GetAsync(string farmerId, string applicationDataId, Azure.RequestOptions options = null) { throw null; } + public virtual Azure.Response List(double? minAvgMaterial = default(double?), double? maxAvgMaterial = default(double?), double? minTotalMaterial = default(double?), double? maxTotalMaterial = default(double?), System.Collections.Generic.IEnumerable sources = null, System.Collections.Generic.IEnumerable associatedBoundaryIds = null, System.Collections.Generic.IEnumerable operationBoundaryIds = null, System.DateTimeOffset? minOperationStartDateTime = default(System.DateTimeOffset?), System.DateTimeOffset? maxOperationStartDateTime = default(System.DateTimeOffset?), System.DateTimeOffset? minOperationEndDateTime = default(System.DateTimeOffset?), System.DateTimeOffset? maxOperationEndDateTime = default(System.DateTimeOffset?), System.DateTimeOffset? minOperationModifiedDateTime = default(System.DateTimeOffset?), System.DateTimeOffset? maxOperationModifiedDateTime = default(System.DateTimeOffset?), double? minArea = default(double?), double? maxArea = default(double?), System.Collections.Generic.IEnumerable ids = null, System.Collections.Generic.IEnumerable names = null, System.Collections.Generic.IEnumerable propertyFilters = null, System.Collections.Generic.IEnumerable statuses = null, System.DateTimeOffset? minCreatedDateTime = default(System.DateTimeOffset?), System.DateTimeOffset? maxCreatedDateTime = default(System.DateTimeOffset?), System.DateTimeOffset? minLastModifiedDateTime = default(System.DateTimeOffset?), System.DateTimeOffset? maxLastModifiedDateTime = default(System.DateTimeOffset?), int? maxPageSize = default(int?), string skipToken = null, Azure.RequestOptions options = null) { throw null; } + public virtual System.Threading.Tasks.Task ListAsync(double? minAvgMaterial = default(double?), double? maxAvgMaterial = default(double?), double? minTotalMaterial = default(double?), double? maxTotalMaterial = default(double?), System.Collections.Generic.IEnumerable sources = null, System.Collections.Generic.IEnumerable associatedBoundaryIds = null, System.Collections.Generic.IEnumerable operationBoundaryIds = null, System.DateTimeOffset? minOperationStartDateTime = default(System.DateTimeOffset?), System.DateTimeOffset? maxOperationStartDateTime = default(System.DateTimeOffset?), System.DateTimeOffset? minOperationEndDateTime = default(System.DateTimeOffset?), System.DateTimeOffset? maxOperationEndDateTime = default(System.DateTimeOffset?), System.DateTimeOffset? minOperationModifiedDateTime = default(System.DateTimeOffset?), System.DateTimeOffset? maxOperationModifiedDateTime = default(System.DateTimeOffset?), double? minArea = default(double?), double? maxArea = default(double?), System.Collections.Generic.IEnumerable ids = null, System.Collections.Generic.IEnumerable names = null, System.Collections.Generic.IEnumerable propertyFilters = null, System.Collections.Generic.IEnumerable statuses = null, System.DateTimeOffset? minCreatedDateTime = default(System.DateTimeOffset?), System.DateTimeOffset? maxCreatedDateTime = default(System.DateTimeOffset?), System.DateTimeOffset? minLastModifiedDateTime = default(System.DateTimeOffset?), System.DateTimeOffset? maxLastModifiedDateTime = default(System.DateTimeOffset?), int? maxPageSize = default(int?), string skipToken = null, Azure.RequestOptions options = null) { throw null; } + public virtual Azure.Response ListByFarmerId(string farmerId, double? minAvgMaterial = default(double?), double? maxAvgMaterial = default(double?), double? minTotalMaterial = default(double?), double? maxTotalMaterial = default(double?), System.Collections.Generic.IEnumerable sources = null, System.Collections.Generic.IEnumerable associatedBoundaryIds = null, System.Collections.Generic.IEnumerable operationBoundaryIds = null, System.DateTimeOffset? minOperationStartDateTime = default(System.DateTimeOffset?), System.DateTimeOffset? maxOperationStartDateTime = default(System.DateTimeOffset?), System.DateTimeOffset? minOperationEndDateTime = default(System.DateTimeOffset?), System.DateTimeOffset? maxOperationEndDateTime = default(System.DateTimeOffset?), System.DateTimeOffset? minOperationModifiedDateTime = default(System.DateTimeOffset?), System.DateTimeOffset? maxOperationModifiedDateTime = default(System.DateTimeOffset?), double? minArea = default(double?), double? maxArea = default(double?), System.Collections.Generic.IEnumerable ids = null, System.Collections.Generic.IEnumerable names = null, System.Collections.Generic.IEnumerable propertyFilters = null, System.Collections.Generic.IEnumerable statuses = null, System.DateTimeOffset? minCreatedDateTime = default(System.DateTimeOffset?), System.DateTimeOffset? maxCreatedDateTime = default(System.DateTimeOffset?), System.DateTimeOffset? minLastModifiedDateTime = default(System.DateTimeOffset?), System.DateTimeOffset? maxLastModifiedDateTime = default(System.DateTimeOffset?), int? maxPageSize = default(int?), string skipToken = null, Azure.RequestOptions options = null) { throw null; } + public virtual System.Threading.Tasks.Task ListByFarmerIdAsync(string farmerId, double? minAvgMaterial = default(double?), double? maxAvgMaterial = default(double?), double? minTotalMaterial = default(double?), double? maxTotalMaterial = default(double?), System.Collections.Generic.IEnumerable sources = null, System.Collections.Generic.IEnumerable associatedBoundaryIds = null, System.Collections.Generic.IEnumerable operationBoundaryIds = null, System.DateTimeOffset? minOperationStartDateTime = default(System.DateTimeOffset?), System.DateTimeOffset? maxOperationStartDateTime = default(System.DateTimeOffset?), System.DateTimeOffset? minOperationEndDateTime = default(System.DateTimeOffset?), System.DateTimeOffset? maxOperationEndDateTime = default(System.DateTimeOffset?), System.DateTimeOffset? minOperationModifiedDateTime = default(System.DateTimeOffset?), System.DateTimeOffset? maxOperationModifiedDateTime = default(System.DateTimeOffset?), double? minArea = default(double?), double? maxArea = default(double?), System.Collections.Generic.IEnumerable ids = null, System.Collections.Generic.IEnumerable names = null, System.Collections.Generic.IEnumerable propertyFilters = null, System.Collections.Generic.IEnumerable statuses = null, System.DateTimeOffset? minCreatedDateTime = default(System.DateTimeOffset?), System.DateTimeOffset? maxCreatedDateTime = default(System.DateTimeOffset?), System.DateTimeOffset? minLastModifiedDateTime = default(System.DateTimeOffset?), System.DateTimeOffset? maxLastModifiedDateTime = default(System.DateTimeOffset?), int? maxPageSize = default(int?), string skipToken = null, Azure.RequestOptions options = null) { throw null; } } public partial class AttachmentsClient { protected AttachmentsClient() { } public AttachmentsClient(System.Uri endpoint, Azure.Core.TokenCredential credential, Azure.Verticals.AgriFood.Farming.FarmBeatsClientOptions options = null) { } public virtual Azure.Core.Pipeline.HttpPipeline Pipeline { get { throw null; } } - public virtual Azure.Response CreateOrUpdate(string farmerId, string attachmentId, Azure.Core.RequestContent requestBody, Azure.RequestOptions requestOptions = null) { throw null; } - public virtual System.Threading.Tasks.Task CreateOrUpdateAsync(string farmerId, string attachmentId, Azure.Core.RequestContent requestBody, Azure.RequestOptions requestOptions = null) { throw null; } - public virtual Azure.Response Delete(string farmerId, string attachmentId, Azure.RequestOptions requestOptions = null) { throw null; } - public virtual System.Threading.Tasks.Task DeleteAsync(string farmerId, string attachmentId, Azure.RequestOptions requestOptions = null) { throw null; } - public virtual Azure.Response Download(string farmerId, string attachmentId, Azure.RequestOptions requestOptions = null) { throw null; } - public virtual System.Threading.Tasks.Task DownloadAsync(string farmerId, string attachmentId, Azure.RequestOptions requestOptions = null) { throw null; } - public virtual Azure.Response Get(string farmerId, string attachmentId, Azure.RequestOptions requestOptions = null) { throw null; } - public virtual System.Threading.Tasks.Task GetAsync(string farmerId, string attachmentId, Azure.RequestOptions requestOptions = null) { throw null; } - public virtual Azure.Response ListByFarmerId(string farmerId, System.Collections.Generic.IEnumerable resourceIds = null, System.Collections.Generic.IEnumerable resourceTypes = null, System.Collections.Generic.IEnumerable ids = null, System.Collections.Generic.IEnumerable names = null, System.Collections.Generic.IEnumerable propertyFilters = null, System.Collections.Generic.IEnumerable statuses = null, System.DateTimeOffset? minCreatedDateTime = default(System.DateTimeOffset?), System.DateTimeOffset? maxCreatedDateTime = default(System.DateTimeOffset?), System.DateTimeOffset? minLastModifiedDateTime = default(System.DateTimeOffset?), System.DateTimeOffset? maxLastModifiedDateTime = default(System.DateTimeOffset?), int? maxPageSize = default(int?), string skipToken = null, Azure.RequestOptions requestOptions = null) { throw null; } - public virtual System.Threading.Tasks.Task ListByFarmerIdAsync(string farmerId, System.Collections.Generic.IEnumerable resourceIds = null, System.Collections.Generic.IEnumerable resourceTypes = null, System.Collections.Generic.IEnumerable ids = null, System.Collections.Generic.IEnumerable names = null, System.Collections.Generic.IEnumerable propertyFilters = null, System.Collections.Generic.IEnumerable statuses = null, System.DateTimeOffset? minCreatedDateTime = default(System.DateTimeOffset?), System.DateTimeOffset? maxCreatedDateTime = default(System.DateTimeOffset?), System.DateTimeOffset? minLastModifiedDateTime = default(System.DateTimeOffset?), System.DateTimeOffset? maxLastModifiedDateTime = default(System.DateTimeOffset?), int? maxPageSize = default(int?), string skipToken = null, Azure.RequestOptions requestOptions = null) { throw null; } + public virtual Azure.Response CreateOrUpdate(string farmerId, string attachmentId, Azure.Core.RequestContent content, Azure.RequestOptions options = null) { throw null; } + public virtual System.Threading.Tasks.Task CreateOrUpdateAsync(string farmerId, string attachmentId, Azure.Core.RequestContent content, Azure.RequestOptions options = null) { throw null; } + public virtual Azure.Response Delete(string farmerId, string attachmentId, Azure.RequestOptions options = null) { throw null; } + public virtual System.Threading.Tasks.Task DeleteAsync(string farmerId, string attachmentId, Azure.RequestOptions options = null) { throw null; } + public virtual Azure.Response Download(string farmerId, string attachmentId, Azure.RequestOptions options = null) { throw null; } + public virtual System.Threading.Tasks.Task DownloadAsync(string farmerId, string attachmentId, Azure.RequestOptions options = null) { throw null; } + public virtual Azure.Response Get(string farmerId, string attachmentId, Azure.RequestOptions options = null) { throw null; } + public virtual System.Threading.Tasks.Task GetAsync(string farmerId, string attachmentId, Azure.RequestOptions options = null) { throw null; } + public virtual Azure.Response ListByFarmerId(string farmerId, System.Collections.Generic.IEnumerable resourceIds = null, System.Collections.Generic.IEnumerable resourceTypes = null, System.Collections.Generic.IEnumerable ids = null, System.Collections.Generic.IEnumerable names = null, System.Collections.Generic.IEnumerable propertyFilters = null, System.Collections.Generic.IEnumerable statuses = null, System.DateTimeOffset? minCreatedDateTime = default(System.DateTimeOffset?), System.DateTimeOffset? maxCreatedDateTime = default(System.DateTimeOffset?), System.DateTimeOffset? minLastModifiedDateTime = default(System.DateTimeOffset?), System.DateTimeOffset? maxLastModifiedDateTime = default(System.DateTimeOffset?), int? maxPageSize = default(int?), string skipToken = null, Azure.RequestOptions options = null) { throw null; } + public virtual System.Threading.Tasks.Task ListByFarmerIdAsync(string farmerId, System.Collections.Generic.IEnumerable resourceIds = null, System.Collections.Generic.IEnumerable resourceTypes = null, System.Collections.Generic.IEnumerable ids = null, System.Collections.Generic.IEnumerable names = null, System.Collections.Generic.IEnumerable propertyFilters = null, System.Collections.Generic.IEnumerable statuses = null, System.DateTimeOffset? minCreatedDateTime = default(System.DateTimeOffset?), System.DateTimeOffset? maxCreatedDateTime = default(System.DateTimeOffset?), System.DateTimeOffset? minLastModifiedDateTime = default(System.DateTimeOffset?), System.DateTimeOffset? maxLastModifiedDateTime = default(System.DateTimeOffset?), int? maxPageSize = default(int?), string skipToken = null, Azure.RequestOptions options = null) { throw null; } } public partial class BoundariesClient { protected BoundariesClient() { } public BoundariesClient(System.Uri endpoint, Azure.Core.TokenCredential credential, Azure.Verticals.AgriFood.Farming.FarmBeatsClientOptions options = null) { } public virtual Azure.Core.Pipeline.HttpPipeline Pipeline { get { throw null; } } - public virtual Azure.Response CreateCascadeDeleteJob(string jobId, string farmerId, string boundaryId, Azure.RequestOptions requestOptions = null) { throw null; } - public virtual System.Threading.Tasks.Task CreateCascadeDeleteJobAsync(string jobId, string farmerId, string boundaryId, Azure.RequestOptions requestOptions = null) { throw null; } - public virtual Azure.Response CreateOrUpdate(string farmerId, string boundaryId, Azure.Core.RequestContent requestBody, Azure.RequestOptions requestOptions = null) { throw null; } - public virtual System.Threading.Tasks.Task CreateOrUpdateAsync(string farmerId, string boundaryId, Azure.Core.RequestContent requestBody, Azure.RequestOptions requestOptions = null) { throw null; } - public virtual Azure.Response Delete(string farmerId, string boundaryId, Azure.RequestOptions requestOptions = null) { throw null; } - public virtual System.Threading.Tasks.Task DeleteAsync(string farmerId, string boundaryId, Azure.RequestOptions requestOptions = null) { throw null; } - public virtual Azure.Response Get(string farmerId, string boundaryId, Azure.RequestOptions requestOptions = null) { throw null; } - public virtual System.Threading.Tasks.Task GetAsync(string farmerId, string boundaryId, Azure.RequestOptions requestOptions = null) { throw null; } - public virtual Azure.Response GetCascadeDeleteJobDetails(string jobId, Azure.RequestOptions requestOptions = null) { throw null; } - public virtual System.Threading.Tasks.Task GetCascadeDeleteJobDetailsAsync(string jobId, Azure.RequestOptions requestOptions = null) { throw null; } - public virtual Azure.Response GetOverlap(string farmerId, string boundaryId, string otherFarmerId, string otherBoundaryId, Azure.RequestOptions requestOptions = null) { throw null; } - public virtual System.Threading.Tasks.Task GetOverlapAsync(string farmerId, string boundaryId, string otherFarmerId, string otherBoundaryId, Azure.RequestOptions requestOptions = null) { throw null; } - public virtual Azure.Response List(bool? isPrimary = default(bool?), string parentType = null, System.Collections.Generic.IEnumerable parentIds = null, double? minAcreage = default(double?), double? maxAcreage = default(double?), System.Collections.Generic.IEnumerable ids = null, System.Collections.Generic.IEnumerable names = null, System.Collections.Generic.IEnumerable propertyFilters = null, System.Collections.Generic.IEnumerable statuses = null, System.DateTimeOffset? minCreatedDateTime = default(System.DateTimeOffset?), System.DateTimeOffset? maxCreatedDateTime = default(System.DateTimeOffset?), System.DateTimeOffset? minLastModifiedDateTime = default(System.DateTimeOffset?), System.DateTimeOffset? maxLastModifiedDateTime = default(System.DateTimeOffset?), int? maxPageSize = default(int?), string skipToken = null, Azure.RequestOptions requestOptions = null) { throw null; } - public virtual System.Threading.Tasks.Task ListAsync(bool? isPrimary = default(bool?), string parentType = null, System.Collections.Generic.IEnumerable parentIds = null, double? minAcreage = default(double?), double? maxAcreage = default(double?), System.Collections.Generic.IEnumerable ids = null, System.Collections.Generic.IEnumerable names = null, System.Collections.Generic.IEnumerable propertyFilters = null, System.Collections.Generic.IEnumerable statuses = null, System.DateTimeOffset? minCreatedDateTime = default(System.DateTimeOffset?), System.DateTimeOffset? maxCreatedDateTime = default(System.DateTimeOffset?), System.DateTimeOffset? minLastModifiedDateTime = default(System.DateTimeOffset?), System.DateTimeOffset? maxLastModifiedDateTime = default(System.DateTimeOffset?), int? maxPageSize = default(int?), string skipToken = null, Azure.RequestOptions requestOptions = null) { throw null; } - public virtual Azure.Response ListByFarmerId(string farmerId, bool? isPrimary = default(bool?), string parentType = null, System.Collections.Generic.IEnumerable parentIds = null, double? minAcreage = default(double?), double? maxAcreage = default(double?), System.Collections.Generic.IEnumerable ids = null, System.Collections.Generic.IEnumerable names = null, System.Collections.Generic.IEnumerable propertyFilters = null, System.Collections.Generic.IEnumerable statuses = null, System.DateTimeOffset? minCreatedDateTime = default(System.DateTimeOffset?), System.DateTimeOffset? maxCreatedDateTime = default(System.DateTimeOffset?), System.DateTimeOffset? minLastModifiedDateTime = default(System.DateTimeOffset?), System.DateTimeOffset? maxLastModifiedDateTime = default(System.DateTimeOffset?), int? maxPageSize = default(int?), string skipToken = null, Azure.RequestOptions requestOptions = null) { throw null; } - public virtual System.Threading.Tasks.Task ListByFarmerIdAsync(string farmerId, bool? isPrimary = default(bool?), string parentType = null, System.Collections.Generic.IEnumerable parentIds = null, double? minAcreage = default(double?), double? maxAcreage = default(double?), System.Collections.Generic.IEnumerable ids = null, System.Collections.Generic.IEnumerable names = null, System.Collections.Generic.IEnumerable propertyFilters = null, System.Collections.Generic.IEnumerable statuses = null, System.DateTimeOffset? minCreatedDateTime = default(System.DateTimeOffset?), System.DateTimeOffset? maxCreatedDateTime = default(System.DateTimeOffset?), System.DateTimeOffset? minLastModifiedDateTime = default(System.DateTimeOffset?), System.DateTimeOffset? maxLastModifiedDateTime = default(System.DateTimeOffset?), int? maxPageSize = default(int?), string skipToken = null, Azure.RequestOptions requestOptions = null) { throw null; } - public virtual Azure.Response Search(Azure.Core.RequestContent requestBody, Azure.RequestOptions requestOptions = null) { throw null; } - public virtual System.Threading.Tasks.Task SearchAsync(Azure.Core.RequestContent requestBody, Azure.RequestOptions requestOptions = null) { throw null; } - public virtual Azure.Response SearchByFarmerId(string farmerId, Azure.Core.RequestContent requestBody, Azure.RequestOptions requestOptions = null) { throw null; } - public virtual System.Threading.Tasks.Task SearchByFarmerIdAsync(string farmerId, Azure.Core.RequestContent requestBody, Azure.RequestOptions requestOptions = null) { throw null; } + public virtual Azure.Response CreateCascadeDeleteJob(string jobId, string farmerId, string boundaryId, Azure.RequestOptions options = null) { throw null; } + public virtual System.Threading.Tasks.Task CreateCascadeDeleteJobAsync(string jobId, string farmerId, string boundaryId, Azure.RequestOptions options = null) { throw null; } + public virtual Azure.Response CreateOrUpdate(string farmerId, string boundaryId, Azure.Core.RequestContent content, Azure.RequestOptions options = null) { throw null; } + public virtual System.Threading.Tasks.Task CreateOrUpdateAsync(string farmerId, string boundaryId, Azure.Core.RequestContent content, Azure.RequestOptions options = null) { throw null; } + public virtual Azure.Response Delete(string farmerId, string boundaryId, Azure.RequestOptions options = null) { throw null; } + public virtual System.Threading.Tasks.Task DeleteAsync(string farmerId, string boundaryId, Azure.RequestOptions options = null) { throw null; } + public virtual Azure.Response Get(string farmerId, string boundaryId, Azure.RequestOptions options = null) { throw null; } + public virtual System.Threading.Tasks.Task GetAsync(string farmerId, string boundaryId, Azure.RequestOptions options = null) { throw null; } + public virtual Azure.Response GetCascadeDeleteJobDetails(string jobId, Azure.RequestOptions options = null) { throw null; } + public virtual System.Threading.Tasks.Task GetCascadeDeleteJobDetailsAsync(string jobId, Azure.RequestOptions options = null) { throw null; } + public virtual Azure.Response GetOverlap(string farmerId, string boundaryId, string otherFarmerId, string otherBoundaryId, Azure.RequestOptions options = null) { throw null; } + public virtual System.Threading.Tasks.Task GetOverlapAsync(string farmerId, string boundaryId, string otherFarmerId, string otherBoundaryId, Azure.RequestOptions options = null) { throw null; } + public virtual Azure.Response List(bool? isPrimary = default(bool?), string parentType = null, System.Collections.Generic.IEnumerable parentIds = null, double? minAcreage = default(double?), double? maxAcreage = default(double?), System.Collections.Generic.IEnumerable ids = null, System.Collections.Generic.IEnumerable names = null, System.Collections.Generic.IEnumerable propertyFilters = null, System.Collections.Generic.IEnumerable statuses = null, System.DateTimeOffset? minCreatedDateTime = default(System.DateTimeOffset?), System.DateTimeOffset? maxCreatedDateTime = default(System.DateTimeOffset?), System.DateTimeOffset? minLastModifiedDateTime = default(System.DateTimeOffset?), System.DateTimeOffset? maxLastModifiedDateTime = default(System.DateTimeOffset?), int? maxPageSize = default(int?), string skipToken = null, Azure.RequestOptions options = null) { throw null; } + public virtual System.Threading.Tasks.Task ListAsync(bool? isPrimary = default(bool?), string parentType = null, System.Collections.Generic.IEnumerable parentIds = null, double? minAcreage = default(double?), double? maxAcreage = default(double?), System.Collections.Generic.IEnumerable ids = null, System.Collections.Generic.IEnumerable names = null, System.Collections.Generic.IEnumerable propertyFilters = null, System.Collections.Generic.IEnumerable statuses = null, System.DateTimeOffset? minCreatedDateTime = default(System.DateTimeOffset?), System.DateTimeOffset? maxCreatedDateTime = default(System.DateTimeOffset?), System.DateTimeOffset? minLastModifiedDateTime = default(System.DateTimeOffset?), System.DateTimeOffset? maxLastModifiedDateTime = default(System.DateTimeOffset?), int? maxPageSize = default(int?), string skipToken = null, Azure.RequestOptions options = null) { throw null; } + public virtual Azure.Response ListByFarmerId(string farmerId, bool? isPrimary = default(bool?), string parentType = null, System.Collections.Generic.IEnumerable parentIds = null, double? minAcreage = default(double?), double? maxAcreage = default(double?), System.Collections.Generic.IEnumerable ids = null, System.Collections.Generic.IEnumerable names = null, System.Collections.Generic.IEnumerable propertyFilters = null, System.Collections.Generic.IEnumerable statuses = null, System.DateTimeOffset? minCreatedDateTime = default(System.DateTimeOffset?), System.DateTimeOffset? maxCreatedDateTime = default(System.DateTimeOffset?), System.DateTimeOffset? minLastModifiedDateTime = default(System.DateTimeOffset?), System.DateTimeOffset? maxLastModifiedDateTime = default(System.DateTimeOffset?), int? maxPageSize = default(int?), string skipToken = null, Azure.RequestOptions options = null) { throw null; } + public virtual System.Threading.Tasks.Task ListByFarmerIdAsync(string farmerId, bool? isPrimary = default(bool?), string parentType = null, System.Collections.Generic.IEnumerable parentIds = null, double? minAcreage = default(double?), double? maxAcreage = default(double?), System.Collections.Generic.IEnumerable ids = null, System.Collections.Generic.IEnumerable names = null, System.Collections.Generic.IEnumerable propertyFilters = null, System.Collections.Generic.IEnumerable statuses = null, System.DateTimeOffset? minCreatedDateTime = default(System.DateTimeOffset?), System.DateTimeOffset? maxCreatedDateTime = default(System.DateTimeOffset?), System.DateTimeOffset? minLastModifiedDateTime = default(System.DateTimeOffset?), System.DateTimeOffset? maxLastModifiedDateTime = default(System.DateTimeOffset?), int? maxPageSize = default(int?), string skipToken = null, Azure.RequestOptions options = null) { throw null; } + public virtual Azure.Response Search(Azure.Core.RequestContent content, Azure.RequestOptions options = null) { throw null; } + public virtual System.Threading.Tasks.Task SearchAsync(Azure.Core.RequestContent content, Azure.RequestOptions options = null) { throw null; } + public virtual Azure.Response SearchByFarmerId(string farmerId, Azure.Core.RequestContent content, Azure.RequestOptions options = null) { throw null; } + public virtual System.Threading.Tasks.Task SearchByFarmerIdAsync(string farmerId, Azure.Core.RequestContent content, Azure.RequestOptions options = null) { throw null; } } public partial class CropsClient { protected CropsClient() { } public CropsClient(System.Uri endpoint, Azure.Core.TokenCredential credential, Azure.Verticals.AgriFood.Farming.FarmBeatsClientOptions options = null) { } public virtual Azure.Core.Pipeline.HttpPipeline Pipeline { get { throw null; } } - public virtual Azure.Response CreateOrUpdate(string cropId, Azure.Core.RequestContent requestBody, Azure.RequestOptions requestOptions = null) { throw null; } - public virtual System.Threading.Tasks.Task CreateOrUpdateAsync(string cropId, Azure.Core.RequestContent requestBody, Azure.RequestOptions requestOptions = null) { throw null; } - public virtual Azure.Response Delete(string cropId, Azure.RequestOptions requestOptions = null) { throw null; } - public virtual System.Threading.Tasks.Task DeleteAsync(string cropId, Azure.RequestOptions requestOptions = null) { throw null; } - public virtual Azure.Response Get(string cropId, Azure.RequestOptions requestOptions = null) { throw null; } - public virtual System.Threading.Tasks.Task GetAsync(string cropId, Azure.RequestOptions requestOptions = null) { throw null; } - public virtual Azure.Response List(System.Collections.Generic.IEnumerable phenotypes = null, System.Collections.Generic.IEnumerable ids = null, System.Collections.Generic.IEnumerable names = null, System.Collections.Generic.IEnumerable propertyFilters = null, System.Collections.Generic.IEnumerable statuses = null, System.DateTimeOffset? minCreatedDateTime = default(System.DateTimeOffset?), System.DateTimeOffset? maxCreatedDateTime = default(System.DateTimeOffset?), System.DateTimeOffset? minLastModifiedDateTime = default(System.DateTimeOffset?), System.DateTimeOffset? maxLastModifiedDateTime = default(System.DateTimeOffset?), int? maxPageSize = default(int?), string skipToken = null, Azure.RequestOptions requestOptions = null) { throw null; } - public virtual System.Threading.Tasks.Task ListAsync(System.Collections.Generic.IEnumerable phenotypes = null, System.Collections.Generic.IEnumerable ids = null, System.Collections.Generic.IEnumerable names = null, System.Collections.Generic.IEnumerable propertyFilters = null, System.Collections.Generic.IEnumerable statuses = null, System.DateTimeOffset? minCreatedDateTime = default(System.DateTimeOffset?), System.DateTimeOffset? maxCreatedDateTime = default(System.DateTimeOffset?), System.DateTimeOffset? minLastModifiedDateTime = default(System.DateTimeOffset?), System.DateTimeOffset? maxLastModifiedDateTime = default(System.DateTimeOffset?), int? maxPageSize = default(int?), string skipToken = null, Azure.RequestOptions requestOptions = null) { throw null; } + public virtual Azure.Response CreateOrUpdate(string cropId, Azure.Core.RequestContent content, Azure.RequestOptions options = null) { throw null; } + public virtual System.Threading.Tasks.Task CreateOrUpdateAsync(string cropId, Azure.Core.RequestContent content, Azure.RequestOptions options = null) { throw null; } + public virtual Azure.Response Delete(string cropId, Azure.RequestOptions options = null) { throw null; } + public virtual System.Threading.Tasks.Task DeleteAsync(string cropId, Azure.RequestOptions options = null) { throw null; } + public virtual Azure.Response Get(string cropId, Azure.RequestOptions options = null) { throw null; } + public virtual System.Threading.Tasks.Task GetAsync(string cropId, Azure.RequestOptions options = null) { throw null; } + public virtual Azure.Response List(System.Collections.Generic.IEnumerable phenotypes = null, System.Collections.Generic.IEnumerable ids = null, System.Collections.Generic.IEnumerable names = null, System.Collections.Generic.IEnumerable propertyFilters = null, System.Collections.Generic.IEnumerable statuses = null, System.DateTimeOffset? minCreatedDateTime = default(System.DateTimeOffset?), System.DateTimeOffset? maxCreatedDateTime = default(System.DateTimeOffset?), System.DateTimeOffset? minLastModifiedDateTime = default(System.DateTimeOffset?), System.DateTimeOffset? maxLastModifiedDateTime = default(System.DateTimeOffset?), int? maxPageSize = default(int?), string skipToken = null, Azure.RequestOptions options = null) { throw null; } + public virtual System.Threading.Tasks.Task ListAsync(System.Collections.Generic.IEnumerable phenotypes = null, System.Collections.Generic.IEnumerable ids = null, System.Collections.Generic.IEnumerable names = null, System.Collections.Generic.IEnumerable propertyFilters = null, System.Collections.Generic.IEnumerable statuses = null, System.DateTimeOffset? minCreatedDateTime = default(System.DateTimeOffset?), System.DateTimeOffset? maxCreatedDateTime = default(System.DateTimeOffset?), System.DateTimeOffset? minLastModifiedDateTime = default(System.DateTimeOffset?), System.DateTimeOffset? maxLastModifiedDateTime = default(System.DateTimeOffset?), int? maxPageSize = default(int?), string skipToken = null, Azure.RequestOptions options = null) { throw null; } } public partial class CropVarietiesClient { protected CropVarietiesClient() { } public CropVarietiesClient(System.Uri endpoint, Azure.Core.TokenCredential credential, Azure.Verticals.AgriFood.Farming.FarmBeatsClientOptions options = null) { } public virtual Azure.Core.Pipeline.HttpPipeline Pipeline { get { throw null; } } - public virtual Azure.Response CreateOrUpdate(string cropId, string cropVarietyId, Azure.Core.RequestContent requestBody, Azure.RequestOptions requestOptions = null) { throw null; } - public virtual System.Threading.Tasks.Task CreateOrUpdateAsync(string cropId, string cropVarietyId, Azure.Core.RequestContent requestBody, Azure.RequestOptions requestOptions = null) { throw null; } - public virtual Azure.Response Delete(string cropId, string cropVarietyId, Azure.RequestOptions requestOptions = null) { throw null; } - public virtual System.Threading.Tasks.Task DeleteAsync(string cropId, string cropVarietyId, Azure.RequestOptions requestOptions = null) { throw null; } - public virtual Azure.Response Get(string cropId, string cropVarietyId, Azure.RequestOptions requestOptions = null) { throw null; } - public virtual System.Threading.Tasks.Task GetAsync(string cropId, string cropVarietyId, Azure.RequestOptions requestOptions = null) { throw null; } - public virtual Azure.Response List(System.Collections.Generic.IEnumerable cropIds = null, System.Collections.Generic.IEnumerable brands = null, System.Collections.Generic.IEnumerable products = null, System.Collections.Generic.IEnumerable ids = null, System.Collections.Generic.IEnumerable names = null, System.Collections.Generic.IEnumerable propertyFilters = null, System.Collections.Generic.IEnumerable statuses = null, System.DateTimeOffset? minCreatedDateTime = default(System.DateTimeOffset?), System.DateTimeOffset? maxCreatedDateTime = default(System.DateTimeOffset?), System.DateTimeOffset? minLastModifiedDateTime = default(System.DateTimeOffset?), System.DateTimeOffset? maxLastModifiedDateTime = default(System.DateTimeOffset?), int? maxPageSize = default(int?), string skipToken = null, Azure.RequestOptions requestOptions = null) { throw null; } - public virtual System.Threading.Tasks.Task ListAsync(System.Collections.Generic.IEnumerable cropIds = null, System.Collections.Generic.IEnumerable brands = null, System.Collections.Generic.IEnumerable products = null, System.Collections.Generic.IEnumerable ids = null, System.Collections.Generic.IEnumerable names = null, System.Collections.Generic.IEnumerable propertyFilters = null, System.Collections.Generic.IEnumerable statuses = null, System.DateTimeOffset? minCreatedDateTime = default(System.DateTimeOffset?), System.DateTimeOffset? maxCreatedDateTime = default(System.DateTimeOffset?), System.DateTimeOffset? minLastModifiedDateTime = default(System.DateTimeOffset?), System.DateTimeOffset? maxLastModifiedDateTime = default(System.DateTimeOffset?), int? maxPageSize = default(int?), string skipToken = null, Azure.RequestOptions requestOptions = null) { throw null; } - public virtual Azure.Response ListByCropId(string cropId, System.Collections.Generic.IEnumerable cropIds = null, System.Collections.Generic.IEnumerable brands = null, System.Collections.Generic.IEnumerable products = null, System.Collections.Generic.IEnumerable ids = null, System.Collections.Generic.IEnumerable names = null, System.Collections.Generic.IEnumerable propertyFilters = null, System.Collections.Generic.IEnumerable statuses = null, System.DateTimeOffset? minCreatedDateTime = default(System.DateTimeOffset?), System.DateTimeOffset? maxCreatedDateTime = default(System.DateTimeOffset?), System.DateTimeOffset? minLastModifiedDateTime = default(System.DateTimeOffset?), System.DateTimeOffset? maxLastModifiedDateTime = default(System.DateTimeOffset?), int? maxPageSize = default(int?), string skipToken = null, Azure.RequestOptions requestOptions = null) { throw null; } - public virtual System.Threading.Tasks.Task ListByCropIdAsync(string cropId, System.Collections.Generic.IEnumerable cropIds = null, System.Collections.Generic.IEnumerable brands = null, System.Collections.Generic.IEnumerable products = null, System.Collections.Generic.IEnumerable ids = null, System.Collections.Generic.IEnumerable names = null, System.Collections.Generic.IEnumerable propertyFilters = null, System.Collections.Generic.IEnumerable statuses = null, System.DateTimeOffset? minCreatedDateTime = default(System.DateTimeOffset?), System.DateTimeOffset? maxCreatedDateTime = default(System.DateTimeOffset?), System.DateTimeOffset? minLastModifiedDateTime = default(System.DateTimeOffset?), System.DateTimeOffset? maxLastModifiedDateTime = default(System.DateTimeOffset?), int? maxPageSize = default(int?), string skipToken = null, Azure.RequestOptions requestOptions = null) { throw null; } + public virtual Azure.Response CreateOrUpdate(string cropId, string cropVarietyId, Azure.Core.RequestContent content, Azure.RequestOptions options = null) { throw null; } + public virtual System.Threading.Tasks.Task CreateOrUpdateAsync(string cropId, string cropVarietyId, Azure.Core.RequestContent content, Azure.RequestOptions options = null) { throw null; } + public virtual Azure.Response Delete(string cropId, string cropVarietyId, Azure.RequestOptions options = null) { throw null; } + public virtual System.Threading.Tasks.Task DeleteAsync(string cropId, string cropVarietyId, Azure.RequestOptions options = null) { throw null; } + public virtual Azure.Response Get(string cropId, string cropVarietyId, Azure.RequestOptions options = null) { throw null; } + public virtual System.Threading.Tasks.Task GetAsync(string cropId, string cropVarietyId, Azure.RequestOptions options = null) { throw null; } + public virtual Azure.Response List(System.Collections.Generic.IEnumerable cropIds = null, System.Collections.Generic.IEnumerable brands = null, System.Collections.Generic.IEnumerable products = null, System.Collections.Generic.IEnumerable ids = null, System.Collections.Generic.IEnumerable names = null, System.Collections.Generic.IEnumerable propertyFilters = null, System.Collections.Generic.IEnumerable statuses = null, System.DateTimeOffset? minCreatedDateTime = default(System.DateTimeOffset?), System.DateTimeOffset? maxCreatedDateTime = default(System.DateTimeOffset?), System.DateTimeOffset? minLastModifiedDateTime = default(System.DateTimeOffset?), System.DateTimeOffset? maxLastModifiedDateTime = default(System.DateTimeOffset?), int? maxPageSize = default(int?), string skipToken = null, Azure.RequestOptions options = null) { throw null; } + public virtual System.Threading.Tasks.Task ListAsync(System.Collections.Generic.IEnumerable cropIds = null, System.Collections.Generic.IEnumerable brands = null, System.Collections.Generic.IEnumerable products = null, System.Collections.Generic.IEnumerable ids = null, System.Collections.Generic.IEnumerable names = null, System.Collections.Generic.IEnumerable propertyFilters = null, System.Collections.Generic.IEnumerable statuses = null, System.DateTimeOffset? minCreatedDateTime = default(System.DateTimeOffset?), System.DateTimeOffset? maxCreatedDateTime = default(System.DateTimeOffset?), System.DateTimeOffset? minLastModifiedDateTime = default(System.DateTimeOffset?), System.DateTimeOffset? maxLastModifiedDateTime = default(System.DateTimeOffset?), int? maxPageSize = default(int?), string skipToken = null, Azure.RequestOptions options = null) { throw null; } + public virtual Azure.Response ListByCropId(string cropId, System.Collections.Generic.IEnumerable cropIds = null, System.Collections.Generic.IEnumerable brands = null, System.Collections.Generic.IEnumerable products = null, System.Collections.Generic.IEnumerable ids = null, System.Collections.Generic.IEnumerable names = null, System.Collections.Generic.IEnumerable propertyFilters = null, System.Collections.Generic.IEnumerable statuses = null, System.DateTimeOffset? minCreatedDateTime = default(System.DateTimeOffset?), System.DateTimeOffset? maxCreatedDateTime = default(System.DateTimeOffset?), System.DateTimeOffset? minLastModifiedDateTime = default(System.DateTimeOffset?), System.DateTimeOffset? maxLastModifiedDateTime = default(System.DateTimeOffset?), int? maxPageSize = default(int?), string skipToken = null, Azure.RequestOptions options = null) { throw null; } + public virtual System.Threading.Tasks.Task ListByCropIdAsync(string cropId, System.Collections.Generic.IEnumerable cropIds = null, System.Collections.Generic.IEnumerable brands = null, System.Collections.Generic.IEnumerable products = null, System.Collections.Generic.IEnumerable ids = null, System.Collections.Generic.IEnumerable names = null, System.Collections.Generic.IEnumerable propertyFilters = null, System.Collections.Generic.IEnumerable statuses = null, System.DateTimeOffset? minCreatedDateTime = default(System.DateTimeOffset?), System.DateTimeOffset? maxCreatedDateTime = default(System.DateTimeOffset?), System.DateTimeOffset? minLastModifiedDateTime = default(System.DateTimeOffset?), System.DateTimeOffset? maxLastModifiedDateTime = default(System.DateTimeOffset?), int? maxPageSize = default(int?), string skipToken = null, Azure.RequestOptions options = null) { throw null; } } public partial class FarmBeatsClientOptions : Azure.Core.ClientOptions { @@ -101,217 +101,217 @@ public partial class FarmClient protected FarmClient() { } public FarmClient(System.Uri endpoint, Azure.Core.TokenCredential credential, Azure.Verticals.AgriFood.Farming.FarmBeatsClientOptions options = null) { } public virtual Azure.Core.Pipeline.HttpPipeline Pipeline { get { throw null; } } - public virtual Azure.Response CreateDataIngestionJob(string jobId, Azure.Core.RequestContent requestBody, Azure.RequestOptions requestOptions = null) { throw null; } - public virtual System.Threading.Tasks.Task CreateDataIngestionJobAsync(string jobId, Azure.Core.RequestContent requestBody, Azure.RequestOptions requestOptions = null) { throw null; } - public virtual Azure.Response GetDataIngestionJobDetails(string jobId, Azure.RequestOptions requestOptions = null) { throw null; } - public virtual System.Threading.Tasks.Task GetDataIngestionJobDetailsAsync(string jobId, Azure.RequestOptions requestOptions = null) { throw null; } + public virtual Azure.Response CreateDataIngestionJob(string jobId, Azure.Core.RequestContent content, Azure.RequestOptions options = null) { throw null; } + public virtual System.Threading.Tasks.Task CreateDataIngestionJobAsync(string jobId, Azure.Core.RequestContent content, Azure.RequestOptions options = null) { throw null; } + public virtual Azure.Response GetDataIngestionJobDetails(string jobId, Azure.RequestOptions options = null) { throw null; } + public virtual System.Threading.Tasks.Task GetDataIngestionJobDetailsAsync(string jobId, Azure.RequestOptions options = null) { throw null; } } public partial class FarmersClient { protected FarmersClient() { } public FarmersClient(System.Uri endpoint, Azure.Core.TokenCredential credential, Azure.Verticals.AgriFood.Farming.FarmBeatsClientOptions options = null) { } public virtual Azure.Core.Pipeline.HttpPipeline Pipeline { get { throw null; } } - public virtual Azure.Response CreateCascadeDeleteJob(string jobId, string farmerId, Azure.RequestOptions requestOptions = null) { throw null; } - public virtual System.Threading.Tasks.Task CreateCascadeDeleteJobAsync(string jobId, string farmerId, Azure.RequestOptions requestOptions = null) { throw null; } - public virtual Azure.Response CreateOrUpdate(string farmerId, Azure.Core.RequestContent requestBody, Azure.RequestOptions requestOptions = null) { throw null; } - public virtual System.Threading.Tasks.Task CreateOrUpdateAsync(string farmerId, Azure.Core.RequestContent requestBody, Azure.RequestOptions requestOptions = null) { throw null; } - public virtual Azure.Response Delete(string farmerId, Azure.RequestOptions requestOptions = null) { throw null; } - public virtual System.Threading.Tasks.Task DeleteAsync(string farmerId, Azure.RequestOptions requestOptions = null) { throw null; } - public virtual Azure.Response Get(string farmerId, Azure.RequestOptions requestOptions = null) { throw null; } - public virtual System.Threading.Tasks.Task GetAsync(string farmerId, Azure.RequestOptions requestOptions = null) { throw null; } - public virtual Azure.Response GetCascadeDeleteJobDetails(string jobId, Azure.RequestOptions requestOptions = null) { throw null; } - public virtual System.Threading.Tasks.Task GetCascadeDeleteJobDetailsAsync(string jobId, Azure.RequestOptions requestOptions = null) { throw null; } - public virtual Azure.Response List(System.Collections.Generic.IEnumerable ids = null, System.Collections.Generic.IEnumerable names = null, System.Collections.Generic.IEnumerable propertyFilters = null, System.Collections.Generic.IEnumerable statuses = null, System.DateTimeOffset? minCreatedDateTime = default(System.DateTimeOffset?), System.DateTimeOffset? maxCreatedDateTime = default(System.DateTimeOffset?), System.DateTimeOffset? minLastModifiedDateTime = default(System.DateTimeOffset?), System.DateTimeOffset? maxLastModifiedDateTime = default(System.DateTimeOffset?), int? maxPageSize = default(int?), string skipToken = null, Azure.RequestOptions requestOptions = null) { throw null; } - public virtual System.Threading.Tasks.Task ListAsync(System.Collections.Generic.IEnumerable ids = null, System.Collections.Generic.IEnumerable names = null, System.Collections.Generic.IEnumerable propertyFilters = null, System.Collections.Generic.IEnumerable statuses = null, System.DateTimeOffset? minCreatedDateTime = default(System.DateTimeOffset?), System.DateTimeOffset? maxCreatedDateTime = default(System.DateTimeOffset?), System.DateTimeOffset? minLastModifiedDateTime = default(System.DateTimeOffset?), System.DateTimeOffset? maxLastModifiedDateTime = default(System.DateTimeOffset?), int? maxPageSize = default(int?), string skipToken = null, Azure.RequestOptions requestOptions = null) { throw null; } + public virtual Azure.Response CreateCascadeDeleteJob(string jobId, string farmerId, Azure.RequestOptions options = null) { throw null; } + public virtual System.Threading.Tasks.Task CreateCascadeDeleteJobAsync(string jobId, string farmerId, Azure.RequestOptions options = null) { throw null; } + public virtual Azure.Response CreateOrUpdate(string farmerId, Azure.Core.RequestContent content, Azure.RequestOptions options = null) { throw null; } + public virtual System.Threading.Tasks.Task CreateOrUpdateAsync(string farmerId, Azure.Core.RequestContent content, Azure.RequestOptions options = null) { throw null; } + public virtual Azure.Response Delete(string farmerId, Azure.RequestOptions options = null) { throw null; } + public virtual System.Threading.Tasks.Task DeleteAsync(string farmerId, Azure.RequestOptions options = null) { throw null; } + public virtual Azure.Response Get(string farmerId, Azure.RequestOptions options = null) { throw null; } + public virtual System.Threading.Tasks.Task GetAsync(string farmerId, Azure.RequestOptions options = null) { throw null; } + public virtual Azure.Response GetCascadeDeleteJobDetails(string jobId, Azure.RequestOptions options = null) { throw null; } + public virtual System.Threading.Tasks.Task GetCascadeDeleteJobDetailsAsync(string jobId, Azure.RequestOptions options = null) { throw null; } + public virtual Azure.Response List(System.Collections.Generic.IEnumerable ids = null, System.Collections.Generic.IEnumerable names = null, System.Collections.Generic.IEnumerable propertyFilters = null, System.Collections.Generic.IEnumerable statuses = null, System.DateTimeOffset? minCreatedDateTime = default(System.DateTimeOffset?), System.DateTimeOffset? maxCreatedDateTime = default(System.DateTimeOffset?), System.DateTimeOffset? minLastModifiedDateTime = default(System.DateTimeOffset?), System.DateTimeOffset? maxLastModifiedDateTime = default(System.DateTimeOffset?), int? maxPageSize = default(int?), string skipToken = null, Azure.RequestOptions options = null) { throw null; } + public virtual System.Threading.Tasks.Task ListAsync(System.Collections.Generic.IEnumerable ids = null, System.Collections.Generic.IEnumerable names = null, System.Collections.Generic.IEnumerable propertyFilters = null, System.Collections.Generic.IEnumerable statuses = null, System.DateTimeOffset? minCreatedDateTime = default(System.DateTimeOffset?), System.DateTimeOffset? maxCreatedDateTime = default(System.DateTimeOffset?), System.DateTimeOffset? minLastModifiedDateTime = default(System.DateTimeOffset?), System.DateTimeOffset? maxLastModifiedDateTime = default(System.DateTimeOffset?), int? maxPageSize = default(int?), string skipToken = null, Azure.RequestOptions options = null) { throw null; } } public partial class FarmsClient { protected FarmsClient() { } public FarmsClient(System.Uri endpoint, Azure.Core.TokenCredential credential, Azure.Verticals.AgriFood.Farming.FarmBeatsClientOptions options = null) { } public virtual Azure.Core.Pipeline.HttpPipeline Pipeline { get { throw null; } } - public virtual Azure.Response CreateCascadeDeleteJob(string jobId, string farmerId, string farmId, Azure.RequestOptions requestOptions = null) { throw null; } - public virtual System.Threading.Tasks.Task CreateCascadeDeleteJobAsync(string jobId, string farmerId, string farmId, Azure.RequestOptions requestOptions = null) { throw null; } - public virtual Azure.Response CreateOrUpdate(string farmerId, string farmId, Azure.Core.RequestContent requestBody, Azure.RequestOptions requestOptions = null) { throw null; } - public virtual System.Threading.Tasks.Task CreateOrUpdateAsync(string farmerId, string farmId, Azure.Core.RequestContent requestBody, Azure.RequestOptions requestOptions = null) { throw null; } - public virtual Azure.Response Delete(string farmerId, string farmId, Azure.RequestOptions requestOptions = null) { throw null; } - public virtual System.Threading.Tasks.Task DeleteAsync(string farmerId, string farmId, Azure.RequestOptions requestOptions = null) { throw null; } - public virtual Azure.Response Get(string farmerId, string farmId, Azure.RequestOptions requestOptions = null) { throw null; } - public virtual System.Threading.Tasks.Task GetAsync(string farmerId, string farmId, Azure.RequestOptions requestOptions = null) { throw null; } - public virtual Azure.Response GetCascadeDeleteJobDetails(string jobId, Azure.RequestOptions requestOptions = null) { throw null; } - public virtual System.Threading.Tasks.Task GetCascadeDeleteJobDetailsAsync(string jobId, Azure.RequestOptions requestOptions = null) { throw null; } - public virtual Azure.Response List(System.Collections.Generic.IEnumerable ids = null, System.Collections.Generic.IEnumerable names = null, System.Collections.Generic.IEnumerable propertyFilters = null, System.Collections.Generic.IEnumerable statuses = null, System.DateTimeOffset? minCreatedDateTime = default(System.DateTimeOffset?), System.DateTimeOffset? maxCreatedDateTime = default(System.DateTimeOffset?), System.DateTimeOffset? minLastModifiedDateTime = default(System.DateTimeOffset?), System.DateTimeOffset? maxLastModifiedDateTime = default(System.DateTimeOffset?), int? maxPageSize = default(int?), string skipToken = null, Azure.RequestOptions requestOptions = null) { throw null; } - public virtual System.Threading.Tasks.Task ListAsync(System.Collections.Generic.IEnumerable ids = null, System.Collections.Generic.IEnumerable names = null, System.Collections.Generic.IEnumerable propertyFilters = null, System.Collections.Generic.IEnumerable statuses = null, System.DateTimeOffset? minCreatedDateTime = default(System.DateTimeOffset?), System.DateTimeOffset? maxCreatedDateTime = default(System.DateTimeOffset?), System.DateTimeOffset? minLastModifiedDateTime = default(System.DateTimeOffset?), System.DateTimeOffset? maxLastModifiedDateTime = default(System.DateTimeOffset?), int? maxPageSize = default(int?), string skipToken = null, Azure.RequestOptions requestOptions = null) { throw null; } - public virtual Azure.Response ListByFarmerId(string farmerId, System.Collections.Generic.IEnumerable ids = null, System.Collections.Generic.IEnumerable names = null, System.Collections.Generic.IEnumerable propertyFilters = null, System.Collections.Generic.IEnumerable statuses = null, System.DateTimeOffset? minCreatedDateTime = default(System.DateTimeOffset?), System.DateTimeOffset? maxCreatedDateTime = default(System.DateTimeOffset?), System.DateTimeOffset? minLastModifiedDateTime = default(System.DateTimeOffset?), System.DateTimeOffset? maxLastModifiedDateTime = default(System.DateTimeOffset?), int? maxPageSize = default(int?), string skipToken = null, Azure.RequestOptions requestOptions = null) { throw null; } - public virtual System.Threading.Tasks.Task ListByFarmerIdAsync(string farmerId, System.Collections.Generic.IEnumerable ids = null, System.Collections.Generic.IEnumerable names = null, System.Collections.Generic.IEnumerable propertyFilters = null, System.Collections.Generic.IEnumerable statuses = null, System.DateTimeOffset? minCreatedDateTime = default(System.DateTimeOffset?), System.DateTimeOffset? maxCreatedDateTime = default(System.DateTimeOffset?), System.DateTimeOffset? minLastModifiedDateTime = default(System.DateTimeOffset?), System.DateTimeOffset? maxLastModifiedDateTime = default(System.DateTimeOffset?), int? maxPageSize = default(int?), string skipToken = null, Azure.RequestOptions requestOptions = null) { throw null; } + public virtual Azure.Response CreateCascadeDeleteJob(string jobId, string farmerId, string farmId, Azure.RequestOptions options = null) { throw null; } + public virtual System.Threading.Tasks.Task CreateCascadeDeleteJobAsync(string jobId, string farmerId, string farmId, Azure.RequestOptions options = null) { throw null; } + public virtual Azure.Response CreateOrUpdate(string farmerId, string farmId, Azure.Core.RequestContent content, Azure.RequestOptions options = null) { throw null; } + public virtual System.Threading.Tasks.Task CreateOrUpdateAsync(string farmerId, string farmId, Azure.Core.RequestContent content, Azure.RequestOptions options = null) { throw null; } + public virtual Azure.Response Delete(string farmerId, string farmId, Azure.RequestOptions options = null) { throw null; } + public virtual System.Threading.Tasks.Task DeleteAsync(string farmerId, string farmId, Azure.RequestOptions options = null) { throw null; } + public virtual Azure.Response Get(string farmerId, string farmId, Azure.RequestOptions options = null) { throw null; } + public virtual System.Threading.Tasks.Task GetAsync(string farmerId, string farmId, Azure.RequestOptions options = null) { throw null; } + public virtual Azure.Response GetCascadeDeleteJobDetails(string jobId, Azure.RequestOptions options = null) { throw null; } + public virtual System.Threading.Tasks.Task GetCascadeDeleteJobDetailsAsync(string jobId, Azure.RequestOptions options = null) { throw null; } + public virtual Azure.Response List(System.Collections.Generic.IEnumerable ids = null, System.Collections.Generic.IEnumerable names = null, System.Collections.Generic.IEnumerable propertyFilters = null, System.Collections.Generic.IEnumerable statuses = null, System.DateTimeOffset? minCreatedDateTime = default(System.DateTimeOffset?), System.DateTimeOffset? maxCreatedDateTime = default(System.DateTimeOffset?), System.DateTimeOffset? minLastModifiedDateTime = default(System.DateTimeOffset?), System.DateTimeOffset? maxLastModifiedDateTime = default(System.DateTimeOffset?), int? maxPageSize = default(int?), string skipToken = null, Azure.RequestOptions options = null) { throw null; } + public virtual System.Threading.Tasks.Task ListAsync(System.Collections.Generic.IEnumerable ids = null, System.Collections.Generic.IEnumerable names = null, System.Collections.Generic.IEnumerable propertyFilters = null, System.Collections.Generic.IEnumerable statuses = null, System.DateTimeOffset? minCreatedDateTime = default(System.DateTimeOffset?), System.DateTimeOffset? maxCreatedDateTime = default(System.DateTimeOffset?), System.DateTimeOffset? minLastModifiedDateTime = default(System.DateTimeOffset?), System.DateTimeOffset? maxLastModifiedDateTime = default(System.DateTimeOffset?), int? maxPageSize = default(int?), string skipToken = null, Azure.RequestOptions options = null) { throw null; } + public virtual Azure.Response ListByFarmerId(string farmerId, System.Collections.Generic.IEnumerable ids = null, System.Collections.Generic.IEnumerable names = null, System.Collections.Generic.IEnumerable propertyFilters = null, System.Collections.Generic.IEnumerable statuses = null, System.DateTimeOffset? minCreatedDateTime = default(System.DateTimeOffset?), System.DateTimeOffset? maxCreatedDateTime = default(System.DateTimeOffset?), System.DateTimeOffset? minLastModifiedDateTime = default(System.DateTimeOffset?), System.DateTimeOffset? maxLastModifiedDateTime = default(System.DateTimeOffset?), int? maxPageSize = default(int?), string skipToken = null, Azure.RequestOptions options = null) { throw null; } + public virtual System.Threading.Tasks.Task ListByFarmerIdAsync(string farmerId, System.Collections.Generic.IEnumerable ids = null, System.Collections.Generic.IEnumerable names = null, System.Collections.Generic.IEnumerable propertyFilters = null, System.Collections.Generic.IEnumerable statuses = null, System.DateTimeOffset? minCreatedDateTime = default(System.DateTimeOffset?), System.DateTimeOffset? maxCreatedDateTime = default(System.DateTimeOffset?), System.DateTimeOffset? minLastModifiedDateTime = default(System.DateTimeOffset?), System.DateTimeOffset? maxLastModifiedDateTime = default(System.DateTimeOffset?), int? maxPageSize = default(int?), string skipToken = null, Azure.RequestOptions options = null) { throw null; } } public partial class FieldsClient { protected FieldsClient() { } public FieldsClient(System.Uri endpoint, Azure.Core.TokenCredential credential, Azure.Verticals.AgriFood.Farming.FarmBeatsClientOptions options = null) { } public virtual Azure.Core.Pipeline.HttpPipeline Pipeline { get { throw null; } } - public virtual Azure.Response CreateCascadeDeleteJob(string jobId, string farmerId, string fieldId, Azure.RequestOptions requestOptions = null) { throw null; } - public virtual System.Threading.Tasks.Task CreateCascadeDeleteJobAsync(string jobId, string farmerId, string fieldId, Azure.RequestOptions requestOptions = null) { throw null; } - public virtual Azure.Response CreateOrUpdate(string farmerId, string fieldId, Azure.Core.RequestContent requestBody, Azure.RequestOptions requestOptions = null) { throw null; } - public virtual System.Threading.Tasks.Task CreateOrUpdateAsync(string farmerId, string fieldId, Azure.Core.RequestContent requestBody, Azure.RequestOptions requestOptions = null) { throw null; } - public virtual Azure.Response Delete(string farmerId, string fieldId, Azure.RequestOptions requestOptions = null) { throw null; } - public virtual System.Threading.Tasks.Task DeleteAsync(string farmerId, string fieldId, Azure.RequestOptions requestOptions = null) { throw null; } - public virtual Azure.Response Get(string farmerId, string fieldId, Azure.RequestOptions requestOptions = null) { throw null; } - public virtual System.Threading.Tasks.Task GetAsync(string farmerId, string fieldId, Azure.RequestOptions requestOptions = null) { throw null; } - public virtual Azure.Response GetCascadeDeleteJobDetails(string jobId, Azure.RequestOptions requestOptions = null) { throw null; } - public virtual System.Threading.Tasks.Task GetCascadeDeleteJobDetailsAsync(string jobId, Azure.RequestOptions requestOptions = null) { throw null; } - public virtual Azure.Response List(System.Collections.Generic.IEnumerable farmIds = null, System.Collections.Generic.IEnumerable ids = null, System.Collections.Generic.IEnumerable names = null, System.Collections.Generic.IEnumerable propertyFilters = null, System.Collections.Generic.IEnumerable statuses = null, System.DateTimeOffset? minCreatedDateTime = default(System.DateTimeOffset?), System.DateTimeOffset? maxCreatedDateTime = default(System.DateTimeOffset?), System.DateTimeOffset? minLastModifiedDateTime = default(System.DateTimeOffset?), System.DateTimeOffset? maxLastModifiedDateTime = default(System.DateTimeOffset?), int? maxPageSize = default(int?), string skipToken = null, Azure.RequestOptions requestOptions = null) { throw null; } - public virtual System.Threading.Tasks.Task ListAsync(System.Collections.Generic.IEnumerable farmIds = null, System.Collections.Generic.IEnumerable ids = null, System.Collections.Generic.IEnumerable names = null, System.Collections.Generic.IEnumerable propertyFilters = null, System.Collections.Generic.IEnumerable statuses = null, System.DateTimeOffset? minCreatedDateTime = default(System.DateTimeOffset?), System.DateTimeOffset? maxCreatedDateTime = default(System.DateTimeOffset?), System.DateTimeOffset? minLastModifiedDateTime = default(System.DateTimeOffset?), System.DateTimeOffset? maxLastModifiedDateTime = default(System.DateTimeOffset?), int? maxPageSize = default(int?), string skipToken = null, Azure.RequestOptions requestOptions = null) { throw null; } - public virtual Azure.Response ListByFarmerId(string farmerId, System.Collections.Generic.IEnumerable farmIds = null, System.Collections.Generic.IEnumerable ids = null, System.Collections.Generic.IEnumerable names = null, System.Collections.Generic.IEnumerable propertyFilters = null, System.Collections.Generic.IEnumerable statuses = null, System.DateTimeOffset? minCreatedDateTime = default(System.DateTimeOffset?), System.DateTimeOffset? maxCreatedDateTime = default(System.DateTimeOffset?), System.DateTimeOffset? minLastModifiedDateTime = default(System.DateTimeOffset?), System.DateTimeOffset? maxLastModifiedDateTime = default(System.DateTimeOffset?), int? maxPageSize = default(int?), string skipToken = null, Azure.RequestOptions requestOptions = null) { throw null; } - public virtual System.Threading.Tasks.Task ListByFarmerIdAsync(string farmerId, System.Collections.Generic.IEnumerable farmIds = null, System.Collections.Generic.IEnumerable ids = null, System.Collections.Generic.IEnumerable names = null, System.Collections.Generic.IEnumerable propertyFilters = null, System.Collections.Generic.IEnumerable statuses = null, System.DateTimeOffset? minCreatedDateTime = default(System.DateTimeOffset?), System.DateTimeOffset? maxCreatedDateTime = default(System.DateTimeOffset?), System.DateTimeOffset? minLastModifiedDateTime = default(System.DateTimeOffset?), System.DateTimeOffset? maxLastModifiedDateTime = default(System.DateTimeOffset?), int? maxPageSize = default(int?), string skipToken = null, Azure.RequestOptions requestOptions = null) { throw null; } + public virtual Azure.Response CreateCascadeDeleteJob(string jobId, string farmerId, string fieldId, Azure.RequestOptions options = null) { throw null; } + public virtual System.Threading.Tasks.Task CreateCascadeDeleteJobAsync(string jobId, string farmerId, string fieldId, Azure.RequestOptions options = null) { throw null; } + public virtual Azure.Response CreateOrUpdate(string farmerId, string fieldId, Azure.Core.RequestContent content, Azure.RequestOptions options = null) { throw null; } + public virtual System.Threading.Tasks.Task CreateOrUpdateAsync(string farmerId, string fieldId, Azure.Core.RequestContent content, Azure.RequestOptions options = null) { throw null; } + public virtual Azure.Response Delete(string farmerId, string fieldId, Azure.RequestOptions options = null) { throw null; } + public virtual System.Threading.Tasks.Task DeleteAsync(string farmerId, string fieldId, Azure.RequestOptions options = null) { throw null; } + public virtual Azure.Response Get(string farmerId, string fieldId, Azure.RequestOptions options = null) { throw null; } + public virtual System.Threading.Tasks.Task GetAsync(string farmerId, string fieldId, Azure.RequestOptions options = null) { throw null; } + public virtual Azure.Response GetCascadeDeleteJobDetails(string jobId, Azure.RequestOptions options = null) { throw null; } + public virtual System.Threading.Tasks.Task GetCascadeDeleteJobDetailsAsync(string jobId, Azure.RequestOptions options = null) { throw null; } + public virtual Azure.Response List(System.Collections.Generic.IEnumerable farmIds = null, System.Collections.Generic.IEnumerable ids = null, System.Collections.Generic.IEnumerable names = null, System.Collections.Generic.IEnumerable propertyFilters = null, System.Collections.Generic.IEnumerable statuses = null, System.DateTimeOffset? minCreatedDateTime = default(System.DateTimeOffset?), System.DateTimeOffset? maxCreatedDateTime = default(System.DateTimeOffset?), System.DateTimeOffset? minLastModifiedDateTime = default(System.DateTimeOffset?), System.DateTimeOffset? maxLastModifiedDateTime = default(System.DateTimeOffset?), int? maxPageSize = default(int?), string skipToken = null, Azure.RequestOptions options = null) { throw null; } + public virtual System.Threading.Tasks.Task ListAsync(System.Collections.Generic.IEnumerable farmIds = null, System.Collections.Generic.IEnumerable ids = null, System.Collections.Generic.IEnumerable names = null, System.Collections.Generic.IEnumerable propertyFilters = null, System.Collections.Generic.IEnumerable statuses = null, System.DateTimeOffset? minCreatedDateTime = default(System.DateTimeOffset?), System.DateTimeOffset? maxCreatedDateTime = default(System.DateTimeOffset?), System.DateTimeOffset? minLastModifiedDateTime = default(System.DateTimeOffset?), System.DateTimeOffset? maxLastModifiedDateTime = default(System.DateTimeOffset?), int? maxPageSize = default(int?), string skipToken = null, Azure.RequestOptions options = null) { throw null; } + public virtual Azure.Response ListByFarmerId(string farmerId, System.Collections.Generic.IEnumerable farmIds = null, System.Collections.Generic.IEnumerable ids = null, System.Collections.Generic.IEnumerable names = null, System.Collections.Generic.IEnumerable propertyFilters = null, System.Collections.Generic.IEnumerable statuses = null, System.DateTimeOffset? minCreatedDateTime = default(System.DateTimeOffset?), System.DateTimeOffset? maxCreatedDateTime = default(System.DateTimeOffset?), System.DateTimeOffset? minLastModifiedDateTime = default(System.DateTimeOffset?), System.DateTimeOffset? maxLastModifiedDateTime = default(System.DateTimeOffset?), int? maxPageSize = default(int?), string skipToken = null, Azure.RequestOptions options = null) { throw null; } + public virtual System.Threading.Tasks.Task ListByFarmerIdAsync(string farmerId, System.Collections.Generic.IEnumerable farmIds = null, System.Collections.Generic.IEnumerable ids = null, System.Collections.Generic.IEnumerable names = null, System.Collections.Generic.IEnumerable propertyFilters = null, System.Collections.Generic.IEnumerable statuses = null, System.DateTimeOffset? minCreatedDateTime = default(System.DateTimeOffset?), System.DateTimeOffset? maxCreatedDateTime = default(System.DateTimeOffset?), System.DateTimeOffset? minLastModifiedDateTime = default(System.DateTimeOffset?), System.DateTimeOffset? maxLastModifiedDateTime = default(System.DateTimeOffset?), int? maxPageSize = default(int?), string skipToken = null, Azure.RequestOptions options = null) { throw null; } } public partial class HarvestDataClient { protected HarvestDataClient() { } public HarvestDataClient(System.Uri endpoint, Azure.Core.TokenCredential credential, Azure.Verticals.AgriFood.Farming.FarmBeatsClientOptions options = null) { } public virtual Azure.Core.Pipeline.HttpPipeline Pipeline { get { throw null; } } - public virtual Azure.Response CreateOrUpdate(string farmerId, string harvestDataId, Azure.Core.RequestContent requestBody, Azure.RequestOptions requestOptions = null) { throw null; } - public virtual System.Threading.Tasks.Task CreateOrUpdateAsync(string farmerId, string harvestDataId, Azure.Core.RequestContent requestBody, Azure.RequestOptions requestOptions = null) { throw null; } - public virtual Azure.Response Delete(string farmerId, string harvestDataId, Azure.RequestOptions requestOptions = null) { throw null; } - public virtual System.Threading.Tasks.Task DeleteAsync(string farmerId, string harvestDataId, Azure.RequestOptions requestOptions = null) { throw null; } - public virtual Azure.Response Get(string farmerId, string harvestDataId, Azure.RequestOptions requestOptions = null) { throw null; } - public virtual System.Threading.Tasks.Task GetAsync(string farmerId, string harvestDataId, Azure.RequestOptions requestOptions = null) { throw null; } - public virtual Azure.Response List(double? minTotalYield = default(double?), double? maxTotalYield = default(double?), double? minAvgYield = default(double?), double? maxAvgYield = default(double?), double? minTotalWetMass = default(double?), double? maxTotalWetMass = default(double?), double? minAvgWetMass = default(double?), double? maxAvgWetMass = default(double?), double? minAvgMoisture = default(double?), double? maxAvgMoisture = default(double?), double? minAvgSpeed = default(double?), double? maxAvgSpeed = default(double?), System.Collections.Generic.IEnumerable sources = null, System.Collections.Generic.IEnumerable associatedBoundaryIds = null, System.Collections.Generic.IEnumerable operationBoundaryIds = null, System.DateTimeOffset? minOperationStartDateTime = default(System.DateTimeOffset?), System.DateTimeOffset? maxOperationStartDateTime = default(System.DateTimeOffset?), System.DateTimeOffset? minOperationEndDateTime = default(System.DateTimeOffset?), System.DateTimeOffset? maxOperationEndDateTime = default(System.DateTimeOffset?), System.DateTimeOffset? minOperationModifiedDateTime = default(System.DateTimeOffset?), System.DateTimeOffset? maxOperationModifiedDateTime = default(System.DateTimeOffset?), double? minArea = default(double?), double? maxArea = default(double?), System.Collections.Generic.IEnumerable ids = null, System.Collections.Generic.IEnumerable names = null, System.Collections.Generic.IEnumerable propertyFilters = null, System.Collections.Generic.IEnumerable statuses = null, System.DateTimeOffset? minCreatedDateTime = default(System.DateTimeOffset?), System.DateTimeOffset? maxCreatedDateTime = default(System.DateTimeOffset?), System.DateTimeOffset? minLastModifiedDateTime = default(System.DateTimeOffset?), System.DateTimeOffset? maxLastModifiedDateTime = default(System.DateTimeOffset?), int? maxPageSize = default(int?), string skipToken = null, Azure.RequestOptions requestOptions = null) { throw null; } - public virtual System.Threading.Tasks.Task ListAsync(double? minTotalYield = default(double?), double? maxTotalYield = default(double?), double? minAvgYield = default(double?), double? maxAvgYield = default(double?), double? minTotalWetMass = default(double?), double? maxTotalWetMass = default(double?), double? minAvgWetMass = default(double?), double? maxAvgWetMass = default(double?), double? minAvgMoisture = default(double?), double? maxAvgMoisture = default(double?), double? minAvgSpeed = default(double?), double? maxAvgSpeed = default(double?), System.Collections.Generic.IEnumerable sources = null, System.Collections.Generic.IEnumerable associatedBoundaryIds = null, System.Collections.Generic.IEnumerable operationBoundaryIds = null, System.DateTimeOffset? minOperationStartDateTime = default(System.DateTimeOffset?), System.DateTimeOffset? maxOperationStartDateTime = default(System.DateTimeOffset?), System.DateTimeOffset? minOperationEndDateTime = default(System.DateTimeOffset?), System.DateTimeOffset? maxOperationEndDateTime = default(System.DateTimeOffset?), System.DateTimeOffset? minOperationModifiedDateTime = default(System.DateTimeOffset?), System.DateTimeOffset? maxOperationModifiedDateTime = default(System.DateTimeOffset?), double? minArea = default(double?), double? maxArea = default(double?), System.Collections.Generic.IEnumerable ids = null, System.Collections.Generic.IEnumerable names = null, System.Collections.Generic.IEnumerable propertyFilters = null, System.Collections.Generic.IEnumerable statuses = null, System.DateTimeOffset? minCreatedDateTime = default(System.DateTimeOffset?), System.DateTimeOffset? maxCreatedDateTime = default(System.DateTimeOffset?), System.DateTimeOffset? minLastModifiedDateTime = default(System.DateTimeOffset?), System.DateTimeOffset? maxLastModifiedDateTime = default(System.DateTimeOffset?), int? maxPageSize = default(int?), string skipToken = null, Azure.RequestOptions requestOptions = null) { throw null; } - public virtual Azure.Response ListByFarmerId(string farmerId, double? minTotalYield = default(double?), double? maxTotalYield = default(double?), double? minAvgYield = default(double?), double? maxAvgYield = default(double?), double? minTotalWetMass = default(double?), double? maxTotalWetMass = default(double?), double? minAvgWetMass = default(double?), double? maxAvgWetMass = default(double?), double? minAvgMoisture = default(double?), double? maxAvgMoisture = default(double?), double? minAvgSpeed = default(double?), double? maxAvgSpeed = default(double?), System.Collections.Generic.IEnumerable sources = null, System.Collections.Generic.IEnumerable associatedBoundaryIds = null, System.Collections.Generic.IEnumerable operationBoundaryIds = null, System.DateTimeOffset? minOperationStartDateTime = default(System.DateTimeOffset?), System.DateTimeOffset? maxOperationStartDateTime = default(System.DateTimeOffset?), System.DateTimeOffset? minOperationEndDateTime = default(System.DateTimeOffset?), System.DateTimeOffset? maxOperationEndDateTime = default(System.DateTimeOffset?), System.DateTimeOffset? minOperationModifiedDateTime = default(System.DateTimeOffset?), System.DateTimeOffset? maxOperationModifiedDateTime = default(System.DateTimeOffset?), double? minArea = default(double?), double? maxArea = default(double?), System.Collections.Generic.IEnumerable ids = null, System.Collections.Generic.IEnumerable names = null, System.Collections.Generic.IEnumerable propertyFilters = null, System.Collections.Generic.IEnumerable statuses = null, System.DateTimeOffset? minCreatedDateTime = default(System.DateTimeOffset?), System.DateTimeOffset? maxCreatedDateTime = default(System.DateTimeOffset?), System.DateTimeOffset? minLastModifiedDateTime = default(System.DateTimeOffset?), System.DateTimeOffset? maxLastModifiedDateTime = default(System.DateTimeOffset?), int? maxPageSize = default(int?), string skipToken = null, Azure.RequestOptions requestOptions = null) { throw null; } - public virtual System.Threading.Tasks.Task ListByFarmerIdAsync(string farmerId, double? minTotalYield = default(double?), double? maxTotalYield = default(double?), double? minAvgYield = default(double?), double? maxAvgYield = default(double?), double? minTotalWetMass = default(double?), double? maxTotalWetMass = default(double?), double? minAvgWetMass = default(double?), double? maxAvgWetMass = default(double?), double? minAvgMoisture = default(double?), double? maxAvgMoisture = default(double?), double? minAvgSpeed = default(double?), double? maxAvgSpeed = default(double?), System.Collections.Generic.IEnumerable sources = null, System.Collections.Generic.IEnumerable associatedBoundaryIds = null, System.Collections.Generic.IEnumerable operationBoundaryIds = null, System.DateTimeOffset? minOperationStartDateTime = default(System.DateTimeOffset?), System.DateTimeOffset? maxOperationStartDateTime = default(System.DateTimeOffset?), System.DateTimeOffset? minOperationEndDateTime = default(System.DateTimeOffset?), System.DateTimeOffset? maxOperationEndDateTime = default(System.DateTimeOffset?), System.DateTimeOffset? minOperationModifiedDateTime = default(System.DateTimeOffset?), System.DateTimeOffset? maxOperationModifiedDateTime = default(System.DateTimeOffset?), double? minArea = default(double?), double? maxArea = default(double?), System.Collections.Generic.IEnumerable ids = null, System.Collections.Generic.IEnumerable names = null, System.Collections.Generic.IEnumerable propertyFilters = null, System.Collections.Generic.IEnumerable statuses = null, System.DateTimeOffset? minCreatedDateTime = default(System.DateTimeOffset?), System.DateTimeOffset? maxCreatedDateTime = default(System.DateTimeOffset?), System.DateTimeOffset? minLastModifiedDateTime = default(System.DateTimeOffset?), System.DateTimeOffset? maxLastModifiedDateTime = default(System.DateTimeOffset?), int? maxPageSize = default(int?), string skipToken = null, Azure.RequestOptions requestOptions = null) { throw null; } + public virtual Azure.Response CreateOrUpdate(string farmerId, string harvestDataId, Azure.Core.RequestContent content, Azure.RequestOptions options = null) { throw null; } + public virtual System.Threading.Tasks.Task CreateOrUpdateAsync(string farmerId, string harvestDataId, Azure.Core.RequestContent content, Azure.RequestOptions options = null) { throw null; } + public virtual Azure.Response Delete(string farmerId, string harvestDataId, Azure.RequestOptions options = null) { throw null; } + public virtual System.Threading.Tasks.Task DeleteAsync(string farmerId, string harvestDataId, Azure.RequestOptions options = null) { throw null; } + public virtual Azure.Response Get(string farmerId, string harvestDataId, Azure.RequestOptions options = null) { throw null; } + public virtual System.Threading.Tasks.Task GetAsync(string farmerId, string harvestDataId, Azure.RequestOptions options = null) { throw null; } + public virtual Azure.Response List(double? minTotalYield = default(double?), double? maxTotalYield = default(double?), double? minAvgYield = default(double?), double? maxAvgYield = default(double?), double? minTotalWetMass = default(double?), double? maxTotalWetMass = default(double?), double? minAvgWetMass = default(double?), double? maxAvgWetMass = default(double?), double? minAvgMoisture = default(double?), double? maxAvgMoisture = default(double?), double? minAvgSpeed = default(double?), double? maxAvgSpeed = default(double?), System.Collections.Generic.IEnumerable sources = null, System.Collections.Generic.IEnumerable associatedBoundaryIds = null, System.Collections.Generic.IEnumerable operationBoundaryIds = null, System.DateTimeOffset? minOperationStartDateTime = default(System.DateTimeOffset?), System.DateTimeOffset? maxOperationStartDateTime = default(System.DateTimeOffset?), System.DateTimeOffset? minOperationEndDateTime = default(System.DateTimeOffset?), System.DateTimeOffset? maxOperationEndDateTime = default(System.DateTimeOffset?), System.DateTimeOffset? minOperationModifiedDateTime = default(System.DateTimeOffset?), System.DateTimeOffset? maxOperationModifiedDateTime = default(System.DateTimeOffset?), double? minArea = default(double?), double? maxArea = default(double?), System.Collections.Generic.IEnumerable ids = null, System.Collections.Generic.IEnumerable names = null, System.Collections.Generic.IEnumerable propertyFilters = null, System.Collections.Generic.IEnumerable statuses = null, System.DateTimeOffset? minCreatedDateTime = default(System.DateTimeOffset?), System.DateTimeOffset? maxCreatedDateTime = default(System.DateTimeOffset?), System.DateTimeOffset? minLastModifiedDateTime = default(System.DateTimeOffset?), System.DateTimeOffset? maxLastModifiedDateTime = default(System.DateTimeOffset?), int? maxPageSize = default(int?), string skipToken = null, Azure.RequestOptions options = null) { throw null; } + public virtual System.Threading.Tasks.Task ListAsync(double? minTotalYield = default(double?), double? maxTotalYield = default(double?), double? minAvgYield = default(double?), double? maxAvgYield = default(double?), double? minTotalWetMass = default(double?), double? maxTotalWetMass = default(double?), double? minAvgWetMass = default(double?), double? maxAvgWetMass = default(double?), double? minAvgMoisture = default(double?), double? maxAvgMoisture = default(double?), double? minAvgSpeed = default(double?), double? maxAvgSpeed = default(double?), System.Collections.Generic.IEnumerable sources = null, System.Collections.Generic.IEnumerable associatedBoundaryIds = null, System.Collections.Generic.IEnumerable operationBoundaryIds = null, System.DateTimeOffset? minOperationStartDateTime = default(System.DateTimeOffset?), System.DateTimeOffset? maxOperationStartDateTime = default(System.DateTimeOffset?), System.DateTimeOffset? minOperationEndDateTime = default(System.DateTimeOffset?), System.DateTimeOffset? maxOperationEndDateTime = default(System.DateTimeOffset?), System.DateTimeOffset? minOperationModifiedDateTime = default(System.DateTimeOffset?), System.DateTimeOffset? maxOperationModifiedDateTime = default(System.DateTimeOffset?), double? minArea = default(double?), double? maxArea = default(double?), System.Collections.Generic.IEnumerable ids = null, System.Collections.Generic.IEnumerable names = null, System.Collections.Generic.IEnumerable propertyFilters = null, System.Collections.Generic.IEnumerable statuses = null, System.DateTimeOffset? minCreatedDateTime = default(System.DateTimeOffset?), System.DateTimeOffset? maxCreatedDateTime = default(System.DateTimeOffset?), System.DateTimeOffset? minLastModifiedDateTime = default(System.DateTimeOffset?), System.DateTimeOffset? maxLastModifiedDateTime = default(System.DateTimeOffset?), int? maxPageSize = default(int?), string skipToken = null, Azure.RequestOptions options = null) { throw null; } + public virtual Azure.Response ListByFarmerId(string farmerId, double? minTotalYield = default(double?), double? maxTotalYield = default(double?), double? minAvgYield = default(double?), double? maxAvgYield = default(double?), double? minTotalWetMass = default(double?), double? maxTotalWetMass = default(double?), double? minAvgWetMass = default(double?), double? maxAvgWetMass = default(double?), double? minAvgMoisture = default(double?), double? maxAvgMoisture = default(double?), double? minAvgSpeed = default(double?), double? maxAvgSpeed = default(double?), System.Collections.Generic.IEnumerable sources = null, System.Collections.Generic.IEnumerable associatedBoundaryIds = null, System.Collections.Generic.IEnumerable operationBoundaryIds = null, System.DateTimeOffset? minOperationStartDateTime = default(System.DateTimeOffset?), System.DateTimeOffset? maxOperationStartDateTime = default(System.DateTimeOffset?), System.DateTimeOffset? minOperationEndDateTime = default(System.DateTimeOffset?), System.DateTimeOffset? maxOperationEndDateTime = default(System.DateTimeOffset?), System.DateTimeOffset? minOperationModifiedDateTime = default(System.DateTimeOffset?), System.DateTimeOffset? maxOperationModifiedDateTime = default(System.DateTimeOffset?), double? minArea = default(double?), double? maxArea = default(double?), System.Collections.Generic.IEnumerable ids = null, System.Collections.Generic.IEnumerable names = null, System.Collections.Generic.IEnumerable propertyFilters = null, System.Collections.Generic.IEnumerable statuses = null, System.DateTimeOffset? minCreatedDateTime = default(System.DateTimeOffset?), System.DateTimeOffset? maxCreatedDateTime = default(System.DateTimeOffset?), System.DateTimeOffset? minLastModifiedDateTime = default(System.DateTimeOffset?), System.DateTimeOffset? maxLastModifiedDateTime = default(System.DateTimeOffset?), int? maxPageSize = default(int?), string skipToken = null, Azure.RequestOptions options = null) { throw null; } + public virtual System.Threading.Tasks.Task ListByFarmerIdAsync(string farmerId, double? minTotalYield = default(double?), double? maxTotalYield = default(double?), double? minAvgYield = default(double?), double? maxAvgYield = default(double?), double? minTotalWetMass = default(double?), double? maxTotalWetMass = default(double?), double? minAvgWetMass = default(double?), double? maxAvgWetMass = default(double?), double? minAvgMoisture = default(double?), double? maxAvgMoisture = default(double?), double? minAvgSpeed = default(double?), double? maxAvgSpeed = default(double?), System.Collections.Generic.IEnumerable sources = null, System.Collections.Generic.IEnumerable associatedBoundaryIds = null, System.Collections.Generic.IEnumerable operationBoundaryIds = null, System.DateTimeOffset? minOperationStartDateTime = default(System.DateTimeOffset?), System.DateTimeOffset? maxOperationStartDateTime = default(System.DateTimeOffset?), System.DateTimeOffset? minOperationEndDateTime = default(System.DateTimeOffset?), System.DateTimeOffset? maxOperationEndDateTime = default(System.DateTimeOffset?), System.DateTimeOffset? minOperationModifiedDateTime = default(System.DateTimeOffset?), System.DateTimeOffset? maxOperationModifiedDateTime = default(System.DateTimeOffset?), double? minArea = default(double?), double? maxArea = default(double?), System.Collections.Generic.IEnumerable ids = null, System.Collections.Generic.IEnumerable names = null, System.Collections.Generic.IEnumerable propertyFilters = null, System.Collections.Generic.IEnumerable statuses = null, System.DateTimeOffset? minCreatedDateTime = default(System.DateTimeOffset?), System.DateTimeOffset? maxCreatedDateTime = default(System.DateTimeOffset?), System.DateTimeOffset? minLastModifiedDateTime = default(System.DateTimeOffset?), System.DateTimeOffset? maxLastModifiedDateTime = default(System.DateTimeOffset?), int? maxPageSize = default(int?), string skipToken = null, Azure.RequestOptions options = null) { throw null; } } public partial class ImageProcessingClient { protected ImageProcessingClient() { } public ImageProcessingClient(System.Uri endpoint, Azure.Core.TokenCredential credential, Azure.Verticals.AgriFood.Farming.FarmBeatsClientOptions options = null) { } public virtual Azure.Core.Pipeline.HttpPipeline Pipeline { get { throw null; } } - public virtual Azure.Response CreateRasterizeJob(string jobId, Azure.Core.RequestContent requestBody, Azure.RequestOptions requestOptions = null) { throw null; } - public virtual System.Threading.Tasks.Task CreateRasterizeJobAsync(string jobId, Azure.Core.RequestContent requestBody, Azure.RequestOptions requestOptions = null) { throw null; } - public virtual Azure.Response GetRasterizeJob(string jobId, Azure.RequestOptions requestOptions = null) { throw null; } - public virtual System.Threading.Tasks.Task GetRasterizeJobAsync(string jobId, Azure.RequestOptions requestOptions = null) { throw null; } + public virtual Azure.Response CreateRasterizeJob(string jobId, Azure.Core.RequestContent content, Azure.RequestOptions options = null) { throw null; } + public virtual System.Threading.Tasks.Task CreateRasterizeJobAsync(string jobId, Azure.Core.RequestContent content, Azure.RequestOptions options = null) { throw null; } + public virtual Azure.Response GetRasterizeJob(string jobId, Azure.RequestOptions options = null) { throw null; } + public virtual System.Threading.Tasks.Task GetRasterizeJobAsync(string jobId, Azure.RequestOptions options = null) { throw null; } } public partial class OAuthProvidersClient { protected OAuthProvidersClient() { } public OAuthProvidersClient(System.Uri endpoint, Azure.Core.TokenCredential credential, Azure.Verticals.AgriFood.Farming.FarmBeatsClientOptions options = null) { } public virtual Azure.Core.Pipeline.HttpPipeline Pipeline { get { throw null; } } - public virtual Azure.Response CreateOrUpdate(string oauthProviderId, Azure.Core.RequestContent requestBody, Azure.RequestOptions requestOptions = null) { throw null; } - public virtual System.Threading.Tasks.Task CreateOrUpdateAsync(string oauthProviderId, Azure.Core.RequestContent requestBody, Azure.RequestOptions requestOptions = null) { throw null; } - public virtual Azure.Response Delete(string oauthProviderId, Azure.RequestOptions requestOptions = null) { throw null; } - public virtual System.Threading.Tasks.Task DeleteAsync(string oauthProviderId, Azure.RequestOptions requestOptions = null) { throw null; } - public virtual Azure.Response Get(string oauthProviderId, Azure.RequestOptions requestOptions = null) { throw null; } - public virtual System.Threading.Tasks.Task GetAsync(string oauthProviderId, Azure.RequestOptions requestOptions = null) { throw null; } - public virtual Azure.Response List(System.Collections.Generic.IEnumerable ids = null, System.Collections.Generic.IEnumerable names = null, System.Collections.Generic.IEnumerable propertyFilters = null, System.Collections.Generic.IEnumerable statuses = null, System.DateTimeOffset? minCreatedDateTime = default(System.DateTimeOffset?), System.DateTimeOffset? maxCreatedDateTime = default(System.DateTimeOffset?), System.DateTimeOffset? minLastModifiedDateTime = default(System.DateTimeOffset?), System.DateTimeOffset? maxLastModifiedDateTime = default(System.DateTimeOffset?), int? maxPageSize = default(int?), string skipToken = null, Azure.RequestOptions requestOptions = null) { throw null; } - public virtual System.Threading.Tasks.Task ListAsync(System.Collections.Generic.IEnumerable ids = null, System.Collections.Generic.IEnumerable names = null, System.Collections.Generic.IEnumerable propertyFilters = null, System.Collections.Generic.IEnumerable statuses = null, System.DateTimeOffset? minCreatedDateTime = default(System.DateTimeOffset?), System.DateTimeOffset? maxCreatedDateTime = default(System.DateTimeOffset?), System.DateTimeOffset? minLastModifiedDateTime = default(System.DateTimeOffset?), System.DateTimeOffset? maxLastModifiedDateTime = default(System.DateTimeOffset?), int? maxPageSize = default(int?), string skipToken = null, Azure.RequestOptions requestOptions = null) { throw null; } + public virtual Azure.Response CreateOrUpdate(string oauthProviderId, Azure.Core.RequestContent content, Azure.RequestOptions options = null) { throw null; } + public virtual System.Threading.Tasks.Task CreateOrUpdateAsync(string oauthProviderId, Azure.Core.RequestContent content, Azure.RequestOptions options = null) { throw null; } + public virtual Azure.Response Delete(string oauthProviderId, Azure.RequestOptions options = null) { throw null; } + public virtual System.Threading.Tasks.Task DeleteAsync(string oauthProviderId, Azure.RequestOptions options = null) { throw null; } + public virtual Azure.Response Get(string oauthProviderId, Azure.RequestOptions options = null) { throw null; } + public virtual System.Threading.Tasks.Task GetAsync(string oauthProviderId, Azure.RequestOptions options = null) { throw null; } + public virtual Azure.Response List(System.Collections.Generic.IEnumerable ids = null, System.Collections.Generic.IEnumerable names = null, System.Collections.Generic.IEnumerable propertyFilters = null, System.Collections.Generic.IEnumerable statuses = null, System.DateTimeOffset? minCreatedDateTime = default(System.DateTimeOffset?), System.DateTimeOffset? maxCreatedDateTime = default(System.DateTimeOffset?), System.DateTimeOffset? minLastModifiedDateTime = default(System.DateTimeOffset?), System.DateTimeOffset? maxLastModifiedDateTime = default(System.DateTimeOffset?), int? maxPageSize = default(int?), string skipToken = null, Azure.RequestOptions options = null) { throw null; } + public virtual System.Threading.Tasks.Task ListAsync(System.Collections.Generic.IEnumerable ids = null, System.Collections.Generic.IEnumerable names = null, System.Collections.Generic.IEnumerable propertyFilters = null, System.Collections.Generic.IEnumerable statuses = null, System.DateTimeOffset? minCreatedDateTime = default(System.DateTimeOffset?), System.DateTimeOffset? maxCreatedDateTime = default(System.DateTimeOffset?), System.DateTimeOffset? minLastModifiedDateTime = default(System.DateTimeOffset?), System.DateTimeOffset? maxLastModifiedDateTime = default(System.DateTimeOffset?), int? maxPageSize = default(int?), string skipToken = null, Azure.RequestOptions options = null) { throw null; } } public partial class OAuthTokensClient { protected OAuthTokensClient() { } public OAuthTokensClient(System.Uri endpoint, Azure.Core.TokenCredential credential, Azure.Verticals.AgriFood.Farming.FarmBeatsClientOptions options = null) { } public virtual Azure.Core.Pipeline.HttpPipeline Pipeline { get { throw null; } } - public virtual Azure.Response CreateCascadeDeleteJob(string jobId, string farmerId, string oauthProviderId, Azure.RequestOptions requestOptions = null) { throw null; } - public virtual System.Threading.Tasks.Task CreateCascadeDeleteJobAsync(string jobId, string farmerId, string oauthProviderId, Azure.RequestOptions requestOptions = null) { throw null; } - public virtual Azure.Response GetCascadeDeleteJobDetails(string jobId, Azure.RequestOptions requestOptions = null) { throw null; } - public virtual System.Threading.Tasks.Task GetCascadeDeleteJobDetailsAsync(string jobId, Azure.RequestOptions requestOptions = null) { throw null; } - public virtual Azure.Response GetOAuthConnectionLink(Azure.Core.RequestContent requestBody, Azure.RequestOptions requestOptions = null) { throw null; } - public virtual System.Threading.Tasks.Task GetOAuthConnectionLinkAsync(Azure.Core.RequestContent requestBody, Azure.RequestOptions requestOptions = null) { throw null; } - public virtual Azure.Response List(System.Collections.Generic.IEnumerable authProviderIds = null, System.Collections.Generic.IEnumerable farmerIds = null, bool? isValid = default(bool?), System.DateTimeOffset? minCreatedDateTime = default(System.DateTimeOffset?), System.DateTimeOffset? maxCreatedDateTime = default(System.DateTimeOffset?), System.DateTimeOffset? minLastModifiedDateTime = default(System.DateTimeOffset?), System.DateTimeOffset? maxLastModifiedDateTime = default(System.DateTimeOffset?), int? maxPageSize = default(int?), string skipToken = null, Azure.RequestOptions requestOptions = null) { throw null; } - public virtual System.Threading.Tasks.Task ListAsync(System.Collections.Generic.IEnumerable authProviderIds = null, System.Collections.Generic.IEnumerable farmerIds = null, bool? isValid = default(bool?), System.DateTimeOffset? minCreatedDateTime = default(System.DateTimeOffset?), System.DateTimeOffset? maxCreatedDateTime = default(System.DateTimeOffset?), System.DateTimeOffset? minLastModifiedDateTime = default(System.DateTimeOffset?), System.DateTimeOffset? maxLastModifiedDateTime = default(System.DateTimeOffset?), int? maxPageSize = default(int?), string skipToken = null, Azure.RequestOptions requestOptions = null) { throw null; } + public virtual Azure.Response CreateCascadeDeleteJob(string jobId, string farmerId, string oauthProviderId, Azure.RequestOptions options = null) { throw null; } + public virtual System.Threading.Tasks.Task CreateCascadeDeleteJobAsync(string jobId, string farmerId, string oauthProviderId, Azure.RequestOptions options = null) { throw null; } + public virtual Azure.Response GetCascadeDeleteJobDetails(string jobId, Azure.RequestOptions options = null) { throw null; } + public virtual System.Threading.Tasks.Task GetCascadeDeleteJobDetailsAsync(string jobId, Azure.RequestOptions options = null) { throw null; } + public virtual Azure.Response GetOAuthConnectionLink(Azure.Core.RequestContent content, Azure.RequestOptions options = null) { throw null; } + public virtual System.Threading.Tasks.Task GetOAuthConnectionLinkAsync(Azure.Core.RequestContent content, Azure.RequestOptions options = null) { throw null; } + public virtual Azure.Response List(System.Collections.Generic.IEnumerable authProviderIds = null, System.Collections.Generic.IEnumerable farmerIds = null, bool? isValid = default(bool?), System.DateTimeOffset? minCreatedDateTime = default(System.DateTimeOffset?), System.DateTimeOffset? maxCreatedDateTime = default(System.DateTimeOffset?), System.DateTimeOffset? minLastModifiedDateTime = default(System.DateTimeOffset?), System.DateTimeOffset? maxLastModifiedDateTime = default(System.DateTimeOffset?), int? maxPageSize = default(int?), string skipToken = null, Azure.RequestOptions options = null) { throw null; } + public virtual System.Threading.Tasks.Task ListAsync(System.Collections.Generic.IEnumerable authProviderIds = null, System.Collections.Generic.IEnumerable farmerIds = null, bool? isValid = default(bool?), System.DateTimeOffset? minCreatedDateTime = default(System.DateTimeOffset?), System.DateTimeOffset? maxCreatedDateTime = default(System.DateTimeOffset?), System.DateTimeOffset? minLastModifiedDateTime = default(System.DateTimeOffset?), System.DateTimeOffset? maxLastModifiedDateTime = default(System.DateTimeOffset?), int? maxPageSize = default(int?), string skipToken = null, Azure.RequestOptions options = null) { throw null; } } public partial class PlantingDataClient { protected PlantingDataClient() { } public PlantingDataClient(System.Uri endpoint, Azure.Core.TokenCredential credential, Azure.Verticals.AgriFood.Farming.FarmBeatsClientOptions options = null) { } public virtual Azure.Core.Pipeline.HttpPipeline Pipeline { get { throw null; } } - public virtual Azure.Response CreateOrUpdate(string farmerId, string plantingDataId, Azure.Core.RequestContent requestBody, Azure.RequestOptions requestOptions = null) { throw null; } - public virtual System.Threading.Tasks.Task CreateOrUpdateAsync(string farmerId, string plantingDataId, Azure.Core.RequestContent requestBody, Azure.RequestOptions requestOptions = null) { throw null; } - public virtual Azure.Response Delete(string farmerId, string plantingDataId, Azure.RequestOptions requestOptions = null) { throw null; } - public virtual System.Threading.Tasks.Task DeleteAsync(string farmerId, string plantingDataId, Azure.RequestOptions requestOptions = null) { throw null; } - public virtual Azure.Response Get(string farmerId, string plantingDataId, Azure.RequestOptions requestOptions = null) { throw null; } - public virtual System.Threading.Tasks.Task GetAsync(string farmerId, string plantingDataId, Azure.RequestOptions requestOptions = null) { throw null; } - public virtual Azure.Response List(double? minAvgPlantingRate = default(double?), double? maxAvgPlantingRate = default(double?), double? minTotalMaterial = default(double?), double? maxTotalMaterial = default(double?), double? minAvgMaterial = default(double?), double? maxAvgMaterial = default(double?), System.Collections.Generic.IEnumerable sources = null, System.Collections.Generic.IEnumerable associatedBoundaryIds = null, System.Collections.Generic.IEnumerable operationBoundaryIds = null, System.DateTimeOffset? minOperationStartDateTime = default(System.DateTimeOffset?), System.DateTimeOffset? maxOperationStartDateTime = default(System.DateTimeOffset?), System.DateTimeOffset? minOperationEndDateTime = default(System.DateTimeOffset?), System.DateTimeOffset? maxOperationEndDateTime = default(System.DateTimeOffset?), System.DateTimeOffset? minOperationModifiedDateTime = default(System.DateTimeOffset?), System.DateTimeOffset? maxOperationModifiedDateTime = default(System.DateTimeOffset?), double? minArea = default(double?), double? maxArea = default(double?), System.Collections.Generic.IEnumerable ids = null, System.Collections.Generic.IEnumerable names = null, System.Collections.Generic.IEnumerable propertyFilters = null, System.Collections.Generic.IEnumerable statuses = null, System.DateTimeOffset? minCreatedDateTime = default(System.DateTimeOffset?), System.DateTimeOffset? maxCreatedDateTime = default(System.DateTimeOffset?), System.DateTimeOffset? minLastModifiedDateTime = default(System.DateTimeOffset?), System.DateTimeOffset? maxLastModifiedDateTime = default(System.DateTimeOffset?), int? maxPageSize = default(int?), string skipToken = null, Azure.RequestOptions requestOptions = null) { throw null; } - public virtual System.Threading.Tasks.Task ListAsync(double? minAvgPlantingRate = default(double?), double? maxAvgPlantingRate = default(double?), double? minTotalMaterial = default(double?), double? maxTotalMaterial = default(double?), double? minAvgMaterial = default(double?), double? maxAvgMaterial = default(double?), System.Collections.Generic.IEnumerable sources = null, System.Collections.Generic.IEnumerable associatedBoundaryIds = null, System.Collections.Generic.IEnumerable operationBoundaryIds = null, System.DateTimeOffset? minOperationStartDateTime = default(System.DateTimeOffset?), System.DateTimeOffset? maxOperationStartDateTime = default(System.DateTimeOffset?), System.DateTimeOffset? minOperationEndDateTime = default(System.DateTimeOffset?), System.DateTimeOffset? maxOperationEndDateTime = default(System.DateTimeOffset?), System.DateTimeOffset? minOperationModifiedDateTime = default(System.DateTimeOffset?), System.DateTimeOffset? maxOperationModifiedDateTime = default(System.DateTimeOffset?), double? minArea = default(double?), double? maxArea = default(double?), System.Collections.Generic.IEnumerable ids = null, System.Collections.Generic.IEnumerable names = null, System.Collections.Generic.IEnumerable propertyFilters = null, System.Collections.Generic.IEnumerable statuses = null, System.DateTimeOffset? minCreatedDateTime = default(System.DateTimeOffset?), System.DateTimeOffset? maxCreatedDateTime = default(System.DateTimeOffset?), System.DateTimeOffset? minLastModifiedDateTime = default(System.DateTimeOffset?), System.DateTimeOffset? maxLastModifiedDateTime = default(System.DateTimeOffset?), int? maxPageSize = default(int?), string skipToken = null, Azure.RequestOptions requestOptions = null) { throw null; } - public virtual Azure.Response ListByFarmerId(string farmerId, double? minAvgPlantingRate = default(double?), double? maxAvgPlantingRate = default(double?), double? minTotalMaterial = default(double?), double? maxTotalMaterial = default(double?), double? minAvgMaterial = default(double?), double? maxAvgMaterial = default(double?), System.Collections.Generic.IEnumerable sources = null, System.Collections.Generic.IEnumerable associatedBoundaryIds = null, System.Collections.Generic.IEnumerable operationBoundaryIds = null, System.DateTimeOffset? minOperationStartDateTime = default(System.DateTimeOffset?), System.DateTimeOffset? maxOperationStartDateTime = default(System.DateTimeOffset?), System.DateTimeOffset? minOperationEndDateTime = default(System.DateTimeOffset?), System.DateTimeOffset? maxOperationEndDateTime = default(System.DateTimeOffset?), System.DateTimeOffset? minOperationModifiedDateTime = default(System.DateTimeOffset?), System.DateTimeOffset? maxOperationModifiedDateTime = default(System.DateTimeOffset?), double? minArea = default(double?), double? maxArea = default(double?), System.Collections.Generic.IEnumerable ids = null, System.Collections.Generic.IEnumerable names = null, System.Collections.Generic.IEnumerable propertyFilters = null, System.Collections.Generic.IEnumerable statuses = null, System.DateTimeOffset? minCreatedDateTime = default(System.DateTimeOffset?), System.DateTimeOffset? maxCreatedDateTime = default(System.DateTimeOffset?), System.DateTimeOffset? minLastModifiedDateTime = default(System.DateTimeOffset?), System.DateTimeOffset? maxLastModifiedDateTime = default(System.DateTimeOffset?), int? maxPageSize = default(int?), string skipToken = null, Azure.RequestOptions requestOptions = null) { throw null; } - public virtual System.Threading.Tasks.Task ListByFarmerIdAsync(string farmerId, double? minAvgPlantingRate = default(double?), double? maxAvgPlantingRate = default(double?), double? minTotalMaterial = default(double?), double? maxTotalMaterial = default(double?), double? minAvgMaterial = default(double?), double? maxAvgMaterial = default(double?), System.Collections.Generic.IEnumerable sources = null, System.Collections.Generic.IEnumerable associatedBoundaryIds = null, System.Collections.Generic.IEnumerable operationBoundaryIds = null, System.DateTimeOffset? minOperationStartDateTime = default(System.DateTimeOffset?), System.DateTimeOffset? maxOperationStartDateTime = default(System.DateTimeOffset?), System.DateTimeOffset? minOperationEndDateTime = default(System.DateTimeOffset?), System.DateTimeOffset? maxOperationEndDateTime = default(System.DateTimeOffset?), System.DateTimeOffset? minOperationModifiedDateTime = default(System.DateTimeOffset?), System.DateTimeOffset? maxOperationModifiedDateTime = default(System.DateTimeOffset?), double? minArea = default(double?), double? maxArea = default(double?), System.Collections.Generic.IEnumerable ids = null, System.Collections.Generic.IEnumerable names = null, System.Collections.Generic.IEnumerable propertyFilters = null, System.Collections.Generic.IEnumerable statuses = null, System.DateTimeOffset? minCreatedDateTime = default(System.DateTimeOffset?), System.DateTimeOffset? maxCreatedDateTime = default(System.DateTimeOffset?), System.DateTimeOffset? minLastModifiedDateTime = default(System.DateTimeOffset?), System.DateTimeOffset? maxLastModifiedDateTime = default(System.DateTimeOffset?), int? maxPageSize = default(int?), string skipToken = null, Azure.RequestOptions requestOptions = null) { throw null; } + public virtual Azure.Response CreateOrUpdate(string farmerId, string plantingDataId, Azure.Core.RequestContent content, Azure.RequestOptions options = null) { throw null; } + public virtual System.Threading.Tasks.Task CreateOrUpdateAsync(string farmerId, string plantingDataId, Azure.Core.RequestContent content, Azure.RequestOptions options = null) { throw null; } + public virtual Azure.Response Delete(string farmerId, string plantingDataId, Azure.RequestOptions options = null) { throw null; } + public virtual System.Threading.Tasks.Task DeleteAsync(string farmerId, string plantingDataId, Azure.RequestOptions options = null) { throw null; } + public virtual Azure.Response Get(string farmerId, string plantingDataId, Azure.RequestOptions options = null) { throw null; } + public virtual System.Threading.Tasks.Task GetAsync(string farmerId, string plantingDataId, Azure.RequestOptions options = null) { throw null; } + public virtual Azure.Response List(double? minAvgPlantingRate = default(double?), double? maxAvgPlantingRate = default(double?), double? minTotalMaterial = default(double?), double? maxTotalMaterial = default(double?), double? minAvgMaterial = default(double?), double? maxAvgMaterial = default(double?), System.Collections.Generic.IEnumerable sources = null, System.Collections.Generic.IEnumerable associatedBoundaryIds = null, System.Collections.Generic.IEnumerable operationBoundaryIds = null, System.DateTimeOffset? minOperationStartDateTime = default(System.DateTimeOffset?), System.DateTimeOffset? maxOperationStartDateTime = default(System.DateTimeOffset?), System.DateTimeOffset? minOperationEndDateTime = default(System.DateTimeOffset?), System.DateTimeOffset? maxOperationEndDateTime = default(System.DateTimeOffset?), System.DateTimeOffset? minOperationModifiedDateTime = default(System.DateTimeOffset?), System.DateTimeOffset? maxOperationModifiedDateTime = default(System.DateTimeOffset?), double? minArea = default(double?), double? maxArea = default(double?), System.Collections.Generic.IEnumerable ids = null, System.Collections.Generic.IEnumerable names = null, System.Collections.Generic.IEnumerable propertyFilters = null, System.Collections.Generic.IEnumerable statuses = null, System.DateTimeOffset? minCreatedDateTime = default(System.DateTimeOffset?), System.DateTimeOffset? maxCreatedDateTime = default(System.DateTimeOffset?), System.DateTimeOffset? minLastModifiedDateTime = default(System.DateTimeOffset?), System.DateTimeOffset? maxLastModifiedDateTime = default(System.DateTimeOffset?), int? maxPageSize = default(int?), string skipToken = null, Azure.RequestOptions options = null) { throw null; } + public virtual System.Threading.Tasks.Task ListAsync(double? minAvgPlantingRate = default(double?), double? maxAvgPlantingRate = default(double?), double? minTotalMaterial = default(double?), double? maxTotalMaterial = default(double?), double? minAvgMaterial = default(double?), double? maxAvgMaterial = default(double?), System.Collections.Generic.IEnumerable sources = null, System.Collections.Generic.IEnumerable associatedBoundaryIds = null, System.Collections.Generic.IEnumerable operationBoundaryIds = null, System.DateTimeOffset? minOperationStartDateTime = default(System.DateTimeOffset?), System.DateTimeOffset? maxOperationStartDateTime = default(System.DateTimeOffset?), System.DateTimeOffset? minOperationEndDateTime = default(System.DateTimeOffset?), System.DateTimeOffset? maxOperationEndDateTime = default(System.DateTimeOffset?), System.DateTimeOffset? minOperationModifiedDateTime = default(System.DateTimeOffset?), System.DateTimeOffset? maxOperationModifiedDateTime = default(System.DateTimeOffset?), double? minArea = default(double?), double? maxArea = default(double?), System.Collections.Generic.IEnumerable ids = null, System.Collections.Generic.IEnumerable names = null, System.Collections.Generic.IEnumerable propertyFilters = null, System.Collections.Generic.IEnumerable statuses = null, System.DateTimeOffset? minCreatedDateTime = default(System.DateTimeOffset?), System.DateTimeOffset? maxCreatedDateTime = default(System.DateTimeOffset?), System.DateTimeOffset? minLastModifiedDateTime = default(System.DateTimeOffset?), System.DateTimeOffset? maxLastModifiedDateTime = default(System.DateTimeOffset?), int? maxPageSize = default(int?), string skipToken = null, Azure.RequestOptions options = null) { throw null; } + public virtual Azure.Response ListByFarmerId(string farmerId, double? minAvgPlantingRate = default(double?), double? maxAvgPlantingRate = default(double?), double? minTotalMaterial = default(double?), double? maxTotalMaterial = default(double?), double? minAvgMaterial = default(double?), double? maxAvgMaterial = default(double?), System.Collections.Generic.IEnumerable sources = null, System.Collections.Generic.IEnumerable associatedBoundaryIds = null, System.Collections.Generic.IEnumerable operationBoundaryIds = null, System.DateTimeOffset? minOperationStartDateTime = default(System.DateTimeOffset?), System.DateTimeOffset? maxOperationStartDateTime = default(System.DateTimeOffset?), System.DateTimeOffset? minOperationEndDateTime = default(System.DateTimeOffset?), System.DateTimeOffset? maxOperationEndDateTime = default(System.DateTimeOffset?), System.DateTimeOffset? minOperationModifiedDateTime = default(System.DateTimeOffset?), System.DateTimeOffset? maxOperationModifiedDateTime = default(System.DateTimeOffset?), double? minArea = default(double?), double? maxArea = default(double?), System.Collections.Generic.IEnumerable ids = null, System.Collections.Generic.IEnumerable names = null, System.Collections.Generic.IEnumerable propertyFilters = null, System.Collections.Generic.IEnumerable statuses = null, System.DateTimeOffset? minCreatedDateTime = default(System.DateTimeOffset?), System.DateTimeOffset? maxCreatedDateTime = default(System.DateTimeOffset?), System.DateTimeOffset? minLastModifiedDateTime = default(System.DateTimeOffset?), System.DateTimeOffset? maxLastModifiedDateTime = default(System.DateTimeOffset?), int? maxPageSize = default(int?), string skipToken = null, Azure.RequestOptions options = null) { throw null; } + public virtual System.Threading.Tasks.Task ListByFarmerIdAsync(string farmerId, double? minAvgPlantingRate = default(double?), double? maxAvgPlantingRate = default(double?), double? minTotalMaterial = default(double?), double? maxTotalMaterial = default(double?), double? minAvgMaterial = default(double?), double? maxAvgMaterial = default(double?), System.Collections.Generic.IEnumerable sources = null, System.Collections.Generic.IEnumerable associatedBoundaryIds = null, System.Collections.Generic.IEnumerable operationBoundaryIds = null, System.DateTimeOffset? minOperationStartDateTime = default(System.DateTimeOffset?), System.DateTimeOffset? maxOperationStartDateTime = default(System.DateTimeOffset?), System.DateTimeOffset? minOperationEndDateTime = default(System.DateTimeOffset?), System.DateTimeOffset? maxOperationEndDateTime = default(System.DateTimeOffset?), System.DateTimeOffset? minOperationModifiedDateTime = default(System.DateTimeOffset?), System.DateTimeOffset? maxOperationModifiedDateTime = default(System.DateTimeOffset?), double? minArea = default(double?), double? maxArea = default(double?), System.Collections.Generic.IEnumerable ids = null, System.Collections.Generic.IEnumerable names = null, System.Collections.Generic.IEnumerable propertyFilters = null, System.Collections.Generic.IEnumerable statuses = null, System.DateTimeOffset? minCreatedDateTime = default(System.DateTimeOffset?), System.DateTimeOffset? maxCreatedDateTime = default(System.DateTimeOffset?), System.DateTimeOffset? minLastModifiedDateTime = default(System.DateTimeOffset?), System.DateTimeOffset? maxLastModifiedDateTime = default(System.DateTimeOffset?), int? maxPageSize = default(int?), string skipToken = null, Azure.RequestOptions options = null) { throw null; } } public partial class ScenesClient { protected ScenesClient() { } public ScenesClient(System.Uri endpoint, Azure.Core.TokenCredential credential, Azure.Verticals.AgriFood.Farming.FarmBeatsClientOptions options = null) { } public virtual Azure.Core.Pipeline.HttpPipeline Pipeline { get { throw null; } } - public virtual Azure.Response CreateSatelliteDataIngestionJob(string jobId, Azure.Core.RequestContent requestBody, Azure.RequestOptions requestOptions = null) { throw null; } - public virtual System.Threading.Tasks.Task CreateSatelliteDataIngestionJobAsync(string jobId, Azure.Core.RequestContent requestBody, Azure.RequestOptions requestOptions = null) { throw null; } - public virtual Azure.Response Download(string filePath, Azure.RequestOptions requestOptions = null) { throw null; } - public virtual System.Threading.Tasks.Task DownloadAsync(string filePath, Azure.RequestOptions requestOptions = null) { throw null; } - public virtual Azure.Response GetSatelliteDataIngestionJobDetails(string jobId, Azure.RequestOptions requestOptions = null) { throw null; } - public virtual System.Threading.Tasks.Task GetSatelliteDataIngestionJobDetailsAsync(string jobId, Azure.RequestOptions requestOptions = null) { throw null; } - public virtual Azure.Response List(string provider, string farmerId, string boundaryId, string source = null, System.DateTimeOffset? startDateTime = default(System.DateTimeOffset?), System.DateTimeOffset? endDateTime = default(System.DateTimeOffset?), double? maxCloudCoveragePercentage = default(double?), double? maxDarkPixelCoveragePercentage = default(double?), System.Collections.Generic.IEnumerable imageNames = null, System.Collections.Generic.IEnumerable imageResolutions = null, System.Collections.Generic.IEnumerable imageFormats = null, int? maxPageSize = default(int?), string skipToken = null, Azure.RequestOptions requestOptions = null) { throw null; } - public virtual System.Threading.Tasks.Task ListAsync(string provider, string farmerId, string boundaryId, string source = null, System.DateTimeOffset? startDateTime = default(System.DateTimeOffset?), System.DateTimeOffset? endDateTime = default(System.DateTimeOffset?), double? maxCloudCoveragePercentage = default(double?), double? maxDarkPixelCoveragePercentage = default(double?), System.Collections.Generic.IEnumerable imageNames = null, System.Collections.Generic.IEnumerable imageResolutions = null, System.Collections.Generic.IEnumerable imageFormats = null, int? maxPageSize = default(int?), string skipToken = null, Azure.RequestOptions requestOptions = null) { throw null; } + public virtual Azure.Response CreateSatelliteDataIngestionJob(string jobId, Azure.Core.RequestContent content, Azure.RequestOptions options = null) { throw null; } + public virtual System.Threading.Tasks.Task CreateSatelliteDataIngestionJobAsync(string jobId, Azure.Core.RequestContent content, Azure.RequestOptions options = null) { throw null; } + public virtual Azure.Response Download(string filePath, Azure.RequestOptions options = null) { throw null; } + public virtual System.Threading.Tasks.Task DownloadAsync(string filePath, Azure.RequestOptions options = null) { throw null; } + public virtual Azure.Response GetSatelliteDataIngestionJobDetails(string jobId, Azure.RequestOptions options = null) { throw null; } + public virtual System.Threading.Tasks.Task GetSatelliteDataIngestionJobDetailsAsync(string jobId, Azure.RequestOptions options = null) { throw null; } + public virtual Azure.Response List(string provider, string farmerId, string boundaryId, string source = null, System.DateTimeOffset? startDateTime = default(System.DateTimeOffset?), System.DateTimeOffset? endDateTime = default(System.DateTimeOffset?), double? maxCloudCoveragePercentage = default(double?), double? maxDarkPixelCoveragePercentage = default(double?), System.Collections.Generic.IEnumerable imageNames = null, System.Collections.Generic.IEnumerable imageResolutions = null, System.Collections.Generic.IEnumerable imageFormats = null, int? maxPageSize = default(int?), string skipToken = null, Azure.RequestOptions options = null) { throw null; } + public virtual System.Threading.Tasks.Task ListAsync(string provider, string farmerId, string boundaryId, string source = null, System.DateTimeOffset? startDateTime = default(System.DateTimeOffset?), System.DateTimeOffset? endDateTime = default(System.DateTimeOffset?), double? maxCloudCoveragePercentage = default(double?), double? maxDarkPixelCoveragePercentage = default(double?), System.Collections.Generic.IEnumerable imageNames = null, System.Collections.Generic.IEnumerable imageResolutions = null, System.Collections.Generic.IEnumerable imageFormats = null, int? maxPageSize = default(int?), string skipToken = null, Azure.RequestOptions options = null) { throw null; } } public partial class SeasonalFieldsClient { protected SeasonalFieldsClient() { } public SeasonalFieldsClient(System.Uri endpoint, Azure.Core.TokenCredential credential, Azure.Verticals.AgriFood.Farming.FarmBeatsClientOptions options = null) { } public virtual Azure.Core.Pipeline.HttpPipeline Pipeline { get { throw null; } } - public virtual Azure.Response CreateCascadeDeleteJob(string jobId, string farmerId, string seasonalFieldId, Azure.RequestOptions requestOptions = null) { throw null; } - public virtual System.Threading.Tasks.Task CreateCascadeDeleteJobAsync(string jobId, string farmerId, string seasonalFieldId, Azure.RequestOptions requestOptions = null) { throw null; } - public virtual Azure.Response CreateOrUpdate(string farmerId, string seasonalFieldId, Azure.Core.RequestContent requestBody, Azure.RequestOptions requestOptions = null) { throw null; } - public virtual System.Threading.Tasks.Task CreateOrUpdateAsync(string farmerId, string seasonalFieldId, Azure.Core.RequestContent requestBody, Azure.RequestOptions requestOptions = null) { throw null; } - public virtual Azure.Response Delete(string farmerId, string seasonalFieldId, Azure.RequestOptions requestOptions = null) { throw null; } - public virtual System.Threading.Tasks.Task DeleteAsync(string farmerId, string seasonalFieldId, Azure.RequestOptions requestOptions = null) { throw null; } - public virtual Azure.Response Get(string farmerId, string seasonalFieldId, Azure.RequestOptions requestOptions = null) { throw null; } - public virtual System.Threading.Tasks.Task GetAsync(string farmerId, string seasonalFieldId, Azure.RequestOptions requestOptions = null) { throw null; } - public virtual Azure.Response GetCascadeDeleteJobDetails(string jobId, Azure.RequestOptions requestOptions = null) { throw null; } - public virtual System.Threading.Tasks.Task GetCascadeDeleteJobDetailsAsync(string jobId, Azure.RequestOptions requestOptions = null) { throw null; } - public virtual Azure.Response List(System.Collections.Generic.IEnumerable farmIds = null, System.Collections.Generic.IEnumerable fieldIds = null, System.Collections.Generic.IEnumerable seasonIds = null, System.Collections.Generic.IEnumerable cropVarietyIds = null, System.Collections.Generic.IEnumerable cropIds = null, double? minAvgYieldValue = default(double?), double? maxAvgYieldValue = default(double?), string avgYieldUnit = null, double? minAvgSeedPopulationValue = default(double?), double? maxAvgSeedPopulationValue = default(double?), string avgSeedPopulationUnit = null, System.DateTimeOffset? minPlantingDateTime = default(System.DateTimeOffset?), System.DateTimeOffset? maxPlantingDateTime = default(System.DateTimeOffset?), System.Collections.Generic.IEnumerable ids = null, System.Collections.Generic.IEnumerable names = null, System.Collections.Generic.IEnumerable propertyFilters = null, System.Collections.Generic.IEnumerable statuses = null, System.DateTimeOffset? minCreatedDateTime = default(System.DateTimeOffset?), System.DateTimeOffset? maxCreatedDateTime = default(System.DateTimeOffset?), System.DateTimeOffset? minLastModifiedDateTime = default(System.DateTimeOffset?), System.DateTimeOffset? maxLastModifiedDateTime = default(System.DateTimeOffset?), int? maxPageSize = default(int?), string skipToken = null, Azure.RequestOptions requestOptions = null) { throw null; } - public virtual System.Threading.Tasks.Task ListAsync(System.Collections.Generic.IEnumerable farmIds = null, System.Collections.Generic.IEnumerable fieldIds = null, System.Collections.Generic.IEnumerable seasonIds = null, System.Collections.Generic.IEnumerable cropVarietyIds = null, System.Collections.Generic.IEnumerable cropIds = null, double? minAvgYieldValue = default(double?), double? maxAvgYieldValue = default(double?), string avgYieldUnit = null, double? minAvgSeedPopulationValue = default(double?), double? maxAvgSeedPopulationValue = default(double?), string avgSeedPopulationUnit = null, System.DateTimeOffset? minPlantingDateTime = default(System.DateTimeOffset?), System.DateTimeOffset? maxPlantingDateTime = default(System.DateTimeOffset?), System.Collections.Generic.IEnumerable ids = null, System.Collections.Generic.IEnumerable names = null, System.Collections.Generic.IEnumerable propertyFilters = null, System.Collections.Generic.IEnumerable statuses = null, System.DateTimeOffset? minCreatedDateTime = default(System.DateTimeOffset?), System.DateTimeOffset? maxCreatedDateTime = default(System.DateTimeOffset?), System.DateTimeOffset? minLastModifiedDateTime = default(System.DateTimeOffset?), System.DateTimeOffset? maxLastModifiedDateTime = default(System.DateTimeOffset?), int? maxPageSize = default(int?), string skipToken = null, Azure.RequestOptions requestOptions = null) { throw null; } - public virtual Azure.Response ListByFarmerId(string farmerId, System.Collections.Generic.IEnumerable farmIds = null, System.Collections.Generic.IEnumerable fieldIds = null, System.Collections.Generic.IEnumerable seasonIds = null, System.Collections.Generic.IEnumerable cropVarietyIds = null, System.Collections.Generic.IEnumerable cropIds = null, double? minAvgYieldValue = default(double?), double? maxAvgYieldValue = default(double?), string avgYieldUnit = null, double? minAvgSeedPopulationValue = default(double?), double? maxAvgSeedPopulationValue = default(double?), string avgSeedPopulationUnit = null, System.DateTimeOffset? minPlantingDateTime = default(System.DateTimeOffset?), System.DateTimeOffset? maxPlantingDateTime = default(System.DateTimeOffset?), System.Collections.Generic.IEnumerable ids = null, System.Collections.Generic.IEnumerable names = null, System.Collections.Generic.IEnumerable propertyFilters = null, System.Collections.Generic.IEnumerable statuses = null, System.DateTimeOffset? minCreatedDateTime = default(System.DateTimeOffset?), System.DateTimeOffset? maxCreatedDateTime = default(System.DateTimeOffset?), System.DateTimeOffset? minLastModifiedDateTime = default(System.DateTimeOffset?), System.DateTimeOffset? maxLastModifiedDateTime = default(System.DateTimeOffset?), int? maxPageSize = default(int?), string skipToken = null, Azure.RequestOptions requestOptions = null) { throw null; } - public virtual System.Threading.Tasks.Task ListByFarmerIdAsync(string farmerId, System.Collections.Generic.IEnumerable farmIds = null, System.Collections.Generic.IEnumerable fieldIds = null, System.Collections.Generic.IEnumerable seasonIds = null, System.Collections.Generic.IEnumerable cropVarietyIds = null, System.Collections.Generic.IEnumerable cropIds = null, double? minAvgYieldValue = default(double?), double? maxAvgYieldValue = default(double?), string avgYieldUnit = null, double? minAvgSeedPopulationValue = default(double?), double? maxAvgSeedPopulationValue = default(double?), string avgSeedPopulationUnit = null, System.DateTimeOffset? minPlantingDateTime = default(System.DateTimeOffset?), System.DateTimeOffset? maxPlantingDateTime = default(System.DateTimeOffset?), System.Collections.Generic.IEnumerable ids = null, System.Collections.Generic.IEnumerable names = null, System.Collections.Generic.IEnumerable propertyFilters = null, System.Collections.Generic.IEnumerable statuses = null, System.DateTimeOffset? minCreatedDateTime = default(System.DateTimeOffset?), System.DateTimeOffset? maxCreatedDateTime = default(System.DateTimeOffset?), System.DateTimeOffset? minLastModifiedDateTime = default(System.DateTimeOffset?), System.DateTimeOffset? maxLastModifiedDateTime = default(System.DateTimeOffset?), int? maxPageSize = default(int?), string skipToken = null, Azure.RequestOptions requestOptions = null) { throw null; } + public virtual Azure.Response CreateCascadeDeleteJob(string jobId, string farmerId, string seasonalFieldId, Azure.RequestOptions options = null) { throw null; } + public virtual System.Threading.Tasks.Task CreateCascadeDeleteJobAsync(string jobId, string farmerId, string seasonalFieldId, Azure.RequestOptions options = null) { throw null; } + public virtual Azure.Response CreateOrUpdate(string farmerId, string seasonalFieldId, Azure.Core.RequestContent content, Azure.RequestOptions options = null) { throw null; } + public virtual System.Threading.Tasks.Task CreateOrUpdateAsync(string farmerId, string seasonalFieldId, Azure.Core.RequestContent content, Azure.RequestOptions options = null) { throw null; } + public virtual Azure.Response Delete(string farmerId, string seasonalFieldId, Azure.RequestOptions options = null) { throw null; } + public virtual System.Threading.Tasks.Task DeleteAsync(string farmerId, string seasonalFieldId, Azure.RequestOptions options = null) { throw null; } + public virtual Azure.Response Get(string farmerId, string seasonalFieldId, Azure.RequestOptions options = null) { throw null; } + public virtual System.Threading.Tasks.Task GetAsync(string farmerId, string seasonalFieldId, Azure.RequestOptions options = null) { throw null; } + public virtual Azure.Response GetCascadeDeleteJobDetails(string jobId, Azure.RequestOptions options = null) { throw null; } + public virtual System.Threading.Tasks.Task GetCascadeDeleteJobDetailsAsync(string jobId, Azure.RequestOptions options = null) { throw null; } + public virtual Azure.Response List(System.Collections.Generic.IEnumerable farmIds = null, System.Collections.Generic.IEnumerable fieldIds = null, System.Collections.Generic.IEnumerable seasonIds = null, System.Collections.Generic.IEnumerable cropVarietyIds = null, System.Collections.Generic.IEnumerable cropIds = null, double? minAvgYieldValue = default(double?), double? maxAvgYieldValue = default(double?), string avgYieldUnit = null, double? minAvgSeedPopulationValue = default(double?), double? maxAvgSeedPopulationValue = default(double?), string avgSeedPopulationUnit = null, System.DateTimeOffset? minPlantingDateTime = default(System.DateTimeOffset?), System.DateTimeOffset? maxPlantingDateTime = default(System.DateTimeOffset?), System.Collections.Generic.IEnumerable ids = null, System.Collections.Generic.IEnumerable names = null, System.Collections.Generic.IEnumerable propertyFilters = null, System.Collections.Generic.IEnumerable statuses = null, System.DateTimeOffset? minCreatedDateTime = default(System.DateTimeOffset?), System.DateTimeOffset? maxCreatedDateTime = default(System.DateTimeOffset?), System.DateTimeOffset? minLastModifiedDateTime = default(System.DateTimeOffset?), System.DateTimeOffset? maxLastModifiedDateTime = default(System.DateTimeOffset?), int? maxPageSize = default(int?), string skipToken = null, Azure.RequestOptions options = null) { throw null; } + public virtual System.Threading.Tasks.Task ListAsync(System.Collections.Generic.IEnumerable farmIds = null, System.Collections.Generic.IEnumerable fieldIds = null, System.Collections.Generic.IEnumerable seasonIds = null, System.Collections.Generic.IEnumerable cropVarietyIds = null, System.Collections.Generic.IEnumerable cropIds = null, double? minAvgYieldValue = default(double?), double? maxAvgYieldValue = default(double?), string avgYieldUnit = null, double? minAvgSeedPopulationValue = default(double?), double? maxAvgSeedPopulationValue = default(double?), string avgSeedPopulationUnit = null, System.DateTimeOffset? minPlantingDateTime = default(System.DateTimeOffset?), System.DateTimeOffset? maxPlantingDateTime = default(System.DateTimeOffset?), System.Collections.Generic.IEnumerable ids = null, System.Collections.Generic.IEnumerable names = null, System.Collections.Generic.IEnumerable propertyFilters = null, System.Collections.Generic.IEnumerable statuses = null, System.DateTimeOffset? minCreatedDateTime = default(System.DateTimeOffset?), System.DateTimeOffset? maxCreatedDateTime = default(System.DateTimeOffset?), System.DateTimeOffset? minLastModifiedDateTime = default(System.DateTimeOffset?), System.DateTimeOffset? maxLastModifiedDateTime = default(System.DateTimeOffset?), int? maxPageSize = default(int?), string skipToken = null, Azure.RequestOptions options = null) { throw null; } + public virtual Azure.Response ListByFarmerId(string farmerId, System.Collections.Generic.IEnumerable farmIds = null, System.Collections.Generic.IEnumerable fieldIds = null, System.Collections.Generic.IEnumerable seasonIds = null, System.Collections.Generic.IEnumerable cropVarietyIds = null, System.Collections.Generic.IEnumerable cropIds = null, double? minAvgYieldValue = default(double?), double? maxAvgYieldValue = default(double?), string avgYieldUnit = null, double? minAvgSeedPopulationValue = default(double?), double? maxAvgSeedPopulationValue = default(double?), string avgSeedPopulationUnit = null, System.DateTimeOffset? minPlantingDateTime = default(System.DateTimeOffset?), System.DateTimeOffset? maxPlantingDateTime = default(System.DateTimeOffset?), System.Collections.Generic.IEnumerable ids = null, System.Collections.Generic.IEnumerable names = null, System.Collections.Generic.IEnumerable propertyFilters = null, System.Collections.Generic.IEnumerable statuses = null, System.DateTimeOffset? minCreatedDateTime = default(System.DateTimeOffset?), System.DateTimeOffset? maxCreatedDateTime = default(System.DateTimeOffset?), System.DateTimeOffset? minLastModifiedDateTime = default(System.DateTimeOffset?), System.DateTimeOffset? maxLastModifiedDateTime = default(System.DateTimeOffset?), int? maxPageSize = default(int?), string skipToken = null, Azure.RequestOptions options = null) { throw null; } + public virtual System.Threading.Tasks.Task ListByFarmerIdAsync(string farmerId, System.Collections.Generic.IEnumerable farmIds = null, System.Collections.Generic.IEnumerable fieldIds = null, System.Collections.Generic.IEnumerable seasonIds = null, System.Collections.Generic.IEnumerable cropVarietyIds = null, System.Collections.Generic.IEnumerable cropIds = null, double? minAvgYieldValue = default(double?), double? maxAvgYieldValue = default(double?), string avgYieldUnit = null, double? minAvgSeedPopulationValue = default(double?), double? maxAvgSeedPopulationValue = default(double?), string avgSeedPopulationUnit = null, System.DateTimeOffset? minPlantingDateTime = default(System.DateTimeOffset?), System.DateTimeOffset? maxPlantingDateTime = default(System.DateTimeOffset?), System.Collections.Generic.IEnumerable ids = null, System.Collections.Generic.IEnumerable names = null, System.Collections.Generic.IEnumerable propertyFilters = null, System.Collections.Generic.IEnumerable statuses = null, System.DateTimeOffset? minCreatedDateTime = default(System.DateTimeOffset?), System.DateTimeOffset? maxCreatedDateTime = default(System.DateTimeOffset?), System.DateTimeOffset? minLastModifiedDateTime = default(System.DateTimeOffset?), System.DateTimeOffset? maxLastModifiedDateTime = default(System.DateTimeOffset?), int? maxPageSize = default(int?), string skipToken = null, Azure.RequestOptions options = null) { throw null; } } public partial class SeasonsClient { protected SeasonsClient() { } public SeasonsClient(System.Uri endpoint, Azure.Core.TokenCredential credential, Azure.Verticals.AgriFood.Farming.FarmBeatsClientOptions options = null) { } public virtual Azure.Core.Pipeline.HttpPipeline Pipeline { get { throw null; } } - public virtual Azure.Response CreateOrUpdate(string seasonId, Azure.Core.RequestContent requestBody, Azure.RequestOptions requestOptions = null) { throw null; } - public virtual System.Threading.Tasks.Task CreateOrUpdateAsync(string seasonId, Azure.Core.RequestContent requestBody, Azure.RequestOptions requestOptions = null) { throw null; } - public virtual Azure.Response Delete(string seasonId, Azure.RequestOptions requestOptions = null) { throw null; } - public virtual System.Threading.Tasks.Task DeleteAsync(string seasonId, Azure.RequestOptions requestOptions = null) { throw null; } - public virtual Azure.Response Get(string seasonId, Azure.RequestOptions requestOptions = null) { throw null; } - public virtual System.Threading.Tasks.Task GetAsync(string seasonId, Azure.RequestOptions requestOptions = null) { throw null; } - public virtual Azure.Response List(System.DateTimeOffset? minStartDateTime = default(System.DateTimeOffset?), System.DateTimeOffset? maxStartDateTime = default(System.DateTimeOffset?), System.DateTimeOffset? minEndDateTime = default(System.DateTimeOffset?), System.DateTimeOffset? maxEndDateTime = default(System.DateTimeOffset?), System.Collections.Generic.IEnumerable years = null, System.Collections.Generic.IEnumerable ids = null, System.Collections.Generic.IEnumerable names = null, System.Collections.Generic.IEnumerable propertyFilters = null, System.Collections.Generic.IEnumerable statuses = null, System.DateTimeOffset? minCreatedDateTime = default(System.DateTimeOffset?), System.DateTimeOffset? maxCreatedDateTime = default(System.DateTimeOffset?), System.DateTimeOffset? minLastModifiedDateTime = default(System.DateTimeOffset?), System.DateTimeOffset? maxLastModifiedDateTime = default(System.DateTimeOffset?), int? maxPageSize = default(int?), string skipToken = null, Azure.RequestOptions requestOptions = null) { throw null; } - public virtual System.Threading.Tasks.Task ListAsync(System.DateTimeOffset? minStartDateTime = default(System.DateTimeOffset?), System.DateTimeOffset? maxStartDateTime = default(System.DateTimeOffset?), System.DateTimeOffset? minEndDateTime = default(System.DateTimeOffset?), System.DateTimeOffset? maxEndDateTime = default(System.DateTimeOffset?), System.Collections.Generic.IEnumerable years = null, System.Collections.Generic.IEnumerable ids = null, System.Collections.Generic.IEnumerable names = null, System.Collections.Generic.IEnumerable propertyFilters = null, System.Collections.Generic.IEnumerable statuses = null, System.DateTimeOffset? minCreatedDateTime = default(System.DateTimeOffset?), System.DateTimeOffset? maxCreatedDateTime = default(System.DateTimeOffset?), System.DateTimeOffset? minLastModifiedDateTime = default(System.DateTimeOffset?), System.DateTimeOffset? maxLastModifiedDateTime = default(System.DateTimeOffset?), int? maxPageSize = default(int?), string skipToken = null, Azure.RequestOptions requestOptions = null) { throw null; } + public virtual Azure.Response CreateOrUpdate(string seasonId, Azure.Core.RequestContent content, Azure.RequestOptions options = null) { throw null; } + public virtual System.Threading.Tasks.Task CreateOrUpdateAsync(string seasonId, Azure.Core.RequestContent content, Azure.RequestOptions options = null) { throw null; } + public virtual Azure.Response Delete(string seasonId, Azure.RequestOptions options = null) { throw null; } + public virtual System.Threading.Tasks.Task DeleteAsync(string seasonId, Azure.RequestOptions options = null) { throw null; } + public virtual Azure.Response Get(string seasonId, Azure.RequestOptions options = null) { throw null; } + public virtual System.Threading.Tasks.Task GetAsync(string seasonId, Azure.RequestOptions options = null) { throw null; } + public virtual Azure.Response List(System.DateTimeOffset? minStartDateTime = default(System.DateTimeOffset?), System.DateTimeOffset? maxStartDateTime = default(System.DateTimeOffset?), System.DateTimeOffset? minEndDateTime = default(System.DateTimeOffset?), System.DateTimeOffset? maxEndDateTime = default(System.DateTimeOffset?), System.Collections.Generic.IEnumerable years = null, System.Collections.Generic.IEnumerable ids = null, System.Collections.Generic.IEnumerable names = null, System.Collections.Generic.IEnumerable propertyFilters = null, System.Collections.Generic.IEnumerable statuses = null, System.DateTimeOffset? minCreatedDateTime = default(System.DateTimeOffset?), System.DateTimeOffset? maxCreatedDateTime = default(System.DateTimeOffset?), System.DateTimeOffset? minLastModifiedDateTime = default(System.DateTimeOffset?), System.DateTimeOffset? maxLastModifiedDateTime = default(System.DateTimeOffset?), int? maxPageSize = default(int?), string skipToken = null, Azure.RequestOptions options = null) { throw null; } + public virtual System.Threading.Tasks.Task ListAsync(System.DateTimeOffset? minStartDateTime = default(System.DateTimeOffset?), System.DateTimeOffset? maxStartDateTime = default(System.DateTimeOffset?), System.DateTimeOffset? minEndDateTime = default(System.DateTimeOffset?), System.DateTimeOffset? maxEndDateTime = default(System.DateTimeOffset?), System.Collections.Generic.IEnumerable years = null, System.Collections.Generic.IEnumerable ids = null, System.Collections.Generic.IEnumerable names = null, System.Collections.Generic.IEnumerable propertyFilters = null, System.Collections.Generic.IEnumerable statuses = null, System.DateTimeOffset? minCreatedDateTime = default(System.DateTimeOffset?), System.DateTimeOffset? maxCreatedDateTime = default(System.DateTimeOffset?), System.DateTimeOffset? minLastModifiedDateTime = default(System.DateTimeOffset?), System.DateTimeOffset? maxLastModifiedDateTime = default(System.DateTimeOffset?), int? maxPageSize = default(int?), string skipToken = null, Azure.RequestOptions options = null) { throw null; } } public partial class TillageDataClient { protected TillageDataClient() { } public TillageDataClient(System.Uri endpoint, Azure.Core.TokenCredential credential, Azure.Verticals.AgriFood.Farming.FarmBeatsClientOptions options = null) { } public virtual Azure.Core.Pipeline.HttpPipeline Pipeline { get { throw null; } } - public virtual Azure.Response CreateOrUpdate(string farmerId, string tillageDataId, Azure.Core.RequestContent requestBody, Azure.RequestOptions requestOptions = null) { throw null; } - public virtual System.Threading.Tasks.Task CreateOrUpdateAsync(string farmerId, string tillageDataId, Azure.Core.RequestContent requestBody, Azure.RequestOptions requestOptions = null) { throw null; } - public virtual Azure.Response Delete(string farmerId, string tillageDataId, Azure.RequestOptions requestOptions = null) { throw null; } - public virtual System.Threading.Tasks.Task DeleteAsync(string farmerId, string tillageDataId, Azure.RequestOptions requestOptions = null) { throw null; } - public virtual Azure.Response Get(string farmerId, string tillageDataId, Azure.RequestOptions requestOptions = null) { throw null; } - public virtual System.Threading.Tasks.Task GetAsync(string farmerId, string tillageDataId, Azure.RequestOptions requestOptions = null) { throw null; } - public virtual Azure.Response List(double? minTillageDepth = default(double?), double? maxTillageDepth = default(double?), double? minTillagePressure = default(double?), double? maxTillagePressure = default(double?), System.Collections.Generic.IEnumerable sources = null, System.Collections.Generic.IEnumerable associatedBoundaryIds = null, System.Collections.Generic.IEnumerable operationBoundaryIds = null, System.DateTimeOffset? minOperationStartDateTime = default(System.DateTimeOffset?), System.DateTimeOffset? maxOperationStartDateTime = default(System.DateTimeOffset?), System.DateTimeOffset? minOperationEndDateTime = default(System.DateTimeOffset?), System.DateTimeOffset? maxOperationEndDateTime = default(System.DateTimeOffset?), System.DateTimeOffset? minOperationModifiedDateTime = default(System.DateTimeOffset?), System.DateTimeOffset? maxOperationModifiedDateTime = default(System.DateTimeOffset?), double? minArea = default(double?), double? maxArea = default(double?), System.Collections.Generic.IEnumerable ids = null, System.Collections.Generic.IEnumerable names = null, System.Collections.Generic.IEnumerable propertyFilters = null, System.Collections.Generic.IEnumerable statuses = null, System.DateTimeOffset? minCreatedDateTime = default(System.DateTimeOffset?), System.DateTimeOffset? maxCreatedDateTime = default(System.DateTimeOffset?), System.DateTimeOffset? minLastModifiedDateTime = default(System.DateTimeOffset?), System.DateTimeOffset? maxLastModifiedDateTime = default(System.DateTimeOffset?), int? maxPageSize = default(int?), string skipToken = null, Azure.RequestOptions requestOptions = null) { throw null; } - public virtual System.Threading.Tasks.Task ListAsync(double? minTillageDepth = default(double?), double? maxTillageDepth = default(double?), double? minTillagePressure = default(double?), double? maxTillagePressure = default(double?), System.Collections.Generic.IEnumerable sources = null, System.Collections.Generic.IEnumerable associatedBoundaryIds = null, System.Collections.Generic.IEnumerable operationBoundaryIds = null, System.DateTimeOffset? minOperationStartDateTime = default(System.DateTimeOffset?), System.DateTimeOffset? maxOperationStartDateTime = default(System.DateTimeOffset?), System.DateTimeOffset? minOperationEndDateTime = default(System.DateTimeOffset?), System.DateTimeOffset? maxOperationEndDateTime = default(System.DateTimeOffset?), System.DateTimeOffset? minOperationModifiedDateTime = default(System.DateTimeOffset?), System.DateTimeOffset? maxOperationModifiedDateTime = default(System.DateTimeOffset?), double? minArea = default(double?), double? maxArea = default(double?), System.Collections.Generic.IEnumerable ids = null, System.Collections.Generic.IEnumerable names = null, System.Collections.Generic.IEnumerable propertyFilters = null, System.Collections.Generic.IEnumerable statuses = null, System.DateTimeOffset? minCreatedDateTime = default(System.DateTimeOffset?), System.DateTimeOffset? maxCreatedDateTime = default(System.DateTimeOffset?), System.DateTimeOffset? minLastModifiedDateTime = default(System.DateTimeOffset?), System.DateTimeOffset? maxLastModifiedDateTime = default(System.DateTimeOffset?), int? maxPageSize = default(int?), string skipToken = null, Azure.RequestOptions requestOptions = null) { throw null; } - public virtual Azure.Response ListByFarmerId(string farmerId, double? minTillageDepth = default(double?), double? maxTillageDepth = default(double?), double? minTillagePressure = default(double?), double? maxTillagePressure = default(double?), System.Collections.Generic.IEnumerable sources = null, System.Collections.Generic.IEnumerable associatedBoundaryIds = null, System.Collections.Generic.IEnumerable operationBoundaryIds = null, System.DateTimeOffset? minOperationStartDateTime = default(System.DateTimeOffset?), System.DateTimeOffset? maxOperationStartDateTime = default(System.DateTimeOffset?), System.DateTimeOffset? minOperationEndDateTime = default(System.DateTimeOffset?), System.DateTimeOffset? maxOperationEndDateTime = default(System.DateTimeOffset?), System.DateTimeOffset? minOperationModifiedDateTime = default(System.DateTimeOffset?), System.DateTimeOffset? maxOperationModifiedDateTime = default(System.DateTimeOffset?), double? minArea = default(double?), double? maxArea = default(double?), System.Collections.Generic.IEnumerable ids = null, System.Collections.Generic.IEnumerable names = null, System.Collections.Generic.IEnumerable propertyFilters = null, System.Collections.Generic.IEnumerable statuses = null, System.DateTimeOffset? minCreatedDateTime = default(System.DateTimeOffset?), System.DateTimeOffset? maxCreatedDateTime = default(System.DateTimeOffset?), System.DateTimeOffset? minLastModifiedDateTime = default(System.DateTimeOffset?), System.DateTimeOffset? maxLastModifiedDateTime = default(System.DateTimeOffset?), int? maxPageSize = default(int?), string skipToken = null, Azure.RequestOptions requestOptions = null) { throw null; } - public virtual System.Threading.Tasks.Task ListByFarmerIdAsync(string farmerId, double? minTillageDepth = default(double?), double? maxTillageDepth = default(double?), double? minTillagePressure = default(double?), double? maxTillagePressure = default(double?), System.Collections.Generic.IEnumerable sources = null, System.Collections.Generic.IEnumerable associatedBoundaryIds = null, System.Collections.Generic.IEnumerable operationBoundaryIds = null, System.DateTimeOffset? minOperationStartDateTime = default(System.DateTimeOffset?), System.DateTimeOffset? maxOperationStartDateTime = default(System.DateTimeOffset?), System.DateTimeOffset? minOperationEndDateTime = default(System.DateTimeOffset?), System.DateTimeOffset? maxOperationEndDateTime = default(System.DateTimeOffset?), System.DateTimeOffset? minOperationModifiedDateTime = default(System.DateTimeOffset?), System.DateTimeOffset? maxOperationModifiedDateTime = default(System.DateTimeOffset?), double? minArea = default(double?), double? maxArea = default(double?), System.Collections.Generic.IEnumerable ids = null, System.Collections.Generic.IEnumerable names = null, System.Collections.Generic.IEnumerable propertyFilters = null, System.Collections.Generic.IEnumerable statuses = null, System.DateTimeOffset? minCreatedDateTime = default(System.DateTimeOffset?), System.DateTimeOffset? maxCreatedDateTime = default(System.DateTimeOffset?), System.DateTimeOffset? minLastModifiedDateTime = default(System.DateTimeOffset?), System.DateTimeOffset? maxLastModifiedDateTime = default(System.DateTimeOffset?), int? maxPageSize = default(int?), string skipToken = null, Azure.RequestOptions requestOptions = null) { throw null; } + public virtual Azure.Response CreateOrUpdate(string farmerId, string tillageDataId, Azure.Core.RequestContent content, Azure.RequestOptions options = null) { throw null; } + public virtual System.Threading.Tasks.Task CreateOrUpdateAsync(string farmerId, string tillageDataId, Azure.Core.RequestContent content, Azure.RequestOptions options = null) { throw null; } + public virtual Azure.Response Delete(string farmerId, string tillageDataId, Azure.RequestOptions options = null) { throw null; } + public virtual System.Threading.Tasks.Task DeleteAsync(string farmerId, string tillageDataId, Azure.RequestOptions options = null) { throw null; } + public virtual Azure.Response Get(string farmerId, string tillageDataId, Azure.RequestOptions options = null) { throw null; } + public virtual System.Threading.Tasks.Task GetAsync(string farmerId, string tillageDataId, Azure.RequestOptions options = null) { throw null; } + public virtual Azure.Response List(double? minTillageDepth = default(double?), double? maxTillageDepth = default(double?), double? minTillagePressure = default(double?), double? maxTillagePressure = default(double?), System.Collections.Generic.IEnumerable sources = null, System.Collections.Generic.IEnumerable associatedBoundaryIds = null, System.Collections.Generic.IEnumerable operationBoundaryIds = null, System.DateTimeOffset? minOperationStartDateTime = default(System.DateTimeOffset?), System.DateTimeOffset? maxOperationStartDateTime = default(System.DateTimeOffset?), System.DateTimeOffset? minOperationEndDateTime = default(System.DateTimeOffset?), System.DateTimeOffset? maxOperationEndDateTime = default(System.DateTimeOffset?), System.DateTimeOffset? minOperationModifiedDateTime = default(System.DateTimeOffset?), System.DateTimeOffset? maxOperationModifiedDateTime = default(System.DateTimeOffset?), double? minArea = default(double?), double? maxArea = default(double?), System.Collections.Generic.IEnumerable ids = null, System.Collections.Generic.IEnumerable names = null, System.Collections.Generic.IEnumerable propertyFilters = null, System.Collections.Generic.IEnumerable statuses = null, System.DateTimeOffset? minCreatedDateTime = default(System.DateTimeOffset?), System.DateTimeOffset? maxCreatedDateTime = default(System.DateTimeOffset?), System.DateTimeOffset? minLastModifiedDateTime = default(System.DateTimeOffset?), System.DateTimeOffset? maxLastModifiedDateTime = default(System.DateTimeOffset?), int? maxPageSize = default(int?), string skipToken = null, Azure.RequestOptions options = null) { throw null; } + public virtual System.Threading.Tasks.Task ListAsync(double? minTillageDepth = default(double?), double? maxTillageDepth = default(double?), double? minTillagePressure = default(double?), double? maxTillagePressure = default(double?), System.Collections.Generic.IEnumerable sources = null, System.Collections.Generic.IEnumerable associatedBoundaryIds = null, System.Collections.Generic.IEnumerable operationBoundaryIds = null, System.DateTimeOffset? minOperationStartDateTime = default(System.DateTimeOffset?), System.DateTimeOffset? maxOperationStartDateTime = default(System.DateTimeOffset?), System.DateTimeOffset? minOperationEndDateTime = default(System.DateTimeOffset?), System.DateTimeOffset? maxOperationEndDateTime = default(System.DateTimeOffset?), System.DateTimeOffset? minOperationModifiedDateTime = default(System.DateTimeOffset?), System.DateTimeOffset? maxOperationModifiedDateTime = default(System.DateTimeOffset?), double? minArea = default(double?), double? maxArea = default(double?), System.Collections.Generic.IEnumerable ids = null, System.Collections.Generic.IEnumerable names = null, System.Collections.Generic.IEnumerable propertyFilters = null, System.Collections.Generic.IEnumerable statuses = null, System.DateTimeOffset? minCreatedDateTime = default(System.DateTimeOffset?), System.DateTimeOffset? maxCreatedDateTime = default(System.DateTimeOffset?), System.DateTimeOffset? minLastModifiedDateTime = default(System.DateTimeOffset?), System.DateTimeOffset? maxLastModifiedDateTime = default(System.DateTimeOffset?), int? maxPageSize = default(int?), string skipToken = null, Azure.RequestOptions options = null) { throw null; } + public virtual Azure.Response ListByFarmerId(string farmerId, double? minTillageDepth = default(double?), double? maxTillageDepth = default(double?), double? minTillagePressure = default(double?), double? maxTillagePressure = default(double?), System.Collections.Generic.IEnumerable sources = null, System.Collections.Generic.IEnumerable associatedBoundaryIds = null, System.Collections.Generic.IEnumerable operationBoundaryIds = null, System.DateTimeOffset? minOperationStartDateTime = default(System.DateTimeOffset?), System.DateTimeOffset? maxOperationStartDateTime = default(System.DateTimeOffset?), System.DateTimeOffset? minOperationEndDateTime = default(System.DateTimeOffset?), System.DateTimeOffset? maxOperationEndDateTime = default(System.DateTimeOffset?), System.DateTimeOffset? minOperationModifiedDateTime = default(System.DateTimeOffset?), System.DateTimeOffset? maxOperationModifiedDateTime = default(System.DateTimeOffset?), double? minArea = default(double?), double? maxArea = default(double?), System.Collections.Generic.IEnumerable ids = null, System.Collections.Generic.IEnumerable names = null, System.Collections.Generic.IEnumerable propertyFilters = null, System.Collections.Generic.IEnumerable statuses = null, System.DateTimeOffset? minCreatedDateTime = default(System.DateTimeOffset?), System.DateTimeOffset? maxCreatedDateTime = default(System.DateTimeOffset?), System.DateTimeOffset? minLastModifiedDateTime = default(System.DateTimeOffset?), System.DateTimeOffset? maxLastModifiedDateTime = default(System.DateTimeOffset?), int? maxPageSize = default(int?), string skipToken = null, Azure.RequestOptions options = null) { throw null; } + public virtual System.Threading.Tasks.Task ListByFarmerIdAsync(string farmerId, double? minTillageDepth = default(double?), double? maxTillageDepth = default(double?), double? minTillagePressure = default(double?), double? maxTillagePressure = default(double?), System.Collections.Generic.IEnumerable sources = null, System.Collections.Generic.IEnumerable associatedBoundaryIds = null, System.Collections.Generic.IEnumerable operationBoundaryIds = null, System.DateTimeOffset? minOperationStartDateTime = default(System.DateTimeOffset?), System.DateTimeOffset? maxOperationStartDateTime = default(System.DateTimeOffset?), System.DateTimeOffset? minOperationEndDateTime = default(System.DateTimeOffset?), System.DateTimeOffset? maxOperationEndDateTime = default(System.DateTimeOffset?), System.DateTimeOffset? minOperationModifiedDateTime = default(System.DateTimeOffset?), System.DateTimeOffset? maxOperationModifiedDateTime = default(System.DateTimeOffset?), double? minArea = default(double?), double? maxArea = default(double?), System.Collections.Generic.IEnumerable ids = null, System.Collections.Generic.IEnumerable names = null, System.Collections.Generic.IEnumerable propertyFilters = null, System.Collections.Generic.IEnumerable statuses = null, System.DateTimeOffset? minCreatedDateTime = default(System.DateTimeOffset?), System.DateTimeOffset? maxCreatedDateTime = default(System.DateTimeOffset?), System.DateTimeOffset? minLastModifiedDateTime = default(System.DateTimeOffset?), System.DateTimeOffset? maxLastModifiedDateTime = default(System.DateTimeOffset?), int? maxPageSize = default(int?), string skipToken = null, Azure.RequestOptions options = null) { throw null; } } public partial class WeatherClient { protected WeatherClient() { } public WeatherClient(System.Uri endpoint, Azure.Core.TokenCredential credential, Azure.Verticals.AgriFood.Farming.FarmBeatsClientOptions options = null) { } public virtual Azure.Core.Pipeline.HttpPipeline Pipeline { get { throw null; } } - public virtual Azure.Response CreateDataDeleteJob(string jobId, Azure.Core.RequestContent requestBody, Azure.RequestOptions requestOptions = null) { throw null; } - public virtual System.Threading.Tasks.Task CreateDataDeleteJobAsync(string jobId, Azure.Core.RequestContent requestBody, Azure.RequestOptions requestOptions = null) { throw null; } - public virtual Azure.Response CreateDataIngestionJob(string jobId, Azure.Core.RequestContent requestBody, Azure.RequestOptions requestOptions = null) { throw null; } - public virtual System.Threading.Tasks.Task CreateDataIngestionJobAsync(string jobId, Azure.Core.RequestContent requestBody, Azure.RequestOptions requestOptions = null) { throw null; } - public virtual Azure.Response GetDataDeleteJobDetails(string jobId, Azure.RequestOptions requestOptions = null) { throw null; } - public virtual System.Threading.Tasks.Task GetDataDeleteJobDetailsAsync(string jobId, Azure.RequestOptions requestOptions = null) { throw null; } - public virtual Azure.Response GetDataIngestionJobDetails(string jobId, Azure.RequestOptions requestOptions = null) { throw null; } - public virtual System.Threading.Tasks.Task GetDataIngestionJobDetailsAsync(string jobId, Azure.RequestOptions requestOptions = null) { throw null; } - public virtual Azure.Response List(string farmerId, string boundaryId, string extensionId, string weatherDataType, string granularity, System.DateTimeOffset? startDateTime = default(System.DateTimeOffset?), System.DateTimeOffset? endDateTime = default(System.DateTimeOffset?), int? maxPageSize = default(int?), string skipToken = null, Azure.RequestOptions requestOptions = null) { throw null; } - public virtual System.Threading.Tasks.Task ListAsync(string farmerId, string boundaryId, string extensionId, string weatherDataType, string granularity, System.DateTimeOffset? startDateTime = default(System.DateTimeOffset?), System.DateTimeOffset? endDateTime = default(System.DateTimeOffset?), int? maxPageSize = default(int?), string skipToken = null, Azure.RequestOptions requestOptions = null) { throw null; } + public virtual Azure.Response CreateDataDeleteJob(string jobId, Azure.Core.RequestContent content, Azure.RequestOptions options = null) { throw null; } + public virtual System.Threading.Tasks.Task CreateDataDeleteJobAsync(string jobId, Azure.Core.RequestContent content, Azure.RequestOptions options = null) { throw null; } + public virtual Azure.Response CreateDataIngestionJob(string jobId, Azure.Core.RequestContent content, Azure.RequestOptions options = null) { throw null; } + public virtual System.Threading.Tasks.Task CreateDataIngestionJobAsync(string jobId, Azure.Core.RequestContent content, Azure.RequestOptions options = null) { throw null; } + public virtual Azure.Response GetDataDeleteJobDetails(string jobId, Azure.RequestOptions options = null) { throw null; } + public virtual System.Threading.Tasks.Task GetDataDeleteJobDetailsAsync(string jobId, Azure.RequestOptions options = null) { throw null; } + public virtual Azure.Response GetDataIngestionJobDetails(string jobId, Azure.RequestOptions options = null) { throw null; } + public virtual System.Threading.Tasks.Task GetDataIngestionJobDetailsAsync(string jobId, Azure.RequestOptions options = null) { throw null; } + public virtual Azure.Response List(string farmerId, string boundaryId, string extensionId, string weatherDataType, string granularity, System.DateTimeOffset? startDateTime = default(System.DateTimeOffset?), System.DateTimeOffset? endDateTime = default(System.DateTimeOffset?), int? maxPageSize = default(int?), string skipToken = null, Azure.RequestOptions options = null) { throw null; } + public virtual System.Threading.Tasks.Task ListAsync(string farmerId, string boundaryId, string extensionId, string weatherDataType, string granularity, System.DateTimeOffset? startDateTime = default(System.DateTimeOffset?), System.DateTimeOffset? endDateTime = default(System.DateTimeOffset?), int? maxPageSize = default(int?), string skipToken = null, Azure.RequestOptions options = null) { throw null; } } } diff --git a/sdk/agrifood/Azure.Verticals.AgriFood.Farming/src/Generated/ApplicationDataClient.cs b/sdk/agrifood/Azure.Verticals.AgriFood.Farming/src/Generated/ApplicationDataClient.cs index e4e5707caf2d..d7562e831e24 100644 --- a/sdk/agrifood/Azure.Verticals.AgriFood.Farming/src/Generated/ApplicationDataClient.cs +++ b/sdk/agrifood/Azure.Verticals.AgriFood.Farming/src/Generated/ApplicationDataClient.cs @@ -89,23 +89,23 @@ public ApplicationDataClient(Uri endpoint, TokenCredential credential, FarmBeats /// Minimum = 10, Maximum = 1000, Default value = 50. /// /// Skip token for getting next set of results. - /// The request options. + /// The request options. #pragma warning disable AZC0002 - public virtual async Task ListByFarmerIdAsync(string farmerId, double? minAvgMaterial = null, double? maxAvgMaterial = null, double? minTotalMaterial = null, double? maxTotalMaterial = null, IEnumerable sources = null, IEnumerable associatedBoundaryIds = null, IEnumerable operationBoundaryIds = null, DateTimeOffset? minOperationStartDateTime = null, DateTimeOffset? maxOperationStartDateTime = null, DateTimeOffset? minOperationEndDateTime = null, DateTimeOffset? maxOperationEndDateTime = null, DateTimeOffset? minOperationModifiedDateTime = null, DateTimeOffset? maxOperationModifiedDateTime = null, double? minArea = null, double? maxArea = null, IEnumerable ids = null, IEnumerable names = null, IEnumerable propertyFilters = null, IEnumerable statuses = null, DateTimeOffset? minCreatedDateTime = null, DateTimeOffset? maxCreatedDateTime = null, DateTimeOffset? minLastModifiedDateTime = null, DateTimeOffset? maxLastModifiedDateTime = null, int? maxPageSize = null, string skipToken = null, RequestOptions requestOptions = null) + public virtual async Task ListByFarmerIdAsync(string farmerId, double? minAvgMaterial = null, double? maxAvgMaterial = null, double? minTotalMaterial = null, double? maxTotalMaterial = null, IEnumerable sources = null, IEnumerable associatedBoundaryIds = null, IEnumerable operationBoundaryIds = null, DateTimeOffset? minOperationStartDateTime = null, DateTimeOffset? maxOperationStartDateTime = null, DateTimeOffset? minOperationEndDateTime = null, DateTimeOffset? maxOperationEndDateTime = null, DateTimeOffset? minOperationModifiedDateTime = null, DateTimeOffset? maxOperationModifiedDateTime = null, double? minArea = null, double? maxArea = null, IEnumerable ids = null, IEnumerable names = null, IEnumerable propertyFilters = null, IEnumerable statuses = null, DateTimeOffset? minCreatedDateTime = null, DateTimeOffset? maxCreatedDateTime = null, DateTimeOffset? minLastModifiedDateTime = null, DateTimeOffset? maxLastModifiedDateTime = null, int? maxPageSize = null, string skipToken = null, RequestOptions options = null) #pragma warning restore AZC0002 { - requestOptions ??= new RequestOptions(); - HttpMessage message = CreateListByFarmerIdRequest(farmerId, minAvgMaterial, maxAvgMaterial, minTotalMaterial, maxTotalMaterial, sources, associatedBoundaryIds, operationBoundaryIds, minOperationStartDateTime, maxOperationStartDateTime, minOperationEndDateTime, maxOperationEndDateTime, minOperationModifiedDateTime, maxOperationModifiedDateTime, minArea, maxArea, ids, names, propertyFilters, statuses, minCreatedDateTime, maxCreatedDateTime, minLastModifiedDateTime, maxLastModifiedDateTime, maxPageSize, skipToken, requestOptions); - if (requestOptions.PerCallPolicy != null) + options ??= new RequestOptions(); + HttpMessage message = CreateListByFarmerIdRequest(farmerId, minAvgMaterial, maxAvgMaterial, minTotalMaterial, maxTotalMaterial, sources, associatedBoundaryIds, operationBoundaryIds, minOperationStartDateTime, maxOperationStartDateTime, minOperationEndDateTime, maxOperationEndDateTime, minOperationModifiedDateTime, maxOperationModifiedDateTime, minArea, maxArea, ids, names, propertyFilters, statuses, minCreatedDateTime, maxCreatedDateTime, minLastModifiedDateTime, maxLastModifiedDateTime, maxPageSize, skipToken, options); + if (options.PerCallPolicy != null) { - message.SetProperty("RequestOptionsPerCallPolicyCallback", requestOptions.PerCallPolicy); + message.SetProperty("RequestOptionsPerCallPolicyCallback", options.PerCallPolicy); } using var scope = _clientDiagnostics.CreateScope("ApplicationDataClient.ListByFarmerId"); scope.Start(); try { - await Pipeline.SendAsync(message, requestOptions.CancellationToken).ConfigureAwait(false); - if (requestOptions.StatusOption == ResponseStatusOption.Default) + await Pipeline.SendAsync(message, options.CancellationToken).ConfigureAwait(false); + if (options.StatusOption == ResponseStatusOption.Default) { switch (message.Response.Status) { @@ -162,23 +162,23 @@ public virtual async Task ListByFarmerIdAsync(string farmerId, double? /// Minimum = 10, Maximum = 1000, Default value = 50. /// /// Skip token for getting next set of results. - /// The request options. + /// The request options. #pragma warning disable AZC0002 - public virtual Response ListByFarmerId(string farmerId, double? minAvgMaterial = null, double? maxAvgMaterial = null, double? minTotalMaterial = null, double? maxTotalMaterial = null, IEnumerable sources = null, IEnumerable associatedBoundaryIds = null, IEnumerable operationBoundaryIds = null, DateTimeOffset? minOperationStartDateTime = null, DateTimeOffset? maxOperationStartDateTime = null, DateTimeOffset? minOperationEndDateTime = null, DateTimeOffset? maxOperationEndDateTime = null, DateTimeOffset? minOperationModifiedDateTime = null, DateTimeOffset? maxOperationModifiedDateTime = null, double? minArea = null, double? maxArea = null, IEnumerable ids = null, IEnumerable names = null, IEnumerable propertyFilters = null, IEnumerable statuses = null, DateTimeOffset? minCreatedDateTime = null, DateTimeOffset? maxCreatedDateTime = null, DateTimeOffset? minLastModifiedDateTime = null, DateTimeOffset? maxLastModifiedDateTime = null, int? maxPageSize = null, string skipToken = null, RequestOptions requestOptions = null) + public virtual Response ListByFarmerId(string farmerId, double? minAvgMaterial = null, double? maxAvgMaterial = null, double? minTotalMaterial = null, double? maxTotalMaterial = null, IEnumerable sources = null, IEnumerable associatedBoundaryIds = null, IEnumerable operationBoundaryIds = null, DateTimeOffset? minOperationStartDateTime = null, DateTimeOffset? maxOperationStartDateTime = null, DateTimeOffset? minOperationEndDateTime = null, DateTimeOffset? maxOperationEndDateTime = null, DateTimeOffset? minOperationModifiedDateTime = null, DateTimeOffset? maxOperationModifiedDateTime = null, double? minArea = null, double? maxArea = null, IEnumerable ids = null, IEnumerable names = null, IEnumerable propertyFilters = null, IEnumerable statuses = null, DateTimeOffset? minCreatedDateTime = null, DateTimeOffset? maxCreatedDateTime = null, DateTimeOffset? minLastModifiedDateTime = null, DateTimeOffset? maxLastModifiedDateTime = null, int? maxPageSize = null, string skipToken = null, RequestOptions options = null) #pragma warning restore AZC0002 { - requestOptions ??= new RequestOptions(); - HttpMessage message = CreateListByFarmerIdRequest(farmerId, minAvgMaterial, maxAvgMaterial, minTotalMaterial, maxTotalMaterial, sources, associatedBoundaryIds, operationBoundaryIds, minOperationStartDateTime, maxOperationStartDateTime, minOperationEndDateTime, maxOperationEndDateTime, minOperationModifiedDateTime, maxOperationModifiedDateTime, minArea, maxArea, ids, names, propertyFilters, statuses, minCreatedDateTime, maxCreatedDateTime, minLastModifiedDateTime, maxLastModifiedDateTime, maxPageSize, skipToken, requestOptions); - if (requestOptions.PerCallPolicy != null) + options ??= new RequestOptions(); + HttpMessage message = CreateListByFarmerIdRequest(farmerId, minAvgMaterial, maxAvgMaterial, minTotalMaterial, maxTotalMaterial, sources, associatedBoundaryIds, operationBoundaryIds, minOperationStartDateTime, maxOperationStartDateTime, minOperationEndDateTime, maxOperationEndDateTime, minOperationModifiedDateTime, maxOperationModifiedDateTime, minArea, maxArea, ids, names, propertyFilters, statuses, minCreatedDateTime, maxCreatedDateTime, minLastModifiedDateTime, maxLastModifiedDateTime, maxPageSize, skipToken, options); + if (options.PerCallPolicy != null) { - message.SetProperty("RequestOptionsPerCallPolicyCallback", requestOptions.PerCallPolicy); + message.SetProperty("RequestOptionsPerCallPolicyCallback", options.PerCallPolicy); } using var scope = _clientDiagnostics.CreateScope("ApplicationDataClient.ListByFarmerId"); scope.Start(); try { - Pipeline.Send(message, requestOptions.CancellationToken); - if (requestOptions.StatusOption == ResponseStatusOption.Default) + Pipeline.Send(message, options.CancellationToken); + if (options.StatusOption == ResponseStatusOption.Default) { switch (message.Response.Status) { @@ -235,8 +235,8 @@ public virtual Response ListByFarmerId(string farmerId, double? minAvgMaterial = /// Minimum = 10, Maximum = 1000, Default value = 50. /// /// Skip token for getting next set of results. - /// The request options. - private HttpMessage CreateListByFarmerIdRequest(string farmerId, double? minAvgMaterial = null, double? maxAvgMaterial = null, double? minTotalMaterial = null, double? maxTotalMaterial = null, IEnumerable sources = null, IEnumerable associatedBoundaryIds = null, IEnumerable operationBoundaryIds = null, DateTimeOffset? minOperationStartDateTime = null, DateTimeOffset? maxOperationStartDateTime = null, DateTimeOffset? minOperationEndDateTime = null, DateTimeOffset? maxOperationEndDateTime = null, DateTimeOffset? minOperationModifiedDateTime = null, DateTimeOffset? maxOperationModifiedDateTime = null, double? minArea = null, double? maxArea = null, IEnumerable ids = null, IEnumerable names = null, IEnumerable propertyFilters = null, IEnumerable statuses = null, DateTimeOffset? minCreatedDateTime = null, DateTimeOffset? maxCreatedDateTime = null, DateTimeOffset? minLastModifiedDateTime = null, DateTimeOffset? maxLastModifiedDateTime = null, int? maxPageSize = null, string skipToken = null, RequestOptions requestOptions = null) + /// The request options. + private HttpMessage CreateListByFarmerIdRequest(string farmerId, double? minAvgMaterial = null, double? maxAvgMaterial = null, double? minTotalMaterial = null, double? maxTotalMaterial = null, IEnumerable sources = null, IEnumerable associatedBoundaryIds = null, IEnumerable operationBoundaryIds = null, DateTimeOffset? minOperationStartDateTime = null, DateTimeOffset? maxOperationStartDateTime = null, DateTimeOffset? minOperationEndDateTime = null, DateTimeOffset? maxOperationEndDateTime = null, DateTimeOffset? minOperationModifiedDateTime = null, DateTimeOffset? maxOperationModifiedDateTime = null, double? minArea = null, double? maxArea = null, IEnumerable ids = null, IEnumerable names = null, IEnumerable propertyFilters = null, IEnumerable statuses = null, DateTimeOffset? minCreatedDateTime = null, DateTimeOffset? maxCreatedDateTime = null, DateTimeOffset? minLastModifiedDateTime = null, DateTimeOffset? maxLastModifiedDateTime = null, int? maxPageSize = null, string skipToken = null, RequestOptions options = null) { var message = Pipeline.CreateMessage(); var request = message.Request; @@ -386,23 +386,23 @@ private HttpMessage CreateListByFarmerIdRequest(string farmerId, double? minAvgM /// Minimum = 10, Maximum = 1000, Default value = 50. /// /// Skip token for getting next set of results. - /// The request options. + /// The request options. #pragma warning disable AZC0002 - public virtual async Task ListAsync(double? minAvgMaterial = null, double? maxAvgMaterial = null, double? minTotalMaterial = null, double? maxTotalMaterial = null, IEnumerable sources = null, IEnumerable associatedBoundaryIds = null, IEnumerable operationBoundaryIds = null, DateTimeOffset? minOperationStartDateTime = null, DateTimeOffset? maxOperationStartDateTime = null, DateTimeOffset? minOperationEndDateTime = null, DateTimeOffset? maxOperationEndDateTime = null, DateTimeOffset? minOperationModifiedDateTime = null, DateTimeOffset? maxOperationModifiedDateTime = null, double? minArea = null, double? maxArea = null, IEnumerable ids = null, IEnumerable names = null, IEnumerable propertyFilters = null, IEnumerable statuses = null, DateTimeOffset? minCreatedDateTime = null, DateTimeOffset? maxCreatedDateTime = null, DateTimeOffset? minLastModifiedDateTime = null, DateTimeOffset? maxLastModifiedDateTime = null, int? maxPageSize = null, string skipToken = null, RequestOptions requestOptions = null) + public virtual async Task ListAsync(double? minAvgMaterial = null, double? maxAvgMaterial = null, double? minTotalMaterial = null, double? maxTotalMaterial = null, IEnumerable sources = null, IEnumerable associatedBoundaryIds = null, IEnumerable operationBoundaryIds = null, DateTimeOffset? minOperationStartDateTime = null, DateTimeOffset? maxOperationStartDateTime = null, DateTimeOffset? minOperationEndDateTime = null, DateTimeOffset? maxOperationEndDateTime = null, DateTimeOffset? minOperationModifiedDateTime = null, DateTimeOffset? maxOperationModifiedDateTime = null, double? minArea = null, double? maxArea = null, IEnumerable ids = null, IEnumerable names = null, IEnumerable propertyFilters = null, IEnumerable statuses = null, DateTimeOffset? minCreatedDateTime = null, DateTimeOffset? maxCreatedDateTime = null, DateTimeOffset? minLastModifiedDateTime = null, DateTimeOffset? maxLastModifiedDateTime = null, int? maxPageSize = null, string skipToken = null, RequestOptions options = null) #pragma warning restore AZC0002 { - requestOptions ??= new RequestOptions(); - HttpMessage message = CreateListRequest(minAvgMaterial, maxAvgMaterial, minTotalMaterial, maxTotalMaterial, sources, associatedBoundaryIds, operationBoundaryIds, minOperationStartDateTime, maxOperationStartDateTime, minOperationEndDateTime, maxOperationEndDateTime, minOperationModifiedDateTime, maxOperationModifiedDateTime, minArea, maxArea, ids, names, propertyFilters, statuses, minCreatedDateTime, maxCreatedDateTime, minLastModifiedDateTime, maxLastModifiedDateTime, maxPageSize, skipToken, requestOptions); - if (requestOptions.PerCallPolicy != null) + options ??= new RequestOptions(); + HttpMessage message = CreateListRequest(minAvgMaterial, maxAvgMaterial, minTotalMaterial, maxTotalMaterial, sources, associatedBoundaryIds, operationBoundaryIds, minOperationStartDateTime, maxOperationStartDateTime, minOperationEndDateTime, maxOperationEndDateTime, minOperationModifiedDateTime, maxOperationModifiedDateTime, minArea, maxArea, ids, names, propertyFilters, statuses, minCreatedDateTime, maxCreatedDateTime, minLastModifiedDateTime, maxLastModifiedDateTime, maxPageSize, skipToken, options); + if (options.PerCallPolicy != null) { - message.SetProperty("RequestOptionsPerCallPolicyCallback", requestOptions.PerCallPolicy); + message.SetProperty("RequestOptionsPerCallPolicyCallback", options.PerCallPolicy); } using var scope = _clientDiagnostics.CreateScope("ApplicationDataClient.List"); scope.Start(); try { - await Pipeline.SendAsync(message, requestOptions.CancellationToken).ConfigureAwait(false); - if (requestOptions.StatusOption == ResponseStatusOption.Default) + await Pipeline.SendAsync(message, options.CancellationToken).ConfigureAwait(false); + if (options.StatusOption == ResponseStatusOption.Default) { switch (message.Response.Status) { @@ -458,23 +458,23 @@ public virtual async Task ListAsync(double? minAvgMaterial = null, dou /// Minimum = 10, Maximum = 1000, Default value = 50. /// /// Skip token for getting next set of results. - /// The request options. + /// The request options. #pragma warning disable AZC0002 - public virtual Response List(double? minAvgMaterial = null, double? maxAvgMaterial = null, double? minTotalMaterial = null, double? maxTotalMaterial = null, IEnumerable sources = null, IEnumerable associatedBoundaryIds = null, IEnumerable operationBoundaryIds = null, DateTimeOffset? minOperationStartDateTime = null, DateTimeOffset? maxOperationStartDateTime = null, DateTimeOffset? minOperationEndDateTime = null, DateTimeOffset? maxOperationEndDateTime = null, DateTimeOffset? minOperationModifiedDateTime = null, DateTimeOffset? maxOperationModifiedDateTime = null, double? minArea = null, double? maxArea = null, IEnumerable ids = null, IEnumerable names = null, IEnumerable propertyFilters = null, IEnumerable statuses = null, DateTimeOffset? minCreatedDateTime = null, DateTimeOffset? maxCreatedDateTime = null, DateTimeOffset? minLastModifiedDateTime = null, DateTimeOffset? maxLastModifiedDateTime = null, int? maxPageSize = null, string skipToken = null, RequestOptions requestOptions = null) + public virtual Response List(double? minAvgMaterial = null, double? maxAvgMaterial = null, double? minTotalMaterial = null, double? maxTotalMaterial = null, IEnumerable sources = null, IEnumerable associatedBoundaryIds = null, IEnumerable operationBoundaryIds = null, DateTimeOffset? minOperationStartDateTime = null, DateTimeOffset? maxOperationStartDateTime = null, DateTimeOffset? minOperationEndDateTime = null, DateTimeOffset? maxOperationEndDateTime = null, DateTimeOffset? minOperationModifiedDateTime = null, DateTimeOffset? maxOperationModifiedDateTime = null, double? minArea = null, double? maxArea = null, IEnumerable ids = null, IEnumerable names = null, IEnumerable propertyFilters = null, IEnumerable statuses = null, DateTimeOffset? minCreatedDateTime = null, DateTimeOffset? maxCreatedDateTime = null, DateTimeOffset? minLastModifiedDateTime = null, DateTimeOffset? maxLastModifiedDateTime = null, int? maxPageSize = null, string skipToken = null, RequestOptions options = null) #pragma warning restore AZC0002 { - requestOptions ??= new RequestOptions(); - HttpMessage message = CreateListRequest(minAvgMaterial, maxAvgMaterial, minTotalMaterial, maxTotalMaterial, sources, associatedBoundaryIds, operationBoundaryIds, minOperationStartDateTime, maxOperationStartDateTime, minOperationEndDateTime, maxOperationEndDateTime, minOperationModifiedDateTime, maxOperationModifiedDateTime, minArea, maxArea, ids, names, propertyFilters, statuses, minCreatedDateTime, maxCreatedDateTime, minLastModifiedDateTime, maxLastModifiedDateTime, maxPageSize, skipToken, requestOptions); - if (requestOptions.PerCallPolicy != null) + options ??= new RequestOptions(); + HttpMessage message = CreateListRequest(minAvgMaterial, maxAvgMaterial, minTotalMaterial, maxTotalMaterial, sources, associatedBoundaryIds, operationBoundaryIds, minOperationStartDateTime, maxOperationStartDateTime, minOperationEndDateTime, maxOperationEndDateTime, minOperationModifiedDateTime, maxOperationModifiedDateTime, minArea, maxArea, ids, names, propertyFilters, statuses, minCreatedDateTime, maxCreatedDateTime, minLastModifiedDateTime, maxLastModifiedDateTime, maxPageSize, skipToken, options); + if (options.PerCallPolicy != null) { - message.SetProperty("RequestOptionsPerCallPolicyCallback", requestOptions.PerCallPolicy); + message.SetProperty("RequestOptionsPerCallPolicyCallback", options.PerCallPolicy); } using var scope = _clientDiagnostics.CreateScope("ApplicationDataClient.List"); scope.Start(); try { - Pipeline.Send(message, requestOptions.CancellationToken); - if (requestOptions.StatusOption == ResponseStatusOption.Default) + Pipeline.Send(message, options.CancellationToken); + if (options.StatusOption == ResponseStatusOption.Default) { switch (message.Response.Status) { @@ -530,8 +530,8 @@ public virtual Response List(double? minAvgMaterial = null, double? maxAvgMateri /// Minimum = 10, Maximum = 1000, Default value = 50. /// /// Skip token for getting next set of results. - /// The request options. - private HttpMessage CreateListRequest(double? minAvgMaterial = null, double? maxAvgMaterial = null, double? minTotalMaterial = null, double? maxTotalMaterial = null, IEnumerable sources = null, IEnumerable associatedBoundaryIds = null, IEnumerable operationBoundaryIds = null, DateTimeOffset? minOperationStartDateTime = null, DateTimeOffset? maxOperationStartDateTime = null, DateTimeOffset? minOperationEndDateTime = null, DateTimeOffset? maxOperationEndDateTime = null, DateTimeOffset? minOperationModifiedDateTime = null, DateTimeOffset? maxOperationModifiedDateTime = null, double? minArea = null, double? maxArea = null, IEnumerable ids = null, IEnumerable names = null, IEnumerable propertyFilters = null, IEnumerable statuses = null, DateTimeOffset? minCreatedDateTime = null, DateTimeOffset? maxCreatedDateTime = null, DateTimeOffset? minLastModifiedDateTime = null, DateTimeOffset? maxLastModifiedDateTime = null, int? maxPageSize = null, string skipToken = null, RequestOptions requestOptions = null) + /// The request options. + private HttpMessage CreateListRequest(double? minAvgMaterial = null, double? maxAvgMaterial = null, double? minTotalMaterial = null, double? maxTotalMaterial = null, IEnumerable sources = null, IEnumerable associatedBoundaryIds = null, IEnumerable operationBoundaryIds = null, DateTimeOffset? minOperationStartDateTime = null, DateTimeOffset? maxOperationStartDateTime = null, DateTimeOffset? minOperationEndDateTime = null, DateTimeOffset? maxOperationEndDateTime = null, DateTimeOffset? minOperationModifiedDateTime = null, DateTimeOffset? maxOperationModifiedDateTime = null, double? minArea = null, double? maxArea = null, IEnumerable ids = null, IEnumerable names = null, IEnumerable propertyFilters = null, IEnumerable statuses = null, DateTimeOffset? minCreatedDateTime = null, DateTimeOffset? maxCreatedDateTime = null, DateTimeOffset? minLastModifiedDateTime = null, DateTimeOffset? maxLastModifiedDateTime = null, int? maxPageSize = null, string skipToken = null, RequestOptions options = null) { var message = Pipeline.CreateMessage(); var request = message.Request; @@ -648,23 +648,23 @@ private HttpMessage CreateListRequest(double? minAvgMaterial = null, double? max /// Get a specified application data resource under a particular farmer. /// ID of the associated farmer resource. /// ID of the application data resource. - /// The request options. + /// The request options. #pragma warning disable AZC0002 - public virtual async Task GetAsync(string farmerId, string applicationDataId, RequestOptions requestOptions = null) + public virtual async Task GetAsync(string farmerId, string applicationDataId, RequestOptions options = null) #pragma warning restore AZC0002 { - requestOptions ??= new RequestOptions(); - HttpMessage message = CreateGetRequest(farmerId, applicationDataId, requestOptions); - if (requestOptions.PerCallPolicy != null) + options ??= new RequestOptions(); + HttpMessage message = CreateGetRequest(farmerId, applicationDataId, options); + if (options.PerCallPolicy != null) { - message.SetProperty("RequestOptionsPerCallPolicyCallback", requestOptions.PerCallPolicy); + message.SetProperty("RequestOptionsPerCallPolicyCallback", options.PerCallPolicy); } using var scope = _clientDiagnostics.CreateScope("ApplicationDataClient.Get"); scope.Start(); try { - await Pipeline.SendAsync(message, requestOptions.CancellationToken).ConfigureAwait(false); - if (requestOptions.StatusOption == ResponseStatusOption.Default) + await Pipeline.SendAsync(message, options.CancellationToken).ConfigureAwait(false); + if (options.StatusOption == ResponseStatusOption.Default) { switch (message.Response.Status) { @@ -689,23 +689,23 @@ public virtual async Task GetAsync(string farmerId, string application /// Get a specified application data resource under a particular farmer. /// ID of the associated farmer resource. /// ID of the application data resource. - /// The request options. + /// The request options. #pragma warning disable AZC0002 - public virtual Response Get(string farmerId, string applicationDataId, RequestOptions requestOptions = null) + public virtual Response Get(string farmerId, string applicationDataId, RequestOptions options = null) #pragma warning restore AZC0002 { - requestOptions ??= new RequestOptions(); - HttpMessage message = CreateGetRequest(farmerId, applicationDataId, requestOptions); - if (requestOptions.PerCallPolicy != null) + options ??= new RequestOptions(); + HttpMessage message = CreateGetRequest(farmerId, applicationDataId, options); + if (options.PerCallPolicy != null) { - message.SetProperty("RequestOptionsPerCallPolicyCallback", requestOptions.PerCallPolicy); + message.SetProperty("RequestOptionsPerCallPolicyCallback", options.PerCallPolicy); } using var scope = _clientDiagnostics.CreateScope("ApplicationDataClient.Get"); scope.Start(); try { - Pipeline.Send(message, requestOptions.CancellationToken); - if (requestOptions.StatusOption == ResponseStatusOption.Default) + Pipeline.Send(message, options.CancellationToken); + if (options.StatusOption == ResponseStatusOption.Default) { switch (message.Response.Status) { @@ -730,8 +730,8 @@ public virtual Response Get(string farmerId, string applicationDataId, RequestOp /// Create Request for and operations. /// ID of the associated farmer resource. /// ID of the application data resource. - /// The request options. - private HttpMessage CreateGetRequest(string farmerId, string applicationDataId, RequestOptions requestOptions = null) + /// The request options. + private HttpMessage CreateGetRequest(string farmerId, string applicationDataId, RequestOptions options = null) { var message = Pipeline.CreateMessage(); var request = message.Request; @@ -752,12 +752,12 @@ private HttpMessage CreateGetRequest(string farmerId, string applicationDataId, /// /// Schema for Request Body: /// - /// + /// /// Name /// Type /// Required /// Description - /// + /// /// /// applicationProductDetails /// ApplicationProductDetail[] @@ -893,12 +893,12 @@ private HttpMessage CreateGetRequest(string farmerId, string applicationDataId, /// /// Schema for Measure: /// - /// + /// /// Name /// Type /// Required /// Description - /// + /// /// /// unit /// string @@ -914,12 +914,12 @@ private HttpMessage CreateGetRequest(string farmerId, string applicationDataId, /// /// Schema for ApplicationProductDetail: /// - /// + /// /// Name /// Type /// Required /// Description - /// + /// /// /// productName /// string @@ -948,24 +948,24 @@ private HttpMessage CreateGetRequest(string farmerId, string applicationDataId, /// /// ID of the associated farmer. /// ID of the application data resource. - /// The request body. - /// The request options. + /// The content to send as the body of the request. + /// The request options. #pragma warning disable AZC0002 - public virtual async Task CreateOrUpdateAsync(string farmerId, string applicationDataId, RequestContent requestBody, RequestOptions requestOptions = null) + public virtual async Task CreateOrUpdateAsync(string farmerId, string applicationDataId, RequestContent content, RequestOptions options = null) #pragma warning restore AZC0002 { - requestOptions ??= new RequestOptions(); - HttpMessage message = CreateCreateOrUpdateRequest(farmerId, applicationDataId, requestBody, requestOptions); - if (requestOptions.PerCallPolicy != null) + options ??= new RequestOptions(); + HttpMessage message = CreateCreateOrUpdateRequest(farmerId, applicationDataId, content, options); + if (options.PerCallPolicy != null) { - message.SetProperty("RequestOptionsPerCallPolicyCallback", requestOptions.PerCallPolicy); + message.SetProperty("RequestOptionsPerCallPolicyCallback", options.PerCallPolicy); } using var scope = _clientDiagnostics.CreateScope("ApplicationDataClient.CreateOrUpdate"); scope.Start(); try { - await Pipeline.SendAsync(message, requestOptions.CancellationToken).ConfigureAwait(false); - if (requestOptions.StatusOption == ResponseStatusOption.Default) + await Pipeline.SendAsync(message, options.CancellationToken).ConfigureAwait(false); + if (options.StatusOption == ResponseStatusOption.Default) { switch (message.Response.Status) { @@ -992,12 +992,12 @@ public virtual async Task CreateOrUpdateAsync(string farmerId, string /// /// Schema for Request Body: /// - /// + /// /// Name /// Type /// Required /// Description - /// + /// /// /// applicationProductDetails /// ApplicationProductDetail[] @@ -1133,12 +1133,12 @@ public virtual async Task CreateOrUpdateAsync(string farmerId, string /// /// Schema for Measure: /// - /// + /// /// Name /// Type /// Required /// Description - /// + /// /// /// unit /// string @@ -1154,12 +1154,12 @@ public virtual async Task CreateOrUpdateAsync(string farmerId, string /// /// Schema for ApplicationProductDetail: /// - /// + /// /// Name /// Type /// Required /// Description - /// + /// /// /// productName /// string @@ -1188,24 +1188,24 @@ public virtual async Task CreateOrUpdateAsync(string farmerId, string /// /// ID of the associated farmer. /// ID of the application data resource. - /// The request body. - /// The request options. + /// The content to send as the body of the request. + /// The request options. #pragma warning disable AZC0002 - public virtual Response CreateOrUpdate(string farmerId, string applicationDataId, RequestContent requestBody, RequestOptions requestOptions = null) + public virtual Response CreateOrUpdate(string farmerId, string applicationDataId, RequestContent content, RequestOptions options = null) #pragma warning restore AZC0002 { - requestOptions ??= new RequestOptions(); - HttpMessage message = CreateCreateOrUpdateRequest(farmerId, applicationDataId, requestBody, requestOptions); - if (requestOptions.PerCallPolicy != null) + options ??= new RequestOptions(); + HttpMessage message = CreateCreateOrUpdateRequest(farmerId, applicationDataId, content, options); + if (options.PerCallPolicy != null) { - message.SetProperty("RequestOptionsPerCallPolicyCallback", requestOptions.PerCallPolicy); + message.SetProperty("RequestOptionsPerCallPolicyCallback", options.PerCallPolicy); } using var scope = _clientDiagnostics.CreateScope("ApplicationDataClient.CreateOrUpdate"); scope.Start(); try { - Pipeline.Send(message, requestOptions.CancellationToken); - if (requestOptions.StatusOption == ResponseStatusOption.Default) + Pipeline.Send(message, options.CancellationToken); + if (options.StatusOption == ResponseStatusOption.Default) { switch (message.Response.Status) { @@ -1231,9 +1231,9 @@ public virtual Response CreateOrUpdate(string farmerId, string applicationDataId /// Create Request for and operations. /// ID of the associated farmer. /// ID of the application data resource. - /// The request body. - /// The request options. - private HttpMessage CreateCreateOrUpdateRequest(string farmerId, string applicationDataId, RequestContent requestBody, RequestOptions requestOptions = null) + /// The content to send as the body of the request. + /// The request options. + private HttpMessage CreateCreateOrUpdateRequest(string farmerId, string applicationDataId, RequestContent content, RequestOptions options = null) { var message = Pipeline.CreateMessage(); var request = message.Request; @@ -1248,30 +1248,30 @@ private HttpMessage CreateCreateOrUpdateRequest(string farmerId, string applicat request.Uri = uri; request.Headers.Add("Accept", "application/json"); request.Headers.Add("Content-Type", "application/merge-patch+json"); - request.Content = requestBody; + request.Content = content; return message; } /// Deletes a specified application data resource under a particular farmer. /// ID of the associated farmer resource. /// ID of the application data. - /// The request options. + /// The request options. #pragma warning disable AZC0002 - public virtual async Task DeleteAsync(string farmerId, string applicationDataId, RequestOptions requestOptions = null) + public virtual async Task DeleteAsync(string farmerId, string applicationDataId, RequestOptions options = null) #pragma warning restore AZC0002 { - requestOptions ??= new RequestOptions(); - HttpMessage message = CreateDeleteRequest(farmerId, applicationDataId, requestOptions); - if (requestOptions.PerCallPolicy != null) + options ??= new RequestOptions(); + HttpMessage message = CreateDeleteRequest(farmerId, applicationDataId, options); + if (options.PerCallPolicy != null) { - message.SetProperty("RequestOptionsPerCallPolicyCallback", requestOptions.PerCallPolicy); + message.SetProperty("RequestOptionsPerCallPolicyCallback", options.PerCallPolicy); } using var scope = _clientDiagnostics.CreateScope("ApplicationDataClient.Delete"); scope.Start(); try { - await Pipeline.SendAsync(message, requestOptions.CancellationToken).ConfigureAwait(false); - if (requestOptions.StatusOption == ResponseStatusOption.Default) + await Pipeline.SendAsync(message, options.CancellationToken).ConfigureAwait(false); + if (options.StatusOption == ResponseStatusOption.Default) { switch (message.Response.Status) { @@ -1296,23 +1296,23 @@ public virtual async Task DeleteAsync(string farmerId, string applicat /// Deletes a specified application data resource under a particular farmer. /// ID of the associated farmer resource. /// ID of the application data. - /// The request options. + /// The request options. #pragma warning disable AZC0002 - public virtual Response Delete(string farmerId, string applicationDataId, RequestOptions requestOptions = null) + public virtual Response Delete(string farmerId, string applicationDataId, RequestOptions options = null) #pragma warning restore AZC0002 { - requestOptions ??= new RequestOptions(); - HttpMessage message = CreateDeleteRequest(farmerId, applicationDataId, requestOptions); - if (requestOptions.PerCallPolicy != null) + options ??= new RequestOptions(); + HttpMessage message = CreateDeleteRequest(farmerId, applicationDataId, options); + if (options.PerCallPolicy != null) { - message.SetProperty("RequestOptionsPerCallPolicyCallback", requestOptions.PerCallPolicy); + message.SetProperty("RequestOptionsPerCallPolicyCallback", options.PerCallPolicy); } using var scope = _clientDiagnostics.CreateScope("ApplicationDataClient.Delete"); scope.Start(); try { - Pipeline.Send(message, requestOptions.CancellationToken); - if (requestOptions.StatusOption == ResponseStatusOption.Default) + Pipeline.Send(message, options.CancellationToken); + if (options.StatusOption == ResponseStatusOption.Default) { switch (message.Response.Status) { @@ -1337,8 +1337,8 @@ public virtual Response Delete(string farmerId, string applicationDataId, Reques /// Create Request for and operations. /// ID of the associated farmer resource. /// ID of the application data. - /// The request options. - private HttpMessage CreateDeleteRequest(string farmerId, string applicationDataId, RequestOptions requestOptions = null) + /// The request options. + private HttpMessage CreateDeleteRequest(string farmerId, string applicationDataId, RequestOptions options = null) { var message = Pipeline.CreateMessage(); var request = message.Request; diff --git a/sdk/agrifood/Azure.Verticals.AgriFood.Farming/src/Generated/AttachmentsClient.cs b/sdk/agrifood/Azure.Verticals.AgriFood.Farming/src/Generated/AttachmentsClient.cs index f90a154d0d79..08b667ebcea7 100644 --- a/sdk/agrifood/Azure.Verticals.AgriFood.Farming/src/Generated/AttachmentsClient.cs +++ b/sdk/agrifood/Azure.Verticals.AgriFood.Farming/src/Generated/AttachmentsClient.cs @@ -76,23 +76,23 @@ public AttachmentsClient(Uri endpoint, TokenCredential credential, FarmBeatsClie /// Minimum = 10, Maximum = 1000, Default value = 50. /// /// Skip token for getting next set of results. - /// The request options. + /// The request options. #pragma warning disable AZC0002 - public virtual async Task ListByFarmerIdAsync(string farmerId, IEnumerable resourceIds = null, IEnumerable resourceTypes = null, IEnumerable ids = null, IEnumerable names = null, IEnumerable propertyFilters = null, IEnumerable statuses = null, DateTimeOffset? minCreatedDateTime = null, DateTimeOffset? maxCreatedDateTime = null, DateTimeOffset? minLastModifiedDateTime = null, DateTimeOffset? maxLastModifiedDateTime = null, int? maxPageSize = null, string skipToken = null, RequestOptions requestOptions = null) + public virtual async Task ListByFarmerIdAsync(string farmerId, IEnumerable resourceIds = null, IEnumerable resourceTypes = null, IEnumerable ids = null, IEnumerable names = null, IEnumerable propertyFilters = null, IEnumerable statuses = null, DateTimeOffset? minCreatedDateTime = null, DateTimeOffset? maxCreatedDateTime = null, DateTimeOffset? minLastModifiedDateTime = null, DateTimeOffset? maxLastModifiedDateTime = null, int? maxPageSize = null, string skipToken = null, RequestOptions options = null) #pragma warning restore AZC0002 { - requestOptions ??= new RequestOptions(); - HttpMessage message = CreateListByFarmerIdRequest(farmerId, resourceIds, resourceTypes, ids, names, propertyFilters, statuses, minCreatedDateTime, maxCreatedDateTime, minLastModifiedDateTime, maxLastModifiedDateTime, maxPageSize, skipToken, requestOptions); - if (requestOptions.PerCallPolicy != null) + options ??= new RequestOptions(); + HttpMessage message = CreateListByFarmerIdRequest(farmerId, resourceIds, resourceTypes, ids, names, propertyFilters, statuses, minCreatedDateTime, maxCreatedDateTime, minLastModifiedDateTime, maxLastModifiedDateTime, maxPageSize, skipToken, options); + if (options.PerCallPolicy != null) { - message.SetProperty("RequestOptionsPerCallPolicyCallback", requestOptions.PerCallPolicy); + message.SetProperty("RequestOptionsPerCallPolicyCallback", options.PerCallPolicy); } using var scope = _clientDiagnostics.CreateScope("AttachmentsClient.ListByFarmerId"); scope.Start(); try { - await Pipeline.SendAsync(message, requestOptions.CancellationToken).ConfigureAwait(false); - if (requestOptions.StatusOption == ResponseStatusOption.Default) + await Pipeline.SendAsync(message, options.CancellationToken).ConfigureAwait(false); + if (options.StatusOption == ResponseStatusOption.Default) { switch (message.Response.Status) { @@ -136,23 +136,23 @@ public virtual async Task ListByFarmerIdAsync(string farmerId, IEnumer /// Minimum = 10, Maximum = 1000, Default value = 50. /// /// Skip token for getting next set of results. - /// The request options. + /// The request options. #pragma warning disable AZC0002 - public virtual Response ListByFarmerId(string farmerId, IEnumerable resourceIds = null, IEnumerable resourceTypes = null, IEnumerable ids = null, IEnumerable names = null, IEnumerable propertyFilters = null, IEnumerable statuses = null, DateTimeOffset? minCreatedDateTime = null, DateTimeOffset? maxCreatedDateTime = null, DateTimeOffset? minLastModifiedDateTime = null, DateTimeOffset? maxLastModifiedDateTime = null, int? maxPageSize = null, string skipToken = null, RequestOptions requestOptions = null) + public virtual Response ListByFarmerId(string farmerId, IEnumerable resourceIds = null, IEnumerable resourceTypes = null, IEnumerable ids = null, IEnumerable names = null, IEnumerable propertyFilters = null, IEnumerable statuses = null, DateTimeOffset? minCreatedDateTime = null, DateTimeOffset? maxCreatedDateTime = null, DateTimeOffset? minLastModifiedDateTime = null, DateTimeOffset? maxLastModifiedDateTime = null, int? maxPageSize = null, string skipToken = null, RequestOptions options = null) #pragma warning restore AZC0002 { - requestOptions ??= new RequestOptions(); - HttpMessage message = CreateListByFarmerIdRequest(farmerId, resourceIds, resourceTypes, ids, names, propertyFilters, statuses, minCreatedDateTime, maxCreatedDateTime, minLastModifiedDateTime, maxLastModifiedDateTime, maxPageSize, skipToken, requestOptions); - if (requestOptions.PerCallPolicy != null) + options ??= new RequestOptions(); + HttpMessage message = CreateListByFarmerIdRequest(farmerId, resourceIds, resourceTypes, ids, names, propertyFilters, statuses, minCreatedDateTime, maxCreatedDateTime, minLastModifiedDateTime, maxLastModifiedDateTime, maxPageSize, skipToken, options); + if (options.PerCallPolicy != null) { - message.SetProperty("RequestOptionsPerCallPolicyCallback", requestOptions.PerCallPolicy); + message.SetProperty("RequestOptionsPerCallPolicyCallback", options.PerCallPolicy); } using var scope = _clientDiagnostics.CreateScope("AttachmentsClient.ListByFarmerId"); scope.Start(); try { - Pipeline.Send(message, requestOptions.CancellationToken); - if (requestOptions.StatusOption == ResponseStatusOption.Default) + Pipeline.Send(message, options.CancellationToken); + if (options.StatusOption == ResponseStatusOption.Default) { switch (message.Response.Status) { @@ -196,8 +196,8 @@ public virtual Response ListByFarmerId(string farmerId, IEnumerable reso /// Minimum = 10, Maximum = 1000, Default value = 50. /// /// Skip token for getting next set of results. - /// The request options. - private HttpMessage CreateListByFarmerIdRequest(string farmerId, IEnumerable resourceIds = null, IEnumerable resourceTypes = null, IEnumerable ids = null, IEnumerable names = null, IEnumerable propertyFilters = null, IEnumerable statuses = null, DateTimeOffset? minCreatedDateTime = null, DateTimeOffset? maxCreatedDateTime = null, DateTimeOffset? minLastModifiedDateTime = null, DateTimeOffset? maxLastModifiedDateTime = null, int? maxPageSize = null, string skipToken = null, RequestOptions requestOptions = null) + /// The request options. + private HttpMessage CreateListByFarmerIdRequest(string farmerId, IEnumerable resourceIds = null, IEnumerable resourceTypes = null, IEnumerable ids = null, IEnumerable names = null, IEnumerable propertyFilters = null, IEnumerable statuses = null, DateTimeOffset? minCreatedDateTime = null, DateTimeOffset? maxCreatedDateTime = null, DateTimeOffset? minLastModifiedDateTime = null, DateTimeOffset? maxLastModifiedDateTime = null, int? maxPageSize = null, string skipToken = null, RequestOptions options = null) { var message = Pipeline.CreateMessage(); var request = message.Request; @@ -264,23 +264,23 @@ private HttpMessage CreateListByFarmerIdRequest(string farmerId, IEnumerable Gets a specified attachment resource under a particular farmer. /// ID of the associated farmer. /// ID of the attachment. - /// The request options. + /// The request options. #pragma warning disable AZC0002 - public virtual async Task GetAsync(string farmerId, string attachmentId, RequestOptions requestOptions = null) + public virtual async Task GetAsync(string farmerId, string attachmentId, RequestOptions options = null) #pragma warning restore AZC0002 { - requestOptions ??= new RequestOptions(); - HttpMessage message = CreateGetRequest(farmerId, attachmentId, requestOptions); - if (requestOptions.PerCallPolicy != null) + options ??= new RequestOptions(); + HttpMessage message = CreateGetRequest(farmerId, attachmentId, options); + if (options.PerCallPolicy != null) { - message.SetProperty("RequestOptionsPerCallPolicyCallback", requestOptions.PerCallPolicy); + message.SetProperty("RequestOptionsPerCallPolicyCallback", options.PerCallPolicy); } using var scope = _clientDiagnostics.CreateScope("AttachmentsClient.Get"); scope.Start(); try { - await Pipeline.SendAsync(message, requestOptions.CancellationToken).ConfigureAwait(false); - if (requestOptions.StatusOption == ResponseStatusOption.Default) + await Pipeline.SendAsync(message, options.CancellationToken).ConfigureAwait(false); + if (options.StatusOption == ResponseStatusOption.Default) { switch (message.Response.Status) { @@ -305,23 +305,23 @@ public virtual async Task GetAsync(string farmerId, string attachmentI /// Gets a specified attachment resource under a particular farmer. /// ID of the associated farmer. /// ID of the attachment. - /// The request options. + /// The request options. #pragma warning disable AZC0002 - public virtual Response Get(string farmerId, string attachmentId, RequestOptions requestOptions = null) + public virtual Response Get(string farmerId, string attachmentId, RequestOptions options = null) #pragma warning restore AZC0002 { - requestOptions ??= new RequestOptions(); - HttpMessage message = CreateGetRequest(farmerId, attachmentId, requestOptions); - if (requestOptions.PerCallPolicy != null) + options ??= new RequestOptions(); + HttpMessage message = CreateGetRequest(farmerId, attachmentId, options); + if (options.PerCallPolicy != null) { - message.SetProperty("RequestOptionsPerCallPolicyCallback", requestOptions.PerCallPolicy); + message.SetProperty("RequestOptionsPerCallPolicyCallback", options.PerCallPolicy); } using var scope = _clientDiagnostics.CreateScope("AttachmentsClient.Get"); scope.Start(); try { - Pipeline.Send(message, requestOptions.CancellationToken); - if (requestOptions.StatusOption == ResponseStatusOption.Default) + Pipeline.Send(message, options.CancellationToken); + if (options.StatusOption == ResponseStatusOption.Default) { switch (message.Response.Status) { @@ -346,8 +346,8 @@ public virtual Response Get(string farmerId, string attachmentId, RequestOptions /// Create Request for and operations. /// ID of the associated farmer. /// ID of the attachment. - /// The request options. - private HttpMessage CreateGetRequest(string farmerId, string attachmentId, RequestOptions requestOptions = null) + /// The request options. + private HttpMessage CreateGetRequest(string farmerId, string attachmentId, RequestOptions options = null) { var message = Pipeline.CreateMessage(); var request = message.Request; @@ -367,24 +367,24 @@ private HttpMessage CreateGetRequest(string farmerId, string attachmentId, Reque /// Creates or updates an attachment resource under a particular farmer. /// ID of the associated farmer resource. /// ID of the attachment resource. - /// The request body. - /// The request options. + /// The content to send as the body of the request. + /// The request options. #pragma warning disable AZC0002 - public virtual async Task CreateOrUpdateAsync(string farmerId, string attachmentId, RequestContent requestBody, RequestOptions requestOptions = null) + public virtual async Task CreateOrUpdateAsync(string farmerId, string attachmentId, RequestContent content, RequestOptions options = null) #pragma warning restore AZC0002 { - requestOptions ??= new RequestOptions(); - HttpMessage message = CreateCreateOrUpdateRequest(farmerId, attachmentId, requestBody, requestOptions); - if (requestOptions.PerCallPolicy != null) + options ??= new RequestOptions(); + HttpMessage message = CreateCreateOrUpdateRequest(farmerId, attachmentId, content, options); + if (options.PerCallPolicy != null) { - message.SetProperty("RequestOptionsPerCallPolicyCallback", requestOptions.PerCallPolicy); + message.SetProperty("RequestOptionsPerCallPolicyCallback", options.PerCallPolicy); } using var scope = _clientDiagnostics.CreateScope("AttachmentsClient.CreateOrUpdate"); scope.Start(); try { - await Pipeline.SendAsync(message, requestOptions.CancellationToken).ConfigureAwait(false); - if (requestOptions.StatusOption == ResponseStatusOption.Default) + await Pipeline.SendAsync(message, options.CancellationToken).ConfigureAwait(false); + if (options.StatusOption == ResponseStatusOption.Default) { switch (message.Response.Status) { @@ -410,24 +410,24 @@ public virtual async Task CreateOrUpdateAsync(string farmerId, string /// Creates or updates an attachment resource under a particular farmer. /// ID of the associated farmer resource. /// ID of the attachment resource. - /// The request body. - /// The request options. + /// The content to send as the body of the request. + /// The request options. #pragma warning disable AZC0002 - public virtual Response CreateOrUpdate(string farmerId, string attachmentId, RequestContent requestBody, RequestOptions requestOptions = null) + public virtual Response CreateOrUpdate(string farmerId, string attachmentId, RequestContent content, RequestOptions options = null) #pragma warning restore AZC0002 { - requestOptions ??= new RequestOptions(); - HttpMessage message = CreateCreateOrUpdateRequest(farmerId, attachmentId, requestBody, requestOptions); - if (requestOptions.PerCallPolicy != null) + options ??= new RequestOptions(); + HttpMessage message = CreateCreateOrUpdateRequest(farmerId, attachmentId, content, options); + if (options.PerCallPolicy != null) { - message.SetProperty("RequestOptionsPerCallPolicyCallback", requestOptions.PerCallPolicy); + message.SetProperty("RequestOptionsPerCallPolicyCallback", options.PerCallPolicy); } using var scope = _clientDiagnostics.CreateScope("AttachmentsClient.CreateOrUpdate"); scope.Start(); try { - Pipeline.Send(message, requestOptions.CancellationToken); - if (requestOptions.StatusOption == ResponseStatusOption.Default) + Pipeline.Send(message, options.CancellationToken); + if (options.StatusOption == ResponseStatusOption.Default) { switch (message.Response.Status) { @@ -453,9 +453,9 @@ public virtual Response CreateOrUpdate(string farmerId, string attachmentId, Req /// Create Request for and operations. /// ID of the associated farmer resource. /// ID of the attachment resource. - /// The request body. - /// The request options. - private HttpMessage CreateCreateOrUpdateRequest(string farmerId, string attachmentId, RequestContent requestBody, RequestOptions requestOptions = null) + /// The content to send as the body of the request. + /// The request options. + private HttpMessage CreateCreateOrUpdateRequest(string farmerId, string attachmentId, RequestContent content, RequestOptions options = null) { var message = Pipeline.CreateMessage(); var request = message.Request; @@ -470,30 +470,30 @@ private HttpMessage CreateCreateOrUpdateRequest(string farmerId, string attachme request.Uri = uri; request.Headers.Add("Accept", "application/json"); request.Headers.Add("Content-Type", "multipart/form-data"); - request.Content = requestBody; + request.Content = content; return message; } /// Deletes a specified attachment resource under a particular farmer. /// ID of the farmer. /// ID of the attachment. - /// The request options. + /// The request options. #pragma warning disable AZC0002 - public virtual async Task DeleteAsync(string farmerId, string attachmentId, RequestOptions requestOptions = null) + public virtual async Task DeleteAsync(string farmerId, string attachmentId, RequestOptions options = null) #pragma warning restore AZC0002 { - requestOptions ??= new RequestOptions(); - HttpMessage message = CreateDeleteRequest(farmerId, attachmentId, requestOptions); - if (requestOptions.PerCallPolicy != null) + options ??= new RequestOptions(); + HttpMessage message = CreateDeleteRequest(farmerId, attachmentId, options); + if (options.PerCallPolicy != null) { - message.SetProperty("RequestOptionsPerCallPolicyCallback", requestOptions.PerCallPolicy); + message.SetProperty("RequestOptionsPerCallPolicyCallback", options.PerCallPolicy); } using var scope = _clientDiagnostics.CreateScope("AttachmentsClient.Delete"); scope.Start(); try { - await Pipeline.SendAsync(message, requestOptions.CancellationToken).ConfigureAwait(false); - if (requestOptions.StatusOption == ResponseStatusOption.Default) + await Pipeline.SendAsync(message, options.CancellationToken).ConfigureAwait(false); + if (options.StatusOption == ResponseStatusOption.Default) { switch (message.Response.Status) { @@ -518,23 +518,23 @@ public virtual async Task DeleteAsync(string farmerId, string attachme /// Deletes a specified attachment resource under a particular farmer. /// ID of the farmer. /// ID of the attachment. - /// The request options. + /// The request options. #pragma warning disable AZC0002 - public virtual Response Delete(string farmerId, string attachmentId, RequestOptions requestOptions = null) + public virtual Response Delete(string farmerId, string attachmentId, RequestOptions options = null) #pragma warning restore AZC0002 { - requestOptions ??= new RequestOptions(); - HttpMessage message = CreateDeleteRequest(farmerId, attachmentId, requestOptions); - if (requestOptions.PerCallPolicy != null) + options ??= new RequestOptions(); + HttpMessage message = CreateDeleteRequest(farmerId, attachmentId, options); + if (options.PerCallPolicy != null) { - message.SetProperty("RequestOptionsPerCallPolicyCallback", requestOptions.PerCallPolicy); + message.SetProperty("RequestOptionsPerCallPolicyCallback", options.PerCallPolicy); } using var scope = _clientDiagnostics.CreateScope("AttachmentsClient.Delete"); scope.Start(); try { - Pipeline.Send(message, requestOptions.CancellationToken); - if (requestOptions.StatusOption == ResponseStatusOption.Default) + Pipeline.Send(message, options.CancellationToken); + if (options.StatusOption == ResponseStatusOption.Default) { switch (message.Response.Status) { @@ -559,8 +559,8 @@ public virtual Response Delete(string farmerId, string attachmentId, RequestOpti /// Create Request for and operations. /// ID of the farmer. /// ID of the attachment. - /// The request options. - private HttpMessage CreateDeleteRequest(string farmerId, string attachmentId, RequestOptions requestOptions = null) + /// The request options. + private HttpMessage CreateDeleteRequest(string farmerId, string attachmentId, RequestOptions options = null) { var message = Pipeline.CreateMessage(); var request = message.Request; @@ -580,23 +580,23 @@ private HttpMessage CreateDeleteRequest(string farmerId, string attachmentId, Re /// Downloads and returns attachment as response for the given input filePath. /// ID of the associated farmer. /// ID of attachment to be downloaded. - /// The request options. + /// The request options. #pragma warning disable AZC0002 - public virtual async Task DownloadAsync(string farmerId, string attachmentId, RequestOptions requestOptions = null) + public virtual async Task DownloadAsync(string farmerId, string attachmentId, RequestOptions options = null) #pragma warning restore AZC0002 { - requestOptions ??= new RequestOptions(); - HttpMessage message = CreateDownloadRequest(farmerId, attachmentId, requestOptions); - if (requestOptions.PerCallPolicy != null) + options ??= new RequestOptions(); + HttpMessage message = CreateDownloadRequest(farmerId, attachmentId, options); + if (options.PerCallPolicy != null) { - message.SetProperty("RequestOptionsPerCallPolicyCallback", requestOptions.PerCallPolicy); + message.SetProperty("RequestOptionsPerCallPolicyCallback", options.PerCallPolicy); } using var scope = _clientDiagnostics.CreateScope("AttachmentsClient.Download"); scope.Start(); try { - await Pipeline.SendAsync(message, requestOptions.CancellationToken).ConfigureAwait(false); - if (requestOptions.StatusOption == ResponseStatusOption.Default) + await Pipeline.SendAsync(message, options.CancellationToken).ConfigureAwait(false); + if (options.StatusOption == ResponseStatusOption.Default) { switch (message.Response.Status) { @@ -621,23 +621,23 @@ public virtual async Task DownloadAsync(string farmerId, string attach /// Downloads and returns attachment as response for the given input filePath. /// ID of the associated farmer. /// ID of attachment to be downloaded. - /// The request options. + /// The request options. #pragma warning disable AZC0002 - public virtual Response Download(string farmerId, string attachmentId, RequestOptions requestOptions = null) + public virtual Response Download(string farmerId, string attachmentId, RequestOptions options = null) #pragma warning restore AZC0002 { - requestOptions ??= new RequestOptions(); - HttpMessage message = CreateDownloadRequest(farmerId, attachmentId, requestOptions); - if (requestOptions.PerCallPolicy != null) + options ??= new RequestOptions(); + HttpMessage message = CreateDownloadRequest(farmerId, attachmentId, options); + if (options.PerCallPolicy != null) { - message.SetProperty("RequestOptionsPerCallPolicyCallback", requestOptions.PerCallPolicy); + message.SetProperty("RequestOptionsPerCallPolicyCallback", options.PerCallPolicy); } using var scope = _clientDiagnostics.CreateScope("AttachmentsClient.Download"); scope.Start(); try { - Pipeline.Send(message, requestOptions.CancellationToken); - if (requestOptions.StatusOption == ResponseStatusOption.Default) + Pipeline.Send(message, options.CancellationToken); + if (options.StatusOption == ResponseStatusOption.Default) { switch (message.Response.Status) { @@ -662,8 +662,8 @@ public virtual Response Download(string farmerId, string attachmentId, RequestOp /// Create Request for and operations. /// ID of the associated farmer. /// ID of attachment to be downloaded. - /// The request options. - private HttpMessage CreateDownloadRequest(string farmerId, string attachmentId, RequestOptions requestOptions = null) + /// The request options. + private HttpMessage CreateDownloadRequest(string farmerId, string attachmentId, RequestOptions options = null) { var message = Pipeline.CreateMessage(); var request = message.Request; diff --git a/sdk/agrifood/Azure.Verticals.AgriFood.Farming/src/Generated/BoundariesClient.cs b/sdk/agrifood/Azure.Verticals.AgriFood.Farming/src/Generated/BoundariesClient.cs index 371f16436a7b..a457ec4a8b82 100644 --- a/sdk/agrifood/Azure.Verticals.AgriFood.Farming/src/Generated/BoundariesClient.cs +++ b/sdk/agrifood/Azure.Verticals.AgriFood.Farming/src/Generated/BoundariesClient.cs @@ -79,23 +79,23 @@ public BoundariesClient(Uri endpoint, TokenCredential credential, FarmBeatsClien /// Minimum = 10, Maximum = 1000, Default value = 50. /// /// Skip token for getting next set of results. - /// The request options. + /// The request options. #pragma warning disable AZC0002 - public virtual async Task ListByFarmerIdAsync(string farmerId, bool? isPrimary = null, string parentType = null, IEnumerable parentIds = null, double? minAcreage = null, double? maxAcreage = null, IEnumerable ids = null, IEnumerable names = null, IEnumerable propertyFilters = null, IEnumerable statuses = null, DateTimeOffset? minCreatedDateTime = null, DateTimeOffset? maxCreatedDateTime = null, DateTimeOffset? minLastModifiedDateTime = null, DateTimeOffset? maxLastModifiedDateTime = null, int? maxPageSize = null, string skipToken = null, RequestOptions requestOptions = null) + public virtual async Task ListByFarmerIdAsync(string farmerId, bool? isPrimary = null, string parentType = null, IEnumerable parentIds = null, double? minAcreage = null, double? maxAcreage = null, IEnumerable ids = null, IEnumerable names = null, IEnumerable propertyFilters = null, IEnumerable statuses = null, DateTimeOffset? minCreatedDateTime = null, DateTimeOffset? maxCreatedDateTime = null, DateTimeOffset? minLastModifiedDateTime = null, DateTimeOffset? maxLastModifiedDateTime = null, int? maxPageSize = null, string skipToken = null, RequestOptions options = null) #pragma warning restore AZC0002 { - requestOptions ??= new RequestOptions(); - HttpMessage message = CreateListByFarmerIdRequest(farmerId, isPrimary, parentType, parentIds, minAcreage, maxAcreage, ids, names, propertyFilters, statuses, minCreatedDateTime, maxCreatedDateTime, minLastModifiedDateTime, maxLastModifiedDateTime, maxPageSize, skipToken, requestOptions); - if (requestOptions.PerCallPolicy != null) + options ??= new RequestOptions(); + HttpMessage message = CreateListByFarmerIdRequest(farmerId, isPrimary, parentType, parentIds, minAcreage, maxAcreage, ids, names, propertyFilters, statuses, minCreatedDateTime, maxCreatedDateTime, minLastModifiedDateTime, maxLastModifiedDateTime, maxPageSize, skipToken, options); + if (options.PerCallPolicy != null) { - message.SetProperty("RequestOptionsPerCallPolicyCallback", requestOptions.PerCallPolicy); + message.SetProperty("RequestOptionsPerCallPolicyCallback", options.PerCallPolicy); } using var scope = _clientDiagnostics.CreateScope("BoundariesClient.ListByFarmerId"); scope.Start(); try { - await Pipeline.SendAsync(message, requestOptions.CancellationToken).ConfigureAwait(false); - if (requestOptions.StatusOption == ResponseStatusOption.Default) + await Pipeline.SendAsync(message, options.CancellationToken).ConfigureAwait(false); + if (options.StatusOption == ResponseStatusOption.Default) { switch (message.Response.Status) { @@ -142,23 +142,23 @@ public virtual async Task ListByFarmerIdAsync(string farmerId, bool? i /// Minimum = 10, Maximum = 1000, Default value = 50. /// /// Skip token for getting next set of results. - /// The request options. + /// The request options. #pragma warning disable AZC0002 - public virtual Response ListByFarmerId(string farmerId, bool? isPrimary = null, string parentType = null, IEnumerable parentIds = null, double? minAcreage = null, double? maxAcreage = null, IEnumerable ids = null, IEnumerable names = null, IEnumerable propertyFilters = null, IEnumerable statuses = null, DateTimeOffset? minCreatedDateTime = null, DateTimeOffset? maxCreatedDateTime = null, DateTimeOffset? minLastModifiedDateTime = null, DateTimeOffset? maxLastModifiedDateTime = null, int? maxPageSize = null, string skipToken = null, RequestOptions requestOptions = null) + public virtual Response ListByFarmerId(string farmerId, bool? isPrimary = null, string parentType = null, IEnumerable parentIds = null, double? minAcreage = null, double? maxAcreage = null, IEnumerable ids = null, IEnumerable names = null, IEnumerable propertyFilters = null, IEnumerable statuses = null, DateTimeOffset? minCreatedDateTime = null, DateTimeOffset? maxCreatedDateTime = null, DateTimeOffset? minLastModifiedDateTime = null, DateTimeOffset? maxLastModifiedDateTime = null, int? maxPageSize = null, string skipToken = null, RequestOptions options = null) #pragma warning restore AZC0002 { - requestOptions ??= new RequestOptions(); - HttpMessage message = CreateListByFarmerIdRequest(farmerId, isPrimary, parentType, parentIds, minAcreage, maxAcreage, ids, names, propertyFilters, statuses, minCreatedDateTime, maxCreatedDateTime, minLastModifiedDateTime, maxLastModifiedDateTime, maxPageSize, skipToken, requestOptions); - if (requestOptions.PerCallPolicy != null) + options ??= new RequestOptions(); + HttpMessage message = CreateListByFarmerIdRequest(farmerId, isPrimary, parentType, parentIds, minAcreage, maxAcreage, ids, names, propertyFilters, statuses, minCreatedDateTime, maxCreatedDateTime, minLastModifiedDateTime, maxLastModifiedDateTime, maxPageSize, skipToken, options); + if (options.PerCallPolicy != null) { - message.SetProperty("RequestOptionsPerCallPolicyCallback", requestOptions.PerCallPolicy); + message.SetProperty("RequestOptionsPerCallPolicyCallback", options.PerCallPolicy); } using var scope = _clientDiagnostics.CreateScope("BoundariesClient.ListByFarmerId"); scope.Start(); try { - Pipeline.Send(message, requestOptions.CancellationToken); - if (requestOptions.StatusOption == ResponseStatusOption.Default) + Pipeline.Send(message, options.CancellationToken); + if (options.StatusOption == ResponseStatusOption.Default) { switch (message.Response.Status) { @@ -205,8 +205,8 @@ public virtual Response ListByFarmerId(string farmerId, bool? isPrimary = null, /// Minimum = 10, Maximum = 1000, Default value = 50. /// /// Skip token for getting next set of results. - /// The request options. - private HttpMessage CreateListByFarmerIdRequest(string farmerId, bool? isPrimary = null, string parentType = null, IEnumerable parentIds = null, double? minAcreage = null, double? maxAcreage = null, IEnumerable ids = null, IEnumerable names = null, IEnumerable propertyFilters = null, IEnumerable statuses = null, DateTimeOffset? minCreatedDateTime = null, DateTimeOffset? maxCreatedDateTime = null, DateTimeOffset? minLastModifiedDateTime = null, DateTimeOffset? maxLastModifiedDateTime = null, int? maxPageSize = null, string skipToken = null, RequestOptions requestOptions = null) + /// The request options. + private HttpMessage CreateListByFarmerIdRequest(string farmerId, bool? isPrimary = null, string parentType = null, IEnumerable parentIds = null, double? minAcreage = null, double? maxAcreage = null, IEnumerable ids = null, IEnumerable names = null, IEnumerable propertyFilters = null, IEnumerable statuses = null, DateTimeOffset? minCreatedDateTime = null, DateTimeOffset? maxCreatedDateTime = null, DateTimeOffset? minLastModifiedDateTime = null, DateTimeOffset? maxLastModifiedDateTime = null, int? maxPageSize = null, string skipToken = null, RequestOptions options = null) { var message = Pipeline.CreateMessage(); var request = message.Request; @@ -286,12 +286,12 @@ private HttpMessage CreateListByFarmerIdRequest(string farmerId, bool? isPrimary /// /// Schema for Request Body: /// - /// + /// /// Name /// Type /// Required /// Description - /// + /// /// /// ids /// string[] @@ -399,12 +399,12 @@ private HttpMessage CreateListByFarmerIdRequest(string farmerId, bool? isPrimary /// /// Schema for GeoJsonObject: /// - /// + /// /// Name /// Type /// Required /// Description - /// + /// /// /// type /// "Point" | "Polygon" | "MultiPolygon" @@ -414,24 +414,24 @@ private HttpMessage CreateListByFarmerIdRequest(string farmerId, bool? isPrimary /// /// /// ID of the farmer. - /// The request body. - /// The request options. + /// The content to send as the body of the request. + /// The request options. #pragma warning disable AZC0002 - public virtual async Task SearchByFarmerIdAsync(string farmerId, RequestContent requestBody, RequestOptions requestOptions = null) + public virtual async Task SearchByFarmerIdAsync(string farmerId, RequestContent content, RequestOptions options = null) #pragma warning restore AZC0002 { - requestOptions ??= new RequestOptions(); - HttpMessage message = CreateSearchByFarmerIdRequest(farmerId, requestBody, requestOptions); - if (requestOptions.PerCallPolicy != null) + options ??= new RequestOptions(); + HttpMessage message = CreateSearchByFarmerIdRequest(farmerId, content, options); + if (options.PerCallPolicy != null) { - message.SetProperty("RequestOptionsPerCallPolicyCallback", requestOptions.PerCallPolicy); + message.SetProperty("RequestOptionsPerCallPolicyCallback", options.PerCallPolicy); } using var scope = _clientDiagnostics.CreateScope("BoundariesClient.SearchByFarmerId"); scope.Start(); try { - await Pipeline.SendAsync(message, requestOptions.CancellationToken).ConfigureAwait(false); - if (requestOptions.StatusOption == ResponseStatusOption.Default) + await Pipeline.SendAsync(message, options.CancellationToken).ConfigureAwait(false); + if (options.StatusOption == ResponseStatusOption.Default) { switch (message.Response.Status) { @@ -457,12 +457,12 @@ public virtual async Task SearchByFarmerIdAsync(string farmerId, Reque /// /// Schema for Request Body: /// - /// + /// /// Name /// Type /// Required /// Description - /// + /// /// /// ids /// string[] @@ -570,12 +570,12 @@ public virtual async Task SearchByFarmerIdAsync(string farmerId, Reque /// /// Schema for GeoJsonObject: /// - /// + /// /// Name /// Type /// Required /// Description - /// + /// /// /// type /// "Point" | "Polygon" | "MultiPolygon" @@ -585,24 +585,24 @@ public virtual async Task SearchByFarmerIdAsync(string farmerId, Reque /// /// /// ID of the farmer. - /// The request body. - /// The request options. + /// The content to send as the body of the request. + /// The request options. #pragma warning disable AZC0002 - public virtual Response SearchByFarmerId(string farmerId, RequestContent requestBody, RequestOptions requestOptions = null) + public virtual Response SearchByFarmerId(string farmerId, RequestContent content, RequestOptions options = null) #pragma warning restore AZC0002 { - requestOptions ??= new RequestOptions(); - HttpMessage message = CreateSearchByFarmerIdRequest(farmerId, requestBody, requestOptions); - if (requestOptions.PerCallPolicy != null) + options ??= new RequestOptions(); + HttpMessage message = CreateSearchByFarmerIdRequest(farmerId, content, options); + if (options.PerCallPolicy != null) { - message.SetProperty("RequestOptionsPerCallPolicyCallback", requestOptions.PerCallPolicy); + message.SetProperty("RequestOptionsPerCallPolicyCallback", options.PerCallPolicy); } using var scope = _clientDiagnostics.CreateScope("BoundariesClient.SearchByFarmerId"); scope.Start(); try { - Pipeline.Send(message, requestOptions.CancellationToken); - if (requestOptions.StatusOption == ResponseStatusOption.Default) + Pipeline.Send(message, options.CancellationToken); + if (options.StatusOption == ResponseStatusOption.Default) { switch (message.Response.Status) { @@ -626,9 +626,9 @@ public virtual Response SearchByFarmerId(string farmerId, RequestContent request /// Create Request for and operations. /// ID of the farmer. - /// The request body. - /// The request options. - private HttpMessage CreateSearchByFarmerIdRequest(string farmerId, RequestContent requestBody, RequestOptions requestOptions = null) + /// The content to send as the body of the request. + /// The request options. + private HttpMessage CreateSearchByFarmerIdRequest(string farmerId, RequestContent content, RequestOptions options = null) { var message = Pipeline.CreateMessage(); var request = message.Request; @@ -642,7 +642,7 @@ private HttpMessage CreateSearchByFarmerIdRequest(string farmerId, RequestConten request.Uri = uri; request.Headers.Add("Accept", "application/json"); request.Headers.Add("Content-Type", "application/json"); - request.Content = requestBody; + request.Content = content; return message; } @@ -670,23 +670,23 @@ private HttpMessage CreateSearchByFarmerIdRequest(string farmerId, RequestConten /// Minimum = 10, Maximum = 1000, Default value = 50. /// /// Skip token for getting next set of results. - /// The request options. + /// The request options. #pragma warning disable AZC0002 - public virtual async Task ListAsync(bool? isPrimary = null, string parentType = null, IEnumerable parentIds = null, double? minAcreage = null, double? maxAcreage = null, IEnumerable ids = null, IEnumerable names = null, IEnumerable propertyFilters = null, IEnumerable statuses = null, DateTimeOffset? minCreatedDateTime = null, DateTimeOffset? maxCreatedDateTime = null, DateTimeOffset? minLastModifiedDateTime = null, DateTimeOffset? maxLastModifiedDateTime = null, int? maxPageSize = null, string skipToken = null, RequestOptions requestOptions = null) + public virtual async Task ListAsync(bool? isPrimary = null, string parentType = null, IEnumerable parentIds = null, double? minAcreage = null, double? maxAcreage = null, IEnumerable ids = null, IEnumerable names = null, IEnumerable propertyFilters = null, IEnumerable statuses = null, DateTimeOffset? minCreatedDateTime = null, DateTimeOffset? maxCreatedDateTime = null, DateTimeOffset? minLastModifiedDateTime = null, DateTimeOffset? maxLastModifiedDateTime = null, int? maxPageSize = null, string skipToken = null, RequestOptions options = null) #pragma warning restore AZC0002 { - requestOptions ??= new RequestOptions(); - HttpMessage message = CreateListRequest(isPrimary, parentType, parentIds, minAcreage, maxAcreage, ids, names, propertyFilters, statuses, minCreatedDateTime, maxCreatedDateTime, minLastModifiedDateTime, maxLastModifiedDateTime, maxPageSize, skipToken, requestOptions); - if (requestOptions.PerCallPolicy != null) + options ??= new RequestOptions(); + HttpMessage message = CreateListRequest(isPrimary, parentType, parentIds, minAcreage, maxAcreage, ids, names, propertyFilters, statuses, minCreatedDateTime, maxCreatedDateTime, minLastModifiedDateTime, maxLastModifiedDateTime, maxPageSize, skipToken, options); + if (options.PerCallPolicy != null) { - message.SetProperty("RequestOptionsPerCallPolicyCallback", requestOptions.PerCallPolicy); + message.SetProperty("RequestOptionsPerCallPolicyCallback", options.PerCallPolicy); } using var scope = _clientDiagnostics.CreateScope("BoundariesClient.List"); scope.Start(); try { - await Pipeline.SendAsync(message, requestOptions.CancellationToken).ConfigureAwait(false); - if (requestOptions.StatusOption == ResponseStatusOption.Default) + await Pipeline.SendAsync(message, options.CancellationToken).ConfigureAwait(false); + if (options.StatusOption == ResponseStatusOption.Default) { switch (message.Response.Status) { @@ -732,23 +732,23 @@ public virtual async Task ListAsync(bool? isPrimary = null, string par /// Minimum = 10, Maximum = 1000, Default value = 50. /// /// Skip token for getting next set of results. - /// The request options. + /// The request options. #pragma warning disable AZC0002 - public virtual Response List(bool? isPrimary = null, string parentType = null, IEnumerable parentIds = null, double? minAcreage = null, double? maxAcreage = null, IEnumerable ids = null, IEnumerable names = null, IEnumerable propertyFilters = null, IEnumerable statuses = null, DateTimeOffset? minCreatedDateTime = null, DateTimeOffset? maxCreatedDateTime = null, DateTimeOffset? minLastModifiedDateTime = null, DateTimeOffset? maxLastModifiedDateTime = null, int? maxPageSize = null, string skipToken = null, RequestOptions requestOptions = null) + public virtual Response List(bool? isPrimary = null, string parentType = null, IEnumerable parentIds = null, double? minAcreage = null, double? maxAcreage = null, IEnumerable ids = null, IEnumerable names = null, IEnumerable propertyFilters = null, IEnumerable statuses = null, DateTimeOffset? minCreatedDateTime = null, DateTimeOffset? maxCreatedDateTime = null, DateTimeOffset? minLastModifiedDateTime = null, DateTimeOffset? maxLastModifiedDateTime = null, int? maxPageSize = null, string skipToken = null, RequestOptions options = null) #pragma warning restore AZC0002 { - requestOptions ??= new RequestOptions(); - HttpMessage message = CreateListRequest(isPrimary, parentType, parentIds, minAcreage, maxAcreage, ids, names, propertyFilters, statuses, minCreatedDateTime, maxCreatedDateTime, minLastModifiedDateTime, maxLastModifiedDateTime, maxPageSize, skipToken, requestOptions); - if (requestOptions.PerCallPolicy != null) + options ??= new RequestOptions(); + HttpMessage message = CreateListRequest(isPrimary, parentType, parentIds, minAcreage, maxAcreage, ids, names, propertyFilters, statuses, minCreatedDateTime, maxCreatedDateTime, minLastModifiedDateTime, maxLastModifiedDateTime, maxPageSize, skipToken, options); + if (options.PerCallPolicy != null) { - message.SetProperty("RequestOptionsPerCallPolicyCallback", requestOptions.PerCallPolicy); + message.SetProperty("RequestOptionsPerCallPolicyCallback", options.PerCallPolicy); } using var scope = _clientDiagnostics.CreateScope("BoundariesClient.List"); scope.Start(); try { - Pipeline.Send(message, requestOptions.CancellationToken); - if (requestOptions.StatusOption == ResponseStatusOption.Default) + Pipeline.Send(message, options.CancellationToken); + if (options.StatusOption == ResponseStatusOption.Default) { switch (message.Response.Status) { @@ -794,8 +794,8 @@ public virtual Response List(bool? isPrimary = null, string parentType = null, I /// Minimum = 10, Maximum = 1000, Default value = 50. /// /// Skip token for getting next set of results. - /// The request options. - private HttpMessage CreateListRequest(bool? isPrimary = null, string parentType = null, IEnumerable parentIds = null, double? minAcreage = null, double? maxAcreage = null, IEnumerable ids = null, IEnumerable names = null, IEnumerable propertyFilters = null, IEnumerable statuses = null, DateTimeOffset? minCreatedDateTime = null, DateTimeOffset? maxCreatedDateTime = null, DateTimeOffset? minLastModifiedDateTime = null, DateTimeOffset? maxLastModifiedDateTime = null, int? maxPageSize = null, string skipToken = null, RequestOptions requestOptions = null) + /// The request options. + private HttpMessage CreateListRequest(bool? isPrimary = null, string parentType = null, IEnumerable parentIds = null, double? minAcreage = null, double? maxAcreage = null, IEnumerable ids = null, IEnumerable names = null, IEnumerable propertyFilters = null, IEnumerable statuses = null, DateTimeOffset? minCreatedDateTime = null, DateTimeOffset? maxCreatedDateTime = null, DateTimeOffset? minLastModifiedDateTime = null, DateTimeOffset? maxLastModifiedDateTime = null, int? maxPageSize = null, string skipToken = null, RequestOptions options = null) { var message = Pipeline.CreateMessage(); var request = message.Request; @@ -873,12 +873,12 @@ private HttpMessage CreateListRequest(bool? isPrimary = null, string parentType /// /// Schema for Request Body: /// - /// + /// /// Name /// Type /// Required /// Description - /// + /// /// /// ids /// string[] @@ -986,12 +986,12 @@ private HttpMessage CreateListRequest(bool? isPrimary = null, string parentType /// /// Schema for GeoJsonObject: /// - /// + /// /// Name /// Type /// Required /// Description - /// + /// /// /// type /// "Point" | "Polygon" | "MultiPolygon" @@ -1000,24 +1000,24 @@ private HttpMessage CreateListRequest(bool? isPrimary = null, string parentType /// /// /// - /// The request body. - /// The request options. + /// The content to send as the body of the request. + /// The request options. #pragma warning disable AZC0002 - public virtual async Task SearchAsync(RequestContent requestBody, RequestOptions requestOptions = null) + public virtual async Task SearchAsync(RequestContent content, RequestOptions options = null) #pragma warning restore AZC0002 { - requestOptions ??= new RequestOptions(); - HttpMessage message = CreateSearchRequest(requestBody, requestOptions); - if (requestOptions.PerCallPolicy != null) + options ??= new RequestOptions(); + HttpMessage message = CreateSearchRequest(content, options); + if (options.PerCallPolicy != null) { - message.SetProperty("RequestOptionsPerCallPolicyCallback", requestOptions.PerCallPolicy); + message.SetProperty("RequestOptionsPerCallPolicyCallback", options.PerCallPolicy); } using var scope = _clientDiagnostics.CreateScope("BoundariesClient.Search"); scope.Start(); try { - await Pipeline.SendAsync(message, requestOptions.CancellationToken).ConfigureAwait(false); - if (requestOptions.StatusOption == ResponseStatusOption.Default) + await Pipeline.SendAsync(message, options.CancellationToken).ConfigureAwait(false); + if (options.StatusOption == ResponseStatusOption.Default) { switch (message.Response.Status) { @@ -1043,12 +1043,12 @@ public virtual async Task SearchAsync(RequestContent requestBody, Requ /// /// Schema for Request Body: /// - /// + /// /// Name /// Type /// Required /// Description - /// + /// /// /// ids /// string[] @@ -1156,12 +1156,12 @@ public virtual async Task SearchAsync(RequestContent requestBody, Requ /// /// Schema for GeoJsonObject: /// - /// + /// /// Name /// Type /// Required /// Description - /// + /// /// /// type /// "Point" | "Polygon" | "MultiPolygon" @@ -1170,24 +1170,24 @@ public virtual async Task SearchAsync(RequestContent requestBody, Requ /// /// /// - /// The request body. - /// The request options. + /// The content to send as the body of the request. + /// The request options. #pragma warning disable AZC0002 - public virtual Response Search(RequestContent requestBody, RequestOptions requestOptions = null) + public virtual Response Search(RequestContent content, RequestOptions options = null) #pragma warning restore AZC0002 { - requestOptions ??= new RequestOptions(); - HttpMessage message = CreateSearchRequest(requestBody, requestOptions); - if (requestOptions.PerCallPolicy != null) + options ??= new RequestOptions(); + HttpMessage message = CreateSearchRequest(content, options); + if (options.PerCallPolicy != null) { - message.SetProperty("RequestOptionsPerCallPolicyCallback", requestOptions.PerCallPolicy); + message.SetProperty("RequestOptionsPerCallPolicyCallback", options.PerCallPolicy); } using var scope = _clientDiagnostics.CreateScope("BoundariesClient.Search"); scope.Start(); try { - Pipeline.Send(message, requestOptions.CancellationToken); - if (requestOptions.StatusOption == ResponseStatusOption.Default) + Pipeline.Send(message, options.CancellationToken); + if (options.StatusOption == ResponseStatusOption.Default) { switch (message.Response.Status) { @@ -1210,9 +1210,9 @@ public virtual Response Search(RequestContent requestBody, RequestOptions reques } /// Create Request for and operations. - /// The request body. - /// The request options. - private HttpMessage CreateSearchRequest(RequestContent requestBody, RequestOptions requestOptions = null) + /// The content to send as the body of the request. + /// The request options. + private HttpMessage CreateSearchRequest(RequestContent content, RequestOptions options = null) { var message = Pipeline.CreateMessage(); var request = message.Request; @@ -1224,29 +1224,29 @@ private HttpMessage CreateSearchRequest(RequestContent requestBody, RequestOptio request.Uri = uri; request.Headers.Add("Accept", "application/json"); request.Headers.Add("Content-Type", "application/json"); - request.Content = requestBody; + request.Content = content; return message; } /// Get cascade delete job for specified boundary. /// ID of the job. - /// The request options. + /// The request options. #pragma warning disable AZC0002 - public virtual async Task GetCascadeDeleteJobDetailsAsync(string jobId, RequestOptions requestOptions = null) + public virtual async Task GetCascadeDeleteJobDetailsAsync(string jobId, RequestOptions options = null) #pragma warning restore AZC0002 { - requestOptions ??= new RequestOptions(); - HttpMessage message = CreateGetCascadeDeleteJobDetailsRequest(jobId, requestOptions); - if (requestOptions.PerCallPolicy != null) + options ??= new RequestOptions(); + HttpMessage message = CreateGetCascadeDeleteJobDetailsRequest(jobId, options); + if (options.PerCallPolicy != null) { - message.SetProperty("RequestOptionsPerCallPolicyCallback", requestOptions.PerCallPolicy); + message.SetProperty("RequestOptionsPerCallPolicyCallback", options.PerCallPolicy); } using var scope = _clientDiagnostics.CreateScope("BoundariesClient.GetCascadeDeleteJobDetails"); scope.Start(); try { - await Pipeline.SendAsync(message, requestOptions.CancellationToken).ConfigureAwait(false); - if (requestOptions.StatusOption == ResponseStatusOption.Default) + await Pipeline.SendAsync(message, options.CancellationToken).ConfigureAwait(false); + if (options.StatusOption == ResponseStatusOption.Default) { switch (message.Response.Status) { @@ -1270,23 +1270,23 @@ public virtual async Task GetCascadeDeleteJobDetailsAsync(string jobId /// Get cascade delete job for specified boundary. /// ID of the job. - /// The request options. + /// The request options. #pragma warning disable AZC0002 - public virtual Response GetCascadeDeleteJobDetails(string jobId, RequestOptions requestOptions = null) + public virtual Response GetCascadeDeleteJobDetails(string jobId, RequestOptions options = null) #pragma warning restore AZC0002 { - requestOptions ??= new RequestOptions(); - HttpMessage message = CreateGetCascadeDeleteJobDetailsRequest(jobId, requestOptions); - if (requestOptions.PerCallPolicy != null) + options ??= new RequestOptions(); + HttpMessage message = CreateGetCascadeDeleteJobDetailsRequest(jobId, options); + if (options.PerCallPolicy != null) { - message.SetProperty("RequestOptionsPerCallPolicyCallback", requestOptions.PerCallPolicy); + message.SetProperty("RequestOptionsPerCallPolicyCallback", options.PerCallPolicy); } using var scope = _clientDiagnostics.CreateScope("BoundariesClient.GetCascadeDeleteJobDetails"); scope.Start(); try { - Pipeline.Send(message, requestOptions.CancellationToken); - if (requestOptions.StatusOption == ResponseStatusOption.Default) + Pipeline.Send(message, options.CancellationToken); + if (options.StatusOption == ResponseStatusOption.Default) { switch (message.Response.Status) { @@ -1310,8 +1310,8 @@ public virtual Response GetCascadeDeleteJobDetails(string jobId, RequestOptions /// Create Request for and operations. /// ID of the job. - /// The request options. - private HttpMessage CreateGetCascadeDeleteJobDetailsRequest(string jobId, RequestOptions requestOptions = null) + /// The request options. + private HttpMessage CreateGetCascadeDeleteJobDetailsRequest(string jobId, RequestOptions options = null) { var message = Pipeline.CreateMessage(); var request = message.Request; @@ -1330,23 +1330,23 @@ private HttpMessage CreateGetCascadeDeleteJobDetailsRequest(string jobId, Reques /// Job ID supplied by end user. /// ID of the associated farmer. /// ID of the boundary to be deleted. - /// The request options. + /// The request options. #pragma warning disable AZC0002 - public virtual async Task CreateCascadeDeleteJobAsync(string jobId, string farmerId, string boundaryId, RequestOptions requestOptions = null) + public virtual async Task CreateCascadeDeleteJobAsync(string jobId, string farmerId, string boundaryId, RequestOptions options = null) #pragma warning restore AZC0002 { - requestOptions ??= new RequestOptions(); - HttpMessage message = CreateCreateCascadeDeleteJobRequest(jobId, farmerId, boundaryId, requestOptions); - if (requestOptions.PerCallPolicy != null) + options ??= new RequestOptions(); + HttpMessage message = CreateCreateCascadeDeleteJobRequest(jobId, farmerId, boundaryId, options); + if (options.PerCallPolicy != null) { - message.SetProperty("RequestOptionsPerCallPolicyCallback", requestOptions.PerCallPolicy); + message.SetProperty("RequestOptionsPerCallPolicyCallback", options.PerCallPolicy); } using var scope = _clientDiagnostics.CreateScope("BoundariesClient.CreateCascadeDeleteJob"); scope.Start(); try { - await Pipeline.SendAsync(message, requestOptions.CancellationToken).ConfigureAwait(false); - if (requestOptions.StatusOption == ResponseStatusOption.Default) + await Pipeline.SendAsync(message, options.CancellationToken).ConfigureAwait(false); + if (options.StatusOption == ResponseStatusOption.Default) { switch (message.Response.Status) { @@ -1372,23 +1372,23 @@ public virtual async Task CreateCascadeDeleteJobAsync(string jobId, st /// Job ID supplied by end user. /// ID of the associated farmer. /// ID of the boundary to be deleted. - /// The request options. + /// The request options. #pragma warning disable AZC0002 - public virtual Response CreateCascadeDeleteJob(string jobId, string farmerId, string boundaryId, RequestOptions requestOptions = null) + public virtual Response CreateCascadeDeleteJob(string jobId, string farmerId, string boundaryId, RequestOptions options = null) #pragma warning restore AZC0002 { - requestOptions ??= new RequestOptions(); - HttpMessage message = CreateCreateCascadeDeleteJobRequest(jobId, farmerId, boundaryId, requestOptions); - if (requestOptions.PerCallPolicy != null) + options ??= new RequestOptions(); + HttpMessage message = CreateCreateCascadeDeleteJobRequest(jobId, farmerId, boundaryId, options); + if (options.PerCallPolicy != null) { - message.SetProperty("RequestOptionsPerCallPolicyCallback", requestOptions.PerCallPolicy); + message.SetProperty("RequestOptionsPerCallPolicyCallback", options.PerCallPolicy); } using var scope = _clientDiagnostics.CreateScope("BoundariesClient.CreateCascadeDeleteJob"); scope.Start(); try { - Pipeline.Send(message, requestOptions.CancellationToken); - if (requestOptions.StatusOption == ResponseStatusOption.Default) + Pipeline.Send(message, options.CancellationToken); + if (options.StatusOption == ResponseStatusOption.Default) { switch (message.Response.Status) { @@ -1414,8 +1414,8 @@ public virtual Response CreateCascadeDeleteJob(string jobId, string farmerId, st /// Job ID supplied by end user. /// ID of the associated farmer. /// ID of the boundary to be deleted. - /// The request options. - private HttpMessage CreateCreateCascadeDeleteJobRequest(string jobId, string farmerId, string boundaryId, RequestOptions requestOptions = null) + /// The request options. + private HttpMessage CreateCreateCascadeDeleteJobRequest(string jobId, string farmerId, string boundaryId, RequestOptions options = null) { var message = Pipeline.CreateMessage(); var request = message.Request; @@ -1435,23 +1435,23 @@ private HttpMessage CreateCreateCascadeDeleteJobRequest(string jobId, string far /// Gets a specified boundary resource under a particular farmer. /// ID of the associated farmer. /// ID of the boundary. - /// The request options. + /// The request options. #pragma warning disable AZC0002 - public virtual async Task GetAsync(string farmerId, string boundaryId, RequestOptions requestOptions = null) + public virtual async Task GetAsync(string farmerId, string boundaryId, RequestOptions options = null) #pragma warning restore AZC0002 { - requestOptions ??= new RequestOptions(); - HttpMessage message = CreateGetRequest(farmerId, boundaryId, requestOptions); - if (requestOptions.PerCallPolicy != null) + options ??= new RequestOptions(); + HttpMessage message = CreateGetRequest(farmerId, boundaryId, options); + if (options.PerCallPolicy != null) { - message.SetProperty("RequestOptionsPerCallPolicyCallback", requestOptions.PerCallPolicy); + message.SetProperty("RequestOptionsPerCallPolicyCallback", options.PerCallPolicy); } using var scope = _clientDiagnostics.CreateScope("BoundariesClient.Get"); scope.Start(); try { - await Pipeline.SendAsync(message, requestOptions.CancellationToken).ConfigureAwait(false); - if (requestOptions.StatusOption == ResponseStatusOption.Default) + await Pipeline.SendAsync(message, options.CancellationToken).ConfigureAwait(false); + if (options.StatusOption == ResponseStatusOption.Default) { switch (message.Response.Status) { @@ -1476,23 +1476,23 @@ public virtual async Task GetAsync(string farmerId, string boundaryId, /// Gets a specified boundary resource under a particular farmer. /// ID of the associated farmer. /// ID of the boundary. - /// The request options. + /// The request options. #pragma warning disable AZC0002 - public virtual Response Get(string farmerId, string boundaryId, RequestOptions requestOptions = null) + public virtual Response Get(string farmerId, string boundaryId, RequestOptions options = null) #pragma warning restore AZC0002 { - requestOptions ??= new RequestOptions(); - HttpMessage message = CreateGetRequest(farmerId, boundaryId, requestOptions); - if (requestOptions.PerCallPolicy != null) + options ??= new RequestOptions(); + HttpMessage message = CreateGetRequest(farmerId, boundaryId, options); + if (options.PerCallPolicy != null) { - message.SetProperty("RequestOptionsPerCallPolicyCallback", requestOptions.PerCallPolicy); + message.SetProperty("RequestOptionsPerCallPolicyCallback", options.PerCallPolicy); } using var scope = _clientDiagnostics.CreateScope("BoundariesClient.Get"); scope.Start(); try { - Pipeline.Send(message, requestOptions.CancellationToken); - if (requestOptions.StatusOption == ResponseStatusOption.Default) + Pipeline.Send(message, options.CancellationToken); + if (options.StatusOption == ResponseStatusOption.Default) { switch (message.Response.Status) { @@ -1517,8 +1517,8 @@ public virtual Response Get(string farmerId, string boundaryId, RequestOptions r /// Create Request for and operations. /// ID of the associated farmer. /// ID of the boundary. - /// The request options. - private HttpMessage CreateGetRequest(string farmerId, string boundaryId, RequestOptions requestOptions = null) + /// The request options. + private HttpMessage CreateGetRequest(string farmerId, string boundaryId, RequestOptions options = null) { var message = Pipeline.CreateMessage(); var request = message.Request; @@ -1539,12 +1539,12 @@ private HttpMessage CreateGetRequest(string farmerId, string boundaryId, Request /// /// Schema for Request Body: /// - /// + /// /// Name /// Type /// Required /// Description - /// + /// /// /// farmerId /// string @@ -1640,12 +1640,12 @@ private HttpMessage CreateGetRequest(string farmerId, string boundaryId, Request /// /// Schema for GeoJsonObject: /// - /// + /// /// Name /// Type /// Required /// Description - /// + /// /// /// type /// "Point" | "Polygon" | "MultiPolygon" @@ -1656,24 +1656,24 @@ private HttpMessage CreateGetRequest(string farmerId, string boundaryId, Request /// /// ID of the farmer resource. /// ID of the boundary resource. - /// The request body. - /// The request options. + /// The content to send as the body of the request. + /// The request options. #pragma warning disable AZC0002 - public virtual async Task CreateOrUpdateAsync(string farmerId, string boundaryId, RequestContent requestBody, RequestOptions requestOptions = null) + public virtual async Task CreateOrUpdateAsync(string farmerId, string boundaryId, RequestContent content, RequestOptions options = null) #pragma warning restore AZC0002 { - requestOptions ??= new RequestOptions(); - HttpMessage message = CreateCreateOrUpdateRequest(farmerId, boundaryId, requestBody, requestOptions); - if (requestOptions.PerCallPolicy != null) + options ??= new RequestOptions(); + HttpMessage message = CreateCreateOrUpdateRequest(farmerId, boundaryId, content, options); + if (options.PerCallPolicy != null) { - message.SetProperty("RequestOptionsPerCallPolicyCallback", requestOptions.PerCallPolicy); + message.SetProperty("RequestOptionsPerCallPolicyCallback", options.PerCallPolicy); } using var scope = _clientDiagnostics.CreateScope("BoundariesClient.CreateOrUpdate"); scope.Start(); try { - await Pipeline.SendAsync(message, requestOptions.CancellationToken).ConfigureAwait(false); - if (requestOptions.StatusOption == ResponseStatusOption.Default) + await Pipeline.SendAsync(message, options.CancellationToken).ConfigureAwait(false); + if (options.StatusOption == ResponseStatusOption.Default) { switch (message.Response.Status) { @@ -1700,12 +1700,12 @@ public virtual async Task CreateOrUpdateAsync(string farmerId, string /// /// Schema for Request Body: /// - /// + /// /// Name /// Type /// Required /// Description - /// + /// /// /// farmerId /// string @@ -1801,12 +1801,12 @@ public virtual async Task CreateOrUpdateAsync(string farmerId, string /// /// Schema for GeoJsonObject: /// - /// + /// /// Name /// Type /// Required /// Description - /// + /// /// /// type /// "Point" | "Polygon" | "MultiPolygon" @@ -1817,24 +1817,24 @@ public virtual async Task CreateOrUpdateAsync(string farmerId, string /// /// ID of the farmer resource. /// ID of the boundary resource. - /// The request body. - /// The request options. + /// The content to send as the body of the request. + /// The request options. #pragma warning disable AZC0002 - public virtual Response CreateOrUpdate(string farmerId, string boundaryId, RequestContent requestBody, RequestOptions requestOptions = null) + public virtual Response CreateOrUpdate(string farmerId, string boundaryId, RequestContent content, RequestOptions options = null) #pragma warning restore AZC0002 { - requestOptions ??= new RequestOptions(); - HttpMessage message = CreateCreateOrUpdateRequest(farmerId, boundaryId, requestBody, requestOptions); - if (requestOptions.PerCallPolicy != null) + options ??= new RequestOptions(); + HttpMessage message = CreateCreateOrUpdateRequest(farmerId, boundaryId, content, options); + if (options.PerCallPolicy != null) { - message.SetProperty("RequestOptionsPerCallPolicyCallback", requestOptions.PerCallPolicy); + message.SetProperty("RequestOptionsPerCallPolicyCallback", options.PerCallPolicy); } using var scope = _clientDiagnostics.CreateScope("BoundariesClient.CreateOrUpdate"); scope.Start(); try { - Pipeline.Send(message, requestOptions.CancellationToken); - if (requestOptions.StatusOption == ResponseStatusOption.Default) + Pipeline.Send(message, options.CancellationToken); + if (options.StatusOption == ResponseStatusOption.Default) { switch (message.Response.Status) { @@ -1860,9 +1860,9 @@ public virtual Response CreateOrUpdate(string farmerId, string boundaryId, Reque /// Create Request for and operations. /// ID of the farmer resource. /// ID of the boundary resource. - /// The request body. - /// The request options. - private HttpMessage CreateCreateOrUpdateRequest(string farmerId, string boundaryId, RequestContent requestBody, RequestOptions requestOptions = null) + /// The content to send as the body of the request. + /// The request options. + private HttpMessage CreateCreateOrUpdateRequest(string farmerId, string boundaryId, RequestContent content, RequestOptions options = null) { var message = Pipeline.CreateMessage(); var request = message.Request; @@ -1877,30 +1877,30 @@ private HttpMessage CreateCreateOrUpdateRequest(string farmerId, string boundary request.Uri = uri; request.Headers.Add("Accept", "application/json"); request.Headers.Add("Content-Type", "application/merge-patch+json"); - request.Content = requestBody; + request.Content = content; return message; } /// Deletes a specified boundary resource under a particular farmer. /// ID of the farmer. /// ID of the boundary. - /// The request options. + /// The request options. #pragma warning disable AZC0002 - public virtual async Task DeleteAsync(string farmerId, string boundaryId, RequestOptions requestOptions = null) + public virtual async Task DeleteAsync(string farmerId, string boundaryId, RequestOptions options = null) #pragma warning restore AZC0002 { - requestOptions ??= new RequestOptions(); - HttpMessage message = CreateDeleteRequest(farmerId, boundaryId, requestOptions); - if (requestOptions.PerCallPolicy != null) + options ??= new RequestOptions(); + HttpMessage message = CreateDeleteRequest(farmerId, boundaryId, options); + if (options.PerCallPolicy != null) { - message.SetProperty("RequestOptionsPerCallPolicyCallback", requestOptions.PerCallPolicy); + message.SetProperty("RequestOptionsPerCallPolicyCallback", options.PerCallPolicy); } using var scope = _clientDiagnostics.CreateScope("BoundariesClient.Delete"); scope.Start(); try { - await Pipeline.SendAsync(message, requestOptions.CancellationToken).ConfigureAwait(false); - if (requestOptions.StatusOption == ResponseStatusOption.Default) + await Pipeline.SendAsync(message, options.CancellationToken).ConfigureAwait(false); + if (options.StatusOption == ResponseStatusOption.Default) { switch (message.Response.Status) { @@ -1925,23 +1925,23 @@ public virtual async Task DeleteAsync(string farmerId, string boundary /// Deletes a specified boundary resource under a particular farmer. /// ID of the farmer. /// ID of the boundary. - /// The request options. + /// The request options. #pragma warning disable AZC0002 - public virtual Response Delete(string farmerId, string boundaryId, RequestOptions requestOptions = null) + public virtual Response Delete(string farmerId, string boundaryId, RequestOptions options = null) #pragma warning restore AZC0002 { - requestOptions ??= new RequestOptions(); - HttpMessage message = CreateDeleteRequest(farmerId, boundaryId, requestOptions); - if (requestOptions.PerCallPolicy != null) + options ??= new RequestOptions(); + HttpMessage message = CreateDeleteRequest(farmerId, boundaryId, options); + if (options.PerCallPolicy != null) { - message.SetProperty("RequestOptionsPerCallPolicyCallback", requestOptions.PerCallPolicy); + message.SetProperty("RequestOptionsPerCallPolicyCallback", options.PerCallPolicy); } using var scope = _clientDiagnostics.CreateScope("BoundariesClient.Delete"); scope.Start(); try { - Pipeline.Send(message, requestOptions.CancellationToken); - if (requestOptions.StatusOption == ResponseStatusOption.Default) + Pipeline.Send(message, options.CancellationToken); + if (options.StatusOption == ResponseStatusOption.Default) { switch (message.Response.Status) { @@ -1966,8 +1966,8 @@ public virtual Response Delete(string farmerId, string boundaryId, RequestOption /// Create Request for and operations. /// ID of the farmer. /// ID of the boundary. - /// The request options. - private HttpMessage CreateDeleteRequest(string farmerId, string boundaryId, RequestOptions requestOptions = null) + /// The request options. + private HttpMessage CreateDeleteRequest(string farmerId, string boundaryId, RequestOptions options = null) { var message = Pipeline.CreateMessage(); var request = message.Request; @@ -1989,23 +1989,23 @@ private HttpMessage CreateDeleteRequest(string farmerId, string boundaryId, Requ /// ID of the boundary. /// FarmerId of the other field. /// ID of the other boundary. - /// The request options. + /// The request options. #pragma warning disable AZC0002 - public virtual async Task GetOverlapAsync(string farmerId, string boundaryId, string otherFarmerId, string otherBoundaryId, RequestOptions requestOptions = null) + public virtual async Task GetOverlapAsync(string farmerId, string boundaryId, string otherFarmerId, string otherBoundaryId, RequestOptions options = null) #pragma warning restore AZC0002 { - requestOptions ??= new RequestOptions(); - HttpMessage message = CreateGetOverlapRequest(farmerId, boundaryId, otherFarmerId, otherBoundaryId, requestOptions); - if (requestOptions.PerCallPolicy != null) + options ??= new RequestOptions(); + HttpMessage message = CreateGetOverlapRequest(farmerId, boundaryId, otherFarmerId, otherBoundaryId, options); + if (options.PerCallPolicy != null) { - message.SetProperty("RequestOptionsPerCallPolicyCallback", requestOptions.PerCallPolicy); + message.SetProperty("RequestOptionsPerCallPolicyCallback", options.PerCallPolicy); } using var scope = _clientDiagnostics.CreateScope("BoundariesClient.GetOverlap"); scope.Start(); try { - await Pipeline.SendAsync(message, requestOptions.CancellationToken).ConfigureAwait(false); - if (requestOptions.StatusOption == ResponseStatusOption.Default) + await Pipeline.SendAsync(message, options.CancellationToken).ConfigureAwait(false); + if (options.StatusOption == ResponseStatusOption.Default) { switch (message.Response.Status) { @@ -2032,23 +2032,23 @@ public virtual async Task GetOverlapAsync(string farmerId, string boun /// ID of the boundary. /// FarmerId of the other field. /// ID of the other boundary. - /// The request options. + /// The request options. #pragma warning disable AZC0002 - public virtual Response GetOverlap(string farmerId, string boundaryId, string otherFarmerId, string otherBoundaryId, RequestOptions requestOptions = null) + public virtual Response GetOverlap(string farmerId, string boundaryId, string otherFarmerId, string otherBoundaryId, RequestOptions options = null) #pragma warning restore AZC0002 { - requestOptions ??= new RequestOptions(); - HttpMessage message = CreateGetOverlapRequest(farmerId, boundaryId, otherFarmerId, otherBoundaryId, requestOptions); - if (requestOptions.PerCallPolicy != null) + options ??= new RequestOptions(); + HttpMessage message = CreateGetOverlapRequest(farmerId, boundaryId, otherFarmerId, otherBoundaryId, options); + if (options.PerCallPolicy != null) { - message.SetProperty("RequestOptionsPerCallPolicyCallback", requestOptions.PerCallPolicy); + message.SetProperty("RequestOptionsPerCallPolicyCallback", options.PerCallPolicy); } using var scope = _clientDiagnostics.CreateScope("BoundariesClient.GetOverlap"); scope.Start(); try { - Pipeline.Send(message, requestOptions.CancellationToken); - if (requestOptions.StatusOption == ResponseStatusOption.Default) + Pipeline.Send(message, options.CancellationToken); + if (options.StatusOption == ResponseStatusOption.Default) { switch (message.Response.Status) { @@ -2075,8 +2075,8 @@ public virtual Response GetOverlap(string farmerId, string boundaryId, string ot /// ID of the boundary. /// FarmerId of the other field. /// ID of the other boundary. - /// The request options. - private HttpMessage CreateGetOverlapRequest(string farmerId, string boundaryId, string otherFarmerId, string otherBoundaryId, RequestOptions requestOptions = null) + /// The request options. + private HttpMessage CreateGetOverlapRequest(string farmerId, string boundaryId, string otherFarmerId, string otherBoundaryId, RequestOptions options = null) { var message = Pipeline.CreateMessage(); var request = message.Request; diff --git a/sdk/agrifood/Azure.Verticals.AgriFood.Farming/src/Generated/CropVarietiesClient.cs b/sdk/agrifood/Azure.Verticals.AgriFood.Farming/src/Generated/CropVarietiesClient.cs index 2aa7fc4a46e4..6a762b73d727 100644 --- a/sdk/agrifood/Azure.Verticals.AgriFood.Farming/src/Generated/CropVarietiesClient.cs +++ b/sdk/agrifood/Azure.Verticals.AgriFood.Farming/src/Generated/CropVarietiesClient.cs @@ -77,23 +77,23 @@ public CropVarietiesClient(Uri endpoint, TokenCredential credential, FarmBeatsCl /// Minimum = 10, Maximum = 1000, Default value = 50. /// /// Skip token for getting next set of results. - /// The request options. + /// The request options. #pragma warning disable AZC0002 - public virtual async Task ListByCropIdAsync(string cropId, IEnumerable cropIds = null, IEnumerable brands = null, IEnumerable products = null, IEnumerable ids = null, IEnumerable names = null, IEnumerable propertyFilters = null, IEnumerable statuses = null, DateTimeOffset? minCreatedDateTime = null, DateTimeOffset? maxCreatedDateTime = null, DateTimeOffset? minLastModifiedDateTime = null, DateTimeOffset? maxLastModifiedDateTime = null, int? maxPageSize = null, string skipToken = null, RequestOptions requestOptions = null) + public virtual async Task ListByCropIdAsync(string cropId, IEnumerable cropIds = null, IEnumerable brands = null, IEnumerable products = null, IEnumerable ids = null, IEnumerable names = null, IEnumerable propertyFilters = null, IEnumerable statuses = null, DateTimeOffset? minCreatedDateTime = null, DateTimeOffset? maxCreatedDateTime = null, DateTimeOffset? minLastModifiedDateTime = null, DateTimeOffset? maxLastModifiedDateTime = null, int? maxPageSize = null, string skipToken = null, RequestOptions options = null) #pragma warning restore AZC0002 { - requestOptions ??= new RequestOptions(); - HttpMessage message = CreateListByCropIdRequest(cropId, cropIds, brands, products, ids, names, propertyFilters, statuses, minCreatedDateTime, maxCreatedDateTime, minLastModifiedDateTime, maxLastModifiedDateTime, maxPageSize, skipToken, requestOptions); - if (requestOptions.PerCallPolicy != null) + options ??= new RequestOptions(); + HttpMessage message = CreateListByCropIdRequest(cropId, cropIds, brands, products, ids, names, propertyFilters, statuses, minCreatedDateTime, maxCreatedDateTime, minLastModifiedDateTime, maxLastModifiedDateTime, maxPageSize, skipToken, options); + if (options.PerCallPolicy != null) { - message.SetProperty("RequestOptionsPerCallPolicyCallback", requestOptions.PerCallPolicy); + message.SetProperty("RequestOptionsPerCallPolicyCallback", options.PerCallPolicy); } using var scope = _clientDiagnostics.CreateScope("CropVarietiesClient.ListByCropId"); scope.Start(); try { - await Pipeline.SendAsync(message, requestOptions.CancellationToken).ConfigureAwait(false); - if (requestOptions.StatusOption == ResponseStatusOption.Default) + await Pipeline.SendAsync(message, options.CancellationToken).ConfigureAwait(false); + if (options.StatusOption == ResponseStatusOption.Default) { switch (message.Response.Status) { @@ -138,23 +138,23 @@ public virtual async Task ListByCropIdAsync(string cropId, IEnumerable /// Minimum = 10, Maximum = 1000, Default value = 50. /// /// Skip token for getting next set of results. - /// The request options. + /// The request options. #pragma warning disable AZC0002 - public virtual Response ListByCropId(string cropId, IEnumerable cropIds = null, IEnumerable brands = null, IEnumerable products = null, IEnumerable ids = null, IEnumerable names = null, IEnumerable propertyFilters = null, IEnumerable statuses = null, DateTimeOffset? minCreatedDateTime = null, DateTimeOffset? maxCreatedDateTime = null, DateTimeOffset? minLastModifiedDateTime = null, DateTimeOffset? maxLastModifiedDateTime = null, int? maxPageSize = null, string skipToken = null, RequestOptions requestOptions = null) + public virtual Response ListByCropId(string cropId, IEnumerable cropIds = null, IEnumerable brands = null, IEnumerable products = null, IEnumerable ids = null, IEnumerable names = null, IEnumerable propertyFilters = null, IEnumerable statuses = null, DateTimeOffset? minCreatedDateTime = null, DateTimeOffset? maxCreatedDateTime = null, DateTimeOffset? minLastModifiedDateTime = null, DateTimeOffset? maxLastModifiedDateTime = null, int? maxPageSize = null, string skipToken = null, RequestOptions options = null) #pragma warning restore AZC0002 { - requestOptions ??= new RequestOptions(); - HttpMessage message = CreateListByCropIdRequest(cropId, cropIds, brands, products, ids, names, propertyFilters, statuses, minCreatedDateTime, maxCreatedDateTime, minLastModifiedDateTime, maxLastModifiedDateTime, maxPageSize, skipToken, requestOptions); - if (requestOptions.PerCallPolicy != null) + options ??= new RequestOptions(); + HttpMessage message = CreateListByCropIdRequest(cropId, cropIds, brands, products, ids, names, propertyFilters, statuses, minCreatedDateTime, maxCreatedDateTime, minLastModifiedDateTime, maxLastModifiedDateTime, maxPageSize, skipToken, options); + if (options.PerCallPolicy != null) { - message.SetProperty("RequestOptionsPerCallPolicyCallback", requestOptions.PerCallPolicy); + message.SetProperty("RequestOptionsPerCallPolicyCallback", options.PerCallPolicy); } using var scope = _clientDiagnostics.CreateScope("CropVarietiesClient.ListByCropId"); scope.Start(); try { - Pipeline.Send(message, requestOptions.CancellationToken); - if (requestOptions.StatusOption == ResponseStatusOption.Default) + Pipeline.Send(message, options.CancellationToken); + if (options.StatusOption == ResponseStatusOption.Default) { switch (message.Response.Status) { @@ -199,8 +199,8 @@ public virtual Response ListByCropId(string cropId, IEnumerable cropIds /// Minimum = 10, Maximum = 1000, Default value = 50. /// /// Skip token for getting next set of results. - /// The request options. - private HttpMessage CreateListByCropIdRequest(string cropId, IEnumerable cropIds = null, IEnumerable brands = null, IEnumerable products = null, IEnumerable ids = null, IEnumerable names = null, IEnumerable propertyFilters = null, IEnumerable statuses = null, DateTimeOffset? minCreatedDateTime = null, DateTimeOffset? maxCreatedDateTime = null, DateTimeOffset? minLastModifiedDateTime = null, DateTimeOffset? maxLastModifiedDateTime = null, int? maxPageSize = null, string skipToken = null, RequestOptions requestOptions = null) + /// The request options. + private HttpMessage CreateListByCropIdRequest(string cropId, IEnumerable cropIds = null, IEnumerable brands = null, IEnumerable products = null, IEnumerable ids = null, IEnumerable names = null, IEnumerable propertyFilters = null, IEnumerable statuses = null, DateTimeOffset? minCreatedDateTime = null, DateTimeOffset? maxCreatedDateTime = null, DateTimeOffset? minLastModifiedDateTime = null, DateTimeOffset? maxLastModifiedDateTime = null, int? maxPageSize = null, string skipToken = null, RequestOptions options = null) { var message = Pipeline.CreateMessage(); var request = message.Request; @@ -290,23 +290,23 @@ private HttpMessage CreateListByCropIdRequest(string cropId, IEnumerable /// Minimum = 10, Maximum = 1000, Default value = 50. /// /// Skip token for getting next set of results. - /// The request options. + /// The request options. #pragma warning disable AZC0002 - public virtual async Task ListAsync(IEnumerable cropIds = null, IEnumerable brands = null, IEnumerable products = null, IEnumerable ids = null, IEnumerable names = null, IEnumerable propertyFilters = null, IEnumerable statuses = null, DateTimeOffset? minCreatedDateTime = null, DateTimeOffset? maxCreatedDateTime = null, DateTimeOffset? minLastModifiedDateTime = null, DateTimeOffset? maxLastModifiedDateTime = null, int? maxPageSize = null, string skipToken = null, RequestOptions requestOptions = null) + public virtual async Task ListAsync(IEnumerable cropIds = null, IEnumerable brands = null, IEnumerable products = null, IEnumerable ids = null, IEnumerable names = null, IEnumerable propertyFilters = null, IEnumerable statuses = null, DateTimeOffset? minCreatedDateTime = null, DateTimeOffset? maxCreatedDateTime = null, DateTimeOffset? minLastModifiedDateTime = null, DateTimeOffset? maxLastModifiedDateTime = null, int? maxPageSize = null, string skipToken = null, RequestOptions options = null) #pragma warning restore AZC0002 { - requestOptions ??= new RequestOptions(); - HttpMessage message = CreateListRequest(cropIds, brands, products, ids, names, propertyFilters, statuses, minCreatedDateTime, maxCreatedDateTime, minLastModifiedDateTime, maxLastModifiedDateTime, maxPageSize, skipToken, requestOptions); - if (requestOptions.PerCallPolicy != null) + options ??= new RequestOptions(); + HttpMessage message = CreateListRequest(cropIds, brands, products, ids, names, propertyFilters, statuses, minCreatedDateTime, maxCreatedDateTime, minLastModifiedDateTime, maxLastModifiedDateTime, maxPageSize, skipToken, options); + if (options.PerCallPolicy != null) { - message.SetProperty("RequestOptionsPerCallPolicyCallback", requestOptions.PerCallPolicy); + message.SetProperty("RequestOptionsPerCallPolicyCallback", options.PerCallPolicy); } using var scope = _clientDiagnostics.CreateScope("CropVarietiesClient.List"); scope.Start(); try { - await Pipeline.SendAsync(message, requestOptions.CancellationToken).ConfigureAwait(false); - if (requestOptions.StatusOption == ResponseStatusOption.Default) + await Pipeline.SendAsync(message, options.CancellationToken).ConfigureAwait(false); + if (options.StatusOption == ResponseStatusOption.Default) { switch (message.Response.Status) { @@ -350,23 +350,23 @@ public virtual async Task ListAsync(IEnumerable cropIds = null /// Minimum = 10, Maximum = 1000, Default value = 50. /// /// Skip token for getting next set of results. - /// The request options. + /// The request options. #pragma warning disable AZC0002 - public virtual Response List(IEnumerable cropIds = null, IEnumerable brands = null, IEnumerable products = null, IEnumerable ids = null, IEnumerable names = null, IEnumerable propertyFilters = null, IEnumerable statuses = null, DateTimeOffset? minCreatedDateTime = null, DateTimeOffset? maxCreatedDateTime = null, DateTimeOffset? minLastModifiedDateTime = null, DateTimeOffset? maxLastModifiedDateTime = null, int? maxPageSize = null, string skipToken = null, RequestOptions requestOptions = null) + public virtual Response List(IEnumerable cropIds = null, IEnumerable brands = null, IEnumerable products = null, IEnumerable ids = null, IEnumerable names = null, IEnumerable propertyFilters = null, IEnumerable statuses = null, DateTimeOffset? minCreatedDateTime = null, DateTimeOffset? maxCreatedDateTime = null, DateTimeOffset? minLastModifiedDateTime = null, DateTimeOffset? maxLastModifiedDateTime = null, int? maxPageSize = null, string skipToken = null, RequestOptions options = null) #pragma warning restore AZC0002 { - requestOptions ??= new RequestOptions(); - HttpMessage message = CreateListRequest(cropIds, brands, products, ids, names, propertyFilters, statuses, minCreatedDateTime, maxCreatedDateTime, minLastModifiedDateTime, maxLastModifiedDateTime, maxPageSize, skipToken, requestOptions); - if (requestOptions.PerCallPolicy != null) + options ??= new RequestOptions(); + HttpMessage message = CreateListRequest(cropIds, brands, products, ids, names, propertyFilters, statuses, minCreatedDateTime, maxCreatedDateTime, minLastModifiedDateTime, maxLastModifiedDateTime, maxPageSize, skipToken, options); + if (options.PerCallPolicy != null) { - message.SetProperty("RequestOptionsPerCallPolicyCallback", requestOptions.PerCallPolicy); + message.SetProperty("RequestOptionsPerCallPolicyCallback", options.PerCallPolicy); } using var scope = _clientDiagnostics.CreateScope("CropVarietiesClient.List"); scope.Start(); try { - Pipeline.Send(message, requestOptions.CancellationToken); - if (requestOptions.StatusOption == ResponseStatusOption.Default) + Pipeline.Send(message, options.CancellationToken); + if (options.StatusOption == ResponseStatusOption.Default) { switch (message.Response.Status) { @@ -410,8 +410,8 @@ public virtual Response List(IEnumerable cropIds = null, IEnumerable /// Skip token for getting next set of results. - /// The request options. - private HttpMessage CreateListRequest(IEnumerable cropIds = null, IEnumerable brands = null, IEnumerable products = null, IEnumerable ids = null, IEnumerable names = null, IEnumerable propertyFilters = null, IEnumerable statuses = null, DateTimeOffset? minCreatedDateTime = null, DateTimeOffset? maxCreatedDateTime = null, DateTimeOffset? minLastModifiedDateTime = null, DateTimeOffset? maxLastModifiedDateTime = null, int? maxPageSize = null, string skipToken = null, RequestOptions requestOptions = null) + /// The request options. + private HttpMessage CreateListRequest(IEnumerable cropIds = null, IEnumerable brands = null, IEnumerable products = null, IEnumerable ids = null, IEnumerable names = null, IEnumerable propertyFilters = null, IEnumerable statuses = null, DateTimeOffset? minCreatedDateTime = null, DateTimeOffset? maxCreatedDateTime = null, DateTimeOffset? minLastModifiedDateTime = null, DateTimeOffset? maxLastModifiedDateTime = null, int? maxPageSize = null, string skipToken = null, RequestOptions options = null) { var message = Pipeline.CreateMessage(); var request = message.Request; @@ -480,23 +480,23 @@ private HttpMessage CreateListRequest(IEnumerable cropIds = null, IEnume /// Gets a specified crop variety resource under a particular crop. /// ID of the associated crop. /// ID of the crop variety. - /// The request options. + /// The request options. #pragma warning disable AZC0002 - public virtual async Task GetAsync(string cropId, string cropVarietyId, RequestOptions requestOptions = null) + public virtual async Task GetAsync(string cropId, string cropVarietyId, RequestOptions options = null) #pragma warning restore AZC0002 { - requestOptions ??= new RequestOptions(); - HttpMessage message = CreateGetRequest(cropId, cropVarietyId, requestOptions); - if (requestOptions.PerCallPolicy != null) + options ??= new RequestOptions(); + HttpMessage message = CreateGetRequest(cropId, cropVarietyId, options); + if (options.PerCallPolicy != null) { - message.SetProperty("RequestOptionsPerCallPolicyCallback", requestOptions.PerCallPolicy); + message.SetProperty("RequestOptionsPerCallPolicyCallback", options.PerCallPolicy); } using var scope = _clientDiagnostics.CreateScope("CropVarietiesClient.Get"); scope.Start(); try { - await Pipeline.SendAsync(message, requestOptions.CancellationToken).ConfigureAwait(false); - if (requestOptions.StatusOption == ResponseStatusOption.Default) + await Pipeline.SendAsync(message, options.CancellationToken).ConfigureAwait(false); + if (options.StatusOption == ResponseStatusOption.Default) { switch (message.Response.Status) { @@ -521,23 +521,23 @@ public virtual async Task GetAsync(string cropId, string cropVarietyId /// Gets a specified crop variety resource under a particular crop. /// ID of the associated crop. /// ID of the crop variety. - /// The request options. + /// The request options. #pragma warning disable AZC0002 - public virtual Response Get(string cropId, string cropVarietyId, RequestOptions requestOptions = null) + public virtual Response Get(string cropId, string cropVarietyId, RequestOptions options = null) #pragma warning restore AZC0002 { - requestOptions ??= new RequestOptions(); - HttpMessage message = CreateGetRequest(cropId, cropVarietyId, requestOptions); - if (requestOptions.PerCallPolicy != null) + options ??= new RequestOptions(); + HttpMessage message = CreateGetRequest(cropId, cropVarietyId, options); + if (options.PerCallPolicy != null) { - message.SetProperty("RequestOptionsPerCallPolicyCallback", requestOptions.PerCallPolicy); + message.SetProperty("RequestOptionsPerCallPolicyCallback", options.PerCallPolicy); } using var scope = _clientDiagnostics.CreateScope("CropVarietiesClient.Get"); scope.Start(); try { - Pipeline.Send(message, requestOptions.CancellationToken); - if (requestOptions.StatusOption == ResponseStatusOption.Default) + Pipeline.Send(message, options.CancellationToken); + if (options.StatusOption == ResponseStatusOption.Default) { switch (message.Response.Status) { @@ -562,8 +562,8 @@ public virtual Response Get(string cropId, string cropVarietyId, RequestOptions /// Create Request for and operations. /// ID of the associated crop. /// ID of the crop variety. - /// The request options. - private HttpMessage CreateGetRequest(string cropId, string cropVarietyId, RequestOptions requestOptions = null) + /// The request options. + private HttpMessage CreateGetRequest(string cropId, string cropVarietyId, RequestOptions options = null) { var message = Pipeline.CreateMessage(); var request = message.Request; @@ -584,12 +584,12 @@ private HttpMessage CreateGetRequest(string cropId, string cropVarietyId, Reques /// /// Schema for Request Body: /// - /// + /// /// Name /// Type /// Required /// Description - /// + /// /// /// cropId /// string @@ -668,24 +668,24 @@ private HttpMessage CreateGetRequest(string cropId, string cropVarietyId, Reques /// /// ID of the crop resource. /// ID of the crop variety resource. - /// The request body. - /// The request options. + /// The content to send as the body of the request. + /// The request options. #pragma warning disable AZC0002 - public virtual async Task CreateOrUpdateAsync(string cropId, string cropVarietyId, RequestContent requestBody, RequestOptions requestOptions = null) + public virtual async Task CreateOrUpdateAsync(string cropId, string cropVarietyId, RequestContent content, RequestOptions options = null) #pragma warning restore AZC0002 { - requestOptions ??= new RequestOptions(); - HttpMessage message = CreateCreateOrUpdateRequest(cropId, cropVarietyId, requestBody, requestOptions); - if (requestOptions.PerCallPolicy != null) + options ??= new RequestOptions(); + HttpMessage message = CreateCreateOrUpdateRequest(cropId, cropVarietyId, content, options); + if (options.PerCallPolicy != null) { - message.SetProperty("RequestOptionsPerCallPolicyCallback", requestOptions.PerCallPolicy); + message.SetProperty("RequestOptionsPerCallPolicyCallback", options.PerCallPolicy); } using var scope = _clientDiagnostics.CreateScope("CropVarietiesClient.CreateOrUpdate"); scope.Start(); try { - await Pipeline.SendAsync(message, requestOptions.CancellationToken).ConfigureAwait(false); - if (requestOptions.StatusOption == ResponseStatusOption.Default) + await Pipeline.SendAsync(message, options.CancellationToken).ConfigureAwait(false); + if (options.StatusOption == ResponseStatusOption.Default) { switch (message.Response.Status) { @@ -712,12 +712,12 @@ public virtual async Task CreateOrUpdateAsync(string cropId, string cr /// /// Schema for Request Body: /// - /// + /// /// Name /// Type /// Required /// Description - /// + /// /// /// cropId /// string @@ -796,24 +796,24 @@ public virtual async Task CreateOrUpdateAsync(string cropId, string cr /// /// ID of the crop resource. /// ID of the crop variety resource. - /// The request body. - /// The request options. + /// The content to send as the body of the request. + /// The request options. #pragma warning disable AZC0002 - public virtual Response CreateOrUpdate(string cropId, string cropVarietyId, RequestContent requestBody, RequestOptions requestOptions = null) + public virtual Response CreateOrUpdate(string cropId, string cropVarietyId, RequestContent content, RequestOptions options = null) #pragma warning restore AZC0002 { - requestOptions ??= new RequestOptions(); - HttpMessage message = CreateCreateOrUpdateRequest(cropId, cropVarietyId, requestBody, requestOptions); - if (requestOptions.PerCallPolicy != null) + options ??= new RequestOptions(); + HttpMessage message = CreateCreateOrUpdateRequest(cropId, cropVarietyId, content, options); + if (options.PerCallPolicy != null) { - message.SetProperty("RequestOptionsPerCallPolicyCallback", requestOptions.PerCallPolicy); + message.SetProperty("RequestOptionsPerCallPolicyCallback", options.PerCallPolicy); } using var scope = _clientDiagnostics.CreateScope("CropVarietiesClient.CreateOrUpdate"); scope.Start(); try { - Pipeline.Send(message, requestOptions.CancellationToken); - if (requestOptions.StatusOption == ResponseStatusOption.Default) + Pipeline.Send(message, options.CancellationToken); + if (options.StatusOption == ResponseStatusOption.Default) { switch (message.Response.Status) { @@ -839,9 +839,9 @@ public virtual Response CreateOrUpdate(string cropId, string cropVarietyId, Requ /// Create Request for and operations. /// ID of the crop resource. /// ID of the crop variety resource. - /// The request body. - /// The request options. - private HttpMessage CreateCreateOrUpdateRequest(string cropId, string cropVarietyId, RequestContent requestBody, RequestOptions requestOptions = null) + /// The content to send as the body of the request. + /// The request options. + private HttpMessage CreateCreateOrUpdateRequest(string cropId, string cropVarietyId, RequestContent content, RequestOptions options = null) { var message = Pipeline.CreateMessage(); var request = message.Request; @@ -856,30 +856,30 @@ private HttpMessage CreateCreateOrUpdateRequest(string cropId, string cropVariet request.Uri = uri; request.Headers.Add("Accept", "application/json"); request.Headers.Add("Content-Type", "application/merge-patch+json"); - request.Content = requestBody; + request.Content = content; return message; } /// Deletes a specified crop variety resource under a particular crop. /// ID of the crop. /// ID of the crop variety. - /// The request options. + /// The request options. #pragma warning disable AZC0002 - public virtual async Task DeleteAsync(string cropId, string cropVarietyId, RequestOptions requestOptions = null) + public virtual async Task DeleteAsync(string cropId, string cropVarietyId, RequestOptions options = null) #pragma warning restore AZC0002 { - requestOptions ??= new RequestOptions(); - HttpMessage message = CreateDeleteRequest(cropId, cropVarietyId, requestOptions); - if (requestOptions.PerCallPolicy != null) + options ??= new RequestOptions(); + HttpMessage message = CreateDeleteRequest(cropId, cropVarietyId, options); + if (options.PerCallPolicy != null) { - message.SetProperty("RequestOptionsPerCallPolicyCallback", requestOptions.PerCallPolicy); + message.SetProperty("RequestOptionsPerCallPolicyCallback", options.PerCallPolicy); } using var scope = _clientDiagnostics.CreateScope("CropVarietiesClient.Delete"); scope.Start(); try { - await Pipeline.SendAsync(message, requestOptions.CancellationToken).ConfigureAwait(false); - if (requestOptions.StatusOption == ResponseStatusOption.Default) + await Pipeline.SendAsync(message, options.CancellationToken).ConfigureAwait(false); + if (options.StatusOption == ResponseStatusOption.Default) { switch (message.Response.Status) { @@ -904,23 +904,23 @@ public virtual async Task DeleteAsync(string cropId, string cropVariet /// Deletes a specified crop variety resource under a particular crop. /// ID of the crop. /// ID of the crop variety. - /// The request options. + /// The request options. #pragma warning disable AZC0002 - public virtual Response Delete(string cropId, string cropVarietyId, RequestOptions requestOptions = null) + public virtual Response Delete(string cropId, string cropVarietyId, RequestOptions options = null) #pragma warning restore AZC0002 { - requestOptions ??= new RequestOptions(); - HttpMessage message = CreateDeleteRequest(cropId, cropVarietyId, requestOptions); - if (requestOptions.PerCallPolicy != null) + options ??= new RequestOptions(); + HttpMessage message = CreateDeleteRequest(cropId, cropVarietyId, options); + if (options.PerCallPolicy != null) { - message.SetProperty("RequestOptionsPerCallPolicyCallback", requestOptions.PerCallPolicy); + message.SetProperty("RequestOptionsPerCallPolicyCallback", options.PerCallPolicy); } using var scope = _clientDiagnostics.CreateScope("CropVarietiesClient.Delete"); scope.Start(); try { - Pipeline.Send(message, requestOptions.CancellationToken); - if (requestOptions.StatusOption == ResponseStatusOption.Default) + Pipeline.Send(message, options.CancellationToken); + if (options.StatusOption == ResponseStatusOption.Default) { switch (message.Response.Status) { @@ -945,8 +945,8 @@ public virtual Response Delete(string cropId, string cropVarietyId, RequestOptio /// Create Request for and operations. /// ID of the crop. /// ID of the crop variety. - /// The request options. - private HttpMessage CreateDeleteRequest(string cropId, string cropVarietyId, RequestOptions requestOptions = null) + /// The request options. + private HttpMessage CreateDeleteRequest(string cropId, string cropVarietyId, RequestOptions options = null) { var message = Pipeline.CreateMessage(); var request = message.Request; diff --git a/sdk/agrifood/Azure.Verticals.AgriFood.Farming/src/Generated/CropsClient.cs b/sdk/agrifood/Azure.Verticals.AgriFood.Farming/src/Generated/CropsClient.cs index d76e904e2eca..f1a6e133b734 100644 --- a/sdk/agrifood/Azure.Verticals.AgriFood.Farming/src/Generated/CropsClient.cs +++ b/sdk/agrifood/Azure.Verticals.AgriFood.Farming/src/Generated/CropsClient.cs @@ -74,23 +74,23 @@ public CropsClient(Uri endpoint, TokenCredential credential, FarmBeatsClientOpti /// Minimum = 10, Maximum = 1000, Default value = 50. /// /// Skip token for getting next set of results. - /// The request options. + /// The request options. #pragma warning disable AZC0002 - public virtual async Task ListAsync(IEnumerable phenotypes = null, IEnumerable ids = null, IEnumerable names = null, IEnumerable propertyFilters = null, IEnumerable statuses = null, DateTimeOffset? minCreatedDateTime = null, DateTimeOffset? maxCreatedDateTime = null, DateTimeOffset? minLastModifiedDateTime = null, DateTimeOffset? maxLastModifiedDateTime = null, int? maxPageSize = null, string skipToken = null, RequestOptions requestOptions = null) + public virtual async Task ListAsync(IEnumerable phenotypes = null, IEnumerable ids = null, IEnumerable names = null, IEnumerable propertyFilters = null, IEnumerable statuses = null, DateTimeOffset? minCreatedDateTime = null, DateTimeOffset? maxCreatedDateTime = null, DateTimeOffset? minLastModifiedDateTime = null, DateTimeOffset? maxLastModifiedDateTime = null, int? maxPageSize = null, string skipToken = null, RequestOptions options = null) #pragma warning restore AZC0002 { - requestOptions ??= new RequestOptions(); - HttpMessage message = CreateListRequest(phenotypes, ids, names, propertyFilters, statuses, minCreatedDateTime, maxCreatedDateTime, minLastModifiedDateTime, maxLastModifiedDateTime, maxPageSize, skipToken, requestOptions); - if (requestOptions.PerCallPolicy != null) + options ??= new RequestOptions(); + HttpMessage message = CreateListRequest(phenotypes, ids, names, propertyFilters, statuses, minCreatedDateTime, maxCreatedDateTime, minLastModifiedDateTime, maxLastModifiedDateTime, maxPageSize, skipToken, options); + if (options.PerCallPolicy != null) { - message.SetProperty("RequestOptionsPerCallPolicyCallback", requestOptions.PerCallPolicy); + message.SetProperty("RequestOptionsPerCallPolicyCallback", options.PerCallPolicy); } using var scope = _clientDiagnostics.CreateScope("CropsClient.List"); scope.Start(); try { - await Pipeline.SendAsync(message, requestOptions.CancellationToken).ConfigureAwait(false); - if (requestOptions.StatusOption == ResponseStatusOption.Default) + await Pipeline.SendAsync(message, options.CancellationToken).ConfigureAwait(false); + if (options.StatusOption == ResponseStatusOption.Default) { switch (message.Response.Status) { @@ -132,23 +132,23 @@ public virtual async Task ListAsync(IEnumerable phenotypes = n /// Minimum = 10, Maximum = 1000, Default value = 50. /// /// Skip token for getting next set of results. - /// The request options. + /// The request options. #pragma warning disable AZC0002 - public virtual Response List(IEnumerable phenotypes = null, IEnumerable ids = null, IEnumerable names = null, IEnumerable propertyFilters = null, IEnumerable statuses = null, DateTimeOffset? minCreatedDateTime = null, DateTimeOffset? maxCreatedDateTime = null, DateTimeOffset? minLastModifiedDateTime = null, DateTimeOffset? maxLastModifiedDateTime = null, int? maxPageSize = null, string skipToken = null, RequestOptions requestOptions = null) + public virtual Response List(IEnumerable phenotypes = null, IEnumerable ids = null, IEnumerable names = null, IEnumerable propertyFilters = null, IEnumerable statuses = null, DateTimeOffset? minCreatedDateTime = null, DateTimeOffset? maxCreatedDateTime = null, DateTimeOffset? minLastModifiedDateTime = null, DateTimeOffset? maxLastModifiedDateTime = null, int? maxPageSize = null, string skipToken = null, RequestOptions options = null) #pragma warning restore AZC0002 { - requestOptions ??= new RequestOptions(); - HttpMessage message = CreateListRequest(phenotypes, ids, names, propertyFilters, statuses, minCreatedDateTime, maxCreatedDateTime, minLastModifiedDateTime, maxLastModifiedDateTime, maxPageSize, skipToken, requestOptions); - if (requestOptions.PerCallPolicy != null) + options ??= new RequestOptions(); + HttpMessage message = CreateListRequest(phenotypes, ids, names, propertyFilters, statuses, minCreatedDateTime, maxCreatedDateTime, minLastModifiedDateTime, maxLastModifiedDateTime, maxPageSize, skipToken, options); + if (options.PerCallPolicy != null) { - message.SetProperty("RequestOptionsPerCallPolicyCallback", requestOptions.PerCallPolicy); + message.SetProperty("RequestOptionsPerCallPolicyCallback", options.PerCallPolicy); } using var scope = _clientDiagnostics.CreateScope("CropsClient.List"); scope.Start(); try { - Pipeline.Send(message, requestOptions.CancellationToken); - if (requestOptions.StatusOption == ResponseStatusOption.Default) + Pipeline.Send(message, options.CancellationToken); + if (options.StatusOption == ResponseStatusOption.Default) { switch (message.Response.Status) { @@ -190,8 +190,8 @@ public virtual Response List(IEnumerable phenotypes = null, IEnumerable< /// Minimum = 10, Maximum = 1000, Default value = 50. /// /// Skip token for getting next set of results. - /// The request options. - private HttpMessage CreateListRequest(IEnumerable phenotypes = null, IEnumerable ids = null, IEnumerable names = null, IEnumerable propertyFilters = null, IEnumerable statuses = null, DateTimeOffset? minCreatedDateTime = null, DateTimeOffset? maxCreatedDateTime = null, DateTimeOffset? minLastModifiedDateTime = null, DateTimeOffset? maxLastModifiedDateTime = null, int? maxPageSize = null, string skipToken = null, RequestOptions requestOptions = null) + /// The request options. + private HttpMessage CreateListRequest(IEnumerable phenotypes = null, IEnumerable ids = null, IEnumerable names = null, IEnumerable propertyFilters = null, IEnumerable statuses = null, DateTimeOffset? minCreatedDateTime = null, DateTimeOffset? maxCreatedDateTime = null, DateTimeOffset? minLastModifiedDateTime = null, DateTimeOffset? maxLastModifiedDateTime = null, int? maxPageSize = null, string skipToken = null, RequestOptions options = null) { var message = Pipeline.CreateMessage(); var request = message.Request; @@ -251,23 +251,23 @@ private HttpMessage CreateListRequest(IEnumerable phenotypes = null, IEn /// Gets a specified crop resource. /// ID of the crop. - /// The request options. + /// The request options. #pragma warning disable AZC0002 - public virtual async Task GetAsync(string cropId, RequestOptions requestOptions = null) + public virtual async Task GetAsync(string cropId, RequestOptions options = null) #pragma warning restore AZC0002 { - requestOptions ??= new RequestOptions(); - HttpMessage message = CreateGetRequest(cropId, requestOptions); - if (requestOptions.PerCallPolicy != null) + options ??= new RequestOptions(); + HttpMessage message = CreateGetRequest(cropId, options); + if (options.PerCallPolicy != null) { - message.SetProperty("RequestOptionsPerCallPolicyCallback", requestOptions.PerCallPolicy); + message.SetProperty("RequestOptionsPerCallPolicyCallback", options.PerCallPolicy); } using var scope = _clientDiagnostics.CreateScope("CropsClient.Get"); scope.Start(); try { - await Pipeline.SendAsync(message, requestOptions.CancellationToken).ConfigureAwait(false); - if (requestOptions.StatusOption == ResponseStatusOption.Default) + await Pipeline.SendAsync(message, options.CancellationToken).ConfigureAwait(false); + if (options.StatusOption == ResponseStatusOption.Default) { switch (message.Response.Status) { @@ -291,23 +291,23 @@ public virtual async Task GetAsync(string cropId, RequestOptions reque /// Gets a specified crop resource. /// ID of the crop. - /// The request options. + /// The request options. #pragma warning disable AZC0002 - public virtual Response Get(string cropId, RequestOptions requestOptions = null) + public virtual Response Get(string cropId, RequestOptions options = null) #pragma warning restore AZC0002 { - requestOptions ??= new RequestOptions(); - HttpMessage message = CreateGetRequest(cropId, requestOptions); - if (requestOptions.PerCallPolicy != null) + options ??= new RequestOptions(); + HttpMessage message = CreateGetRequest(cropId, options); + if (options.PerCallPolicy != null) { - message.SetProperty("RequestOptionsPerCallPolicyCallback", requestOptions.PerCallPolicy); + message.SetProperty("RequestOptionsPerCallPolicyCallback", options.PerCallPolicy); } using var scope = _clientDiagnostics.CreateScope("CropsClient.Get"); scope.Start(); try { - Pipeline.Send(message, requestOptions.CancellationToken); - if (requestOptions.StatusOption == ResponseStatusOption.Default) + Pipeline.Send(message, options.CancellationToken); + if (options.StatusOption == ResponseStatusOption.Default) { switch (message.Response.Status) { @@ -331,8 +331,8 @@ public virtual Response Get(string cropId, RequestOptions requestOptions = null) /// Create Request for and operations. /// ID of the crop. - /// The request options. - private HttpMessage CreateGetRequest(string cropId, RequestOptions requestOptions = null) + /// The request options. + private HttpMessage CreateGetRequest(string cropId, RequestOptions options = null) { var message = Pipeline.CreateMessage(); var request = message.Request; @@ -351,12 +351,12 @@ private HttpMessage CreateGetRequest(string cropId, RequestOptions requestOption /// /// Schema for Request Body: /// - /// + /// /// Name /// Type /// Required /// Description - /// + /// /// /// phenotype /// string @@ -422,24 +422,24 @@ private HttpMessage CreateGetRequest(string cropId, RequestOptions requestOption /// /// /// ID of the crop resource. - /// The request body. - /// The request options. + /// The content to send as the body of the request. + /// The request options. #pragma warning disable AZC0002 - public virtual async Task CreateOrUpdateAsync(string cropId, RequestContent requestBody, RequestOptions requestOptions = null) + public virtual async Task CreateOrUpdateAsync(string cropId, RequestContent content, RequestOptions options = null) #pragma warning restore AZC0002 { - requestOptions ??= new RequestOptions(); - HttpMessage message = CreateCreateOrUpdateRequest(cropId, requestBody, requestOptions); - if (requestOptions.PerCallPolicy != null) + options ??= new RequestOptions(); + HttpMessage message = CreateCreateOrUpdateRequest(cropId, content, options); + if (options.PerCallPolicy != null) { - message.SetProperty("RequestOptionsPerCallPolicyCallback", requestOptions.PerCallPolicy); + message.SetProperty("RequestOptionsPerCallPolicyCallback", options.PerCallPolicy); } using var scope = _clientDiagnostics.CreateScope("CropsClient.CreateOrUpdate"); scope.Start(); try { - await Pipeline.SendAsync(message, requestOptions.CancellationToken).ConfigureAwait(false); - if (requestOptions.StatusOption == ResponseStatusOption.Default) + await Pipeline.SendAsync(message, options.CancellationToken).ConfigureAwait(false); + if (options.StatusOption == ResponseStatusOption.Default) { switch (message.Response.Status) { @@ -466,12 +466,12 @@ public virtual async Task CreateOrUpdateAsync(string cropId, RequestCo /// /// Schema for Request Body: /// - /// + /// /// Name /// Type /// Required /// Description - /// + /// /// /// phenotype /// string @@ -537,24 +537,24 @@ public virtual async Task CreateOrUpdateAsync(string cropId, RequestCo /// /// /// ID of the crop resource. - /// The request body. - /// The request options. + /// The content to send as the body of the request. + /// The request options. #pragma warning disable AZC0002 - public virtual Response CreateOrUpdate(string cropId, RequestContent requestBody, RequestOptions requestOptions = null) + public virtual Response CreateOrUpdate(string cropId, RequestContent content, RequestOptions options = null) #pragma warning restore AZC0002 { - requestOptions ??= new RequestOptions(); - HttpMessage message = CreateCreateOrUpdateRequest(cropId, requestBody, requestOptions); - if (requestOptions.PerCallPolicy != null) + options ??= new RequestOptions(); + HttpMessage message = CreateCreateOrUpdateRequest(cropId, content, options); + if (options.PerCallPolicy != null) { - message.SetProperty("RequestOptionsPerCallPolicyCallback", requestOptions.PerCallPolicy); + message.SetProperty("RequestOptionsPerCallPolicyCallback", options.PerCallPolicy); } using var scope = _clientDiagnostics.CreateScope("CropsClient.CreateOrUpdate"); scope.Start(); try { - Pipeline.Send(message, requestOptions.CancellationToken); - if (requestOptions.StatusOption == ResponseStatusOption.Default) + Pipeline.Send(message, options.CancellationToken); + if (options.StatusOption == ResponseStatusOption.Default) { switch (message.Response.Status) { @@ -579,9 +579,9 @@ public virtual Response CreateOrUpdate(string cropId, RequestContent requestBody /// Create Request for and operations. /// ID of the crop resource. - /// The request body. - /// The request options. - private HttpMessage CreateCreateOrUpdateRequest(string cropId, RequestContent requestBody, RequestOptions requestOptions = null) + /// The content to send as the body of the request. + /// The request options. + private HttpMessage CreateCreateOrUpdateRequest(string cropId, RequestContent content, RequestOptions options = null) { var message = Pipeline.CreateMessage(); var request = message.Request; @@ -594,29 +594,29 @@ private HttpMessage CreateCreateOrUpdateRequest(string cropId, RequestContent re request.Uri = uri; request.Headers.Add("Accept", "application/json"); request.Headers.Add("Content-Type", "application/merge-patch+json"); - request.Content = requestBody; + request.Content = content; return message; } /// Deletes Crop for given crop id. /// ID of crop to be deleted. - /// The request options. + /// The request options. #pragma warning disable AZC0002 - public virtual async Task DeleteAsync(string cropId, RequestOptions requestOptions = null) + public virtual async Task DeleteAsync(string cropId, RequestOptions options = null) #pragma warning restore AZC0002 { - requestOptions ??= new RequestOptions(); - HttpMessage message = CreateDeleteRequest(cropId, requestOptions); - if (requestOptions.PerCallPolicy != null) + options ??= new RequestOptions(); + HttpMessage message = CreateDeleteRequest(cropId, options); + if (options.PerCallPolicy != null) { - message.SetProperty("RequestOptionsPerCallPolicyCallback", requestOptions.PerCallPolicy); + message.SetProperty("RequestOptionsPerCallPolicyCallback", options.PerCallPolicy); } using var scope = _clientDiagnostics.CreateScope("CropsClient.Delete"); scope.Start(); try { - await Pipeline.SendAsync(message, requestOptions.CancellationToken).ConfigureAwait(false); - if (requestOptions.StatusOption == ResponseStatusOption.Default) + await Pipeline.SendAsync(message, options.CancellationToken).ConfigureAwait(false); + if (options.StatusOption == ResponseStatusOption.Default) { switch (message.Response.Status) { @@ -640,23 +640,23 @@ public virtual async Task DeleteAsync(string cropId, RequestOptions re /// Deletes Crop for given crop id. /// ID of crop to be deleted. - /// The request options. + /// The request options. #pragma warning disable AZC0002 - public virtual Response Delete(string cropId, RequestOptions requestOptions = null) + public virtual Response Delete(string cropId, RequestOptions options = null) #pragma warning restore AZC0002 { - requestOptions ??= new RequestOptions(); - HttpMessage message = CreateDeleteRequest(cropId, requestOptions); - if (requestOptions.PerCallPolicy != null) + options ??= new RequestOptions(); + HttpMessage message = CreateDeleteRequest(cropId, options); + if (options.PerCallPolicy != null) { - message.SetProperty("RequestOptionsPerCallPolicyCallback", requestOptions.PerCallPolicy); + message.SetProperty("RequestOptionsPerCallPolicyCallback", options.PerCallPolicy); } using var scope = _clientDiagnostics.CreateScope("CropsClient.Delete"); scope.Start(); try { - Pipeline.Send(message, requestOptions.CancellationToken); - if (requestOptions.StatusOption == ResponseStatusOption.Default) + Pipeline.Send(message, options.CancellationToken); + if (options.StatusOption == ResponseStatusOption.Default) { switch (message.Response.Status) { @@ -680,8 +680,8 @@ public virtual Response Delete(string cropId, RequestOptions requestOptions = nu /// Create Request for and operations. /// ID of crop to be deleted. - /// The request options. - private HttpMessage CreateDeleteRequest(string cropId, RequestOptions requestOptions = null) + /// The request options. + private HttpMessage CreateDeleteRequest(string cropId, RequestOptions options = null) { var message = Pipeline.CreateMessage(); var request = message.Request; diff --git a/sdk/agrifood/Azure.Verticals.AgriFood.Farming/src/Generated/FarmClient.cs b/sdk/agrifood/Azure.Verticals.AgriFood.Farming/src/Generated/FarmClient.cs index cccd8271cddf..36646baf20f1 100644 --- a/sdk/agrifood/Azure.Verticals.AgriFood.Farming/src/Generated/FarmClient.cs +++ b/sdk/agrifood/Azure.Verticals.AgriFood.Farming/src/Generated/FarmClient.cs @@ -57,12 +57,12 @@ public FarmClient(Uri endpoint, TokenCredential credential, FarmBeatsClientOptio /// /// Schema for Request Body: /// - /// + /// /// Name /// Type /// Required /// Description - /// + /// /// /// farmerId /// string @@ -168,24 +168,24 @@ public FarmClient(Uri endpoint, TokenCredential credential, FarmBeatsClientOptio /// /// /// Job ID supplied by user. - /// The request body. - /// The request options. + /// The content to send as the body of the request. + /// The request options. #pragma warning disable AZC0002 - public virtual async Task CreateDataIngestionJobAsync(string jobId, RequestContent requestBody, RequestOptions requestOptions = null) + public virtual async Task CreateDataIngestionJobAsync(string jobId, RequestContent content, RequestOptions options = null) #pragma warning restore AZC0002 { - requestOptions ??= new RequestOptions(); - HttpMessage message = CreateCreateDataIngestionJobRequest(jobId, requestBody, requestOptions); - if (requestOptions.PerCallPolicy != null) + options ??= new RequestOptions(); + HttpMessage message = CreateCreateDataIngestionJobRequest(jobId, content, options); + if (options.PerCallPolicy != null) { - message.SetProperty("RequestOptionsPerCallPolicyCallback", requestOptions.PerCallPolicy); + message.SetProperty("RequestOptionsPerCallPolicyCallback", options.PerCallPolicy); } using var scope = _clientDiagnostics.CreateScope("FarmClient.CreateDataIngestionJob"); scope.Start(); try { - await Pipeline.SendAsync(message, requestOptions.CancellationToken).ConfigureAwait(false); - if (requestOptions.StatusOption == ResponseStatusOption.Default) + await Pipeline.SendAsync(message, options.CancellationToken).ConfigureAwait(false); + if (options.StatusOption == ResponseStatusOption.Default) { switch (message.Response.Status) { @@ -211,12 +211,12 @@ public virtual async Task CreateDataIngestionJobAsync(string jobId, Re /// /// Schema for Request Body: /// - /// + /// /// Name /// Type /// Required /// Description - /// + /// /// /// farmerId /// string @@ -322,24 +322,24 @@ public virtual async Task CreateDataIngestionJobAsync(string jobId, Re /// /// /// Job ID supplied by user. - /// The request body. - /// The request options. + /// The content to send as the body of the request. + /// The request options. #pragma warning disable AZC0002 - public virtual Response CreateDataIngestionJob(string jobId, RequestContent requestBody, RequestOptions requestOptions = null) + public virtual Response CreateDataIngestionJob(string jobId, RequestContent content, RequestOptions options = null) #pragma warning restore AZC0002 { - requestOptions ??= new RequestOptions(); - HttpMessage message = CreateCreateDataIngestionJobRequest(jobId, requestBody, requestOptions); - if (requestOptions.PerCallPolicy != null) + options ??= new RequestOptions(); + HttpMessage message = CreateCreateDataIngestionJobRequest(jobId, content, options); + if (options.PerCallPolicy != null) { - message.SetProperty("RequestOptionsPerCallPolicyCallback", requestOptions.PerCallPolicy); + message.SetProperty("RequestOptionsPerCallPolicyCallback", options.PerCallPolicy); } using var scope = _clientDiagnostics.CreateScope("FarmClient.CreateDataIngestionJob"); scope.Start(); try { - Pipeline.Send(message, requestOptions.CancellationToken); - if (requestOptions.StatusOption == ResponseStatusOption.Default) + Pipeline.Send(message, options.CancellationToken); + if (options.StatusOption == ResponseStatusOption.Default) { switch (message.Response.Status) { @@ -363,9 +363,9 @@ public virtual Response CreateDataIngestionJob(string jobId, RequestContent requ /// Create Request for and operations. /// Job ID supplied by user. - /// The request body. - /// The request options. - private HttpMessage CreateCreateDataIngestionJobRequest(string jobId, RequestContent requestBody, RequestOptions requestOptions = null) + /// The content to send as the body of the request. + /// The request options. + private HttpMessage CreateCreateDataIngestionJobRequest(string jobId, RequestContent content, RequestOptions options = null) { var message = Pipeline.CreateMessage(); var request = message.Request; @@ -378,29 +378,29 @@ private HttpMessage CreateCreateDataIngestionJobRequest(string jobId, RequestCon request.Uri = uri; request.Headers.Add("Accept", "application/json"); request.Headers.Add("Content-Type", "application/json"); - request.Content = requestBody; + request.Content = content; return message; } /// Get a farm operation data ingestion job. /// ID of the job. - /// The request options. + /// The request options. #pragma warning disable AZC0002 - public virtual async Task GetDataIngestionJobDetailsAsync(string jobId, RequestOptions requestOptions = null) + public virtual async Task GetDataIngestionJobDetailsAsync(string jobId, RequestOptions options = null) #pragma warning restore AZC0002 { - requestOptions ??= new RequestOptions(); - HttpMessage message = CreateGetDataIngestionJobDetailsRequest(jobId, requestOptions); - if (requestOptions.PerCallPolicy != null) + options ??= new RequestOptions(); + HttpMessage message = CreateGetDataIngestionJobDetailsRequest(jobId, options); + if (options.PerCallPolicy != null) { - message.SetProperty("RequestOptionsPerCallPolicyCallback", requestOptions.PerCallPolicy); + message.SetProperty("RequestOptionsPerCallPolicyCallback", options.PerCallPolicy); } using var scope = _clientDiagnostics.CreateScope("FarmClient.GetDataIngestionJobDetails"); scope.Start(); try { - await Pipeline.SendAsync(message, requestOptions.CancellationToken).ConfigureAwait(false); - if (requestOptions.StatusOption == ResponseStatusOption.Default) + await Pipeline.SendAsync(message, options.CancellationToken).ConfigureAwait(false); + if (options.StatusOption == ResponseStatusOption.Default) { switch (message.Response.Status) { @@ -424,23 +424,23 @@ public virtual async Task GetDataIngestionJobDetailsAsync(string jobId /// Get a farm operation data ingestion job. /// ID of the job. - /// The request options. + /// The request options. #pragma warning disable AZC0002 - public virtual Response GetDataIngestionJobDetails(string jobId, RequestOptions requestOptions = null) + public virtual Response GetDataIngestionJobDetails(string jobId, RequestOptions options = null) #pragma warning restore AZC0002 { - requestOptions ??= new RequestOptions(); - HttpMessage message = CreateGetDataIngestionJobDetailsRequest(jobId, requestOptions); - if (requestOptions.PerCallPolicy != null) + options ??= new RequestOptions(); + HttpMessage message = CreateGetDataIngestionJobDetailsRequest(jobId, options); + if (options.PerCallPolicy != null) { - message.SetProperty("RequestOptionsPerCallPolicyCallback", requestOptions.PerCallPolicy); + message.SetProperty("RequestOptionsPerCallPolicyCallback", options.PerCallPolicy); } using var scope = _clientDiagnostics.CreateScope("FarmClient.GetDataIngestionJobDetails"); scope.Start(); try { - Pipeline.Send(message, requestOptions.CancellationToken); - if (requestOptions.StatusOption == ResponseStatusOption.Default) + Pipeline.Send(message, options.CancellationToken); + if (options.StatusOption == ResponseStatusOption.Default) { switch (message.Response.Status) { @@ -464,8 +464,8 @@ public virtual Response GetDataIngestionJobDetails(string jobId, RequestOptions /// Create Request for and operations. /// ID of the job. - /// The request options. - private HttpMessage CreateGetDataIngestionJobDetailsRequest(string jobId, RequestOptions requestOptions = null) + /// The request options. + private HttpMessage CreateGetDataIngestionJobDetailsRequest(string jobId, RequestOptions options = null) { var message = Pipeline.CreateMessage(); var request = message.Request; diff --git a/sdk/agrifood/Azure.Verticals.AgriFood.Farming/src/Generated/FarmersClient.cs b/sdk/agrifood/Azure.Verticals.AgriFood.Farming/src/Generated/FarmersClient.cs index badb2dec1e16..55a6bb7f5f19 100644 --- a/sdk/agrifood/Azure.Verticals.AgriFood.Farming/src/Generated/FarmersClient.cs +++ b/sdk/agrifood/Azure.Verticals.AgriFood.Farming/src/Generated/FarmersClient.cs @@ -73,23 +73,23 @@ public FarmersClient(Uri endpoint, TokenCredential credential, FarmBeatsClientOp /// Minimum = 10, Maximum = 1000, Default value = 50. /// /// Skip token for getting next set of results. - /// The request options. + /// The request options. #pragma warning disable AZC0002 - public virtual async Task ListAsync(IEnumerable ids = null, IEnumerable names = null, IEnumerable propertyFilters = null, IEnumerable statuses = null, DateTimeOffset? minCreatedDateTime = null, DateTimeOffset? maxCreatedDateTime = null, DateTimeOffset? minLastModifiedDateTime = null, DateTimeOffset? maxLastModifiedDateTime = null, int? maxPageSize = null, string skipToken = null, RequestOptions requestOptions = null) + public virtual async Task ListAsync(IEnumerable ids = null, IEnumerable names = null, IEnumerable propertyFilters = null, IEnumerable statuses = null, DateTimeOffset? minCreatedDateTime = null, DateTimeOffset? maxCreatedDateTime = null, DateTimeOffset? minLastModifiedDateTime = null, DateTimeOffset? maxLastModifiedDateTime = null, int? maxPageSize = null, string skipToken = null, RequestOptions options = null) #pragma warning restore AZC0002 { - requestOptions ??= new RequestOptions(); - HttpMessage message = CreateListRequest(ids, names, propertyFilters, statuses, minCreatedDateTime, maxCreatedDateTime, minLastModifiedDateTime, maxLastModifiedDateTime, maxPageSize, skipToken, requestOptions); - if (requestOptions.PerCallPolicy != null) + options ??= new RequestOptions(); + HttpMessage message = CreateListRequest(ids, names, propertyFilters, statuses, minCreatedDateTime, maxCreatedDateTime, minLastModifiedDateTime, maxLastModifiedDateTime, maxPageSize, skipToken, options); + if (options.PerCallPolicy != null) { - message.SetProperty("RequestOptionsPerCallPolicyCallback", requestOptions.PerCallPolicy); + message.SetProperty("RequestOptionsPerCallPolicyCallback", options.PerCallPolicy); } using var scope = _clientDiagnostics.CreateScope("FarmersClient.List"); scope.Start(); try { - await Pipeline.SendAsync(message, requestOptions.CancellationToken).ConfigureAwait(false); - if (requestOptions.StatusOption == ResponseStatusOption.Default) + await Pipeline.SendAsync(message, options.CancellationToken).ConfigureAwait(false); + if (options.StatusOption == ResponseStatusOption.Default) { switch (message.Response.Status) { @@ -130,23 +130,23 @@ public virtual async Task ListAsync(IEnumerable ids = null, IE /// Minimum = 10, Maximum = 1000, Default value = 50. /// /// Skip token for getting next set of results. - /// The request options. + /// The request options. #pragma warning disable AZC0002 - public virtual Response List(IEnumerable ids = null, IEnumerable names = null, IEnumerable propertyFilters = null, IEnumerable statuses = null, DateTimeOffset? minCreatedDateTime = null, DateTimeOffset? maxCreatedDateTime = null, DateTimeOffset? minLastModifiedDateTime = null, DateTimeOffset? maxLastModifiedDateTime = null, int? maxPageSize = null, string skipToken = null, RequestOptions requestOptions = null) + public virtual Response List(IEnumerable ids = null, IEnumerable names = null, IEnumerable propertyFilters = null, IEnumerable statuses = null, DateTimeOffset? minCreatedDateTime = null, DateTimeOffset? maxCreatedDateTime = null, DateTimeOffset? minLastModifiedDateTime = null, DateTimeOffset? maxLastModifiedDateTime = null, int? maxPageSize = null, string skipToken = null, RequestOptions options = null) #pragma warning restore AZC0002 { - requestOptions ??= new RequestOptions(); - HttpMessage message = CreateListRequest(ids, names, propertyFilters, statuses, minCreatedDateTime, maxCreatedDateTime, minLastModifiedDateTime, maxLastModifiedDateTime, maxPageSize, skipToken, requestOptions); - if (requestOptions.PerCallPolicy != null) + options ??= new RequestOptions(); + HttpMessage message = CreateListRequest(ids, names, propertyFilters, statuses, minCreatedDateTime, maxCreatedDateTime, minLastModifiedDateTime, maxLastModifiedDateTime, maxPageSize, skipToken, options); + if (options.PerCallPolicy != null) { - message.SetProperty("RequestOptionsPerCallPolicyCallback", requestOptions.PerCallPolicy); + message.SetProperty("RequestOptionsPerCallPolicyCallback", options.PerCallPolicy); } using var scope = _clientDiagnostics.CreateScope("FarmersClient.List"); scope.Start(); try { - Pipeline.Send(message, requestOptions.CancellationToken); - if (requestOptions.StatusOption == ResponseStatusOption.Default) + Pipeline.Send(message, options.CancellationToken); + if (options.StatusOption == ResponseStatusOption.Default) { switch (message.Response.Status) { @@ -187,8 +187,8 @@ public virtual Response List(IEnumerable ids = null, IEnumerable /// Minimum = 10, Maximum = 1000, Default value = 50. /// /// Skip token for getting next set of results. - /// The request options. - private HttpMessage CreateListRequest(IEnumerable ids = null, IEnumerable names = null, IEnumerable propertyFilters = null, IEnumerable statuses = null, DateTimeOffset? minCreatedDateTime = null, DateTimeOffset? maxCreatedDateTime = null, DateTimeOffset? minLastModifiedDateTime = null, DateTimeOffset? maxLastModifiedDateTime = null, int? maxPageSize = null, string skipToken = null, RequestOptions requestOptions = null) + /// The request options. + private HttpMessage CreateListRequest(IEnumerable ids = null, IEnumerable names = null, IEnumerable propertyFilters = null, IEnumerable statuses = null, DateTimeOffset? minCreatedDateTime = null, DateTimeOffset? maxCreatedDateTime = null, DateTimeOffset? minLastModifiedDateTime = null, DateTimeOffset? maxLastModifiedDateTime = null, int? maxPageSize = null, string skipToken = null, RequestOptions options = null) { var message = Pipeline.CreateMessage(); var request = message.Request; @@ -244,23 +244,23 @@ private HttpMessage CreateListRequest(IEnumerable ids = null, IEnumerabl /// Gets a specified farmer resource. /// ID of the associated farmer. - /// The request options. + /// The request options. #pragma warning disable AZC0002 - public virtual async Task GetAsync(string farmerId, RequestOptions requestOptions = null) + public virtual async Task GetAsync(string farmerId, RequestOptions options = null) #pragma warning restore AZC0002 { - requestOptions ??= new RequestOptions(); - HttpMessage message = CreateGetRequest(farmerId, requestOptions); - if (requestOptions.PerCallPolicy != null) + options ??= new RequestOptions(); + HttpMessage message = CreateGetRequest(farmerId, options); + if (options.PerCallPolicy != null) { - message.SetProperty("RequestOptionsPerCallPolicyCallback", requestOptions.PerCallPolicy); + message.SetProperty("RequestOptionsPerCallPolicyCallback", options.PerCallPolicy); } using var scope = _clientDiagnostics.CreateScope("FarmersClient.Get"); scope.Start(); try { - await Pipeline.SendAsync(message, requestOptions.CancellationToken).ConfigureAwait(false); - if (requestOptions.StatusOption == ResponseStatusOption.Default) + await Pipeline.SendAsync(message, options.CancellationToken).ConfigureAwait(false); + if (options.StatusOption == ResponseStatusOption.Default) { switch (message.Response.Status) { @@ -284,23 +284,23 @@ public virtual async Task GetAsync(string farmerId, RequestOptions req /// Gets a specified farmer resource. /// ID of the associated farmer. - /// The request options. + /// The request options. #pragma warning disable AZC0002 - public virtual Response Get(string farmerId, RequestOptions requestOptions = null) + public virtual Response Get(string farmerId, RequestOptions options = null) #pragma warning restore AZC0002 { - requestOptions ??= new RequestOptions(); - HttpMessage message = CreateGetRequest(farmerId, requestOptions); - if (requestOptions.PerCallPolicy != null) + options ??= new RequestOptions(); + HttpMessage message = CreateGetRequest(farmerId, options); + if (options.PerCallPolicy != null) { - message.SetProperty("RequestOptionsPerCallPolicyCallback", requestOptions.PerCallPolicy); + message.SetProperty("RequestOptionsPerCallPolicyCallback", options.PerCallPolicy); } using var scope = _clientDiagnostics.CreateScope("FarmersClient.Get"); scope.Start(); try { - Pipeline.Send(message, requestOptions.CancellationToken); - if (requestOptions.StatusOption == ResponseStatusOption.Default) + Pipeline.Send(message, options.CancellationToken); + if (options.StatusOption == ResponseStatusOption.Default) { switch (message.Response.Status) { @@ -324,8 +324,8 @@ public virtual Response Get(string farmerId, RequestOptions requestOptions = nul /// Create Request for and operations. /// ID of the associated farmer. - /// The request options. - private HttpMessage CreateGetRequest(string farmerId, RequestOptions requestOptions = null) + /// The request options. + private HttpMessage CreateGetRequest(string farmerId, RequestOptions options = null) { var message = Pipeline.CreateMessage(); var request = message.Request; @@ -344,12 +344,12 @@ private HttpMessage CreateGetRequest(string farmerId, RequestOptions requestOpti /// /// Schema for Request Body: /// - /// + /// /// Name /// Type /// Required /// Description - /// + /// /// /// id /// string @@ -409,24 +409,24 @@ private HttpMessage CreateGetRequest(string farmerId, RequestOptions requestOpti /// /// /// ID of the farmer resource. - /// The request body. - /// The request options. + /// The content to send as the body of the request. + /// The request options. #pragma warning disable AZC0002 - public virtual async Task CreateOrUpdateAsync(string farmerId, RequestContent requestBody, RequestOptions requestOptions = null) + public virtual async Task CreateOrUpdateAsync(string farmerId, RequestContent content, RequestOptions options = null) #pragma warning restore AZC0002 { - requestOptions ??= new RequestOptions(); - HttpMessage message = CreateCreateOrUpdateRequest(farmerId, requestBody, requestOptions); - if (requestOptions.PerCallPolicy != null) + options ??= new RequestOptions(); + HttpMessage message = CreateCreateOrUpdateRequest(farmerId, content, options); + if (options.PerCallPolicy != null) { - message.SetProperty("RequestOptionsPerCallPolicyCallback", requestOptions.PerCallPolicy); + message.SetProperty("RequestOptionsPerCallPolicyCallback", options.PerCallPolicy); } using var scope = _clientDiagnostics.CreateScope("FarmersClient.CreateOrUpdate"); scope.Start(); try { - await Pipeline.SendAsync(message, requestOptions.CancellationToken).ConfigureAwait(false); - if (requestOptions.StatusOption == ResponseStatusOption.Default) + await Pipeline.SendAsync(message, options.CancellationToken).ConfigureAwait(false); + if (options.StatusOption == ResponseStatusOption.Default) { switch (message.Response.Status) { @@ -453,12 +453,12 @@ public virtual async Task CreateOrUpdateAsync(string farmerId, Request /// /// Schema for Request Body: /// - /// + /// /// Name /// Type /// Required /// Description - /// + /// /// /// id /// string @@ -518,24 +518,24 @@ public virtual async Task CreateOrUpdateAsync(string farmerId, Request /// /// /// ID of the farmer resource. - /// The request body. - /// The request options. + /// The content to send as the body of the request. + /// The request options. #pragma warning disable AZC0002 - public virtual Response CreateOrUpdate(string farmerId, RequestContent requestBody, RequestOptions requestOptions = null) + public virtual Response CreateOrUpdate(string farmerId, RequestContent content, RequestOptions options = null) #pragma warning restore AZC0002 { - requestOptions ??= new RequestOptions(); - HttpMessage message = CreateCreateOrUpdateRequest(farmerId, requestBody, requestOptions); - if (requestOptions.PerCallPolicy != null) + options ??= new RequestOptions(); + HttpMessage message = CreateCreateOrUpdateRequest(farmerId, content, options); + if (options.PerCallPolicy != null) { - message.SetProperty("RequestOptionsPerCallPolicyCallback", requestOptions.PerCallPolicy); + message.SetProperty("RequestOptionsPerCallPolicyCallback", options.PerCallPolicy); } using var scope = _clientDiagnostics.CreateScope("FarmersClient.CreateOrUpdate"); scope.Start(); try { - Pipeline.Send(message, requestOptions.CancellationToken); - if (requestOptions.StatusOption == ResponseStatusOption.Default) + Pipeline.Send(message, options.CancellationToken); + if (options.StatusOption == ResponseStatusOption.Default) { switch (message.Response.Status) { @@ -560,9 +560,9 @@ public virtual Response CreateOrUpdate(string farmerId, RequestContent requestBo /// Create Request for and operations. /// ID of the farmer resource. - /// The request body. - /// The request options. - private HttpMessage CreateCreateOrUpdateRequest(string farmerId, RequestContent requestBody, RequestOptions requestOptions = null) + /// The content to send as the body of the request. + /// The request options. + private HttpMessage CreateCreateOrUpdateRequest(string farmerId, RequestContent content, RequestOptions options = null) { var message = Pipeline.CreateMessage(); var request = message.Request; @@ -575,29 +575,29 @@ private HttpMessage CreateCreateOrUpdateRequest(string farmerId, RequestContent request.Uri = uri; request.Headers.Add("Accept", "application/json"); request.Headers.Add("Content-Type", "application/merge-patch+json"); - request.Content = requestBody; + request.Content = content; return message; } /// Deletes a specified farmer resource. /// ID of farmer to be deleted. - /// The request options. + /// The request options. #pragma warning disable AZC0002 - public virtual async Task DeleteAsync(string farmerId, RequestOptions requestOptions = null) + public virtual async Task DeleteAsync(string farmerId, RequestOptions options = null) #pragma warning restore AZC0002 { - requestOptions ??= new RequestOptions(); - HttpMessage message = CreateDeleteRequest(farmerId, requestOptions); - if (requestOptions.PerCallPolicy != null) + options ??= new RequestOptions(); + HttpMessage message = CreateDeleteRequest(farmerId, options); + if (options.PerCallPolicy != null) { - message.SetProperty("RequestOptionsPerCallPolicyCallback", requestOptions.PerCallPolicy); + message.SetProperty("RequestOptionsPerCallPolicyCallback", options.PerCallPolicy); } using var scope = _clientDiagnostics.CreateScope("FarmersClient.Delete"); scope.Start(); try { - await Pipeline.SendAsync(message, requestOptions.CancellationToken).ConfigureAwait(false); - if (requestOptions.StatusOption == ResponseStatusOption.Default) + await Pipeline.SendAsync(message, options.CancellationToken).ConfigureAwait(false); + if (options.StatusOption == ResponseStatusOption.Default) { switch (message.Response.Status) { @@ -621,23 +621,23 @@ public virtual async Task DeleteAsync(string farmerId, RequestOptions /// Deletes a specified farmer resource. /// ID of farmer to be deleted. - /// The request options. + /// The request options. #pragma warning disable AZC0002 - public virtual Response Delete(string farmerId, RequestOptions requestOptions = null) + public virtual Response Delete(string farmerId, RequestOptions options = null) #pragma warning restore AZC0002 { - requestOptions ??= new RequestOptions(); - HttpMessage message = CreateDeleteRequest(farmerId, requestOptions); - if (requestOptions.PerCallPolicy != null) + options ??= new RequestOptions(); + HttpMessage message = CreateDeleteRequest(farmerId, options); + if (options.PerCallPolicy != null) { - message.SetProperty("RequestOptionsPerCallPolicyCallback", requestOptions.PerCallPolicy); + message.SetProperty("RequestOptionsPerCallPolicyCallback", options.PerCallPolicy); } using var scope = _clientDiagnostics.CreateScope("FarmersClient.Delete"); scope.Start(); try { - Pipeline.Send(message, requestOptions.CancellationToken); - if (requestOptions.StatusOption == ResponseStatusOption.Default) + Pipeline.Send(message, options.CancellationToken); + if (options.StatusOption == ResponseStatusOption.Default) { switch (message.Response.Status) { @@ -661,8 +661,8 @@ public virtual Response Delete(string farmerId, RequestOptions requestOptions = /// Create Request for and operations. /// ID of farmer to be deleted. - /// The request options. - private HttpMessage CreateDeleteRequest(string farmerId, RequestOptions requestOptions = null) + /// The request options. + private HttpMessage CreateDeleteRequest(string farmerId, RequestOptions options = null) { var message = Pipeline.CreateMessage(); var request = message.Request; @@ -679,23 +679,23 @@ private HttpMessage CreateDeleteRequest(string farmerId, RequestOptions requestO /// Get a cascade delete job for specified farmer. /// ID of the job. - /// The request options. + /// The request options. #pragma warning disable AZC0002 - public virtual async Task GetCascadeDeleteJobDetailsAsync(string jobId, RequestOptions requestOptions = null) + public virtual async Task GetCascadeDeleteJobDetailsAsync(string jobId, RequestOptions options = null) #pragma warning restore AZC0002 { - requestOptions ??= new RequestOptions(); - HttpMessage message = CreateGetCascadeDeleteJobDetailsRequest(jobId, requestOptions); - if (requestOptions.PerCallPolicy != null) + options ??= new RequestOptions(); + HttpMessage message = CreateGetCascadeDeleteJobDetailsRequest(jobId, options); + if (options.PerCallPolicy != null) { - message.SetProperty("RequestOptionsPerCallPolicyCallback", requestOptions.PerCallPolicy); + message.SetProperty("RequestOptionsPerCallPolicyCallback", options.PerCallPolicy); } using var scope = _clientDiagnostics.CreateScope("FarmersClient.GetCascadeDeleteJobDetails"); scope.Start(); try { - await Pipeline.SendAsync(message, requestOptions.CancellationToken).ConfigureAwait(false); - if (requestOptions.StatusOption == ResponseStatusOption.Default) + await Pipeline.SendAsync(message, options.CancellationToken).ConfigureAwait(false); + if (options.StatusOption == ResponseStatusOption.Default) { switch (message.Response.Status) { @@ -719,23 +719,23 @@ public virtual async Task GetCascadeDeleteJobDetailsAsync(string jobId /// Get a cascade delete job for specified farmer. /// ID of the job. - /// The request options. + /// The request options. #pragma warning disable AZC0002 - public virtual Response GetCascadeDeleteJobDetails(string jobId, RequestOptions requestOptions = null) + public virtual Response GetCascadeDeleteJobDetails(string jobId, RequestOptions options = null) #pragma warning restore AZC0002 { - requestOptions ??= new RequestOptions(); - HttpMessage message = CreateGetCascadeDeleteJobDetailsRequest(jobId, requestOptions); - if (requestOptions.PerCallPolicy != null) + options ??= new RequestOptions(); + HttpMessage message = CreateGetCascadeDeleteJobDetailsRequest(jobId, options); + if (options.PerCallPolicy != null) { - message.SetProperty("RequestOptionsPerCallPolicyCallback", requestOptions.PerCallPolicy); + message.SetProperty("RequestOptionsPerCallPolicyCallback", options.PerCallPolicy); } using var scope = _clientDiagnostics.CreateScope("FarmersClient.GetCascadeDeleteJobDetails"); scope.Start(); try { - Pipeline.Send(message, requestOptions.CancellationToken); - if (requestOptions.StatusOption == ResponseStatusOption.Default) + Pipeline.Send(message, options.CancellationToken); + if (options.StatusOption == ResponseStatusOption.Default) { switch (message.Response.Status) { @@ -759,8 +759,8 @@ public virtual Response GetCascadeDeleteJobDetails(string jobId, RequestOptions /// Create Request for and operations. /// ID of the job. - /// The request options. - private HttpMessage CreateGetCascadeDeleteJobDetailsRequest(string jobId, RequestOptions requestOptions = null) + /// The request options. + private HttpMessage CreateGetCascadeDeleteJobDetailsRequest(string jobId, RequestOptions options = null) { var message = Pipeline.CreateMessage(); var request = message.Request; @@ -778,23 +778,23 @@ private HttpMessage CreateGetCascadeDeleteJobDetailsRequest(string jobId, Reques /// Create a cascade delete job for specified farmer. /// Job ID supplied by end user. /// ID of the farmer to be deleted. - /// The request options. + /// The request options. #pragma warning disable AZC0002 - public virtual async Task CreateCascadeDeleteJobAsync(string jobId, string farmerId, RequestOptions requestOptions = null) + public virtual async Task CreateCascadeDeleteJobAsync(string jobId, string farmerId, RequestOptions options = null) #pragma warning restore AZC0002 { - requestOptions ??= new RequestOptions(); - HttpMessage message = CreateCreateCascadeDeleteJobRequest(jobId, farmerId, requestOptions); - if (requestOptions.PerCallPolicy != null) + options ??= new RequestOptions(); + HttpMessage message = CreateCreateCascadeDeleteJobRequest(jobId, farmerId, options); + if (options.PerCallPolicy != null) { - message.SetProperty("RequestOptionsPerCallPolicyCallback", requestOptions.PerCallPolicy); + message.SetProperty("RequestOptionsPerCallPolicyCallback", options.PerCallPolicy); } using var scope = _clientDiagnostics.CreateScope("FarmersClient.CreateCascadeDeleteJob"); scope.Start(); try { - await Pipeline.SendAsync(message, requestOptions.CancellationToken).ConfigureAwait(false); - if (requestOptions.StatusOption == ResponseStatusOption.Default) + await Pipeline.SendAsync(message, options.CancellationToken).ConfigureAwait(false); + if (options.StatusOption == ResponseStatusOption.Default) { switch (message.Response.Status) { @@ -819,23 +819,23 @@ public virtual async Task CreateCascadeDeleteJobAsync(string jobId, st /// Create a cascade delete job for specified farmer. /// Job ID supplied by end user. /// ID of the farmer to be deleted. - /// The request options. + /// The request options. #pragma warning disable AZC0002 - public virtual Response CreateCascadeDeleteJob(string jobId, string farmerId, RequestOptions requestOptions = null) + public virtual Response CreateCascadeDeleteJob(string jobId, string farmerId, RequestOptions options = null) #pragma warning restore AZC0002 { - requestOptions ??= new RequestOptions(); - HttpMessage message = CreateCreateCascadeDeleteJobRequest(jobId, farmerId, requestOptions); - if (requestOptions.PerCallPolicy != null) + options ??= new RequestOptions(); + HttpMessage message = CreateCreateCascadeDeleteJobRequest(jobId, farmerId, options); + if (options.PerCallPolicy != null) { - message.SetProperty("RequestOptionsPerCallPolicyCallback", requestOptions.PerCallPolicy); + message.SetProperty("RequestOptionsPerCallPolicyCallback", options.PerCallPolicy); } using var scope = _clientDiagnostics.CreateScope("FarmersClient.CreateCascadeDeleteJob"); scope.Start(); try { - Pipeline.Send(message, requestOptions.CancellationToken); - if (requestOptions.StatusOption == ResponseStatusOption.Default) + Pipeline.Send(message, options.CancellationToken); + if (options.StatusOption == ResponseStatusOption.Default) { switch (message.Response.Status) { @@ -860,8 +860,8 @@ public virtual Response CreateCascadeDeleteJob(string jobId, string farmerId, Re /// Create Request for and operations. /// Job ID supplied by end user. /// ID of the farmer to be deleted. - /// The request options. - private HttpMessage CreateCreateCascadeDeleteJobRequest(string jobId, string farmerId, RequestOptions requestOptions = null) + /// The request options. + private HttpMessage CreateCreateCascadeDeleteJobRequest(string jobId, string farmerId, RequestOptions options = null) { var message = Pipeline.CreateMessage(); var request = message.Request; diff --git a/sdk/agrifood/Azure.Verticals.AgriFood.Farming/src/Generated/FarmsClient.cs b/sdk/agrifood/Azure.Verticals.AgriFood.Farming/src/Generated/FarmsClient.cs index 3c2ab775cec4..48d26b40d682 100644 --- a/sdk/agrifood/Azure.Verticals.AgriFood.Farming/src/Generated/FarmsClient.cs +++ b/sdk/agrifood/Azure.Verticals.AgriFood.Farming/src/Generated/FarmsClient.cs @@ -74,23 +74,23 @@ public FarmsClient(Uri endpoint, TokenCredential credential, FarmBeatsClientOpti /// Minimum = 10, Maximum = 1000, Default value = 50. /// /// Skip token for getting next set of results. - /// The request options. + /// The request options. #pragma warning disable AZC0002 - public virtual async Task ListByFarmerIdAsync(string farmerId, IEnumerable ids = null, IEnumerable names = null, IEnumerable propertyFilters = null, IEnumerable statuses = null, DateTimeOffset? minCreatedDateTime = null, DateTimeOffset? maxCreatedDateTime = null, DateTimeOffset? minLastModifiedDateTime = null, DateTimeOffset? maxLastModifiedDateTime = null, int? maxPageSize = null, string skipToken = null, RequestOptions requestOptions = null) + public virtual async Task ListByFarmerIdAsync(string farmerId, IEnumerable ids = null, IEnumerable names = null, IEnumerable propertyFilters = null, IEnumerable statuses = null, DateTimeOffset? minCreatedDateTime = null, DateTimeOffset? maxCreatedDateTime = null, DateTimeOffset? minLastModifiedDateTime = null, DateTimeOffset? maxLastModifiedDateTime = null, int? maxPageSize = null, string skipToken = null, RequestOptions options = null) #pragma warning restore AZC0002 { - requestOptions ??= new RequestOptions(); - HttpMessage message = CreateListByFarmerIdRequest(farmerId, ids, names, propertyFilters, statuses, minCreatedDateTime, maxCreatedDateTime, minLastModifiedDateTime, maxLastModifiedDateTime, maxPageSize, skipToken, requestOptions); - if (requestOptions.PerCallPolicy != null) + options ??= new RequestOptions(); + HttpMessage message = CreateListByFarmerIdRequest(farmerId, ids, names, propertyFilters, statuses, minCreatedDateTime, maxCreatedDateTime, minLastModifiedDateTime, maxLastModifiedDateTime, maxPageSize, skipToken, options); + if (options.PerCallPolicy != null) { - message.SetProperty("RequestOptionsPerCallPolicyCallback", requestOptions.PerCallPolicy); + message.SetProperty("RequestOptionsPerCallPolicyCallback", options.PerCallPolicy); } using var scope = _clientDiagnostics.CreateScope("FarmsClient.ListByFarmerId"); scope.Start(); try { - await Pipeline.SendAsync(message, requestOptions.CancellationToken).ConfigureAwait(false); - if (requestOptions.StatusOption == ResponseStatusOption.Default) + await Pipeline.SendAsync(message, options.CancellationToken).ConfigureAwait(false); + if (options.StatusOption == ResponseStatusOption.Default) { switch (message.Response.Status) { @@ -132,23 +132,23 @@ public virtual async Task ListByFarmerIdAsync(string farmerId, IEnumer /// Minimum = 10, Maximum = 1000, Default value = 50. /// /// Skip token for getting next set of results. - /// The request options. + /// The request options. #pragma warning disable AZC0002 - public virtual Response ListByFarmerId(string farmerId, IEnumerable ids = null, IEnumerable names = null, IEnumerable propertyFilters = null, IEnumerable statuses = null, DateTimeOffset? minCreatedDateTime = null, DateTimeOffset? maxCreatedDateTime = null, DateTimeOffset? minLastModifiedDateTime = null, DateTimeOffset? maxLastModifiedDateTime = null, int? maxPageSize = null, string skipToken = null, RequestOptions requestOptions = null) + public virtual Response ListByFarmerId(string farmerId, IEnumerable ids = null, IEnumerable names = null, IEnumerable propertyFilters = null, IEnumerable statuses = null, DateTimeOffset? minCreatedDateTime = null, DateTimeOffset? maxCreatedDateTime = null, DateTimeOffset? minLastModifiedDateTime = null, DateTimeOffset? maxLastModifiedDateTime = null, int? maxPageSize = null, string skipToken = null, RequestOptions options = null) #pragma warning restore AZC0002 { - requestOptions ??= new RequestOptions(); - HttpMessage message = CreateListByFarmerIdRequest(farmerId, ids, names, propertyFilters, statuses, minCreatedDateTime, maxCreatedDateTime, minLastModifiedDateTime, maxLastModifiedDateTime, maxPageSize, skipToken, requestOptions); - if (requestOptions.PerCallPolicy != null) + options ??= new RequestOptions(); + HttpMessage message = CreateListByFarmerIdRequest(farmerId, ids, names, propertyFilters, statuses, minCreatedDateTime, maxCreatedDateTime, minLastModifiedDateTime, maxLastModifiedDateTime, maxPageSize, skipToken, options); + if (options.PerCallPolicy != null) { - message.SetProperty("RequestOptionsPerCallPolicyCallback", requestOptions.PerCallPolicy); + message.SetProperty("RequestOptionsPerCallPolicyCallback", options.PerCallPolicy); } using var scope = _clientDiagnostics.CreateScope("FarmsClient.ListByFarmerId"); scope.Start(); try { - Pipeline.Send(message, requestOptions.CancellationToken); - if (requestOptions.StatusOption == ResponseStatusOption.Default) + Pipeline.Send(message, options.CancellationToken); + if (options.StatusOption == ResponseStatusOption.Default) { switch (message.Response.Status) { @@ -190,8 +190,8 @@ public virtual Response ListByFarmerId(string farmerId, IEnumerable ids /// Minimum = 10, Maximum = 1000, Default value = 50. /// /// Skip token for getting next set of results. - /// The request options. - private HttpMessage CreateListByFarmerIdRequest(string farmerId, IEnumerable ids = null, IEnumerable names = null, IEnumerable propertyFilters = null, IEnumerable statuses = null, DateTimeOffset? minCreatedDateTime = null, DateTimeOffset? maxCreatedDateTime = null, DateTimeOffset? minLastModifiedDateTime = null, DateTimeOffset? maxLastModifiedDateTime = null, int? maxPageSize = null, string skipToken = null, RequestOptions requestOptions = null) + /// The request options. + private HttpMessage CreateListByFarmerIdRequest(string farmerId, IEnumerable ids = null, IEnumerable names = null, IEnumerable propertyFilters = null, IEnumerable statuses = null, DateTimeOffset? minCreatedDateTime = null, DateTimeOffset? maxCreatedDateTime = null, DateTimeOffset? minLastModifiedDateTime = null, DateTimeOffset? maxLastModifiedDateTime = null, int? maxPageSize = null, string skipToken = null, RequestOptions options = null) { var message = Pipeline.CreateMessage(); var request = message.Request; @@ -266,23 +266,23 @@ private HttpMessage CreateListByFarmerIdRequest(string farmerId, IEnumerable /// Skip token for getting next set of results. - /// The request options. + /// The request options. #pragma warning disable AZC0002 - public virtual async Task ListAsync(IEnumerable ids = null, IEnumerable names = null, IEnumerable propertyFilters = null, IEnumerable statuses = null, DateTimeOffset? minCreatedDateTime = null, DateTimeOffset? maxCreatedDateTime = null, DateTimeOffset? minLastModifiedDateTime = null, DateTimeOffset? maxLastModifiedDateTime = null, int? maxPageSize = null, string skipToken = null, RequestOptions requestOptions = null) + public virtual async Task ListAsync(IEnumerable ids = null, IEnumerable names = null, IEnumerable propertyFilters = null, IEnumerable statuses = null, DateTimeOffset? minCreatedDateTime = null, DateTimeOffset? maxCreatedDateTime = null, DateTimeOffset? minLastModifiedDateTime = null, DateTimeOffset? maxLastModifiedDateTime = null, int? maxPageSize = null, string skipToken = null, RequestOptions options = null) #pragma warning restore AZC0002 { - requestOptions ??= new RequestOptions(); - HttpMessage message = CreateListRequest(ids, names, propertyFilters, statuses, minCreatedDateTime, maxCreatedDateTime, minLastModifiedDateTime, maxLastModifiedDateTime, maxPageSize, skipToken, requestOptions); - if (requestOptions.PerCallPolicy != null) + options ??= new RequestOptions(); + HttpMessage message = CreateListRequest(ids, names, propertyFilters, statuses, minCreatedDateTime, maxCreatedDateTime, minLastModifiedDateTime, maxLastModifiedDateTime, maxPageSize, skipToken, options); + if (options.PerCallPolicy != null) { - message.SetProperty("RequestOptionsPerCallPolicyCallback", requestOptions.PerCallPolicy); + message.SetProperty("RequestOptionsPerCallPolicyCallback", options.PerCallPolicy); } using var scope = _clientDiagnostics.CreateScope("FarmsClient.List"); scope.Start(); try { - await Pipeline.SendAsync(message, requestOptions.CancellationToken).ConfigureAwait(false); - if (requestOptions.StatusOption == ResponseStatusOption.Default) + await Pipeline.SendAsync(message, options.CancellationToken).ConfigureAwait(false); + if (options.StatusOption == ResponseStatusOption.Default) { switch (message.Response.Status) { @@ -323,23 +323,23 @@ public virtual async Task ListAsync(IEnumerable ids = null, IE /// Minimum = 10, Maximum = 1000, Default value = 50. /// /// Skip token for getting next set of results. - /// The request options. + /// The request options. #pragma warning disable AZC0002 - public virtual Response List(IEnumerable ids = null, IEnumerable names = null, IEnumerable propertyFilters = null, IEnumerable statuses = null, DateTimeOffset? minCreatedDateTime = null, DateTimeOffset? maxCreatedDateTime = null, DateTimeOffset? minLastModifiedDateTime = null, DateTimeOffset? maxLastModifiedDateTime = null, int? maxPageSize = null, string skipToken = null, RequestOptions requestOptions = null) + public virtual Response List(IEnumerable ids = null, IEnumerable names = null, IEnumerable propertyFilters = null, IEnumerable statuses = null, DateTimeOffset? minCreatedDateTime = null, DateTimeOffset? maxCreatedDateTime = null, DateTimeOffset? minLastModifiedDateTime = null, DateTimeOffset? maxLastModifiedDateTime = null, int? maxPageSize = null, string skipToken = null, RequestOptions options = null) #pragma warning restore AZC0002 { - requestOptions ??= new RequestOptions(); - HttpMessage message = CreateListRequest(ids, names, propertyFilters, statuses, minCreatedDateTime, maxCreatedDateTime, minLastModifiedDateTime, maxLastModifiedDateTime, maxPageSize, skipToken, requestOptions); - if (requestOptions.PerCallPolicy != null) + options ??= new RequestOptions(); + HttpMessage message = CreateListRequest(ids, names, propertyFilters, statuses, minCreatedDateTime, maxCreatedDateTime, minLastModifiedDateTime, maxLastModifiedDateTime, maxPageSize, skipToken, options); + if (options.PerCallPolicy != null) { - message.SetProperty("RequestOptionsPerCallPolicyCallback", requestOptions.PerCallPolicy); + message.SetProperty("RequestOptionsPerCallPolicyCallback", options.PerCallPolicy); } using var scope = _clientDiagnostics.CreateScope("FarmsClient.List"); scope.Start(); try { - Pipeline.Send(message, requestOptions.CancellationToken); - if (requestOptions.StatusOption == ResponseStatusOption.Default) + Pipeline.Send(message, options.CancellationToken); + if (options.StatusOption == ResponseStatusOption.Default) { switch (message.Response.Status) { @@ -380,8 +380,8 @@ public virtual Response List(IEnumerable ids = null, IEnumerable /// Minimum = 10, Maximum = 1000, Default value = 50. /// /// Skip token for getting next set of results. - /// The request options. - private HttpMessage CreateListRequest(IEnumerable ids = null, IEnumerable names = null, IEnumerable propertyFilters = null, IEnumerable statuses = null, DateTimeOffset? minCreatedDateTime = null, DateTimeOffset? maxCreatedDateTime = null, DateTimeOffset? minLastModifiedDateTime = null, DateTimeOffset? maxLastModifiedDateTime = null, int? maxPageSize = null, string skipToken = null, RequestOptions requestOptions = null) + /// The request options. + private HttpMessage CreateListRequest(IEnumerable ids = null, IEnumerable names = null, IEnumerable propertyFilters = null, IEnumerable statuses = null, DateTimeOffset? minCreatedDateTime = null, DateTimeOffset? maxCreatedDateTime = null, DateTimeOffset? minLastModifiedDateTime = null, DateTimeOffset? maxLastModifiedDateTime = null, int? maxPageSize = null, string skipToken = null, RequestOptions options = null) { var message = Pipeline.CreateMessage(); var request = message.Request; @@ -438,23 +438,23 @@ private HttpMessage CreateListRequest(IEnumerable ids = null, IEnumerabl /// Gets a specified farm resource under a particular farmer. /// ID of the associated farmer resource. /// ID of the farm resource. - /// The request options. + /// The request options. #pragma warning disable AZC0002 - public virtual async Task GetAsync(string farmerId, string farmId, RequestOptions requestOptions = null) + public virtual async Task GetAsync(string farmerId, string farmId, RequestOptions options = null) #pragma warning restore AZC0002 { - requestOptions ??= new RequestOptions(); - HttpMessage message = CreateGetRequest(farmerId, farmId, requestOptions); - if (requestOptions.PerCallPolicy != null) + options ??= new RequestOptions(); + HttpMessage message = CreateGetRequest(farmerId, farmId, options); + if (options.PerCallPolicy != null) { - message.SetProperty("RequestOptionsPerCallPolicyCallback", requestOptions.PerCallPolicy); + message.SetProperty("RequestOptionsPerCallPolicyCallback", options.PerCallPolicy); } using var scope = _clientDiagnostics.CreateScope("FarmsClient.Get"); scope.Start(); try { - await Pipeline.SendAsync(message, requestOptions.CancellationToken).ConfigureAwait(false); - if (requestOptions.StatusOption == ResponseStatusOption.Default) + await Pipeline.SendAsync(message, options.CancellationToken).ConfigureAwait(false); + if (options.StatusOption == ResponseStatusOption.Default) { switch (message.Response.Status) { @@ -479,23 +479,23 @@ public virtual async Task GetAsync(string farmerId, string farmId, Req /// Gets a specified farm resource under a particular farmer. /// ID of the associated farmer resource. /// ID of the farm resource. - /// The request options. + /// The request options. #pragma warning disable AZC0002 - public virtual Response Get(string farmerId, string farmId, RequestOptions requestOptions = null) + public virtual Response Get(string farmerId, string farmId, RequestOptions options = null) #pragma warning restore AZC0002 { - requestOptions ??= new RequestOptions(); - HttpMessage message = CreateGetRequest(farmerId, farmId, requestOptions); - if (requestOptions.PerCallPolicy != null) + options ??= new RequestOptions(); + HttpMessage message = CreateGetRequest(farmerId, farmId, options); + if (options.PerCallPolicy != null) { - message.SetProperty("RequestOptionsPerCallPolicyCallback", requestOptions.PerCallPolicy); + message.SetProperty("RequestOptionsPerCallPolicyCallback", options.PerCallPolicy); } using var scope = _clientDiagnostics.CreateScope("FarmsClient.Get"); scope.Start(); try { - Pipeline.Send(message, requestOptions.CancellationToken); - if (requestOptions.StatusOption == ResponseStatusOption.Default) + Pipeline.Send(message, options.CancellationToken); + if (options.StatusOption == ResponseStatusOption.Default) { switch (message.Response.Status) { @@ -520,8 +520,8 @@ public virtual Response Get(string farmerId, string farmId, RequestOptions reque /// Create Request for and operations. /// ID of the associated farmer resource. /// ID of the farm resource. - /// The request options. - private HttpMessage CreateGetRequest(string farmerId, string farmId, RequestOptions requestOptions = null) + /// The request options. + private HttpMessage CreateGetRequest(string farmerId, string farmId, RequestOptions options = null) { var message = Pipeline.CreateMessage(); var request = message.Request; @@ -542,12 +542,12 @@ private HttpMessage CreateGetRequest(string farmerId, string farmId, RequestOpti /// /// Schema for Request Body: /// - /// + /// /// Name /// Type /// Required /// Description - /// + /// /// /// farmerId /// string @@ -614,24 +614,24 @@ private HttpMessage CreateGetRequest(string farmerId, string farmId, RequestOpti /// /// ID of the associated farmer resource. /// ID of the farm resource. - /// The request body. - /// The request options. + /// The content to send as the body of the request. + /// The request options. #pragma warning disable AZC0002 - public virtual async Task CreateOrUpdateAsync(string farmerId, string farmId, RequestContent requestBody, RequestOptions requestOptions = null) + public virtual async Task CreateOrUpdateAsync(string farmerId, string farmId, RequestContent content, RequestOptions options = null) #pragma warning restore AZC0002 { - requestOptions ??= new RequestOptions(); - HttpMessage message = CreateCreateOrUpdateRequest(farmerId, farmId, requestBody, requestOptions); - if (requestOptions.PerCallPolicy != null) + options ??= new RequestOptions(); + HttpMessage message = CreateCreateOrUpdateRequest(farmerId, farmId, content, options); + if (options.PerCallPolicy != null) { - message.SetProperty("RequestOptionsPerCallPolicyCallback", requestOptions.PerCallPolicy); + message.SetProperty("RequestOptionsPerCallPolicyCallback", options.PerCallPolicy); } using var scope = _clientDiagnostics.CreateScope("FarmsClient.CreateOrUpdate"); scope.Start(); try { - await Pipeline.SendAsync(message, requestOptions.CancellationToken).ConfigureAwait(false); - if (requestOptions.StatusOption == ResponseStatusOption.Default) + await Pipeline.SendAsync(message, options.CancellationToken).ConfigureAwait(false); + if (options.StatusOption == ResponseStatusOption.Default) { switch (message.Response.Status) { @@ -658,12 +658,12 @@ public virtual async Task CreateOrUpdateAsync(string farmerId, string /// /// Schema for Request Body: /// - /// + /// /// Name /// Type /// Required /// Description - /// + /// /// /// farmerId /// string @@ -730,24 +730,24 @@ public virtual async Task CreateOrUpdateAsync(string farmerId, string /// /// ID of the associated farmer resource. /// ID of the farm resource. - /// The request body. - /// The request options. + /// The content to send as the body of the request. + /// The request options. #pragma warning disable AZC0002 - public virtual Response CreateOrUpdate(string farmerId, string farmId, RequestContent requestBody, RequestOptions requestOptions = null) + public virtual Response CreateOrUpdate(string farmerId, string farmId, RequestContent content, RequestOptions options = null) #pragma warning restore AZC0002 { - requestOptions ??= new RequestOptions(); - HttpMessage message = CreateCreateOrUpdateRequest(farmerId, farmId, requestBody, requestOptions); - if (requestOptions.PerCallPolicy != null) + options ??= new RequestOptions(); + HttpMessage message = CreateCreateOrUpdateRequest(farmerId, farmId, content, options); + if (options.PerCallPolicy != null) { - message.SetProperty("RequestOptionsPerCallPolicyCallback", requestOptions.PerCallPolicy); + message.SetProperty("RequestOptionsPerCallPolicyCallback", options.PerCallPolicy); } using var scope = _clientDiagnostics.CreateScope("FarmsClient.CreateOrUpdate"); scope.Start(); try { - Pipeline.Send(message, requestOptions.CancellationToken); - if (requestOptions.StatusOption == ResponseStatusOption.Default) + Pipeline.Send(message, options.CancellationToken); + if (options.StatusOption == ResponseStatusOption.Default) { switch (message.Response.Status) { @@ -773,9 +773,9 @@ public virtual Response CreateOrUpdate(string farmerId, string farmId, RequestCo /// Create Request for and operations. /// ID of the associated farmer resource. /// ID of the farm resource. - /// The request body. - /// The request options. - private HttpMessage CreateCreateOrUpdateRequest(string farmerId, string farmId, RequestContent requestBody, RequestOptions requestOptions = null) + /// The content to send as the body of the request. + /// The request options. + private HttpMessage CreateCreateOrUpdateRequest(string farmerId, string farmId, RequestContent content, RequestOptions options = null) { var message = Pipeline.CreateMessage(); var request = message.Request; @@ -790,30 +790,30 @@ private HttpMessage CreateCreateOrUpdateRequest(string farmerId, string farmId, request.Uri = uri; request.Headers.Add("Accept", "application/json"); request.Headers.Add("Content-Type", "application/merge-patch+json"); - request.Content = requestBody; + request.Content = content; return message; } /// Deletes a specified farm resource under a particular farmer. /// ID of the farmer. /// ID of the farm. - /// The request options. + /// The request options. #pragma warning disable AZC0002 - public virtual async Task DeleteAsync(string farmerId, string farmId, RequestOptions requestOptions = null) + public virtual async Task DeleteAsync(string farmerId, string farmId, RequestOptions options = null) #pragma warning restore AZC0002 { - requestOptions ??= new RequestOptions(); - HttpMessage message = CreateDeleteRequest(farmerId, farmId, requestOptions); - if (requestOptions.PerCallPolicy != null) + options ??= new RequestOptions(); + HttpMessage message = CreateDeleteRequest(farmerId, farmId, options); + if (options.PerCallPolicy != null) { - message.SetProperty("RequestOptionsPerCallPolicyCallback", requestOptions.PerCallPolicy); + message.SetProperty("RequestOptionsPerCallPolicyCallback", options.PerCallPolicy); } using var scope = _clientDiagnostics.CreateScope("FarmsClient.Delete"); scope.Start(); try { - await Pipeline.SendAsync(message, requestOptions.CancellationToken).ConfigureAwait(false); - if (requestOptions.StatusOption == ResponseStatusOption.Default) + await Pipeline.SendAsync(message, options.CancellationToken).ConfigureAwait(false); + if (options.StatusOption == ResponseStatusOption.Default) { switch (message.Response.Status) { @@ -838,23 +838,23 @@ public virtual async Task DeleteAsync(string farmerId, string farmId, /// Deletes a specified farm resource under a particular farmer. /// ID of the farmer. /// ID of the farm. - /// The request options. + /// The request options. #pragma warning disable AZC0002 - public virtual Response Delete(string farmerId, string farmId, RequestOptions requestOptions = null) + public virtual Response Delete(string farmerId, string farmId, RequestOptions options = null) #pragma warning restore AZC0002 { - requestOptions ??= new RequestOptions(); - HttpMessage message = CreateDeleteRequest(farmerId, farmId, requestOptions); - if (requestOptions.PerCallPolicy != null) + options ??= new RequestOptions(); + HttpMessage message = CreateDeleteRequest(farmerId, farmId, options); + if (options.PerCallPolicy != null) { - message.SetProperty("RequestOptionsPerCallPolicyCallback", requestOptions.PerCallPolicy); + message.SetProperty("RequestOptionsPerCallPolicyCallback", options.PerCallPolicy); } using var scope = _clientDiagnostics.CreateScope("FarmsClient.Delete"); scope.Start(); try { - Pipeline.Send(message, requestOptions.CancellationToken); - if (requestOptions.StatusOption == ResponseStatusOption.Default) + Pipeline.Send(message, options.CancellationToken); + if (options.StatusOption == ResponseStatusOption.Default) { switch (message.Response.Status) { @@ -879,8 +879,8 @@ public virtual Response Delete(string farmerId, string farmId, RequestOptions re /// Create Request for and operations. /// ID of the farmer. /// ID of the farm. - /// The request options. - private HttpMessage CreateDeleteRequest(string farmerId, string farmId, RequestOptions requestOptions = null) + /// The request options. + private HttpMessage CreateDeleteRequest(string farmerId, string farmId, RequestOptions options = null) { var message = Pipeline.CreateMessage(); var request = message.Request; @@ -899,23 +899,23 @@ private HttpMessage CreateDeleteRequest(string farmerId, string farmId, RequestO /// Get a cascade delete job for specified farm. /// ID of the job. - /// The request options. + /// The request options. #pragma warning disable AZC0002 - public virtual async Task GetCascadeDeleteJobDetailsAsync(string jobId, RequestOptions requestOptions = null) + public virtual async Task GetCascadeDeleteJobDetailsAsync(string jobId, RequestOptions options = null) #pragma warning restore AZC0002 { - requestOptions ??= new RequestOptions(); - HttpMessage message = CreateGetCascadeDeleteJobDetailsRequest(jobId, requestOptions); - if (requestOptions.PerCallPolicy != null) + options ??= new RequestOptions(); + HttpMessage message = CreateGetCascadeDeleteJobDetailsRequest(jobId, options); + if (options.PerCallPolicy != null) { - message.SetProperty("RequestOptionsPerCallPolicyCallback", requestOptions.PerCallPolicy); + message.SetProperty("RequestOptionsPerCallPolicyCallback", options.PerCallPolicy); } using var scope = _clientDiagnostics.CreateScope("FarmsClient.GetCascadeDeleteJobDetails"); scope.Start(); try { - await Pipeline.SendAsync(message, requestOptions.CancellationToken).ConfigureAwait(false); - if (requestOptions.StatusOption == ResponseStatusOption.Default) + await Pipeline.SendAsync(message, options.CancellationToken).ConfigureAwait(false); + if (options.StatusOption == ResponseStatusOption.Default) { switch (message.Response.Status) { @@ -939,23 +939,23 @@ public virtual async Task GetCascadeDeleteJobDetailsAsync(string jobId /// Get a cascade delete job for specified farm. /// ID of the job. - /// The request options. + /// The request options. #pragma warning disable AZC0002 - public virtual Response GetCascadeDeleteJobDetails(string jobId, RequestOptions requestOptions = null) + public virtual Response GetCascadeDeleteJobDetails(string jobId, RequestOptions options = null) #pragma warning restore AZC0002 { - requestOptions ??= new RequestOptions(); - HttpMessage message = CreateGetCascadeDeleteJobDetailsRequest(jobId, requestOptions); - if (requestOptions.PerCallPolicy != null) + options ??= new RequestOptions(); + HttpMessage message = CreateGetCascadeDeleteJobDetailsRequest(jobId, options); + if (options.PerCallPolicy != null) { - message.SetProperty("RequestOptionsPerCallPolicyCallback", requestOptions.PerCallPolicy); + message.SetProperty("RequestOptionsPerCallPolicyCallback", options.PerCallPolicy); } using var scope = _clientDiagnostics.CreateScope("FarmsClient.GetCascadeDeleteJobDetails"); scope.Start(); try { - Pipeline.Send(message, requestOptions.CancellationToken); - if (requestOptions.StatusOption == ResponseStatusOption.Default) + Pipeline.Send(message, options.CancellationToken); + if (options.StatusOption == ResponseStatusOption.Default) { switch (message.Response.Status) { @@ -979,8 +979,8 @@ public virtual Response GetCascadeDeleteJobDetails(string jobId, RequestOptions /// Create Request for and operations. /// ID of the job. - /// The request options. - private HttpMessage CreateGetCascadeDeleteJobDetailsRequest(string jobId, RequestOptions requestOptions = null) + /// The request options. + private HttpMessage CreateGetCascadeDeleteJobDetailsRequest(string jobId, RequestOptions options = null) { var message = Pipeline.CreateMessage(); var request = message.Request; @@ -999,23 +999,23 @@ private HttpMessage CreateGetCascadeDeleteJobDetailsRequest(string jobId, Reques /// Job ID supplied by end user. /// ID of the associated farmer. /// ID of the farm to be deleted. - /// The request options. + /// The request options. #pragma warning disable AZC0002 - public virtual async Task CreateCascadeDeleteJobAsync(string jobId, string farmerId, string farmId, RequestOptions requestOptions = null) + public virtual async Task CreateCascadeDeleteJobAsync(string jobId, string farmerId, string farmId, RequestOptions options = null) #pragma warning restore AZC0002 { - requestOptions ??= new RequestOptions(); - HttpMessage message = CreateCreateCascadeDeleteJobRequest(jobId, farmerId, farmId, requestOptions); - if (requestOptions.PerCallPolicy != null) + options ??= new RequestOptions(); + HttpMessage message = CreateCreateCascadeDeleteJobRequest(jobId, farmerId, farmId, options); + if (options.PerCallPolicy != null) { - message.SetProperty("RequestOptionsPerCallPolicyCallback", requestOptions.PerCallPolicy); + message.SetProperty("RequestOptionsPerCallPolicyCallback", options.PerCallPolicy); } using var scope = _clientDiagnostics.CreateScope("FarmsClient.CreateCascadeDeleteJob"); scope.Start(); try { - await Pipeline.SendAsync(message, requestOptions.CancellationToken).ConfigureAwait(false); - if (requestOptions.StatusOption == ResponseStatusOption.Default) + await Pipeline.SendAsync(message, options.CancellationToken).ConfigureAwait(false); + if (options.StatusOption == ResponseStatusOption.Default) { switch (message.Response.Status) { @@ -1041,23 +1041,23 @@ public virtual async Task CreateCascadeDeleteJobAsync(string jobId, st /// Job ID supplied by end user. /// ID of the associated farmer. /// ID of the farm to be deleted. - /// The request options. + /// The request options. #pragma warning disable AZC0002 - public virtual Response CreateCascadeDeleteJob(string jobId, string farmerId, string farmId, RequestOptions requestOptions = null) + public virtual Response CreateCascadeDeleteJob(string jobId, string farmerId, string farmId, RequestOptions options = null) #pragma warning restore AZC0002 { - requestOptions ??= new RequestOptions(); - HttpMessage message = CreateCreateCascadeDeleteJobRequest(jobId, farmerId, farmId, requestOptions); - if (requestOptions.PerCallPolicy != null) + options ??= new RequestOptions(); + HttpMessage message = CreateCreateCascadeDeleteJobRequest(jobId, farmerId, farmId, options); + if (options.PerCallPolicy != null) { - message.SetProperty("RequestOptionsPerCallPolicyCallback", requestOptions.PerCallPolicy); + message.SetProperty("RequestOptionsPerCallPolicyCallback", options.PerCallPolicy); } using var scope = _clientDiagnostics.CreateScope("FarmsClient.CreateCascadeDeleteJob"); scope.Start(); try { - Pipeline.Send(message, requestOptions.CancellationToken); - if (requestOptions.StatusOption == ResponseStatusOption.Default) + Pipeline.Send(message, options.CancellationToken); + if (options.StatusOption == ResponseStatusOption.Default) { switch (message.Response.Status) { @@ -1083,8 +1083,8 @@ public virtual Response CreateCascadeDeleteJob(string jobId, string farmerId, st /// Job ID supplied by end user. /// ID of the associated farmer. /// ID of the farm to be deleted. - /// The request options. - private HttpMessage CreateCreateCascadeDeleteJobRequest(string jobId, string farmerId, string farmId, RequestOptions requestOptions = null) + /// The request options. + private HttpMessage CreateCreateCascadeDeleteJobRequest(string jobId, string farmerId, string farmId, RequestOptions options = null) { var message = Pipeline.CreateMessage(); var request = message.Request; diff --git a/sdk/agrifood/Azure.Verticals.AgriFood.Farming/src/Generated/FieldsClient.cs b/sdk/agrifood/Azure.Verticals.AgriFood.Farming/src/Generated/FieldsClient.cs index 18903a90b032..b424e1bb72a4 100644 --- a/sdk/agrifood/Azure.Verticals.AgriFood.Farming/src/Generated/FieldsClient.cs +++ b/sdk/agrifood/Azure.Verticals.AgriFood.Farming/src/Generated/FieldsClient.cs @@ -75,23 +75,23 @@ public FieldsClient(Uri endpoint, TokenCredential credential, FarmBeatsClientOpt /// Minimum = 10, Maximum = 1000, Default value = 50. /// /// Skip token for getting next set of results. - /// The request options. + /// The request options. #pragma warning disable AZC0002 - public virtual async Task ListByFarmerIdAsync(string farmerId, IEnumerable farmIds = null, IEnumerable ids = null, IEnumerable names = null, IEnumerable propertyFilters = null, IEnumerable statuses = null, DateTimeOffset? minCreatedDateTime = null, DateTimeOffset? maxCreatedDateTime = null, DateTimeOffset? minLastModifiedDateTime = null, DateTimeOffset? maxLastModifiedDateTime = null, int? maxPageSize = null, string skipToken = null, RequestOptions requestOptions = null) + public virtual async Task ListByFarmerIdAsync(string farmerId, IEnumerable farmIds = null, IEnumerable ids = null, IEnumerable names = null, IEnumerable propertyFilters = null, IEnumerable statuses = null, DateTimeOffset? minCreatedDateTime = null, DateTimeOffset? maxCreatedDateTime = null, DateTimeOffset? minLastModifiedDateTime = null, DateTimeOffset? maxLastModifiedDateTime = null, int? maxPageSize = null, string skipToken = null, RequestOptions options = null) #pragma warning restore AZC0002 { - requestOptions ??= new RequestOptions(); - HttpMessage message = CreateListByFarmerIdRequest(farmerId, farmIds, ids, names, propertyFilters, statuses, minCreatedDateTime, maxCreatedDateTime, minLastModifiedDateTime, maxLastModifiedDateTime, maxPageSize, skipToken, requestOptions); - if (requestOptions.PerCallPolicy != null) + options ??= new RequestOptions(); + HttpMessage message = CreateListByFarmerIdRequest(farmerId, farmIds, ids, names, propertyFilters, statuses, minCreatedDateTime, maxCreatedDateTime, minLastModifiedDateTime, maxLastModifiedDateTime, maxPageSize, skipToken, options); + if (options.PerCallPolicy != null) { - message.SetProperty("RequestOptionsPerCallPolicyCallback", requestOptions.PerCallPolicy); + message.SetProperty("RequestOptionsPerCallPolicyCallback", options.PerCallPolicy); } using var scope = _clientDiagnostics.CreateScope("FieldsClient.ListByFarmerId"); scope.Start(); try { - await Pipeline.SendAsync(message, requestOptions.CancellationToken).ConfigureAwait(false); - if (requestOptions.StatusOption == ResponseStatusOption.Default) + await Pipeline.SendAsync(message, options.CancellationToken).ConfigureAwait(false); + if (options.StatusOption == ResponseStatusOption.Default) { switch (message.Response.Status) { @@ -134,23 +134,23 @@ public virtual async Task ListByFarmerIdAsync(string farmerId, IEnumer /// Minimum = 10, Maximum = 1000, Default value = 50. /// /// Skip token for getting next set of results. - /// The request options. + /// The request options. #pragma warning disable AZC0002 - public virtual Response ListByFarmerId(string farmerId, IEnumerable farmIds = null, IEnumerable ids = null, IEnumerable names = null, IEnumerable propertyFilters = null, IEnumerable statuses = null, DateTimeOffset? minCreatedDateTime = null, DateTimeOffset? maxCreatedDateTime = null, DateTimeOffset? minLastModifiedDateTime = null, DateTimeOffset? maxLastModifiedDateTime = null, int? maxPageSize = null, string skipToken = null, RequestOptions requestOptions = null) + public virtual Response ListByFarmerId(string farmerId, IEnumerable farmIds = null, IEnumerable ids = null, IEnumerable names = null, IEnumerable propertyFilters = null, IEnumerable statuses = null, DateTimeOffset? minCreatedDateTime = null, DateTimeOffset? maxCreatedDateTime = null, DateTimeOffset? minLastModifiedDateTime = null, DateTimeOffset? maxLastModifiedDateTime = null, int? maxPageSize = null, string skipToken = null, RequestOptions options = null) #pragma warning restore AZC0002 { - requestOptions ??= new RequestOptions(); - HttpMessage message = CreateListByFarmerIdRequest(farmerId, farmIds, ids, names, propertyFilters, statuses, minCreatedDateTime, maxCreatedDateTime, minLastModifiedDateTime, maxLastModifiedDateTime, maxPageSize, skipToken, requestOptions); - if (requestOptions.PerCallPolicy != null) + options ??= new RequestOptions(); + HttpMessage message = CreateListByFarmerIdRequest(farmerId, farmIds, ids, names, propertyFilters, statuses, minCreatedDateTime, maxCreatedDateTime, minLastModifiedDateTime, maxLastModifiedDateTime, maxPageSize, skipToken, options); + if (options.PerCallPolicy != null) { - message.SetProperty("RequestOptionsPerCallPolicyCallback", requestOptions.PerCallPolicy); + message.SetProperty("RequestOptionsPerCallPolicyCallback", options.PerCallPolicy); } using var scope = _clientDiagnostics.CreateScope("FieldsClient.ListByFarmerId"); scope.Start(); try { - Pipeline.Send(message, requestOptions.CancellationToken); - if (requestOptions.StatusOption == ResponseStatusOption.Default) + Pipeline.Send(message, options.CancellationToken); + if (options.StatusOption == ResponseStatusOption.Default) { switch (message.Response.Status) { @@ -193,8 +193,8 @@ public virtual Response ListByFarmerId(string farmerId, IEnumerable farm /// Minimum = 10, Maximum = 1000, Default value = 50. /// /// Skip token for getting next set of results. - /// The request options. - private HttpMessage CreateListByFarmerIdRequest(string farmerId, IEnumerable farmIds = null, IEnumerable ids = null, IEnumerable names = null, IEnumerable propertyFilters = null, IEnumerable statuses = null, DateTimeOffset? minCreatedDateTime = null, DateTimeOffset? maxCreatedDateTime = null, DateTimeOffset? minLastModifiedDateTime = null, DateTimeOffset? maxLastModifiedDateTime = null, int? maxPageSize = null, string skipToken = null, RequestOptions requestOptions = null) + /// The request options. + private HttpMessage CreateListByFarmerIdRequest(string farmerId, IEnumerable farmIds = null, IEnumerable ids = null, IEnumerable names = null, IEnumerable propertyFilters = null, IEnumerable statuses = null, DateTimeOffset? minCreatedDateTime = null, DateTimeOffset? maxCreatedDateTime = null, DateTimeOffset? minLastModifiedDateTime = null, DateTimeOffset? maxLastModifiedDateTime = null, int? maxPageSize = null, string skipToken = null, RequestOptions options = null) { var message = Pipeline.CreateMessage(); var request = message.Request; @@ -274,23 +274,23 @@ private HttpMessage CreateListByFarmerIdRequest(string farmerId, IEnumerable /// Skip token for getting next set of results. - /// The request options. + /// The request options. #pragma warning disable AZC0002 - public virtual async Task ListAsync(IEnumerable farmIds = null, IEnumerable ids = null, IEnumerable names = null, IEnumerable propertyFilters = null, IEnumerable statuses = null, DateTimeOffset? minCreatedDateTime = null, DateTimeOffset? maxCreatedDateTime = null, DateTimeOffset? minLastModifiedDateTime = null, DateTimeOffset? maxLastModifiedDateTime = null, int? maxPageSize = null, string skipToken = null, RequestOptions requestOptions = null) + public virtual async Task ListAsync(IEnumerable farmIds = null, IEnumerable ids = null, IEnumerable names = null, IEnumerable propertyFilters = null, IEnumerable statuses = null, DateTimeOffset? minCreatedDateTime = null, DateTimeOffset? maxCreatedDateTime = null, DateTimeOffset? minLastModifiedDateTime = null, DateTimeOffset? maxLastModifiedDateTime = null, int? maxPageSize = null, string skipToken = null, RequestOptions options = null) #pragma warning restore AZC0002 { - requestOptions ??= new RequestOptions(); - HttpMessage message = CreateListRequest(farmIds, ids, names, propertyFilters, statuses, minCreatedDateTime, maxCreatedDateTime, minLastModifiedDateTime, maxLastModifiedDateTime, maxPageSize, skipToken, requestOptions); - if (requestOptions.PerCallPolicy != null) + options ??= new RequestOptions(); + HttpMessage message = CreateListRequest(farmIds, ids, names, propertyFilters, statuses, minCreatedDateTime, maxCreatedDateTime, minLastModifiedDateTime, maxLastModifiedDateTime, maxPageSize, skipToken, options); + if (options.PerCallPolicy != null) { - message.SetProperty("RequestOptionsPerCallPolicyCallback", requestOptions.PerCallPolicy); + message.SetProperty("RequestOptionsPerCallPolicyCallback", options.PerCallPolicy); } using var scope = _clientDiagnostics.CreateScope("FieldsClient.List"); scope.Start(); try { - await Pipeline.SendAsync(message, requestOptions.CancellationToken).ConfigureAwait(false); - if (requestOptions.StatusOption == ResponseStatusOption.Default) + await Pipeline.SendAsync(message, options.CancellationToken).ConfigureAwait(false); + if (options.StatusOption == ResponseStatusOption.Default) { switch (message.Response.Status) { @@ -332,23 +332,23 @@ public virtual async Task ListAsync(IEnumerable farmIds = null /// Minimum = 10, Maximum = 1000, Default value = 50. /// /// Skip token for getting next set of results. - /// The request options. + /// The request options. #pragma warning disable AZC0002 - public virtual Response List(IEnumerable farmIds = null, IEnumerable ids = null, IEnumerable names = null, IEnumerable propertyFilters = null, IEnumerable statuses = null, DateTimeOffset? minCreatedDateTime = null, DateTimeOffset? maxCreatedDateTime = null, DateTimeOffset? minLastModifiedDateTime = null, DateTimeOffset? maxLastModifiedDateTime = null, int? maxPageSize = null, string skipToken = null, RequestOptions requestOptions = null) + public virtual Response List(IEnumerable farmIds = null, IEnumerable ids = null, IEnumerable names = null, IEnumerable propertyFilters = null, IEnumerable statuses = null, DateTimeOffset? minCreatedDateTime = null, DateTimeOffset? maxCreatedDateTime = null, DateTimeOffset? minLastModifiedDateTime = null, DateTimeOffset? maxLastModifiedDateTime = null, int? maxPageSize = null, string skipToken = null, RequestOptions options = null) #pragma warning restore AZC0002 { - requestOptions ??= new RequestOptions(); - HttpMessage message = CreateListRequest(farmIds, ids, names, propertyFilters, statuses, minCreatedDateTime, maxCreatedDateTime, minLastModifiedDateTime, maxLastModifiedDateTime, maxPageSize, skipToken, requestOptions); - if (requestOptions.PerCallPolicy != null) + options ??= new RequestOptions(); + HttpMessage message = CreateListRequest(farmIds, ids, names, propertyFilters, statuses, minCreatedDateTime, maxCreatedDateTime, minLastModifiedDateTime, maxLastModifiedDateTime, maxPageSize, skipToken, options); + if (options.PerCallPolicy != null) { - message.SetProperty("RequestOptionsPerCallPolicyCallback", requestOptions.PerCallPolicy); + message.SetProperty("RequestOptionsPerCallPolicyCallback", options.PerCallPolicy); } using var scope = _clientDiagnostics.CreateScope("FieldsClient.List"); scope.Start(); try { - Pipeline.Send(message, requestOptions.CancellationToken); - if (requestOptions.StatusOption == ResponseStatusOption.Default) + Pipeline.Send(message, options.CancellationToken); + if (options.StatusOption == ResponseStatusOption.Default) { switch (message.Response.Status) { @@ -390,8 +390,8 @@ public virtual Response List(IEnumerable farmIds = null, IEnumerable /// Skip token for getting next set of results. - /// The request options. - private HttpMessage CreateListRequest(IEnumerable farmIds = null, IEnumerable ids = null, IEnumerable names = null, IEnumerable propertyFilters = null, IEnumerable statuses = null, DateTimeOffset? minCreatedDateTime = null, DateTimeOffset? maxCreatedDateTime = null, DateTimeOffset? minLastModifiedDateTime = null, DateTimeOffset? maxLastModifiedDateTime = null, int? maxPageSize = null, string skipToken = null, RequestOptions requestOptions = null) + /// The request options. + private HttpMessage CreateListRequest(IEnumerable farmIds = null, IEnumerable ids = null, IEnumerable names = null, IEnumerable propertyFilters = null, IEnumerable statuses = null, DateTimeOffset? minCreatedDateTime = null, DateTimeOffset? maxCreatedDateTime = null, DateTimeOffset? minLastModifiedDateTime = null, DateTimeOffset? maxLastModifiedDateTime = null, int? maxPageSize = null, string skipToken = null, RequestOptions options = null) { var message = Pipeline.CreateMessage(); var request = message.Request; @@ -452,23 +452,23 @@ private HttpMessage CreateListRequest(IEnumerable farmIds = null, IEnume /// Gets a specified field resource under a particular farmer. /// ID of the associated farmer. /// ID of the field. - /// The request options. + /// The request options. #pragma warning disable AZC0002 - public virtual async Task GetAsync(string farmerId, string fieldId, RequestOptions requestOptions = null) + public virtual async Task GetAsync(string farmerId, string fieldId, RequestOptions options = null) #pragma warning restore AZC0002 { - requestOptions ??= new RequestOptions(); - HttpMessage message = CreateGetRequest(farmerId, fieldId, requestOptions); - if (requestOptions.PerCallPolicy != null) + options ??= new RequestOptions(); + HttpMessage message = CreateGetRequest(farmerId, fieldId, options); + if (options.PerCallPolicy != null) { - message.SetProperty("RequestOptionsPerCallPolicyCallback", requestOptions.PerCallPolicy); + message.SetProperty("RequestOptionsPerCallPolicyCallback", options.PerCallPolicy); } using var scope = _clientDiagnostics.CreateScope("FieldsClient.Get"); scope.Start(); try { - await Pipeline.SendAsync(message, requestOptions.CancellationToken).ConfigureAwait(false); - if (requestOptions.StatusOption == ResponseStatusOption.Default) + await Pipeline.SendAsync(message, options.CancellationToken).ConfigureAwait(false); + if (options.StatusOption == ResponseStatusOption.Default) { switch (message.Response.Status) { @@ -493,23 +493,23 @@ public virtual async Task GetAsync(string farmerId, string fieldId, Re /// Gets a specified field resource under a particular farmer. /// ID of the associated farmer. /// ID of the field. - /// The request options. + /// The request options. #pragma warning disable AZC0002 - public virtual Response Get(string farmerId, string fieldId, RequestOptions requestOptions = null) + public virtual Response Get(string farmerId, string fieldId, RequestOptions options = null) #pragma warning restore AZC0002 { - requestOptions ??= new RequestOptions(); - HttpMessage message = CreateGetRequest(farmerId, fieldId, requestOptions); - if (requestOptions.PerCallPolicy != null) + options ??= new RequestOptions(); + HttpMessage message = CreateGetRequest(farmerId, fieldId, options); + if (options.PerCallPolicy != null) { - message.SetProperty("RequestOptionsPerCallPolicyCallback", requestOptions.PerCallPolicy); + message.SetProperty("RequestOptionsPerCallPolicyCallback", options.PerCallPolicy); } using var scope = _clientDiagnostics.CreateScope("FieldsClient.Get"); scope.Start(); try { - Pipeline.Send(message, requestOptions.CancellationToken); - if (requestOptions.StatusOption == ResponseStatusOption.Default) + Pipeline.Send(message, options.CancellationToken); + if (options.StatusOption == ResponseStatusOption.Default) { switch (message.Response.Status) { @@ -534,8 +534,8 @@ public virtual Response Get(string farmerId, string fieldId, RequestOptions requ /// Create Request for and operations. /// ID of the associated farmer. /// ID of the field. - /// The request options. - private HttpMessage CreateGetRequest(string farmerId, string fieldId, RequestOptions requestOptions = null) + /// The request options. + private HttpMessage CreateGetRequest(string farmerId, string fieldId, RequestOptions options = null) { var message = Pipeline.CreateMessage(); var request = message.Request; @@ -556,12 +556,12 @@ private HttpMessage CreateGetRequest(string farmerId, string fieldId, RequestOpt /// /// Schema for Request Body: /// - /// + /// /// Name /// Type /// Required /// Description - /// + /// /// /// farmId /// string @@ -646,24 +646,24 @@ private HttpMessage CreateGetRequest(string farmerId, string fieldId, RequestOpt /// /// ID of the associated farmer resource. /// ID of the field resource. - /// The request body. - /// The request options. + /// The content to send as the body of the request. + /// The request options. #pragma warning disable AZC0002 - public virtual async Task CreateOrUpdateAsync(string farmerId, string fieldId, RequestContent requestBody, RequestOptions requestOptions = null) + public virtual async Task CreateOrUpdateAsync(string farmerId, string fieldId, RequestContent content, RequestOptions options = null) #pragma warning restore AZC0002 { - requestOptions ??= new RequestOptions(); - HttpMessage message = CreateCreateOrUpdateRequest(farmerId, fieldId, requestBody, requestOptions); - if (requestOptions.PerCallPolicy != null) + options ??= new RequestOptions(); + HttpMessage message = CreateCreateOrUpdateRequest(farmerId, fieldId, content, options); + if (options.PerCallPolicy != null) { - message.SetProperty("RequestOptionsPerCallPolicyCallback", requestOptions.PerCallPolicy); + message.SetProperty("RequestOptionsPerCallPolicyCallback", options.PerCallPolicy); } using var scope = _clientDiagnostics.CreateScope("FieldsClient.CreateOrUpdate"); scope.Start(); try { - await Pipeline.SendAsync(message, requestOptions.CancellationToken).ConfigureAwait(false); - if (requestOptions.StatusOption == ResponseStatusOption.Default) + await Pipeline.SendAsync(message, options.CancellationToken).ConfigureAwait(false); + if (options.StatusOption == ResponseStatusOption.Default) { switch (message.Response.Status) { @@ -690,12 +690,12 @@ public virtual async Task CreateOrUpdateAsync(string farmerId, string /// /// Schema for Request Body: /// - /// + /// /// Name /// Type /// Required /// Description - /// + /// /// /// farmId /// string @@ -780,24 +780,24 @@ public virtual async Task CreateOrUpdateAsync(string farmerId, string /// /// ID of the associated farmer resource. /// ID of the field resource. - /// The request body. - /// The request options. + /// The content to send as the body of the request. + /// The request options. #pragma warning disable AZC0002 - public virtual Response CreateOrUpdate(string farmerId, string fieldId, RequestContent requestBody, RequestOptions requestOptions = null) + public virtual Response CreateOrUpdate(string farmerId, string fieldId, RequestContent content, RequestOptions options = null) #pragma warning restore AZC0002 { - requestOptions ??= new RequestOptions(); - HttpMessage message = CreateCreateOrUpdateRequest(farmerId, fieldId, requestBody, requestOptions); - if (requestOptions.PerCallPolicy != null) + options ??= new RequestOptions(); + HttpMessage message = CreateCreateOrUpdateRequest(farmerId, fieldId, content, options); + if (options.PerCallPolicy != null) { - message.SetProperty("RequestOptionsPerCallPolicyCallback", requestOptions.PerCallPolicy); + message.SetProperty("RequestOptionsPerCallPolicyCallback", options.PerCallPolicy); } using var scope = _clientDiagnostics.CreateScope("FieldsClient.CreateOrUpdate"); scope.Start(); try { - Pipeline.Send(message, requestOptions.CancellationToken); - if (requestOptions.StatusOption == ResponseStatusOption.Default) + Pipeline.Send(message, options.CancellationToken); + if (options.StatusOption == ResponseStatusOption.Default) { switch (message.Response.Status) { @@ -823,9 +823,9 @@ public virtual Response CreateOrUpdate(string farmerId, string fieldId, RequestC /// Create Request for and operations. /// ID of the associated farmer resource. /// ID of the field resource. - /// The request body. - /// The request options. - private HttpMessage CreateCreateOrUpdateRequest(string farmerId, string fieldId, RequestContent requestBody, RequestOptions requestOptions = null) + /// The content to send as the body of the request. + /// The request options. + private HttpMessage CreateCreateOrUpdateRequest(string farmerId, string fieldId, RequestContent content, RequestOptions options = null) { var message = Pipeline.CreateMessage(); var request = message.Request; @@ -840,30 +840,30 @@ private HttpMessage CreateCreateOrUpdateRequest(string farmerId, string fieldId, request.Uri = uri; request.Headers.Add("Accept", "application/json"); request.Headers.Add("Content-Type", "application/merge-patch+json"); - request.Content = requestBody; + request.Content = content; return message; } /// Deletes a specified field resource under a particular farmer. /// ID of the farmer. /// ID of the field. - /// The request options. + /// The request options. #pragma warning disable AZC0002 - public virtual async Task DeleteAsync(string farmerId, string fieldId, RequestOptions requestOptions = null) + public virtual async Task DeleteAsync(string farmerId, string fieldId, RequestOptions options = null) #pragma warning restore AZC0002 { - requestOptions ??= new RequestOptions(); - HttpMessage message = CreateDeleteRequest(farmerId, fieldId, requestOptions); - if (requestOptions.PerCallPolicy != null) + options ??= new RequestOptions(); + HttpMessage message = CreateDeleteRequest(farmerId, fieldId, options); + if (options.PerCallPolicy != null) { - message.SetProperty("RequestOptionsPerCallPolicyCallback", requestOptions.PerCallPolicy); + message.SetProperty("RequestOptionsPerCallPolicyCallback", options.PerCallPolicy); } using var scope = _clientDiagnostics.CreateScope("FieldsClient.Delete"); scope.Start(); try { - await Pipeline.SendAsync(message, requestOptions.CancellationToken).ConfigureAwait(false); - if (requestOptions.StatusOption == ResponseStatusOption.Default) + await Pipeline.SendAsync(message, options.CancellationToken).ConfigureAwait(false); + if (options.StatusOption == ResponseStatusOption.Default) { switch (message.Response.Status) { @@ -888,23 +888,23 @@ public virtual async Task DeleteAsync(string farmerId, string fieldId, /// Deletes a specified field resource under a particular farmer. /// ID of the farmer. /// ID of the field. - /// The request options. + /// The request options. #pragma warning disable AZC0002 - public virtual Response Delete(string farmerId, string fieldId, RequestOptions requestOptions = null) + public virtual Response Delete(string farmerId, string fieldId, RequestOptions options = null) #pragma warning restore AZC0002 { - requestOptions ??= new RequestOptions(); - HttpMessage message = CreateDeleteRequest(farmerId, fieldId, requestOptions); - if (requestOptions.PerCallPolicy != null) + options ??= new RequestOptions(); + HttpMessage message = CreateDeleteRequest(farmerId, fieldId, options); + if (options.PerCallPolicy != null) { - message.SetProperty("RequestOptionsPerCallPolicyCallback", requestOptions.PerCallPolicy); + message.SetProperty("RequestOptionsPerCallPolicyCallback", options.PerCallPolicy); } using var scope = _clientDiagnostics.CreateScope("FieldsClient.Delete"); scope.Start(); try { - Pipeline.Send(message, requestOptions.CancellationToken); - if (requestOptions.StatusOption == ResponseStatusOption.Default) + Pipeline.Send(message, options.CancellationToken); + if (options.StatusOption == ResponseStatusOption.Default) { switch (message.Response.Status) { @@ -929,8 +929,8 @@ public virtual Response Delete(string farmerId, string fieldId, RequestOptions r /// Create Request for and operations. /// ID of the farmer. /// ID of the field. - /// The request options. - private HttpMessage CreateDeleteRequest(string farmerId, string fieldId, RequestOptions requestOptions = null) + /// The request options. + private HttpMessage CreateDeleteRequest(string farmerId, string fieldId, RequestOptions options = null) { var message = Pipeline.CreateMessage(); var request = message.Request; @@ -949,23 +949,23 @@ private HttpMessage CreateDeleteRequest(string farmerId, string fieldId, Request /// Get a cascade delete job for specified field. /// ID of the job. - /// The request options. + /// The request options. #pragma warning disable AZC0002 - public virtual async Task GetCascadeDeleteJobDetailsAsync(string jobId, RequestOptions requestOptions = null) + public virtual async Task GetCascadeDeleteJobDetailsAsync(string jobId, RequestOptions options = null) #pragma warning restore AZC0002 { - requestOptions ??= new RequestOptions(); - HttpMessage message = CreateGetCascadeDeleteJobDetailsRequest(jobId, requestOptions); - if (requestOptions.PerCallPolicy != null) + options ??= new RequestOptions(); + HttpMessage message = CreateGetCascadeDeleteJobDetailsRequest(jobId, options); + if (options.PerCallPolicy != null) { - message.SetProperty("RequestOptionsPerCallPolicyCallback", requestOptions.PerCallPolicy); + message.SetProperty("RequestOptionsPerCallPolicyCallback", options.PerCallPolicy); } using var scope = _clientDiagnostics.CreateScope("FieldsClient.GetCascadeDeleteJobDetails"); scope.Start(); try { - await Pipeline.SendAsync(message, requestOptions.CancellationToken).ConfigureAwait(false); - if (requestOptions.StatusOption == ResponseStatusOption.Default) + await Pipeline.SendAsync(message, options.CancellationToken).ConfigureAwait(false); + if (options.StatusOption == ResponseStatusOption.Default) { switch (message.Response.Status) { @@ -989,23 +989,23 @@ public virtual async Task GetCascadeDeleteJobDetailsAsync(string jobId /// Get a cascade delete job for specified field. /// ID of the job. - /// The request options. + /// The request options. #pragma warning disable AZC0002 - public virtual Response GetCascadeDeleteJobDetails(string jobId, RequestOptions requestOptions = null) + public virtual Response GetCascadeDeleteJobDetails(string jobId, RequestOptions options = null) #pragma warning restore AZC0002 { - requestOptions ??= new RequestOptions(); - HttpMessage message = CreateGetCascadeDeleteJobDetailsRequest(jobId, requestOptions); - if (requestOptions.PerCallPolicy != null) + options ??= new RequestOptions(); + HttpMessage message = CreateGetCascadeDeleteJobDetailsRequest(jobId, options); + if (options.PerCallPolicy != null) { - message.SetProperty("RequestOptionsPerCallPolicyCallback", requestOptions.PerCallPolicy); + message.SetProperty("RequestOptionsPerCallPolicyCallback", options.PerCallPolicy); } using var scope = _clientDiagnostics.CreateScope("FieldsClient.GetCascadeDeleteJobDetails"); scope.Start(); try { - Pipeline.Send(message, requestOptions.CancellationToken); - if (requestOptions.StatusOption == ResponseStatusOption.Default) + Pipeline.Send(message, options.CancellationToken); + if (options.StatusOption == ResponseStatusOption.Default) { switch (message.Response.Status) { @@ -1029,8 +1029,8 @@ public virtual Response GetCascadeDeleteJobDetails(string jobId, RequestOptions /// Create Request for and operations. /// ID of the job. - /// The request options. - private HttpMessage CreateGetCascadeDeleteJobDetailsRequest(string jobId, RequestOptions requestOptions = null) + /// The request options. + private HttpMessage CreateGetCascadeDeleteJobDetailsRequest(string jobId, RequestOptions options = null) { var message = Pipeline.CreateMessage(); var request = message.Request; @@ -1049,23 +1049,23 @@ private HttpMessage CreateGetCascadeDeleteJobDetailsRequest(string jobId, Reques /// Job ID supplied by end user. /// ID of the associated farmer. /// ID of the field to be deleted. - /// The request options. + /// The request options. #pragma warning disable AZC0002 - public virtual async Task CreateCascadeDeleteJobAsync(string jobId, string farmerId, string fieldId, RequestOptions requestOptions = null) + public virtual async Task CreateCascadeDeleteJobAsync(string jobId, string farmerId, string fieldId, RequestOptions options = null) #pragma warning restore AZC0002 { - requestOptions ??= new RequestOptions(); - HttpMessage message = CreateCreateCascadeDeleteJobRequest(jobId, farmerId, fieldId, requestOptions); - if (requestOptions.PerCallPolicy != null) + options ??= new RequestOptions(); + HttpMessage message = CreateCreateCascadeDeleteJobRequest(jobId, farmerId, fieldId, options); + if (options.PerCallPolicy != null) { - message.SetProperty("RequestOptionsPerCallPolicyCallback", requestOptions.PerCallPolicy); + message.SetProperty("RequestOptionsPerCallPolicyCallback", options.PerCallPolicy); } using var scope = _clientDiagnostics.CreateScope("FieldsClient.CreateCascadeDeleteJob"); scope.Start(); try { - await Pipeline.SendAsync(message, requestOptions.CancellationToken).ConfigureAwait(false); - if (requestOptions.StatusOption == ResponseStatusOption.Default) + await Pipeline.SendAsync(message, options.CancellationToken).ConfigureAwait(false); + if (options.StatusOption == ResponseStatusOption.Default) { switch (message.Response.Status) { @@ -1091,23 +1091,23 @@ public virtual async Task CreateCascadeDeleteJobAsync(string jobId, st /// Job ID supplied by end user. /// ID of the associated farmer. /// ID of the field to be deleted. - /// The request options. + /// The request options. #pragma warning disable AZC0002 - public virtual Response CreateCascadeDeleteJob(string jobId, string farmerId, string fieldId, RequestOptions requestOptions = null) + public virtual Response CreateCascadeDeleteJob(string jobId, string farmerId, string fieldId, RequestOptions options = null) #pragma warning restore AZC0002 { - requestOptions ??= new RequestOptions(); - HttpMessage message = CreateCreateCascadeDeleteJobRequest(jobId, farmerId, fieldId, requestOptions); - if (requestOptions.PerCallPolicy != null) + options ??= new RequestOptions(); + HttpMessage message = CreateCreateCascadeDeleteJobRequest(jobId, farmerId, fieldId, options); + if (options.PerCallPolicy != null) { - message.SetProperty("RequestOptionsPerCallPolicyCallback", requestOptions.PerCallPolicy); + message.SetProperty("RequestOptionsPerCallPolicyCallback", options.PerCallPolicy); } using var scope = _clientDiagnostics.CreateScope("FieldsClient.CreateCascadeDeleteJob"); scope.Start(); try { - Pipeline.Send(message, requestOptions.CancellationToken); - if (requestOptions.StatusOption == ResponseStatusOption.Default) + Pipeline.Send(message, options.CancellationToken); + if (options.StatusOption == ResponseStatusOption.Default) { switch (message.Response.Status) { @@ -1133,8 +1133,8 @@ public virtual Response CreateCascadeDeleteJob(string jobId, string farmerId, st /// Job ID supplied by end user. /// ID of the associated farmer. /// ID of the field to be deleted. - /// The request options. - private HttpMessage CreateCreateCascadeDeleteJobRequest(string jobId, string farmerId, string fieldId, RequestOptions requestOptions = null) + /// The request options. + private HttpMessage CreateCreateCascadeDeleteJobRequest(string jobId, string farmerId, string fieldId, RequestOptions options = null) { var message = Pipeline.CreateMessage(); var request = message.Request; diff --git a/sdk/agrifood/Azure.Verticals.AgriFood.Farming/src/Generated/HarvestDataClient.cs b/sdk/agrifood/Azure.Verticals.AgriFood.Farming/src/Generated/HarvestDataClient.cs index 582de7353c51..a8fc3e8240e0 100644 --- a/sdk/agrifood/Azure.Verticals.AgriFood.Farming/src/Generated/HarvestDataClient.cs +++ b/sdk/agrifood/Azure.Verticals.AgriFood.Farming/src/Generated/HarvestDataClient.cs @@ -97,23 +97,23 @@ public HarvestDataClient(Uri endpoint, TokenCredential credential, FarmBeatsClie /// Minimum = 10, Maximum = 1000, Default value = 50. /// /// Skip token for getting next set of results. - /// The request options. + /// The request options. #pragma warning disable AZC0002 - public virtual async Task ListByFarmerIdAsync(string farmerId, double? minTotalYield = null, double? maxTotalYield = null, double? minAvgYield = null, double? maxAvgYield = null, double? minTotalWetMass = null, double? maxTotalWetMass = null, double? minAvgWetMass = null, double? maxAvgWetMass = null, double? minAvgMoisture = null, double? maxAvgMoisture = null, double? minAvgSpeed = null, double? maxAvgSpeed = null, IEnumerable sources = null, IEnumerable associatedBoundaryIds = null, IEnumerable operationBoundaryIds = null, DateTimeOffset? minOperationStartDateTime = null, DateTimeOffset? maxOperationStartDateTime = null, DateTimeOffset? minOperationEndDateTime = null, DateTimeOffset? maxOperationEndDateTime = null, DateTimeOffset? minOperationModifiedDateTime = null, DateTimeOffset? maxOperationModifiedDateTime = null, double? minArea = null, double? maxArea = null, IEnumerable ids = null, IEnumerable names = null, IEnumerable propertyFilters = null, IEnumerable statuses = null, DateTimeOffset? minCreatedDateTime = null, DateTimeOffset? maxCreatedDateTime = null, DateTimeOffset? minLastModifiedDateTime = null, DateTimeOffset? maxLastModifiedDateTime = null, int? maxPageSize = null, string skipToken = null, RequestOptions requestOptions = null) + public virtual async Task ListByFarmerIdAsync(string farmerId, double? minTotalYield = null, double? maxTotalYield = null, double? minAvgYield = null, double? maxAvgYield = null, double? minTotalWetMass = null, double? maxTotalWetMass = null, double? minAvgWetMass = null, double? maxAvgWetMass = null, double? minAvgMoisture = null, double? maxAvgMoisture = null, double? minAvgSpeed = null, double? maxAvgSpeed = null, IEnumerable sources = null, IEnumerable associatedBoundaryIds = null, IEnumerable operationBoundaryIds = null, DateTimeOffset? minOperationStartDateTime = null, DateTimeOffset? maxOperationStartDateTime = null, DateTimeOffset? minOperationEndDateTime = null, DateTimeOffset? maxOperationEndDateTime = null, DateTimeOffset? minOperationModifiedDateTime = null, DateTimeOffset? maxOperationModifiedDateTime = null, double? minArea = null, double? maxArea = null, IEnumerable ids = null, IEnumerable names = null, IEnumerable propertyFilters = null, IEnumerable statuses = null, DateTimeOffset? minCreatedDateTime = null, DateTimeOffset? maxCreatedDateTime = null, DateTimeOffset? minLastModifiedDateTime = null, DateTimeOffset? maxLastModifiedDateTime = null, int? maxPageSize = null, string skipToken = null, RequestOptions options = null) #pragma warning restore AZC0002 { - requestOptions ??= new RequestOptions(); - HttpMessage message = CreateListByFarmerIdRequest(farmerId, minTotalYield, maxTotalYield, minAvgYield, maxAvgYield, minTotalWetMass, maxTotalWetMass, minAvgWetMass, maxAvgWetMass, minAvgMoisture, maxAvgMoisture, minAvgSpeed, maxAvgSpeed, sources, associatedBoundaryIds, operationBoundaryIds, minOperationStartDateTime, maxOperationStartDateTime, minOperationEndDateTime, maxOperationEndDateTime, minOperationModifiedDateTime, maxOperationModifiedDateTime, minArea, maxArea, ids, names, propertyFilters, statuses, minCreatedDateTime, maxCreatedDateTime, minLastModifiedDateTime, maxLastModifiedDateTime, maxPageSize, skipToken, requestOptions); - if (requestOptions.PerCallPolicy != null) + options ??= new RequestOptions(); + HttpMessage message = CreateListByFarmerIdRequest(farmerId, minTotalYield, maxTotalYield, minAvgYield, maxAvgYield, minTotalWetMass, maxTotalWetMass, minAvgWetMass, maxAvgWetMass, minAvgMoisture, maxAvgMoisture, minAvgSpeed, maxAvgSpeed, sources, associatedBoundaryIds, operationBoundaryIds, minOperationStartDateTime, maxOperationStartDateTime, minOperationEndDateTime, maxOperationEndDateTime, minOperationModifiedDateTime, maxOperationModifiedDateTime, minArea, maxArea, ids, names, propertyFilters, statuses, minCreatedDateTime, maxCreatedDateTime, minLastModifiedDateTime, maxLastModifiedDateTime, maxPageSize, skipToken, options); + if (options.PerCallPolicy != null) { - message.SetProperty("RequestOptionsPerCallPolicyCallback", requestOptions.PerCallPolicy); + message.SetProperty("RequestOptionsPerCallPolicyCallback", options.PerCallPolicy); } using var scope = _clientDiagnostics.CreateScope("HarvestDataClient.ListByFarmerId"); scope.Start(); try { - await Pipeline.SendAsync(message, requestOptions.CancellationToken).ConfigureAwait(false); - if (requestOptions.StatusOption == ResponseStatusOption.Default) + await Pipeline.SendAsync(message, options.CancellationToken).ConfigureAwait(false); + if (options.StatusOption == ResponseStatusOption.Default) { switch (message.Response.Status) { @@ -178,23 +178,23 @@ public virtual async Task ListByFarmerIdAsync(string farmerId, double? /// Minimum = 10, Maximum = 1000, Default value = 50. /// /// Skip token for getting next set of results. - /// The request options. + /// The request options. #pragma warning disable AZC0002 - public virtual Response ListByFarmerId(string farmerId, double? minTotalYield = null, double? maxTotalYield = null, double? minAvgYield = null, double? maxAvgYield = null, double? minTotalWetMass = null, double? maxTotalWetMass = null, double? minAvgWetMass = null, double? maxAvgWetMass = null, double? minAvgMoisture = null, double? maxAvgMoisture = null, double? minAvgSpeed = null, double? maxAvgSpeed = null, IEnumerable sources = null, IEnumerable associatedBoundaryIds = null, IEnumerable operationBoundaryIds = null, DateTimeOffset? minOperationStartDateTime = null, DateTimeOffset? maxOperationStartDateTime = null, DateTimeOffset? minOperationEndDateTime = null, DateTimeOffset? maxOperationEndDateTime = null, DateTimeOffset? minOperationModifiedDateTime = null, DateTimeOffset? maxOperationModifiedDateTime = null, double? minArea = null, double? maxArea = null, IEnumerable ids = null, IEnumerable names = null, IEnumerable propertyFilters = null, IEnumerable statuses = null, DateTimeOffset? minCreatedDateTime = null, DateTimeOffset? maxCreatedDateTime = null, DateTimeOffset? minLastModifiedDateTime = null, DateTimeOffset? maxLastModifiedDateTime = null, int? maxPageSize = null, string skipToken = null, RequestOptions requestOptions = null) + public virtual Response ListByFarmerId(string farmerId, double? minTotalYield = null, double? maxTotalYield = null, double? minAvgYield = null, double? maxAvgYield = null, double? minTotalWetMass = null, double? maxTotalWetMass = null, double? minAvgWetMass = null, double? maxAvgWetMass = null, double? minAvgMoisture = null, double? maxAvgMoisture = null, double? minAvgSpeed = null, double? maxAvgSpeed = null, IEnumerable sources = null, IEnumerable associatedBoundaryIds = null, IEnumerable operationBoundaryIds = null, DateTimeOffset? minOperationStartDateTime = null, DateTimeOffset? maxOperationStartDateTime = null, DateTimeOffset? minOperationEndDateTime = null, DateTimeOffset? maxOperationEndDateTime = null, DateTimeOffset? minOperationModifiedDateTime = null, DateTimeOffset? maxOperationModifiedDateTime = null, double? minArea = null, double? maxArea = null, IEnumerable ids = null, IEnumerable names = null, IEnumerable propertyFilters = null, IEnumerable statuses = null, DateTimeOffset? minCreatedDateTime = null, DateTimeOffset? maxCreatedDateTime = null, DateTimeOffset? minLastModifiedDateTime = null, DateTimeOffset? maxLastModifiedDateTime = null, int? maxPageSize = null, string skipToken = null, RequestOptions options = null) #pragma warning restore AZC0002 { - requestOptions ??= new RequestOptions(); - HttpMessage message = CreateListByFarmerIdRequest(farmerId, minTotalYield, maxTotalYield, minAvgYield, maxAvgYield, minTotalWetMass, maxTotalWetMass, minAvgWetMass, maxAvgWetMass, minAvgMoisture, maxAvgMoisture, minAvgSpeed, maxAvgSpeed, sources, associatedBoundaryIds, operationBoundaryIds, minOperationStartDateTime, maxOperationStartDateTime, minOperationEndDateTime, maxOperationEndDateTime, minOperationModifiedDateTime, maxOperationModifiedDateTime, minArea, maxArea, ids, names, propertyFilters, statuses, minCreatedDateTime, maxCreatedDateTime, minLastModifiedDateTime, maxLastModifiedDateTime, maxPageSize, skipToken, requestOptions); - if (requestOptions.PerCallPolicy != null) + options ??= new RequestOptions(); + HttpMessage message = CreateListByFarmerIdRequest(farmerId, minTotalYield, maxTotalYield, minAvgYield, maxAvgYield, minTotalWetMass, maxTotalWetMass, minAvgWetMass, maxAvgWetMass, minAvgMoisture, maxAvgMoisture, minAvgSpeed, maxAvgSpeed, sources, associatedBoundaryIds, operationBoundaryIds, minOperationStartDateTime, maxOperationStartDateTime, minOperationEndDateTime, maxOperationEndDateTime, minOperationModifiedDateTime, maxOperationModifiedDateTime, minArea, maxArea, ids, names, propertyFilters, statuses, minCreatedDateTime, maxCreatedDateTime, minLastModifiedDateTime, maxLastModifiedDateTime, maxPageSize, skipToken, options); + if (options.PerCallPolicy != null) { - message.SetProperty("RequestOptionsPerCallPolicyCallback", requestOptions.PerCallPolicy); + message.SetProperty("RequestOptionsPerCallPolicyCallback", options.PerCallPolicy); } using var scope = _clientDiagnostics.CreateScope("HarvestDataClient.ListByFarmerId"); scope.Start(); try { - Pipeline.Send(message, requestOptions.CancellationToken); - if (requestOptions.StatusOption == ResponseStatusOption.Default) + Pipeline.Send(message, options.CancellationToken); + if (options.StatusOption == ResponseStatusOption.Default) { switch (message.Response.Status) { @@ -259,8 +259,8 @@ public virtual Response ListByFarmerId(string farmerId, double? minTotalYield = /// Minimum = 10, Maximum = 1000, Default value = 50. /// /// Skip token for getting next set of results. - /// The request options. - private HttpMessage CreateListByFarmerIdRequest(string farmerId, double? minTotalYield = null, double? maxTotalYield = null, double? minAvgYield = null, double? maxAvgYield = null, double? minTotalWetMass = null, double? maxTotalWetMass = null, double? minAvgWetMass = null, double? maxAvgWetMass = null, double? minAvgMoisture = null, double? maxAvgMoisture = null, double? minAvgSpeed = null, double? maxAvgSpeed = null, IEnumerable sources = null, IEnumerable associatedBoundaryIds = null, IEnumerable operationBoundaryIds = null, DateTimeOffset? minOperationStartDateTime = null, DateTimeOffset? maxOperationStartDateTime = null, DateTimeOffset? minOperationEndDateTime = null, DateTimeOffset? maxOperationEndDateTime = null, DateTimeOffset? minOperationModifiedDateTime = null, DateTimeOffset? maxOperationModifiedDateTime = null, double? minArea = null, double? maxArea = null, IEnumerable ids = null, IEnumerable names = null, IEnumerable propertyFilters = null, IEnumerable statuses = null, DateTimeOffset? minCreatedDateTime = null, DateTimeOffset? maxCreatedDateTime = null, DateTimeOffset? minLastModifiedDateTime = null, DateTimeOffset? maxLastModifiedDateTime = null, int? maxPageSize = null, string skipToken = null, RequestOptions requestOptions = null) + /// The request options. + private HttpMessage CreateListByFarmerIdRequest(string farmerId, double? minTotalYield = null, double? maxTotalYield = null, double? minAvgYield = null, double? maxAvgYield = null, double? minTotalWetMass = null, double? maxTotalWetMass = null, double? minAvgWetMass = null, double? maxAvgWetMass = null, double? minAvgMoisture = null, double? maxAvgMoisture = null, double? minAvgSpeed = null, double? maxAvgSpeed = null, IEnumerable sources = null, IEnumerable associatedBoundaryIds = null, IEnumerable operationBoundaryIds = null, DateTimeOffset? minOperationStartDateTime = null, DateTimeOffset? maxOperationStartDateTime = null, DateTimeOffset? minOperationEndDateTime = null, DateTimeOffset? maxOperationEndDateTime = null, DateTimeOffset? minOperationModifiedDateTime = null, DateTimeOffset? maxOperationModifiedDateTime = null, double? minArea = null, double? maxArea = null, IEnumerable ids = null, IEnumerable names = null, IEnumerable propertyFilters = null, IEnumerable statuses = null, DateTimeOffset? minCreatedDateTime = null, DateTimeOffset? maxCreatedDateTime = null, DateTimeOffset? minLastModifiedDateTime = null, DateTimeOffset? maxLastModifiedDateTime = null, int? maxPageSize = null, string skipToken = null, RequestOptions options = null) { var message = Pipeline.CreateMessage(); var request = message.Request; @@ -450,23 +450,23 @@ private HttpMessage CreateListByFarmerIdRequest(string farmerId, double? minTota /// Minimum = 10, Maximum = 1000, Default value = 50. /// /// Skip token for getting next set of results. - /// The request options. + /// The request options. #pragma warning disable AZC0002 - public virtual async Task ListAsync(double? minTotalYield = null, double? maxTotalYield = null, double? minAvgYield = null, double? maxAvgYield = null, double? minTotalWetMass = null, double? maxTotalWetMass = null, double? minAvgWetMass = null, double? maxAvgWetMass = null, double? minAvgMoisture = null, double? maxAvgMoisture = null, double? minAvgSpeed = null, double? maxAvgSpeed = null, IEnumerable sources = null, IEnumerable associatedBoundaryIds = null, IEnumerable operationBoundaryIds = null, DateTimeOffset? minOperationStartDateTime = null, DateTimeOffset? maxOperationStartDateTime = null, DateTimeOffset? minOperationEndDateTime = null, DateTimeOffset? maxOperationEndDateTime = null, DateTimeOffset? minOperationModifiedDateTime = null, DateTimeOffset? maxOperationModifiedDateTime = null, double? minArea = null, double? maxArea = null, IEnumerable ids = null, IEnumerable names = null, IEnumerable propertyFilters = null, IEnumerable statuses = null, DateTimeOffset? minCreatedDateTime = null, DateTimeOffset? maxCreatedDateTime = null, DateTimeOffset? minLastModifiedDateTime = null, DateTimeOffset? maxLastModifiedDateTime = null, int? maxPageSize = null, string skipToken = null, RequestOptions requestOptions = null) + public virtual async Task ListAsync(double? minTotalYield = null, double? maxTotalYield = null, double? minAvgYield = null, double? maxAvgYield = null, double? minTotalWetMass = null, double? maxTotalWetMass = null, double? minAvgWetMass = null, double? maxAvgWetMass = null, double? minAvgMoisture = null, double? maxAvgMoisture = null, double? minAvgSpeed = null, double? maxAvgSpeed = null, IEnumerable sources = null, IEnumerable associatedBoundaryIds = null, IEnumerable operationBoundaryIds = null, DateTimeOffset? minOperationStartDateTime = null, DateTimeOffset? maxOperationStartDateTime = null, DateTimeOffset? minOperationEndDateTime = null, DateTimeOffset? maxOperationEndDateTime = null, DateTimeOffset? minOperationModifiedDateTime = null, DateTimeOffset? maxOperationModifiedDateTime = null, double? minArea = null, double? maxArea = null, IEnumerable ids = null, IEnumerable names = null, IEnumerable propertyFilters = null, IEnumerable statuses = null, DateTimeOffset? minCreatedDateTime = null, DateTimeOffset? maxCreatedDateTime = null, DateTimeOffset? minLastModifiedDateTime = null, DateTimeOffset? maxLastModifiedDateTime = null, int? maxPageSize = null, string skipToken = null, RequestOptions options = null) #pragma warning restore AZC0002 { - requestOptions ??= new RequestOptions(); - HttpMessage message = CreateListRequest(minTotalYield, maxTotalYield, minAvgYield, maxAvgYield, minTotalWetMass, maxTotalWetMass, minAvgWetMass, maxAvgWetMass, minAvgMoisture, maxAvgMoisture, minAvgSpeed, maxAvgSpeed, sources, associatedBoundaryIds, operationBoundaryIds, minOperationStartDateTime, maxOperationStartDateTime, minOperationEndDateTime, maxOperationEndDateTime, minOperationModifiedDateTime, maxOperationModifiedDateTime, minArea, maxArea, ids, names, propertyFilters, statuses, minCreatedDateTime, maxCreatedDateTime, minLastModifiedDateTime, maxLastModifiedDateTime, maxPageSize, skipToken, requestOptions); - if (requestOptions.PerCallPolicy != null) + options ??= new RequestOptions(); + HttpMessage message = CreateListRequest(minTotalYield, maxTotalYield, minAvgYield, maxAvgYield, minTotalWetMass, maxTotalWetMass, minAvgWetMass, maxAvgWetMass, minAvgMoisture, maxAvgMoisture, minAvgSpeed, maxAvgSpeed, sources, associatedBoundaryIds, operationBoundaryIds, minOperationStartDateTime, maxOperationStartDateTime, minOperationEndDateTime, maxOperationEndDateTime, minOperationModifiedDateTime, maxOperationModifiedDateTime, minArea, maxArea, ids, names, propertyFilters, statuses, minCreatedDateTime, maxCreatedDateTime, minLastModifiedDateTime, maxLastModifiedDateTime, maxPageSize, skipToken, options); + if (options.PerCallPolicy != null) { - message.SetProperty("RequestOptionsPerCallPolicyCallback", requestOptions.PerCallPolicy); + message.SetProperty("RequestOptionsPerCallPolicyCallback", options.PerCallPolicy); } using var scope = _clientDiagnostics.CreateScope("HarvestDataClient.List"); scope.Start(); try { - await Pipeline.SendAsync(message, requestOptions.CancellationToken).ConfigureAwait(false); - if (requestOptions.StatusOption == ResponseStatusOption.Default) + await Pipeline.SendAsync(message, options.CancellationToken).ConfigureAwait(false); + if (options.StatusOption == ResponseStatusOption.Default) { switch (message.Response.Status) { @@ -530,23 +530,23 @@ public virtual async Task ListAsync(double? minTotalYield = null, doub /// Minimum = 10, Maximum = 1000, Default value = 50. /// /// Skip token for getting next set of results. - /// The request options. + /// The request options. #pragma warning disable AZC0002 - public virtual Response List(double? minTotalYield = null, double? maxTotalYield = null, double? minAvgYield = null, double? maxAvgYield = null, double? minTotalWetMass = null, double? maxTotalWetMass = null, double? minAvgWetMass = null, double? maxAvgWetMass = null, double? minAvgMoisture = null, double? maxAvgMoisture = null, double? minAvgSpeed = null, double? maxAvgSpeed = null, IEnumerable sources = null, IEnumerable associatedBoundaryIds = null, IEnumerable operationBoundaryIds = null, DateTimeOffset? minOperationStartDateTime = null, DateTimeOffset? maxOperationStartDateTime = null, DateTimeOffset? minOperationEndDateTime = null, DateTimeOffset? maxOperationEndDateTime = null, DateTimeOffset? minOperationModifiedDateTime = null, DateTimeOffset? maxOperationModifiedDateTime = null, double? minArea = null, double? maxArea = null, IEnumerable ids = null, IEnumerable names = null, IEnumerable propertyFilters = null, IEnumerable statuses = null, DateTimeOffset? minCreatedDateTime = null, DateTimeOffset? maxCreatedDateTime = null, DateTimeOffset? minLastModifiedDateTime = null, DateTimeOffset? maxLastModifiedDateTime = null, int? maxPageSize = null, string skipToken = null, RequestOptions requestOptions = null) + public virtual Response List(double? minTotalYield = null, double? maxTotalYield = null, double? minAvgYield = null, double? maxAvgYield = null, double? minTotalWetMass = null, double? maxTotalWetMass = null, double? minAvgWetMass = null, double? maxAvgWetMass = null, double? minAvgMoisture = null, double? maxAvgMoisture = null, double? minAvgSpeed = null, double? maxAvgSpeed = null, IEnumerable sources = null, IEnumerable associatedBoundaryIds = null, IEnumerable operationBoundaryIds = null, DateTimeOffset? minOperationStartDateTime = null, DateTimeOffset? maxOperationStartDateTime = null, DateTimeOffset? minOperationEndDateTime = null, DateTimeOffset? maxOperationEndDateTime = null, DateTimeOffset? minOperationModifiedDateTime = null, DateTimeOffset? maxOperationModifiedDateTime = null, double? minArea = null, double? maxArea = null, IEnumerable ids = null, IEnumerable names = null, IEnumerable propertyFilters = null, IEnumerable statuses = null, DateTimeOffset? minCreatedDateTime = null, DateTimeOffset? maxCreatedDateTime = null, DateTimeOffset? minLastModifiedDateTime = null, DateTimeOffset? maxLastModifiedDateTime = null, int? maxPageSize = null, string skipToken = null, RequestOptions options = null) #pragma warning restore AZC0002 { - requestOptions ??= new RequestOptions(); - HttpMessage message = CreateListRequest(minTotalYield, maxTotalYield, minAvgYield, maxAvgYield, minTotalWetMass, maxTotalWetMass, minAvgWetMass, maxAvgWetMass, minAvgMoisture, maxAvgMoisture, minAvgSpeed, maxAvgSpeed, sources, associatedBoundaryIds, operationBoundaryIds, minOperationStartDateTime, maxOperationStartDateTime, minOperationEndDateTime, maxOperationEndDateTime, minOperationModifiedDateTime, maxOperationModifiedDateTime, minArea, maxArea, ids, names, propertyFilters, statuses, minCreatedDateTime, maxCreatedDateTime, minLastModifiedDateTime, maxLastModifiedDateTime, maxPageSize, skipToken, requestOptions); - if (requestOptions.PerCallPolicy != null) + options ??= new RequestOptions(); + HttpMessage message = CreateListRequest(minTotalYield, maxTotalYield, minAvgYield, maxAvgYield, minTotalWetMass, maxTotalWetMass, minAvgWetMass, maxAvgWetMass, minAvgMoisture, maxAvgMoisture, minAvgSpeed, maxAvgSpeed, sources, associatedBoundaryIds, operationBoundaryIds, minOperationStartDateTime, maxOperationStartDateTime, minOperationEndDateTime, maxOperationEndDateTime, minOperationModifiedDateTime, maxOperationModifiedDateTime, minArea, maxArea, ids, names, propertyFilters, statuses, minCreatedDateTime, maxCreatedDateTime, minLastModifiedDateTime, maxLastModifiedDateTime, maxPageSize, skipToken, options); + if (options.PerCallPolicy != null) { - message.SetProperty("RequestOptionsPerCallPolicyCallback", requestOptions.PerCallPolicy); + message.SetProperty("RequestOptionsPerCallPolicyCallback", options.PerCallPolicy); } using var scope = _clientDiagnostics.CreateScope("HarvestDataClient.List"); scope.Start(); try { - Pipeline.Send(message, requestOptions.CancellationToken); - if (requestOptions.StatusOption == ResponseStatusOption.Default) + Pipeline.Send(message, options.CancellationToken); + if (options.StatusOption == ResponseStatusOption.Default) { switch (message.Response.Status) { @@ -610,8 +610,8 @@ public virtual Response List(double? minTotalYield = null, double? maxTotalYield /// Minimum = 10, Maximum = 1000, Default value = 50. /// /// Skip token for getting next set of results. - /// The request options. - private HttpMessage CreateListRequest(double? minTotalYield = null, double? maxTotalYield = null, double? minAvgYield = null, double? maxAvgYield = null, double? minTotalWetMass = null, double? maxTotalWetMass = null, double? minAvgWetMass = null, double? maxAvgWetMass = null, double? minAvgMoisture = null, double? maxAvgMoisture = null, double? minAvgSpeed = null, double? maxAvgSpeed = null, IEnumerable sources = null, IEnumerable associatedBoundaryIds = null, IEnumerable operationBoundaryIds = null, DateTimeOffset? minOperationStartDateTime = null, DateTimeOffset? maxOperationStartDateTime = null, DateTimeOffset? minOperationEndDateTime = null, DateTimeOffset? maxOperationEndDateTime = null, DateTimeOffset? minOperationModifiedDateTime = null, DateTimeOffset? maxOperationModifiedDateTime = null, double? minArea = null, double? maxArea = null, IEnumerable ids = null, IEnumerable names = null, IEnumerable propertyFilters = null, IEnumerable statuses = null, DateTimeOffset? minCreatedDateTime = null, DateTimeOffset? maxCreatedDateTime = null, DateTimeOffset? minLastModifiedDateTime = null, DateTimeOffset? maxLastModifiedDateTime = null, int? maxPageSize = null, string skipToken = null, RequestOptions requestOptions = null) + /// The request options. + private HttpMessage CreateListRequest(double? minTotalYield = null, double? maxTotalYield = null, double? minAvgYield = null, double? maxAvgYield = null, double? minTotalWetMass = null, double? maxTotalWetMass = null, double? minAvgWetMass = null, double? maxAvgWetMass = null, double? minAvgMoisture = null, double? maxAvgMoisture = null, double? minAvgSpeed = null, double? maxAvgSpeed = null, IEnumerable sources = null, IEnumerable associatedBoundaryIds = null, IEnumerable operationBoundaryIds = null, DateTimeOffset? minOperationStartDateTime = null, DateTimeOffset? maxOperationStartDateTime = null, DateTimeOffset? minOperationEndDateTime = null, DateTimeOffset? maxOperationEndDateTime = null, DateTimeOffset? minOperationModifiedDateTime = null, DateTimeOffset? maxOperationModifiedDateTime = null, double? minArea = null, double? maxArea = null, IEnumerable ids = null, IEnumerable names = null, IEnumerable propertyFilters = null, IEnumerable statuses = null, DateTimeOffset? minCreatedDateTime = null, DateTimeOffset? maxCreatedDateTime = null, DateTimeOffset? minLastModifiedDateTime = null, DateTimeOffset? maxLastModifiedDateTime = null, int? maxPageSize = null, string skipToken = null, RequestOptions options = null) { var message = Pipeline.CreateMessage(); var request = message.Request; @@ -760,23 +760,23 @@ private HttpMessage CreateListRequest(double? minTotalYield = null, double? maxT /// Get a specified harvest data resource under a particular farmer. /// ID of the associated farmer resource. /// ID of the harvest data resource. - /// The request options. + /// The request options. #pragma warning disable AZC0002 - public virtual async Task GetAsync(string farmerId, string harvestDataId, RequestOptions requestOptions = null) + public virtual async Task GetAsync(string farmerId, string harvestDataId, RequestOptions options = null) #pragma warning restore AZC0002 { - requestOptions ??= new RequestOptions(); - HttpMessage message = CreateGetRequest(farmerId, harvestDataId, requestOptions); - if (requestOptions.PerCallPolicy != null) + options ??= new RequestOptions(); + HttpMessage message = CreateGetRequest(farmerId, harvestDataId, options); + if (options.PerCallPolicy != null) { - message.SetProperty("RequestOptionsPerCallPolicyCallback", requestOptions.PerCallPolicy); + message.SetProperty("RequestOptionsPerCallPolicyCallback", options.PerCallPolicy); } using var scope = _clientDiagnostics.CreateScope("HarvestDataClient.Get"); scope.Start(); try { - await Pipeline.SendAsync(message, requestOptions.CancellationToken).ConfigureAwait(false); - if (requestOptions.StatusOption == ResponseStatusOption.Default) + await Pipeline.SendAsync(message, options.CancellationToken).ConfigureAwait(false); + if (options.StatusOption == ResponseStatusOption.Default) { switch (message.Response.Status) { @@ -801,23 +801,23 @@ public virtual async Task GetAsync(string farmerId, string harvestData /// Get a specified harvest data resource under a particular farmer. /// ID of the associated farmer resource. /// ID of the harvest data resource. - /// The request options. + /// The request options. #pragma warning disable AZC0002 - public virtual Response Get(string farmerId, string harvestDataId, RequestOptions requestOptions = null) + public virtual Response Get(string farmerId, string harvestDataId, RequestOptions options = null) #pragma warning restore AZC0002 { - requestOptions ??= new RequestOptions(); - HttpMessage message = CreateGetRequest(farmerId, harvestDataId, requestOptions); - if (requestOptions.PerCallPolicy != null) + options ??= new RequestOptions(); + HttpMessage message = CreateGetRequest(farmerId, harvestDataId, options); + if (options.PerCallPolicy != null) { - message.SetProperty("RequestOptionsPerCallPolicyCallback", requestOptions.PerCallPolicy); + message.SetProperty("RequestOptionsPerCallPolicyCallback", options.PerCallPolicy); } using var scope = _clientDiagnostics.CreateScope("HarvestDataClient.Get"); scope.Start(); try { - Pipeline.Send(message, requestOptions.CancellationToken); - if (requestOptions.StatusOption == ResponseStatusOption.Default) + Pipeline.Send(message, options.CancellationToken); + if (options.StatusOption == ResponseStatusOption.Default) { switch (message.Response.Status) { @@ -842,8 +842,8 @@ public virtual Response Get(string farmerId, string harvestDataId, RequestOption /// Create Request for and operations. /// ID of the associated farmer resource. /// ID of the harvest data resource. - /// The request options. - private HttpMessage CreateGetRequest(string farmerId, string harvestDataId, RequestOptions requestOptions = null) + /// The request options. + private HttpMessage CreateGetRequest(string farmerId, string harvestDataId, RequestOptions options = null) { var message = Pipeline.CreateMessage(); var request = message.Request; @@ -864,12 +864,12 @@ private HttpMessage CreateGetRequest(string farmerId, string harvestDataId, Requ /// /// Schema for Request Body: /// - /// + /// /// Name /// Type /// Required /// Description - /// + /// /// /// totalYield /// Measure @@ -1029,12 +1029,12 @@ private HttpMessage CreateGetRequest(string farmerId, string harvestDataId, Requ /// /// Schema for Measure: /// - /// + /// /// Name /// Type /// Required /// Description - /// + /// /// /// unit /// string @@ -1050,12 +1050,12 @@ private HttpMessage CreateGetRequest(string farmerId, string harvestDataId, Requ /// /// Schema for HarvestProductDetail: /// - /// + /// /// Name /// Type /// Required /// Description - /// + /// /// /// productName /// string @@ -1102,24 +1102,24 @@ private HttpMessage CreateGetRequest(string farmerId, string harvestDataId, Requ /// /// ID of the farmer. /// ID of the harvest data resource. - /// The request body. - /// The request options. + /// The content to send as the body of the request. + /// The request options. #pragma warning disable AZC0002 - public virtual async Task CreateOrUpdateAsync(string farmerId, string harvestDataId, RequestContent requestBody, RequestOptions requestOptions = null) + public virtual async Task CreateOrUpdateAsync(string farmerId, string harvestDataId, RequestContent content, RequestOptions options = null) #pragma warning restore AZC0002 { - requestOptions ??= new RequestOptions(); - HttpMessage message = CreateCreateOrUpdateRequest(farmerId, harvestDataId, requestBody, requestOptions); - if (requestOptions.PerCallPolicy != null) + options ??= new RequestOptions(); + HttpMessage message = CreateCreateOrUpdateRequest(farmerId, harvestDataId, content, options); + if (options.PerCallPolicy != null) { - message.SetProperty("RequestOptionsPerCallPolicyCallback", requestOptions.PerCallPolicy); + message.SetProperty("RequestOptionsPerCallPolicyCallback", options.PerCallPolicy); } using var scope = _clientDiagnostics.CreateScope("HarvestDataClient.CreateOrUpdate"); scope.Start(); try { - await Pipeline.SendAsync(message, requestOptions.CancellationToken).ConfigureAwait(false); - if (requestOptions.StatusOption == ResponseStatusOption.Default) + await Pipeline.SendAsync(message, options.CancellationToken).ConfigureAwait(false); + if (options.StatusOption == ResponseStatusOption.Default) { switch (message.Response.Status) { @@ -1146,12 +1146,12 @@ public virtual async Task CreateOrUpdateAsync(string farmerId, string /// /// Schema for Request Body: /// - /// + /// /// Name /// Type /// Required /// Description - /// + /// /// /// totalYield /// Measure @@ -1311,12 +1311,12 @@ public virtual async Task CreateOrUpdateAsync(string farmerId, string /// /// Schema for Measure: /// - /// + /// /// Name /// Type /// Required /// Description - /// + /// /// /// unit /// string @@ -1332,12 +1332,12 @@ public virtual async Task CreateOrUpdateAsync(string farmerId, string /// /// Schema for HarvestProductDetail: /// - /// + /// /// Name /// Type /// Required /// Description - /// + /// /// /// productName /// string @@ -1384,24 +1384,24 @@ public virtual async Task CreateOrUpdateAsync(string farmerId, string /// /// ID of the farmer. /// ID of the harvest data resource. - /// The request body. - /// The request options. + /// The content to send as the body of the request. + /// The request options. #pragma warning disable AZC0002 - public virtual Response CreateOrUpdate(string farmerId, string harvestDataId, RequestContent requestBody, RequestOptions requestOptions = null) + public virtual Response CreateOrUpdate(string farmerId, string harvestDataId, RequestContent content, RequestOptions options = null) #pragma warning restore AZC0002 { - requestOptions ??= new RequestOptions(); - HttpMessage message = CreateCreateOrUpdateRequest(farmerId, harvestDataId, requestBody, requestOptions); - if (requestOptions.PerCallPolicy != null) + options ??= new RequestOptions(); + HttpMessage message = CreateCreateOrUpdateRequest(farmerId, harvestDataId, content, options); + if (options.PerCallPolicy != null) { - message.SetProperty("RequestOptionsPerCallPolicyCallback", requestOptions.PerCallPolicy); + message.SetProperty("RequestOptionsPerCallPolicyCallback", options.PerCallPolicy); } using var scope = _clientDiagnostics.CreateScope("HarvestDataClient.CreateOrUpdate"); scope.Start(); try { - Pipeline.Send(message, requestOptions.CancellationToken); - if (requestOptions.StatusOption == ResponseStatusOption.Default) + Pipeline.Send(message, options.CancellationToken); + if (options.StatusOption == ResponseStatusOption.Default) { switch (message.Response.Status) { @@ -1427,9 +1427,9 @@ public virtual Response CreateOrUpdate(string farmerId, string harvestDataId, Re /// Create Request for and operations. /// ID of the farmer. /// ID of the harvest data resource. - /// The request body. - /// The request options. - private HttpMessage CreateCreateOrUpdateRequest(string farmerId, string harvestDataId, RequestContent requestBody, RequestOptions requestOptions = null) + /// The content to send as the body of the request. + /// The request options. + private HttpMessage CreateCreateOrUpdateRequest(string farmerId, string harvestDataId, RequestContent content, RequestOptions options = null) { var message = Pipeline.CreateMessage(); var request = message.Request; @@ -1444,30 +1444,30 @@ private HttpMessage CreateCreateOrUpdateRequest(string farmerId, string harvestD request.Uri = uri; request.Headers.Add("Accept", "application/json"); request.Headers.Add("Content-Type", "application/merge-patch+json"); - request.Content = requestBody; + request.Content = content; return message; } /// Deletes a specified harvest data resource under a particular farmer. /// ID of the associated farmer resource. /// ID of the harvest data. - /// The request options. + /// The request options. #pragma warning disable AZC0002 - public virtual async Task DeleteAsync(string farmerId, string harvestDataId, RequestOptions requestOptions = null) + public virtual async Task DeleteAsync(string farmerId, string harvestDataId, RequestOptions options = null) #pragma warning restore AZC0002 { - requestOptions ??= new RequestOptions(); - HttpMessage message = CreateDeleteRequest(farmerId, harvestDataId, requestOptions); - if (requestOptions.PerCallPolicy != null) + options ??= new RequestOptions(); + HttpMessage message = CreateDeleteRequest(farmerId, harvestDataId, options); + if (options.PerCallPolicy != null) { - message.SetProperty("RequestOptionsPerCallPolicyCallback", requestOptions.PerCallPolicy); + message.SetProperty("RequestOptionsPerCallPolicyCallback", options.PerCallPolicy); } using var scope = _clientDiagnostics.CreateScope("HarvestDataClient.Delete"); scope.Start(); try { - await Pipeline.SendAsync(message, requestOptions.CancellationToken).ConfigureAwait(false); - if (requestOptions.StatusOption == ResponseStatusOption.Default) + await Pipeline.SendAsync(message, options.CancellationToken).ConfigureAwait(false); + if (options.StatusOption == ResponseStatusOption.Default) { switch (message.Response.Status) { @@ -1492,23 +1492,23 @@ public virtual async Task DeleteAsync(string farmerId, string harvestD /// Deletes a specified harvest data resource under a particular farmer. /// ID of the associated farmer resource. /// ID of the harvest data. - /// The request options. + /// The request options. #pragma warning disable AZC0002 - public virtual Response Delete(string farmerId, string harvestDataId, RequestOptions requestOptions = null) + public virtual Response Delete(string farmerId, string harvestDataId, RequestOptions options = null) #pragma warning restore AZC0002 { - requestOptions ??= new RequestOptions(); - HttpMessage message = CreateDeleteRequest(farmerId, harvestDataId, requestOptions); - if (requestOptions.PerCallPolicy != null) + options ??= new RequestOptions(); + HttpMessage message = CreateDeleteRequest(farmerId, harvestDataId, options); + if (options.PerCallPolicy != null) { - message.SetProperty("RequestOptionsPerCallPolicyCallback", requestOptions.PerCallPolicy); + message.SetProperty("RequestOptionsPerCallPolicyCallback", options.PerCallPolicy); } using var scope = _clientDiagnostics.CreateScope("HarvestDataClient.Delete"); scope.Start(); try { - Pipeline.Send(message, requestOptions.CancellationToken); - if (requestOptions.StatusOption == ResponseStatusOption.Default) + Pipeline.Send(message, options.CancellationToken); + if (options.StatusOption == ResponseStatusOption.Default) { switch (message.Response.Status) { @@ -1533,8 +1533,8 @@ public virtual Response Delete(string farmerId, string harvestDataId, RequestOpt /// Create Request for and operations. /// ID of the associated farmer resource. /// ID of the harvest data. - /// The request options. - private HttpMessage CreateDeleteRequest(string farmerId, string harvestDataId, RequestOptions requestOptions = null) + /// The request options. + private HttpMessage CreateDeleteRequest(string farmerId, string harvestDataId, RequestOptions options = null) { var message = Pipeline.CreateMessage(); var request = message.Request; diff --git a/sdk/agrifood/Azure.Verticals.AgriFood.Farming/src/Generated/ImageProcessingClient.cs b/sdk/agrifood/Azure.Verticals.AgriFood.Farming/src/Generated/ImageProcessingClient.cs index 5d7612b4adc7..39179fe687c5 100644 --- a/sdk/agrifood/Azure.Verticals.AgriFood.Farming/src/Generated/ImageProcessingClient.cs +++ b/sdk/agrifood/Azure.Verticals.AgriFood.Farming/src/Generated/ImageProcessingClient.cs @@ -57,12 +57,12 @@ public ImageProcessingClient(Uri endpoint, TokenCredential credential, FarmBeats /// /// Schema for Request Body: /// - /// + /// /// Name /// Type /// Required /// Description - /// + /// /// /// farmerId /// string @@ -162,24 +162,24 @@ public ImageProcessingClient(Uri endpoint, TokenCredential credential, FarmBeats /// /// /// JobId provided by user. - /// The request body. - /// The request options. + /// The content to send as the body of the request. + /// The request options. #pragma warning disable AZC0002 - public virtual async Task CreateRasterizeJobAsync(string jobId, RequestContent requestBody, RequestOptions requestOptions = null) + public virtual async Task CreateRasterizeJobAsync(string jobId, RequestContent content, RequestOptions options = null) #pragma warning restore AZC0002 { - requestOptions ??= new RequestOptions(); - HttpMessage message = CreateCreateRasterizeJobRequest(jobId, requestBody, requestOptions); - if (requestOptions.PerCallPolicy != null) + options ??= new RequestOptions(); + HttpMessage message = CreateCreateRasterizeJobRequest(jobId, content, options); + if (options.PerCallPolicy != null) { - message.SetProperty("RequestOptionsPerCallPolicyCallback", requestOptions.PerCallPolicy); + message.SetProperty("RequestOptionsPerCallPolicyCallback", options.PerCallPolicy); } using var scope = _clientDiagnostics.CreateScope("ImageProcessingClient.CreateRasterizeJob"); scope.Start(); try { - await Pipeline.SendAsync(message, requestOptions.CancellationToken).ConfigureAwait(false); - if (requestOptions.StatusOption == ResponseStatusOption.Default) + await Pipeline.SendAsync(message, options.CancellationToken).ConfigureAwait(false); + if (options.StatusOption == ResponseStatusOption.Default) { switch (message.Response.Status) { @@ -205,12 +205,12 @@ public virtual async Task CreateRasterizeJobAsync(string jobId, Reques /// /// Schema for Request Body: /// - /// + /// /// Name /// Type /// Required /// Description - /// + /// /// /// farmerId /// string @@ -310,24 +310,24 @@ public virtual async Task CreateRasterizeJobAsync(string jobId, Reques /// /// /// JobId provided by user. - /// The request body. - /// The request options. + /// The content to send as the body of the request. + /// The request options. #pragma warning disable AZC0002 - public virtual Response CreateRasterizeJob(string jobId, RequestContent requestBody, RequestOptions requestOptions = null) + public virtual Response CreateRasterizeJob(string jobId, RequestContent content, RequestOptions options = null) #pragma warning restore AZC0002 { - requestOptions ??= new RequestOptions(); - HttpMessage message = CreateCreateRasterizeJobRequest(jobId, requestBody, requestOptions); - if (requestOptions.PerCallPolicy != null) + options ??= new RequestOptions(); + HttpMessage message = CreateCreateRasterizeJobRequest(jobId, content, options); + if (options.PerCallPolicy != null) { - message.SetProperty("RequestOptionsPerCallPolicyCallback", requestOptions.PerCallPolicy); + message.SetProperty("RequestOptionsPerCallPolicyCallback", options.PerCallPolicy); } using var scope = _clientDiagnostics.CreateScope("ImageProcessingClient.CreateRasterizeJob"); scope.Start(); try { - Pipeline.Send(message, requestOptions.CancellationToken); - if (requestOptions.StatusOption == ResponseStatusOption.Default) + Pipeline.Send(message, options.CancellationToken); + if (options.StatusOption == ResponseStatusOption.Default) { switch (message.Response.Status) { @@ -351,9 +351,9 @@ public virtual Response CreateRasterizeJob(string jobId, RequestContent requestB /// Create Request for and operations. /// JobId provided by user. - /// The request body. - /// The request options. - private HttpMessage CreateCreateRasterizeJobRequest(string jobId, RequestContent requestBody, RequestOptions requestOptions = null) + /// The content to send as the body of the request. + /// The request options. + private HttpMessage CreateCreateRasterizeJobRequest(string jobId, RequestContent content, RequestOptions options = null) { var message = Pipeline.CreateMessage(); var request = message.Request; @@ -366,29 +366,29 @@ private HttpMessage CreateCreateRasterizeJobRequest(string jobId, RequestContent request.Uri = uri; request.Headers.Add("Accept", "application/json"); request.Headers.Add("Content-Type", "application/json"); - request.Content = requestBody; + request.Content = content; return message; } /// Get ImageProcessing Rasterize job's details. /// ID of the job. - /// The request options. + /// The request options. #pragma warning disable AZC0002 - public virtual async Task GetRasterizeJobAsync(string jobId, RequestOptions requestOptions = null) + public virtual async Task GetRasterizeJobAsync(string jobId, RequestOptions options = null) #pragma warning restore AZC0002 { - requestOptions ??= new RequestOptions(); - HttpMessage message = CreateGetRasterizeJobRequest(jobId, requestOptions); - if (requestOptions.PerCallPolicy != null) + options ??= new RequestOptions(); + HttpMessage message = CreateGetRasterizeJobRequest(jobId, options); + if (options.PerCallPolicy != null) { - message.SetProperty("RequestOptionsPerCallPolicyCallback", requestOptions.PerCallPolicy); + message.SetProperty("RequestOptionsPerCallPolicyCallback", options.PerCallPolicy); } using var scope = _clientDiagnostics.CreateScope("ImageProcessingClient.GetRasterizeJob"); scope.Start(); try { - await Pipeline.SendAsync(message, requestOptions.CancellationToken).ConfigureAwait(false); - if (requestOptions.StatusOption == ResponseStatusOption.Default) + await Pipeline.SendAsync(message, options.CancellationToken).ConfigureAwait(false); + if (options.StatusOption == ResponseStatusOption.Default) { switch (message.Response.Status) { @@ -412,23 +412,23 @@ public virtual async Task GetRasterizeJobAsync(string jobId, RequestOp /// Get ImageProcessing Rasterize job's details. /// ID of the job. - /// The request options. + /// The request options. #pragma warning disable AZC0002 - public virtual Response GetRasterizeJob(string jobId, RequestOptions requestOptions = null) + public virtual Response GetRasterizeJob(string jobId, RequestOptions options = null) #pragma warning restore AZC0002 { - requestOptions ??= new RequestOptions(); - HttpMessage message = CreateGetRasterizeJobRequest(jobId, requestOptions); - if (requestOptions.PerCallPolicy != null) + options ??= new RequestOptions(); + HttpMessage message = CreateGetRasterizeJobRequest(jobId, options); + if (options.PerCallPolicy != null) { - message.SetProperty("RequestOptionsPerCallPolicyCallback", requestOptions.PerCallPolicy); + message.SetProperty("RequestOptionsPerCallPolicyCallback", options.PerCallPolicy); } using var scope = _clientDiagnostics.CreateScope("ImageProcessingClient.GetRasterizeJob"); scope.Start(); try { - Pipeline.Send(message, requestOptions.CancellationToken); - if (requestOptions.StatusOption == ResponseStatusOption.Default) + Pipeline.Send(message, options.CancellationToken); + if (options.StatusOption == ResponseStatusOption.Default) { switch (message.Response.Status) { @@ -452,8 +452,8 @@ public virtual Response GetRasterizeJob(string jobId, RequestOptions requestOpti /// Create Request for and operations. /// ID of the job. - /// The request options. - private HttpMessage CreateGetRasterizeJobRequest(string jobId, RequestOptions requestOptions = null) + /// The request options. + private HttpMessage CreateGetRasterizeJobRequest(string jobId, RequestOptions options = null) { var message = Pipeline.CreateMessage(); var request = message.Request; diff --git a/sdk/agrifood/Azure.Verticals.AgriFood.Farming/src/Generated/OAuthProvidersClient.cs b/sdk/agrifood/Azure.Verticals.AgriFood.Farming/src/Generated/OAuthProvidersClient.cs index d64e323ba22e..4132bd1d315f 100644 --- a/sdk/agrifood/Azure.Verticals.AgriFood.Farming/src/Generated/OAuthProvidersClient.cs +++ b/sdk/agrifood/Azure.Verticals.AgriFood.Farming/src/Generated/OAuthProvidersClient.cs @@ -73,23 +73,23 @@ public OAuthProvidersClient(Uri endpoint, TokenCredential credential, FarmBeatsC /// Minimum = 10, Maximum = 1000, Default value = 50. /// /// Skip token for getting next set of results. - /// The request options. + /// The request options. #pragma warning disable AZC0002 - public virtual async Task ListAsync(IEnumerable ids = null, IEnumerable names = null, IEnumerable propertyFilters = null, IEnumerable statuses = null, DateTimeOffset? minCreatedDateTime = null, DateTimeOffset? maxCreatedDateTime = null, DateTimeOffset? minLastModifiedDateTime = null, DateTimeOffset? maxLastModifiedDateTime = null, int? maxPageSize = null, string skipToken = null, RequestOptions requestOptions = null) + public virtual async Task ListAsync(IEnumerable ids = null, IEnumerable names = null, IEnumerable propertyFilters = null, IEnumerable statuses = null, DateTimeOffset? minCreatedDateTime = null, DateTimeOffset? maxCreatedDateTime = null, DateTimeOffset? minLastModifiedDateTime = null, DateTimeOffset? maxLastModifiedDateTime = null, int? maxPageSize = null, string skipToken = null, RequestOptions options = null) #pragma warning restore AZC0002 { - requestOptions ??= new RequestOptions(); - HttpMessage message = CreateListRequest(ids, names, propertyFilters, statuses, minCreatedDateTime, maxCreatedDateTime, minLastModifiedDateTime, maxLastModifiedDateTime, maxPageSize, skipToken, requestOptions); - if (requestOptions.PerCallPolicy != null) + options ??= new RequestOptions(); + HttpMessage message = CreateListRequest(ids, names, propertyFilters, statuses, minCreatedDateTime, maxCreatedDateTime, minLastModifiedDateTime, maxLastModifiedDateTime, maxPageSize, skipToken, options); + if (options.PerCallPolicy != null) { - message.SetProperty("RequestOptionsPerCallPolicyCallback", requestOptions.PerCallPolicy); + message.SetProperty("RequestOptionsPerCallPolicyCallback", options.PerCallPolicy); } using var scope = _clientDiagnostics.CreateScope("OAuthProvidersClient.List"); scope.Start(); try { - await Pipeline.SendAsync(message, requestOptions.CancellationToken).ConfigureAwait(false); - if (requestOptions.StatusOption == ResponseStatusOption.Default) + await Pipeline.SendAsync(message, options.CancellationToken).ConfigureAwait(false); + if (options.StatusOption == ResponseStatusOption.Default) { switch (message.Response.Status) { @@ -130,23 +130,23 @@ public virtual async Task ListAsync(IEnumerable ids = null, IE /// Minimum = 10, Maximum = 1000, Default value = 50. /// /// Skip token for getting next set of results. - /// The request options. + /// The request options. #pragma warning disable AZC0002 - public virtual Response List(IEnumerable ids = null, IEnumerable names = null, IEnumerable propertyFilters = null, IEnumerable statuses = null, DateTimeOffset? minCreatedDateTime = null, DateTimeOffset? maxCreatedDateTime = null, DateTimeOffset? minLastModifiedDateTime = null, DateTimeOffset? maxLastModifiedDateTime = null, int? maxPageSize = null, string skipToken = null, RequestOptions requestOptions = null) + public virtual Response List(IEnumerable ids = null, IEnumerable names = null, IEnumerable propertyFilters = null, IEnumerable statuses = null, DateTimeOffset? minCreatedDateTime = null, DateTimeOffset? maxCreatedDateTime = null, DateTimeOffset? minLastModifiedDateTime = null, DateTimeOffset? maxLastModifiedDateTime = null, int? maxPageSize = null, string skipToken = null, RequestOptions options = null) #pragma warning restore AZC0002 { - requestOptions ??= new RequestOptions(); - HttpMessage message = CreateListRequest(ids, names, propertyFilters, statuses, minCreatedDateTime, maxCreatedDateTime, minLastModifiedDateTime, maxLastModifiedDateTime, maxPageSize, skipToken, requestOptions); - if (requestOptions.PerCallPolicy != null) + options ??= new RequestOptions(); + HttpMessage message = CreateListRequest(ids, names, propertyFilters, statuses, minCreatedDateTime, maxCreatedDateTime, minLastModifiedDateTime, maxLastModifiedDateTime, maxPageSize, skipToken, options); + if (options.PerCallPolicy != null) { - message.SetProperty("RequestOptionsPerCallPolicyCallback", requestOptions.PerCallPolicy); + message.SetProperty("RequestOptionsPerCallPolicyCallback", options.PerCallPolicy); } using var scope = _clientDiagnostics.CreateScope("OAuthProvidersClient.List"); scope.Start(); try { - Pipeline.Send(message, requestOptions.CancellationToken); - if (requestOptions.StatusOption == ResponseStatusOption.Default) + Pipeline.Send(message, options.CancellationToken); + if (options.StatusOption == ResponseStatusOption.Default) { switch (message.Response.Status) { @@ -187,8 +187,8 @@ public virtual Response List(IEnumerable ids = null, IEnumerable /// Minimum = 10, Maximum = 1000, Default value = 50. /// /// Skip token for getting next set of results. - /// The request options. - private HttpMessage CreateListRequest(IEnumerable ids = null, IEnumerable names = null, IEnumerable propertyFilters = null, IEnumerable statuses = null, DateTimeOffset? minCreatedDateTime = null, DateTimeOffset? maxCreatedDateTime = null, DateTimeOffset? minLastModifiedDateTime = null, DateTimeOffset? maxLastModifiedDateTime = null, int? maxPageSize = null, string skipToken = null, RequestOptions requestOptions = null) + /// The request options. + private HttpMessage CreateListRequest(IEnumerable ids = null, IEnumerable names = null, IEnumerable propertyFilters = null, IEnumerable statuses = null, DateTimeOffset? minCreatedDateTime = null, DateTimeOffset? maxCreatedDateTime = null, DateTimeOffset? minLastModifiedDateTime = null, DateTimeOffset? maxLastModifiedDateTime = null, int? maxPageSize = null, string skipToken = null, RequestOptions options = null) { var message = Pipeline.CreateMessage(); var request = message.Request; @@ -244,23 +244,23 @@ private HttpMessage CreateListRequest(IEnumerable ids = null, IEnumerabl /// Get a specified oauthProvider resource. /// ID of the oauthProvider resource. - /// The request options. + /// The request options. #pragma warning disable AZC0002 - public virtual async Task GetAsync(string oauthProviderId, RequestOptions requestOptions = null) + public virtual async Task GetAsync(string oauthProviderId, RequestOptions options = null) #pragma warning restore AZC0002 { - requestOptions ??= new RequestOptions(); - HttpMessage message = CreateGetRequest(oauthProviderId, requestOptions); - if (requestOptions.PerCallPolicy != null) + options ??= new RequestOptions(); + HttpMessage message = CreateGetRequest(oauthProviderId, options); + if (options.PerCallPolicy != null) { - message.SetProperty("RequestOptionsPerCallPolicyCallback", requestOptions.PerCallPolicy); + message.SetProperty("RequestOptionsPerCallPolicyCallback", options.PerCallPolicy); } using var scope = _clientDiagnostics.CreateScope("OAuthProvidersClient.Get"); scope.Start(); try { - await Pipeline.SendAsync(message, requestOptions.CancellationToken).ConfigureAwait(false); - if (requestOptions.StatusOption == ResponseStatusOption.Default) + await Pipeline.SendAsync(message, options.CancellationToken).ConfigureAwait(false); + if (options.StatusOption == ResponseStatusOption.Default) { switch (message.Response.Status) { @@ -284,23 +284,23 @@ public virtual async Task GetAsync(string oauthProviderId, RequestOpti /// Get a specified oauthProvider resource. /// ID of the oauthProvider resource. - /// The request options. + /// The request options. #pragma warning disable AZC0002 - public virtual Response Get(string oauthProviderId, RequestOptions requestOptions = null) + public virtual Response Get(string oauthProviderId, RequestOptions options = null) #pragma warning restore AZC0002 { - requestOptions ??= new RequestOptions(); - HttpMessage message = CreateGetRequest(oauthProviderId, requestOptions); - if (requestOptions.PerCallPolicy != null) + options ??= new RequestOptions(); + HttpMessage message = CreateGetRequest(oauthProviderId, options); + if (options.PerCallPolicy != null) { - message.SetProperty("RequestOptionsPerCallPolicyCallback", requestOptions.PerCallPolicy); + message.SetProperty("RequestOptionsPerCallPolicyCallback", options.PerCallPolicy); } using var scope = _clientDiagnostics.CreateScope("OAuthProvidersClient.Get"); scope.Start(); try { - Pipeline.Send(message, requestOptions.CancellationToken); - if (requestOptions.StatusOption == ResponseStatusOption.Default) + Pipeline.Send(message, options.CancellationToken); + if (options.StatusOption == ResponseStatusOption.Default) { switch (message.Response.Status) { @@ -324,8 +324,8 @@ public virtual Response Get(string oauthProviderId, RequestOptions requestOption /// Create Request for and operations. /// ID of the oauthProvider resource. - /// The request options. - private HttpMessage CreateGetRequest(string oauthProviderId, RequestOptions requestOptions = null) + /// The request options. + private HttpMessage CreateGetRequest(string oauthProviderId, RequestOptions options = null) { var message = Pipeline.CreateMessage(); var request = message.Request; @@ -344,12 +344,12 @@ private HttpMessage CreateGetRequest(string oauthProviderId, RequestOptions requ /// /// Schema for Request Body: /// - /// + /// /// Name /// Type /// Required /// Description - /// + /// /// /// appId /// string @@ -439,24 +439,24 @@ private HttpMessage CreateGetRequest(string oauthProviderId, RequestOptions requ /// /// /// ID of oauthProvider resource. - /// The request body. - /// The request options. + /// The content to send as the body of the request. + /// The request options. #pragma warning disable AZC0002 - public virtual async Task CreateOrUpdateAsync(string oauthProviderId, RequestContent requestBody, RequestOptions requestOptions = null) + public virtual async Task CreateOrUpdateAsync(string oauthProviderId, RequestContent content, RequestOptions options = null) #pragma warning restore AZC0002 { - requestOptions ??= new RequestOptions(); - HttpMessage message = CreateCreateOrUpdateRequest(oauthProviderId, requestBody, requestOptions); - if (requestOptions.PerCallPolicy != null) + options ??= new RequestOptions(); + HttpMessage message = CreateCreateOrUpdateRequest(oauthProviderId, content, options); + if (options.PerCallPolicy != null) { - message.SetProperty("RequestOptionsPerCallPolicyCallback", requestOptions.PerCallPolicy); + message.SetProperty("RequestOptionsPerCallPolicyCallback", options.PerCallPolicy); } using var scope = _clientDiagnostics.CreateScope("OAuthProvidersClient.CreateOrUpdate"); scope.Start(); try { - await Pipeline.SendAsync(message, requestOptions.CancellationToken).ConfigureAwait(false); - if (requestOptions.StatusOption == ResponseStatusOption.Default) + await Pipeline.SendAsync(message, options.CancellationToken).ConfigureAwait(false); + if (options.StatusOption == ResponseStatusOption.Default) { switch (message.Response.Status) { @@ -483,12 +483,12 @@ public virtual async Task CreateOrUpdateAsync(string oauthProviderId, /// /// Schema for Request Body: /// - /// + /// /// Name /// Type /// Required /// Description - /// + /// /// /// appId /// string @@ -578,24 +578,24 @@ public virtual async Task CreateOrUpdateAsync(string oauthProviderId, /// /// /// ID of oauthProvider resource. - /// The request body. - /// The request options. + /// The content to send as the body of the request. + /// The request options. #pragma warning disable AZC0002 - public virtual Response CreateOrUpdate(string oauthProviderId, RequestContent requestBody, RequestOptions requestOptions = null) + public virtual Response CreateOrUpdate(string oauthProviderId, RequestContent content, RequestOptions options = null) #pragma warning restore AZC0002 { - requestOptions ??= new RequestOptions(); - HttpMessage message = CreateCreateOrUpdateRequest(oauthProviderId, requestBody, requestOptions); - if (requestOptions.PerCallPolicy != null) + options ??= new RequestOptions(); + HttpMessage message = CreateCreateOrUpdateRequest(oauthProviderId, content, options); + if (options.PerCallPolicy != null) { - message.SetProperty("RequestOptionsPerCallPolicyCallback", requestOptions.PerCallPolicy); + message.SetProperty("RequestOptionsPerCallPolicyCallback", options.PerCallPolicy); } using var scope = _clientDiagnostics.CreateScope("OAuthProvidersClient.CreateOrUpdate"); scope.Start(); try { - Pipeline.Send(message, requestOptions.CancellationToken); - if (requestOptions.StatusOption == ResponseStatusOption.Default) + Pipeline.Send(message, options.CancellationToken); + if (options.StatusOption == ResponseStatusOption.Default) { switch (message.Response.Status) { @@ -620,9 +620,9 @@ public virtual Response CreateOrUpdate(string oauthProviderId, RequestContent re /// Create Request for and operations. /// ID of oauthProvider resource. - /// The request body. - /// The request options. - private HttpMessage CreateCreateOrUpdateRequest(string oauthProviderId, RequestContent requestBody, RequestOptions requestOptions = null) + /// The content to send as the body of the request. + /// The request options. + private HttpMessage CreateCreateOrUpdateRequest(string oauthProviderId, RequestContent content, RequestOptions options = null) { var message = Pipeline.CreateMessage(); var request = message.Request; @@ -635,29 +635,29 @@ private HttpMessage CreateCreateOrUpdateRequest(string oauthProviderId, RequestC request.Uri = uri; request.Headers.Add("Accept", "application/json"); request.Headers.Add("Content-Type", "application/merge-patch+json"); - request.Content = requestBody; + request.Content = content; return message; } /// Deletes an specified oauthProvider resource. /// ID of oauthProvider. - /// The request options. + /// The request options. #pragma warning disable AZC0002 - public virtual async Task DeleteAsync(string oauthProviderId, RequestOptions requestOptions = null) + public virtual async Task DeleteAsync(string oauthProviderId, RequestOptions options = null) #pragma warning restore AZC0002 { - requestOptions ??= new RequestOptions(); - HttpMessage message = CreateDeleteRequest(oauthProviderId, requestOptions); - if (requestOptions.PerCallPolicy != null) + options ??= new RequestOptions(); + HttpMessage message = CreateDeleteRequest(oauthProviderId, options); + if (options.PerCallPolicy != null) { - message.SetProperty("RequestOptionsPerCallPolicyCallback", requestOptions.PerCallPolicy); + message.SetProperty("RequestOptionsPerCallPolicyCallback", options.PerCallPolicy); } using var scope = _clientDiagnostics.CreateScope("OAuthProvidersClient.Delete"); scope.Start(); try { - await Pipeline.SendAsync(message, requestOptions.CancellationToken).ConfigureAwait(false); - if (requestOptions.StatusOption == ResponseStatusOption.Default) + await Pipeline.SendAsync(message, options.CancellationToken).ConfigureAwait(false); + if (options.StatusOption == ResponseStatusOption.Default) { switch (message.Response.Status) { @@ -681,23 +681,23 @@ public virtual async Task DeleteAsync(string oauthProviderId, RequestO /// Deletes an specified oauthProvider resource. /// ID of oauthProvider. - /// The request options. + /// The request options. #pragma warning disable AZC0002 - public virtual Response Delete(string oauthProviderId, RequestOptions requestOptions = null) + public virtual Response Delete(string oauthProviderId, RequestOptions options = null) #pragma warning restore AZC0002 { - requestOptions ??= new RequestOptions(); - HttpMessage message = CreateDeleteRequest(oauthProviderId, requestOptions); - if (requestOptions.PerCallPolicy != null) + options ??= new RequestOptions(); + HttpMessage message = CreateDeleteRequest(oauthProviderId, options); + if (options.PerCallPolicy != null) { - message.SetProperty("RequestOptionsPerCallPolicyCallback", requestOptions.PerCallPolicy); + message.SetProperty("RequestOptionsPerCallPolicyCallback", options.PerCallPolicy); } using var scope = _clientDiagnostics.CreateScope("OAuthProvidersClient.Delete"); scope.Start(); try { - Pipeline.Send(message, requestOptions.CancellationToken); - if (requestOptions.StatusOption == ResponseStatusOption.Default) + Pipeline.Send(message, options.CancellationToken); + if (options.StatusOption == ResponseStatusOption.Default) { switch (message.Response.Status) { @@ -721,8 +721,8 @@ public virtual Response Delete(string oauthProviderId, RequestOptions requestOpt /// Create Request for and operations. /// ID of oauthProvider. - /// The request options. - private HttpMessage CreateDeleteRequest(string oauthProviderId, RequestOptions requestOptions = null) + /// The request options. + private HttpMessage CreateDeleteRequest(string oauthProviderId, RequestOptions options = null) { var message = Pipeline.CreateMessage(); var request = message.Request; diff --git a/sdk/agrifood/Azure.Verticals.AgriFood.Farming/src/Generated/OAuthTokensClient.cs b/sdk/agrifood/Azure.Verticals.AgriFood.Farming/src/Generated/OAuthTokensClient.cs index ab4e3a7eda04..5270e492b673 100644 --- a/sdk/agrifood/Azure.Verticals.AgriFood.Farming/src/Generated/OAuthTokensClient.cs +++ b/sdk/agrifood/Azure.Verticals.AgriFood.Farming/src/Generated/OAuthTokensClient.cs @@ -68,23 +68,23 @@ public OAuthTokensClient(Uri endpoint, TokenCredential credential, FarmBeatsClie /// Minimum = 10, Maximum = 1000, Default value = 50. /// /// Skip token for getting next set of results. - /// The request options. + /// The request options. #pragma warning disable AZC0002 - public virtual async Task ListAsync(IEnumerable authProviderIds = null, IEnumerable farmerIds = null, bool? isValid = null, DateTimeOffset? minCreatedDateTime = null, DateTimeOffset? maxCreatedDateTime = null, DateTimeOffset? minLastModifiedDateTime = null, DateTimeOffset? maxLastModifiedDateTime = null, int? maxPageSize = null, string skipToken = null, RequestOptions requestOptions = null) + public virtual async Task ListAsync(IEnumerable authProviderIds = null, IEnumerable farmerIds = null, bool? isValid = null, DateTimeOffset? minCreatedDateTime = null, DateTimeOffset? maxCreatedDateTime = null, DateTimeOffset? minLastModifiedDateTime = null, DateTimeOffset? maxLastModifiedDateTime = null, int? maxPageSize = null, string skipToken = null, RequestOptions options = null) #pragma warning restore AZC0002 { - requestOptions ??= new RequestOptions(); - HttpMessage message = CreateListRequest(authProviderIds, farmerIds, isValid, minCreatedDateTime, maxCreatedDateTime, minLastModifiedDateTime, maxLastModifiedDateTime, maxPageSize, skipToken, requestOptions); - if (requestOptions.PerCallPolicy != null) + options ??= new RequestOptions(); + HttpMessage message = CreateListRequest(authProviderIds, farmerIds, isValid, minCreatedDateTime, maxCreatedDateTime, minLastModifiedDateTime, maxLastModifiedDateTime, maxPageSize, skipToken, options); + if (options.PerCallPolicy != null) { - message.SetProperty("RequestOptionsPerCallPolicyCallback", requestOptions.PerCallPolicy); + message.SetProperty("RequestOptionsPerCallPolicyCallback", options.PerCallPolicy); } using var scope = _clientDiagnostics.CreateScope("OAuthTokensClient.List"); scope.Start(); try { - await Pipeline.SendAsync(message, requestOptions.CancellationToken).ConfigureAwait(false); - if (requestOptions.StatusOption == ResponseStatusOption.Default) + await Pipeline.SendAsync(message, options.CancellationToken).ConfigureAwait(false); + if (options.StatusOption == ResponseStatusOption.Default) { switch (message.Response.Status) { @@ -120,23 +120,23 @@ public virtual async Task ListAsync(IEnumerable authProviderId /// Minimum = 10, Maximum = 1000, Default value = 50. /// /// Skip token for getting next set of results. - /// The request options. + /// The request options. #pragma warning disable AZC0002 - public virtual Response List(IEnumerable authProviderIds = null, IEnumerable farmerIds = null, bool? isValid = null, DateTimeOffset? minCreatedDateTime = null, DateTimeOffset? maxCreatedDateTime = null, DateTimeOffset? minLastModifiedDateTime = null, DateTimeOffset? maxLastModifiedDateTime = null, int? maxPageSize = null, string skipToken = null, RequestOptions requestOptions = null) + public virtual Response List(IEnumerable authProviderIds = null, IEnumerable farmerIds = null, bool? isValid = null, DateTimeOffset? minCreatedDateTime = null, DateTimeOffset? maxCreatedDateTime = null, DateTimeOffset? minLastModifiedDateTime = null, DateTimeOffset? maxLastModifiedDateTime = null, int? maxPageSize = null, string skipToken = null, RequestOptions options = null) #pragma warning restore AZC0002 { - requestOptions ??= new RequestOptions(); - HttpMessage message = CreateListRequest(authProviderIds, farmerIds, isValid, minCreatedDateTime, maxCreatedDateTime, minLastModifiedDateTime, maxLastModifiedDateTime, maxPageSize, skipToken, requestOptions); - if (requestOptions.PerCallPolicy != null) + options ??= new RequestOptions(); + HttpMessage message = CreateListRequest(authProviderIds, farmerIds, isValid, minCreatedDateTime, maxCreatedDateTime, minLastModifiedDateTime, maxLastModifiedDateTime, maxPageSize, skipToken, options); + if (options.PerCallPolicy != null) { - message.SetProperty("RequestOptionsPerCallPolicyCallback", requestOptions.PerCallPolicy); + message.SetProperty("RequestOptionsPerCallPolicyCallback", options.PerCallPolicy); } using var scope = _clientDiagnostics.CreateScope("OAuthTokensClient.List"); scope.Start(); try { - Pipeline.Send(message, requestOptions.CancellationToken); - if (requestOptions.StatusOption == ResponseStatusOption.Default) + Pipeline.Send(message, options.CancellationToken); + if (options.StatusOption == ResponseStatusOption.Default) { switch (message.Response.Status) { @@ -172,8 +172,8 @@ public virtual Response List(IEnumerable authProviderIds = null, IEnumer /// Minimum = 10, Maximum = 1000, Default value = 50. /// /// Skip token for getting next set of results. - /// The request options. - private HttpMessage CreateListRequest(IEnumerable authProviderIds = null, IEnumerable farmerIds = null, bool? isValid = null, DateTimeOffset? minCreatedDateTime = null, DateTimeOffset? maxCreatedDateTime = null, DateTimeOffset? minLastModifiedDateTime = null, DateTimeOffset? maxLastModifiedDateTime = null, int? maxPageSize = null, string skipToken = null, RequestOptions requestOptions = null) + /// The request options. + private HttpMessage CreateListRequest(IEnumerable authProviderIds = null, IEnumerable farmerIds = null, bool? isValid = null, DateTimeOffset? minCreatedDateTime = null, DateTimeOffset? maxCreatedDateTime = null, DateTimeOffset? minLastModifiedDateTime = null, DateTimeOffset? maxLastModifiedDateTime = null, int? maxPageSize = null, string skipToken = null, RequestOptions options = null) { var message = Pipeline.CreateMessage(); var request = message.Request; @@ -227,12 +227,12 @@ private HttpMessage CreateListRequest(IEnumerable authProviderIds = null /// /// Schema for Request Body: /// - /// + /// /// Name /// Type /// Required /// Description - /// + /// /// /// farmerId /// string @@ -259,24 +259,24 @@ private HttpMessage CreateListRequest(IEnumerable authProviderIds = null /// /// /// - /// The request body. - /// The request options. + /// The content to send as the body of the request. + /// The request options. #pragma warning disable AZC0002 - public virtual async Task GetOAuthConnectionLinkAsync(RequestContent requestBody, RequestOptions requestOptions = null) + public virtual async Task GetOAuthConnectionLinkAsync(RequestContent content, RequestOptions options = null) #pragma warning restore AZC0002 { - requestOptions ??= new RequestOptions(); - HttpMessage message = CreateGetOAuthConnectionLinkRequest(requestBody, requestOptions); - if (requestOptions.PerCallPolicy != null) + options ??= new RequestOptions(); + HttpMessage message = CreateGetOAuthConnectionLinkRequest(content, options); + if (options.PerCallPolicy != null) { - message.SetProperty("RequestOptionsPerCallPolicyCallback", requestOptions.PerCallPolicy); + message.SetProperty("RequestOptionsPerCallPolicyCallback", options.PerCallPolicy); } using var scope = _clientDiagnostics.CreateScope("OAuthTokensClient.GetOAuthConnectionLink"); scope.Start(); try { - await Pipeline.SendAsync(message, requestOptions.CancellationToken).ConfigureAwait(false); - if (requestOptions.StatusOption == ResponseStatusOption.Default) + await Pipeline.SendAsync(message, options.CancellationToken).ConfigureAwait(false); + if (options.StatusOption == ResponseStatusOption.Default) { switch (message.Response.Status) { @@ -302,12 +302,12 @@ public virtual async Task GetOAuthConnectionLinkAsync(RequestContent r /// /// Schema for Request Body: /// - /// + /// /// Name /// Type /// Required /// Description - /// + /// /// /// farmerId /// string @@ -334,24 +334,24 @@ public virtual async Task GetOAuthConnectionLinkAsync(RequestContent r /// /// /// - /// The request body. - /// The request options. + /// The content to send as the body of the request. + /// The request options. #pragma warning disable AZC0002 - public virtual Response GetOAuthConnectionLink(RequestContent requestBody, RequestOptions requestOptions = null) + public virtual Response GetOAuthConnectionLink(RequestContent content, RequestOptions options = null) #pragma warning restore AZC0002 { - requestOptions ??= new RequestOptions(); - HttpMessage message = CreateGetOAuthConnectionLinkRequest(requestBody, requestOptions); - if (requestOptions.PerCallPolicy != null) + options ??= new RequestOptions(); + HttpMessage message = CreateGetOAuthConnectionLinkRequest(content, options); + if (options.PerCallPolicy != null) { - message.SetProperty("RequestOptionsPerCallPolicyCallback", requestOptions.PerCallPolicy); + message.SetProperty("RequestOptionsPerCallPolicyCallback", options.PerCallPolicy); } using var scope = _clientDiagnostics.CreateScope("OAuthTokensClient.GetOAuthConnectionLink"); scope.Start(); try { - Pipeline.Send(message, requestOptions.CancellationToken); - if (requestOptions.StatusOption == ResponseStatusOption.Default) + Pipeline.Send(message, options.CancellationToken); + if (options.StatusOption == ResponseStatusOption.Default) { switch (message.Response.Status) { @@ -374,9 +374,9 @@ public virtual Response GetOAuthConnectionLink(RequestContent requestBody, Reque } /// Create Request for and operations. - /// The request body. - /// The request options. - private HttpMessage CreateGetOAuthConnectionLinkRequest(RequestContent requestBody, RequestOptions requestOptions = null) + /// The content to send as the body of the request. + /// The request options. + private HttpMessage CreateGetOAuthConnectionLinkRequest(RequestContent content, RequestOptions options = null) { var message = Pipeline.CreateMessage(); var request = message.Request; @@ -388,29 +388,29 @@ private HttpMessage CreateGetOAuthConnectionLinkRequest(RequestContent requestBo request.Uri = uri; request.Headers.Add("Accept", "application/json"); request.Headers.Add("Content-Type", "application/json"); - request.Content = requestBody; + request.Content = content; return message; } /// Get cascade delete job details for OAuth tokens for specified job ID. /// ID of the job. - /// The request options. + /// The request options. #pragma warning disable AZC0002 - public virtual async Task GetCascadeDeleteJobDetailsAsync(string jobId, RequestOptions requestOptions = null) + public virtual async Task GetCascadeDeleteJobDetailsAsync(string jobId, RequestOptions options = null) #pragma warning restore AZC0002 { - requestOptions ??= new RequestOptions(); - HttpMessage message = CreateGetCascadeDeleteJobDetailsRequest(jobId, requestOptions); - if (requestOptions.PerCallPolicy != null) + options ??= new RequestOptions(); + HttpMessage message = CreateGetCascadeDeleteJobDetailsRequest(jobId, options); + if (options.PerCallPolicy != null) { - message.SetProperty("RequestOptionsPerCallPolicyCallback", requestOptions.PerCallPolicy); + message.SetProperty("RequestOptionsPerCallPolicyCallback", options.PerCallPolicy); } using var scope = _clientDiagnostics.CreateScope("OAuthTokensClient.GetCascadeDeleteJobDetails"); scope.Start(); try { - await Pipeline.SendAsync(message, requestOptions.CancellationToken).ConfigureAwait(false); - if (requestOptions.StatusOption == ResponseStatusOption.Default) + await Pipeline.SendAsync(message, options.CancellationToken).ConfigureAwait(false); + if (options.StatusOption == ResponseStatusOption.Default) { switch (message.Response.Status) { @@ -434,23 +434,23 @@ public virtual async Task GetCascadeDeleteJobDetailsAsync(string jobId /// Get cascade delete job details for OAuth tokens for specified job ID. /// ID of the job. - /// The request options. + /// The request options. #pragma warning disable AZC0002 - public virtual Response GetCascadeDeleteJobDetails(string jobId, RequestOptions requestOptions = null) + public virtual Response GetCascadeDeleteJobDetails(string jobId, RequestOptions options = null) #pragma warning restore AZC0002 { - requestOptions ??= new RequestOptions(); - HttpMessage message = CreateGetCascadeDeleteJobDetailsRequest(jobId, requestOptions); - if (requestOptions.PerCallPolicy != null) + options ??= new RequestOptions(); + HttpMessage message = CreateGetCascadeDeleteJobDetailsRequest(jobId, options); + if (options.PerCallPolicy != null) { - message.SetProperty("RequestOptionsPerCallPolicyCallback", requestOptions.PerCallPolicy); + message.SetProperty("RequestOptionsPerCallPolicyCallback", options.PerCallPolicy); } using var scope = _clientDiagnostics.CreateScope("OAuthTokensClient.GetCascadeDeleteJobDetails"); scope.Start(); try { - Pipeline.Send(message, requestOptions.CancellationToken); - if (requestOptions.StatusOption == ResponseStatusOption.Default) + Pipeline.Send(message, options.CancellationToken); + if (options.StatusOption == ResponseStatusOption.Default) { switch (message.Response.Status) { @@ -474,8 +474,8 @@ public virtual Response GetCascadeDeleteJobDetails(string jobId, RequestOptions /// Create Request for and operations. /// ID of the job. - /// The request options. - private HttpMessage CreateGetCascadeDeleteJobDetailsRequest(string jobId, RequestOptions requestOptions = null) + /// The request options. + private HttpMessage CreateGetCascadeDeleteJobDetailsRequest(string jobId, RequestOptions options = null) { var message = Pipeline.CreateMessage(); var request = message.Request; @@ -494,23 +494,23 @@ private HttpMessage CreateGetCascadeDeleteJobDetailsRequest(string jobId, Reques /// Job ID supplied by end user. /// ID of the farmer. /// ID of the OAuthProvider. - /// The request options. + /// The request options. #pragma warning disable AZC0002 - public virtual async Task CreateCascadeDeleteJobAsync(string jobId, string farmerId, string oauthProviderId, RequestOptions requestOptions = null) + public virtual async Task CreateCascadeDeleteJobAsync(string jobId, string farmerId, string oauthProviderId, RequestOptions options = null) #pragma warning restore AZC0002 { - requestOptions ??= new RequestOptions(); - HttpMessage message = CreateCreateCascadeDeleteJobRequest(jobId, farmerId, oauthProviderId, requestOptions); - if (requestOptions.PerCallPolicy != null) + options ??= new RequestOptions(); + HttpMessage message = CreateCreateCascadeDeleteJobRequest(jobId, farmerId, oauthProviderId, options); + if (options.PerCallPolicy != null) { - message.SetProperty("RequestOptionsPerCallPolicyCallback", requestOptions.PerCallPolicy); + message.SetProperty("RequestOptionsPerCallPolicyCallback", options.PerCallPolicy); } using var scope = _clientDiagnostics.CreateScope("OAuthTokensClient.CreateCascadeDeleteJob"); scope.Start(); try { - await Pipeline.SendAsync(message, requestOptions.CancellationToken).ConfigureAwait(false); - if (requestOptions.StatusOption == ResponseStatusOption.Default) + await Pipeline.SendAsync(message, options.CancellationToken).ConfigureAwait(false); + if (options.StatusOption == ResponseStatusOption.Default) { switch (message.Response.Status) { @@ -536,23 +536,23 @@ public virtual async Task CreateCascadeDeleteJobAsync(string jobId, st /// Job ID supplied by end user. /// ID of the farmer. /// ID of the OAuthProvider. - /// The request options. + /// The request options. #pragma warning disable AZC0002 - public virtual Response CreateCascadeDeleteJob(string jobId, string farmerId, string oauthProviderId, RequestOptions requestOptions = null) + public virtual Response CreateCascadeDeleteJob(string jobId, string farmerId, string oauthProviderId, RequestOptions options = null) #pragma warning restore AZC0002 { - requestOptions ??= new RequestOptions(); - HttpMessage message = CreateCreateCascadeDeleteJobRequest(jobId, farmerId, oauthProviderId, requestOptions); - if (requestOptions.PerCallPolicy != null) + options ??= new RequestOptions(); + HttpMessage message = CreateCreateCascadeDeleteJobRequest(jobId, farmerId, oauthProviderId, options); + if (options.PerCallPolicy != null) { - message.SetProperty("RequestOptionsPerCallPolicyCallback", requestOptions.PerCallPolicy); + message.SetProperty("RequestOptionsPerCallPolicyCallback", options.PerCallPolicy); } using var scope = _clientDiagnostics.CreateScope("OAuthTokensClient.CreateCascadeDeleteJob"); scope.Start(); try { - Pipeline.Send(message, requestOptions.CancellationToken); - if (requestOptions.StatusOption == ResponseStatusOption.Default) + Pipeline.Send(message, options.CancellationToken); + if (options.StatusOption == ResponseStatusOption.Default) { switch (message.Response.Status) { @@ -578,8 +578,8 @@ public virtual Response CreateCascadeDeleteJob(string jobId, string farmerId, st /// Job ID supplied by end user. /// ID of the farmer. /// ID of the OAuthProvider. - /// The request options. - private HttpMessage CreateCreateCascadeDeleteJobRequest(string jobId, string farmerId, string oauthProviderId, RequestOptions requestOptions = null) + /// The request options. + private HttpMessage CreateCreateCascadeDeleteJobRequest(string jobId, string farmerId, string oauthProviderId, RequestOptions options = null) { var message = Pipeline.CreateMessage(); var request = message.Request; diff --git a/sdk/agrifood/Azure.Verticals.AgriFood.Farming/src/Generated/PlantingDataClient.cs b/sdk/agrifood/Azure.Verticals.AgriFood.Farming/src/Generated/PlantingDataClient.cs index bfaad8605fc2..e1292c8f5aa3 100644 --- a/sdk/agrifood/Azure.Verticals.AgriFood.Farming/src/Generated/PlantingDataClient.cs +++ b/sdk/agrifood/Azure.Verticals.AgriFood.Farming/src/Generated/PlantingDataClient.cs @@ -91,23 +91,23 @@ public PlantingDataClient(Uri endpoint, TokenCredential credential, FarmBeatsCli /// Minimum = 10, Maximum = 1000, Default value = 50. /// /// Skip token for getting next set of results. - /// The request options. + /// The request options. #pragma warning disable AZC0002 - public virtual async Task ListByFarmerIdAsync(string farmerId, double? minAvgPlantingRate = null, double? maxAvgPlantingRate = null, double? minTotalMaterial = null, double? maxTotalMaterial = null, double? minAvgMaterial = null, double? maxAvgMaterial = null, IEnumerable sources = null, IEnumerable associatedBoundaryIds = null, IEnumerable operationBoundaryIds = null, DateTimeOffset? minOperationStartDateTime = null, DateTimeOffset? maxOperationStartDateTime = null, DateTimeOffset? minOperationEndDateTime = null, DateTimeOffset? maxOperationEndDateTime = null, DateTimeOffset? minOperationModifiedDateTime = null, DateTimeOffset? maxOperationModifiedDateTime = null, double? minArea = null, double? maxArea = null, IEnumerable ids = null, IEnumerable names = null, IEnumerable propertyFilters = null, IEnumerable statuses = null, DateTimeOffset? minCreatedDateTime = null, DateTimeOffset? maxCreatedDateTime = null, DateTimeOffset? minLastModifiedDateTime = null, DateTimeOffset? maxLastModifiedDateTime = null, int? maxPageSize = null, string skipToken = null, RequestOptions requestOptions = null) + public virtual async Task ListByFarmerIdAsync(string farmerId, double? minAvgPlantingRate = null, double? maxAvgPlantingRate = null, double? minTotalMaterial = null, double? maxTotalMaterial = null, double? minAvgMaterial = null, double? maxAvgMaterial = null, IEnumerable sources = null, IEnumerable associatedBoundaryIds = null, IEnumerable operationBoundaryIds = null, DateTimeOffset? minOperationStartDateTime = null, DateTimeOffset? maxOperationStartDateTime = null, DateTimeOffset? minOperationEndDateTime = null, DateTimeOffset? maxOperationEndDateTime = null, DateTimeOffset? minOperationModifiedDateTime = null, DateTimeOffset? maxOperationModifiedDateTime = null, double? minArea = null, double? maxArea = null, IEnumerable ids = null, IEnumerable names = null, IEnumerable propertyFilters = null, IEnumerable statuses = null, DateTimeOffset? minCreatedDateTime = null, DateTimeOffset? maxCreatedDateTime = null, DateTimeOffset? minLastModifiedDateTime = null, DateTimeOffset? maxLastModifiedDateTime = null, int? maxPageSize = null, string skipToken = null, RequestOptions options = null) #pragma warning restore AZC0002 { - requestOptions ??= new RequestOptions(); - HttpMessage message = CreateListByFarmerIdRequest(farmerId, minAvgPlantingRate, maxAvgPlantingRate, minTotalMaterial, maxTotalMaterial, minAvgMaterial, maxAvgMaterial, sources, associatedBoundaryIds, operationBoundaryIds, minOperationStartDateTime, maxOperationStartDateTime, minOperationEndDateTime, maxOperationEndDateTime, minOperationModifiedDateTime, maxOperationModifiedDateTime, minArea, maxArea, ids, names, propertyFilters, statuses, minCreatedDateTime, maxCreatedDateTime, minLastModifiedDateTime, maxLastModifiedDateTime, maxPageSize, skipToken, requestOptions); - if (requestOptions.PerCallPolicy != null) + options ??= new RequestOptions(); + HttpMessage message = CreateListByFarmerIdRequest(farmerId, minAvgPlantingRate, maxAvgPlantingRate, minTotalMaterial, maxTotalMaterial, minAvgMaterial, maxAvgMaterial, sources, associatedBoundaryIds, operationBoundaryIds, minOperationStartDateTime, maxOperationStartDateTime, minOperationEndDateTime, maxOperationEndDateTime, minOperationModifiedDateTime, maxOperationModifiedDateTime, minArea, maxArea, ids, names, propertyFilters, statuses, minCreatedDateTime, maxCreatedDateTime, minLastModifiedDateTime, maxLastModifiedDateTime, maxPageSize, skipToken, options); + if (options.PerCallPolicy != null) { - message.SetProperty("RequestOptionsPerCallPolicyCallback", requestOptions.PerCallPolicy); + message.SetProperty("RequestOptionsPerCallPolicyCallback", options.PerCallPolicy); } using var scope = _clientDiagnostics.CreateScope("PlantingDataClient.ListByFarmerId"); scope.Start(); try { - await Pipeline.SendAsync(message, requestOptions.CancellationToken).ConfigureAwait(false); - if (requestOptions.StatusOption == ResponseStatusOption.Default) + await Pipeline.SendAsync(message, options.CancellationToken).ConfigureAwait(false); + if (options.StatusOption == ResponseStatusOption.Default) { switch (message.Response.Status) { @@ -166,23 +166,23 @@ public virtual async Task ListByFarmerIdAsync(string farmerId, double? /// Minimum = 10, Maximum = 1000, Default value = 50. /// /// Skip token for getting next set of results. - /// The request options. + /// The request options. #pragma warning disable AZC0002 - public virtual Response ListByFarmerId(string farmerId, double? minAvgPlantingRate = null, double? maxAvgPlantingRate = null, double? minTotalMaterial = null, double? maxTotalMaterial = null, double? minAvgMaterial = null, double? maxAvgMaterial = null, IEnumerable sources = null, IEnumerable associatedBoundaryIds = null, IEnumerable operationBoundaryIds = null, DateTimeOffset? minOperationStartDateTime = null, DateTimeOffset? maxOperationStartDateTime = null, DateTimeOffset? minOperationEndDateTime = null, DateTimeOffset? maxOperationEndDateTime = null, DateTimeOffset? minOperationModifiedDateTime = null, DateTimeOffset? maxOperationModifiedDateTime = null, double? minArea = null, double? maxArea = null, IEnumerable ids = null, IEnumerable names = null, IEnumerable propertyFilters = null, IEnumerable statuses = null, DateTimeOffset? minCreatedDateTime = null, DateTimeOffset? maxCreatedDateTime = null, DateTimeOffset? minLastModifiedDateTime = null, DateTimeOffset? maxLastModifiedDateTime = null, int? maxPageSize = null, string skipToken = null, RequestOptions requestOptions = null) + public virtual Response ListByFarmerId(string farmerId, double? minAvgPlantingRate = null, double? maxAvgPlantingRate = null, double? minTotalMaterial = null, double? maxTotalMaterial = null, double? minAvgMaterial = null, double? maxAvgMaterial = null, IEnumerable sources = null, IEnumerable associatedBoundaryIds = null, IEnumerable operationBoundaryIds = null, DateTimeOffset? minOperationStartDateTime = null, DateTimeOffset? maxOperationStartDateTime = null, DateTimeOffset? minOperationEndDateTime = null, DateTimeOffset? maxOperationEndDateTime = null, DateTimeOffset? minOperationModifiedDateTime = null, DateTimeOffset? maxOperationModifiedDateTime = null, double? minArea = null, double? maxArea = null, IEnumerable ids = null, IEnumerable names = null, IEnumerable propertyFilters = null, IEnumerable statuses = null, DateTimeOffset? minCreatedDateTime = null, DateTimeOffset? maxCreatedDateTime = null, DateTimeOffset? minLastModifiedDateTime = null, DateTimeOffset? maxLastModifiedDateTime = null, int? maxPageSize = null, string skipToken = null, RequestOptions options = null) #pragma warning restore AZC0002 { - requestOptions ??= new RequestOptions(); - HttpMessage message = CreateListByFarmerIdRequest(farmerId, minAvgPlantingRate, maxAvgPlantingRate, minTotalMaterial, maxTotalMaterial, minAvgMaterial, maxAvgMaterial, sources, associatedBoundaryIds, operationBoundaryIds, minOperationStartDateTime, maxOperationStartDateTime, minOperationEndDateTime, maxOperationEndDateTime, minOperationModifiedDateTime, maxOperationModifiedDateTime, minArea, maxArea, ids, names, propertyFilters, statuses, minCreatedDateTime, maxCreatedDateTime, minLastModifiedDateTime, maxLastModifiedDateTime, maxPageSize, skipToken, requestOptions); - if (requestOptions.PerCallPolicy != null) + options ??= new RequestOptions(); + HttpMessage message = CreateListByFarmerIdRequest(farmerId, minAvgPlantingRate, maxAvgPlantingRate, minTotalMaterial, maxTotalMaterial, minAvgMaterial, maxAvgMaterial, sources, associatedBoundaryIds, operationBoundaryIds, minOperationStartDateTime, maxOperationStartDateTime, minOperationEndDateTime, maxOperationEndDateTime, minOperationModifiedDateTime, maxOperationModifiedDateTime, minArea, maxArea, ids, names, propertyFilters, statuses, minCreatedDateTime, maxCreatedDateTime, minLastModifiedDateTime, maxLastModifiedDateTime, maxPageSize, skipToken, options); + if (options.PerCallPolicy != null) { - message.SetProperty("RequestOptionsPerCallPolicyCallback", requestOptions.PerCallPolicy); + message.SetProperty("RequestOptionsPerCallPolicyCallback", options.PerCallPolicy); } using var scope = _clientDiagnostics.CreateScope("PlantingDataClient.ListByFarmerId"); scope.Start(); try { - Pipeline.Send(message, requestOptions.CancellationToken); - if (requestOptions.StatusOption == ResponseStatusOption.Default) + Pipeline.Send(message, options.CancellationToken); + if (options.StatusOption == ResponseStatusOption.Default) { switch (message.Response.Status) { @@ -241,8 +241,8 @@ public virtual Response ListByFarmerId(string farmerId, double? minAvgPlantingRa /// Minimum = 10, Maximum = 1000, Default value = 50. /// /// Skip token for getting next set of results. - /// The request options. - private HttpMessage CreateListByFarmerIdRequest(string farmerId, double? minAvgPlantingRate = null, double? maxAvgPlantingRate = null, double? minTotalMaterial = null, double? maxTotalMaterial = null, double? minAvgMaterial = null, double? maxAvgMaterial = null, IEnumerable sources = null, IEnumerable associatedBoundaryIds = null, IEnumerable operationBoundaryIds = null, DateTimeOffset? minOperationStartDateTime = null, DateTimeOffset? maxOperationStartDateTime = null, DateTimeOffset? minOperationEndDateTime = null, DateTimeOffset? maxOperationEndDateTime = null, DateTimeOffset? minOperationModifiedDateTime = null, DateTimeOffset? maxOperationModifiedDateTime = null, double? minArea = null, double? maxArea = null, IEnumerable ids = null, IEnumerable names = null, IEnumerable propertyFilters = null, IEnumerable statuses = null, DateTimeOffset? minCreatedDateTime = null, DateTimeOffset? maxCreatedDateTime = null, DateTimeOffset? minLastModifiedDateTime = null, DateTimeOffset? maxLastModifiedDateTime = null, int? maxPageSize = null, string skipToken = null, RequestOptions requestOptions = null) + /// The request options. + private HttpMessage CreateListByFarmerIdRequest(string farmerId, double? minAvgPlantingRate = null, double? maxAvgPlantingRate = null, double? minTotalMaterial = null, double? maxTotalMaterial = null, double? minAvgMaterial = null, double? maxAvgMaterial = null, IEnumerable sources = null, IEnumerable associatedBoundaryIds = null, IEnumerable operationBoundaryIds = null, DateTimeOffset? minOperationStartDateTime = null, DateTimeOffset? maxOperationStartDateTime = null, DateTimeOffset? minOperationEndDateTime = null, DateTimeOffset? maxOperationEndDateTime = null, DateTimeOffset? minOperationModifiedDateTime = null, DateTimeOffset? maxOperationModifiedDateTime = null, double? minArea = null, double? maxArea = null, IEnumerable ids = null, IEnumerable names = null, IEnumerable propertyFilters = null, IEnumerable statuses = null, DateTimeOffset? minCreatedDateTime = null, DateTimeOffset? maxCreatedDateTime = null, DateTimeOffset? minLastModifiedDateTime = null, DateTimeOffset? maxLastModifiedDateTime = null, int? maxPageSize = null, string skipToken = null, RequestOptions options = null) { var message = Pipeline.CreateMessage(); var request = message.Request; @@ -402,23 +402,23 @@ private HttpMessage CreateListByFarmerIdRequest(string farmerId, double? minAvgP /// Minimum = 10, Maximum = 1000, Default value = 50. /// /// Skip token for getting next set of results. - /// The request options. + /// The request options. #pragma warning disable AZC0002 - public virtual async Task ListAsync(double? minAvgPlantingRate = null, double? maxAvgPlantingRate = null, double? minTotalMaterial = null, double? maxTotalMaterial = null, double? minAvgMaterial = null, double? maxAvgMaterial = null, IEnumerable sources = null, IEnumerable associatedBoundaryIds = null, IEnumerable operationBoundaryIds = null, DateTimeOffset? minOperationStartDateTime = null, DateTimeOffset? maxOperationStartDateTime = null, DateTimeOffset? minOperationEndDateTime = null, DateTimeOffset? maxOperationEndDateTime = null, DateTimeOffset? minOperationModifiedDateTime = null, DateTimeOffset? maxOperationModifiedDateTime = null, double? minArea = null, double? maxArea = null, IEnumerable ids = null, IEnumerable names = null, IEnumerable propertyFilters = null, IEnumerable statuses = null, DateTimeOffset? minCreatedDateTime = null, DateTimeOffset? maxCreatedDateTime = null, DateTimeOffset? minLastModifiedDateTime = null, DateTimeOffset? maxLastModifiedDateTime = null, int? maxPageSize = null, string skipToken = null, RequestOptions requestOptions = null) + public virtual async Task ListAsync(double? minAvgPlantingRate = null, double? maxAvgPlantingRate = null, double? minTotalMaterial = null, double? maxTotalMaterial = null, double? minAvgMaterial = null, double? maxAvgMaterial = null, IEnumerable sources = null, IEnumerable associatedBoundaryIds = null, IEnumerable operationBoundaryIds = null, DateTimeOffset? minOperationStartDateTime = null, DateTimeOffset? maxOperationStartDateTime = null, DateTimeOffset? minOperationEndDateTime = null, DateTimeOffset? maxOperationEndDateTime = null, DateTimeOffset? minOperationModifiedDateTime = null, DateTimeOffset? maxOperationModifiedDateTime = null, double? minArea = null, double? maxArea = null, IEnumerable ids = null, IEnumerable names = null, IEnumerable propertyFilters = null, IEnumerable statuses = null, DateTimeOffset? minCreatedDateTime = null, DateTimeOffset? maxCreatedDateTime = null, DateTimeOffset? minLastModifiedDateTime = null, DateTimeOffset? maxLastModifiedDateTime = null, int? maxPageSize = null, string skipToken = null, RequestOptions options = null) #pragma warning restore AZC0002 { - requestOptions ??= new RequestOptions(); - HttpMessage message = CreateListRequest(minAvgPlantingRate, maxAvgPlantingRate, minTotalMaterial, maxTotalMaterial, minAvgMaterial, maxAvgMaterial, sources, associatedBoundaryIds, operationBoundaryIds, minOperationStartDateTime, maxOperationStartDateTime, minOperationEndDateTime, maxOperationEndDateTime, minOperationModifiedDateTime, maxOperationModifiedDateTime, minArea, maxArea, ids, names, propertyFilters, statuses, minCreatedDateTime, maxCreatedDateTime, minLastModifiedDateTime, maxLastModifiedDateTime, maxPageSize, skipToken, requestOptions); - if (requestOptions.PerCallPolicy != null) + options ??= new RequestOptions(); + HttpMessage message = CreateListRequest(minAvgPlantingRate, maxAvgPlantingRate, minTotalMaterial, maxTotalMaterial, minAvgMaterial, maxAvgMaterial, sources, associatedBoundaryIds, operationBoundaryIds, minOperationStartDateTime, maxOperationStartDateTime, minOperationEndDateTime, maxOperationEndDateTime, minOperationModifiedDateTime, maxOperationModifiedDateTime, minArea, maxArea, ids, names, propertyFilters, statuses, minCreatedDateTime, maxCreatedDateTime, minLastModifiedDateTime, maxLastModifiedDateTime, maxPageSize, skipToken, options); + if (options.PerCallPolicy != null) { - message.SetProperty("RequestOptionsPerCallPolicyCallback", requestOptions.PerCallPolicy); + message.SetProperty("RequestOptionsPerCallPolicyCallback", options.PerCallPolicy); } using var scope = _clientDiagnostics.CreateScope("PlantingDataClient.List"); scope.Start(); try { - await Pipeline.SendAsync(message, requestOptions.CancellationToken).ConfigureAwait(false); - if (requestOptions.StatusOption == ResponseStatusOption.Default) + await Pipeline.SendAsync(message, options.CancellationToken).ConfigureAwait(false); + if (options.StatusOption == ResponseStatusOption.Default) { switch (message.Response.Status) { @@ -476,23 +476,23 @@ public virtual async Task ListAsync(double? minAvgPlantingRate = null, /// Minimum = 10, Maximum = 1000, Default value = 50. /// /// Skip token for getting next set of results. - /// The request options. + /// The request options. #pragma warning disable AZC0002 - public virtual Response List(double? minAvgPlantingRate = null, double? maxAvgPlantingRate = null, double? minTotalMaterial = null, double? maxTotalMaterial = null, double? minAvgMaterial = null, double? maxAvgMaterial = null, IEnumerable sources = null, IEnumerable associatedBoundaryIds = null, IEnumerable operationBoundaryIds = null, DateTimeOffset? minOperationStartDateTime = null, DateTimeOffset? maxOperationStartDateTime = null, DateTimeOffset? minOperationEndDateTime = null, DateTimeOffset? maxOperationEndDateTime = null, DateTimeOffset? minOperationModifiedDateTime = null, DateTimeOffset? maxOperationModifiedDateTime = null, double? minArea = null, double? maxArea = null, IEnumerable ids = null, IEnumerable names = null, IEnumerable propertyFilters = null, IEnumerable statuses = null, DateTimeOffset? minCreatedDateTime = null, DateTimeOffset? maxCreatedDateTime = null, DateTimeOffset? minLastModifiedDateTime = null, DateTimeOffset? maxLastModifiedDateTime = null, int? maxPageSize = null, string skipToken = null, RequestOptions requestOptions = null) + public virtual Response List(double? minAvgPlantingRate = null, double? maxAvgPlantingRate = null, double? minTotalMaterial = null, double? maxTotalMaterial = null, double? minAvgMaterial = null, double? maxAvgMaterial = null, IEnumerable sources = null, IEnumerable associatedBoundaryIds = null, IEnumerable operationBoundaryIds = null, DateTimeOffset? minOperationStartDateTime = null, DateTimeOffset? maxOperationStartDateTime = null, DateTimeOffset? minOperationEndDateTime = null, DateTimeOffset? maxOperationEndDateTime = null, DateTimeOffset? minOperationModifiedDateTime = null, DateTimeOffset? maxOperationModifiedDateTime = null, double? minArea = null, double? maxArea = null, IEnumerable ids = null, IEnumerable names = null, IEnumerable propertyFilters = null, IEnumerable statuses = null, DateTimeOffset? minCreatedDateTime = null, DateTimeOffset? maxCreatedDateTime = null, DateTimeOffset? minLastModifiedDateTime = null, DateTimeOffset? maxLastModifiedDateTime = null, int? maxPageSize = null, string skipToken = null, RequestOptions options = null) #pragma warning restore AZC0002 { - requestOptions ??= new RequestOptions(); - HttpMessage message = CreateListRequest(minAvgPlantingRate, maxAvgPlantingRate, minTotalMaterial, maxTotalMaterial, minAvgMaterial, maxAvgMaterial, sources, associatedBoundaryIds, operationBoundaryIds, minOperationStartDateTime, maxOperationStartDateTime, minOperationEndDateTime, maxOperationEndDateTime, minOperationModifiedDateTime, maxOperationModifiedDateTime, minArea, maxArea, ids, names, propertyFilters, statuses, minCreatedDateTime, maxCreatedDateTime, minLastModifiedDateTime, maxLastModifiedDateTime, maxPageSize, skipToken, requestOptions); - if (requestOptions.PerCallPolicy != null) + options ??= new RequestOptions(); + HttpMessage message = CreateListRequest(minAvgPlantingRate, maxAvgPlantingRate, minTotalMaterial, maxTotalMaterial, minAvgMaterial, maxAvgMaterial, sources, associatedBoundaryIds, operationBoundaryIds, minOperationStartDateTime, maxOperationStartDateTime, minOperationEndDateTime, maxOperationEndDateTime, minOperationModifiedDateTime, maxOperationModifiedDateTime, minArea, maxArea, ids, names, propertyFilters, statuses, minCreatedDateTime, maxCreatedDateTime, minLastModifiedDateTime, maxLastModifiedDateTime, maxPageSize, skipToken, options); + if (options.PerCallPolicy != null) { - message.SetProperty("RequestOptionsPerCallPolicyCallback", requestOptions.PerCallPolicy); + message.SetProperty("RequestOptionsPerCallPolicyCallback", options.PerCallPolicy); } using var scope = _clientDiagnostics.CreateScope("PlantingDataClient.List"); scope.Start(); try { - Pipeline.Send(message, requestOptions.CancellationToken); - if (requestOptions.StatusOption == ResponseStatusOption.Default) + Pipeline.Send(message, options.CancellationToken); + if (options.StatusOption == ResponseStatusOption.Default) { switch (message.Response.Status) { @@ -550,8 +550,8 @@ public virtual Response List(double? minAvgPlantingRate = null, double? maxAvgPl /// Minimum = 10, Maximum = 1000, Default value = 50. /// /// Skip token for getting next set of results. - /// The request options. - private HttpMessage CreateListRequest(double? minAvgPlantingRate = null, double? maxAvgPlantingRate = null, double? minTotalMaterial = null, double? maxTotalMaterial = null, double? minAvgMaterial = null, double? maxAvgMaterial = null, IEnumerable sources = null, IEnumerable associatedBoundaryIds = null, IEnumerable operationBoundaryIds = null, DateTimeOffset? minOperationStartDateTime = null, DateTimeOffset? maxOperationStartDateTime = null, DateTimeOffset? minOperationEndDateTime = null, DateTimeOffset? maxOperationEndDateTime = null, DateTimeOffset? minOperationModifiedDateTime = null, DateTimeOffset? maxOperationModifiedDateTime = null, double? minArea = null, double? maxArea = null, IEnumerable ids = null, IEnumerable names = null, IEnumerable propertyFilters = null, IEnumerable statuses = null, DateTimeOffset? minCreatedDateTime = null, DateTimeOffset? maxCreatedDateTime = null, DateTimeOffset? minLastModifiedDateTime = null, DateTimeOffset? maxLastModifiedDateTime = null, int? maxPageSize = null, string skipToken = null, RequestOptions requestOptions = null) + /// The request options. + private HttpMessage CreateListRequest(double? minAvgPlantingRate = null, double? maxAvgPlantingRate = null, double? minTotalMaterial = null, double? maxTotalMaterial = null, double? minAvgMaterial = null, double? maxAvgMaterial = null, IEnumerable sources = null, IEnumerable associatedBoundaryIds = null, IEnumerable operationBoundaryIds = null, DateTimeOffset? minOperationStartDateTime = null, DateTimeOffset? maxOperationStartDateTime = null, DateTimeOffset? minOperationEndDateTime = null, DateTimeOffset? maxOperationEndDateTime = null, DateTimeOffset? minOperationModifiedDateTime = null, DateTimeOffset? maxOperationModifiedDateTime = null, double? minArea = null, double? maxArea = null, IEnumerable ids = null, IEnumerable names = null, IEnumerable propertyFilters = null, IEnumerable statuses = null, DateTimeOffset? minCreatedDateTime = null, DateTimeOffset? maxCreatedDateTime = null, DateTimeOffset? minLastModifiedDateTime = null, DateTimeOffset? maxLastModifiedDateTime = null, int? maxPageSize = null, string skipToken = null, RequestOptions options = null) { var message = Pipeline.CreateMessage(); var request = message.Request; @@ -676,23 +676,23 @@ private HttpMessage CreateListRequest(double? minAvgPlantingRate = null, double? /// Get a specified planting data resource under a particular farmer. /// ID of the associated farmer resource. /// ID of the planting data resource. - /// The request options. + /// The request options. #pragma warning disable AZC0002 - public virtual async Task GetAsync(string farmerId, string plantingDataId, RequestOptions requestOptions = null) + public virtual async Task GetAsync(string farmerId, string plantingDataId, RequestOptions options = null) #pragma warning restore AZC0002 { - requestOptions ??= new RequestOptions(); - HttpMessage message = CreateGetRequest(farmerId, plantingDataId, requestOptions); - if (requestOptions.PerCallPolicy != null) + options ??= new RequestOptions(); + HttpMessage message = CreateGetRequest(farmerId, plantingDataId, options); + if (options.PerCallPolicy != null) { - message.SetProperty("RequestOptionsPerCallPolicyCallback", requestOptions.PerCallPolicy); + message.SetProperty("RequestOptionsPerCallPolicyCallback", options.PerCallPolicy); } using var scope = _clientDiagnostics.CreateScope("PlantingDataClient.Get"); scope.Start(); try { - await Pipeline.SendAsync(message, requestOptions.CancellationToken).ConfigureAwait(false); - if (requestOptions.StatusOption == ResponseStatusOption.Default) + await Pipeline.SendAsync(message, options.CancellationToken).ConfigureAwait(false); + if (options.StatusOption == ResponseStatusOption.Default) { switch (message.Response.Status) { @@ -717,23 +717,23 @@ public virtual async Task GetAsync(string farmerId, string plantingDat /// Get a specified planting data resource under a particular farmer. /// ID of the associated farmer resource. /// ID of the planting data resource. - /// The request options. + /// The request options. #pragma warning disable AZC0002 - public virtual Response Get(string farmerId, string plantingDataId, RequestOptions requestOptions = null) + public virtual Response Get(string farmerId, string plantingDataId, RequestOptions options = null) #pragma warning restore AZC0002 { - requestOptions ??= new RequestOptions(); - HttpMessage message = CreateGetRequest(farmerId, plantingDataId, requestOptions); - if (requestOptions.PerCallPolicy != null) + options ??= new RequestOptions(); + HttpMessage message = CreateGetRequest(farmerId, plantingDataId, options); + if (options.PerCallPolicy != null) { - message.SetProperty("RequestOptionsPerCallPolicyCallback", requestOptions.PerCallPolicy); + message.SetProperty("RequestOptionsPerCallPolicyCallback", options.PerCallPolicy); } using var scope = _clientDiagnostics.CreateScope("PlantingDataClient.Get"); scope.Start(); try { - Pipeline.Send(message, requestOptions.CancellationToken); - if (requestOptions.StatusOption == ResponseStatusOption.Default) + Pipeline.Send(message, options.CancellationToken); + if (options.StatusOption == ResponseStatusOption.Default) { switch (message.Response.Status) { @@ -758,8 +758,8 @@ public virtual Response Get(string farmerId, string plantingDataId, RequestOptio /// Create Request for and operations. /// ID of the associated farmer resource. /// ID of the planting data resource. - /// The request options. - private HttpMessage CreateGetRequest(string farmerId, string plantingDataId, RequestOptions requestOptions = null) + /// The request options. + private HttpMessage CreateGetRequest(string farmerId, string plantingDataId, RequestOptions options = null) { var message = Pipeline.CreateMessage(); var request = message.Request; @@ -780,12 +780,12 @@ private HttpMessage CreateGetRequest(string farmerId, string plantingDataId, Req /// /// Schema for Request Body: /// - /// + /// /// Name /// Type /// Required /// Description - /// + /// /// /// avgPlantingRate /// Measure @@ -927,12 +927,12 @@ private HttpMessage CreateGetRequest(string farmerId, string plantingDataId, Req /// /// Schema for Measure: /// - /// + /// /// Name /// Type /// Required /// Description - /// + /// /// /// unit /// string @@ -948,12 +948,12 @@ private HttpMessage CreateGetRequest(string farmerId, string plantingDataId, Req /// /// Schema for PlantingProductDetail: /// - /// + /// /// Name /// Type /// Required /// Description - /// + /// /// /// productName /// string @@ -982,24 +982,24 @@ private HttpMessage CreateGetRequest(string farmerId, string plantingDataId, Req /// /// ID of the associated farmer. /// ID of the planting data resource. - /// The request body. - /// The request options. + /// The content to send as the body of the request. + /// The request options. #pragma warning disable AZC0002 - public virtual async Task CreateOrUpdateAsync(string farmerId, string plantingDataId, RequestContent requestBody, RequestOptions requestOptions = null) + public virtual async Task CreateOrUpdateAsync(string farmerId, string plantingDataId, RequestContent content, RequestOptions options = null) #pragma warning restore AZC0002 { - requestOptions ??= new RequestOptions(); - HttpMessage message = CreateCreateOrUpdateRequest(farmerId, plantingDataId, requestBody, requestOptions); - if (requestOptions.PerCallPolicy != null) + options ??= new RequestOptions(); + HttpMessage message = CreateCreateOrUpdateRequest(farmerId, plantingDataId, content, options); + if (options.PerCallPolicy != null) { - message.SetProperty("RequestOptionsPerCallPolicyCallback", requestOptions.PerCallPolicy); + message.SetProperty("RequestOptionsPerCallPolicyCallback", options.PerCallPolicy); } using var scope = _clientDiagnostics.CreateScope("PlantingDataClient.CreateOrUpdate"); scope.Start(); try { - await Pipeline.SendAsync(message, requestOptions.CancellationToken).ConfigureAwait(false); - if (requestOptions.StatusOption == ResponseStatusOption.Default) + await Pipeline.SendAsync(message, options.CancellationToken).ConfigureAwait(false); + if (options.StatusOption == ResponseStatusOption.Default) { switch (message.Response.Status) { @@ -1026,12 +1026,12 @@ public virtual async Task CreateOrUpdateAsync(string farmerId, string /// /// Schema for Request Body: /// - /// + /// /// Name /// Type /// Required /// Description - /// + /// /// /// avgPlantingRate /// Measure @@ -1173,12 +1173,12 @@ public virtual async Task CreateOrUpdateAsync(string farmerId, string /// /// Schema for Measure: /// - /// + /// /// Name /// Type /// Required /// Description - /// + /// /// /// unit /// string @@ -1194,12 +1194,12 @@ public virtual async Task CreateOrUpdateAsync(string farmerId, string /// /// Schema for PlantingProductDetail: /// - /// + /// /// Name /// Type /// Required /// Description - /// + /// /// /// productName /// string @@ -1228,24 +1228,24 @@ public virtual async Task CreateOrUpdateAsync(string farmerId, string /// /// ID of the associated farmer. /// ID of the planting data resource. - /// The request body. - /// The request options. + /// The content to send as the body of the request. + /// The request options. #pragma warning disable AZC0002 - public virtual Response CreateOrUpdate(string farmerId, string plantingDataId, RequestContent requestBody, RequestOptions requestOptions = null) + public virtual Response CreateOrUpdate(string farmerId, string plantingDataId, RequestContent content, RequestOptions options = null) #pragma warning restore AZC0002 { - requestOptions ??= new RequestOptions(); - HttpMessage message = CreateCreateOrUpdateRequest(farmerId, plantingDataId, requestBody, requestOptions); - if (requestOptions.PerCallPolicy != null) + options ??= new RequestOptions(); + HttpMessage message = CreateCreateOrUpdateRequest(farmerId, plantingDataId, content, options); + if (options.PerCallPolicy != null) { - message.SetProperty("RequestOptionsPerCallPolicyCallback", requestOptions.PerCallPolicy); + message.SetProperty("RequestOptionsPerCallPolicyCallback", options.PerCallPolicy); } using var scope = _clientDiagnostics.CreateScope("PlantingDataClient.CreateOrUpdate"); scope.Start(); try { - Pipeline.Send(message, requestOptions.CancellationToken); - if (requestOptions.StatusOption == ResponseStatusOption.Default) + Pipeline.Send(message, options.CancellationToken); + if (options.StatusOption == ResponseStatusOption.Default) { switch (message.Response.Status) { @@ -1271,9 +1271,9 @@ public virtual Response CreateOrUpdate(string farmerId, string plantingDataId, R /// Create Request for and operations. /// ID of the associated farmer. /// ID of the planting data resource. - /// The request body. - /// The request options. - private HttpMessage CreateCreateOrUpdateRequest(string farmerId, string plantingDataId, RequestContent requestBody, RequestOptions requestOptions = null) + /// The content to send as the body of the request. + /// The request options. + private HttpMessage CreateCreateOrUpdateRequest(string farmerId, string plantingDataId, RequestContent content, RequestOptions options = null) { var message = Pipeline.CreateMessage(); var request = message.Request; @@ -1288,30 +1288,30 @@ private HttpMessage CreateCreateOrUpdateRequest(string farmerId, string planting request.Uri = uri; request.Headers.Add("Accept", "application/json"); request.Headers.Add("Content-Type", "application/merge-patch+json"); - request.Content = requestBody; + request.Content = content; return message; } /// Deletes a specified planting data resource under a particular farmer. /// ID of the associated farmer resource. /// ID of the planting data. - /// The request options. + /// The request options. #pragma warning disable AZC0002 - public virtual async Task DeleteAsync(string farmerId, string plantingDataId, RequestOptions requestOptions = null) + public virtual async Task DeleteAsync(string farmerId, string plantingDataId, RequestOptions options = null) #pragma warning restore AZC0002 { - requestOptions ??= new RequestOptions(); - HttpMessage message = CreateDeleteRequest(farmerId, plantingDataId, requestOptions); - if (requestOptions.PerCallPolicy != null) + options ??= new RequestOptions(); + HttpMessage message = CreateDeleteRequest(farmerId, plantingDataId, options); + if (options.PerCallPolicy != null) { - message.SetProperty("RequestOptionsPerCallPolicyCallback", requestOptions.PerCallPolicy); + message.SetProperty("RequestOptionsPerCallPolicyCallback", options.PerCallPolicy); } using var scope = _clientDiagnostics.CreateScope("PlantingDataClient.Delete"); scope.Start(); try { - await Pipeline.SendAsync(message, requestOptions.CancellationToken).ConfigureAwait(false); - if (requestOptions.StatusOption == ResponseStatusOption.Default) + await Pipeline.SendAsync(message, options.CancellationToken).ConfigureAwait(false); + if (options.StatusOption == ResponseStatusOption.Default) { switch (message.Response.Status) { @@ -1336,23 +1336,23 @@ public virtual async Task DeleteAsync(string farmerId, string planting /// Deletes a specified planting data resource under a particular farmer. /// ID of the associated farmer resource. /// ID of the planting data. - /// The request options. + /// The request options. #pragma warning disable AZC0002 - public virtual Response Delete(string farmerId, string plantingDataId, RequestOptions requestOptions = null) + public virtual Response Delete(string farmerId, string plantingDataId, RequestOptions options = null) #pragma warning restore AZC0002 { - requestOptions ??= new RequestOptions(); - HttpMessage message = CreateDeleteRequest(farmerId, plantingDataId, requestOptions); - if (requestOptions.PerCallPolicy != null) + options ??= new RequestOptions(); + HttpMessage message = CreateDeleteRequest(farmerId, plantingDataId, options); + if (options.PerCallPolicy != null) { - message.SetProperty("RequestOptionsPerCallPolicyCallback", requestOptions.PerCallPolicy); + message.SetProperty("RequestOptionsPerCallPolicyCallback", options.PerCallPolicy); } using var scope = _clientDiagnostics.CreateScope("PlantingDataClient.Delete"); scope.Start(); try { - Pipeline.Send(message, requestOptions.CancellationToken); - if (requestOptions.StatusOption == ResponseStatusOption.Default) + Pipeline.Send(message, options.CancellationToken); + if (options.StatusOption == ResponseStatusOption.Default) { switch (message.Response.Status) { @@ -1377,8 +1377,8 @@ public virtual Response Delete(string farmerId, string plantingDataId, RequestOp /// Create Request for and operations. /// ID of the associated farmer resource. /// ID of the planting data. - /// The request options. - private HttpMessage CreateDeleteRequest(string farmerId, string plantingDataId, RequestOptions requestOptions = null) + /// The request options. + private HttpMessage CreateDeleteRequest(string farmerId, string plantingDataId, RequestOptions options = null) { var message = Pipeline.CreateMessage(); var request = message.Request; diff --git a/sdk/agrifood/Azure.Verticals.AgriFood.Farming/src/Generated/ScenesClient.cs b/sdk/agrifood/Azure.Verticals.AgriFood.Farming/src/Generated/ScenesClient.cs index d1b689586a12..944a16a8d185 100644 --- a/sdk/agrifood/Azure.Verticals.AgriFood.Farming/src/Generated/ScenesClient.cs +++ b/sdk/agrifood/Azure.Verticals.AgriFood.Farming/src/Generated/ScenesClient.cs @@ -72,23 +72,23 @@ public ScenesClient(Uri endpoint, TokenCredential credential, FarmBeatsClientOpt /// Minimum = 10, Maximum = 1000, Default value = 50. /// /// Skip token for getting next set of results. - /// The request options. + /// The request options. #pragma warning disable AZC0002 - public virtual async Task ListAsync(string provider, string farmerId, string boundaryId, string source = null, DateTimeOffset? startDateTime = null, DateTimeOffset? endDateTime = null, double? maxCloudCoveragePercentage = null, double? maxDarkPixelCoveragePercentage = null, IEnumerable imageNames = null, IEnumerable imageResolutions = null, IEnumerable imageFormats = null, int? maxPageSize = null, string skipToken = null, RequestOptions requestOptions = null) + public virtual async Task ListAsync(string provider, string farmerId, string boundaryId, string source = null, DateTimeOffset? startDateTime = null, DateTimeOffset? endDateTime = null, double? maxCloudCoveragePercentage = null, double? maxDarkPixelCoveragePercentage = null, IEnumerable imageNames = null, IEnumerable imageResolutions = null, IEnumerable imageFormats = null, int? maxPageSize = null, string skipToken = null, RequestOptions options = null) #pragma warning restore AZC0002 { - requestOptions ??= new RequestOptions(); - HttpMessage message = CreateListRequest(provider, farmerId, boundaryId, source, startDateTime, endDateTime, maxCloudCoveragePercentage, maxDarkPixelCoveragePercentage, imageNames, imageResolutions, imageFormats, maxPageSize, skipToken, requestOptions); - if (requestOptions.PerCallPolicy != null) + options ??= new RequestOptions(); + HttpMessage message = CreateListRequest(provider, farmerId, boundaryId, source, startDateTime, endDateTime, maxCloudCoveragePercentage, maxDarkPixelCoveragePercentage, imageNames, imageResolutions, imageFormats, maxPageSize, skipToken, options); + if (options.PerCallPolicy != null) { - message.SetProperty("RequestOptionsPerCallPolicyCallback", requestOptions.PerCallPolicy); + message.SetProperty("RequestOptionsPerCallPolicyCallback", options.PerCallPolicy); } using var scope = _clientDiagnostics.CreateScope("ScenesClient.List"); scope.Start(); try { - await Pipeline.SendAsync(message, requestOptions.CancellationToken).ConfigureAwait(false); - if (requestOptions.StatusOption == ResponseStatusOption.Default) + await Pipeline.SendAsync(message, options.CancellationToken).ConfigureAwait(false); + if (options.StatusOption == ResponseStatusOption.Default) { switch (message.Response.Status) { @@ -128,23 +128,23 @@ public virtual async Task ListAsync(string provider, string farmerId, /// Minimum = 10, Maximum = 1000, Default value = 50. /// /// Skip token for getting next set of results. - /// The request options. + /// The request options. #pragma warning disable AZC0002 - public virtual Response List(string provider, string farmerId, string boundaryId, string source = null, DateTimeOffset? startDateTime = null, DateTimeOffset? endDateTime = null, double? maxCloudCoveragePercentage = null, double? maxDarkPixelCoveragePercentage = null, IEnumerable imageNames = null, IEnumerable imageResolutions = null, IEnumerable imageFormats = null, int? maxPageSize = null, string skipToken = null, RequestOptions requestOptions = null) + public virtual Response List(string provider, string farmerId, string boundaryId, string source = null, DateTimeOffset? startDateTime = null, DateTimeOffset? endDateTime = null, double? maxCloudCoveragePercentage = null, double? maxDarkPixelCoveragePercentage = null, IEnumerable imageNames = null, IEnumerable imageResolutions = null, IEnumerable imageFormats = null, int? maxPageSize = null, string skipToken = null, RequestOptions options = null) #pragma warning restore AZC0002 { - requestOptions ??= new RequestOptions(); - HttpMessage message = CreateListRequest(provider, farmerId, boundaryId, source, startDateTime, endDateTime, maxCloudCoveragePercentage, maxDarkPixelCoveragePercentage, imageNames, imageResolutions, imageFormats, maxPageSize, skipToken, requestOptions); - if (requestOptions.PerCallPolicy != null) + options ??= new RequestOptions(); + HttpMessage message = CreateListRequest(provider, farmerId, boundaryId, source, startDateTime, endDateTime, maxCloudCoveragePercentage, maxDarkPixelCoveragePercentage, imageNames, imageResolutions, imageFormats, maxPageSize, skipToken, options); + if (options.PerCallPolicy != null) { - message.SetProperty("RequestOptionsPerCallPolicyCallback", requestOptions.PerCallPolicy); + message.SetProperty("RequestOptionsPerCallPolicyCallback", options.PerCallPolicy); } using var scope = _clientDiagnostics.CreateScope("ScenesClient.List"); scope.Start(); try { - Pipeline.Send(message, requestOptions.CancellationToken); - if (requestOptions.StatusOption == ResponseStatusOption.Default) + Pipeline.Send(message, options.CancellationToken); + if (options.StatusOption == ResponseStatusOption.Default) { switch (message.Response.Status) { @@ -184,8 +184,8 @@ public virtual Response List(string provider, string farmerId, string boundaryId /// Minimum = 10, Maximum = 1000, Default value = 50. /// /// Skip token for getting next set of results. - /// The request options. - private HttpMessage CreateListRequest(string provider, string farmerId, string boundaryId, string source = null, DateTimeOffset? startDateTime = null, DateTimeOffset? endDateTime = null, double? maxCloudCoveragePercentage = null, double? maxDarkPixelCoveragePercentage = null, IEnumerable imageNames = null, IEnumerable imageResolutions = null, IEnumerable imageFormats = null, int? maxPageSize = null, string skipToken = null, RequestOptions requestOptions = null) + /// The request options. + private HttpMessage CreateListRequest(string provider, string farmerId, string boundaryId, string source = null, DateTimeOffset? startDateTime = null, DateTimeOffset? endDateTime = null, double? maxCloudCoveragePercentage = null, double? maxDarkPixelCoveragePercentage = null, IEnumerable imageNames = null, IEnumerable imageResolutions = null, IEnumerable imageFormats = null, int? maxPageSize = null, string skipToken = null, RequestOptions options = null) { var message = Pipeline.CreateMessage(); var request = message.Request; @@ -246,12 +246,12 @@ private HttpMessage CreateListRequest(string provider, string farmerId, string b /// /// Schema for Request Body: /// - /// + /// /// Name /// Type /// Required /// Description - /// + /// /// /// farmerId /// string @@ -375,12 +375,12 @@ private HttpMessage CreateListRequest(string provider, string farmerId, string b /// /// Schema for SatelliteData: /// - /// + /// /// Name /// Type /// Required /// Description - /// + /// /// /// imageNames /// string[] @@ -402,24 +402,24 @@ private HttpMessage CreateListRequest(string provider, string farmerId, string b /// /// /// JobId provided by user. - /// The request body. - /// The request options. + /// The content to send as the body of the request. + /// The request options. #pragma warning disable AZC0002 - public virtual async Task CreateSatelliteDataIngestionJobAsync(string jobId, RequestContent requestBody, RequestOptions requestOptions = null) + public virtual async Task CreateSatelliteDataIngestionJobAsync(string jobId, RequestContent content, RequestOptions options = null) #pragma warning restore AZC0002 { - requestOptions ??= new RequestOptions(); - HttpMessage message = CreateCreateSatelliteDataIngestionJobRequest(jobId, requestBody, requestOptions); - if (requestOptions.PerCallPolicy != null) + options ??= new RequestOptions(); + HttpMessage message = CreateCreateSatelliteDataIngestionJobRequest(jobId, content, options); + if (options.PerCallPolicy != null) { - message.SetProperty("RequestOptionsPerCallPolicyCallback", requestOptions.PerCallPolicy); + message.SetProperty("RequestOptionsPerCallPolicyCallback", options.PerCallPolicy); } using var scope = _clientDiagnostics.CreateScope("ScenesClient.CreateSatelliteDataIngestionJob"); scope.Start(); try { - await Pipeline.SendAsync(message, requestOptions.CancellationToken).ConfigureAwait(false); - if (requestOptions.StatusOption == ResponseStatusOption.Default) + await Pipeline.SendAsync(message, options.CancellationToken).ConfigureAwait(false); + if (options.StatusOption == ResponseStatusOption.Default) { switch (message.Response.Status) { @@ -445,12 +445,12 @@ public virtual async Task CreateSatelliteDataIngestionJobAsync(string /// /// Schema for Request Body: /// - /// + /// /// Name /// Type /// Required /// Description - /// + /// /// /// farmerId /// string @@ -574,12 +574,12 @@ public virtual async Task CreateSatelliteDataIngestionJobAsync(string /// /// Schema for SatelliteData: /// - /// + /// /// Name /// Type /// Required /// Description - /// + /// /// /// imageNames /// string[] @@ -601,24 +601,24 @@ public virtual async Task CreateSatelliteDataIngestionJobAsync(string /// /// /// JobId provided by user. - /// The request body. - /// The request options. + /// The content to send as the body of the request. + /// The request options. #pragma warning disable AZC0002 - public virtual Response CreateSatelliteDataIngestionJob(string jobId, RequestContent requestBody, RequestOptions requestOptions = null) + public virtual Response CreateSatelliteDataIngestionJob(string jobId, RequestContent content, RequestOptions options = null) #pragma warning restore AZC0002 { - requestOptions ??= new RequestOptions(); - HttpMessage message = CreateCreateSatelliteDataIngestionJobRequest(jobId, requestBody, requestOptions); - if (requestOptions.PerCallPolicy != null) + options ??= new RequestOptions(); + HttpMessage message = CreateCreateSatelliteDataIngestionJobRequest(jobId, content, options); + if (options.PerCallPolicy != null) { - message.SetProperty("RequestOptionsPerCallPolicyCallback", requestOptions.PerCallPolicy); + message.SetProperty("RequestOptionsPerCallPolicyCallback", options.PerCallPolicy); } using var scope = _clientDiagnostics.CreateScope("ScenesClient.CreateSatelliteDataIngestionJob"); scope.Start(); try { - Pipeline.Send(message, requestOptions.CancellationToken); - if (requestOptions.StatusOption == ResponseStatusOption.Default) + Pipeline.Send(message, options.CancellationToken); + if (options.StatusOption == ResponseStatusOption.Default) { switch (message.Response.Status) { @@ -642,9 +642,9 @@ public virtual Response CreateSatelliteDataIngestionJob(string jobId, RequestCon /// Create Request for and operations. /// JobId provided by user. - /// The request body. - /// The request options. - private HttpMessage CreateCreateSatelliteDataIngestionJobRequest(string jobId, RequestContent requestBody, RequestOptions requestOptions = null) + /// The content to send as the body of the request. + /// The request options. + private HttpMessage CreateCreateSatelliteDataIngestionJobRequest(string jobId, RequestContent content, RequestOptions options = null) { var message = Pipeline.CreateMessage(); var request = message.Request; @@ -657,29 +657,29 @@ private HttpMessage CreateCreateSatelliteDataIngestionJobRequest(string jobId, R request.Uri = uri; request.Headers.Add("Accept", "application/json"); request.Headers.Add("Content-Type", "application/json"); - request.Content = requestBody; + request.Content = content; return message; } /// Get a satellite data ingestion job. /// ID of the job. - /// The request options. + /// The request options. #pragma warning disable AZC0002 - public virtual async Task GetSatelliteDataIngestionJobDetailsAsync(string jobId, RequestOptions requestOptions = null) + public virtual async Task GetSatelliteDataIngestionJobDetailsAsync(string jobId, RequestOptions options = null) #pragma warning restore AZC0002 { - requestOptions ??= new RequestOptions(); - HttpMessage message = CreateGetSatelliteDataIngestionJobDetailsRequest(jobId, requestOptions); - if (requestOptions.PerCallPolicy != null) + options ??= new RequestOptions(); + HttpMessage message = CreateGetSatelliteDataIngestionJobDetailsRequest(jobId, options); + if (options.PerCallPolicy != null) { - message.SetProperty("RequestOptionsPerCallPolicyCallback", requestOptions.PerCallPolicy); + message.SetProperty("RequestOptionsPerCallPolicyCallback", options.PerCallPolicy); } using var scope = _clientDiagnostics.CreateScope("ScenesClient.GetSatelliteDataIngestionJobDetails"); scope.Start(); try { - await Pipeline.SendAsync(message, requestOptions.CancellationToken).ConfigureAwait(false); - if (requestOptions.StatusOption == ResponseStatusOption.Default) + await Pipeline.SendAsync(message, options.CancellationToken).ConfigureAwait(false); + if (options.StatusOption == ResponseStatusOption.Default) { switch (message.Response.Status) { @@ -703,23 +703,23 @@ public virtual async Task GetSatelliteDataIngestionJobDetailsAsync(str /// Get a satellite data ingestion job. /// ID of the job. - /// The request options. + /// The request options. #pragma warning disable AZC0002 - public virtual Response GetSatelliteDataIngestionJobDetails(string jobId, RequestOptions requestOptions = null) + public virtual Response GetSatelliteDataIngestionJobDetails(string jobId, RequestOptions options = null) #pragma warning restore AZC0002 { - requestOptions ??= new RequestOptions(); - HttpMessage message = CreateGetSatelliteDataIngestionJobDetailsRequest(jobId, requestOptions); - if (requestOptions.PerCallPolicy != null) + options ??= new RequestOptions(); + HttpMessage message = CreateGetSatelliteDataIngestionJobDetailsRequest(jobId, options); + if (options.PerCallPolicy != null) { - message.SetProperty("RequestOptionsPerCallPolicyCallback", requestOptions.PerCallPolicy); + message.SetProperty("RequestOptionsPerCallPolicyCallback", options.PerCallPolicy); } using var scope = _clientDiagnostics.CreateScope("ScenesClient.GetSatelliteDataIngestionJobDetails"); scope.Start(); try { - Pipeline.Send(message, requestOptions.CancellationToken); - if (requestOptions.StatusOption == ResponseStatusOption.Default) + Pipeline.Send(message, options.CancellationToken); + if (options.StatusOption == ResponseStatusOption.Default) { switch (message.Response.Status) { @@ -743,8 +743,8 @@ public virtual Response GetSatelliteDataIngestionJobDetails(string jobId, Reques /// Create Request for and operations. /// ID of the job. - /// The request options. - private HttpMessage CreateGetSatelliteDataIngestionJobDetailsRequest(string jobId, RequestOptions requestOptions = null) + /// The request options. + private HttpMessage CreateGetSatelliteDataIngestionJobDetailsRequest(string jobId, RequestOptions options = null) { var message = Pipeline.CreateMessage(); var request = message.Request; @@ -761,23 +761,23 @@ private HttpMessage CreateGetSatelliteDataIngestionJobDetailsRequest(string jobI /// Downloads and returns file stream as response for the given input filePath. /// cloud storage path of scene file. - /// The request options. + /// The request options. #pragma warning disable AZC0002 - public virtual async Task DownloadAsync(string filePath, RequestOptions requestOptions = null) + public virtual async Task DownloadAsync(string filePath, RequestOptions options = null) #pragma warning restore AZC0002 { - requestOptions ??= new RequestOptions(); - HttpMessage message = CreateDownloadRequest(filePath, requestOptions); - if (requestOptions.PerCallPolicy != null) + options ??= new RequestOptions(); + HttpMessage message = CreateDownloadRequest(filePath, options); + if (options.PerCallPolicy != null) { - message.SetProperty("RequestOptionsPerCallPolicyCallback", requestOptions.PerCallPolicy); + message.SetProperty("RequestOptionsPerCallPolicyCallback", options.PerCallPolicy); } using var scope = _clientDiagnostics.CreateScope("ScenesClient.Download"); scope.Start(); try { - await Pipeline.SendAsync(message, requestOptions.CancellationToken).ConfigureAwait(false); - if (requestOptions.StatusOption == ResponseStatusOption.Default) + await Pipeline.SendAsync(message, options.CancellationToken).ConfigureAwait(false); + if (options.StatusOption == ResponseStatusOption.Default) { switch (message.Response.Status) { @@ -801,23 +801,23 @@ public virtual async Task DownloadAsync(string filePath, RequestOption /// Downloads and returns file stream as response for the given input filePath. /// cloud storage path of scene file. - /// The request options. + /// The request options. #pragma warning disable AZC0002 - public virtual Response Download(string filePath, RequestOptions requestOptions = null) + public virtual Response Download(string filePath, RequestOptions options = null) #pragma warning restore AZC0002 { - requestOptions ??= new RequestOptions(); - HttpMessage message = CreateDownloadRequest(filePath, requestOptions); - if (requestOptions.PerCallPolicy != null) + options ??= new RequestOptions(); + HttpMessage message = CreateDownloadRequest(filePath, options); + if (options.PerCallPolicy != null) { - message.SetProperty("RequestOptionsPerCallPolicyCallback", requestOptions.PerCallPolicy); + message.SetProperty("RequestOptionsPerCallPolicyCallback", options.PerCallPolicy); } using var scope = _clientDiagnostics.CreateScope("ScenesClient.Download"); scope.Start(); try { - Pipeline.Send(message, requestOptions.CancellationToken); - if (requestOptions.StatusOption == ResponseStatusOption.Default) + Pipeline.Send(message, options.CancellationToken); + if (options.StatusOption == ResponseStatusOption.Default) { switch (message.Response.Status) { @@ -841,8 +841,8 @@ public virtual Response Download(string filePath, RequestOptions requestOptions /// Create Request for and operations. /// cloud storage path of scene file. - /// The request options. - private HttpMessage CreateDownloadRequest(string filePath, RequestOptions requestOptions = null) + /// The request options. + private HttpMessage CreateDownloadRequest(string filePath, RequestOptions options = null) { var message = Pipeline.CreateMessage(); var request = message.Request; diff --git a/sdk/agrifood/Azure.Verticals.AgriFood.Farming/src/Generated/SeasonalFieldsClient.cs b/sdk/agrifood/Azure.Verticals.AgriFood.Farming/src/Generated/SeasonalFieldsClient.cs index 4eb66492ac15..7c3a339f7f60 100644 --- a/sdk/agrifood/Azure.Verticals.AgriFood.Farming/src/Generated/SeasonalFieldsClient.cs +++ b/sdk/agrifood/Azure.Verticals.AgriFood.Farming/src/Generated/SeasonalFieldsClient.cs @@ -87,23 +87,23 @@ public SeasonalFieldsClient(Uri endpoint, TokenCredential credential, FarmBeatsC /// Minimum = 10, Maximum = 1000, Default value = 50. /// /// Skip token for getting next set of results. - /// The request options. + /// The request options. #pragma warning disable AZC0002 - public virtual async Task ListByFarmerIdAsync(string farmerId, IEnumerable farmIds = null, IEnumerable fieldIds = null, IEnumerable seasonIds = null, IEnumerable cropVarietyIds = null, IEnumerable cropIds = null, double? minAvgYieldValue = null, double? maxAvgYieldValue = null, string avgYieldUnit = null, double? minAvgSeedPopulationValue = null, double? maxAvgSeedPopulationValue = null, string avgSeedPopulationUnit = null, DateTimeOffset? minPlantingDateTime = null, DateTimeOffset? maxPlantingDateTime = null, IEnumerable ids = null, IEnumerable names = null, IEnumerable propertyFilters = null, IEnumerable statuses = null, DateTimeOffset? minCreatedDateTime = null, DateTimeOffset? maxCreatedDateTime = null, DateTimeOffset? minLastModifiedDateTime = null, DateTimeOffset? maxLastModifiedDateTime = null, int? maxPageSize = null, string skipToken = null, RequestOptions requestOptions = null) + public virtual async Task ListByFarmerIdAsync(string farmerId, IEnumerable farmIds = null, IEnumerable fieldIds = null, IEnumerable seasonIds = null, IEnumerable cropVarietyIds = null, IEnumerable cropIds = null, double? minAvgYieldValue = null, double? maxAvgYieldValue = null, string avgYieldUnit = null, double? minAvgSeedPopulationValue = null, double? maxAvgSeedPopulationValue = null, string avgSeedPopulationUnit = null, DateTimeOffset? minPlantingDateTime = null, DateTimeOffset? maxPlantingDateTime = null, IEnumerable ids = null, IEnumerable names = null, IEnumerable propertyFilters = null, IEnumerable statuses = null, DateTimeOffset? minCreatedDateTime = null, DateTimeOffset? maxCreatedDateTime = null, DateTimeOffset? minLastModifiedDateTime = null, DateTimeOffset? maxLastModifiedDateTime = null, int? maxPageSize = null, string skipToken = null, RequestOptions options = null) #pragma warning restore AZC0002 { - requestOptions ??= new RequestOptions(); - HttpMessage message = CreateListByFarmerIdRequest(farmerId, farmIds, fieldIds, seasonIds, cropVarietyIds, cropIds, minAvgYieldValue, maxAvgYieldValue, avgYieldUnit, minAvgSeedPopulationValue, maxAvgSeedPopulationValue, avgSeedPopulationUnit, minPlantingDateTime, maxPlantingDateTime, ids, names, propertyFilters, statuses, minCreatedDateTime, maxCreatedDateTime, minLastModifiedDateTime, maxLastModifiedDateTime, maxPageSize, skipToken, requestOptions); - if (requestOptions.PerCallPolicy != null) + options ??= new RequestOptions(); + HttpMessage message = CreateListByFarmerIdRequest(farmerId, farmIds, fieldIds, seasonIds, cropVarietyIds, cropIds, minAvgYieldValue, maxAvgYieldValue, avgYieldUnit, minAvgSeedPopulationValue, maxAvgSeedPopulationValue, avgSeedPopulationUnit, minPlantingDateTime, maxPlantingDateTime, ids, names, propertyFilters, statuses, minCreatedDateTime, maxCreatedDateTime, minLastModifiedDateTime, maxLastModifiedDateTime, maxPageSize, skipToken, options); + if (options.PerCallPolicy != null) { - message.SetProperty("RequestOptionsPerCallPolicyCallback", requestOptions.PerCallPolicy); + message.SetProperty("RequestOptionsPerCallPolicyCallback", options.PerCallPolicy); } using var scope = _clientDiagnostics.CreateScope("SeasonalFieldsClient.ListByFarmerId"); scope.Start(); try { - await Pipeline.SendAsync(message, requestOptions.CancellationToken).ConfigureAwait(false); - if (requestOptions.StatusOption == ResponseStatusOption.Default) + await Pipeline.SendAsync(message, options.CancellationToken).ConfigureAwait(false); + if (options.StatusOption == ResponseStatusOption.Default) { switch (message.Response.Status) { @@ -158,23 +158,23 @@ public virtual async Task ListByFarmerIdAsync(string farmerId, IEnumer /// Minimum = 10, Maximum = 1000, Default value = 50. /// /// Skip token for getting next set of results. - /// The request options. + /// The request options. #pragma warning disable AZC0002 - public virtual Response ListByFarmerId(string farmerId, IEnumerable farmIds = null, IEnumerable fieldIds = null, IEnumerable seasonIds = null, IEnumerable cropVarietyIds = null, IEnumerable cropIds = null, double? minAvgYieldValue = null, double? maxAvgYieldValue = null, string avgYieldUnit = null, double? minAvgSeedPopulationValue = null, double? maxAvgSeedPopulationValue = null, string avgSeedPopulationUnit = null, DateTimeOffset? minPlantingDateTime = null, DateTimeOffset? maxPlantingDateTime = null, IEnumerable ids = null, IEnumerable names = null, IEnumerable propertyFilters = null, IEnumerable statuses = null, DateTimeOffset? minCreatedDateTime = null, DateTimeOffset? maxCreatedDateTime = null, DateTimeOffset? minLastModifiedDateTime = null, DateTimeOffset? maxLastModifiedDateTime = null, int? maxPageSize = null, string skipToken = null, RequestOptions requestOptions = null) + public virtual Response ListByFarmerId(string farmerId, IEnumerable farmIds = null, IEnumerable fieldIds = null, IEnumerable seasonIds = null, IEnumerable cropVarietyIds = null, IEnumerable cropIds = null, double? minAvgYieldValue = null, double? maxAvgYieldValue = null, string avgYieldUnit = null, double? minAvgSeedPopulationValue = null, double? maxAvgSeedPopulationValue = null, string avgSeedPopulationUnit = null, DateTimeOffset? minPlantingDateTime = null, DateTimeOffset? maxPlantingDateTime = null, IEnumerable ids = null, IEnumerable names = null, IEnumerable propertyFilters = null, IEnumerable statuses = null, DateTimeOffset? minCreatedDateTime = null, DateTimeOffset? maxCreatedDateTime = null, DateTimeOffset? minLastModifiedDateTime = null, DateTimeOffset? maxLastModifiedDateTime = null, int? maxPageSize = null, string skipToken = null, RequestOptions options = null) #pragma warning restore AZC0002 { - requestOptions ??= new RequestOptions(); - HttpMessage message = CreateListByFarmerIdRequest(farmerId, farmIds, fieldIds, seasonIds, cropVarietyIds, cropIds, minAvgYieldValue, maxAvgYieldValue, avgYieldUnit, minAvgSeedPopulationValue, maxAvgSeedPopulationValue, avgSeedPopulationUnit, minPlantingDateTime, maxPlantingDateTime, ids, names, propertyFilters, statuses, minCreatedDateTime, maxCreatedDateTime, minLastModifiedDateTime, maxLastModifiedDateTime, maxPageSize, skipToken, requestOptions); - if (requestOptions.PerCallPolicy != null) + options ??= new RequestOptions(); + HttpMessage message = CreateListByFarmerIdRequest(farmerId, farmIds, fieldIds, seasonIds, cropVarietyIds, cropIds, minAvgYieldValue, maxAvgYieldValue, avgYieldUnit, minAvgSeedPopulationValue, maxAvgSeedPopulationValue, avgSeedPopulationUnit, minPlantingDateTime, maxPlantingDateTime, ids, names, propertyFilters, statuses, minCreatedDateTime, maxCreatedDateTime, minLastModifiedDateTime, maxLastModifiedDateTime, maxPageSize, skipToken, options); + if (options.PerCallPolicy != null) { - message.SetProperty("RequestOptionsPerCallPolicyCallback", requestOptions.PerCallPolicy); + message.SetProperty("RequestOptionsPerCallPolicyCallback", options.PerCallPolicy); } using var scope = _clientDiagnostics.CreateScope("SeasonalFieldsClient.ListByFarmerId"); scope.Start(); try { - Pipeline.Send(message, requestOptions.CancellationToken); - if (requestOptions.StatusOption == ResponseStatusOption.Default) + Pipeline.Send(message, options.CancellationToken); + if (options.StatusOption == ResponseStatusOption.Default) { switch (message.Response.Status) { @@ -229,8 +229,8 @@ public virtual Response ListByFarmerId(string farmerId, IEnumerable farm /// Minimum = 10, Maximum = 1000, Default value = 50. /// /// Skip token for getting next set of results. - /// The request options. - private HttpMessage CreateListByFarmerIdRequest(string farmerId, IEnumerable farmIds = null, IEnumerable fieldIds = null, IEnumerable seasonIds = null, IEnumerable cropVarietyIds = null, IEnumerable cropIds = null, double? minAvgYieldValue = null, double? maxAvgYieldValue = null, string avgYieldUnit = null, double? minAvgSeedPopulationValue = null, double? maxAvgSeedPopulationValue = null, string avgSeedPopulationUnit = null, DateTimeOffset? minPlantingDateTime = null, DateTimeOffset? maxPlantingDateTime = null, IEnumerable ids = null, IEnumerable names = null, IEnumerable propertyFilters = null, IEnumerable statuses = null, DateTimeOffset? minCreatedDateTime = null, DateTimeOffset? maxCreatedDateTime = null, DateTimeOffset? minLastModifiedDateTime = null, DateTimeOffset? maxLastModifiedDateTime = null, int? maxPageSize = null, string skipToken = null, RequestOptions requestOptions = null) + /// The request options. + private HttpMessage CreateListByFarmerIdRequest(string farmerId, IEnumerable farmIds = null, IEnumerable fieldIds = null, IEnumerable seasonIds = null, IEnumerable cropVarietyIds = null, IEnumerable cropIds = null, double? minAvgYieldValue = null, double? maxAvgYieldValue = null, string avgYieldUnit = null, double? minAvgSeedPopulationValue = null, double? maxAvgSeedPopulationValue = null, string avgSeedPopulationUnit = null, DateTimeOffset? minPlantingDateTime = null, DateTimeOffset? maxPlantingDateTime = null, IEnumerable ids = null, IEnumerable names = null, IEnumerable propertyFilters = null, IEnumerable statuses = null, DateTimeOffset? minCreatedDateTime = null, DateTimeOffset? maxCreatedDateTime = null, DateTimeOffset? minLastModifiedDateTime = null, DateTimeOffset? maxLastModifiedDateTime = null, int? maxPageSize = null, string skipToken = null, RequestOptions options = null) { var message = Pipeline.CreateMessage(); var request = message.Request; @@ -370,23 +370,23 @@ private HttpMessage CreateListByFarmerIdRequest(string farmerId, IEnumerable /// Skip token for getting next set of results. - /// The request options. + /// The request options. #pragma warning disable AZC0002 - public virtual async Task ListAsync(IEnumerable farmIds = null, IEnumerable fieldIds = null, IEnumerable seasonIds = null, IEnumerable cropVarietyIds = null, IEnumerable cropIds = null, double? minAvgYieldValue = null, double? maxAvgYieldValue = null, string avgYieldUnit = null, double? minAvgSeedPopulationValue = null, double? maxAvgSeedPopulationValue = null, string avgSeedPopulationUnit = null, DateTimeOffset? minPlantingDateTime = null, DateTimeOffset? maxPlantingDateTime = null, IEnumerable ids = null, IEnumerable names = null, IEnumerable propertyFilters = null, IEnumerable statuses = null, DateTimeOffset? minCreatedDateTime = null, DateTimeOffset? maxCreatedDateTime = null, DateTimeOffset? minLastModifiedDateTime = null, DateTimeOffset? maxLastModifiedDateTime = null, int? maxPageSize = null, string skipToken = null, RequestOptions requestOptions = null) + public virtual async Task ListAsync(IEnumerable farmIds = null, IEnumerable fieldIds = null, IEnumerable seasonIds = null, IEnumerable cropVarietyIds = null, IEnumerable cropIds = null, double? minAvgYieldValue = null, double? maxAvgYieldValue = null, string avgYieldUnit = null, double? minAvgSeedPopulationValue = null, double? maxAvgSeedPopulationValue = null, string avgSeedPopulationUnit = null, DateTimeOffset? minPlantingDateTime = null, DateTimeOffset? maxPlantingDateTime = null, IEnumerable ids = null, IEnumerable names = null, IEnumerable propertyFilters = null, IEnumerable statuses = null, DateTimeOffset? minCreatedDateTime = null, DateTimeOffset? maxCreatedDateTime = null, DateTimeOffset? minLastModifiedDateTime = null, DateTimeOffset? maxLastModifiedDateTime = null, int? maxPageSize = null, string skipToken = null, RequestOptions options = null) #pragma warning restore AZC0002 { - requestOptions ??= new RequestOptions(); - HttpMessage message = CreateListRequest(farmIds, fieldIds, seasonIds, cropVarietyIds, cropIds, minAvgYieldValue, maxAvgYieldValue, avgYieldUnit, minAvgSeedPopulationValue, maxAvgSeedPopulationValue, avgSeedPopulationUnit, minPlantingDateTime, maxPlantingDateTime, ids, names, propertyFilters, statuses, minCreatedDateTime, maxCreatedDateTime, minLastModifiedDateTime, maxLastModifiedDateTime, maxPageSize, skipToken, requestOptions); - if (requestOptions.PerCallPolicy != null) + options ??= new RequestOptions(); + HttpMessage message = CreateListRequest(farmIds, fieldIds, seasonIds, cropVarietyIds, cropIds, minAvgYieldValue, maxAvgYieldValue, avgYieldUnit, minAvgSeedPopulationValue, maxAvgSeedPopulationValue, avgSeedPopulationUnit, minPlantingDateTime, maxPlantingDateTime, ids, names, propertyFilters, statuses, minCreatedDateTime, maxCreatedDateTime, minLastModifiedDateTime, maxLastModifiedDateTime, maxPageSize, skipToken, options); + if (options.PerCallPolicy != null) { - message.SetProperty("RequestOptionsPerCallPolicyCallback", requestOptions.PerCallPolicy); + message.SetProperty("RequestOptionsPerCallPolicyCallback", options.PerCallPolicy); } using var scope = _clientDiagnostics.CreateScope("SeasonalFieldsClient.List"); scope.Start(); try { - await Pipeline.SendAsync(message, requestOptions.CancellationToken).ConfigureAwait(false); - if (requestOptions.StatusOption == ResponseStatusOption.Default) + await Pipeline.SendAsync(message, options.CancellationToken).ConfigureAwait(false); + if (options.StatusOption == ResponseStatusOption.Default) { switch (message.Response.Status) { @@ -440,23 +440,23 @@ public virtual async Task ListAsync(IEnumerable farmIds = null /// Minimum = 10, Maximum = 1000, Default value = 50. /// /// Skip token for getting next set of results. - /// The request options. + /// The request options. #pragma warning disable AZC0002 - public virtual Response List(IEnumerable farmIds = null, IEnumerable fieldIds = null, IEnumerable seasonIds = null, IEnumerable cropVarietyIds = null, IEnumerable cropIds = null, double? minAvgYieldValue = null, double? maxAvgYieldValue = null, string avgYieldUnit = null, double? minAvgSeedPopulationValue = null, double? maxAvgSeedPopulationValue = null, string avgSeedPopulationUnit = null, DateTimeOffset? minPlantingDateTime = null, DateTimeOffset? maxPlantingDateTime = null, IEnumerable ids = null, IEnumerable names = null, IEnumerable propertyFilters = null, IEnumerable statuses = null, DateTimeOffset? minCreatedDateTime = null, DateTimeOffset? maxCreatedDateTime = null, DateTimeOffset? minLastModifiedDateTime = null, DateTimeOffset? maxLastModifiedDateTime = null, int? maxPageSize = null, string skipToken = null, RequestOptions requestOptions = null) + public virtual Response List(IEnumerable farmIds = null, IEnumerable fieldIds = null, IEnumerable seasonIds = null, IEnumerable cropVarietyIds = null, IEnumerable cropIds = null, double? minAvgYieldValue = null, double? maxAvgYieldValue = null, string avgYieldUnit = null, double? minAvgSeedPopulationValue = null, double? maxAvgSeedPopulationValue = null, string avgSeedPopulationUnit = null, DateTimeOffset? minPlantingDateTime = null, DateTimeOffset? maxPlantingDateTime = null, IEnumerable ids = null, IEnumerable names = null, IEnumerable propertyFilters = null, IEnumerable statuses = null, DateTimeOffset? minCreatedDateTime = null, DateTimeOffset? maxCreatedDateTime = null, DateTimeOffset? minLastModifiedDateTime = null, DateTimeOffset? maxLastModifiedDateTime = null, int? maxPageSize = null, string skipToken = null, RequestOptions options = null) #pragma warning restore AZC0002 { - requestOptions ??= new RequestOptions(); - HttpMessage message = CreateListRequest(farmIds, fieldIds, seasonIds, cropVarietyIds, cropIds, minAvgYieldValue, maxAvgYieldValue, avgYieldUnit, minAvgSeedPopulationValue, maxAvgSeedPopulationValue, avgSeedPopulationUnit, minPlantingDateTime, maxPlantingDateTime, ids, names, propertyFilters, statuses, minCreatedDateTime, maxCreatedDateTime, minLastModifiedDateTime, maxLastModifiedDateTime, maxPageSize, skipToken, requestOptions); - if (requestOptions.PerCallPolicy != null) + options ??= new RequestOptions(); + HttpMessage message = CreateListRequest(farmIds, fieldIds, seasonIds, cropVarietyIds, cropIds, minAvgYieldValue, maxAvgYieldValue, avgYieldUnit, minAvgSeedPopulationValue, maxAvgSeedPopulationValue, avgSeedPopulationUnit, minPlantingDateTime, maxPlantingDateTime, ids, names, propertyFilters, statuses, minCreatedDateTime, maxCreatedDateTime, minLastModifiedDateTime, maxLastModifiedDateTime, maxPageSize, skipToken, options); + if (options.PerCallPolicy != null) { - message.SetProperty("RequestOptionsPerCallPolicyCallback", requestOptions.PerCallPolicy); + message.SetProperty("RequestOptionsPerCallPolicyCallback", options.PerCallPolicy); } using var scope = _clientDiagnostics.CreateScope("SeasonalFieldsClient.List"); scope.Start(); try { - Pipeline.Send(message, requestOptions.CancellationToken); - if (requestOptions.StatusOption == ResponseStatusOption.Default) + Pipeline.Send(message, options.CancellationToken); + if (options.StatusOption == ResponseStatusOption.Default) { switch (message.Response.Status) { @@ -510,8 +510,8 @@ public virtual Response List(IEnumerable farmIds = null, IEnumerable /// Skip token for getting next set of results. - /// The request options. - private HttpMessage CreateListRequest(IEnumerable farmIds = null, IEnumerable fieldIds = null, IEnumerable seasonIds = null, IEnumerable cropVarietyIds = null, IEnumerable cropIds = null, double? minAvgYieldValue = null, double? maxAvgYieldValue = null, string avgYieldUnit = null, double? minAvgSeedPopulationValue = null, double? maxAvgSeedPopulationValue = null, string avgSeedPopulationUnit = null, DateTimeOffset? minPlantingDateTime = null, DateTimeOffset? maxPlantingDateTime = null, IEnumerable ids = null, IEnumerable names = null, IEnumerable propertyFilters = null, IEnumerable statuses = null, DateTimeOffset? minCreatedDateTime = null, DateTimeOffset? maxCreatedDateTime = null, DateTimeOffset? minLastModifiedDateTime = null, DateTimeOffset? maxLastModifiedDateTime = null, int? maxPageSize = null, string skipToken = null, RequestOptions requestOptions = null) + /// The request options. + private HttpMessage CreateListRequest(IEnumerable farmIds = null, IEnumerable fieldIds = null, IEnumerable seasonIds = null, IEnumerable cropVarietyIds = null, IEnumerable cropIds = null, double? minAvgYieldValue = null, double? maxAvgYieldValue = null, string avgYieldUnit = null, double? minAvgSeedPopulationValue = null, double? maxAvgSeedPopulationValue = null, string avgSeedPopulationUnit = null, DateTimeOffset? minPlantingDateTime = null, DateTimeOffset? maxPlantingDateTime = null, IEnumerable ids = null, IEnumerable names = null, IEnumerable propertyFilters = null, IEnumerable statuses = null, DateTimeOffset? minCreatedDateTime = null, DateTimeOffset? maxCreatedDateTime = null, DateTimeOffset? minLastModifiedDateTime = null, DateTimeOffset? maxLastModifiedDateTime = null, int? maxPageSize = null, string skipToken = null, RequestOptions options = null) { var message = Pipeline.CreateMessage(); var request = message.Request; @@ -620,23 +620,23 @@ private HttpMessage CreateListRequest(IEnumerable farmIds = null, IEnume /// Gets a specified seasonal field resource under a particular farmer. /// ID of the associated farmer. /// ID of the seasonal field. - /// The request options. + /// The request options. #pragma warning disable AZC0002 - public virtual async Task GetAsync(string farmerId, string seasonalFieldId, RequestOptions requestOptions = null) + public virtual async Task GetAsync(string farmerId, string seasonalFieldId, RequestOptions options = null) #pragma warning restore AZC0002 { - requestOptions ??= new RequestOptions(); - HttpMessage message = CreateGetRequest(farmerId, seasonalFieldId, requestOptions); - if (requestOptions.PerCallPolicy != null) + options ??= new RequestOptions(); + HttpMessage message = CreateGetRequest(farmerId, seasonalFieldId, options); + if (options.PerCallPolicy != null) { - message.SetProperty("RequestOptionsPerCallPolicyCallback", requestOptions.PerCallPolicy); + message.SetProperty("RequestOptionsPerCallPolicyCallback", options.PerCallPolicy); } using var scope = _clientDiagnostics.CreateScope("SeasonalFieldsClient.Get"); scope.Start(); try { - await Pipeline.SendAsync(message, requestOptions.CancellationToken).ConfigureAwait(false); - if (requestOptions.StatusOption == ResponseStatusOption.Default) + await Pipeline.SendAsync(message, options.CancellationToken).ConfigureAwait(false); + if (options.StatusOption == ResponseStatusOption.Default) { switch (message.Response.Status) { @@ -661,23 +661,23 @@ public virtual async Task GetAsync(string farmerId, string seasonalFie /// Gets a specified seasonal field resource under a particular farmer. /// ID of the associated farmer. /// ID of the seasonal field. - /// The request options. + /// The request options. #pragma warning disable AZC0002 - public virtual Response Get(string farmerId, string seasonalFieldId, RequestOptions requestOptions = null) + public virtual Response Get(string farmerId, string seasonalFieldId, RequestOptions options = null) #pragma warning restore AZC0002 { - requestOptions ??= new RequestOptions(); - HttpMessage message = CreateGetRequest(farmerId, seasonalFieldId, requestOptions); - if (requestOptions.PerCallPolicy != null) + options ??= new RequestOptions(); + HttpMessage message = CreateGetRequest(farmerId, seasonalFieldId, options); + if (options.PerCallPolicy != null) { - message.SetProperty("RequestOptionsPerCallPolicyCallback", requestOptions.PerCallPolicy); + message.SetProperty("RequestOptionsPerCallPolicyCallback", options.PerCallPolicy); } using var scope = _clientDiagnostics.CreateScope("SeasonalFieldsClient.Get"); scope.Start(); try { - Pipeline.Send(message, requestOptions.CancellationToken); - if (requestOptions.StatusOption == ResponseStatusOption.Default) + Pipeline.Send(message, options.CancellationToken); + if (options.StatusOption == ResponseStatusOption.Default) { switch (message.Response.Status) { @@ -702,8 +702,8 @@ public virtual Response Get(string farmerId, string seasonalFieldId, RequestOpti /// Create Request for and operations. /// ID of the associated farmer. /// ID of the seasonal field. - /// The request options. - private HttpMessage CreateGetRequest(string farmerId, string seasonalFieldId, RequestOptions requestOptions = null) + /// The request options. + private HttpMessage CreateGetRequest(string farmerId, string seasonalFieldId, RequestOptions options = null) { var message = Pipeline.CreateMessage(); var request = message.Request; @@ -724,12 +724,12 @@ private HttpMessage CreateGetRequest(string farmerId, string seasonalFieldId, Re /// /// Schema for Request Body: /// - /// + /// /// Name /// Type /// Required /// Description - /// + /// /// /// farmerId /// string @@ -868,24 +868,24 @@ private HttpMessage CreateGetRequest(string farmerId, string seasonalFieldId, Re /// /// ID of the associated farmer resource. /// ID of the seasonal field resource. - /// The request body. - /// The request options. + /// The content to send as the body of the request. + /// The request options. #pragma warning disable AZC0002 - public virtual async Task CreateOrUpdateAsync(string farmerId, string seasonalFieldId, RequestContent requestBody, RequestOptions requestOptions = null) + public virtual async Task CreateOrUpdateAsync(string farmerId, string seasonalFieldId, RequestContent content, RequestOptions options = null) #pragma warning restore AZC0002 { - requestOptions ??= new RequestOptions(); - HttpMessage message = CreateCreateOrUpdateRequest(farmerId, seasonalFieldId, requestBody, requestOptions); - if (requestOptions.PerCallPolicy != null) + options ??= new RequestOptions(); + HttpMessage message = CreateCreateOrUpdateRequest(farmerId, seasonalFieldId, content, options); + if (options.PerCallPolicy != null) { - message.SetProperty("RequestOptionsPerCallPolicyCallback", requestOptions.PerCallPolicy); + message.SetProperty("RequestOptionsPerCallPolicyCallback", options.PerCallPolicy); } using var scope = _clientDiagnostics.CreateScope("SeasonalFieldsClient.CreateOrUpdate"); scope.Start(); try { - await Pipeline.SendAsync(message, requestOptions.CancellationToken).ConfigureAwait(false); - if (requestOptions.StatusOption == ResponseStatusOption.Default) + await Pipeline.SendAsync(message, options.CancellationToken).ConfigureAwait(false); + if (options.StatusOption == ResponseStatusOption.Default) { switch (message.Response.Status) { @@ -912,12 +912,12 @@ public virtual async Task CreateOrUpdateAsync(string farmerId, string /// /// Schema for Request Body: /// - /// + /// /// Name /// Type /// Required /// Description - /// + /// /// /// farmerId /// string @@ -1056,24 +1056,24 @@ public virtual async Task CreateOrUpdateAsync(string farmerId, string /// /// ID of the associated farmer resource. /// ID of the seasonal field resource. - /// The request body. - /// The request options. + /// The content to send as the body of the request. + /// The request options. #pragma warning disable AZC0002 - public virtual Response CreateOrUpdate(string farmerId, string seasonalFieldId, RequestContent requestBody, RequestOptions requestOptions = null) + public virtual Response CreateOrUpdate(string farmerId, string seasonalFieldId, RequestContent content, RequestOptions options = null) #pragma warning restore AZC0002 { - requestOptions ??= new RequestOptions(); - HttpMessage message = CreateCreateOrUpdateRequest(farmerId, seasonalFieldId, requestBody, requestOptions); - if (requestOptions.PerCallPolicy != null) + options ??= new RequestOptions(); + HttpMessage message = CreateCreateOrUpdateRequest(farmerId, seasonalFieldId, content, options); + if (options.PerCallPolicy != null) { - message.SetProperty("RequestOptionsPerCallPolicyCallback", requestOptions.PerCallPolicy); + message.SetProperty("RequestOptionsPerCallPolicyCallback", options.PerCallPolicy); } using var scope = _clientDiagnostics.CreateScope("SeasonalFieldsClient.CreateOrUpdate"); scope.Start(); try { - Pipeline.Send(message, requestOptions.CancellationToken); - if (requestOptions.StatusOption == ResponseStatusOption.Default) + Pipeline.Send(message, options.CancellationToken); + if (options.StatusOption == ResponseStatusOption.Default) { switch (message.Response.Status) { @@ -1099,9 +1099,9 @@ public virtual Response CreateOrUpdate(string farmerId, string seasonalFieldId, /// Create Request for and operations. /// ID of the associated farmer resource. /// ID of the seasonal field resource. - /// The request body. - /// The request options. - private HttpMessage CreateCreateOrUpdateRequest(string farmerId, string seasonalFieldId, RequestContent requestBody, RequestOptions requestOptions = null) + /// The content to send as the body of the request. + /// The request options. + private HttpMessage CreateCreateOrUpdateRequest(string farmerId, string seasonalFieldId, RequestContent content, RequestOptions options = null) { var message = Pipeline.CreateMessage(); var request = message.Request; @@ -1116,30 +1116,30 @@ private HttpMessage CreateCreateOrUpdateRequest(string farmerId, string seasonal request.Uri = uri; request.Headers.Add("Accept", "application/json"); request.Headers.Add("Content-Type", "application/merge-patch+json"); - request.Content = requestBody; + request.Content = content; return message; } /// Deletes a specified seasonal-field resource under a particular farmer. /// ID of the farmer. /// ID of the seasonal field. - /// The request options. + /// The request options. #pragma warning disable AZC0002 - public virtual async Task DeleteAsync(string farmerId, string seasonalFieldId, RequestOptions requestOptions = null) + public virtual async Task DeleteAsync(string farmerId, string seasonalFieldId, RequestOptions options = null) #pragma warning restore AZC0002 { - requestOptions ??= new RequestOptions(); - HttpMessage message = CreateDeleteRequest(farmerId, seasonalFieldId, requestOptions); - if (requestOptions.PerCallPolicy != null) + options ??= new RequestOptions(); + HttpMessage message = CreateDeleteRequest(farmerId, seasonalFieldId, options); + if (options.PerCallPolicy != null) { - message.SetProperty("RequestOptionsPerCallPolicyCallback", requestOptions.PerCallPolicy); + message.SetProperty("RequestOptionsPerCallPolicyCallback", options.PerCallPolicy); } using var scope = _clientDiagnostics.CreateScope("SeasonalFieldsClient.Delete"); scope.Start(); try { - await Pipeline.SendAsync(message, requestOptions.CancellationToken).ConfigureAwait(false); - if (requestOptions.StatusOption == ResponseStatusOption.Default) + await Pipeline.SendAsync(message, options.CancellationToken).ConfigureAwait(false); + if (options.StatusOption == ResponseStatusOption.Default) { switch (message.Response.Status) { @@ -1164,23 +1164,23 @@ public virtual async Task DeleteAsync(string farmerId, string seasonal /// Deletes a specified seasonal-field resource under a particular farmer. /// ID of the farmer. /// ID of the seasonal field. - /// The request options. + /// The request options. #pragma warning disable AZC0002 - public virtual Response Delete(string farmerId, string seasonalFieldId, RequestOptions requestOptions = null) + public virtual Response Delete(string farmerId, string seasonalFieldId, RequestOptions options = null) #pragma warning restore AZC0002 { - requestOptions ??= new RequestOptions(); - HttpMessage message = CreateDeleteRequest(farmerId, seasonalFieldId, requestOptions); - if (requestOptions.PerCallPolicy != null) + options ??= new RequestOptions(); + HttpMessage message = CreateDeleteRequest(farmerId, seasonalFieldId, options); + if (options.PerCallPolicy != null) { - message.SetProperty("RequestOptionsPerCallPolicyCallback", requestOptions.PerCallPolicy); + message.SetProperty("RequestOptionsPerCallPolicyCallback", options.PerCallPolicy); } using var scope = _clientDiagnostics.CreateScope("SeasonalFieldsClient.Delete"); scope.Start(); try { - Pipeline.Send(message, requestOptions.CancellationToken); - if (requestOptions.StatusOption == ResponseStatusOption.Default) + Pipeline.Send(message, options.CancellationToken); + if (options.StatusOption == ResponseStatusOption.Default) { switch (message.Response.Status) { @@ -1205,8 +1205,8 @@ public virtual Response Delete(string farmerId, string seasonalFieldId, RequestO /// Create Request for and operations. /// ID of the farmer. /// ID of the seasonal field. - /// The request options. - private HttpMessage CreateDeleteRequest(string farmerId, string seasonalFieldId, RequestOptions requestOptions = null) + /// The request options. + private HttpMessage CreateDeleteRequest(string farmerId, string seasonalFieldId, RequestOptions options = null) { var message = Pipeline.CreateMessage(); var request = message.Request; @@ -1225,23 +1225,23 @@ private HttpMessage CreateDeleteRequest(string farmerId, string seasonalFieldId, /// Get cascade delete job for specified seasonal field. /// ID of the job. - /// The request options. + /// The request options. #pragma warning disable AZC0002 - public virtual async Task GetCascadeDeleteJobDetailsAsync(string jobId, RequestOptions requestOptions = null) + public virtual async Task GetCascadeDeleteJobDetailsAsync(string jobId, RequestOptions options = null) #pragma warning restore AZC0002 { - requestOptions ??= new RequestOptions(); - HttpMessage message = CreateGetCascadeDeleteJobDetailsRequest(jobId, requestOptions); - if (requestOptions.PerCallPolicy != null) + options ??= new RequestOptions(); + HttpMessage message = CreateGetCascadeDeleteJobDetailsRequest(jobId, options); + if (options.PerCallPolicy != null) { - message.SetProperty("RequestOptionsPerCallPolicyCallback", requestOptions.PerCallPolicy); + message.SetProperty("RequestOptionsPerCallPolicyCallback", options.PerCallPolicy); } using var scope = _clientDiagnostics.CreateScope("SeasonalFieldsClient.GetCascadeDeleteJobDetails"); scope.Start(); try { - await Pipeline.SendAsync(message, requestOptions.CancellationToken).ConfigureAwait(false); - if (requestOptions.StatusOption == ResponseStatusOption.Default) + await Pipeline.SendAsync(message, options.CancellationToken).ConfigureAwait(false); + if (options.StatusOption == ResponseStatusOption.Default) { switch (message.Response.Status) { @@ -1265,23 +1265,23 @@ public virtual async Task GetCascadeDeleteJobDetailsAsync(string jobId /// Get cascade delete job for specified seasonal field. /// ID of the job. - /// The request options. + /// The request options. #pragma warning disable AZC0002 - public virtual Response GetCascadeDeleteJobDetails(string jobId, RequestOptions requestOptions = null) + public virtual Response GetCascadeDeleteJobDetails(string jobId, RequestOptions options = null) #pragma warning restore AZC0002 { - requestOptions ??= new RequestOptions(); - HttpMessage message = CreateGetCascadeDeleteJobDetailsRequest(jobId, requestOptions); - if (requestOptions.PerCallPolicy != null) + options ??= new RequestOptions(); + HttpMessage message = CreateGetCascadeDeleteJobDetailsRequest(jobId, options); + if (options.PerCallPolicy != null) { - message.SetProperty("RequestOptionsPerCallPolicyCallback", requestOptions.PerCallPolicy); + message.SetProperty("RequestOptionsPerCallPolicyCallback", options.PerCallPolicy); } using var scope = _clientDiagnostics.CreateScope("SeasonalFieldsClient.GetCascadeDeleteJobDetails"); scope.Start(); try { - Pipeline.Send(message, requestOptions.CancellationToken); - if (requestOptions.StatusOption == ResponseStatusOption.Default) + Pipeline.Send(message, options.CancellationToken); + if (options.StatusOption == ResponseStatusOption.Default) { switch (message.Response.Status) { @@ -1305,8 +1305,8 @@ public virtual Response GetCascadeDeleteJobDetails(string jobId, RequestOptions /// Create Request for and operations. /// ID of the job. - /// The request options. - private HttpMessage CreateGetCascadeDeleteJobDetailsRequest(string jobId, RequestOptions requestOptions = null) + /// The request options. + private HttpMessage CreateGetCascadeDeleteJobDetailsRequest(string jobId, RequestOptions options = null) { var message = Pipeline.CreateMessage(); var request = message.Request; @@ -1325,23 +1325,23 @@ private HttpMessage CreateGetCascadeDeleteJobDetailsRequest(string jobId, Reques /// Job ID supplied by end user. /// ID of the associated farmer. /// ID of the seasonalField to be deleted. - /// The request options. + /// The request options. #pragma warning disable AZC0002 - public virtual async Task CreateCascadeDeleteJobAsync(string jobId, string farmerId, string seasonalFieldId, RequestOptions requestOptions = null) + public virtual async Task CreateCascadeDeleteJobAsync(string jobId, string farmerId, string seasonalFieldId, RequestOptions options = null) #pragma warning restore AZC0002 { - requestOptions ??= new RequestOptions(); - HttpMessage message = CreateCreateCascadeDeleteJobRequest(jobId, farmerId, seasonalFieldId, requestOptions); - if (requestOptions.PerCallPolicy != null) + options ??= new RequestOptions(); + HttpMessage message = CreateCreateCascadeDeleteJobRequest(jobId, farmerId, seasonalFieldId, options); + if (options.PerCallPolicy != null) { - message.SetProperty("RequestOptionsPerCallPolicyCallback", requestOptions.PerCallPolicy); + message.SetProperty("RequestOptionsPerCallPolicyCallback", options.PerCallPolicy); } using var scope = _clientDiagnostics.CreateScope("SeasonalFieldsClient.CreateCascadeDeleteJob"); scope.Start(); try { - await Pipeline.SendAsync(message, requestOptions.CancellationToken).ConfigureAwait(false); - if (requestOptions.StatusOption == ResponseStatusOption.Default) + await Pipeline.SendAsync(message, options.CancellationToken).ConfigureAwait(false); + if (options.StatusOption == ResponseStatusOption.Default) { switch (message.Response.Status) { @@ -1367,23 +1367,23 @@ public virtual async Task CreateCascadeDeleteJobAsync(string jobId, st /// Job ID supplied by end user. /// ID of the associated farmer. /// ID of the seasonalField to be deleted. - /// The request options. + /// The request options. #pragma warning disable AZC0002 - public virtual Response CreateCascadeDeleteJob(string jobId, string farmerId, string seasonalFieldId, RequestOptions requestOptions = null) + public virtual Response CreateCascadeDeleteJob(string jobId, string farmerId, string seasonalFieldId, RequestOptions options = null) #pragma warning restore AZC0002 { - requestOptions ??= new RequestOptions(); - HttpMessage message = CreateCreateCascadeDeleteJobRequest(jobId, farmerId, seasonalFieldId, requestOptions); - if (requestOptions.PerCallPolicy != null) + options ??= new RequestOptions(); + HttpMessage message = CreateCreateCascadeDeleteJobRequest(jobId, farmerId, seasonalFieldId, options); + if (options.PerCallPolicy != null) { - message.SetProperty("RequestOptionsPerCallPolicyCallback", requestOptions.PerCallPolicy); + message.SetProperty("RequestOptionsPerCallPolicyCallback", options.PerCallPolicy); } using var scope = _clientDiagnostics.CreateScope("SeasonalFieldsClient.CreateCascadeDeleteJob"); scope.Start(); try { - Pipeline.Send(message, requestOptions.CancellationToken); - if (requestOptions.StatusOption == ResponseStatusOption.Default) + Pipeline.Send(message, options.CancellationToken); + if (options.StatusOption == ResponseStatusOption.Default) { switch (message.Response.Status) { @@ -1409,8 +1409,8 @@ public virtual Response CreateCascadeDeleteJob(string jobId, string farmerId, st /// Job ID supplied by end user. /// ID of the associated farmer. /// ID of the seasonalField to be deleted. - /// The request options. - private HttpMessage CreateCreateCascadeDeleteJobRequest(string jobId, string farmerId, string seasonalFieldId, RequestOptions requestOptions = null) + /// The request options. + private HttpMessage CreateCreateCascadeDeleteJobRequest(string jobId, string farmerId, string seasonalFieldId, RequestOptions options = null) { var message = Pipeline.CreateMessage(); var request = message.Request; diff --git a/sdk/agrifood/Azure.Verticals.AgriFood.Farming/src/Generated/SeasonsClient.cs b/sdk/agrifood/Azure.Verticals.AgriFood.Farming/src/Generated/SeasonsClient.cs index 7302612d4cc1..4f32ca8c40a8 100644 --- a/sdk/agrifood/Azure.Verticals.AgriFood.Farming/src/Generated/SeasonsClient.cs +++ b/sdk/agrifood/Azure.Verticals.AgriFood.Farming/src/Generated/SeasonsClient.cs @@ -78,23 +78,23 @@ public SeasonsClient(Uri endpoint, TokenCredential credential, FarmBeatsClientOp /// Minimum = 10, Maximum = 1000, Default value = 50. /// /// Skip token for getting next set of results. - /// The request options. + /// The request options. #pragma warning disable AZC0002 - public virtual async Task ListAsync(DateTimeOffset? minStartDateTime = null, DateTimeOffset? maxStartDateTime = null, DateTimeOffset? minEndDateTime = null, DateTimeOffset? maxEndDateTime = null, IEnumerable years = null, IEnumerable ids = null, IEnumerable names = null, IEnumerable propertyFilters = null, IEnumerable statuses = null, DateTimeOffset? minCreatedDateTime = null, DateTimeOffset? maxCreatedDateTime = null, DateTimeOffset? minLastModifiedDateTime = null, DateTimeOffset? maxLastModifiedDateTime = null, int? maxPageSize = null, string skipToken = null, RequestOptions requestOptions = null) + public virtual async Task ListAsync(DateTimeOffset? minStartDateTime = null, DateTimeOffset? maxStartDateTime = null, DateTimeOffset? minEndDateTime = null, DateTimeOffset? maxEndDateTime = null, IEnumerable years = null, IEnumerable ids = null, IEnumerable names = null, IEnumerable propertyFilters = null, IEnumerable statuses = null, DateTimeOffset? minCreatedDateTime = null, DateTimeOffset? maxCreatedDateTime = null, DateTimeOffset? minLastModifiedDateTime = null, DateTimeOffset? maxLastModifiedDateTime = null, int? maxPageSize = null, string skipToken = null, RequestOptions options = null) #pragma warning restore AZC0002 { - requestOptions ??= new RequestOptions(); - HttpMessage message = CreateListRequest(minStartDateTime, maxStartDateTime, minEndDateTime, maxEndDateTime, years, ids, names, propertyFilters, statuses, minCreatedDateTime, maxCreatedDateTime, minLastModifiedDateTime, maxLastModifiedDateTime, maxPageSize, skipToken, requestOptions); - if (requestOptions.PerCallPolicy != null) + options ??= new RequestOptions(); + HttpMessage message = CreateListRequest(minStartDateTime, maxStartDateTime, minEndDateTime, maxEndDateTime, years, ids, names, propertyFilters, statuses, minCreatedDateTime, maxCreatedDateTime, minLastModifiedDateTime, maxLastModifiedDateTime, maxPageSize, skipToken, options); + if (options.PerCallPolicy != null) { - message.SetProperty("RequestOptionsPerCallPolicyCallback", requestOptions.PerCallPolicy); + message.SetProperty("RequestOptionsPerCallPolicyCallback", options.PerCallPolicy); } using var scope = _clientDiagnostics.CreateScope("SeasonsClient.List"); scope.Start(); try { - await Pipeline.SendAsync(message, requestOptions.CancellationToken).ConfigureAwait(false); - if (requestOptions.StatusOption == ResponseStatusOption.Default) + await Pipeline.SendAsync(message, options.CancellationToken).ConfigureAwait(false); + if (options.StatusOption == ResponseStatusOption.Default) { switch (message.Response.Status) { @@ -140,23 +140,23 @@ public virtual async Task ListAsync(DateTimeOffset? minStartDateTime = /// Minimum = 10, Maximum = 1000, Default value = 50. /// /// Skip token for getting next set of results. - /// The request options. + /// The request options. #pragma warning disable AZC0002 - public virtual Response List(DateTimeOffset? minStartDateTime = null, DateTimeOffset? maxStartDateTime = null, DateTimeOffset? minEndDateTime = null, DateTimeOffset? maxEndDateTime = null, IEnumerable years = null, IEnumerable ids = null, IEnumerable names = null, IEnumerable propertyFilters = null, IEnumerable statuses = null, DateTimeOffset? minCreatedDateTime = null, DateTimeOffset? maxCreatedDateTime = null, DateTimeOffset? minLastModifiedDateTime = null, DateTimeOffset? maxLastModifiedDateTime = null, int? maxPageSize = null, string skipToken = null, RequestOptions requestOptions = null) + public virtual Response List(DateTimeOffset? minStartDateTime = null, DateTimeOffset? maxStartDateTime = null, DateTimeOffset? minEndDateTime = null, DateTimeOffset? maxEndDateTime = null, IEnumerable years = null, IEnumerable ids = null, IEnumerable names = null, IEnumerable propertyFilters = null, IEnumerable statuses = null, DateTimeOffset? minCreatedDateTime = null, DateTimeOffset? maxCreatedDateTime = null, DateTimeOffset? minLastModifiedDateTime = null, DateTimeOffset? maxLastModifiedDateTime = null, int? maxPageSize = null, string skipToken = null, RequestOptions options = null) #pragma warning restore AZC0002 { - requestOptions ??= new RequestOptions(); - HttpMessage message = CreateListRequest(minStartDateTime, maxStartDateTime, minEndDateTime, maxEndDateTime, years, ids, names, propertyFilters, statuses, minCreatedDateTime, maxCreatedDateTime, minLastModifiedDateTime, maxLastModifiedDateTime, maxPageSize, skipToken, requestOptions); - if (requestOptions.PerCallPolicy != null) + options ??= new RequestOptions(); + HttpMessage message = CreateListRequest(minStartDateTime, maxStartDateTime, minEndDateTime, maxEndDateTime, years, ids, names, propertyFilters, statuses, minCreatedDateTime, maxCreatedDateTime, minLastModifiedDateTime, maxLastModifiedDateTime, maxPageSize, skipToken, options); + if (options.PerCallPolicy != null) { - message.SetProperty("RequestOptionsPerCallPolicyCallback", requestOptions.PerCallPolicy); + message.SetProperty("RequestOptionsPerCallPolicyCallback", options.PerCallPolicy); } using var scope = _clientDiagnostics.CreateScope("SeasonsClient.List"); scope.Start(); try { - Pipeline.Send(message, requestOptions.CancellationToken); - if (requestOptions.StatusOption == ResponseStatusOption.Default) + Pipeline.Send(message, options.CancellationToken); + if (options.StatusOption == ResponseStatusOption.Default) { switch (message.Response.Status) { @@ -202,8 +202,8 @@ public virtual Response List(DateTimeOffset? minStartDateTime = null, DateTimeOf /// Minimum = 10, Maximum = 1000, Default value = 50. /// /// Skip token for getting next set of results. - /// The request options. - private HttpMessage CreateListRequest(DateTimeOffset? minStartDateTime = null, DateTimeOffset? maxStartDateTime = null, DateTimeOffset? minEndDateTime = null, DateTimeOffset? maxEndDateTime = null, IEnumerable years = null, IEnumerable ids = null, IEnumerable names = null, IEnumerable propertyFilters = null, IEnumerable statuses = null, DateTimeOffset? minCreatedDateTime = null, DateTimeOffset? maxCreatedDateTime = null, DateTimeOffset? minLastModifiedDateTime = null, DateTimeOffset? maxLastModifiedDateTime = null, int? maxPageSize = null, string skipToken = null, RequestOptions requestOptions = null) + /// The request options. + private HttpMessage CreateListRequest(DateTimeOffset? minStartDateTime = null, DateTimeOffset? maxStartDateTime = null, DateTimeOffset? minEndDateTime = null, DateTimeOffset? maxEndDateTime = null, IEnumerable years = null, IEnumerable ids = null, IEnumerable names = null, IEnumerable propertyFilters = null, IEnumerable statuses = null, DateTimeOffset? minCreatedDateTime = null, DateTimeOffset? maxCreatedDateTime = null, DateTimeOffset? minLastModifiedDateTime = null, DateTimeOffset? maxLastModifiedDateTime = null, int? maxPageSize = null, string skipToken = null, RequestOptions options = null) { var message = Pipeline.CreateMessage(); var request = message.Request; @@ -279,23 +279,23 @@ private HttpMessage CreateListRequest(DateTimeOffset? minStartDateTime = null, D /// Gets a specified season resource. /// ID of the season. - /// The request options. + /// The request options. #pragma warning disable AZC0002 - public virtual async Task GetAsync(string seasonId, RequestOptions requestOptions = null) + public virtual async Task GetAsync(string seasonId, RequestOptions options = null) #pragma warning restore AZC0002 { - requestOptions ??= new RequestOptions(); - HttpMessage message = CreateGetRequest(seasonId, requestOptions); - if (requestOptions.PerCallPolicy != null) + options ??= new RequestOptions(); + HttpMessage message = CreateGetRequest(seasonId, options); + if (options.PerCallPolicy != null) { - message.SetProperty("RequestOptionsPerCallPolicyCallback", requestOptions.PerCallPolicy); + message.SetProperty("RequestOptionsPerCallPolicyCallback", options.PerCallPolicy); } using var scope = _clientDiagnostics.CreateScope("SeasonsClient.Get"); scope.Start(); try { - await Pipeline.SendAsync(message, requestOptions.CancellationToken).ConfigureAwait(false); - if (requestOptions.StatusOption == ResponseStatusOption.Default) + await Pipeline.SendAsync(message, options.CancellationToken).ConfigureAwait(false); + if (options.StatusOption == ResponseStatusOption.Default) { switch (message.Response.Status) { @@ -319,23 +319,23 @@ public virtual async Task GetAsync(string seasonId, RequestOptions req /// Gets a specified season resource. /// ID of the season. - /// The request options. + /// The request options. #pragma warning disable AZC0002 - public virtual Response Get(string seasonId, RequestOptions requestOptions = null) + public virtual Response Get(string seasonId, RequestOptions options = null) #pragma warning restore AZC0002 { - requestOptions ??= new RequestOptions(); - HttpMessage message = CreateGetRequest(seasonId, requestOptions); - if (requestOptions.PerCallPolicy != null) + options ??= new RequestOptions(); + HttpMessage message = CreateGetRequest(seasonId, options); + if (options.PerCallPolicy != null) { - message.SetProperty("RequestOptionsPerCallPolicyCallback", requestOptions.PerCallPolicy); + message.SetProperty("RequestOptionsPerCallPolicyCallback", options.PerCallPolicy); } using var scope = _clientDiagnostics.CreateScope("SeasonsClient.Get"); scope.Start(); try { - Pipeline.Send(message, requestOptions.CancellationToken); - if (requestOptions.StatusOption == ResponseStatusOption.Default) + Pipeline.Send(message, options.CancellationToken); + if (options.StatusOption == ResponseStatusOption.Default) { switch (message.Response.Status) { @@ -359,8 +359,8 @@ public virtual Response Get(string seasonId, RequestOptions requestOptions = nul /// Create Request for and operations. /// ID of the season. - /// The request options. - private HttpMessage CreateGetRequest(string seasonId, RequestOptions requestOptions = null) + /// The request options. + private HttpMessage CreateGetRequest(string seasonId, RequestOptions options = null) { var message = Pipeline.CreateMessage(); var request = message.Request; @@ -379,12 +379,12 @@ private HttpMessage CreateGetRequest(string seasonId, RequestOptions requestOpti /// /// Schema for Request Body: /// - /// + /// /// Name /// Type /// Required /// Description - /// + /// /// /// startDateTime /// string (ISO 8601 Format) @@ -462,24 +462,24 @@ private HttpMessage CreateGetRequest(string seasonId, RequestOptions requestOpti /// /// /// ID of the season resource. - /// The request body. - /// The request options. + /// The content to send as the body of the request. + /// The request options. #pragma warning disable AZC0002 - public virtual async Task CreateOrUpdateAsync(string seasonId, RequestContent requestBody, RequestOptions requestOptions = null) + public virtual async Task CreateOrUpdateAsync(string seasonId, RequestContent content, RequestOptions options = null) #pragma warning restore AZC0002 { - requestOptions ??= new RequestOptions(); - HttpMessage message = CreateCreateOrUpdateRequest(seasonId, requestBody, requestOptions); - if (requestOptions.PerCallPolicy != null) + options ??= new RequestOptions(); + HttpMessage message = CreateCreateOrUpdateRequest(seasonId, content, options); + if (options.PerCallPolicy != null) { - message.SetProperty("RequestOptionsPerCallPolicyCallback", requestOptions.PerCallPolicy); + message.SetProperty("RequestOptionsPerCallPolicyCallback", options.PerCallPolicy); } using var scope = _clientDiagnostics.CreateScope("SeasonsClient.CreateOrUpdate"); scope.Start(); try { - await Pipeline.SendAsync(message, requestOptions.CancellationToken).ConfigureAwait(false); - if (requestOptions.StatusOption == ResponseStatusOption.Default) + await Pipeline.SendAsync(message, options.CancellationToken).ConfigureAwait(false); + if (options.StatusOption == ResponseStatusOption.Default) { switch (message.Response.Status) { @@ -506,12 +506,12 @@ public virtual async Task CreateOrUpdateAsync(string seasonId, Request /// /// Schema for Request Body: /// - /// + /// /// Name /// Type /// Required /// Description - /// + /// /// /// startDateTime /// string (ISO 8601 Format) @@ -589,24 +589,24 @@ public virtual async Task CreateOrUpdateAsync(string seasonId, Request /// /// /// ID of the season resource. - /// The request body. - /// The request options. + /// The content to send as the body of the request. + /// The request options. #pragma warning disable AZC0002 - public virtual Response CreateOrUpdate(string seasonId, RequestContent requestBody, RequestOptions requestOptions = null) + public virtual Response CreateOrUpdate(string seasonId, RequestContent content, RequestOptions options = null) #pragma warning restore AZC0002 { - requestOptions ??= new RequestOptions(); - HttpMessage message = CreateCreateOrUpdateRequest(seasonId, requestBody, requestOptions); - if (requestOptions.PerCallPolicy != null) + options ??= new RequestOptions(); + HttpMessage message = CreateCreateOrUpdateRequest(seasonId, content, options); + if (options.PerCallPolicy != null) { - message.SetProperty("RequestOptionsPerCallPolicyCallback", requestOptions.PerCallPolicy); + message.SetProperty("RequestOptionsPerCallPolicyCallback", options.PerCallPolicy); } using var scope = _clientDiagnostics.CreateScope("SeasonsClient.CreateOrUpdate"); scope.Start(); try { - Pipeline.Send(message, requestOptions.CancellationToken); - if (requestOptions.StatusOption == ResponseStatusOption.Default) + Pipeline.Send(message, options.CancellationToken); + if (options.StatusOption == ResponseStatusOption.Default) { switch (message.Response.Status) { @@ -631,9 +631,9 @@ public virtual Response CreateOrUpdate(string seasonId, RequestContent requestBo /// Create Request for and operations. /// ID of the season resource. - /// The request body. - /// The request options. - private HttpMessage CreateCreateOrUpdateRequest(string seasonId, RequestContent requestBody, RequestOptions requestOptions = null) + /// The content to send as the body of the request. + /// The request options. + private HttpMessage CreateCreateOrUpdateRequest(string seasonId, RequestContent content, RequestOptions options = null) { var message = Pipeline.CreateMessage(); var request = message.Request; @@ -646,29 +646,29 @@ private HttpMessage CreateCreateOrUpdateRequest(string seasonId, RequestContent request.Uri = uri; request.Headers.Add("Accept", "application/json"); request.Headers.Add("Content-Type", "application/merge-patch+json"); - request.Content = requestBody; + request.Content = content; return message; } /// Deletes a specified season resource. /// ID of the season. - /// The request options. + /// The request options. #pragma warning disable AZC0002 - public virtual async Task DeleteAsync(string seasonId, RequestOptions requestOptions = null) + public virtual async Task DeleteAsync(string seasonId, RequestOptions options = null) #pragma warning restore AZC0002 { - requestOptions ??= new RequestOptions(); - HttpMessage message = CreateDeleteRequest(seasonId, requestOptions); - if (requestOptions.PerCallPolicy != null) + options ??= new RequestOptions(); + HttpMessage message = CreateDeleteRequest(seasonId, options); + if (options.PerCallPolicy != null) { - message.SetProperty("RequestOptionsPerCallPolicyCallback", requestOptions.PerCallPolicy); + message.SetProperty("RequestOptionsPerCallPolicyCallback", options.PerCallPolicy); } using var scope = _clientDiagnostics.CreateScope("SeasonsClient.Delete"); scope.Start(); try { - await Pipeline.SendAsync(message, requestOptions.CancellationToken).ConfigureAwait(false); - if (requestOptions.StatusOption == ResponseStatusOption.Default) + await Pipeline.SendAsync(message, options.CancellationToken).ConfigureAwait(false); + if (options.StatusOption == ResponseStatusOption.Default) { switch (message.Response.Status) { @@ -692,23 +692,23 @@ public virtual async Task DeleteAsync(string seasonId, RequestOptions /// Deletes a specified season resource. /// ID of the season. - /// The request options. + /// The request options. #pragma warning disable AZC0002 - public virtual Response Delete(string seasonId, RequestOptions requestOptions = null) + public virtual Response Delete(string seasonId, RequestOptions options = null) #pragma warning restore AZC0002 { - requestOptions ??= new RequestOptions(); - HttpMessage message = CreateDeleteRequest(seasonId, requestOptions); - if (requestOptions.PerCallPolicy != null) + options ??= new RequestOptions(); + HttpMessage message = CreateDeleteRequest(seasonId, options); + if (options.PerCallPolicy != null) { - message.SetProperty("RequestOptionsPerCallPolicyCallback", requestOptions.PerCallPolicy); + message.SetProperty("RequestOptionsPerCallPolicyCallback", options.PerCallPolicy); } using var scope = _clientDiagnostics.CreateScope("SeasonsClient.Delete"); scope.Start(); try { - Pipeline.Send(message, requestOptions.CancellationToken); - if (requestOptions.StatusOption == ResponseStatusOption.Default) + Pipeline.Send(message, options.CancellationToken); + if (options.StatusOption == ResponseStatusOption.Default) { switch (message.Response.Status) { @@ -732,8 +732,8 @@ public virtual Response Delete(string seasonId, RequestOptions requestOptions = /// Create Request for and operations. /// ID of the season. - /// The request options. - private HttpMessage CreateDeleteRequest(string seasonId, RequestOptions requestOptions = null) + /// The request options. + private HttpMessage CreateDeleteRequest(string seasonId, RequestOptions options = null) { var message = Pipeline.CreateMessage(); var request = message.Request; diff --git a/sdk/agrifood/Azure.Verticals.AgriFood.Farming/src/Generated/TillageDataClient.cs b/sdk/agrifood/Azure.Verticals.AgriFood.Farming/src/Generated/TillageDataClient.cs index af3b836e00a9..2dba656c2cff 100644 --- a/sdk/agrifood/Azure.Verticals.AgriFood.Farming/src/Generated/TillageDataClient.cs +++ b/sdk/agrifood/Azure.Verticals.AgriFood.Farming/src/Generated/TillageDataClient.cs @@ -89,23 +89,23 @@ public TillageDataClient(Uri endpoint, TokenCredential credential, FarmBeatsClie /// Minimum = 10, Maximum = 1000, Default value = 50. /// /// Skip token for getting next set of results. - /// The request options. + /// The request options. #pragma warning disable AZC0002 - public virtual async Task ListByFarmerIdAsync(string farmerId, double? minTillageDepth = null, double? maxTillageDepth = null, double? minTillagePressure = null, double? maxTillagePressure = null, IEnumerable sources = null, IEnumerable associatedBoundaryIds = null, IEnumerable operationBoundaryIds = null, DateTimeOffset? minOperationStartDateTime = null, DateTimeOffset? maxOperationStartDateTime = null, DateTimeOffset? minOperationEndDateTime = null, DateTimeOffset? maxOperationEndDateTime = null, DateTimeOffset? minOperationModifiedDateTime = null, DateTimeOffset? maxOperationModifiedDateTime = null, double? minArea = null, double? maxArea = null, IEnumerable ids = null, IEnumerable names = null, IEnumerable propertyFilters = null, IEnumerable statuses = null, DateTimeOffset? minCreatedDateTime = null, DateTimeOffset? maxCreatedDateTime = null, DateTimeOffset? minLastModifiedDateTime = null, DateTimeOffset? maxLastModifiedDateTime = null, int? maxPageSize = null, string skipToken = null, RequestOptions requestOptions = null) + public virtual async Task ListByFarmerIdAsync(string farmerId, double? minTillageDepth = null, double? maxTillageDepth = null, double? minTillagePressure = null, double? maxTillagePressure = null, IEnumerable sources = null, IEnumerable associatedBoundaryIds = null, IEnumerable operationBoundaryIds = null, DateTimeOffset? minOperationStartDateTime = null, DateTimeOffset? maxOperationStartDateTime = null, DateTimeOffset? minOperationEndDateTime = null, DateTimeOffset? maxOperationEndDateTime = null, DateTimeOffset? minOperationModifiedDateTime = null, DateTimeOffset? maxOperationModifiedDateTime = null, double? minArea = null, double? maxArea = null, IEnumerable ids = null, IEnumerable names = null, IEnumerable propertyFilters = null, IEnumerable statuses = null, DateTimeOffset? minCreatedDateTime = null, DateTimeOffset? maxCreatedDateTime = null, DateTimeOffset? minLastModifiedDateTime = null, DateTimeOffset? maxLastModifiedDateTime = null, int? maxPageSize = null, string skipToken = null, RequestOptions options = null) #pragma warning restore AZC0002 { - requestOptions ??= new RequestOptions(); - HttpMessage message = CreateListByFarmerIdRequest(farmerId, minTillageDepth, maxTillageDepth, minTillagePressure, maxTillagePressure, sources, associatedBoundaryIds, operationBoundaryIds, minOperationStartDateTime, maxOperationStartDateTime, minOperationEndDateTime, maxOperationEndDateTime, minOperationModifiedDateTime, maxOperationModifiedDateTime, minArea, maxArea, ids, names, propertyFilters, statuses, minCreatedDateTime, maxCreatedDateTime, minLastModifiedDateTime, maxLastModifiedDateTime, maxPageSize, skipToken, requestOptions); - if (requestOptions.PerCallPolicy != null) + options ??= new RequestOptions(); + HttpMessage message = CreateListByFarmerIdRequest(farmerId, minTillageDepth, maxTillageDepth, minTillagePressure, maxTillagePressure, sources, associatedBoundaryIds, operationBoundaryIds, minOperationStartDateTime, maxOperationStartDateTime, minOperationEndDateTime, maxOperationEndDateTime, minOperationModifiedDateTime, maxOperationModifiedDateTime, minArea, maxArea, ids, names, propertyFilters, statuses, minCreatedDateTime, maxCreatedDateTime, minLastModifiedDateTime, maxLastModifiedDateTime, maxPageSize, skipToken, options); + if (options.PerCallPolicy != null) { - message.SetProperty("RequestOptionsPerCallPolicyCallback", requestOptions.PerCallPolicy); + message.SetProperty("RequestOptionsPerCallPolicyCallback", options.PerCallPolicy); } using var scope = _clientDiagnostics.CreateScope("TillageDataClient.ListByFarmerId"); scope.Start(); try { - await Pipeline.SendAsync(message, requestOptions.CancellationToken).ConfigureAwait(false); - if (requestOptions.StatusOption == ResponseStatusOption.Default) + await Pipeline.SendAsync(message, options.CancellationToken).ConfigureAwait(false); + if (options.StatusOption == ResponseStatusOption.Default) { switch (message.Response.Status) { @@ -162,23 +162,23 @@ public virtual async Task ListByFarmerIdAsync(string farmerId, double? /// Minimum = 10, Maximum = 1000, Default value = 50. /// /// Skip token for getting next set of results. - /// The request options. + /// The request options. #pragma warning disable AZC0002 - public virtual Response ListByFarmerId(string farmerId, double? minTillageDepth = null, double? maxTillageDepth = null, double? minTillagePressure = null, double? maxTillagePressure = null, IEnumerable sources = null, IEnumerable associatedBoundaryIds = null, IEnumerable operationBoundaryIds = null, DateTimeOffset? minOperationStartDateTime = null, DateTimeOffset? maxOperationStartDateTime = null, DateTimeOffset? minOperationEndDateTime = null, DateTimeOffset? maxOperationEndDateTime = null, DateTimeOffset? minOperationModifiedDateTime = null, DateTimeOffset? maxOperationModifiedDateTime = null, double? minArea = null, double? maxArea = null, IEnumerable ids = null, IEnumerable names = null, IEnumerable propertyFilters = null, IEnumerable statuses = null, DateTimeOffset? minCreatedDateTime = null, DateTimeOffset? maxCreatedDateTime = null, DateTimeOffset? minLastModifiedDateTime = null, DateTimeOffset? maxLastModifiedDateTime = null, int? maxPageSize = null, string skipToken = null, RequestOptions requestOptions = null) + public virtual Response ListByFarmerId(string farmerId, double? minTillageDepth = null, double? maxTillageDepth = null, double? minTillagePressure = null, double? maxTillagePressure = null, IEnumerable sources = null, IEnumerable associatedBoundaryIds = null, IEnumerable operationBoundaryIds = null, DateTimeOffset? minOperationStartDateTime = null, DateTimeOffset? maxOperationStartDateTime = null, DateTimeOffset? minOperationEndDateTime = null, DateTimeOffset? maxOperationEndDateTime = null, DateTimeOffset? minOperationModifiedDateTime = null, DateTimeOffset? maxOperationModifiedDateTime = null, double? minArea = null, double? maxArea = null, IEnumerable ids = null, IEnumerable names = null, IEnumerable propertyFilters = null, IEnumerable statuses = null, DateTimeOffset? minCreatedDateTime = null, DateTimeOffset? maxCreatedDateTime = null, DateTimeOffset? minLastModifiedDateTime = null, DateTimeOffset? maxLastModifiedDateTime = null, int? maxPageSize = null, string skipToken = null, RequestOptions options = null) #pragma warning restore AZC0002 { - requestOptions ??= new RequestOptions(); - HttpMessage message = CreateListByFarmerIdRequest(farmerId, minTillageDepth, maxTillageDepth, minTillagePressure, maxTillagePressure, sources, associatedBoundaryIds, operationBoundaryIds, minOperationStartDateTime, maxOperationStartDateTime, minOperationEndDateTime, maxOperationEndDateTime, minOperationModifiedDateTime, maxOperationModifiedDateTime, minArea, maxArea, ids, names, propertyFilters, statuses, minCreatedDateTime, maxCreatedDateTime, minLastModifiedDateTime, maxLastModifiedDateTime, maxPageSize, skipToken, requestOptions); - if (requestOptions.PerCallPolicy != null) + options ??= new RequestOptions(); + HttpMessage message = CreateListByFarmerIdRequest(farmerId, minTillageDepth, maxTillageDepth, minTillagePressure, maxTillagePressure, sources, associatedBoundaryIds, operationBoundaryIds, minOperationStartDateTime, maxOperationStartDateTime, minOperationEndDateTime, maxOperationEndDateTime, minOperationModifiedDateTime, maxOperationModifiedDateTime, minArea, maxArea, ids, names, propertyFilters, statuses, minCreatedDateTime, maxCreatedDateTime, minLastModifiedDateTime, maxLastModifiedDateTime, maxPageSize, skipToken, options); + if (options.PerCallPolicy != null) { - message.SetProperty("RequestOptionsPerCallPolicyCallback", requestOptions.PerCallPolicy); + message.SetProperty("RequestOptionsPerCallPolicyCallback", options.PerCallPolicy); } using var scope = _clientDiagnostics.CreateScope("TillageDataClient.ListByFarmerId"); scope.Start(); try { - Pipeline.Send(message, requestOptions.CancellationToken); - if (requestOptions.StatusOption == ResponseStatusOption.Default) + Pipeline.Send(message, options.CancellationToken); + if (options.StatusOption == ResponseStatusOption.Default) { switch (message.Response.Status) { @@ -235,8 +235,8 @@ public virtual Response ListByFarmerId(string farmerId, double? minTillageDepth /// Minimum = 10, Maximum = 1000, Default value = 50. /// /// Skip token for getting next set of results. - /// The request options. - private HttpMessage CreateListByFarmerIdRequest(string farmerId, double? minTillageDepth = null, double? maxTillageDepth = null, double? minTillagePressure = null, double? maxTillagePressure = null, IEnumerable sources = null, IEnumerable associatedBoundaryIds = null, IEnumerable operationBoundaryIds = null, DateTimeOffset? minOperationStartDateTime = null, DateTimeOffset? maxOperationStartDateTime = null, DateTimeOffset? minOperationEndDateTime = null, DateTimeOffset? maxOperationEndDateTime = null, DateTimeOffset? minOperationModifiedDateTime = null, DateTimeOffset? maxOperationModifiedDateTime = null, double? minArea = null, double? maxArea = null, IEnumerable ids = null, IEnumerable names = null, IEnumerable propertyFilters = null, IEnumerable statuses = null, DateTimeOffset? minCreatedDateTime = null, DateTimeOffset? maxCreatedDateTime = null, DateTimeOffset? minLastModifiedDateTime = null, DateTimeOffset? maxLastModifiedDateTime = null, int? maxPageSize = null, string skipToken = null, RequestOptions requestOptions = null) + /// The request options. + private HttpMessage CreateListByFarmerIdRequest(string farmerId, double? minTillageDepth = null, double? maxTillageDepth = null, double? minTillagePressure = null, double? maxTillagePressure = null, IEnumerable sources = null, IEnumerable associatedBoundaryIds = null, IEnumerable operationBoundaryIds = null, DateTimeOffset? minOperationStartDateTime = null, DateTimeOffset? maxOperationStartDateTime = null, DateTimeOffset? minOperationEndDateTime = null, DateTimeOffset? maxOperationEndDateTime = null, DateTimeOffset? minOperationModifiedDateTime = null, DateTimeOffset? maxOperationModifiedDateTime = null, double? minArea = null, double? maxArea = null, IEnumerable ids = null, IEnumerable names = null, IEnumerable propertyFilters = null, IEnumerable statuses = null, DateTimeOffset? minCreatedDateTime = null, DateTimeOffset? maxCreatedDateTime = null, DateTimeOffset? minLastModifiedDateTime = null, DateTimeOffset? maxLastModifiedDateTime = null, int? maxPageSize = null, string skipToken = null, RequestOptions options = null) { var message = Pipeline.CreateMessage(); var request = message.Request; @@ -386,23 +386,23 @@ private HttpMessage CreateListByFarmerIdRequest(string farmerId, double? minTill /// Minimum = 10, Maximum = 1000, Default value = 50. /// /// Skip token for getting next set of results. - /// The request options. + /// The request options. #pragma warning disable AZC0002 - public virtual async Task ListAsync(double? minTillageDepth = null, double? maxTillageDepth = null, double? minTillagePressure = null, double? maxTillagePressure = null, IEnumerable sources = null, IEnumerable associatedBoundaryIds = null, IEnumerable operationBoundaryIds = null, DateTimeOffset? minOperationStartDateTime = null, DateTimeOffset? maxOperationStartDateTime = null, DateTimeOffset? minOperationEndDateTime = null, DateTimeOffset? maxOperationEndDateTime = null, DateTimeOffset? minOperationModifiedDateTime = null, DateTimeOffset? maxOperationModifiedDateTime = null, double? minArea = null, double? maxArea = null, IEnumerable ids = null, IEnumerable names = null, IEnumerable propertyFilters = null, IEnumerable statuses = null, DateTimeOffset? minCreatedDateTime = null, DateTimeOffset? maxCreatedDateTime = null, DateTimeOffset? minLastModifiedDateTime = null, DateTimeOffset? maxLastModifiedDateTime = null, int? maxPageSize = null, string skipToken = null, RequestOptions requestOptions = null) + public virtual async Task ListAsync(double? minTillageDepth = null, double? maxTillageDepth = null, double? minTillagePressure = null, double? maxTillagePressure = null, IEnumerable sources = null, IEnumerable associatedBoundaryIds = null, IEnumerable operationBoundaryIds = null, DateTimeOffset? minOperationStartDateTime = null, DateTimeOffset? maxOperationStartDateTime = null, DateTimeOffset? minOperationEndDateTime = null, DateTimeOffset? maxOperationEndDateTime = null, DateTimeOffset? minOperationModifiedDateTime = null, DateTimeOffset? maxOperationModifiedDateTime = null, double? minArea = null, double? maxArea = null, IEnumerable ids = null, IEnumerable names = null, IEnumerable propertyFilters = null, IEnumerable statuses = null, DateTimeOffset? minCreatedDateTime = null, DateTimeOffset? maxCreatedDateTime = null, DateTimeOffset? minLastModifiedDateTime = null, DateTimeOffset? maxLastModifiedDateTime = null, int? maxPageSize = null, string skipToken = null, RequestOptions options = null) #pragma warning restore AZC0002 { - requestOptions ??= new RequestOptions(); - HttpMessage message = CreateListRequest(minTillageDepth, maxTillageDepth, minTillagePressure, maxTillagePressure, sources, associatedBoundaryIds, operationBoundaryIds, minOperationStartDateTime, maxOperationStartDateTime, minOperationEndDateTime, maxOperationEndDateTime, minOperationModifiedDateTime, maxOperationModifiedDateTime, minArea, maxArea, ids, names, propertyFilters, statuses, minCreatedDateTime, maxCreatedDateTime, minLastModifiedDateTime, maxLastModifiedDateTime, maxPageSize, skipToken, requestOptions); - if (requestOptions.PerCallPolicy != null) + options ??= new RequestOptions(); + HttpMessage message = CreateListRequest(minTillageDepth, maxTillageDepth, minTillagePressure, maxTillagePressure, sources, associatedBoundaryIds, operationBoundaryIds, minOperationStartDateTime, maxOperationStartDateTime, minOperationEndDateTime, maxOperationEndDateTime, minOperationModifiedDateTime, maxOperationModifiedDateTime, minArea, maxArea, ids, names, propertyFilters, statuses, minCreatedDateTime, maxCreatedDateTime, minLastModifiedDateTime, maxLastModifiedDateTime, maxPageSize, skipToken, options); + if (options.PerCallPolicy != null) { - message.SetProperty("RequestOptionsPerCallPolicyCallback", requestOptions.PerCallPolicy); + message.SetProperty("RequestOptionsPerCallPolicyCallback", options.PerCallPolicy); } using var scope = _clientDiagnostics.CreateScope("TillageDataClient.List"); scope.Start(); try { - await Pipeline.SendAsync(message, requestOptions.CancellationToken).ConfigureAwait(false); - if (requestOptions.StatusOption == ResponseStatusOption.Default) + await Pipeline.SendAsync(message, options.CancellationToken).ConfigureAwait(false); + if (options.StatusOption == ResponseStatusOption.Default) { switch (message.Response.Status) { @@ -458,23 +458,23 @@ public virtual async Task ListAsync(double? minTillageDepth = null, do /// Minimum = 10, Maximum = 1000, Default value = 50. /// /// Skip token for getting next set of results. - /// The request options. + /// The request options. #pragma warning disable AZC0002 - public virtual Response List(double? minTillageDepth = null, double? maxTillageDepth = null, double? minTillagePressure = null, double? maxTillagePressure = null, IEnumerable sources = null, IEnumerable associatedBoundaryIds = null, IEnumerable operationBoundaryIds = null, DateTimeOffset? minOperationStartDateTime = null, DateTimeOffset? maxOperationStartDateTime = null, DateTimeOffset? minOperationEndDateTime = null, DateTimeOffset? maxOperationEndDateTime = null, DateTimeOffset? minOperationModifiedDateTime = null, DateTimeOffset? maxOperationModifiedDateTime = null, double? minArea = null, double? maxArea = null, IEnumerable ids = null, IEnumerable names = null, IEnumerable propertyFilters = null, IEnumerable statuses = null, DateTimeOffset? minCreatedDateTime = null, DateTimeOffset? maxCreatedDateTime = null, DateTimeOffset? minLastModifiedDateTime = null, DateTimeOffset? maxLastModifiedDateTime = null, int? maxPageSize = null, string skipToken = null, RequestOptions requestOptions = null) + public virtual Response List(double? minTillageDepth = null, double? maxTillageDepth = null, double? minTillagePressure = null, double? maxTillagePressure = null, IEnumerable sources = null, IEnumerable associatedBoundaryIds = null, IEnumerable operationBoundaryIds = null, DateTimeOffset? minOperationStartDateTime = null, DateTimeOffset? maxOperationStartDateTime = null, DateTimeOffset? minOperationEndDateTime = null, DateTimeOffset? maxOperationEndDateTime = null, DateTimeOffset? minOperationModifiedDateTime = null, DateTimeOffset? maxOperationModifiedDateTime = null, double? minArea = null, double? maxArea = null, IEnumerable ids = null, IEnumerable names = null, IEnumerable propertyFilters = null, IEnumerable statuses = null, DateTimeOffset? minCreatedDateTime = null, DateTimeOffset? maxCreatedDateTime = null, DateTimeOffset? minLastModifiedDateTime = null, DateTimeOffset? maxLastModifiedDateTime = null, int? maxPageSize = null, string skipToken = null, RequestOptions options = null) #pragma warning restore AZC0002 { - requestOptions ??= new RequestOptions(); - HttpMessage message = CreateListRequest(minTillageDepth, maxTillageDepth, minTillagePressure, maxTillagePressure, sources, associatedBoundaryIds, operationBoundaryIds, minOperationStartDateTime, maxOperationStartDateTime, minOperationEndDateTime, maxOperationEndDateTime, minOperationModifiedDateTime, maxOperationModifiedDateTime, minArea, maxArea, ids, names, propertyFilters, statuses, minCreatedDateTime, maxCreatedDateTime, minLastModifiedDateTime, maxLastModifiedDateTime, maxPageSize, skipToken, requestOptions); - if (requestOptions.PerCallPolicy != null) + options ??= new RequestOptions(); + HttpMessage message = CreateListRequest(minTillageDepth, maxTillageDepth, minTillagePressure, maxTillagePressure, sources, associatedBoundaryIds, operationBoundaryIds, minOperationStartDateTime, maxOperationStartDateTime, minOperationEndDateTime, maxOperationEndDateTime, minOperationModifiedDateTime, maxOperationModifiedDateTime, minArea, maxArea, ids, names, propertyFilters, statuses, minCreatedDateTime, maxCreatedDateTime, minLastModifiedDateTime, maxLastModifiedDateTime, maxPageSize, skipToken, options); + if (options.PerCallPolicy != null) { - message.SetProperty("RequestOptionsPerCallPolicyCallback", requestOptions.PerCallPolicy); + message.SetProperty("RequestOptionsPerCallPolicyCallback", options.PerCallPolicy); } using var scope = _clientDiagnostics.CreateScope("TillageDataClient.List"); scope.Start(); try { - Pipeline.Send(message, requestOptions.CancellationToken); - if (requestOptions.StatusOption == ResponseStatusOption.Default) + Pipeline.Send(message, options.CancellationToken); + if (options.StatusOption == ResponseStatusOption.Default) { switch (message.Response.Status) { @@ -530,8 +530,8 @@ public virtual Response List(double? minTillageDepth = null, double? maxTillageD /// Minimum = 10, Maximum = 1000, Default value = 50. /// /// Skip token for getting next set of results. - /// The request options. - private HttpMessage CreateListRequest(double? minTillageDepth = null, double? maxTillageDepth = null, double? minTillagePressure = null, double? maxTillagePressure = null, IEnumerable sources = null, IEnumerable associatedBoundaryIds = null, IEnumerable operationBoundaryIds = null, DateTimeOffset? minOperationStartDateTime = null, DateTimeOffset? maxOperationStartDateTime = null, DateTimeOffset? minOperationEndDateTime = null, DateTimeOffset? maxOperationEndDateTime = null, DateTimeOffset? minOperationModifiedDateTime = null, DateTimeOffset? maxOperationModifiedDateTime = null, double? minArea = null, double? maxArea = null, IEnumerable ids = null, IEnumerable names = null, IEnumerable propertyFilters = null, IEnumerable statuses = null, DateTimeOffset? minCreatedDateTime = null, DateTimeOffset? maxCreatedDateTime = null, DateTimeOffset? minLastModifiedDateTime = null, DateTimeOffset? maxLastModifiedDateTime = null, int? maxPageSize = null, string skipToken = null, RequestOptions requestOptions = null) + /// The request options. + private HttpMessage CreateListRequest(double? minTillageDepth = null, double? maxTillageDepth = null, double? minTillagePressure = null, double? maxTillagePressure = null, IEnumerable sources = null, IEnumerable associatedBoundaryIds = null, IEnumerable operationBoundaryIds = null, DateTimeOffset? minOperationStartDateTime = null, DateTimeOffset? maxOperationStartDateTime = null, DateTimeOffset? minOperationEndDateTime = null, DateTimeOffset? maxOperationEndDateTime = null, DateTimeOffset? minOperationModifiedDateTime = null, DateTimeOffset? maxOperationModifiedDateTime = null, double? minArea = null, double? maxArea = null, IEnumerable ids = null, IEnumerable names = null, IEnumerable propertyFilters = null, IEnumerable statuses = null, DateTimeOffset? minCreatedDateTime = null, DateTimeOffset? maxCreatedDateTime = null, DateTimeOffset? minLastModifiedDateTime = null, DateTimeOffset? maxLastModifiedDateTime = null, int? maxPageSize = null, string skipToken = null, RequestOptions options = null) { var message = Pipeline.CreateMessage(); var request = message.Request; @@ -648,23 +648,23 @@ private HttpMessage CreateListRequest(double? minTillageDepth = null, double? ma /// Get a specified tillage data resource under a particular farmer. /// ID of the associated farmer resource. /// ID of the tillage data resource. - /// The request options. + /// The request options. #pragma warning disable AZC0002 - public virtual async Task GetAsync(string farmerId, string tillageDataId, RequestOptions requestOptions = null) + public virtual async Task GetAsync(string farmerId, string tillageDataId, RequestOptions options = null) #pragma warning restore AZC0002 { - requestOptions ??= new RequestOptions(); - HttpMessage message = CreateGetRequest(farmerId, tillageDataId, requestOptions); - if (requestOptions.PerCallPolicy != null) + options ??= new RequestOptions(); + HttpMessage message = CreateGetRequest(farmerId, tillageDataId, options); + if (options.PerCallPolicy != null) { - message.SetProperty("RequestOptionsPerCallPolicyCallback", requestOptions.PerCallPolicy); + message.SetProperty("RequestOptionsPerCallPolicyCallback", options.PerCallPolicy); } using var scope = _clientDiagnostics.CreateScope("TillageDataClient.Get"); scope.Start(); try { - await Pipeline.SendAsync(message, requestOptions.CancellationToken).ConfigureAwait(false); - if (requestOptions.StatusOption == ResponseStatusOption.Default) + await Pipeline.SendAsync(message, options.CancellationToken).ConfigureAwait(false); + if (options.StatusOption == ResponseStatusOption.Default) { switch (message.Response.Status) { @@ -689,23 +689,23 @@ public virtual async Task GetAsync(string farmerId, string tillageData /// Get a specified tillage data resource under a particular farmer. /// ID of the associated farmer resource. /// ID of the tillage data resource. - /// The request options. + /// The request options. #pragma warning disable AZC0002 - public virtual Response Get(string farmerId, string tillageDataId, RequestOptions requestOptions = null) + public virtual Response Get(string farmerId, string tillageDataId, RequestOptions options = null) #pragma warning restore AZC0002 { - requestOptions ??= new RequestOptions(); - HttpMessage message = CreateGetRequest(farmerId, tillageDataId, requestOptions); - if (requestOptions.PerCallPolicy != null) + options ??= new RequestOptions(); + HttpMessage message = CreateGetRequest(farmerId, tillageDataId, options); + if (options.PerCallPolicy != null) { - message.SetProperty("RequestOptionsPerCallPolicyCallback", requestOptions.PerCallPolicy); + message.SetProperty("RequestOptionsPerCallPolicyCallback", options.PerCallPolicy); } using var scope = _clientDiagnostics.CreateScope("TillageDataClient.Get"); scope.Start(); try { - Pipeline.Send(message, requestOptions.CancellationToken); - if (requestOptions.StatusOption == ResponseStatusOption.Default) + Pipeline.Send(message, options.CancellationToken); + if (options.StatusOption == ResponseStatusOption.Default) { switch (message.Response.Status) { @@ -730,8 +730,8 @@ public virtual Response Get(string farmerId, string tillageDataId, RequestOption /// Create Request for and operations. /// ID of the associated farmer resource. /// ID of the tillage data resource. - /// The request options. - private HttpMessage CreateGetRequest(string farmerId, string tillageDataId, RequestOptions requestOptions = null) + /// The request options. + private HttpMessage CreateGetRequest(string farmerId, string tillageDataId, RequestOptions options = null) { var message = Pipeline.CreateMessage(); var request = message.Request; @@ -752,12 +752,12 @@ private HttpMessage CreateGetRequest(string farmerId, string tillageDataId, Requ /// /// Schema for Request Body: /// - /// + /// /// Name /// Type /// Required /// Description - /// + /// /// /// tillageDepth /// Measure @@ -887,12 +887,12 @@ private HttpMessage CreateGetRequest(string farmerId, string tillageDataId, Requ /// /// Schema for Measure: /// - /// + /// /// Name /// Type /// Required /// Description - /// + /// /// /// unit /// string @@ -909,24 +909,24 @@ private HttpMessage CreateGetRequest(string farmerId, string tillageDataId, Requ /// /// ID of the associated farmer. /// ID of the tillage data resource. - /// The request body. - /// The request options. + /// The content to send as the body of the request. + /// The request options. #pragma warning disable AZC0002 - public virtual async Task CreateOrUpdateAsync(string farmerId, string tillageDataId, RequestContent requestBody, RequestOptions requestOptions = null) + public virtual async Task CreateOrUpdateAsync(string farmerId, string tillageDataId, RequestContent content, RequestOptions options = null) #pragma warning restore AZC0002 { - requestOptions ??= new RequestOptions(); - HttpMessage message = CreateCreateOrUpdateRequest(farmerId, tillageDataId, requestBody, requestOptions); - if (requestOptions.PerCallPolicy != null) + options ??= new RequestOptions(); + HttpMessage message = CreateCreateOrUpdateRequest(farmerId, tillageDataId, content, options); + if (options.PerCallPolicy != null) { - message.SetProperty("RequestOptionsPerCallPolicyCallback", requestOptions.PerCallPolicy); + message.SetProperty("RequestOptionsPerCallPolicyCallback", options.PerCallPolicy); } using var scope = _clientDiagnostics.CreateScope("TillageDataClient.CreateOrUpdate"); scope.Start(); try { - await Pipeline.SendAsync(message, requestOptions.CancellationToken).ConfigureAwait(false); - if (requestOptions.StatusOption == ResponseStatusOption.Default) + await Pipeline.SendAsync(message, options.CancellationToken).ConfigureAwait(false); + if (options.StatusOption == ResponseStatusOption.Default) { switch (message.Response.Status) { @@ -953,12 +953,12 @@ public virtual async Task CreateOrUpdateAsync(string farmerId, string /// /// Schema for Request Body: /// - /// + /// /// Name /// Type /// Required /// Description - /// + /// /// /// tillageDepth /// Measure @@ -1088,12 +1088,12 @@ public virtual async Task CreateOrUpdateAsync(string farmerId, string /// /// Schema for Measure: /// - /// + /// /// Name /// Type /// Required /// Description - /// + /// /// /// unit /// string @@ -1110,24 +1110,24 @@ public virtual async Task CreateOrUpdateAsync(string farmerId, string /// /// ID of the associated farmer. /// ID of the tillage data resource. - /// The request body. - /// The request options. + /// The content to send as the body of the request. + /// The request options. #pragma warning disable AZC0002 - public virtual Response CreateOrUpdate(string farmerId, string tillageDataId, RequestContent requestBody, RequestOptions requestOptions = null) + public virtual Response CreateOrUpdate(string farmerId, string tillageDataId, RequestContent content, RequestOptions options = null) #pragma warning restore AZC0002 { - requestOptions ??= new RequestOptions(); - HttpMessage message = CreateCreateOrUpdateRequest(farmerId, tillageDataId, requestBody, requestOptions); - if (requestOptions.PerCallPolicy != null) + options ??= new RequestOptions(); + HttpMessage message = CreateCreateOrUpdateRequest(farmerId, tillageDataId, content, options); + if (options.PerCallPolicy != null) { - message.SetProperty("RequestOptionsPerCallPolicyCallback", requestOptions.PerCallPolicy); + message.SetProperty("RequestOptionsPerCallPolicyCallback", options.PerCallPolicy); } using var scope = _clientDiagnostics.CreateScope("TillageDataClient.CreateOrUpdate"); scope.Start(); try { - Pipeline.Send(message, requestOptions.CancellationToken); - if (requestOptions.StatusOption == ResponseStatusOption.Default) + Pipeline.Send(message, options.CancellationToken); + if (options.StatusOption == ResponseStatusOption.Default) { switch (message.Response.Status) { @@ -1153,9 +1153,9 @@ public virtual Response CreateOrUpdate(string farmerId, string tillageDataId, Re /// Create Request for and operations. /// ID of the associated farmer. /// ID of the tillage data resource. - /// The request body. - /// The request options. - private HttpMessage CreateCreateOrUpdateRequest(string farmerId, string tillageDataId, RequestContent requestBody, RequestOptions requestOptions = null) + /// The content to send as the body of the request. + /// The request options. + private HttpMessage CreateCreateOrUpdateRequest(string farmerId, string tillageDataId, RequestContent content, RequestOptions options = null) { var message = Pipeline.CreateMessage(); var request = message.Request; @@ -1170,30 +1170,30 @@ private HttpMessage CreateCreateOrUpdateRequest(string farmerId, string tillageD request.Uri = uri; request.Headers.Add("Accept", "application/json"); request.Headers.Add("Content-Type", "application/merge-patch+json"); - request.Content = requestBody; + request.Content = content; return message; } /// Deletes a specified tillage data resource under a particular farmer. /// ID of the associated farmer resource. /// ID of the tillage data. - /// The request options. + /// The request options. #pragma warning disable AZC0002 - public virtual async Task DeleteAsync(string farmerId, string tillageDataId, RequestOptions requestOptions = null) + public virtual async Task DeleteAsync(string farmerId, string tillageDataId, RequestOptions options = null) #pragma warning restore AZC0002 { - requestOptions ??= new RequestOptions(); - HttpMessage message = CreateDeleteRequest(farmerId, tillageDataId, requestOptions); - if (requestOptions.PerCallPolicy != null) + options ??= new RequestOptions(); + HttpMessage message = CreateDeleteRequest(farmerId, tillageDataId, options); + if (options.PerCallPolicy != null) { - message.SetProperty("RequestOptionsPerCallPolicyCallback", requestOptions.PerCallPolicy); + message.SetProperty("RequestOptionsPerCallPolicyCallback", options.PerCallPolicy); } using var scope = _clientDiagnostics.CreateScope("TillageDataClient.Delete"); scope.Start(); try { - await Pipeline.SendAsync(message, requestOptions.CancellationToken).ConfigureAwait(false); - if (requestOptions.StatusOption == ResponseStatusOption.Default) + await Pipeline.SendAsync(message, options.CancellationToken).ConfigureAwait(false); + if (options.StatusOption == ResponseStatusOption.Default) { switch (message.Response.Status) { @@ -1218,23 +1218,23 @@ public virtual async Task DeleteAsync(string farmerId, string tillageD /// Deletes a specified tillage data resource under a particular farmer. /// ID of the associated farmer resource. /// ID of the tillage data. - /// The request options. + /// The request options. #pragma warning disable AZC0002 - public virtual Response Delete(string farmerId, string tillageDataId, RequestOptions requestOptions = null) + public virtual Response Delete(string farmerId, string tillageDataId, RequestOptions options = null) #pragma warning restore AZC0002 { - requestOptions ??= new RequestOptions(); - HttpMessage message = CreateDeleteRequest(farmerId, tillageDataId, requestOptions); - if (requestOptions.PerCallPolicy != null) + options ??= new RequestOptions(); + HttpMessage message = CreateDeleteRequest(farmerId, tillageDataId, options); + if (options.PerCallPolicy != null) { - message.SetProperty("RequestOptionsPerCallPolicyCallback", requestOptions.PerCallPolicy); + message.SetProperty("RequestOptionsPerCallPolicyCallback", options.PerCallPolicy); } using var scope = _clientDiagnostics.CreateScope("TillageDataClient.Delete"); scope.Start(); try { - Pipeline.Send(message, requestOptions.CancellationToken); - if (requestOptions.StatusOption == ResponseStatusOption.Default) + Pipeline.Send(message, options.CancellationToken); + if (options.StatusOption == ResponseStatusOption.Default) { switch (message.Response.Status) { @@ -1259,8 +1259,8 @@ public virtual Response Delete(string farmerId, string tillageDataId, RequestOpt /// Create Request for and operations. /// ID of the associated farmer resource. /// ID of the tillage data. - /// The request options. - private HttpMessage CreateDeleteRequest(string farmerId, string tillageDataId, RequestOptions requestOptions = null) + /// The request options. + private HttpMessage CreateDeleteRequest(string farmerId, string tillageDataId, RequestOptions options = null) { var message = Pipeline.CreateMessage(); var request = message.Request; diff --git a/sdk/agrifood/Azure.Verticals.AgriFood.Farming/src/Generated/WeatherClient.cs b/sdk/agrifood/Azure.Verticals.AgriFood.Farming/src/Generated/WeatherClient.cs index a7c0b1c2f820..0d7e60e61c6c 100644 --- a/sdk/agrifood/Azure.Verticals.AgriFood.Farming/src/Generated/WeatherClient.cs +++ b/sdk/agrifood/Azure.Verticals.AgriFood.Farming/src/Generated/WeatherClient.cs @@ -67,23 +67,23 @@ public WeatherClient(Uri endpoint, TokenCredential credential, FarmBeatsClientOp /// Minimum = 10, Maximum = 1000, Default value = 50. /// /// Skip token for getting next set of results. - /// The request options. + /// The request options. #pragma warning disable AZC0002 - public virtual async Task ListAsync(string farmerId, string boundaryId, string extensionId, string weatherDataType, string granularity, DateTimeOffset? startDateTime = null, DateTimeOffset? endDateTime = null, int? maxPageSize = null, string skipToken = null, RequestOptions requestOptions = null) + public virtual async Task ListAsync(string farmerId, string boundaryId, string extensionId, string weatherDataType, string granularity, DateTimeOffset? startDateTime = null, DateTimeOffset? endDateTime = null, int? maxPageSize = null, string skipToken = null, RequestOptions options = null) #pragma warning restore AZC0002 { - requestOptions ??= new RequestOptions(); - HttpMessage message = CreateListRequest(farmerId, boundaryId, extensionId, weatherDataType, granularity, startDateTime, endDateTime, maxPageSize, skipToken, requestOptions); - if (requestOptions.PerCallPolicy != null) + options ??= new RequestOptions(); + HttpMessage message = CreateListRequest(farmerId, boundaryId, extensionId, weatherDataType, granularity, startDateTime, endDateTime, maxPageSize, skipToken, options); + if (options.PerCallPolicy != null) { - message.SetProperty("RequestOptionsPerCallPolicyCallback", requestOptions.PerCallPolicy); + message.SetProperty("RequestOptionsPerCallPolicyCallback", options.PerCallPolicy); } using var scope = _clientDiagnostics.CreateScope("WeatherClient.List"); scope.Start(); try { - await Pipeline.SendAsync(message, requestOptions.CancellationToken).ConfigureAwait(false); - if (requestOptions.StatusOption == ResponseStatusOption.Default) + await Pipeline.SendAsync(message, options.CancellationToken).ConfigureAwait(false); + if (options.StatusOption == ResponseStatusOption.Default) { switch (message.Response.Status) { @@ -119,23 +119,23 @@ public virtual async Task ListAsync(string farmerId, string boundaryId /// Minimum = 10, Maximum = 1000, Default value = 50. /// /// Skip token for getting next set of results. - /// The request options. + /// The request options. #pragma warning disable AZC0002 - public virtual Response List(string farmerId, string boundaryId, string extensionId, string weatherDataType, string granularity, DateTimeOffset? startDateTime = null, DateTimeOffset? endDateTime = null, int? maxPageSize = null, string skipToken = null, RequestOptions requestOptions = null) + public virtual Response List(string farmerId, string boundaryId, string extensionId, string weatherDataType, string granularity, DateTimeOffset? startDateTime = null, DateTimeOffset? endDateTime = null, int? maxPageSize = null, string skipToken = null, RequestOptions options = null) #pragma warning restore AZC0002 { - requestOptions ??= new RequestOptions(); - HttpMessage message = CreateListRequest(farmerId, boundaryId, extensionId, weatherDataType, granularity, startDateTime, endDateTime, maxPageSize, skipToken, requestOptions); - if (requestOptions.PerCallPolicy != null) + options ??= new RequestOptions(); + HttpMessage message = CreateListRequest(farmerId, boundaryId, extensionId, weatherDataType, granularity, startDateTime, endDateTime, maxPageSize, skipToken, options); + if (options.PerCallPolicy != null) { - message.SetProperty("RequestOptionsPerCallPolicyCallback", requestOptions.PerCallPolicy); + message.SetProperty("RequestOptionsPerCallPolicyCallback", options.PerCallPolicy); } using var scope = _clientDiagnostics.CreateScope("WeatherClient.List"); scope.Start(); try { - Pipeline.Send(message, requestOptions.CancellationToken); - if (requestOptions.StatusOption == ResponseStatusOption.Default) + Pipeline.Send(message, options.CancellationToken); + if (options.StatusOption == ResponseStatusOption.Default) { switch (message.Response.Status) { @@ -171,8 +171,8 @@ public virtual Response List(string farmerId, string boundaryId, string extensio /// Minimum = 10, Maximum = 1000, Default value = 50. /// /// Skip token for getting next set of results. - /// The request options. - private HttpMessage CreateListRequest(string farmerId, string boundaryId, string extensionId, string weatherDataType, string granularity, DateTimeOffset? startDateTime = null, DateTimeOffset? endDateTime = null, int? maxPageSize = null, string skipToken = null, RequestOptions requestOptions = null) + /// The request options. + private HttpMessage CreateListRequest(string farmerId, string boundaryId, string extensionId, string weatherDataType, string granularity, DateTimeOffset? startDateTime = null, DateTimeOffset? endDateTime = null, int? maxPageSize = null, string skipToken = null, RequestOptions options = null) { var message = Pipeline.CreateMessage(); var request = message.Request; @@ -209,23 +209,23 @@ private HttpMessage CreateListRequest(string farmerId, string boundaryId, string /// Get weather ingestion job. /// ID of the job. - /// The request options. + /// The request options. #pragma warning disable AZC0002 - public virtual async Task GetDataIngestionJobDetailsAsync(string jobId, RequestOptions requestOptions = null) + public virtual async Task GetDataIngestionJobDetailsAsync(string jobId, RequestOptions options = null) #pragma warning restore AZC0002 { - requestOptions ??= new RequestOptions(); - HttpMessage message = CreateGetDataIngestionJobDetailsRequest(jobId, requestOptions); - if (requestOptions.PerCallPolicy != null) + options ??= new RequestOptions(); + HttpMessage message = CreateGetDataIngestionJobDetailsRequest(jobId, options); + if (options.PerCallPolicy != null) { - message.SetProperty("RequestOptionsPerCallPolicyCallback", requestOptions.PerCallPolicy); + message.SetProperty("RequestOptionsPerCallPolicyCallback", options.PerCallPolicy); } using var scope = _clientDiagnostics.CreateScope("WeatherClient.GetDataIngestionJobDetails"); scope.Start(); try { - await Pipeline.SendAsync(message, requestOptions.CancellationToken).ConfigureAwait(false); - if (requestOptions.StatusOption == ResponseStatusOption.Default) + await Pipeline.SendAsync(message, options.CancellationToken).ConfigureAwait(false); + if (options.StatusOption == ResponseStatusOption.Default) { switch (message.Response.Status) { @@ -249,23 +249,23 @@ public virtual async Task GetDataIngestionJobDetailsAsync(string jobId /// Get weather ingestion job. /// ID of the job. - /// The request options. + /// The request options. #pragma warning disable AZC0002 - public virtual Response GetDataIngestionJobDetails(string jobId, RequestOptions requestOptions = null) + public virtual Response GetDataIngestionJobDetails(string jobId, RequestOptions options = null) #pragma warning restore AZC0002 { - requestOptions ??= new RequestOptions(); - HttpMessage message = CreateGetDataIngestionJobDetailsRequest(jobId, requestOptions); - if (requestOptions.PerCallPolicy != null) + options ??= new RequestOptions(); + HttpMessage message = CreateGetDataIngestionJobDetailsRequest(jobId, options); + if (options.PerCallPolicy != null) { - message.SetProperty("RequestOptionsPerCallPolicyCallback", requestOptions.PerCallPolicy); + message.SetProperty("RequestOptionsPerCallPolicyCallback", options.PerCallPolicy); } using var scope = _clientDiagnostics.CreateScope("WeatherClient.GetDataIngestionJobDetails"); scope.Start(); try { - Pipeline.Send(message, requestOptions.CancellationToken); - if (requestOptions.StatusOption == ResponseStatusOption.Default) + Pipeline.Send(message, options.CancellationToken); + if (options.StatusOption == ResponseStatusOption.Default) { switch (message.Response.Status) { @@ -289,8 +289,8 @@ public virtual Response GetDataIngestionJobDetails(string jobId, RequestOptions /// Create Request for and operations. /// ID of the job. - /// The request options. - private HttpMessage CreateGetDataIngestionJobDetailsRequest(string jobId, RequestOptions requestOptions = null) + /// The request options. + private HttpMessage CreateGetDataIngestionJobDetailsRequest(string jobId, RequestOptions options = null) { var message = Pipeline.CreateMessage(); var request = message.Request; @@ -309,12 +309,12 @@ private HttpMessage CreateGetDataIngestionJobDetailsRequest(string jobId, Reques /// /// Schema for Request Body: /// - /// + /// /// Name /// Type /// Required /// Description - /// + /// /// /// boundaryId /// string @@ -438,24 +438,24 @@ private HttpMessage CreateGetDataIngestionJobDetailsRequest(string jobId, Reques /// /// /// Job id supplied by user. - /// The request body. - /// The request options. + /// The content to send as the body of the request. + /// The request options. #pragma warning disable AZC0002 - public virtual async Task CreateDataIngestionJobAsync(string jobId, RequestContent requestBody, RequestOptions requestOptions = null) + public virtual async Task CreateDataIngestionJobAsync(string jobId, RequestContent content, RequestOptions options = null) #pragma warning restore AZC0002 { - requestOptions ??= new RequestOptions(); - HttpMessage message = CreateCreateDataIngestionJobRequest(jobId, requestBody, requestOptions); - if (requestOptions.PerCallPolicy != null) + options ??= new RequestOptions(); + HttpMessage message = CreateCreateDataIngestionJobRequest(jobId, content, options); + if (options.PerCallPolicy != null) { - message.SetProperty("RequestOptionsPerCallPolicyCallback", requestOptions.PerCallPolicy); + message.SetProperty("RequestOptionsPerCallPolicyCallback", options.PerCallPolicy); } using var scope = _clientDiagnostics.CreateScope("WeatherClient.CreateDataIngestionJob"); scope.Start(); try { - await Pipeline.SendAsync(message, requestOptions.CancellationToken).ConfigureAwait(false); - if (requestOptions.StatusOption == ResponseStatusOption.Default) + await Pipeline.SendAsync(message, options.CancellationToken).ConfigureAwait(false); + if (options.StatusOption == ResponseStatusOption.Default) { switch (message.Response.Status) { @@ -481,12 +481,12 @@ public virtual async Task CreateDataIngestionJobAsync(string jobId, Re /// /// Schema for Request Body: /// - /// + /// /// Name /// Type /// Required /// Description - /// + /// /// /// boundaryId /// string @@ -610,24 +610,24 @@ public virtual async Task CreateDataIngestionJobAsync(string jobId, Re /// /// /// Job id supplied by user. - /// The request body. - /// The request options. + /// The content to send as the body of the request. + /// The request options. #pragma warning disable AZC0002 - public virtual Response CreateDataIngestionJob(string jobId, RequestContent requestBody, RequestOptions requestOptions = null) + public virtual Response CreateDataIngestionJob(string jobId, RequestContent content, RequestOptions options = null) #pragma warning restore AZC0002 { - requestOptions ??= new RequestOptions(); - HttpMessage message = CreateCreateDataIngestionJobRequest(jobId, requestBody, requestOptions); - if (requestOptions.PerCallPolicy != null) + options ??= new RequestOptions(); + HttpMessage message = CreateCreateDataIngestionJobRequest(jobId, content, options); + if (options.PerCallPolicy != null) { - message.SetProperty("RequestOptionsPerCallPolicyCallback", requestOptions.PerCallPolicy); + message.SetProperty("RequestOptionsPerCallPolicyCallback", options.PerCallPolicy); } using var scope = _clientDiagnostics.CreateScope("WeatherClient.CreateDataIngestionJob"); scope.Start(); try { - Pipeline.Send(message, requestOptions.CancellationToken); - if (requestOptions.StatusOption == ResponseStatusOption.Default) + Pipeline.Send(message, options.CancellationToken); + if (options.StatusOption == ResponseStatusOption.Default) { switch (message.Response.Status) { @@ -651,9 +651,9 @@ public virtual Response CreateDataIngestionJob(string jobId, RequestContent requ /// Create Request for and operations. /// Job id supplied by user. - /// The request body. - /// The request options. - private HttpMessage CreateCreateDataIngestionJobRequest(string jobId, RequestContent requestBody, RequestOptions requestOptions = null) + /// The content to send as the body of the request. + /// The request options. + private HttpMessage CreateCreateDataIngestionJobRequest(string jobId, RequestContent content, RequestOptions options = null) { var message = Pipeline.CreateMessage(); var request = message.Request; @@ -666,29 +666,29 @@ private HttpMessage CreateCreateDataIngestionJobRequest(string jobId, RequestCon request.Uri = uri; request.Headers.Add("Accept", "application/json"); request.Headers.Add("Content-Type", "application/json"); - request.Content = requestBody; + request.Content = content; return message; } /// Get weather data delete job. /// ID of the job. - /// The request options. + /// The request options. #pragma warning disable AZC0002 - public virtual async Task GetDataDeleteJobDetailsAsync(string jobId, RequestOptions requestOptions = null) + public virtual async Task GetDataDeleteJobDetailsAsync(string jobId, RequestOptions options = null) #pragma warning restore AZC0002 { - requestOptions ??= new RequestOptions(); - HttpMessage message = CreateGetDataDeleteJobDetailsRequest(jobId, requestOptions); - if (requestOptions.PerCallPolicy != null) + options ??= new RequestOptions(); + HttpMessage message = CreateGetDataDeleteJobDetailsRequest(jobId, options); + if (options.PerCallPolicy != null) { - message.SetProperty("RequestOptionsPerCallPolicyCallback", requestOptions.PerCallPolicy); + message.SetProperty("RequestOptionsPerCallPolicyCallback", options.PerCallPolicy); } using var scope = _clientDiagnostics.CreateScope("WeatherClient.GetDataDeleteJobDetails"); scope.Start(); try { - await Pipeline.SendAsync(message, requestOptions.CancellationToken).ConfigureAwait(false); - if (requestOptions.StatusOption == ResponseStatusOption.Default) + await Pipeline.SendAsync(message, options.CancellationToken).ConfigureAwait(false); + if (options.StatusOption == ResponseStatusOption.Default) { switch (message.Response.Status) { @@ -712,23 +712,23 @@ public virtual async Task GetDataDeleteJobDetailsAsync(string jobId, R /// Get weather data delete job. /// ID of the job. - /// The request options. + /// The request options. #pragma warning disable AZC0002 - public virtual Response GetDataDeleteJobDetails(string jobId, RequestOptions requestOptions = null) + public virtual Response GetDataDeleteJobDetails(string jobId, RequestOptions options = null) #pragma warning restore AZC0002 { - requestOptions ??= new RequestOptions(); - HttpMessage message = CreateGetDataDeleteJobDetailsRequest(jobId, requestOptions); - if (requestOptions.PerCallPolicy != null) + options ??= new RequestOptions(); + HttpMessage message = CreateGetDataDeleteJobDetailsRequest(jobId, options); + if (options.PerCallPolicy != null) { - message.SetProperty("RequestOptionsPerCallPolicyCallback", requestOptions.PerCallPolicy); + message.SetProperty("RequestOptionsPerCallPolicyCallback", options.PerCallPolicy); } using var scope = _clientDiagnostics.CreateScope("WeatherClient.GetDataDeleteJobDetails"); scope.Start(); try { - Pipeline.Send(message, requestOptions.CancellationToken); - if (requestOptions.StatusOption == ResponseStatusOption.Default) + Pipeline.Send(message, options.CancellationToken); + if (options.StatusOption == ResponseStatusOption.Default) { switch (message.Response.Status) { @@ -752,8 +752,8 @@ public virtual Response GetDataDeleteJobDetails(string jobId, RequestOptions req /// Create Request for and operations. /// ID of the job. - /// The request options. - private HttpMessage CreateGetDataDeleteJobDetailsRequest(string jobId, RequestOptions requestOptions = null) + /// The request options. + private HttpMessage CreateGetDataDeleteJobDetailsRequest(string jobId, RequestOptions options = null) { var message = Pipeline.CreateMessage(); var request = message.Request; @@ -772,12 +772,12 @@ private HttpMessage CreateGetDataDeleteJobDetailsRequest(string jobId, RequestOp /// /// Schema for Request Body: /// - /// + /// /// Name /// Type /// Required /// Description - /// + /// /// /// extensionId /// string @@ -901,24 +901,24 @@ private HttpMessage CreateGetDataDeleteJobDetailsRequest(string jobId, RequestOp /// /// /// Job ID supplied by end user. - /// The request body. - /// The request options. + /// The content to send as the body of the request. + /// The request options. #pragma warning disable AZC0002 - public virtual async Task CreateDataDeleteJobAsync(string jobId, RequestContent requestBody, RequestOptions requestOptions = null) + public virtual async Task CreateDataDeleteJobAsync(string jobId, RequestContent content, RequestOptions options = null) #pragma warning restore AZC0002 { - requestOptions ??= new RequestOptions(); - HttpMessage message = CreateCreateDataDeleteJobRequest(jobId, requestBody, requestOptions); - if (requestOptions.PerCallPolicy != null) + options ??= new RequestOptions(); + HttpMessage message = CreateCreateDataDeleteJobRequest(jobId, content, options); + if (options.PerCallPolicy != null) { - message.SetProperty("RequestOptionsPerCallPolicyCallback", requestOptions.PerCallPolicy); + message.SetProperty("RequestOptionsPerCallPolicyCallback", options.PerCallPolicy); } using var scope = _clientDiagnostics.CreateScope("WeatherClient.CreateDataDeleteJob"); scope.Start(); try { - await Pipeline.SendAsync(message, requestOptions.CancellationToken).ConfigureAwait(false); - if (requestOptions.StatusOption == ResponseStatusOption.Default) + await Pipeline.SendAsync(message, options.CancellationToken).ConfigureAwait(false); + if (options.StatusOption == ResponseStatusOption.Default) { switch (message.Response.Status) { @@ -944,12 +944,12 @@ public virtual async Task CreateDataDeleteJobAsync(string jobId, Reque /// /// Schema for Request Body: /// - /// + /// /// Name /// Type /// Required /// Description - /// + /// /// /// extensionId /// string @@ -1073,24 +1073,24 @@ public virtual async Task CreateDataDeleteJobAsync(string jobId, Reque /// /// /// Job ID supplied by end user. - /// The request body. - /// The request options. + /// The content to send as the body of the request. + /// The request options. #pragma warning disable AZC0002 - public virtual Response CreateDataDeleteJob(string jobId, RequestContent requestBody, RequestOptions requestOptions = null) + public virtual Response CreateDataDeleteJob(string jobId, RequestContent content, RequestOptions options = null) #pragma warning restore AZC0002 { - requestOptions ??= new RequestOptions(); - HttpMessage message = CreateCreateDataDeleteJobRequest(jobId, requestBody, requestOptions); - if (requestOptions.PerCallPolicy != null) + options ??= new RequestOptions(); + HttpMessage message = CreateCreateDataDeleteJobRequest(jobId, content, options); + if (options.PerCallPolicy != null) { - message.SetProperty("RequestOptionsPerCallPolicyCallback", requestOptions.PerCallPolicy); + message.SetProperty("RequestOptionsPerCallPolicyCallback", options.PerCallPolicy); } using var scope = _clientDiagnostics.CreateScope("WeatherClient.CreateDataDeleteJob"); scope.Start(); try { - Pipeline.Send(message, requestOptions.CancellationToken); - if (requestOptions.StatusOption == ResponseStatusOption.Default) + Pipeline.Send(message, options.CancellationToken); + if (options.StatusOption == ResponseStatusOption.Default) { switch (message.Response.Status) { @@ -1114,9 +1114,9 @@ public virtual Response CreateDataDeleteJob(string jobId, RequestContent request /// Create Request for and operations. /// Job ID supplied by end user. - /// The request body. - /// The request options. - private HttpMessage CreateCreateDataDeleteJobRequest(string jobId, RequestContent requestBody, RequestOptions requestOptions = null) + /// The content to send as the body of the request. + /// The request options. + private HttpMessage CreateCreateDataDeleteJobRequest(string jobId, RequestContent content, RequestOptions options = null) { var message = Pipeline.CreateMessage(); var request = message.Request; @@ -1129,7 +1129,7 @@ private HttpMessage CreateCreateDataDeleteJobRequest(string jobId, RequestConten request.Uri = uri; request.Headers.Add("Accept", "application/json"); request.Headers.Add("Content-Type", "application/json"); - request.Content = requestBody; + request.Content = content; return message; } } diff --git a/sdk/confidentialledger/Azure.Security.ConfidentialLedger/api/Azure.Security.ConfidentialLedger.netstandard2.0.cs b/sdk/confidentialledger/Azure.Security.ConfidentialLedger/api/Azure.Security.ConfidentialLedger.netstandard2.0.cs index c60ad3e41986..3fd690026f24 100644 --- a/sdk/confidentialledger/Azure.Security.ConfidentialLedger/api/Azure.Security.ConfidentialLedger.netstandard2.0.cs +++ b/sdk/confidentialledger/Azure.Security.ConfidentialLedger/api/Azure.Security.ConfidentialLedger.netstandard2.0.cs @@ -5,30 +5,30 @@ public partial class ConfidentialLedgerClient protected ConfidentialLedgerClient() { } public ConfidentialLedgerClient(System.Uri ledgerUri, Azure.Core.TokenCredential credential, Azure.Security.ConfidentialLedger.ConfidentialLedgerClientOptions options = null) { } public virtual Azure.Core.Pipeline.HttpPipeline Pipeline { get { throw null; } } - public virtual Azure.Response CreateOrUpdateUser(string userId, Azure.Core.RequestContent requestBody, Azure.RequestOptions requestOptions = null) { throw null; } - public virtual System.Threading.Tasks.Task CreateOrUpdateUserAsync(string userId, Azure.Core.RequestContent requestBody, Azure.RequestOptions requestOptions = null) { throw null; } - public virtual Azure.Response DeleteUser(string userId, Azure.RequestOptions requestOptions = null) { throw null; } - public virtual System.Threading.Tasks.Task DeleteUserAsync(string userId, Azure.RequestOptions requestOptions = null) { throw null; } - public virtual Azure.Response GetConsortiumMembers(Azure.RequestOptions requestOptions = null) { throw null; } - public virtual System.Threading.Tasks.Task GetConsortiumMembersAsync(Azure.RequestOptions requestOptions = null) { throw null; } - public virtual Azure.Response GetConstitution(Azure.RequestOptions requestOptions = null) { throw null; } - public virtual System.Threading.Tasks.Task GetConstitutionAsync(Azure.RequestOptions requestOptions = null) { throw null; } - public virtual Azure.Response GetCurrentLedgerEntry(string subLedgerId = null, Azure.RequestOptions requestOptions = null) { throw null; } - public virtual System.Threading.Tasks.Task GetCurrentLedgerEntryAsync(string subLedgerId = null, Azure.RequestOptions requestOptions = null) { throw null; } - public virtual Azure.Response GetEnclaveQuotes(Azure.RequestOptions requestOptions = null) { throw null; } - public virtual System.Threading.Tasks.Task GetEnclaveQuotesAsync(Azure.RequestOptions requestOptions = null) { throw null; } - public virtual Azure.Response GetLedgerEntries(string subLedgerId = null, string fromTransactionId = null, string toTransactionId = null, Azure.RequestOptions requestOptions = null) { throw null; } - public virtual System.Threading.Tasks.Task GetLedgerEntriesAsync(string subLedgerId = null, string fromTransactionId = null, string toTransactionId = null, Azure.RequestOptions requestOptions = null) { throw null; } - public virtual Azure.Response GetLedgerEntry(string transactionId, string subLedgerId = null, Azure.RequestOptions requestOptions = null) { throw null; } - public virtual System.Threading.Tasks.Task GetLedgerEntryAsync(string transactionId, string subLedgerId = null, Azure.RequestOptions requestOptions = null) { throw null; } - public virtual Azure.Response GetReceipt(string transactionId, Azure.RequestOptions requestOptions = null) { throw null; } - public virtual System.Threading.Tasks.Task GetReceiptAsync(string transactionId, Azure.RequestOptions requestOptions = null) { throw null; } - public virtual Azure.Response GetTransactionStatus(string transactionId, Azure.RequestOptions requestOptions = null) { throw null; } - public virtual System.Threading.Tasks.Task GetTransactionStatusAsync(string transactionId, Azure.RequestOptions requestOptions = null) { throw null; } - public virtual Azure.Response GetUser(string userId, Azure.RequestOptions requestOptions = null) { throw null; } - public virtual System.Threading.Tasks.Task GetUserAsync(string userId, Azure.RequestOptions requestOptions = null) { throw null; } - public virtual Azure.Response PostLedgerEntry(Azure.Core.RequestContent requestBody, string subLedgerId = null, Azure.RequestOptions requestOptions = null) { throw null; } - public virtual System.Threading.Tasks.Task PostLedgerEntryAsync(Azure.Core.RequestContent requestBody, string subLedgerId = null, Azure.RequestOptions requestOptions = null) { throw null; } + public virtual Azure.Response CreateOrUpdateUser(string userId, Azure.Core.RequestContent content, Azure.RequestOptions options = null) { throw null; } + public virtual System.Threading.Tasks.Task CreateOrUpdateUserAsync(string userId, Azure.Core.RequestContent content, Azure.RequestOptions options = null) { throw null; } + public virtual Azure.Response DeleteUser(string userId, Azure.RequestOptions options = null) { throw null; } + public virtual System.Threading.Tasks.Task DeleteUserAsync(string userId, Azure.RequestOptions options = null) { throw null; } + public virtual Azure.Response GetConsortiumMembers(Azure.RequestOptions options = null) { throw null; } + public virtual System.Threading.Tasks.Task GetConsortiumMembersAsync(Azure.RequestOptions options = null) { throw null; } + public virtual Azure.Response GetConstitution(Azure.RequestOptions options = null) { throw null; } + public virtual System.Threading.Tasks.Task GetConstitutionAsync(Azure.RequestOptions options = null) { throw null; } + public virtual Azure.Response GetCurrentLedgerEntry(string subLedgerId = null, Azure.RequestOptions options = null) { throw null; } + public virtual System.Threading.Tasks.Task GetCurrentLedgerEntryAsync(string subLedgerId = null, Azure.RequestOptions options = null) { throw null; } + public virtual Azure.Response GetEnclaveQuotes(Azure.RequestOptions options = null) { throw null; } + public virtual System.Threading.Tasks.Task GetEnclaveQuotesAsync(Azure.RequestOptions options = null) { throw null; } + public virtual Azure.Response GetLedgerEntries(string subLedgerId = null, string fromTransactionId = null, string toTransactionId = null, Azure.RequestOptions options = null) { throw null; } + public virtual System.Threading.Tasks.Task GetLedgerEntriesAsync(string subLedgerId = null, string fromTransactionId = null, string toTransactionId = null, Azure.RequestOptions options = null) { throw null; } + public virtual Azure.Response GetLedgerEntry(string transactionId, string subLedgerId = null, Azure.RequestOptions options = null) { throw null; } + public virtual System.Threading.Tasks.Task GetLedgerEntryAsync(string transactionId, string subLedgerId = null, Azure.RequestOptions options = null) { throw null; } + public virtual Azure.Response GetReceipt(string transactionId, Azure.RequestOptions options = null) { throw null; } + public virtual System.Threading.Tasks.Task GetReceiptAsync(string transactionId, Azure.RequestOptions options = null) { throw null; } + public virtual Azure.Response GetTransactionStatus(string transactionId, Azure.RequestOptions options = null) { throw null; } + public virtual System.Threading.Tasks.Task GetTransactionStatusAsync(string transactionId, Azure.RequestOptions options = null) { throw null; } + public virtual Azure.Response GetUser(string userId, Azure.RequestOptions options = null) { throw null; } + public virtual System.Threading.Tasks.Task GetUserAsync(string userId, Azure.RequestOptions options = null) { throw null; } + public virtual Azure.Response PostLedgerEntry(Azure.Core.RequestContent content, string subLedgerId = null, Azure.RequestOptions options = null) { throw null; } + public virtual System.Threading.Tasks.Task PostLedgerEntryAsync(Azure.Core.RequestContent content, string subLedgerId = null, Azure.RequestOptions options = null) { throw null; } } public partial class ConfidentialLedgerClientOptions : Azure.Core.ClientOptions { @@ -47,7 +47,7 @@ public partial class ConfidentialLedgerIdentityServiceClient protected ConfidentialLedgerIdentityServiceClient() { } public ConfidentialLedgerIdentityServiceClient(System.Uri identityServiceUri, Azure.Security.ConfidentialLedger.ConfidentialLedgerClientOptions options = null) { } public virtual Azure.Core.Pipeline.HttpPipeline Pipeline { get { throw null; } } - public virtual Azure.Response GetLedgerIdentity(string ledgerId, Azure.RequestOptions requestOptions = null) { throw null; } - public virtual System.Threading.Tasks.Task GetLedgerIdentityAsync(string ledgerId, Azure.RequestOptions requestOptions = null) { throw null; } + public virtual Azure.Response GetLedgerIdentity(string ledgerId, Azure.RequestOptions options = null) { throw null; } + public virtual System.Threading.Tasks.Task GetLedgerIdentityAsync(string ledgerId, Azure.RequestOptions options = null) { throw null; } } } diff --git a/sdk/confidentialledger/Azure.Security.ConfidentialLedger/src/Generated/ConfidentialLedgerClient.cs b/sdk/confidentialledger/Azure.Security.ConfidentialLedger/src/Generated/ConfidentialLedgerClient.cs index 15770510a02f..1bf10e3bf54d 100644 --- a/sdk/confidentialledger/Azure.Security.ConfidentialLedger/src/Generated/ConfidentialLedgerClient.cs +++ b/sdk/confidentialledger/Azure.Security.ConfidentialLedger/src/Generated/ConfidentialLedgerClient.cs @@ -54,23 +54,23 @@ public ConfidentialLedgerClient(Uri ledgerUri, TokenCredential credential, Confi } /// The constitution is a script that assesses and applies proposals from consortium members. - /// The request options. + /// The request options. #pragma warning disable AZC0002 - public virtual async Task GetConstitutionAsync(RequestOptions requestOptions = null) + public virtual async Task GetConstitutionAsync(RequestOptions options = null) #pragma warning restore AZC0002 { - requestOptions ??= new RequestOptions(); - HttpMessage message = CreateGetConstitutionRequest(requestOptions); - if (requestOptions.PerCallPolicy != null) + options ??= new RequestOptions(); + HttpMessage message = CreateGetConstitutionRequest(options); + if (options.PerCallPolicy != null) { - message.SetProperty("RequestOptionsPerCallPolicyCallback", requestOptions.PerCallPolicy); + message.SetProperty("RequestOptionsPerCallPolicyCallback", options.PerCallPolicy); } using var scope = _clientDiagnostics.CreateScope("ConfidentialLedgerClient.GetConstitution"); scope.Start(); try { - await Pipeline.SendAsync(message, requestOptions.CancellationToken).ConfigureAwait(false); - if (requestOptions.StatusOption == ResponseStatusOption.Default) + await Pipeline.SendAsync(message, options.CancellationToken).ConfigureAwait(false); + if (options.StatusOption == ResponseStatusOption.Default) { switch (message.Response.Status) { @@ -93,23 +93,23 @@ public virtual async Task GetConstitutionAsync(RequestOptions requestO } /// The constitution is a script that assesses and applies proposals from consortium members. - /// The request options. + /// The request options. #pragma warning disable AZC0002 - public virtual Response GetConstitution(RequestOptions requestOptions = null) + public virtual Response GetConstitution(RequestOptions options = null) #pragma warning restore AZC0002 { - requestOptions ??= new RequestOptions(); - HttpMessage message = CreateGetConstitutionRequest(requestOptions); - if (requestOptions.PerCallPolicy != null) + options ??= new RequestOptions(); + HttpMessage message = CreateGetConstitutionRequest(options); + if (options.PerCallPolicy != null) { - message.SetProperty("RequestOptionsPerCallPolicyCallback", requestOptions.PerCallPolicy); + message.SetProperty("RequestOptionsPerCallPolicyCallback", options.PerCallPolicy); } using var scope = _clientDiagnostics.CreateScope("ConfidentialLedgerClient.GetConstitution"); scope.Start(); try { - Pipeline.Send(message, requestOptions.CancellationToken); - if (requestOptions.StatusOption == ResponseStatusOption.Default) + Pipeline.Send(message, options.CancellationToken); + if (options.StatusOption == ResponseStatusOption.Default) { switch (message.Response.Status) { @@ -132,8 +132,8 @@ public virtual Response GetConstitution(RequestOptions requestOptions = null) } /// Create Request for and operations. - /// The request options. - private HttpMessage CreateGetConstitutionRequest(RequestOptions requestOptions = null) + /// The request options. + private HttpMessage CreateGetConstitutionRequest(RequestOptions options = null) { var message = Pipeline.CreateMessage(); var request = message.Request; @@ -148,23 +148,23 @@ private HttpMessage CreateGetConstitutionRequest(RequestOptions requestOptions = } /// Consortium members can manage the Confidential Ledger. - /// The request options. + /// The request options. #pragma warning disable AZC0002 - public virtual async Task GetConsortiumMembersAsync(RequestOptions requestOptions = null) + public virtual async Task GetConsortiumMembersAsync(RequestOptions options = null) #pragma warning restore AZC0002 { - requestOptions ??= new RequestOptions(); - HttpMessage message = CreateGetConsortiumMembersRequest(requestOptions); - if (requestOptions.PerCallPolicy != null) + options ??= new RequestOptions(); + HttpMessage message = CreateGetConsortiumMembersRequest(options); + if (options.PerCallPolicy != null) { - message.SetProperty("RequestOptionsPerCallPolicyCallback", requestOptions.PerCallPolicy); + message.SetProperty("RequestOptionsPerCallPolicyCallback", options.PerCallPolicy); } using var scope = _clientDiagnostics.CreateScope("ConfidentialLedgerClient.GetConsortiumMembers"); scope.Start(); try { - await Pipeline.SendAsync(message, requestOptions.CancellationToken).ConfigureAwait(false); - if (requestOptions.StatusOption == ResponseStatusOption.Default) + await Pipeline.SendAsync(message, options.CancellationToken).ConfigureAwait(false); + if (options.StatusOption == ResponseStatusOption.Default) { switch (message.Response.Status) { @@ -187,23 +187,23 @@ public virtual async Task GetConsortiumMembersAsync(RequestOptions req } /// Consortium members can manage the Confidential Ledger. - /// The request options. + /// The request options. #pragma warning disable AZC0002 - public virtual Response GetConsortiumMembers(RequestOptions requestOptions = null) + public virtual Response GetConsortiumMembers(RequestOptions options = null) #pragma warning restore AZC0002 { - requestOptions ??= new RequestOptions(); - HttpMessage message = CreateGetConsortiumMembersRequest(requestOptions); - if (requestOptions.PerCallPolicy != null) + options ??= new RequestOptions(); + HttpMessage message = CreateGetConsortiumMembersRequest(options); + if (options.PerCallPolicy != null) { - message.SetProperty("RequestOptionsPerCallPolicyCallback", requestOptions.PerCallPolicy); + message.SetProperty("RequestOptionsPerCallPolicyCallback", options.PerCallPolicy); } using var scope = _clientDiagnostics.CreateScope("ConfidentialLedgerClient.GetConsortiumMembers"); scope.Start(); try { - Pipeline.Send(message, requestOptions.CancellationToken); - if (requestOptions.StatusOption == ResponseStatusOption.Default) + Pipeline.Send(message, options.CancellationToken); + if (options.StatusOption == ResponseStatusOption.Default) { switch (message.Response.Status) { @@ -226,8 +226,8 @@ public virtual Response GetConsortiumMembers(RequestOptions requestOptions = nul } /// Create Request for and operations. - /// The request options. - private HttpMessage CreateGetConsortiumMembersRequest(RequestOptions requestOptions = null) + /// The request options. + private HttpMessage CreateGetConsortiumMembersRequest(RequestOptions options = null) { var message = Pipeline.CreateMessage(); var request = message.Request; @@ -242,23 +242,23 @@ private HttpMessage CreateGetConsortiumMembersRequest(RequestOptions requestOpti } /// A quote is an SGX enclave measurement that can be used to verify the validity of a node and its enclave. - /// The request options. + /// The request options. #pragma warning disable AZC0002 - public virtual async Task GetEnclaveQuotesAsync(RequestOptions requestOptions = null) + public virtual async Task GetEnclaveQuotesAsync(RequestOptions options = null) #pragma warning restore AZC0002 { - requestOptions ??= new RequestOptions(); - HttpMessage message = CreateGetEnclaveQuotesRequest(requestOptions); - if (requestOptions.PerCallPolicy != null) + options ??= new RequestOptions(); + HttpMessage message = CreateGetEnclaveQuotesRequest(options); + if (options.PerCallPolicy != null) { - message.SetProperty("RequestOptionsPerCallPolicyCallback", requestOptions.PerCallPolicy); + message.SetProperty("RequestOptionsPerCallPolicyCallback", options.PerCallPolicy); } using var scope = _clientDiagnostics.CreateScope("ConfidentialLedgerClient.GetEnclaveQuotes"); scope.Start(); try { - await Pipeline.SendAsync(message, requestOptions.CancellationToken).ConfigureAwait(false); - if (requestOptions.StatusOption == ResponseStatusOption.Default) + await Pipeline.SendAsync(message, options.CancellationToken).ConfigureAwait(false); + if (options.StatusOption == ResponseStatusOption.Default) { switch (message.Response.Status) { @@ -281,23 +281,23 @@ public virtual async Task GetEnclaveQuotesAsync(RequestOptions request } /// A quote is an SGX enclave measurement that can be used to verify the validity of a node and its enclave. - /// The request options. + /// The request options. #pragma warning disable AZC0002 - public virtual Response GetEnclaveQuotes(RequestOptions requestOptions = null) + public virtual Response GetEnclaveQuotes(RequestOptions options = null) #pragma warning restore AZC0002 { - requestOptions ??= new RequestOptions(); - HttpMessage message = CreateGetEnclaveQuotesRequest(requestOptions); - if (requestOptions.PerCallPolicy != null) + options ??= new RequestOptions(); + HttpMessage message = CreateGetEnclaveQuotesRequest(options); + if (options.PerCallPolicy != null) { - message.SetProperty("RequestOptionsPerCallPolicyCallback", requestOptions.PerCallPolicy); + message.SetProperty("RequestOptionsPerCallPolicyCallback", options.PerCallPolicy); } using var scope = _clientDiagnostics.CreateScope("ConfidentialLedgerClient.GetEnclaveQuotes"); scope.Start(); try { - Pipeline.Send(message, requestOptions.CancellationToken); - if (requestOptions.StatusOption == ResponseStatusOption.Default) + Pipeline.Send(message, options.CancellationToken); + if (options.StatusOption == ResponseStatusOption.Default) { switch (message.Response.Status) { @@ -320,8 +320,8 @@ public virtual Response GetEnclaveQuotes(RequestOptions requestOptions = null) } /// Create Request for and operations. - /// The request options. - private HttpMessage CreateGetEnclaveQuotesRequest(RequestOptions requestOptions = null) + /// The request options. + private HttpMessage CreateGetEnclaveQuotesRequest(RequestOptions options = null) { var message = Pipeline.CreateMessage(); var request = message.Request; @@ -339,23 +339,23 @@ private HttpMessage CreateGetEnclaveQuotesRequest(RequestOptions requestOptions /// The sub-ledger id. /// Specify the first transaction ID in a range. /// Specify the last transaction ID in a range. - /// The request options. + /// The request options. #pragma warning disable AZC0002 - public virtual async Task GetLedgerEntriesAsync(string subLedgerId = null, string fromTransactionId = null, string toTransactionId = null, RequestOptions requestOptions = null) + public virtual async Task GetLedgerEntriesAsync(string subLedgerId = null, string fromTransactionId = null, string toTransactionId = null, RequestOptions options = null) #pragma warning restore AZC0002 { - requestOptions ??= new RequestOptions(); - HttpMessage message = CreateGetLedgerEntriesRequest(subLedgerId, fromTransactionId, toTransactionId, requestOptions); - if (requestOptions.PerCallPolicy != null) + options ??= new RequestOptions(); + HttpMessage message = CreateGetLedgerEntriesRequest(subLedgerId, fromTransactionId, toTransactionId, options); + if (options.PerCallPolicy != null) { - message.SetProperty("RequestOptionsPerCallPolicyCallback", requestOptions.PerCallPolicy); + message.SetProperty("RequestOptionsPerCallPolicyCallback", options.PerCallPolicy); } using var scope = _clientDiagnostics.CreateScope("ConfidentialLedgerClient.GetLedgerEntries"); scope.Start(); try { - await Pipeline.SendAsync(message, requestOptions.CancellationToken).ConfigureAwait(false); - if (requestOptions.StatusOption == ResponseStatusOption.Default) + await Pipeline.SendAsync(message, options.CancellationToken).ConfigureAwait(false); + if (options.StatusOption == ResponseStatusOption.Default) { switch (message.Response.Status) { @@ -381,23 +381,23 @@ public virtual async Task GetLedgerEntriesAsync(string subLedgerId = n /// The sub-ledger id. /// Specify the first transaction ID in a range. /// Specify the last transaction ID in a range. - /// The request options. + /// The request options. #pragma warning disable AZC0002 - public virtual Response GetLedgerEntries(string subLedgerId = null, string fromTransactionId = null, string toTransactionId = null, RequestOptions requestOptions = null) + public virtual Response GetLedgerEntries(string subLedgerId = null, string fromTransactionId = null, string toTransactionId = null, RequestOptions options = null) #pragma warning restore AZC0002 { - requestOptions ??= new RequestOptions(); - HttpMessage message = CreateGetLedgerEntriesRequest(subLedgerId, fromTransactionId, toTransactionId, requestOptions); - if (requestOptions.PerCallPolicy != null) + options ??= new RequestOptions(); + HttpMessage message = CreateGetLedgerEntriesRequest(subLedgerId, fromTransactionId, toTransactionId, options); + if (options.PerCallPolicy != null) { - message.SetProperty("RequestOptionsPerCallPolicyCallback", requestOptions.PerCallPolicy); + message.SetProperty("RequestOptionsPerCallPolicyCallback", options.PerCallPolicy); } using var scope = _clientDiagnostics.CreateScope("ConfidentialLedgerClient.GetLedgerEntries"); scope.Start(); try { - Pipeline.Send(message, requestOptions.CancellationToken); - if (requestOptions.StatusOption == ResponseStatusOption.Default) + Pipeline.Send(message, options.CancellationToken); + if (options.StatusOption == ResponseStatusOption.Default) { switch (message.Response.Status) { @@ -423,8 +423,8 @@ public virtual Response GetLedgerEntries(string subLedgerId = null, string fromT /// The sub-ledger id. /// Specify the first transaction ID in a range. /// Specify the last transaction ID in a range. - /// The request options. - private HttpMessage CreateGetLedgerEntriesRequest(string subLedgerId = null, string fromTransactionId = null, string toTransactionId = null, RequestOptions requestOptions = null) + /// The request options. + private HttpMessage CreateGetLedgerEntriesRequest(string subLedgerId = null, string fromTransactionId = null, string toTransactionId = null, RequestOptions options = null) { var message = Pipeline.CreateMessage(); var request = message.Request; @@ -454,12 +454,12 @@ private HttpMessage CreateGetLedgerEntriesRequest(string subLedgerId = null, str /// /// Schema for Request Body: /// - /// + /// /// Name /// Type /// Required /// Description - /// + /// /// /// contents /// string @@ -480,25 +480,25 @@ private HttpMessage CreateGetLedgerEntriesRequest(string subLedgerId = null, str /// /// /// - /// The request body. + /// The content to send as the body of the request. /// The sub-ledger id. - /// The request options. + /// The request options. #pragma warning disable AZC0002 - public virtual async Task PostLedgerEntryAsync(RequestContent requestBody, string subLedgerId = null, RequestOptions requestOptions = null) + public virtual async Task PostLedgerEntryAsync(RequestContent content, string subLedgerId = null, RequestOptions options = null) #pragma warning restore AZC0002 { - requestOptions ??= new RequestOptions(); - HttpMessage message = CreatePostLedgerEntryRequest(requestBody, subLedgerId, requestOptions); - if (requestOptions.PerCallPolicy != null) + options ??= new RequestOptions(); + HttpMessage message = CreatePostLedgerEntryRequest(content, subLedgerId, options); + if (options.PerCallPolicy != null) { - message.SetProperty("RequestOptionsPerCallPolicyCallback", requestOptions.PerCallPolicy); + message.SetProperty("RequestOptionsPerCallPolicyCallback", options.PerCallPolicy); } using var scope = _clientDiagnostics.CreateScope("ConfidentialLedgerClient.PostLedgerEntry"); scope.Start(); try { - await Pipeline.SendAsync(message, requestOptions.CancellationToken).ConfigureAwait(false); - if (requestOptions.StatusOption == ResponseStatusOption.Default) + await Pipeline.SendAsync(message, options.CancellationToken).ConfigureAwait(false); + if (options.StatusOption == ResponseStatusOption.Default) { switch (message.Response.Status) { @@ -524,12 +524,12 @@ public virtual async Task PostLedgerEntryAsync(RequestContent requestB /// /// Schema for Request Body: /// - /// + /// /// Name /// Type /// Required /// Description - /// + /// /// /// contents /// string @@ -550,25 +550,25 @@ public virtual async Task PostLedgerEntryAsync(RequestContent requestB /// /// /// - /// The request body. + /// The content to send as the body of the request. /// The sub-ledger id. - /// The request options. + /// The request options. #pragma warning disable AZC0002 - public virtual Response PostLedgerEntry(RequestContent requestBody, string subLedgerId = null, RequestOptions requestOptions = null) + public virtual Response PostLedgerEntry(RequestContent content, string subLedgerId = null, RequestOptions options = null) #pragma warning restore AZC0002 { - requestOptions ??= new RequestOptions(); - HttpMessage message = CreatePostLedgerEntryRequest(requestBody, subLedgerId, requestOptions); - if (requestOptions.PerCallPolicy != null) + options ??= new RequestOptions(); + HttpMessage message = CreatePostLedgerEntryRequest(content, subLedgerId, options); + if (options.PerCallPolicy != null) { - message.SetProperty("RequestOptionsPerCallPolicyCallback", requestOptions.PerCallPolicy); + message.SetProperty("RequestOptionsPerCallPolicyCallback", options.PerCallPolicy); } using var scope = _clientDiagnostics.CreateScope("ConfidentialLedgerClient.PostLedgerEntry"); scope.Start(); try { - Pipeline.Send(message, requestOptions.CancellationToken); - if (requestOptions.StatusOption == ResponseStatusOption.Default) + Pipeline.Send(message, options.CancellationToken); + if (options.StatusOption == ResponseStatusOption.Default) { switch (message.Response.Status) { @@ -591,10 +591,10 @@ public virtual Response PostLedgerEntry(RequestContent requestBody, string subLe } /// Create Request for and operations. - /// The request body. + /// The content to send as the body of the request. /// The sub-ledger id. - /// The request options. - private HttpMessage CreatePostLedgerEntryRequest(RequestContent requestBody, string subLedgerId = null, RequestOptions requestOptions = null) + /// The request options. + private HttpMessage CreatePostLedgerEntryRequest(RequestContent content, string subLedgerId = null, RequestOptions options = null) { var message = Pipeline.CreateMessage(); var request = message.Request; @@ -610,30 +610,30 @@ private HttpMessage CreatePostLedgerEntryRequest(RequestContent requestBody, str request.Uri = uri; request.Headers.Add("Accept", "application/json"); request.Headers.Add("Content-Type", "application/json"); - request.Content = requestBody; + request.Content = content; return message; } /// To return older ledger entries, the relevant sections of the ledger must be read from disk and validated. To prevent blocking within the enclave, the response will indicate whether the entry is ready and part of the response, or if the loading is still ongoing. /// Identifies a write transaction. /// The sub-ledger id. - /// The request options. + /// The request options. #pragma warning disable AZC0002 - public virtual async Task GetLedgerEntryAsync(string transactionId, string subLedgerId = null, RequestOptions requestOptions = null) + public virtual async Task GetLedgerEntryAsync(string transactionId, string subLedgerId = null, RequestOptions options = null) #pragma warning restore AZC0002 { - requestOptions ??= new RequestOptions(); - HttpMessage message = CreateGetLedgerEntryRequest(transactionId, subLedgerId, requestOptions); - if (requestOptions.PerCallPolicy != null) + options ??= new RequestOptions(); + HttpMessage message = CreateGetLedgerEntryRequest(transactionId, subLedgerId, options); + if (options.PerCallPolicy != null) { - message.SetProperty("RequestOptionsPerCallPolicyCallback", requestOptions.PerCallPolicy); + message.SetProperty("RequestOptionsPerCallPolicyCallback", options.PerCallPolicy); } using var scope = _clientDiagnostics.CreateScope("ConfidentialLedgerClient.GetLedgerEntry"); scope.Start(); try { - await Pipeline.SendAsync(message, requestOptions.CancellationToken).ConfigureAwait(false); - if (requestOptions.StatusOption == ResponseStatusOption.Default) + await Pipeline.SendAsync(message, options.CancellationToken).ConfigureAwait(false); + if (options.StatusOption == ResponseStatusOption.Default) { switch (message.Response.Status) { @@ -658,23 +658,23 @@ public virtual async Task GetLedgerEntryAsync(string transactionId, st /// To return older ledger entries, the relevant sections of the ledger must be read from disk and validated. To prevent blocking within the enclave, the response will indicate whether the entry is ready and part of the response, or if the loading is still ongoing. /// Identifies a write transaction. /// The sub-ledger id. - /// The request options. + /// The request options. #pragma warning disable AZC0002 - public virtual Response GetLedgerEntry(string transactionId, string subLedgerId = null, RequestOptions requestOptions = null) + public virtual Response GetLedgerEntry(string transactionId, string subLedgerId = null, RequestOptions options = null) #pragma warning restore AZC0002 { - requestOptions ??= new RequestOptions(); - HttpMessage message = CreateGetLedgerEntryRequest(transactionId, subLedgerId, requestOptions); - if (requestOptions.PerCallPolicy != null) + options ??= new RequestOptions(); + HttpMessage message = CreateGetLedgerEntryRequest(transactionId, subLedgerId, options); + if (options.PerCallPolicy != null) { - message.SetProperty("RequestOptionsPerCallPolicyCallback", requestOptions.PerCallPolicy); + message.SetProperty("RequestOptionsPerCallPolicyCallback", options.PerCallPolicy); } using var scope = _clientDiagnostics.CreateScope("ConfidentialLedgerClient.GetLedgerEntry"); scope.Start(); try { - Pipeline.Send(message, requestOptions.CancellationToken); - if (requestOptions.StatusOption == ResponseStatusOption.Default) + Pipeline.Send(message, options.CancellationToken); + if (options.StatusOption == ResponseStatusOption.Default) { switch (message.Response.Status) { @@ -699,8 +699,8 @@ public virtual Response GetLedgerEntry(string transactionId, string subLedgerId /// Create Request for and operations. /// Identifies a write transaction. /// The sub-ledger id. - /// The request options. - private HttpMessage CreateGetLedgerEntryRequest(string transactionId, string subLedgerId = null, RequestOptions requestOptions = null) + /// The request options. + private HttpMessage CreateGetLedgerEntryRequest(string transactionId, string subLedgerId = null, RequestOptions options = null) { var message = Pipeline.CreateMessage(); var request = message.Request; @@ -721,23 +721,23 @@ private HttpMessage CreateGetLedgerEntryRequest(string transactionId, string sub /// Gets a receipt certifying ledger contents at a particular transaction id. /// Identifies a write transaction. - /// The request options. + /// The request options. #pragma warning disable AZC0002 - public virtual async Task GetReceiptAsync(string transactionId, RequestOptions requestOptions = null) + public virtual async Task GetReceiptAsync(string transactionId, RequestOptions options = null) #pragma warning restore AZC0002 { - requestOptions ??= new RequestOptions(); - HttpMessage message = CreateGetReceiptRequest(transactionId, requestOptions); - if (requestOptions.PerCallPolicy != null) + options ??= new RequestOptions(); + HttpMessage message = CreateGetReceiptRequest(transactionId, options); + if (options.PerCallPolicy != null) { - message.SetProperty("RequestOptionsPerCallPolicyCallback", requestOptions.PerCallPolicy); + message.SetProperty("RequestOptionsPerCallPolicyCallback", options.PerCallPolicy); } using var scope = _clientDiagnostics.CreateScope("ConfidentialLedgerClient.GetReceipt"); scope.Start(); try { - await Pipeline.SendAsync(message, requestOptions.CancellationToken).ConfigureAwait(false); - if (requestOptions.StatusOption == ResponseStatusOption.Default) + await Pipeline.SendAsync(message, options.CancellationToken).ConfigureAwait(false); + if (options.StatusOption == ResponseStatusOption.Default) { switch (message.Response.Status) { @@ -761,23 +761,23 @@ public virtual async Task GetReceiptAsync(string transactionId, Reques /// Gets a receipt certifying ledger contents at a particular transaction id. /// Identifies a write transaction. - /// The request options. + /// The request options. #pragma warning disable AZC0002 - public virtual Response GetReceipt(string transactionId, RequestOptions requestOptions = null) + public virtual Response GetReceipt(string transactionId, RequestOptions options = null) #pragma warning restore AZC0002 { - requestOptions ??= new RequestOptions(); - HttpMessage message = CreateGetReceiptRequest(transactionId, requestOptions); - if (requestOptions.PerCallPolicy != null) + options ??= new RequestOptions(); + HttpMessage message = CreateGetReceiptRequest(transactionId, options); + if (options.PerCallPolicy != null) { - message.SetProperty("RequestOptionsPerCallPolicyCallback", requestOptions.PerCallPolicy); + message.SetProperty("RequestOptionsPerCallPolicyCallback", options.PerCallPolicy); } using var scope = _clientDiagnostics.CreateScope("ConfidentialLedgerClient.GetReceipt"); scope.Start(); try { - Pipeline.Send(message, requestOptions.CancellationToken); - if (requestOptions.StatusOption == ResponseStatusOption.Default) + Pipeline.Send(message, options.CancellationToken); + if (options.StatusOption == ResponseStatusOption.Default) { switch (message.Response.Status) { @@ -801,8 +801,8 @@ public virtual Response GetReceipt(string transactionId, RequestOptions requestO /// Create Request for and operations. /// Identifies a write transaction. - /// The request options. - private HttpMessage CreateGetReceiptRequest(string transactionId, RequestOptions requestOptions = null) + /// The request options. + private HttpMessage CreateGetReceiptRequest(string transactionId, RequestOptions options = null) { var message = Pipeline.CreateMessage(); var request = message.Request; @@ -820,23 +820,23 @@ private HttpMessage CreateGetReceiptRequest(string transactionId, RequestOptions /// Gets the status of an entry identified by a transaction id. /// Identifies a write transaction. - /// The request options. + /// The request options. #pragma warning disable AZC0002 - public virtual async Task GetTransactionStatusAsync(string transactionId, RequestOptions requestOptions = null) + public virtual async Task GetTransactionStatusAsync(string transactionId, RequestOptions options = null) #pragma warning restore AZC0002 { - requestOptions ??= new RequestOptions(); - HttpMessage message = CreateGetTransactionStatusRequest(transactionId, requestOptions); - if (requestOptions.PerCallPolicy != null) + options ??= new RequestOptions(); + HttpMessage message = CreateGetTransactionStatusRequest(transactionId, options); + if (options.PerCallPolicy != null) { - message.SetProperty("RequestOptionsPerCallPolicyCallback", requestOptions.PerCallPolicy); + message.SetProperty("RequestOptionsPerCallPolicyCallback", options.PerCallPolicy); } using var scope = _clientDiagnostics.CreateScope("ConfidentialLedgerClient.GetTransactionStatus"); scope.Start(); try { - await Pipeline.SendAsync(message, requestOptions.CancellationToken).ConfigureAwait(false); - if (requestOptions.StatusOption == ResponseStatusOption.Default) + await Pipeline.SendAsync(message, options.CancellationToken).ConfigureAwait(false); + if (options.StatusOption == ResponseStatusOption.Default) { switch (message.Response.Status) { @@ -860,23 +860,23 @@ public virtual async Task GetTransactionStatusAsync(string transaction /// Gets the status of an entry identified by a transaction id. /// Identifies a write transaction. - /// The request options. + /// The request options. #pragma warning disable AZC0002 - public virtual Response GetTransactionStatus(string transactionId, RequestOptions requestOptions = null) + public virtual Response GetTransactionStatus(string transactionId, RequestOptions options = null) #pragma warning restore AZC0002 { - requestOptions ??= new RequestOptions(); - HttpMessage message = CreateGetTransactionStatusRequest(transactionId, requestOptions); - if (requestOptions.PerCallPolicy != null) + options ??= new RequestOptions(); + HttpMessage message = CreateGetTransactionStatusRequest(transactionId, options); + if (options.PerCallPolicy != null) { - message.SetProperty("RequestOptionsPerCallPolicyCallback", requestOptions.PerCallPolicy); + message.SetProperty("RequestOptionsPerCallPolicyCallback", options.PerCallPolicy); } using var scope = _clientDiagnostics.CreateScope("ConfidentialLedgerClient.GetTransactionStatus"); scope.Start(); try { - Pipeline.Send(message, requestOptions.CancellationToken); - if (requestOptions.StatusOption == ResponseStatusOption.Default) + Pipeline.Send(message, options.CancellationToken); + if (options.StatusOption == ResponseStatusOption.Default) { switch (message.Response.Status) { @@ -900,8 +900,8 @@ public virtual Response GetTransactionStatus(string transactionId, RequestOption /// Create Request for and operations. /// Identifies a write transaction. - /// The request options. - private HttpMessage CreateGetTransactionStatusRequest(string transactionId, RequestOptions requestOptions = null) + /// The request options. + private HttpMessage CreateGetTransactionStatusRequest(string transactionId, RequestOptions options = null) { var message = Pipeline.CreateMessage(); var request = message.Request; @@ -919,23 +919,23 @@ private HttpMessage CreateGetTransactionStatusRequest(string transactionId, Requ /// A sub-ledger id may optionally be specified. /// The sub-ledger id. - /// The request options. + /// The request options. #pragma warning disable AZC0002 - public virtual async Task GetCurrentLedgerEntryAsync(string subLedgerId = null, RequestOptions requestOptions = null) + public virtual async Task GetCurrentLedgerEntryAsync(string subLedgerId = null, RequestOptions options = null) #pragma warning restore AZC0002 { - requestOptions ??= new RequestOptions(); - HttpMessage message = CreateGetCurrentLedgerEntryRequest(subLedgerId, requestOptions); - if (requestOptions.PerCallPolicy != null) + options ??= new RequestOptions(); + HttpMessage message = CreateGetCurrentLedgerEntryRequest(subLedgerId, options); + if (options.PerCallPolicy != null) { - message.SetProperty("RequestOptionsPerCallPolicyCallback", requestOptions.PerCallPolicy); + message.SetProperty("RequestOptionsPerCallPolicyCallback", options.PerCallPolicy); } using var scope = _clientDiagnostics.CreateScope("ConfidentialLedgerClient.GetCurrentLedgerEntry"); scope.Start(); try { - await Pipeline.SendAsync(message, requestOptions.CancellationToken).ConfigureAwait(false); - if (requestOptions.StatusOption == ResponseStatusOption.Default) + await Pipeline.SendAsync(message, options.CancellationToken).ConfigureAwait(false); + if (options.StatusOption == ResponseStatusOption.Default) { switch (message.Response.Status) { @@ -959,23 +959,23 @@ public virtual async Task GetCurrentLedgerEntryAsync(string subLedgerI /// A sub-ledger id may optionally be specified. /// The sub-ledger id. - /// The request options. + /// The request options. #pragma warning disable AZC0002 - public virtual Response GetCurrentLedgerEntry(string subLedgerId = null, RequestOptions requestOptions = null) + public virtual Response GetCurrentLedgerEntry(string subLedgerId = null, RequestOptions options = null) #pragma warning restore AZC0002 { - requestOptions ??= new RequestOptions(); - HttpMessage message = CreateGetCurrentLedgerEntryRequest(subLedgerId, requestOptions); - if (requestOptions.PerCallPolicy != null) + options ??= new RequestOptions(); + HttpMessage message = CreateGetCurrentLedgerEntryRequest(subLedgerId, options); + if (options.PerCallPolicy != null) { - message.SetProperty("RequestOptionsPerCallPolicyCallback", requestOptions.PerCallPolicy); + message.SetProperty("RequestOptionsPerCallPolicyCallback", options.PerCallPolicy); } using var scope = _clientDiagnostics.CreateScope("ConfidentialLedgerClient.GetCurrentLedgerEntry"); scope.Start(); try { - Pipeline.Send(message, requestOptions.CancellationToken); - if (requestOptions.StatusOption == ResponseStatusOption.Default) + Pipeline.Send(message, options.CancellationToken); + if (options.StatusOption == ResponseStatusOption.Default) { switch (message.Response.Status) { @@ -999,8 +999,8 @@ public virtual Response GetCurrentLedgerEntry(string subLedgerId = null, Request /// Create Request for and operations. /// The sub-ledger id. - /// The request options. - private HttpMessage CreateGetCurrentLedgerEntryRequest(string subLedgerId = null, RequestOptions requestOptions = null) + /// The request options. + private HttpMessage CreateGetCurrentLedgerEntryRequest(string subLedgerId = null, RequestOptions options = null) { var message = Pipeline.CreateMessage(); var request = message.Request; @@ -1020,23 +1020,23 @@ private HttpMessage CreateGetCurrentLedgerEntryRequest(string subLedgerId = null /// Deletes a user from the Confidential Ledger. /// The user id, either an AAD object ID or certificate fingerprint. - /// The request options. + /// The request options. #pragma warning disable AZC0002 - public virtual async Task DeleteUserAsync(string userId, RequestOptions requestOptions = null) + public virtual async Task DeleteUserAsync(string userId, RequestOptions options = null) #pragma warning restore AZC0002 { - requestOptions ??= new RequestOptions(); - HttpMessage message = CreateDeleteUserRequest(userId, requestOptions); - if (requestOptions.PerCallPolicy != null) + options ??= new RequestOptions(); + HttpMessage message = CreateDeleteUserRequest(userId, options); + if (options.PerCallPolicy != null) { - message.SetProperty("RequestOptionsPerCallPolicyCallback", requestOptions.PerCallPolicy); + message.SetProperty("RequestOptionsPerCallPolicyCallback", options.PerCallPolicy); } using var scope = _clientDiagnostics.CreateScope("ConfidentialLedgerClient.DeleteUser"); scope.Start(); try { - await Pipeline.SendAsync(message, requestOptions.CancellationToken).ConfigureAwait(false); - if (requestOptions.StatusOption == ResponseStatusOption.Default) + await Pipeline.SendAsync(message, options.CancellationToken).ConfigureAwait(false); + if (options.StatusOption == ResponseStatusOption.Default) { switch (message.Response.Status) { @@ -1060,23 +1060,23 @@ public virtual async Task DeleteUserAsync(string userId, RequestOption /// Deletes a user from the Confidential Ledger. /// The user id, either an AAD object ID or certificate fingerprint. - /// The request options. + /// The request options. #pragma warning disable AZC0002 - public virtual Response DeleteUser(string userId, RequestOptions requestOptions = null) + public virtual Response DeleteUser(string userId, RequestOptions options = null) #pragma warning restore AZC0002 { - requestOptions ??= new RequestOptions(); - HttpMessage message = CreateDeleteUserRequest(userId, requestOptions); - if (requestOptions.PerCallPolicy != null) + options ??= new RequestOptions(); + HttpMessage message = CreateDeleteUserRequest(userId, options); + if (options.PerCallPolicy != null) { - message.SetProperty("RequestOptionsPerCallPolicyCallback", requestOptions.PerCallPolicy); + message.SetProperty("RequestOptionsPerCallPolicyCallback", options.PerCallPolicy); } using var scope = _clientDiagnostics.CreateScope("ConfidentialLedgerClient.DeleteUser"); scope.Start(); try { - Pipeline.Send(message, requestOptions.CancellationToken); - if (requestOptions.StatusOption == ResponseStatusOption.Default) + Pipeline.Send(message, options.CancellationToken); + if (options.StatusOption == ResponseStatusOption.Default) { switch (message.Response.Status) { @@ -1100,8 +1100,8 @@ public virtual Response DeleteUser(string userId, RequestOptions requestOptions /// Create Request for and operations. /// The user id, either an AAD object ID or certificate fingerprint. - /// The request options. - private HttpMessage CreateDeleteUserRequest(string userId, RequestOptions requestOptions = null) + /// The request options. + private HttpMessage CreateDeleteUserRequest(string userId, RequestOptions options = null) { var message = Pipeline.CreateMessage(); var request = message.Request; @@ -1118,23 +1118,23 @@ private HttpMessage CreateDeleteUserRequest(string userId, RequestOptions reques /// Gets a user. /// The user id, either an AAD object ID or certificate fingerprint. - /// The request options. + /// The request options. #pragma warning disable AZC0002 - public virtual async Task GetUserAsync(string userId, RequestOptions requestOptions = null) + public virtual async Task GetUserAsync(string userId, RequestOptions options = null) #pragma warning restore AZC0002 { - requestOptions ??= new RequestOptions(); - HttpMessage message = CreateGetUserRequest(userId, requestOptions); - if (requestOptions.PerCallPolicy != null) + options ??= new RequestOptions(); + HttpMessage message = CreateGetUserRequest(userId, options); + if (options.PerCallPolicy != null) { - message.SetProperty("RequestOptionsPerCallPolicyCallback", requestOptions.PerCallPolicy); + message.SetProperty("RequestOptionsPerCallPolicyCallback", options.PerCallPolicy); } using var scope = _clientDiagnostics.CreateScope("ConfidentialLedgerClient.GetUser"); scope.Start(); try { - await Pipeline.SendAsync(message, requestOptions.CancellationToken).ConfigureAwait(false); - if (requestOptions.StatusOption == ResponseStatusOption.Default) + await Pipeline.SendAsync(message, options.CancellationToken).ConfigureAwait(false); + if (options.StatusOption == ResponseStatusOption.Default) { switch (message.Response.Status) { @@ -1158,23 +1158,23 @@ public virtual async Task GetUserAsync(string userId, RequestOptions r /// Gets a user. /// The user id, either an AAD object ID or certificate fingerprint. - /// The request options. + /// The request options. #pragma warning disable AZC0002 - public virtual Response GetUser(string userId, RequestOptions requestOptions = null) + public virtual Response GetUser(string userId, RequestOptions options = null) #pragma warning restore AZC0002 { - requestOptions ??= new RequestOptions(); - HttpMessage message = CreateGetUserRequest(userId, requestOptions); - if (requestOptions.PerCallPolicy != null) + options ??= new RequestOptions(); + HttpMessage message = CreateGetUserRequest(userId, options); + if (options.PerCallPolicy != null) { - message.SetProperty("RequestOptionsPerCallPolicyCallback", requestOptions.PerCallPolicy); + message.SetProperty("RequestOptionsPerCallPolicyCallback", options.PerCallPolicy); } using var scope = _clientDiagnostics.CreateScope("ConfidentialLedgerClient.GetUser"); scope.Start(); try { - Pipeline.Send(message, requestOptions.CancellationToken); - if (requestOptions.StatusOption == ResponseStatusOption.Default) + Pipeline.Send(message, options.CancellationToken); + if (options.StatusOption == ResponseStatusOption.Default) { switch (message.Response.Status) { @@ -1198,8 +1198,8 @@ public virtual Response GetUser(string userId, RequestOptions requestOptions = n /// Create Request for and operations. /// The user id, either an AAD object ID or certificate fingerprint. - /// The request options. - private HttpMessage CreateGetUserRequest(string userId, RequestOptions requestOptions = null) + /// The request options. + private HttpMessage CreateGetUserRequest(string userId, RequestOptions options = null) { var message = Pipeline.CreateMessage(); var request = message.Request; @@ -1218,12 +1218,12 @@ private HttpMessage CreateGetUserRequest(string userId, RequestOptions requestOp /// /// Schema for Request Body: /// - /// + /// /// Name /// Type /// Required /// Description - /// + /// /// /// assignedRole /// "Administrator" | "Contributor" | "Reader" @@ -1239,24 +1239,24 @@ private HttpMessage CreateGetUserRequest(string userId, RequestOptions requestOp /// /// /// The user id, either an AAD object ID or certificate fingerprint. - /// The request body. - /// The request options. + /// The content to send as the body of the request. + /// The request options. #pragma warning disable AZC0002 - public virtual async Task CreateOrUpdateUserAsync(string userId, RequestContent requestBody, RequestOptions requestOptions = null) + public virtual async Task CreateOrUpdateUserAsync(string userId, RequestContent content, RequestOptions options = null) #pragma warning restore AZC0002 { - requestOptions ??= new RequestOptions(); - HttpMessage message = CreateCreateOrUpdateUserRequest(userId, requestBody, requestOptions); - if (requestOptions.PerCallPolicy != null) + options ??= new RequestOptions(); + HttpMessage message = CreateCreateOrUpdateUserRequest(userId, content, options); + if (options.PerCallPolicy != null) { - message.SetProperty("RequestOptionsPerCallPolicyCallback", requestOptions.PerCallPolicy); + message.SetProperty("RequestOptionsPerCallPolicyCallback", options.PerCallPolicy); } using var scope = _clientDiagnostics.CreateScope("ConfidentialLedgerClient.CreateOrUpdateUser"); scope.Start(); try { - await Pipeline.SendAsync(message, requestOptions.CancellationToken).ConfigureAwait(false); - if (requestOptions.StatusOption == ResponseStatusOption.Default) + await Pipeline.SendAsync(message, options.CancellationToken).ConfigureAwait(false); + if (options.StatusOption == ResponseStatusOption.Default) { switch (message.Response.Status) { @@ -1282,12 +1282,12 @@ public virtual async Task CreateOrUpdateUserAsync(string userId, Reque /// /// Schema for Request Body: /// - /// + /// /// Name /// Type /// Required /// Description - /// + /// /// /// assignedRole /// "Administrator" | "Contributor" | "Reader" @@ -1303,24 +1303,24 @@ public virtual async Task CreateOrUpdateUserAsync(string userId, Reque /// /// /// The user id, either an AAD object ID or certificate fingerprint. - /// The request body. - /// The request options. + /// The content to send as the body of the request. + /// The request options. #pragma warning disable AZC0002 - public virtual Response CreateOrUpdateUser(string userId, RequestContent requestBody, RequestOptions requestOptions = null) + public virtual Response CreateOrUpdateUser(string userId, RequestContent content, RequestOptions options = null) #pragma warning restore AZC0002 { - requestOptions ??= new RequestOptions(); - HttpMessage message = CreateCreateOrUpdateUserRequest(userId, requestBody, requestOptions); - if (requestOptions.PerCallPolicy != null) + options ??= new RequestOptions(); + HttpMessage message = CreateCreateOrUpdateUserRequest(userId, content, options); + if (options.PerCallPolicy != null) { - message.SetProperty("RequestOptionsPerCallPolicyCallback", requestOptions.PerCallPolicy); + message.SetProperty("RequestOptionsPerCallPolicyCallback", options.PerCallPolicy); } using var scope = _clientDiagnostics.CreateScope("ConfidentialLedgerClient.CreateOrUpdateUser"); scope.Start(); try { - Pipeline.Send(message, requestOptions.CancellationToken); - if (requestOptions.StatusOption == ResponseStatusOption.Default) + Pipeline.Send(message, options.CancellationToken); + if (options.StatusOption == ResponseStatusOption.Default) { switch (message.Response.Status) { @@ -1344,9 +1344,9 @@ public virtual Response CreateOrUpdateUser(string userId, RequestContent request /// Create Request for and operations. /// The user id, either an AAD object ID or certificate fingerprint. - /// The request body. - /// The request options. - private HttpMessage CreateCreateOrUpdateUserRequest(string userId, RequestContent requestBody, RequestOptions requestOptions = null) + /// The content to send as the body of the request. + /// The request options. + private HttpMessage CreateCreateOrUpdateUserRequest(string userId, RequestContent content, RequestOptions options = null) { var message = Pipeline.CreateMessage(); var request = message.Request; @@ -1359,7 +1359,7 @@ private HttpMessage CreateCreateOrUpdateUserRequest(string userId, RequestConten request.Uri = uri; request.Headers.Add("Accept", "application/json"); request.Headers.Add("Content-Type", "application/json"); - request.Content = requestBody; + request.Content = content; return message; } } diff --git a/sdk/confidentialledger/Azure.Security.ConfidentialLedger/src/Generated/ConfidentialLedgerIdentityServiceClient.cs b/sdk/confidentialledger/Azure.Security.ConfidentialLedger/src/Generated/ConfidentialLedgerIdentityServiceClient.cs index 0b844cc90e06..3bfee8e50238 100644 --- a/sdk/confidentialledger/Azure.Security.ConfidentialLedger/src/Generated/ConfidentialLedgerIdentityServiceClient.cs +++ b/sdk/confidentialledger/Azure.Security.ConfidentialLedger/src/Generated/ConfidentialLedgerIdentityServiceClient.cs @@ -31,23 +31,23 @@ protected ConfidentialLedgerIdentityServiceClient() /// Gets identity information for a Confidential Ledger instance. /// Id of the Confidential Ledger instance to get information for. - /// The request options. + /// The request options. #pragma warning disable AZC0002 - public virtual async Task GetLedgerIdentityAsync(string ledgerId, RequestOptions requestOptions = null) + public virtual async Task GetLedgerIdentityAsync(string ledgerId, RequestOptions options = null) #pragma warning restore AZC0002 { - requestOptions ??= new RequestOptions(); - HttpMessage message = CreateGetLedgerIdentityRequest(ledgerId, requestOptions); - if (requestOptions.PerCallPolicy != null) + options ??= new RequestOptions(); + HttpMessage message = CreateGetLedgerIdentityRequest(ledgerId, options); + if (options.PerCallPolicy != null) { - message.SetProperty("RequestOptionsPerCallPolicyCallback", requestOptions.PerCallPolicy); + message.SetProperty("RequestOptionsPerCallPolicyCallback", options.PerCallPolicy); } using var scope = _clientDiagnostics.CreateScope("ConfidentialLedgerIdentityServiceClient.GetLedgerIdentity"); scope.Start(); try { - await Pipeline.SendAsync(message, requestOptions.CancellationToken).ConfigureAwait(false); - if (requestOptions.StatusOption == ResponseStatusOption.Default) + await Pipeline.SendAsync(message, options.CancellationToken).ConfigureAwait(false); + if (options.StatusOption == ResponseStatusOption.Default) { switch (message.Response.Status) { @@ -71,23 +71,23 @@ public virtual async Task GetLedgerIdentityAsync(string ledgerId, Requ /// Gets identity information for a Confidential Ledger instance. /// Id of the Confidential Ledger instance to get information for. - /// The request options. + /// The request options. #pragma warning disable AZC0002 - public virtual Response GetLedgerIdentity(string ledgerId, RequestOptions requestOptions = null) + public virtual Response GetLedgerIdentity(string ledgerId, RequestOptions options = null) #pragma warning restore AZC0002 { - requestOptions ??= new RequestOptions(); - HttpMessage message = CreateGetLedgerIdentityRequest(ledgerId, requestOptions); - if (requestOptions.PerCallPolicy != null) + options ??= new RequestOptions(); + HttpMessage message = CreateGetLedgerIdentityRequest(ledgerId, options); + if (options.PerCallPolicy != null) { - message.SetProperty("RequestOptionsPerCallPolicyCallback", requestOptions.PerCallPolicy); + message.SetProperty("RequestOptionsPerCallPolicyCallback", options.PerCallPolicy); } using var scope = _clientDiagnostics.CreateScope("ConfidentialLedgerIdentityServiceClient.GetLedgerIdentity"); scope.Start(); try { - Pipeline.Send(message, requestOptions.CancellationToken); - if (requestOptions.StatusOption == ResponseStatusOption.Default) + Pipeline.Send(message, options.CancellationToken); + if (options.StatusOption == ResponseStatusOption.Default) { switch (message.Response.Status) { @@ -111,8 +111,8 @@ public virtual Response GetLedgerIdentity(string ledgerId, RequestOptions reques /// Create Request for and operations. /// Id of the Confidential Ledger instance to get information for. - /// The request options. - private HttpMessage CreateGetLedgerIdentityRequest(string ledgerId, RequestOptions requestOptions = null) + /// The request options. + private HttpMessage CreateGetLedgerIdentityRequest(string ledgerId, RequestOptions options = null) { var message = Pipeline.CreateMessage(); var request = message.Request; diff --git a/sdk/purview/Azure.Analytics.Purview.Catalog/api/Azure.Analytics.Purview.Catalog.netstandard2.0.cs b/sdk/purview/Azure.Analytics.Purview.Catalog/api/Azure.Analytics.Purview.Catalog.netstandard2.0.cs index e606205b3df4..50fc8141d249 100644 --- a/sdk/purview/Azure.Analytics.Purview.Catalog/api/Azure.Analytics.Purview.Catalog.netstandard2.0.cs +++ b/sdk/purview/Azure.Analytics.Purview.Catalog/api/Azure.Analytics.Purview.Catalog.netstandard2.0.cs @@ -9,16 +9,16 @@ public PurviewCatalogClient(System.Uri endpoint, Azure.Core.TokenCredential cred public virtual Azure.Core.Pipeline.HttpPipeline Pipeline { get { throw null; } } public Azure.Analytics.Purview.Catalog.PurviewRelationships Relationships { get { throw null; } } public Azure.Analytics.Purview.Catalog.PurviewTypes Types { get { throw null; } } - public virtual Azure.Response AutoComplete(Azure.Core.RequestContent requestBody, Azure.RequestOptions requestOptions = null) { throw null; } - public virtual System.Threading.Tasks.Task AutoCompleteAsync(Azure.Core.RequestContent requestBody, Azure.RequestOptions requestOptions = null) { throw null; } - public virtual Azure.Response GetLineageGraph(string guid, string direction, int? depth = default(int?), int? width = default(int?), bool? includeParent = default(bool?), bool? getDerivedLineage = default(bool?), Azure.RequestOptions requestOptions = null) { throw null; } - public virtual System.Threading.Tasks.Task GetLineageGraphAsync(string guid, string direction, int? depth = default(int?), int? width = default(int?), bool? includeParent = default(bool?), bool? getDerivedLineage = default(bool?), Azure.RequestOptions requestOptions = null) { throw null; } - public virtual Azure.Response NextPageLineage(string guid, string direction, bool? getDerivedLineage = default(bool?), int? offset = default(int?), int? limit = default(int?), Azure.RequestOptions requestOptions = null) { throw null; } - public virtual System.Threading.Tasks.Task NextPageLineageAsync(string guid, string direction, bool? getDerivedLineage = default(bool?), int? offset = default(int?), int? limit = default(int?), Azure.RequestOptions requestOptions = null) { throw null; } - public virtual Azure.Response Search(Azure.Core.RequestContent requestBody, Azure.RequestOptions requestOptions = null) { throw null; } - public virtual System.Threading.Tasks.Task SearchAsync(Azure.Core.RequestContent requestBody, Azure.RequestOptions requestOptions = null) { throw null; } - public virtual Azure.Response Suggest(Azure.Core.RequestContent requestBody, Azure.RequestOptions requestOptions = null) { throw null; } - public virtual System.Threading.Tasks.Task SuggestAsync(Azure.Core.RequestContent requestBody, Azure.RequestOptions requestOptions = null) { throw null; } + public virtual Azure.Response AutoComplete(Azure.Core.RequestContent content, Azure.RequestOptions options = null) { throw null; } + public virtual System.Threading.Tasks.Task AutoCompleteAsync(Azure.Core.RequestContent content, Azure.RequestOptions options = null) { throw null; } + public virtual Azure.Response GetLineageGraph(string guid, string direction, int? depth = default(int?), int? width = default(int?), bool? includeParent = default(bool?), bool? getDerivedLineage = default(bool?), Azure.RequestOptions options = null) { throw null; } + public virtual System.Threading.Tasks.Task GetLineageGraphAsync(string guid, string direction, int? depth = default(int?), int? width = default(int?), bool? includeParent = default(bool?), bool? getDerivedLineage = default(bool?), Azure.RequestOptions options = null) { throw null; } + public virtual Azure.Response NextPageLineage(string guid, string direction, bool? getDerivedLineage = default(bool?), int? offset = default(int?), int? limit = default(int?), Azure.RequestOptions options = null) { throw null; } + public virtual System.Threading.Tasks.Task NextPageLineageAsync(string guid, string direction, bool? getDerivedLineage = default(bool?), int? offset = default(int?), int? limit = default(int?), Azure.RequestOptions options = null) { throw null; } + public virtual Azure.Response Search(Azure.Core.RequestContent content, Azure.RequestOptions options = null) { throw null; } + public virtual System.Threading.Tasks.Task SearchAsync(Azure.Core.RequestContent content, Azure.RequestOptions options = null) { throw null; } + public virtual Azure.Response Suggest(Azure.Core.RequestContent content, Azure.RequestOptions options = null) { throw null; } + public virtual System.Threading.Tasks.Task SuggestAsync(Azure.Core.RequestContent content, Azure.RequestOptions options = null) { throw null; } } public partial class PurviewCatalogClientOptions : Azure.Core.ClientOptions { @@ -32,182 +32,182 @@ public partial class PurviewEntities { protected PurviewEntities() { } public virtual Azure.Core.Pipeline.HttpPipeline Pipeline { get { throw null; } } - public virtual Azure.Response AddClassification(Azure.Core.RequestContent requestBody, Azure.RequestOptions requestOptions = null) { throw null; } - public virtual System.Threading.Tasks.Task AddClassificationAsync(Azure.Core.RequestContent requestBody, Azure.RequestOptions requestOptions = null) { throw null; } - public virtual Azure.Response AddClassifications(string guid, Azure.Core.RequestContent requestBody, Azure.RequestOptions requestOptions = null) { throw null; } - public virtual System.Threading.Tasks.Task AddClassificationsAsync(string guid, Azure.Core.RequestContent requestBody, Azure.RequestOptions requestOptions = null) { throw null; } - public virtual Azure.Response AddClassificationsByUniqueAttribute(string typeName, Azure.Core.RequestContent requestBody, string attrQualifiedName = null, Azure.RequestOptions requestOptions = null) { throw null; } - public virtual System.Threading.Tasks.Task AddClassificationsByUniqueAttributeAsync(string typeName, Azure.Core.RequestContent requestBody, string attrQualifiedName = null, Azure.RequestOptions requestOptions = null) { throw null; } - public virtual Azure.Response CreateOrUpdate(Azure.Core.RequestContent requestBody, Azure.RequestOptions requestOptions = null) { throw null; } - public virtual System.Threading.Tasks.Task CreateOrUpdateAsync(Azure.Core.RequestContent requestBody, Azure.RequestOptions requestOptions = null) { throw null; } - public virtual Azure.Response CreateOrUpdateEntities(Azure.Core.RequestContent requestBody, Azure.RequestOptions requestOptions = null) { throw null; } - public virtual System.Threading.Tasks.Task CreateOrUpdateEntitiesAsync(Azure.Core.RequestContent requestBody, Azure.RequestOptions requestOptions = null) { throw null; } - public virtual Azure.Response DeleteByGuid(string guid, Azure.RequestOptions requestOptions = null) { throw null; } - public virtual System.Threading.Tasks.Task DeleteByGuidAsync(string guid, Azure.RequestOptions requestOptions = null) { throw null; } - public virtual Azure.Response DeleteByGuids(System.Collections.Generic.IEnumerable guids, Azure.RequestOptions requestOptions = null) { throw null; } - public virtual System.Threading.Tasks.Task DeleteByGuidsAsync(System.Collections.Generic.IEnumerable guids, Azure.RequestOptions requestOptions = null) { throw null; } - public virtual Azure.Response DeleteByUniqueAttribute(string typeName, string attrQualifiedName = null, Azure.RequestOptions requestOptions = null) { throw null; } - public virtual System.Threading.Tasks.Task DeleteByUniqueAttributeAsync(string typeName, string attrQualifiedName = null, Azure.RequestOptions requestOptions = null) { throw null; } - public virtual Azure.Response DeleteClassification(string guid, string classificationName, Azure.RequestOptions requestOptions = null) { throw null; } - public virtual System.Threading.Tasks.Task DeleteClassificationAsync(string guid, string classificationName, Azure.RequestOptions requestOptions = null) { throw null; } - public virtual Azure.Response DeleteClassificationByUniqueAttribute(string typeName, string classificationName, string attrQualifiedName = null, Azure.RequestOptions requestOptions = null) { throw null; } - public virtual System.Threading.Tasks.Task DeleteClassificationByUniqueAttributeAsync(string typeName, string classificationName, string attrQualifiedName = null, Azure.RequestOptions requestOptions = null) { throw null; } - public virtual Azure.Response GetByGuid(string guid, bool? minExtInfo = default(bool?), bool? ignoreRelationships = default(bool?), Azure.RequestOptions requestOptions = null) { throw null; } - public virtual System.Threading.Tasks.Task GetByGuidAsync(string guid, bool? minExtInfo = default(bool?), bool? ignoreRelationships = default(bool?), Azure.RequestOptions requestOptions = null) { throw null; } - public virtual Azure.Response GetByGuids(System.Collections.Generic.IEnumerable guids, bool? minExtInfo = default(bool?), bool? ignoreRelationships = default(bool?), System.Collections.Generic.IEnumerable excludeRelationshipTypes = null, Azure.RequestOptions requestOptions = null) { throw null; } - public virtual System.Threading.Tasks.Task GetByGuidsAsync(System.Collections.Generic.IEnumerable guids, bool? minExtInfo = default(bool?), bool? ignoreRelationships = default(bool?), System.Collections.Generic.IEnumerable excludeRelationshipTypes = null, Azure.RequestOptions requestOptions = null) { throw null; } - public virtual Azure.Response GetByUniqueAttributes(string typeName, bool? minExtInfo = default(bool?), bool? ignoreRelationships = default(bool?), string attrQualifiedName = null, Azure.RequestOptions requestOptions = null) { throw null; } - public virtual System.Threading.Tasks.Task GetByUniqueAttributesAsync(string typeName, bool? minExtInfo = default(bool?), bool? ignoreRelationships = default(bool?), string attrQualifiedName = null, Azure.RequestOptions requestOptions = null) { throw null; } - public virtual Azure.Response GetClassification(string guid, string classificationName, Azure.RequestOptions requestOptions = null) { throw null; } - public virtual System.Threading.Tasks.Task GetClassificationAsync(string guid, string classificationName, Azure.RequestOptions requestOptions = null) { throw null; } - public virtual Azure.Response GetClassifications(string guid, Azure.RequestOptions requestOptions = null) { throw null; } - public virtual System.Threading.Tasks.Task GetClassificationsAsync(string guid, Azure.RequestOptions requestOptions = null) { throw null; } - public virtual Azure.Response GetEntitiesByUniqueAttributes(string typeName, bool? minExtInfo = default(bool?), bool? ignoreRelationships = default(bool?), string attrNQualifiedName = null, Azure.RequestOptions requestOptions = null) { throw null; } - public virtual System.Threading.Tasks.Task GetEntitiesByUniqueAttributesAsync(string typeName, bool? minExtInfo = default(bool?), bool? ignoreRelationships = default(bool?), string attrNQualifiedName = null, Azure.RequestOptions requestOptions = null) { throw null; } - public virtual Azure.Response GetHeader(string guid, Azure.RequestOptions requestOptions = null) { throw null; } - public virtual System.Threading.Tasks.Task GetHeaderAsync(string guid, Azure.RequestOptions requestOptions = null) { throw null; } - public virtual Azure.Response PartialUpdateEntityAttributeByGuid(string guid, string name, Azure.Core.RequestContent requestBody, Azure.RequestOptions requestOptions = null) { throw null; } - public virtual System.Threading.Tasks.Task PartialUpdateEntityAttributeByGuidAsync(string guid, string name, Azure.Core.RequestContent requestBody, Azure.RequestOptions requestOptions = null) { throw null; } - public virtual Azure.Response PartialUpdateEntityByUniqueAttributes(string typeName, Azure.Core.RequestContent requestBody, string attrQualifiedName = null, Azure.RequestOptions requestOptions = null) { throw null; } - public virtual System.Threading.Tasks.Task PartialUpdateEntityByUniqueAttributesAsync(string typeName, Azure.Core.RequestContent requestBody, string attrQualifiedName = null, Azure.RequestOptions requestOptions = null) { throw null; } - public virtual Azure.Response SetClassifications(Azure.Core.RequestContent requestBody, Azure.RequestOptions requestOptions = null) { throw null; } - public virtual System.Threading.Tasks.Task SetClassificationsAsync(Azure.Core.RequestContent requestBody, Azure.RequestOptions requestOptions = null) { throw null; } - public virtual Azure.Response UpdateClassifications(string guid, Azure.Core.RequestContent requestBody, Azure.RequestOptions requestOptions = null) { throw null; } - public virtual System.Threading.Tasks.Task UpdateClassificationsAsync(string guid, Azure.Core.RequestContent requestBody, Azure.RequestOptions requestOptions = null) { throw null; } - public virtual Azure.Response UpdateClassificationsByUniqueAttribute(string typeName, Azure.Core.RequestContent requestBody, string attrQualifiedName = null, Azure.RequestOptions requestOptions = null) { throw null; } - public virtual System.Threading.Tasks.Task UpdateClassificationsByUniqueAttributeAsync(string typeName, Azure.Core.RequestContent requestBody, string attrQualifiedName = null, Azure.RequestOptions requestOptions = null) { throw null; } + public virtual Azure.Response AddClassification(Azure.Core.RequestContent content, Azure.RequestOptions options = null) { throw null; } + public virtual System.Threading.Tasks.Task AddClassificationAsync(Azure.Core.RequestContent content, Azure.RequestOptions options = null) { throw null; } + public virtual Azure.Response AddClassifications(string guid, Azure.Core.RequestContent content, Azure.RequestOptions options = null) { throw null; } + public virtual System.Threading.Tasks.Task AddClassificationsAsync(string guid, Azure.Core.RequestContent content, Azure.RequestOptions options = null) { throw null; } + public virtual Azure.Response AddClassificationsByUniqueAttribute(string typeName, Azure.Core.RequestContent content, string attrQualifiedName = null, Azure.RequestOptions options = null) { throw null; } + public virtual System.Threading.Tasks.Task AddClassificationsByUniqueAttributeAsync(string typeName, Azure.Core.RequestContent content, string attrQualifiedName = null, Azure.RequestOptions options = null) { throw null; } + public virtual Azure.Response CreateOrUpdate(Azure.Core.RequestContent content, Azure.RequestOptions options = null) { throw null; } + public virtual System.Threading.Tasks.Task CreateOrUpdateAsync(Azure.Core.RequestContent content, Azure.RequestOptions options = null) { throw null; } + public virtual Azure.Response CreateOrUpdateEntities(Azure.Core.RequestContent content, Azure.RequestOptions options = null) { throw null; } + public virtual System.Threading.Tasks.Task CreateOrUpdateEntitiesAsync(Azure.Core.RequestContent content, Azure.RequestOptions options = null) { throw null; } + public virtual Azure.Response DeleteByGuid(string guid, Azure.RequestOptions options = null) { throw null; } + public virtual System.Threading.Tasks.Task DeleteByGuidAsync(string guid, Azure.RequestOptions options = null) { throw null; } + public virtual Azure.Response DeleteByGuids(System.Collections.Generic.IEnumerable guids, Azure.RequestOptions options = null) { throw null; } + public virtual System.Threading.Tasks.Task DeleteByGuidsAsync(System.Collections.Generic.IEnumerable guids, Azure.RequestOptions options = null) { throw null; } + public virtual Azure.Response DeleteByUniqueAttribute(string typeName, string attrQualifiedName = null, Azure.RequestOptions options = null) { throw null; } + public virtual System.Threading.Tasks.Task DeleteByUniqueAttributeAsync(string typeName, string attrQualifiedName = null, Azure.RequestOptions options = null) { throw null; } + public virtual Azure.Response DeleteClassification(string guid, string classificationName, Azure.RequestOptions options = null) { throw null; } + public virtual System.Threading.Tasks.Task DeleteClassificationAsync(string guid, string classificationName, Azure.RequestOptions options = null) { throw null; } + public virtual Azure.Response DeleteClassificationByUniqueAttribute(string typeName, string classificationName, string attrQualifiedName = null, Azure.RequestOptions options = null) { throw null; } + public virtual System.Threading.Tasks.Task DeleteClassificationByUniqueAttributeAsync(string typeName, string classificationName, string attrQualifiedName = null, Azure.RequestOptions options = null) { throw null; } + public virtual Azure.Response GetByGuid(string guid, bool? minExtInfo = default(bool?), bool? ignoreRelationships = default(bool?), Azure.RequestOptions options = null) { throw null; } + public virtual System.Threading.Tasks.Task GetByGuidAsync(string guid, bool? minExtInfo = default(bool?), bool? ignoreRelationships = default(bool?), Azure.RequestOptions options = null) { throw null; } + public virtual Azure.Response GetByGuids(System.Collections.Generic.IEnumerable guids, bool? minExtInfo = default(bool?), bool? ignoreRelationships = default(bool?), System.Collections.Generic.IEnumerable excludeRelationshipTypes = null, Azure.RequestOptions options = null) { throw null; } + public virtual System.Threading.Tasks.Task GetByGuidsAsync(System.Collections.Generic.IEnumerable guids, bool? minExtInfo = default(bool?), bool? ignoreRelationships = default(bool?), System.Collections.Generic.IEnumerable excludeRelationshipTypes = null, Azure.RequestOptions options = null) { throw null; } + public virtual Azure.Response GetByUniqueAttributes(string typeName, bool? minExtInfo = default(bool?), bool? ignoreRelationships = default(bool?), string attrQualifiedName = null, Azure.RequestOptions options = null) { throw null; } + public virtual System.Threading.Tasks.Task GetByUniqueAttributesAsync(string typeName, bool? minExtInfo = default(bool?), bool? ignoreRelationships = default(bool?), string attrQualifiedName = null, Azure.RequestOptions options = null) { throw null; } + public virtual Azure.Response GetClassification(string guid, string classificationName, Azure.RequestOptions options = null) { throw null; } + public virtual System.Threading.Tasks.Task GetClassificationAsync(string guid, string classificationName, Azure.RequestOptions options = null) { throw null; } + public virtual Azure.Response GetClassifications(string guid, Azure.RequestOptions options = null) { throw null; } + public virtual System.Threading.Tasks.Task GetClassificationsAsync(string guid, Azure.RequestOptions options = null) { throw null; } + public virtual Azure.Response GetEntitiesByUniqueAttributes(string typeName, bool? minExtInfo = default(bool?), bool? ignoreRelationships = default(bool?), string attrNQualifiedName = null, Azure.RequestOptions options = null) { throw null; } + public virtual System.Threading.Tasks.Task GetEntitiesByUniqueAttributesAsync(string typeName, bool? minExtInfo = default(bool?), bool? ignoreRelationships = default(bool?), string attrNQualifiedName = null, Azure.RequestOptions options = null) { throw null; } + public virtual Azure.Response GetHeader(string guid, Azure.RequestOptions options = null) { throw null; } + public virtual System.Threading.Tasks.Task GetHeaderAsync(string guid, Azure.RequestOptions options = null) { throw null; } + public virtual Azure.Response PartialUpdateEntityAttributeByGuid(string guid, string name, Azure.Core.RequestContent content, Azure.RequestOptions options = null) { throw null; } + public virtual System.Threading.Tasks.Task PartialUpdateEntityAttributeByGuidAsync(string guid, string name, Azure.Core.RequestContent content, Azure.RequestOptions options = null) { throw null; } + public virtual Azure.Response PartialUpdateEntityByUniqueAttributes(string typeName, Azure.Core.RequestContent content, string attrQualifiedName = null, Azure.RequestOptions options = null) { throw null; } + public virtual System.Threading.Tasks.Task PartialUpdateEntityByUniqueAttributesAsync(string typeName, Azure.Core.RequestContent content, string attrQualifiedName = null, Azure.RequestOptions options = null) { throw null; } + public virtual Azure.Response SetClassifications(Azure.Core.RequestContent content, Azure.RequestOptions options = null) { throw null; } + public virtual System.Threading.Tasks.Task SetClassificationsAsync(Azure.Core.RequestContent content, Azure.RequestOptions options = null) { throw null; } + public virtual Azure.Response UpdateClassifications(string guid, Azure.Core.RequestContent content, Azure.RequestOptions options = null) { throw null; } + public virtual System.Threading.Tasks.Task UpdateClassificationsAsync(string guid, Azure.Core.RequestContent content, Azure.RequestOptions options = null) { throw null; } + public virtual Azure.Response UpdateClassificationsByUniqueAttribute(string typeName, Azure.Core.RequestContent content, string attrQualifiedName = null, Azure.RequestOptions options = null) { throw null; } + public virtual System.Threading.Tasks.Task UpdateClassificationsByUniqueAttributeAsync(string typeName, Azure.Core.RequestContent content, string attrQualifiedName = null, Azure.RequestOptions options = null) { throw null; } } public partial class PurviewGlossaries { protected PurviewGlossaries() { } public virtual Azure.Core.Pipeline.HttpPipeline Pipeline { get { throw null; } } - public virtual Azure.Response AssignTermToEntities(string termGuid, Azure.Core.RequestContent requestBody, Azure.RequestOptions requestOptions = null) { throw null; } - public virtual System.Threading.Tasks.Task AssignTermToEntitiesAsync(string termGuid, Azure.Core.RequestContent requestBody, Azure.RequestOptions requestOptions = null) { throw null; } - public virtual Azure.Response CreateGlossary(Azure.Core.RequestContent requestBody, Azure.RequestOptions requestOptions = null) { throw null; } - public virtual System.Threading.Tasks.Task CreateGlossaryAsync(Azure.Core.RequestContent requestBody, Azure.RequestOptions requestOptions = null) { throw null; } - public virtual Azure.Response CreateGlossaryCategories(Azure.Core.RequestContent requestBody, Azure.RequestOptions requestOptions = null) { throw null; } - public virtual System.Threading.Tasks.Task CreateGlossaryCategoriesAsync(Azure.Core.RequestContent requestBody, Azure.RequestOptions requestOptions = null) { throw null; } - public virtual Azure.Response CreateGlossaryCategory(Azure.Core.RequestContent requestBody, Azure.RequestOptions requestOptions = null) { throw null; } - public virtual System.Threading.Tasks.Task CreateGlossaryCategoryAsync(Azure.Core.RequestContent requestBody, Azure.RequestOptions requestOptions = null) { throw null; } - public virtual Azure.Response CreateGlossaryTerm(Azure.Core.RequestContent requestBody, bool? includeTermHierarchy = default(bool?), Azure.RequestOptions requestOptions = null) { throw null; } - public virtual System.Threading.Tasks.Task CreateGlossaryTermAsync(Azure.Core.RequestContent requestBody, bool? includeTermHierarchy = default(bool?), Azure.RequestOptions requestOptions = null) { throw null; } - public virtual Azure.Response CreateGlossaryTerms(Azure.Core.RequestContent requestBody, bool? includeTermHierarchy = default(bool?), Azure.RequestOptions requestOptions = null) { throw null; } - public virtual System.Threading.Tasks.Task CreateGlossaryTermsAsync(Azure.Core.RequestContent requestBody, bool? includeTermHierarchy = default(bool?), Azure.RequestOptions requestOptions = null) { throw null; } - public virtual Azure.Response DeleteGlossary(string glossaryGuid, Azure.RequestOptions requestOptions = null) { throw null; } - public virtual System.Threading.Tasks.Task DeleteGlossaryAsync(string glossaryGuid, Azure.RequestOptions requestOptions = null) { throw null; } - public virtual Azure.Response DeleteGlossaryCategory(string categoryGuid, Azure.RequestOptions requestOptions = null) { throw null; } - public virtual System.Threading.Tasks.Task DeleteGlossaryCategoryAsync(string categoryGuid, Azure.RequestOptions requestOptions = null) { throw null; } - public virtual Azure.Response DeleteGlossaryTerm(string termGuid, Azure.RequestOptions requestOptions = null) { throw null; } - public virtual System.Threading.Tasks.Task DeleteGlossaryTermAsync(string termGuid, Azure.RequestOptions requestOptions = null) { throw null; } - public virtual Azure.Response DeleteTermAssignmentFromEntities(string termGuid, Azure.Core.RequestContent requestBody, Azure.RequestOptions requestOptions = null) { throw null; } - public virtual System.Threading.Tasks.Task DeleteTermAssignmentFromEntitiesAsync(string termGuid, Azure.Core.RequestContent requestBody, Azure.RequestOptions requestOptions = null) { throw null; } - public virtual Azure.Response ExportGlossaryTermsAsCsv(string glossaryGuid, Azure.Core.RequestContent requestBody, bool? includeTermHierarchy = default(bool?), Azure.RequestOptions requestOptions = null) { throw null; } - public virtual System.Threading.Tasks.Task ExportGlossaryTermsAsCsvAsync(string glossaryGuid, Azure.Core.RequestContent requestBody, bool? includeTermHierarchy = default(bool?), Azure.RequestOptions requestOptions = null) { throw null; } - public virtual Azure.Response GetCategoryTerms(string categoryGuid, int? limit = default(int?), int? offset = default(int?), string sort = null, Azure.RequestOptions requestOptions = null) { throw null; } - public virtual System.Threading.Tasks.Task GetCategoryTermsAsync(string categoryGuid, int? limit = default(int?), int? offset = default(int?), string sort = null, Azure.RequestOptions requestOptions = null) { throw null; } - public virtual Azure.Response GetDetailedGlossary(string glossaryGuid, bool? includeTermHierarchy = default(bool?), Azure.RequestOptions requestOptions = null) { throw null; } - public virtual System.Threading.Tasks.Task GetDetailedGlossaryAsync(string glossaryGuid, bool? includeTermHierarchy = default(bool?), Azure.RequestOptions requestOptions = null) { throw null; } - public virtual Azure.Response GetEntitiesAssignedWithTerm(string termGuid, int? limit = default(int?), int? offset = default(int?), string sort = null, Azure.RequestOptions requestOptions = null) { throw null; } - public virtual System.Threading.Tasks.Task GetEntitiesAssignedWithTermAsync(string termGuid, int? limit = default(int?), int? offset = default(int?), string sort = null, Azure.RequestOptions requestOptions = null) { throw null; } - public virtual Azure.Response GetGlossaries(int? limit = default(int?), int? offset = default(int?), string sort = null, Azure.RequestOptions requestOptions = null) { throw null; } - public virtual System.Threading.Tasks.Task GetGlossariesAsync(int? limit = default(int?), int? offset = default(int?), string sort = null, Azure.RequestOptions requestOptions = null) { throw null; } - public virtual Azure.Response GetGlossary(string glossaryGuid, Azure.RequestOptions requestOptions = null) { throw null; } - public virtual System.Threading.Tasks.Task GetGlossaryAsync(string glossaryGuid, Azure.RequestOptions requestOptions = null) { throw null; } - public virtual Azure.Response GetGlossaryCategories(string glossaryGuid, int? limit = default(int?), int? offset = default(int?), string sort = null, Azure.RequestOptions requestOptions = null) { throw null; } - public virtual System.Threading.Tasks.Task GetGlossaryCategoriesAsync(string glossaryGuid, int? limit = default(int?), int? offset = default(int?), string sort = null, Azure.RequestOptions requestOptions = null) { throw null; } - public virtual Azure.Response GetGlossaryCategoriesHeaders(string glossaryGuid, int? limit = default(int?), int? offset = default(int?), string sort = null, Azure.RequestOptions requestOptions = null) { throw null; } - public virtual System.Threading.Tasks.Task GetGlossaryCategoriesHeadersAsync(string glossaryGuid, int? limit = default(int?), int? offset = default(int?), string sort = null, Azure.RequestOptions requestOptions = null) { throw null; } - public virtual Azure.Response GetGlossaryCategory(string categoryGuid, Azure.RequestOptions requestOptions = null) { throw null; } - public virtual System.Threading.Tasks.Task GetGlossaryCategoryAsync(string categoryGuid, Azure.RequestOptions requestOptions = null) { throw null; } - public virtual Azure.Response GetGlossaryTerm(string termGuid, bool? includeTermHierarchy = default(bool?), Azure.RequestOptions requestOptions = null) { throw null; } - public virtual System.Threading.Tasks.Task GetGlossaryTermAsync(string termGuid, bool? includeTermHierarchy = default(bool?), Azure.RequestOptions requestOptions = null) { throw null; } - public virtual Azure.Response GetGlossaryTermHeaders(string glossaryGuid, int? limit = default(int?), int? offset = default(int?), string sort = null, Azure.RequestOptions requestOptions = null) { throw null; } - public virtual System.Threading.Tasks.Task GetGlossaryTermHeadersAsync(string glossaryGuid, int? limit = default(int?), int? offset = default(int?), string sort = null, Azure.RequestOptions requestOptions = null) { throw null; } - public virtual Azure.Response GetGlossaryTerms(string glossaryGuid, bool? includeTermHierarchy = default(bool?), int? limit = default(int?), int? offset = default(int?), string sort = null, Azure.RequestOptions requestOptions = null) { throw null; } - public virtual System.Threading.Tasks.Task GetGlossaryTermsAsync(string glossaryGuid, bool? includeTermHierarchy = default(bool?), int? limit = default(int?), int? offset = default(int?), string sort = null, Azure.RequestOptions requestOptions = null) { throw null; } - public virtual Azure.Response GetImportCsvOperationStatus(string operationGuid, Azure.RequestOptions requestOptions = null) { throw null; } - public virtual System.Threading.Tasks.Task GetImportCsvOperationStatusAsync(string operationGuid, Azure.RequestOptions requestOptions = null) { throw null; } - public virtual Azure.Response GetRelatedCategories(string categoryGuid, int? limit = default(int?), int? offset = default(int?), string sort = null, Azure.RequestOptions requestOptions = null) { throw null; } - public virtual System.Threading.Tasks.Task GetRelatedCategoriesAsync(string categoryGuid, int? limit = default(int?), int? offset = default(int?), string sort = null, Azure.RequestOptions requestOptions = null) { throw null; } - public virtual Azure.Response GetRelatedTerms(string termGuid, int? limit = default(int?), int? offset = default(int?), string sort = null, Azure.RequestOptions requestOptions = null) { throw null; } - public virtual System.Threading.Tasks.Task GetRelatedTermsAsync(string termGuid, int? limit = default(int?), int? offset = default(int?), string sort = null, Azure.RequestOptions requestOptions = null) { throw null; } - public virtual Azure.Response GetTermsByGlossaryName(string glossaryName, int? limit = default(int?), int? offset = default(int?), bool? includeTermHierarchy = default(bool?), Azure.RequestOptions requestOptions = null) { throw null; } - public virtual System.Threading.Tasks.Task GetTermsByGlossaryNameAsync(string glossaryName, int? limit = default(int?), int? offset = default(int?), bool? includeTermHierarchy = default(bool?), Azure.RequestOptions requestOptions = null) { throw null; } - public virtual Azure.Response ImportGlossaryTermsViaCsv(string glossaryGuid, Azure.Core.RequestContent requestBody, bool? includeTermHierarchy = default(bool?), Azure.RequestOptions requestOptions = null) { throw null; } - public virtual System.Threading.Tasks.Task ImportGlossaryTermsViaCsvAsync(string glossaryGuid, Azure.Core.RequestContent requestBody, bool? includeTermHierarchy = default(bool?), Azure.RequestOptions requestOptions = null) { throw null; } - public virtual Azure.Response ImportGlossaryTermsViaCsvByGlossaryName(string glossaryName, Azure.Core.RequestContent requestBody, bool? includeTermHierarchy = default(bool?), Azure.RequestOptions requestOptions = null) { throw null; } - public virtual System.Threading.Tasks.Task ImportGlossaryTermsViaCsvByGlossaryNameAsync(string glossaryName, Azure.Core.RequestContent requestBody, bool? includeTermHierarchy = default(bool?), Azure.RequestOptions requestOptions = null) { throw null; } - public virtual Azure.Response PartialUpdateGlossary(string glossaryGuid, Azure.Core.RequestContent requestBody, bool? includeTermHierarchy = default(bool?), Azure.RequestOptions requestOptions = null) { throw null; } - public virtual System.Threading.Tasks.Task PartialUpdateGlossaryAsync(string glossaryGuid, Azure.Core.RequestContent requestBody, bool? includeTermHierarchy = default(bool?), Azure.RequestOptions requestOptions = null) { throw null; } - public virtual Azure.Response PartialUpdateGlossaryCategory(string categoryGuid, Azure.Core.RequestContent requestBody, Azure.RequestOptions requestOptions = null) { throw null; } - public virtual System.Threading.Tasks.Task PartialUpdateGlossaryCategoryAsync(string categoryGuid, Azure.Core.RequestContent requestBody, Azure.RequestOptions requestOptions = null) { throw null; } - public virtual Azure.Response PartialUpdateGlossaryTerm(string termGuid, Azure.Core.RequestContent requestBody, bool? includeTermHierarchy = default(bool?), Azure.RequestOptions requestOptions = null) { throw null; } - public virtual System.Threading.Tasks.Task PartialUpdateGlossaryTermAsync(string termGuid, Azure.Core.RequestContent requestBody, bool? includeTermHierarchy = default(bool?), Azure.RequestOptions requestOptions = null) { throw null; } - public virtual Azure.Response RemoveTermAssignmentFromEntities(string termGuid, Azure.Core.RequestContent requestBody, Azure.RequestOptions requestOptions = null) { throw null; } - public virtual System.Threading.Tasks.Task RemoveTermAssignmentFromEntitiesAsync(string termGuid, Azure.Core.RequestContent requestBody, Azure.RequestOptions requestOptions = null) { throw null; } - public virtual Azure.Response UpdateGlossary(string glossaryGuid, Azure.Core.RequestContent requestBody, Azure.RequestOptions requestOptions = null) { throw null; } - public virtual System.Threading.Tasks.Task UpdateGlossaryAsync(string glossaryGuid, Azure.Core.RequestContent requestBody, Azure.RequestOptions requestOptions = null) { throw null; } - public virtual Azure.Response UpdateGlossaryCategory(string categoryGuid, Azure.Core.RequestContent requestBody, Azure.RequestOptions requestOptions = null) { throw null; } - public virtual System.Threading.Tasks.Task UpdateGlossaryCategoryAsync(string categoryGuid, Azure.Core.RequestContent requestBody, Azure.RequestOptions requestOptions = null) { throw null; } - public virtual Azure.Response UpdateGlossaryTerm(string termGuid, Azure.Core.RequestContent requestBody, Azure.RequestOptions requestOptions = null) { throw null; } - public virtual System.Threading.Tasks.Task UpdateGlossaryTermAsync(string termGuid, Azure.Core.RequestContent requestBody, Azure.RequestOptions requestOptions = null) { throw null; } + public virtual Azure.Response AssignTermToEntities(string termGuid, Azure.Core.RequestContent content, Azure.RequestOptions options = null) { throw null; } + public virtual System.Threading.Tasks.Task AssignTermToEntitiesAsync(string termGuid, Azure.Core.RequestContent content, Azure.RequestOptions options = null) { throw null; } + public virtual Azure.Response CreateGlossary(Azure.Core.RequestContent content, Azure.RequestOptions options = null) { throw null; } + public virtual System.Threading.Tasks.Task CreateGlossaryAsync(Azure.Core.RequestContent content, Azure.RequestOptions options = null) { throw null; } + public virtual Azure.Response CreateGlossaryCategories(Azure.Core.RequestContent content, Azure.RequestOptions options = null) { throw null; } + public virtual System.Threading.Tasks.Task CreateGlossaryCategoriesAsync(Azure.Core.RequestContent content, Azure.RequestOptions options = null) { throw null; } + public virtual Azure.Response CreateGlossaryCategory(Azure.Core.RequestContent content, Azure.RequestOptions options = null) { throw null; } + public virtual System.Threading.Tasks.Task CreateGlossaryCategoryAsync(Azure.Core.RequestContent content, Azure.RequestOptions options = null) { throw null; } + public virtual Azure.Response CreateGlossaryTerm(Azure.Core.RequestContent content, bool? includeTermHierarchy = default(bool?), Azure.RequestOptions options = null) { throw null; } + public virtual System.Threading.Tasks.Task CreateGlossaryTermAsync(Azure.Core.RequestContent content, bool? includeTermHierarchy = default(bool?), Azure.RequestOptions options = null) { throw null; } + public virtual Azure.Response CreateGlossaryTerms(Azure.Core.RequestContent content, bool? includeTermHierarchy = default(bool?), Azure.RequestOptions options = null) { throw null; } + public virtual System.Threading.Tasks.Task CreateGlossaryTermsAsync(Azure.Core.RequestContent content, bool? includeTermHierarchy = default(bool?), Azure.RequestOptions options = null) { throw null; } + public virtual Azure.Response DeleteGlossary(string glossaryGuid, Azure.RequestOptions options = null) { throw null; } + public virtual System.Threading.Tasks.Task DeleteGlossaryAsync(string glossaryGuid, Azure.RequestOptions options = null) { throw null; } + public virtual Azure.Response DeleteGlossaryCategory(string categoryGuid, Azure.RequestOptions options = null) { throw null; } + public virtual System.Threading.Tasks.Task DeleteGlossaryCategoryAsync(string categoryGuid, Azure.RequestOptions options = null) { throw null; } + public virtual Azure.Response DeleteGlossaryTerm(string termGuid, Azure.RequestOptions options = null) { throw null; } + public virtual System.Threading.Tasks.Task DeleteGlossaryTermAsync(string termGuid, Azure.RequestOptions options = null) { throw null; } + public virtual Azure.Response DeleteTermAssignmentFromEntities(string termGuid, Azure.Core.RequestContent content, Azure.RequestOptions options = null) { throw null; } + public virtual System.Threading.Tasks.Task DeleteTermAssignmentFromEntitiesAsync(string termGuid, Azure.Core.RequestContent content, Azure.RequestOptions options = null) { throw null; } + public virtual Azure.Response ExportGlossaryTermsAsCsv(string glossaryGuid, Azure.Core.RequestContent content, bool? includeTermHierarchy = default(bool?), Azure.RequestOptions options = null) { throw null; } + public virtual System.Threading.Tasks.Task ExportGlossaryTermsAsCsvAsync(string glossaryGuid, Azure.Core.RequestContent content, bool? includeTermHierarchy = default(bool?), Azure.RequestOptions options = null) { throw null; } + public virtual Azure.Response GetCategoryTerms(string categoryGuid, int? limit = default(int?), int? offset = default(int?), string sort = null, Azure.RequestOptions options = null) { throw null; } + public virtual System.Threading.Tasks.Task GetCategoryTermsAsync(string categoryGuid, int? limit = default(int?), int? offset = default(int?), string sort = null, Azure.RequestOptions options = null) { throw null; } + public virtual Azure.Response GetDetailedGlossary(string glossaryGuid, bool? includeTermHierarchy = default(bool?), Azure.RequestOptions options = null) { throw null; } + public virtual System.Threading.Tasks.Task GetDetailedGlossaryAsync(string glossaryGuid, bool? includeTermHierarchy = default(bool?), Azure.RequestOptions options = null) { throw null; } + public virtual Azure.Response GetEntitiesAssignedWithTerm(string termGuid, int? limit = default(int?), int? offset = default(int?), string sort = null, Azure.RequestOptions options = null) { throw null; } + public virtual System.Threading.Tasks.Task GetEntitiesAssignedWithTermAsync(string termGuid, int? limit = default(int?), int? offset = default(int?), string sort = null, Azure.RequestOptions options = null) { throw null; } + public virtual Azure.Response GetGlossaries(int? limit = default(int?), int? offset = default(int?), string sort = null, Azure.RequestOptions options = null) { throw null; } + public virtual System.Threading.Tasks.Task GetGlossariesAsync(int? limit = default(int?), int? offset = default(int?), string sort = null, Azure.RequestOptions options = null) { throw null; } + public virtual Azure.Response GetGlossary(string glossaryGuid, Azure.RequestOptions options = null) { throw null; } + public virtual System.Threading.Tasks.Task GetGlossaryAsync(string glossaryGuid, Azure.RequestOptions options = null) { throw null; } + public virtual Azure.Response GetGlossaryCategories(string glossaryGuid, int? limit = default(int?), int? offset = default(int?), string sort = null, Azure.RequestOptions options = null) { throw null; } + public virtual System.Threading.Tasks.Task GetGlossaryCategoriesAsync(string glossaryGuid, int? limit = default(int?), int? offset = default(int?), string sort = null, Azure.RequestOptions options = null) { throw null; } + public virtual Azure.Response GetGlossaryCategoriesHeaders(string glossaryGuid, int? limit = default(int?), int? offset = default(int?), string sort = null, Azure.RequestOptions options = null) { throw null; } + public virtual System.Threading.Tasks.Task GetGlossaryCategoriesHeadersAsync(string glossaryGuid, int? limit = default(int?), int? offset = default(int?), string sort = null, Azure.RequestOptions options = null) { throw null; } + public virtual Azure.Response GetGlossaryCategory(string categoryGuid, Azure.RequestOptions options = null) { throw null; } + public virtual System.Threading.Tasks.Task GetGlossaryCategoryAsync(string categoryGuid, Azure.RequestOptions options = null) { throw null; } + public virtual Azure.Response GetGlossaryTerm(string termGuid, bool? includeTermHierarchy = default(bool?), Azure.RequestOptions options = null) { throw null; } + public virtual System.Threading.Tasks.Task GetGlossaryTermAsync(string termGuid, bool? includeTermHierarchy = default(bool?), Azure.RequestOptions options = null) { throw null; } + public virtual Azure.Response GetGlossaryTermHeaders(string glossaryGuid, int? limit = default(int?), int? offset = default(int?), string sort = null, Azure.RequestOptions options = null) { throw null; } + public virtual System.Threading.Tasks.Task GetGlossaryTermHeadersAsync(string glossaryGuid, int? limit = default(int?), int? offset = default(int?), string sort = null, Azure.RequestOptions options = null) { throw null; } + public virtual Azure.Response GetGlossaryTerms(string glossaryGuid, bool? includeTermHierarchy = default(bool?), int? limit = default(int?), int? offset = default(int?), string sort = null, Azure.RequestOptions options = null) { throw null; } + public virtual System.Threading.Tasks.Task GetGlossaryTermsAsync(string glossaryGuid, bool? includeTermHierarchy = default(bool?), int? limit = default(int?), int? offset = default(int?), string sort = null, Azure.RequestOptions options = null) { throw null; } + public virtual Azure.Response GetImportCsvOperationStatus(string operationGuid, Azure.RequestOptions options = null) { throw null; } + public virtual System.Threading.Tasks.Task GetImportCsvOperationStatusAsync(string operationGuid, Azure.RequestOptions options = null) { throw null; } + public virtual Azure.Response GetRelatedCategories(string categoryGuid, int? limit = default(int?), int? offset = default(int?), string sort = null, Azure.RequestOptions options = null) { throw null; } + public virtual System.Threading.Tasks.Task GetRelatedCategoriesAsync(string categoryGuid, int? limit = default(int?), int? offset = default(int?), string sort = null, Azure.RequestOptions options = null) { throw null; } + public virtual Azure.Response GetRelatedTerms(string termGuid, int? limit = default(int?), int? offset = default(int?), string sort = null, Azure.RequestOptions options = null) { throw null; } + public virtual System.Threading.Tasks.Task GetRelatedTermsAsync(string termGuid, int? limit = default(int?), int? offset = default(int?), string sort = null, Azure.RequestOptions options = null) { throw null; } + public virtual Azure.Response GetTermsByGlossaryName(string glossaryName, int? limit = default(int?), int? offset = default(int?), bool? includeTermHierarchy = default(bool?), Azure.RequestOptions options = null) { throw null; } + public virtual System.Threading.Tasks.Task GetTermsByGlossaryNameAsync(string glossaryName, int? limit = default(int?), int? offset = default(int?), bool? includeTermHierarchy = default(bool?), Azure.RequestOptions options = null) { throw null; } + public virtual Azure.Response ImportGlossaryTermsViaCsv(string glossaryGuid, Azure.Core.RequestContent content, bool? includeTermHierarchy = default(bool?), Azure.RequestOptions options = null) { throw null; } + public virtual System.Threading.Tasks.Task ImportGlossaryTermsViaCsvAsync(string glossaryGuid, Azure.Core.RequestContent content, bool? includeTermHierarchy = default(bool?), Azure.RequestOptions options = null) { throw null; } + public virtual Azure.Response ImportGlossaryTermsViaCsvByGlossaryName(string glossaryName, Azure.Core.RequestContent content, bool? includeTermHierarchy = default(bool?), Azure.RequestOptions options = null) { throw null; } + public virtual System.Threading.Tasks.Task ImportGlossaryTermsViaCsvByGlossaryNameAsync(string glossaryName, Azure.Core.RequestContent content, bool? includeTermHierarchy = default(bool?), Azure.RequestOptions options = null) { throw null; } + public virtual Azure.Response PartialUpdateGlossary(string glossaryGuid, Azure.Core.RequestContent content, bool? includeTermHierarchy = default(bool?), Azure.RequestOptions options = null) { throw null; } + public virtual System.Threading.Tasks.Task PartialUpdateGlossaryAsync(string glossaryGuid, Azure.Core.RequestContent content, bool? includeTermHierarchy = default(bool?), Azure.RequestOptions options = null) { throw null; } + public virtual Azure.Response PartialUpdateGlossaryCategory(string categoryGuid, Azure.Core.RequestContent content, Azure.RequestOptions options = null) { throw null; } + public virtual System.Threading.Tasks.Task PartialUpdateGlossaryCategoryAsync(string categoryGuid, Azure.Core.RequestContent content, Azure.RequestOptions options = null) { throw null; } + public virtual Azure.Response PartialUpdateGlossaryTerm(string termGuid, Azure.Core.RequestContent content, bool? includeTermHierarchy = default(bool?), Azure.RequestOptions options = null) { throw null; } + public virtual System.Threading.Tasks.Task PartialUpdateGlossaryTermAsync(string termGuid, Azure.Core.RequestContent content, bool? includeTermHierarchy = default(bool?), Azure.RequestOptions options = null) { throw null; } + public virtual Azure.Response RemoveTermAssignmentFromEntities(string termGuid, Azure.Core.RequestContent content, Azure.RequestOptions options = null) { throw null; } + public virtual System.Threading.Tasks.Task RemoveTermAssignmentFromEntitiesAsync(string termGuid, Azure.Core.RequestContent content, Azure.RequestOptions options = null) { throw null; } + public virtual Azure.Response UpdateGlossary(string glossaryGuid, Azure.Core.RequestContent content, Azure.RequestOptions options = null) { throw null; } + public virtual System.Threading.Tasks.Task UpdateGlossaryAsync(string glossaryGuid, Azure.Core.RequestContent content, Azure.RequestOptions options = null) { throw null; } + public virtual Azure.Response UpdateGlossaryCategory(string categoryGuid, Azure.Core.RequestContent content, Azure.RequestOptions options = null) { throw null; } + public virtual System.Threading.Tasks.Task UpdateGlossaryCategoryAsync(string categoryGuid, Azure.Core.RequestContent content, Azure.RequestOptions options = null) { throw null; } + public virtual Azure.Response UpdateGlossaryTerm(string termGuid, Azure.Core.RequestContent content, Azure.RequestOptions options = null) { throw null; } + public virtual System.Threading.Tasks.Task UpdateGlossaryTermAsync(string termGuid, Azure.Core.RequestContent content, Azure.RequestOptions options = null) { throw null; } } public partial class PurviewRelationships { protected PurviewRelationships() { } public virtual Azure.Core.Pipeline.HttpPipeline Pipeline { get { throw null; } } - public virtual Azure.Response Create(Azure.Core.RequestContent requestBody, Azure.RequestOptions requestOptions = null) { throw null; } - public virtual System.Threading.Tasks.Task CreateAsync(Azure.Core.RequestContent requestBody, Azure.RequestOptions requestOptions = null) { throw null; } - public virtual Azure.Response Delete(string guid, Azure.RequestOptions requestOptions = null) { throw null; } - public virtual System.Threading.Tasks.Task DeleteAsync(string guid, Azure.RequestOptions requestOptions = null) { throw null; } - public virtual Azure.Response Get(string guid, bool? extendedInfo = default(bool?), Azure.RequestOptions requestOptions = null) { throw null; } - public virtual System.Threading.Tasks.Task GetAsync(string guid, bool? extendedInfo = default(bool?), Azure.RequestOptions requestOptions = null) { throw null; } - public virtual Azure.Response Update(Azure.Core.RequestContent requestBody, Azure.RequestOptions requestOptions = null) { throw null; } - public virtual System.Threading.Tasks.Task UpdateAsync(Azure.Core.RequestContent requestBody, Azure.RequestOptions requestOptions = null) { throw null; } + public virtual Azure.Response Create(Azure.Core.RequestContent content, Azure.RequestOptions options = null) { throw null; } + public virtual System.Threading.Tasks.Task CreateAsync(Azure.Core.RequestContent content, Azure.RequestOptions options = null) { throw null; } + public virtual Azure.Response Delete(string guid, Azure.RequestOptions options = null) { throw null; } + public virtual System.Threading.Tasks.Task DeleteAsync(string guid, Azure.RequestOptions options = null) { throw null; } + public virtual Azure.Response Get(string guid, bool? extendedInfo = default(bool?), Azure.RequestOptions options = null) { throw null; } + public virtual System.Threading.Tasks.Task GetAsync(string guid, bool? extendedInfo = default(bool?), Azure.RequestOptions options = null) { throw null; } + public virtual Azure.Response Update(Azure.Core.RequestContent content, Azure.RequestOptions options = null) { throw null; } + public virtual System.Threading.Tasks.Task UpdateAsync(Azure.Core.RequestContent content, Azure.RequestOptions options = null) { throw null; } } public partial class PurviewTypes { protected PurviewTypes() { } public virtual Azure.Core.Pipeline.HttpPipeline Pipeline { get { throw null; } } - public virtual Azure.Response CreateTypeDefinitions(Azure.Core.RequestContent requestBody, Azure.RequestOptions requestOptions = null) { throw null; } - public virtual System.Threading.Tasks.Task CreateTypeDefinitionsAsync(Azure.Core.RequestContent requestBody, Azure.RequestOptions requestOptions = null) { throw null; } - public virtual Azure.Response DeleteTypeByName(string name, Azure.RequestOptions requestOptions = null) { throw null; } - public virtual System.Threading.Tasks.Task DeleteTypeByNameAsync(string name, Azure.RequestOptions requestOptions = null) { throw null; } - public virtual Azure.Response DeleteTypeDefinitions(Azure.Core.RequestContent requestBody, Azure.RequestOptions requestOptions = null) { throw null; } - public virtual System.Threading.Tasks.Task DeleteTypeDefinitionsAsync(Azure.Core.RequestContent requestBody, Azure.RequestOptions requestOptions = null) { throw null; } - public virtual Azure.Response GetAllTypeDefinitions(bool? includeTermTemplate = default(bool?), string type = null, Azure.RequestOptions requestOptions = null) { throw null; } - public virtual System.Threading.Tasks.Task GetAllTypeDefinitionsAsync(bool? includeTermTemplate = default(bool?), string type = null, Azure.RequestOptions requestOptions = null) { throw null; } - public virtual Azure.Response GetClassificationDefByGuid(string guid, Azure.RequestOptions requestOptions = null) { throw null; } - public virtual System.Threading.Tasks.Task GetClassificationDefByGuidAsync(string guid, Azure.RequestOptions requestOptions = null) { throw null; } - public virtual Azure.Response GetClassificationDefByName(string name, Azure.RequestOptions requestOptions = null) { throw null; } - public virtual System.Threading.Tasks.Task GetClassificationDefByNameAsync(string name, Azure.RequestOptions requestOptions = null) { throw null; } - public virtual Azure.Response GetEntityDefinitionByGuid(string guid, Azure.RequestOptions requestOptions = null) { throw null; } - public virtual System.Threading.Tasks.Task GetEntityDefinitionByGuidAsync(string guid, Azure.RequestOptions requestOptions = null) { throw null; } - public virtual Azure.Response GetEntityDefinitionByName(string name, Azure.RequestOptions requestOptions = null) { throw null; } - public virtual System.Threading.Tasks.Task GetEntityDefinitionByNameAsync(string name, Azure.RequestOptions requestOptions = null) { throw null; } - public virtual Azure.Response GetEnumDefByGuid(string guid, Azure.RequestOptions requestOptions = null) { throw null; } - public virtual System.Threading.Tasks.Task GetEnumDefByGuidAsync(string guid, Azure.RequestOptions requestOptions = null) { throw null; } - public virtual Azure.Response GetEnumDefByName(string name, Azure.RequestOptions requestOptions = null) { throw null; } - public virtual System.Threading.Tasks.Task GetEnumDefByNameAsync(string name, Azure.RequestOptions requestOptions = null) { throw null; } - public virtual Azure.Response GetRelationshipDefByGuid(string guid, Azure.RequestOptions requestOptions = null) { throw null; } - public virtual System.Threading.Tasks.Task GetRelationshipDefByGuidAsync(string guid, Azure.RequestOptions requestOptions = null) { throw null; } - public virtual Azure.Response GetRelationshipDefByName(string name, Azure.RequestOptions requestOptions = null) { throw null; } - public virtual System.Threading.Tasks.Task GetRelationshipDefByNameAsync(string name, Azure.RequestOptions requestOptions = null) { throw null; } - public virtual Azure.Response GetStructDefByGuid(string guid, Azure.RequestOptions requestOptions = null) { throw null; } - public virtual System.Threading.Tasks.Task GetStructDefByGuidAsync(string guid, Azure.RequestOptions requestOptions = null) { throw null; } - public virtual Azure.Response GetStructDefByName(string name, Azure.RequestOptions requestOptions = null) { throw null; } - public virtual System.Threading.Tasks.Task GetStructDefByNameAsync(string name, Azure.RequestOptions requestOptions = null) { throw null; } - public virtual Azure.Response GetTermTemplateDefByGuid(string guid, Azure.RequestOptions requestOptions = null) { throw null; } - public virtual System.Threading.Tasks.Task GetTermTemplateDefByGuidAsync(string guid, Azure.RequestOptions requestOptions = null) { throw null; } - public virtual Azure.Response GetTermTemplateDefByName(string name, Azure.RequestOptions requestOptions = null) { throw null; } - public virtual System.Threading.Tasks.Task GetTermTemplateDefByNameAsync(string name, Azure.RequestOptions requestOptions = null) { throw null; } - public virtual Azure.Response GetTypeDefinitionByGuid(string guid, Azure.RequestOptions requestOptions = null) { throw null; } - public virtual System.Threading.Tasks.Task GetTypeDefinitionByGuidAsync(string guid, Azure.RequestOptions requestOptions = null) { throw null; } - public virtual Azure.Response GetTypeDefinitionByName(string name, Azure.RequestOptions requestOptions = null) { throw null; } - public virtual System.Threading.Tasks.Task GetTypeDefinitionByNameAsync(string name, Azure.RequestOptions requestOptions = null) { throw null; } - public virtual Azure.Response GetTypeDefinitionHeaders(bool? includeTermTemplate = default(bool?), string type = null, Azure.RequestOptions requestOptions = null) { throw null; } - public virtual System.Threading.Tasks.Task GetTypeDefinitionHeadersAsync(bool? includeTermTemplate = default(bool?), string type = null, Azure.RequestOptions requestOptions = null) { throw null; } - public virtual Azure.Response UpdateAtlasTypeDefinitions(Azure.Core.RequestContent requestBody, Azure.RequestOptions requestOptions = null) { throw null; } - public virtual System.Threading.Tasks.Task UpdateAtlasTypeDefinitionsAsync(Azure.Core.RequestContent requestBody, Azure.RequestOptions requestOptions = null) { throw null; } + public virtual Azure.Response CreateTypeDefinitions(Azure.Core.RequestContent content, Azure.RequestOptions options = null) { throw null; } + public virtual System.Threading.Tasks.Task CreateTypeDefinitionsAsync(Azure.Core.RequestContent content, Azure.RequestOptions options = null) { throw null; } + public virtual Azure.Response DeleteTypeByName(string name, Azure.RequestOptions options = null) { throw null; } + public virtual System.Threading.Tasks.Task DeleteTypeByNameAsync(string name, Azure.RequestOptions options = null) { throw null; } + public virtual Azure.Response DeleteTypeDefinitions(Azure.Core.RequestContent content, Azure.RequestOptions options = null) { throw null; } + public virtual System.Threading.Tasks.Task DeleteTypeDefinitionsAsync(Azure.Core.RequestContent content, Azure.RequestOptions options = null) { throw null; } + public virtual Azure.Response GetAllTypeDefinitions(bool? includeTermTemplate = default(bool?), string type = null, Azure.RequestOptions options = null) { throw null; } + public virtual System.Threading.Tasks.Task GetAllTypeDefinitionsAsync(bool? includeTermTemplate = default(bool?), string type = null, Azure.RequestOptions options = null) { throw null; } + public virtual Azure.Response GetClassificationDefByGuid(string guid, Azure.RequestOptions options = null) { throw null; } + public virtual System.Threading.Tasks.Task GetClassificationDefByGuidAsync(string guid, Azure.RequestOptions options = null) { throw null; } + public virtual Azure.Response GetClassificationDefByName(string name, Azure.RequestOptions options = null) { throw null; } + public virtual System.Threading.Tasks.Task GetClassificationDefByNameAsync(string name, Azure.RequestOptions options = null) { throw null; } + public virtual Azure.Response GetEntityDefinitionByGuid(string guid, Azure.RequestOptions options = null) { throw null; } + public virtual System.Threading.Tasks.Task GetEntityDefinitionByGuidAsync(string guid, Azure.RequestOptions options = null) { throw null; } + public virtual Azure.Response GetEntityDefinitionByName(string name, Azure.RequestOptions options = null) { throw null; } + public virtual System.Threading.Tasks.Task GetEntityDefinitionByNameAsync(string name, Azure.RequestOptions options = null) { throw null; } + public virtual Azure.Response GetEnumDefByGuid(string guid, Azure.RequestOptions options = null) { throw null; } + public virtual System.Threading.Tasks.Task GetEnumDefByGuidAsync(string guid, Azure.RequestOptions options = null) { throw null; } + public virtual Azure.Response GetEnumDefByName(string name, Azure.RequestOptions options = null) { throw null; } + public virtual System.Threading.Tasks.Task GetEnumDefByNameAsync(string name, Azure.RequestOptions options = null) { throw null; } + public virtual Azure.Response GetRelationshipDefByGuid(string guid, Azure.RequestOptions options = null) { throw null; } + public virtual System.Threading.Tasks.Task GetRelationshipDefByGuidAsync(string guid, Azure.RequestOptions options = null) { throw null; } + public virtual Azure.Response GetRelationshipDefByName(string name, Azure.RequestOptions options = null) { throw null; } + public virtual System.Threading.Tasks.Task GetRelationshipDefByNameAsync(string name, Azure.RequestOptions options = null) { throw null; } + public virtual Azure.Response GetStructDefByGuid(string guid, Azure.RequestOptions options = null) { throw null; } + public virtual System.Threading.Tasks.Task GetStructDefByGuidAsync(string guid, Azure.RequestOptions options = null) { throw null; } + public virtual Azure.Response GetStructDefByName(string name, Azure.RequestOptions options = null) { throw null; } + public virtual System.Threading.Tasks.Task GetStructDefByNameAsync(string name, Azure.RequestOptions options = null) { throw null; } + public virtual Azure.Response GetTermTemplateDefByGuid(string guid, Azure.RequestOptions options = null) { throw null; } + public virtual System.Threading.Tasks.Task GetTermTemplateDefByGuidAsync(string guid, Azure.RequestOptions options = null) { throw null; } + public virtual Azure.Response GetTermTemplateDefByName(string name, Azure.RequestOptions options = null) { throw null; } + public virtual System.Threading.Tasks.Task GetTermTemplateDefByNameAsync(string name, Azure.RequestOptions options = null) { throw null; } + public virtual Azure.Response GetTypeDefinitionByGuid(string guid, Azure.RequestOptions options = null) { throw null; } + public virtual System.Threading.Tasks.Task GetTypeDefinitionByGuidAsync(string guid, Azure.RequestOptions options = null) { throw null; } + public virtual Azure.Response GetTypeDefinitionByName(string name, Azure.RequestOptions options = null) { throw null; } + public virtual System.Threading.Tasks.Task GetTypeDefinitionByNameAsync(string name, Azure.RequestOptions options = null) { throw null; } + public virtual Azure.Response GetTypeDefinitionHeaders(bool? includeTermTemplate = default(bool?), string type = null, Azure.RequestOptions options = null) { throw null; } + public virtual System.Threading.Tasks.Task GetTypeDefinitionHeadersAsync(bool? includeTermTemplate = default(bool?), string type = null, Azure.RequestOptions options = null) { throw null; } + public virtual Azure.Response UpdateAtlasTypeDefinitions(Azure.Core.RequestContent content, Azure.RequestOptions options = null) { throw null; } + public virtual System.Threading.Tasks.Task UpdateAtlasTypeDefinitionsAsync(Azure.Core.RequestContent content, Azure.RequestOptions options = null) { throw null; } } } diff --git a/sdk/purview/Azure.Analytics.Purview.Catalog/src/Generated/PurviewCatalogClient.cs b/sdk/purview/Azure.Analytics.Purview.Catalog/src/Generated/PurviewCatalogClient.cs index 890b07c145d8..893ad7a49e8e 100644 --- a/sdk/purview/Azure.Analytics.Purview.Catalog/src/Generated/PurviewCatalogClient.cs +++ b/sdk/purview/Azure.Analytics.Purview.Catalog/src/Generated/PurviewCatalogClient.cs @@ -57,12 +57,12 @@ public PurviewCatalogClient(Uri endpoint, TokenCredential credential, PurviewCat /// /// Schema for Request Body: /// - /// + /// /// Name /// Type /// Required /// Description - /// + /// /// /// keywords /// string @@ -102,12 +102,12 @@ public PurviewCatalogClient(Uri endpoint, TokenCredential credential, PurviewCat /// /// Schema for SearchRequestTaxonomySetting: /// - /// + /// /// Name /// Type /// Required /// Description - /// + /// /// /// assetTypes /// string[] @@ -123,12 +123,12 @@ public PurviewCatalogClient(Uri endpoint, TokenCredential credential, PurviewCat /// /// Schema for SearchFacetItem: /// - /// + /// /// Name /// Type /// Required /// Description - /// + /// /// /// count /// number @@ -149,24 +149,24 @@ public PurviewCatalogClient(Uri endpoint, TokenCredential credential, PurviewCat /// /// /// - /// The request body. - /// The request options. + /// The content to send as the body of the request. + /// The request options. #pragma warning disable AZC0002 - public virtual async Task SearchAsync(RequestContent requestBody, RequestOptions requestOptions = null) + public virtual async Task SearchAsync(RequestContent content, RequestOptions options = null) #pragma warning restore AZC0002 { - requestOptions ??= new RequestOptions(); - HttpMessage message = CreateSearchRequest(requestBody, requestOptions); - if (requestOptions.PerCallPolicy != null) + options ??= new RequestOptions(); + HttpMessage message = CreateSearchRequest(content, options); + if (options.PerCallPolicy != null) { - message.SetProperty("RequestOptionsPerCallPolicyCallback", requestOptions.PerCallPolicy); + message.SetProperty("RequestOptionsPerCallPolicyCallback", options.PerCallPolicy); } using var scope = _clientDiagnostics.CreateScope("PurviewCatalogClient.Search"); scope.Start(); try { - await Pipeline.SendAsync(message, requestOptions.CancellationToken).ConfigureAwait(false); - if (requestOptions.StatusOption == ResponseStatusOption.Default) + await Pipeline.SendAsync(message, options.CancellationToken).ConfigureAwait(false); + if (options.StatusOption == ResponseStatusOption.Default) { switch (message.Response.Status) { @@ -192,12 +192,12 @@ public virtual async Task SearchAsync(RequestContent requestBody, Requ /// /// Schema for Request Body: /// - /// + /// /// Name /// Type /// Required /// Description - /// + /// /// /// keywords /// string @@ -237,12 +237,12 @@ public virtual async Task SearchAsync(RequestContent requestBody, Requ /// /// Schema for SearchRequestTaxonomySetting: /// - /// + /// /// Name /// Type /// Required /// Description - /// + /// /// /// assetTypes /// string[] @@ -258,12 +258,12 @@ public virtual async Task SearchAsync(RequestContent requestBody, Requ /// /// Schema for SearchFacetItem: /// - /// + /// /// Name /// Type /// Required /// Description - /// + /// /// /// count /// number @@ -284,24 +284,24 @@ public virtual async Task SearchAsync(RequestContent requestBody, Requ /// /// /// - /// The request body. - /// The request options. + /// The content to send as the body of the request. + /// The request options. #pragma warning disable AZC0002 - public virtual Response Search(RequestContent requestBody, RequestOptions requestOptions = null) + public virtual Response Search(RequestContent content, RequestOptions options = null) #pragma warning restore AZC0002 { - requestOptions ??= new RequestOptions(); - HttpMessage message = CreateSearchRequest(requestBody, requestOptions); - if (requestOptions.PerCallPolicy != null) + options ??= new RequestOptions(); + HttpMessage message = CreateSearchRequest(content, options); + if (options.PerCallPolicy != null) { - message.SetProperty("RequestOptionsPerCallPolicyCallback", requestOptions.PerCallPolicy); + message.SetProperty("RequestOptionsPerCallPolicyCallback", options.PerCallPolicy); } using var scope = _clientDiagnostics.CreateScope("PurviewCatalogClient.Search"); scope.Start(); try { - Pipeline.Send(message, requestOptions.CancellationToken); - if (requestOptions.StatusOption == ResponseStatusOption.Default) + Pipeline.Send(message, options.CancellationToken); + if (options.StatusOption == ResponseStatusOption.Default) { switch (message.Response.Status) { @@ -324,9 +324,9 @@ public virtual Response Search(RequestContent requestBody, RequestOptions reques } /// Create Request for and operations. - /// The request body. - /// The request options. - private HttpMessage CreateSearchRequest(RequestContent requestBody, RequestOptions requestOptions = null) + /// The content to send as the body of the request. + /// The request options. + private HttpMessage CreateSearchRequest(RequestContent content, RequestOptions options = null) { var message = Pipeline.CreateMessage(); var request = message.Request; @@ -339,7 +339,7 @@ private HttpMessage CreateSearchRequest(RequestContent requestBody, RequestOptio request.Uri = uri; request.Headers.Add("Accept", "application/json"); request.Headers.Add("Content-Type", "application/json"); - request.Content = requestBody; + request.Content = content; return message; } @@ -347,12 +347,12 @@ private HttpMessage CreateSearchRequest(RequestContent requestBody, RequestOptio /// /// Schema for Request Body: /// - /// + /// /// Name /// Type /// Required /// Description - /// + /// /// /// keywords /// string @@ -373,24 +373,24 @@ private HttpMessage CreateSearchRequest(RequestContent requestBody, RequestOptio /// /// /// - /// The request body. - /// The request options. + /// The content to send as the body of the request. + /// The request options. #pragma warning disable AZC0002 - public virtual async Task SuggestAsync(RequestContent requestBody, RequestOptions requestOptions = null) + public virtual async Task SuggestAsync(RequestContent content, RequestOptions options = null) #pragma warning restore AZC0002 { - requestOptions ??= new RequestOptions(); - HttpMessage message = CreateSuggestRequest(requestBody, requestOptions); - if (requestOptions.PerCallPolicy != null) + options ??= new RequestOptions(); + HttpMessage message = CreateSuggestRequest(content, options); + if (options.PerCallPolicy != null) { - message.SetProperty("RequestOptionsPerCallPolicyCallback", requestOptions.PerCallPolicy); + message.SetProperty("RequestOptionsPerCallPolicyCallback", options.PerCallPolicy); } using var scope = _clientDiagnostics.CreateScope("PurviewCatalogClient.Suggest"); scope.Start(); try { - await Pipeline.SendAsync(message, requestOptions.CancellationToken).ConfigureAwait(false); - if (requestOptions.StatusOption == ResponseStatusOption.Default) + await Pipeline.SendAsync(message, options.CancellationToken).ConfigureAwait(false); + if (options.StatusOption == ResponseStatusOption.Default) { switch (message.Response.Status) { @@ -416,12 +416,12 @@ public virtual async Task SuggestAsync(RequestContent requestBody, Req /// /// Schema for Request Body: /// - /// + /// /// Name /// Type /// Required /// Description - /// + /// /// /// keywords /// string @@ -442,24 +442,24 @@ public virtual async Task SuggestAsync(RequestContent requestBody, Req /// /// /// - /// The request body. - /// The request options. + /// The content to send as the body of the request. + /// The request options. #pragma warning disable AZC0002 - public virtual Response Suggest(RequestContent requestBody, RequestOptions requestOptions = null) + public virtual Response Suggest(RequestContent content, RequestOptions options = null) #pragma warning restore AZC0002 { - requestOptions ??= new RequestOptions(); - HttpMessage message = CreateSuggestRequest(requestBody, requestOptions); - if (requestOptions.PerCallPolicy != null) + options ??= new RequestOptions(); + HttpMessage message = CreateSuggestRequest(content, options); + if (options.PerCallPolicy != null) { - message.SetProperty("RequestOptionsPerCallPolicyCallback", requestOptions.PerCallPolicy); + message.SetProperty("RequestOptionsPerCallPolicyCallback", options.PerCallPolicy); } using var scope = _clientDiagnostics.CreateScope("PurviewCatalogClient.Suggest"); scope.Start(); try { - Pipeline.Send(message, requestOptions.CancellationToken); - if (requestOptions.StatusOption == ResponseStatusOption.Default) + Pipeline.Send(message, options.CancellationToken); + if (options.StatusOption == ResponseStatusOption.Default) { switch (message.Response.Status) { @@ -482,9 +482,9 @@ public virtual Response Suggest(RequestContent requestBody, RequestOptions reque } /// Create Request for and operations. - /// The request body. - /// The request options. - private HttpMessage CreateSuggestRequest(RequestContent requestBody, RequestOptions requestOptions = null) + /// The content to send as the body of the request. + /// The request options. + private HttpMessage CreateSuggestRequest(RequestContent content, RequestOptions options = null) { var message = Pipeline.CreateMessage(); var request = message.Request; @@ -497,7 +497,7 @@ private HttpMessage CreateSuggestRequest(RequestContent requestBody, RequestOpti request.Uri = uri; request.Headers.Add("Accept", "application/json"); request.Headers.Add("Content-Type", "application/json"); - request.Content = requestBody; + request.Content = content; return message; } @@ -505,12 +505,12 @@ private HttpMessage CreateSuggestRequest(RequestContent requestBody, RequestOpti /// /// Schema for Request Body: /// - /// + /// /// Name /// Type /// Required /// Description - /// + /// /// /// keywords /// string @@ -531,24 +531,24 @@ private HttpMessage CreateSuggestRequest(RequestContent requestBody, RequestOpti /// /// /// - /// The request body. - /// The request options. + /// The content to send as the body of the request. + /// The request options. #pragma warning disable AZC0002 - public virtual async Task AutoCompleteAsync(RequestContent requestBody, RequestOptions requestOptions = null) + public virtual async Task AutoCompleteAsync(RequestContent content, RequestOptions options = null) #pragma warning restore AZC0002 { - requestOptions ??= new RequestOptions(); - HttpMessage message = CreateAutoCompleteRequest(requestBody, requestOptions); - if (requestOptions.PerCallPolicy != null) + options ??= new RequestOptions(); + HttpMessage message = CreateAutoCompleteRequest(content, options); + if (options.PerCallPolicy != null) { - message.SetProperty("RequestOptionsPerCallPolicyCallback", requestOptions.PerCallPolicy); + message.SetProperty("RequestOptionsPerCallPolicyCallback", options.PerCallPolicy); } using var scope = _clientDiagnostics.CreateScope("PurviewCatalogClient.AutoComplete"); scope.Start(); try { - await Pipeline.SendAsync(message, requestOptions.CancellationToken).ConfigureAwait(false); - if (requestOptions.StatusOption == ResponseStatusOption.Default) + await Pipeline.SendAsync(message, options.CancellationToken).ConfigureAwait(false); + if (options.StatusOption == ResponseStatusOption.Default) { switch (message.Response.Status) { @@ -574,12 +574,12 @@ public virtual async Task AutoCompleteAsync(RequestContent requestBody /// /// Schema for Request Body: /// - /// + /// /// Name /// Type /// Required /// Description - /// + /// /// /// keywords /// string @@ -600,24 +600,24 @@ public virtual async Task AutoCompleteAsync(RequestContent requestBody /// /// /// - /// The request body. - /// The request options. + /// The content to send as the body of the request. + /// The request options. #pragma warning disable AZC0002 - public virtual Response AutoComplete(RequestContent requestBody, RequestOptions requestOptions = null) + public virtual Response AutoComplete(RequestContent content, RequestOptions options = null) #pragma warning restore AZC0002 { - requestOptions ??= new RequestOptions(); - HttpMessage message = CreateAutoCompleteRequest(requestBody, requestOptions); - if (requestOptions.PerCallPolicy != null) + options ??= new RequestOptions(); + HttpMessage message = CreateAutoCompleteRequest(content, options); + if (options.PerCallPolicy != null) { - message.SetProperty("RequestOptionsPerCallPolicyCallback", requestOptions.PerCallPolicy); + message.SetProperty("RequestOptionsPerCallPolicyCallback", options.PerCallPolicy); } using var scope = _clientDiagnostics.CreateScope("PurviewCatalogClient.AutoComplete"); scope.Start(); try { - Pipeline.Send(message, requestOptions.CancellationToken); - if (requestOptions.StatusOption == ResponseStatusOption.Default) + Pipeline.Send(message, options.CancellationToken); + if (options.StatusOption == ResponseStatusOption.Default) { switch (message.Response.Status) { @@ -640,9 +640,9 @@ public virtual Response AutoComplete(RequestContent requestBody, RequestOptions } /// Create Request for and operations. - /// The request body. - /// The request options. - private HttpMessage CreateAutoCompleteRequest(RequestContent requestBody, RequestOptions requestOptions = null) + /// The content to send as the body of the request. + /// The request options. + private HttpMessage CreateAutoCompleteRequest(RequestContent content, RequestOptions options = null) { var message = Pipeline.CreateMessage(); var request = message.Request; @@ -655,7 +655,7 @@ private HttpMessage CreateAutoCompleteRequest(RequestContent requestBody, Reques request.Uri = uri; request.Headers.Add("Accept", "application/json"); request.Headers.Add("Content-Type", "application/json"); - request.Content = requestBody; + request.Content = content; return message; } @@ -666,23 +666,23 @@ private HttpMessage CreateAutoCompleteRequest(RequestContent requestBody, Reques /// The number of max expanding width in lineage. /// True to include the parent chain in the response. /// True to include derived lineage in the response. - /// The request options. + /// The request options. #pragma warning disable AZC0002 - public virtual async Task GetLineageGraphAsync(string guid, string direction, int? depth = null, int? width = null, bool? includeParent = null, bool? getDerivedLineage = null, RequestOptions requestOptions = null) + public virtual async Task GetLineageGraphAsync(string guid, string direction, int? depth = null, int? width = null, bool? includeParent = null, bool? getDerivedLineage = null, RequestOptions options = null) #pragma warning restore AZC0002 { - requestOptions ??= new RequestOptions(); - HttpMessage message = CreateGetLineageGraphRequest(guid, direction, depth, width, includeParent, getDerivedLineage, requestOptions); - if (requestOptions.PerCallPolicy != null) + options ??= new RequestOptions(); + HttpMessage message = CreateGetLineageGraphRequest(guid, direction, depth, width, includeParent, getDerivedLineage, options); + if (options.PerCallPolicy != null) { - message.SetProperty("RequestOptionsPerCallPolicyCallback", requestOptions.PerCallPolicy); + message.SetProperty("RequestOptionsPerCallPolicyCallback", options.PerCallPolicy); } using var scope = _clientDiagnostics.CreateScope("PurviewCatalogClient.GetLineageGraph"); scope.Start(); try { - await Pipeline.SendAsync(message, requestOptions.CancellationToken).ConfigureAwait(false); - if (requestOptions.StatusOption == ResponseStatusOption.Default) + await Pipeline.SendAsync(message, options.CancellationToken).ConfigureAwait(false); + if (options.StatusOption == ResponseStatusOption.Default) { switch (message.Response.Status) { @@ -711,23 +711,23 @@ public virtual async Task GetLineageGraphAsync(string guid, string dir /// The number of max expanding width in lineage. /// True to include the parent chain in the response. /// True to include derived lineage in the response. - /// The request options. + /// The request options. #pragma warning disable AZC0002 - public virtual Response GetLineageGraph(string guid, string direction, int? depth = null, int? width = null, bool? includeParent = null, bool? getDerivedLineage = null, RequestOptions requestOptions = null) + public virtual Response GetLineageGraph(string guid, string direction, int? depth = null, int? width = null, bool? includeParent = null, bool? getDerivedLineage = null, RequestOptions options = null) #pragma warning restore AZC0002 { - requestOptions ??= new RequestOptions(); - HttpMessage message = CreateGetLineageGraphRequest(guid, direction, depth, width, includeParent, getDerivedLineage, requestOptions); - if (requestOptions.PerCallPolicy != null) + options ??= new RequestOptions(); + HttpMessage message = CreateGetLineageGraphRequest(guid, direction, depth, width, includeParent, getDerivedLineage, options); + if (options.PerCallPolicy != null) { - message.SetProperty("RequestOptionsPerCallPolicyCallback", requestOptions.PerCallPolicy); + message.SetProperty("RequestOptionsPerCallPolicyCallback", options.PerCallPolicy); } using var scope = _clientDiagnostics.CreateScope("PurviewCatalogClient.GetLineageGraph"); scope.Start(); try { - Pipeline.Send(message, requestOptions.CancellationToken); - if (requestOptions.StatusOption == ResponseStatusOption.Default) + Pipeline.Send(message, options.CancellationToken); + if (options.StatusOption == ResponseStatusOption.Default) { switch (message.Response.Status) { @@ -756,8 +756,8 @@ public virtual Response GetLineageGraph(string guid, string direction, int? dept /// The number of max expanding width in lineage. /// True to include the parent chain in the response. /// True to include derived lineage in the response. - /// The request options. - private HttpMessage CreateGetLineageGraphRequest(string guid, string direction, int? depth = null, int? width = null, bool? includeParent = null, bool? getDerivedLineage = null, RequestOptions requestOptions = null) + /// The request options. + private HttpMessage CreateGetLineageGraphRequest(string guid, string direction, int? depth = null, int? width = null, bool? includeParent = null, bool? getDerivedLineage = null, RequestOptions options = null) { var message = Pipeline.CreateMessage(); var request = message.Request; @@ -795,23 +795,23 @@ private HttpMessage CreateGetLineageGraphRequest(string guid, string direction, /// True to include derived lineage in the response. /// The offset for pagination purpose. /// The page size - by default there is no paging. - /// The request options. + /// The request options. #pragma warning disable AZC0002 - public virtual async Task NextPageLineageAsync(string guid, string direction, bool? getDerivedLineage = null, int? offset = null, int? limit = null, RequestOptions requestOptions = null) + public virtual async Task NextPageLineageAsync(string guid, string direction, bool? getDerivedLineage = null, int? offset = null, int? limit = null, RequestOptions options = null) #pragma warning restore AZC0002 { - requestOptions ??= new RequestOptions(); - HttpMessage message = CreateNextPageLineageRequest(guid, direction, getDerivedLineage, offset, limit, requestOptions); - if (requestOptions.PerCallPolicy != null) + options ??= new RequestOptions(); + HttpMessage message = CreateNextPageLineageRequest(guid, direction, getDerivedLineage, offset, limit, options); + if (options.PerCallPolicy != null) { - message.SetProperty("RequestOptionsPerCallPolicyCallback", requestOptions.PerCallPolicy); + message.SetProperty("RequestOptionsPerCallPolicyCallback", options.PerCallPolicy); } using var scope = _clientDiagnostics.CreateScope("PurviewCatalogClient.NextPageLineage"); scope.Start(); try { - await Pipeline.SendAsync(message, requestOptions.CancellationToken).ConfigureAwait(false); - if (requestOptions.StatusOption == ResponseStatusOption.Default) + await Pipeline.SendAsync(message, options.CancellationToken).ConfigureAwait(false); + if (options.StatusOption == ResponseStatusOption.Default) { switch (message.Response.Status) { @@ -839,23 +839,23 @@ public virtual async Task NextPageLineageAsync(string guid, string dir /// True to include derived lineage in the response. /// The offset for pagination purpose. /// The page size - by default there is no paging. - /// The request options. + /// The request options. #pragma warning disable AZC0002 - public virtual Response NextPageLineage(string guid, string direction, bool? getDerivedLineage = null, int? offset = null, int? limit = null, RequestOptions requestOptions = null) + public virtual Response NextPageLineage(string guid, string direction, bool? getDerivedLineage = null, int? offset = null, int? limit = null, RequestOptions options = null) #pragma warning restore AZC0002 { - requestOptions ??= new RequestOptions(); - HttpMessage message = CreateNextPageLineageRequest(guid, direction, getDerivedLineage, offset, limit, requestOptions); - if (requestOptions.PerCallPolicy != null) + options ??= new RequestOptions(); + HttpMessage message = CreateNextPageLineageRequest(guid, direction, getDerivedLineage, offset, limit, options); + if (options.PerCallPolicy != null) { - message.SetProperty("RequestOptionsPerCallPolicyCallback", requestOptions.PerCallPolicy); + message.SetProperty("RequestOptionsPerCallPolicyCallback", options.PerCallPolicy); } using var scope = _clientDiagnostics.CreateScope("PurviewCatalogClient.NextPageLineage"); scope.Start(); try { - Pipeline.Send(message, requestOptions.CancellationToken); - if (requestOptions.StatusOption == ResponseStatusOption.Default) + Pipeline.Send(message, options.CancellationToken); + if (options.StatusOption == ResponseStatusOption.Default) { switch (message.Response.Status) { @@ -883,8 +883,8 @@ public virtual Response NextPageLineage(string guid, string direction, bool? get /// True to include derived lineage in the response. /// The offset for pagination purpose. /// The page size - by default there is no paging. - /// The request options. - private HttpMessage CreateNextPageLineageRequest(string guid, string direction, bool? getDerivedLineage = null, int? offset = null, int? limit = null, RequestOptions requestOptions = null) + /// The request options. + private HttpMessage CreateNextPageLineageRequest(string guid, string direction, bool? getDerivedLineage = null, int? offset = null, int? limit = null, RequestOptions options = null) { var message = Pipeline.CreateMessage(); var request = message.Request; diff --git a/sdk/purview/Azure.Analytics.Purview.Catalog/src/Generated/PurviewEntities.cs b/sdk/purview/Azure.Analytics.Purview.Catalog/src/Generated/PurviewEntities.cs index 47a89306cb0c..134055d8b0c0 100644 --- a/sdk/purview/Azure.Analytics.Purview.Catalog/src/Generated/PurviewEntities.cs +++ b/sdk/purview/Azure.Analytics.Purview.Catalog/src/Generated/PurviewEntities.cs @@ -38,12 +38,12 @@ protected PurviewEntities() /// /// Schema for Request Body: /// - /// + /// /// Name /// Type /// Required /// Description - /// + /// /// /// referredEntities /// Dictionary<string, AtlasEntity> @@ -59,12 +59,12 @@ protected PurviewEntities() /// /// Schema for AtlasEntity: /// - /// + /// /// Name /// Type /// Required /// Description - /// + /// /// /// attributes /// Dictionary<string, AnyObject> @@ -182,12 +182,12 @@ protected PurviewEntities() /// /// Schema for AtlasClassification: /// - /// + /// /// Name /// Type /// Required /// Description - /// + /// /// /// attributes /// Dictionary<string, AnyObject> @@ -245,12 +245,12 @@ protected PurviewEntities() /// /// Schema for AtlasTermAssignmentHeader: /// - /// + /// /// Name /// Type /// Required /// Description - /// + /// /// /// confidence /// number @@ -314,12 +314,12 @@ protected PurviewEntities() /// /// Schema for ContactBasic: /// - /// + /// /// Name /// Type /// Required /// Description - /// + /// /// /// id /// string @@ -335,12 +335,12 @@ protected PurviewEntities() /// /// Schema for TimeBoundary: /// - /// + /// /// Name /// Type /// Required /// Description - /// + /// /// /// endTime /// string @@ -361,24 +361,24 @@ protected PurviewEntities() /// /// /// - /// The request body. - /// The request options. + /// The content to send as the body of the request. + /// The request options. #pragma warning disable AZC0002 - public virtual async Task CreateOrUpdateAsync(RequestContent requestBody, RequestOptions requestOptions = null) + public virtual async Task CreateOrUpdateAsync(RequestContent content, RequestOptions options = null) #pragma warning restore AZC0002 { - requestOptions ??= new RequestOptions(); - HttpMessage message = CreateCreateOrUpdateRequest(requestBody, requestOptions); - if (requestOptions.PerCallPolicy != null) + options ??= new RequestOptions(); + HttpMessage message = CreateCreateOrUpdateRequest(content, options); + if (options.PerCallPolicy != null) { - message.SetProperty("RequestOptionsPerCallPolicyCallback", requestOptions.PerCallPolicy); + message.SetProperty("RequestOptionsPerCallPolicyCallback", options.PerCallPolicy); } using var scope = _clientDiagnostics.CreateScope("PurviewEntities.CreateOrUpdate"); scope.Start(); try { - await Pipeline.SendAsync(message, requestOptions.CancellationToken).ConfigureAwait(false); - if (requestOptions.StatusOption == ResponseStatusOption.Default) + await Pipeline.SendAsync(message, options.CancellationToken).ConfigureAwait(false); + if (options.StatusOption == ResponseStatusOption.Default) { switch (message.Response.Status) { @@ -408,12 +408,12 @@ public virtual async Task CreateOrUpdateAsync(RequestContent requestBo /// /// Schema for Request Body: /// - /// + /// /// Name /// Type /// Required /// Description - /// + /// /// /// referredEntities /// Dictionary<string, AtlasEntity> @@ -429,12 +429,12 @@ public virtual async Task CreateOrUpdateAsync(RequestContent requestBo /// /// Schema for AtlasEntity: /// - /// + /// /// Name /// Type /// Required /// Description - /// + /// /// /// attributes /// Dictionary<string, AnyObject> @@ -552,12 +552,12 @@ public virtual async Task CreateOrUpdateAsync(RequestContent requestBo /// /// Schema for AtlasClassification: /// - /// + /// /// Name /// Type /// Required /// Description - /// + /// /// /// attributes /// Dictionary<string, AnyObject> @@ -615,12 +615,12 @@ public virtual async Task CreateOrUpdateAsync(RequestContent requestBo /// /// Schema for AtlasTermAssignmentHeader: /// - /// + /// /// Name /// Type /// Required /// Description - /// + /// /// /// confidence /// number @@ -684,12 +684,12 @@ public virtual async Task CreateOrUpdateAsync(RequestContent requestBo /// /// Schema for ContactBasic: /// - /// + /// /// Name /// Type /// Required /// Description - /// + /// /// /// id /// string @@ -705,12 +705,12 @@ public virtual async Task CreateOrUpdateAsync(RequestContent requestBo /// /// Schema for TimeBoundary: /// - /// + /// /// Name /// Type /// Required /// Description - /// + /// /// /// endTime /// string @@ -731,24 +731,24 @@ public virtual async Task CreateOrUpdateAsync(RequestContent requestBo /// /// /// - /// The request body. - /// The request options. + /// The content to send as the body of the request. + /// The request options. #pragma warning disable AZC0002 - public virtual Response CreateOrUpdate(RequestContent requestBody, RequestOptions requestOptions = null) + public virtual Response CreateOrUpdate(RequestContent content, RequestOptions options = null) #pragma warning restore AZC0002 { - requestOptions ??= new RequestOptions(); - HttpMessage message = CreateCreateOrUpdateRequest(requestBody, requestOptions); - if (requestOptions.PerCallPolicy != null) + options ??= new RequestOptions(); + HttpMessage message = CreateCreateOrUpdateRequest(content, options); + if (options.PerCallPolicy != null) { - message.SetProperty("RequestOptionsPerCallPolicyCallback", requestOptions.PerCallPolicy); + message.SetProperty("RequestOptionsPerCallPolicyCallback", options.PerCallPolicy); } using var scope = _clientDiagnostics.CreateScope("PurviewEntities.CreateOrUpdate"); scope.Start(); try { - Pipeline.Send(message, requestOptions.CancellationToken); - if (requestOptions.StatusOption == ResponseStatusOption.Default) + Pipeline.Send(message, options.CancellationToken); + if (options.StatusOption == ResponseStatusOption.Default) { switch (message.Response.Status) { @@ -771,9 +771,9 @@ public virtual Response CreateOrUpdate(RequestContent requestBody, RequestOption } /// Create Request for and operations. - /// The request body. - /// The request options. - private HttpMessage CreateCreateOrUpdateRequest(RequestContent requestBody, RequestOptions requestOptions = null) + /// The content to send as the body of the request. + /// The request options. + private HttpMessage CreateCreateOrUpdateRequest(RequestContent content, RequestOptions options = null) { var message = Pipeline.CreateMessage(); var request = message.Request; @@ -785,7 +785,7 @@ private HttpMessage CreateCreateOrUpdateRequest(RequestContent requestBody, Requ request.Uri = uri; request.Headers.Add("Accept", "application/json"); request.Headers.Add("Content-Type", "application/json"); - request.Content = requestBody; + request.Content = content; return message; } @@ -794,23 +794,23 @@ private HttpMessage CreateCreateOrUpdateRequest(RequestContent requestBody, Requ /// Whether to return minimal information for referred entities. /// Whether to ignore relationship attributes. /// An array of the relationship types need to be excluded from the response. - /// The request options. + /// The request options. #pragma warning disable AZC0002 - public virtual async Task GetByGuidsAsync(IEnumerable guids, bool? minExtInfo = null, bool? ignoreRelationships = null, IEnumerable excludeRelationshipTypes = null, RequestOptions requestOptions = null) + public virtual async Task GetByGuidsAsync(IEnumerable guids, bool? minExtInfo = null, bool? ignoreRelationships = null, IEnumerable excludeRelationshipTypes = null, RequestOptions options = null) #pragma warning restore AZC0002 { - requestOptions ??= new RequestOptions(); - HttpMessage message = CreateGetByGuidsRequest(guids, minExtInfo, ignoreRelationships, excludeRelationshipTypes, requestOptions); - if (requestOptions.PerCallPolicy != null) + options ??= new RequestOptions(); + HttpMessage message = CreateGetByGuidsRequest(guids, minExtInfo, ignoreRelationships, excludeRelationshipTypes, options); + if (options.PerCallPolicy != null) { - message.SetProperty("RequestOptionsPerCallPolicyCallback", requestOptions.PerCallPolicy); + message.SetProperty("RequestOptionsPerCallPolicyCallback", options.PerCallPolicy); } using var scope = _clientDiagnostics.CreateScope("PurviewEntities.GetByGuids"); scope.Start(); try { - await Pipeline.SendAsync(message, requestOptions.CancellationToken).ConfigureAwait(false); - if (requestOptions.StatusOption == ResponseStatusOption.Default) + await Pipeline.SendAsync(message, options.CancellationToken).ConfigureAwait(false); + if (options.StatusOption == ResponseStatusOption.Default) { switch (message.Response.Status) { @@ -837,23 +837,23 @@ public virtual async Task GetByGuidsAsync(IEnumerable guids, b /// Whether to return minimal information for referred entities. /// Whether to ignore relationship attributes. /// An array of the relationship types need to be excluded from the response. - /// The request options. + /// The request options. #pragma warning disable AZC0002 - public virtual Response GetByGuids(IEnumerable guids, bool? minExtInfo = null, bool? ignoreRelationships = null, IEnumerable excludeRelationshipTypes = null, RequestOptions requestOptions = null) + public virtual Response GetByGuids(IEnumerable guids, bool? minExtInfo = null, bool? ignoreRelationships = null, IEnumerable excludeRelationshipTypes = null, RequestOptions options = null) #pragma warning restore AZC0002 { - requestOptions ??= new RequestOptions(); - HttpMessage message = CreateGetByGuidsRequest(guids, minExtInfo, ignoreRelationships, excludeRelationshipTypes, requestOptions); - if (requestOptions.PerCallPolicy != null) + options ??= new RequestOptions(); + HttpMessage message = CreateGetByGuidsRequest(guids, minExtInfo, ignoreRelationships, excludeRelationshipTypes, options); + if (options.PerCallPolicy != null) { - message.SetProperty("RequestOptionsPerCallPolicyCallback", requestOptions.PerCallPolicy); + message.SetProperty("RequestOptionsPerCallPolicyCallback", options.PerCallPolicy); } using var scope = _clientDiagnostics.CreateScope("PurviewEntities.GetByGuids"); scope.Start(); try { - Pipeline.Send(message, requestOptions.CancellationToken); - if (requestOptions.StatusOption == ResponseStatusOption.Default) + Pipeline.Send(message, options.CancellationToken); + if (options.StatusOption == ResponseStatusOption.Default) { switch (message.Response.Status) { @@ -880,8 +880,8 @@ public virtual Response GetByGuids(IEnumerable guids, bool? minExtInfo = /// Whether to return minimal information for referred entities. /// Whether to ignore relationship attributes. /// An array of the relationship types need to be excluded from the response. - /// The request options. - private HttpMessage CreateGetByGuidsRequest(IEnumerable guids, bool? minExtInfo = null, bool? ignoreRelationships = null, IEnumerable excludeRelationshipTypes = null, RequestOptions requestOptions = null) + /// The request options. + private HttpMessage CreateGetByGuidsRequest(IEnumerable guids, bool? minExtInfo = null, bool? ignoreRelationships = null, IEnumerable excludeRelationshipTypes = null, RequestOptions options = null) { var message = Pipeline.CreateMessage(); var request = message.Request; @@ -916,12 +916,12 @@ private HttpMessage CreateGetByGuidsRequest(IEnumerable guids, bool? min /// /// Schema for Request Body: /// - /// + /// /// Name /// Type /// Required /// Description - /// + /// /// /// referredEntities /// Dictionary<string, AtlasEntity> @@ -937,12 +937,12 @@ private HttpMessage CreateGetByGuidsRequest(IEnumerable guids, bool? min /// /// Schema for AtlasEntity: /// - /// + /// /// Name /// Type /// Required /// Description - /// + /// /// /// attributes /// Dictionary<string, AnyObject> @@ -1060,12 +1060,12 @@ private HttpMessage CreateGetByGuidsRequest(IEnumerable guids, bool? min /// /// Schema for AtlasClassification: /// - /// + /// /// Name /// Type /// Required /// Description - /// + /// /// /// attributes /// Dictionary<string, AnyObject> @@ -1123,12 +1123,12 @@ private HttpMessage CreateGetByGuidsRequest(IEnumerable guids, bool? min /// /// Schema for AtlasTermAssignmentHeader: /// - /// + /// /// Name /// Type /// Required /// Description - /// + /// /// /// confidence /// number @@ -1192,12 +1192,12 @@ private HttpMessage CreateGetByGuidsRequest(IEnumerable guids, bool? min /// /// Schema for ContactBasic: /// - /// + /// /// Name /// Type /// Required /// Description - /// + /// /// /// id /// string @@ -1213,12 +1213,12 @@ private HttpMessage CreateGetByGuidsRequest(IEnumerable guids, bool? min /// /// Schema for TimeBoundary: /// - /// + /// /// Name /// Type /// Required /// Description - /// + /// /// /// endTime /// string @@ -1239,24 +1239,24 @@ private HttpMessage CreateGetByGuidsRequest(IEnumerable guids, bool? min /// /// /// - /// The request body. - /// The request options. + /// The content to send as the body of the request. + /// The request options. #pragma warning disable AZC0002 - public virtual async Task CreateOrUpdateEntitiesAsync(RequestContent requestBody, RequestOptions requestOptions = null) + public virtual async Task CreateOrUpdateEntitiesAsync(RequestContent content, RequestOptions options = null) #pragma warning restore AZC0002 { - requestOptions ??= new RequestOptions(); - HttpMessage message = CreateCreateOrUpdateEntitiesRequest(requestBody, requestOptions); - if (requestOptions.PerCallPolicy != null) + options ??= new RequestOptions(); + HttpMessage message = CreateCreateOrUpdateEntitiesRequest(content, options); + if (options.PerCallPolicy != null) { - message.SetProperty("RequestOptionsPerCallPolicyCallback", requestOptions.PerCallPolicy); + message.SetProperty("RequestOptionsPerCallPolicyCallback", options.PerCallPolicy); } using var scope = _clientDiagnostics.CreateScope("PurviewEntities.CreateOrUpdateEntities"); scope.Start(); try { - await Pipeline.SendAsync(message, requestOptions.CancellationToken).ConfigureAwait(false); - if (requestOptions.StatusOption == ResponseStatusOption.Default) + await Pipeline.SendAsync(message, options.CancellationToken).ConfigureAwait(false); + if (options.StatusOption == ResponseStatusOption.Default) { switch (message.Response.Status) { @@ -1286,12 +1286,12 @@ public virtual async Task CreateOrUpdateEntitiesAsync(RequestContent r /// /// Schema for Request Body: /// - /// + /// /// Name /// Type /// Required /// Description - /// + /// /// /// referredEntities /// Dictionary<string, AtlasEntity> @@ -1307,12 +1307,12 @@ public virtual async Task CreateOrUpdateEntitiesAsync(RequestContent r /// /// Schema for AtlasEntity: /// - /// + /// /// Name /// Type /// Required /// Description - /// + /// /// /// attributes /// Dictionary<string, AnyObject> @@ -1430,12 +1430,12 @@ public virtual async Task CreateOrUpdateEntitiesAsync(RequestContent r /// /// Schema for AtlasClassification: /// - /// + /// /// Name /// Type /// Required /// Description - /// + /// /// /// attributes /// Dictionary<string, AnyObject> @@ -1493,12 +1493,12 @@ public virtual async Task CreateOrUpdateEntitiesAsync(RequestContent r /// /// Schema for AtlasTermAssignmentHeader: /// - /// + /// /// Name /// Type /// Required /// Description - /// + /// /// /// confidence /// number @@ -1562,12 +1562,12 @@ public virtual async Task CreateOrUpdateEntitiesAsync(RequestContent r /// /// Schema for ContactBasic: /// - /// + /// /// Name /// Type /// Required /// Description - /// + /// /// /// id /// string @@ -1583,12 +1583,12 @@ public virtual async Task CreateOrUpdateEntitiesAsync(RequestContent r /// /// Schema for TimeBoundary: /// - /// + /// /// Name /// Type /// Required /// Description - /// + /// /// /// endTime /// string @@ -1609,24 +1609,24 @@ public virtual async Task CreateOrUpdateEntitiesAsync(RequestContent r /// /// /// - /// The request body. - /// The request options. + /// The content to send as the body of the request. + /// The request options. #pragma warning disable AZC0002 - public virtual Response CreateOrUpdateEntities(RequestContent requestBody, RequestOptions requestOptions = null) + public virtual Response CreateOrUpdateEntities(RequestContent content, RequestOptions options = null) #pragma warning restore AZC0002 { - requestOptions ??= new RequestOptions(); - HttpMessage message = CreateCreateOrUpdateEntitiesRequest(requestBody, requestOptions); - if (requestOptions.PerCallPolicy != null) + options ??= new RequestOptions(); + HttpMessage message = CreateCreateOrUpdateEntitiesRequest(content, options); + if (options.PerCallPolicy != null) { - message.SetProperty("RequestOptionsPerCallPolicyCallback", requestOptions.PerCallPolicy); + message.SetProperty("RequestOptionsPerCallPolicyCallback", options.PerCallPolicy); } using var scope = _clientDiagnostics.CreateScope("PurviewEntities.CreateOrUpdateEntities"); scope.Start(); try { - Pipeline.Send(message, requestOptions.CancellationToken); - if (requestOptions.StatusOption == ResponseStatusOption.Default) + Pipeline.Send(message, options.CancellationToken); + if (options.StatusOption == ResponseStatusOption.Default) { switch (message.Response.Status) { @@ -1649,9 +1649,9 @@ public virtual Response CreateOrUpdateEntities(RequestContent requestBody, Reque } /// Create Request for and operations. - /// The request body. - /// The request options. - private HttpMessage CreateCreateOrUpdateEntitiesRequest(RequestContent requestBody, RequestOptions requestOptions = null) + /// The content to send as the body of the request. + /// The request options. + private HttpMessage CreateCreateOrUpdateEntitiesRequest(RequestContent content, RequestOptions options = null) { var message = Pipeline.CreateMessage(); var request = message.Request; @@ -1663,29 +1663,29 @@ private HttpMessage CreateCreateOrUpdateEntitiesRequest(RequestContent requestBo request.Uri = uri; request.Headers.Add("Accept", "application/json"); request.Headers.Add("Content-Type", "application/json"); - request.Content = requestBody; + request.Content = content; return message; } /// Delete a list of entities in bulk identified by their GUIDs or unique attributes. /// An array of GUIDs of entities to delete. - /// The request options. + /// The request options. #pragma warning disable AZC0002 - public virtual async Task DeleteByGuidsAsync(IEnumerable guids, RequestOptions requestOptions = null) + public virtual async Task DeleteByGuidsAsync(IEnumerable guids, RequestOptions options = null) #pragma warning restore AZC0002 { - requestOptions ??= new RequestOptions(); - HttpMessage message = CreateDeleteByGuidsRequest(guids, requestOptions); - if (requestOptions.PerCallPolicy != null) + options ??= new RequestOptions(); + HttpMessage message = CreateDeleteByGuidsRequest(guids, options); + if (options.PerCallPolicy != null) { - message.SetProperty("RequestOptionsPerCallPolicyCallback", requestOptions.PerCallPolicy); + message.SetProperty("RequestOptionsPerCallPolicyCallback", options.PerCallPolicy); } using var scope = _clientDiagnostics.CreateScope("PurviewEntities.DeleteByGuids"); scope.Start(); try { - await Pipeline.SendAsync(message, requestOptions.CancellationToken).ConfigureAwait(false); - if (requestOptions.StatusOption == ResponseStatusOption.Default) + await Pipeline.SendAsync(message, options.CancellationToken).ConfigureAwait(false); + if (options.StatusOption == ResponseStatusOption.Default) { switch (message.Response.Status) { @@ -1709,23 +1709,23 @@ public virtual async Task DeleteByGuidsAsync(IEnumerable guids /// Delete a list of entities in bulk identified by their GUIDs or unique attributes. /// An array of GUIDs of entities to delete. - /// The request options. + /// The request options. #pragma warning disable AZC0002 - public virtual Response DeleteByGuids(IEnumerable guids, RequestOptions requestOptions = null) + public virtual Response DeleteByGuids(IEnumerable guids, RequestOptions options = null) #pragma warning restore AZC0002 { - requestOptions ??= new RequestOptions(); - HttpMessage message = CreateDeleteByGuidsRequest(guids, requestOptions); - if (requestOptions.PerCallPolicy != null) + options ??= new RequestOptions(); + HttpMessage message = CreateDeleteByGuidsRequest(guids, options); + if (options.PerCallPolicy != null) { - message.SetProperty("RequestOptionsPerCallPolicyCallback", requestOptions.PerCallPolicy); + message.SetProperty("RequestOptionsPerCallPolicyCallback", options.PerCallPolicy); } using var scope = _clientDiagnostics.CreateScope("PurviewEntities.DeleteByGuids"); scope.Start(); try { - Pipeline.Send(message, requestOptions.CancellationToken); - if (requestOptions.StatusOption == ResponseStatusOption.Default) + Pipeline.Send(message, options.CancellationToken); + if (options.StatusOption == ResponseStatusOption.Default) { switch (message.Response.Status) { @@ -1749,8 +1749,8 @@ public virtual Response DeleteByGuids(IEnumerable guids, RequestOptions /// Create Request for and operations. /// An array of GUIDs of entities to delete. - /// The request options. - private HttpMessage CreateDeleteByGuidsRequest(IEnumerable guids, RequestOptions requestOptions = null) + /// The request options. + private HttpMessage CreateDeleteByGuidsRequest(IEnumerable guids, RequestOptions options = null) { var message = Pipeline.CreateMessage(); var request = message.Request; @@ -1769,12 +1769,12 @@ private HttpMessage CreateDeleteByGuidsRequest(IEnumerable guids, Reques /// /// Schema for Request Body: /// - /// + /// /// Name /// Type /// Required /// Description - /// + /// /// /// classification /// AtlasClassification @@ -1790,12 +1790,12 @@ private HttpMessage CreateDeleteByGuidsRequest(IEnumerable guids, Reques /// /// Schema for AtlasClassification: /// - /// + /// /// Name /// Type /// Required /// Description - /// + /// /// /// attributes /// Dictionary<string, AnyObject> @@ -1853,12 +1853,12 @@ private HttpMessage CreateDeleteByGuidsRequest(IEnumerable guids, Reques /// /// Schema for TimeBoundary: /// - /// + /// /// Name /// Type /// Required /// Description - /// + /// /// /// endTime /// string @@ -1879,24 +1879,24 @@ private HttpMessage CreateDeleteByGuidsRequest(IEnumerable guids, Reques /// /// /// - /// The request body. - /// The request options. + /// The content to send as the body of the request. + /// The request options. #pragma warning disable AZC0002 - public virtual async Task AddClassificationAsync(RequestContent requestBody, RequestOptions requestOptions = null) + public virtual async Task AddClassificationAsync(RequestContent content, RequestOptions options = null) #pragma warning restore AZC0002 { - requestOptions ??= new RequestOptions(); - HttpMessage message = CreateAddClassificationRequest(requestBody, requestOptions); - if (requestOptions.PerCallPolicy != null) + options ??= new RequestOptions(); + HttpMessage message = CreateAddClassificationRequest(content, options); + if (options.PerCallPolicy != null) { - message.SetProperty("RequestOptionsPerCallPolicyCallback", requestOptions.PerCallPolicy); + message.SetProperty("RequestOptionsPerCallPolicyCallback", options.PerCallPolicy); } using var scope = _clientDiagnostics.CreateScope("PurviewEntities.AddClassification"); scope.Start(); try { - await Pipeline.SendAsync(message, requestOptions.CancellationToken).ConfigureAwait(false); - if (requestOptions.StatusOption == ResponseStatusOption.Default) + await Pipeline.SendAsync(message, options.CancellationToken).ConfigureAwait(false); + if (options.StatusOption == ResponseStatusOption.Default) { switch (message.Response.Status) { @@ -1922,12 +1922,12 @@ public virtual async Task AddClassificationAsync(RequestContent reques /// /// Schema for Request Body: /// - /// + /// /// Name /// Type /// Required /// Description - /// + /// /// /// classification /// AtlasClassification @@ -1943,12 +1943,12 @@ public virtual async Task AddClassificationAsync(RequestContent reques /// /// Schema for AtlasClassification: /// - /// + /// /// Name /// Type /// Required /// Description - /// + /// /// /// attributes /// Dictionary<string, AnyObject> @@ -2006,12 +2006,12 @@ public virtual async Task AddClassificationAsync(RequestContent reques /// /// Schema for TimeBoundary: /// - /// + /// /// Name /// Type /// Required /// Description - /// + /// /// /// endTime /// string @@ -2032,24 +2032,24 @@ public virtual async Task AddClassificationAsync(RequestContent reques /// /// /// - /// The request body. - /// The request options. + /// The content to send as the body of the request. + /// The request options. #pragma warning disable AZC0002 - public virtual Response AddClassification(RequestContent requestBody, RequestOptions requestOptions = null) + public virtual Response AddClassification(RequestContent content, RequestOptions options = null) #pragma warning restore AZC0002 { - requestOptions ??= new RequestOptions(); - HttpMessage message = CreateAddClassificationRequest(requestBody, requestOptions); - if (requestOptions.PerCallPolicy != null) + options ??= new RequestOptions(); + HttpMessage message = CreateAddClassificationRequest(content, options); + if (options.PerCallPolicy != null) { - message.SetProperty("RequestOptionsPerCallPolicyCallback", requestOptions.PerCallPolicy); + message.SetProperty("RequestOptionsPerCallPolicyCallback", options.PerCallPolicy); } using var scope = _clientDiagnostics.CreateScope("PurviewEntities.AddClassification"); scope.Start(); try { - Pipeline.Send(message, requestOptions.CancellationToken); - if (requestOptions.StatusOption == ResponseStatusOption.Default) + Pipeline.Send(message, options.CancellationToken); + if (options.StatusOption == ResponseStatusOption.Default) { switch (message.Response.Status) { @@ -2072,9 +2072,9 @@ public virtual Response AddClassification(RequestContent requestBody, RequestOpt } /// Create Request for and operations. - /// The request body. - /// The request options. - private HttpMessage CreateAddClassificationRequest(RequestContent requestBody, RequestOptions requestOptions = null) + /// The content to send as the body of the request. + /// The request options. + private HttpMessage CreateAddClassificationRequest(RequestContent content, RequestOptions options = null) { var message = Pipeline.CreateMessage(); var request = message.Request; @@ -2085,7 +2085,7 @@ private HttpMessage CreateAddClassificationRequest(RequestContent requestBody, R uri.AppendPath("/atlas/v2/entity/bulk/classification", false); request.Uri = uri; request.Headers.Add("Content-Type", "application/json"); - request.Content = requestBody; + request.Content = content; return message; } @@ -2093,23 +2093,23 @@ private HttpMessage CreateAddClassificationRequest(RequestContent requestBody, R /// The globally unique identifier of the entity. /// Whether to return minimal information for referred entities. /// Whether to ignore relationship attributes. - /// The request options. + /// The request options. #pragma warning disable AZC0002 - public virtual async Task GetByGuidAsync(string guid, bool? minExtInfo = null, bool? ignoreRelationships = null, RequestOptions requestOptions = null) + public virtual async Task GetByGuidAsync(string guid, bool? minExtInfo = null, bool? ignoreRelationships = null, RequestOptions options = null) #pragma warning restore AZC0002 { - requestOptions ??= new RequestOptions(); - HttpMessage message = CreateGetByGuidRequest(guid, minExtInfo, ignoreRelationships, requestOptions); - if (requestOptions.PerCallPolicy != null) + options ??= new RequestOptions(); + HttpMessage message = CreateGetByGuidRequest(guid, minExtInfo, ignoreRelationships, options); + if (options.PerCallPolicy != null) { - message.SetProperty("RequestOptionsPerCallPolicyCallback", requestOptions.PerCallPolicy); + message.SetProperty("RequestOptionsPerCallPolicyCallback", options.PerCallPolicy); } using var scope = _clientDiagnostics.CreateScope("PurviewEntities.GetByGuid"); scope.Start(); try { - await Pipeline.SendAsync(message, requestOptions.CancellationToken).ConfigureAwait(false); - if (requestOptions.StatusOption == ResponseStatusOption.Default) + await Pipeline.SendAsync(message, options.CancellationToken).ConfigureAwait(false); + if (options.StatusOption == ResponseStatusOption.Default) { switch (message.Response.Status) { @@ -2135,23 +2135,23 @@ public virtual async Task GetByGuidAsync(string guid, bool? minExtInfo /// The globally unique identifier of the entity. /// Whether to return minimal information for referred entities. /// Whether to ignore relationship attributes. - /// The request options. + /// The request options. #pragma warning disable AZC0002 - public virtual Response GetByGuid(string guid, bool? minExtInfo = null, bool? ignoreRelationships = null, RequestOptions requestOptions = null) + public virtual Response GetByGuid(string guid, bool? minExtInfo = null, bool? ignoreRelationships = null, RequestOptions options = null) #pragma warning restore AZC0002 { - requestOptions ??= new RequestOptions(); - HttpMessage message = CreateGetByGuidRequest(guid, minExtInfo, ignoreRelationships, requestOptions); - if (requestOptions.PerCallPolicy != null) + options ??= new RequestOptions(); + HttpMessage message = CreateGetByGuidRequest(guid, minExtInfo, ignoreRelationships, options); + if (options.PerCallPolicy != null) { - message.SetProperty("RequestOptionsPerCallPolicyCallback", requestOptions.PerCallPolicy); + message.SetProperty("RequestOptionsPerCallPolicyCallback", options.PerCallPolicy); } using var scope = _clientDiagnostics.CreateScope("PurviewEntities.GetByGuid"); scope.Start(); try { - Pipeline.Send(message, requestOptions.CancellationToken); - if (requestOptions.StatusOption == ResponseStatusOption.Default) + Pipeline.Send(message, options.CancellationToken); + if (options.StatusOption == ResponseStatusOption.Default) { switch (message.Response.Status) { @@ -2177,8 +2177,8 @@ public virtual Response GetByGuid(string guid, bool? minExtInfo = null, bool? ig /// The globally unique identifier of the entity. /// Whether to return minimal information for referred entities. /// Whether to ignore relationship attributes. - /// The request options. - private HttpMessage CreateGetByGuidRequest(string guid, bool? minExtInfo = null, bool? ignoreRelationships = null, RequestOptions requestOptions = null) + /// The request options. + private HttpMessage CreateGetByGuidRequest(string guid, bool? minExtInfo = null, bool? ignoreRelationships = null, RequestOptions options = null) { var message = Pipeline.CreateMessage(); var request = message.Request; @@ -2209,24 +2209,24 @@ private HttpMessage CreateGetByGuidRequest(string guid, bool? minExtInfo = null, /// /// The globally unique identifier of the entity. /// The name of the attribute. - /// The request body. - /// The request options. + /// The content to send as the body of the request. + /// The request options. #pragma warning disable AZC0002 - public virtual async Task PartialUpdateEntityAttributeByGuidAsync(string guid, string name, RequestContent requestBody, RequestOptions requestOptions = null) + public virtual async Task PartialUpdateEntityAttributeByGuidAsync(string guid, string name, RequestContent content, RequestOptions options = null) #pragma warning restore AZC0002 { - requestOptions ??= new RequestOptions(); - HttpMessage message = CreatePartialUpdateEntityAttributeByGuidRequest(guid, name, requestBody, requestOptions); - if (requestOptions.PerCallPolicy != null) + options ??= new RequestOptions(); + HttpMessage message = CreatePartialUpdateEntityAttributeByGuidRequest(guid, name, content, options); + if (options.PerCallPolicy != null) { - message.SetProperty("RequestOptionsPerCallPolicyCallback", requestOptions.PerCallPolicy); + message.SetProperty("RequestOptionsPerCallPolicyCallback", options.PerCallPolicy); } using var scope = _clientDiagnostics.CreateScope("PurviewEntities.PartialUpdateEntityAttributeByGuid"); scope.Start(); try { - await Pipeline.SendAsync(message, requestOptions.CancellationToken).ConfigureAwait(false); - if (requestOptions.StatusOption == ResponseStatusOption.Default) + await Pipeline.SendAsync(message, options.CancellationToken).ConfigureAwait(false); + if (options.StatusOption == ResponseStatusOption.Default) { switch (message.Response.Status) { @@ -2256,24 +2256,24 @@ public virtual async Task PartialUpdateEntityAttributeByGuidAsync(stri /// /// The globally unique identifier of the entity. /// The name of the attribute. - /// The request body. - /// The request options. + /// The content to send as the body of the request. + /// The request options. #pragma warning disable AZC0002 - public virtual Response PartialUpdateEntityAttributeByGuid(string guid, string name, RequestContent requestBody, RequestOptions requestOptions = null) + public virtual Response PartialUpdateEntityAttributeByGuid(string guid, string name, RequestContent content, RequestOptions options = null) #pragma warning restore AZC0002 { - requestOptions ??= new RequestOptions(); - HttpMessage message = CreatePartialUpdateEntityAttributeByGuidRequest(guid, name, requestBody, requestOptions); - if (requestOptions.PerCallPolicy != null) + options ??= new RequestOptions(); + HttpMessage message = CreatePartialUpdateEntityAttributeByGuidRequest(guid, name, content, options); + if (options.PerCallPolicy != null) { - message.SetProperty("RequestOptionsPerCallPolicyCallback", requestOptions.PerCallPolicy); + message.SetProperty("RequestOptionsPerCallPolicyCallback", options.PerCallPolicy); } using var scope = _clientDiagnostics.CreateScope("PurviewEntities.PartialUpdateEntityAttributeByGuid"); scope.Start(); try { - Pipeline.Send(message, requestOptions.CancellationToken); - if (requestOptions.StatusOption == ResponseStatusOption.Default) + Pipeline.Send(message, options.CancellationToken); + if (options.StatusOption == ResponseStatusOption.Default) { switch (message.Response.Status) { @@ -2298,9 +2298,9 @@ public virtual Response PartialUpdateEntityAttributeByGuid(string guid, string n /// Create Request for and operations. /// The globally unique identifier of the entity. /// The name of the attribute. - /// The request body. - /// The request options. - private HttpMessage CreatePartialUpdateEntityAttributeByGuidRequest(string guid, string name, RequestContent requestBody, RequestOptions requestOptions = null) + /// The content to send as the body of the request. + /// The request options. + private HttpMessage CreatePartialUpdateEntityAttributeByGuidRequest(string guid, string name, RequestContent content, RequestOptions options = null) { var message = Pipeline.CreateMessage(); var request = message.Request; @@ -2314,29 +2314,29 @@ private HttpMessage CreatePartialUpdateEntityAttributeByGuidRequest(string guid, request.Uri = uri; request.Headers.Add("Accept", "application/json"); request.Headers.Add("Content-Type", "application/json"); - request.Content = requestBody; + request.Content = content; return message; } /// Delete an entity identified by its GUID. /// The globally unique identifier of the entity. - /// The request options. + /// The request options. #pragma warning disable AZC0002 - public virtual async Task DeleteByGuidAsync(string guid, RequestOptions requestOptions = null) + public virtual async Task DeleteByGuidAsync(string guid, RequestOptions options = null) #pragma warning restore AZC0002 { - requestOptions ??= new RequestOptions(); - HttpMessage message = CreateDeleteByGuidRequest(guid, requestOptions); - if (requestOptions.PerCallPolicy != null) + options ??= new RequestOptions(); + HttpMessage message = CreateDeleteByGuidRequest(guid, options); + if (options.PerCallPolicy != null) { - message.SetProperty("RequestOptionsPerCallPolicyCallback", requestOptions.PerCallPolicy); + message.SetProperty("RequestOptionsPerCallPolicyCallback", options.PerCallPolicy); } using var scope = _clientDiagnostics.CreateScope("PurviewEntities.DeleteByGuid"); scope.Start(); try { - await Pipeline.SendAsync(message, requestOptions.CancellationToken).ConfigureAwait(false); - if (requestOptions.StatusOption == ResponseStatusOption.Default) + await Pipeline.SendAsync(message, options.CancellationToken).ConfigureAwait(false); + if (options.StatusOption == ResponseStatusOption.Default) { switch (message.Response.Status) { @@ -2360,23 +2360,23 @@ public virtual async Task DeleteByGuidAsync(string guid, RequestOption /// Delete an entity identified by its GUID. /// The globally unique identifier of the entity. - /// The request options. + /// The request options. #pragma warning disable AZC0002 - public virtual Response DeleteByGuid(string guid, RequestOptions requestOptions = null) + public virtual Response DeleteByGuid(string guid, RequestOptions options = null) #pragma warning restore AZC0002 { - requestOptions ??= new RequestOptions(); - HttpMessage message = CreateDeleteByGuidRequest(guid, requestOptions); - if (requestOptions.PerCallPolicy != null) + options ??= new RequestOptions(); + HttpMessage message = CreateDeleteByGuidRequest(guid, options); + if (options.PerCallPolicy != null) { - message.SetProperty("RequestOptionsPerCallPolicyCallback", requestOptions.PerCallPolicy); + message.SetProperty("RequestOptionsPerCallPolicyCallback", options.PerCallPolicy); } using var scope = _clientDiagnostics.CreateScope("PurviewEntities.DeleteByGuid"); scope.Start(); try { - Pipeline.Send(message, requestOptions.CancellationToken); - if (requestOptions.StatusOption == ResponseStatusOption.Default) + Pipeline.Send(message, options.CancellationToken); + if (options.StatusOption == ResponseStatusOption.Default) { switch (message.Response.Status) { @@ -2400,8 +2400,8 @@ public virtual Response DeleteByGuid(string guid, RequestOptions requestOptions /// Create Request for and operations. /// The globally unique identifier of the entity. - /// The request options. - private HttpMessage CreateDeleteByGuidRequest(string guid, RequestOptions requestOptions = null) + /// The request options. + private HttpMessage CreateDeleteByGuidRequest(string guid, RequestOptions options = null) { var message = Pipeline.CreateMessage(); var request = message.Request; @@ -2419,23 +2419,23 @@ private HttpMessage CreateDeleteByGuidRequest(string guid, RequestOptions reques /// List classifications for a given entity represented by a GUID. /// The globally unique identifier of the entity. /// The name of the classification. - /// The request options. + /// The request options. #pragma warning disable AZC0002 - public virtual async Task GetClassificationAsync(string guid, string classificationName, RequestOptions requestOptions = null) + public virtual async Task GetClassificationAsync(string guid, string classificationName, RequestOptions options = null) #pragma warning restore AZC0002 { - requestOptions ??= new RequestOptions(); - HttpMessage message = CreateGetClassificationRequest(guid, classificationName, requestOptions); - if (requestOptions.PerCallPolicy != null) + options ??= new RequestOptions(); + HttpMessage message = CreateGetClassificationRequest(guid, classificationName, options); + if (options.PerCallPolicy != null) { - message.SetProperty("RequestOptionsPerCallPolicyCallback", requestOptions.PerCallPolicy); + message.SetProperty("RequestOptionsPerCallPolicyCallback", options.PerCallPolicy); } using var scope = _clientDiagnostics.CreateScope("PurviewEntities.GetClassification"); scope.Start(); try { - await Pipeline.SendAsync(message, requestOptions.CancellationToken).ConfigureAwait(false); - if (requestOptions.StatusOption == ResponseStatusOption.Default) + await Pipeline.SendAsync(message, options.CancellationToken).ConfigureAwait(false); + if (options.StatusOption == ResponseStatusOption.Default) { switch (message.Response.Status) { @@ -2460,23 +2460,23 @@ public virtual async Task GetClassificationAsync(string guid, string c /// List classifications for a given entity represented by a GUID. /// The globally unique identifier of the entity. /// The name of the classification. - /// The request options. + /// The request options. #pragma warning disable AZC0002 - public virtual Response GetClassification(string guid, string classificationName, RequestOptions requestOptions = null) + public virtual Response GetClassification(string guid, string classificationName, RequestOptions options = null) #pragma warning restore AZC0002 { - requestOptions ??= new RequestOptions(); - HttpMessage message = CreateGetClassificationRequest(guid, classificationName, requestOptions); - if (requestOptions.PerCallPolicy != null) + options ??= new RequestOptions(); + HttpMessage message = CreateGetClassificationRequest(guid, classificationName, options); + if (options.PerCallPolicy != null) { - message.SetProperty("RequestOptionsPerCallPolicyCallback", requestOptions.PerCallPolicy); + message.SetProperty("RequestOptionsPerCallPolicyCallback", options.PerCallPolicy); } using var scope = _clientDiagnostics.CreateScope("PurviewEntities.GetClassification"); scope.Start(); try { - Pipeline.Send(message, requestOptions.CancellationToken); - if (requestOptions.StatusOption == ResponseStatusOption.Default) + Pipeline.Send(message, options.CancellationToken); + if (options.StatusOption == ResponseStatusOption.Default) { switch (message.Response.Status) { @@ -2501,8 +2501,8 @@ public virtual Response GetClassification(string guid, string classificationName /// Create Request for and operations. /// The globally unique identifier of the entity. /// The name of the classification. - /// The request options. - private HttpMessage CreateGetClassificationRequest(string guid, string classificationName, RequestOptions requestOptions = null) + /// The request options. + private HttpMessage CreateGetClassificationRequest(string guid, string classificationName, RequestOptions options = null) { var message = Pipeline.CreateMessage(); var request = message.Request; @@ -2522,23 +2522,23 @@ private HttpMessage CreateGetClassificationRequest(string guid, string classific /// Delete a given classification from an existing entity represented by a GUID. /// The globally unique identifier of the entity. /// The name of the classification. - /// The request options. + /// The request options. #pragma warning disable AZC0002 - public virtual async Task DeleteClassificationAsync(string guid, string classificationName, RequestOptions requestOptions = null) + public virtual async Task DeleteClassificationAsync(string guid, string classificationName, RequestOptions options = null) #pragma warning restore AZC0002 { - requestOptions ??= new RequestOptions(); - HttpMessage message = CreateDeleteClassificationRequest(guid, classificationName, requestOptions); - if (requestOptions.PerCallPolicy != null) + options ??= new RequestOptions(); + HttpMessage message = CreateDeleteClassificationRequest(guid, classificationName, options); + if (options.PerCallPolicy != null) { - message.SetProperty("RequestOptionsPerCallPolicyCallback", requestOptions.PerCallPolicy); + message.SetProperty("RequestOptionsPerCallPolicyCallback", options.PerCallPolicy); } using var scope = _clientDiagnostics.CreateScope("PurviewEntities.DeleteClassification"); scope.Start(); try { - await Pipeline.SendAsync(message, requestOptions.CancellationToken).ConfigureAwait(false); - if (requestOptions.StatusOption == ResponseStatusOption.Default) + await Pipeline.SendAsync(message, options.CancellationToken).ConfigureAwait(false); + if (options.StatusOption == ResponseStatusOption.Default) { switch (message.Response.Status) { @@ -2563,23 +2563,23 @@ public virtual async Task DeleteClassificationAsync(string guid, strin /// Delete a given classification from an existing entity represented by a GUID. /// The globally unique identifier of the entity. /// The name of the classification. - /// The request options. + /// The request options. #pragma warning disable AZC0002 - public virtual Response DeleteClassification(string guid, string classificationName, RequestOptions requestOptions = null) + public virtual Response DeleteClassification(string guid, string classificationName, RequestOptions options = null) #pragma warning restore AZC0002 { - requestOptions ??= new RequestOptions(); - HttpMessage message = CreateDeleteClassificationRequest(guid, classificationName, requestOptions); - if (requestOptions.PerCallPolicy != null) + options ??= new RequestOptions(); + HttpMessage message = CreateDeleteClassificationRequest(guid, classificationName, options); + if (options.PerCallPolicy != null) { - message.SetProperty("RequestOptionsPerCallPolicyCallback", requestOptions.PerCallPolicy); + message.SetProperty("RequestOptionsPerCallPolicyCallback", options.PerCallPolicy); } using var scope = _clientDiagnostics.CreateScope("PurviewEntities.DeleteClassification"); scope.Start(); try { - Pipeline.Send(message, requestOptions.CancellationToken); - if (requestOptions.StatusOption == ResponseStatusOption.Default) + Pipeline.Send(message, options.CancellationToken); + if (options.StatusOption == ResponseStatusOption.Default) { switch (message.Response.Status) { @@ -2604,8 +2604,8 @@ public virtual Response DeleteClassification(string guid, string classificationN /// Create Request for and operations. /// The globally unique identifier of the entity. /// The name of the classification. - /// The request options. - private HttpMessage CreateDeleteClassificationRequest(string guid, string classificationName, RequestOptions requestOptions = null) + /// The request options. + private HttpMessage CreateDeleteClassificationRequest(string guid, string classificationName, RequestOptions options = null) { var message = Pipeline.CreateMessage(); var request = message.Request; @@ -2623,23 +2623,23 @@ private HttpMessage CreateDeleteClassificationRequest(string guid, string classi /// List classifications for a given entity represented by a GUID. /// The globally unique identifier of the entity. - /// The request options. + /// The request options. #pragma warning disable AZC0002 - public virtual async Task GetClassificationsAsync(string guid, RequestOptions requestOptions = null) + public virtual async Task GetClassificationsAsync(string guid, RequestOptions options = null) #pragma warning restore AZC0002 { - requestOptions ??= new RequestOptions(); - HttpMessage message = CreateGetClassificationsRequest(guid, requestOptions); - if (requestOptions.PerCallPolicy != null) + options ??= new RequestOptions(); + HttpMessage message = CreateGetClassificationsRequest(guid, options); + if (options.PerCallPolicy != null) { - message.SetProperty("RequestOptionsPerCallPolicyCallback", requestOptions.PerCallPolicy); + message.SetProperty("RequestOptionsPerCallPolicyCallback", options.PerCallPolicy); } using var scope = _clientDiagnostics.CreateScope("PurviewEntities.GetClassifications"); scope.Start(); try { - await Pipeline.SendAsync(message, requestOptions.CancellationToken).ConfigureAwait(false); - if (requestOptions.StatusOption == ResponseStatusOption.Default) + await Pipeline.SendAsync(message, options.CancellationToken).ConfigureAwait(false); + if (options.StatusOption == ResponseStatusOption.Default) { switch (message.Response.Status) { @@ -2663,23 +2663,23 @@ public virtual async Task GetClassificationsAsync(string guid, Request /// List classifications for a given entity represented by a GUID. /// The globally unique identifier of the entity. - /// The request options. + /// The request options. #pragma warning disable AZC0002 - public virtual Response GetClassifications(string guid, RequestOptions requestOptions = null) + public virtual Response GetClassifications(string guid, RequestOptions options = null) #pragma warning restore AZC0002 { - requestOptions ??= new RequestOptions(); - HttpMessage message = CreateGetClassificationsRequest(guid, requestOptions); - if (requestOptions.PerCallPolicy != null) + options ??= new RequestOptions(); + HttpMessage message = CreateGetClassificationsRequest(guid, options); + if (options.PerCallPolicy != null) { - message.SetProperty("RequestOptionsPerCallPolicyCallback", requestOptions.PerCallPolicy); + message.SetProperty("RequestOptionsPerCallPolicyCallback", options.PerCallPolicy); } using var scope = _clientDiagnostics.CreateScope("PurviewEntities.GetClassifications"); scope.Start(); try { - Pipeline.Send(message, requestOptions.CancellationToken); - if (requestOptions.StatusOption == ResponseStatusOption.Default) + Pipeline.Send(message, options.CancellationToken); + if (options.StatusOption == ResponseStatusOption.Default) { switch (message.Response.Status) { @@ -2703,8 +2703,8 @@ public virtual Response GetClassifications(string guid, RequestOptions requestOp /// Create Request for and operations. /// The globally unique identifier of the entity. - /// The request options. - private HttpMessage CreateGetClassificationsRequest(string guid, RequestOptions requestOptions = null) + /// The request options. + private HttpMessage CreateGetClassificationsRequest(string guid, RequestOptions options = null) { var message = Pipeline.CreateMessage(); var request = message.Request; @@ -2724,12 +2724,12 @@ private HttpMessage CreateGetClassificationsRequest(string guid, RequestOptions /// /// Schema for AtlasClassification: /// - /// + /// /// Name /// Type /// Required /// Description - /// + /// /// /// attributes /// Dictionary<string, AnyObject> @@ -2787,12 +2787,12 @@ private HttpMessage CreateGetClassificationsRequest(string guid, RequestOptions /// /// Schema for TimeBoundary: /// - /// + /// /// Name /// Type /// Required /// Description - /// + /// /// /// endTime /// string @@ -2814,24 +2814,24 @@ private HttpMessage CreateGetClassificationsRequest(string guid, RequestOptions /// /// /// The globally unique identifier of the entity. - /// The request body. - /// The request options. + /// The content to send as the body of the request. + /// The request options. #pragma warning disable AZC0002 - public virtual async Task AddClassificationsAsync(string guid, RequestContent requestBody, RequestOptions requestOptions = null) + public virtual async Task AddClassificationsAsync(string guid, RequestContent content, RequestOptions options = null) #pragma warning restore AZC0002 { - requestOptions ??= new RequestOptions(); - HttpMessage message = CreateAddClassificationsRequest(guid, requestBody, requestOptions); - if (requestOptions.PerCallPolicy != null) + options ??= new RequestOptions(); + HttpMessage message = CreateAddClassificationsRequest(guid, content, options); + if (options.PerCallPolicy != null) { - message.SetProperty("RequestOptionsPerCallPolicyCallback", requestOptions.PerCallPolicy); + message.SetProperty("RequestOptionsPerCallPolicyCallback", options.PerCallPolicy); } using var scope = _clientDiagnostics.CreateScope("PurviewEntities.AddClassifications"); scope.Start(); try { - await Pipeline.SendAsync(message, requestOptions.CancellationToken).ConfigureAwait(false); - if (requestOptions.StatusOption == ResponseStatusOption.Default) + await Pipeline.SendAsync(message, options.CancellationToken).ConfigureAwait(false); + if (options.StatusOption == ResponseStatusOption.Default) { switch (message.Response.Status) { @@ -2857,12 +2857,12 @@ public virtual async Task AddClassificationsAsync(string guid, Request /// /// Schema for AtlasClassification: /// - /// + /// /// Name /// Type /// Required /// Description - /// + /// /// /// attributes /// Dictionary<string, AnyObject> @@ -2920,12 +2920,12 @@ public virtual async Task AddClassificationsAsync(string guid, Request /// /// Schema for TimeBoundary: /// - /// + /// /// Name /// Type /// Required /// Description - /// + /// /// /// endTime /// string @@ -2947,24 +2947,24 @@ public virtual async Task AddClassificationsAsync(string guid, Request /// /// /// The globally unique identifier of the entity. - /// The request body. - /// The request options. + /// The content to send as the body of the request. + /// The request options. #pragma warning disable AZC0002 - public virtual Response AddClassifications(string guid, RequestContent requestBody, RequestOptions requestOptions = null) + public virtual Response AddClassifications(string guid, RequestContent content, RequestOptions options = null) #pragma warning restore AZC0002 { - requestOptions ??= new RequestOptions(); - HttpMessage message = CreateAddClassificationsRequest(guid, requestBody, requestOptions); - if (requestOptions.PerCallPolicy != null) + options ??= new RequestOptions(); + HttpMessage message = CreateAddClassificationsRequest(guid, content, options); + if (options.PerCallPolicy != null) { - message.SetProperty("RequestOptionsPerCallPolicyCallback", requestOptions.PerCallPolicy); + message.SetProperty("RequestOptionsPerCallPolicyCallback", options.PerCallPolicy); } using var scope = _clientDiagnostics.CreateScope("PurviewEntities.AddClassifications"); scope.Start(); try { - Pipeline.Send(message, requestOptions.CancellationToken); - if (requestOptions.StatusOption == ResponseStatusOption.Default) + Pipeline.Send(message, options.CancellationToken); + if (options.StatusOption == ResponseStatusOption.Default) { switch (message.Response.Status) { @@ -2988,9 +2988,9 @@ public virtual Response AddClassifications(string guid, RequestContent requestBo /// Create Request for and operations. /// The globally unique identifier of the entity. - /// The request body. - /// The request options. - private HttpMessage CreateAddClassificationsRequest(string guid, RequestContent requestBody, RequestOptions requestOptions = null) + /// The content to send as the body of the request. + /// The request options. + private HttpMessage CreateAddClassificationsRequest(string guid, RequestContent content, RequestOptions options = null) { var message = Pipeline.CreateMessage(); var request = message.Request; @@ -3003,7 +3003,7 @@ private HttpMessage CreateAddClassificationsRequest(string guid, RequestContent uri.AppendPath("/classifications", false); request.Uri = uri; request.Headers.Add("Content-Type", "application/json"); - request.Content = requestBody; + request.Content = content; return message; } @@ -3011,12 +3011,12 @@ private HttpMessage CreateAddClassificationsRequest(string guid, RequestContent /// /// Schema for AtlasClassification: /// - /// + /// /// Name /// Type /// Required /// Description - /// + /// /// /// attributes /// Dictionary<string, AnyObject> @@ -3074,12 +3074,12 @@ private HttpMessage CreateAddClassificationsRequest(string guid, RequestContent /// /// Schema for TimeBoundary: /// - /// + /// /// Name /// Type /// Required /// Description - /// + /// /// /// endTime /// string @@ -3101,24 +3101,24 @@ private HttpMessage CreateAddClassificationsRequest(string guid, RequestContent /// /// /// The globally unique identifier of the entity. - /// The request body. - /// The request options. + /// The content to send as the body of the request. + /// The request options. #pragma warning disable AZC0002 - public virtual async Task UpdateClassificationsAsync(string guid, RequestContent requestBody, RequestOptions requestOptions = null) + public virtual async Task UpdateClassificationsAsync(string guid, RequestContent content, RequestOptions options = null) #pragma warning restore AZC0002 { - requestOptions ??= new RequestOptions(); - HttpMessage message = CreateUpdateClassificationsRequest(guid, requestBody, requestOptions); - if (requestOptions.PerCallPolicy != null) + options ??= new RequestOptions(); + HttpMessage message = CreateUpdateClassificationsRequest(guid, content, options); + if (options.PerCallPolicy != null) { - message.SetProperty("RequestOptionsPerCallPolicyCallback", requestOptions.PerCallPolicy); + message.SetProperty("RequestOptionsPerCallPolicyCallback", options.PerCallPolicy); } using var scope = _clientDiagnostics.CreateScope("PurviewEntities.UpdateClassifications"); scope.Start(); try { - await Pipeline.SendAsync(message, requestOptions.CancellationToken).ConfigureAwait(false); - if (requestOptions.StatusOption == ResponseStatusOption.Default) + await Pipeline.SendAsync(message, options.CancellationToken).ConfigureAwait(false); + if (options.StatusOption == ResponseStatusOption.Default) { switch (message.Response.Status) { @@ -3144,12 +3144,12 @@ public virtual async Task UpdateClassificationsAsync(string guid, Requ /// /// Schema for AtlasClassification: /// - /// + /// /// Name /// Type /// Required /// Description - /// + /// /// /// attributes /// Dictionary<string, AnyObject> @@ -3207,12 +3207,12 @@ public virtual async Task UpdateClassificationsAsync(string guid, Requ /// /// Schema for TimeBoundary: /// - /// + /// /// Name /// Type /// Required /// Description - /// + /// /// /// endTime /// string @@ -3234,24 +3234,24 @@ public virtual async Task UpdateClassificationsAsync(string guid, Requ /// /// /// The globally unique identifier of the entity. - /// The request body. - /// The request options. + /// The content to send as the body of the request. + /// The request options. #pragma warning disable AZC0002 - public virtual Response UpdateClassifications(string guid, RequestContent requestBody, RequestOptions requestOptions = null) + public virtual Response UpdateClassifications(string guid, RequestContent content, RequestOptions options = null) #pragma warning restore AZC0002 { - requestOptions ??= new RequestOptions(); - HttpMessage message = CreateUpdateClassificationsRequest(guid, requestBody, requestOptions); - if (requestOptions.PerCallPolicy != null) + options ??= new RequestOptions(); + HttpMessage message = CreateUpdateClassificationsRequest(guid, content, options); + if (options.PerCallPolicy != null) { - message.SetProperty("RequestOptionsPerCallPolicyCallback", requestOptions.PerCallPolicy); + message.SetProperty("RequestOptionsPerCallPolicyCallback", options.PerCallPolicy); } using var scope = _clientDiagnostics.CreateScope("PurviewEntities.UpdateClassifications"); scope.Start(); try { - Pipeline.Send(message, requestOptions.CancellationToken); - if (requestOptions.StatusOption == ResponseStatusOption.Default) + Pipeline.Send(message, options.CancellationToken); + if (options.StatusOption == ResponseStatusOption.Default) { switch (message.Response.Status) { @@ -3275,9 +3275,9 @@ public virtual Response UpdateClassifications(string guid, RequestContent reques /// Create Request for and operations. /// The globally unique identifier of the entity. - /// The request body. - /// The request options. - private HttpMessage CreateUpdateClassificationsRequest(string guid, RequestContent requestBody, RequestOptions requestOptions = null) + /// The content to send as the body of the request. + /// The request options. + private HttpMessage CreateUpdateClassificationsRequest(string guid, RequestContent content, RequestOptions options = null) { var message = Pipeline.CreateMessage(); var request = message.Request; @@ -3290,7 +3290,7 @@ private HttpMessage CreateUpdateClassificationsRequest(string guid, RequestConte uri.AppendPath("/classifications", false); request.Uri = uri; request.Headers.Add("Content-Type", "application/json"); - request.Content = requestBody; + request.Content = content; return message; } @@ -3306,23 +3306,23 @@ private HttpMessage CreateUpdateClassificationsRequest(string guid, RequestConte /// Whether to return minimal information for referred entities. /// Whether to ignore relationship attributes. /// The qualified name of the entity. - /// The request options. + /// The request options. #pragma warning disable AZC0002 - public virtual async Task GetByUniqueAttributesAsync(string typeName, bool? minExtInfo = null, bool? ignoreRelationships = null, string attrQualifiedName = null, RequestOptions requestOptions = null) + public virtual async Task GetByUniqueAttributesAsync(string typeName, bool? minExtInfo = null, bool? ignoreRelationships = null, string attrQualifiedName = null, RequestOptions options = null) #pragma warning restore AZC0002 { - requestOptions ??= new RequestOptions(); - HttpMessage message = CreateGetByUniqueAttributesRequest(typeName, minExtInfo, ignoreRelationships, attrQualifiedName, requestOptions); - if (requestOptions.PerCallPolicy != null) + options ??= new RequestOptions(); + HttpMessage message = CreateGetByUniqueAttributesRequest(typeName, minExtInfo, ignoreRelationships, attrQualifiedName, options); + if (options.PerCallPolicy != null) { - message.SetProperty("RequestOptionsPerCallPolicyCallback", requestOptions.PerCallPolicy); + message.SetProperty("RequestOptionsPerCallPolicyCallback", options.PerCallPolicy); } using var scope = _clientDiagnostics.CreateScope("PurviewEntities.GetByUniqueAttributes"); scope.Start(); try { - await Pipeline.SendAsync(message, requestOptions.CancellationToken).ConfigureAwait(false); - if (requestOptions.StatusOption == ResponseStatusOption.Default) + await Pipeline.SendAsync(message, options.CancellationToken).ConfigureAwait(false); + if (options.StatusOption == ResponseStatusOption.Default) { switch (message.Response.Status) { @@ -3356,23 +3356,23 @@ public virtual async Task GetByUniqueAttributesAsync(string typeName, /// Whether to return minimal information for referred entities. /// Whether to ignore relationship attributes. /// The qualified name of the entity. - /// The request options. + /// The request options. #pragma warning disable AZC0002 - public virtual Response GetByUniqueAttributes(string typeName, bool? minExtInfo = null, bool? ignoreRelationships = null, string attrQualifiedName = null, RequestOptions requestOptions = null) + public virtual Response GetByUniqueAttributes(string typeName, bool? minExtInfo = null, bool? ignoreRelationships = null, string attrQualifiedName = null, RequestOptions options = null) #pragma warning restore AZC0002 { - requestOptions ??= new RequestOptions(); - HttpMessage message = CreateGetByUniqueAttributesRequest(typeName, minExtInfo, ignoreRelationships, attrQualifiedName, requestOptions); - if (requestOptions.PerCallPolicy != null) + options ??= new RequestOptions(); + HttpMessage message = CreateGetByUniqueAttributesRequest(typeName, minExtInfo, ignoreRelationships, attrQualifiedName, options); + if (options.PerCallPolicy != null) { - message.SetProperty("RequestOptionsPerCallPolicyCallback", requestOptions.PerCallPolicy); + message.SetProperty("RequestOptionsPerCallPolicyCallback", options.PerCallPolicy); } using var scope = _clientDiagnostics.CreateScope("PurviewEntities.GetByUniqueAttributes"); scope.Start(); try { - Pipeline.Send(message, requestOptions.CancellationToken); - if (requestOptions.StatusOption == ResponseStatusOption.Default) + Pipeline.Send(message, options.CancellationToken); + if (options.StatusOption == ResponseStatusOption.Default) { switch (message.Response.Status) { @@ -3399,8 +3399,8 @@ public virtual Response GetByUniqueAttributes(string typeName, bool? minExtInfo /// Whether to return minimal information for referred entities. /// Whether to ignore relationship attributes. /// The qualified name of the entity. - /// The request options. - private HttpMessage CreateGetByUniqueAttributesRequest(string typeName, bool? minExtInfo = null, bool? ignoreRelationships = null, string attrQualifiedName = null, RequestOptions requestOptions = null) + /// The request options. + private HttpMessage CreateGetByUniqueAttributesRequest(string typeName, bool? minExtInfo = null, bool? ignoreRelationships = null, string attrQualifiedName = null, RequestOptions options = null) { var message = Pipeline.CreateMessage(); var request = message.Request; @@ -3440,12 +3440,12 @@ private HttpMessage CreateGetByUniqueAttributesRequest(string typeName, bool? mi /// /// Schema for Request Body: /// - /// + /// /// Name /// Type /// Required /// Description - /// + /// /// /// referredEntities /// Dictionary<string, AtlasEntity> @@ -3461,12 +3461,12 @@ private HttpMessage CreateGetByUniqueAttributesRequest(string typeName, bool? mi /// /// Schema for AtlasEntity: /// - /// + /// /// Name /// Type /// Required /// Description - /// + /// /// /// attributes /// Dictionary<string, AnyObject> @@ -3584,12 +3584,12 @@ private HttpMessage CreateGetByUniqueAttributesRequest(string typeName, bool? mi /// /// Schema for AtlasClassification: /// - /// + /// /// Name /// Type /// Required /// Description - /// + /// /// /// attributes /// Dictionary<string, AnyObject> @@ -3647,12 +3647,12 @@ private HttpMessage CreateGetByUniqueAttributesRequest(string typeName, bool? mi /// /// Schema for AtlasTermAssignmentHeader: /// - /// + /// /// Name /// Type /// Required /// Description - /// + /// /// /// confidence /// number @@ -3716,12 +3716,12 @@ private HttpMessage CreateGetByUniqueAttributesRequest(string typeName, bool? mi /// /// Schema for ContactBasic: /// - /// + /// /// Name /// Type /// Required /// Description - /// + /// /// /// id /// string @@ -3737,12 +3737,12 @@ private HttpMessage CreateGetByUniqueAttributesRequest(string typeName, bool? mi /// /// Schema for TimeBoundary: /// - /// + /// /// Name /// Type /// Required /// Description - /// + /// /// /// endTime /// string @@ -3764,25 +3764,25 @@ private HttpMessage CreateGetByUniqueAttributesRequest(string typeName, bool? mi /// /// /// The name of the type. - /// The request body. + /// The content to send as the body of the request. /// The qualified name of the entity. - /// The request options. + /// The request options. #pragma warning disable AZC0002 - public virtual async Task PartialUpdateEntityByUniqueAttributesAsync(string typeName, RequestContent requestBody, string attrQualifiedName = null, RequestOptions requestOptions = null) + public virtual async Task PartialUpdateEntityByUniqueAttributesAsync(string typeName, RequestContent content, string attrQualifiedName = null, RequestOptions options = null) #pragma warning restore AZC0002 { - requestOptions ??= new RequestOptions(); - HttpMessage message = CreatePartialUpdateEntityByUniqueAttributesRequest(typeName, requestBody, attrQualifiedName, requestOptions); - if (requestOptions.PerCallPolicy != null) + options ??= new RequestOptions(); + HttpMessage message = CreatePartialUpdateEntityByUniqueAttributesRequest(typeName, content, attrQualifiedName, options); + if (options.PerCallPolicy != null) { - message.SetProperty("RequestOptionsPerCallPolicyCallback", requestOptions.PerCallPolicy); + message.SetProperty("RequestOptionsPerCallPolicyCallback", options.PerCallPolicy); } using var scope = _clientDiagnostics.CreateScope("PurviewEntities.PartialUpdateEntityByUniqueAttributes"); scope.Start(); try { - await Pipeline.SendAsync(message, requestOptions.CancellationToken).ConfigureAwait(false); - if (requestOptions.StatusOption == ResponseStatusOption.Default) + await Pipeline.SendAsync(message, options.CancellationToken).ConfigureAwait(false); + if (options.StatusOption == ResponseStatusOption.Default) { switch (message.Response.Status) { @@ -3817,12 +3817,12 @@ public virtual async Task PartialUpdateEntityByUniqueAttributesAsync(s /// /// Schema for Request Body: /// - /// + /// /// Name /// Type /// Required /// Description - /// + /// /// /// referredEntities /// Dictionary<string, AtlasEntity> @@ -3838,12 +3838,12 @@ public virtual async Task PartialUpdateEntityByUniqueAttributesAsync(s /// /// Schema for AtlasEntity: /// - /// + /// /// Name /// Type /// Required /// Description - /// + /// /// /// attributes /// Dictionary<string, AnyObject> @@ -3961,12 +3961,12 @@ public virtual async Task PartialUpdateEntityByUniqueAttributesAsync(s /// /// Schema for AtlasClassification: /// - /// + /// /// Name /// Type /// Required /// Description - /// + /// /// /// attributes /// Dictionary<string, AnyObject> @@ -4024,12 +4024,12 @@ public virtual async Task PartialUpdateEntityByUniqueAttributesAsync(s /// /// Schema for AtlasTermAssignmentHeader: /// - /// + /// /// Name /// Type /// Required /// Description - /// + /// /// /// confidence /// number @@ -4093,12 +4093,12 @@ public virtual async Task PartialUpdateEntityByUniqueAttributesAsync(s /// /// Schema for ContactBasic: /// - /// + /// /// Name /// Type /// Required /// Description - /// + /// /// /// id /// string @@ -4114,12 +4114,12 @@ public virtual async Task PartialUpdateEntityByUniqueAttributesAsync(s /// /// Schema for TimeBoundary: /// - /// + /// /// Name /// Type /// Required /// Description - /// + /// /// /// endTime /// string @@ -4141,25 +4141,25 @@ public virtual async Task PartialUpdateEntityByUniqueAttributesAsync(s /// /// /// The name of the type. - /// The request body. + /// The content to send as the body of the request. /// The qualified name of the entity. - /// The request options. + /// The request options. #pragma warning disable AZC0002 - public virtual Response PartialUpdateEntityByUniqueAttributes(string typeName, RequestContent requestBody, string attrQualifiedName = null, RequestOptions requestOptions = null) + public virtual Response PartialUpdateEntityByUniqueAttributes(string typeName, RequestContent content, string attrQualifiedName = null, RequestOptions options = null) #pragma warning restore AZC0002 { - requestOptions ??= new RequestOptions(); - HttpMessage message = CreatePartialUpdateEntityByUniqueAttributesRequest(typeName, requestBody, attrQualifiedName, requestOptions); - if (requestOptions.PerCallPolicy != null) + options ??= new RequestOptions(); + HttpMessage message = CreatePartialUpdateEntityByUniqueAttributesRequest(typeName, content, attrQualifiedName, options); + if (options.PerCallPolicy != null) { - message.SetProperty("RequestOptionsPerCallPolicyCallback", requestOptions.PerCallPolicy); + message.SetProperty("RequestOptionsPerCallPolicyCallback", options.PerCallPolicy); } using var scope = _clientDiagnostics.CreateScope("PurviewEntities.PartialUpdateEntityByUniqueAttributes"); scope.Start(); try { - Pipeline.Send(message, requestOptions.CancellationToken); - if (requestOptions.StatusOption == ResponseStatusOption.Default) + Pipeline.Send(message, options.CancellationToken); + if (options.StatusOption == ResponseStatusOption.Default) { switch (message.Response.Status) { @@ -4183,10 +4183,10 @@ public virtual Response PartialUpdateEntityByUniqueAttributes(string typeName, R /// Create Request for and operations. /// The name of the type. - /// The request body. + /// The content to send as the body of the request. /// The qualified name of the entity. - /// The request options. - private HttpMessage CreatePartialUpdateEntityByUniqueAttributesRequest(string typeName, RequestContent requestBody, string attrQualifiedName = null, RequestOptions requestOptions = null) + /// The request options. + private HttpMessage CreatePartialUpdateEntityByUniqueAttributesRequest(string typeName, RequestContent content, string attrQualifiedName = null, RequestOptions options = null) { var message = Pipeline.CreateMessage(); var request = message.Request; @@ -4203,7 +4203,7 @@ private HttpMessage CreatePartialUpdateEntityByUniqueAttributesRequest(string ty request.Uri = uri; request.Headers.Add("Accept", "application/json"); request.Headers.Add("Content-Type", "application/json"); - request.Content = requestBody; + request.Content = content; return message; } @@ -4217,23 +4217,23 @@ private HttpMessage CreatePartialUpdateEntityByUniqueAttributesRequest(string ty /// /// The name of the type. /// The qualified name of the entity. - /// The request options. + /// The request options. #pragma warning disable AZC0002 - public virtual async Task DeleteByUniqueAttributeAsync(string typeName, string attrQualifiedName = null, RequestOptions requestOptions = null) + public virtual async Task DeleteByUniqueAttributeAsync(string typeName, string attrQualifiedName = null, RequestOptions options = null) #pragma warning restore AZC0002 { - requestOptions ??= new RequestOptions(); - HttpMessage message = CreateDeleteByUniqueAttributeRequest(typeName, attrQualifiedName, requestOptions); - if (requestOptions.PerCallPolicy != null) + options ??= new RequestOptions(); + HttpMessage message = CreateDeleteByUniqueAttributeRequest(typeName, attrQualifiedName, options); + if (options.PerCallPolicy != null) { - message.SetProperty("RequestOptionsPerCallPolicyCallback", requestOptions.PerCallPolicy); + message.SetProperty("RequestOptionsPerCallPolicyCallback", options.PerCallPolicy); } using var scope = _clientDiagnostics.CreateScope("PurviewEntities.DeleteByUniqueAttribute"); scope.Start(); try { - await Pipeline.SendAsync(message, requestOptions.CancellationToken).ConfigureAwait(false); - if (requestOptions.StatusOption == ResponseStatusOption.Default) + await Pipeline.SendAsync(message, options.CancellationToken).ConfigureAwait(false); + if (options.StatusOption == ResponseStatusOption.Default) { switch (message.Response.Status) { @@ -4265,23 +4265,23 @@ public virtual async Task DeleteByUniqueAttributeAsync(string typeName /// /// The name of the type. /// The qualified name of the entity. - /// The request options. + /// The request options. #pragma warning disable AZC0002 - public virtual Response DeleteByUniqueAttribute(string typeName, string attrQualifiedName = null, RequestOptions requestOptions = null) + public virtual Response DeleteByUniqueAttribute(string typeName, string attrQualifiedName = null, RequestOptions options = null) #pragma warning restore AZC0002 { - requestOptions ??= new RequestOptions(); - HttpMessage message = CreateDeleteByUniqueAttributeRequest(typeName, attrQualifiedName, requestOptions); - if (requestOptions.PerCallPolicy != null) + options ??= new RequestOptions(); + HttpMessage message = CreateDeleteByUniqueAttributeRequest(typeName, attrQualifiedName, options); + if (options.PerCallPolicy != null) { - message.SetProperty("RequestOptionsPerCallPolicyCallback", requestOptions.PerCallPolicy); + message.SetProperty("RequestOptionsPerCallPolicyCallback", options.PerCallPolicy); } using var scope = _clientDiagnostics.CreateScope("PurviewEntities.DeleteByUniqueAttribute"); scope.Start(); try { - Pipeline.Send(message, requestOptions.CancellationToken); - if (requestOptions.StatusOption == ResponseStatusOption.Default) + Pipeline.Send(message, options.CancellationToken); + if (options.StatusOption == ResponseStatusOption.Default) { switch (message.Response.Status) { @@ -4306,8 +4306,8 @@ public virtual Response DeleteByUniqueAttribute(string typeName, string attrQual /// Create Request for and operations. /// The name of the type. /// The qualified name of the entity. - /// The request options. - private HttpMessage CreateDeleteByUniqueAttributeRequest(string typeName, string attrQualifiedName = null, RequestOptions requestOptions = null) + /// The request options. + private HttpMessage CreateDeleteByUniqueAttributeRequest(string typeName, string attrQualifiedName = null, RequestOptions options = null) { var message = Pipeline.CreateMessage(); var request = message.Request; @@ -4330,23 +4330,23 @@ private HttpMessage CreateDeleteByUniqueAttributeRequest(string typeName, string /// The name of the type. /// The name of the classification. /// The qualified name of the entity. - /// The request options. + /// The request options. #pragma warning disable AZC0002 - public virtual async Task DeleteClassificationByUniqueAttributeAsync(string typeName, string classificationName, string attrQualifiedName = null, RequestOptions requestOptions = null) + public virtual async Task DeleteClassificationByUniqueAttributeAsync(string typeName, string classificationName, string attrQualifiedName = null, RequestOptions options = null) #pragma warning restore AZC0002 { - requestOptions ??= new RequestOptions(); - HttpMessage message = CreateDeleteClassificationByUniqueAttributeRequest(typeName, classificationName, attrQualifiedName, requestOptions); - if (requestOptions.PerCallPolicy != null) + options ??= new RequestOptions(); + HttpMessage message = CreateDeleteClassificationByUniqueAttributeRequest(typeName, classificationName, attrQualifiedName, options); + if (options.PerCallPolicy != null) { - message.SetProperty("RequestOptionsPerCallPolicyCallback", requestOptions.PerCallPolicy); + message.SetProperty("RequestOptionsPerCallPolicyCallback", options.PerCallPolicy); } using var scope = _clientDiagnostics.CreateScope("PurviewEntities.DeleteClassificationByUniqueAttribute"); scope.Start(); try { - await Pipeline.SendAsync(message, requestOptions.CancellationToken).ConfigureAwait(false); - if (requestOptions.StatusOption == ResponseStatusOption.Default) + await Pipeline.SendAsync(message, options.CancellationToken).ConfigureAwait(false); + if (options.StatusOption == ResponseStatusOption.Default) { switch (message.Response.Status) { @@ -4372,23 +4372,23 @@ public virtual async Task DeleteClassificationByUniqueAttributeAsync(s /// The name of the type. /// The name of the classification. /// The qualified name of the entity. - /// The request options. + /// The request options. #pragma warning disable AZC0002 - public virtual Response DeleteClassificationByUniqueAttribute(string typeName, string classificationName, string attrQualifiedName = null, RequestOptions requestOptions = null) + public virtual Response DeleteClassificationByUniqueAttribute(string typeName, string classificationName, string attrQualifiedName = null, RequestOptions options = null) #pragma warning restore AZC0002 { - requestOptions ??= new RequestOptions(); - HttpMessage message = CreateDeleteClassificationByUniqueAttributeRequest(typeName, classificationName, attrQualifiedName, requestOptions); - if (requestOptions.PerCallPolicy != null) + options ??= new RequestOptions(); + HttpMessage message = CreateDeleteClassificationByUniqueAttributeRequest(typeName, classificationName, attrQualifiedName, options); + if (options.PerCallPolicy != null) { - message.SetProperty("RequestOptionsPerCallPolicyCallback", requestOptions.PerCallPolicy); + message.SetProperty("RequestOptionsPerCallPolicyCallback", options.PerCallPolicy); } using var scope = _clientDiagnostics.CreateScope("PurviewEntities.DeleteClassificationByUniqueAttribute"); scope.Start(); try { - Pipeline.Send(message, requestOptions.CancellationToken); - if (requestOptions.StatusOption == ResponseStatusOption.Default) + Pipeline.Send(message, options.CancellationToken); + if (options.StatusOption == ResponseStatusOption.Default) { switch (message.Response.Status) { @@ -4414,8 +4414,8 @@ public virtual Response DeleteClassificationByUniqueAttribute(string typeName, s /// The name of the type. /// The name of the classification. /// The qualified name of the entity. - /// The request options. - private HttpMessage CreateDeleteClassificationByUniqueAttributeRequest(string typeName, string classificationName, string attrQualifiedName = null, RequestOptions requestOptions = null) + /// The request options. + private HttpMessage CreateDeleteClassificationByUniqueAttributeRequest(string typeName, string classificationName, string attrQualifiedName = null, RequestOptions options = null) { var message = Pipeline.CreateMessage(); var request = message.Request; @@ -4439,12 +4439,12 @@ private HttpMessage CreateDeleteClassificationByUniqueAttributeRequest(string ty /// /// Schema for AtlasClassification: /// - /// + /// /// Name /// Type /// Required /// Description - /// + /// /// /// attributes /// Dictionary<string, AnyObject> @@ -4502,12 +4502,12 @@ private HttpMessage CreateDeleteClassificationByUniqueAttributeRequest(string ty /// /// Schema for TimeBoundary: /// - /// + /// /// Name /// Type /// Required /// Description - /// + /// /// /// endTime /// string @@ -4529,25 +4529,25 @@ private HttpMessage CreateDeleteClassificationByUniqueAttributeRequest(string ty /// /// /// The name of the type. - /// The request body. + /// The content to send as the body of the request. /// The qualified name of the entity. - /// The request options. + /// The request options. #pragma warning disable AZC0002 - public virtual async Task AddClassificationsByUniqueAttributeAsync(string typeName, RequestContent requestBody, string attrQualifiedName = null, RequestOptions requestOptions = null) + public virtual async Task AddClassificationsByUniqueAttributeAsync(string typeName, RequestContent content, string attrQualifiedName = null, RequestOptions options = null) #pragma warning restore AZC0002 { - requestOptions ??= new RequestOptions(); - HttpMessage message = CreateAddClassificationsByUniqueAttributeRequest(typeName, requestBody, attrQualifiedName, requestOptions); - if (requestOptions.PerCallPolicy != null) + options ??= new RequestOptions(); + HttpMessage message = CreateAddClassificationsByUniqueAttributeRequest(typeName, content, attrQualifiedName, options); + if (options.PerCallPolicy != null) { - message.SetProperty("RequestOptionsPerCallPolicyCallback", requestOptions.PerCallPolicy); + message.SetProperty("RequestOptionsPerCallPolicyCallback", options.PerCallPolicy); } using var scope = _clientDiagnostics.CreateScope("PurviewEntities.AddClassificationsByUniqueAttribute"); scope.Start(); try { - await Pipeline.SendAsync(message, requestOptions.CancellationToken).ConfigureAwait(false); - if (requestOptions.StatusOption == ResponseStatusOption.Default) + await Pipeline.SendAsync(message, options.CancellationToken).ConfigureAwait(false); + if (options.StatusOption == ResponseStatusOption.Default) { switch (message.Response.Status) { @@ -4573,12 +4573,12 @@ public virtual async Task AddClassificationsByUniqueAttributeAsync(str /// /// Schema for AtlasClassification: /// - /// + /// /// Name /// Type /// Required /// Description - /// + /// /// /// attributes /// Dictionary<string, AnyObject> @@ -4636,12 +4636,12 @@ public virtual async Task AddClassificationsByUniqueAttributeAsync(str /// /// Schema for TimeBoundary: /// - /// + /// /// Name /// Type /// Required /// Description - /// + /// /// /// endTime /// string @@ -4663,25 +4663,25 @@ public virtual async Task AddClassificationsByUniqueAttributeAsync(str /// /// /// The name of the type. - /// The request body. + /// The content to send as the body of the request. /// The qualified name of the entity. - /// The request options. + /// The request options. #pragma warning disable AZC0002 - public virtual Response AddClassificationsByUniqueAttribute(string typeName, RequestContent requestBody, string attrQualifiedName = null, RequestOptions requestOptions = null) + public virtual Response AddClassificationsByUniqueAttribute(string typeName, RequestContent content, string attrQualifiedName = null, RequestOptions options = null) #pragma warning restore AZC0002 { - requestOptions ??= new RequestOptions(); - HttpMessage message = CreateAddClassificationsByUniqueAttributeRequest(typeName, requestBody, attrQualifiedName, requestOptions); - if (requestOptions.PerCallPolicy != null) + options ??= new RequestOptions(); + HttpMessage message = CreateAddClassificationsByUniqueAttributeRequest(typeName, content, attrQualifiedName, options); + if (options.PerCallPolicy != null) { - message.SetProperty("RequestOptionsPerCallPolicyCallback", requestOptions.PerCallPolicy); + message.SetProperty("RequestOptionsPerCallPolicyCallback", options.PerCallPolicy); } using var scope = _clientDiagnostics.CreateScope("PurviewEntities.AddClassificationsByUniqueAttribute"); scope.Start(); try { - Pipeline.Send(message, requestOptions.CancellationToken); - if (requestOptions.StatusOption == ResponseStatusOption.Default) + Pipeline.Send(message, options.CancellationToken); + if (options.StatusOption == ResponseStatusOption.Default) { switch (message.Response.Status) { @@ -4705,10 +4705,10 @@ public virtual Response AddClassificationsByUniqueAttribute(string typeName, Req /// Create Request for and operations. /// The name of the type. - /// The request body. + /// The content to send as the body of the request. /// The qualified name of the entity. - /// The request options. - private HttpMessage CreateAddClassificationsByUniqueAttributeRequest(string typeName, RequestContent requestBody, string attrQualifiedName = null, RequestOptions requestOptions = null) + /// The request options. + private HttpMessage CreateAddClassificationsByUniqueAttributeRequest(string typeName, RequestContent content, string attrQualifiedName = null, RequestOptions options = null) { var message = Pipeline.CreateMessage(); var request = message.Request; @@ -4725,7 +4725,7 @@ private HttpMessage CreateAddClassificationsByUniqueAttributeRequest(string type } request.Uri = uri; request.Headers.Add("Content-Type", "application/json"); - request.Content = requestBody; + request.Content = content; return message; } @@ -4733,12 +4733,12 @@ private HttpMessage CreateAddClassificationsByUniqueAttributeRequest(string type /// /// Schema for AtlasClassification: /// - /// + /// /// Name /// Type /// Required /// Description - /// + /// /// /// attributes /// Dictionary<string, AnyObject> @@ -4796,12 +4796,12 @@ private HttpMessage CreateAddClassificationsByUniqueAttributeRequest(string type /// /// Schema for TimeBoundary: /// - /// + /// /// Name /// Type /// Required /// Description - /// + /// /// /// endTime /// string @@ -4823,25 +4823,25 @@ private HttpMessage CreateAddClassificationsByUniqueAttributeRequest(string type /// /// /// The name of the type. - /// The request body. + /// The content to send as the body of the request. /// The qualified name of the entity. - /// The request options. + /// The request options. #pragma warning disable AZC0002 - public virtual async Task UpdateClassificationsByUniqueAttributeAsync(string typeName, RequestContent requestBody, string attrQualifiedName = null, RequestOptions requestOptions = null) + public virtual async Task UpdateClassificationsByUniqueAttributeAsync(string typeName, RequestContent content, string attrQualifiedName = null, RequestOptions options = null) #pragma warning restore AZC0002 { - requestOptions ??= new RequestOptions(); - HttpMessage message = CreateUpdateClassificationsByUniqueAttributeRequest(typeName, requestBody, attrQualifiedName, requestOptions); - if (requestOptions.PerCallPolicy != null) + options ??= new RequestOptions(); + HttpMessage message = CreateUpdateClassificationsByUniqueAttributeRequest(typeName, content, attrQualifiedName, options); + if (options.PerCallPolicy != null) { - message.SetProperty("RequestOptionsPerCallPolicyCallback", requestOptions.PerCallPolicy); + message.SetProperty("RequestOptionsPerCallPolicyCallback", options.PerCallPolicy); } using var scope = _clientDiagnostics.CreateScope("PurviewEntities.UpdateClassificationsByUniqueAttribute"); scope.Start(); try { - await Pipeline.SendAsync(message, requestOptions.CancellationToken).ConfigureAwait(false); - if (requestOptions.StatusOption == ResponseStatusOption.Default) + await Pipeline.SendAsync(message, options.CancellationToken).ConfigureAwait(false); + if (options.StatusOption == ResponseStatusOption.Default) { switch (message.Response.Status) { @@ -4867,12 +4867,12 @@ public virtual async Task UpdateClassificationsByUniqueAttributeAsync( /// /// Schema for AtlasClassification: /// - /// + /// /// Name /// Type /// Required /// Description - /// + /// /// /// attributes /// Dictionary<string, AnyObject> @@ -4930,12 +4930,12 @@ public virtual async Task UpdateClassificationsByUniqueAttributeAsync( /// /// Schema for TimeBoundary: /// - /// + /// /// Name /// Type /// Required /// Description - /// + /// /// /// endTime /// string @@ -4957,25 +4957,25 @@ public virtual async Task UpdateClassificationsByUniqueAttributeAsync( /// /// /// The name of the type. - /// The request body. + /// The content to send as the body of the request. /// The qualified name of the entity. - /// The request options. + /// The request options. #pragma warning disable AZC0002 - public virtual Response UpdateClassificationsByUniqueAttribute(string typeName, RequestContent requestBody, string attrQualifiedName = null, RequestOptions requestOptions = null) + public virtual Response UpdateClassificationsByUniqueAttribute(string typeName, RequestContent content, string attrQualifiedName = null, RequestOptions options = null) #pragma warning restore AZC0002 { - requestOptions ??= new RequestOptions(); - HttpMessage message = CreateUpdateClassificationsByUniqueAttributeRequest(typeName, requestBody, attrQualifiedName, requestOptions); - if (requestOptions.PerCallPolicy != null) + options ??= new RequestOptions(); + HttpMessage message = CreateUpdateClassificationsByUniqueAttributeRequest(typeName, content, attrQualifiedName, options); + if (options.PerCallPolicy != null) { - message.SetProperty("RequestOptionsPerCallPolicyCallback", requestOptions.PerCallPolicy); + message.SetProperty("RequestOptionsPerCallPolicyCallback", options.PerCallPolicy); } using var scope = _clientDiagnostics.CreateScope("PurviewEntities.UpdateClassificationsByUniqueAttribute"); scope.Start(); try { - Pipeline.Send(message, requestOptions.CancellationToken); - if (requestOptions.StatusOption == ResponseStatusOption.Default) + Pipeline.Send(message, options.CancellationToken); + if (options.StatusOption == ResponseStatusOption.Default) { switch (message.Response.Status) { @@ -4999,10 +4999,10 @@ public virtual Response UpdateClassificationsByUniqueAttribute(string typeName, /// Create Request for and operations. /// The name of the type. - /// The request body. + /// The content to send as the body of the request. /// The qualified name of the entity. - /// The request options. - private HttpMessage CreateUpdateClassificationsByUniqueAttributeRequest(string typeName, RequestContent requestBody, string attrQualifiedName = null, RequestOptions requestOptions = null) + /// The request options. + private HttpMessage CreateUpdateClassificationsByUniqueAttributeRequest(string typeName, RequestContent content, string attrQualifiedName = null, RequestOptions options = null) { var message = Pipeline.CreateMessage(); var request = message.Request; @@ -5019,7 +5019,7 @@ private HttpMessage CreateUpdateClassificationsByUniqueAttributeRequest(string t } request.Uri = uri; request.Headers.Add("Content-Type", "application/json"); - request.Content = requestBody; + request.Content = content; return message; } @@ -5027,12 +5027,12 @@ private HttpMessage CreateUpdateClassificationsByUniqueAttributeRequest(string t /// /// Schema for Request Body: /// - /// + /// /// Name /// Type /// Required /// Description - /// + /// /// /// guidHeaderMap /// Dictionary<string, AtlasEntityHeader> @@ -5042,12 +5042,12 @@ private HttpMessage CreateUpdateClassificationsByUniqueAttributeRequest(string t /// /// Schema for AtlasEntityHeader: /// - /// + /// /// Name /// Type /// Required /// Description - /// + /// /// /// attributes /// Dictionary<string, AnyObject> @@ -5111,12 +5111,12 @@ private HttpMessage CreateUpdateClassificationsByUniqueAttributeRequest(string t /// /// Schema for AtlasClassification: /// - /// + /// /// Name /// Type /// Required /// Description - /// + /// /// /// attributes /// Dictionary<string, AnyObject> @@ -5174,12 +5174,12 @@ private HttpMessage CreateUpdateClassificationsByUniqueAttributeRequest(string t /// /// Schema for AtlasTermAssignmentHeader: /// - /// + /// /// Name /// Type /// Required /// Description - /// + /// /// /// confidence /// number @@ -5243,12 +5243,12 @@ private HttpMessage CreateUpdateClassificationsByUniqueAttributeRequest(string t /// /// Schema for TimeBoundary: /// - /// + /// /// Name /// Type /// Required /// Description - /// + /// /// /// endTime /// string @@ -5269,24 +5269,24 @@ private HttpMessage CreateUpdateClassificationsByUniqueAttributeRequest(string t /// /// /// - /// The request body. - /// The request options. + /// The content to send as the body of the request. + /// The request options. #pragma warning disable AZC0002 - public virtual async Task SetClassificationsAsync(RequestContent requestBody, RequestOptions requestOptions = null) + public virtual async Task SetClassificationsAsync(RequestContent content, RequestOptions options = null) #pragma warning restore AZC0002 { - requestOptions ??= new RequestOptions(); - HttpMessage message = CreateSetClassificationsRequest(requestBody, requestOptions); - if (requestOptions.PerCallPolicy != null) + options ??= new RequestOptions(); + HttpMessage message = CreateSetClassificationsRequest(content, options); + if (options.PerCallPolicy != null) { - message.SetProperty("RequestOptionsPerCallPolicyCallback", requestOptions.PerCallPolicy); + message.SetProperty("RequestOptionsPerCallPolicyCallback", options.PerCallPolicy); } using var scope = _clientDiagnostics.CreateScope("PurviewEntities.SetClassifications"); scope.Start(); try { - await Pipeline.SendAsync(message, requestOptions.CancellationToken).ConfigureAwait(false); - if (requestOptions.StatusOption == ResponseStatusOption.Default) + await Pipeline.SendAsync(message, options.CancellationToken).ConfigureAwait(false); + if (options.StatusOption == ResponseStatusOption.Default) { switch (message.Response.Status) { @@ -5312,12 +5312,12 @@ public virtual async Task SetClassificationsAsync(RequestContent reque /// /// Schema for Request Body: /// - /// + /// /// Name /// Type /// Required /// Description - /// + /// /// /// guidHeaderMap /// Dictionary<string, AtlasEntityHeader> @@ -5327,12 +5327,12 @@ public virtual async Task SetClassificationsAsync(RequestContent reque /// /// Schema for AtlasEntityHeader: /// - /// + /// /// Name /// Type /// Required /// Description - /// + /// /// /// attributes /// Dictionary<string, AnyObject> @@ -5396,12 +5396,12 @@ public virtual async Task SetClassificationsAsync(RequestContent reque /// /// Schema for AtlasClassification: /// - /// + /// /// Name /// Type /// Required /// Description - /// + /// /// /// attributes /// Dictionary<string, AnyObject> @@ -5459,12 +5459,12 @@ public virtual async Task SetClassificationsAsync(RequestContent reque /// /// Schema for AtlasTermAssignmentHeader: /// - /// + /// /// Name /// Type /// Required /// Description - /// + /// /// /// confidence /// number @@ -5528,12 +5528,12 @@ public virtual async Task SetClassificationsAsync(RequestContent reque /// /// Schema for TimeBoundary: /// - /// + /// /// Name /// Type /// Required /// Description - /// + /// /// /// endTime /// string @@ -5554,24 +5554,24 @@ public virtual async Task SetClassificationsAsync(RequestContent reque /// /// /// - /// The request body. - /// The request options. + /// The content to send as the body of the request. + /// The request options. #pragma warning disable AZC0002 - public virtual Response SetClassifications(RequestContent requestBody, RequestOptions requestOptions = null) + public virtual Response SetClassifications(RequestContent content, RequestOptions options = null) #pragma warning restore AZC0002 { - requestOptions ??= new RequestOptions(); - HttpMessage message = CreateSetClassificationsRequest(requestBody, requestOptions); - if (requestOptions.PerCallPolicy != null) + options ??= new RequestOptions(); + HttpMessage message = CreateSetClassificationsRequest(content, options); + if (options.PerCallPolicy != null) { - message.SetProperty("RequestOptionsPerCallPolicyCallback", requestOptions.PerCallPolicy); + message.SetProperty("RequestOptionsPerCallPolicyCallback", options.PerCallPolicy); } using var scope = _clientDiagnostics.CreateScope("PurviewEntities.SetClassifications"); scope.Start(); try { - Pipeline.Send(message, requestOptions.CancellationToken); - if (requestOptions.StatusOption == ResponseStatusOption.Default) + Pipeline.Send(message, options.CancellationToken); + if (options.StatusOption == ResponseStatusOption.Default) { switch (message.Response.Status) { @@ -5594,9 +5594,9 @@ public virtual Response SetClassifications(RequestContent requestBody, RequestOp } /// Create Request for and operations. - /// The request body. - /// The request options. - private HttpMessage CreateSetClassificationsRequest(RequestContent requestBody, RequestOptions requestOptions = null) + /// The content to send as the body of the request. + /// The request options. + private HttpMessage CreateSetClassificationsRequest(RequestContent content, RequestOptions options = null) { var message = Pipeline.CreateMessage(); var request = message.Request; @@ -5608,7 +5608,7 @@ private HttpMessage CreateSetClassificationsRequest(RequestContent requestBody, request.Uri = uri; request.Headers.Add("Accept", "application/json"); request.Headers.Add("Content-Type", "application/json"); - request.Content = requestBody; + request.Content = content; return message; } @@ -5629,23 +5629,23 @@ private HttpMessage CreateSetClassificationsRequest(RequestContent requestBody, /// Whether to return minimal information for referred entities. /// Whether to ignore relationship attributes. /// Qualified name of an entity. E.g. to find 2 entities you can set attrs_0:qualifiedName=db1@cl1&attrs_2:qualifiedName=db2@cl1. - /// The request options. + /// The request options. #pragma warning disable AZC0002 - public virtual async Task GetEntitiesByUniqueAttributesAsync(string typeName, bool? minExtInfo = null, bool? ignoreRelationships = null, string attrNQualifiedName = null, RequestOptions requestOptions = null) + public virtual async Task GetEntitiesByUniqueAttributesAsync(string typeName, bool? minExtInfo = null, bool? ignoreRelationships = null, string attrNQualifiedName = null, RequestOptions options = null) #pragma warning restore AZC0002 { - requestOptions ??= new RequestOptions(); - HttpMessage message = CreateGetEntitiesByUniqueAttributesRequest(typeName, minExtInfo, ignoreRelationships, attrNQualifiedName, requestOptions); - if (requestOptions.PerCallPolicy != null) + options ??= new RequestOptions(); + HttpMessage message = CreateGetEntitiesByUniqueAttributesRequest(typeName, minExtInfo, ignoreRelationships, attrNQualifiedName, options); + if (options.PerCallPolicy != null) { - message.SetProperty("RequestOptionsPerCallPolicyCallback", requestOptions.PerCallPolicy); + message.SetProperty("RequestOptionsPerCallPolicyCallback", options.PerCallPolicy); } using var scope = _clientDiagnostics.CreateScope("PurviewEntities.GetEntitiesByUniqueAttributes"); scope.Start(); try { - await Pipeline.SendAsync(message, requestOptions.CancellationToken).ConfigureAwait(false); - if (requestOptions.StatusOption == ResponseStatusOption.Default) + await Pipeline.SendAsync(message, options.CancellationToken).ConfigureAwait(false); + if (options.StatusOption == ResponseStatusOption.Default) { switch (message.Response.Status) { @@ -5684,23 +5684,23 @@ public virtual async Task GetEntitiesByUniqueAttributesAsync(string ty /// Whether to return minimal information for referred entities. /// Whether to ignore relationship attributes. /// Qualified name of an entity. E.g. to find 2 entities you can set attrs_0:qualifiedName=db1@cl1&attrs_2:qualifiedName=db2@cl1. - /// The request options. + /// The request options. #pragma warning disable AZC0002 - public virtual Response GetEntitiesByUniqueAttributes(string typeName, bool? minExtInfo = null, bool? ignoreRelationships = null, string attrNQualifiedName = null, RequestOptions requestOptions = null) + public virtual Response GetEntitiesByUniqueAttributes(string typeName, bool? minExtInfo = null, bool? ignoreRelationships = null, string attrNQualifiedName = null, RequestOptions options = null) #pragma warning restore AZC0002 { - requestOptions ??= new RequestOptions(); - HttpMessage message = CreateGetEntitiesByUniqueAttributesRequest(typeName, minExtInfo, ignoreRelationships, attrNQualifiedName, requestOptions); - if (requestOptions.PerCallPolicy != null) + options ??= new RequestOptions(); + HttpMessage message = CreateGetEntitiesByUniqueAttributesRequest(typeName, minExtInfo, ignoreRelationships, attrNQualifiedName, options); + if (options.PerCallPolicy != null) { - message.SetProperty("RequestOptionsPerCallPolicyCallback", requestOptions.PerCallPolicy); + message.SetProperty("RequestOptionsPerCallPolicyCallback", options.PerCallPolicy); } using var scope = _clientDiagnostics.CreateScope("PurviewEntities.GetEntitiesByUniqueAttributes"); scope.Start(); try { - Pipeline.Send(message, requestOptions.CancellationToken); - if (requestOptions.StatusOption == ResponseStatusOption.Default) + Pipeline.Send(message, options.CancellationToken); + if (options.StatusOption == ResponseStatusOption.Default) { switch (message.Response.Status) { @@ -5727,8 +5727,8 @@ public virtual Response GetEntitiesByUniqueAttributes(string typeName, bool? min /// Whether to return minimal information for referred entities. /// Whether to ignore relationship attributes. /// Qualified name of an entity. E.g. to find 2 entities you can set attrs_0:qualifiedName=db1@cl1&attrs_2:qualifiedName=db2@cl1. - /// The request options. - private HttpMessage CreateGetEntitiesByUniqueAttributesRequest(string typeName, bool? minExtInfo = null, bool? ignoreRelationships = null, string attrNQualifiedName = null, RequestOptions requestOptions = null) + /// The request options. + private HttpMessage CreateGetEntitiesByUniqueAttributesRequest(string typeName, bool? minExtInfo = null, bool? ignoreRelationships = null, string attrNQualifiedName = null, RequestOptions options = null) { var message = Pipeline.CreateMessage(); var request = message.Request; @@ -5757,23 +5757,23 @@ private HttpMessage CreateGetEntitiesByUniqueAttributesRequest(string typeName, /// Get entity header given its GUID. /// The globally unique identifier of the entity. - /// The request options. + /// The request options. #pragma warning disable AZC0002 - public virtual async Task GetHeaderAsync(string guid, RequestOptions requestOptions = null) + public virtual async Task GetHeaderAsync(string guid, RequestOptions options = null) #pragma warning restore AZC0002 { - requestOptions ??= new RequestOptions(); - HttpMessage message = CreateGetHeaderRequest(guid, requestOptions); - if (requestOptions.PerCallPolicy != null) + options ??= new RequestOptions(); + HttpMessage message = CreateGetHeaderRequest(guid, options); + if (options.PerCallPolicy != null) { - message.SetProperty("RequestOptionsPerCallPolicyCallback", requestOptions.PerCallPolicy); + message.SetProperty("RequestOptionsPerCallPolicyCallback", options.PerCallPolicy); } using var scope = _clientDiagnostics.CreateScope("PurviewEntities.GetHeader"); scope.Start(); try { - await Pipeline.SendAsync(message, requestOptions.CancellationToken).ConfigureAwait(false); - if (requestOptions.StatusOption == ResponseStatusOption.Default) + await Pipeline.SendAsync(message, options.CancellationToken).ConfigureAwait(false); + if (options.StatusOption == ResponseStatusOption.Default) { switch (message.Response.Status) { @@ -5797,23 +5797,23 @@ public virtual async Task GetHeaderAsync(string guid, RequestOptions r /// Get entity header given its GUID. /// The globally unique identifier of the entity. - /// The request options. + /// The request options. #pragma warning disable AZC0002 - public virtual Response GetHeader(string guid, RequestOptions requestOptions = null) + public virtual Response GetHeader(string guid, RequestOptions options = null) #pragma warning restore AZC0002 { - requestOptions ??= new RequestOptions(); - HttpMessage message = CreateGetHeaderRequest(guid, requestOptions); - if (requestOptions.PerCallPolicy != null) + options ??= new RequestOptions(); + HttpMessage message = CreateGetHeaderRequest(guid, options); + if (options.PerCallPolicy != null) { - message.SetProperty("RequestOptionsPerCallPolicyCallback", requestOptions.PerCallPolicy); + message.SetProperty("RequestOptionsPerCallPolicyCallback", options.PerCallPolicy); } using var scope = _clientDiagnostics.CreateScope("PurviewEntities.GetHeader"); scope.Start(); try { - Pipeline.Send(message, requestOptions.CancellationToken); - if (requestOptions.StatusOption == ResponseStatusOption.Default) + Pipeline.Send(message, options.CancellationToken); + if (options.StatusOption == ResponseStatusOption.Default) { switch (message.Response.Status) { @@ -5837,8 +5837,8 @@ public virtual Response GetHeader(string guid, RequestOptions requestOptions = n /// Create Request for and operations. /// The globally unique identifier of the entity. - /// The request options. - private HttpMessage CreateGetHeaderRequest(string guid, RequestOptions requestOptions = null) + /// The request options. + private HttpMessage CreateGetHeaderRequest(string guid, RequestOptions options = null) { var message = Pipeline.CreateMessage(); var request = message.Request; diff --git a/sdk/purview/Azure.Analytics.Purview.Catalog/src/Generated/PurviewGlossaries.cs b/sdk/purview/Azure.Analytics.Purview.Catalog/src/Generated/PurviewGlossaries.cs index 4e593e7dbfb8..731f8ce6ea61 100644 --- a/sdk/purview/Azure.Analytics.Purview.Catalog/src/Generated/PurviewGlossaries.cs +++ b/sdk/purview/Azure.Analytics.Purview.Catalog/src/Generated/PurviewGlossaries.cs @@ -33,23 +33,23 @@ protected PurviewGlossaries() /// The page size - by default there is no paging. /// The offset for pagination purpose. /// The sort order, ASC (default) or DESC. - /// The request options. + /// The request options. #pragma warning disable AZC0002 - public virtual async Task GetGlossariesAsync(int? limit = null, int? offset = null, string sort = null, RequestOptions requestOptions = null) + public virtual async Task GetGlossariesAsync(int? limit = null, int? offset = null, string sort = null, RequestOptions options = null) #pragma warning restore AZC0002 { - requestOptions ??= new RequestOptions(); - HttpMessage message = CreateGetGlossariesRequest(limit, offset, sort, requestOptions); - if (requestOptions.PerCallPolicy != null) + options ??= new RequestOptions(); + HttpMessage message = CreateGetGlossariesRequest(limit, offset, sort, options); + if (options.PerCallPolicy != null) { - message.SetProperty("RequestOptionsPerCallPolicyCallback", requestOptions.PerCallPolicy); + message.SetProperty("RequestOptionsPerCallPolicyCallback", options.PerCallPolicy); } using var scope = _clientDiagnostics.CreateScope("PurviewGlossaries.GetGlossaries"); scope.Start(); try { - await Pipeline.SendAsync(message, requestOptions.CancellationToken).ConfigureAwait(false); - if (requestOptions.StatusOption == ResponseStatusOption.Default) + await Pipeline.SendAsync(message, options.CancellationToken).ConfigureAwait(false); + if (options.StatusOption == ResponseStatusOption.Default) { switch (message.Response.Status) { @@ -75,23 +75,23 @@ public virtual async Task GetGlossariesAsync(int? limit = null, int? o /// The page size - by default there is no paging. /// The offset for pagination purpose. /// The sort order, ASC (default) or DESC. - /// The request options. + /// The request options. #pragma warning disable AZC0002 - public virtual Response GetGlossaries(int? limit = null, int? offset = null, string sort = null, RequestOptions requestOptions = null) + public virtual Response GetGlossaries(int? limit = null, int? offset = null, string sort = null, RequestOptions options = null) #pragma warning restore AZC0002 { - requestOptions ??= new RequestOptions(); - HttpMessage message = CreateGetGlossariesRequest(limit, offset, sort, requestOptions); - if (requestOptions.PerCallPolicy != null) + options ??= new RequestOptions(); + HttpMessage message = CreateGetGlossariesRequest(limit, offset, sort, options); + if (options.PerCallPolicy != null) { - message.SetProperty("RequestOptionsPerCallPolicyCallback", requestOptions.PerCallPolicy); + message.SetProperty("RequestOptionsPerCallPolicyCallback", options.PerCallPolicy); } using var scope = _clientDiagnostics.CreateScope("PurviewGlossaries.GetGlossaries"); scope.Start(); try { - Pipeline.Send(message, requestOptions.CancellationToken); - if (requestOptions.StatusOption == ResponseStatusOption.Default) + Pipeline.Send(message, options.CancellationToken); + if (options.StatusOption == ResponseStatusOption.Default) { switch (message.Response.Status) { @@ -117,8 +117,8 @@ public virtual Response GetGlossaries(int? limit = null, int? offset = null, str /// The page size - by default there is no paging. /// The offset for pagination purpose. /// The sort order, ASC (default) or DESC. - /// The request options. - private HttpMessage CreateGetGlossariesRequest(int? limit = null, int? offset = null, string sort = null, RequestOptions requestOptions = null) + /// The request options. + private HttpMessage CreateGetGlossariesRequest(int? limit = null, int? offset = null, string sort = null, RequestOptions options = null) { var message = Pipeline.CreateMessage(); var request = message.Request; @@ -148,12 +148,12 @@ private HttpMessage CreateGetGlossariesRequest(int? limit = null, int? offset = /// /// Schema for Request Body: /// - /// + /// /// Name /// Type /// Required /// Description - /// + /// /// /// classifications /// AtlasClassification[] @@ -223,12 +223,12 @@ private HttpMessage CreateGetGlossariesRequest(int? limit = null, int? offset = /// /// Schema for AtlasClassification: /// - /// + /// /// Name /// Type /// Required /// Description - /// + /// /// /// attributes /// Dictionary<string, AnyObject> @@ -286,12 +286,12 @@ private HttpMessage CreateGetGlossariesRequest(int? limit = null, int? offset = /// /// Schema for AtlasRelatedCategoryHeader: /// - /// + /// /// Name /// Type /// Required /// Description - /// + /// /// /// categoryGuid /// string @@ -325,12 +325,12 @@ private HttpMessage CreateGetGlossariesRequest(int? limit = null, int? offset = /// /// Schema for AtlasRelatedTermHeader: /// - /// + /// /// Name /// Type /// Required /// Description - /// + /// /// /// description /// string @@ -382,12 +382,12 @@ private HttpMessage CreateGetGlossariesRequest(int? limit = null, int? offset = /// /// Schema for TimeBoundary: /// - /// + /// /// Name /// Type /// Required /// Description - /// + /// /// /// endTime /// string @@ -408,24 +408,24 @@ private HttpMessage CreateGetGlossariesRequest(int? limit = null, int? offset = /// /// /// - /// The request body. - /// The request options. + /// The content to send as the body of the request. + /// The request options. #pragma warning disable AZC0002 - public virtual async Task CreateGlossaryAsync(RequestContent requestBody, RequestOptions requestOptions = null) + public virtual async Task CreateGlossaryAsync(RequestContent content, RequestOptions options = null) #pragma warning restore AZC0002 { - requestOptions ??= new RequestOptions(); - HttpMessage message = CreateCreateGlossaryRequest(requestBody, requestOptions); - if (requestOptions.PerCallPolicy != null) + options ??= new RequestOptions(); + HttpMessage message = CreateCreateGlossaryRequest(content, options); + if (options.PerCallPolicy != null) { - message.SetProperty("RequestOptionsPerCallPolicyCallback", requestOptions.PerCallPolicy); + message.SetProperty("RequestOptionsPerCallPolicyCallback", options.PerCallPolicy); } using var scope = _clientDiagnostics.CreateScope("PurviewGlossaries.CreateGlossary"); scope.Start(); try { - await Pipeline.SendAsync(message, requestOptions.CancellationToken).ConfigureAwait(false); - if (requestOptions.StatusOption == ResponseStatusOption.Default) + await Pipeline.SendAsync(message, options.CancellationToken).ConfigureAwait(false); + if (options.StatusOption == ResponseStatusOption.Default) { switch (message.Response.Status) { @@ -451,12 +451,12 @@ public virtual async Task CreateGlossaryAsync(RequestContent requestBo /// /// Schema for Request Body: /// - /// + /// /// Name /// Type /// Required /// Description - /// + /// /// /// classifications /// AtlasClassification[] @@ -526,12 +526,12 @@ public virtual async Task CreateGlossaryAsync(RequestContent requestBo /// /// Schema for AtlasClassification: /// - /// + /// /// Name /// Type /// Required /// Description - /// + /// /// /// attributes /// Dictionary<string, AnyObject> @@ -589,12 +589,12 @@ public virtual async Task CreateGlossaryAsync(RequestContent requestBo /// /// Schema for AtlasRelatedCategoryHeader: /// - /// + /// /// Name /// Type /// Required /// Description - /// + /// /// /// categoryGuid /// string @@ -628,12 +628,12 @@ public virtual async Task CreateGlossaryAsync(RequestContent requestBo /// /// Schema for AtlasRelatedTermHeader: /// - /// + /// /// Name /// Type /// Required /// Description - /// + /// /// /// description /// string @@ -685,12 +685,12 @@ public virtual async Task CreateGlossaryAsync(RequestContent requestBo /// /// Schema for TimeBoundary: /// - /// + /// /// Name /// Type /// Required /// Description - /// + /// /// /// endTime /// string @@ -711,24 +711,24 @@ public virtual async Task CreateGlossaryAsync(RequestContent requestBo /// /// /// - /// The request body. - /// The request options. + /// The content to send as the body of the request. + /// The request options. #pragma warning disable AZC0002 - public virtual Response CreateGlossary(RequestContent requestBody, RequestOptions requestOptions = null) + public virtual Response CreateGlossary(RequestContent content, RequestOptions options = null) #pragma warning restore AZC0002 { - requestOptions ??= new RequestOptions(); - HttpMessage message = CreateCreateGlossaryRequest(requestBody, requestOptions); - if (requestOptions.PerCallPolicy != null) + options ??= new RequestOptions(); + HttpMessage message = CreateCreateGlossaryRequest(content, options); + if (options.PerCallPolicy != null) { - message.SetProperty("RequestOptionsPerCallPolicyCallback", requestOptions.PerCallPolicy); + message.SetProperty("RequestOptionsPerCallPolicyCallback", options.PerCallPolicy); } using var scope = _clientDiagnostics.CreateScope("PurviewGlossaries.CreateGlossary"); scope.Start(); try { - Pipeline.Send(message, requestOptions.CancellationToken); - if (requestOptions.StatusOption == ResponseStatusOption.Default) + Pipeline.Send(message, options.CancellationToken); + if (options.StatusOption == ResponseStatusOption.Default) { switch (message.Response.Status) { @@ -751,9 +751,9 @@ public virtual Response CreateGlossary(RequestContent requestBody, RequestOption } /// Create Request for and operations. - /// The request body. - /// The request options. - private HttpMessage CreateCreateGlossaryRequest(RequestContent requestBody, RequestOptions requestOptions = null) + /// The content to send as the body of the request. + /// The request options. + private HttpMessage CreateCreateGlossaryRequest(RequestContent content, RequestOptions options = null) { var message = Pipeline.CreateMessage(); var request = message.Request; @@ -765,7 +765,7 @@ private HttpMessage CreateCreateGlossaryRequest(RequestContent requestBody, Requ request.Uri = uri; request.Headers.Add("Accept", "application/json"); request.Headers.Add("Content-Type", "application/json"); - request.Content = requestBody; + request.Content = content; return message; } @@ -773,12 +773,12 @@ private HttpMessage CreateCreateGlossaryRequest(RequestContent requestBody, Requ /// /// Schema for AtlasGlossaryCategory: /// - /// + /// /// Name /// Type /// Required /// Description - /// + /// /// /// classifications /// AtlasClassification[] @@ -848,12 +848,12 @@ private HttpMessage CreateCreateGlossaryRequest(RequestContent requestBody, Requ /// /// Schema for AtlasGlossaryHeader: /// - /// + /// /// Name /// Type /// Required /// Description - /// + /// /// /// displayText /// string @@ -875,12 +875,12 @@ private HttpMessage CreateCreateGlossaryRequest(RequestContent requestBody, Requ /// /// Schema for AtlasRelatedCategoryHeader: /// - /// + /// /// Name /// Type /// Required /// Description - /// + /// /// /// categoryGuid /// string @@ -914,12 +914,12 @@ private HttpMessage CreateCreateGlossaryRequest(RequestContent requestBody, Requ /// /// Schema for AtlasClassification: /// - /// + /// /// Name /// Type /// Required /// Description - /// + /// /// /// attributes /// Dictionary<string, AnyObject> @@ -977,12 +977,12 @@ private HttpMessage CreateCreateGlossaryRequest(RequestContent requestBody, Requ /// /// Schema for AtlasRelatedTermHeader: /// - /// + /// /// Name /// Type /// Required /// Description - /// + /// /// /// description /// string @@ -1034,12 +1034,12 @@ private HttpMessage CreateCreateGlossaryRequest(RequestContent requestBody, Requ /// /// Schema for TimeBoundary: /// - /// + /// /// Name /// Type /// Required /// Description - /// + /// /// /// endTime /// string @@ -1060,24 +1060,24 @@ private HttpMessage CreateCreateGlossaryRequest(RequestContent requestBody, Requ /// /// /// - /// The request body. - /// The request options. + /// The content to send as the body of the request. + /// The request options. #pragma warning disable AZC0002 - public virtual async Task CreateGlossaryCategoriesAsync(RequestContent requestBody, RequestOptions requestOptions = null) + public virtual async Task CreateGlossaryCategoriesAsync(RequestContent content, RequestOptions options = null) #pragma warning restore AZC0002 { - requestOptions ??= new RequestOptions(); - HttpMessage message = CreateCreateGlossaryCategoriesRequest(requestBody, requestOptions); - if (requestOptions.PerCallPolicy != null) + options ??= new RequestOptions(); + HttpMessage message = CreateCreateGlossaryCategoriesRequest(content, options); + if (options.PerCallPolicy != null) { - message.SetProperty("RequestOptionsPerCallPolicyCallback", requestOptions.PerCallPolicy); + message.SetProperty("RequestOptionsPerCallPolicyCallback", options.PerCallPolicy); } using var scope = _clientDiagnostics.CreateScope("PurviewGlossaries.CreateGlossaryCategories"); scope.Start(); try { - await Pipeline.SendAsync(message, requestOptions.CancellationToken).ConfigureAwait(false); - if (requestOptions.StatusOption == ResponseStatusOption.Default) + await Pipeline.SendAsync(message, options.CancellationToken).ConfigureAwait(false); + if (options.StatusOption == ResponseStatusOption.Default) { switch (message.Response.Status) { @@ -1103,12 +1103,12 @@ public virtual async Task CreateGlossaryCategoriesAsync(RequestContent /// /// Schema for AtlasGlossaryCategory: /// - /// + /// /// Name /// Type /// Required /// Description - /// + /// /// /// classifications /// AtlasClassification[] @@ -1178,12 +1178,12 @@ public virtual async Task CreateGlossaryCategoriesAsync(RequestContent /// /// Schema for AtlasGlossaryHeader: /// - /// + /// /// Name /// Type /// Required /// Description - /// + /// /// /// displayText /// string @@ -1205,12 +1205,12 @@ public virtual async Task CreateGlossaryCategoriesAsync(RequestContent /// /// Schema for AtlasRelatedCategoryHeader: /// - /// + /// /// Name /// Type /// Required /// Description - /// + /// /// /// categoryGuid /// string @@ -1244,12 +1244,12 @@ public virtual async Task CreateGlossaryCategoriesAsync(RequestContent /// /// Schema for AtlasClassification: /// - /// + /// /// Name /// Type /// Required /// Description - /// + /// /// /// attributes /// Dictionary<string, AnyObject> @@ -1307,12 +1307,12 @@ public virtual async Task CreateGlossaryCategoriesAsync(RequestContent /// /// Schema for AtlasRelatedTermHeader: /// - /// + /// /// Name /// Type /// Required /// Description - /// + /// /// /// description /// string @@ -1364,12 +1364,12 @@ public virtual async Task CreateGlossaryCategoriesAsync(RequestContent /// /// Schema for TimeBoundary: /// - /// + /// /// Name /// Type /// Required /// Description - /// + /// /// /// endTime /// string @@ -1390,24 +1390,24 @@ public virtual async Task CreateGlossaryCategoriesAsync(RequestContent /// /// /// - /// The request body. - /// The request options. + /// The content to send as the body of the request. + /// The request options. #pragma warning disable AZC0002 - public virtual Response CreateGlossaryCategories(RequestContent requestBody, RequestOptions requestOptions = null) + public virtual Response CreateGlossaryCategories(RequestContent content, RequestOptions options = null) #pragma warning restore AZC0002 { - requestOptions ??= new RequestOptions(); - HttpMessage message = CreateCreateGlossaryCategoriesRequest(requestBody, requestOptions); - if (requestOptions.PerCallPolicy != null) + options ??= new RequestOptions(); + HttpMessage message = CreateCreateGlossaryCategoriesRequest(content, options); + if (options.PerCallPolicy != null) { - message.SetProperty("RequestOptionsPerCallPolicyCallback", requestOptions.PerCallPolicy); + message.SetProperty("RequestOptionsPerCallPolicyCallback", options.PerCallPolicy); } using var scope = _clientDiagnostics.CreateScope("PurviewGlossaries.CreateGlossaryCategories"); scope.Start(); try { - Pipeline.Send(message, requestOptions.CancellationToken); - if (requestOptions.StatusOption == ResponseStatusOption.Default) + Pipeline.Send(message, options.CancellationToken); + if (options.StatusOption == ResponseStatusOption.Default) { switch (message.Response.Status) { @@ -1430,9 +1430,9 @@ public virtual Response CreateGlossaryCategories(RequestContent requestBody, Req } /// Create Request for and operations. - /// The request body. - /// The request options. - private HttpMessage CreateCreateGlossaryCategoriesRequest(RequestContent requestBody, RequestOptions requestOptions = null) + /// The content to send as the body of the request. + /// The request options. + private HttpMessage CreateCreateGlossaryCategoriesRequest(RequestContent content, RequestOptions options = null) { var message = Pipeline.CreateMessage(); var request = message.Request; @@ -1444,7 +1444,7 @@ private HttpMessage CreateCreateGlossaryCategoriesRequest(RequestContent request request.Uri = uri; request.Headers.Add("Accept", "application/json"); request.Headers.Add("Content-Type", "application/json"); - request.Content = requestBody; + request.Content = content; return message; } @@ -1452,12 +1452,12 @@ private HttpMessage CreateCreateGlossaryCategoriesRequest(RequestContent request /// /// Schema for Request Body: /// - /// + /// /// Name /// Type /// Required /// Description - /// + /// /// /// classifications /// AtlasClassification[] @@ -1527,12 +1527,12 @@ private HttpMessage CreateCreateGlossaryCategoriesRequest(RequestContent request /// /// Schema for AtlasGlossaryHeader: /// - /// + /// /// Name /// Type /// Required /// Description - /// + /// /// /// displayText /// string @@ -1554,12 +1554,12 @@ private HttpMessage CreateCreateGlossaryCategoriesRequest(RequestContent request /// /// Schema for AtlasRelatedCategoryHeader: /// - /// + /// /// Name /// Type /// Required /// Description - /// + /// /// /// categoryGuid /// string @@ -1593,12 +1593,12 @@ private HttpMessage CreateCreateGlossaryCategoriesRequest(RequestContent request /// /// Schema for AtlasClassification: /// - /// + /// /// Name /// Type /// Required /// Description - /// + /// /// /// attributes /// Dictionary<string, AnyObject> @@ -1656,12 +1656,12 @@ private HttpMessage CreateCreateGlossaryCategoriesRequest(RequestContent request /// /// Schema for AtlasRelatedTermHeader: /// - /// + /// /// Name /// Type /// Required /// Description - /// + /// /// /// description /// string @@ -1713,12 +1713,12 @@ private HttpMessage CreateCreateGlossaryCategoriesRequest(RequestContent request /// /// Schema for TimeBoundary: /// - /// + /// /// Name /// Type /// Required /// Description - /// + /// /// /// endTime /// string @@ -1739,24 +1739,24 @@ private HttpMessage CreateCreateGlossaryCategoriesRequest(RequestContent request /// /// /// - /// The request body. - /// The request options. + /// The content to send as the body of the request. + /// The request options. #pragma warning disable AZC0002 - public virtual async Task CreateGlossaryCategoryAsync(RequestContent requestBody, RequestOptions requestOptions = null) + public virtual async Task CreateGlossaryCategoryAsync(RequestContent content, RequestOptions options = null) #pragma warning restore AZC0002 { - requestOptions ??= new RequestOptions(); - HttpMessage message = CreateCreateGlossaryCategoryRequest(requestBody, requestOptions); - if (requestOptions.PerCallPolicy != null) + options ??= new RequestOptions(); + HttpMessage message = CreateCreateGlossaryCategoryRequest(content, options); + if (options.PerCallPolicy != null) { - message.SetProperty("RequestOptionsPerCallPolicyCallback", requestOptions.PerCallPolicy); + message.SetProperty("RequestOptionsPerCallPolicyCallback", options.PerCallPolicy); } using var scope = _clientDiagnostics.CreateScope("PurviewGlossaries.CreateGlossaryCategory"); scope.Start(); try { - await Pipeline.SendAsync(message, requestOptions.CancellationToken).ConfigureAwait(false); - if (requestOptions.StatusOption == ResponseStatusOption.Default) + await Pipeline.SendAsync(message, options.CancellationToken).ConfigureAwait(false); + if (options.StatusOption == ResponseStatusOption.Default) { switch (message.Response.Status) { @@ -1782,12 +1782,12 @@ public virtual async Task CreateGlossaryCategoryAsync(RequestContent r /// /// Schema for Request Body: /// - /// + /// /// Name /// Type /// Required /// Description - /// + /// /// /// classifications /// AtlasClassification[] @@ -1857,12 +1857,12 @@ public virtual async Task CreateGlossaryCategoryAsync(RequestContent r /// /// Schema for AtlasGlossaryHeader: /// - /// + /// /// Name /// Type /// Required /// Description - /// + /// /// /// displayText /// string @@ -1884,12 +1884,12 @@ public virtual async Task CreateGlossaryCategoryAsync(RequestContent r /// /// Schema for AtlasRelatedCategoryHeader: /// - /// + /// /// Name /// Type /// Required /// Description - /// + /// /// /// categoryGuid /// string @@ -1923,12 +1923,12 @@ public virtual async Task CreateGlossaryCategoryAsync(RequestContent r /// /// Schema for AtlasClassification: /// - /// + /// /// Name /// Type /// Required /// Description - /// + /// /// /// attributes /// Dictionary<string, AnyObject> @@ -1986,12 +1986,12 @@ public virtual async Task CreateGlossaryCategoryAsync(RequestContent r /// /// Schema for AtlasRelatedTermHeader: /// - /// + /// /// Name /// Type /// Required /// Description - /// + /// /// /// description /// string @@ -2043,12 +2043,12 @@ public virtual async Task CreateGlossaryCategoryAsync(RequestContent r /// /// Schema for TimeBoundary: /// - /// + /// /// Name /// Type /// Required /// Description - /// + /// /// /// endTime /// string @@ -2069,24 +2069,24 @@ public virtual async Task CreateGlossaryCategoryAsync(RequestContent r /// /// /// - /// The request body. - /// The request options. + /// The content to send as the body of the request. + /// The request options. #pragma warning disable AZC0002 - public virtual Response CreateGlossaryCategory(RequestContent requestBody, RequestOptions requestOptions = null) + public virtual Response CreateGlossaryCategory(RequestContent content, RequestOptions options = null) #pragma warning restore AZC0002 { - requestOptions ??= new RequestOptions(); - HttpMessage message = CreateCreateGlossaryCategoryRequest(requestBody, requestOptions); - if (requestOptions.PerCallPolicy != null) + options ??= new RequestOptions(); + HttpMessage message = CreateCreateGlossaryCategoryRequest(content, options); + if (options.PerCallPolicy != null) { - message.SetProperty("RequestOptionsPerCallPolicyCallback", requestOptions.PerCallPolicy); + message.SetProperty("RequestOptionsPerCallPolicyCallback", options.PerCallPolicy); } using var scope = _clientDiagnostics.CreateScope("PurviewGlossaries.CreateGlossaryCategory"); scope.Start(); try { - Pipeline.Send(message, requestOptions.CancellationToken); - if (requestOptions.StatusOption == ResponseStatusOption.Default) + Pipeline.Send(message, options.CancellationToken); + if (options.StatusOption == ResponseStatusOption.Default) { switch (message.Response.Status) { @@ -2109,9 +2109,9 @@ public virtual Response CreateGlossaryCategory(RequestContent requestBody, Reque } /// Create Request for and operations. - /// The request body. - /// The request options. - private HttpMessage CreateCreateGlossaryCategoryRequest(RequestContent requestBody, RequestOptions requestOptions = null) + /// The content to send as the body of the request. + /// The request options. + private HttpMessage CreateCreateGlossaryCategoryRequest(RequestContent content, RequestOptions options = null) { var message = Pipeline.CreateMessage(); var request = message.Request; @@ -2123,29 +2123,29 @@ private HttpMessage CreateCreateGlossaryCategoryRequest(RequestContent requestBo request.Uri = uri; request.Headers.Add("Accept", "application/json"); request.Headers.Add("Content-Type", "application/json"); - request.Content = requestBody; + request.Content = content; return message; } /// Get specific glossary category by its GUID. /// The globally unique identifier of the category. - /// The request options. + /// The request options. #pragma warning disable AZC0002 - public virtual async Task GetGlossaryCategoryAsync(string categoryGuid, RequestOptions requestOptions = null) + public virtual async Task GetGlossaryCategoryAsync(string categoryGuid, RequestOptions options = null) #pragma warning restore AZC0002 { - requestOptions ??= new RequestOptions(); - HttpMessage message = CreateGetGlossaryCategoryRequest(categoryGuid, requestOptions); - if (requestOptions.PerCallPolicy != null) + options ??= new RequestOptions(); + HttpMessage message = CreateGetGlossaryCategoryRequest(categoryGuid, options); + if (options.PerCallPolicy != null) { - message.SetProperty("RequestOptionsPerCallPolicyCallback", requestOptions.PerCallPolicy); + message.SetProperty("RequestOptionsPerCallPolicyCallback", options.PerCallPolicy); } using var scope = _clientDiagnostics.CreateScope("PurviewGlossaries.GetGlossaryCategory"); scope.Start(); try { - await Pipeline.SendAsync(message, requestOptions.CancellationToken).ConfigureAwait(false); - if (requestOptions.StatusOption == ResponseStatusOption.Default) + await Pipeline.SendAsync(message, options.CancellationToken).ConfigureAwait(false); + if (options.StatusOption == ResponseStatusOption.Default) { switch (message.Response.Status) { @@ -2169,23 +2169,23 @@ public virtual async Task GetGlossaryCategoryAsync(string categoryGuid /// Get specific glossary category by its GUID. /// The globally unique identifier of the category. - /// The request options. + /// The request options. #pragma warning disable AZC0002 - public virtual Response GetGlossaryCategory(string categoryGuid, RequestOptions requestOptions = null) + public virtual Response GetGlossaryCategory(string categoryGuid, RequestOptions options = null) #pragma warning restore AZC0002 { - requestOptions ??= new RequestOptions(); - HttpMessage message = CreateGetGlossaryCategoryRequest(categoryGuid, requestOptions); - if (requestOptions.PerCallPolicy != null) + options ??= new RequestOptions(); + HttpMessage message = CreateGetGlossaryCategoryRequest(categoryGuid, options); + if (options.PerCallPolicy != null) { - message.SetProperty("RequestOptionsPerCallPolicyCallback", requestOptions.PerCallPolicy); + message.SetProperty("RequestOptionsPerCallPolicyCallback", options.PerCallPolicy); } using var scope = _clientDiagnostics.CreateScope("PurviewGlossaries.GetGlossaryCategory"); scope.Start(); try { - Pipeline.Send(message, requestOptions.CancellationToken); - if (requestOptions.StatusOption == ResponseStatusOption.Default) + Pipeline.Send(message, options.CancellationToken); + if (options.StatusOption == ResponseStatusOption.Default) { switch (message.Response.Status) { @@ -2209,8 +2209,8 @@ public virtual Response GetGlossaryCategory(string categoryGuid, RequestOptions /// Create Request for and operations. /// The globally unique identifier of the category. - /// The request options. - private HttpMessage CreateGetGlossaryCategoryRequest(string categoryGuid, RequestOptions requestOptions = null) + /// The request options. + private HttpMessage CreateGetGlossaryCategoryRequest(string categoryGuid, RequestOptions options = null) { var message = Pipeline.CreateMessage(); var request = message.Request; @@ -2229,12 +2229,12 @@ private HttpMessage CreateGetGlossaryCategoryRequest(string categoryGuid, Reques /// /// Schema for Request Body: /// - /// + /// /// Name /// Type /// Required /// Description - /// + /// /// /// classifications /// AtlasClassification[] @@ -2304,12 +2304,12 @@ private HttpMessage CreateGetGlossaryCategoryRequest(string categoryGuid, Reques /// /// Schema for AtlasGlossaryHeader: /// - /// + /// /// Name /// Type /// Required /// Description - /// + /// /// /// displayText /// string @@ -2331,12 +2331,12 @@ private HttpMessage CreateGetGlossaryCategoryRequest(string categoryGuid, Reques /// /// Schema for AtlasRelatedCategoryHeader: /// - /// + /// /// Name /// Type /// Required /// Description - /// + /// /// /// categoryGuid /// string @@ -2370,12 +2370,12 @@ private HttpMessage CreateGetGlossaryCategoryRequest(string categoryGuid, Reques /// /// Schema for AtlasClassification: /// - /// + /// /// Name /// Type /// Required /// Description - /// + /// /// /// attributes /// Dictionary<string, AnyObject> @@ -2433,12 +2433,12 @@ private HttpMessage CreateGetGlossaryCategoryRequest(string categoryGuid, Reques /// /// Schema for AtlasRelatedTermHeader: /// - /// + /// /// Name /// Type /// Required /// Description - /// + /// /// /// description /// string @@ -2490,12 +2490,12 @@ private HttpMessage CreateGetGlossaryCategoryRequest(string categoryGuid, Reques /// /// Schema for TimeBoundary: /// - /// + /// /// Name /// Type /// Required /// Description - /// + /// /// /// endTime /// string @@ -2517,24 +2517,24 @@ private HttpMessage CreateGetGlossaryCategoryRequest(string categoryGuid, Reques /// /// /// The globally unique identifier of the category. - /// The request body. - /// The request options. + /// The content to send as the body of the request. + /// The request options. #pragma warning disable AZC0002 - public virtual async Task UpdateGlossaryCategoryAsync(string categoryGuid, RequestContent requestBody, RequestOptions requestOptions = null) + public virtual async Task UpdateGlossaryCategoryAsync(string categoryGuid, RequestContent content, RequestOptions options = null) #pragma warning restore AZC0002 { - requestOptions ??= new RequestOptions(); - HttpMessage message = CreateUpdateGlossaryCategoryRequest(categoryGuid, requestBody, requestOptions); - if (requestOptions.PerCallPolicy != null) + options ??= new RequestOptions(); + HttpMessage message = CreateUpdateGlossaryCategoryRequest(categoryGuid, content, options); + if (options.PerCallPolicy != null) { - message.SetProperty("RequestOptionsPerCallPolicyCallback", requestOptions.PerCallPolicy); + message.SetProperty("RequestOptionsPerCallPolicyCallback", options.PerCallPolicy); } using var scope = _clientDiagnostics.CreateScope("PurviewGlossaries.UpdateGlossaryCategory"); scope.Start(); try { - await Pipeline.SendAsync(message, requestOptions.CancellationToken).ConfigureAwait(false); - if (requestOptions.StatusOption == ResponseStatusOption.Default) + await Pipeline.SendAsync(message, options.CancellationToken).ConfigureAwait(false); + if (options.StatusOption == ResponseStatusOption.Default) { switch (message.Response.Status) { @@ -2560,12 +2560,12 @@ public virtual async Task UpdateGlossaryCategoryAsync(string categoryG /// /// Schema for Request Body: /// - /// + /// /// Name /// Type /// Required /// Description - /// + /// /// /// classifications /// AtlasClassification[] @@ -2635,12 +2635,12 @@ public virtual async Task UpdateGlossaryCategoryAsync(string categoryG /// /// Schema for AtlasGlossaryHeader: /// - /// + /// /// Name /// Type /// Required /// Description - /// + /// /// /// displayText /// string @@ -2662,12 +2662,12 @@ public virtual async Task UpdateGlossaryCategoryAsync(string categoryG /// /// Schema for AtlasRelatedCategoryHeader: /// - /// + /// /// Name /// Type /// Required /// Description - /// + /// /// /// categoryGuid /// string @@ -2701,12 +2701,12 @@ public virtual async Task UpdateGlossaryCategoryAsync(string categoryG /// /// Schema for AtlasClassification: /// - /// + /// /// Name /// Type /// Required /// Description - /// + /// /// /// attributes /// Dictionary<string, AnyObject> @@ -2764,12 +2764,12 @@ public virtual async Task UpdateGlossaryCategoryAsync(string categoryG /// /// Schema for AtlasRelatedTermHeader: /// - /// + /// /// Name /// Type /// Required /// Description - /// + /// /// /// description /// string @@ -2821,12 +2821,12 @@ public virtual async Task UpdateGlossaryCategoryAsync(string categoryG /// /// Schema for TimeBoundary: /// - /// + /// /// Name /// Type /// Required /// Description - /// + /// /// /// endTime /// string @@ -2848,24 +2848,24 @@ public virtual async Task UpdateGlossaryCategoryAsync(string categoryG /// /// /// The globally unique identifier of the category. - /// The request body. - /// The request options. + /// The content to send as the body of the request. + /// The request options. #pragma warning disable AZC0002 - public virtual Response UpdateGlossaryCategory(string categoryGuid, RequestContent requestBody, RequestOptions requestOptions = null) + public virtual Response UpdateGlossaryCategory(string categoryGuid, RequestContent content, RequestOptions options = null) #pragma warning restore AZC0002 { - requestOptions ??= new RequestOptions(); - HttpMessage message = CreateUpdateGlossaryCategoryRequest(categoryGuid, requestBody, requestOptions); - if (requestOptions.PerCallPolicy != null) + options ??= new RequestOptions(); + HttpMessage message = CreateUpdateGlossaryCategoryRequest(categoryGuid, content, options); + if (options.PerCallPolicy != null) { - message.SetProperty("RequestOptionsPerCallPolicyCallback", requestOptions.PerCallPolicy); + message.SetProperty("RequestOptionsPerCallPolicyCallback", options.PerCallPolicy); } using var scope = _clientDiagnostics.CreateScope("PurviewGlossaries.UpdateGlossaryCategory"); scope.Start(); try { - Pipeline.Send(message, requestOptions.CancellationToken); - if (requestOptions.StatusOption == ResponseStatusOption.Default) + Pipeline.Send(message, options.CancellationToken); + if (options.StatusOption == ResponseStatusOption.Default) { switch (message.Response.Status) { @@ -2889,9 +2889,9 @@ public virtual Response UpdateGlossaryCategory(string categoryGuid, RequestConte /// Create Request for and operations. /// The globally unique identifier of the category. - /// The request body. - /// The request options. - private HttpMessage CreateUpdateGlossaryCategoryRequest(string categoryGuid, RequestContent requestBody, RequestOptions requestOptions = null) + /// The content to send as the body of the request. + /// The request options. + private HttpMessage CreateUpdateGlossaryCategoryRequest(string categoryGuid, RequestContent content, RequestOptions options = null) { var message = Pipeline.CreateMessage(); var request = message.Request; @@ -2904,29 +2904,29 @@ private HttpMessage CreateUpdateGlossaryCategoryRequest(string categoryGuid, Req request.Uri = uri; request.Headers.Add("Accept", "application/json"); request.Headers.Add("Content-Type", "application/json"); - request.Content = requestBody; + request.Content = content; return message; } /// Delete a glossary category. /// The globally unique identifier of the category. - /// The request options. + /// The request options. #pragma warning disable AZC0002 - public virtual async Task DeleteGlossaryCategoryAsync(string categoryGuid, RequestOptions requestOptions = null) + public virtual async Task DeleteGlossaryCategoryAsync(string categoryGuid, RequestOptions options = null) #pragma warning restore AZC0002 { - requestOptions ??= new RequestOptions(); - HttpMessage message = CreateDeleteGlossaryCategoryRequest(categoryGuid, requestOptions); - if (requestOptions.PerCallPolicy != null) + options ??= new RequestOptions(); + HttpMessage message = CreateDeleteGlossaryCategoryRequest(categoryGuid, options); + if (options.PerCallPolicy != null) { - message.SetProperty("RequestOptionsPerCallPolicyCallback", requestOptions.PerCallPolicy); + message.SetProperty("RequestOptionsPerCallPolicyCallback", options.PerCallPolicy); } using var scope = _clientDiagnostics.CreateScope("PurviewGlossaries.DeleteGlossaryCategory"); scope.Start(); try { - await Pipeline.SendAsync(message, requestOptions.CancellationToken).ConfigureAwait(false); - if (requestOptions.StatusOption == ResponseStatusOption.Default) + await Pipeline.SendAsync(message, options.CancellationToken).ConfigureAwait(false); + if (options.StatusOption == ResponseStatusOption.Default) { switch (message.Response.Status) { @@ -2950,23 +2950,23 @@ public virtual async Task DeleteGlossaryCategoryAsync(string categoryG /// Delete a glossary category. /// The globally unique identifier of the category. - /// The request options. + /// The request options. #pragma warning disable AZC0002 - public virtual Response DeleteGlossaryCategory(string categoryGuid, RequestOptions requestOptions = null) + public virtual Response DeleteGlossaryCategory(string categoryGuid, RequestOptions options = null) #pragma warning restore AZC0002 { - requestOptions ??= new RequestOptions(); - HttpMessage message = CreateDeleteGlossaryCategoryRequest(categoryGuid, requestOptions); - if (requestOptions.PerCallPolicy != null) + options ??= new RequestOptions(); + HttpMessage message = CreateDeleteGlossaryCategoryRequest(categoryGuid, options); + if (options.PerCallPolicy != null) { - message.SetProperty("RequestOptionsPerCallPolicyCallback", requestOptions.PerCallPolicy); + message.SetProperty("RequestOptionsPerCallPolicyCallback", options.PerCallPolicy); } using var scope = _clientDiagnostics.CreateScope("PurviewGlossaries.DeleteGlossaryCategory"); scope.Start(); try { - Pipeline.Send(message, requestOptions.CancellationToken); - if (requestOptions.StatusOption == ResponseStatusOption.Default) + Pipeline.Send(message, options.CancellationToken); + if (options.StatusOption == ResponseStatusOption.Default) { switch (message.Response.Status) { @@ -2990,8 +2990,8 @@ public virtual Response DeleteGlossaryCategory(string categoryGuid, RequestOptio /// Create Request for and operations. /// The globally unique identifier of the category. - /// The request options. - private HttpMessage CreateDeleteGlossaryCategoryRequest(string categoryGuid, RequestOptions requestOptions = null) + /// The request options. + private HttpMessage CreateDeleteGlossaryCategoryRequest(string categoryGuid, RequestOptions options = null) { var message = Pipeline.CreateMessage(); var request = message.Request; @@ -3007,24 +3007,24 @@ private HttpMessage CreateDeleteGlossaryCategoryRequest(string categoryGuid, Req /// Update the glossary category partially. /// The globally unique identifier of the category. - /// The request body. - /// The request options. + /// The content to send as the body of the request. + /// The request options. #pragma warning disable AZC0002 - public virtual async Task PartialUpdateGlossaryCategoryAsync(string categoryGuid, RequestContent requestBody, RequestOptions requestOptions = null) + public virtual async Task PartialUpdateGlossaryCategoryAsync(string categoryGuid, RequestContent content, RequestOptions options = null) #pragma warning restore AZC0002 { - requestOptions ??= new RequestOptions(); - HttpMessage message = CreatePartialUpdateGlossaryCategoryRequest(categoryGuid, requestBody, requestOptions); - if (requestOptions.PerCallPolicy != null) + options ??= new RequestOptions(); + HttpMessage message = CreatePartialUpdateGlossaryCategoryRequest(categoryGuid, content, options); + if (options.PerCallPolicy != null) { - message.SetProperty("RequestOptionsPerCallPolicyCallback", requestOptions.PerCallPolicy); + message.SetProperty("RequestOptionsPerCallPolicyCallback", options.PerCallPolicy); } using var scope = _clientDiagnostics.CreateScope("PurviewGlossaries.PartialUpdateGlossaryCategory"); scope.Start(); try { - await Pipeline.SendAsync(message, requestOptions.CancellationToken).ConfigureAwait(false); - if (requestOptions.StatusOption == ResponseStatusOption.Default) + await Pipeline.SendAsync(message, options.CancellationToken).ConfigureAwait(false); + if (options.StatusOption == ResponseStatusOption.Default) { switch (message.Response.Status) { @@ -3048,24 +3048,24 @@ public virtual async Task PartialUpdateGlossaryCategoryAsync(string ca /// Update the glossary category partially. /// The globally unique identifier of the category. - /// The request body. - /// The request options. + /// The content to send as the body of the request. + /// The request options. #pragma warning disable AZC0002 - public virtual Response PartialUpdateGlossaryCategory(string categoryGuid, RequestContent requestBody, RequestOptions requestOptions = null) + public virtual Response PartialUpdateGlossaryCategory(string categoryGuid, RequestContent content, RequestOptions options = null) #pragma warning restore AZC0002 { - requestOptions ??= new RequestOptions(); - HttpMessage message = CreatePartialUpdateGlossaryCategoryRequest(categoryGuid, requestBody, requestOptions); - if (requestOptions.PerCallPolicy != null) + options ??= new RequestOptions(); + HttpMessage message = CreatePartialUpdateGlossaryCategoryRequest(categoryGuid, content, options); + if (options.PerCallPolicy != null) { - message.SetProperty("RequestOptionsPerCallPolicyCallback", requestOptions.PerCallPolicy); + message.SetProperty("RequestOptionsPerCallPolicyCallback", options.PerCallPolicy); } using var scope = _clientDiagnostics.CreateScope("PurviewGlossaries.PartialUpdateGlossaryCategory"); scope.Start(); try { - Pipeline.Send(message, requestOptions.CancellationToken); - if (requestOptions.StatusOption == ResponseStatusOption.Default) + Pipeline.Send(message, options.CancellationToken); + if (options.StatusOption == ResponseStatusOption.Default) { switch (message.Response.Status) { @@ -3089,9 +3089,9 @@ public virtual Response PartialUpdateGlossaryCategory(string categoryGuid, Reque /// Create Request for and operations. /// The globally unique identifier of the category. - /// The request body. - /// The request options. - private HttpMessage CreatePartialUpdateGlossaryCategoryRequest(string categoryGuid, RequestContent requestBody, RequestOptions requestOptions = null) + /// The content to send as the body of the request. + /// The request options. + private HttpMessage CreatePartialUpdateGlossaryCategoryRequest(string categoryGuid, RequestContent content, RequestOptions options = null) { var message = Pipeline.CreateMessage(); var request = message.Request; @@ -3105,7 +3105,7 @@ private HttpMessage CreatePartialUpdateGlossaryCategoryRequest(string categoryGu request.Uri = uri; request.Headers.Add("Accept", "application/json"); request.Headers.Add("Content-Type", "application/json"); - request.Content = requestBody; + request.Content = content; return message; } @@ -3114,23 +3114,23 @@ private HttpMessage CreatePartialUpdateGlossaryCategoryRequest(string categoryGu /// The page size - by default there is no paging. /// The offset for pagination purpose. /// The sort order, ASC (default) or DESC. - /// The request options. + /// The request options. #pragma warning disable AZC0002 - public virtual async Task GetRelatedCategoriesAsync(string categoryGuid, int? limit = null, int? offset = null, string sort = null, RequestOptions requestOptions = null) + public virtual async Task GetRelatedCategoriesAsync(string categoryGuid, int? limit = null, int? offset = null, string sort = null, RequestOptions options = null) #pragma warning restore AZC0002 { - requestOptions ??= new RequestOptions(); - HttpMessage message = CreateGetRelatedCategoriesRequest(categoryGuid, limit, offset, sort, requestOptions); - if (requestOptions.PerCallPolicy != null) + options ??= new RequestOptions(); + HttpMessage message = CreateGetRelatedCategoriesRequest(categoryGuid, limit, offset, sort, options); + if (options.PerCallPolicy != null) { - message.SetProperty("RequestOptionsPerCallPolicyCallback", requestOptions.PerCallPolicy); + message.SetProperty("RequestOptionsPerCallPolicyCallback", options.PerCallPolicy); } using var scope = _clientDiagnostics.CreateScope("PurviewGlossaries.GetRelatedCategories"); scope.Start(); try { - await Pipeline.SendAsync(message, requestOptions.CancellationToken).ConfigureAwait(false); - if (requestOptions.StatusOption == ResponseStatusOption.Default) + await Pipeline.SendAsync(message, options.CancellationToken).ConfigureAwait(false); + if (options.StatusOption == ResponseStatusOption.Default) { switch (message.Response.Status) { @@ -3157,23 +3157,23 @@ public virtual async Task GetRelatedCategoriesAsync(string categoryGui /// The page size - by default there is no paging. /// The offset for pagination purpose. /// The sort order, ASC (default) or DESC. - /// The request options. + /// The request options. #pragma warning disable AZC0002 - public virtual Response GetRelatedCategories(string categoryGuid, int? limit = null, int? offset = null, string sort = null, RequestOptions requestOptions = null) + public virtual Response GetRelatedCategories(string categoryGuid, int? limit = null, int? offset = null, string sort = null, RequestOptions options = null) #pragma warning restore AZC0002 { - requestOptions ??= new RequestOptions(); - HttpMessage message = CreateGetRelatedCategoriesRequest(categoryGuid, limit, offset, sort, requestOptions); - if (requestOptions.PerCallPolicy != null) + options ??= new RequestOptions(); + HttpMessage message = CreateGetRelatedCategoriesRequest(categoryGuid, limit, offset, sort, options); + if (options.PerCallPolicy != null) { - message.SetProperty("RequestOptionsPerCallPolicyCallback", requestOptions.PerCallPolicy); + message.SetProperty("RequestOptionsPerCallPolicyCallback", options.PerCallPolicy); } using var scope = _clientDiagnostics.CreateScope("PurviewGlossaries.GetRelatedCategories"); scope.Start(); try { - Pipeline.Send(message, requestOptions.CancellationToken); - if (requestOptions.StatusOption == ResponseStatusOption.Default) + Pipeline.Send(message, options.CancellationToken); + if (options.StatusOption == ResponseStatusOption.Default) { switch (message.Response.Status) { @@ -3200,8 +3200,8 @@ public virtual Response GetRelatedCategories(string categoryGuid, int? limit = n /// The page size - by default there is no paging. /// The offset for pagination purpose. /// The sort order, ASC (default) or DESC. - /// The request options. - private HttpMessage CreateGetRelatedCategoriesRequest(string categoryGuid, int? limit = null, int? offset = null, string sort = null, RequestOptions requestOptions = null) + /// The request options. + private HttpMessage CreateGetRelatedCategoriesRequest(string categoryGuid, int? limit = null, int? offset = null, string sort = null, RequestOptions options = null) { var message = Pipeline.CreateMessage(); var request = message.Request; @@ -3234,23 +3234,23 @@ private HttpMessage CreateGetRelatedCategoriesRequest(string categoryGuid, int? /// The page size - by default there is no paging. /// The offset for pagination purpose. /// The sort order, ASC (default) or DESC. - /// The request options. + /// The request options. #pragma warning disable AZC0002 - public virtual async Task GetCategoryTermsAsync(string categoryGuid, int? limit = null, int? offset = null, string sort = null, RequestOptions requestOptions = null) + public virtual async Task GetCategoryTermsAsync(string categoryGuid, int? limit = null, int? offset = null, string sort = null, RequestOptions options = null) #pragma warning restore AZC0002 { - requestOptions ??= new RequestOptions(); - HttpMessage message = CreateGetCategoryTermsRequest(categoryGuid, limit, offset, sort, requestOptions); - if (requestOptions.PerCallPolicy != null) + options ??= new RequestOptions(); + HttpMessage message = CreateGetCategoryTermsRequest(categoryGuid, limit, offset, sort, options); + if (options.PerCallPolicy != null) { - message.SetProperty("RequestOptionsPerCallPolicyCallback", requestOptions.PerCallPolicy); + message.SetProperty("RequestOptionsPerCallPolicyCallback", options.PerCallPolicy); } using var scope = _clientDiagnostics.CreateScope("PurviewGlossaries.GetCategoryTerms"); scope.Start(); try { - await Pipeline.SendAsync(message, requestOptions.CancellationToken).ConfigureAwait(false); - if (requestOptions.StatusOption == ResponseStatusOption.Default) + await Pipeline.SendAsync(message, options.CancellationToken).ConfigureAwait(false); + if (options.StatusOption == ResponseStatusOption.Default) { switch (message.Response.Status) { @@ -3277,23 +3277,23 @@ public virtual async Task GetCategoryTermsAsync(string categoryGuid, i /// The page size - by default there is no paging. /// The offset for pagination purpose. /// The sort order, ASC (default) or DESC. - /// The request options. + /// The request options. #pragma warning disable AZC0002 - public virtual Response GetCategoryTerms(string categoryGuid, int? limit = null, int? offset = null, string sort = null, RequestOptions requestOptions = null) + public virtual Response GetCategoryTerms(string categoryGuid, int? limit = null, int? offset = null, string sort = null, RequestOptions options = null) #pragma warning restore AZC0002 { - requestOptions ??= new RequestOptions(); - HttpMessage message = CreateGetCategoryTermsRequest(categoryGuid, limit, offset, sort, requestOptions); - if (requestOptions.PerCallPolicy != null) + options ??= new RequestOptions(); + HttpMessage message = CreateGetCategoryTermsRequest(categoryGuid, limit, offset, sort, options); + if (options.PerCallPolicy != null) { - message.SetProperty("RequestOptionsPerCallPolicyCallback", requestOptions.PerCallPolicy); + message.SetProperty("RequestOptionsPerCallPolicyCallback", options.PerCallPolicy); } using var scope = _clientDiagnostics.CreateScope("PurviewGlossaries.GetCategoryTerms"); scope.Start(); try { - Pipeline.Send(message, requestOptions.CancellationToken); - if (requestOptions.StatusOption == ResponseStatusOption.Default) + Pipeline.Send(message, options.CancellationToken); + if (options.StatusOption == ResponseStatusOption.Default) { switch (message.Response.Status) { @@ -3320,8 +3320,8 @@ public virtual Response GetCategoryTerms(string categoryGuid, int? limit = null, /// The page size - by default there is no paging. /// The offset for pagination purpose. /// The sort order, ASC (default) or DESC. - /// The request options. - private HttpMessage CreateGetCategoryTermsRequest(string categoryGuid, int? limit = null, int? offset = null, string sort = null, RequestOptions requestOptions = null) + /// The request options. + private HttpMessage CreateGetCategoryTermsRequest(string categoryGuid, int? limit = null, int? offset = null, string sort = null, RequestOptions options = null) { var message = Pipeline.CreateMessage(); var request = message.Request; @@ -3353,12 +3353,12 @@ private HttpMessage CreateGetCategoryTermsRequest(string categoryGuid, int? limi /// /// Schema for Request Body: /// - /// + /// /// Name /// Type /// Required /// Description - /// + /// /// /// classifications /// AtlasClassification[] @@ -3575,12 +3575,12 @@ private HttpMessage CreateGetCategoryTermsRequest(string categoryGuid, int? limi /// /// Schema for AtlasGlossaryHeader: /// - /// + /// /// Name /// Type /// Required /// Description - /// + /// /// /// displayText /// string @@ -3602,12 +3602,12 @@ private HttpMessage CreateGetCategoryTermsRequest(string categoryGuid, int? limi /// /// Schema for AtlasClassification: /// - /// + /// /// Name /// Type /// Required /// Description - /// + /// /// /// attributes /// Dictionary<string, AnyObject> @@ -3665,12 +3665,12 @@ private HttpMessage CreateGetCategoryTermsRequest(string categoryGuid, int? limi /// /// Schema for AtlasRelatedTermHeader: /// - /// + /// /// Name /// Type /// Required /// Description - /// + /// /// /// description /// string @@ -3722,12 +3722,12 @@ private HttpMessage CreateGetCategoryTermsRequest(string categoryGuid, int? limi /// /// Schema for ResourceLink: /// - /// + /// /// Name /// Type /// Required /// Description - /// + /// /// /// displayName /// string @@ -3743,12 +3743,12 @@ private HttpMessage CreateGetCategoryTermsRequest(string categoryGuid, int? limi /// /// Schema for AtlasRelatedObjectId: /// - /// + /// /// Name /// Type /// Required /// Description - /// + /// /// /// guid /// string @@ -3806,12 +3806,12 @@ private HttpMessage CreateGetCategoryTermsRequest(string categoryGuid, int? limi /// /// Schema for AtlasTermCategorizationHeader: /// - /// + /// /// Name /// Type /// Required /// Description - /// + /// /// /// categoryGuid /// string @@ -3845,12 +3845,12 @@ private HttpMessage CreateGetCategoryTermsRequest(string categoryGuid, int? limi /// /// Schema for ContactBasic: /// - /// + /// /// Name /// Type /// Required /// Description - /// + /// /// /// id /// string @@ -3866,12 +3866,12 @@ private HttpMessage CreateGetCategoryTermsRequest(string categoryGuid, int? limi /// /// Schema for AtlasStruct: /// - /// + /// /// Name /// Type /// Required /// Description - /// + /// /// /// attributes /// Dictionary<string, AnyObject> @@ -3893,12 +3893,12 @@ private HttpMessage CreateGetCategoryTermsRequest(string categoryGuid, int? limi /// /// Schema for TimeBoundary: /// - /// + /// /// Name /// Type /// Required /// Description - /// + /// /// /// endTime /// string @@ -3919,25 +3919,25 @@ private HttpMessage CreateGetCategoryTermsRequest(string categoryGuid, int? limi /// /// /// - /// The request body. + /// The content to send as the body of the request. /// Whether include term hierarchy. - /// The request options. + /// The request options. #pragma warning disable AZC0002 - public virtual async Task CreateGlossaryTermAsync(RequestContent requestBody, bool? includeTermHierarchy = null, RequestOptions requestOptions = null) + public virtual async Task CreateGlossaryTermAsync(RequestContent content, bool? includeTermHierarchy = null, RequestOptions options = null) #pragma warning restore AZC0002 { - requestOptions ??= new RequestOptions(); - HttpMessage message = CreateCreateGlossaryTermRequest(requestBody, includeTermHierarchy, requestOptions); - if (requestOptions.PerCallPolicy != null) + options ??= new RequestOptions(); + HttpMessage message = CreateCreateGlossaryTermRequest(content, includeTermHierarchy, options); + if (options.PerCallPolicy != null) { - message.SetProperty("RequestOptionsPerCallPolicyCallback", requestOptions.PerCallPolicy); + message.SetProperty("RequestOptionsPerCallPolicyCallback", options.PerCallPolicy); } using var scope = _clientDiagnostics.CreateScope("PurviewGlossaries.CreateGlossaryTerm"); scope.Start(); try { - await Pipeline.SendAsync(message, requestOptions.CancellationToken).ConfigureAwait(false); - if (requestOptions.StatusOption == ResponseStatusOption.Default) + await Pipeline.SendAsync(message, options.CancellationToken).ConfigureAwait(false); + if (options.StatusOption == ResponseStatusOption.Default) { switch (message.Response.Status) { @@ -3963,12 +3963,12 @@ public virtual async Task CreateGlossaryTermAsync(RequestContent reque /// /// Schema for Request Body: /// - /// + /// /// Name /// Type /// Required /// Description - /// + /// /// /// classifications /// AtlasClassification[] @@ -4185,12 +4185,12 @@ public virtual async Task CreateGlossaryTermAsync(RequestContent reque /// /// Schema for AtlasGlossaryHeader: /// - /// + /// /// Name /// Type /// Required /// Description - /// + /// /// /// displayText /// string @@ -4212,12 +4212,12 @@ public virtual async Task CreateGlossaryTermAsync(RequestContent reque /// /// Schema for AtlasClassification: /// - /// + /// /// Name /// Type /// Required /// Description - /// + /// /// /// attributes /// Dictionary<string, AnyObject> @@ -4275,12 +4275,12 @@ public virtual async Task CreateGlossaryTermAsync(RequestContent reque /// /// Schema for AtlasRelatedTermHeader: /// - /// + /// /// Name /// Type /// Required /// Description - /// + /// /// /// description /// string @@ -4332,12 +4332,12 @@ public virtual async Task CreateGlossaryTermAsync(RequestContent reque /// /// Schema for ResourceLink: /// - /// + /// /// Name /// Type /// Required /// Description - /// + /// /// /// displayName /// string @@ -4353,12 +4353,12 @@ public virtual async Task CreateGlossaryTermAsync(RequestContent reque /// /// Schema for AtlasRelatedObjectId: /// - /// + /// /// Name /// Type /// Required /// Description - /// + /// /// /// guid /// string @@ -4416,12 +4416,12 @@ public virtual async Task CreateGlossaryTermAsync(RequestContent reque /// /// Schema for AtlasTermCategorizationHeader: /// - /// + /// /// Name /// Type /// Required /// Description - /// + /// /// /// categoryGuid /// string @@ -4455,12 +4455,12 @@ public virtual async Task CreateGlossaryTermAsync(RequestContent reque /// /// Schema for ContactBasic: /// - /// + /// /// Name /// Type /// Required /// Description - /// + /// /// /// id /// string @@ -4476,12 +4476,12 @@ public virtual async Task CreateGlossaryTermAsync(RequestContent reque /// /// Schema for AtlasStruct: /// - /// + /// /// Name /// Type /// Required /// Description - /// + /// /// /// attributes /// Dictionary<string, AnyObject> @@ -4503,12 +4503,12 @@ public virtual async Task CreateGlossaryTermAsync(RequestContent reque /// /// Schema for TimeBoundary: /// - /// + /// /// Name /// Type /// Required /// Description - /// + /// /// /// endTime /// string @@ -4529,25 +4529,25 @@ public virtual async Task CreateGlossaryTermAsync(RequestContent reque /// /// /// - /// The request body. + /// The content to send as the body of the request. /// Whether include term hierarchy. - /// The request options. + /// The request options. #pragma warning disable AZC0002 - public virtual Response CreateGlossaryTerm(RequestContent requestBody, bool? includeTermHierarchy = null, RequestOptions requestOptions = null) + public virtual Response CreateGlossaryTerm(RequestContent content, bool? includeTermHierarchy = null, RequestOptions options = null) #pragma warning restore AZC0002 { - requestOptions ??= new RequestOptions(); - HttpMessage message = CreateCreateGlossaryTermRequest(requestBody, includeTermHierarchy, requestOptions); - if (requestOptions.PerCallPolicy != null) + options ??= new RequestOptions(); + HttpMessage message = CreateCreateGlossaryTermRequest(content, includeTermHierarchy, options); + if (options.PerCallPolicy != null) { - message.SetProperty("RequestOptionsPerCallPolicyCallback", requestOptions.PerCallPolicy); + message.SetProperty("RequestOptionsPerCallPolicyCallback", options.PerCallPolicy); } using var scope = _clientDiagnostics.CreateScope("PurviewGlossaries.CreateGlossaryTerm"); scope.Start(); try { - Pipeline.Send(message, requestOptions.CancellationToken); - if (requestOptions.StatusOption == ResponseStatusOption.Default) + Pipeline.Send(message, options.CancellationToken); + if (options.StatusOption == ResponseStatusOption.Default) { switch (message.Response.Status) { @@ -4570,10 +4570,10 @@ public virtual Response CreateGlossaryTerm(RequestContent requestBody, bool? inc } /// Create Request for and operations. - /// The request body. + /// The content to send as the body of the request. /// Whether include term hierarchy. - /// The request options. - private HttpMessage CreateCreateGlossaryTermRequest(RequestContent requestBody, bool? includeTermHierarchy = null, RequestOptions requestOptions = null) + /// The request options. + private HttpMessage CreateCreateGlossaryTermRequest(RequestContent content, bool? includeTermHierarchy = null, RequestOptions options = null) { var message = Pipeline.CreateMessage(); var request = message.Request; @@ -4589,30 +4589,30 @@ private HttpMessage CreateCreateGlossaryTermRequest(RequestContent requestBody, request.Uri = uri; request.Headers.Add("Accept", "application/json"); request.Headers.Add("Content-Type", "application/json"); - request.Content = requestBody; + request.Content = content; return message; } /// Get a specific glossary term by its GUID. /// The globally unique identifier for glossary term. /// Whether include term hierarchy. - /// The request options. + /// The request options. #pragma warning disable AZC0002 - public virtual async Task GetGlossaryTermAsync(string termGuid, bool? includeTermHierarchy = null, RequestOptions requestOptions = null) + public virtual async Task GetGlossaryTermAsync(string termGuid, bool? includeTermHierarchy = null, RequestOptions options = null) #pragma warning restore AZC0002 { - requestOptions ??= new RequestOptions(); - HttpMessage message = CreateGetGlossaryTermRequest(termGuid, includeTermHierarchy, requestOptions); - if (requestOptions.PerCallPolicy != null) + options ??= new RequestOptions(); + HttpMessage message = CreateGetGlossaryTermRequest(termGuid, includeTermHierarchy, options); + if (options.PerCallPolicy != null) { - message.SetProperty("RequestOptionsPerCallPolicyCallback", requestOptions.PerCallPolicy); + message.SetProperty("RequestOptionsPerCallPolicyCallback", options.PerCallPolicy); } using var scope = _clientDiagnostics.CreateScope("PurviewGlossaries.GetGlossaryTerm"); scope.Start(); try { - await Pipeline.SendAsync(message, requestOptions.CancellationToken).ConfigureAwait(false); - if (requestOptions.StatusOption == ResponseStatusOption.Default) + await Pipeline.SendAsync(message, options.CancellationToken).ConfigureAwait(false); + if (options.StatusOption == ResponseStatusOption.Default) { switch (message.Response.Status) { @@ -4637,23 +4637,23 @@ public virtual async Task GetGlossaryTermAsync(string termGuid, bool? /// Get a specific glossary term by its GUID. /// The globally unique identifier for glossary term. /// Whether include term hierarchy. - /// The request options. + /// The request options. #pragma warning disable AZC0002 - public virtual Response GetGlossaryTerm(string termGuid, bool? includeTermHierarchy = null, RequestOptions requestOptions = null) + public virtual Response GetGlossaryTerm(string termGuid, bool? includeTermHierarchy = null, RequestOptions options = null) #pragma warning restore AZC0002 { - requestOptions ??= new RequestOptions(); - HttpMessage message = CreateGetGlossaryTermRequest(termGuid, includeTermHierarchy, requestOptions); - if (requestOptions.PerCallPolicy != null) + options ??= new RequestOptions(); + HttpMessage message = CreateGetGlossaryTermRequest(termGuid, includeTermHierarchy, options); + if (options.PerCallPolicy != null) { - message.SetProperty("RequestOptionsPerCallPolicyCallback", requestOptions.PerCallPolicy); + message.SetProperty("RequestOptionsPerCallPolicyCallback", options.PerCallPolicy); } using var scope = _clientDiagnostics.CreateScope("PurviewGlossaries.GetGlossaryTerm"); scope.Start(); try { - Pipeline.Send(message, requestOptions.CancellationToken); - if (requestOptions.StatusOption == ResponseStatusOption.Default) + Pipeline.Send(message, options.CancellationToken); + if (options.StatusOption == ResponseStatusOption.Default) { switch (message.Response.Status) { @@ -4678,8 +4678,8 @@ public virtual Response GetGlossaryTerm(string termGuid, bool? includeTermHierar /// Create Request for and operations. /// The globally unique identifier for glossary term. /// Whether include term hierarchy. - /// The request options. - private HttpMessage CreateGetGlossaryTermRequest(string termGuid, bool? includeTermHierarchy = null, RequestOptions requestOptions = null) + /// The request options. + private HttpMessage CreateGetGlossaryTermRequest(string termGuid, bool? includeTermHierarchy = null, RequestOptions options = null) { var message = Pipeline.CreateMessage(); var request = message.Request; @@ -4702,12 +4702,12 @@ private HttpMessage CreateGetGlossaryTermRequest(string termGuid, bool? includeT /// /// Schema for Request Body: /// - /// + /// /// Name /// Type /// Required /// Description - /// + /// /// /// classifications /// AtlasClassification[] @@ -4924,12 +4924,12 @@ private HttpMessage CreateGetGlossaryTermRequest(string termGuid, bool? includeT /// /// Schema for AtlasGlossaryHeader: /// - /// + /// /// Name /// Type /// Required /// Description - /// + /// /// /// displayText /// string @@ -4951,12 +4951,12 @@ private HttpMessage CreateGetGlossaryTermRequest(string termGuid, bool? includeT /// /// Schema for AtlasClassification: /// - /// + /// /// Name /// Type /// Required /// Description - /// + /// /// /// attributes /// Dictionary<string, AnyObject> @@ -5014,12 +5014,12 @@ private HttpMessage CreateGetGlossaryTermRequest(string termGuid, bool? includeT /// /// Schema for AtlasRelatedTermHeader: /// - /// + /// /// Name /// Type /// Required /// Description - /// + /// /// /// description /// string @@ -5071,12 +5071,12 @@ private HttpMessage CreateGetGlossaryTermRequest(string termGuid, bool? includeT /// /// Schema for ResourceLink: /// - /// + /// /// Name /// Type /// Required /// Description - /// + /// /// /// displayName /// string @@ -5092,12 +5092,12 @@ private HttpMessage CreateGetGlossaryTermRequest(string termGuid, bool? includeT /// /// Schema for AtlasRelatedObjectId: /// - /// + /// /// Name /// Type /// Required /// Description - /// + /// /// /// guid /// string @@ -5155,12 +5155,12 @@ private HttpMessage CreateGetGlossaryTermRequest(string termGuid, bool? includeT /// /// Schema for AtlasTermCategorizationHeader: /// - /// + /// /// Name /// Type /// Required /// Description - /// + /// /// /// categoryGuid /// string @@ -5194,12 +5194,12 @@ private HttpMessage CreateGetGlossaryTermRequest(string termGuid, bool? includeT /// /// Schema for ContactBasic: /// - /// + /// /// Name /// Type /// Required /// Description - /// + /// /// /// id /// string @@ -5215,12 +5215,12 @@ private HttpMessage CreateGetGlossaryTermRequest(string termGuid, bool? includeT /// /// Schema for AtlasStruct: /// - /// + /// /// Name /// Type /// Required /// Description - /// + /// /// /// attributes /// Dictionary<string, AnyObject> @@ -5242,12 +5242,12 @@ private HttpMessage CreateGetGlossaryTermRequest(string termGuid, bool? includeT /// /// Schema for TimeBoundary: /// - /// + /// /// Name /// Type /// Required /// Description - /// + /// /// /// endTime /// string @@ -5269,24 +5269,24 @@ private HttpMessage CreateGetGlossaryTermRequest(string termGuid, bool? includeT /// /// /// The globally unique identifier for glossary term. - /// The request body. - /// The request options. + /// The content to send as the body of the request. + /// The request options. #pragma warning disable AZC0002 - public virtual async Task UpdateGlossaryTermAsync(string termGuid, RequestContent requestBody, RequestOptions requestOptions = null) + public virtual async Task UpdateGlossaryTermAsync(string termGuid, RequestContent content, RequestOptions options = null) #pragma warning restore AZC0002 { - requestOptions ??= new RequestOptions(); - HttpMessage message = CreateUpdateGlossaryTermRequest(termGuid, requestBody, requestOptions); - if (requestOptions.PerCallPolicy != null) + options ??= new RequestOptions(); + HttpMessage message = CreateUpdateGlossaryTermRequest(termGuid, content, options); + if (options.PerCallPolicy != null) { - message.SetProperty("RequestOptionsPerCallPolicyCallback", requestOptions.PerCallPolicy); + message.SetProperty("RequestOptionsPerCallPolicyCallback", options.PerCallPolicy); } using var scope = _clientDiagnostics.CreateScope("PurviewGlossaries.UpdateGlossaryTerm"); scope.Start(); try { - await Pipeline.SendAsync(message, requestOptions.CancellationToken).ConfigureAwait(false); - if (requestOptions.StatusOption == ResponseStatusOption.Default) + await Pipeline.SendAsync(message, options.CancellationToken).ConfigureAwait(false); + if (options.StatusOption == ResponseStatusOption.Default) { switch (message.Response.Status) { @@ -5312,12 +5312,12 @@ public virtual async Task UpdateGlossaryTermAsync(string termGuid, Req /// /// Schema for Request Body: /// - /// + /// /// Name /// Type /// Required /// Description - /// + /// /// /// classifications /// AtlasClassification[] @@ -5534,12 +5534,12 @@ public virtual async Task UpdateGlossaryTermAsync(string termGuid, Req /// /// Schema for AtlasGlossaryHeader: /// - /// + /// /// Name /// Type /// Required /// Description - /// + /// /// /// displayText /// string @@ -5561,12 +5561,12 @@ public virtual async Task UpdateGlossaryTermAsync(string termGuid, Req /// /// Schema for AtlasClassification: /// - /// + /// /// Name /// Type /// Required /// Description - /// + /// /// /// attributes /// Dictionary<string, AnyObject> @@ -5624,12 +5624,12 @@ public virtual async Task UpdateGlossaryTermAsync(string termGuid, Req /// /// Schema for AtlasRelatedTermHeader: /// - /// + /// /// Name /// Type /// Required /// Description - /// + /// /// /// description /// string @@ -5681,12 +5681,12 @@ public virtual async Task UpdateGlossaryTermAsync(string termGuid, Req /// /// Schema for ResourceLink: /// - /// + /// /// Name /// Type /// Required /// Description - /// + /// /// /// displayName /// string @@ -5702,12 +5702,12 @@ public virtual async Task UpdateGlossaryTermAsync(string termGuid, Req /// /// Schema for AtlasRelatedObjectId: /// - /// + /// /// Name /// Type /// Required /// Description - /// + /// /// /// guid /// string @@ -5765,12 +5765,12 @@ public virtual async Task UpdateGlossaryTermAsync(string termGuid, Req /// /// Schema for AtlasTermCategorizationHeader: /// - /// + /// /// Name /// Type /// Required /// Description - /// + /// /// /// categoryGuid /// string @@ -5804,12 +5804,12 @@ public virtual async Task UpdateGlossaryTermAsync(string termGuid, Req /// /// Schema for ContactBasic: /// - /// + /// /// Name /// Type /// Required /// Description - /// + /// /// /// id /// string @@ -5825,12 +5825,12 @@ public virtual async Task UpdateGlossaryTermAsync(string termGuid, Req /// /// Schema for AtlasStruct: /// - /// + /// /// Name /// Type /// Required /// Description - /// + /// /// /// attributes /// Dictionary<string, AnyObject> @@ -5852,12 +5852,12 @@ public virtual async Task UpdateGlossaryTermAsync(string termGuid, Req /// /// Schema for TimeBoundary: /// - /// + /// /// Name /// Type /// Required /// Description - /// + /// /// /// endTime /// string @@ -5879,24 +5879,24 @@ public virtual async Task UpdateGlossaryTermAsync(string termGuid, Req /// /// /// The globally unique identifier for glossary term. - /// The request body. - /// The request options. + /// The content to send as the body of the request. + /// The request options. #pragma warning disable AZC0002 - public virtual Response UpdateGlossaryTerm(string termGuid, RequestContent requestBody, RequestOptions requestOptions = null) + public virtual Response UpdateGlossaryTerm(string termGuid, RequestContent content, RequestOptions options = null) #pragma warning restore AZC0002 { - requestOptions ??= new RequestOptions(); - HttpMessage message = CreateUpdateGlossaryTermRequest(termGuid, requestBody, requestOptions); - if (requestOptions.PerCallPolicy != null) + options ??= new RequestOptions(); + HttpMessage message = CreateUpdateGlossaryTermRequest(termGuid, content, options); + if (options.PerCallPolicy != null) { - message.SetProperty("RequestOptionsPerCallPolicyCallback", requestOptions.PerCallPolicy); + message.SetProperty("RequestOptionsPerCallPolicyCallback", options.PerCallPolicy); } using var scope = _clientDiagnostics.CreateScope("PurviewGlossaries.UpdateGlossaryTerm"); scope.Start(); try { - Pipeline.Send(message, requestOptions.CancellationToken); - if (requestOptions.StatusOption == ResponseStatusOption.Default) + Pipeline.Send(message, options.CancellationToken); + if (options.StatusOption == ResponseStatusOption.Default) { switch (message.Response.Status) { @@ -5920,9 +5920,9 @@ public virtual Response UpdateGlossaryTerm(string termGuid, RequestContent reque /// Create Request for and operations. /// The globally unique identifier for glossary term. - /// The request body. - /// The request options. - private HttpMessage CreateUpdateGlossaryTermRequest(string termGuid, RequestContent requestBody, RequestOptions requestOptions = null) + /// The content to send as the body of the request. + /// The request options. + private HttpMessage CreateUpdateGlossaryTermRequest(string termGuid, RequestContent content, RequestOptions options = null) { var message = Pipeline.CreateMessage(); var request = message.Request; @@ -5935,29 +5935,29 @@ private HttpMessage CreateUpdateGlossaryTermRequest(string termGuid, RequestCont request.Uri = uri; request.Headers.Add("Accept", "application/json"); request.Headers.Add("Content-Type", "application/json"); - request.Content = requestBody; + request.Content = content; return message; } /// Delete a glossary term. /// The globally unique identifier for glossary term. - /// The request options. + /// The request options. #pragma warning disable AZC0002 - public virtual async Task DeleteGlossaryTermAsync(string termGuid, RequestOptions requestOptions = null) + public virtual async Task DeleteGlossaryTermAsync(string termGuid, RequestOptions options = null) #pragma warning restore AZC0002 { - requestOptions ??= new RequestOptions(); - HttpMessage message = CreateDeleteGlossaryTermRequest(termGuid, requestOptions); - if (requestOptions.PerCallPolicy != null) + options ??= new RequestOptions(); + HttpMessage message = CreateDeleteGlossaryTermRequest(termGuid, options); + if (options.PerCallPolicy != null) { - message.SetProperty("RequestOptionsPerCallPolicyCallback", requestOptions.PerCallPolicy); + message.SetProperty("RequestOptionsPerCallPolicyCallback", options.PerCallPolicy); } using var scope = _clientDiagnostics.CreateScope("PurviewGlossaries.DeleteGlossaryTerm"); scope.Start(); try { - await Pipeline.SendAsync(message, requestOptions.CancellationToken).ConfigureAwait(false); - if (requestOptions.StatusOption == ResponseStatusOption.Default) + await Pipeline.SendAsync(message, options.CancellationToken).ConfigureAwait(false); + if (options.StatusOption == ResponseStatusOption.Default) { switch (message.Response.Status) { @@ -5981,23 +5981,23 @@ public virtual async Task DeleteGlossaryTermAsync(string termGuid, Req /// Delete a glossary term. /// The globally unique identifier for glossary term. - /// The request options. + /// The request options. #pragma warning disable AZC0002 - public virtual Response DeleteGlossaryTerm(string termGuid, RequestOptions requestOptions = null) + public virtual Response DeleteGlossaryTerm(string termGuid, RequestOptions options = null) #pragma warning restore AZC0002 { - requestOptions ??= new RequestOptions(); - HttpMessage message = CreateDeleteGlossaryTermRequest(termGuid, requestOptions); - if (requestOptions.PerCallPolicy != null) + options ??= new RequestOptions(); + HttpMessage message = CreateDeleteGlossaryTermRequest(termGuid, options); + if (options.PerCallPolicy != null) { - message.SetProperty("RequestOptionsPerCallPolicyCallback", requestOptions.PerCallPolicy); + message.SetProperty("RequestOptionsPerCallPolicyCallback", options.PerCallPolicy); } using var scope = _clientDiagnostics.CreateScope("PurviewGlossaries.DeleteGlossaryTerm"); scope.Start(); try { - Pipeline.Send(message, requestOptions.CancellationToken); - if (requestOptions.StatusOption == ResponseStatusOption.Default) + Pipeline.Send(message, options.CancellationToken); + if (options.StatusOption == ResponseStatusOption.Default) { switch (message.Response.Status) { @@ -6021,8 +6021,8 @@ public virtual Response DeleteGlossaryTerm(string termGuid, RequestOptions reque /// Create Request for and operations. /// The globally unique identifier for glossary term. - /// The request options. - private HttpMessage CreateDeleteGlossaryTermRequest(string termGuid, RequestOptions requestOptions = null) + /// The request options. + private HttpMessage CreateDeleteGlossaryTermRequest(string termGuid, RequestOptions options = null) { var message = Pipeline.CreateMessage(); var request = message.Request; @@ -6038,25 +6038,25 @@ private HttpMessage CreateDeleteGlossaryTermRequest(string termGuid, RequestOpti /// Update the glossary term partially. /// The globally unique identifier for glossary term. - /// The request body. + /// The content to send as the body of the request. /// Whether include term hierarchy. - /// The request options. + /// The request options. #pragma warning disable AZC0002 - public virtual async Task PartialUpdateGlossaryTermAsync(string termGuid, RequestContent requestBody, bool? includeTermHierarchy = null, RequestOptions requestOptions = null) + public virtual async Task PartialUpdateGlossaryTermAsync(string termGuid, RequestContent content, bool? includeTermHierarchy = null, RequestOptions options = null) #pragma warning restore AZC0002 { - requestOptions ??= new RequestOptions(); - HttpMessage message = CreatePartialUpdateGlossaryTermRequest(termGuid, requestBody, includeTermHierarchy, requestOptions); - if (requestOptions.PerCallPolicy != null) + options ??= new RequestOptions(); + HttpMessage message = CreatePartialUpdateGlossaryTermRequest(termGuid, content, includeTermHierarchy, options); + if (options.PerCallPolicy != null) { - message.SetProperty("RequestOptionsPerCallPolicyCallback", requestOptions.PerCallPolicy); + message.SetProperty("RequestOptionsPerCallPolicyCallback", options.PerCallPolicy); } using var scope = _clientDiagnostics.CreateScope("PurviewGlossaries.PartialUpdateGlossaryTerm"); scope.Start(); try { - await Pipeline.SendAsync(message, requestOptions.CancellationToken).ConfigureAwait(false); - if (requestOptions.StatusOption == ResponseStatusOption.Default) + await Pipeline.SendAsync(message, options.CancellationToken).ConfigureAwait(false); + if (options.StatusOption == ResponseStatusOption.Default) { switch (message.Response.Status) { @@ -6080,25 +6080,25 @@ public virtual async Task PartialUpdateGlossaryTermAsync(string termGu /// Update the glossary term partially. /// The globally unique identifier for glossary term. - /// The request body. + /// The content to send as the body of the request. /// Whether include term hierarchy. - /// The request options. + /// The request options. #pragma warning disable AZC0002 - public virtual Response PartialUpdateGlossaryTerm(string termGuid, RequestContent requestBody, bool? includeTermHierarchy = null, RequestOptions requestOptions = null) + public virtual Response PartialUpdateGlossaryTerm(string termGuid, RequestContent content, bool? includeTermHierarchy = null, RequestOptions options = null) #pragma warning restore AZC0002 { - requestOptions ??= new RequestOptions(); - HttpMessage message = CreatePartialUpdateGlossaryTermRequest(termGuid, requestBody, includeTermHierarchy, requestOptions); - if (requestOptions.PerCallPolicy != null) + options ??= new RequestOptions(); + HttpMessage message = CreatePartialUpdateGlossaryTermRequest(termGuid, content, includeTermHierarchy, options); + if (options.PerCallPolicy != null) { - message.SetProperty("RequestOptionsPerCallPolicyCallback", requestOptions.PerCallPolicy); + message.SetProperty("RequestOptionsPerCallPolicyCallback", options.PerCallPolicy); } using var scope = _clientDiagnostics.CreateScope("PurviewGlossaries.PartialUpdateGlossaryTerm"); scope.Start(); try { - Pipeline.Send(message, requestOptions.CancellationToken); - if (requestOptions.StatusOption == ResponseStatusOption.Default) + Pipeline.Send(message, options.CancellationToken); + if (options.StatusOption == ResponseStatusOption.Default) { switch (message.Response.Status) { @@ -6122,10 +6122,10 @@ public virtual Response PartialUpdateGlossaryTerm(string termGuid, RequestConten /// Create Request for and operations. /// The globally unique identifier for glossary term. - /// The request body. + /// The content to send as the body of the request. /// Whether include term hierarchy. - /// The request options. - private HttpMessage CreatePartialUpdateGlossaryTermRequest(string termGuid, RequestContent requestBody, bool? includeTermHierarchy = null, RequestOptions requestOptions = null) + /// The request options. + private HttpMessage CreatePartialUpdateGlossaryTermRequest(string termGuid, RequestContent content, bool? includeTermHierarchy = null, RequestOptions options = null) { var message = Pipeline.CreateMessage(); var request = message.Request; @@ -6143,7 +6143,7 @@ private HttpMessage CreatePartialUpdateGlossaryTermRequest(string termGuid, Requ request.Uri = uri; request.Headers.Add("Accept", "application/json"); request.Headers.Add("Content-Type", "application/json"); - request.Content = requestBody; + request.Content = content; return message; } @@ -6151,12 +6151,12 @@ private HttpMessage CreatePartialUpdateGlossaryTermRequest(string termGuid, Requ /// /// Schema for AtlasGlossaryTerm: /// - /// + /// /// Name /// Type /// Required /// Description - /// + /// /// /// classifications /// AtlasClassification[] @@ -6373,12 +6373,12 @@ private HttpMessage CreatePartialUpdateGlossaryTermRequest(string termGuid, Requ /// /// Schema for AtlasGlossaryHeader: /// - /// + /// /// Name /// Type /// Required /// Description - /// + /// /// /// displayText /// string @@ -6400,12 +6400,12 @@ private HttpMessage CreatePartialUpdateGlossaryTermRequest(string termGuid, Requ /// /// Schema for AtlasClassification: /// - /// + /// /// Name /// Type /// Required /// Description - /// + /// /// /// attributes /// Dictionary<string, AnyObject> @@ -6463,12 +6463,12 @@ private HttpMessage CreatePartialUpdateGlossaryTermRequest(string termGuid, Requ /// /// Schema for AtlasRelatedTermHeader: /// - /// + /// /// Name /// Type /// Required /// Description - /// + /// /// /// description /// string @@ -6520,12 +6520,12 @@ private HttpMessage CreatePartialUpdateGlossaryTermRequest(string termGuid, Requ /// /// Schema for ResourceLink: /// - /// + /// /// Name /// Type /// Required /// Description - /// + /// /// /// displayName /// string @@ -6541,12 +6541,12 @@ private HttpMessage CreatePartialUpdateGlossaryTermRequest(string termGuid, Requ /// /// Schema for AtlasRelatedObjectId: /// - /// + /// /// Name /// Type /// Required /// Description - /// + /// /// /// guid /// string @@ -6604,12 +6604,12 @@ private HttpMessage CreatePartialUpdateGlossaryTermRequest(string termGuid, Requ /// /// Schema for AtlasTermCategorizationHeader: /// - /// + /// /// Name /// Type /// Required /// Description - /// + /// /// /// categoryGuid /// string @@ -6643,12 +6643,12 @@ private HttpMessage CreatePartialUpdateGlossaryTermRequest(string termGuid, Requ /// /// Schema for ContactBasic: /// - /// + /// /// Name /// Type /// Required /// Description - /// + /// /// /// id /// string @@ -6664,12 +6664,12 @@ private HttpMessage CreatePartialUpdateGlossaryTermRequest(string termGuid, Requ /// /// Schema for AtlasStruct: /// - /// + /// /// Name /// Type /// Required /// Description - /// + /// /// /// attributes /// Dictionary<string, AnyObject> @@ -6691,12 +6691,12 @@ private HttpMessage CreatePartialUpdateGlossaryTermRequest(string termGuid, Requ /// /// Schema for TimeBoundary: /// - /// + /// /// Name /// Type /// Required /// Description - /// + /// /// /// endTime /// string @@ -6717,25 +6717,25 @@ private HttpMessage CreatePartialUpdateGlossaryTermRequest(string termGuid, Requ /// /// /// - /// The request body. + /// The content to send as the body of the request. /// Whether include term hierarchy. - /// The request options. + /// The request options. #pragma warning disable AZC0002 - public virtual async Task CreateGlossaryTermsAsync(RequestContent requestBody, bool? includeTermHierarchy = null, RequestOptions requestOptions = null) + public virtual async Task CreateGlossaryTermsAsync(RequestContent content, bool? includeTermHierarchy = null, RequestOptions options = null) #pragma warning restore AZC0002 { - requestOptions ??= new RequestOptions(); - HttpMessage message = CreateCreateGlossaryTermsRequest(requestBody, includeTermHierarchy, requestOptions); - if (requestOptions.PerCallPolicy != null) + options ??= new RequestOptions(); + HttpMessage message = CreateCreateGlossaryTermsRequest(content, includeTermHierarchy, options); + if (options.PerCallPolicy != null) { - message.SetProperty("RequestOptionsPerCallPolicyCallback", requestOptions.PerCallPolicy); + message.SetProperty("RequestOptionsPerCallPolicyCallback", options.PerCallPolicy); } using var scope = _clientDiagnostics.CreateScope("PurviewGlossaries.CreateGlossaryTerms"); scope.Start(); try { - await Pipeline.SendAsync(message, requestOptions.CancellationToken).ConfigureAwait(false); - if (requestOptions.StatusOption == ResponseStatusOption.Default) + await Pipeline.SendAsync(message, options.CancellationToken).ConfigureAwait(false); + if (options.StatusOption == ResponseStatusOption.Default) { switch (message.Response.Status) { @@ -6761,12 +6761,12 @@ public virtual async Task CreateGlossaryTermsAsync(RequestContent requ /// /// Schema for AtlasGlossaryTerm: /// - /// + /// /// Name /// Type /// Required /// Description - /// + /// /// /// classifications /// AtlasClassification[] @@ -6983,12 +6983,12 @@ public virtual async Task CreateGlossaryTermsAsync(RequestContent requ /// /// Schema for AtlasGlossaryHeader: /// - /// + /// /// Name /// Type /// Required /// Description - /// + /// /// /// displayText /// string @@ -7010,12 +7010,12 @@ public virtual async Task CreateGlossaryTermsAsync(RequestContent requ /// /// Schema for AtlasClassification: /// - /// + /// /// Name /// Type /// Required /// Description - /// + /// /// /// attributes /// Dictionary<string, AnyObject> @@ -7073,12 +7073,12 @@ public virtual async Task CreateGlossaryTermsAsync(RequestContent requ /// /// Schema for AtlasRelatedTermHeader: /// - /// + /// /// Name /// Type /// Required /// Description - /// + /// /// /// description /// string @@ -7130,12 +7130,12 @@ public virtual async Task CreateGlossaryTermsAsync(RequestContent requ /// /// Schema for ResourceLink: /// - /// + /// /// Name /// Type /// Required /// Description - /// + /// /// /// displayName /// string @@ -7151,12 +7151,12 @@ public virtual async Task CreateGlossaryTermsAsync(RequestContent requ /// /// Schema for AtlasRelatedObjectId: /// - /// + /// /// Name /// Type /// Required /// Description - /// + /// /// /// guid /// string @@ -7214,12 +7214,12 @@ public virtual async Task CreateGlossaryTermsAsync(RequestContent requ /// /// Schema for AtlasTermCategorizationHeader: /// - /// + /// /// Name /// Type /// Required /// Description - /// + /// /// /// categoryGuid /// string @@ -7253,12 +7253,12 @@ public virtual async Task CreateGlossaryTermsAsync(RequestContent requ /// /// Schema for ContactBasic: /// - /// + /// /// Name /// Type /// Required /// Description - /// + /// /// /// id /// string @@ -7274,12 +7274,12 @@ public virtual async Task CreateGlossaryTermsAsync(RequestContent requ /// /// Schema for AtlasStruct: /// - /// + /// /// Name /// Type /// Required /// Description - /// + /// /// /// attributes /// Dictionary<string, AnyObject> @@ -7301,12 +7301,12 @@ public virtual async Task CreateGlossaryTermsAsync(RequestContent requ /// /// Schema for TimeBoundary: /// - /// + /// /// Name /// Type /// Required /// Description - /// + /// /// /// endTime /// string @@ -7327,25 +7327,25 @@ public virtual async Task CreateGlossaryTermsAsync(RequestContent requ /// /// /// - /// The request body. + /// The content to send as the body of the request. /// Whether include term hierarchy. - /// The request options. + /// The request options. #pragma warning disable AZC0002 - public virtual Response CreateGlossaryTerms(RequestContent requestBody, bool? includeTermHierarchy = null, RequestOptions requestOptions = null) + public virtual Response CreateGlossaryTerms(RequestContent content, bool? includeTermHierarchy = null, RequestOptions options = null) #pragma warning restore AZC0002 { - requestOptions ??= new RequestOptions(); - HttpMessage message = CreateCreateGlossaryTermsRequest(requestBody, includeTermHierarchy, requestOptions); - if (requestOptions.PerCallPolicy != null) + options ??= new RequestOptions(); + HttpMessage message = CreateCreateGlossaryTermsRequest(content, includeTermHierarchy, options); + if (options.PerCallPolicy != null) { - message.SetProperty("RequestOptionsPerCallPolicyCallback", requestOptions.PerCallPolicy); + message.SetProperty("RequestOptionsPerCallPolicyCallback", options.PerCallPolicy); } using var scope = _clientDiagnostics.CreateScope("PurviewGlossaries.CreateGlossaryTerms"); scope.Start(); try { - Pipeline.Send(message, requestOptions.CancellationToken); - if (requestOptions.StatusOption == ResponseStatusOption.Default) + Pipeline.Send(message, options.CancellationToken); + if (options.StatusOption == ResponseStatusOption.Default) { switch (message.Response.Status) { @@ -7368,10 +7368,10 @@ public virtual Response CreateGlossaryTerms(RequestContent requestBody, bool? in } /// Create Request for and operations. - /// The request body. + /// The content to send as the body of the request. /// Whether include term hierarchy. - /// The request options. - private HttpMessage CreateCreateGlossaryTermsRequest(RequestContent requestBody, bool? includeTermHierarchy = null, RequestOptions requestOptions = null) + /// The request options. + private HttpMessage CreateCreateGlossaryTermsRequest(RequestContent content, bool? includeTermHierarchy = null, RequestOptions options = null) { var message = Pipeline.CreateMessage(); var request = message.Request; @@ -7387,7 +7387,7 @@ private HttpMessage CreateCreateGlossaryTermsRequest(RequestContent requestBody, request.Uri = uri; request.Headers.Add("Accept", "application/json"); request.Headers.Add("Content-Type", "application/json"); - request.Content = requestBody; + request.Content = content; return message; } @@ -7396,23 +7396,23 @@ private HttpMessage CreateCreateGlossaryTermsRequest(RequestContent requestBody, /// The page size - by default there is no paging. /// The offset for pagination purpose. /// The sort order, ASC (default) or DESC. - /// The request options. + /// The request options. #pragma warning disable AZC0002 - public virtual async Task GetEntitiesAssignedWithTermAsync(string termGuid, int? limit = null, int? offset = null, string sort = null, RequestOptions requestOptions = null) + public virtual async Task GetEntitiesAssignedWithTermAsync(string termGuid, int? limit = null, int? offset = null, string sort = null, RequestOptions options = null) #pragma warning restore AZC0002 { - requestOptions ??= new RequestOptions(); - HttpMessage message = CreateGetEntitiesAssignedWithTermRequest(termGuid, limit, offset, sort, requestOptions); - if (requestOptions.PerCallPolicy != null) + options ??= new RequestOptions(); + HttpMessage message = CreateGetEntitiesAssignedWithTermRequest(termGuid, limit, offset, sort, options); + if (options.PerCallPolicy != null) { - message.SetProperty("RequestOptionsPerCallPolicyCallback", requestOptions.PerCallPolicy); + message.SetProperty("RequestOptionsPerCallPolicyCallback", options.PerCallPolicy); } using var scope = _clientDiagnostics.CreateScope("PurviewGlossaries.GetEntitiesAssignedWithTerm"); scope.Start(); try { - await Pipeline.SendAsync(message, requestOptions.CancellationToken).ConfigureAwait(false); - if (requestOptions.StatusOption == ResponseStatusOption.Default) + await Pipeline.SendAsync(message, options.CancellationToken).ConfigureAwait(false); + if (options.StatusOption == ResponseStatusOption.Default) { switch (message.Response.Status) { @@ -7439,23 +7439,23 @@ public virtual async Task GetEntitiesAssignedWithTermAsync(string term /// The page size - by default there is no paging. /// The offset for pagination purpose. /// The sort order, ASC (default) or DESC. - /// The request options. + /// The request options. #pragma warning disable AZC0002 - public virtual Response GetEntitiesAssignedWithTerm(string termGuid, int? limit = null, int? offset = null, string sort = null, RequestOptions requestOptions = null) + public virtual Response GetEntitiesAssignedWithTerm(string termGuid, int? limit = null, int? offset = null, string sort = null, RequestOptions options = null) #pragma warning restore AZC0002 { - requestOptions ??= new RequestOptions(); - HttpMessage message = CreateGetEntitiesAssignedWithTermRequest(termGuid, limit, offset, sort, requestOptions); - if (requestOptions.PerCallPolicy != null) + options ??= new RequestOptions(); + HttpMessage message = CreateGetEntitiesAssignedWithTermRequest(termGuid, limit, offset, sort, options); + if (options.PerCallPolicy != null) { - message.SetProperty("RequestOptionsPerCallPolicyCallback", requestOptions.PerCallPolicy); + message.SetProperty("RequestOptionsPerCallPolicyCallback", options.PerCallPolicy); } using var scope = _clientDiagnostics.CreateScope("PurviewGlossaries.GetEntitiesAssignedWithTerm"); scope.Start(); try { - Pipeline.Send(message, requestOptions.CancellationToken); - if (requestOptions.StatusOption == ResponseStatusOption.Default) + Pipeline.Send(message, options.CancellationToken); + if (options.StatusOption == ResponseStatusOption.Default) { switch (message.Response.Status) { @@ -7482,8 +7482,8 @@ public virtual Response GetEntitiesAssignedWithTerm(string termGuid, int? limit /// The page size - by default there is no paging. /// The offset for pagination purpose. /// The sort order, ASC (default) or DESC. - /// The request options. - private HttpMessage CreateGetEntitiesAssignedWithTermRequest(string termGuid, int? limit = null, int? offset = null, string sort = null, RequestOptions requestOptions = null) + /// The request options. + private HttpMessage CreateGetEntitiesAssignedWithTermRequest(string termGuid, int? limit = null, int? offset = null, string sort = null, RequestOptions options = null) { var message = Pipeline.CreateMessage(); var request = message.Request; @@ -7515,12 +7515,12 @@ private HttpMessage CreateGetEntitiesAssignedWithTermRequest(string termGuid, in /// /// Schema for AtlasRelatedObjectId: /// - /// + /// /// Name /// Type /// Required /// Description - /// + /// /// /// guid /// string @@ -7578,12 +7578,12 @@ private HttpMessage CreateGetEntitiesAssignedWithTermRequest(string termGuid, in /// /// Schema for AtlasStruct: /// - /// + /// /// Name /// Type /// Required /// Description - /// + /// /// /// attributes /// Dictionary<string, AnyObject> @@ -7605,24 +7605,24 @@ private HttpMessage CreateGetEntitiesAssignedWithTermRequest(string termGuid, in /// /// /// The globally unique identifier for glossary term. - /// The request body. - /// The request options. + /// The content to send as the body of the request. + /// The request options. #pragma warning disable AZC0002 - public virtual async Task AssignTermToEntitiesAsync(string termGuid, RequestContent requestBody, RequestOptions requestOptions = null) + public virtual async Task AssignTermToEntitiesAsync(string termGuid, RequestContent content, RequestOptions options = null) #pragma warning restore AZC0002 { - requestOptions ??= new RequestOptions(); - HttpMessage message = CreateAssignTermToEntitiesRequest(termGuid, requestBody, requestOptions); - if (requestOptions.PerCallPolicy != null) + options ??= new RequestOptions(); + HttpMessage message = CreateAssignTermToEntitiesRequest(termGuid, content, options); + if (options.PerCallPolicy != null) { - message.SetProperty("RequestOptionsPerCallPolicyCallback", requestOptions.PerCallPolicy); + message.SetProperty("RequestOptionsPerCallPolicyCallback", options.PerCallPolicy); } using var scope = _clientDiagnostics.CreateScope("PurviewGlossaries.AssignTermToEntities"); scope.Start(); try { - await Pipeline.SendAsync(message, requestOptions.CancellationToken).ConfigureAwait(false); - if (requestOptions.StatusOption == ResponseStatusOption.Default) + await Pipeline.SendAsync(message, options.CancellationToken).ConfigureAwait(false); + if (options.StatusOption == ResponseStatusOption.Default) { switch (message.Response.Status) { @@ -7648,12 +7648,12 @@ public virtual async Task AssignTermToEntitiesAsync(string termGuid, R /// /// Schema for AtlasRelatedObjectId: /// - /// + /// /// Name /// Type /// Required /// Description - /// + /// /// /// guid /// string @@ -7711,12 +7711,12 @@ public virtual async Task AssignTermToEntitiesAsync(string termGuid, R /// /// Schema for AtlasStruct: /// - /// + /// /// Name /// Type /// Required /// Description - /// + /// /// /// attributes /// Dictionary<string, AnyObject> @@ -7738,24 +7738,24 @@ public virtual async Task AssignTermToEntitiesAsync(string termGuid, R /// /// /// The globally unique identifier for glossary term. - /// The request body. - /// The request options. + /// The content to send as the body of the request. + /// The request options. #pragma warning disable AZC0002 - public virtual Response AssignTermToEntities(string termGuid, RequestContent requestBody, RequestOptions requestOptions = null) + public virtual Response AssignTermToEntities(string termGuid, RequestContent content, RequestOptions options = null) #pragma warning restore AZC0002 { - requestOptions ??= new RequestOptions(); - HttpMessage message = CreateAssignTermToEntitiesRequest(termGuid, requestBody, requestOptions); - if (requestOptions.PerCallPolicy != null) + options ??= new RequestOptions(); + HttpMessage message = CreateAssignTermToEntitiesRequest(termGuid, content, options); + if (options.PerCallPolicy != null) { - message.SetProperty("RequestOptionsPerCallPolicyCallback", requestOptions.PerCallPolicy); + message.SetProperty("RequestOptionsPerCallPolicyCallback", options.PerCallPolicy); } using var scope = _clientDiagnostics.CreateScope("PurviewGlossaries.AssignTermToEntities"); scope.Start(); try { - Pipeline.Send(message, requestOptions.CancellationToken); - if (requestOptions.StatusOption == ResponseStatusOption.Default) + Pipeline.Send(message, options.CancellationToken); + if (options.StatusOption == ResponseStatusOption.Default) { switch (message.Response.Status) { @@ -7779,9 +7779,9 @@ public virtual Response AssignTermToEntities(string termGuid, RequestContent req /// Create Request for and operations. /// The globally unique identifier for glossary term. - /// The request body. - /// The request options. - private HttpMessage CreateAssignTermToEntitiesRequest(string termGuid, RequestContent requestBody, RequestOptions requestOptions = null) + /// The content to send as the body of the request. + /// The request options. + private HttpMessage CreateAssignTermToEntitiesRequest(string termGuid, RequestContent content, RequestOptions options = null) { var message = Pipeline.CreateMessage(); var request = message.Request; @@ -7794,7 +7794,7 @@ private HttpMessage CreateAssignTermToEntitiesRequest(string termGuid, RequestCo uri.AppendPath("/assignedEntities", false); request.Uri = uri; request.Headers.Add("Content-Type", "application/json"); - request.Content = requestBody; + request.Content = content; return message; } @@ -7802,12 +7802,12 @@ private HttpMessage CreateAssignTermToEntitiesRequest(string termGuid, RequestCo /// /// Schema for AtlasRelatedObjectId: /// - /// + /// /// Name /// Type /// Required /// Description - /// + /// /// /// guid /// string @@ -7865,12 +7865,12 @@ private HttpMessage CreateAssignTermToEntitiesRequest(string termGuid, RequestCo /// /// Schema for AtlasStruct: /// - /// + /// /// Name /// Type /// Required /// Description - /// + /// /// /// attributes /// Dictionary<string, AnyObject> @@ -7892,24 +7892,24 @@ private HttpMessage CreateAssignTermToEntitiesRequest(string termGuid, RequestCo /// /// /// The globally unique identifier for glossary term. - /// The request body. - /// The request options. + /// The content to send as the body of the request. + /// The request options. #pragma warning disable AZC0002 - public virtual async Task RemoveTermAssignmentFromEntitiesAsync(string termGuid, RequestContent requestBody, RequestOptions requestOptions = null) + public virtual async Task RemoveTermAssignmentFromEntitiesAsync(string termGuid, RequestContent content, RequestOptions options = null) #pragma warning restore AZC0002 { - requestOptions ??= new RequestOptions(); - HttpMessage message = CreateRemoveTermAssignmentFromEntitiesRequest(termGuid, requestBody, requestOptions); - if (requestOptions.PerCallPolicy != null) + options ??= new RequestOptions(); + HttpMessage message = CreateRemoveTermAssignmentFromEntitiesRequest(termGuid, content, options); + if (options.PerCallPolicy != null) { - message.SetProperty("RequestOptionsPerCallPolicyCallback", requestOptions.PerCallPolicy); + message.SetProperty("RequestOptionsPerCallPolicyCallback", options.PerCallPolicy); } using var scope = _clientDiagnostics.CreateScope("PurviewGlossaries.RemoveTermAssignmentFromEntities"); scope.Start(); try { - await Pipeline.SendAsync(message, requestOptions.CancellationToken).ConfigureAwait(false); - if (requestOptions.StatusOption == ResponseStatusOption.Default) + await Pipeline.SendAsync(message, options.CancellationToken).ConfigureAwait(false); + if (options.StatusOption == ResponseStatusOption.Default) { switch (message.Response.Status) { @@ -7935,12 +7935,12 @@ public virtual async Task RemoveTermAssignmentFromEntitiesAsync(string /// /// Schema for AtlasRelatedObjectId: /// - /// + /// /// Name /// Type /// Required /// Description - /// + /// /// /// guid /// string @@ -7998,12 +7998,12 @@ public virtual async Task RemoveTermAssignmentFromEntitiesAsync(string /// /// Schema for AtlasStruct: /// - /// + /// /// Name /// Type /// Required /// Description - /// + /// /// /// attributes /// Dictionary<string, AnyObject> @@ -8025,24 +8025,24 @@ public virtual async Task RemoveTermAssignmentFromEntitiesAsync(string /// /// /// The globally unique identifier for glossary term. - /// The request body. - /// The request options. + /// The content to send as the body of the request. + /// The request options. #pragma warning disable AZC0002 - public virtual Response RemoveTermAssignmentFromEntities(string termGuid, RequestContent requestBody, RequestOptions requestOptions = null) + public virtual Response RemoveTermAssignmentFromEntities(string termGuid, RequestContent content, RequestOptions options = null) #pragma warning restore AZC0002 { - requestOptions ??= new RequestOptions(); - HttpMessage message = CreateRemoveTermAssignmentFromEntitiesRequest(termGuid, requestBody, requestOptions); - if (requestOptions.PerCallPolicy != null) + options ??= new RequestOptions(); + HttpMessage message = CreateRemoveTermAssignmentFromEntitiesRequest(termGuid, content, options); + if (options.PerCallPolicy != null) { - message.SetProperty("RequestOptionsPerCallPolicyCallback", requestOptions.PerCallPolicy); + message.SetProperty("RequestOptionsPerCallPolicyCallback", options.PerCallPolicy); } using var scope = _clientDiagnostics.CreateScope("PurviewGlossaries.RemoveTermAssignmentFromEntities"); scope.Start(); try { - Pipeline.Send(message, requestOptions.CancellationToken); - if (requestOptions.StatusOption == ResponseStatusOption.Default) + Pipeline.Send(message, options.CancellationToken); + if (options.StatusOption == ResponseStatusOption.Default) { switch (message.Response.Status) { @@ -8066,9 +8066,9 @@ public virtual Response RemoveTermAssignmentFromEntities(string termGuid, Reques /// Create Request for and operations. /// The globally unique identifier for glossary term. - /// The request body. - /// The request options. - private HttpMessage CreateRemoveTermAssignmentFromEntitiesRequest(string termGuid, RequestContent requestBody, RequestOptions requestOptions = null) + /// The content to send as the body of the request. + /// The request options. + private HttpMessage CreateRemoveTermAssignmentFromEntitiesRequest(string termGuid, RequestContent content, RequestOptions options = null) { var message = Pipeline.CreateMessage(); var request = message.Request; @@ -8081,7 +8081,7 @@ private HttpMessage CreateRemoveTermAssignmentFromEntitiesRequest(string termGui uri.AppendPath("/assignedEntities", false); request.Uri = uri; request.Headers.Add("Content-Type", "application/json"); - request.Content = requestBody; + request.Content = content; return message; } @@ -8089,12 +8089,12 @@ private HttpMessage CreateRemoveTermAssignmentFromEntitiesRequest(string termGui /// /// Schema for AtlasRelatedObjectId: /// - /// + /// /// Name /// Type /// Required /// Description - /// + /// /// /// guid /// string @@ -8152,12 +8152,12 @@ private HttpMessage CreateRemoveTermAssignmentFromEntitiesRequest(string termGui /// /// Schema for AtlasStruct: /// - /// + /// /// Name /// Type /// Required /// Description - /// + /// /// /// attributes /// Dictionary<string, AnyObject> @@ -8179,24 +8179,24 @@ private HttpMessage CreateRemoveTermAssignmentFromEntitiesRequest(string termGui /// /// /// The globally unique identifier for glossary term. - /// The request body. - /// The request options. + /// The content to send as the body of the request. + /// The request options. #pragma warning disable AZC0002 - public virtual async Task DeleteTermAssignmentFromEntitiesAsync(string termGuid, RequestContent requestBody, RequestOptions requestOptions = null) + public virtual async Task DeleteTermAssignmentFromEntitiesAsync(string termGuid, RequestContent content, RequestOptions options = null) #pragma warning restore AZC0002 { - requestOptions ??= new RequestOptions(); - HttpMessage message = CreateDeleteTermAssignmentFromEntitiesRequest(termGuid, requestBody, requestOptions); - if (requestOptions.PerCallPolicy != null) + options ??= new RequestOptions(); + HttpMessage message = CreateDeleteTermAssignmentFromEntitiesRequest(termGuid, content, options); + if (options.PerCallPolicy != null) { - message.SetProperty("RequestOptionsPerCallPolicyCallback", requestOptions.PerCallPolicy); + message.SetProperty("RequestOptionsPerCallPolicyCallback", options.PerCallPolicy); } using var scope = _clientDiagnostics.CreateScope("PurviewGlossaries.DeleteTermAssignmentFromEntities"); scope.Start(); try { - await Pipeline.SendAsync(message, requestOptions.CancellationToken).ConfigureAwait(false); - if (requestOptions.StatusOption == ResponseStatusOption.Default) + await Pipeline.SendAsync(message, options.CancellationToken).ConfigureAwait(false); + if (options.StatusOption == ResponseStatusOption.Default) { switch (message.Response.Status) { @@ -8222,12 +8222,12 @@ public virtual async Task DeleteTermAssignmentFromEntitiesAsync(string /// /// Schema for AtlasRelatedObjectId: /// - /// + /// /// Name /// Type /// Required /// Description - /// + /// /// /// guid /// string @@ -8285,12 +8285,12 @@ public virtual async Task DeleteTermAssignmentFromEntitiesAsync(string /// /// Schema for AtlasStruct: /// - /// + /// /// Name /// Type /// Required /// Description - /// + /// /// /// attributes /// Dictionary<string, AnyObject> @@ -8312,24 +8312,24 @@ public virtual async Task DeleteTermAssignmentFromEntitiesAsync(string /// /// /// The globally unique identifier for glossary term. - /// The request body. - /// The request options. + /// The content to send as the body of the request. + /// The request options. #pragma warning disable AZC0002 - public virtual Response DeleteTermAssignmentFromEntities(string termGuid, RequestContent requestBody, RequestOptions requestOptions = null) + public virtual Response DeleteTermAssignmentFromEntities(string termGuid, RequestContent content, RequestOptions options = null) #pragma warning restore AZC0002 { - requestOptions ??= new RequestOptions(); - HttpMessage message = CreateDeleteTermAssignmentFromEntitiesRequest(termGuid, requestBody, requestOptions); - if (requestOptions.PerCallPolicy != null) + options ??= new RequestOptions(); + HttpMessage message = CreateDeleteTermAssignmentFromEntitiesRequest(termGuid, content, options); + if (options.PerCallPolicy != null) { - message.SetProperty("RequestOptionsPerCallPolicyCallback", requestOptions.PerCallPolicy); + message.SetProperty("RequestOptionsPerCallPolicyCallback", options.PerCallPolicy); } using var scope = _clientDiagnostics.CreateScope("PurviewGlossaries.DeleteTermAssignmentFromEntities"); scope.Start(); try { - Pipeline.Send(message, requestOptions.CancellationToken); - if (requestOptions.StatusOption == ResponseStatusOption.Default) + Pipeline.Send(message, options.CancellationToken); + if (options.StatusOption == ResponseStatusOption.Default) { switch (message.Response.Status) { @@ -8353,9 +8353,9 @@ public virtual Response DeleteTermAssignmentFromEntities(string termGuid, Reques /// Create Request for and operations. /// The globally unique identifier for glossary term. - /// The request body. - /// The request options. - private HttpMessage CreateDeleteTermAssignmentFromEntitiesRequest(string termGuid, RequestContent requestBody, RequestOptions requestOptions = null) + /// The content to send as the body of the request. + /// The request options. + private HttpMessage CreateDeleteTermAssignmentFromEntitiesRequest(string termGuid, RequestContent content, RequestOptions options = null) { var message = Pipeline.CreateMessage(); var request = message.Request; @@ -8368,7 +8368,7 @@ private HttpMessage CreateDeleteTermAssignmentFromEntitiesRequest(string termGui uri.AppendPath("/assignedEntities", false); request.Uri = uri; request.Headers.Add("Content-Type", "application/json"); - request.Content = requestBody; + request.Content = content; return message; } @@ -8377,23 +8377,23 @@ private HttpMessage CreateDeleteTermAssignmentFromEntitiesRequest(string termGui /// The page size - by default there is no paging. /// The offset for pagination purpose. /// The sort order, ASC (default) or DESC. - /// The request options. + /// The request options. #pragma warning disable AZC0002 - public virtual async Task GetRelatedTermsAsync(string termGuid, int? limit = null, int? offset = null, string sort = null, RequestOptions requestOptions = null) + public virtual async Task GetRelatedTermsAsync(string termGuid, int? limit = null, int? offset = null, string sort = null, RequestOptions options = null) #pragma warning restore AZC0002 { - requestOptions ??= new RequestOptions(); - HttpMessage message = CreateGetRelatedTermsRequest(termGuid, limit, offset, sort, requestOptions); - if (requestOptions.PerCallPolicy != null) + options ??= new RequestOptions(); + HttpMessage message = CreateGetRelatedTermsRequest(termGuid, limit, offset, sort, options); + if (options.PerCallPolicy != null) { - message.SetProperty("RequestOptionsPerCallPolicyCallback", requestOptions.PerCallPolicy); + message.SetProperty("RequestOptionsPerCallPolicyCallback", options.PerCallPolicy); } using var scope = _clientDiagnostics.CreateScope("PurviewGlossaries.GetRelatedTerms"); scope.Start(); try { - await Pipeline.SendAsync(message, requestOptions.CancellationToken).ConfigureAwait(false); - if (requestOptions.StatusOption == ResponseStatusOption.Default) + await Pipeline.SendAsync(message, options.CancellationToken).ConfigureAwait(false); + if (options.StatusOption == ResponseStatusOption.Default) { switch (message.Response.Status) { @@ -8420,23 +8420,23 @@ public virtual async Task GetRelatedTermsAsync(string termGuid, int? l /// The page size - by default there is no paging. /// The offset for pagination purpose. /// The sort order, ASC (default) or DESC. - /// The request options. + /// The request options. #pragma warning disable AZC0002 - public virtual Response GetRelatedTerms(string termGuid, int? limit = null, int? offset = null, string sort = null, RequestOptions requestOptions = null) + public virtual Response GetRelatedTerms(string termGuid, int? limit = null, int? offset = null, string sort = null, RequestOptions options = null) #pragma warning restore AZC0002 { - requestOptions ??= new RequestOptions(); - HttpMessage message = CreateGetRelatedTermsRequest(termGuid, limit, offset, sort, requestOptions); - if (requestOptions.PerCallPolicy != null) + options ??= new RequestOptions(); + HttpMessage message = CreateGetRelatedTermsRequest(termGuid, limit, offset, sort, options); + if (options.PerCallPolicy != null) { - message.SetProperty("RequestOptionsPerCallPolicyCallback", requestOptions.PerCallPolicy); + message.SetProperty("RequestOptionsPerCallPolicyCallback", options.PerCallPolicy); } using var scope = _clientDiagnostics.CreateScope("PurviewGlossaries.GetRelatedTerms"); scope.Start(); try { - Pipeline.Send(message, requestOptions.CancellationToken); - if (requestOptions.StatusOption == ResponseStatusOption.Default) + Pipeline.Send(message, options.CancellationToken); + if (options.StatusOption == ResponseStatusOption.Default) { switch (message.Response.Status) { @@ -8463,8 +8463,8 @@ public virtual Response GetRelatedTerms(string termGuid, int? limit = null, int? /// The page size - by default there is no paging. /// The offset for pagination purpose. /// The sort order, ASC (default) or DESC. - /// The request options. - private HttpMessage CreateGetRelatedTermsRequest(string termGuid, int? limit = null, int? offset = null, string sort = null, RequestOptions requestOptions = null) + /// The request options. + private HttpMessage CreateGetRelatedTermsRequest(string termGuid, int? limit = null, int? offset = null, string sort = null, RequestOptions options = null) { var message = Pipeline.CreateMessage(); var request = message.Request; @@ -8494,23 +8494,23 @@ private HttpMessage CreateGetRelatedTermsRequest(string termGuid, int? limit = n /// Get a specific Glossary by its GUID. /// The globally unique identifier for glossary. - /// The request options. + /// The request options. #pragma warning disable AZC0002 - public virtual async Task GetGlossaryAsync(string glossaryGuid, RequestOptions requestOptions = null) + public virtual async Task GetGlossaryAsync(string glossaryGuid, RequestOptions options = null) #pragma warning restore AZC0002 { - requestOptions ??= new RequestOptions(); - HttpMessage message = CreateGetGlossaryRequest(glossaryGuid, requestOptions); - if (requestOptions.PerCallPolicy != null) + options ??= new RequestOptions(); + HttpMessage message = CreateGetGlossaryRequest(glossaryGuid, options); + if (options.PerCallPolicy != null) { - message.SetProperty("RequestOptionsPerCallPolicyCallback", requestOptions.PerCallPolicy); + message.SetProperty("RequestOptionsPerCallPolicyCallback", options.PerCallPolicy); } using var scope = _clientDiagnostics.CreateScope("PurviewGlossaries.GetGlossary"); scope.Start(); try { - await Pipeline.SendAsync(message, requestOptions.CancellationToken).ConfigureAwait(false); - if (requestOptions.StatusOption == ResponseStatusOption.Default) + await Pipeline.SendAsync(message, options.CancellationToken).ConfigureAwait(false); + if (options.StatusOption == ResponseStatusOption.Default) { switch (message.Response.Status) { @@ -8534,23 +8534,23 @@ public virtual async Task GetGlossaryAsync(string glossaryGuid, Reques /// Get a specific Glossary by its GUID. /// The globally unique identifier for glossary. - /// The request options. + /// The request options. #pragma warning disable AZC0002 - public virtual Response GetGlossary(string glossaryGuid, RequestOptions requestOptions = null) + public virtual Response GetGlossary(string glossaryGuid, RequestOptions options = null) #pragma warning restore AZC0002 { - requestOptions ??= new RequestOptions(); - HttpMessage message = CreateGetGlossaryRequest(glossaryGuid, requestOptions); - if (requestOptions.PerCallPolicy != null) + options ??= new RequestOptions(); + HttpMessage message = CreateGetGlossaryRequest(glossaryGuid, options); + if (options.PerCallPolicy != null) { - message.SetProperty("RequestOptionsPerCallPolicyCallback", requestOptions.PerCallPolicy); + message.SetProperty("RequestOptionsPerCallPolicyCallback", options.PerCallPolicy); } using var scope = _clientDiagnostics.CreateScope("PurviewGlossaries.GetGlossary"); scope.Start(); try { - Pipeline.Send(message, requestOptions.CancellationToken); - if (requestOptions.StatusOption == ResponseStatusOption.Default) + Pipeline.Send(message, options.CancellationToken); + if (options.StatusOption == ResponseStatusOption.Default) { switch (message.Response.Status) { @@ -8574,8 +8574,8 @@ public virtual Response GetGlossary(string glossaryGuid, RequestOptions requestO /// Create Request for and operations. /// The globally unique identifier for glossary. - /// The request options. - private HttpMessage CreateGetGlossaryRequest(string glossaryGuid, RequestOptions requestOptions = null) + /// The request options. + private HttpMessage CreateGetGlossaryRequest(string glossaryGuid, RequestOptions options = null) { var message = Pipeline.CreateMessage(); var request = message.Request; @@ -8594,12 +8594,12 @@ private HttpMessage CreateGetGlossaryRequest(string glossaryGuid, RequestOptions /// /// Schema for Request Body: /// - /// + /// /// Name /// Type /// Required /// Description - /// + /// /// /// classifications /// AtlasClassification[] @@ -8669,12 +8669,12 @@ private HttpMessage CreateGetGlossaryRequest(string glossaryGuid, RequestOptions /// /// Schema for AtlasClassification: /// - /// + /// /// Name /// Type /// Required /// Description - /// + /// /// /// attributes /// Dictionary<string, AnyObject> @@ -8732,12 +8732,12 @@ private HttpMessage CreateGetGlossaryRequest(string glossaryGuid, RequestOptions /// /// Schema for AtlasRelatedCategoryHeader: /// - /// + /// /// Name /// Type /// Required /// Description - /// + /// /// /// categoryGuid /// string @@ -8771,12 +8771,12 @@ private HttpMessage CreateGetGlossaryRequest(string glossaryGuid, RequestOptions /// /// Schema for AtlasRelatedTermHeader: /// - /// + /// /// Name /// Type /// Required /// Description - /// + /// /// /// description /// string @@ -8828,12 +8828,12 @@ private HttpMessage CreateGetGlossaryRequest(string glossaryGuid, RequestOptions /// /// Schema for TimeBoundary: /// - /// + /// /// Name /// Type /// Required /// Description - /// + /// /// /// endTime /// string @@ -8855,24 +8855,24 @@ private HttpMessage CreateGetGlossaryRequest(string glossaryGuid, RequestOptions /// /// /// The globally unique identifier for glossary. - /// The request body. - /// The request options. + /// The content to send as the body of the request. + /// The request options. #pragma warning disable AZC0002 - public virtual async Task UpdateGlossaryAsync(string glossaryGuid, RequestContent requestBody, RequestOptions requestOptions = null) + public virtual async Task UpdateGlossaryAsync(string glossaryGuid, RequestContent content, RequestOptions options = null) #pragma warning restore AZC0002 { - requestOptions ??= new RequestOptions(); - HttpMessage message = CreateUpdateGlossaryRequest(glossaryGuid, requestBody, requestOptions); - if (requestOptions.PerCallPolicy != null) + options ??= new RequestOptions(); + HttpMessage message = CreateUpdateGlossaryRequest(glossaryGuid, content, options); + if (options.PerCallPolicy != null) { - message.SetProperty("RequestOptionsPerCallPolicyCallback", requestOptions.PerCallPolicy); + message.SetProperty("RequestOptionsPerCallPolicyCallback", options.PerCallPolicy); } using var scope = _clientDiagnostics.CreateScope("PurviewGlossaries.UpdateGlossary"); scope.Start(); try { - await Pipeline.SendAsync(message, requestOptions.CancellationToken).ConfigureAwait(false); - if (requestOptions.StatusOption == ResponseStatusOption.Default) + await Pipeline.SendAsync(message, options.CancellationToken).ConfigureAwait(false); + if (options.StatusOption == ResponseStatusOption.Default) { switch (message.Response.Status) { @@ -8898,12 +8898,12 @@ public virtual async Task UpdateGlossaryAsync(string glossaryGuid, Req /// /// Schema for Request Body: /// - /// + /// /// Name /// Type /// Required /// Description - /// + /// /// /// classifications /// AtlasClassification[] @@ -8973,12 +8973,12 @@ public virtual async Task UpdateGlossaryAsync(string glossaryGuid, Req /// /// Schema for AtlasClassification: /// - /// + /// /// Name /// Type /// Required /// Description - /// + /// /// /// attributes /// Dictionary<string, AnyObject> @@ -9036,12 +9036,12 @@ public virtual async Task UpdateGlossaryAsync(string glossaryGuid, Req /// /// Schema for AtlasRelatedCategoryHeader: /// - /// + /// /// Name /// Type /// Required /// Description - /// + /// /// /// categoryGuid /// string @@ -9075,12 +9075,12 @@ public virtual async Task UpdateGlossaryAsync(string glossaryGuid, Req /// /// Schema for AtlasRelatedTermHeader: /// - /// + /// /// Name /// Type /// Required /// Description - /// + /// /// /// description /// string @@ -9132,12 +9132,12 @@ public virtual async Task UpdateGlossaryAsync(string glossaryGuid, Req /// /// Schema for TimeBoundary: /// - /// + /// /// Name /// Type /// Required /// Description - /// + /// /// /// endTime /// string @@ -9159,24 +9159,24 @@ public virtual async Task UpdateGlossaryAsync(string glossaryGuid, Req /// /// /// The globally unique identifier for glossary. - /// The request body. - /// The request options. + /// The content to send as the body of the request. + /// The request options. #pragma warning disable AZC0002 - public virtual Response UpdateGlossary(string glossaryGuid, RequestContent requestBody, RequestOptions requestOptions = null) + public virtual Response UpdateGlossary(string glossaryGuid, RequestContent content, RequestOptions options = null) #pragma warning restore AZC0002 { - requestOptions ??= new RequestOptions(); - HttpMessage message = CreateUpdateGlossaryRequest(glossaryGuid, requestBody, requestOptions); - if (requestOptions.PerCallPolicy != null) + options ??= new RequestOptions(); + HttpMessage message = CreateUpdateGlossaryRequest(glossaryGuid, content, options); + if (options.PerCallPolicy != null) { - message.SetProperty("RequestOptionsPerCallPolicyCallback", requestOptions.PerCallPolicy); + message.SetProperty("RequestOptionsPerCallPolicyCallback", options.PerCallPolicy); } using var scope = _clientDiagnostics.CreateScope("PurviewGlossaries.UpdateGlossary"); scope.Start(); try { - Pipeline.Send(message, requestOptions.CancellationToken); - if (requestOptions.StatusOption == ResponseStatusOption.Default) + Pipeline.Send(message, options.CancellationToken); + if (options.StatusOption == ResponseStatusOption.Default) { switch (message.Response.Status) { @@ -9200,9 +9200,9 @@ public virtual Response UpdateGlossary(string glossaryGuid, RequestContent reque /// Create Request for and operations. /// The globally unique identifier for glossary. - /// The request body. - /// The request options. - private HttpMessage CreateUpdateGlossaryRequest(string glossaryGuid, RequestContent requestBody, RequestOptions requestOptions = null) + /// The content to send as the body of the request. + /// The request options. + private HttpMessage CreateUpdateGlossaryRequest(string glossaryGuid, RequestContent content, RequestOptions options = null) { var message = Pipeline.CreateMessage(); var request = message.Request; @@ -9215,29 +9215,29 @@ private HttpMessage CreateUpdateGlossaryRequest(string glossaryGuid, RequestCont request.Uri = uri; request.Headers.Add("Accept", "application/json"); request.Headers.Add("Content-Type", "application/json"); - request.Content = requestBody; + request.Content = content; return message; } /// Delete a glossary. /// The globally unique identifier for glossary. - /// The request options. + /// The request options. #pragma warning disable AZC0002 - public virtual async Task DeleteGlossaryAsync(string glossaryGuid, RequestOptions requestOptions = null) + public virtual async Task DeleteGlossaryAsync(string glossaryGuid, RequestOptions options = null) #pragma warning restore AZC0002 { - requestOptions ??= new RequestOptions(); - HttpMessage message = CreateDeleteGlossaryRequest(glossaryGuid, requestOptions); - if (requestOptions.PerCallPolicy != null) + options ??= new RequestOptions(); + HttpMessage message = CreateDeleteGlossaryRequest(glossaryGuid, options); + if (options.PerCallPolicy != null) { - message.SetProperty("RequestOptionsPerCallPolicyCallback", requestOptions.PerCallPolicy); + message.SetProperty("RequestOptionsPerCallPolicyCallback", options.PerCallPolicy); } using var scope = _clientDiagnostics.CreateScope("PurviewGlossaries.DeleteGlossary"); scope.Start(); try { - await Pipeline.SendAsync(message, requestOptions.CancellationToken).ConfigureAwait(false); - if (requestOptions.StatusOption == ResponseStatusOption.Default) + await Pipeline.SendAsync(message, options.CancellationToken).ConfigureAwait(false); + if (options.StatusOption == ResponseStatusOption.Default) { switch (message.Response.Status) { @@ -9261,23 +9261,23 @@ public virtual async Task DeleteGlossaryAsync(string glossaryGuid, Req /// Delete a glossary. /// The globally unique identifier for glossary. - /// The request options. + /// The request options. #pragma warning disable AZC0002 - public virtual Response DeleteGlossary(string glossaryGuid, RequestOptions requestOptions = null) + public virtual Response DeleteGlossary(string glossaryGuid, RequestOptions options = null) #pragma warning restore AZC0002 { - requestOptions ??= new RequestOptions(); - HttpMessage message = CreateDeleteGlossaryRequest(glossaryGuid, requestOptions); - if (requestOptions.PerCallPolicy != null) + options ??= new RequestOptions(); + HttpMessage message = CreateDeleteGlossaryRequest(glossaryGuid, options); + if (options.PerCallPolicy != null) { - message.SetProperty("RequestOptionsPerCallPolicyCallback", requestOptions.PerCallPolicy); + message.SetProperty("RequestOptionsPerCallPolicyCallback", options.PerCallPolicy); } using var scope = _clientDiagnostics.CreateScope("PurviewGlossaries.DeleteGlossary"); scope.Start(); try { - Pipeline.Send(message, requestOptions.CancellationToken); - if (requestOptions.StatusOption == ResponseStatusOption.Default) + Pipeline.Send(message, options.CancellationToken); + if (options.StatusOption == ResponseStatusOption.Default) { switch (message.Response.Status) { @@ -9301,8 +9301,8 @@ public virtual Response DeleteGlossary(string glossaryGuid, RequestOptions reque /// Create Request for and operations. /// The globally unique identifier for glossary. - /// The request options. - private HttpMessage CreateDeleteGlossaryRequest(string glossaryGuid, RequestOptions requestOptions = null) + /// The request options. + private HttpMessage CreateDeleteGlossaryRequest(string glossaryGuid, RequestOptions options = null) { var message = Pipeline.CreateMessage(); var request = message.Request; @@ -9321,23 +9321,23 @@ private HttpMessage CreateDeleteGlossaryRequest(string glossaryGuid, RequestOpti /// The page size - by default there is no paging. /// The offset for pagination purpose. /// The sort order, ASC (default) or DESC. - /// The request options. + /// The request options. #pragma warning disable AZC0002 - public virtual async Task GetGlossaryCategoriesAsync(string glossaryGuid, int? limit = null, int? offset = null, string sort = null, RequestOptions requestOptions = null) + public virtual async Task GetGlossaryCategoriesAsync(string glossaryGuid, int? limit = null, int? offset = null, string sort = null, RequestOptions options = null) #pragma warning restore AZC0002 { - requestOptions ??= new RequestOptions(); - HttpMessage message = CreateGetGlossaryCategoriesRequest(glossaryGuid, limit, offset, sort, requestOptions); - if (requestOptions.PerCallPolicy != null) + options ??= new RequestOptions(); + HttpMessage message = CreateGetGlossaryCategoriesRequest(glossaryGuid, limit, offset, sort, options); + if (options.PerCallPolicy != null) { - message.SetProperty("RequestOptionsPerCallPolicyCallback", requestOptions.PerCallPolicy); + message.SetProperty("RequestOptionsPerCallPolicyCallback", options.PerCallPolicy); } using var scope = _clientDiagnostics.CreateScope("PurviewGlossaries.GetGlossaryCategories"); scope.Start(); try { - await Pipeline.SendAsync(message, requestOptions.CancellationToken).ConfigureAwait(false); - if (requestOptions.StatusOption == ResponseStatusOption.Default) + await Pipeline.SendAsync(message, options.CancellationToken).ConfigureAwait(false); + if (options.StatusOption == ResponseStatusOption.Default) { switch (message.Response.Status) { @@ -9364,23 +9364,23 @@ public virtual async Task GetGlossaryCategoriesAsync(string glossaryGu /// The page size - by default there is no paging. /// The offset for pagination purpose. /// The sort order, ASC (default) or DESC. - /// The request options. + /// The request options. #pragma warning disable AZC0002 - public virtual Response GetGlossaryCategories(string glossaryGuid, int? limit = null, int? offset = null, string sort = null, RequestOptions requestOptions = null) + public virtual Response GetGlossaryCategories(string glossaryGuid, int? limit = null, int? offset = null, string sort = null, RequestOptions options = null) #pragma warning restore AZC0002 { - requestOptions ??= new RequestOptions(); - HttpMessage message = CreateGetGlossaryCategoriesRequest(glossaryGuid, limit, offset, sort, requestOptions); - if (requestOptions.PerCallPolicy != null) + options ??= new RequestOptions(); + HttpMessage message = CreateGetGlossaryCategoriesRequest(glossaryGuid, limit, offset, sort, options); + if (options.PerCallPolicy != null) { - message.SetProperty("RequestOptionsPerCallPolicyCallback", requestOptions.PerCallPolicy); + message.SetProperty("RequestOptionsPerCallPolicyCallback", options.PerCallPolicy); } using var scope = _clientDiagnostics.CreateScope("PurviewGlossaries.GetGlossaryCategories"); scope.Start(); try { - Pipeline.Send(message, requestOptions.CancellationToken); - if (requestOptions.StatusOption == ResponseStatusOption.Default) + Pipeline.Send(message, options.CancellationToken); + if (options.StatusOption == ResponseStatusOption.Default) { switch (message.Response.Status) { @@ -9407,8 +9407,8 @@ public virtual Response GetGlossaryCategories(string glossaryGuid, int? limit = /// The page size - by default there is no paging. /// The offset for pagination purpose. /// The sort order, ASC (default) or DESC. - /// The request options. - private HttpMessage CreateGetGlossaryCategoriesRequest(string glossaryGuid, int? limit = null, int? offset = null, string sort = null, RequestOptions requestOptions = null) + /// The request options. + private HttpMessage CreateGetGlossaryCategoriesRequest(string glossaryGuid, int? limit = null, int? offset = null, string sort = null, RequestOptions options = null) { var message = Pipeline.CreateMessage(); var request = message.Request; @@ -9441,23 +9441,23 @@ private HttpMessage CreateGetGlossaryCategoriesRequest(string glossaryGuid, int? /// The page size - by default there is no paging. /// The offset for pagination purpose. /// The sort order, ASC (default) or DESC. - /// The request options. + /// The request options. #pragma warning disable AZC0002 - public virtual async Task GetGlossaryCategoriesHeadersAsync(string glossaryGuid, int? limit = null, int? offset = null, string sort = null, RequestOptions requestOptions = null) + public virtual async Task GetGlossaryCategoriesHeadersAsync(string glossaryGuid, int? limit = null, int? offset = null, string sort = null, RequestOptions options = null) #pragma warning restore AZC0002 { - requestOptions ??= new RequestOptions(); - HttpMessage message = CreateGetGlossaryCategoriesHeadersRequest(glossaryGuid, limit, offset, sort, requestOptions); - if (requestOptions.PerCallPolicy != null) + options ??= new RequestOptions(); + HttpMessage message = CreateGetGlossaryCategoriesHeadersRequest(glossaryGuid, limit, offset, sort, options); + if (options.PerCallPolicy != null) { - message.SetProperty("RequestOptionsPerCallPolicyCallback", requestOptions.PerCallPolicy); + message.SetProperty("RequestOptionsPerCallPolicyCallback", options.PerCallPolicy); } using var scope = _clientDiagnostics.CreateScope("PurviewGlossaries.GetGlossaryCategoriesHeaders"); scope.Start(); try { - await Pipeline.SendAsync(message, requestOptions.CancellationToken).ConfigureAwait(false); - if (requestOptions.StatusOption == ResponseStatusOption.Default) + await Pipeline.SendAsync(message, options.CancellationToken).ConfigureAwait(false); + if (options.StatusOption == ResponseStatusOption.Default) { switch (message.Response.Status) { @@ -9484,23 +9484,23 @@ public virtual async Task GetGlossaryCategoriesHeadersAsync(string glo /// The page size - by default there is no paging. /// The offset for pagination purpose. /// The sort order, ASC (default) or DESC. - /// The request options. + /// The request options. #pragma warning disable AZC0002 - public virtual Response GetGlossaryCategoriesHeaders(string glossaryGuid, int? limit = null, int? offset = null, string sort = null, RequestOptions requestOptions = null) + public virtual Response GetGlossaryCategoriesHeaders(string glossaryGuid, int? limit = null, int? offset = null, string sort = null, RequestOptions options = null) #pragma warning restore AZC0002 { - requestOptions ??= new RequestOptions(); - HttpMessage message = CreateGetGlossaryCategoriesHeadersRequest(glossaryGuid, limit, offset, sort, requestOptions); - if (requestOptions.PerCallPolicy != null) + options ??= new RequestOptions(); + HttpMessage message = CreateGetGlossaryCategoriesHeadersRequest(glossaryGuid, limit, offset, sort, options); + if (options.PerCallPolicy != null) { - message.SetProperty("RequestOptionsPerCallPolicyCallback", requestOptions.PerCallPolicy); + message.SetProperty("RequestOptionsPerCallPolicyCallback", options.PerCallPolicy); } using var scope = _clientDiagnostics.CreateScope("PurviewGlossaries.GetGlossaryCategoriesHeaders"); scope.Start(); try { - Pipeline.Send(message, requestOptions.CancellationToken); - if (requestOptions.StatusOption == ResponseStatusOption.Default) + Pipeline.Send(message, options.CancellationToken); + if (options.StatusOption == ResponseStatusOption.Default) { switch (message.Response.Status) { @@ -9527,8 +9527,8 @@ public virtual Response GetGlossaryCategoriesHeaders(string glossaryGuid, int? l /// The page size - by default there is no paging. /// The offset for pagination purpose. /// The sort order, ASC (default) or DESC. - /// The request options. - private HttpMessage CreateGetGlossaryCategoriesHeadersRequest(string glossaryGuid, int? limit = null, int? offset = null, string sort = null, RequestOptions requestOptions = null) + /// The request options. + private HttpMessage CreateGetGlossaryCategoriesHeadersRequest(string glossaryGuid, int? limit = null, int? offset = null, string sort = null, RequestOptions options = null) { var message = Pipeline.CreateMessage(); var request = message.Request; @@ -9559,23 +9559,23 @@ private HttpMessage CreateGetGlossaryCategoriesHeadersRequest(string glossaryGui /// Get a specific glossary with detailed information. /// The globally unique identifier for glossary. /// Whether include term hierarchy. - /// The request options. + /// The request options. #pragma warning disable AZC0002 - public virtual async Task GetDetailedGlossaryAsync(string glossaryGuid, bool? includeTermHierarchy = null, RequestOptions requestOptions = null) + public virtual async Task GetDetailedGlossaryAsync(string glossaryGuid, bool? includeTermHierarchy = null, RequestOptions options = null) #pragma warning restore AZC0002 { - requestOptions ??= new RequestOptions(); - HttpMessage message = CreateGetDetailedGlossaryRequest(glossaryGuid, includeTermHierarchy, requestOptions); - if (requestOptions.PerCallPolicy != null) + options ??= new RequestOptions(); + HttpMessage message = CreateGetDetailedGlossaryRequest(glossaryGuid, includeTermHierarchy, options); + if (options.PerCallPolicy != null) { - message.SetProperty("RequestOptionsPerCallPolicyCallback", requestOptions.PerCallPolicy); + message.SetProperty("RequestOptionsPerCallPolicyCallback", options.PerCallPolicy); } using var scope = _clientDiagnostics.CreateScope("PurviewGlossaries.GetDetailedGlossary"); scope.Start(); try { - await Pipeline.SendAsync(message, requestOptions.CancellationToken).ConfigureAwait(false); - if (requestOptions.StatusOption == ResponseStatusOption.Default) + await Pipeline.SendAsync(message, options.CancellationToken).ConfigureAwait(false); + if (options.StatusOption == ResponseStatusOption.Default) { switch (message.Response.Status) { @@ -9600,23 +9600,23 @@ public virtual async Task GetDetailedGlossaryAsync(string glossaryGuid /// Get a specific glossary with detailed information. /// The globally unique identifier for glossary. /// Whether include term hierarchy. - /// The request options. + /// The request options. #pragma warning disable AZC0002 - public virtual Response GetDetailedGlossary(string glossaryGuid, bool? includeTermHierarchy = null, RequestOptions requestOptions = null) + public virtual Response GetDetailedGlossary(string glossaryGuid, bool? includeTermHierarchy = null, RequestOptions options = null) #pragma warning restore AZC0002 { - requestOptions ??= new RequestOptions(); - HttpMessage message = CreateGetDetailedGlossaryRequest(glossaryGuid, includeTermHierarchy, requestOptions); - if (requestOptions.PerCallPolicy != null) + options ??= new RequestOptions(); + HttpMessage message = CreateGetDetailedGlossaryRequest(glossaryGuid, includeTermHierarchy, options); + if (options.PerCallPolicy != null) { - message.SetProperty("RequestOptionsPerCallPolicyCallback", requestOptions.PerCallPolicy); + message.SetProperty("RequestOptionsPerCallPolicyCallback", options.PerCallPolicy); } using var scope = _clientDiagnostics.CreateScope("PurviewGlossaries.GetDetailedGlossary"); scope.Start(); try { - Pipeline.Send(message, requestOptions.CancellationToken); - if (requestOptions.StatusOption == ResponseStatusOption.Default) + Pipeline.Send(message, options.CancellationToken); + if (options.StatusOption == ResponseStatusOption.Default) { switch (message.Response.Status) { @@ -9641,8 +9641,8 @@ public virtual Response GetDetailedGlossary(string glossaryGuid, bool? includeTe /// Create Request for and operations. /// The globally unique identifier for glossary. /// Whether include term hierarchy. - /// The request options. - private HttpMessage CreateGetDetailedGlossaryRequest(string glossaryGuid, bool? includeTermHierarchy = null, RequestOptions requestOptions = null) + /// The request options. + private HttpMessage CreateGetDetailedGlossaryRequest(string glossaryGuid, bool? includeTermHierarchy = null, RequestOptions options = null) { var message = Pipeline.CreateMessage(); var request = message.Request; @@ -9664,25 +9664,25 @@ private HttpMessage CreateGetDetailedGlossaryRequest(string glossaryGuid, bool? /// Update the glossary partially. Some properties such as qualifiedName are not allowed to be updated. /// The globally unique identifier for glossary. - /// The request body. + /// The content to send as the body of the request. /// Whether include term hierarchy. - /// The request options. + /// The request options. #pragma warning disable AZC0002 - public virtual async Task PartialUpdateGlossaryAsync(string glossaryGuid, RequestContent requestBody, bool? includeTermHierarchy = null, RequestOptions requestOptions = null) + public virtual async Task PartialUpdateGlossaryAsync(string glossaryGuid, RequestContent content, bool? includeTermHierarchy = null, RequestOptions options = null) #pragma warning restore AZC0002 { - requestOptions ??= new RequestOptions(); - HttpMessage message = CreatePartialUpdateGlossaryRequest(glossaryGuid, requestBody, includeTermHierarchy, requestOptions); - if (requestOptions.PerCallPolicy != null) + options ??= new RequestOptions(); + HttpMessage message = CreatePartialUpdateGlossaryRequest(glossaryGuid, content, includeTermHierarchy, options); + if (options.PerCallPolicy != null) { - message.SetProperty("RequestOptionsPerCallPolicyCallback", requestOptions.PerCallPolicy); + message.SetProperty("RequestOptionsPerCallPolicyCallback", options.PerCallPolicy); } using var scope = _clientDiagnostics.CreateScope("PurviewGlossaries.PartialUpdateGlossary"); scope.Start(); try { - await Pipeline.SendAsync(message, requestOptions.CancellationToken).ConfigureAwait(false); - if (requestOptions.StatusOption == ResponseStatusOption.Default) + await Pipeline.SendAsync(message, options.CancellationToken).ConfigureAwait(false); + if (options.StatusOption == ResponseStatusOption.Default) { switch (message.Response.Status) { @@ -9706,25 +9706,25 @@ public virtual async Task PartialUpdateGlossaryAsync(string glossaryGu /// Update the glossary partially. Some properties such as qualifiedName are not allowed to be updated. /// The globally unique identifier for glossary. - /// The request body. + /// The content to send as the body of the request. /// Whether include term hierarchy. - /// The request options. + /// The request options. #pragma warning disable AZC0002 - public virtual Response PartialUpdateGlossary(string glossaryGuid, RequestContent requestBody, bool? includeTermHierarchy = null, RequestOptions requestOptions = null) + public virtual Response PartialUpdateGlossary(string glossaryGuid, RequestContent content, bool? includeTermHierarchy = null, RequestOptions options = null) #pragma warning restore AZC0002 { - requestOptions ??= new RequestOptions(); - HttpMessage message = CreatePartialUpdateGlossaryRequest(glossaryGuid, requestBody, includeTermHierarchy, requestOptions); - if (requestOptions.PerCallPolicy != null) + options ??= new RequestOptions(); + HttpMessage message = CreatePartialUpdateGlossaryRequest(glossaryGuid, content, includeTermHierarchy, options); + if (options.PerCallPolicy != null) { - message.SetProperty("RequestOptionsPerCallPolicyCallback", requestOptions.PerCallPolicy); + message.SetProperty("RequestOptionsPerCallPolicyCallback", options.PerCallPolicy); } using var scope = _clientDiagnostics.CreateScope("PurviewGlossaries.PartialUpdateGlossary"); scope.Start(); try { - Pipeline.Send(message, requestOptions.CancellationToken); - if (requestOptions.StatusOption == ResponseStatusOption.Default) + Pipeline.Send(message, options.CancellationToken); + if (options.StatusOption == ResponseStatusOption.Default) { switch (message.Response.Status) { @@ -9748,10 +9748,10 @@ public virtual Response PartialUpdateGlossary(string glossaryGuid, RequestConten /// Create Request for and operations. /// The globally unique identifier for glossary. - /// The request body. + /// The content to send as the body of the request. /// Whether include term hierarchy. - /// The request options. - private HttpMessage CreatePartialUpdateGlossaryRequest(string glossaryGuid, RequestContent requestBody, bool? includeTermHierarchy = null, RequestOptions requestOptions = null) + /// The request options. + private HttpMessage CreatePartialUpdateGlossaryRequest(string glossaryGuid, RequestContent content, bool? includeTermHierarchy = null, RequestOptions options = null) { var message = Pipeline.CreateMessage(); var request = message.Request; @@ -9769,7 +9769,7 @@ private HttpMessage CreatePartialUpdateGlossaryRequest(string glossaryGuid, Requ request.Uri = uri; request.Headers.Add("Accept", "application/json"); request.Headers.Add("Content-Type", "application/json"); - request.Content = requestBody; + request.Content = content; return message; } @@ -9779,23 +9779,23 @@ private HttpMessage CreatePartialUpdateGlossaryRequest(string glossaryGuid, Requ /// The page size - by default there is no paging. /// The offset for pagination purpose. /// The sort order, ASC (default) or DESC. - /// The request options. + /// The request options. #pragma warning disable AZC0002 - public virtual async Task GetGlossaryTermsAsync(string glossaryGuid, bool? includeTermHierarchy = null, int? limit = null, int? offset = null, string sort = null, RequestOptions requestOptions = null) + public virtual async Task GetGlossaryTermsAsync(string glossaryGuid, bool? includeTermHierarchy = null, int? limit = null, int? offset = null, string sort = null, RequestOptions options = null) #pragma warning restore AZC0002 { - requestOptions ??= new RequestOptions(); - HttpMessage message = CreateGetGlossaryTermsRequest(glossaryGuid, includeTermHierarchy, limit, offset, sort, requestOptions); - if (requestOptions.PerCallPolicy != null) + options ??= new RequestOptions(); + HttpMessage message = CreateGetGlossaryTermsRequest(glossaryGuid, includeTermHierarchy, limit, offset, sort, options); + if (options.PerCallPolicy != null) { - message.SetProperty("RequestOptionsPerCallPolicyCallback", requestOptions.PerCallPolicy); + message.SetProperty("RequestOptionsPerCallPolicyCallback", options.PerCallPolicy); } using var scope = _clientDiagnostics.CreateScope("PurviewGlossaries.GetGlossaryTerms"); scope.Start(); try { - await Pipeline.SendAsync(message, requestOptions.CancellationToken).ConfigureAwait(false); - if (requestOptions.StatusOption == ResponseStatusOption.Default) + await Pipeline.SendAsync(message, options.CancellationToken).ConfigureAwait(false); + if (options.StatusOption == ResponseStatusOption.Default) { switch (message.Response.Status) { @@ -9823,23 +9823,23 @@ public virtual async Task GetGlossaryTermsAsync(string glossaryGuid, b /// The page size - by default there is no paging. /// The offset for pagination purpose. /// The sort order, ASC (default) or DESC. - /// The request options. + /// The request options. #pragma warning disable AZC0002 - public virtual Response GetGlossaryTerms(string glossaryGuid, bool? includeTermHierarchy = null, int? limit = null, int? offset = null, string sort = null, RequestOptions requestOptions = null) + public virtual Response GetGlossaryTerms(string glossaryGuid, bool? includeTermHierarchy = null, int? limit = null, int? offset = null, string sort = null, RequestOptions options = null) #pragma warning restore AZC0002 { - requestOptions ??= new RequestOptions(); - HttpMessage message = CreateGetGlossaryTermsRequest(glossaryGuid, includeTermHierarchy, limit, offset, sort, requestOptions); - if (requestOptions.PerCallPolicy != null) + options ??= new RequestOptions(); + HttpMessage message = CreateGetGlossaryTermsRequest(glossaryGuid, includeTermHierarchy, limit, offset, sort, options); + if (options.PerCallPolicy != null) { - message.SetProperty("RequestOptionsPerCallPolicyCallback", requestOptions.PerCallPolicy); + message.SetProperty("RequestOptionsPerCallPolicyCallback", options.PerCallPolicy); } using var scope = _clientDiagnostics.CreateScope("PurviewGlossaries.GetGlossaryTerms"); scope.Start(); try { - Pipeline.Send(message, requestOptions.CancellationToken); - if (requestOptions.StatusOption == ResponseStatusOption.Default) + Pipeline.Send(message, options.CancellationToken); + if (options.StatusOption == ResponseStatusOption.Default) { switch (message.Response.Status) { @@ -9867,8 +9867,8 @@ public virtual Response GetGlossaryTerms(string glossaryGuid, bool? includeTermH /// The page size - by default there is no paging. /// The offset for pagination purpose. /// The sort order, ASC (default) or DESC. - /// The request options. - private HttpMessage CreateGetGlossaryTermsRequest(string glossaryGuid, bool? includeTermHierarchy = null, int? limit = null, int? offset = null, string sort = null, RequestOptions requestOptions = null) + /// The request options. + private HttpMessage CreateGetGlossaryTermsRequest(string glossaryGuid, bool? includeTermHierarchy = null, int? limit = null, int? offset = null, string sort = null, RequestOptions options = null) { var message = Pipeline.CreateMessage(); var request = message.Request; @@ -9905,23 +9905,23 @@ private HttpMessage CreateGetGlossaryTermsRequest(string glossaryGuid, bool? inc /// The page size - by default there is no paging. /// The offset for pagination purpose. /// The sort order, ASC (default) or DESC. - /// The request options. + /// The request options. #pragma warning disable AZC0002 - public virtual async Task GetGlossaryTermHeadersAsync(string glossaryGuid, int? limit = null, int? offset = null, string sort = null, RequestOptions requestOptions = null) + public virtual async Task GetGlossaryTermHeadersAsync(string glossaryGuid, int? limit = null, int? offset = null, string sort = null, RequestOptions options = null) #pragma warning restore AZC0002 { - requestOptions ??= new RequestOptions(); - HttpMessage message = CreateGetGlossaryTermHeadersRequest(glossaryGuid, limit, offset, sort, requestOptions); - if (requestOptions.PerCallPolicy != null) + options ??= new RequestOptions(); + HttpMessage message = CreateGetGlossaryTermHeadersRequest(glossaryGuid, limit, offset, sort, options); + if (options.PerCallPolicy != null) { - message.SetProperty("RequestOptionsPerCallPolicyCallback", requestOptions.PerCallPolicy); + message.SetProperty("RequestOptionsPerCallPolicyCallback", options.PerCallPolicy); } using var scope = _clientDiagnostics.CreateScope("PurviewGlossaries.GetGlossaryTermHeaders"); scope.Start(); try { - await Pipeline.SendAsync(message, requestOptions.CancellationToken).ConfigureAwait(false); - if (requestOptions.StatusOption == ResponseStatusOption.Default) + await Pipeline.SendAsync(message, options.CancellationToken).ConfigureAwait(false); + if (options.StatusOption == ResponseStatusOption.Default) { switch (message.Response.Status) { @@ -9948,23 +9948,23 @@ public virtual async Task GetGlossaryTermHeadersAsync(string glossaryG /// The page size - by default there is no paging. /// The offset for pagination purpose. /// The sort order, ASC (default) or DESC. - /// The request options. + /// The request options. #pragma warning disable AZC0002 - public virtual Response GetGlossaryTermHeaders(string glossaryGuid, int? limit = null, int? offset = null, string sort = null, RequestOptions requestOptions = null) + public virtual Response GetGlossaryTermHeaders(string glossaryGuid, int? limit = null, int? offset = null, string sort = null, RequestOptions options = null) #pragma warning restore AZC0002 { - requestOptions ??= new RequestOptions(); - HttpMessage message = CreateGetGlossaryTermHeadersRequest(glossaryGuid, limit, offset, sort, requestOptions); - if (requestOptions.PerCallPolicy != null) + options ??= new RequestOptions(); + HttpMessage message = CreateGetGlossaryTermHeadersRequest(glossaryGuid, limit, offset, sort, options); + if (options.PerCallPolicy != null) { - message.SetProperty("RequestOptionsPerCallPolicyCallback", requestOptions.PerCallPolicy); + message.SetProperty("RequestOptionsPerCallPolicyCallback", options.PerCallPolicy); } using var scope = _clientDiagnostics.CreateScope("PurviewGlossaries.GetGlossaryTermHeaders"); scope.Start(); try { - Pipeline.Send(message, requestOptions.CancellationToken); - if (requestOptions.StatusOption == ResponseStatusOption.Default) + Pipeline.Send(message, options.CancellationToken); + if (options.StatusOption == ResponseStatusOption.Default) { switch (message.Response.Status) { @@ -9991,8 +9991,8 @@ public virtual Response GetGlossaryTermHeaders(string glossaryGuid, int? limit = /// The page size - by default there is no paging. /// The offset for pagination purpose. /// The sort order, ASC (default) or DESC. - /// The request options. - private HttpMessage CreateGetGlossaryTermHeadersRequest(string glossaryGuid, int? limit = null, int? offset = null, string sort = null, RequestOptions requestOptions = null) + /// The request options. + private HttpMessage CreateGetGlossaryTermHeadersRequest(string glossaryGuid, int? limit = null, int? offset = null, string sort = null, RequestOptions options = null) { var message = Pipeline.CreateMessage(); var request = message.Request; @@ -10022,25 +10022,25 @@ private HttpMessage CreateGetGlossaryTermHeadersRequest(string glossaryGuid, int /// Import Glossary Terms from local csv file. /// The globally unique identifier for glossary. - /// The request body. + /// The content to send as the body of the request. /// Whether include term hierarchy. - /// The request options. + /// The request options. #pragma warning disable AZC0002 - public virtual async Task ImportGlossaryTermsViaCsvAsync(string glossaryGuid, RequestContent requestBody, bool? includeTermHierarchy = null, RequestOptions requestOptions = null) + public virtual async Task ImportGlossaryTermsViaCsvAsync(string glossaryGuid, RequestContent content, bool? includeTermHierarchy = null, RequestOptions options = null) #pragma warning restore AZC0002 { - requestOptions ??= new RequestOptions(); - HttpMessage message = CreateImportGlossaryTermsViaCsvRequest(glossaryGuid, requestBody, includeTermHierarchy, requestOptions); - if (requestOptions.PerCallPolicy != null) + options ??= new RequestOptions(); + HttpMessage message = CreateImportGlossaryTermsViaCsvRequest(glossaryGuid, content, includeTermHierarchy, options); + if (options.PerCallPolicy != null) { - message.SetProperty("RequestOptionsPerCallPolicyCallback", requestOptions.PerCallPolicy); + message.SetProperty("RequestOptionsPerCallPolicyCallback", options.PerCallPolicy); } using var scope = _clientDiagnostics.CreateScope("PurviewGlossaries.ImportGlossaryTermsViaCsv"); scope.Start(); try { - await Pipeline.SendAsync(message, requestOptions.CancellationToken).ConfigureAwait(false); - if (requestOptions.StatusOption == ResponseStatusOption.Default) + await Pipeline.SendAsync(message, options.CancellationToken).ConfigureAwait(false); + if (options.StatusOption == ResponseStatusOption.Default) { switch (message.Response.Status) { @@ -10064,25 +10064,25 @@ public virtual async Task ImportGlossaryTermsViaCsvAsync(string glossa /// Import Glossary Terms from local csv file. /// The globally unique identifier for glossary. - /// The request body. + /// The content to send as the body of the request. /// Whether include term hierarchy. - /// The request options. + /// The request options. #pragma warning disable AZC0002 - public virtual Response ImportGlossaryTermsViaCsv(string glossaryGuid, RequestContent requestBody, bool? includeTermHierarchy = null, RequestOptions requestOptions = null) + public virtual Response ImportGlossaryTermsViaCsv(string glossaryGuid, RequestContent content, bool? includeTermHierarchy = null, RequestOptions options = null) #pragma warning restore AZC0002 { - requestOptions ??= new RequestOptions(); - HttpMessage message = CreateImportGlossaryTermsViaCsvRequest(glossaryGuid, requestBody, includeTermHierarchy, requestOptions); - if (requestOptions.PerCallPolicy != null) + options ??= new RequestOptions(); + HttpMessage message = CreateImportGlossaryTermsViaCsvRequest(glossaryGuid, content, includeTermHierarchy, options); + if (options.PerCallPolicy != null) { - message.SetProperty("RequestOptionsPerCallPolicyCallback", requestOptions.PerCallPolicy); + message.SetProperty("RequestOptionsPerCallPolicyCallback", options.PerCallPolicy); } using var scope = _clientDiagnostics.CreateScope("PurviewGlossaries.ImportGlossaryTermsViaCsv"); scope.Start(); try { - Pipeline.Send(message, requestOptions.CancellationToken); - if (requestOptions.StatusOption == ResponseStatusOption.Default) + Pipeline.Send(message, options.CancellationToken); + if (options.StatusOption == ResponseStatusOption.Default) { switch (message.Response.Status) { @@ -10106,10 +10106,10 @@ public virtual Response ImportGlossaryTermsViaCsv(string glossaryGuid, RequestCo /// Create Request for and operations. /// The globally unique identifier for glossary. - /// The request body. + /// The content to send as the body of the request. /// Whether include term hierarchy. - /// The request options. - private HttpMessage CreateImportGlossaryTermsViaCsvRequest(string glossaryGuid, RequestContent requestBody, bool? includeTermHierarchy = null, RequestOptions requestOptions = null) + /// The request options. + private HttpMessage CreateImportGlossaryTermsViaCsvRequest(string glossaryGuid, RequestContent content, bool? includeTermHierarchy = null, RequestOptions options = null) { var message = Pipeline.CreateMessage(); var request = message.Request; @@ -10128,31 +10128,31 @@ private HttpMessage CreateImportGlossaryTermsViaCsvRequest(string glossaryGuid, request.Uri = uri; request.Headers.Add("Accept", "application/json"); request.Headers.Add("Content-Type", "multipart/form-data"); - request.Content = requestBody; + request.Content = content; return message; } /// Import Glossary Terms from local csv file by glossaryName. /// The name of the glossary. - /// The request body. + /// The content to send as the body of the request. /// Whether include term hierarchy. - /// The request options. + /// The request options. #pragma warning disable AZC0002 - public virtual async Task ImportGlossaryTermsViaCsvByGlossaryNameAsync(string glossaryName, RequestContent requestBody, bool? includeTermHierarchy = null, RequestOptions requestOptions = null) + public virtual async Task ImportGlossaryTermsViaCsvByGlossaryNameAsync(string glossaryName, RequestContent content, bool? includeTermHierarchy = null, RequestOptions options = null) #pragma warning restore AZC0002 { - requestOptions ??= new RequestOptions(); - HttpMessage message = CreateImportGlossaryTermsViaCsvByGlossaryNameRequest(glossaryName, requestBody, includeTermHierarchy, requestOptions); - if (requestOptions.PerCallPolicy != null) + options ??= new RequestOptions(); + HttpMessage message = CreateImportGlossaryTermsViaCsvByGlossaryNameRequest(glossaryName, content, includeTermHierarchy, options); + if (options.PerCallPolicy != null) { - message.SetProperty("RequestOptionsPerCallPolicyCallback", requestOptions.PerCallPolicy); + message.SetProperty("RequestOptionsPerCallPolicyCallback", options.PerCallPolicy); } using var scope = _clientDiagnostics.CreateScope("PurviewGlossaries.ImportGlossaryTermsViaCsvByGlossaryName"); scope.Start(); try { - await Pipeline.SendAsync(message, requestOptions.CancellationToken).ConfigureAwait(false); - if (requestOptions.StatusOption == ResponseStatusOption.Default) + await Pipeline.SendAsync(message, options.CancellationToken).ConfigureAwait(false); + if (options.StatusOption == ResponseStatusOption.Default) { switch (message.Response.Status) { @@ -10176,25 +10176,25 @@ public virtual async Task ImportGlossaryTermsViaCsvByGlossaryNameAsync /// Import Glossary Terms from local csv file by glossaryName. /// The name of the glossary. - /// The request body. + /// The content to send as the body of the request. /// Whether include term hierarchy. - /// The request options. + /// The request options. #pragma warning disable AZC0002 - public virtual Response ImportGlossaryTermsViaCsvByGlossaryName(string glossaryName, RequestContent requestBody, bool? includeTermHierarchy = null, RequestOptions requestOptions = null) + public virtual Response ImportGlossaryTermsViaCsvByGlossaryName(string glossaryName, RequestContent content, bool? includeTermHierarchy = null, RequestOptions options = null) #pragma warning restore AZC0002 { - requestOptions ??= new RequestOptions(); - HttpMessage message = CreateImportGlossaryTermsViaCsvByGlossaryNameRequest(glossaryName, requestBody, includeTermHierarchy, requestOptions); - if (requestOptions.PerCallPolicy != null) + options ??= new RequestOptions(); + HttpMessage message = CreateImportGlossaryTermsViaCsvByGlossaryNameRequest(glossaryName, content, includeTermHierarchy, options); + if (options.PerCallPolicy != null) { - message.SetProperty("RequestOptionsPerCallPolicyCallback", requestOptions.PerCallPolicy); + message.SetProperty("RequestOptionsPerCallPolicyCallback", options.PerCallPolicy); } using var scope = _clientDiagnostics.CreateScope("PurviewGlossaries.ImportGlossaryTermsViaCsvByGlossaryName"); scope.Start(); try { - Pipeline.Send(message, requestOptions.CancellationToken); - if (requestOptions.StatusOption == ResponseStatusOption.Default) + Pipeline.Send(message, options.CancellationToken); + if (options.StatusOption == ResponseStatusOption.Default) { switch (message.Response.Status) { @@ -10218,10 +10218,10 @@ public virtual Response ImportGlossaryTermsViaCsvByGlossaryName(string glossaryN /// Create Request for and operations. /// The name of the glossary. - /// The request body. + /// The content to send as the body of the request. /// Whether include term hierarchy. - /// The request options. - private HttpMessage CreateImportGlossaryTermsViaCsvByGlossaryNameRequest(string glossaryName, RequestContent requestBody, bool? includeTermHierarchy = null, RequestOptions requestOptions = null) + /// The request options. + private HttpMessage CreateImportGlossaryTermsViaCsvByGlossaryNameRequest(string glossaryName, RequestContent content, bool? includeTermHierarchy = null, RequestOptions options = null) { var message = Pipeline.CreateMessage(); var request = message.Request; @@ -10240,29 +10240,29 @@ private HttpMessage CreateImportGlossaryTermsViaCsvByGlossaryNameRequest(string request.Uri = uri; request.Headers.Add("Accept", "application/json"); request.Headers.Add("Content-Type", "multipart/form-data"); - request.Content = requestBody; + request.Content = content; return message; } /// Get the status of import csv operation. /// The globally unique identifier for async operation/job. - /// The request options. + /// The request options. #pragma warning disable AZC0002 - public virtual async Task GetImportCsvOperationStatusAsync(string operationGuid, RequestOptions requestOptions = null) + public virtual async Task GetImportCsvOperationStatusAsync(string operationGuid, RequestOptions options = null) #pragma warning restore AZC0002 { - requestOptions ??= new RequestOptions(); - HttpMessage message = CreateGetImportCsvOperationStatusRequest(operationGuid, requestOptions); - if (requestOptions.PerCallPolicy != null) + options ??= new RequestOptions(); + HttpMessage message = CreateGetImportCsvOperationStatusRequest(operationGuid, options); + if (options.PerCallPolicy != null) { - message.SetProperty("RequestOptionsPerCallPolicyCallback", requestOptions.PerCallPolicy); + message.SetProperty("RequestOptionsPerCallPolicyCallback", options.PerCallPolicy); } using var scope = _clientDiagnostics.CreateScope("PurviewGlossaries.GetImportCsvOperationStatus"); scope.Start(); try { - await Pipeline.SendAsync(message, requestOptions.CancellationToken).ConfigureAwait(false); - if (requestOptions.StatusOption == ResponseStatusOption.Default) + await Pipeline.SendAsync(message, options.CancellationToken).ConfigureAwait(false); + if (options.StatusOption == ResponseStatusOption.Default) { switch (message.Response.Status) { @@ -10286,23 +10286,23 @@ public virtual async Task GetImportCsvOperationStatusAsync(string oper /// Get the status of import csv operation. /// The globally unique identifier for async operation/job. - /// The request options. + /// The request options. #pragma warning disable AZC0002 - public virtual Response GetImportCsvOperationStatus(string operationGuid, RequestOptions requestOptions = null) + public virtual Response GetImportCsvOperationStatus(string operationGuid, RequestOptions options = null) #pragma warning restore AZC0002 { - requestOptions ??= new RequestOptions(); - HttpMessage message = CreateGetImportCsvOperationStatusRequest(operationGuid, requestOptions); - if (requestOptions.PerCallPolicy != null) + options ??= new RequestOptions(); + HttpMessage message = CreateGetImportCsvOperationStatusRequest(operationGuid, options); + if (options.PerCallPolicy != null) { - message.SetProperty("RequestOptionsPerCallPolicyCallback", requestOptions.PerCallPolicy); + message.SetProperty("RequestOptionsPerCallPolicyCallback", options.PerCallPolicy); } using var scope = _clientDiagnostics.CreateScope("PurviewGlossaries.GetImportCsvOperationStatus"); scope.Start(); try { - Pipeline.Send(message, requestOptions.CancellationToken); - if (requestOptions.StatusOption == ResponseStatusOption.Default) + Pipeline.Send(message, options.CancellationToken); + if (options.StatusOption == ResponseStatusOption.Default) { switch (message.Response.Status) { @@ -10326,8 +10326,8 @@ public virtual Response GetImportCsvOperationStatus(string operationGuid, Reques /// Create Request for and operations. /// The globally unique identifier for async operation/job. - /// The request options. - private HttpMessage CreateGetImportCsvOperationStatusRequest(string operationGuid, RequestOptions requestOptions = null) + /// The request options. + private HttpMessage CreateGetImportCsvOperationStatusRequest(string operationGuid, RequestOptions options = null) { var message = Pipeline.CreateMessage(); var request = message.Request; @@ -10345,25 +10345,25 @@ private HttpMessage CreateGetImportCsvOperationStatusRequest(string operationGui /// Export Glossary Terms as csv file. /// The globally unique identifier for glossary. - /// The request body. + /// The content to send as the body of the request. /// Whether include term hierarchy. - /// The request options. + /// The request options. #pragma warning disable AZC0002 - public virtual async Task ExportGlossaryTermsAsCsvAsync(string glossaryGuid, RequestContent requestBody, bool? includeTermHierarchy = null, RequestOptions requestOptions = null) + public virtual async Task ExportGlossaryTermsAsCsvAsync(string glossaryGuid, RequestContent content, bool? includeTermHierarchy = null, RequestOptions options = null) #pragma warning restore AZC0002 { - requestOptions ??= new RequestOptions(); - HttpMessage message = CreateExportGlossaryTermsAsCsvRequest(glossaryGuid, requestBody, includeTermHierarchy, requestOptions); - if (requestOptions.PerCallPolicy != null) + options ??= new RequestOptions(); + HttpMessage message = CreateExportGlossaryTermsAsCsvRequest(glossaryGuid, content, includeTermHierarchy, options); + if (options.PerCallPolicy != null) { - message.SetProperty("RequestOptionsPerCallPolicyCallback", requestOptions.PerCallPolicy); + message.SetProperty("RequestOptionsPerCallPolicyCallback", options.PerCallPolicy); } using var scope = _clientDiagnostics.CreateScope("PurviewGlossaries.ExportGlossaryTermsAsCsv"); scope.Start(); try { - await Pipeline.SendAsync(message, requestOptions.CancellationToken).ConfigureAwait(false); - if (requestOptions.StatusOption == ResponseStatusOption.Default) + await Pipeline.SendAsync(message, options.CancellationToken).ConfigureAwait(false); + if (options.StatusOption == ResponseStatusOption.Default) { switch (message.Response.Status) { @@ -10387,25 +10387,25 @@ public virtual async Task ExportGlossaryTermsAsCsvAsync(string glossar /// Export Glossary Terms as csv file. /// The globally unique identifier for glossary. - /// The request body. + /// The content to send as the body of the request. /// Whether include term hierarchy. - /// The request options. + /// The request options. #pragma warning disable AZC0002 - public virtual Response ExportGlossaryTermsAsCsv(string glossaryGuid, RequestContent requestBody, bool? includeTermHierarchy = null, RequestOptions requestOptions = null) + public virtual Response ExportGlossaryTermsAsCsv(string glossaryGuid, RequestContent content, bool? includeTermHierarchy = null, RequestOptions options = null) #pragma warning restore AZC0002 { - requestOptions ??= new RequestOptions(); - HttpMessage message = CreateExportGlossaryTermsAsCsvRequest(glossaryGuid, requestBody, includeTermHierarchy, requestOptions); - if (requestOptions.PerCallPolicy != null) + options ??= new RequestOptions(); + HttpMessage message = CreateExportGlossaryTermsAsCsvRequest(glossaryGuid, content, includeTermHierarchy, options); + if (options.PerCallPolicy != null) { - message.SetProperty("RequestOptionsPerCallPolicyCallback", requestOptions.PerCallPolicy); + message.SetProperty("RequestOptionsPerCallPolicyCallback", options.PerCallPolicy); } using var scope = _clientDiagnostics.CreateScope("PurviewGlossaries.ExportGlossaryTermsAsCsv"); scope.Start(); try { - Pipeline.Send(message, requestOptions.CancellationToken); - if (requestOptions.StatusOption == ResponseStatusOption.Default) + Pipeline.Send(message, options.CancellationToken); + if (options.StatusOption == ResponseStatusOption.Default) { switch (message.Response.Status) { @@ -10429,10 +10429,10 @@ public virtual Response ExportGlossaryTermsAsCsv(string glossaryGuid, RequestCon /// Create Request for and operations. /// The globally unique identifier for glossary. - /// The request body. + /// The content to send as the body of the request. /// Whether include term hierarchy. - /// The request options. - private HttpMessage CreateExportGlossaryTermsAsCsvRequest(string glossaryGuid, RequestContent requestBody, bool? includeTermHierarchy = null, RequestOptions requestOptions = null) + /// The request options. + private HttpMessage CreateExportGlossaryTermsAsCsvRequest(string glossaryGuid, RequestContent content, bool? includeTermHierarchy = null, RequestOptions options = null) { var message = Pipeline.CreateMessage(); var request = message.Request; @@ -10451,7 +10451,7 @@ private HttpMessage CreateExportGlossaryTermsAsCsvRequest(string glossaryGuid, R request.Uri = uri; request.Headers.Add("Accept", "text/csv"); request.Headers.Add("Content-Type", "application/json"); - request.Content = requestBody; + request.Content = content; return message; } @@ -10460,23 +10460,23 @@ private HttpMessage CreateExportGlossaryTermsAsCsvRequest(string glossaryGuid, R /// The page size - by default there is no paging. /// The offset for pagination purpose. /// Whether include term hierarchy. - /// The request options. + /// The request options. #pragma warning disable AZC0002 - public virtual async Task GetTermsByGlossaryNameAsync(string glossaryName, int? limit = null, int? offset = null, bool? includeTermHierarchy = null, RequestOptions requestOptions = null) + public virtual async Task GetTermsByGlossaryNameAsync(string glossaryName, int? limit = null, int? offset = null, bool? includeTermHierarchy = null, RequestOptions options = null) #pragma warning restore AZC0002 { - requestOptions ??= new RequestOptions(); - HttpMessage message = CreateGetTermsByGlossaryNameRequest(glossaryName, limit, offset, includeTermHierarchy, requestOptions); - if (requestOptions.PerCallPolicy != null) + options ??= new RequestOptions(); + HttpMessage message = CreateGetTermsByGlossaryNameRequest(glossaryName, limit, offset, includeTermHierarchy, options); + if (options.PerCallPolicy != null) { - message.SetProperty("RequestOptionsPerCallPolicyCallback", requestOptions.PerCallPolicy); + message.SetProperty("RequestOptionsPerCallPolicyCallback", options.PerCallPolicy); } using var scope = _clientDiagnostics.CreateScope("PurviewGlossaries.GetTermsByGlossaryName"); scope.Start(); try { - await Pipeline.SendAsync(message, requestOptions.CancellationToken).ConfigureAwait(false); - if (requestOptions.StatusOption == ResponseStatusOption.Default) + await Pipeline.SendAsync(message, options.CancellationToken).ConfigureAwait(false); + if (options.StatusOption == ResponseStatusOption.Default) { switch (message.Response.Status) { @@ -10503,23 +10503,23 @@ public virtual async Task GetTermsByGlossaryNameAsync(string glossaryN /// The page size - by default there is no paging. /// The offset for pagination purpose. /// Whether include term hierarchy. - /// The request options. + /// The request options. #pragma warning disable AZC0002 - public virtual Response GetTermsByGlossaryName(string glossaryName, int? limit = null, int? offset = null, bool? includeTermHierarchy = null, RequestOptions requestOptions = null) + public virtual Response GetTermsByGlossaryName(string glossaryName, int? limit = null, int? offset = null, bool? includeTermHierarchy = null, RequestOptions options = null) #pragma warning restore AZC0002 { - requestOptions ??= new RequestOptions(); - HttpMessage message = CreateGetTermsByGlossaryNameRequest(glossaryName, limit, offset, includeTermHierarchy, requestOptions); - if (requestOptions.PerCallPolicy != null) + options ??= new RequestOptions(); + HttpMessage message = CreateGetTermsByGlossaryNameRequest(glossaryName, limit, offset, includeTermHierarchy, options); + if (options.PerCallPolicy != null) { - message.SetProperty("RequestOptionsPerCallPolicyCallback", requestOptions.PerCallPolicy); + message.SetProperty("RequestOptionsPerCallPolicyCallback", options.PerCallPolicy); } using var scope = _clientDiagnostics.CreateScope("PurviewGlossaries.GetTermsByGlossaryName"); scope.Start(); try { - Pipeline.Send(message, requestOptions.CancellationToken); - if (requestOptions.StatusOption == ResponseStatusOption.Default) + Pipeline.Send(message, options.CancellationToken); + if (options.StatusOption == ResponseStatusOption.Default) { switch (message.Response.Status) { @@ -10546,8 +10546,8 @@ public virtual Response GetTermsByGlossaryName(string glossaryName, int? limit = /// The page size - by default there is no paging. /// The offset for pagination purpose. /// Whether include term hierarchy. - /// The request options. - private HttpMessage CreateGetTermsByGlossaryNameRequest(string glossaryName, int? limit = null, int? offset = null, bool? includeTermHierarchy = null, RequestOptions requestOptions = null) + /// The request options. + private HttpMessage CreateGetTermsByGlossaryNameRequest(string glossaryName, int? limit = null, int? offset = null, bool? includeTermHierarchy = null, RequestOptions options = null) { var message = Pipeline.CreateMessage(); var request = message.Request; diff --git a/sdk/purview/Azure.Analytics.Purview.Catalog/src/Generated/PurviewRelationships.cs b/sdk/purview/Azure.Analytics.Purview.Catalog/src/Generated/PurviewRelationships.cs index 12fe76b0d2ce..2667b3501120 100644 --- a/sdk/purview/Azure.Analytics.Purview.Catalog/src/Generated/PurviewRelationships.cs +++ b/sdk/purview/Azure.Analytics.Purview.Catalog/src/Generated/PurviewRelationships.cs @@ -33,12 +33,12 @@ protected PurviewRelationships() /// /// Schema for Request Body: /// - /// + /// /// Name /// Type /// Required /// Description - /// + /// /// /// attributes /// Dictionary<string, AnyObject> @@ -132,12 +132,12 @@ protected PurviewRelationships() /// /// Schema for AtlasObjectId: /// - /// + /// /// Name /// Type /// Required /// Description - /// + /// /// /// guid /// string @@ -158,24 +158,24 @@ protected PurviewRelationships() /// /// /// - /// The request body. - /// The request options. + /// The content to send as the body of the request. + /// The request options. #pragma warning disable AZC0002 - public virtual async Task CreateAsync(RequestContent requestBody, RequestOptions requestOptions = null) + public virtual async Task CreateAsync(RequestContent content, RequestOptions options = null) #pragma warning restore AZC0002 { - requestOptions ??= new RequestOptions(); - HttpMessage message = CreateCreateRequest(requestBody, requestOptions); - if (requestOptions.PerCallPolicy != null) + options ??= new RequestOptions(); + HttpMessage message = CreateCreateRequest(content, options); + if (options.PerCallPolicy != null) { - message.SetProperty("RequestOptionsPerCallPolicyCallback", requestOptions.PerCallPolicy); + message.SetProperty("RequestOptionsPerCallPolicyCallback", options.PerCallPolicy); } using var scope = _clientDiagnostics.CreateScope("PurviewRelationships.Create"); scope.Start(); try { - await Pipeline.SendAsync(message, requestOptions.CancellationToken).ConfigureAwait(false); - if (requestOptions.StatusOption == ResponseStatusOption.Default) + await Pipeline.SendAsync(message, options.CancellationToken).ConfigureAwait(false); + if (options.StatusOption == ResponseStatusOption.Default) { switch (message.Response.Status) { @@ -201,12 +201,12 @@ public virtual async Task CreateAsync(RequestContent requestBody, Requ /// /// Schema for Request Body: /// - /// + /// /// Name /// Type /// Required /// Description - /// + /// /// /// attributes /// Dictionary<string, AnyObject> @@ -300,12 +300,12 @@ public virtual async Task CreateAsync(RequestContent requestBody, Requ /// /// Schema for AtlasObjectId: /// - /// + /// /// Name /// Type /// Required /// Description - /// + /// /// /// guid /// string @@ -326,24 +326,24 @@ public virtual async Task CreateAsync(RequestContent requestBody, Requ /// /// /// - /// The request body. - /// The request options. + /// The content to send as the body of the request. + /// The request options. #pragma warning disable AZC0002 - public virtual Response Create(RequestContent requestBody, RequestOptions requestOptions = null) + public virtual Response Create(RequestContent content, RequestOptions options = null) #pragma warning restore AZC0002 { - requestOptions ??= new RequestOptions(); - HttpMessage message = CreateCreateRequest(requestBody, requestOptions); - if (requestOptions.PerCallPolicy != null) + options ??= new RequestOptions(); + HttpMessage message = CreateCreateRequest(content, options); + if (options.PerCallPolicy != null) { - message.SetProperty("RequestOptionsPerCallPolicyCallback", requestOptions.PerCallPolicy); + message.SetProperty("RequestOptionsPerCallPolicyCallback", options.PerCallPolicy); } using var scope = _clientDiagnostics.CreateScope("PurviewRelationships.Create"); scope.Start(); try { - Pipeline.Send(message, requestOptions.CancellationToken); - if (requestOptions.StatusOption == ResponseStatusOption.Default) + Pipeline.Send(message, options.CancellationToken); + if (options.StatusOption == ResponseStatusOption.Default) { switch (message.Response.Status) { @@ -366,9 +366,9 @@ public virtual Response Create(RequestContent requestBody, RequestOptions reques } /// Create Request for and operations. - /// The request body. - /// The request options. - private HttpMessage CreateCreateRequest(RequestContent requestBody, RequestOptions requestOptions = null) + /// The content to send as the body of the request. + /// The request options. + private HttpMessage CreateCreateRequest(RequestContent content, RequestOptions options = null) { var message = Pipeline.CreateMessage(); var request = message.Request; @@ -380,7 +380,7 @@ private HttpMessage CreateCreateRequest(RequestContent requestBody, RequestOptio request.Uri = uri; request.Headers.Add("Accept", "application/json"); request.Headers.Add("Content-Type", "application/json"); - request.Content = requestBody; + request.Content = content; return message; } @@ -388,12 +388,12 @@ private HttpMessage CreateCreateRequest(RequestContent requestBody, RequestOptio /// /// Schema for Request Body: /// - /// + /// /// Name /// Type /// Required /// Description - /// + /// /// /// attributes /// Dictionary<string, AnyObject> @@ -487,12 +487,12 @@ private HttpMessage CreateCreateRequest(RequestContent requestBody, RequestOptio /// /// Schema for AtlasObjectId: /// - /// + /// /// Name /// Type /// Required /// Description - /// + /// /// /// guid /// string @@ -513,24 +513,24 @@ private HttpMessage CreateCreateRequest(RequestContent requestBody, RequestOptio /// /// /// - /// The request body. - /// The request options. + /// The content to send as the body of the request. + /// The request options. #pragma warning disable AZC0002 - public virtual async Task UpdateAsync(RequestContent requestBody, RequestOptions requestOptions = null) + public virtual async Task UpdateAsync(RequestContent content, RequestOptions options = null) #pragma warning restore AZC0002 { - requestOptions ??= new RequestOptions(); - HttpMessage message = CreateUpdateRequest(requestBody, requestOptions); - if (requestOptions.PerCallPolicy != null) + options ??= new RequestOptions(); + HttpMessage message = CreateUpdateRequest(content, options); + if (options.PerCallPolicy != null) { - message.SetProperty("RequestOptionsPerCallPolicyCallback", requestOptions.PerCallPolicy); + message.SetProperty("RequestOptionsPerCallPolicyCallback", options.PerCallPolicy); } using var scope = _clientDiagnostics.CreateScope("PurviewRelationships.Update"); scope.Start(); try { - await Pipeline.SendAsync(message, requestOptions.CancellationToken).ConfigureAwait(false); - if (requestOptions.StatusOption == ResponseStatusOption.Default) + await Pipeline.SendAsync(message, options.CancellationToken).ConfigureAwait(false); + if (options.StatusOption == ResponseStatusOption.Default) { switch (message.Response.Status) { @@ -556,12 +556,12 @@ public virtual async Task UpdateAsync(RequestContent requestBody, Requ /// /// Schema for Request Body: /// - /// + /// /// Name /// Type /// Required /// Description - /// + /// /// /// attributes /// Dictionary<string, AnyObject> @@ -655,12 +655,12 @@ public virtual async Task UpdateAsync(RequestContent requestBody, Requ /// /// Schema for AtlasObjectId: /// - /// + /// /// Name /// Type /// Required /// Description - /// + /// /// /// guid /// string @@ -681,24 +681,24 @@ public virtual async Task UpdateAsync(RequestContent requestBody, Requ /// /// /// - /// The request body. - /// The request options. + /// The content to send as the body of the request. + /// The request options. #pragma warning disable AZC0002 - public virtual Response Update(RequestContent requestBody, RequestOptions requestOptions = null) + public virtual Response Update(RequestContent content, RequestOptions options = null) #pragma warning restore AZC0002 { - requestOptions ??= new RequestOptions(); - HttpMessage message = CreateUpdateRequest(requestBody, requestOptions); - if (requestOptions.PerCallPolicy != null) + options ??= new RequestOptions(); + HttpMessage message = CreateUpdateRequest(content, options); + if (options.PerCallPolicy != null) { - message.SetProperty("RequestOptionsPerCallPolicyCallback", requestOptions.PerCallPolicy); + message.SetProperty("RequestOptionsPerCallPolicyCallback", options.PerCallPolicy); } using var scope = _clientDiagnostics.CreateScope("PurviewRelationships.Update"); scope.Start(); try { - Pipeline.Send(message, requestOptions.CancellationToken); - if (requestOptions.StatusOption == ResponseStatusOption.Default) + Pipeline.Send(message, options.CancellationToken); + if (options.StatusOption == ResponseStatusOption.Default) { switch (message.Response.Status) { @@ -721,9 +721,9 @@ public virtual Response Update(RequestContent requestBody, RequestOptions reques } /// Create Request for and operations. - /// The request body. - /// The request options. - private HttpMessage CreateUpdateRequest(RequestContent requestBody, RequestOptions requestOptions = null) + /// The content to send as the body of the request. + /// The request options. + private HttpMessage CreateUpdateRequest(RequestContent content, RequestOptions options = null) { var message = Pipeline.CreateMessage(); var request = message.Request; @@ -735,30 +735,30 @@ private HttpMessage CreateUpdateRequest(RequestContent requestBody, RequestOptio request.Uri = uri; request.Headers.Add("Accept", "application/json"); request.Headers.Add("Content-Type", "application/json"); - request.Content = requestBody; + request.Content = content; return message; } /// Get relationship information between entities by its GUID. /// The globally unique identifier of the relationship. /// Limits whether includes extended information. - /// The request options. + /// The request options. #pragma warning disable AZC0002 - public virtual async Task GetAsync(string guid, bool? extendedInfo = null, RequestOptions requestOptions = null) + public virtual async Task GetAsync(string guid, bool? extendedInfo = null, RequestOptions options = null) #pragma warning restore AZC0002 { - requestOptions ??= new RequestOptions(); - HttpMessage message = CreateGetRequest(guid, extendedInfo, requestOptions); - if (requestOptions.PerCallPolicy != null) + options ??= new RequestOptions(); + HttpMessage message = CreateGetRequest(guid, extendedInfo, options); + if (options.PerCallPolicy != null) { - message.SetProperty("RequestOptionsPerCallPolicyCallback", requestOptions.PerCallPolicy); + message.SetProperty("RequestOptionsPerCallPolicyCallback", options.PerCallPolicy); } using var scope = _clientDiagnostics.CreateScope("PurviewRelationships.Get"); scope.Start(); try { - await Pipeline.SendAsync(message, requestOptions.CancellationToken).ConfigureAwait(false); - if (requestOptions.StatusOption == ResponseStatusOption.Default) + await Pipeline.SendAsync(message, options.CancellationToken).ConfigureAwait(false); + if (options.StatusOption == ResponseStatusOption.Default) { switch (message.Response.Status) { @@ -783,23 +783,23 @@ public virtual async Task GetAsync(string guid, bool? extendedInfo = n /// Get relationship information between entities by its GUID. /// The globally unique identifier of the relationship. /// Limits whether includes extended information. - /// The request options. + /// The request options. #pragma warning disable AZC0002 - public virtual Response Get(string guid, bool? extendedInfo = null, RequestOptions requestOptions = null) + public virtual Response Get(string guid, bool? extendedInfo = null, RequestOptions options = null) #pragma warning restore AZC0002 { - requestOptions ??= new RequestOptions(); - HttpMessage message = CreateGetRequest(guid, extendedInfo, requestOptions); - if (requestOptions.PerCallPolicy != null) + options ??= new RequestOptions(); + HttpMessage message = CreateGetRequest(guid, extendedInfo, options); + if (options.PerCallPolicy != null) { - message.SetProperty("RequestOptionsPerCallPolicyCallback", requestOptions.PerCallPolicy); + message.SetProperty("RequestOptionsPerCallPolicyCallback", options.PerCallPolicy); } using var scope = _clientDiagnostics.CreateScope("PurviewRelationships.Get"); scope.Start(); try { - Pipeline.Send(message, requestOptions.CancellationToken); - if (requestOptions.StatusOption == ResponseStatusOption.Default) + Pipeline.Send(message, options.CancellationToken); + if (options.StatusOption == ResponseStatusOption.Default) { switch (message.Response.Status) { @@ -824,8 +824,8 @@ public virtual Response Get(string guid, bool? extendedInfo = null, RequestOptio /// Create Request for and operations. /// The globally unique identifier of the relationship. /// Limits whether includes extended information. - /// The request options. - private HttpMessage CreateGetRequest(string guid, bool? extendedInfo = null, RequestOptions requestOptions = null) + /// The request options. + private HttpMessage CreateGetRequest(string guid, bool? extendedInfo = null, RequestOptions options = null) { var message = Pipeline.CreateMessage(); var request = message.Request; @@ -846,23 +846,23 @@ private HttpMessage CreateGetRequest(string guid, bool? extendedInfo = null, Req /// Delete a relationship between entities by its GUID. /// The globally unique identifier of the relationship. - /// The request options. + /// The request options. #pragma warning disable AZC0002 - public virtual async Task DeleteAsync(string guid, RequestOptions requestOptions = null) + public virtual async Task DeleteAsync(string guid, RequestOptions options = null) #pragma warning restore AZC0002 { - requestOptions ??= new RequestOptions(); - HttpMessage message = CreateDeleteRequest(guid, requestOptions); - if (requestOptions.PerCallPolicy != null) + options ??= new RequestOptions(); + HttpMessage message = CreateDeleteRequest(guid, options); + if (options.PerCallPolicy != null) { - message.SetProperty("RequestOptionsPerCallPolicyCallback", requestOptions.PerCallPolicy); + message.SetProperty("RequestOptionsPerCallPolicyCallback", options.PerCallPolicy); } using var scope = _clientDiagnostics.CreateScope("PurviewRelationships.Delete"); scope.Start(); try { - await Pipeline.SendAsync(message, requestOptions.CancellationToken).ConfigureAwait(false); - if (requestOptions.StatusOption == ResponseStatusOption.Default) + await Pipeline.SendAsync(message, options.CancellationToken).ConfigureAwait(false); + if (options.StatusOption == ResponseStatusOption.Default) { switch (message.Response.Status) { @@ -886,23 +886,23 @@ public virtual async Task DeleteAsync(string guid, RequestOptions requ /// Delete a relationship between entities by its GUID. /// The globally unique identifier of the relationship. - /// The request options. + /// The request options. #pragma warning disable AZC0002 - public virtual Response Delete(string guid, RequestOptions requestOptions = null) + public virtual Response Delete(string guid, RequestOptions options = null) #pragma warning restore AZC0002 { - requestOptions ??= new RequestOptions(); - HttpMessage message = CreateDeleteRequest(guid, requestOptions); - if (requestOptions.PerCallPolicy != null) + options ??= new RequestOptions(); + HttpMessage message = CreateDeleteRequest(guid, options); + if (options.PerCallPolicy != null) { - message.SetProperty("RequestOptionsPerCallPolicyCallback", requestOptions.PerCallPolicy); + message.SetProperty("RequestOptionsPerCallPolicyCallback", options.PerCallPolicy); } using var scope = _clientDiagnostics.CreateScope("PurviewRelationships.Delete"); scope.Start(); try { - Pipeline.Send(message, requestOptions.CancellationToken); - if (requestOptions.StatusOption == ResponseStatusOption.Default) + Pipeline.Send(message, options.CancellationToken); + if (options.StatusOption == ResponseStatusOption.Default) { switch (message.Response.Status) { @@ -926,8 +926,8 @@ public virtual Response Delete(string guid, RequestOptions requestOptions = null /// Create Request for and operations. /// The globally unique identifier of the relationship. - /// The request options. - private HttpMessage CreateDeleteRequest(string guid, RequestOptions requestOptions = null) + /// The request options. + private HttpMessage CreateDeleteRequest(string guid, RequestOptions options = null) { var message = Pipeline.CreateMessage(); var request = message.Request; diff --git a/sdk/purview/Azure.Analytics.Purview.Catalog/src/Generated/PurviewTypes.cs b/sdk/purview/Azure.Analytics.Purview.Catalog/src/Generated/PurviewTypes.cs index 49ac028fe5d1..6b84f54e6bf2 100644 --- a/sdk/purview/Azure.Analytics.Purview.Catalog/src/Generated/PurviewTypes.cs +++ b/sdk/purview/Azure.Analytics.Purview.Catalog/src/Generated/PurviewTypes.cs @@ -31,23 +31,23 @@ protected PurviewTypes() /// Get the classification definition for the given GUID. /// The globally unique identifier of the classification. - /// The request options. + /// The request options. #pragma warning disable AZC0002 - public virtual async Task GetClassificationDefByGuidAsync(string guid, RequestOptions requestOptions = null) + public virtual async Task GetClassificationDefByGuidAsync(string guid, RequestOptions options = null) #pragma warning restore AZC0002 { - requestOptions ??= new RequestOptions(); - HttpMessage message = CreateGetClassificationDefByGuidRequest(guid, requestOptions); - if (requestOptions.PerCallPolicy != null) + options ??= new RequestOptions(); + HttpMessage message = CreateGetClassificationDefByGuidRequest(guid, options); + if (options.PerCallPolicy != null) { - message.SetProperty("RequestOptionsPerCallPolicyCallback", requestOptions.PerCallPolicy); + message.SetProperty("RequestOptionsPerCallPolicyCallback", options.PerCallPolicy); } using var scope = _clientDiagnostics.CreateScope("PurviewTypes.GetClassificationDefByGuid"); scope.Start(); try { - await Pipeline.SendAsync(message, requestOptions.CancellationToken).ConfigureAwait(false); - if (requestOptions.StatusOption == ResponseStatusOption.Default) + await Pipeline.SendAsync(message, options.CancellationToken).ConfigureAwait(false); + if (options.StatusOption == ResponseStatusOption.Default) { switch (message.Response.Status) { @@ -71,23 +71,23 @@ public virtual async Task GetClassificationDefByGuidAsync(string guid, /// Get the classification definition for the given GUID. /// The globally unique identifier of the classification. - /// The request options. + /// The request options. #pragma warning disable AZC0002 - public virtual Response GetClassificationDefByGuid(string guid, RequestOptions requestOptions = null) + public virtual Response GetClassificationDefByGuid(string guid, RequestOptions options = null) #pragma warning restore AZC0002 { - requestOptions ??= new RequestOptions(); - HttpMessage message = CreateGetClassificationDefByGuidRequest(guid, requestOptions); - if (requestOptions.PerCallPolicy != null) + options ??= new RequestOptions(); + HttpMessage message = CreateGetClassificationDefByGuidRequest(guid, options); + if (options.PerCallPolicy != null) { - message.SetProperty("RequestOptionsPerCallPolicyCallback", requestOptions.PerCallPolicy); + message.SetProperty("RequestOptionsPerCallPolicyCallback", options.PerCallPolicy); } using var scope = _clientDiagnostics.CreateScope("PurviewTypes.GetClassificationDefByGuid"); scope.Start(); try { - Pipeline.Send(message, requestOptions.CancellationToken); - if (requestOptions.StatusOption == ResponseStatusOption.Default) + Pipeline.Send(message, options.CancellationToken); + if (options.StatusOption == ResponseStatusOption.Default) { switch (message.Response.Status) { @@ -111,8 +111,8 @@ public virtual Response GetClassificationDefByGuid(string guid, RequestOptions r /// Create Request for and operations. /// The globally unique identifier of the classification. - /// The request options. - private HttpMessage CreateGetClassificationDefByGuidRequest(string guid, RequestOptions requestOptions = null) + /// The request options. + private HttpMessage CreateGetClassificationDefByGuidRequest(string guid, RequestOptions options = null) { var message = Pipeline.CreateMessage(); var request = message.Request; @@ -129,23 +129,23 @@ private HttpMessage CreateGetClassificationDefByGuidRequest(string guid, Request /// Get the classification definition by its name (unique). /// The name of the classification. - /// The request options. + /// The request options. #pragma warning disable AZC0002 - public virtual async Task GetClassificationDefByNameAsync(string name, RequestOptions requestOptions = null) + public virtual async Task GetClassificationDefByNameAsync(string name, RequestOptions options = null) #pragma warning restore AZC0002 { - requestOptions ??= new RequestOptions(); - HttpMessage message = CreateGetClassificationDefByNameRequest(name, requestOptions); - if (requestOptions.PerCallPolicy != null) + options ??= new RequestOptions(); + HttpMessage message = CreateGetClassificationDefByNameRequest(name, options); + if (options.PerCallPolicy != null) { - message.SetProperty("RequestOptionsPerCallPolicyCallback", requestOptions.PerCallPolicy); + message.SetProperty("RequestOptionsPerCallPolicyCallback", options.PerCallPolicy); } using var scope = _clientDiagnostics.CreateScope("PurviewTypes.GetClassificationDefByName"); scope.Start(); try { - await Pipeline.SendAsync(message, requestOptions.CancellationToken).ConfigureAwait(false); - if (requestOptions.StatusOption == ResponseStatusOption.Default) + await Pipeline.SendAsync(message, options.CancellationToken).ConfigureAwait(false); + if (options.StatusOption == ResponseStatusOption.Default) { switch (message.Response.Status) { @@ -169,23 +169,23 @@ public virtual async Task GetClassificationDefByNameAsync(string name, /// Get the classification definition by its name (unique). /// The name of the classification. - /// The request options. + /// The request options. #pragma warning disable AZC0002 - public virtual Response GetClassificationDefByName(string name, RequestOptions requestOptions = null) + public virtual Response GetClassificationDefByName(string name, RequestOptions options = null) #pragma warning restore AZC0002 { - requestOptions ??= new RequestOptions(); - HttpMessage message = CreateGetClassificationDefByNameRequest(name, requestOptions); - if (requestOptions.PerCallPolicy != null) + options ??= new RequestOptions(); + HttpMessage message = CreateGetClassificationDefByNameRequest(name, options); + if (options.PerCallPolicy != null) { - message.SetProperty("RequestOptionsPerCallPolicyCallback", requestOptions.PerCallPolicy); + message.SetProperty("RequestOptionsPerCallPolicyCallback", options.PerCallPolicy); } using var scope = _clientDiagnostics.CreateScope("PurviewTypes.GetClassificationDefByName"); scope.Start(); try { - Pipeline.Send(message, requestOptions.CancellationToken); - if (requestOptions.StatusOption == ResponseStatusOption.Default) + Pipeline.Send(message, options.CancellationToken); + if (options.StatusOption == ResponseStatusOption.Default) { switch (message.Response.Status) { @@ -209,8 +209,8 @@ public virtual Response GetClassificationDefByName(string name, RequestOptions r /// Create Request for and operations. /// The name of the classification. - /// The request options. - private HttpMessage CreateGetClassificationDefByNameRequest(string name, RequestOptions requestOptions = null) + /// The request options. + private HttpMessage CreateGetClassificationDefByNameRequest(string name, RequestOptions options = null) { var message = Pipeline.CreateMessage(); var request = message.Request; @@ -227,23 +227,23 @@ private HttpMessage CreateGetClassificationDefByNameRequest(string name, Request /// Get the Entity definition for the given GUID. /// The globally unique identifier of the entity. - /// The request options. + /// The request options. #pragma warning disable AZC0002 - public virtual async Task GetEntityDefinitionByGuidAsync(string guid, RequestOptions requestOptions = null) + public virtual async Task GetEntityDefinitionByGuidAsync(string guid, RequestOptions options = null) #pragma warning restore AZC0002 { - requestOptions ??= new RequestOptions(); - HttpMessage message = CreateGetEntityDefinitionByGuidRequest(guid, requestOptions); - if (requestOptions.PerCallPolicy != null) + options ??= new RequestOptions(); + HttpMessage message = CreateGetEntityDefinitionByGuidRequest(guid, options); + if (options.PerCallPolicy != null) { - message.SetProperty("RequestOptionsPerCallPolicyCallback", requestOptions.PerCallPolicy); + message.SetProperty("RequestOptionsPerCallPolicyCallback", options.PerCallPolicy); } using var scope = _clientDiagnostics.CreateScope("PurviewTypes.GetEntityDefinitionByGuid"); scope.Start(); try { - await Pipeline.SendAsync(message, requestOptions.CancellationToken).ConfigureAwait(false); - if (requestOptions.StatusOption == ResponseStatusOption.Default) + await Pipeline.SendAsync(message, options.CancellationToken).ConfigureAwait(false); + if (options.StatusOption == ResponseStatusOption.Default) { switch (message.Response.Status) { @@ -267,23 +267,23 @@ public virtual async Task GetEntityDefinitionByGuidAsync(string guid, /// Get the Entity definition for the given GUID. /// The globally unique identifier of the entity. - /// The request options. + /// The request options. #pragma warning disable AZC0002 - public virtual Response GetEntityDefinitionByGuid(string guid, RequestOptions requestOptions = null) + public virtual Response GetEntityDefinitionByGuid(string guid, RequestOptions options = null) #pragma warning restore AZC0002 { - requestOptions ??= new RequestOptions(); - HttpMessage message = CreateGetEntityDefinitionByGuidRequest(guid, requestOptions); - if (requestOptions.PerCallPolicy != null) + options ??= new RequestOptions(); + HttpMessage message = CreateGetEntityDefinitionByGuidRequest(guid, options); + if (options.PerCallPolicy != null) { - message.SetProperty("RequestOptionsPerCallPolicyCallback", requestOptions.PerCallPolicy); + message.SetProperty("RequestOptionsPerCallPolicyCallback", options.PerCallPolicy); } using var scope = _clientDiagnostics.CreateScope("PurviewTypes.GetEntityDefinitionByGuid"); scope.Start(); try { - Pipeline.Send(message, requestOptions.CancellationToken); - if (requestOptions.StatusOption == ResponseStatusOption.Default) + Pipeline.Send(message, options.CancellationToken); + if (options.StatusOption == ResponseStatusOption.Default) { switch (message.Response.Status) { @@ -307,8 +307,8 @@ public virtual Response GetEntityDefinitionByGuid(string guid, RequestOptions re /// Create Request for and operations. /// The globally unique identifier of the entity. - /// The request options. - private HttpMessage CreateGetEntityDefinitionByGuidRequest(string guid, RequestOptions requestOptions = null) + /// The request options. + private HttpMessage CreateGetEntityDefinitionByGuidRequest(string guid, RequestOptions options = null) { var message = Pipeline.CreateMessage(); var request = message.Request; @@ -325,23 +325,23 @@ private HttpMessage CreateGetEntityDefinitionByGuidRequest(string guid, RequestO /// Get the entity definition by its name (unique). /// The name of the entity. - /// The request options. + /// The request options. #pragma warning disable AZC0002 - public virtual async Task GetEntityDefinitionByNameAsync(string name, RequestOptions requestOptions = null) + public virtual async Task GetEntityDefinitionByNameAsync(string name, RequestOptions options = null) #pragma warning restore AZC0002 { - requestOptions ??= new RequestOptions(); - HttpMessage message = CreateGetEntityDefinitionByNameRequest(name, requestOptions); - if (requestOptions.PerCallPolicy != null) + options ??= new RequestOptions(); + HttpMessage message = CreateGetEntityDefinitionByNameRequest(name, options); + if (options.PerCallPolicy != null) { - message.SetProperty("RequestOptionsPerCallPolicyCallback", requestOptions.PerCallPolicy); + message.SetProperty("RequestOptionsPerCallPolicyCallback", options.PerCallPolicy); } using var scope = _clientDiagnostics.CreateScope("PurviewTypes.GetEntityDefinitionByName"); scope.Start(); try { - await Pipeline.SendAsync(message, requestOptions.CancellationToken).ConfigureAwait(false); - if (requestOptions.StatusOption == ResponseStatusOption.Default) + await Pipeline.SendAsync(message, options.CancellationToken).ConfigureAwait(false); + if (options.StatusOption == ResponseStatusOption.Default) { switch (message.Response.Status) { @@ -365,23 +365,23 @@ public virtual async Task GetEntityDefinitionByNameAsync(string name, /// Get the entity definition by its name (unique). /// The name of the entity. - /// The request options. + /// The request options. #pragma warning disable AZC0002 - public virtual Response GetEntityDefinitionByName(string name, RequestOptions requestOptions = null) + public virtual Response GetEntityDefinitionByName(string name, RequestOptions options = null) #pragma warning restore AZC0002 { - requestOptions ??= new RequestOptions(); - HttpMessage message = CreateGetEntityDefinitionByNameRequest(name, requestOptions); - if (requestOptions.PerCallPolicy != null) + options ??= new RequestOptions(); + HttpMessage message = CreateGetEntityDefinitionByNameRequest(name, options); + if (options.PerCallPolicy != null) { - message.SetProperty("RequestOptionsPerCallPolicyCallback", requestOptions.PerCallPolicy); + message.SetProperty("RequestOptionsPerCallPolicyCallback", options.PerCallPolicy); } using var scope = _clientDiagnostics.CreateScope("PurviewTypes.GetEntityDefinitionByName"); scope.Start(); try { - Pipeline.Send(message, requestOptions.CancellationToken); - if (requestOptions.StatusOption == ResponseStatusOption.Default) + Pipeline.Send(message, options.CancellationToken); + if (options.StatusOption == ResponseStatusOption.Default) { switch (message.Response.Status) { @@ -405,8 +405,8 @@ public virtual Response GetEntityDefinitionByName(string name, RequestOptions re /// Create Request for and operations. /// The name of the entity. - /// The request options. - private HttpMessage CreateGetEntityDefinitionByNameRequest(string name, RequestOptions requestOptions = null) + /// The request options. + private HttpMessage CreateGetEntityDefinitionByNameRequest(string name, RequestOptions options = null) { var message = Pipeline.CreateMessage(); var request = message.Request; @@ -423,23 +423,23 @@ private HttpMessage CreateGetEntityDefinitionByNameRequest(string name, RequestO /// Get the enum definition for the given GUID. /// The globally unique identifier of the enum. - /// The request options. + /// The request options. #pragma warning disable AZC0002 - public virtual async Task GetEnumDefByGuidAsync(string guid, RequestOptions requestOptions = null) + public virtual async Task GetEnumDefByGuidAsync(string guid, RequestOptions options = null) #pragma warning restore AZC0002 { - requestOptions ??= new RequestOptions(); - HttpMessage message = CreateGetEnumDefByGuidRequest(guid, requestOptions); - if (requestOptions.PerCallPolicy != null) + options ??= new RequestOptions(); + HttpMessage message = CreateGetEnumDefByGuidRequest(guid, options); + if (options.PerCallPolicy != null) { - message.SetProperty("RequestOptionsPerCallPolicyCallback", requestOptions.PerCallPolicy); + message.SetProperty("RequestOptionsPerCallPolicyCallback", options.PerCallPolicy); } using var scope = _clientDiagnostics.CreateScope("PurviewTypes.GetEnumDefByGuid"); scope.Start(); try { - await Pipeline.SendAsync(message, requestOptions.CancellationToken).ConfigureAwait(false); - if (requestOptions.StatusOption == ResponseStatusOption.Default) + await Pipeline.SendAsync(message, options.CancellationToken).ConfigureAwait(false); + if (options.StatusOption == ResponseStatusOption.Default) { switch (message.Response.Status) { @@ -463,23 +463,23 @@ public virtual async Task GetEnumDefByGuidAsync(string guid, RequestOp /// Get the enum definition for the given GUID. /// The globally unique identifier of the enum. - /// The request options. + /// The request options. #pragma warning disable AZC0002 - public virtual Response GetEnumDefByGuid(string guid, RequestOptions requestOptions = null) + public virtual Response GetEnumDefByGuid(string guid, RequestOptions options = null) #pragma warning restore AZC0002 { - requestOptions ??= new RequestOptions(); - HttpMessage message = CreateGetEnumDefByGuidRequest(guid, requestOptions); - if (requestOptions.PerCallPolicy != null) + options ??= new RequestOptions(); + HttpMessage message = CreateGetEnumDefByGuidRequest(guid, options); + if (options.PerCallPolicy != null) { - message.SetProperty("RequestOptionsPerCallPolicyCallback", requestOptions.PerCallPolicy); + message.SetProperty("RequestOptionsPerCallPolicyCallback", options.PerCallPolicy); } using var scope = _clientDiagnostics.CreateScope("PurviewTypes.GetEnumDefByGuid"); scope.Start(); try { - Pipeline.Send(message, requestOptions.CancellationToken); - if (requestOptions.StatusOption == ResponseStatusOption.Default) + Pipeline.Send(message, options.CancellationToken); + if (options.StatusOption == ResponseStatusOption.Default) { switch (message.Response.Status) { @@ -503,8 +503,8 @@ public virtual Response GetEnumDefByGuid(string guid, RequestOptions requestOpti /// Create Request for and operations. /// The globally unique identifier of the enum. - /// The request options. - private HttpMessage CreateGetEnumDefByGuidRequest(string guid, RequestOptions requestOptions = null) + /// The request options. + private HttpMessage CreateGetEnumDefByGuidRequest(string guid, RequestOptions options = null) { var message = Pipeline.CreateMessage(); var request = message.Request; @@ -521,23 +521,23 @@ private HttpMessage CreateGetEnumDefByGuidRequest(string guid, RequestOptions re /// Get the enum definition by its name (unique). /// The name of the enum. - /// The request options. + /// The request options. #pragma warning disable AZC0002 - public virtual async Task GetEnumDefByNameAsync(string name, RequestOptions requestOptions = null) + public virtual async Task GetEnumDefByNameAsync(string name, RequestOptions options = null) #pragma warning restore AZC0002 { - requestOptions ??= new RequestOptions(); - HttpMessage message = CreateGetEnumDefByNameRequest(name, requestOptions); - if (requestOptions.PerCallPolicy != null) + options ??= new RequestOptions(); + HttpMessage message = CreateGetEnumDefByNameRequest(name, options); + if (options.PerCallPolicy != null) { - message.SetProperty("RequestOptionsPerCallPolicyCallback", requestOptions.PerCallPolicy); + message.SetProperty("RequestOptionsPerCallPolicyCallback", options.PerCallPolicy); } using var scope = _clientDiagnostics.CreateScope("PurviewTypes.GetEnumDefByName"); scope.Start(); try { - await Pipeline.SendAsync(message, requestOptions.CancellationToken).ConfigureAwait(false); - if (requestOptions.StatusOption == ResponseStatusOption.Default) + await Pipeline.SendAsync(message, options.CancellationToken).ConfigureAwait(false); + if (options.StatusOption == ResponseStatusOption.Default) { switch (message.Response.Status) { @@ -561,23 +561,23 @@ public virtual async Task GetEnumDefByNameAsync(string name, RequestOp /// Get the enum definition by its name (unique). /// The name of the enum. - /// The request options. + /// The request options. #pragma warning disable AZC0002 - public virtual Response GetEnumDefByName(string name, RequestOptions requestOptions = null) + public virtual Response GetEnumDefByName(string name, RequestOptions options = null) #pragma warning restore AZC0002 { - requestOptions ??= new RequestOptions(); - HttpMessage message = CreateGetEnumDefByNameRequest(name, requestOptions); - if (requestOptions.PerCallPolicy != null) + options ??= new RequestOptions(); + HttpMessage message = CreateGetEnumDefByNameRequest(name, options); + if (options.PerCallPolicy != null) { - message.SetProperty("RequestOptionsPerCallPolicyCallback", requestOptions.PerCallPolicy); + message.SetProperty("RequestOptionsPerCallPolicyCallback", options.PerCallPolicy); } using var scope = _clientDiagnostics.CreateScope("PurviewTypes.GetEnumDefByName"); scope.Start(); try { - Pipeline.Send(message, requestOptions.CancellationToken); - if (requestOptions.StatusOption == ResponseStatusOption.Default) + Pipeline.Send(message, options.CancellationToken); + if (options.StatusOption == ResponseStatusOption.Default) { switch (message.Response.Status) { @@ -601,8 +601,8 @@ public virtual Response GetEnumDefByName(string name, RequestOptions requestOpti /// Create Request for and operations. /// The name of the enum. - /// The request options. - private HttpMessage CreateGetEnumDefByNameRequest(string name, RequestOptions requestOptions = null) + /// The request options. + private HttpMessage CreateGetEnumDefByNameRequest(string name, RequestOptions options = null) { var message = Pipeline.CreateMessage(); var request = message.Request; @@ -619,23 +619,23 @@ private HttpMessage CreateGetEnumDefByNameRequest(string name, RequestOptions re /// Get the relationship definition for the given GUID. /// The globally unique identifier of the relationship. - /// The request options. + /// The request options. #pragma warning disable AZC0002 - public virtual async Task GetRelationshipDefByGuidAsync(string guid, RequestOptions requestOptions = null) + public virtual async Task GetRelationshipDefByGuidAsync(string guid, RequestOptions options = null) #pragma warning restore AZC0002 { - requestOptions ??= new RequestOptions(); - HttpMessage message = CreateGetRelationshipDefByGuidRequest(guid, requestOptions); - if (requestOptions.PerCallPolicy != null) + options ??= new RequestOptions(); + HttpMessage message = CreateGetRelationshipDefByGuidRequest(guid, options); + if (options.PerCallPolicy != null) { - message.SetProperty("RequestOptionsPerCallPolicyCallback", requestOptions.PerCallPolicy); + message.SetProperty("RequestOptionsPerCallPolicyCallback", options.PerCallPolicy); } using var scope = _clientDiagnostics.CreateScope("PurviewTypes.GetRelationshipDefByGuid"); scope.Start(); try { - await Pipeline.SendAsync(message, requestOptions.CancellationToken).ConfigureAwait(false); - if (requestOptions.StatusOption == ResponseStatusOption.Default) + await Pipeline.SendAsync(message, options.CancellationToken).ConfigureAwait(false); + if (options.StatusOption == ResponseStatusOption.Default) { switch (message.Response.Status) { @@ -659,23 +659,23 @@ public virtual async Task GetRelationshipDefByGuidAsync(string guid, R /// Get the relationship definition for the given GUID. /// The globally unique identifier of the relationship. - /// The request options. + /// The request options. #pragma warning disable AZC0002 - public virtual Response GetRelationshipDefByGuid(string guid, RequestOptions requestOptions = null) + public virtual Response GetRelationshipDefByGuid(string guid, RequestOptions options = null) #pragma warning restore AZC0002 { - requestOptions ??= new RequestOptions(); - HttpMessage message = CreateGetRelationshipDefByGuidRequest(guid, requestOptions); - if (requestOptions.PerCallPolicy != null) + options ??= new RequestOptions(); + HttpMessage message = CreateGetRelationshipDefByGuidRequest(guid, options); + if (options.PerCallPolicy != null) { - message.SetProperty("RequestOptionsPerCallPolicyCallback", requestOptions.PerCallPolicy); + message.SetProperty("RequestOptionsPerCallPolicyCallback", options.PerCallPolicy); } using var scope = _clientDiagnostics.CreateScope("PurviewTypes.GetRelationshipDefByGuid"); scope.Start(); try { - Pipeline.Send(message, requestOptions.CancellationToken); - if (requestOptions.StatusOption == ResponseStatusOption.Default) + Pipeline.Send(message, options.CancellationToken); + if (options.StatusOption == ResponseStatusOption.Default) { switch (message.Response.Status) { @@ -699,8 +699,8 @@ public virtual Response GetRelationshipDefByGuid(string guid, RequestOptions req /// Create Request for and operations. /// The globally unique identifier of the relationship. - /// The request options. - private HttpMessage CreateGetRelationshipDefByGuidRequest(string guid, RequestOptions requestOptions = null) + /// The request options. + private HttpMessage CreateGetRelationshipDefByGuidRequest(string guid, RequestOptions options = null) { var message = Pipeline.CreateMessage(); var request = message.Request; @@ -717,23 +717,23 @@ private HttpMessage CreateGetRelationshipDefByGuidRequest(string guid, RequestOp /// Get the relationship definition by its name (unique). /// The name of the relationship. - /// The request options. + /// The request options. #pragma warning disable AZC0002 - public virtual async Task GetRelationshipDefByNameAsync(string name, RequestOptions requestOptions = null) + public virtual async Task GetRelationshipDefByNameAsync(string name, RequestOptions options = null) #pragma warning restore AZC0002 { - requestOptions ??= new RequestOptions(); - HttpMessage message = CreateGetRelationshipDefByNameRequest(name, requestOptions); - if (requestOptions.PerCallPolicy != null) + options ??= new RequestOptions(); + HttpMessage message = CreateGetRelationshipDefByNameRequest(name, options); + if (options.PerCallPolicy != null) { - message.SetProperty("RequestOptionsPerCallPolicyCallback", requestOptions.PerCallPolicy); + message.SetProperty("RequestOptionsPerCallPolicyCallback", options.PerCallPolicy); } using var scope = _clientDiagnostics.CreateScope("PurviewTypes.GetRelationshipDefByName"); scope.Start(); try { - await Pipeline.SendAsync(message, requestOptions.CancellationToken).ConfigureAwait(false); - if (requestOptions.StatusOption == ResponseStatusOption.Default) + await Pipeline.SendAsync(message, options.CancellationToken).ConfigureAwait(false); + if (options.StatusOption == ResponseStatusOption.Default) { switch (message.Response.Status) { @@ -757,23 +757,23 @@ public virtual async Task GetRelationshipDefByNameAsync(string name, R /// Get the relationship definition by its name (unique). /// The name of the relationship. - /// The request options. + /// The request options. #pragma warning disable AZC0002 - public virtual Response GetRelationshipDefByName(string name, RequestOptions requestOptions = null) + public virtual Response GetRelationshipDefByName(string name, RequestOptions options = null) #pragma warning restore AZC0002 { - requestOptions ??= new RequestOptions(); - HttpMessage message = CreateGetRelationshipDefByNameRequest(name, requestOptions); - if (requestOptions.PerCallPolicy != null) + options ??= new RequestOptions(); + HttpMessage message = CreateGetRelationshipDefByNameRequest(name, options); + if (options.PerCallPolicy != null) { - message.SetProperty("RequestOptionsPerCallPolicyCallback", requestOptions.PerCallPolicy); + message.SetProperty("RequestOptionsPerCallPolicyCallback", options.PerCallPolicy); } using var scope = _clientDiagnostics.CreateScope("PurviewTypes.GetRelationshipDefByName"); scope.Start(); try { - Pipeline.Send(message, requestOptions.CancellationToken); - if (requestOptions.StatusOption == ResponseStatusOption.Default) + Pipeline.Send(message, options.CancellationToken); + if (options.StatusOption == ResponseStatusOption.Default) { switch (message.Response.Status) { @@ -797,8 +797,8 @@ public virtual Response GetRelationshipDefByName(string name, RequestOptions req /// Create Request for and operations. /// The name of the relationship. - /// The request options. - private HttpMessage CreateGetRelationshipDefByNameRequest(string name, RequestOptions requestOptions = null) + /// The request options. + private HttpMessage CreateGetRelationshipDefByNameRequest(string name, RequestOptions options = null) { var message = Pipeline.CreateMessage(); var request = message.Request; @@ -815,23 +815,23 @@ private HttpMessage CreateGetRelationshipDefByNameRequest(string name, RequestOp /// Get the struct definition for the given GUID. /// The globally unique identifier of the struct. - /// The request options. + /// The request options. #pragma warning disable AZC0002 - public virtual async Task GetStructDefByGuidAsync(string guid, RequestOptions requestOptions = null) + public virtual async Task GetStructDefByGuidAsync(string guid, RequestOptions options = null) #pragma warning restore AZC0002 { - requestOptions ??= new RequestOptions(); - HttpMessage message = CreateGetStructDefByGuidRequest(guid, requestOptions); - if (requestOptions.PerCallPolicy != null) + options ??= new RequestOptions(); + HttpMessage message = CreateGetStructDefByGuidRequest(guid, options); + if (options.PerCallPolicy != null) { - message.SetProperty("RequestOptionsPerCallPolicyCallback", requestOptions.PerCallPolicy); + message.SetProperty("RequestOptionsPerCallPolicyCallback", options.PerCallPolicy); } using var scope = _clientDiagnostics.CreateScope("PurviewTypes.GetStructDefByGuid"); scope.Start(); try { - await Pipeline.SendAsync(message, requestOptions.CancellationToken).ConfigureAwait(false); - if (requestOptions.StatusOption == ResponseStatusOption.Default) + await Pipeline.SendAsync(message, options.CancellationToken).ConfigureAwait(false); + if (options.StatusOption == ResponseStatusOption.Default) { switch (message.Response.Status) { @@ -855,23 +855,23 @@ public virtual async Task GetStructDefByGuidAsync(string guid, Request /// Get the struct definition for the given GUID. /// The globally unique identifier of the struct. - /// The request options. + /// The request options. #pragma warning disable AZC0002 - public virtual Response GetStructDefByGuid(string guid, RequestOptions requestOptions = null) + public virtual Response GetStructDefByGuid(string guid, RequestOptions options = null) #pragma warning restore AZC0002 { - requestOptions ??= new RequestOptions(); - HttpMessage message = CreateGetStructDefByGuidRequest(guid, requestOptions); - if (requestOptions.PerCallPolicy != null) + options ??= new RequestOptions(); + HttpMessage message = CreateGetStructDefByGuidRequest(guid, options); + if (options.PerCallPolicy != null) { - message.SetProperty("RequestOptionsPerCallPolicyCallback", requestOptions.PerCallPolicy); + message.SetProperty("RequestOptionsPerCallPolicyCallback", options.PerCallPolicy); } using var scope = _clientDiagnostics.CreateScope("PurviewTypes.GetStructDefByGuid"); scope.Start(); try { - Pipeline.Send(message, requestOptions.CancellationToken); - if (requestOptions.StatusOption == ResponseStatusOption.Default) + Pipeline.Send(message, options.CancellationToken); + if (options.StatusOption == ResponseStatusOption.Default) { switch (message.Response.Status) { @@ -895,8 +895,8 @@ public virtual Response GetStructDefByGuid(string guid, RequestOptions requestOp /// Create Request for and operations. /// The globally unique identifier of the struct. - /// The request options. - private HttpMessage CreateGetStructDefByGuidRequest(string guid, RequestOptions requestOptions = null) + /// The request options. + private HttpMessage CreateGetStructDefByGuidRequest(string guid, RequestOptions options = null) { var message = Pipeline.CreateMessage(); var request = message.Request; @@ -913,23 +913,23 @@ private HttpMessage CreateGetStructDefByGuidRequest(string guid, RequestOptions /// Get the struct definition by its name (unique). /// The name of the struct. - /// The request options. + /// The request options. #pragma warning disable AZC0002 - public virtual async Task GetStructDefByNameAsync(string name, RequestOptions requestOptions = null) + public virtual async Task GetStructDefByNameAsync(string name, RequestOptions options = null) #pragma warning restore AZC0002 { - requestOptions ??= new RequestOptions(); - HttpMessage message = CreateGetStructDefByNameRequest(name, requestOptions); - if (requestOptions.PerCallPolicy != null) + options ??= new RequestOptions(); + HttpMessage message = CreateGetStructDefByNameRequest(name, options); + if (options.PerCallPolicy != null) { - message.SetProperty("RequestOptionsPerCallPolicyCallback", requestOptions.PerCallPolicy); + message.SetProperty("RequestOptionsPerCallPolicyCallback", options.PerCallPolicy); } using var scope = _clientDiagnostics.CreateScope("PurviewTypes.GetStructDefByName"); scope.Start(); try { - await Pipeline.SendAsync(message, requestOptions.CancellationToken).ConfigureAwait(false); - if (requestOptions.StatusOption == ResponseStatusOption.Default) + await Pipeline.SendAsync(message, options.CancellationToken).ConfigureAwait(false); + if (options.StatusOption == ResponseStatusOption.Default) { switch (message.Response.Status) { @@ -953,23 +953,23 @@ public virtual async Task GetStructDefByNameAsync(string name, Request /// Get the struct definition by its name (unique). /// The name of the struct. - /// The request options. + /// The request options. #pragma warning disable AZC0002 - public virtual Response GetStructDefByName(string name, RequestOptions requestOptions = null) + public virtual Response GetStructDefByName(string name, RequestOptions options = null) #pragma warning restore AZC0002 { - requestOptions ??= new RequestOptions(); - HttpMessage message = CreateGetStructDefByNameRequest(name, requestOptions); - if (requestOptions.PerCallPolicy != null) + options ??= new RequestOptions(); + HttpMessage message = CreateGetStructDefByNameRequest(name, options); + if (options.PerCallPolicy != null) { - message.SetProperty("RequestOptionsPerCallPolicyCallback", requestOptions.PerCallPolicy); + message.SetProperty("RequestOptionsPerCallPolicyCallback", options.PerCallPolicy); } using var scope = _clientDiagnostics.CreateScope("PurviewTypes.GetStructDefByName"); scope.Start(); try { - Pipeline.Send(message, requestOptions.CancellationToken); - if (requestOptions.StatusOption == ResponseStatusOption.Default) + Pipeline.Send(message, options.CancellationToken); + if (options.StatusOption == ResponseStatusOption.Default) { switch (message.Response.Status) { @@ -993,8 +993,8 @@ public virtual Response GetStructDefByName(string name, RequestOptions requestOp /// Create Request for and operations. /// The name of the struct. - /// The request options. - private HttpMessage CreateGetStructDefByNameRequest(string name, RequestOptions requestOptions = null) + /// The request options. + private HttpMessage CreateGetStructDefByNameRequest(string name, RequestOptions options = null) { var message = Pipeline.CreateMessage(); var request = message.Request; @@ -1011,23 +1011,23 @@ private HttpMessage CreateGetStructDefByNameRequest(string name, RequestOptions /// Get the type definition for the given GUID. /// The globally unique identifier of the type. - /// The request options. + /// The request options. #pragma warning disable AZC0002 - public virtual async Task GetTypeDefinitionByGuidAsync(string guid, RequestOptions requestOptions = null) + public virtual async Task GetTypeDefinitionByGuidAsync(string guid, RequestOptions options = null) #pragma warning restore AZC0002 { - requestOptions ??= new RequestOptions(); - HttpMessage message = CreateGetTypeDefinitionByGuidRequest(guid, requestOptions); - if (requestOptions.PerCallPolicy != null) + options ??= new RequestOptions(); + HttpMessage message = CreateGetTypeDefinitionByGuidRequest(guid, options); + if (options.PerCallPolicy != null) { - message.SetProperty("RequestOptionsPerCallPolicyCallback", requestOptions.PerCallPolicy); + message.SetProperty("RequestOptionsPerCallPolicyCallback", options.PerCallPolicy); } using var scope = _clientDiagnostics.CreateScope("PurviewTypes.GetTypeDefinitionByGuid"); scope.Start(); try { - await Pipeline.SendAsync(message, requestOptions.CancellationToken).ConfigureAwait(false); - if (requestOptions.StatusOption == ResponseStatusOption.Default) + await Pipeline.SendAsync(message, options.CancellationToken).ConfigureAwait(false); + if (options.StatusOption == ResponseStatusOption.Default) { switch (message.Response.Status) { @@ -1051,23 +1051,23 @@ public virtual async Task GetTypeDefinitionByGuidAsync(string guid, Re /// Get the type definition for the given GUID. /// The globally unique identifier of the type. - /// The request options. + /// The request options. #pragma warning disable AZC0002 - public virtual Response GetTypeDefinitionByGuid(string guid, RequestOptions requestOptions = null) + public virtual Response GetTypeDefinitionByGuid(string guid, RequestOptions options = null) #pragma warning restore AZC0002 { - requestOptions ??= new RequestOptions(); - HttpMessage message = CreateGetTypeDefinitionByGuidRequest(guid, requestOptions); - if (requestOptions.PerCallPolicy != null) + options ??= new RequestOptions(); + HttpMessage message = CreateGetTypeDefinitionByGuidRequest(guid, options); + if (options.PerCallPolicy != null) { - message.SetProperty("RequestOptionsPerCallPolicyCallback", requestOptions.PerCallPolicy); + message.SetProperty("RequestOptionsPerCallPolicyCallback", options.PerCallPolicy); } using var scope = _clientDiagnostics.CreateScope("PurviewTypes.GetTypeDefinitionByGuid"); scope.Start(); try { - Pipeline.Send(message, requestOptions.CancellationToken); - if (requestOptions.StatusOption == ResponseStatusOption.Default) + Pipeline.Send(message, options.CancellationToken); + if (options.StatusOption == ResponseStatusOption.Default) { switch (message.Response.Status) { @@ -1091,8 +1091,8 @@ public virtual Response GetTypeDefinitionByGuid(string guid, RequestOptions requ /// Create Request for and operations. /// The globally unique identifier of the type. - /// The request options. - private HttpMessage CreateGetTypeDefinitionByGuidRequest(string guid, RequestOptions requestOptions = null) + /// The request options. + private HttpMessage CreateGetTypeDefinitionByGuidRequest(string guid, RequestOptions options = null) { var message = Pipeline.CreateMessage(); var request = message.Request; @@ -1109,23 +1109,23 @@ private HttpMessage CreateGetTypeDefinitionByGuidRequest(string guid, RequestOpt /// Get the type definition by its name (unique). /// The name of the type. - /// The request options. + /// The request options. #pragma warning disable AZC0002 - public virtual async Task GetTypeDefinitionByNameAsync(string name, RequestOptions requestOptions = null) + public virtual async Task GetTypeDefinitionByNameAsync(string name, RequestOptions options = null) #pragma warning restore AZC0002 { - requestOptions ??= new RequestOptions(); - HttpMessage message = CreateGetTypeDefinitionByNameRequest(name, requestOptions); - if (requestOptions.PerCallPolicy != null) + options ??= new RequestOptions(); + HttpMessage message = CreateGetTypeDefinitionByNameRequest(name, options); + if (options.PerCallPolicy != null) { - message.SetProperty("RequestOptionsPerCallPolicyCallback", requestOptions.PerCallPolicy); + message.SetProperty("RequestOptionsPerCallPolicyCallback", options.PerCallPolicy); } using var scope = _clientDiagnostics.CreateScope("PurviewTypes.GetTypeDefinitionByName"); scope.Start(); try { - await Pipeline.SendAsync(message, requestOptions.CancellationToken).ConfigureAwait(false); - if (requestOptions.StatusOption == ResponseStatusOption.Default) + await Pipeline.SendAsync(message, options.CancellationToken).ConfigureAwait(false); + if (options.StatusOption == ResponseStatusOption.Default) { switch (message.Response.Status) { @@ -1149,23 +1149,23 @@ public virtual async Task GetTypeDefinitionByNameAsync(string name, Re /// Get the type definition by its name (unique). /// The name of the type. - /// The request options. + /// The request options. #pragma warning disable AZC0002 - public virtual Response GetTypeDefinitionByName(string name, RequestOptions requestOptions = null) + public virtual Response GetTypeDefinitionByName(string name, RequestOptions options = null) #pragma warning restore AZC0002 { - requestOptions ??= new RequestOptions(); - HttpMessage message = CreateGetTypeDefinitionByNameRequest(name, requestOptions); - if (requestOptions.PerCallPolicy != null) + options ??= new RequestOptions(); + HttpMessage message = CreateGetTypeDefinitionByNameRequest(name, options); + if (options.PerCallPolicy != null) { - message.SetProperty("RequestOptionsPerCallPolicyCallback", requestOptions.PerCallPolicy); + message.SetProperty("RequestOptionsPerCallPolicyCallback", options.PerCallPolicy); } using var scope = _clientDiagnostics.CreateScope("PurviewTypes.GetTypeDefinitionByName"); scope.Start(); try { - Pipeline.Send(message, requestOptions.CancellationToken); - if (requestOptions.StatusOption == ResponseStatusOption.Default) + Pipeline.Send(message, options.CancellationToken); + if (options.StatusOption == ResponseStatusOption.Default) { switch (message.Response.Status) { @@ -1189,8 +1189,8 @@ public virtual Response GetTypeDefinitionByName(string name, RequestOptions requ /// Create Request for and operations. /// The name of the type. - /// The request options. - private HttpMessage CreateGetTypeDefinitionByNameRequest(string name, RequestOptions requestOptions = null) + /// The request options. + private HttpMessage CreateGetTypeDefinitionByNameRequest(string name, RequestOptions options = null) { var message = Pipeline.CreateMessage(); var request = message.Request; @@ -1207,23 +1207,23 @@ private HttpMessage CreateGetTypeDefinitionByNameRequest(string name, RequestOpt /// Delete API for type identified by its name. /// The name of the type. - /// The request options. + /// The request options. #pragma warning disable AZC0002 - public virtual async Task DeleteTypeByNameAsync(string name, RequestOptions requestOptions = null) + public virtual async Task DeleteTypeByNameAsync(string name, RequestOptions options = null) #pragma warning restore AZC0002 { - requestOptions ??= new RequestOptions(); - HttpMessage message = CreateDeleteTypeByNameRequest(name, requestOptions); - if (requestOptions.PerCallPolicy != null) + options ??= new RequestOptions(); + HttpMessage message = CreateDeleteTypeByNameRequest(name, options); + if (options.PerCallPolicy != null) { - message.SetProperty("RequestOptionsPerCallPolicyCallback", requestOptions.PerCallPolicy); + message.SetProperty("RequestOptionsPerCallPolicyCallback", options.PerCallPolicy); } using var scope = _clientDiagnostics.CreateScope("PurviewTypes.DeleteTypeByName"); scope.Start(); try { - await Pipeline.SendAsync(message, requestOptions.CancellationToken).ConfigureAwait(false); - if (requestOptions.StatusOption == ResponseStatusOption.Default) + await Pipeline.SendAsync(message, options.CancellationToken).ConfigureAwait(false); + if (options.StatusOption == ResponseStatusOption.Default) { switch (message.Response.Status) { @@ -1247,23 +1247,23 @@ public virtual async Task DeleteTypeByNameAsync(string name, RequestOp /// Delete API for type identified by its name. /// The name of the type. - /// The request options. + /// The request options. #pragma warning disable AZC0002 - public virtual Response DeleteTypeByName(string name, RequestOptions requestOptions = null) + public virtual Response DeleteTypeByName(string name, RequestOptions options = null) #pragma warning restore AZC0002 { - requestOptions ??= new RequestOptions(); - HttpMessage message = CreateDeleteTypeByNameRequest(name, requestOptions); - if (requestOptions.PerCallPolicy != null) + options ??= new RequestOptions(); + HttpMessage message = CreateDeleteTypeByNameRequest(name, options); + if (options.PerCallPolicy != null) { - message.SetProperty("RequestOptionsPerCallPolicyCallback", requestOptions.PerCallPolicy); + message.SetProperty("RequestOptionsPerCallPolicyCallback", options.PerCallPolicy); } using var scope = _clientDiagnostics.CreateScope("PurviewTypes.DeleteTypeByName"); scope.Start(); try { - Pipeline.Send(message, requestOptions.CancellationToken); - if (requestOptions.StatusOption == ResponseStatusOption.Default) + Pipeline.Send(message, options.CancellationToken); + if (options.StatusOption == ResponseStatusOption.Default) { switch (message.Response.Status) { @@ -1287,8 +1287,8 @@ public virtual Response DeleteTypeByName(string name, RequestOptions requestOpti /// Create Request for and operations. /// The name of the type. - /// The request options. - private HttpMessage CreateDeleteTypeByNameRequest(string name, RequestOptions requestOptions = null) + /// The request options. + private HttpMessage CreateDeleteTypeByNameRequest(string name, RequestOptions options = null) { var message = Pipeline.CreateMessage(); var request = message.Request; @@ -1308,23 +1308,23 @@ private HttpMessage CreateDeleteTypeByNameRequest(string name, RequestOptions re /// This is always true when search filter type=term_template. /// /// Typedef name as search filter when get typedefs. - /// The request options. + /// The request options. #pragma warning disable AZC0002 - public virtual async Task GetAllTypeDefinitionsAsync(bool? includeTermTemplate = null, string type = null, RequestOptions requestOptions = null) + public virtual async Task GetAllTypeDefinitionsAsync(bool? includeTermTemplate = null, string type = null, RequestOptions options = null) #pragma warning restore AZC0002 { - requestOptions ??= new RequestOptions(); - HttpMessage message = CreateGetAllTypeDefinitionsRequest(includeTermTemplate, type, requestOptions); - if (requestOptions.PerCallPolicy != null) + options ??= new RequestOptions(); + HttpMessage message = CreateGetAllTypeDefinitionsRequest(includeTermTemplate, type, options); + if (options.PerCallPolicy != null) { - message.SetProperty("RequestOptionsPerCallPolicyCallback", requestOptions.PerCallPolicy); + message.SetProperty("RequestOptionsPerCallPolicyCallback", options.PerCallPolicy); } using var scope = _clientDiagnostics.CreateScope("PurviewTypes.GetAllTypeDefinitions"); scope.Start(); try { - await Pipeline.SendAsync(message, requestOptions.CancellationToken).ConfigureAwait(false); - if (requestOptions.StatusOption == ResponseStatusOption.Default) + await Pipeline.SendAsync(message, options.CancellationToken).ConfigureAwait(false); + if (options.StatusOption == ResponseStatusOption.Default) { switch (message.Response.Status) { @@ -1352,23 +1352,23 @@ public virtual async Task GetAllTypeDefinitionsAsync(bool? includeTerm /// This is always true when search filter type=term_template. /// /// Typedef name as search filter when get typedefs. - /// The request options. + /// The request options. #pragma warning disable AZC0002 - public virtual Response GetAllTypeDefinitions(bool? includeTermTemplate = null, string type = null, RequestOptions requestOptions = null) + public virtual Response GetAllTypeDefinitions(bool? includeTermTemplate = null, string type = null, RequestOptions options = null) #pragma warning restore AZC0002 { - requestOptions ??= new RequestOptions(); - HttpMessage message = CreateGetAllTypeDefinitionsRequest(includeTermTemplate, type, requestOptions); - if (requestOptions.PerCallPolicy != null) + options ??= new RequestOptions(); + HttpMessage message = CreateGetAllTypeDefinitionsRequest(includeTermTemplate, type, options); + if (options.PerCallPolicy != null) { - message.SetProperty("RequestOptionsPerCallPolicyCallback", requestOptions.PerCallPolicy); + message.SetProperty("RequestOptionsPerCallPolicyCallback", options.PerCallPolicy); } using var scope = _clientDiagnostics.CreateScope("PurviewTypes.GetAllTypeDefinitions"); scope.Start(); try { - Pipeline.Send(message, requestOptions.CancellationToken); - if (requestOptions.StatusOption == ResponseStatusOption.Default) + Pipeline.Send(message, options.CancellationToken); + if (options.StatusOption == ResponseStatusOption.Default) { switch (message.Response.Status) { @@ -1396,8 +1396,8 @@ public virtual Response GetAllTypeDefinitions(bool? includeTermTemplate = null, /// This is always true when search filter type=term_template. /// /// Typedef name as search filter when get typedefs. - /// The request options. - private HttpMessage CreateGetAllTypeDefinitionsRequest(bool? includeTermTemplate = null, string type = null, RequestOptions requestOptions = null) + /// The request options. + private HttpMessage CreateGetAllTypeDefinitionsRequest(bool? includeTermTemplate = null, string type = null, RequestOptions options = null) { var message = Pipeline.CreateMessage(); var request = message.Request; @@ -1426,12 +1426,12 @@ private HttpMessage CreateGetAllTypeDefinitionsRequest(bool? includeTermTemplate /// /// Schema for Request Body: /// - /// + /// /// Name /// Type /// Required /// Description - /// + /// /// /// classificationDefs /// AtlasClassificationDef[] @@ -1471,12 +1471,12 @@ private HttpMessage CreateGetAllTypeDefinitionsRequest(bool? includeTermTemplate /// /// Schema for AtlasClassificationDef: /// - /// + /// /// Name /// Type /// Required /// Description - /// + /// /// /// attributeDefs /// AtlasAttributeDef[] @@ -1599,12 +1599,12 @@ private HttpMessage CreateGetAllTypeDefinitionsRequest(bool? includeTermTemplate /// /// Schema for AtlasEntityDef: /// - /// + /// /// Name /// Type /// Required /// Description - /// + /// /// /// attributeDefs /// AtlasAttributeDef[] @@ -1716,12 +1716,12 @@ private HttpMessage CreateGetAllTypeDefinitionsRequest(bool? includeTermTemplate /// /// Schema for AtlasEnumDef: /// - /// + /// /// Name /// Type /// Required /// Description - /// + /// /// /// category /// "PRIMITIVE" | "OBJECT_ID_TYPE" | "ENUM" | "STRUCT" | "CLASSIFICATION" | "ENTITY" | "ARRAY" | "MAP" | "RELATIONSHIP" | "TERM_TEMPLATE" @@ -1821,12 +1821,12 @@ private HttpMessage CreateGetAllTypeDefinitionsRequest(bool? includeTermTemplate /// /// Schema for AtlasRelationshipDef: /// - /// + /// /// Name /// Type /// Required /// Description - /// + /// /// /// attributeDefs /// AtlasAttributeDef[] @@ -1960,12 +1960,12 @@ private HttpMessage CreateGetAllTypeDefinitionsRequest(bool? includeTermTemplate /// /// Schema for AtlasStructDef: /// - /// + /// /// Name /// Type /// Required /// Description - /// + /// /// /// category /// "PRIMITIVE" | "OBJECT_ID_TYPE" | "ENUM" | "STRUCT" | "CLASSIFICATION" | "ENTITY" | "ARRAY" | "MAP" | "RELATIONSHIP" | "TERM_TEMPLATE" @@ -2059,12 +2059,12 @@ private HttpMessage CreateGetAllTypeDefinitionsRequest(bool? includeTermTemplate /// /// Schema for TermTemplateDef: /// - /// + /// /// Name /// Type /// Required /// Description - /// + /// /// /// attributeDefs /// AtlasAttributeDef[] @@ -2158,12 +2158,12 @@ private HttpMessage CreateGetAllTypeDefinitionsRequest(bool? includeTermTemplate /// /// Schema for DateFormat: /// - /// + /// /// Name /// Type /// Required /// Description - /// + /// /// /// availableLocales /// string[] @@ -2221,12 +2221,12 @@ private HttpMessage CreateGetAllTypeDefinitionsRequest(bool? includeTermTemplate /// /// Schema for AtlasRelationshipEndDef: /// - /// + /// /// Name /// Type /// Required /// Description - /// + /// /// /// cardinality /// "SINGLE" | "LIST" | "SET" @@ -2266,12 +2266,12 @@ private HttpMessage CreateGetAllTypeDefinitionsRequest(bool? includeTermTemplate /// /// Schema for AtlasAttributeDef: /// - /// + /// /// Name /// Type /// Required /// Description - /// + /// /// /// cardinality /// "SINGLE" | "LIST" | "SET" @@ -2353,12 +2353,12 @@ private HttpMessage CreateGetAllTypeDefinitionsRequest(bool? includeTermTemplate /// /// Schema for NumberFormat: /// - /// + /// /// Name /// Type /// Required /// Description - /// + /// /// /// availableLocales /// string[] @@ -2446,12 +2446,12 @@ private HttpMessage CreateGetAllTypeDefinitionsRequest(bool? includeTermTemplate /// /// Schema for TimeZone: /// - /// + /// /// Name /// Type /// Required /// Description - /// + /// /// /// dstSavings /// number @@ -2491,12 +2491,12 @@ private HttpMessage CreateGetAllTypeDefinitionsRequest(bool? includeTermTemplate /// /// Schema for AtlasRelationshipAttributeDef: /// - /// + /// /// Name /// Type /// Required /// Description - /// + /// /// /// cardinality /// "SINGLE" | "LIST" | "SET" @@ -2590,12 +2590,12 @@ private HttpMessage CreateGetAllTypeDefinitionsRequest(bool? includeTermTemplate /// /// Schema for AtlasEnumElementDef: /// - /// + /// /// Name /// Type /// Required /// Description - /// + /// /// /// description /// string @@ -2617,12 +2617,12 @@ private HttpMessage CreateGetAllTypeDefinitionsRequest(bool? includeTermTemplate /// /// Schema for AtlasConstraintDef: /// - /// + /// /// Name /// Type /// Required /// Description - /// + /// /// /// params /// Dictionary<string, AnyObject> @@ -2637,24 +2637,24 @@ private HttpMessage CreateGetAllTypeDefinitionsRequest(bool? includeTermTemplate /// /// /// - /// The request body. - /// The request options. + /// The content to send as the body of the request. + /// The request options. #pragma warning disable AZC0002 - public virtual async Task CreateTypeDefinitionsAsync(RequestContent requestBody, RequestOptions requestOptions = null) + public virtual async Task CreateTypeDefinitionsAsync(RequestContent content, RequestOptions options = null) #pragma warning restore AZC0002 { - requestOptions ??= new RequestOptions(); - HttpMessage message = CreateCreateTypeDefinitionsRequest(requestBody, requestOptions); - if (requestOptions.PerCallPolicy != null) + options ??= new RequestOptions(); + HttpMessage message = CreateCreateTypeDefinitionsRequest(content, options); + if (options.PerCallPolicy != null) { - message.SetProperty("RequestOptionsPerCallPolicyCallback", requestOptions.PerCallPolicy); + message.SetProperty("RequestOptionsPerCallPolicyCallback", options.PerCallPolicy); } using var scope = _clientDiagnostics.CreateScope("PurviewTypes.CreateTypeDefinitions"); scope.Start(); try { - await Pipeline.SendAsync(message, requestOptions.CancellationToken).ConfigureAwait(false); - if (requestOptions.StatusOption == ResponseStatusOption.Default) + await Pipeline.SendAsync(message, options.CancellationToken).ConfigureAwait(false); + if (options.StatusOption == ResponseStatusOption.Default) { switch (message.Response.Status) { @@ -2683,12 +2683,12 @@ public virtual async Task CreateTypeDefinitionsAsync(RequestContent re /// /// Schema for Request Body: /// - /// + /// /// Name /// Type /// Required /// Description - /// + /// /// /// classificationDefs /// AtlasClassificationDef[] @@ -2728,12 +2728,12 @@ public virtual async Task CreateTypeDefinitionsAsync(RequestContent re /// /// Schema for AtlasClassificationDef: /// - /// + /// /// Name /// Type /// Required /// Description - /// + /// /// /// attributeDefs /// AtlasAttributeDef[] @@ -2856,12 +2856,12 @@ public virtual async Task CreateTypeDefinitionsAsync(RequestContent re /// /// Schema for AtlasEntityDef: /// - /// + /// /// Name /// Type /// Required /// Description - /// + /// /// /// attributeDefs /// AtlasAttributeDef[] @@ -2973,12 +2973,12 @@ public virtual async Task CreateTypeDefinitionsAsync(RequestContent re /// /// Schema for AtlasEnumDef: /// - /// + /// /// Name /// Type /// Required /// Description - /// + /// /// /// category /// "PRIMITIVE" | "OBJECT_ID_TYPE" | "ENUM" | "STRUCT" | "CLASSIFICATION" | "ENTITY" | "ARRAY" | "MAP" | "RELATIONSHIP" | "TERM_TEMPLATE" @@ -3078,12 +3078,12 @@ public virtual async Task CreateTypeDefinitionsAsync(RequestContent re /// /// Schema for AtlasRelationshipDef: /// - /// + /// /// Name /// Type /// Required /// Description - /// + /// /// /// attributeDefs /// AtlasAttributeDef[] @@ -3217,12 +3217,12 @@ public virtual async Task CreateTypeDefinitionsAsync(RequestContent re /// /// Schema for AtlasStructDef: /// - /// + /// /// Name /// Type /// Required /// Description - /// + /// /// /// category /// "PRIMITIVE" | "OBJECT_ID_TYPE" | "ENUM" | "STRUCT" | "CLASSIFICATION" | "ENTITY" | "ARRAY" | "MAP" | "RELATIONSHIP" | "TERM_TEMPLATE" @@ -3316,12 +3316,12 @@ public virtual async Task CreateTypeDefinitionsAsync(RequestContent re /// /// Schema for TermTemplateDef: /// - /// + /// /// Name /// Type /// Required /// Description - /// + /// /// /// attributeDefs /// AtlasAttributeDef[] @@ -3415,12 +3415,12 @@ public virtual async Task CreateTypeDefinitionsAsync(RequestContent re /// /// Schema for DateFormat: /// - /// + /// /// Name /// Type /// Required /// Description - /// + /// /// /// availableLocales /// string[] @@ -3478,12 +3478,12 @@ public virtual async Task CreateTypeDefinitionsAsync(RequestContent re /// /// Schema for AtlasRelationshipEndDef: /// - /// + /// /// Name /// Type /// Required /// Description - /// + /// /// /// cardinality /// "SINGLE" | "LIST" | "SET" @@ -3523,12 +3523,12 @@ public virtual async Task CreateTypeDefinitionsAsync(RequestContent re /// /// Schema for AtlasAttributeDef: /// - /// + /// /// Name /// Type /// Required /// Description - /// + /// /// /// cardinality /// "SINGLE" | "LIST" | "SET" @@ -3610,12 +3610,12 @@ public virtual async Task CreateTypeDefinitionsAsync(RequestContent re /// /// Schema for NumberFormat: /// - /// + /// /// Name /// Type /// Required /// Description - /// + /// /// /// availableLocales /// string[] @@ -3703,12 +3703,12 @@ public virtual async Task CreateTypeDefinitionsAsync(RequestContent re /// /// Schema for TimeZone: /// - /// + /// /// Name /// Type /// Required /// Description - /// + /// /// /// dstSavings /// number @@ -3748,12 +3748,12 @@ public virtual async Task CreateTypeDefinitionsAsync(RequestContent re /// /// Schema for AtlasRelationshipAttributeDef: /// - /// + /// /// Name /// Type /// Required /// Description - /// + /// /// /// cardinality /// "SINGLE" | "LIST" | "SET" @@ -3847,12 +3847,12 @@ public virtual async Task CreateTypeDefinitionsAsync(RequestContent re /// /// Schema for AtlasEnumElementDef: /// - /// + /// /// Name /// Type /// Required /// Description - /// + /// /// /// description /// string @@ -3874,12 +3874,12 @@ public virtual async Task CreateTypeDefinitionsAsync(RequestContent re /// /// Schema for AtlasConstraintDef: /// - /// + /// /// Name /// Type /// Required /// Description - /// + /// /// /// params /// Dictionary<string, AnyObject> @@ -3894,24 +3894,24 @@ public virtual async Task CreateTypeDefinitionsAsync(RequestContent re /// /// /// - /// The request body. - /// The request options. + /// The content to send as the body of the request. + /// The request options. #pragma warning disable AZC0002 - public virtual Response CreateTypeDefinitions(RequestContent requestBody, RequestOptions requestOptions = null) + public virtual Response CreateTypeDefinitions(RequestContent content, RequestOptions options = null) #pragma warning restore AZC0002 { - requestOptions ??= new RequestOptions(); - HttpMessage message = CreateCreateTypeDefinitionsRequest(requestBody, requestOptions); - if (requestOptions.PerCallPolicy != null) + options ??= new RequestOptions(); + HttpMessage message = CreateCreateTypeDefinitionsRequest(content, options); + if (options.PerCallPolicy != null) { - message.SetProperty("RequestOptionsPerCallPolicyCallback", requestOptions.PerCallPolicy); + message.SetProperty("RequestOptionsPerCallPolicyCallback", options.PerCallPolicy); } using var scope = _clientDiagnostics.CreateScope("PurviewTypes.CreateTypeDefinitions"); scope.Start(); try { - Pipeline.Send(message, requestOptions.CancellationToken); - if (requestOptions.StatusOption == ResponseStatusOption.Default) + Pipeline.Send(message, options.CancellationToken); + if (options.StatusOption == ResponseStatusOption.Default) { switch (message.Response.Status) { @@ -3934,9 +3934,9 @@ public virtual Response CreateTypeDefinitions(RequestContent requestBody, Reques } /// Create Request for and operations. - /// The request body. - /// The request options. - private HttpMessage CreateCreateTypeDefinitionsRequest(RequestContent requestBody, RequestOptions requestOptions = null) + /// The content to send as the body of the request. + /// The request options. + private HttpMessage CreateCreateTypeDefinitionsRequest(RequestContent content, RequestOptions options = null) { var message = Pipeline.CreateMessage(); var request = message.Request; @@ -3948,7 +3948,7 @@ private HttpMessage CreateCreateTypeDefinitionsRequest(RequestContent requestBod request.Uri = uri; request.Headers.Add("Accept", "application/json"); request.Headers.Add("Content-Type", "application/json"); - request.Content = requestBody; + request.Content = content; return message; } @@ -3956,12 +3956,12 @@ private HttpMessage CreateCreateTypeDefinitionsRequest(RequestContent requestBod /// /// Schema for Request Body: /// - /// + /// /// Name /// Type /// Required /// Description - /// + /// /// /// classificationDefs /// AtlasClassificationDef[] @@ -4001,12 +4001,12 @@ private HttpMessage CreateCreateTypeDefinitionsRequest(RequestContent requestBod /// /// Schema for AtlasClassificationDef: /// - /// + /// /// Name /// Type /// Required /// Description - /// + /// /// /// attributeDefs /// AtlasAttributeDef[] @@ -4129,12 +4129,12 @@ private HttpMessage CreateCreateTypeDefinitionsRequest(RequestContent requestBod /// /// Schema for AtlasEntityDef: /// - /// + /// /// Name /// Type /// Required /// Description - /// + /// /// /// attributeDefs /// AtlasAttributeDef[] @@ -4246,12 +4246,12 @@ private HttpMessage CreateCreateTypeDefinitionsRequest(RequestContent requestBod /// /// Schema for AtlasEnumDef: /// - /// + /// /// Name /// Type /// Required /// Description - /// + /// /// /// category /// "PRIMITIVE" | "OBJECT_ID_TYPE" | "ENUM" | "STRUCT" | "CLASSIFICATION" | "ENTITY" | "ARRAY" | "MAP" | "RELATIONSHIP" | "TERM_TEMPLATE" @@ -4351,12 +4351,12 @@ private HttpMessage CreateCreateTypeDefinitionsRequest(RequestContent requestBod /// /// Schema for AtlasRelationshipDef: /// - /// + /// /// Name /// Type /// Required /// Description - /// + /// /// /// attributeDefs /// AtlasAttributeDef[] @@ -4490,12 +4490,12 @@ private HttpMessage CreateCreateTypeDefinitionsRequest(RequestContent requestBod /// /// Schema for AtlasStructDef: /// - /// + /// /// Name /// Type /// Required /// Description - /// + /// /// /// category /// "PRIMITIVE" | "OBJECT_ID_TYPE" | "ENUM" | "STRUCT" | "CLASSIFICATION" | "ENTITY" | "ARRAY" | "MAP" | "RELATIONSHIP" | "TERM_TEMPLATE" @@ -4589,12 +4589,12 @@ private HttpMessage CreateCreateTypeDefinitionsRequest(RequestContent requestBod /// /// Schema for TermTemplateDef: /// - /// + /// /// Name /// Type /// Required /// Description - /// + /// /// /// attributeDefs /// AtlasAttributeDef[] @@ -4688,12 +4688,12 @@ private HttpMessage CreateCreateTypeDefinitionsRequest(RequestContent requestBod /// /// Schema for DateFormat: /// - /// + /// /// Name /// Type /// Required /// Description - /// + /// /// /// availableLocales /// string[] @@ -4751,12 +4751,12 @@ private HttpMessage CreateCreateTypeDefinitionsRequest(RequestContent requestBod /// /// Schema for AtlasRelationshipEndDef: /// - /// + /// /// Name /// Type /// Required /// Description - /// + /// /// /// cardinality /// "SINGLE" | "LIST" | "SET" @@ -4796,12 +4796,12 @@ private HttpMessage CreateCreateTypeDefinitionsRequest(RequestContent requestBod /// /// Schema for AtlasAttributeDef: /// - /// + /// /// Name /// Type /// Required /// Description - /// + /// /// /// cardinality /// "SINGLE" | "LIST" | "SET" @@ -4883,12 +4883,12 @@ private HttpMessage CreateCreateTypeDefinitionsRequest(RequestContent requestBod /// /// Schema for NumberFormat: /// - /// + /// /// Name /// Type /// Required /// Description - /// + /// /// /// availableLocales /// string[] @@ -4976,12 +4976,12 @@ private HttpMessage CreateCreateTypeDefinitionsRequest(RequestContent requestBod /// /// Schema for TimeZone: /// - /// + /// /// Name /// Type /// Required /// Description - /// + /// /// /// dstSavings /// number @@ -5021,12 +5021,12 @@ private HttpMessage CreateCreateTypeDefinitionsRequest(RequestContent requestBod /// /// Schema for AtlasRelationshipAttributeDef: /// - /// + /// /// Name /// Type /// Required /// Description - /// + /// /// /// cardinality /// "SINGLE" | "LIST" | "SET" @@ -5120,12 +5120,12 @@ private HttpMessage CreateCreateTypeDefinitionsRequest(RequestContent requestBod /// /// Schema for AtlasEnumElementDef: /// - /// + /// /// Name /// Type /// Required /// Description - /// + /// /// /// description /// string @@ -5147,12 +5147,12 @@ private HttpMessage CreateCreateTypeDefinitionsRequest(RequestContent requestBod /// /// Schema for AtlasConstraintDef: /// - /// + /// /// Name /// Type /// Required /// Description - /// + /// /// /// params /// Dictionary<string, AnyObject> @@ -5167,24 +5167,24 @@ private HttpMessage CreateCreateTypeDefinitionsRequest(RequestContent requestBod /// /// /// - /// The request body. - /// The request options. + /// The content to send as the body of the request. + /// The request options. #pragma warning disable AZC0002 - public virtual async Task UpdateAtlasTypeDefinitionsAsync(RequestContent requestBody, RequestOptions requestOptions = null) + public virtual async Task UpdateAtlasTypeDefinitionsAsync(RequestContent content, RequestOptions options = null) #pragma warning restore AZC0002 { - requestOptions ??= new RequestOptions(); - HttpMessage message = CreateUpdateAtlasTypeDefinitionsRequest(requestBody, requestOptions); - if (requestOptions.PerCallPolicy != null) + options ??= new RequestOptions(); + HttpMessage message = CreateUpdateAtlasTypeDefinitionsRequest(content, options); + if (options.PerCallPolicy != null) { - message.SetProperty("RequestOptionsPerCallPolicyCallback", requestOptions.PerCallPolicy); + message.SetProperty("RequestOptionsPerCallPolicyCallback", options.PerCallPolicy); } using var scope = _clientDiagnostics.CreateScope("PurviewTypes.UpdateAtlasTypeDefinitions"); scope.Start(); try { - await Pipeline.SendAsync(message, requestOptions.CancellationToken).ConfigureAwait(false); - if (requestOptions.StatusOption == ResponseStatusOption.Default) + await Pipeline.SendAsync(message, options.CancellationToken).ConfigureAwait(false); + if (options.StatusOption == ResponseStatusOption.Default) { switch (message.Response.Status) { @@ -5210,12 +5210,12 @@ public virtual async Task UpdateAtlasTypeDefinitionsAsync(RequestConte /// /// Schema for Request Body: /// - /// + /// /// Name /// Type /// Required /// Description - /// + /// /// /// classificationDefs /// AtlasClassificationDef[] @@ -5255,12 +5255,12 @@ public virtual async Task UpdateAtlasTypeDefinitionsAsync(RequestConte /// /// Schema for AtlasClassificationDef: /// - /// + /// /// Name /// Type /// Required /// Description - /// + /// /// /// attributeDefs /// AtlasAttributeDef[] @@ -5383,12 +5383,12 @@ public virtual async Task UpdateAtlasTypeDefinitionsAsync(RequestConte /// /// Schema for AtlasEntityDef: /// - /// + /// /// Name /// Type /// Required /// Description - /// + /// /// /// attributeDefs /// AtlasAttributeDef[] @@ -5500,12 +5500,12 @@ public virtual async Task UpdateAtlasTypeDefinitionsAsync(RequestConte /// /// Schema for AtlasEnumDef: /// - /// + /// /// Name /// Type /// Required /// Description - /// + /// /// /// category /// "PRIMITIVE" | "OBJECT_ID_TYPE" | "ENUM" | "STRUCT" | "CLASSIFICATION" | "ENTITY" | "ARRAY" | "MAP" | "RELATIONSHIP" | "TERM_TEMPLATE" @@ -5605,12 +5605,12 @@ public virtual async Task UpdateAtlasTypeDefinitionsAsync(RequestConte /// /// Schema for AtlasRelationshipDef: /// - /// + /// /// Name /// Type /// Required /// Description - /// + /// /// /// attributeDefs /// AtlasAttributeDef[] @@ -5744,12 +5744,12 @@ public virtual async Task UpdateAtlasTypeDefinitionsAsync(RequestConte /// /// Schema for AtlasStructDef: /// - /// + /// /// Name /// Type /// Required /// Description - /// + /// /// /// category /// "PRIMITIVE" | "OBJECT_ID_TYPE" | "ENUM" | "STRUCT" | "CLASSIFICATION" | "ENTITY" | "ARRAY" | "MAP" | "RELATIONSHIP" | "TERM_TEMPLATE" @@ -5843,12 +5843,12 @@ public virtual async Task UpdateAtlasTypeDefinitionsAsync(RequestConte /// /// Schema for TermTemplateDef: /// - /// + /// /// Name /// Type /// Required /// Description - /// + /// /// /// attributeDefs /// AtlasAttributeDef[] @@ -5942,12 +5942,12 @@ public virtual async Task UpdateAtlasTypeDefinitionsAsync(RequestConte /// /// Schema for DateFormat: /// - /// + /// /// Name /// Type /// Required /// Description - /// + /// /// /// availableLocales /// string[] @@ -6005,12 +6005,12 @@ public virtual async Task UpdateAtlasTypeDefinitionsAsync(RequestConte /// /// Schema for AtlasRelationshipEndDef: /// - /// + /// /// Name /// Type /// Required /// Description - /// + /// /// /// cardinality /// "SINGLE" | "LIST" | "SET" @@ -6050,12 +6050,12 @@ public virtual async Task UpdateAtlasTypeDefinitionsAsync(RequestConte /// /// Schema for AtlasAttributeDef: /// - /// + /// /// Name /// Type /// Required /// Description - /// + /// /// /// cardinality /// "SINGLE" | "LIST" | "SET" @@ -6137,12 +6137,12 @@ public virtual async Task UpdateAtlasTypeDefinitionsAsync(RequestConte /// /// Schema for NumberFormat: /// - /// + /// /// Name /// Type /// Required /// Description - /// + /// /// /// availableLocales /// string[] @@ -6230,12 +6230,12 @@ public virtual async Task UpdateAtlasTypeDefinitionsAsync(RequestConte /// /// Schema for TimeZone: /// - /// + /// /// Name /// Type /// Required /// Description - /// + /// /// /// dstSavings /// number @@ -6275,12 +6275,12 @@ public virtual async Task UpdateAtlasTypeDefinitionsAsync(RequestConte /// /// Schema for AtlasRelationshipAttributeDef: /// - /// + /// /// Name /// Type /// Required /// Description - /// + /// /// /// cardinality /// "SINGLE" | "LIST" | "SET" @@ -6374,12 +6374,12 @@ public virtual async Task UpdateAtlasTypeDefinitionsAsync(RequestConte /// /// Schema for AtlasEnumElementDef: /// - /// + /// /// Name /// Type /// Required /// Description - /// + /// /// /// description /// string @@ -6401,12 +6401,12 @@ public virtual async Task UpdateAtlasTypeDefinitionsAsync(RequestConte /// /// Schema for AtlasConstraintDef: /// - /// + /// /// Name /// Type /// Required /// Description - /// + /// /// /// params /// Dictionary<string, AnyObject> @@ -6421,24 +6421,24 @@ public virtual async Task UpdateAtlasTypeDefinitionsAsync(RequestConte /// /// /// - /// The request body. - /// The request options. + /// The content to send as the body of the request. + /// The request options. #pragma warning disable AZC0002 - public virtual Response UpdateAtlasTypeDefinitions(RequestContent requestBody, RequestOptions requestOptions = null) + public virtual Response UpdateAtlasTypeDefinitions(RequestContent content, RequestOptions options = null) #pragma warning restore AZC0002 { - requestOptions ??= new RequestOptions(); - HttpMessage message = CreateUpdateAtlasTypeDefinitionsRequest(requestBody, requestOptions); - if (requestOptions.PerCallPolicy != null) + options ??= new RequestOptions(); + HttpMessage message = CreateUpdateAtlasTypeDefinitionsRequest(content, options); + if (options.PerCallPolicy != null) { - message.SetProperty("RequestOptionsPerCallPolicyCallback", requestOptions.PerCallPolicy); + message.SetProperty("RequestOptionsPerCallPolicyCallback", options.PerCallPolicy); } using var scope = _clientDiagnostics.CreateScope("PurviewTypes.UpdateAtlasTypeDefinitions"); scope.Start(); try { - Pipeline.Send(message, requestOptions.CancellationToken); - if (requestOptions.StatusOption == ResponseStatusOption.Default) + Pipeline.Send(message, options.CancellationToken); + if (options.StatusOption == ResponseStatusOption.Default) { switch (message.Response.Status) { @@ -6461,9 +6461,9 @@ public virtual Response UpdateAtlasTypeDefinitions(RequestContent requestBody, R } /// Create Request for and operations. - /// The request body. - /// The request options. - private HttpMessage CreateUpdateAtlasTypeDefinitionsRequest(RequestContent requestBody, RequestOptions requestOptions = null) + /// The content to send as the body of the request. + /// The request options. + private HttpMessage CreateUpdateAtlasTypeDefinitionsRequest(RequestContent content, RequestOptions options = null) { var message = Pipeline.CreateMessage(); var request = message.Request; @@ -6475,7 +6475,7 @@ private HttpMessage CreateUpdateAtlasTypeDefinitionsRequest(RequestContent reque request.Uri = uri; request.Headers.Add("Accept", "application/json"); request.Headers.Add("Content-Type", "application/json"); - request.Content = requestBody; + request.Content = content; return message; } @@ -6483,12 +6483,12 @@ private HttpMessage CreateUpdateAtlasTypeDefinitionsRequest(RequestContent reque /// /// Schema for Request Body: /// - /// + /// /// Name /// Type /// Required /// Description - /// + /// /// /// classificationDefs /// AtlasClassificationDef[] @@ -6528,12 +6528,12 @@ private HttpMessage CreateUpdateAtlasTypeDefinitionsRequest(RequestContent reque /// /// Schema for AtlasClassificationDef: /// - /// + /// /// Name /// Type /// Required /// Description - /// + /// /// /// attributeDefs /// AtlasAttributeDef[] @@ -6656,12 +6656,12 @@ private HttpMessage CreateUpdateAtlasTypeDefinitionsRequest(RequestContent reque /// /// Schema for AtlasEntityDef: /// - /// + /// /// Name /// Type /// Required /// Description - /// + /// /// /// attributeDefs /// AtlasAttributeDef[] @@ -6773,12 +6773,12 @@ private HttpMessage CreateUpdateAtlasTypeDefinitionsRequest(RequestContent reque /// /// Schema for AtlasEnumDef: /// - /// + /// /// Name /// Type /// Required /// Description - /// + /// /// /// category /// "PRIMITIVE" | "OBJECT_ID_TYPE" | "ENUM" | "STRUCT" | "CLASSIFICATION" | "ENTITY" | "ARRAY" | "MAP" | "RELATIONSHIP" | "TERM_TEMPLATE" @@ -6878,12 +6878,12 @@ private HttpMessage CreateUpdateAtlasTypeDefinitionsRequest(RequestContent reque /// /// Schema for AtlasRelationshipDef: /// - /// + /// /// Name /// Type /// Required /// Description - /// + /// /// /// attributeDefs /// AtlasAttributeDef[] @@ -7017,12 +7017,12 @@ private HttpMessage CreateUpdateAtlasTypeDefinitionsRequest(RequestContent reque /// /// Schema for AtlasStructDef: /// - /// + /// /// Name /// Type /// Required /// Description - /// + /// /// /// category /// "PRIMITIVE" | "OBJECT_ID_TYPE" | "ENUM" | "STRUCT" | "CLASSIFICATION" | "ENTITY" | "ARRAY" | "MAP" | "RELATIONSHIP" | "TERM_TEMPLATE" @@ -7116,12 +7116,12 @@ private HttpMessage CreateUpdateAtlasTypeDefinitionsRequest(RequestContent reque /// /// Schema for TermTemplateDef: /// - /// + /// /// Name /// Type /// Required /// Description - /// + /// /// /// attributeDefs /// AtlasAttributeDef[] @@ -7215,12 +7215,12 @@ private HttpMessage CreateUpdateAtlasTypeDefinitionsRequest(RequestContent reque /// /// Schema for DateFormat: /// - /// + /// /// Name /// Type /// Required /// Description - /// + /// /// /// availableLocales /// string[] @@ -7278,12 +7278,12 @@ private HttpMessage CreateUpdateAtlasTypeDefinitionsRequest(RequestContent reque /// /// Schema for AtlasRelationshipEndDef: /// - /// + /// /// Name /// Type /// Required /// Description - /// + /// /// /// cardinality /// "SINGLE" | "LIST" | "SET" @@ -7323,12 +7323,12 @@ private HttpMessage CreateUpdateAtlasTypeDefinitionsRequest(RequestContent reque /// /// Schema for AtlasAttributeDef: /// - /// + /// /// Name /// Type /// Required /// Description - /// + /// /// /// cardinality /// "SINGLE" | "LIST" | "SET" @@ -7410,12 +7410,12 @@ private HttpMessage CreateUpdateAtlasTypeDefinitionsRequest(RequestContent reque /// /// Schema for NumberFormat: /// - /// + /// /// Name /// Type /// Required /// Description - /// + /// /// /// availableLocales /// string[] @@ -7503,12 +7503,12 @@ private HttpMessage CreateUpdateAtlasTypeDefinitionsRequest(RequestContent reque /// /// Schema for TimeZone: /// - /// + /// /// Name /// Type /// Required /// Description - /// + /// /// /// dstSavings /// number @@ -7548,12 +7548,12 @@ private HttpMessage CreateUpdateAtlasTypeDefinitionsRequest(RequestContent reque /// /// Schema for AtlasRelationshipAttributeDef: /// - /// + /// /// Name /// Type /// Required /// Description - /// + /// /// /// cardinality /// "SINGLE" | "LIST" | "SET" @@ -7647,12 +7647,12 @@ private HttpMessage CreateUpdateAtlasTypeDefinitionsRequest(RequestContent reque /// /// Schema for AtlasEnumElementDef: /// - /// + /// /// Name /// Type /// Required /// Description - /// + /// /// /// description /// string @@ -7674,12 +7674,12 @@ private HttpMessage CreateUpdateAtlasTypeDefinitionsRequest(RequestContent reque /// /// Schema for AtlasConstraintDef: /// - /// + /// /// Name /// Type /// Required /// Description - /// + /// /// /// params /// Dictionary<string, AnyObject> @@ -7694,24 +7694,24 @@ private HttpMessage CreateUpdateAtlasTypeDefinitionsRequest(RequestContent reque /// /// /// - /// The request body. - /// The request options. + /// The content to send as the body of the request. + /// The request options. #pragma warning disable AZC0002 - public virtual async Task DeleteTypeDefinitionsAsync(RequestContent requestBody, RequestOptions requestOptions = null) + public virtual async Task DeleteTypeDefinitionsAsync(RequestContent content, RequestOptions options = null) #pragma warning restore AZC0002 { - requestOptions ??= new RequestOptions(); - HttpMessage message = CreateDeleteTypeDefinitionsRequest(requestBody, requestOptions); - if (requestOptions.PerCallPolicy != null) + options ??= new RequestOptions(); + HttpMessage message = CreateDeleteTypeDefinitionsRequest(content, options); + if (options.PerCallPolicy != null) { - message.SetProperty("RequestOptionsPerCallPolicyCallback", requestOptions.PerCallPolicy); + message.SetProperty("RequestOptionsPerCallPolicyCallback", options.PerCallPolicy); } using var scope = _clientDiagnostics.CreateScope("PurviewTypes.DeleteTypeDefinitions"); scope.Start(); try { - await Pipeline.SendAsync(message, requestOptions.CancellationToken).ConfigureAwait(false); - if (requestOptions.StatusOption == ResponseStatusOption.Default) + await Pipeline.SendAsync(message, options.CancellationToken).ConfigureAwait(false); + if (options.StatusOption == ResponseStatusOption.Default) { switch (message.Response.Status) { @@ -7737,12 +7737,12 @@ public virtual async Task DeleteTypeDefinitionsAsync(RequestContent re /// /// Schema for Request Body: /// - /// + /// /// Name /// Type /// Required /// Description - /// + /// /// /// classificationDefs /// AtlasClassificationDef[] @@ -7782,12 +7782,12 @@ public virtual async Task DeleteTypeDefinitionsAsync(RequestContent re /// /// Schema for AtlasClassificationDef: /// - /// + /// /// Name /// Type /// Required /// Description - /// + /// /// /// attributeDefs /// AtlasAttributeDef[] @@ -7910,12 +7910,12 @@ public virtual async Task DeleteTypeDefinitionsAsync(RequestContent re /// /// Schema for AtlasEntityDef: /// - /// + /// /// Name /// Type /// Required /// Description - /// + /// /// /// attributeDefs /// AtlasAttributeDef[] @@ -8027,12 +8027,12 @@ public virtual async Task DeleteTypeDefinitionsAsync(RequestContent re /// /// Schema for AtlasEnumDef: /// - /// + /// /// Name /// Type /// Required /// Description - /// + /// /// /// category /// "PRIMITIVE" | "OBJECT_ID_TYPE" | "ENUM" | "STRUCT" | "CLASSIFICATION" | "ENTITY" | "ARRAY" | "MAP" | "RELATIONSHIP" | "TERM_TEMPLATE" @@ -8132,12 +8132,12 @@ public virtual async Task DeleteTypeDefinitionsAsync(RequestContent re /// /// Schema for AtlasRelationshipDef: /// - /// + /// /// Name /// Type /// Required /// Description - /// + /// /// /// attributeDefs /// AtlasAttributeDef[] @@ -8271,12 +8271,12 @@ public virtual async Task DeleteTypeDefinitionsAsync(RequestContent re /// /// Schema for AtlasStructDef: /// - /// + /// /// Name /// Type /// Required /// Description - /// + /// /// /// category /// "PRIMITIVE" | "OBJECT_ID_TYPE" | "ENUM" | "STRUCT" | "CLASSIFICATION" | "ENTITY" | "ARRAY" | "MAP" | "RELATIONSHIP" | "TERM_TEMPLATE" @@ -8370,12 +8370,12 @@ public virtual async Task DeleteTypeDefinitionsAsync(RequestContent re /// /// Schema for TermTemplateDef: /// - /// + /// /// Name /// Type /// Required /// Description - /// + /// /// /// attributeDefs /// AtlasAttributeDef[] @@ -8469,12 +8469,12 @@ public virtual async Task DeleteTypeDefinitionsAsync(RequestContent re /// /// Schema for DateFormat: /// - /// + /// /// Name /// Type /// Required /// Description - /// + /// /// /// availableLocales /// string[] @@ -8532,12 +8532,12 @@ public virtual async Task DeleteTypeDefinitionsAsync(RequestContent re /// /// Schema for AtlasRelationshipEndDef: /// - /// + /// /// Name /// Type /// Required /// Description - /// + /// /// /// cardinality /// "SINGLE" | "LIST" | "SET" @@ -8577,12 +8577,12 @@ public virtual async Task DeleteTypeDefinitionsAsync(RequestContent re /// /// Schema for AtlasAttributeDef: /// - /// + /// /// Name /// Type /// Required /// Description - /// + /// /// /// cardinality /// "SINGLE" | "LIST" | "SET" @@ -8664,12 +8664,12 @@ public virtual async Task DeleteTypeDefinitionsAsync(RequestContent re /// /// Schema for NumberFormat: /// - /// + /// /// Name /// Type /// Required /// Description - /// + /// /// /// availableLocales /// string[] @@ -8757,12 +8757,12 @@ public virtual async Task DeleteTypeDefinitionsAsync(RequestContent re /// /// Schema for TimeZone: /// - /// + /// /// Name /// Type /// Required /// Description - /// + /// /// /// dstSavings /// number @@ -8802,12 +8802,12 @@ public virtual async Task DeleteTypeDefinitionsAsync(RequestContent re /// /// Schema for AtlasRelationshipAttributeDef: /// - /// + /// /// Name /// Type /// Required /// Description - /// + /// /// /// cardinality /// "SINGLE" | "LIST" | "SET" @@ -8901,12 +8901,12 @@ public virtual async Task DeleteTypeDefinitionsAsync(RequestContent re /// /// Schema for AtlasEnumElementDef: /// - /// + /// /// Name /// Type /// Required /// Description - /// + /// /// /// description /// string @@ -8928,12 +8928,12 @@ public virtual async Task DeleteTypeDefinitionsAsync(RequestContent re /// /// Schema for AtlasConstraintDef: /// - /// + /// /// Name /// Type /// Required /// Description - /// + /// /// /// params /// Dictionary<string, AnyObject> @@ -8948,24 +8948,24 @@ public virtual async Task DeleteTypeDefinitionsAsync(RequestContent re /// /// /// - /// The request body. - /// The request options. + /// The content to send as the body of the request. + /// The request options. #pragma warning disable AZC0002 - public virtual Response DeleteTypeDefinitions(RequestContent requestBody, RequestOptions requestOptions = null) + public virtual Response DeleteTypeDefinitions(RequestContent content, RequestOptions options = null) #pragma warning restore AZC0002 { - requestOptions ??= new RequestOptions(); - HttpMessage message = CreateDeleteTypeDefinitionsRequest(requestBody, requestOptions); - if (requestOptions.PerCallPolicy != null) + options ??= new RequestOptions(); + HttpMessage message = CreateDeleteTypeDefinitionsRequest(content, options); + if (options.PerCallPolicy != null) { - message.SetProperty("RequestOptionsPerCallPolicyCallback", requestOptions.PerCallPolicy); + message.SetProperty("RequestOptionsPerCallPolicyCallback", options.PerCallPolicy); } using var scope = _clientDiagnostics.CreateScope("PurviewTypes.DeleteTypeDefinitions"); scope.Start(); try { - Pipeline.Send(message, requestOptions.CancellationToken); - if (requestOptions.StatusOption == ResponseStatusOption.Default) + Pipeline.Send(message, options.CancellationToken); + if (options.StatusOption == ResponseStatusOption.Default) { switch (message.Response.Status) { @@ -8988,9 +8988,9 @@ public virtual Response DeleteTypeDefinitions(RequestContent requestBody, Reques } /// Create Request for and operations. - /// The request body. - /// The request options. - private HttpMessage CreateDeleteTypeDefinitionsRequest(RequestContent requestBody, RequestOptions requestOptions = null) + /// The content to send as the body of the request. + /// The request options. + private HttpMessage CreateDeleteTypeDefinitionsRequest(RequestContent content, RequestOptions options = null) { var message = Pipeline.CreateMessage(); var request = message.Request; @@ -9001,7 +9001,7 @@ private HttpMessage CreateDeleteTypeDefinitionsRequest(RequestContent requestBod uri.AppendPath("/atlas/v2/types/typedefs", false); request.Uri = uri; request.Headers.Add("Content-Type", "application/json"); - request.Content = requestBody; + request.Content = content; return message; } @@ -9011,23 +9011,23 @@ private HttpMessage CreateDeleteTypeDefinitionsRequest(RequestContent requestBod /// This is always true when search filter type=term_template. /// /// Typedef name as search filter when get typedefs. - /// The request options. + /// The request options. #pragma warning disable AZC0002 - public virtual async Task GetTypeDefinitionHeadersAsync(bool? includeTermTemplate = null, string type = null, RequestOptions requestOptions = null) + public virtual async Task GetTypeDefinitionHeadersAsync(bool? includeTermTemplate = null, string type = null, RequestOptions options = null) #pragma warning restore AZC0002 { - requestOptions ??= new RequestOptions(); - HttpMessage message = CreateGetTypeDefinitionHeadersRequest(includeTermTemplate, type, requestOptions); - if (requestOptions.PerCallPolicy != null) + options ??= new RequestOptions(); + HttpMessage message = CreateGetTypeDefinitionHeadersRequest(includeTermTemplate, type, options); + if (options.PerCallPolicy != null) { - message.SetProperty("RequestOptionsPerCallPolicyCallback", requestOptions.PerCallPolicy); + message.SetProperty("RequestOptionsPerCallPolicyCallback", options.PerCallPolicy); } using var scope = _clientDiagnostics.CreateScope("PurviewTypes.GetTypeDefinitionHeaders"); scope.Start(); try { - await Pipeline.SendAsync(message, requestOptions.CancellationToken).ConfigureAwait(false); - if (requestOptions.StatusOption == ResponseStatusOption.Default) + await Pipeline.SendAsync(message, options.CancellationToken).ConfigureAwait(false); + if (options.StatusOption == ResponseStatusOption.Default) { switch (message.Response.Status) { @@ -9055,23 +9055,23 @@ public virtual async Task GetTypeDefinitionHeadersAsync(bool? includeT /// This is always true when search filter type=term_template. /// /// Typedef name as search filter when get typedefs. - /// The request options. + /// The request options. #pragma warning disable AZC0002 - public virtual Response GetTypeDefinitionHeaders(bool? includeTermTemplate = null, string type = null, RequestOptions requestOptions = null) + public virtual Response GetTypeDefinitionHeaders(bool? includeTermTemplate = null, string type = null, RequestOptions options = null) #pragma warning restore AZC0002 { - requestOptions ??= new RequestOptions(); - HttpMessage message = CreateGetTypeDefinitionHeadersRequest(includeTermTemplate, type, requestOptions); - if (requestOptions.PerCallPolicy != null) + options ??= new RequestOptions(); + HttpMessage message = CreateGetTypeDefinitionHeadersRequest(includeTermTemplate, type, options); + if (options.PerCallPolicy != null) { - message.SetProperty("RequestOptionsPerCallPolicyCallback", requestOptions.PerCallPolicy); + message.SetProperty("RequestOptionsPerCallPolicyCallback", options.PerCallPolicy); } using var scope = _clientDiagnostics.CreateScope("PurviewTypes.GetTypeDefinitionHeaders"); scope.Start(); try { - Pipeline.Send(message, requestOptions.CancellationToken); - if (requestOptions.StatusOption == ResponseStatusOption.Default) + Pipeline.Send(message, options.CancellationToken); + if (options.StatusOption == ResponseStatusOption.Default) { switch (message.Response.Status) { @@ -9099,8 +9099,8 @@ public virtual Response GetTypeDefinitionHeaders(bool? includeTermTemplate = nul /// This is always true when search filter type=term_template. /// /// Typedef name as search filter when get typedefs. - /// The request options. - private HttpMessage CreateGetTypeDefinitionHeadersRequest(bool? includeTermTemplate = null, string type = null, RequestOptions requestOptions = null) + /// The request options. + private HttpMessage CreateGetTypeDefinitionHeadersRequest(bool? includeTermTemplate = null, string type = null, RequestOptions options = null) { var message = Pipeline.CreateMessage(); var request = message.Request; @@ -9124,23 +9124,23 @@ private HttpMessage CreateGetTypeDefinitionHeadersRequest(bool? includeTermTempl /// Get the term template definition for the given GUID. /// The globally unique identifier of the term template. - /// The request options. + /// The request options. #pragma warning disable AZC0002 - public virtual async Task GetTermTemplateDefByGuidAsync(string guid, RequestOptions requestOptions = null) + public virtual async Task GetTermTemplateDefByGuidAsync(string guid, RequestOptions options = null) #pragma warning restore AZC0002 { - requestOptions ??= new RequestOptions(); - HttpMessage message = CreateGetTermTemplateDefByGuidRequest(guid, requestOptions); - if (requestOptions.PerCallPolicy != null) + options ??= new RequestOptions(); + HttpMessage message = CreateGetTermTemplateDefByGuidRequest(guid, options); + if (options.PerCallPolicy != null) { - message.SetProperty("RequestOptionsPerCallPolicyCallback", requestOptions.PerCallPolicy); + message.SetProperty("RequestOptionsPerCallPolicyCallback", options.PerCallPolicy); } using var scope = _clientDiagnostics.CreateScope("PurviewTypes.GetTermTemplateDefByGuid"); scope.Start(); try { - await Pipeline.SendAsync(message, requestOptions.CancellationToken).ConfigureAwait(false); - if (requestOptions.StatusOption == ResponseStatusOption.Default) + await Pipeline.SendAsync(message, options.CancellationToken).ConfigureAwait(false); + if (options.StatusOption == ResponseStatusOption.Default) { switch (message.Response.Status) { @@ -9164,23 +9164,23 @@ public virtual async Task GetTermTemplateDefByGuidAsync(string guid, R /// Get the term template definition for the given GUID. /// The globally unique identifier of the term template. - /// The request options. + /// The request options. #pragma warning disable AZC0002 - public virtual Response GetTermTemplateDefByGuid(string guid, RequestOptions requestOptions = null) + public virtual Response GetTermTemplateDefByGuid(string guid, RequestOptions options = null) #pragma warning restore AZC0002 { - requestOptions ??= new RequestOptions(); - HttpMessage message = CreateGetTermTemplateDefByGuidRequest(guid, requestOptions); - if (requestOptions.PerCallPolicy != null) + options ??= new RequestOptions(); + HttpMessage message = CreateGetTermTemplateDefByGuidRequest(guid, options); + if (options.PerCallPolicy != null) { - message.SetProperty("RequestOptionsPerCallPolicyCallback", requestOptions.PerCallPolicy); + message.SetProperty("RequestOptionsPerCallPolicyCallback", options.PerCallPolicy); } using var scope = _clientDiagnostics.CreateScope("PurviewTypes.GetTermTemplateDefByGuid"); scope.Start(); try { - Pipeline.Send(message, requestOptions.CancellationToken); - if (requestOptions.StatusOption == ResponseStatusOption.Default) + Pipeline.Send(message, options.CancellationToken); + if (options.StatusOption == ResponseStatusOption.Default) { switch (message.Response.Status) { @@ -9204,8 +9204,8 @@ public virtual Response GetTermTemplateDefByGuid(string guid, RequestOptions req /// Create Request for and operations. /// The globally unique identifier of the term template. - /// The request options. - private HttpMessage CreateGetTermTemplateDefByGuidRequest(string guid, RequestOptions requestOptions = null) + /// The request options. + private HttpMessage CreateGetTermTemplateDefByGuidRequest(string guid, RequestOptions options = null) { var message = Pipeline.CreateMessage(); var request = message.Request; @@ -9223,23 +9223,23 @@ private HttpMessage CreateGetTermTemplateDefByGuidRequest(string guid, RequestOp /// Get the term template definition by its name (unique). /// The name of the term template. - /// The request options. + /// The request options. #pragma warning disable AZC0002 - public virtual async Task GetTermTemplateDefByNameAsync(string name, RequestOptions requestOptions = null) + public virtual async Task GetTermTemplateDefByNameAsync(string name, RequestOptions options = null) #pragma warning restore AZC0002 { - requestOptions ??= new RequestOptions(); - HttpMessage message = CreateGetTermTemplateDefByNameRequest(name, requestOptions); - if (requestOptions.PerCallPolicy != null) + options ??= new RequestOptions(); + HttpMessage message = CreateGetTermTemplateDefByNameRequest(name, options); + if (options.PerCallPolicy != null) { - message.SetProperty("RequestOptionsPerCallPolicyCallback", requestOptions.PerCallPolicy); + message.SetProperty("RequestOptionsPerCallPolicyCallback", options.PerCallPolicy); } using var scope = _clientDiagnostics.CreateScope("PurviewTypes.GetTermTemplateDefByName"); scope.Start(); try { - await Pipeline.SendAsync(message, requestOptions.CancellationToken).ConfigureAwait(false); - if (requestOptions.StatusOption == ResponseStatusOption.Default) + await Pipeline.SendAsync(message, options.CancellationToken).ConfigureAwait(false); + if (options.StatusOption == ResponseStatusOption.Default) { switch (message.Response.Status) { @@ -9263,23 +9263,23 @@ public virtual async Task GetTermTemplateDefByNameAsync(string name, R /// Get the term template definition by its name (unique). /// The name of the term template. - /// The request options. + /// The request options. #pragma warning disable AZC0002 - public virtual Response GetTermTemplateDefByName(string name, RequestOptions requestOptions = null) + public virtual Response GetTermTemplateDefByName(string name, RequestOptions options = null) #pragma warning restore AZC0002 { - requestOptions ??= new RequestOptions(); - HttpMessage message = CreateGetTermTemplateDefByNameRequest(name, requestOptions); - if (requestOptions.PerCallPolicy != null) + options ??= new RequestOptions(); + HttpMessage message = CreateGetTermTemplateDefByNameRequest(name, options); + if (options.PerCallPolicy != null) { - message.SetProperty("RequestOptionsPerCallPolicyCallback", requestOptions.PerCallPolicy); + message.SetProperty("RequestOptionsPerCallPolicyCallback", options.PerCallPolicy); } using var scope = _clientDiagnostics.CreateScope("PurviewTypes.GetTermTemplateDefByName"); scope.Start(); try { - Pipeline.Send(message, requestOptions.CancellationToken); - if (requestOptions.StatusOption == ResponseStatusOption.Default) + Pipeline.Send(message, options.CancellationToken); + if (options.StatusOption == ResponseStatusOption.Default) { switch (message.Response.Status) { @@ -9303,8 +9303,8 @@ public virtual Response GetTermTemplateDefByName(string name, RequestOptions req /// Create Request for and operations. /// The name of the term template. - /// The request options. - private HttpMessage CreateGetTermTemplateDefByNameRequest(string name, RequestOptions requestOptions = null) + /// The request options. + private HttpMessage CreateGetTermTemplateDefByNameRequest(string name, RequestOptions options = null) { var message = Pipeline.CreateMessage(); var request = message.Request; diff --git a/sdk/purview/Azure.Analytics.Purview.Scanning/api/Azure.Analytics.Purview.Scanning.netstandard2.0.cs b/sdk/purview/Azure.Analytics.Purview.Scanning/api/Azure.Analytics.Purview.Scanning.netstandard2.0.cs index 87283775a280..02fd89425172 100644 --- a/sdk/purview/Azure.Analytics.Purview.Scanning/api/Azure.Analytics.Purview.Scanning.netstandard2.0.cs +++ b/sdk/purview/Azure.Analytics.Purview.Scanning/api/Azure.Analytics.Purview.Scanning.netstandard2.0.cs @@ -5,101 +5,101 @@ public partial class PurviewClassificationRuleClient protected PurviewClassificationRuleClient() { } public PurviewClassificationRuleClient(System.Uri endpoint, string classificationRuleName, Azure.Core.TokenCredential credential, Azure.Analytics.Purview.Scanning.PurviewScanningServiceClientOptions options = null) { } public virtual Azure.Core.Pipeline.HttpPipeline Pipeline { get { throw null; } } - public virtual Azure.Response CreateOrUpdate(Azure.Core.RequestContent requestBody, Azure.RequestOptions requestOptions = null) { throw null; } - public virtual System.Threading.Tasks.Task CreateOrUpdateAsync(Azure.Core.RequestContent requestBody, Azure.RequestOptions requestOptions = null) { throw null; } - public virtual Azure.Response Delete(Azure.RequestOptions requestOptions = null) { throw null; } - public virtual System.Threading.Tasks.Task DeleteAsync(Azure.RequestOptions requestOptions = null) { throw null; } - public virtual Azure.Response GetProperties(Azure.RequestOptions requestOptions = null) { throw null; } - public virtual System.Threading.Tasks.Task GetPropertiesAsync(Azure.RequestOptions requestOptions = null) { throw null; } - public virtual Azure.Response GetVersions(Azure.RequestOptions requestOptions = null) { throw null; } - public virtual System.Threading.Tasks.Task GetVersionsAsync(Azure.RequestOptions requestOptions = null) { throw null; } - public virtual Azure.Response TagVersion(int classificationRuleVersion, string action, Azure.RequestOptions requestOptions = null) { throw null; } - public virtual System.Threading.Tasks.Task TagVersionAsync(int classificationRuleVersion, string action, Azure.RequestOptions requestOptions = null) { throw null; } + public virtual Azure.Response CreateOrUpdate(Azure.Core.RequestContent content, Azure.RequestOptions options = null) { throw null; } + public virtual System.Threading.Tasks.Task CreateOrUpdateAsync(Azure.Core.RequestContent content, Azure.RequestOptions options = null) { throw null; } + public virtual Azure.Response Delete(Azure.RequestOptions options = null) { throw null; } + public virtual System.Threading.Tasks.Task DeleteAsync(Azure.RequestOptions options = null) { throw null; } + public virtual Azure.Response GetProperties(Azure.RequestOptions options = null) { throw null; } + public virtual System.Threading.Tasks.Task GetPropertiesAsync(Azure.RequestOptions options = null) { throw null; } + public virtual Azure.Response GetVersions(Azure.RequestOptions options = null) { throw null; } + public virtual System.Threading.Tasks.Task GetVersionsAsync(Azure.RequestOptions options = null) { throw null; } + public virtual Azure.Response TagVersion(int classificationRuleVersion, string action, Azure.RequestOptions options = null) { throw null; } + public virtual System.Threading.Tasks.Task TagVersionAsync(int classificationRuleVersion, string action, Azure.RequestOptions options = null) { throw null; } } public partial class PurviewDataSourceClient { protected PurviewDataSourceClient() { } public PurviewDataSourceClient(System.Uri endpoint, string dataSourceName, Azure.Core.TokenCredential credential, Azure.Analytics.Purview.Scanning.PurviewScanningServiceClientOptions options = null) { } public virtual Azure.Core.Pipeline.HttpPipeline Pipeline { get { throw null; } } - public virtual Azure.Response CreateOrUpdate(Azure.Core.RequestContent requestBody, Azure.RequestOptions requestOptions = null) { throw null; } - public virtual System.Threading.Tasks.Task CreateOrUpdateAsync(Azure.Core.RequestContent requestBody, Azure.RequestOptions requestOptions = null) { throw null; } - public virtual Azure.Response Delete(Azure.RequestOptions requestOptions = null) { throw null; } - public virtual System.Threading.Tasks.Task DeleteAsync(Azure.RequestOptions requestOptions = null) { throw null; } - public virtual Azure.Response GetChildren(Azure.RequestOptions requestOptions = null) { throw null; } - public virtual System.Threading.Tasks.Task GetChildrenAsync(Azure.RequestOptions requestOptions = null) { throw null; } - public virtual Azure.Response GetProperties(Azure.RequestOptions requestOptions = null) { throw null; } - public virtual System.Threading.Tasks.Task GetPropertiesAsync(Azure.RequestOptions requestOptions = null) { throw null; } + public virtual Azure.Response CreateOrUpdate(Azure.Core.RequestContent content, Azure.RequestOptions options = null) { throw null; } + public virtual System.Threading.Tasks.Task CreateOrUpdateAsync(Azure.Core.RequestContent content, Azure.RequestOptions options = null) { throw null; } + public virtual Azure.Response Delete(Azure.RequestOptions options = null) { throw null; } + public virtual System.Threading.Tasks.Task DeleteAsync(Azure.RequestOptions options = null) { throw null; } + public virtual Azure.Response GetChildren(Azure.RequestOptions options = null) { throw null; } + public virtual System.Threading.Tasks.Task GetChildrenAsync(Azure.RequestOptions options = null) { throw null; } + public virtual Azure.Response GetProperties(Azure.RequestOptions options = null) { throw null; } + public virtual System.Threading.Tasks.Task GetPropertiesAsync(Azure.RequestOptions options = null) { throw null; } public Azure.Analytics.Purview.Scanning.PurviewScanClient GetScanClient(string scanName) { throw null; } - public virtual Azure.Response GetScans(Azure.RequestOptions requestOptions = null) { throw null; } - public virtual System.Threading.Tasks.Task GetScansAsync(Azure.RequestOptions requestOptions = null) { throw null; } + public virtual Azure.Response GetScans(Azure.RequestOptions options = null) { throw null; } + public virtual System.Threading.Tasks.Task GetScansAsync(Azure.RequestOptions options = null) { throw null; } } public partial class PurviewScanClient { protected PurviewScanClient() { } public PurviewScanClient(System.Uri endpoint, string dataSourceName, string scanName, Azure.Core.TokenCredential credential, Azure.Analytics.Purview.Scanning.PurviewScanningServiceClientOptions options = null) { } public virtual Azure.Core.Pipeline.HttpPipeline Pipeline { get { throw null; } } - public virtual Azure.Response CancelScan(string runId, Azure.RequestOptions requestOptions = null) { throw null; } - public virtual System.Threading.Tasks.Task CancelScanAsync(string runId, Azure.RequestOptions requestOptions = null) { throw null; } - public virtual Azure.Response CreateOrUpdate(Azure.Core.RequestContent requestBody, Azure.RequestOptions requestOptions = null) { throw null; } - public virtual System.Threading.Tasks.Task CreateOrUpdateAsync(Azure.Core.RequestContent requestBody, Azure.RequestOptions requestOptions = null) { throw null; } - public virtual Azure.Response CreateOrUpdateFilter(Azure.Core.RequestContent requestBody, Azure.RequestOptions requestOptions = null) { throw null; } - public virtual System.Threading.Tasks.Task CreateOrUpdateFilterAsync(Azure.Core.RequestContent requestBody, Azure.RequestOptions requestOptions = null) { throw null; } - public virtual Azure.Response CreateOrUpdateTrigger(Azure.Core.RequestContent requestBody, Azure.RequestOptions requestOptions = null) { throw null; } - public virtual System.Threading.Tasks.Task CreateOrUpdateTriggerAsync(Azure.Core.RequestContent requestBody, Azure.RequestOptions requestOptions = null) { throw null; } - public virtual Azure.Response Delete(Azure.RequestOptions requestOptions = null) { throw null; } - public virtual System.Threading.Tasks.Task DeleteAsync(Azure.RequestOptions requestOptions = null) { throw null; } - public virtual Azure.Response DeleteTrigger(Azure.RequestOptions requestOptions = null) { throw null; } - public virtual System.Threading.Tasks.Task DeleteTriggerAsync(Azure.RequestOptions requestOptions = null) { throw null; } - public virtual Azure.Response GetFilter(Azure.RequestOptions requestOptions = null) { throw null; } - public virtual System.Threading.Tasks.Task GetFilterAsync(Azure.RequestOptions requestOptions = null) { throw null; } - public virtual Azure.Response GetProperties(Azure.RequestOptions requestOptions = null) { throw null; } - public virtual System.Threading.Tasks.Task GetPropertiesAsync(Azure.RequestOptions requestOptions = null) { throw null; } - public virtual Azure.Response GetRuns(Azure.RequestOptions requestOptions = null) { throw null; } - public virtual System.Threading.Tasks.Task GetRunsAsync(Azure.RequestOptions requestOptions = null) { throw null; } - public virtual Azure.Response GetTrigger(Azure.RequestOptions requestOptions = null) { throw null; } - public virtual System.Threading.Tasks.Task GetTriggerAsync(Azure.RequestOptions requestOptions = null) { throw null; } - public virtual Azure.Response RunScan(string runId, string scanLevel = null, Azure.RequestOptions requestOptions = null) { throw null; } - public virtual System.Threading.Tasks.Task RunScanAsync(string runId, string scanLevel = null, Azure.RequestOptions requestOptions = null) { throw null; } + public virtual Azure.Response CancelScan(string runId, Azure.RequestOptions options = null) { throw null; } + public virtual System.Threading.Tasks.Task CancelScanAsync(string runId, Azure.RequestOptions options = null) { throw null; } + public virtual Azure.Response CreateOrUpdate(Azure.Core.RequestContent content, Azure.RequestOptions options = null) { throw null; } + public virtual System.Threading.Tasks.Task CreateOrUpdateAsync(Azure.Core.RequestContent content, Azure.RequestOptions options = null) { throw null; } + public virtual Azure.Response CreateOrUpdateFilter(Azure.Core.RequestContent content, Azure.RequestOptions options = null) { throw null; } + public virtual System.Threading.Tasks.Task CreateOrUpdateFilterAsync(Azure.Core.RequestContent content, Azure.RequestOptions options = null) { throw null; } + public virtual Azure.Response CreateOrUpdateTrigger(Azure.Core.RequestContent content, Azure.RequestOptions options = null) { throw null; } + public virtual System.Threading.Tasks.Task CreateOrUpdateTriggerAsync(Azure.Core.RequestContent content, Azure.RequestOptions options = null) { throw null; } + public virtual Azure.Response Delete(Azure.RequestOptions options = null) { throw null; } + public virtual System.Threading.Tasks.Task DeleteAsync(Azure.RequestOptions options = null) { throw null; } + public virtual Azure.Response DeleteTrigger(Azure.RequestOptions options = null) { throw null; } + public virtual System.Threading.Tasks.Task DeleteTriggerAsync(Azure.RequestOptions options = null) { throw null; } + public virtual Azure.Response GetFilter(Azure.RequestOptions options = null) { throw null; } + public virtual System.Threading.Tasks.Task GetFilterAsync(Azure.RequestOptions options = null) { throw null; } + public virtual Azure.Response GetProperties(Azure.RequestOptions options = null) { throw null; } + public virtual System.Threading.Tasks.Task GetPropertiesAsync(Azure.RequestOptions options = null) { throw null; } + public virtual Azure.Response GetRuns(Azure.RequestOptions options = null) { throw null; } + public virtual System.Threading.Tasks.Task GetRunsAsync(Azure.RequestOptions options = null) { throw null; } + public virtual Azure.Response GetTrigger(Azure.RequestOptions options = null) { throw null; } + public virtual System.Threading.Tasks.Task GetTriggerAsync(Azure.RequestOptions options = null) { throw null; } + public virtual Azure.Response RunScan(string runId, string scanLevel = null, Azure.RequestOptions options = null) { throw null; } + public virtual System.Threading.Tasks.Task RunScanAsync(string runId, string scanLevel = null, Azure.RequestOptions options = null) { throw null; } } public partial class PurviewScanningServiceClient { protected PurviewScanningServiceClient() { } public PurviewScanningServiceClient(System.Uri endpoint, Azure.Core.TokenCredential credential, Azure.Analytics.Purview.Scanning.PurviewScanningServiceClientOptions options = null) { } public virtual Azure.Core.Pipeline.HttpPipeline Pipeline { get { throw null; } } - public virtual Azure.Response CreateOrUpdateKeyVaultReference(string azureKeyVaultName, Azure.Core.RequestContent requestBody, Azure.RequestOptions requestOptions = null) { throw null; } - public virtual System.Threading.Tasks.Task CreateOrUpdateKeyVaultReferenceAsync(string azureKeyVaultName, Azure.Core.RequestContent requestBody, Azure.RequestOptions requestOptions = null) { throw null; } - public virtual Azure.Response CreateOrUpdateScanRuelset(string scanRulesetName, Azure.Core.RequestContent requestBody, Azure.RequestOptions requestOptions = null) { throw null; } - public virtual System.Threading.Tasks.Task CreateOrUpdateScanRuelsetAsync(string scanRulesetName, Azure.Core.RequestContent requestBody, Azure.RequestOptions requestOptions = null) { throw null; } - public virtual Azure.Response DeleteKeyVaultReference(string azureKeyVaultName, Azure.RequestOptions requestOptions = null) { throw null; } - public virtual System.Threading.Tasks.Task DeleteKeyVaultReferenceAsync(string azureKeyVaultName, Azure.RequestOptions requestOptions = null) { throw null; } - public virtual Azure.Response DeleteScanRuleset(string scanRulesetName, Azure.RequestOptions requestOptions = null) { throw null; } - public virtual System.Threading.Tasks.Task DeleteScanRulesetAsync(string scanRulesetName, Azure.RequestOptions requestOptions = null) { throw null; } + public virtual Azure.Response CreateOrUpdateKeyVaultReference(string azureKeyVaultName, Azure.Core.RequestContent content, Azure.RequestOptions options = null) { throw null; } + public virtual System.Threading.Tasks.Task CreateOrUpdateKeyVaultReferenceAsync(string azureKeyVaultName, Azure.Core.RequestContent content, Azure.RequestOptions options = null) { throw null; } + public virtual Azure.Response CreateOrUpdateScanRuelset(string scanRulesetName, Azure.Core.RequestContent content, Azure.RequestOptions options = null) { throw null; } + public virtual System.Threading.Tasks.Task CreateOrUpdateScanRuelsetAsync(string scanRulesetName, Azure.Core.RequestContent content, Azure.RequestOptions options = null) { throw null; } + public virtual Azure.Response DeleteKeyVaultReference(string azureKeyVaultName, Azure.RequestOptions options = null) { throw null; } + public virtual System.Threading.Tasks.Task DeleteKeyVaultReferenceAsync(string azureKeyVaultName, Azure.RequestOptions options = null) { throw null; } + public virtual Azure.Response DeleteScanRuleset(string scanRulesetName, Azure.RequestOptions options = null) { throw null; } + public virtual System.Threading.Tasks.Task DeleteScanRulesetAsync(string scanRulesetName, Azure.RequestOptions options = null) { throw null; } public Azure.Analytics.Purview.Scanning.PurviewClassificationRuleClient GetClassificationRuleClient(string classificationRuleName) { throw null; } - public virtual Azure.Response GetClassificationRules(Azure.RequestOptions requestOptions = null) { throw null; } - public virtual System.Threading.Tasks.Task GetClassificationRulesAsync(Azure.RequestOptions requestOptions = null) { throw null; } + public virtual Azure.Response GetClassificationRules(Azure.RequestOptions options = null) { throw null; } + public virtual System.Threading.Tasks.Task GetClassificationRulesAsync(Azure.RequestOptions options = null) { throw null; } public Azure.Analytics.Purview.Scanning.PurviewDataSourceClient GetDataSourceClient(string dataSourceName) { throw null; } - public virtual Azure.Response GetDataSources(Azure.RequestOptions requestOptions = null) { throw null; } - public virtual System.Threading.Tasks.Task GetDataSourcesAsync(Azure.RequestOptions requestOptions = null) { throw null; } - public virtual Azure.Response GetKeyVaultReference(string azureKeyVaultName, Azure.RequestOptions requestOptions = null) { throw null; } - public virtual System.Threading.Tasks.Task GetKeyVaultReferenceAsync(string azureKeyVaultName, Azure.RequestOptions requestOptions = null) { throw null; } - public virtual Azure.Response GetKeyVaultReferences(Azure.RequestOptions requestOptions = null) { throw null; } - public virtual System.Threading.Tasks.Task GetKeyVaultReferencesAsync(Azure.RequestOptions requestOptions = null) { throw null; } - public virtual Azure.Response GetLatestSystemRulestes(string dataSourceType = null, Azure.RequestOptions requestOptions = null) { throw null; } - public virtual System.Threading.Tasks.Task GetLatestSystemRulestesAsync(string dataSourceType = null, Azure.RequestOptions requestOptions = null) { throw null; } - public virtual Azure.Response GetScanRuleset(string scanRulesetName, Azure.RequestOptions requestOptions = null) { throw null; } - public virtual System.Threading.Tasks.Task GetScanRulesetAsync(string scanRulesetName, Azure.RequestOptions requestOptions = null) { throw null; } - public virtual Azure.Response GetScanRulesets(Azure.RequestOptions requestOptions = null) { throw null; } - public virtual System.Threading.Tasks.Task GetScanRulesetsAsync(Azure.RequestOptions requestOptions = null) { throw null; } - public virtual Azure.Response GetSystemRulesets(Azure.RequestOptions requestOptions = null) { throw null; } - public virtual System.Threading.Tasks.Task GetSystemRulesetsAsync(Azure.RequestOptions requestOptions = null) { throw null; } - public virtual Azure.Response GetSystemRulesetsForDataSource(string dataSourceType, Azure.RequestOptions requestOptions = null) { throw null; } - public virtual System.Threading.Tasks.Task GetSystemRulesetsForDataSourceAsync(string dataSourceType, Azure.RequestOptions requestOptions = null) { throw null; } - public virtual Azure.Response GetSystemRulesetsForVersion(int version, string dataSourceType = null, Azure.RequestOptions requestOptions = null) { throw null; } - public virtual System.Threading.Tasks.Task GetSystemRulesetsForVersionAsync(int version, string dataSourceType = null, Azure.RequestOptions requestOptions = null) { throw null; } - public virtual Azure.Response GetSystemRulesetsVersions(string dataSourceType = null, Azure.RequestOptions requestOptions = null) { throw null; } - public virtual System.Threading.Tasks.Task GetSystemRulesetsVersionsAsync(string dataSourceType = null, Azure.RequestOptions requestOptions = null) { throw null; } - public virtual Azure.Response GetUnparentedDataSources(Azure.RequestOptions requestOptions = null) { throw null; } - public virtual System.Threading.Tasks.Task GetUnparentedDataSourcesAsync(Azure.RequestOptions requestOptions = null) { throw null; } + public virtual Azure.Response GetDataSources(Azure.RequestOptions options = null) { throw null; } + public virtual System.Threading.Tasks.Task GetDataSourcesAsync(Azure.RequestOptions options = null) { throw null; } + public virtual Azure.Response GetKeyVaultReference(string azureKeyVaultName, Azure.RequestOptions options = null) { throw null; } + public virtual System.Threading.Tasks.Task GetKeyVaultReferenceAsync(string azureKeyVaultName, Azure.RequestOptions options = null) { throw null; } + public virtual Azure.Response GetKeyVaultReferences(Azure.RequestOptions options = null) { throw null; } + public virtual System.Threading.Tasks.Task GetKeyVaultReferencesAsync(Azure.RequestOptions options = null) { throw null; } + public virtual Azure.Response GetLatestSystemRulestes(string dataSourceType = null, Azure.RequestOptions options = null) { throw null; } + public virtual System.Threading.Tasks.Task GetLatestSystemRulestesAsync(string dataSourceType = null, Azure.RequestOptions options = null) { throw null; } + public virtual Azure.Response GetScanRuleset(string scanRulesetName, Azure.RequestOptions options = null) { throw null; } + public virtual System.Threading.Tasks.Task GetScanRulesetAsync(string scanRulesetName, Azure.RequestOptions options = null) { throw null; } + public virtual Azure.Response GetScanRulesets(Azure.RequestOptions options = null) { throw null; } + public virtual System.Threading.Tasks.Task GetScanRulesetsAsync(Azure.RequestOptions options = null) { throw null; } + public virtual Azure.Response GetSystemRulesets(Azure.RequestOptions options = null) { throw null; } + public virtual System.Threading.Tasks.Task GetSystemRulesetsAsync(Azure.RequestOptions options = null) { throw null; } + public virtual Azure.Response GetSystemRulesetsForDataSource(string dataSourceType, Azure.RequestOptions options = null) { throw null; } + public virtual System.Threading.Tasks.Task GetSystemRulesetsForDataSourceAsync(string dataSourceType, Azure.RequestOptions options = null) { throw null; } + public virtual Azure.Response GetSystemRulesetsForVersion(int version, string dataSourceType = null, Azure.RequestOptions options = null) { throw null; } + public virtual System.Threading.Tasks.Task GetSystemRulesetsForVersionAsync(int version, string dataSourceType = null, Azure.RequestOptions options = null) { throw null; } + public virtual Azure.Response GetSystemRulesetsVersions(string dataSourceType = null, Azure.RequestOptions options = null) { throw null; } + public virtual System.Threading.Tasks.Task GetSystemRulesetsVersionsAsync(string dataSourceType = null, Azure.RequestOptions options = null) { throw null; } + public virtual Azure.Response GetUnparentedDataSources(Azure.RequestOptions options = null) { throw null; } + public virtual System.Threading.Tasks.Task GetUnparentedDataSourcesAsync(Azure.RequestOptions options = null) { throw null; } } public partial class PurviewScanningServiceClientOptions : Azure.Core.ClientOptions { diff --git a/sdk/purview/Azure.Analytics.Purview.Scanning/src/Generated/PurviewClassificationRuleClient.cs b/sdk/purview/Azure.Analytics.Purview.Scanning/src/Generated/PurviewClassificationRuleClient.cs index 11e9a17295fb..8412823947a8 100644 --- a/sdk/purview/Azure.Analytics.Purview.Scanning/src/Generated/PurviewClassificationRuleClient.cs +++ b/sdk/purview/Azure.Analytics.Purview.Scanning/src/Generated/PurviewClassificationRuleClient.cs @@ -61,23 +61,23 @@ public PurviewClassificationRuleClient(Uri endpoint, string classificationRuleNa } /// Get a classification rule. - /// The request options. + /// The request options. #pragma warning disable AZC0002 - public virtual async Task GetPropertiesAsync(RequestOptions requestOptions = null) + public virtual async Task GetPropertiesAsync(RequestOptions options = null) #pragma warning restore AZC0002 { - requestOptions ??= new RequestOptions(); - HttpMessage message = CreateGetPropertiesRequest(requestOptions); - if (requestOptions.PerCallPolicy != null) + options ??= new RequestOptions(); + HttpMessage message = CreateGetPropertiesRequest(options); + if (options.PerCallPolicy != null) { - message.SetProperty("RequestOptionsPerCallPolicyCallback", requestOptions.PerCallPolicy); + message.SetProperty("RequestOptionsPerCallPolicyCallback", options.PerCallPolicy); } using var scope = _clientDiagnostics.CreateScope("PurviewClassificationRuleClient.GetProperties"); scope.Start(); try { - await Pipeline.SendAsync(message, requestOptions.CancellationToken).ConfigureAwait(false); - if (requestOptions.StatusOption == ResponseStatusOption.Default) + await Pipeline.SendAsync(message, options.CancellationToken).ConfigureAwait(false); + if (options.StatusOption == ResponseStatusOption.Default) { switch (message.Response.Status) { @@ -100,23 +100,23 @@ public virtual async Task GetPropertiesAsync(RequestOptions requestOpt } /// Get a classification rule. - /// The request options. + /// The request options. #pragma warning disable AZC0002 - public virtual Response GetProperties(RequestOptions requestOptions = null) + public virtual Response GetProperties(RequestOptions options = null) #pragma warning restore AZC0002 { - requestOptions ??= new RequestOptions(); - HttpMessage message = CreateGetPropertiesRequest(requestOptions); - if (requestOptions.PerCallPolicy != null) + options ??= new RequestOptions(); + HttpMessage message = CreateGetPropertiesRequest(options); + if (options.PerCallPolicy != null) { - message.SetProperty("RequestOptionsPerCallPolicyCallback", requestOptions.PerCallPolicy); + message.SetProperty("RequestOptionsPerCallPolicyCallback", options.PerCallPolicy); } using var scope = _clientDiagnostics.CreateScope("PurviewClassificationRuleClient.GetProperties"); scope.Start(); try { - Pipeline.Send(message, requestOptions.CancellationToken); - if (requestOptions.StatusOption == ResponseStatusOption.Default) + Pipeline.Send(message, options.CancellationToken); + if (options.StatusOption == ResponseStatusOption.Default) { switch (message.Response.Status) { @@ -139,8 +139,8 @@ public virtual Response GetProperties(RequestOptions requestOptions = null) } /// Create Request for and operations. - /// The request options. - private HttpMessage CreateGetPropertiesRequest(RequestOptions requestOptions = null) + /// The request options. + private HttpMessage CreateGetPropertiesRequest(RequestOptions options = null) { var message = Pipeline.CreateMessage(); var request = message.Request; @@ -159,12 +159,12 @@ private HttpMessage CreateGetPropertiesRequest(RequestOptions requestOptions = n /// /// Schema for Request Body: /// - /// + /// /// Name /// Type /// Required /// Description - /// + /// /// /// id /// string @@ -185,24 +185,24 @@ private HttpMessage CreateGetPropertiesRequest(RequestOptions requestOptions = n /// /// /// - /// The request body. - /// The request options. + /// The content to send as the body of the request. + /// The request options. #pragma warning disable AZC0002 - public virtual async Task CreateOrUpdateAsync(RequestContent requestBody, RequestOptions requestOptions = null) + public virtual async Task CreateOrUpdateAsync(RequestContent content, RequestOptions options = null) #pragma warning restore AZC0002 { - requestOptions ??= new RequestOptions(); - HttpMessage message = CreateCreateOrUpdateRequest(requestBody, requestOptions); - if (requestOptions.PerCallPolicy != null) + options ??= new RequestOptions(); + HttpMessage message = CreateCreateOrUpdateRequest(content, options); + if (options.PerCallPolicy != null) { - message.SetProperty("RequestOptionsPerCallPolicyCallback", requestOptions.PerCallPolicy); + message.SetProperty("RequestOptionsPerCallPolicyCallback", options.PerCallPolicy); } using var scope = _clientDiagnostics.CreateScope("PurviewClassificationRuleClient.CreateOrUpdate"); scope.Start(); try { - await Pipeline.SendAsync(message, requestOptions.CancellationToken).ConfigureAwait(false); - if (requestOptions.StatusOption == ResponseStatusOption.Default) + await Pipeline.SendAsync(message, options.CancellationToken).ConfigureAwait(false); + if (options.StatusOption == ResponseStatusOption.Default) { switch (message.Response.Status) { @@ -229,12 +229,12 @@ public virtual async Task CreateOrUpdateAsync(RequestContent requestBo /// /// Schema for Request Body: /// - /// + /// /// Name /// Type /// Required /// Description - /// + /// /// /// id /// string @@ -255,24 +255,24 @@ public virtual async Task CreateOrUpdateAsync(RequestContent requestBo /// /// /// - /// The request body. - /// The request options. + /// The content to send as the body of the request. + /// The request options. #pragma warning disable AZC0002 - public virtual Response CreateOrUpdate(RequestContent requestBody, RequestOptions requestOptions = null) + public virtual Response CreateOrUpdate(RequestContent content, RequestOptions options = null) #pragma warning restore AZC0002 { - requestOptions ??= new RequestOptions(); - HttpMessage message = CreateCreateOrUpdateRequest(requestBody, requestOptions); - if (requestOptions.PerCallPolicy != null) + options ??= new RequestOptions(); + HttpMessage message = CreateCreateOrUpdateRequest(content, options); + if (options.PerCallPolicy != null) { - message.SetProperty("RequestOptionsPerCallPolicyCallback", requestOptions.PerCallPolicy); + message.SetProperty("RequestOptionsPerCallPolicyCallback", options.PerCallPolicy); } using var scope = _clientDiagnostics.CreateScope("PurviewClassificationRuleClient.CreateOrUpdate"); scope.Start(); try { - Pipeline.Send(message, requestOptions.CancellationToken); - if (requestOptions.StatusOption == ResponseStatusOption.Default) + Pipeline.Send(message, options.CancellationToken); + if (options.StatusOption == ResponseStatusOption.Default) { switch (message.Response.Status) { @@ -296,9 +296,9 @@ public virtual Response CreateOrUpdate(RequestContent requestBody, RequestOption } /// Create Request for and operations. - /// The request body. - /// The request options. - private HttpMessage CreateCreateOrUpdateRequest(RequestContent requestBody, RequestOptions requestOptions = null) + /// The content to send as the body of the request. + /// The request options. + private HttpMessage CreateCreateOrUpdateRequest(RequestContent content, RequestOptions options = null) { var message = Pipeline.CreateMessage(); var request = message.Request; @@ -311,28 +311,28 @@ private HttpMessage CreateCreateOrUpdateRequest(RequestContent requestBody, Requ request.Uri = uri; request.Headers.Add("Accept", "application/json"); request.Headers.Add("Content-Type", "application/json"); - request.Content = requestBody; + request.Content = content; return message; } /// Deletes a classification rule. - /// The request options. + /// The request options. #pragma warning disable AZC0002 - public virtual async Task DeleteAsync(RequestOptions requestOptions = null) + public virtual async Task DeleteAsync(RequestOptions options = null) #pragma warning restore AZC0002 { - requestOptions ??= new RequestOptions(); - HttpMessage message = CreateDeleteRequest(requestOptions); - if (requestOptions.PerCallPolicy != null) + options ??= new RequestOptions(); + HttpMessage message = CreateDeleteRequest(options); + if (options.PerCallPolicy != null) { - message.SetProperty("RequestOptionsPerCallPolicyCallback", requestOptions.PerCallPolicy); + message.SetProperty("RequestOptionsPerCallPolicyCallback", options.PerCallPolicy); } using var scope = _clientDiagnostics.CreateScope("PurviewClassificationRuleClient.Delete"); scope.Start(); try { - await Pipeline.SendAsync(message, requestOptions.CancellationToken).ConfigureAwait(false); - if (requestOptions.StatusOption == ResponseStatusOption.Default) + await Pipeline.SendAsync(message, options.CancellationToken).ConfigureAwait(false); + if (options.StatusOption == ResponseStatusOption.Default) { switch (message.Response.Status) { @@ -356,23 +356,23 @@ public virtual async Task DeleteAsync(RequestOptions requestOptions = } /// Deletes a classification rule. - /// The request options. + /// The request options. #pragma warning disable AZC0002 - public virtual Response Delete(RequestOptions requestOptions = null) + public virtual Response Delete(RequestOptions options = null) #pragma warning restore AZC0002 { - requestOptions ??= new RequestOptions(); - HttpMessage message = CreateDeleteRequest(requestOptions); - if (requestOptions.PerCallPolicy != null) + options ??= new RequestOptions(); + HttpMessage message = CreateDeleteRequest(options); + if (options.PerCallPolicy != null) { - message.SetProperty("RequestOptionsPerCallPolicyCallback", requestOptions.PerCallPolicy); + message.SetProperty("RequestOptionsPerCallPolicyCallback", options.PerCallPolicy); } using var scope = _clientDiagnostics.CreateScope("PurviewClassificationRuleClient.Delete"); scope.Start(); try { - Pipeline.Send(message, requestOptions.CancellationToken); - if (requestOptions.StatusOption == ResponseStatusOption.Default) + Pipeline.Send(message, options.CancellationToken); + if (options.StatusOption == ResponseStatusOption.Default) { switch (message.Response.Status) { @@ -396,8 +396,8 @@ public virtual Response Delete(RequestOptions requestOptions = null) } /// Create Request for and operations. - /// The request options. - private HttpMessage CreateDeleteRequest(RequestOptions requestOptions = null) + /// The request options. + private HttpMessage CreateDeleteRequest(RequestOptions options = null) { var message = Pipeline.CreateMessage(); var request = message.Request; @@ -413,23 +413,23 @@ private HttpMessage CreateDeleteRequest(RequestOptions requestOptions = null) } /// Lists the rule versions of a classification rule. - /// The request options. + /// The request options. #pragma warning disable AZC0002 - public virtual async Task GetVersionsAsync(RequestOptions requestOptions = null) + public virtual async Task GetVersionsAsync(RequestOptions options = null) #pragma warning restore AZC0002 { - requestOptions ??= new RequestOptions(); - HttpMessage message = CreateGetVersionsRequest(requestOptions); - if (requestOptions.PerCallPolicy != null) + options ??= new RequestOptions(); + HttpMessage message = CreateGetVersionsRequest(options); + if (options.PerCallPolicy != null) { - message.SetProperty("RequestOptionsPerCallPolicyCallback", requestOptions.PerCallPolicy); + message.SetProperty("RequestOptionsPerCallPolicyCallback", options.PerCallPolicy); } using var scope = _clientDiagnostics.CreateScope("PurviewClassificationRuleClient.GetVersions"); scope.Start(); try { - await Pipeline.SendAsync(message, requestOptions.CancellationToken).ConfigureAwait(false); - if (requestOptions.StatusOption == ResponseStatusOption.Default) + await Pipeline.SendAsync(message, options.CancellationToken).ConfigureAwait(false); + if (options.StatusOption == ResponseStatusOption.Default) { switch (message.Response.Status) { @@ -452,23 +452,23 @@ public virtual async Task GetVersionsAsync(RequestOptions requestOptio } /// Lists the rule versions of a classification rule. - /// The request options. + /// The request options. #pragma warning disable AZC0002 - public virtual Response GetVersions(RequestOptions requestOptions = null) + public virtual Response GetVersions(RequestOptions options = null) #pragma warning restore AZC0002 { - requestOptions ??= new RequestOptions(); - HttpMessage message = CreateGetVersionsRequest(requestOptions); - if (requestOptions.PerCallPolicy != null) + options ??= new RequestOptions(); + HttpMessage message = CreateGetVersionsRequest(options); + if (options.PerCallPolicy != null) { - message.SetProperty("RequestOptionsPerCallPolicyCallback", requestOptions.PerCallPolicy); + message.SetProperty("RequestOptionsPerCallPolicyCallback", options.PerCallPolicy); } using var scope = _clientDiagnostics.CreateScope("PurviewClassificationRuleClient.GetVersions"); scope.Start(); try { - Pipeline.Send(message, requestOptions.CancellationToken); - if (requestOptions.StatusOption == ResponseStatusOption.Default) + Pipeline.Send(message, options.CancellationToken); + if (options.StatusOption == ResponseStatusOption.Default) { switch (message.Response.Status) { @@ -491,8 +491,8 @@ public virtual Response GetVersions(RequestOptions requestOptions = null) } /// Create Request for and operations. - /// The request options. - private HttpMessage CreateGetVersionsRequest(RequestOptions requestOptions = null) + /// The request options. + private HttpMessage CreateGetVersionsRequest(RequestOptions options = null) { var message = Pipeline.CreateMessage(); var request = message.Request; @@ -511,23 +511,23 @@ private HttpMessage CreateGetVersionsRequest(RequestOptions requestOptions = nul /// Sets Classification Action on a specific classification rule version. /// The Integer to use. /// The ClassificationAction to use. - /// The request options. + /// The request options. #pragma warning disable AZC0002 - public virtual async Task TagVersionAsync(int classificationRuleVersion, string action, RequestOptions requestOptions = null) + public virtual async Task TagVersionAsync(int classificationRuleVersion, string action, RequestOptions options = null) #pragma warning restore AZC0002 { - requestOptions ??= new RequestOptions(); - HttpMessage message = CreateTagVersionRequest(classificationRuleVersion, action, requestOptions); - if (requestOptions.PerCallPolicy != null) + options ??= new RequestOptions(); + HttpMessage message = CreateTagVersionRequest(classificationRuleVersion, action, options); + if (options.PerCallPolicy != null) { - message.SetProperty("RequestOptionsPerCallPolicyCallback", requestOptions.PerCallPolicy); + message.SetProperty("RequestOptionsPerCallPolicyCallback", options.PerCallPolicy); } using var scope = _clientDiagnostics.CreateScope("PurviewClassificationRuleClient.TagVersion"); scope.Start(); try { - await Pipeline.SendAsync(message, requestOptions.CancellationToken).ConfigureAwait(false); - if (requestOptions.StatusOption == ResponseStatusOption.Default) + await Pipeline.SendAsync(message, options.CancellationToken).ConfigureAwait(false); + if (options.StatusOption == ResponseStatusOption.Default) { switch (message.Response.Status) { @@ -552,23 +552,23 @@ public virtual async Task TagVersionAsync(int classificationRuleVersio /// Sets Classification Action on a specific classification rule version. /// The Integer to use. /// The ClassificationAction to use. - /// The request options. + /// The request options. #pragma warning disable AZC0002 - public virtual Response TagVersion(int classificationRuleVersion, string action, RequestOptions requestOptions = null) + public virtual Response TagVersion(int classificationRuleVersion, string action, RequestOptions options = null) #pragma warning restore AZC0002 { - requestOptions ??= new RequestOptions(); - HttpMessage message = CreateTagVersionRequest(classificationRuleVersion, action, requestOptions); - if (requestOptions.PerCallPolicy != null) + options ??= new RequestOptions(); + HttpMessage message = CreateTagVersionRequest(classificationRuleVersion, action, options); + if (options.PerCallPolicy != null) { - message.SetProperty("RequestOptionsPerCallPolicyCallback", requestOptions.PerCallPolicy); + message.SetProperty("RequestOptionsPerCallPolicyCallback", options.PerCallPolicy); } using var scope = _clientDiagnostics.CreateScope("PurviewClassificationRuleClient.TagVersion"); scope.Start(); try { - Pipeline.Send(message, requestOptions.CancellationToken); - if (requestOptions.StatusOption == ResponseStatusOption.Default) + Pipeline.Send(message, options.CancellationToken); + if (options.StatusOption == ResponseStatusOption.Default) { switch (message.Response.Status) { @@ -593,8 +593,8 @@ public virtual Response TagVersion(int classificationRuleVersion, string action, /// Create Request for and operations. /// The Integer to use. /// The ClassificationAction to use. - /// The request options. - private HttpMessage CreateTagVersionRequest(int classificationRuleVersion, string action, RequestOptions requestOptions = null) + /// The request options. + private HttpMessage CreateTagVersionRequest(int classificationRuleVersion, string action, RequestOptions options = null) { var message = Pipeline.CreateMessage(); var request = message.Request; diff --git a/sdk/purview/Azure.Analytics.Purview.Scanning/src/Generated/PurviewDataSourceClient.cs b/sdk/purview/Azure.Analytics.Purview.Scanning/src/Generated/PurviewDataSourceClient.cs index 8d425600878a..bb3b74e62d0a 100644 --- a/sdk/purview/Azure.Analytics.Purview.Scanning/src/Generated/PurviewDataSourceClient.cs +++ b/sdk/purview/Azure.Analytics.Purview.Scanning/src/Generated/PurviewDataSourceClient.cs @@ -64,12 +64,12 @@ public PurviewDataSourceClient(Uri endpoint, string dataSourceName, TokenCredent /// /// Schema for Request Body: /// - /// + /// /// Name /// Type /// Required /// Description - /// + /// /// /// id /// string @@ -97,12 +97,12 @@ public PurviewDataSourceClient(Uri endpoint, string dataSourceName, TokenCredent /// /// Schema for Scan: /// - /// + /// /// Name /// Type /// Required /// Description - /// + /// /// /// id /// string @@ -130,12 +130,12 @@ public PurviewDataSourceClient(Uri endpoint, string dataSourceName, TokenCredent /// /// Schema for ScanResult: /// - /// + /// /// Name /// Type /// Required /// Description - /// + /// /// /// parentId /// string @@ -247,12 +247,12 @@ public PurviewDataSourceClient(Uri endpoint, string dataSourceName, TokenCredent /// /// Schema for ScanResultDiagnostics: /// - /// + /// /// Name /// Type /// Required /// Description - /// + /// /// /// notifications /// Notification[] @@ -268,12 +268,12 @@ public PurviewDataSourceClient(Uri endpoint, string dataSourceName, TokenCredent /// /// Schema for ScanResultError: /// - /// + /// /// Name /// Type /// Required /// Description - /// + /// /// /// code /// string @@ -301,12 +301,12 @@ public PurviewDataSourceClient(Uri endpoint, string dataSourceName, TokenCredent /// /// Schema for Notification: /// - /// + /// /// Name /// Type /// Required /// Description - /// + /// /// /// message /// string @@ -322,12 +322,12 @@ public PurviewDataSourceClient(Uri endpoint, string dataSourceName, TokenCredent /// /// Schema for ErrorModel: /// - /// + /// /// Name /// Type /// Required /// Description - /// + /// /// /// code /// string @@ -354,24 +354,24 @@ public PurviewDataSourceClient(Uri endpoint, string dataSourceName, TokenCredent /// /// /// - /// The request body. - /// The request options. + /// The content to send as the body of the request. + /// The request options. #pragma warning disable AZC0002 - public virtual async Task CreateOrUpdateAsync(RequestContent requestBody, RequestOptions requestOptions = null) + public virtual async Task CreateOrUpdateAsync(RequestContent content, RequestOptions options = null) #pragma warning restore AZC0002 { - requestOptions ??= new RequestOptions(); - HttpMessage message = CreateCreateOrUpdateRequest(requestBody, requestOptions); - if (requestOptions.PerCallPolicy != null) + options ??= new RequestOptions(); + HttpMessage message = CreateCreateOrUpdateRequest(content, options); + if (options.PerCallPolicy != null) { - message.SetProperty("RequestOptionsPerCallPolicyCallback", requestOptions.PerCallPolicy); + message.SetProperty("RequestOptionsPerCallPolicyCallback", options.PerCallPolicy); } using var scope = _clientDiagnostics.CreateScope("PurviewDataSourceClient.CreateOrUpdate"); scope.Start(); try { - await Pipeline.SendAsync(message, requestOptions.CancellationToken).ConfigureAwait(false); - if (requestOptions.StatusOption == ResponseStatusOption.Default) + await Pipeline.SendAsync(message, options.CancellationToken).ConfigureAwait(false); + if (options.StatusOption == ResponseStatusOption.Default) { switch (message.Response.Status) { @@ -398,12 +398,12 @@ public virtual async Task CreateOrUpdateAsync(RequestContent requestBo /// /// Schema for Request Body: /// - /// + /// /// Name /// Type /// Required /// Description - /// + /// /// /// id /// string @@ -431,12 +431,12 @@ public virtual async Task CreateOrUpdateAsync(RequestContent requestBo /// /// Schema for Scan: /// - /// + /// /// Name /// Type /// Required /// Description - /// + /// /// /// id /// string @@ -464,12 +464,12 @@ public virtual async Task CreateOrUpdateAsync(RequestContent requestBo /// /// Schema for ScanResult: /// - /// + /// /// Name /// Type /// Required /// Description - /// + /// /// /// parentId /// string @@ -581,12 +581,12 @@ public virtual async Task CreateOrUpdateAsync(RequestContent requestBo /// /// Schema for ScanResultDiagnostics: /// - /// + /// /// Name /// Type /// Required /// Description - /// + /// /// /// notifications /// Notification[] @@ -602,12 +602,12 @@ public virtual async Task CreateOrUpdateAsync(RequestContent requestBo /// /// Schema for ScanResultError: /// - /// + /// /// Name /// Type /// Required /// Description - /// + /// /// /// code /// string @@ -635,12 +635,12 @@ public virtual async Task CreateOrUpdateAsync(RequestContent requestBo /// /// Schema for Notification: /// - /// + /// /// Name /// Type /// Required /// Description - /// + /// /// /// message /// string @@ -656,12 +656,12 @@ public virtual async Task CreateOrUpdateAsync(RequestContent requestBo /// /// Schema for ErrorModel: /// - /// + /// /// Name /// Type /// Required /// Description - /// + /// /// /// code /// string @@ -688,24 +688,24 @@ public virtual async Task CreateOrUpdateAsync(RequestContent requestBo /// /// /// - /// The request body. - /// The request options. + /// The content to send as the body of the request. + /// The request options. #pragma warning disable AZC0002 - public virtual Response CreateOrUpdate(RequestContent requestBody, RequestOptions requestOptions = null) + public virtual Response CreateOrUpdate(RequestContent content, RequestOptions options = null) #pragma warning restore AZC0002 { - requestOptions ??= new RequestOptions(); - HttpMessage message = CreateCreateOrUpdateRequest(requestBody, requestOptions); - if (requestOptions.PerCallPolicy != null) + options ??= new RequestOptions(); + HttpMessage message = CreateCreateOrUpdateRequest(content, options); + if (options.PerCallPolicy != null) { - message.SetProperty("RequestOptionsPerCallPolicyCallback", requestOptions.PerCallPolicy); + message.SetProperty("RequestOptionsPerCallPolicyCallback", options.PerCallPolicy); } using var scope = _clientDiagnostics.CreateScope("PurviewDataSourceClient.CreateOrUpdate"); scope.Start(); try { - Pipeline.Send(message, requestOptions.CancellationToken); - if (requestOptions.StatusOption == ResponseStatusOption.Default) + Pipeline.Send(message, options.CancellationToken); + if (options.StatusOption == ResponseStatusOption.Default) { switch (message.Response.Status) { @@ -729,9 +729,9 @@ public virtual Response CreateOrUpdate(RequestContent requestBody, RequestOption } /// Create Request for and operations. - /// The request body. - /// The request options. - private HttpMessage CreateCreateOrUpdateRequest(RequestContent requestBody, RequestOptions requestOptions = null) + /// The content to send as the body of the request. + /// The request options. + private HttpMessage CreateCreateOrUpdateRequest(RequestContent content, RequestOptions options = null) { var message = Pipeline.CreateMessage(); var request = message.Request; @@ -744,28 +744,28 @@ private HttpMessage CreateCreateOrUpdateRequest(RequestContent requestBody, Requ request.Uri = uri; request.Headers.Add("Accept", "application/json"); request.Headers.Add("Content-Type", "application/json"); - request.Content = requestBody; + request.Content = content; return message; } /// Get a data source. - /// The request options. + /// The request options. #pragma warning disable AZC0002 - public virtual async Task GetPropertiesAsync(RequestOptions requestOptions = null) + public virtual async Task GetPropertiesAsync(RequestOptions options = null) #pragma warning restore AZC0002 { - requestOptions ??= new RequestOptions(); - HttpMessage message = CreateGetPropertiesRequest(requestOptions); - if (requestOptions.PerCallPolicy != null) + options ??= new RequestOptions(); + HttpMessage message = CreateGetPropertiesRequest(options); + if (options.PerCallPolicy != null) { - message.SetProperty("RequestOptionsPerCallPolicyCallback", requestOptions.PerCallPolicy); + message.SetProperty("RequestOptionsPerCallPolicyCallback", options.PerCallPolicy); } using var scope = _clientDiagnostics.CreateScope("PurviewDataSourceClient.GetProperties"); scope.Start(); try { - await Pipeline.SendAsync(message, requestOptions.CancellationToken).ConfigureAwait(false); - if (requestOptions.StatusOption == ResponseStatusOption.Default) + await Pipeline.SendAsync(message, options.CancellationToken).ConfigureAwait(false); + if (options.StatusOption == ResponseStatusOption.Default) { switch (message.Response.Status) { @@ -788,23 +788,23 @@ public virtual async Task GetPropertiesAsync(RequestOptions requestOpt } /// Get a data source. - /// The request options. + /// The request options. #pragma warning disable AZC0002 - public virtual Response GetProperties(RequestOptions requestOptions = null) + public virtual Response GetProperties(RequestOptions options = null) #pragma warning restore AZC0002 { - requestOptions ??= new RequestOptions(); - HttpMessage message = CreateGetPropertiesRequest(requestOptions); - if (requestOptions.PerCallPolicy != null) + options ??= new RequestOptions(); + HttpMessage message = CreateGetPropertiesRequest(options); + if (options.PerCallPolicy != null) { - message.SetProperty("RequestOptionsPerCallPolicyCallback", requestOptions.PerCallPolicy); + message.SetProperty("RequestOptionsPerCallPolicyCallback", options.PerCallPolicy); } using var scope = _clientDiagnostics.CreateScope("PurviewDataSourceClient.GetProperties"); scope.Start(); try { - Pipeline.Send(message, requestOptions.CancellationToken); - if (requestOptions.StatusOption == ResponseStatusOption.Default) + Pipeline.Send(message, options.CancellationToken); + if (options.StatusOption == ResponseStatusOption.Default) { switch (message.Response.Status) { @@ -827,8 +827,8 @@ public virtual Response GetProperties(RequestOptions requestOptions = null) } /// Create Request for and operations. - /// The request options. - private HttpMessage CreateGetPropertiesRequest(RequestOptions requestOptions = null) + /// The request options. + private HttpMessage CreateGetPropertiesRequest(RequestOptions options = null) { var message = Pipeline.CreateMessage(); var request = message.Request; @@ -844,23 +844,23 @@ private HttpMessage CreateGetPropertiesRequest(RequestOptions requestOptions = n } /// Deletes a data source. - /// The request options. + /// The request options. #pragma warning disable AZC0002 - public virtual async Task DeleteAsync(RequestOptions requestOptions = null) + public virtual async Task DeleteAsync(RequestOptions options = null) #pragma warning restore AZC0002 { - requestOptions ??= new RequestOptions(); - HttpMessage message = CreateDeleteRequest(requestOptions); - if (requestOptions.PerCallPolicy != null) + options ??= new RequestOptions(); + HttpMessage message = CreateDeleteRequest(options); + if (options.PerCallPolicy != null) { - message.SetProperty("RequestOptionsPerCallPolicyCallback", requestOptions.PerCallPolicy); + message.SetProperty("RequestOptionsPerCallPolicyCallback", options.PerCallPolicy); } using var scope = _clientDiagnostics.CreateScope("PurviewDataSourceClient.Delete"); scope.Start(); try { - await Pipeline.SendAsync(message, requestOptions.CancellationToken).ConfigureAwait(false); - if (requestOptions.StatusOption == ResponseStatusOption.Default) + await Pipeline.SendAsync(message, options.CancellationToken).ConfigureAwait(false); + if (options.StatusOption == ResponseStatusOption.Default) { switch (message.Response.Status) { @@ -884,23 +884,23 @@ public virtual async Task DeleteAsync(RequestOptions requestOptions = } /// Deletes a data source. - /// The request options. + /// The request options. #pragma warning disable AZC0002 - public virtual Response Delete(RequestOptions requestOptions = null) + public virtual Response Delete(RequestOptions options = null) #pragma warning restore AZC0002 { - requestOptions ??= new RequestOptions(); - HttpMessage message = CreateDeleteRequest(requestOptions); - if (requestOptions.PerCallPolicy != null) + options ??= new RequestOptions(); + HttpMessage message = CreateDeleteRequest(options); + if (options.PerCallPolicy != null) { - message.SetProperty("RequestOptionsPerCallPolicyCallback", requestOptions.PerCallPolicy); + message.SetProperty("RequestOptionsPerCallPolicyCallback", options.PerCallPolicy); } using var scope = _clientDiagnostics.CreateScope("PurviewDataSourceClient.Delete"); scope.Start(); try { - Pipeline.Send(message, requestOptions.CancellationToken); - if (requestOptions.StatusOption == ResponseStatusOption.Default) + Pipeline.Send(message, options.CancellationToken); + if (options.StatusOption == ResponseStatusOption.Default) { switch (message.Response.Status) { @@ -924,8 +924,8 @@ public virtual Response Delete(RequestOptions requestOptions = null) } /// Create Request for and operations. - /// The request options. - private HttpMessage CreateDeleteRequest(RequestOptions requestOptions = null) + /// The request options. + private HttpMessage CreateDeleteRequest(RequestOptions options = null) { var message = Pipeline.CreateMessage(); var request = message.Request; @@ -941,23 +941,23 @@ private HttpMessage CreateDeleteRequest(RequestOptions requestOptions = null) } /// Lists the children of the collection. - /// The request options. + /// The request options. #pragma warning disable AZC0002 - public virtual async Task GetChildrenAsync(RequestOptions requestOptions = null) + public virtual async Task GetChildrenAsync(RequestOptions options = null) #pragma warning restore AZC0002 { - requestOptions ??= new RequestOptions(); - HttpMessage message = CreateGetChildrenRequest(requestOptions); - if (requestOptions.PerCallPolicy != null) + options ??= new RequestOptions(); + HttpMessage message = CreateGetChildrenRequest(options); + if (options.PerCallPolicy != null) { - message.SetProperty("RequestOptionsPerCallPolicyCallback", requestOptions.PerCallPolicy); + message.SetProperty("RequestOptionsPerCallPolicyCallback", options.PerCallPolicy); } using var scope = _clientDiagnostics.CreateScope("PurviewDataSourceClient.GetChildren"); scope.Start(); try { - await Pipeline.SendAsync(message, requestOptions.CancellationToken).ConfigureAwait(false); - if (requestOptions.StatusOption == ResponseStatusOption.Default) + await Pipeline.SendAsync(message, options.CancellationToken).ConfigureAwait(false); + if (options.StatusOption == ResponseStatusOption.Default) { switch (message.Response.Status) { @@ -980,23 +980,23 @@ public virtual async Task GetChildrenAsync(RequestOptions requestOptio } /// Lists the children of the collection. - /// The request options. + /// The request options. #pragma warning disable AZC0002 - public virtual Response GetChildren(RequestOptions requestOptions = null) + public virtual Response GetChildren(RequestOptions options = null) #pragma warning restore AZC0002 { - requestOptions ??= new RequestOptions(); - HttpMessage message = CreateGetChildrenRequest(requestOptions); - if (requestOptions.PerCallPolicy != null) + options ??= new RequestOptions(); + HttpMessage message = CreateGetChildrenRequest(options); + if (options.PerCallPolicy != null) { - message.SetProperty("RequestOptionsPerCallPolicyCallback", requestOptions.PerCallPolicy); + message.SetProperty("RequestOptionsPerCallPolicyCallback", options.PerCallPolicy); } using var scope = _clientDiagnostics.CreateScope("PurviewDataSourceClient.GetChildren"); scope.Start(); try { - Pipeline.Send(message, requestOptions.CancellationToken); - if (requestOptions.StatusOption == ResponseStatusOption.Default) + Pipeline.Send(message, options.CancellationToken); + if (options.StatusOption == ResponseStatusOption.Default) { switch (message.Response.Status) { @@ -1019,8 +1019,8 @@ public virtual Response GetChildren(RequestOptions requestOptions = null) } /// Create Request for and operations. - /// The request options. - private HttpMessage CreateGetChildrenRequest(RequestOptions requestOptions = null) + /// The request options. + private HttpMessage CreateGetChildrenRequest(RequestOptions options = null) { var message = Pipeline.CreateMessage(); var request = message.Request; @@ -1037,23 +1037,23 @@ private HttpMessage CreateGetChildrenRequest(RequestOptions requestOptions = nul } /// List scans in data source. - /// The request options. + /// The request options. #pragma warning disable AZC0002 - public virtual async Task GetScansAsync(RequestOptions requestOptions = null) + public virtual async Task GetScansAsync(RequestOptions options = null) #pragma warning restore AZC0002 { - requestOptions ??= new RequestOptions(); - HttpMessage message = CreateGetScansRequest(requestOptions); - if (requestOptions.PerCallPolicy != null) + options ??= new RequestOptions(); + HttpMessage message = CreateGetScansRequest(options); + if (options.PerCallPolicy != null) { - message.SetProperty("RequestOptionsPerCallPolicyCallback", requestOptions.PerCallPolicy); + message.SetProperty("RequestOptionsPerCallPolicyCallback", options.PerCallPolicy); } using var scope = _clientDiagnostics.CreateScope("PurviewDataSourceClient.GetScans"); scope.Start(); try { - await Pipeline.SendAsync(message, requestOptions.CancellationToken).ConfigureAwait(false); - if (requestOptions.StatusOption == ResponseStatusOption.Default) + await Pipeline.SendAsync(message, options.CancellationToken).ConfigureAwait(false); + if (options.StatusOption == ResponseStatusOption.Default) { switch (message.Response.Status) { @@ -1076,23 +1076,23 @@ public virtual async Task GetScansAsync(RequestOptions requestOptions } /// List scans in data source. - /// The request options. + /// The request options. #pragma warning disable AZC0002 - public virtual Response GetScans(RequestOptions requestOptions = null) + public virtual Response GetScans(RequestOptions options = null) #pragma warning restore AZC0002 { - requestOptions ??= new RequestOptions(); - HttpMessage message = CreateGetScansRequest(requestOptions); - if (requestOptions.PerCallPolicy != null) + options ??= new RequestOptions(); + HttpMessage message = CreateGetScansRequest(options); + if (options.PerCallPolicy != null) { - message.SetProperty("RequestOptionsPerCallPolicyCallback", requestOptions.PerCallPolicy); + message.SetProperty("RequestOptionsPerCallPolicyCallback", options.PerCallPolicy); } using var scope = _clientDiagnostics.CreateScope("PurviewDataSourceClient.GetScans"); scope.Start(); try { - Pipeline.Send(message, requestOptions.CancellationToken); - if (requestOptions.StatusOption == ResponseStatusOption.Default) + Pipeline.Send(message, options.CancellationToken); + if (options.StatusOption == ResponseStatusOption.Default) { switch (message.Response.Status) { @@ -1115,8 +1115,8 @@ public virtual Response GetScans(RequestOptions requestOptions = null) } /// Create Request for and operations. - /// The request options. - private HttpMessage CreateGetScansRequest(RequestOptions requestOptions = null) + /// The request options. + private HttpMessage CreateGetScansRequest(RequestOptions options = null) { var message = Pipeline.CreateMessage(); var request = message.Request; diff --git a/sdk/purview/Azure.Analytics.Purview.Scanning/src/Generated/PurviewScanClient.cs b/sdk/purview/Azure.Analytics.Purview.Scanning/src/Generated/PurviewScanClient.cs index d6792844636e..8ad0f319764b 100644 --- a/sdk/purview/Azure.Analytics.Purview.Scanning/src/Generated/PurviewScanClient.cs +++ b/sdk/purview/Azure.Analytics.Purview.Scanning/src/Generated/PurviewScanClient.cs @@ -68,23 +68,23 @@ public PurviewScanClient(Uri endpoint, string dataSourceName, string scanName, T } /// Get a filter. - /// The request options. + /// The request options. #pragma warning disable AZC0002 - public virtual async Task GetFilterAsync(RequestOptions requestOptions = null) + public virtual async Task GetFilterAsync(RequestOptions options = null) #pragma warning restore AZC0002 { - requestOptions ??= new RequestOptions(); - HttpMessage message = CreateGetFilterRequest(requestOptions); - if (requestOptions.PerCallPolicy != null) + options ??= new RequestOptions(); + HttpMessage message = CreateGetFilterRequest(options); + if (options.PerCallPolicy != null) { - message.SetProperty("RequestOptionsPerCallPolicyCallback", requestOptions.PerCallPolicy); + message.SetProperty("RequestOptionsPerCallPolicyCallback", options.PerCallPolicy); } using var scope = _clientDiagnostics.CreateScope("PurviewScanClient.GetFilter"); scope.Start(); try { - await Pipeline.SendAsync(message, requestOptions.CancellationToken).ConfigureAwait(false); - if (requestOptions.StatusOption == ResponseStatusOption.Default) + await Pipeline.SendAsync(message, options.CancellationToken).ConfigureAwait(false); + if (options.StatusOption == ResponseStatusOption.Default) { switch (message.Response.Status) { @@ -107,23 +107,23 @@ public virtual async Task GetFilterAsync(RequestOptions requestOptions } /// Get a filter. - /// The request options. + /// The request options. #pragma warning disable AZC0002 - public virtual Response GetFilter(RequestOptions requestOptions = null) + public virtual Response GetFilter(RequestOptions options = null) #pragma warning restore AZC0002 { - requestOptions ??= new RequestOptions(); - HttpMessage message = CreateGetFilterRequest(requestOptions); - if (requestOptions.PerCallPolicy != null) + options ??= new RequestOptions(); + HttpMessage message = CreateGetFilterRequest(options); + if (options.PerCallPolicy != null) { - message.SetProperty("RequestOptionsPerCallPolicyCallback", requestOptions.PerCallPolicy); + message.SetProperty("RequestOptionsPerCallPolicyCallback", options.PerCallPolicy); } using var scope = _clientDiagnostics.CreateScope("PurviewScanClient.GetFilter"); scope.Start(); try { - Pipeline.Send(message, requestOptions.CancellationToken); - if (requestOptions.StatusOption == ResponseStatusOption.Default) + Pipeline.Send(message, options.CancellationToken); + if (options.StatusOption == ResponseStatusOption.Default) { switch (message.Response.Status) { @@ -146,8 +146,8 @@ public virtual Response GetFilter(RequestOptions requestOptions = null) } /// Create Request for and operations. - /// The request options. - private HttpMessage CreateGetFilterRequest(RequestOptions requestOptions = null) + /// The request options. + private HttpMessage CreateGetFilterRequest(RequestOptions options = null) { var message = Pipeline.CreateMessage(); var request = message.Request; @@ -169,12 +169,12 @@ private HttpMessage CreateGetFilterRequest(RequestOptions requestOptions = null) /// /// Schema for Request Body: /// - /// + /// /// Name /// Type /// Required /// Description - /// + /// /// /// id /// string @@ -196,12 +196,12 @@ private HttpMessage CreateGetFilterRequest(RequestOptions requestOptions = null) /// /// Schema for FilterPropertiesAutoGenerated: /// - /// + /// /// Name /// Type /// Required /// Description - /// + /// /// /// excludeUriPrefixes /// string[] @@ -216,24 +216,24 @@ private HttpMessage CreateGetFilterRequest(RequestOptions requestOptions = null) /// /// /// - /// The request body. - /// The request options. + /// The content to send as the body of the request. + /// The request options. #pragma warning disable AZC0002 - public virtual async Task CreateOrUpdateFilterAsync(RequestContent requestBody, RequestOptions requestOptions = null) + public virtual async Task CreateOrUpdateFilterAsync(RequestContent content, RequestOptions options = null) #pragma warning restore AZC0002 { - requestOptions ??= new RequestOptions(); - HttpMessage message = CreateCreateOrUpdateFilterRequest(requestBody, requestOptions); - if (requestOptions.PerCallPolicy != null) + options ??= new RequestOptions(); + HttpMessage message = CreateCreateOrUpdateFilterRequest(content, options); + if (options.PerCallPolicy != null) { - message.SetProperty("RequestOptionsPerCallPolicyCallback", requestOptions.PerCallPolicy); + message.SetProperty("RequestOptionsPerCallPolicyCallback", options.PerCallPolicy); } using var scope = _clientDiagnostics.CreateScope("PurviewScanClient.CreateOrUpdateFilter"); scope.Start(); try { - await Pipeline.SendAsync(message, requestOptions.CancellationToken).ConfigureAwait(false); - if (requestOptions.StatusOption == ResponseStatusOption.Default) + await Pipeline.SendAsync(message, options.CancellationToken).ConfigureAwait(false); + if (options.StatusOption == ResponseStatusOption.Default) { switch (message.Response.Status) { @@ -260,12 +260,12 @@ public virtual async Task CreateOrUpdateFilterAsync(RequestContent req /// /// Schema for Request Body: /// - /// + /// /// Name /// Type /// Required /// Description - /// + /// /// /// id /// string @@ -287,12 +287,12 @@ public virtual async Task CreateOrUpdateFilterAsync(RequestContent req /// /// Schema for FilterPropertiesAutoGenerated: /// - /// + /// /// Name /// Type /// Required /// Description - /// + /// /// /// excludeUriPrefixes /// string[] @@ -307,24 +307,24 @@ public virtual async Task CreateOrUpdateFilterAsync(RequestContent req /// /// /// - /// The request body. - /// The request options. + /// The content to send as the body of the request. + /// The request options. #pragma warning disable AZC0002 - public virtual Response CreateOrUpdateFilter(RequestContent requestBody, RequestOptions requestOptions = null) + public virtual Response CreateOrUpdateFilter(RequestContent content, RequestOptions options = null) #pragma warning restore AZC0002 { - requestOptions ??= new RequestOptions(); - HttpMessage message = CreateCreateOrUpdateFilterRequest(requestBody, requestOptions); - if (requestOptions.PerCallPolicy != null) + options ??= new RequestOptions(); + HttpMessage message = CreateCreateOrUpdateFilterRequest(content, options); + if (options.PerCallPolicy != null) { - message.SetProperty("RequestOptionsPerCallPolicyCallback", requestOptions.PerCallPolicy); + message.SetProperty("RequestOptionsPerCallPolicyCallback", options.PerCallPolicy); } using var scope = _clientDiagnostics.CreateScope("PurviewScanClient.CreateOrUpdateFilter"); scope.Start(); try { - Pipeline.Send(message, requestOptions.CancellationToken); - if (requestOptions.StatusOption == ResponseStatusOption.Default) + Pipeline.Send(message, options.CancellationToken); + if (options.StatusOption == ResponseStatusOption.Default) { switch (message.Response.Status) { @@ -348,9 +348,9 @@ public virtual Response CreateOrUpdateFilter(RequestContent requestBody, Request } /// Create Request for and operations. - /// The request body. - /// The request options. - private HttpMessage CreateCreateOrUpdateFilterRequest(RequestContent requestBody, RequestOptions requestOptions = null) + /// The content to send as the body of the request. + /// The request options. + private HttpMessage CreateCreateOrUpdateFilterRequest(RequestContent content, RequestOptions options = null) { var message = Pipeline.CreateMessage(); var request = message.Request; @@ -366,7 +366,7 @@ private HttpMessage CreateCreateOrUpdateFilterRequest(RequestContent requestBody request.Uri = uri; request.Headers.Add("Accept", "application/json"); request.Headers.Add("Content-Type", "application/json"); - request.Content = requestBody; + request.Content = content; return message; } @@ -374,12 +374,12 @@ private HttpMessage CreateCreateOrUpdateFilterRequest(RequestContent requestBody /// /// Schema for Request Body: /// - /// + /// /// Name /// Type /// Required /// Description - /// + /// /// /// id /// string @@ -407,12 +407,12 @@ private HttpMessage CreateCreateOrUpdateFilterRequest(RequestContent requestBody /// /// Schema for ScanResult: /// - /// + /// /// Name /// Type /// Required /// Description - /// + /// /// /// parentId /// string @@ -524,12 +524,12 @@ private HttpMessage CreateCreateOrUpdateFilterRequest(RequestContent requestBody /// /// Schema for ScanResultDiagnostics: /// - /// + /// /// Name /// Type /// Required /// Description - /// + /// /// /// notifications /// Notification[] @@ -545,12 +545,12 @@ private HttpMessage CreateCreateOrUpdateFilterRequest(RequestContent requestBody /// /// Schema for ScanResultError: /// - /// + /// /// Name /// Type /// Required /// Description - /// + /// /// /// code /// string @@ -578,12 +578,12 @@ private HttpMessage CreateCreateOrUpdateFilterRequest(RequestContent requestBody /// /// Schema for Notification: /// - /// + /// /// Name /// Type /// Required /// Description - /// + /// /// /// message /// string @@ -599,12 +599,12 @@ private HttpMessage CreateCreateOrUpdateFilterRequest(RequestContent requestBody /// /// Schema for ErrorModel: /// - /// + /// /// Name /// Type /// Required /// Description - /// + /// /// /// code /// string @@ -631,24 +631,24 @@ private HttpMessage CreateCreateOrUpdateFilterRequest(RequestContent requestBody /// /// /// - /// The request body. - /// The request options. + /// The content to send as the body of the request. + /// The request options. #pragma warning disable AZC0002 - public virtual async Task CreateOrUpdateAsync(RequestContent requestBody, RequestOptions requestOptions = null) + public virtual async Task CreateOrUpdateAsync(RequestContent content, RequestOptions options = null) #pragma warning restore AZC0002 { - requestOptions ??= new RequestOptions(); - HttpMessage message = CreateCreateOrUpdateRequest(requestBody, requestOptions); - if (requestOptions.PerCallPolicy != null) + options ??= new RequestOptions(); + HttpMessage message = CreateCreateOrUpdateRequest(content, options); + if (options.PerCallPolicy != null) { - message.SetProperty("RequestOptionsPerCallPolicyCallback", requestOptions.PerCallPolicy); + message.SetProperty("RequestOptionsPerCallPolicyCallback", options.PerCallPolicy); } using var scope = _clientDiagnostics.CreateScope("PurviewScanClient.CreateOrUpdate"); scope.Start(); try { - await Pipeline.SendAsync(message, requestOptions.CancellationToken).ConfigureAwait(false); - if (requestOptions.StatusOption == ResponseStatusOption.Default) + await Pipeline.SendAsync(message, options.CancellationToken).ConfigureAwait(false); + if (options.StatusOption == ResponseStatusOption.Default) { switch (message.Response.Status) { @@ -675,12 +675,12 @@ public virtual async Task CreateOrUpdateAsync(RequestContent requestBo /// /// Schema for Request Body: /// - /// + /// /// Name /// Type /// Required /// Description - /// + /// /// /// id /// string @@ -708,12 +708,12 @@ public virtual async Task CreateOrUpdateAsync(RequestContent requestBo /// /// Schema for ScanResult: /// - /// + /// /// Name /// Type /// Required /// Description - /// + /// /// /// parentId /// string @@ -825,12 +825,12 @@ public virtual async Task CreateOrUpdateAsync(RequestContent requestBo /// /// Schema for ScanResultDiagnostics: /// - /// + /// /// Name /// Type /// Required /// Description - /// + /// /// /// notifications /// Notification[] @@ -846,12 +846,12 @@ public virtual async Task CreateOrUpdateAsync(RequestContent requestBo /// /// Schema for ScanResultError: /// - /// + /// /// Name /// Type /// Required /// Description - /// + /// /// /// code /// string @@ -879,12 +879,12 @@ public virtual async Task CreateOrUpdateAsync(RequestContent requestBo /// /// Schema for Notification: /// - /// + /// /// Name /// Type /// Required /// Description - /// + /// /// /// message /// string @@ -900,12 +900,12 @@ public virtual async Task CreateOrUpdateAsync(RequestContent requestBo /// /// Schema for ErrorModel: /// - /// + /// /// Name /// Type /// Required /// Description - /// + /// /// /// code /// string @@ -932,24 +932,24 @@ public virtual async Task CreateOrUpdateAsync(RequestContent requestBo /// /// /// - /// The request body. - /// The request options. + /// The content to send as the body of the request. + /// The request options. #pragma warning disable AZC0002 - public virtual Response CreateOrUpdate(RequestContent requestBody, RequestOptions requestOptions = null) + public virtual Response CreateOrUpdate(RequestContent content, RequestOptions options = null) #pragma warning restore AZC0002 { - requestOptions ??= new RequestOptions(); - HttpMessage message = CreateCreateOrUpdateRequest(requestBody, requestOptions); - if (requestOptions.PerCallPolicy != null) + options ??= new RequestOptions(); + HttpMessage message = CreateCreateOrUpdateRequest(content, options); + if (options.PerCallPolicy != null) { - message.SetProperty("RequestOptionsPerCallPolicyCallback", requestOptions.PerCallPolicy); + message.SetProperty("RequestOptionsPerCallPolicyCallback", options.PerCallPolicy); } using var scope = _clientDiagnostics.CreateScope("PurviewScanClient.CreateOrUpdate"); scope.Start(); try { - Pipeline.Send(message, requestOptions.CancellationToken); - if (requestOptions.StatusOption == ResponseStatusOption.Default) + Pipeline.Send(message, options.CancellationToken); + if (options.StatusOption == ResponseStatusOption.Default) { switch (message.Response.Status) { @@ -973,9 +973,9 @@ public virtual Response CreateOrUpdate(RequestContent requestBody, RequestOption } /// Create Request for and operations. - /// The request body. - /// The request options. - private HttpMessage CreateCreateOrUpdateRequest(RequestContent requestBody, RequestOptions requestOptions = null) + /// The content to send as the body of the request. + /// The request options. + private HttpMessage CreateCreateOrUpdateRequest(RequestContent content, RequestOptions options = null) { var message = Pipeline.CreateMessage(); var request = message.Request; @@ -990,28 +990,28 @@ private HttpMessage CreateCreateOrUpdateRequest(RequestContent requestBody, Requ request.Uri = uri; request.Headers.Add("Accept", "application/json"); request.Headers.Add("Content-Type", "application/json"); - request.Content = requestBody; + request.Content = content; return message; } /// Gets a scan information. - /// The request options. + /// The request options. #pragma warning disable AZC0002 - public virtual async Task GetPropertiesAsync(RequestOptions requestOptions = null) + public virtual async Task GetPropertiesAsync(RequestOptions options = null) #pragma warning restore AZC0002 { - requestOptions ??= new RequestOptions(); - HttpMessage message = CreateGetPropertiesRequest(requestOptions); - if (requestOptions.PerCallPolicy != null) + options ??= new RequestOptions(); + HttpMessage message = CreateGetPropertiesRequest(options); + if (options.PerCallPolicy != null) { - message.SetProperty("RequestOptionsPerCallPolicyCallback", requestOptions.PerCallPolicy); + message.SetProperty("RequestOptionsPerCallPolicyCallback", options.PerCallPolicy); } using var scope = _clientDiagnostics.CreateScope("PurviewScanClient.GetProperties"); scope.Start(); try { - await Pipeline.SendAsync(message, requestOptions.CancellationToken).ConfigureAwait(false); - if (requestOptions.StatusOption == ResponseStatusOption.Default) + await Pipeline.SendAsync(message, options.CancellationToken).ConfigureAwait(false); + if (options.StatusOption == ResponseStatusOption.Default) { switch (message.Response.Status) { @@ -1034,23 +1034,23 @@ public virtual async Task GetPropertiesAsync(RequestOptions requestOpt } /// Gets a scan information. - /// The request options. + /// The request options. #pragma warning disable AZC0002 - public virtual Response GetProperties(RequestOptions requestOptions = null) + public virtual Response GetProperties(RequestOptions options = null) #pragma warning restore AZC0002 { - requestOptions ??= new RequestOptions(); - HttpMessage message = CreateGetPropertiesRequest(requestOptions); - if (requestOptions.PerCallPolicy != null) + options ??= new RequestOptions(); + HttpMessage message = CreateGetPropertiesRequest(options); + if (options.PerCallPolicy != null) { - message.SetProperty("RequestOptionsPerCallPolicyCallback", requestOptions.PerCallPolicy); + message.SetProperty("RequestOptionsPerCallPolicyCallback", options.PerCallPolicy); } using var scope = _clientDiagnostics.CreateScope("PurviewScanClient.GetProperties"); scope.Start(); try { - Pipeline.Send(message, requestOptions.CancellationToken); - if (requestOptions.StatusOption == ResponseStatusOption.Default) + Pipeline.Send(message, options.CancellationToken); + if (options.StatusOption == ResponseStatusOption.Default) { switch (message.Response.Status) { @@ -1073,8 +1073,8 @@ public virtual Response GetProperties(RequestOptions requestOptions = null) } /// Create Request for and operations. - /// The request options. - private HttpMessage CreateGetPropertiesRequest(RequestOptions requestOptions = null) + /// The request options. + private HttpMessage CreateGetPropertiesRequest(RequestOptions options = null) { var message = Pipeline.CreateMessage(); var request = message.Request; @@ -1092,23 +1092,23 @@ private HttpMessage CreateGetPropertiesRequest(RequestOptions requestOptions = n } /// Deletes the scan associated with the data source. - /// The request options. + /// The request options. #pragma warning disable AZC0002 - public virtual async Task DeleteAsync(RequestOptions requestOptions = null) + public virtual async Task DeleteAsync(RequestOptions options = null) #pragma warning restore AZC0002 { - requestOptions ??= new RequestOptions(); - HttpMessage message = CreateDeleteRequest(requestOptions); - if (requestOptions.PerCallPolicy != null) + options ??= new RequestOptions(); + HttpMessage message = CreateDeleteRequest(options); + if (options.PerCallPolicy != null) { - message.SetProperty("RequestOptionsPerCallPolicyCallback", requestOptions.PerCallPolicy); + message.SetProperty("RequestOptionsPerCallPolicyCallback", options.PerCallPolicy); } using var scope = _clientDiagnostics.CreateScope("PurviewScanClient.Delete"); scope.Start(); try { - await Pipeline.SendAsync(message, requestOptions.CancellationToken).ConfigureAwait(false); - if (requestOptions.StatusOption == ResponseStatusOption.Default) + await Pipeline.SendAsync(message, options.CancellationToken).ConfigureAwait(false); + if (options.StatusOption == ResponseStatusOption.Default) { switch (message.Response.Status) { @@ -1132,23 +1132,23 @@ public virtual async Task DeleteAsync(RequestOptions requestOptions = } /// Deletes the scan associated with the data source. - /// The request options. + /// The request options. #pragma warning disable AZC0002 - public virtual Response Delete(RequestOptions requestOptions = null) + public virtual Response Delete(RequestOptions options = null) #pragma warning restore AZC0002 { - requestOptions ??= new RequestOptions(); - HttpMessage message = CreateDeleteRequest(requestOptions); - if (requestOptions.PerCallPolicy != null) + options ??= new RequestOptions(); + HttpMessage message = CreateDeleteRequest(options); + if (options.PerCallPolicy != null) { - message.SetProperty("RequestOptionsPerCallPolicyCallback", requestOptions.PerCallPolicy); + message.SetProperty("RequestOptionsPerCallPolicyCallback", options.PerCallPolicy); } using var scope = _clientDiagnostics.CreateScope("PurviewScanClient.Delete"); scope.Start(); try { - Pipeline.Send(message, requestOptions.CancellationToken); - if (requestOptions.StatusOption == ResponseStatusOption.Default) + Pipeline.Send(message, options.CancellationToken); + if (options.StatusOption == ResponseStatusOption.Default) { switch (message.Response.Status) { @@ -1172,8 +1172,8 @@ public virtual Response Delete(RequestOptions requestOptions = null) } /// Create Request for and operations. - /// The request options. - private HttpMessage CreateDeleteRequest(RequestOptions requestOptions = null) + /// The request options. + private HttpMessage CreateDeleteRequest(RequestOptions options = null) { var message = Pipeline.CreateMessage(); var request = message.Request; @@ -1193,23 +1193,23 @@ private HttpMessage CreateDeleteRequest(RequestOptions requestOptions = null) /// Runs the scan. /// The String to use. /// The ScanLevelType to use. - /// The request options. + /// The request options. #pragma warning disable AZC0002 - public virtual async Task RunScanAsync(string runId, string scanLevel = null, RequestOptions requestOptions = null) + public virtual async Task RunScanAsync(string runId, string scanLevel = null, RequestOptions options = null) #pragma warning restore AZC0002 { - requestOptions ??= new RequestOptions(); - HttpMessage message = CreateRunScanRequest(runId, scanLevel, requestOptions); - if (requestOptions.PerCallPolicy != null) + options ??= new RequestOptions(); + HttpMessage message = CreateRunScanRequest(runId, scanLevel, options); + if (options.PerCallPolicy != null) { - message.SetProperty("RequestOptionsPerCallPolicyCallback", requestOptions.PerCallPolicy); + message.SetProperty("RequestOptionsPerCallPolicyCallback", options.PerCallPolicy); } using var scope = _clientDiagnostics.CreateScope("PurviewScanClient.RunScan"); scope.Start(); try { - await Pipeline.SendAsync(message, requestOptions.CancellationToken).ConfigureAwait(false); - if (requestOptions.StatusOption == ResponseStatusOption.Default) + await Pipeline.SendAsync(message, options.CancellationToken).ConfigureAwait(false); + if (options.StatusOption == ResponseStatusOption.Default) { switch (message.Response.Status) { @@ -1234,23 +1234,23 @@ public virtual async Task RunScanAsync(string runId, string scanLevel /// Runs the scan. /// The String to use. /// The ScanLevelType to use. - /// The request options. + /// The request options. #pragma warning disable AZC0002 - public virtual Response RunScan(string runId, string scanLevel = null, RequestOptions requestOptions = null) + public virtual Response RunScan(string runId, string scanLevel = null, RequestOptions options = null) #pragma warning restore AZC0002 { - requestOptions ??= new RequestOptions(); - HttpMessage message = CreateRunScanRequest(runId, scanLevel, requestOptions); - if (requestOptions.PerCallPolicy != null) + options ??= new RequestOptions(); + HttpMessage message = CreateRunScanRequest(runId, scanLevel, options); + if (options.PerCallPolicy != null) { - message.SetProperty("RequestOptionsPerCallPolicyCallback", requestOptions.PerCallPolicy); + message.SetProperty("RequestOptionsPerCallPolicyCallback", options.PerCallPolicy); } using var scope = _clientDiagnostics.CreateScope("PurviewScanClient.RunScan"); scope.Start(); try { - Pipeline.Send(message, requestOptions.CancellationToken); - if (requestOptions.StatusOption == ResponseStatusOption.Default) + Pipeline.Send(message, options.CancellationToken); + if (options.StatusOption == ResponseStatusOption.Default) { switch (message.Response.Status) { @@ -1275,8 +1275,8 @@ public virtual Response RunScan(string runId, string scanLevel = null, RequestOp /// Create Request for and operations. /// The String to use. /// The ScanLevelType to use. - /// The request options. - private HttpMessage CreateRunScanRequest(string runId, string scanLevel = null, RequestOptions requestOptions = null) + /// The request options. + private HttpMessage CreateRunScanRequest(string runId, string scanLevel = null, RequestOptions options = null) { var message = Pipeline.CreateMessage(); var request = message.Request; @@ -1301,23 +1301,23 @@ private HttpMessage CreateRunScanRequest(string runId, string scanLevel = null, /// Cancels a scan. /// The String to use. - /// The request options. + /// The request options. #pragma warning disable AZC0002 - public virtual async Task CancelScanAsync(string runId, RequestOptions requestOptions = null) + public virtual async Task CancelScanAsync(string runId, RequestOptions options = null) #pragma warning restore AZC0002 { - requestOptions ??= new RequestOptions(); - HttpMessage message = CreateCancelScanRequest(runId, requestOptions); - if (requestOptions.PerCallPolicy != null) + options ??= new RequestOptions(); + HttpMessage message = CreateCancelScanRequest(runId, options); + if (options.PerCallPolicy != null) { - message.SetProperty("RequestOptionsPerCallPolicyCallback", requestOptions.PerCallPolicy); + message.SetProperty("RequestOptionsPerCallPolicyCallback", options.PerCallPolicy); } using var scope = _clientDiagnostics.CreateScope("PurviewScanClient.CancelScan"); scope.Start(); try { - await Pipeline.SendAsync(message, requestOptions.CancellationToken).ConfigureAwait(false); - if (requestOptions.StatusOption == ResponseStatusOption.Default) + await Pipeline.SendAsync(message, options.CancellationToken).ConfigureAwait(false); + if (options.StatusOption == ResponseStatusOption.Default) { switch (message.Response.Status) { @@ -1341,23 +1341,23 @@ public virtual async Task CancelScanAsync(string runId, RequestOptions /// Cancels a scan. /// The String to use. - /// The request options. + /// The request options. #pragma warning disable AZC0002 - public virtual Response CancelScan(string runId, RequestOptions requestOptions = null) + public virtual Response CancelScan(string runId, RequestOptions options = null) #pragma warning restore AZC0002 { - requestOptions ??= new RequestOptions(); - HttpMessage message = CreateCancelScanRequest(runId, requestOptions); - if (requestOptions.PerCallPolicy != null) + options ??= new RequestOptions(); + HttpMessage message = CreateCancelScanRequest(runId, options); + if (options.PerCallPolicy != null) { - message.SetProperty("RequestOptionsPerCallPolicyCallback", requestOptions.PerCallPolicy); + message.SetProperty("RequestOptionsPerCallPolicyCallback", options.PerCallPolicy); } using var scope = _clientDiagnostics.CreateScope("PurviewScanClient.CancelScan"); scope.Start(); try { - Pipeline.Send(message, requestOptions.CancellationToken); - if (requestOptions.StatusOption == ResponseStatusOption.Default) + Pipeline.Send(message, options.CancellationToken); + if (options.StatusOption == ResponseStatusOption.Default) { switch (message.Response.Status) { @@ -1381,8 +1381,8 @@ public virtual Response CancelScan(string runId, RequestOptions requestOptions = /// Create Request for and operations. /// The String to use. - /// The request options. - private HttpMessage CreateCancelScanRequest(string runId, RequestOptions requestOptions = null) + /// The request options. + private HttpMessage CreateCancelScanRequest(string runId, RequestOptions options = null) { var message = Pipeline.CreateMessage(); var request = message.Request; @@ -1403,23 +1403,23 @@ private HttpMessage CreateCancelScanRequest(string runId, RequestOptions request } /// Lists the scan history of a scan. - /// The request options. + /// The request options. #pragma warning disable AZC0002 - public virtual async Task GetRunsAsync(RequestOptions requestOptions = null) + public virtual async Task GetRunsAsync(RequestOptions options = null) #pragma warning restore AZC0002 { - requestOptions ??= new RequestOptions(); - HttpMessage message = CreateGetRunsRequest(requestOptions); - if (requestOptions.PerCallPolicy != null) + options ??= new RequestOptions(); + HttpMessage message = CreateGetRunsRequest(options); + if (options.PerCallPolicy != null) { - message.SetProperty("RequestOptionsPerCallPolicyCallback", requestOptions.PerCallPolicy); + message.SetProperty("RequestOptionsPerCallPolicyCallback", options.PerCallPolicy); } using var scope = _clientDiagnostics.CreateScope("PurviewScanClient.GetRuns"); scope.Start(); try { - await Pipeline.SendAsync(message, requestOptions.CancellationToken).ConfigureAwait(false); - if (requestOptions.StatusOption == ResponseStatusOption.Default) + await Pipeline.SendAsync(message, options.CancellationToken).ConfigureAwait(false); + if (options.StatusOption == ResponseStatusOption.Default) { switch (message.Response.Status) { @@ -1442,23 +1442,23 @@ public virtual async Task GetRunsAsync(RequestOptions requestOptions = } /// Lists the scan history of a scan. - /// The request options. + /// The request options. #pragma warning disable AZC0002 - public virtual Response GetRuns(RequestOptions requestOptions = null) + public virtual Response GetRuns(RequestOptions options = null) #pragma warning restore AZC0002 { - requestOptions ??= new RequestOptions(); - HttpMessage message = CreateGetRunsRequest(requestOptions); - if (requestOptions.PerCallPolicy != null) + options ??= new RequestOptions(); + HttpMessage message = CreateGetRunsRequest(options); + if (options.PerCallPolicy != null) { - message.SetProperty("RequestOptionsPerCallPolicyCallback", requestOptions.PerCallPolicy); + message.SetProperty("RequestOptionsPerCallPolicyCallback", options.PerCallPolicy); } using var scope = _clientDiagnostics.CreateScope("PurviewScanClient.GetRuns"); scope.Start(); try { - Pipeline.Send(message, requestOptions.CancellationToken); - if (requestOptions.StatusOption == ResponseStatusOption.Default) + Pipeline.Send(message, options.CancellationToken); + if (options.StatusOption == ResponseStatusOption.Default) { switch (message.Response.Status) { @@ -1481,8 +1481,8 @@ public virtual Response GetRuns(RequestOptions requestOptions = null) } /// Create Request for and operations. - /// The request options. - private HttpMessage CreateGetRunsRequest(RequestOptions requestOptions = null) + /// The request options. + private HttpMessage CreateGetRunsRequest(RequestOptions options = null) { var message = Pipeline.CreateMessage(); var request = message.Request; @@ -1501,23 +1501,23 @@ private HttpMessage CreateGetRunsRequest(RequestOptions requestOptions = null) } /// Gets trigger information. - /// The request options. + /// The request options. #pragma warning disable AZC0002 - public virtual async Task GetTriggerAsync(RequestOptions requestOptions = null) + public virtual async Task GetTriggerAsync(RequestOptions options = null) #pragma warning restore AZC0002 { - requestOptions ??= new RequestOptions(); - HttpMessage message = CreateGetTriggerRequest(requestOptions); - if (requestOptions.PerCallPolicy != null) + options ??= new RequestOptions(); + HttpMessage message = CreateGetTriggerRequest(options); + if (options.PerCallPolicy != null) { - message.SetProperty("RequestOptionsPerCallPolicyCallback", requestOptions.PerCallPolicy); + message.SetProperty("RequestOptionsPerCallPolicyCallback", options.PerCallPolicy); } using var scope = _clientDiagnostics.CreateScope("PurviewScanClient.GetTrigger"); scope.Start(); try { - await Pipeline.SendAsync(message, requestOptions.CancellationToken).ConfigureAwait(false); - if (requestOptions.StatusOption == ResponseStatusOption.Default) + await Pipeline.SendAsync(message, options.CancellationToken).ConfigureAwait(false); + if (options.StatusOption == ResponseStatusOption.Default) { switch (message.Response.Status) { @@ -1540,23 +1540,23 @@ public virtual async Task GetTriggerAsync(RequestOptions requestOption } /// Gets trigger information. - /// The request options. + /// The request options. #pragma warning disable AZC0002 - public virtual Response GetTrigger(RequestOptions requestOptions = null) + public virtual Response GetTrigger(RequestOptions options = null) #pragma warning restore AZC0002 { - requestOptions ??= new RequestOptions(); - HttpMessage message = CreateGetTriggerRequest(requestOptions); - if (requestOptions.PerCallPolicy != null) + options ??= new RequestOptions(); + HttpMessage message = CreateGetTriggerRequest(options); + if (options.PerCallPolicy != null) { - message.SetProperty("RequestOptionsPerCallPolicyCallback", requestOptions.PerCallPolicy); + message.SetProperty("RequestOptionsPerCallPolicyCallback", options.PerCallPolicy); } using var scope = _clientDiagnostics.CreateScope("PurviewScanClient.GetTrigger"); scope.Start(); try { - Pipeline.Send(message, requestOptions.CancellationToken); - if (requestOptions.StatusOption == ResponseStatusOption.Default) + Pipeline.Send(message, options.CancellationToken); + if (options.StatusOption == ResponseStatusOption.Default) { switch (message.Response.Status) { @@ -1579,8 +1579,8 @@ public virtual Response GetTrigger(RequestOptions requestOptions = null) } /// Create Request for and operations. - /// The request options. - private HttpMessage CreateGetTriggerRequest(RequestOptions requestOptions = null) + /// The request options. + private HttpMessage CreateGetTriggerRequest(RequestOptions options = null) { var message = Pipeline.CreateMessage(); var request = message.Request; @@ -1602,12 +1602,12 @@ private HttpMessage CreateGetTriggerRequest(RequestOptions requestOptions = null /// /// Schema for Request Body: /// - /// + /// /// Name /// Type /// Required /// Description - /// + /// /// /// id /// string @@ -1629,12 +1629,12 @@ private HttpMessage CreateGetTriggerRequest(RequestOptions requestOptions = null /// /// Schema for TriggerPropertiesAutoGenerated: /// - /// + /// /// Name /// Type /// Required /// Description - /// + /// /// /// recurrence /// TriggerPropertiesRecurrence @@ -1680,12 +1680,12 @@ private HttpMessage CreateGetTriggerRequest(RequestOptions requestOptions = null /// /// Schema for TriggerPropertiesRecurrence: /// - /// + /// /// Name /// Type /// Required /// Description - /// + /// /// /// frequency /// "Week" | "Month" @@ -1725,12 +1725,12 @@ private HttpMessage CreateGetTriggerRequest(RequestOptions requestOptions = null /// /// Schema for TriggerRecurrenceSchedule: /// - /// + /// /// Name /// Type /// Required /// Description - /// + /// /// /// additionalProperties /// Dictionary<string, AnyObject> @@ -1770,12 +1770,12 @@ private HttpMessage CreateGetTriggerRequest(RequestOptions requestOptions = null /// /// Schema for RecurrenceScheduleOccurrence: /// - /// + /// /// Name /// Type /// Required /// Description - /// + /// /// /// additionalProperties /// Dictionary<string, AnyObject> @@ -1796,24 +1796,24 @@ private HttpMessage CreateGetTriggerRequest(RequestOptions requestOptions = null /// /// /// - /// The request body. - /// The request options. + /// The content to send as the body of the request. + /// The request options. #pragma warning disable AZC0002 - public virtual async Task CreateOrUpdateTriggerAsync(RequestContent requestBody, RequestOptions requestOptions = null) + public virtual async Task CreateOrUpdateTriggerAsync(RequestContent content, RequestOptions options = null) #pragma warning restore AZC0002 { - requestOptions ??= new RequestOptions(); - HttpMessage message = CreateCreateOrUpdateTriggerRequest(requestBody, requestOptions); - if (requestOptions.PerCallPolicy != null) + options ??= new RequestOptions(); + HttpMessage message = CreateCreateOrUpdateTriggerRequest(content, options); + if (options.PerCallPolicy != null) { - message.SetProperty("RequestOptionsPerCallPolicyCallback", requestOptions.PerCallPolicy); + message.SetProperty("RequestOptionsPerCallPolicyCallback", options.PerCallPolicy); } using var scope = _clientDiagnostics.CreateScope("PurviewScanClient.CreateOrUpdateTrigger"); scope.Start(); try { - await Pipeline.SendAsync(message, requestOptions.CancellationToken).ConfigureAwait(false); - if (requestOptions.StatusOption == ResponseStatusOption.Default) + await Pipeline.SendAsync(message, options.CancellationToken).ConfigureAwait(false); + if (options.StatusOption == ResponseStatusOption.Default) { switch (message.Response.Status) { @@ -1840,12 +1840,12 @@ public virtual async Task CreateOrUpdateTriggerAsync(RequestContent re /// /// Schema for Request Body: /// - /// + /// /// Name /// Type /// Required /// Description - /// + /// /// /// id /// string @@ -1867,12 +1867,12 @@ public virtual async Task CreateOrUpdateTriggerAsync(RequestContent re /// /// Schema for TriggerPropertiesAutoGenerated: /// - /// + /// /// Name /// Type /// Required /// Description - /// + /// /// /// recurrence /// TriggerPropertiesRecurrence @@ -1918,12 +1918,12 @@ public virtual async Task CreateOrUpdateTriggerAsync(RequestContent re /// /// Schema for TriggerPropertiesRecurrence: /// - /// + /// /// Name /// Type /// Required /// Description - /// + /// /// /// frequency /// "Week" | "Month" @@ -1963,12 +1963,12 @@ public virtual async Task CreateOrUpdateTriggerAsync(RequestContent re /// /// Schema for TriggerRecurrenceSchedule: /// - /// + /// /// Name /// Type /// Required /// Description - /// + /// /// /// additionalProperties /// Dictionary<string, AnyObject> @@ -2008,12 +2008,12 @@ public virtual async Task CreateOrUpdateTriggerAsync(RequestContent re /// /// Schema for RecurrenceScheduleOccurrence: /// - /// + /// /// Name /// Type /// Required /// Description - /// + /// /// /// additionalProperties /// Dictionary<string, AnyObject> @@ -2034,24 +2034,24 @@ public virtual async Task CreateOrUpdateTriggerAsync(RequestContent re /// /// /// - /// The request body. - /// The request options. + /// The content to send as the body of the request. + /// The request options. #pragma warning disable AZC0002 - public virtual Response CreateOrUpdateTrigger(RequestContent requestBody, RequestOptions requestOptions = null) + public virtual Response CreateOrUpdateTrigger(RequestContent content, RequestOptions options = null) #pragma warning restore AZC0002 { - requestOptions ??= new RequestOptions(); - HttpMessage message = CreateCreateOrUpdateTriggerRequest(requestBody, requestOptions); - if (requestOptions.PerCallPolicy != null) + options ??= new RequestOptions(); + HttpMessage message = CreateCreateOrUpdateTriggerRequest(content, options); + if (options.PerCallPolicy != null) { - message.SetProperty("RequestOptionsPerCallPolicyCallback", requestOptions.PerCallPolicy); + message.SetProperty("RequestOptionsPerCallPolicyCallback", options.PerCallPolicy); } using var scope = _clientDiagnostics.CreateScope("PurviewScanClient.CreateOrUpdateTrigger"); scope.Start(); try { - Pipeline.Send(message, requestOptions.CancellationToken); - if (requestOptions.StatusOption == ResponseStatusOption.Default) + Pipeline.Send(message, options.CancellationToken); + if (options.StatusOption == ResponseStatusOption.Default) { switch (message.Response.Status) { @@ -2075,9 +2075,9 @@ public virtual Response CreateOrUpdateTrigger(RequestContent requestBody, Reques } /// Create Request for and operations. - /// The request body. - /// The request options. - private HttpMessage CreateCreateOrUpdateTriggerRequest(RequestContent requestBody, RequestOptions requestOptions = null) + /// The content to send as the body of the request. + /// The request options. + private HttpMessage CreateCreateOrUpdateTriggerRequest(RequestContent content, RequestOptions options = null) { var message = Pipeline.CreateMessage(); var request = message.Request; @@ -2093,28 +2093,28 @@ private HttpMessage CreateCreateOrUpdateTriggerRequest(RequestContent requestBod request.Uri = uri; request.Headers.Add("Accept", "application/json"); request.Headers.Add("Content-Type", "application/json"); - request.Content = requestBody; + request.Content = content; return message; } /// Deletes the trigger associated with the scan. - /// The request options. + /// The request options. #pragma warning disable AZC0002 - public virtual async Task DeleteTriggerAsync(RequestOptions requestOptions = null) + public virtual async Task DeleteTriggerAsync(RequestOptions options = null) #pragma warning restore AZC0002 { - requestOptions ??= new RequestOptions(); - HttpMessage message = CreateDeleteTriggerRequest(requestOptions); - if (requestOptions.PerCallPolicy != null) + options ??= new RequestOptions(); + HttpMessage message = CreateDeleteTriggerRequest(options); + if (options.PerCallPolicy != null) { - message.SetProperty("RequestOptionsPerCallPolicyCallback", requestOptions.PerCallPolicy); + message.SetProperty("RequestOptionsPerCallPolicyCallback", options.PerCallPolicy); } using var scope = _clientDiagnostics.CreateScope("PurviewScanClient.DeleteTrigger"); scope.Start(); try { - await Pipeline.SendAsync(message, requestOptions.CancellationToken).ConfigureAwait(false); - if (requestOptions.StatusOption == ResponseStatusOption.Default) + await Pipeline.SendAsync(message, options.CancellationToken).ConfigureAwait(false); + if (options.StatusOption == ResponseStatusOption.Default) { switch (message.Response.Status) { @@ -2138,23 +2138,23 @@ public virtual async Task DeleteTriggerAsync(RequestOptions requestOpt } /// Deletes the trigger associated with the scan. - /// The request options. + /// The request options. #pragma warning disable AZC0002 - public virtual Response DeleteTrigger(RequestOptions requestOptions = null) + public virtual Response DeleteTrigger(RequestOptions options = null) #pragma warning restore AZC0002 { - requestOptions ??= new RequestOptions(); - HttpMessage message = CreateDeleteTriggerRequest(requestOptions); - if (requestOptions.PerCallPolicy != null) + options ??= new RequestOptions(); + HttpMessage message = CreateDeleteTriggerRequest(options); + if (options.PerCallPolicy != null) { - message.SetProperty("RequestOptionsPerCallPolicyCallback", requestOptions.PerCallPolicy); + message.SetProperty("RequestOptionsPerCallPolicyCallback", options.PerCallPolicy); } using var scope = _clientDiagnostics.CreateScope("PurviewScanClient.DeleteTrigger"); scope.Start(); try { - Pipeline.Send(message, requestOptions.CancellationToken); - if (requestOptions.StatusOption == ResponseStatusOption.Default) + Pipeline.Send(message, options.CancellationToken); + if (options.StatusOption == ResponseStatusOption.Default) { switch (message.Response.Status) { @@ -2178,8 +2178,8 @@ public virtual Response DeleteTrigger(RequestOptions requestOptions = null) } /// Create Request for and operations. - /// The request options. - private HttpMessage CreateDeleteTriggerRequest(RequestOptions requestOptions = null) + /// The request options. + private HttpMessage CreateDeleteTriggerRequest(RequestOptions options = null) { var message = Pipeline.CreateMessage(); var request = message.Request; diff --git a/sdk/purview/Azure.Analytics.Purview.Scanning/src/Generated/PurviewScanningServiceClient.cs b/sdk/purview/Azure.Analytics.Purview.Scanning/src/Generated/PurviewScanningServiceClient.cs index 11392834801d..fce3b858e1fb 100644 --- a/sdk/purview/Azure.Analytics.Purview.Scanning/src/Generated/PurviewScanningServiceClient.cs +++ b/sdk/purview/Azure.Analytics.Purview.Scanning/src/Generated/PurviewScanningServiceClient.cs @@ -55,23 +55,23 @@ public PurviewScanningServiceClient(Uri endpoint, TokenCredential credential, Pu /// Gets azureKeyVault information. /// The String to use. - /// The request options. + /// The request options. #pragma warning disable AZC0002 - public virtual async Task GetKeyVaultReferenceAsync(string azureKeyVaultName, RequestOptions requestOptions = null) + public virtual async Task GetKeyVaultReferenceAsync(string azureKeyVaultName, RequestOptions options = null) #pragma warning restore AZC0002 { - requestOptions ??= new RequestOptions(); - HttpMessage message = CreateGetKeyVaultReferenceRequest(azureKeyVaultName, requestOptions); - if (requestOptions.PerCallPolicy != null) + options ??= new RequestOptions(); + HttpMessage message = CreateGetKeyVaultReferenceRequest(azureKeyVaultName, options); + if (options.PerCallPolicy != null) { - message.SetProperty("RequestOptionsPerCallPolicyCallback", requestOptions.PerCallPolicy); + message.SetProperty("RequestOptionsPerCallPolicyCallback", options.PerCallPolicy); } using var scope = _clientDiagnostics.CreateScope("PurviewScanningServiceClient.GetKeyVaultReference"); scope.Start(); try { - await Pipeline.SendAsync(message, requestOptions.CancellationToken).ConfigureAwait(false); - if (requestOptions.StatusOption == ResponseStatusOption.Default) + await Pipeline.SendAsync(message, options.CancellationToken).ConfigureAwait(false); + if (options.StatusOption == ResponseStatusOption.Default) { switch (message.Response.Status) { @@ -95,23 +95,23 @@ public virtual async Task GetKeyVaultReferenceAsync(string azureKeyVau /// Gets azureKeyVault information. /// The String to use. - /// The request options. + /// The request options. #pragma warning disable AZC0002 - public virtual Response GetKeyVaultReference(string azureKeyVaultName, RequestOptions requestOptions = null) + public virtual Response GetKeyVaultReference(string azureKeyVaultName, RequestOptions options = null) #pragma warning restore AZC0002 { - requestOptions ??= new RequestOptions(); - HttpMessage message = CreateGetKeyVaultReferenceRequest(azureKeyVaultName, requestOptions); - if (requestOptions.PerCallPolicy != null) + options ??= new RequestOptions(); + HttpMessage message = CreateGetKeyVaultReferenceRequest(azureKeyVaultName, options); + if (options.PerCallPolicy != null) { - message.SetProperty("RequestOptionsPerCallPolicyCallback", requestOptions.PerCallPolicy); + message.SetProperty("RequestOptionsPerCallPolicyCallback", options.PerCallPolicy); } using var scope = _clientDiagnostics.CreateScope("PurviewScanningServiceClient.GetKeyVaultReference"); scope.Start(); try { - Pipeline.Send(message, requestOptions.CancellationToken); - if (requestOptions.StatusOption == ResponseStatusOption.Default) + Pipeline.Send(message, options.CancellationToken); + if (options.StatusOption == ResponseStatusOption.Default) { switch (message.Response.Status) { @@ -135,8 +135,8 @@ public virtual Response GetKeyVaultReference(string azureKeyVaultName, RequestOp /// Create Request for and operations. /// The String to use. - /// The request options. - private HttpMessage CreateGetKeyVaultReferenceRequest(string azureKeyVaultName, RequestOptions requestOptions = null) + /// The request options. + private HttpMessage CreateGetKeyVaultReferenceRequest(string azureKeyVaultName, RequestOptions options = null) { var message = Pipeline.CreateMessage(); var request = message.Request; @@ -155,12 +155,12 @@ private HttpMessage CreateGetKeyVaultReferenceRequest(string azureKeyVaultName, /// /// Schema for Request Body: /// - /// + /// /// Name /// Type /// Required /// Description - /// + /// /// /// id /// string @@ -182,12 +182,12 @@ private HttpMessage CreateGetKeyVaultReferenceRequest(string azureKeyVaultName, /// /// Schema for AzureKeyVaultPropertiesAutoGenerated: /// - /// + /// /// Name /// Type /// Required /// Description - /// + /// /// /// baseUrl /// string @@ -203,24 +203,24 @@ private HttpMessage CreateGetKeyVaultReferenceRequest(string azureKeyVaultName, /// /// /// The String to use. - /// The request body. - /// The request options. + /// The content to send as the body of the request. + /// The request options. #pragma warning disable AZC0002 - public virtual async Task CreateOrUpdateKeyVaultReferenceAsync(string azureKeyVaultName, RequestContent requestBody, RequestOptions requestOptions = null) + public virtual async Task CreateOrUpdateKeyVaultReferenceAsync(string azureKeyVaultName, RequestContent content, RequestOptions options = null) #pragma warning restore AZC0002 { - requestOptions ??= new RequestOptions(); - HttpMessage message = CreateCreateOrUpdateKeyVaultReferenceRequest(azureKeyVaultName, requestBody, requestOptions); - if (requestOptions.PerCallPolicy != null) + options ??= new RequestOptions(); + HttpMessage message = CreateCreateOrUpdateKeyVaultReferenceRequest(azureKeyVaultName, content, options); + if (options.PerCallPolicy != null) { - message.SetProperty("RequestOptionsPerCallPolicyCallback", requestOptions.PerCallPolicy); + message.SetProperty("RequestOptionsPerCallPolicyCallback", options.PerCallPolicy); } using var scope = _clientDiagnostics.CreateScope("PurviewScanningServiceClient.CreateOrUpdateKeyVaultReference"); scope.Start(); try { - await Pipeline.SendAsync(message, requestOptions.CancellationToken).ConfigureAwait(false); - if (requestOptions.StatusOption == ResponseStatusOption.Default) + await Pipeline.SendAsync(message, options.CancellationToken).ConfigureAwait(false); + if (options.StatusOption == ResponseStatusOption.Default) { switch (message.Response.Status) { @@ -246,12 +246,12 @@ public virtual async Task CreateOrUpdateKeyVaultReferenceAsync(string /// /// Schema for Request Body: /// - /// + /// /// Name /// Type /// Required /// Description - /// + /// /// /// id /// string @@ -273,12 +273,12 @@ public virtual async Task CreateOrUpdateKeyVaultReferenceAsync(string /// /// Schema for AzureKeyVaultPropertiesAutoGenerated: /// - /// + /// /// Name /// Type /// Required /// Description - /// + /// /// /// baseUrl /// string @@ -294,24 +294,24 @@ public virtual async Task CreateOrUpdateKeyVaultReferenceAsync(string /// /// /// The String to use. - /// The request body. - /// The request options. + /// The content to send as the body of the request. + /// The request options. #pragma warning disable AZC0002 - public virtual Response CreateOrUpdateKeyVaultReference(string azureKeyVaultName, RequestContent requestBody, RequestOptions requestOptions = null) + public virtual Response CreateOrUpdateKeyVaultReference(string azureKeyVaultName, RequestContent content, RequestOptions options = null) #pragma warning restore AZC0002 { - requestOptions ??= new RequestOptions(); - HttpMessage message = CreateCreateOrUpdateKeyVaultReferenceRequest(azureKeyVaultName, requestBody, requestOptions); - if (requestOptions.PerCallPolicy != null) + options ??= new RequestOptions(); + HttpMessage message = CreateCreateOrUpdateKeyVaultReferenceRequest(azureKeyVaultName, content, options); + if (options.PerCallPolicy != null) { - message.SetProperty("RequestOptionsPerCallPolicyCallback", requestOptions.PerCallPolicy); + message.SetProperty("RequestOptionsPerCallPolicyCallback", options.PerCallPolicy); } using var scope = _clientDiagnostics.CreateScope("PurviewScanningServiceClient.CreateOrUpdateKeyVaultReference"); scope.Start(); try { - Pipeline.Send(message, requestOptions.CancellationToken); - if (requestOptions.StatusOption == ResponseStatusOption.Default) + Pipeline.Send(message, options.CancellationToken); + if (options.StatusOption == ResponseStatusOption.Default) { switch (message.Response.Status) { @@ -335,9 +335,9 @@ public virtual Response CreateOrUpdateKeyVaultReference(string azureKeyVaultName /// Create Request for and operations. /// The String to use. - /// The request body. - /// The request options. - private HttpMessage CreateCreateOrUpdateKeyVaultReferenceRequest(string azureKeyVaultName, RequestContent requestBody, RequestOptions requestOptions = null) + /// The content to send as the body of the request. + /// The request options. + private HttpMessage CreateCreateOrUpdateKeyVaultReferenceRequest(string azureKeyVaultName, RequestContent content, RequestOptions options = null) { var message = Pipeline.CreateMessage(); var request = message.Request; @@ -350,29 +350,29 @@ private HttpMessage CreateCreateOrUpdateKeyVaultReferenceRequest(string azureKey request.Uri = uri; request.Headers.Add("Accept", "application/json"); request.Headers.Add("Content-Type", "application/json"); - request.Content = requestBody; + request.Content = content; return message; } /// Deletes the azureKeyVault associated with the account. /// The String to use. - /// The request options. + /// The request options. #pragma warning disable AZC0002 - public virtual async Task DeleteKeyVaultReferenceAsync(string azureKeyVaultName, RequestOptions requestOptions = null) + public virtual async Task DeleteKeyVaultReferenceAsync(string azureKeyVaultName, RequestOptions options = null) #pragma warning restore AZC0002 { - requestOptions ??= new RequestOptions(); - HttpMessage message = CreateDeleteKeyVaultReferenceRequest(azureKeyVaultName, requestOptions); - if (requestOptions.PerCallPolicy != null) + options ??= new RequestOptions(); + HttpMessage message = CreateDeleteKeyVaultReferenceRequest(azureKeyVaultName, options); + if (options.PerCallPolicy != null) { - message.SetProperty("RequestOptionsPerCallPolicyCallback", requestOptions.PerCallPolicy); + message.SetProperty("RequestOptionsPerCallPolicyCallback", options.PerCallPolicy); } using var scope = _clientDiagnostics.CreateScope("PurviewScanningServiceClient.DeleteKeyVaultReference"); scope.Start(); try { - await Pipeline.SendAsync(message, requestOptions.CancellationToken).ConfigureAwait(false); - if (requestOptions.StatusOption == ResponseStatusOption.Default) + await Pipeline.SendAsync(message, options.CancellationToken).ConfigureAwait(false); + if (options.StatusOption == ResponseStatusOption.Default) { switch (message.Response.Status) { @@ -397,23 +397,23 @@ public virtual async Task DeleteKeyVaultReferenceAsync(string azureKey /// Deletes the azureKeyVault associated with the account. /// The String to use. - /// The request options. + /// The request options. #pragma warning disable AZC0002 - public virtual Response DeleteKeyVaultReference(string azureKeyVaultName, RequestOptions requestOptions = null) + public virtual Response DeleteKeyVaultReference(string azureKeyVaultName, RequestOptions options = null) #pragma warning restore AZC0002 { - requestOptions ??= new RequestOptions(); - HttpMessage message = CreateDeleteKeyVaultReferenceRequest(azureKeyVaultName, requestOptions); - if (requestOptions.PerCallPolicy != null) + options ??= new RequestOptions(); + HttpMessage message = CreateDeleteKeyVaultReferenceRequest(azureKeyVaultName, options); + if (options.PerCallPolicy != null) { - message.SetProperty("RequestOptionsPerCallPolicyCallback", requestOptions.PerCallPolicy); + message.SetProperty("RequestOptionsPerCallPolicyCallback", options.PerCallPolicy); } using var scope = _clientDiagnostics.CreateScope("PurviewScanningServiceClient.DeleteKeyVaultReference"); scope.Start(); try { - Pipeline.Send(message, requestOptions.CancellationToken); - if (requestOptions.StatusOption == ResponseStatusOption.Default) + Pipeline.Send(message, options.CancellationToken); + if (options.StatusOption == ResponseStatusOption.Default) { switch (message.Response.Status) { @@ -438,8 +438,8 @@ public virtual Response DeleteKeyVaultReference(string azureKeyVaultName, Reques /// Create Request for and operations. /// The String to use. - /// The request options. - private HttpMessage CreateDeleteKeyVaultReferenceRequest(string azureKeyVaultName, RequestOptions requestOptions = null) + /// The request options. + private HttpMessage CreateDeleteKeyVaultReferenceRequest(string azureKeyVaultName, RequestOptions options = null) { var message = Pipeline.CreateMessage(); var request = message.Request; @@ -455,23 +455,23 @@ private HttpMessage CreateDeleteKeyVaultReferenceRequest(string azureKeyVaultNam } /// List azureKeyVaults in account. - /// The request options. + /// The request options. #pragma warning disable AZC0002 - public virtual async Task GetKeyVaultReferencesAsync(RequestOptions requestOptions = null) + public virtual async Task GetKeyVaultReferencesAsync(RequestOptions options = null) #pragma warning restore AZC0002 { - requestOptions ??= new RequestOptions(); - HttpMessage message = CreateGetKeyVaultReferencesRequest(requestOptions); - if (requestOptions.PerCallPolicy != null) + options ??= new RequestOptions(); + HttpMessage message = CreateGetKeyVaultReferencesRequest(options); + if (options.PerCallPolicy != null) { - message.SetProperty("RequestOptionsPerCallPolicyCallback", requestOptions.PerCallPolicy); + message.SetProperty("RequestOptionsPerCallPolicyCallback", options.PerCallPolicy); } using var scope = _clientDiagnostics.CreateScope("PurviewScanningServiceClient.GetKeyVaultReferences"); scope.Start(); try { - await Pipeline.SendAsync(message, requestOptions.CancellationToken).ConfigureAwait(false); - if (requestOptions.StatusOption == ResponseStatusOption.Default) + await Pipeline.SendAsync(message, options.CancellationToken).ConfigureAwait(false); + if (options.StatusOption == ResponseStatusOption.Default) { switch (message.Response.Status) { @@ -494,23 +494,23 @@ public virtual async Task GetKeyVaultReferencesAsync(RequestOptions re } /// List azureKeyVaults in account. - /// The request options. + /// The request options. #pragma warning disable AZC0002 - public virtual Response GetKeyVaultReferences(RequestOptions requestOptions = null) + public virtual Response GetKeyVaultReferences(RequestOptions options = null) #pragma warning restore AZC0002 { - requestOptions ??= new RequestOptions(); - HttpMessage message = CreateGetKeyVaultReferencesRequest(requestOptions); - if (requestOptions.PerCallPolicy != null) + options ??= new RequestOptions(); + HttpMessage message = CreateGetKeyVaultReferencesRequest(options); + if (options.PerCallPolicy != null) { - message.SetProperty("RequestOptionsPerCallPolicyCallback", requestOptions.PerCallPolicy); + message.SetProperty("RequestOptionsPerCallPolicyCallback", options.PerCallPolicy); } using var scope = _clientDiagnostics.CreateScope("PurviewScanningServiceClient.GetKeyVaultReferences"); scope.Start(); try { - Pipeline.Send(message, requestOptions.CancellationToken); - if (requestOptions.StatusOption == ResponseStatusOption.Default) + Pipeline.Send(message, options.CancellationToken); + if (options.StatusOption == ResponseStatusOption.Default) { switch (message.Response.Status) { @@ -533,8 +533,8 @@ public virtual Response GetKeyVaultReferences(RequestOptions requestOptions = nu } /// Create Request for and operations. - /// The request options. - private HttpMessage CreateGetKeyVaultReferencesRequest(RequestOptions requestOptions = null) + /// The request options. + private HttpMessage CreateGetKeyVaultReferencesRequest(RequestOptions options = null) { var message = Pipeline.CreateMessage(); var request = message.Request; @@ -549,23 +549,23 @@ private HttpMessage CreateGetKeyVaultReferencesRequest(RequestOptions requestOpt } /// List classification rules in Account. - /// The request options. + /// The request options. #pragma warning disable AZC0002 - public virtual async Task GetClassificationRulesAsync(RequestOptions requestOptions = null) + public virtual async Task GetClassificationRulesAsync(RequestOptions options = null) #pragma warning restore AZC0002 { - requestOptions ??= new RequestOptions(); - HttpMessage message = CreateGetClassificationRulesRequest(requestOptions); - if (requestOptions.PerCallPolicy != null) + options ??= new RequestOptions(); + HttpMessage message = CreateGetClassificationRulesRequest(options); + if (options.PerCallPolicy != null) { - message.SetProperty("RequestOptionsPerCallPolicyCallback", requestOptions.PerCallPolicy); + message.SetProperty("RequestOptionsPerCallPolicyCallback", options.PerCallPolicy); } using var scope = _clientDiagnostics.CreateScope("PurviewScanningServiceClient.GetClassificationRules"); scope.Start(); try { - await Pipeline.SendAsync(message, requestOptions.CancellationToken).ConfigureAwait(false); - if (requestOptions.StatusOption == ResponseStatusOption.Default) + await Pipeline.SendAsync(message, options.CancellationToken).ConfigureAwait(false); + if (options.StatusOption == ResponseStatusOption.Default) { switch (message.Response.Status) { @@ -588,23 +588,23 @@ public virtual async Task GetClassificationRulesAsync(RequestOptions r } /// List classification rules in Account. - /// The request options. + /// The request options. #pragma warning disable AZC0002 - public virtual Response GetClassificationRules(RequestOptions requestOptions = null) + public virtual Response GetClassificationRules(RequestOptions options = null) #pragma warning restore AZC0002 { - requestOptions ??= new RequestOptions(); - HttpMessage message = CreateGetClassificationRulesRequest(requestOptions); - if (requestOptions.PerCallPolicy != null) + options ??= new RequestOptions(); + HttpMessage message = CreateGetClassificationRulesRequest(options); + if (options.PerCallPolicy != null) { - message.SetProperty("RequestOptionsPerCallPolicyCallback", requestOptions.PerCallPolicy); + message.SetProperty("RequestOptionsPerCallPolicyCallback", options.PerCallPolicy); } using var scope = _clientDiagnostics.CreateScope("PurviewScanningServiceClient.GetClassificationRules"); scope.Start(); try { - Pipeline.Send(message, requestOptions.CancellationToken); - if (requestOptions.StatusOption == ResponseStatusOption.Default) + Pipeline.Send(message, options.CancellationToken); + if (options.StatusOption == ResponseStatusOption.Default) { switch (message.Response.Status) { @@ -627,8 +627,8 @@ public virtual Response GetClassificationRules(RequestOptions requestOptions = n } /// Create Request for and operations. - /// The request options. - private HttpMessage CreateGetClassificationRulesRequest(RequestOptions requestOptions = null) + /// The request options. + private HttpMessage CreateGetClassificationRulesRequest(RequestOptions options = null) { var message = Pipeline.CreateMessage(); var request = message.Request; @@ -643,23 +643,23 @@ private HttpMessage CreateGetClassificationRulesRequest(RequestOptions requestOp } /// List data sources in Data catalog. - /// The request options. + /// The request options. #pragma warning disable AZC0002 - public virtual async Task GetDataSourcesAsync(RequestOptions requestOptions = null) + public virtual async Task GetDataSourcesAsync(RequestOptions options = null) #pragma warning restore AZC0002 { - requestOptions ??= new RequestOptions(); - HttpMessage message = CreateGetDataSourcesRequest(requestOptions); - if (requestOptions.PerCallPolicy != null) + options ??= new RequestOptions(); + HttpMessage message = CreateGetDataSourcesRequest(options); + if (options.PerCallPolicy != null) { - message.SetProperty("RequestOptionsPerCallPolicyCallback", requestOptions.PerCallPolicy); + message.SetProperty("RequestOptionsPerCallPolicyCallback", options.PerCallPolicy); } using var scope = _clientDiagnostics.CreateScope("PurviewScanningServiceClient.GetDataSources"); scope.Start(); try { - await Pipeline.SendAsync(message, requestOptions.CancellationToken).ConfigureAwait(false); - if (requestOptions.StatusOption == ResponseStatusOption.Default) + await Pipeline.SendAsync(message, options.CancellationToken).ConfigureAwait(false); + if (options.StatusOption == ResponseStatusOption.Default) { switch (message.Response.Status) { @@ -682,23 +682,23 @@ public virtual async Task GetDataSourcesAsync(RequestOptions requestOp } /// List data sources in Data catalog. - /// The request options. + /// The request options. #pragma warning disable AZC0002 - public virtual Response GetDataSources(RequestOptions requestOptions = null) + public virtual Response GetDataSources(RequestOptions options = null) #pragma warning restore AZC0002 { - requestOptions ??= new RequestOptions(); - HttpMessage message = CreateGetDataSourcesRequest(requestOptions); - if (requestOptions.PerCallPolicy != null) + options ??= new RequestOptions(); + HttpMessage message = CreateGetDataSourcesRequest(options); + if (options.PerCallPolicy != null) { - message.SetProperty("RequestOptionsPerCallPolicyCallback", requestOptions.PerCallPolicy); + message.SetProperty("RequestOptionsPerCallPolicyCallback", options.PerCallPolicy); } using var scope = _clientDiagnostics.CreateScope("PurviewScanningServiceClient.GetDataSources"); scope.Start(); try { - Pipeline.Send(message, requestOptions.CancellationToken); - if (requestOptions.StatusOption == ResponseStatusOption.Default) + Pipeline.Send(message, options.CancellationToken); + if (options.StatusOption == ResponseStatusOption.Default) { switch (message.Response.Status) { @@ -721,8 +721,8 @@ public virtual Response GetDataSources(RequestOptions requestOptions = null) } /// Create Request for and operations. - /// The request options. - private HttpMessage CreateGetDataSourcesRequest(RequestOptions requestOptions = null) + /// The request options. + private HttpMessage CreateGetDataSourcesRequest(RequestOptions options = null) { var message = Pipeline.CreateMessage(); var request = message.Request; @@ -737,23 +737,23 @@ private HttpMessage CreateGetDataSourcesRequest(RequestOptions requestOptions = } /// Lists the data sources in the account that do not belong to any collection. - /// The request options. + /// The request options. #pragma warning disable AZC0002 - public virtual async Task GetUnparentedDataSourcesAsync(RequestOptions requestOptions = null) + public virtual async Task GetUnparentedDataSourcesAsync(RequestOptions options = null) #pragma warning restore AZC0002 { - requestOptions ??= new RequestOptions(); - HttpMessage message = CreateGetUnparentedDataSourcesRequest(requestOptions); - if (requestOptions.PerCallPolicy != null) + options ??= new RequestOptions(); + HttpMessage message = CreateGetUnparentedDataSourcesRequest(options); + if (options.PerCallPolicy != null) { - message.SetProperty("RequestOptionsPerCallPolicyCallback", requestOptions.PerCallPolicy); + message.SetProperty("RequestOptionsPerCallPolicyCallback", options.PerCallPolicy); } using var scope = _clientDiagnostics.CreateScope("PurviewScanningServiceClient.GetUnparentedDataSources"); scope.Start(); try { - await Pipeline.SendAsync(message, requestOptions.CancellationToken).ConfigureAwait(false); - if (requestOptions.StatusOption == ResponseStatusOption.Default) + await Pipeline.SendAsync(message, options.CancellationToken).ConfigureAwait(false); + if (options.StatusOption == ResponseStatusOption.Default) { switch (message.Response.Status) { @@ -776,23 +776,23 @@ public virtual async Task GetUnparentedDataSourcesAsync(RequestOptions } /// Lists the data sources in the account that do not belong to any collection. - /// The request options. + /// The request options. #pragma warning disable AZC0002 - public virtual Response GetUnparentedDataSources(RequestOptions requestOptions = null) + public virtual Response GetUnparentedDataSources(RequestOptions options = null) #pragma warning restore AZC0002 { - requestOptions ??= new RequestOptions(); - HttpMessage message = CreateGetUnparentedDataSourcesRequest(requestOptions); - if (requestOptions.PerCallPolicy != null) + options ??= new RequestOptions(); + HttpMessage message = CreateGetUnparentedDataSourcesRequest(options); + if (options.PerCallPolicy != null) { - message.SetProperty("RequestOptionsPerCallPolicyCallback", requestOptions.PerCallPolicy); + message.SetProperty("RequestOptionsPerCallPolicyCallback", options.PerCallPolicy); } using var scope = _clientDiagnostics.CreateScope("PurviewScanningServiceClient.GetUnparentedDataSources"); scope.Start(); try { - Pipeline.Send(message, requestOptions.CancellationToken); - if (requestOptions.StatusOption == ResponseStatusOption.Default) + Pipeline.Send(message, options.CancellationToken); + if (options.StatusOption == ResponseStatusOption.Default) { switch (message.Response.Status) { @@ -815,8 +815,8 @@ public virtual Response GetUnparentedDataSources(RequestOptions requestOptions = } /// Create Request for and operations. - /// The request options. - private HttpMessage CreateGetUnparentedDataSourcesRequest(RequestOptions requestOptions = null) + /// The request options. + private HttpMessage CreateGetUnparentedDataSourcesRequest(RequestOptions options = null) { var message = Pipeline.CreateMessage(); var request = message.Request; @@ -832,23 +832,23 @@ private HttpMessage CreateGetUnparentedDataSourcesRequest(RequestOptions request /// Get a scan ruleset. /// The String to use. - /// The request options. + /// The request options. #pragma warning disable AZC0002 - public virtual async Task GetScanRulesetAsync(string scanRulesetName, RequestOptions requestOptions = null) + public virtual async Task GetScanRulesetAsync(string scanRulesetName, RequestOptions options = null) #pragma warning restore AZC0002 { - requestOptions ??= new RequestOptions(); - HttpMessage message = CreateGetScanRulesetRequest(scanRulesetName, requestOptions); - if (requestOptions.PerCallPolicy != null) + options ??= new RequestOptions(); + HttpMessage message = CreateGetScanRulesetRequest(scanRulesetName, options); + if (options.PerCallPolicy != null) { - message.SetProperty("RequestOptionsPerCallPolicyCallback", requestOptions.PerCallPolicy); + message.SetProperty("RequestOptionsPerCallPolicyCallback", options.PerCallPolicy); } using var scope = _clientDiagnostics.CreateScope("PurviewScanningServiceClient.GetScanRuleset"); scope.Start(); try { - await Pipeline.SendAsync(message, requestOptions.CancellationToken).ConfigureAwait(false); - if (requestOptions.StatusOption == ResponseStatusOption.Default) + await Pipeline.SendAsync(message, options.CancellationToken).ConfigureAwait(false); + if (options.StatusOption == ResponseStatusOption.Default) { switch (message.Response.Status) { @@ -872,23 +872,23 @@ public virtual async Task GetScanRulesetAsync(string scanRulesetName, /// Get a scan ruleset. /// The String to use. - /// The request options. + /// The request options. #pragma warning disable AZC0002 - public virtual Response GetScanRuleset(string scanRulesetName, RequestOptions requestOptions = null) + public virtual Response GetScanRuleset(string scanRulesetName, RequestOptions options = null) #pragma warning restore AZC0002 { - requestOptions ??= new RequestOptions(); - HttpMessage message = CreateGetScanRulesetRequest(scanRulesetName, requestOptions); - if (requestOptions.PerCallPolicy != null) + options ??= new RequestOptions(); + HttpMessage message = CreateGetScanRulesetRequest(scanRulesetName, options); + if (options.PerCallPolicy != null) { - message.SetProperty("RequestOptionsPerCallPolicyCallback", requestOptions.PerCallPolicy); + message.SetProperty("RequestOptionsPerCallPolicyCallback", options.PerCallPolicy); } using var scope = _clientDiagnostics.CreateScope("PurviewScanningServiceClient.GetScanRuleset"); scope.Start(); try { - Pipeline.Send(message, requestOptions.CancellationToken); - if (requestOptions.StatusOption == ResponseStatusOption.Default) + Pipeline.Send(message, options.CancellationToken); + if (options.StatusOption == ResponseStatusOption.Default) { switch (message.Response.Status) { @@ -912,8 +912,8 @@ public virtual Response GetScanRuleset(string scanRulesetName, RequestOptions re /// Create Request for and operations. /// The String to use. - /// The request options. - private HttpMessage CreateGetScanRulesetRequest(string scanRulesetName, RequestOptions requestOptions = null) + /// The request options. + private HttpMessage CreateGetScanRulesetRequest(string scanRulesetName, RequestOptions options = null) { var message = Pipeline.CreateMessage(); var request = message.Request; @@ -932,12 +932,12 @@ private HttpMessage CreateGetScanRulesetRequest(string scanRulesetName, RequestO /// /// Schema for Request Body: /// - /// + /// /// Name /// Type /// Required /// Description - /// + /// /// /// scanRulesetType /// "Custom" | "System" @@ -977,24 +977,24 @@ private HttpMessage CreateGetScanRulesetRequest(string scanRulesetName, RequestO /// /// /// The String to use. - /// The request body. - /// The request options. + /// The content to send as the body of the request. + /// The request options. #pragma warning disable AZC0002 - public virtual async Task CreateOrUpdateScanRuelsetAsync(string scanRulesetName, RequestContent requestBody, RequestOptions requestOptions = null) + public virtual async Task CreateOrUpdateScanRuelsetAsync(string scanRulesetName, RequestContent content, RequestOptions options = null) #pragma warning restore AZC0002 { - requestOptions ??= new RequestOptions(); - HttpMessage message = CreateCreateOrUpdateScanRuelsetRequest(scanRulesetName, requestBody, requestOptions); - if (requestOptions.PerCallPolicy != null) + options ??= new RequestOptions(); + HttpMessage message = CreateCreateOrUpdateScanRuelsetRequest(scanRulesetName, content, options); + if (options.PerCallPolicy != null) { - message.SetProperty("RequestOptionsPerCallPolicyCallback", requestOptions.PerCallPolicy); + message.SetProperty("RequestOptionsPerCallPolicyCallback", options.PerCallPolicy); } using var scope = _clientDiagnostics.CreateScope("PurviewScanningServiceClient.CreateOrUpdateScanRuelset"); scope.Start(); try { - await Pipeline.SendAsync(message, requestOptions.CancellationToken).ConfigureAwait(false); - if (requestOptions.StatusOption == ResponseStatusOption.Default) + await Pipeline.SendAsync(message, options.CancellationToken).ConfigureAwait(false); + if (options.StatusOption == ResponseStatusOption.Default) { switch (message.Response.Status) { @@ -1021,12 +1021,12 @@ public virtual async Task CreateOrUpdateScanRuelsetAsync(string scanRu /// /// Schema for Request Body: /// - /// + /// /// Name /// Type /// Required /// Description - /// + /// /// /// scanRulesetType /// "Custom" | "System" @@ -1066,24 +1066,24 @@ public virtual async Task CreateOrUpdateScanRuelsetAsync(string scanRu /// /// /// The String to use. - /// The request body. - /// The request options. + /// The content to send as the body of the request. + /// The request options. #pragma warning disable AZC0002 - public virtual Response CreateOrUpdateScanRuelset(string scanRulesetName, RequestContent requestBody, RequestOptions requestOptions = null) + public virtual Response CreateOrUpdateScanRuelset(string scanRulesetName, RequestContent content, RequestOptions options = null) #pragma warning restore AZC0002 { - requestOptions ??= new RequestOptions(); - HttpMessage message = CreateCreateOrUpdateScanRuelsetRequest(scanRulesetName, requestBody, requestOptions); - if (requestOptions.PerCallPolicy != null) + options ??= new RequestOptions(); + HttpMessage message = CreateCreateOrUpdateScanRuelsetRequest(scanRulesetName, content, options); + if (options.PerCallPolicy != null) { - message.SetProperty("RequestOptionsPerCallPolicyCallback", requestOptions.PerCallPolicy); + message.SetProperty("RequestOptionsPerCallPolicyCallback", options.PerCallPolicy); } using var scope = _clientDiagnostics.CreateScope("PurviewScanningServiceClient.CreateOrUpdateScanRuelset"); scope.Start(); try { - Pipeline.Send(message, requestOptions.CancellationToken); - if (requestOptions.StatusOption == ResponseStatusOption.Default) + Pipeline.Send(message, options.CancellationToken); + if (options.StatusOption == ResponseStatusOption.Default) { switch (message.Response.Status) { @@ -1108,9 +1108,9 @@ public virtual Response CreateOrUpdateScanRuelset(string scanRulesetName, Reques /// Create Request for and operations. /// The String to use. - /// The request body. - /// The request options. - private HttpMessage CreateCreateOrUpdateScanRuelsetRequest(string scanRulesetName, RequestContent requestBody, RequestOptions requestOptions = null) + /// The content to send as the body of the request. + /// The request options. + private HttpMessage CreateCreateOrUpdateScanRuelsetRequest(string scanRulesetName, RequestContent content, RequestOptions options = null) { var message = Pipeline.CreateMessage(); var request = message.Request; @@ -1123,29 +1123,29 @@ private HttpMessage CreateCreateOrUpdateScanRuelsetRequest(string scanRulesetNam request.Uri = uri; request.Headers.Add("Accept", "application/json"); request.Headers.Add("Content-Type", "application/json"); - request.Content = requestBody; + request.Content = content; return message; } /// Deletes a scan ruleset. /// The String to use. - /// The request options. + /// The request options. #pragma warning disable AZC0002 - public virtual async Task DeleteScanRulesetAsync(string scanRulesetName, RequestOptions requestOptions = null) + public virtual async Task DeleteScanRulesetAsync(string scanRulesetName, RequestOptions options = null) #pragma warning restore AZC0002 { - requestOptions ??= new RequestOptions(); - HttpMessage message = CreateDeleteScanRulesetRequest(scanRulesetName, requestOptions); - if (requestOptions.PerCallPolicy != null) + options ??= new RequestOptions(); + HttpMessage message = CreateDeleteScanRulesetRequest(scanRulesetName, options); + if (options.PerCallPolicy != null) { - message.SetProperty("RequestOptionsPerCallPolicyCallback", requestOptions.PerCallPolicy); + message.SetProperty("RequestOptionsPerCallPolicyCallback", options.PerCallPolicy); } using var scope = _clientDiagnostics.CreateScope("PurviewScanningServiceClient.DeleteScanRuleset"); scope.Start(); try { - await Pipeline.SendAsync(message, requestOptions.CancellationToken).ConfigureAwait(false); - if (requestOptions.StatusOption == ResponseStatusOption.Default) + await Pipeline.SendAsync(message, options.CancellationToken).ConfigureAwait(false); + if (options.StatusOption == ResponseStatusOption.Default) { switch (message.Response.Status) { @@ -1170,23 +1170,23 @@ public virtual async Task DeleteScanRulesetAsync(string scanRulesetNam /// Deletes a scan ruleset. /// The String to use. - /// The request options. + /// The request options. #pragma warning disable AZC0002 - public virtual Response DeleteScanRuleset(string scanRulesetName, RequestOptions requestOptions = null) + public virtual Response DeleteScanRuleset(string scanRulesetName, RequestOptions options = null) #pragma warning restore AZC0002 { - requestOptions ??= new RequestOptions(); - HttpMessage message = CreateDeleteScanRulesetRequest(scanRulesetName, requestOptions); - if (requestOptions.PerCallPolicy != null) + options ??= new RequestOptions(); + HttpMessage message = CreateDeleteScanRulesetRequest(scanRulesetName, options); + if (options.PerCallPolicy != null) { - message.SetProperty("RequestOptionsPerCallPolicyCallback", requestOptions.PerCallPolicy); + message.SetProperty("RequestOptionsPerCallPolicyCallback", options.PerCallPolicy); } using var scope = _clientDiagnostics.CreateScope("PurviewScanningServiceClient.DeleteScanRuleset"); scope.Start(); try { - Pipeline.Send(message, requestOptions.CancellationToken); - if (requestOptions.StatusOption == ResponseStatusOption.Default) + Pipeline.Send(message, options.CancellationToken); + if (options.StatusOption == ResponseStatusOption.Default) { switch (message.Response.Status) { @@ -1211,8 +1211,8 @@ public virtual Response DeleteScanRuleset(string scanRulesetName, RequestOptions /// Create Request for and operations. /// The String to use. - /// The request options. - private HttpMessage CreateDeleteScanRulesetRequest(string scanRulesetName, RequestOptions requestOptions = null) + /// The request options. + private HttpMessage CreateDeleteScanRulesetRequest(string scanRulesetName, RequestOptions options = null) { var message = Pipeline.CreateMessage(); var request = message.Request; @@ -1228,23 +1228,23 @@ private HttpMessage CreateDeleteScanRulesetRequest(string scanRulesetName, Reque } /// List scan rulesets in Data catalog. - /// The request options. + /// The request options. #pragma warning disable AZC0002 - public virtual async Task GetScanRulesetsAsync(RequestOptions requestOptions = null) + public virtual async Task GetScanRulesetsAsync(RequestOptions options = null) #pragma warning restore AZC0002 { - requestOptions ??= new RequestOptions(); - HttpMessage message = CreateGetScanRulesetsRequest(requestOptions); - if (requestOptions.PerCallPolicy != null) + options ??= new RequestOptions(); + HttpMessage message = CreateGetScanRulesetsRequest(options); + if (options.PerCallPolicy != null) { - message.SetProperty("RequestOptionsPerCallPolicyCallback", requestOptions.PerCallPolicy); + message.SetProperty("RequestOptionsPerCallPolicyCallback", options.PerCallPolicy); } using var scope = _clientDiagnostics.CreateScope("PurviewScanningServiceClient.GetScanRulesets"); scope.Start(); try { - await Pipeline.SendAsync(message, requestOptions.CancellationToken).ConfigureAwait(false); - if (requestOptions.StatusOption == ResponseStatusOption.Default) + await Pipeline.SendAsync(message, options.CancellationToken).ConfigureAwait(false); + if (options.StatusOption == ResponseStatusOption.Default) { switch (message.Response.Status) { @@ -1267,23 +1267,23 @@ public virtual async Task GetScanRulesetsAsync(RequestOptions requestO } /// List scan rulesets in Data catalog. - /// The request options. + /// The request options. #pragma warning disable AZC0002 - public virtual Response GetScanRulesets(RequestOptions requestOptions = null) + public virtual Response GetScanRulesets(RequestOptions options = null) #pragma warning restore AZC0002 { - requestOptions ??= new RequestOptions(); - HttpMessage message = CreateGetScanRulesetsRequest(requestOptions); - if (requestOptions.PerCallPolicy != null) + options ??= new RequestOptions(); + HttpMessage message = CreateGetScanRulesetsRequest(options); + if (options.PerCallPolicy != null) { - message.SetProperty("RequestOptionsPerCallPolicyCallback", requestOptions.PerCallPolicy); + message.SetProperty("RequestOptionsPerCallPolicyCallback", options.PerCallPolicy); } using var scope = _clientDiagnostics.CreateScope("PurviewScanningServiceClient.GetScanRulesets"); scope.Start(); try { - Pipeline.Send(message, requestOptions.CancellationToken); - if (requestOptions.StatusOption == ResponseStatusOption.Default) + Pipeline.Send(message, options.CancellationToken); + if (options.StatusOption == ResponseStatusOption.Default) { switch (message.Response.Status) { @@ -1306,8 +1306,8 @@ public virtual Response GetScanRulesets(RequestOptions requestOptions = null) } /// Create Request for and operations. - /// The request options. - private HttpMessage CreateGetScanRulesetsRequest(RequestOptions requestOptions = null) + /// The request options. + private HttpMessage CreateGetScanRulesetsRequest(RequestOptions options = null) { var message = Pipeline.CreateMessage(); var request = message.Request; @@ -1322,23 +1322,23 @@ private HttpMessage CreateGetScanRulesetsRequest(RequestOptions requestOptions = } /// List all system scan rulesets for an account. - /// The request options. + /// The request options. #pragma warning disable AZC0002 - public virtual async Task GetSystemRulesetsAsync(RequestOptions requestOptions = null) + public virtual async Task GetSystemRulesetsAsync(RequestOptions options = null) #pragma warning restore AZC0002 { - requestOptions ??= new RequestOptions(); - HttpMessage message = CreateGetSystemRulesetsRequest(requestOptions); - if (requestOptions.PerCallPolicy != null) + options ??= new RequestOptions(); + HttpMessage message = CreateGetSystemRulesetsRequest(options); + if (options.PerCallPolicy != null) { - message.SetProperty("RequestOptionsPerCallPolicyCallback", requestOptions.PerCallPolicy); + message.SetProperty("RequestOptionsPerCallPolicyCallback", options.PerCallPolicy); } using var scope = _clientDiagnostics.CreateScope("PurviewScanningServiceClient.GetSystemRulesets"); scope.Start(); try { - await Pipeline.SendAsync(message, requestOptions.CancellationToken).ConfigureAwait(false); - if (requestOptions.StatusOption == ResponseStatusOption.Default) + await Pipeline.SendAsync(message, options.CancellationToken).ConfigureAwait(false); + if (options.StatusOption == ResponseStatusOption.Default) { switch (message.Response.Status) { @@ -1361,23 +1361,23 @@ public virtual async Task GetSystemRulesetsAsync(RequestOptions reques } /// List all system scan rulesets for an account. - /// The request options. + /// The request options. #pragma warning disable AZC0002 - public virtual Response GetSystemRulesets(RequestOptions requestOptions = null) + public virtual Response GetSystemRulesets(RequestOptions options = null) #pragma warning restore AZC0002 { - requestOptions ??= new RequestOptions(); - HttpMessage message = CreateGetSystemRulesetsRequest(requestOptions); - if (requestOptions.PerCallPolicy != null) + options ??= new RequestOptions(); + HttpMessage message = CreateGetSystemRulesetsRequest(options); + if (options.PerCallPolicy != null) { - message.SetProperty("RequestOptionsPerCallPolicyCallback", requestOptions.PerCallPolicy); + message.SetProperty("RequestOptionsPerCallPolicyCallback", options.PerCallPolicy); } using var scope = _clientDiagnostics.CreateScope("PurviewScanningServiceClient.GetSystemRulesets"); scope.Start(); try { - Pipeline.Send(message, requestOptions.CancellationToken); - if (requestOptions.StatusOption == ResponseStatusOption.Default) + Pipeline.Send(message, options.CancellationToken); + if (options.StatusOption == ResponseStatusOption.Default) { switch (message.Response.Status) { @@ -1400,8 +1400,8 @@ public virtual Response GetSystemRulesets(RequestOptions requestOptions = null) } /// Create Request for and operations. - /// The request options. - private HttpMessage CreateGetSystemRulesetsRequest(RequestOptions requestOptions = null) + /// The request options. + private HttpMessage CreateGetSystemRulesetsRequest(RequestOptions options = null) { var message = Pipeline.CreateMessage(); var request = message.Request; @@ -1417,23 +1417,23 @@ private HttpMessage CreateGetSystemRulesetsRequest(RequestOptions requestOptions /// Get a system scan ruleset for a data source. /// The DataSourceType to use. - /// The request options. + /// The request options. #pragma warning disable AZC0002 - public virtual async Task GetSystemRulesetsForDataSourceAsync(string dataSourceType, RequestOptions requestOptions = null) + public virtual async Task GetSystemRulesetsForDataSourceAsync(string dataSourceType, RequestOptions options = null) #pragma warning restore AZC0002 { - requestOptions ??= new RequestOptions(); - HttpMessage message = CreateGetSystemRulesetsForDataSourceRequest(dataSourceType, requestOptions); - if (requestOptions.PerCallPolicy != null) + options ??= new RequestOptions(); + HttpMessage message = CreateGetSystemRulesetsForDataSourceRequest(dataSourceType, options); + if (options.PerCallPolicy != null) { - message.SetProperty("RequestOptionsPerCallPolicyCallback", requestOptions.PerCallPolicy); + message.SetProperty("RequestOptionsPerCallPolicyCallback", options.PerCallPolicy); } using var scope = _clientDiagnostics.CreateScope("PurviewScanningServiceClient.GetSystemRulesetsForDataSource"); scope.Start(); try { - await Pipeline.SendAsync(message, requestOptions.CancellationToken).ConfigureAwait(false); - if (requestOptions.StatusOption == ResponseStatusOption.Default) + await Pipeline.SendAsync(message, options.CancellationToken).ConfigureAwait(false); + if (options.StatusOption == ResponseStatusOption.Default) { switch (message.Response.Status) { @@ -1457,23 +1457,23 @@ public virtual async Task GetSystemRulesetsForDataSourceAsync(string d /// Get a system scan ruleset for a data source. /// The DataSourceType to use. - /// The request options. + /// The request options. #pragma warning disable AZC0002 - public virtual Response GetSystemRulesetsForDataSource(string dataSourceType, RequestOptions requestOptions = null) + public virtual Response GetSystemRulesetsForDataSource(string dataSourceType, RequestOptions options = null) #pragma warning restore AZC0002 { - requestOptions ??= new RequestOptions(); - HttpMessage message = CreateGetSystemRulesetsForDataSourceRequest(dataSourceType, requestOptions); - if (requestOptions.PerCallPolicy != null) + options ??= new RequestOptions(); + HttpMessage message = CreateGetSystemRulesetsForDataSourceRequest(dataSourceType, options); + if (options.PerCallPolicy != null) { - message.SetProperty("RequestOptionsPerCallPolicyCallback", requestOptions.PerCallPolicy); + message.SetProperty("RequestOptionsPerCallPolicyCallback", options.PerCallPolicy); } using var scope = _clientDiagnostics.CreateScope("PurviewScanningServiceClient.GetSystemRulesetsForDataSource"); scope.Start(); try { - Pipeline.Send(message, requestOptions.CancellationToken); - if (requestOptions.StatusOption == ResponseStatusOption.Default) + Pipeline.Send(message, options.CancellationToken); + if (options.StatusOption == ResponseStatusOption.Default) { switch (message.Response.Status) { @@ -1497,8 +1497,8 @@ public virtual Response GetSystemRulesetsForDataSource(string dataSourceType, Re /// Create Request for and operations. /// The DataSourceType to use. - /// The request options. - private HttpMessage CreateGetSystemRulesetsForDataSourceRequest(string dataSourceType, RequestOptions requestOptions = null) + /// The request options. + private HttpMessage CreateGetSystemRulesetsForDataSourceRequest(string dataSourceType, RequestOptions options = null) { var message = Pipeline.CreateMessage(); var request = message.Request; @@ -1516,23 +1516,23 @@ private HttpMessage CreateGetSystemRulesetsForDataSourceRequest(string dataSourc /// Get a scan ruleset by version. /// The Integer to use. /// The DataSourceType to use. - /// The request options. + /// The request options. #pragma warning disable AZC0002 - public virtual async Task GetSystemRulesetsForVersionAsync(int version, string dataSourceType = null, RequestOptions requestOptions = null) + public virtual async Task GetSystemRulesetsForVersionAsync(int version, string dataSourceType = null, RequestOptions options = null) #pragma warning restore AZC0002 { - requestOptions ??= new RequestOptions(); - HttpMessage message = CreateGetSystemRulesetsForVersionRequest(version, dataSourceType, requestOptions); - if (requestOptions.PerCallPolicy != null) + options ??= new RequestOptions(); + HttpMessage message = CreateGetSystemRulesetsForVersionRequest(version, dataSourceType, options); + if (options.PerCallPolicy != null) { - message.SetProperty("RequestOptionsPerCallPolicyCallback", requestOptions.PerCallPolicy); + message.SetProperty("RequestOptionsPerCallPolicyCallback", options.PerCallPolicy); } using var scope = _clientDiagnostics.CreateScope("PurviewScanningServiceClient.GetSystemRulesetsForVersion"); scope.Start(); try { - await Pipeline.SendAsync(message, requestOptions.CancellationToken).ConfigureAwait(false); - if (requestOptions.StatusOption == ResponseStatusOption.Default) + await Pipeline.SendAsync(message, options.CancellationToken).ConfigureAwait(false); + if (options.StatusOption == ResponseStatusOption.Default) { switch (message.Response.Status) { @@ -1557,23 +1557,23 @@ public virtual async Task GetSystemRulesetsForVersionAsync(int version /// Get a scan ruleset by version. /// The Integer to use. /// The DataSourceType to use. - /// The request options. + /// The request options. #pragma warning disable AZC0002 - public virtual Response GetSystemRulesetsForVersion(int version, string dataSourceType = null, RequestOptions requestOptions = null) + public virtual Response GetSystemRulesetsForVersion(int version, string dataSourceType = null, RequestOptions options = null) #pragma warning restore AZC0002 { - requestOptions ??= new RequestOptions(); - HttpMessage message = CreateGetSystemRulesetsForVersionRequest(version, dataSourceType, requestOptions); - if (requestOptions.PerCallPolicy != null) + options ??= new RequestOptions(); + HttpMessage message = CreateGetSystemRulesetsForVersionRequest(version, dataSourceType, options); + if (options.PerCallPolicy != null) { - message.SetProperty("RequestOptionsPerCallPolicyCallback", requestOptions.PerCallPolicy); + message.SetProperty("RequestOptionsPerCallPolicyCallback", options.PerCallPolicy); } using var scope = _clientDiagnostics.CreateScope("PurviewScanningServiceClient.GetSystemRulesetsForVersion"); scope.Start(); try { - Pipeline.Send(message, requestOptions.CancellationToken); - if (requestOptions.StatusOption == ResponseStatusOption.Default) + Pipeline.Send(message, options.CancellationToken); + if (options.StatusOption == ResponseStatusOption.Default) { switch (message.Response.Status) { @@ -1598,8 +1598,8 @@ public virtual Response GetSystemRulesetsForVersion(int version, string dataSour /// Create Request for and operations. /// The Integer to use. /// The DataSourceType to use. - /// The request options. - private HttpMessage CreateGetSystemRulesetsForVersionRequest(int version, string dataSourceType = null, RequestOptions requestOptions = null) + /// The request options. + private HttpMessage CreateGetSystemRulesetsForVersionRequest(int version, string dataSourceType = null, RequestOptions options = null) { var message = Pipeline.CreateMessage(); var request = message.Request; @@ -1620,23 +1620,23 @@ private HttpMessage CreateGetSystemRulesetsForVersionRequest(int version, string /// Get the latest version of a system scan ruleset. /// The DataSourceType to use. - /// The request options. + /// The request options. #pragma warning disable AZC0002 - public virtual async Task GetLatestSystemRulestesAsync(string dataSourceType = null, RequestOptions requestOptions = null) + public virtual async Task GetLatestSystemRulestesAsync(string dataSourceType = null, RequestOptions options = null) #pragma warning restore AZC0002 { - requestOptions ??= new RequestOptions(); - HttpMessage message = CreateGetLatestSystemRulestesRequest(dataSourceType, requestOptions); - if (requestOptions.PerCallPolicy != null) + options ??= new RequestOptions(); + HttpMessage message = CreateGetLatestSystemRulestesRequest(dataSourceType, options); + if (options.PerCallPolicy != null) { - message.SetProperty("RequestOptionsPerCallPolicyCallback", requestOptions.PerCallPolicy); + message.SetProperty("RequestOptionsPerCallPolicyCallback", options.PerCallPolicy); } using var scope = _clientDiagnostics.CreateScope("PurviewScanningServiceClient.GetLatestSystemRulestes"); scope.Start(); try { - await Pipeline.SendAsync(message, requestOptions.CancellationToken).ConfigureAwait(false); - if (requestOptions.StatusOption == ResponseStatusOption.Default) + await Pipeline.SendAsync(message, options.CancellationToken).ConfigureAwait(false); + if (options.StatusOption == ResponseStatusOption.Default) { switch (message.Response.Status) { @@ -1660,23 +1660,23 @@ public virtual async Task GetLatestSystemRulestesAsync(string dataSour /// Get the latest version of a system scan ruleset. /// The DataSourceType to use. - /// The request options. + /// The request options. #pragma warning disable AZC0002 - public virtual Response GetLatestSystemRulestes(string dataSourceType = null, RequestOptions requestOptions = null) + public virtual Response GetLatestSystemRulestes(string dataSourceType = null, RequestOptions options = null) #pragma warning restore AZC0002 { - requestOptions ??= new RequestOptions(); - HttpMessage message = CreateGetLatestSystemRulestesRequest(dataSourceType, requestOptions); - if (requestOptions.PerCallPolicy != null) + options ??= new RequestOptions(); + HttpMessage message = CreateGetLatestSystemRulestesRequest(dataSourceType, options); + if (options.PerCallPolicy != null) { - message.SetProperty("RequestOptionsPerCallPolicyCallback", requestOptions.PerCallPolicy); + message.SetProperty("RequestOptionsPerCallPolicyCallback", options.PerCallPolicy); } using var scope = _clientDiagnostics.CreateScope("PurviewScanningServiceClient.GetLatestSystemRulestes"); scope.Start(); try { - Pipeline.Send(message, requestOptions.CancellationToken); - if (requestOptions.StatusOption == ResponseStatusOption.Default) + Pipeline.Send(message, options.CancellationToken); + if (options.StatusOption == ResponseStatusOption.Default) { switch (message.Response.Status) { @@ -1700,8 +1700,8 @@ public virtual Response GetLatestSystemRulestes(string dataSourceType = null, Re /// Create Request for and operations. /// The DataSourceType to use. - /// The request options. - private HttpMessage CreateGetLatestSystemRulestesRequest(string dataSourceType = null, RequestOptions requestOptions = null) + /// The request options. + private HttpMessage CreateGetLatestSystemRulestesRequest(string dataSourceType = null, RequestOptions options = null) { var message = Pipeline.CreateMessage(); var request = message.Request; @@ -1721,23 +1721,23 @@ private HttpMessage CreateGetLatestSystemRulestesRequest(string dataSourceType = /// List system scan ruleset versions in Data catalog. /// The DataSourceType to use. - /// The request options. + /// The request options. #pragma warning disable AZC0002 - public virtual async Task GetSystemRulesetsVersionsAsync(string dataSourceType = null, RequestOptions requestOptions = null) + public virtual async Task GetSystemRulesetsVersionsAsync(string dataSourceType = null, RequestOptions options = null) #pragma warning restore AZC0002 { - requestOptions ??= new RequestOptions(); - HttpMessage message = CreateGetSystemRulesetsVersionsRequest(dataSourceType, requestOptions); - if (requestOptions.PerCallPolicy != null) + options ??= new RequestOptions(); + HttpMessage message = CreateGetSystemRulesetsVersionsRequest(dataSourceType, options); + if (options.PerCallPolicy != null) { - message.SetProperty("RequestOptionsPerCallPolicyCallback", requestOptions.PerCallPolicy); + message.SetProperty("RequestOptionsPerCallPolicyCallback", options.PerCallPolicy); } using var scope = _clientDiagnostics.CreateScope("PurviewScanningServiceClient.GetSystemRulesetsVersions"); scope.Start(); try { - await Pipeline.SendAsync(message, requestOptions.CancellationToken).ConfigureAwait(false); - if (requestOptions.StatusOption == ResponseStatusOption.Default) + await Pipeline.SendAsync(message, options.CancellationToken).ConfigureAwait(false); + if (options.StatusOption == ResponseStatusOption.Default) { switch (message.Response.Status) { @@ -1761,23 +1761,23 @@ public virtual async Task GetSystemRulesetsVersionsAsync(string dataSo /// List system scan ruleset versions in Data catalog. /// The DataSourceType to use. - /// The request options. + /// The request options. #pragma warning disable AZC0002 - public virtual Response GetSystemRulesetsVersions(string dataSourceType = null, RequestOptions requestOptions = null) + public virtual Response GetSystemRulesetsVersions(string dataSourceType = null, RequestOptions options = null) #pragma warning restore AZC0002 { - requestOptions ??= new RequestOptions(); - HttpMessage message = CreateGetSystemRulesetsVersionsRequest(dataSourceType, requestOptions); - if (requestOptions.PerCallPolicy != null) + options ??= new RequestOptions(); + HttpMessage message = CreateGetSystemRulesetsVersionsRequest(dataSourceType, options); + if (options.PerCallPolicy != null) { - message.SetProperty("RequestOptionsPerCallPolicyCallback", requestOptions.PerCallPolicy); + message.SetProperty("RequestOptionsPerCallPolicyCallback", options.PerCallPolicy); } using var scope = _clientDiagnostics.CreateScope("PurviewScanningServiceClient.GetSystemRulesetsVersions"); scope.Start(); try { - Pipeline.Send(message, requestOptions.CancellationToken); - if (requestOptions.StatusOption == ResponseStatusOption.Default) + Pipeline.Send(message, options.CancellationToken); + if (options.StatusOption == ResponseStatusOption.Default) { switch (message.Response.Status) { @@ -1801,8 +1801,8 @@ public virtual Response GetSystemRulesetsVersions(string dataSourceType = null, /// Create Request for and operations. /// The DataSourceType to use. - /// The request options. - private HttpMessage CreateGetSystemRulesetsVersionsRequest(string dataSourceType = null, RequestOptions requestOptions = null) + /// The request options. + private HttpMessage CreateGetSystemRulesetsVersionsRequest(string dataSourceType = null, RequestOptions options = null) { var message = Pipeline.CreateMessage(); var request = message.Request; diff --git a/sdk/webpubsub/Azure.Messaging.WebPubSub/api/Azure.Messaging.WebPubSub.netstandard2.0.cs b/sdk/webpubsub/Azure.Messaging.WebPubSub/api/Azure.Messaging.WebPubSub.netstandard2.0.cs index 9c5fa0c04310..27cef18f4c73 100644 --- a/sdk/webpubsub/Azure.Messaging.WebPubSub/api/Azure.Messaging.WebPubSub.netstandard2.0.cs +++ b/sdk/webpubsub/Azure.Messaging.WebPubSub/api/Azure.Messaging.WebPubSub.netstandard2.0.cs @@ -15,14 +15,14 @@ public WebPubSubServiceClient(System.Uri endpoint, string hub, Azure.AzureKeyCre public virtual System.Uri Endpoint { get { throw null; } } public virtual string Hub { get { throw null; } } public virtual Azure.Core.Pipeline.HttpPipeline Pipeline { get { throw null; } } - public virtual Azure.Response AddConnectionToGroup(string group, string connectionId, Azure.RequestOptions requestOptions = null) { throw null; } - public virtual System.Threading.Tasks.Task AddConnectionToGroupAsync(string group, string connectionId, Azure.RequestOptions requestOptions = null) { throw null; } - public virtual Azure.Response AddUserToGroup(string group, string userId, Azure.RequestOptions requestOptions = null) { throw null; } - public virtual System.Threading.Tasks.Task AddUserToGroupAsync(string group, string userId, Azure.RequestOptions requestOptions = null) { throw null; } + public virtual Azure.Response AddConnectionToGroup(string group, string connectionId, Azure.RequestOptions options = null) { throw null; } + public virtual System.Threading.Tasks.Task AddConnectionToGroupAsync(string group, string connectionId, Azure.RequestOptions options = null) { throw null; } + public virtual Azure.Response AddUserToGroup(string group, string userId, Azure.RequestOptions options = null) { throw null; } + public virtual System.Threading.Tasks.Task AddUserToGroupAsync(string group, string userId, Azure.RequestOptions options = null) { throw null; } public virtual Azure.Response CheckPermission(Azure.Messaging.WebPubSub.WebPubSubPermission permission, string connectionId, string targetName = null, Azure.RequestOptions options = null) { throw null; } public virtual System.Threading.Tasks.Task> CheckPermissionAsync(Azure.Messaging.WebPubSub.WebPubSubPermission permission, string connectionId, string targetName = null, Azure.RequestOptions options = null) { throw null; } - public virtual Azure.Response CloseClientConnection(string connectionId, string reason = null, Azure.RequestOptions requestOptions = null) { throw null; } - public virtual System.Threading.Tasks.Task CloseClientConnectionAsync(string connectionId, string reason = null, Azure.RequestOptions requestOptions = null) { throw null; } + public virtual Azure.Response CloseClientConnection(string connectionId, string reason = null, Azure.RequestOptions options = null) { throw null; } + public virtual System.Threading.Tasks.Task CloseClientConnectionAsync(string connectionId, string reason = null, Azure.RequestOptions options = null) { throw null; } public virtual Azure.Response ConnectionExists(string connectionId, Azure.RequestOptions options = null) { throw null; } public virtual System.Threading.Tasks.Task> ConnectionExistsAsync(string connectionId, Azure.RequestOptions options = null) { throw null; } public virtual System.Uri GenerateClientAccessUri(System.DateTime expiresAtUtc, string userId = null, params string[] roles) { throw null; } @@ -31,30 +31,30 @@ public WebPubSubServiceClient(System.Uri endpoint, string hub, Azure.AzureKeyCre public virtual System.Threading.Tasks.Task GrantPermissionAsync(Azure.Messaging.WebPubSub.WebPubSubPermission permission, string connectionId, string targetName = null, Azure.RequestOptions options = null) { throw null; } public virtual Azure.Response GroupExists(string group, Azure.RequestOptions options = null) { throw null; } public virtual System.Threading.Tasks.Task> GroupExistsAsync(string group, Azure.RequestOptions options = null) { throw null; } - public virtual Azure.Response RemoveConnectionFromGroup(string group, string connectionId, Azure.RequestOptions requestOptions = null) { throw null; } - public virtual System.Threading.Tasks.Task RemoveConnectionFromGroupAsync(string group, string connectionId, Azure.RequestOptions requestOptions = null) { throw null; } - public virtual Azure.Response RemoveUserFromAllGroups(string userId, Azure.RequestOptions requestOptions = null) { throw null; } - public virtual System.Threading.Tasks.Task RemoveUserFromAllGroupsAsync(string userId, Azure.RequestOptions requestOptions = null) { throw null; } - public virtual Azure.Response RemoveUserFromGroup(string group, string userId, Azure.RequestOptions requestOptions = null) { throw null; } - public virtual System.Threading.Tasks.Task RemoveUserFromGroupAsync(string group, string userId, Azure.RequestOptions requestOptions = null) { throw null; } + public virtual Azure.Response RemoveConnectionFromGroup(string group, string connectionId, Azure.RequestOptions options = null) { throw null; } + public virtual System.Threading.Tasks.Task RemoveConnectionFromGroupAsync(string group, string connectionId, Azure.RequestOptions options = null) { throw null; } + public virtual Azure.Response RemoveUserFromAllGroups(string userId, Azure.RequestOptions options = null) { throw null; } + public virtual System.Threading.Tasks.Task RemoveUserFromAllGroupsAsync(string userId, Azure.RequestOptions options = null) { throw null; } + public virtual Azure.Response RemoveUserFromGroup(string group, string userId, Azure.RequestOptions options = null) { throw null; } + public virtual System.Threading.Tasks.Task RemoveUserFromGroupAsync(string group, string userId, Azure.RequestOptions options = null) { throw null; } public virtual Azure.Response RevokePermission(Azure.Messaging.WebPubSub.WebPubSubPermission permission, string connectionId, string targetName = null, Azure.RequestOptions options = null) { throw null; } public virtual System.Threading.Tasks.Task RevokePermissionAsync(Azure.Messaging.WebPubSub.WebPubSubPermission permission, string connectionId, string targetName = null, Azure.RequestOptions options = null) { throw null; } public virtual Azure.Response SendToAll(string content, Azure.Core.ContentType contentType = default(Azure.Core.ContentType)) { throw null; } - public virtual Azure.Response SendToAll(string contentType, Azure.Core.RequestContent requestBody, System.Collections.Generic.IEnumerable excluded = null, Azure.RequestOptions requestOptions = null) { throw null; } + public virtual Azure.Response SendToAll(string contentType, Azure.Core.RequestContent content, System.Collections.Generic.IEnumerable excluded = null, Azure.RequestOptions options = null) { throw null; } public virtual System.Threading.Tasks.Task SendToAllAsync(string content, Azure.Core.ContentType contentType = default(Azure.Core.ContentType)) { throw null; } - public virtual System.Threading.Tasks.Task SendToAllAsync(string contentType, Azure.Core.RequestContent requestBody, System.Collections.Generic.IEnumerable excluded = null, Azure.RequestOptions requestOptions = null) { throw null; } + public virtual System.Threading.Tasks.Task SendToAllAsync(string contentType, Azure.Core.RequestContent content, System.Collections.Generic.IEnumerable excluded = null, Azure.RequestOptions options = null) { throw null; } public virtual Azure.Response SendToConnection(string connectionId, string content, Azure.Core.ContentType contentType = default(Azure.Core.ContentType)) { throw null; } - public virtual Azure.Response SendToConnection(string connectionId, string contentType, Azure.Core.RequestContent requestBody, Azure.RequestOptions requestOptions = null) { throw null; } + public virtual Azure.Response SendToConnection(string connectionId, string contentType, Azure.Core.RequestContent content, Azure.RequestOptions options = null) { throw null; } public virtual System.Threading.Tasks.Task SendToConnectionAsync(string connectionId, string content, Azure.Core.ContentType contentType = default(Azure.Core.ContentType)) { throw null; } - public virtual System.Threading.Tasks.Task SendToConnectionAsync(string connectionId, string contentType, Azure.Core.RequestContent requestBody, Azure.RequestOptions requestOptions = null) { throw null; } + public virtual System.Threading.Tasks.Task SendToConnectionAsync(string connectionId, string contentType, Azure.Core.RequestContent content, Azure.RequestOptions options = null) { throw null; } public virtual Azure.Response SendToGroup(string group, string content, Azure.Core.ContentType contentType = default(Azure.Core.ContentType)) { throw null; } - public virtual Azure.Response SendToGroup(string group, string contentType, Azure.Core.RequestContent requestBody, System.Collections.Generic.IEnumerable excluded = null, Azure.RequestOptions requestOptions = null) { throw null; } + public virtual Azure.Response SendToGroup(string group, string contentType, Azure.Core.RequestContent content, System.Collections.Generic.IEnumerable excluded = null, Azure.RequestOptions options = null) { throw null; } public virtual System.Threading.Tasks.Task SendToGroupAsync(string group, string content, Azure.Core.ContentType contentType = default(Azure.Core.ContentType)) { throw null; } - public virtual System.Threading.Tasks.Task SendToGroupAsync(string group, string contentType, Azure.Core.RequestContent requestBody, System.Collections.Generic.IEnumerable excluded = null, Azure.RequestOptions requestOptions = null) { throw null; } + public virtual System.Threading.Tasks.Task SendToGroupAsync(string group, string contentType, Azure.Core.RequestContent content, System.Collections.Generic.IEnumerable excluded = null, Azure.RequestOptions options = null) { throw null; } public virtual Azure.Response SendToUser(string userId, string content, Azure.Core.ContentType contentType = default(Azure.Core.ContentType)) { throw null; } - public virtual Azure.Response SendToUser(string userId, string contentType, Azure.Core.RequestContent requestBody, Azure.RequestOptions requestOptions = null) { throw null; } + public virtual Azure.Response SendToUser(string userId, string contentType, Azure.Core.RequestContent content, Azure.RequestOptions options = null) { throw null; } public virtual System.Threading.Tasks.Task SendToUserAsync(string userId, string content, Azure.Core.ContentType contentType = default(Azure.Core.ContentType)) { throw null; } - public virtual System.Threading.Tasks.Task SendToUserAsync(string userId, string contentType, Azure.Core.RequestContent requestBody, Azure.RequestOptions requestOptions = null) { throw null; } + public virtual System.Threading.Tasks.Task SendToUserAsync(string userId, string contentType, Azure.Core.RequestContent content, Azure.RequestOptions options = null) { throw null; } public virtual Azure.Response UserExists(string userId, Azure.RequestOptions options = null) { throw null; } public virtual System.Threading.Tasks.Task> UserExistsAsync(string userId, Azure.RequestOptions options = null) { throw null; } } diff --git a/sdk/webpubsub/Azure.Messaging.WebPubSub/src/Generated/HealthApiClient.cs b/sdk/webpubsub/Azure.Messaging.WebPubSub/src/Generated/HealthApiClient.cs index d6a6a848df57..d22e7d80c8ce 100644 --- a/sdk/webpubsub/Azure.Messaging.WebPubSub/src/Generated/HealthApiClient.cs +++ b/sdk/webpubsub/Azure.Messaging.WebPubSub/src/Generated/HealthApiClient.cs @@ -42,23 +42,23 @@ public HealthApiClient(Uri endpoint = null, WebPubSubServiceClientOptions option } /// Get service health status. - /// The request options. + /// The request options. #pragma warning disable AZC0002 - public virtual async Task GetServiceStatusAsync(RequestOptions requestOptions = null) + public virtual async Task GetServiceStatusAsync(RequestOptions options = null) #pragma warning restore AZC0002 { - requestOptions ??= new RequestOptions(); - HttpMessage message = CreateGetServiceStatusRequest(requestOptions); - if (requestOptions.PerCallPolicy != null) + options ??= new RequestOptions(); + HttpMessage message = CreateGetServiceStatusRequest(options); + if (options.PerCallPolicy != null) { - message.SetProperty("RequestOptionsPerCallPolicyCallback", requestOptions.PerCallPolicy); + message.SetProperty("RequestOptionsPerCallPolicyCallback", options.PerCallPolicy); } using var scope = _clientDiagnostics.CreateScope("HealthApiClient.GetServiceStatus"); scope.Start(); try { - await Pipeline.SendAsync(message, requestOptions.CancellationToken).ConfigureAwait(false); - if (requestOptions.StatusOption == ResponseStatusOption.Default) + await Pipeline.SendAsync(message, options.CancellationToken).ConfigureAwait(false); + if (options.StatusOption == ResponseStatusOption.Default) { switch (message.Response.Status) { @@ -81,23 +81,23 @@ public virtual async Task GetServiceStatusAsync(RequestOptions request } /// Get service health status. - /// The request options. + /// The request options. #pragma warning disable AZC0002 - public virtual Response GetServiceStatus(RequestOptions requestOptions = null) + public virtual Response GetServiceStatus(RequestOptions options = null) #pragma warning restore AZC0002 { - requestOptions ??= new RequestOptions(); - HttpMessage message = CreateGetServiceStatusRequest(requestOptions); - if (requestOptions.PerCallPolicy != null) + options ??= new RequestOptions(); + HttpMessage message = CreateGetServiceStatusRequest(options); + if (options.PerCallPolicy != null) { - message.SetProperty("RequestOptionsPerCallPolicyCallback", requestOptions.PerCallPolicy); + message.SetProperty("RequestOptionsPerCallPolicyCallback", options.PerCallPolicy); } using var scope = _clientDiagnostics.CreateScope("HealthApiClient.GetServiceStatus"); scope.Start(); try { - Pipeline.Send(message, requestOptions.CancellationToken); - if (requestOptions.StatusOption == ResponseStatusOption.Default) + Pipeline.Send(message, options.CancellationToken); + if (options.StatusOption == ResponseStatusOption.Default) { switch (message.Response.Status) { @@ -120,8 +120,8 @@ public virtual Response GetServiceStatus(RequestOptions requestOptions = null) } /// Create Request for and operations. - /// The request options. - private HttpMessage CreateGetServiceStatusRequest(RequestOptions requestOptions = null) + /// The request options. + private HttpMessage CreateGetServiceStatusRequest(RequestOptions options = null) { var message = Pipeline.CreateMessage(); var request = message.Request; diff --git a/sdk/webpubsub/Azure.Messaging.WebPubSub/src/Generated/WebPubSubServiceClient.cs b/sdk/webpubsub/Azure.Messaging.WebPubSub/src/Generated/WebPubSubServiceClient.cs index 9dae6c00ef54..bf4f5a349e01 100644 --- a/sdk/webpubsub/Azure.Messaging.WebPubSub/src/Generated/WebPubSubServiceClient.cs +++ b/sdk/webpubsub/Azure.Messaging.WebPubSub/src/Generated/WebPubSubServiceClient.cs @@ -31,25 +31,25 @@ protected WebPubSubServiceClient() /// Broadcast content inside request body to all the connected client connections. /// Upload file type. - /// The request body. + /// The content to send as the body of the request. /// Excluded connection Ids. - /// The request options. + /// The request options. #pragma warning disable AZC0002 - public virtual async Task SendToAllAsync(string contentType, RequestContent requestBody, IEnumerable excluded = null, RequestOptions requestOptions = null) + public virtual async Task SendToAllAsync(string contentType, RequestContent content, IEnumerable excluded = null, RequestOptions options = null) #pragma warning restore AZC0002 { - requestOptions ??= new RequestOptions(); - HttpMessage message = CreateSendToAllRequest(contentType, requestBody, excluded, requestOptions); - if (requestOptions.PerCallPolicy != null) + options ??= new RequestOptions(); + HttpMessage message = CreateSendToAllRequest(contentType, content, excluded, options); + if (options.PerCallPolicy != null) { - message.SetProperty("RequestOptionsPerCallPolicyCallback", requestOptions.PerCallPolicy); + message.SetProperty("RequestOptionsPerCallPolicyCallback", options.PerCallPolicy); } using var scope = _clientDiagnostics.CreateScope("WebPubSubServiceClient.SendToAll"); scope.Start(); try { - await Pipeline.SendAsync(message, requestOptions.CancellationToken).ConfigureAwait(false); - if (requestOptions.StatusOption == ResponseStatusOption.Default) + await Pipeline.SendAsync(message, options.CancellationToken).ConfigureAwait(false); + if (options.StatusOption == ResponseStatusOption.Default) { switch (message.Response.Status) { @@ -73,25 +73,25 @@ public virtual async Task SendToAllAsync(string contentType, RequestCo /// Broadcast content inside request body to all the connected client connections. /// Upload file type. - /// The request body. + /// The content to send as the body of the request. /// Excluded connection Ids. - /// The request options. + /// The request options. #pragma warning disable AZC0002 - public virtual Response SendToAll(string contentType, RequestContent requestBody, IEnumerable excluded = null, RequestOptions requestOptions = null) + public virtual Response SendToAll(string contentType, RequestContent content, IEnumerable excluded = null, RequestOptions options = null) #pragma warning restore AZC0002 { - requestOptions ??= new RequestOptions(); - HttpMessage message = CreateSendToAllRequest(contentType, requestBody, excluded, requestOptions); - if (requestOptions.PerCallPolicy != null) + options ??= new RequestOptions(); + HttpMessage message = CreateSendToAllRequest(contentType, content, excluded, options); + if (options.PerCallPolicy != null) { - message.SetProperty("RequestOptionsPerCallPolicyCallback", requestOptions.PerCallPolicy); + message.SetProperty("RequestOptionsPerCallPolicyCallback", options.PerCallPolicy); } using var scope = _clientDiagnostics.CreateScope("WebPubSubServiceClient.SendToAll"); scope.Start(); try { - Pipeline.Send(message, requestOptions.CancellationToken); - if (requestOptions.StatusOption == ResponseStatusOption.Default) + Pipeline.Send(message, options.CancellationToken); + if (options.StatusOption == ResponseStatusOption.Default) { switch (message.Response.Status) { @@ -115,10 +115,10 @@ public virtual Response SendToAll(string contentType, RequestContent requestBody /// Create Request for and operations. /// Upload file type. - /// The request body. + /// The content to send as the body of the request. /// Excluded connection Ids. - /// The request options. - private HttpMessage CreateSendToAllRequest(string contentType, RequestContent requestBody, IEnumerable excluded = null, RequestOptions requestOptions = null) + /// The request options. + private HttpMessage CreateSendToAllRequest(string contentType, RequestContent content, IEnumerable excluded = null, RequestOptions options = null) { var message = Pipeline.CreateMessage(); var request = message.Request; @@ -138,29 +138,29 @@ private HttpMessage CreateSendToAllRequest(string contentType, RequestContent re } request.Uri = uri; request.Headers.Add("Content-Type", contentType); - request.Content = requestBody; + request.Content = content; return message; } /// Check if the connection with the given connectionId exists. /// The connection Id. - /// The request options. + /// The request options. #pragma warning disable AZC0002 - internal virtual async Task ConnectionExistsImplAsync(string connectionId, RequestOptions requestOptions = null) + internal virtual async Task ConnectionExistsImplAsync(string connectionId, RequestOptions options = null) #pragma warning restore AZC0002 { - requestOptions ??= new RequestOptions(); - HttpMessage message = CreateConnectionExistsImplRequest(connectionId, requestOptions); - if (requestOptions.PerCallPolicy != null) + options ??= new RequestOptions(); + HttpMessage message = CreateConnectionExistsImplRequest(connectionId, options); + if (options.PerCallPolicy != null) { - message.SetProperty("RequestOptionsPerCallPolicyCallback", requestOptions.PerCallPolicy); + message.SetProperty("RequestOptionsPerCallPolicyCallback", options.PerCallPolicy); } using var scope = _clientDiagnostics.CreateScope("WebPubSubServiceClient.ConnectionExistsImpl"); scope.Start(); try { - await Pipeline.SendAsync(message, requestOptions.CancellationToken).ConfigureAwait(false); - if (requestOptions.StatusOption == ResponseStatusOption.Default) + await Pipeline.SendAsync(message, options.CancellationToken).ConfigureAwait(false); + if (options.StatusOption == ResponseStatusOption.Default) { switch (message.Response.Status) { @@ -185,23 +185,23 @@ internal virtual async Task ConnectionExistsImplAsync(string connectio /// Check if the connection with the given connectionId exists. /// The connection Id. - /// The request options. + /// The request options. #pragma warning disable AZC0002 - internal virtual Response ConnectionExistsImpl(string connectionId, RequestOptions requestOptions = null) + internal virtual Response ConnectionExistsImpl(string connectionId, RequestOptions options = null) #pragma warning restore AZC0002 { - requestOptions ??= new RequestOptions(); - HttpMessage message = CreateConnectionExistsImplRequest(connectionId, requestOptions); - if (requestOptions.PerCallPolicy != null) + options ??= new RequestOptions(); + HttpMessage message = CreateConnectionExistsImplRequest(connectionId, options); + if (options.PerCallPolicy != null) { - message.SetProperty("RequestOptionsPerCallPolicyCallback", requestOptions.PerCallPolicy); + message.SetProperty("RequestOptionsPerCallPolicyCallback", options.PerCallPolicy); } using var scope = _clientDiagnostics.CreateScope("WebPubSubServiceClient.ConnectionExistsImpl"); scope.Start(); try { - Pipeline.Send(message, requestOptions.CancellationToken); - if (requestOptions.StatusOption == ResponseStatusOption.Default) + Pipeline.Send(message, options.CancellationToken); + if (options.StatusOption == ResponseStatusOption.Default) { switch (message.Response.Status) { @@ -226,8 +226,8 @@ internal virtual Response ConnectionExistsImpl(string connectionId, RequestOptio /// Create Request for and operations. /// The connection Id. - /// The request options. - private HttpMessage CreateConnectionExistsImplRequest(string connectionId, RequestOptions requestOptions = null) + /// The request options. + private HttpMessage CreateConnectionExistsImplRequest(string connectionId, RequestOptions options = null) { var message = Pipeline.CreateMessage(); var request = message.Request; @@ -249,23 +249,23 @@ private HttpMessage CreateConnectionExistsImplRequest(string connectionId, Reque /// Close the client connection. /// Target connection Id. /// The reason closing the client connection. - /// The request options. + /// The request options. #pragma warning disable AZC0002 - public virtual async Task CloseClientConnectionAsync(string connectionId, string reason = null, RequestOptions requestOptions = null) + public virtual async Task CloseClientConnectionAsync(string connectionId, string reason = null, RequestOptions options = null) #pragma warning restore AZC0002 { - requestOptions ??= new RequestOptions(); - HttpMessage message = CreateCloseClientConnectionRequest(connectionId, reason, requestOptions); - if (requestOptions.PerCallPolicy != null) + options ??= new RequestOptions(); + HttpMessage message = CreateCloseClientConnectionRequest(connectionId, reason, options); + if (options.PerCallPolicy != null) { - message.SetProperty("RequestOptionsPerCallPolicyCallback", requestOptions.PerCallPolicy); + message.SetProperty("RequestOptionsPerCallPolicyCallback", options.PerCallPolicy); } using var scope = _clientDiagnostics.CreateScope("WebPubSubServiceClient.CloseClientConnection"); scope.Start(); try { - await Pipeline.SendAsync(message, requestOptions.CancellationToken).ConfigureAwait(false); - if (requestOptions.StatusOption == ResponseStatusOption.Default) + await Pipeline.SendAsync(message, options.CancellationToken).ConfigureAwait(false); + if (options.StatusOption == ResponseStatusOption.Default) { switch (message.Response.Status) { @@ -290,23 +290,23 @@ public virtual async Task CloseClientConnectionAsync(string connection /// Close the client connection. /// Target connection Id. /// The reason closing the client connection. - /// The request options. + /// The request options. #pragma warning disable AZC0002 - public virtual Response CloseClientConnection(string connectionId, string reason = null, RequestOptions requestOptions = null) + public virtual Response CloseClientConnection(string connectionId, string reason = null, RequestOptions options = null) #pragma warning restore AZC0002 { - requestOptions ??= new RequestOptions(); - HttpMessage message = CreateCloseClientConnectionRequest(connectionId, reason, requestOptions); - if (requestOptions.PerCallPolicy != null) + options ??= new RequestOptions(); + HttpMessage message = CreateCloseClientConnectionRequest(connectionId, reason, options); + if (options.PerCallPolicy != null) { - message.SetProperty("RequestOptionsPerCallPolicyCallback", requestOptions.PerCallPolicy); + message.SetProperty("RequestOptionsPerCallPolicyCallback", options.PerCallPolicy); } using var scope = _clientDiagnostics.CreateScope("WebPubSubServiceClient.CloseClientConnection"); scope.Start(); try { - Pipeline.Send(message, requestOptions.CancellationToken); - if (requestOptions.StatusOption == ResponseStatusOption.Default) + Pipeline.Send(message, options.CancellationToken); + if (options.StatusOption == ResponseStatusOption.Default) { switch (message.Response.Status) { @@ -331,8 +331,8 @@ public virtual Response CloseClientConnection(string connectionId, string reason /// Create Request for and operations. /// Target connection Id. /// The reason closing the client connection. - /// The request options. - private HttpMessage CreateCloseClientConnectionRequest(string connectionId, string reason = null, RequestOptions requestOptions = null) + /// The request options. + private HttpMessage CreateCloseClientConnectionRequest(string connectionId, string reason = null, RequestOptions options = null) { var message = Pipeline.CreateMessage(); var request = message.Request; @@ -358,24 +358,24 @@ private HttpMessage CreateCloseClientConnectionRequest(string connectionId, stri /// Send content inside request body to the specific connection. /// The connection Id. /// Upload file type. - /// The request body. - /// The request options. + /// The content to send as the body of the request. + /// The request options. #pragma warning disable AZC0002 - public virtual async Task SendToConnectionAsync(string connectionId, string contentType, RequestContent requestBody, RequestOptions requestOptions = null) + public virtual async Task SendToConnectionAsync(string connectionId, string contentType, RequestContent content, RequestOptions options = null) #pragma warning restore AZC0002 { - requestOptions ??= new RequestOptions(); - HttpMessage message = CreateSendToConnectionRequest(connectionId, contentType, requestBody, requestOptions); - if (requestOptions.PerCallPolicy != null) + options ??= new RequestOptions(); + HttpMessage message = CreateSendToConnectionRequest(connectionId, contentType, content, options); + if (options.PerCallPolicy != null) { - message.SetProperty("RequestOptionsPerCallPolicyCallback", requestOptions.PerCallPolicy); + message.SetProperty("RequestOptionsPerCallPolicyCallback", options.PerCallPolicy); } using var scope = _clientDiagnostics.CreateScope("WebPubSubServiceClient.SendToConnection"); scope.Start(); try { - await Pipeline.SendAsync(message, requestOptions.CancellationToken).ConfigureAwait(false); - if (requestOptions.StatusOption == ResponseStatusOption.Default) + await Pipeline.SendAsync(message, options.CancellationToken).ConfigureAwait(false); + if (options.StatusOption == ResponseStatusOption.Default) { switch (message.Response.Status) { @@ -400,24 +400,24 @@ public virtual async Task SendToConnectionAsync(string connectionId, s /// Send content inside request body to the specific connection. /// The connection Id. /// Upload file type. - /// The request body. - /// The request options. + /// The content to send as the body of the request. + /// The request options. #pragma warning disable AZC0002 - public virtual Response SendToConnection(string connectionId, string contentType, RequestContent requestBody, RequestOptions requestOptions = null) + public virtual Response SendToConnection(string connectionId, string contentType, RequestContent content, RequestOptions options = null) #pragma warning restore AZC0002 { - requestOptions ??= new RequestOptions(); - HttpMessage message = CreateSendToConnectionRequest(connectionId, contentType, requestBody, requestOptions); - if (requestOptions.PerCallPolicy != null) + options ??= new RequestOptions(); + HttpMessage message = CreateSendToConnectionRequest(connectionId, contentType, content, options); + if (options.PerCallPolicy != null) { - message.SetProperty("RequestOptionsPerCallPolicyCallback", requestOptions.PerCallPolicy); + message.SetProperty("RequestOptionsPerCallPolicyCallback", options.PerCallPolicy); } using var scope = _clientDiagnostics.CreateScope("WebPubSubServiceClient.SendToConnection"); scope.Start(); try { - Pipeline.Send(message, requestOptions.CancellationToken); - if (requestOptions.StatusOption == ResponseStatusOption.Default) + Pipeline.Send(message, options.CancellationToken); + if (options.StatusOption == ResponseStatusOption.Default) { switch (message.Response.Status) { @@ -442,9 +442,9 @@ public virtual Response SendToConnection(string connectionId, string contentType /// Create Request for and operations. /// The connection Id. /// Upload file type. - /// The request body. - /// The request options. - private HttpMessage CreateSendToConnectionRequest(string connectionId, string contentType, RequestContent requestBody, RequestOptions requestOptions = null) + /// The content to send as the body of the request. + /// The request options. + private HttpMessage CreateSendToConnectionRequest(string connectionId, string contentType, RequestContent content, RequestOptions options = null) { var message = Pipeline.CreateMessage(); var request = message.Request; @@ -462,29 +462,29 @@ private HttpMessage CreateSendToConnectionRequest(string connectionId, string co } request.Uri = uri; request.Headers.Add("Content-Type", contentType); - request.Content = requestBody; + request.Content = content; return message; } /// Check if there are any client connections inside the given group. /// Target group name, which length should be greater than 0 and less than 1025. - /// The request options. + /// The request options. #pragma warning disable AZC0002 - internal virtual async Task GroupExistsImplAsync(string group, RequestOptions requestOptions = null) + internal virtual async Task GroupExistsImplAsync(string group, RequestOptions options = null) #pragma warning restore AZC0002 { - requestOptions ??= new RequestOptions(); - HttpMessage message = CreateGroupExistsImplRequest(group, requestOptions); - if (requestOptions.PerCallPolicy != null) + options ??= new RequestOptions(); + HttpMessage message = CreateGroupExistsImplRequest(group, options); + if (options.PerCallPolicy != null) { - message.SetProperty("RequestOptionsPerCallPolicyCallback", requestOptions.PerCallPolicy); + message.SetProperty("RequestOptionsPerCallPolicyCallback", options.PerCallPolicy); } using var scope = _clientDiagnostics.CreateScope("WebPubSubServiceClient.GroupExistsImpl"); scope.Start(); try { - await Pipeline.SendAsync(message, requestOptions.CancellationToken).ConfigureAwait(false); - if (requestOptions.StatusOption == ResponseStatusOption.Default) + await Pipeline.SendAsync(message, options.CancellationToken).ConfigureAwait(false); + if (options.StatusOption == ResponseStatusOption.Default) { switch (message.Response.Status) { @@ -509,23 +509,23 @@ internal virtual async Task GroupExistsImplAsync(string group, Request /// Check if there are any client connections inside the given group. /// Target group name, which length should be greater than 0 and less than 1025. - /// The request options. + /// The request options. #pragma warning disable AZC0002 - internal virtual Response GroupExistsImpl(string group, RequestOptions requestOptions = null) + internal virtual Response GroupExistsImpl(string group, RequestOptions options = null) #pragma warning restore AZC0002 { - requestOptions ??= new RequestOptions(); - HttpMessage message = CreateGroupExistsImplRequest(group, requestOptions); - if (requestOptions.PerCallPolicy != null) + options ??= new RequestOptions(); + HttpMessage message = CreateGroupExistsImplRequest(group, options); + if (options.PerCallPolicy != null) { - message.SetProperty("RequestOptionsPerCallPolicyCallback", requestOptions.PerCallPolicy); + message.SetProperty("RequestOptionsPerCallPolicyCallback", options.PerCallPolicy); } using var scope = _clientDiagnostics.CreateScope("WebPubSubServiceClient.GroupExistsImpl"); scope.Start(); try { - Pipeline.Send(message, requestOptions.CancellationToken); - if (requestOptions.StatusOption == ResponseStatusOption.Default) + Pipeline.Send(message, options.CancellationToken); + if (options.StatusOption == ResponseStatusOption.Default) { switch (message.Response.Status) { @@ -550,8 +550,8 @@ internal virtual Response GroupExistsImpl(string group, RequestOptions requestOp /// Create Request for and operations. /// Target group name, which length should be greater than 0 and less than 1025. - /// The request options. - private HttpMessage CreateGroupExistsImplRequest(string group, RequestOptions requestOptions = null) + /// The request options. + private HttpMessage CreateGroupExistsImplRequest(string group, RequestOptions options = null) { var message = Pipeline.CreateMessage(); var request = message.Request; @@ -573,25 +573,25 @@ private HttpMessage CreateGroupExistsImplRequest(string group, RequestOptions re /// Send content inside request body to a group of connections. /// Target group name, which length should be greater than 0 and less than 1025. /// Upload file type. - /// The request body. + /// The content to send as the body of the request. /// Excluded connection Ids. - /// The request options. + /// The request options. #pragma warning disable AZC0002 - public virtual async Task SendToGroupAsync(string group, string contentType, RequestContent requestBody, IEnumerable excluded = null, RequestOptions requestOptions = null) + public virtual async Task SendToGroupAsync(string group, string contentType, RequestContent content, IEnumerable excluded = null, RequestOptions options = null) #pragma warning restore AZC0002 { - requestOptions ??= new RequestOptions(); - HttpMessage message = CreateSendToGroupRequest(group, contentType, requestBody, excluded, requestOptions); - if (requestOptions.PerCallPolicy != null) + options ??= new RequestOptions(); + HttpMessage message = CreateSendToGroupRequest(group, contentType, content, excluded, options); + if (options.PerCallPolicy != null) { - message.SetProperty("RequestOptionsPerCallPolicyCallback", requestOptions.PerCallPolicy); + message.SetProperty("RequestOptionsPerCallPolicyCallback", options.PerCallPolicy); } using var scope = _clientDiagnostics.CreateScope("WebPubSubServiceClient.SendToGroup"); scope.Start(); try { - await Pipeline.SendAsync(message, requestOptions.CancellationToken).ConfigureAwait(false); - if (requestOptions.StatusOption == ResponseStatusOption.Default) + await Pipeline.SendAsync(message, options.CancellationToken).ConfigureAwait(false); + if (options.StatusOption == ResponseStatusOption.Default) { switch (message.Response.Status) { @@ -616,25 +616,25 @@ public virtual async Task SendToGroupAsync(string group, string conten /// Send content inside request body to a group of connections. /// Target group name, which length should be greater than 0 and less than 1025. /// Upload file type. - /// The request body. + /// The content to send as the body of the request. /// Excluded connection Ids. - /// The request options. + /// The request options. #pragma warning disable AZC0002 - public virtual Response SendToGroup(string group, string contentType, RequestContent requestBody, IEnumerable excluded = null, RequestOptions requestOptions = null) + public virtual Response SendToGroup(string group, string contentType, RequestContent content, IEnumerable excluded = null, RequestOptions options = null) #pragma warning restore AZC0002 { - requestOptions ??= new RequestOptions(); - HttpMessage message = CreateSendToGroupRequest(group, contentType, requestBody, excluded, requestOptions); - if (requestOptions.PerCallPolicy != null) + options ??= new RequestOptions(); + HttpMessage message = CreateSendToGroupRequest(group, contentType, content, excluded, options); + if (options.PerCallPolicy != null) { - message.SetProperty("RequestOptionsPerCallPolicyCallback", requestOptions.PerCallPolicy); + message.SetProperty("RequestOptionsPerCallPolicyCallback", options.PerCallPolicy); } using var scope = _clientDiagnostics.CreateScope("WebPubSubServiceClient.SendToGroup"); scope.Start(); try { - Pipeline.Send(message, requestOptions.CancellationToken); - if (requestOptions.StatusOption == ResponseStatusOption.Default) + Pipeline.Send(message, options.CancellationToken); + if (options.StatusOption == ResponseStatusOption.Default) { switch (message.Response.Status) { @@ -659,10 +659,10 @@ public virtual Response SendToGroup(string group, string contentType, RequestCon /// Create Request for and operations. /// Target group name, which length should be greater than 0 and less than 1025. /// Upload file type. - /// The request body. + /// The content to send as the body of the request. /// Excluded connection Ids. - /// The request options. - private HttpMessage CreateSendToGroupRequest(string group, string contentType, RequestContent requestBody, IEnumerable excluded = null, RequestOptions requestOptions = null) + /// The request options. + private HttpMessage CreateSendToGroupRequest(string group, string contentType, RequestContent content, IEnumerable excluded = null, RequestOptions options = null) { var message = Pipeline.CreateMessage(); var request = message.Request; @@ -684,30 +684,30 @@ private HttpMessage CreateSendToGroupRequest(string group, string contentType, R } request.Uri = uri; request.Headers.Add("Content-Type", contentType); - request.Content = requestBody; + request.Content = content; return message; } /// Add a connection to the target group. /// Target group name, which length should be greater than 0 and less than 1025. /// Target connection Id. - /// The request options. + /// The request options. #pragma warning disable AZC0002 - public virtual async Task AddConnectionToGroupAsync(string group, string connectionId, RequestOptions requestOptions = null) + public virtual async Task AddConnectionToGroupAsync(string group, string connectionId, RequestOptions options = null) #pragma warning restore AZC0002 { - requestOptions ??= new RequestOptions(); - HttpMessage message = CreateAddConnectionToGroupRequest(group, connectionId, requestOptions); - if (requestOptions.PerCallPolicy != null) + options ??= new RequestOptions(); + HttpMessage message = CreateAddConnectionToGroupRequest(group, connectionId, options); + if (options.PerCallPolicy != null) { - message.SetProperty("RequestOptionsPerCallPolicyCallback", requestOptions.PerCallPolicy); + message.SetProperty("RequestOptionsPerCallPolicyCallback", options.PerCallPolicy); } using var scope = _clientDiagnostics.CreateScope("WebPubSubServiceClient.AddConnectionToGroup"); scope.Start(); try { - await Pipeline.SendAsync(message, requestOptions.CancellationToken).ConfigureAwait(false); - if (requestOptions.StatusOption == ResponseStatusOption.Default) + await Pipeline.SendAsync(message, options.CancellationToken).ConfigureAwait(false); + if (options.StatusOption == ResponseStatusOption.Default) { switch (message.Response.Status) { @@ -733,23 +733,23 @@ public virtual async Task AddConnectionToGroupAsync(string group, stri /// Add a connection to the target group. /// Target group name, which length should be greater than 0 and less than 1025. /// Target connection Id. - /// The request options. + /// The request options. #pragma warning disable AZC0002 - public virtual Response AddConnectionToGroup(string group, string connectionId, RequestOptions requestOptions = null) + public virtual Response AddConnectionToGroup(string group, string connectionId, RequestOptions options = null) #pragma warning restore AZC0002 { - requestOptions ??= new RequestOptions(); - HttpMessage message = CreateAddConnectionToGroupRequest(group, connectionId, requestOptions); - if (requestOptions.PerCallPolicy != null) + options ??= new RequestOptions(); + HttpMessage message = CreateAddConnectionToGroupRequest(group, connectionId, options); + if (options.PerCallPolicy != null) { - message.SetProperty("RequestOptionsPerCallPolicyCallback", requestOptions.PerCallPolicy); + message.SetProperty("RequestOptionsPerCallPolicyCallback", options.PerCallPolicy); } using var scope = _clientDiagnostics.CreateScope("WebPubSubServiceClient.AddConnectionToGroup"); scope.Start(); try { - Pipeline.Send(message, requestOptions.CancellationToken); - if (requestOptions.StatusOption == ResponseStatusOption.Default) + Pipeline.Send(message, options.CancellationToken); + if (options.StatusOption == ResponseStatusOption.Default) { switch (message.Response.Status) { @@ -775,8 +775,8 @@ public virtual Response AddConnectionToGroup(string group, string connectionId, /// Create Request for and operations. /// Target group name, which length should be greater than 0 and less than 1025. /// Target connection Id. - /// The request options. - private HttpMessage CreateAddConnectionToGroupRequest(string group, string connectionId, RequestOptions requestOptions = null) + /// The request options. + private HttpMessage CreateAddConnectionToGroupRequest(string group, string connectionId, RequestOptions options = null) { var message = Pipeline.CreateMessage(); var request = message.Request; @@ -800,23 +800,23 @@ private HttpMessage CreateAddConnectionToGroupRequest(string group, string conne /// Remove a connection from the target group. /// Target group name, which length should be greater than 0 and less than 1025. /// Target connection Id. - /// The request options. + /// The request options. #pragma warning disable AZC0002 - public virtual async Task RemoveConnectionFromGroupAsync(string group, string connectionId, RequestOptions requestOptions = null) + public virtual async Task RemoveConnectionFromGroupAsync(string group, string connectionId, RequestOptions options = null) #pragma warning restore AZC0002 { - requestOptions ??= new RequestOptions(); - HttpMessage message = CreateRemoveConnectionFromGroupRequest(group, connectionId, requestOptions); - if (requestOptions.PerCallPolicy != null) + options ??= new RequestOptions(); + HttpMessage message = CreateRemoveConnectionFromGroupRequest(group, connectionId, options); + if (options.PerCallPolicy != null) { - message.SetProperty("RequestOptionsPerCallPolicyCallback", requestOptions.PerCallPolicy); + message.SetProperty("RequestOptionsPerCallPolicyCallback", options.PerCallPolicy); } using var scope = _clientDiagnostics.CreateScope("WebPubSubServiceClient.RemoveConnectionFromGroup"); scope.Start(); try { - await Pipeline.SendAsync(message, requestOptions.CancellationToken).ConfigureAwait(false); - if (requestOptions.StatusOption == ResponseStatusOption.Default) + await Pipeline.SendAsync(message, options.CancellationToken).ConfigureAwait(false); + if (options.StatusOption == ResponseStatusOption.Default) { switch (message.Response.Status) { @@ -841,23 +841,23 @@ public virtual async Task RemoveConnectionFromGroupAsync(string group, /// Remove a connection from the target group. /// Target group name, which length should be greater than 0 and less than 1025. /// Target connection Id. - /// The request options. + /// The request options. #pragma warning disable AZC0002 - public virtual Response RemoveConnectionFromGroup(string group, string connectionId, RequestOptions requestOptions = null) + public virtual Response RemoveConnectionFromGroup(string group, string connectionId, RequestOptions options = null) #pragma warning restore AZC0002 { - requestOptions ??= new RequestOptions(); - HttpMessage message = CreateRemoveConnectionFromGroupRequest(group, connectionId, requestOptions); - if (requestOptions.PerCallPolicy != null) + options ??= new RequestOptions(); + HttpMessage message = CreateRemoveConnectionFromGroupRequest(group, connectionId, options); + if (options.PerCallPolicy != null) { - message.SetProperty("RequestOptionsPerCallPolicyCallback", requestOptions.PerCallPolicy); + message.SetProperty("RequestOptionsPerCallPolicyCallback", options.PerCallPolicy); } using var scope = _clientDiagnostics.CreateScope("WebPubSubServiceClient.RemoveConnectionFromGroup"); scope.Start(); try { - Pipeline.Send(message, requestOptions.CancellationToken); - if (requestOptions.StatusOption == ResponseStatusOption.Default) + Pipeline.Send(message, options.CancellationToken); + if (options.StatusOption == ResponseStatusOption.Default) { switch (message.Response.Status) { @@ -882,8 +882,8 @@ public virtual Response RemoveConnectionFromGroup(string group, string connectio /// Create Request for and operations. /// Target group name, which length should be greater than 0 and less than 1025. /// Target connection Id. - /// The request options. - private HttpMessage CreateRemoveConnectionFromGroupRequest(string group, string connectionId, RequestOptions requestOptions = null) + /// The request options. + private HttpMessage CreateRemoveConnectionFromGroupRequest(string group, string connectionId, RequestOptions options = null) { var message = Pipeline.CreateMessage(); var request = message.Request; @@ -906,23 +906,23 @@ private HttpMessage CreateRemoveConnectionFromGroupRequest(string group, string /// Check if there are any client connections connected for the given user. /// Target user Id. - /// The request options. + /// The request options. #pragma warning disable AZC0002 - internal virtual async Task UserExistsImplAsync(string userId, RequestOptions requestOptions = null) + internal virtual async Task UserExistsImplAsync(string userId, RequestOptions options = null) #pragma warning restore AZC0002 { - requestOptions ??= new RequestOptions(); - HttpMessage message = CreateUserExistsImplRequest(userId, requestOptions); - if (requestOptions.PerCallPolicy != null) + options ??= new RequestOptions(); + HttpMessage message = CreateUserExistsImplRequest(userId, options); + if (options.PerCallPolicy != null) { - message.SetProperty("RequestOptionsPerCallPolicyCallback", requestOptions.PerCallPolicy); + message.SetProperty("RequestOptionsPerCallPolicyCallback", options.PerCallPolicy); } using var scope = _clientDiagnostics.CreateScope("WebPubSubServiceClient.UserExistsImpl"); scope.Start(); try { - await Pipeline.SendAsync(message, requestOptions.CancellationToken).ConfigureAwait(false); - if (requestOptions.StatusOption == ResponseStatusOption.Default) + await Pipeline.SendAsync(message, options.CancellationToken).ConfigureAwait(false); + if (options.StatusOption == ResponseStatusOption.Default) { switch (message.Response.Status) { @@ -947,23 +947,23 @@ internal virtual async Task UserExistsImplAsync(string userId, Request /// Check if there are any client connections connected for the given user. /// Target user Id. - /// The request options. + /// The request options. #pragma warning disable AZC0002 - internal virtual Response UserExistsImpl(string userId, RequestOptions requestOptions = null) + internal virtual Response UserExistsImpl(string userId, RequestOptions options = null) #pragma warning restore AZC0002 { - requestOptions ??= new RequestOptions(); - HttpMessage message = CreateUserExistsImplRequest(userId, requestOptions); - if (requestOptions.PerCallPolicy != null) + options ??= new RequestOptions(); + HttpMessage message = CreateUserExistsImplRequest(userId, options); + if (options.PerCallPolicy != null) { - message.SetProperty("RequestOptionsPerCallPolicyCallback", requestOptions.PerCallPolicy); + message.SetProperty("RequestOptionsPerCallPolicyCallback", options.PerCallPolicy); } using var scope = _clientDiagnostics.CreateScope("WebPubSubServiceClient.UserExistsImpl"); scope.Start(); try { - Pipeline.Send(message, requestOptions.CancellationToken); - if (requestOptions.StatusOption == ResponseStatusOption.Default) + Pipeline.Send(message, options.CancellationToken); + if (options.StatusOption == ResponseStatusOption.Default) { switch (message.Response.Status) { @@ -988,8 +988,8 @@ internal virtual Response UserExistsImpl(string userId, RequestOptions requestOp /// Create Request for and operations. /// Target user Id. - /// The request options. - private HttpMessage CreateUserExistsImplRequest(string userId, RequestOptions requestOptions = null) + /// The request options. + private HttpMessage CreateUserExistsImplRequest(string userId, RequestOptions options = null) { var message = Pipeline.CreateMessage(); var request = message.Request; @@ -1011,24 +1011,24 @@ private HttpMessage CreateUserExistsImplRequest(string userId, RequestOptions re /// Send content inside request body to the specific user. /// The user Id. /// Upload file type. - /// The request body. - /// The request options. + /// The content to send as the body of the request. + /// The request options. #pragma warning disable AZC0002 - public virtual async Task SendToUserAsync(string userId, string contentType, RequestContent requestBody, RequestOptions requestOptions = null) + public virtual async Task SendToUserAsync(string userId, string contentType, RequestContent content, RequestOptions options = null) #pragma warning restore AZC0002 { - requestOptions ??= new RequestOptions(); - HttpMessage message = CreateSendToUserRequest(userId, contentType, requestBody, requestOptions); - if (requestOptions.PerCallPolicy != null) + options ??= new RequestOptions(); + HttpMessage message = CreateSendToUserRequest(userId, contentType, content, options); + if (options.PerCallPolicy != null) { - message.SetProperty("RequestOptionsPerCallPolicyCallback", requestOptions.PerCallPolicy); + message.SetProperty("RequestOptionsPerCallPolicyCallback", options.PerCallPolicy); } using var scope = _clientDiagnostics.CreateScope("WebPubSubServiceClient.SendToUser"); scope.Start(); try { - await Pipeline.SendAsync(message, requestOptions.CancellationToken).ConfigureAwait(false); - if (requestOptions.StatusOption == ResponseStatusOption.Default) + await Pipeline.SendAsync(message, options.CancellationToken).ConfigureAwait(false); + if (options.StatusOption == ResponseStatusOption.Default) { switch (message.Response.Status) { @@ -1053,24 +1053,24 @@ public virtual async Task SendToUserAsync(string userId, string conten /// Send content inside request body to the specific user. /// The user Id. /// Upload file type. - /// The request body. - /// The request options. + /// The content to send as the body of the request. + /// The request options. #pragma warning disable AZC0002 - public virtual Response SendToUser(string userId, string contentType, RequestContent requestBody, RequestOptions requestOptions = null) + public virtual Response SendToUser(string userId, string contentType, RequestContent content, RequestOptions options = null) #pragma warning restore AZC0002 { - requestOptions ??= new RequestOptions(); - HttpMessage message = CreateSendToUserRequest(userId, contentType, requestBody, requestOptions); - if (requestOptions.PerCallPolicy != null) + options ??= new RequestOptions(); + HttpMessage message = CreateSendToUserRequest(userId, contentType, content, options); + if (options.PerCallPolicy != null) { - message.SetProperty("RequestOptionsPerCallPolicyCallback", requestOptions.PerCallPolicy); + message.SetProperty("RequestOptionsPerCallPolicyCallback", options.PerCallPolicy); } using var scope = _clientDiagnostics.CreateScope("WebPubSubServiceClient.SendToUser"); scope.Start(); try { - Pipeline.Send(message, requestOptions.CancellationToken); - if (requestOptions.StatusOption == ResponseStatusOption.Default) + Pipeline.Send(message, options.CancellationToken); + if (options.StatusOption == ResponseStatusOption.Default) { switch (message.Response.Status) { @@ -1095,9 +1095,9 @@ public virtual Response SendToUser(string userId, string contentType, RequestCon /// Create Request for and operations. /// The user Id. /// Upload file type. - /// The request body. - /// The request options. - private HttpMessage CreateSendToUserRequest(string userId, string contentType, RequestContent requestBody, RequestOptions requestOptions = null) + /// The content to send as the body of the request. + /// The request options. + private HttpMessage CreateSendToUserRequest(string userId, string contentType, RequestContent content, RequestOptions options = null) { var message = Pipeline.CreateMessage(); var request = message.Request; @@ -1115,30 +1115,30 @@ private HttpMessage CreateSendToUserRequest(string userId, string contentType, R } request.Uri = uri; request.Headers.Add("Content-Type", contentType); - request.Content = requestBody; + request.Content = content; return message; } /// Add a user to the target group. /// Target group name, which length should be greater than 0 and less than 1025. /// Target user Id. - /// The request options. + /// The request options. #pragma warning disable AZC0002 - public virtual async Task AddUserToGroupAsync(string group, string userId, RequestOptions requestOptions = null) + public virtual async Task AddUserToGroupAsync(string group, string userId, RequestOptions options = null) #pragma warning restore AZC0002 { - requestOptions ??= new RequestOptions(); - HttpMessage message = CreateAddUserToGroupRequest(group, userId, requestOptions); - if (requestOptions.PerCallPolicy != null) + options ??= new RequestOptions(); + HttpMessage message = CreateAddUserToGroupRequest(group, userId, options); + if (options.PerCallPolicy != null) { - message.SetProperty("RequestOptionsPerCallPolicyCallback", requestOptions.PerCallPolicy); + message.SetProperty("RequestOptionsPerCallPolicyCallback", options.PerCallPolicy); } using var scope = _clientDiagnostics.CreateScope("WebPubSubServiceClient.AddUserToGroup"); scope.Start(); try { - await Pipeline.SendAsync(message, requestOptions.CancellationToken).ConfigureAwait(false); - if (requestOptions.StatusOption == ResponseStatusOption.Default) + await Pipeline.SendAsync(message, options.CancellationToken).ConfigureAwait(false); + if (options.StatusOption == ResponseStatusOption.Default) { switch (message.Response.Status) { @@ -1164,23 +1164,23 @@ public virtual async Task AddUserToGroupAsync(string group, string use /// Add a user to the target group. /// Target group name, which length should be greater than 0 and less than 1025. /// Target user Id. - /// The request options. + /// The request options. #pragma warning disable AZC0002 - public virtual Response AddUserToGroup(string group, string userId, RequestOptions requestOptions = null) + public virtual Response AddUserToGroup(string group, string userId, RequestOptions options = null) #pragma warning restore AZC0002 { - requestOptions ??= new RequestOptions(); - HttpMessage message = CreateAddUserToGroupRequest(group, userId, requestOptions); - if (requestOptions.PerCallPolicy != null) + options ??= new RequestOptions(); + HttpMessage message = CreateAddUserToGroupRequest(group, userId, options); + if (options.PerCallPolicy != null) { - message.SetProperty("RequestOptionsPerCallPolicyCallback", requestOptions.PerCallPolicy); + message.SetProperty("RequestOptionsPerCallPolicyCallback", options.PerCallPolicy); } using var scope = _clientDiagnostics.CreateScope("WebPubSubServiceClient.AddUserToGroup"); scope.Start(); try { - Pipeline.Send(message, requestOptions.CancellationToken); - if (requestOptions.StatusOption == ResponseStatusOption.Default) + Pipeline.Send(message, options.CancellationToken); + if (options.StatusOption == ResponseStatusOption.Default) { switch (message.Response.Status) { @@ -1206,8 +1206,8 @@ public virtual Response AddUserToGroup(string group, string userId, RequestOptio /// Create Request for and operations. /// Target group name, which length should be greater than 0 and less than 1025. /// Target user Id. - /// The request options. - private HttpMessage CreateAddUserToGroupRequest(string group, string userId, RequestOptions requestOptions = null) + /// The request options. + private HttpMessage CreateAddUserToGroupRequest(string group, string userId, RequestOptions options = null) { var message = Pipeline.CreateMessage(); var request = message.Request; @@ -1231,23 +1231,23 @@ private HttpMessage CreateAddUserToGroupRequest(string group, string userId, Req /// Remove a user from the target group. /// Target group name, which length should be greater than 0 and less than 1025. /// Target user Id. - /// The request options. + /// The request options. #pragma warning disable AZC0002 - public virtual async Task RemoveUserFromGroupAsync(string group, string userId, RequestOptions requestOptions = null) + public virtual async Task RemoveUserFromGroupAsync(string group, string userId, RequestOptions options = null) #pragma warning restore AZC0002 { - requestOptions ??= new RequestOptions(); - HttpMessage message = CreateRemoveUserFromGroupRequest(group, userId, requestOptions); - if (requestOptions.PerCallPolicy != null) + options ??= new RequestOptions(); + HttpMessage message = CreateRemoveUserFromGroupRequest(group, userId, options); + if (options.PerCallPolicy != null) { - message.SetProperty("RequestOptionsPerCallPolicyCallback", requestOptions.PerCallPolicy); + message.SetProperty("RequestOptionsPerCallPolicyCallback", options.PerCallPolicy); } using var scope = _clientDiagnostics.CreateScope("WebPubSubServiceClient.RemoveUserFromGroup"); scope.Start(); try { - await Pipeline.SendAsync(message, requestOptions.CancellationToken).ConfigureAwait(false); - if (requestOptions.StatusOption == ResponseStatusOption.Default) + await Pipeline.SendAsync(message, options.CancellationToken).ConfigureAwait(false); + if (options.StatusOption == ResponseStatusOption.Default) { switch (message.Response.Status) { @@ -1272,23 +1272,23 @@ public virtual async Task RemoveUserFromGroupAsync(string group, strin /// Remove a user from the target group. /// Target group name, which length should be greater than 0 and less than 1025. /// Target user Id. - /// The request options. + /// The request options. #pragma warning disable AZC0002 - public virtual Response RemoveUserFromGroup(string group, string userId, RequestOptions requestOptions = null) + public virtual Response RemoveUserFromGroup(string group, string userId, RequestOptions options = null) #pragma warning restore AZC0002 { - requestOptions ??= new RequestOptions(); - HttpMessage message = CreateRemoveUserFromGroupRequest(group, userId, requestOptions); - if (requestOptions.PerCallPolicy != null) + options ??= new RequestOptions(); + HttpMessage message = CreateRemoveUserFromGroupRequest(group, userId, options); + if (options.PerCallPolicy != null) { - message.SetProperty("RequestOptionsPerCallPolicyCallback", requestOptions.PerCallPolicy); + message.SetProperty("RequestOptionsPerCallPolicyCallback", options.PerCallPolicy); } using var scope = _clientDiagnostics.CreateScope("WebPubSubServiceClient.RemoveUserFromGroup"); scope.Start(); try { - Pipeline.Send(message, requestOptions.CancellationToken); - if (requestOptions.StatusOption == ResponseStatusOption.Default) + Pipeline.Send(message, options.CancellationToken); + if (options.StatusOption == ResponseStatusOption.Default) { switch (message.Response.Status) { @@ -1313,8 +1313,8 @@ public virtual Response RemoveUserFromGroup(string group, string userId, Request /// Create Request for and operations. /// Target group name, which length should be greater than 0 and less than 1025. /// Target user Id. - /// The request options. - private HttpMessage CreateRemoveUserFromGroupRequest(string group, string userId, RequestOptions requestOptions = null) + /// The request options. + private HttpMessage CreateRemoveUserFromGroupRequest(string group, string userId, RequestOptions options = null) { var message = Pipeline.CreateMessage(); var request = message.Request; @@ -1337,23 +1337,23 @@ private HttpMessage CreateRemoveUserFromGroupRequest(string group, string userId /// Remove a user from all groups. /// Target user Id. - /// The request options. + /// The request options. #pragma warning disable AZC0002 - public virtual async Task RemoveUserFromAllGroupsAsync(string userId, RequestOptions requestOptions = null) + public virtual async Task RemoveUserFromAllGroupsAsync(string userId, RequestOptions options = null) #pragma warning restore AZC0002 { - requestOptions ??= new RequestOptions(); - HttpMessage message = CreateRemoveUserFromAllGroupsRequest(userId, requestOptions); - if (requestOptions.PerCallPolicy != null) + options ??= new RequestOptions(); + HttpMessage message = CreateRemoveUserFromAllGroupsRequest(userId, options); + if (options.PerCallPolicy != null) { - message.SetProperty("RequestOptionsPerCallPolicyCallback", requestOptions.PerCallPolicy); + message.SetProperty("RequestOptionsPerCallPolicyCallback", options.PerCallPolicy); } using var scope = _clientDiagnostics.CreateScope("WebPubSubServiceClient.RemoveUserFromAllGroups"); scope.Start(); try { - await Pipeline.SendAsync(message, requestOptions.CancellationToken).ConfigureAwait(false); - if (requestOptions.StatusOption == ResponseStatusOption.Default) + await Pipeline.SendAsync(message, options.CancellationToken).ConfigureAwait(false); + if (options.StatusOption == ResponseStatusOption.Default) { switch (message.Response.Status) { @@ -1377,23 +1377,23 @@ public virtual async Task RemoveUserFromAllGroupsAsync(string userId, /// Remove a user from all groups. /// Target user Id. - /// The request options. + /// The request options. #pragma warning disable AZC0002 - public virtual Response RemoveUserFromAllGroups(string userId, RequestOptions requestOptions = null) + public virtual Response RemoveUserFromAllGroups(string userId, RequestOptions options = null) #pragma warning restore AZC0002 { - requestOptions ??= new RequestOptions(); - HttpMessage message = CreateRemoveUserFromAllGroupsRequest(userId, requestOptions); - if (requestOptions.PerCallPolicy != null) + options ??= new RequestOptions(); + HttpMessage message = CreateRemoveUserFromAllGroupsRequest(userId, options); + if (options.PerCallPolicy != null) { - message.SetProperty("RequestOptionsPerCallPolicyCallback", requestOptions.PerCallPolicy); + message.SetProperty("RequestOptionsPerCallPolicyCallback", options.PerCallPolicy); } using var scope = _clientDiagnostics.CreateScope("WebPubSubServiceClient.RemoveUserFromAllGroups"); scope.Start(); try { - Pipeline.Send(message, requestOptions.CancellationToken); - if (requestOptions.StatusOption == ResponseStatusOption.Default) + Pipeline.Send(message, options.CancellationToken); + if (options.StatusOption == ResponseStatusOption.Default) { switch (message.Response.Status) { @@ -1417,8 +1417,8 @@ public virtual Response RemoveUserFromAllGroups(string userId, RequestOptions re /// Create Request for and operations. /// Target user Id. - /// The request options. - private HttpMessage CreateRemoveUserFromAllGroupsRequest(string userId, RequestOptions requestOptions = null) + /// The request options. + private HttpMessage CreateRemoveUserFromAllGroupsRequest(string userId, RequestOptions options = null) { var message = Pipeline.CreateMessage(); var request = message.Request; @@ -1442,23 +1442,23 @@ private HttpMessage CreateRemoveUserFromAllGroupsRequest(string userId, RequestO /// The permission: current supported actions are joinLeaveGroup and sendToGroup. /// Target connection Id. /// Optional. If not set, grant the permission to all the targets. If set, grant the permission to the specific target. The meaning of the target depends on the specific permission. - /// The request options. + /// The request options. #pragma warning disable AZC0002 - internal virtual async Task GrantPermissionAsync(string permission, string connectionId, string targetName = null, RequestOptions requestOptions = null) + internal virtual async Task GrantPermissionAsync(string permission, string connectionId, string targetName = null, RequestOptions options = null) #pragma warning restore AZC0002 { - requestOptions ??= new RequestOptions(); - HttpMessage message = CreateGrantPermissionRequest(permission, connectionId, targetName, requestOptions); - if (requestOptions.PerCallPolicy != null) + options ??= new RequestOptions(); + HttpMessage message = CreateGrantPermissionRequest(permission, connectionId, targetName, options); + if (options.PerCallPolicy != null) { - message.SetProperty("RequestOptionsPerCallPolicyCallback", requestOptions.PerCallPolicy); + message.SetProperty("RequestOptionsPerCallPolicyCallback", options.PerCallPolicy); } using var scope = _clientDiagnostics.CreateScope("WebPubSubServiceClient.GrantPermission"); scope.Start(); try { - await Pipeline.SendAsync(message, requestOptions.CancellationToken).ConfigureAwait(false); - if (requestOptions.StatusOption == ResponseStatusOption.Default) + await Pipeline.SendAsync(message, options.CancellationToken).ConfigureAwait(false); + if (options.StatusOption == ResponseStatusOption.Default) { switch (message.Response.Status) { @@ -1484,23 +1484,23 @@ internal virtual async Task GrantPermissionAsync(string permission, st /// The permission: current supported actions are joinLeaveGroup and sendToGroup. /// Target connection Id. /// Optional. If not set, grant the permission to all the targets. If set, grant the permission to the specific target. The meaning of the target depends on the specific permission. - /// The request options. + /// The request options. #pragma warning disable AZC0002 - internal virtual Response GrantPermission(string permission, string connectionId, string targetName = null, RequestOptions requestOptions = null) + internal virtual Response GrantPermission(string permission, string connectionId, string targetName = null, RequestOptions options = null) #pragma warning restore AZC0002 { - requestOptions ??= new RequestOptions(); - HttpMessage message = CreateGrantPermissionRequest(permission, connectionId, targetName, requestOptions); - if (requestOptions.PerCallPolicy != null) + options ??= new RequestOptions(); + HttpMessage message = CreateGrantPermissionRequest(permission, connectionId, targetName, options); + if (options.PerCallPolicy != null) { - message.SetProperty("RequestOptionsPerCallPolicyCallback", requestOptions.PerCallPolicy); + message.SetProperty("RequestOptionsPerCallPolicyCallback", options.PerCallPolicy); } using var scope = _clientDiagnostics.CreateScope("WebPubSubServiceClient.GrantPermission"); scope.Start(); try { - Pipeline.Send(message, requestOptions.CancellationToken); - if (requestOptions.StatusOption == ResponseStatusOption.Default) + Pipeline.Send(message, options.CancellationToken); + if (options.StatusOption == ResponseStatusOption.Default) { switch (message.Response.Status) { @@ -1526,8 +1526,8 @@ internal virtual Response GrantPermission(string permission, string connectionId /// The permission: current supported actions are joinLeaveGroup and sendToGroup. /// Target connection Id. /// Optional. If not set, grant the permission to all the targets. If set, grant the permission to the specific target. The meaning of the target depends on the specific permission. - /// The request options. - private HttpMessage CreateGrantPermissionRequest(string permission, string connectionId, string targetName = null, RequestOptions requestOptions = null) + /// The request options. + private HttpMessage CreateGrantPermissionRequest(string permission, string connectionId, string targetName = null, RequestOptions options = null) { var message = Pipeline.CreateMessage(); var request = message.Request; @@ -1556,23 +1556,23 @@ private HttpMessage CreateGrantPermissionRequest(string permission, string conne /// The permission: current supported actions are joinLeaveGroup and sendToGroup. /// Target connection Id. /// Optional. If not set, revoke the permission for all targets. If set, revoke the permission for the specific target. The meaning of the target depends on the specific permission. - /// The request options. + /// The request options. #pragma warning disable AZC0002 - internal virtual async Task RevokePermissionAsync(string permission, string connectionId, string targetName = null, RequestOptions requestOptions = null) + internal virtual async Task RevokePermissionAsync(string permission, string connectionId, string targetName = null, RequestOptions options = null) #pragma warning restore AZC0002 { - requestOptions ??= new RequestOptions(); - HttpMessage message = CreateRevokePermissionRequest(permission, connectionId, targetName, requestOptions); - if (requestOptions.PerCallPolicy != null) + options ??= new RequestOptions(); + HttpMessage message = CreateRevokePermissionRequest(permission, connectionId, targetName, options); + if (options.PerCallPolicy != null) { - message.SetProperty("RequestOptionsPerCallPolicyCallback", requestOptions.PerCallPolicy); + message.SetProperty("RequestOptionsPerCallPolicyCallback", options.PerCallPolicy); } using var scope = _clientDiagnostics.CreateScope("WebPubSubServiceClient.RevokePermission"); scope.Start(); try { - await Pipeline.SendAsync(message, requestOptions.CancellationToken).ConfigureAwait(false); - if (requestOptions.StatusOption == ResponseStatusOption.Default) + await Pipeline.SendAsync(message, options.CancellationToken).ConfigureAwait(false); + if (options.StatusOption == ResponseStatusOption.Default) { switch (message.Response.Status) { @@ -1598,23 +1598,23 @@ internal virtual async Task RevokePermissionAsync(string permission, s /// The permission: current supported actions are joinLeaveGroup and sendToGroup. /// Target connection Id. /// Optional. If not set, revoke the permission for all targets. If set, revoke the permission for the specific target. The meaning of the target depends on the specific permission. - /// The request options. + /// The request options. #pragma warning disable AZC0002 - internal virtual Response RevokePermission(string permission, string connectionId, string targetName = null, RequestOptions requestOptions = null) + internal virtual Response RevokePermission(string permission, string connectionId, string targetName = null, RequestOptions options = null) #pragma warning restore AZC0002 { - requestOptions ??= new RequestOptions(); - HttpMessage message = CreateRevokePermissionRequest(permission, connectionId, targetName, requestOptions); - if (requestOptions.PerCallPolicy != null) + options ??= new RequestOptions(); + HttpMessage message = CreateRevokePermissionRequest(permission, connectionId, targetName, options); + if (options.PerCallPolicy != null) { - message.SetProperty("RequestOptionsPerCallPolicyCallback", requestOptions.PerCallPolicy); + message.SetProperty("RequestOptionsPerCallPolicyCallback", options.PerCallPolicy); } using var scope = _clientDiagnostics.CreateScope("WebPubSubServiceClient.RevokePermission"); scope.Start(); try { - Pipeline.Send(message, requestOptions.CancellationToken); - if (requestOptions.StatusOption == ResponseStatusOption.Default) + Pipeline.Send(message, options.CancellationToken); + if (options.StatusOption == ResponseStatusOption.Default) { switch (message.Response.Status) { @@ -1640,8 +1640,8 @@ internal virtual Response RevokePermission(string permission, string connectionI /// The permission: current supported actions are joinLeaveGroup and sendToGroup. /// Target connection Id. /// Optional. If not set, revoke the permission for all targets. If set, revoke the permission for the specific target. The meaning of the target depends on the specific permission. - /// The request options. - private HttpMessage CreateRevokePermissionRequest(string permission, string connectionId, string targetName = null, RequestOptions requestOptions = null) + /// The request options. + private HttpMessage CreateRevokePermissionRequest(string permission, string connectionId, string targetName = null, RequestOptions options = null) { var message = Pipeline.CreateMessage(); var request = message.Request; @@ -1670,23 +1670,23 @@ private HttpMessage CreateRevokePermissionRequest(string permission, string conn /// The permission: current supported actions are joinLeaveGroup and sendToGroup. /// Target connection Id. /// Optional. If not set, get the permission for all targets. If set, get the permission for the specific target. The meaning of the target depends on the specific permission. - /// The request options. + /// The request options. #pragma warning disable AZC0002 - internal virtual async Task CheckPermissionAsync(string permission, string connectionId, string targetName = null, RequestOptions requestOptions = null) + internal virtual async Task CheckPermissionAsync(string permission, string connectionId, string targetName = null, RequestOptions options = null) #pragma warning restore AZC0002 { - requestOptions ??= new RequestOptions(); - HttpMessage message = CreateCheckPermissionRequest(permission, connectionId, targetName, requestOptions); - if (requestOptions.PerCallPolicy != null) + options ??= new RequestOptions(); + HttpMessage message = CreateCheckPermissionRequest(permission, connectionId, targetName, options); + if (options.PerCallPolicy != null) { - message.SetProperty("RequestOptionsPerCallPolicyCallback", requestOptions.PerCallPolicy); + message.SetProperty("RequestOptionsPerCallPolicyCallback", options.PerCallPolicy); } using var scope = _clientDiagnostics.CreateScope("WebPubSubServiceClient.CheckPermission"); scope.Start(); try { - await Pipeline.SendAsync(message, requestOptions.CancellationToken).ConfigureAwait(false); - if (requestOptions.StatusOption == ResponseStatusOption.Default) + await Pipeline.SendAsync(message, options.CancellationToken).ConfigureAwait(false); + if (options.StatusOption == ResponseStatusOption.Default) { switch (message.Response.Status) { @@ -1713,23 +1713,23 @@ internal virtual async Task CheckPermissionAsync(string permission, st /// The permission: current supported actions are joinLeaveGroup and sendToGroup. /// Target connection Id. /// Optional. If not set, get the permission for all targets. If set, get the permission for the specific target. The meaning of the target depends on the specific permission. - /// The request options. + /// The request options. #pragma warning disable AZC0002 - internal virtual Response CheckPermission(string permission, string connectionId, string targetName = null, RequestOptions requestOptions = null) + internal virtual Response CheckPermission(string permission, string connectionId, string targetName = null, RequestOptions options = null) #pragma warning restore AZC0002 { - requestOptions ??= new RequestOptions(); - HttpMessage message = CreateCheckPermissionRequest(permission, connectionId, targetName, requestOptions); - if (requestOptions.PerCallPolicy != null) + options ??= new RequestOptions(); + HttpMessage message = CreateCheckPermissionRequest(permission, connectionId, targetName, options); + if (options.PerCallPolicy != null) { - message.SetProperty("RequestOptionsPerCallPolicyCallback", requestOptions.PerCallPolicy); + message.SetProperty("RequestOptionsPerCallPolicyCallback", options.PerCallPolicy); } using var scope = _clientDiagnostics.CreateScope("WebPubSubServiceClient.CheckPermission"); scope.Start(); try { - Pipeline.Send(message, requestOptions.CancellationToken); - if (requestOptions.StatusOption == ResponseStatusOption.Default) + Pipeline.Send(message, options.CancellationToken); + if (options.StatusOption == ResponseStatusOption.Default) { switch (message.Response.Status) { @@ -1756,8 +1756,8 @@ internal virtual Response CheckPermission(string permission, string connectionId /// The permission: current supported actions are joinLeaveGroup and sendToGroup. /// Target connection Id. /// Optional. If not set, get the permission for all targets. If set, get the permission for the specific target. The meaning of the target depends on the specific permission. - /// The request options. - private HttpMessage CreateCheckPermissionRequest(string permission, string connectionId, string targetName = null, RequestOptions requestOptions = null) + /// The request options. + private HttpMessage CreateCheckPermissionRequest(string permission, string connectionId, string targetName = null, RequestOptions options = null) { var message = Pipeline.CreateMessage(); var request = message.Request; diff --git a/sdk/webpubsub/Azure.Messaging.WebPubSub/src/WebPubSubServiceClient_extensions.cs b/sdk/webpubsub/Azure.Messaging.WebPubSub/src/WebPubSubServiceClient_extensions.cs index d0078826d588..981093aea74b 100644 --- a/sdk/webpubsub/Azure.Messaging.WebPubSub/src/WebPubSubServiceClient_extensions.cs +++ b/sdk/webpubsub/Azure.Messaging.WebPubSub/src/WebPubSubServiceClient_extensions.cs @@ -105,7 +105,7 @@ public virtual async Task SendToAllAsync(string content, ContentType c if (contentType == default) contentType = ContentType.TextPlain; - return await SendToAllAsync(contentType.ToString(), RequestContent.Create(content), default, requestOptions: default).ConfigureAwait(false); + return await SendToAllAsync(contentType.ToString(), RequestContent.Create(content), default, options: default).ConfigureAwait(false); } /// Broadcast message to all the connected client connections. @@ -118,7 +118,7 @@ public virtual Response SendToAll(string content, ContentType contentType = defa if (contentType == default) contentType = ContentType.TextPlain; - return SendToAll(contentType.ToString(), RequestContent.Create(content), excluded: default, requestOptions: default); + return SendToAll(contentType.ToString(), RequestContent.Create(content), excluded: default, options: default); } /// @@ -135,7 +135,7 @@ public virtual async Task SendToUserAsync(string userId, string conten if (contentType == default) contentType = ContentType.TextPlain; - return await SendToUserAsync(userId, contentType.ToString(), RequestContent.Create(content), requestOptions: default).ConfigureAwait(false); + return await SendToUserAsync(userId, contentType.ToString(), RequestContent.Create(content), options: default).ConfigureAwait(false); } /// @@ -152,7 +152,7 @@ public virtual Response SendToUser(string userId, string content, ContentType co if (contentType == default) contentType = ContentType.TextPlain; - return SendToUser(userId, contentType.ToString(), RequestContent.Create(content), requestOptions: default); + return SendToUser(userId, contentType.ToString(), RequestContent.Create(content), options: default); } /// @@ -169,7 +169,7 @@ public virtual async Task SendToConnectionAsync(string connectionId, s if (contentType == default) contentType = ContentType.TextPlain; - return await SendToConnectionAsync(connectionId, contentType.ToString(), RequestContent.Create(content), requestOptions: default).ConfigureAwait(false); + return await SendToConnectionAsync(connectionId, contentType.ToString(), RequestContent.Create(content), options: default).ConfigureAwait(false); } /// @@ -186,7 +186,7 @@ public virtual Response SendToConnection(string connectionId, string content, Co if (contentType == default) contentType = ContentType.TextPlain; - return SendToConnection(connectionId, contentType.ToString(), RequestContent.Create(content), requestOptions: default); + return SendToConnection(connectionId, contentType.ToString(), RequestContent.Create(content), options: default); } /// @@ -203,7 +203,7 @@ public virtual async Task SendToGroupAsync(string group, string conten if (contentType == default) contentType = ContentType.TextPlain; - return await SendToGroupAsync(group, contentType.ToString(), RequestContent.Create(content), excluded : default, requestOptions: default).ConfigureAwait(false); + return await SendToGroupAsync(group, contentType.ToString(), RequestContent.Create(content), excluded : default, options: default).ConfigureAwait(false); } /// @@ -220,7 +220,7 @@ public virtual Response SendToGroup(string group, string content, ContentType co if (contentType == default) contentType = ContentType.TextPlain; - return SendToGroup(group, contentType.ToString(), RequestContent.Create(content), excluded : default, requestOptions: default); + return SendToGroup(group, contentType.ToString(), RequestContent.Create(content), excluded : default, options: default); } /// Check if there are any client connections inside the given group. From 9194362f88854f465b546e4ffa340f532ed568c0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?C=C3=A9dric=20Luthi?= Date: Tue, 22 Jun 2021 07:24:02 +0200 Subject: [PATCH 26/27] [Azure.Messaging.ServiceBus] Fix AmqpMessageBodyTests (#22008) The `DateTime` and `DateTimeOffset` test values in `AmqpMessageBodyTests.s_amqpValues` were created with `DateTimeOffset.Parse`, which would fail with the following exception when run on a system with a non-US culture: ``` System.TypeInitializationException : The type initializer for 'Azure.Core.Amqp.Tests.AmqpMessageBodyTests' threw an exception. ----> System.FormatException : String was not recognized as a valid DateTime. at Azure.Core.Amqp.Tests.AmqpMessageBodyTests..ctor() --FormatException at System.DateTimeParse.Parse(String s, DateTimeFormatInfo dtfi, DateTimeStyles styles, TimeSpan& offset) at System.DateTimeOffset.Parse(String input) at Azure.Core.Amqp.Tests.AmqpMessageBodyTests..cctor() ``` By using `new DateTimeOffset(2021, 3, 24, 0, 0, 0, TimeSpan.Zero)` instead of `DateTimeOffset.Parse("3/24/21")` we ensure that the tests pass on any system regardless of its configured culture. --- .../Azure.Core.Amqp/tests/AmqpMessageBodyTests.cs | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/sdk/core/Azure.Core.Amqp/tests/AmqpMessageBodyTests.cs b/sdk/core/Azure.Core.Amqp/tests/AmqpMessageBodyTests.cs index 88fab2f88df2..b2a7560d0745 100644 --- a/sdk/core/Azure.Core.Amqp/tests/AmqpMessageBodyTests.cs +++ b/sdk/core/Azure.Core.Amqp/tests/AmqpMessageBodyTests.cs @@ -27,10 +27,10 @@ public class AmqpMessageBodyTests new double[] { 3.1415926 }, new decimal(3.1415926), new decimal[] { new decimal(3.1415926) }, - DateTimeOffset.Parse("3/24/21").UtcDateTime, - new DateTime[] {DateTimeOffset.Parse("3/24/21").UtcDateTime }, - DateTimeOffset.Parse("3/24/21"), - new DateTimeOffset[] {DateTimeOffset.Parse("3/24/21") }, + new DateTimeOffset(2021, 3, 24, 0, 0, 0, TimeSpan.Zero).UtcDateTime, + new DateTime[] { new DateTimeOffset(2021, 3, 24, 0, 0, 0, TimeSpan.Zero).UtcDateTime }, + new DateTimeOffset(2021, 3, 24, 0, 0, 0, TimeSpan.Zero), + new DateTimeOffset[] { new DateTimeOffset(2021, 3, 24, 0, 0, 0, TimeSpan.Zero) }, TimeSpan.FromSeconds(5), new TimeSpan[] {TimeSpan.FromSeconds(5)}, new Uri("http://localHost"), @@ -45,8 +45,8 @@ public class AmqpMessageBodyTests new Dictionary {{ "key", 1 } }, new Dictionary {{ "key", 3.1415926 } }, new Dictionary {{ "key", new decimal(3.1415926) } }, - new Dictionary {{ "key", DateTimeOffset.Parse("3/24/21").UtcDateTime } }, - new Dictionary {{ "key", DateTimeOffset.Parse("3/24/21") } }, + new Dictionary {{ "key", new DateTimeOffset(2021, 3, 24, 0, 0, 0, TimeSpan.Zero).UtcDateTime } }, + new Dictionary {{ "key", new DateTimeOffset(2021, 3, 24, 0, 0, 0, TimeSpan.Zero) } }, new Dictionary {{ "key", TimeSpan.FromSeconds(5) } }, new Dictionary {{ "key", new Uri("http://localHost") } }, new Dictionary {{ "key", new Guid("55f239a6-5d50-4f6d-8f84-deed326e4554") } }, From 0a268c155f6c537c786dd906f07028177b0a2760 Mon Sep 17 00:00:00 2001 From: SDKAuto Date: Tue, 22 Jun 2021 05:53:29 +0000 Subject: [PATCH 27/27] CodeGen from PR 14696 in Azure/azure-rest-api-specs Merge d979edd5eb4ddfb24498f9f081f0f91655a9595c into c059fb47f87a35ce5a90631883dfba8f01a41d8e --- .../src/Generated/AgentPoolsOperations.cs | 375 ++- .../AgentPoolsOperationsExtensions.cs | 208 +- .../src/Generated/ContainerServiceClient.cs | 38 +- .../Generated/ContainerServicesOperations.cs | 1689 -------------- .../ContainerServicesOperationsExtensions.cs | 547 ----- .../src/Generated/IAgentPoolsOperations.cs | 117 +- .../src/Generated/IContainerServiceClient.cs | 30 +- .../Generated/IContainerServicesOperations.cs | 340 --- .../IMaintenanceConfigurationsOperations.cs | 161 ++ .../Generated/IManagedClustersOperations.cs | 388 +++- .../IOpenShiftManagedClustersOperations.cs | 345 --- .../src/Generated/IOperations.cs | 2 +- .../IPrivateEndpointConnectionsOperations.cs | 26 +- .../IPrivateLinkResourcesOperations.cs | 57 + .../IResolvePrivateLinkServiceIdOperations.cs | 55 + ...=> MaintenanceConfigurationsOperations.cs} | 984 ++------ ...nanceConfigurationsOperationsExtensions.cs | 242 ++ .../Generated/ManagedClustersOperations.cs | 2024 ++++++++++++++--- .../ManagedClustersOperationsExtensions.cs | 720 ++++-- .../src/Generated/Models/AgentPool.cs | 451 ++-- .../Models/AgentPoolAvailableVersions.cs | 14 +- ...VersionsPropertiesAgentPoolVersionsItem.cs | 6 +- .../src/Generated/Models/AgentPoolMode.cs | 9 + .../src/Generated/Models/AgentPoolType.cs | 6 + .../Models/AgentPoolUpgradeProfile.cs | 36 +- ...oolUpgradeProfilePropertiesUpgradesItem.cs | 13 +- .../Models/AgentPoolUpgradeSettings.cs | 16 +- ...nerServiceOrchestratorTypes.cs => Code.cs} | 17 +- .../ContainerServiceAgentPoolProfile.cs | 290 --- .../Models/ContainerServiceLinuxProfile.cs | 6 +- .../Generated/Models/ContainerServiceModel.cs | 204 -- .../Models/ContainerServiceNetworkProfile.cs | 46 +- .../ContainerServiceOrchestratorProfile.cs | 85 - ...ContainerServiceServicePrincipalProfile.cs | 92 - .../ContainerServiceSshConfiguration.cs | 4 +- .../Models/ContainerServiceWindowsProfile.cs | 95 - .../src/Generated/Models/CreatedByType.cs | 24 + .../src/Generated/Models/CredentialResults.cs | 2 +- .../Generated/Models/EndpointDependency.cs | 63 + .../src/Generated/Models/EndpointDetail.cs | 76 + .../src/Generated/Models/Expander.cs | 47 + ...dentityProvider.cs => ExtendedLocation.cs} | 31 +- ...rofileRole.cs => ExtendedLocationTypes.cs} | 7 +- .../Generated/Models/GPUInstanceProfile.cs | 25 + .../src/Generated/Models/KubeletConfig.cs | 198 ++ ...IdentityProvider.cs => KubeletDiskType.cs} | 20 +- .../src/Generated/Models/LicenseType.cs | 6 + .../src/Generated/Models/LinuxOSConfig.cs | 98 + .../src/Generated/Models/LoadBalancerSku.cs | 10 + .../Models/MaintenanceConfiguration.cs | 92 + .../src/Generated/Models/ManagedCluster.cs | 199 +- .../Models/ManagedClusterAADProfile.cs | 12 +- .../ManagedClusterAPIServerAccessProfile.cs | 44 +- .../ManagedClusterAddonProfileIdentity.cs | 6 +- .../Models/ManagedClusterAgentPoolProfile.cs | 171 +- ...anagedClusterAgentPoolProfileProperties.cs | 451 ++-- .../ManagedClusterAutoUpgradeProfile.cs | 61 + .../Models/ManagedClusterHTTPProxyConfig.cs | 84 + .../Models/ManagedClusterIdentity.cs | 32 +- .../ManagedClusterLoadBalancerProfile.cs | 19 +- ...erLoadBalancerProfileManagedOutboundIPs.cs | 13 +- .../Models/ManagedClusterPodIdentity.cs | 117 + .../ManagedClusterPodIdentityException.cs | 101 + .../ManagedClusterPodIdentityProfile.cs | 96 + ...nagedClusterPodIdentityProvisioningInfo.cs | 50 + ...agedClusterPodIdentityProvisioningState.cs | 24 + .../ManagedClusterPoolUpgradeProfile.cs | 19 +- ...edClusterPoolUpgradeProfileUpgradesItem.cs | 13 +- ...nagedClusterPropertiesAutoScalerProfile.cs | 193 +- ...edClusterPropertiesIdentityProfileValue.cs | 6 +- .../src/Generated/Models/ManagedClusterSKU.cs | 20 +- .../Generated/Models/ManagedClusterSKUTier.cs | 9 + .../Models/ManagedClusterUpgradeProfile.cs | 12 +- .../Models/ManagedClusterWindowsProfile.cs | 92 +- .../src/Generated/Models/NetworkMode.cs | 9 + .../src/Generated/Models/NetworkPlugin.cs | 10 + .../src/Generated/Models/NetworkPolicy.cs | 12 + .../src/Generated/Models/NetworkProfile.cs | 68 - .../src/Generated/Models/OSDiskType.cs | 35 + ...rofileListResult.cs => OSOptionProfile.cs} | 48 +- ...ceCustomProfile.cs => OSOptionProperty.cs} | 38 +- .../src/Generated/Models/OSSKU.cs | 22 + .../src/Generated/Models/OSType.cs | 6 + .../Models/OpenShiftContainerServiceVMSize.cs | 53 - .../Models/OpenShiftManagedCluster.cs | 185 -- ...nShiftManagedClusterAADIdentityProvider.cs | 82 - ...OpenShiftManagedClusterAgentPoolProfile.cs | 142 -- ...penShiftManagedClusterMasterPoolProfile.cs | 130 -- .../Models/OpenShiftRouterProfile.cs | 69 - .../src/Generated/Models/OperationValue.cs | 15 +- .../Generated/Models/OrchestratorProfile.cs | 83 - .../Models/OrchestratorVersionProfile.cs | 117 - .../Models/OutboundEnvironmentEndpoint.cs | 67 + .../src/Generated/Models/OutboundType.cs | 12 + .../src/Generated/Models/Page.cs | 2 +- .../src/Generated/Models/Page1.cs | 2 +- .../src/Generated/Models/PowerState.cs | 53 + .../src/Generated/Models/PrivateEndpoint.cs | 4 +- .../Generated/Models/PrivateLinkResource.cs | 96 + ...e.cs => PrivateLinkResourcesListResult.cs} | 27 +- .../src/Generated/Models/PurchasePlan.cs | 80 - .../Generated/Models/ResourceIdentityType.cs | 16 + ...VaultSecretRef.cs => RunCommandRequest.cs} | 53 +- .../src/Generated/Models/RunCommandResult.cs | 105 + .../Models/ScaleSetEvictionPolicy.cs | 10 + .../src/Generated/Models/ScaleSetPriority.cs | 8 + .../src/Generated/Models/SysctlConfig.cs | 291 +++ .../src/Generated/Models/SystemData.cs | 103 + .../src/Generated/Models/TimeInWeek.cs | 73 + .../src/Generated/Models/TimeSpan.cs | 62 + .../src/Generated/Models/UpgradeChannel.cs | 61 + .../Generated/Models/UserAssignedIdentity.cs | 15 +- .../src/Generated/Models/WeekDay.cs | 27 + ...hiftManagedClustersOperationsExtensions.cs | 547 ----- .../src/Generated/Operations.cs | 20 +- .../src/Generated/OperationsExtensions.cs | 4 +- .../PrivateEndpointConnectionsOperations.cs | 62 +- ...EndpointConnectionsOperationsExtensions.cs | 44 +- .../PrivateLinkResourcesOperations.cs | 276 +++ ...rivateLinkResourcesOperationsExtensions.cs | 73 + .../ResolvePrivateLinkServiceIdOperations.cs | 286 +++ ...rivateLinkServiceIdOperationsExtensions.cs | 71 + .../SdkInfo_ContainerServiceClient.cs | 25 +- 123 files changed, 8105 insertions(+), 7875 deletions(-) delete mode 100644 sdk/containerservice/Microsoft.Azure.Management.ContainerService/src/Generated/ContainerServicesOperations.cs delete mode 100644 sdk/containerservice/Microsoft.Azure.Management.ContainerService/src/Generated/ContainerServicesOperationsExtensions.cs delete mode 100644 sdk/containerservice/Microsoft.Azure.Management.ContainerService/src/Generated/IContainerServicesOperations.cs create mode 100644 sdk/containerservice/Microsoft.Azure.Management.ContainerService/src/Generated/IMaintenanceConfigurationsOperations.cs delete mode 100644 sdk/containerservice/Microsoft.Azure.Management.ContainerService/src/Generated/IOpenShiftManagedClustersOperations.cs create mode 100644 sdk/containerservice/Microsoft.Azure.Management.ContainerService/src/Generated/IPrivateLinkResourcesOperations.cs create mode 100644 sdk/containerservice/Microsoft.Azure.Management.ContainerService/src/Generated/IResolvePrivateLinkServiceIdOperations.cs rename sdk/containerservice/Microsoft.Azure.Management.ContainerService/src/Generated/{OpenShiftManagedClustersOperations.cs => MaintenanceConfigurationsOperations.cs} (55%) create mode 100644 sdk/containerservice/Microsoft.Azure.Management.ContainerService/src/Generated/MaintenanceConfigurationsOperationsExtensions.cs rename sdk/containerservice/Microsoft.Azure.Management.ContainerService/src/Generated/Models/{ContainerServiceOrchestratorTypes.cs => Code.cs} (56%) delete mode 100644 sdk/containerservice/Microsoft.Azure.Management.ContainerService/src/Generated/Models/ContainerServiceAgentPoolProfile.cs delete mode 100644 sdk/containerservice/Microsoft.Azure.Management.ContainerService/src/Generated/Models/ContainerServiceModel.cs delete mode 100644 sdk/containerservice/Microsoft.Azure.Management.ContainerService/src/Generated/Models/ContainerServiceOrchestratorProfile.cs delete mode 100644 sdk/containerservice/Microsoft.Azure.Management.ContainerService/src/Generated/Models/ContainerServiceServicePrincipalProfile.cs delete mode 100644 sdk/containerservice/Microsoft.Azure.Management.ContainerService/src/Generated/Models/ContainerServiceWindowsProfile.cs create mode 100644 sdk/containerservice/Microsoft.Azure.Management.ContainerService/src/Generated/Models/CreatedByType.cs create mode 100644 sdk/containerservice/Microsoft.Azure.Management.ContainerService/src/Generated/Models/EndpointDependency.cs create mode 100644 sdk/containerservice/Microsoft.Azure.Management.ContainerService/src/Generated/Models/EndpointDetail.cs create mode 100644 sdk/containerservice/Microsoft.Azure.Management.ContainerService/src/Generated/Models/Expander.cs rename sdk/containerservice/Microsoft.Azure.Management.ContainerService/src/Generated/Models/{OpenShiftManagedClusterIdentityProvider.cs => ExtendedLocation.cs} (51%) rename sdk/containerservice/Microsoft.Azure.Management.ContainerService/src/Generated/Models/{OpenShiftAgentPoolProfileRole.cs => ExtendedLocationTypes.cs} (69%) create mode 100644 sdk/containerservice/Microsoft.Azure.Management.ContainerService/src/Generated/Models/GPUInstanceProfile.cs create mode 100644 sdk/containerservice/Microsoft.Azure.Management.ContainerService/src/Generated/Models/KubeletConfig.cs rename sdk/containerservice/Microsoft.Azure.Management.ContainerService/src/Generated/Models/{OpenShiftManagedClusterBaseIdentityProvider.cs => KubeletDiskType.cs} (53%) create mode 100644 sdk/containerservice/Microsoft.Azure.Management.ContainerService/src/Generated/Models/LinuxOSConfig.cs create mode 100644 sdk/containerservice/Microsoft.Azure.Management.ContainerService/src/Generated/Models/MaintenanceConfiguration.cs create mode 100644 sdk/containerservice/Microsoft.Azure.Management.ContainerService/src/Generated/Models/ManagedClusterAutoUpgradeProfile.cs create mode 100644 sdk/containerservice/Microsoft.Azure.Management.ContainerService/src/Generated/Models/ManagedClusterHTTPProxyConfig.cs create mode 100644 sdk/containerservice/Microsoft.Azure.Management.ContainerService/src/Generated/Models/ManagedClusterPodIdentity.cs create mode 100644 sdk/containerservice/Microsoft.Azure.Management.ContainerService/src/Generated/Models/ManagedClusterPodIdentityException.cs create mode 100644 sdk/containerservice/Microsoft.Azure.Management.ContainerService/src/Generated/Models/ManagedClusterPodIdentityProfile.cs create mode 100644 sdk/containerservice/Microsoft.Azure.Management.ContainerService/src/Generated/Models/ManagedClusterPodIdentityProvisioningInfo.cs create mode 100644 sdk/containerservice/Microsoft.Azure.Management.ContainerService/src/Generated/Models/ManagedClusterPodIdentityProvisioningState.cs delete mode 100644 sdk/containerservice/Microsoft.Azure.Management.ContainerService/src/Generated/Models/NetworkProfile.cs create mode 100644 sdk/containerservice/Microsoft.Azure.Management.ContainerService/src/Generated/Models/OSDiskType.cs rename sdk/containerservice/Microsoft.Azure.Management.ContainerService/src/Generated/Models/{OrchestratorVersionProfileListResult.cs => OSOptionProfile.cs} (56%) rename sdk/containerservice/Microsoft.Azure.Management.ContainerService/src/Generated/Models/{ContainerServiceCustomProfile.cs => OSOptionProperty.cs} (57%) create mode 100644 sdk/containerservice/Microsoft.Azure.Management.ContainerService/src/Generated/Models/OSSKU.cs delete mode 100644 sdk/containerservice/Microsoft.Azure.Management.ContainerService/src/Generated/Models/OpenShiftContainerServiceVMSize.cs delete mode 100644 sdk/containerservice/Microsoft.Azure.Management.ContainerService/src/Generated/Models/OpenShiftManagedCluster.cs delete mode 100644 sdk/containerservice/Microsoft.Azure.Management.ContainerService/src/Generated/Models/OpenShiftManagedClusterAADIdentityProvider.cs delete mode 100644 sdk/containerservice/Microsoft.Azure.Management.ContainerService/src/Generated/Models/OpenShiftManagedClusterAgentPoolProfile.cs delete mode 100644 sdk/containerservice/Microsoft.Azure.Management.ContainerService/src/Generated/Models/OpenShiftManagedClusterMasterPoolProfile.cs delete mode 100644 sdk/containerservice/Microsoft.Azure.Management.ContainerService/src/Generated/Models/OpenShiftRouterProfile.cs delete mode 100644 sdk/containerservice/Microsoft.Azure.Management.ContainerService/src/Generated/Models/OrchestratorProfile.cs delete mode 100644 sdk/containerservice/Microsoft.Azure.Management.ContainerService/src/Generated/Models/OrchestratorVersionProfile.cs create mode 100644 sdk/containerservice/Microsoft.Azure.Management.ContainerService/src/Generated/Models/OutboundEnvironmentEndpoint.cs create mode 100644 sdk/containerservice/Microsoft.Azure.Management.ContainerService/src/Generated/Models/PowerState.cs create mode 100644 sdk/containerservice/Microsoft.Azure.Management.ContainerService/src/Generated/Models/PrivateLinkResource.cs rename sdk/containerservice/Microsoft.Azure.Management.ContainerService/src/Generated/Models/{OpenShiftManagedClusterAuthProfile.cs => PrivateLinkResourcesListResult.cs} (51%) delete mode 100644 sdk/containerservice/Microsoft.Azure.Management.ContainerService/src/Generated/Models/PurchasePlan.cs rename sdk/containerservice/Microsoft.Azure.Management.ContainerService/src/Generated/Models/{KeyVaultSecretRef.cs => RunCommandRequest.cs} (51%) create mode 100644 sdk/containerservice/Microsoft.Azure.Management.ContainerService/src/Generated/Models/RunCommandResult.cs create mode 100644 sdk/containerservice/Microsoft.Azure.Management.ContainerService/src/Generated/Models/SysctlConfig.cs create mode 100644 sdk/containerservice/Microsoft.Azure.Management.ContainerService/src/Generated/Models/SystemData.cs create mode 100644 sdk/containerservice/Microsoft.Azure.Management.ContainerService/src/Generated/Models/TimeInWeek.cs create mode 100644 sdk/containerservice/Microsoft.Azure.Management.ContainerService/src/Generated/Models/TimeSpan.cs create mode 100644 sdk/containerservice/Microsoft.Azure.Management.ContainerService/src/Generated/Models/UpgradeChannel.cs create mode 100644 sdk/containerservice/Microsoft.Azure.Management.ContainerService/src/Generated/Models/WeekDay.cs delete mode 100644 sdk/containerservice/Microsoft.Azure.Management.ContainerService/src/Generated/OpenShiftManagedClustersOperationsExtensions.cs create mode 100644 sdk/containerservice/Microsoft.Azure.Management.ContainerService/src/Generated/PrivateLinkResourcesOperations.cs create mode 100644 sdk/containerservice/Microsoft.Azure.Management.ContainerService/src/Generated/PrivateLinkResourcesOperationsExtensions.cs create mode 100644 sdk/containerservice/Microsoft.Azure.Management.ContainerService/src/Generated/ResolvePrivateLinkServiceIdOperations.cs create mode 100644 sdk/containerservice/Microsoft.Azure.Management.ContainerService/src/Generated/ResolvePrivateLinkServiceIdOperationsExtensions.cs diff --git a/sdk/containerservice/Microsoft.Azure.Management.ContainerService/src/Generated/AgentPoolsOperations.cs b/sdk/containerservice/Microsoft.Azure.Management.ContainerService/src/Generated/AgentPoolsOperations.cs index 4a5ecad46cda..57e020a86678 100644 --- a/sdk/containerservice/Microsoft.Azure.Management.ContainerService/src/Generated/AgentPoolsOperations.cs +++ b/sdk/containerservice/Microsoft.Azure.Management.ContainerService/src/Generated/AgentPoolsOperations.cs @@ -53,10 +53,6 @@ internal AgentPoolsOperations(ContainerServiceClient client) /// /// Gets a list of agent pools in the specified managed cluster. /// - /// - /// Gets a list of agent pools in the specified managed cluster. The operation - /// returns properties of each agent pool. - /// /// /// The name of the resource group. /// @@ -86,6 +82,10 @@ internal AgentPoolsOperations(ContainerServiceClient client) /// public async Task>> ListWithHttpMessagesAsync(string resourceGroupName, string resourceName, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) { + if (Client.ApiVersion == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.ApiVersion"); + } if (Client.SubscriptionId == null) { throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId"); @@ -120,7 +120,6 @@ internal AgentPoolsOperations(ContainerServiceClient client) throw new ValidationException(ValidationRules.Pattern, "resourceName", "^[a-zA-Z0-9]$|^[a-zA-Z0-9][-_a-zA-Z0-9]{0,61}[a-zA-Z0-9]$"); } } - string apiVersion = "2020-07-01"; // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; string _invocationId = null; @@ -128,7 +127,6 @@ internal AgentPoolsOperations(ContainerServiceClient client) { _invocationId = ServiceClientTracing.NextInvocationId.ToString(); Dictionary tracingParameters = new Dictionary(); - tracingParameters.Add("apiVersion", apiVersion); tracingParameters.Add("resourceGroupName", resourceGroupName); tracingParameters.Add("resourceName", resourceName); tracingParameters.Add("cancellationToken", cancellationToken); @@ -141,9 +139,9 @@ internal AgentPoolsOperations(ContainerServiceClient client) _url = _url.Replace("{resourceGroupName}", System.Uri.EscapeDataString(resourceGroupName)); _url = _url.Replace("{resourceName}", System.Uri.EscapeDataString(resourceName)); List _queryParameters = new List(); - if (apiVersion != null) + if (Client.ApiVersion != null) { - _queryParameters.Add(string.Format("api-version={0}", System.Uri.EscapeDataString(apiVersion))); + _queryParameters.Add(string.Format("api-version={0}", System.Uri.EscapeDataString(Client.ApiVersion))); } if (_queryParameters.Count > 0) { @@ -251,7 +249,7 @@ internal AgentPoolsOperations(ContainerServiceClient client) _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); try { - _result.Body = Rest.Serialization.SafeJsonConvert.DeserializeObject>(_responseContent, Client.DeserializationSettings); + _result.Body = Rest.Serialization.SafeJsonConvert.DeserializeObject>(_responseContent, Client.DeserializationSettings); } catch (JsonException ex) { @@ -271,11 +269,8 @@ internal AgentPoolsOperations(ContainerServiceClient client) } /// - /// Gets the agent pool. + /// Gets the specified managed cluster agent pool. /// - /// - /// Gets the details of the agent pool by managed cluster and resource group. - /// /// /// The name of the resource group. /// @@ -308,6 +303,10 @@ internal AgentPoolsOperations(ContainerServiceClient client) /// public async Task> GetWithHttpMessagesAsync(string resourceGroupName, string resourceName, string agentPoolName, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) { + if (Client.ApiVersion == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.ApiVersion"); + } if (Client.SubscriptionId == null) { throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId"); @@ -346,7 +345,6 @@ internal AgentPoolsOperations(ContainerServiceClient client) { throw new ValidationException(ValidationRules.CannotBeNull, "agentPoolName"); } - string apiVersion = "2020-07-01"; // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; string _invocationId = null; @@ -354,7 +352,6 @@ internal AgentPoolsOperations(ContainerServiceClient client) { _invocationId = ServiceClientTracing.NextInvocationId.ToString(); Dictionary tracingParameters = new Dictionary(); - tracingParameters.Add("apiVersion", apiVersion); tracingParameters.Add("resourceGroupName", resourceGroupName); tracingParameters.Add("resourceName", resourceName); tracingParameters.Add("agentPoolName", agentPoolName); @@ -369,9 +366,9 @@ internal AgentPoolsOperations(ContainerServiceClient client) _url = _url.Replace("{resourceName}", System.Uri.EscapeDataString(resourceName)); _url = _url.Replace("{agentPoolName}", System.Uri.EscapeDataString(agentPoolName)); List _queryParameters = new List(); - if (apiVersion != null) + if (Client.ApiVersion != null) { - _queryParameters.Add(string.Format("api-version={0}", System.Uri.EscapeDataString(apiVersion))); + _queryParameters.Add(string.Format("api-version={0}", System.Uri.EscapeDataString(Client.ApiVersion))); } if (_queryParameters.Count > 0) { @@ -499,11 +496,8 @@ internal AgentPoolsOperations(ContainerServiceClient client) } /// - /// Creates or updates an agent pool. - /// - /// /// Creates or updates an agent pool in the specified managed cluster. - /// + /// /// /// The name of the resource group. /// @@ -514,7 +508,7 @@ internal AgentPoolsOperations(ContainerServiceClient client) /// The name of the agent pool. /// /// - /// Parameters supplied to the Create or Update an agent pool operation. + /// The agent pool to create or update. /// /// /// The headers that will be added to request. @@ -530,11 +524,8 @@ internal AgentPoolsOperations(ContainerServiceClient client) } /// - /// Deletes an agent pool. + /// Deletes an agent pool in the specified managed cluster. /// - /// - /// Deletes the agent pool in the specified managed cluster. - /// /// /// The name of the resource group. /// @@ -558,12 +549,8 @@ internal AgentPoolsOperations(ContainerServiceClient client) } /// - /// Gets upgrade profile for an agent pool. + /// Gets the upgrade profile for an agent pool. /// - /// - /// Gets the details of the upgrade profile for an agent pool with a specified - /// resource group and managed cluster name. - /// /// /// The name of the resource group. /// @@ -596,6 +583,10 @@ internal AgentPoolsOperations(ContainerServiceClient client) /// public async Task> GetUpgradeProfileWithHttpMessagesAsync(string resourceGroupName, string resourceName, string agentPoolName, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) { + if (Client.ApiVersion == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.ApiVersion"); + } if (Client.SubscriptionId == null) { throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId"); @@ -634,7 +625,6 @@ internal AgentPoolsOperations(ContainerServiceClient client) { throw new ValidationException(ValidationRules.CannotBeNull, "agentPoolName"); } - string apiVersion = "2020-07-01"; // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; string _invocationId = null; @@ -642,7 +632,6 @@ internal AgentPoolsOperations(ContainerServiceClient client) { _invocationId = ServiceClientTracing.NextInvocationId.ToString(); Dictionary tracingParameters = new Dictionary(); - tracingParameters.Add("apiVersion", apiVersion); tracingParameters.Add("resourceGroupName", resourceGroupName); tracingParameters.Add("resourceName", resourceName); tracingParameters.Add("agentPoolName", agentPoolName); @@ -657,9 +646,9 @@ internal AgentPoolsOperations(ContainerServiceClient client) _url = _url.Replace("{resourceName}", System.Uri.EscapeDataString(resourceName)); _url = _url.Replace("{agentPoolName}", System.Uri.EscapeDataString(agentPoolName)); List _queryParameters = new List(); - if (apiVersion != null) + if (Client.ApiVersion != null) { - _queryParameters.Add(string.Format("api-version={0}", System.Uri.EscapeDataString(apiVersion))); + _queryParameters.Add(string.Format("api-version={0}", System.Uri.EscapeDataString(Client.ApiVersion))); } if (_queryParameters.Count > 0) { @@ -787,10 +776,12 @@ internal AgentPoolsOperations(ContainerServiceClient client) } /// - /// Gets a list of supported versions for the specified agent pool. + /// Gets a list of supported Kubernetes versions for the specified agent pool. /// /// - /// Gets a list of supported versions for the specified agent pool. + /// See [supported Kubernetes + /// versions](https://docs.microsoft.com/azure/aks/supported-kubernetes-versions) + /// for more details about the version lifecycle. /// /// /// The name of the resource group. @@ -821,6 +812,10 @@ internal AgentPoolsOperations(ContainerServiceClient client) /// public async Task> GetAvailableAgentPoolVersionsWithHttpMessagesAsync(string resourceGroupName, string resourceName, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) { + if (Client.ApiVersion == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.ApiVersion"); + } if (Client.SubscriptionId == null) { throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId"); @@ -855,7 +850,6 @@ internal AgentPoolsOperations(ContainerServiceClient client) throw new ValidationException(ValidationRules.Pattern, "resourceName", "^[a-zA-Z0-9]$|^[a-zA-Z0-9][-_a-zA-Z0-9]{0,61}[a-zA-Z0-9]$"); } } - string apiVersion = "2020-07-01"; // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; string _invocationId = null; @@ -863,7 +857,6 @@ internal AgentPoolsOperations(ContainerServiceClient client) { _invocationId = ServiceClientTracing.NextInvocationId.ToString(); Dictionary tracingParameters = new Dictionary(); - tracingParameters.Add("apiVersion", apiVersion); tracingParameters.Add("resourceGroupName", resourceGroupName); tracingParameters.Add("resourceName", resourceName); tracingParameters.Add("cancellationToken", cancellationToken); @@ -876,9 +869,9 @@ internal AgentPoolsOperations(ContainerServiceClient client) _url = _url.Replace("{resourceGroupName}", System.Uri.EscapeDataString(resourceGroupName)); _url = _url.Replace("{resourceName}", System.Uri.EscapeDataString(resourceName)); List _queryParameters = new List(); - if (apiVersion != null) + if (Client.ApiVersion != null) { - _queryParameters.Add(string.Format("api-version={0}", System.Uri.EscapeDataString(apiVersion))); + _queryParameters.Add(string.Format("api-version={0}", System.Uri.EscapeDataString(Client.ApiVersion))); } if (_queryParameters.Count > 0) { @@ -1006,10 +999,13 @@ internal AgentPoolsOperations(ContainerServiceClient client) } /// - /// Creates or updates an agent pool. + /// Upgrades the node image version of an agent pool to the latest. /// /// - /// Creates or updates an agent pool in the specified managed cluster. + /// Upgrading the node image version of an agent pool applies the newest OS and + /// runtime updates to the nodes. AKS provides one new image per week with the + /// latest updates. For more details on node image versions, see: + /// https://docs.microsoft.com/azure/aks/node-image-upgrade /// /// /// The name of the resource group. @@ -1020,8 +1016,33 @@ internal AgentPoolsOperations(ContainerServiceClient client) /// /// The name of the agent pool. /// + /// + /// The headers that will be added to request. + /// + /// + /// The cancellation token. + /// + public async Task> UpgradeNodeImageVersionWithHttpMessagesAsync(string resourceGroupName, string resourceName, string agentPoolName, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + { + // Send request + AzureOperationResponse _response = await BeginUpgradeNodeImageVersionWithHttpMessagesAsync(resourceGroupName, resourceName, agentPoolName, customHeaders, cancellationToken).ConfigureAwait(false); + return await Client.GetPostOrDeleteOperationResultAsync(_response, customHeaders, cancellationToken).ConfigureAwait(false); + } + + /// + /// Creates or updates an agent pool in the specified managed cluster. + /// + /// + /// The name of the resource group. + /// + /// + /// The name of the managed cluster resource. + /// + /// + /// The name of the agent pool. + /// /// - /// Parameters supplied to the Create or Update an agent pool operation. + /// The agent pool to create or update. /// /// /// Headers that will be added to request. @@ -1046,6 +1067,10 @@ internal AgentPoolsOperations(ContainerServiceClient client) /// public async Task> BeginCreateOrUpdateWithHttpMessagesAsync(string resourceGroupName, string resourceName, string agentPoolName, AgentPool parameters, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) { + if (Client.ApiVersion == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.ApiVersion"); + } if (Client.SubscriptionId == null) { throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId"); @@ -1088,7 +1113,10 @@ internal AgentPoolsOperations(ContainerServiceClient client) { throw new ValidationException(ValidationRules.CannotBeNull, "parameters"); } - string apiVersion = "2020-07-01"; + if (parameters != null) + { + parameters.Validate(); + } // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; string _invocationId = null; @@ -1096,7 +1124,6 @@ internal AgentPoolsOperations(ContainerServiceClient client) { _invocationId = ServiceClientTracing.NextInvocationId.ToString(); Dictionary tracingParameters = new Dictionary(); - tracingParameters.Add("apiVersion", apiVersion); tracingParameters.Add("resourceGroupName", resourceGroupName); tracingParameters.Add("resourceName", resourceName); tracingParameters.Add("agentPoolName", agentPoolName); @@ -1112,9 +1139,9 @@ internal AgentPoolsOperations(ContainerServiceClient client) _url = _url.Replace("{resourceName}", System.Uri.EscapeDataString(resourceName)); _url = _url.Replace("{agentPoolName}", System.Uri.EscapeDataString(agentPoolName)); List _queryParameters = new List(); - if (apiVersion != null) + if (Client.ApiVersion != null) { - _queryParameters.Add(string.Format("api-version={0}", System.Uri.EscapeDataString(apiVersion))); + _queryParameters.Add(string.Format("api-version={0}", System.Uri.EscapeDataString(Client.ApiVersion))); } if (_queryParameters.Count > 0) { @@ -1266,11 +1293,8 @@ internal AgentPoolsOperations(ContainerServiceClient client) } /// - /// Deletes an agent pool. + /// Deletes an agent pool in the specified managed cluster. /// - /// - /// Deletes the agent pool in the specified managed cluster. - /// /// /// The name of the resource group. /// @@ -1300,6 +1324,10 @@ internal AgentPoolsOperations(ContainerServiceClient client) /// public async Task BeginDeleteWithHttpMessagesAsync(string resourceGroupName, string resourceName, string agentPoolName, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) { + if (Client.ApiVersion == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.ApiVersion"); + } if (Client.SubscriptionId == null) { throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId"); @@ -1338,7 +1366,6 @@ internal AgentPoolsOperations(ContainerServiceClient client) { throw new ValidationException(ValidationRules.CannotBeNull, "agentPoolName"); } - string apiVersion = "2020-07-01"; // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; string _invocationId = null; @@ -1346,7 +1373,6 @@ internal AgentPoolsOperations(ContainerServiceClient client) { _invocationId = ServiceClientTracing.NextInvocationId.ToString(); Dictionary tracingParameters = new Dictionary(); - tracingParameters.Add("apiVersion", apiVersion); tracingParameters.Add("resourceGroupName", resourceGroupName); tracingParameters.Add("resourceName", resourceName); tracingParameters.Add("agentPoolName", agentPoolName); @@ -1361,9 +1387,9 @@ internal AgentPoolsOperations(ContainerServiceClient client) _url = _url.Replace("{resourceName}", System.Uri.EscapeDataString(resourceName)); _url = _url.Replace("{agentPoolName}", System.Uri.EscapeDataString(agentPoolName)); List _queryParameters = new List(); - if (apiVersion != null) + if (Client.ApiVersion != null) { - _queryParameters.Add(string.Format("api-version={0}", System.Uri.EscapeDataString(apiVersion))); + _queryParameters.Add(string.Format("api-version={0}", System.Uri.EscapeDataString(Client.ApiVersion))); } if (_queryParameters.Count > 0) { @@ -1473,12 +1499,241 @@ internal AgentPoolsOperations(ContainerServiceClient client) } /// - /// Gets a list of agent pools in the specified managed cluster. + /// Upgrades the node image version of an agent pool to the latest. /// /// - /// Gets a list of agent pools in the specified managed cluster. The operation - /// returns properties of each agent pool. + /// Upgrading the node image version of an agent pool applies the newest OS and + /// runtime updates to the nodes. AKS provides one new image per week with the + /// latest updates. For more details on node image versions, see: + /// https://docs.microsoft.com/azure/aks/node-image-upgrade /// + /// + /// The name of the resource group. + /// + /// + /// The name of the managed cluster resource. + /// + /// + /// The name of the agent pool. + /// + /// + /// Headers that will be added to request. + /// + /// + /// The cancellation token. + /// + /// + /// Thrown when the operation returned an invalid status code + /// + /// + /// Thrown when unable to deserialize the response + /// + /// + /// Thrown when a required parameter is null + /// + /// + /// Thrown when a required parameter is null + /// + /// + /// A response object containing the response body and response headers. + /// + public async Task> BeginUpgradeNodeImageVersionWithHttpMessagesAsync(string resourceGroupName, string resourceName, string agentPoolName, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + { + if (Client.ApiVersion == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.ApiVersion"); + } + if (Client.SubscriptionId == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId"); + } + if (resourceGroupName == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "resourceGroupName"); + } + if (resourceGroupName != null) + { + if (resourceGroupName.Length < 1) + { + throw new ValidationException(ValidationRules.MinLength, "resourceGroupName", 1); + } + } + if (resourceName == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "resourceName"); + } + if (resourceName != null) + { + if (resourceName.Length > 63) + { + throw new ValidationException(ValidationRules.MaxLength, "resourceName", 63); + } + if (resourceName.Length < 1) + { + throw new ValidationException(ValidationRules.MinLength, "resourceName", 1); + } + if (!System.Text.RegularExpressions.Regex.IsMatch(resourceName, "^[a-zA-Z0-9]$|^[a-zA-Z0-9][-_a-zA-Z0-9]{0,61}[a-zA-Z0-9]$")) + { + throw new ValidationException(ValidationRules.Pattern, "resourceName", "^[a-zA-Z0-9]$|^[a-zA-Z0-9][-_a-zA-Z0-9]{0,61}[a-zA-Z0-9]$"); + } + } + if (agentPoolName == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "agentPoolName"); + } + // Tracing + bool _shouldTrace = ServiceClientTracing.IsEnabled; + string _invocationId = null; + if (_shouldTrace) + { + _invocationId = ServiceClientTracing.NextInvocationId.ToString(); + Dictionary tracingParameters = new Dictionary(); + tracingParameters.Add("resourceGroupName", resourceGroupName); + tracingParameters.Add("resourceName", resourceName); + tracingParameters.Add("agentPoolName", agentPoolName); + tracingParameters.Add("cancellationToken", cancellationToken); + ServiceClientTracing.Enter(_invocationId, this, "BeginUpgradeNodeImageVersion", tracingParameters); + } + // Construct URL + var _baseUrl = Client.BaseUri.AbsoluteUri; + var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerService/managedClusters/{resourceName}/agentPools/{agentPoolName}/upgradeNodeImageVersion").ToString(); + _url = _url.Replace("{subscriptionId}", System.Uri.EscapeDataString(Client.SubscriptionId)); + _url = _url.Replace("{resourceGroupName}", System.Uri.EscapeDataString(resourceGroupName)); + _url = _url.Replace("{resourceName}", System.Uri.EscapeDataString(resourceName)); + _url = _url.Replace("{agentPoolName}", System.Uri.EscapeDataString(agentPoolName)); + List _queryParameters = new List(); + if (Client.ApiVersion != null) + { + _queryParameters.Add(string.Format("api-version={0}", System.Uri.EscapeDataString(Client.ApiVersion))); + } + if (_queryParameters.Count > 0) + { + _url += (_url.Contains("?") ? "&" : "?") + string.Join("&", _queryParameters); + } + // Create HTTP transport objects + var _httpRequest = new HttpRequestMessage(); + HttpResponseMessage _httpResponse = null; + _httpRequest.Method = new HttpMethod("POST"); + _httpRequest.RequestUri = new System.Uri(_url); + // Set Headers + if (Client.GenerateClientRequestId != null && Client.GenerateClientRequestId.Value) + { + _httpRequest.Headers.TryAddWithoutValidation("x-ms-client-request-id", System.Guid.NewGuid().ToString()); + } + if (Client.AcceptLanguage != null) + { + if (_httpRequest.Headers.Contains("accept-language")) + { + _httpRequest.Headers.Remove("accept-language"); + } + _httpRequest.Headers.TryAddWithoutValidation("accept-language", Client.AcceptLanguage); + } + + + if (customHeaders != null) + { + foreach(var _header in customHeaders) + { + if (_httpRequest.Headers.Contains(_header.Key)) + { + _httpRequest.Headers.Remove(_header.Key); + } + _httpRequest.Headers.TryAddWithoutValidation(_header.Key, _header.Value); + } + } + + // Serialize Request + string _requestContent = null; + // Set Credentials + if (Client.Credentials != null) + { + cancellationToken.ThrowIfCancellationRequested(); + await Client.Credentials.ProcessHttpRequestAsync(_httpRequest, cancellationToken).ConfigureAwait(false); + } + // Send Request + if (_shouldTrace) + { + ServiceClientTracing.SendRequest(_invocationId, _httpRequest); + } + cancellationToken.ThrowIfCancellationRequested(); + _httpResponse = await Client.HttpClient.SendAsync(_httpRequest, cancellationToken).ConfigureAwait(false); + if (_shouldTrace) + { + ServiceClientTracing.ReceiveResponse(_invocationId, _httpResponse); + } + HttpStatusCode _statusCode = _httpResponse.StatusCode; + cancellationToken.ThrowIfCancellationRequested(); + string _responseContent = null; + if ((int)_statusCode != 200 && (int)_statusCode != 202) + { + var ex = new CloudException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); + try + { + _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); + CloudError _errorBody = Rest.Serialization.SafeJsonConvert.DeserializeObject(_responseContent, Client.DeserializationSettings); + if (_errorBody != null) + { + ex = new CloudException(_errorBody.Message); + ex.Body = _errorBody; + } + } + catch (JsonException) + { + // Ignore the exception + } + ex.Request = new HttpRequestMessageWrapper(_httpRequest, _requestContent); + ex.Response = new HttpResponseMessageWrapper(_httpResponse, _responseContent); + if (_httpResponse.Headers.Contains("x-ms-request-id")) + { + ex.RequestId = _httpResponse.Headers.GetValues("x-ms-request-id").FirstOrDefault(); + } + if (_shouldTrace) + { + ServiceClientTracing.Error(_invocationId, ex); + } + _httpRequest.Dispose(); + if (_httpResponse != null) + { + _httpResponse.Dispose(); + } + throw ex; + } + // Create Result + var _result = new AzureOperationResponse(); + _result.Request = _httpRequest; + _result.Response = _httpResponse; + if (_httpResponse.Headers.Contains("x-ms-request-id")) + { + _result.RequestId = _httpResponse.Headers.GetValues("x-ms-request-id").FirstOrDefault(); + } + // Deserialize Response + if ((int)_statusCode == 202) + { + _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); + try + { + _result.Body = Rest.Serialization.SafeJsonConvert.DeserializeObject(_responseContent, Client.DeserializationSettings); + } + catch (JsonException ex) + { + _httpRequest.Dispose(); + if (_httpResponse != null) + { + _httpResponse.Dispose(); + } + throw new SerializationException("Unable to deserialize the response.", _responseContent, ex); + } + } + if (_shouldTrace) + { + ServiceClientTracing.Exit(_invocationId, _result); + } + return _result; + } + + /// + /// Gets a list of agent pools in the specified managed cluster. + /// /// /// The NextLink from the previous successful call to List operation. /// @@ -1630,7 +1885,7 @@ internal AgentPoolsOperations(ContainerServiceClient client) _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); try { - _result.Body = Rest.Serialization.SafeJsonConvert.DeserializeObject>(_responseContent, Client.DeserializationSettings); + _result.Body = Rest.Serialization.SafeJsonConvert.DeserializeObject>(_responseContent, Client.DeserializationSettings); } catch (JsonException ex) { diff --git a/sdk/containerservice/Microsoft.Azure.Management.ContainerService/src/Generated/AgentPoolsOperationsExtensions.cs b/sdk/containerservice/Microsoft.Azure.Management.ContainerService/src/Generated/AgentPoolsOperationsExtensions.cs index fac6394a3939..e0c7263272e9 100644 --- a/sdk/containerservice/Microsoft.Azure.Management.ContainerService/src/Generated/AgentPoolsOperationsExtensions.cs +++ b/sdk/containerservice/Microsoft.Azure.Management.ContainerService/src/Generated/AgentPoolsOperationsExtensions.cs @@ -24,10 +24,6 @@ public static partial class AgentPoolsOperationsExtensions /// /// Gets a list of agent pools in the specified managed cluster. /// - /// - /// Gets a list of agent pools in the specified managed cluster. The operation - /// returns properties of each agent pool. - /// /// /// The operations group for this extension method. /// @@ -45,10 +41,6 @@ public static IPage List(this IAgentPoolsOperations operations, strin /// /// Gets a list of agent pools in the specified managed cluster. /// - /// - /// Gets a list of agent pools in the specified managed cluster. The operation - /// returns properties of each agent pool. - /// /// /// The operations group for this extension method. /// @@ -70,11 +62,8 @@ public static IPage List(this IAgentPoolsOperations operations, strin } /// - /// Gets the agent pool. + /// Gets the specified managed cluster agent pool. /// - /// - /// Gets the details of the agent pool by managed cluster and resource group. - /// /// /// The operations group for this extension method. /// @@ -93,11 +82,8 @@ public static AgentPool Get(this IAgentPoolsOperations operations, string resour } /// - /// Gets the agent pool. + /// Gets the specified managed cluster agent pool. /// - /// - /// Gets the details of the agent pool by managed cluster and resource group. - /// /// /// The operations group for this extension method. /// @@ -122,11 +108,8 @@ public static AgentPool Get(this IAgentPoolsOperations operations, string resour } /// - /// Creates or updates an agent pool. - /// - /// /// Creates or updates an agent pool in the specified managed cluster. - /// + /// /// /// The operations group for this extension method. /// @@ -140,7 +123,7 @@ public static AgentPool Get(this IAgentPoolsOperations operations, string resour /// The name of the agent pool. /// /// - /// Parameters supplied to the Create or Update an agent pool operation. + /// The agent pool to create or update. /// public static AgentPool CreateOrUpdate(this IAgentPoolsOperations operations, string resourceGroupName, string resourceName, string agentPoolName, AgentPool parameters) { @@ -148,11 +131,8 @@ public static AgentPool CreateOrUpdate(this IAgentPoolsOperations operations, st } /// - /// Creates or updates an agent pool. - /// - /// /// Creates or updates an agent pool in the specified managed cluster. - /// + /// /// /// The operations group for this extension method. /// @@ -166,7 +146,7 @@ public static AgentPool CreateOrUpdate(this IAgentPoolsOperations operations, st /// The name of the agent pool. /// /// - /// Parameters supplied to the Create or Update an agent pool operation. + /// The agent pool to create or update. /// /// /// The cancellation token. @@ -180,11 +160,8 @@ public static AgentPool CreateOrUpdate(this IAgentPoolsOperations operations, st } /// - /// Deletes an agent pool. + /// Deletes an agent pool in the specified managed cluster. /// - /// - /// Deletes the agent pool in the specified managed cluster. - /// /// /// The operations group for this extension method. /// @@ -203,11 +180,8 @@ public static void Delete(this IAgentPoolsOperations operations, string resource } /// - /// Deletes an agent pool. + /// Deletes an agent pool in the specified managed cluster. /// - /// - /// Deletes the agent pool in the specified managed cluster. - /// /// /// The operations group for this extension method. /// @@ -229,12 +203,8 @@ public static void Delete(this IAgentPoolsOperations operations, string resource } /// - /// Gets upgrade profile for an agent pool. + /// Gets the upgrade profile for an agent pool. /// - /// - /// Gets the details of the upgrade profile for an agent pool with a specified - /// resource group and managed cluster name. - /// /// /// The operations group for this extension method. /// @@ -253,12 +223,8 @@ public static AgentPoolUpgradeProfile GetUpgradeProfile(this IAgentPoolsOperatio } /// - /// Gets upgrade profile for an agent pool. + /// Gets the upgrade profile for an agent pool. /// - /// - /// Gets the details of the upgrade profile for an agent pool with a specified - /// resource group and managed cluster name. - /// /// /// The operations group for this extension method. /// @@ -283,10 +249,12 @@ public static AgentPoolUpgradeProfile GetUpgradeProfile(this IAgentPoolsOperatio } /// - /// Gets a list of supported versions for the specified agent pool. + /// Gets a list of supported Kubernetes versions for the specified agent pool. /// /// - /// Gets a list of supported versions for the specified agent pool. + /// See [supported Kubernetes + /// versions](https://docs.microsoft.com/azure/aks/supported-kubernetes-versions) + /// for more details about the version lifecycle. /// /// /// The operations group for this extension method. @@ -303,10 +271,12 @@ public static AgentPoolAvailableVersions GetAvailableAgentPoolVersions(this IAge } /// - /// Gets a list of supported versions for the specified agent pool. + /// Gets a list of supported Kubernetes versions for the specified agent pool. /// /// - /// Gets a list of supported versions for the specified agent pool. + /// See [supported Kubernetes + /// versions](https://docs.microsoft.com/azure/aks/supported-kubernetes-versions) + /// for more details about the version lifecycle. /// /// /// The operations group for this extension method. @@ -329,10 +299,13 @@ public static AgentPoolAvailableVersions GetAvailableAgentPoolVersions(this IAge } /// - /// Creates or updates an agent pool. + /// Upgrades the node image version of an agent pool to the latest. /// /// - /// Creates or updates an agent pool in the specified managed cluster. + /// Upgrading the node image version of an agent pool applies the newest OS and + /// runtime updates to the nodes. AKS provides one new image per week with the + /// latest updates. For more details on node image versions, see: + /// https://docs.microsoft.com/azure/aks/node-image-upgrade /// /// /// The operations group for this extension method. @@ -346,8 +319,60 @@ public static AgentPoolAvailableVersions GetAvailableAgentPoolVersions(this IAge /// /// The name of the agent pool. /// + public static AgentPool UpgradeNodeImageVersion(this IAgentPoolsOperations operations, string resourceGroupName, string resourceName, string agentPoolName) + { + return operations.UpgradeNodeImageVersionAsync(resourceGroupName, resourceName, agentPoolName).GetAwaiter().GetResult(); + } + + /// + /// Upgrades the node image version of an agent pool to the latest. + /// + /// + /// Upgrading the node image version of an agent pool applies the newest OS and + /// runtime updates to the nodes. AKS provides one new image per week with the + /// latest updates. For more details on node image versions, see: + /// https://docs.microsoft.com/azure/aks/node-image-upgrade + /// + /// + /// The operations group for this extension method. + /// + /// + /// The name of the resource group. + /// + /// + /// The name of the managed cluster resource. + /// + /// + /// The name of the agent pool. + /// + /// + /// The cancellation token. + /// + public static async Task UpgradeNodeImageVersionAsync(this IAgentPoolsOperations operations, string resourceGroupName, string resourceName, string agentPoolName, CancellationToken cancellationToken = default(CancellationToken)) + { + using (var _result = await operations.UpgradeNodeImageVersionWithHttpMessagesAsync(resourceGroupName, resourceName, agentPoolName, null, cancellationToken).ConfigureAwait(false)) + { + return _result.Body; + } + } + + /// + /// Creates or updates an agent pool in the specified managed cluster. + /// + /// + /// The operations group for this extension method. + /// + /// + /// The name of the resource group. + /// + /// + /// The name of the managed cluster resource. + /// + /// + /// The name of the agent pool. + /// /// - /// Parameters supplied to the Create or Update an agent pool operation. + /// The agent pool to create or update. /// public static AgentPool BeginCreateOrUpdate(this IAgentPoolsOperations operations, string resourceGroupName, string resourceName, string agentPoolName, AgentPool parameters) { @@ -355,11 +380,8 @@ public static AgentPool BeginCreateOrUpdate(this IAgentPoolsOperations operation } /// - /// Creates or updates an agent pool. - /// - /// /// Creates or updates an agent pool in the specified managed cluster. - /// + /// /// /// The operations group for this extension method. /// @@ -373,7 +395,7 @@ public static AgentPool BeginCreateOrUpdate(this IAgentPoolsOperations operation /// The name of the agent pool. /// /// - /// Parameters supplied to the Create or Update an agent pool operation. + /// The agent pool to create or update. /// /// /// The cancellation token. @@ -387,11 +409,8 @@ public static AgentPool BeginCreateOrUpdate(this IAgentPoolsOperations operation } /// - /// Deletes an agent pool. + /// Deletes an agent pool in the specified managed cluster. /// - /// - /// Deletes the agent pool in the specified managed cluster. - /// /// /// The operations group for this extension method. /// @@ -410,11 +429,8 @@ public static void BeginDelete(this IAgentPoolsOperations operations, string res } /// - /// Deletes an agent pool. + /// Deletes an agent pool in the specified managed cluster. /// - /// - /// Deletes the agent pool in the specified managed cluster. - /// /// /// The operations group for this extension method. /// @@ -436,15 +452,69 @@ public static void BeginDelete(this IAgentPoolsOperations operations, string res } /// - /// Gets a list of agent pools in the specified managed cluster. + /// Upgrades the node image version of an agent pool to the latest. /// /// - /// Gets a list of agent pools in the specified managed cluster. The operation - /// returns properties of each agent pool. + /// Upgrading the node image version of an agent pool applies the newest OS and + /// runtime updates to the nodes. AKS provides one new image per week with the + /// latest updates. For more details on node image versions, see: + /// https://docs.microsoft.com/azure/aks/node-image-upgrade /// /// /// The operations group for this extension method. /// + /// + /// The name of the resource group. + /// + /// + /// The name of the managed cluster resource. + /// + /// + /// The name of the agent pool. + /// + public static AgentPool BeginUpgradeNodeImageVersion(this IAgentPoolsOperations operations, string resourceGroupName, string resourceName, string agentPoolName) + { + return operations.BeginUpgradeNodeImageVersionAsync(resourceGroupName, resourceName, agentPoolName).GetAwaiter().GetResult(); + } + + /// + /// Upgrades the node image version of an agent pool to the latest. + /// + /// + /// Upgrading the node image version of an agent pool applies the newest OS and + /// runtime updates to the nodes. AKS provides one new image per week with the + /// latest updates. For more details on node image versions, see: + /// https://docs.microsoft.com/azure/aks/node-image-upgrade + /// + /// + /// The operations group for this extension method. + /// + /// + /// The name of the resource group. + /// + /// + /// The name of the managed cluster resource. + /// + /// + /// The name of the agent pool. + /// + /// + /// The cancellation token. + /// + public static async Task BeginUpgradeNodeImageVersionAsync(this IAgentPoolsOperations operations, string resourceGroupName, string resourceName, string agentPoolName, CancellationToken cancellationToken = default(CancellationToken)) + { + using (var _result = await operations.BeginUpgradeNodeImageVersionWithHttpMessagesAsync(resourceGroupName, resourceName, agentPoolName, null, cancellationToken).ConfigureAwait(false)) + { + return _result.Body; + } + } + + /// + /// Gets a list of agent pools in the specified managed cluster. + /// + /// + /// The operations group for this extension method. + /// /// /// The NextLink from the previous successful call to List operation. /// @@ -456,10 +526,6 @@ public static IPage ListNext(this IAgentPoolsOperations operations, s /// /// Gets a list of agent pools in the specified managed cluster. /// - /// - /// Gets a list of agent pools in the specified managed cluster. The operation - /// returns properties of each agent pool. - /// /// /// The operations group for this extension method. /// diff --git a/sdk/containerservice/Microsoft.Azure.Management.ContainerService/src/Generated/ContainerServiceClient.cs b/sdk/containerservice/Microsoft.Azure.Management.ContainerService/src/Generated/ContainerServiceClient.cs index b53e00facb1e..8ec676a4cb84 100644 --- a/sdk/containerservice/Microsoft.Azure.Management.ContainerService/src/Generated/ContainerServiceClient.cs +++ b/sdk/containerservice/Microsoft.Azure.Management.ContainerService/src/Generated/ContainerServiceClient.cs @@ -53,6 +53,11 @@ public partial class ContainerServiceClient : ServiceClient public string SubscriptionId { get; set; } + /// + /// Client Api Version. + /// + public string ApiVersion { get; private set; } + /// /// The preferred language for the response. /// @@ -71,16 +76,6 @@ public partial class ContainerServiceClient : ServiceClient public bool? GenerateClientRequestId { get; set; } - /// - /// Gets the IOpenShiftManagedClustersOperations. - /// - public virtual IOpenShiftManagedClustersOperations OpenShiftManagedClusters { get; private set; } - - /// - /// Gets the IContainerServicesOperations. - /// - public virtual IContainerServicesOperations ContainerServices { get; private set; } - /// /// Gets the IOperations. /// @@ -91,6 +86,11 @@ public partial class ContainerServiceClient : ServiceClient public virtual IManagedClustersOperations ManagedClusters { get; private set; } + /// + /// Gets the IMaintenanceConfigurationsOperations. + /// + public virtual IMaintenanceConfigurationsOperations MaintenanceConfigurations { get; private set; } + /// /// Gets the IAgentPoolsOperations. /// @@ -101,6 +101,16 @@ public partial class ContainerServiceClient : ServiceClient public virtual IPrivateEndpointConnectionsOperations PrivateEndpointConnections { get; private set; } + /// + /// Gets the IPrivateLinkResourcesOperations. + /// + public virtual IPrivateLinkResourcesOperations PrivateLinkResources { get; private set; } + + /// + /// Gets the IResolvePrivateLinkServiceIdOperations. + /// + public virtual IResolvePrivateLinkServiceIdOperations ResolvePrivateLinkServiceId { get; private set; } + /// /// Initializes a new instance of the ContainerServiceClient class. /// @@ -342,13 +352,15 @@ public ContainerServiceClient(System.Uri baseUri, ServiceClientCredentials crede /// private void Initialize() { - OpenShiftManagedClusters = new OpenShiftManagedClustersOperations(this); - ContainerServices = new ContainerServicesOperations(this); Operations = new Operations(this); ManagedClusters = new ManagedClustersOperations(this); + MaintenanceConfigurations = new MaintenanceConfigurationsOperations(this); AgentPools = new AgentPoolsOperations(this); PrivateEndpointConnections = new PrivateEndpointConnectionsOperations(this); + PrivateLinkResources = new PrivateLinkResourcesOperations(this); + ResolvePrivateLinkServiceId = new ResolvePrivateLinkServiceIdOperations(this); BaseUri = new System.Uri("https://management.azure.com"); + ApiVersion = "2021-05-01"; AcceptLanguage = "en-US"; LongRunningOperationRetryTimeout = 30; GenerateClientRequestId = true; @@ -378,8 +390,6 @@ private void Initialize() new Iso8601TimeSpanConverter() } }; - SerializationSettings.Converters.Add(new PolymorphicSerializeJsonConverter("kind")); - DeserializationSettings.Converters.Add(new PolymorphicDeserializeJsonConverter("kind")); CustomInitialize(); DeserializationSettings.Converters.Add(new TransformationJsonConverter()); DeserializationSettings.Converters.Add(new CloudErrorJsonConverter()); diff --git a/sdk/containerservice/Microsoft.Azure.Management.ContainerService/src/Generated/ContainerServicesOperations.cs b/sdk/containerservice/Microsoft.Azure.Management.ContainerService/src/Generated/ContainerServicesOperations.cs deleted file mode 100644 index 564aab684620..000000000000 --- a/sdk/containerservice/Microsoft.Azure.Management.ContainerService/src/Generated/ContainerServicesOperations.cs +++ /dev/null @@ -1,1689 +0,0 @@ -// -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. See License.txt in the project root for -// license information. -// -// Code generated by Microsoft (R) AutoRest Code Generator. -// Changes may cause incorrect behavior and will be lost if the code is -// regenerated. -// - -namespace Microsoft.Azure.Management.ContainerService -{ - using Microsoft.Rest; - using Microsoft.Rest.Azure; - using Models; - using Newtonsoft.Json; - using System.Collections; - using System.Collections.Generic; - using System.Linq; - using System.Net; - using System.Net.Http; - using System.Threading; - using System.Threading.Tasks; - - /// - /// ContainerServicesOperations operations. - /// - internal partial class ContainerServicesOperations : IServiceOperations, IContainerServicesOperations - { - /// - /// Initializes a new instance of the ContainerServicesOperations class. - /// - /// - /// Reference to the service client. - /// - /// - /// Thrown when a required parameter is null - /// - internal ContainerServicesOperations(ContainerServiceClient client) - { - if (client == null) - { - throw new System.ArgumentNullException("client"); - } - Client = client; - } - - /// - /// Gets a reference to the ContainerServiceClient - /// - public ContainerServiceClient Client { get; private set; } - - /// - /// Gets a list of container services in the specified subscription. - /// - /// - /// Gets a list of container services in the specified subscription. The - /// operation returns properties of each container service including state, - /// orchestrator, number of masters and agents, and FQDNs of masters and - /// agents. - /// - /// - /// Headers that will be added to request. - /// - /// - /// The cancellation token. - /// - /// - /// Thrown when the operation returned an invalid status code - /// - /// - /// Thrown when unable to deserialize the response - /// - /// - /// Thrown when a required parameter is null - /// - /// - /// Thrown when a required parameter is null - /// - /// - /// A response object containing the response body and response headers. - /// - [System.Obsolete("This operation is deprecated. Please do not use it any longer.")] - public async Task>> ListWithHttpMessagesAsync(Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) - { - if (Client.SubscriptionId == null) - { - throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId"); - } - string apiVersion = "2017-07-01"; - // Tracing - bool _shouldTrace = ServiceClientTracing.IsEnabled; - string _invocationId = null; - if (_shouldTrace) - { - _invocationId = ServiceClientTracing.NextInvocationId.ToString(); - Dictionary tracingParameters = new Dictionary(); - tracingParameters.Add("apiVersion", apiVersion); - tracingParameters.Add("cancellationToken", cancellationToken); - ServiceClientTracing.Enter(_invocationId, this, "List", tracingParameters); - } - // Construct URL - var _baseUrl = Client.BaseUri.AbsoluteUri; - var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "subscriptions/{subscriptionId}/providers/Microsoft.ContainerService/containerServices").ToString(); - _url = _url.Replace("{subscriptionId}", System.Uri.EscapeDataString(Client.SubscriptionId)); - List _queryParameters = new List(); - if (apiVersion != null) - { - _queryParameters.Add(string.Format("api-version={0}", System.Uri.EscapeDataString(apiVersion))); - } - if (_queryParameters.Count > 0) - { - _url += (_url.Contains("?") ? "&" : "?") + string.Join("&", _queryParameters); - } - // Create HTTP transport objects - var _httpRequest = new HttpRequestMessage(); - HttpResponseMessage _httpResponse = null; - _httpRequest.Method = new HttpMethod("GET"); - _httpRequest.RequestUri = new System.Uri(_url); - // Set Headers - if (Client.GenerateClientRequestId != null && Client.GenerateClientRequestId.Value) - { - _httpRequest.Headers.TryAddWithoutValidation("x-ms-client-request-id", System.Guid.NewGuid().ToString()); - } - if (Client.AcceptLanguage != null) - { - if (_httpRequest.Headers.Contains("accept-language")) - { - _httpRequest.Headers.Remove("accept-language"); - } - _httpRequest.Headers.TryAddWithoutValidation("accept-language", Client.AcceptLanguage); - } - - - if (customHeaders != null) - { - foreach(var _header in customHeaders) - { - if (_httpRequest.Headers.Contains(_header.Key)) - { - _httpRequest.Headers.Remove(_header.Key); - } - _httpRequest.Headers.TryAddWithoutValidation(_header.Key, _header.Value); - } - } - - // Serialize Request - string _requestContent = null; - // Set Credentials - if (Client.Credentials != null) - { - cancellationToken.ThrowIfCancellationRequested(); - await Client.Credentials.ProcessHttpRequestAsync(_httpRequest, cancellationToken).ConfigureAwait(false); - } - // Send Request - if (_shouldTrace) - { - ServiceClientTracing.SendRequest(_invocationId, _httpRequest); - } - cancellationToken.ThrowIfCancellationRequested(); - _httpResponse = await Client.HttpClient.SendAsync(_httpRequest, cancellationToken).ConfigureAwait(false); - if (_shouldTrace) - { - ServiceClientTracing.ReceiveResponse(_invocationId, _httpResponse); - } - HttpStatusCode _statusCode = _httpResponse.StatusCode; - cancellationToken.ThrowIfCancellationRequested(); - string _responseContent = null; - if ((int)_statusCode != 200) - { - var ex = new CloudException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); - try - { - _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); - CloudError _errorBody = Rest.Serialization.SafeJsonConvert.DeserializeObject(_responseContent, Client.DeserializationSettings); - if (_errorBody != null) - { - ex = new CloudException(_errorBody.Message); - ex.Body = _errorBody; - } - } - catch (JsonException) - { - // Ignore the exception - } - ex.Request = new HttpRequestMessageWrapper(_httpRequest, _requestContent); - ex.Response = new HttpResponseMessageWrapper(_httpResponse, _responseContent); - if (_httpResponse.Headers.Contains("x-ms-request-id")) - { - ex.RequestId = _httpResponse.Headers.GetValues("x-ms-request-id").FirstOrDefault(); - } - if (_shouldTrace) - { - ServiceClientTracing.Error(_invocationId, ex); - } - _httpRequest.Dispose(); - if (_httpResponse != null) - { - _httpResponse.Dispose(); - } - throw ex; - } - // Create Result - var _result = new AzureOperationResponse>(); - _result.Request = _httpRequest; - _result.Response = _httpResponse; - if (_httpResponse.Headers.Contains("x-ms-request-id")) - { - _result.RequestId = _httpResponse.Headers.GetValues("x-ms-request-id").FirstOrDefault(); - } - // Deserialize Response - if ((int)_statusCode == 200) - { - _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); - try - { - _result.Body = Rest.Serialization.SafeJsonConvert.DeserializeObject>(_responseContent, Client.DeserializationSettings); - } - catch (JsonException ex) - { - _httpRequest.Dispose(); - if (_httpResponse != null) - { - _httpResponse.Dispose(); - } - throw new SerializationException("Unable to deserialize the response.", _responseContent, ex); - } - } - if (_shouldTrace) - { - ServiceClientTracing.Exit(_invocationId, _result); - } - return _result; - } - - /// - /// Creates or updates a container service. - /// - /// - /// Creates or updates a container service with the specified configuration of - /// orchestrator, masters, and agents. - /// - /// - /// The name of the resource group. - /// - /// - /// The name of the container service in the specified subscription and - /// resource group. - /// - /// - /// Parameters supplied to the Create or Update a Container Service operation. - /// - /// - /// The headers that will be added to request. - /// - /// - /// The cancellation token. - /// - [System.Obsolete("This operation is deprecated. Please do not use it any longer.")] - public async Task> CreateOrUpdateWithHttpMessagesAsync(string resourceGroupName, string containerServiceName, ContainerServiceModel parameters, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) - { - // Send Request - AzureOperationResponse _response = await BeginCreateOrUpdateWithHttpMessagesAsync(resourceGroupName, containerServiceName, parameters, customHeaders, cancellationToken).ConfigureAwait(false); - return await Client.GetPutOrPatchOperationResultAsync(_response, customHeaders, cancellationToken).ConfigureAwait(false); - } - - /// - /// Gets the properties of the specified container service. - /// - /// - /// Gets the properties of the specified container service in the specified - /// subscription and resource group. The operation returns the properties - /// including state, orchestrator, number of masters and agents, and FQDNs of - /// masters and agents. - /// - /// - /// The name of the resource group. - /// - /// - /// The name of the container service in the specified subscription and - /// resource group. - /// - /// - /// Headers that will be added to request. - /// - /// - /// The cancellation token. - /// - /// - /// Thrown when the operation returned an invalid status code - /// - /// - /// Thrown when unable to deserialize the response - /// - /// - /// Thrown when a required parameter is null - /// - /// - /// Thrown when a required parameter is null - /// - /// - /// A response object containing the response body and response headers. - /// - [System.Obsolete("This operation is deprecated. Please do not use it any longer.")] - public async Task> GetWithHttpMessagesAsync(string resourceGroupName, string containerServiceName, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) - { - if (resourceGroupName == null) - { - throw new ValidationException(ValidationRules.CannotBeNull, "resourceGroupName"); - } - if (containerServiceName == null) - { - throw new ValidationException(ValidationRules.CannotBeNull, "containerServiceName"); - } - if (Client.SubscriptionId == null) - { - throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId"); - } - string apiVersion = "2017-07-01"; - // Tracing - bool _shouldTrace = ServiceClientTracing.IsEnabled; - string _invocationId = null; - if (_shouldTrace) - { - _invocationId = ServiceClientTracing.NextInvocationId.ToString(); - Dictionary tracingParameters = new Dictionary(); - tracingParameters.Add("resourceGroupName", resourceGroupName); - tracingParameters.Add("containerServiceName", containerServiceName); - tracingParameters.Add("apiVersion", apiVersion); - tracingParameters.Add("cancellationToken", cancellationToken); - ServiceClientTracing.Enter(_invocationId, this, "Get", tracingParameters); - } - // Construct URL - var _baseUrl = Client.BaseUri.AbsoluteUri; - var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerService/containerServices/{containerServiceName}").ToString(); - _url = _url.Replace("{resourceGroupName}", System.Uri.EscapeDataString(resourceGroupName)); - _url = _url.Replace("{containerServiceName}", System.Uri.EscapeDataString(containerServiceName)); - _url = _url.Replace("{subscriptionId}", System.Uri.EscapeDataString(Client.SubscriptionId)); - List _queryParameters = new List(); - if (apiVersion != null) - { - _queryParameters.Add(string.Format("api-version={0}", System.Uri.EscapeDataString(apiVersion))); - } - if (_queryParameters.Count > 0) - { - _url += (_url.Contains("?") ? "&" : "?") + string.Join("&", _queryParameters); - } - // Create HTTP transport objects - var _httpRequest = new HttpRequestMessage(); - HttpResponseMessage _httpResponse = null; - _httpRequest.Method = new HttpMethod("GET"); - _httpRequest.RequestUri = new System.Uri(_url); - // Set Headers - if (Client.GenerateClientRequestId != null && Client.GenerateClientRequestId.Value) - { - _httpRequest.Headers.TryAddWithoutValidation("x-ms-client-request-id", System.Guid.NewGuid().ToString()); - } - if (Client.AcceptLanguage != null) - { - if (_httpRequest.Headers.Contains("accept-language")) - { - _httpRequest.Headers.Remove("accept-language"); - } - _httpRequest.Headers.TryAddWithoutValidation("accept-language", Client.AcceptLanguage); - } - - - if (customHeaders != null) - { - foreach(var _header in customHeaders) - { - if (_httpRequest.Headers.Contains(_header.Key)) - { - _httpRequest.Headers.Remove(_header.Key); - } - _httpRequest.Headers.TryAddWithoutValidation(_header.Key, _header.Value); - } - } - - // Serialize Request - string _requestContent = null; - // Set Credentials - if (Client.Credentials != null) - { - cancellationToken.ThrowIfCancellationRequested(); - await Client.Credentials.ProcessHttpRequestAsync(_httpRequest, cancellationToken).ConfigureAwait(false); - } - // Send Request - if (_shouldTrace) - { - ServiceClientTracing.SendRequest(_invocationId, _httpRequest); - } - cancellationToken.ThrowIfCancellationRequested(); - _httpResponse = await Client.HttpClient.SendAsync(_httpRequest, cancellationToken).ConfigureAwait(false); - if (_shouldTrace) - { - ServiceClientTracing.ReceiveResponse(_invocationId, _httpResponse); - } - HttpStatusCode _statusCode = _httpResponse.StatusCode; - cancellationToken.ThrowIfCancellationRequested(); - string _responseContent = null; - if ((int)_statusCode != 200) - { - var ex = new CloudException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); - try - { - _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); - CloudError _errorBody = Rest.Serialization.SafeJsonConvert.DeserializeObject(_responseContent, Client.DeserializationSettings); - if (_errorBody != null) - { - ex = new CloudException(_errorBody.Message); - ex.Body = _errorBody; - } - } - catch (JsonException) - { - // Ignore the exception - } - ex.Request = new HttpRequestMessageWrapper(_httpRequest, _requestContent); - ex.Response = new HttpResponseMessageWrapper(_httpResponse, _responseContent); - if (_httpResponse.Headers.Contains("x-ms-request-id")) - { - ex.RequestId = _httpResponse.Headers.GetValues("x-ms-request-id").FirstOrDefault(); - } - if (_shouldTrace) - { - ServiceClientTracing.Error(_invocationId, ex); - } - _httpRequest.Dispose(); - if (_httpResponse != null) - { - _httpResponse.Dispose(); - } - throw ex; - } - // Create Result - var _result = new AzureOperationResponse(); - _result.Request = _httpRequest; - _result.Response = _httpResponse; - if (_httpResponse.Headers.Contains("x-ms-request-id")) - { - _result.RequestId = _httpResponse.Headers.GetValues("x-ms-request-id").FirstOrDefault(); - } - // Deserialize Response - if ((int)_statusCode == 200) - { - _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); - try - { - _result.Body = Rest.Serialization.SafeJsonConvert.DeserializeObject(_responseContent, Client.DeserializationSettings); - } - catch (JsonException ex) - { - _httpRequest.Dispose(); - if (_httpResponse != null) - { - _httpResponse.Dispose(); - } - throw new SerializationException("Unable to deserialize the response.", _responseContent, ex); - } - } - if (_shouldTrace) - { - ServiceClientTracing.Exit(_invocationId, _result); - } - return _result; - } - - /// - /// Deletes the specified container service. - /// - /// - /// Deletes the specified container service in the specified subscription and - /// resource group. The operation does not delete other resources created as - /// part of creating a container service, including storage accounts, VMs, and - /// availability sets. All the other resources created with the container - /// service are part of the same resource group and can be deleted - /// individually. - /// - /// - /// The name of the resource group. - /// - /// - /// The name of the container service in the specified subscription and - /// resource group. - /// - /// - /// The headers that will be added to request. - /// - /// - /// The cancellation token. - /// - [System.Obsolete("This operation is deprecated. Please do not use it any longer.")] - public async Task DeleteWithHttpMessagesAsync(string resourceGroupName, string containerServiceName, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) - { - // Send request - AzureOperationResponse _response = await BeginDeleteWithHttpMessagesAsync(resourceGroupName, containerServiceName, customHeaders, cancellationToken).ConfigureAwait(false); - return await Client.GetPostOrDeleteOperationResultAsync(_response, customHeaders, cancellationToken).ConfigureAwait(false); - } - - /// - /// Gets a list of container services in the specified resource group. - /// - /// - /// Gets a list of container services in the specified subscription and - /// resource group. The operation returns properties of each container service - /// including state, orchestrator, number of masters and agents, and FQDNs of - /// masters and agents. - /// - /// - /// The name of the resource group. - /// - /// - /// Headers that will be added to request. - /// - /// - /// The cancellation token. - /// - /// - /// Thrown when the operation returned an invalid status code - /// - /// - /// Thrown when unable to deserialize the response - /// - /// - /// Thrown when a required parameter is null - /// - /// - /// Thrown when a required parameter is null - /// - /// - /// A response object containing the response body and response headers. - /// - [System.Obsolete("This operation is deprecated. Please do not use it any longer.")] - public async Task>> ListByResourceGroupWithHttpMessagesAsync(string resourceGroupName, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) - { - if (resourceGroupName == null) - { - throw new ValidationException(ValidationRules.CannotBeNull, "resourceGroupName"); - } - if (Client.SubscriptionId == null) - { - throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId"); - } - string apiVersion = "2017-07-01"; - // Tracing - bool _shouldTrace = ServiceClientTracing.IsEnabled; - string _invocationId = null; - if (_shouldTrace) - { - _invocationId = ServiceClientTracing.NextInvocationId.ToString(); - Dictionary tracingParameters = new Dictionary(); - tracingParameters.Add("resourceGroupName", resourceGroupName); - tracingParameters.Add("apiVersion", apiVersion); - tracingParameters.Add("cancellationToken", cancellationToken); - ServiceClientTracing.Enter(_invocationId, this, "ListByResourceGroup", tracingParameters); - } - // Construct URL - var _baseUrl = Client.BaseUri.AbsoluteUri; - var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerService/containerServices").ToString(); - _url = _url.Replace("{resourceGroupName}", System.Uri.EscapeDataString(resourceGroupName)); - _url = _url.Replace("{subscriptionId}", System.Uri.EscapeDataString(Client.SubscriptionId)); - List _queryParameters = new List(); - if (apiVersion != null) - { - _queryParameters.Add(string.Format("api-version={0}", System.Uri.EscapeDataString(apiVersion))); - } - if (_queryParameters.Count > 0) - { - _url += (_url.Contains("?") ? "&" : "?") + string.Join("&", _queryParameters); - } - // Create HTTP transport objects - var _httpRequest = new HttpRequestMessage(); - HttpResponseMessage _httpResponse = null; - _httpRequest.Method = new HttpMethod("GET"); - _httpRequest.RequestUri = new System.Uri(_url); - // Set Headers - if (Client.GenerateClientRequestId != null && Client.GenerateClientRequestId.Value) - { - _httpRequest.Headers.TryAddWithoutValidation("x-ms-client-request-id", System.Guid.NewGuid().ToString()); - } - if (Client.AcceptLanguage != null) - { - if (_httpRequest.Headers.Contains("accept-language")) - { - _httpRequest.Headers.Remove("accept-language"); - } - _httpRequest.Headers.TryAddWithoutValidation("accept-language", Client.AcceptLanguage); - } - - - if (customHeaders != null) - { - foreach(var _header in customHeaders) - { - if (_httpRequest.Headers.Contains(_header.Key)) - { - _httpRequest.Headers.Remove(_header.Key); - } - _httpRequest.Headers.TryAddWithoutValidation(_header.Key, _header.Value); - } - } - - // Serialize Request - string _requestContent = null; - // Set Credentials - if (Client.Credentials != null) - { - cancellationToken.ThrowIfCancellationRequested(); - await Client.Credentials.ProcessHttpRequestAsync(_httpRequest, cancellationToken).ConfigureAwait(false); - } - // Send Request - if (_shouldTrace) - { - ServiceClientTracing.SendRequest(_invocationId, _httpRequest); - } - cancellationToken.ThrowIfCancellationRequested(); - _httpResponse = await Client.HttpClient.SendAsync(_httpRequest, cancellationToken).ConfigureAwait(false); - if (_shouldTrace) - { - ServiceClientTracing.ReceiveResponse(_invocationId, _httpResponse); - } - HttpStatusCode _statusCode = _httpResponse.StatusCode; - cancellationToken.ThrowIfCancellationRequested(); - string _responseContent = null; - if ((int)_statusCode != 200) - { - var ex = new CloudException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); - try - { - _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); - CloudError _errorBody = Rest.Serialization.SafeJsonConvert.DeserializeObject(_responseContent, Client.DeserializationSettings); - if (_errorBody != null) - { - ex = new CloudException(_errorBody.Message); - ex.Body = _errorBody; - } - } - catch (JsonException) - { - // Ignore the exception - } - ex.Request = new HttpRequestMessageWrapper(_httpRequest, _requestContent); - ex.Response = new HttpResponseMessageWrapper(_httpResponse, _responseContent); - if (_httpResponse.Headers.Contains("x-ms-request-id")) - { - ex.RequestId = _httpResponse.Headers.GetValues("x-ms-request-id").FirstOrDefault(); - } - if (_shouldTrace) - { - ServiceClientTracing.Error(_invocationId, ex); - } - _httpRequest.Dispose(); - if (_httpResponse != null) - { - _httpResponse.Dispose(); - } - throw ex; - } - // Create Result - var _result = new AzureOperationResponse>(); - _result.Request = _httpRequest; - _result.Response = _httpResponse; - if (_httpResponse.Headers.Contains("x-ms-request-id")) - { - _result.RequestId = _httpResponse.Headers.GetValues("x-ms-request-id").FirstOrDefault(); - } - // Deserialize Response - if ((int)_statusCode == 200) - { - _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); - try - { - _result.Body = Rest.Serialization.SafeJsonConvert.DeserializeObject>(_responseContent, Client.DeserializationSettings); - } - catch (JsonException ex) - { - _httpRequest.Dispose(); - if (_httpResponse != null) - { - _httpResponse.Dispose(); - } - throw new SerializationException("Unable to deserialize the response.", _responseContent, ex); - } - } - if (_shouldTrace) - { - ServiceClientTracing.Exit(_invocationId, _result); - } - return _result; - } - - /// - /// Gets a list of supported orchestrators in the specified subscription. - /// - /// - /// Gets a list of supported orchestrators in the specified subscription. The - /// operation returns properties of each orchestrator including version, - /// available upgrades and whether that version or upgrades are in preview. - /// - /// - /// The name of a supported Azure region. - /// - /// - /// resource type for which the list of orchestrators needs to be returned - /// - /// - /// Headers that will be added to request. - /// - /// - /// The cancellation token. - /// - /// - /// Thrown when the operation returned an invalid status code - /// - /// - /// Thrown when unable to deserialize the response - /// - /// - /// Thrown when a required parameter is null - /// - /// - /// Thrown when a required parameter is null - /// - /// - /// A response object containing the response body and response headers. - /// - public async Task> ListOrchestratorsWithHttpMessagesAsync(string location, string resourceType = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) - { - if (Client.SubscriptionId == null) - { - throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId"); - } - if (location == null) - { - throw new ValidationException(ValidationRules.CannotBeNull, "location"); - } - string apiVersion = "2019-08-01"; - // Tracing - bool _shouldTrace = ServiceClientTracing.IsEnabled; - string _invocationId = null; - if (_shouldTrace) - { - _invocationId = ServiceClientTracing.NextInvocationId.ToString(); - Dictionary tracingParameters = new Dictionary(); - tracingParameters.Add("apiVersion", apiVersion); - tracingParameters.Add("location", location); - tracingParameters.Add("resourceType", resourceType); - tracingParameters.Add("cancellationToken", cancellationToken); - ServiceClientTracing.Enter(_invocationId, this, "ListOrchestrators", tracingParameters); - } - // Construct URL - var _baseUrl = Client.BaseUri.AbsoluteUri; - var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "subscriptions/{subscriptionId}/providers/Microsoft.ContainerService/locations/{location}/orchestrators").ToString(); - _url = _url.Replace("{subscriptionId}", System.Uri.EscapeDataString(Client.SubscriptionId)); - _url = _url.Replace("{location}", System.Uri.EscapeDataString(location)); - List _queryParameters = new List(); - if (apiVersion != null) - { - _queryParameters.Add(string.Format("api-version={0}", System.Uri.EscapeDataString(apiVersion))); - } - if (resourceType != null) - { - _queryParameters.Add(string.Format("resource-type={0}", System.Uri.EscapeDataString(resourceType))); - } - if (_queryParameters.Count > 0) - { - _url += (_url.Contains("?") ? "&" : "?") + string.Join("&", _queryParameters); - } - // Create HTTP transport objects - var _httpRequest = new HttpRequestMessage(); - HttpResponseMessage _httpResponse = null; - _httpRequest.Method = new HttpMethod("GET"); - _httpRequest.RequestUri = new System.Uri(_url); - // Set Headers - if (Client.GenerateClientRequestId != null && Client.GenerateClientRequestId.Value) - { - _httpRequest.Headers.TryAddWithoutValidation("x-ms-client-request-id", System.Guid.NewGuid().ToString()); - } - if (Client.AcceptLanguage != null) - { - if (_httpRequest.Headers.Contains("accept-language")) - { - _httpRequest.Headers.Remove("accept-language"); - } - _httpRequest.Headers.TryAddWithoutValidation("accept-language", Client.AcceptLanguage); - } - - - if (customHeaders != null) - { - foreach(var _header in customHeaders) - { - if (_httpRequest.Headers.Contains(_header.Key)) - { - _httpRequest.Headers.Remove(_header.Key); - } - _httpRequest.Headers.TryAddWithoutValidation(_header.Key, _header.Value); - } - } - - // Serialize Request - string _requestContent = null; - // Set Credentials - if (Client.Credentials != null) - { - cancellationToken.ThrowIfCancellationRequested(); - await Client.Credentials.ProcessHttpRequestAsync(_httpRequest, cancellationToken).ConfigureAwait(false); - } - // Send Request - if (_shouldTrace) - { - ServiceClientTracing.SendRequest(_invocationId, _httpRequest); - } - cancellationToken.ThrowIfCancellationRequested(); - _httpResponse = await Client.HttpClient.SendAsync(_httpRequest, cancellationToken).ConfigureAwait(false); - if (_shouldTrace) - { - ServiceClientTracing.ReceiveResponse(_invocationId, _httpResponse); - } - HttpStatusCode _statusCode = _httpResponse.StatusCode; - cancellationToken.ThrowIfCancellationRequested(); - string _responseContent = null; - if ((int)_statusCode != 200) - { - var ex = new CloudException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); - try - { - _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); - CloudError _errorBody = Rest.Serialization.SafeJsonConvert.DeserializeObject(_responseContent, Client.DeserializationSettings); - if (_errorBody != null) - { - ex = new CloudException(_errorBody.Message); - ex.Body = _errorBody; - } - } - catch (JsonException) - { - // Ignore the exception - } - ex.Request = new HttpRequestMessageWrapper(_httpRequest, _requestContent); - ex.Response = new HttpResponseMessageWrapper(_httpResponse, _responseContent); - if (_httpResponse.Headers.Contains("x-ms-request-id")) - { - ex.RequestId = _httpResponse.Headers.GetValues("x-ms-request-id").FirstOrDefault(); - } - if (_shouldTrace) - { - ServiceClientTracing.Error(_invocationId, ex); - } - _httpRequest.Dispose(); - if (_httpResponse != null) - { - _httpResponse.Dispose(); - } - throw ex; - } - // Create Result - var _result = new AzureOperationResponse(); - _result.Request = _httpRequest; - _result.Response = _httpResponse; - if (_httpResponse.Headers.Contains("x-ms-request-id")) - { - _result.RequestId = _httpResponse.Headers.GetValues("x-ms-request-id").FirstOrDefault(); - } - // Deserialize Response - if ((int)_statusCode == 200) - { - _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); - try - { - _result.Body = Rest.Serialization.SafeJsonConvert.DeserializeObject(_responseContent, Client.DeserializationSettings); - } - catch (JsonException ex) - { - _httpRequest.Dispose(); - if (_httpResponse != null) - { - _httpResponse.Dispose(); - } - throw new SerializationException("Unable to deserialize the response.", _responseContent, ex); - } - } - if (_shouldTrace) - { - ServiceClientTracing.Exit(_invocationId, _result); - } - return _result; - } - - /// - /// Creates or updates a container service. - /// - /// - /// Creates or updates a container service with the specified configuration of - /// orchestrator, masters, and agents. - /// - /// - /// The name of the resource group. - /// - /// - /// The name of the container service in the specified subscription and - /// resource group. - /// - /// - /// Parameters supplied to the Create or Update a Container Service operation. - /// - /// - /// Headers that will be added to request. - /// - /// - /// The cancellation token. - /// - /// - /// Thrown when the operation returned an invalid status code - /// - /// - /// Thrown when unable to deserialize the response - /// - /// - /// Thrown when a required parameter is null - /// - /// - /// Thrown when a required parameter is null - /// - /// - /// A response object containing the response body and response headers. - /// - [System.Obsolete("This operation is deprecated. Please do not use it any longer.")] - public async Task> BeginCreateOrUpdateWithHttpMessagesAsync(string resourceGroupName, string containerServiceName, ContainerServiceModel parameters, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) - { - if (resourceGroupName == null) - { - throw new ValidationException(ValidationRules.CannotBeNull, "resourceGroupName"); - } - if (containerServiceName == null) - { - throw new ValidationException(ValidationRules.CannotBeNull, "containerServiceName"); - } - if (parameters == null) - { - throw new ValidationException(ValidationRules.CannotBeNull, "parameters"); - } - if (parameters != null) - { - parameters.Validate(); - } - if (Client.SubscriptionId == null) - { - throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId"); - } - string apiVersion = "2017-07-01"; - // Tracing - bool _shouldTrace = ServiceClientTracing.IsEnabled; - string _invocationId = null; - if (_shouldTrace) - { - _invocationId = ServiceClientTracing.NextInvocationId.ToString(); - Dictionary tracingParameters = new Dictionary(); - tracingParameters.Add("resourceGroupName", resourceGroupName); - tracingParameters.Add("containerServiceName", containerServiceName); - tracingParameters.Add("parameters", parameters); - tracingParameters.Add("apiVersion", apiVersion); - tracingParameters.Add("cancellationToken", cancellationToken); - ServiceClientTracing.Enter(_invocationId, this, "BeginCreateOrUpdate", tracingParameters); - } - // Construct URL - var _baseUrl = Client.BaseUri.AbsoluteUri; - var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerService/containerServices/{containerServiceName}").ToString(); - _url = _url.Replace("{resourceGroupName}", System.Uri.EscapeDataString(resourceGroupName)); - _url = _url.Replace("{containerServiceName}", System.Uri.EscapeDataString(containerServiceName)); - _url = _url.Replace("{subscriptionId}", System.Uri.EscapeDataString(Client.SubscriptionId)); - List _queryParameters = new List(); - if (apiVersion != null) - { - _queryParameters.Add(string.Format("api-version={0}", System.Uri.EscapeDataString(apiVersion))); - } - if (_queryParameters.Count > 0) - { - _url += (_url.Contains("?") ? "&" : "?") + string.Join("&", _queryParameters); - } - // Create HTTP transport objects - var _httpRequest = new HttpRequestMessage(); - HttpResponseMessage _httpResponse = null; - _httpRequest.Method = new HttpMethod("PUT"); - _httpRequest.RequestUri = new System.Uri(_url); - // Set Headers - if (Client.GenerateClientRequestId != null && Client.GenerateClientRequestId.Value) - { - _httpRequest.Headers.TryAddWithoutValidation("x-ms-client-request-id", System.Guid.NewGuid().ToString()); - } - if (Client.AcceptLanguage != null) - { - if (_httpRequest.Headers.Contains("accept-language")) - { - _httpRequest.Headers.Remove("accept-language"); - } - _httpRequest.Headers.TryAddWithoutValidation("accept-language", Client.AcceptLanguage); - } - - - if (customHeaders != null) - { - foreach(var _header in customHeaders) - { - if (_httpRequest.Headers.Contains(_header.Key)) - { - _httpRequest.Headers.Remove(_header.Key); - } - _httpRequest.Headers.TryAddWithoutValidation(_header.Key, _header.Value); - } - } - - // Serialize Request - string _requestContent = null; - if(parameters != null) - { - _requestContent = Rest.Serialization.SafeJsonConvert.SerializeObject(parameters, Client.SerializationSettings); - _httpRequest.Content = new StringContent(_requestContent, System.Text.Encoding.UTF8); - _httpRequest.Content.Headers.ContentType =System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json; charset=utf-8"); - } - // Set Credentials - if (Client.Credentials != null) - { - cancellationToken.ThrowIfCancellationRequested(); - await Client.Credentials.ProcessHttpRequestAsync(_httpRequest, cancellationToken).ConfigureAwait(false); - } - // Send Request - if (_shouldTrace) - { - ServiceClientTracing.SendRequest(_invocationId, _httpRequest); - } - cancellationToken.ThrowIfCancellationRequested(); - _httpResponse = await Client.HttpClient.SendAsync(_httpRequest, cancellationToken).ConfigureAwait(false); - if (_shouldTrace) - { - ServiceClientTracing.ReceiveResponse(_invocationId, _httpResponse); - } - HttpStatusCode _statusCode = _httpResponse.StatusCode; - cancellationToken.ThrowIfCancellationRequested(); - string _responseContent = null; - if ((int)_statusCode != 200 && (int)_statusCode != 201 && (int)_statusCode != 202) - { - var ex = new CloudException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); - try - { - _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); - CloudError _errorBody = Rest.Serialization.SafeJsonConvert.DeserializeObject(_responseContent, Client.DeserializationSettings); - if (_errorBody != null) - { - ex = new CloudException(_errorBody.Message); - ex.Body = _errorBody; - } - } - catch (JsonException) - { - // Ignore the exception - } - ex.Request = new HttpRequestMessageWrapper(_httpRequest, _requestContent); - ex.Response = new HttpResponseMessageWrapper(_httpResponse, _responseContent); - if (_httpResponse.Headers.Contains("x-ms-request-id")) - { - ex.RequestId = _httpResponse.Headers.GetValues("x-ms-request-id").FirstOrDefault(); - } - if (_shouldTrace) - { - ServiceClientTracing.Error(_invocationId, ex); - } - _httpRequest.Dispose(); - if (_httpResponse != null) - { - _httpResponse.Dispose(); - } - throw ex; - } - // Create Result - var _result = new AzureOperationResponse(); - _result.Request = _httpRequest; - _result.Response = _httpResponse; - if (_httpResponse.Headers.Contains("x-ms-request-id")) - { - _result.RequestId = _httpResponse.Headers.GetValues("x-ms-request-id").FirstOrDefault(); - } - // Deserialize Response - if ((int)_statusCode == 200) - { - _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); - try - { - _result.Body = Rest.Serialization.SafeJsonConvert.DeserializeObject(_responseContent, Client.DeserializationSettings); - } - catch (JsonException ex) - { - _httpRequest.Dispose(); - if (_httpResponse != null) - { - _httpResponse.Dispose(); - } - throw new SerializationException("Unable to deserialize the response.", _responseContent, ex); - } - } - // Deserialize Response - if ((int)_statusCode == 201) - { - _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); - try - { - _result.Body = Rest.Serialization.SafeJsonConvert.DeserializeObject(_responseContent, Client.DeserializationSettings); - } - catch (JsonException ex) - { - _httpRequest.Dispose(); - if (_httpResponse != null) - { - _httpResponse.Dispose(); - } - throw new SerializationException("Unable to deserialize the response.", _responseContent, ex); - } - } - // Deserialize Response - if ((int)_statusCode == 202) - { - _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); - try - { - _result.Body = Rest.Serialization.SafeJsonConvert.DeserializeObject(_responseContent, Client.DeserializationSettings); - } - catch (JsonException ex) - { - _httpRequest.Dispose(); - if (_httpResponse != null) - { - _httpResponse.Dispose(); - } - throw new SerializationException("Unable to deserialize the response.", _responseContent, ex); - } - } - if (_shouldTrace) - { - ServiceClientTracing.Exit(_invocationId, _result); - } - return _result; - } - - /// - /// Deletes the specified container service. - /// - /// - /// Deletes the specified container service in the specified subscription and - /// resource group. The operation does not delete other resources created as - /// part of creating a container service, including storage accounts, VMs, and - /// availability sets. All the other resources created with the container - /// service are part of the same resource group and can be deleted - /// individually. - /// - /// - /// The name of the resource group. - /// - /// - /// The name of the container service in the specified subscription and - /// resource group. - /// - /// - /// Headers that will be added to request. - /// - /// - /// The cancellation token. - /// - /// - /// Thrown when the operation returned an invalid status code - /// - /// - /// Thrown when a required parameter is null - /// - /// - /// Thrown when a required parameter is null - /// - /// - /// A response object containing the response body and response headers. - /// - [System.Obsolete("This operation is deprecated. Please do not use it any longer.")] - public async Task BeginDeleteWithHttpMessagesAsync(string resourceGroupName, string containerServiceName, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) - { - if (resourceGroupName == null) - { - throw new ValidationException(ValidationRules.CannotBeNull, "resourceGroupName"); - } - if (containerServiceName == null) - { - throw new ValidationException(ValidationRules.CannotBeNull, "containerServiceName"); - } - if (Client.SubscriptionId == null) - { - throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId"); - } - string apiVersion = "2017-07-01"; - // Tracing - bool _shouldTrace = ServiceClientTracing.IsEnabled; - string _invocationId = null; - if (_shouldTrace) - { - _invocationId = ServiceClientTracing.NextInvocationId.ToString(); - Dictionary tracingParameters = new Dictionary(); - tracingParameters.Add("resourceGroupName", resourceGroupName); - tracingParameters.Add("containerServiceName", containerServiceName); - tracingParameters.Add("apiVersion", apiVersion); - tracingParameters.Add("cancellationToken", cancellationToken); - ServiceClientTracing.Enter(_invocationId, this, "BeginDelete", tracingParameters); - } - // Construct URL - var _baseUrl = Client.BaseUri.AbsoluteUri; - var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerService/containerServices/{containerServiceName}").ToString(); - _url = _url.Replace("{resourceGroupName}", System.Uri.EscapeDataString(resourceGroupName)); - _url = _url.Replace("{containerServiceName}", System.Uri.EscapeDataString(containerServiceName)); - _url = _url.Replace("{subscriptionId}", System.Uri.EscapeDataString(Client.SubscriptionId)); - List _queryParameters = new List(); - if (apiVersion != null) - { - _queryParameters.Add(string.Format("api-version={0}", System.Uri.EscapeDataString(apiVersion))); - } - if (_queryParameters.Count > 0) - { - _url += (_url.Contains("?") ? "&" : "?") + string.Join("&", _queryParameters); - } - // Create HTTP transport objects - var _httpRequest = new HttpRequestMessage(); - HttpResponseMessage _httpResponse = null; - _httpRequest.Method = new HttpMethod("DELETE"); - _httpRequest.RequestUri = new System.Uri(_url); - // Set Headers - if (Client.GenerateClientRequestId != null && Client.GenerateClientRequestId.Value) - { - _httpRequest.Headers.TryAddWithoutValidation("x-ms-client-request-id", System.Guid.NewGuid().ToString()); - } - if (Client.AcceptLanguage != null) - { - if (_httpRequest.Headers.Contains("accept-language")) - { - _httpRequest.Headers.Remove("accept-language"); - } - _httpRequest.Headers.TryAddWithoutValidation("accept-language", Client.AcceptLanguage); - } - - - if (customHeaders != null) - { - foreach(var _header in customHeaders) - { - if (_httpRequest.Headers.Contains(_header.Key)) - { - _httpRequest.Headers.Remove(_header.Key); - } - _httpRequest.Headers.TryAddWithoutValidation(_header.Key, _header.Value); - } - } - - // Serialize Request - string _requestContent = null; - // Set Credentials - if (Client.Credentials != null) - { - cancellationToken.ThrowIfCancellationRequested(); - await Client.Credentials.ProcessHttpRequestAsync(_httpRequest, cancellationToken).ConfigureAwait(false); - } - // Send Request - if (_shouldTrace) - { - ServiceClientTracing.SendRequest(_invocationId, _httpRequest); - } - cancellationToken.ThrowIfCancellationRequested(); - _httpResponse = await Client.HttpClient.SendAsync(_httpRequest, cancellationToken).ConfigureAwait(false); - if (_shouldTrace) - { - ServiceClientTracing.ReceiveResponse(_invocationId, _httpResponse); - } - HttpStatusCode _statusCode = _httpResponse.StatusCode; - cancellationToken.ThrowIfCancellationRequested(); - string _responseContent = null; - if ((int)_statusCode != 202 && (int)_statusCode != 204) - { - var ex = new CloudException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); - try - { - _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); - CloudError _errorBody = Rest.Serialization.SafeJsonConvert.DeserializeObject(_responseContent, Client.DeserializationSettings); - if (_errorBody != null) - { - ex = new CloudException(_errorBody.Message); - ex.Body = _errorBody; - } - } - catch (JsonException) - { - // Ignore the exception - } - ex.Request = new HttpRequestMessageWrapper(_httpRequest, _requestContent); - ex.Response = new HttpResponseMessageWrapper(_httpResponse, _responseContent); - if (_httpResponse.Headers.Contains("x-ms-request-id")) - { - ex.RequestId = _httpResponse.Headers.GetValues("x-ms-request-id").FirstOrDefault(); - } - if (_shouldTrace) - { - ServiceClientTracing.Error(_invocationId, ex); - } - _httpRequest.Dispose(); - if (_httpResponse != null) - { - _httpResponse.Dispose(); - } - throw ex; - } - // Create Result - var _result = new AzureOperationResponse(); - _result.Request = _httpRequest; - _result.Response = _httpResponse; - if (_httpResponse.Headers.Contains("x-ms-request-id")) - { - _result.RequestId = _httpResponse.Headers.GetValues("x-ms-request-id").FirstOrDefault(); - } - if (_shouldTrace) - { - ServiceClientTracing.Exit(_invocationId, _result); - } - return _result; - } - - /// - /// Gets a list of container services in the specified subscription. - /// - /// - /// Gets a list of container services in the specified subscription. The - /// operation returns properties of each container service including state, - /// orchestrator, number of masters and agents, and FQDNs of masters and - /// agents. - /// - /// - /// The NextLink from the previous successful call to List operation. - /// - /// - /// Headers that will be added to request. - /// - /// - /// The cancellation token. - /// - /// - /// Thrown when the operation returned an invalid status code - /// - /// - /// Thrown when unable to deserialize the response - /// - /// - /// Thrown when a required parameter is null - /// - /// - /// Thrown when a required parameter is null - /// - /// - /// A response object containing the response body and response headers. - /// - [System.Obsolete("This operation is deprecated. Please do not use it any longer.")] - public async Task>> ListNextWithHttpMessagesAsync(string nextPageLink, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) - { - if (nextPageLink == null) - { - throw new ValidationException(ValidationRules.CannotBeNull, "nextPageLink"); - } - // Tracing - bool _shouldTrace = ServiceClientTracing.IsEnabled; - string _invocationId = null; - if (_shouldTrace) - { - _invocationId = ServiceClientTracing.NextInvocationId.ToString(); - Dictionary tracingParameters = new Dictionary(); - tracingParameters.Add("nextPageLink", nextPageLink); - tracingParameters.Add("cancellationToken", cancellationToken); - ServiceClientTracing.Enter(_invocationId, this, "ListNext", tracingParameters); - } - // Construct URL - string _url = "{nextLink}"; - _url = _url.Replace("{nextLink}", nextPageLink); - List _queryParameters = new List(); - if (_queryParameters.Count > 0) - { - _url += (_url.Contains("?") ? "&" : "?") + string.Join("&", _queryParameters); - } - // Create HTTP transport objects - var _httpRequest = new HttpRequestMessage(); - HttpResponseMessage _httpResponse = null; - _httpRequest.Method = new HttpMethod("GET"); - _httpRequest.RequestUri = new System.Uri(_url); - // Set Headers - if (Client.GenerateClientRequestId != null && Client.GenerateClientRequestId.Value) - { - _httpRequest.Headers.TryAddWithoutValidation("x-ms-client-request-id", System.Guid.NewGuid().ToString()); - } - if (Client.AcceptLanguage != null) - { - if (_httpRequest.Headers.Contains("accept-language")) - { - _httpRequest.Headers.Remove("accept-language"); - } - _httpRequest.Headers.TryAddWithoutValidation("accept-language", Client.AcceptLanguage); - } - - - if (customHeaders != null) - { - foreach(var _header in customHeaders) - { - if (_httpRequest.Headers.Contains(_header.Key)) - { - _httpRequest.Headers.Remove(_header.Key); - } - _httpRequest.Headers.TryAddWithoutValidation(_header.Key, _header.Value); - } - } - - // Serialize Request - string _requestContent = null; - // Set Credentials - if (Client.Credentials != null) - { - cancellationToken.ThrowIfCancellationRequested(); - await Client.Credentials.ProcessHttpRequestAsync(_httpRequest, cancellationToken).ConfigureAwait(false); - } - // Send Request - if (_shouldTrace) - { - ServiceClientTracing.SendRequest(_invocationId, _httpRequest); - } - cancellationToken.ThrowIfCancellationRequested(); - _httpResponse = await Client.HttpClient.SendAsync(_httpRequest, cancellationToken).ConfigureAwait(false); - if (_shouldTrace) - { - ServiceClientTracing.ReceiveResponse(_invocationId, _httpResponse); - } - HttpStatusCode _statusCode = _httpResponse.StatusCode; - cancellationToken.ThrowIfCancellationRequested(); - string _responseContent = null; - if ((int)_statusCode != 200) - { - var ex = new CloudException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); - try - { - _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); - CloudError _errorBody = Rest.Serialization.SafeJsonConvert.DeserializeObject(_responseContent, Client.DeserializationSettings); - if (_errorBody != null) - { - ex = new CloudException(_errorBody.Message); - ex.Body = _errorBody; - } - } - catch (JsonException) - { - // Ignore the exception - } - ex.Request = new HttpRequestMessageWrapper(_httpRequest, _requestContent); - ex.Response = new HttpResponseMessageWrapper(_httpResponse, _responseContent); - if (_httpResponse.Headers.Contains("x-ms-request-id")) - { - ex.RequestId = _httpResponse.Headers.GetValues("x-ms-request-id").FirstOrDefault(); - } - if (_shouldTrace) - { - ServiceClientTracing.Error(_invocationId, ex); - } - _httpRequest.Dispose(); - if (_httpResponse != null) - { - _httpResponse.Dispose(); - } - throw ex; - } - // Create Result - var _result = new AzureOperationResponse>(); - _result.Request = _httpRequest; - _result.Response = _httpResponse; - if (_httpResponse.Headers.Contains("x-ms-request-id")) - { - _result.RequestId = _httpResponse.Headers.GetValues("x-ms-request-id").FirstOrDefault(); - } - // Deserialize Response - if ((int)_statusCode == 200) - { - _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); - try - { - _result.Body = Rest.Serialization.SafeJsonConvert.DeserializeObject>(_responseContent, Client.DeserializationSettings); - } - catch (JsonException ex) - { - _httpRequest.Dispose(); - if (_httpResponse != null) - { - _httpResponse.Dispose(); - } - throw new SerializationException("Unable to deserialize the response.", _responseContent, ex); - } - } - if (_shouldTrace) - { - ServiceClientTracing.Exit(_invocationId, _result); - } - return _result; - } - - /// - /// Gets a list of container services in the specified resource group. - /// - /// - /// Gets a list of container services in the specified subscription and - /// resource group. The operation returns properties of each container service - /// including state, orchestrator, number of masters and agents, and FQDNs of - /// masters and agents. - /// - /// - /// The NextLink from the previous successful call to List operation. - /// - /// - /// Headers that will be added to request. - /// - /// - /// The cancellation token. - /// - /// - /// Thrown when the operation returned an invalid status code - /// - /// - /// Thrown when unable to deserialize the response - /// - /// - /// Thrown when a required parameter is null - /// - /// - /// Thrown when a required parameter is null - /// - /// - /// A response object containing the response body and response headers. - /// - [System.Obsolete("This operation is deprecated. Please do not use it any longer.")] - public async Task>> ListByResourceGroupNextWithHttpMessagesAsync(string nextPageLink, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) - { - if (nextPageLink == null) - { - throw new ValidationException(ValidationRules.CannotBeNull, "nextPageLink"); - } - // Tracing - bool _shouldTrace = ServiceClientTracing.IsEnabled; - string _invocationId = null; - if (_shouldTrace) - { - _invocationId = ServiceClientTracing.NextInvocationId.ToString(); - Dictionary tracingParameters = new Dictionary(); - tracingParameters.Add("nextPageLink", nextPageLink); - tracingParameters.Add("cancellationToken", cancellationToken); - ServiceClientTracing.Enter(_invocationId, this, "ListByResourceGroupNext", tracingParameters); - } - // Construct URL - string _url = "{nextLink}"; - _url = _url.Replace("{nextLink}", nextPageLink); - List _queryParameters = new List(); - if (_queryParameters.Count > 0) - { - _url += (_url.Contains("?") ? "&" : "?") + string.Join("&", _queryParameters); - } - // Create HTTP transport objects - var _httpRequest = new HttpRequestMessage(); - HttpResponseMessage _httpResponse = null; - _httpRequest.Method = new HttpMethod("GET"); - _httpRequest.RequestUri = new System.Uri(_url); - // Set Headers - if (Client.GenerateClientRequestId != null && Client.GenerateClientRequestId.Value) - { - _httpRequest.Headers.TryAddWithoutValidation("x-ms-client-request-id", System.Guid.NewGuid().ToString()); - } - if (Client.AcceptLanguage != null) - { - if (_httpRequest.Headers.Contains("accept-language")) - { - _httpRequest.Headers.Remove("accept-language"); - } - _httpRequest.Headers.TryAddWithoutValidation("accept-language", Client.AcceptLanguage); - } - - - if (customHeaders != null) - { - foreach(var _header in customHeaders) - { - if (_httpRequest.Headers.Contains(_header.Key)) - { - _httpRequest.Headers.Remove(_header.Key); - } - _httpRequest.Headers.TryAddWithoutValidation(_header.Key, _header.Value); - } - } - - // Serialize Request - string _requestContent = null; - // Set Credentials - if (Client.Credentials != null) - { - cancellationToken.ThrowIfCancellationRequested(); - await Client.Credentials.ProcessHttpRequestAsync(_httpRequest, cancellationToken).ConfigureAwait(false); - } - // Send Request - if (_shouldTrace) - { - ServiceClientTracing.SendRequest(_invocationId, _httpRequest); - } - cancellationToken.ThrowIfCancellationRequested(); - _httpResponse = await Client.HttpClient.SendAsync(_httpRequest, cancellationToken).ConfigureAwait(false); - if (_shouldTrace) - { - ServiceClientTracing.ReceiveResponse(_invocationId, _httpResponse); - } - HttpStatusCode _statusCode = _httpResponse.StatusCode; - cancellationToken.ThrowIfCancellationRequested(); - string _responseContent = null; - if ((int)_statusCode != 200) - { - var ex = new CloudException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); - try - { - _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); - CloudError _errorBody = Rest.Serialization.SafeJsonConvert.DeserializeObject(_responseContent, Client.DeserializationSettings); - if (_errorBody != null) - { - ex = new CloudException(_errorBody.Message); - ex.Body = _errorBody; - } - } - catch (JsonException) - { - // Ignore the exception - } - ex.Request = new HttpRequestMessageWrapper(_httpRequest, _requestContent); - ex.Response = new HttpResponseMessageWrapper(_httpResponse, _responseContent); - if (_httpResponse.Headers.Contains("x-ms-request-id")) - { - ex.RequestId = _httpResponse.Headers.GetValues("x-ms-request-id").FirstOrDefault(); - } - if (_shouldTrace) - { - ServiceClientTracing.Error(_invocationId, ex); - } - _httpRequest.Dispose(); - if (_httpResponse != null) - { - _httpResponse.Dispose(); - } - throw ex; - } - // Create Result - var _result = new AzureOperationResponse>(); - _result.Request = _httpRequest; - _result.Response = _httpResponse; - if (_httpResponse.Headers.Contains("x-ms-request-id")) - { - _result.RequestId = _httpResponse.Headers.GetValues("x-ms-request-id").FirstOrDefault(); - } - // Deserialize Response - if ((int)_statusCode == 200) - { - _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); - try - { - _result.Body = Rest.Serialization.SafeJsonConvert.DeserializeObject>(_responseContent, Client.DeserializationSettings); - } - catch (JsonException ex) - { - _httpRequest.Dispose(); - if (_httpResponse != null) - { - _httpResponse.Dispose(); - } - throw new SerializationException("Unable to deserialize the response.", _responseContent, ex); - } - } - if (_shouldTrace) - { - ServiceClientTracing.Exit(_invocationId, _result); - } - return _result; - } - - } -} diff --git a/sdk/containerservice/Microsoft.Azure.Management.ContainerService/src/Generated/ContainerServicesOperationsExtensions.cs b/sdk/containerservice/Microsoft.Azure.Management.ContainerService/src/Generated/ContainerServicesOperationsExtensions.cs deleted file mode 100644 index bea8a4a2c4b8..000000000000 --- a/sdk/containerservice/Microsoft.Azure.Management.ContainerService/src/Generated/ContainerServicesOperationsExtensions.cs +++ /dev/null @@ -1,547 +0,0 @@ -// -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. See License.txt in the project root for -// license information. -// -// Code generated by Microsoft (R) AutoRest Code Generator. -// Changes may cause incorrect behavior and will be lost if the code is -// regenerated. -// - -namespace Microsoft.Azure.Management.ContainerService -{ - using Microsoft.Rest; - using Microsoft.Rest.Azure; - using Models; - using System.Threading; - using System.Threading.Tasks; - - /// - /// Extension methods for ContainerServicesOperations. - /// - public static partial class ContainerServicesOperationsExtensions - { - /// - /// Gets a list of container services in the specified subscription. - /// - /// - /// Gets a list of container services in the specified subscription. The - /// operation returns properties of each container service including state, - /// orchestrator, number of masters and agents, and FQDNs of masters and - /// agents. - /// - /// - /// The operations group for this extension method. - /// - [System.Obsolete("This operation is deprecated. Please do not use it any longer.")] - public static IPage List(this IContainerServicesOperations operations) - { - return operations.ListAsync().GetAwaiter().GetResult(); - } - - /// - /// Gets a list of container services in the specified subscription. - /// - /// - /// Gets a list of container services in the specified subscription. The - /// operation returns properties of each container service including state, - /// orchestrator, number of masters and agents, and FQDNs of masters and - /// agents. - /// - /// - /// The operations group for this extension method. - /// - /// - /// The cancellation token. - /// - [System.Obsolete("This operation is deprecated. Please do not use it any longer.")] - public static async Task> ListAsync(this IContainerServicesOperations operations, CancellationToken cancellationToken = default(CancellationToken)) - { - using (var _result = await operations.ListWithHttpMessagesAsync(null, cancellationToken).ConfigureAwait(false)) - { - return _result.Body; - } - } - - /// - /// Creates or updates a container service. - /// - /// - /// Creates or updates a container service with the specified configuration of - /// orchestrator, masters, and agents. - /// - /// - /// The operations group for this extension method. - /// - /// - /// The name of the resource group. - /// - /// - /// The name of the container service in the specified subscription and - /// resource group. - /// - /// - /// Parameters supplied to the Create or Update a Container Service operation. - /// - [System.Obsolete("This operation is deprecated. Please do not use it any longer.")] - public static ContainerServiceModel CreateOrUpdate(this IContainerServicesOperations operations, string resourceGroupName, string containerServiceName, ContainerServiceModel parameters) - { - return operations.CreateOrUpdateAsync(resourceGroupName, containerServiceName, parameters).GetAwaiter().GetResult(); - } - - /// - /// Creates or updates a container service. - /// - /// - /// Creates or updates a container service with the specified configuration of - /// orchestrator, masters, and agents. - /// - /// - /// The operations group for this extension method. - /// - /// - /// The name of the resource group. - /// - /// - /// The name of the container service in the specified subscription and - /// resource group. - /// - /// - /// Parameters supplied to the Create or Update a Container Service operation. - /// - /// - /// The cancellation token. - /// - [System.Obsolete("This operation is deprecated. Please do not use it any longer.")] - public static async Task CreateOrUpdateAsync(this IContainerServicesOperations operations, string resourceGroupName, string containerServiceName, ContainerServiceModel parameters, CancellationToken cancellationToken = default(CancellationToken)) - { - using (var _result = await operations.CreateOrUpdateWithHttpMessagesAsync(resourceGroupName, containerServiceName, parameters, null, cancellationToken).ConfigureAwait(false)) - { - return _result.Body; - } - } - - /// - /// Gets the properties of the specified container service. - /// - /// - /// Gets the properties of the specified container service in the specified - /// subscription and resource group. The operation returns the properties - /// including state, orchestrator, number of masters and agents, and FQDNs of - /// masters and agents. - /// - /// - /// The operations group for this extension method. - /// - /// - /// The name of the resource group. - /// - /// - /// The name of the container service in the specified subscription and - /// resource group. - /// - [System.Obsolete("This operation is deprecated. Please do not use it any longer.")] - public static ContainerServiceModel Get(this IContainerServicesOperations operations, string resourceGroupName, string containerServiceName) - { - return operations.GetAsync(resourceGroupName, containerServiceName).GetAwaiter().GetResult(); - } - - /// - /// Gets the properties of the specified container service. - /// - /// - /// Gets the properties of the specified container service in the specified - /// subscription and resource group. The operation returns the properties - /// including state, orchestrator, number of masters and agents, and FQDNs of - /// masters and agents. - /// - /// - /// The operations group for this extension method. - /// - /// - /// The name of the resource group. - /// - /// - /// The name of the container service in the specified subscription and - /// resource group. - /// - /// - /// The cancellation token. - /// - [System.Obsolete("This operation is deprecated. Please do not use it any longer.")] - public static async Task GetAsync(this IContainerServicesOperations operations, string resourceGroupName, string containerServiceName, CancellationToken cancellationToken = default(CancellationToken)) - { - using (var _result = await operations.GetWithHttpMessagesAsync(resourceGroupName, containerServiceName, null, cancellationToken).ConfigureAwait(false)) - { - return _result.Body; - } - } - - /// - /// Deletes the specified container service. - /// - /// - /// Deletes the specified container service in the specified subscription and - /// resource group. The operation does not delete other resources created as - /// part of creating a container service, including storage accounts, VMs, and - /// availability sets. All the other resources created with the container - /// service are part of the same resource group and can be deleted - /// individually. - /// - /// - /// The operations group for this extension method. - /// - /// - /// The name of the resource group. - /// - /// - /// The name of the container service in the specified subscription and - /// resource group. - /// - [System.Obsolete("This operation is deprecated. Please do not use it any longer.")] - public static void Delete(this IContainerServicesOperations operations, string resourceGroupName, string containerServiceName) - { - operations.DeleteAsync(resourceGroupName, containerServiceName).GetAwaiter().GetResult(); - } - - /// - /// Deletes the specified container service. - /// - /// - /// Deletes the specified container service in the specified subscription and - /// resource group. The operation does not delete other resources created as - /// part of creating a container service, including storage accounts, VMs, and - /// availability sets. All the other resources created with the container - /// service are part of the same resource group and can be deleted - /// individually. - /// - /// - /// The operations group for this extension method. - /// - /// - /// The name of the resource group. - /// - /// - /// The name of the container service in the specified subscription and - /// resource group. - /// - /// - /// The cancellation token. - /// - [System.Obsolete("This operation is deprecated. Please do not use it any longer.")] - public static async Task DeleteAsync(this IContainerServicesOperations operations, string resourceGroupName, string containerServiceName, CancellationToken cancellationToken = default(CancellationToken)) - { - (await operations.DeleteWithHttpMessagesAsync(resourceGroupName, containerServiceName, null, cancellationToken).ConfigureAwait(false)).Dispose(); - } - - /// - /// Gets a list of container services in the specified resource group. - /// - /// - /// Gets a list of container services in the specified subscription and - /// resource group. The operation returns properties of each container service - /// including state, orchestrator, number of masters and agents, and FQDNs of - /// masters and agents. - /// - /// - /// The operations group for this extension method. - /// - /// - /// The name of the resource group. - /// - [System.Obsolete("This operation is deprecated. Please do not use it any longer.")] - public static IPage ListByResourceGroup(this IContainerServicesOperations operations, string resourceGroupName) - { - return operations.ListByResourceGroupAsync(resourceGroupName).GetAwaiter().GetResult(); - } - - /// - /// Gets a list of container services in the specified resource group. - /// - /// - /// Gets a list of container services in the specified subscription and - /// resource group. The operation returns properties of each container service - /// including state, orchestrator, number of masters and agents, and FQDNs of - /// masters and agents. - /// - /// - /// The operations group for this extension method. - /// - /// - /// The name of the resource group. - /// - /// - /// The cancellation token. - /// - [System.Obsolete("This operation is deprecated. Please do not use it any longer.")] - public static async Task> ListByResourceGroupAsync(this IContainerServicesOperations operations, string resourceGroupName, CancellationToken cancellationToken = default(CancellationToken)) - { - using (var _result = await operations.ListByResourceGroupWithHttpMessagesAsync(resourceGroupName, null, cancellationToken).ConfigureAwait(false)) - { - return _result.Body; - } - } - - /// - /// Gets a list of supported orchestrators in the specified subscription. - /// - /// - /// Gets a list of supported orchestrators in the specified subscription. The - /// operation returns properties of each orchestrator including version, - /// available upgrades and whether that version or upgrades are in preview. - /// - /// - /// The operations group for this extension method. - /// - /// - /// The name of a supported Azure region. - /// - /// - /// resource type for which the list of orchestrators needs to be returned - /// - public static OrchestratorVersionProfileListResult ListOrchestrators(this IContainerServicesOperations operations, string location, string resourceType = default(string)) - { - return operations.ListOrchestratorsAsync(location, resourceType).GetAwaiter().GetResult(); - } - - /// - /// Gets a list of supported orchestrators in the specified subscription. - /// - /// - /// Gets a list of supported orchestrators in the specified subscription. The - /// operation returns properties of each orchestrator including version, - /// available upgrades and whether that version or upgrades are in preview. - /// - /// - /// The operations group for this extension method. - /// - /// - /// The name of a supported Azure region. - /// - /// - /// resource type for which the list of orchestrators needs to be returned - /// - /// - /// The cancellation token. - /// - public static async Task ListOrchestratorsAsync(this IContainerServicesOperations operations, string location, string resourceType = default(string), CancellationToken cancellationToken = default(CancellationToken)) - { - using (var _result = await operations.ListOrchestratorsWithHttpMessagesAsync(location, resourceType, null, cancellationToken).ConfigureAwait(false)) - { - return _result.Body; - } - } - - /// - /// Creates or updates a container service. - /// - /// - /// Creates or updates a container service with the specified configuration of - /// orchestrator, masters, and agents. - /// - /// - /// The operations group for this extension method. - /// - /// - /// The name of the resource group. - /// - /// - /// The name of the container service in the specified subscription and - /// resource group. - /// - /// - /// Parameters supplied to the Create or Update a Container Service operation. - /// - [System.Obsolete("This operation is deprecated. Please do not use it any longer.")] - public static ContainerServiceModel BeginCreateOrUpdate(this IContainerServicesOperations operations, string resourceGroupName, string containerServiceName, ContainerServiceModel parameters) - { - return operations.BeginCreateOrUpdateAsync(resourceGroupName, containerServiceName, parameters).GetAwaiter().GetResult(); - } - - /// - /// Creates or updates a container service. - /// - /// - /// Creates or updates a container service with the specified configuration of - /// orchestrator, masters, and agents. - /// - /// - /// The operations group for this extension method. - /// - /// - /// The name of the resource group. - /// - /// - /// The name of the container service in the specified subscription and - /// resource group. - /// - /// - /// Parameters supplied to the Create or Update a Container Service operation. - /// - /// - /// The cancellation token. - /// - [System.Obsolete("This operation is deprecated. Please do not use it any longer.")] - public static async Task BeginCreateOrUpdateAsync(this IContainerServicesOperations operations, string resourceGroupName, string containerServiceName, ContainerServiceModel parameters, CancellationToken cancellationToken = default(CancellationToken)) - { - using (var _result = await operations.BeginCreateOrUpdateWithHttpMessagesAsync(resourceGroupName, containerServiceName, parameters, null, cancellationToken).ConfigureAwait(false)) - { - return _result.Body; - } - } - - /// - /// Deletes the specified container service. - /// - /// - /// Deletes the specified container service in the specified subscription and - /// resource group. The operation does not delete other resources created as - /// part of creating a container service, including storage accounts, VMs, and - /// availability sets. All the other resources created with the container - /// service are part of the same resource group and can be deleted - /// individually. - /// - /// - /// The operations group for this extension method. - /// - /// - /// The name of the resource group. - /// - /// - /// The name of the container service in the specified subscription and - /// resource group. - /// - [System.Obsolete("This operation is deprecated. Please do not use it any longer.")] - public static void BeginDelete(this IContainerServicesOperations operations, string resourceGroupName, string containerServiceName) - { - operations.BeginDeleteAsync(resourceGroupName, containerServiceName).GetAwaiter().GetResult(); - } - - /// - /// Deletes the specified container service. - /// - /// - /// Deletes the specified container service in the specified subscription and - /// resource group. The operation does not delete other resources created as - /// part of creating a container service, including storage accounts, VMs, and - /// availability sets. All the other resources created with the container - /// service are part of the same resource group and can be deleted - /// individually. - /// - /// - /// The operations group for this extension method. - /// - /// - /// The name of the resource group. - /// - /// - /// The name of the container service in the specified subscription and - /// resource group. - /// - /// - /// The cancellation token. - /// - [System.Obsolete("This operation is deprecated. Please do not use it any longer.")] - public static async Task BeginDeleteAsync(this IContainerServicesOperations operations, string resourceGroupName, string containerServiceName, CancellationToken cancellationToken = default(CancellationToken)) - { - (await operations.BeginDeleteWithHttpMessagesAsync(resourceGroupName, containerServiceName, null, cancellationToken).ConfigureAwait(false)).Dispose(); - } - - /// - /// Gets a list of container services in the specified subscription. - /// - /// - /// Gets a list of container services in the specified subscription. The - /// operation returns properties of each container service including state, - /// orchestrator, number of masters and agents, and FQDNs of masters and - /// agents. - /// - /// - /// The operations group for this extension method. - /// - /// - /// The NextLink from the previous successful call to List operation. - /// - [System.Obsolete("This operation is deprecated. Please do not use it any longer.")] - public static IPage ListNext(this IContainerServicesOperations operations, string nextPageLink) - { - return operations.ListNextAsync(nextPageLink).GetAwaiter().GetResult(); - } - - /// - /// Gets a list of container services in the specified subscription. - /// - /// - /// Gets a list of container services in the specified subscription. The - /// operation returns properties of each container service including state, - /// orchestrator, number of masters and agents, and FQDNs of masters and - /// agents. - /// - /// - /// The operations group for this extension method. - /// - /// - /// The NextLink from the previous successful call to List operation. - /// - /// - /// The cancellation token. - /// - [System.Obsolete("This operation is deprecated. Please do not use it any longer.")] - public static async Task> ListNextAsync(this IContainerServicesOperations operations, string nextPageLink, CancellationToken cancellationToken = default(CancellationToken)) - { - using (var _result = await operations.ListNextWithHttpMessagesAsync(nextPageLink, null, cancellationToken).ConfigureAwait(false)) - { - return _result.Body; - } - } - - /// - /// Gets a list of container services in the specified resource group. - /// - /// - /// Gets a list of container services in the specified subscription and - /// resource group. The operation returns properties of each container service - /// including state, orchestrator, number of masters and agents, and FQDNs of - /// masters and agents. - /// - /// - /// The operations group for this extension method. - /// - /// - /// The NextLink from the previous successful call to List operation. - /// - [System.Obsolete("This operation is deprecated. Please do not use it any longer.")] - public static IPage ListByResourceGroupNext(this IContainerServicesOperations operations, string nextPageLink) - { - return operations.ListByResourceGroupNextAsync(nextPageLink).GetAwaiter().GetResult(); - } - - /// - /// Gets a list of container services in the specified resource group. - /// - /// - /// Gets a list of container services in the specified subscription and - /// resource group. The operation returns properties of each container service - /// including state, orchestrator, number of masters and agents, and FQDNs of - /// masters and agents. - /// - /// - /// The operations group for this extension method. - /// - /// - /// The NextLink from the previous successful call to List operation. - /// - /// - /// The cancellation token. - /// - [System.Obsolete("This operation is deprecated. Please do not use it any longer.")] - public static async Task> ListByResourceGroupNextAsync(this IContainerServicesOperations operations, string nextPageLink, CancellationToken cancellationToken = default(CancellationToken)) - { - using (var _result = await operations.ListByResourceGroupNextWithHttpMessagesAsync(nextPageLink, null, cancellationToken).ConfigureAwait(false)) - { - return _result.Body; - } - } - - } -} diff --git a/sdk/containerservice/Microsoft.Azure.Management.ContainerService/src/Generated/IAgentPoolsOperations.cs b/sdk/containerservice/Microsoft.Azure.Management.ContainerService/src/Generated/IAgentPoolsOperations.cs index 40bf792cb96b..7bf6c2693960 100644 --- a/sdk/containerservice/Microsoft.Azure.Management.ContainerService/src/Generated/IAgentPoolsOperations.cs +++ b/sdk/containerservice/Microsoft.Azure.Management.ContainerService/src/Generated/IAgentPoolsOperations.cs @@ -26,10 +26,6 @@ public partial interface IAgentPoolsOperations /// /// Gets a list of agent pools in the specified managed cluster. /// - /// - /// Gets a list of agent pools in the specified managed cluster. The - /// operation returns properties of each agent pool. - /// /// /// The name of the resource group. /// @@ -53,12 +49,8 @@ public partial interface IAgentPoolsOperations /// Task>> ListWithHttpMessagesAsync(string resourceGroupName, string resourceName, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); /// - /// Gets the agent pool. + /// Gets the specified managed cluster agent pool. /// - /// - /// Gets the details of the agent pool by managed cluster and resource - /// group. - /// /// /// The name of the resource group. /// @@ -85,11 +77,8 @@ public partial interface IAgentPoolsOperations /// Task> GetWithHttpMessagesAsync(string resourceGroupName, string resourceName, string agentPoolName, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); /// - /// Creates or updates an agent pool. - /// - /// /// Creates or updates an agent pool in the specified managed cluster. - /// + /// /// /// The name of the resource group. /// @@ -100,8 +89,7 @@ public partial interface IAgentPoolsOperations /// The name of the agent pool. /// /// - /// Parameters supplied to the Create or Update an agent pool - /// operation. + /// The agent pool to create or update. /// /// /// The headers that will be added to request. @@ -120,11 +108,8 @@ public partial interface IAgentPoolsOperations /// Task> CreateOrUpdateWithHttpMessagesAsync(string resourceGroupName, string resourceName, string agentPoolName, AgentPool parameters, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); /// - /// Deletes an agent pool. + /// Deletes an agent pool in the specified managed cluster. /// - /// - /// Deletes the agent pool in the specified managed cluster. - /// /// /// The name of the resource group. /// @@ -148,12 +133,8 @@ public partial interface IAgentPoolsOperations /// Task DeleteWithHttpMessagesAsync(string resourceGroupName, string resourceName, string agentPoolName, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); /// - /// Gets upgrade profile for an agent pool. + /// Gets the upgrade profile for an agent pool. /// - /// - /// Gets the details of the upgrade profile for an agent pool with a - /// specified resource group and managed cluster name. - /// /// /// The name of the resource group. /// @@ -180,10 +161,13 @@ public partial interface IAgentPoolsOperations /// Task> GetUpgradeProfileWithHttpMessagesAsync(string resourceGroupName, string resourceName, string agentPoolName, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); /// - /// Gets a list of supported versions for the specified agent pool. + /// Gets a list of supported Kubernetes versions for the specified + /// agent pool. /// /// - /// Gets a list of supported versions for the specified agent pool. + /// See [supported Kubernetes + /// versions](https://docs.microsoft.com/azure/aks/supported-kubernetes-versions) + /// for more details about the version lifecycle. /// /// /// The name of the resource group. @@ -208,10 +192,14 @@ public partial interface IAgentPoolsOperations /// Task> GetAvailableAgentPoolVersionsWithHttpMessagesAsync(string resourceGroupName, string resourceName, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); /// - /// Creates or updates an agent pool. + /// Upgrades the node image version of an agent pool to the latest. /// /// - /// Creates or updates an agent pool in the specified managed cluster. + /// Upgrading the node image version of an agent pool applies the + /// newest OS and runtime updates to the nodes. AKS provides one new + /// image per week with the latest updates. For more details on node + /// image versions, see: + /// https://docs.microsoft.com/azure/aks/node-image-upgrade /// /// /// The name of the resource group. @@ -222,9 +210,36 @@ public partial interface IAgentPoolsOperations /// /// The name of the agent pool. /// + /// + /// The headers that will be added to request. + /// + /// + /// The cancellation token. + /// + /// + /// Thrown when the operation returned an invalid status code + /// + /// + /// Thrown when unable to deserialize the response + /// + /// + /// Thrown when a required parameter is null + /// + Task> UpgradeNodeImageVersionWithHttpMessagesAsync(string resourceGroupName, string resourceName, string agentPoolName, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + /// + /// Creates or updates an agent pool in the specified managed cluster. + /// + /// + /// The name of the resource group. + /// + /// + /// The name of the managed cluster resource. + /// + /// + /// The name of the agent pool. + /// /// - /// Parameters supplied to the Create or Update an agent pool - /// operation. + /// The agent pool to create or update. /// /// /// The headers that will be added to request. @@ -243,11 +258,8 @@ public partial interface IAgentPoolsOperations /// Task> BeginCreateOrUpdateWithHttpMessagesAsync(string resourceGroupName, string resourceName, string agentPoolName, AgentPool parameters, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); /// - /// Deletes an agent pool. + /// Deletes an agent pool in the specified managed cluster. /// - /// - /// Deletes the agent pool in the specified managed cluster. - /// /// /// The name of the resource group. /// @@ -271,12 +283,43 @@ public partial interface IAgentPoolsOperations /// Task BeginDeleteWithHttpMessagesAsync(string resourceGroupName, string resourceName, string agentPoolName, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); /// - /// Gets a list of agent pools in the specified managed cluster. + /// Upgrades the node image version of an agent pool to the latest. /// /// - /// Gets a list of agent pools in the specified managed cluster. The - /// operation returns properties of each agent pool. + /// Upgrading the node image version of an agent pool applies the + /// newest OS and runtime updates to the nodes. AKS provides one new + /// image per week with the latest updates. For more details on node + /// image versions, see: + /// https://docs.microsoft.com/azure/aks/node-image-upgrade /// + /// + /// The name of the resource group. + /// + /// + /// The name of the managed cluster resource. + /// + /// + /// The name of the agent pool. + /// + /// + /// The headers that will be added to request. + /// + /// + /// The cancellation token. + /// + /// + /// Thrown when the operation returned an invalid status code + /// + /// + /// Thrown when unable to deserialize the response + /// + /// + /// Thrown when a required parameter is null + /// + Task> BeginUpgradeNodeImageVersionWithHttpMessagesAsync(string resourceGroupName, string resourceName, string agentPoolName, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + /// + /// Gets a list of agent pools in the specified managed cluster. + /// /// /// The NextLink from the previous successful call to List operation. /// diff --git a/sdk/containerservice/Microsoft.Azure.Management.ContainerService/src/Generated/IContainerServiceClient.cs b/sdk/containerservice/Microsoft.Azure.Management.ContainerService/src/Generated/IContainerServiceClient.cs index 8f78954b872f..2b88f1d25012 100644 --- a/sdk/containerservice/Microsoft.Azure.Management.ContainerService/src/Generated/IContainerServiceClient.cs +++ b/sdk/containerservice/Microsoft.Azure.Management.ContainerService/src/Generated/IContainerServiceClient.cs @@ -47,6 +47,11 @@ public partial interface IContainerServiceClient : System.IDisposable /// string SubscriptionId { get; set; } + /// + /// Client Api Version. + /// + string ApiVersion { get; } + /// /// The preferred language for the response. /// @@ -66,16 +71,6 @@ public partial interface IContainerServiceClient : System.IDisposable bool? GenerateClientRequestId { get; set; } - /// - /// Gets the IOpenShiftManagedClustersOperations. - /// - IOpenShiftManagedClustersOperations OpenShiftManagedClusters { get; } - - /// - /// Gets the IContainerServicesOperations. - /// - IContainerServicesOperations ContainerServices { get; } - /// /// Gets the IOperations. /// @@ -86,6 +81,11 @@ public partial interface IContainerServiceClient : System.IDisposable /// IManagedClustersOperations ManagedClusters { get; } + /// + /// Gets the IMaintenanceConfigurationsOperations. + /// + IMaintenanceConfigurationsOperations MaintenanceConfigurations { get; } + /// /// Gets the IAgentPoolsOperations. /// @@ -96,5 +96,15 @@ public partial interface IContainerServiceClient : System.IDisposable /// IPrivateEndpointConnectionsOperations PrivateEndpointConnections { get; } + /// + /// Gets the IPrivateLinkResourcesOperations. + /// + IPrivateLinkResourcesOperations PrivateLinkResources { get; } + + /// + /// Gets the IResolvePrivateLinkServiceIdOperations. + /// + IResolvePrivateLinkServiceIdOperations ResolvePrivateLinkServiceId { get; } + } } diff --git a/sdk/containerservice/Microsoft.Azure.Management.ContainerService/src/Generated/IContainerServicesOperations.cs b/sdk/containerservice/Microsoft.Azure.Management.ContainerService/src/Generated/IContainerServicesOperations.cs deleted file mode 100644 index a081424bad6c..000000000000 --- a/sdk/containerservice/Microsoft.Azure.Management.ContainerService/src/Generated/IContainerServicesOperations.cs +++ /dev/null @@ -1,340 +0,0 @@ -// -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. See License.txt in the project root for -// license information. -// -// Code generated by Microsoft (R) AutoRest Code Generator. -// Changes may cause incorrect behavior and will be lost if the code is -// regenerated. -// - -namespace Microsoft.Azure.Management.ContainerService -{ - using Microsoft.Rest; - using Microsoft.Rest.Azure; - using Models; - using System.Collections; - using System.Collections.Generic; - using System.Threading; - using System.Threading.Tasks; - - /// - /// ContainerServicesOperations operations. - /// - public partial interface IContainerServicesOperations - { - /// - /// Gets a list of container services in the specified subscription. - /// - /// - /// Gets a list of container services in the specified subscription. - /// The operation returns properties of each container service - /// including state, orchestrator, number of masters and agents, and - /// FQDNs of masters and agents. - /// - /// - /// The headers that will be added to request. - /// - /// - /// The cancellation token. - /// - /// - /// Thrown when the operation returned an invalid status code - /// - /// - /// Thrown when unable to deserialize the response - /// - /// - /// Thrown when a required parameter is null - /// - [System.Obsolete("This operation is deprecated. Please do not use it any longer.")] - Task>> ListWithHttpMessagesAsync(Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); - /// - /// Creates or updates a container service. - /// - /// - /// Creates or updates a container service with the specified - /// configuration of orchestrator, masters, and agents. - /// - /// - /// The name of the resource group. - /// - /// - /// The name of the container service in the specified subscription and - /// resource group. - /// - /// - /// Parameters supplied to the Create or Update a Container Service - /// operation. - /// - /// - /// The headers that will be added to request. - /// - /// - /// The cancellation token. - /// - /// - /// Thrown when the operation returned an invalid status code - /// - /// - /// Thrown when unable to deserialize the response - /// - /// - /// Thrown when a required parameter is null - /// - [System.Obsolete("This operation is deprecated. Please do not use it any longer.")] - Task> CreateOrUpdateWithHttpMessagesAsync(string resourceGroupName, string containerServiceName, ContainerServiceModel parameters, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); - /// - /// Gets the properties of the specified container service. - /// - /// - /// Gets the properties of the specified container service in the - /// specified subscription and resource group. The operation returns - /// the properties including state, orchestrator, number of masters and - /// agents, and FQDNs of masters and agents. - /// - /// - /// The name of the resource group. - /// - /// - /// The name of the container service in the specified subscription and - /// resource group. - /// - /// - /// The headers that will be added to request. - /// - /// - /// The cancellation token. - /// - /// - /// Thrown when the operation returned an invalid status code - /// - /// - /// Thrown when unable to deserialize the response - /// - /// - /// Thrown when a required parameter is null - /// - [System.Obsolete("This operation is deprecated. Please do not use it any longer.")] - Task> GetWithHttpMessagesAsync(string resourceGroupName, string containerServiceName, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); - /// - /// Deletes the specified container service. - /// - /// - /// Deletes the specified container service in the specified - /// subscription and resource group. The operation does not delete - /// other resources created as part of creating a container service, - /// including storage accounts, VMs, and availability sets. All the - /// other resources created with the container service are part of the - /// same resource group and can be deleted individually. - /// - /// - /// The name of the resource group. - /// - /// - /// The name of the container service in the specified subscription and - /// resource group. - /// - /// - /// The headers that will be added to request. - /// - /// - /// The cancellation token. - /// - /// - /// Thrown when the operation returned an invalid status code - /// - /// - /// Thrown when a required parameter is null - /// - [System.Obsolete("This operation is deprecated. Please do not use it any longer.")] - Task DeleteWithHttpMessagesAsync(string resourceGroupName, string containerServiceName, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); - /// - /// Gets a list of container services in the specified resource group. - /// - /// - /// Gets a list of container services in the specified subscription and - /// resource group. The operation returns properties of each container - /// service including state, orchestrator, number of masters and - /// agents, and FQDNs of masters and agents. - /// - /// - /// The name of the resource group. - /// - /// - /// The headers that will be added to request. - /// - /// - /// The cancellation token. - /// - /// - /// Thrown when the operation returned an invalid status code - /// - /// - /// Thrown when unable to deserialize the response - /// - /// - /// Thrown when a required parameter is null - /// - [System.Obsolete("This operation is deprecated. Please do not use it any longer.")] - Task>> ListByResourceGroupWithHttpMessagesAsync(string resourceGroupName, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); - /// - /// Gets a list of supported orchestrators in the specified - /// subscription. - /// - /// - /// Gets a list of supported orchestrators in the specified - /// subscription. The operation returns properties of each orchestrator - /// including version, available upgrades and whether that version or - /// upgrades are in preview. - /// - /// - /// The name of a supported Azure region. - /// - /// - /// resource type for which the list of orchestrators needs to be - /// returned - /// - /// - /// The headers that will be added to request. - /// - /// - /// The cancellation token. - /// - /// - /// Thrown when the operation returned an invalid status code - /// - /// - /// Thrown when unable to deserialize the response - /// - /// - /// Thrown when a required parameter is null - /// - Task> ListOrchestratorsWithHttpMessagesAsync(string location, string resourceType = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); - /// - /// Creates or updates a container service. - /// - /// - /// Creates or updates a container service with the specified - /// configuration of orchestrator, masters, and agents. - /// - /// - /// The name of the resource group. - /// - /// - /// The name of the container service in the specified subscription and - /// resource group. - /// - /// - /// Parameters supplied to the Create or Update a Container Service - /// operation. - /// - /// - /// The headers that will be added to request. - /// - /// - /// The cancellation token. - /// - /// - /// Thrown when the operation returned an invalid status code - /// - /// - /// Thrown when unable to deserialize the response - /// - /// - /// Thrown when a required parameter is null - /// - [System.Obsolete("This operation is deprecated. Please do not use it any longer.")] - Task> BeginCreateOrUpdateWithHttpMessagesAsync(string resourceGroupName, string containerServiceName, ContainerServiceModel parameters, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); - /// - /// Deletes the specified container service. - /// - /// - /// Deletes the specified container service in the specified - /// subscription and resource group. The operation does not delete - /// other resources created as part of creating a container service, - /// including storage accounts, VMs, and availability sets. All the - /// other resources created with the container service are part of the - /// same resource group and can be deleted individually. - /// - /// - /// The name of the resource group. - /// - /// - /// The name of the container service in the specified subscription and - /// resource group. - /// - /// - /// The headers that will be added to request. - /// - /// - /// The cancellation token. - /// - /// - /// Thrown when the operation returned an invalid status code - /// - /// - /// Thrown when a required parameter is null - /// - [System.Obsolete("This operation is deprecated. Please do not use it any longer.")] - Task BeginDeleteWithHttpMessagesAsync(string resourceGroupName, string containerServiceName, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); - /// - /// Gets a list of container services in the specified subscription. - /// - /// - /// Gets a list of container services in the specified subscription. - /// The operation returns properties of each container service - /// including state, orchestrator, number of masters and agents, and - /// FQDNs of masters and agents. - /// - /// - /// The NextLink from the previous successful call to List operation. - /// - /// - /// The headers that will be added to request. - /// - /// - /// The cancellation token. - /// - /// - /// Thrown when the operation returned an invalid status code - /// - /// - /// Thrown when unable to deserialize the response - /// - /// - /// Thrown when a required parameter is null - /// - [System.Obsolete("This operation is deprecated. Please do not use it any longer.")] - Task>> ListNextWithHttpMessagesAsync(string nextPageLink, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); - /// - /// Gets a list of container services in the specified resource group. - /// - /// - /// Gets a list of container services in the specified subscription and - /// resource group. The operation returns properties of each container - /// service including state, orchestrator, number of masters and - /// agents, and FQDNs of masters and agents. - /// - /// - /// The NextLink from the previous successful call to List operation. - /// - /// - /// The headers that will be added to request. - /// - /// - /// The cancellation token. - /// - /// - /// Thrown when the operation returned an invalid status code - /// - /// - /// Thrown when unable to deserialize the response - /// - /// - /// Thrown when a required parameter is null - /// - [System.Obsolete("This operation is deprecated. Please do not use it any longer.")] - Task>> ListByResourceGroupNextWithHttpMessagesAsync(string nextPageLink, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); - } -} diff --git a/sdk/containerservice/Microsoft.Azure.Management.ContainerService/src/Generated/IMaintenanceConfigurationsOperations.cs b/sdk/containerservice/Microsoft.Azure.Management.ContainerService/src/Generated/IMaintenanceConfigurationsOperations.cs new file mode 100644 index 000000000000..8b6ea84dee6d --- /dev/null +++ b/sdk/containerservice/Microsoft.Azure.Management.ContainerService/src/Generated/IMaintenanceConfigurationsOperations.cs @@ -0,0 +1,161 @@ +// +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See License.txt in the project root for +// license information. +// +// Code generated by Microsoft (R) AutoRest Code Generator. +// Changes may cause incorrect behavior and will be lost if the code is +// regenerated. +// + +namespace Microsoft.Azure.Management.ContainerService +{ + using Microsoft.Rest; + using Microsoft.Rest.Azure; + using Models; + using System.Collections; + using System.Collections.Generic; + using System.Threading; + using System.Threading.Tasks; + + /// + /// MaintenanceConfigurationsOperations operations. + /// + public partial interface IMaintenanceConfigurationsOperations + { + /// + /// Gets a list of maintenance configurations in the specified managed + /// cluster. + /// + /// + /// The name of the resource group. + /// + /// + /// The name of the managed cluster resource. + /// + /// + /// The headers that will be added to request. + /// + /// + /// The cancellation token. + /// + /// + /// Thrown when the operation returned an invalid status code + /// + /// + /// Thrown when unable to deserialize the response + /// + /// + /// Thrown when a required parameter is null + /// + Task>> ListByManagedClusterWithHttpMessagesAsync(string resourceGroupName, string resourceName, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + /// + /// Gets the specified maintenance configuration of a managed cluster. + /// + /// + /// The name of the resource group. + /// + /// + /// The name of the managed cluster resource. + /// + /// + /// The name of the maintenance configuration. + /// + /// + /// The headers that will be added to request. + /// + /// + /// The cancellation token. + /// + /// + /// Thrown when the operation returned an invalid status code + /// + /// + /// Thrown when unable to deserialize the response + /// + /// + /// Thrown when a required parameter is null + /// + Task> GetWithHttpMessagesAsync(string resourceGroupName, string resourceName, string configName, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + /// + /// Creates or updates a maintenance configuration in the specified + /// managed cluster. + /// + /// + /// The name of the resource group. + /// + /// + /// The name of the managed cluster resource. + /// + /// + /// The name of the maintenance configuration. + /// + /// + /// The maintenance configuration to create or update. + /// + /// + /// The headers that will be added to request. + /// + /// + /// The cancellation token. + /// + /// + /// Thrown when the operation returned an invalid status code + /// + /// + /// Thrown when unable to deserialize the response + /// + /// + /// Thrown when a required parameter is null + /// + Task> CreateOrUpdateWithHttpMessagesAsync(string resourceGroupName, string resourceName, string configName, MaintenanceConfiguration parameters, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + /// + /// Deletes a maintenance configuration. + /// + /// + /// The name of the resource group. + /// + /// + /// The name of the managed cluster resource. + /// + /// + /// The name of the maintenance configuration. + /// + /// + /// The headers that will be added to request. + /// + /// + /// The cancellation token. + /// + /// + /// Thrown when the operation returned an invalid status code + /// + /// + /// Thrown when a required parameter is null + /// + Task DeleteWithHttpMessagesAsync(string resourceGroupName, string resourceName, string configName, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + /// + /// Gets a list of maintenance configurations in the specified managed + /// cluster. + /// + /// + /// The NextLink from the previous successful call to List operation. + /// + /// + /// The headers that will be added to request. + /// + /// + /// The cancellation token. + /// + /// + /// Thrown when the operation returned an invalid status code + /// + /// + /// Thrown when unable to deserialize the response + /// + /// + /// Thrown when a required parameter is null + /// + Task>> ListByManagedClusterNextWithHttpMessagesAsync(string nextPageLink, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + } +} diff --git a/sdk/containerservice/Microsoft.Azure.Management.ContainerService/src/Generated/IManagedClustersOperations.cs b/sdk/containerservice/Microsoft.Azure.Management.ContainerService/src/Generated/IManagedClustersOperations.cs index 7c90c0b4370a..23d59d0baea0 100644 --- a/sdk/containerservice/Microsoft.Azure.Management.ContainerService/src/Generated/IManagedClustersOperations.cs +++ b/sdk/containerservice/Microsoft.Azure.Management.ContainerService/src/Generated/IManagedClustersOperations.cs @@ -23,13 +23,34 @@ namespace Microsoft.Azure.Management.ContainerService /// public partial interface IManagedClustersOperations { + /// + /// Gets supported OS options in the specified subscription. + /// + /// + /// The name of a supported Azure region. + /// + /// + /// The resource type for which the OS options needs to be returned + /// + /// + /// The headers that will be added to request. + /// + /// + /// The cancellation token. + /// + /// + /// Thrown when the operation returned an invalid status code + /// + /// + /// Thrown when unable to deserialize the response + /// + /// + /// Thrown when a required parameter is null + /// + Task> GetOSOptionsWithHttpMessagesAsync(string location, string resourceType = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); /// /// Gets a list of managed clusters in the specified subscription. /// - /// - /// Gets a list of managed clusters in the specified subscription. The - /// operation returns properties of each managed cluster. - /// /// /// The headers that will be added to request. /// @@ -50,10 +71,6 @@ public partial interface IManagedClustersOperations /// Lists managed clusters in the specified subscription and resource /// group. /// - /// - /// Lists managed clusters in the specified subscription and resource - /// group. The operation returns properties of each managed cluster. - /// /// /// The name of the resource group. /// @@ -74,12 +91,8 @@ public partial interface IManagedClustersOperations /// Task>> ListByResourceGroupWithHttpMessagesAsync(string resourceGroupName, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); /// - /// Gets upgrade profile for a managed cluster. + /// Gets the upgrade profile of a managed cluster. /// - /// - /// Gets the details of the upgrade profile for a managed cluster with - /// a specified resource group and name. - /// /// /// The name of the resource group. /// @@ -106,12 +119,10 @@ public partial interface IManagedClustersOperations /// Gets an access profile of a managed cluster. /// /// - /// Gets the accessProfile for the specified role name of the managed - /// cluster with a specified resource group and name. **WARNING**: This - /// API will be deprecated. Instead use - /// [ListClusterUserCredentials](https://docs.microsoft.com/en-us/rest/api/aks/managedclusters/listclusterusercredentials) + /// **WARNING**: This API will be deprecated. Instead use + /// [ListClusterUserCredentials](https://docs.microsoft.com/rest/api/aks/managedclusters/listclusterusercredentials) /// or - /// [ListClusterAdminCredentials](https://docs.microsoft.com/en-us/rest/api/aks/managedclusters/listclusteradmincredentials) + /// [ListClusterAdminCredentials](https://docs.microsoft.com/rest/api/aks/managedclusters/listclusteradmincredentials) /// . /// /// @@ -141,18 +152,17 @@ public partial interface IManagedClustersOperations [System.Obsolete("This operation is deprecated. Please do not use it any longer.")] Task> GetAccessProfileWithHttpMessagesAsync(string resourceGroupName, string resourceName, string roleName, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); /// - /// Gets cluster admin credential of a managed cluster. + /// Lists the admin credentials of a managed cluster. /// - /// - /// Gets cluster admin credential of the managed cluster with a - /// specified resource group and name. - /// /// /// The name of the resource group. /// /// /// The name of the managed cluster resource. /// + /// + /// server fqdn type for credentials to be returned + /// /// /// The headers that will be added to request. /// @@ -168,20 +178,19 @@ public partial interface IManagedClustersOperations /// /// Thrown when a required parameter is null /// - Task> ListClusterAdminCredentialsWithHttpMessagesAsync(string resourceGroupName, string resourceName, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + Task> ListClusterAdminCredentialsWithHttpMessagesAsync(string resourceGroupName, string resourceName, string serverFqdn = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); /// - /// Gets cluster user credential of a managed cluster. + /// Lists the user credentials of a managed cluster. /// - /// - /// Gets cluster user credential of the managed cluster with a - /// specified resource group and name. - /// /// /// The name of the resource group. /// /// /// The name of the managed cluster resource. /// + /// + /// server fqdn type for credentials to be returned + /// /// /// The headers that will be added to request. /// @@ -197,20 +206,19 @@ public partial interface IManagedClustersOperations /// /// Thrown when a required parameter is null /// - Task> ListClusterUserCredentialsWithHttpMessagesAsync(string resourceGroupName, string resourceName, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + Task> ListClusterUserCredentialsWithHttpMessagesAsync(string resourceGroupName, string resourceName, string serverFqdn = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); /// - /// Gets cluster monitoring user credential of a managed cluster. + /// Lists the cluster monitoring user credentials of a managed cluster. /// - /// - /// Gets cluster monitoring user credential of the managed cluster with - /// a specified resource group and name. - /// /// /// The name of the resource group. /// /// /// The name of the managed cluster resource. /// + /// + /// server fqdn type for credentials to be returned + /// /// /// The headers that will be added to request. /// @@ -226,14 +234,10 @@ public partial interface IManagedClustersOperations /// /// Thrown when a required parameter is null /// - Task> ListClusterMonitoringUserCredentialsWithHttpMessagesAsync(string resourceGroupName, string resourceName, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + Task> ListClusterMonitoringUserCredentialsWithHttpMessagesAsync(string resourceGroupName, string resourceName, string serverFqdn = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); /// /// Gets a managed cluster. /// - /// - /// Gets the details of the managed cluster with a specified resource - /// group and name. - /// /// /// The name of the resource group. /// @@ -259,10 +263,6 @@ public partial interface IManagedClustersOperations /// /// Creates or updates a managed cluster. /// - /// - /// Creates or updates a managed cluster with the specified - /// configuration for agents and Kubernetes version. - /// /// /// The name of the resource group. /// @@ -270,8 +270,7 @@ public partial interface IManagedClustersOperations /// The name of the managed cluster resource. /// /// - /// Parameters supplied to the Create or Update a Managed Cluster - /// operation. + /// The managed cluster to create or update. /// /// /// The headers that will be added to request. @@ -292,9 +291,6 @@ public partial interface IManagedClustersOperations /// /// Updates tags on a managed cluster. /// - /// - /// Updates a managed cluster with the specified tags. - /// /// /// The name of the resource group. /// @@ -323,10 +319,6 @@ public partial interface IManagedClustersOperations /// /// Deletes a managed cluster. /// - /// - /// Deletes the managed cluster with a specified resource group and - /// name. - /// /// /// The name of the resource group. /// @@ -347,10 +339,11 @@ public partial interface IManagedClustersOperations /// Task DeleteWithHttpMessagesAsync(string resourceGroupName, string resourceName, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); /// - /// Reset Service Principal Profile of a managed cluster. + /// Reset the Service Principal Profile of a managed cluster. /// /// - /// Update the service principal Profile for a managed cluster. + /// This action cannot be performed on a cluster that is not using a + /// service principal /// /// /// The name of the resource group. @@ -359,8 +352,7 @@ public partial interface IManagedClustersOperations /// The name of the managed cluster resource. /// /// - /// Parameters supplied to the Reset Service Principal Profile - /// operation for a Managed Cluster. + /// The service principal profile to set on the managed cluster. /// /// /// The headers that will be added to request. @@ -376,11 +368,8 @@ public partial interface IManagedClustersOperations /// Task ResetServicePrincipalProfileWithHttpMessagesAsync(string resourceGroupName, string resourceName, ManagedClusterServicePrincipalProfile parameters, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); /// - /// Reset AAD Profile of a managed cluster. + /// Reset the AAD Profile of a managed cluster. /// - /// - /// Update the AAD Profile for a managed cluster. - /// /// /// The name of the resource group. /// @@ -388,8 +377,7 @@ public partial interface IManagedClustersOperations /// The name of the managed cluster resource. /// /// - /// Parameters supplied to the Reset AAD Profile operation for a - /// Managed Cluster. + /// The AAD profile to set on the Managed Cluster /// /// /// The headers that will be added to request. @@ -405,10 +393,12 @@ public partial interface IManagedClustersOperations /// Task ResetAADProfileWithHttpMessagesAsync(string resourceGroupName, string resourceName, ManagedClusterAADProfile parameters, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); /// - /// Rotate certificates of a managed cluster. + /// Rotates the certificates of a managed cluster. /// /// - /// Rotate certificates of a managed cluster. + /// See [Certificate + /// rotation](https://docs.microsoft.com/azure/aks/certificate-rotation) + /// for more details about rotating managed cluster certificates. /// /// /// The name of the resource group. @@ -430,10 +420,16 @@ public partial interface IManagedClustersOperations /// Task RotateClusterCertificatesWithHttpMessagesAsync(string resourceGroupName, string resourceName, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); /// - /// Upgrade node image version of an agent pool to the latest. + /// Stops a Managed Cluster /// /// - /// Upgrade node image version of an agent pool to the latest. + /// This can only be performed on Azure Virtual Machine Scale set + /// backed clusters. Stopping a cluster stops the control plane and + /// agent nodes entirely, while maintaining all object and cluster + /// state. A cluster does not accrue charges while it is stopped. See + /// [stopping a + /// cluster](https://docs.microsoft.com/azure/aks/start-stop-cluster) + /// for more details about stopping a cluster. /// /// /// The name of the resource group. @@ -441,8 +437,62 @@ public partial interface IManagedClustersOperations /// /// The name of the managed cluster resource. /// - /// - /// The name of the agent pool. + /// + /// The headers that will be added to request. + /// + /// + /// The cancellation token. + /// + /// + /// Thrown when the operation returned an invalid status code + /// + /// + /// Thrown when a required parameter is null + /// + Task StopWithHttpMessagesAsync(string resourceGroupName, string resourceName, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + /// + /// Starts a previously stopped Managed Cluster + /// + /// + /// See [starting a + /// cluster](https://docs.microsoft.com/azure/aks/start-stop-cluster) + /// for more details about starting a cluster. + /// + /// + /// The name of the resource group. + /// + /// + /// The name of the managed cluster resource. + /// + /// + /// The headers that will be added to request. + /// + /// + /// The cancellation token. + /// + /// + /// Thrown when the operation returned an invalid status code + /// + /// + /// Thrown when a required parameter is null + /// + Task StartWithHttpMessagesAsync(string resourceGroupName, string resourceName, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + /// + /// Submits a command to run against the Managed Cluster. + /// + /// + /// AKS will create a pod to run the command. This is primarily useful + /// for private clusters. For more information see [AKS Run + /// Command](https://docs.microsoft.com/azure/aks/private-clusters#aks-run-command-preview). + /// + /// + /// The name of the resource group. + /// + /// + /// The name of the managed cluster resource. + /// + /// + /// The run command request /// /// /// The headers that will be added to request. @@ -459,13 +509,44 @@ public partial interface IManagedClustersOperations /// /// Thrown when a required parameter is null /// - Task> UpgradeNodeImageVersionWithHttpMessagesAsync(string resourceGroupName, string resourceName, string agentPoolName, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + Task> RunCommandWithHttpMessagesAsync(string resourceGroupName, string resourceName, RunCommandRequest requestPayload, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); /// - /// Creates or updates a managed cluster. + /// Gets the results of a command which has been run on the Managed + /// Cluster. + /// + /// + /// The name of the resource group. + /// + /// + /// The name of the managed cluster resource. + /// + /// + /// Id of the command. + /// + /// + /// The headers that will be added to request. + /// + /// + /// The cancellation token. + /// + /// + /// Thrown when the operation returned an invalid status code + /// + /// + /// Thrown when unable to deserialize the response + /// + /// + /// Thrown when a required parameter is null + /// + Task> GetCommandResultWithHttpMessagesAsync(string resourceGroupName, string resourceName, string commandId, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + /// + /// Gets a list of egress endpoints (network endpoints of all outbound + /// dependencies) in the specified managed cluster. /// /// - /// Creates or updates a managed cluster with the specified - /// configuration for agents and Kubernetes version. + /// Gets a list of egress endpoints (network endpoints of all outbound + /// dependencies) in the specified managed cluster. The operation + /// returns properties of each egress endpoint. /// /// /// The name of the resource group. @@ -473,9 +554,33 @@ public partial interface IManagedClustersOperations /// /// The name of the managed cluster resource. /// + /// + /// The headers that will be added to request. + /// + /// + /// The cancellation token. + /// + /// + /// Thrown when the operation returned an invalid status code + /// + /// + /// Thrown when unable to deserialize the response + /// + /// + /// Thrown when a required parameter is null + /// + Task>> ListOutboundNetworkDependenciesEndpointsWithHttpMessagesAsync(string resourceGroupName, string resourceName, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + /// + /// Creates or updates a managed cluster. + /// + /// + /// The name of the resource group. + /// + /// + /// The name of the managed cluster resource. + /// /// - /// Parameters supplied to the Create or Update a Managed Cluster - /// operation. + /// The managed cluster to create or update. /// /// /// The headers that will be added to request. @@ -496,9 +601,6 @@ public partial interface IManagedClustersOperations /// /// Updates tags on a managed cluster. /// - /// - /// Updates a managed cluster with the specified tags. - /// /// /// The name of the resource group. /// @@ -527,10 +629,6 @@ public partial interface IManagedClustersOperations /// /// Deletes a managed cluster. /// - /// - /// Deletes the managed cluster with a specified resource group and - /// name. - /// /// /// The name of the resource group. /// @@ -551,10 +649,11 @@ public partial interface IManagedClustersOperations /// Task BeginDeleteWithHttpMessagesAsync(string resourceGroupName, string resourceName, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); /// - /// Reset Service Principal Profile of a managed cluster. + /// Reset the Service Principal Profile of a managed cluster. /// /// - /// Update the service principal Profile for a managed cluster. + /// This action cannot be performed on a cluster that is not using a + /// service principal /// /// /// The name of the resource group. @@ -563,8 +662,7 @@ public partial interface IManagedClustersOperations /// The name of the managed cluster resource. /// /// - /// Parameters supplied to the Reset Service Principal Profile - /// operation for a Managed Cluster. + /// The service principal profile to set on the managed cluster. /// /// /// The headers that will be added to request. @@ -580,11 +678,8 @@ public partial interface IManagedClustersOperations /// Task BeginResetServicePrincipalProfileWithHttpMessagesAsync(string resourceGroupName, string resourceName, ManagedClusterServicePrincipalProfile parameters, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); /// - /// Reset AAD Profile of a managed cluster. + /// Reset the AAD Profile of a managed cluster. /// - /// - /// Update the AAD Profile for a managed cluster. - /// /// /// The name of the resource group. /// @@ -592,8 +687,7 @@ public partial interface IManagedClustersOperations /// The name of the managed cluster resource. /// /// - /// Parameters supplied to the Reset AAD Profile operation for a - /// Managed Cluster. + /// The AAD profile to set on the Managed Cluster /// /// /// The headers that will be added to request. @@ -609,10 +703,12 @@ public partial interface IManagedClustersOperations /// Task BeginResetAADProfileWithHttpMessagesAsync(string resourceGroupName, string resourceName, ManagedClusterAADProfile parameters, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); /// - /// Rotate certificates of a managed cluster. + /// Rotates the certificates of a managed cluster. /// /// - /// Rotate certificates of a managed cluster. + /// See [Certificate + /// rotation](https://docs.microsoft.com/azure/aks/certificate-rotation) + /// for more details about rotating managed cluster certificates. /// /// /// The name of the resource group. @@ -634,10 +730,43 @@ public partial interface IManagedClustersOperations /// Task BeginRotateClusterCertificatesWithHttpMessagesAsync(string resourceGroupName, string resourceName, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); /// - /// Upgrade node image version of an agent pool to the latest. + /// Stops a Managed Cluster + /// + /// + /// This can only be performed on Azure Virtual Machine Scale set + /// backed clusters. Stopping a cluster stops the control plane and + /// agent nodes entirely, while maintaining all object and cluster + /// state. A cluster does not accrue charges while it is stopped. See + /// [stopping a + /// cluster](https://docs.microsoft.com/azure/aks/start-stop-cluster) + /// for more details about stopping a cluster. + /// + /// + /// The name of the resource group. + /// + /// + /// The name of the managed cluster resource. + /// + /// + /// The headers that will be added to request. + /// + /// + /// The cancellation token. + /// + /// + /// Thrown when the operation returned an invalid status code + /// + /// + /// Thrown when a required parameter is null + /// + Task BeginStopWithHttpMessagesAsync(string resourceGroupName, string resourceName, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + /// + /// Starts a previously stopped Managed Cluster /// /// - /// Upgrade node image version of an agent pool to the latest. + /// See [starting a + /// cluster](https://docs.microsoft.com/azure/aks/start-stop-cluster) + /// for more details about starting a cluster. /// /// /// The name of the resource group. @@ -645,8 +774,35 @@ public partial interface IManagedClustersOperations /// /// The name of the managed cluster resource. /// - /// - /// The name of the agent pool. + /// + /// The headers that will be added to request. + /// + /// + /// The cancellation token. + /// + /// + /// Thrown when the operation returned an invalid status code + /// + /// + /// Thrown when a required parameter is null + /// + Task BeginStartWithHttpMessagesAsync(string resourceGroupName, string resourceName, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + /// + /// Submits a command to run against the Managed Cluster. + /// + /// + /// AKS will create a pod to run the command. This is primarily useful + /// for private clusters. For more information see [AKS Run + /// Command](https://docs.microsoft.com/azure/aks/private-clusters#aks-run-command-preview). + /// + /// + /// The name of the resource group. + /// + /// + /// The name of the managed cluster resource. + /// + /// + /// The run command request /// /// /// The headers that will be added to request. @@ -663,14 +819,10 @@ public partial interface IManagedClustersOperations /// /// Thrown when a required parameter is null /// - Task> BeginUpgradeNodeImageVersionWithHttpMessagesAsync(string resourceGroupName, string resourceName, string agentPoolName, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + Task> BeginRunCommandWithHttpMessagesAsync(string resourceGroupName, string resourceName, RunCommandRequest requestPayload, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); /// /// Gets a list of managed clusters in the specified subscription. /// - /// - /// Gets a list of managed clusters in the specified subscription. The - /// operation returns properties of each managed cluster. - /// /// /// The NextLink from the previous successful call to List operation. /// @@ -694,9 +846,33 @@ public partial interface IManagedClustersOperations /// Lists managed clusters in the specified subscription and resource /// group. /// + /// + /// The NextLink from the previous successful call to List operation. + /// + /// + /// The headers that will be added to request. + /// + /// + /// The cancellation token. + /// + /// + /// Thrown when the operation returned an invalid status code + /// + /// + /// Thrown when unable to deserialize the response + /// + /// + /// Thrown when a required parameter is null + /// + Task>> ListByResourceGroupNextWithHttpMessagesAsync(string nextPageLink, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + /// + /// Gets a list of egress endpoints (network endpoints of all outbound + /// dependencies) in the specified managed cluster. + /// /// - /// Lists managed clusters in the specified subscription and resource - /// group. The operation returns properties of each managed cluster. + /// Gets a list of egress endpoints (network endpoints of all outbound + /// dependencies) in the specified managed cluster. The operation + /// returns properties of each egress endpoint. /// /// /// The NextLink from the previous successful call to List operation. @@ -716,6 +892,6 @@ public partial interface IManagedClustersOperations /// /// Thrown when a required parameter is null /// - Task>> ListByResourceGroupNextWithHttpMessagesAsync(string nextPageLink, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + Task>> ListOutboundNetworkDependenciesEndpointsNextWithHttpMessagesAsync(string nextPageLink, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); } } diff --git a/sdk/containerservice/Microsoft.Azure.Management.ContainerService/src/Generated/IOpenShiftManagedClustersOperations.cs b/sdk/containerservice/Microsoft.Azure.Management.ContainerService/src/Generated/IOpenShiftManagedClustersOperations.cs deleted file mode 100644 index 50a414c1f49a..000000000000 --- a/sdk/containerservice/Microsoft.Azure.Management.ContainerService/src/Generated/IOpenShiftManagedClustersOperations.cs +++ /dev/null @@ -1,345 +0,0 @@ -// -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. See License.txt in the project root for -// license information. -// -// Code generated by Microsoft (R) AutoRest Code Generator. -// Changes may cause incorrect behavior and will be lost if the code is -// regenerated. -// - -namespace Microsoft.Azure.Management.ContainerService -{ - using Microsoft.Rest; - using Microsoft.Rest.Azure; - using Models; - using System.Collections; - using System.Collections.Generic; - using System.Threading; - using System.Threading.Tasks; - - /// - /// OpenShiftManagedClustersOperations operations. - /// - public partial interface IOpenShiftManagedClustersOperations - { - /// - /// Gets a list of OpenShift managed clusters in the specified - /// subscription. - /// - /// - /// Gets a list of OpenShift managed clusters in the specified - /// subscription. The operation returns properties of each OpenShift - /// managed cluster. - /// - /// - /// The headers that will be added to request. - /// - /// - /// The cancellation token. - /// - /// - /// Thrown when the operation returned an invalid status code - /// - /// - /// Thrown when unable to deserialize the response - /// - /// - /// Thrown when a required parameter is null - /// - Task>> ListWithHttpMessagesAsync(Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); - /// - /// Lists OpenShift managed clusters in the specified subscription and - /// resource group. - /// - /// - /// Lists OpenShift managed clusters in the specified subscription and - /// resource group. The operation returns properties of each OpenShift - /// managed cluster. - /// - /// - /// The name of the resource group. - /// - /// - /// The headers that will be added to request. - /// - /// - /// The cancellation token. - /// - /// - /// Thrown when the operation returned an invalid status code - /// - /// - /// Thrown when unable to deserialize the response - /// - /// - /// Thrown when a required parameter is null - /// - Task>> ListByResourceGroupWithHttpMessagesAsync(string resourceGroupName, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); - /// - /// Gets a OpenShift managed cluster. - /// - /// - /// Gets the details of the managed OpenShift cluster with a specified - /// resource group and name. - /// - /// - /// The name of the resource group. - /// - /// - /// The name of the OpenShift managed cluster resource. - /// - /// - /// The headers that will be added to request. - /// - /// - /// The cancellation token. - /// - /// - /// Thrown when the operation returned an invalid status code - /// - /// - /// Thrown when unable to deserialize the response - /// - /// - /// Thrown when a required parameter is null - /// - Task> GetWithHttpMessagesAsync(string resourceGroupName, string resourceName, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); - /// - /// Creates or updates an OpenShift managed cluster. - /// - /// - /// Creates or updates a OpenShift managed cluster with the specified - /// configuration for agents and OpenShift version. - /// - /// - /// The name of the resource group. - /// - /// - /// The name of the OpenShift managed cluster resource. - /// - /// - /// Parameters supplied to the Create or Update an OpenShift Managed - /// Cluster operation. - /// - /// - /// The headers that will be added to request. - /// - /// - /// The cancellation token. - /// - /// - /// Thrown when the operation returned an invalid status code - /// - /// - /// Thrown when unable to deserialize the response - /// - /// - /// Thrown when a required parameter is null - /// - Task> CreateOrUpdateWithHttpMessagesAsync(string resourceGroupName, string resourceName, OpenShiftManagedCluster parameters, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); - /// - /// Updates tags on an OpenShift managed cluster. - /// - /// - /// Updates an OpenShift managed cluster with the specified tags. - /// - /// - /// The name of the resource group. - /// - /// - /// The name of the OpenShift managed cluster resource. - /// - /// - /// Resource tags. - /// - /// - /// The headers that will be added to request. - /// - /// - /// The cancellation token. - /// - /// - /// Thrown when the operation returned an invalid status code - /// - /// - /// Thrown when unable to deserialize the response - /// - /// - /// Thrown when a required parameter is null - /// - Task> UpdateTagsWithHttpMessagesAsync(string resourceGroupName, string resourceName, IDictionary tags = default(IDictionary), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); - /// - /// Deletes an OpenShift managed cluster. - /// - /// - /// Deletes the OpenShift managed cluster with a specified resource - /// group and name. - /// - /// - /// The name of the resource group. - /// - /// - /// The name of the OpenShift managed cluster resource. - /// - /// - /// The headers that will be added to request. - /// - /// - /// The cancellation token. - /// - /// - /// Thrown when the operation returned an invalid status code - /// - /// - /// Thrown when a required parameter is null - /// - Task DeleteWithHttpMessagesAsync(string resourceGroupName, string resourceName, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); - /// - /// Creates or updates an OpenShift managed cluster. - /// - /// - /// Creates or updates a OpenShift managed cluster with the specified - /// configuration for agents and OpenShift version. - /// - /// - /// The name of the resource group. - /// - /// - /// The name of the OpenShift managed cluster resource. - /// - /// - /// Parameters supplied to the Create or Update an OpenShift Managed - /// Cluster operation. - /// - /// - /// The headers that will be added to request. - /// - /// - /// The cancellation token. - /// - /// - /// Thrown when the operation returned an invalid status code - /// - /// - /// Thrown when unable to deserialize the response - /// - /// - /// Thrown when a required parameter is null - /// - Task> BeginCreateOrUpdateWithHttpMessagesAsync(string resourceGroupName, string resourceName, OpenShiftManagedCluster parameters, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); - /// - /// Updates tags on an OpenShift managed cluster. - /// - /// - /// Updates an OpenShift managed cluster with the specified tags. - /// - /// - /// The name of the resource group. - /// - /// - /// The name of the OpenShift managed cluster resource. - /// - /// - /// Resource tags. - /// - /// - /// The headers that will be added to request. - /// - /// - /// The cancellation token. - /// - /// - /// Thrown when the operation returned an invalid status code - /// - /// - /// Thrown when unable to deserialize the response - /// - /// - /// Thrown when a required parameter is null - /// - Task> BeginUpdateTagsWithHttpMessagesAsync(string resourceGroupName, string resourceName, IDictionary tags = default(IDictionary), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); - /// - /// Deletes an OpenShift managed cluster. - /// - /// - /// Deletes the OpenShift managed cluster with a specified resource - /// group and name. - /// - /// - /// The name of the resource group. - /// - /// - /// The name of the OpenShift managed cluster resource. - /// - /// - /// The headers that will be added to request. - /// - /// - /// The cancellation token. - /// - /// - /// Thrown when the operation returned an invalid status code - /// - /// - /// Thrown when a required parameter is null - /// - Task BeginDeleteWithHttpMessagesAsync(string resourceGroupName, string resourceName, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); - /// - /// Gets a list of OpenShift managed clusters in the specified - /// subscription. - /// - /// - /// Gets a list of OpenShift managed clusters in the specified - /// subscription. The operation returns properties of each OpenShift - /// managed cluster. - /// - /// - /// The NextLink from the previous successful call to List operation. - /// - /// - /// The headers that will be added to request. - /// - /// - /// The cancellation token. - /// - /// - /// Thrown when the operation returned an invalid status code - /// - /// - /// Thrown when unable to deserialize the response - /// - /// - /// Thrown when a required parameter is null - /// - Task>> ListNextWithHttpMessagesAsync(string nextPageLink, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); - /// - /// Lists OpenShift managed clusters in the specified subscription and - /// resource group. - /// - /// - /// Lists OpenShift managed clusters in the specified subscription and - /// resource group. The operation returns properties of each OpenShift - /// managed cluster. - /// - /// - /// The NextLink from the previous successful call to List operation. - /// - /// - /// The headers that will be added to request. - /// - /// - /// The cancellation token. - /// - /// - /// Thrown when the operation returned an invalid status code - /// - /// - /// Thrown when unable to deserialize the response - /// - /// - /// Thrown when a required parameter is null - /// - Task>> ListByResourceGroupNextWithHttpMessagesAsync(string nextPageLink, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); - } -} diff --git a/sdk/containerservice/Microsoft.Azure.Management.ContainerService/src/Generated/IOperations.cs b/sdk/containerservice/Microsoft.Azure.Management.ContainerService/src/Generated/IOperations.cs index bf33948457dc..b8bbbe9eb5c7 100644 --- a/sdk/containerservice/Microsoft.Azure.Management.ContainerService/src/Generated/IOperations.cs +++ b/sdk/containerservice/Microsoft.Azure.Management.ContainerService/src/Generated/IOperations.cs @@ -24,7 +24,7 @@ namespace Microsoft.Azure.Management.ContainerService public partial interface IOperations { /// - /// Gets a list of compute operations. + /// Gets a list of operations. /// /// /// The headers that will be added to request. diff --git a/sdk/containerservice/Microsoft.Azure.Management.ContainerService/src/Generated/IPrivateEndpointConnectionsOperations.cs b/sdk/containerservice/Microsoft.Azure.Management.ContainerService/src/Generated/IPrivateEndpointConnectionsOperations.cs index 7040a2b527c4..65c6818cb075 100644 --- a/sdk/containerservice/Microsoft.Azure.Management.ContainerService/src/Generated/IPrivateEndpointConnectionsOperations.cs +++ b/sdk/containerservice/Microsoft.Azure.Management.ContainerService/src/Generated/IPrivateEndpointConnectionsOperations.cs @@ -28,9 +28,8 @@ public partial interface IPrivateEndpointConnectionsOperations /// managed cluster. /// /// - /// Gets a list of private endpoint connections in the specified - /// managed cluster. The operation returns properties of each private - /// endpoint connection. + /// To learn more about private clusters, see: + /// https://docs.microsoft.com/azure/aks/private-clusters /// /// /// The name of the resource group. @@ -55,11 +54,11 @@ public partial interface IPrivateEndpointConnectionsOperations /// Task> ListWithHttpMessagesAsync(string resourceGroupName, string resourceName, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); /// - /// Gets the private endpoint connection. + /// Gets the specified private endpoint connection. /// /// - /// Gets the details of the private endpoint connection by managed - /// cluster and resource group. + /// To learn more about private clusters, see: + /// https://docs.microsoft.com/azure/aks/private-clusters /// /// /// The name of the resource group. @@ -89,10 +88,6 @@ public partial interface IPrivateEndpointConnectionsOperations /// /// Updates a private endpoint connection. /// - /// - /// Updates a private endpoint connection in the specified managed - /// cluster. - /// /// /// The name of the resource group. /// @@ -103,8 +98,7 @@ public partial interface IPrivateEndpointConnectionsOperations /// The name of the private endpoint connection. /// /// - /// Parameters supplied to the Update a private endpoint connection - /// operation. + /// The updated private endpoint connection. /// /// /// The headers that will be added to request. @@ -125,10 +119,6 @@ public partial interface IPrivateEndpointConnectionsOperations /// /// Deletes a private endpoint connection. /// - /// - /// Deletes the private endpoint connection in the specified managed - /// cluster. - /// /// /// The name of the resource group. /// @@ -154,10 +144,6 @@ public partial interface IPrivateEndpointConnectionsOperations /// /// Deletes a private endpoint connection. /// - /// - /// Deletes the private endpoint connection in the specified managed - /// cluster. - /// /// /// The name of the resource group. /// diff --git a/sdk/containerservice/Microsoft.Azure.Management.ContainerService/src/Generated/IPrivateLinkResourcesOperations.cs b/sdk/containerservice/Microsoft.Azure.Management.ContainerService/src/Generated/IPrivateLinkResourcesOperations.cs new file mode 100644 index 000000000000..cd758eb5d374 --- /dev/null +++ b/sdk/containerservice/Microsoft.Azure.Management.ContainerService/src/Generated/IPrivateLinkResourcesOperations.cs @@ -0,0 +1,57 @@ +// +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See License.txt in the project root for +// license information. +// +// Code generated by Microsoft (R) AutoRest Code Generator. +// Changes may cause incorrect behavior and will be lost if the code is +// regenerated. +// + +namespace Microsoft.Azure.Management.ContainerService +{ + using Microsoft.Rest; + using Microsoft.Rest.Azure; + using Models; + using System.Collections; + using System.Collections.Generic; + using System.Threading; + using System.Threading.Tasks; + + /// + /// PrivateLinkResourcesOperations operations. + /// + public partial interface IPrivateLinkResourcesOperations + { + /// + /// Gets a list of private link resources in the specified managed + /// cluster. + /// + /// + /// To learn more about private clusters, see: + /// https://docs.microsoft.com/azure/aks/private-clusters + /// + /// + /// The name of the resource group. + /// + /// + /// The name of the managed cluster resource. + /// + /// + /// The headers that will be added to request. + /// + /// + /// The cancellation token. + /// + /// + /// Thrown when the operation returned an invalid status code + /// + /// + /// Thrown when unable to deserialize the response + /// + /// + /// Thrown when a required parameter is null + /// + Task> ListWithHttpMessagesAsync(string resourceGroupName, string resourceName, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + } +} diff --git a/sdk/containerservice/Microsoft.Azure.Management.ContainerService/src/Generated/IResolvePrivateLinkServiceIdOperations.cs b/sdk/containerservice/Microsoft.Azure.Management.ContainerService/src/Generated/IResolvePrivateLinkServiceIdOperations.cs new file mode 100644 index 000000000000..a8d2d4863090 --- /dev/null +++ b/sdk/containerservice/Microsoft.Azure.Management.ContainerService/src/Generated/IResolvePrivateLinkServiceIdOperations.cs @@ -0,0 +1,55 @@ +// +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See License.txt in the project root for +// license information. +// +// Code generated by Microsoft (R) AutoRest Code Generator. +// Changes may cause incorrect behavior and will be lost if the code is +// regenerated. +// + +namespace Microsoft.Azure.Management.ContainerService +{ + using Microsoft.Rest; + using Microsoft.Rest.Azure; + using Models; + using System.Collections; + using System.Collections.Generic; + using System.Threading; + using System.Threading.Tasks; + + /// + /// ResolvePrivateLinkServiceIdOperations operations. + /// + public partial interface IResolvePrivateLinkServiceIdOperations + { + /// + /// Gets the private link service ID for the specified managed cluster. + /// + /// + /// The name of the resource group. + /// + /// + /// The name of the managed cluster resource. + /// + /// + /// Parameters required in order to resolve a private link service ID. + /// + /// + /// The headers that will be added to request. + /// + /// + /// The cancellation token. + /// + /// + /// Thrown when the operation returned an invalid status code + /// + /// + /// Thrown when unable to deserialize the response + /// + /// + /// Thrown when a required parameter is null + /// + Task> POSTWithHttpMessagesAsync(string resourceGroupName, string resourceName, PrivateLinkResource parameters, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + } +} diff --git a/sdk/containerservice/Microsoft.Azure.Management.ContainerService/src/Generated/OpenShiftManagedClustersOperations.cs b/sdk/containerservice/Microsoft.Azure.Management.ContainerService/src/Generated/MaintenanceConfigurationsOperations.cs similarity index 55% rename from sdk/containerservice/Microsoft.Azure.Management.ContainerService/src/Generated/OpenShiftManagedClustersOperations.cs rename to sdk/containerservice/Microsoft.Azure.Management.ContainerService/src/Generated/MaintenanceConfigurationsOperations.cs index 88ceffb58c7d..07ee742f075d 100644 --- a/sdk/containerservice/Microsoft.Azure.Management.ContainerService/src/Generated/OpenShiftManagedClustersOperations.cs +++ b/sdk/containerservice/Microsoft.Azure.Management.ContainerService/src/Generated/MaintenanceConfigurationsOperations.cs @@ -23,12 +23,12 @@ namespace Microsoft.Azure.Management.ContainerService using System.Threading.Tasks; /// - /// OpenShiftManagedClustersOperations operations. + /// MaintenanceConfigurationsOperations operations. /// - internal partial class OpenShiftManagedClustersOperations : IServiceOperations, IOpenShiftManagedClustersOperations + internal partial class MaintenanceConfigurationsOperations : IServiceOperations, IMaintenanceConfigurationsOperations { /// - /// Initializes a new instance of the OpenShiftManagedClustersOperations class. + /// Initializes a new instance of the MaintenanceConfigurationsOperations class. /// /// /// Reference to the service client. @@ -36,7 +36,7 @@ internal partial class OpenShiftManagedClustersOperations : IServiceOperations /// Thrown when a required parameter is null /// - internal OpenShiftManagedClustersOperations(ContainerServiceClient client) + internal MaintenanceConfigurationsOperations(ContainerServiceClient client) { if (client == null) { @@ -51,12 +51,14 @@ internal OpenShiftManagedClustersOperations(ContainerServiceClient client) public ContainerServiceClient Client { get; private set; } /// - /// Gets a list of OpenShift managed clusters in the specified subscription. + /// Gets a list of maintenance configurations in the specified managed cluster. /// - /// - /// Gets a list of OpenShift managed clusters in the specified subscription. - /// The operation returns properties of each OpenShift managed cluster. - /// + /// + /// The name of the resource group. + /// + /// + /// The name of the managed cluster resource. + /// /// /// Headers that will be added to request. /// @@ -78,13 +80,46 @@ internal OpenShiftManagedClustersOperations(ContainerServiceClient client) /// /// A response object containing the response body and response headers. /// - public async Task>> ListWithHttpMessagesAsync(Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + public async Task>> ListByManagedClusterWithHttpMessagesAsync(string resourceGroupName, string resourceName, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) { + if (Client.ApiVersion == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.ApiVersion"); + } if (Client.SubscriptionId == null) { throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId"); } - string apiVersion = "2019-04-30"; + if (resourceGroupName == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "resourceGroupName"); + } + if (resourceGroupName != null) + { + if (resourceGroupName.Length < 1) + { + throw new ValidationException(ValidationRules.MinLength, "resourceGroupName", 1); + } + } + if (resourceName == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "resourceName"); + } + if (resourceName != null) + { + if (resourceName.Length > 63) + { + throw new ValidationException(ValidationRules.MaxLength, "resourceName", 63); + } + if (resourceName.Length < 1) + { + throw new ValidationException(ValidationRules.MinLength, "resourceName", 1); + } + if (!System.Text.RegularExpressions.Regex.IsMatch(resourceName, "^[a-zA-Z0-9]$|^[a-zA-Z0-9][-_a-zA-Z0-9]{0,61}[a-zA-Z0-9]$")) + { + throw new ValidationException(ValidationRules.Pattern, "resourceName", "^[a-zA-Z0-9]$|^[a-zA-Z0-9][-_a-zA-Z0-9]{0,61}[a-zA-Z0-9]$"); + } + } // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; string _invocationId = null; @@ -92,18 +127,21 @@ internal OpenShiftManagedClustersOperations(ContainerServiceClient client) { _invocationId = ServiceClientTracing.NextInvocationId.ToString(); Dictionary tracingParameters = new Dictionary(); - tracingParameters.Add("apiVersion", apiVersion); + tracingParameters.Add("resourceGroupName", resourceGroupName); + tracingParameters.Add("resourceName", resourceName); tracingParameters.Add("cancellationToken", cancellationToken); - ServiceClientTracing.Enter(_invocationId, this, "List", tracingParameters); + ServiceClientTracing.Enter(_invocationId, this, "ListByManagedCluster", tracingParameters); } // Construct URL var _baseUrl = Client.BaseUri.AbsoluteUri; - var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "subscriptions/{subscriptionId}/providers/Microsoft.ContainerService/openShiftManagedClusters").ToString(); + var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerService/managedClusters/{resourceName}/maintenanceConfigurations").ToString(); _url = _url.Replace("{subscriptionId}", System.Uri.EscapeDataString(Client.SubscriptionId)); + _url = _url.Replace("{resourceGroupName}", System.Uri.EscapeDataString(resourceGroupName)); + _url = _url.Replace("{resourceName}", System.Uri.EscapeDataString(resourceName)); List _queryParameters = new List(); - if (apiVersion != null) + if (Client.ApiVersion != null) { - _queryParameters.Add(string.Format("api-version={0}", System.Uri.EscapeDataString(apiVersion))); + _queryParameters.Add(string.Format("api-version={0}", System.Uri.EscapeDataString(Client.ApiVersion))); } if (_queryParameters.Count > 0) { @@ -198,7 +236,7 @@ internal OpenShiftManagedClustersOperations(ContainerServiceClient client) throw ex; } // Create Result - var _result = new AzureOperationResponse>(); + var _result = new AzureOperationResponse>(); _result.Request = _httpRequest; _result.Response = _httpResponse; if (_httpResponse.Headers.Contains("x-ms-request-id")) @@ -211,7 +249,7 @@ internal OpenShiftManagedClustersOperations(ContainerServiceClient client) _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); try { - _result.Body = Rest.Serialization.SafeJsonConvert.DeserializeObject>(_responseContent, Client.DeserializationSettings); + _result.Body = Rest.Serialization.SafeJsonConvert.DeserializeObject>(_responseContent, Client.DeserializationSettings); } catch (JsonException ex) { @@ -231,16 +269,17 @@ internal OpenShiftManagedClustersOperations(ContainerServiceClient client) } /// - /// Lists OpenShift managed clusters in the specified subscription and resource - /// group. + /// Gets the specified maintenance configuration of a managed cluster. /// - /// - /// Lists OpenShift managed clusters in the specified subscription and resource - /// group. The operation returns properties of each OpenShift managed cluster. - /// /// /// The name of the resource group. /// + /// + /// The name of the managed cluster resource. + /// + /// + /// The name of the maintenance configuration. + /// /// /// Headers that will be added to request. /// @@ -262,8 +301,12 @@ internal OpenShiftManagedClustersOperations(ContainerServiceClient client) /// /// A response object containing the response body and response headers. /// - public async Task>> ListByResourceGroupWithHttpMessagesAsync(string resourceGroupName, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + public async Task> GetWithHttpMessagesAsync(string resourceGroupName, string resourceName, string configName, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) { + if (Client.ApiVersion == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.ApiVersion"); + } if (Client.SubscriptionId == null) { throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId"); @@ -279,7 +322,29 @@ internal OpenShiftManagedClustersOperations(ContainerServiceClient client) throw new ValidationException(ValidationRules.MinLength, "resourceGroupName", 1); } } - string apiVersion = "2019-04-30"; + if (resourceName == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "resourceName"); + } + if (resourceName != null) + { + if (resourceName.Length > 63) + { + throw new ValidationException(ValidationRules.MaxLength, "resourceName", 63); + } + if (resourceName.Length < 1) + { + throw new ValidationException(ValidationRules.MinLength, "resourceName", 1); + } + if (!System.Text.RegularExpressions.Regex.IsMatch(resourceName, "^[a-zA-Z0-9]$|^[a-zA-Z0-9][-_a-zA-Z0-9]{0,61}[a-zA-Z0-9]$")) + { + throw new ValidationException(ValidationRules.Pattern, "resourceName", "^[a-zA-Z0-9]$|^[a-zA-Z0-9][-_a-zA-Z0-9]{0,61}[a-zA-Z0-9]$"); + } + } + if (configName == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "configName"); + } // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; string _invocationId = null; @@ -287,20 +352,23 @@ internal OpenShiftManagedClustersOperations(ContainerServiceClient client) { _invocationId = ServiceClientTracing.NextInvocationId.ToString(); Dictionary tracingParameters = new Dictionary(); - tracingParameters.Add("apiVersion", apiVersion); tracingParameters.Add("resourceGroupName", resourceGroupName); + tracingParameters.Add("resourceName", resourceName); + tracingParameters.Add("configName", configName); tracingParameters.Add("cancellationToken", cancellationToken); - ServiceClientTracing.Enter(_invocationId, this, "ListByResourceGroup", tracingParameters); + ServiceClientTracing.Enter(_invocationId, this, "Get", tracingParameters); } // Construct URL var _baseUrl = Client.BaseUri.AbsoluteUri; - var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerService/openShiftManagedClusters").ToString(); + var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerService/managedClusters/{resourceName}/maintenanceConfigurations/{configName}").ToString(); _url = _url.Replace("{subscriptionId}", System.Uri.EscapeDataString(Client.SubscriptionId)); _url = _url.Replace("{resourceGroupName}", System.Uri.EscapeDataString(resourceGroupName)); + _url = _url.Replace("{resourceName}", System.Uri.EscapeDataString(resourceName)); + _url = _url.Replace("{configName}", System.Uri.EscapeDataString(configName)); List _queryParameters = new List(); - if (apiVersion != null) + if (Client.ApiVersion != null) { - _queryParameters.Add(string.Format("api-version={0}", System.Uri.EscapeDataString(apiVersion))); + _queryParameters.Add(string.Format("api-version={0}", System.Uri.EscapeDataString(Client.ApiVersion))); } if (_queryParameters.Count > 0) { @@ -395,7 +463,7 @@ internal OpenShiftManagedClustersOperations(ContainerServiceClient client) throw ex; } // Create Result - var _result = new AzureOperationResponse>(); + var _result = new AzureOperationResponse(); _result.Request = _httpRequest; _result.Response = _httpResponse; if (_httpResponse.Headers.Contains("x-ms-request-id")) @@ -408,7 +476,7 @@ internal OpenShiftManagedClustersOperations(ContainerServiceClient client) _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); try { - _result.Body = Rest.Serialization.SafeJsonConvert.DeserializeObject>(_responseContent, Client.DeserializationSettings); + _result.Body = Rest.Serialization.SafeJsonConvert.DeserializeObject(_responseContent, Client.DeserializationSettings); } catch (JsonException ex) { @@ -428,17 +496,20 @@ internal OpenShiftManagedClustersOperations(ContainerServiceClient client) } /// - /// Gets a OpenShift managed cluster. + /// Creates or updates a maintenance configuration in the specified managed + /// cluster. /// - /// - /// Gets the details of the managed OpenShift cluster with a specified resource - /// group and name. - /// /// /// The name of the resource group. /// /// - /// The name of the OpenShift managed cluster resource. + /// The name of the managed cluster resource. + /// + /// + /// The name of the maintenance configuration. + /// + /// + /// The maintenance configuration to create or update. /// /// /// Headers that will be added to request. @@ -461,8 +532,12 @@ internal OpenShiftManagedClustersOperations(ContainerServiceClient client) /// /// A response object containing the response body and response headers. /// - public async Task> GetWithHttpMessagesAsync(string resourceGroupName, string resourceName, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + public async Task> CreateOrUpdateWithHttpMessagesAsync(string resourceGroupName, string resourceName, string configName, MaintenanceConfiguration parameters, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) { + if (Client.ApiVersion == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.ApiVersion"); + } if (Client.SubscriptionId == null) { throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId"); @@ -482,7 +557,29 @@ internal OpenShiftManagedClustersOperations(ContainerServiceClient client) { throw new ValidationException(ValidationRules.CannotBeNull, "resourceName"); } - string apiVersion = "2019-04-30"; + if (resourceName != null) + { + if (resourceName.Length > 63) + { + throw new ValidationException(ValidationRules.MaxLength, "resourceName", 63); + } + if (resourceName.Length < 1) + { + throw new ValidationException(ValidationRules.MinLength, "resourceName", 1); + } + if (!System.Text.RegularExpressions.Regex.IsMatch(resourceName, "^[a-zA-Z0-9]$|^[a-zA-Z0-9][-_a-zA-Z0-9]{0,61}[a-zA-Z0-9]$")) + { + throw new ValidationException(ValidationRules.Pattern, "resourceName", "^[a-zA-Z0-9]$|^[a-zA-Z0-9][-_a-zA-Z0-9]{0,61}[a-zA-Z0-9]$"); + } + } + if (configName == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "configName"); + } + if (parameters == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "parameters"); + } // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; string _invocationId = null; @@ -490,22 +587,24 @@ internal OpenShiftManagedClustersOperations(ContainerServiceClient client) { _invocationId = ServiceClientTracing.NextInvocationId.ToString(); Dictionary tracingParameters = new Dictionary(); - tracingParameters.Add("apiVersion", apiVersion); tracingParameters.Add("resourceGroupName", resourceGroupName); tracingParameters.Add("resourceName", resourceName); + tracingParameters.Add("configName", configName); + tracingParameters.Add("parameters", parameters); tracingParameters.Add("cancellationToken", cancellationToken); - ServiceClientTracing.Enter(_invocationId, this, "Get", tracingParameters); + ServiceClientTracing.Enter(_invocationId, this, "CreateOrUpdate", tracingParameters); } // Construct URL var _baseUrl = Client.BaseUri.AbsoluteUri; - var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerService/openShiftManagedClusters/{resourceName}").ToString(); + var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerService/managedClusters/{resourceName}/maintenanceConfigurations/{configName}").ToString(); _url = _url.Replace("{subscriptionId}", System.Uri.EscapeDataString(Client.SubscriptionId)); _url = _url.Replace("{resourceGroupName}", System.Uri.EscapeDataString(resourceGroupName)); _url = _url.Replace("{resourceName}", System.Uri.EscapeDataString(resourceName)); + _url = _url.Replace("{configName}", System.Uri.EscapeDataString(configName)); List _queryParameters = new List(); - if (apiVersion != null) + if (Client.ApiVersion != null) { - _queryParameters.Add(string.Format("api-version={0}", System.Uri.EscapeDataString(apiVersion))); + _queryParameters.Add(string.Format("api-version={0}", System.Uri.EscapeDataString(Client.ApiVersion))); } if (_queryParameters.Count > 0) { @@ -514,7 +613,7 @@ internal OpenShiftManagedClustersOperations(ContainerServiceClient client) // Create HTTP transport objects var _httpRequest = new HttpRequestMessage(); HttpResponseMessage _httpResponse = null; - _httpRequest.Method = new HttpMethod("GET"); + _httpRequest.Method = new HttpMethod("PUT"); _httpRequest.RequestUri = new System.Uri(_url); // Set Headers if (Client.GenerateClientRequestId != null && Client.GenerateClientRequestId.Value) @@ -545,6 +644,12 @@ internal OpenShiftManagedClustersOperations(ContainerServiceClient client) // Serialize Request string _requestContent = null; + if(parameters != null) + { + _requestContent = Rest.Serialization.SafeJsonConvert.SerializeObject(parameters, Client.SerializationSettings); + _httpRequest.Content = new StringContent(_requestContent, System.Text.Encoding.UTF8); + _httpRequest.Content.Headers.ContentType =System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json; charset=utf-8"); + } // Set Credentials if (Client.Credentials != null) { @@ -600,7 +705,7 @@ internal OpenShiftManagedClustersOperations(ContainerServiceClient client) throw ex; } // Create Result - var _result = new AzureOperationResponse(); + var _result = new AzureOperationResponse(); _result.Request = _httpRequest; _result.Response = _httpResponse; if (_httpResponse.Headers.Contains("x-ms-request-id")) @@ -613,7 +718,7 @@ internal OpenShiftManagedClustersOperations(ContainerServiceClient client) _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); try { - _result.Body = Rest.Serialization.SafeJsonConvert.DeserializeObject(_responseContent, Client.DeserializationSettings); + _result.Body = Rest.Serialization.SafeJsonConvert.DeserializeObject(_responseContent, Client.DeserializationSettings); } catch (JsonException ex) { @@ -633,105 +738,16 @@ internal OpenShiftManagedClustersOperations(ContainerServiceClient client) } /// - /// Creates or updates an OpenShift managed cluster. - /// - /// - /// Creates or updates a OpenShift managed cluster with the specified - /// configuration for agents and OpenShift version. - /// - /// - /// The name of the resource group. - /// - /// - /// The name of the OpenShift managed cluster resource. - /// - /// - /// Parameters supplied to the Create or Update an OpenShift Managed Cluster - /// operation. - /// - /// - /// The headers that will be added to request. - /// - /// - /// The cancellation token. - /// - public async Task> CreateOrUpdateWithHttpMessagesAsync(string resourceGroupName, string resourceName, OpenShiftManagedCluster parameters, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) - { - // Send Request - AzureOperationResponse _response = await BeginCreateOrUpdateWithHttpMessagesAsync(resourceGroupName, resourceName, parameters, customHeaders, cancellationToken).ConfigureAwait(false); - return await Client.GetPutOrPatchOperationResultAsync(_response, customHeaders, cancellationToken).ConfigureAwait(false); - } - - /// - /// Updates tags on an OpenShift managed cluster. - /// - /// - /// Updates an OpenShift managed cluster with the specified tags. - /// - /// - /// The name of the resource group. - /// - /// - /// The name of the OpenShift managed cluster resource. - /// - /// - /// Resource tags. - /// - /// - /// The headers that will be added to request. - /// - /// - /// The cancellation token. - /// - public async Task> UpdateTagsWithHttpMessagesAsync(string resourceGroupName, string resourceName, IDictionary tags = default(IDictionary), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) - { - // Send Request - AzureOperationResponse _response = await BeginUpdateTagsWithHttpMessagesAsync(resourceGroupName, resourceName, tags, customHeaders, cancellationToken).ConfigureAwait(false); - return await Client.GetPutOrPatchOperationResultAsync(_response, customHeaders, cancellationToken).ConfigureAwait(false); - } - - /// - /// Deletes an OpenShift managed cluster. - /// - /// - /// Deletes the OpenShift managed cluster with a specified resource group and - /// name. - /// - /// - /// The name of the resource group. - /// - /// - /// The name of the OpenShift managed cluster resource. - /// - /// - /// The headers that will be added to request. - /// - /// - /// The cancellation token. - /// - public async Task DeleteWithHttpMessagesAsync(string resourceGroupName, string resourceName, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) - { - // Send request - AzureOperationResponse _response = await BeginDeleteWithHttpMessagesAsync(resourceGroupName, resourceName, customHeaders, cancellationToken).ConfigureAwait(false); - return await Client.GetPostOrDeleteOperationResultAsync(_response, customHeaders, cancellationToken).ConfigureAwait(false); - } - - /// - /// Creates or updates an OpenShift managed cluster. + /// Deletes a maintenance configuration. /// - /// - /// Creates or updates a OpenShift managed cluster with the specified - /// configuration for agents and OpenShift version. - /// /// /// The name of the resource group. /// /// - /// The name of the OpenShift managed cluster resource. + /// The name of the managed cluster resource. /// - /// - /// Parameters supplied to the Create or Update an OpenShift Managed Cluster - /// operation. + /// + /// The name of the maintenance configuration. /// /// /// Headers that will be added to request. @@ -742,9 +758,6 @@ internal OpenShiftManagedClustersOperations(ContainerServiceClient client) /// /// Thrown when the operation returned an invalid status code /// - /// - /// Thrown when unable to deserialize the response - /// /// /// Thrown when a required parameter is null /// @@ -754,8 +767,12 @@ internal OpenShiftManagedClustersOperations(ContainerServiceClient client) /// /// A response object containing the response body and response headers. /// - public async Task> BeginCreateOrUpdateWithHttpMessagesAsync(string resourceGroupName, string resourceName, OpenShiftManagedCluster parameters, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + public async Task DeleteWithHttpMessagesAsync(string resourceGroupName, string resourceName, string configName, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) { + if (Client.ApiVersion == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.ApiVersion"); + } if (Client.SubscriptionId == null) { throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId"); @@ -775,15 +792,25 @@ internal OpenShiftManagedClustersOperations(ContainerServiceClient client) { throw new ValidationException(ValidationRules.CannotBeNull, "resourceName"); } - if (parameters == null) + if (resourceName != null) { - throw new ValidationException(ValidationRules.CannotBeNull, "parameters"); + if (resourceName.Length > 63) + { + throw new ValidationException(ValidationRules.MaxLength, "resourceName", 63); + } + if (resourceName.Length < 1) + { + throw new ValidationException(ValidationRules.MinLength, "resourceName", 1); + } + if (!System.Text.RegularExpressions.Regex.IsMatch(resourceName, "^[a-zA-Z0-9]$|^[a-zA-Z0-9][-_a-zA-Z0-9]{0,61}[a-zA-Z0-9]$")) + { + throw new ValidationException(ValidationRules.Pattern, "resourceName", "^[a-zA-Z0-9]$|^[a-zA-Z0-9][-_a-zA-Z0-9]{0,61}[a-zA-Z0-9]$"); + } } - if (parameters != null) + if (configName == null) { - parameters.Validate(); + throw new ValidationException(ValidationRules.CannotBeNull, "configName"); } - string apiVersion = "2019-04-30"; // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; string _invocationId = null; @@ -791,23 +818,23 @@ internal OpenShiftManagedClustersOperations(ContainerServiceClient client) { _invocationId = ServiceClientTracing.NextInvocationId.ToString(); Dictionary tracingParameters = new Dictionary(); - tracingParameters.Add("apiVersion", apiVersion); tracingParameters.Add("resourceGroupName", resourceGroupName); tracingParameters.Add("resourceName", resourceName); - tracingParameters.Add("parameters", parameters); + tracingParameters.Add("configName", configName); tracingParameters.Add("cancellationToken", cancellationToken); - ServiceClientTracing.Enter(_invocationId, this, "BeginCreateOrUpdate", tracingParameters); + ServiceClientTracing.Enter(_invocationId, this, "Delete", tracingParameters); } // Construct URL var _baseUrl = Client.BaseUri.AbsoluteUri; - var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerService/openShiftManagedClusters/{resourceName}").ToString(); + var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerService/managedClusters/{resourceName}/maintenanceConfigurations/{configName}").ToString(); _url = _url.Replace("{subscriptionId}", System.Uri.EscapeDataString(Client.SubscriptionId)); _url = _url.Replace("{resourceGroupName}", System.Uri.EscapeDataString(resourceGroupName)); _url = _url.Replace("{resourceName}", System.Uri.EscapeDataString(resourceName)); + _url = _url.Replace("{configName}", System.Uri.EscapeDataString(configName)); List _queryParameters = new List(); - if (apiVersion != null) + if (Client.ApiVersion != null) { - _queryParameters.Add(string.Format("api-version={0}", System.Uri.EscapeDataString(apiVersion))); + _queryParameters.Add(string.Format("api-version={0}", System.Uri.EscapeDataString(Client.ApiVersion))); } if (_queryParameters.Count > 0) { @@ -816,7 +843,7 @@ internal OpenShiftManagedClustersOperations(ContainerServiceClient client) // Create HTTP transport objects var _httpRequest = new HttpRequestMessage(); HttpResponseMessage _httpResponse = null; - _httpRequest.Method = new HttpMethod("PUT"); + _httpRequest.Method = new HttpMethod("DELETE"); _httpRequest.RequestUri = new System.Uri(_url); // Set Headers if (Client.GenerateClientRequestId != null && Client.GenerateClientRequestId.Value) @@ -847,12 +874,6 @@ internal OpenShiftManagedClustersOperations(ContainerServiceClient client) // Serialize Request string _requestContent = null; - if(parameters != null) - { - _requestContent = Rest.Serialization.SafeJsonConvert.SerializeObject(parameters, Client.SerializationSettings); - _httpRequest.Content = new StringContent(_requestContent, System.Text.Encoding.UTF8); - _httpRequest.Content.Headers.ContentType =System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json; charset=utf-8"); - } // Set Credentials if (Client.Credentials != null) { @@ -873,7 +894,7 @@ internal OpenShiftManagedClustersOperations(ContainerServiceClient client) HttpStatusCode _statusCode = _httpResponse.StatusCode; cancellationToken.ThrowIfCancellationRequested(); string _responseContent = null; - if ((int)_statusCode != 200 && (int)_statusCode != 201) + if ((int)_statusCode != 200 && (int)_statusCode != 204) { var ex = new CloudException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); try @@ -908,629 +929,13 @@ internal OpenShiftManagedClustersOperations(ContainerServiceClient client) throw ex; } // Create Result - var _result = new AzureOperationResponse(); + var _result = new AzureOperationResponse(); _result.Request = _httpRequest; _result.Response = _httpResponse; if (_httpResponse.Headers.Contains("x-ms-request-id")) { _result.RequestId = _httpResponse.Headers.GetValues("x-ms-request-id").FirstOrDefault(); } - // Deserialize Response - if ((int)_statusCode == 200) - { - _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); - try - { - _result.Body = Rest.Serialization.SafeJsonConvert.DeserializeObject(_responseContent, Client.DeserializationSettings); - } - catch (JsonException ex) - { - _httpRequest.Dispose(); - if (_httpResponse != null) - { - _httpResponse.Dispose(); - } - throw new SerializationException("Unable to deserialize the response.", _responseContent, ex); - } - } - // Deserialize Response - if ((int)_statusCode == 201) - { - _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); - try - { - _result.Body = Rest.Serialization.SafeJsonConvert.DeserializeObject(_responseContent, Client.DeserializationSettings); - } - catch (JsonException ex) - { - _httpRequest.Dispose(); - if (_httpResponse != null) - { - _httpResponse.Dispose(); - } - throw new SerializationException("Unable to deserialize the response.", _responseContent, ex); - } - } - if (_shouldTrace) - { - ServiceClientTracing.Exit(_invocationId, _result); - } - return _result; - } - - /// - /// Updates tags on an OpenShift managed cluster. - /// - /// - /// Updates an OpenShift managed cluster with the specified tags. - /// - /// - /// The name of the resource group. - /// - /// - /// The name of the OpenShift managed cluster resource. - /// - /// - /// Resource tags. - /// - /// - /// Headers that will be added to request. - /// - /// - /// The cancellation token. - /// - /// - /// Thrown when the operation returned an invalid status code - /// - /// - /// Thrown when unable to deserialize the response - /// - /// - /// Thrown when a required parameter is null - /// - /// - /// Thrown when a required parameter is null - /// - /// - /// A response object containing the response body and response headers. - /// - public async Task> BeginUpdateTagsWithHttpMessagesAsync(string resourceGroupName, string resourceName, IDictionary tags = default(IDictionary), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) - { - if (Client.SubscriptionId == null) - { - throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId"); - } - if (resourceGroupName == null) - { - throw new ValidationException(ValidationRules.CannotBeNull, "resourceGroupName"); - } - if (resourceGroupName != null) - { - if (resourceGroupName.Length < 1) - { - throw new ValidationException(ValidationRules.MinLength, "resourceGroupName", 1); - } - } - if (resourceName == null) - { - throw new ValidationException(ValidationRules.CannotBeNull, "resourceName"); - } - string apiVersion = "2019-04-30"; - TagsObject parameters = new TagsObject(); - if (tags != null) - { - parameters.Tags = tags; - } - // Tracing - bool _shouldTrace = ServiceClientTracing.IsEnabled; - string _invocationId = null; - if (_shouldTrace) - { - _invocationId = ServiceClientTracing.NextInvocationId.ToString(); - Dictionary tracingParameters = new Dictionary(); - tracingParameters.Add("apiVersion", apiVersion); - tracingParameters.Add("resourceGroupName", resourceGroupName); - tracingParameters.Add("resourceName", resourceName); - tracingParameters.Add("parameters", parameters); - tracingParameters.Add("cancellationToken", cancellationToken); - ServiceClientTracing.Enter(_invocationId, this, "BeginUpdateTags", tracingParameters); - } - // Construct URL - var _baseUrl = Client.BaseUri.AbsoluteUri; - var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerService/openShiftManagedClusters/{resourceName}").ToString(); - _url = _url.Replace("{subscriptionId}", System.Uri.EscapeDataString(Client.SubscriptionId)); - _url = _url.Replace("{resourceGroupName}", System.Uri.EscapeDataString(resourceGroupName)); - _url = _url.Replace("{resourceName}", System.Uri.EscapeDataString(resourceName)); - List _queryParameters = new List(); - if (apiVersion != null) - { - _queryParameters.Add(string.Format("api-version={0}", System.Uri.EscapeDataString(apiVersion))); - } - if (_queryParameters.Count > 0) - { - _url += (_url.Contains("?") ? "&" : "?") + string.Join("&", _queryParameters); - } - // Create HTTP transport objects - var _httpRequest = new HttpRequestMessage(); - HttpResponseMessage _httpResponse = null; - _httpRequest.Method = new HttpMethod("PATCH"); - _httpRequest.RequestUri = new System.Uri(_url); - // Set Headers - if (Client.GenerateClientRequestId != null && Client.GenerateClientRequestId.Value) - { - _httpRequest.Headers.TryAddWithoutValidation("x-ms-client-request-id", System.Guid.NewGuid().ToString()); - } - if (Client.AcceptLanguage != null) - { - if (_httpRequest.Headers.Contains("accept-language")) - { - _httpRequest.Headers.Remove("accept-language"); - } - _httpRequest.Headers.TryAddWithoutValidation("accept-language", Client.AcceptLanguage); - } - - - if (customHeaders != null) - { - foreach(var _header in customHeaders) - { - if (_httpRequest.Headers.Contains(_header.Key)) - { - _httpRequest.Headers.Remove(_header.Key); - } - _httpRequest.Headers.TryAddWithoutValidation(_header.Key, _header.Value); - } - } - - // Serialize Request - string _requestContent = null; - if(parameters != null) - { - _requestContent = Rest.Serialization.SafeJsonConvert.SerializeObject(parameters, Client.SerializationSettings); - _httpRequest.Content = new StringContent(_requestContent, System.Text.Encoding.UTF8); - _httpRequest.Content.Headers.ContentType =System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json; charset=utf-8"); - } - // Set Credentials - if (Client.Credentials != null) - { - cancellationToken.ThrowIfCancellationRequested(); - await Client.Credentials.ProcessHttpRequestAsync(_httpRequest, cancellationToken).ConfigureAwait(false); - } - // Send Request - if (_shouldTrace) - { - ServiceClientTracing.SendRequest(_invocationId, _httpRequest); - } - cancellationToken.ThrowIfCancellationRequested(); - _httpResponse = await Client.HttpClient.SendAsync(_httpRequest, cancellationToken).ConfigureAwait(false); - if (_shouldTrace) - { - ServiceClientTracing.ReceiveResponse(_invocationId, _httpResponse); - } - HttpStatusCode _statusCode = _httpResponse.StatusCode; - cancellationToken.ThrowIfCancellationRequested(); - string _responseContent = null; - if ((int)_statusCode != 200) - { - var ex = new CloudException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); - try - { - _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); - CloudError _errorBody = Rest.Serialization.SafeJsonConvert.DeserializeObject(_responseContent, Client.DeserializationSettings); - if (_errorBody != null) - { - ex = new CloudException(_errorBody.Message); - ex.Body = _errorBody; - } - } - catch (JsonException) - { - // Ignore the exception - } - ex.Request = new HttpRequestMessageWrapper(_httpRequest, _requestContent); - ex.Response = new HttpResponseMessageWrapper(_httpResponse, _responseContent); - if (_httpResponse.Headers.Contains("x-ms-request-id")) - { - ex.RequestId = _httpResponse.Headers.GetValues("x-ms-request-id").FirstOrDefault(); - } - if (_shouldTrace) - { - ServiceClientTracing.Error(_invocationId, ex); - } - _httpRequest.Dispose(); - if (_httpResponse != null) - { - _httpResponse.Dispose(); - } - throw ex; - } - // Create Result - var _result = new AzureOperationResponse(); - _result.Request = _httpRequest; - _result.Response = _httpResponse; - if (_httpResponse.Headers.Contains("x-ms-request-id")) - { - _result.RequestId = _httpResponse.Headers.GetValues("x-ms-request-id").FirstOrDefault(); - } - // Deserialize Response - if ((int)_statusCode == 200) - { - _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); - try - { - _result.Body = Rest.Serialization.SafeJsonConvert.DeserializeObject(_responseContent, Client.DeserializationSettings); - } - catch (JsonException ex) - { - _httpRequest.Dispose(); - if (_httpResponse != null) - { - _httpResponse.Dispose(); - } - throw new SerializationException("Unable to deserialize the response.", _responseContent, ex); - } - } - if (_shouldTrace) - { - ServiceClientTracing.Exit(_invocationId, _result); - } - return _result; - } - - /// - /// Deletes an OpenShift managed cluster. - /// - /// - /// Deletes the OpenShift managed cluster with a specified resource group and - /// name. - /// - /// - /// The name of the resource group. - /// - /// - /// The name of the OpenShift managed cluster resource. - /// - /// - /// Headers that will be added to request. - /// - /// - /// The cancellation token. - /// - /// - /// Thrown when the operation returned an invalid status code - /// - /// - /// Thrown when a required parameter is null - /// - /// - /// Thrown when a required parameter is null - /// - /// - /// A response object containing the response body and response headers. - /// - public async Task BeginDeleteWithHttpMessagesAsync(string resourceGroupName, string resourceName, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) - { - if (Client.SubscriptionId == null) - { - throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId"); - } - if (resourceGroupName == null) - { - throw new ValidationException(ValidationRules.CannotBeNull, "resourceGroupName"); - } - if (resourceGroupName != null) - { - if (resourceGroupName.Length < 1) - { - throw new ValidationException(ValidationRules.MinLength, "resourceGroupName", 1); - } - } - if (resourceName == null) - { - throw new ValidationException(ValidationRules.CannotBeNull, "resourceName"); - } - string apiVersion = "2019-04-30"; - // Tracing - bool _shouldTrace = ServiceClientTracing.IsEnabled; - string _invocationId = null; - if (_shouldTrace) - { - _invocationId = ServiceClientTracing.NextInvocationId.ToString(); - Dictionary tracingParameters = new Dictionary(); - tracingParameters.Add("apiVersion", apiVersion); - tracingParameters.Add("resourceGroupName", resourceGroupName); - tracingParameters.Add("resourceName", resourceName); - tracingParameters.Add("cancellationToken", cancellationToken); - ServiceClientTracing.Enter(_invocationId, this, "BeginDelete", tracingParameters); - } - // Construct URL - var _baseUrl = Client.BaseUri.AbsoluteUri; - var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerService/openShiftManagedClusters/{resourceName}").ToString(); - _url = _url.Replace("{subscriptionId}", System.Uri.EscapeDataString(Client.SubscriptionId)); - _url = _url.Replace("{resourceGroupName}", System.Uri.EscapeDataString(resourceGroupName)); - _url = _url.Replace("{resourceName}", System.Uri.EscapeDataString(resourceName)); - List _queryParameters = new List(); - if (apiVersion != null) - { - _queryParameters.Add(string.Format("api-version={0}", System.Uri.EscapeDataString(apiVersion))); - } - if (_queryParameters.Count > 0) - { - _url += (_url.Contains("?") ? "&" : "?") + string.Join("&", _queryParameters); - } - // Create HTTP transport objects - var _httpRequest = new HttpRequestMessage(); - HttpResponseMessage _httpResponse = null; - _httpRequest.Method = new HttpMethod("DELETE"); - _httpRequest.RequestUri = new System.Uri(_url); - // Set Headers - if (Client.GenerateClientRequestId != null && Client.GenerateClientRequestId.Value) - { - _httpRequest.Headers.TryAddWithoutValidation("x-ms-client-request-id", System.Guid.NewGuid().ToString()); - } - if (Client.AcceptLanguage != null) - { - if (_httpRequest.Headers.Contains("accept-language")) - { - _httpRequest.Headers.Remove("accept-language"); - } - _httpRequest.Headers.TryAddWithoutValidation("accept-language", Client.AcceptLanguage); - } - - - if (customHeaders != null) - { - foreach(var _header in customHeaders) - { - if (_httpRequest.Headers.Contains(_header.Key)) - { - _httpRequest.Headers.Remove(_header.Key); - } - _httpRequest.Headers.TryAddWithoutValidation(_header.Key, _header.Value); - } - } - - // Serialize Request - string _requestContent = null; - // Set Credentials - if (Client.Credentials != null) - { - cancellationToken.ThrowIfCancellationRequested(); - await Client.Credentials.ProcessHttpRequestAsync(_httpRequest, cancellationToken).ConfigureAwait(false); - } - // Send Request - if (_shouldTrace) - { - ServiceClientTracing.SendRequest(_invocationId, _httpRequest); - } - cancellationToken.ThrowIfCancellationRequested(); - _httpResponse = await Client.HttpClient.SendAsync(_httpRequest, cancellationToken).ConfigureAwait(false); - if (_shouldTrace) - { - ServiceClientTracing.ReceiveResponse(_invocationId, _httpResponse); - } - HttpStatusCode _statusCode = _httpResponse.StatusCode; - cancellationToken.ThrowIfCancellationRequested(); - string _responseContent = null; - if ((int)_statusCode != 202 && (int)_statusCode != 204) - { - var ex = new CloudException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); - try - { - _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); - CloudError _errorBody = Rest.Serialization.SafeJsonConvert.DeserializeObject(_responseContent, Client.DeserializationSettings); - if (_errorBody != null) - { - ex = new CloudException(_errorBody.Message); - ex.Body = _errorBody; - } - } - catch (JsonException) - { - // Ignore the exception - } - ex.Request = new HttpRequestMessageWrapper(_httpRequest, _requestContent); - ex.Response = new HttpResponseMessageWrapper(_httpResponse, _responseContent); - if (_httpResponse.Headers.Contains("x-ms-request-id")) - { - ex.RequestId = _httpResponse.Headers.GetValues("x-ms-request-id").FirstOrDefault(); - } - if (_shouldTrace) - { - ServiceClientTracing.Error(_invocationId, ex); - } - _httpRequest.Dispose(); - if (_httpResponse != null) - { - _httpResponse.Dispose(); - } - throw ex; - } - // Create Result - var _result = new AzureOperationResponse(); - _result.Request = _httpRequest; - _result.Response = _httpResponse; - if (_httpResponse.Headers.Contains("x-ms-request-id")) - { - _result.RequestId = _httpResponse.Headers.GetValues("x-ms-request-id").FirstOrDefault(); - } - if (_shouldTrace) - { - ServiceClientTracing.Exit(_invocationId, _result); - } - return _result; - } - - /// - /// Gets a list of OpenShift managed clusters in the specified subscription. - /// - /// - /// Gets a list of OpenShift managed clusters in the specified subscription. - /// The operation returns properties of each OpenShift managed cluster. - /// - /// - /// The NextLink from the previous successful call to List operation. - /// - /// - /// Headers that will be added to request. - /// - /// - /// The cancellation token. - /// - /// - /// Thrown when the operation returned an invalid status code - /// - /// - /// Thrown when unable to deserialize the response - /// - /// - /// Thrown when a required parameter is null - /// - /// - /// Thrown when a required parameter is null - /// - /// - /// A response object containing the response body and response headers. - /// - public async Task>> ListNextWithHttpMessagesAsync(string nextPageLink, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) - { - if (nextPageLink == null) - { - throw new ValidationException(ValidationRules.CannotBeNull, "nextPageLink"); - } - // Tracing - bool _shouldTrace = ServiceClientTracing.IsEnabled; - string _invocationId = null; - if (_shouldTrace) - { - _invocationId = ServiceClientTracing.NextInvocationId.ToString(); - Dictionary tracingParameters = new Dictionary(); - tracingParameters.Add("nextPageLink", nextPageLink); - tracingParameters.Add("cancellationToken", cancellationToken); - ServiceClientTracing.Enter(_invocationId, this, "ListNext", tracingParameters); - } - // Construct URL - string _url = "{nextLink}"; - _url = _url.Replace("{nextLink}", nextPageLink); - List _queryParameters = new List(); - if (_queryParameters.Count > 0) - { - _url += (_url.Contains("?") ? "&" : "?") + string.Join("&", _queryParameters); - } - // Create HTTP transport objects - var _httpRequest = new HttpRequestMessage(); - HttpResponseMessage _httpResponse = null; - _httpRequest.Method = new HttpMethod("GET"); - _httpRequest.RequestUri = new System.Uri(_url); - // Set Headers - if (Client.GenerateClientRequestId != null && Client.GenerateClientRequestId.Value) - { - _httpRequest.Headers.TryAddWithoutValidation("x-ms-client-request-id", System.Guid.NewGuid().ToString()); - } - if (Client.AcceptLanguage != null) - { - if (_httpRequest.Headers.Contains("accept-language")) - { - _httpRequest.Headers.Remove("accept-language"); - } - _httpRequest.Headers.TryAddWithoutValidation("accept-language", Client.AcceptLanguage); - } - - - if (customHeaders != null) - { - foreach(var _header in customHeaders) - { - if (_httpRequest.Headers.Contains(_header.Key)) - { - _httpRequest.Headers.Remove(_header.Key); - } - _httpRequest.Headers.TryAddWithoutValidation(_header.Key, _header.Value); - } - } - - // Serialize Request - string _requestContent = null; - // Set Credentials - if (Client.Credentials != null) - { - cancellationToken.ThrowIfCancellationRequested(); - await Client.Credentials.ProcessHttpRequestAsync(_httpRequest, cancellationToken).ConfigureAwait(false); - } - // Send Request - if (_shouldTrace) - { - ServiceClientTracing.SendRequest(_invocationId, _httpRequest); - } - cancellationToken.ThrowIfCancellationRequested(); - _httpResponse = await Client.HttpClient.SendAsync(_httpRequest, cancellationToken).ConfigureAwait(false); - if (_shouldTrace) - { - ServiceClientTracing.ReceiveResponse(_invocationId, _httpResponse); - } - HttpStatusCode _statusCode = _httpResponse.StatusCode; - cancellationToken.ThrowIfCancellationRequested(); - string _responseContent = null; - if ((int)_statusCode != 200) - { - var ex = new CloudException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); - try - { - _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); - CloudError _errorBody = Rest.Serialization.SafeJsonConvert.DeserializeObject(_responseContent, Client.DeserializationSettings); - if (_errorBody != null) - { - ex = new CloudException(_errorBody.Message); - ex.Body = _errorBody; - } - } - catch (JsonException) - { - // Ignore the exception - } - ex.Request = new HttpRequestMessageWrapper(_httpRequest, _requestContent); - ex.Response = new HttpResponseMessageWrapper(_httpResponse, _responseContent); - if (_httpResponse.Headers.Contains("x-ms-request-id")) - { - ex.RequestId = _httpResponse.Headers.GetValues("x-ms-request-id").FirstOrDefault(); - } - if (_shouldTrace) - { - ServiceClientTracing.Error(_invocationId, ex); - } - _httpRequest.Dispose(); - if (_httpResponse != null) - { - _httpResponse.Dispose(); - } - throw ex; - } - // Create Result - var _result = new AzureOperationResponse>(); - _result.Request = _httpRequest; - _result.Response = _httpResponse; - if (_httpResponse.Headers.Contains("x-ms-request-id")) - { - _result.RequestId = _httpResponse.Headers.GetValues("x-ms-request-id").FirstOrDefault(); - } - // Deserialize Response - if ((int)_statusCode == 200) - { - _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); - try - { - _result.Body = Rest.Serialization.SafeJsonConvert.DeserializeObject>(_responseContent, Client.DeserializationSettings); - } - catch (JsonException ex) - { - _httpRequest.Dispose(); - if (_httpResponse != null) - { - _httpResponse.Dispose(); - } - throw new SerializationException("Unable to deserialize the response.", _responseContent, ex); - } - } if (_shouldTrace) { ServiceClientTracing.Exit(_invocationId, _result); @@ -1539,13 +944,8 @@ internal OpenShiftManagedClustersOperations(ContainerServiceClient client) } /// - /// Lists OpenShift managed clusters in the specified subscription and resource - /// group. + /// Gets a list of maintenance configurations in the specified managed cluster. /// - /// - /// Lists OpenShift managed clusters in the specified subscription and resource - /// group. The operation returns properties of each OpenShift managed cluster. - /// /// /// The NextLink from the previous successful call to List operation. /// @@ -1570,7 +970,7 @@ internal OpenShiftManagedClustersOperations(ContainerServiceClient client) /// /// A response object containing the response body and response headers. /// - public async Task>> ListByResourceGroupNextWithHttpMessagesAsync(string nextPageLink, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + public async Task>> ListByManagedClusterNextWithHttpMessagesAsync(string nextPageLink, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) { if (nextPageLink == null) { @@ -1585,7 +985,7 @@ internal OpenShiftManagedClustersOperations(ContainerServiceClient client) Dictionary tracingParameters = new Dictionary(); tracingParameters.Add("nextPageLink", nextPageLink); tracingParameters.Add("cancellationToken", cancellationToken); - ServiceClientTracing.Enter(_invocationId, this, "ListByResourceGroupNext", tracingParameters); + ServiceClientTracing.Enter(_invocationId, this, "ListByManagedClusterNext", tracingParameters); } // Construct URL string _url = "{nextLink}"; @@ -1684,7 +1084,7 @@ internal OpenShiftManagedClustersOperations(ContainerServiceClient client) throw ex; } // Create Result - var _result = new AzureOperationResponse>(); + var _result = new AzureOperationResponse>(); _result.Request = _httpRequest; _result.Response = _httpResponse; if (_httpResponse.Headers.Contains("x-ms-request-id")) @@ -1697,7 +1097,7 @@ internal OpenShiftManagedClustersOperations(ContainerServiceClient client) _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); try { - _result.Body = Rest.Serialization.SafeJsonConvert.DeserializeObject>(_responseContent, Client.DeserializationSettings); + _result.Body = Rest.Serialization.SafeJsonConvert.DeserializeObject>(_responseContent, Client.DeserializationSettings); } catch (JsonException ex) { diff --git a/sdk/containerservice/Microsoft.Azure.Management.ContainerService/src/Generated/MaintenanceConfigurationsOperationsExtensions.cs b/sdk/containerservice/Microsoft.Azure.Management.ContainerService/src/Generated/MaintenanceConfigurationsOperationsExtensions.cs new file mode 100644 index 000000000000..638889d85358 --- /dev/null +++ b/sdk/containerservice/Microsoft.Azure.Management.ContainerService/src/Generated/MaintenanceConfigurationsOperationsExtensions.cs @@ -0,0 +1,242 @@ +// +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See License.txt in the project root for +// license information. +// +// Code generated by Microsoft (R) AutoRest Code Generator. +// Changes may cause incorrect behavior and will be lost if the code is +// regenerated. +// + +namespace Microsoft.Azure.Management.ContainerService +{ + using Microsoft.Rest; + using Microsoft.Rest.Azure; + using Models; + using System.Threading; + using System.Threading.Tasks; + + /// + /// Extension methods for MaintenanceConfigurationsOperations. + /// + public static partial class MaintenanceConfigurationsOperationsExtensions + { + /// + /// Gets a list of maintenance configurations in the specified managed cluster. + /// + /// + /// The operations group for this extension method. + /// + /// + /// The name of the resource group. + /// + /// + /// The name of the managed cluster resource. + /// + public static IPage ListByManagedCluster(this IMaintenanceConfigurationsOperations operations, string resourceGroupName, string resourceName) + { + return operations.ListByManagedClusterAsync(resourceGroupName, resourceName).GetAwaiter().GetResult(); + } + + /// + /// Gets a list of maintenance configurations in the specified managed cluster. + /// + /// + /// The operations group for this extension method. + /// + /// + /// The name of the resource group. + /// + /// + /// The name of the managed cluster resource. + /// + /// + /// The cancellation token. + /// + public static async Task> ListByManagedClusterAsync(this IMaintenanceConfigurationsOperations operations, string resourceGroupName, string resourceName, CancellationToken cancellationToken = default(CancellationToken)) + { + using (var _result = await operations.ListByManagedClusterWithHttpMessagesAsync(resourceGroupName, resourceName, null, cancellationToken).ConfigureAwait(false)) + { + return _result.Body; + } + } + + /// + /// Gets the specified maintenance configuration of a managed cluster. + /// + /// + /// The operations group for this extension method. + /// + /// + /// The name of the resource group. + /// + /// + /// The name of the managed cluster resource. + /// + /// + /// The name of the maintenance configuration. + /// + public static MaintenanceConfiguration Get(this IMaintenanceConfigurationsOperations operations, string resourceGroupName, string resourceName, string configName) + { + return operations.GetAsync(resourceGroupName, resourceName, configName).GetAwaiter().GetResult(); + } + + /// + /// Gets the specified maintenance configuration of a managed cluster. + /// + /// + /// The operations group for this extension method. + /// + /// + /// The name of the resource group. + /// + /// + /// The name of the managed cluster resource. + /// + /// + /// The name of the maintenance configuration. + /// + /// + /// The cancellation token. + /// + public static async Task GetAsync(this IMaintenanceConfigurationsOperations operations, string resourceGroupName, string resourceName, string configName, CancellationToken cancellationToken = default(CancellationToken)) + { + using (var _result = await operations.GetWithHttpMessagesAsync(resourceGroupName, resourceName, configName, null, cancellationToken).ConfigureAwait(false)) + { + return _result.Body; + } + } + + /// + /// Creates or updates a maintenance configuration in the specified managed + /// cluster. + /// + /// + /// The operations group for this extension method. + /// + /// + /// The name of the resource group. + /// + /// + /// The name of the managed cluster resource. + /// + /// + /// The name of the maintenance configuration. + /// + /// + /// The maintenance configuration to create or update. + /// + public static MaintenanceConfiguration CreateOrUpdate(this IMaintenanceConfigurationsOperations operations, string resourceGroupName, string resourceName, string configName, MaintenanceConfiguration parameters) + { + return operations.CreateOrUpdateAsync(resourceGroupName, resourceName, configName, parameters).GetAwaiter().GetResult(); + } + + /// + /// Creates or updates a maintenance configuration in the specified managed + /// cluster. + /// + /// + /// The operations group for this extension method. + /// + /// + /// The name of the resource group. + /// + /// + /// The name of the managed cluster resource. + /// + /// + /// The name of the maintenance configuration. + /// + /// + /// The maintenance configuration to create or update. + /// + /// + /// The cancellation token. + /// + public static async Task CreateOrUpdateAsync(this IMaintenanceConfigurationsOperations operations, string resourceGroupName, string resourceName, string configName, MaintenanceConfiguration parameters, CancellationToken cancellationToken = default(CancellationToken)) + { + using (var _result = await operations.CreateOrUpdateWithHttpMessagesAsync(resourceGroupName, resourceName, configName, parameters, null, cancellationToken).ConfigureAwait(false)) + { + return _result.Body; + } + } + + /// + /// Deletes a maintenance configuration. + /// + /// + /// The operations group for this extension method. + /// + /// + /// The name of the resource group. + /// + /// + /// The name of the managed cluster resource. + /// + /// + /// The name of the maintenance configuration. + /// + public static void Delete(this IMaintenanceConfigurationsOperations operations, string resourceGroupName, string resourceName, string configName) + { + operations.DeleteAsync(resourceGroupName, resourceName, configName).GetAwaiter().GetResult(); + } + + /// + /// Deletes a maintenance configuration. + /// + /// + /// The operations group for this extension method. + /// + /// + /// The name of the resource group. + /// + /// + /// The name of the managed cluster resource. + /// + /// + /// The name of the maintenance configuration. + /// + /// + /// The cancellation token. + /// + public static async Task DeleteAsync(this IMaintenanceConfigurationsOperations operations, string resourceGroupName, string resourceName, string configName, CancellationToken cancellationToken = default(CancellationToken)) + { + (await operations.DeleteWithHttpMessagesAsync(resourceGroupName, resourceName, configName, null, cancellationToken).ConfigureAwait(false)).Dispose(); + } + + /// + /// Gets a list of maintenance configurations in the specified managed cluster. + /// + /// + /// The operations group for this extension method. + /// + /// + /// The NextLink from the previous successful call to List operation. + /// + public static IPage ListByManagedClusterNext(this IMaintenanceConfigurationsOperations operations, string nextPageLink) + { + return operations.ListByManagedClusterNextAsync(nextPageLink).GetAwaiter().GetResult(); + } + + /// + /// Gets a list of maintenance configurations in the specified managed cluster. + /// + /// + /// The operations group for this extension method. + /// + /// + /// The NextLink from the previous successful call to List operation. + /// + /// + /// The cancellation token. + /// + public static async Task> ListByManagedClusterNextAsync(this IMaintenanceConfigurationsOperations operations, string nextPageLink, CancellationToken cancellationToken = default(CancellationToken)) + { + using (var _result = await operations.ListByManagedClusterNextWithHttpMessagesAsync(nextPageLink, null, cancellationToken).ConfigureAwait(false)) + { + return _result.Body; + } + } + + } +} diff --git a/sdk/containerservice/Microsoft.Azure.Management.ContainerService/src/Generated/ManagedClustersOperations.cs b/sdk/containerservice/Microsoft.Azure.Management.ContainerService/src/Generated/ManagedClustersOperations.cs index a7a6108f31b6..1d51d037c289 100644 --- a/sdk/containerservice/Microsoft.Azure.Management.ContainerService/src/Generated/ManagedClustersOperations.cs +++ b/sdk/containerservice/Microsoft.Azure.Management.ContainerService/src/Generated/ManagedClustersOperations.cs @@ -50,13 +50,204 @@ internal ManagedClustersOperations(ContainerServiceClient client) /// public ContainerServiceClient Client { get; private set; } + /// + /// Gets supported OS options in the specified subscription. + /// + /// + /// The name of a supported Azure region. + /// + /// + /// The resource type for which the OS options needs to be returned + /// + /// + /// Headers that will be added to request. + /// + /// + /// The cancellation token. + /// + /// + /// Thrown when the operation returned an invalid status code + /// + /// + /// Thrown when unable to deserialize the response + /// + /// + /// Thrown when a required parameter is null + /// + /// + /// Thrown when a required parameter is null + /// + /// + /// A response object containing the response body and response headers. + /// + public async Task> GetOSOptionsWithHttpMessagesAsync(string location, string resourceType = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + { + if (Client.ApiVersion == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.ApiVersion"); + } + if (Client.SubscriptionId == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId"); + } + if (location == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "location"); + } + // Tracing + bool _shouldTrace = ServiceClientTracing.IsEnabled; + string _invocationId = null; + if (_shouldTrace) + { + _invocationId = ServiceClientTracing.NextInvocationId.ToString(); + Dictionary tracingParameters = new Dictionary(); + tracingParameters.Add("location", location); + tracingParameters.Add("resourceType", resourceType); + tracingParameters.Add("cancellationToken", cancellationToken); + ServiceClientTracing.Enter(_invocationId, this, "GetOSOptions", tracingParameters); + } + // Construct URL + var _baseUrl = Client.BaseUri.AbsoluteUri; + var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "subscriptions/{subscriptionId}/providers/Microsoft.ContainerService/locations/{location}/osOptions/default").ToString(); + _url = _url.Replace("{subscriptionId}", System.Uri.EscapeDataString(Client.SubscriptionId)); + _url = _url.Replace("{location}", System.Uri.EscapeDataString(location)); + List _queryParameters = new List(); + if (Client.ApiVersion != null) + { + _queryParameters.Add(string.Format("api-version={0}", System.Uri.EscapeDataString(Client.ApiVersion))); + } + if (resourceType != null) + { + _queryParameters.Add(string.Format("resource-type={0}", System.Uri.EscapeDataString(resourceType))); + } + if (_queryParameters.Count > 0) + { + _url += (_url.Contains("?") ? "&" : "?") + string.Join("&", _queryParameters); + } + // Create HTTP transport objects + var _httpRequest = new HttpRequestMessage(); + HttpResponseMessage _httpResponse = null; + _httpRequest.Method = new HttpMethod("GET"); + _httpRequest.RequestUri = new System.Uri(_url); + // Set Headers + if (Client.GenerateClientRequestId != null && Client.GenerateClientRequestId.Value) + { + _httpRequest.Headers.TryAddWithoutValidation("x-ms-client-request-id", System.Guid.NewGuid().ToString()); + } + if (Client.AcceptLanguage != null) + { + if (_httpRequest.Headers.Contains("accept-language")) + { + _httpRequest.Headers.Remove("accept-language"); + } + _httpRequest.Headers.TryAddWithoutValidation("accept-language", Client.AcceptLanguage); + } + + + if (customHeaders != null) + { + foreach(var _header in customHeaders) + { + if (_httpRequest.Headers.Contains(_header.Key)) + { + _httpRequest.Headers.Remove(_header.Key); + } + _httpRequest.Headers.TryAddWithoutValidation(_header.Key, _header.Value); + } + } + + // Serialize Request + string _requestContent = null; + // Set Credentials + if (Client.Credentials != null) + { + cancellationToken.ThrowIfCancellationRequested(); + await Client.Credentials.ProcessHttpRequestAsync(_httpRequest, cancellationToken).ConfigureAwait(false); + } + // Send Request + if (_shouldTrace) + { + ServiceClientTracing.SendRequest(_invocationId, _httpRequest); + } + cancellationToken.ThrowIfCancellationRequested(); + _httpResponse = await Client.HttpClient.SendAsync(_httpRequest, cancellationToken).ConfigureAwait(false); + if (_shouldTrace) + { + ServiceClientTracing.ReceiveResponse(_invocationId, _httpResponse); + } + HttpStatusCode _statusCode = _httpResponse.StatusCode; + cancellationToken.ThrowIfCancellationRequested(); + string _responseContent = null; + if ((int)_statusCode != 200) + { + var ex = new CloudException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); + try + { + _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); + CloudError _errorBody = Rest.Serialization.SafeJsonConvert.DeserializeObject(_responseContent, Client.DeserializationSettings); + if (_errorBody != null) + { + ex = new CloudException(_errorBody.Message); + ex.Body = _errorBody; + } + } + catch (JsonException) + { + // Ignore the exception + } + ex.Request = new HttpRequestMessageWrapper(_httpRequest, _requestContent); + ex.Response = new HttpResponseMessageWrapper(_httpResponse, _responseContent); + if (_httpResponse.Headers.Contains("x-ms-request-id")) + { + ex.RequestId = _httpResponse.Headers.GetValues("x-ms-request-id").FirstOrDefault(); + } + if (_shouldTrace) + { + ServiceClientTracing.Error(_invocationId, ex); + } + _httpRequest.Dispose(); + if (_httpResponse != null) + { + _httpResponse.Dispose(); + } + throw ex; + } + // Create Result + var _result = new AzureOperationResponse(); + _result.Request = _httpRequest; + _result.Response = _httpResponse; + if (_httpResponse.Headers.Contains("x-ms-request-id")) + { + _result.RequestId = _httpResponse.Headers.GetValues("x-ms-request-id").FirstOrDefault(); + } + // Deserialize Response + if ((int)_statusCode == 200) + { + _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); + try + { + _result.Body = Rest.Serialization.SafeJsonConvert.DeserializeObject(_responseContent, Client.DeserializationSettings); + } + catch (JsonException ex) + { + _httpRequest.Dispose(); + if (_httpResponse != null) + { + _httpResponse.Dispose(); + } + throw new SerializationException("Unable to deserialize the response.", _responseContent, ex); + } + } + if (_shouldTrace) + { + ServiceClientTracing.Exit(_invocationId, _result); + } + return _result; + } + /// /// Gets a list of managed clusters in the specified subscription. /// - /// - /// Gets a list of managed clusters in the specified subscription. The - /// operation returns properties of each managed cluster. - /// /// /// Headers that will be added to request. /// @@ -80,11 +271,14 @@ internal ManagedClustersOperations(ContainerServiceClient client) /// public async Task>> ListWithHttpMessagesAsync(Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) { + if (Client.ApiVersion == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.ApiVersion"); + } if (Client.SubscriptionId == null) { throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId"); } - string apiVersion = "2020-07-01"; // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; string _invocationId = null; @@ -92,7 +286,6 @@ internal ManagedClustersOperations(ContainerServiceClient client) { _invocationId = ServiceClientTracing.NextInvocationId.ToString(); Dictionary tracingParameters = new Dictionary(); - tracingParameters.Add("apiVersion", apiVersion); tracingParameters.Add("cancellationToken", cancellationToken); ServiceClientTracing.Enter(_invocationId, this, "List", tracingParameters); } @@ -101,9 +294,9 @@ internal ManagedClustersOperations(ContainerServiceClient client) var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "subscriptions/{subscriptionId}/providers/Microsoft.ContainerService/managedClusters").ToString(); _url = _url.Replace("{subscriptionId}", System.Uri.EscapeDataString(Client.SubscriptionId)); List _queryParameters = new List(); - if (apiVersion != null) + if (Client.ApiVersion != null) { - _queryParameters.Add(string.Format("api-version={0}", System.Uri.EscapeDataString(apiVersion))); + _queryParameters.Add(string.Format("api-version={0}", System.Uri.EscapeDataString(Client.ApiVersion))); } if (_queryParameters.Count > 0) { @@ -211,7 +404,7 @@ internal ManagedClustersOperations(ContainerServiceClient client) _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); try { - _result.Body = Rest.Serialization.SafeJsonConvert.DeserializeObject>(_responseContent, Client.DeserializationSettings); + _result.Body = Rest.Serialization.SafeJsonConvert.DeserializeObject>(_responseContent, Client.DeserializationSettings); } catch (JsonException ex) { @@ -233,10 +426,6 @@ internal ManagedClustersOperations(ContainerServiceClient client) /// /// Lists managed clusters in the specified subscription and resource group. /// - /// - /// Lists managed clusters in the specified subscription and resource group. - /// The operation returns properties of each managed cluster. - /// /// /// The name of the resource group. /// @@ -263,6 +452,10 @@ internal ManagedClustersOperations(ContainerServiceClient client) /// public async Task>> ListByResourceGroupWithHttpMessagesAsync(string resourceGroupName, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) { + if (Client.ApiVersion == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.ApiVersion"); + } if (Client.SubscriptionId == null) { throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId"); @@ -278,7 +471,6 @@ internal ManagedClustersOperations(ContainerServiceClient client) throw new ValidationException(ValidationRules.MinLength, "resourceGroupName", 1); } } - string apiVersion = "2020-07-01"; // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; string _invocationId = null; @@ -286,7 +478,6 @@ internal ManagedClustersOperations(ContainerServiceClient client) { _invocationId = ServiceClientTracing.NextInvocationId.ToString(); Dictionary tracingParameters = new Dictionary(); - tracingParameters.Add("apiVersion", apiVersion); tracingParameters.Add("resourceGroupName", resourceGroupName); tracingParameters.Add("cancellationToken", cancellationToken); ServiceClientTracing.Enter(_invocationId, this, "ListByResourceGroup", tracingParameters); @@ -297,9 +488,9 @@ internal ManagedClustersOperations(ContainerServiceClient client) _url = _url.Replace("{subscriptionId}", System.Uri.EscapeDataString(Client.SubscriptionId)); _url = _url.Replace("{resourceGroupName}", System.Uri.EscapeDataString(resourceGroupName)); List _queryParameters = new List(); - if (apiVersion != null) + if (Client.ApiVersion != null) { - _queryParameters.Add(string.Format("api-version={0}", System.Uri.EscapeDataString(apiVersion))); + _queryParameters.Add(string.Format("api-version={0}", System.Uri.EscapeDataString(Client.ApiVersion))); } if (_queryParameters.Count > 0) { @@ -407,7 +598,7 @@ internal ManagedClustersOperations(ContainerServiceClient client) _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); try { - _result.Body = Rest.Serialization.SafeJsonConvert.DeserializeObject>(_responseContent, Client.DeserializationSettings); + _result.Body = Rest.Serialization.SafeJsonConvert.DeserializeObject>(_responseContent, Client.DeserializationSettings); } catch (JsonException ex) { @@ -427,12 +618,8 @@ internal ManagedClustersOperations(ContainerServiceClient client) } /// - /// Gets upgrade profile for a managed cluster. + /// Gets the upgrade profile of a managed cluster. /// - /// - /// Gets the details of the upgrade profile for a managed cluster with a - /// specified resource group and name. - /// /// /// The name of the resource group. /// @@ -462,6 +649,10 @@ internal ManagedClustersOperations(ContainerServiceClient client) /// public async Task> GetUpgradeProfileWithHttpMessagesAsync(string resourceGroupName, string resourceName, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) { + if (Client.ApiVersion == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.ApiVersion"); + } if (Client.SubscriptionId == null) { throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId"); @@ -496,7 +687,6 @@ internal ManagedClustersOperations(ContainerServiceClient client) throw new ValidationException(ValidationRules.Pattern, "resourceName", "^[a-zA-Z0-9]$|^[a-zA-Z0-9][-_a-zA-Z0-9]{0,61}[a-zA-Z0-9]$"); } } - string apiVersion = "2020-07-01"; // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; string _invocationId = null; @@ -504,7 +694,6 @@ internal ManagedClustersOperations(ContainerServiceClient client) { _invocationId = ServiceClientTracing.NextInvocationId.ToString(); Dictionary tracingParameters = new Dictionary(); - tracingParameters.Add("apiVersion", apiVersion); tracingParameters.Add("resourceGroupName", resourceGroupName); tracingParameters.Add("resourceName", resourceName); tracingParameters.Add("cancellationToken", cancellationToken); @@ -517,9 +706,9 @@ internal ManagedClustersOperations(ContainerServiceClient client) _url = _url.Replace("{resourceGroupName}", System.Uri.EscapeDataString(resourceGroupName)); _url = _url.Replace("{resourceName}", System.Uri.EscapeDataString(resourceName)); List _queryParameters = new List(); - if (apiVersion != null) + if (Client.ApiVersion != null) { - _queryParameters.Add(string.Format("api-version={0}", System.Uri.EscapeDataString(apiVersion))); + _queryParameters.Add(string.Format("api-version={0}", System.Uri.EscapeDataString(Client.ApiVersion))); } if (_queryParameters.Count > 0) { @@ -650,12 +839,10 @@ internal ManagedClustersOperations(ContainerServiceClient client) /// Gets an access profile of a managed cluster. /// /// - /// Gets the accessProfile for the specified role name of the managed cluster - /// with a specified resource group and name. **WARNING**: This API will be - /// deprecated. Instead use - /// [ListClusterUserCredentials](https://docs.microsoft.com/en-us/rest/api/aks/managedclusters/listclusterusercredentials) + /// **WARNING**: This API will be deprecated. Instead use + /// [ListClusterUserCredentials](https://docs.microsoft.com/rest/api/aks/managedclusters/listclusterusercredentials) /// or - /// [ListClusterAdminCredentials](https://docs.microsoft.com/en-us/rest/api/aks/managedclusters/listclusteradmincredentials) + /// [ListClusterAdminCredentials](https://docs.microsoft.com/rest/api/aks/managedclusters/listclusteradmincredentials) /// . /// /// @@ -691,6 +878,10 @@ internal ManagedClustersOperations(ContainerServiceClient client) [System.Obsolete("This operation is deprecated. Please do not use it any longer.")] public async Task> GetAccessProfileWithHttpMessagesAsync(string resourceGroupName, string resourceName, string roleName, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) { + if (Client.ApiVersion == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.ApiVersion"); + } if (Client.SubscriptionId == null) { throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId"); @@ -729,7 +920,6 @@ internal ManagedClustersOperations(ContainerServiceClient client) { throw new ValidationException(ValidationRules.CannotBeNull, "roleName"); } - string apiVersion = "2020-07-01"; // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; string _invocationId = null; @@ -737,7 +927,6 @@ internal ManagedClustersOperations(ContainerServiceClient client) { _invocationId = ServiceClientTracing.NextInvocationId.ToString(); Dictionary tracingParameters = new Dictionary(); - tracingParameters.Add("apiVersion", apiVersion); tracingParameters.Add("resourceGroupName", resourceGroupName); tracingParameters.Add("resourceName", resourceName); tracingParameters.Add("roleName", roleName); @@ -752,9 +941,9 @@ internal ManagedClustersOperations(ContainerServiceClient client) _url = _url.Replace("{resourceName}", System.Uri.EscapeDataString(resourceName)); _url = _url.Replace("{roleName}", System.Uri.EscapeDataString(roleName)); List _queryParameters = new List(); - if (apiVersion != null) + if (Client.ApiVersion != null) { - _queryParameters.Add(string.Format("api-version={0}", System.Uri.EscapeDataString(apiVersion))); + _queryParameters.Add(string.Format("api-version={0}", System.Uri.EscapeDataString(Client.ApiVersion))); } if (_queryParameters.Count > 0) { @@ -882,18 +1071,17 @@ internal ManagedClustersOperations(ContainerServiceClient client) } /// - /// Gets cluster admin credential of a managed cluster. + /// Lists the admin credentials of a managed cluster. /// - /// - /// Gets cluster admin credential of the managed cluster with a specified - /// resource group and name. - /// /// /// The name of the resource group. /// /// /// The name of the managed cluster resource. /// + /// + /// server fqdn type for credentials to be returned + /// /// /// Headers that will be added to request. /// @@ -915,8 +1103,12 @@ internal ManagedClustersOperations(ContainerServiceClient client) /// /// A response object containing the response body and response headers. /// - public async Task> ListClusterAdminCredentialsWithHttpMessagesAsync(string resourceGroupName, string resourceName, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + public async Task> ListClusterAdminCredentialsWithHttpMessagesAsync(string resourceGroupName, string resourceName, string serverFqdn = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) { + if (Client.ApiVersion == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.ApiVersion"); + } if (Client.SubscriptionId == null) { throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId"); @@ -951,7 +1143,6 @@ internal ManagedClustersOperations(ContainerServiceClient client) throw new ValidationException(ValidationRules.Pattern, "resourceName", "^[a-zA-Z0-9]$|^[a-zA-Z0-9][-_a-zA-Z0-9]{0,61}[a-zA-Z0-9]$"); } } - string apiVersion = "2020-07-01"; // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; string _invocationId = null; @@ -959,9 +1150,9 @@ internal ManagedClustersOperations(ContainerServiceClient client) { _invocationId = ServiceClientTracing.NextInvocationId.ToString(); Dictionary tracingParameters = new Dictionary(); - tracingParameters.Add("apiVersion", apiVersion); tracingParameters.Add("resourceGroupName", resourceGroupName); tracingParameters.Add("resourceName", resourceName); + tracingParameters.Add("serverFqdn", serverFqdn); tracingParameters.Add("cancellationToken", cancellationToken); ServiceClientTracing.Enter(_invocationId, this, "ListClusterAdminCredentials", tracingParameters); } @@ -972,9 +1163,13 @@ internal ManagedClustersOperations(ContainerServiceClient client) _url = _url.Replace("{resourceGroupName}", System.Uri.EscapeDataString(resourceGroupName)); _url = _url.Replace("{resourceName}", System.Uri.EscapeDataString(resourceName)); List _queryParameters = new List(); - if (apiVersion != null) + if (Client.ApiVersion != null) + { + _queryParameters.Add(string.Format("api-version={0}", System.Uri.EscapeDataString(Client.ApiVersion))); + } + if (serverFqdn != null) { - _queryParameters.Add(string.Format("api-version={0}", System.Uri.EscapeDataString(apiVersion))); + _queryParameters.Add(string.Format("server-fqdn={0}", System.Uri.EscapeDataString(serverFqdn))); } if (_queryParameters.Count > 0) { @@ -1102,18 +1297,17 @@ internal ManagedClustersOperations(ContainerServiceClient client) } /// - /// Gets cluster user credential of a managed cluster. + /// Lists the user credentials of a managed cluster. /// - /// - /// Gets cluster user credential of the managed cluster with a specified - /// resource group and name. - /// /// /// The name of the resource group. /// /// /// The name of the managed cluster resource. /// + /// + /// server fqdn type for credentials to be returned + /// /// /// Headers that will be added to request. /// @@ -1135,8 +1329,12 @@ internal ManagedClustersOperations(ContainerServiceClient client) /// /// A response object containing the response body and response headers. /// - public async Task> ListClusterUserCredentialsWithHttpMessagesAsync(string resourceGroupName, string resourceName, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + public async Task> ListClusterUserCredentialsWithHttpMessagesAsync(string resourceGroupName, string resourceName, string serverFqdn = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) { + if (Client.ApiVersion == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.ApiVersion"); + } if (Client.SubscriptionId == null) { throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId"); @@ -1171,7 +1369,6 @@ internal ManagedClustersOperations(ContainerServiceClient client) throw new ValidationException(ValidationRules.Pattern, "resourceName", "^[a-zA-Z0-9]$|^[a-zA-Z0-9][-_a-zA-Z0-9]{0,61}[a-zA-Z0-9]$"); } } - string apiVersion = "2020-07-01"; // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; string _invocationId = null; @@ -1179,9 +1376,9 @@ internal ManagedClustersOperations(ContainerServiceClient client) { _invocationId = ServiceClientTracing.NextInvocationId.ToString(); Dictionary tracingParameters = new Dictionary(); - tracingParameters.Add("apiVersion", apiVersion); tracingParameters.Add("resourceGroupName", resourceGroupName); tracingParameters.Add("resourceName", resourceName); + tracingParameters.Add("serverFqdn", serverFqdn); tracingParameters.Add("cancellationToken", cancellationToken); ServiceClientTracing.Enter(_invocationId, this, "ListClusterUserCredentials", tracingParameters); } @@ -1192,9 +1389,13 @@ internal ManagedClustersOperations(ContainerServiceClient client) _url = _url.Replace("{resourceGroupName}", System.Uri.EscapeDataString(resourceGroupName)); _url = _url.Replace("{resourceName}", System.Uri.EscapeDataString(resourceName)); List _queryParameters = new List(); - if (apiVersion != null) + if (Client.ApiVersion != null) + { + _queryParameters.Add(string.Format("api-version={0}", System.Uri.EscapeDataString(Client.ApiVersion))); + } + if (serverFqdn != null) { - _queryParameters.Add(string.Format("api-version={0}", System.Uri.EscapeDataString(apiVersion))); + _queryParameters.Add(string.Format("server-fqdn={0}", System.Uri.EscapeDataString(serverFqdn))); } if (_queryParameters.Count > 0) { @@ -1322,18 +1523,17 @@ internal ManagedClustersOperations(ContainerServiceClient client) } /// - /// Gets cluster monitoring user credential of a managed cluster. + /// Lists the cluster monitoring user credentials of a managed cluster. /// - /// - /// Gets cluster monitoring user credential of the managed cluster with a - /// specified resource group and name. - /// /// /// The name of the resource group. /// /// /// The name of the managed cluster resource. /// + /// + /// server fqdn type for credentials to be returned + /// /// /// Headers that will be added to request. /// @@ -1355,8 +1555,12 @@ internal ManagedClustersOperations(ContainerServiceClient client) /// /// A response object containing the response body and response headers. /// - public async Task> ListClusterMonitoringUserCredentialsWithHttpMessagesAsync(string resourceGroupName, string resourceName, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + public async Task> ListClusterMonitoringUserCredentialsWithHttpMessagesAsync(string resourceGroupName, string resourceName, string serverFqdn = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) { + if (Client.ApiVersion == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.ApiVersion"); + } if (Client.SubscriptionId == null) { throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId"); @@ -1391,7 +1595,6 @@ internal ManagedClustersOperations(ContainerServiceClient client) throw new ValidationException(ValidationRules.Pattern, "resourceName", "^[a-zA-Z0-9]$|^[a-zA-Z0-9][-_a-zA-Z0-9]{0,61}[a-zA-Z0-9]$"); } } - string apiVersion = "2020-07-01"; // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; string _invocationId = null; @@ -1399,9 +1602,9 @@ internal ManagedClustersOperations(ContainerServiceClient client) { _invocationId = ServiceClientTracing.NextInvocationId.ToString(); Dictionary tracingParameters = new Dictionary(); - tracingParameters.Add("apiVersion", apiVersion); tracingParameters.Add("resourceGroupName", resourceGroupName); tracingParameters.Add("resourceName", resourceName); + tracingParameters.Add("serverFqdn", serverFqdn); tracingParameters.Add("cancellationToken", cancellationToken); ServiceClientTracing.Enter(_invocationId, this, "ListClusterMonitoringUserCredentials", tracingParameters); } @@ -1412,9 +1615,13 @@ internal ManagedClustersOperations(ContainerServiceClient client) _url = _url.Replace("{resourceGroupName}", System.Uri.EscapeDataString(resourceGroupName)); _url = _url.Replace("{resourceName}", System.Uri.EscapeDataString(resourceName)); List _queryParameters = new List(); - if (apiVersion != null) + if (Client.ApiVersion != null) { - _queryParameters.Add(string.Format("api-version={0}", System.Uri.EscapeDataString(apiVersion))); + _queryParameters.Add(string.Format("api-version={0}", System.Uri.EscapeDataString(Client.ApiVersion))); + } + if (serverFqdn != null) + { + _queryParameters.Add(string.Format("server-fqdn={0}", System.Uri.EscapeDataString(serverFqdn))); } if (_queryParameters.Count > 0) { @@ -1544,10 +1751,6 @@ internal ManagedClustersOperations(ContainerServiceClient client) /// /// Gets a managed cluster. /// - /// - /// Gets the details of the managed cluster with a specified resource group and - /// name. - /// /// /// The name of the resource group. /// @@ -1577,6 +1780,10 @@ internal ManagedClustersOperations(ContainerServiceClient client) /// public async Task> GetWithHttpMessagesAsync(string resourceGroupName, string resourceName, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) { + if (Client.ApiVersion == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.ApiVersion"); + } if (Client.SubscriptionId == null) { throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId"); @@ -1611,7 +1818,6 @@ internal ManagedClustersOperations(ContainerServiceClient client) throw new ValidationException(ValidationRules.Pattern, "resourceName", "^[a-zA-Z0-9]$|^[a-zA-Z0-9][-_a-zA-Z0-9]{0,61}[a-zA-Z0-9]$"); } } - string apiVersion = "2020-07-01"; // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; string _invocationId = null; @@ -1619,7 +1825,6 @@ internal ManagedClustersOperations(ContainerServiceClient client) { _invocationId = ServiceClientTracing.NextInvocationId.ToString(); Dictionary tracingParameters = new Dictionary(); - tracingParameters.Add("apiVersion", apiVersion); tracingParameters.Add("resourceGroupName", resourceGroupName); tracingParameters.Add("resourceName", resourceName); tracingParameters.Add("cancellationToken", cancellationToken); @@ -1632,9 +1837,9 @@ internal ManagedClustersOperations(ContainerServiceClient client) _url = _url.Replace("{resourceGroupName}", System.Uri.EscapeDataString(resourceGroupName)); _url = _url.Replace("{resourceName}", System.Uri.EscapeDataString(resourceName)); List _queryParameters = new List(); - if (apiVersion != null) + if (Client.ApiVersion != null) { - _queryParameters.Add(string.Format("api-version={0}", System.Uri.EscapeDataString(apiVersion))); + _queryParameters.Add(string.Format("api-version={0}", System.Uri.EscapeDataString(Client.ApiVersion))); } if (_queryParameters.Count > 0) { @@ -1764,10 +1969,6 @@ internal ManagedClustersOperations(ContainerServiceClient client) /// /// Creates or updates a managed cluster. /// - /// - /// Creates or updates a managed cluster with the specified configuration for - /// agents and Kubernetes version. - /// /// /// The name of the resource group. /// @@ -1775,7 +1976,7 @@ internal ManagedClustersOperations(ContainerServiceClient client) /// The name of the managed cluster resource. /// /// - /// Parameters supplied to the Create or Update a Managed Cluster operation. + /// The managed cluster to create or update. /// /// /// The headers that will be added to request. @@ -1793,9 +1994,6 @@ internal ManagedClustersOperations(ContainerServiceClient client) /// /// Updates tags on a managed cluster. /// - /// - /// Updates a managed cluster with the specified tags. - /// /// /// The name of the resource group. /// @@ -1821,9 +2019,6 @@ internal ManagedClustersOperations(ContainerServiceClient client) /// /// Deletes a managed cluster. /// - /// - /// Deletes the managed cluster with a specified resource group and name. - /// /// /// The name of the resource group. /// @@ -1844,10 +2039,11 @@ internal ManagedClustersOperations(ContainerServiceClient client) } /// - /// Reset Service Principal Profile of a managed cluster. + /// Reset the Service Principal Profile of a managed cluster. /// /// - /// Update the service principal Profile for a managed cluster. + /// This action cannot be performed on a cluster that is not using a service + /// principal /// /// /// The name of the resource group. @@ -1856,8 +2052,7 @@ internal ManagedClustersOperations(ContainerServiceClient client) /// The name of the managed cluster resource. /// /// - /// Parameters supplied to the Reset Service Principal Profile operation for a - /// Managed Cluster. + /// The service principal profile to set on the managed cluster. /// /// /// The headers that will be added to request. @@ -1873,11 +2068,8 @@ internal ManagedClustersOperations(ContainerServiceClient client) } /// - /// Reset AAD Profile of a managed cluster. + /// Reset the AAD Profile of a managed cluster. /// - /// - /// Update the AAD Profile for a managed cluster. - /// /// /// The name of the resource group. /// @@ -1885,8 +2077,7 @@ internal ManagedClustersOperations(ContainerServiceClient client) /// The name of the managed cluster resource. /// /// - /// Parameters supplied to the Reset AAD Profile operation for a Managed - /// Cluster. + /// The AAD profile to set on the Managed Cluster /// /// /// The headers that will be added to request. @@ -1902,10 +2093,12 @@ internal ManagedClustersOperations(ContainerServiceClient client) } /// - /// Rotate certificates of a managed cluster. + /// Rotates the certificates of a managed cluster. /// /// - /// Rotate certificates of a managed cluster. + /// See [Certificate + /// rotation](https://docs.microsoft.com/azure/aks/certificate-rotation) for + /// more details about rotating managed cluster certificates. /// /// /// The name of the resource group. @@ -1927,10 +2120,15 @@ internal ManagedClustersOperations(ContainerServiceClient client) } /// - /// Upgrade node image version of an agent pool to the latest. + /// Stops a Managed Cluster /// /// - /// Upgrade node image version of an agent pool to the latest. + /// This can only be performed on Azure Virtual Machine Scale set backed + /// clusters. Stopping a cluster stops the control plane and agent nodes + /// entirely, while maintaining all object and cluster state. A cluster does + /// not accrue charges while it is stopped. See [stopping a + /// cluster](https://docs.microsoft.com/azure/aks/start-stop-cluster) for more + /// details about stopping a cluster. /// /// /// The name of the resource group. @@ -1938,8 +2136,32 @@ internal ManagedClustersOperations(ContainerServiceClient client) /// /// The name of the managed cluster resource. /// - /// - /// The name of the agent pool. + /// + /// The headers that will be added to request. + /// + /// + /// The cancellation token. + /// + public async Task StopWithHttpMessagesAsync(string resourceGroupName, string resourceName, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + { + // Send request + AzureOperationResponse _response = await BeginStopWithHttpMessagesAsync(resourceGroupName, resourceName, customHeaders, cancellationToken).ConfigureAwait(false); + return await Client.GetPostOrDeleteOperationResultAsync(_response, customHeaders, cancellationToken).ConfigureAwait(false); + } + + /// + /// Starts a previously stopped Managed Cluster + /// + /// + /// See [starting a + /// cluster](https://docs.microsoft.com/azure/aks/start-stop-cluster) for more + /// details about starting a cluster. + /// + /// + /// The name of the resource group. + /// + /// + /// The name of the managed cluster resource. /// /// /// The headers that will be added to request. @@ -1947,19 +2169,20 @@ internal ManagedClustersOperations(ContainerServiceClient client) /// /// The cancellation token. /// - public async Task> UpgradeNodeImageVersionWithHttpMessagesAsync(string resourceGroupName, string resourceName, string agentPoolName, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + public async Task StartWithHttpMessagesAsync(string resourceGroupName, string resourceName, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) { // Send request - AzureOperationResponse _response = await BeginUpgradeNodeImageVersionWithHttpMessagesAsync(resourceGroupName, resourceName, agentPoolName, customHeaders, cancellationToken).ConfigureAwait(false); + AzureOperationResponse _response = await BeginStartWithHttpMessagesAsync(resourceGroupName, resourceName, customHeaders, cancellationToken).ConfigureAwait(false); return await Client.GetPostOrDeleteOperationResultAsync(_response, customHeaders, cancellationToken).ConfigureAwait(false); } /// - /// Creates or updates a managed cluster. + /// Submits a command to run against the Managed Cluster. /// /// - /// Creates or updates a managed cluster with the specified configuration for - /// agents and Kubernetes version. + /// AKS will create a pod to run the command. This is primarily useful for + /// private clusters. For more information see [AKS Run + /// Command](https://docs.microsoft.com/azure/aks/private-clusters#aks-run-command-preview). /// /// /// The name of the resource group. @@ -1967,32 +2190,1197 @@ internal ManagedClustersOperations(ContainerServiceClient client) /// /// The name of the managed cluster resource. /// - /// - /// Parameters supplied to the Create or Update a Managed Cluster operation. + /// + /// The run command request /// /// - /// Headers that will be added to request. + /// The headers that will be added to request. /// /// /// The cancellation token. /// - /// - /// Thrown when the operation returned an invalid status code - /// - /// - /// Thrown when unable to deserialize the response - /// - /// - /// Thrown when a required parameter is null - /// - /// + public async Task> RunCommandWithHttpMessagesAsync(string resourceGroupName, string resourceName, RunCommandRequest requestPayload, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + { + // Send request + AzureOperationResponse _response = await BeginRunCommandWithHttpMessagesAsync(resourceGroupName, resourceName, requestPayload, customHeaders, cancellationToken).ConfigureAwait(false); + return await Client.GetPostOrDeleteOperationResultAsync(_response, customHeaders, cancellationToken).ConfigureAwait(false); + } + + /// + /// Gets the results of a command which has been run on the Managed Cluster. + /// + /// + /// The name of the resource group. + /// + /// + /// The name of the managed cluster resource. + /// + /// + /// Id of the command. + /// + /// + /// Headers that will be added to request. + /// + /// + /// The cancellation token. + /// + /// + /// Thrown when the operation returned an invalid status code + /// + /// + /// Thrown when unable to deserialize the response + /// + /// + /// Thrown when a required parameter is null + /// + /// + /// Thrown when a required parameter is null + /// + /// + /// A response object containing the response body and response headers. + /// + public async Task> GetCommandResultWithHttpMessagesAsync(string resourceGroupName, string resourceName, string commandId, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + { + if (Client.ApiVersion == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.ApiVersion"); + } + if (Client.SubscriptionId == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId"); + } + if (resourceGroupName == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "resourceGroupName"); + } + if (resourceGroupName != null) + { + if (resourceGroupName.Length < 1) + { + throw new ValidationException(ValidationRules.MinLength, "resourceGroupName", 1); + } + } + if (resourceName == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "resourceName"); + } + if (resourceName != null) + { + if (resourceName.Length > 63) + { + throw new ValidationException(ValidationRules.MaxLength, "resourceName", 63); + } + if (resourceName.Length < 1) + { + throw new ValidationException(ValidationRules.MinLength, "resourceName", 1); + } + if (!System.Text.RegularExpressions.Regex.IsMatch(resourceName, "^[a-zA-Z0-9]$|^[a-zA-Z0-9][-_a-zA-Z0-9]{0,61}[a-zA-Z0-9]$")) + { + throw new ValidationException(ValidationRules.Pattern, "resourceName", "^[a-zA-Z0-9]$|^[a-zA-Z0-9][-_a-zA-Z0-9]{0,61}[a-zA-Z0-9]$"); + } + } + if (commandId == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "commandId"); + } + // Tracing + bool _shouldTrace = ServiceClientTracing.IsEnabled; + string _invocationId = null; + if (_shouldTrace) + { + _invocationId = ServiceClientTracing.NextInvocationId.ToString(); + Dictionary tracingParameters = new Dictionary(); + tracingParameters.Add("resourceGroupName", resourceGroupName); + tracingParameters.Add("resourceName", resourceName); + tracingParameters.Add("commandId", commandId); + tracingParameters.Add("cancellationToken", cancellationToken); + ServiceClientTracing.Enter(_invocationId, this, "GetCommandResult", tracingParameters); + } + // Construct URL + var _baseUrl = Client.BaseUri.AbsoluteUri; + var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerService/managedClusters/{resourceName}/commandResults/{commandId}").ToString(); + _url = _url.Replace("{subscriptionId}", System.Uri.EscapeDataString(Client.SubscriptionId)); + _url = _url.Replace("{resourceGroupName}", System.Uri.EscapeDataString(resourceGroupName)); + _url = _url.Replace("{resourceName}", System.Uri.EscapeDataString(resourceName)); + _url = _url.Replace("{commandId}", System.Uri.EscapeDataString(commandId)); + List _queryParameters = new List(); + if (Client.ApiVersion != null) + { + _queryParameters.Add(string.Format("api-version={0}", System.Uri.EscapeDataString(Client.ApiVersion))); + } + if (_queryParameters.Count > 0) + { + _url += (_url.Contains("?") ? "&" : "?") + string.Join("&", _queryParameters); + } + // Create HTTP transport objects + var _httpRequest = new HttpRequestMessage(); + HttpResponseMessage _httpResponse = null; + _httpRequest.Method = new HttpMethod("GET"); + _httpRequest.RequestUri = new System.Uri(_url); + // Set Headers + if (Client.GenerateClientRequestId != null && Client.GenerateClientRequestId.Value) + { + _httpRequest.Headers.TryAddWithoutValidation("x-ms-client-request-id", System.Guid.NewGuid().ToString()); + } + if (Client.AcceptLanguage != null) + { + if (_httpRequest.Headers.Contains("accept-language")) + { + _httpRequest.Headers.Remove("accept-language"); + } + _httpRequest.Headers.TryAddWithoutValidation("accept-language", Client.AcceptLanguage); + } + + + if (customHeaders != null) + { + foreach(var _header in customHeaders) + { + if (_httpRequest.Headers.Contains(_header.Key)) + { + _httpRequest.Headers.Remove(_header.Key); + } + _httpRequest.Headers.TryAddWithoutValidation(_header.Key, _header.Value); + } + } + + // Serialize Request + string _requestContent = null; + // Set Credentials + if (Client.Credentials != null) + { + cancellationToken.ThrowIfCancellationRequested(); + await Client.Credentials.ProcessHttpRequestAsync(_httpRequest, cancellationToken).ConfigureAwait(false); + } + // Send Request + if (_shouldTrace) + { + ServiceClientTracing.SendRequest(_invocationId, _httpRequest); + } + cancellationToken.ThrowIfCancellationRequested(); + _httpResponse = await Client.HttpClient.SendAsync(_httpRequest, cancellationToken).ConfigureAwait(false); + if (_shouldTrace) + { + ServiceClientTracing.ReceiveResponse(_invocationId, _httpResponse); + } + HttpStatusCode _statusCode = _httpResponse.StatusCode; + cancellationToken.ThrowIfCancellationRequested(); + string _responseContent = null; + if ((int)_statusCode != 200 && (int)_statusCode != 202) + { + var ex = new CloudException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); + try + { + _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); + CloudError _errorBody = Rest.Serialization.SafeJsonConvert.DeserializeObject(_responseContent, Client.DeserializationSettings); + if (_errorBody != null) + { + ex = new CloudException(_errorBody.Message); + ex.Body = _errorBody; + } + } + catch (JsonException) + { + // Ignore the exception + } + ex.Request = new HttpRequestMessageWrapper(_httpRequest, _requestContent); + ex.Response = new HttpResponseMessageWrapper(_httpResponse, _responseContent); + if (_httpResponse.Headers.Contains("x-ms-request-id")) + { + ex.RequestId = _httpResponse.Headers.GetValues("x-ms-request-id").FirstOrDefault(); + } + if (_shouldTrace) + { + ServiceClientTracing.Error(_invocationId, ex); + } + _httpRequest.Dispose(); + if (_httpResponse != null) + { + _httpResponse.Dispose(); + } + throw ex; + } + // Create Result + var _result = new AzureOperationResponse(); + _result.Request = _httpRequest; + _result.Response = _httpResponse; + if (_httpResponse.Headers.Contains("x-ms-request-id")) + { + _result.RequestId = _httpResponse.Headers.GetValues("x-ms-request-id").FirstOrDefault(); + } + // Deserialize Response + if ((int)_statusCode == 200) + { + _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); + try + { + _result.Body = Rest.Serialization.SafeJsonConvert.DeserializeObject(_responseContent, Client.DeserializationSettings); + } + catch (JsonException ex) + { + _httpRequest.Dispose(); + if (_httpResponse != null) + { + _httpResponse.Dispose(); + } + throw new SerializationException("Unable to deserialize the response.", _responseContent, ex); + } + } + if (_shouldTrace) + { + ServiceClientTracing.Exit(_invocationId, _result); + } + return _result; + } + + /// + /// Gets a list of egress endpoints (network endpoints of all outbound + /// dependencies) in the specified managed cluster. + /// + /// + /// Gets a list of egress endpoints (network endpoints of all outbound + /// dependencies) in the specified managed cluster. The operation returns + /// properties of each egress endpoint. + /// + /// + /// The name of the resource group. + /// + /// + /// The name of the managed cluster resource. + /// + /// + /// Headers that will be added to request. + /// + /// + /// The cancellation token. + /// + /// + /// Thrown when the operation returned an invalid status code + /// + /// + /// Thrown when unable to deserialize the response + /// + /// + /// Thrown when a required parameter is null + /// + /// + /// Thrown when a required parameter is null + /// + /// + /// A response object containing the response body and response headers. + /// + public async Task>> ListOutboundNetworkDependenciesEndpointsWithHttpMessagesAsync(string resourceGroupName, string resourceName, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + { + if (Client.ApiVersion == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.ApiVersion"); + } + if (Client.SubscriptionId == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId"); + } + if (resourceGroupName == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "resourceGroupName"); + } + if (resourceGroupName != null) + { + if (resourceGroupName.Length < 1) + { + throw new ValidationException(ValidationRules.MinLength, "resourceGroupName", 1); + } + } + if (resourceName == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "resourceName"); + } + if (resourceName != null) + { + if (resourceName.Length > 63) + { + throw new ValidationException(ValidationRules.MaxLength, "resourceName", 63); + } + if (resourceName.Length < 1) + { + throw new ValidationException(ValidationRules.MinLength, "resourceName", 1); + } + if (!System.Text.RegularExpressions.Regex.IsMatch(resourceName, "^[a-zA-Z0-9]$|^[a-zA-Z0-9][-_a-zA-Z0-9]{0,61}[a-zA-Z0-9]$")) + { + throw new ValidationException(ValidationRules.Pattern, "resourceName", "^[a-zA-Z0-9]$|^[a-zA-Z0-9][-_a-zA-Z0-9]{0,61}[a-zA-Z0-9]$"); + } + } + // Tracing + bool _shouldTrace = ServiceClientTracing.IsEnabled; + string _invocationId = null; + if (_shouldTrace) + { + _invocationId = ServiceClientTracing.NextInvocationId.ToString(); + Dictionary tracingParameters = new Dictionary(); + tracingParameters.Add("resourceGroupName", resourceGroupName); + tracingParameters.Add("resourceName", resourceName); + tracingParameters.Add("cancellationToken", cancellationToken); + ServiceClientTracing.Enter(_invocationId, this, "ListOutboundNetworkDependenciesEndpoints", tracingParameters); + } + // Construct URL + var _baseUrl = Client.BaseUri.AbsoluteUri; + var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerService/managedClusters/{resourceName}/outboundNetworkDependenciesEndpoints").ToString(); + _url = _url.Replace("{subscriptionId}", System.Uri.EscapeDataString(Client.SubscriptionId)); + _url = _url.Replace("{resourceGroupName}", System.Uri.EscapeDataString(resourceGroupName)); + _url = _url.Replace("{resourceName}", System.Uri.EscapeDataString(resourceName)); + List _queryParameters = new List(); + if (Client.ApiVersion != null) + { + _queryParameters.Add(string.Format("api-version={0}", System.Uri.EscapeDataString(Client.ApiVersion))); + } + if (_queryParameters.Count > 0) + { + _url += (_url.Contains("?") ? "&" : "?") + string.Join("&", _queryParameters); + } + // Create HTTP transport objects + var _httpRequest = new HttpRequestMessage(); + HttpResponseMessage _httpResponse = null; + _httpRequest.Method = new HttpMethod("GET"); + _httpRequest.RequestUri = new System.Uri(_url); + // Set Headers + if (Client.GenerateClientRequestId != null && Client.GenerateClientRequestId.Value) + { + _httpRequest.Headers.TryAddWithoutValidation("x-ms-client-request-id", System.Guid.NewGuid().ToString()); + } + if (Client.AcceptLanguage != null) + { + if (_httpRequest.Headers.Contains("accept-language")) + { + _httpRequest.Headers.Remove("accept-language"); + } + _httpRequest.Headers.TryAddWithoutValidation("accept-language", Client.AcceptLanguage); + } + + + if (customHeaders != null) + { + foreach(var _header in customHeaders) + { + if (_httpRequest.Headers.Contains(_header.Key)) + { + _httpRequest.Headers.Remove(_header.Key); + } + _httpRequest.Headers.TryAddWithoutValidation(_header.Key, _header.Value); + } + } + + // Serialize Request + string _requestContent = null; + // Set Credentials + if (Client.Credentials != null) + { + cancellationToken.ThrowIfCancellationRequested(); + await Client.Credentials.ProcessHttpRequestAsync(_httpRequest, cancellationToken).ConfigureAwait(false); + } + // Send Request + if (_shouldTrace) + { + ServiceClientTracing.SendRequest(_invocationId, _httpRequest); + } + cancellationToken.ThrowIfCancellationRequested(); + _httpResponse = await Client.HttpClient.SendAsync(_httpRequest, cancellationToken).ConfigureAwait(false); + if (_shouldTrace) + { + ServiceClientTracing.ReceiveResponse(_invocationId, _httpResponse); + } + HttpStatusCode _statusCode = _httpResponse.StatusCode; + cancellationToken.ThrowIfCancellationRequested(); + string _responseContent = null; + if ((int)_statusCode != 200) + { + var ex = new CloudException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); + try + { + _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); + CloudError _errorBody = Rest.Serialization.SafeJsonConvert.DeserializeObject(_responseContent, Client.DeserializationSettings); + if (_errorBody != null) + { + ex = new CloudException(_errorBody.Message); + ex.Body = _errorBody; + } + } + catch (JsonException) + { + // Ignore the exception + } + ex.Request = new HttpRequestMessageWrapper(_httpRequest, _requestContent); + ex.Response = new HttpResponseMessageWrapper(_httpResponse, _responseContent); + if (_httpResponse.Headers.Contains("x-ms-request-id")) + { + ex.RequestId = _httpResponse.Headers.GetValues("x-ms-request-id").FirstOrDefault(); + } + if (_shouldTrace) + { + ServiceClientTracing.Error(_invocationId, ex); + } + _httpRequest.Dispose(); + if (_httpResponse != null) + { + _httpResponse.Dispose(); + } + throw ex; + } + // Create Result + var _result = new AzureOperationResponse>(); + _result.Request = _httpRequest; + _result.Response = _httpResponse; + if (_httpResponse.Headers.Contains("x-ms-request-id")) + { + _result.RequestId = _httpResponse.Headers.GetValues("x-ms-request-id").FirstOrDefault(); + } + // Deserialize Response + if ((int)_statusCode == 200) + { + _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); + try + { + _result.Body = Rest.Serialization.SafeJsonConvert.DeserializeObject>(_responseContent, Client.DeserializationSettings); + } + catch (JsonException ex) + { + _httpRequest.Dispose(); + if (_httpResponse != null) + { + _httpResponse.Dispose(); + } + throw new SerializationException("Unable to deserialize the response.", _responseContent, ex); + } + } + if (_shouldTrace) + { + ServiceClientTracing.Exit(_invocationId, _result); + } + return _result; + } + + /// + /// Creates or updates a managed cluster. + /// + /// + /// The name of the resource group. + /// + /// + /// The name of the managed cluster resource. + /// + /// + /// The managed cluster to create or update. + /// + /// + /// Headers that will be added to request. + /// + /// + /// The cancellation token. + /// + /// + /// Thrown when the operation returned an invalid status code + /// + /// + /// Thrown when unable to deserialize the response + /// + /// + /// Thrown when a required parameter is null + /// + /// + /// Thrown when a required parameter is null + /// + /// + /// A response object containing the response body and response headers. + /// + public async Task> BeginCreateOrUpdateWithHttpMessagesAsync(string resourceGroupName, string resourceName, ManagedCluster parameters, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + { + if (Client.ApiVersion == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.ApiVersion"); + } + if (Client.SubscriptionId == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId"); + } + if (resourceGroupName == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "resourceGroupName"); + } + if (resourceGroupName != null) + { + if (resourceGroupName.Length < 1) + { + throw new ValidationException(ValidationRules.MinLength, "resourceGroupName", 1); + } + } + if (resourceName == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "resourceName"); + } + if (resourceName != null) + { + if (resourceName.Length > 63) + { + throw new ValidationException(ValidationRules.MaxLength, "resourceName", 63); + } + if (resourceName.Length < 1) + { + throw new ValidationException(ValidationRules.MinLength, "resourceName", 1); + } + if (!System.Text.RegularExpressions.Regex.IsMatch(resourceName, "^[a-zA-Z0-9]$|^[a-zA-Z0-9][-_a-zA-Z0-9]{0,61}[a-zA-Z0-9]$")) + { + throw new ValidationException(ValidationRules.Pattern, "resourceName", "^[a-zA-Z0-9]$|^[a-zA-Z0-9][-_a-zA-Z0-9]{0,61}[a-zA-Z0-9]$"); + } + } + if (parameters == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "parameters"); + } + if (parameters != null) + { + parameters.Validate(); + } + // Tracing + bool _shouldTrace = ServiceClientTracing.IsEnabled; + string _invocationId = null; + if (_shouldTrace) + { + _invocationId = ServiceClientTracing.NextInvocationId.ToString(); + Dictionary tracingParameters = new Dictionary(); + tracingParameters.Add("resourceGroupName", resourceGroupName); + tracingParameters.Add("resourceName", resourceName); + tracingParameters.Add("parameters", parameters); + tracingParameters.Add("cancellationToken", cancellationToken); + ServiceClientTracing.Enter(_invocationId, this, "BeginCreateOrUpdate", tracingParameters); + } + // Construct URL + var _baseUrl = Client.BaseUri.AbsoluteUri; + var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerService/managedClusters/{resourceName}").ToString(); + _url = _url.Replace("{subscriptionId}", System.Uri.EscapeDataString(Client.SubscriptionId)); + _url = _url.Replace("{resourceGroupName}", System.Uri.EscapeDataString(resourceGroupName)); + _url = _url.Replace("{resourceName}", System.Uri.EscapeDataString(resourceName)); + List _queryParameters = new List(); + if (Client.ApiVersion != null) + { + _queryParameters.Add(string.Format("api-version={0}", System.Uri.EscapeDataString(Client.ApiVersion))); + } + if (_queryParameters.Count > 0) + { + _url += (_url.Contains("?") ? "&" : "?") + string.Join("&", _queryParameters); + } + // Create HTTP transport objects + var _httpRequest = new HttpRequestMessage(); + HttpResponseMessage _httpResponse = null; + _httpRequest.Method = new HttpMethod("PUT"); + _httpRequest.RequestUri = new System.Uri(_url); + // Set Headers + if (Client.GenerateClientRequestId != null && Client.GenerateClientRequestId.Value) + { + _httpRequest.Headers.TryAddWithoutValidation("x-ms-client-request-id", System.Guid.NewGuid().ToString()); + } + if (Client.AcceptLanguage != null) + { + if (_httpRequest.Headers.Contains("accept-language")) + { + _httpRequest.Headers.Remove("accept-language"); + } + _httpRequest.Headers.TryAddWithoutValidation("accept-language", Client.AcceptLanguage); + } + + + if (customHeaders != null) + { + foreach(var _header in customHeaders) + { + if (_httpRequest.Headers.Contains(_header.Key)) + { + _httpRequest.Headers.Remove(_header.Key); + } + _httpRequest.Headers.TryAddWithoutValidation(_header.Key, _header.Value); + } + } + + // Serialize Request + string _requestContent = null; + if(parameters != null) + { + _requestContent = Rest.Serialization.SafeJsonConvert.SerializeObject(parameters, Client.SerializationSettings); + _httpRequest.Content = new StringContent(_requestContent, System.Text.Encoding.UTF8); + _httpRequest.Content.Headers.ContentType =System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json; charset=utf-8"); + } + // Set Credentials + if (Client.Credentials != null) + { + cancellationToken.ThrowIfCancellationRequested(); + await Client.Credentials.ProcessHttpRequestAsync(_httpRequest, cancellationToken).ConfigureAwait(false); + } + // Send Request + if (_shouldTrace) + { + ServiceClientTracing.SendRequest(_invocationId, _httpRequest); + } + cancellationToken.ThrowIfCancellationRequested(); + _httpResponse = await Client.HttpClient.SendAsync(_httpRequest, cancellationToken).ConfigureAwait(false); + if (_shouldTrace) + { + ServiceClientTracing.ReceiveResponse(_invocationId, _httpResponse); + } + HttpStatusCode _statusCode = _httpResponse.StatusCode; + cancellationToken.ThrowIfCancellationRequested(); + string _responseContent = null; + if ((int)_statusCode != 200 && (int)_statusCode != 201) + { + var ex = new CloudException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); + try + { + _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); + CloudError _errorBody = Rest.Serialization.SafeJsonConvert.DeserializeObject(_responseContent, Client.DeserializationSettings); + if (_errorBody != null) + { + ex = new CloudException(_errorBody.Message); + ex.Body = _errorBody; + } + } + catch (JsonException) + { + // Ignore the exception + } + ex.Request = new HttpRequestMessageWrapper(_httpRequest, _requestContent); + ex.Response = new HttpResponseMessageWrapper(_httpResponse, _responseContent); + if (_httpResponse.Headers.Contains("x-ms-request-id")) + { + ex.RequestId = _httpResponse.Headers.GetValues("x-ms-request-id").FirstOrDefault(); + } + if (_shouldTrace) + { + ServiceClientTracing.Error(_invocationId, ex); + } + _httpRequest.Dispose(); + if (_httpResponse != null) + { + _httpResponse.Dispose(); + } + throw ex; + } + // Create Result + var _result = new AzureOperationResponse(); + _result.Request = _httpRequest; + _result.Response = _httpResponse; + if (_httpResponse.Headers.Contains("x-ms-request-id")) + { + _result.RequestId = _httpResponse.Headers.GetValues("x-ms-request-id").FirstOrDefault(); + } + // Deserialize Response + if ((int)_statusCode == 200) + { + _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); + try + { + _result.Body = Rest.Serialization.SafeJsonConvert.DeserializeObject(_responseContent, Client.DeserializationSettings); + } + catch (JsonException ex) + { + _httpRequest.Dispose(); + if (_httpResponse != null) + { + _httpResponse.Dispose(); + } + throw new SerializationException("Unable to deserialize the response.", _responseContent, ex); + } + } + // Deserialize Response + if ((int)_statusCode == 201) + { + _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); + try + { + _result.Body = Rest.Serialization.SafeJsonConvert.DeserializeObject(_responseContent, Client.DeserializationSettings); + } + catch (JsonException ex) + { + _httpRequest.Dispose(); + if (_httpResponse != null) + { + _httpResponse.Dispose(); + } + throw new SerializationException("Unable to deserialize the response.", _responseContent, ex); + } + } + if (_shouldTrace) + { + ServiceClientTracing.Exit(_invocationId, _result); + } + return _result; + } + + /// + /// Updates tags on a managed cluster. + /// + /// + /// The name of the resource group. + /// + /// + /// The name of the managed cluster resource. + /// + /// + /// Resource tags. + /// + /// + /// Headers that will be added to request. + /// + /// + /// The cancellation token. + /// + /// + /// Thrown when the operation returned an invalid status code + /// + /// + /// Thrown when unable to deserialize the response + /// + /// + /// Thrown when a required parameter is null + /// + /// + /// Thrown when a required parameter is null + /// + /// + /// A response object containing the response body and response headers. + /// + public async Task> BeginUpdateTagsWithHttpMessagesAsync(string resourceGroupName, string resourceName, IDictionary tags = default(IDictionary), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + { + if (Client.ApiVersion == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.ApiVersion"); + } + if (Client.SubscriptionId == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId"); + } + if (resourceGroupName == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "resourceGroupName"); + } + if (resourceGroupName != null) + { + if (resourceGroupName.Length < 1) + { + throw new ValidationException(ValidationRules.MinLength, "resourceGroupName", 1); + } + } + if (resourceName == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "resourceName"); + } + if (resourceName != null) + { + if (resourceName.Length > 63) + { + throw new ValidationException(ValidationRules.MaxLength, "resourceName", 63); + } + if (resourceName.Length < 1) + { + throw new ValidationException(ValidationRules.MinLength, "resourceName", 1); + } + if (!System.Text.RegularExpressions.Regex.IsMatch(resourceName, "^[a-zA-Z0-9]$|^[a-zA-Z0-9][-_a-zA-Z0-9]{0,61}[a-zA-Z0-9]$")) + { + throw new ValidationException(ValidationRules.Pattern, "resourceName", "^[a-zA-Z0-9]$|^[a-zA-Z0-9][-_a-zA-Z0-9]{0,61}[a-zA-Z0-9]$"); + } + } + TagsObject parameters = new TagsObject(); + if (tags != null) + { + parameters.Tags = tags; + } + // Tracing + bool _shouldTrace = ServiceClientTracing.IsEnabled; + string _invocationId = null; + if (_shouldTrace) + { + _invocationId = ServiceClientTracing.NextInvocationId.ToString(); + Dictionary tracingParameters = new Dictionary(); + tracingParameters.Add("resourceGroupName", resourceGroupName); + tracingParameters.Add("resourceName", resourceName); + tracingParameters.Add("parameters", parameters); + tracingParameters.Add("cancellationToken", cancellationToken); + ServiceClientTracing.Enter(_invocationId, this, "BeginUpdateTags", tracingParameters); + } + // Construct URL + var _baseUrl = Client.BaseUri.AbsoluteUri; + var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerService/managedClusters/{resourceName}").ToString(); + _url = _url.Replace("{subscriptionId}", System.Uri.EscapeDataString(Client.SubscriptionId)); + _url = _url.Replace("{resourceGroupName}", System.Uri.EscapeDataString(resourceGroupName)); + _url = _url.Replace("{resourceName}", System.Uri.EscapeDataString(resourceName)); + List _queryParameters = new List(); + if (Client.ApiVersion != null) + { + _queryParameters.Add(string.Format("api-version={0}", System.Uri.EscapeDataString(Client.ApiVersion))); + } + if (_queryParameters.Count > 0) + { + _url += (_url.Contains("?") ? "&" : "?") + string.Join("&", _queryParameters); + } + // Create HTTP transport objects + var _httpRequest = new HttpRequestMessage(); + HttpResponseMessage _httpResponse = null; + _httpRequest.Method = new HttpMethod("PATCH"); + _httpRequest.RequestUri = new System.Uri(_url); + // Set Headers + if (Client.GenerateClientRequestId != null && Client.GenerateClientRequestId.Value) + { + _httpRequest.Headers.TryAddWithoutValidation("x-ms-client-request-id", System.Guid.NewGuid().ToString()); + } + if (Client.AcceptLanguage != null) + { + if (_httpRequest.Headers.Contains("accept-language")) + { + _httpRequest.Headers.Remove("accept-language"); + } + _httpRequest.Headers.TryAddWithoutValidation("accept-language", Client.AcceptLanguage); + } + + + if (customHeaders != null) + { + foreach(var _header in customHeaders) + { + if (_httpRequest.Headers.Contains(_header.Key)) + { + _httpRequest.Headers.Remove(_header.Key); + } + _httpRequest.Headers.TryAddWithoutValidation(_header.Key, _header.Value); + } + } + + // Serialize Request + string _requestContent = null; + if(parameters != null) + { + _requestContent = Rest.Serialization.SafeJsonConvert.SerializeObject(parameters, Client.SerializationSettings); + _httpRequest.Content = new StringContent(_requestContent, System.Text.Encoding.UTF8); + _httpRequest.Content.Headers.ContentType =System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json; charset=utf-8"); + } + // Set Credentials + if (Client.Credentials != null) + { + cancellationToken.ThrowIfCancellationRequested(); + await Client.Credentials.ProcessHttpRequestAsync(_httpRequest, cancellationToken).ConfigureAwait(false); + } + // Send Request + if (_shouldTrace) + { + ServiceClientTracing.SendRequest(_invocationId, _httpRequest); + } + cancellationToken.ThrowIfCancellationRequested(); + _httpResponse = await Client.HttpClient.SendAsync(_httpRequest, cancellationToken).ConfigureAwait(false); + if (_shouldTrace) + { + ServiceClientTracing.ReceiveResponse(_invocationId, _httpResponse); + } + HttpStatusCode _statusCode = _httpResponse.StatusCode; + cancellationToken.ThrowIfCancellationRequested(); + string _responseContent = null; + if ((int)_statusCode != 200) + { + var ex = new CloudException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); + try + { + _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); + CloudError _errorBody = Rest.Serialization.SafeJsonConvert.DeserializeObject(_responseContent, Client.DeserializationSettings); + if (_errorBody != null) + { + ex = new CloudException(_errorBody.Message); + ex.Body = _errorBody; + } + } + catch (JsonException) + { + // Ignore the exception + } + ex.Request = new HttpRequestMessageWrapper(_httpRequest, _requestContent); + ex.Response = new HttpResponseMessageWrapper(_httpResponse, _responseContent); + if (_httpResponse.Headers.Contains("x-ms-request-id")) + { + ex.RequestId = _httpResponse.Headers.GetValues("x-ms-request-id").FirstOrDefault(); + } + if (_shouldTrace) + { + ServiceClientTracing.Error(_invocationId, ex); + } + _httpRequest.Dispose(); + if (_httpResponse != null) + { + _httpResponse.Dispose(); + } + throw ex; + } + // Create Result + var _result = new AzureOperationResponse(); + _result.Request = _httpRequest; + _result.Response = _httpResponse; + if (_httpResponse.Headers.Contains("x-ms-request-id")) + { + _result.RequestId = _httpResponse.Headers.GetValues("x-ms-request-id").FirstOrDefault(); + } + // Deserialize Response + if ((int)_statusCode == 200) + { + _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); + try + { + _result.Body = Rest.Serialization.SafeJsonConvert.DeserializeObject(_responseContent, Client.DeserializationSettings); + } + catch (JsonException ex) + { + _httpRequest.Dispose(); + if (_httpResponse != null) + { + _httpResponse.Dispose(); + } + throw new SerializationException("Unable to deserialize the response.", _responseContent, ex); + } + } + if (_shouldTrace) + { + ServiceClientTracing.Exit(_invocationId, _result); + } + return _result; + } + + /// + /// Deletes a managed cluster. + /// + /// + /// The name of the resource group. + /// + /// + /// The name of the managed cluster resource. + /// + /// + /// Headers that will be added to request. + /// + /// + /// The cancellation token. + /// + /// + /// Thrown when the operation returned an invalid status code + /// + /// + /// Thrown when a required parameter is null + /// + /// /// Thrown when a required parameter is null /// /// /// A response object containing the response body and response headers. /// - public async Task> BeginCreateOrUpdateWithHttpMessagesAsync(string resourceGroupName, string resourceName, ManagedCluster parameters, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + public async Task BeginDeleteWithHttpMessagesAsync(string resourceGroupName, string resourceName, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + { + if (Client.ApiVersion == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.ApiVersion"); + } + if (Client.SubscriptionId == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId"); + } + if (resourceGroupName == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "resourceGroupName"); + } + if (resourceGroupName != null) + { + if (resourceGroupName.Length < 1) + { + throw new ValidationException(ValidationRules.MinLength, "resourceGroupName", 1); + } + } + if (resourceName == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "resourceName"); + } + if (resourceName != null) + { + if (resourceName.Length > 63) + { + throw new ValidationException(ValidationRules.MaxLength, "resourceName", 63); + } + if (resourceName.Length < 1) + { + throw new ValidationException(ValidationRules.MinLength, "resourceName", 1); + } + if (!System.Text.RegularExpressions.Regex.IsMatch(resourceName, "^[a-zA-Z0-9]$|^[a-zA-Z0-9][-_a-zA-Z0-9]{0,61}[a-zA-Z0-9]$")) + { + throw new ValidationException(ValidationRules.Pattern, "resourceName", "^[a-zA-Z0-9]$|^[a-zA-Z0-9][-_a-zA-Z0-9]{0,61}[a-zA-Z0-9]$"); + } + } + // Tracing + bool _shouldTrace = ServiceClientTracing.IsEnabled; + string _invocationId = null; + if (_shouldTrace) + { + _invocationId = ServiceClientTracing.NextInvocationId.ToString(); + Dictionary tracingParameters = new Dictionary(); + tracingParameters.Add("resourceGroupName", resourceGroupName); + tracingParameters.Add("resourceName", resourceName); + tracingParameters.Add("cancellationToken", cancellationToken); + ServiceClientTracing.Enter(_invocationId, this, "BeginDelete", tracingParameters); + } + // Construct URL + var _baseUrl = Client.BaseUri.AbsoluteUri; + var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerService/managedClusters/{resourceName}").ToString(); + _url = _url.Replace("{subscriptionId}", System.Uri.EscapeDataString(Client.SubscriptionId)); + _url = _url.Replace("{resourceGroupName}", System.Uri.EscapeDataString(resourceGroupName)); + _url = _url.Replace("{resourceName}", System.Uri.EscapeDataString(resourceName)); + List _queryParameters = new List(); + if (Client.ApiVersion != null) + { + _queryParameters.Add(string.Format("api-version={0}", System.Uri.EscapeDataString(Client.ApiVersion))); + } + if (_queryParameters.Count > 0) + { + _url += (_url.Contains("?") ? "&" : "?") + string.Join("&", _queryParameters); + } + // Create HTTP transport objects + var _httpRequest = new HttpRequestMessage(); + HttpResponseMessage _httpResponse = null; + _httpRequest.Method = new HttpMethod("DELETE"); + _httpRequest.RequestUri = new System.Uri(_url); + // Set Headers + if (Client.GenerateClientRequestId != null && Client.GenerateClientRequestId.Value) + { + _httpRequest.Headers.TryAddWithoutValidation("x-ms-client-request-id", System.Guid.NewGuid().ToString()); + } + if (Client.AcceptLanguage != null) + { + if (_httpRequest.Headers.Contains("accept-language")) + { + _httpRequest.Headers.Remove("accept-language"); + } + _httpRequest.Headers.TryAddWithoutValidation("accept-language", Client.AcceptLanguage); + } + + + if (customHeaders != null) + { + foreach(var _header in customHeaders) + { + if (_httpRequest.Headers.Contains(_header.Key)) + { + _httpRequest.Headers.Remove(_header.Key); + } + _httpRequest.Headers.TryAddWithoutValidation(_header.Key, _header.Value); + } + } + + // Serialize Request + string _requestContent = null; + // Set Credentials + if (Client.Credentials != null) + { + cancellationToken.ThrowIfCancellationRequested(); + await Client.Credentials.ProcessHttpRequestAsync(_httpRequest, cancellationToken).ConfigureAwait(false); + } + // Send Request + if (_shouldTrace) + { + ServiceClientTracing.SendRequest(_invocationId, _httpRequest); + } + cancellationToken.ThrowIfCancellationRequested(); + _httpResponse = await Client.HttpClient.SendAsync(_httpRequest, cancellationToken).ConfigureAwait(false); + if (_shouldTrace) + { + ServiceClientTracing.ReceiveResponse(_invocationId, _httpResponse); + } + HttpStatusCode _statusCode = _httpResponse.StatusCode; + cancellationToken.ThrowIfCancellationRequested(); + string _responseContent = null; + if ((int)_statusCode != 202 && (int)_statusCode != 204) + { + var ex = new CloudException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); + try + { + _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); + CloudError _errorBody = Rest.Serialization.SafeJsonConvert.DeserializeObject(_responseContent, Client.DeserializationSettings); + if (_errorBody != null) + { + ex = new CloudException(_errorBody.Message); + ex.Body = _errorBody; + } + } + catch (JsonException) + { + // Ignore the exception + } + ex.Request = new HttpRequestMessageWrapper(_httpRequest, _requestContent); + ex.Response = new HttpResponseMessageWrapper(_httpResponse, _responseContent); + if (_httpResponse.Headers.Contains("x-ms-request-id")) + { + ex.RequestId = _httpResponse.Headers.GetValues("x-ms-request-id").FirstOrDefault(); + } + if (_shouldTrace) + { + ServiceClientTracing.Error(_invocationId, ex); + } + _httpRequest.Dispose(); + if (_httpResponse != null) + { + _httpResponse.Dispose(); + } + throw ex; + } + // Create Result + var _result = new AzureOperationResponse(); + _result.Request = _httpRequest; + _result.Response = _httpResponse; + if (_httpResponse.Headers.Contains("x-ms-request-id")) + { + _result.RequestId = _httpResponse.Headers.GetValues("x-ms-request-id").FirstOrDefault(); + } + if (_shouldTrace) + { + ServiceClientTracing.Exit(_invocationId, _result); + } + return _result; + } + + /// + /// Reset the Service Principal Profile of a managed cluster. + /// + /// + /// This action cannot be performed on a cluster that is not using a service + /// principal + /// + /// + /// The name of the resource group. + /// + /// + /// The name of the managed cluster resource. + /// + /// + /// The service principal profile to set on the managed cluster. + /// + /// + /// Headers that will be added to request. + /// + /// + /// The cancellation token. + /// + /// + /// Thrown when the operation returned an invalid status code + /// + /// + /// Thrown when a required parameter is null + /// + /// + /// Thrown when a required parameter is null + /// + /// + /// A response object containing the response body and response headers. + /// + public async Task BeginResetServicePrincipalProfileWithHttpMessagesAsync(string resourceGroupName, string resourceName, ManagedClusterServicePrincipalProfile parameters, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) { + if (Client.ApiVersion == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.ApiVersion"); + } if (Client.SubscriptionId == null) { throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId"); @@ -2035,7 +3423,6 @@ internal ManagedClustersOperations(ContainerServiceClient client) { parameters.Validate(); } - string apiVersion = "2020-07-01"; // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; string _invocationId = null; @@ -2043,23 +3430,22 @@ internal ManagedClustersOperations(ContainerServiceClient client) { _invocationId = ServiceClientTracing.NextInvocationId.ToString(); Dictionary tracingParameters = new Dictionary(); - tracingParameters.Add("apiVersion", apiVersion); tracingParameters.Add("resourceGroupName", resourceGroupName); tracingParameters.Add("resourceName", resourceName); tracingParameters.Add("parameters", parameters); tracingParameters.Add("cancellationToken", cancellationToken); - ServiceClientTracing.Enter(_invocationId, this, "BeginCreateOrUpdate", tracingParameters); + ServiceClientTracing.Enter(_invocationId, this, "BeginResetServicePrincipalProfile", tracingParameters); } // Construct URL var _baseUrl = Client.BaseUri.AbsoluteUri; - var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerService/managedClusters/{resourceName}").ToString(); + var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerService/managedClusters/{resourceName}/resetServicePrincipalProfile").ToString(); _url = _url.Replace("{subscriptionId}", System.Uri.EscapeDataString(Client.SubscriptionId)); _url = _url.Replace("{resourceGroupName}", System.Uri.EscapeDataString(resourceGroupName)); _url = _url.Replace("{resourceName}", System.Uri.EscapeDataString(resourceName)); List _queryParameters = new List(); - if (apiVersion != null) + if (Client.ApiVersion != null) { - _queryParameters.Add(string.Format("api-version={0}", System.Uri.EscapeDataString(apiVersion))); + _queryParameters.Add(string.Format("api-version={0}", System.Uri.EscapeDataString(Client.ApiVersion))); } if (_queryParameters.Count > 0) { @@ -2068,7 +3454,7 @@ internal ManagedClustersOperations(ContainerServiceClient client) // Create HTTP transport objects var _httpRequest = new HttpRequestMessage(); HttpResponseMessage _httpResponse = null; - _httpRequest.Method = new HttpMethod("PUT"); + _httpRequest.Method = new HttpMethod("POST"); _httpRequest.RequestUri = new System.Uri(_url); // Set Headers if (Client.GenerateClientRequestId != null && Client.GenerateClientRequestId.Value) @@ -2125,7 +3511,7 @@ internal ManagedClustersOperations(ContainerServiceClient client) HttpStatusCode _statusCode = _httpResponse.StatusCode; cancellationToken.ThrowIfCancellationRequested(); string _responseContent = null; - if ((int)_statusCode != 200 && (int)_statusCode != 201) + if ((int)_statusCode != 200 && (int)_statusCode != 202) { var ex = new CloudException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); try @@ -2160,49 +3546,13 @@ internal ManagedClustersOperations(ContainerServiceClient client) throw ex; } // Create Result - var _result = new AzureOperationResponse(); + var _result = new AzureOperationResponse(); _result.Request = _httpRequest; _result.Response = _httpResponse; if (_httpResponse.Headers.Contains("x-ms-request-id")) { _result.RequestId = _httpResponse.Headers.GetValues("x-ms-request-id").FirstOrDefault(); } - // Deserialize Response - if ((int)_statusCode == 200) - { - _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); - try - { - _result.Body = Rest.Serialization.SafeJsonConvert.DeserializeObject(_responseContent, Client.DeserializationSettings); - } - catch (JsonException ex) - { - _httpRequest.Dispose(); - if (_httpResponse != null) - { - _httpResponse.Dispose(); - } - throw new SerializationException("Unable to deserialize the response.", _responseContent, ex); - } - } - // Deserialize Response - if ((int)_statusCode == 201) - { - _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); - try - { - _result.Body = Rest.Serialization.SafeJsonConvert.DeserializeObject(_responseContent, Client.DeserializationSettings); - } - catch (JsonException ex) - { - _httpRequest.Dispose(); - if (_httpResponse != null) - { - _httpResponse.Dispose(); - } - throw new SerializationException("Unable to deserialize the response.", _responseContent, ex); - } - } if (_shouldTrace) { ServiceClientTracing.Exit(_invocationId, _result); @@ -2211,19 +3561,16 @@ internal ManagedClustersOperations(ContainerServiceClient client) } /// - /// Updates tags on a managed cluster. + /// Reset the AAD Profile of a managed cluster. /// - /// - /// Updates a managed cluster with the specified tags. - /// /// /// The name of the resource group. /// /// /// The name of the managed cluster resource. /// - /// - /// Resource tags. + /// + /// The AAD profile to set on the Managed Cluster /// /// /// Headers that will be added to request. @@ -2234,9 +3581,6 @@ internal ManagedClustersOperations(ContainerServiceClient client) /// /// Thrown when the operation returned an invalid status code /// - /// - /// Thrown when unable to deserialize the response - /// /// /// Thrown when a required parameter is null /// @@ -2246,8 +3590,12 @@ internal ManagedClustersOperations(ContainerServiceClient client) /// /// A response object containing the response body and response headers. /// - public async Task> BeginUpdateTagsWithHttpMessagesAsync(string resourceGroupName, string resourceName, IDictionary tags = default(IDictionary), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + public async Task BeginResetAADProfileWithHttpMessagesAsync(string resourceGroupName, string resourceName, ManagedClusterAADProfile parameters, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) { + if (Client.ApiVersion == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.ApiVersion"); + } if (Client.SubscriptionId == null) { throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId"); @@ -2282,11 +3630,9 @@ internal ManagedClustersOperations(ContainerServiceClient client) throw new ValidationException(ValidationRules.Pattern, "resourceName", "^[a-zA-Z0-9]$|^[a-zA-Z0-9][-_a-zA-Z0-9]{0,61}[a-zA-Z0-9]$"); } } - string apiVersion = "2020-07-01"; - TagsObject parameters = new TagsObject(); - if (tags != null) + if (parameters == null) { - parameters.Tags = tags; + throw new ValidationException(ValidationRules.CannotBeNull, "parameters"); } // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; @@ -2295,23 +3641,22 @@ internal ManagedClustersOperations(ContainerServiceClient client) { _invocationId = ServiceClientTracing.NextInvocationId.ToString(); Dictionary tracingParameters = new Dictionary(); - tracingParameters.Add("apiVersion", apiVersion); tracingParameters.Add("resourceGroupName", resourceGroupName); tracingParameters.Add("resourceName", resourceName); tracingParameters.Add("parameters", parameters); tracingParameters.Add("cancellationToken", cancellationToken); - ServiceClientTracing.Enter(_invocationId, this, "BeginUpdateTags", tracingParameters); + ServiceClientTracing.Enter(_invocationId, this, "BeginResetAADProfile", tracingParameters); } // Construct URL var _baseUrl = Client.BaseUri.AbsoluteUri; - var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerService/managedClusters/{resourceName}").ToString(); + var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerService/managedClusters/{resourceName}/resetAADProfile").ToString(); _url = _url.Replace("{subscriptionId}", System.Uri.EscapeDataString(Client.SubscriptionId)); _url = _url.Replace("{resourceGroupName}", System.Uri.EscapeDataString(resourceGroupName)); _url = _url.Replace("{resourceName}", System.Uri.EscapeDataString(resourceName)); List _queryParameters = new List(); - if (apiVersion != null) + if (Client.ApiVersion != null) { - _queryParameters.Add(string.Format("api-version={0}", System.Uri.EscapeDataString(apiVersion))); + _queryParameters.Add(string.Format("api-version={0}", System.Uri.EscapeDataString(Client.ApiVersion))); } if (_queryParameters.Count > 0) { @@ -2320,7 +3665,7 @@ internal ManagedClustersOperations(ContainerServiceClient client) // Create HTTP transport objects var _httpRequest = new HttpRequestMessage(); HttpResponseMessage _httpResponse = null; - _httpRequest.Method = new HttpMethod("PATCH"); + _httpRequest.Method = new HttpMethod("POST"); _httpRequest.RequestUri = new System.Uri(_url); // Set Headers if (Client.GenerateClientRequestId != null && Client.GenerateClientRequestId.Value) @@ -2377,7 +3722,7 @@ internal ManagedClustersOperations(ContainerServiceClient client) HttpStatusCode _statusCode = _httpResponse.StatusCode; cancellationToken.ThrowIfCancellationRequested(); string _responseContent = null; - if ((int)_statusCode != 200) + if ((int)_statusCode != 200 && (int)_statusCode != 202) { var ex = new CloudException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); try @@ -2412,31 +3757,13 @@ internal ManagedClustersOperations(ContainerServiceClient client) throw ex; } // Create Result - var _result = new AzureOperationResponse(); + var _result = new AzureOperationResponse(); _result.Request = _httpRequest; _result.Response = _httpResponse; if (_httpResponse.Headers.Contains("x-ms-request-id")) { _result.RequestId = _httpResponse.Headers.GetValues("x-ms-request-id").FirstOrDefault(); } - // Deserialize Response - if ((int)_statusCode == 200) - { - _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); - try - { - _result.Body = Rest.Serialization.SafeJsonConvert.DeserializeObject(_responseContent, Client.DeserializationSettings); - } - catch (JsonException ex) - { - _httpRequest.Dispose(); - if (_httpResponse != null) - { - _httpResponse.Dispose(); - } - throw new SerializationException("Unable to deserialize the response.", _responseContent, ex); - } - } if (_shouldTrace) { ServiceClientTracing.Exit(_invocationId, _result); @@ -2445,10 +3772,12 @@ internal ManagedClustersOperations(ContainerServiceClient client) } /// - /// Deletes a managed cluster. + /// Rotates the certificates of a managed cluster. /// /// - /// Deletes the managed cluster with a specified resource group and name. + /// See [Certificate + /// rotation](https://docs.microsoft.com/azure/aks/certificate-rotation) for + /// more details about rotating managed cluster certificates. /// /// /// The name of the resource group. @@ -2474,8 +3803,12 @@ internal ManagedClustersOperations(ContainerServiceClient client) /// /// A response object containing the response body and response headers. /// - public async Task BeginDeleteWithHttpMessagesAsync(string resourceGroupName, string resourceName, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + public async Task BeginRotateClusterCertificatesWithHttpMessagesAsync(string resourceGroupName, string resourceName, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) { + if (Client.ApiVersion == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.ApiVersion"); + } if (Client.SubscriptionId == null) { throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId"); @@ -2510,7 +3843,6 @@ internal ManagedClustersOperations(ContainerServiceClient client) throw new ValidationException(ValidationRules.Pattern, "resourceName", "^[a-zA-Z0-9]$|^[a-zA-Z0-9][-_a-zA-Z0-9]{0,61}[a-zA-Z0-9]$"); } } - string apiVersion = "2020-07-01"; // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; string _invocationId = null; @@ -2518,22 +3850,21 @@ internal ManagedClustersOperations(ContainerServiceClient client) { _invocationId = ServiceClientTracing.NextInvocationId.ToString(); Dictionary tracingParameters = new Dictionary(); - tracingParameters.Add("apiVersion", apiVersion); tracingParameters.Add("resourceGroupName", resourceGroupName); tracingParameters.Add("resourceName", resourceName); tracingParameters.Add("cancellationToken", cancellationToken); - ServiceClientTracing.Enter(_invocationId, this, "BeginDelete", tracingParameters); + ServiceClientTracing.Enter(_invocationId, this, "BeginRotateClusterCertificates", tracingParameters); } // Construct URL var _baseUrl = Client.BaseUri.AbsoluteUri; - var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerService/managedClusters/{resourceName}").ToString(); + var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerService/managedClusters/{resourceName}/rotateClusterCertificates").ToString(); _url = _url.Replace("{subscriptionId}", System.Uri.EscapeDataString(Client.SubscriptionId)); _url = _url.Replace("{resourceGroupName}", System.Uri.EscapeDataString(resourceGroupName)); _url = _url.Replace("{resourceName}", System.Uri.EscapeDataString(resourceName)); List _queryParameters = new List(); - if (apiVersion != null) + if (Client.ApiVersion != null) { - _queryParameters.Add(string.Format("api-version={0}", System.Uri.EscapeDataString(apiVersion))); + _queryParameters.Add(string.Format("api-version={0}", System.Uri.EscapeDataString(Client.ApiVersion))); } if (_queryParameters.Count > 0) { @@ -2542,7 +3873,7 @@ internal ManagedClustersOperations(ContainerServiceClient client) // Create HTTP transport objects var _httpRequest = new HttpRequestMessage(); HttpResponseMessage _httpResponse = null; - _httpRequest.Method = new HttpMethod("DELETE"); + _httpRequest.Method = new HttpMethod("POST"); _httpRequest.RequestUri = new System.Uri(_url); // Set Headers if (Client.GenerateClientRequestId != null && Client.GenerateClientRequestId.Value) @@ -2643,10 +3974,15 @@ internal ManagedClustersOperations(ContainerServiceClient client) } /// - /// Reset Service Principal Profile of a managed cluster. + /// Stops a Managed Cluster /// /// - /// Update the service principal Profile for a managed cluster. + /// This can only be performed on Azure Virtual Machine Scale set backed + /// clusters. Stopping a cluster stops the control plane and agent nodes + /// entirely, while maintaining all object and cluster state. A cluster does + /// not accrue charges while it is stopped. See [stopping a + /// cluster](https://docs.microsoft.com/azure/aks/start-stop-cluster) for more + /// details about stopping a cluster. /// /// /// The name of the resource group. @@ -2654,10 +3990,6 @@ internal ManagedClustersOperations(ContainerServiceClient client) /// /// The name of the managed cluster resource. /// - /// - /// Parameters supplied to the Reset Service Principal Profile operation for a - /// Managed Cluster. - /// /// /// Headers that will be added to request. /// @@ -2676,8 +4008,12 @@ internal ManagedClustersOperations(ContainerServiceClient client) /// /// A response object containing the response body and response headers. /// - public async Task BeginResetServicePrincipalProfileWithHttpMessagesAsync(string resourceGroupName, string resourceName, ManagedClusterServicePrincipalProfile parameters, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + public async Task BeginStopWithHttpMessagesAsync(string resourceGroupName, string resourceName, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) { + if (Client.ApiVersion == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.ApiVersion"); + } if (Client.SubscriptionId == null) { throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId"); @@ -2712,15 +4048,6 @@ internal ManagedClustersOperations(ContainerServiceClient client) throw new ValidationException(ValidationRules.Pattern, "resourceName", "^[a-zA-Z0-9]$|^[a-zA-Z0-9][-_a-zA-Z0-9]{0,61}[a-zA-Z0-9]$"); } } - if (parameters == null) - { - throw new ValidationException(ValidationRules.CannotBeNull, "parameters"); - } - if (parameters != null) - { - parameters.Validate(); - } - string apiVersion = "2020-07-01"; // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; string _invocationId = null; @@ -2728,23 +4055,21 @@ internal ManagedClustersOperations(ContainerServiceClient client) { _invocationId = ServiceClientTracing.NextInvocationId.ToString(); Dictionary tracingParameters = new Dictionary(); - tracingParameters.Add("apiVersion", apiVersion); tracingParameters.Add("resourceGroupName", resourceGroupName); tracingParameters.Add("resourceName", resourceName); - tracingParameters.Add("parameters", parameters); tracingParameters.Add("cancellationToken", cancellationToken); - ServiceClientTracing.Enter(_invocationId, this, "BeginResetServicePrincipalProfile", tracingParameters); + ServiceClientTracing.Enter(_invocationId, this, "BeginStop", tracingParameters); } // Construct URL var _baseUrl = Client.BaseUri.AbsoluteUri; - var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerService/managedClusters/{resourceName}/resetServicePrincipalProfile").ToString(); + var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerService/managedClusters/{resourceName}/stop").ToString(); _url = _url.Replace("{subscriptionId}", System.Uri.EscapeDataString(Client.SubscriptionId)); _url = _url.Replace("{resourceGroupName}", System.Uri.EscapeDataString(resourceGroupName)); _url = _url.Replace("{resourceName}", System.Uri.EscapeDataString(resourceName)); List _queryParameters = new List(); - if (apiVersion != null) + if (Client.ApiVersion != null) { - _queryParameters.Add(string.Format("api-version={0}", System.Uri.EscapeDataString(apiVersion))); + _queryParameters.Add(string.Format("api-version={0}", System.Uri.EscapeDataString(Client.ApiVersion))); } if (_queryParameters.Count > 0) { @@ -2784,12 +4109,6 @@ internal ManagedClustersOperations(ContainerServiceClient client) // Serialize Request string _requestContent = null; - if(parameters != null) - { - _requestContent = Rest.Serialization.SafeJsonConvert.SerializeObject(parameters, Client.SerializationSettings); - _httpRequest.Content = new StringContent(_requestContent, System.Text.Encoding.UTF8); - _httpRequest.Content.Headers.ContentType =System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json; charset=utf-8"); - } // Set Credentials if (Client.Credentials != null) { @@ -2810,7 +4129,7 @@ internal ManagedClustersOperations(ContainerServiceClient client) HttpStatusCode _statusCode = _httpResponse.StatusCode; cancellationToken.ThrowIfCancellationRequested(); string _responseContent = null; - if ((int)_statusCode != 200 && (int)_statusCode != 202) + if ((int)_statusCode != 202 && (int)_statusCode != 204) { var ex = new CloudException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); try @@ -2860,10 +4179,12 @@ internal ManagedClustersOperations(ContainerServiceClient client) } /// - /// Reset AAD Profile of a managed cluster. + /// Starts a previously stopped Managed Cluster /// /// - /// Update the AAD Profile for a managed cluster. + /// See [starting a + /// cluster](https://docs.microsoft.com/azure/aks/start-stop-cluster) for more + /// details about starting a cluster. /// /// /// The name of the resource group. @@ -2871,10 +4192,6 @@ internal ManagedClustersOperations(ContainerServiceClient client) /// /// The name of the managed cluster resource. /// - /// - /// Parameters supplied to the Reset AAD Profile operation for a Managed - /// Cluster. - /// /// /// Headers that will be added to request. /// @@ -2893,8 +4210,12 @@ internal ManagedClustersOperations(ContainerServiceClient client) /// /// A response object containing the response body and response headers. /// - public async Task BeginResetAADProfileWithHttpMessagesAsync(string resourceGroupName, string resourceName, ManagedClusterAADProfile parameters, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + public async Task BeginStartWithHttpMessagesAsync(string resourceGroupName, string resourceName, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) { + if (Client.ApiVersion == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.ApiVersion"); + } if (Client.SubscriptionId == null) { throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId"); @@ -2929,11 +4250,6 @@ internal ManagedClustersOperations(ContainerServiceClient client) throw new ValidationException(ValidationRules.Pattern, "resourceName", "^[a-zA-Z0-9]$|^[a-zA-Z0-9][-_a-zA-Z0-9]{0,61}[a-zA-Z0-9]$"); } } - if (parameters == null) - { - throw new ValidationException(ValidationRules.CannotBeNull, "parameters"); - } - string apiVersion = "2020-07-01"; // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; string _invocationId = null; @@ -2941,23 +4257,21 @@ internal ManagedClustersOperations(ContainerServiceClient client) { _invocationId = ServiceClientTracing.NextInvocationId.ToString(); Dictionary tracingParameters = new Dictionary(); - tracingParameters.Add("apiVersion", apiVersion); tracingParameters.Add("resourceGroupName", resourceGroupName); tracingParameters.Add("resourceName", resourceName); - tracingParameters.Add("parameters", parameters); tracingParameters.Add("cancellationToken", cancellationToken); - ServiceClientTracing.Enter(_invocationId, this, "BeginResetAADProfile", tracingParameters); + ServiceClientTracing.Enter(_invocationId, this, "BeginStart", tracingParameters); } // Construct URL var _baseUrl = Client.BaseUri.AbsoluteUri; - var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerService/managedClusters/{resourceName}/resetAADProfile").ToString(); + var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerService/managedClusters/{resourceName}/start").ToString(); _url = _url.Replace("{subscriptionId}", System.Uri.EscapeDataString(Client.SubscriptionId)); _url = _url.Replace("{resourceGroupName}", System.Uri.EscapeDataString(resourceGroupName)); _url = _url.Replace("{resourceName}", System.Uri.EscapeDataString(resourceName)); List _queryParameters = new List(); - if (apiVersion != null) + if (Client.ApiVersion != null) { - _queryParameters.Add(string.Format("api-version={0}", System.Uri.EscapeDataString(apiVersion))); + _queryParameters.Add(string.Format("api-version={0}", System.Uri.EscapeDataString(Client.ApiVersion))); } if (_queryParameters.Count > 0) { @@ -2997,12 +4311,6 @@ internal ManagedClustersOperations(ContainerServiceClient client) // Serialize Request string _requestContent = null; - if(parameters != null) - { - _requestContent = Rest.Serialization.SafeJsonConvert.SerializeObject(parameters, Client.SerializationSettings); - _httpRequest.Content = new StringContent(_requestContent, System.Text.Encoding.UTF8); - _httpRequest.Content.Headers.ContentType =System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json; charset=utf-8"); - } // Set Credentials if (Client.Credentials != null) { @@ -3023,7 +4331,7 @@ internal ManagedClustersOperations(ContainerServiceClient client) HttpStatusCode _statusCode = _httpResponse.StatusCode; cancellationToken.ThrowIfCancellationRequested(); string _responseContent = null; - if ((int)_statusCode != 200 && (int)_statusCode != 202) + if ((int)_statusCode != 202 && (int)_statusCode != 204) { var ex = new CloudException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); try @@ -3073,10 +4381,12 @@ internal ManagedClustersOperations(ContainerServiceClient client) } /// - /// Rotate certificates of a managed cluster. + /// Submits a command to run against the Managed Cluster. /// /// - /// Rotate certificates of a managed cluster. + /// AKS will create a pod to run the command. This is primarily useful for + /// private clusters. For more information see [AKS Run + /// Command](https://docs.microsoft.com/azure/aks/private-clusters#aks-run-command-preview). /// /// /// The name of the resource group. @@ -3084,6 +4394,9 @@ internal ManagedClustersOperations(ContainerServiceClient client) /// /// The name of the managed cluster resource. /// + /// + /// The run command request + /// /// /// Headers that will be added to request. /// @@ -3093,6 +4406,9 @@ internal ManagedClustersOperations(ContainerServiceClient client) /// /// Thrown when the operation returned an invalid status code /// + /// + /// Thrown when unable to deserialize the response + /// /// /// Thrown when a required parameter is null /// @@ -3102,8 +4418,12 @@ internal ManagedClustersOperations(ContainerServiceClient client) /// /// A response object containing the response body and response headers. /// - public async Task BeginRotateClusterCertificatesWithHttpMessagesAsync(string resourceGroupName, string resourceName, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + public async Task> BeginRunCommandWithHttpMessagesAsync(string resourceGroupName, string resourceName, RunCommandRequest requestPayload, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) { + if (Client.ApiVersion == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.ApiVersion"); + } if (Client.SubscriptionId == null) { throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId"); @@ -3138,7 +4458,14 @@ internal ManagedClustersOperations(ContainerServiceClient client) throw new ValidationException(ValidationRules.Pattern, "resourceName", "^[a-zA-Z0-9]$|^[a-zA-Z0-9][-_a-zA-Z0-9]{0,61}[a-zA-Z0-9]$"); } } - string apiVersion = "2020-07-01"; + if (requestPayload == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "requestPayload"); + } + if (requestPayload != null) + { + requestPayload.Validate(); + } // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; string _invocationId = null; @@ -3146,22 +4473,22 @@ internal ManagedClustersOperations(ContainerServiceClient client) { _invocationId = ServiceClientTracing.NextInvocationId.ToString(); Dictionary tracingParameters = new Dictionary(); - tracingParameters.Add("apiVersion", apiVersion); tracingParameters.Add("resourceGroupName", resourceGroupName); tracingParameters.Add("resourceName", resourceName); + tracingParameters.Add("requestPayload", requestPayload); tracingParameters.Add("cancellationToken", cancellationToken); - ServiceClientTracing.Enter(_invocationId, this, "BeginRotateClusterCertificates", tracingParameters); + ServiceClientTracing.Enter(_invocationId, this, "BeginRunCommand", tracingParameters); } // Construct URL var _baseUrl = Client.BaseUri.AbsoluteUri; - var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerService/managedClusters/{resourceName}/rotateClusterCertificates").ToString(); + var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerService/managedClusters/{resourceName}/runCommand").ToString(); _url = _url.Replace("{subscriptionId}", System.Uri.EscapeDataString(Client.SubscriptionId)); _url = _url.Replace("{resourceGroupName}", System.Uri.EscapeDataString(resourceGroupName)); _url = _url.Replace("{resourceName}", System.Uri.EscapeDataString(resourceName)); List _queryParameters = new List(); - if (apiVersion != null) + if (Client.ApiVersion != null) { - _queryParameters.Add(string.Format("api-version={0}", System.Uri.EscapeDataString(apiVersion))); + _queryParameters.Add(string.Format("api-version={0}", System.Uri.EscapeDataString(Client.ApiVersion))); } if (_queryParameters.Count > 0) { @@ -3201,6 +4528,12 @@ internal ManagedClustersOperations(ContainerServiceClient client) // Serialize Request string _requestContent = null; + if(requestPayload != null) + { + _requestContent = Rest.Serialization.SafeJsonConvert.SerializeObject(requestPayload, Client.SerializationSettings); + _httpRequest.Content = new StringContent(_requestContent, System.Text.Encoding.UTF8); + _httpRequest.Content.Headers.ContentType =System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json; charset=utf-8"); + } // Set Credentials if (Client.Credentials != null) { @@ -3221,7 +4554,7 @@ internal ManagedClustersOperations(ContainerServiceClient client) HttpStatusCode _statusCode = _httpResponse.StatusCode; cancellationToken.ThrowIfCancellationRequested(); string _responseContent = null; - if ((int)_statusCode != 202 && (int)_statusCode != 204) + if ((int)_statusCode != 200 && (int)_statusCode != 202) { var ex = new CloudException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); try @@ -3256,13 +4589,31 @@ internal ManagedClustersOperations(ContainerServiceClient client) throw ex; } // Create Result - var _result = new AzureOperationResponse(); + var _result = new AzureOperationResponse(); _result.Request = _httpRequest; _result.Response = _httpResponse; if (_httpResponse.Headers.Contains("x-ms-request-id")) { _result.RequestId = _httpResponse.Headers.GetValues("x-ms-request-id").FirstOrDefault(); } + // Deserialize Response + if ((int)_statusCode == 200) + { + _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); + try + { + _result.Body = Rest.Serialization.SafeJsonConvert.DeserializeObject(_responseContent, Client.DeserializationSettings); + } + catch (JsonException ex) + { + _httpRequest.Dispose(); + if (_httpResponse != null) + { + _httpResponse.Dispose(); + } + throw new SerializationException("Unable to deserialize the response.", _responseContent, ex); + } + } if (_shouldTrace) { ServiceClientTracing.Exit(_invocationId, _result); @@ -3271,19 +4622,10 @@ internal ManagedClustersOperations(ContainerServiceClient client) } /// - /// Upgrade node image version of an agent pool to the latest. + /// Gets a list of managed clusters in the specified subscription. /// - /// - /// Upgrade node image version of an agent pool to the latest. - /// - /// - /// The name of the resource group. - /// - /// - /// The name of the managed cluster resource. - /// - /// - /// The name of the agent pool. + /// + /// The NextLink from the previous successful call to List operation. /// /// /// Headers that will be added to request. @@ -3306,47 +4648,12 @@ internal ManagedClustersOperations(ContainerServiceClient client) /// /// A response object containing the response body and response headers. /// - public async Task> BeginUpgradeNodeImageVersionWithHttpMessagesAsync(string resourceGroupName, string resourceName, string agentPoolName, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + public async Task>> ListNextWithHttpMessagesAsync(string nextPageLink, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) { - if (Client.SubscriptionId == null) - { - throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId"); - } - if (resourceGroupName == null) - { - throw new ValidationException(ValidationRules.CannotBeNull, "resourceGroupName"); - } - if (resourceGroupName != null) - { - if (resourceGroupName.Length < 1) - { - throw new ValidationException(ValidationRules.MinLength, "resourceGroupName", 1); - } - } - if (resourceName == null) - { - throw new ValidationException(ValidationRules.CannotBeNull, "resourceName"); - } - if (resourceName != null) - { - if (resourceName.Length > 63) - { - throw new ValidationException(ValidationRules.MaxLength, "resourceName", 63); - } - if (resourceName.Length < 1) - { - throw new ValidationException(ValidationRules.MinLength, "resourceName", 1); - } - if (!System.Text.RegularExpressions.Regex.IsMatch(resourceName, "^[a-zA-Z0-9]$|^[a-zA-Z0-9][-_a-zA-Z0-9]{0,61}[a-zA-Z0-9]$")) - { - throw new ValidationException(ValidationRules.Pattern, "resourceName", "^[a-zA-Z0-9]$|^[a-zA-Z0-9][-_a-zA-Z0-9]{0,61}[a-zA-Z0-9]$"); - } - } - if (agentPoolName == null) + if (nextPageLink == null) { - throw new ValidationException(ValidationRules.CannotBeNull, "agentPoolName"); + throw new ValidationException(ValidationRules.CannotBeNull, "nextPageLink"); } - string apiVersion = "2020-07-01"; // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; string _invocationId = null; @@ -3354,25 +4661,14 @@ internal ManagedClustersOperations(ContainerServiceClient client) { _invocationId = ServiceClientTracing.NextInvocationId.ToString(); Dictionary tracingParameters = new Dictionary(); - tracingParameters.Add("apiVersion", apiVersion); - tracingParameters.Add("resourceGroupName", resourceGroupName); - tracingParameters.Add("resourceName", resourceName); - tracingParameters.Add("agentPoolName", agentPoolName); + tracingParameters.Add("nextPageLink", nextPageLink); tracingParameters.Add("cancellationToken", cancellationToken); - ServiceClientTracing.Enter(_invocationId, this, "BeginUpgradeNodeImageVersion", tracingParameters); + ServiceClientTracing.Enter(_invocationId, this, "ListNext", tracingParameters); } // Construct URL - var _baseUrl = Client.BaseUri.AbsoluteUri; - var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerService/managedClusters/{resourceName}/agentPools/{agentPoolName}/upgradeNodeImageVersion").ToString(); - _url = _url.Replace("{subscriptionId}", System.Uri.EscapeDataString(Client.SubscriptionId)); - _url = _url.Replace("{resourceGroupName}", System.Uri.EscapeDataString(resourceGroupName)); - _url = _url.Replace("{resourceName}", System.Uri.EscapeDataString(resourceName)); - _url = _url.Replace("{agentPoolName}", System.Uri.EscapeDataString(agentPoolName)); + string _url = "{nextLink}"; + _url = _url.Replace("{nextLink}", nextPageLink); List _queryParameters = new List(); - if (apiVersion != null) - { - _queryParameters.Add(string.Format("api-version={0}", System.Uri.EscapeDataString(apiVersion))); - } if (_queryParameters.Count > 0) { _url += (_url.Contains("?") ? "&" : "?") + string.Join("&", _queryParameters); @@ -3380,7 +4676,7 @@ internal ManagedClustersOperations(ContainerServiceClient client) // Create HTTP transport objects var _httpRequest = new HttpRequestMessage(); HttpResponseMessage _httpResponse = null; - _httpRequest.Method = new HttpMethod("POST"); + _httpRequest.Method = new HttpMethod("GET"); _httpRequest.RequestUri = new System.Uri(_url); // Set Headers if (Client.GenerateClientRequestId != null && Client.GenerateClientRequestId.Value) @@ -3431,7 +4727,7 @@ internal ManagedClustersOperations(ContainerServiceClient client) HttpStatusCode _statusCode = _httpResponse.StatusCode; cancellationToken.ThrowIfCancellationRequested(); string _responseContent = null; - if ((int)_statusCode != 200 && (int)_statusCode != 202) + if ((int)_statusCode != 200) { var ex = new CloudException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); try @@ -3466,7 +4762,7 @@ internal ManagedClustersOperations(ContainerServiceClient client) throw ex; } // Create Result - var _result = new AzureOperationResponse(); + var _result = new AzureOperationResponse>(); _result.Request = _httpRequest; _result.Response = _httpResponse; if (_httpResponse.Headers.Contains("x-ms-request-id")) @@ -3474,12 +4770,12 @@ internal ManagedClustersOperations(ContainerServiceClient client) _result.RequestId = _httpResponse.Headers.GetValues("x-ms-request-id").FirstOrDefault(); } // Deserialize Response - if ((int)_statusCode == 202) + if ((int)_statusCode == 200) { _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); try { - _result.Body = Rest.Serialization.SafeJsonConvert.DeserializeObject(_responseContent, Client.DeserializationSettings); + _result.Body = Rest.Serialization.SafeJsonConvert.DeserializeObject>(_responseContent, Client.DeserializationSettings); } catch (JsonException ex) { @@ -3499,12 +4795,8 @@ internal ManagedClustersOperations(ContainerServiceClient client) } /// - /// Gets a list of managed clusters in the specified subscription. + /// Lists managed clusters in the specified subscription and resource group. /// - /// - /// Gets a list of managed clusters in the specified subscription. The - /// operation returns properties of each managed cluster. - /// /// /// The NextLink from the previous successful call to List operation. /// @@ -3529,7 +4821,7 @@ internal ManagedClustersOperations(ContainerServiceClient client) /// /// A response object containing the response body and response headers. /// - public async Task>> ListNextWithHttpMessagesAsync(string nextPageLink, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + public async Task>> ListByResourceGroupNextWithHttpMessagesAsync(string nextPageLink, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) { if (nextPageLink == null) { @@ -3544,7 +4836,7 @@ internal ManagedClustersOperations(ContainerServiceClient client) Dictionary tracingParameters = new Dictionary(); tracingParameters.Add("nextPageLink", nextPageLink); tracingParameters.Add("cancellationToken", cancellationToken); - ServiceClientTracing.Enter(_invocationId, this, "ListNext", tracingParameters); + ServiceClientTracing.Enter(_invocationId, this, "ListByResourceGroupNext", tracingParameters); } // Construct URL string _url = "{nextLink}"; @@ -3656,7 +4948,7 @@ internal ManagedClustersOperations(ContainerServiceClient client) _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); try { - _result.Body = Rest.Serialization.SafeJsonConvert.DeserializeObject>(_responseContent, Client.DeserializationSettings); + _result.Body = Rest.Serialization.SafeJsonConvert.DeserializeObject>(_responseContent, Client.DeserializationSettings); } catch (JsonException ex) { @@ -3676,11 +4968,13 @@ internal ManagedClustersOperations(ContainerServiceClient client) } /// - /// Lists managed clusters in the specified subscription and resource group. + /// Gets a list of egress endpoints (network endpoints of all outbound + /// dependencies) in the specified managed cluster. /// /// - /// Lists managed clusters in the specified subscription and resource group. - /// The operation returns properties of each managed cluster. + /// Gets a list of egress endpoints (network endpoints of all outbound + /// dependencies) in the specified managed cluster. The operation returns + /// properties of each egress endpoint. /// /// /// The NextLink from the previous successful call to List operation. @@ -3706,7 +5000,7 @@ internal ManagedClustersOperations(ContainerServiceClient client) /// /// A response object containing the response body and response headers. /// - public async Task>> ListByResourceGroupNextWithHttpMessagesAsync(string nextPageLink, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + public async Task>> ListOutboundNetworkDependenciesEndpointsNextWithHttpMessagesAsync(string nextPageLink, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) { if (nextPageLink == null) { @@ -3721,7 +5015,7 @@ internal ManagedClustersOperations(ContainerServiceClient client) Dictionary tracingParameters = new Dictionary(); tracingParameters.Add("nextPageLink", nextPageLink); tracingParameters.Add("cancellationToken", cancellationToken); - ServiceClientTracing.Enter(_invocationId, this, "ListByResourceGroupNext", tracingParameters); + ServiceClientTracing.Enter(_invocationId, this, "ListOutboundNetworkDependenciesEndpointsNext", tracingParameters); } // Construct URL string _url = "{nextLink}"; @@ -3820,7 +5114,7 @@ internal ManagedClustersOperations(ContainerServiceClient client) throw ex; } // Create Result - var _result = new AzureOperationResponse>(); + var _result = new AzureOperationResponse>(); _result.Request = _httpRequest; _result.Response = _httpResponse; if (_httpResponse.Headers.Contains("x-ms-request-id")) @@ -3833,7 +5127,7 @@ internal ManagedClustersOperations(ContainerServiceClient client) _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); try { - _result.Body = Rest.Serialization.SafeJsonConvert.DeserializeObject>(_responseContent, Client.DeserializationSettings); + _result.Body = Rest.Serialization.SafeJsonConvert.DeserializeObject>(_responseContent, Client.DeserializationSettings); } catch (JsonException ex) { diff --git a/sdk/containerservice/Microsoft.Azure.Management.ContainerService/src/Generated/ManagedClustersOperationsExtensions.cs b/sdk/containerservice/Microsoft.Azure.Management.ContainerService/src/Generated/ManagedClustersOperationsExtensions.cs index a152a225467d..5a64e1e4c822 100644 --- a/sdk/containerservice/Microsoft.Azure.Management.ContainerService/src/Generated/ManagedClustersOperationsExtensions.cs +++ b/sdk/containerservice/Microsoft.Azure.Management.ContainerService/src/Generated/ManagedClustersOperationsExtensions.cs @@ -23,13 +23,49 @@ namespace Microsoft.Azure.Management.ContainerService /// public static partial class ManagedClustersOperationsExtensions { + /// + /// Gets supported OS options in the specified subscription. + /// + /// + /// The operations group for this extension method. + /// + /// + /// The name of a supported Azure region. + /// + /// + /// The resource type for which the OS options needs to be returned + /// + public static OSOptionProfile GetOSOptions(this IManagedClustersOperations operations, string location, string resourceType = default(string)) + { + return operations.GetOSOptionsAsync(location, resourceType).GetAwaiter().GetResult(); + } + + /// + /// Gets supported OS options in the specified subscription. + /// + /// + /// The operations group for this extension method. + /// + /// + /// The name of a supported Azure region. + /// + /// + /// The resource type for which the OS options needs to be returned + /// + /// + /// The cancellation token. + /// + public static async Task GetOSOptionsAsync(this IManagedClustersOperations operations, string location, string resourceType = default(string), CancellationToken cancellationToken = default(CancellationToken)) + { + using (var _result = await operations.GetOSOptionsWithHttpMessagesAsync(location, resourceType, null, cancellationToken).ConfigureAwait(false)) + { + return _result.Body; + } + } + /// /// Gets a list of managed clusters in the specified subscription. /// - /// - /// Gets a list of managed clusters in the specified subscription. The - /// operation returns properties of each managed cluster. - /// /// /// The operations group for this extension method. /// @@ -41,10 +77,6 @@ public static IPage List(this IManagedClustersOperations operati /// /// Gets a list of managed clusters in the specified subscription. /// - /// - /// Gets a list of managed clusters in the specified subscription. The - /// operation returns properties of each managed cluster. - /// /// /// The operations group for this extension method. /// @@ -62,10 +94,6 @@ public static IPage List(this IManagedClustersOperations operati /// /// Lists managed clusters in the specified subscription and resource group. /// - /// - /// Lists managed clusters in the specified subscription and resource group. - /// The operation returns properties of each managed cluster. - /// /// /// The operations group for this extension method. /// @@ -80,10 +108,6 @@ public static IPage ListByResourceGroup(this IManagedClustersOpe /// /// Lists managed clusters in the specified subscription and resource group. /// - /// - /// Lists managed clusters in the specified subscription and resource group. - /// The operation returns properties of each managed cluster. - /// /// /// The operations group for this extension method. /// @@ -102,12 +126,8 @@ public static IPage ListByResourceGroup(this IManagedClustersOpe } /// - /// Gets upgrade profile for a managed cluster. + /// Gets the upgrade profile of a managed cluster. /// - /// - /// Gets the details of the upgrade profile for a managed cluster with a - /// specified resource group and name. - /// /// /// The operations group for this extension method. /// @@ -123,12 +143,8 @@ public static ManagedClusterUpgradeProfile GetUpgradeProfile(this IManagedCluste } /// - /// Gets upgrade profile for a managed cluster. + /// Gets the upgrade profile of a managed cluster. /// - /// - /// Gets the details of the upgrade profile for a managed cluster with a - /// specified resource group and name. - /// /// /// The operations group for this extension method. /// @@ -153,12 +169,10 @@ public static ManagedClusterUpgradeProfile GetUpgradeProfile(this IManagedCluste /// Gets an access profile of a managed cluster. /// /// - /// Gets the accessProfile for the specified role name of the managed cluster - /// with a specified resource group and name. **WARNING**: This API will be - /// deprecated. Instead use - /// [ListClusterUserCredentials](https://docs.microsoft.com/en-us/rest/api/aks/managedclusters/listclusterusercredentials) + /// **WARNING**: This API will be deprecated. Instead use + /// [ListClusterUserCredentials](https://docs.microsoft.com/rest/api/aks/managedclusters/listclusterusercredentials) /// or - /// [ListClusterAdminCredentials](https://docs.microsoft.com/en-us/rest/api/aks/managedclusters/listclusteradmincredentials) + /// [ListClusterAdminCredentials](https://docs.microsoft.com/rest/api/aks/managedclusters/listclusteradmincredentials) /// . /// /// @@ -183,12 +197,10 @@ public static ManagedClusterAccessProfile GetAccessProfile(this IManagedClusters /// Gets an access profile of a managed cluster. /// /// - /// Gets the accessProfile for the specified role name of the managed cluster - /// with a specified resource group and name. **WARNING**: This API will be - /// deprecated. Instead use - /// [ListClusterUserCredentials](https://docs.microsoft.com/en-us/rest/api/aks/managedclusters/listclusterusercredentials) + /// **WARNING**: This API will be deprecated. Instead use + /// [ListClusterUserCredentials](https://docs.microsoft.com/rest/api/aks/managedclusters/listclusterusercredentials) /// or - /// [ListClusterAdminCredentials](https://docs.microsoft.com/en-us/rest/api/aks/managedclusters/listclusteradmincredentials) + /// [ListClusterAdminCredentials](https://docs.microsoft.com/rest/api/aks/managedclusters/listclusteradmincredentials) /// . /// /// @@ -216,12 +228,8 @@ public static ManagedClusterAccessProfile GetAccessProfile(this IManagedClusters } /// - /// Gets cluster admin credential of a managed cluster. + /// Lists the admin credentials of a managed cluster. /// - /// - /// Gets cluster admin credential of the managed cluster with a specified - /// resource group and name. - /// /// /// The operations group for this extension method. /// @@ -231,18 +239,17 @@ public static ManagedClusterAccessProfile GetAccessProfile(this IManagedClusters /// /// The name of the managed cluster resource. /// - public static CredentialResults ListClusterAdminCredentials(this IManagedClustersOperations operations, string resourceGroupName, string resourceName) + /// + /// server fqdn type for credentials to be returned + /// + public static CredentialResults ListClusterAdminCredentials(this IManagedClustersOperations operations, string resourceGroupName, string resourceName, string serverFqdn = default(string)) { - return operations.ListClusterAdminCredentialsAsync(resourceGroupName, resourceName).GetAwaiter().GetResult(); + return operations.ListClusterAdminCredentialsAsync(resourceGroupName, resourceName, serverFqdn).GetAwaiter().GetResult(); } /// - /// Gets cluster admin credential of a managed cluster. + /// Lists the admin credentials of a managed cluster. /// - /// - /// Gets cluster admin credential of the managed cluster with a specified - /// resource group and name. - /// /// /// The operations group for this extension method. /// @@ -252,24 +259,23 @@ public static CredentialResults ListClusterAdminCredentials(this IManagedCluster /// /// The name of the managed cluster resource. /// + /// + /// server fqdn type for credentials to be returned + /// /// /// The cancellation token. /// - public static async Task ListClusterAdminCredentialsAsync(this IManagedClustersOperations operations, string resourceGroupName, string resourceName, CancellationToken cancellationToken = default(CancellationToken)) + public static async Task ListClusterAdminCredentialsAsync(this IManagedClustersOperations operations, string resourceGroupName, string resourceName, string serverFqdn = default(string), CancellationToken cancellationToken = default(CancellationToken)) { - using (var _result = await operations.ListClusterAdminCredentialsWithHttpMessagesAsync(resourceGroupName, resourceName, null, cancellationToken).ConfigureAwait(false)) + using (var _result = await operations.ListClusterAdminCredentialsWithHttpMessagesAsync(resourceGroupName, resourceName, serverFqdn, null, cancellationToken).ConfigureAwait(false)) { return _result.Body; } } /// - /// Gets cluster user credential of a managed cluster. + /// Lists the user credentials of a managed cluster. /// - /// - /// Gets cluster user credential of the managed cluster with a specified - /// resource group and name. - /// /// /// The operations group for this extension method. /// @@ -279,18 +285,17 @@ public static CredentialResults ListClusterAdminCredentials(this IManagedCluster /// /// The name of the managed cluster resource. /// - public static CredentialResults ListClusterUserCredentials(this IManagedClustersOperations operations, string resourceGroupName, string resourceName) + /// + /// server fqdn type for credentials to be returned + /// + public static CredentialResults ListClusterUserCredentials(this IManagedClustersOperations operations, string resourceGroupName, string resourceName, string serverFqdn = default(string)) { - return operations.ListClusterUserCredentialsAsync(resourceGroupName, resourceName).GetAwaiter().GetResult(); + return operations.ListClusterUserCredentialsAsync(resourceGroupName, resourceName, serverFqdn).GetAwaiter().GetResult(); } /// - /// Gets cluster user credential of a managed cluster. + /// Lists the user credentials of a managed cluster. /// - /// - /// Gets cluster user credential of the managed cluster with a specified - /// resource group and name. - /// /// /// The operations group for this extension method. /// @@ -300,24 +305,23 @@ public static CredentialResults ListClusterUserCredentials(this IManagedClusters /// /// The name of the managed cluster resource. /// + /// + /// server fqdn type for credentials to be returned + /// /// /// The cancellation token. /// - public static async Task ListClusterUserCredentialsAsync(this IManagedClustersOperations operations, string resourceGroupName, string resourceName, CancellationToken cancellationToken = default(CancellationToken)) + public static async Task ListClusterUserCredentialsAsync(this IManagedClustersOperations operations, string resourceGroupName, string resourceName, string serverFqdn = default(string), CancellationToken cancellationToken = default(CancellationToken)) { - using (var _result = await operations.ListClusterUserCredentialsWithHttpMessagesAsync(resourceGroupName, resourceName, null, cancellationToken).ConfigureAwait(false)) + using (var _result = await operations.ListClusterUserCredentialsWithHttpMessagesAsync(resourceGroupName, resourceName, serverFqdn, null, cancellationToken).ConfigureAwait(false)) { return _result.Body; } } /// - /// Gets cluster monitoring user credential of a managed cluster. + /// Lists the cluster monitoring user credentials of a managed cluster. /// - /// - /// Gets cluster monitoring user credential of the managed cluster with a - /// specified resource group and name. - /// /// /// The operations group for this extension method. /// @@ -327,18 +331,17 @@ public static CredentialResults ListClusterUserCredentials(this IManagedClusters /// /// The name of the managed cluster resource. /// - public static CredentialResults ListClusterMonitoringUserCredentials(this IManagedClustersOperations operations, string resourceGroupName, string resourceName) + /// + /// server fqdn type for credentials to be returned + /// + public static CredentialResults ListClusterMonitoringUserCredentials(this IManagedClustersOperations operations, string resourceGroupName, string resourceName, string serverFqdn = default(string)) { - return operations.ListClusterMonitoringUserCredentialsAsync(resourceGroupName, resourceName).GetAwaiter().GetResult(); + return operations.ListClusterMonitoringUserCredentialsAsync(resourceGroupName, resourceName, serverFqdn).GetAwaiter().GetResult(); } /// - /// Gets cluster monitoring user credential of a managed cluster. + /// Lists the cluster monitoring user credentials of a managed cluster. /// - /// - /// Gets cluster monitoring user credential of the managed cluster with a - /// specified resource group and name. - /// /// /// The operations group for this extension method. /// @@ -348,12 +351,15 @@ public static CredentialResults ListClusterMonitoringUserCredentials(this IManag /// /// The name of the managed cluster resource. /// + /// + /// server fqdn type for credentials to be returned + /// /// /// The cancellation token. /// - public static async Task ListClusterMonitoringUserCredentialsAsync(this IManagedClustersOperations operations, string resourceGroupName, string resourceName, CancellationToken cancellationToken = default(CancellationToken)) + public static async Task ListClusterMonitoringUserCredentialsAsync(this IManagedClustersOperations operations, string resourceGroupName, string resourceName, string serverFqdn = default(string), CancellationToken cancellationToken = default(CancellationToken)) { - using (var _result = await operations.ListClusterMonitoringUserCredentialsWithHttpMessagesAsync(resourceGroupName, resourceName, null, cancellationToken).ConfigureAwait(false)) + using (var _result = await operations.ListClusterMonitoringUserCredentialsWithHttpMessagesAsync(resourceGroupName, resourceName, serverFqdn, null, cancellationToken).ConfigureAwait(false)) { return _result.Body; } @@ -362,10 +368,6 @@ public static CredentialResults ListClusterMonitoringUserCredentials(this IManag /// /// Gets a managed cluster. /// - /// - /// Gets the details of the managed cluster with a specified resource group and - /// name. - /// /// /// The operations group for this extension method. /// @@ -383,10 +385,6 @@ public static ManagedCluster Get(this IManagedClustersOperations operations, str /// /// Gets a managed cluster. /// - /// - /// Gets the details of the managed cluster with a specified resource group and - /// name. - /// /// /// The operations group for this extension method. /// @@ -410,10 +408,6 @@ public static ManagedCluster Get(this IManagedClustersOperations operations, str /// /// Creates or updates a managed cluster. /// - /// - /// Creates or updates a managed cluster with the specified configuration for - /// agents and Kubernetes version. - /// /// /// The operations group for this extension method. /// @@ -424,7 +418,7 @@ public static ManagedCluster Get(this IManagedClustersOperations operations, str /// The name of the managed cluster resource. /// /// - /// Parameters supplied to the Create or Update a Managed Cluster operation. + /// The managed cluster to create or update. /// public static ManagedCluster CreateOrUpdate(this IManagedClustersOperations operations, string resourceGroupName, string resourceName, ManagedCluster parameters) { @@ -434,10 +428,6 @@ public static ManagedCluster CreateOrUpdate(this IManagedClustersOperations oper /// /// Creates or updates a managed cluster. /// - /// - /// Creates or updates a managed cluster with the specified configuration for - /// agents and Kubernetes version. - /// /// /// The operations group for this extension method. /// @@ -448,7 +438,7 @@ public static ManagedCluster CreateOrUpdate(this IManagedClustersOperations oper /// The name of the managed cluster resource. /// /// - /// Parameters supplied to the Create or Update a Managed Cluster operation. + /// The managed cluster to create or update. /// /// /// The cancellation token. @@ -464,9 +454,6 @@ public static ManagedCluster CreateOrUpdate(this IManagedClustersOperations oper /// /// Updates tags on a managed cluster. /// - /// - /// Updates a managed cluster with the specified tags. - /// /// /// The operations group for this extension method. /// @@ -487,9 +474,6 @@ public static ManagedCluster CreateOrUpdate(this IManagedClustersOperations oper /// /// Updates tags on a managed cluster. /// - /// - /// Updates a managed cluster with the specified tags. - /// /// /// The operations group for this extension method. /// @@ -516,9 +500,6 @@ public static ManagedCluster CreateOrUpdate(this IManagedClustersOperations oper /// /// Deletes a managed cluster. /// - /// - /// Deletes the managed cluster with a specified resource group and name. - /// /// /// The operations group for this extension method. /// @@ -536,9 +517,6 @@ public static void Delete(this IManagedClustersOperations operations, string res /// /// Deletes a managed cluster. /// - /// - /// Deletes the managed cluster with a specified resource group and name. - /// /// /// The operations group for this extension method. /// @@ -557,10 +535,11 @@ public static void Delete(this IManagedClustersOperations operations, string res } /// - /// Reset Service Principal Profile of a managed cluster. + /// Reset the Service Principal Profile of a managed cluster. /// /// - /// Update the service principal Profile for a managed cluster. + /// This action cannot be performed on a cluster that is not using a service + /// principal /// /// /// The operations group for this extension method. @@ -572,8 +551,7 @@ public static void Delete(this IManagedClustersOperations operations, string res /// The name of the managed cluster resource. /// /// - /// Parameters supplied to the Reset Service Principal Profile operation for a - /// Managed Cluster. + /// The service principal profile to set on the managed cluster. /// public static void ResetServicePrincipalProfile(this IManagedClustersOperations operations, string resourceGroupName, string resourceName, ManagedClusterServicePrincipalProfile parameters) { @@ -581,10 +559,11 @@ public static void ResetServicePrincipalProfile(this IManagedClustersOperations } /// - /// Reset Service Principal Profile of a managed cluster. + /// Reset the Service Principal Profile of a managed cluster. /// /// - /// Update the service principal Profile for a managed cluster. + /// This action cannot be performed on a cluster that is not using a service + /// principal /// /// /// The operations group for this extension method. @@ -596,8 +575,7 @@ public static void ResetServicePrincipalProfile(this IManagedClustersOperations /// The name of the managed cluster resource. /// /// - /// Parameters supplied to the Reset Service Principal Profile operation for a - /// Managed Cluster. + /// The service principal profile to set on the managed cluster. /// /// /// The cancellation token. @@ -608,11 +586,8 @@ public static void ResetServicePrincipalProfile(this IManagedClustersOperations } /// - /// Reset AAD Profile of a managed cluster. + /// Reset the AAD Profile of a managed cluster. /// - /// - /// Update the AAD Profile for a managed cluster. - /// /// /// The operations group for this extension method. /// @@ -623,8 +598,7 @@ public static void ResetServicePrincipalProfile(this IManagedClustersOperations /// The name of the managed cluster resource. /// /// - /// Parameters supplied to the Reset AAD Profile operation for a Managed - /// Cluster. + /// The AAD profile to set on the Managed Cluster /// public static void ResetAADProfile(this IManagedClustersOperations operations, string resourceGroupName, string resourceName, ManagedClusterAADProfile parameters) { @@ -632,11 +606,8 @@ public static void ResetAADProfile(this IManagedClustersOperations operations, s } /// - /// Reset AAD Profile of a managed cluster. + /// Reset the AAD Profile of a managed cluster. /// - /// - /// Update the AAD Profile for a managed cluster. - /// /// /// The operations group for this extension method. /// @@ -647,8 +618,7 @@ public static void ResetAADProfile(this IManagedClustersOperations operations, s /// The name of the managed cluster resource. /// /// - /// Parameters supplied to the Reset AAD Profile operation for a Managed - /// Cluster. + /// The AAD profile to set on the Managed Cluster /// /// /// The cancellation token. @@ -659,10 +629,12 @@ public static void ResetAADProfile(this IManagedClustersOperations operations, s } /// - /// Rotate certificates of a managed cluster. + /// Rotates the certificates of a managed cluster. /// /// - /// Rotate certificates of a managed cluster. + /// See [Certificate + /// rotation](https://docs.microsoft.com/azure/aks/certificate-rotation) for + /// more details about rotating managed cluster certificates. /// /// /// The operations group for this extension method. @@ -679,10 +651,12 @@ public static void RotateClusterCertificates(this IManagedClustersOperations ope } /// - /// Rotate certificates of a managed cluster. + /// Rotates the certificates of a managed cluster. /// /// - /// Rotate certificates of a managed cluster. + /// See [Certificate + /// rotation](https://docs.microsoft.com/azure/aks/certificate-rotation) for + /// more details about rotating managed cluster certificates. /// /// /// The operations group for this extension method. @@ -702,10 +676,40 @@ public static void RotateClusterCertificates(this IManagedClustersOperations ope } /// - /// Upgrade node image version of an agent pool to the latest. + /// Stops a Managed Cluster + /// + /// + /// This can only be performed on Azure Virtual Machine Scale set backed + /// clusters. Stopping a cluster stops the control plane and agent nodes + /// entirely, while maintaining all object and cluster state. A cluster does + /// not accrue charges while it is stopped. See [stopping a + /// cluster](https://docs.microsoft.com/azure/aks/start-stop-cluster) for more + /// details about stopping a cluster. + /// + /// + /// The operations group for this extension method. + /// + /// + /// The name of the resource group. + /// + /// + /// The name of the managed cluster resource. + /// + public static void Stop(this IManagedClustersOperations operations, string resourceGroupName, string resourceName) + { + operations.StopAsync(resourceGroupName, resourceName).GetAwaiter().GetResult(); + } + + /// + /// Stops a Managed Cluster /// /// - /// Upgrade node image version of an agent pool to the latest. + /// This can only be performed on Azure Virtual Machine Scale set backed + /// clusters. Stopping a cluster stops the control plane and agent nodes + /// entirely, while maintaining all object and cluster state. A cluster does + /// not accrue charges while it is stopped. See [stopping a + /// cluster](https://docs.microsoft.com/azure/aks/start-stop-cluster) for more + /// details about stopping a cluster. /// /// /// The operations group for this extension method. @@ -716,19 +720,21 @@ public static void RotateClusterCertificates(this IManagedClustersOperations ope /// /// The name of the managed cluster resource. /// - /// - /// The name of the agent pool. + /// + /// The cancellation token. /// - public static AgentPool UpgradeNodeImageVersion(this IManagedClustersOperations operations, string resourceGroupName, string resourceName, string agentPoolName) + public static async Task StopAsync(this IManagedClustersOperations operations, string resourceGroupName, string resourceName, CancellationToken cancellationToken = default(CancellationToken)) { - return operations.UpgradeNodeImageVersionAsync(resourceGroupName, resourceName, agentPoolName).GetAwaiter().GetResult(); + (await operations.StopWithHttpMessagesAsync(resourceGroupName, resourceName, null, cancellationToken).ConfigureAwait(false)).Dispose(); } /// - /// Upgrade node image version of an agent pool to the latest. + /// Starts a previously stopped Managed Cluster /// /// - /// Upgrade node image version of an agent pool to the latest. + /// See [starting a + /// cluster](https://docs.microsoft.com/azure/aks/start-stop-cluster) for more + /// details about starting a cluster. /// /// /// The operations group for this extension method. @@ -739,26 +745,169 @@ public static AgentPool UpgradeNodeImageVersion(this IManagedClustersOperations /// /// The name of the managed cluster resource. /// - /// - /// The name of the agent pool. + public static void Start(this IManagedClustersOperations operations, string resourceGroupName, string resourceName) + { + operations.StartAsync(resourceGroupName, resourceName).GetAwaiter().GetResult(); + } + + /// + /// Starts a previously stopped Managed Cluster + /// + /// + /// See [starting a + /// cluster](https://docs.microsoft.com/azure/aks/start-stop-cluster) for more + /// details about starting a cluster. + /// + /// + /// The operations group for this extension method. + /// + /// + /// The name of the resource group. + /// + /// + /// The name of the managed cluster resource. /// /// /// The cancellation token. /// - public static async Task UpgradeNodeImageVersionAsync(this IManagedClustersOperations operations, string resourceGroupName, string resourceName, string agentPoolName, CancellationToken cancellationToken = default(CancellationToken)) + public static async Task StartAsync(this IManagedClustersOperations operations, string resourceGroupName, string resourceName, CancellationToken cancellationToken = default(CancellationToken)) + { + (await operations.StartWithHttpMessagesAsync(resourceGroupName, resourceName, null, cancellationToken).ConfigureAwait(false)).Dispose(); + } + + /// + /// Submits a command to run against the Managed Cluster. + /// + /// + /// AKS will create a pod to run the command. This is primarily useful for + /// private clusters. For more information see [AKS Run + /// Command](https://docs.microsoft.com/azure/aks/private-clusters#aks-run-command-preview). + /// + /// + /// The operations group for this extension method. + /// + /// + /// The name of the resource group. + /// + /// + /// The name of the managed cluster resource. + /// + /// + /// The run command request + /// + public static RunCommandResult RunCommand(this IManagedClustersOperations operations, string resourceGroupName, string resourceName, RunCommandRequest requestPayload) { - using (var _result = await operations.UpgradeNodeImageVersionWithHttpMessagesAsync(resourceGroupName, resourceName, agentPoolName, null, cancellationToken).ConfigureAwait(false)) + return operations.RunCommandAsync(resourceGroupName, resourceName, requestPayload).GetAwaiter().GetResult(); + } + + /// + /// Submits a command to run against the Managed Cluster. + /// + /// + /// AKS will create a pod to run the command. This is primarily useful for + /// private clusters. For more information see [AKS Run + /// Command](https://docs.microsoft.com/azure/aks/private-clusters#aks-run-command-preview). + /// + /// + /// The operations group for this extension method. + /// + /// + /// The name of the resource group. + /// + /// + /// The name of the managed cluster resource. + /// + /// + /// The run command request + /// + /// + /// The cancellation token. + /// + public static async Task RunCommandAsync(this IManagedClustersOperations operations, string resourceGroupName, string resourceName, RunCommandRequest requestPayload, CancellationToken cancellationToken = default(CancellationToken)) + { + using (var _result = await operations.RunCommandWithHttpMessagesAsync(resourceGroupName, resourceName, requestPayload, null, cancellationToken).ConfigureAwait(false)) { return _result.Body; } } /// - /// Creates or updates a managed cluster. + /// Gets the results of a command which has been run on the Managed Cluster. + /// + /// + /// The operations group for this extension method. + /// + /// + /// The name of the resource group. + /// + /// + /// The name of the managed cluster resource. + /// + /// + /// Id of the command. + /// + public static RunCommandResult GetCommandResult(this IManagedClustersOperations operations, string resourceGroupName, string resourceName, string commandId) + { + return operations.GetCommandResultAsync(resourceGroupName, resourceName, commandId).GetAwaiter().GetResult(); + } + + /// + /// Gets the results of a command which has been run on the Managed Cluster. + /// + /// + /// The operations group for this extension method. + /// + /// + /// The name of the resource group. + /// + /// + /// The name of the managed cluster resource. + /// + /// + /// Id of the command. + /// + /// + /// The cancellation token. + /// + public static async Task GetCommandResultAsync(this IManagedClustersOperations operations, string resourceGroupName, string resourceName, string commandId, CancellationToken cancellationToken = default(CancellationToken)) + { + using (var _result = await operations.GetCommandResultWithHttpMessagesAsync(resourceGroupName, resourceName, commandId, null, cancellationToken).ConfigureAwait(false)) + { + return _result.Body; + } + } + + /// + /// Gets a list of egress endpoints (network endpoints of all outbound + /// dependencies) in the specified managed cluster. + /// + /// + /// Gets a list of egress endpoints (network endpoints of all outbound + /// dependencies) in the specified managed cluster. The operation returns + /// properties of each egress endpoint. + /// + /// + /// The operations group for this extension method. + /// + /// + /// The name of the resource group. + /// + /// + /// The name of the managed cluster resource. + /// + public static IPage ListOutboundNetworkDependenciesEndpoints(this IManagedClustersOperations operations, string resourceGroupName, string resourceName) + { + return operations.ListOutboundNetworkDependenciesEndpointsAsync(resourceGroupName, resourceName).GetAwaiter().GetResult(); + } + + /// + /// Gets a list of egress endpoints (network endpoints of all outbound + /// dependencies) in the specified managed cluster. /// /// - /// Creates or updates a managed cluster with the specified configuration for - /// agents and Kubernetes version. + /// Gets a list of egress endpoints (network endpoints of all outbound + /// dependencies) in the specified managed cluster. The operation returns + /// properties of each egress endpoint. /// /// /// The operations group for this extension method. @@ -769,8 +918,31 @@ public static AgentPool UpgradeNodeImageVersion(this IManagedClustersOperations /// /// The name of the managed cluster resource. /// + /// + /// The cancellation token. + /// + public static async Task> ListOutboundNetworkDependenciesEndpointsAsync(this IManagedClustersOperations operations, string resourceGroupName, string resourceName, CancellationToken cancellationToken = default(CancellationToken)) + { + using (var _result = await operations.ListOutboundNetworkDependenciesEndpointsWithHttpMessagesAsync(resourceGroupName, resourceName, null, cancellationToken).ConfigureAwait(false)) + { + return _result.Body; + } + } + + /// + /// Creates or updates a managed cluster. + /// + /// + /// The operations group for this extension method. + /// + /// + /// The name of the resource group. + /// + /// + /// The name of the managed cluster resource. + /// /// - /// Parameters supplied to the Create or Update a Managed Cluster operation. + /// The managed cluster to create or update. /// public static ManagedCluster BeginCreateOrUpdate(this IManagedClustersOperations operations, string resourceGroupName, string resourceName, ManagedCluster parameters) { @@ -780,10 +952,6 @@ public static ManagedCluster BeginCreateOrUpdate(this IManagedClustersOperations /// /// Creates or updates a managed cluster. /// - /// - /// Creates or updates a managed cluster with the specified configuration for - /// agents and Kubernetes version. - /// /// /// The operations group for this extension method. /// @@ -794,7 +962,7 @@ public static ManagedCluster BeginCreateOrUpdate(this IManagedClustersOperations /// The name of the managed cluster resource. /// /// - /// Parameters supplied to the Create or Update a Managed Cluster operation. + /// The managed cluster to create or update. /// /// /// The cancellation token. @@ -810,9 +978,6 @@ public static ManagedCluster BeginCreateOrUpdate(this IManagedClustersOperations /// /// Updates tags on a managed cluster. /// - /// - /// Updates a managed cluster with the specified tags. - /// /// /// The operations group for this extension method. /// @@ -833,9 +998,6 @@ public static ManagedCluster BeginCreateOrUpdate(this IManagedClustersOperations /// /// Updates tags on a managed cluster. /// - /// - /// Updates a managed cluster with the specified tags. - /// /// /// The operations group for this extension method. /// @@ -862,9 +1024,6 @@ public static ManagedCluster BeginCreateOrUpdate(this IManagedClustersOperations /// /// Deletes a managed cluster. /// - /// - /// Deletes the managed cluster with a specified resource group and name. - /// /// /// The operations group for this extension method. /// @@ -882,9 +1041,6 @@ public static void BeginDelete(this IManagedClustersOperations operations, strin /// /// Deletes a managed cluster. /// - /// - /// Deletes the managed cluster with a specified resource group and name. - /// /// /// The operations group for this extension method. /// @@ -903,10 +1059,11 @@ public static void BeginDelete(this IManagedClustersOperations operations, strin } /// - /// Reset Service Principal Profile of a managed cluster. + /// Reset the Service Principal Profile of a managed cluster. /// /// - /// Update the service principal Profile for a managed cluster. + /// This action cannot be performed on a cluster that is not using a service + /// principal /// /// /// The operations group for this extension method. @@ -918,8 +1075,7 @@ public static void BeginDelete(this IManagedClustersOperations operations, strin /// The name of the managed cluster resource. /// /// - /// Parameters supplied to the Reset Service Principal Profile operation for a - /// Managed Cluster. + /// The service principal profile to set on the managed cluster. /// public static void BeginResetServicePrincipalProfile(this IManagedClustersOperations operations, string resourceGroupName, string resourceName, ManagedClusterServicePrincipalProfile parameters) { @@ -927,10 +1083,11 @@ public static void BeginResetServicePrincipalProfile(this IManagedClustersOperat } /// - /// Reset Service Principal Profile of a managed cluster. + /// Reset the Service Principal Profile of a managed cluster. /// /// - /// Update the service principal Profile for a managed cluster. + /// This action cannot be performed on a cluster that is not using a service + /// principal /// /// /// The operations group for this extension method. @@ -942,8 +1099,7 @@ public static void BeginResetServicePrincipalProfile(this IManagedClustersOperat /// The name of the managed cluster resource. /// /// - /// Parameters supplied to the Reset Service Principal Profile operation for a - /// Managed Cluster. + /// The service principal profile to set on the managed cluster. /// /// /// The cancellation token. @@ -954,11 +1110,8 @@ public static void BeginResetServicePrincipalProfile(this IManagedClustersOperat } /// - /// Reset AAD Profile of a managed cluster. + /// Reset the AAD Profile of a managed cluster. /// - /// - /// Update the AAD Profile for a managed cluster. - /// /// /// The operations group for this extension method. /// @@ -969,8 +1122,7 @@ public static void BeginResetServicePrincipalProfile(this IManagedClustersOperat /// The name of the managed cluster resource. /// /// - /// Parameters supplied to the Reset AAD Profile operation for a Managed - /// Cluster. + /// The AAD profile to set on the Managed Cluster /// public static void BeginResetAADProfile(this IManagedClustersOperations operations, string resourceGroupName, string resourceName, ManagedClusterAADProfile parameters) { @@ -978,11 +1130,8 @@ public static void BeginResetAADProfile(this IManagedClustersOperations operatio } /// - /// Reset AAD Profile of a managed cluster. + /// Reset the AAD Profile of a managed cluster. /// - /// - /// Update the AAD Profile for a managed cluster. - /// /// /// The operations group for this extension method. /// @@ -993,8 +1142,7 @@ public static void BeginResetAADProfile(this IManagedClustersOperations operatio /// The name of the managed cluster resource. /// /// - /// Parameters supplied to the Reset AAD Profile operation for a Managed - /// Cluster. + /// The AAD profile to set on the Managed Cluster /// /// /// The cancellation token. @@ -1005,10 +1153,12 @@ public static void BeginResetAADProfile(this IManagedClustersOperations operatio } /// - /// Rotate certificates of a managed cluster. + /// Rotates the certificates of a managed cluster. /// /// - /// Rotate certificates of a managed cluster. + /// See [Certificate + /// rotation](https://docs.microsoft.com/azure/aks/certificate-rotation) for + /// more details about rotating managed cluster certificates. /// /// /// The operations group for this extension method. @@ -1025,10 +1175,12 @@ public static void BeginRotateClusterCertificates(this IManagedClustersOperation } /// - /// Rotate certificates of a managed cluster. + /// Rotates the certificates of a managed cluster. /// /// - /// Rotate certificates of a managed cluster. + /// See [Certificate + /// rotation](https://docs.microsoft.com/azure/aks/certificate-rotation) for + /// more details about rotating managed cluster certificates. /// /// /// The operations group for this extension method. @@ -1048,10 +1200,87 @@ public static void BeginRotateClusterCertificates(this IManagedClustersOperation } /// - /// Upgrade node image version of an agent pool to the latest. + /// Stops a Managed Cluster + /// + /// + /// This can only be performed on Azure Virtual Machine Scale set backed + /// clusters. Stopping a cluster stops the control plane and agent nodes + /// entirely, while maintaining all object and cluster state. A cluster does + /// not accrue charges while it is stopped. See [stopping a + /// cluster](https://docs.microsoft.com/azure/aks/start-stop-cluster) for more + /// details about stopping a cluster. + /// + /// + /// The operations group for this extension method. + /// + /// + /// The name of the resource group. + /// + /// + /// The name of the managed cluster resource. + /// + public static void BeginStop(this IManagedClustersOperations operations, string resourceGroupName, string resourceName) + { + operations.BeginStopAsync(resourceGroupName, resourceName).GetAwaiter().GetResult(); + } + + /// + /// Stops a Managed Cluster + /// + /// + /// This can only be performed on Azure Virtual Machine Scale set backed + /// clusters. Stopping a cluster stops the control plane and agent nodes + /// entirely, while maintaining all object and cluster state. A cluster does + /// not accrue charges while it is stopped. See [stopping a + /// cluster](https://docs.microsoft.com/azure/aks/start-stop-cluster) for more + /// details about stopping a cluster. + /// + /// + /// The operations group for this extension method. + /// + /// + /// The name of the resource group. + /// + /// + /// The name of the managed cluster resource. + /// + /// + /// The cancellation token. + /// + public static async Task BeginStopAsync(this IManagedClustersOperations operations, string resourceGroupName, string resourceName, CancellationToken cancellationToken = default(CancellationToken)) + { + (await operations.BeginStopWithHttpMessagesAsync(resourceGroupName, resourceName, null, cancellationToken).ConfigureAwait(false)).Dispose(); + } + + /// + /// Starts a previously stopped Managed Cluster + /// + /// + /// See [starting a + /// cluster](https://docs.microsoft.com/azure/aks/start-stop-cluster) for more + /// details about starting a cluster. + /// + /// + /// The operations group for this extension method. + /// + /// + /// The name of the resource group. + /// + /// + /// The name of the managed cluster resource. + /// + public static void BeginStart(this IManagedClustersOperations operations, string resourceGroupName, string resourceName) + { + operations.BeginStartAsync(resourceGroupName, resourceName).GetAwaiter().GetResult(); + } + + /// + /// Starts a previously stopped Managed Cluster /// /// - /// Upgrade node image version of an agent pool to the latest. + /// See [starting a + /// cluster](https://docs.microsoft.com/azure/aks/start-stop-cluster) for more + /// details about starting a cluster. /// /// /// The operations group for this extension method. @@ -1062,19 +1291,21 @@ public static void BeginRotateClusterCertificates(this IManagedClustersOperation /// /// The name of the managed cluster resource. /// - /// - /// The name of the agent pool. + /// + /// The cancellation token. /// - public static AgentPool BeginUpgradeNodeImageVersion(this IManagedClustersOperations operations, string resourceGroupName, string resourceName, string agentPoolName) + public static async Task BeginStartAsync(this IManagedClustersOperations operations, string resourceGroupName, string resourceName, CancellationToken cancellationToken = default(CancellationToken)) { - return operations.BeginUpgradeNodeImageVersionAsync(resourceGroupName, resourceName, agentPoolName).GetAwaiter().GetResult(); + (await operations.BeginStartWithHttpMessagesAsync(resourceGroupName, resourceName, null, cancellationToken).ConfigureAwait(false)).Dispose(); } /// - /// Upgrade node image version of an agent pool to the latest. + /// Submits a command to run against the Managed Cluster. /// /// - /// Upgrade node image version of an agent pool to the latest. + /// AKS will create a pod to run the command. This is primarily useful for + /// private clusters. For more information see [AKS Run + /// Command](https://docs.microsoft.com/azure/aks/private-clusters#aks-run-command-preview). /// /// /// The operations group for this extension method. @@ -1085,15 +1316,40 @@ public static AgentPool BeginUpgradeNodeImageVersion(this IManagedClustersOperat /// /// The name of the managed cluster resource. /// - /// - /// The name of the agent pool. + /// + /// The run command request + /// + public static RunCommandResult BeginRunCommand(this IManagedClustersOperations operations, string resourceGroupName, string resourceName, RunCommandRequest requestPayload) + { + return operations.BeginRunCommandAsync(resourceGroupName, resourceName, requestPayload).GetAwaiter().GetResult(); + } + + /// + /// Submits a command to run against the Managed Cluster. + /// + /// + /// AKS will create a pod to run the command. This is primarily useful for + /// private clusters. For more information see [AKS Run + /// Command](https://docs.microsoft.com/azure/aks/private-clusters#aks-run-command-preview). + /// + /// + /// The operations group for this extension method. + /// + /// + /// The name of the resource group. + /// + /// + /// The name of the managed cluster resource. + /// + /// + /// The run command request /// /// /// The cancellation token. /// - public static async Task BeginUpgradeNodeImageVersionAsync(this IManagedClustersOperations operations, string resourceGroupName, string resourceName, string agentPoolName, CancellationToken cancellationToken = default(CancellationToken)) + public static async Task BeginRunCommandAsync(this IManagedClustersOperations operations, string resourceGroupName, string resourceName, RunCommandRequest requestPayload, CancellationToken cancellationToken = default(CancellationToken)) { - using (var _result = await operations.BeginUpgradeNodeImageVersionWithHttpMessagesAsync(resourceGroupName, resourceName, agentPoolName, null, cancellationToken).ConfigureAwait(false)) + using (var _result = await operations.BeginRunCommandWithHttpMessagesAsync(resourceGroupName, resourceName, requestPayload, null, cancellationToken).ConfigureAwait(false)) { return _result.Body; } @@ -1102,10 +1358,6 @@ public static AgentPool BeginUpgradeNodeImageVersion(this IManagedClustersOperat /// /// Gets a list of managed clusters in the specified subscription. /// - /// - /// Gets a list of managed clusters in the specified subscription. The - /// operation returns properties of each managed cluster. - /// /// /// The operations group for this extension method. /// @@ -1120,10 +1372,6 @@ public static IPage ListNext(this IManagedClustersOperations ope /// /// Gets a list of managed clusters in the specified subscription. /// - /// - /// Gets a list of managed clusters in the specified subscription. The - /// operation returns properties of each managed cluster. - /// /// /// The operations group for this extension method. /// @@ -1144,10 +1392,6 @@ public static IPage ListNext(this IManagedClustersOperations ope /// /// Lists managed clusters in the specified subscription and resource group. /// - /// - /// Lists managed clusters in the specified subscription and resource group. - /// The operation returns properties of each managed cluster. - /// /// /// The operations group for this extension method. /// @@ -1162,10 +1406,6 @@ public static IPage ListByResourceGroupNext(this IManagedCluster /// /// Lists managed clusters in the specified subscription and resource group. /// - /// - /// Lists managed clusters in the specified subscription and resource group. - /// The operation returns properties of each managed cluster. - /// /// /// The operations group for this extension method. /// @@ -1183,5 +1423,51 @@ public static IPage ListByResourceGroupNext(this IManagedCluster } } + /// + /// Gets a list of egress endpoints (network endpoints of all outbound + /// dependencies) in the specified managed cluster. + /// + /// + /// Gets a list of egress endpoints (network endpoints of all outbound + /// dependencies) in the specified managed cluster. The operation returns + /// properties of each egress endpoint. + /// + /// + /// The operations group for this extension method. + /// + /// + /// The NextLink from the previous successful call to List operation. + /// + public static IPage ListOutboundNetworkDependenciesEndpointsNext(this IManagedClustersOperations operations, string nextPageLink) + { + return operations.ListOutboundNetworkDependenciesEndpointsNextAsync(nextPageLink).GetAwaiter().GetResult(); + } + + /// + /// Gets a list of egress endpoints (network endpoints of all outbound + /// dependencies) in the specified managed cluster. + /// + /// + /// Gets a list of egress endpoints (network endpoints of all outbound + /// dependencies) in the specified managed cluster. The operation returns + /// properties of each egress endpoint. + /// + /// + /// The operations group for this extension method. + /// + /// + /// The NextLink from the previous successful call to List operation. + /// + /// + /// The cancellation token. + /// + public static async Task> ListOutboundNetworkDependenciesEndpointsNextAsync(this IManagedClustersOperations operations, string nextPageLink, CancellationToken cancellationToken = default(CancellationToken)) + { + using (var _result = await operations.ListOutboundNetworkDependenciesEndpointsNextWithHttpMessagesAsync(nextPageLink, null, cancellationToken).ConfigureAwait(false)) + { + return _result.Body; + } + } + } } diff --git a/sdk/containerservice/Microsoft.Azure.Management.ContainerService/src/Generated/Models/AgentPool.cs b/sdk/containerservice/Microsoft.Azure.Management.ContainerService/src/Generated/Models/AgentPool.cs index 6fa595e91f0c..58fbd8379397 100644 --- a/sdk/containerservice/Microsoft.Azure.Management.ContainerService/src/Generated/Models/AgentPool.cs +++ b/sdk/containerservice/Microsoft.Azure.Management.ContainerService/src/Generated/Models/AgentPool.cs @@ -40,124 +40,91 @@ public AgentPool() /// resource. /// Resource type /// Number of agents (VMs) to host docker - /// containers. Allowed values must be in the range of 0 to 100 - /// (inclusive) for user pools and in the range of 1 to 100 (inclusive) - /// for system pools. The default value is 1. - /// Size of agent VMs. Possible values include: - /// 'Standard_A1', 'Standard_A10', 'Standard_A11', 'Standard_A1_v2', - /// 'Standard_A2', 'Standard_A2_v2', 'Standard_A2m_v2', 'Standard_A3', - /// 'Standard_A4', 'Standard_A4_v2', 'Standard_A4m_v2', 'Standard_A5', - /// 'Standard_A6', 'Standard_A7', 'Standard_A8', 'Standard_A8_v2', - /// 'Standard_A8m_v2', 'Standard_A9', 'Standard_B2ms', 'Standard_B2s', - /// 'Standard_B4ms', 'Standard_B8ms', 'Standard_D1', 'Standard_D11', - /// 'Standard_D11_v2', 'Standard_D11_v2_Promo', 'Standard_D12', - /// 'Standard_D12_v2', 'Standard_D12_v2_Promo', 'Standard_D13', - /// 'Standard_D13_v2', 'Standard_D13_v2_Promo', 'Standard_D14', - /// 'Standard_D14_v2', 'Standard_D14_v2_Promo', 'Standard_D15_v2', - /// 'Standard_D16_v3', 'Standard_D16s_v3', 'Standard_D1_v2', - /// 'Standard_D2', 'Standard_D2_v2', 'Standard_D2_v2_Promo', - /// 'Standard_D2_v3', 'Standard_D2s_v3', 'Standard_D3', - /// 'Standard_D32_v3', 'Standard_D32s_v3', 'Standard_D3_v2', - /// 'Standard_D3_v2_Promo', 'Standard_D4', 'Standard_D4_v2', - /// 'Standard_D4_v2_Promo', 'Standard_D4_v3', 'Standard_D4s_v3', - /// 'Standard_D5_v2', 'Standard_D5_v2_Promo', 'Standard_D64_v3', - /// 'Standard_D64s_v3', 'Standard_D8_v3', 'Standard_D8s_v3', - /// 'Standard_DS1', 'Standard_DS11', 'Standard_DS11_v2', - /// 'Standard_DS11_v2_Promo', 'Standard_DS12', 'Standard_DS12_v2', - /// 'Standard_DS12_v2_Promo', 'Standard_DS13', 'Standard_DS13-2_v2', - /// 'Standard_DS13-4_v2', 'Standard_DS13_v2', 'Standard_DS13_v2_Promo', - /// 'Standard_DS14', 'Standard_DS14-4_v2', 'Standard_DS14-8_v2', - /// 'Standard_DS14_v2', 'Standard_DS14_v2_Promo', 'Standard_DS15_v2', - /// 'Standard_DS1_v2', 'Standard_DS2', 'Standard_DS2_v2', - /// 'Standard_DS2_v2_Promo', 'Standard_DS3', 'Standard_DS3_v2', - /// 'Standard_DS3_v2_Promo', 'Standard_DS4', 'Standard_DS4_v2', - /// 'Standard_DS4_v2_Promo', 'Standard_DS5_v2', - /// 'Standard_DS5_v2_Promo', 'Standard_E16_v3', 'Standard_E16s_v3', - /// 'Standard_E2_v3', 'Standard_E2s_v3', 'Standard_E32-16s_v3', - /// 'Standard_E32-8s_v3', 'Standard_E32_v3', 'Standard_E32s_v3', - /// 'Standard_E4_v3', 'Standard_E4s_v3', 'Standard_E64-16s_v3', - /// 'Standard_E64-32s_v3', 'Standard_E64_v3', 'Standard_E64s_v3', - /// 'Standard_E8_v3', 'Standard_E8s_v3', 'Standard_F1', 'Standard_F16', - /// 'Standard_F16s', 'Standard_F16s_v2', 'Standard_F1s', 'Standard_F2', - /// 'Standard_F2s', 'Standard_F2s_v2', 'Standard_F32s_v2', - /// 'Standard_F4', 'Standard_F4s', 'Standard_F4s_v2', - /// 'Standard_F64s_v2', 'Standard_F72s_v2', 'Standard_F8', - /// 'Standard_F8s', 'Standard_F8s_v2', 'Standard_G1', 'Standard_G2', - /// 'Standard_G3', 'Standard_G4', 'Standard_G5', 'Standard_GS1', - /// 'Standard_GS2', 'Standard_GS3', 'Standard_GS4', 'Standard_GS4-4', - /// 'Standard_GS4-8', 'Standard_GS5', 'Standard_GS5-16', - /// 'Standard_GS5-8', 'Standard_H16', 'Standard_H16m', - /// 'Standard_H16mr', 'Standard_H16r', 'Standard_H8', 'Standard_H8m', - /// 'Standard_L16s', 'Standard_L32s', 'Standard_L4s', 'Standard_L8s', - /// 'Standard_M128-32ms', 'Standard_M128-64ms', 'Standard_M128ms', - /// 'Standard_M128s', 'Standard_M64-16ms', 'Standard_M64-32ms', - /// 'Standard_M64ms', 'Standard_M64s', 'Standard_NC12', - /// 'Standard_NC12s_v2', 'Standard_NC12s_v3', 'Standard_NC24', - /// 'Standard_NC24r', 'Standard_NC24rs_v2', 'Standard_NC24rs_v3', - /// 'Standard_NC24s_v2', 'Standard_NC24s_v3', 'Standard_NC6', - /// 'Standard_NC6s_v2', 'Standard_NC6s_v3', 'Standard_ND12s', - /// 'Standard_ND24rs', 'Standard_ND24s', 'Standard_ND6s', - /// 'Standard_NV12', 'Standard_NV24', 'Standard_NV6' - /// OS Disk Size in GB to be used to specify - /// the disk size for every machine in this master/agent pool. If you - /// specify 0, it will apply the default osDisk size according to the - /// vmSize specified. - /// VNet SubnetID specifies the VNet's - /// subnet identifier. - /// Maximum number of pods that can run on a + /// containers. Allowed values must be in the range of 0 to 1000 + /// (inclusive) for user pools and in the range of 1 to 1000 + /// (inclusive) for system pools. The default value is 1. + /// The size of the agent pool VMs. + /// Possible values include: 'Managed', + /// 'Ephemeral' + /// Possible values include: 'OS', + /// 'Temporary' + /// The ID of the subnet which agent pool + /// nodes and optionally pods will join on startup. + /// The ID of the subnet which pods will join + /// when launched. + /// The maximum number of pods that can run on a /// node. - /// OsType to be used to specify os type. Choose - /// from Linux and Windows. Default to Linux. Possible values include: - /// 'Linux', 'Windows' - /// Maximum number of nodes for + /// Possible values include: 'Linux', + /// 'Windows' + /// Possible values include: 'Ubuntu', + /// 'CBLMariner' + /// The maximum number of nodes for /// auto-scaling - /// Minimum number of nodes for + /// The minimum number of nodes for /// auto-scaling /// Whether to enable /// auto-scaler - /// AgentPoolType represents types of an - /// agent pool. Possible values include: 'VirtualMachineScaleSets', - /// 'AvailabilitySet' - /// AgentPoolMode represents mode of an agent pool. - /// Possible values include: 'System', 'User' - /// Version of orchestrator specified - /// when creating the managed cluster. - /// Version of node image + /// Possible values include: + /// 'VirtualMachineScaleSets', 'AvailabilitySet' + /// Possible values include: 'System', + /// 'User' + /// The version of Kubernetes running + /// on the Agent Pool. + /// The version of node image /// Settings for upgrading the /// agentpool /// The current deployment or - /// provisioning state, which only appears in the response. - /// Availability zones for nodes. Must - /// use VirtualMachineScaleSets AgentPoolType. - /// Enable public IP for nodes - /// ScaleSetPriority to be used to - /// specify virtual machine scale set priority. Default to regular. - /// Possible values include: 'Spot', 'Regular' - /// ScaleSetEvictionPolicy to be - /// used to specify eviction policy for Spot virtual machine scale set. - /// Default to Delete. Possible values include: 'Delete', - /// 'Deallocate' - /// SpotMaxPrice to be used to specify the - /// maximum price you are willing to pay in US Dollars. Possible values - /// are any decimal value greater than zero or -1 which indicates - /// default price to be up-to on-demand. - /// Agent pool tags to be persisted on the agent - /// pool virtual machine scale set. - /// Agent pool node labels to be persisted - /// across all nodes in agent pool. - /// Taints added to new nodes during node pool - /// create and scale. For example, key=value:NoSchedule. + /// provisioning state. + /// Describes whether the Agent Pool is + /// Running or Stopped + /// The list of Availability zones to + /// use for nodes. This can only be specified if the AgentPoolType + /// property is 'VirtualMachineScaleSets'. + /// Whether each node is allocated its + /// own public IP. + /// The public IP prefix ID which VM + /// nodes should use IPs from. + /// The Virtual Machine Scale Set + /// priority. If not specified, the default is 'Regular'. Possible + /// values include: 'Spot', 'Regular' + /// The Virtual Machine Scale Set + /// eviction policy to use. + /// The max price (in US Dollars) you are + /// willing to pay for spot instances. Possible values are any decimal + /// value greater than zero or -1 which indicates default price to be + /// up-to on-demand. + /// The tags to be persisted on the agent pool + /// virtual machine scale set. + /// The node labels to be persisted across all + /// nodes in agent pool. + /// The taints added to new nodes during node + /// pool create and scale. For example, key=value:NoSchedule. /// The ID for Proximity /// Placement Group. - public AgentPool(string id = default(string), string name = default(string), string type = default(string), int? count = default(int?), string vmSize = default(string), int? osDiskSizeGB = default(int?), string vnetSubnetID = default(string), int? maxPods = default(int?), string osType = default(string), int? maxCount = default(int?), int? minCount = default(int?), bool? enableAutoScaling = default(bool?), string agentPoolType = default(string), string mode = default(string), string orchestratorVersion = default(string), string nodeImageVersion = default(string), AgentPoolUpgradeSettings upgradeSettings = default(AgentPoolUpgradeSettings), string provisioningState = default(string), IList availabilityZones = default(IList), bool? enableNodePublicIP = default(bool?), string scaleSetPriority = default(string), string scaleSetEvictionPolicy = default(string), double? spotMaxPrice = default(double?), IDictionary tags = default(IDictionary), IDictionary nodeLabels = default(IDictionary), IList nodeTaints = default(IList), string proximityPlacementGroupID = default(string)) + /// The Kubelet configuration on the agent + /// pool nodes. + /// The OS configuration of Linux agent + /// nodes. + /// Whether to enable host based + /// OS and data drive encryption. + /// Whether to enable UltraSSD + /// Whether to use a FIPS-enabled OS. + /// GPUInstanceProfile to be used to + /// specify GPU MIG instance profile for supported GPU VM SKU. Possible + /// values include: 'MIG1g', 'MIG2g', 'MIG3g', 'MIG4g', 'MIG7g' + public AgentPool(string id = default(string), string name = default(string), string type = default(string), int? count = default(int?), string vmSize = default(string), int? osDiskSizeGB = default(int?), string osDiskType = default(string), string kubeletDiskType = default(string), string vnetSubnetID = default(string), string podSubnetID = default(string), int? maxPods = default(int?), string osType = default(string), string osSKU = default(string), int? maxCount = default(int?), int? minCount = default(int?), bool? enableAutoScaling = default(bool?), string agentPoolType = default(string), string mode = default(string), string orchestratorVersion = default(string), string nodeImageVersion = default(string), AgentPoolUpgradeSettings upgradeSettings = default(AgentPoolUpgradeSettings), string provisioningState = default(string), PowerState powerState = default(PowerState), IList availabilityZones = default(IList), bool? enableNodePublicIP = default(bool?), string nodePublicIPPrefixID = default(string), string scaleSetPriority = default(string), string scaleSetEvictionPolicy = default(string), double? spotMaxPrice = default(double?), IDictionary tags = default(IDictionary), IDictionary nodeLabels = default(IDictionary), IList nodeTaints = default(IList), string proximityPlacementGroupID = default(string), KubeletConfig kubeletConfig = default(KubeletConfig), LinuxOSConfig linuxOSConfig = default(LinuxOSConfig), bool? enableEncryptionAtHost = default(bool?), bool? enableUltraSSD = default(bool?), bool? enableFIPS = default(bool?), string gpuInstanceProfile = default(string)) : base(id, name, type) { Count = count; VmSize = vmSize; OsDiskSizeGB = osDiskSizeGB; + OsDiskType = osDiskType; + KubeletDiskType = kubeletDiskType; VnetSubnetID = vnetSubnetID; + PodSubnetID = podSubnetID; MaxPods = maxPods; OsType = osType; + OsSKU = osSKU; MaxCount = maxCount; MinCount = minCount; EnableAutoScaling = enableAutoScaling; @@ -167,8 +134,10 @@ public AgentPool() NodeImageVersion = nodeImageVersion; UpgradeSettings = upgradeSettings; ProvisioningState = provisioningState; + PowerState = powerState; AvailabilityZones = availabilityZones; EnableNodePublicIP = enableNodePublicIP; + NodePublicIPPrefixID = nodePublicIPPrefixID; ScaleSetPriority = scaleSetPriority; ScaleSetEvictionPolicy = scaleSetEvictionPolicy; SpotMaxPrice = spotMaxPrice; @@ -176,6 +145,12 @@ public AgentPool() NodeLabels = nodeLabels; NodeTaints = nodeTaints; ProximityPlacementGroupID = proximityPlacementGroupID; + KubeletConfig = kubeletConfig; + LinuxOSConfig = linuxOSConfig; + EnableEncryptionAtHost = enableEncryptionAtHost; + EnableUltraSSD = enableUltraSSD; + EnableFIPS = enableFIPS; + GpuInstanceProfile = gpuInstanceProfile; CustomInit(); } @@ -186,110 +161,93 @@ public AgentPool() /// /// Gets or sets number of agents (VMs) to host docker containers. - /// Allowed values must be in the range of 0 to 100 (inclusive) for - /// user pools and in the range of 1 to 100 (inclusive) for system + /// Allowed values must be in the range of 0 to 1000 (inclusive) for + /// user pools and in the range of 1 to 1000 (inclusive) for system /// pools. The default value is 1. /// [JsonProperty(PropertyName = "properties.count")] public int? Count { get; set; } /// - /// Gets or sets size of agent VMs. Possible values include: - /// 'Standard_A1', 'Standard_A10', 'Standard_A11', 'Standard_A1_v2', - /// 'Standard_A2', 'Standard_A2_v2', 'Standard_A2m_v2', 'Standard_A3', - /// 'Standard_A4', 'Standard_A4_v2', 'Standard_A4m_v2', 'Standard_A5', - /// 'Standard_A6', 'Standard_A7', 'Standard_A8', 'Standard_A8_v2', - /// 'Standard_A8m_v2', 'Standard_A9', 'Standard_B2ms', 'Standard_B2s', - /// 'Standard_B4ms', 'Standard_B8ms', 'Standard_D1', 'Standard_D11', - /// 'Standard_D11_v2', 'Standard_D11_v2_Promo', 'Standard_D12', - /// 'Standard_D12_v2', 'Standard_D12_v2_Promo', 'Standard_D13', - /// 'Standard_D13_v2', 'Standard_D13_v2_Promo', 'Standard_D14', - /// 'Standard_D14_v2', 'Standard_D14_v2_Promo', 'Standard_D15_v2', - /// 'Standard_D16_v3', 'Standard_D16s_v3', 'Standard_D1_v2', - /// 'Standard_D2', 'Standard_D2_v2', 'Standard_D2_v2_Promo', - /// 'Standard_D2_v3', 'Standard_D2s_v3', 'Standard_D3', - /// 'Standard_D32_v3', 'Standard_D32s_v3', 'Standard_D3_v2', - /// 'Standard_D3_v2_Promo', 'Standard_D4', 'Standard_D4_v2', - /// 'Standard_D4_v2_Promo', 'Standard_D4_v3', 'Standard_D4s_v3', - /// 'Standard_D5_v2', 'Standard_D5_v2_Promo', 'Standard_D64_v3', - /// 'Standard_D64s_v3', 'Standard_D8_v3', 'Standard_D8s_v3', - /// 'Standard_DS1', 'Standard_DS11', 'Standard_DS11_v2', - /// 'Standard_DS11_v2_Promo', 'Standard_DS12', 'Standard_DS12_v2', - /// 'Standard_DS12_v2_Promo', 'Standard_DS13', 'Standard_DS13-2_v2', - /// 'Standard_DS13-4_v2', 'Standard_DS13_v2', 'Standard_DS13_v2_Promo', - /// 'Standard_DS14', 'Standard_DS14-4_v2', 'Standard_DS14-8_v2', - /// 'Standard_DS14_v2', 'Standard_DS14_v2_Promo', 'Standard_DS15_v2', - /// 'Standard_DS1_v2', 'Standard_DS2', 'Standard_DS2_v2', - /// 'Standard_DS2_v2_Promo', 'Standard_DS3', 'Standard_DS3_v2', - /// 'Standard_DS3_v2_Promo', 'Standard_DS4', 'Standard_DS4_v2', - /// 'Standard_DS4_v2_Promo', 'Standard_DS5_v2', - /// 'Standard_DS5_v2_Promo', 'Standard_E16_v3', 'Standard_E16s_v3', - /// 'Standard_E2_v3', 'Standard_E2s_v3', 'Standard_E32-16s_v3', - /// 'Standard_E32-8s_v3', 'Standard_E32_v3', 'Standard_E32s_v3', - /// 'Standard_E4_v3', 'Standard_E4s_v3', 'Standard_E64-16s_v3', - /// 'Standard_E64-32s_v3', 'Standard_E64_v3', 'Standard_E64s_v3', - /// 'Standard_E8_v3', 'Standard_E8s_v3', 'Standard_F1', 'Standard_F16', - /// 'Standard_F16s', 'Standard_F16s_v2', 'Standard_F1s', 'Standard_F2', - /// 'Standard_F2s', 'Standard_F2s_v2', 'Standard_F32s_v2', - /// 'Standard_F4', 'Standard_F4s', 'Standard_F4s_v2', - /// 'Standard_F64s_v2', 'Standard_F72s_v2', 'Standard_F8', - /// 'Standard_F8s', 'Standard_F8s_v2', 'Standard_G1', 'Standard_G2', - /// 'Standard_G3', 'Standard_G4', 'Standard_G5', 'Standard_GS1', - /// 'Standard_GS2', 'Standard_GS3', 'Standard_GS4', 'Standard_GS4-4', - /// 'Standard_GS4-8', 'Standard_GS5', 'Standard_GS5-16', - /// 'Standard_GS5-8', 'Standard_H16', 'Standard_H16m', - /// 'Standard_H16mr', 'Standard_H16r', 'Standard_H8', 'Standard_H8m', - /// 'Standard_L16s', 'Standard_L32s', 'Standard_L4s', 'Standard_L8s', - /// 'Standard_M128-32ms', 'Standard_M128-64ms', 'Standard_M128ms', - /// 'Standard_M128s', 'Standard_M64-16ms', 'Standard_M64-32ms', - /// 'Standard_M64ms', 'Standard_M64s', 'Standard_NC12', - /// 'Standard_NC12s_v2', 'Standard_NC12s_v3', 'Standard_NC24', - /// 'Standard_NC24r', 'Standard_NC24rs_v2', 'Standard_NC24rs_v3', - /// 'Standard_NC24s_v2', 'Standard_NC24s_v3', 'Standard_NC6', - /// 'Standard_NC6s_v2', 'Standard_NC6s_v3', 'Standard_ND12s', - /// 'Standard_ND24rs', 'Standard_ND24s', 'Standard_ND6s', - /// 'Standard_NV12', 'Standard_NV24', 'Standard_NV6' + /// Gets or sets the size of the agent pool VMs. /// + /// + /// VM size availability varies by region. If a node contains + /// insufficient compute resources (memory, cpu, etc) pods might fail + /// to run correctly. For more details on restricted VM sizes, see: + /// https://docs.microsoft.com/azure/aks/quotas-skus-regions + /// [JsonProperty(PropertyName = "properties.vmSize")] public string VmSize { get; set; } /// - /// Gets or sets OS Disk Size in GB to be used to specify the disk size - /// for every machine in this master/agent pool. If you specify 0, it - /// will apply the default osDisk size according to the vmSize - /// specified. /// [JsonProperty(PropertyName = "properties.osDiskSizeGB")] public int? OsDiskSizeGB { get; set; } /// - /// Gets or sets vNet SubnetID specifies the VNet's subnet identifier. + /// Gets or sets possible values include: 'Managed', 'Ephemeral' /// + [JsonProperty(PropertyName = "properties.osDiskType")] + public string OsDiskType { get; set; } + + /// + /// Gets or sets possible values include: 'OS', 'Temporary' + /// + [JsonProperty(PropertyName = "properties.kubeletDiskType")] + public string KubeletDiskType { get; set; } + + /// + /// Gets or sets the ID of the subnet which agent pool nodes and + /// optionally pods will join on startup. + /// + /// + /// If this is not specified, a VNET and subnet will be generated and + /// used. If no podSubnetID is specified, this applies to nodes and + /// pods, otherwise it applies to just nodes. This is of the form: + /// /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworks/{virtualNetworkName}/subnets/{subnetName} + /// [JsonProperty(PropertyName = "properties.vnetSubnetID")] public string VnetSubnetID { get; set; } /// - /// Gets or sets maximum number of pods that can run on a node. + /// Gets or sets the ID of the subnet which pods will join when + /// launched. + /// + /// + /// If omitted, pod IPs are statically assigned on the node subnet (see + /// vnetSubnetID for more details). This is of the form: + /// /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworks/{virtualNetworkName}/subnets/{subnetName} + /// + [JsonProperty(PropertyName = "properties.podSubnetID")] + public string PodSubnetID { get; set; } + + /// + /// Gets or sets the maximum number of pods that can run on a node. /// [JsonProperty(PropertyName = "properties.maxPods")] public int? MaxPods { get; set; } /// - /// Gets or sets osType to be used to specify os type. Choose from - /// Linux and Windows. Default to Linux. Possible values include: - /// 'Linux', 'Windows' + /// Gets or sets possible values include: 'Linux', 'Windows' /// [JsonProperty(PropertyName = "properties.osType")] public string OsType { get; set; } /// - /// Gets or sets maximum number of nodes for auto-scaling + /// Gets or sets possible values include: 'Ubuntu', 'CBLMariner' + /// + [JsonProperty(PropertyName = "properties.osSKU")] + public string OsSKU { get; set; } + + /// + /// Gets or sets the maximum number of nodes for auto-scaling /// [JsonProperty(PropertyName = "properties.maxCount")] public int? MaxCount { get; set; } /// - /// Gets or sets minimum number of nodes for auto-scaling + /// Gets or sets the minimum number of nodes for auto-scaling /// [JsonProperty(PropertyName = "properties.minCount")] public int? MinCount { get; set; } @@ -301,29 +259,35 @@ public AgentPool() public bool? EnableAutoScaling { get; set; } /// - /// Gets or sets agentPoolType represents types of an agent pool. - /// Possible values include: 'VirtualMachineScaleSets', + /// Gets or sets possible values include: 'VirtualMachineScaleSets', /// 'AvailabilitySet' /// [JsonProperty(PropertyName = "properties.type")] public string AgentPoolType { get; set; } /// - /// Gets or sets agentPoolMode represents mode of an agent pool. - /// Possible values include: 'System', 'User' + /// Gets or sets possible values include: 'System', 'User' /// [JsonProperty(PropertyName = "properties.mode")] public string Mode { get; set; } /// - /// Gets or sets version of orchestrator specified when creating the - /// managed cluster. + /// Gets or sets the version of Kubernetes running on the Agent Pool. /// + /// + /// As a best practice, you should upgrade all node pools in an AKS + /// cluster to the same Kubernetes version. The node pool version must + /// have the same major version as the control plane. The node pool + /// minor version must be within two minor versions of the control + /// plane version. The node pool version cannot be greater than the + /// control plane version. For more information see [upgrading a node + /// pool](https://docs.microsoft.com/azure/aks/use-multiple-node-pools#upgrade-a-node-pool). + /// [JsonProperty(PropertyName = "properties.orchestratorVersion")] public string OrchestratorVersion { get; set; } /// - /// Gets version of node image + /// Gets the version of node image /// [JsonProperty(PropertyName = "properties.nodeImageVersion")] public string NodeImageVersion { get; private set; } @@ -335,67 +299,102 @@ public AgentPool() public AgentPoolUpgradeSettings UpgradeSettings { get; set; } /// - /// Gets the current deployment or provisioning state, which only - /// appears in the response. + /// Gets the current deployment or provisioning state. /// [JsonProperty(PropertyName = "properties.provisioningState")] public string ProvisioningState { get; private set; } /// - /// Gets or sets availability zones for nodes. Must use - /// VirtualMachineScaleSets AgentPoolType. + /// Gets describes whether the Agent Pool is Running or Stopped + /// + [JsonProperty(PropertyName = "properties.powerState")] + public PowerState PowerState { get; private set; } + + /// + /// Gets or sets the list of Availability zones to use for nodes. This + /// can only be specified if the AgentPoolType property is + /// 'VirtualMachineScaleSets'. /// [JsonProperty(PropertyName = "properties.availabilityZones")] public IList AvailabilityZones { get; set; } /// - /// Gets or sets enable public IP for nodes + /// Gets or sets whether each node is allocated its own public IP. /// + /// + /// Some scenarios may require nodes in a node pool to receive their + /// own dedicated public IP addresses. A common scenario is for gaming + /// workloads, where a console needs to make a direct connection to a + /// cloud virtual machine to minimize hops. For more information see + /// [assigning a public IP per + /// node](https://docs.microsoft.com/azure/aks/use-multiple-node-pools#assign-a-public-ip-per-node-for-your-node-pools). + /// The default is false. + /// [JsonProperty(PropertyName = "properties.enableNodePublicIP")] public bool? EnableNodePublicIP { get; set; } /// - /// Gets or sets scaleSetPriority to be used to specify virtual machine - /// scale set priority. Default to regular. Possible values include: + /// Gets or sets the public IP prefix ID which VM nodes should use IPs + /// from. + /// + /// + /// This is of the form: + /// /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/publicIPPrefixes/{publicIPPrefixName} + /// + [JsonProperty(PropertyName = "properties.nodePublicIPPrefixID")] + public string NodePublicIPPrefixID { get; set; } + + /// + /// Gets or sets the Virtual Machine Scale Set priority. If not + /// specified, the default is 'Regular'. Possible values include: /// 'Spot', 'Regular' /// [JsonProperty(PropertyName = "properties.scaleSetPriority")] public string ScaleSetPriority { get; set; } /// - /// Gets or sets scaleSetEvictionPolicy to be used to specify eviction - /// policy for Spot virtual machine scale set. Default to Delete. - /// Possible values include: 'Delete', 'Deallocate' + /// Gets or sets the Virtual Machine Scale Set eviction policy to use. /// + /// + /// This cannot be specified unless the scaleSetPriority is 'Spot'. If + /// not specified, the default is 'Delete'. Possible values include: + /// 'Delete', 'Deallocate' + /// [JsonProperty(PropertyName = "properties.scaleSetEvictionPolicy")] public string ScaleSetEvictionPolicy { get; set; } /// - /// Gets or sets spotMaxPrice to be used to specify the maximum price - /// you are willing to pay in US Dollars. Possible values are any - /// decimal value greater than zero or -1 which indicates default price - /// to be up-to on-demand. + /// Gets or sets the max price (in US Dollars) you are willing to pay + /// for spot instances. Possible values are any decimal value greater + /// than zero or -1 which indicates default price to be up-to + /// on-demand. /// + /// + /// Possible values are any decimal value greater than zero or -1 which + /// indicates the willingness to pay any on-demand price. For more + /// details on spot pricing, see [spot VMs + /// pricing](https://docs.microsoft.com/azure/virtual-machines/spot-vms#pricing) + /// [JsonProperty(PropertyName = "properties.spotMaxPrice")] public double? SpotMaxPrice { get; set; } /// - /// Gets or sets agent pool tags to be persisted on the agent pool - /// virtual machine scale set. + /// Gets or sets the tags to be persisted on the agent pool virtual + /// machine scale set. /// [JsonProperty(PropertyName = "properties.tags")] public IDictionary Tags { get; set; } /// - /// Gets or sets agent pool node labels to be persisted across all - /// nodes in agent pool. + /// Gets or sets the node labels to be persisted across all nodes in + /// agent pool. /// [JsonProperty(PropertyName = "properties.nodeLabels")] public IDictionary NodeLabels { get; set; } /// - /// Gets or sets taints added to new nodes during node pool create and - /// scale. For example, key=value:NoSchedule. + /// Gets or sets the taints added to new nodes during node pool create + /// and scale. For example, key=value:NoSchedule. /// [JsonProperty(PropertyName = "properties.nodeTaints")] public IList NodeTaints { get; set; } @@ -406,5 +405,67 @@ public AgentPool() [JsonProperty(PropertyName = "properties.proximityPlacementGroupID")] public string ProximityPlacementGroupID { get; set; } + /// + /// Gets or sets the Kubelet configuration on the agent pool nodes. + /// + [JsonProperty(PropertyName = "properties.kubeletConfig")] + public KubeletConfig KubeletConfig { get; set; } + + /// + /// Gets or sets the OS configuration of Linux agent nodes. + /// + [JsonProperty(PropertyName = "properties.linuxOSConfig")] + public LinuxOSConfig LinuxOSConfig { get; set; } + + /// + /// Gets or sets whether to enable host based OS and data drive + /// encryption. + /// + /// + /// This is only supported on certain VM sizes and in certain Azure + /// regions. For more information, see: + /// https://docs.microsoft.com/azure/aks/enable-host-encryption + /// + [JsonProperty(PropertyName = "properties.enableEncryptionAtHost")] + public bool? EnableEncryptionAtHost { get; set; } + + /// + /// Gets or sets whether to enable UltraSSD + /// + [JsonProperty(PropertyName = "properties.enableUltraSSD")] + public bool? EnableUltraSSD { get; set; } + + /// + /// Gets or sets whether to use a FIPS-enabled OS. + /// + /// + /// See [Add a FIPS-enabled node + /// pool](https://docs.microsoft.com/azure/aks/use-multiple-node-pools#add-a-fips-enabled-node-pool-preview) + /// for more details. + /// + [JsonProperty(PropertyName = "properties.enableFIPS")] + public bool? EnableFIPS { get; set; } + + /// + /// Gets or sets gPUInstanceProfile to be used to specify GPU MIG + /// instance profile for supported GPU VM SKU. Possible values include: + /// 'MIG1g', 'MIG2g', 'MIG3g', 'MIG4g', 'MIG7g' + /// + [JsonProperty(PropertyName = "properties.gpuInstanceProfile")] + public string GpuInstanceProfile { get; set; } + + /// + /// Validate the object. + /// + /// + /// Thrown if validation fails + /// + public virtual void Validate() + { + if (KubeletConfig != null) + { + KubeletConfig.Validate(); + } + } } } diff --git a/sdk/containerservice/Microsoft.Azure.Management.ContainerService/src/Generated/Models/AgentPoolAvailableVersions.cs b/sdk/containerservice/Microsoft.Azure.Management.ContainerService/src/Generated/Models/AgentPoolAvailableVersions.cs index aef063574593..45b6877f4dbb 100644 --- a/sdk/containerservice/Microsoft.Azure.Management.ContainerService/src/Generated/Models/AgentPoolAvailableVersions.cs +++ b/sdk/containerservice/Microsoft.Azure.Management.ContainerService/src/Generated/Models/AgentPoolAvailableVersions.cs @@ -34,11 +34,9 @@ public AgentPoolAvailableVersions() /// /// Initializes a new instance of the AgentPoolAvailableVersions class. /// - /// Id of the agent pool available versions. - /// Name of the agent pool available - /// versions. - /// Type of the agent pool available - /// versions. + /// The ID of the agent pool version list. + /// The name of the agent pool version list. + /// Type of the agent pool version list. /// List of versions available for /// agent pool. public AgentPoolAvailableVersions(string id = default(string), string name = default(string), string type = default(string), IList agentPoolVersions = default(IList)) @@ -56,19 +54,19 @@ public AgentPoolAvailableVersions() partial void CustomInit(); /// - /// Gets id of the agent pool available versions. + /// Gets the ID of the agent pool version list. /// [JsonProperty(PropertyName = "id")] public string Id { get; private set; } /// - /// Gets name of the agent pool available versions. + /// Gets the name of the agent pool version list. /// [JsonProperty(PropertyName = "name")] public string Name { get; private set; } /// - /// Gets type of the agent pool available versions. + /// Gets type of the agent pool version list. /// [JsonProperty(PropertyName = "type")] public string Type { get; private set; } diff --git a/sdk/containerservice/Microsoft.Azure.Management.ContainerService/src/Generated/Models/AgentPoolAvailableVersionsPropertiesAgentPoolVersionsItem.cs b/sdk/containerservice/Microsoft.Azure.Management.ContainerService/src/Generated/Models/AgentPoolAvailableVersionsPropertiesAgentPoolVersionsItem.cs index 8642c1dbda4c..36db10a23d0b 100644 --- a/sdk/containerservice/Microsoft.Azure.Management.ContainerService/src/Generated/Models/AgentPoolAvailableVersionsPropertiesAgentPoolVersionsItem.cs +++ b/sdk/containerservice/Microsoft.Azure.Management.ContainerService/src/Generated/Models/AgentPoolAvailableVersionsPropertiesAgentPoolVersionsItem.cs @@ -30,8 +30,8 @@ public AgentPoolAvailableVersionsPropertiesAgentPoolVersionsItem() /// /// Whether this version is the default /// agent pool version. - /// Kubernetes version (major, minor, - /// patch). + /// The Kubernetes version + /// (major.minor.patch). /// Whether Kubernetes version is currently in /// preview. public AgentPoolAvailableVersionsPropertiesAgentPoolVersionsItem(bool? defaultProperty = default(bool?), string kubernetesVersion = default(string), bool? isPreview = default(bool?)) @@ -55,7 +55,7 @@ public AgentPoolAvailableVersionsPropertiesAgentPoolVersionsItem() public bool? DefaultProperty { get; set; } /// - /// Gets or sets kubernetes version (major, minor, patch). + /// Gets or sets the Kubernetes version (major.minor.patch). /// [JsonProperty(PropertyName = "kubernetesVersion")] public string KubernetesVersion { get; set; } diff --git a/sdk/containerservice/Microsoft.Azure.Management.ContainerService/src/Generated/Models/AgentPoolMode.cs b/sdk/containerservice/Microsoft.Azure.Management.ContainerService/src/Generated/Models/AgentPoolMode.cs index f54700de2167..184ed2de99a5 100644 --- a/sdk/containerservice/Microsoft.Azure.Management.ContainerService/src/Generated/Models/AgentPoolMode.cs +++ b/sdk/containerservice/Microsoft.Azure.Management.ContainerService/src/Generated/Models/AgentPoolMode.cs @@ -16,7 +16,16 @@ namespace Microsoft.Azure.Management.ContainerService.Models /// public static class AgentPoolMode { + /// + /// System agent pools are primarily for hosting critical system pods + /// such as CoreDNS and metrics-server. System agent pools osType must + /// be Linux. System agent pools VM SKU must have at least 2vCPUs and + /// 4GB of memory. + /// public const string System = "System"; + /// + /// User agent pools are primarily for hosting your application pods. + /// public const string User = "User"; } } diff --git a/sdk/containerservice/Microsoft.Azure.Management.ContainerService/src/Generated/Models/AgentPoolType.cs b/sdk/containerservice/Microsoft.Azure.Management.ContainerService/src/Generated/Models/AgentPoolType.cs index 16442c9cdc8c..254c206222fd 100644 --- a/sdk/containerservice/Microsoft.Azure.Management.ContainerService/src/Generated/Models/AgentPoolType.cs +++ b/sdk/containerservice/Microsoft.Azure.Management.ContainerService/src/Generated/Models/AgentPoolType.cs @@ -16,7 +16,13 @@ namespace Microsoft.Azure.Management.ContainerService.Models /// public static class AgentPoolType { + /// + /// Create an Agent Pool backed by a Virtual Machine Scale Set. + /// public const string VirtualMachineScaleSets = "VirtualMachineScaleSets"; + /// + /// Use of this is strongly discouraged. + /// public const string AvailabilitySet = "AvailabilitySet"; } } diff --git a/sdk/containerservice/Microsoft.Azure.Management.ContainerService/src/Generated/Models/AgentPoolUpgradeProfile.cs b/sdk/containerservice/Microsoft.Azure.Management.ContainerService/src/Generated/Models/AgentPoolUpgradeProfile.cs index 7d56da23e895..6eeb818182ee 100644 --- a/sdk/containerservice/Microsoft.Azure.Management.ContainerService/src/Generated/Models/AgentPoolUpgradeProfile.cs +++ b/sdk/containerservice/Microsoft.Azure.Management.ContainerService/src/Generated/Models/AgentPoolUpgradeProfile.cs @@ -34,18 +34,19 @@ public AgentPoolUpgradeProfile() /// /// Initializes a new instance of the AgentPoolUpgradeProfile class. /// - /// Kubernetes version (major, minor, - /// patch). - /// OsType to be used to specify os type. Choose - /// from Linux and Windows. Default to Linux. Possible values include: - /// 'Linux', 'Windows' - /// Id of the agent pool upgrade profile. - /// Name of the agent pool upgrade profile. - /// Type of the agent pool upgrade profile. + /// The Kubernetes version + /// (major.minor.patch). + /// Possible values include: 'Linux', + /// 'Windows' + /// The ID of the agent pool upgrade profile. + /// The name of the agent pool upgrade + /// profile. + /// The type of the agent pool upgrade + /// profile. /// List of orchestrator types and versions /// available for upgrade. - /// LatestNodeImageVersion is the - /// latest AKS supported node image version. + /// The latest AKS supported node + /// image version. public AgentPoolUpgradeProfile(string kubernetesVersion, string osType, string id = default(string), string name = default(string), string type = default(string), IList upgrades = default(IList), string latestNodeImageVersion = default(string)) { Id = id; @@ -64,33 +65,31 @@ public AgentPoolUpgradeProfile() partial void CustomInit(); /// - /// Gets id of the agent pool upgrade profile. + /// Gets the ID of the agent pool upgrade profile. /// [JsonProperty(PropertyName = "id")] public string Id { get; private set; } /// - /// Gets name of the agent pool upgrade profile. + /// Gets the name of the agent pool upgrade profile. /// [JsonProperty(PropertyName = "name")] public string Name { get; private set; } /// - /// Gets type of the agent pool upgrade profile. + /// Gets the type of the agent pool upgrade profile. /// [JsonProperty(PropertyName = "type")] public string Type { get; private set; } /// - /// Gets or sets kubernetes version (major, minor, patch). + /// Gets or sets the Kubernetes version (major.minor.patch). /// [JsonProperty(PropertyName = "properties.kubernetesVersion")] public string KubernetesVersion { get; set; } /// - /// Gets or sets osType to be used to specify os type. Choose from - /// Linux and Windows. Default to Linux. Possible values include: - /// 'Linux', 'Windows' + /// Gets or sets possible values include: 'Linux', 'Windows' /// [JsonProperty(PropertyName = "properties.osType")] public string OsType { get; set; } @@ -103,8 +102,7 @@ public AgentPoolUpgradeProfile() public IList Upgrades { get; set; } /// - /// Gets or sets latestNodeImageVersion is the latest AKS supported - /// node image version. + /// Gets or sets the latest AKS supported node image version. /// [JsonProperty(PropertyName = "properties.latestNodeImageVersion")] public string LatestNodeImageVersion { get; set; } diff --git a/sdk/containerservice/Microsoft.Azure.Management.ContainerService/src/Generated/Models/AgentPoolUpgradeProfilePropertiesUpgradesItem.cs b/sdk/containerservice/Microsoft.Azure.Management.ContainerService/src/Generated/Models/AgentPoolUpgradeProfilePropertiesUpgradesItem.cs index e449e974e445..7050cca7ee8b 100644 --- a/sdk/containerservice/Microsoft.Azure.Management.ContainerService/src/Generated/Models/AgentPoolUpgradeProfilePropertiesUpgradesItem.cs +++ b/sdk/containerservice/Microsoft.Azure.Management.ContainerService/src/Generated/Models/AgentPoolUpgradeProfilePropertiesUpgradesItem.cs @@ -28,10 +28,10 @@ public AgentPoolUpgradeProfilePropertiesUpgradesItem() /// Initializes a new instance of the /// AgentPoolUpgradeProfilePropertiesUpgradesItem class. /// - /// Kubernetes version (major, minor, - /// patch). - /// Whether Kubernetes version is currently in - /// preview. + /// The Kubernetes version + /// (major.minor.patch). + /// Whether the Kubernetes version is currently + /// in preview. public AgentPoolUpgradeProfilePropertiesUpgradesItem(string kubernetesVersion = default(string), bool? isPreview = default(bool?)) { KubernetesVersion = kubernetesVersion; @@ -45,13 +45,14 @@ public AgentPoolUpgradeProfilePropertiesUpgradesItem() partial void CustomInit(); /// - /// Gets or sets kubernetes version (major, minor, patch). + /// Gets or sets the Kubernetes version (major.minor.patch). /// [JsonProperty(PropertyName = "kubernetesVersion")] public string KubernetesVersion { get; set; } /// - /// Gets or sets whether Kubernetes version is currently in preview. + /// Gets or sets whether the Kubernetes version is currently in + /// preview. /// [JsonProperty(PropertyName = "isPreview")] public bool? IsPreview { get; set; } diff --git a/sdk/containerservice/Microsoft.Azure.Management.ContainerService/src/Generated/Models/AgentPoolUpgradeSettings.cs b/sdk/containerservice/Microsoft.Azure.Management.ContainerService/src/Generated/Models/AgentPoolUpgradeSettings.cs index 0327533c9485..852c8ba1d251 100644 --- a/sdk/containerservice/Microsoft.Azure.Management.ContainerService/src/Generated/Models/AgentPoolUpgradeSettings.cs +++ b/sdk/containerservice/Microsoft.Azure.Management.ContainerService/src/Generated/Models/AgentPoolUpgradeSettings.cs @@ -29,8 +29,8 @@ public AgentPoolUpgradeSettings() /// /// Initializes a new instance of the AgentPoolUpgradeSettings class. /// - /// Count or percentage of additional nodes to - /// be added during upgrade. If empty uses AKS default + /// The maximum number or percentage of nodes + /// that are surged during upgrade. public AgentPoolUpgradeSettings(string maxSurge = default(string)) { MaxSurge = maxSurge; @@ -43,9 +43,17 @@ public AgentPoolUpgradeSettings() partial void CustomInit(); /// - /// Gets or sets count or percentage of additional nodes to be added - /// during upgrade. If empty uses AKS default + /// Gets or sets the maximum number or percentage of nodes that are + /// surged during upgrade. /// + /// + /// This can either be set to an integer (e.g. '5') or a percentage + /// (e.g. '50%'). If a percentage is specified, it is the percentage of + /// the total agent pool size at the time of the upgrade. For + /// percentages, fractional nodes are rounded up. If not specified, the + /// default is 1. For more information, including best practices, see: + /// https://docs.microsoft.com/azure/aks/upgrade-cluster#customize-node-surge-upgrade + /// [JsonProperty(PropertyName = "maxSurge")] public string MaxSurge { get; set; } diff --git a/sdk/containerservice/Microsoft.Azure.Management.ContainerService/src/Generated/Models/ContainerServiceOrchestratorTypes.cs b/sdk/containerservice/Microsoft.Azure.Management.ContainerService/src/Generated/Models/Code.cs similarity index 56% rename from sdk/containerservice/Microsoft.Azure.Management.ContainerService/src/Generated/Models/ContainerServiceOrchestratorTypes.cs rename to sdk/containerservice/Microsoft.Azure.Management.ContainerService/src/Generated/Models/Code.cs index 5df4eeee7641..496ce3931d3c 100644 --- a/sdk/containerservice/Microsoft.Azure.Management.ContainerService/src/Generated/Models/ContainerServiceOrchestratorTypes.cs +++ b/sdk/containerservice/Microsoft.Azure.Management.ContainerService/src/Generated/Models/Code.cs @@ -12,14 +12,17 @@ namespace Microsoft.Azure.Management.ContainerService.Models { /// - /// Defines values for ContainerServiceOrchestratorTypes. + /// Defines values for Code. /// - public static class ContainerServiceOrchestratorTypes + public static class Code { - public const string Kubernetes = "Kubernetes"; - public const string Swarm = "Swarm"; - public const string DCOS = "DCOS"; - public const string DockerCE = "DockerCE"; - public const string Custom = "Custom"; + /// + /// The cluster is running. + /// + public const string Running = "Running"; + /// + /// The cluster is stopped. + /// + public const string Stopped = "Stopped"; } } diff --git a/sdk/containerservice/Microsoft.Azure.Management.ContainerService/src/Generated/Models/ContainerServiceAgentPoolProfile.cs b/sdk/containerservice/Microsoft.Azure.Management.ContainerService/src/Generated/Models/ContainerServiceAgentPoolProfile.cs deleted file mode 100644 index 6374adafb497..000000000000 --- a/sdk/containerservice/Microsoft.Azure.Management.ContainerService/src/Generated/Models/ContainerServiceAgentPoolProfile.cs +++ /dev/null @@ -1,290 +0,0 @@ -// -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. See License.txt in the project root for -// license information. -// -// Code generated by Microsoft (R) AutoRest Code Generator. -// Changes may cause incorrect behavior and will be lost if the code is -// regenerated. -// - -namespace Microsoft.Azure.Management.ContainerService.Models -{ - using Microsoft.Rest; - using Newtonsoft.Json; - using System.Collections; - using System.Collections.Generic; - using System.Linq; - - /// - /// Profile for the container service agent pool. - /// - public partial class ContainerServiceAgentPoolProfile - { - /// - /// Initializes a new instance of the ContainerServiceAgentPoolProfile - /// class. - /// - public ContainerServiceAgentPoolProfile() - { - CustomInit(); - } - - /// - /// Initializes a new instance of the ContainerServiceAgentPoolProfile - /// class. - /// - /// Unique name of the agent pool profile in the - /// context of the subscription and resource group. - /// Size of agent VMs. Possible values include: - /// 'Standard_A1', 'Standard_A10', 'Standard_A11', 'Standard_A1_v2', - /// 'Standard_A2', 'Standard_A2_v2', 'Standard_A2m_v2', 'Standard_A3', - /// 'Standard_A4', 'Standard_A4_v2', 'Standard_A4m_v2', 'Standard_A5', - /// 'Standard_A6', 'Standard_A7', 'Standard_A8', 'Standard_A8_v2', - /// 'Standard_A8m_v2', 'Standard_A9', 'Standard_B2ms', 'Standard_B2s', - /// 'Standard_B4ms', 'Standard_B8ms', 'Standard_D1', 'Standard_D11', - /// 'Standard_D11_v2', 'Standard_D11_v2_Promo', 'Standard_D12', - /// 'Standard_D12_v2', 'Standard_D12_v2_Promo', 'Standard_D13', - /// 'Standard_D13_v2', 'Standard_D13_v2_Promo', 'Standard_D14', - /// 'Standard_D14_v2', 'Standard_D14_v2_Promo', 'Standard_D15_v2', - /// 'Standard_D16_v3', 'Standard_D16s_v3', 'Standard_D1_v2', - /// 'Standard_D2', 'Standard_D2_v2', 'Standard_D2_v2_Promo', - /// 'Standard_D2_v3', 'Standard_D2s_v3', 'Standard_D3', - /// 'Standard_D32_v3', 'Standard_D32s_v3', 'Standard_D3_v2', - /// 'Standard_D3_v2_Promo', 'Standard_D4', 'Standard_D4_v2', - /// 'Standard_D4_v2_Promo', 'Standard_D4_v3', 'Standard_D4s_v3', - /// 'Standard_D5_v2', 'Standard_D5_v2_Promo', 'Standard_D64_v3', - /// 'Standard_D64s_v3', 'Standard_D8_v3', 'Standard_D8s_v3', - /// 'Standard_DS1', 'Standard_DS11', 'Standard_DS11_v2', - /// 'Standard_DS11_v2_Promo', 'Standard_DS12', 'Standard_DS12_v2', - /// 'Standard_DS12_v2_Promo', 'Standard_DS13', 'Standard_DS13-2_v2', - /// 'Standard_DS13-4_v2', 'Standard_DS13_v2', 'Standard_DS13_v2_Promo', - /// 'Standard_DS14', 'Standard_DS14-4_v2', 'Standard_DS14-8_v2', - /// 'Standard_DS14_v2', 'Standard_DS14_v2_Promo', 'Standard_DS15_v2', - /// 'Standard_DS1_v2', 'Standard_DS2', 'Standard_DS2_v2', - /// 'Standard_DS2_v2_Promo', 'Standard_DS3', 'Standard_DS3_v2', - /// 'Standard_DS3_v2_Promo', 'Standard_DS4', 'Standard_DS4_v2', - /// 'Standard_DS4_v2_Promo', 'Standard_DS5_v2', - /// 'Standard_DS5_v2_Promo', 'Standard_E16_v3', 'Standard_E16s_v3', - /// 'Standard_E2_v3', 'Standard_E2s_v3', 'Standard_E32-16s_v3', - /// 'Standard_E32-8s_v3', 'Standard_E32_v3', 'Standard_E32s_v3', - /// 'Standard_E4_v3', 'Standard_E4s_v3', 'Standard_E64-16s_v3', - /// 'Standard_E64-32s_v3', 'Standard_E64_v3', 'Standard_E64s_v3', - /// 'Standard_E8_v3', 'Standard_E8s_v3', 'Standard_F1', 'Standard_F16', - /// 'Standard_F16s', 'Standard_F16s_v2', 'Standard_F1s', 'Standard_F2', - /// 'Standard_F2s', 'Standard_F2s_v2', 'Standard_F32s_v2', - /// 'Standard_F4', 'Standard_F4s', 'Standard_F4s_v2', - /// 'Standard_F64s_v2', 'Standard_F72s_v2', 'Standard_F8', - /// 'Standard_F8s', 'Standard_F8s_v2', 'Standard_G1', 'Standard_G2', - /// 'Standard_G3', 'Standard_G4', 'Standard_G5', 'Standard_GS1', - /// 'Standard_GS2', 'Standard_GS3', 'Standard_GS4', 'Standard_GS4-4', - /// 'Standard_GS4-8', 'Standard_GS5', 'Standard_GS5-16', - /// 'Standard_GS5-8', 'Standard_H16', 'Standard_H16m', - /// 'Standard_H16mr', 'Standard_H16r', 'Standard_H8', 'Standard_H8m', - /// 'Standard_L16s', 'Standard_L32s', 'Standard_L4s', 'Standard_L8s', - /// 'Standard_M128-32ms', 'Standard_M128-64ms', 'Standard_M128ms', - /// 'Standard_M128s', 'Standard_M64-16ms', 'Standard_M64-32ms', - /// 'Standard_M64ms', 'Standard_M64s', 'Standard_NC12', - /// 'Standard_NC12s_v2', 'Standard_NC12s_v3', 'Standard_NC24', - /// 'Standard_NC24r', 'Standard_NC24rs_v2', 'Standard_NC24rs_v3', - /// 'Standard_NC24s_v2', 'Standard_NC24s_v3', 'Standard_NC6', - /// 'Standard_NC6s_v2', 'Standard_NC6s_v3', 'Standard_ND12s', - /// 'Standard_ND24rs', 'Standard_ND24s', 'Standard_ND6s', - /// 'Standard_NV12', 'Standard_NV24', 'Standard_NV6' - /// Number of agents (VMs) to host docker - /// containers. Allowed values must be in the range of 1 to 100 - /// (inclusive). The default value is 1. - /// OS Disk Size in GB to be used to specify - /// the disk size for every machine in this master/agent pool. If you - /// specify 0, it will apply the default osDisk size according to the - /// vmSize specified. - /// DNS prefix to be used to create the FQDN - /// for the agent pool. - /// FQDN for the agent pool. - /// Ports number array used to expose on this agent - /// pool. The default opened ports are different based on your choice - /// of orchestrator. - /// Storage profile specifies what kind of - /// storage used. Choose from StorageAccount and ManagedDisks. Leave it - /// empty, we will choose for you based on the orchestrator choice. - /// Possible values include: 'StorageAccount', 'ManagedDisks' - /// VNet SubnetID specifies the VNet's - /// subnet identifier. - /// OsType to be used to specify os type. Choose - /// from Linux and Windows. Default to Linux. Possible values include: - /// 'Linux', 'Windows' - public ContainerServiceAgentPoolProfile(string name, string vmSize, int? count = default(int?), int? osDiskSizeGB = default(int?), string dnsPrefix = default(string), string fqdn = default(string), IList ports = default(IList), string storageProfile = default(string), string vnetSubnetID = default(string), string osType = default(string)) - { - Name = name; - Count = count; - VmSize = vmSize; - OsDiskSizeGB = osDiskSizeGB; - DnsPrefix = dnsPrefix; - Fqdn = fqdn; - Ports = ports; - StorageProfile = storageProfile; - VnetSubnetID = vnetSubnetID; - OsType = osType; - CustomInit(); - } - - /// - /// An initialization method that performs custom operations like setting defaults - /// - partial void CustomInit(); - - /// - /// Gets or sets unique name of the agent pool profile in the context - /// of the subscription and resource group. - /// - [JsonProperty(PropertyName = "name")] - public string Name { get; set; } - - /// - /// Gets or sets number of agents (VMs) to host docker containers. - /// Allowed values must be in the range of 1 to 100 (inclusive). The - /// default value is 1. - /// - [JsonProperty(PropertyName = "count")] - public int? Count { get; set; } - - /// - /// Gets or sets size of agent VMs. Possible values include: - /// 'Standard_A1', 'Standard_A10', 'Standard_A11', 'Standard_A1_v2', - /// 'Standard_A2', 'Standard_A2_v2', 'Standard_A2m_v2', 'Standard_A3', - /// 'Standard_A4', 'Standard_A4_v2', 'Standard_A4m_v2', 'Standard_A5', - /// 'Standard_A6', 'Standard_A7', 'Standard_A8', 'Standard_A8_v2', - /// 'Standard_A8m_v2', 'Standard_A9', 'Standard_B2ms', 'Standard_B2s', - /// 'Standard_B4ms', 'Standard_B8ms', 'Standard_D1', 'Standard_D11', - /// 'Standard_D11_v2', 'Standard_D11_v2_Promo', 'Standard_D12', - /// 'Standard_D12_v2', 'Standard_D12_v2_Promo', 'Standard_D13', - /// 'Standard_D13_v2', 'Standard_D13_v2_Promo', 'Standard_D14', - /// 'Standard_D14_v2', 'Standard_D14_v2_Promo', 'Standard_D15_v2', - /// 'Standard_D16_v3', 'Standard_D16s_v3', 'Standard_D1_v2', - /// 'Standard_D2', 'Standard_D2_v2', 'Standard_D2_v2_Promo', - /// 'Standard_D2_v3', 'Standard_D2s_v3', 'Standard_D3', - /// 'Standard_D32_v3', 'Standard_D32s_v3', 'Standard_D3_v2', - /// 'Standard_D3_v2_Promo', 'Standard_D4', 'Standard_D4_v2', - /// 'Standard_D4_v2_Promo', 'Standard_D4_v3', 'Standard_D4s_v3', - /// 'Standard_D5_v2', 'Standard_D5_v2_Promo', 'Standard_D64_v3', - /// 'Standard_D64s_v3', 'Standard_D8_v3', 'Standard_D8s_v3', - /// 'Standard_DS1', 'Standard_DS11', 'Standard_DS11_v2', - /// 'Standard_DS11_v2_Promo', 'Standard_DS12', 'Standard_DS12_v2', - /// 'Standard_DS12_v2_Promo', 'Standard_DS13', 'Standard_DS13-2_v2', - /// 'Standard_DS13-4_v2', 'Standard_DS13_v2', 'Standard_DS13_v2_Promo', - /// 'Standard_DS14', 'Standard_DS14-4_v2', 'Standard_DS14-8_v2', - /// 'Standard_DS14_v2', 'Standard_DS14_v2_Promo', 'Standard_DS15_v2', - /// 'Standard_DS1_v2', 'Standard_DS2', 'Standard_DS2_v2', - /// 'Standard_DS2_v2_Promo', 'Standard_DS3', 'Standard_DS3_v2', - /// 'Standard_DS3_v2_Promo', 'Standard_DS4', 'Standard_DS4_v2', - /// 'Standard_DS4_v2_Promo', 'Standard_DS5_v2', - /// 'Standard_DS5_v2_Promo', 'Standard_E16_v3', 'Standard_E16s_v3', - /// 'Standard_E2_v3', 'Standard_E2s_v3', 'Standard_E32-16s_v3', - /// 'Standard_E32-8s_v3', 'Standard_E32_v3', 'Standard_E32s_v3', - /// 'Standard_E4_v3', 'Standard_E4s_v3', 'Standard_E64-16s_v3', - /// 'Standard_E64-32s_v3', 'Standard_E64_v3', 'Standard_E64s_v3', - /// 'Standard_E8_v3', 'Standard_E8s_v3', 'Standard_F1', 'Standard_F16', - /// 'Standard_F16s', 'Standard_F16s_v2', 'Standard_F1s', 'Standard_F2', - /// 'Standard_F2s', 'Standard_F2s_v2', 'Standard_F32s_v2', - /// 'Standard_F4', 'Standard_F4s', 'Standard_F4s_v2', - /// 'Standard_F64s_v2', 'Standard_F72s_v2', 'Standard_F8', - /// 'Standard_F8s', 'Standard_F8s_v2', 'Standard_G1', 'Standard_G2', - /// 'Standard_G3', 'Standard_G4', 'Standard_G5', 'Standard_GS1', - /// 'Standard_GS2', 'Standard_GS3', 'Standard_GS4', 'Standard_GS4-4', - /// 'Standard_GS4-8', 'Standard_GS5', 'Standard_GS5-16', - /// 'Standard_GS5-8', 'Standard_H16', 'Standard_H16m', - /// 'Standard_H16mr', 'Standard_H16r', 'Standard_H8', 'Standard_H8m', - /// 'Standard_L16s', 'Standard_L32s', 'Standard_L4s', 'Standard_L8s', - /// 'Standard_M128-32ms', 'Standard_M128-64ms', 'Standard_M128ms', - /// 'Standard_M128s', 'Standard_M64-16ms', 'Standard_M64-32ms', - /// 'Standard_M64ms', 'Standard_M64s', 'Standard_NC12', - /// 'Standard_NC12s_v2', 'Standard_NC12s_v3', 'Standard_NC24', - /// 'Standard_NC24r', 'Standard_NC24rs_v2', 'Standard_NC24rs_v3', - /// 'Standard_NC24s_v2', 'Standard_NC24s_v3', 'Standard_NC6', - /// 'Standard_NC6s_v2', 'Standard_NC6s_v3', 'Standard_ND12s', - /// 'Standard_ND24rs', 'Standard_ND24s', 'Standard_ND6s', - /// 'Standard_NV12', 'Standard_NV24', 'Standard_NV6' - /// - [JsonProperty(PropertyName = "vmSize")] - public string VmSize { get; set; } - - /// - /// Gets or sets OS Disk Size in GB to be used to specify the disk size - /// for every machine in this master/agent pool. If you specify 0, it - /// will apply the default osDisk size according to the vmSize - /// specified. - /// - [JsonProperty(PropertyName = "osDiskSizeGB")] - public int? OsDiskSizeGB { get; set; } - - /// - /// Gets or sets DNS prefix to be used to create the FQDN for the agent - /// pool. - /// - [JsonProperty(PropertyName = "dnsPrefix")] - public string DnsPrefix { get; set; } - - /// - /// Gets FQDN for the agent pool. - /// - [JsonProperty(PropertyName = "fqdn")] - public string Fqdn { get; private set; } - - /// - /// Gets or sets ports number array used to expose on this agent pool. - /// The default opened ports are different based on your choice of - /// orchestrator. - /// - [JsonProperty(PropertyName = "ports")] - public IList Ports { get; set; } - - /// - /// Gets or sets storage profile specifies what kind of storage used. - /// Choose from StorageAccount and ManagedDisks. Leave it empty, we - /// will choose for you based on the orchestrator choice. Possible - /// values include: 'StorageAccount', 'ManagedDisks' - /// - [JsonProperty(PropertyName = "storageProfile")] - public string StorageProfile { get; set; } - - /// - /// Gets or sets vNet SubnetID specifies the VNet's subnet identifier. - /// - [JsonProperty(PropertyName = "vnetSubnetID")] - public string VnetSubnetID { get; set; } - - /// - /// Gets or sets osType to be used to specify os type. Choose from - /// Linux and Windows. Default to Linux. Possible values include: - /// 'Linux', 'Windows' - /// - [JsonProperty(PropertyName = "osType")] - public string OsType { get; set; } - - /// - /// Validate the object. - /// - /// - /// Thrown if validation fails - /// - public virtual void Validate() - { - if (Name == null) - { - throw new ValidationException(ValidationRules.CannotBeNull, "Name"); - } - if (VmSize == null) - { - throw new ValidationException(ValidationRules.CannotBeNull, "VmSize"); - } - if (Count > 100) - { - throw new ValidationException(ValidationRules.InclusiveMaximum, "Count", 100); - } - if (Count < 1) - { - throw new ValidationException(ValidationRules.InclusiveMinimum, "Count", 1); - } - } - } -} diff --git a/sdk/containerservice/Microsoft.Azure.Management.ContainerService/src/Generated/Models/ContainerServiceLinuxProfile.cs b/sdk/containerservice/Microsoft.Azure.Management.ContainerService/src/Generated/Models/ContainerServiceLinuxProfile.cs index 131dfa7b2eb0..a8e8f73252b2 100644 --- a/sdk/containerservice/Microsoft.Azure.Management.ContainerService/src/Generated/Models/ContainerServiceLinuxProfile.cs +++ b/sdk/containerservice/Microsoft.Azure.Management.ContainerService/src/Generated/Models/ContainerServiceLinuxProfile.cs @@ -34,8 +34,8 @@ public ContainerServiceLinuxProfile() /// /// The administrator username to use for /// Linux VMs. - /// SSH configuration for Linux-based VMs running on - /// Azure. + /// The SSH configuration for Linux-based VMs running + /// on Azure. public ContainerServiceLinuxProfile(string adminUsername, ContainerServiceSshConfiguration ssh) { AdminUsername = adminUsername; @@ -55,7 +55,7 @@ public ContainerServiceLinuxProfile(string adminUsername, ContainerServiceSshCon public string AdminUsername { get; set; } /// - /// Gets or sets SSH configuration for Linux-based VMs running on + /// Gets or sets the SSH configuration for Linux-based VMs running on /// Azure. /// [JsonProperty(PropertyName = "ssh")] diff --git a/sdk/containerservice/Microsoft.Azure.Management.ContainerService/src/Generated/Models/ContainerServiceModel.cs b/sdk/containerservice/Microsoft.Azure.Management.ContainerService/src/Generated/Models/ContainerServiceModel.cs deleted file mode 100644 index b3a03246ab97..000000000000 --- a/sdk/containerservice/Microsoft.Azure.Management.ContainerService/src/Generated/Models/ContainerServiceModel.cs +++ /dev/null @@ -1,204 +0,0 @@ -// -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. See License.txt in the project root for -// license information. -// -// Code generated by Microsoft (R) AutoRest Code Generator. -// Changes may cause incorrect behavior and will be lost if the code is -// regenerated. -// - -namespace Microsoft.Azure.Management.ContainerService.Models -{ - using Microsoft.Rest; - using Microsoft.Rest.Serialization; - using Newtonsoft.Json; - using System.Collections; - using System.Collections.Generic; - using System.Linq; - - /// - /// Container service. - /// - [Rest.Serialization.JsonTransformation] - public partial class ContainerServiceModel : Resource - { - /// - /// Initializes a new instance of the ContainerServiceModel class. - /// - public ContainerServiceModel() - { - CustomInit(); - } - - /// - /// Initializes a new instance of the ContainerServiceModel class. - /// - /// Resource location - /// Profile for the container service - /// orchestrator. - /// Profile for the container service - /// master. - /// Profile for Linux VMs in the container - /// service cluster. - /// Resource Id - /// Resource name - /// Resource type - /// Resource tags - /// The current deployment or - /// provisioning state, which only appears in the response. - /// Properties to configure a custom - /// container service cluster. - /// Information about a service - /// principal identity for the cluster to use for manipulating Azure - /// APIs. Exact one of secret or keyVaultSecretRef need to be - /// specified. - /// Properties of the agent - /// pool. - /// Profile for Windows VMs in the - /// container service cluster. - /// Profile for diagnostics in the - /// container service cluster. - public ContainerServiceModel(string location, ContainerServiceOrchestratorProfile orchestratorProfile, ContainerServiceMasterProfile masterProfile, ContainerServiceLinuxProfile linuxProfile, string id = default(string), string name = default(string), string type = default(string), IDictionary tags = default(IDictionary), string provisioningState = default(string), ContainerServiceCustomProfile customProfile = default(ContainerServiceCustomProfile), ContainerServiceServicePrincipalProfile servicePrincipalProfile = default(ContainerServiceServicePrincipalProfile), IList agentPoolProfiles = default(IList), ContainerServiceWindowsProfile windowsProfile = default(ContainerServiceWindowsProfile), ContainerServiceDiagnosticsProfile diagnosticsProfile = default(ContainerServiceDiagnosticsProfile)) - : base(location, id, name, type, tags) - { - ProvisioningState = provisioningState; - OrchestratorProfile = orchestratorProfile; - CustomProfile = customProfile; - ServicePrincipalProfile = servicePrincipalProfile; - MasterProfile = masterProfile; - AgentPoolProfiles = agentPoolProfiles; - WindowsProfile = windowsProfile; - LinuxProfile = linuxProfile; - DiagnosticsProfile = diagnosticsProfile; - CustomInit(); - } - - /// - /// An initialization method that performs custom operations like setting defaults - /// - partial void CustomInit(); - - /// - /// Gets the current deployment or provisioning state, which only - /// appears in the response. - /// - [JsonProperty(PropertyName = "properties.provisioningState")] - public string ProvisioningState { get; private set; } - - /// - /// Gets or sets profile for the container service orchestrator. - /// - [JsonProperty(PropertyName = "properties.orchestratorProfile")] - public ContainerServiceOrchestratorProfile OrchestratorProfile { get; set; } - - /// - /// Gets or sets properties to configure a custom container service - /// cluster. - /// - [JsonProperty(PropertyName = "properties.customProfile")] - public ContainerServiceCustomProfile CustomProfile { get; set; } - - /// - /// Gets or sets information about a service principal identity for the - /// cluster to use for manipulating Azure APIs. Exact one of secret or - /// keyVaultSecretRef need to be specified. - /// - [JsonProperty(PropertyName = "properties.servicePrincipalProfile")] - public ContainerServiceServicePrincipalProfile ServicePrincipalProfile { get; set; } - - /// - /// Gets or sets profile for the container service master. - /// - [JsonProperty(PropertyName = "properties.masterProfile")] - public ContainerServiceMasterProfile MasterProfile { get; set; } - - /// - /// Gets or sets properties of the agent pool. - /// - [JsonProperty(PropertyName = "properties.agentPoolProfiles")] - public IList AgentPoolProfiles { get; set; } - - /// - /// Gets or sets profile for Windows VMs in the container service - /// cluster. - /// - [JsonProperty(PropertyName = "properties.windowsProfile")] - public ContainerServiceWindowsProfile WindowsProfile { get; set; } - - /// - /// Gets or sets profile for Linux VMs in the container service - /// cluster. - /// - [JsonProperty(PropertyName = "properties.linuxProfile")] - public ContainerServiceLinuxProfile LinuxProfile { get; set; } - - /// - /// Gets or sets profile for diagnostics in the container service - /// cluster. - /// - [JsonProperty(PropertyName = "properties.diagnosticsProfile")] - public ContainerServiceDiagnosticsProfile DiagnosticsProfile { get; set; } - - /// - /// Validate the object. - /// - /// - /// Thrown if validation fails - /// - public override void Validate() - { - base.Validate(); - if (OrchestratorProfile == null) - { - throw new ValidationException(ValidationRules.CannotBeNull, "OrchestratorProfile"); - } - if (MasterProfile == null) - { - throw new ValidationException(ValidationRules.CannotBeNull, "MasterProfile"); - } - if (LinuxProfile == null) - { - throw new ValidationException(ValidationRules.CannotBeNull, "LinuxProfile"); - } - if (OrchestratorProfile != null) - { - OrchestratorProfile.Validate(); - } - if (CustomProfile != null) - { - CustomProfile.Validate(); - } - if (ServicePrincipalProfile != null) - { - ServicePrincipalProfile.Validate(); - } - if (MasterProfile != null) - { - MasterProfile.Validate(); - } - if (AgentPoolProfiles != null) - { - foreach (var element in AgentPoolProfiles) - { - if (element != null) - { - element.Validate(); - } - } - } - if (WindowsProfile != null) - { - WindowsProfile.Validate(); - } - if (LinuxProfile != null) - { - LinuxProfile.Validate(); - } - if (DiagnosticsProfile != null) - { - DiagnosticsProfile.Validate(); - } - } - } -} diff --git a/sdk/containerservice/Microsoft.Azure.Management.ContainerService/src/Generated/Models/ContainerServiceNetworkProfile.cs b/sdk/containerservice/Microsoft.Azure.Management.ContainerService/src/Generated/Models/ContainerServiceNetworkProfile.cs index bb8dc8ebc5e6..d15f24633a1b 100644 --- a/sdk/containerservice/Microsoft.Azure.Management.ContainerService/src/Generated/Models/ContainerServiceNetworkProfile.cs +++ b/sdk/containerservice/Microsoft.Azure.Management.ContainerService/src/Generated/Models/ContainerServiceNetworkProfile.cs @@ -32,14 +32,14 @@ public ContainerServiceNetworkProfile() /// Initializes a new instance of the ContainerServiceNetworkProfile /// class. /// - /// Network plugin used for building + /// Network plugin used for building the /// Kubernetes network. Possible values include: 'azure', /// 'kubenet' - /// Network policy used for building + /// Network policy used for building the /// Kubernetes network. Possible values include: 'calico', /// 'azure' - /// Network mode used for building Kubernetes - /// network. Possible values include: 'transparent', 'bridge' + /// The network mode Azure CNI is configured + /// with. /// A CIDR notation IP range from which to assign /// pod IPs when kubenet is used. /// A CIDR notation IP range from which to @@ -51,11 +51,10 @@ public ContainerServiceNetworkProfile() /// A CIDR notation IP range assigned to /// the Docker bridge network. It must not overlap with any Subnet IP /// ranges or the Kubernetes service address range. - /// The outbound (egress) routing method. - /// Possible values include: 'loadBalancer', - /// 'userDefinedRouting' + /// The outbound (egress) routing + /// method. /// The load balancer sku for the managed - /// cluster. Possible values include: 'standard', 'basic' + /// cluster. /// Profile of the cluster load /// balancer. public ContainerServiceNetworkProfile(string networkPlugin = default(string), string networkPolicy = default(string), string networkMode = default(string), string podCidr = default(string), string serviceCidr = default(string), string dnsServiceIP = default(string), string dockerBridgeCidr = default(string), string outboundType = default(string), string loadBalancerSku = default(string), ManagedClusterLoadBalancerProfile loadBalancerProfile = default(ManagedClusterLoadBalancerProfile)) @@ -79,23 +78,26 @@ public ContainerServiceNetworkProfile() partial void CustomInit(); /// - /// Gets or sets network plugin used for building Kubernetes network. - /// Possible values include: 'azure', 'kubenet' + /// Gets or sets network plugin used for building the Kubernetes + /// network. Possible values include: 'azure', 'kubenet' /// [JsonProperty(PropertyName = "networkPlugin")] public string NetworkPlugin { get; set; } /// - /// Gets or sets network policy used for building Kubernetes network. - /// Possible values include: 'calico', 'azure' + /// Gets or sets network policy used for building the Kubernetes + /// network. Possible values include: 'calico', 'azure' /// [JsonProperty(PropertyName = "networkPolicy")] public string NetworkPolicy { get; set; } /// - /// Gets or sets network mode used for building Kubernetes network. - /// Possible values include: 'transparent', 'bridge' + /// Gets or sets the network mode Azure CNI is configured with. /// + /// + /// This cannot be specified if networkPlugin is anything other than + /// 'azure'. Possible values include: 'transparent', 'bridge' + /// [JsonProperty(PropertyName = "networkMode")] public string NetworkMode { get; set; } @@ -130,16 +132,26 @@ public ContainerServiceNetworkProfile() public string DockerBridgeCidr { get; set; } /// - /// Gets or sets the outbound (egress) routing method. Possible values - /// include: 'loadBalancer', 'userDefinedRouting' + /// Gets or sets the outbound (egress) routing method. /// + /// + /// This can only be set at cluster creation time and cannot be changed + /// later. For more information see [egress outbound + /// type](https://docs.microsoft.com/azure/aks/egress-outboundtype). + /// Possible values include: 'loadBalancer', 'userDefinedRouting' + /// [JsonProperty(PropertyName = "outboundType")] public string OutboundType { get; set; } /// /// Gets or sets the load balancer sku for the managed cluster. - /// Possible values include: 'standard', 'basic' /// + /// + /// The default is 'standard'. See [Azure Load Balancer + /// SKUs](https://docs.microsoft.com/azure/load-balancer/skus) for more + /// information about the differences between load balancer SKUs. + /// Possible values include: 'standard', 'basic' + /// [JsonProperty(PropertyName = "loadBalancerSku")] public string LoadBalancerSku { get; set; } diff --git a/sdk/containerservice/Microsoft.Azure.Management.ContainerService/src/Generated/Models/ContainerServiceOrchestratorProfile.cs b/sdk/containerservice/Microsoft.Azure.Management.ContainerService/src/Generated/Models/ContainerServiceOrchestratorProfile.cs deleted file mode 100644 index 92e081c319aa..000000000000 --- a/sdk/containerservice/Microsoft.Azure.Management.ContainerService/src/Generated/Models/ContainerServiceOrchestratorProfile.cs +++ /dev/null @@ -1,85 +0,0 @@ -// -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. See License.txt in the project root for -// license information. -// -// Code generated by Microsoft (R) AutoRest Code Generator. -// Changes may cause incorrect behavior and will be lost if the code is -// regenerated. -// - -namespace Microsoft.Azure.Management.ContainerService.Models -{ - using Microsoft.Rest; - using Newtonsoft.Json; - using System.Linq; - - /// - /// Profile for the container service orchestrator. - /// - public partial class ContainerServiceOrchestratorProfile - { - /// - /// Initializes a new instance of the - /// ContainerServiceOrchestratorProfile class. - /// - public ContainerServiceOrchestratorProfile() - { - CustomInit(); - } - - /// - /// Initializes a new instance of the - /// ContainerServiceOrchestratorProfile class. - /// - /// The orchestrator to use to manage - /// container service cluster resources. Valid values are Kubernetes, - /// Swarm, DCOS, DockerCE and Custom. Possible values include: - /// 'Kubernetes', 'Swarm', 'DCOS', 'DockerCE', 'Custom' - /// The version of the orchestrator - /// to use. You can specify the major.minor.patch part of the actual - /// version.For example, you can specify version as "1.6.11". - public ContainerServiceOrchestratorProfile(string orchestratorType, string orchestratorVersion = default(string)) - { - OrchestratorType = orchestratorType; - OrchestratorVersion = orchestratorVersion; - CustomInit(); - } - - /// - /// An initialization method that performs custom operations like setting defaults - /// - partial void CustomInit(); - - /// - /// Gets or sets the orchestrator to use to manage container service - /// cluster resources. Valid values are Kubernetes, Swarm, DCOS, - /// DockerCE and Custom. Possible values include: 'Kubernetes', - /// 'Swarm', 'DCOS', 'DockerCE', 'Custom' - /// - [JsonProperty(PropertyName = "orchestratorType")] - public string OrchestratorType { get; set; } - - /// - /// Gets or sets the version of the orchestrator to use. You can - /// specify the major.minor.patch part of the actual version.For - /// example, you can specify version as "1.6.11". - /// - [JsonProperty(PropertyName = "orchestratorVersion")] - public string OrchestratorVersion { get; set; } - - /// - /// Validate the object. - /// - /// - /// Thrown if validation fails - /// - public virtual void Validate() - { - if (OrchestratorType == null) - { - throw new ValidationException(ValidationRules.CannotBeNull, "OrchestratorType"); - } - } - } -} diff --git a/sdk/containerservice/Microsoft.Azure.Management.ContainerService/src/Generated/Models/ContainerServiceServicePrincipalProfile.cs b/sdk/containerservice/Microsoft.Azure.Management.ContainerService/src/Generated/Models/ContainerServiceServicePrincipalProfile.cs deleted file mode 100644 index 51aca5b4915c..000000000000 --- a/sdk/containerservice/Microsoft.Azure.Management.ContainerService/src/Generated/Models/ContainerServiceServicePrincipalProfile.cs +++ /dev/null @@ -1,92 +0,0 @@ -// -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. See License.txt in the project root for -// license information. -// -// Code generated by Microsoft (R) AutoRest Code Generator. -// Changes may cause incorrect behavior and will be lost if the code is -// regenerated. -// - -namespace Microsoft.Azure.Management.ContainerService.Models -{ - using Microsoft.Rest; - using Newtonsoft.Json; - using System.Linq; - - /// - /// Information about a service principal identity for the cluster to use - /// for manipulating Azure APIs. Either secret or keyVaultSecretRef must be - /// specified. - /// - public partial class ContainerServiceServicePrincipalProfile - { - /// - /// Initializes a new instance of the - /// ContainerServiceServicePrincipalProfile class. - /// - public ContainerServiceServicePrincipalProfile() - { - CustomInit(); - } - - /// - /// Initializes a new instance of the - /// ContainerServiceServicePrincipalProfile class. - /// - /// The ID for the service principal. - /// The secret password associated with the - /// service principal in plain text. - /// Reference to a secret stored in - /// Azure Key Vault. - public ContainerServiceServicePrincipalProfile(string clientId, string secret = default(string), KeyVaultSecretRef keyVaultSecretRef = default(KeyVaultSecretRef)) - { - ClientId = clientId; - Secret = secret; - KeyVaultSecretRef = keyVaultSecretRef; - CustomInit(); - } - - /// - /// An initialization method that performs custom operations like setting defaults - /// - partial void CustomInit(); - - /// - /// Gets or sets the ID for the service principal. - /// - [JsonProperty(PropertyName = "clientId")] - public string ClientId { get; set; } - - /// - /// Gets or sets the secret password associated with the service - /// principal in plain text. - /// - [JsonProperty(PropertyName = "secret")] - public string Secret { get; set; } - - /// - /// Gets or sets reference to a secret stored in Azure Key Vault. - /// - [JsonProperty(PropertyName = "keyVaultSecretRef")] - public KeyVaultSecretRef KeyVaultSecretRef { get; set; } - - /// - /// Validate the object. - /// - /// - /// Thrown if validation fails - /// - public virtual void Validate() - { - if (ClientId == null) - { - throw new ValidationException(ValidationRules.CannotBeNull, "ClientId"); - } - if (KeyVaultSecretRef != null) - { - KeyVaultSecretRef.Validate(); - } - } - } -} diff --git a/sdk/containerservice/Microsoft.Azure.Management.ContainerService/src/Generated/Models/ContainerServiceSshConfiguration.cs b/sdk/containerservice/Microsoft.Azure.Management.ContainerService/src/Generated/Models/ContainerServiceSshConfiguration.cs index 82f79dc60f9a..ef57103574d2 100644 --- a/sdk/containerservice/Microsoft.Azure.Management.ContainerService/src/Generated/Models/ContainerServiceSshConfiguration.cs +++ b/sdk/containerservice/Microsoft.Azure.Management.ContainerService/src/Generated/Models/ContainerServiceSshConfiguration.cs @@ -35,7 +35,7 @@ public ContainerServiceSshConfiguration() /// class. /// /// The list of SSH public keys used to - /// authenticate with Linux-based VMs. Only expect one key + /// authenticate with Linux-based VMs. A maximum of 1 key may be /// specified. public ContainerServiceSshConfiguration(IList publicKeys) { @@ -50,7 +50,7 @@ public ContainerServiceSshConfiguration(IList publ /// /// Gets or sets the list of SSH public keys used to authenticate with - /// Linux-based VMs. Only expect one key specified. + /// Linux-based VMs. A maximum of 1 key may be specified. /// [JsonProperty(PropertyName = "publicKeys")] public IList PublicKeys { get; set; } diff --git a/sdk/containerservice/Microsoft.Azure.Management.ContainerService/src/Generated/Models/ContainerServiceWindowsProfile.cs b/sdk/containerservice/Microsoft.Azure.Management.ContainerService/src/Generated/Models/ContainerServiceWindowsProfile.cs deleted file mode 100644 index 6ac80c9f17ad..000000000000 --- a/sdk/containerservice/Microsoft.Azure.Management.ContainerService/src/Generated/Models/ContainerServiceWindowsProfile.cs +++ /dev/null @@ -1,95 +0,0 @@ -// -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. See License.txt in the project root for -// license information. -// -// Code generated by Microsoft (R) AutoRest Code Generator. -// Changes may cause incorrect behavior and will be lost if the code is -// regenerated. -// - -namespace Microsoft.Azure.Management.ContainerService.Models -{ - using Microsoft.Rest; - using Newtonsoft.Json; - using System.Linq; - - /// - /// Profile for Windows VMs in the container service cluster. - /// - public partial class ContainerServiceWindowsProfile - { - /// - /// Initializes a new instance of the ContainerServiceWindowsProfile - /// class. - /// - public ContainerServiceWindowsProfile() - { - CustomInit(); - } - - /// - /// Initializes a new instance of the ContainerServiceWindowsProfile - /// class. - /// - /// The administrator username to use for - /// Windows VMs. - /// The administrator password to use for - /// Windows VMs. - public ContainerServiceWindowsProfile(string adminUsername, string adminPassword) - { - AdminUsername = adminUsername; - AdminPassword = adminPassword; - CustomInit(); - } - - /// - /// An initialization method that performs custom operations like setting defaults - /// - partial void CustomInit(); - - /// - /// Gets or sets the administrator username to use for Windows VMs. - /// - [JsonProperty(PropertyName = "adminUsername")] - public string AdminUsername { get; set; } - - /// - /// Gets or sets the administrator password to use for Windows VMs. - /// - [JsonProperty(PropertyName = "adminPassword")] - public string AdminPassword { get; set; } - - /// - /// Validate the object. - /// - /// - /// Thrown if validation fails - /// - public virtual void Validate() - { - if (AdminUsername == null) - { - throw new ValidationException(ValidationRules.CannotBeNull, "AdminUsername"); - } - if (AdminPassword == null) - { - throw new ValidationException(ValidationRules.CannotBeNull, "AdminPassword"); - } - if (AdminUsername != null) - { - if (!System.Text.RegularExpressions.Regex.IsMatch(AdminUsername, "^[a-zA-Z0-9]+([._]?[a-zA-Z0-9]+)*$")) - { - throw new ValidationException(ValidationRules.Pattern, "AdminUsername", "^[a-zA-Z0-9]+([._]?[a-zA-Z0-9]+)*$"); - } - } - if (AdminPassword != null) - { - if (!System.Text.RegularExpressions.Regex.IsMatch(AdminPassword, "^(?=.*[a-z])(?=.*[A-Z])(?=.*[!@#$%\\^&\\*\\(\\)])[a-zA-Z\\d!@#$%\\^&\\*\\(\\)]{12,123}$")) - { - throw new ValidationException(ValidationRules.Pattern, "AdminPassword", "^(?=.*[a-z])(?=.*[A-Z])(?=.*[!@#$%\\^&\\*\\(\\)])[a-zA-Z\\d!@#$%\\^&\\*\\(\\)]{12,123}$"); - } - } - } - } -} diff --git a/sdk/containerservice/Microsoft.Azure.Management.ContainerService/src/Generated/Models/CreatedByType.cs b/sdk/containerservice/Microsoft.Azure.Management.ContainerService/src/Generated/Models/CreatedByType.cs new file mode 100644 index 000000000000..640ae38ab17e --- /dev/null +++ b/sdk/containerservice/Microsoft.Azure.Management.ContainerService/src/Generated/Models/CreatedByType.cs @@ -0,0 +1,24 @@ +// +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See License.txt in the project root for +// license information. +// +// Code generated by Microsoft (R) AutoRest Code Generator. +// Changes may cause incorrect behavior and will be lost if the code is +// regenerated. +// + +namespace Microsoft.Azure.Management.ContainerService.Models +{ + + /// + /// Defines values for CreatedByType. + /// + public static class CreatedByType + { + public const string User = "User"; + public const string Application = "Application"; + public const string ManagedIdentity = "ManagedIdentity"; + public const string Key = "Key"; + } +} diff --git a/sdk/containerservice/Microsoft.Azure.Management.ContainerService/src/Generated/Models/CredentialResults.cs b/sdk/containerservice/Microsoft.Azure.Management.ContainerService/src/Generated/Models/CredentialResults.cs index 3a6dda5ff5a6..509c9e296168 100644 --- a/sdk/containerservice/Microsoft.Azure.Management.ContainerService/src/Generated/Models/CredentialResults.cs +++ b/sdk/containerservice/Microsoft.Azure.Management.ContainerService/src/Generated/Models/CredentialResults.cs @@ -16,7 +16,7 @@ namespace Microsoft.Azure.Management.ContainerService.Models using System.Linq; /// - /// The list of credential result response. + /// The list credential result response. /// public partial class CredentialResults { diff --git a/sdk/containerservice/Microsoft.Azure.Management.ContainerService/src/Generated/Models/EndpointDependency.cs b/sdk/containerservice/Microsoft.Azure.Management.ContainerService/src/Generated/Models/EndpointDependency.cs new file mode 100644 index 000000000000..9671184faefd --- /dev/null +++ b/sdk/containerservice/Microsoft.Azure.Management.ContainerService/src/Generated/Models/EndpointDependency.cs @@ -0,0 +1,63 @@ +// +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See License.txt in the project root for +// license information. +// +// Code generated by Microsoft (R) AutoRest Code Generator. +// Changes may cause incorrect behavior and will be lost if the code is +// regenerated. +// + +namespace Microsoft.Azure.Management.ContainerService.Models +{ + using Newtonsoft.Json; + using System.Collections; + using System.Collections.Generic; + using System.Linq; + + /// + /// A domain name that AKS agent nodes are reaching at. + /// + public partial class EndpointDependency + { + /// + /// Initializes a new instance of the EndpointDependency class. + /// + public EndpointDependency() + { + CustomInit(); + } + + /// + /// Initializes a new instance of the EndpointDependency class. + /// + /// The domain name of the dependency. + /// The Ports and Protocols used when + /// connecting to domainName. + public EndpointDependency(string domainName = default(string), IList endpointDetails = default(IList)) + { + DomainName = domainName; + EndpointDetails = endpointDetails; + CustomInit(); + } + + /// + /// An initialization method that performs custom operations like setting defaults + /// + partial void CustomInit(); + + /// + /// Gets or sets the domain name of the dependency. + /// + [JsonProperty(PropertyName = "domainName")] + public string DomainName { get; set; } + + /// + /// Gets or sets the Ports and Protocols used when connecting to + /// domainName. + /// + [JsonProperty(PropertyName = "endpointDetails")] + public IList EndpointDetails { get; set; } + + } +} diff --git a/sdk/containerservice/Microsoft.Azure.Management.ContainerService/src/Generated/Models/EndpointDetail.cs b/sdk/containerservice/Microsoft.Azure.Management.ContainerService/src/Generated/Models/EndpointDetail.cs new file mode 100644 index 000000000000..0af07b5d2feb --- /dev/null +++ b/sdk/containerservice/Microsoft.Azure.Management.ContainerService/src/Generated/Models/EndpointDetail.cs @@ -0,0 +1,76 @@ +// +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See License.txt in the project root for +// license information. +// +// Code generated by Microsoft (R) AutoRest Code Generator. +// Changes may cause incorrect behavior and will be lost if the code is +// regenerated. +// + +namespace Microsoft.Azure.Management.ContainerService.Models +{ + using Newtonsoft.Json; + using System.Linq; + + /// + /// connect information from the AKS agent nodes to a single endpoint. + /// + public partial class EndpointDetail + { + /// + /// Initializes a new instance of the EndpointDetail class. + /// + public EndpointDetail() + { + CustomInit(); + } + + /// + /// Initializes a new instance of the EndpointDetail class. + /// + /// An IP Address that Domain Name currently + /// resolves to. + /// The port an endpoint is connected to. + /// The protocol used for connection + /// Description of the detail + public EndpointDetail(string ipAddress = default(string), int? port = default(int?), string protocol = default(string), string description = default(string)) + { + IpAddress = ipAddress; + Port = port; + Protocol = protocol; + Description = description; + CustomInit(); + } + + /// + /// An initialization method that performs custom operations like setting defaults + /// + partial void CustomInit(); + + /// + /// Gets or sets an IP Address that Domain Name currently resolves to. + /// + [JsonProperty(PropertyName = "ipAddress")] + public string IpAddress { get; set; } + + /// + /// Gets or sets the port an endpoint is connected to. + /// + [JsonProperty(PropertyName = "port")] + public int? Port { get; set; } + + /// + /// Gets or sets the protocol used for connection + /// + [JsonProperty(PropertyName = "protocol")] + public string Protocol { get; set; } + + /// + /// Gets or sets description of the detail + /// + [JsonProperty(PropertyName = "description")] + public string Description { get; set; } + + } +} diff --git a/sdk/containerservice/Microsoft.Azure.Management.ContainerService/src/Generated/Models/Expander.cs b/sdk/containerservice/Microsoft.Azure.Management.ContainerService/src/Generated/Models/Expander.cs new file mode 100644 index 000000000000..c18a808e183f --- /dev/null +++ b/sdk/containerservice/Microsoft.Azure.Management.ContainerService/src/Generated/Models/Expander.cs @@ -0,0 +1,47 @@ +// +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See License.txt in the project root for +// license information. +// +// Code generated by Microsoft (R) AutoRest Code Generator. +// Changes may cause incorrect behavior and will be lost if the code is +// regenerated. +// + +namespace Microsoft.Azure.Management.ContainerService.Models +{ + + /// + /// Defines values for Expander. + /// + public static class Expander + { + /// + /// Selects the node group that will have the least idle CPU (if tied, + /// unused memory) after scale-up. This is useful when you have + /// different classes of nodes, for example, high CPU or high memory + /// nodes, and only want to expand those when there are pending pods + /// that need a lot of those resources. + /// + public const string LeastWaste = "least-waste"; + /// + /// Selects the node group that would be able to schedule the most pods + /// when scaling up. This is useful when you are using nodeSelector to + /// make sure certain pods land on certain nodes. Note that this won't + /// cause the autoscaler to select bigger nodes vs. smaller, as it can + /// add multiple smaller nodes at once. + /// + public const string MostPods = "most-pods"; + /// + /// Selects the node group that has the highest priority assigned by + /// the user. It's configuration is described in more details + /// [here](https://github.com/kubernetes/autoscaler/blob/master/cluster-autoscaler/expander/priority/readme.md). + /// + public const string Priority = "priority"; + /// + /// Used when you don't have a particular need for the node groups to + /// scale differently. + /// + public const string Random = "random"; + } +} diff --git a/sdk/containerservice/Microsoft.Azure.Management.ContainerService/src/Generated/Models/OpenShiftManagedClusterIdentityProvider.cs b/sdk/containerservice/Microsoft.Azure.Management.ContainerService/src/Generated/Models/ExtendedLocation.cs similarity index 51% rename from sdk/containerservice/Microsoft.Azure.Management.ContainerService/src/Generated/Models/OpenShiftManagedClusterIdentityProvider.cs rename to sdk/containerservice/Microsoft.Azure.Management.ContainerService/src/Generated/Models/ExtendedLocation.cs index de17e44dd57c..e07ba84fad18 100644 --- a/sdk/containerservice/Microsoft.Azure.Management.ContainerService/src/Generated/Models/OpenShiftManagedClusterIdentityProvider.cs +++ b/sdk/containerservice/Microsoft.Azure.Management.ContainerService/src/Generated/Models/ExtendedLocation.cs @@ -14,30 +14,28 @@ namespace Microsoft.Azure.Management.ContainerService.Models using System.Linq; /// - /// Defines the configuration of the identity providers to be used in the - /// OpenShift cluster. + /// The complex type of the extended location. /// - public partial class OpenShiftManagedClusterIdentityProvider + public partial class ExtendedLocation { /// - /// Initializes a new instance of the - /// OpenShiftManagedClusterIdentityProvider class. + /// Initializes a new instance of the ExtendedLocation class. /// - public OpenShiftManagedClusterIdentityProvider() + public ExtendedLocation() { CustomInit(); } /// - /// Initializes a new instance of the - /// OpenShiftManagedClusterIdentityProvider class. + /// Initializes a new instance of the ExtendedLocation class. /// - /// Name of the provider. - /// Configuration of the provider. - public OpenShiftManagedClusterIdentityProvider(string name = default(string), OpenShiftManagedClusterBaseIdentityProvider provider = default(OpenShiftManagedClusterBaseIdentityProvider)) + /// The name of the extended location. + /// The type of the extended location. Possible + /// values include: 'EdgeZone' + public ExtendedLocation(string name = default(string), string type = default(string)) { Name = name; - Provider = provider; + Type = type; CustomInit(); } @@ -47,16 +45,17 @@ public OpenShiftManagedClusterIdentityProvider() partial void CustomInit(); /// - /// Gets or sets name of the provider. + /// Gets or sets the name of the extended location. /// [JsonProperty(PropertyName = "name")] public string Name { get; set; } /// - /// Gets or sets configuration of the provider. + /// Gets or sets the type of the extended location. Possible values + /// include: 'EdgeZone' /// - [JsonProperty(PropertyName = "provider")] - public OpenShiftManagedClusterBaseIdentityProvider Provider { get; set; } + [JsonProperty(PropertyName = "type")] + public string Type { get; set; } } } diff --git a/sdk/containerservice/Microsoft.Azure.Management.ContainerService/src/Generated/Models/OpenShiftAgentPoolProfileRole.cs b/sdk/containerservice/Microsoft.Azure.Management.ContainerService/src/Generated/Models/ExtendedLocationTypes.cs similarity index 69% rename from sdk/containerservice/Microsoft.Azure.Management.ContainerService/src/Generated/Models/OpenShiftAgentPoolProfileRole.cs rename to sdk/containerservice/Microsoft.Azure.Management.ContainerService/src/Generated/Models/ExtendedLocationTypes.cs index 574ca4f71add..e46ac4f66b97 100644 --- a/sdk/containerservice/Microsoft.Azure.Management.ContainerService/src/Generated/Models/OpenShiftAgentPoolProfileRole.cs +++ b/sdk/containerservice/Microsoft.Azure.Management.ContainerService/src/Generated/Models/ExtendedLocationTypes.cs @@ -12,11 +12,10 @@ namespace Microsoft.Azure.Management.ContainerService.Models { /// - /// Defines values for OpenShiftAgentPoolProfileRole. + /// Defines values for ExtendedLocationTypes. /// - public static class OpenShiftAgentPoolProfileRole + public static class ExtendedLocationTypes { - public const string Compute = "compute"; - public const string Infra = "infra"; + public const string EdgeZone = "EdgeZone"; } } diff --git a/sdk/containerservice/Microsoft.Azure.Management.ContainerService/src/Generated/Models/GPUInstanceProfile.cs b/sdk/containerservice/Microsoft.Azure.Management.ContainerService/src/Generated/Models/GPUInstanceProfile.cs new file mode 100644 index 000000000000..1b9f50bdc5f0 --- /dev/null +++ b/sdk/containerservice/Microsoft.Azure.Management.ContainerService/src/Generated/Models/GPUInstanceProfile.cs @@ -0,0 +1,25 @@ +// +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See License.txt in the project root for +// license information. +// +// Code generated by Microsoft (R) AutoRest Code Generator. +// Changes may cause incorrect behavior and will be lost if the code is +// regenerated. +// + +namespace Microsoft.Azure.Management.ContainerService.Models +{ + + /// + /// Defines values for GPUInstanceProfile. + /// + public static class GPUInstanceProfile + { + public const string MIG1g = "MIG1g"; + public const string MIG2g = "MIG2g"; + public const string MIG3g = "MIG3g"; + public const string MIG4g = "MIG4g"; + public const string MIG7g = "MIG7g"; + } +} diff --git a/sdk/containerservice/Microsoft.Azure.Management.ContainerService/src/Generated/Models/KubeletConfig.cs b/sdk/containerservice/Microsoft.Azure.Management.ContainerService/src/Generated/Models/KubeletConfig.cs new file mode 100644 index 000000000000..931d23d5bcca --- /dev/null +++ b/sdk/containerservice/Microsoft.Azure.Management.ContainerService/src/Generated/Models/KubeletConfig.cs @@ -0,0 +1,198 @@ +// +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See License.txt in the project root for +// license information. +// +// Code generated by Microsoft (R) AutoRest Code Generator. +// Changes may cause incorrect behavior and will be lost if the code is +// regenerated. +// + +namespace Microsoft.Azure.Management.ContainerService.Models +{ + using Microsoft.Rest; + using Newtonsoft.Json; + using System.Collections; + using System.Collections.Generic; + using System.Linq; + + /// + /// Kubelet configurations of agent nodes. + /// + /// + /// See [AKS custom node + /// configuration](https://docs.microsoft.com/azure/aks/custom-node-configuration) + /// for more details. + /// + public partial class KubeletConfig + { + /// + /// Initializes a new instance of the KubeletConfig class. + /// + public KubeletConfig() + { + CustomInit(); + } + + /// + /// Initializes a new instance of the KubeletConfig class. + /// + /// The CPU Manager policy to + /// use. + /// If CPU CFS quota enforcement is enabled + /// for containers that specify CPU limits. + /// The CPU CFS quota period + /// value. + /// The percent of disk usage after + /// which image garbage collection is always run. + /// The percent of disk usage before + /// which image garbage collection is never run. + /// The Topology Manager policy to + /// use. + /// Allowed list of unsafe sysctls + /// or unsafe sysctl patterns (ending in `*`). + /// If set to true it will make the Kubelet + /// fail to start if swap is enabled on the node. + /// The maximum size (e.g. 10Mi) of + /// container log file before it is rotated. + /// The maximum number of container + /// log files that can be present for a container. The number must be ≥ + /// 2. + /// The maximum number of processes per + /// pod. + public KubeletConfig(string cpuManagerPolicy = default(string), bool? cpuCfsQuota = default(bool?), string cpuCfsQuotaPeriod = default(string), int? imageGcHighThreshold = default(int?), int? imageGcLowThreshold = default(int?), string topologyManagerPolicy = default(string), IList allowedUnsafeSysctls = default(IList), bool? failSwapOn = default(bool?), int? containerLogMaxSizeMB = default(int?), int? containerLogMaxFiles = default(int?), int? podMaxPids = default(int?)) + { + CpuManagerPolicy = cpuManagerPolicy; + CpuCfsQuota = cpuCfsQuota; + CpuCfsQuotaPeriod = cpuCfsQuotaPeriod; + ImageGcHighThreshold = imageGcHighThreshold; + ImageGcLowThreshold = imageGcLowThreshold; + TopologyManagerPolicy = topologyManagerPolicy; + AllowedUnsafeSysctls = allowedUnsafeSysctls; + FailSwapOn = failSwapOn; + ContainerLogMaxSizeMB = containerLogMaxSizeMB; + ContainerLogMaxFiles = containerLogMaxFiles; + PodMaxPids = podMaxPids; + CustomInit(); + } + + /// + /// An initialization method that performs custom operations like setting defaults + /// + partial void CustomInit(); + + /// + /// Gets or sets the CPU Manager policy to use. + /// + /// + /// The default is 'none'. See [Kubernetes CPU management + /// policies](https://kubernetes.io/docs/tasks/administer-cluster/cpu-management-policies/#cpu-management-policies) + /// for more information. Allowed values are 'none' and 'static'. + /// + [JsonProperty(PropertyName = "cpuManagerPolicy")] + public string CpuManagerPolicy { get; set; } + + /// + /// Gets or sets if CPU CFS quota enforcement is enabled for containers + /// that specify CPU limits. + /// + /// + /// The default is true. + /// + [JsonProperty(PropertyName = "cpuCfsQuota")] + public bool? CpuCfsQuota { get; set; } + + /// + /// Gets or sets the CPU CFS quota period value. + /// + /// + /// The default is '100ms.' Valid values are a sequence of decimal + /// numbers with an optional fraction and a unit suffix. For example: + /// '300ms', '2h45m'. Supported units are 'ns', 'us', 'ms', 's', 'm', + /// and 'h'. + /// + [JsonProperty(PropertyName = "cpuCfsQuotaPeriod")] + public string CpuCfsQuotaPeriod { get; set; } + + /// + /// Gets or sets the percent of disk usage after which image garbage + /// collection is always run. + /// + /// + /// To disable image garbage collection, set to 100. The default is 85% + /// + [JsonProperty(PropertyName = "imageGcHighThreshold")] + public int? ImageGcHighThreshold { get; set; } + + /// + /// Gets or sets the percent of disk usage before which image garbage + /// collection is never run. + /// + /// + /// This cannot be set higher than imageGcHighThreshold. The default is + /// 80% + /// + [JsonProperty(PropertyName = "imageGcLowThreshold")] + public int? ImageGcLowThreshold { get; set; } + + /// + /// Gets or sets the Topology Manager policy to use. + /// + /// + /// For more information see [Kubernetes Topology + /// Manager](https://kubernetes.io/docs/tasks/administer-cluster/topology-manager). + /// The default is 'none'. Allowed values are 'none', 'best-effort', + /// 'restricted', and 'single-numa-node'. + /// + [JsonProperty(PropertyName = "topologyManagerPolicy")] + public string TopologyManagerPolicy { get; set; } + + /// + /// Gets or sets allowed list of unsafe sysctls or unsafe sysctl + /// patterns (ending in `*`). + /// + [JsonProperty(PropertyName = "allowedUnsafeSysctls")] + public IList AllowedUnsafeSysctls { get; set; } + + /// + /// Gets or sets if set to true it will make the Kubelet fail to start + /// if swap is enabled on the node. + /// + [JsonProperty(PropertyName = "failSwapOn")] + public bool? FailSwapOn { get; set; } + + /// + /// Gets or sets the maximum size (e.g. 10Mi) of container log file + /// before it is rotated. + /// + [JsonProperty(PropertyName = "containerLogMaxSizeMB")] + public int? ContainerLogMaxSizeMB { get; set; } + + /// + /// Gets or sets the maximum number of container log files that can be + /// present for a container. The number must be ≥ 2. + /// + [JsonProperty(PropertyName = "containerLogMaxFiles")] + public int? ContainerLogMaxFiles { get; set; } + + /// + /// Gets or sets the maximum number of processes per pod. + /// + [JsonProperty(PropertyName = "podMaxPids")] + public int? PodMaxPids { get; set; } + + /// + /// Validate the object. + /// + /// + /// Thrown if validation fails + /// + public virtual void Validate() + { + if (ContainerLogMaxFiles < 2) + { + throw new ValidationException(ValidationRules.InclusiveMinimum, "ContainerLogMaxFiles", 2); + } + } + } +} diff --git a/sdk/containerservice/Microsoft.Azure.Management.ContainerService/src/Generated/Models/OpenShiftManagedClusterBaseIdentityProvider.cs b/sdk/containerservice/Microsoft.Azure.Management.ContainerService/src/Generated/Models/KubeletDiskType.cs similarity index 53% rename from sdk/containerservice/Microsoft.Azure.Management.ContainerService/src/Generated/Models/OpenShiftManagedClusterBaseIdentityProvider.cs rename to sdk/containerservice/Microsoft.Azure.Management.ContainerService/src/Generated/Models/KubeletDiskType.cs index b552dc1ca60c..a7694b2b7d59 100644 --- a/sdk/containerservice/Microsoft.Azure.Management.ContainerService/src/Generated/Models/OpenShiftManagedClusterBaseIdentityProvider.cs +++ b/sdk/containerservice/Microsoft.Azure.Management.ContainerService/src/Generated/Models/KubeletDiskType.cs @@ -10,27 +10,19 @@ namespace Microsoft.Azure.Management.ContainerService.Models { - using System.Linq; /// - /// Structure for any Identity provider. + /// Defines values for KubeletDiskType. /// - public partial class OpenShiftManagedClusterBaseIdentityProvider + public static class KubeletDiskType { /// - /// Initializes a new instance of the - /// OpenShiftManagedClusterBaseIdentityProvider class. + /// Kubelet will use the OS disk for its data. /// - public OpenShiftManagedClusterBaseIdentityProvider() - { - CustomInit(); - } - - + public const string OS = "OS"; /// - /// An initialization method that performs custom operations like setting defaults + /// Kubelet will use the temporary disk for its data. /// - partial void CustomInit(); - + public const string Temporary = "Temporary"; } } diff --git a/sdk/containerservice/Microsoft.Azure.Management.ContainerService/src/Generated/Models/LicenseType.cs b/sdk/containerservice/Microsoft.Azure.Management.ContainerService/src/Generated/Models/LicenseType.cs index 19365b9e5ed5..ec97c30d364d 100644 --- a/sdk/containerservice/Microsoft.Azure.Management.ContainerService/src/Generated/Models/LicenseType.cs +++ b/sdk/containerservice/Microsoft.Azure.Management.ContainerService/src/Generated/Models/LicenseType.cs @@ -16,7 +16,13 @@ namespace Microsoft.Azure.Management.ContainerService.Models /// public static class LicenseType { + /// + /// No additional licensing is applied. + /// public const string None = "None"; + /// + /// Enables Azure Hybrid User Benefits for Windows VMs. + /// public const string WindowsServer = "Windows_Server"; } } diff --git a/sdk/containerservice/Microsoft.Azure.Management.ContainerService/src/Generated/Models/LinuxOSConfig.cs b/sdk/containerservice/Microsoft.Azure.Management.ContainerService/src/Generated/Models/LinuxOSConfig.cs new file mode 100644 index 000000000000..ddc19bb9e9b5 --- /dev/null +++ b/sdk/containerservice/Microsoft.Azure.Management.ContainerService/src/Generated/Models/LinuxOSConfig.cs @@ -0,0 +1,98 @@ +// +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See License.txt in the project root for +// license information. +// +// Code generated by Microsoft (R) AutoRest Code Generator. +// Changes may cause incorrect behavior and will be lost if the code is +// regenerated. +// + +namespace Microsoft.Azure.Management.ContainerService.Models +{ + using Newtonsoft.Json; + using System.Linq; + + /// + /// OS configurations of Linux agent nodes. + /// + /// + /// See [AKS custom node + /// configuration](https://docs.microsoft.com/azure/aks/custom-node-configuration) + /// for more details. + /// + public partial class LinuxOSConfig + { + /// + /// Initializes a new instance of the LinuxOSConfig class. + /// + public LinuxOSConfig() + { + CustomInit(); + } + + /// + /// Initializes a new instance of the LinuxOSConfig class. + /// + /// Sysctl settings for Linux agent + /// nodes. + /// Whether transparent + /// hugepages are enabled. + /// Whether the kernel should + /// make aggressive use of memory compaction to make more hugepages + /// available. + /// The size in MB of a swap file that + /// will be created on each node. + public LinuxOSConfig(SysctlConfig sysctls = default(SysctlConfig), string transparentHugePageEnabled = default(string), string transparentHugePageDefrag = default(string), int? swapFileSizeMB = default(int?)) + { + Sysctls = sysctls; + TransparentHugePageEnabled = transparentHugePageEnabled; + TransparentHugePageDefrag = transparentHugePageDefrag; + SwapFileSizeMB = swapFileSizeMB; + CustomInit(); + } + + /// + /// An initialization method that performs custom operations like setting defaults + /// + partial void CustomInit(); + + /// + /// Gets or sets sysctl settings for Linux agent nodes. + /// + [JsonProperty(PropertyName = "sysctls")] + public SysctlConfig Sysctls { get; set; } + + /// + /// Gets or sets whether transparent hugepages are enabled. + /// + /// + /// Valid values are 'always', 'madvise', and 'never'. The default is + /// 'always'. For more information see [Transparent + /// Hugepages](https://www.kernel.org/doc/html/latest/admin-guide/mm/transhuge.html#admin-guide-transhuge). + /// + [JsonProperty(PropertyName = "transparentHugePageEnabled")] + public string TransparentHugePageEnabled { get; set; } + + /// + /// Gets or sets whether the kernel should make aggressive use of + /// memory compaction to make more hugepages available. + /// + /// + /// Valid values are 'always', 'defer', 'defer+madvise', 'madvise' and + /// 'never'. The default is 'madvise'. For more information see + /// [Transparent + /// Hugepages](https://www.kernel.org/doc/html/latest/admin-guide/mm/transhuge.html#admin-guide-transhuge). + /// + [JsonProperty(PropertyName = "transparentHugePageDefrag")] + public string TransparentHugePageDefrag { get; set; } + + /// + /// Gets or sets the size in MB of a swap file that will be created on + /// each node. + /// + [JsonProperty(PropertyName = "swapFileSizeMB")] + public int? SwapFileSizeMB { get; set; } + + } +} diff --git a/sdk/containerservice/Microsoft.Azure.Management.ContainerService/src/Generated/Models/LoadBalancerSku.cs b/sdk/containerservice/Microsoft.Azure.Management.ContainerService/src/Generated/Models/LoadBalancerSku.cs index 4a6d775a9418..704f3f623594 100644 --- a/sdk/containerservice/Microsoft.Azure.Management.ContainerService/src/Generated/Models/LoadBalancerSku.cs +++ b/sdk/containerservice/Microsoft.Azure.Management.ContainerService/src/Generated/Models/LoadBalancerSku.cs @@ -16,7 +16,17 @@ namespace Microsoft.Azure.Management.ContainerService.Models /// public static class LoadBalancerSku { + /// + /// Use a a standard Load Balancer. This is the recommended Load + /// Balancer SKU. For more information about on working with the load + /// balancer in the managed cluster, see the [standard Load + /// Balancer](https://docs.microsoft.com/azure/aks/load-balancer-standard) + /// article. + /// public const string Standard = "standard"; + /// + /// Use a basic Load Balancer with limited functionality. + /// public const string Basic = "basic"; } } diff --git a/sdk/containerservice/Microsoft.Azure.Management.ContainerService/src/Generated/Models/MaintenanceConfiguration.cs b/sdk/containerservice/Microsoft.Azure.Management.ContainerService/src/Generated/Models/MaintenanceConfiguration.cs new file mode 100644 index 000000000000..a87ab504084a --- /dev/null +++ b/sdk/containerservice/Microsoft.Azure.Management.ContainerService/src/Generated/Models/MaintenanceConfiguration.cs @@ -0,0 +1,92 @@ +// +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See License.txt in the project root for +// license information. +// +// Code generated by Microsoft (R) AutoRest Code Generator. +// Changes may cause incorrect behavior and will be lost if the code is +// regenerated. +// + +namespace Microsoft.Azure.Management.ContainerService.Models +{ + using Microsoft.Rest; + using Microsoft.Rest.Serialization; + using Newtonsoft.Json; + using System.Collections; + using System.Collections.Generic; + using System.Linq; + + /// + /// Planned maintenance configuration, used to configure when updates can + /// be deployed to a Managed Cluster. + /// + /// + /// See [planned + /// maintenance](https://docs.microsoft.com/azure/aks/planned-maintenance) + /// for more information about planned maintenance. + /// + [Rest.Serialization.JsonTransformation] + public partial class MaintenanceConfiguration : SubResource + { + /// + /// Initializes a new instance of the MaintenanceConfiguration class. + /// + public MaintenanceConfiguration() + { + CustomInit(); + } + + /// + /// Initializes a new instance of the MaintenanceConfiguration class. + /// + /// Resource ID. + /// The name of the resource that is unique within a + /// resource group. This name can be used to access the + /// resource. + /// Resource type + /// The system metadata relating to this + /// resource. + /// Time slots during the week when planned + /// maintenance is allowed to proceed. + /// Time slots on which upgrade is not + /// allowed. + public MaintenanceConfiguration(string id = default(string), string name = default(string), string type = default(string), SystemData systemData = default(SystemData), IList timeInWeek = default(IList), IList notAllowedTime = default(IList)) + : base(id, name, type) + { + SystemData = systemData; + TimeInWeek = timeInWeek; + NotAllowedTime = notAllowedTime; + CustomInit(); + } + + /// + /// An initialization method that performs custom operations like setting defaults + /// + partial void CustomInit(); + + /// + /// Gets the system metadata relating to this resource. + /// + [JsonProperty(PropertyName = "systemData")] + public SystemData SystemData { get; private set; } + + /// + /// Gets or sets time slots during the week when planned maintenance is + /// allowed to proceed. + /// + /// + /// If two array entries specify the same day of the week, the applied + /// configuration is the union of times in both entries. + /// + [JsonProperty(PropertyName = "properties.timeInWeek")] + public IList TimeInWeek { get; set; } + + /// + /// Gets or sets time slots on which upgrade is not allowed. + /// + [JsonProperty(PropertyName = "properties.notAllowedTime")] + public IList NotAllowedTime { get; set; } + + } +} diff --git a/sdk/containerservice/Microsoft.Azure.Management.ContainerService/src/Generated/Models/ManagedCluster.cs b/sdk/containerservice/Microsoft.Azure.Management.ContainerService/src/Generated/Models/ManagedCluster.cs index 09c0a914bfa8..17ae58b44a5c 100644 --- a/sdk/containerservice/Microsoft.Azure.Management.ContainerService/src/Generated/Models/ManagedCluster.cs +++ b/sdk/containerservice/Microsoft.Azure.Management.ContainerService/src/Generated/Models/ManagedCluster.cs @@ -39,28 +39,35 @@ public ManagedCluster() /// Resource name /// Resource type /// Resource tags - /// The current deployment or - /// provisioning state, which only appears in the response. + /// The current provisioning + /// state. + /// The Power State of the cluster. /// The max number of agent pools for the /// managed cluster. - /// Version of Kubernetes specified - /// when creating the managed cluster. - /// DNS prefix specified when creating the - /// managed cluster. - /// FQDN for the master pool. - /// FQDN of private cluster. - /// Properties of the agent - /// pool. - /// Profile for Linux VMs in the container - /// service cluster. - /// Profile for Windows VMs in the - /// container service cluster. + /// The version of Kubernetes the + /// Managed Cluster is running. + /// The DNS prefix of the Managed + /// Cluster. + /// The FQDN subdomain of the private + /// cluster with custom private dns zone. + /// The FQDN of the master pool. + /// The FQDN of private cluster. + /// The special FQDN used by the Azure + /// Portal to access the Managed Cluster. This FQDN is for use only by + /// the Azure Portal and should not be used by other clients. + /// The agent pool properties. + /// The profile for Linux VMs in the Managed + /// Cluster. + /// The profile for Windows VMs in the + /// Managed Cluster. /// Information about a service /// principal identity for the cluster to use for manipulating Azure /// APIs. - /// Profile of managed cluster + /// The profile of managed cluster /// add-on. - /// Name of the resource group + /// The pod identity profile of the + /// Managed Cluster. + /// The name of the resource group /// containing agent pool nodes. /// Whether to enable Kubernetes Role-Based /// Access Control. @@ -68,46 +75,65 @@ public ManagedCluster() /// enable Kubernetes pod security policy (preview). This feature is /// set for removal on October 15th, 2020. Learn more at /// aka.ms/aks/azpodpolicy. - /// Profile of network + /// The network configuration + /// profile. + /// The Azure Active Directory /// configuration. - /// Profile of Azure Active Directory + /// The auto upgrade /// configuration. /// Parameters to be applied to the /// cluster-autoscaler when enabled - /// Access profile for managed + /// The access profile for managed /// cluster API server. - /// ResourceId of the disk encryption - /// set to use for enabling encryption at rest. + /// The Resource ID of the disk + /// encryption set to use for enabling encryption at rest. /// Identities associated with the /// cluster. + /// Private link resources + /// associated with the cluster. + /// If local accounts should be + /// disabled on the Managed Cluster. + /// Configurations for provisioning the + /// cluster with HTTP proxy servers. /// The identity of the managed cluster, if /// configured. /// The managed cluster SKU. - public ManagedCluster(string location, string id = default(string), string name = default(string), string type = default(string), IDictionary tags = default(IDictionary), string provisioningState = default(string), int? maxAgentPools = default(int?), string kubernetesVersion = default(string), string dnsPrefix = default(string), string fqdn = default(string), string privateFQDN = default(string), IList agentPoolProfiles = default(IList), ContainerServiceLinuxProfile linuxProfile = default(ContainerServiceLinuxProfile), ManagedClusterWindowsProfile windowsProfile = default(ManagedClusterWindowsProfile), ManagedClusterServicePrincipalProfile servicePrincipalProfile = default(ManagedClusterServicePrincipalProfile), IDictionary addonProfiles = default(IDictionary), string nodeResourceGroup = default(string), bool? enableRBAC = default(bool?), bool? enablePodSecurityPolicy = default(bool?), ContainerServiceNetworkProfile networkProfile = default(ContainerServiceNetworkProfile), ManagedClusterAADProfile aadProfile = default(ManagedClusterAADProfile), ManagedClusterPropertiesAutoScalerProfile autoScalerProfile = default(ManagedClusterPropertiesAutoScalerProfile), ManagedClusterAPIServerAccessProfile apiServerAccessProfile = default(ManagedClusterAPIServerAccessProfile), string diskEncryptionSetID = default(string), IDictionary identityProfile = default(IDictionary), ManagedClusterIdentity identity = default(ManagedClusterIdentity), ManagedClusterSKU sku = default(ManagedClusterSKU)) + /// The extended location of the Virtual + /// Machine. + public ManagedCluster(string location, string id = default(string), string name = default(string), string type = default(string), IDictionary tags = default(IDictionary), string provisioningState = default(string), PowerState powerState = default(PowerState), int? maxAgentPools = default(int?), string kubernetesVersion = default(string), string dnsPrefix = default(string), string fqdnSubdomain = default(string), string fqdn = default(string), string privateFQDN = default(string), string azurePortalFQDN = default(string), IList agentPoolProfiles = default(IList), ContainerServiceLinuxProfile linuxProfile = default(ContainerServiceLinuxProfile), ManagedClusterWindowsProfile windowsProfile = default(ManagedClusterWindowsProfile), ManagedClusterServicePrincipalProfile servicePrincipalProfile = default(ManagedClusterServicePrincipalProfile), IDictionary addonProfiles = default(IDictionary), ManagedClusterPodIdentityProfile podIdentityProfile = default(ManagedClusterPodIdentityProfile), string nodeResourceGroup = default(string), bool? enableRBAC = default(bool?), bool? enablePodSecurityPolicy = default(bool?), ContainerServiceNetworkProfile networkProfile = default(ContainerServiceNetworkProfile), ManagedClusterAADProfile aadProfile = default(ManagedClusterAADProfile), ManagedClusterAutoUpgradeProfile autoUpgradeProfile = default(ManagedClusterAutoUpgradeProfile), ManagedClusterPropertiesAutoScalerProfile autoScalerProfile = default(ManagedClusterPropertiesAutoScalerProfile), ManagedClusterAPIServerAccessProfile apiServerAccessProfile = default(ManagedClusterAPIServerAccessProfile), string diskEncryptionSetID = default(string), IDictionary identityProfile = default(IDictionary), IList privateLinkResources = default(IList), bool? disableLocalAccounts = default(bool?), ManagedClusterHTTPProxyConfig httpProxyConfig = default(ManagedClusterHTTPProxyConfig), ManagedClusterIdentity identity = default(ManagedClusterIdentity), ManagedClusterSKU sku = default(ManagedClusterSKU), ExtendedLocation extendedLocation = default(ExtendedLocation)) : base(location, id, name, type, tags) { ProvisioningState = provisioningState; + PowerState = powerState; MaxAgentPools = maxAgentPools; KubernetesVersion = kubernetesVersion; DnsPrefix = dnsPrefix; + FqdnSubdomain = fqdnSubdomain; Fqdn = fqdn; PrivateFQDN = privateFQDN; + AzurePortalFQDN = azurePortalFQDN; AgentPoolProfiles = agentPoolProfiles; LinuxProfile = linuxProfile; WindowsProfile = windowsProfile; ServicePrincipalProfile = servicePrincipalProfile; AddonProfiles = addonProfiles; + PodIdentityProfile = podIdentityProfile; NodeResourceGroup = nodeResourceGroup; EnableRBAC = enableRBAC; EnablePodSecurityPolicy = enablePodSecurityPolicy; NetworkProfile = networkProfile; AadProfile = aadProfile; + AutoUpgradeProfile = autoUpgradeProfile; AutoScalerProfile = autoScalerProfile; ApiServerAccessProfile = apiServerAccessProfile; DiskEncryptionSetID = diskEncryptionSetID; IdentityProfile = identityProfile; + PrivateLinkResources = privateLinkResources; + DisableLocalAccounts = disableLocalAccounts; + HttpProxyConfig = httpProxyConfig; Identity = identity; Sku = sku; + ExtendedLocation = extendedLocation; CustomInit(); } @@ -117,12 +143,17 @@ public ManagedCluster() partial void CustomInit(); /// - /// Gets the current deployment or provisioning state, which only - /// appears in the response. + /// Gets the current provisioning state. /// [JsonProperty(PropertyName = "properties.provisioningState")] public string ProvisioningState { get; private set; } + /// + /// Gets the Power State of the cluster. + /// + [JsonProperty(PropertyName = "properties.powerState")] + public PowerState PowerState { get; private set; } + /// /// Gets the max number of agent pools for the managed cluster. /// @@ -130,47 +161,80 @@ public ManagedCluster() public int? MaxAgentPools { get; private set; } /// - /// Gets or sets version of Kubernetes specified when creating the - /// managed cluster. + /// Gets or sets the version of Kubernetes the Managed Cluster is + /// running. /// + /// + /// When you upgrade a supported AKS cluster, Kubernetes minor versions + /// cannot be skipped. All upgrades must be performed sequentially by + /// major version number. For example, upgrades between 1.14.x -> + /// 1.15.x or 1.15.x -> 1.16.x are allowed, however 1.14.x -> 1.16.x is + /// not allowed. See [upgrading an AKS + /// cluster](https://docs.microsoft.com/azure/aks/upgrade-cluster) for + /// more details. + /// [JsonProperty(PropertyName = "properties.kubernetesVersion")] public string KubernetesVersion { get; set; } /// - /// Gets or sets DNS prefix specified when creating the managed - /// cluster. + /// Gets or sets the DNS prefix of the Managed Cluster. /// + /// + /// This cannot be updated once the Managed Cluster has been created. + /// [JsonProperty(PropertyName = "properties.dnsPrefix")] public string DnsPrefix { get; set; } /// - /// Gets FQDN for the master pool. + /// Gets or sets the FQDN subdomain of the private cluster with custom + /// private dns zone. + /// + /// + /// This cannot be updated once the Managed Cluster has been created. + /// + [JsonProperty(PropertyName = "properties.fqdnSubdomain")] + public string FqdnSubdomain { get; set; } + + /// + /// Gets the FQDN of the master pool. /// [JsonProperty(PropertyName = "properties.fqdn")] public string Fqdn { get; private set; } /// - /// Gets FQDN of private cluster. + /// Gets the FQDN of private cluster. /// [JsonProperty(PropertyName = "properties.privateFQDN")] public string PrivateFQDN { get; private set; } /// - /// Gets or sets properties of the agent pool. + /// Gets the special FQDN used by the Azure Portal to access the + /// Managed Cluster. This FQDN is for use only by the Azure Portal and + /// should not be used by other clients. + /// + /// + /// The Azure Portal requires certain Cross-Origin Resource Sharing + /// (CORS) headers to be sent in some responses, which Kubernetes + /// APIServer doesn't handle by default. This special FQDN supports + /// CORS, allowing the Azure Portal to function properly. + /// + [JsonProperty(PropertyName = "properties.azurePortalFQDN")] + public string AzurePortalFQDN { get; private set; } + + /// + /// Gets or sets the agent pool properties. /// [JsonProperty(PropertyName = "properties.agentPoolProfiles")] public IList AgentPoolProfiles { get; set; } /// - /// Gets or sets profile for Linux VMs in the container service - /// cluster. + /// Gets or sets the profile for Linux VMs in the Managed Cluster. /// [JsonProperty(PropertyName = "properties.linuxProfile")] public ContainerServiceLinuxProfile LinuxProfile { get; set; } /// - /// Gets or sets profile for Windows VMs in the container service - /// cluster. + /// Gets or sets the profile for Windows VMs in the Managed Cluster. /// [JsonProperty(PropertyName = "properties.windowsProfile")] public ManagedClusterWindowsProfile WindowsProfile { get; set; } @@ -183,13 +247,24 @@ public ManagedCluster() public ManagedClusterServicePrincipalProfile ServicePrincipalProfile { get; set; } /// - /// Gets or sets profile of managed cluster add-on. + /// Gets or sets the profile of managed cluster add-on. /// [JsonProperty(PropertyName = "properties.addonProfiles")] public IDictionary AddonProfiles { get; set; } /// - /// Gets or sets name of the resource group containing agent pool + /// Gets or sets the pod identity profile of the Managed Cluster. + /// + /// + /// See [use AAD pod + /// identity](https://docs.microsoft.com/azure/aks/use-azure-ad-pod-identity) + /// for more details on AAD pod identity integration. + /// + [JsonProperty(PropertyName = "properties.podIdentityProfile")] + public ManagedClusterPodIdentityProfile PodIdentityProfile { get; set; } + + /// + /// Gets or sets the name of the resource group containing agent pool /// nodes. /// [JsonProperty(PropertyName = "properties.nodeResourceGroup")] @@ -211,17 +286,23 @@ public ManagedCluster() public bool? EnablePodSecurityPolicy { get; set; } /// - /// Gets or sets profile of network configuration. + /// Gets or sets the network configuration profile. /// [JsonProperty(PropertyName = "properties.networkProfile")] public ContainerServiceNetworkProfile NetworkProfile { get; set; } /// - /// Gets or sets profile of Azure Active Directory configuration. + /// Gets or sets the Azure Active Directory configuration. /// [JsonProperty(PropertyName = "properties.aadProfile")] public ManagedClusterAADProfile AadProfile { get; set; } + /// + /// Gets or sets the auto upgrade configuration. + /// + [JsonProperty(PropertyName = "properties.autoUpgradeProfile")] + public ManagedClusterAutoUpgradeProfile AutoUpgradeProfile { get; set; } + /// /// Gets or sets parameters to be applied to the cluster-autoscaler /// when enabled @@ -230,15 +311,19 @@ public ManagedCluster() public ManagedClusterPropertiesAutoScalerProfile AutoScalerProfile { get; set; } /// - /// Gets or sets access profile for managed cluster API server. + /// Gets or sets the access profile for managed cluster API server. /// [JsonProperty(PropertyName = "properties.apiServerAccessProfile")] public ManagedClusterAPIServerAccessProfile ApiServerAccessProfile { get; set; } /// - /// Gets or sets resourceId of the disk encryption set to use for + /// Gets or sets the Resource ID of the disk encryption set to use for /// enabling encryption at rest. /// + /// + /// This is of the form: + /// '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/diskEncryptionSets/{encryptionSetName}' + /// [JsonProperty(PropertyName = "properties.diskEncryptionSetID")] public string DiskEncryptionSetID { get; set; } @@ -248,6 +333,32 @@ public ManagedCluster() [JsonProperty(PropertyName = "properties.identityProfile")] public IDictionary IdentityProfile { get; set; } + /// + /// Gets or sets private link resources associated with the cluster. + /// + [JsonProperty(PropertyName = "properties.privateLinkResources")] + public IList PrivateLinkResources { get; set; } + + /// + /// Gets or sets if local accounts should be disabled on the Managed + /// Cluster. + /// + /// + /// If set to true, getting static credentials will be disabled for + /// this cluster. This must only be used on Managed Clusters that are + /// AAD enabled. For more details see [disable local + /// accounts](https://docs.microsoft.com/azure/aks/managed-aad#disable-local-accounts-preview). + /// + [JsonProperty(PropertyName = "properties.disableLocalAccounts")] + public bool? DisableLocalAccounts { get; set; } + + /// + /// Gets or sets configurations for provisioning the cluster with HTTP + /// proxy servers. + /// + [JsonProperty(PropertyName = "properties.httpProxyConfig")] + public ManagedClusterHTTPProxyConfig HttpProxyConfig { get; set; } + /// /// Gets or sets the identity of the managed cluster, if configured. /// @@ -260,6 +371,12 @@ public ManagedCluster() [JsonProperty(PropertyName = "sku")] public ManagedClusterSKU Sku { get; set; } + /// + /// Gets or sets the extended location of the Virtual Machine. + /// + [JsonProperty(PropertyName = "extendedLocation")] + public ExtendedLocation ExtendedLocation { get; set; } + /// /// Validate the object. /// diff --git a/sdk/containerservice/Microsoft.Azure.Management.ContainerService/src/Generated/Models/ManagedClusterAADProfile.cs b/sdk/containerservice/Microsoft.Azure.Management.ContainerService/src/Generated/Models/ManagedClusterAADProfile.cs index 0424342b59ac..deba713c992d 100644 --- a/sdk/containerservice/Microsoft.Azure.Management.ContainerService/src/Generated/Models/ManagedClusterAADProfile.cs +++ b/sdk/containerservice/Microsoft.Azure.Management.ContainerService/src/Generated/Models/ManagedClusterAADProfile.cs @@ -18,6 +18,10 @@ namespace Microsoft.Azure.Management.ContainerService.Models /// /// AADProfile specifies attributes for Azure Active Directory integration. /// + /// + /// For more details see [managed AAD on + /// AKS](https://docs.microsoft.com/azure/aks/managed-aad). + /// public partial class ManagedClusterAADProfile { /// @@ -34,8 +38,8 @@ public ManagedClusterAADProfile() /// Whether to enable managed AAD. /// Whether to enable Azure RBAC for /// Kubernetes authorization. - /// AAD group object IDs that will - /// have admin role of the cluster. + /// The list of AAD group object IDs + /// that will have admin role of the cluster. /// The client AAD application ID. /// The server AAD application ID. /// The server AAD application @@ -74,8 +78,8 @@ public ManagedClusterAADProfile() public bool? EnableAzureRBAC { get; set; } /// - /// Gets or sets AAD group object IDs that will have admin role of the - /// cluster. + /// Gets or sets the list of AAD group object IDs that will have admin + /// role of the cluster. /// [JsonProperty(PropertyName = "adminGroupObjectIDs")] public IList AdminGroupObjectIDs { get; set; } diff --git a/sdk/containerservice/Microsoft.Azure.Management.ContainerService/src/Generated/Models/ManagedClusterAPIServerAccessProfile.cs b/sdk/containerservice/Microsoft.Azure.Management.ContainerService/src/Generated/Models/ManagedClusterAPIServerAccessProfile.cs index a950f33365d1..25d25ef2cdfe 100644 --- a/sdk/containerservice/Microsoft.Azure.Management.ContainerService/src/Generated/Models/ManagedClusterAPIServerAccessProfile.cs +++ b/sdk/containerservice/Microsoft.Azure.Management.ContainerService/src/Generated/Models/ManagedClusterAPIServerAccessProfile.cs @@ -33,14 +33,20 @@ public ManagedClusterAPIServerAccessProfile() /// Initializes a new instance of the /// ManagedClusterAPIServerAccessProfile class. /// - /// Authorized IP Ranges to kubernetes - /// API server. + /// The IP ranges authorized to access + /// the Kubernetes API server. /// Whether to create the cluster as /// a private cluster or not. - public ManagedClusterAPIServerAccessProfile(IList authorizedIPRanges = default(IList), bool? enablePrivateCluster = default(bool?)) + /// The private DNS zone mode for the + /// cluster. + /// Whether to create + /// additional public FQDN for private cluster or not. + public ManagedClusterAPIServerAccessProfile(IList authorizedIPRanges = default(IList), bool? enablePrivateCluster = default(bool?), string privateDNSZone = default(string), bool? enablePrivateClusterPublicFQDN = default(bool?)) { AuthorizedIPRanges = authorizedIPRanges; EnablePrivateCluster = enablePrivateCluster; + PrivateDNSZone = privateDNSZone; + EnablePrivateClusterPublicFQDN = enablePrivateClusterPublicFQDN; CustomInit(); } @@ -50,8 +56,16 @@ public ManagedClusterAPIServerAccessProfile() partial void CustomInit(); /// - /// Gets or sets authorized IP Ranges to kubernetes API server. + /// Gets or sets the IP ranges authorized to access the Kubernetes API + /// server. /// + /// + /// IP ranges are specified in CIDR format, e.g. 137.117.106.88/29. + /// This feature is not compatible with clusters that use Public IP Per + /// Node, or clusters that are using a Basic Load Balancer. For more + /// information see [API server authorized IP + /// ranges](https://docs.microsoft.com/azure/aks/api-server-authorized-ip-ranges). + /// [JsonProperty(PropertyName = "authorizedIPRanges")] public IList AuthorizedIPRanges { get; set; } @@ -59,8 +73,30 @@ public ManagedClusterAPIServerAccessProfile() /// Gets or sets whether to create the cluster as a private cluster or /// not. /// + /// + /// For more details, see [Creating a private AKS + /// cluster](https://docs.microsoft.com/azure/aks/private-clusters). + /// [JsonProperty(PropertyName = "enablePrivateCluster")] public bool? EnablePrivateCluster { get; set; } + /// + /// Gets or sets the private DNS zone mode for the cluster. + /// + /// + /// The default is System. For more details see [configure private DNS + /// zone](https://docs.microsoft.com/azure/aks/private-clusters#configure-private-dns-zone). + /// Allowed values are 'system' and 'none'. + /// + [JsonProperty(PropertyName = "privateDNSZone")] + public string PrivateDNSZone { get; set; } + + /// + /// Gets or sets whether to create additional public FQDN for private + /// cluster or not. + /// + [JsonProperty(PropertyName = "enablePrivateClusterPublicFQDN")] + public bool? EnablePrivateClusterPublicFQDN { get; set; } + } } diff --git a/sdk/containerservice/Microsoft.Azure.Management.ContainerService/src/Generated/Models/ManagedClusterAddonProfileIdentity.cs b/sdk/containerservice/Microsoft.Azure.Management.ContainerService/src/Generated/Models/ManagedClusterAddonProfileIdentity.cs index 61ad97f95504..6f3b06410077 100644 --- a/sdk/containerservice/Microsoft.Azure.Management.ContainerService/src/Generated/Models/ManagedClusterAddonProfileIdentity.cs +++ b/sdk/containerservice/Microsoft.Azure.Management.ContainerService/src/Generated/Models/ManagedClusterAddonProfileIdentity.cs @@ -30,11 +30,11 @@ public ManagedClusterAddonProfileIdentity() /// Initializes a new instance of the /// ManagedClusterAddonProfileIdentity class. /// - /// The resource id of the user assigned + /// The resource ID of the user assigned /// identity. - /// The client id of the user assigned + /// The client ID of the user assigned /// identity. - /// The object id of the user assigned + /// The object ID of the user assigned /// identity. public ManagedClusterAddonProfileIdentity(string resourceId = default(string), string clientId = default(string), string objectId = default(string)) : base(resourceId, clientId, objectId) diff --git a/sdk/containerservice/Microsoft.Azure.Management.ContainerService/src/Generated/Models/ManagedClusterAgentPoolProfile.cs b/sdk/containerservice/Microsoft.Azure.Management.ContainerService/src/Generated/Models/ManagedClusterAgentPoolProfile.cs index fe1f89d386bc..2117fcb3f947 100644 --- a/sdk/containerservice/Microsoft.Azure.Management.ContainerService/src/Generated/Models/ManagedClusterAgentPoolProfile.cs +++ b/sdk/containerservice/Microsoft.Azure.Management.ContainerService/src/Generated/Models/ManagedClusterAgentPoolProfile.cs @@ -37,117 +37,80 @@ public ManagedClusterAgentPoolProfile() /// Unique name of the agent pool profile in the /// context of the subscription and resource group. /// Number of agents (VMs) to host docker - /// containers. Allowed values must be in the range of 0 to 100 - /// (inclusive) for user pools and in the range of 1 to 100 (inclusive) - /// for system pools. The default value is 1. - /// Size of agent VMs. Possible values include: - /// 'Standard_A1', 'Standard_A10', 'Standard_A11', 'Standard_A1_v2', - /// 'Standard_A2', 'Standard_A2_v2', 'Standard_A2m_v2', 'Standard_A3', - /// 'Standard_A4', 'Standard_A4_v2', 'Standard_A4m_v2', 'Standard_A5', - /// 'Standard_A6', 'Standard_A7', 'Standard_A8', 'Standard_A8_v2', - /// 'Standard_A8m_v2', 'Standard_A9', 'Standard_B2ms', 'Standard_B2s', - /// 'Standard_B4ms', 'Standard_B8ms', 'Standard_D1', 'Standard_D11', - /// 'Standard_D11_v2', 'Standard_D11_v2_Promo', 'Standard_D12', - /// 'Standard_D12_v2', 'Standard_D12_v2_Promo', 'Standard_D13', - /// 'Standard_D13_v2', 'Standard_D13_v2_Promo', 'Standard_D14', - /// 'Standard_D14_v2', 'Standard_D14_v2_Promo', 'Standard_D15_v2', - /// 'Standard_D16_v3', 'Standard_D16s_v3', 'Standard_D1_v2', - /// 'Standard_D2', 'Standard_D2_v2', 'Standard_D2_v2_Promo', - /// 'Standard_D2_v3', 'Standard_D2s_v3', 'Standard_D3', - /// 'Standard_D32_v3', 'Standard_D32s_v3', 'Standard_D3_v2', - /// 'Standard_D3_v2_Promo', 'Standard_D4', 'Standard_D4_v2', - /// 'Standard_D4_v2_Promo', 'Standard_D4_v3', 'Standard_D4s_v3', - /// 'Standard_D5_v2', 'Standard_D5_v2_Promo', 'Standard_D64_v3', - /// 'Standard_D64s_v3', 'Standard_D8_v3', 'Standard_D8s_v3', - /// 'Standard_DS1', 'Standard_DS11', 'Standard_DS11_v2', - /// 'Standard_DS11_v2_Promo', 'Standard_DS12', 'Standard_DS12_v2', - /// 'Standard_DS12_v2_Promo', 'Standard_DS13', 'Standard_DS13-2_v2', - /// 'Standard_DS13-4_v2', 'Standard_DS13_v2', 'Standard_DS13_v2_Promo', - /// 'Standard_DS14', 'Standard_DS14-4_v2', 'Standard_DS14-8_v2', - /// 'Standard_DS14_v2', 'Standard_DS14_v2_Promo', 'Standard_DS15_v2', - /// 'Standard_DS1_v2', 'Standard_DS2', 'Standard_DS2_v2', - /// 'Standard_DS2_v2_Promo', 'Standard_DS3', 'Standard_DS3_v2', - /// 'Standard_DS3_v2_Promo', 'Standard_DS4', 'Standard_DS4_v2', - /// 'Standard_DS4_v2_Promo', 'Standard_DS5_v2', - /// 'Standard_DS5_v2_Promo', 'Standard_E16_v3', 'Standard_E16s_v3', - /// 'Standard_E2_v3', 'Standard_E2s_v3', 'Standard_E32-16s_v3', - /// 'Standard_E32-8s_v3', 'Standard_E32_v3', 'Standard_E32s_v3', - /// 'Standard_E4_v3', 'Standard_E4s_v3', 'Standard_E64-16s_v3', - /// 'Standard_E64-32s_v3', 'Standard_E64_v3', 'Standard_E64s_v3', - /// 'Standard_E8_v3', 'Standard_E8s_v3', 'Standard_F1', 'Standard_F16', - /// 'Standard_F16s', 'Standard_F16s_v2', 'Standard_F1s', 'Standard_F2', - /// 'Standard_F2s', 'Standard_F2s_v2', 'Standard_F32s_v2', - /// 'Standard_F4', 'Standard_F4s', 'Standard_F4s_v2', - /// 'Standard_F64s_v2', 'Standard_F72s_v2', 'Standard_F8', - /// 'Standard_F8s', 'Standard_F8s_v2', 'Standard_G1', 'Standard_G2', - /// 'Standard_G3', 'Standard_G4', 'Standard_G5', 'Standard_GS1', - /// 'Standard_GS2', 'Standard_GS3', 'Standard_GS4', 'Standard_GS4-4', - /// 'Standard_GS4-8', 'Standard_GS5', 'Standard_GS5-16', - /// 'Standard_GS5-8', 'Standard_H16', 'Standard_H16m', - /// 'Standard_H16mr', 'Standard_H16r', 'Standard_H8', 'Standard_H8m', - /// 'Standard_L16s', 'Standard_L32s', 'Standard_L4s', 'Standard_L8s', - /// 'Standard_M128-32ms', 'Standard_M128-64ms', 'Standard_M128ms', - /// 'Standard_M128s', 'Standard_M64-16ms', 'Standard_M64-32ms', - /// 'Standard_M64ms', 'Standard_M64s', 'Standard_NC12', - /// 'Standard_NC12s_v2', 'Standard_NC12s_v3', 'Standard_NC24', - /// 'Standard_NC24r', 'Standard_NC24rs_v2', 'Standard_NC24rs_v3', - /// 'Standard_NC24s_v2', 'Standard_NC24s_v3', 'Standard_NC6', - /// 'Standard_NC6s_v2', 'Standard_NC6s_v3', 'Standard_ND12s', - /// 'Standard_ND24rs', 'Standard_ND24s', 'Standard_ND6s', - /// 'Standard_NV12', 'Standard_NV24', 'Standard_NV6' - /// OS Disk Size in GB to be used to specify - /// the disk size for every machine in this master/agent pool. If you - /// specify 0, it will apply the default osDisk size according to the - /// vmSize specified. - /// VNet SubnetID specifies the VNet's - /// subnet identifier. - /// Maximum number of pods that can run on a + /// containers. Allowed values must be in the range of 0 to 1000 + /// (inclusive) for user pools and in the range of 1 to 1000 + /// (inclusive) for system pools. The default value is 1. + /// The size of the agent pool VMs. + /// Possible values include: 'Managed', + /// 'Ephemeral' + /// Possible values include: 'OS', + /// 'Temporary' + /// The ID of the subnet which agent pool + /// nodes and optionally pods will join on startup. + /// The ID of the subnet which pods will join + /// when launched. + /// The maximum number of pods that can run on a /// node. - /// OsType to be used to specify os type. Choose - /// from Linux and Windows. Default to Linux. Possible values include: - /// 'Linux', 'Windows' - /// Maximum number of nodes for + /// Possible values include: 'Linux', + /// 'Windows' + /// Possible values include: 'Ubuntu', + /// 'CBLMariner' + /// The maximum number of nodes for /// auto-scaling - /// Minimum number of nodes for + /// The minimum number of nodes for /// auto-scaling /// Whether to enable /// auto-scaler - /// AgentPoolType represents types of an agent pool. - /// Possible values include: 'VirtualMachineScaleSets', - /// 'AvailabilitySet' - /// AgentPoolMode represents mode of an agent pool. - /// Possible values include: 'System', 'User' - /// Version of orchestrator specified - /// when creating the managed cluster. - /// Version of node image + /// Possible values include: + /// 'VirtualMachineScaleSets', 'AvailabilitySet' + /// Possible values include: 'System', + /// 'User' + /// The version of Kubernetes running + /// on the Agent Pool. + /// The version of node image /// Settings for upgrading the /// agentpool /// The current deployment or - /// provisioning state, which only appears in the response. - /// Availability zones for nodes. Must - /// use VirtualMachineScaleSets AgentPoolType. - /// Enable public IP for nodes - /// ScaleSetPriority to be used to - /// specify virtual machine scale set priority. Default to regular. - /// Possible values include: 'Spot', 'Regular' - /// ScaleSetEvictionPolicy to be - /// used to specify eviction policy for Spot virtual machine scale set. - /// Default to Delete. Possible values include: 'Delete', - /// 'Deallocate' - /// SpotMaxPrice to be used to specify the - /// maximum price you are willing to pay in US Dollars. Possible values - /// are any decimal value greater than zero or -1 which indicates - /// default price to be up-to on-demand. - /// Agent pool tags to be persisted on the agent - /// pool virtual machine scale set. - /// Agent pool node labels to be persisted - /// across all nodes in agent pool. - /// Taints added to new nodes during node pool - /// create and scale. For example, key=value:NoSchedule. + /// provisioning state. + /// Describes whether the Agent Pool is + /// Running or Stopped + /// The list of Availability zones to + /// use for nodes. This can only be specified if the AgentPoolType + /// property is 'VirtualMachineScaleSets'. + /// Whether each node is allocated its + /// own public IP. + /// The public IP prefix ID which VM + /// nodes should use IPs from. + /// The Virtual Machine Scale Set + /// priority. If not specified, the default is 'Regular'. Possible + /// values include: 'Spot', 'Regular' + /// The Virtual Machine Scale Set + /// eviction policy to use. + /// The max price (in US Dollars) you are + /// willing to pay for spot instances. Possible values are any decimal + /// value greater than zero or -1 which indicates default price to be + /// up-to on-demand. + /// The tags to be persisted on the agent pool + /// virtual machine scale set. + /// The node labels to be persisted across all + /// nodes in agent pool. + /// The taints added to new nodes during node + /// pool create and scale. For example, key=value:NoSchedule. /// The ID for Proximity /// Placement Group. - public ManagedClusterAgentPoolProfile(string name, int? count = default(int?), string vmSize = default(string), int? osDiskSizeGB = default(int?), string vnetSubnetID = default(string), int? maxPods = default(int?), string osType = default(string), int? maxCount = default(int?), int? minCount = default(int?), bool? enableAutoScaling = default(bool?), string type = default(string), string mode = default(string), string orchestratorVersion = default(string), string nodeImageVersion = default(string), AgentPoolUpgradeSettings upgradeSettings = default(AgentPoolUpgradeSettings), string provisioningState = default(string), IList availabilityZones = default(IList), bool? enableNodePublicIP = default(bool?), string scaleSetPriority = default(string), string scaleSetEvictionPolicy = default(string), double? spotMaxPrice = default(double?), IDictionary tags = default(IDictionary), IDictionary nodeLabels = default(IDictionary), IList nodeTaints = default(IList), string proximityPlacementGroupID = default(string)) - : base(count, vmSize, osDiskSizeGB, vnetSubnetID, maxPods, osType, maxCount, minCount, enableAutoScaling, type, mode, orchestratorVersion, nodeImageVersion, upgradeSettings, provisioningState, availabilityZones, enableNodePublicIP, scaleSetPriority, scaleSetEvictionPolicy, spotMaxPrice, tags, nodeLabels, nodeTaints, proximityPlacementGroupID) + /// The Kubelet configuration on the agent + /// pool nodes. + /// The OS configuration of Linux agent + /// nodes. + /// Whether to enable host based + /// OS and data drive encryption. + /// Whether to enable UltraSSD + /// Whether to use a FIPS-enabled OS. + /// GPUInstanceProfile to be used to + /// specify GPU MIG instance profile for supported GPU VM SKU. Possible + /// values include: 'MIG1g', 'MIG2g', 'MIG3g', 'MIG4g', 'MIG7g' + public ManagedClusterAgentPoolProfile(string name, int? count = default(int?), string vmSize = default(string), int? osDiskSizeGB = default(int?), string osDiskType = default(string), string kubeletDiskType = default(string), string vnetSubnetID = default(string), string podSubnetID = default(string), int? maxPods = default(int?), string osType = default(string), string osSKU = default(string), int? maxCount = default(int?), int? minCount = default(int?), bool? enableAutoScaling = default(bool?), string type = default(string), string mode = default(string), string orchestratorVersion = default(string), string nodeImageVersion = default(string), AgentPoolUpgradeSettings upgradeSettings = default(AgentPoolUpgradeSettings), string provisioningState = default(string), PowerState powerState = default(PowerState), IList availabilityZones = default(IList), bool? enableNodePublicIP = default(bool?), string nodePublicIPPrefixID = default(string), string scaleSetPriority = default(string), string scaleSetEvictionPolicy = default(string), double? spotMaxPrice = default(double?), IDictionary tags = default(IDictionary), IDictionary nodeLabels = default(IDictionary), IList nodeTaints = default(IList), string proximityPlacementGroupID = default(string), KubeletConfig kubeletConfig = default(KubeletConfig), LinuxOSConfig linuxOSConfig = default(LinuxOSConfig), bool? enableEncryptionAtHost = default(bool?), bool? enableUltraSSD = default(bool?), bool? enableFIPS = default(bool?), string gpuInstanceProfile = default(string)) + : base(count, vmSize, osDiskSizeGB, osDiskType, kubeletDiskType, vnetSubnetID, podSubnetID, maxPods, osType, osSKU, maxCount, minCount, enableAutoScaling, type, mode, orchestratorVersion, nodeImageVersion, upgradeSettings, provisioningState, powerState, availabilityZones, enableNodePublicIP, nodePublicIPPrefixID, scaleSetPriority, scaleSetEvictionPolicy, spotMaxPrice, tags, nodeLabels, nodeTaints, proximityPlacementGroupID, kubeletConfig, linuxOSConfig, enableEncryptionAtHost, enableUltraSSD, enableFIPS, gpuInstanceProfile) { Name = name; CustomInit(); @@ -162,6 +125,9 @@ public ManagedClusterAgentPoolProfile() /// Gets or sets unique name of the agent pool profile in the context /// of the subscription and resource group. /// + /// + /// Windows agent pool names must be 6 characters or less. + /// [JsonProperty(PropertyName = "name")] public string Name { get; set; } @@ -171,8 +137,9 @@ public ManagedClusterAgentPoolProfile() /// /// Thrown if validation fails /// - public virtual void Validate() + public override void Validate() { + base.Validate(); if (Name == null) { throw new ValidationException(ValidationRules.CannotBeNull, "Name"); diff --git a/sdk/containerservice/Microsoft.Azure.Management.ContainerService/src/Generated/Models/ManagedClusterAgentPoolProfileProperties.cs b/sdk/containerservice/Microsoft.Azure.Management.ContainerService/src/Generated/Models/ManagedClusterAgentPoolProfileProperties.cs index f2b7ff21fa52..d971cebc282f 100644 --- a/sdk/containerservice/Microsoft.Azure.Management.ContainerService/src/Generated/Models/ManagedClusterAgentPoolProfileProperties.cs +++ b/sdk/containerservice/Microsoft.Azure.Management.ContainerService/src/Generated/Models/ManagedClusterAgentPoolProfileProperties.cs @@ -34,123 +34,90 @@ public ManagedClusterAgentPoolProfileProperties() /// ManagedClusterAgentPoolProfileProperties class. /// /// Number of agents (VMs) to host docker - /// containers. Allowed values must be in the range of 0 to 100 - /// (inclusive) for user pools and in the range of 1 to 100 (inclusive) - /// for system pools. The default value is 1. - /// Size of agent VMs. Possible values include: - /// 'Standard_A1', 'Standard_A10', 'Standard_A11', 'Standard_A1_v2', - /// 'Standard_A2', 'Standard_A2_v2', 'Standard_A2m_v2', 'Standard_A3', - /// 'Standard_A4', 'Standard_A4_v2', 'Standard_A4m_v2', 'Standard_A5', - /// 'Standard_A6', 'Standard_A7', 'Standard_A8', 'Standard_A8_v2', - /// 'Standard_A8m_v2', 'Standard_A9', 'Standard_B2ms', 'Standard_B2s', - /// 'Standard_B4ms', 'Standard_B8ms', 'Standard_D1', 'Standard_D11', - /// 'Standard_D11_v2', 'Standard_D11_v2_Promo', 'Standard_D12', - /// 'Standard_D12_v2', 'Standard_D12_v2_Promo', 'Standard_D13', - /// 'Standard_D13_v2', 'Standard_D13_v2_Promo', 'Standard_D14', - /// 'Standard_D14_v2', 'Standard_D14_v2_Promo', 'Standard_D15_v2', - /// 'Standard_D16_v3', 'Standard_D16s_v3', 'Standard_D1_v2', - /// 'Standard_D2', 'Standard_D2_v2', 'Standard_D2_v2_Promo', - /// 'Standard_D2_v3', 'Standard_D2s_v3', 'Standard_D3', - /// 'Standard_D32_v3', 'Standard_D32s_v3', 'Standard_D3_v2', - /// 'Standard_D3_v2_Promo', 'Standard_D4', 'Standard_D4_v2', - /// 'Standard_D4_v2_Promo', 'Standard_D4_v3', 'Standard_D4s_v3', - /// 'Standard_D5_v2', 'Standard_D5_v2_Promo', 'Standard_D64_v3', - /// 'Standard_D64s_v3', 'Standard_D8_v3', 'Standard_D8s_v3', - /// 'Standard_DS1', 'Standard_DS11', 'Standard_DS11_v2', - /// 'Standard_DS11_v2_Promo', 'Standard_DS12', 'Standard_DS12_v2', - /// 'Standard_DS12_v2_Promo', 'Standard_DS13', 'Standard_DS13-2_v2', - /// 'Standard_DS13-4_v2', 'Standard_DS13_v2', 'Standard_DS13_v2_Promo', - /// 'Standard_DS14', 'Standard_DS14-4_v2', 'Standard_DS14-8_v2', - /// 'Standard_DS14_v2', 'Standard_DS14_v2_Promo', 'Standard_DS15_v2', - /// 'Standard_DS1_v2', 'Standard_DS2', 'Standard_DS2_v2', - /// 'Standard_DS2_v2_Promo', 'Standard_DS3', 'Standard_DS3_v2', - /// 'Standard_DS3_v2_Promo', 'Standard_DS4', 'Standard_DS4_v2', - /// 'Standard_DS4_v2_Promo', 'Standard_DS5_v2', - /// 'Standard_DS5_v2_Promo', 'Standard_E16_v3', 'Standard_E16s_v3', - /// 'Standard_E2_v3', 'Standard_E2s_v3', 'Standard_E32-16s_v3', - /// 'Standard_E32-8s_v3', 'Standard_E32_v3', 'Standard_E32s_v3', - /// 'Standard_E4_v3', 'Standard_E4s_v3', 'Standard_E64-16s_v3', - /// 'Standard_E64-32s_v3', 'Standard_E64_v3', 'Standard_E64s_v3', - /// 'Standard_E8_v3', 'Standard_E8s_v3', 'Standard_F1', 'Standard_F16', - /// 'Standard_F16s', 'Standard_F16s_v2', 'Standard_F1s', 'Standard_F2', - /// 'Standard_F2s', 'Standard_F2s_v2', 'Standard_F32s_v2', - /// 'Standard_F4', 'Standard_F4s', 'Standard_F4s_v2', - /// 'Standard_F64s_v2', 'Standard_F72s_v2', 'Standard_F8', - /// 'Standard_F8s', 'Standard_F8s_v2', 'Standard_G1', 'Standard_G2', - /// 'Standard_G3', 'Standard_G4', 'Standard_G5', 'Standard_GS1', - /// 'Standard_GS2', 'Standard_GS3', 'Standard_GS4', 'Standard_GS4-4', - /// 'Standard_GS4-8', 'Standard_GS5', 'Standard_GS5-16', - /// 'Standard_GS5-8', 'Standard_H16', 'Standard_H16m', - /// 'Standard_H16mr', 'Standard_H16r', 'Standard_H8', 'Standard_H8m', - /// 'Standard_L16s', 'Standard_L32s', 'Standard_L4s', 'Standard_L8s', - /// 'Standard_M128-32ms', 'Standard_M128-64ms', 'Standard_M128ms', - /// 'Standard_M128s', 'Standard_M64-16ms', 'Standard_M64-32ms', - /// 'Standard_M64ms', 'Standard_M64s', 'Standard_NC12', - /// 'Standard_NC12s_v2', 'Standard_NC12s_v3', 'Standard_NC24', - /// 'Standard_NC24r', 'Standard_NC24rs_v2', 'Standard_NC24rs_v3', - /// 'Standard_NC24s_v2', 'Standard_NC24s_v3', 'Standard_NC6', - /// 'Standard_NC6s_v2', 'Standard_NC6s_v3', 'Standard_ND12s', - /// 'Standard_ND24rs', 'Standard_ND24s', 'Standard_ND6s', - /// 'Standard_NV12', 'Standard_NV24', 'Standard_NV6' - /// OS Disk Size in GB to be used to specify - /// the disk size for every machine in this master/agent pool. If you - /// specify 0, it will apply the default osDisk size according to the - /// vmSize specified. - /// VNet SubnetID specifies the VNet's - /// subnet identifier. - /// Maximum number of pods that can run on a + /// containers. Allowed values must be in the range of 0 to 1000 + /// (inclusive) for user pools and in the range of 1 to 1000 + /// (inclusive) for system pools. The default value is 1. + /// The size of the agent pool VMs. + /// Possible values include: 'Managed', + /// 'Ephemeral' + /// Possible values include: 'OS', + /// 'Temporary' + /// The ID of the subnet which agent pool + /// nodes and optionally pods will join on startup. + /// The ID of the subnet which pods will join + /// when launched. + /// The maximum number of pods that can run on a /// node. - /// OsType to be used to specify os type. Choose - /// from Linux and Windows. Default to Linux. Possible values include: - /// 'Linux', 'Windows' - /// Maximum number of nodes for + /// Possible values include: 'Linux', + /// 'Windows' + /// Possible values include: 'Ubuntu', + /// 'CBLMariner' + /// The maximum number of nodes for /// auto-scaling - /// Minimum number of nodes for + /// The minimum number of nodes for /// auto-scaling /// Whether to enable /// auto-scaler - /// AgentPoolType represents types of an agent pool. - /// Possible values include: 'VirtualMachineScaleSets', - /// 'AvailabilitySet' - /// AgentPoolMode represents mode of an agent pool. - /// Possible values include: 'System', 'User' - /// Version of orchestrator specified - /// when creating the managed cluster. - /// Version of node image + /// Possible values include: + /// 'VirtualMachineScaleSets', 'AvailabilitySet' + /// Possible values include: 'System', + /// 'User' + /// The version of Kubernetes running + /// on the Agent Pool. + /// The version of node image /// Settings for upgrading the /// agentpool /// The current deployment or - /// provisioning state, which only appears in the response. - /// Availability zones for nodes. Must - /// use VirtualMachineScaleSets AgentPoolType. - /// Enable public IP for nodes - /// ScaleSetPriority to be used to - /// specify virtual machine scale set priority. Default to regular. - /// Possible values include: 'Spot', 'Regular' - /// ScaleSetEvictionPolicy to be - /// used to specify eviction policy for Spot virtual machine scale set. - /// Default to Delete. Possible values include: 'Delete', - /// 'Deallocate' - /// SpotMaxPrice to be used to specify the - /// maximum price you are willing to pay in US Dollars. Possible values - /// are any decimal value greater than zero or -1 which indicates - /// default price to be up-to on-demand. - /// Agent pool tags to be persisted on the agent - /// pool virtual machine scale set. - /// Agent pool node labels to be persisted - /// across all nodes in agent pool. - /// Taints added to new nodes during node pool - /// create and scale. For example, key=value:NoSchedule. + /// provisioning state. + /// Describes whether the Agent Pool is + /// Running or Stopped + /// The list of Availability zones to + /// use for nodes. This can only be specified if the AgentPoolType + /// property is 'VirtualMachineScaleSets'. + /// Whether each node is allocated its + /// own public IP. + /// The public IP prefix ID which VM + /// nodes should use IPs from. + /// The Virtual Machine Scale Set + /// priority. If not specified, the default is 'Regular'. Possible + /// values include: 'Spot', 'Regular' + /// The Virtual Machine Scale Set + /// eviction policy to use. + /// The max price (in US Dollars) you are + /// willing to pay for spot instances. Possible values are any decimal + /// value greater than zero or -1 which indicates default price to be + /// up-to on-demand. + /// The tags to be persisted on the agent pool + /// virtual machine scale set. + /// The node labels to be persisted across all + /// nodes in agent pool. + /// The taints added to new nodes during node + /// pool create and scale. For example, key=value:NoSchedule. /// The ID for Proximity /// Placement Group. - public ManagedClusterAgentPoolProfileProperties(int? count = default(int?), string vmSize = default(string), int? osDiskSizeGB = default(int?), string vnetSubnetID = default(string), int? maxPods = default(int?), string osType = default(string), int? maxCount = default(int?), int? minCount = default(int?), bool? enableAutoScaling = default(bool?), string type = default(string), string mode = default(string), string orchestratorVersion = default(string), string nodeImageVersion = default(string), AgentPoolUpgradeSettings upgradeSettings = default(AgentPoolUpgradeSettings), string provisioningState = default(string), IList availabilityZones = default(IList), bool? enableNodePublicIP = default(bool?), string scaleSetPriority = default(string), string scaleSetEvictionPolicy = default(string), double? spotMaxPrice = default(double?), IDictionary tags = default(IDictionary), IDictionary nodeLabels = default(IDictionary), IList nodeTaints = default(IList), string proximityPlacementGroupID = default(string)) + /// The Kubelet configuration on the agent + /// pool nodes. + /// The OS configuration of Linux agent + /// nodes. + /// Whether to enable host based + /// OS and data drive encryption. + /// Whether to enable UltraSSD + /// Whether to use a FIPS-enabled OS. + /// GPUInstanceProfile to be used to + /// specify GPU MIG instance profile for supported GPU VM SKU. Possible + /// values include: 'MIG1g', 'MIG2g', 'MIG3g', 'MIG4g', 'MIG7g' + public ManagedClusterAgentPoolProfileProperties(int? count = default(int?), string vmSize = default(string), int? osDiskSizeGB = default(int?), string osDiskType = default(string), string kubeletDiskType = default(string), string vnetSubnetID = default(string), string podSubnetID = default(string), int? maxPods = default(int?), string osType = default(string), string osSKU = default(string), int? maxCount = default(int?), int? minCount = default(int?), bool? enableAutoScaling = default(bool?), string type = default(string), string mode = default(string), string orchestratorVersion = default(string), string nodeImageVersion = default(string), AgentPoolUpgradeSettings upgradeSettings = default(AgentPoolUpgradeSettings), string provisioningState = default(string), PowerState powerState = default(PowerState), IList availabilityZones = default(IList), bool? enableNodePublicIP = default(bool?), string nodePublicIPPrefixID = default(string), string scaleSetPriority = default(string), string scaleSetEvictionPolicy = default(string), double? spotMaxPrice = default(double?), IDictionary tags = default(IDictionary), IDictionary nodeLabels = default(IDictionary), IList nodeTaints = default(IList), string proximityPlacementGroupID = default(string), KubeletConfig kubeletConfig = default(KubeletConfig), LinuxOSConfig linuxOSConfig = default(LinuxOSConfig), bool? enableEncryptionAtHost = default(bool?), bool? enableUltraSSD = default(bool?), bool? enableFIPS = default(bool?), string gpuInstanceProfile = default(string)) { Count = count; VmSize = vmSize; OsDiskSizeGB = osDiskSizeGB; + OsDiskType = osDiskType; + KubeletDiskType = kubeletDiskType; VnetSubnetID = vnetSubnetID; + PodSubnetID = podSubnetID; MaxPods = maxPods; OsType = osType; + OsSKU = osSKU; MaxCount = maxCount; MinCount = minCount; EnableAutoScaling = enableAutoScaling; @@ -160,8 +127,10 @@ public ManagedClusterAgentPoolProfileProperties() NodeImageVersion = nodeImageVersion; UpgradeSettings = upgradeSettings; ProvisioningState = provisioningState; + PowerState = powerState; AvailabilityZones = availabilityZones; EnableNodePublicIP = enableNodePublicIP; + NodePublicIPPrefixID = nodePublicIPPrefixID; ScaleSetPriority = scaleSetPriority; ScaleSetEvictionPolicy = scaleSetEvictionPolicy; SpotMaxPrice = spotMaxPrice; @@ -169,6 +138,12 @@ public ManagedClusterAgentPoolProfileProperties() NodeLabels = nodeLabels; NodeTaints = nodeTaints; ProximityPlacementGroupID = proximityPlacementGroupID; + KubeletConfig = kubeletConfig; + LinuxOSConfig = linuxOSConfig; + EnableEncryptionAtHost = enableEncryptionAtHost; + EnableUltraSSD = enableUltraSSD; + EnableFIPS = enableFIPS; + GpuInstanceProfile = gpuInstanceProfile; CustomInit(); } @@ -179,110 +154,93 @@ public ManagedClusterAgentPoolProfileProperties() /// /// Gets or sets number of agents (VMs) to host docker containers. - /// Allowed values must be in the range of 0 to 100 (inclusive) for - /// user pools and in the range of 1 to 100 (inclusive) for system + /// Allowed values must be in the range of 0 to 1000 (inclusive) for + /// user pools and in the range of 1 to 1000 (inclusive) for system /// pools. The default value is 1. /// [JsonProperty(PropertyName = "count")] public int? Count { get; set; } /// - /// Gets or sets size of agent VMs. Possible values include: - /// 'Standard_A1', 'Standard_A10', 'Standard_A11', 'Standard_A1_v2', - /// 'Standard_A2', 'Standard_A2_v2', 'Standard_A2m_v2', 'Standard_A3', - /// 'Standard_A4', 'Standard_A4_v2', 'Standard_A4m_v2', 'Standard_A5', - /// 'Standard_A6', 'Standard_A7', 'Standard_A8', 'Standard_A8_v2', - /// 'Standard_A8m_v2', 'Standard_A9', 'Standard_B2ms', 'Standard_B2s', - /// 'Standard_B4ms', 'Standard_B8ms', 'Standard_D1', 'Standard_D11', - /// 'Standard_D11_v2', 'Standard_D11_v2_Promo', 'Standard_D12', - /// 'Standard_D12_v2', 'Standard_D12_v2_Promo', 'Standard_D13', - /// 'Standard_D13_v2', 'Standard_D13_v2_Promo', 'Standard_D14', - /// 'Standard_D14_v2', 'Standard_D14_v2_Promo', 'Standard_D15_v2', - /// 'Standard_D16_v3', 'Standard_D16s_v3', 'Standard_D1_v2', - /// 'Standard_D2', 'Standard_D2_v2', 'Standard_D2_v2_Promo', - /// 'Standard_D2_v3', 'Standard_D2s_v3', 'Standard_D3', - /// 'Standard_D32_v3', 'Standard_D32s_v3', 'Standard_D3_v2', - /// 'Standard_D3_v2_Promo', 'Standard_D4', 'Standard_D4_v2', - /// 'Standard_D4_v2_Promo', 'Standard_D4_v3', 'Standard_D4s_v3', - /// 'Standard_D5_v2', 'Standard_D5_v2_Promo', 'Standard_D64_v3', - /// 'Standard_D64s_v3', 'Standard_D8_v3', 'Standard_D8s_v3', - /// 'Standard_DS1', 'Standard_DS11', 'Standard_DS11_v2', - /// 'Standard_DS11_v2_Promo', 'Standard_DS12', 'Standard_DS12_v2', - /// 'Standard_DS12_v2_Promo', 'Standard_DS13', 'Standard_DS13-2_v2', - /// 'Standard_DS13-4_v2', 'Standard_DS13_v2', 'Standard_DS13_v2_Promo', - /// 'Standard_DS14', 'Standard_DS14-4_v2', 'Standard_DS14-8_v2', - /// 'Standard_DS14_v2', 'Standard_DS14_v2_Promo', 'Standard_DS15_v2', - /// 'Standard_DS1_v2', 'Standard_DS2', 'Standard_DS2_v2', - /// 'Standard_DS2_v2_Promo', 'Standard_DS3', 'Standard_DS3_v2', - /// 'Standard_DS3_v2_Promo', 'Standard_DS4', 'Standard_DS4_v2', - /// 'Standard_DS4_v2_Promo', 'Standard_DS5_v2', - /// 'Standard_DS5_v2_Promo', 'Standard_E16_v3', 'Standard_E16s_v3', - /// 'Standard_E2_v3', 'Standard_E2s_v3', 'Standard_E32-16s_v3', - /// 'Standard_E32-8s_v3', 'Standard_E32_v3', 'Standard_E32s_v3', - /// 'Standard_E4_v3', 'Standard_E4s_v3', 'Standard_E64-16s_v3', - /// 'Standard_E64-32s_v3', 'Standard_E64_v3', 'Standard_E64s_v3', - /// 'Standard_E8_v3', 'Standard_E8s_v3', 'Standard_F1', 'Standard_F16', - /// 'Standard_F16s', 'Standard_F16s_v2', 'Standard_F1s', 'Standard_F2', - /// 'Standard_F2s', 'Standard_F2s_v2', 'Standard_F32s_v2', - /// 'Standard_F4', 'Standard_F4s', 'Standard_F4s_v2', - /// 'Standard_F64s_v2', 'Standard_F72s_v2', 'Standard_F8', - /// 'Standard_F8s', 'Standard_F8s_v2', 'Standard_G1', 'Standard_G2', - /// 'Standard_G3', 'Standard_G4', 'Standard_G5', 'Standard_GS1', - /// 'Standard_GS2', 'Standard_GS3', 'Standard_GS4', 'Standard_GS4-4', - /// 'Standard_GS4-8', 'Standard_GS5', 'Standard_GS5-16', - /// 'Standard_GS5-8', 'Standard_H16', 'Standard_H16m', - /// 'Standard_H16mr', 'Standard_H16r', 'Standard_H8', 'Standard_H8m', - /// 'Standard_L16s', 'Standard_L32s', 'Standard_L4s', 'Standard_L8s', - /// 'Standard_M128-32ms', 'Standard_M128-64ms', 'Standard_M128ms', - /// 'Standard_M128s', 'Standard_M64-16ms', 'Standard_M64-32ms', - /// 'Standard_M64ms', 'Standard_M64s', 'Standard_NC12', - /// 'Standard_NC12s_v2', 'Standard_NC12s_v3', 'Standard_NC24', - /// 'Standard_NC24r', 'Standard_NC24rs_v2', 'Standard_NC24rs_v3', - /// 'Standard_NC24s_v2', 'Standard_NC24s_v3', 'Standard_NC6', - /// 'Standard_NC6s_v2', 'Standard_NC6s_v3', 'Standard_ND12s', - /// 'Standard_ND24rs', 'Standard_ND24s', 'Standard_ND6s', - /// 'Standard_NV12', 'Standard_NV24', 'Standard_NV6' + /// Gets or sets the size of the agent pool VMs. /// + /// + /// VM size availability varies by region. If a node contains + /// insufficient compute resources (memory, cpu, etc) pods might fail + /// to run correctly. For more details on restricted VM sizes, see: + /// https://docs.microsoft.com/azure/aks/quotas-skus-regions + /// [JsonProperty(PropertyName = "vmSize")] public string VmSize { get; set; } /// - /// Gets or sets OS Disk Size in GB to be used to specify the disk size - /// for every machine in this master/agent pool. If you specify 0, it - /// will apply the default osDisk size according to the vmSize - /// specified. /// [JsonProperty(PropertyName = "osDiskSizeGB")] public int? OsDiskSizeGB { get; set; } /// - /// Gets or sets vNet SubnetID specifies the VNet's subnet identifier. + /// Gets or sets possible values include: 'Managed', 'Ephemeral' /// + [JsonProperty(PropertyName = "osDiskType")] + public string OsDiskType { get; set; } + + /// + /// Gets or sets possible values include: 'OS', 'Temporary' + /// + [JsonProperty(PropertyName = "kubeletDiskType")] + public string KubeletDiskType { get; set; } + + /// + /// Gets or sets the ID of the subnet which agent pool nodes and + /// optionally pods will join on startup. + /// + /// + /// If this is not specified, a VNET and subnet will be generated and + /// used. If no podSubnetID is specified, this applies to nodes and + /// pods, otherwise it applies to just nodes. This is of the form: + /// /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworks/{virtualNetworkName}/subnets/{subnetName} + /// [JsonProperty(PropertyName = "vnetSubnetID")] public string VnetSubnetID { get; set; } /// - /// Gets or sets maximum number of pods that can run on a node. + /// Gets or sets the ID of the subnet which pods will join when + /// launched. + /// + /// + /// If omitted, pod IPs are statically assigned on the node subnet (see + /// vnetSubnetID for more details). This is of the form: + /// /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworks/{virtualNetworkName}/subnets/{subnetName} + /// + [JsonProperty(PropertyName = "podSubnetID")] + public string PodSubnetID { get; set; } + + /// + /// Gets or sets the maximum number of pods that can run on a node. /// [JsonProperty(PropertyName = "maxPods")] public int? MaxPods { get; set; } /// - /// Gets or sets osType to be used to specify os type. Choose from - /// Linux and Windows. Default to Linux. Possible values include: - /// 'Linux', 'Windows' + /// Gets or sets possible values include: 'Linux', 'Windows' /// [JsonProperty(PropertyName = "osType")] public string OsType { get; set; } /// - /// Gets or sets maximum number of nodes for auto-scaling + /// Gets or sets possible values include: 'Ubuntu', 'CBLMariner' + /// + [JsonProperty(PropertyName = "osSKU")] + public string OsSKU { get; set; } + + /// + /// Gets or sets the maximum number of nodes for auto-scaling /// [JsonProperty(PropertyName = "maxCount")] public int? MaxCount { get; set; } /// - /// Gets or sets minimum number of nodes for auto-scaling + /// Gets or sets the minimum number of nodes for auto-scaling /// [JsonProperty(PropertyName = "minCount")] public int? MinCount { get; set; } @@ -294,29 +252,35 @@ public ManagedClusterAgentPoolProfileProperties() public bool? EnableAutoScaling { get; set; } /// - /// Gets or sets agentPoolType represents types of an agent pool. - /// Possible values include: 'VirtualMachineScaleSets', + /// Gets or sets possible values include: 'VirtualMachineScaleSets', /// 'AvailabilitySet' /// [JsonProperty(PropertyName = "type")] public string Type { get; set; } /// - /// Gets or sets agentPoolMode represents mode of an agent pool. - /// Possible values include: 'System', 'User' + /// Gets or sets possible values include: 'System', 'User' /// [JsonProperty(PropertyName = "mode")] public string Mode { get; set; } /// - /// Gets or sets version of orchestrator specified when creating the - /// managed cluster. + /// Gets or sets the version of Kubernetes running on the Agent Pool. /// + /// + /// As a best practice, you should upgrade all node pools in an AKS + /// cluster to the same Kubernetes version. The node pool version must + /// have the same major version as the control plane. The node pool + /// minor version must be within two minor versions of the control + /// plane version. The node pool version cannot be greater than the + /// control plane version. For more information see [upgrading a node + /// pool](https://docs.microsoft.com/azure/aks/use-multiple-node-pools#upgrade-a-node-pool). + /// [JsonProperty(PropertyName = "orchestratorVersion")] public string OrchestratorVersion { get; set; } /// - /// Gets version of node image + /// Gets the version of node image /// [JsonProperty(PropertyName = "nodeImageVersion")] public string NodeImageVersion { get; private set; } @@ -328,67 +292,102 @@ public ManagedClusterAgentPoolProfileProperties() public AgentPoolUpgradeSettings UpgradeSettings { get; set; } /// - /// Gets the current deployment or provisioning state, which only - /// appears in the response. + /// Gets the current deployment or provisioning state. /// [JsonProperty(PropertyName = "provisioningState")] public string ProvisioningState { get; private set; } /// - /// Gets or sets availability zones for nodes. Must use - /// VirtualMachineScaleSets AgentPoolType. + /// Gets describes whether the Agent Pool is Running or Stopped + /// + [JsonProperty(PropertyName = "powerState")] + public PowerState PowerState { get; private set; } + + /// + /// Gets or sets the list of Availability zones to use for nodes. This + /// can only be specified if the AgentPoolType property is + /// 'VirtualMachineScaleSets'. /// [JsonProperty(PropertyName = "availabilityZones")] public IList AvailabilityZones { get; set; } /// - /// Gets or sets enable public IP for nodes + /// Gets or sets whether each node is allocated its own public IP. /// + /// + /// Some scenarios may require nodes in a node pool to receive their + /// own dedicated public IP addresses. A common scenario is for gaming + /// workloads, where a console needs to make a direct connection to a + /// cloud virtual machine to minimize hops. For more information see + /// [assigning a public IP per + /// node](https://docs.microsoft.com/azure/aks/use-multiple-node-pools#assign-a-public-ip-per-node-for-your-node-pools). + /// The default is false. + /// [JsonProperty(PropertyName = "enableNodePublicIP")] public bool? EnableNodePublicIP { get; set; } /// - /// Gets or sets scaleSetPriority to be used to specify virtual machine - /// scale set priority. Default to regular. Possible values include: + /// Gets or sets the public IP prefix ID which VM nodes should use IPs + /// from. + /// + /// + /// This is of the form: + /// /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/publicIPPrefixes/{publicIPPrefixName} + /// + [JsonProperty(PropertyName = "nodePublicIPPrefixID")] + public string NodePublicIPPrefixID { get; set; } + + /// + /// Gets or sets the Virtual Machine Scale Set priority. If not + /// specified, the default is 'Regular'. Possible values include: /// 'Spot', 'Regular' /// [JsonProperty(PropertyName = "scaleSetPriority")] public string ScaleSetPriority { get; set; } /// - /// Gets or sets scaleSetEvictionPolicy to be used to specify eviction - /// policy for Spot virtual machine scale set. Default to Delete. - /// Possible values include: 'Delete', 'Deallocate' + /// Gets or sets the Virtual Machine Scale Set eviction policy to use. /// + /// + /// This cannot be specified unless the scaleSetPriority is 'Spot'. If + /// not specified, the default is 'Delete'. Possible values include: + /// 'Delete', 'Deallocate' + /// [JsonProperty(PropertyName = "scaleSetEvictionPolicy")] public string ScaleSetEvictionPolicy { get; set; } /// - /// Gets or sets spotMaxPrice to be used to specify the maximum price - /// you are willing to pay in US Dollars. Possible values are any - /// decimal value greater than zero or -1 which indicates default price - /// to be up-to on-demand. + /// Gets or sets the max price (in US Dollars) you are willing to pay + /// for spot instances. Possible values are any decimal value greater + /// than zero or -1 which indicates default price to be up-to + /// on-demand. /// + /// + /// Possible values are any decimal value greater than zero or -1 which + /// indicates the willingness to pay any on-demand price. For more + /// details on spot pricing, see [spot VMs + /// pricing](https://docs.microsoft.com/azure/virtual-machines/spot-vms#pricing) + /// [JsonProperty(PropertyName = "spotMaxPrice")] public double? SpotMaxPrice { get; set; } /// - /// Gets or sets agent pool tags to be persisted on the agent pool - /// virtual machine scale set. + /// Gets or sets the tags to be persisted on the agent pool virtual + /// machine scale set. /// [JsonProperty(PropertyName = "tags")] public IDictionary Tags { get; set; } /// - /// Gets or sets agent pool node labels to be persisted across all - /// nodes in agent pool. + /// Gets or sets the node labels to be persisted across all nodes in + /// agent pool. /// [JsonProperty(PropertyName = "nodeLabels")] public IDictionary NodeLabels { get; set; } /// - /// Gets or sets taints added to new nodes during node pool create and - /// scale. For example, key=value:NoSchedule. + /// Gets or sets the taints added to new nodes during node pool create + /// and scale. For example, key=value:NoSchedule. /// [JsonProperty(PropertyName = "nodeTaints")] public IList NodeTaints { get; set; } @@ -399,5 +398,67 @@ public ManagedClusterAgentPoolProfileProperties() [JsonProperty(PropertyName = "proximityPlacementGroupID")] public string ProximityPlacementGroupID { get; set; } + /// + /// Gets or sets the Kubelet configuration on the agent pool nodes. + /// + [JsonProperty(PropertyName = "kubeletConfig")] + public KubeletConfig KubeletConfig { get; set; } + + /// + /// Gets or sets the OS configuration of Linux agent nodes. + /// + [JsonProperty(PropertyName = "linuxOSConfig")] + public LinuxOSConfig LinuxOSConfig { get; set; } + + /// + /// Gets or sets whether to enable host based OS and data drive + /// encryption. + /// + /// + /// This is only supported on certain VM sizes and in certain Azure + /// regions. For more information, see: + /// https://docs.microsoft.com/azure/aks/enable-host-encryption + /// + [JsonProperty(PropertyName = "enableEncryptionAtHost")] + public bool? EnableEncryptionAtHost { get; set; } + + /// + /// Gets or sets whether to enable UltraSSD + /// + [JsonProperty(PropertyName = "enableUltraSSD")] + public bool? EnableUltraSSD { get; set; } + + /// + /// Gets or sets whether to use a FIPS-enabled OS. + /// + /// + /// See [Add a FIPS-enabled node + /// pool](https://docs.microsoft.com/azure/aks/use-multiple-node-pools#add-a-fips-enabled-node-pool-preview) + /// for more details. + /// + [JsonProperty(PropertyName = "enableFIPS")] + public bool? EnableFIPS { get; set; } + + /// + /// Gets or sets gPUInstanceProfile to be used to specify GPU MIG + /// instance profile for supported GPU VM SKU. Possible values include: + /// 'MIG1g', 'MIG2g', 'MIG3g', 'MIG4g', 'MIG7g' + /// + [JsonProperty(PropertyName = "gpuInstanceProfile")] + public string GpuInstanceProfile { get; set; } + + /// + /// Validate the object. + /// + /// + /// Thrown if validation fails + /// + public virtual void Validate() + { + if (KubeletConfig != null) + { + KubeletConfig.Validate(); + } + } } } diff --git a/sdk/containerservice/Microsoft.Azure.Management.ContainerService/src/Generated/Models/ManagedClusterAutoUpgradeProfile.cs b/sdk/containerservice/Microsoft.Azure.Management.ContainerService/src/Generated/Models/ManagedClusterAutoUpgradeProfile.cs new file mode 100644 index 000000000000..81fd39229db5 --- /dev/null +++ b/sdk/containerservice/Microsoft.Azure.Management.ContainerService/src/Generated/Models/ManagedClusterAutoUpgradeProfile.cs @@ -0,0 +1,61 @@ +// +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See License.txt in the project root for +// license information. +// +// Code generated by Microsoft (R) AutoRest Code Generator. +// Changes may cause incorrect behavior and will be lost if the code is +// regenerated. +// + +namespace Microsoft.Azure.Management.ContainerService.Models +{ + using Newtonsoft.Json; + using System.Linq; + + /// + /// Auto upgrade profile for a managed cluster. + /// + public partial class ManagedClusterAutoUpgradeProfile + { + /// + /// Initializes a new instance of the ManagedClusterAutoUpgradeProfile + /// class. + /// + public ManagedClusterAutoUpgradeProfile() + { + CustomInit(); + } + + /// + /// Initializes a new instance of the ManagedClusterAutoUpgradeProfile + /// class. + /// + /// The upgrade channel for auto upgrade. + /// The default is 'none'. + public ManagedClusterAutoUpgradeProfile(string upgradeChannel = default(string)) + { + UpgradeChannel = upgradeChannel; + CustomInit(); + } + + /// + /// An initialization method that performs custom operations like setting defaults + /// + partial void CustomInit(); + + /// + /// Gets or sets the upgrade channel for auto upgrade. The default is + /// 'none'. + /// + /// + /// For more information see [setting the AKS cluster auto-upgrade + /// channel](https://docs.microsoft.com/azure/aks/upgrade-cluster#set-auto-upgrade-channel). + /// Possible values include: 'rapid', 'stable', 'patch', 'node-image', + /// 'none' + /// + [JsonProperty(PropertyName = "upgradeChannel")] + public string UpgradeChannel { get; set; } + + } +} diff --git a/sdk/containerservice/Microsoft.Azure.Management.ContainerService/src/Generated/Models/ManagedClusterHTTPProxyConfig.cs b/sdk/containerservice/Microsoft.Azure.Management.ContainerService/src/Generated/Models/ManagedClusterHTTPProxyConfig.cs new file mode 100644 index 000000000000..ae383cb864ec --- /dev/null +++ b/sdk/containerservice/Microsoft.Azure.Management.ContainerService/src/Generated/Models/ManagedClusterHTTPProxyConfig.cs @@ -0,0 +1,84 @@ +// +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See License.txt in the project root for +// license information. +// +// Code generated by Microsoft (R) AutoRest Code Generator. +// Changes may cause incorrect behavior and will be lost if the code is +// regenerated. +// + +namespace Microsoft.Azure.Management.ContainerService.Models +{ + using Newtonsoft.Json; + using System.Collections; + using System.Collections.Generic; + using System.Linq; + + /// + /// Cluster HTTP proxy configuration. + /// + public partial class ManagedClusterHTTPProxyConfig + { + /// + /// Initializes a new instance of the ManagedClusterHTTPProxyConfig + /// class. + /// + public ManagedClusterHTTPProxyConfig() + { + CustomInit(); + } + + /// + /// Initializes a new instance of the ManagedClusterHTTPProxyConfig + /// class. + /// + /// The HTTP proxy server endpoint to + /// use. + /// The HTTPS proxy server endpoint to + /// use. + /// The endpoints that should not go through + /// proxy. + /// Alternative CA cert to use for connecting + /// to proxy servers. + public ManagedClusterHTTPProxyConfig(string httpProxy = default(string), string httpsProxy = default(string), IList noProxy = default(IList), string trustedCa = default(string)) + { + HttpProxy = httpProxy; + HttpsProxy = httpsProxy; + NoProxy = noProxy; + TrustedCa = trustedCa; + CustomInit(); + } + + /// + /// An initialization method that performs custom operations like setting defaults + /// + partial void CustomInit(); + + /// + /// Gets or sets the HTTP proxy server endpoint to use. + /// + [JsonProperty(PropertyName = "httpProxy")] + public string HttpProxy { get; set; } + + /// + /// Gets or sets the HTTPS proxy server endpoint to use. + /// + [JsonProperty(PropertyName = "httpsProxy")] + public string HttpsProxy { get; set; } + + /// + /// Gets or sets the endpoints that should not go through proxy. + /// + [JsonProperty(PropertyName = "noProxy")] + public IList NoProxy { get; set; } + + /// + /// Gets or sets alternative CA cert to use for connecting to proxy + /// servers. + /// + [JsonProperty(PropertyName = "trustedCa")] + public string TrustedCa { get; set; } + + } +} diff --git a/sdk/containerservice/Microsoft.Azure.Management.ContainerService/src/Generated/Models/ManagedClusterIdentity.cs b/sdk/containerservice/Microsoft.Azure.Management.ContainerService/src/Generated/Models/ManagedClusterIdentity.cs index 94cf9efd5588..7bae746a9246 100644 --- a/sdk/containerservice/Microsoft.Azure.Management.ContainerService/src/Generated/Models/ManagedClusterIdentity.cs +++ b/sdk/containerservice/Microsoft.Azure.Management.ContainerService/src/Generated/Models/ManagedClusterIdentity.cs @@ -36,18 +36,10 @@ public ManagedClusterIdentity() /// The tenant id of the system assigned /// identity which is used by master components. /// The type of identity used for the managed - /// cluster. Type 'SystemAssigned' will use an implicitly created - /// identity in master components and an auto-created user assigned - /// identity in MC_ resource group in agent nodes. Type 'None' will not - /// use MSI for the managed cluster, service principal will be used - /// instead. Possible values include: 'SystemAssigned', 'UserAssigned', - /// 'None' + /// cluster. /// The user identity associated /// with the managed cluster. This identity will be used in control - /// plane and only one user assigned identity is allowed. The user - /// identity dictionary key references will be ARM resource ids in the - /// form: - /// '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}'. + /// plane. Only one user assigned identity is allowed. public ManagedClusterIdentity(string principalId = default(string), string tenantId = default(string), ResourceIdentityType? type = default(ResourceIdentityType?), IDictionary userAssignedIdentities = default(IDictionary)) { PrincipalId = principalId; @@ -78,22 +70,24 @@ public ManagedClusterIdentity() /// /// Gets or sets the type of identity used for the managed cluster. - /// Type 'SystemAssigned' will use an implicitly created identity in - /// master components and an auto-created user assigned identity in MC_ - /// resource group in agent nodes. Type 'None' will not use MSI for the - /// managed cluster, service principal will be used instead. Possible - /// values include: 'SystemAssigned', 'UserAssigned', 'None' /// + /// + /// For more information see [use managed identities in + /// AKS](https://docs.microsoft.com/azure/aks/use-managed-identity). + /// Possible values include: 'SystemAssigned', 'UserAssigned', 'None' + /// [JsonProperty(PropertyName = "type")] public ResourceIdentityType? Type { get; set; } /// /// Gets or sets the user identity associated with the managed cluster. - /// This identity will be used in control plane and only one user - /// assigned identity is allowed. The user identity dictionary key - /// references will be ARM resource ids in the form: - /// '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}'. + /// This identity will be used in control plane. Only one user assigned + /// identity is allowed. /// + /// + /// The keys must be ARM resource IDs in the form: + /// '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}'. + /// [JsonProperty(PropertyName = "userAssignedIdentities")] public IDictionary UserAssignedIdentities { get; set; } diff --git a/sdk/containerservice/Microsoft.Azure.Management.ContainerService/src/Generated/Models/ManagedClusterLoadBalancerProfile.cs b/sdk/containerservice/Microsoft.Azure.Management.ContainerService/src/Generated/Models/ManagedClusterLoadBalancerProfile.cs index e3a2c4740cea..fb6782d4bb34 100644 --- a/sdk/containerservice/Microsoft.Azure.Management.ContainerService/src/Generated/Models/ManagedClusterLoadBalancerProfile.cs +++ b/sdk/containerservice/Microsoft.Azure.Management.ContainerService/src/Generated/Models/ManagedClusterLoadBalancerProfile.cs @@ -42,12 +42,12 @@ public ManagedClusterLoadBalancerProfile() /// cluster load balancer. /// The effective outbound IP /// resources of the cluster load balancer. - /// Desired number of allocated - /// SNAT ports per VM. Allowed values must be in the range of 0 to - /// 64000 (inclusive). The default value is 0 which results in Azure + /// The desired number of + /// allocated SNAT ports per VM. Allowed values are in the range of 0 + /// to 64000 (inclusive). The default value is 0 which results in Azure /// dynamically allocating ports. /// Desired outbound flow idle - /// timeout in minutes. Allowed values must be in the range of 4 to 120 + /// timeout in minutes. Allowed values are in the range of 4 to 120 /// (inclusive). The default value is 30 minutes. public ManagedClusterLoadBalancerProfile(ManagedClusterLoadBalancerProfileManagedOutboundIPs managedOutboundIPs = default(ManagedClusterLoadBalancerProfileManagedOutboundIPs), ManagedClusterLoadBalancerProfileOutboundIPPrefixes outboundIPPrefixes = default(ManagedClusterLoadBalancerProfileOutboundIPPrefixes), ManagedClusterLoadBalancerProfileOutboundIPs outboundIPs = default(ManagedClusterLoadBalancerProfileOutboundIPs), IList effectiveOutboundIPs = default(IList), int? allocatedOutboundPorts = default(int?), int? idleTimeoutInMinutes = default(int?)) { @@ -94,17 +94,18 @@ public ManagedClusterLoadBalancerProfile() public IList EffectiveOutboundIPs { get; set; } /// - /// Gets or sets desired number of allocated SNAT ports per VM. Allowed - /// values must be in the range of 0 to 64000 (inclusive). The default - /// value is 0 which results in Azure dynamically allocating ports. + /// Gets or sets the desired number of allocated SNAT ports per VM. + /// Allowed values are in the range of 0 to 64000 (inclusive). The + /// default value is 0 which results in Azure dynamically allocating + /// ports. /// [JsonProperty(PropertyName = "allocatedOutboundPorts")] public int? AllocatedOutboundPorts { get; set; } /// /// Gets or sets desired outbound flow idle timeout in minutes. Allowed - /// values must be in the range of 4 to 120 (inclusive). The default - /// value is 30 minutes. + /// values are in the range of 4 to 120 (inclusive). The default value + /// is 30 minutes. /// [JsonProperty(PropertyName = "idleTimeoutInMinutes")] public int? IdleTimeoutInMinutes { get; set; } diff --git a/sdk/containerservice/Microsoft.Azure.Management.ContainerService/src/Generated/Models/ManagedClusterLoadBalancerProfileManagedOutboundIPs.cs b/sdk/containerservice/Microsoft.Azure.Management.ContainerService/src/Generated/Models/ManagedClusterLoadBalancerProfileManagedOutboundIPs.cs index d72f7f793e37..6e60275cc155 100644 --- a/sdk/containerservice/Microsoft.Azure.Management.ContainerService/src/Generated/Models/ManagedClusterLoadBalancerProfileManagedOutboundIPs.cs +++ b/sdk/containerservice/Microsoft.Azure.Management.ContainerService/src/Generated/Models/ManagedClusterLoadBalancerProfileManagedOutboundIPs.cs @@ -32,9 +32,10 @@ public ManagedClusterLoadBalancerProfileManagedOutboundIPs() /// Initializes a new instance of the /// ManagedClusterLoadBalancerProfileManagedOutboundIPs class. /// - /// Desired number of outbound IP created/managed - /// by Azure for the cluster load balancer. Allowed values must be in - /// the range of 1 to 100 (inclusive). The default value is 1. + /// The desired number of outbound IPs + /// created/managed by Azure for the cluster load balancer. Allowed + /// values must be in the range of 1 to 100 (inclusive). The default + /// value is 1. public ManagedClusterLoadBalancerProfileManagedOutboundIPs(int? count = default(int?)) { Count = count; @@ -47,9 +48,9 @@ public ManagedClusterLoadBalancerProfileManagedOutboundIPs() partial void CustomInit(); /// - /// Gets or sets desired number of outbound IP created/managed by Azure - /// for the cluster load balancer. Allowed values must be in the range - /// of 1 to 100 (inclusive). The default value is 1. + /// Gets or sets the desired number of outbound IPs created/managed by + /// Azure for the cluster load balancer. Allowed values must be in the + /// range of 1 to 100 (inclusive). The default value is 1. /// [JsonProperty(PropertyName = "count")] public int? Count { get; set; } diff --git a/sdk/containerservice/Microsoft.Azure.Management.ContainerService/src/Generated/Models/ManagedClusterPodIdentity.cs b/sdk/containerservice/Microsoft.Azure.Management.ContainerService/src/Generated/Models/ManagedClusterPodIdentity.cs new file mode 100644 index 000000000000..05f1b35b94f5 --- /dev/null +++ b/sdk/containerservice/Microsoft.Azure.Management.ContainerService/src/Generated/Models/ManagedClusterPodIdentity.cs @@ -0,0 +1,117 @@ +// +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See License.txt in the project root for +// license information. +// +// Code generated by Microsoft (R) AutoRest Code Generator. +// Changes may cause incorrect behavior and will be lost if the code is +// regenerated. +// + +namespace Microsoft.Azure.Management.ContainerService.Models +{ + using Microsoft.Rest; + using Newtonsoft.Json; + using System.Linq; + + /// + /// Details about the pod identity assigned to the Managed Cluster. + /// + public partial class ManagedClusterPodIdentity + { + /// + /// Initializes a new instance of the ManagedClusterPodIdentity class. + /// + public ManagedClusterPodIdentity() + { + CustomInit(); + } + + /// + /// Initializes a new instance of the ManagedClusterPodIdentity class. + /// + /// The name of the pod identity. + /// The namespace of the pod + /// identity. + /// The user assigned identity details. + /// The binding selector to use for the + /// AzureIdentityBinding resource. + /// The current provisioning state of + /// the pod identity. Possible values include: 'Assigned', 'Updating', + /// 'Deleting', 'Failed' + public ManagedClusterPodIdentity(string name, string namespaceProperty, UserAssignedIdentity identity, string bindingSelector = default(string), string provisioningState = default(string), ManagedClusterPodIdentityProvisioningInfo provisioningInfo = default(ManagedClusterPodIdentityProvisioningInfo)) + { + Name = name; + NamespaceProperty = namespaceProperty; + BindingSelector = bindingSelector; + Identity = identity; + ProvisioningState = provisioningState; + ProvisioningInfo = provisioningInfo; + CustomInit(); + } + + /// + /// An initialization method that performs custom operations like setting defaults + /// + partial void CustomInit(); + + /// + /// Gets or sets the name of the pod identity. + /// + [JsonProperty(PropertyName = "name")] + public string Name { get; set; } + + /// + /// Gets or sets the namespace of the pod identity. + /// + [JsonProperty(PropertyName = "namespace")] + public string NamespaceProperty { get; set; } + + /// + /// Gets or sets the binding selector to use for the + /// AzureIdentityBinding resource. + /// + [JsonProperty(PropertyName = "bindingSelector")] + public string BindingSelector { get; set; } + + /// + /// Gets or sets the user assigned identity details. + /// + [JsonProperty(PropertyName = "identity")] + public UserAssignedIdentity Identity { get; set; } + + /// + /// Gets the current provisioning state of the pod identity. Possible + /// values include: 'Assigned', 'Updating', 'Deleting', 'Failed' + /// + [JsonProperty(PropertyName = "provisioningState")] + public string ProvisioningState { get; private set; } + + /// + /// + [JsonProperty(PropertyName = "provisioningInfo")] + public ManagedClusterPodIdentityProvisioningInfo ProvisioningInfo { get; private set; } + + /// + /// Validate the object. + /// + /// + /// Thrown if validation fails + /// + public virtual void Validate() + { + if (Name == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "Name"); + } + if (NamespaceProperty == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "NamespaceProperty"); + } + if (Identity == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "Identity"); + } + } + } +} diff --git a/sdk/containerservice/Microsoft.Azure.Management.ContainerService/src/Generated/Models/ManagedClusterPodIdentityException.cs b/sdk/containerservice/Microsoft.Azure.Management.ContainerService/src/Generated/Models/ManagedClusterPodIdentityException.cs new file mode 100644 index 000000000000..7aff319f93b7 --- /dev/null +++ b/sdk/containerservice/Microsoft.Azure.Management.ContainerService/src/Generated/Models/ManagedClusterPodIdentityException.cs @@ -0,0 +1,101 @@ +// +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See License.txt in the project root for +// license information. +// +// Code generated by Microsoft (R) AutoRest Code Generator. +// Changes may cause incorrect behavior and will be lost if the code is +// regenerated. +// + +namespace Microsoft.Azure.Management.ContainerService.Models +{ + using Microsoft.Rest; + using Newtonsoft.Json; + using System.Collections; + using System.Collections.Generic; + using System.Linq; + + /// + /// A pod identity exception, which allows pods with certain labels to + /// access the Azure Instance Metadata Service (IMDS) endpoint without + /// being intercepted by the node-managed identity (NMI) server. + /// + /// + /// See [disable AAD Pod Identity for a specific + /// Pod/Application](https://azure.github.io/aad-pod-identity/docs/configure/application_exception/) + /// for more details. + /// + public partial class ManagedClusterPodIdentityException + { + /// + /// Initializes a new instance of the + /// ManagedClusterPodIdentityException class. + /// + public ManagedClusterPodIdentityException() + { + CustomInit(); + } + + /// + /// Initializes a new instance of the + /// ManagedClusterPodIdentityException class. + /// + /// The name of the pod identity exception. + /// The namespace of the pod identity + /// exception. + /// The pod labels to match. + public ManagedClusterPodIdentityException(string name, string namespaceProperty, IDictionary podLabels) + { + Name = name; + NamespaceProperty = namespaceProperty; + PodLabels = podLabels; + CustomInit(); + } + + /// + /// An initialization method that performs custom operations like setting defaults + /// + partial void CustomInit(); + + /// + /// Gets or sets the name of the pod identity exception. + /// + [JsonProperty(PropertyName = "name")] + public string Name { get; set; } + + /// + /// Gets or sets the namespace of the pod identity exception. + /// + [JsonProperty(PropertyName = "namespace")] + public string NamespaceProperty { get; set; } + + /// + /// Gets or sets the pod labels to match. + /// + [JsonProperty(PropertyName = "podLabels")] + public IDictionary PodLabels { get; set; } + + /// + /// Validate the object. + /// + /// + /// Thrown if validation fails + /// + public virtual void Validate() + { + if (Name == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "Name"); + } + if (NamespaceProperty == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "NamespaceProperty"); + } + if (PodLabels == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "PodLabels"); + } + } + } +} diff --git a/sdk/containerservice/Microsoft.Azure.Management.ContainerService/src/Generated/Models/ManagedClusterPodIdentityProfile.cs b/sdk/containerservice/Microsoft.Azure.Management.ContainerService/src/Generated/Models/ManagedClusterPodIdentityProfile.cs new file mode 100644 index 000000000000..a2439ec7389c --- /dev/null +++ b/sdk/containerservice/Microsoft.Azure.Management.ContainerService/src/Generated/Models/ManagedClusterPodIdentityProfile.cs @@ -0,0 +1,96 @@ +// +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See License.txt in the project root for +// license information. +// +// Code generated by Microsoft (R) AutoRest Code Generator. +// Changes may cause incorrect behavior and will be lost if the code is +// regenerated. +// + +namespace Microsoft.Azure.Management.ContainerService.Models +{ + using Newtonsoft.Json; + using System.Collections; + using System.Collections.Generic; + using System.Linq; + + /// + /// The pod identity profile of the Managed Cluster. + /// + /// + /// See [use AAD pod + /// identity](https://docs.microsoft.com/azure/aks/use-azure-ad-pod-identity) + /// for more details on pod identity integration. + /// + public partial class ManagedClusterPodIdentityProfile + { + /// + /// Initializes a new instance of the ManagedClusterPodIdentityProfile + /// class. + /// + public ManagedClusterPodIdentityProfile() + { + CustomInit(); + } + + /// + /// Initializes a new instance of the ManagedClusterPodIdentityProfile + /// class. + /// + /// Whether the pod identity addon is + /// enabled. + /// Whether pod identity is + /// allowed to run on clusters with Kubenet networking. + /// The pod identities to use in + /// the cluster. + /// The pod identity + /// exceptions to allow. + public ManagedClusterPodIdentityProfile(bool? enabled = default(bool?), bool? allowNetworkPluginKubenet = default(bool?), IList userAssignedIdentities = default(IList), IList userAssignedIdentityExceptions = default(IList)) + { + Enabled = enabled; + AllowNetworkPluginKubenet = allowNetworkPluginKubenet; + UserAssignedIdentities = userAssignedIdentities; + UserAssignedIdentityExceptions = userAssignedIdentityExceptions; + CustomInit(); + } + + /// + /// An initialization method that performs custom operations like setting defaults + /// + partial void CustomInit(); + + /// + /// Gets or sets whether the pod identity addon is enabled. + /// + [JsonProperty(PropertyName = "enabled")] + public bool? Enabled { get; set; } + + /// + /// Gets or sets whether pod identity is allowed to run on clusters + /// with Kubenet networking. + /// + /// + /// Running in Kubenet is disabled by default due to the security + /// related nature of AAD Pod Identity and the risks of IP spoofing. + /// See [using Kubenet network plugin with AAD Pod + /// Identity](https://docs.microsoft.com/azure/aks/use-azure-ad-pod-identity#using-kubenet-network-plugin-with-azure-active-directory-pod-managed-identities) + /// for more information. + /// + [JsonProperty(PropertyName = "allowNetworkPluginKubenet")] + public bool? AllowNetworkPluginKubenet { get; set; } + + /// + /// Gets or sets the pod identities to use in the cluster. + /// + [JsonProperty(PropertyName = "userAssignedIdentities")] + public IList UserAssignedIdentities { get; set; } + + /// + /// Gets or sets the pod identity exceptions to allow. + /// + [JsonProperty(PropertyName = "userAssignedIdentityExceptions")] + public IList UserAssignedIdentityExceptions { get; set; } + + } +} diff --git a/sdk/containerservice/Microsoft.Azure.Management.ContainerService/src/Generated/Models/ManagedClusterPodIdentityProvisioningInfo.cs b/sdk/containerservice/Microsoft.Azure.Management.ContainerService/src/Generated/Models/ManagedClusterPodIdentityProvisioningInfo.cs new file mode 100644 index 000000000000..ef8c4e608199 --- /dev/null +++ b/sdk/containerservice/Microsoft.Azure.Management.ContainerService/src/Generated/Models/ManagedClusterPodIdentityProvisioningInfo.cs @@ -0,0 +1,50 @@ +// +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See License.txt in the project root for +// license information. +// +// Code generated by Microsoft (R) AutoRest Code Generator. +// Changes may cause incorrect behavior and will be lost if the code is +// regenerated. +// + +namespace Microsoft.Azure.Management.ContainerService.Models +{ + using Newtonsoft.Json; + using System.Linq; + + public partial class ManagedClusterPodIdentityProvisioningInfo + { + /// + /// Initializes a new instance of the + /// ManagedClusterPodIdentityProvisioningInfo class. + /// + public ManagedClusterPodIdentityProvisioningInfo() + { + CustomInit(); + } + + /// + /// Initializes a new instance of the + /// ManagedClusterPodIdentityProvisioningInfo class. + /// + /// Pod identity assignment error (if any). + public ManagedClusterPodIdentityProvisioningInfo(CloudError error = default(CloudError)) + { + Error = error; + CustomInit(); + } + + /// + /// An initialization method that performs custom operations like setting defaults + /// + partial void CustomInit(); + + /// + /// Gets or sets pod identity assignment error (if any). + /// + [JsonProperty(PropertyName = "error")] + public CloudError Error { get; set; } + + } +} diff --git a/sdk/containerservice/Microsoft.Azure.Management.ContainerService/src/Generated/Models/ManagedClusterPodIdentityProvisioningState.cs b/sdk/containerservice/Microsoft.Azure.Management.ContainerService/src/Generated/Models/ManagedClusterPodIdentityProvisioningState.cs new file mode 100644 index 000000000000..fce2cbf09706 --- /dev/null +++ b/sdk/containerservice/Microsoft.Azure.Management.ContainerService/src/Generated/Models/ManagedClusterPodIdentityProvisioningState.cs @@ -0,0 +1,24 @@ +// +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See License.txt in the project root for +// license information. +// +// Code generated by Microsoft (R) AutoRest Code Generator. +// Changes may cause incorrect behavior and will be lost if the code is +// regenerated. +// + +namespace Microsoft.Azure.Management.ContainerService.Models +{ + + /// + /// Defines values for ManagedClusterPodIdentityProvisioningState. + /// + public static class ManagedClusterPodIdentityProvisioningState + { + public const string Assigned = "Assigned"; + public const string Updating = "Updating"; + public const string Deleting = "Deleting"; + public const string Failed = "Failed"; + } +} diff --git a/sdk/containerservice/Microsoft.Azure.Management.ContainerService/src/Generated/Models/ManagedClusterPoolUpgradeProfile.cs b/sdk/containerservice/Microsoft.Azure.Management.ContainerService/src/Generated/Models/ManagedClusterPoolUpgradeProfile.cs index 37f5ed3dc2e9..fa395bb79744 100644 --- a/sdk/containerservice/Microsoft.Azure.Management.ContainerService/src/Generated/Models/ManagedClusterPoolUpgradeProfile.cs +++ b/sdk/containerservice/Microsoft.Azure.Management.ContainerService/src/Generated/Models/ManagedClusterPoolUpgradeProfile.cs @@ -34,12 +34,11 @@ public ManagedClusterPoolUpgradeProfile() /// Initializes a new instance of the ManagedClusterPoolUpgradeProfile /// class. /// - /// Kubernetes version (major, minor, - /// patch). - /// OsType to be used to specify os type. Choose - /// from Linux and Windows. Default to Linux. Possible values include: - /// 'Linux', 'Windows' - /// Pool name. + /// The Kubernetes version + /// (major.minor.patch). + /// Possible values include: 'Linux', + /// 'Windows' + /// The Agent Pool name. /// List of orchestrator types and versions /// available for upgrade. public ManagedClusterPoolUpgradeProfile(string kubernetesVersion, string osType, string name = default(string), IList upgrades = default(IList)) @@ -57,21 +56,19 @@ public ManagedClusterPoolUpgradeProfile() partial void CustomInit(); /// - /// Gets or sets kubernetes version (major, minor, patch). + /// Gets or sets the Kubernetes version (major.minor.patch). /// [JsonProperty(PropertyName = "kubernetesVersion")] public string KubernetesVersion { get; set; } /// - /// Gets or sets pool name. + /// Gets or sets the Agent Pool name. /// [JsonProperty(PropertyName = "name")] public string Name { get; set; } /// - /// Gets or sets osType to be used to specify os type. Choose from - /// Linux and Windows. Default to Linux. Possible values include: - /// 'Linux', 'Windows' + /// Gets or sets possible values include: 'Linux', 'Windows' /// [JsonProperty(PropertyName = "osType")] public string OsType { get; set; } diff --git a/sdk/containerservice/Microsoft.Azure.Management.ContainerService/src/Generated/Models/ManagedClusterPoolUpgradeProfileUpgradesItem.cs b/sdk/containerservice/Microsoft.Azure.Management.ContainerService/src/Generated/Models/ManagedClusterPoolUpgradeProfileUpgradesItem.cs index 789f8d722687..303ee0f5c66e 100644 --- a/sdk/containerservice/Microsoft.Azure.Management.ContainerService/src/Generated/Models/ManagedClusterPoolUpgradeProfileUpgradesItem.cs +++ b/sdk/containerservice/Microsoft.Azure.Management.ContainerService/src/Generated/Models/ManagedClusterPoolUpgradeProfileUpgradesItem.cs @@ -28,10 +28,10 @@ public ManagedClusterPoolUpgradeProfileUpgradesItem() /// Initializes a new instance of the /// ManagedClusterPoolUpgradeProfileUpgradesItem class. /// - /// Kubernetes version (major, minor, - /// patch). - /// Whether Kubernetes version is currently in - /// preview. + /// The Kubernetes version + /// (major.minor.patch). + /// Whether the Kubernetes version is currently + /// in preview. public ManagedClusterPoolUpgradeProfileUpgradesItem(string kubernetesVersion = default(string), bool? isPreview = default(bool?)) { KubernetesVersion = kubernetesVersion; @@ -45,13 +45,14 @@ public ManagedClusterPoolUpgradeProfileUpgradesItem() partial void CustomInit(); /// - /// Gets or sets kubernetes version (major, minor, patch). + /// Gets or sets the Kubernetes version (major.minor.patch). /// [JsonProperty(PropertyName = "kubernetesVersion")] public string KubernetesVersion { get; set; } /// - /// Gets or sets whether Kubernetes version is currently in preview. + /// Gets or sets whether the Kubernetes version is currently in + /// preview. /// [JsonProperty(PropertyName = "isPreview")] public bool? IsPreview { get; set; } diff --git a/sdk/containerservice/Microsoft.Azure.Management.ContainerService/src/Generated/Models/ManagedClusterPropertiesAutoScalerProfile.cs b/sdk/containerservice/Microsoft.Azure.Management.ContainerService/src/Generated/Models/ManagedClusterPropertiesAutoScalerProfile.cs index a379f5ed844f..69dc0f79aadf 100644 --- a/sdk/containerservice/Microsoft.Azure.Management.ContainerService/src/Generated/Models/ManagedClusterPropertiesAutoScalerProfile.cs +++ b/sdk/containerservice/Microsoft.Azure.Management.ContainerService/src/Generated/Models/ManagedClusterPropertiesAutoScalerProfile.cs @@ -31,9 +31,55 @@ public ManagedClusterPropertiesAutoScalerProfile() /// Initializes a new instance of the /// ManagedClusterPropertiesAutoScalerProfile class. /// - public ManagedClusterPropertiesAutoScalerProfile(string balanceSimilarNodeGroups = default(string), string scanInterval = default(string), string scaleDownDelayAfterAdd = default(string), string scaleDownDelayAfterDelete = default(string), string scaleDownDelayAfterFailure = default(string), string scaleDownUnneededTime = default(string), string scaleDownUnreadyTime = default(string), string scaleDownUtilizationThreshold = default(string), string maxGracefulTerminationSec = default(string)) + /// Detects similar node pools + /// and balances the number of nodes between them. + /// The expander to use when scaling up + /// The maximum number of empty nodes + /// that can be deleted at the same time. This must be a positive + /// integer. + /// The maximum number of + /// seconds the cluster autoscaler waits for pod termination when + /// trying to scale down a node. + /// The maximum time the autoscaler + /// waits for a node to be provisioned. + /// The maximum percentage of + /// unready nodes in the cluster. After this percentage is exceeded, + /// cluster autoscaler halts operations. + /// Ignore unscheduled pods before + /// they're a certain age. + /// The number of allowed unready + /// nodes, irrespective of max-total-unready-percentage. + /// How often cluster is reevaluated for + /// scale up or down. + /// How long after scale up that + /// scale down evaluation resumes + /// How long after node + /// deletion that scale down evaluation resumes. + /// How long after scale down + /// failure that scale down evaluation resumes. + /// How long a node should be + /// unneeded before it is eligible for scale down. + /// How long an unready node should + /// be unneeded before it is eligible for scale down + /// Node utilization level, + /// defined as sum of requested resources divided by capacity, below + /// which a node can be considered for scale down. + /// If cluster autoscaler will + /// skip deleting nodes with pods with local storage, for example, + /// EmptyDir or HostPath. + /// If cluster autoscaler will + /// skip deleting nodes with pods from kube-system (except for + /// DaemonSet or mirror pods) + public ManagedClusterPropertiesAutoScalerProfile(string balanceSimilarNodeGroups = default(string), string expander = default(string), string maxEmptyBulkDelete = default(string), string maxGracefulTerminationSec = default(string), string maxNodeProvisionTime = default(string), string maxTotalUnreadyPercentage = default(string), string newPodScaleUpDelay = default(string), string okTotalUnreadyCount = default(string), string scanInterval = default(string), string scaleDownDelayAfterAdd = default(string), string scaleDownDelayAfterDelete = default(string), string scaleDownDelayAfterFailure = default(string), string scaleDownUnneededTime = default(string), string scaleDownUnreadyTime = default(string), string scaleDownUtilizationThreshold = default(string), string skipNodesWithLocalStorage = default(string), string skipNodesWithSystemPods = default(string)) { BalanceSimilarNodeGroups = balanceSimilarNodeGroups; + Expander = expander; + MaxEmptyBulkDelete = maxEmptyBulkDelete; + MaxGracefulTerminationSec = maxGracefulTerminationSec; + MaxNodeProvisionTime = maxNodeProvisionTime; + MaxTotalUnreadyPercentage = maxTotalUnreadyPercentage; + NewPodScaleUpDelay = newPodScaleUpDelay; + OkTotalUnreadyCount = okTotalUnreadyCount; ScanInterval = scanInterval; ScaleDownDelayAfterAdd = scaleDownDelayAfterAdd; ScaleDownDelayAfterDelete = scaleDownDelayAfterDelete; @@ -41,7 +87,8 @@ public ManagedClusterPropertiesAutoScalerProfile() ScaleDownUnneededTime = scaleDownUnneededTime; ScaleDownUnreadyTime = scaleDownUnreadyTime; ScaleDownUtilizationThreshold = scaleDownUtilizationThreshold; - MaxGracefulTerminationSec = maxGracefulTerminationSec; + SkipNodesWithLocalStorage = skipNodesWithLocalStorage; + SkipNodesWithSystemPods = skipNodesWithSystemPods; CustomInit(); } @@ -51,49 +98,187 @@ public ManagedClusterPropertiesAutoScalerProfile() partial void CustomInit(); /// + /// Gets or sets detects similar node pools and balances the number of + /// nodes between them. /// + /// + /// Valid values are 'true' and 'false' + /// [JsonProperty(PropertyName = "balance-similar-node-groups")] public string BalanceSimilarNodeGroups { get; set; } /// + /// Gets or sets the expander to use when scaling up + /// + /// + /// If not specified, the default is 'random'. See + /// [expanders](https://github.com/kubernetes/autoscaler/blob/master/cluster-autoscaler/FAQ.md#what-are-expanders) + /// for more information. Possible values include: 'least-waste', + /// 'most-pods', 'priority', 'random' + /// + [JsonProperty(PropertyName = "expander")] + public string Expander { get; set; } + + /// + /// Gets or sets the maximum number of empty nodes that can be deleted + /// at the same time. This must be a positive integer. + /// + /// + /// The default is 10. + /// + [JsonProperty(PropertyName = "max-empty-bulk-delete")] + public string MaxEmptyBulkDelete { get; set; } + + /// + /// Gets or sets the maximum number of seconds the cluster autoscaler + /// waits for pod termination when trying to scale down a node. + /// + /// + /// The default is 600. + /// + [JsonProperty(PropertyName = "max-graceful-termination-sec")] + public string MaxGracefulTerminationSec { get; set; } + + /// + /// Gets or sets the maximum time the autoscaler waits for a node to be + /// provisioned. + /// + /// + /// The default is '15m'. Values must be an integer followed by an 'm'. + /// No unit of time other than minutes (m) is supported. + /// + [JsonProperty(PropertyName = "max-node-provision-time")] + public string MaxNodeProvisionTime { get; set; } + + /// + /// Gets or sets the maximum percentage of unready nodes in the + /// cluster. After this percentage is exceeded, cluster autoscaler + /// halts operations. + /// + /// + /// The default is 45. The maximum is 100 and the minimum is 0. + /// + [JsonProperty(PropertyName = "max-total-unready-percentage")] + public string MaxTotalUnreadyPercentage { get; set; } + + /// + /// Gets or sets ignore unscheduled pods before they're a certain age. /// + /// + /// For scenarios like burst/batch scale where you don't want CA to act + /// before the kubernetes scheduler could schedule all the pods, you + /// can tell CA to ignore unscheduled pods before they're a certain + /// age. The default is '0s'. Values must be an integer followed by a + /// unit ('s' for seconds, 'm' for minutes, 'h' for hours, etc). + /// + [JsonProperty(PropertyName = "new-pod-scale-up-delay")] + public string NewPodScaleUpDelay { get; set; } + + /// + /// Gets or sets the number of allowed unready nodes, irrespective of + /// max-total-unready-percentage. + /// + /// + /// This must be an integer. The default is 3. + /// + [JsonProperty(PropertyName = "ok-total-unready-count")] + public string OkTotalUnreadyCount { get; set; } + + /// + /// Gets or sets how often cluster is reevaluated for scale up or down. + /// + /// + /// The default is '10'. Values must be an integer number of seconds. + /// [JsonProperty(PropertyName = "scan-interval")] public string ScanInterval { get; set; } /// + /// Gets or sets how long after scale up that scale down evaluation + /// resumes /// + /// + /// The default is '10m'. Values must be an integer followed by an 'm'. + /// No unit of time other than minutes (m) is supported. + /// [JsonProperty(PropertyName = "scale-down-delay-after-add")] public string ScaleDownDelayAfterAdd { get; set; } /// + /// Gets or sets how long after node deletion that scale down + /// evaluation resumes. /// + /// + /// The default is the scan-interval. Values must be an integer + /// followed by an 'm'. No unit of time other than minutes (m) is + /// supported. + /// [JsonProperty(PropertyName = "scale-down-delay-after-delete")] public string ScaleDownDelayAfterDelete { get; set; } /// + /// Gets or sets how long after scale down failure that scale down + /// evaluation resumes. /// + /// + /// The default is '3m'. Values must be an integer followed by an 'm'. + /// No unit of time other than minutes (m) is supported. + /// [JsonProperty(PropertyName = "scale-down-delay-after-failure")] public string ScaleDownDelayAfterFailure { get; set; } /// + /// Gets or sets how long a node should be unneeded before it is + /// eligible for scale down. /// + /// + /// The default is '10m'. Values must be an integer followed by an 'm'. + /// No unit of time other than minutes (m) is supported. + /// [JsonProperty(PropertyName = "scale-down-unneeded-time")] public string ScaleDownUnneededTime { get; set; } /// + /// Gets or sets how long an unready node should be unneeded before it + /// is eligible for scale down /// + /// + /// The default is '20m'. Values must be an integer followed by an 'm'. + /// No unit of time other than minutes (m) is supported. + /// [JsonProperty(PropertyName = "scale-down-unready-time")] public string ScaleDownUnreadyTime { get; set; } /// + /// Gets or sets node utilization level, defined as sum of requested + /// resources divided by capacity, below which a node can be considered + /// for scale down. /// + /// + /// The default is '0.5'. + /// [JsonProperty(PropertyName = "scale-down-utilization-threshold")] public string ScaleDownUtilizationThreshold { get; set; } /// + /// Gets or sets if cluster autoscaler will skip deleting nodes with + /// pods with local storage, for example, EmptyDir or HostPath. /// - [JsonProperty(PropertyName = "max-graceful-termination-sec")] - public string MaxGracefulTerminationSec { get; set; } + /// + /// The default is true. + /// + [JsonProperty(PropertyName = "skip-nodes-with-local-storage")] + public string SkipNodesWithLocalStorage { get; set; } + + /// + /// Gets or sets if cluster autoscaler will skip deleting nodes with + /// pods from kube-system (except for DaemonSet or mirror pods) + /// + /// + /// The default is true. + /// + [JsonProperty(PropertyName = "skip-nodes-with-system-pods")] + public string SkipNodesWithSystemPods { get; set; } } } diff --git a/sdk/containerservice/Microsoft.Azure.Management.ContainerService/src/Generated/Models/ManagedClusterPropertiesIdentityProfileValue.cs b/sdk/containerservice/Microsoft.Azure.Management.ContainerService/src/Generated/Models/ManagedClusterPropertiesIdentityProfileValue.cs index 54d95601f607..6cbaf38bdcc8 100644 --- a/sdk/containerservice/Microsoft.Azure.Management.ContainerService/src/Generated/Models/ManagedClusterPropertiesIdentityProfileValue.cs +++ b/sdk/containerservice/Microsoft.Azure.Management.ContainerService/src/Generated/Models/ManagedClusterPropertiesIdentityProfileValue.cs @@ -27,11 +27,11 @@ public ManagedClusterPropertiesIdentityProfileValue() /// Initializes a new instance of the /// ManagedClusterPropertiesIdentityProfileValue class. /// - /// The resource id of the user assigned + /// The resource ID of the user assigned /// identity. - /// The client id of the user assigned + /// The client ID of the user assigned /// identity. - /// The object id of the user assigned + /// The object ID of the user assigned /// identity. public ManagedClusterPropertiesIdentityProfileValue(string resourceId = default(string), string clientId = default(string), string objectId = default(string)) : base(resourceId, clientId, objectId) diff --git a/sdk/containerservice/Microsoft.Azure.Management.ContainerService/src/Generated/Models/ManagedClusterSKU.cs b/sdk/containerservice/Microsoft.Azure.Management.ContainerService/src/Generated/Models/ManagedClusterSKU.cs index d65bbe1e5ee8..974770d75803 100644 --- a/sdk/containerservice/Microsoft.Azure.Management.ContainerService/src/Generated/Models/ManagedClusterSKU.cs +++ b/sdk/containerservice/Microsoft.Azure.Management.ContainerService/src/Generated/Models/ManagedClusterSKU.cs @@ -13,6 +13,9 @@ namespace Microsoft.Azure.Management.ContainerService.Models using Newtonsoft.Json; using System.Linq; + /// + /// The SKU of a Managed Cluster. + /// public partial class ManagedClusterSKU { /// @@ -26,10 +29,9 @@ public ManagedClusterSKU() /// /// Initializes a new instance of the ManagedClusterSKU class. /// - /// Name of a managed cluster SKU. Possible values - /// include: 'Basic' - /// Tier of a managed cluster SKU. Possible values - /// include: 'Paid', 'Free' + /// The name of a managed cluster SKU. Possible + /// values include: 'Basic' + /// The tier of a managed cluster SKU. public ManagedClusterSKU(string name = default(string), string tier = default(string)) { Name = name; @@ -43,16 +45,20 @@ public ManagedClusterSKU() partial void CustomInit(); /// - /// Gets or sets name of a managed cluster SKU. Possible values + /// Gets or sets the name of a managed cluster SKU. Possible values /// include: 'Basic' /// [JsonProperty(PropertyName = "name")] public string Name { get; set; } /// - /// Gets or sets tier of a managed cluster SKU. Possible values - /// include: 'Paid', 'Free' + /// Gets or sets the tier of a managed cluster SKU. /// + /// + /// If not specified, the default is 'Free'. See [uptime + /// SLA](https://docs.microsoft.com/azure/aks/uptime-sla) for more + /// details. Possible values include: 'Paid', 'Free' + /// [JsonProperty(PropertyName = "tier")] public string Tier { get; set; } diff --git a/sdk/containerservice/Microsoft.Azure.Management.ContainerService/src/Generated/Models/ManagedClusterSKUTier.cs b/sdk/containerservice/Microsoft.Azure.Management.ContainerService/src/Generated/Models/ManagedClusterSKUTier.cs index e16fb8555fee..fe00c59316b9 100644 --- a/sdk/containerservice/Microsoft.Azure.Management.ContainerService/src/Generated/Models/ManagedClusterSKUTier.cs +++ b/sdk/containerservice/Microsoft.Azure.Management.ContainerService/src/Generated/Models/ManagedClusterSKUTier.cs @@ -16,7 +16,16 @@ namespace Microsoft.Azure.Management.ContainerService.Models /// public static class ManagedClusterSKUTier { + /// + /// Guarantees 99.95% availability of the Kubernetes API server + /// endpoint for clusters that use Availability Zones and 99.9% of + /// availability for clusters that don't use Availability Zones. + /// public const string Paid = "Paid"; + /// + /// No guaranteed SLA, no additional charges. Free tier clusters have + /// an SLO of 99.5%. + /// public const string Free = "Free"; } } diff --git a/sdk/containerservice/Microsoft.Azure.Management.ContainerService/src/Generated/Models/ManagedClusterUpgradeProfile.cs b/sdk/containerservice/Microsoft.Azure.Management.ContainerService/src/Generated/Models/ManagedClusterUpgradeProfile.cs index b818758d7268..1125c142e9ef 100644 --- a/sdk/containerservice/Microsoft.Azure.Management.ContainerService/src/Generated/Models/ManagedClusterUpgradeProfile.cs +++ b/sdk/containerservice/Microsoft.Azure.Management.ContainerService/src/Generated/Models/ManagedClusterUpgradeProfile.cs @@ -40,9 +40,9 @@ public ManagedClusterUpgradeProfile() /// versions for the control plane. /// The list of available upgrade /// versions for agent pools. - /// Id of upgrade profile. - /// Name of upgrade profile. - /// Type of upgrade profile. + /// The ID of the upgrade profile. + /// The name of the upgrade profile. + /// The type of the upgrade profile. public ManagedClusterUpgradeProfile(ManagedClusterPoolUpgradeProfile controlPlaneProfile, IList agentPoolProfiles, string id = default(string), string name = default(string), string type = default(string)) { Id = id; @@ -59,19 +59,19 @@ public ManagedClusterUpgradeProfile() partial void CustomInit(); /// - /// Gets id of upgrade profile. + /// Gets the ID of the upgrade profile. /// [JsonProperty(PropertyName = "id")] public string Id { get; private set; } /// - /// Gets name of upgrade profile. + /// Gets the name of the upgrade profile. /// [JsonProperty(PropertyName = "name")] public string Name { get; private set; } /// - /// Gets type of upgrade profile. + /// Gets the type of the upgrade profile. /// [JsonProperty(PropertyName = "type")] public string Type { get; private set; } diff --git a/sdk/containerservice/Microsoft.Azure.Management.ContainerService/src/Generated/Models/ManagedClusterWindowsProfile.cs b/sdk/containerservice/Microsoft.Azure.Management.ContainerService/src/Generated/Models/ManagedClusterWindowsProfile.cs index 9855f66a7683..6ea892e90faa 100644 --- a/sdk/containerservice/Microsoft.Azure.Management.ContainerService/src/Generated/Models/ManagedClusterWindowsProfile.cs +++ b/sdk/containerservice/Microsoft.Azure.Management.ContainerService/src/Generated/Models/ManagedClusterWindowsProfile.cs @@ -15,7 +15,7 @@ namespace Microsoft.Azure.Management.ContainerService.Models using System.Linq; /// - /// Profile for Windows VMs in the container service cluster. + /// Profile for Windows VMs in the managed cluster. /// public partial class ManagedClusterWindowsProfile { @@ -32,19 +32,38 @@ public ManagedClusterWindowsProfile() /// Initializes a new instance of the ManagedClusterWindowsProfile /// class. /// - /// The administrator username to use for - /// Windows VMs. - /// The administrator password to use for - /// Windows VMs. - /// The licenseType to use for Windows VMs. - /// Windows_Server is used to enable Azure Hybrid User Benefits for - /// Windows VMs. Possible values include: 'None', + /// Specifies the name of the administrator + /// account. <br><br> **Restriction:** Cannot end in "." + /// <br><br> **Disallowed values:** "administrator", + /// "admin", "user", "user1", "test", "user2", "test1", "user3", + /// "admin1", "1", "123", "a", "actuser", "adm", "admin2", "aspnet", + /// "backup", "console", "david", "guest", "john", "owner", "root", + /// "server", "sql", "support", "support_388945a0", "sys", "test2", + /// "test3", "user4", "user5". <br><br> **Minimum-length:** + /// 1 character <br><br> **Max-length:** 20 + /// characters + /// Specifies the password of the + /// administrator account. <br><br> **Minimum-length:** 8 + /// characters <br><br> **Max-length:** 123 characters + /// <br><br> **Complexity requirements:** 3 out of 4 + /// conditions below need to be fulfilled <br> Has lower + /// characters <br>Has upper characters <br> Has a digit + /// <br> Has a special character (Regex match [\W_]) + /// <br><br> **Disallowed values:** "abc@123", "P@$$w0rd", + /// "P@ssw0rd", "P@ssword123", "Pa$$word", "pass@word1", "Password!", + /// "Password1", "Password22", "iloveyou!" + /// The license type to use for Windows VMs. + /// See [Azure Hybrid User + /// Benefits](https://azure.microsoft.com/pricing/hybrid-benefit/faq/) + /// for more details. Possible values include: 'None', /// 'Windows_Server' - public ManagedClusterWindowsProfile(string adminUsername, string adminPassword = default(string), string licenseType = default(string)) + /// Whether to enable CSI proxy. + public ManagedClusterWindowsProfile(string adminUsername, string adminPassword = default(string), string licenseType = default(string), bool? enableCSIProxy = default(bool?)) { AdminUsername = adminUsername; AdminPassword = adminPassword; LicenseType = licenseType; + EnableCSIProxy = enableCSIProxy; CustomInit(); } @@ -54,25 +73,56 @@ public ManagedClusterWindowsProfile() partial void CustomInit(); /// - /// Gets or sets the administrator username to use for Windows VMs. + /// Gets or sets specifies the name of the administrator account. + /// &lt;br&gt;&lt;br&gt; **Restriction:** Cannot end in + /// "." &lt;br&gt;&lt;br&gt; **Disallowed values:** + /// "administrator", "admin", "user", "user1", "test", "user2", + /// "test1", "user3", "admin1", "1", "123", "a", "actuser", "adm", + /// "admin2", "aspnet", "backup", "console", "david", "guest", "john", + /// "owner", "root", "server", "sql", "support", "support_388945a0", + /// "sys", "test2", "test3", "user4", "user5". + /// &lt;br&gt;&lt;br&gt; **Minimum-length:** 1 + /// character &lt;br&gt;&lt;br&gt; **Max-length:** 20 + /// characters /// [JsonProperty(PropertyName = "adminUsername")] public string AdminUsername { get; set; } /// - /// Gets or sets the administrator password to use for Windows VMs. + /// Gets or sets specifies the password of the administrator account. + /// &lt;br&gt;&lt;br&gt; **Minimum-length:** 8 + /// characters &lt;br&gt;&lt;br&gt; **Max-length:** 123 + /// characters &lt;br&gt;&lt;br&gt; **Complexity + /// requirements:** 3 out of 4 conditions below need to be fulfilled + /// &lt;br&gt; Has lower characters &lt;br&gt;Has upper + /// characters &lt;br&gt; Has a digit &lt;br&gt; Has a + /// special character (Regex match [\W_]) + /// &lt;br&gt;&lt;br&gt; **Disallowed values:** + /// "abc@123", "P@$$w0rd", "P@ssw0rd", "P@ssword123", "Pa$$word", + /// "pass@word1", "Password!", "Password1", "Password22", "iloveyou!" /// [JsonProperty(PropertyName = "adminPassword")] public string AdminPassword { get; set; } /// - /// Gets or sets the licenseType to use for Windows VMs. Windows_Server - /// is used to enable Azure Hybrid User Benefits for Windows VMs. - /// Possible values include: 'None', 'Windows_Server' + /// Gets or sets the license type to use for Windows VMs. See [Azure + /// Hybrid User + /// Benefits](https://azure.microsoft.com/pricing/hybrid-benefit/faq/) + /// for more details. Possible values include: 'None', 'Windows_Server' /// [JsonProperty(PropertyName = "licenseType")] public string LicenseType { get; set; } + /// + /// Gets or sets whether to enable CSI proxy. + /// + /// + /// For more details on CSI proxy, see the [CSI proxy GitHub + /// repo](https://github.com/kubernetes-csi/csi-proxy). + /// + [JsonProperty(PropertyName = "enableCSIProxy")] + public bool? EnableCSIProxy { get; set; } + /// /// Validate the object. /// @@ -85,20 +135,6 @@ public virtual void Validate() { throw new ValidationException(ValidationRules.CannotBeNull, "AdminUsername"); } - if (AdminUsername != null) - { - if (!System.Text.RegularExpressions.Regex.IsMatch(AdminUsername, "^[a-zA-Z0-9]+([._]?[a-zA-Z0-9]+)*$")) - { - throw new ValidationException(ValidationRules.Pattern, "AdminUsername", "^[a-zA-Z0-9]+([._]?[a-zA-Z0-9]+)*$"); - } - } - if (AdminPassword != null) - { - if (!System.Text.RegularExpressions.Regex.IsMatch(AdminPassword, "^(?=.*[a-z])(?=.*[A-Z])(?=.*[!@#$%\\^&\\*\\(\\)])[a-zA-Z\\d!@#$%\\^&\\*\\(\\)]{12,123}$")) - { - throw new ValidationException(ValidationRules.Pattern, "AdminPassword", "^(?=.*[a-z])(?=.*[A-Z])(?=.*[!@#$%\\^&\\*\\(\\)])[a-zA-Z\\d!@#$%\\^&\\*\\(\\)]{12,123}$"); - } - } } } } diff --git a/sdk/containerservice/Microsoft.Azure.Management.ContainerService/src/Generated/Models/NetworkMode.cs b/sdk/containerservice/Microsoft.Azure.Management.ContainerService/src/Generated/Models/NetworkMode.cs index 10b074c11ffc..0aae0378dfa4 100644 --- a/sdk/containerservice/Microsoft.Azure.Management.ContainerService/src/Generated/Models/NetworkMode.cs +++ b/sdk/containerservice/Microsoft.Azure.Management.ContainerService/src/Generated/Models/NetworkMode.cs @@ -16,7 +16,16 @@ namespace Microsoft.Azure.Management.ContainerService.Models /// public static class NetworkMode { + /// + /// No bridge is created. Intra-VM Pod to Pod communication is through + /// IP routes created by Azure CNI. See [Transparent + /// Mode](https://docs.microsoft.com/azure/aks/faq#transparent-mode) + /// for more information. + /// public const string Transparent = "transparent"; + /// + /// This is no longer supported + /// public const string Bridge = "bridge"; } } diff --git a/sdk/containerservice/Microsoft.Azure.Management.ContainerService/src/Generated/Models/NetworkPlugin.cs b/sdk/containerservice/Microsoft.Azure.Management.ContainerService/src/Generated/Models/NetworkPlugin.cs index aa4ebd53108d..199686c7fcf0 100644 --- a/sdk/containerservice/Microsoft.Azure.Management.ContainerService/src/Generated/Models/NetworkPlugin.cs +++ b/sdk/containerservice/Microsoft.Azure.Management.ContainerService/src/Generated/Models/NetworkPlugin.cs @@ -16,7 +16,17 @@ namespace Microsoft.Azure.Management.ContainerService.Models /// public static class NetworkPlugin { + /// + /// Use the Azure CNI network plugin. See [Azure CNI (advanced) + /// networking](https://docs.microsoft.com/azure/aks/concepts-network#azure-cni-advanced-networking) + /// for more information. + /// public const string Azure = "azure"; + /// + /// Use the Kubenet network plugin. See [Kubenet (basic) + /// networking](https://docs.microsoft.com/azure/aks/concepts-network#kubenet-basic-networking) + /// for more information. + /// public const string Kubenet = "kubenet"; } } diff --git a/sdk/containerservice/Microsoft.Azure.Management.ContainerService/src/Generated/Models/NetworkPolicy.cs b/sdk/containerservice/Microsoft.Azure.Management.ContainerService/src/Generated/Models/NetworkPolicy.cs index d6e012403aea..784b1103b4a1 100644 --- a/sdk/containerservice/Microsoft.Azure.Management.ContainerService/src/Generated/Models/NetworkPolicy.cs +++ b/sdk/containerservice/Microsoft.Azure.Management.ContainerService/src/Generated/Models/NetworkPolicy.cs @@ -16,7 +16,19 @@ namespace Microsoft.Azure.Management.ContainerService.Models /// public static class NetworkPolicy { + /// + /// Use Calico network policies. See [differences between Azure and + /// Calico + /// policies](https://docs.microsoft.com/azure/aks/use-network-policies#differences-between-azure-and-calico-policies-and-their-capabilities) + /// for more information. + /// public const string Calico = "calico"; + /// + /// Use Azure network policies. See [differences between Azure and + /// Calico + /// policies](https://docs.microsoft.com/azure/aks/use-network-policies#differences-between-azure-and-calico-policies-and-their-capabilities) + /// for more information. + /// public const string Azure = "azure"; } } diff --git a/sdk/containerservice/Microsoft.Azure.Management.ContainerService/src/Generated/Models/NetworkProfile.cs b/sdk/containerservice/Microsoft.Azure.Management.ContainerService/src/Generated/Models/NetworkProfile.cs deleted file mode 100644 index b6048318edc1..000000000000 --- a/sdk/containerservice/Microsoft.Azure.Management.ContainerService/src/Generated/Models/NetworkProfile.cs +++ /dev/null @@ -1,68 +0,0 @@ -// -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. See License.txt in the project root for -// license information. -// -// Code generated by Microsoft (R) AutoRest Code Generator. -// Changes may cause incorrect behavior and will be lost if the code is -// regenerated. -// - -namespace Microsoft.Azure.Management.ContainerService.Models -{ - using Newtonsoft.Json; - using System.Linq; - - /// - /// Represents the OpenShift networking configuration - /// - public partial class NetworkProfile - { - /// - /// Initializes a new instance of the NetworkProfile class. - /// - public NetworkProfile() - { - CustomInit(); - } - - /// - /// Initializes a new instance of the NetworkProfile class. - /// - /// CIDR for the OpenShift Vnet. - /// CIDR of the Vnet to peer. - /// ID of the Vnet created for OSA - /// cluster. - public NetworkProfile(string vnetCidr = default(string), string peerVnetId = default(string), string vnetId = default(string)) - { - VnetCidr = vnetCidr; - PeerVnetId = peerVnetId; - VnetId = vnetId; - CustomInit(); - } - - /// - /// An initialization method that performs custom operations like setting defaults - /// - partial void CustomInit(); - - /// - /// Gets or sets CIDR for the OpenShift Vnet. - /// - [JsonProperty(PropertyName = "vnetCidr")] - public string VnetCidr { get; set; } - - /// - /// Gets or sets CIDR of the Vnet to peer. - /// - [JsonProperty(PropertyName = "peerVnetId")] - public string PeerVnetId { get; set; } - - /// - /// Gets or sets ID of the Vnet created for OSA cluster. - /// - [JsonProperty(PropertyName = "vnetId")] - public string VnetId { get; set; } - - } -} diff --git a/sdk/containerservice/Microsoft.Azure.Management.ContainerService/src/Generated/Models/OSDiskType.cs b/sdk/containerservice/Microsoft.Azure.Management.ContainerService/src/Generated/Models/OSDiskType.cs new file mode 100644 index 000000000000..7777d8ceafb2 --- /dev/null +++ b/sdk/containerservice/Microsoft.Azure.Management.ContainerService/src/Generated/Models/OSDiskType.cs @@ -0,0 +1,35 @@ +// +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See License.txt in the project root for +// license information. +// +// Code generated by Microsoft (R) AutoRest Code Generator. +// Changes may cause incorrect behavior and will be lost if the code is +// regenerated. +// + +namespace Microsoft.Azure.Management.ContainerService.Models +{ + + /// + /// Defines values for OSDiskType. + /// + public static class OSDiskType + { + /// + /// Azure replicates the operating system disk for a virtual machine to + /// Azure storage to avoid data loss should the VM need to be relocated + /// to another host. Since containers aren't designed to have local + /// state persisted, this behavior offers limited value while providing + /// some drawbacks, including slower node provisioning and higher + /// read/write latency. + /// + public const string Managed = "Managed"; + /// + /// Ephemeral OS disks are stored only on the host machine, just like a + /// temporary disk. This provides lower read/write latency, along with + /// faster node scaling and cluster upgrades. + /// + public const string Ephemeral = "Ephemeral"; + } +} diff --git a/sdk/containerservice/Microsoft.Azure.Management.ContainerService/src/Generated/Models/OrchestratorVersionProfileListResult.cs b/sdk/containerservice/Microsoft.Azure.Management.ContainerService/src/Generated/Models/OSOptionProfile.cs similarity index 56% rename from sdk/containerservice/Microsoft.Azure.Management.ContainerService/src/Generated/Models/OrchestratorVersionProfileListResult.cs rename to sdk/containerservice/Microsoft.Azure.Management.ContainerService/src/Generated/Models/OSOptionProfile.cs index 1b6b79cb525c..b0883409d3b8 100644 --- a/sdk/containerservice/Microsoft.Azure.Management.ContainerService/src/Generated/Models/OrchestratorVersionProfileListResult.cs +++ b/sdk/containerservice/Microsoft.Azure.Management.ContainerService/src/Generated/Models/OSOptionProfile.cs @@ -18,38 +18,32 @@ namespace Microsoft.Azure.Management.ContainerService.Models using System.Linq; /// - /// The list of versions for supported orchestrators. + /// The OS option profile. /// [Rest.Serialization.JsonTransformation] - public partial class OrchestratorVersionProfileListResult + public partial class OSOptionProfile { /// - /// Initializes a new instance of the - /// OrchestratorVersionProfileListResult class. + /// Initializes a new instance of the OSOptionProfile class. /// - public OrchestratorVersionProfileListResult() + public OSOptionProfile() { CustomInit(); } /// - /// Initializes a new instance of the - /// OrchestratorVersionProfileListResult class. + /// Initializes a new instance of the OSOptionProfile class. /// - /// List of orchestrator version - /// profiles. - /// Id of the orchestrator version profile list - /// result. - /// Name of the orchestrator version profile list - /// result. - /// Type of the orchestrator version profile list - /// result. - public OrchestratorVersionProfileListResult(IList orchestrators, string id = default(string), string name = default(string), string type = default(string)) + /// The list of OS options. + /// The ID of the OS option resource. + /// The name of the OS option resource. + /// The type of the OS option resource. + public OSOptionProfile(IList osOptionPropertyList, string id = default(string), string name = default(string), string type = default(string)) { Id = id; Name = name; Type = type; - Orchestrators = orchestrators; + OsOptionPropertyList = osOptionPropertyList; CustomInit(); } @@ -59,28 +53,28 @@ public OrchestratorVersionProfileListResult() partial void CustomInit(); /// - /// Gets id of the orchestrator version profile list result. + /// Gets the ID of the OS option resource. /// [JsonProperty(PropertyName = "id")] public string Id { get; private set; } /// - /// Gets name of the orchestrator version profile list result. + /// Gets the name of the OS option resource. /// [JsonProperty(PropertyName = "name")] public string Name { get; private set; } /// - /// Gets type of the orchestrator version profile list result. + /// Gets the type of the OS option resource. /// [JsonProperty(PropertyName = "type")] public string Type { get; private set; } /// - /// Gets or sets list of orchestrator version profiles. + /// Gets or sets the list of OS options. /// - [JsonProperty(PropertyName = "properties.orchestrators")] - public IList Orchestrators { get; set; } + [JsonProperty(PropertyName = "properties.osOptionPropertyList")] + public IList OsOptionPropertyList { get; set; } /// /// Validate the object. @@ -90,13 +84,13 @@ public OrchestratorVersionProfileListResult() /// public virtual void Validate() { - if (Orchestrators == null) + if (OsOptionPropertyList == null) { - throw new ValidationException(ValidationRules.CannotBeNull, "Orchestrators"); + throw new ValidationException(ValidationRules.CannotBeNull, "OsOptionPropertyList"); } - if (Orchestrators != null) + if (OsOptionPropertyList != null) { - foreach (var element in Orchestrators) + foreach (var element in OsOptionPropertyList) { if (element != null) { diff --git a/sdk/containerservice/Microsoft.Azure.Management.ContainerService/src/Generated/Models/ContainerServiceCustomProfile.cs b/sdk/containerservice/Microsoft.Azure.Management.ContainerService/src/Generated/Models/OSOptionProperty.cs similarity index 57% rename from sdk/containerservice/Microsoft.Azure.Management.ContainerService/src/Generated/Models/ContainerServiceCustomProfile.cs rename to sdk/containerservice/Microsoft.Azure.Management.ContainerService/src/Generated/Models/OSOptionProperty.cs index e93206ba780b..2a1f78b1443a 100644 --- a/sdk/containerservice/Microsoft.Azure.Management.ContainerService/src/Generated/Models/ContainerServiceCustomProfile.cs +++ b/sdk/containerservice/Microsoft.Azure.Management.ContainerService/src/Generated/Models/OSOptionProperty.cs @@ -15,28 +15,28 @@ namespace Microsoft.Azure.Management.ContainerService.Models using System.Linq; /// - /// Properties to configure a custom container service cluster. + /// OS option property. /// - public partial class ContainerServiceCustomProfile + public partial class OSOptionProperty { /// - /// Initializes a new instance of the ContainerServiceCustomProfile - /// class. + /// Initializes a new instance of the OSOptionProperty class. /// - public ContainerServiceCustomProfile() + public OSOptionProperty() { CustomInit(); } /// - /// Initializes a new instance of the ContainerServiceCustomProfile - /// class. + /// Initializes a new instance of the OSOptionProperty class. /// - /// The name of the custom orchestrator to - /// use. - public ContainerServiceCustomProfile(string orchestrator) + /// The OS type. + /// Whether the image is + /// FIPS-enabled. + public OSOptionProperty(string osType, bool enableFipsImage) { - Orchestrator = orchestrator; + OsType = osType; + EnableFipsImage = enableFipsImage; CustomInit(); } @@ -46,10 +46,16 @@ public ContainerServiceCustomProfile(string orchestrator) partial void CustomInit(); /// - /// Gets or sets the name of the custom orchestrator to use. + /// Gets or sets the OS type. /// - [JsonProperty(PropertyName = "orchestrator")] - public string Orchestrator { get; set; } + [JsonProperty(PropertyName = "os-type")] + public string OsType { get; set; } + + /// + /// Gets or sets whether the image is FIPS-enabled. + /// + [JsonProperty(PropertyName = "enable-fips-image")] + public bool EnableFipsImage { get; set; } /// /// Validate the object. @@ -59,9 +65,9 @@ public ContainerServiceCustomProfile(string orchestrator) /// public virtual void Validate() { - if (Orchestrator == null) + if (OsType == null) { - throw new ValidationException(ValidationRules.CannotBeNull, "Orchestrator"); + throw new ValidationException(ValidationRules.CannotBeNull, "OsType"); } } } diff --git a/sdk/containerservice/Microsoft.Azure.Management.ContainerService/src/Generated/Models/OSSKU.cs b/sdk/containerservice/Microsoft.Azure.Management.ContainerService/src/Generated/Models/OSSKU.cs new file mode 100644 index 000000000000..f6ded12604b1 --- /dev/null +++ b/sdk/containerservice/Microsoft.Azure.Management.ContainerService/src/Generated/Models/OSSKU.cs @@ -0,0 +1,22 @@ +// +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See License.txt in the project root for +// license information. +// +// Code generated by Microsoft (R) AutoRest Code Generator. +// Changes may cause incorrect behavior and will be lost if the code is +// regenerated. +// + +namespace Microsoft.Azure.Management.ContainerService.Models +{ + + /// + /// Defines values for OSSKU. + /// + public static class OSSKU + { + public const string Ubuntu = "Ubuntu"; + public const string CBLMariner = "CBLMariner"; + } +} diff --git a/sdk/containerservice/Microsoft.Azure.Management.ContainerService/src/Generated/Models/OSType.cs b/sdk/containerservice/Microsoft.Azure.Management.ContainerService/src/Generated/Models/OSType.cs index 695e5437f0a8..6d35fe09e7e6 100644 --- a/sdk/containerservice/Microsoft.Azure.Management.ContainerService/src/Generated/Models/OSType.cs +++ b/sdk/containerservice/Microsoft.Azure.Management.ContainerService/src/Generated/Models/OSType.cs @@ -16,7 +16,13 @@ namespace Microsoft.Azure.Management.ContainerService.Models /// public static class OSType { + /// + /// Use Linux. + /// public const string Linux = "Linux"; + /// + /// Use Windows. + /// public const string Windows = "Windows"; } } diff --git a/sdk/containerservice/Microsoft.Azure.Management.ContainerService/src/Generated/Models/OpenShiftContainerServiceVMSize.cs b/sdk/containerservice/Microsoft.Azure.Management.ContainerService/src/Generated/Models/OpenShiftContainerServiceVMSize.cs deleted file mode 100644 index 0d653547c949..000000000000 --- a/sdk/containerservice/Microsoft.Azure.Management.ContainerService/src/Generated/Models/OpenShiftContainerServiceVMSize.cs +++ /dev/null @@ -1,53 +0,0 @@ -// -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. See License.txt in the project root for -// license information. -// -// Code generated by Microsoft (R) AutoRest Code Generator. -// Changes may cause incorrect behavior and will be lost if the code is -// regenerated. -// - -namespace Microsoft.Azure.Management.ContainerService.Models -{ - - /// - /// Defines values for OpenShiftContainerServiceVMSize. - /// - public static class OpenShiftContainerServiceVMSize - { - public const string StandardD2sV3 = "Standard_D2s_v3"; - public const string StandardD4sV3 = "Standard_D4s_v3"; - public const string StandardD8sV3 = "Standard_D8s_v3"; - public const string StandardD16sV3 = "Standard_D16s_v3"; - public const string StandardD32sV3 = "Standard_D32s_v3"; - public const string StandardD64sV3 = "Standard_D64s_v3"; - public const string StandardDS4V2 = "Standard_DS4_v2"; - public const string StandardDS5V2 = "Standard_DS5_v2"; - public const string StandardF8sV2 = "Standard_F8s_v2"; - public const string StandardF16sV2 = "Standard_F16s_v2"; - public const string StandardF32sV2 = "Standard_F32s_v2"; - public const string StandardF64sV2 = "Standard_F64s_v2"; - public const string StandardF72sV2 = "Standard_F72s_v2"; - public const string StandardF8s = "Standard_F8s"; - public const string StandardF16s = "Standard_F16s"; - public const string StandardE4sV3 = "Standard_E4s_v3"; - public const string StandardE8sV3 = "Standard_E8s_v3"; - public const string StandardE16sV3 = "Standard_E16s_v3"; - public const string StandardE20sV3 = "Standard_E20s_v3"; - public const string StandardE32sV3 = "Standard_E32s_v3"; - public const string StandardE64sV3 = "Standard_E64s_v3"; - public const string StandardGS2 = "Standard_GS2"; - public const string StandardGS3 = "Standard_GS3"; - public const string StandardGS4 = "Standard_GS4"; - public const string StandardGS5 = "Standard_GS5"; - public const string StandardDS12V2 = "Standard_DS12_v2"; - public const string StandardDS13V2 = "Standard_DS13_v2"; - public const string StandardDS14V2 = "Standard_DS14_v2"; - public const string StandardDS15V2 = "Standard_DS15_v2"; - public const string StandardL4s = "Standard_L4s"; - public const string StandardL8s = "Standard_L8s"; - public const string StandardL16s = "Standard_L16s"; - public const string StandardL32s = "Standard_L32s"; - } -} diff --git a/sdk/containerservice/Microsoft.Azure.Management.ContainerService/src/Generated/Models/OpenShiftManagedCluster.cs b/sdk/containerservice/Microsoft.Azure.Management.ContainerService/src/Generated/Models/OpenShiftManagedCluster.cs deleted file mode 100644 index fd9eb0ea5281..000000000000 --- a/sdk/containerservice/Microsoft.Azure.Management.ContainerService/src/Generated/Models/OpenShiftManagedCluster.cs +++ /dev/null @@ -1,185 +0,0 @@ -// -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. See License.txt in the project root for -// license information. -// -// Code generated by Microsoft (R) AutoRest Code Generator. -// Changes may cause incorrect behavior and will be lost if the code is -// regenerated. -// - -namespace Microsoft.Azure.Management.ContainerService.Models -{ - using Microsoft.Rest; - using Microsoft.Rest.Serialization; - using Newtonsoft.Json; - using System.Collections; - using System.Collections.Generic; - using System.Linq; - - /// - /// OpenShift Managed cluster. - /// - [Rest.Serialization.JsonTransformation] - public partial class OpenShiftManagedCluster : Resource - { - /// - /// Initializes a new instance of the OpenShiftManagedCluster class. - /// - public OpenShiftManagedCluster() - { - CustomInit(); - } - - /// - /// Initializes a new instance of the OpenShiftManagedCluster class. - /// - /// Resource location - /// Version of OpenShift specified when - /// creating the cluster. - /// Resource Id - /// Resource name - /// Resource type - /// Resource tags - /// Define the resource plan as required by ARM for - /// billing purposes - /// The current deployment or - /// provisioning state, which only appears in the response. - /// Version of OpenShift specified when - /// creating the cluster. - /// Service generated FQDN for OpenShift - /// API server. - /// Service generated FQDN for OpenShift API server - /// loadbalancer internal hostname. - /// Configuration for OpenShift - /// networking. - /// Configuration for OpenShift - /// router(s). - /// Configuration for OpenShift master - /// VMs. - /// Configuration of OpenShift cluster - /// VMs. - /// Configures OpenShift - /// authentication. - public OpenShiftManagedCluster(string location, string openShiftVersion, string id = default(string), string name = default(string), string type = default(string), IDictionary tags = default(IDictionary), PurchasePlan plan = default(PurchasePlan), string provisioningState = default(string), string clusterVersion = default(string), string publicHostname = default(string), string fqdn = default(string), NetworkProfile networkProfile = default(NetworkProfile), IList routerProfiles = default(IList), OpenShiftManagedClusterMasterPoolProfile masterPoolProfile = default(OpenShiftManagedClusterMasterPoolProfile), IList agentPoolProfiles = default(IList), OpenShiftManagedClusterAuthProfile authProfile = default(OpenShiftManagedClusterAuthProfile)) - : base(location, id, name, type, tags) - { - Plan = plan; - ProvisioningState = provisioningState; - OpenShiftVersion = openShiftVersion; - ClusterVersion = clusterVersion; - PublicHostname = publicHostname; - Fqdn = fqdn; - NetworkProfile = networkProfile; - RouterProfiles = routerProfiles; - MasterPoolProfile = masterPoolProfile; - AgentPoolProfiles = agentPoolProfiles; - AuthProfile = authProfile; - CustomInit(); - } - - /// - /// An initialization method that performs custom operations like setting defaults - /// - partial void CustomInit(); - - /// - /// Gets or sets define the resource plan as required by ARM for - /// billing purposes - /// - [JsonProperty(PropertyName = "plan")] - public PurchasePlan Plan { get; set; } - - /// - /// Gets the current deployment or provisioning state, which only - /// appears in the response. - /// - [JsonProperty(PropertyName = "properties.provisioningState")] - public string ProvisioningState { get; private set; } - - /// - /// Gets or sets version of OpenShift specified when creating the - /// cluster. - /// - [JsonProperty(PropertyName = "properties.openShiftVersion")] - public string OpenShiftVersion { get; set; } - - /// - /// Gets version of OpenShift specified when creating the cluster. - /// - [JsonProperty(PropertyName = "properties.clusterVersion")] - public string ClusterVersion { get; private set; } - - /// - /// Gets service generated FQDN for OpenShift API server. - /// - [JsonProperty(PropertyName = "properties.publicHostname")] - public string PublicHostname { get; private set; } - - /// - /// Gets service generated FQDN for OpenShift API server loadbalancer - /// internal hostname. - /// - [JsonProperty(PropertyName = "properties.fqdn")] - public string Fqdn { get; private set; } - - /// - /// Gets or sets configuration for OpenShift networking. - /// - [JsonProperty(PropertyName = "properties.networkProfile")] - public NetworkProfile NetworkProfile { get; set; } - - /// - /// Gets or sets configuration for OpenShift router(s). - /// - [JsonProperty(PropertyName = "properties.routerProfiles")] - public IList RouterProfiles { get; set; } - - /// - /// Gets or sets configuration for OpenShift master VMs. - /// - [JsonProperty(PropertyName = "properties.masterPoolProfile")] - public OpenShiftManagedClusterMasterPoolProfile MasterPoolProfile { get; set; } - - /// - /// Gets or sets configuration of OpenShift cluster VMs. - /// - [JsonProperty(PropertyName = "properties.agentPoolProfiles")] - public IList AgentPoolProfiles { get; set; } - - /// - /// Gets or sets configures OpenShift authentication. - /// - [JsonProperty(PropertyName = "properties.authProfile")] - public OpenShiftManagedClusterAuthProfile AuthProfile { get; set; } - - /// - /// Validate the object. - /// - /// - /// Thrown if validation fails - /// - public override void Validate() - { - base.Validate(); - if (OpenShiftVersion == null) - { - throw new ValidationException(ValidationRules.CannotBeNull, "OpenShiftVersion"); - } - if (MasterPoolProfile != null) - { - MasterPoolProfile.Validate(); - } - if (AgentPoolProfiles != null) - { - foreach (var element in AgentPoolProfiles) - { - if (element != null) - { - element.Validate(); - } - } - } - } - } -} diff --git a/sdk/containerservice/Microsoft.Azure.Management.ContainerService/src/Generated/Models/OpenShiftManagedClusterAADIdentityProvider.cs b/sdk/containerservice/Microsoft.Azure.Management.ContainerService/src/Generated/Models/OpenShiftManagedClusterAADIdentityProvider.cs deleted file mode 100644 index 2a7a57e11a6f..000000000000 --- a/sdk/containerservice/Microsoft.Azure.Management.ContainerService/src/Generated/Models/OpenShiftManagedClusterAADIdentityProvider.cs +++ /dev/null @@ -1,82 +0,0 @@ -// -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. See License.txt in the project root for -// license information. -// -// Code generated by Microsoft (R) AutoRest Code Generator. -// Changes may cause incorrect behavior and will be lost if the code is -// regenerated. -// - -namespace Microsoft.Azure.Management.ContainerService.Models -{ - using Newtonsoft.Json; - using System.Linq; - - /// - /// Defines the Identity provider for MS AAD. - /// - [Newtonsoft.Json.JsonObject("AADIdentityProvider")] - public partial class OpenShiftManagedClusterAADIdentityProvider : OpenShiftManagedClusterBaseIdentityProvider - { - /// - /// Initializes a new instance of the - /// OpenShiftManagedClusterAADIdentityProvider class. - /// - public OpenShiftManagedClusterAADIdentityProvider() - { - CustomInit(); - } - - /// - /// Initializes a new instance of the - /// OpenShiftManagedClusterAADIdentityProvider class. - /// - /// The clientId password associated with the - /// provider. - /// The secret password associated with the - /// provider. - /// The tenantId associated with the - /// provider. - /// The groupId to be granted - /// cluster admin role. - public OpenShiftManagedClusterAADIdentityProvider(string clientId = default(string), string secret = default(string), string tenantId = default(string), string customerAdminGroupId = default(string)) - { - ClientId = clientId; - Secret = secret; - TenantId = tenantId; - CustomerAdminGroupId = customerAdminGroupId; - CustomInit(); - } - - /// - /// An initialization method that performs custom operations like setting defaults - /// - partial void CustomInit(); - - /// - /// Gets or sets the clientId password associated with the provider. - /// - [JsonProperty(PropertyName = "clientId")] - public string ClientId { get; set; } - - /// - /// Gets or sets the secret password associated with the provider. - /// - [JsonProperty(PropertyName = "secret")] - public string Secret { get; set; } - - /// - /// Gets or sets the tenantId associated with the provider. - /// - [JsonProperty(PropertyName = "tenantId")] - public string TenantId { get; set; } - - /// - /// Gets or sets the groupId to be granted cluster admin role. - /// - [JsonProperty(PropertyName = "customerAdminGroupId")] - public string CustomerAdminGroupId { get; set; } - - } -} diff --git a/sdk/containerservice/Microsoft.Azure.Management.ContainerService/src/Generated/Models/OpenShiftManagedClusterAgentPoolProfile.cs b/sdk/containerservice/Microsoft.Azure.Management.ContainerService/src/Generated/Models/OpenShiftManagedClusterAgentPoolProfile.cs deleted file mode 100644 index 49276b1bd7d8..000000000000 --- a/sdk/containerservice/Microsoft.Azure.Management.ContainerService/src/Generated/Models/OpenShiftManagedClusterAgentPoolProfile.cs +++ /dev/null @@ -1,142 +0,0 @@ -// -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. See License.txt in the project root for -// license information. -// -// Code generated by Microsoft (R) AutoRest Code Generator. -// Changes may cause incorrect behavior and will be lost if the code is -// regenerated. -// - -namespace Microsoft.Azure.Management.ContainerService.Models -{ - using Microsoft.Rest; - using Newtonsoft.Json; - using System.Linq; - - /// - /// Defines the configuration of the OpenShift cluster VMs. - /// - public partial class OpenShiftManagedClusterAgentPoolProfile - { - /// - /// Initializes a new instance of the - /// OpenShiftManagedClusterAgentPoolProfile class. - /// - public OpenShiftManagedClusterAgentPoolProfile() - { - CustomInit(); - } - - /// - /// Initializes a new instance of the - /// OpenShiftManagedClusterAgentPoolProfile class. - /// - /// Unique name of the pool profile in the context - /// of the subscription and resource group. - /// Number of agents (VMs) to host docker - /// containers. - /// Size of agent VMs. Possible values include: - /// 'Standard_D2s_v3', 'Standard_D4s_v3', 'Standard_D8s_v3', - /// 'Standard_D16s_v3', 'Standard_D32s_v3', 'Standard_D64s_v3', - /// 'Standard_DS4_v2', 'Standard_DS5_v2', 'Standard_F8s_v2', - /// 'Standard_F16s_v2', 'Standard_F32s_v2', 'Standard_F64s_v2', - /// 'Standard_F72s_v2', 'Standard_F8s', 'Standard_F16s', - /// 'Standard_E4s_v3', 'Standard_E8s_v3', 'Standard_E16s_v3', - /// 'Standard_E20s_v3', 'Standard_E32s_v3', 'Standard_E64s_v3', - /// 'Standard_GS2', 'Standard_GS3', 'Standard_GS4', 'Standard_GS5', - /// 'Standard_DS12_v2', 'Standard_DS13_v2', 'Standard_DS14_v2', - /// 'Standard_DS15_v2', 'Standard_L4s', 'Standard_L8s', - /// 'Standard_L16s', 'Standard_L32s' - /// Subnet CIDR for the peering. - /// OsType to be used to specify os type. Choose - /// from Linux and Windows. Default to Linux. Possible values include: - /// 'Linux', 'Windows' - /// Define the role of the AgentPoolProfile. - /// Possible values include: 'compute', 'infra' - public OpenShiftManagedClusterAgentPoolProfile(string name, int count, string vmSize, string subnetCidr = default(string), string osType = default(string), string role = default(string)) - { - Name = name; - Count = count; - VmSize = vmSize; - SubnetCidr = subnetCidr; - OsType = osType; - Role = role; - CustomInit(); - } - - /// - /// An initialization method that performs custom operations like setting defaults - /// - partial void CustomInit(); - - /// - /// Gets or sets unique name of the pool profile in the context of the - /// subscription and resource group. - /// - [JsonProperty(PropertyName = "name")] - public string Name { get; set; } - - /// - /// Gets or sets number of agents (VMs) to host docker containers. - /// - [JsonProperty(PropertyName = "count")] - public int Count { get; set; } - - /// - /// Gets or sets size of agent VMs. Possible values include: - /// 'Standard_D2s_v3', 'Standard_D4s_v3', 'Standard_D8s_v3', - /// 'Standard_D16s_v3', 'Standard_D32s_v3', 'Standard_D64s_v3', - /// 'Standard_DS4_v2', 'Standard_DS5_v2', 'Standard_F8s_v2', - /// 'Standard_F16s_v2', 'Standard_F32s_v2', 'Standard_F64s_v2', - /// 'Standard_F72s_v2', 'Standard_F8s', 'Standard_F16s', - /// 'Standard_E4s_v3', 'Standard_E8s_v3', 'Standard_E16s_v3', - /// 'Standard_E20s_v3', 'Standard_E32s_v3', 'Standard_E64s_v3', - /// 'Standard_GS2', 'Standard_GS3', 'Standard_GS4', 'Standard_GS5', - /// 'Standard_DS12_v2', 'Standard_DS13_v2', 'Standard_DS14_v2', - /// 'Standard_DS15_v2', 'Standard_L4s', 'Standard_L8s', - /// 'Standard_L16s', 'Standard_L32s' - /// - [JsonProperty(PropertyName = "vmSize")] - public string VmSize { get; set; } - - /// - /// Gets or sets subnet CIDR for the peering. - /// - [JsonProperty(PropertyName = "subnetCidr")] - public string SubnetCidr { get; set; } - - /// - /// Gets or sets osType to be used to specify os type. Choose from - /// Linux and Windows. Default to Linux. Possible values include: - /// 'Linux', 'Windows' - /// - [JsonProperty(PropertyName = "osType")] - public string OsType { get; set; } - - /// - /// Gets or sets define the role of the AgentPoolProfile. Possible - /// values include: 'compute', 'infra' - /// - [JsonProperty(PropertyName = "role")] - public string Role { get; set; } - - /// - /// Validate the object. - /// - /// - /// Thrown if validation fails - /// - public virtual void Validate() - { - if (Name == null) - { - throw new ValidationException(ValidationRules.CannotBeNull, "Name"); - } - if (VmSize == null) - { - throw new ValidationException(ValidationRules.CannotBeNull, "VmSize"); - } - } - } -} diff --git a/sdk/containerservice/Microsoft.Azure.Management.ContainerService/src/Generated/Models/OpenShiftManagedClusterMasterPoolProfile.cs b/sdk/containerservice/Microsoft.Azure.Management.ContainerService/src/Generated/Models/OpenShiftManagedClusterMasterPoolProfile.cs deleted file mode 100644 index 5568527bc623..000000000000 --- a/sdk/containerservice/Microsoft.Azure.Management.ContainerService/src/Generated/Models/OpenShiftManagedClusterMasterPoolProfile.cs +++ /dev/null @@ -1,130 +0,0 @@ -// -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. See License.txt in the project root for -// license information. -// -// Code generated by Microsoft (R) AutoRest Code Generator. -// Changes may cause incorrect behavior and will be lost if the code is -// regenerated. -// - -namespace Microsoft.Azure.Management.ContainerService.Models -{ - using Microsoft.Rest; - using Newtonsoft.Json; - using System.Linq; - - /// - /// OpenShiftManagedClusterMaterPoolProfile contains configuration for - /// OpenShift master VMs. - /// - public partial class OpenShiftManagedClusterMasterPoolProfile - { - /// - /// Initializes a new instance of the - /// OpenShiftManagedClusterMasterPoolProfile class. - /// - public OpenShiftManagedClusterMasterPoolProfile() - { - CustomInit(); - } - - /// - /// Initializes a new instance of the - /// OpenShiftManagedClusterMasterPoolProfile class. - /// - /// Number of masters (VMs) to host docker - /// containers. The default value is 3. - /// Size of agent VMs. Possible values include: - /// 'Standard_D2s_v3', 'Standard_D4s_v3', 'Standard_D8s_v3', - /// 'Standard_D16s_v3', 'Standard_D32s_v3', 'Standard_D64s_v3', - /// 'Standard_DS4_v2', 'Standard_DS5_v2', 'Standard_F8s_v2', - /// 'Standard_F16s_v2', 'Standard_F32s_v2', 'Standard_F64s_v2', - /// 'Standard_F72s_v2', 'Standard_F8s', 'Standard_F16s', - /// 'Standard_E4s_v3', 'Standard_E8s_v3', 'Standard_E16s_v3', - /// 'Standard_E20s_v3', 'Standard_E32s_v3', 'Standard_E64s_v3', - /// 'Standard_GS2', 'Standard_GS3', 'Standard_GS4', 'Standard_GS5', - /// 'Standard_DS12_v2', 'Standard_DS13_v2', 'Standard_DS14_v2', - /// 'Standard_DS15_v2', 'Standard_L4s', 'Standard_L8s', - /// 'Standard_L16s', 'Standard_L32s' - /// Unique name of the master pool profile in the - /// context of the subscription and resource group. - /// Subnet CIDR for the peering. - /// OsType to be used to specify os type. Choose - /// from Linux and Windows. Default to Linux. Possible values include: - /// 'Linux', 'Windows' - public OpenShiftManagedClusterMasterPoolProfile(int count, string vmSize, string name = default(string), string subnetCidr = default(string), string osType = default(string)) - { - Name = name; - Count = count; - VmSize = vmSize; - SubnetCidr = subnetCidr; - OsType = osType; - CustomInit(); - } - - /// - /// An initialization method that performs custom operations like setting defaults - /// - partial void CustomInit(); - - /// - /// Gets or sets unique name of the master pool profile in the context - /// of the subscription and resource group. - /// - [JsonProperty(PropertyName = "name")] - public string Name { get; set; } - - /// - /// Gets or sets number of masters (VMs) to host docker containers. The - /// default value is 3. - /// - [JsonProperty(PropertyName = "count")] - public int Count { get; set; } - - /// - /// Gets or sets size of agent VMs. Possible values include: - /// 'Standard_D2s_v3', 'Standard_D4s_v3', 'Standard_D8s_v3', - /// 'Standard_D16s_v3', 'Standard_D32s_v3', 'Standard_D64s_v3', - /// 'Standard_DS4_v2', 'Standard_DS5_v2', 'Standard_F8s_v2', - /// 'Standard_F16s_v2', 'Standard_F32s_v2', 'Standard_F64s_v2', - /// 'Standard_F72s_v2', 'Standard_F8s', 'Standard_F16s', - /// 'Standard_E4s_v3', 'Standard_E8s_v3', 'Standard_E16s_v3', - /// 'Standard_E20s_v3', 'Standard_E32s_v3', 'Standard_E64s_v3', - /// 'Standard_GS2', 'Standard_GS3', 'Standard_GS4', 'Standard_GS5', - /// 'Standard_DS12_v2', 'Standard_DS13_v2', 'Standard_DS14_v2', - /// 'Standard_DS15_v2', 'Standard_L4s', 'Standard_L8s', - /// 'Standard_L16s', 'Standard_L32s' - /// - [JsonProperty(PropertyName = "vmSize")] - public string VmSize { get; set; } - - /// - /// Gets or sets subnet CIDR for the peering. - /// - [JsonProperty(PropertyName = "subnetCidr")] - public string SubnetCidr { get; set; } - - /// - /// Gets or sets osType to be used to specify os type. Choose from - /// Linux and Windows. Default to Linux. Possible values include: - /// 'Linux', 'Windows' - /// - [JsonProperty(PropertyName = "osType")] - public string OsType { get; set; } - - /// - /// Validate the object. - /// - /// - /// Thrown if validation fails - /// - public virtual void Validate() - { - if (VmSize == null) - { - throw new ValidationException(ValidationRules.CannotBeNull, "VmSize"); - } - } - } -} diff --git a/sdk/containerservice/Microsoft.Azure.Management.ContainerService/src/Generated/Models/OpenShiftRouterProfile.cs b/sdk/containerservice/Microsoft.Azure.Management.ContainerService/src/Generated/Models/OpenShiftRouterProfile.cs deleted file mode 100644 index bc985a75d8de..000000000000 --- a/sdk/containerservice/Microsoft.Azure.Management.ContainerService/src/Generated/Models/OpenShiftRouterProfile.cs +++ /dev/null @@ -1,69 +0,0 @@ -// -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. See License.txt in the project root for -// license information. -// -// Code generated by Microsoft (R) AutoRest Code Generator. -// Changes may cause incorrect behavior and will be lost if the code is -// regenerated. -// - -namespace Microsoft.Azure.Management.ContainerService.Models -{ - using Newtonsoft.Json; - using System.Linq; - - /// - /// Represents an OpenShift router - /// - public partial class OpenShiftRouterProfile - { - /// - /// Initializes a new instance of the OpenShiftRouterProfile class. - /// - public OpenShiftRouterProfile() - { - CustomInit(); - } - - /// - /// Initializes a new instance of the OpenShiftRouterProfile class. - /// - /// Name of the router profile. - /// DNS subdomain for OpenShift - /// router. - /// Auto-allocated FQDN for the OpenShift - /// router. - public OpenShiftRouterProfile(string name = default(string), string publicSubdomain = default(string), string fqdn = default(string)) - { - Name = name; - PublicSubdomain = publicSubdomain; - Fqdn = fqdn; - CustomInit(); - } - - /// - /// An initialization method that performs custom operations like setting defaults - /// - partial void CustomInit(); - - /// - /// Gets or sets name of the router profile. - /// - [JsonProperty(PropertyName = "name")] - public string Name { get; set; } - - /// - /// Gets DNS subdomain for OpenShift router. - /// - [JsonProperty(PropertyName = "publicSubdomain")] - public string PublicSubdomain { get; private set; } - - /// - /// Gets auto-allocated FQDN for the OpenShift router. - /// - [JsonProperty(PropertyName = "fqdn")] - public string Fqdn { get; private set; } - - } -} diff --git a/sdk/containerservice/Microsoft.Azure.Management.ContainerService/src/Generated/Models/OperationValue.cs b/sdk/containerservice/Microsoft.Azure.Management.ContainerService/src/Generated/Models/OperationValue.cs index c51daa2192e6..81d6eac850c0 100644 --- a/sdk/containerservice/Microsoft.Azure.Management.ContainerService/src/Generated/Models/OperationValue.cs +++ b/sdk/containerservice/Microsoft.Azure.Management.ContainerService/src/Generated/Models/OperationValue.cs @@ -16,7 +16,7 @@ namespace Microsoft.Azure.Management.ContainerService.Models using System.Linq; /// - /// Describes the properties of a Compute Operation value. + /// Describes the properties of a Operation value. /// [Rest.Serialization.JsonTransformation] public partial class OperationValue @@ -32,10 +32,9 @@ public OperationValue() /// /// Initializes a new instance of the OperationValue class. /// - /// The origin of the compute operation. - /// The name of the compute operation. - /// The display name of the compute - /// operation. + /// The origin of the operation. + /// The name of the operation. + /// The display name of the operation. /// The display name of the resource the /// operation applies to. /// The description of the operation. @@ -58,19 +57,19 @@ public OperationValue() partial void CustomInit(); /// - /// Gets the origin of the compute operation. + /// Gets the origin of the operation. /// [JsonProperty(PropertyName = "origin")] public string Origin { get; private set; } /// - /// Gets the name of the compute operation. + /// Gets the name of the operation. /// [JsonProperty(PropertyName = "name")] public string Name { get; private set; } /// - /// Gets the display name of the compute operation. + /// Gets the display name of the operation. /// [JsonProperty(PropertyName = "display.operation")] public string Operation { get; private set; } diff --git a/sdk/containerservice/Microsoft.Azure.Management.ContainerService/src/Generated/Models/OrchestratorProfile.cs b/sdk/containerservice/Microsoft.Azure.Management.ContainerService/src/Generated/Models/OrchestratorProfile.cs deleted file mode 100644 index 1628d4cda06b..000000000000 --- a/sdk/containerservice/Microsoft.Azure.Management.ContainerService/src/Generated/Models/OrchestratorProfile.cs +++ /dev/null @@ -1,83 +0,0 @@ -// -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. See License.txt in the project root for -// license information. -// -// Code generated by Microsoft (R) AutoRest Code Generator. -// Changes may cause incorrect behavior and will be lost if the code is -// regenerated. -// - -namespace Microsoft.Azure.Management.ContainerService.Models -{ - using Microsoft.Rest; - using Newtonsoft.Json; - using System.Linq; - - /// - /// Contains information about orchestrator. - /// - public partial class OrchestratorProfile - { - /// - /// Initializes a new instance of the OrchestratorProfile class. - /// - public OrchestratorProfile() - { - CustomInit(); - } - - /// - /// Initializes a new instance of the OrchestratorProfile class. - /// - /// Orchestrator version (major, - /// minor, patch). - /// Orchestrator type. - /// Whether Kubernetes version is currently in - /// preview. - public OrchestratorProfile(string orchestratorVersion, string orchestratorType = default(string), bool? isPreview = default(bool?)) - { - OrchestratorType = orchestratorType; - OrchestratorVersion = orchestratorVersion; - IsPreview = isPreview; - CustomInit(); - } - - /// - /// An initialization method that performs custom operations like setting defaults - /// - partial void CustomInit(); - - /// - /// Gets or sets orchestrator type. - /// - [JsonProperty(PropertyName = "orchestratorType")] - public string OrchestratorType { get; set; } - - /// - /// Gets or sets orchestrator version (major, minor, patch). - /// - [JsonProperty(PropertyName = "orchestratorVersion")] - public string OrchestratorVersion { get; set; } - - /// - /// Gets or sets whether Kubernetes version is currently in preview. - /// - [JsonProperty(PropertyName = "isPreview")] - public bool? IsPreview { get; set; } - - /// - /// Validate the object. - /// - /// - /// Thrown if validation fails - /// - public virtual void Validate() - { - if (OrchestratorVersion == null) - { - throw new ValidationException(ValidationRules.CannotBeNull, "OrchestratorVersion"); - } - } - } -} diff --git a/sdk/containerservice/Microsoft.Azure.Management.ContainerService/src/Generated/Models/OrchestratorVersionProfile.cs b/sdk/containerservice/Microsoft.Azure.Management.ContainerService/src/Generated/Models/OrchestratorVersionProfile.cs deleted file mode 100644 index 9edf7e175de6..000000000000 --- a/sdk/containerservice/Microsoft.Azure.Management.ContainerService/src/Generated/Models/OrchestratorVersionProfile.cs +++ /dev/null @@ -1,117 +0,0 @@ -// -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. See License.txt in the project root for -// license information. -// -// Code generated by Microsoft (R) AutoRest Code Generator. -// Changes may cause incorrect behavior and will be lost if the code is -// regenerated. -// - -namespace Microsoft.Azure.Management.ContainerService.Models -{ - using Microsoft.Rest; - using Newtonsoft.Json; - using System.Collections; - using System.Collections.Generic; - using System.Linq; - - /// - /// The profile of an orchestrator and its available versions. - /// - public partial class OrchestratorVersionProfile - { - /// - /// Initializes a new instance of the OrchestratorVersionProfile class. - /// - public OrchestratorVersionProfile() - { - CustomInit(); - } - - /// - /// Initializes a new instance of the OrchestratorVersionProfile class. - /// - /// Orchestrator type. - /// Orchestrator version (major, - /// minor, patch). - /// Installed by default if version is - /// not specified. - /// Whether Kubernetes version is currently in - /// preview. - /// The list of available upgrade - /// versions. - public OrchestratorVersionProfile(string orchestratorType, string orchestratorVersion, bool? defaultProperty = default(bool?), bool? isPreview = default(bool?), IList upgrades = default(IList)) - { - OrchestratorType = orchestratorType; - OrchestratorVersion = orchestratorVersion; - DefaultProperty = defaultProperty; - IsPreview = isPreview; - Upgrades = upgrades; - CustomInit(); - } - - /// - /// An initialization method that performs custom operations like setting defaults - /// - partial void CustomInit(); - - /// - /// Gets or sets orchestrator type. - /// - [JsonProperty(PropertyName = "orchestratorType")] - public string OrchestratorType { get; set; } - - /// - /// Gets or sets orchestrator version (major, minor, patch). - /// - [JsonProperty(PropertyName = "orchestratorVersion")] - public string OrchestratorVersion { get; set; } - - /// - /// Gets or sets installed by default if version is not specified. - /// - [JsonProperty(PropertyName = "default")] - public bool? DefaultProperty { get; set; } - - /// - /// Gets or sets whether Kubernetes version is currently in preview. - /// - [JsonProperty(PropertyName = "isPreview")] - public bool? IsPreview { get; set; } - - /// - /// Gets or sets the list of available upgrade versions. - /// - [JsonProperty(PropertyName = "upgrades")] - public IList Upgrades { get; set; } - - /// - /// Validate the object. - /// - /// - /// Thrown if validation fails - /// - public virtual void Validate() - { - if (OrchestratorType == null) - { - throw new ValidationException(ValidationRules.CannotBeNull, "OrchestratorType"); - } - if (OrchestratorVersion == null) - { - throw new ValidationException(ValidationRules.CannotBeNull, "OrchestratorVersion"); - } - if (Upgrades != null) - { - foreach (var element in Upgrades) - { - if (element != null) - { - element.Validate(); - } - } - } - } - } -} diff --git a/sdk/containerservice/Microsoft.Azure.Management.ContainerService/src/Generated/Models/OutboundEnvironmentEndpoint.cs b/sdk/containerservice/Microsoft.Azure.Management.ContainerService/src/Generated/Models/OutboundEnvironmentEndpoint.cs new file mode 100644 index 000000000000..e2753287908b --- /dev/null +++ b/sdk/containerservice/Microsoft.Azure.Management.ContainerService/src/Generated/Models/OutboundEnvironmentEndpoint.cs @@ -0,0 +1,67 @@ +// +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See License.txt in the project root for +// license information. +// +// Code generated by Microsoft (R) AutoRest Code Generator. +// Changes may cause incorrect behavior and will be lost if the code is +// regenerated. +// + +namespace Microsoft.Azure.Management.ContainerService.Models +{ + using Newtonsoft.Json; + using System.Collections; + using System.Collections.Generic; + using System.Linq; + + /// + /// Egress endpoints which AKS agent nodes connect to for common purpose. + /// + public partial class OutboundEnvironmentEndpoint + { + /// + /// Initializes a new instance of the OutboundEnvironmentEndpoint + /// class. + /// + public OutboundEnvironmentEndpoint() + { + CustomInit(); + } + + /// + /// Initializes a new instance of the OutboundEnvironmentEndpoint + /// class. + /// + /// The category of endpoints accessed by the + /// AKS agent node, e.g. azure-resource-management, apiserver, + /// etc. + /// The endpoints that AKS agent nodes connect + /// to + public OutboundEnvironmentEndpoint(string category = default(string), IList endpoints = default(IList)) + { + Category = category; + Endpoints = endpoints; + CustomInit(); + } + + /// + /// An initialization method that performs custom operations like setting defaults + /// + partial void CustomInit(); + + /// + /// Gets or sets the category of endpoints accessed by the AKS agent + /// node, e.g. azure-resource-management, apiserver, etc. + /// + [JsonProperty(PropertyName = "category")] + public string Category { get; set; } + + /// + /// Gets or sets the endpoints that AKS agent nodes connect to + /// + [JsonProperty(PropertyName = "endpoints")] + public IList Endpoints { get; set; } + + } +} diff --git a/sdk/containerservice/Microsoft.Azure.Management.ContainerService/src/Generated/Models/OutboundType.cs b/sdk/containerservice/Microsoft.Azure.Management.ContainerService/src/Generated/Models/OutboundType.cs index 642cefaa5d57..05228ab50feb 100644 --- a/sdk/containerservice/Microsoft.Azure.Management.ContainerService/src/Generated/Models/OutboundType.cs +++ b/sdk/containerservice/Microsoft.Azure.Management.ContainerService/src/Generated/Models/OutboundType.cs @@ -16,7 +16,19 @@ namespace Microsoft.Azure.Management.ContainerService.Models /// public static class OutboundType { + /// + /// The load balancer is used for egress through an AKS assigned public + /// IP. This supports Kubernetes services of type 'loadBalancer'. For + /// more information see [outbound type + /// loadbalancer](https://docs.microsoft.com/azure/aks/egress-outboundtype#outbound-type-of-loadbalancer). + /// public const string LoadBalancer = "loadBalancer"; + /// + /// Egress paths must be defined by the user. This is an advanced + /// scenario and requires proper network configuration. For more + /// information see [outbound type + /// userDefinedRouting](https://docs.microsoft.com/azure/aks/egress-outboundtype#outbound-type-of-userdefinedrouting). + /// public const string UserDefinedRouting = "userDefinedRouting"; } } diff --git a/sdk/containerservice/Microsoft.Azure.Management.ContainerService/src/Generated/Models/Page.cs b/sdk/containerservice/Microsoft.Azure.Management.ContainerService/src/Generated/Models/Page.cs index 98d1c735adfb..b3544b8d9dc9 100644 --- a/sdk/containerservice/Microsoft.Azure.Management.ContainerService/src/Generated/Models/Page.cs +++ b/sdk/containerservice/Microsoft.Azure.Management.ContainerService/src/Generated/Models/Page.cs @@ -26,7 +26,7 @@ public class Page : IPage /// /// Gets the link to the next page. /// - [JsonProperty("nextLink")] + [JsonProperty("")] public string NextPageLink { get; private set; } [JsonProperty("value")] diff --git a/sdk/containerservice/Microsoft.Azure.Management.ContainerService/src/Generated/Models/Page1.cs b/sdk/containerservice/Microsoft.Azure.Management.ContainerService/src/Generated/Models/Page1.cs index 12800e406b6e..dcebab5291e6 100644 --- a/sdk/containerservice/Microsoft.Azure.Management.ContainerService/src/Generated/Models/Page1.cs +++ b/sdk/containerservice/Microsoft.Azure.Management.ContainerService/src/Generated/Models/Page1.cs @@ -26,7 +26,7 @@ public class Page1 : IPage /// /// Gets the link to the next page. /// - [JsonProperty("")] + [JsonProperty("nextLink")] public string NextPageLink { get; private set; } [JsonProperty("value")] diff --git a/sdk/containerservice/Microsoft.Azure.Management.ContainerService/src/Generated/Models/PowerState.cs b/sdk/containerservice/Microsoft.Azure.Management.ContainerService/src/Generated/Models/PowerState.cs new file mode 100644 index 000000000000..bc3c17706c5b --- /dev/null +++ b/sdk/containerservice/Microsoft.Azure.Management.ContainerService/src/Generated/Models/PowerState.cs @@ -0,0 +1,53 @@ +// +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See License.txt in the project root for +// license information. +// +// Code generated by Microsoft (R) AutoRest Code Generator. +// Changes may cause incorrect behavior and will be lost if the code is +// regenerated. +// + +namespace Microsoft.Azure.Management.ContainerService.Models +{ + using Newtonsoft.Json; + using System.Linq; + + /// + /// Describes the Power State of the cluster + /// + public partial class PowerState + { + /// + /// Initializes a new instance of the PowerState class. + /// + public PowerState() + { + CustomInit(); + } + + /// + /// Initializes a new instance of the PowerState class. + /// + /// Tells whether the cluster is Running or Stopped. + /// Possible values include: 'Running', 'Stopped' + public PowerState(string code = default(string)) + { + Code = code; + CustomInit(); + } + + /// + /// An initialization method that performs custom operations like setting defaults + /// + partial void CustomInit(); + + /// + /// Gets or sets tells whether the cluster is Running or Stopped. + /// Possible values include: 'Running', 'Stopped' + /// + [JsonProperty(PropertyName = "code")] + public string Code { get; set; } + + } +} diff --git a/sdk/containerservice/Microsoft.Azure.Management.ContainerService/src/Generated/Models/PrivateEndpoint.cs b/sdk/containerservice/Microsoft.Azure.Management.ContainerService/src/Generated/Models/PrivateEndpoint.cs index ebc2b08ac7c5..12431449470b 100644 --- a/sdk/containerservice/Microsoft.Azure.Management.ContainerService/src/Generated/Models/PrivateEndpoint.cs +++ b/sdk/containerservice/Microsoft.Azure.Management.ContainerService/src/Generated/Models/PrivateEndpoint.cs @@ -29,7 +29,7 @@ public PrivateEndpoint() /// /// Initializes a new instance of the PrivateEndpoint class. /// - /// The resource Id for private endpoint + /// The resource ID of the private endpoint public PrivateEndpoint(string id = default(string)) { Id = id; @@ -42,7 +42,7 @@ public PrivateEndpoint() partial void CustomInit(); /// - /// Gets or sets the resource Id for private endpoint + /// Gets or sets the resource ID of the private endpoint /// [JsonProperty(PropertyName = "id")] public string Id { get; set; } diff --git a/sdk/containerservice/Microsoft.Azure.Management.ContainerService/src/Generated/Models/PrivateLinkResource.cs b/sdk/containerservice/Microsoft.Azure.Management.ContainerService/src/Generated/Models/PrivateLinkResource.cs new file mode 100644 index 000000000000..e4be39832f5f --- /dev/null +++ b/sdk/containerservice/Microsoft.Azure.Management.ContainerService/src/Generated/Models/PrivateLinkResource.cs @@ -0,0 +1,96 @@ +// +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See License.txt in the project root for +// license information. +// +// Code generated by Microsoft (R) AutoRest Code Generator. +// Changes may cause incorrect behavior and will be lost if the code is +// regenerated. +// + +namespace Microsoft.Azure.Management.ContainerService.Models +{ + using Newtonsoft.Json; + using System.Collections; + using System.Collections.Generic; + using System.Linq; + + /// + /// A private link resource + /// + public partial class PrivateLinkResource + { + /// + /// Initializes a new instance of the PrivateLinkResource class. + /// + public PrivateLinkResource() + { + CustomInit(); + } + + /// + /// Initializes a new instance of the PrivateLinkResource class. + /// + /// The ID of the private link resource. + /// The name of the private link resource. + /// The resource type. + /// The group ID of the resource. + /// The RequiredMembers of the + /// resource + /// The private link service ID of + /// the resource, this field is exposed only to NRP internally. + public PrivateLinkResource(string id = default(string), string name = default(string), string type = default(string), string groupId = default(string), IList requiredMembers = default(IList), string privateLinkServiceID = default(string)) + { + Id = id; + Name = name; + Type = type; + GroupId = groupId; + RequiredMembers = requiredMembers; + PrivateLinkServiceID = privateLinkServiceID; + CustomInit(); + } + + /// + /// An initialization method that performs custom operations like setting defaults + /// + partial void CustomInit(); + + /// + /// Gets or sets the ID of the private link resource. + /// + [JsonProperty(PropertyName = "id")] + public string Id { get; set; } + + /// + /// Gets or sets the name of the private link resource. + /// + [JsonProperty(PropertyName = "name")] + public string Name { get; set; } + + /// + /// Gets or sets the resource type. + /// + [JsonProperty(PropertyName = "type")] + public string Type { get; set; } + + /// + /// Gets or sets the group ID of the resource. + /// + [JsonProperty(PropertyName = "groupId")] + public string GroupId { get; set; } + + /// + /// Gets or sets the RequiredMembers of the resource + /// + [JsonProperty(PropertyName = "requiredMembers")] + public IList RequiredMembers { get; set; } + + /// + /// Gets the private link service ID of the resource, this field is + /// exposed only to NRP internally. + /// + [JsonProperty(PropertyName = "privateLinkServiceID")] + public string PrivateLinkServiceID { get; private set; } + + } +} diff --git a/sdk/containerservice/Microsoft.Azure.Management.ContainerService/src/Generated/Models/OpenShiftManagedClusterAuthProfile.cs b/sdk/containerservice/Microsoft.Azure.Management.ContainerService/src/Generated/Models/PrivateLinkResourcesListResult.cs similarity index 51% rename from sdk/containerservice/Microsoft.Azure.Management.ContainerService/src/Generated/Models/OpenShiftManagedClusterAuthProfile.cs rename to sdk/containerservice/Microsoft.Azure.Management.ContainerService/src/Generated/Models/PrivateLinkResourcesListResult.cs index 744333264090..87267651779d 100644 --- a/sdk/containerservice/Microsoft.Azure.Management.ContainerService/src/Generated/Models/OpenShiftManagedClusterAuthProfile.cs +++ b/sdk/containerservice/Microsoft.Azure.Management.ContainerService/src/Generated/Models/PrivateLinkResourcesListResult.cs @@ -16,28 +16,27 @@ namespace Microsoft.Azure.Management.ContainerService.Models using System.Linq; /// - /// Defines all possible authentication profiles for the OpenShift cluster. + /// A list of private link resources /// - public partial class OpenShiftManagedClusterAuthProfile + public partial class PrivateLinkResourcesListResult { /// - /// Initializes a new instance of the - /// OpenShiftManagedClusterAuthProfile class. + /// Initializes a new instance of the PrivateLinkResourcesListResult + /// class. /// - public OpenShiftManagedClusterAuthProfile() + public PrivateLinkResourcesListResult() { CustomInit(); } /// - /// Initializes a new instance of the - /// OpenShiftManagedClusterAuthProfile class. + /// Initializes a new instance of the PrivateLinkResourcesListResult + /// class. /// - /// Type of authentication profile to - /// use. - public OpenShiftManagedClusterAuthProfile(IList identityProviders = default(IList)) + /// The collection value. + public PrivateLinkResourcesListResult(IList value = default(IList)) { - IdentityProviders = identityProviders; + Value = value; CustomInit(); } @@ -47,10 +46,10 @@ public OpenShiftManagedClusterAuthProfile() partial void CustomInit(); /// - /// Gets or sets type of authentication profile to use. + /// Gets or sets the collection value. /// - [JsonProperty(PropertyName = "identityProviders")] - public IList IdentityProviders { get; set; } + [JsonProperty(PropertyName = "value")] + public IList Value { get; set; } } } diff --git a/sdk/containerservice/Microsoft.Azure.Management.ContainerService/src/Generated/Models/PurchasePlan.cs b/sdk/containerservice/Microsoft.Azure.Management.ContainerService/src/Generated/Models/PurchasePlan.cs deleted file mode 100644 index 1652d5311567..000000000000 --- a/sdk/containerservice/Microsoft.Azure.Management.ContainerService/src/Generated/Models/PurchasePlan.cs +++ /dev/null @@ -1,80 +0,0 @@ -// -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. See License.txt in the project root for -// license information. -// -// Code generated by Microsoft (R) AutoRest Code Generator. -// Changes may cause incorrect behavior and will be lost if the code is -// regenerated. -// - -namespace Microsoft.Azure.Management.ContainerService.Models -{ - using Newtonsoft.Json; - using System.Linq; - - /// - /// Used for establishing the purchase context of any 3rd Party artifact - /// through MarketPlace. - /// - public partial class PurchasePlan - { - /// - /// Initializes a new instance of the PurchasePlan class. - /// - public PurchasePlan() - { - CustomInit(); - } - - /// - /// Initializes a new instance of the PurchasePlan class. - /// - /// The plan ID. - /// Specifies the product of the image from the - /// marketplace. This is the same value as Offer under the - /// imageReference element. - /// The promotion code. - /// The plan ID. - public PurchasePlan(string name = default(string), string product = default(string), string promotionCode = default(string), string publisher = default(string)) - { - Name = name; - Product = product; - PromotionCode = promotionCode; - Publisher = publisher; - CustomInit(); - } - - /// - /// An initialization method that performs custom operations like setting defaults - /// - partial void CustomInit(); - - /// - /// Gets or sets the plan ID. - /// - [JsonProperty(PropertyName = "name")] - public string Name { get; set; } - - /// - /// Gets or sets specifies the product of the image from the - /// marketplace. This is the same value as Offer under the - /// imageReference element. - /// - [JsonProperty(PropertyName = "product")] - public string Product { get; set; } - - /// - /// Gets or sets the promotion code. - /// - [JsonProperty(PropertyName = "promotionCode")] - public string PromotionCode { get; set; } - - /// - /// Gets or sets the plan ID. - /// - [JsonProperty(PropertyName = "publisher")] - public string Publisher { get; set; } - - } -} diff --git a/sdk/containerservice/Microsoft.Azure.Management.ContainerService/src/Generated/Models/ResourceIdentityType.cs b/sdk/containerservice/Microsoft.Azure.Management.ContainerService/src/Generated/Models/ResourceIdentityType.cs index 6a35a334beff..09500275894a 100644 --- a/sdk/containerservice/Microsoft.Azure.Management.ContainerService/src/Generated/Models/ResourceIdentityType.cs +++ b/sdk/containerservice/Microsoft.Azure.Management.ContainerService/src/Generated/Models/ResourceIdentityType.cs @@ -21,10 +21,26 @@ namespace Microsoft.Azure.Management.ContainerService.Models [JsonConverter(typeof(StringEnumConverter))] public enum ResourceIdentityType { + /// + /// Use an implicitly created system assigned managed identity to + /// manage cluster resources. Master components in the control plane + /// such as kube-controller-manager will use the system assigned + /// managed identity to manipulate Azure resources. + /// [EnumMember(Value = "SystemAssigned")] SystemAssigned, + /// + /// Use a user-specified identity to manage cluster resources. Master + /// components in the control plane such as kube-controller-manager + /// will use the specified user assigned managed identity to manipulate + /// Azure resources. + /// [EnumMember(Value = "UserAssigned")] UserAssigned, + /// + /// Do not use a managed identity for the Managed Cluster, service + /// principal will be used instead. + /// [EnumMember(Value = "None")] None } diff --git a/sdk/containerservice/Microsoft.Azure.Management.ContainerService/src/Generated/Models/KeyVaultSecretRef.cs b/sdk/containerservice/Microsoft.Azure.Management.ContainerService/src/Generated/Models/RunCommandRequest.cs similarity index 51% rename from sdk/containerservice/Microsoft.Azure.Management.ContainerService/src/Generated/Models/KeyVaultSecretRef.cs rename to sdk/containerservice/Microsoft.Azure.Management.ContainerService/src/Generated/Models/RunCommandRequest.cs index 25a0fdc259b5..c80f3b4ccf98 100644 --- a/sdk/containerservice/Microsoft.Azure.Management.ContainerService/src/Generated/Models/KeyVaultSecretRef.cs +++ b/sdk/containerservice/Microsoft.Azure.Management.ContainerService/src/Generated/Models/RunCommandRequest.cs @@ -15,29 +15,31 @@ namespace Microsoft.Azure.Management.ContainerService.Models using System.Linq; /// - /// Reference to a secret stored in Azure Key Vault. + /// A run command request /// - public partial class KeyVaultSecretRef + public partial class RunCommandRequest { /// - /// Initializes a new instance of the KeyVaultSecretRef class. + /// Initializes a new instance of the RunCommandRequest class. /// - public KeyVaultSecretRef() + public RunCommandRequest() { CustomInit(); } /// - /// Initializes a new instance of the KeyVaultSecretRef class. + /// Initializes a new instance of the RunCommandRequest class. /// - /// Key vault identifier. - /// The secret name. - /// The secret version. - public KeyVaultSecretRef(string vaultID, string secretName, string version = default(string)) + /// The command to run. + /// A base64 encoded zip file containing the + /// files required by the command. + /// AuthToken issued for AKS AAD Server + /// App. + public RunCommandRequest(string command, string context = default(string), string clusterToken = default(string)) { - VaultID = vaultID; - SecretName = secretName; - Version = version; + Command = command; + Context = context; + ClusterToken = clusterToken; CustomInit(); } @@ -47,22 +49,23 @@ public KeyVaultSecretRef() partial void CustomInit(); /// - /// Gets or sets key vault identifier. + /// Gets or sets the command to run. /// - [JsonProperty(PropertyName = "vaultID")] - public string VaultID { get; set; } + [JsonProperty(PropertyName = "command")] + public string Command { get; set; } /// - /// Gets or sets the secret name. + /// Gets or sets a base64 encoded zip file containing the files + /// required by the command. /// - [JsonProperty(PropertyName = "secretName")] - public string SecretName { get; set; } + [JsonProperty(PropertyName = "context")] + public string Context { get; set; } /// - /// Gets or sets the secret version. + /// Gets or sets authToken issued for AKS AAD Server App. /// - [JsonProperty(PropertyName = "version")] - public string Version { get; set; } + [JsonProperty(PropertyName = "clusterToken")] + public string ClusterToken { get; set; } /// /// Validate the object. @@ -72,13 +75,9 @@ public KeyVaultSecretRef() /// public virtual void Validate() { - if (VaultID == null) + if (Command == null) { - throw new ValidationException(ValidationRules.CannotBeNull, "VaultID"); - } - if (SecretName == null) - { - throw new ValidationException(ValidationRules.CannotBeNull, "SecretName"); + throw new ValidationException(ValidationRules.CannotBeNull, "Command"); } } } diff --git a/sdk/containerservice/Microsoft.Azure.Management.ContainerService/src/Generated/Models/RunCommandResult.cs b/sdk/containerservice/Microsoft.Azure.Management.ContainerService/src/Generated/Models/RunCommandResult.cs new file mode 100644 index 000000000000..9691747beff6 --- /dev/null +++ b/sdk/containerservice/Microsoft.Azure.Management.ContainerService/src/Generated/Models/RunCommandResult.cs @@ -0,0 +1,105 @@ +// +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See License.txt in the project root for +// license information. +// +// Code generated by Microsoft (R) AutoRest Code Generator. +// Changes may cause incorrect behavior and will be lost if the code is +// regenerated. +// + +namespace Microsoft.Azure.Management.ContainerService.Models +{ + using Microsoft.Rest; + using Microsoft.Rest.Serialization; + using Newtonsoft.Json; + using System.Linq; + + /// + /// run command result. + /// + [Rest.Serialization.JsonTransformation] + public partial class RunCommandResult + { + /// + /// Initializes a new instance of the RunCommandResult class. + /// + public RunCommandResult() + { + CustomInit(); + } + + /// + /// Initializes a new instance of the RunCommandResult class. + /// + /// The command id. + /// provisioning State + /// The exit code of the command + /// The time when the command started. + /// The time when the command + /// finished. + /// The command output. + /// An explanation of why provisioningState is set + /// to failed (if so). + public RunCommandResult(string id = default(string), string provisioningState = default(string), int? exitCode = default(int?), System.DateTime? startedAt = default(System.DateTime?), System.DateTime? finishedAt = default(System.DateTime?), string logs = default(string), string reason = default(string)) + { + Id = id; + ProvisioningState = provisioningState; + ExitCode = exitCode; + StartedAt = startedAt; + FinishedAt = finishedAt; + Logs = logs; + Reason = reason; + CustomInit(); + } + + /// + /// An initialization method that performs custom operations like setting defaults + /// + partial void CustomInit(); + + /// + /// Gets the command id. + /// + [JsonProperty(PropertyName = "id")] + public string Id { get; private set; } + + /// + /// Gets provisioning State + /// + [JsonProperty(PropertyName = "properties.provisioningState")] + public string ProvisioningState { get; private set; } + + /// + /// Gets the exit code of the command + /// + [JsonProperty(PropertyName = "properties.exitCode")] + public int? ExitCode { get; private set; } + + /// + /// Gets the time when the command started. + /// + [JsonProperty(PropertyName = "properties.startedAt")] + public System.DateTime? StartedAt { get; private set; } + + /// + /// Gets the time when the command finished. + /// + [JsonProperty(PropertyName = "properties.finishedAt")] + public System.DateTime? FinishedAt { get; private set; } + + /// + /// Gets the command output. + /// + [JsonProperty(PropertyName = "properties.logs")] + public string Logs { get; private set; } + + /// + /// Gets an explanation of why provisioningState is set to failed (if + /// so). + /// + [JsonProperty(PropertyName = "properties.reason")] + public string Reason { get; private set; } + + } +} diff --git a/sdk/containerservice/Microsoft.Azure.Management.ContainerService/src/Generated/Models/ScaleSetEvictionPolicy.cs b/sdk/containerservice/Microsoft.Azure.Management.ContainerService/src/Generated/Models/ScaleSetEvictionPolicy.cs index 25bd3db49c44..a2b60d02b055 100644 --- a/sdk/containerservice/Microsoft.Azure.Management.ContainerService/src/Generated/Models/ScaleSetEvictionPolicy.cs +++ b/sdk/containerservice/Microsoft.Azure.Management.ContainerService/src/Generated/Models/ScaleSetEvictionPolicy.cs @@ -16,7 +16,17 @@ namespace Microsoft.Azure.Management.ContainerService.Models /// public static class ScaleSetEvictionPolicy { + /// + /// Nodes in the underlying Scale Set of the node pool are deleted when + /// they're evicted. + /// public const string Delete = "Delete"; + /// + /// Nodes in the underlying Scale Set of the node pool are set to the + /// stopped-deallocated state upon eviction. Nodes in the + /// stopped-deallocated state count against your compute quota and can + /// cause issues with cluster scaling or upgrading. + /// public const string Deallocate = "Deallocate"; } } diff --git a/sdk/containerservice/Microsoft.Azure.Management.ContainerService/src/Generated/Models/ScaleSetPriority.cs b/sdk/containerservice/Microsoft.Azure.Management.ContainerService/src/Generated/Models/ScaleSetPriority.cs index 6fdb73455a4e..2decb2bbf653 100644 --- a/sdk/containerservice/Microsoft.Azure.Management.ContainerService/src/Generated/Models/ScaleSetPriority.cs +++ b/sdk/containerservice/Microsoft.Azure.Management.ContainerService/src/Generated/Models/ScaleSetPriority.cs @@ -16,7 +16,15 @@ namespace Microsoft.Azure.Management.ContainerService.Models /// public static class ScaleSetPriority { + /// + /// Spot priority VMs will be used. There is no SLA for spot nodes. See + /// [spot on AKS](https://docs.microsoft.com/azure/aks/spot-node-pool) + /// for more information. + /// public const string Spot = "Spot"; + /// + /// Regular VMs will be used. + /// public const string Regular = "Regular"; } } diff --git a/sdk/containerservice/Microsoft.Azure.Management.ContainerService/src/Generated/Models/SysctlConfig.cs b/sdk/containerservice/Microsoft.Azure.Management.ContainerService/src/Generated/Models/SysctlConfig.cs new file mode 100644 index 000000000000..c97dba97e866 --- /dev/null +++ b/sdk/containerservice/Microsoft.Azure.Management.ContainerService/src/Generated/Models/SysctlConfig.cs @@ -0,0 +1,291 @@ +// +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See License.txt in the project root for +// license information. +// +// Code generated by Microsoft (R) AutoRest Code Generator. +// Changes may cause incorrect behavior and will be lost if the code is +// regenerated. +// + +namespace Microsoft.Azure.Management.ContainerService.Models +{ + using Newtonsoft.Json; + using System.Linq; + + /// + /// Sysctl settings for Linux agent nodes. + /// + public partial class SysctlConfig + { + /// + /// Initializes a new instance of the SysctlConfig class. + /// + public SysctlConfig() + { + CustomInit(); + } + + /// + /// Initializes a new instance of the SysctlConfig class. + /// + /// Sysctl setting + /// net.core.somaxconn. + /// Sysctl setting + /// net.core.netdev_max_backlog. + /// Sysctl setting + /// net.core.rmem_default. + /// Sysctl setting + /// net.core.rmem_max. + /// Sysctl setting + /// net.core.wmem_default. + /// Sysctl setting + /// net.core.wmem_max. + /// Sysctl setting + /// net.core.optmem_max. + /// Sysctl setting + /// net.ipv4.tcp_max_syn_backlog. + /// Sysctl setting + /// net.ipv4.tcp_max_tw_buckets. + /// Sysctl setting + /// net.ipv4.tcp_fin_timeout. + /// Sysctl setting + /// net.ipv4.tcp_keepalive_time. + /// Sysctl setting + /// net.ipv4.tcp_keepalive_probes. + /// Sysctl setting + /// net.ipv4.tcp_keepalive_intvl. + /// Sysctl setting + /// net.ipv4.tcp_tw_reuse. + /// Sysctl setting + /// net.ipv4.ip_local_port_range. + /// Sysctl setting + /// net.ipv4.neigh.default.gc_thresh1. + /// Sysctl setting + /// net.ipv4.neigh.default.gc_thresh2. + /// Sysctl setting + /// net.ipv4.neigh.default.gc_thresh3. + /// Sysctl setting + /// net.netfilter.nf_conntrack_max. + /// Sysctl setting + /// net.netfilter.nf_conntrack_buckets. + /// Sysctl setting + /// fs.inotify.max_user_watches. + /// Sysctl setting fs.file-max. + /// Sysctl setting fs.aio-max-nr. + /// Sysctl setting fs.nr_open. + /// Sysctl setting + /// kernel.threads-max. + /// Sysctl setting + /// vm.max_map_count. + /// Sysctl setting vm.swappiness. + /// Sysctl setting + /// vm.vfs_cache_pressure. + public SysctlConfig(int? netCoreSomaxconn = default(int?), int? netCoreNetdevMaxBacklog = default(int?), int? netCoreRmemDefault = default(int?), int? netCoreRmemMax = default(int?), int? netCoreWmemDefault = default(int?), int? netCoreWmemMax = default(int?), int? netCoreOptmemMax = default(int?), int? netIpv4TcpMaxSynBacklog = default(int?), int? netIpv4TcpMaxTwBuckets = default(int?), int? netIpv4TcpFinTimeout = default(int?), int? netIpv4TcpKeepaliveTime = default(int?), int? netIpv4TcpKeepaliveProbes = default(int?), int? netIpv4TcpkeepaliveIntvl = default(int?), bool? netIpv4TcpTwReuse = default(bool?), string netIpv4IpLocalPortRange = default(string), int? netIpv4NeighDefaultGcThresh1 = default(int?), int? netIpv4NeighDefaultGcThresh2 = default(int?), int? netIpv4NeighDefaultGcThresh3 = default(int?), int? netNetfilterNfConntrackMax = default(int?), int? netNetfilterNfConntrackBuckets = default(int?), int? fsInotifyMaxUserWatches = default(int?), int? fsFileMax = default(int?), int? fsAioMaxNr = default(int?), int? fsNrOpen = default(int?), int? kernelThreadsMax = default(int?), int? vmMaxMapCount = default(int?), int? vmSwappiness = default(int?), int? vmVfsCachePressure = default(int?)) + { + NetCoreSomaxconn = netCoreSomaxconn; + NetCoreNetdevMaxBacklog = netCoreNetdevMaxBacklog; + NetCoreRmemDefault = netCoreRmemDefault; + NetCoreRmemMax = netCoreRmemMax; + NetCoreWmemDefault = netCoreWmemDefault; + NetCoreWmemMax = netCoreWmemMax; + NetCoreOptmemMax = netCoreOptmemMax; + NetIpv4TcpMaxSynBacklog = netIpv4TcpMaxSynBacklog; + NetIpv4TcpMaxTwBuckets = netIpv4TcpMaxTwBuckets; + NetIpv4TcpFinTimeout = netIpv4TcpFinTimeout; + NetIpv4TcpKeepaliveTime = netIpv4TcpKeepaliveTime; + NetIpv4TcpKeepaliveProbes = netIpv4TcpKeepaliveProbes; + NetIpv4TcpkeepaliveIntvl = netIpv4TcpkeepaliveIntvl; + NetIpv4TcpTwReuse = netIpv4TcpTwReuse; + NetIpv4IpLocalPortRange = netIpv4IpLocalPortRange; + NetIpv4NeighDefaultGcThresh1 = netIpv4NeighDefaultGcThresh1; + NetIpv4NeighDefaultGcThresh2 = netIpv4NeighDefaultGcThresh2; + NetIpv4NeighDefaultGcThresh3 = netIpv4NeighDefaultGcThresh3; + NetNetfilterNfConntrackMax = netNetfilterNfConntrackMax; + NetNetfilterNfConntrackBuckets = netNetfilterNfConntrackBuckets; + FsInotifyMaxUserWatches = fsInotifyMaxUserWatches; + FsFileMax = fsFileMax; + FsAioMaxNr = fsAioMaxNr; + FsNrOpen = fsNrOpen; + KernelThreadsMax = kernelThreadsMax; + VmMaxMapCount = vmMaxMapCount; + VmSwappiness = vmSwappiness; + VmVfsCachePressure = vmVfsCachePressure; + CustomInit(); + } + + /// + /// An initialization method that performs custom operations like setting defaults + /// + partial void CustomInit(); + + /// + /// Gets or sets sysctl setting net.core.somaxconn. + /// + [JsonProperty(PropertyName = "netCoreSomaxconn")] + public int? NetCoreSomaxconn { get; set; } + + /// + /// Gets or sets sysctl setting net.core.netdev_max_backlog. + /// + [JsonProperty(PropertyName = "netCoreNetdevMaxBacklog")] + public int? NetCoreNetdevMaxBacklog { get; set; } + + /// + /// Gets or sets sysctl setting net.core.rmem_default. + /// + [JsonProperty(PropertyName = "netCoreRmemDefault")] + public int? NetCoreRmemDefault { get; set; } + + /// + /// Gets or sets sysctl setting net.core.rmem_max. + /// + [JsonProperty(PropertyName = "netCoreRmemMax")] + public int? NetCoreRmemMax { get; set; } + + /// + /// Gets or sets sysctl setting net.core.wmem_default. + /// + [JsonProperty(PropertyName = "netCoreWmemDefault")] + public int? NetCoreWmemDefault { get; set; } + + /// + /// Gets or sets sysctl setting net.core.wmem_max. + /// + [JsonProperty(PropertyName = "netCoreWmemMax")] + public int? NetCoreWmemMax { get; set; } + + /// + /// Gets or sets sysctl setting net.core.optmem_max. + /// + [JsonProperty(PropertyName = "netCoreOptmemMax")] + public int? NetCoreOptmemMax { get; set; } + + /// + /// Gets or sets sysctl setting net.ipv4.tcp_max_syn_backlog. + /// + [JsonProperty(PropertyName = "netIpv4TcpMaxSynBacklog")] + public int? NetIpv4TcpMaxSynBacklog { get; set; } + + /// + /// Gets or sets sysctl setting net.ipv4.tcp_max_tw_buckets. + /// + [JsonProperty(PropertyName = "netIpv4TcpMaxTwBuckets")] + public int? NetIpv4TcpMaxTwBuckets { get; set; } + + /// + /// Gets or sets sysctl setting net.ipv4.tcp_fin_timeout. + /// + [JsonProperty(PropertyName = "netIpv4TcpFinTimeout")] + public int? NetIpv4TcpFinTimeout { get; set; } + + /// + /// Gets or sets sysctl setting net.ipv4.tcp_keepalive_time. + /// + [JsonProperty(PropertyName = "netIpv4TcpKeepaliveTime")] + public int? NetIpv4TcpKeepaliveTime { get; set; } + + /// + /// Gets or sets sysctl setting net.ipv4.tcp_keepalive_probes. + /// + [JsonProperty(PropertyName = "netIpv4TcpKeepaliveProbes")] + public int? NetIpv4TcpKeepaliveProbes { get; set; } + + /// + /// Gets or sets sysctl setting net.ipv4.tcp_keepalive_intvl. + /// + [JsonProperty(PropertyName = "netIpv4TcpkeepaliveIntvl")] + public int? NetIpv4TcpkeepaliveIntvl { get; set; } + + /// + /// Gets or sets sysctl setting net.ipv4.tcp_tw_reuse. + /// + [JsonProperty(PropertyName = "netIpv4TcpTwReuse")] + public bool? NetIpv4TcpTwReuse { get; set; } + + /// + /// Gets or sets sysctl setting net.ipv4.ip_local_port_range. + /// + [JsonProperty(PropertyName = "netIpv4IpLocalPortRange")] + public string NetIpv4IpLocalPortRange { get; set; } + + /// + /// Gets or sets sysctl setting net.ipv4.neigh.default.gc_thresh1. + /// + [JsonProperty(PropertyName = "netIpv4NeighDefaultGcThresh1")] + public int? NetIpv4NeighDefaultGcThresh1 { get; set; } + + /// + /// Gets or sets sysctl setting net.ipv4.neigh.default.gc_thresh2. + /// + [JsonProperty(PropertyName = "netIpv4NeighDefaultGcThresh2")] + public int? NetIpv4NeighDefaultGcThresh2 { get; set; } + + /// + /// Gets or sets sysctl setting net.ipv4.neigh.default.gc_thresh3. + /// + [JsonProperty(PropertyName = "netIpv4NeighDefaultGcThresh3")] + public int? NetIpv4NeighDefaultGcThresh3 { get; set; } + + /// + /// Gets or sets sysctl setting net.netfilter.nf_conntrack_max. + /// + [JsonProperty(PropertyName = "netNetfilterNfConntrackMax")] + public int? NetNetfilterNfConntrackMax { get; set; } + + /// + /// Gets or sets sysctl setting net.netfilter.nf_conntrack_buckets. + /// + [JsonProperty(PropertyName = "netNetfilterNfConntrackBuckets")] + public int? NetNetfilterNfConntrackBuckets { get; set; } + + /// + /// Gets or sets sysctl setting fs.inotify.max_user_watches. + /// + [JsonProperty(PropertyName = "fsInotifyMaxUserWatches")] + public int? FsInotifyMaxUserWatches { get; set; } + + /// + /// Gets or sets sysctl setting fs.file-max. + /// + [JsonProperty(PropertyName = "fsFileMax")] + public int? FsFileMax { get; set; } + + /// + /// Gets or sets sysctl setting fs.aio-max-nr. + /// + [JsonProperty(PropertyName = "fsAioMaxNr")] + public int? FsAioMaxNr { get; set; } + + /// + /// Gets or sets sysctl setting fs.nr_open. + /// + [JsonProperty(PropertyName = "fsNrOpen")] + public int? FsNrOpen { get; set; } + + /// + /// Gets or sets sysctl setting kernel.threads-max. + /// + [JsonProperty(PropertyName = "kernelThreadsMax")] + public int? KernelThreadsMax { get; set; } + + /// + /// Gets or sets sysctl setting vm.max_map_count. + /// + [JsonProperty(PropertyName = "vmMaxMapCount")] + public int? VmMaxMapCount { get; set; } + + /// + /// Gets or sets sysctl setting vm.swappiness. + /// + [JsonProperty(PropertyName = "vmSwappiness")] + public int? VmSwappiness { get; set; } + + /// + /// Gets or sets sysctl setting vm.vfs_cache_pressure. + /// + [JsonProperty(PropertyName = "vmVfsCachePressure")] + public int? VmVfsCachePressure { get; set; } + + } +} diff --git a/sdk/containerservice/Microsoft.Azure.Management.ContainerService/src/Generated/Models/SystemData.cs b/sdk/containerservice/Microsoft.Azure.Management.ContainerService/src/Generated/Models/SystemData.cs new file mode 100644 index 000000000000..c553ddd7e502 --- /dev/null +++ b/sdk/containerservice/Microsoft.Azure.Management.ContainerService/src/Generated/Models/SystemData.cs @@ -0,0 +1,103 @@ +// +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See License.txt in the project root for +// license information. +// +// Code generated by Microsoft (R) AutoRest Code Generator. +// Changes may cause incorrect behavior and will be lost if the code is +// regenerated. +// + +namespace Microsoft.Azure.Management.ContainerService.Models +{ + using Newtonsoft.Json; + using System.Linq; + + /// + /// Metadata pertaining to creation and last modification of the resource. + /// + public partial class SystemData + { + /// + /// Initializes a new instance of the SystemData class. + /// + public SystemData() + { + CustomInit(); + } + + /// + /// Initializes a new instance of the SystemData class. + /// + /// The identity that created the + /// resource. + /// The type of identity that created the + /// resource. Possible values include: 'User', 'Application', + /// 'ManagedIdentity', 'Key' + /// The UTC timestamp of resource + /// creation. + /// The identity that last modified the + /// resource. + /// The type of identity that last + /// modified the resource. Possible values include: 'User', + /// 'Application', 'ManagedIdentity', 'Key' + /// The type of identity that last + /// modified the resource. + public SystemData(string createdBy = default(string), string createdByType = default(string), System.DateTime? createdAt = default(System.DateTime?), string lastModifiedBy = default(string), string lastModifiedByType = default(string), System.DateTime? lastModifiedAt = default(System.DateTime?)) + { + CreatedBy = createdBy; + CreatedByType = createdByType; + CreatedAt = createdAt; + LastModifiedBy = lastModifiedBy; + LastModifiedByType = lastModifiedByType; + LastModifiedAt = lastModifiedAt; + CustomInit(); + } + + /// + /// An initialization method that performs custom operations like setting defaults + /// + partial void CustomInit(); + + /// + /// Gets or sets the identity that created the resource. + /// + [JsonProperty(PropertyName = "createdBy")] + public string CreatedBy { get; set; } + + /// + /// Gets or sets the type of identity that created the resource. + /// Possible values include: 'User', 'Application', 'ManagedIdentity', + /// 'Key' + /// + [JsonProperty(PropertyName = "createdByType")] + public string CreatedByType { get; set; } + + /// + /// Gets or sets the UTC timestamp of resource creation. + /// + [JsonProperty(PropertyName = "createdAt")] + public System.DateTime? CreatedAt { get; set; } + + /// + /// Gets or sets the identity that last modified the resource. + /// + [JsonProperty(PropertyName = "lastModifiedBy")] + public string LastModifiedBy { get; set; } + + /// + /// Gets or sets the type of identity that last modified the resource. + /// Possible values include: 'User', 'Application', 'ManagedIdentity', + /// 'Key' + /// + [JsonProperty(PropertyName = "lastModifiedByType")] + public string LastModifiedByType { get; set; } + + /// + /// Gets or sets the type of identity that last modified the resource. + /// + [JsonProperty(PropertyName = "lastModifiedAt")] + public System.DateTime? LastModifiedAt { get; set; } + + } +} diff --git a/sdk/containerservice/Microsoft.Azure.Management.ContainerService/src/Generated/Models/TimeInWeek.cs b/sdk/containerservice/Microsoft.Azure.Management.ContainerService/src/Generated/Models/TimeInWeek.cs new file mode 100644 index 000000000000..18570e995d9e --- /dev/null +++ b/sdk/containerservice/Microsoft.Azure.Management.ContainerService/src/Generated/Models/TimeInWeek.cs @@ -0,0 +1,73 @@ +// +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See License.txt in the project root for +// license information. +// +// Code generated by Microsoft (R) AutoRest Code Generator. +// Changes may cause incorrect behavior and will be lost if the code is +// regenerated. +// + +namespace Microsoft.Azure.Management.ContainerService.Models +{ + using Newtonsoft.Json; + using System.Collections; + using System.Collections.Generic; + using System.Linq; + + /// + /// Time in a week. + /// + public partial class TimeInWeek + { + /// + /// Initializes a new instance of the TimeInWeek class. + /// + public TimeInWeek() + { + CustomInit(); + } + + /// + /// Initializes a new instance of the TimeInWeek class. + /// + /// The day of the week. Possible values include: + /// 'Sunday', 'Monday', 'Tuesday', 'Wednesday', 'Thursday', 'Friday', + /// 'Saturday' + /// A list of hours in the day used to identify + /// a time range. + public TimeInWeek(string day = default(string), IList hourSlots = default(IList)) + { + Day = day; + HourSlots = hourSlots; + CustomInit(); + } + + /// + /// An initialization method that performs custom operations like setting defaults + /// + partial void CustomInit(); + + /// + /// Gets or sets the day of the week. Possible values include: + /// 'Sunday', 'Monday', 'Tuesday', 'Wednesday', 'Thursday', 'Friday', + /// 'Saturday' + /// + [JsonProperty(PropertyName = "day")] + public string Day { get; set; } + + /// + /// Gets or sets a list of hours in the day used to identify a time + /// range. + /// + /// + /// Each integer hour represents a time range beginning at 0m after the + /// hour ending at the next hour (non-inclusive). 0 corresponds to + /// 00:00 UTC, 23 corresponds to 23:00 UTC. Specifying [0, 1] means the + /// 00:00 - 02:00 UTC time range. + /// + [JsonProperty(PropertyName = "hourSlots")] + public IList HourSlots { get; set; } + + } +} diff --git a/sdk/containerservice/Microsoft.Azure.Management.ContainerService/src/Generated/Models/TimeSpan.cs b/sdk/containerservice/Microsoft.Azure.Management.ContainerService/src/Generated/Models/TimeSpan.cs new file mode 100644 index 000000000000..b9f29a871f3b --- /dev/null +++ b/sdk/containerservice/Microsoft.Azure.Management.ContainerService/src/Generated/Models/TimeSpan.cs @@ -0,0 +1,62 @@ +// +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See License.txt in the project root for +// license information. +// +// Code generated by Microsoft (R) AutoRest Code Generator. +// Changes may cause incorrect behavior and will be lost if the code is +// regenerated. +// + +namespace Microsoft.Azure.Management.ContainerService.Models +{ + using Newtonsoft.Json; + using System.Linq; + + /// + /// A time range. + /// + /// + /// For example, between 2021-05-25T13:00:00Z and 2021-05-25T14:00:00Z. + /// + public partial class TimeSpan + { + /// + /// Initializes a new instance of the TimeSpan class. + /// + public TimeSpan() + { + CustomInit(); + } + + /// + /// Initializes a new instance of the TimeSpan class. + /// + /// The start of a time span + /// The end of a time span + public TimeSpan(System.DateTime? start = default(System.DateTime?), System.DateTime? end = default(System.DateTime?)) + { + Start = start; + End = end; + CustomInit(); + } + + /// + /// An initialization method that performs custom operations like setting defaults + /// + partial void CustomInit(); + + /// + /// Gets or sets the start of a time span + /// + [JsonProperty(PropertyName = "start")] + public System.DateTime? Start { get; set; } + + /// + /// Gets or sets the end of a time span + /// + [JsonProperty(PropertyName = "end")] + public System.DateTime? End { get; set; } + + } +} diff --git a/sdk/containerservice/Microsoft.Azure.Management.ContainerService/src/Generated/Models/UpgradeChannel.cs b/sdk/containerservice/Microsoft.Azure.Management.ContainerService/src/Generated/Models/UpgradeChannel.cs new file mode 100644 index 000000000000..91af780850f9 --- /dev/null +++ b/sdk/containerservice/Microsoft.Azure.Management.ContainerService/src/Generated/Models/UpgradeChannel.cs @@ -0,0 +1,61 @@ +// +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See License.txt in the project root for +// license information. +// +// Code generated by Microsoft (R) AutoRest Code Generator. +// Changes may cause incorrect behavior and will be lost if the code is +// regenerated. +// + +namespace Microsoft.Azure.Management.ContainerService.Models +{ + + /// + /// Defines values for UpgradeChannel. + /// + public static class UpgradeChannel + { + /// + /// Automatically upgrade the cluster to the latest supported patch + /// release on the latest supported minor version. In cases where the + /// cluster is at a version of Kubernetes that is at an N-2 minor + /// version where N is the latest supported minor version, the cluster + /// first upgrades to the latest supported patch version on N-1 minor + /// version. For example, if a cluster is running version 1.17.7 and + /// versions 1.17.9, 1.18.4, 1.18.6, and 1.19.1 are available, your + /// cluster first is upgraded to 1.18.6, then is upgraded to 1.19.1. + /// + public const string Rapid = "rapid"; + /// + /// Automatically upgrade the cluster to the latest supported patch + /// release on minor version N-1, where N is the latest supported minor + /// version. For example, if a cluster is running version 1.17.7 and + /// versions 1.17.9, 1.18.4, 1.18.6, and 1.19.1 are available, your + /// cluster is upgraded to 1.18.6. + /// + public const string Stable = "stable"; + /// + /// Automatically upgrade the cluster to the latest supported patch + /// version when it becomes available while keeping the minor version + /// the same. For example, if a cluster is running version 1.17.7 and + /// versions 1.17.9, 1.18.4, 1.18.6, and 1.19.1 are available, your + /// cluster is upgraded to 1.17.9. + /// + public const string Patch = "patch"; + /// + /// Automatically upgrade the node image to the latest version + /// available. Microsoft provides patches and new images for image + /// nodes frequently (usually weekly), but your running nodes won't get + /// the new images unless you do a node image upgrade. Turning on the + /// node-image channel will automatically update your node images + /// whenever a new version is available. + /// + public const string NodeImage = "node-image"; + /// + /// Disables auto-upgrades and keeps the cluster at its current version + /// of Kubernetes. + /// + public const string None = "none"; + } +} diff --git a/sdk/containerservice/Microsoft.Azure.Management.ContainerService/src/Generated/Models/UserAssignedIdentity.cs b/sdk/containerservice/Microsoft.Azure.Management.ContainerService/src/Generated/Models/UserAssignedIdentity.cs index 70a04cf5899b..1d5dc18d049c 100644 --- a/sdk/containerservice/Microsoft.Azure.Management.ContainerService/src/Generated/Models/UserAssignedIdentity.cs +++ b/sdk/containerservice/Microsoft.Azure.Management.ContainerService/src/Generated/Models/UserAssignedIdentity.cs @@ -13,6 +13,9 @@ namespace Microsoft.Azure.Management.ContainerService.Models using Newtonsoft.Json; using System.Linq; + /// + /// Details about a user assigned identity. + /// public partial class UserAssignedIdentity { /// @@ -26,11 +29,11 @@ public UserAssignedIdentity() /// /// Initializes a new instance of the UserAssignedIdentity class. /// - /// The resource id of the user assigned + /// The resource ID of the user assigned /// identity. - /// The client id of the user assigned + /// The client ID of the user assigned /// identity. - /// The object id of the user assigned + /// The object ID of the user assigned /// identity. public UserAssignedIdentity(string resourceId = default(string), string clientId = default(string), string objectId = default(string)) { @@ -46,19 +49,19 @@ public UserAssignedIdentity() partial void CustomInit(); /// - /// Gets or sets the resource id of the user assigned identity. + /// Gets or sets the resource ID of the user assigned identity. /// [JsonProperty(PropertyName = "resourceId")] public string ResourceId { get; set; } /// - /// Gets or sets the client id of the user assigned identity. + /// Gets or sets the client ID of the user assigned identity. /// [JsonProperty(PropertyName = "clientId")] public string ClientId { get; set; } /// - /// Gets or sets the object id of the user assigned identity. + /// Gets or sets the object ID of the user assigned identity. /// [JsonProperty(PropertyName = "objectId")] public string ObjectId { get; set; } diff --git a/sdk/containerservice/Microsoft.Azure.Management.ContainerService/src/Generated/Models/WeekDay.cs b/sdk/containerservice/Microsoft.Azure.Management.ContainerService/src/Generated/Models/WeekDay.cs new file mode 100644 index 000000000000..e0238baf2122 --- /dev/null +++ b/sdk/containerservice/Microsoft.Azure.Management.ContainerService/src/Generated/Models/WeekDay.cs @@ -0,0 +1,27 @@ +// +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See License.txt in the project root for +// license information. +// +// Code generated by Microsoft (R) AutoRest Code Generator. +// Changes may cause incorrect behavior and will be lost if the code is +// regenerated. +// + +namespace Microsoft.Azure.Management.ContainerService.Models +{ + + /// + /// Defines values for WeekDay. + /// + public static class WeekDay + { + public const string Sunday = "Sunday"; + public const string Monday = "Monday"; + public const string Tuesday = "Tuesday"; + public const string Wednesday = "Wednesday"; + public const string Thursday = "Thursday"; + public const string Friday = "Friday"; + public const string Saturday = "Saturday"; + } +} diff --git a/sdk/containerservice/Microsoft.Azure.Management.ContainerService/src/Generated/OpenShiftManagedClustersOperationsExtensions.cs b/sdk/containerservice/Microsoft.Azure.Management.ContainerService/src/Generated/OpenShiftManagedClustersOperationsExtensions.cs deleted file mode 100644 index 37a2d108e3e6..000000000000 --- a/sdk/containerservice/Microsoft.Azure.Management.ContainerService/src/Generated/OpenShiftManagedClustersOperationsExtensions.cs +++ /dev/null @@ -1,547 +0,0 @@ -// -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. See License.txt in the project root for -// license information. -// -// Code generated by Microsoft (R) AutoRest Code Generator. -// Changes may cause incorrect behavior and will be lost if the code is -// regenerated. -// - -namespace Microsoft.Azure.Management.ContainerService -{ - using Microsoft.Rest; - using Microsoft.Rest.Azure; - using Models; - using System.Collections; - using System.Collections.Generic; - using System.Threading; - using System.Threading.Tasks; - - /// - /// Extension methods for OpenShiftManagedClustersOperations. - /// - public static partial class OpenShiftManagedClustersOperationsExtensions - { - /// - /// Gets a list of OpenShift managed clusters in the specified subscription. - /// - /// - /// Gets a list of OpenShift managed clusters in the specified subscription. - /// The operation returns properties of each OpenShift managed cluster. - /// - /// - /// The operations group for this extension method. - /// - public static IPage List(this IOpenShiftManagedClustersOperations operations) - { - return operations.ListAsync().GetAwaiter().GetResult(); - } - - /// - /// Gets a list of OpenShift managed clusters in the specified subscription. - /// - /// - /// Gets a list of OpenShift managed clusters in the specified subscription. - /// The operation returns properties of each OpenShift managed cluster. - /// - /// - /// The operations group for this extension method. - /// - /// - /// The cancellation token. - /// - public static async Task> ListAsync(this IOpenShiftManagedClustersOperations operations, CancellationToken cancellationToken = default(CancellationToken)) - { - using (var _result = await operations.ListWithHttpMessagesAsync(null, cancellationToken).ConfigureAwait(false)) - { - return _result.Body; - } - } - - /// - /// Lists OpenShift managed clusters in the specified subscription and resource - /// group. - /// - /// - /// Lists OpenShift managed clusters in the specified subscription and resource - /// group. The operation returns properties of each OpenShift managed cluster. - /// - /// - /// The operations group for this extension method. - /// - /// - /// The name of the resource group. - /// - public static IPage ListByResourceGroup(this IOpenShiftManagedClustersOperations operations, string resourceGroupName) - { - return operations.ListByResourceGroupAsync(resourceGroupName).GetAwaiter().GetResult(); - } - - /// - /// Lists OpenShift managed clusters in the specified subscription and resource - /// group. - /// - /// - /// Lists OpenShift managed clusters in the specified subscription and resource - /// group. The operation returns properties of each OpenShift managed cluster. - /// - /// - /// The operations group for this extension method. - /// - /// - /// The name of the resource group. - /// - /// - /// The cancellation token. - /// - public static async Task> ListByResourceGroupAsync(this IOpenShiftManagedClustersOperations operations, string resourceGroupName, CancellationToken cancellationToken = default(CancellationToken)) - { - using (var _result = await operations.ListByResourceGroupWithHttpMessagesAsync(resourceGroupName, null, cancellationToken).ConfigureAwait(false)) - { - return _result.Body; - } - } - - /// - /// Gets a OpenShift managed cluster. - /// - /// - /// Gets the details of the managed OpenShift cluster with a specified resource - /// group and name. - /// - /// - /// The operations group for this extension method. - /// - /// - /// The name of the resource group. - /// - /// - /// The name of the OpenShift managed cluster resource. - /// - public static OpenShiftManagedCluster Get(this IOpenShiftManagedClustersOperations operations, string resourceGroupName, string resourceName) - { - return operations.GetAsync(resourceGroupName, resourceName).GetAwaiter().GetResult(); - } - - /// - /// Gets a OpenShift managed cluster. - /// - /// - /// Gets the details of the managed OpenShift cluster with a specified resource - /// group and name. - /// - /// - /// The operations group for this extension method. - /// - /// - /// The name of the resource group. - /// - /// - /// The name of the OpenShift managed cluster resource. - /// - /// - /// The cancellation token. - /// - public static async Task GetAsync(this IOpenShiftManagedClustersOperations operations, string resourceGroupName, string resourceName, CancellationToken cancellationToken = default(CancellationToken)) - { - using (var _result = await operations.GetWithHttpMessagesAsync(resourceGroupName, resourceName, null, cancellationToken).ConfigureAwait(false)) - { - return _result.Body; - } - } - - /// - /// Creates or updates an OpenShift managed cluster. - /// - /// - /// Creates or updates a OpenShift managed cluster with the specified - /// configuration for agents and OpenShift version. - /// - /// - /// The operations group for this extension method. - /// - /// - /// The name of the resource group. - /// - /// - /// The name of the OpenShift managed cluster resource. - /// - /// - /// Parameters supplied to the Create or Update an OpenShift Managed Cluster - /// operation. - /// - public static OpenShiftManagedCluster CreateOrUpdate(this IOpenShiftManagedClustersOperations operations, string resourceGroupName, string resourceName, OpenShiftManagedCluster parameters) - { - return operations.CreateOrUpdateAsync(resourceGroupName, resourceName, parameters).GetAwaiter().GetResult(); - } - - /// - /// Creates or updates an OpenShift managed cluster. - /// - /// - /// Creates or updates a OpenShift managed cluster with the specified - /// configuration for agents and OpenShift version. - /// - /// - /// The operations group for this extension method. - /// - /// - /// The name of the resource group. - /// - /// - /// The name of the OpenShift managed cluster resource. - /// - /// - /// Parameters supplied to the Create or Update an OpenShift Managed Cluster - /// operation. - /// - /// - /// The cancellation token. - /// - public static async Task CreateOrUpdateAsync(this IOpenShiftManagedClustersOperations operations, string resourceGroupName, string resourceName, OpenShiftManagedCluster parameters, CancellationToken cancellationToken = default(CancellationToken)) - { - using (var _result = await operations.CreateOrUpdateWithHttpMessagesAsync(resourceGroupName, resourceName, parameters, null, cancellationToken).ConfigureAwait(false)) - { - return _result.Body; - } - } - - /// - /// Updates tags on an OpenShift managed cluster. - /// - /// - /// Updates an OpenShift managed cluster with the specified tags. - /// - /// - /// The operations group for this extension method. - /// - /// - /// The name of the resource group. - /// - /// - /// The name of the OpenShift managed cluster resource. - /// - /// - /// Resource tags. - /// - public static OpenShiftManagedCluster UpdateTags(this IOpenShiftManagedClustersOperations operations, string resourceGroupName, string resourceName, IDictionary tags = default(IDictionary)) - { - return operations.UpdateTagsAsync(resourceGroupName, resourceName, tags).GetAwaiter().GetResult(); - } - - /// - /// Updates tags on an OpenShift managed cluster. - /// - /// - /// Updates an OpenShift managed cluster with the specified tags. - /// - /// - /// The operations group for this extension method. - /// - /// - /// The name of the resource group. - /// - /// - /// The name of the OpenShift managed cluster resource. - /// - /// - /// Resource tags. - /// - /// - /// The cancellation token. - /// - public static async Task UpdateTagsAsync(this IOpenShiftManagedClustersOperations operations, string resourceGroupName, string resourceName, IDictionary tags = default(IDictionary), CancellationToken cancellationToken = default(CancellationToken)) - { - using (var _result = await operations.UpdateTagsWithHttpMessagesAsync(resourceGroupName, resourceName, tags, null, cancellationToken).ConfigureAwait(false)) - { - return _result.Body; - } - } - - /// - /// Deletes an OpenShift managed cluster. - /// - /// - /// Deletes the OpenShift managed cluster with a specified resource group and - /// name. - /// - /// - /// The operations group for this extension method. - /// - /// - /// The name of the resource group. - /// - /// - /// The name of the OpenShift managed cluster resource. - /// - public static void Delete(this IOpenShiftManagedClustersOperations operations, string resourceGroupName, string resourceName) - { - operations.DeleteAsync(resourceGroupName, resourceName).GetAwaiter().GetResult(); - } - - /// - /// Deletes an OpenShift managed cluster. - /// - /// - /// Deletes the OpenShift managed cluster with a specified resource group and - /// name. - /// - /// - /// The operations group for this extension method. - /// - /// - /// The name of the resource group. - /// - /// - /// The name of the OpenShift managed cluster resource. - /// - /// - /// The cancellation token. - /// - public static async Task DeleteAsync(this IOpenShiftManagedClustersOperations operations, string resourceGroupName, string resourceName, CancellationToken cancellationToken = default(CancellationToken)) - { - (await operations.DeleteWithHttpMessagesAsync(resourceGroupName, resourceName, null, cancellationToken).ConfigureAwait(false)).Dispose(); - } - - /// - /// Creates or updates an OpenShift managed cluster. - /// - /// - /// Creates or updates a OpenShift managed cluster with the specified - /// configuration for agents and OpenShift version. - /// - /// - /// The operations group for this extension method. - /// - /// - /// The name of the resource group. - /// - /// - /// The name of the OpenShift managed cluster resource. - /// - /// - /// Parameters supplied to the Create or Update an OpenShift Managed Cluster - /// operation. - /// - public static OpenShiftManagedCluster BeginCreateOrUpdate(this IOpenShiftManagedClustersOperations operations, string resourceGroupName, string resourceName, OpenShiftManagedCluster parameters) - { - return operations.BeginCreateOrUpdateAsync(resourceGroupName, resourceName, parameters).GetAwaiter().GetResult(); - } - - /// - /// Creates or updates an OpenShift managed cluster. - /// - /// - /// Creates or updates a OpenShift managed cluster with the specified - /// configuration for agents and OpenShift version. - /// - /// - /// The operations group for this extension method. - /// - /// - /// The name of the resource group. - /// - /// - /// The name of the OpenShift managed cluster resource. - /// - /// - /// Parameters supplied to the Create or Update an OpenShift Managed Cluster - /// operation. - /// - /// - /// The cancellation token. - /// - public static async Task BeginCreateOrUpdateAsync(this IOpenShiftManagedClustersOperations operations, string resourceGroupName, string resourceName, OpenShiftManagedCluster parameters, CancellationToken cancellationToken = default(CancellationToken)) - { - using (var _result = await operations.BeginCreateOrUpdateWithHttpMessagesAsync(resourceGroupName, resourceName, parameters, null, cancellationToken).ConfigureAwait(false)) - { - return _result.Body; - } - } - - /// - /// Updates tags on an OpenShift managed cluster. - /// - /// - /// Updates an OpenShift managed cluster with the specified tags. - /// - /// - /// The operations group for this extension method. - /// - /// - /// The name of the resource group. - /// - /// - /// The name of the OpenShift managed cluster resource. - /// - /// - /// Resource tags. - /// - public static OpenShiftManagedCluster BeginUpdateTags(this IOpenShiftManagedClustersOperations operations, string resourceGroupName, string resourceName, IDictionary tags = default(IDictionary)) - { - return operations.BeginUpdateTagsAsync(resourceGroupName, resourceName, tags).GetAwaiter().GetResult(); - } - - /// - /// Updates tags on an OpenShift managed cluster. - /// - /// - /// Updates an OpenShift managed cluster with the specified tags. - /// - /// - /// The operations group for this extension method. - /// - /// - /// The name of the resource group. - /// - /// - /// The name of the OpenShift managed cluster resource. - /// - /// - /// Resource tags. - /// - /// - /// The cancellation token. - /// - public static async Task BeginUpdateTagsAsync(this IOpenShiftManagedClustersOperations operations, string resourceGroupName, string resourceName, IDictionary tags = default(IDictionary), CancellationToken cancellationToken = default(CancellationToken)) - { - using (var _result = await operations.BeginUpdateTagsWithHttpMessagesAsync(resourceGroupName, resourceName, tags, null, cancellationToken).ConfigureAwait(false)) - { - return _result.Body; - } - } - - /// - /// Deletes an OpenShift managed cluster. - /// - /// - /// Deletes the OpenShift managed cluster with a specified resource group and - /// name. - /// - /// - /// The operations group for this extension method. - /// - /// - /// The name of the resource group. - /// - /// - /// The name of the OpenShift managed cluster resource. - /// - public static void BeginDelete(this IOpenShiftManagedClustersOperations operations, string resourceGroupName, string resourceName) - { - operations.BeginDeleteAsync(resourceGroupName, resourceName).GetAwaiter().GetResult(); - } - - /// - /// Deletes an OpenShift managed cluster. - /// - /// - /// Deletes the OpenShift managed cluster with a specified resource group and - /// name. - /// - /// - /// The operations group for this extension method. - /// - /// - /// The name of the resource group. - /// - /// - /// The name of the OpenShift managed cluster resource. - /// - /// - /// The cancellation token. - /// - public static async Task BeginDeleteAsync(this IOpenShiftManagedClustersOperations operations, string resourceGroupName, string resourceName, CancellationToken cancellationToken = default(CancellationToken)) - { - (await operations.BeginDeleteWithHttpMessagesAsync(resourceGroupName, resourceName, null, cancellationToken).ConfigureAwait(false)).Dispose(); - } - - /// - /// Gets a list of OpenShift managed clusters in the specified subscription. - /// - /// - /// Gets a list of OpenShift managed clusters in the specified subscription. - /// The operation returns properties of each OpenShift managed cluster. - /// - /// - /// The operations group for this extension method. - /// - /// - /// The NextLink from the previous successful call to List operation. - /// - public static IPage ListNext(this IOpenShiftManagedClustersOperations operations, string nextPageLink) - { - return operations.ListNextAsync(nextPageLink).GetAwaiter().GetResult(); - } - - /// - /// Gets a list of OpenShift managed clusters in the specified subscription. - /// - /// - /// Gets a list of OpenShift managed clusters in the specified subscription. - /// The operation returns properties of each OpenShift managed cluster. - /// - /// - /// The operations group for this extension method. - /// - /// - /// The NextLink from the previous successful call to List operation. - /// - /// - /// The cancellation token. - /// - public static async Task> ListNextAsync(this IOpenShiftManagedClustersOperations operations, string nextPageLink, CancellationToken cancellationToken = default(CancellationToken)) - { - using (var _result = await operations.ListNextWithHttpMessagesAsync(nextPageLink, null, cancellationToken).ConfigureAwait(false)) - { - return _result.Body; - } - } - - /// - /// Lists OpenShift managed clusters in the specified subscription and resource - /// group. - /// - /// - /// Lists OpenShift managed clusters in the specified subscription and resource - /// group. The operation returns properties of each OpenShift managed cluster. - /// - /// - /// The operations group for this extension method. - /// - /// - /// The NextLink from the previous successful call to List operation. - /// - public static IPage ListByResourceGroupNext(this IOpenShiftManagedClustersOperations operations, string nextPageLink) - { - return operations.ListByResourceGroupNextAsync(nextPageLink).GetAwaiter().GetResult(); - } - - /// - /// Lists OpenShift managed clusters in the specified subscription and resource - /// group. - /// - /// - /// Lists OpenShift managed clusters in the specified subscription and resource - /// group. The operation returns properties of each OpenShift managed cluster. - /// - /// - /// The operations group for this extension method. - /// - /// - /// The NextLink from the previous successful call to List operation. - /// - /// - /// The cancellation token. - /// - public static async Task> ListByResourceGroupNextAsync(this IOpenShiftManagedClustersOperations operations, string nextPageLink, CancellationToken cancellationToken = default(CancellationToken)) - { - using (var _result = await operations.ListByResourceGroupNextWithHttpMessagesAsync(nextPageLink, null, cancellationToken).ConfigureAwait(false)) - { - return _result.Body; - } - } - - } -} diff --git a/sdk/containerservice/Microsoft.Azure.Management.ContainerService/src/Generated/Operations.cs b/sdk/containerservice/Microsoft.Azure.Management.ContainerService/src/Generated/Operations.cs index 9aa03fa35215..bd9492924145 100644 --- a/sdk/containerservice/Microsoft.Azure.Management.ContainerService/src/Generated/Operations.cs +++ b/sdk/containerservice/Microsoft.Azure.Management.ContainerService/src/Generated/Operations.cs @@ -51,7 +51,7 @@ internal Operations(ContainerServiceClient client) public ContainerServiceClient Client { get; private set; } /// - /// Gets a list of compute operations. + /// Gets a list of operations. /// /// /// Headers that will be added to request. @@ -65,12 +65,21 @@ internal Operations(ContainerServiceClient client) /// /// Thrown when unable to deserialize the response /// + /// + /// Thrown when a required parameter is null + /// + /// + /// Thrown when a required parameter is null + /// /// /// A response object containing the response body and response headers. /// public async Task>> ListWithHttpMessagesAsync(Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) { - string apiVersion = "2020-07-01"; + if (Client.ApiVersion == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.ApiVersion"); + } // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; string _invocationId = null; @@ -78,7 +87,6 @@ internal Operations(ContainerServiceClient client) { _invocationId = ServiceClientTracing.NextInvocationId.ToString(); Dictionary tracingParameters = new Dictionary(); - tracingParameters.Add("apiVersion", apiVersion); tracingParameters.Add("cancellationToken", cancellationToken); ServiceClientTracing.Enter(_invocationId, this, "List", tracingParameters); } @@ -86,9 +94,9 @@ internal Operations(ContainerServiceClient client) var _baseUrl = Client.BaseUri.AbsoluteUri; var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "providers/Microsoft.ContainerService/operations").ToString(); List _queryParameters = new List(); - if (apiVersion != null) + if (Client.ApiVersion != null) { - _queryParameters.Add(string.Format("api-version={0}", System.Uri.EscapeDataString(apiVersion))); + _queryParameters.Add(string.Format("api-version={0}", System.Uri.EscapeDataString(Client.ApiVersion))); } if (_queryParameters.Count > 0) { @@ -196,7 +204,7 @@ internal Operations(ContainerServiceClient client) _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); try { - _result.Body = Rest.Serialization.SafeJsonConvert.DeserializeObject>(_responseContent, Client.DeserializationSettings); + _result.Body = Rest.Serialization.SafeJsonConvert.DeserializeObject>(_responseContent, Client.DeserializationSettings); } catch (JsonException ex) { diff --git a/sdk/containerservice/Microsoft.Azure.Management.ContainerService/src/Generated/OperationsExtensions.cs b/sdk/containerservice/Microsoft.Azure.Management.ContainerService/src/Generated/OperationsExtensions.cs index 5497ee0a0eba..96f13e6718f6 100644 --- a/sdk/containerservice/Microsoft.Azure.Management.ContainerService/src/Generated/OperationsExtensions.cs +++ b/sdk/containerservice/Microsoft.Azure.Management.ContainerService/src/Generated/OperationsExtensions.cs @@ -24,7 +24,7 @@ namespace Microsoft.Azure.Management.ContainerService public static partial class OperationsExtensions { /// - /// Gets a list of compute operations. + /// Gets a list of operations. /// /// /// The operations group for this extension method. @@ -35,7 +35,7 @@ public static IEnumerable List(this IOperations operations) } /// - /// Gets a list of compute operations. + /// Gets a list of operations. /// /// /// The operations group for this extension method. diff --git a/sdk/containerservice/Microsoft.Azure.Management.ContainerService/src/Generated/PrivateEndpointConnectionsOperations.cs b/sdk/containerservice/Microsoft.Azure.Management.ContainerService/src/Generated/PrivateEndpointConnectionsOperations.cs index 4a6f473035d3..8e3b99ca6636 100644 --- a/sdk/containerservice/Microsoft.Azure.Management.ContainerService/src/Generated/PrivateEndpointConnectionsOperations.cs +++ b/sdk/containerservice/Microsoft.Azure.Management.ContainerService/src/Generated/PrivateEndpointConnectionsOperations.cs @@ -55,9 +55,8 @@ internal PrivateEndpointConnectionsOperations(ContainerServiceClient client) /// cluster. /// /// - /// Gets a list of private endpoint connections in the specified managed - /// cluster. The operation returns properties of each private endpoint - /// connection. + /// To learn more about private clusters, see: + /// https://docs.microsoft.com/azure/aks/private-clusters /// /// /// The name of the resource group. @@ -88,6 +87,10 @@ internal PrivateEndpointConnectionsOperations(ContainerServiceClient client) /// public async Task> ListWithHttpMessagesAsync(string resourceGroupName, string resourceName, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) { + if (Client.ApiVersion == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.ApiVersion"); + } if (Client.SubscriptionId == null) { throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId"); @@ -122,7 +125,6 @@ internal PrivateEndpointConnectionsOperations(ContainerServiceClient client) throw new ValidationException(ValidationRules.Pattern, "resourceName", "^[a-zA-Z0-9]$|^[a-zA-Z0-9][-_a-zA-Z0-9]{0,61}[a-zA-Z0-9]$"); } } - string apiVersion = "2020-07-01"; // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; string _invocationId = null; @@ -130,7 +132,6 @@ internal PrivateEndpointConnectionsOperations(ContainerServiceClient client) { _invocationId = ServiceClientTracing.NextInvocationId.ToString(); Dictionary tracingParameters = new Dictionary(); - tracingParameters.Add("apiVersion", apiVersion); tracingParameters.Add("resourceGroupName", resourceGroupName); tracingParameters.Add("resourceName", resourceName); tracingParameters.Add("cancellationToken", cancellationToken); @@ -143,9 +144,9 @@ internal PrivateEndpointConnectionsOperations(ContainerServiceClient client) _url = _url.Replace("{resourceGroupName}", System.Uri.EscapeDataString(resourceGroupName)); _url = _url.Replace("{resourceName}", System.Uri.EscapeDataString(resourceName)); List _queryParameters = new List(); - if (apiVersion != null) + if (Client.ApiVersion != null) { - _queryParameters.Add(string.Format("api-version={0}", System.Uri.EscapeDataString(apiVersion))); + _queryParameters.Add(string.Format("api-version={0}", System.Uri.EscapeDataString(Client.ApiVersion))); } if (_queryParameters.Count > 0) { @@ -273,11 +274,11 @@ internal PrivateEndpointConnectionsOperations(ContainerServiceClient client) } /// - /// Gets the private endpoint connection. + /// Gets the specified private endpoint connection. /// /// - /// Gets the details of the private endpoint connection by managed cluster and - /// resource group. + /// To learn more about private clusters, see: + /// https://docs.microsoft.com/azure/aks/private-clusters /// /// /// The name of the resource group. @@ -311,6 +312,10 @@ internal PrivateEndpointConnectionsOperations(ContainerServiceClient client) /// public async Task> GetWithHttpMessagesAsync(string resourceGroupName, string resourceName, string privateEndpointConnectionName, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) { + if (Client.ApiVersion == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.ApiVersion"); + } if (Client.SubscriptionId == null) { throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId"); @@ -349,7 +354,6 @@ internal PrivateEndpointConnectionsOperations(ContainerServiceClient client) { throw new ValidationException(ValidationRules.CannotBeNull, "privateEndpointConnectionName"); } - string apiVersion = "2020-07-01"; // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; string _invocationId = null; @@ -357,7 +361,6 @@ internal PrivateEndpointConnectionsOperations(ContainerServiceClient client) { _invocationId = ServiceClientTracing.NextInvocationId.ToString(); Dictionary tracingParameters = new Dictionary(); - tracingParameters.Add("apiVersion", apiVersion); tracingParameters.Add("resourceGroupName", resourceGroupName); tracingParameters.Add("resourceName", resourceName); tracingParameters.Add("privateEndpointConnectionName", privateEndpointConnectionName); @@ -372,9 +375,9 @@ internal PrivateEndpointConnectionsOperations(ContainerServiceClient client) _url = _url.Replace("{resourceName}", System.Uri.EscapeDataString(resourceName)); _url = _url.Replace("{privateEndpointConnectionName}", System.Uri.EscapeDataString(privateEndpointConnectionName)); List _queryParameters = new List(); - if (apiVersion != null) + if (Client.ApiVersion != null) { - _queryParameters.Add(string.Format("api-version={0}", System.Uri.EscapeDataString(apiVersion))); + _queryParameters.Add(string.Format("api-version={0}", System.Uri.EscapeDataString(Client.ApiVersion))); } if (_queryParameters.Count > 0) { @@ -504,9 +507,6 @@ internal PrivateEndpointConnectionsOperations(ContainerServiceClient client) /// /// Updates a private endpoint connection. /// - /// - /// Updates a private endpoint connection in the specified managed cluster. - /// /// /// The name of the resource group. /// @@ -517,7 +517,7 @@ internal PrivateEndpointConnectionsOperations(ContainerServiceClient client) /// The name of the private endpoint connection. /// /// - /// Parameters supplied to the Update a private endpoint connection operation. + /// The updated private endpoint connection. /// /// /// Headers that will be added to request. @@ -542,6 +542,10 @@ internal PrivateEndpointConnectionsOperations(ContainerServiceClient client) /// public async Task> UpdateWithHttpMessagesAsync(string resourceGroupName, string resourceName, string privateEndpointConnectionName, PrivateEndpointConnection parameters, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) { + if (Client.ApiVersion == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.ApiVersion"); + } if (Client.SubscriptionId == null) { throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId"); @@ -588,7 +592,6 @@ internal PrivateEndpointConnectionsOperations(ContainerServiceClient client) { parameters.Validate(); } - string apiVersion = "2020-07-01"; // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; string _invocationId = null; @@ -596,7 +599,6 @@ internal PrivateEndpointConnectionsOperations(ContainerServiceClient client) { _invocationId = ServiceClientTracing.NextInvocationId.ToString(); Dictionary tracingParameters = new Dictionary(); - tracingParameters.Add("apiVersion", apiVersion); tracingParameters.Add("resourceGroupName", resourceGroupName); tracingParameters.Add("resourceName", resourceName); tracingParameters.Add("privateEndpointConnectionName", privateEndpointConnectionName); @@ -612,9 +614,9 @@ internal PrivateEndpointConnectionsOperations(ContainerServiceClient client) _url = _url.Replace("{resourceName}", System.Uri.EscapeDataString(resourceName)); _url = _url.Replace("{privateEndpointConnectionName}", System.Uri.EscapeDataString(privateEndpointConnectionName)); List _queryParameters = new List(); - if (apiVersion != null) + if (Client.ApiVersion != null) { - _queryParameters.Add(string.Format("api-version={0}", System.Uri.EscapeDataString(apiVersion))); + _queryParameters.Add(string.Format("api-version={0}", System.Uri.EscapeDataString(Client.ApiVersion))); } if (_queryParameters.Count > 0) { @@ -750,9 +752,6 @@ internal PrivateEndpointConnectionsOperations(ContainerServiceClient client) /// /// Deletes a private endpoint connection. /// - /// - /// Deletes the private endpoint connection in the specified managed cluster. - /// /// /// The name of the resource group. /// @@ -778,9 +777,6 @@ internal PrivateEndpointConnectionsOperations(ContainerServiceClient client) /// /// Deletes a private endpoint connection. /// - /// - /// Deletes the private endpoint connection in the specified managed cluster. - /// /// /// The name of the resource group. /// @@ -810,6 +806,10 @@ internal PrivateEndpointConnectionsOperations(ContainerServiceClient client) /// public async Task BeginDeleteWithHttpMessagesAsync(string resourceGroupName, string resourceName, string privateEndpointConnectionName, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) { + if (Client.ApiVersion == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.ApiVersion"); + } if (Client.SubscriptionId == null) { throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId"); @@ -848,7 +848,6 @@ internal PrivateEndpointConnectionsOperations(ContainerServiceClient client) { throw new ValidationException(ValidationRules.CannotBeNull, "privateEndpointConnectionName"); } - string apiVersion = "2020-07-01"; // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; string _invocationId = null; @@ -856,7 +855,6 @@ internal PrivateEndpointConnectionsOperations(ContainerServiceClient client) { _invocationId = ServiceClientTracing.NextInvocationId.ToString(); Dictionary tracingParameters = new Dictionary(); - tracingParameters.Add("apiVersion", apiVersion); tracingParameters.Add("resourceGroupName", resourceGroupName); tracingParameters.Add("resourceName", resourceName); tracingParameters.Add("privateEndpointConnectionName", privateEndpointConnectionName); @@ -871,9 +869,9 @@ internal PrivateEndpointConnectionsOperations(ContainerServiceClient client) _url = _url.Replace("{resourceName}", System.Uri.EscapeDataString(resourceName)); _url = _url.Replace("{privateEndpointConnectionName}", System.Uri.EscapeDataString(privateEndpointConnectionName)); List _queryParameters = new List(); - if (apiVersion != null) + if (Client.ApiVersion != null) { - _queryParameters.Add(string.Format("api-version={0}", System.Uri.EscapeDataString(apiVersion))); + _queryParameters.Add(string.Format("api-version={0}", System.Uri.EscapeDataString(Client.ApiVersion))); } if (_queryParameters.Count > 0) { diff --git a/sdk/containerservice/Microsoft.Azure.Management.ContainerService/src/Generated/PrivateEndpointConnectionsOperationsExtensions.cs b/sdk/containerservice/Microsoft.Azure.Management.ContainerService/src/Generated/PrivateEndpointConnectionsOperationsExtensions.cs index 45b67474e47e..358740558945 100644 --- a/sdk/containerservice/Microsoft.Azure.Management.ContainerService/src/Generated/PrivateEndpointConnectionsOperationsExtensions.cs +++ b/sdk/containerservice/Microsoft.Azure.Management.ContainerService/src/Generated/PrivateEndpointConnectionsOperationsExtensions.cs @@ -26,9 +26,8 @@ public static partial class PrivateEndpointConnectionsOperationsExtensions /// cluster. /// /// - /// Gets a list of private endpoint connections in the specified managed - /// cluster. The operation returns properties of each private endpoint - /// connection. + /// To learn more about private clusters, see: + /// https://docs.microsoft.com/azure/aks/private-clusters /// /// /// The operations group for this extension method. @@ -49,9 +48,8 @@ public static PrivateEndpointConnectionListResult List(this IPrivateEndpointConn /// cluster. /// /// - /// Gets a list of private endpoint connections in the specified managed - /// cluster. The operation returns properties of each private endpoint - /// connection. + /// To learn more about private clusters, see: + /// https://docs.microsoft.com/azure/aks/private-clusters /// /// /// The operations group for this extension method. @@ -74,11 +72,11 @@ public static PrivateEndpointConnectionListResult List(this IPrivateEndpointConn } /// - /// Gets the private endpoint connection. + /// Gets the specified private endpoint connection. /// /// - /// Gets the details of the private endpoint connection by managed cluster and - /// resource group. + /// To learn more about private clusters, see: + /// https://docs.microsoft.com/azure/aks/private-clusters /// /// /// The operations group for this extension method. @@ -98,11 +96,11 @@ public static PrivateEndpointConnection Get(this IPrivateEndpointConnectionsOper } /// - /// Gets the private endpoint connection. + /// Gets the specified private endpoint connection. /// /// - /// Gets the details of the private endpoint connection by managed cluster and - /// resource group. + /// To learn more about private clusters, see: + /// https://docs.microsoft.com/azure/aks/private-clusters /// /// /// The operations group for this extension method. @@ -130,9 +128,6 @@ public static PrivateEndpointConnection Get(this IPrivateEndpointConnectionsOper /// /// Updates a private endpoint connection. /// - /// - /// Updates a private endpoint connection in the specified managed cluster. - /// /// /// The operations group for this extension method. /// @@ -146,7 +141,7 @@ public static PrivateEndpointConnection Get(this IPrivateEndpointConnectionsOper /// The name of the private endpoint connection. /// /// - /// Parameters supplied to the Update a private endpoint connection operation. + /// The updated private endpoint connection. /// public static PrivateEndpointConnection Update(this IPrivateEndpointConnectionsOperations operations, string resourceGroupName, string resourceName, string privateEndpointConnectionName, PrivateEndpointConnection parameters) { @@ -156,9 +151,6 @@ public static PrivateEndpointConnection Update(this IPrivateEndpointConnectionsO /// /// Updates a private endpoint connection. /// - /// - /// Updates a private endpoint connection in the specified managed cluster. - /// /// /// The operations group for this extension method. /// @@ -172,7 +164,7 @@ public static PrivateEndpointConnection Update(this IPrivateEndpointConnectionsO /// The name of the private endpoint connection. /// /// - /// Parameters supplied to the Update a private endpoint connection operation. + /// The updated private endpoint connection. /// /// /// The cancellation token. @@ -188,9 +180,6 @@ public static PrivateEndpointConnection Update(this IPrivateEndpointConnectionsO /// /// Deletes a private endpoint connection. /// - /// - /// Deletes the private endpoint connection in the specified managed cluster. - /// /// /// The operations group for this extension method. /// @@ -211,9 +200,6 @@ public static void Delete(this IPrivateEndpointConnectionsOperations operations, /// /// Deletes a private endpoint connection. /// - /// - /// Deletes the private endpoint connection in the specified managed cluster. - /// /// /// The operations group for this extension method. /// @@ -237,9 +223,6 @@ public static void Delete(this IPrivateEndpointConnectionsOperations operations, /// /// Deletes a private endpoint connection. /// - /// - /// Deletes the private endpoint connection in the specified managed cluster. - /// /// /// The operations group for this extension method. /// @@ -260,9 +243,6 @@ public static void BeginDelete(this IPrivateEndpointConnectionsOperations operat /// /// Deletes a private endpoint connection. /// - /// - /// Deletes the private endpoint connection in the specified managed cluster. - /// /// /// The operations group for this extension method. /// diff --git a/sdk/containerservice/Microsoft.Azure.Management.ContainerService/src/Generated/PrivateLinkResourcesOperations.cs b/sdk/containerservice/Microsoft.Azure.Management.ContainerService/src/Generated/PrivateLinkResourcesOperations.cs new file mode 100644 index 000000000000..acaaf2a910c4 --- /dev/null +++ b/sdk/containerservice/Microsoft.Azure.Management.ContainerService/src/Generated/PrivateLinkResourcesOperations.cs @@ -0,0 +1,276 @@ +// +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See License.txt in the project root for +// license information. +// +// Code generated by Microsoft (R) AutoRest Code Generator. +// Changes may cause incorrect behavior and will be lost if the code is +// regenerated. +// + +namespace Microsoft.Azure.Management.ContainerService +{ + using Microsoft.Rest; + using Microsoft.Rest.Azure; + using Models; + using Newtonsoft.Json; + using System.Collections; + using System.Collections.Generic; + using System.Linq; + using System.Net; + using System.Net.Http; + using System.Threading; + using System.Threading.Tasks; + + /// + /// PrivateLinkResourcesOperations operations. + /// + internal partial class PrivateLinkResourcesOperations : IServiceOperations, IPrivateLinkResourcesOperations + { + /// + /// Initializes a new instance of the PrivateLinkResourcesOperations class. + /// + /// + /// Reference to the service client. + /// + /// + /// Thrown when a required parameter is null + /// + internal PrivateLinkResourcesOperations(ContainerServiceClient client) + { + if (client == null) + { + throw new System.ArgumentNullException("client"); + } + Client = client; + } + + /// + /// Gets a reference to the ContainerServiceClient + /// + public ContainerServiceClient Client { get; private set; } + + /// + /// Gets a list of private link resources in the specified managed cluster. + /// + /// + /// To learn more about private clusters, see: + /// https://docs.microsoft.com/azure/aks/private-clusters + /// + /// + /// The name of the resource group. + /// + /// + /// The name of the managed cluster resource. + /// + /// + /// Headers that will be added to request. + /// + /// + /// The cancellation token. + /// + /// + /// Thrown when the operation returned an invalid status code + /// + /// + /// Thrown when unable to deserialize the response + /// + /// + /// Thrown when a required parameter is null + /// + /// + /// Thrown when a required parameter is null + /// + /// + /// A response object containing the response body and response headers. + /// + public async Task> ListWithHttpMessagesAsync(string resourceGroupName, string resourceName, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + { + if (Client.ApiVersion == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.ApiVersion"); + } + if (Client.SubscriptionId == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId"); + } + if (resourceGroupName == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "resourceGroupName"); + } + if (resourceGroupName != null) + { + if (resourceGroupName.Length < 1) + { + throw new ValidationException(ValidationRules.MinLength, "resourceGroupName", 1); + } + } + if (resourceName == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "resourceName"); + } + if (resourceName != null) + { + if (resourceName.Length > 63) + { + throw new ValidationException(ValidationRules.MaxLength, "resourceName", 63); + } + if (resourceName.Length < 1) + { + throw new ValidationException(ValidationRules.MinLength, "resourceName", 1); + } + if (!System.Text.RegularExpressions.Regex.IsMatch(resourceName, "^[a-zA-Z0-9]$|^[a-zA-Z0-9][-_a-zA-Z0-9]{0,61}[a-zA-Z0-9]$")) + { + throw new ValidationException(ValidationRules.Pattern, "resourceName", "^[a-zA-Z0-9]$|^[a-zA-Z0-9][-_a-zA-Z0-9]{0,61}[a-zA-Z0-9]$"); + } + } + // Tracing + bool _shouldTrace = ServiceClientTracing.IsEnabled; + string _invocationId = null; + if (_shouldTrace) + { + _invocationId = ServiceClientTracing.NextInvocationId.ToString(); + Dictionary tracingParameters = new Dictionary(); + tracingParameters.Add("resourceGroupName", resourceGroupName); + tracingParameters.Add("resourceName", resourceName); + tracingParameters.Add("cancellationToken", cancellationToken); + ServiceClientTracing.Enter(_invocationId, this, "List", tracingParameters); + } + // Construct URL + var _baseUrl = Client.BaseUri.AbsoluteUri; + var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerService/managedClusters/{resourceName}/privateLinkResources").ToString(); + _url = _url.Replace("{subscriptionId}", System.Uri.EscapeDataString(Client.SubscriptionId)); + _url = _url.Replace("{resourceGroupName}", System.Uri.EscapeDataString(resourceGroupName)); + _url = _url.Replace("{resourceName}", System.Uri.EscapeDataString(resourceName)); + List _queryParameters = new List(); + if (Client.ApiVersion != null) + { + _queryParameters.Add(string.Format("api-version={0}", System.Uri.EscapeDataString(Client.ApiVersion))); + } + if (_queryParameters.Count > 0) + { + _url += (_url.Contains("?") ? "&" : "?") + string.Join("&", _queryParameters); + } + // Create HTTP transport objects + var _httpRequest = new HttpRequestMessage(); + HttpResponseMessage _httpResponse = null; + _httpRequest.Method = new HttpMethod("GET"); + _httpRequest.RequestUri = new System.Uri(_url); + // Set Headers + if (Client.GenerateClientRequestId != null && Client.GenerateClientRequestId.Value) + { + _httpRequest.Headers.TryAddWithoutValidation("x-ms-client-request-id", System.Guid.NewGuid().ToString()); + } + if (Client.AcceptLanguage != null) + { + if (_httpRequest.Headers.Contains("accept-language")) + { + _httpRequest.Headers.Remove("accept-language"); + } + _httpRequest.Headers.TryAddWithoutValidation("accept-language", Client.AcceptLanguage); + } + + + if (customHeaders != null) + { + foreach(var _header in customHeaders) + { + if (_httpRequest.Headers.Contains(_header.Key)) + { + _httpRequest.Headers.Remove(_header.Key); + } + _httpRequest.Headers.TryAddWithoutValidation(_header.Key, _header.Value); + } + } + + // Serialize Request + string _requestContent = null; + // Set Credentials + if (Client.Credentials != null) + { + cancellationToken.ThrowIfCancellationRequested(); + await Client.Credentials.ProcessHttpRequestAsync(_httpRequest, cancellationToken).ConfigureAwait(false); + } + // Send Request + if (_shouldTrace) + { + ServiceClientTracing.SendRequest(_invocationId, _httpRequest); + } + cancellationToken.ThrowIfCancellationRequested(); + _httpResponse = await Client.HttpClient.SendAsync(_httpRequest, cancellationToken).ConfigureAwait(false); + if (_shouldTrace) + { + ServiceClientTracing.ReceiveResponse(_invocationId, _httpResponse); + } + HttpStatusCode _statusCode = _httpResponse.StatusCode; + cancellationToken.ThrowIfCancellationRequested(); + string _responseContent = null; + if ((int)_statusCode != 200) + { + var ex = new CloudException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); + try + { + _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); + CloudError _errorBody = Rest.Serialization.SafeJsonConvert.DeserializeObject(_responseContent, Client.DeserializationSettings); + if (_errorBody != null) + { + ex = new CloudException(_errorBody.Message); + ex.Body = _errorBody; + } + } + catch (JsonException) + { + // Ignore the exception + } + ex.Request = new HttpRequestMessageWrapper(_httpRequest, _requestContent); + ex.Response = new HttpResponseMessageWrapper(_httpResponse, _responseContent); + if (_httpResponse.Headers.Contains("x-ms-request-id")) + { + ex.RequestId = _httpResponse.Headers.GetValues("x-ms-request-id").FirstOrDefault(); + } + if (_shouldTrace) + { + ServiceClientTracing.Error(_invocationId, ex); + } + _httpRequest.Dispose(); + if (_httpResponse != null) + { + _httpResponse.Dispose(); + } + throw ex; + } + // Create Result + var _result = new AzureOperationResponse(); + _result.Request = _httpRequest; + _result.Response = _httpResponse; + if (_httpResponse.Headers.Contains("x-ms-request-id")) + { + _result.RequestId = _httpResponse.Headers.GetValues("x-ms-request-id").FirstOrDefault(); + } + // Deserialize Response + if ((int)_statusCode == 200) + { + _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); + try + { + _result.Body = Rest.Serialization.SafeJsonConvert.DeserializeObject(_responseContent, Client.DeserializationSettings); + } + catch (JsonException ex) + { + _httpRequest.Dispose(); + if (_httpResponse != null) + { + _httpResponse.Dispose(); + } + throw new SerializationException("Unable to deserialize the response.", _responseContent, ex); + } + } + if (_shouldTrace) + { + ServiceClientTracing.Exit(_invocationId, _result); + } + return _result; + } + + } +} diff --git a/sdk/containerservice/Microsoft.Azure.Management.ContainerService/src/Generated/PrivateLinkResourcesOperationsExtensions.cs b/sdk/containerservice/Microsoft.Azure.Management.ContainerService/src/Generated/PrivateLinkResourcesOperationsExtensions.cs new file mode 100644 index 000000000000..9d7637a8115a --- /dev/null +++ b/sdk/containerservice/Microsoft.Azure.Management.ContainerService/src/Generated/PrivateLinkResourcesOperationsExtensions.cs @@ -0,0 +1,73 @@ +// +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See License.txt in the project root for +// license information. +// +// Code generated by Microsoft (R) AutoRest Code Generator. +// Changes may cause incorrect behavior and will be lost if the code is +// regenerated. +// + +namespace Microsoft.Azure.Management.ContainerService +{ + using Microsoft.Rest; + using Microsoft.Rest.Azure; + using Models; + using System.Threading; + using System.Threading.Tasks; + + /// + /// Extension methods for PrivateLinkResourcesOperations. + /// + public static partial class PrivateLinkResourcesOperationsExtensions + { + /// + /// Gets a list of private link resources in the specified managed cluster. + /// + /// + /// To learn more about private clusters, see: + /// https://docs.microsoft.com/azure/aks/private-clusters + /// + /// + /// The operations group for this extension method. + /// + /// + /// The name of the resource group. + /// + /// + /// The name of the managed cluster resource. + /// + public static PrivateLinkResourcesListResult List(this IPrivateLinkResourcesOperations operations, string resourceGroupName, string resourceName) + { + return operations.ListAsync(resourceGroupName, resourceName).GetAwaiter().GetResult(); + } + + /// + /// Gets a list of private link resources in the specified managed cluster. + /// + /// + /// To learn more about private clusters, see: + /// https://docs.microsoft.com/azure/aks/private-clusters + /// + /// + /// The operations group for this extension method. + /// + /// + /// The name of the resource group. + /// + /// + /// The name of the managed cluster resource. + /// + /// + /// The cancellation token. + /// + public static async Task ListAsync(this IPrivateLinkResourcesOperations operations, string resourceGroupName, string resourceName, CancellationToken cancellationToken = default(CancellationToken)) + { + using (var _result = await operations.ListWithHttpMessagesAsync(resourceGroupName, resourceName, null, cancellationToken).ConfigureAwait(false)) + { + return _result.Body; + } + } + + } +} diff --git a/sdk/containerservice/Microsoft.Azure.Management.ContainerService/src/Generated/ResolvePrivateLinkServiceIdOperations.cs b/sdk/containerservice/Microsoft.Azure.Management.ContainerService/src/Generated/ResolvePrivateLinkServiceIdOperations.cs new file mode 100644 index 000000000000..0578d8853c68 --- /dev/null +++ b/sdk/containerservice/Microsoft.Azure.Management.ContainerService/src/Generated/ResolvePrivateLinkServiceIdOperations.cs @@ -0,0 +1,286 @@ +// +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See License.txt in the project root for +// license information. +// +// Code generated by Microsoft (R) AutoRest Code Generator. +// Changes may cause incorrect behavior and will be lost if the code is +// regenerated. +// + +namespace Microsoft.Azure.Management.ContainerService +{ + using Microsoft.Rest; + using Microsoft.Rest.Azure; + using Models; + using Newtonsoft.Json; + using System.Collections; + using System.Collections.Generic; + using System.Linq; + using System.Net; + using System.Net.Http; + using System.Threading; + using System.Threading.Tasks; + + /// + /// ResolvePrivateLinkServiceIdOperations operations. + /// + internal partial class ResolvePrivateLinkServiceIdOperations : IServiceOperations, IResolvePrivateLinkServiceIdOperations + { + /// + /// Initializes a new instance of the ResolvePrivateLinkServiceIdOperations class. + /// + /// + /// Reference to the service client. + /// + /// + /// Thrown when a required parameter is null + /// + internal ResolvePrivateLinkServiceIdOperations(ContainerServiceClient client) + { + if (client == null) + { + throw new System.ArgumentNullException("client"); + } + Client = client; + } + + /// + /// Gets a reference to the ContainerServiceClient + /// + public ContainerServiceClient Client { get; private set; } + + /// + /// Gets the private link service ID for the specified managed cluster. + /// + /// + /// The name of the resource group. + /// + /// + /// The name of the managed cluster resource. + /// + /// + /// Parameters required in order to resolve a private link service ID. + /// + /// + /// Headers that will be added to request. + /// + /// + /// The cancellation token. + /// + /// + /// Thrown when the operation returned an invalid status code + /// + /// + /// Thrown when unable to deserialize the response + /// + /// + /// Thrown when a required parameter is null + /// + /// + /// Thrown when a required parameter is null + /// + /// + /// A response object containing the response body and response headers. + /// + public async Task> POSTWithHttpMessagesAsync(string resourceGroupName, string resourceName, PrivateLinkResource parameters, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + { + if (Client.ApiVersion == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.ApiVersion"); + } + if (Client.SubscriptionId == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId"); + } + if (resourceGroupName == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "resourceGroupName"); + } + if (resourceGroupName != null) + { + if (resourceGroupName.Length < 1) + { + throw new ValidationException(ValidationRules.MinLength, "resourceGroupName", 1); + } + } + if (resourceName == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "resourceName"); + } + if (resourceName != null) + { + if (resourceName.Length > 63) + { + throw new ValidationException(ValidationRules.MaxLength, "resourceName", 63); + } + if (resourceName.Length < 1) + { + throw new ValidationException(ValidationRules.MinLength, "resourceName", 1); + } + if (!System.Text.RegularExpressions.Regex.IsMatch(resourceName, "^[a-zA-Z0-9]$|^[a-zA-Z0-9][-_a-zA-Z0-9]{0,61}[a-zA-Z0-9]$")) + { + throw new ValidationException(ValidationRules.Pattern, "resourceName", "^[a-zA-Z0-9]$|^[a-zA-Z0-9][-_a-zA-Z0-9]{0,61}[a-zA-Z0-9]$"); + } + } + if (parameters == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "parameters"); + } + // Tracing + bool _shouldTrace = ServiceClientTracing.IsEnabled; + string _invocationId = null; + if (_shouldTrace) + { + _invocationId = ServiceClientTracing.NextInvocationId.ToString(); + Dictionary tracingParameters = new Dictionary(); + tracingParameters.Add("resourceGroupName", resourceGroupName); + tracingParameters.Add("resourceName", resourceName); + tracingParameters.Add("parameters", parameters); + tracingParameters.Add("cancellationToken", cancellationToken); + ServiceClientTracing.Enter(_invocationId, this, "POST", tracingParameters); + } + // Construct URL + var _baseUrl = Client.BaseUri.AbsoluteUri; + var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerService/managedClusters/{resourceName}/resolvePrivateLinkServiceId").ToString(); + _url = _url.Replace("{subscriptionId}", System.Uri.EscapeDataString(Client.SubscriptionId)); + _url = _url.Replace("{resourceGroupName}", System.Uri.EscapeDataString(resourceGroupName)); + _url = _url.Replace("{resourceName}", System.Uri.EscapeDataString(resourceName)); + List _queryParameters = new List(); + if (Client.ApiVersion != null) + { + _queryParameters.Add(string.Format("api-version={0}", System.Uri.EscapeDataString(Client.ApiVersion))); + } + if (_queryParameters.Count > 0) + { + _url += (_url.Contains("?") ? "&" : "?") + string.Join("&", _queryParameters); + } + // Create HTTP transport objects + var _httpRequest = new HttpRequestMessage(); + HttpResponseMessage _httpResponse = null; + _httpRequest.Method = new HttpMethod("POST"); + _httpRequest.RequestUri = new System.Uri(_url); + // Set Headers + if (Client.GenerateClientRequestId != null && Client.GenerateClientRequestId.Value) + { + _httpRequest.Headers.TryAddWithoutValidation("x-ms-client-request-id", System.Guid.NewGuid().ToString()); + } + if (Client.AcceptLanguage != null) + { + if (_httpRequest.Headers.Contains("accept-language")) + { + _httpRequest.Headers.Remove("accept-language"); + } + _httpRequest.Headers.TryAddWithoutValidation("accept-language", Client.AcceptLanguage); + } + + + if (customHeaders != null) + { + foreach(var _header in customHeaders) + { + if (_httpRequest.Headers.Contains(_header.Key)) + { + _httpRequest.Headers.Remove(_header.Key); + } + _httpRequest.Headers.TryAddWithoutValidation(_header.Key, _header.Value); + } + } + + // Serialize Request + string _requestContent = null; + if(parameters != null) + { + _requestContent = Rest.Serialization.SafeJsonConvert.SerializeObject(parameters, Client.SerializationSettings); + _httpRequest.Content = new StringContent(_requestContent, System.Text.Encoding.UTF8); + _httpRequest.Content.Headers.ContentType =System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json; charset=utf-8"); + } + // Set Credentials + if (Client.Credentials != null) + { + cancellationToken.ThrowIfCancellationRequested(); + await Client.Credentials.ProcessHttpRequestAsync(_httpRequest, cancellationToken).ConfigureAwait(false); + } + // Send Request + if (_shouldTrace) + { + ServiceClientTracing.SendRequest(_invocationId, _httpRequest); + } + cancellationToken.ThrowIfCancellationRequested(); + _httpResponse = await Client.HttpClient.SendAsync(_httpRequest, cancellationToken).ConfigureAwait(false); + if (_shouldTrace) + { + ServiceClientTracing.ReceiveResponse(_invocationId, _httpResponse); + } + HttpStatusCode _statusCode = _httpResponse.StatusCode; + cancellationToken.ThrowIfCancellationRequested(); + string _responseContent = null; + if ((int)_statusCode != 200) + { + var ex = new CloudException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); + try + { + _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); + CloudError _errorBody = Rest.Serialization.SafeJsonConvert.DeserializeObject(_responseContent, Client.DeserializationSettings); + if (_errorBody != null) + { + ex = new CloudException(_errorBody.Message); + ex.Body = _errorBody; + } + } + catch (JsonException) + { + // Ignore the exception + } + ex.Request = new HttpRequestMessageWrapper(_httpRequest, _requestContent); + ex.Response = new HttpResponseMessageWrapper(_httpResponse, _responseContent); + if (_httpResponse.Headers.Contains("x-ms-request-id")) + { + ex.RequestId = _httpResponse.Headers.GetValues("x-ms-request-id").FirstOrDefault(); + } + if (_shouldTrace) + { + ServiceClientTracing.Error(_invocationId, ex); + } + _httpRequest.Dispose(); + if (_httpResponse != null) + { + _httpResponse.Dispose(); + } + throw ex; + } + // Create Result + var _result = new AzureOperationResponse(); + _result.Request = _httpRequest; + _result.Response = _httpResponse; + if (_httpResponse.Headers.Contains("x-ms-request-id")) + { + _result.RequestId = _httpResponse.Headers.GetValues("x-ms-request-id").FirstOrDefault(); + } + // Deserialize Response + if ((int)_statusCode == 200) + { + _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); + try + { + _result.Body = Rest.Serialization.SafeJsonConvert.DeserializeObject(_responseContent, Client.DeserializationSettings); + } + catch (JsonException ex) + { + _httpRequest.Dispose(); + if (_httpResponse != null) + { + _httpResponse.Dispose(); + } + throw new SerializationException("Unable to deserialize the response.", _responseContent, ex); + } + } + if (_shouldTrace) + { + ServiceClientTracing.Exit(_invocationId, _result); + } + return _result; + } + + } +} diff --git a/sdk/containerservice/Microsoft.Azure.Management.ContainerService/src/Generated/ResolvePrivateLinkServiceIdOperationsExtensions.cs b/sdk/containerservice/Microsoft.Azure.Management.ContainerService/src/Generated/ResolvePrivateLinkServiceIdOperationsExtensions.cs new file mode 100644 index 000000000000..f3a7c7e12c96 --- /dev/null +++ b/sdk/containerservice/Microsoft.Azure.Management.ContainerService/src/Generated/ResolvePrivateLinkServiceIdOperationsExtensions.cs @@ -0,0 +1,71 @@ +// +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See License.txt in the project root for +// license information. +// +// Code generated by Microsoft (R) AutoRest Code Generator. +// Changes may cause incorrect behavior and will be lost if the code is +// regenerated. +// + +namespace Microsoft.Azure.Management.ContainerService +{ + using Microsoft.Rest; + using Microsoft.Rest.Azure; + using Models; + using System.Threading; + using System.Threading.Tasks; + + /// + /// Extension methods for ResolvePrivateLinkServiceIdOperations. + /// + public static partial class ResolvePrivateLinkServiceIdOperationsExtensions + { + /// + /// Gets the private link service ID for the specified managed cluster. + /// + /// + /// The operations group for this extension method. + /// + /// + /// The name of the resource group. + /// + /// + /// The name of the managed cluster resource. + /// + /// + /// Parameters required in order to resolve a private link service ID. + /// + public static PrivateLinkResource POST(this IResolvePrivateLinkServiceIdOperations operations, string resourceGroupName, string resourceName, PrivateLinkResource parameters) + { + return operations.POSTAsync(resourceGroupName, resourceName, parameters).GetAwaiter().GetResult(); + } + + /// + /// Gets the private link service ID for the specified managed cluster. + /// + /// + /// The operations group for this extension method. + /// + /// + /// The name of the resource group. + /// + /// + /// The name of the managed cluster resource. + /// + /// + /// Parameters required in order to resolve a private link service ID. + /// + /// + /// The cancellation token. + /// + public static async Task POSTAsync(this IResolvePrivateLinkServiceIdOperations operations, string resourceGroupName, string resourceName, PrivateLinkResource parameters, CancellationToken cancellationToken = default(CancellationToken)) + { + using (var _result = await operations.POSTWithHttpMessagesAsync(resourceGroupName, resourceName, parameters, null, cancellationToken).ConfigureAwait(false)) + { + return _result.Body; + } + } + + } +} diff --git a/sdk/containerservice/Microsoft.Azure.Management.ContainerService/src/Generated/SdkInfo_ContainerServiceClient.cs b/sdk/containerservice/Microsoft.Azure.Management.ContainerService/src/Generated/SdkInfo_ContainerServiceClient.cs index bb2cb6f0ea60..4fb03c776b6e 100644 --- a/sdk/containerservice/Microsoft.Azure.Management.ContainerService/src/Generated/SdkInfo_ContainerServiceClient.cs +++ b/sdk/containerservice/Microsoft.Azure.Management.ContainerService/src/Generated/SdkInfo_ContainerServiceClient.cs @@ -19,26 +19,15 @@ public static IEnumerable> ApiInfo_ContainerServic { return new Tuple[] { - new Tuple("ContainerService", "AgentPools", "2020-07-01"), - new Tuple("ContainerService", "ContainerServices", "2017-07-01"), - new Tuple("ContainerService", "ContainerServices", "2019-08-01"), - new Tuple("ContainerService", "ManagedClusters", "2020-07-01"), - new Tuple("ContainerService", "OpenShiftManagedClusters", "2019-04-30"), - new Tuple("ContainerService", "Operations", "2020-07-01"), - new Tuple("ContainerService", "PrivateEndpointConnections", "2020-07-01"), + new Tuple("ContainerService", "AgentPools", "2021-05-01"), + new Tuple("ContainerService", "MaintenanceConfigurations", "2021-05-01"), + new Tuple("ContainerService", "ManagedClusters", "2021-05-01"), + new Tuple("ContainerService", "Operations", "2021-05-01"), + new Tuple("ContainerService", "PrivateEndpointConnections", "2021-05-01"), + new Tuple("ContainerService", "PrivateLinkResources", "2021-05-01"), + new Tuple("ContainerService", "ResolvePrivateLinkServiceId", "2021-05-01"), }.AsEnumerable(); } } - // BEGIN: Code Generation Metadata Section - public static readonly String AutoRestVersion = "v2"; - public static readonly String AutoRestBootStrapperVersion = "autorest@2.0.4413"; - public static readonly String AutoRestCmdExecuted = "cmd.exe /c autorest.cmd https://github.com/Azure/azure-rest-api-specs/blob/master/specification/containerservice/resource-manager/readme.md --csharp --version=v2 --reflect-api-versions --csharp-sdks-folder=C:\\Users\\abelch\\src\\azure-sdk-for-net\\sdk"; - public static readonly String GithubForkName = "Azure"; - public static readonly String GithubBranchName = "master"; - public static readonly String GithubCommidId = "122829cebe6e4177e9eb6ff349071d3e2034b0e7"; - public static readonly String CodeGenerationErrors = ""; - public static readonly String GithubRepoName = "azure-rest-api-specs"; - // END: Code Generation Metadata Section } } -