From 83cb508f76ec9358710f861709bacc7d1307a38c Mon Sep 17 00:00:00 2001 From: Zeshi Luo Date: Tue, 1 Dec 2020 12:20:34 +0800 Subject: [PATCH 01/19] GetAzureSynapseSqlPoolGeoBackup --- src/Synapse/Synapse/Az.Synapse.psd1 | 1 + .../GetAzureSynapseSqlPoolGeoBackup.cs | 90 +++++++++++++++++++ src/Synapse/Synapse/Common/ResourceTypes.cs | 1 + src/Synapse/Synapse/Models/PSBackupModel.cs | 34 +++++++ .../SynapseAnalyticsManagementClient.cs | 39 ++++++++ .../Synapse/Models/SynapseConstants.cs | 2 + 6 files changed, 167 insertions(+) create mode 100644 src/Synapse/Synapse/Commands/ManagementCommands/SqlDatabase/GetAzureSynapseSqlPoolGeoBackup.cs create mode 100644 src/Synapse/Synapse/Models/PSBackupModel.cs diff --git a/src/Synapse/Synapse/Az.Synapse.psd1 b/src/Synapse/Synapse/Az.Synapse.psd1 index 022f66033e10..8c71d6414d3f 100644 --- a/src/Synapse/Synapse/Az.Synapse.psd1 +++ b/src/Synapse/Synapse/Az.Synapse.psd1 @@ -97,6 +97,7 @@ CmdletsToExport = 'Get-AzSynapseSparkJob', 'Stop-AzSynapseSparkJob', 'Get-AzSynapseSqlDatabase', 'New-AzSynapseSqlDatabase', 'Remove-AzSynapseSqlDatabase', 'Update-AzSynapseSqlDatabase', 'Test-AzSynapseSqlDatabase', 'Get-AzSynapseIntegrationRuntime', + 'Get-AzSynapseSqlPoolGeoBackup', 'Get-AzSynapseIntegrationRuntimeKey', 'Get-AzSynapseIntegrationRuntimeMetric', 'Get-AzSynapseIntegrationRuntimeNode', diff --git a/src/Synapse/Synapse/Commands/ManagementCommands/SqlDatabase/GetAzureSynapseSqlPoolGeoBackup.cs b/src/Synapse/Synapse/Commands/ManagementCommands/SqlDatabase/GetAzureSynapseSqlPoolGeoBackup.cs new file mode 100644 index 000000000000..8493ef63264e --- /dev/null +++ b/src/Synapse/Synapse/Commands/ManagementCommands/SqlDatabase/GetAzureSynapseSqlPoolGeoBackup.cs @@ -0,0 +1,90 @@ +using Microsoft.Azure.Commands.ResourceManager.Common.ArgumentCompleters; +using Microsoft.Azure.Commands.Synapse.Common; +using Microsoft.Azure.Commands.Synapse.Models; +using Microsoft.Azure.Management.Internal.Resources.Utilities.Models; +using Microsoft.WindowsAzure.Commands.Utilities.Common; +using System.Collections.Generic; +using System.Linq; +using System.Management.Automation; + +namespace Microsoft.Azure.Commands.Synapse +{ + [Cmdlet(VerbsCommon.Get, ResourceManager.Common.AzureRMConstants.AzureRMPrefix + SynapseConstants.SynapsePrefix + SynapseConstants.SqlDataBaseGeoBackup, + DefaultParameterSetName = GetByNameParameterSet)] + [OutputType(typeof(PSBackupModel))] + public class GetAzureSynapseSqlPoolGeoBackup : SynapseManagementCmdletBase + { + private const string GetByNameParameterSet = "GetByNameParameterSet"; + private const string GetByParentObjectParameterSet = "GetByParentObjectParameterSet"; + private const string GetByInputObjectParameterSet = "GetByInputObjectParameterSet"; + private const string GetByResourceIdParameterSet = "GetByResourceIdParameterSet"; + + [Parameter(Mandatory = false, ParameterSetName = GetByNameParameterSet, HelpMessage = HelpMessages.ResourceGroupName)] + [ResourceGroupCompleter] + [ValidateNotNullOrEmpty] + public string ResourceGroupName { get; set; } + + [Parameter(Mandatory = true, ParameterSetName = GetByNameParameterSet, HelpMessage = HelpMessages.WorkspaceName)] + [ResourceNameCompleter(ResourceTypes.Workspace, nameof(ResourceGroupName))] + [ValidateNotNullOrEmpty] + public string WorkspaceName { get; set; } + + [Parameter(Mandatory = true, ParameterSetName = GetByNameParameterSet, HelpMessage = HelpMessages.SqlPoolName)] + [Parameter(Mandatory = true, ParameterSetName = GetByParentObjectParameterSet, HelpMessage = HelpMessages.SqlPoolName)] + [ResourceNameCompleter( + ResourceTypes.SqlDataBaseGeoBackup, + nameof(ResourceGroupName), + nameof(WorkspaceName))] + [ValidateNotNullOrEmpty] + public string Name { get; set; } + + [Parameter(ValueFromPipeline = true, ParameterSetName = GetByParentObjectParameterSet, + Mandatory = true, HelpMessage = HelpMessages.WorkspaceObject)] + [ValidateNotNull] + public PSSynapseWorkspace WorkspaceObject { get; set; } + + [Parameter(ValueFromPipeline = true, ParameterSetName = GetByInputObjectParameterSet, Mandatory = true, + HelpMessage = HelpMessages.SqlPoolObject)] + [ValidateNotNull] + public PSSynapseSqlPool InputObject { get; set; } + + [Parameter(ValueFromPipelineByPropertyName = false, ParameterSetName = GetByResourceIdParameterSet, + Mandatory = true, HelpMessage = HelpMessages.SqlPoolResourceId)] + [ValidateNotNullOrEmpty] + public string ResourceId { get; set; } + + public override void ExecuteCmdlet() + { + if (this.IsParameterBound(c => c.WorkspaceObject)) + { + this.ResourceGroupName = new ResourceIdentifier(this.WorkspaceObject.Id).ResourceGroupName; + this.WorkspaceName = this.WorkspaceObject.Name; + } + + if (this.IsParameterBound(c => c.InputObject)) + { + var resourceIdentifier = new ResourceIdentifier(this.InputObject.Id); + this.ResourceGroupName = resourceIdentifier.ResourceGroupName; + this.WorkspaceName = resourceIdentifier.ParentResource; + this.WorkspaceName = this.WorkspaceName.Substring(this.WorkspaceName.LastIndexOf('/') + 1); + this.Name = resourceIdentifier.ResourceName; + } + + if (string.IsNullOrEmpty(this.ResourceGroupName)) + { + this.ResourceGroupName = this.SynapseAnalyticsClient.GetResourceGroupByWorkspaceName(this.WorkspaceName); + } + + if (MyInvocation.BoundParameters.ContainsKey("Name") && !WildcardPattern.ContainsWildcardCharacters(Name)) + { + var results = this.SynapseAnalyticsClient.GetRecoverableManagedDatabase(ResourceGroupName, WorkspaceName, Name).ConfigureAwait(true).GetAwaiter().GetResult(); + WriteObject(results, true); + } + else + { + var results = this.SynapseAnalyticsClient.ListRecoverableManagedDatabases(this.ResourceGroupName, this.WorkspaceName); + WriteObject(results, true); + } + } + } +} \ No newline at end of file diff --git a/src/Synapse/Synapse/Common/ResourceTypes.cs b/src/Synapse/Synapse/Common/ResourceTypes.cs index 237e1c601f94..1ef2aeb3761b 100644 --- a/src/Synapse/Synapse/Common/ResourceTypes.cs +++ b/src/Synapse/Synapse/Common/ResourceTypes.cs @@ -5,6 +5,7 @@ public static class ResourceTypes public const string Workspace = "Microsoft.Synapse/workspaces"; public const string SparkPool = "Microsoft.Synapse/workspaces/bigDataPools"; public const string SqlPool = "Microsoft.Synapse/workspaces/sqlPools"; + public const string SqlDataBaseGeoBackup = "Microsoft.Synapse/workspaces/SqlDataBaseGeoBackup"; public const string RecoverableSqlPool = "Microsoft.Synapse/workspaces/recoverableSqlPools"; public const string StorageAccount = "Microsoft.Storage/storageAccounts"; public const string SqlDatabase = "Microsoft.Sql/servers/databases"; diff --git a/src/Synapse/Synapse/Models/PSBackupModel.cs b/src/Synapse/Synapse/Models/PSBackupModel.cs new file mode 100644 index 000000000000..9149638d48e6 --- /dev/null +++ b/src/Synapse/Synapse/Models/PSBackupModel.cs @@ -0,0 +1,34 @@ +using System; +using System.Collections.Generic; +using System.Text; +using Microsoft.Azure.Management.Synapse.Models; + +namespace Microsoft.Azure.Commands.Synapse.Models +{ + public class PSBackupModel : ProxyResource + { + public PSBackupModel(RecoverableSqlPool recoverableSqlPool) + { + this.Edition = recoverableSqlPool.Edition; + this.ServiceLevelObjective = recoverableSqlPool.ServiceLevelObjective; + this.ElasticPoolName = recoverableSqlPool.ElasticPoolName; + this.LastAvailableBackupDate = recoverableSqlPool.LastAvailableBackupDate; + } + + public string Edition { get; set; } + // + // Summary: + // Gets the service level objective name of the database + + public string ServiceLevelObjective { get; set; } + // + // Summary: + // Gets the elastic pool name of the database + public string ElasticPoolName { get; set; } + // + // Summary: + // Gets the last available backup date of the database (ISO8601 format) + public DateTime? LastAvailableBackupDate { get; set; } + } +} + diff --git a/src/Synapse/Synapse/Models/SynapseAnalyticsManagementClient.cs b/src/Synapse/Synapse/Models/SynapseAnalyticsManagementClient.cs index 2b388ea0125c..98504fdf0368 100644 --- a/src/Synapse/Synapse/Models/SynapseAnalyticsManagementClient.cs +++ b/src/Synapse/Synapse/Models/SynapseAnalyticsManagementClient.cs @@ -593,6 +593,45 @@ public SqlDatabase CreateSqlDatabase(string resourceGroupName, string workspaceN } } + public virtual async Task GetRecoverableManagedDatabase(string resourceGroupName, string workspaceName, string sqlPoolName) + { + try + { + var taskGetResults = Task.Run( + async () => await _synapseManagementClient.WorkspaceManagedSqlServerRecoverableSqlpools.GetWithHttpMessagesAsync(resourceGroupName, workspaceName, sqlPoolName)); + await Task.WhenAll(taskGetResults); + + return new PSBackupModel(taskGetResults.Result.Body); + } + catch (ErrorContractException ex) + { + throw GetSynapseException(ex); + } + } + + public virtual async Task> ListRecoverableManagedDatabases(string resourceGroupName, string workspaceName) + { + try + { + var taskGetResults = (IPage)Task.Run( + async () => await _synapseManagementClient.WorkspaceManagedSqlServerRecoverableSqlpools.ListWithHttpMessagesAsync(resourceGroupName, workspaceName)); + await Task.WhenAll((IEnumerable)taskGetResults); + + var results = new List(); + + foreach (var res in taskGetResults.ToList()) + { + results.Add(res); + } + + return results; + } + catch (ErrorContractException ex) + { + throw GetSynapseException(ex); + } + } + internal SqlDatabase GetSqlDatabase(string resourceGroupName, string workspaceName, string sqlDatabaseName) { try diff --git a/src/Synapse/Synapse/Models/SynapseConstants.cs b/src/Synapse/Synapse/Models/SynapseConstants.cs index 27cf705e803a..aac413f42b26 100644 --- a/src/Synapse/Synapse/Models/SynapseConstants.cs +++ b/src/Synapse/Synapse/Models/SynapseConstants.cs @@ -32,6 +32,8 @@ public static class SynapseConstants public const string SqlPool = nameof(SqlPool); + public const string SqlDataBaseGeoBackup = nameof(SqlDataBaseGeoBackup); + public const string SqlDatabase = nameof(SqlDatabase); public const string SparkPoolName = nameof(SparkPoolName); From 62fd66339621300a42b32960bfd1db222261240b Mon Sep 17 00:00:00 2001 From: Zeshi Luo Date: Tue, 1 Dec 2020 19:36:14 +0800 Subject: [PATCH 02/19] refine function and constant --- .../GetAzureSynapseSqlPoolGeoBackup.cs | 51 ++----------------- .../SynapseAnalyticsManagementClient.cs | 16 +++--- .../Synapse/Models/SynapseConstants.cs | 2 +- 3 files changed, 14 insertions(+), 55 deletions(-) diff --git a/src/Synapse/Synapse/Commands/ManagementCommands/SqlDatabase/GetAzureSynapseSqlPoolGeoBackup.cs b/src/Synapse/Synapse/Commands/ManagementCommands/SqlDatabase/GetAzureSynapseSqlPoolGeoBackup.cs index 8493ef63264e..9fadee4c3de6 100644 --- a/src/Synapse/Synapse/Commands/ManagementCommands/SqlDatabase/GetAzureSynapseSqlPoolGeoBackup.cs +++ b/src/Synapse/Synapse/Commands/ManagementCommands/SqlDatabase/GetAzureSynapseSqlPoolGeoBackup.cs @@ -1,25 +1,18 @@ using Microsoft.Azure.Commands.ResourceManager.Common.ArgumentCompleters; using Microsoft.Azure.Commands.Synapse.Common; using Microsoft.Azure.Commands.Synapse.Models; -using Microsoft.Azure.Management.Internal.Resources.Utilities.Models; -using Microsoft.WindowsAzure.Commands.Utilities.Common; -using System.Collections.Generic; -using System.Linq; using System.Management.Automation; namespace Microsoft.Azure.Commands.Synapse { - [Cmdlet(VerbsCommon.Get, ResourceManager.Common.AzureRMConstants.AzureRMPrefix + SynapseConstants.SynapsePrefix + SynapseConstants.SqlDataBaseGeoBackup, + [Cmdlet(VerbsCommon.Get, ResourceManager.Common.AzureRMConstants.AzureRMPrefix + SynapseConstants.SynapsePrefix + SynapseConstants.SqlPoolGeoBackup, DefaultParameterSetName = GetByNameParameterSet)] [OutputType(typeof(PSBackupModel))] public class GetAzureSynapseSqlPoolGeoBackup : SynapseManagementCmdletBase { private const string GetByNameParameterSet = "GetByNameParameterSet"; - private const string GetByParentObjectParameterSet = "GetByParentObjectParameterSet"; - private const string GetByInputObjectParameterSet = "GetByInputObjectParameterSet"; - private const string GetByResourceIdParameterSet = "GetByResourceIdParameterSet"; - [Parameter(Mandatory = false, ParameterSetName = GetByNameParameterSet, HelpMessage = HelpMessages.ResourceGroupName)] + [Parameter(Mandatory = true, ParameterSetName = GetByNameParameterSet, HelpMessage = HelpMessages.ResourceGroupName)] [ResourceGroupCompleter] [ValidateNotNullOrEmpty] public string ResourceGroupName { get; set; } @@ -29,8 +22,7 @@ public class GetAzureSynapseSqlPoolGeoBackup : SynapseManagementCmdletBase [ValidateNotNullOrEmpty] public string WorkspaceName { get; set; } - [Parameter(Mandatory = true, ParameterSetName = GetByNameParameterSet, HelpMessage = HelpMessages.SqlPoolName)] - [Parameter(Mandatory = true, ParameterSetName = GetByParentObjectParameterSet, HelpMessage = HelpMessages.SqlPoolName)] + [Parameter(Mandatory = false, ParameterSetName = GetByNameParameterSet, HelpMessage = HelpMessages.SqlPoolName)] [ResourceNameCompleter( ResourceTypes.SqlDataBaseGeoBackup, nameof(ResourceGroupName), @@ -38,43 +30,8 @@ public class GetAzureSynapseSqlPoolGeoBackup : SynapseManagementCmdletBase [ValidateNotNullOrEmpty] public string Name { get; set; } - [Parameter(ValueFromPipeline = true, ParameterSetName = GetByParentObjectParameterSet, - Mandatory = true, HelpMessage = HelpMessages.WorkspaceObject)] - [ValidateNotNull] - public PSSynapseWorkspace WorkspaceObject { get; set; } - - [Parameter(ValueFromPipeline = true, ParameterSetName = GetByInputObjectParameterSet, Mandatory = true, - HelpMessage = HelpMessages.SqlPoolObject)] - [ValidateNotNull] - public PSSynapseSqlPool InputObject { get; set; } - - [Parameter(ValueFromPipelineByPropertyName = false, ParameterSetName = GetByResourceIdParameterSet, - Mandatory = true, HelpMessage = HelpMessages.SqlPoolResourceId)] - [ValidateNotNullOrEmpty] - public string ResourceId { get; set; } - public override void ExecuteCmdlet() { - if (this.IsParameterBound(c => c.WorkspaceObject)) - { - this.ResourceGroupName = new ResourceIdentifier(this.WorkspaceObject.Id).ResourceGroupName; - this.WorkspaceName = this.WorkspaceObject.Name; - } - - if (this.IsParameterBound(c => c.InputObject)) - { - var resourceIdentifier = new ResourceIdentifier(this.InputObject.Id); - this.ResourceGroupName = resourceIdentifier.ResourceGroupName; - this.WorkspaceName = resourceIdentifier.ParentResource; - this.WorkspaceName = this.WorkspaceName.Substring(this.WorkspaceName.LastIndexOf('/') + 1); - this.Name = resourceIdentifier.ResourceName; - } - - if (string.IsNullOrEmpty(this.ResourceGroupName)) - { - this.ResourceGroupName = this.SynapseAnalyticsClient.GetResourceGroupByWorkspaceName(this.WorkspaceName); - } - if (MyInvocation.BoundParameters.ContainsKey("Name") && !WildcardPattern.ContainsWildcardCharacters(Name)) { var results = this.SynapseAnalyticsClient.GetRecoverableManagedDatabase(ResourceGroupName, WorkspaceName, Name).ConfigureAwait(true).GetAwaiter().GetResult(); @@ -82,7 +39,7 @@ public override void ExecuteCmdlet() } else { - var results = this.SynapseAnalyticsClient.ListRecoverableManagedDatabases(this.ResourceGroupName, this.WorkspaceName); + var results = this.SynapseAnalyticsClient.ListRecoverableManagedDatabases(this.ResourceGroupName, this.WorkspaceName).ConfigureAwait(true).GetAwaiter().GetResult(); WriteObject(results, true); } } diff --git a/src/Synapse/Synapse/Models/SynapseAnalyticsManagementClient.cs b/src/Synapse/Synapse/Models/SynapseAnalyticsManagementClient.cs index 98504fdf0368..c20f7e601f26 100644 --- a/src/Synapse/Synapse/Models/SynapseAnalyticsManagementClient.cs +++ b/src/Synapse/Synapse/Models/SynapseAnalyticsManagementClient.cs @@ -597,11 +597,11 @@ public virtual async Task GetRecoverableManagedDatabase(string re { try { - var taskGetResults = Task.Run( + var taskResponse = Task.Run( async () => await _synapseManagementClient.WorkspaceManagedSqlServerRecoverableSqlpools.GetWithHttpMessagesAsync(resourceGroupName, workspaceName, sqlPoolName)); - await Task.WhenAll(taskGetResults); + await Task.WhenAll(taskResponse); - return new PSBackupModel(taskGetResults.Result.Body); + return new PSBackupModel(taskResponse.Result.Body); } catch (ErrorContractException ex) { @@ -613,15 +613,17 @@ public virtual async Task> ListRecoverableManagedDatabases(s { try { - var taskGetResults = (IPage)Task.Run( + var taskResponse = Task.Run( async () => await _synapseManagementClient.WorkspaceManagedSqlServerRecoverableSqlpools.ListWithHttpMessagesAsync(resourceGroupName, workspaceName)); - await Task.WhenAll((IEnumerable)taskGetResults); + await Task.WhenAll(taskResponse); var results = new List(); - foreach (var res in taskGetResults.ToList()) + var response = taskResponse.Result.Body; + + foreach (var res in response.ToList()) { - results.Add(res); + results.Add(new PSBackupModel(res)); } return results; diff --git a/src/Synapse/Synapse/Models/SynapseConstants.cs b/src/Synapse/Synapse/Models/SynapseConstants.cs index aac413f42b26..865afbbecd1c 100644 --- a/src/Synapse/Synapse/Models/SynapseConstants.cs +++ b/src/Synapse/Synapse/Models/SynapseConstants.cs @@ -32,7 +32,7 @@ public static class SynapseConstants public const string SqlPool = nameof(SqlPool); - public const string SqlDataBaseGeoBackup = nameof(SqlDataBaseGeoBackup); + public const string SqlPoolGeoBackup = nameof(SqlPoolGeoBackup); public const string SqlDatabase = nameof(SqlDatabase); From 532a54f9927a89bf166050a5825272cc40fdfee6 Mon Sep 17 00:00:00 2001 From: Zeshi Luo Date: Tue, 1 Dec 2020 22:04:00 +0800 Subject: [PATCH 03/19] add help --- .../help/Get-AzSynapseSqlPoolGeoBackup.md | 122 ++++++++++++++++++ 1 file changed, 122 insertions(+) create mode 100644 src/Synapse/Synapse/help/Get-AzSynapseSqlPoolGeoBackup.md diff --git a/src/Synapse/Synapse/help/Get-AzSynapseSqlPoolGeoBackup.md b/src/Synapse/Synapse/help/Get-AzSynapseSqlPoolGeoBackup.md new file mode 100644 index 000000000000..10348db18555 --- /dev/null +++ b/src/Synapse/Synapse/help/Get-AzSynapseSqlPoolGeoBackup.md @@ -0,0 +1,122 @@ +--- +external help file: Microsoft.Azure.PowerShell.Cmdlets.Synapse.dll-Help.xml +Module Name: Az.Synapse +online version: https://docs.microsoft.com/en-us/powershell/module/az.synapse/get-azsynapsesqlpoolgeobackup +schema: 2.0.0 +--- + +# Get-AzSynapseSqlPoolGeoBackup + +## SYNOPSIS +Gets a geo-redundant backup of a Sql Pool. + +## SYNTAX + +### GetByNameParameterSet (Default) +``` +Get-AzSynapseSqlPoolGeoBackup [-ResourceGroupName ] -WorkspaceName -Name + [-DefaultProfile ] [] +``` +## DESCRIPTION +The **Get-AzSynapseSqlPoolGeoBackup** cmdlet gets a specified geo-redundant backup of a SQL Pool or all available geo-redundant backups on a specified workspace. +A geo-redundant backup is a restorable resource using data files from a separate geographic location. +You can use Geo-Restore to restore a geo-redundant backup in the event of a regional outage to recover your Sql Pool to a new region. + +## EXAMPLES + +### Example 1: Get a specified geo-redundant backup +```powershell +PS C:\> Get-AzSynapseSqlPoolGeoBackup -ResourceGroupName ContosoResourceGroup -WorkspaceName ContosoWorkspace -Name 'test-selfhost-ir' +``` +The cmdlet retrieves Geo Backup for a sql pool'. + +### Example 2: Get all geo-redundant backups on a workspace +``` +PS C:\>Get-AzSynapseSqlPoolGeoBackup -ResourceGroupName "ContosoResourceGroup" -WorkspaceName "ContosoWorkspace" +``` +This command gets all available geo-redundant backups on a specified workspace. + +### Example 3: Get all geo-redundant backups on a workspace using filtering +``` +PS C:\>Get-AzSynapseSqlPoolGeoBackup -ResourceGroupName "ContosoResourceGroup" -WorkspaceName "ContosoWorkspace" -Name "Contoso*" +``` +This command gets all available geo-redundant backups on a specified workspace that start with "Contoso". + +## PARAMETERS + +### -DefaultProfile +The credentials, account, tenant, and subscription used for communication with Azure. + +```yaml +Type: Microsoft.Azure.Commands.Common.Authentication.Abstractions.Core.IAzureContextContainer +Parameter Sets: (All) +Aliases: AzContext, AzureRmContext, AzureCredential + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Name +The integration runtime name. + +```yaml +Type: System.String +Parameter Sets: GetByNameParameterSet, GetByParentObjectParameterSet +Aliases: IntegrationRuntimeName + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ResourceGroupName +Resource group name. + +```yaml +Type: System.String +Parameter Sets: GetByNameParameterSet +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -WorkspaceName +Name of Synapse workspace. + +```yaml +Type: System.String +Parameter Sets: GetByNameParameterSet +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). + +## INPUTS + +### Microsoft.Azure.Commands.Synapse.Models.PSSynapseWorkspace + +### Microsoft.Azure.Commands.Synapse.Models.PSSynapseResourceGroup + +## OUTPUTS + +### Microsoft.Azure.Commands.Synapse.Models.PSBackupModel + +## NOTES + +## RELATED LINKS From 724dd7300ab1b5511fb83a5c3f4ba559ee56f24c Mon Sep 17 00:00:00 2001 From: Zeshi Luo Date: Thu, 3 Dec 2020 12:28:09 +0800 Subject: [PATCH 04/19] GetAzureSynapseSqlDeletedDatabaseBackup --- src/Synapse/Synapse/Az.Synapse.psd1 | 2 +- ...GetAzureSynapseSqlDeletedDatabaseBackup.cs | 67 +++++++++++++++++++ src/Synapse/Synapse/Common/ResourceTypes.cs | 3 +- .../Models/PSDeletedDatabaseBackupModel.cs | 67 +++++++++++++++++++ .../SynapseAnalyticsManagementClient.cs | 43 +++++++++++- .../Synapse/Models/SynapseConstants.cs | 2 + src/Synapse/Synapse/help/Az.Synapse.md | 6 ++ 7 files changed, 187 insertions(+), 3 deletions(-) create mode 100644 src/Synapse/Synapse/Commands/ManagementCommands/SqlDatabase/GetAzureSynapseSqlDeletedDatabaseBackup.cs create mode 100644 src/Synapse/Synapse/Models/PSDeletedDatabaseBackupModel.cs diff --git a/src/Synapse/Synapse/Az.Synapse.psd1 b/src/Synapse/Synapse/Az.Synapse.psd1 index 8c71d6414d3f..97a338642771 100644 --- a/src/Synapse/Synapse/Az.Synapse.psd1 +++ b/src/Synapse/Synapse/Az.Synapse.psd1 @@ -97,7 +97,7 @@ CmdletsToExport = 'Get-AzSynapseSparkJob', 'Stop-AzSynapseSparkJob', 'Get-AzSynapseSqlDatabase', 'New-AzSynapseSqlDatabase', 'Remove-AzSynapseSqlDatabase', 'Update-AzSynapseSqlDatabase', 'Test-AzSynapseSqlDatabase', 'Get-AzSynapseIntegrationRuntime', - 'Get-AzSynapseSqlPoolGeoBackup', + 'Get-AzSynapseSqlPoolGeoBackup', 'Get-AzSynapseSqlDeletedDatabaseBackup', 'Get-AzSynapseIntegrationRuntimeKey', 'Get-AzSynapseIntegrationRuntimeMetric', 'Get-AzSynapseIntegrationRuntimeNode', diff --git a/src/Synapse/Synapse/Commands/ManagementCommands/SqlDatabase/GetAzureSynapseSqlDeletedDatabaseBackup.cs b/src/Synapse/Synapse/Commands/ManagementCommands/SqlDatabase/GetAzureSynapseSqlDeletedDatabaseBackup.cs new file mode 100644 index 000000000000..b44384cfc8a0 --- /dev/null +++ b/src/Synapse/Synapse/Commands/ManagementCommands/SqlDatabase/GetAzureSynapseSqlDeletedDatabaseBackup.cs @@ -0,0 +1,67 @@ +using Microsoft.Azure.Commands.ResourceManager.Common.ArgumentCompleters; +using Microsoft.Azure.Commands.Synapse.Common; +using Microsoft.Azure.Commands.Synapse.Models; +using System; +using System.Collections.Generic; +using System.Linq; +using System.Management.Automation; + +namespace Microsoft.Azure.Commands.Synapse +{ + [Cmdlet(VerbsCommon.Get, ResourceManager.Common.AzureRMConstants.AzureRMPrefix + SynapseConstants.SynapsePrefix + SynapseConstants.SqlDeletedDatabaseBackup, + DefaultParameterSetName = GetByNameParameterSet)] + [OutputType(typeof(PSDeletedDatabaseBackupModel))] + public class GetAzureSynapseSqlDeletedDatabaseBackup : SynapseManagementCmdletBase + { + private const string GetByNameParameterSet = "GetByNameParameterSet"; + + [Parameter(Mandatory = true, ParameterSetName = GetByNameParameterSet, HelpMessage = HelpMessages.ResourceGroupName)] + [ResourceGroupCompleter] + [ValidateNotNullOrEmpty] + public string ResourceGroupName { get; set; } + + [Parameter(Mandatory = true, ParameterSetName = GetByNameParameterSet, HelpMessage = HelpMessages.WorkspaceName)] + [ResourceNameCompleter(ResourceTypes.Workspace, nameof(ResourceGroupName))] + [ValidateNotNullOrEmpty] + public string WorkspaceName { get; set; } + + [Parameter(Mandatory = false, ParameterSetName = GetByNameParameterSet, HelpMessage = HelpMessages.SqlPoolName)] + [ResourceNameCompleter( + ResourceTypes.SqlDeletedDatabaseBackup, + nameof(ResourceGroupName), + nameof(WorkspaceName))] + [ValidateNotNullOrEmpty] + public string Name { get; set; } + + [Parameter(Mandatory = false, + ValueFromPipelineByPropertyName = true, + HelpMessage = "The deletion date of the Azure Synaspe SQL Database to retrieve backups for, with millisecond precision (e.g. 2016-02-23T00:21:22.847Z)")] + [ValidateNotNullOrEmpty] + public DateTime? DeletionDate { get; set; } + + public override void ExecuteCmdlet() + { + ICollection results; + + if (MyInvocation.BoundParameters.ContainsKey("Name")) + { + if (MyInvocation.BoundParameters.ContainsKey("DeletionDate")) + { + results = new List(); + // The Sql pool expects a deleted database ID that consists of the database name and deletion time as a windows file time separated by a comma. + results.Add(this.SynapseAnalyticsClient.GetDeletedDatabaseBackup(this.ResourceGroupName, this.WorkspaceName, this.Name + "," + this.DeletionDate.Value.ToFileTimeUtc().ToString()).ConfigureAwait(true).GetAwaiter().GetResult()); + } + else + { + results = this.SynapseAnalyticsClient.ListDeletedDatabaseBackups(this.ResourceGroupName, this.WorkspaceName).ConfigureAwait(true).GetAwaiter().GetResult().Where(backup => backup.DatabaseName == Name).ToList(); + } + } + else + { + results = this.SynapseAnalyticsClient.ListDeletedDatabaseBackups(this.ResourceGroupName, this.WorkspaceName).ConfigureAwait(true).GetAwaiter().GetResult(); + } + + WriteObject(results, true); + } + } +} \ No newline at end of file diff --git a/src/Synapse/Synapse/Common/ResourceTypes.cs b/src/Synapse/Synapse/Common/ResourceTypes.cs index 1ef2aeb3761b..f51d20a99ea3 100644 --- a/src/Synapse/Synapse/Common/ResourceTypes.cs +++ b/src/Synapse/Synapse/Common/ResourceTypes.cs @@ -5,7 +5,8 @@ public static class ResourceTypes public const string Workspace = "Microsoft.Synapse/workspaces"; public const string SparkPool = "Microsoft.Synapse/workspaces/bigDataPools"; public const string SqlPool = "Microsoft.Synapse/workspaces/sqlPools"; - public const string SqlDataBaseGeoBackup = "Microsoft.Synapse/workspaces/SqlDataBaseGeoBackup"; + public const string SqlDataBaseGeoBackup = "Microsoft.Synapse/workspaces/SqlDataBaseGeoBackup"; + public const string SqlDeletedDatabaseBackup = "Microsoft.Synapse/workspaces/SqlDeletedDatabaseBackup"; public const string RecoverableSqlPool = "Microsoft.Synapse/workspaces/recoverableSqlPools"; public const string StorageAccount = "Microsoft.Storage/storageAccounts"; public const string SqlDatabase = "Microsoft.Sql/servers/databases"; diff --git a/src/Synapse/Synapse/Models/PSDeletedDatabaseBackupModel.cs b/src/Synapse/Synapse/Models/PSDeletedDatabaseBackupModel.cs new file mode 100644 index 000000000000..40b9757608f7 --- /dev/null +++ b/src/Synapse/Synapse/Models/PSDeletedDatabaseBackupModel.cs @@ -0,0 +1,67 @@ +using System; +using System.Collections.Generic; +using System.Text; +using Microsoft.Azure.Management.Synapse.Models; + +namespace Microsoft.Azure.Commands.Synapse.Models +{ + public class PSDeletedDatabaseBackupModel : ProxyResource + { + public PSDeletedDatabaseBackupModel(RestorableDroppedSqlPool restorableDroppedSqlPool) + { + this.Edition = restorableDroppedSqlPool.Location; + this.ServiceLevelObjective = restorableDroppedSqlPool.DatabaseName; + this.ElasticPoolName = restorableDroppedSqlPool.Edition; + this.MaxSizeBytes = restorableDroppedSqlPool.MaxSizeBytes; + this.ServiceLevelObjective = restorableDroppedSqlPool.ServiceLevelObjective; + this.ElasticPoolName = restorableDroppedSqlPool.ElasticPoolName; + } + + // + // Summary: + // Gets the geo-location where the resource lives + public string Location { get; } + + // + // Summary: + // Gets the name of the database + public string DatabaseName { get; } + + // + // Summary: + // Gets the edition of the database + public string Edition { get; } + + // + // Summary: + // Gets the max size in bytes of the database + public string MaxSizeBytes { get; } + + // + // Summary: + // Gets the service level objective name of the database + + public string ServiceLevelObjective { get; } + + // + // Summary: + // Gets the elastic pool name of the database + + public string ElasticPoolName { get; } + + // + // Summary: + // Gets the creation date of the database (ISO8601 format) + public DateTime? CreationDate { get; } + + // + // Summary: + // Gets the deletion date of the database (ISO8601 format) + public DateTime? DeletionDate { get; } + + // + // Summary: + // Gets the earliest restore date of the database (ISO8601 format) + public DateTime? EarliestRestoreDate { get; } + } +} \ No newline at end of file diff --git a/src/Synapse/Synapse/Models/SynapseAnalyticsManagementClient.cs b/src/Synapse/Synapse/Models/SynapseAnalyticsManagementClient.cs index c20f7e601f26..5a809bafbb0e 100644 --- a/src/Synapse/Synapse/Models/SynapseAnalyticsManagementClient.cs +++ b/src/Synapse/Synapse/Models/SynapseAnalyticsManagementClient.cs @@ -634,6 +634,47 @@ public virtual async Task> ListRecoverableManagedDatabases(s } } + public virtual async Task GetDeletedDatabaseBackup(string resourceGroupName, string workspaceName, string sqlPoolAndTimeName) + { + try + { + var taskResponse = Task.Run( + async () => await _synapseManagementClient.RestorableDroppedSqlPools.GetWithHttpMessagesAsync(resourceGroupName, workspaceName, sqlPoolAndTimeName)); + await Task.WhenAll(taskResponse); + + return new PSDeletedDatabaseBackupModel(taskResponse.Result.Body); + } + catch (ErrorContractException ex) + { + throw GetSynapseException(ex); + } + } + + public virtual async Task> ListDeletedDatabaseBackups(string resourceGroupName, string workspaceName) + { + try + { + var taskResponse = Task.Run( + async () => await _synapseManagementClient.RestorableDroppedSqlPools.ListByWorkspaceWithHttpMessagesAsync(resourceGroupName, workspaceName)); + await Task.WhenAll(taskResponse); + + var results = new List(); + + var response = taskResponse.Result.Body; + + foreach (var res in response.ToList()) + { + results.Add(new PSDeletedDatabaseBackupModel(res)); + } + + return results; + } + catch (ErrorContractException ex) + { + throw GetSynapseException(ex); + } + } + internal SqlDatabase GetSqlDatabase(string resourceGroupName, string workspaceName, string sqlDatabaseName) { try @@ -1086,7 +1127,7 @@ public virtual async Task GetIntegrationRuntimeMetr resourceGroupName = GetResourceGroupByWorkspaceName(workspaceName); } - var data = await _synapseManagementClient.IntegrationRuntimeMonitoringData.GetWithHttpMessagesAsync( + var data = await _synapseManagementClient.IntegrationRuntimeMonitoringData.ListWithHttpMessagesAsync( resourceGroupName, workspaceName, integrationRuntimeName); diff --git a/src/Synapse/Synapse/Models/SynapseConstants.cs b/src/Synapse/Synapse/Models/SynapseConstants.cs index 865afbbecd1c..4a5f5b856f5e 100644 --- a/src/Synapse/Synapse/Models/SynapseConstants.cs +++ b/src/Synapse/Synapse/Models/SynapseConstants.cs @@ -34,6 +34,8 @@ public static class SynapseConstants public const string SqlPoolGeoBackup = nameof(SqlPoolGeoBackup); + public const string SqlDeletedDatabaseBackup = nameof(SqlDeletedDatabaseBackup); + public const string SqlDatabase = nameof(SqlDatabase); public const string SparkPoolName = nameof(SparkPoolName); diff --git a/src/Synapse/Synapse/help/Az.Synapse.md b/src/Synapse/Synapse/help/Az.Synapse.md index 7deddd137e97..a772c73334e9 100644 --- a/src/Synapse/Synapse/help/Az.Synapse.md +++ b/src/Synapse/Synapse/help/Az.Synapse.md @@ -35,6 +35,12 @@ Gets information about integration runtime resources. ### [Get-AzSynapseIntegrationRuntimeKey](Get-AzSynapseIntegrationRuntimeKey.md) Gets keys for a self-hosted integration runtime. +### [Get-AzSynapseSqlPoolGeoBackup](Get-AzSynapseSqlPoolGeoBackup.md) +Gets Synapse Sql Pool Geo Backup. + +### [Get-AzSynapseSqlDeletedDatabaseBackup](Get-AzSynapseSqlDeletedDatabaseBackup.md) +Gets Synapse Sql deleted database Backup. + ### [Get-AzSynapseIntegrationRuntimeMetric](Get-AzSynapseIntegrationRuntimeMetric.md) Gets metric data for an integration runtime. From 654c150789b1de294069e831c4f17be45ebdcaf0 Mon Sep 17 00:00:00 2001 From: Zeshi Luo Date: Tue, 8 Dec 2020 13:29:30 +0800 Subject: [PATCH 05/19] refine backup function --- ...GetAzureSynapseSqlDeletedDatabaseBackup.cs | 67 ------------------- .../GetAzureSynapseSqlPoolGeoBackup.cs | 47 ------------- .../SynapseAnalyticsManagementClient.cs | 14 ++-- 3 files changed, 4 insertions(+), 124 deletions(-) delete mode 100644 src/Synapse/Synapse/Commands/ManagementCommands/SqlDatabase/GetAzureSynapseSqlDeletedDatabaseBackup.cs delete mode 100644 src/Synapse/Synapse/Commands/ManagementCommands/SqlDatabase/GetAzureSynapseSqlPoolGeoBackup.cs diff --git a/src/Synapse/Synapse/Commands/ManagementCommands/SqlDatabase/GetAzureSynapseSqlDeletedDatabaseBackup.cs b/src/Synapse/Synapse/Commands/ManagementCommands/SqlDatabase/GetAzureSynapseSqlDeletedDatabaseBackup.cs deleted file mode 100644 index b44384cfc8a0..000000000000 --- a/src/Synapse/Synapse/Commands/ManagementCommands/SqlDatabase/GetAzureSynapseSqlDeletedDatabaseBackup.cs +++ /dev/null @@ -1,67 +0,0 @@ -using Microsoft.Azure.Commands.ResourceManager.Common.ArgumentCompleters; -using Microsoft.Azure.Commands.Synapse.Common; -using Microsoft.Azure.Commands.Synapse.Models; -using System; -using System.Collections.Generic; -using System.Linq; -using System.Management.Automation; - -namespace Microsoft.Azure.Commands.Synapse -{ - [Cmdlet(VerbsCommon.Get, ResourceManager.Common.AzureRMConstants.AzureRMPrefix + SynapseConstants.SynapsePrefix + SynapseConstants.SqlDeletedDatabaseBackup, - DefaultParameterSetName = GetByNameParameterSet)] - [OutputType(typeof(PSDeletedDatabaseBackupModel))] - public class GetAzureSynapseSqlDeletedDatabaseBackup : SynapseManagementCmdletBase - { - private const string GetByNameParameterSet = "GetByNameParameterSet"; - - [Parameter(Mandatory = true, ParameterSetName = GetByNameParameterSet, HelpMessage = HelpMessages.ResourceGroupName)] - [ResourceGroupCompleter] - [ValidateNotNullOrEmpty] - public string ResourceGroupName { get; set; } - - [Parameter(Mandatory = true, ParameterSetName = GetByNameParameterSet, HelpMessage = HelpMessages.WorkspaceName)] - [ResourceNameCompleter(ResourceTypes.Workspace, nameof(ResourceGroupName))] - [ValidateNotNullOrEmpty] - public string WorkspaceName { get; set; } - - [Parameter(Mandatory = false, ParameterSetName = GetByNameParameterSet, HelpMessage = HelpMessages.SqlPoolName)] - [ResourceNameCompleter( - ResourceTypes.SqlDeletedDatabaseBackup, - nameof(ResourceGroupName), - nameof(WorkspaceName))] - [ValidateNotNullOrEmpty] - public string Name { get; set; } - - [Parameter(Mandatory = false, - ValueFromPipelineByPropertyName = true, - HelpMessage = "The deletion date of the Azure Synaspe SQL Database to retrieve backups for, with millisecond precision (e.g. 2016-02-23T00:21:22.847Z)")] - [ValidateNotNullOrEmpty] - public DateTime? DeletionDate { get; set; } - - public override void ExecuteCmdlet() - { - ICollection results; - - if (MyInvocation.BoundParameters.ContainsKey("Name")) - { - if (MyInvocation.BoundParameters.ContainsKey("DeletionDate")) - { - results = new List(); - // The Sql pool expects a deleted database ID that consists of the database name and deletion time as a windows file time separated by a comma. - results.Add(this.SynapseAnalyticsClient.GetDeletedDatabaseBackup(this.ResourceGroupName, this.WorkspaceName, this.Name + "," + this.DeletionDate.Value.ToFileTimeUtc().ToString()).ConfigureAwait(true).GetAwaiter().GetResult()); - } - else - { - results = this.SynapseAnalyticsClient.ListDeletedDatabaseBackups(this.ResourceGroupName, this.WorkspaceName).ConfigureAwait(true).GetAwaiter().GetResult().Where(backup => backup.DatabaseName == Name).ToList(); - } - } - else - { - results = this.SynapseAnalyticsClient.ListDeletedDatabaseBackups(this.ResourceGroupName, this.WorkspaceName).ConfigureAwait(true).GetAwaiter().GetResult(); - } - - WriteObject(results, true); - } - } -} \ No newline at end of file diff --git a/src/Synapse/Synapse/Commands/ManagementCommands/SqlDatabase/GetAzureSynapseSqlPoolGeoBackup.cs b/src/Synapse/Synapse/Commands/ManagementCommands/SqlDatabase/GetAzureSynapseSqlPoolGeoBackup.cs deleted file mode 100644 index 9fadee4c3de6..000000000000 --- a/src/Synapse/Synapse/Commands/ManagementCommands/SqlDatabase/GetAzureSynapseSqlPoolGeoBackup.cs +++ /dev/null @@ -1,47 +0,0 @@ -using Microsoft.Azure.Commands.ResourceManager.Common.ArgumentCompleters; -using Microsoft.Azure.Commands.Synapse.Common; -using Microsoft.Azure.Commands.Synapse.Models; -using System.Management.Automation; - -namespace Microsoft.Azure.Commands.Synapse -{ - [Cmdlet(VerbsCommon.Get, ResourceManager.Common.AzureRMConstants.AzureRMPrefix + SynapseConstants.SynapsePrefix + SynapseConstants.SqlPoolGeoBackup, - DefaultParameterSetName = GetByNameParameterSet)] - [OutputType(typeof(PSBackupModel))] - public class GetAzureSynapseSqlPoolGeoBackup : SynapseManagementCmdletBase - { - private const string GetByNameParameterSet = "GetByNameParameterSet"; - - [Parameter(Mandatory = true, ParameterSetName = GetByNameParameterSet, HelpMessage = HelpMessages.ResourceGroupName)] - [ResourceGroupCompleter] - [ValidateNotNullOrEmpty] - public string ResourceGroupName { get; set; } - - [Parameter(Mandatory = true, ParameterSetName = GetByNameParameterSet, HelpMessage = HelpMessages.WorkspaceName)] - [ResourceNameCompleter(ResourceTypes.Workspace, nameof(ResourceGroupName))] - [ValidateNotNullOrEmpty] - public string WorkspaceName { get; set; } - - [Parameter(Mandatory = false, ParameterSetName = GetByNameParameterSet, HelpMessage = HelpMessages.SqlPoolName)] - [ResourceNameCompleter( - ResourceTypes.SqlDataBaseGeoBackup, - nameof(ResourceGroupName), - nameof(WorkspaceName))] - [ValidateNotNullOrEmpty] - public string Name { get; set; } - - public override void ExecuteCmdlet() - { - if (MyInvocation.BoundParameters.ContainsKey("Name") && !WildcardPattern.ContainsWildcardCharacters(Name)) - { - var results = this.SynapseAnalyticsClient.GetRecoverableManagedDatabase(ResourceGroupName, WorkspaceName, Name).ConfigureAwait(true).GetAwaiter().GetResult(); - WriteObject(results, true); - } - else - { - var results = this.SynapseAnalyticsClient.ListRecoverableManagedDatabases(this.ResourceGroupName, this.WorkspaceName).ConfigureAwait(true).GetAwaiter().GetResult(); - WriteObject(results, true); - } - } - } -} \ No newline at end of file diff --git a/src/Synapse/Synapse/Models/SynapseAnalyticsManagementClient.cs b/src/Synapse/Synapse/Models/SynapseAnalyticsManagementClient.cs index 5a809bafbb0e..5b531a209828 100644 --- a/src/Synapse/Synapse/Models/SynapseAnalyticsManagementClient.cs +++ b/src/Synapse/Synapse/Models/SynapseAnalyticsManagementClient.cs @@ -597,11 +597,9 @@ public virtual async Task GetRecoverableManagedDatabase(string re { try { - var taskResponse = Task.Run( - async () => await _synapseManagementClient.WorkspaceManagedSqlServerRecoverableSqlpools.GetWithHttpMessagesAsync(resourceGroupName, workspaceName, sqlPoolName)); - await Task.WhenAll(taskResponse); + var taskResponse = await _synapseManagementClient.WorkspaceManagedSqlServerRecoverableSqlpools.GetWithHttpMessagesAsync(resourceGroupName, workspaceName, sqlPoolName); - return new PSBackupModel(taskResponse.Result.Body); + return new PSBackupModel(taskResponse.Body); } catch (ErrorContractException ex) { @@ -613,13 +611,9 @@ public virtual async Task> ListRecoverableManagedDatabases(s { try { - var taskResponse = Task.Run( - async () => await _synapseManagementClient.WorkspaceManagedSqlServerRecoverableSqlpools.ListWithHttpMessagesAsync(resourceGroupName, workspaceName)); - await Task.WhenAll(taskResponse); - + var taskResponse = await _synapseManagementClient.WorkspaceManagedSqlServerRecoverableSqlpools.ListWithHttpMessagesAsync(resourceGroupName, workspaceName); var results = new List(); - - var response = taskResponse.Result.Body; + var response = taskResponse.Body; foreach (var res in response.ToList()) { From 023138120830ba485073cc7d5af2c256182ebdec Mon Sep 17 00:00:00 2001 From: Zeshi Luo Date: Tue, 15 Dec 2020 11:53:04 +0800 Subject: [PATCH 06/19] refine doc --- src/Synapse/Synapse/help/Get-AzSynapseSqlPoolGeoBackup.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Synapse/Synapse/help/Get-AzSynapseSqlPoolGeoBackup.md b/src/Synapse/Synapse/help/Get-AzSynapseSqlPoolGeoBackup.md index 10348db18555..a0d6916c497a 100644 --- a/src/Synapse/Synapse/help/Get-AzSynapseSqlPoolGeoBackup.md +++ b/src/Synapse/Synapse/help/Get-AzSynapseSqlPoolGeoBackup.md @@ -28,7 +28,7 @@ You can use Geo-Restore to restore a geo-redundant backup in the event of a regi ```powershell PS C:\> Get-AzSynapseSqlPoolGeoBackup -ResourceGroupName ContosoResourceGroup -WorkspaceName ContosoWorkspace -Name 'test-selfhost-ir' ``` -The cmdlet retrieves Geo Backup for a sql pool'. +The cmdlet retrieves Geo Backup for a sql pool. ### Example 2: Get all geo-redundant backups on a workspace ``` From c175046a096fb472e23b6613f4310622dd7cf686 Mon Sep 17 00:00:00 2001 From: Zeshi Luo Date: Tue, 15 Dec 2020 12:00:17 +0800 Subject: [PATCH 07/19] add Getazuresynapsesqldeleteddatabasebackup --- ...GetAzureSynapseSqlDeletedDatabaseBackup.cs | 67 +++++++++++++++++++ .../GetAzureSynapseSqlPoolGeoBackup.cs | 47 +++++++++++++ 2 files changed, 114 insertions(+) create mode 100644 src/Synapse/Synapse/Commands/ManagementCommands/SqlPool Backup/GetAzureSynapseSqlDeletedDatabaseBackup.cs create mode 100644 src/Synapse/Synapse/Commands/ManagementCommands/SqlPool Backup/GetAzureSynapseSqlPoolGeoBackup.cs diff --git a/src/Synapse/Synapse/Commands/ManagementCommands/SqlPool Backup/GetAzureSynapseSqlDeletedDatabaseBackup.cs b/src/Synapse/Synapse/Commands/ManagementCommands/SqlPool Backup/GetAzureSynapseSqlDeletedDatabaseBackup.cs new file mode 100644 index 000000000000..b44384cfc8a0 --- /dev/null +++ b/src/Synapse/Synapse/Commands/ManagementCommands/SqlPool Backup/GetAzureSynapseSqlDeletedDatabaseBackup.cs @@ -0,0 +1,67 @@ +using Microsoft.Azure.Commands.ResourceManager.Common.ArgumentCompleters; +using Microsoft.Azure.Commands.Synapse.Common; +using Microsoft.Azure.Commands.Synapse.Models; +using System; +using System.Collections.Generic; +using System.Linq; +using System.Management.Automation; + +namespace Microsoft.Azure.Commands.Synapse +{ + [Cmdlet(VerbsCommon.Get, ResourceManager.Common.AzureRMConstants.AzureRMPrefix + SynapseConstants.SynapsePrefix + SynapseConstants.SqlDeletedDatabaseBackup, + DefaultParameterSetName = GetByNameParameterSet)] + [OutputType(typeof(PSDeletedDatabaseBackupModel))] + public class GetAzureSynapseSqlDeletedDatabaseBackup : SynapseManagementCmdletBase + { + private const string GetByNameParameterSet = "GetByNameParameterSet"; + + [Parameter(Mandatory = true, ParameterSetName = GetByNameParameterSet, HelpMessage = HelpMessages.ResourceGroupName)] + [ResourceGroupCompleter] + [ValidateNotNullOrEmpty] + public string ResourceGroupName { get; set; } + + [Parameter(Mandatory = true, ParameterSetName = GetByNameParameterSet, HelpMessage = HelpMessages.WorkspaceName)] + [ResourceNameCompleter(ResourceTypes.Workspace, nameof(ResourceGroupName))] + [ValidateNotNullOrEmpty] + public string WorkspaceName { get; set; } + + [Parameter(Mandatory = false, ParameterSetName = GetByNameParameterSet, HelpMessage = HelpMessages.SqlPoolName)] + [ResourceNameCompleter( + ResourceTypes.SqlDeletedDatabaseBackup, + nameof(ResourceGroupName), + nameof(WorkspaceName))] + [ValidateNotNullOrEmpty] + public string Name { get; set; } + + [Parameter(Mandatory = false, + ValueFromPipelineByPropertyName = true, + HelpMessage = "The deletion date of the Azure Synaspe SQL Database to retrieve backups for, with millisecond precision (e.g. 2016-02-23T00:21:22.847Z)")] + [ValidateNotNullOrEmpty] + public DateTime? DeletionDate { get; set; } + + public override void ExecuteCmdlet() + { + ICollection results; + + if (MyInvocation.BoundParameters.ContainsKey("Name")) + { + if (MyInvocation.BoundParameters.ContainsKey("DeletionDate")) + { + results = new List(); + // The Sql pool expects a deleted database ID that consists of the database name and deletion time as a windows file time separated by a comma. + results.Add(this.SynapseAnalyticsClient.GetDeletedDatabaseBackup(this.ResourceGroupName, this.WorkspaceName, this.Name + "," + this.DeletionDate.Value.ToFileTimeUtc().ToString()).ConfigureAwait(true).GetAwaiter().GetResult()); + } + else + { + results = this.SynapseAnalyticsClient.ListDeletedDatabaseBackups(this.ResourceGroupName, this.WorkspaceName).ConfigureAwait(true).GetAwaiter().GetResult().Where(backup => backup.DatabaseName == Name).ToList(); + } + } + else + { + results = this.SynapseAnalyticsClient.ListDeletedDatabaseBackups(this.ResourceGroupName, this.WorkspaceName).ConfigureAwait(true).GetAwaiter().GetResult(); + } + + WriteObject(results, true); + } + } +} \ No newline at end of file diff --git a/src/Synapse/Synapse/Commands/ManagementCommands/SqlPool Backup/GetAzureSynapseSqlPoolGeoBackup.cs b/src/Synapse/Synapse/Commands/ManagementCommands/SqlPool Backup/GetAzureSynapseSqlPoolGeoBackup.cs new file mode 100644 index 000000000000..a7494259513c --- /dev/null +++ b/src/Synapse/Synapse/Commands/ManagementCommands/SqlPool Backup/GetAzureSynapseSqlPoolGeoBackup.cs @@ -0,0 +1,47 @@ +using Microsoft.Azure.Commands.ResourceManager.Common.ArgumentCompleters; +using Microsoft.Azure.Commands.Synapse.Common; +using Microsoft.Azure.Commands.Synapse.Models; +using System.Management.Automation; + +namespace Microsoft.Azure.Commands.Synapse +{ + [Cmdlet(VerbsCommon.Get, ResourceManager.Common.AzureRMConstants.AzureRMPrefix + SynapseConstants.SynapsePrefix + SynapseConstants.SqlPoolGeoBackup, + DefaultParameterSetName = GetByNameParameterSet)] + [OutputType(typeof(PSBackupModel))] + public class GetAzureSynapseSqlPoolGeoBackup : SynapseManagementCmdletBase + { + private const string GetByNameParameterSet = "GetByNameParameterSet"; + + [Parameter(Mandatory = true, ParameterSetName = GetByNameParameterSet, HelpMessage = HelpMessages.ResourceGroupName)] + [ResourceGroupCompleter] + [ValidateNotNullOrEmpty] + public string ResourceGroupName { get; set; } + + [Parameter(Mandatory = true, ParameterSetName = GetByNameParameterSet, HelpMessage = HelpMessages.WorkspaceName)] + [ResourceNameCompleter(ResourceTypes.Workspace, nameof(ResourceGroupName))] + [ValidateNotNullOrEmpty] + public string WorkspaceName { get; set; } + + [Parameter(Mandatory = false, ParameterSetName = GetByNameParameterSet, HelpMessage = HelpMessages.SqlPoolName)] + [ResourceNameCompleter( + ResourceTypes.SqlDataBaseGeoBackup, + nameof(ResourceGroupName), + nameof(WorkspaceName))] + [ValidateNotNullOrEmpty] + public string Name { get; set; } + + public override async void ExecuteCmdlet() + { + if (MyInvocation.BoundParameters.ContainsKey("Name") && !WildcardPattern.ContainsWildcardCharacters(Name)) + { + var results = await this.SynapseAnalyticsClient.GetRecoverableManagedDatabase(ResourceGroupName, WorkspaceName, Name); + WriteObject(results); + } + else + { + var results = this.SynapseAnalyticsClient.ListRecoverableManagedDatabases(this.ResourceGroupName, this.WorkspaceName); + WriteObject(results, true); + } + } + } +} \ No newline at end of file From cc3d5f83c0e9e34b894b01dd0dae96ca280924f9 Mon Sep 17 00:00:00 2001 From: Zeshi Luo Date: Tue, 15 Dec 2020 15:21:25 +0800 Subject: [PATCH 08/19] refined help doc --- .../Get-AzSynapseSqlDeletedDatabaseBackup.md | 121 ++++++++++++++++++ .../help/Get-AzSynapseSqlPoolGeoBackup.md | 6 +- 2 files changed, 124 insertions(+), 3 deletions(-) create mode 100644 src/Synapse/Synapse/help/Get-AzSynapseSqlDeletedDatabaseBackup.md diff --git a/src/Synapse/Synapse/help/Get-AzSynapseSqlDeletedDatabaseBackup.md b/src/Synapse/Synapse/help/Get-AzSynapseSqlDeletedDatabaseBackup.md new file mode 100644 index 000000000000..20e064c77130 --- /dev/null +++ b/src/Synapse/Synapse/help/Get-AzSynapseSqlDeletedDatabaseBackup.md @@ -0,0 +1,121 @@ +--- +external help file: Microsoft.Azure.PowerShell.Cmdlets.Synapse.dll-Help.xml +Module Name: Az.Synapse +online version: https://docs.microsoft.com/en-us/powershell/module/az.synapse/get-azsynapsesqldeleteddatabasebackup +schema: 2.0.0 +--- + +# Get-AzSynapseSqlDeletedDatabaseBackup + +## SYNOPSIS +Gets a deleted database backup of a Synapse Sql Pool. + +## SYNTAX + +### GetByNameParameterSet (Default) +``` +Get-AzSynapseSqlDeletedDatabaseBackup [-ResourceGroupName ] -WorkspaceName -Name + [-DefaultProfile ] [] +``` +## DESCRIPTION +The **Get-AzSynapseSqlDeletedDatabaseBackup** cmdlet gets a specified deleted SQL database backup that you can restore, or all deleted backups that you can restore in a workspace. + + +## EXAMPLES + +### Example 1: Get a specified backup from a sql pool +```powershell +PS C:\> Get-AzSynapseSqlDeletedDatabaseBackup -ResourceGroupName ContosoResourceGroup -WorkspaceName ContosoWorkspace -Name 'test-selfhost-ir' +``` +The cmdlet retrieves Backup for a sql pool. + +### Example 2: Get all backups on a workspace +``` +PS C:\>Get-AzSynapseSqlDeletedDatabaseBackup -ResourceGroupName "ContosoResourceGroup" -WorkspaceName "ContosoWorkspace" +``` +This command gets all available backups on a specified workspace. + +### Example 3: Get all geo-redundant backups on a workspace using filtering +``` +PS C:\>Get-AzSynapseSqlDeletedDatabaseBackup -ResourceGroupName "ContosoResourceGroup" -WorkspaceName "ContosoWorkspace" -Name "Contoso*" +``` +This command gets all available geo-redundant backups on a specified workspace that start with "Contoso". + +## PARAMETERS + +### -DefaultProfile +The credentials, account, tenant, and subscription used for communication with Azure. + +```yaml +Type: Microsoft.Azure.Commands.Common.Authentication.Abstractions.Core.IAzureContextContainer +Parameter Sets: (All) +Aliases: AzContext, AzureRmContext, AzureCredential + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Name +The Synapse Sql pool. + +```yaml +Type: System.String +Parameter Sets: GetByNameParameterSet +Aliases: AzSynapseSqlDeletedDatabaseBackup + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ResourceGroupName +Resource group name. + +```yaml +Type: System.String +Parameter Sets: GetByNameParameterSet +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -WorkspaceName +Name of Synapse workspace. + +```yaml +Type: System.String +Parameter Sets: GetByNameParameterSet +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). + +## INPUTS + +### Microsoft.Azure.Commands.Synapse.Models.PSSynapseWorkspace + +### Microsoft.Azure.Commands.Synapse.Models.PSSynapseResourceGroup + +## OUTPUTS + +### Microsoft.Azure.Commands.Synapse.Models.PSDeletedDatabaseBackupModel + +## NOTES + +## RELATED LINKS diff --git a/src/Synapse/Synapse/help/Get-AzSynapseSqlPoolGeoBackup.md b/src/Synapse/Synapse/help/Get-AzSynapseSqlPoolGeoBackup.md index a0d6916c497a..df7cfd18433b 100644 --- a/src/Synapse/Synapse/help/Get-AzSynapseSqlPoolGeoBackup.md +++ b/src/Synapse/Synapse/help/Get-AzSynapseSqlPoolGeoBackup.md @@ -60,12 +60,12 @@ Accept wildcard characters: False ``` ### -Name -The integration runtime name. +The Synapse Sql pool. ```yaml Type: System.String -Parameter Sets: GetByNameParameterSet, GetByParentObjectParameterSet -Aliases: IntegrationRuntimeName +Parameter Sets: GetByNameParameterSet +Aliases: The Synapse Sql pool. Required: True Position: Named From 2cfe20a6615d44e27068fb7475567ae77a809c46 Mon Sep 17 00:00:00 2001 From: Zeshi Luo Date: Wed, 16 Dec 2020 22:17:35 +0800 Subject: [PATCH 09/19] refine function --- ...GetAzureSynapseSqlDeletedDatabaseBackup.cs | 15 +++++-------- .../GetAzureSynapseSqlPoolGeoBackup.cs | 8 +++---- .../Models/PSDeletedDatabaseBackupModel.cs | 8 +++---- .../SynapseAnalyticsManagementClient.cs | 22 +++++++------------ 4 files changed, 22 insertions(+), 31 deletions(-) diff --git a/src/Synapse/Synapse/Commands/ManagementCommands/SqlPool Backup/GetAzureSynapseSqlDeletedDatabaseBackup.cs b/src/Synapse/Synapse/Commands/ManagementCommands/SqlPool Backup/GetAzureSynapseSqlDeletedDatabaseBackup.cs index b44384cfc8a0..9a5cffe5818b 100644 --- a/src/Synapse/Synapse/Commands/ManagementCommands/SqlPool Backup/GetAzureSynapseSqlDeletedDatabaseBackup.cs +++ b/src/Synapse/Synapse/Commands/ManagementCommands/SqlPool Backup/GetAzureSynapseSqlDeletedDatabaseBackup.cs @@ -41,27 +41,24 @@ public class GetAzureSynapseSqlDeletedDatabaseBackup : SynapseManagementCmdletBa public override void ExecuteCmdlet() { - ICollection results; - if (MyInvocation.BoundParameters.ContainsKey("Name")) { if (MyInvocation.BoundParameters.ContainsKey("DeletionDate")) { - results = new List(); - // The Sql pool expects a deleted database ID that consists of the database name and deletion time as a windows file time separated by a comma. - results.Add(this.SynapseAnalyticsClient.GetDeletedDatabaseBackup(this.ResourceGroupName, this.WorkspaceName, this.Name + "," + this.DeletionDate.Value.ToFileTimeUtc().ToString()).ConfigureAwait(true).GetAwaiter().GetResult()); + var result = this.SynapseAnalyticsClient.GetDroppedSqlPoolBackup(this.ResourceGroupName, this.WorkspaceName, this.Name + "," + this.DeletionDate.Value.ToFileTimeUtc().ToString()).ConfigureAwait(true).GetAwaiter().GetResult(); + WriteObject(result, true); } else { - results = this.SynapseAnalyticsClient.ListDeletedDatabaseBackups(this.ResourceGroupName, this.WorkspaceName).ConfigureAwait(true).GetAwaiter().GetResult().Where(backup => backup.DatabaseName == Name).ToList(); + var results = this.SynapseAnalyticsClient.ListDroppedSqlPoolBackups(this.ResourceGroupName, this.WorkspaceName).ConfigureAwait(true).GetAwaiter().GetResult().Where(backup => backup.SqlpoolName == Name).ToList(); + WriteObject(results, true); } } else { - results = this.SynapseAnalyticsClient.ListDeletedDatabaseBackups(this.ResourceGroupName, this.WorkspaceName).ConfigureAwait(true).GetAwaiter().GetResult(); + var results = this.SynapseAnalyticsClient.ListDroppedSqlPoolBackups(this.ResourceGroupName, this.WorkspaceName).ConfigureAwait(true).GetAwaiter().GetResult(); + WriteObject(results, true); } - - WriteObject(results, true); } } } \ No newline at end of file diff --git a/src/Synapse/Synapse/Commands/ManagementCommands/SqlPool Backup/GetAzureSynapseSqlPoolGeoBackup.cs b/src/Synapse/Synapse/Commands/ManagementCommands/SqlPool Backup/GetAzureSynapseSqlPoolGeoBackup.cs index a7494259513c..f302dfe05ff8 100644 --- a/src/Synapse/Synapse/Commands/ManagementCommands/SqlPool Backup/GetAzureSynapseSqlPoolGeoBackup.cs +++ b/src/Synapse/Synapse/Commands/ManagementCommands/SqlPool Backup/GetAzureSynapseSqlPoolGeoBackup.cs @@ -30,16 +30,16 @@ public class GetAzureSynapseSqlPoolGeoBackup : SynapseManagementCmdletBase [ValidateNotNullOrEmpty] public string Name { get; set; } - public override async void ExecuteCmdlet() + public override void ExecuteCmdlet() { if (MyInvocation.BoundParameters.ContainsKey("Name") && !WildcardPattern.ContainsWildcardCharacters(Name)) { - var results = await this.SynapseAnalyticsClient.GetRecoverableManagedDatabase(ResourceGroupName, WorkspaceName, Name); - WriteObject(results); + var result = this.SynapseAnalyticsClient.GetRecoverableSqlPool(ResourceGroupName, WorkspaceName, Name).ConfigureAwait(true).GetAwaiter().GetResult(); + WriteObject(result); } else { - var results = this.SynapseAnalyticsClient.ListRecoverableManagedDatabases(this.ResourceGroupName, this.WorkspaceName); + var results = this.SynapseAnalyticsClient.ListRecoverableSqlPool(this.ResourceGroupName, this.WorkspaceName).ConfigureAwait(true).GetAwaiter().GetResult(); WriteObject(results, true); } } diff --git a/src/Synapse/Synapse/Models/PSDeletedDatabaseBackupModel.cs b/src/Synapse/Synapse/Models/PSDeletedDatabaseBackupModel.cs index 40b9757608f7..1a08173ea47e 100644 --- a/src/Synapse/Synapse/Models/PSDeletedDatabaseBackupModel.cs +++ b/src/Synapse/Synapse/Models/PSDeletedDatabaseBackupModel.cs @@ -9,9 +9,9 @@ public class PSDeletedDatabaseBackupModel : ProxyResource { public PSDeletedDatabaseBackupModel(RestorableDroppedSqlPool restorableDroppedSqlPool) { - this.Edition = restorableDroppedSqlPool.Location; - this.ServiceLevelObjective = restorableDroppedSqlPool.DatabaseName; - this.ElasticPoolName = restorableDroppedSqlPool.Edition; + this.Location = restorableDroppedSqlPool.Location; + this.SqlpoolName = restorableDroppedSqlPool.DatabaseName; + this.Edition = restorableDroppedSqlPool.Edition; this.MaxSizeBytes = restorableDroppedSqlPool.MaxSizeBytes; this.ServiceLevelObjective = restorableDroppedSqlPool.ServiceLevelObjective; this.ElasticPoolName = restorableDroppedSqlPool.ElasticPoolName; @@ -25,7 +25,7 @@ public PSDeletedDatabaseBackupModel(RestorableDroppedSqlPool restorableDroppedSq // // Summary: // Gets the name of the database - public string DatabaseName { get; } + public string SqlpoolName { get; } // // Summary: diff --git a/src/Synapse/Synapse/Models/SynapseAnalyticsManagementClient.cs b/src/Synapse/Synapse/Models/SynapseAnalyticsManagementClient.cs index 5b531a209828..9f57a0b2e1d1 100644 --- a/src/Synapse/Synapse/Models/SynapseAnalyticsManagementClient.cs +++ b/src/Synapse/Synapse/Models/SynapseAnalyticsManagementClient.cs @@ -593,7 +593,7 @@ public SqlDatabase CreateSqlDatabase(string resourceGroupName, string workspaceN } } - public virtual async Task GetRecoverableManagedDatabase(string resourceGroupName, string workspaceName, string sqlPoolName) + public virtual async Task GetRecoverableSqlPool(string resourceGroupName, string workspaceName, string sqlPoolName) { try { @@ -607,7 +607,7 @@ public virtual async Task GetRecoverableManagedDatabase(string re } } - public virtual async Task> ListRecoverableManagedDatabases(string resourceGroupName, string workspaceName) + public virtual async Task> ListRecoverableSqlPool(string resourceGroupName, string workspaceName) { try { @@ -628,15 +628,13 @@ public virtual async Task> ListRecoverableManagedDatabases(s } } - public virtual async Task GetDeletedDatabaseBackup(string resourceGroupName, string workspaceName, string sqlPoolAndTimeName) + public virtual async Task GetDroppedSqlPoolBackup(string resourceGroupName, string workspaceName, string sqlPoolAndTimeName) { try { - var taskResponse = Task.Run( - async () => await _synapseManagementClient.RestorableDroppedSqlPools.GetWithHttpMessagesAsync(resourceGroupName, workspaceName, sqlPoolAndTimeName)); - await Task.WhenAll(taskResponse); + var taskResponse = await _synapseManagementClient.RestorableDroppedSqlPools.GetWithHttpMessagesAsync(resourceGroupName, workspaceName, sqlPoolAndTimeName); - return new PSDeletedDatabaseBackupModel(taskResponse.Result.Body); + return new PSDeletedDatabaseBackupModel(taskResponse.Body); } catch (ErrorContractException ex) { @@ -644,17 +642,13 @@ public virtual async Task GetDeletedDatabaseBackup } } - public virtual async Task> ListDeletedDatabaseBackups(string resourceGroupName, string workspaceName) + public virtual async Task> ListDroppedSqlPoolBackups (string resourceGroupName, string workspaceName) { try { - var taskResponse = Task.Run( - async () => await _synapseManagementClient.RestorableDroppedSqlPools.ListByWorkspaceWithHttpMessagesAsync(resourceGroupName, workspaceName)); - await Task.WhenAll(taskResponse); - + var taskResponse = await _synapseManagementClient.RestorableDroppedSqlPools.ListByWorkspaceWithHttpMessagesAsync(resourceGroupName, workspaceName); var results = new List(); - - var response = taskResponse.Result.Body; + var response = taskResponse.Body; foreach (var res in response.ToList()) { From 5890a8a2d9ec70cd9e0b773adb7c2e85bc797bfb Mon Sep 17 00:00:00 2001 From: Zeshi Luo Date: Thu, 7 Jan 2021 17:26:30 +0800 Subject: [PATCH 10/19] resolve id name type not found in output problem --- .../GetAzureSynapseSqlDeletedDatabaseBackup.cs | 2 +- .../GetAzureSynapseSqlPoolGeoBackup.cs | 3 ++- src/Synapse/Synapse/Common/ResourceTypes.cs | 3 --- src/Synapse/Synapse/Models/PSBackupModel.cs | 9 +++++++++ .../Synapse/Models/PSDeletedDatabaseBackupModel.cs | 12 ++++++++++++ 5 files changed, 24 insertions(+), 5 deletions(-) diff --git a/src/Synapse/Synapse/Commands/ManagementCommands/SqlPool Backup/GetAzureSynapseSqlDeletedDatabaseBackup.cs b/src/Synapse/Synapse/Commands/ManagementCommands/SqlPool Backup/GetAzureSynapseSqlDeletedDatabaseBackup.cs index 9a5cffe5818b..69d7f78f495b 100644 --- a/src/Synapse/Synapse/Commands/ManagementCommands/SqlPool Backup/GetAzureSynapseSqlDeletedDatabaseBackup.cs +++ b/src/Synapse/Synapse/Commands/ManagementCommands/SqlPool Backup/GetAzureSynapseSqlDeletedDatabaseBackup.cs @@ -27,7 +27,7 @@ public class GetAzureSynapseSqlDeletedDatabaseBackup : SynapseManagementCmdletBa [Parameter(Mandatory = false, ParameterSetName = GetByNameParameterSet, HelpMessage = HelpMessages.SqlPoolName)] [ResourceNameCompleter( - ResourceTypes.SqlDeletedDatabaseBackup, + ResourceTypes.SqlPool, nameof(ResourceGroupName), nameof(WorkspaceName))] [ValidateNotNullOrEmpty] diff --git a/src/Synapse/Synapse/Commands/ManagementCommands/SqlPool Backup/GetAzureSynapseSqlPoolGeoBackup.cs b/src/Synapse/Synapse/Commands/ManagementCommands/SqlPool Backup/GetAzureSynapseSqlPoolGeoBackup.cs index f302dfe05ff8..6e9ffedb92f3 100644 --- a/src/Synapse/Synapse/Commands/ManagementCommands/SqlPool Backup/GetAzureSynapseSqlPoolGeoBackup.cs +++ b/src/Synapse/Synapse/Commands/ManagementCommands/SqlPool Backup/GetAzureSynapseSqlPoolGeoBackup.cs @@ -24,7 +24,7 @@ public class GetAzureSynapseSqlPoolGeoBackup : SynapseManagementCmdletBase [Parameter(Mandatory = false, ParameterSetName = GetByNameParameterSet, HelpMessage = HelpMessages.SqlPoolName)] [ResourceNameCompleter( - ResourceTypes.SqlDataBaseGeoBackup, + ResourceTypes.SqlPool, nameof(ResourceGroupName), nameof(WorkspaceName))] [ValidateNotNullOrEmpty] @@ -40,6 +40,7 @@ public override void ExecuteCmdlet() else { var results = this.SynapseAnalyticsClient.ListRecoverableSqlPool(this.ResourceGroupName, this.WorkspaceName).ConfigureAwait(true).GetAwaiter().GetResult(); + results = SubResourceWildcardFilter(Name, results); WriteObject(results, true); } } diff --git a/src/Synapse/Synapse/Common/ResourceTypes.cs b/src/Synapse/Synapse/Common/ResourceTypes.cs index f51d20a99ea3..14c274e182a0 100644 --- a/src/Synapse/Synapse/Common/ResourceTypes.cs +++ b/src/Synapse/Synapse/Common/ResourceTypes.cs @@ -5,9 +5,6 @@ public static class ResourceTypes public const string Workspace = "Microsoft.Synapse/workspaces"; public const string SparkPool = "Microsoft.Synapse/workspaces/bigDataPools"; public const string SqlPool = "Microsoft.Synapse/workspaces/sqlPools"; - public const string SqlDataBaseGeoBackup = "Microsoft.Synapse/workspaces/SqlDataBaseGeoBackup"; - public const string SqlDeletedDatabaseBackup = "Microsoft.Synapse/workspaces/SqlDeletedDatabaseBackup"; - public const string RecoverableSqlPool = "Microsoft.Synapse/workspaces/recoverableSqlPools"; public const string StorageAccount = "Microsoft.Storage/storageAccounts"; public const string SqlDatabase = "Microsoft.Sql/servers/databases"; public const string RecoverablSqlDatabase = "Microsoft.Sql/servers/recoverableDatabases"; diff --git a/src/Synapse/Synapse/Models/PSBackupModel.cs b/src/Synapse/Synapse/Models/PSBackupModel.cs index 9149638d48e6..c2650284c802 100644 --- a/src/Synapse/Synapse/Models/PSBackupModel.cs +++ b/src/Synapse/Synapse/Models/PSBackupModel.cs @@ -13,6 +13,9 @@ public PSBackupModel(RecoverableSqlPool recoverableSqlPool) this.ServiceLevelObjective = recoverableSqlPool.ServiceLevelObjective; this.ElasticPoolName = recoverableSqlPool.ElasticPoolName; this.LastAvailableBackupDate = recoverableSqlPool.LastAvailableBackupDate; + this.Id = recoverableSqlPool.Id; + this.Name = recoverableSqlPool.Name; + this.Type = recoverableSqlPool.Type; } public string Edition { get; set; } @@ -29,6 +32,12 @@ public PSBackupModel(RecoverableSqlPool recoverableSqlPool) // Summary: // Gets the last available backup date of the database (ISO8601 format) public DateTime? LastAvailableBackupDate { get; set; } + + public new string Id { get; set; } + + public new string Name { get; set; } + + public new string Type { get; set; } } } diff --git a/src/Synapse/Synapse/Models/PSDeletedDatabaseBackupModel.cs b/src/Synapse/Synapse/Models/PSDeletedDatabaseBackupModel.cs index 1a08173ea47e..44912595134c 100644 --- a/src/Synapse/Synapse/Models/PSDeletedDatabaseBackupModel.cs +++ b/src/Synapse/Synapse/Models/PSDeletedDatabaseBackupModel.cs @@ -15,6 +15,12 @@ public PSDeletedDatabaseBackupModel(RestorableDroppedSqlPool restorableDroppedSq this.MaxSizeBytes = restorableDroppedSqlPool.MaxSizeBytes; this.ServiceLevelObjective = restorableDroppedSqlPool.ServiceLevelObjective; this.ElasticPoolName = restorableDroppedSqlPool.ElasticPoolName; + this.Id = restorableDroppedSqlPool.Id; + this.Name = restorableDroppedSqlPool.Name; + this.Type = restorableDroppedSqlPool.Type; + this.CreationDate = restorableDroppedSqlPool.CreationDate; + this.DeletionDate = restorableDroppedSqlPool.DeletionDate; + this.EarliestRestoreDate = restorableDroppedSqlPool.EarliestRestoreDate; } // @@ -63,5 +69,11 @@ public PSDeletedDatabaseBackupModel(RestorableDroppedSqlPool restorableDroppedSq // Summary: // Gets the earliest restore date of the database (ISO8601 format) public DateTime? EarliestRestoreDate { get; } + + public new string Id { get; set; } + + public new string Name { get; set; } + + public new string Type { get; set; } } } \ No newline at end of file From e1835c3c5423f5f2bd4a39e49b1fee1f869f5a20 Mon Sep 17 00:00:00 2001 From: Zeshi Luo Date: Wed, 20 Jan 2021 23:33:55 +0800 Subject: [PATCH 11/19] add test --- .../ScenarioTests/SqlPoolBackupTests.cs | 18 +++++ .../ScenarioTests/SqlPoolBackupTests.ps1 | 71 +++++++++++++++++++ 2 files changed, 89 insertions(+) diff --git a/src/Synapse/Synapse.Test/ScenarioTests/SqlPoolBackupTests.cs b/src/Synapse/Synapse.Test/ScenarioTests/SqlPoolBackupTests.cs index ff8127f6a664..765acd2cd480 100644 --- a/src/Synapse/Synapse.Test/ScenarioTests/SqlPoolBackupTests.cs +++ b/src/Synapse/Synapse.Test/ScenarioTests/SqlPoolBackupTests.cs @@ -25,6 +25,24 @@ public void TestSqlPoolRestorePoint(){ "Test-SqlPoolRestorePoint"); } + [Fact] + [Trait(Category.AcceptanceType, Category.CheckIn)] + public void TestSqlPoolGeoBackup() + { + NewInstance.RunPsTest( + _logger, + "Test-SqlPoolGeoBackup"); + } + + [Fact] + [Trait(Category.AcceptanceType, Category.CheckIn)] + public void TestSqlDeletedDatabaseBackup() + { + NewInstance.RunPsTest( + _logger, + "Test-SqlDeletedDatabaseBackup"); + } + [Fact] [Trait(Category.AcceptanceType, Category.CheckIn)] public void TestRestoreFromRestorePoint() diff --git a/src/Synapse/Synapse.Test/ScenarioTests/SqlPoolBackupTests.ps1 b/src/Synapse/Synapse.Test/ScenarioTests/SqlPoolBackupTests.ps1 index b2bdf33ac1c4..9ec87561a8ec 100644 --- a/src/Synapse/Synapse.Test/ScenarioTests/SqlPoolBackupTests.ps1 +++ b/src/Synapse/Synapse.Test/ScenarioTests/SqlPoolBackupTests.ps1 @@ -105,6 +105,77 @@ function Test-SqlPoolRestorePoint } } +function Test-SqlPoolGeoBackup +{ + # Setup + $testSuffix = 'ps2502' + $params = Get-SqlPoolBackupTestEnvironmentParameters $testSuffix + + try + { + $SqlPoolGeoBackupGet =Get-AzSynapseSqlPoolGeoBackup -ResourceGroupName $params.rgname -WorkspaceName $params.workspaceName + Assert-AreEqual $params.sqlPoolName $SqlPoolGeoBackupGet[0].Name + Assert-Null $SqlPoolGeoBackupGet[0].ElasticPoolName + Assert-NotNull $SqlPoolGeoBackupGet[0].Edition + Assert-NotNull $SqlPoolGeoBackupGet[0].LastAvailableBackupDate + + $SqlPoolGeoBackupGetByPool =Get-AzSynapseSqlPoolGeoBackup -ResourceGroupName $params.rgname -WorkspaceName $params.workspaceName -Name $params.sqlPoolName + Assert-AreEqual 1 $SqlPoolGeoBackupGetByPool.Count + Assert-AreEqual $params.sqlPoolName $SqlPoolGeoBackupGetByPool.Name + Assert-Null $SqlPoolGeoBackupGetByPool.ElasticPoolName + Assert-NotNull $SqlPoolGeoBackupGetByPool.Edition + Assert-NotNull $SqlPoolGeoBackupGetByPool.LastAvailableBackupDate + } + finally + { + # Cleanup + #Remove-SqlPoolBackupTestEnvironment $testSuffix + } +} + +function Test-SqlDeletedDatabaseBackup +{ + # Setup + $testSuffix = 'ps2504' + $params = Get-SqlPoolBackupTestEnvironmentParameters $testSuffix + + $rgname = $params.rgname + $workspaceName = $params.workspaceName + $sqlPoolName = $params.sqlPoolName + + try + { + New-AzSynapseSqlPool -ResourceGroupName $rgname -WorkspaceName $workspaceName -Name $sqlPoolName -PerformanceLevel DW400c + Wait-Seconds 80 + Remove-AzSynapseSqlPool -ResourceGroupName $rgname -WorkspaceName $workspaceName -Name $sqlPoolName -Force + Wait-Seconds 90 + + $SqlDeletedDatabaseBackupGet =Get-AzSynapseSqlDeletedDatabaseBackup -ResourceGroupName $params.rgname -WorkspaceName $params.workspaceName# -Name $params.sqlPoolName + Assert-AreEqual $sqlPoolName $SqlDeletedDatabaseBackupGet[0].SqlPoolName + Assert-Null $SqlDeletedDatabaseBackupGet[0].ElasticPoolName + Assert-NotNull $SqlDeletedDatabaseBackupGet[0].Edition + Assert-NotNull $SqlDeletedDatabaseBackupGet[0].MaxSizeBytes + Assert-NotNull $SqlDeletedDatabaseBackupGet[0].ServiceLevelObjective + Assert-NotNull $SqlDeletedDatabaseBackupGet[0].CreationDate + Assert-NotNull $SqlDeletedDatabaseBackupGet[0].DeletionDate + Assert-NotNull $SqlDeletedDatabaseBackupGet[0].EarliestRestoreDate + + $SqlDeletedDatabaseBackupGetByPool= Get-AzSynapseSqlDeletedDatabaseBackup -ResourceGroupName $params.rgname -WorkspaceName $params.workspaceName -Name $params.sqlPoolName + Assert-AreEqual $sqlPoolName $SqlDeletedDatabaseBackupGetByPool[0].SqlPoolName + Assert-Null $SqlDeletedDatabaseBackupGetByPool[0].ElasticPoolName + Assert-NotNull $SqlDeletedDatabaseBackupGetByPool[0].Edition + Assert-NotNull $SqlDeletedDatabaseBackupGetByPool[0].MaxSizeBytes + Assert-NotNull $SqlDeletedDatabaseBackupGetByPool[0].ServiceLevelObjective + Assert-NotNull $SqlDeletedDatabaseBackupGetByPool[0].CreationDate + Assert-NotNull $SqlDeletedDatabaseBackupGetByPool[0].DeletionDate + Assert-NotNull $SqlDeletedDatabaseBackupGetByPool[0].EarliestRestoreDate + } + finally + { + # Cleanup + #Remove-SqlPoolBackupTestEnvironment $testSuffix + } +} <# .SYNOPSIS Tests for restoring from restore point From 68637eec85c1c2b20d8c1582fbcdadde7e9e7730 Mon Sep 17 00:00:00 2001 From: Zeshi Luo Date: Thu, 21 Jan 2021 13:11:18 +0800 Subject: [PATCH 12/19] update command name --- .../ScenarioTests/SqlPoolBackupTests.cs | 4 +- .../ScenarioTests/SqlPoolBackupTests.ps1 | 38 +++++++++---------- src/Synapse/Synapse/Az.Synapse.psd1 | 2 +- ...=> GetAzureSynapseDroppedSqlPoolBackup.cs} | 6 +-- ...upModel.cs => PSDroppedPoolBackupModel.cs} | 4 +- .../SynapseAnalyticsManagementClient.cs | 10 ++--- .../Synapse/Models/SynapseConstants.cs | 2 +- src/Synapse/Synapse/help/Az.Synapse.md | 4 +- ...d => Get-AzSynapseDroppedSqlPoolBackup.md} | 22 +++++------ 9 files changed, 46 insertions(+), 46 deletions(-) rename src/Synapse/Synapse/Commands/ManagementCommands/SqlPool Backup/{GetAzureSynapseSqlDeletedDatabaseBackup.cs => GetAzureSynapseDroppedSqlPoolBackup.cs} (94%) rename src/Synapse/Synapse/Models/{PSDeletedDatabaseBackupModel.cs => PSDroppedPoolBackupModel.cs} (93%) rename src/Synapse/Synapse/help/{Get-AzSynapseSqlDeletedDatabaseBackup.md => Get-AzSynapseDroppedSqlPoolBackup.md} (70%) diff --git a/src/Synapse/Synapse.Test/ScenarioTests/SqlPoolBackupTests.cs b/src/Synapse/Synapse.Test/ScenarioTests/SqlPoolBackupTests.cs index 765acd2cd480..05d1cdb44d6b 100644 --- a/src/Synapse/Synapse.Test/ScenarioTests/SqlPoolBackupTests.cs +++ b/src/Synapse/Synapse.Test/ScenarioTests/SqlPoolBackupTests.cs @@ -36,11 +36,11 @@ public void TestSqlPoolGeoBackup() [Fact] [Trait(Category.AcceptanceType, Category.CheckIn)] - public void TestSqlDeletedDatabaseBackup() + public void TestDroppedSqlPool() { NewInstance.RunPsTest( _logger, - "Test-SqlDeletedDatabaseBackup"); + "Test-DroppedSqlPool"); } [Fact] diff --git a/src/Synapse/Synapse.Test/ScenarioTests/SqlPoolBackupTests.ps1 b/src/Synapse/Synapse.Test/ScenarioTests/SqlPoolBackupTests.ps1 index 9ec87561a8ec..3992618f8234 100644 --- a/src/Synapse/Synapse.Test/ScenarioTests/SqlPoolBackupTests.ps1 +++ b/src/Synapse/Synapse.Test/ScenarioTests/SqlPoolBackupTests.ps1 @@ -133,7 +133,7 @@ function Test-SqlPoolGeoBackup } } -function Test-SqlDeletedDatabaseBackup +function Test-DroppedSqlPool { # Setup $testSuffix = 'ps2504' @@ -150,25 +150,25 @@ function Test-SqlDeletedDatabaseBackup Remove-AzSynapseSqlPool -ResourceGroupName $rgname -WorkspaceName $workspaceName -Name $sqlPoolName -Force Wait-Seconds 90 - $SqlDeletedDatabaseBackupGet =Get-AzSynapseSqlDeletedDatabaseBackup -ResourceGroupName $params.rgname -WorkspaceName $params.workspaceName# -Name $params.sqlPoolName - Assert-AreEqual $sqlPoolName $SqlDeletedDatabaseBackupGet[0].SqlPoolName - Assert-Null $SqlDeletedDatabaseBackupGet[0].ElasticPoolName - Assert-NotNull $SqlDeletedDatabaseBackupGet[0].Edition - Assert-NotNull $SqlDeletedDatabaseBackupGet[0].MaxSizeBytes - Assert-NotNull $SqlDeletedDatabaseBackupGet[0].ServiceLevelObjective - Assert-NotNull $SqlDeletedDatabaseBackupGet[0].CreationDate - Assert-NotNull $SqlDeletedDatabaseBackupGet[0].DeletionDate - Assert-NotNull $SqlDeletedDatabaseBackupGet[0].EarliestRestoreDate + $DroppedSqlPoolGet =Get-AzSynapseDroppedSqlPool -ResourceGroupName $params.rgname -WorkspaceName $params.workspaceName# -Name $params.sqlPoolName + Assert-AreEqual $sqlPoolName $DroppedSqlPoolGet[0].SqlPoolName + Assert-Null $DroppedSqlPoolGet[0].ElasticPoolName + Assert-NotNull $DroppedSqlPoolGet[0].Edition + Assert-NotNull $DroppedSqlPoolGet[0].MaxSizeBytes + Assert-NotNull $DroppedSqlPoolGet[0].ServiceLevelObjective + Assert-NotNull $DroppedSqlPoolGet[0].CreationDate + Assert-NotNull $DroppedSqlPoolGet[0].DeletionDate + Assert-NotNull $DroppedSqlPoolGet[0].EarliestRestoreDate - $SqlDeletedDatabaseBackupGetByPool= Get-AzSynapseSqlDeletedDatabaseBackup -ResourceGroupName $params.rgname -WorkspaceName $params.workspaceName -Name $params.sqlPoolName - Assert-AreEqual $sqlPoolName $SqlDeletedDatabaseBackupGetByPool[0].SqlPoolName - Assert-Null $SqlDeletedDatabaseBackupGetByPool[0].ElasticPoolName - Assert-NotNull $SqlDeletedDatabaseBackupGetByPool[0].Edition - Assert-NotNull $SqlDeletedDatabaseBackupGetByPool[0].MaxSizeBytes - Assert-NotNull $SqlDeletedDatabaseBackupGetByPool[0].ServiceLevelObjective - Assert-NotNull $SqlDeletedDatabaseBackupGetByPool[0].CreationDate - Assert-NotNull $SqlDeletedDatabaseBackupGetByPool[0].DeletionDate - Assert-NotNull $SqlDeletedDatabaseBackupGetByPool[0].EarliestRestoreDate + $DroppedSqlPoolGetByPool= Get-AzSynapseDroppedSqlPool -ResourceGroupName $params.rgname -WorkspaceName $params.workspaceName -Name $params.sqlPoolName + Assert-AreEqual $sqlPoolName $DroppedSqlPoolGetByPool[0].SqlPoolName + Assert-Null $DroppedSqlPoolGetByPool[0].ElasticPoolName + Assert-NotNull $DroppedSqlPoolGetByPool[0].Edition + Assert-NotNull $DroppedSqlPoolGetByPool[0].MaxSizeBytes + Assert-NotNull $DroppedSqlPoolGetByPool[0].ServiceLevelObjective + Assert-NotNull $DroppedSqlPoolGetByPool[0].CreationDate + Assert-NotNull $DroppedSqlPoolGetByPool[0].DeletionDate + Assert-NotNull $DroppedSqlPoolGetByPool[0].EarliestRestoreDate } finally { diff --git a/src/Synapse/Synapse/Az.Synapse.psd1 b/src/Synapse/Synapse/Az.Synapse.psd1 index 5d7e54df36f5..cc78104b9b5c 100644 --- a/src/Synapse/Synapse/Az.Synapse.psd1 +++ b/src/Synapse/Synapse/Az.Synapse.psd1 @@ -88,7 +88,7 @@ CmdletsToExport = 'Get-AzSynapseSparkJob', 'Stop-AzSynapseSparkJob', 'New-AzSynapseWorkspace', 'Remove-AzSynapseWorkspace', 'Update-AzSynapseWorkspace', 'Get-AzSynapseSqlPool', 'New-AzSynapseSqlPool', 'Remove-AzSynapseSqlPool', - 'Get-AzSynapseSqlPoolGeoBackup', 'Get-AzSynapseSqlDeletedDatabaseBackup', + 'Get-AzSynapseSqlPoolGeoBackup', 'Get-AzSynapseDroppedSqlPool', 'Suspend-AzSynapseSqlPool', 'Resume-AzSynapseSqlPool', 'Get-AzSynapseSqlPoolRestorePoint', 'Restore-AzSynapseSqlPool', 'New-AzSynapseSqlPoolRestorePoint', diff --git a/src/Synapse/Synapse/Commands/ManagementCommands/SqlPool Backup/GetAzureSynapseSqlDeletedDatabaseBackup.cs b/src/Synapse/Synapse/Commands/ManagementCommands/SqlPool Backup/GetAzureSynapseDroppedSqlPoolBackup.cs similarity index 94% rename from src/Synapse/Synapse/Commands/ManagementCommands/SqlPool Backup/GetAzureSynapseSqlDeletedDatabaseBackup.cs rename to src/Synapse/Synapse/Commands/ManagementCommands/SqlPool Backup/GetAzureSynapseDroppedSqlPoolBackup.cs index 69d7f78f495b..da75d7d20c51 100644 --- a/src/Synapse/Synapse/Commands/ManagementCommands/SqlPool Backup/GetAzureSynapseSqlDeletedDatabaseBackup.cs +++ b/src/Synapse/Synapse/Commands/ManagementCommands/SqlPool Backup/GetAzureSynapseDroppedSqlPoolBackup.cs @@ -8,10 +8,10 @@ namespace Microsoft.Azure.Commands.Synapse { - [Cmdlet(VerbsCommon.Get, ResourceManager.Common.AzureRMConstants.AzureRMPrefix + SynapseConstants.SynapsePrefix + SynapseConstants.SqlDeletedDatabaseBackup, + [Cmdlet(VerbsCommon.Get, ResourceManager.Common.AzureRMConstants.AzureRMPrefix + SynapseConstants.SynapsePrefix + SynapseConstants.DroppedSqlPool, DefaultParameterSetName = GetByNameParameterSet)] - [OutputType(typeof(PSDeletedDatabaseBackupModel))] - public class GetAzureSynapseSqlDeletedDatabaseBackup : SynapseManagementCmdletBase + [OutputType(typeof(PSDroppedPoolBackupModel))] + public class GetAzureSynapseDroppedSqlPool : SynapseManagementCmdletBase { private const string GetByNameParameterSet = "GetByNameParameterSet"; diff --git a/src/Synapse/Synapse/Models/PSDeletedDatabaseBackupModel.cs b/src/Synapse/Synapse/Models/PSDroppedPoolBackupModel.cs similarity index 93% rename from src/Synapse/Synapse/Models/PSDeletedDatabaseBackupModel.cs rename to src/Synapse/Synapse/Models/PSDroppedPoolBackupModel.cs index 44912595134c..70f3261bfdf6 100644 --- a/src/Synapse/Synapse/Models/PSDeletedDatabaseBackupModel.cs +++ b/src/Synapse/Synapse/Models/PSDroppedPoolBackupModel.cs @@ -5,9 +5,9 @@ namespace Microsoft.Azure.Commands.Synapse.Models { - public class PSDeletedDatabaseBackupModel : ProxyResource + public class PSDroppedPoolBackupModel : ProxyResource { - public PSDeletedDatabaseBackupModel(RestorableDroppedSqlPool restorableDroppedSqlPool) + public PSDroppedPoolBackupModel(RestorableDroppedSqlPool restorableDroppedSqlPool) { this.Location = restorableDroppedSqlPool.Location; this.SqlpoolName = restorableDroppedSqlPool.DatabaseName; diff --git a/src/Synapse/Synapse/Models/SynapseAnalyticsManagementClient.cs b/src/Synapse/Synapse/Models/SynapseAnalyticsManagementClient.cs index 6a25f1407868..bec9689d8efd 100644 --- a/src/Synapse/Synapse/Models/SynapseAnalyticsManagementClient.cs +++ b/src/Synapse/Synapse/Models/SynapseAnalyticsManagementClient.cs @@ -1924,13 +1924,13 @@ public virtual async Task> ListRecoverableSqlPool(string res } } - public virtual async Task GetDroppedSqlPoolBackup(string resourceGroupName, string workspaceName, string sqlPoolAndTimeName) + public virtual async Task GetDroppedSqlPoolBackup(string resourceGroupName, string workspaceName, string sqlPoolAndTimeName) { try { var taskResponse = await _synapseManagementClient.RestorableDroppedSqlPools.GetWithHttpMessagesAsync(resourceGroupName, workspaceName, sqlPoolAndTimeName); - return new PSDeletedDatabaseBackupModel(taskResponse.Body); + return new PSDroppedPoolBackupModel(taskResponse.Body); } catch (ErrorContractException ex) { @@ -1938,17 +1938,17 @@ public virtual async Task GetDroppedSqlPoolBackup( } } - public virtual async Task> ListDroppedSqlPoolBackups (string resourceGroupName, string workspaceName) + public virtual async Task> ListDroppedSqlPoolBackups (string resourceGroupName, string workspaceName) { try { var taskResponse = await _synapseManagementClient.RestorableDroppedSqlPools.ListByWorkspaceWithHttpMessagesAsync(resourceGroupName, workspaceName); - var results = new List(); + var results = new List(); var response = taskResponse.Body; foreach (var res in response.ToList()) { - results.Add(new PSDeletedDatabaseBackupModel(res)); + results.Add(new PSDroppedPoolBackupModel(res)); } return results; diff --git a/src/Synapse/Synapse/Models/SynapseConstants.cs b/src/Synapse/Synapse/Models/SynapseConstants.cs index 94917de42c94..5765d8854deb 100644 --- a/src/Synapse/Synapse/Models/SynapseConstants.cs +++ b/src/Synapse/Synapse/Models/SynapseConstants.cs @@ -34,7 +34,7 @@ public static class SynapseConstants public const string SqlPoolGeoBackup = nameof(SqlPoolGeoBackup); - public const string SqlDeletedDatabaseBackup = nameof(SqlDeletedDatabaseBackup); + public const string DroppedSqlPool = nameof(DroppedSqlPool); public const string SqlPoolName = nameof(SqlPoolName); diff --git a/src/Synapse/Synapse/help/Az.Synapse.md b/src/Synapse/Synapse/help/Az.Synapse.md index caf934d975f6..8b3f81717795 100644 --- a/src/Synapse/Synapse/help/Az.Synapse.md +++ b/src/Synapse/Synapse/help/Az.Synapse.md @@ -53,8 +53,8 @@ Gets keys for a self-hosted integration runtime. ### [Get-AzSynapseSqlPoolGeoBackup](Get-AzSynapseSqlPoolGeoBackup.md) Gets Synapse Sql Pool Geo Backup. -### [Get-AzSynapseSqlDeletedDatabaseBackup](Get-AzSynapseSqlDeletedDatabaseBackup.md) -Gets Synapse Sql deleted database Backup. +### [Get-AzSynapseDroppedSqlPool](Get-AzSynapseDroppedSqlPool.md) +Gets Synapse Sql dropped Sql Pool Backup. ### [Get-AzSynapseIntegrationRuntimeMetric](Get-AzSynapseIntegrationRuntimeMetric.md) Gets metric data for an integration runtime. diff --git a/src/Synapse/Synapse/help/Get-AzSynapseSqlDeletedDatabaseBackup.md b/src/Synapse/Synapse/help/Get-AzSynapseDroppedSqlPoolBackup.md similarity index 70% rename from src/Synapse/Synapse/help/Get-AzSynapseSqlDeletedDatabaseBackup.md rename to src/Synapse/Synapse/help/Get-AzSynapseDroppedSqlPoolBackup.md index 20e064c77130..236e357a95a0 100644 --- a/src/Synapse/Synapse/help/Get-AzSynapseSqlDeletedDatabaseBackup.md +++ b/src/Synapse/Synapse/help/Get-AzSynapseDroppedSqlPoolBackup.md @@ -1,43 +1,43 @@ --- external help file: Microsoft.Azure.PowerShell.Cmdlets.Synapse.dll-Help.xml Module Name: Az.Synapse -online version: https://docs.microsoft.com/en-us/powershell/module/az.synapse/get-azsynapsesqldeleteddatabasebackup +online version: https://docs.microsoft.com/en-us/powershell/module/az.synapse/get-azsynapsedroppedsqlpool schema: 2.0.0 --- -# Get-AzSynapseSqlDeletedDatabaseBackup +# Get-AzSynapseDroppedSqlPool ## SYNOPSIS -Gets a deleted database backup of a Synapse Sql Pool. +Gets a dropped Sql pool backup of a Synapse Sql Pool. ## SYNTAX ### GetByNameParameterSet (Default) ``` -Get-AzSynapseSqlDeletedDatabaseBackup [-ResourceGroupName ] -WorkspaceName -Name +Get-AzSynapseDroppedSqlPool [-ResourceGroupName ] -WorkspaceName -Name [-DefaultProfile ] [] ``` ## DESCRIPTION -The **Get-AzSynapseSqlDeletedDatabaseBackup** cmdlet gets a specified deleted SQL database backup that you can restore, or all deleted backups that you can restore in a workspace. +The **Get-AzSynapseDroppedSqlPool** cmdlet gets a specified deleted SQL pool backup that you can restore, or all deleted backups that you can restore in a workspace. ## EXAMPLES ### Example 1: Get a specified backup from a sql pool ```powershell -PS C:\> Get-AzSynapseSqlDeletedDatabaseBackup -ResourceGroupName ContosoResourceGroup -WorkspaceName ContosoWorkspace -Name 'test-selfhost-ir' +PS C:\> Get-AzSynapseDroppedSqlPool -ResourceGroupName ContosoResourceGroup -WorkspaceName ContosoWorkspace -Name 'test-selfhost-ir' ``` -The cmdlet retrieves Backup for a sql pool. +The cmdlet retrieves Backup for a sql pool. ### Example 2: Get all backups on a workspace ``` -PS C:\>Get-AzSynapseSqlDeletedDatabaseBackup -ResourceGroupName "ContosoResourceGroup" -WorkspaceName "ContosoWorkspace" +PS C:\>Get-AzSynapseDroppedSqlPool -ResourceGroupName "ContosoResourceGroup" -WorkspaceName "ContosoWorkspace" ``` This command gets all available backups on a specified workspace. ### Example 3: Get all geo-redundant backups on a workspace using filtering ``` -PS C:\>Get-AzSynapseSqlDeletedDatabaseBackup -ResourceGroupName "ContosoResourceGroup" -WorkspaceName "ContosoWorkspace" -Name "Contoso*" +PS C:\>Get-AzSynapseDroppedSqlPool -ResourceGroupName "ContosoResourceGroup" -WorkspaceName "ContosoWorkspace" -Name "Contoso*" ``` This command gets all available geo-redundant backups on a specified workspace that start with "Contoso". @@ -64,7 +64,7 @@ The Synapse Sql pool. ```yaml Type: System.String Parameter Sets: GetByNameParameterSet -Aliases: AzSynapseSqlDeletedDatabaseBackup +Aliases: AzSynapseDroppedSqlPool Required: True Position: Named @@ -114,7 +114,7 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable ## OUTPUTS -### Microsoft.Azure.Commands.Synapse.Models.PSDeletedDatabaseBackupModel +### Microsoft.Azure.Commands.Synapse.Models.PSDroppedSqlPoolBackupModel ## NOTES From 76fb0548426996c215c233c955803912061b4df9 Mon Sep 17 00:00:00 2001 From: Zeshi Luo Date: Thu, 21 Jan 2021 22:20:29 +0800 Subject: [PATCH 13/19] resolve some comments --- .../ScenarioTests/SqlPoolBackupTests.ps1 | 7 ++++++- .../GetAzureSynapseDroppedSqlPoolBackup.cs | 4 ++-- .../GetAzureSynapseSqlPoolGeoBackup.cs | 2 +- src/Synapse/Synapse/Common/HelpMessages.cs | 2 ++ ...BackupModel.cs => PSRecoverableSqlPool.cs} | 14 +++---------- ...Model.cs => PSRestorableDroppedSqlPool.cs} | 14 +++---------- .../SynapseAnalyticsManagementClient.cs | 20 +++++++++---------- .../help/Get-AzSynapseDroppedSqlPoolBackup.md | 16 +++++---------- .../help/Get-AzSynapseSqlPoolGeoBackup.md | 2 +- 9 files changed, 33 insertions(+), 48 deletions(-) rename src/Synapse/Synapse/Models/{PSBackupModel.cs => PSRecoverableSqlPool.cs} (72%) rename src/Synapse/Synapse/Models/{PSDroppedPoolBackupModel.cs => PSRestorableDroppedSqlPool.cs} (82%) diff --git a/src/Synapse/Synapse.Test/ScenarioTests/SqlPoolBackupTests.ps1 b/src/Synapse/Synapse.Test/ScenarioTests/SqlPoolBackupTests.ps1 index 3992618f8234..56c792c82127 100644 --- a/src/Synapse/Synapse.Test/ScenarioTests/SqlPoolBackupTests.ps1 +++ b/src/Synapse/Synapse.Test/ScenarioTests/SqlPoolBackupTests.ps1 @@ -146,11 +146,16 @@ function Test-DroppedSqlPool try { New-AzSynapseSqlPool -ResourceGroupName $rgname -WorkspaceName $workspaceName -Name $sqlPoolName -PerformanceLevel DW400c + + # wait for a short while since it needs some time to create Wait-Seconds 80 + Remove-AzSynapseSqlPool -ResourceGroupName $rgname -WorkspaceName $workspaceName -Name $sqlPoolName -Force + + # wait for a short while since it needs some time to delete Wait-Seconds 90 - $DroppedSqlPoolGet =Get-AzSynapseDroppedSqlPool -ResourceGroupName $params.rgname -WorkspaceName $params.workspaceName# -Name $params.sqlPoolName + $DroppedSqlPoolGet =Get-AzSynapseDroppedSqlPool -ResourceGroupName $params.rgname -WorkspaceName $params.workspaceName Assert-AreEqual $sqlPoolName $DroppedSqlPoolGet[0].SqlPoolName Assert-Null $DroppedSqlPoolGet[0].ElasticPoolName Assert-NotNull $DroppedSqlPoolGet[0].Edition diff --git a/src/Synapse/Synapse/Commands/ManagementCommands/SqlPool Backup/GetAzureSynapseDroppedSqlPoolBackup.cs b/src/Synapse/Synapse/Commands/ManagementCommands/SqlPool Backup/GetAzureSynapseDroppedSqlPoolBackup.cs index da75d7d20c51..121b5982ce0b 100644 --- a/src/Synapse/Synapse/Commands/ManagementCommands/SqlPool Backup/GetAzureSynapseDroppedSqlPoolBackup.cs +++ b/src/Synapse/Synapse/Commands/ManagementCommands/SqlPool Backup/GetAzureSynapseDroppedSqlPoolBackup.cs @@ -10,7 +10,7 @@ namespace Microsoft.Azure.Commands.Synapse { [Cmdlet(VerbsCommon.Get, ResourceManager.Common.AzureRMConstants.AzureRMPrefix + SynapseConstants.SynapsePrefix + SynapseConstants.DroppedSqlPool, DefaultParameterSetName = GetByNameParameterSet)] - [OutputType(typeof(PSDroppedPoolBackupModel))] + [OutputType(typeof(PSRestorableDroppedSqlPool))] public class GetAzureSynapseDroppedSqlPool : SynapseManagementCmdletBase { private const string GetByNameParameterSet = "GetByNameParameterSet"; @@ -35,7 +35,7 @@ public class GetAzureSynapseDroppedSqlPool : SynapseManagementCmdletBase [Parameter(Mandatory = false, ValueFromPipelineByPropertyName = true, - HelpMessage = "The deletion date of the Azure Synaspe SQL Database to retrieve backups for, with millisecond precision (e.g. 2016-02-23T00:21:22.847Z)")] + HelpMessage = HelpMessages.DeletionDate)] [ValidateNotNullOrEmpty] public DateTime? DeletionDate { get; set; } diff --git a/src/Synapse/Synapse/Commands/ManagementCommands/SqlPool Backup/GetAzureSynapseSqlPoolGeoBackup.cs b/src/Synapse/Synapse/Commands/ManagementCommands/SqlPool Backup/GetAzureSynapseSqlPoolGeoBackup.cs index 6e9ffedb92f3..6e90b225ad36 100644 --- a/src/Synapse/Synapse/Commands/ManagementCommands/SqlPool Backup/GetAzureSynapseSqlPoolGeoBackup.cs +++ b/src/Synapse/Synapse/Commands/ManagementCommands/SqlPool Backup/GetAzureSynapseSqlPoolGeoBackup.cs @@ -7,7 +7,7 @@ namespace Microsoft.Azure.Commands.Synapse { [Cmdlet(VerbsCommon.Get, ResourceManager.Common.AzureRMConstants.AzureRMPrefix + SynapseConstants.SynapsePrefix + SynapseConstants.SqlPoolGeoBackup, DefaultParameterSetName = GetByNameParameterSet)] - [OutputType(typeof(PSBackupModel))] + [OutputType(typeof(PSRecoverableSqlPool))] public class GetAzureSynapseSqlPoolGeoBackup : SynapseManagementCmdletBase { private const string GetByNameParameterSet = "GetByNameParameterSet"; diff --git a/src/Synapse/Synapse/Common/HelpMessages.cs b/src/Synapse/Synapse/Common/HelpMessages.cs index 36f607645e5c..90375b955e6c 100644 --- a/src/Synapse/Synapse/Common/HelpMessages.cs +++ b/src/Synapse/Synapse/Common/HelpMessages.cs @@ -18,6 +18,8 @@ public static class HelpMessages public const string DefaultDataLakeStorageFilesystem = "The default ADLS Gen2 file system."; + public const string DeletionDate = "The deletion date of the Azure Synaspe SQL Database to retrieve backups for, with millisecond precision (e.g. 2016-02-23T00:21:22.847Z)"; + public const string ManagedVirtualNetwork = "Name of a Synapse-managed virtual network dedicated for the Azure Synapse workspace."; public const string DisallowAllConnection = "Azure Synapse Studio and other client tools will only be able to connect to the workspace endpoints if this parameter is not present. Connections from specific IP addresses or all Azure services can be allowed/disallowed after the workspace is provisioned."; diff --git a/src/Synapse/Synapse/Models/PSBackupModel.cs b/src/Synapse/Synapse/Models/PSRecoverableSqlPool.cs similarity index 72% rename from src/Synapse/Synapse/Models/PSBackupModel.cs rename to src/Synapse/Synapse/Models/PSRecoverableSqlPool.cs index c2650284c802..e9ec321de7f8 100644 --- a/src/Synapse/Synapse/Models/PSBackupModel.cs +++ b/src/Synapse/Synapse/Models/PSRecoverableSqlPool.cs @@ -5,17 +5,15 @@ namespace Microsoft.Azure.Commands.Synapse.Models { - public class PSBackupModel : ProxyResource + public class PSRecoverableSqlPool : PSSynapseProxyResource { - public PSBackupModel(RecoverableSqlPool recoverableSqlPool) + public PSRecoverableSqlPool(RecoverableSqlPool recoverableSqlPool) + : base(recoverableSqlPool?.Id, recoverableSqlPool?.Name, recoverableSqlPool?.Type) { this.Edition = recoverableSqlPool.Edition; this.ServiceLevelObjective = recoverableSqlPool.ServiceLevelObjective; this.ElasticPoolName = recoverableSqlPool.ElasticPoolName; this.LastAvailableBackupDate = recoverableSqlPool.LastAvailableBackupDate; - this.Id = recoverableSqlPool.Id; - this.Name = recoverableSqlPool.Name; - this.Type = recoverableSqlPool.Type; } public string Edition { get; set; } @@ -32,12 +30,6 @@ public PSBackupModel(RecoverableSqlPool recoverableSqlPool) // Summary: // Gets the last available backup date of the database (ISO8601 format) public DateTime? LastAvailableBackupDate { get; set; } - - public new string Id { get; set; } - - public new string Name { get; set; } - - public new string Type { get; set; } } } diff --git a/src/Synapse/Synapse/Models/PSDroppedPoolBackupModel.cs b/src/Synapse/Synapse/Models/PSRestorableDroppedSqlPool.cs similarity index 82% rename from src/Synapse/Synapse/Models/PSDroppedPoolBackupModel.cs rename to src/Synapse/Synapse/Models/PSRestorableDroppedSqlPool.cs index 70f3261bfdf6..d1c87c0cd952 100644 --- a/src/Synapse/Synapse/Models/PSDroppedPoolBackupModel.cs +++ b/src/Synapse/Synapse/Models/PSRestorableDroppedSqlPool.cs @@ -5,9 +5,10 @@ namespace Microsoft.Azure.Commands.Synapse.Models { - public class PSDroppedPoolBackupModel : ProxyResource + public class PSRestorableDroppedSqlPool : PSSynapseProxyResource { - public PSDroppedPoolBackupModel(RestorableDroppedSqlPool restorableDroppedSqlPool) + public PSRestorableDroppedSqlPool(RestorableDroppedSqlPool restorableDroppedSqlPool) + : base(restorableDroppedSqlPool?.Id, restorableDroppedSqlPool?.Name, restorableDroppedSqlPool?.Type) { this.Location = restorableDroppedSqlPool.Location; this.SqlpoolName = restorableDroppedSqlPool.DatabaseName; @@ -15,9 +16,6 @@ public PSDroppedPoolBackupModel(RestorableDroppedSqlPool restorableDroppedSqlPoo this.MaxSizeBytes = restorableDroppedSqlPool.MaxSizeBytes; this.ServiceLevelObjective = restorableDroppedSqlPool.ServiceLevelObjective; this.ElasticPoolName = restorableDroppedSqlPool.ElasticPoolName; - this.Id = restorableDroppedSqlPool.Id; - this.Name = restorableDroppedSqlPool.Name; - this.Type = restorableDroppedSqlPool.Type; this.CreationDate = restorableDroppedSqlPool.CreationDate; this.DeletionDate = restorableDroppedSqlPool.DeletionDate; this.EarliestRestoreDate = restorableDroppedSqlPool.EarliestRestoreDate; @@ -69,11 +67,5 @@ public PSDroppedPoolBackupModel(RestorableDroppedSqlPool restorableDroppedSqlPoo // Summary: // Gets the earliest restore date of the database (ISO8601 format) public DateTime? EarliestRestoreDate { get; } - - public new string Id { get; set; } - - public new string Name { get; set; } - - public new string Type { get; set; } } } \ No newline at end of file diff --git a/src/Synapse/Synapse/Models/SynapseAnalyticsManagementClient.cs b/src/Synapse/Synapse/Models/SynapseAnalyticsManagementClient.cs index bec9689d8efd..05ca87e972f1 100644 --- a/src/Synapse/Synapse/Models/SynapseAnalyticsManagementClient.cs +++ b/src/Synapse/Synapse/Models/SynapseAnalyticsManagementClient.cs @@ -1889,13 +1889,13 @@ public SqlDatabase CreateSqlDatabase(string resourceGroupName, string workspaceN } } - public virtual async Task GetRecoverableSqlPool(string resourceGroupName, string workspaceName, string sqlPoolName) + public virtual async Task GetRecoverableSqlPool(string resourceGroupName, string workspaceName, string sqlPoolName) { try { var taskResponse = await _synapseManagementClient.WorkspaceManagedSqlServerRecoverableSqlpools.GetWithHttpMessagesAsync(resourceGroupName, workspaceName, sqlPoolName); - return new PSBackupModel(taskResponse.Body); + return new PSRecoverableSqlPool(taskResponse.Body); } catch (ErrorContractException ex) { @@ -1903,17 +1903,17 @@ public virtual async Task GetRecoverableSqlPool(string resourceGr } } - public virtual async Task> ListRecoverableSqlPool(string resourceGroupName, string workspaceName) + public virtual async Task> ListRecoverableSqlPool(string resourceGroupName, string workspaceName) { try { var taskResponse = await _synapseManagementClient.WorkspaceManagedSqlServerRecoverableSqlpools.ListWithHttpMessagesAsync(resourceGroupName, workspaceName); - var results = new List(); + var results = new List(); var response = taskResponse.Body; foreach (var res in response.ToList()) { - results.Add(new PSBackupModel(res)); + results.Add(new PSRecoverableSqlPool(res)); } return results; @@ -1924,13 +1924,13 @@ public virtual async Task> ListRecoverableSqlPool(string res } } - public virtual async Task GetDroppedSqlPoolBackup(string resourceGroupName, string workspaceName, string sqlPoolAndTimeName) + public virtual async Task GetDroppedSqlPoolBackup(string resourceGroupName, string workspaceName, string sqlPoolAndTimeName) { try { var taskResponse = await _synapseManagementClient.RestorableDroppedSqlPools.GetWithHttpMessagesAsync(resourceGroupName, workspaceName, sqlPoolAndTimeName); - return new PSDroppedPoolBackupModel(taskResponse.Body); + return new PSRestorableDroppedSqlPool(taskResponse.Body); } catch (ErrorContractException ex) { @@ -1938,17 +1938,17 @@ public virtual async Task GetDroppedSqlPoolBackup(stri } } - public virtual async Task> ListDroppedSqlPoolBackups (string resourceGroupName, string workspaceName) + public virtual async Task> ListDroppedSqlPoolBackups (string resourceGroupName, string workspaceName) { try { var taskResponse = await _synapseManagementClient.RestorableDroppedSqlPools.ListByWorkspaceWithHttpMessagesAsync(resourceGroupName, workspaceName); - var results = new List(); + var results = new List(); var response = taskResponse.Body; foreach (var res in response.ToList()) { - results.Add(new PSDroppedPoolBackupModel(res)); + results.Add(new PSRestorableDroppedSqlPool(res)); } return results; diff --git a/src/Synapse/Synapse/help/Get-AzSynapseDroppedSqlPoolBackup.md b/src/Synapse/Synapse/help/Get-AzSynapseDroppedSqlPoolBackup.md index 236e357a95a0..c9262ad2f558 100644 --- a/src/Synapse/Synapse/help/Get-AzSynapseDroppedSqlPoolBackup.md +++ b/src/Synapse/Synapse/help/Get-AzSynapseDroppedSqlPoolBackup.md @@ -23,23 +23,17 @@ The **Get-AzSynapseDroppedSqlPool** cmdlet gets a specified deleted SQL pool bac ## EXAMPLES -### Example 1: Get a specified backup from a sql pool +### Example 1: Get a specified dropped sqlpools from a sql pool ```powershell -PS C:\> Get-AzSynapseDroppedSqlPool -ResourceGroupName ContosoResourceGroup -WorkspaceName ContosoWorkspace -Name 'test-selfhost-ir' +PS C:\> Get-AzSynapseDroppedSqlPool -ResourceGroupName ContosoResourceGroup -WorkspaceName ContosoWorkspace -Name "ContosoSqlPool" ``` -The cmdlet retrieves Backup for a sql pool. +The cmdlet retrieves dropped sqlpools for a sql pool. -### Example 2: Get all backups on a workspace +### Example 2: Get all dropped sqlpool on a workspace ``` PS C:\>Get-AzSynapseDroppedSqlPool -ResourceGroupName "ContosoResourceGroup" -WorkspaceName "ContosoWorkspace" ``` -This command gets all available backups on a specified workspace. - -### Example 3: Get all geo-redundant backups on a workspace using filtering -``` -PS C:\>Get-AzSynapseDroppedSqlPool -ResourceGroupName "ContosoResourceGroup" -WorkspaceName "ContosoWorkspace" -Name "Contoso*" -``` -This command gets all available geo-redundant backups on a specified workspace that start with "Contoso". +This command gets all available dropped sqlpool on a specified workspace. ## PARAMETERS diff --git a/src/Synapse/Synapse/help/Get-AzSynapseSqlPoolGeoBackup.md b/src/Synapse/Synapse/help/Get-AzSynapseSqlPoolGeoBackup.md index df7cfd18433b..64f29035dc3a 100644 --- a/src/Synapse/Synapse/help/Get-AzSynapseSqlPoolGeoBackup.md +++ b/src/Synapse/Synapse/help/Get-AzSynapseSqlPoolGeoBackup.md @@ -26,7 +26,7 @@ You can use Geo-Restore to restore a geo-redundant backup in the event of a regi ### Example 1: Get a specified geo-redundant backup ```powershell -PS C:\> Get-AzSynapseSqlPoolGeoBackup -ResourceGroupName ContosoResourceGroup -WorkspaceName ContosoWorkspace -Name 'test-selfhost-ir' +PS C:\> Get-AzSynapseSqlPoolGeoBackup -ResourceGroupName ContosoResourceGroup -WorkspaceName ContosoWorkspace -Name "ContosoSqlPool" ``` The cmdlet retrieves Geo Backup for a sql pool. From 0f94d135323078d4332cc0a908f238e1eade2c7b Mon Sep 17 00:00:00 2001 From: Zeshi Luo Date: Mon, 25 Jan 2021 19:38:51 +0800 Subject: [PATCH 14/19] resovle function problem --- .../ScenarioTests/SqlPoolBackupTests.ps1 | 10 ++--- .../GetAzureSynapseDroppedSqlPoolBackup.cs | 8 ++-- .../GetAzureSynapseSqlPoolGeoBackup.cs | 7 ++-- .../SynapseAnalyticsManagementClient.cs | 40 ++++++------------- src/Synapse/Synapse/help/Az.Synapse.md | 12 +++--- 5 files changed, 28 insertions(+), 49 deletions(-) diff --git a/src/Synapse/Synapse.Test/ScenarioTests/SqlPoolBackupTests.ps1 b/src/Synapse/Synapse.Test/ScenarioTests/SqlPoolBackupTests.ps1 index 56c792c82127..fe1bb93c71f5 100644 --- a/src/Synapse/Synapse.Test/ScenarioTests/SqlPoolBackupTests.ps1 +++ b/src/Synapse/Synapse.Test/ScenarioTests/SqlPoolBackupTests.ps1 @@ -120,7 +120,6 @@ function Test-SqlPoolGeoBackup Assert-NotNull $SqlPoolGeoBackupGet[0].LastAvailableBackupDate $SqlPoolGeoBackupGetByPool =Get-AzSynapseSqlPoolGeoBackup -ResourceGroupName $params.rgname -WorkspaceName $params.workspaceName -Name $params.sqlPoolName - Assert-AreEqual 1 $SqlPoolGeoBackupGetByPool.Count Assert-AreEqual $params.sqlPoolName $SqlPoolGeoBackupGetByPool.Name Assert-Null $SqlPoolGeoBackupGetByPool.ElasticPoolName Assert-NotNull $SqlPoolGeoBackupGetByPool.Edition @@ -136,7 +135,7 @@ function Test-SqlPoolGeoBackup function Test-DroppedSqlPool { # Setup - $testSuffix = 'ps2504' + $testSuffix = 'ps2503' $params = Get-SqlPoolBackupTestEnvironmentParameters $testSuffix $rgname = $params.rgname @@ -151,12 +150,9 @@ function Test-DroppedSqlPool Wait-Seconds 80 Remove-AzSynapseSqlPool -ResourceGroupName $rgname -WorkspaceName $workspaceName -Name $sqlPoolName -Force - - # wait for a short while since it needs some time to delete - Wait-Seconds 90 $DroppedSqlPoolGet =Get-AzSynapseDroppedSqlPool -ResourceGroupName $params.rgname -WorkspaceName $params.workspaceName - Assert-AreEqual $sqlPoolName $DroppedSqlPoolGet[0].SqlPoolName + Assert-AreEqual $sqlPoolName $DroppedSqlPoolGet[0].DatabaseName Assert-Null $DroppedSqlPoolGet[0].ElasticPoolName Assert-NotNull $DroppedSqlPoolGet[0].Edition Assert-NotNull $DroppedSqlPoolGet[0].MaxSizeBytes @@ -166,7 +162,7 @@ function Test-DroppedSqlPool Assert-NotNull $DroppedSqlPoolGet[0].EarliestRestoreDate $DroppedSqlPoolGetByPool= Get-AzSynapseDroppedSqlPool -ResourceGroupName $params.rgname -WorkspaceName $params.workspaceName -Name $params.sqlPoolName - Assert-AreEqual $sqlPoolName $DroppedSqlPoolGetByPool[0].SqlPoolName + Assert-AreEqual $sqlPoolName $DroppedSqlPoolGetByPool[0].DatabaseName Assert-Null $DroppedSqlPoolGetByPool[0].ElasticPoolName Assert-NotNull $DroppedSqlPoolGetByPool[0].Edition Assert-NotNull $DroppedSqlPoolGetByPool[0].MaxSizeBytes diff --git a/src/Synapse/Synapse/Commands/ManagementCommands/SqlPool Backup/GetAzureSynapseDroppedSqlPoolBackup.cs b/src/Synapse/Synapse/Commands/ManagementCommands/SqlPool Backup/GetAzureSynapseDroppedSqlPoolBackup.cs index 121b5982ce0b..bac45e633e24 100644 --- a/src/Synapse/Synapse/Commands/ManagementCommands/SqlPool Backup/GetAzureSynapseDroppedSqlPoolBackup.cs +++ b/src/Synapse/Synapse/Commands/ManagementCommands/SqlPool Backup/GetAzureSynapseDroppedSqlPoolBackup.cs @@ -45,18 +45,18 @@ public override void ExecuteCmdlet() { if (MyInvocation.BoundParameters.ContainsKey("DeletionDate")) { - var result = this.SynapseAnalyticsClient.GetDroppedSqlPoolBackup(this.ResourceGroupName, this.WorkspaceName, this.Name + "," + this.DeletionDate.Value.ToFileTimeUtc().ToString()).ConfigureAwait(true).GetAwaiter().GetResult(); - WriteObject(result, true); + var result = this.SynapseAnalyticsClient.GetDroppedSqlPoolBackup(this.ResourceGroupName, this.WorkspaceName, this.Name + "," + this.DeletionDate.Value.ToFileTimeUtc().ToString()); + WriteObject(result); } else { - var results = this.SynapseAnalyticsClient.ListDroppedSqlPoolBackups(this.ResourceGroupName, this.WorkspaceName).ConfigureAwait(true).GetAwaiter().GetResult().Where(backup => backup.SqlpoolName == Name).ToList(); + var results = this.SynapseAnalyticsClient.ListDroppedSqlPoolBackups(this.ResourceGroupName, this.WorkspaceName).Where(backup => backup.DatabaseName == Name).ToList(); WriteObject(results, true); } } else { - var results = this.SynapseAnalyticsClient.ListDroppedSqlPoolBackups(this.ResourceGroupName, this.WorkspaceName).ConfigureAwait(true).GetAwaiter().GetResult(); + var results = this.SynapseAnalyticsClient.ListDroppedSqlPoolBackups(this.ResourceGroupName, this.WorkspaceName); WriteObject(results, true); } } diff --git a/src/Synapse/Synapse/Commands/ManagementCommands/SqlPool Backup/GetAzureSynapseSqlPoolGeoBackup.cs b/src/Synapse/Synapse/Commands/ManagementCommands/SqlPool Backup/GetAzureSynapseSqlPoolGeoBackup.cs index 6e90b225ad36..36b9488ca8ec 100644 --- a/src/Synapse/Synapse/Commands/ManagementCommands/SqlPool Backup/GetAzureSynapseSqlPoolGeoBackup.cs +++ b/src/Synapse/Synapse/Commands/ManagementCommands/SqlPool Backup/GetAzureSynapseSqlPoolGeoBackup.cs @@ -30,17 +30,16 @@ public class GetAzureSynapseSqlPoolGeoBackup : SynapseManagementCmdletBase [ValidateNotNullOrEmpty] public string Name { get; set; } - public override void ExecuteCmdlet() + public override void ExecuteCmdlet() { if (MyInvocation.BoundParameters.ContainsKey("Name") && !WildcardPattern.ContainsWildcardCharacters(Name)) { - var result = this.SynapseAnalyticsClient.GetRecoverableSqlPool(ResourceGroupName, WorkspaceName, Name).ConfigureAwait(true).GetAwaiter().GetResult(); + var result = this.SynapseAnalyticsClient.GetRecoverableSqlPool(ResourceGroupName, WorkspaceName, Name); WriteObject(result); } else { - var results = this.SynapseAnalyticsClient.ListRecoverableSqlPool(this.ResourceGroupName, this.WorkspaceName).ConfigureAwait(true).GetAwaiter().GetResult(); - results = SubResourceWildcardFilter(Name, results); + var results = this.SynapseAnalyticsClient.ListRecoverableSqlPool(this.ResourceGroupName, this.WorkspaceName); WriteObject(results, true); } } diff --git a/src/Synapse/Synapse/Models/SynapseAnalyticsManagementClient.cs b/src/Synapse/Synapse/Models/SynapseAnalyticsManagementClient.cs index 05ca87e972f1..3a0242ec64d1 100644 --- a/src/Synapse/Synapse/Models/SynapseAnalyticsManagementClient.cs +++ b/src/Synapse/Synapse/Models/SynapseAnalyticsManagementClient.cs @@ -1889,13 +1889,13 @@ public SqlDatabase CreateSqlDatabase(string resourceGroupName, string workspaceN } } - public virtual async Task GetRecoverableSqlPool(string resourceGroupName, string workspaceName, string sqlPoolName) + public PSRecoverableSqlPool GetRecoverableSqlPool(string resourceGroupName, string workspaceName, string sqlPoolName) { try { - var taskResponse = await _synapseManagementClient.WorkspaceManagedSqlServerRecoverableSqlpools.GetWithHttpMessagesAsync(resourceGroupName, workspaceName, sqlPoolName); + var recoverableSqlPool = this._synapseManagementClient.WorkspaceManagedSqlServerRecoverableSqlpools.Get(resourceGroupName, workspaceName, sqlPoolName); - return new PSRecoverableSqlPool(taskResponse.Body); + return new PSRecoverableSqlPool(recoverableSqlPool); } catch (ErrorContractException ex) { @@ -1903,20 +1903,12 @@ public virtual async Task GetRecoverableSqlPool(string res } } - public virtual async Task> ListRecoverableSqlPool(string resourceGroupName, string workspaceName) + public List ListRecoverableSqlPool(string resourceGroupName, string workspaceName) { try { - var taskResponse = await _synapseManagementClient.WorkspaceManagedSqlServerRecoverableSqlpools.ListWithHttpMessagesAsync(resourceGroupName, workspaceName); - var results = new List(); - var response = taskResponse.Body; - - foreach (var res in response.ToList()) - { - results.Add(new PSRecoverableSqlPool(res)); - } - - return results; + var firstPage = this._synapseManagementClient.WorkspaceManagedSqlServerRecoverableSqlpools.List(resourceGroupName, workspaceName); + return ListResources(firstPage, _synapseManagementClient.WorkspaceManagedSqlServerRecoverableSqlpools.ListNext); } catch (ErrorContractException ex) { @@ -1924,13 +1916,13 @@ public virtual async Task> ListRecoverableSqlPool(str } } - public virtual async Task GetDroppedSqlPoolBackup(string resourceGroupName, string workspaceName, string sqlPoolAndTimeName) + public PSRestorableDroppedSqlPool GetDroppedSqlPoolBackup(string resourceGroupName, string workspaceName, string sqlPoolAndTimeName) { try { - var taskResponse = await _synapseManagementClient.RestorableDroppedSqlPools.GetWithHttpMessagesAsync(resourceGroupName, workspaceName, sqlPoolAndTimeName); + var restorableDroppedSqlPool = this._synapseManagementClient.RestorableDroppedSqlPools.Get(resourceGroupName, workspaceName, sqlPoolAndTimeName); - return new PSRestorableDroppedSqlPool(taskResponse.Body); + return new PSRestorableDroppedSqlPool(restorableDroppedSqlPool); } catch (ErrorContractException ex) { @@ -1938,20 +1930,12 @@ public virtual async Task GetDroppedSqlPoolBackup(st } } - public virtual async Task> ListDroppedSqlPoolBackups (string resourceGroupName, string workspaceName) + public List ListDroppedSqlPoolBackups (string resourceGroupName, string workspaceName) { try { - var taskResponse = await _synapseManagementClient.RestorableDroppedSqlPools.ListByWorkspaceWithHttpMessagesAsync(resourceGroupName, workspaceName); - var results = new List(); - var response = taskResponse.Body; - - foreach (var res in response.ToList()) - { - results.Add(new PSRestorableDroppedSqlPool(res)); - } - - return results; + var restorableDroppedSqlPoolList = this._synapseManagementClient.RestorableDroppedSqlPools.ListByWorkspace(resourceGroupName, workspaceName); + return new List(restorableDroppedSqlPoolList); } catch (ErrorContractException ex) { diff --git a/src/Synapse/Synapse/help/Az.Synapse.md b/src/Synapse/Synapse/help/Az.Synapse.md index 8b3f81717795..19eff95a2b50 100644 --- a/src/Synapse/Synapse/help/Az.Synapse.md +++ b/src/Synapse/Synapse/help/Az.Synapse.md @@ -41,6 +41,9 @@ Gets information about data flows in workspace. ### [Get-AzSynapseDataset](Get-AzSynapseDataset.md) Gets information about datasets in workspace. +### [Get-AzSynapseDroppedSqlPool](Get-AzSynapseDroppedSqlPool.md) +This feature is in a limited preview, initially accessible only to certain subscriptions. Gets Synapse Sql dropped Sql Pool Backup. + ### [Get-AzSynapseFirewallRule](Get-AzSynapseFirewallRule.md) Gets a Synapse Analytics Firewall Rule. @@ -50,12 +53,6 @@ Gets information about integration runtime resources. ### [Get-AzSynapseIntegrationRuntimeKey](Get-AzSynapseIntegrationRuntimeKey.md) Gets keys for a self-hosted integration runtime. -### [Get-AzSynapseSqlPoolGeoBackup](Get-AzSynapseSqlPoolGeoBackup.md) -Gets Synapse Sql Pool Geo Backup. - -### [Get-AzSynapseDroppedSqlPool](Get-AzSynapseDroppedSqlPool.md) -Gets Synapse Sql dropped Sql Pool Backup. - ### [Get-AzSynapseIntegrationRuntimeMetric](Get-AzSynapseIntegrationRuntimeMetric.md) Gets metric data for an integration runtime. @@ -116,6 +113,9 @@ Gets the advanced threat protection settings for a SQL pool. ### [Get-AzSynapseSqlPoolAuditSetting](Get-AzSynapseSqlPoolAuditSetting.md) Gets the auditing settings of an Azure Synapse Analytics SQL pool. +### [Get-AzSynapseSqlPoolGeoBackup](Get-AzSynapseSqlPoolGeoBackup.md) +This feature is in a limited preview, initially accessible only to certain subscriptions. Gets Synapse Sql Pool Geo Backup. + ### [Get-AzSynapseSqlPoolRestorePoint](Get-AzSynapseSqlPoolRestorePoint.md) Retrieves the distinct restore points from which a Synapse Analytics SQL pool can be restored. From f5261fcb4d8ffd3b7130e09ca601d31db856b4d0 Mon Sep 17 00:00:00 2001 From: Zeshi Luo Date: Tue, 26 Jan 2021 17:52:29 +0800 Subject: [PATCH 15/19] test improvement --- .../ScenarioTests/SqlPoolBackupTests.ps1 | 26 +- .../TestDroppedSqlPool.json | 4156 +++++++++++++++++ .../TestSqlPoolGeoBackup.json | 1724 +++++++ .../Synapse/Models/PSRecoverableSqlPool.cs | 4 +- .../Models/PSRestorableDroppedSqlPool.cs | 2 - .../SynapseAnalyticsManagementClient.cs | 4 +- src/Synapse/Synapse/help/Az.Synapse.md | 4 +- 7 files changed, 5897 insertions(+), 23 deletions(-) create mode 100644 src/Synapse/Synapse.Test/SessionRecords/Microsoft.Azure.Commands.Synapse.Test.ScenarioTests.SqlPoolBackupTests/TestDroppedSqlPool.json create mode 100644 src/Synapse/Synapse.Test/SessionRecords/Microsoft.Azure.Commands.Synapse.Test.ScenarioTests.SqlPoolBackupTests/TestSqlPoolGeoBackup.json diff --git a/src/Synapse/Synapse.Test/ScenarioTests/SqlPoolBackupTests.ps1 b/src/Synapse/Synapse.Test/ScenarioTests/SqlPoolBackupTests.ps1 index fe1bb93c71f5..dacd0e4b5a0f 100644 --- a/src/Synapse/Synapse.Test/ScenarioTests/SqlPoolBackupTests.ps1 +++ b/src/Synapse/Synapse.Test/ScenarioTests/SqlPoolBackupTests.ps1 @@ -128,31 +128,25 @@ function Test-SqlPoolGeoBackup finally { # Cleanup - #Remove-SqlPoolBackupTestEnvironment $testSuffix + Remove-SqlPoolBackupTestEnvironment $testSuffix } } function Test-DroppedSqlPool { # Setup - $testSuffix = 'ps2503' - $params = Get-SqlPoolBackupTestEnvironmentParameters $testSuffix - - $rgname = $params.rgname - $workspaceName = $params.workspaceName - $sqlPoolName = $params.sqlPoolName + $testSuffix = getAssetName + Create-SqlPoolBackupTestEnvironment $testSuffix + $params = Get-SqlPoolBackupTestEnvironmentParameters $testSuffix try { - New-AzSynapseSqlPool -ResourceGroupName $rgname -WorkspaceName $workspaceName -Name $sqlPoolName -PerformanceLevel DW400c - - # wait for a short while since it needs some time to create - Wait-Seconds 80 + Remove-AzSynapseSqlPool -ResourceGroupName $params.rgname -WorkspaceName $params.workspaceName -Name $params.sqlPoolName -Force - Remove-AzSynapseSqlPool -ResourceGroupName $rgname -WorkspaceName $workspaceName -Name $sqlPoolName -Force + Wait-Seconds 300 $DroppedSqlPoolGet =Get-AzSynapseDroppedSqlPool -ResourceGroupName $params.rgname -WorkspaceName $params.workspaceName - Assert-AreEqual $sqlPoolName $DroppedSqlPoolGet[0].DatabaseName + Assert-AreEqual $params.sqlPoolName $DroppedSqlPoolGet[0].DatabaseName Assert-Null $DroppedSqlPoolGet[0].ElasticPoolName Assert-NotNull $DroppedSqlPoolGet[0].Edition Assert-NotNull $DroppedSqlPoolGet[0].MaxSizeBytes @@ -162,7 +156,7 @@ function Test-DroppedSqlPool Assert-NotNull $DroppedSqlPoolGet[0].EarliestRestoreDate $DroppedSqlPoolGetByPool= Get-AzSynapseDroppedSqlPool -ResourceGroupName $params.rgname -WorkspaceName $params.workspaceName -Name $params.sqlPoolName - Assert-AreEqual $sqlPoolName $DroppedSqlPoolGetByPool[0].DatabaseName + Assert-AreEqual $params.sqlPoolName $DroppedSqlPoolGetByPool[0].DatabaseName Assert-Null $DroppedSqlPoolGetByPool[0].ElasticPoolName Assert-NotNull $DroppedSqlPoolGetByPool[0].Edition Assert-NotNull $DroppedSqlPoolGetByPool[0].MaxSizeBytes @@ -174,7 +168,7 @@ function Test-DroppedSqlPool finally { # Cleanup - #Remove-SqlPoolBackupTestEnvironment $testSuffix + Remove-SqlPoolBackupTestEnvironment $testSuffix } } <# @@ -275,7 +269,7 @@ function Get-SqlPoolBackupTestEnvironmentParameters ($testSuffix) loginName = "testlogin"; pwd = "testp@ssMakingIt1007Longer"; perfLevel = 'DW200c'; - location = "westcentralus"; + location = "northeurope"; restoredSqlPoolName = "dwrestore" + $testSuffix; } } diff --git a/src/Synapse/Synapse.Test/SessionRecords/Microsoft.Azure.Commands.Synapse.Test.ScenarioTests.SqlPoolBackupTests/TestDroppedSqlPool.json b/src/Synapse/Synapse.Test/SessionRecords/Microsoft.Azure.Commands.Synapse.Test.ScenarioTests.SqlPoolBackupTests/TestDroppedSqlPool.json new file mode 100644 index 000000000000..2da7c0756a2d --- /dev/null +++ b/src/Synapse/Synapse.Test/SessionRecords/Microsoft.Azure.Commands.Synapse.Test.ScenarioTests.SqlPoolBackupTests/TestDroppedSqlPool.json @@ -0,0 +1,4156 @@ +{ + "Entries": [ + { + "RequestUri": "/subscriptions/051ddeca-1ed6-4d8b-ba6f-1ff561e5f3b3/resourcegroups/sql-bk-cmdlet-test-rgps3647?api-version=2016-09-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMDUxZGRlY2EtMWVkNi00ZDhiLWJhNmYtMWZmNTYxZTVmM2IzL3Jlc291cmNlZ3JvdXBzL3NxbC1iay1jbWRsZXQtdGVzdC1yZ3BzMzY0Nz9hcGktdmVyc2lvbj0yMDE2LTA5LTAx", + "RequestMethod": "PUT", + "RequestBody": "{\r\n \"location\": \"northeurope\"\r\n}", + "RequestHeaders": { + "x-ms-client-request-id": [ + "06afea68-34ff-48d4-a01b-51025d56ec52" + ], + "Accept-Language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.29518.01", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.19042.", + "Microsoft.Azure.Management.Internal.Resources.ResourceManagementClient/1.3.30" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Content-Length": [ + "33" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-writes": [ + "1199" + ], + "x-ms-request-id": [ + "58b1f477-b5c2-4069-ac2b-2f03405b1847" + ], + "x-ms-correlation-request-id": [ + "58b1f477-b5c2-4069-ac2b-2f03405b1847" + ], + "x-ms-routing-request-id": [ + "JAPANEAST:20210126T082433Z:58b1f477-b5c2-4069-ac2b-2f03405b1847" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Tue, 26 Jan 2021 08:24:33 GMT" + ], + "Content-Length": [ + "212" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/051ddeca-1ed6-4d8b-ba6f-1ff561e5f3b3/resourceGroups/sql-bk-cmdlet-test-rgps3647\",\r\n \"name\": \"sql-bk-cmdlet-test-rgps3647\",\r\n \"location\": \"northeurope\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n}", + "StatusCode": 201 + }, + { + "RequestUri": "/subscriptions/051ddeca-1ed6-4d8b-ba6f-1ff561e5f3b3/providers/Microsoft.Storage/checkNameAvailability?api-version=2019-06-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMDUxZGRlY2EtMWVkNi00ZDhiLWJhNmYtMWZmNTYxZTVmM2IzL3Byb3ZpZGVycy9NaWNyb3NvZnQuU3RvcmFnZS9jaGVja05hbWVBdmFpbGFiaWxpdHk/YXBpLXZlcnNpb249MjAxOS0wNi0wMQ==", + "RequestMethod": "POST", + "RequestBody": "{\r\n \"name\": \"sqlbkstorageps3647\",\r\n \"type\": \"Microsoft.Storage/storageAccounts\"\r\n}", + "RequestHeaders": { + "x-ms-client-request-id": [ + "6acc6ae8-2971-40fc-9c6b-59e2823cb16c" + ], + "Accept-Language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.29518.01", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.19042.", + "Microsoft.Azure.Management.Storage.StorageManagementClient/17.1.0.0" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Content-Length": [ + "84" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-request-id": [ + "5ff9a70c-7573-440e-bfa8-c03cdf7502b8" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Server": [ + "Microsoft-Azure-Storage-Resource-Provider/1.0,Microsoft-HTTPAPI/2.0 Microsoft-HTTPAPI/2.0" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11779" + ], + "x-ms-correlation-request-id": [ + "cd85d27e-ebf2-4a40-9867-4815e8c9a749" + ], + "x-ms-routing-request-id": [ + "JAPANEAST:20210126T082435Z:cd85d27e-ebf2-4a40-9867-4815e8c9a749" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Tue, 26 Jan 2021 08:24:34 GMT" + ], + "Content-Length": [ + "22" + ], + "Content-Type": [ + "application/json" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"nameAvailable\": true\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/051ddeca-1ed6-4d8b-ba6f-1ff561e5f3b3/resourceGroups/sql-bk-cmdlet-test-rgps3647/providers/Microsoft.Storage/storageAccounts/sqlbkstorageps3647?api-version=2019-06-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMDUxZGRlY2EtMWVkNi00ZDhiLWJhNmYtMWZmNTYxZTVmM2IzL3Jlc291cmNlR3JvdXBzL3NxbC1iay1jbWRsZXQtdGVzdC1yZ3BzMzY0Ny9wcm92aWRlcnMvTWljcm9zb2Z0LlN0b3JhZ2Uvc3RvcmFnZUFjY291bnRzL3NxbGJrc3RvcmFnZXBzMzY0Nz9hcGktdmVyc2lvbj0yMDE5LTA2LTAx", + "RequestMethod": "PUT", + "RequestBody": "{\r\n \"sku\": {\r\n \"name\": \"Standard_GRS\"\r\n },\r\n \"kind\": \"StorageV2\",\r\n \"location\": \"northeurope\",\r\n \"properties\": {\r\n \"isHnsEnabled\": true\r\n }\r\n}", + "RequestHeaders": { + "x-ms-client-request-id": [ + "6acc6ae8-2971-40fc-9c6b-59e2823cb16c" + ], + "Accept-Language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.29518.01", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.19042.", + "Microsoft.Azure.Management.Storage.StorageManagementClient/17.1.0.0" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Content-Length": [ + "154" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "Location": [ + "https://management.azure.com/subscriptions/051ddeca-1ed6-4d8b-ba6f-1ff561e5f3b3/providers/Microsoft.Storage/locations/northeurope/asyncoperations/aeecdebb-70a4-45be-98a4-5c35de64e45d?monitor=true&api-version=2019-06-01" + ], + "Retry-After": [ + "17" + ], + "x-ms-request-id": [ + "aeecdebb-70a4-45be-98a4-5c35de64e45d" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Server": [ + "Microsoft-Azure-Storage-Resource-Provider/1.0,Microsoft-HTTPAPI/2.0 Microsoft-HTTPAPI/2.0" + ], + "x-ms-ratelimit-remaining-subscription-writes": [ + "1199" + ], + "x-ms-correlation-request-id": [ + "1b155e5a-8870-4a6b-8aa2-6ca976754b2c" + ], + "x-ms-routing-request-id": [ + "JAPANEAST:20210126T082446Z:1b155e5a-8870-4a6b-8aa2-6ca976754b2c" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Tue, 26 Jan 2021 08:24:46 GMT" + ], + "Content-Type": [ + "text/plain; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Content-Length": [ + "0" + ] + }, + "ResponseBody": "", + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/051ddeca-1ed6-4d8b-ba6f-1ff561e5f3b3/providers/Microsoft.Storage/locations/northeurope/asyncoperations/aeecdebb-70a4-45be-98a4-5c35de64e45d?monitor=true&api-version=2019-06-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMDUxZGRlY2EtMWVkNi00ZDhiLWJhNmYtMWZmNTYxZTVmM2IzL3Byb3ZpZGVycy9NaWNyb3NvZnQuU3RvcmFnZS9sb2NhdGlvbnMvbm9ydGhldXJvcGUvYXN5bmNvcGVyYXRpb25zL2FlZWNkZWJiLTcwYTQtNDViZS05OGE0LTVjMzVkZTY0ZTQ1ZD9tb25pdG9yPXRydWUmYXBpLXZlcnNpb249MjAxOS0wNi0wMQ==", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-client-request-id": [ + "6acc6ae8-2971-40fc-9c6b-59e2823cb16c" + ], + "User-Agent": [ + "FxVersion/4.6.29518.01", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.19042.", + "Microsoft.Azure.Management.Storage.StorageManagementClient/17.1.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-request-id": [ + "4b49e451-1352-45b9-bebf-39094ba3424d" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Server": [ + "Microsoft-Azure-Storage-Resource-Provider/1.0,Microsoft-HTTPAPI/2.0 Microsoft-HTTPAPI/2.0" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11809" + ], + "x-ms-correlation-request-id": [ + "2ad4ac6f-d166-4a5e-bcb3-8e732a9648b9" + ], + "x-ms-routing-request-id": [ + "JAPANEAST:20210126T082504Z:2ad4ac6f-d166-4a5e-bcb3-8e732a9648b9" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Tue, 26 Jan 2021 08:25:03 GMT" + ], + "Content-Length": [ + "1390" + ], + "Content-Type": [ + "application/json" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"sku\": {\r\n \"name\": \"Standard_GRS\",\r\n \"tier\": \"Standard\"\r\n },\r\n \"kind\": \"StorageV2\",\r\n \"id\": \"/subscriptions/051ddeca-1ed6-4d8b-ba6f-1ff561e5f3b3/resourceGroups/sql-bk-cmdlet-test-rgps3647/providers/Microsoft.Storage/storageAccounts/sqlbkstorageps3647\",\r\n \"name\": \"sqlbkstorageps3647\",\r\n \"type\": \"Microsoft.Storage/storageAccounts\",\r\n \"location\": \"northeurope\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"privateEndpointConnections\": [],\r\n \"isHnsEnabled\": true,\r\n \"networkAcls\": {\r\n \"bypass\": \"AzureServices\",\r\n \"virtualNetworkRules\": [],\r\n \"ipRules\": [],\r\n \"defaultAction\": \"Allow\"\r\n },\r\n \"supportsHttpsTrafficOnly\": true,\r\n \"encryption\": {\r\n \"services\": {\r\n \"file\": {\r\n \"keyType\": \"Account\",\r\n \"enabled\": true,\r\n \"lastEnabledTime\": \"2021-01-26T08:24:45.9632741Z\"\r\n },\r\n \"blob\": {\r\n \"keyType\": \"Account\",\r\n \"enabled\": true,\r\n \"lastEnabledTime\": \"2021-01-26T08:24:45.9632741Z\"\r\n }\r\n },\r\n \"keySource\": \"Microsoft.Storage\"\r\n },\r\n \"accessTier\": \"Hot\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"creationTime\": \"2021-01-26T08:24:45.8070591Z\",\r\n \"primaryEndpoints\": {\r\n \"dfs\": \"https://sqlbkstorageps3647.dfs.core.windows.net/\",\r\n \"web\": \"https://sqlbkstorageps3647.z16.web.core.windows.net/\",\r\n \"blob\": \"https://sqlbkstorageps3647.blob.core.windows.net/\",\r\n \"queue\": \"https://sqlbkstorageps3647.queue.core.windows.net/\",\r\n \"table\": \"https://sqlbkstorageps3647.table.core.windows.net/\",\r\n \"file\": \"https://sqlbkstorageps3647.file.core.windows.net/\"\r\n },\r\n \"primaryLocation\": \"northeurope\",\r\n \"statusOfPrimary\": \"available\",\r\n \"secondaryLocation\": \"westeurope\",\r\n \"statusOfSecondary\": \"available\"\r\n }\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/051ddeca-1ed6-4d8b-ba6f-1ff561e5f3b3/resourceGroups/sql-bk-cmdlet-test-rgps3647/providers/Microsoft.Storage/storageAccounts/sqlbkstorageps3647?api-version=2019-06-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMDUxZGRlY2EtMWVkNi00ZDhiLWJhNmYtMWZmNTYxZTVmM2IzL3Jlc291cmNlR3JvdXBzL3NxbC1iay1jbWRsZXQtdGVzdC1yZ3BzMzY0Ny9wcm92aWRlcnMvTWljcm9zb2Z0LlN0b3JhZ2Uvc3RvcmFnZUFjY291bnRzL3NxbGJrc3RvcmFnZXBzMzY0Nz9hcGktdmVyc2lvbj0yMDE5LTA2LTAx", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-client-request-id": [ + "6acc6ae8-2971-40fc-9c6b-59e2823cb16c" + ], + "Accept-Language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.29518.01", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.19042.", + "Microsoft.Azure.Management.Storage.StorageManagementClient/17.1.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-request-id": [ + "b8d8f16b-bda2-4142-8cbb-516dc5c5abac" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Server": [ + "Microsoft-Azure-Storage-Resource-Provider/1.0,Microsoft-HTTPAPI/2.0 Microsoft-HTTPAPI/2.0" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11808" + ], + "x-ms-correlation-request-id": [ + "c6ccaae5-fcc3-48df-b0ac-9cd6ce120693" + ], + "x-ms-routing-request-id": [ + "JAPANEAST:20210126T082504Z:c6ccaae5-fcc3-48df-b0ac-9cd6ce120693" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Tue, 26 Jan 2021 08:25:03 GMT" + ], + "Content-Length": [ + "1390" + ], + "Content-Type": [ + "application/json" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"sku\": {\r\n \"name\": \"Standard_GRS\",\r\n \"tier\": \"Standard\"\r\n },\r\n \"kind\": \"StorageV2\",\r\n \"id\": \"/subscriptions/051ddeca-1ed6-4d8b-ba6f-1ff561e5f3b3/resourceGroups/sql-bk-cmdlet-test-rgps3647/providers/Microsoft.Storage/storageAccounts/sqlbkstorageps3647\",\r\n \"name\": \"sqlbkstorageps3647\",\r\n \"type\": \"Microsoft.Storage/storageAccounts\",\r\n \"location\": \"northeurope\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"privateEndpointConnections\": [],\r\n \"isHnsEnabled\": true,\r\n \"networkAcls\": {\r\n \"bypass\": \"AzureServices\",\r\n \"virtualNetworkRules\": [],\r\n \"ipRules\": [],\r\n \"defaultAction\": \"Allow\"\r\n },\r\n \"supportsHttpsTrafficOnly\": true,\r\n \"encryption\": {\r\n \"services\": {\r\n \"file\": {\r\n \"keyType\": \"Account\",\r\n \"enabled\": true,\r\n \"lastEnabledTime\": \"2021-01-26T08:24:45.9632741Z\"\r\n },\r\n \"blob\": {\r\n \"keyType\": \"Account\",\r\n \"enabled\": true,\r\n \"lastEnabledTime\": \"2021-01-26T08:24:45.9632741Z\"\r\n }\r\n },\r\n \"keySource\": \"Microsoft.Storage\"\r\n },\r\n \"accessTier\": \"Hot\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"creationTime\": \"2021-01-26T08:24:45.8070591Z\",\r\n \"primaryEndpoints\": {\r\n \"dfs\": \"https://sqlbkstorageps3647.dfs.core.windows.net/\",\r\n \"web\": \"https://sqlbkstorageps3647.z16.web.core.windows.net/\",\r\n \"blob\": \"https://sqlbkstorageps3647.blob.core.windows.net/\",\r\n \"queue\": \"https://sqlbkstorageps3647.queue.core.windows.net/\",\r\n \"table\": \"https://sqlbkstorageps3647.table.core.windows.net/\",\r\n \"file\": \"https://sqlbkstorageps3647.file.core.windows.net/\"\r\n },\r\n \"primaryLocation\": \"northeurope\",\r\n \"statusOfPrimary\": \"available\",\r\n \"secondaryLocation\": \"westeurope\",\r\n \"statusOfSecondary\": \"available\"\r\n }\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/051ddeca-1ed6-4d8b-ba6f-1ff561e5f3b3/resourceGroups/sql-bk-cmdlet-test-rgps3647/providers/Microsoft.Synapse/workspaces/sqlbkwsps3647?api-version=2019-06-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMDUxZGRlY2EtMWVkNi00ZDhiLWJhNmYtMWZmNTYxZTVmM2IzL3Jlc291cmNlR3JvdXBzL3NxbC1iay1jbWRsZXQtdGVzdC1yZ3BzMzY0Ny9wcm92aWRlcnMvTWljcm9zb2Z0LlN5bmFwc2Uvd29ya3NwYWNlcy9zcWxia3dzcHMzNjQ3P2FwaS12ZXJzaW9uPTIwMTktMDYtMDEtcHJldmlldw==", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-client-request-id": [ + "074c3898-b188-4819-9ab3-ce432089d3fa" + ], + "Accept-Language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.29518.01", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.19042.", + "Microsoft.Azure.Management.Synapse.SynapseManagementClient/1.0.0.preview.4" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-failure-cause": [ + "gateway" + ], + "x-ms-request-id": [ + "5408ea8d-a453-4355-a6d9-712b2ff92a4a" + ], + "x-ms-correlation-request-id": [ + "5408ea8d-a453-4355-a6d9-712b2ff92a4a" + ], + "x-ms-routing-request-id": [ + "JAPANEAST:20210126T082505Z:5408ea8d-a453-4355-a6d9-712b2ff92a4a" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Tue, 26 Jan 2021 08:25:04 GMT" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Content-Length": [ + "241" + ] + }, + "ResponseBody": "{\r\n \"error\": {\r\n \"code\": \"ResourceNotFound\",\r\n \"message\": \"The Resource 'Microsoft.Synapse/workspaces/sqlbkwsps3647' under resource group 'sql-bk-cmdlet-test-rgps3647' was not found. For more details please go to https://aka.ms/ARMResourceNotFoundFix\"\r\n }\r\n}", + "StatusCode": 404 + }, + { + "RequestUri": "/subscriptions/051ddeca-1ed6-4d8b-ba6f-1ff561e5f3b3/resourceGroups/sql-bk-cmdlet-test-rgps3647/providers/Microsoft.Synapse/workspaces/sqlbkwsps3647?api-version=2019-06-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMDUxZGRlY2EtMWVkNi00ZDhiLWJhNmYtMWZmNTYxZTVmM2IzL3Jlc291cmNlR3JvdXBzL3NxbC1iay1jbWRsZXQtdGVzdC1yZ3BzMzY0Ny9wcm92aWRlcnMvTWljcm9zb2Z0LlN5bmFwc2Uvd29ya3NwYWNlcy9zcWxia3dzcHMzNjQ3P2FwaS12ZXJzaW9uPTIwMTktMDYtMDEtcHJldmlldw==", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-client-request-id": [ + "074c3898-b188-4819-9ab3-ce432089d3fa" + ], + "User-Agent": [ + "FxVersion/4.6.29518.01", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.19042.", + "Microsoft.Azure.Management.Synapse.SynapseManagementClient/1.0.0.preview.4" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-request-id": [ + "47276930-5edc-4b5e-a463-7098b875a500" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11991" + ], + "x-ms-correlation-request-id": [ + "36eb34c5-59c3-4b82-af6d-8d6414785fcf" + ], + "x-ms-routing-request-id": [ + "JAPANEAST:20210126T082856Z:36eb34c5-59c3-4b82-af6d-8d6414785fcf" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Tue, 26 Jan 2021 08:28:55 GMT" + ], + "Content-Length": [ + "1275" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/051ddeca-1ed6-4d8b-ba6f-1ff561e5f3b3/resourceGroups/sql-bk-cmdlet-test-rgps3647/providers/Microsoft.Synapse/workspaces/sqlbkwsps3647\",\r\n \"location\": \"northeurope\",\r\n \"name\": \"sqlbkwsps3647\",\r\n \"type\": \"Microsoft.Synapse/workspaces\",\r\n \"identity\": {\r\n \"type\": \"SystemAssigned\",\r\n \"tenantId\": \"72f988bf-86f1-41af-91ab-2d7cd011db47\",\r\n \"principalId\": \"766745cb-709a-4d29-b55e-2d4fc24a7c95\"\r\n },\r\n \"properties\": {\r\n \"connectivityEndpoints\": {\r\n \"web\": \"https://web.azuresynapse.net?workspace=%2fsubscriptions%2f051ddeca-1ed6-4d8b-ba6f-1ff561e5f3b3%2fresourceGroups%2fsql-bk-cmdlet-test-rgps3647%2fproviders%2fMicrosoft.Synapse%2fworkspaces%2fsqlbkwsps3647\",\r\n \"dev\": \"https://sqlbkwsps3647.dev.azuresynapse.net\",\r\n \"sqlOnDemand\": \"sqlbkwsps3647-ondemand.sql.azuresynapse.net\",\r\n \"sql\": \"sqlbkwsps3647.sql.azuresynapse.net\"\r\n },\r\n \"managedResourceGroupName\": \"synapseworkspace-managedrg-7a4548d4-76d0-4502-b81d-00e04a091e55\",\r\n \"defaultDataLakeStorage\": {\r\n \"accountUrl\": \"https://sqlbkstorageps3647.dfs.core.windows.net\",\r\n \"filesystem\": \"sqlbkcmdletfsps3647\"\r\n },\r\n \"sqlAdministratorLogin\": \"testlogin\",\r\n \"privateEndpointConnections\": [],\r\n \"workspaceUID\": \"dd95d4ea-e0c8-4ccd-9225-dbe310a7e66c\",\r\n \"extraProperties\": {\r\n \"IsScopeEnabled\": false,\r\n \"WorkspaceType\": \"Normal\"\r\n },\r\n \"encryption\": {\r\n \"doubleEncryptionEnabled\": false\r\n },\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/051ddeca-1ed6-4d8b-ba6f-1ff561e5f3b3/resourceGroups/sql-bk-cmdlet-test-rgps3647/providers/Microsoft.Synapse/workspaces/sqlbkwsps3647?api-version=2019-06-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMDUxZGRlY2EtMWVkNi00ZDhiLWJhNmYtMWZmNTYxZTVmM2IzL3Jlc291cmNlR3JvdXBzL3NxbC1iay1jbWRsZXQtdGVzdC1yZ3BzMzY0Ny9wcm92aWRlcnMvTWljcm9zb2Z0LlN5bmFwc2Uvd29ya3NwYWNlcy9zcWxia3dzcHMzNjQ3P2FwaS12ZXJzaW9uPTIwMTktMDYtMDEtcHJldmlldw==", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-client-request-id": [ + "451d8170-0b8b-4692-bb7c-48b27aad91c3" + ], + "Accept-Language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.29518.01", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.19042.", + "Microsoft.Azure.Management.Synapse.SynapseManagementClient/1.0.0.preview.4" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-request-id": [ + "4da4d6a4-2734-497f-80d5-cada01723481" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11990" + ], + "x-ms-correlation-request-id": [ + "71de9b2f-842a-4f90-a0f8-36cb3ef79e3e" + ], + "x-ms-routing-request-id": [ + "JAPANEAST:20210126T082856Z:71de9b2f-842a-4f90-a0f8-36cb3ef79e3e" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Tue, 26 Jan 2021 08:28:55 GMT" + ], + "Content-Length": [ + "1275" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/051ddeca-1ed6-4d8b-ba6f-1ff561e5f3b3/resourceGroups/sql-bk-cmdlet-test-rgps3647/providers/Microsoft.Synapse/workspaces/sqlbkwsps3647\",\r\n \"location\": \"northeurope\",\r\n \"name\": \"sqlbkwsps3647\",\r\n \"type\": \"Microsoft.Synapse/workspaces\",\r\n \"identity\": {\r\n \"type\": \"SystemAssigned\",\r\n \"tenantId\": \"72f988bf-86f1-41af-91ab-2d7cd011db47\",\r\n \"principalId\": \"766745cb-709a-4d29-b55e-2d4fc24a7c95\"\r\n },\r\n \"properties\": {\r\n \"connectivityEndpoints\": {\r\n \"web\": \"https://web.azuresynapse.net?workspace=%2fsubscriptions%2f051ddeca-1ed6-4d8b-ba6f-1ff561e5f3b3%2fresourceGroups%2fsql-bk-cmdlet-test-rgps3647%2fproviders%2fMicrosoft.Synapse%2fworkspaces%2fsqlbkwsps3647\",\r\n \"dev\": \"https://sqlbkwsps3647.dev.azuresynapse.net\",\r\n \"sqlOnDemand\": \"sqlbkwsps3647-ondemand.sql.azuresynapse.net\",\r\n \"sql\": \"sqlbkwsps3647.sql.azuresynapse.net\"\r\n },\r\n \"managedResourceGroupName\": \"synapseworkspace-managedrg-7a4548d4-76d0-4502-b81d-00e04a091e55\",\r\n \"defaultDataLakeStorage\": {\r\n \"accountUrl\": \"https://sqlbkstorageps3647.dfs.core.windows.net\",\r\n \"filesystem\": \"sqlbkcmdletfsps3647\"\r\n },\r\n \"sqlAdministratorLogin\": \"testlogin\",\r\n \"privateEndpointConnections\": [],\r\n \"workspaceUID\": \"dd95d4ea-e0c8-4ccd-9225-dbe310a7e66c\",\r\n \"extraProperties\": {\r\n \"IsScopeEnabled\": false,\r\n \"WorkspaceType\": \"Normal\"\r\n },\r\n \"encryption\": {\r\n \"doubleEncryptionEnabled\": false\r\n },\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/051ddeca-1ed6-4d8b-ba6f-1ff561e5f3b3/resourceGroups/sql-bk-cmdlet-test-rgps3647/providers/Microsoft.Synapse/workspaces/sqlbkwsps3647?api-version=2019-06-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMDUxZGRlY2EtMWVkNi00ZDhiLWJhNmYtMWZmNTYxZTVmM2IzL3Jlc291cmNlR3JvdXBzL3NxbC1iay1jbWRsZXQtdGVzdC1yZ3BzMzY0Ny9wcm92aWRlcnMvTWljcm9zb2Z0LlN5bmFwc2Uvd29ya3NwYWNlcy9zcWxia3dzcHMzNjQ3P2FwaS12ZXJzaW9uPTIwMTktMDYtMDEtcHJldmlldw==", + "RequestMethod": "PUT", + "RequestBody": "{\r\n \"properties\": {\r\n \"defaultDataLakeStorage\": {\r\n \"accountUrl\": \"https://sqlbkstorageps3647.dfs.core.windows.net\",\r\n \"filesystem\": \"sqlbkcmdletfsps3647\"\r\n },\r\n \"sqlAdministratorLoginPassword\": \"testp@ssMakingIt1007Longer\",\r\n \"sqlAdministratorLogin\": \"testlogin\"\r\n },\r\n \"identity\": {\r\n \"type\": \"SystemAssigned\"\r\n },\r\n \"location\": \"northeurope\"\r\n}", + "RequestHeaders": { + "x-ms-client-request-id": [ + "074c3898-b188-4819-9ab3-ce432089d3fa" + ], + "Accept-Language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.29518.01", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.19042.", + "Microsoft.Azure.Management.Synapse.SynapseManagementClient/1.0.0.preview.4" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Content-Length": [ + "377" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Azure-AsyncOperation": [ + "https://management.azure.com/subscriptions/051ddeca-1ed6-4d8b-ba6f-1ff561e5f3b3/resourceGroups/sql-bk-cmdlet-test-rgps3647/providers/Microsoft.Synapse/workspaces/sqlbkwsps3647/operationStatuses/4e8a07e2-7047-4f7b-850d-61ffad93d6b0?api-version=2019-06-01-preview" + ], + "x-ms-request-id": [ + "e311913f-d8b6-4fde-a5d2-84d5b1997f90" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ], + "x-ms-ratelimit-remaining-subscription-writes": [ + "1198" + ], + "x-ms-correlation-request-id": [ + "e0592576-7a49-4d99-94e9-3095f33ac299" + ], + "x-ms-routing-request-id": [ + "JAPANEAST:20210126T082523Z:e0592576-7a49-4d99-94e9-3095f33ac299" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Tue, 26 Jan 2021 08:25:22 GMT" + ], + "Content-Length": [ + "1242" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/051ddeca-1ed6-4d8b-ba6f-1ff561e5f3b3/resourceGroups/sql-bk-cmdlet-test-rgps3647/providers/Microsoft.Synapse/workspaces/sqlbkwsps3647\",\r\n \"location\": \"northeurope\",\r\n \"name\": \"sqlbkwsps3647\",\r\n \"type\": \"Microsoft.Synapse/workspaces\",\r\n \"identity\": {\r\n \"type\": \"SystemAssigned\",\r\n \"tenantId\": \"72f988bf-86f1-41af-91ab-2d7cd011db47\",\r\n \"principalId\": \"766745cb-709a-4d29-b55e-2d4fc24a7c95\"\r\n },\r\n \"properties\": {\r\n \"connectivityEndpoints\": {\r\n \"web\": \"https://web.azuresynapse.net?workspace=%2fsubscriptions%2f051ddeca-1ed6-4d8b-ba6f-1ff561e5f3b3%2fresourceGroups%2fsql-bk-cmdlet-test-rgps3647%2fproviders%2fMicrosoft.Synapse%2fworkspaces%2fsqlbkwsps3647\",\r\n \"dev\": \"https://sqlbkwsps3647.dev.azuresynapse.net\",\r\n \"sqlOnDemand\": \"sqlbkwsps3647-ondemand.sql.azuresynapse.net\",\r\n \"sql\": \"sqlbkwsps3647.sql.azuresynapse.net\"\r\n },\r\n \"managedResourceGroupName\": \"synapseworkspace-managedrg-7a4548d4-76d0-4502-b81d-00e04a091e55\",\r\n \"defaultDataLakeStorage\": {\r\n \"accountUrl\": \"https://sqlbkstorageps3647.dfs.core.windows.net\",\r\n \"filesystem\": \"sqlbkcmdletfsps3647\"\r\n },\r\n \"privateEndpointConnections\": [],\r\n \"workspaceUID\": \"dd95d4ea-e0c8-4ccd-9225-dbe310a7e66c\",\r\n \"extraProperties\": {\r\n \"IsScopeEnabled\": false,\r\n \"WorkspaceType\": \"Normal\"\r\n },\r\n \"encryption\": {\r\n \"doubleEncryptionEnabled\": false\r\n },\r\n \"provisioningState\": \"Provisioning\"\r\n }\r\n}", + "StatusCode": 201 + }, + { + "RequestUri": "/subscriptions/051ddeca-1ed6-4d8b-ba6f-1ff561e5f3b3/resourceGroups/sql-bk-cmdlet-test-rgps3647/providers/Microsoft.Synapse/workspaces/sqlbkwsps3647/operationStatuses/4e8a07e2-7047-4f7b-850d-61ffad93d6b0?api-version=2019-06-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMDUxZGRlY2EtMWVkNi00ZDhiLWJhNmYtMWZmNTYxZTVmM2IzL3Jlc291cmNlR3JvdXBzL3NxbC1iay1jbWRsZXQtdGVzdC1yZ3BzMzY0Ny9wcm92aWRlcnMvTWljcm9zb2Z0LlN5bmFwc2Uvd29ya3NwYWNlcy9zcWxia3dzcHMzNjQ3L29wZXJhdGlvblN0YXR1c2VzLzRlOGEwN2UyLTcwNDctNGY3Yi04NTBkLTYxZmZhZDkzZDZiMD9hcGktdmVyc2lvbj0yMDE5LTA2LTAxLXByZXZpZXc=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-client-request-id": [ + "074c3898-b188-4819-9ab3-ce432089d3fa" + ], + "User-Agent": [ + "FxVersion/4.6.29518.01", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.19042.", + "Microsoft.Azure.Management.Synapse.SynapseManagementClient/1.0.0.preview.4" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-request-id": [ + "e88346be-acb7-4a39-9242-36bea679e698" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11998" + ], + "x-ms-correlation-request-id": [ + "c1d75eb9-63f8-4bb4-a64d-0e4c7fd6cf0e" + ], + "x-ms-routing-request-id": [ + "JAPANEAST:20210126T082553Z:c1d75eb9-63f8-4bb4-a64d-0e4c7fd6cf0e" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Tue, 26 Jan 2021 08:25:53 GMT" + ], + "Content-Length": [ + "23" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"status\": \"InProgress\"\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/051ddeca-1ed6-4d8b-ba6f-1ff561e5f3b3/resourceGroups/sql-bk-cmdlet-test-rgps3647/providers/Microsoft.Synapse/workspaces/sqlbkwsps3647/operationStatuses/4e8a07e2-7047-4f7b-850d-61ffad93d6b0?api-version=2019-06-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMDUxZGRlY2EtMWVkNi00ZDhiLWJhNmYtMWZmNTYxZTVmM2IzL3Jlc291cmNlR3JvdXBzL3NxbC1iay1jbWRsZXQtdGVzdC1yZ3BzMzY0Ny9wcm92aWRlcnMvTWljcm9zb2Z0LlN5bmFwc2Uvd29ya3NwYWNlcy9zcWxia3dzcHMzNjQ3L29wZXJhdGlvblN0YXR1c2VzLzRlOGEwN2UyLTcwNDctNGY3Yi04NTBkLTYxZmZhZDkzZDZiMD9hcGktdmVyc2lvbj0yMDE5LTA2LTAxLXByZXZpZXc=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-client-request-id": [ + "074c3898-b188-4819-9ab3-ce432089d3fa" + ], + "User-Agent": [ + "FxVersion/4.6.29518.01", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.19042.", + "Microsoft.Azure.Management.Synapse.SynapseManagementClient/1.0.0.preview.4" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-request-id": [ + "e9d346d0-37f6-4777-940a-ff595a48bc9c" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11997" + ], + "x-ms-correlation-request-id": [ + "4ecdd337-b127-46fa-af7c-5d83e6398d3f" + ], + "x-ms-routing-request-id": [ + "JAPANEAST:20210126T082623Z:4ecdd337-b127-46fa-af7c-5d83e6398d3f" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Tue, 26 Jan 2021 08:26:23 GMT" + ], + "Content-Length": [ + "23" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"status\": \"InProgress\"\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/051ddeca-1ed6-4d8b-ba6f-1ff561e5f3b3/resourceGroups/sql-bk-cmdlet-test-rgps3647/providers/Microsoft.Synapse/workspaces/sqlbkwsps3647/operationStatuses/4e8a07e2-7047-4f7b-850d-61ffad93d6b0?api-version=2019-06-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMDUxZGRlY2EtMWVkNi00ZDhiLWJhNmYtMWZmNTYxZTVmM2IzL3Jlc291cmNlR3JvdXBzL3NxbC1iay1jbWRsZXQtdGVzdC1yZ3BzMzY0Ny9wcm92aWRlcnMvTWljcm9zb2Z0LlN5bmFwc2Uvd29ya3NwYWNlcy9zcWxia3dzcHMzNjQ3L29wZXJhdGlvblN0YXR1c2VzLzRlOGEwN2UyLTcwNDctNGY3Yi04NTBkLTYxZmZhZDkzZDZiMD9hcGktdmVyc2lvbj0yMDE5LTA2LTAxLXByZXZpZXc=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-client-request-id": [ + "074c3898-b188-4819-9ab3-ce432089d3fa" + ], + "User-Agent": [ + "FxVersion/4.6.29518.01", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.19042.", + "Microsoft.Azure.Management.Synapse.SynapseManagementClient/1.0.0.preview.4" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-request-id": [ + "0b5c24c2-13ec-4adb-a3a7-715c61d458d4" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11996" + ], + "x-ms-correlation-request-id": [ + "9e2d9217-1788-4996-a2de-50158518e8ba" + ], + "x-ms-routing-request-id": [ + "JAPANEAST:20210126T082654Z:9e2d9217-1788-4996-a2de-50158518e8ba" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Tue, 26 Jan 2021 08:26:53 GMT" + ], + "Content-Length": [ + "23" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"status\": \"InProgress\"\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/051ddeca-1ed6-4d8b-ba6f-1ff561e5f3b3/resourceGroups/sql-bk-cmdlet-test-rgps3647/providers/Microsoft.Synapse/workspaces/sqlbkwsps3647/operationStatuses/4e8a07e2-7047-4f7b-850d-61ffad93d6b0?api-version=2019-06-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMDUxZGRlY2EtMWVkNi00ZDhiLWJhNmYtMWZmNTYxZTVmM2IzL3Jlc291cmNlR3JvdXBzL3NxbC1iay1jbWRsZXQtdGVzdC1yZ3BzMzY0Ny9wcm92aWRlcnMvTWljcm9zb2Z0LlN5bmFwc2Uvd29ya3NwYWNlcy9zcWxia3dzcHMzNjQ3L29wZXJhdGlvblN0YXR1c2VzLzRlOGEwN2UyLTcwNDctNGY3Yi04NTBkLTYxZmZhZDkzZDZiMD9hcGktdmVyc2lvbj0yMDE5LTA2LTAxLXByZXZpZXc=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-client-request-id": [ + "074c3898-b188-4819-9ab3-ce432089d3fa" + ], + "User-Agent": [ + "FxVersion/4.6.29518.01", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.19042.", + "Microsoft.Azure.Management.Synapse.SynapseManagementClient/1.0.0.preview.4" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-request-id": [ + "46e6a46b-f2aa-48ad-9048-85b70e14a522" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11995" + ], + "x-ms-correlation-request-id": [ + "04c3922d-4a59-41e3-b26c-8d955480f3d7" + ], + "x-ms-routing-request-id": [ + "JAPANEAST:20210126T082724Z:04c3922d-4a59-41e3-b26c-8d955480f3d7" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Tue, 26 Jan 2021 08:27:23 GMT" + ], + "Content-Length": [ + "23" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"status\": \"InProgress\"\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/051ddeca-1ed6-4d8b-ba6f-1ff561e5f3b3/resourceGroups/sql-bk-cmdlet-test-rgps3647/providers/Microsoft.Synapse/workspaces/sqlbkwsps3647/operationStatuses/4e8a07e2-7047-4f7b-850d-61ffad93d6b0?api-version=2019-06-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMDUxZGRlY2EtMWVkNi00ZDhiLWJhNmYtMWZmNTYxZTVmM2IzL3Jlc291cmNlR3JvdXBzL3NxbC1iay1jbWRsZXQtdGVzdC1yZ3BzMzY0Ny9wcm92aWRlcnMvTWljcm9zb2Z0LlN5bmFwc2Uvd29ya3NwYWNlcy9zcWxia3dzcHMzNjQ3L29wZXJhdGlvblN0YXR1c2VzLzRlOGEwN2UyLTcwNDctNGY3Yi04NTBkLTYxZmZhZDkzZDZiMD9hcGktdmVyc2lvbj0yMDE5LTA2LTAxLXByZXZpZXc=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-client-request-id": [ + "074c3898-b188-4819-9ab3-ce432089d3fa" + ], + "User-Agent": [ + "FxVersion/4.6.29518.01", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.19042.", + "Microsoft.Azure.Management.Synapse.SynapseManagementClient/1.0.0.preview.4" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-request-id": [ + "3fc74185-bc47-4c4e-942b-4db9b597caf8" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11994" + ], + "x-ms-correlation-request-id": [ + "584d06b9-042d-48ad-9195-cb86c500bb0b" + ], + "x-ms-routing-request-id": [ + "JAPANEAST:20210126T082754Z:584d06b9-042d-48ad-9195-cb86c500bb0b" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Tue, 26 Jan 2021 08:27:54 GMT" + ], + "Content-Length": [ + "23" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"status\": \"InProgress\"\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/051ddeca-1ed6-4d8b-ba6f-1ff561e5f3b3/resourceGroups/sql-bk-cmdlet-test-rgps3647/providers/Microsoft.Synapse/workspaces/sqlbkwsps3647/operationStatuses/4e8a07e2-7047-4f7b-850d-61ffad93d6b0?api-version=2019-06-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMDUxZGRlY2EtMWVkNi00ZDhiLWJhNmYtMWZmNTYxZTVmM2IzL3Jlc291cmNlR3JvdXBzL3NxbC1iay1jbWRsZXQtdGVzdC1yZ3BzMzY0Ny9wcm92aWRlcnMvTWljcm9zb2Z0LlN5bmFwc2Uvd29ya3NwYWNlcy9zcWxia3dzcHMzNjQ3L29wZXJhdGlvblN0YXR1c2VzLzRlOGEwN2UyLTcwNDctNGY3Yi04NTBkLTYxZmZhZDkzZDZiMD9hcGktdmVyc2lvbj0yMDE5LTA2LTAxLXByZXZpZXc=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-client-request-id": [ + "074c3898-b188-4819-9ab3-ce432089d3fa" + ], + "User-Agent": [ + "FxVersion/4.6.29518.01", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.19042.", + "Microsoft.Azure.Management.Synapse.SynapseManagementClient/1.0.0.preview.4" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-request-id": [ + "a8898cc2-2158-4b8f-8fe3-c6ca62ac88da" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11993" + ], + "x-ms-correlation-request-id": [ + "fb279788-6b12-473b-bb3d-2ac1754f187e" + ], + "x-ms-routing-request-id": [ + "JAPANEAST:20210126T082825Z:fb279788-6b12-473b-bb3d-2ac1754f187e" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Tue, 26 Jan 2021 08:28:24 GMT" + ], + "Content-Length": [ + "23" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"status\": \"InProgress\"\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/051ddeca-1ed6-4d8b-ba6f-1ff561e5f3b3/resourceGroups/sql-bk-cmdlet-test-rgps3647/providers/Microsoft.Synapse/workspaces/sqlbkwsps3647/operationStatuses/4e8a07e2-7047-4f7b-850d-61ffad93d6b0?api-version=2019-06-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMDUxZGRlY2EtMWVkNi00ZDhiLWJhNmYtMWZmNTYxZTVmM2IzL3Jlc291cmNlR3JvdXBzL3NxbC1iay1jbWRsZXQtdGVzdC1yZ3BzMzY0Ny9wcm92aWRlcnMvTWljcm9zb2Z0LlN5bmFwc2Uvd29ya3NwYWNlcy9zcWxia3dzcHMzNjQ3L29wZXJhdGlvblN0YXR1c2VzLzRlOGEwN2UyLTcwNDctNGY3Yi04NTBkLTYxZmZhZDkzZDZiMD9hcGktdmVyc2lvbj0yMDE5LTA2LTAxLXByZXZpZXc=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-client-request-id": [ + "074c3898-b188-4819-9ab3-ce432089d3fa" + ], + "User-Agent": [ + "FxVersion/4.6.29518.01", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.19042.", + "Microsoft.Azure.Management.Synapse.SynapseManagementClient/1.0.0.preview.4" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-request-id": [ + "2fb9f1da-5ab3-461e-a00a-3b109ada3b36" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11992" + ], + "x-ms-correlation-request-id": [ + "833e6c82-215b-4f38-9d53-4951ab4b55cf" + ], + "x-ms-routing-request-id": [ + "JAPANEAST:20210126T082855Z:833e6c82-215b-4f38-9d53-4951ab4b55cf" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Tue, 26 Jan 2021 08:28:54 GMT" + ], + "Content-Length": [ + "22" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"status\": \"Succeeded\"\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/051ddeca-1ed6-4d8b-ba6f-1ff561e5f3b3/resourceGroups/sql-bk-cmdlet-test-rgps3647/providers/Microsoft.Synapse/workspaces/sqlbkwsps3647/sqlPools/sqlbkpoolps3647?api-version=2019-06-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMDUxZGRlY2EtMWVkNi00ZDhiLWJhNmYtMWZmNTYxZTVmM2IzL3Jlc291cmNlR3JvdXBzL3NxbC1iay1jbWRsZXQtdGVzdC1yZ3BzMzY0Ny9wcm92aWRlcnMvTWljcm9zb2Z0LlN5bmFwc2Uvd29ya3NwYWNlcy9zcWxia3dzcHMzNjQ3L3NxbFBvb2xzL3NxbGJrcG9vbHBzMzY0Nz9hcGktdmVyc2lvbj0yMDE5LTA2LTAxLXByZXZpZXc=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-client-request-id": [ + "451d8170-0b8b-4692-bb7c-48b27aad91c3" + ], + "Accept-Language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.29518.01", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.19042.", + "Microsoft.Azure.Management.Synapse.SynapseManagementClient/1.0.0.preview.4" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-failure-cause": [ + "gateway" + ], + "x-ms-request-id": [ + "33fefb63-a0f3-4a8c-bfae-85bd6b57aafb" + ], + "x-ms-correlation-request-id": [ + "33fefb63-a0f3-4a8c-bfae-85bd6b57aafb" + ], + "x-ms-routing-request-id": [ + "JAPANEAST:20210126T082856Z:33fefb63-a0f3-4a8c-bfae-85bd6b57aafb" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Tue, 26 Jan 2021 08:28:55 GMT" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Content-Length": [ + "266" + ] + }, + "ResponseBody": "{\r\n \"error\": {\r\n \"code\": \"ResourceNotFound\",\r\n \"message\": \"The Resource 'Microsoft.Synapse/workspaces/sqlbkwsps3647/sqlPools/sqlbkpoolps3647' under resource group 'sql-bk-cmdlet-test-rgps3647' was not found. For more details please go to https://aka.ms/ARMResourceNotFoundFix\"\r\n }\r\n}", + "StatusCode": 404 + }, + { + "RequestUri": "/subscriptions/051ddeca-1ed6-4d8b-ba6f-1ff561e5f3b3/resourceGroups/sql-bk-cmdlet-test-rgps3647/providers/Microsoft.Synapse/workspaces/sqlbkwsps3647/sqlPools/sqlbkpoolps3647?api-version=2019-06-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMDUxZGRlY2EtMWVkNi00ZDhiLWJhNmYtMWZmNTYxZTVmM2IzL3Jlc291cmNlR3JvdXBzL3NxbC1iay1jbWRsZXQtdGVzdC1yZ3BzMzY0Ny9wcm92aWRlcnMvTWljcm9zb2Z0LlN5bmFwc2Uvd29ya3NwYWNlcy9zcWxia3dzcHMzNjQ3L3NxbFBvb2xzL3NxbGJrcG9vbHBzMzY0Nz9hcGktdmVyc2lvbj0yMDE5LTA2LTAxLXByZXZpZXc=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-client-request-id": [ + "451d8170-0b8b-4692-bb7c-48b27aad91c3" + ], + "User-Agent": [ + "FxVersion/4.6.29518.01", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.19042.", + "Microsoft.Azure.Management.Synapse.SynapseManagementClient/1.0.0.preview.4" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-request-id": [ + "1b039e9e-0b1b-49fd-9269-5ce795c2b7fd" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11975" + ], + "x-ms-correlation-request-id": [ + "308df443-9563-4ab8-b698-f27b3313520d" + ], + "x-ms-routing-request-id": [ + "JAPANEAST:20210126T083119Z:308df443-9563-4ab8-b698-f27b3313520d" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Tue, 26 Jan 2021 08:31:18 GMT" + ], + "Content-Length": [ + "539" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"properties\": {\r\n \"status\": \"Online\",\r\n \"maxSizeBytes\": 263882790666240,\r\n \"collation\": \"SQL_Latin1_General_CP1_CI_AS\",\r\n \"restorePointInTime\": \"0001-01-01T00:00:00\",\r\n \"creationDate\": \"2021-01-26T08:31:15.687Z\",\r\n \"provisioningState\": \"Succeeded\"\r\n },\r\n \"sku\": {\r\n \"name\": \"DW200c\",\r\n \"capacity\": 0\r\n },\r\n \"id\": \"/subscriptions/051ddeca-1ed6-4d8b-ba6f-1ff561e5f3b3/resourceGroups/sql-bk-cmdlet-test-rgps3647/providers/Microsoft.Synapse/workspaces/sqlbkwsps3647/sqlPools/sqlbkpoolps3647\",\r\n \"name\": \"sqlbkpoolps3647\",\r\n \"type\": \"Microsoft.Synapse/workspaces/sqlPools\",\r\n \"location\": \"northeurope\"\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/051ddeca-1ed6-4d8b-ba6f-1ff561e5f3b3/resourceGroups/sql-bk-cmdlet-test-rgps3647/providers/Microsoft.Synapse/workspaces/sqlbkwsps3647/sqlPools/sqlbkpoolps3647?api-version=2019-06-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMDUxZGRlY2EtMWVkNi00ZDhiLWJhNmYtMWZmNTYxZTVmM2IzL3Jlc291cmNlR3JvdXBzL3NxbC1iay1jbWRsZXQtdGVzdC1yZ3BzMzY0Ny9wcm92aWRlcnMvTWljcm9zb2Z0LlN5bmFwc2Uvd29ya3NwYWNlcy9zcWxia3dzcHMzNjQ3L3NxbFBvb2xzL3NxbGJrcG9vbHBzMzY0Nz9hcGktdmVyc2lvbj0yMDE5LTA2LTAxLXByZXZpZXc=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-client-request-id": [ + "bba78e2a-af4d-4012-8c36-73ca48e57323" + ], + "Accept-Language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.29518.01", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.19042.", + "Microsoft.Azure.Management.Synapse.SynapseManagementClient/1.0.0.preview.4" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-request-id": [ + "9076348c-ed67-4734-ba47-f24c4eb22f77" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11974" + ], + "x-ms-correlation-request-id": [ + "d05bccc7-6479-4b27-a6e7-8aae072ba24e" + ], + "x-ms-routing-request-id": [ + "JAPANEAST:20210126T083129Z:d05bccc7-6479-4b27-a6e7-8aae072ba24e" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Tue, 26 Jan 2021 08:31:29 GMT" + ], + "Content-Length": [ + "539" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"properties\": {\r\n \"status\": \"Online\",\r\n \"maxSizeBytes\": 263882790666240,\r\n \"collation\": \"SQL_Latin1_General_CP1_CI_AS\",\r\n \"restorePointInTime\": \"0001-01-01T00:00:00\",\r\n \"creationDate\": \"2021-01-26T08:31:15.687Z\",\r\n \"provisioningState\": \"Succeeded\"\r\n },\r\n \"sku\": {\r\n \"name\": \"DW200c\",\r\n \"capacity\": 0\r\n },\r\n \"id\": \"/subscriptions/051ddeca-1ed6-4d8b-ba6f-1ff561e5f3b3/resourceGroups/sql-bk-cmdlet-test-rgps3647/providers/Microsoft.Synapse/workspaces/sqlbkwsps3647/sqlPools/sqlbkpoolps3647\",\r\n \"name\": \"sqlbkpoolps3647\",\r\n \"type\": \"Microsoft.Synapse/workspaces/sqlPools\",\r\n \"location\": \"northeurope\"\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/051ddeca-1ed6-4d8b-ba6f-1ff561e5f3b3/resourceGroups/sql-bk-cmdlet-test-rgps3647/providers/Microsoft.Synapse/workspaces/sqlbkwsps3647/sqlPools/sqlbkpoolps3647?api-version=2019-06-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMDUxZGRlY2EtMWVkNi00ZDhiLWJhNmYtMWZmNTYxZTVmM2IzL3Jlc291cmNlR3JvdXBzL3NxbC1iay1jbWRsZXQtdGVzdC1yZ3BzMzY0Ny9wcm92aWRlcnMvTWljcm9zb2Z0LlN5bmFwc2Uvd29ya3NwYWNlcy9zcWxia3dzcHMzNjQ3L3NxbFBvb2xzL3NxbGJrcG9vbHBzMzY0Nz9hcGktdmVyc2lvbj0yMDE5LTA2LTAxLXByZXZpZXc=", + "RequestMethod": "PUT", + "RequestBody": "{\r\n \"sku\": {\r\n \"name\": \"DW200c\"\r\n },\r\n \"properties\": {\r\n \"collation\": \"SQL_Latin1_General_CP1_CI_AS\",\r\n \"createMode\": \"Default\"\r\n },\r\n \"location\": \"northeurope\"\r\n}", + "RequestHeaders": { + "x-ms-client-request-id": [ + "451d8170-0b8b-4692-bb7c-48b27aad91c3" + ], + "Accept-Language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.29518.01", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.19042.", + "Microsoft.Azure.Management.Synapse.SynapseManagementClient/1.0.0.preview.4" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Content-Length": [ + "177" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "Location": [ + "https://management.azure.com/subscriptions/051ddeca-1ed6-4d8b-ba6f-1ff561e5f3b3/resourceGroups/sql-bk-cmdlet-test-rgps3647/providers/Microsoft.Synapse/workspaces/sqlbkwsps3647/operationResults/b00aa0dc-cd1b-48a1-a4cf-6717545deefa?api-version=2019-06-01-preview" + ], + "Retry-After": [ + "10" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Azure-AsyncOperation": [ + "https://management.azure.com/subscriptions/051ddeca-1ed6-4d8b-ba6f-1ff561e5f3b3/resourceGroups/sql-bk-cmdlet-test-rgps3647/providers/Microsoft.Synapse/workspaces/sqlbkwsps3647/operationStatuses/b00aa0dc-cd1b-48a1-a4cf-6717545deefa?api-version=2019-06-01-preview" + ], + "Access-Control-Allow-Headers": [ + "Location", + "Retry-After" + ], + "Access-Control-Expose-Headers": [ + "Location", + "Retry-After" + ], + "x-ms-request-id": [ + "a3d3095f-97f2-44ee-9a46-c27dce3fde93" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ], + "x-ms-ratelimit-remaining-subscription-writes": [ + "1197" + ], + "x-ms-correlation-request-id": [ + "e869e8c9-3270-4503-bad1-9adb0be4fe93" + ], + "x-ms-routing-request-id": [ + "JAPANEAST:20210126T082902Z:e869e8c9-3270-4503-bad1-9adb0be4fe93" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Tue, 26 Jan 2021 08:29:01 GMT" + ], + "Content-Length": [ + "480" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"properties\": {\r\n \"maxSizeBytes\": 0,\r\n \"collation\": \"SQL_Latin1_General_CP1_CI_AS\",\r\n \"restorePointInTime\": \"0001-01-01T00:00:00\",\r\n \"creationDate\": \"0001-01-01T00:00:00\",\r\n \"provisioningState\": \"Provisioning\"\r\n },\r\n \"sku\": {\r\n \"name\": \"DW200c\",\r\n \"capacity\": 0\r\n },\r\n \"id\": \"/subscriptions/051ddeca-1ed6-4d8b-ba6f-1ff561e5f3b3/resourceGroups/sql-bk-cmdlet-test-rgps3647/providers/Microsoft.Synapse/workspaces/sqlbkwsps3647/sqlPools/sqlbkpoolps3647\",\r\n \"name\": \"sqlbkpoolps3647\",\r\n \"type\": \"Microsoft.Synapse/workspaces/sqlPools\"\r\n}", + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/051ddeca-1ed6-4d8b-ba6f-1ff561e5f3b3/resourceGroups/sql-bk-cmdlet-test-rgps3647/providers/Microsoft.Synapse/workspaces/sqlbkwsps3647/operationStatuses/b00aa0dc-cd1b-48a1-a4cf-6717545deefa?api-version=2019-06-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMDUxZGRlY2EtMWVkNi00ZDhiLWJhNmYtMWZmNTYxZTVmM2IzL3Jlc291cmNlR3JvdXBzL3NxbC1iay1jbWRsZXQtdGVzdC1yZ3BzMzY0Ny9wcm92aWRlcnMvTWljcm9zb2Z0LlN5bmFwc2Uvd29ya3NwYWNlcy9zcWxia3dzcHMzNjQ3L29wZXJhdGlvblN0YXR1c2VzL2IwMGFhMGRjLWNkMWItNDhhMS1hNGNmLTY3MTc1NDVkZWVmYT9hcGktdmVyc2lvbj0yMDE5LTA2LTAxLXByZXZpZXc=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-client-request-id": [ + "451d8170-0b8b-4692-bb7c-48b27aad91c3" + ], + "User-Agent": [ + "FxVersion/4.6.29518.01", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.19042.", + "Microsoft.Azure.Management.Synapse.SynapseManagementClient/1.0.0.preview.4" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-request-id": [ + "026d1470-fc86-427a-9a2b-434400641df5" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11988" + ], + "x-ms-correlation-request-id": [ + "d68262b6-0e95-4a29-b75d-d23db7ca3387" + ], + "x-ms-routing-request-id": [ + "JAPANEAST:20210126T082913Z:d68262b6-0e95-4a29-b75d-d23db7ca3387" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Tue, 26 Jan 2021 08:29:13 GMT" + ], + "Content-Length": [ + "23" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"status\": \"InProgress\"\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/051ddeca-1ed6-4d8b-ba6f-1ff561e5f3b3/resourceGroups/sql-bk-cmdlet-test-rgps3647/providers/Microsoft.Synapse/workspaces/sqlbkwsps3647/operationStatuses/b00aa0dc-cd1b-48a1-a4cf-6717545deefa?api-version=2019-06-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMDUxZGRlY2EtMWVkNi00ZDhiLWJhNmYtMWZmNTYxZTVmM2IzL3Jlc291cmNlR3JvdXBzL3NxbC1iay1jbWRsZXQtdGVzdC1yZ3BzMzY0Ny9wcm92aWRlcnMvTWljcm9zb2Z0LlN5bmFwc2Uvd29ya3NwYWNlcy9zcWxia3dzcHMzNjQ3L29wZXJhdGlvblN0YXR1c2VzL2IwMGFhMGRjLWNkMWItNDhhMS1hNGNmLTY3MTc1NDVkZWVmYT9hcGktdmVyc2lvbj0yMDE5LTA2LTAxLXByZXZpZXc=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-client-request-id": [ + "451d8170-0b8b-4692-bb7c-48b27aad91c3" + ], + "User-Agent": [ + "FxVersion/4.6.29518.01", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.19042.", + "Microsoft.Azure.Management.Synapse.SynapseManagementClient/1.0.0.preview.4" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-request-id": [ + "1d665510-b253-4d2d-9391-a9689fc1b3d6" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11987" + ], + "x-ms-correlation-request-id": [ + "a6a54e9f-399b-4e7d-9a88-b2a87c8b40d8" + ], + "x-ms-routing-request-id": [ + "JAPANEAST:20210126T082923Z:a6a54e9f-399b-4e7d-9a88-b2a87c8b40d8" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Tue, 26 Jan 2021 08:29:23 GMT" + ], + "Content-Length": [ + "23" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"status\": \"InProgress\"\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/051ddeca-1ed6-4d8b-ba6f-1ff561e5f3b3/resourceGroups/sql-bk-cmdlet-test-rgps3647/providers/Microsoft.Synapse/workspaces/sqlbkwsps3647/operationStatuses/b00aa0dc-cd1b-48a1-a4cf-6717545deefa?api-version=2019-06-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMDUxZGRlY2EtMWVkNi00ZDhiLWJhNmYtMWZmNTYxZTVmM2IzL3Jlc291cmNlR3JvdXBzL3NxbC1iay1jbWRsZXQtdGVzdC1yZ3BzMzY0Ny9wcm92aWRlcnMvTWljcm9zb2Z0LlN5bmFwc2Uvd29ya3NwYWNlcy9zcWxia3dzcHMzNjQ3L29wZXJhdGlvblN0YXR1c2VzL2IwMGFhMGRjLWNkMWItNDhhMS1hNGNmLTY3MTc1NDVkZWVmYT9hcGktdmVyc2lvbj0yMDE5LTA2LTAxLXByZXZpZXc=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-client-request-id": [ + "451d8170-0b8b-4692-bb7c-48b27aad91c3" + ], + "User-Agent": [ + "FxVersion/4.6.29518.01", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.19042.", + "Microsoft.Azure.Management.Synapse.SynapseManagementClient/1.0.0.preview.4" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-request-id": [ + "3cad2c7d-3105-4a02-bf0f-e4557b48dee2" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11986" + ], + "x-ms-correlation-request-id": [ + "48aa48cb-1c6a-490f-a614-356557961c06" + ], + "x-ms-routing-request-id": [ + "JAPANEAST:20210126T082933Z:48aa48cb-1c6a-490f-a614-356557961c06" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Tue, 26 Jan 2021 08:29:33 GMT" + ], + "Content-Length": [ + "23" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"status\": \"InProgress\"\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/051ddeca-1ed6-4d8b-ba6f-1ff561e5f3b3/resourceGroups/sql-bk-cmdlet-test-rgps3647/providers/Microsoft.Synapse/workspaces/sqlbkwsps3647/operationStatuses/b00aa0dc-cd1b-48a1-a4cf-6717545deefa?api-version=2019-06-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMDUxZGRlY2EtMWVkNi00ZDhiLWJhNmYtMWZmNTYxZTVmM2IzL3Jlc291cmNlR3JvdXBzL3NxbC1iay1jbWRsZXQtdGVzdC1yZ3BzMzY0Ny9wcm92aWRlcnMvTWljcm9zb2Z0LlN5bmFwc2Uvd29ya3NwYWNlcy9zcWxia3dzcHMzNjQ3L29wZXJhdGlvblN0YXR1c2VzL2IwMGFhMGRjLWNkMWItNDhhMS1hNGNmLTY3MTc1NDVkZWVmYT9hcGktdmVyc2lvbj0yMDE5LTA2LTAxLXByZXZpZXc=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-client-request-id": [ + "451d8170-0b8b-4692-bb7c-48b27aad91c3" + ], + "User-Agent": [ + "FxVersion/4.6.29518.01", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.19042.", + "Microsoft.Azure.Management.Synapse.SynapseManagementClient/1.0.0.preview.4" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-request-id": [ + "7a799783-9e0d-48e3-89bf-4cd7f16a6701" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11985" + ], + "x-ms-correlation-request-id": [ + "36d4acd3-fc9b-4d62-a5fa-7b6c728a1ba4" + ], + "x-ms-routing-request-id": [ + "JAPANEAST:20210126T082944Z:36d4acd3-fc9b-4d62-a5fa-7b6c728a1ba4" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Tue, 26 Jan 2021 08:29:43 GMT" + ], + "Content-Length": [ + "23" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"status\": \"InProgress\"\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/051ddeca-1ed6-4d8b-ba6f-1ff561e5f3b3/resourceGroups/sql-bk-cmdlet-test-rgps3647/providers/Microsoft.Synapse/workspaces/sqlbkwsps3647/operationStatuses/b00aa0dc-cd1b-48a1-a4cf-6717545deefa?api-version=2019-06-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMDUxZGRlY2EtMWVkNi00ZDhiLWJhNmYtMWZmNTYxZTVmM2IzL3Jlc291cmNlR3JvdXBzL3NxbC1iay1jbWRsZXQtdGVzdC1yZ3BzMzY0Ny9wcm92aWRlcnMvTWljcm9zb2Z0LlN5bmFwc2Uvd29ya3NwYWNlcy9zcWxia3dzcHMzNjQ3L29wZXJhdGlvblN0YXR1c2VzL2IwMGFhMGRjLWNkMWItNDhhMS1hNGNmLTY3MTc1NDVkZWVmYT9hcGktdmVyc2lvbj0yMDE5LTA2LTAxLXByZXZpZXc=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-client-request-id": [ + "451d8170-0b8b-4692-bb7c-48b27aad91c3" + ], + "User-Agent": [ + "FxVersion/4.6.29518.01", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.19042.", + "Microsoft.Azure.Management.Synapse.SynapseManagementClient/1.0.0.preview.4" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-request-id": [ + "e5d55d5d-2c0c-44cc-83d8-a4302e3b4836" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11984" + ], + "x-ms-correlation-request-id": [ + "deda840d-61a3-437c-a1a3-34e9e29b2b51" + ], + "x-ms-routing-request-id": [ + "JAPANEAST:20210126T082954Z:deda840d-61a3-437c-a1a3-34e9e29b2b51" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Tue, 26 Jan 2021 08:29:54 GMT" + ], + "Content-Length": [ + "23" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"status\": \"InProgress\"\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/051ddeca-1ed6-4d8b-ba6f-1ff561e5f3b3/resourceGroups/sql-bk-cmdlet-test-rgps3647/providers/Microsoft.Synapse/workspaces/sqlbkwsps3647/operationStatuses/b00aa0dc-cd1b-48a1-a4cf-6717545deefa?api-version=2019-06-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMDUxZGRlY2EtMWVkNi00ZDhiLWJhNmYtMWZmNTYxZTVmM2IzL3Jlc291cmNlR3JvdXBzL3NxbC1iay1jbWRsZXQtdGVzdC1yZ3BzMzY0Ny9wcm92aWRlcnMvTWljcm9zb2Z0LlN5bmFwc2Uvd29ya3NwYWNlcy9zcWxia3dzcHMzNjQ3L29wZXJhdGlvblN0YXR1c2VzL2IwMGFhMGRjLWNkMWItNDhhMS1hNGNmLTY3MTc1NDVkZWVmYT9hcGktdmVyc2lvbj0yMDE5LTA2LTAxLXByZXZpZXc=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-client-request-id": [ + "451d8170-0b8b-4692-bb7c-48b27aad91c3" + ], + "User-Agent": [ + "FxVersion/4.6.29518.01", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.19042.", + "Microsoft.Azure.Management.Synapse.SynapseManagementClient/1.0.0.preview.4" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-request-id": [ + "8be6760a-0f00-4c2c-a6df-d261e4670544" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11983" + ], + "x-ms-correlation-request-id": [ + "88160644-0aaf-47d9-81b0-de7ef5456433" + ], + "x-ms-routing-request-id": [ + "JAPANEAST:20210126T083004Z:88160644-0aaf-47d9-81b0-de7ef5456433" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Tue, 26 Jan 2021 08:30:04 GMT" + ], + "Content-Length": [ + "23" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"status\": \"InProgress\"\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/051ddeca-1ed6-4d8b-ba6f-1ff561e5f3b3/resourceGroups/sql-bk-cmdlet-test-rgps3647/providers/Microsoft.Synapse/workspaces/sqlbkwsps3647/operationStatuses/b00aa0dc-cd1b-48a1-a4cf-6717545deefa?api-version=2019-06-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMDUxZGRlY2EtMWVkNi00ZDhiLWJhNmYtMWZmNTYxZTVmM2IzL3Jlc291cmNlR3JvdXBzL3NxbC1iay1jbWRsZXQtdGVzdC1yZ3BzMzY0Ny9wcm92aWRlcnMvTWljcm9zb2Z0LlN5bmFwc2Uvd29ya3NwYWNlcy9zcWxia3dzcHMzNjQ3L29wZXJhdGlvblN0YXR1c2VzL2IwMGFhMGRjLWNkMWItNDhhMS1hNGNmLTY3MTc1NDVkZWVmYT9hcGktdmVyc2lvbj0yMDE5LTA2LTAxLXByZXZpZXc=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-client-request-id": [ + "451d8170-0b8b-4692-bb7c-48b27aad91c3" + ], + "User-Agent": [ + "FxVersion/4.6.29518.01", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.19042.", + "Microsoft.Azure.Management.Synapse.SynapseManagementClient/1.0.0.preview.4" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-request-id": [ + "93c66e57-8a7b-442a-836b-0496678bdf32" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11982" + ], + "x-ms-correlation-request-id": [ + "4b62d039-8307-4574-8e01-3dd9e36c00a0" + ], + "x-ms-routing-request-id": [ + "JAPANEAST:20210126T083015Z:4b62d039-8307-4574-8e01-3dd9e36c00a0" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Tue, 26 Jan 2021 08:30:14 GMT" + ], + "Content-Length": [ + "23" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"status\": \"InProgress\"\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/051ddeca-1ed6-4d8b-ba6f-1ff561e5f3b3/resourceGroups/sql-bk-cmdlet-test-rgps3647/providers/Microsoft.Synapse/workspaces/sqlbkwsps3647/operationStatuses/b00aa0dc-cd1b-48a1-a4cf-6717545deefa?api-version=2019-06-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMDUxZGRlY2EtMWVkNi00ZDhiLWJhNmYtMWZmNTYxZTVmM2IzL3Jlc291cmNlR3JvdXBzL3NxbC1iay1jbWRsZXQtdGVzdC1yZ3BzMzY0Ny9wcm92aWRlcnMvTWljcm9zb2Z0LlN5bmFwc2Uvd29ya3NwYWNlcy9zcWxia3dzcHMzNjQ3L29wZXJhdGlvblN0YXR1c2VzL2IwMGFhMGRjLWNkMWItNDhhMS1hNGNmLTY3MTc1NDVkZWVmYT9hcGktdmVyc2lvbj0yMDE5LTA2LTAxLXByZXZpZXc=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-client-request-id": [ + "451d8170-0b8b-4692-bb7c-48b27aad91c3" + ], + "User-Agent": [ + "FxVersion/4.6.29518.01", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.19042.", + "Microsoft.Azure.Management.Synapse.SynapseManagementClient/1.0.0.preview.4" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-request-id": [ + "64bbe104-80ab-48cd-b835-96bcc4d0d815" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11981" + ], + "x-ms-correlation-request-id": [ + "31421dbd-910b-48bb-af1a-20ce3dba9ff4" + ], + "x-ms-routing-request-id": [ + "JAPANEAST:20210126T083025Z:31421dbd-910b-48bb-af1a-20ce3dba9ff4" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Tue, 26 Jan 2021 08:30:24 GMT" + ], + "Content-Length": [ + "23" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"status\": \"InProgress\"\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/051ddeca-1ed6-4d8b-ba6f-1ff561e5f3b3/resourceGroups/sql-bk-cmdlet-test-rgps3647/providers/Microsoft.Synapse/workspaces/sqlbkwsps3647/operationStatuses/b00aa0dc-cd1b-48a1-a4cf-6717545deefa?api-version=2019-06-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMDUxZGRlY2EtMWVkNi00ZDhiLWJhNmYtMWZmNTYxZTVmM2IzL3Jlc291cmNlR3JvdXBzL3NxbC1iay1jbWRsZXQtdGVzdC1yZ3BzMzY0Ny9wcm92aWRlcnMvTWljcm9zb2Z0LlN5bmFwc2Uvd29ya3NwYWNlcy9zcWxia3dzcHMzNjQ3L29wZXJhdGlvblN0YXR1c2VzL2IwMGFhMGRjLWNkMWItNDhhMS1hNGNmLTY3MTc1NDVkZWVmYT9hcGktdmVyc2lvbj0yMDE5LTA2LTAxLXByZXZpZXc=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-client-request-id": [ + "451d8170-0b8b-4692-bb7c-48b27aad91c3" + ], + "User-Agent": [ + "FxVersion/4.6.29518.01", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.19042.", + "Microsoft.Azure.Management.Synapse.SynapseManagementClient/1.0.0.preview.4" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-request-id": [ + "da21eda8-7faf-4034-be40-80608f76181b" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11980" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ], + "x-ms-correlation-request-id": [ + "c777b5a1-4070-4632-9dad-b1eeec785242" + ], + "x-ms-routing-request-id": [ + "JAPANEAST:20210126T083036Z:c777b5a1-4070-4632-9dad-b1eeec785242" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Tue, 26 Jan 2021 08:30:35 GMT" + ], + "Content-Length": [ + "23" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"status\": \"InProgress\"\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/051ddeca-1ed6-4d8b-ba6f-1ff561e5f3b3/resourceGroups/sql-bk-cmdlet-test-rgps3647/providers/Microsoft.Synapse/workspaces/sqlbkwsps3647/operationStatuses/b00aa0dc-cd1b-48a1-a4cf-6717545deefa?api-version=2019-06-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMDUxZGRlY2EtMWVkNi00ZDhiLWJhNmYtMWZmNTYxZTVmM2IzL3Jlc291cmNlR3JvdXBzL3NxbC1iay1jbWRsZXQtdGVzdC1yZ3BzMzY0Ny9wcm92aWRlcnMvTWljcm9zb2Z0LlN5bmFwc2Uvd29ya3NwYWNlcy9zcWxia3dzcHMzNjQ3L29wZXJhdGlvblN0YXR1c2VzL2IwMGFhMGRjLWNkMWItNDhhMS1hNGNmLTY3MTc1NDVkZWVmYT9hcGktdmVyc2lvbj0yMDE5LTA2LTAxLXByZXZpZXc=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-client-request-id": [ + "451d8170-0b8b-4692-bb7c-48b27aad91c3" + ], + "User-Agent": [ + "FxVersion/4.6.29518.01", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.19042.", + "Microsoft.Azure.Management.Synapse.SynapseManagementClient/1.0.0.preview.4" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-request-id": [ + "ee0025a6-feff-4efc-a76b-5e310c21fc65" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11979" + ], + "x-ms-correlation-request-id": [ + "5a34aa87-688e-4ef0-a428-0f811e84bc74" + ], + "x-ms-routing-request-id": [ + "JAPANEAST:20210126T083047Z:5a34aa87-688e-4ef0-a428-0f811e84bc74" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Tue, 26 Jan 2021 08:30:46 GMT" + ], + "Content-Length": [ + "23" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"status\": \"InProgress\"\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/051ddeca-1ed6-4d8b-ba6f-1ff561e5f3b3/resourceGroups/sql-bk-cmdlet-test-rgps3647/providers/Microsoft.Synapse/workspaces/sqlbkwsps3647/operationStatuses/b00aa0dc-cd1b-48a1-a4cf-6717545deefa?api-version=2019-06-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMDUxZGRlY2EtMWVkNi00ZDhiLWJhNmYtMWZmNTYxZTVmM2IzL3Jlc291cmNlR3JvdXBzL3NxbC1iay1jbWRsZXQtdGVzdC1yZ3BzMzY0Ny9wcm92aWRlcnMvTWljcm9zb2Z0LlN5bmFwc2Uvd29ya3NwYWNlcy9zcWxia3dzcHMzNjQ3L29wZXJhdGlvblN0YXR1c2VzL2IwMGFhMGRjLWNkMWItNDhhMS1hNGNmLTY3MTc1NDVkZWVmYT9hcGktdmVyc2lvbj0yMDE5LTA2LTAxLXByZXZpZXc=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-client-request-id": [ + "451d8170-0b8b-4692-bb7c-48b27aad91c3" + ], + "User-Agent": [ + "FxVersion/4.6.29518.01", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.19042.", + "Microsoft.Azure.Management.Synapse.SynapseManagementClient/1.0.0.preview.4" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-request-id": [ + "9f82db0f-f0a8-49f5-af88-846dd64d0d07" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11978" + ], + "x-ms-correlation-request-id": [ + "ea6b9e35-36bd-4dbb-ac66-5811ed85064b" + ], + "x-ms-routing-request-id": [ + "JAPANEAST:20210126T083057Z:ea6b9e35-36bd-4dbb-ac66-5811ed85064b" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Tue, 26 Jan 2021 08:30:56 GMT" + ], + "Content-Length": [ + "23" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"status\": \"InProgress\"\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/051ddeca-1ed6-4d8b-ba6f-1ff561e5f3b3/resourceGroups/sql-bk-cmdlet-test-rgps3647/providers/Microsoft.Synapse/workspaces/sqlbkwsps3647/operationStatuses/b00aa0dc-cd1b-48a1-a4cf-6717545deefa?api-version=2019-06-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMDUxZGRlY2EtMWVkNi00ZDhiLWJhNmYtMWZmNTYxZTVmM2IzL3Jlc291cmNlR3JvdXBzL3NxbC1iay1jbWRsZXQtdGVzdC1yZ3BzMzY0Ny9wcm92aWRlcnMvTWljcm9zb2Z0LlN5bmFwc2Uvd29ya3NwYWNlcy9zcWxia3dzcHMzNjQ3L29wZXJhdGlvblN0YXR1c2VzL2IwMGFhMGRjLWNkMWItNDhhMS1hNGNmLTY3MTc1NDVkZWVmYT9hcGktdmVyc2lvbj0yMDE5LTA2LTAxLXByZXZpZXc=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-client-request-id": [ + "451d8170-0b8b-4692-bb7c-48b27aad91c3" + ], + "User-Agent": [ + "FxVersion/4.6.29518.01", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.19042.", + "Microsoft.Azure.Management.Synapse.SynapseManagementClient/1.0.0.preview.4" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-request-id": [ + "ef589c7d-3d6f-4281-bae6-24829c1eb0c3" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11977" + ], + "x-ms-correlation-request-id": [ + "b09c2283-e407-491e-a6d7-b1695cafbdda" + ], + "x-ms-routing-request-id": [ + "JAPANEAST:20210126T083108Z:b09c2283-e407-491e-a6d7-b1695cafbdda" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Tue, 26 Jan 2021 08:31:08 GMT" + ], + "Content-Length": [ + "23" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"status\": \"InProgress\"\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/051ddeca-1ed6-4d8b-ba6f-1ff561e5f3b3/resourceGroups/sql-bk-cmdlet-test-rgps3647/providers/Microsoft.Synapse/workspaces/sqlbkwsps3647/operationStatuses/b00aa0dc-cd1b-48a1-a4cf-6717545deefa?api-version=2019-06-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMDUxZGRlY2EtMWVkNi00ZDhiLWJhNmYtMWZmNTYxZTVmM2IzL3Jlc291cmNlR3JvdXBzL3NxbC1iay1jbWRsZXQtdGVzdC1yZ3BzMzY0Ny9wcm92aWRlcnMvTWljcm9zb2Z0LlN5bmFwc2Uvd29ya3NwYWNlcy9zcWxia3dzcHMzNjQ3L29wZXJhdGlvblN0YXR1c2VzL2IwMGFhMGRjLWNkMWItNDhhMS1hNGNmLTY3MTc1NDVkZWVmYT9hcGktdmVyc2lvbj0yMDE5LTA2LTAxLXByZXZpZXc=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-client-request-id": [ + "451d8170-0b8b-4692-bb7c-48b27aad91c3" + ], + "User-Agent": [ + "FxVersion/4.6.29518.01", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.19042.", + "Microsoft.Azure.Management.Synapse.SynapseManagementClient/1.0.0.preview.4" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-request-id": [ + "5d43caf1-28ef-42b8-90a6-e436897890c4" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11976" + ], + "x-ms-correlation-request-id": [ + "166893a1-a180-4d0a-86da-67a7f02708d9" + ], + "x-ms-routing-request-id": [ + "JAPANEAST:20210126T083118Z:166893a1-a180-4d0a-86da-67a7f02708d9" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Tue, 26 Jan 2021 08:31:18 GMT" + ], + "Content-Length": [ + "22" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"status\": \"Succeeded\"\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/051ddeca-1ed6-4d8b-ba6f-1ff561e5f3b3/resourceGroups/sql-bk-cmdlet-test-rgps3647/providers/Microsoft.Synapse/workspaces/sqlbkwsps3647/sqlPools/sqlbkpoolps3647?api-version=2019-06-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMDUxZGRlY2EtMWVkNi00ZDhiLWJhNmYtMWZmNTYxZTVmM2IzL3Jlc291cmNlR3JvdXBzL3NxbC1iay1jbWRsZXQtdGVzdC1yZ3BzMzY0Ny9wcm92aWRlcnMvTWljcm9zb2Z0LlN5bmFwc2Uvd29ya3NwYWNlcy9zcWxia3dzcHMzNjQ3L3NxbFBvb2xzL3NxbGJrcG9vbHBzMzY0Nz9hcGktdmVyc2lvbj0yMDE5LTA2LTAxLXByZXZpZXc=", + "RequestMethod": "DELETE", + "RequestBody": "", + "RequestHeaders": { + "x-ms-client-request-id": [ + "bba78e2a-af4d-4012-8c36-73ca48e57323" + ], + "Accept-Language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.29518.01", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.19042.", + "Microsoft.Azure.Management.Synapse.SynapseManagementClient/1.0.0.preview.4" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "Location": [ + "https://management.azure.com/subscriptions/051ddeca-1ed6-4d8b-ba6f-1ff561e5f3b3/resourceGroups/sql-bk-cmdlet-test-rgps3647/providers/Microsoft.Synapse/workspaces/sqlbkwsps3647/operationResults/c7d1cd20-c246-44d7-94c3-29c04a5f5aec?api-version=2019-06-01-preview" + ], + "Retry-After": [ + "10" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Azure-AsyncOperation": [ + "https://management.azure.com/subscriptions/051ddeca-1ed6-4d8b-ba6f-1ff561e5f3b3/resourceGroups/sql-bk-cmdlet-test-rgps3647/providers/Microsoft.Synapse/workspaces/sqlbkwsps3647/operationStatuses/c7d1cd20-c246-44d7-94c3-29c04a5f5aec?api-version=2019-06-01-preview" + ], + "Access-Control-Allow-Headers": [ + "Location", + "Retry-After" + ], + "Access-Control-Expose-Headers": [ + "Location", + "Retry-After" + ], + "x-ms-request-id": [ + "c6c1fdab-651f-4077-a670-a4d70a854553" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ], + "x-ms-ratelimit-remaining-subscription-deletes": [ + "14998" + ], + "x-ms-correlation-request-id": [ + "4380e4db-7fe6-4e48-ad63-9d25ade18c01" + ], + "x-ms-routing-request-id": [ + "JAPANEAST:20210126T083130Z:4380e4db-7fe6-4e48-ad63-9d25ade18c01" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Tue, 26 Jan 2021 08:31:30 GMT" + ], + "Expires": [ + "-1" + ], + "Content-Length": [ + "0" + ] + }, + "ResponseBody": "", + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/051ddeca-1ed6-4d8b-ba6f-1ff561e5f3b3/resourceGroups/sql-bk-cmdlet-test-rgps3647/providers/Microsoft.Synapse/workspaces/sqlbkwsps3647/operationStatuses/c7d1cd20-c246-44d7-94c3-29c04a5f5aec?api-version=2019-06-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMDUxZGRlY2EtMWVkNi00ZDhiLWJhNmYtMWZmNTYxZTVmM2IzL3Jlc291cmNlR3JvdXBzL3NxbC1iay1jbWRsZXQtdGVzdC1yZ3BzMzY0Ny9wcm92aWRlcnMvTWljcm9zb2Z0LlN5bmFwc2Uvd29ya3NwYWNlcy9zcWxia3dzcHMzNjQ3L29wZXJhdGlvblN0YXR1c2VzL2M3ZDFjZDIwLWMyNDYtNDRkNy05NGMzLTI5YzA0YTVmNWFlYz9hcGktdmVyc2lvbj0yMDE5LTA2LTAxLXByZXZpZXc=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-client-request-id": [ + "bba78e2a-af4d-4012-8c36-73ca48e57323" + ], + "User-Agent": [ + "FxVersion/4.6.29518.01", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.19042.", + "Microsoft.Azure.Management.Synapse.SynapseManagementClient/1.0.0.preview.4" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-request-id": [ + "3f520303-ca25-42bc-b056-5a1c40af1b9a" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11973" + ], + "x-ms-correlation-request-id": [ + "b8ecd1c8-2795-4850-8895-b70888545d60" + ], + "x-ms-routing-request-id": [ + "JAPANEAST:20210126T083141Z:b8ecd1c8-2795-4850-8895-b70888545d60" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Tue, 26 Jan 2021 08:31:41 GMT" + ], + "Content-Length": [ + "23" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"status\": \"InProgress\"\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/051ddeca-1ed6-4d8b-ba6f-1ff561e5f3b3/resourceGroups/sql-bk-cmdlet-test-rgps3647/providers/Microsoft.Synapse/workspaces/sqlbkwsps3647/operationStatuses/c7d1cd20-c246-44d7-94c3-29c04a5f5aec?api-version=2019-06-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMDUxZGRlY2EtMWVkNi00ZDhiLWJhNmYtMWZmNTYxZTVmM2IzL3Jlc291cmNlR3JvdXBzL3NxbC1iay1jbWRsZXQtdGVzdC1yZ3BzMzY0Ny9wcm92aWRlcnMvTWljcm9zb2Z0LlN5bmFwc2Uvd29ya3NwYWNlcy9zcWxia3dzcHMzNjQ3L29wZXJhdGlvblN0YXR1c2VzL2M3ZDFjZDIwLWMyNDYtNDRkNy05NGMzLTI5YzA0YTVmNWFlYz9hcGktdmVyc2lvbj0yMDE5LTA2LTAxLXByZXZpZXc=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-client-request-id": [ + "bba78e2a-af4d-4012-8c36-73ca48e57323" + ], + "User-Agent": [ + "FxVersion/4.6.29518.01", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.19042.", + "Microsoft.Azure.Management.Synapse.SynapseManagementClient/1.0.0.preview.4" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-request-id": [ + "0ddd9869-02c7-46af-94a4-e06b8d0c7332" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11972" + ], + "x-ms-correlation-request-id": [ + "6873c6df-0c0a-4fa8-8678-24b91311b83b" + ], + "x-ms-routing-request-id": [ + "JAPANEAST:20210126T083151Z:6873c6df-0c0a-4fa8-8678-24b91311b83b" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Tue, 26 Jan 2021 08:31:51 GMT" + ], + "Content-Length": [ + "23" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"status\": \"InProgress\"\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/051ddeca-1ed6-4d8b-ba6f-1ff561e5f3b3/resourceGroups/sql-bk-cmdlet-test-rgps3647/providers/Microsoft.Synapse/workspaces/sqlbkwsps3647/operationStatuses/c7d1cd20-c246-44d7-94c3-29c04a5f5aec?api-version=2019-06-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMDUxZGRlY2EtMWVkNi00ZDhiLWJhNmYtMWZmNTYxZTVmM2IzL3Jlc291cmNlR3JvdXBzL3NxbC1iay1jbWRsZXQtdGVzdC1yZ3BzMzY0Ny9wcm92aWRlcnMvTWljcm9zb2Z0LlN5bmFwc2Uvd29ya3NwYWNlcy9zcWxia3dzcHMzNjQ3L29wZXJhdGlvblN0YXR1c2VzL2M3ZDFjZDIwLWMyNDYtNDRkNy05NGMzLTI5YzA0YTVmNWFlYz9hcGktdmVyc2lvbj0yMDE5LTA2LTAxLXByZXZpZXc=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-client-request-id": [ + "bba78e2a-af4d-4012-8c36-73ca48e57323" + ], + "User-Agent": [ + "FxVersion/4.6.29518.01", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.19042.", + "Microsoft.Azure.Management.Synapse.SynapseManagementClient/1.0.0.preview.4" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-request-id": [ + "4c1cca59-34c9-41fc-a85a-da9f8b6aa41e" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11971" + ], + "x-ms-correlation-request-id": [ + "de8a88de-5867-43cd-9c19-491553307ed7" + ], + "x-ms-routing-request-id": [ + "JAPANEAST:20210126T083201Z:de8a88de-5867-43cd-9c19-491553307ed7" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Tue, 26 Jan 2021 08:32:01 GMT" + ], + "Content-Length": [ + "23" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"status\": \"InProgress\"\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/051ddeca-1ed6-4d8b-ba6f-1ff561e5f3b3/resourceGroups/sql-bk-cmdlet-test-rgps3647/providers/Microsoft.Synapse/workspaces/sqlbkwsps3647/operationStatuses/c7d1cd20-c246-44d7-94c3-29c04a5f5aec?api-version=2019-06-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMDUxZGRlY2EtMWVkNi00ZDhiLWJhNmYtMWZmNTYxZTVmM2IzL3Jlc291cmNlR3JvdXBzL3NxbC1iay1jbWRsZXQtdGVzdC1yZ3BzMzY0Ny9wcm92aWRlcnMvTWljcm9zb2Z0LlN5bmFwc2Uvd29ya3NwYWNlcy9zcWxia3dzcHMzNjQ3L29wZXJhdGlvblN0YXR1c2VzL2M3ZDFjZDIwLWMyNDYtNDRkNy05NGMzLTI5YzA0YTVmNWFlYz9hcGktdmVyc2lvbj0yMDE5LTA2LTAxLXByZXZpZXc=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-client-request-id": [ + "bba78e2a-af4d-4012-8c36-73ca48e57323" + ], + "User-Agent": [ + "FxVersion/4.6.29518.01", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.19042.", + "Microsoft.Azure.Management.Synapse.SynapseManagementClient/1.0.0.preview.4" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-request-id": [ + "1d07d97d-6342-4962-a28a-450bcc2076fe" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11970" + ], + "x-ms-correlation-request-id": [ + "900488b3-625c-4844-b0cd-a3c310f0e76c" + ], + "x-ms-routing-request-id": [ + "JAPANEAST:20210126T083212Z:900488b3-625c-4844-b0cd-a3c310f0e76c" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Tue, 26 Jan 2021 08:32:11 GMT" + ], + "Content-Length": [ + "22" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"status\": \"Succeeded\"\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/051ddeca-1ed6-4d8b-ba6f-1ff561e5f3b3/resourceGroups/sql-bk-cmdlet-test-rgps3647/providers/Microsoft.Synapse/workspaces/sqlbkwsps3647/operationResults/c7d1cd20-c246-44d7-94c3-29c04a5f5aec?api-version=2019-06-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMDUxZGRlY2EtMWVkNi00ZDhiLWJhNmYtMWZmNTYxZTVmM2IzL3Jlc291cmNlR3JvdXBzL3NxbC1iay1jbWRsZXQtdGVzdC1yZ3BzMzY0Ny9wcm92aWRlcnMvTWljcm9zb2Z0LlN5bmFwc2Uvd29ya3NwYWNlcy9zcWxia3dzcHMzNjQ3L29wZXJhdGlvblJlc3VsdHMvYzdkMWNkMjAtYzI0Ni00NGQ3LTk0YzMtMjljMDRhNWY1YWVjP2FwaS12ZXJzaW9uPTIwMTktMDYtMDEtcHJldmlldw==", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-client-request-id": [ + "bba78e2a-af4d-4012-8c36-73ca48e57323" + ], + "User-Agent": [ + "FxVersion/4.6.29518.01", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.19042.", + "Microsoft.Azure.Management.Synapse.SynapseManagementClient/1.0.0.preview.4" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-request-id": [ + "eeb3ea99-4b9f-49ae-99e3-51566f0f1168" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11969" + ], + "x-ms-correlation-request-id": [ + "d3f96a38-98c2-487c-9d15-eaf5ae4d5a56" + ], + "x-ms-routing-request-id": [ + "JAPANEAST:20210126T083212Z:d3f96a38-98c2-487c-9d15-eaf5ae4d5a56" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Tue, 26 Jan 2021 08:32:12 GMT" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "", + "StatusCode": 204 + }, + { + "RequestUri": "/subscriptions/051ddeca-1ed6-4d8b-ba6f-1ff561e5f3b3/resourceGroups/sql-bk-cmdlet-test-rgps3647/providers/Microsoft.Synapse/workspaces/sqlbkwsps3647/restorableDroppedSqlPools?api-version=2019-06-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMDUxZGRlY2EtMWVkNi00ZDhiLWJhNmYtMWZmNTYxZTVmM2IzL3Jlc291cmNlR3JvdXBzL3NxbC1iay1jbWRsZXQtdGVzdC1yZ3BzMzY0Ny9wcm92aWRlcnMvTWljcm9zb2Z0LlN5bmFwc2Uvd29ya3NwYWNlcy9zcWxia3dzcHMzNjQ3L3Jlc3RvcmFibGVEcm9wcGVkU3FsUG9vbHM/YXBpLXZlcnNpb249MjAxOS0wNi0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-client-request-id": [ + "db2a1731-df25-473d-b9ec-dcf2dbe4cc83" + ], + "Accept-Language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.29518.01", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.19042.", + "Microsoft.Azure.Management.Synapse.SynapseManagementClient/1.0.0.preview.4" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-request-id": [ + "7085efe9-6cfa-463b-9fb2-3569ce60a668" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11998" + ], + "x-ms-correlation-request-id": [ + "704a9a67-4f11-43d6-b9be-be96da7dfe7e" + ], + "x-ms-routing-request-id": [ + "JAPANEAST:20210126T083714Z:704a9a67-4f11-43d6-b9be-be96da7dfe7e" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Tue, 26 Jan 2021 08:37:14 GMT" + ], + "Content-Length": [ + "659" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/subscriptions/051ddeca-1ed6-4d8b-ba6f-1ff561e5f3b3/resourceGroups/sql-bk-cmdlet-test-rgps3647/providers/Microsoft.Synapse/workspaces/sqlbkwsps3647/restorableDroppedSqlPools/sqlbkpoolps3647,132561235218630000\",\r\n \"name\": \"sqlbkpoolps3647,132561235218630000\",\r\n \"type\": \"Microsoft.Synapse/workspaces/restorableDroppedSqlPools\",\r\n \"location\": \"North Europe\",\r\n \"properties\": {\r\n \"databaseName\": \"sqlbkpoolps3647\",\r\n \"edition\": \"DataWarehouse\",\r\n \"maxSizeBytes\": \"263882790666240\",\r\n \"serviceLevelObjective\": \"DW200c\",\r\n \"elasticPoolName\": null,\r\n \"creationDate\": \"2021-01-26T08:29:08.937Z\",\r\n \"deletionDate\": \"2021-01-26T08:32:01.863Z\",\r\n \"earliestRestoreDate\": \"2021-01-26T09:01:15.687Z\"\r\n }\r\n }\r\n ]\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/051ddeca-1ed6-4d8b-ba6f-1ff561e5f3b3/resourceGroups/sql-bk-cmdlet-test-rgps3647/providers/Microsoft.Synapse/workspaces/sqlbkwsps3647/restorableDroppedSqlPools?api-version=2019-06-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMDUxZGRlY2EtMWVkNi00ZDhiLWJhNmYtMWZmNTYxZTVmM2IzL3Jlc291cmNlR3JvdXBzL3NxbC1iay1jbWRsZXQtdGVzdC1yZ3BzMzY0Ny9wcm92aWRlcnMvTWljcm9zb2Z0LlN5bmFwc2Uvd29ya3NwYWNlcy9zcWxia3dzcHMzNjQ3L3Jlc3RvcmFibGVEcm9wcGVkU3FsUG9vbHM/YXBpLXZlcnNpb249MjAxOS0wNi0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-client-request-id": [ + "1e2b4481-92dd-424a-a44f-a2625ab24168" + ], + "Accept-Language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.29518.01", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.19042.", + "Microsoft.Azure.Management.Synapse.SynapseManagementClient/1.0.0.preview.4" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-request-id": [ + "1a8a3e73-b818-4c03-b9e2-eeb22b544ac6" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11997" + ], + "x-ms-correlation-request-id": [ + "2bfb5121-9054-453e-a485-d133bf325e88" + ], + "x-ms-routing-request-id": [ + "JAPANEAST:20210126T083715Z:2bfb5121-9054-453e-a485-d133bf325e88" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Tue, 26 Jan 2021 08:37:14 GMT" + ], + "Content-Length": [ + "659" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/subscriptions/051ddeca-1ed6-4d8b-ba6f-1ff561e5f3b3/resourceGroups/sql-bk-cmdlet-test-rgps3647/providers/Microsoft.Synapse/workspaces/sqlbkwsps3647/restorableDroppedSqlPools/sqlbkpoolps3647,132561235218630000\",\r\n \"name\": \"sqlbkpoolps3647,132561235218630000\",\r\n \"type\": \"Microsoft.Synapse/workspaces/restorableDroppedSqlPools\",\r\n \"location\": \"North Europe\",\r\n \"properties\": {\r\n \"databaseName\": \"sqlbkpoolps3647\",\r\n \"edition\": \"DataWarehouse\",\r\n \"maxSizeBytes\": \"263882790666240\",\r\n \"serviceLevelObjective\": \"DW200c\",\r\n \"elasticPoolName\": null,\r\n \"creationDate\": \"2021-01-26T08:29:08.937Z\",\r\n \"deletionDate\": \"2021-01-26T08:32:01.863Z\",\r\n \"earliestRestoreDate\": \"2021-01-26T09:01:15.687Z\"\r\n }\r\n }\r\n ]\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/051ddeca-1ed6-4d8b-ba6f-1ff561e5f3b3/resourcegroups/sql-bk-cmdlet-test-rgps3647?api-version=2016-09-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMDUxZGRlY2EtMWVkNi00ZDhiLWJhNmYtMWZmNTYxZTVmM2IzL3Jlc291cmNlZ3JvdXBzL3NxbC1iay1jbWRsZXQtdGVzdC1yZ3BzMzY0Nz9hcGktdmVyc2lvbj0yMDE2LTA5LTAx", + "RequestMethod": "DELETE", + "RequestBody": "", + "RequestHeaders": { + "x-ms-client-request-id": [ + "1921e560-04f1-4d6a-97cc-6e8771a313ad" + ], + "Accept-Language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.29518.01", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.19042.", + "Microsoft.Azure.Management.Internal.Resources.ResourceManagementClient/1.3.30" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "Location": [ + "https://management.azure.com/subscriptions/051ddeca-1ed6-4d8b-ba6f-1ff561e5f3b3/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1TUUw6MkRCSzoyRENNRExFVDoyRFRFU1Q6MkRSR1BTMzY0Ny1OT1JUSEVVUk9QRSIsImpvYkxvY2F0aW9uIjoibm9ydGhldXJvcGUifQ?api-version=2016-09-01" + ], + "Retry-After": [ + "15" + ], + "x-ms-ratelimit-remaining-subscription-deletes": [ + "14998" + ], + "x-ms-request-id": [ + "ce9c4be2-ac7d-47ad-941c-f489be359426" + ], + "x-ms-correlation-request-id": [ + "ce9c4be2-ac7d-47ad-941c-f489be359426" + ], + "x-ms-routing-request-id": [ + "JAPANEAST:20210126T083720Z:ce9c4be2-ac7d-47ad-941c-f489be359426" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Tue, 26 Jan 2021 08:37:19 GMT" + ], + "Expires": [ + "-1" + ], + "Content-Length": [ + "0" + ] + }, + "ResponseBody": "", + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/051ddeca-1ed6-4d8b-ba6f-1ff561e5f3b3/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1TUUw6MkRCSzoyRENNRExFVDoyRFRFU1Q6MkRSR1BTMzY0Ny1OT1JUSEVVUk9QRSIsImpvYkxvY2F0aW9uIjoibm9ydGhldXJvcGUifQ?api-version=2016-09-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMDUxZGRlY2EtMWVkNi00ZDhiLWJhNmYtMWZmNTYxZTVmM2IzL29wZXJhdGlvbnJlc3VsdHMvZXlKcWIySkpaQ0k2SWxKRlUwOVZVa05GUjFKUFZWQkVSVXhGVkVsUFRrcFBRaTFUVVV3Nk1rUkNTem95UkVOTlJFeEZWRG95UkZSRlUxUTZNa1JTUjFCVE16WTBOeTFPVDFKVVNFVlZVazlRUlNJc0ltcHZZa3h2WTJGMGFXOXVJam9pYm05eWRHaGxkWEp2Y0dVaWZRP2FwaS12ZXJzaW9uPTIwMTYtMDktMDE=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.6.29518.01", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.19042.", + "Microsoft.Azure.Management.Internal.Resources.ResourceManagementClient/1.3.30" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "Location": [ + "https://management.azure.com/subscriptions/051ddeca-1ed6-4d8b-ba6f-1ff561e5f3b3/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1TUUw6MkRCSzoyRENNRExFVDoyRFRFU1Q6MkRSR1BTMzY0Ny1OT1JUSEVVUk9QRSIsImpvYkxvY2F0aW9uIjoibm9ydGhldXJvcGUifQ?api-version=2016-09-01" + ], + "Retry-After": [ + "15" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11998" + ], + "x-ms-request-id": [ + "d94858c3-cccd-44fb-a8e9-507fc4c77fec" + ], + "x-ms-correlation-request-id": [ + "d94858c3-cccd-44fb-a8e9-507fc4c77fec" + ], + "x-ms-routing-request-id": [ + "JAPANEAST:20210126T083736Z:d94858c3-cccd-44fb-a8e9-507fc4c77fec" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Tue, 26 Jan 2021 08:37:35 GMT" + ], + "Expires": [ + "-1" + ], + "Content-Length": [ + "0" + ] + }, + "ResponseBody": "", + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/051ddeca-1ed6-4d8b-ba6f-1ff561e5f3b3/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1TUUw6MkRCSzoyRENNRExFVDoyRFRFU1Q6MkRSR1BTMzY0Ny1OT1JUSEVVUk9QRSIsImpvYkxvY2F0aW9uIjoibm9ydGhldXJvcGUifQ?api-version=2016-09-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMDUxZGRlY2EtMWVkNi00ZDhiLWJhNmYtMWZmNTYxZTVmM2IzL29wZXJhdGlvbnJlc3VsdHMvZXlKcWIySkpaQ0k2SWxKRlUwOVZVa05GUjFKUFZWQkVSVXhGVkVsUFRrcFBRaTFUVVV3Nk1rUkNTem95UkVOTlJFeEZWRG95UkZSRlUxUTZNa1JTUjFCVE16WTBOeTFPVDFKVVNFVlZVazlRUlNJc0ltcHZZa3h2WTJGMGFXOXVJam9pYm05eWRHaGxkWEp2Y0dVaWZRP2FwaS12ZXJzaW9uPTIwMTYtMDktMDE=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.6.29518.01", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.19042.", + "Microsoft.Azure.Management.Internal.Resources.ResourceManagementClient/1.3.30" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "Location": [ + "https://management.azure.com/subscriptions/051ddeca-1ed6-4d8b-ba6f-1ff561e5f3b3/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1TUUw6MkRCSzoyRENNRExFVDoyRFRFU1Q6MkRSR1BTMzY0Ny1OT1JUSEVVUk9QRSIsImpvYkxvY2F0aW9uIjoibm9ydGhldXJvcGUifQ?api-version=2016-09-01" + ], + "Retry-After": [ + "15" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11997" + ], + "x-ms-request-id": [ + "16d5b7be-f1b2-4b60-aa8e-8deb59de9324" + ], + "x-ms-correlation-request-id": [ + "16d5b7be-f1b2-4b60-aa8e-8deb59de9324" + ], + "x-ms-routing-request-id": [ + "JAPANEAST:20210126T083751Z:16d5b7be-f1b2-4b60-aa8e-8deb59de9324" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Tue, 26 Jan 2021 08:37:51 GMT" + ], + "Expires": [ + "-1" + ], + "Content-Length": [ + "0" + ] + }, + "ResponseBody": "", + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/051ddeca-1ed6-4d8b-ba6f-1ff561e5f3b3/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1TUUw6MkRCSzoyRENNRExFVDoyRFRFU1Q6MkRSR1BTMzY0Ny1OT1JUSEVVUk9QRSIsImpvYkxvY2F0aW9uIjoibm9ydGhldXJvcGUifQ?api-version=2016-09-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMDUxZGRlY2EtMWVkNi00ZDhiLWJhNmYtMWZmNTYxZTVmM2IzL29wZXJhdGlvbnJlc3VsdHMvZXlKcWIySkpaQ0k2SWxKRlUwOVZVa05GUjFKUFZWQkVSVXhGVkVsUFRrcFBRaTFUVVV3Nk1rUkNTem95UkVOTlJFeEZWRG95UkZSRlUxUTZNa1JTUjFCVE16WTBOeTFPVDFKVVNFVlZVazlRUlNJc0ltcHZZa3h2WTJGMGFXOXVJam9pYm05eWRHaGxkWEp2Y0dVaWZRP2FwaS12ZXJzaW9uPTIwMTYtMDktMDE=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.6.29518.01", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.19042.", + "Microsoft.Azure.Management.Internal.Resources.ResourceManagementClient/1.3.30" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "Location": [ + "https://management.azure.com/subscriptions/051ddeca-1ed6-4d8b-ba6f-1ff561e5f3b3/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1TUUw6MkRCSzoyRENNRExFVDoyRFRFU1Q6MkRSR1BTMzY0Ny1OT1JUSEVVUk9QRSIsImpvYkxvY2F0aW9uIjoibm9ydGhldXJvcGUifQ?api-version=2016-09-01" + ], + "Retry-After": [ + "15" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11996" + ], + "x-ms-request-id": [ + "173868fa-26b7-4a58-80b4-38d7a13efda2" + ], + "x-ms-correlation-request-id": [ + "173868fa-26b7-4a58-80b4-38d7a13efda2" + ], + "x-ms-routing-request-id": [ + "JAPANEAST:20210126T083807Z:173868fa-26b7-4a58-80b4-38d7a13efda2" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Tue, 26 Jan 2021 08:38:07 GMT" + ], + "Expires": [ + "-1" + ], + "Content-Length": [ + "0" + ] + }, + "ResponseBody": "", + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/051ddeca-1ed6-4d8b-ba6f-1ff561e5f3b3/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1TUUw6MkRCSzoyRENNRExFVDoyRFRFU1Q6MkRSR1BTMzY0Ny1OT1JUSEVVUk9QRSIsImpvYkxvY2F0aW9uIjoibm9ydGhldXJvcGUifQ?api-version=2016-09-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMDUxZGRlY2EtMWVkNi00ZDhiLWJhNmYtMWZmNTYxZTVmM2IzL29wZXJhdGlvbnJlc3VsdHMvZXlKcWIySkpaQ0k2SWxKRlUwOVZVa05GUjFKUFZWQkVSVXhGVkVsUFRrcFBRaTFUVVV3Nk1rUkNTem95UkVOTlJFeEZWRG95UkZSRlUxUTZNa1JTUjFCVE16WTBOeTFPVDFKVVNFVlZVazlRUlNJc0ltcHZZa3h2WTJGMGFXOXVJam9pYm05eWRHaGxkWEp2Y0dVaWZRP2FwaS12ZXJzaW9uPTIwMTYtMDktMDE=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.6.29518.01", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.19042.", + "Microsoft.Azure.Management.Internal.Resources.ResourceManagementClient/1.3.30" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "Location": [ + "https://management.azure.com/subscriptions/051ddeca-1ed6-4d8b-ba6f-1ff561e5f3b3/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1TUUw6MkRCSzoyRENNRExFVDoyRFRFU1Q6MkRSR1BTMzY0Ny1OT1JUSEVVUk9QRSIsImpvYkxvY2F0aW9uIjoibm9ydGhldXJvcGUifQ?api-version=2016-09-01" + ], + "Retry-After": [ + "15" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11995" + ], + "x-ms-request-id": [ + "e26b4193-5c94-493e-bf36-2a6368cc077a" + ], + "x-ms-correlation-request-id": [ + "e26b4193-5c94-493e-bf36-2a6368cc077a" + ], + "x-ms-routing-request-id": [ + "JAPANEAST:20210126T083822Z:e26b4193-5c94-493e-bf36-2a6368cc077a" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Tue, 26 Jan 2021 08:38:22 GMT" + ], + "Expires": [ + "-1" + ], + "Content-Length": [ + "0" + ] + }, + "ResponseBody": "", + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/051ddeca-1ed6-4d8b-ba6f-1ff561e5f3b3/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1TUUw6MkRCSzoyRENNRExFVDoyRFRFU1Q6MkRSR1BTMzY0Ny1OT1JUSEVVUk9QRSIsImpvYkxvY2F0aW9uIjoibm9ydGhldXJvcGUifQ?api-version=2016-09-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMDUxZGRlY2EtMWVkNi00ZDhiLWJhNmYtMWZmNTYxZTVmM2IzL29wZXJhdGlvbnJlc3VsdHMvZXlKcWIySkpaQ0k2SWxKRlUwOVZVa05GUjFKUFZWQkVSVXhGVkVsUFRrcFBRaTFUVVV3Nk1rUkNTem95UkVOTlJFeEZWRG95UkZSRlUxUTZNa1JTUjFCVE16WTBOeTFPVDFKVVNFVlZVazlRUlNJc0ltcHZZa3h2WTJGMGFXOXVJam9pYm05eWRHaGxkWEp2Y0dVaWZRP2FwaS12ZXJzaW9uPTIwMTYtMDktMDE=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.6.29518.01", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.19042.", + "Microsoft.Azure.Management.Internal.Resources.ResourceManagementClient/1.3.30" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "Location": [ + "https://management.azure.com/subscriptions/051ddeca-1ed6-4d8b-ba6f-1ff561e5f3b3/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1TUUw6MkRCSzoyRENNRExFVDoyRFRFU1Q6MkRSR1BTMzY0Ny1OT1JUSEVVUk9QRSIsImpvYkxvY2F0aW9uIjoibm9ydGhldXJvcGUifQ?api-version=2016-09-01" + ], + "Retry-After": [ + "15" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11994" + ], + "x-ms-request-id": [ + "977f0f36-7ce0-4e4e-b827-92afd5ecb5bc" + ], + "x-ms-correlation-request-id": [ + "977f0f36-7ce0-4e4e-b827-92afd5ecb5bc" + ], + "x-ms-routing-request-id": [ + "JAPANEAST:20210126T083838Z:977f0f36-7ce0-4e4e-b827-92afd5ecb5bc" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Tue, 26 Jan 2021 08:38:37 GMT" + ], + "Expires": [ + "-1" + ], + "Content-Length": [ + "0" + ] + }, + "ResponseBody": "", + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/051ddeca-1ed6-4d8b-ba6f-1ff561e5f3b3/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1TUUw6MkRCSzoyRENNRExFVDoyRFRFU1Q6MkRSR1BTMzY0Ny1OT1JUSEVVUk9QRSIsImpvYkxvY2F0aW9uIjoibm9ydGhldXJvcGUifQ?api-version=2016-09-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMDUxZGRlY2EtMWVkNi00ZDhiLWJhNmYtMWZmNTYxZTVmM2IzL29wZXJhdGlvbnJlc3VsdHMvZXlKcWIySkpaQ0k2SWxKRlUwOVZVa05GUjFKUFZWQkVSVXhGVkVsUFRrcFBRaTFUVVV3Nk1rUkNTem95UkVOTlJFeEZWRG95UkZSRlUxUTZNa1JTUjFCVE16WTBOeTFPVDFKVVNFVlZVazlRUlNJc0ltcHZZa3h2WTJGMGFXOXVJam9pYm05eWRHaGxkWEp2Y0dVaWZRP2FwaS12ZXJzaW9uPTIwMTYtMDktMDE=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.6.29518.01", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.19042.", + "Microsoft.Azure.Management.Internal.Resources.ResourceManagementClient/1.3.30" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "Location": [ + "https://management.azure.com/subscriptions/051ddeca-1ed6-4d8b-ba6f-1ff561e5f3b3/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1TUUw6MkRCSzoyRENNRExFVDoyRFRFU1Q6MkRSR1BTMzY0Ny1OT1JUSEVVUk9QRSIsImpvYkxvY2F0aW9uIjoibm9ydGhldXJvcGUifQ?api-version=2016-09-01" + ], + "Retry-After": [ + "15" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11993" + ], + "x-ms-request-id": [ + "5f84ae47-aa7b-4250-a770-992a67639d54" + ], + "x-ms-correlation-request-id": [ + "5f84ae47-aa7b-4250-a770-992a67639d54" + ], + "x-ms-routing-request-id": [ + "JAPANEAST:20210126T083854Z:5f84ae47-aa7b-4250-a770-992a67639d54" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Tue, 26 Jan 2021 08:38:53 GMT" + ], + "Expires": [ + "-1" + ], + "Content-Length": [ + "0" + ] + }, + "ResponseBody": "", + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/051ddeca-1ed6-4d8b-ba6f-1ff561e5f3b3/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1TUUw6MkRCSzoyRENNRExFVDoyRFRFU1Q6MkRSR1BTMzY0Ny1OT1JUSEVVUk9QRSIsImpvYkxvY2F0aW9uIjoibm9ydGhldXJvcGUifQ?api-version=2016-09-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMDUxZGRlY2EtMWVkNi00ZDhiLWJhNmYtMWZmNTYxZTVmM2IzL29wZXJhdGlvbnJlc3VsdHMvZXlKcWIySkpaQ0k2SWxKRlUwOVZVa05GUjFKUFZWQkVSVXhGVkVsUFRrcFBRaTFUVVV3Nk1rUkNTem95UkVOTlJFeEZWRG95UkZSRlUxUTZNa1JTUjFCVE16WTBOeTFPVDFKVVNFVlZVazlRUlNJc0ltcHZZa3h2WTJGMGFXOXVJam9pYm05eWRHaGxkWEp2Y0dVaWZRP2FwaS12ZXJzaW9uPTIwMTYtMDktMDE=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.6.29518.01", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.19042.", + "Microsoft.Azure.Management.Internal.Resources.ResourceManagementClient/1.3.30" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "Location": [ + "https://management.azure.com/subscriptions/051ddeca-1ed6-4d8b-ba6f-1ff561e5f3b3/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1TUUw6MkRCSzoyRENNRExFVDoyRFRFU1Q6MkRSR1BTMzY0Ny1OT1JUSEVVUk9QRSIsImpvYkxvY2F0aW9uIjoibm9ydGhldXJvcGUifQ?api-version=2016-09-01" + ], + "Retry-After": [ + "15" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11992" + ], + "x-ms-request-id": [ + "bced953f-7963-459a-a785-85f1f2dfa609" + ], + "x-ms-correlation-request-id": [ + "bced953f-7963-459a-a785-85f1f2dfa609" + ], + "x-ms-routing-request-id": [ + "JAPANEAST:20210126T083909Z:bced953f-7963-459a-a785-85f1f2dfa609" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Tue, 26 Jan 2021 08:39:08 GMT" + ], + "Expires": [ + "-1" + ], + "Content-Length": [ + "0" + ] + }, + "ResponseBody": "", + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/051ddeca-1ed6-4d8b-ba6f-1ff561e5f3b3/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1TUUw6MkRCSzoyRENNRExFVDoyRFRFU1Q6MkRSR1BTMzY0Ny1OT1JUSEVVUk9QRSIsImpvYkxvY2F0aW9uIjoibm9ydGhldXJvcGUifQ?api-version=2016-09-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMDUxZGRlY2EtMWVkNi00ZDhiLWJhNmYtMWZmNTYxZTVmM2IzL29wZXJhdGlvbnJlc3VsdHMvZXlKcWIySkpaQ0k2SWxKRlUwOVZVa05GUjFKUFZWQkVSVXhGVkVsUFRrcFBRaTFUVVV3Nk1rUkNTem95UkVOTlJFeEZWRG95UkZSRlUxUTZNa1JTUjFCVE16WTBOeTFPVDFKVVNFVlZVazlRUlNJc0ltcHZZa3h2WTJGMGFXOXVJam9pYm05eWRHaGxkWEp2Y0dVaWZRP2FwaS12ZXJzaW9uPTIwMTYtMDktMDE=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.6.29518.01", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.19042.", + "Microsoft.Azure.Management.Internal.Resources.ResourceManagementClient/1.3.30" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "Location": [ + "https://management.azure.com/subscriptions/051ddeca-1ed6-4d8b-ba6f-1ff561e5f3b3/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1TUUw6MkRCSzoyRENNRExFVDoyRFRFU1Q6MkRSR1BTMzY0Ny1OT1JUSEVVUk9QRSIsImpvYkxvY2F0aW9uIjoibm9ydGhldXJvcGUifQ?api-version=2016-09-01" + ], + "Retry-After": [ + "15" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11991" + ], + "x-ms-request-id": [ + "9e07422d-84e5-4360-9a06-efdc09ba75e5" + ], + "x-ms-correlation-request-id": [ + "9e07422d-84e5-4360-9a06-efdc09ba75e5" + ], + "x-ms-routing-request-id": [ + "JAPANEAST:20210126T083925Z:9e07422d-84e5-4360-9a06-efdc09ba75e5" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Tue, 26 Jan 2021 08:39:24 GMT" + ], + "Expires": [ + "-1" + ], + "Content-Length": [ + "0" + ] + }, + "ResponseBody": "", + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/051ddeca-1ed6-4d8b-ba6f-1ff561e5f3b3/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1TUUw6MkRCSzoyRENNRExFVDoyRFRFU1Q6MkRSR1BTMzY0Ny1OT1JUSEVVUk9QRSIsImpvYkxvY2F0aW9uIjoibm9ydGhldXJvcGUifQ?api-version=2016-09-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMDUxZGRlY2EtMWVkNi00ZDhiLWJhNmYtMWZmNTYxZTVmM2IzL29wZXJhdGlvbnJlc3VsdHMvZXlKcWIySkpaQ0k2SWxKRlUwOVZVa05GUjFKUFZWQkVSVXhGVkVsUFRrcFBRaTFUVVV3Nk1rUkNTem95UkVOTlJFeEZWRG95UkZSRlUxUTZNa1JTUjFCVE16WTBOeTFPVDFKVVNFVlZVazlRUlNJc0ltcHZZa3h2WTJGMGFXOXVJam9pYm05eWRHaGxkWEp2Y0dVaWZRP2FwaS12ZXJzaW9uPTIwMTYtMDktMDE=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.6.29518.01", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.19042.", + "Microsoft.Azure.Management.Internal.Resources.ResourceManagementClient/1.3.30" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "Location": [ + "https://management.azure.com/subscriptions/051ddeca-1ed6-4d8b-ba6f-1ff561e5f3b3/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1TUUw6MkRCSzoyRENNRExFVDoyRFRFU1Q6MkRSR1BTMzY0Ny1OT1JUSEVVUk9QRSIsImpvYkxvY2F0aW9uIjoibm9ydGhldXJvcGUifQ?api-version=2016-09-01" + ], + "Retry-After": [ + "15" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11990" + ], + "x-ms-request-id": [ + "57ef3d16-a941-443c-8760-b6d1183f2a99" + ], + "x-ms-correlation-request-id": [ + "57ef3d16-a941-443c-8760-b6d1183f2a99" + ], + "x-ms-routing-request-id": [ + "JAPANEAST:20210126T083940Z:57ef3d16-a941-443c-8760-b6d1183f2a99" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Tue, 26 Jan 2021 08:39:40 GMT" + ], + "Expires": [ + "-1" + ], + "Content-Length": [ + "0" + ] + }, + "ResponseBody": "", + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/051ddeca-1ed6-4d8b-ba6f-1ff561e5f3b3/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1TUUw6MkRCSzoyRENNRExFVDoyRFRFU1Q6MkRSR1BTMzY0Ny1OT1JUSEVVUk9QRSIsImpvYkxvY2F0aW9uIjoibm9ydGhldXJvcGUifQ?api-version=2016-09-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMDUxZGRlY2EtMWVkNi00ZDhiLWJhNmYtMWZmNTYxZTVmM2IzL29wZXJhdGlvbnJlc3VsdHMvZXlKcWIySkpaQ0k2SWxKRlUwOVZVa05GUjFKUFZWQkVSVXhGVkVsUFRrcFBRaTFUVVV3Nk1rUkNTem95UkVOTlJFeEZWRG95UkZSRlUxUTZNa1JTUjFCVE16WTBOeTFPVDFKVVNFVlZVazlRUlNJc0ltcHZZa3h2WTJGMGFXOXVJam9pYm05eWRHaGxkWEp2Y0dVaWZRP2FwaS12ZXJzaW9uPTIwMTYtMDktMDE=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.6.29518.01", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.19042.", + "Microsoft.Azure.Management.Internal.Resources.ResourceManagementClient/1.3.30" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "Location": [ + "https://management.azure.com/subscriptions/051ddeca-1ed6-4d8b-ba6f-1ff561e5f3b3/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1TUUw6MkRCSzoyRENNRExFVDoyRFRFU1Q6MkRSR1BTMzY0Ny1OT1JUSEVVUk9QRSIsImpvYkxvY2F0aW9uIjoibm9ydGhldXJvcGUifQ?api-version=2016-09-01" + ], + "Retry-After": [ + "15" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11989" + ], + "x-ms-request-id": [ + "887c51b7-2649-4ef8-a6d7-2a521905e81b" + ], + "x-ms-correlation-request-id": [ + "887c51b7-2649-4ef8-a6d7-2a521905e81b" + ], + "x-ms-routing-request-id": [ + "JAPANEAST:20210126T083956Z:887c51b7-2649-4ef8-a6d7-2a521905e81b" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Tue, 26 Jan 2021 08:39:56 GMT" + ], + "Expires": [ + "-1" + ], + "Content-Length": [ + "0" + ] + }, + "ResponseBody": "", + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/051ddeca-1ed6-4d8b-ba6f-1ff561e5f3b3/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1TUUw6MkRCSzoyRENNRExFVDoyRFRFU1Q6MkRSR1BTMzY0Ny1OT1JUSEVVUk9QRSIsImpvYkxvY2F0aW9uIjoibm9ydGhldXJvcGUifQ?api-version=2016-09-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMDUxZGRlY2EtMWVkNi00ZDhiLWJhNmYtMWZmNTYxZTVmM2IzL29wZXJhdGlvbnJlc3VsdHMvZXlKcWIySkpaQ0k2SWxKRlUwOVZVa05GUjFKUFZWQkVSVXhGVkVsUFRrcFBRaTFUVVV3Nk1rUkNTem95UkVOTlJFeEZWRG95UkZSRlUxUTZNa1JTUjFCVE16WTBOeTFPVDFKVVNFVlZVazlRUlNJc0ltcHZZa3h2WTJGMGFXOXVJam9pYm05eWRHaGxkWEp2Y0dVaWZRP2FwaS12ZXJzaW9uPTIwMTYtMDktMDE=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.6.29518.01", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.19042.", + "Microsoft.Azure.Management.Internal.Resources.ResourceManagementClient/1.3.30" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "Location": [ + "https://management.azure.com/subscriptions/051ddeca-1ed6-4d8b-ba6f-1ff561e5f3b3/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1TUUw6MkRCSzoyRENNRExFVDoyRFRFU1Q6MkRSR1BTMzY0Ny1OT1JUSEVVUk9QRSIsImpvYkxvY2F0aW9uIjoibm9ydGhldXJvcGUifQ?api-version=2016-09-01" + ], + "Retry-After": [ + "15" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11988" + ], + "x-ms-request-id": [ + "26ec8bfe-d0d9-4202-becf-bcc67d89ea2a" + ], + "x-ms-correlation-request-id": [ + "26ec8bfe-d0d9-4202-becf-bcc67d89ea2a" + ], + "x-ms-routing-request-id": [ + "JAPANEAST:20210126T084011Z:26ec8bfe-d0d9-4202-becf-bcc67d89ea2a" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Tue, 26 Jan 2021 08:40:11 GMT" + ], + "Expires": [ + "-1" + ], + "Content-Length": [ + "0" + ] + }, + "ResponseBody": "", + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/051ddeca-1ed6-4d8b-ba6f-1ff561e5f3b3/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1TUUw6MkRCSzoyRENNRExFVDoyRFRFU1Q6MkRSR1BTMzY0Ny1OT1JUSEVVUk9QRSIsImpvYkxvY2F0aW9uIjoibm9ydGhldXJvcGUifQ?api-version=2016-09-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMDUxZGRlY2EtMWVkNi00ZDhiLWJhNmYtMWZmNTYxZTVmM2IzL29wZXJhdGlvbnJlc3VsdHMvZXlKcWIySkpaQ0k2SWxKRlUwOVZVa05GUjFKUFZWQkVSVXhGVkVsUFRrcFBRaTFUVVV3Nk1rUkNTem95UkVOTlJFeEZWRG95UkZSRlUxUTZNa1JTUjFCVE16WTBOeTFPVDFKVVNFVlZVazlRUlNJc0ltcHZZa3h2WTJGMGFXOXVJam9pYm05eWRHaGxkWEp2Y0dVaWZRP2FwaS12ZXJzaW9uPTIwMTYtMDktMDE=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.6.29518.01", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.19042.", + "Microsoft.Azure.Management.Internal.Resources.ResourceManagementClient/1.3.30" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "Location": [ + "https://management.azure.com/subscriptions/051ddeca-1ed6-4d8b-ba6f-1ff561e5f3b3/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1TUUw6MkRCSzoyRENNRExFVDoyRFRFU1Q6MkRSR1BTMzY0Ny1OT1JUSEVVUk9QRSIsImpvYkxvY2F0aW9uIjoibm9ydGhldXJvcGUifQ?api-version=2016-09-01" + ], + "Retry-After": [ + "15" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11987" + ], + "x-ms-request-id": [ + "d875a9c7-5539-42aa-b249-d597b8dfbed4" + ], + "x-ms-correlation-request-id": [ + "d875a9c7-5539-42aa-b249-d597b8dfbed4" + ], + "x-ms-routing-request-id": [ + "JAPANEAST:20210126T084027Z:d875a9c7-5539-42aa-b249-d597b8dfbed4" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Tue, 26 Jan 2021 08:40:27 GMT" + ], + "Expires": [ + "-1" + ], + "Content-Length": [ + "0" + ] + }, + "ResponseBody": "", + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/051ddeca-1ed6-4d8b-ba6f-1ff561e5f3b3/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1TUUw6MkRCSzoyRENNRExFVDoyRFRFU1Q6MkRSR1BTMzY0Ny1OT1JUSEVVUk9QRSIsImpvYkxvY2F0aW9uIjoibm9ydGhldXJvcGUifQ?api-version=2016-09-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMDUxZGRlY2EtMWVkNi00ZDhiLWJhNmYtMWZmNTYxZTVmM2IzL29wZXJhdGlvbnJlc3VsdHMvZXlKcWIySkpaQ0k2SWxKRlUwOVZVa05GUjFKUFZWQkVSVXhGVkVsUFRrcFBRaTFUVVV3Nk1rUkNTem95UkVOTlJFeEZWRG95UkZSRlUxUTZNa1JTUjFCVE16WTBOeTFPVDFKVVNFVlZVazlRUlNJc0ltcHZZa3h2WTJGMGFXOXVJam9pYm05eWRHaGxkWEp2Y0dVaWZRP2FwaS12ZXJzaW9uPTIwMTYtMDktMDE=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.6.29518.01", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.19042.", + "Microsoft.Azure.Management.Internal.Resources.ResourceManagementClient/1.3.30" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "Location": [ + "https://management.azure.com/subscriptions/051ddeca-1ed6-4d8b-ba6f-1ff561e5f3b3/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1TUUw6MkRCSzoyRENNRExFVDoyRFRFU1Q6MkRSR1BTMzY0Ny1OT1JUSEVVUk9QRSIsImpvYkxvY2F0aW9uIjoibm9ydGhldXJvcGUifQ?api-version=2016-09-01" + ], + "Retry-After": [ + "15" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11986" + ], + "x-ms-request-id": [ + "5d49fbaa-9709-47f8-aee3-207841dac25f" + ], + "x-ms-correlation-request-id": [ + "5d49fbaa-9709-47f8-aee3-207841dac25f" + ], + "x-ms-routing-request-id": [ + "JAPANEAST:20210126T084042Z:5d49fbaa-9709-47f8-aee3-207841dac25f" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Tue, 26 Jan 2021 08:40:42 GMT" + ], + "Expires": [ + "-1" + ], + "Content-Length": [ + "0" + ] + }, + "ResponseBody": "", + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/051ddeca-1ed6-4d8b-ba6f-1ff561e5f3b3/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1TUUw6MkRCSzoyRENNRExFVDoyRFRFU1Q6MkRSR1BTMzY0Ny1OT1JUSEVVUk9QRSIsImpvYkxvY2F0aW9uIjoibm9ydGhldXJvcGUifQ?api-version=2016-09-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMDUxZGRlY2EtMWVkNi00ZDhiLWJhNmYtMWZmNTYxZTVmM2IzL29wZXJhdGlvbnJlc3VsdHMvZXlKcWIySkpaQ0k2SWxKRlUwOVZVa05GUjFKUFZWQkVSVXhGVkVsUFRrcFBRaTFUVVV3Nk1rUkNTem95UkVOTlJFeEZWRG95UkZSRlUxUTZNa1JTUjFCVE16WTBOeTFPVDFKVVNFVlZVazlRUlNJc0ltcHZZa3h2WTJGMGFXOXVJam9pYm05eWRHaGxkWEp2Y0dVaWZRP2FwaS12ZXJzaW9uPTIwMTYtMDktMDE=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.6.29518.01", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.19042.", + "Microsoft.Azure.Management.Internal.Resources.ResourceManagementClient/1.3.30" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "Location": [ + "https://management.azure.com/subscriptions/051ddeca-1ed6-4d8b-ba6f-1ff561e5f3b3/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1TUUw6MkRCSzoyRENNRExFVDoyRFRFU1Q6MkRSR1BTMzY0Ny1OT1JUSEVVUk9QRSIsImpvYkxvY2F0aW9uIjoibm9ydGhldXJvcGUifQ?api-version=2016-09-01" + ], + "Retry-After": [ + "15" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11985" + ], + "x-ms-request-id": [ + "ad6a651b-9cbd-4cc4-88f2-958589f731f1" + ], + "x-ms-correlation-request-id": [ + "ad6a651b-9cbd-4cc4-88f2-958589f731f1" + ], + "x-ms-routing-request-id": [ + "JAPANEAST:20210126T084058Z:ad6a651b-9cbd-4cc4-88f2-958589f731f1" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Tue, 26 Jan 2021 08:40:58 GMT" + ], + "Expires": [ + "-1" + ], + "Content-Length": [ + "0" + ] + }, + "ResponseBody": "", + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/051ddeca-1ed6-4d8b-ba6f-1ff561e5f3b3/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1TUUw6MkRCSzoyRENNRExFVDoyRFRFU1Q6MkRSR1BTMzY0Ny1OT1JUSEVVUk9QRSIsImpvYkxvY2F0aW9uIjoibm9ydGhldXJvcGUifQ?api-version=2016-09-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMDUxZGRlY2EtMWVkNi00ZDhiLWJhNmYtMWZmNTYxZTVmM2IzL29wZXJhdGlvbnJlc3VsdHMvZXlKcWIySkpaQ0k2SWxKRlUwOVZVa05GUjFKUFZWQkVSVXhGVkVsUFRrcFBRaTFUVVV3Nk1rUkNTem95UkVOTlJFeEZWRG95UkZSRlUxUTZNa1JTUjFCVE16WTBOeTFPVDFKVVNFVlZVazlRUlNJc0ltcHZZa3h2WTJGMGFXOXVJam9pYm05eWRHaGxkWEp2Y0dVaWZRP2FwaS12ZXJzaW9uPTIwMTYtMDktMDE=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.6.29518.01", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.19042.", + "Microsoft.Azure.Management.Internal.Resources.ResourceManagementClient/1.3.30" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "Location": [ + "https://management.azure.com/subscriptions/051ddeca-1ed6-4d8b-ba6f-1ff561e5f3b3/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1TUUw6MkRCSzoyRENNRExFVDoyRFRFU1Q6MkRSR1BTMzY0Ny1OT1JUSEVVUk9QRSIsImpvYkxvY2F0aW9uIjoibm9ydGhldXJvcGUifQ?api-version=2016-09-01" + ], + "Retry-After": [ + "15" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11984" + ], + "x-ms-request-id": [ + "db20ce43-66a1-4c4c-b852-fe0a6e787fe1" + ], + "x-ms-correlation-request-id": [ + "db20ce43-66a1-4c4c-b852-fe0a6e787fe1" + ], + "x-ms-routing-request-id": [ + "JAPANEAST:20210126T084114Z:db20ce43-66a1-4c4c-b852-fe0a6e787fe1" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Tue, 26 Jan 2021 08:41:13 GMT" + ], + "Expires": [ + "-1" + ], + "Content-Length": [ + "0" + ] + }, + "ResponseBody": "", + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/051ddeca-1ed6-4d8b-ba6f-1ff561e5f3b3/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1TUUw6MkRCSzoyRENNRExFVDoyRFRFU1Q6MkRSR1BTMzY0Ny1OT1JUSEVVUk9QRSIsImpvYkxvY2F0aW9uIjoibm9ydGhldXJvcGUifQ?api-version=2016-09-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMDUxZGRlY2EtMWVkNi00ZDhiLWJhNmYtMWZmNTYxZTVmM2IzL29wZXJhdGlvbnJlc3VsdHMvZXlKcWIySkpaQ0k2SWxKRlUwOVZVa05GUjFKUFZWQkVSVXhGVkVsUFRrcFBRaTFUVVV3Nk1rUkNTem95UkVOTlJFeEZWRG95UkZSRlUxUTZNa1JTUjFCVE16WTBOeTFPVDFKVVNFVlZVazlRUlNJc0ltcHZZa3h2WTJGMGFXOXVJam9pYm05eWRHaGxkWEp2Y0dVaWZRP2FwaS12ZXJzaW9uPTIwMTYtMDktMDE=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.6.29518.01", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.19042.", + "Microsoft.Azure.Management.Internal.Resources.ResourceManagementClient/1.3.30" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "Location": [ + "https://management.azure.com/subscriptions/051ddeca-1ed6-4d8b-ba6f-1ff561e5f3b3/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1TUUw6MkRCSzoyRENNRExFVDoyRFRFU1Q6MkRSR1BTMzY0Ny1OT1JUSEVVUk9QRSIsImpvYkxvY2F0aW9uIjoibm9ydGhldXJvcGUifQ?api-version=2016-09-01" + ], + "Retry-After": [ + "15" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11983" + ], + "x-ms-request-id": [ + "e59be542-f922-4933-a190-9e61c71b144d" + ], + "x-ms-correlation-request-id": [ + "e59be542-f922-4933-a190-9e61c71b144d" + ], + "x-ms-routing-request-id": [ + "JAPANEAST:20210126T084129Z:e59be542-f922-4933-a190-9e61c71b144d" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Tue, 26 Jan 2021 08:41:29 GMT" + ], + "Expires": [ + "-1" + ], + "Content-Length": [ + "0" + ] + }, + "ResponseBody": "", + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/051ddeca-1ed6-4d8b-ba6f-1ff561e5f3b3/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1TUUw6MkRCSzoyRENNRExFVDoyRFRFU1Q6MkRSR1BTMzY0Ny1OT1JUSEVVUk9QRSIsImpvYkxvY2F0aW9uIjoibm9ydGhldXJvcGUifQ?api-version=2016-09-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMDUxZGRlY2EtMWVkNi00ZDhiLWJhNmYtMWZmNTYxZTVmM2IzL29wZXJhdGlvbnJlc3VsdHMvZXlKcWIySkpaQ0k2SWxKRlUwOVZVa05GUjFKUFZWQkVSVXhGVkVsUFRrcFBRaTFUVVV3Nk1rUkNTem95UkVOTlJFeEZWRG95UkZSRlUxUTZNa1JTUjFCVE16WTBOeTFPVDFKVVNFVlZVazlRUlNJc0ltcHZZa3h2WTJGMGFXOXVJam9pYm05eWRHaGxkWEp2Y0dVaWZRP2FwaS12ZXJzaW9uPTIwMTYtMDktMDE=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.6.29518.01", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.19042.", + "Microsoft.Azure.Management.Internal.Resources.ResourceManagementClient/1.3.30" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "Location": [ + "https://management.azure.com/subscriptions/051ddeca-1ed6-4d8b-ba6f-1ff561e5f3b3/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1TUUw6MkRCSzoyRENNRExFVDoyRFRFU1Q6MkRSR1BTMzY0Ny1OT1JUSEVVUk9QRSIsImpvYkxvY2F0aW9uIjoibm9ydGhldXJvcGUifQ?api-version=2016-09-01" + ], + "Retry-After": [ + "15" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11982" + ], + "x-ms-request-id": [ + "10a1978e-9998-4512-9e7c-64dd5e9cf8ff" + ], + "x-ms-correlation-request-id": [ + "10a1978e-9998-4512-9e7c-64dd5e9cf8ff" + ], + "x-ms-routing-request-id": [ + "JAPANEAST:20210126T084146Z:10a1978e-9998-4512-9e7c-64dd5e9cf8ff" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Tue, 26 Jan 2021 08:41:45 GMT" + ], + "Expires": [ + "-1" + ], + "Content-Length": [ + "0" + ] + }, + "ResponseBody": "", + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/051ddeca-1ed6-4d8b-ba6f-1ff561e5f3b3/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1TUUw6MkRCSzoyRENNRExFVDoyRFRFU1Q6MkRSR1BTMzY0Ny1OT1JUSEVVUk9QRSIsImpvYkxvY2F0aW9uIjoibm9ydGhldXJvcGUifQ?api-version=2016-09-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMDUxZGRlY2EtMWVkNi00ZDhiLWJhNmYtMWZmNTYxZTVmM2IzL29wZXJhdGlvbnJlc3VsdHMvZXlKcWIySkpaQ0k2SWxKRlUwOVZVa05GUjFKUFZWQkVSVXhGVkVsUFRrcFBRaTFUVVV3Nk1rUkNTem95UkVOTlJFeEZWRG95UkZSRlUxUTZNa1JTUjFCVE16WTBOeTFPVDFKVVNFVlZVazlRUlNJc0ltcHZZa3h2WTJGMGFXOXVJam9pYm05eWRHaGxkWEp2Y0dVaWZRP2FwaS12ZXJzaW9uPTIwMTYtMDktMDE=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.6.29518.01", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.19042.", + "Microsoft.Azure.Management.Internal.Resources.ResourceManagementClient/1.3.30" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "Location": [ + "https://management.azure.com/subscriptions/051ddeca-1ed6-4d8b-ba6f-1ff561e5f3b3/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1TUUw6MkRCSzoyRENNRExFVDoyRFRFU1Q6MkRSR1BTMzY0Ny1OT1JUSEVVUk9QRSIsImpvYkxvY2F0aW9uIjoibm9ydGhldXJvcGUifQ?api-version=2016-09-01" + ], + "Retry-After": [ + "15" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11981" + ], + "x-ms-request-id": [ + "52046cce-3e0b-4975-a5b7-a18039b9dfc0" + ], + "x-ms-correlation-request-id": [ + "52046cce-3e0b-4975-a5b7-a18039b9dfc0" + ], + "x-ms-routing-request-id": [ + "JAPANEAST:20210126T084201Z:52046cce-3e0b-4975-a5b7-a18039b9dfc0" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Tue, 26 Jan 2021 08:42:01 GMT" + ], + "Expires": [ + "-1" + ], + "Content-Length": [ + "0" + ] + }, + "ResponseBody": "", + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/051ddeca-1ed6-4d8b-ba6f-1ff561e5f3b3/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1TUUw6MkRCSzoyRENNRExFVDoyRFRFU1Q6MkRSR1BTMzY0Ny1OT1JUSEVVUk9QRSIsImpvYkxvY2F0aW9uIjoibm9ydGhldXJvcGUifQ?api-version=2016-09-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMDUxZGRlY2EtMWVkNi00ZDhiLWJhNmYtMWZmNTYxZTVmM2IzL29wZXJhdGlvbnJlc3VsdHMvZXlKcWIySkpaQ0k2SWxKRlUwOVZVa05GUjFKUFZWQkVSVXhGVkVsUFRrcFBRaTFUVVV3Nk1rUkNTem95UkVOTlJFeEZWRG95UkZSRlUxUTZNa1JTUjFCVE16WTBOeTFPVDFKVVNFVlZVazlRUlNJc0ltcHZZa3h2WTJGMGFXOXVJam9pYm05eWRHaGxkWEp2Y0dVaWZRP2FwaS12ZXJzaW9uPTIwMTYtMDktMDE=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.6.29518.01", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.19042.", + "Microsoft.Azure.Management.Internal.Resources.ResourceManagementClient/1.3.30" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "Location": [ + "https://management.azure.com/subscriptions/051ddeca-1ed6-4d8b-ba6f-1ff561e5f3b3/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1TUUw6MkRCSzoyRENNRExFVDoyRFRFU1Q6MkRSR1BTMzY0Ny1OT1JUSEVVUk9QRSIsImpvYkxvY2F0aW9uIjoibm9ydGhldXJvcGUifQ?api-version=2016-09-01" + ], + "Retry-After": [ + "15" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11980" + ], + "x-ms-request-id": [ + "59e2d1a6-0b94-4d0c-8c5a-153828eca5eb" + ], + "x-ms-correlation-request-id": [ + "59e2d1a6-0b94-4d0c-8c5a-153828eca5eb" + ], + "x-ms-routing-request-id": [ + "JAPANEAST:20210126T084217Z:59e2d1a6-0b94-4d0c-8c5a-153828eca5eb" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Tue, 26 Jan 2021 08:42:16 GMT" + ], + "Expires": [ + "-1" + ], + "Content-Length": [ + "0" + ] + }, + "ResponseBody": "", + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/051ddeca-1ed6-4d8b-ba6f-1ff561e5f3b3/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1TUUw6MkRCSzoyRENNRExFVDoyRFRFU1Q6MkRSR1BTMzY0Ny1OT1JUSEVVUk9QRSIsImpvYkxvY2F0aW9uIjoibm9ydGhldXJvcGUifQ?api-version=2016-09-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMDUxZGRlY2EtMWVkNi00ZDhiLWJhNmYtMWZmNTYxZTVmM2IzL29wZXJhdGlvbnJlc3VsdHMvZXlKcWIySkpaQ0k2SWxKRlUwOVZVa05GUjFKUFZWQkVSVXhGVkVsUFRrcFBRaTFUVVV3Nk1rUkNTem95UkVOTlJFeEZWRG95UkZSRlUxUTZNa1JTUjFCVE16WTBOeTFPVDFKVVNFVlZVazlRUlNJc0ltcHZZa3h2WTJGMGFXOXVJam9pYm05eWRHaGxkWEp2Y0dVaWZRP2FwaS12ZXJzaW9uPTIwMTYtMDktMDE=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.6.29518.01", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.19042.", + "Microsoft.Azure.Management.Internal.Resources.ResourceManagementClient/1.3.30" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "Location": [ + "https://management.azure.com/subscriptions/051ddeca-1ed6-4d8b-ba6f-1ff561e5f3b3/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1TUUw6MkRCSzoyRENNRExFVDoyRFRFU1Q6MkRSR1BTMzY0Ny1OT1JUSEVVUk9QRSIsImpvYkxvY2F0aW9uIjoibm9ydGhldXJvcGUifQ?api-version=2016-09-01" + ], + "Retry-After": [ + "15" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11979" + ], + "x-ms-request-id": [ + "6fe10d97-dc51-432b-a950-5bb10489ff84" + ], + "x-ms-correlation-request-id": [ + "6fe10d97-dc51-432b-a950-5bb10489ff84" + ], + "x-ms-routing-request-id": [ + "JAPANEAST:20210126T084232Z:6fe10d97-dc51-432b-a950-5bb10489ff84" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Tue, 26 Jan 2021 08:42:31 GMT" + ], + "Expires": [ + "-1" + ], + "Content-Length": [ + "0" + ] + }, + "ResponseBody": "", + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/051ddeca-1ed6-4d8b-ba6f-1ff561e5f3b3/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1TUUw6MkRCSzoyRENNRExFVDoyRFRFU1Q6MkRSR1BTMzY0Ny1OT1JUSEVVUk9QRSIsImpvYkxvY2F0aW9uIjoibm9ydGhldXJvcGUifQ?api-version=2016-09-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMDUxZGRlY2EtMWVkNi00ZDhiLWJhNmYtMWZmNTYxZTVmM2IzL29wZXJhdGlvbnJlc3VsdHMvZXlKcWIySkpaQ0k2SWxKRlUwOVZVa05GUjFKUFZWQkVSVXhGVkVsUFRrcFBRaTFUVVV3Nk1rUkNTem95UkVOTlJFeEZWRG95UkZSRlUxUTZNa1JTUjFCVE16WTBOeTFPVDFKVVNFVlZVazlRUlNJc0ltcHZZa3h2WTJGMGFXOXVJam9pYm05eWRHaGxkWEp2Y0dVaWZRP2FwaS12ZXJzaW9uPTIwMTYtMDktMDE=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.6.29518.01", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.19042.", + "Microsoft.Azure.Management.Internal.Resources.ResourceManagementClient/1.3.30" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "Location": [ + "https://management.azure.com/subscriptions/051ddeca-1ed6-4d8b-ba6f-1ff561e5f3b3/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1TUUw6MkRCSzoyRENNRExFVDoyRFRFU1Q6MkRSR1BTMzY0Ny1OT1JUSEVVUk9QRSIsImpvYkxvY2F0aW9uIjoibm9ydGhldXJvcGUifQ?api-version=2016-09-01" + ], + "Retry-After": [ + "15" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11978" + ], + "x-ms-request-id": [ + "15464a84-5d04-408d-980d-72707b9cb36f" + ], + "x-ms-correlation-request-id": [ + "15464a84-5d04-408d-980d-72707b9cb36f" + ], + "x-ms-routing-request-id": [ + "JAPANEAST:20210126T084248Z:15464a84-5d04-408d-980d-72707b9cb36f" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Tue, 26 Jan 2021 08:42:48 GMT" + ], + "Expires": [ + "-1" + ], + "Content-Length": [ + "0" + ] + }, + "ResponseBody": "", + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/051ddeca-1ed6-4d8b-ba6f-1ff561e5f3b3/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1TUUw6MkRCSzoyRENNRExFVDoyRFRFU1Q6MkRSR1BTMzY0Ny1OT1JUSEVVUk9QRSIsImpvYkxvY2F0aW9uIjoibm9ydGhldXJvcGUifQ?api-version=2016-09-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMDUxZGRlY2EtMWVkNi00ZDhiLWJhNmYtMWZmNTYxZTVmM2IzL29wZXJhdGlvbnJlc3VsdHMvZXlKcWIySkpaQ0k2SWxKRlUwOVZVa05GUjFKUFZWQkVSVXhGVkVsUFRrcFBRaTFUVVV3Nk1rUkNTem95UkVOTlJFeEZWRG95UkZSRlUxUTZNa1JTUjFCVE16WTBOeTFPVDFKVVNFVlZVazlRUlNJc0ltcHZZa3h2WTJGMGFXOXVJam9pYm05eWRHaGxkWEp2Y0dVaWZRP2FwaS12ZXJzaW9uPTIwMTYtMDktMDE=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.6.29518.01", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.19042.", + "Microsoft.Azure.Management.Internal.Resources.ResourceManagementClient/1.3.30" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "Location": [ + "https://management.azure.com/subscriptions/051ddeca-1ed6-4d8b-ba6f-1ff561e5f3b3/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1TUUw6MkRCSzoyRENNRExFVDoyRFRFU1Q6MkRSR1BTMzY0Ny1OT1JUSEVVUk9QRSIsImpvYkxvY2F0aW9uIjoibm9ydGhldXJvcGUifQ?api-version=2016-09-01" + ], + "Retry-After": [ + "15" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11977" + ], + "x-ms-request-id": [ + "16335575-4e62-4024-b517-ea9105aafc8d" + ], + "x-ms-correlation-request-id": [ + "16335575-4e62-4024-b517-ea9105aafc8d" + ], + "x-ms-routing-request-id": [ + "JAPANEAST:20210126T084304Z:16335575-4e62-4024-b517-ea9105aafc8d" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Tue, 26 Jan 2021 08:43:03 GMT" + ], + "Expires": [ + "-1" + ], + "Content-Length": [ + "0" + ] + }, + "ResponseBody": "", + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/051ddeca-1ed6-4d8b-ba6f-1ff561e5f3b3/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1TUUw6MkRCSzoyRENNRExFVDoyRFRFU1Q6MkRSR1BTMzY0Ny1OT1JUSEVVUk9QRSIsImpvYkxvY2F0aW9uIjoibm9ydGhldXJvcGUifQ?api-version=2016-09-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMDUxZGRlY2EtMWVkNi00ZDhiLWJhNmYtMWZmNTYxZTVmM2IzL29wZXJhdGlvbnJlc3VsdHMvZXlKcWIySkpaQ0k2SWxKRlUwOVZVa05GUjFKUFZWQkVSVXhGVkVsUFRrcFBRaTFUVVV3Nk1rUkNTem95UkVOTlJFeEZWRG95UkZSRlUxUTZNa1JTUjFCVE16WTBOeTFPVDFKVVNFVlZVazlRUlNJc0ltcHZZa3h2WTJGMGFXOXVJam9pYm05eWRHaGxkWEp2Y0dVaWZRP2FwaS12ZXJzaW9uPTIwMTYtMDktMDE=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.6.29518.01", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.19042.", + "Microsoft.Azure.Management.Internal.Resources.ResourceManagementClient/1.3.30" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "Location": [ + "https://management.azure.com/subscriptions/051ddeca-1ed6-4d8b-ba6f-1ff561e5f3b3/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1TUUw6MkRCSzoyRENNRExFVDoyRFRFU1Q6MkRSR1BTMzY0Ny1OT1JUSEVVUk9QRSIsImpvYkxvY2F0aW9uIjoibm9ydGhldXJvcGUifQ?api-version=2016-09-01" + ], + "Retry-After": [ + "15" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11976" + ], + "x-ms-request-id": [ + "f25fa665-2aca-4313-9091-84e731d8a6e2" + ], + "x-ms-correlation-request-id": [ + "f25fa665-2aca-4313-9091-84e731d8a6e2" + ], + "x-ms-routing-request-id": [ + "JAPANEAST:20210126T084319Z:f25fa665-2aca-4313-9091-84e731d8a6e2" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Tue, 26 Jan 2021 08:43:19 GMT" + ], + "Expires": [ + "-1" + ], + "Content-Length": [ + "0" + ] + }, + "ResponseBody": "", + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/051ddeca-1ed6-4d8b-ba6f-1ff561e5f3b3/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1TUUw6MkRCSzoyRENNRExFVDoyRFRFU1Q6MkRSR1BTMzY0Ny1OT1JUSEVVUk9QRSIsImpvYkxvY2F0aW9uIjoibm9ydGhldXJvcGUifQ?api-version=2016-09-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMDUxZGRlY2EtMWVkNi00ZDhiLWJhNmYtMWZmNTYxZTVmM2IzL29wZXJhdGlvbnJlc3VsdHMvZXlKcWIySkpaQ0k2SWxKRlUwOVZVa05GUjFKUFZWQkVSVXhGVkVsUFRrcFBRaTFUVVV3Nk1rUkNTem95UkVOTlJFeEZWRG95UkZSRlUxUTZNa1JTUjFCVE16WTBOeTFPVDFKVVNFVlZVazlRUlNJc0ltcHZZa3h2WTJGMGFXOXVJam9pYm05eWRHaGxkWEp2Y0dVaWZRP2FwaS12ZXJzaW9uPTIwMTYtMDktMDE=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.6.29518.01", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.19042.", + "Microsoft.Azure.Management.Internal.Resources.ResourceManagementClient/1.3.30" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "Location": [ + "https://management.azure.com/subscriptions/051ddeca-1ed6-4d8b-ba6f-1ff561e5f3b3/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1TUUw6MkRCSzoyRENNRExFVDoyRFRFU1Q6MkRSR1BTMzY0Ny1OT1JUSEVVUk9QRSIsImpvYkxvY2F0aW9uIjoibm9ydGhldXJvcGUifQ?api-version=2016-09-01" + ], + "Retry-After": [ + "15" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11975" + ], + "x-ms-request-id": [ + "8058de9f-ee25-417b-919d-d8481b4fa8fb" + ], + "x-ms-correlation-request-id": [ + "8058de9f-ee25-417b-919d-d8481b4fa8fb" + ], + "x-ms-routing-request-id": [ + "JAPANEAST:20210126T084335Z:8058de9f-ee25-417b-919d-d8481b4fa8fb" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Tue, 26 Jan 2021 08:43:34 GMT" + ], + "Expires": [ + "-1" + ], + "Content-Length": [ + "0" + ] + }, + "ResponseBody": "", + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/051ddeca-1ed6-4d8b-ba6f-1ff561e5f3b3/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1TUUw6MkRCSzoyRENNRExFVDoyRFRFU1Q6MkRSR1BTMzY0Ny1OT1JUSEVVUk9QRSIsImpvYkxvY2F0aW9uIjoibm9ydGhldXJvcGUifQ?api-version=2016-09-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMDUxZGRlY2EtMWVkNi00ZDhiLWJhNmYtMWZmNTYxZTVmM2IzL29wZXJhdGlvbnJlc3VsdHMvZXlKcWIySkpaQ0k2SWxKRlUwOVZVa05GUjFKUFZWQkVSVXhGVkVsUFRrcFBRaTFUVVV3Nk1rUkNTem95UkVOTlJFeEZWRG95UkZSRlUxUTZNa1JTUjFCVE16WTBOeTFPVDFKVVNFVlZVazlRUlNJc0ltcHZZa3h2WTJGMGFXOXVJam9pYm05eWRHaGxkWEp2Y0dVaWZRP2FwaS12ZXJzaW9uPTIwMTYtMDktMDE=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.6.29518.01", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.19042.", + "Microsoft.Azure.Management.Internal.Resources.ResourceManagementClient/1.3.30" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "Location": [ + "https://management.azure.com/subscriptions/051ddeca-1ed6-4d8b-ba6f-1ff561e5f3b3/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1TUUw6MkRCSzoyRENNRExFVDoyRFRFU1Q6MkRSR1BTMzY0Ny1OT1JUSEVVUk9QRSIsImpvYkxvY2F0aW9uIjoibm9ydGhldXJvcGUifQ?api-version=2016-09-01" + ], + "Retry-After": [ + "15" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11974" + ], + "x-ms-request-id": [ + "566fe6a9-8c26-47d6-9fba-a576705b89e1" + ], + "x-ms-correlation-request-id": [ + "566fe6a9-8c26-47d6-9fba-a576705b89e1" + ], + "x-ms-routing-request-id": [ + "JAPANEAST:20210126T084350Z:566fe6a9-8c26-47d6-9fba-a576705b89e1" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Tue, 26 Jan 2021 08:43:50 GMT" + ], + "Expires": [ + "-1" + ], + "Content-Length": [ + "0" + ] + }, + "ResponseBody": "", + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/051ddeca-1ed6-4d8b-ba6f-1ff561e5f3b3/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1TUUw6MkRCSzoyRENNRExFVDoyRFRFU1Q6MkRSR1BTMzY0Ny1OT1JUSEVVUk9QRSIsImpvYkxvY2F0aW9uIjoibm9ydGhldXJvcGUifQ?api-version=2016-09-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMDUxZGRlY2EtMWVkNi00ZDhiLWJhNmYtMWZmNTYxZTVmM2IzL29wZXJhdGlvbnJlc3VsdHMvZXlKcWIySkpaQ0k2SWxKRlUwOVZVa05GUjFKUFZWQkVSVXhGVkVsUFRrcFBRaTFUVVV3Nk1rUkNTem95UkVOTlJFeEZWRG95UkZSRlUxUTZNa1JTUjFCVE16WTBOeTFPVDFKVVNFVlZVazlRUlNJc0ltcHZZa3h2WTJGMGFXOXVJam9pYm05eWRHaGxkWEp2Y0dVaWZRP2FwaS12ZXJzaW9uPTIwMTYtMDktMDE=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.6.29518.01", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.19042.", + "Microsoft.Azure.Management.Internal.Resources.ResourceManagementClient/1.3.30" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11973" + ], + "x-ms-request-id": [ + "237b8ff2-0cc9-418f-913b-26131057e4f8" + ], + "x-ms-correlation-request-id": [ + "237b8ff2-0cc9-418f-913b-26131057e4f8" + ], + "x-ms-routing-request-id": [ + "JAPANEAST:20210126T084406Z:237b8ff2-0cc9-418f-913b-26131057e4f8" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Tue, 26 Jan 2021 08:44:05 GMT" + ], + "Expires": [ + "-1" + ], + "Content-Length": [ + "0" + ] + }, + "ResponseBody": "", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/051ddeca-1ed6-4d8b-ba6f-1ff561e5f3b3/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1TUUw6MkRCSzoyRENNRExFVDoyRFRFU1Q6MkRSR1BTMzY0Ny1OT1JUSEVVUk9QRSIsImpvYkxvY2F0aW9uIjoibm9ydGhldXJvcGUifQ?api-version=2016-09-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMDUxZGRlY2EtMWVkNi00ZDhiLWJhNmYtMWZmNTYxZTVmM2IzL29wZXJhdGlvbnJlc3VsdHMvZXlKcWIySkpaQ0k2SWxKRlUwOVZVa05GUjFKUFZWQkVSVXhGVkVsUFRrcFBRaTFUVVV3Nk1rUkNTem95UkVOTlJFeEZWRG95UkZSRlUxUTZNa1JTUjFCVE16WTBOeTFPVDFKVVNFVlZVazlRUlNJc0ltcHZZa3h2WTJGMGFXOXVJam9pYm05eWRHaGxkWEp2Y0dVaWZRP2FwaS12ZXJzaW9uPTIwMTYtMDktMDE=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.6.29518.01", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.19042.", + "Microsoft.Azure.Management.Internal.Resources.ResourceManagementClient/1.3.30" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11972" + ], + "x-ms-request-id": [ + "8758b735-ef23-4fa4-8593-1348a6fd7eae" + ], + "x-ms-correlation-request-id": [ + "8758b735-ef23-4fa4-8593-1348a6fd7eae" + ], + "x-ms-routing-request-id": [ + "JAPANEAST:20210126T084406Z:8758b735-ef23-4fa4-8593-1348a6fd7eae" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Tue, 26 Jan 2021 08:44:06 GMT" + ], + "Expires": [ + "-1" + ], + "Content-Length": [ + "0" + ] + }, + "ResponseBody": "", + "StatusCode": 200 + } + ], + "Names": { + "Test-DroppedSqlPool": [ + "ps3647" + ] + }, + "Variables": { + "SubscriptionId": "051ddeca-1ed6-4d8b-ba6f-1ff561e5f3b3" + } +} \ No newline at end of file diff --git a/src/Synapse/Synapse.Test/SessionRecords/Microsoft.Azure.Commands.Synapse.Test.ScenarioTests.SqlPoolBackupTests/TestSqlPoolGeoBackup.json b/src/Synapse/Synapse.Test/SessionRecords/Microsoft.Azure.Commands.Synapse.Test.ScenarioTests.SqlPoolBackupTests/TestSqlPoolGeoBackup.json new file mode 100644 index 000000000000..d80eadc986ab --- /dev/null +++ b/src/Synapse/Synapse.Test/SessionRecords/Microsoft.Azure.Commands.Synapse.Test.ScenarioTests.SqlPoolBackupTests/TestSqlPoolGeoBackup.json @@ -0,0 +1,1724 @@ +{ + "Entries": [ + { + "RequestUri": "/subscriptions/051ddeca-1ed6-4d8b-ba6f-1ff561e5f3b3/resourceGroups/sql-bk-cmdlet-test-rgps2502/providers/Microsoft.Synapse/workspaces/sqlbkwsps2502/recoverableSqlpools?api-version=2019-06-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMDUxZGRlY2EtMWVkNi00ZDhiLWJhNmYtMWZmNTYxZTVmM2IzL3Jlc291cmNlR3JvdXBzL3NxbC1iay1jbWRsZXQtdGVzdC1yZ3BzMjUwMi9wcm92aWRlcnMvTWljcm9zb2Z0LlN5bmFwc2Uvd29ya3NwYWNlcy9zcWxia3dzcHMyNTAyL3JlY292ZXJhYmxlU3FscG9vbHM/YXBpLXZlcnNpb249MjAxOS0wNi0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-client-request-id": [ + "40f810d0-e999-46fd-9bf8-36a3d28e31a1" + ], + "Accept-Language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.29518.01", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.19042.", + "Microsoft.Azure.Management.Synapse.SynapseManagementClient/1.0.0.preview.4" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-request-id": [ + "3918bd11-5ff5-48d4-b575-27f2943ffb25" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11997" + ], + "x-ms-correlation-request-id": [ + "11ece462-8de2-4066-98a4-3f027534158d" + ], + "x-ms-routing-request-id": [ + "JAPANEAST:20210126T085643Z:11ece462-8de2-4066-98a4-3f027534158d" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Tue, 26 Jan 2021 08:56:43 GMT" + ], + "Content-Length": [ + "435" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/subscriptions/051ddeca-1ed6-4d8b-ba6f-1ff561e5f3b3/resourceGroups/sql-bk-cmdlet-test-rgps2502/providers/Microsoft.Synapse/workspaces/sqlbkwsps2502/recoverabledatabases/sqlbkpoolps2502\",\r\n \"name\": \"sqlbkpoolps2502\",\r\n \"type\": \"Microsoft.Synapse/workspaces/recoverableDatabases\",\r\n \"properties\": {\r\n \"edition\": \"DataWarehouse\",\r\n \"lastAvailableBackupDate\": \"2021-01-19T17:07:09Z\",\r\n \"serviceLevelObjective\": \"DW200c\",\r\n \"elasticPoolName\": null\r\n }\r\n }\r\n ]\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/051ddeca-1ed6-4d8b-ba6f-1ff561e5f3b3/resourceGroups/sql-bk-cmdlet-test-rgps2502/providers/Microsoft.Synapse/workspaces/sqlbkwsps2502/recoverableSqlPools/sqlbkpoolps2502?api-version=2019-06-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMDUxZGRlY2EtMWVkNi00ZDhiLWJhNmYtMWZmNTYxZTVmM2IzL3Jlc291cmNlR3JvdXBzL3NxbC1iay1jbWRsZXQtdGVzdC1yZ3BzMjUwMi9wcm92aWRlcnMvTWljcm9zb2Z0LlN5bmFwc2Uvd29ya3NwYWNlcy9zcWxia3dzcHMyNTAyL3JlY292ZXJhYmxlU3FsUG9vbHMvc3FsYmtwb29scHMyNTAyP2FwaS12ZXJzaW9uPTIwMTktMDYtMDEtcHJldmlldw==", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-client-request-id": [ + "2eafcac1-6026-4870-b06d-5f103f36f586" + ], + "Accept-Language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.29518.01", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.19042.", + "Microsoft.Azure.Management.Synapse.SynapseManagementClient/1.0.0.preview.4" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-request-id": [ + "997150b6-a0d0-4465-b08c-de0d093b94d3" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11996" + ], + "x-ms-correlation-request-id": [ + "272a6d3d-37af-4db2-bbd8-e9e5bac37d8f" + ], + "x-ms-routing-request-id": [ + "JAPANEAST:20210126T085650Z:272a6d3d-37af-4db2-bbd8-e9e5bac37d8f" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Tue, 26 Jan 2021 08:56:50 GMT" + ], + "Content-Length": [ + "423" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/051ddeca-1ed6-4d8b-ba6f-1ff561e5f3b3/resourceGroups/sql-bk-cmdlet-test-rgps2502/providers/Microsoft.Synapse/workspaces/sqlbkwsps2502/recoverabledatabases/sqlbkpoolps2502\",\r\n \"name\": \"sqlbkpoolps2502\",\r\n \"type\": \"Microsoft.Synapse/workspaces/recoverableDatabases\",\r\n \"properties\": {\r\n \"edition\": \"DataWarehouse\",\r\n \"lastAvailableBackupDate\": \"2021-01-19T17:07:09Z\",\r\n \"serviceLevelObjective\": \"DW200c\",\r\n \"elasticPoolName\": null\r\n }\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/051ddeca-1ed6-4d8b-ba6f-1ff561e5f3b3/resourcegroups/sql-bk-cmdlet-test-rgps2502?api-version=2016-09-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMDUxZGRlY2EtMWVkNi00ZDhiLWJhNmYtMWZmNTYxZTVmM2IzL3Jlc291cmNlZ3JvdXBzL3NxbC1iay1jbWRsZXQtdGVzdC1yZ3BzMjUwMj9hcGktdmVyc2lvbj0yMDE2LTA5LTAx", + "RequestMethod": "DELETE", + "RequestBody": "", + "RequestHeaders": { + "x-ms-client-request-id": [ + "371bdb22-07c1-4675-87fb-388563ce071a" + ], + "Accept-Language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.29518.01", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.19042.", + "Microsoft.Azure.Management.Internal.Resources.ResourceManagementClient/1.3.30" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "Location": [ + "https://management.azure.com/subscriptions/051ddeca-1ed6-4d8b-ba6f-1ff561e5f3b3/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1TUUw6MkRCSzoyRENNRExFVDoyRFRFU1Q6MkRSR1BTMjUwMi1XRVNUQ0VOVFJBTFVTIiwiam9iTG9jYXRpb24iOiJ3ZXN0Y2VudHJhbHVzIn0?api-version=2016-09-01" + ], + "Retry-After": [ + "15" + ], + "x-ms-ratelimit-remaining-subscription-deletes": [ + "14998" + ], + "x-ms-request-id": [ + "ee729dbb-ceee-4053-a773-80c2cb3d846a" + ], + "x-ms-correlation-request-id": [ + "ee729dbb-ceee-4053-a773-80c2cb3d846a" + ], + "x-ms-routing-request-id": [ + "JAPANEAST:20210126T085654Z:ee729dbb-ceee-4053-a773-80c2cb3d846a" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Tue, 26 Jan 2021 08:56:53 GMT" + ], + "Expires": [ + "-1" + ], + "Content-Length": [ + "0" + ] + }, + "ResponseBody": "", + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/051ddeca-1ed6-4d8b-ba6f-1ff561e5f3b3/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1TUUw6MkRCSzoyRENNRExFVDoyRFRFU1Q6MkRSR1BTMjUwMi1XRVNUQ0VOVFJBTFVTIiwiam9iTG9jYXRpb24iOiJ3ZXN0Y2VudHJhbHVzIn0?api-version=2016-09-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMDUxZGRlY2EtMWVkNi00ZDhiLWJhNmYtMWZmNTYxZTVmM2IzL29wZXJhdGlvbnJlc3VsdHMvZXlKcWIySkpaQ0k2SWxKRlUwOVZVa05GUjFKUFZWQkVSVXhGVkVsUFRrcFBRaTFUVVV3Nk1rUkNTem95UkVOTlJFeEZWRG95UkZSRlUxUTZNa1JTUjFCVE1qVXdNaTFYUlZOVVEwVk9WRkpCVEZWVElpd2lhbTlpVEc5allYUnBiMjRpT2lKM1pYTjBZMlZ1ZEhKaGJIVnpJbjA/YXBpLXZlcnNpb249MjAxNi0wOS0wMQ==", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.6.29518.01", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.19042.", + "Microsoft.Azure.Management.Internal.Resources.ResourceManagementClient/1.3.30" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "Location": [ + "https://management.azure.com/subscriptions/051ddeca-1ed6-4d8b-ba6f-1ff561e5f3b3/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1TUUw6MkRCSzoyRENNRExFVDoyRFRFU1Q6MkRSR1BTMjUwMi1XRVNUQ0VOVFJBTFVTIiwiam9iTG9jYXRpb24iOiJ3ZXN0Y2VudHJhbHVzIn0?api-version=2016-09-01" + ], + "Retry-After": [ + "15" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11972" + ], + "x-ms-request-id": [ + "e05703ff-ad51-4376-b6b7-3ca101acf3db" + ], + "x-ms-correlation-request-id": [ + "e05703ff-ad51-4376-b6b7-3ca101acf3db" + ], + "x-ms-routing-request-id": [ + "JAPANEAST:20210126T085709Z:e05703ff-ad51-4376-b6b7-3ca101acf3db" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Tue, 26 Jan 2021 08:57:08 GMT" + ], + "Expires": [ + "-1" + ], + "Content-Length": [ + "0" + ] + }, + "ResponseBody": "", + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/051ddeca-1ed6-4d8b-ba6f-1ff561e5f3b3/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1TUUw6MkRCSzoyRENNRExFVDoyRFRFU1Q6MkRSR1BTMjUwMi1XRVNUQ0VOVFJBTFVTIiwiam9iTG9jYXRpb24iOiJ3ZXN0Y2VudHJhbHVzIn0?api-version=2016-09-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMDUxZGRlY2EtMWVkNi00ZDhiLWJhNmYtMWZmNTYxZTVmM2IzL29wZXJhdGlvbnJlc3VsdHMvZXlKcWIySkpaQ0k2SWxKRlUwOVZVa05GUjFKUFZWQkVSVXhGVkVsUFRrcFBRaTFUVVV3Nk1rUkNTem95UkVOTlJFeEZWRG95UkZSRlUxUTZNa1JTUjFCVE1qVXdNaTFYUlZOVVEwVk9WRkpCVEZWVElpd2lhbTlpVEc5allYUnBiMjRpT2lKM1pYTjBZMlZ1ZEhKaGJIVnpJbjA/YXBpLXZlcnNpb249MjAxNi0wOS0wMQ==", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.6.29518.01", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.19042.", + "Microsoft.Azure.Management.Internal.Resources.ResourceManagementClient/1.3.30" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "Location": [ + "https://management.azure.com/subscriptions/051ddeca-1ed6-4d8b-ba6f-1ff561e5f3b3/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1TUUw6MkRCSzoyRENNRExFVDoyRFRFU1Q6MkRSR1BTMjUwMi1XRVNUQ0VOVFJBTFVTIiwiam9iTG9jYXRpb24iOiJ3ZXN0Y2VudHJhbHVzIn0?api-version=2016-09-01" + ], + "Retry-After": [ + "15" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11971" + ], + "x-ms-request-id": [ + "9b38b7d9-723f-4f3c-b3c2-27d848f697dc" + ], + "x-ms-correlation-request-id": [ + "9b38b7d9-723f-4f3c-b3c2-27d848f697dc" + ], + "x-ms-routing-request-id": [ + "JAPANEAST:20210126T085724Z:9b38b7d9-723f-4f3c-b3c2-27d848f697dc" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Tue, 26 Jan 2021 08:57:24 GMT" + ], + "Expires": [ + "-1" + ], + "Content-Length": [ + "0" + ] + }, + "ResponseBody": "", + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/051ddeca-1ed6-4d8b-ba6f-1ff561e5f3b3/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1TUUw6MkRCSzoyRENNRExFVDoyRFRFU1Q6MkRSR1BTMjUwMi1XRVNUQ0VOVFJBTFVTIiwiam9iTG9jYXRpb24iOiJ3ZXN0Y2VudHJhbHVzIn0?api-version=2016-09-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMDUxZGRlY2EtMWVkNi00ZDhiLWJhNmYtMWZmNTYxZTVmM2IzL29wZXJhdGlvbnJlc3VsdHMvZXlKcWIySkpaQ0k2SWxKRlUwOVZVa05GUjFKUFZWQkVSVXhGVkVsUFRrcFBRaTFUVVV3Nk1rUkNTem95UkVOTlJFeEZWRG95UkZSRlUxUTZNa1JTUjFCVE1qVXdNaTFYUlZOVVEwVk9WRkpCVEZWVElpd2lhbTlpVEc5allYUnBiMjRpT2lKM1pYTjBZMlZ1ZEhKaGJIVnpJbjA/YXBpLXZlcnNpb249MjAxNi0wOS0wMQ==", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.6.29518.01", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.19042.", + "Microsoft.Azure.Management.Internal.Resources.ResourceManagementClient/1.3.30" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "Location": [ + "https://management.azure.com/subscriptions/051ddeca-1ed6-4d8b-ba6f-1ff561e5f3b3/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1TUUw6MkRCSzoyRENNRExFVDoyRFRFU1Q6MkRSR1BTMjUwMi1XRVNUQ0VOVFJBTFVTIiwiam9iTG9jYXRpb24iOiJ3ZXN0Y2VudHJhbHVzIn0?api-version=2016-09-01" + ], + "Retry-After": [ + "15" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11970" + ], + "x-ms-request-id": [ + "76a6a6aa-236a-4ab3-a5a6-2bfbf779547a" + ], + "x-ms-correlation-request-id": [ + "76a6a6aa-236a-4ab3-a5a6-2bfbf779547a" + ], + "x-ms-routing-request-id": [ + "JAPANEAST:20210126T085740Z:76a6a6aa-236a-4ab3-a5a6-2bfbf779547a" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Tue, 26 Jan 2021 08:57:40 GMT" + ], + "Expires": [ + "-1" + ], + "Content-Length": [ + "0" + ] + }, + "ResponseBody": "", + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/051ddeca-1ed6-4d8b-ba6f-1ff561e5f3b3/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1TUUw6MkRCSzoyRENNRExFVDoyRFRFU1Q6MkRSR1BTMjUwMi1XRVNUQ0VOVFJBTFVTIiwiam9iTG9jYXRpb24iOiJ3ZXN0Y2VudHJhbHVzIn0?api-version=2016-09-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMDUxZGRlY2EtMWVkNi00ZDhiLWJhNmYtMWZmNTYxZTVmM2IzL29wZXJhdGlvbnJlc3VsdHMvZXlKcWIySkpaQ0k2SWxKRlUwOVZVa05GUjFKUFZWQkVSVXhGVkVsUFRrcFBRaTFUVVV3Nk1rUkNTem95UkVOTlJFeEZWRG95UkZSRlUxUTZNa1JTUjFCVE1qVXdNaTFYUlZOVVEwVk9WRkpCVEZWVElpd2lhbTlpVEc5allYUnBiMjRpT2lKM1pYTjBZMlZ1ZEhKaGJIVnpJbjA/YXBpLXZlcnNpb249MjAxNi0wOS0wMQ==", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.6.29518.01", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.19042.", + "Microsoft.Azure.Management.Internal.Resources.ResourceManagementClient/1.3.30" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "Location": [ + "https://management.azure.com/subscriptions/051ddeca-1ed6-4d8b-ba6f-1ff561e5f3b3/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1TUUw6MkRCSzoyRENNRExFVDoyRFRFU1Q6MkRSR1BTMjUwMi1XRVNUQ0VOVFJBTFVTIiwiam9iTG9jYXRpb24iOiJ3ZXN0Y2VudHJhbHVzIn0?api-version=2016-09-01" + ], + "Retry-After": [ + "15" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11969" + ], + "x-ms-request-id": [ + "b14c1191-a9da-4781-82a6-da4ac49f8dee" + ], + "x-ms-correlation-request-id": [ + "b14c1191-a9da-4781-82a6-da4ac49f8dee" + ], + "x-ms-routing-request-id": [ + "JAPANEAST:20210126T085755Z:b14c1191-a9da-4781-82a6-da4ac49f8dee" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Tue, 26 Jan 2021 08:57:55 GMT" + ], + "Expires": [ + "-1" + ], + "Content-Length": [ + "0" + ] + }, + "ResponseBody": "", + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/051ddeca-1ed6-4d8b-ba6f-1ff561e5f3b3/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1TUUw6MkRCSzoyRENNRExFVDoyRFRFU1Q6MkRSR1BTMjUwMi1XRVNUQ0VOVFJBTFVTIiwiam9iTG9jYXRpb24iOiJ3ZXN0Y2VudHJhbHVzIn0?api-version=2016-09-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMDUxZGRlY2EtMWVkNi00ZDhiLWJhNmYtMWZmNTYxZTVmM2IzL29wZXJhdGlvbnJlc3VsdHMvZXlKcWIySkpaQ0k2SWxKRlUwOVZVa05GUjFKUFZWQkVSVXhGVkVsUFRrcFBRaTFUVVV3Nk1rUkNTem95UkVOTlJFeEZWRG95UkZSRlUxUTZNa1JTUjFCVE1qVXdNaTFYUlZOVVEwVk9WRkpCVEZWVElpd2lhbTlpVEc5allYUnBiMjRpT2lKM1pYTjBZMlZ1ZEhKaGJIVnpJbjA/YXBpLXZlcnNpb249MjAxNi0wOS0wMQ==", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.6.29518.01", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.19042.", + "Microsoft.Azure.Management.Internal.Resources.ResourceManagementClient/1.3.30" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "Location": [ + "https://management.azure.com/subscriptions/051ddeca-1ed6-4d8b-ba6f-1ff561e5f3b3/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1TUUw6MkRCSzoyRENNRExFVDoyRFRFU1Q6MkRSR1BTMjUwMi1XRVNUQ0VOVFJBTFVTIiwiam9iTG9jYXRpb24iOiJ3ZXN0Y2VudHJhbHVzIn0?api-version=2016-09-01" + ], + "Retry-After": [ + "15" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11968" + ], + "x-ms-request-id": [ + "4bd25fc4-bb34-46de-94e6-0f6f3e85914d" + ], + "x-ms-correlation-request-id": [ + "4bd25fc4-bb34-46de-94e6-0f6f3e85914d" + ], + "x-ms-routing-request-id": [ + "JAPANEAST:20210126T085810Z:4bd25fc4-bb34-46de-94e6-0f6f3e85914d" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Tue, 26 Jan 2021 08:58:10 GMT" + ], + "Expires": [ + "-1" + ], + "Content-Length": [ + "0" + ] + }, + "ResponseBody": "", + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/051ddeca-1ed6-4d8b-ba6f-1ff561e5f3b3/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1TUUw6MkRCSzoyRENNRExFVDoyRFRFU1Q6MkRSR1BTMjUwMi1XRVNUQ0VOVFJBTFVTIiwiam9iTG9jYXRpb24iOiJ3ZXN0Y2VudHJhbHVzIn0?api-version=2016-09-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMDUxZGRlY2EtMWVkNi00ZDhiLWJhNmYtMWZmNTYxZTVmM2IzL29wZXJhdGlvbnJlc3VsdHMvZXlKcWIySkpaQ0k2SWxKRlUwOVZVa05GUjFKUFZWQkVSVXhGVkVsUFRrcFBRaTFUVVV3Nk1rUkNTem95UkVOTlJFeEZWRG95UkZSRlUxUTZNa1JTUjFCVE1qVXdNaTFYUlZOVVEwVk9WRkpCVEZWVElpd2lhbTlpVEc5allYUnBiMjRpT2lKM1pYTjBZMlZ1ZEhKaGJIVnpJbjA/YXBpLXZlcnNpb249MjAxNi0wOS0wMQ==", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.6.29518.01", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.19042.", + "Microsoft.Azure.Management.Internal.Resources.ResourceManagementClient/1.3.30" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "Location": [ + "https://management.azure.com/subscriptions/051ddeca-1ed6-4d8b-ba6f-1ff561e5f3b3/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1TUUw6MkRCSzoyRENNRExFVDoyRFRFU1Q6MkRSR1BTMjUwMi1XRVNUQ0VOVFJBTFVTIiwiam9iTG9jYXRpb24iOiJ3ZXN0Y2VudHJhbHVzIn0?api-version=2016-09-01" + ], + "Retry-After": [ + "15" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11967" + ], + "x-ms-request-id": [ + "c2e76299-cec4-4794-a929-2fb165584cbb" + ], + "x-ms-correlation-request-id": [ + "c2e76299-cec4-4794-a929-2fb165584cbb" + ], + "x-ms-routing-request-id": [ + "JAPANEAST:20210126T085826Z:c2e76299-cec4-4794-a929-2fb165584cbb" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Tue, 26 Jan 2021 08:58:25 GMT" + ], + "Expires": [ + "-1" + ], + "Content-Length": [ + "0" + ] + }, + "ResponseBody": "", + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/051ddeca-1ed6-4d8b-ba6f-1ff561e5f3b3/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1TUUw6MkRCSzoyRENNRExFVDoyRFRFU1Q6MkRSR1BTMjUwMi1XRVNUQ0VOVFJBTFVTIiwiam9iTG9jYXRpb24iOiJ3ZXN0Y2VudHJhbHVzIn0?api-version=2016-09-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMDUxZGRlY2EtMWVkNi00ZDhiLWJhNmYtMWZmNTYxZTVmM2IzL29wZXJhdGlvbnJlc3VsdHMvZXlKcWIySkpaQ0k2SWxKRlUwOVZVa05GUjFKUFZWQkVSVXhGVkVsUFRrcFBRaTFUVVV3Nk1rUkNTem95UkVOTlJFeEZWRG95UkZSRlUxUTZNa1JTUjFCVE1qVXdNaTFYUlZOVVEwVk9WRkpCVEZWVElpd2lhbTlpVEc5allYUnBiMjRpT2lKM1pYTjBZMlZ1ZEhKaGJIVnpJbjA/YXBpLXZlcnNpb249MjAxNi0wOS0wMQ==", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.6.29518.01", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.19042.", + "Microsoft.Azure.Management.Internal.Resources.ResourceManagementClient/1.3.30" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "Location": [ + "https://management.azure.com/subscriptions/051ddeca-1ed6-4d8b-ba6f-1ff561e5f3b3/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1TUUw6MkRCSzoyRENNRExFVDoyRFRFU1Q6MkRSR1BTMjUwMi1XRVNUQ0VOVFJBTFVTIiwiam9iTG9jYXRpb24iOiJ3ZXN0Y2VudHJhbHVzIn0?api-version=2016-09-01" + ], + "Retry-After": [ + "15" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11966" + ], + "x-ms-request-id": [ + "0f8cda5b-b2f5-44b5-8b40-ccce497aa4de" + ], + "x-ms-correlation-request-id": [ + "0f8cda5b-b2f5-44b5-8b40-ccce497aa4de" + ], + "x-ms-routing-request-id": [ + "JAPANEAST:20210126T085841Z:0f8cda5b-b2f5-44b5-8b40-ccce497aa4de" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Tue, 26 Jan 2021 08:58:40 GMT" + ], + "Expires": [ + "-1" + ], + "Content-Length": [ + "0" + ] + }, + "ResponseBody": "", + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/051ddeca-1ed6-4d8b-ba6f-1ff561e5f3b3/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1TUUw6MkRCSzoyRENNRExFVDoyRFRFU1Q6MkRSR1BTMjUwMi1XRVNUQ0VOVFJBTFVTIiwiam9iTG9jYXRpb24iOiJ3ZXN0Y2VudHJhbHVzIn0?api-version=2016-09-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMDUxZGRlY2EtMWVkNi00ZDhiLWJhNmYtMWZmNTYxZTVmM2IzL29wZXJhdGlvbnJlc3VsdHMvZXlKcWIySkpaQ0k2SWxKRlUwOVZVa05GUjFKUFZWQkVSVXhGVkVsUFRrcFBRaTFUVVV3Nk1rUkNTem95UkVOTlJFeEZWRG95UkZSRlUxUTZNa1JTUjFCVE1qVXdNaTFYUlZOVVEwVk9WRkpCVEZWVElpd2lhbTlpVEc5allYUnBiMjRpT2lKM1pYTjBZMlZ1ZEhKaGJIVnpJbjA/YXBpLXZlcnNpb249MjAxNi0wOS0wMQ==", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.6.29518.01", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.19042.", + "Microsoft.Azure.Management.Internal.Resources.ResourceManagementClient/1.3.30" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "Location": [ + "https://management.azure.com/subscriptions/051ddeca-1ed6-4d8b-ba6f-1ff561e5f3b3/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1TUUw6MkRCSzoyRENNRExFVDoyRFRFU1Q6MkRSR1BTMjUwMi1XRVNUQ0VOVFJBTFVTIiwiam9iTG9jYXRpb24iOiJ3ZXN0Y2VudHJhbHVzIn0?api-version=2016-09-01" + ], + "Retry-After": [ + "15" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11965" + ], + "x-ms-request-id": [ + "c3252dc8-b6e1-4b64-98f9-f1bc804ebce4" + ], + "x-ms-correlation-request-id": [ + "c3252dc8-b6e1-4b64-98f9-f1bc804ebce4" + ], + "x-ms-routing-request-id": [ + "JAPANEAST:20210126T085857Z:c3252dc8-b6e1-4b64-98f9-f1bc804ebce4" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Tue, 26 Jan 2021 08:58:56 GMT" + ], + "Expires": [ + "-1" + ], + "Content-Length": [ + "0" + ] + }, + "ResponseBody": "", + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/051ddeca-1ed6-4d8b-ba6f-1ff561e5f3b3/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1TUUw6MkRCSzoyRENNRExFVDoyRFRFU1Q6MkRSR1BTMjUwMi1XRVNUQ0VOVFJBTFVTIiwiam9iTG9jYXRpb24iOiJ3ZXN0Y2VudHJhbHVzIn0?api-version=2016-09-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMDUxZGRlY2EtMWVkNi00ZDhiLWJhNmYtMWZmNTYxZTVmM2IzL29wZXJhdGlvbnJlc3VsdHMvZXlKcWIySkpaQ0k2SWxKRlUwOVZVa05GUjFKUFZWQkVSVXhGVkVsUFRrcFBRaTFUVVV3Nk1rUkNTem95UkVOTlJFeEZWRG95UkZSRlUxUTZNa1JTUjFCVE1qVXdNaTFYUlZOVVEwVk9WRkpCVEZWVElpd2lhbTlpVEc5allYUnBiMjRpT2lKM1pYTjBZMlZ1ZEhKaGJIVnpJbjA/YXBpLXZlcnNpb249MjAxNi0wOS0wMQ==", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.6.29518.01", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.19042.", + "Microsoft.Azure.Management.Internal.Resources.ResourceManagementClient/1.3.30" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "Location": [ + "https://management.azure.com/subscriptions/051ddeca-1ed6-4d8b-ba6f-1ff561e5f3b3/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1TUUw6MkRCSzoyRENNRExFVDoyRFRFU1Q6MkRSR1BTMjUwMi1XRVNUQ0VOVFJBTFVTIiwiam9iTG9jYXRpb24iOiJ3ZXN0Y2VudHJhbHVzIn0?api-version=2016-09-01" + ], + "Retry-After": [ + "15" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11964" + ], + "x-ms-request-id": [ + "3a077b3e-d383-4b28-95f8-1ea94f10f5f4" + ], + "x-ms-correlation-request-id": [ + "3a077b3e-d383-4b28-95f8-1ea94f10f5f4" + ], + "x-ms-routing-request-id": [ + "JAPANEAST:20210126T085912Z:3a077b3e-d383-4b28-95f8-1ea94f10f5f4" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Tue, 26 Jan 2021 08:59:11 GMT" + ], + "Expires": [ + "-1" + ], + "Content-Length": [ + "0" + ] + }, + "ResponseBody": "", + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/051ddeca-1ed6-4d8b-ba6f-1ff561e5f3b3/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1TUUw6MkRCSzoyRENNRExFVDoyRFRFU1Q6MkRSR1BTMjUwMi1XRVNUQ0VOVFJBTFVTIiwiam9iTG9jYXRpb24iOiJ3ZXN0Y2VudHJhbHVzIn0?api-version=2016-09-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMDUxZGRlY2EtMWVkNi00ZDhiLWJhNmYtMWZmNTYxZTVmM2IzL29wZXJhdGlvbnJlc3VsdHMvZXlKcWIySkpaQ0k2SWxKRlUwOVZVa05GUjFKUFZWQkVSVXhGVkVsUFRrcFBRaTFUVVV3Nk1rUkNTem95UkVOTlJFeEZWRG95UkZSRlUxUTZNa1JTUjFCVE1qVXdNaTFYUlZOVVEwVk9WRkpCVEZWVElpd2lhbTlpVEc5allYUnBiMjRpT2lKM1pYTjBZMlZ1ZEhKaGJIVnpJbjA/YXBpLXZlcnNpb249MjAxNi0wOS0wMQ==", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.6.29518.01", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.19042.", + "Microsoft.Azure.Management.Internal.Resources.ResourceManagementClient/1.3.30" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "Location": [ + "https://management.azure.com/subscriptions/051ddeca-1ed6-4d8b-ba6f-1ff561e5f3b3/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1TUUw6MkRCSzoyRENNRExFVDoyRFRFU1Q6MkRSR1BTMjUwMi1XRVNUQ0VOVFJBTFVTIiwiam9iTG9jYXRpb24iOiJ3ZXN0Y2VudHJhbHVzIn0?api-version=2016-09-01" + ], + "Retry-After": [ + "15" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11963" + ], + "x-ms-request-id": [ + "461588bd-6f3a-4bf6-b78b-9ad90d7bb6a5" + ], + "x-ms-correlation-request-id": [ + "461588bd-6f3a-4bf6-b78b-9ad90d7bb6a5" + ], + "x-ms-routing-request-id": [ + "JAPANEAST:20210126T085927Z:461588bd-6f3a-4bf6-b78b-9ad90d7bb6a5" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Tue, 26 Jan 2021 08:59:27 GMT" + ], + "Expires": [ + "-1" + ], + "Content-Length": [ + "0" + ] + }, + "ResponseBody": "", + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/051ddeca-1ed6-4d8b-ba6f-1ff561e5f3b3/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1TUUw6MkRCSzoyRENNRExFVDoyRFRFU1Q6MkRSR1BTMjUwMi1XRVNUQ0VOVFJBTFVTIiwiam9iTG9jYXRpb24iOiJ3ZXN0Y2VudHJhbHVzIn0?api-version=2016-09-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMDUxZGRlY2EtMWVkNi00ZDhiLWJhNmYtMWZmNTYxZTVmM2IzL29wZXJhdGlvbnJlc3VsdHMvZXlKcWIySkpaQ0k2SWxKRlUwOVZVa05GUjFKUFZWQkVSVXhGVkVsUFRrcFBRaTFUVVV3Nk1rUkNTem95UkVOTlJFeEZWRG95UkZSRlUxUTZNa1JTUjFCVE1qVXdNaTFYUlZOVVEwVk9WRkpCVEZWVElpd2lhbTlpVEc5allYUnBiMjRpT2lKM1pYTjBZMlZ1ZEhKaGJIVnpJbjA/YXBpLXZlcnNpb249MjAxNi0wOS0wMQ==", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.6.29518.01", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.19042.", + "Microsoft.Azure.Management.Internal.Resources.ResourceManagementClient/1.3.30" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "Location": [ + "https://management.azure.com/subscriptions/051ddeca-1ed6-4d8b-ba6f-1ff561e5f3b3/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1TUUw6MkRCSzoyRENNRExFVDoyRFRFU1Q6MkRSR1BTMjUwMi1XRVNUQ0VOVFJBTFVTIiwiam9iTG9jYXRpb24iOiJ3ZXN0Y2VudHJhbHVzIn0?api-version=2016-09-01" + ], + "Retry-After": [ + "15" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11962" + ], + "x-ms-request-id": [ + "2bd31054-2720-4699-b70f-f130533eabd7" + ], + "x-ms-correlation-request-id": [ + "2bd31054-2720-4699-b70f-f130533eabd7" + ], + "x-ms-routing-request-id": [ + "JAPANEAST:20210126T085943Z:2bd31054-2720-4699-b70f-f130533eabd7" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Tue, 26 Jan 2021 08:59:42 GMT" + ], + "Expires": [ + "-1" + ], + "Content-Length": [ + "0" + ] + }, + "ResponseBody": "", + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/051ddeca-1ed6-4d8b-ba6f-1ff561e5f3b3/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1TUUw6MkRCSzoyRENNRExFVDoyRFRFU1Q6MkRSR1BTMjUwMi1XRVNUQ0VOVFJBTFVTIiwiam9iTG9jYXRpb24iOiJ3ZXN0Y2VudHJhbHVzIn0?api-version=2016-09-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMDUxZGRlY2EtMWVkNi00ZDhiLWJhNmYtMWZmNTYxZTVmM2IzL29wZXJhdGlvbnJlc3VsdHMvZXlKcWIySkpaQ0k2SWxKRlUwOVZVa05GUjFKUFZWQkVSVXhGVkVsUFRrcFBRaTFUVVV3Nk1rUkNTem95UkVOTlJFeEZWRG95UkZSRlUxUTZNa1JTUjFCVE1qVXdNaTFYUlZOVVEwVk9WRkpCVEZWVElpd2lhbTlpVEc5allYUnBiMjRpT2lKM1pYTjBZMlZ1ZEhKaGJIVnpJbjA/YXBpLXZlcnNpb249MjAxNi0wOS0wMQ==", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.6.29518.01", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.19042.", + "Microsoft.Azure.Management.Internal.Resources.ResourceManagementClient/1.3.30" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "Location": [ + "https://management.azure.com/subscriptions/051ddeca-1ed6-4d8b-ba6f-1ff561e5f3b3/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1TUUw6MkRCSzoyRENNRExFVDoyRFRFU1Q6MkRSR1BTMjUwMi1XRVNUQ0VOVFJBTFVTIiwiam9iTG9jYXRpb24iOiJ3ZXN0Y2VudHJhbHVzIn0?api-version=2016-09-01" + ], + "Retry-After": [ + "15" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11961" + ], + "x-ms-request-id": [ + "b695f81e-0dac-431c-85fe-3e31201f41da" + ], + "x-ms-correlation-request-id": [ + "b695f81e-0dac-431c-85fe-3e31201f41da" + ], + "x-ms-routing-request-id": [ + "JAPANEAST:20210126T085958Z:b695f81e-0dac-431c-85fe-3e31201f41da" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Tue, 26 Jan 2021 08:59:58 GMT" + ], + "Expires": [ + "-1" + ], + "Content-Length": [ + "0" + ] + }, + "ResponseBody": "", + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/051ddeca-1ed6-4d8b-ba6f-1ff561e5f3b3/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1TUUw6MkRCSzoyRENNRExFVDoyRFRFU1Q6MkRSR1BTMjUwMi1XRVNUQ0VOVFJBTFVTIiwiam9iTG9jYXRpb24iOiJ3ZXN0Y2VudHJhbHVzIn0?api-version=2016-09-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMDUxZGRlY2EtMWVkNi00ZDhiLWJhNmYtMWZmNTYxZTVmM2IzL29wZXJhdGlvbnJlc3VsdHMvZXlKcWIySkpaQ0k2SWxKRlUwOVZVa05GUjFKUFZWQkVSVXhGVkVsUFRrcFBRaTFUVVV3Nk1rUkNTem95UkVOTlJFeEZWRG95UkZSRlUxUTZNa1JTUjFCVE1qVXdNaTFYUlZOVVEwVk9WRkpCVEZWVElpd2lhbTlpVEc5allYUnBiMjRpT2lKM1pYTjBZMlZ1ZEhKaGJIVnpJbjA/YXBpLXZlcnNpb249MjAxNi0wOS0wMQ==", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.6.29518.01", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.19042.", + "Microsoft.Azure.Management.Internal.Resources.ResourceManagementClient/1.3.30" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "Location": [ + "https://management.azure.com/subscriptions/051ddeca-1ed6-4d8b-ba6f-1ff561e5f3b3/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1TUUw6MkRCSzoyRENNRExFVDoyRFRFU1Q6MkRSR1BTMjUwMi1XRVNUQ0VOVFJBTFVTIiwiam9iTG9jYXRpb24iOiJ3ZXN0Y2VudHJhbHVzIn0?api-version=2016-09-01" + ], + "Retry-After": [ + "15" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11966" + ], + "x-ms-request-id": [ + "ad21b328-468a-4ee7-9c83-b062b7dfdd51" + ], + "x-ms-correlation-request-id": [ + "ad21b328-468a-4ee7-9c83-b062b7dfdd51" + ], + "x-ms-routing-request-id": [ + "JAPANEAST:20210126T090013Z:ad21b328-468a-4ee7-9c83-b062b7dfdd51" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Tue, 26 Jan 2021 09:00:13 GMT" + ], + "Expires": [ + "-1" + ], + "Content-Length": [ + "0" + ] + }, + "ResponseBody": "", + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/051ddeca-1ed6-4d8b-ba6f-1ff561e5f3b3/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1TUUw6MkRCSzoyRENNRExFVDoyRFRFU1Q6MkRSR1BTMjUwMi1XRVNUQ0VOVFJBTFVTIiwiam9iTG9jYXRpb24iOiJ3ZXN0Y2VudHJhbHVzIn0?api-version=2016-09-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMDUxZGRlY2EtMWVkNi00ZDhiLWJhNmYtMWZmNTYxZTVmM2IzL29wZXJhdGlvbnJlc3VsdHMvZXlKcWIySkpaQ0k2SWxKRlUwOVZVa05GUjFKUFZWQkVSVXhGVkVsUFRrcFBRaTFUVVV3Nk1rUkNTem95UkVOTlJFeEZWRG95UkZSRlUxUTZNa1JTUjFCVE1qVXdNaTFYUlZOVVEwVk9WRkpCVEZWVElpd2lhbTlpVEc5allYUnBiMjRpT2lKM1pYTjBZMlZ1ZEhKaGJIVnpJbjA/YXBpLXZlcnNpb249MjAxNi0wOS0wMQ==", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.6.29518.01", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.19042.", + "Microsoft.Azure.Management.Internal.Resources.ResourceManagementClient/1.3.30" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "Location": [ + "https://management.azure.com/subscriptions/051ddeca-1ed6-4d8b-ba6f-1ff561e5f3b3/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1TUUw6MkRCSzoyRENNRExFVDoyRFRFU1Q6MkRSR1BTMjUwMi1XRVNUQ0VOVFJBTFVTIiwiam9iTG9jYXRpb24iOiJ3ZXN0Y2VudHJhbHVzIn0?api-version=2016-09-01" + ], + "Retry-After": [ + "15" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11965" + ], + "x-ms-request-id": [ + "f01ba7c2-a0ab-4b17-ac6e-7b62529003c2" + ], + "x-ms-correlation-request-id": [ + "f01ba7c2-a0ab-4b17-ac6e-7b62529003c2" + ], + "x-ms-routing-request-id": [ + "JAPANEAST:20210126T090029Z:f01ba7c2-a0ab-4b17-ac6e-7b62529003c2" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Tue, 26 Jan 2021 09:00:28 GMT" + ], + "Expires": [ + "-1" + ], + "Content-Length": [ + "0" + ] + }, + "ResponseBody": "", + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/051ddeca-1ed6-4d8b-ba6f-1ff561e5f3b3/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1TUUw6MkRCSzoyRENNRExFVDoyRFRFU1Q6MkRSR1BTMjUwMi1XRVNUQ0VOVFJBTFVTIiwiam9iTG9jYXRpb24iOiJ3ZXN0Y2VudHJhbHVzIn0?api-version=2016-09-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMDUxZGRlY2EtMWVkNi00ZDhiLWJhNmYtMWZmNTYxZTVmM2IzL29wZXJhdGlvbnJlc3VsdHMvZXlKcWIySkpaQ0k2SWxKRlUwOVZVa05GUjFKUFZWQkVSVXhGVkVsUFRrcFBRaTFUVVV3Nk1rUkNTem95UkVOTlJFeEZWRG95UkZSRlUxUTZNa1JTUjFCVE1qVXdNaTFYUlZOVVEwVk9WRkpCVEZWVElpd2lhbTlpVEc5allYUnBiMjRpT2lKM1pYTjBZMlZ1ZEhKaGJIVnpJbjA/YXBpLXZlcnNpb249MjAxNi0wOS0wMQ==", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.6.29518.01", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.19042.", + "Microsoft.Azure.Management.Internal.Resources.ResourceManagementClient/1.3.30" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "Location": [ + "https://management.azure.com/subscriptions/051ddeca-1ed6-4d8b-ba6f-1ff561e5f3b3/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1TUUw6MkRCSzoyRENNRExFVDoyRFRFU1Q6MkRSR1BTMjUwMi1XRVNUQ0VOVFJBTFVTIiwiam9iTG9jYXRpb24iOiJ3ZXN0Y2VudHJhbHVzIn0?api-version=2016-09-01" + ], + "Retry-After": [ + "15" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11964" + ], + "x-ms-request-id": [ + "7406df29-8c80-4ee3-b36d-382bd37c9874" + ], + "x-ms-correlation-request-id": [ + "7406df29-8c80-4ee3-b36d-382bd37c9874" + ], + "x-ms-routing-request-id": [ + "JAPANEAST:20210126T090044Z:7406df29-8c80-4ee3-b36d-382bd37c9874" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Tue, 26 Jan 2021 09:00:43 GMT" + ], + "Expires": [ + "-1" + ], + "Content-Length": [ + "0" + ] + }, + "ResponseBody": "", + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/051ddeca-1ed6-4d8b-ba6f-1ff561e5f3b3/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1TUUw6MkRCSzoyRENNRExFVDoyRFRFU1Q6MkRSR1BTMjUwMi1XRVNUQ0VOVFJBTFVTIiwiam9iTG9jYXRpb24iOiJ3ZXN0Y2VudHJhbHVzIn0?api-version=2016-09-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMDUxZGRlY2EtMWVkNi00ZDhiLWJhNmYtMWZmNTYxZTVmM2IzL29wZXJhdGlvbnJlc3VsdHMvZXlKcWIySkpaQ0k2SWxKRlUwOVZVa05GUjFKUFZWQkVSVXhGVkVsUFRrcFBRaTFUVVV3Nk1rUkNTem95UkVOTlJFeEZWRG95UkZSRlUxUTZNa1JTUjFCVE1qVXdNaTFYUlZOVVEwVk9WRkpCVEZWVElpd2lhbTlpVEc5allYUnBiMjRpT2lKM1pYTjBZMlZ1ZEhKaGJIVnpJbjA/YXBpLXZlcnNpb249MjAxNi0wOS0wMQ==", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.6.29518.01", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.19042.", + "Microsoft.Azure.Management.Internal.Resources.ResourceManagementClient/1.3.30" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "Location": [ + "https://management.azure.com/subscriptions/051ddeca-1ed6-4d8b-ba6f-1ff561e5f3b3/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1TUUw6MkRCSzoyRENNRExFVDoyRFRFU1Q6MkRSR1BTMjUwMi1XRVNUQ0VOVFJBTFVTIiwiam9iTG9jYXRpb24iOiJ3ZXN0Y2VudHJhbHVzIn0?api-version=2016-09-01" + ], + "Retry-After": [ + "15" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11963" + ], + "x-ms-request-id": [ + "fad09329-889a-4867-8966-cef6f57eabb4" + ], + "x-ms-correlation-request-id": [ + "fad09329-889a-4867-8966-cef6f57eabb4" + ], + "x-ms-routing-request-id": [ + "JAPANEAST:20210126T090059Z:fad09329-889a-4867-8966-cef6f57eabb4" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Tue, 26 Jan 2021 09:00:59 GMT" + ], + "Expires": [ + "-1" + ], + "Content-Length": [ + "0" + ] + }, + "ResponseBody": "", + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/051ddeca-1ed6-4d8b-ba6f-1ff561e5f3b3/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1TUUw6MkRCSzoyRENNRExFVDoyRFRFU1Q6MkRSR1BTMjUwMi1XRVNUQ0VOVFJBTFVTIiwiam9iTG9jYXRpb24iOiJ3ZXN0Y2VudHJhbHVzIn0?api-version=2016-09-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMDUxZGRlY2EtMWVkNi00ZDhiLWJhNmYtMWZmNTYxZTVmM2IzL29wZXJhdGlvbnJlc3VsdHMvZXlKcWIySkpaQ0k2SWxKRlUwOVZVa05GUjFKUFZWQkVSVXhGVkVsUFRrcFBRaTFUVVV3Nk1rUkNTem95UkVOTlJFeEZWRG95UkZSRlUxUTZNa1JTUjFCVE1qVXdNaTFYUlZOVVEwVk9WRkpCVEZWVElpd2lhbTlpVEc5allYUnBiMjRpT2lKM1pYTjBZMlZ1ZEhKaGJIVnpJbjA/YXBpLXZlcnNpb249MjAxNi0wOS0wMQ==", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.6.29518.01", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.19042.", + "Microsoft.Azure.Management.Internal.Resources.ResourceManagementClient/1.3.30" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "Location": [ + "https://management.azure.com/subscriptions/051ddeca-1ed6-4d8b-ba6f-1ff561e5f3b3/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1TUUw6MkRCSzoyRENNRExFVDoyRFRFU1Q6MkRSR1BTMjUwMi1XRVNUQ0VOVFJBTFVTIiwiam9iTG9jYXRpb24iOiJ3ZXN0Y2VudHJhbHVzIn0?api-version=2016-09-01" + ], + "Retry-After": [ + "15" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11962" + ], + "x-ms-request-id": [ + "8b736959-3bf7-4211-926b-70aed82614dc" + ], + "x-ms-correlation-request-id": [ + "8b736959-3bf7-4211-926b-70aed82614dc" + ], + "x-ms-routing-request-id": [ + "JAPANEAST:20210126T090115Z:8b736959-3bf7-4211-926b-70aed82614dc" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Tue, 26 Jan 2021 09:01:14 GMT" + ], + "Expires": [ + "-1" + ], + "Content-Length": [ + "0" + ] + }, + "ResponseBody": "", + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/051ddeca-1ed6-4d8b-ba6f-1ff561e5f3b3/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1TUUw6MkRCSzoyRENNRExFVDoyRFRFU1Q6MkRSR1BTMjUwMi1XRVNUQ0VOVFJBTFVTIiwiam9iTG9jYXRpb24iOiJ3ZXN0Y2VudHJhbHVzIn0?api-version=2016-09-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMDUxZGRlY2EtMWVkNi00ZDhiLWJhNmYtMWZmNTYxZTVmM2IzL29wZXJhdGlvbnJlc3VsdHMvZXlKcWIySkpaQ0k2SWxKRlUwOVZVa05GUjFKUFZWQkVSVXhGVkVsUFRrcFBRaTFUVVV3Nk1rUkNTem95UkVOTlJFeEZWRG95UkZSRlUxUTZNa1JTUjFCVE1qVXdNaTFYUlZOVVEwVk9WRkpCVEZWVElpd2lhbTlpVEc5allYUnBiMjRpT2lKM1pYTjBZMlZ1ZEhKaGJIVnpJbjA/YXBpLXZlcnNpb249MjAxNi0wOS0wMQ==", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.6.29518.01", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.19042.", + "Microsoft.Azure.Management.Internal.Resources.ResourceManagementClient/1.3.30" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "Location": [ + "https://management.azure.com/subscriptions/051ddeca-1ed6-4d8b-ba6f-1ff561e5f3b3/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1TUUw6MkRCSzoyRENNRExFVDoyRFRFU1Q6MkRSR1BTMjUwMi1XRVNUQ0VOVFJBTFVTIiwiam9iTG9jYXRpb24iOiJ3ZXN0Y2VudHJhbHVzIn0?api-version=2016-09-01" + ], + "Retry-After": [ + "15" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11961" + ], + "x-ms-request-id": [ + "f542062c-19f9-4fbd-85fd-91f7e15552c8" + ], + "x-ms-correlation-request-id": [ + "f542062c-19f9-4fbd-85fd-91f7e15552c8" + ], + "x-ms-routing-request-id": [ + "JAPANEAST:20210126T090130Z:f542062c-19f9-4fbd-85fd-91f7e15552c8" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Tue, 26 Jan 2021 09:01:29 GMT" + ], + "Expires": [ + "-1" + ], + "Content-Length": [ + "0" + ] + }, + "ResponseBody": "", + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/051ddeca-1ed6-4d8b-ba6f-1ff561e5f3b3/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1TUUw6MkRCSzoyRENNRExFVDoyRFRFU1Q6MkRSR1BTMjUwMi1XRVNUQ0VOVFJBTFVTIiwiam9iTG9jYXRpb24iOiJ3ZXN0Y2VudHJhbHVzIn0?api-version=2016-09-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMDUxZGRlY2EtMWVkNi00ZDhiLWJhNmYtMWZmNTYxZTVmM2IzL29wZXJhdGlvbnJlc3VsdHMvZXlKcWIySkpaQ0k2SWxKRlUwOVZVa05GUjFKUFZWQkVSVXhGVkVsUFRrcFBRaTFUVVV3Nk1rUkNTem95UkVOTlJFeEZWRG95UkZSRlUxUTZNa1JTUjFCVE1qVXdNaTFYUlZOVVEwVk9WRkpCVEZWVElpd2lhbTlpVEc5allYUnBiMjRpT2lKM1pYTjBZMlZ1ZEhKaGJIVnpJbjA/YXBpLXZlcnNpb249MjAxNi0wOS0wMQ==", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.6.29518.01", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.19042.", + "Microsoft.Azure.Management.Internal.Resources.ResourceManagementClient/1.3.30" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "Location": [ + "https://management.azure.com/subscriptions/051ddeca-1ed6-4d8b-ba6f-1ff561e5f3b3/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1TUUw6MkRCSzoyRENNRExFVDoyRFRFU1Q6MkRSR1BTMjUwMi1XRVNUQ0VOVFJBTFVTIiwiam9iTG9jYXRpb24iOiJ3ZXN0Y2VudHJhbHVzIn0?api-version=2016-09-01" + ], + "Retry-After": [ + "15" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11960" + ], + "x-ms-request-id": [ + "0c4adcee-d52d-48b4-a7e8-dc8d8d2fbcb0" + ], + "x-ms-correlation-request-id": [ + "0c4adcee-d52d-48b4-a7e8-dc8d8d2fbcb0" + ], + "x-ms-routing-request-id": [ + "JAPANEAST:20210126T090146Z:0c4adcee-d52d-48b4-a7e8-dc8d8d2fbcb0" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Tue, 26 Jan 2021 09:01:46 GMT" + ], + "Expires": [ + "-1" + ], + "Content-Length": [ + "0" + ] + }, + "ResponseBody": "", + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/051ddeca-1ed6-4d8b-ba6f-1ff561e5f3b3/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1TUUw6MkRCSzoyRENNRExFVDoyRFRFU1Q6MkRSR1BTMjUwMi1XRVNUQ0VOVFJBTFVTIiwiam9iTG9jYXRpb24iOiJ3ZXN0Y2VudHJhbHVzIn0?api-version=2016-09-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMDUxZGRlY2EtMWVkNi00ZDhiLWJhNmYtMWZmNTYxZTVmM2IzL29wZXJhdGlvbnJlc3VsdHMvZXlKcWIySkpaQ0k2SWxKRlUwOVZVa05GUjFKUFZWQkVSVXhGVkVsUFRrcFBRaTFUVVV3Nk1rUkNTem95UkVOTlJFeEZWRG95UkZSRlUxUTZNa1JTUjFCVE1qVXdNaTFYUlZOVVEwVk9WRkpCVEZWVElpd2lhbTlpVEc5allYUnBiMjRpT2lKM1pYTjBZMlZ1ZEhKaGJIVnpJbjA/YXBpLXZlcnNpb249MjAxNi0wOS0wMQ==", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.6.29518.01", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.19042.", + "Microsoft.Azure.Management.Internal.Resources.ResourceManagementClient/1.3.30" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "Location": [ + "https://management.azure.com/subscriptions/051ddeca-1ed6-4d8b-ba6f-1ff561e5f3b3/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1TUUw6MkRCSzoyRENNRExFVDoyRFRFU1Q6MkRSR1BTMjUwMi1XRVNUQ0VOVFJBTFVTIiwiam9iTG9jYXRpb24iOiJ3ZXN0Y2VudHJhbHVzIn0?api-version=2016-09-01" + ], + "Retry-After": [ + "15" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11959" + ], + "x-ms-request-id": [ + "42ec2e4d-8ed0-4b4c-9229-56bd8c533d28" + ], + "x-ms-correlation-request-id": [ + "42ec2e4d-8ed0-4b4c-9229-56bd8c533d28" + ], + "x-ms-routing-request-id": [ + "JAPANEAST:20210126T090201Z:42ec2e4d-8ed0-4b4c-9229-56bd8c533d28" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Tue, 26 Jan 2021 09:02:01 GMT" + ], + "Expires": [ + "-1" + ], + "Content-Length": [ + "0" + ] + }, + "ResponseBody": "", + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/051ddeca-1ed6-4d8b-ba6f-1ff561e5f3b3/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1TUUw6MkRCSzoyRENNRExFVDoyRFRFU1Q6MkRSR1BTMjUwMi1XRVNUQ0VOVFJBTFVTIiwiam9iTG9jYXRpb24iOiJ3ZXN0Y2VudHJhbHVzIn0?api-version=2016-09-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMDUxZGRlY2EtMWVkNi00ZDhiLWJhNmYtMWZmNTYxZTVmM2IzL29wZXJhdGlvbnJlc3VsdHMvZXlKcWIySkpaQ0k2SWxKRlUwOVZVa05GUjFKUFZWQkVSVXhGVkVsUFRrcFBRaTFUVVV3Nk1rUkNTem95UkVOTlJFeEZWRG95UkZSRlUxUTZNa1JTUjFCVE1qVXdNaTFYUlZOVVEwVk9WRkpCVEZWVElpd2lhbTlpVEc5allYUnBiMjRpT2lKM1pYTjBZMlZ1ZEhKaGJIVnpJbjA/YXBpLXZlcnNpb249MjAxNi0wOS0wMQ==", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.6.29518.01", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.19042.", + "Microsoft.Azure.Management.Internal.Resources.ResourceManagementClient/1.3.30" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "Location": [ + "https://management.azure.com/subscriptions/051ddeca-1ed6-4d8b-ba6f-1ff561e5f3b3/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1TUUw6MkRCSzoyRENNRExFVDoyRFRFU1Q6MkRSR1BTMjUwMi1XRVNUQ0VOVFJBTFVTIiwiam9iTG9jYXRpb24iOiJ3ZXN0Y2VudHJhbHVzIn0?api-version=2016-09-01" + ], + "Retry-After": [ + "15" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11958" + ], + "x-ms-request-id": [ + "4b171d2c-d188-484e-bf16-201c703b0aff" + ], + "x-ms-correlation-request-id": [ + "4b171d2c-d188-484e-bf16-201c703b0aff" + ], + "x-ms-routing-request-id": [ + "JAPANEAST:20210126T090217Z:4b171d2c-d188-484e-bf16-201c703b0aff" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Tue, 26 Jan 2021 09:02:16 GMT" + ], + "Expires": [ + "-1" + ], + "Content-Length": [ + "0" + ] + }, + "ResponseBody": "", + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/051ddeca-1ed6-4d8b-ba6f-1ff561e5f3b3/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1TUUw6MkRCSzoyRENNRExFVDoyRFRFU1Q6MkRSR1BTMjUwMi1XRVNUQ0VOVFJBTFVTIiwiam9iTG9jYXRpb24iOiJ3ZXN0Y2VudHJhbHVzIn0?api-version=2016-09-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMDUxZGRlY2EtMWVkNi00ZDhiLWJhNmYtMWZmNTYxZTVmM2IzL29wZXJhdGlvbnJlc3VsdHMvZXlKcWIySkpaQ0k2SWxKRlUwOVZVa05GUjFKUFZWQkVSVXhGVkVsUFRrcFBRaTFUVVV3Nk1rUkNTem95UkVOTlJFeEZWRG95UkZSRlUxUTZNa1JTUjFCVE1qVXdNaTFYUlZOVVEwVk9WRkpCVEZWVElpd2lhbTlpVEc5allYUnBiMjRpT2lKM1pYTjBZMlZ1ZEhKaGJIVnpJbjA/YXBpLXZlcnNpb249MjAxNi0wOS0wMQ==", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.6.29518.01", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.19042.", + "Microsoft.Azure.Management.Internal.Resources.ResourceManagementClient/1.3.30" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "Location": [ + "https://management.azure.com/subscriptions/051ddeca-1ed6-4d8b-ba6f-1ff561e5f3b3/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1TUUw6MkRCSzoyRENNRExFVDoyRFRFU1Q6MkRSR1BTMjUwMi1XRVNUQ0VOVFJBTFVTIiwiam9iTG9jYXRpb24iOiJ3ZXN0Y2VudHJhbHVzIn0?api-version=2016-09-01" + ], + "Retry-After": [ + "15" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11957" + ], + "x-ms-request-id": [ + "a7bb3fbe-7132-4913-a02d-998bb20d73a1" + ], + "x-ms-correlation-request-id": [ + "a7bb3fbe-7132-4913-a02d-998bb20d73a1" + ], + "x-ms-routing-request-id": [ + "JAPANEAST:20210126T090232Z:a7bb3fbe-7132-4913-a02d-998bb20d73a1" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Tue, 26 Jan 2021 09:02:31 GMT" + ], + "Expires": [ + "-1" + ], + "Content-Length": [ + "0" + ] + }, + "ResponseBody": "", + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/051ddeca-1ed6-4d8b-ba6f-1ff561e5f3b3/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1TUUw6MkRCSzoyRENNRExFVDoyRFRFU1Q6MkRSR1BTMjUwMi1XRVNUQ0VOVFJBTFVTIiwiam9iTG9jYXRpb24iOiJ3ZXN0Y2VudHJhbHVzIn0?api-version=2016-09-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMDUxZGRlY2EtMWVkNi00ZDhiLWJhNmYtMWZmNTYxZTVmM2IzL29wZXJhdGlvbnJlc3VsdHMvZXlKcWIySkpaQ0k2SWxKRlUwOVZVa05GUjFKUFZWQkVSVXhGVkVsUFRrcFBRaTFUVVV3Nk1rUkNTem95UkVOTlJFeEZWRG95UkZSRlUxUTZNa1JTUjFCVE1qVXdNaTFYUlZOVVEwVk9WRkpCVEZWVElpd2lhbTlpVEc5allYUnBiMjRpT2lKM1pYTjBZMlZ1ZEhKaGJIVnpJbjA/YXBpLXZlcnNpb249MjAxNi0wOS0wMQ==", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.6.29518.01", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.19042.", + "Microsoft.Azure.Management.Internal.Resources.ResourceManagementClient/1.3.30" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "Location": [ + "https://management.azure.com/subscriptions/051ddeca-1ed6-4d8b-ba6f-1ff561e5f3b3/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1TUUw6MkRCSzoyRENNRExFVDoyRFRFU1Q6MkRSR1BTMjUwMi1XRVNUQ0VOVFJBTFVTIiwiam9iTG9jYXRpb24iOiJ3ZXN0Y2VudHJhbHVzIn0?api-version=2016-09-01" + ], + "Retry-After": [ + "15" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11956" + ], + "x-ms-request-id": [ + "60e45316-65cc-4ee4-9ebb-db8dba56d4f7" + ], + "x-ms-correlation-request-id": [ + "60e45316-65cc-4ee4-9ebb-db8dba56d4f7" + ], + "x-ms-routing-request-id": [ + "JAPANEAST:20210126T090247Z:60e45316-65cc-4ee4-9ebb-db8dba56d4f7" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Tue, 26 Jan 2021 09:02:47 GMT" + ], + "Expires": [ + "-1" + ], + "Content-Length": [ + "0" + ] + }, + "ResponseBody": "", + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/051ddeca-1ed6-4d8b-ba6f-1ff561e5f3b3/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1TUUw6MkRCSzoyRENNRExFVDoyRFRFU1Q6MkRSR1BTMjUwMi1XRVNUQ0VOVFJBTFVTIiwiam9iTG9jYXRpb24iOiJ3ZXN0Y2VudHJhbHVzIn0?api-version=2016-09-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMDUxZGRlY2EtMWVkNi00ZDhiLWJhNmYtMWZmNTYxZTVmM2IzL29wZXJhdGlvbnJlc3VsdHMvZXlKcWIySkpaQ0k2SWxKRlUwOVZVa05GUjFKUFZWQkVSVXhGVkVsUFRrcFBRaTFUVVV3Nk1rUkNTem95UkVOTlJFeEZWRG95UkZSRlUxUTZNa1JTUjFCVE1qVXdNaTFYUlZOVVEwVk9WRkpCVEZWVElpd2lhbTlpVEc5allYUnBiMjRpT2lKM1pYTjBZMlZ1ZEhKaGJIVnpJbjA/YXBpLXZlcnNpb249MjAxNi0wOS0wMQ==", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.6.29518.01", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.19042.", + "Microsoft.Azure.Management.Internal.Resources.ResourceManagementClient/1.3.30" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "Location": [ + "https://management.azure.com/subscriptions/051ddeca-1ed6-4d8b-ba6f-1ff561e5f3b3/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1TUUw6MkRCSzoyRENNRExFVDoyRFRFU1Q6MkRSR1BTMjUwMi1XRVNUQ0VOVFJBTFVTIiwiam9iTG9jYXRpb24iOiJ3ZXN0Y2VudHJhbHVzIn0?api-version=2016-09-01" + ], + "Retry-After": [ + "15" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11955" + ], + "x-ms-request-id": [ + "a7d81719-3170-42b3-90a1-d23507b2294b" + ], + "x-ms-correlation-request-id": [ + "a7d81719-3170-42b3-90a1-d23507b2294b" + ], + "x-ms-routing-request-id": [ + "JAPANEAST:20210126T090303Z:a7d81719-3170-42b3-90a1-d23507b2294b" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Tue, 26 Jan 2021 09:03:02 GMT" + ], + "Expires": [ + "-1" + ], + "Content-Length": [ + "0" + ] + }, + "ResponseBody": "", + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/051ddeca-1ed6-4d8b-ba6f-1ff561e5f3b3/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1TUUw6MkRCSzoyRENNRExFVDoyRFRFU1Q6MkRSR1BTMjUwMi1XRVNUQ0VOVFJBTFVTIiwiam9iTG9jYXRpb24iOiJ3ZXN0Y2VudHJhbHVzIn0?api-version=2016-09-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMDUxZGRlY2EtMWVkNi00ZDhiLWJhNmYtMWZmNTYxZTVmM2IzL29wZXJhdGlvbnJlc3VsdHMvZXlKcWIySkpaQ0k2SWxKRlUwOVZVa05GUjFKUFZWQkVSVXhGVkVsUFRrcFBRaTFUVVV3Nk1rUkNTem95UkVOTlJFeEZWRG95UkZSRlUxUTZNa1JTUjFCVE1qVXdNaTFYUlZOVVEwVk9WRkpCVEZWVElpd2lhbTlpVEc5allYUnBiMjRpT2lKM1pYTjBZMlZ1ZEhKaGJIVnpJbjA/YXBpLXZlcnNpb249MjAxNi0wOS0wMQ==", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.6.29518.01", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.19042.", + "Microsoft.Azure.Management.Internal.Resources.ResourceManagementClient/1.3.30" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "Location": [ + "https://management.azure.com/subscriptions/051ddeca-1ed6-4d8b-ba6f-1ff561e5f3b3/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1TUUw6MkRCSzoyRENNRExFVDoyRFRFU1Q6MkRSR1BTMjUwMi1XRVNUQ0VOVFJBTFVTIiwiam9iTG9jYXRpb24iOiJ3ZXN0Y2VudHJhbHVzIn0?api-version=2016-09-01" + ], + "Retry-After": [ + "15" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11954" + ], + "x-ms-request-id": [ + "9394341c-c3d4-4014-993a-a004121acb23" + ], + "x-ms-correlation-request-id": [ + "9394341c-c3d4-4014-993a-a004121acb23" + ], + "x-ms-routing-request-id": [ + "JAPANEAST:20210126T090318Z:9394341c-c3d4-4014-993a-a004121acb23" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Tue, 26 Jan 2021 09:03:17 GMT" + ], + "Expires": [ + "-1" + ], + "Content-Length": [ + "0" + ] + }, + "ResponseBody": "", + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/051ddeca-1ed6-4d8b-ba6f-1ff561e5f3b3/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1TUUw6MkRCSzoyRENNRExFVDoyRFRFU1Q6MkRSR1BTMjUwMi1XRVNUQ0VOVFJBTFVTIiwiam9iTG9jYXRpb24iOiJ3ZXN0Y2VudHJhbHVzIn0?api-version=2016-09-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMDUxZGRlY2EtMWVkNi00ZDhiLWJhNmYtMWZmNTYxZTVmM2IzL29wZXJhdGlvbnJlc3VsdHMvZXlKcWIySkpaQ0k2SWxKRlUwOVZVa05GUjFKUFZWQkVSVXhGVkVsUFRrcFBRaTFUVVV3Nk1rUkNTem95UkVOTlJFeEZWRG95UkZSRlUxUTZNa1JTUjFCVE1qVXdNaTFYUlZOVVEwVk9WRkpCVEZWVElpd2lhbTlpVEc5allYUnBiMjRpT2lKM1pYTjBZMlZ1ZEhKaGJIVnpJbjA/YXBpLXZlcnNpb249MjAxNi0wOS0wMQ==", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.6.29518.01", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.19042.", + "Microsoft.Azure.Management.Internal.Resources.ResourceManagementClient/1.3.30" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11952" + ], + "x-ms-request-id": [ + "101645ac-1196-4ab6-a351-51ff6adc0045" + ], + "x-ms-correlation-request-id": [ + "101645ac-1196-4ab6-a351-51ff6adc0045" + ], + "x-ms-routing-request-id": [ + "JAPANEAST:20210126T090333Z:101645ac-1196-4ab6-a351-51ff6adc0045" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Tue, 26 Jan 2021 09:03:33 GMT" + ], + "Expires": [ + "-1" + ], + "Content-Length": [ + "0" + ] + }, + "ResponseBody": "", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/051ddeca-1ed6-4d8b-ba6f-1ff561e5f3b3/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1TUUw6MkRCSzoyRENNRExFVDoyRFRFU1Q6MkRSR1BTMjUwMi1XRVNUQ0VOVFJBTFVTIiwiam9iTG9jYXRpb24iOiJ3ZXN0Y2VudHJhbHVzIn0?api-version=2016-09-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMDUxZGRlY2EtMWVkNi00ZDhiLWJhNmYtMWZmNTYxZTVmM2IzL29wZXJhdGlvbnJlc3VsdHMvZXlKcWIySkpaQ0k2SWxKRlUwOVZVa05GUjFKUFZWQkVSVXhGVkVsUFRrcFBRaTFUVVV3Nk1rUkNTem95UkVOTlJFeEZWRG95UkZSRlUxUTZNa1JTUjFCVE1qVXdNaTFYUlZOVVEwVk9WRkpCVEZWVElpd2lhbTlpVEc5allYUnBiMjRpT2lKM1pYTjBZMlZ1ZEhKaGJIVnpJbjA/YXBpLXZlcnNpb249MjAxNi0wOS0wMQ==", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.6.29518.01", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.19042.", + "Microsoft.Azure.Management.Internal.Resources.ResourceManagementClient/1.3.30" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11951" + ], + "x-ms-request-id": [ + "0328e066-8336-41d8-b0c0-686125588fee" + ], + "x-ms-correlation-request-id": [ + "0328e066-8336-41d8-b0c0-686125588fee" + ], + "x-ms-routing-request-id": [ + "JAPANEAST:20210126T090334Z:0328e066-8336-41d8-b0c0-686125588fee" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Tue, 26 Jan 2021 09:03:34 GMT" + ], + "Expires": [ + "-1" + ], + "Content-Length": [ + "0" + ] + }, + "ResponseBody": "", + "StatusCode": 200 + } + ], + "Names": {}, + "Variables": { + "SubscriptionId": "051ddeca-1ed6-4d8b-ba6f-1ff561e5f3b3" + } +} \ No newline at end of file diff --git a/src/Synapse/Synapse/Models/PSRecoverableSqlPool.cs b/src/Synapse/Synapse/Models/PSRecoverableSqlPool.cs index e9ec321de7f8..d23931f59adc 100644 --- a/src/Synapse/Synapse/Models/PSRecoverableSqlPool.cs +++ b/src/Synapse/Synapse/Models/PSRecoverableSqlPool.cs @@ -17,15 +17,17 @@ public PSRecoverableSqlPool(RecoverableSqlPool recoverableSqlPool) } public string Edition { get; set; } + // // Summary: // Gets the service level objective name of the database - public string ServiceLevelObjective { get; set; } + // // Summary: // Gets the elastic pool name of the database public string ElasticPoolName { get; set; } + // // Summary: // Gets the last available backup date of the database (ISO8601 format) diff --git a/src/Synapse/Synapse/Models/PSRestorableDroppedSqlPool.cs b/src/Synapse/Synapse/Models/PSRestorableDroppedSqlPool.cs index d1c87c0cd952..31793019c879 100644 --- a/src/Synapse/Synapse/Models/PSRestorableDroppedSqlPool.cs +++ b/src/Synapse/Synapse/Models/PSRestorableDroppedSqlPool.cs @@ -44,13 +44,11 @@ public PSRestorableDroppedSqlPool(RestorableDroppedSqlPool restorableDroppedSqlP // // Summary: // Gets the service level objective name of the database - public string ServiceLevelObjective { get; } // // Summary: // Gets the elastic pool name of the database - public string ElasticPoolName { get; } // diff --git a/src/Synapse/Synapse/Models/SynapseAnalyticsManagementClient.cs b/src/Synapse/Synapse/Models/SynapseAnalyticsManagementClient.cs index 3a0242ec64d1..16c9ffbb3866 100644 --- a/src/Synapse/Synapse/Models/SynapseAnalyticsManagementClient.cs +++ b/src/Synapse/Synapse/Models/SynapseAnalyticsManagementClient.cs @@ -1934,8 +1934,8 @@ public List ListDroppedSqlPoolBackups (string resource { try { - var restorableDroppedSqlPoolList = this._synapseManagementClient.RestorableDroppedSqlPools.ListByWorkspace(resourceGroupName, workspaceName); - return new List(restorableDroppedSqlPoolList); + var restorableDroppedSqlPoolList = this._synapseManagementClient.RestorableDroppedSqlPools.L .ListByWorkspace(resourceGroupName, workspaceName); + return restorableDroppedSqlPoolList.ToList(); } catch (ErrorContractException ex) { diff --git a/src/Synapse/Synapse/help/Az.Synapse.md b/src/Synapse/Synapse/help/Az.Synapse.md index 19eff95a2b50..85ea087e898f 100644 --- a/src/Synapse/Synapse/help/Az.Synapse.md +++ b/src/Synapse/Synapse/help/Az.Synapse.md @@ -42,7 +42,7 @@ Gets information about data flows in workspace. Gets information about datasets in workspace. ### [Get-AzSynapseDroppedSqlPool](Get-AzSynapseDroppedSqlPool.md) -This feature is in a limited preview, initially accessible only to certain subscriptions. Gets Synapse Sql dropped Sql Pool Backup. +Gets Synapse Sql dropped Sql Pool Backup. ### [Get-AzSynapseFirewallRule](Get-AzSynapseFirewallRule.md) Gets a Synapse Analytics Firewall Rule. @@ -114,7 +114,7 @@ Gets the advanced threat protection settings for a SQL pool. Gets the auditing settings of an Azure Synapse Analytics SQL pool. ### [Get-AzSynapseSqlPoolGeoBackup](Get-AzSynapseSqlPoolGeoBackup.md) -This feature is in a limited preview, initially accessible only to certain subscriptions. Gets Synapse Sql Pool Geo Backup. +Gets Synapse Sql Pool Geo Backup. ### [Get-AzSynapseSqlPoolRestorePoint](Get-AzSynapseSqlPoolRestorePoint.md) Retrieves the distinct restore points from which a Synapse Analytics SQL pool can be restored. From ad7d50a1397157f4d1e8ca3b01312daa32825fd6 Mon Sep 17 00:00:00 2001 From: Zeshi Luo Date: Mon, 1 Feb 2021 14:30:00 +0800 Subject: [PATCH 16/19] add wildcard --- .../SqlPool Backup/GetAzureSynapseSqlPoolGeoBackup.cs | 2 +- src/Synapse/Synapse/Models/SynapseAnalyticsManagementClient.cs | 2 +- src/Synapse/Synapse/help/Get-AzSynapseSqlPoolGeoBackup.md | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/Synapse/Synapse/Commands/ManagementCommands/SqlPool Backup/GetAzureSynapseSqlPoolGeoBackup.cs b/src/Synapse/Synapse/Commands/ManagementCommands/SqlPool Backup/GetAzureSynapseSqlPoolGeoBackup.cs index 36b9488ca8ec..86baa8bccfcd 100644 --- a/src/Synapse/Synapse/Commands/ManagementCommands/SqlPool Backup/GetAzureSynapseSqlPoolGeoBackup.cs +++ b/src/Synapse/Synapse/Commands/ManagementCommands/SqlPool Backup/GetAzureSynapseSqlPoolGeoBackup.cs @@ -40,7 +40,7 @@ public override void ExecuteCmdlet() else { var results = this.SynapseAnalyticsClient.ListRecoverableSqlPool(this.ResourceGroupName, this.WorkspaceName); - WriteObject(results, true); + WriteObject(SubResourceWildcardFilter(Name, results), true); } } } diff --git a/src/Synapse/Synapse/Models/SynapseAnalyticsManagementClient.cs b/src/Synapse/Synapse/Models/SynapseAnalyticsManagementClient.cs index 16c9ffbb3866..85c751e3ff39 100644 --- a/src/Synapse/Synapse/Models/SynapseAnalyticsManagementClient.cs +++ b/src/Synapse/Synapse/Models/SynapseAnalyticsManagementClient.cs @@ -1934,7 +1934,7 @@ public List ListDroppedSqlPoolBackups (string resource { try { - var restorableDroppedSqlPoolList = this._synapseManagementClient.RestorableDroppedSqlPools.L .ListByWorkspace(resourceGroupName, workspaceName); + var restorableDroppedSqlPoolList = this._synapseManagementClient.RestorableDroppedSqlPools.ListByWorkspace(resourceGroupName, workspaceName); return restorableDroppedSqlPoolList.ToList(); } catch (ErrorContractException ex) diff --git a/src/Synapse/Synapse/help/Get-AzSynapseSqlPoolGeoBackup.md b/src/Synapse/Synapse/help/Get-AzSynapseSqlPoolGeoBackup.md index 64f29035dc3a..5a3b4b491747 100644 --- a/src/Synapse/Synapse/help/Get-AzSynapseSqlPoolGeoBackup.md +++ b/src/Synapse/Synapse/help/Get-AzSynapseSqlPoolGeoBackup.md @@ -26,7 +26,7 @@ You can use Geo-Restore to restore a geo-redundant backup in the event of a regi ### Example 1: Get a specified geo-redundant backup ```powershell -PS C:\> Get-AzSynapseSqlPoolGeoBackup -ResourceGroupName ContosoResourceGroup -WorkspaceName ContosoWorkspace -Name "ContosoSqlPool" +PS C:\> Get-AzSynapseSqlPoolGeoBackup -ResourceGroupName ContosoResourceGroup -WorkspaceName "ContosoWorkspace" -Name "ContosoSqlPool" ``` The cmdlet retrieves Geo Backup for a sql pool. From 5cb915cec0abd83e5f93a8d9275680976aa5dd44 Mon Sep 17 00:00:00 2001 From: Zeshi Luo Date: Mon, 1 Feb 2021 15:54:34 +0800 Subject: [PATCH 17/19] rename help doc --- ...apseDroppedSqlPoolBackup.md => Get-AzSynapseDroppedSqlPool.md} | 0 1 file changed, 0 insertions(+), 0 deletions(-) rename src/Synapse/Synapse/help/{Get-AzSynapseDroppedSqlPoolBackup.md => Get-AzSynapseDroppedSqlPool.md} (100%) diff --git a/src/Synapse/Synapse/help/Get-AzSynapseDroppedSqlPoolBackup.md b/src/Synapse/Synapse/help/Get-AzSynapseDroppedSqlPool.md similarity index 100% rename from src/Synapse/Synapse/help/Get-AzSynapseDroppedSqlPoolBackup.md rename to src/Synapse/Synapse/help/Get-AzSynapseDroppedSqlPool.md From 209a477604ffb991613ff1768f7a0fe6e5de2a8c Mon Sep 17 00:00:00 2001 From: Zeshi Luo Date: Wed, 3 Feb 2021 21:19:58 +0800 Subject: [PATCH 18/19] add resourceid --- src/Synapse/Synapse/ChangeLog.md | 4 ++++ .../GetAzureSynapseDroppedSqlPoolBackup.cs | 21 +++++++++++++++++- .../GetAzureSynapseSqlPoolGeoBackup.cs | 17 ++++++++++++++ .../help/Get-AzSynapseDroppedSqlPool.md | 22 +++++++++++++++++++ .../help/Get-AzSynapseSqlPoolGeoBackup.md | 22 +++++++++++++++++++ 5 files changed, 85 insertions(+), 1 deletion(-) diff --git a/src/Synapse/Synapse/ChangeLog.md b/src/Synapse/Synapse/ChangeLog.md index 51ab171350fe..31283ee8120b 100644 --- a/src/Synapse/Synapse/ChangeLog.md +++ b/src/Synapse/Synapse/ChangeLog.md @@ -19,6 +19,10 @@ --> ## Upcoming Release * Simplify `Restore-AzSynapseSqlPool` cmdlet to make it consistent with the existing SQL DW cmdlet +## Version 0.7.0 +* Added support for operation of getting droppedsqlpool and geobackup + - Add `Get-AzSynapseDroppedSqlPool` cmdlet + - Add `Get-AzSynapseSqlPoolGeoBackup` cmdlet ## Version 0.6.0 * Added support for operation of Advanced Threat Protection settings in SqlPool-level diff --git a/src/Synapse/Synapse/Commands/ManagementCommands/SqlPool Backup/GetAzureSynapseDroppedSqlPoolBackup.cs b/src/Synapse/Synapse/Commands/ManagementCommands/SqlPool Backup/GetAzureSynapseDroppedSqlPoolBackup.cs index bac45e633e24..3eccf6218905 100644 --- a/src/Synapse/Synapse/Commands/ManagementCommands/SqlPool Backup/GetAzureSynapseDroppedSqlPoolBackup.cs +++ b/src/Synapse/Synapse/Commands/ManagementCommands/SqlPool Backup/GetAzureSynapseDroppedSqlPoolBackup.cs @@ -1,8 +1,9 @@ using Microsoft.Azure.Commands.ResourceManager.Common.ArgumentCompleters; using Microsoft.Azure.Commands.Synapse.Common; using Microsoft.Azure.Commands.Synapse.Models; +using Microsoft.Azure.Management.Internal.Resources.Utilities.Models; +using Microsoft.WindowsAzure.Commands.Utilities.Common; using System; -using System.Collections.Generic; using System.Linq; using System.Management.Automation; @@ -14,6 +15,7 @@ namespace Microsoft.Azure.Commands.Synapse public class GetAzureSynapseDroppedSqlPool : SynapseManagementCmdletBase { private const string GetByNameParameterSet = "GetByNameParameterSet"; + private const string GetByResourceIdParameterSet = "GetByResourceIdParameterSet"; [Parameter(Mandatory = true, ParameterSetName = GetByNameParameterSet, HelpMessage = HelpMessages.ResourceGroupName)] [ResourceGroupCompleter] @@ -39,8 +41,25 @@ public class GetAzureSynapseDroppedSqlPool : SynapseManagementCmdletBase [ValidateNotNullOrEmpty] public DateTime? DeletionDate { get; set; } + [Parameter(ValueFromPipelineByPropertyName = true, ParameterSetName = GetByResourceIdParameterSet, + Mandatory = false, HelpMessage = HelpMessages.SqlPoolResourceId)] + [ValidateNotNullOrEmpty] + public string ResourceId { get; set; } + public override void ExecuteCmdlet() { + if (this.IsParameterBound(c => c.ResourceId)) + { + var resourceIdentifier = new ResourceIdentifier(this.ResourceId); + this.ResourceGroupName = resourceIdentifier.ResourceGroupName; + this.WorkspaceName = resourceIdentifier.ParentResource; + this.WorkspaceName = this.WorkspaceName.Substring(this.WorkspaceName.LastIndexOf('/') + 1); + this.Name = resourceIdentifier.ResourceName; + var result = this.SynapseAnalyticsClient.GetDroppedSqlPoolBackup(this.ResourceGroupName, this.WorkspaceName, this.Name); + WriteObject(result); + return; + } + if (MyInvocation.BoundParameters.ContainsKey("Name")) { if (MyInvocation.BoundParameters.ContainsKey("DeletionDate")) diff --git a/src/Synapse/Synapse/Commands/ManagementCommands/SqlPool Backup/GetAzureSynapseSqlPoolGeoBackup.cs b/src/Synapse/Synapse/Commands/ManagementCommands/SqlPool Backup/GetAzureSynapseSqlPoolGeoBackup.cs index 86baa8bccfcd..6e62ea976b15 100644 --- a/src/Synapse/Synapse/Commands/ManagementCommands/SqlPool Backup/GetAzureSynapseSqlPoolGeoBackup.cs +++ b/src/Synapse/Synapse/Commands/ManagementCommands/SqlPool Backup/GetAzureSynapseSqlPoolGeoBackup.cs @@ -1,6 +1,8 @@ using Microsoft.Azure.Commands.ResourceManager.Common.ArgumentCompleters; using Microsoft.Azure.Commands.Synapse.Common; using Microsoft.Azure.Commands.Synapse.Models; +using Microsoft.Azure.Management.Internal.Resources.Utilities.Models; +using Microsoft.WindowsAzure.Commands.Utilities.Common; using System.Management.Automation; namespace Microsoft.Azure.Commands.Synapse @@ -11,6 +13,7 @@ namespace Microsoft.Azure.Commands.Synapse public class GetAzureSynapseSqlPoolGeoBackup : SynapseManagementCmdletBase { private const string GetByNameParameterSet = "GetByNameParameterSet"; + private const string GetByResourceIdParameterSet = "GetByResourceIdParameterSet"; [Parameter(Mandatory = true, ParameterSetName = GetByNameParameterSet, HelpMessage = HelpMessages.ResourceGroupName)] [ResourceGroupCompleter] @@ -30,8 +33,22 @@ public class GetAzureSynapseSqlPoolGeoBackup : SynapseManagementCmdletBase [ValidateNotNullOrEmpty] public string Name { get; set; } + [Parameter(ValueFromPipelineByPropertyName = true, ParameterSetName = GetByResourceIdParameterSet, + Mandatory = false, HelpMessage = HelpMessages.SqlPoolResourceId)] + [ValidateNotNullOrEmpty] + public string ResourceId { get; set; } + public override void ExecuteCmdlet() { + if (this.IsParameterBound(c => c.ResourceId)) + { + var resourceIdentifier = new ResourceIdentifier(this.ResourceId); + this.ResourceGroupName = resourceIdentifier.ResourceGroupName; + this.WorkspaceName = resourceIdentifier.ParentResource; + this.WorkspaceName = this.WorkspaceName.Substring(this.WorkspaceName.LastIndexOf('/') + 1); + this.Name = resourceIdentifier.ResourceName; + } + if (MyInvocation.BoundParameters.ContainsKey("Name") && !WildcardPattern.ContainsWildcardCharacters(Name)) { var result = this.SynapseAnalyticsClient.GetRecoverableSqlPool(ResourceGroupName, WorkspaceName, Name); diff --git a/src/Synapse/Synapse/help/Get-AzSynapseDroppedSqlPool.md b/src/Synapse/Synapse/help/Get-AzSynapseDroppedSqlPool.md index c9262ad2f558..f04879b5fbdf 100644 --- a/src/Synapse/Synapse/help/Get-AzSynapseDroppedSqlPool.md +++ b/src/Synapse/Synapse/help/Get-AzSynapseDroppedSqlPool.md @@ -17,6 +17,13 @@ Gets a dropped Sql pool backup of a Synapse Sql Pool. Get-AzSynapseDroppedSqlPool [-ResourceGroupName ] -WorkspaceName -Name [-DefaultProfile ] [] ``` + +### DroppedSqlPoolResourceId +``` +Get-AzSynapseDroppedSqlPool [-ResourceId] [-DefaultProfile ] + [] +``` + ## DESCRIPTION The **Get-AzSynapseDroppedSqlPool** cmdlet gets a specified deleted SQL pool backup that you can restore, or all deleted backups that you can restore in a workspace. @@ -67,6 +74,21 @@ Accept pipeline input: False Accept wildcard characters: False ``` +### -ResourceId +Input a Dropped Sql Pool Resource Id. + +```yaml +Type: System.String +Parameter Sets: DroppedSqlPoolResourceId +Aliases: + +Required: True +Position: 0 +Default value: None +Accept pipeline input: True (ByPropertyName) +Accept wildcard characters: False +``` + ### -ResourceGroupName Resource group name. diff --git a/src/Synapse/Synapse/help/Get-AzSynapseSqlPoolGeoBackup.md b/src/Synapse/Synapse/help/Get-AzSynapseSqlPoolGeoBackup.md index 5a3b4b491747..f009de25a0ae 100644 --- a/src/Synapse/Synapse/help/Get-AzSynapseSqlPoolGeoBackup.md +++ b/src/Synapse/Synapse/help/Get-AzSynapseSqlPoolGeoBackup.md @@ -17,6 +17,13 @@ Gets a geo-redundant backup of a Sql Pool. Get-AzSynapseSqlPoolGeoBackup [-ResourceGroupName ] -WorkspaceName -Name [-DefaultProfile ] [] ``` + +### SqlPoolGeoBackupResourceId +``` +Get-AzSynapseSqlPoolGeoBackup [-ResourceId] [-DefaultProfile ] + [] +``` + ## DESCRIPTION The **Get-AzSynapseSqlPoolGeoBackup** cmdlet gets a specified geo-redundant backup of a SQL Pool or all available geo-redundant backups on a specified workspace. A geo-redundant backup is a restorable resource using data files from a separate geographic location. @@ -74,6 +81,21 @@ Accept pipeline input: False Accept wildcard characters: False ``` +### -ResourceId +Input a Sql Pool Geo Backup Resource Id. + +```yaml +Type: System.String +Parameter Sets: SqlPoolGeoBackupResourceId +Aliases: + +Required: True +Position: 0 +Default value: None +Accept pipeline input: True (ByPropertyName) +Accept wildcard characters: False +``` + ### -ResourceGroupName Resource group name. From b98c313ed8ca87bf90ec61f13a1ba4078391fe9e Mon Sep 17 00:00:00 2001 From: Jin Lei <54836179+msJinLei@users.noreply.github.com> Date: Thu, 4 Feb 2021 10:07:22 +0800 Subject: [PATCH 19/19] Update ChangeLog.md --- src/Synapse/Synapse/ChangeLog.md | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/src/Synapse/Synapse/ChangeLog.md b/src/Synapse/Synapse/ChangeLog.md index f78fcd80de95..4ea3b6e0f825 100644 --- a/src/Synapse/Synapse/ChangeLog.md +++ b/src/Synapse/Synapse/ChangeLog.md @@ -18,14 +18,13 @@ - Additional information about change #1 --> ## Upcoming Release - -## Version 0.7.0 -* Simplify `Restore-AzSynapseSqlPool` cmdlet to make it consistent with the existing SQL DW cmdlet -## Version 0.7.0 * Added support for operation of getting droppedsqlpool and geobackup - Add `Get-AzSynapseDroppedSqlPool` cmdlet - Add `Get-AzSynapseSqlPoolGeoBackup` cmdlet +## Version 0.7.0 +* Simplify `Restore-AzSynapseSqlPool` cmdlet to make it consistent with the existing SQL DW cmdlet + ## Version 0.6.0 * Added support for operation of Advanced Threat Protection settings in SqlPool-level - Add `Update-AzSynapseSqlPoolAdvancedThreatProtectionSetting` cmdlet