diff --git a/src/Attestation/Attestation.Test/Attestation.Test.csproj b/src/Attestation/Attestation.Test/Attestation.Test.csproj
index 46af6ed9ce12..064bfb284698 100644
--- a/src/Attestation/Attestation.Test/Attestation.Test.csproj
+++ b/src/Attestation/Attestation.Test/Attestation.Test.csproj
@@ -11,6 +11,7 @@
+
diff --git a/src/Attestation/Attestation.Test/ScenarioTests/AttestationController.cs b/src/Attestation/Attestation.Test/ScenarioTests/AttestationController.cs
index 09cacf71f88b..21bd6571dbbf 100644
--- a/src/Attestation/Attestation.Test/ScenarioTests/AttestationController.cs
+++ b/src/Attestation/Attestation.Test/ScenarioTests/AttestationController.cs
@@ -11,7 +11,7 @@
// See the License for the specific language governing permissions and
// limitations under the License.
// ----------------------------------------------------------------------------------
-
+using Microsoft.Azure.Attestation;
using Microsoft.Azure.Commands.Common.Authentication;
using Microsoft.Azure.Management.Attestation;
using Microsoft.Azure.ServiceManagement.Common.Models;
@@ -23,6 +23,7 @@
using System.IO;
using System.Linq;
using Microsoft.Azure.Management.Internal.Resources;
+using Microsoft.IdentityModel.Clients.ActiveDirectory;
using Microsoft.Rest.ClientRuntime.Azure.TestFramework;
namespace Microsoft.Azure.Commands.Attestation.Test
@@ -31,11 +32,6 @@ class AttestationController
{
private readonly EnvironmentSetupHelper _helper;
-
- public ResourceManagementClient ResourceClient { get; private set; }
-
- public AttestationManagementClient AttestationManagementClient { get; private set; }
-
public static AttestationController NewInstance => new AttestationController();
public AttestationController()
@@ -43,7 +39,6 @@ public AttestationController()
_helper = new EnvironmentSetupHelper();
}
-
public void RunPowerShellTest(XunitTracingInterceptor logger, params string[] scripts)
{
var sf = new StackTrace().GetFrame(1);
@@ -58,14 +53,37 @@ public void RunPowerShellTest(XunitTracingInterceptor logger, params string[] sc
// no custom cleanup
null,
callingClassType,
- mockName);
+ mockName,
+ true,
+ false);
+ }
+
+ public void RunDataPowerShellTest(XunitTracingInterceptor logger, params string[] scripts)
+ {
+ var sf = new StackTrace().GetFrame(1);
+ var callingClassType = sf.GetMethod().ReflectedType?.ToString();
+ var mockName = sf.GetMethod().Name;
+
+ logger.Information(string.Format("Test method entered: {0}.{1}", callingClassType, mockName));
+ _helper.TracingInterceptor = logger;
+
+ RunPowerShellTestWorkflow(
+ () => scripts,
+ // no custom cleanup
+ null,
+ callingClassType,
+ mockName,
+ false,
+ true);
}
public void RunPowerShellTestWorkflow(
Func scriptBuilder,
Action cleanup,
string callingClassType,
- string mockName)
+ string mockName,
+ bool setupManagementClients,
+ bool setupDataClient)
{
var providers = new Dictionary
{
@@ -82,8 +100,17 @@ public void RunPowerShellTestWorkflow(
HttpMockServer.RecordsDirectory = Path.Combine(AppDomain.CurrentDomain.BaseDirectory, "SessionRecords");
using (var context = MockContext.Start(callingClassType, mockName))
{
- SetupManagementClients(context);
- _helper.SetupEnvironment(AzureModule.AzureResourceManager);
+ if (setupManagementClients)
+ {
+ SetupManagementClients(context);
+ _helper.SetupEnvironment(AzureModule.AzureResourceManager);
+ }
+
+ if (setupDataClient)
+ {
+ SetupDataClient(context);
+ }
+
var callingClassName =
callingClassType.Split(new[] {"."}, StringSplitOptions.RemoveEmptyEntries).Last();
_helper.SetupModules(AzureModule.AzureResourceManager,
@@ -109,9 +136,19 @@ public void RunPowerShellTestWorkflow(
}
private void SetupManagementClients(MockContext context)
{
- ResourceClient = GetResourceManagementClient(context);
- AttestationManagementClient = GetAttestationManagementClient(context);
- _helper.SetupManagementClients(ResourceClient, AttestationManagementClient);
+ _helper.SetupManagementClients(
+ GetResourceManagementClient(context),
+ GetAttestationManagementClient(context)
+ );
+ }
+
+ private void SetupDataClient(MockContext context)
+ {
+ _helper.SetupManagementClients(
+ GetResourceManagementClient(context),
+ GetAttestationManagementClient(context),
+ GetAttestationClient(context)
+ );
}
private static ResourceManagementClient GetResourceManagementClient(MockContext context)
@@ -123,5 +160,28 @@ private static AttestationManagementClient GetAttestationManagementClient(MockCo
{
return context.GetServiceClient(TestEnvironmentFactory.GetTestEnvironment());
}
+
+ private static AttestationClient GetAttestationClient(MockContext context)
+ {
+ string environmentConnectionString = Environment.GetEnvironmentVariable("TEST_CSM_ORGID_AUTHENTICATION");
+ string accessToken = "fakefakefake";
+
+ // When recording, we should have a connection string passed into the code from the environment
+ if (!string.IsNullOrEmpty(environmentConnectionString))
+ {
+ // Gather test client credential information from the environment
+ var connectionInfo = new ConnectionString(Environment.GetEnvironmentVariable("TEST_CSM_ORGID_AUTHENTICATION"));
+ string servicePrincipal = connectionInfo.GetValue(ConnectionStringKeys.ServicePrincipalKey);
+ string servicePrincipalSecret = connectionInfo.GetValue(ConnectionStringKeys.ServicePrincipalSecretKey);
+ string aadTenant = connectionInfo.GetValue(ConnectionStringKeys.AADTenantKey);
+
+ // Create credentials
+ var clientCredentials = new ClientCredential(servicePrincipal, servicePrincipalSecret);
+ var authContext = new AuthenticationContext($"https://login.windows.net/{aadTenant}", TokenCache.DefaultShared);
+ accessToken = authContext.AcquireTokenAsync("https://attest.azure.net", clientCredentials).Result.AccessToken;
+ }
+
+ return new AttestationClient(new AttestationCredentials(accessToken), HttpMockServer.CreateInstance());
+ }
}
}
diff --git a/src/Attestation/Attestation.Test/ScenarioTests/AttstationPolicyTests.cs b/src/Attestation/Attestation.Test/ScenarioTests/AttstationPolicyTests.cs
new file mode 100644
index 000000000000..df0a03aa1ef5
--- /dev/null
+++ b/src/Attestation/Attestation.Test/ScenarioTests/AttstationPolicyTests.cs
@@ -0,0 +1,72 @@
+// ----------------------------------------------------------------------------------
+//
+// Copyright Microsoft Corporation
+// Licensed under the Apache License, Version 2.0 (the "License");
+// you may not use this file except in compliance with the License.
+// You may obtain a copy of the License at
+// http://www.apache.org/licenses/LICENSE-2.0
+// Unless required by applicable law or agreed to in writing, software
+// distributed under the License is distributed on an "AS IS" BASIS,
+// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+// See the License for the specific language governing permissions and
+// limitations under the License.
+// ----------------------------------------------------------------------------------
+
+using Microsoft.Azure.Commands.ScenarioTest;
+using Microsoft.Azure.ServiceManagement.Common.Models;
+using Microsoft.WindowsAzure.Commands.ScenarioTest;
+using Microsoft.WindowsAzure.Commands.Test.Utilities.Common;
+using Xunit;
+
+namespace Microsoft.Azure.Commands.Attestation.Test.ScenarioTests
+{
+ public class AttstationPolicyTests : RMTestBase
+ {
+ public XunitTracingInterceptor _logger;
+
+ public AttstationPolicyTests(Xunit.Abstractions.ITestOutputHelper output)
+ {
+ _logger = new XunitTracingInterceptor(output);
+ XunitTracingInterceptor.AddToContext(_logger);
+ TestExecutionHelpers.SetUpSessionAndProfile();
+ }
+
+ [Fact]
+ [Trait(Category.AcceptanceType, Category.CheckIn)]
+ public void TestGetAttestationPolicy()
+ {
+ AttestationController.NewInstance.RunDataPowerShellTest(_logger, "Test-GetAttestationPolicy");
+ }
+
+ [Fact]
+ [Trait(Category.AcceptanceType, Category.CheckIn)]
+ public void TestResetAttestationPolicy()
+ {
+ AttestationController.NewInstance.RunDataPowerShellTest(_logger, "Test-ResetAttestationPolicy");
+ }
+
+ ///
+ /// This test is categorized as LiveOnly since the Set-AzAttestationPolicy cmdlet retrieves and validates
+ /// a signed JWT token from the service. A playback of a recording will result in failure, since the
+ /// recorded JWT will have expired since the recording was generated.
+ ///
+ /// On a related note, if one does try to create a recording of this test case, currently there's a
+ /// conflict for the following two libraries used by the authentication code in this DLL
+ /// (Microsoft.Azure.PowerShell.Cmdlets.Attestation.Test.dll) and the DLL used to implement the
+ /// PowerShell cmdlets (Microsoft.Azure.PowerShell.Cmdlets.Attestation.dll). This DLL requires
+ /// version 5.1.2 (indirectly through Microsoft.Rest.ClientRuntime.Azure.TestFramework) and the cmdlet
+ /// DLL requires version 5.6.0 (indirectly through Microsoft.IdentityModel.JsonWebTokens.
+ /// * Microsoft.IdentityModel.Tokens.dll
+ /// * Microsoft.IdentityModel.Logging.dll
+ ///
+ /// A work-around to record tests is to copy the 5.6.0 versions of the DLL's into the bin directory
+ /// holding the Microsoft.Azure.PowerShell.Cmdlets.Attestation.Test.dll.
+ ///
+ [Fact]
+ [Trait(Category.AcceptanceType, Category.LiveOnly)]
+ public void TestSetAttestationPolicy()
+ {
+ AttestationController.NewInstance.RunDataPowerShellTest(_logger, "Test-SetAttestationPolicy");
+ }
+ }
+}
diff --git a/src/Attestation/Attestation.Test/ScenarioTests/AttstationPolicyTests.ps1 b/src/Attestation/Attestation.Test/ScenarioTests/AttstationPolicyTests.ps1
new file mode 100644
index 000000000000..d22b10da61e5
--- /dev/null
+++ b/src/Attestation/Attestation.Test/ScenarioTests/AttstationPolicyTests.ps1
@@ -0,0 +1,122 @@
+# ----------------------------------------------------------------------------------
+#
+# Copyright Microsoft Corporation
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+# http://www.apache.org/licenses/LICENSE-2.0
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+# ----------------------------------------------------------------------------------
+
+<#
+.SYNOPSIS
+Test Get-AzAttestationPolicy
+#>
+#------------------------------Get-AzAttestationPolicy-----------------------------------
+function Test-GetAttestationPolicy
+{
+ $unknownRGName = getAssetName
+ $attestationProviderName = getAssetName
+ $policyTemplateName = "SgxDisableDebugMode"
+ $teeType = "SgxEnclave"
+
+ try
+ {
+ $rgName = Create-ResourceGroup
+ $attestationCreated = New-AzAttestation -Name $attestationProviderName -ResourceGroupName $rgName.ResourceGroupName -AttestationPolicy $policyTemplateName
+
+ Assert-NotNull attestationCreated
+ Assert-AreEqual $attestationProviderName $attestationCreated.Name
+ Assert-NotNull attestationCreated.AttesUri
+ Assert-NotNull attestationCreated.Id
+ Assert-NotNull attestationCreated.Status
+
+ $getPolicy = Get-AzAttestationPolicy -Name $attestationProviderName -ResourceGroupName $rgName.ResourceGroupName -Tee $teeType
+ Assert-NotNull $getPolicy
+ }
+
+ finally
+ {
+ Clean-ResourceGroup $rgName.ResourceGroupName
+ }
+}
+
+<#
+.SYNOPSIS
+Test Reset-AzAttestationPolicy
+#>
+#------------------------------Reset-AzAttestationPolicy-----------------------------------
+function Test-ResetAttestationPolicy
+{
+ $unknownRGName = getAssetName
+ $attestationProviderName = getAssetName
+ $policyTemplateName = "SgxDisableDebugMode"
+ $teeType = "SgxEnclave"
+ try
+ {
+ $rgName = Create-ResourceGroup
+ $attestationCreated = New-AzAttestation -Name $attestationProviderName -ResourceGroupName $rgName.ResourceGroupName -AttestationPolicy $policyTemplateName
+
+ Assert-NotNull attestationCreated
+ Assert-AreEqual $attestationProviderName $attestationCreated.Name
+ Assert-NotNull attestationCreated.AttesUri
+ Assert-NotNull attestationCreated.Id
+ Assert-NotNull attestationCreated.Status
+
+ $getPolicy = Get-AzAttestationPolicy -Name $attestationProviderName -ResourceGroupName $rgName.ResourceGroupName -Tee $teeType
+ Assert-NotNull $getPolicy
+ $resetPolicyResponse = Reset-AzAttestationPolicy -Name $attestationProviderName -ResourceGroupName $rgName.ResourceGroupName -Tee $teeType -PassThru
+ Assert-AreEqual $resetPolicyResponse $true
+ }
+ finally
+ {
+ Clean-ResourceGroup $rgName.ResourceGroupName
+ }
+}
+
+<#
+.SYNOPSIS
+Test Set-AzAttestationPolicy
+#>
+#------------------------------Set-AzAttestationPolicy-----------------------------------
+# DO NOT RECORD/PLAYBACK THIS TEST, IT WILL FAIL DUE TO AN EXPIRING JWT TOKEN!
+#------------------------------Set-AzAttestationPolicy-----------------------------------
+function Test-SetAttestationPolicy
+{
+ $unknownRGName = getAssetName
+ $attestationProviderName = getAssetName
+ $policyTemplateName = "SgxDisableDebugMode"
+ $teeType = "SgxEnclave"
+ $policyDocument = "eyJhbGciOiJub25lIn0.eyJBdHRlc3RhdGlvblBvbGljeSI6ICJ7XHJcbiAgICBcIiR2ZXJzaW9uXCI6IDEsXHJcbiAgICBcIiRhbGxvdy1kZWJ1Z2dhYmxlXCIgOiB0cnVlLFxyXG4gICAgXCIkY2xhaW1zXCI6W1xyXG4gICAgICAgIFwiaXMtZGVidWdnYWJsZVwiICxcclxuICAgICAgICBcInNneC1tcnNpZ25lclwiLFxyXG4gICAgICAgIFwic2d4LW1yZW5jbGF2ZVwiLFxyXG4gICAgICAgIFwicHJvZHVjdC1pZFwiLFxyXG4gICAgICAgIFwic3ZuXCIsXHJcbiAgICAgICAgXCJ0ZWVcIixcclxuICAgICAgICBcIk5vdERlYnVnZ2FibGVcIlxyXG4gICAgXSxcclxuICAgIFwiTm90RGVidWdnYWJsZVwiOiB7XCJ5ZXNcIjp7XCIkaXMtZGVidWdnYWJsZVwiOnRydWUsIFwiJG1hbmRhdG9yeVwiOnRydWUsIFwiJHZpc2libGVcIjpmYWxzZX19LFxyXG4gICAgXCJpcy1kZWJ1Z2dhYmxlXCIgOiBcIiRpcy1kZWJ1Z2dhYmxlXCIsXHJcbiAgICBcInNneC1tcnNpZ25lclwiIDogXCIkc2d4LW1yc2lnbmVyXCIsXHJcbiAgICBcInNneC1tcmVuY2xhdmVcIiA6IFwiJHNneC1tcmVuY2xhdmVcIixcclxuICAgIFwicHJvZHVjdC1pZFwiIDogXCIkcHJvZHVjdC1pZFwiLFxyXG4gICAgXCJzdm5cIiA6IFwiJHN2blwiLFxyXG4gICAgXCJ0ZWVcIiA6IFwiJHRlZVwiXHJcbn0ifQ."
+
+ # Prevent this script from inadvertantly running in Record or Playback modes
+ if (((Get-ChildItem Env:\HttpRecorderMode).Value -eq "Playback") -or ((Get-ChildItem Env:\HttpRecorderMode).Value -eq "Record"))
+ {
+ return
+ }
+
+ try
+ {
+ $rgName = Create-ResourceGroup
+ $attestationCreated = New-AzAttestation -Name $attestationProviderName -ResourceGroupName $rgName.ResourceGroupName -AttestationPolicy $policyTemplateName
+
+ Assert-NotNull attestationCreated
+ Assert-AreEqual $attestationProviderName $attestationCreated.Name
+ Assert-NotNull attestationCreated.AttesUri
+ Assert-NotNull attestationCreated.Id
+ Assert-NotNull attestationCreated.Status
+
+ # NOTE: Set-AzAttestionPolicy does not work in recording/playback mode because the recorded JWT token expires and then fails validation
+ $setPolicyResponse = Set-AzAttestationPolicy -Name $attestationProviderName -ResourceGroupName $rgName.ResourceGroupName -Tee $teeType -Policy $policyDocument -PassThru
+ Assert-AreEqual $setPolicyResponse $true
+ }
+
+ finally
+ {
+ Clean-ResourceGroup $rgName.ResourceGroupName
+ }
+}
\ No newline at end of file
diff --git a/src/Attestation/Attestation.Test/ScenarioTests/AttstationTests.ps1 b/src/Attestation/Attestation.Test/ScenarioTests/AttstationTests.ps1
index 75738aebbbdb..4c68d03c63e5 100644
--- a/src/Attestation/Attestation.Test/ScenarioTests/AttstationTests.ps1
+++ b/src/Attestation/Attestation.Test/ScenarioTests/AttstationTests.ps1
@@ -21,24 +21,24 @@ function Test-CreateAttestation
{
$unknownRGName = getAssetName
$attestationName = getAssetName
- $attestationPolicy = "SgxDisableDebugMode"
+ $policyTemplateName = "SgxDisableDebugMode"
try
{
$rgName = Create-ResourceGroup
- $attestationCreated = New-AzAttestation -Name $attestationName -ResourceGroupName $rgName.ResourceGroupName -AttestationPolicy $attestationPolicy
-
+ $attestationCreated = New-AzAttestation -Name $attestationName -ResourceGroupName $rgName.ResourceGroupName -AttestationPolicy $policyTemplateName
+
Assert-NotNull attestationCreated
Assert-AreEqual $attestationName $attestationCreated.Name
Assert-NotNull attestationCreated.AttesUri
Assert-NotNull attestationCreated.Id
Assert-NotNull attestationCreated.Status
-
+
# Test throws for existing attestation
- Assert-Throws { New-AzAttestation -Name $attestationName -ResourceGroupName $rgName.ResourceGroupName -AttestationPolicy $attestationPolicy}
+ Assert-Throws { New-AzAttestation -Name $attestationName -ResourceGroupName $rgName.ResourceGroupName -AttestationPolicy $policyTemplateName}
# Test throws for resourcegroup nonexistent
- Assert-Throws { New-AzAttestation -Name $attestationName -ResourceGroupName $unknownRGName -AttestationPolicy $attestationPolicy}
+ Assert-Throws { New-AzAttestation -Name $attestationName -ResourceGroupName $unknownRGName -AttestationPolicy $policyTemplateName}
}
finally
@@ -59,18 +59,18 @@ function Test-CreateAttestationWithPolicySigningCertificate
{
$rgName = Create-ResourceGroup
$attestationCreated = New-AzAttestation -Name $attestationName -ResourceGroupName $rgName.ResourceGroupName -PolicySigningCertificateFile $file
-
+
Assert-NotNull attestationCreated
Assert-AreEqual $attestationName $attestationCreated.Name
Assert-NotNull attestationCreated.AttesUri
Assert-NotNull attestationCreated.Id
Assert-NotNull attestationCreated.Status
-
+
# Test throws for existing attestation
- Assert-Throws { New-AzAttestation -Name $attestationName -ResourceGroupName $rgName.ResourceGroupName -AttestationPolicy $attestationPolicy}
+ Assert-Throws { New-AzAttestation -Name $attestationName -ResourceGroupName $rgName.ResourceGroupName -AttestationPolicy $policyTemplateName}
# Test throws for resourcegroup nonexistent
- Assert-Throws { New-AzAttestation -Name $attestationName -ResourceGroupName $unknownRGName -AttestationPolicy $attestationPolicy}
+ Assert-Throws { New-AzAttestation -Name $attestationName -ResourceGroupName $unknownRGName -AttestationPolicy $policyTemplateName}
}
finally
@@ -85,13 +85,13 @@ Test Get-AzAttestation
#>
#------------------------------Get-AzAttestation-----------------------------------
function Test-GetAttestation
-{
+{
$attestationName = getAssetName
- $attestationPolicy = "SgxDisableDebugMode"
+ $policyTemplateName = "SgxDisableDebugMode"
try
{
$rgName = Create-ResourceGroup
- New-AzAttestation -Name $attestationName -ResourceGroupName $rgName.ResourceGroupName -AttestationPolicy $attestationPolicy
+ New-AzAttestation -Name $attestationName -ResourceGroupName $rgName.ResourceGroupName -AttestationPolicy $policyTemplateName
$got = Get-AzAttestation -Name $attestationName -ResourceGroupName $rgName.ResourceGroupName
Assert-NotNull got
@@ -112,16 +112,16 @@ Test Remove-AzAttestation
function Test-DeleteAttestationByName
{
$attestationName = getAssetName
- $attestationPolicy = "SgxDisableDebugMode"
+ $policyTemplateName = "SgxDisableDebugMode"
try
{
$rgName = Create-ResourceGroup
- New-AzAttestation -Name $attestationName -ResourceGroupName $rgName.ResourceGroupName -AttestationPolicy $attestationPolicy
- Remove-AzAttestation -Name $attestationName -ResourceGroupName $rgName.ResourceGroupName
+ New-AzAttestation -Name $attestationName -ResourceGroupName $rgName.ResourceGroupName -AttestationPolicy $policyTemplateName
+ Remove-AzAttestation -Name $attestationName -ResourceGroupName $rgName.ResourceGroupName
Assert-Throws {Get-AzAttestation -Name $attestationName -ResourceGroupName $rgName.ResourceGroupName}
}
-
+
finally
{
Clean-ResourceGroup $rgName.ResourceGroupName
diff --git a/src/Attestation/Attestation.Test/SessionRecords/Microsoft.Azure.Commands.Attestation.Test.ScenarioTests.AttstationPolicyTests/TestGetAttestationPolicy.json b/src/Attestation/Attestation.Test/SessionRecords/Microsoft.Azure.Commands.Attestation.Test.ScenarioTests.AttstationPolicyTests/TestGetAttestationPolicy.json
new file mode 100644
index 000000000000..1a99e73a4029
--- /dev/null
+++ b/src/Attestation/Attestation.Test/SessionRecords/Microsoft.Azure.Commands.Attestation.Test.ScenarioTests.AttstationPolicyTests/TestGetAttestationPolicy.json
@@ -0,0 +1,536 @@
+{
+ "Entries": [
+ {
+ "RequestUri": "/subscriptions/a724c543-53ce-44a6-b633-e11ef27839b7/resourcegroups/ps9745?api-version=2016-09-01",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYTcyNGM1NDMtNTNjZS00NGE2LWI2MzMtZTExZWYyNzgzOWI3L3Jlc291cmNlZ3JvdXBzL3BzOTc0NT9hcGktdmVyc2lvbj0yMDE2LTA5LTAx",
+ "RequestMethod": "PUT",
+ "RequestBody": "{\r\n \"location\": \"WestUS\"\r\n}",
+ "RequestHeaders": {
+ "x-ms-client-request-id": [
+ "1d6070cd-b123-488d-a13d-e659291cb10e"
+ ],
+ "Accept-Language": [
+ "en-US"
+ ],
+ "User-Agent": [
+ "FxVersion/4.6.28207.03",
+ "OSName/Windows",
+ "OSVersion/Microsoft.Windows.10.0.18363.",
+ "Microsoft.Azure.Management.Internal.Resources.ResourceManagementClient/1.3.5"
+ ],
+ "Content-Type": [
+ "application/json; charset=utf-8"
+ ],
+ "Content-Length": [
+ "28"
+ ]
+ },
+ "ResponseHeaders": {
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "x-ms-ratelimit-remaining-subscription-writes": [
+ "1199"
+ ],
+ "x-ms-request-id": [
+ "f309d5c6-160d-4c1d-8c04-c4a6bf5743d2"
+ ],
+ "x-ms-correlation-request-id": [
+ "f309d5c6-160d-4c1d-8c04-c4a6bf5743d2"
+ ],
+ "x-ms-routing-request-id": [
+ "WESTUS:20200209T125958Z:f309d5c6-160d-4c1d-8c04-c4a6bf5743d2"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "X-Content-Type-Options": [
+ "nosniff"
+ ],
+ "Date": [
+ "Sun, 09 Feb 2020 12:59:57 GMT"
+ ],
+ "Content-Length": [
+ "165"
+ ],
+ "Content-Type": [
+ "application/json; charset=utf-8"
+ ],
+ "Expires": [
+ "-1"
+ ]
+ },
+ "ResponseBody": "{\r\n \"id\": \"/subscriptions/a724c543-53ce-44a6-b633-e11ef27839b7/resourceGroups/ps9745\",\r\n \"name\": \"ps9745\",\r\n \"location\": \"westus\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n}",
+ "StatusCode": 201
+ },
+ {
+ "RequestUri": "/subscriptions/a724c543-53ce-44a6-b633-e11ef27839b7/resourceGroups/ps9745/providers/Microsoft.Attestation/attestationProviders/ps9357?api-version=2018-09-01-preview",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYTcyNGM1NDMtNTNjZS00NGE2LWI2MzMtZTExZWYyNzgzOWI3L3Jlc291cmNlR3JvdXBzL3BzOTc0NS9wcm92aWRlcnMvTWljcm9zb2Z0LkF0dGVzdGF0aW9uL2F0dGVzdGF0aW9uUHJvdmlkZXJzL3BzOTM1Nz9hcGktdmVyc2lvbj0yMDE4LTA5LTAxLXByZXZpZXc=",
+ "RequestMethod": "PUT",
+ "RequestBody": "{\r\n \"attestationPolicy\": \"SgxDisableDebugMode\"\r\n}",
+ "RequestHeaders": {
+ "x-ms-client-request-id": [
+ "1601256d-918c-4151-b14e-dc0d1930dd33"
+ ],
+ "Accept-Language": [
+ "en-US"
+ ],
+ "User-Agent": [
+ "FxVersion/4.6.28207.03",
+ "OSName/Windows",
+ "OSVersion/Microsoft.Windows.10.0.18363.",
+ "Microsoft.Azure.Management.Attestation.AttestationManagementClient/0.9.6.0"
+ ],
+ "Content-Type": [
+ "application/json; charset=utf-8"
+ ],
+ "Content-Length": [
+ "50"
+ ]
+ },
+ "ResponseHeaders": {
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "Location": [
+ "https://ps9357.us.attest.azure.net/"
+ ],
+ "x-ms-ratelimit-remaining-subscription-writes": [
+ "1199"
+ ],
+ "Server": [
+ "Kestrel"
+ ],
+ "WWW-Authenticate": [
+ "Bearer authorization_uri=\"https://login.windows.net/72f988bf-86f1-41af-91ab-2d7cd011db47\", resource=\"https://attest.azure.net\""
+ ],
+ "x-ms-request-id": [
+ "ffa2a88b-0109-49b4-8e58-ae5798d100b9"
+ ],
+ "x-ms-correlation-request-id": [
+ "ffa2a88b-0109-49b4-8e58-ae5798d100b9"
+ ],
+ "x-ms-routing-request-id": [
+ "WESTUS:20200209T130000Z:ffa2a88b-0109-49b4-8e58-ae5798d100b9"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "X-Content-Type-Options": [
+ "nosniff"
+ ],
+ "Date": [
+ "Sun, 09 Feb 2020 12:59:59 GMT"
+ ],
+ "Content-Length": [
+ "290"
+ ],
+ "Content-Type": [
+ "application/json; charset=utf-8"
+ ],
+ "Expires": [
+ "-1"
+ ]
+ },
+ "ResponseBody": "{\r\n \"id\": \"subscriptions/a724c543-53ce-44a6-b633-e11ef27839b7/resourceGroups/ps9745/providers/Microsoft.Attestation/attestationProviders/ps9357\",\r\n \"name\": \"ps9357\",\r\n \"type\": \"Microsoft.Attestation/attestationProviders\",\r\n \"properties\": {\r\n \"status\": \"Ready\",\r\n \"attestUri\": \"https://ps9357.us.attest.azure.net\"\r\n }\r\n}",
+ "StatusCode": 201
+ },
+ {
+ "RequestUri": "/subscriptions/a724c543-53ce-44a6-b633-e11ef27839b7/resourceGroups/ps9745/providers/Microsoft.Attestation/attestationProviders/ps9357?api-version=2018-09-01-preview",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYTcyNGM1NDMtNTNjZS00NGE2LWI2MzMtZTExZWYyNzgzOWI3L3Jlc291cmNlR3JvdXBzL3BzOTc0NS9wcm92aWRlcnMvTWljcm9zb2Z0LkF0dGVzdGF0aW9uL2F0dGVzdGF0aW9uUHJvdmlkZXJzL3BzOTM1Nz9hcGktdmVyc2lvbj0yMDE4LTA5LTAxLXByZXZpZXc=",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "x-ms-client-request-id": [
+ "7dd5eb94-1d1d-44da-aada-489767e724c5"
+ ],
+ "Accept-Language": [
+ "en-US"
+ ],
+ "User-Agent": [
+ "FxVersion/4.6.28207.03",
+ "OSName/Windows",
+ "OSVersion/Microsoft.Windows.10.0.18363.",
+ "Microsoft.Azure.Management.Attestation.AttestationManagementClient/0.9.6.0"
+ ]
+ },
+ "ResponseHeaders": {
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "x-ms-ratelimit-remaining-subscription-reads": [
+ "11999"
+ ],
+ "Server": [
+ "Kestrel"
+ ],
+ "WWW-Authenticate": [
+ "Bearer authorization_uri=\"https://login.windows.net/72f988bf-86f1-41af-91ab-2d7cd011db47\", resource=\"https://attest.azure.net\""
+ ],
+ "x-ms-request-id": [
+ "1a18f6e8-6414-4031-b153-8b857d55c24f"
+ ],
+ "x-ms-correlation-request-id": [
+ "1a18f6e8-6414-4031-b153-8b857d55c24f"
+ ],
+ "x-ms-routing-request-id": [
+ "WESTUS:20200209T130000Z:1a18f6e8-6414-4031-b153-8b857d55c24f"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "X-Content-Type-Options": [
+ "nosniff"
+ ],
+ "Date": [
+ "Sun, 09 Feb 2020 12:59:59 GMT"
+ ],
+ "Content-Length": [
+ "290"
+ ],
+ "Content-Type": [
+ "application/json; charset=utf-8"
+ ],
+ "Expires": [
+ "-1"
+ ]
+ },
+ "ResponseBody": "{\r\n \"id\": \"subscriptions/a724c543-53ce-44a6-b633-e11ef27839b7/resourceGroups/ps9745/providers/Microsoft.Attestation/attestationProviders/ps9357\",\r\n \"name\": \"ps9357\",\r\n \"type\": \"Microsoft.Attestation/attestationProviders\",\r\n \"properties\": {\r\n \"status\": \"Ready\",\r\n \"attestUri\": \"https://ps9357.us.attest.azure.net\"\r\n }\r\n}",
+ "StatusCode": 200
+ },
+ {
+ "RequestUri": "/operations/policy/current?api-version=2018-09-01-preview&tee=SgxEnclave",
+ "EncodedRequestUri": "L29wZXJhdGlvbnMvcG9saWN5L2N1cnJlbnQ/YXBpLXZlcnNpb249MjAxOC0wOS0wMS1wcmV2aWV3JnRlZT1TZ3hFbmNsYXZl",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "x-ms-client-request-id": [
+ "7b062218-d5e9-4649-9dc9-9a2336f974b9"
+ ],
+ "Accept-Language": [
+ "en-US"
+ ],
+ "User-Agent": [
+ "FxVersion/4.6.28207.03",
+ "OSName/Windows",
+ "OSVersion/Microsoft.Windows.10.0.18363.",
+ "Microsoft.Azure.Attestation.AttestationClient/0.900.20.5901"
+ ]
+ },
+ "ResponseHeaders": {
+ "Date": [
+ "Sun, 09 Feb 2020 13:00:01 GMT"
+ ],
+ "Server": [
+ "Kestrel"
+ ],
+ "Content-Type": [
+ "application/json; charset=utf-8"
+ ],
+ "Content-Length": [
+ "896"
+ ]
+ },
+ "ResponseBody": "{\r\n \"Policy\": \"eyJhbGciOiJub25lIn0.eyJBdHRlc3RhdGlvblBvbGljeSI6InsgXCIkdmVyc2lvblwiOiAxLCAgICAgICAgICAgICAgICAgICBcIiRhbGxvdy1kZWJ1Z2dhYmxlXCI6IGZhbHNlLCAgICAgICAgICAgICAgICAgICBcIiRjbGFpbXNcIjogWyAgICAgICAgICAgICAgICAgICAgIFwiaXMtZGVidWdnYWJsZVwiLCAgICAgICAgICAgICAgICAgICAgIFwic2d4LW1yc2lnbmVyXCIsICAgICAgICAgICAgICAgICAgICAgXCJzZ3gtbXJlbmNsYXZlXCIsICAgICAgICAgICAgICAgICAgICAgXCJwcm9kdWN0LWlkXCIsICAgICAgICAgICAgICAgICAgICAgXCJzdm5cIiwgICAgICAgICAgICAgICAgICAgICBcInRlZVwiICAgICAgICAgICAgICAgICBdLCAgICAgICAgICAgICAgICAgXCJpcy1kZWJ1Z2dhYmxlXCI6IFwiJGlzLWRlYnVnZ2FibGVcIiwgICAgICAgICAgICAgICAgIFwic2d4LW1yc2lnbmVyXCI6IFwiJHNneC1tcnNpZ25lclwiLCAgICAgICAgICAgICAgICAgXCJzZ3gtbXJlbmNsYXZlXCI6IFwiJHNneC1tcmVuY2xhdmVcIiwgICAgICAgICAgICAgICAgIFwicHJvZHVjdC1pZFwiOiBcIiRwcm9kdWN0LWlkXCIsICAgICAgICAgICAgICAgICBcInN2blwiOiBcIiRzdm5cIiwgICAgICAgICAgICAgICAgIFwidGVlXCI6IFwiJHRlZVwiICAgICAgICAgICAgIH0ifQ.\"\r\n}",
+ "StatusCode": 200
+ },
+ {
+ "RequestUri": "/subscriptions/a724c543-53ce-44a6-b633-e11ef27839b7/resourcegroups/ps9745?api-version=2016-09-01",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYTcyNGM1NDMtNTNjZS00NGE2LWI2MzMtZTExZWYyNzgzOWI3L3Jlc291cmNlZ3JvdXBzL3BzOTc0NT9hcGktdmVyc2lvbj0yMDE2LTA5LTAx",
+ "RequestMethod": "DELETE",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "x-ms-client-request-id": [
+ "74ecf552-e338-486f-a706-98a1b66bdb32"
+ ],
+ "Accept-Language": [
+ "en-US"
+ ],
+ "User-Agent": [
+ "FxVersion/4.6.28207.03",
+ "OSName/Windows",
+ "OSVersion/Microsoft.Windows.10.0.18363.",
+ "Microsoft.Azure.Management.Internal.Resources.ResourceManagementClient/1.3.5"
+ ]
+ },
+ "ResponseHeaders": {
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "Location": [
+ "https://management.azure.com/subscriptions/a724c543-53ce-44a6-b633-e11ef27839b7/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1QUzk3NDUtV0VTVFVTIiwiam9iTG9jYXRpb24iOiJ3ZXN0dXMifQ?api-version=2016-09-01"
+ ],
+ "Retry-After": [
+ "15"
+ ],
+ "x-ms-ratelimit-remaining-subscription-deletes": [
+ "14999"
+ ],
+ "x-ms-request-id": [
+ "fcd6d397-7a97-4527-a815-08063b2872c6"
+ ],
+ "x-ms-correlation-request-id": [
+ "fcd6d397-7a97-4527-a815-08063b2872c6"
+ ],
+ "x-ms-routing-request-id": [
+ "WESTUS:20200209T130001Z:fcd6d397-7a97-4527-a815-08063b2872c6"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "X-Content-Type-Options": [
+ "nosniff"
+ ],
+ "Date": [
+ "Sun, 09 Feb 2020 13:00:00 GMT"
+ ],
+ "Expires": [
+ "-1"
+ ],
+ "Content-Length": [
+ "0"
+ ]
+ },
+ "ResponseBody": "",
+ "StatusCode": 202
+ },
+ {
+ "RequestUri": "/subscriptions/a724c543-53ce-44a6-b633-e11ef27839b7/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1QUzk3NDUtV0VTVFVTIiwiam9iTG9jYXRpb24iOiJ3ZXN0dXMifQ?api-version=2016-09-01",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYTcyNGM1NDMtNTNjZS00NGE2LWI2MzMtZTExZWYyNzgzOWI3L29wZXJhdGlvbnJlc3VsdHMvZXlKcWIySkpaQ0k2SWxKRlUwOVZVa05GUjFKUFZWQkVSVXhGVkVsUFRrcFBRaTFRVXprM05EVXRWMFZUVkZWVElpd2lhbTlpVEc5allYUnBiMjRpT2lKM1pYTjBkWE1pZlE/YXBpLXZlcnNpb249MjAxNi0wOS0wMQ==",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "User-Agent": [
+ "FxVersion/4.6.28207.03",
+ "OSName/Windows",
+ "OSVersion/Microsoft.Windows.10.0.18363.",
+ "Microsoft.Azure.Management.Internal.Resources.ResourceManagementClient/1.3.5"
+ ]
+ },
+ "ResponseHeaders": {
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "Location": [
+ "https://management.azure.com/subscriptions/a724c543-53ce-44a6-b633-e11ef27839b7/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1QUzk3NDUtV0VTVFVTIiwiam9iTG9jYXRpb24iOiJ3ZXN0dXMifQ?api-version=2016-09-01"
+ ],
+ "Retry-After": [
+ "15"
+ ],
+ "x-ms-ratelimit-remaining-subscription-reads": [
+ "11999"
+ ],
+ "x-ms-request-id": [
+ "5699982b-dd25-43b6-bb5c-d013077c4d88"
+ ],
+ "x-ms-correlation-request-id": [
+ "5699982b-dd25-43b6-bb5c-d013077c4d88"
+ ],
+ "x-ms-routing-request-id": [
+ "WESTUS:20200209T130016Z:5699982b-dd25-43b6-bb5c-d013077c4d88"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "X-Content-Type-Options": [
+ "nosniff"
+ ],
+ "Date": [
+ "Sun, 09 Feb 2020 13:00:15 GMT"
+ ],
+ "Expires": [
+ "-1"
+ ],
+ "Content-Length": [
+ "0"
+ ]
+ },
+ "ResponseBody": "",
+ "StatusCode": 202
+ },
+ {
+ "RequestUri": "/subscriptions/a724c543-53ce-44a6-b633-e11ef27839b7/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1QUzk3NDUtV0VTVFVTIiwiam9iTG9jYXRpb24iOiJ3ZXN0dXMifQ?api-version=2016-09-01",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYTcyNGM1NDMtNTNjZS00NGE2LWI2MzMtZTExZWYyNzgzOWI3L29wZXJhdGlvbnJlc3VsdHMvZXlKcWIySkpaQ0k2SWxKRlUwOVZVa05GUjFKUFZWQkVSVXhGVkVsUFRrcFBRaTFRVXprM05EVXRWMFZUVkZWVElpd2lhbTlpVEc5allYUnBiMjRpT2lKM1pYTjBkWE1pZlE/YXBpLXZlcnNpb249MjAxNi0wOS0wMQ==",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "User-Agent": [
+ "FxVersion/4.6.28207.03",
+ "OSName/Windows",
+ "OSVersion/Microsoft.Windows.10.0.18363.",
+ "Microsoft.Azure.Management.Internal.Resources.ResourceManagementClient/1.3.5"
+ ]
+ },
+ "ResponseHeaders": {
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "Location": [
+ "https://management.azure.com/subscriptions/a724c543-53ce-44a6-b633-e11ef27839b7/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1QUzk3NDUtV0VTVFVTIiwiam9iTG9jYXRpb24iOiJ3ZXN0dXMifQ?api-version=2016-09-01"
+ ],
+ "Retry-After": [
+ "15"
+ ],
+ "x-ms-ratelimit-remaining-subscription-reads": [
+ "11998"
+ ],
+ "x-ms-request-id": [
+ "b89612fe-53cd-4fa8-8024-6399cc08a189"
+ ],
+ "x-ms-correlation-request-id": [
+ "b89612fe-53cd-4fa8-8024-6399cc08a189"
+ ],
+ "x-ms-routing-request-id": [
+ "WESTUS:20200209T130031Z:b89612fe-53cd-4fa8-8024-6399cc08a189"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "X-Content-Type-Options": [
+ "nosniff"
+ ],
+ "Date": [
+ "Sun, 09 Feb 2020 13:00:31 GMT"
+ ],
+ "Expires": [
+ "-1"
+ ],
+ "Content-Length": [
+ "0"
+ ]
+ },
+ "ResponseBody": "",
+ "StatusCode": 202
+ },
+ {
+ "RequestUri": "/subscriptions/a724c543-53ce-44a6-b633-e11ef27839b7/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1QUzk3NDUtV0VTVFVTIiwiam9iTG9jYXRpb24iOiJ3ZXN0dXMifQ?api-version=2016-09-01",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYTcyNGM1NDMtNTNjZS00NGE2LWI2MzMtZTExZWYyNzgzOWI3L29wZXJhdGlvbnJlc3VsdHMvZXlKcWIySkpaQ0k2SWxKRlUwOVZVa05GUjFKUFZWQkVSVXhGVkVsUFRrcFBRaTFRVXprM05EVXRWMFZUVkZWVElpd2lhbTlpVEc5allYUnBiMjRpT2lKM1pYTjBkWE1pZlE/YXBpLXZlcnNpb249MjAxNi0wOS0wMQ==",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "User-Agent": [
+ "FxVersion/4.6.28207.03",
+ "OSName/Windows",
+ "OSVersion/Microsoft.Windows.10.0.18363.",
+ "Microsoft.Azure.Management.Internal.Resources.ResourceManagementClient/1.3.5"
+ ]
+ },
+ "ResponseHeaders": {
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "x-ms-ratelimit-remaining-subscription-reads": [
+ "11997"
+ ],
+ "x-ms-request-id": [
+ "e7eaac2c-e2ce-4156-9afd-f2a1bd7a3266"
+ ],
+ "x-ms-correlation-request-id": [
+ "e7eaac2c-e2ce-4156-9afd-f2a1bd7a3266"
+ ],
+ "x-ms-routing-request-id": [
+ "WESTUS:20200209T130046Z:e7eaac2c-e2ce-4156-9afd-f2a1bd7a3266"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "X-Content-Type-Options": [
+ "nosniff"
+ ],
+ "Date": [
+ "Sun, 09 Feb 2020 13:00:46 GMT"
+ ],
+ "Expires": [
+ "-1"
+ ],
+ "Content-Length": [
+ "0"
+ ]
+ },
+ "ResponseBody": "",
+ "StatusCode": 200
+ },
+ {
+ "RequestUri": "/subscriptions/a724c543-53ce-44a6-b633-e11ef27839b7/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1QUzk3NDUtV0VTVFVTIiwiam9iTG9jYXRpb24iOiJ3ZXN0dXMifQ?api-version=2016-09-01",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYTcyNGM1NDMtNTNjZS00NGE2LWI2MzMtZTExZWYyNzgzOWI3L29wZXJhdGlvbnJlc3VsdHMvZXlKcWIySkpaQ0k2SWxKRlUwOVZVa05GUjFKUFZWQkVSVXhGVkVsUFRrcFBRaTFRVXprM05EVXRWMFZUVkZWVElpd2lhbTlpVEc5allYUnBiMjRpT2lKM1pYTjBkWE1pZlE/YXBpLXZlcnNpb249MjAxNi0wOS0wMQ==",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "User-Agent": [
+ "FxVersion/4.6.28207.03",
+ "OSName/Windows",
+ "OSVersion/Microsoft.Windows.10.0.18363.",
+ "Microsoft.Azure.Management.Internal.Resources.ResourceManagementClient/1.3.5"
+ ]
+ },
+ "ResponseHeaders": {
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "x-ms-ratelimit-remaining-subscription-reads": [
+ "11996"
+ ],
+ "x-ms-request-id": [
+ "de03ae88-efe5-4c61-8db4-41ad818c4343"
+ ],
+ "x-ms-correlation-request-id": [
+ "de03ae88-efe5-4c61-8db4-41ad818c4343"
+ ],
+ "x-ms-routing-request-id": [
+ "WESTUS:20200209T130046Z:de03ae88-efe5-4c61-8db4-41ad818c4343"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "X-Content-Type-Options": [
+ "nosniff"
+ ],
+ "Date": [
+ "Sun, 09 Feb 2020 13:00:46 GMT"
+ ],
+ "Expires": [
+ "-1"
+ ],
+ "Content-Length": [
+ "0"
+ ]
+ },
+ "ResponseBody": "",
+ "StatusCode": 200
+ }
+ ],
+ "Names": {
+ "Test-GetAttestationPolicy": [
+ "ps4683",
+ "ps9357",
+ "ps9745"
+ ]
+ },
+ "Variables": {
+ "SubscriptionId": "a724c543-53ce-44a6-b633-e11ef27839b7"
+ }
+}
\ No newline at end of file
diff --git a/src/Attestation/Attestation.Test/SessionRecords/Microsoft.Azure.Commands.Attestation.Test.ScenarioTests.AttstationPolicyTests/TestResetAttestationPolicy.json b/src/Attestation/Attestation.Test/SessionRecords/Microsoft.Azure.Commands.Attestation.Test.ScenarioTests.AttstationPolicyTests/TestResetAttestationPolicy.json
new file mode 100644
index 000000000000..ef5f6cf3f703
--- /dev/null
+++ b/src/Attestation/Attestation.Test/SessionRecords/Microsoft.Azure.Commands.Attestation.Test.ScenarioTests.AttstationPolicyTests/TestResetAttestationPolicy.json
@@ -0,0 +1,578 @@
+{
+ "Entries": [
+ {
+ "RequestUri": "/subscriptions/a724c543-53ce-44a6-b633-e11ef27839b7/resourcegroups/ps5794?api-version=2016-09-01",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYTcyNGM1NDMtNTNjZS00NGE2LWI2MzMtZTExZWYyNzgzOWI3L3Jlc291cmNlZ3JvdXBzL3BzNTc5ND9hcGktdmVyc2lvbj0yMDE2LTA5LTAx",
+ "RequestMethod": "PUT",
+ "RequestBody": "{\r\n \"location\": \"WestUS\"\r\n}",
+ "RequestHeaders": {
+ "x-ms-client-request-id": [
+ "038c5771-5188-4f0c-9e8c-eef85b9a37e9"
+ ],
+ "Accept-Language": [
+ "en-US"
+ ],
+ "User-Agent": [
+ "FxVersion/4.6.28207.03",
+ "OSName/Windows",
+ "OSVersion/Microsoft.Windows.10.0.18363.",
+ "Microsoft.Azure.Management.Internal.Resources.ResourceManagementClient/1.3.5"
+ ],
+ "Content-Type": [
+ "application/json; charset=utf-8"
+ ],
+ "Content-Length": [
+ "28"
+ ]
+ },
+ "ResponseHeaders": {
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "x-ms-ratelimit-remaining-subscription-writes": [
+ "1198"
+ ],
+ "x-ms-request-id": [
+ "25db4003-e9f0-416f-94c0-84852abfe389"
+ ],
+ "x-ms-correlation-request-id": [
+ "25db4003-e9f0-416f-94c0-84852abfe389"
+ ],
+ "x-ms-routing-request-id": [
+ "WESTUS:20200209T130048Z:25db4003-e9f0-416f-94c0-84852abfe389"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "X-Content-Type-Options": [
+ "nosniff"
+ ],
+ "Date": [
+ "Sun, 09 Feb 2020 13:00:47 GMT"
+ ],
+ "Content-Length": [
+ "165"
+ ],
+ "Content-Type": [
+ "application/json; charset=utf-8"
+ ],
+ "Expires": [
+ "-1"
+ ]
+ },
+ "ResponseBody": "{\r\n \"id\": \"/subscriptions/a724c543-53ce-44a6-b633-e11ef27839b7/resourceGroups/ps5794\",\r\n \"name\": \"ps5794\",\r\n \"location\": \"westus\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n}",
+ "StatusCode": 201
+ },
+ {
+ "RequestUri": "/subscriptions/a724c543-53ce-44a6-b633-e11ef27839b7/resourceGroups/ps5794/providers/Microsoft.Attestation/attestationProviders/ps1786?api-version=2018-09-01-preview",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYTcyNGM1NDMtNTNjZS00NGE2LWI2MzMtZTExZWYyNzgzOWI3L3Jlc291cmNlR3JvdXBzL3BzNTc5NC9wcm92aWRlcnMvTWljcm9zb2Z0LkF0dGVzdGF0aW9uL2F0dGVzdGF0aW9uUHJvdmlkZXJzL3BzMTc4Nj9hcGktdmVyc2lvbj0yMDE4LTA5LTAxLXByZXZpZXc=",
+ "RequestMethod": "PUT",
+ "RequestBody": "{\r\n \"attestationPolicy\": \"SgxDisableDebugMode\"\r\n}",
+ "RequestHeaders": {
+ "x-ms-client-request-id": [
+ "bf5a53a7-9e3b-486f-8c73-6996418041a1"
+ ],
+ "Accept-Language": [
+ "en-US"
+ ],
+ "User-Agent": [
+ "FxVersion/4.6.28207.03",
+ "OSName/Windows",
+ "OSVersion/Microsoft.Windows.10.0.18363.",
+ "Microsoft.Azure.Management.Attestation.AttestationManagementClient/0.9.6.0"
+ ],
+ "Content-Type": [
+ "application/json; charset=utf-8"
+ ],
+ "Content-Length": [
+ "50"
+ ]
+ },
+ "ResponseHeaders": {
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "Location": [
+ "https://ps1786.us.attest.azure.net/"
+ ],
+ "x-ms-ratelimit-remaining-subscription-writes": [
+ "1199"
+ ],
+ "Server": [
+ "Kestrel"
+ ],
+ "WWW-Authenticate": [
+ "Bearer authorization_uri=\"https://login.windows.net/72f988bf-86f1-41af-91ab-2d7cd011db47\", resource=\"https://attest.azure.net\""
+ ],
+ "x-ms-request-id": [
+ "ccd01231-a87c-47bd-9caa-fe5daf8a22e6"
+ ],
+ "x-ms-correlation-request-id": [
+ "ccd01231-a87c-47bd-9caa-fe5daf8a22e6"
+ ],
+ "x-ms-routing-request-id": [
+ "WESTUS:20200209T130050Z:ccd01231-a87c-47bd-9caa-fe5daf8a22e6"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "X-Content-Type-Options": [
+ "nosniff"
+ ],
+ "Date": [
+ "Sun, 09 Feb 2020 13:00:49 GMT"
+ ],
+ "Content-Length": [
+ "290"
+ ],
+ "Content-Type": [
+ "application/json; charset=utf-8"
+ ],
+ "Expires": [
+ "-1"
+ ]
+ },
+ "ResponseBody": "{\r\n \"id\": \"subscriptions/a724c543-53ce-44a6-b633-e11ef27839b7/resourceGroups/ps5794/providers/Microsoft.Attestation/attestationProviders/ps1786\",\r\n \"name\": \"ps1786\",\r\n \"type\": \"Microsoft.Attestation/attestationProviders\",\r\n \"properties\": {\r\n \"status\": \"Ready\",\r\n \"attestUri\": \"https://ps1786.us.attest.azure.net\"\r\n }\r\n}",
+ "StatusCode": 201
+ },
+ {
+ "RequestUri": "/subscriptions/a724c543-53ce-44a6-b633-e11ef27839b7/resourceGroups/ps5794/providers/Microsoft.Attestation/attestationProviders/ps1786?api-version=2018-09-01-preview",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYTcyNGM1NDMtNTNjZS00NGE2LWI2MzMtZTExZWYyNzgzOWI3L3Jlc291cmNlR3JvdXBzL3BzNTc5NC9wcm92aWRlcnMvTWljcm9zb2Z0LkF0dGVzdGF0aW9uL2F0dGVzdGF0aW9uUHJvdmlkZXJzL3BzMTc4Nj9hcGktdmVyc2lvbj0yMDE4LTA5LTAxLXByZXZpZXc=",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "x-ms-client-request-id": [
+ "a0da2658-cdbd-4434-929e-ba94e8c829c9"
+ ],
+ "Accept-Language": [
+ "en-US"
+ ],
+ "User-Agent": [
+ "FxVersion/4.6.28207.03",
+ "OSName/Windows",
+ "OSVersion/Microsoft.Windows.10.0.18363.",
+ "Microsoft.Azure.Management.Attestation.AttestationManagementClient/0.9.6.0"
+ ]
+ },
+ "ResponseHeaders": {
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "x-ms-ratelimit-remaining-subscription-reads": [
+ "11999"
+ ],
+ "Server": [
+ "Kestrel"
+ ],
+ "WWW-Authenticate": [
+ "Bearer authorization_uri=\"https://login.windows.net/72f988bf-86f1-41af-91ab-2d7cd011db47\", resource=\"https://attest.azure.net\""
+ ],
+ "x-ms-request-id": [
+ "c6dbf4e1-7480-400e-9ddb-fc477f24e439"
+ ],
+ "x-ms-correlation-request-id": [
+ "c6dbf4e1-7480-400e-9ddb-fc477f24e439"
+ ],
+ "x-ms-routing-request-id": [
+ "WESTUS:20200209T130050Z:c6dbf4e1-7480-400e-9ddb-fc477f24e439"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "X-Content-Type-Options": [
+ "nosniff"
+ ],
+ "Date": [
+ "Sun, 09 Feb 2020 13:00:49 GMT"
+ ],
+ "Content-Length": [
+ "290"
+ ],
+ "Content-Type": [
+ "application/json; charset=utf-8"
+ ],
+ "Expires": [
+ "-1"
+ ]
+ },
+ "ResponseBody": "{\r\n \"id\": \"subscriptions/a724c543-53ce-44a6-b633-e11ef27839b7/resourceGroups/ps5794/providers/Microsoft.Attestation/attestationProviders/ps1786\",\r\n \"name\": \"ps1786\",\r\n \"type\": \"Microsoft.Attestation/attestationProviders\",\r\n \"properties\": {\r\n \"status\": \"Ready\",\r\n \"attestUri\": \"https://ps1786.us.attest.azure.net\"\r\n }\r\n}",
+ "StatusCode": 200
+ },
+ {
+ "RequestUri": "/operations/policy/current?api-version=2018-09-01-preview&tee=SgxEnclave",
+ "EncodedRequestUri": "L29wZXJhdGlvbnMvcG9saWN5L2N1cnJlbnQ/YXBpLXZlcnNpb249MjAxOC0wOS0wMS1wcmV2aWV3JnRlZT1TZ3hFbmNsYXZl",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "x-ms-client-request-id": [
+ "833fb020-215a-48ad-a077-4d45a0fee915"
+ ],
+ "Accept-Language": [
+ "en-US"
+ ],
+ "User-Agent": [
+ "FxVersion/4.6.28207.03",
+ "OSName/Windows",
+ "OSVersion/Microsoft.Windows.10.0.18363.",
+ "Microsoft.Azure.Attestation.AttestationClient/0.900.20.5901"
+ ]
+ },
+ "ResponseHeaders": {
+ "Date": [
+ "Sun, 09 Feb 2020 13:00:51 GMT"
+ ],
+ "Server": [
+ "Kestrel"
+ ],
+ "Content-Type": [
+ "application/json; charset=utf-8"
+ ],
+ "Content-Length": [
+ "896"
+ ]
+ },
+ "ResponseBody": "{\r\n \"Policy\": \"eyJhbGciOiJub25lIn0.eyJBdHRlc3RhdGlvblBvbGljeSI6InsgXCIkdmVyc2lvblwiOiAxLCAgICAgICAgICAgICAgICAgICBcIiRhbGxvdy1kZWJ1Z2dhYmxlXCI6IGZhbHNlLCAgICAgICAgICAgICAgICAgICBcIiRjbGFpbXNcIjogWyAgICAgICAgICAgICAgICAgICAgIFwiaXMtZGVidWdnYWJsZVwiLCAgICAgICAgICAgICAgICAgICAgIFwic2d4LW1yc2lnbmVyXCIsICAgICAgICAgICAgICAgICAgICAgXCJzZ3gtbXJlbmNsYXZlXCIsICAgICAgICAgICAgICAgICAgICAgXCJwcm9kdWN0LWlkXCIsICAgICAgICAgICAgICAgICAgICAgXCJzdm5cIiwgICAgICAgICAgICAgICAgICAgICBcInRlZVwiICAgICAgICAgICAgICAgICBdLCAgICAgICAgICAgICAgICAgXCJpcy1kZWJ1Z2dhYmxlXCI6IFwiJGlzLWRlYnVnZ2FibGVcIiwgICAgICAgICAgICAgICAgIFwic2d4LW1yc2lnbmVyXCI6IFwiJHNneC1tcnNpZ25lclwiLCAgICAgICAgICAgICAgICAgXCJzZ3gtbXJlbmNsYXZlXCI6IFwiJHNneC1tcmVuY2xhdmVcIiwgICAgICAgICAgICAgICAgIFwicHJvZHVjdC1pZFwiOiBcIiRwcm9kdWN0LWlkXCIsICAgICAgICAgICAgICAgICBcInN2blwiOiBcIiRzdm5cIiwgICAgICAgICAgICAgICAgIFwidGVlXCI6IFwiJHRlZVwiICAgICAgICAgICAgIH0ifQ.\"\r\n}",
+ "StatusCode": 200
+ },
+ {
+ "RequestUri": "/operations/policy/current?api-version=2018-09-01-preview&tee=SgxEnclave",
+ "EncodedRequestUri": "L29wZXJhdGlvbnMvcG9saWN5L2N1cnJlbnQ/YXBpLXZlcnNpb249MjAxOC0wOS0wMS1wcmV2aWV3JnRlZT1TZ3hFbmNsYXZl",
+ "RequestMethod": "POST",
+ "RequestBody": "\"eyJhbGciOiJub25lIn0..\"",
+ "RequestHeaders": {
+ "x-ms-client-request-id": [
+ "70225472-2c4a-47ce-8647-eb53c219deae"
+ ],
+ "Accept-Language": [
+ "en-US"
+ ],
+ "User-Agent": [
+ "FxVersion/4.6.28207.03",
+ "OSName/Windows",
+ "OSVersion/Microsoft.Windows.10.0.18363.",
+ "Microsoft.Azure.Attestation.AttestationClient/0.900.20.5901"
+ ],
+ "Content-Type": [
+ "text/plain"
+ ],
+ "Content-Length": [
+ "23"
+ ]
+ },
+ "ResponseHeaders": {
+ "Date": [
+ "Sun, 09 Feb 2020 13:00:51 GMT"
+ ],
+ "Server": [
+ "Kestrel"
+ ],
+ "Content-Type": [
+ "application/json; charset=utf-8"
+ ],
+ "Content-Length": [
+ "4"
+ ]
+ },
+ "ResponseBody": "null",
+ "StatusCode": 200
+ },
+ {
+ "RequestUri": "/subscriptions/a724c543-53ce-44a6-b633-e11ef27839b7/resourcegroups/ps5794?api-version=2016-09-01",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYTcyNGM1NDMtNTNjZS00NGE2LWI2MzMtZTExZWYyNzgzOWI3L3Jlc291cmNlZ3JvdXBzL3BzNTc5ND9hcGktdmVyc2lvbj0yMDE2LTA5LTAx",
+ "RequestMethod": "DELETE",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "x-ms-client-request-id": [
+ "2ec4ea96-3671-4fd8-9147-565ca642097d"
+ ],
+ "Accept-Language": [
+ "en-US"
+ ],
+ "User-Agent": [
+ "FxVersion/4.6.28207.03",
+ "OSName/Windows",
+ "OSVersion/Microsoft.Windows.10.0.18363.",
+ "Microsoft.Azure.Management.Internal.Resources.ResourceManagementClient/1.3.5"
+ ]
+ },
+ "ResponseHeaders": {
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "Location": [
+ "https://management.azure.com/subscriptions/a724c543-53ce-44a6-b633-e11ef27839b7/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1QUzU3OTQtV0VTVFVTIiwiam9iTG9jYXRpb24iOiJ3ZXN0dXMifQ?api-version=2016-09-01"
+ ],
+ "Retry-After": [
+ "15"
+ ],
+ "x-ms-ratelimit-remaining-subscription-deletes": [
+ "14999"
+ ],
+ "x-ms-request-id": [
+ "0d985cb4-9021-4e8f-9cb0-7f075df8fc35"
+ ],
+ "x-ms-correlation-request-id": [
+ "0d985cb4-9021-4e8f-9cb0-7f075df8fc35"
+ ],
+ "x-ms-routing-request-id": [
+ "WESTUS:20200209T130052Z:0d985cb4-9021-4e8f-9cb0-7f075df8fc35"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "X-Content-Type-Options": [
+ "nosniff"
+ ],
+ "Date": [
+ "Sun, 09 Feb 2020 13:00:52 GMT"
+ ],
+ "Expires": [
+ "-1"
+ ],
+ "Content-Length": [
+ "0"
+ ]
+ },
+ "ResponseBody": "",
+ "StatusCode": 202
+ },
+ {
+ "RequestUri": "/subscriptions/a724c543-53ce-44a6-b633-e11ef27839b7/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1QUzU3OTQtV0VTVFVTIiwiam9iTG9jYXRpb24iOiJ3ZXN0dXMifQ?api-version=2016-09-01",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYTcyNGM1NDMtNTNjZS00NGE2LWI2MzMtZTExZWYyNzgzOWI3L29wZXJhdGlvbnJlc3VsdHMvZXlKcWIySkpaQ0k2SWxKRlUwOVZVa05GUjFKUFZWQkVSVXhGVkVsUFRrcFBRaTFRVXpVM09UUXRWMFZUVkZWVElpd2lhbTlpVEc5allYUnBiMjRpT2lKM1pYTjBkWE1pZlE/YXBpLXZlcnNpb249MjAxNi0wOS0wMQ==",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "User-Agent": [
+ "FxVersion/4.6.28207.03",
+ "OSName/Windows",
+ "OSVersion/Microsoft.Windows.10.0.18363.",
+ "Microsoft.Azure.Management.Internal.Resources.ResourceManagementClient/1.3.5"
+ ]
+ },
+ "ResponseHeaders": {
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "Location": [
+ "https://management.azure.com/subscriptions/a724c543-53ce-44a6-b633-e11ef27839b7/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1QUzU3OTQtV0VTVFVTIiwiam9iTG9jYXRpb24iOiJ3ZXN0dXMifQ?api-version=2016-09-01"
+ ],
+ "Retry-After": [
+ "15"
+ ],
+ "x-ms-ratelimit-remaining-subscription-reads": [
+ "11998"
+ ],
+ "x-ms-request-id": [
+ "de84ec9f-be61-4926-8b74-98b9bc0bf938"
+ ],
+ "x-ms-correlation-request-id": [
+ "de84ec9f-be61-4926-8b74-98b9bc0bf938"
+ ],
+ "x-ms-routing-request-id": [
+ "WESTUS:20200209T130108Z:de84ec9f-be61-4926-8b74-98b9bc0bf938"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "X-Content-Type-Options": [
+ "nosniff"
+ ],
+ "Date": [
+ "Sun, 09 Feb 2020 13:01:07 GMT"
+ ],
+ "Expires": [
+ "-1"
+ ],
+ "Content-Length": [
+ "0"
+ ]
+ },
+ "ResponseBody": "",
+ "StatusCode": 202
+ },
+ {
+ "RequestUri": "/subscriptions/a724c543-53ce-44a6-b633-e11ef27839b7/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1QUzU3OTQtV0VTVFVTIiwiam9iTG9jYXRpb24iOiJ3ZXN0dXMifQ?api-version=2016-09-01",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYTcyNGM1NDMtNTNjZS00NGE2LWI2MzMtZTExZWYyNzgzOWI3L29wZXJhdGlvbnJlc3VsdHMvZXlKcWIySkpaQ0k2SWxKRlUwOVZVa05GUjFKUFZWQkVSVXhGVkVsUFRrcFBRaTFRVXpVM09UUXRWMFZUVkZWVElpd2lhbTlpVEc5allYUnBiMjRpT2lKM1pYTjBkWE1pZlE/YXBpLXZlcnNpb249MjAxNi0wOS0wMQ==",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "User-Agent": [
+ "FxVersion/4.6.28207.03",
+ "OSName/Windows",
+ "OSVersion/Microsoft.Windows.10.0.18363.",
+ "Microsoft.Azure.Management.Internal.Resources.ResourceManagementClient/1.3.5"
+ ]
+ },
+ "ResponseHeaders": {
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "Location": [
+ "https://management.azure.com/subscriptions/a724c543-53ce-44a6-b633-e11ef27839b7/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1QUzU3OTQtV0VTVFVTIiwiam9iTG9jYXRpb24iOiJ3ZXN0dXMifQ?api-version=2016-09-01"
+ ],
+ "Retry-After": [
+ "15"
+ ],
+ "x-ms-ratelimit-remaining-subscription-reads": [
+ "11997"
+ ],
+ "x-ms-request-id": [
+ "8beb8da5-a4c7-47e8-a970-8b341cf537f4"
+ ],
+ "x-ms-correlation-request-id": [
+ "8beb8da5-a4c7-47e8-a970-8b341cf537f4"
+ ],
+ "x-ms-routing-request-id": [
+ "WESTUS:20200209T130123Z:8beb8da5-a4c7-47e8-a970-8b341cf537f4"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "X-Content-Type-Options": [
+ "nosniff"
+ ],
+ "Date": [
+ "Sun, 09 Feb 2020 13:01:22 GMT"
+ ],
+ "Expires": [
+ "-1"
+ ],
+ "Content-Length": [
+ "0"
+ ]
+ },
+ "ResponseBody": "",
+ "StatusCode": 202
+ },
+ {
+ "RequestUri": "/subscriptions/a724c543-53ce-44a6-b633-e11ef27839b7/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1QUzU3OTQtV0VTVFVTIiwiam9iTG9jYXRpb24iOiJ3ZXN0dXMifQ?api-version=2016-09-01",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYTcyNGM1NDMtNTNjZS00NGE2LWI2MzMtZTExZWYyNzgzOWI3L29wZXJhdGlvbnJlc3VsdHMvZXlKcWIySkpaQ0k2SWxKRlUwOVZVa05GUjFKUFZWQkVSVXhGVkVsUFRrcFBRaTFRVXpVM09UUXRWMFZUVkZWVElpd2lhbTlpVEc5allYUnBiMjRpT2lKM1pYTjBkWE1pZlE/YXBpLXZlcnNpb249MjAxNi0wOS0wMQ==",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "User-Agent": [
+ "FxVersion/4.6.28207.03",
+ "OSName/Windows",
+ "OSVersion/Microsoft.Windows.10.0.18363.",
+ "Microsoft.Azure.Management.Internal.Resources.ResourceManagementClient/1.3.5"
+ ]
+ },
+ "ResponseHeaders": {
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "x-ms-ratelimit-remaining-subscription-reads": [
+ "11996"
+ ],
+ "x-ms-request-id": [
+ "e35cf98b-df81-4459-94ee-369db2316742"
+ ],
+ "x-ms-correlation-request-id": [
+ "e35cf98b-df81-4459-94ee-369db2316742"
+ ],
+ "x-ms-routing-request-id": [
+ "WESTUS:20200209T130138Z:e35cf98b-df81-4459-94ee-369db2316742"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "X-Content-Type-Options": [
+ "nosniff"
+ ],
+ "Date": [
+ "Sun, 09 Feb 2020 13:01:37 GMT"
+ ],
+ "Expires": [
+ "-1"
+ ],
+ "Content-Length": [
+ "0"
+ ]
+ },
+ "ResponseBody": "",
+ "StatusCode": 200
+ },
+ {
+ "RequestUri": "/subscriptions/a724c543-53ce-44a6-b633-e11ef27839b7/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1QUzU3OTQtV0VTVFVTIiwiam9iTG9jYXRpb24iOiJ3ZXN0dXMifQ?api-version=2016-09-01",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYTcyNGM1NDMtNTNjZS00NGE2LWI2MzMtZTExZWYyNzgzOWI3L29wZXJhdGlvbnJlc3VsdHMvZXlKcWIySkpaQ0k2SWxKRlUwOVZVa05GUjFKUFZWQkVSVXhGVkVsUFRrcFBRaTFRVXpVM09UUXRWMFZUVkZWVElpd2lhbTlpVEc5allYUnBiMjRpT2lKM1pYTjBkWE1pZlE/YXBpLXZlcnNpb249MjAxNi0wOS0wMQ==",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "User-Agent": [
+ "FxVersion/4.6.28207.03",
+ "OSName/Windows",
+ "OSVersion/Microsoft.Windows.10.0.18363.",
+ "Microsoft.Azure.Management.Internal.Resources.ResourceManagementClient/1.3.5"
+ ]
+ },
+ "ResponseHeaders": {
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "x-ms-ratelimit-remaining-subscription-reads": [
+ "11995"
+ ],
+ "x-ms-request-id": [
+ "a395fff9-7373-49b0-9e0f-0514d51a0deb"
+ ],
+ "x-ms-correlation-request-id": [
+ "a395fff9-7373-49b0-9e0f-0514d51a0deb"
+ ],
+ "x-ms-routing-request-id": [
+ "WESTUS:20200209T130138Z:a395fff9-7373-49b0-9e0f-0514d51a0deb"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "X-Content-Type-Options": [
+ "nosniff"
+ ],
+ "Date": [
+ "Sun, 09 Feb 2020 13:01:37 GMT"
+ ],
+ "Expires": [
+ "-1"
+ ],
+ "Content-Length": [
+ "0"
+ ]
+ },
+ "ResponseBody": "",
+ "StatusCode": 200
+ }
+ ],
+ "Names": {
+ "Test-ResetAttestationPolicy": [
+ "ps5765",
+ "ps1786",
+ "ps5794"
+ ]
+ },
+ "Variables": {
+ "SubscriptionId": "a724c543-53ce-44a6-b633-e11ef27839b7"
+ }
+}
\ No newline at end of file
diff --git a/src/Attestation/Attestation.Test/SessionRecords/Microsoft.Azure.Commands.Attestation.Test.ScenarioTests.AttstationPolicyTests/TestSetAttestationPolicy.json b/src/Attestation/Attestation.Test/SessionRecords/Microsoft.Azure.Commands.Attestation.Test.ScenarioTests.AttstationPolicyTests/TestSetAttestationPolicy.json
new file mode 100644
index 000000000000..bf82ccd453d2
--- /dev/null
+++ b/src/Attestation/Attestation.Test/SessionRecords/Microsoft.Azure.Commands.Attestation.Test.ScenarioTests.AttstationPolicyTests/TestSetAttestationPolicy.json
@@ -0,0 +1,641 @@
+{
+ "Entries": [
+ {
+ "RequestUri": "/subscriptions/a724c543-53ce-44a6-b633-e11ef27839b7/resourcegroups/ps3562?api-version=2016-09-01",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYTcyNGM1NDMtNTNjZS00NGE2LWI2MzMtZTExZWYyNzgzOWI3L3Jlc291cmNlZ3JvdXBzL3BzMzU2Mj9hcGktdmVyc2lvbj0yMDE2LTA5LTAx",
+ "RequestMethod": "PUT",
+ "RequestBody": "{\r\n \"location\": \"WestUS\"\r\n}",
+ "RequestHeaders": {
+ "x-ms-client-request-id": [
+ "ce9df934-855f-44c7-b2a1-78e113e9f47f"
+ ],
+ "Accept-Language": [
+ "en-US"
+ ],
+ "User-Agent": [
+ "FxVersion/4.6.28207.03",
+ "OSName/Windows",
+ "OSVersion/Microsoft.Windows.10.0.18363.",
+ "Microsoft.Azure.Management.Internal.Resources.ResourceManagementClient/1.3.5"
+ ],
+ "Content-Type": [
+ "application/json; charset=utf-8"
+ ],
+ "Content-Length": [
+ "28"
+ ]
+ },
+ "ResponseHeaders": {
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "x-ms-ratelimit-remaining-subscription-writes": [
+ "1199"
+ ],
+ "x-ms-request-id": [
+ "c1353445-2e10-41e7-ba1f-ac2e9d951005"
+ ],
+ "x-ms-correlation-request-id": [
+ "c1353445-2e10-41e7-ba1f-ac2e9d951005"
+ ],
+ "x-ms-routing-request-id": [
+ "WESTUS:20200208T160159Z:c1353445-2e10-41e7-ba1f-ac2e9d951005"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "X-Content-Type-Options": [
+ "nosniff"
+ ],
+ "Date": [
+ "Sat, 08 Feb 2020 16:01:58 GMT"
+ ],
+ "Content-Length": [
+ "165"
+ ],
+ "Content-Type": [
+ "application/json; charset=utf-8"
+ ],
+ "Expires": [
+ "-1"
+ ]
+ },
+ "ResponseBody": "{\r\n \"id\": \"/subscriptions/a724c543-53ce-44a6-b633-e11ef27839b7/resourceGroups/ps3562\",\r\n \"name\": \"ps3562\",\r\n \"location\": \"westus\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n}",
+ "StatusCode": 201
+ },
+ {
+ "RequestUri": "/subscriptions/a724c543-53ce-44a6-b633-e11ef27839b7/resourceGroups/ps3562/providers/Microsoft.Attestation/attestationProviders/ps6919?api-version=2018-09-01-preview",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYTcyNGM1NDMtNTNjZS00NGE2LWI2MzMtZTExZWYyNzgzOWI3L3Jlc291cmNlR3JvdXBzL3BzMzU2Mi9wcm92aWRlcnMvTWljcm9zb2Z0LkF0dGVzdGF0aW9uL2F0dGVzdGF0aW9uUHJvdmlkZXJzL3BzNjkxOT9hcGktdmVyc2lvbj0yMDE4LTA5LTAxLXByZXZpZXc=",
+ "RequestMethod": "PUT",
+ "RequestBody": "{\r\n \"attestationPolicy\": \"SgxDisableDebugMode\"\r\n}",
+ "RequestHeaders": {
+ "x-ms-client-request-id": [
+ "2986fc8a-3098-4125-9314-090252a95ebc"
+ ],
+ "Accept-Language": [
+ "en-US"
+ ],
+ "User-Agent": [
+ "FxVersion/4.6.28207.03",
+ "OSName/Windows",
+ "OSVersion/Microsoft.Windows.10.0.18363.",
+ "Microsoft.Azure.Management.Attestation.AttestationManagementClient/0.9.6.0"
+ ],
+ "Content-Type": [
+ "application/json; charset=utf-8"
+ ],
+ "Content-Length": [
+ "50"
+ ]
+ },
+ "ResponseHeaders": {
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "Location": [
+ "https://ps6919.us.attest.azure.net/"
+ ],
+ "x-ms-ratelimit-remaining-subscription-writes": [
+ "1199"
+ ],
+ "Server": [
+ "Kestrel"
+ ],
+ "WWW-Authenticate": [
+ "Bearer authorization_uri=\"https://login.windows.net/72f988bf-86f1-41af-91ab-2d7cd011db47\", resource=\"https://attest.azure.net\""
+ ],
+ "x-ms-request-id": [
+ "9af446a6-5404-46a5-8eac-a698cf1af433"
+ ],
+ "x-ms-correlation-request-id": [
+ "9af446a6-5404-46a5-8eac-a698cf1af433"
+ ],
+ "x-ms-routing-request-id": [
+ "WESTUS:20200208T160202Z:9af446a6-5404-46a5-8eac-a698cf1af433"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "X-Content-Type-Options": [
+ "nosniff"
+ ],
+ "Date": [
+ "Sat, 08 Feb 2020 16:02:02 GMT"
+ ],
+ "Content-Length": [
+ "290"
+ ],
+ "Content-Type": [
+ "application/json; charset=utf-8"
+ ],
+ "Expires": [
+ "-1"
+ ]
+ },
+ "ResponseBody": "{\r\n \"id\": \"subscriptions/a724c543-53ce-44a6-b633-e11ef27839b7/resourceGroups/ps3562/providers/Microsoft.Attestation/attestationProviders/ps6919\",\r\n \"name\": \"ps6919\",\r\n \"type\": \"Microsoft.Attestation/attestationProviders\",\r\n \"properties\": {\r\n \"status\": \"Ready\",\r\n \"attestUri\": \"https://ps6919.us.attest.azure.net\"\r\n }\r\n}",
+ "StatusCode": 201
+ },
+ {
+ "RequestUri": "/subscriptions/a724c543-53ce-44a6-b633-e11ef27839b7/resourceGroups/ps3562/providers/Microsoft.Attestation/attestationProviders/ps6919?api-version=2018-09-01-preview",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYTcyNGM1NDMtNTNjZS00NGE2LWI2MzMtZTExZWYyNzgzOWI3L3Jlc291cmNlR3JvdXBzL3BzMzU2Mi9wcm92aWRlcnMvTWljcm9zb2Z0LkF0dGVzdGF0aW9uL2F0dGVzdGF0aW9uUHJvdmlkZXJzL3BzNjkxOT9hcGktdmVyc2lvbj0yMDE4LTA5LTAxLXByZXZpZXc=",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "x-ms-client-request-id": [
+ "d439f77f-4102-4be4-8760-1395129e4235"
+ ],
+ "Accept-Language": [
+ "en-US"
+ ],
+ "User-Agent": [
+ "FxVersion/4.6.28207.03",
+ "OSName/Windows",
+ "OSVersion/Microsoft.Windows.10.0.18363.",
+ "Microsoft.Azure.Management.Attestation.AttestationManagementClient/0.9.6.0"
+ ]
+ },
+ "ResponseHeaders": {
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "x-ms-ratelimit-remaining-subscription-reads": [
+ "11999"
+ ],
+ "Server": [
+ "Kestrel"
+ ],
+ "WWW-Authenticate": [
+ "Bearer authorization_uri=\"https://login.windows.net/72f988bf-86f1-41af-91ab-2d7cd011db47\", resource=\"https://attest.azure.net\""
+ ],
+ "x-ms-request-id": [
+ "ac4241ce-528a-4a60-9fbb-018e5723846d"
+ ],
+ "x-ms-correlation-request-id": [
+ "ac4241ce-528a-4a60-9fbb-018e5723846d"
+ ],
+ "x-ms-routing-request-id": [
+ "WESTUS:20200208T160202Z:ac4241ce-528a-4a60-9fbb-018e5723846d"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "X-Content-Type-Options": [
+ "nosniff"
+ ],
+ "Date": [
+ "Sat, 08 Feb 2020 16:02:02 GMT"
+ ],
+ "Content-Length": [
+ "290"
+ ],
+ "Content-Type": [
+ "application/json; charset=utf-8"
+ ],
+ "Expires": [
+ "-1"
+ ]
+ },
+ "ResponseBody": "{\r\n \"id\": \"subscriptions/a724c543-53ce-44a6-b633-e11ef27839b7/resourceGroups/ps3562/providers/Microsoft.Attestation/attestationProviders/ps6919\",\r\n \"name\": \"ps6919\",\r\n \"type\": \"Microsoft.Attestation/attestationProviders\",\r\n \"properties\": {\r\n \"status\": \"Ready\",\r\n \"attestUri\": \"https://ps6919.us.attest.azure.net\"\r\n }\r\n}",
+ "StatusCode": 200
+ },
+ {
+ "RequestUri": "/operations/policy/updatepolicy?api-version=2018-09-01-preview&tee=SgxEnclave",
+ "EncodedRequestUri": "L29wZXJhdGlvbnMvcG9saWN5L3VwZGF0ZXBvbGljeT9hcGktdmVyc2lvbj0yMDE4LTA5LTAxLXByZXZpZXcmdGVlPVNneEVuY2xhdmU=",
+ "RequestMethod": "POST",
+ "RequestBody": "\"eyJhbGciOiJub25lIn0.eyJBdHRlc3RhdGlvblBvbGljeSI6ICJ7XHJcbiAgICBcIiR2ZXJzaW9uXCI6IDEsXHJcbiAgICBcIiRhbGxvdy1kZWJ1Z2dhYmxlXCIgOiB0cnVlLFxyXG4gICAgXCIkY2xhaW1zXCI6W1xyXG4gICAgICAgIFwiaXMtZGVidWdnYWJsZVwiICxcclxuICAgICAgICBcInNneC1tcnNpZ25lclwiLFxyXG4gICAgICAgIFwic2d4LW1yZW5jbGF2ZVwiLFxyXG4gICAgICAgIFwicHJvZHVjdC1pZFwiLFxyXG4gICAgICAgIFwic3ZuXCIsXHJcbiAgICAgICAgXCJ0ZWVcIixcclxuICAgICAgICBcIk5vdERlYnVnZ2FibGVcIlxyXG4gICAgXSxcclxuICAgIFwiTm90RGVidWdnYWJsZVwiOiB7XCJ5ZXNcIjp7XCIkaXMtZGVidWdnYWJsZVwiOnRydWUsIFwiJG1hbmRhdG9yeVwiOnRydWUsIFwiJHZpc2libGVcIjpmYWxzZX19LFxyXG4gICAgXCJpcy1kZWJ1Z2dhYmxlXCIgOiBcIiRpcy1kZWJ1Z2dhYmxlXCIsXHJcbiAgICBcInNneC1tcnNpZ25lclwiIDogXCIkc2d4LW1yc2lnbmVyXCIsXHJcbiAgICBcInNneC1tcmVuY2xhdmVcIiA6IFwiJHNneC1tcmVuY2xhdmVcIixcclxuICAgIFwicHJvZHVjdC1pZFwiIDogXCIkcHJvZHVjdC1pZFwiLFxyXG4gICAgXCJzdm5cIiA6IFwiJHN2blwiLFxyXG4gICAgXCJ0ZWVcIiA6IFwiJHRlZVwiXHJcbn0ifQ.\"",
+ "RequestHeaders": {
+ "x-ms-client-request-id": [
+ "f14d4815-58ec-4f13-bb28-c842c29f4d1b"
+ ],
+ "Accept-Language": [
+ "en-US"
+ ],
+ "User-Agent": [
+ "FxVersion/4.6.28207.03",
+ "OSName/Windows",
+ "OSVersion/Microsoft.Windows.10.0.18363.",
+ "Microsoft.Azure.Attestation.AttestationClient/0.900.20.5901"
+ ],
+ "Content-Type": [
+ "text/plain"
+ ],
+ "Content-Length": [
+ "885"
+ ]
+ },
+ "ResponseHeaders": {
+ "Date": [
+ "Sat, 08 Feb 2020 16:02:03 GMT"
+ ],
+ "Server": [
+ "Kestrel"
+ ],
+ "Content-Type": [
+ "application/json; charset=utf-8"
+ ],
+ "Content-Length": [
+ "751"
+ ]
+ },
+ "ResponseBody": "\"eyJhbGciOiAiUlMyNTYiLCAiamt1IjogImh0dHBzOi8vcHM2OTE5LnVzLmF0dGVzdC5henVyZS5uZXQvY2VydHMiLCAia2lkIjogIkRwd1lXWWxabmJxOXVtaEhCWU1PTGo3RGJ4cUF6ZUtnaWVNVHdVNEZZZFU9IiwgInR5cCI6ICJKV1QifQ.eyJhYXMtcG9saWN5SGFzaCI6ICJ2MG9QNG9KWkVKWnh4SXhFNmJiVVAxa1JSbWVfZXgtUHV4NlF0c1U4STdNIiwgImV4cCI6IDE1ODExODEzMjMsICJpYXQiOiAxNTgxMTc3NzIzLCAiaXNzIjogImh0dHBzOi8vcHM2OTE5LnVzLmF0dGVzdC5henVyZS5uZXQiLCAibmJmIjogMTU4MTE3NzcyM30.Who0p2eluDdFOHw3vjTu1zXcpI6tRjciD5UsFabAALRkQnU53D18C1HCi1y3gEbGr6ff66SCeSPjgD5jVR5xy6OWMxQv5-9vevdm1sz8YXYslMrxoiYEqqHP-iJhWLKUjI8bOnK-hhGQzueQy2G3UQsfGgqT0Hdh4zFWFniRFfWBpsdSKjpfTuzgn2P9-ErBLvuplu-drWs1p5vBWArEIFBPUjQFm6ezlyfx_lHF1OF046BUVDyEcwiSVOY6iWaqJuxVC3vQzNt-g7vExiVtOI9Xde0SuULyMRc7Uy653dccLGdUHfMxDox73EK0LajxCgssUmf1Ars1RZyVqgkdww\"",
+ "StatusCode": 200
+ },
+ {
+ "RequestUri": "/operations/policy/current?api-version=2018-09-01-preview&tee=SgxEnclave",
+ "EncodedRequestUri": "L29wZXJhdGlvbnMvcG9saWN5L2N1cnJlbnQ/YXBpLXZlcnNpb249MjAxOC0wOS0wMS1wcmV2aWV3JnRlZT1TZ3hFbmNsYXZl",
+ "RequestMethod": "PUT",
+ "RequestBody": "\"eyJhbGciOiAiUlMyNTYiLCAiamt1IjogImh0dHBzOi8vcHM2OTE5LnVzLmF0dGVzdC5henVyZS5uZXQvY2VydHMiLCAia2lkIjogIkRwd1lXWWxabmJxOXVtaEhCWU1PTGo3RGJ4cUF6ZUtnaWVNVHdVNEZZZFU9IiwgInR5cCI6ICJKV1QifQ.eyJhYXMtcG9saWN5SGFzaCI6ICJ2MG9QNG9KWkVKWnh4SXhFNmJiVVAxa1JSbWVfZXgtUHV4NlF0c1U4STdNIiwgImV4cCI6IDE1ODExODEzMjMsICJpYXQiOiAxNTgxMTc3NzIzLCAiaXNzIjogImh0dHBzOi8vcHM2OTE5LnVzLmF0dGVzdC5henVyZS5uZXQiLCAibmJmIjogMTU4MTE3NzcyM30.Who0p2eluDdFOHw3vjTu1zXcpI6tRjciD5UsFabAALRkQnU53D18C1HCi1y3gEbGr6ff66SCeSPjgD5jVR5xy6OWMxQv5-9vevdm1sz8YXYslMrxoiYEqqHP-iJhWLKUjI8bOnK-hhGQzueQy2G3UQsfGgqT0Hdh4zFWFniRFfWBpsdSKjpfTuzgn2P9-ErBLvuplu-drWs1p5vBWArEIFBPUjQFm6ezlyfx_lHF1OF046BUVDyEcwiSVOY6iWaqJuxVC3vQzNt-g7vExiVtOI9Xde0SuULyMRc7Uy653dccLGdUHfMxDox73EK0LajxCgssUmf1Ars1RZyVqgkdww\"",
+ "RequestHeaders": {
+ "x-ms-client-request-id": [
+ "d126a16b-83d5-433d-a39f-b9bb574b1ad1"
+ ],
+ "Accept-Language": [
+ "en-US"
+ ],
+ "User-Agent": [
+ "FxVersion/4.6.28207.03",
+ "OSName/Windows",
+ "OSVersion/Microsoft.Windows.10.0.18363.",
+ "Microsoft.Azure.Attestation.AttestationClient/0.900.20.5901"
+ ],
+ "Content-Type": [
+ "text/plain"
+ ],
+ "Content-Length": [
+ "751"
+ ]
+ },
+ "ResponseHeaders": {
+ "Date": [
+ "Sat, 08 Feb 2020 16:02:05 GMT"
+ ],
+ "Server": [
+ "Kestrel"
+ ],
+ "Content-Type": [
+ "application/json; charset=utf-8"
+ ],
+ "Content-Length": [
+ "4"
+ ]
+ },
+ "ResponseBody": "null",
+ "StatusCode": 200
+ },
+ {
+ "RequestUri": "/subscriptions/a724c543-53ce-44a6-b633-e11ef27839b7/resourcegroups/ps3562?api-version=2016-09-01",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYTcyNGM1NDMtNTNjZS00NGE2LWI2MzMtZTExZWYyNzgzOWI3L3Jlc291cmNlZ3JvdXBzL3BzMzU2Mj9hcGktdmVyc2lvbj0yMDE2LTA5LTAx",
+ "RequestMethod": "DELETE",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "x-ms-client-request-id": [
+ "14c7617a-ffbf-4c05-8fec-5576f9e1ba44"
+ ],
+ "Accept-Language": [
+ "en-US"
+ ],
+ "User-Agent": [
+ "FxVersion/4.6.28207.03",
+ "OSName/Windows",
+ "OSVersion/Microsoft.Windows.10.0.18363.",
+ "Microsoft.Azure.Management.Internal.Resources.ResourceManagementClient/1.3.5"
+ ]
+ },
+ "ResponseHeaders": {
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "Location": [
+ "https://management.azure.com/subscriptions/a724c543-53ce-44a6-b633-e11ef27839b7/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1QUzM1NjItV0VTVFVTIiwiam9iTG9jYXRpb24iOiJ3ZXN0dXMifQ?api-version=2016-09-01"
+ ],
+ "Retry-After": [
+ "15"
+ ],
+ "x-ms-ratelimit-remaining-subscription-deletes": [
+ "14999"
+ ],
+ "x-ms-request-id": [
+ "b33af771-5dc3-4158-8259-2563799121a2"
+ ],
+ "x-ms-correlation-request-id": [
+ "b33af771-5dc3-4158-8259-2563799121a2"
+ ],
+ "x-ms-routing-request-id": [
+ "WESTUS:20200208T160205Z:b33af771-5dc3-4158-8259-2563799121a2"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "X-Content-Type-Options": [
+ "nosniff"
+ ],
+ "Date": [
+ "Sat, 08 Feb 2020 16:02:04 GMT"
+ ],
+ "Expires": [
+ "-1"
+ ],
+ "Content-Length": [
+ "0"
+ ]
+ },
+ "ResponseBody": "",
+ "StatusCode": 202
+ },
+ {
+ "RequestUri": "/subscriptions/a724c543-53ce-44a6-b633-e11ef27839b7/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1QUzM1NjItV0VTVFVTIiwiam9iTG9jYXRpb24iOiJ3ZXN0dXMifQ?api-version=2016-09-01",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYTcyNGM1NDMtNTNjZS00NGE2LWI2MzMtZTExZWYyNzgzOWI3L29wZXJhdGlvbnJlc3VsdHMvZXlKcWIySkpaQ0k2SWxKRlUwOVZVa05GUjFKUFZWQkVSVXhGVkVsUFRrcFBRaTFRVXpNMU5qSXRWMFZUVkZWVElpd2lhbTlpVEc5allYUnBiMjRpT2lKM1pYTjBkWE1pZlE/YXBpLXZlcnNpb249MjAxNi0wOS0wMQ==",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "User-Agent": [
+ "FxVersion/4.6.28207.03",
+ "OSName/Windows",
+ "OSVersion/Microsoft.Windows.10.0.18363.",
+ "Microsoft.Azure.Management.Internal.Resources.ResourceManagementClient/1.3.5"
+ ]
+ },
+ "ResponseHeaders": {
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "Location": [
+ "https://management.azure.com/subscriptions/a724c543-53ce-44a6-b633-e11ef27839b7/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1QUzM1NjItV0VTVFVTIiwiam9iTG9jYXRpb24iOiJ3ZXN0dXMifQ?api-version=2016-09-01"
+ ],
+ "Retry-After": [
+ "15"
+ ],
+ "x-ms-ratelimit-remaining-subscription-reads": [
+ "11999"
+ ],
+ "x-ms-request-id": [
+ "6f4e4b17-0ad3-448e-a3e7-4a6416c36554"
+ ],
+ "x-ms-correlation-request-id": [
+ "6f4e4b17-0ad3-448e-a3e7-4a6416c36554"
+ ],
+ "x-ms-routing-request-id": [
+ "WESTUS:20200208T160220Z:6f4e4b17-0ad3-448e-a3e7-4a6416c36554"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "X-Content-Type-Options": [
+ "nosniff"
+ ],
+ "Date": [
+ "Sat, 08 Feb 2020 16:02:19 GMT"
+ ],
+ "Expires": [
+ "-1"
+ ],
+ "Content-Length": [
+ "0"
+ ]
+ },
+ "ResponseBody": "",
+ "StatusCode": 202
+ },
+ {
+ "RequestUri": "/subscriptions/a724c543-53ce-44a6-b633-e11ef27839b7/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1QUzM1NjItV0VTVFVTIiwiam9iTG9jYXRpb24iOiJ3ZXN0dXMifQ?api-version=2016-09-01",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYTcyNGM1NDMtNTNjZS00NGE2LWI2MzMtZTExZWYyNzgzOWI3L29wZXJhdGlvbnJlc3VsdHMvZXlKcWIySkpaQ0k2SWxKRlUwOVZVa05GUjFKUFZWQkVSVXhGVkVsUFRrcFBRaTFRVXpNMU5qSXRWMFZUVkZWVElpd2lhbTlpVEc5allYUnBiMjRpT2lKM1pYTjBkWE1pZlE/YXBpLXZlcnNpb249MjAxNi0wOS0wMQ==",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "User-Agent": [
+ "FxVersion/4.6.28207.03",
+ "OSName/Windows",
+ "OSVersion/Microsoft.Windows.10.0.18363.",
+ "Microsoft.Azure.Management.Internal.Resources.ResourceManagementClient/1.3.5"
+ ]
+ },
+ "ResponseHeaders": {
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "Location": [
+ "https://management.azure.com/subscriptions/a724c543-53ce-44a6-b633-e11ef27839b7/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1QUzM1NjItV0VTVFVTIiwiam9iTG9jYXRpb24iOiJ3ZXN0dXMifQ?api-version=2016-09-01"
+ ],
+ "Retry-After": [
+ "15"
+ ],
+ "x-ms-ratelimit-remaining-subscription-reads": [
+ "11998"
+ ],
+ "x-ms-request-id": [
+ "e57d8ca7-9e02-4492-9be0-3fcb164c21fd"
+ ],
+ "x-ms-correlation-request-id": [
+ "e57d8ca7-9e02-4492-9be0-3fcb164c21fd"
+ ],
+ "x-ms-routing-request-id": [
+ "WESTUS:20200208T160235Z:e57d8ca7-9e02-4492-9be0-3fcb164c21fd"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "X-Content-Type-Options": [
+ "nosniff"
+ ],
+ "Date": [
+ "Sat, 08 Feb 2020 16:02:34 GMT"
+ ],
+ "Expires": [
+ "-1"
+ ],
+ "Content-Length": [
+ "0"
+ ]
+ },
+ "ResponseBody": "",
+ "StatusCode": 202
+ },
+ {
+ "RequestUri": "/subscriptions/a724c543-53ce-44a6-b633-e11ef27839b7/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1QUzM1NjItV0VTVFVTIiwiam9iTG9jYXRpb24iOiJ3ZXN0dXMifQ?api-version=2016-09-01",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYTcyNGM1NDMtNTNjZS00NGE2LWI2MzMtZTExZWYyNzgzOWI3L29wZXJhdGlvbnJlc3VsdHMvZXlKcWIySkpaQ0k2SWxKRlUwOVZVa05GUjFKUFZWQkVSVXhGVkVsUFRrcFBRaTFRVXpNMU5qSXRWMFZUVkZWVElpd2lhbTlpVEc5allYUnBiMjRpT2lKM1pYTjBkWE1pZlE/YXBpLXZlcnNpb249MjAxNi0wOS0wMQ==",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "User-Agent": [
+ "FxVersion/4.6.28207.03",
+ "OSName/Windows",
+ "OSVersion/Microsoft.Windows.10.0.18363.",
+ "Microsoft.Azure.Management.Internal.Resources.ResourceManagementClient/1.3.5"
+ ]
+ },
+ "ResponseHeaders": {
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "Location": [
+ "https://management.azure.com/subscriptions/a724c543-53ce-44a6-b633-e11ef27839b7/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1QUzM1NjItV0VTVFVTIiwiam9iTG9jYXRpb24iOiJ3ZXN0dXMifQ?api-version=2016-09-01"
+ ],
+ "Retry-After": [
+ "15"
+ ],
+ "x-ms-ratelimit-remaining-subscription-reads": [
+ "11997"
+ ],
+ "x-ms-request-id": [
+ "4c41cf56-de77-465b-8910-b93dfbe4cb44"
+ ],
+ "x-ms-correlation-request-id": [
+ "4c41cf56-de77-465b-8910-b93dfbe4cb44"
+ ],
+ "x-ms-routing-request-id": [
+ "WESTUS:20200208T160250Z:4c41cf56-de77-465b-8910-b93dfbe4cb44"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "X-Content-Type-Options": [
+ "nosniff"
+ ],
+ "Date": [
+ "Sat, 08 Feb 2020 16:02:50 GMT"
+ ],
+ "Expires": [
+ "-1"
+ ],
+ "Content-Length": [
+ "0"
+ ]
+ },
+ "ResponseBody": "",
+ "StatusCode": 202
+ },
+ {
+ "RequestUri": "/subscriptions/a724c543-53ce-44a6-b633-e11ef27839b7/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1QUzM1NjItV0VTVFVTIiwiam9iTG9jYXRpb24iOiJ3ZXN0dXMifQ?api-version=2016-09-01",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYTcyNGM1NDMtNTNjZS00NGE2LWI2MzMtZTExZWYyNzgzOWI3L29wZXJhdGlvbnJlc3VsdHMvZXlKcWIySkpaQ0k2SWxKRlUwOVZVa05GUjFKUFZWQkVSVXhGVkVsUFRrcFBRaTFRVXpNMU5qSXRWMFZUVkZWVElpd2lhbTlpVEc5allYUnBiMjRpT2lKM1pYTjBkWE1pZlE/YXBpLXZlcnNpb249MjAxNi0wOS0wMQ==",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "User-Agent": [
+ "FxVersion/4.6.28207.03",
+ "OSName/Windows",
+ "OSVersion/Microsoft.Windows.10.0.18363.",
+ "Microsoft.Azure.Management.Internal.Resources.ResourceManagementClient/1.3.5"
+ ]
+ },
+ "ResponseHeaders": {
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "x-ms-ratelimit-remaining-subscription-reads": [
+ "11996"
+ ],
+ "x-ms-request-id": [
+ "e1d1009f-5aa0-4e6c-93f9-756a0dbad3a5"
+ ],
+ "x-ms-correlation-request-id": [
+ "e1d1009f-5aa0-4e6c-93f9-756a0dbad3a5"
+ ],
+ "x-ms-routing-request-id": [
+ "WESTUS:20200208T160305Z:e1d1009f-5aa0-4e6c-93f9-756a0dbad3a5"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "X-Content-Type-Options": [
+ "nosniff"
+ ],
+ "Date": [
+ "Sat, 08 Feb 2020 16:03:05 GMT"
+ ],
+ "Expires": [
+ "-1"
+ ],
+ "Content-Length": [
+ "0"
+ ]
+ },
+ "ResponseBody": "",
+ "StatusCode": 200
+ },
+ {
+ "RequestUri": "/subscriptions/a724c543-53ce-44a6-b633-e11ef27839b7/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1QUzM1NjItV0VTVFVTIiwiam9iTG9jYXRpb24iOiJ3ZXN0dXMifQ?api-version=2016-09-01",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYTcyNGM1NDMtNTNjZS00NGE2LWI2MzMtZTExZWYyNzgzOWI3L29wZXJhdGlvbnJlc3VsdHMvZXlKcWIySkpaQ0k2SWxKRlUwOVZVa05GUjFKUFZWQkVSVXhGVkVsUFRrcFBRaTFRVXpNMU5qSXRWMFZUVkZWVElpd2lhbTlpVEc5allYUnBiMjRpT2lKM1pYTjBkWE1pZlE/YXBpLXZlcnNpb249MjAxNi0wOS0wMQ==",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "User-Agent": [
+ "FxVersion/4.6.28207.03",
+ "OSName/Windows",
+ "OSVersion/Microsoft.Windows.10.0.18363.",
+ "Microsoft.Azure.Management.Internal.Resources.ResourceManagementClient/1.3.5"
+ ]
+ },
+ "ResponseHeaders": {
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "x-ms-ratelimit-remaining-subscription-reads": [
+ "11995"
+ ],
+ "x-ms-request-id": [
+ "2e1710b5-8abb-47df-b61f-54a7f01b8c3a"
+ ],
+ "x-ms-correlation-request-id": [
+ "2e1710b5-8abb-47df-b61f-54a7f01b8c3a"
+ ],
+ "x-ms-routing-request-id": [
+ "WESTUS:20200208T160305Z:2e1710b5-8abb-47df-b61f-54a7f01b8c3a"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "X-Content-Type-Options": [
+ "nosniff"
+ ],
+ "Date": [
+ "Sat, 08 Feb 2020 16:03:05 GMT"
+ ],
+ "Expires": [
+ "-1"
+ ],
+ "Content-Length": [
+ "0"
+ ]
+ },
+ "ResponseBody": "",
+ "StatusCode": 200
+ }
+ ],
+ "Names": {
+ "Test-SetAttestationPolicy": [
+ "ps965",
+ "ps6919",
+ "ps3562"
+ ]
+ },
+ "Variables": {
+ "SubscriptionId": "a724c543-53ce-44a6-b633-e11ef27839b7"
+ }
+}
\ No newline at end of file
diff --git a/src/Attestation/Attestation.Test/SessionRecords/Microsoft.Azure.Commands.Attestation.Test.ScenarioTests.AttstationTests/TestCreateAttestation.json b/src/Attestation/Attestation.Test/SessionRecords/Microsoft.Azure.Commands.Attestation.Test.ScenarioTests.AttstationTests/TestCreateAttestation.json
index ddb96fa158ed..3042a000bb5d 100644
--- a/src/Attestation/Attestation.Test/SessionRecords/Microsoft.Azure.Commands.Attestation.Test.ScenarioTests.AttstationTests/TestCreateAttestation.json
+++ b/src/Attestation/Attestation.Test/SessionRecords/Microsoft.Azure.Commands.Attestation.Test.ScenarioTests.AttstationTests/TestCreateAttestation.json
@@ -1,22 +1,22 @@
{
"Entries": [
{
- "RequestUri": "/subscriptions/a724c543-53ce-44a6-b633-e11ef27839b7/resourcegroups/ps6632?api-version=2016-09-01",
- "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYTcyNGM1NDMtNTNjZS00NGE2LWI2MzMtZTExZWYyNzgzOWI3L3Jlc291cmNlZ3JvdXBzL3BzNjYzMj9hcGktdmVyc2lvbj0yMDE2LTA5LTAx",
+ "RequestUri": "/subscriptions/a724c543-53ce-44a6-b633-e11ef27839b7/resourcegroups/ps8827?api-version=2016-09-01",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYTcyNGM1NDMtNTNjZS00NGE2LWI2MzMtZTExZWYyNzgzOWI3L3Jlc291cmNlZ3JvdXBzL3BzODgyNz9hcGktdmVyc2lvbj0yMDE2LTA5LTAx",
"RequestMethod": "PUT",
"RequestBody": "{\r\n \"location\": \"WestUS\"\r\n}",
"RequestHeaders": {
"x-ms-client-request-id": [
- "fdd2b237-36f4-43db-8ee4-5b1892cd6c93"
+ "7a7ee45b-1e6f-4e53-a0f0-4067e0ed0eb4"
],
"Accept-Language": [
"en-US"
],
"User-Agent": [
- "FxVersion/4.6.27617.04",
+ "FxVersion/4.6.28207.03",
"OSName/Windows",
- "OSVersion/Microsoft.Windows.10.0.17763.",
- "Microsoft.Azure.Management.Internal.Resources.ResourceManagementClient/1.2.0"
+ "OSVersion/Microsoft.Windows.10.0.18363.",
+ "Microsoft.Azure.Management.Internal.Resources.ResourceManagementClient/1.3.5"
],
"Content-Type": [
"application/json; charset=utf-8"
@@ -36,13 +36,13 @@
"1199"
],
"x-ms-request-id": [
- "8649a33e-e83e-4059-a75a-db6bd2a26f32"
+ "18e47224-f2d4-444f-a419-42776271fbd2"
],
"x-ms-correlation-request-id": [
- "8649a33e-e83e-4059-a75a-db6bd2a26f32"
+ "18e47224-f2d4-444f-a419-42776271fbd2"
],
"x-ms-routing-request-id": [
- "WESTUS:20190628T211721Z:8649a33e-e83e-4059-a75a-db6bd2a26f32"
+ "WESTUS:20200209T130231Z:18e47224-f2d4-444f-a419-42776271fbd2"
],
"Strict-Transport-Security": [
"max-age=31536000; includeSubDomains"
@@ -51,7 +51,7 @@
"nosniff"
],
"Date": [
- "Fri, 28 Jun 2019 21:17:20 GMT"
+ "Sun, 09 Feb 2020 13:02:30 GMT"
],
"Content-Length": [
"165"
@@ -63,26 +63,26 @@
"-1"
]
},
- "ResponseBody": "{\r\n \"id\": \"/subscriptions/a724c543-53ce-44a6-b633-e11ef27839b7/resourceGroups/ps6632\",\r\n \"name\": \"ps6632\",\r\n \"location\": \"westus\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n}",
+ "ResponseBody": "{\r\n \"id\": \"/subscriptions/a724c543-53ce-44a6-b633-e11ef27839b7/resourceGroups/ps8827\",\r\n \"name\": \"ps8827\",\r\n \"location\": \"westus\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n}",
"StatusCode": 201
},
{
- "RequestUri": "/subscriptions/a724c543-53ce-44a6-b633-e11ef27839b7/resourceGroups/ps6632/providers/Microsoft.Attestation/attestationProviders/ps4258?api-version=2018-09-01-preview",
- "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYTcyNGM1NDMtNTNjZS00NGE2LWI2MzMtZTExZWYyNzgzOWI3L3Jlc291cmNlR3JvdXBzL3BzNjYzMi9wcm92aWRlcnMvTWljcm9zb2Z0LkF0dGVzdGF0aW9uL2F0dGVzdGF0aW9uUHJvdmlkZXJzL3BzNDI1OD9hcGktdmVyc2lvbj0yMDE4LTA5LTAxLXByZXZpZXc=",
+ "RequestUri": "/subscriptions/a724c543-53ce-44a6-b633-e11ef27839b7/resourceGroups/ps8827/providers/Microsoft.Attestation/attestationProviders/ps8281?api-version=2018-09-01-preview",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYTcyNGM1NDMtNTNjZS00NGE2LWI2MzMtZTExZWYyNzgzOWI3L3Jlc291cmNlR3JvdXBzL3BzODgyNy9wcm92aWRlcnMvTWljcm9zb2Z0LkF0dGVzdGF0aW9uL2F0dGVzdGF0aW9uUHJvdmlkZXJzL3BzODI4MT9hcGktdmVyc2lvbj0yMDE4LTA5LTAxLXByZXZpZXc=",
"RequestMethod": "PUT",
"RequestBody": "{\r\n \"attestationPolicy\": \"SgxDisableDebugMode\"\r\n}",
"RequestHeaders": {
"x-ms-client-request-id": [
- "8fd6321f-76fb-402c-8ffd-6502a6827cd9"
+ "a71f18fd-c9d7-4af5-91c6-1b6851aeafba"
],
"Accept-Language": [
"en-US"
],
"User-Agent": [
- "FxVersion/4.6.27617.04",
+ "FxVersion/4.6.28207.03",
"OSName/Windows",
- "OSVersion/Microsoft.Windows.10.0.17763.",
- "Microsoft.Azure.Management.Attestation.AttestationManagementClient/0.9.5.0"
+ "OSVersion/Microsoft.Windows.10.0.18363.",
+ "Microsoft.Azure.Management.Attestation.AttestationManagementClient/0.9.6.0"
],
"Content-Type": [
"application/json; charset=utf-8"
@@ -99,7 +99,7 @@
"no-cache"
],
"Location": [
- "fabric:/AttestationService/Tenant/ps4258"
+ "https://ps8281.us.attest.azure.net/"
],
"x-ms-ratelimit-remaining-subscription-writes": [
"1199"
@@ -107,14 +107,17 @@
"Server": [
"Kestrel"
],
+ "WWW-Authenticate": [
+ "Bearer authorization_uri=\"https://login.windows.net/72f988bf-86f1-41af-91ab-2d7cd011db47\", resource=\"https://attest.azure.net\""
+ ],
"x-ms-request-id": [
- "b3125621-b24f-4934-9033-21176c202bc8"
+ "a1b1cbfe-ee73-40c7-9ec2-0f723aef4354"
],
"x-ms-correlation-request-id": [
- "b3125621-b24f-4934-9033-21176c202bc8"
+ "a1b1cbfe-ee73-40c7-9ec2-0f723aef4354"
],
"x-ms-routing-request-id": [
- "WESTUS:20190628T211724Z:b3125621-b24f-4934-9033-21176c202bc8"
+ "WESTUS:20200209T130233Z:a1b1cbfe-ee73-40c7-9ec2-0f723aef4354"
],
"Strict-Transport-Security": [
"max-age=31536000; includeSubDomains"
@@ -123,10 +126,10 @@
"nosniff"
],
"Date": [
- "Fri, 28 Jun 2019 21:17:23 GMT"
+ "Sun, 09 Feb 2020 13:02:33 GMT"
],
"Content-Length": [
- "293"
+ "290"
],
"Content-Type": [
"application/json; charset=utf-8"
@@ -135,26 +138,26 @@
"-1"
]
},
- "ResponseBody": "{\r\n \"id\": \"subscriptions/a724c543-53ce-44a6-b633-e11ef27839b7/resourceGroups/ps6632/providers/Microsoft.Attestation/attestationProviders/ps4258\",\r\n \"name\": \"ps4258\",\r\n \"type\": \"Microsoft.Attestation/attestationProviders\",\r\n \"properties\": {\r\n \"status\": \"NotReady\",\r\n \"attestUri\": \"https://ps4258.us.attest.azure.net\"\r\n }\r\n}",
+ "ResponseBody": "{\r\n \"id\": \"subscriptions/a724c543-53ce-44a6-b633-e11ef27839b7/resourceGroups/ps8827/providers/Microsoft.Attestation/attestationProviders/ps8281\",\r\n \"name\": \"ps8281\",\r\n \"type\": \"Microsoft.Attestation/attestationProviders\",\r\n \"properties\": {\r\n \"status\": \"Ready\",\r\n \"attestUri\": \"https://ps8281.us.attest.azure.net\"\r\n }\r\n}",
"StatusCode": 201
},
{
- "RequestUri": "/subscriptions/a724c543-53ce-44a6-b633-e11ef27839b7/resourceGroups/ps6632/providers/Microsoft.Attestation/attestationProviders/ps4258?api-version=2018-09-01-preview",
- "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYTcyNGM1NDMtNTNjZS00NGE2LWI2MzMtZTExZWYyNzgzOWI3L3Jlc291cmNlR3JvdXBzL3BzNjYzMi9wcm92aWRlcnMvTWljcm9zb2Z0LkF0dGVzdGF0aW9uL2F0dGVzdGF0aW9uUHJvdmlkZXJzL3BzNDI1OD9hcGktdmVyc2lvbj0yMDE4LTA5LTAxLXByZXZpZXc=",
+ "RequestUri": "/subscriptions/a724c543-53ce-44a6-b633-e11ef27839b7/resourceGroups/ps8827/providers/Microsoft.Attestation/attestationProviders/ps8281?api-version=2018-09-01-preview",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYTcyNGM1NDMtNTNjZS00NGE2LWI2MzMtZTExZWYyNzgzOWI3L3Jlc291cmNlR3JvdXBzL3BzODgyNy9wcm92aWRlcnMvTWljcm9zb2Z0LkF0dGVzdGF0aW9uL2F0dGVzdGF0aW9uUHJvdmlkZXJzL3BzODI4MT9hcGktdmVyc2lvbj0yMDE4LTA5LTAxLXByZXZpZXc=",
"RequestMethod": "PUT",
"RequestBody": "{\r\n \"attestationPolicy\": \"SgxDisableDebugMode\"\r\n}",
"RequestHeaders": {
"x-ms-client-request-id": [
- "ecfe2e04-57a8-4570-b737-2c90b2ca54ef"
+ "bddf3135-0495-4cff-88d7-5da4ab06e967"
],
"Accept-Language": [
"en-US"
],
"User-Agent": [
- "FxVersion/4.6.27617.04",
+ "FxVersion/4.6.28207.03",
"OSName/Windows",
- "OSVersion/Microsoft.Windows.10.0.17763.",
- "Microsoft.Azure.Management.Attestation.AttestationManagementClient/0.9.5.0"
+ "OSVersion/Microsoft.Windows.10.0.18363.",
+ "Microsoft.Azure.Management.Attestation.AttestationManagementClient/0.9.6.0"
],
"Content-Type": [
"application/json; charset=utf-8"
@@ -176,14 +179,17 @@
"Server": [
"Kestrel"
],
+ "WWW-Authenticate": [
+ "Bearer authorization_uri=\"https://login.windows.net/72f988bf-86f1-41af-91ab-2d7cd011db47\", resource=\"https://attest.azure.net\""
+ ],
"x-ms-request-id": [
- "4dad405a-3562-47d4-b719-0e0bb46baf41"
+ "9b8fac9c-5e15-4f63-8c2a-8f30cfa68ff4"
],
"x-ms-correlation-request-id": [
- "4dad405a-3562-47d4-b719-0e0bb46baf41"
+ "9b8fac9c-5e15-4f63-8c2a-8f30cfa68ff4"
],
"x-ms-routing-request-id": [
- "WESTUS:20190628T211724Z:4dad405a-3562-47d4-b719-0e0bb46baf41"
+ "WESTUS:20200209T130233Z:9b8fac9c-5e15-4f63-8c2a-8f30cfa68ff4"
],
"Strict-Transport-Security": [
"max-age=31536000; includeSubDomains"
@@ -192,7 +198,7 @@
"nosniff"
],
"Date": [
- "Fri, 28 Jun 2019 21:17:23 GMT"
+ "Sun, 09 Feb 2020 13:02:33 GMT"
],
"Content-Length": [
"138"
@@ -204,26 +210,26 @@
"-1"
]
},
- "ResponseBody": "{\r\n \"error\": {\r\n \"code\": \"DuplicateTenant\",\r\n \"message\": \"The given service URI 'ps4258' is already in use. Please try again with a different name.\"\r\n }\r\n}",
+ "ResponseBody": "{\r\n \"error\": {\r\n \"code\": \"DuplicateTenant\",\r\n \"message\": \"The given service URI 'ps8281' is already in use. Please try again with a different name.\"\r\n }\r\n}",
"StatusCode": 409
},
{
- "RequestUri": "/subscriptions/a724c543-53ce-44a6-b633-e11ef27839b7/resourceGroups/ps5629/providers/Microsoft.Attestation/attestationProviders/ps4258?api-version=2018-09-01-preview",
- "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYTcyNGM1NDMtNTNjZS00NGE2LWI2MzMtZTExZWYyNzgzOWI3L3Jlc291cmNlR3JvdXBzL3BzNTYyOS9wcm92aWRlcnMvTWljcm9zb2Z0LkF0dGVzdGF0aW9uL2F0dGVzdGF0aW9uUHJvdmlkZXJzL3BzNDI1OD9hcGktdmVyc2lvbj0yMDE4LTA5LTAxLXByZXZpZXc=",
+ "RequestUri": "/subscriptions/a724c543-53ce-44a6-b633-e11ef27839b7/resourceGroups/ps2149/providers/Microsoft.Attestation/attestationProviders/ps8281?api-version=2018-09-01-preview",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYTcyNGM1NDMtNTNjZS00NGE2LWI2MzMtZTExZWYyNzgzOWI3L3Jlc291cmNlR3JvdXBzL3BzMjE0OS9wcm92aWRlcnMvTWljcm9zb2Z0LkF0dGVzdGF0aW9uL2F0dGVzdGF0aW9uUHJvdmlkZXJzL3BzODI4MT9hcGktdmVyc2lvbj0yMDE4LTA5LTAxLXByZXZpZXc=",
"RequestMethod": "PUT",
"RequestBody": "{\r\n \"attestationPolicy\": \"SgxDisableDebugMode\"\r\n}",
"RequestHeaders": {
"x-ms-client-request-id": [
- "7db93352-23b0-438e-9a9d-304676633d30"
+ "a51c28ec-dd74-4e71-b5b0-d1bf9d6ff1e3"
],
"Accept-Language": [
"en-US"
],
"User-Agent": [
- "FxVersion/4.6.27617.04",
+ "FxVersion/4.6.28207.03",
"OSName/Windows",
- "OSVersion/Microsoft.Windows.10.0.17763.",
- "Microsoft.Azure.Management.Attestation.AttestationManagementClient/0.9.5.0"
+ "OSVersion/Microsoft.Windows.10.0.18363.",
+ "Microsoft.Azure.Management.Attestation.AttestationManagementClient/0.9.6.0"
],
"Content-Type": [
"application/json; charset=utf-8"
@@ -243,13 +249,13 @@
"gateway"
],
"x-ms-request-id": [
- "a5e6936b-a730-4efe-9561-7bdc26fddc49"
+ "d9b5b7ca-24b7-454f-98c5-7715218f2d69"
],
"x-ms-correlation-request-id": [
- "a5e6936b-a730-4efe-9561-7bdc26fddc49"
+ "d9b5b7ca-24b7-454f-98c5-7715218f2d69"
],
"x-ms-routing-request-id": [
- "WESTUS:20190628T211724Z:a5e6936b-a730-4efe-9561-7bdc26fddc49"
+ "WESTUS:20200209T130234Z:d9b5b7ca-24b7-454f-98c5-7715218f2d69"
],
"Strict-Transport-Security": [
"max-age=31536000; includeSubDomains"
@@ -258,7 +264,7 @@
"nosniff"
],
"Date": [
- "Fri, 28 Jun 2019 21:17:23 GMT"
+ "Sun, 09 Feb 2020 13:02:33 GMT"
],
"Content-Type": [
"application/json; charset=utf-8"
@@ -270,26 +276,26 @@
"98"
]
},
- "ResponseBody": "{\r\n \"error\": {\r\n \"code\": \"ResourceGroupNotFound\",\r\n \"message\": \"Resource group 'ps5629' could not be found.\"\r\n }\r\n}",
+ "ResponseBody": "{\r\n \"error\": {\r\n \"code\": \"ResourceGroupNotFound\",\r\n \"message\": \"Resource group 'ps2149' could not be found.\"\r\n }\r\n}",
"StatusCode": 404
},
{
- "RequestUri": "/subscriptions/a724c543-53ce-44a6-b633-e11ef27839b7/resourcegroups/ps6632?api-version=2016-09-01",
- "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYTcyNGM1NDMtNTNjZS00NGE2LWI2MzMtZTExZWYyNzgzOWI3L3Jlc291cmNlZ3JvdXBzL3BzNjYzMj9hcGktdmVyc2lvbj0yMDE2LTA5LTAx",
+ "RequestUri": "/subscriptions/a724c543-53ce-44a6-b633-e11ef27839b7/resourcegroups/ps8827?api-version=2016-09-01",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYTcyNGM1NDMtNTNjZS00NGE2LWI2MzMtZTExZWYyNzgzOWI3L3Jlc291cmNlZ3JvdXBzL3BzODgyNz9hcGktdmVyc2lvbj0yMDE2LTA5LTAx",
"RequestMethod": "DELETE",
"RequestBody": "",
"RequestHeaders": {
"x-ms-client-request-id": [
- "e971a874-23c7-4e19-b066-03c4b4d1dc05"
+ "999f98f4-a772-40fb-99de-cbeba3b80b85"
],
"Accept-Language": [
"en-US"
],
"User-Agent": [
- "FxVersion/4.6.27617.04",
+ "FxVersion/4.6.28207.03",
"OSName/Windows",
- "OSVersion/Microsoft.Windows.10.0.17763.",
- "Microsoft.Azure.Management.Internal.Resources.ResourceManagementClient/1.2.0"
+ "OSVersion/Microsoft.Windows.10.0.18363.",
+ "Microsoft.Azure.Management.Internal.Resources.ResourceManagementClient/1.3.5"
]
},
"ResponseHeaders": {
@@ -300,7 +306,7 @@
"no-cache"
],
"Location": [
- "https://management.azure.com/subscriptions/a724c543-53ce-44a6-b633-e11ef27839b7/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1QUzY2MzItV0VTVFVTIiwiam9iTG9jYXRpb24iOiJ3ZXN0dXMifQ?api-version=2016-09-01"
+ "https://management.azure.com/subscriptions/a724c543-53ce-44a6-b633-e11ef27839b7/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1QUzg4MjctV0VTVFVTIiwiam9iTG9jYXRpb24iOiJ3ZXN0dXMifQ?api-version=2016-09-01"
],
"Retry-After": [
"15"
@@ -309,13 +315,13 @@
"14999"
],
"x-ms-request-id": [
- "4360994e-73ba-43c7-a78f-61247fa1d33d"
+ "c73b97eb-8984-44bf-9ada-92e94c34dc64"
],
"x-ms-correlation-request-id": [
- "4360994e-73ba-43c7-a78f-61247fa1d33d"
+ "c73b97eb-8984-44bf-9ada-92e94c34dc64"
],
"x-ms-routing-request-id": [
- "WESTUS:20190628T211725Z:4360994e-73ba-43c7-a78f-61247fa1d33d"
+ "WESTUS:20200209T130234Z:c73b97eb-8984-44bf-9ada-92e94c34dc64"
],
"Strict-Transport-Security": [
"max-age=31536000; includeSubDomains"
@@ -324,7 +330,7 @@
"nosniff"
],
"Date": [
- "Fri, 28 Jun 2019 21:17:24 GMT"
+ "Sun, 09 Feb 2020 13:02:33 GMT"
],
"Expires": [
"-1"
@@ -337,16 +343,16 @@
"StatusCode": 202
},
{
- "RequestUri": "/subscriptions/a724c543-53ce-44a6-b633-e11ef27839b7/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1QUzY2MzItV0VTVFVTIiwiam9iTG9jYXRpb24iOiJ3ZXN0dXMifQ?api-version=2016-09-01",
- "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYTcyNGM1NDMtNTNjZS00NGE2LWI2MzMtZTExZWYyNzgzOWI3L29wZXJhdGlvbnJlc3VsdHMvZXlKcWIySkpaQ0k2SWxKRlUwOVZVa05GUjFKUFZWQkVSVXhGVkVsUFRrcFBRaTFRVXpZMk16SXRWMFZUVkZWVElpd2lhbTlpVEc5allYUnBiMjRpT2lKM1pYTjBkWE1pZlE/YXBpLXZlcnNpb249MjAxNi0wOS0wMQ==",
+ "RequestUri": "/subscriptions/a724c543-53ce-44a6-b633-e11ef27839b7/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1QUzg4MjctV0VTVFVTIiwiam9iTG9jYXRpb24iOiJ3ZXN0dXMifQ?api-version=2016-09-01",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYTcyNGM1NDMtNTNjZS00NGE2LWI2MzMtZTExZWYyNzgzOWI3L29wZXJhdGlvbnJlc3VsdHMvZXlKcWIySkpaQ0k2SWxKRlUwOVZVa05GUjFKUFZWQkVSVXhGVkVsUFRrcFBRaTFRVXpnNE1qY3RWMFZUVkZWVElpd2lhbTlpVEc5allYUnBiMjRpT2lKM1pYTjBkWE1pZlE/YXBpLXZlcnNpb249MjAxNi0wOS0wMQ==",
"RequestMethod": "GET",
"RequestBody": "",
"RequestHeaders": {
"User-Agent": [
- "FxVersion/4.6.27617.04",
+ "FxVersion/4.6.28207.03",
"OSName/Windows",
- "OSVersion/Microsoft.Windows.10.0.17763.",
- "Microsoft.Azure.Management.Internal.Resources.ResourceManagementClient/1.2.0"
+ "OSVersion/Microsoft.Windows.10.0.18363.",
+ "Microsoft.Azure.Management.Internal.Resources.ResourceManagementClient/1.3.5"
]
},
"ResponseHeaders": {
@@ -357,7 +363,7 @@
"no-cache"
],
"Location": [
- "https://management.azure.com/subscriptions/a724c543-53ce-44a6-b633-e11ef27839b7/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1QUzY2MzItV0VTVFVTIiwiam9iTG9jYXRpb24iOiJ3ZXN0dXMifQ?api-version=2016-09-01"
+ "https://management.azure.com/subscriptions/a724c543-53ce-44a6-b633-e11ef27839b7/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1QUzg4MjctV0VTVFVTIiwiam9iTG9jYXRpb24iOiJ3ZXN0dXMifQ?api-version=2016-09-01"
],
"Retry-After": [
"15"
@@ -366,13 +372,13 @@
"11999"
],
"x-ms-request-id": [
- "01bdb162-89c5-4b5e-951e-b4d6c67a07df"
+ "8c3b23b2-d326-474d-9559-346ebd1b659e"
],
"x-ms-correlation-request-id": [
- "01bdb162-89c5-4b5e-951e-b4d6c67a07df"
+ "8c3b23b2-d326-474d-9559-346ebd1b659e"
],
"x-ms-routing-request-id": [
- "WESTUS:20190628T211740Z:01bdb162-89c5-4b5e-951e-b4d6c67a07df"
+ "WESTUS:20200209T130249Z:8c3b23b2-d326-474d-9559-346ebd1b659e"
],
"Strict-Transport-Security": [
"max-age=31536000; includeSubDomains"
@@ -381,7 +387,7 @@
"nosniff"
],
"Date": [
- "Fri, 28 Jun 2019 21:17:40 GMT"
+ "Sun, 09 Feb 2020 13:02:49 GMT"
],
"Expires": [
"-1"
@@ -394,16 +400,16 @@
"StatusCode": 202
},
{
- "RequestUri": "/subscriptions/a724c543-53ce-44a6-b633-e11ef27839b7/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1QUzY2MzItV0VTVFVTIiwiam9iTG9jYXRpb24iOiJ3ZXN0dXMifQ?api-version=2016-09-01",
- "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYTcyNGM1NDMtNTNjZS00NGE2LWI2MzMtZTExZWYyNzgzOWI3L29wZXJhdGlvbnJlc3VsdHMvZXlKcWIySkpaQ0k2SWxKRlUwOVZVa05GUjFKUFZWQkVSVXhGVkVsUFRrcFBRaTFRVXpZMk16SXRWMFZUVkZWVElpd2lhbTlpVEc5allYUnBiMjRpT2lKM1pYTjBkWE1pZlE/YXBpLXZlcnNpb249MjAxNi0wOS0wMQ==",
+ "RequestUri": "/subscriptions/a724c543-53ce-44a6-b633-e11ef27839b7/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1QUzg4MjctV0VTVFVTIiwiam9iTG9jYXRpb24iOiJ3ZXN0dXMifQ?api-version=2016-09-01",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYTcyNGM1NDMtNTNjZS00NGE2LWI2MzMtZTExZWYyNzgzOWI3L29wZXJhdGlvbnJlc3VsdHMvZXlKcWIySkpaQ0k2SWxKRlUwOVZVa05GUjFKUFZWQkVSVXhGVkVsUFRrcFBRaTFRVXpnNE1qY3RWMFZUVkZWVElpd2lhbTlpVEc5allYUnBiMjRpT2lKM1pYTjBkWE1pZlE/YXBpLXZlcnNpb249MjAxNi0wOS0wMQ==",
"RequestMethod": "GET",
"RequestBody": "",
"RequestHeaders": {
"User-Agent": [
- "FxVersion/4.6.27617.04",
+ "FxVersion/4.6.28207.03",
"OSName/Windows",
- "OSVersion/Microsoft.Windows.10.0.17763.",
- "Microsoft.Azure.Management.Internal.Resources.ResourceManagementClient/1.2.0"
+ "OSVersion/Microsoft.Windows.10.0.18363.",
+ "Microsoft.Azure.Management.Internal.Resources.ResourceManagementClient/1.3.5"
]
},
"ResponseHeaders": {
@@ -414,7 +420,7 @@
"no-cache"
],
"Location": [
- "https://management.azure.com/subscriptions/a724c543-53ce-44a6-b633-e11ef27839b7/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1QUzY2MzItV0VTVFVTIiwiam9iTG9jYXRpb24iOiJ3ZXN0dXMifQ?api-version=2016-09-01"
+ "https://management.azure.com/subscriptions/a724c543-53ce-44a6-b633-e11ef27839b7/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1QUzg4MjctV0VTVFVTIiwiam9iTG9jYXRpb24iOiJ3ZXN0dXMifQ?api-version=2016-09-01"
],
"Retry-After": [
"15"
@@ -423,13 +429,13 @@
"11998"
],
"x-ms-request-id": [
- "d0622b7a-1722-4124-a6e4-f8138346e7dd"
+ "d209b457-eecf-43e6-bb81-d038ab83e13f"
],
"x-ms-correlation-request-id": [
- "d0622b7a-1722-4124-a6e4-f8138346e7dd"
+ "d209b457-eecf-43e6-bb81-d038ab83e13f"
],
"x-ms-routing-request-id": [
- "WESTUS:20190628T211755Z:d0622b7a-1722-4124-a6e4-f8138346e7dd"
+ "WESTUS:20200209T130304Z:d209b457-eecf-43e6-bb81-d038ab83e13f"
],
"Strict-Transport-Security": [
"max-age=31536000; includeSubDomains"
@@ -438,7 +444,7 @@
"nosniff"
],
"Date": [
- "Fri, 28 Jun 2019 21:17:55 GMT"
+ "Sun, 09 Feb 2020 13:03:04 GMT"
],
"Expires": [
"-1"
@@ -451,16 +457,16 @@
"StatusCode": 202
},
{
- "RequestUri": "/subscriptions/a724c543-53ce-44a6-b633-e11ef27839b7/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1QUzY2MzItV0VTVFVTIiwiam9iTG9jYXRpb24iOiJ3ZXN0dXMifQ?api-version=2016-09-01",
- "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYTcyNGM1NDMtNTNjZS00NGE2LWI2MzMtZTExZWYyNzgzOWI3L29wZXJhdGlvbnJlc3VsdHMvZXlKcWIySkpaQ0k2SWxKRlUwOVZVa05GUjFKUFZWQkVSVXhGVkVsUFRrcFBRaTFRVXpZMk16SXRWMFZUVkZWVElpd2lhbTlpVEc5allYUnBiMjRpT2lKM1pYTjBkWE1pZlE/YXBpLXZlcnNpb249MjAxNi0wOS0wMQ==",
+ "RequestUri": "/subscriptions/a724c543-53ce-44a6-b633-e11ef27839b7/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1QUzg4MjctV0VTVFVTIiwiam9iTG9jYXRpb24iOiJ3ZXN0dXMifQ?api-version=2016-09-01",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYTcyNGM1NDMtNTNjZS00NGE2LWI2MzMtZTExZWYyNzgzOWI3L29wZXJhdGlvbnJlc3VsdHMvZXlKcWIySkpaQ0k2SWxKRlUwOVZVa05GUjFKUFZWQkVSVXhGVkVsUFRrcFBRaTFRVXpnNE1qY3RWMFZUVkZWVElpd2lhbTlpVEc5allYUnBiMjRpT2lKM1pYTjBkWE1pZlE/YXBpLXZlcnNpb249MjAxNi0wOS0wMQ==",
"RequestMethod": "GET",
"RequestBody": "",
"RequestHeaders": {
"User-Agent": [
- "FxVersion/4.6.27617.04",
+ "FxVersion/4.6.28207.03",
"OSName/Windows",
- "OSVersion/Microsoft.Windows.10.0.17763.",
- "Microsoft.Azure.Management.Internal.Resources.ResourceManagementClient/1.2.0"
+ "OSVersion/Microsoft.Windows.10.0.18363.",
+ "Microsoft.Azure.Management.Internal.Resources.ResourceManagementClient/1.3.5"
]
},
"ResponseHeaders": {
@@ -474,13 +480,13 @@
"11997"
],
"x-ms-request-id": [
- "d27bc532-e9ed-4bc6-a45f-eeb8c3024baf"
+ "497a09fe-9d5a-4951-afa8-96926dc1035a"
],
"x-ms-correlation-request-id": [
- "d27bc532-e9ed-4bc6-a45f-eeb8c3024baf"
+ "497a09fe-9d5a-4951-afa8-96926dc1035a"
],
"x-ms-routing-request-id": [
- "WESTUS:20190628T211810Z:d27bc532-e9ed-4bc6-a45f-eeb8c3024baf"
+ "WESTUS:20200209T130319Z:497a09fe-9d5a-4951-afa8-96926dc1035a"
],
"Strict-Transport-Security": [
"max-age=31536000; includeSubDomains"
@@ -489,7 +495,7 @@
"nosniff"
],
"Date": [
- "Fri, 28 Jun 2019 21:18:10 GMT"
+ "Sun, 09 Feb 2020 13:03:19 GMT"
],
"Expires": [
"-1"
@@ -502,16 +508,16 @@
"StatusCode": 200
},
{
- "RequestUri": "/subscriptions/a724c543-53ce-44a6-b633-e11ef27839b7/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1QUzY2MzItV0VTVFVTIiwiam9iTG9jYXRpb24iOiJ3ZXN0dXMifQ?api-version=2016-09-01",
- "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYTcyNGM1NDMtNTNjZS00NGE2LWI2MzMtZTExZWYyNzgzOWI3L29wZXJhdGlvbnJlc3VsdHMvZXlKcWIySkpaQ0k2SWxKRlUwOVZVa05GUjFKUFZWQkVSVXhGVkVsUFRrcFBRaTFRVXpZMk16SXRWMFZUVkZWVElpd2lhbTlpVEc5allYUnBiMjRpT2lKM1pYTjBkWE1pZlE/YXBpLXZlcnNpb249MjAxNi0wOS0wMQ==",
+ "RequestUri": "/subscriptions/a724c543-53ce-44a6-b633-e11ef27839b7/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1QUzg4MjctV0VTVFVTIiwiam9iTG9jYXRpb24iOiJ3ZXN0dXMifQ?api-version=2016-09-01",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYTcyNGM1NDMtNTNjZS00NGE2LWI2MzMtZTExZWYyNzgzOWI3L29wZXJhdGlvbnJlc3VsdHMvZXlKcWIySkpaQ0k2SWxKRlUwOVZVa05GUjFKUFZWQkVSVXhGVkVsUFRrcFBRaTFRVXpnNE1qY3RWMFZUVkZWVElpd2lhbTlpVEc5allYUnBiMjRpT2lKM1pYTjBkWE1pZlE/YXBpLXZlcnNpb249MjAxNi0wOS0wMQ==",
"RequestMethod": "GET",
"RequestBody": "",
"RequestHeaders": {
"User-Agent": [
- "FxVersion/4.6.27617.04",
+ "FxVersion/4.6.28207.03",
"OSName/Windows",
- "OSVersion/Microsoft.Windows.10.0.17763.",
- "Microsoft.Azure.Management.Internal.Resources.ResourceManagementClient/1.2.0"
+ "OSVersion/Microsoft.Windows.10.0.18363.",
+ "Microsoft.Azure.Management.Internal.Resources.ResourceManagementClient/1.3.5"
]
},
"ResponseHeaders": {
@@ -525,13 +531,13 @@
"11996"
],
"x-ms-request-id": [
- "2cc3883c-1922-408a-b212-db1c91d58df4"
+ "98409563-4eb8-4aac-8da4-97a8be8b8d7d"
],
"x-ms-correlation-request-id": [
- "2cc3883c-1922-408a-b212-db1c91d58df4"
+ "98409563-4eb8-4aac-8da4-97a8be8b8d7d"
],
"x-ms-routing-request-id": [
- "WESTUS:20190628T211810Z:2cc3883c-1922-408a-b212-db1c91d58df4"
+ "WESTUS:20200209T130319Z:98409563-4eb8-4aac-8da4-97a8be8b8d7d"
],
"Strict-Transport-Security": [
"max-age=31536000; includeSubDomains"
@@ -540,7 +546,7 @@
"nosniff"
],
"Date": [
- "Fri, 28 Jun 2019 21:18:10 GMT"
+ "Sun, 09 Feb 2020 13:03:19 GMT"
],
"Expires": [
"-1"
@@ -555,9 +561,9 @@
],
"Names": {
"Test-CreateAttestation": [
- "ps5629",
- "ps4258",
- "ps6632"
+ "ps2149",
+ "ps8281",
+ "ps8827"
]
},
"Variables": {
diff --git a/src/Attestation/Attestation.Test/SessionRecords/Microsoft.Azure.Commands.Attestation.Test.ScenarioTests.AttstationTests/TestCreateAttestationWithPolicySigningCertificate.json b/src/Attestation/Attestation.Test/SessionRecords/Microsoft.Azure.Commands.Attestation.Test.ScenarioTests.AttstationTests/TestCreateAttestationWithPolicySigningCertificate.json
index 64f7cb2a90e6..7942f959eac7 100644
--- a/src/Attestation/Attestation.Test/SessionRecords/Microsoft.Azure.Commands.Attestation.Test.ScenarioTests.AttstationTests/TestCreateAttestationWithPolicySigningCertificate.json
+++ b/src/Attestation/Attestation.Test/SessionRecords/Microsoft.Azure.Commands.Attestation.Test.ScenarioTests.AttstationTests/TestCreateAttestationWithPolicySigningCertificate.json
@@ -1,22 +1,22 @@
{
"Entries": [
{
- "RequestUri": "/subscriptions/a724c543-53ce-44a6-b633-e11ef27839b7/resourcegroups/ps1067?api-version=2016-09-01",
- "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYTcyNGM1NDMtNTNjZS00NGE2LWI2MzMtZTExZWYyNzgzOWI3L3Jlc291cmNlZ3JvdXBzL3BzMTA2Nz9hcGktdmVyc2lvbj0yMDE2LTA5LTAx",
+ "RequestUri": "/subscriptions/a724c543-53ce-44a6-b633-e11ef27839b7/resourcegroups/ps9588?api-version=2016-09-01",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYTcyNGM1NDMtNTNjZS00NGE2LWI2MzMtZTExZWYyNzgzOWI3L3Jlc291cmNlZ3JvdXBzL3BzOTU4OD9hcGktdmVyc2lvbj0yMDE2LTA5LTAx",
"RequestMethod": "PUT",
"RequestBody": "{\r\n \"location\": \"WestUS\"\r\n}",
"RequestHeaders": {
"x-ms-client-request-id": [
- "ba54ba48-618e-4646-9d5a-1ccb0c4ce3ab"
+ "ffb364a7-15e4-4c8e-97d5-0d2b6b3d51b0"
],
"Accept-Language": [
"en-US"
],
"User-Agent": [
- "FxVersion/4.6.28008.01",
+ "FxVersion/4.6.28207.03",
"OSName/Windows",
"OSVersion/Microsoft.Windows.10.0.18363.",
- "Microsoft.Azure.Management.Internal.Resources.ResourceManagementClient/1.3.2"
+ "Microsoft.Azure.Management.Internal.Resources.ResourceManagementClient/1.3.5"
],
"Content-Type": [
"application/json; charset=utf-8"
@@ -33,16 +33,16 @@
"no-cache"
],
"x-ms-ratelimit-remaining-subscription-writes": [
- "1199"
+ "1198"
],
"x-ms-request-id": [
- "cc861ed2-8bf7-4e28-8c7a-25d98b3b63ad"
+ "e6178aa5-b7f3-4f8d-9057-61b1edb314b4"
],
"x-ms-correlation-request-id": [
- "cc861ed2-8bf7-4e28-8c7a-25d98b3b63ad"
+ "e6178aa5-b7f3-4f8d-9057-61b1edb314b4"
],
"x-ms-routing-request-id": [
- "WESTUS:20191126T185455Z:cc861ed2-8bf7-4e28-8c7a-25d98b3b63ad"
+ "WESTUS:20200209T130426Z:e6178aa5-b7f3-4f8d-9057-61b1edb314b4"
],
"Strict-Transport-Security": [
"max-age=31536000; includeSubDomains"
@@ -51,7 +51,7 @@
"nosniff"
],
"Date": [
- "Tue, 26 Nov 2019 18:54:54 GMT"
+ "Sun, 09 Feb 2020 13:04:25 GMT"
],
"Content-Length": [
"165"
@@ -63,23 +63,23 @@
"-1"
]
},
- "ResponseBody": "{\r\n \"id\": \"/subscriptions/a724c543-53ce-44a6-b633-e11ef27839b7/resourceGroups/ps1067\",\r\n \"name\": \"ps1067\",\r\n \"location\": \"westus\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n}",
+ "ResponseBody": "{\r\n \"id\": \"/subscriptions/a724c543-53ce-44a6-b633-e11ef27839b7/resourceGroups/ps9588\",\r\n \"name\": \"ps9588\",\r\n \"location\": \"westus\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n}",
"StatusCode": 201
},
{
- "RequestUri": "/subscriptions/a724c543-53ce-44a6-b633-e11ef27839b7/resourceGroups/ps1067/providers/Microsoft.Attestation/attestationProviders/ps5870?api-version=2018-09-01-preview",
- "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYTcyNGM1NDMtNTNjZS00NGE2LWI2MzMtZTExZWYyNzgzOWI3L3Jlc291cmNlR3JvdXBzL3BzMTA2Ny9wcm92aWRlcnMvTWljcm9zb2Z0LkF0dGVzdGF0aW9uL2F0dGVzdGF0aW9uUHJvdmlkZXJzL3BzNTg3MD9hcGktdmVyc2lvbj0yMDE4LTA5LTAxLXByZXZpZXc=",
+ "RequestUri": "/subscriptions/a724c543-53ce-44a6-b633-e11ef27839b7/resourceGroups/ps9588/providers/Microsoft.Attestation/attestationProviders/ps6655?api-version=2018-09-01-preview",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYTcyNGM1NDMtNTNjZS00NGE2LWI2MzMtZTExZWYyNzgzOWI3L3Jlc291cmNlR3JvdXBzL3BzOTU4OC9wcm92aWRlcnMvTWljcm9zb2Z0LkF0dGVzdGF0aW9uL2F0dGVzdGF0aW9uUHJvdmlkZXJzL3BzNjY1NT9hcGktdmVyc2lvbj0yMDE4LTA5LTAxLXByZXZpZXc=",
"RequestMethod": "PUT",
"RequestBody": "{\r\n \"policySigningCertificates\": {\r\n \"keys\": [\r\n {\r\n \"kty\": \"RSA\",\r\n \"x5c\": [\r\n \"MIIEgDCCBCegAwIBAgIVAJSNWH+S7TzUL/e7UNpLHH2IVoICMAoGCCqGSM49BAMCMHExIzAhBgNVBAMMGkludGVsIFNHWCBQQ0sgUHJvY2Vzc29yIENBMRowGAYDVQQKDBFJbnRlbCBDb3Jwb3JhdGlvbjEUMBIGA1UEBwwLU2FudGEgQ2xhcmExCzAJBgNVBAgMAkNBMQswCQYDVQQGEwJVUzAeFw0xOTAxMDgyMjUwMDlaFw0yNjAxMDgyMjUwMDlaMHAxIjAgBgNVBAMMGUludGVsIFNHWCBQQ0sgQ2VydGlmaWNhdGUxGjAYBgNVBAoMEUludGVsIENvcnBvcmF0aW9uMRQwEgYDVQQHDAtTYW50YSBDbGFyYTELMAkGA1UECAwCQ0ExCzAJBgNVBAYTAlVTMFkwEwYHKoZIzj0CAQYIKoZIzj0DAQcDQgAEJyTADcSZqI5q/J2L4w7KLAKmKygcN3EUQNOCjTrGKm+l7lY4v+7Nk2V9Ni7jBulSvq/DVaF1+GaD2Wa1iFGIkaOCApswggKXMB8GA1UdIwQYMBaAFNDoqtp11/kuSReYPHsUZdDV8llNMF8GA1UdHwRYMFYwVKBSoFCGTmh0dHBzOi8vYXBpLnRydXN0ZWRzZXJ2aWNlcy5pbnRlbC5jb20vc2d4L2NlcnRpZmljYXRpb24vdjEvcGNrY3JsP2NhPXByb2Nlc3NvcjAdBgNVHQ4EFgQU8rUw3kBsLXvFpXD8XO7VE9dCBfMwDgYDVR0PAQH/BAQDAgbAMAwGA1UdEwEB/wQCMAAwggHUBgkqhkiG+E0BDQEEggHFMIIBwTAeBgoqhkiG+E0BDQEBBBBDEqPl/7XCXw04NRlmTlzbMIIBZAYKKoZIhvhNAQ0BAjCCAVQwEAYLKoZIhvhNAQ0BAgECAQUwEAYLKoZIhvhNAQ0BAgICAQUwEAYLKoZIhvhNAQ0BAgMCAQIwEAYLKoZIhvhNAQ0BAgQCAQQwEAYLKoZIhvhNAQ0BAgUCAQEwEQYLKoZIhvhNAQ0BAgYCAgCAMBAGCyqGSIb4TQENAQIHAgEBMBAGCyqGSIb4TQENAQIIAgEAMBAGCyqGSIb4TQENAQIJAgEAMBAGCyqGSIb4TQENAQIKAgEAMBAGCyqGSIb4TQENAQILAgEAMBAGCyqGSIb4TQENAQIMAgEAMBAGCyqGSIb4TQENAQINAgEAMBAGCyqGSIb4TQENAQIOAgEAMBAGCyqGSIb4TQENAQIPAgEAMBAGCyqGSIb4TQENAQIQAgEAMBAGCyqGSIb4TQENAQIRAgEHMB8GCyqGSIb4TQENAQISBBAFBQIEAYABAAAAAAAAAAAAMBAGCiqGSIb4TQENAQMEAgAAMBQGCiqGSIb4TQENAQQEBgCQbqEAADAPBgoqhkiG+E0BDQEFCgEAMAoGCCqGSM49BAMCA0cAMEQCICTDAJ/R69OXbv0S8HPBVsZMAJ5y8gmaBnxn4RRPqyEmAiBqOPODjj2R+iRD7PSVT9mo/XK6V4nS8YLejjeeDFovZw==\"\r\n ]\r\n }\r\n ]\r\n }\r\n}",
"RequestHeaders": {
"x-ms-client-request-id": [
- "38c40470-0d75-4766-86ad-7d2d10c28409"
+ "5c569ff1-9ae8-40ea-a48f-bf129390b49f"
],
"Accept-Language": [
"en-US"
],
"User-Agent": [
- "FxVersion/4.6.28008.01",
+ "FxVersion/4.6.28207.03",
"OSName/Windows",
"OSVersion/Microsoft.Windows.10.0.18363.",
"Microsoft.Azure.Management.Attestation.AttestationManagementClient/0.9.6.0"
@@ -99,7 +99,7 @@
"no-cache"
],
"Location": [
- "fabric:/AttestationService/Tenant/ps5870"
+ "https://ps6655.us.attest.azure.net/"
],
"x-ms-ratelimit-remaining-subscription-writes": [
"1199"
@@ -111,13 +111,13 @@
"Bearer authorization_uri=\"https://login.windows.net/72f988bf-86f1-41af-91ab-2d7cd011db47\", resource=\"https://attest.azure.net\""
],
"x-ms-request-id": [
- "4fc57c5d-3ebb-4bac-a918-65655cdec2e5"
+ "13c04791-6c86-4dac-a527-28d3315cc857"
],
"x-ms-correlation-request-id": [
- "4fc57c5d-3ebb-4bac-a918-65655cdec2e5"
+ "13c04791-6c86-4dac-a527-28d3315cc857"
],
"x-ms-routing-request-id": [
- "WESTUS:20191126T185457Z:4fc57c5d-3ebb-4bac-a918-65655cdec2e5"
+ "WESTUS:20200209T130427Z:13c04791-6c86-4dac-a527-28d3315cc857"
],
"Strict-Transport-Security": [
"max-age=31536000; includeSubDomains"
@@ -126,10 +126,10 @@
"nosniff"
],
"Date": [
- "Tue, 26 Nov 2019 18:54:56 GMT"
+ "Sun, 09 Feb 2020 13:04:27 GMT"
],
"Content-Length": [
- "293"
+ "290"
],
"Content-Type": [
"application/json; charset=utf-8"
@@ -138,23 +138,23 @@
"-1"
]
},
- "ResponseBody": "{\r\n \"id\": \"subscriptions/a724c543-53ce-44a6-b633-e11ef27839b7/resourceGroups/ps1067/providers/Microsoft.Attestation/attestationProviders/ps5870\",\r\n \"name\": \"ps5870\",\r\n \"type\": \"Microsoft.Attestation/attestationProviders\",\r\n \"properties\": {\r\n \"status\": \"NotReady\",\r\n \"attestUri\": \"https://ps5870.us.attest.azure.net\"\r\n }\r\n}",
+ "ResponseBody": "{\r\n \"id\": \"subscriptions/a724c543-53ce-44a6-b633-e11ef27839b7/resourceGroups/ps9588/providers/Microsoft.Attestation/attestationProviders/ps6655\",\r\n \"name\": \"ps6655\",\r\n \"type\": \"Microsoft.Attestation/attestationProviders\",\r\n \"properties\": {\r\n \"status\": \"Ready\",\r\n \"attestUri\": \"https://ps6655.us.attest.azure.net\"\r\n }\r\n}",
"StatusCode": 201
},
{
- "RequestUri": "/subscriptions/a724c543-53ce-44a6-b633-e11ef27839b7/resourceGroups/ps1067/providers/Microsoft.Attestation/attestationProviders/ps5870?api-version=2018-09-01-preview",
- "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYTcyNGM1NDMtNTNjZS00NGE2LWI2MzMtZTExZWYyNzgzOWI3L3Jlc291cmNlR3JvdXBzL3BzMTA2Ny9wcm92aWRlcnMvTWljcm9zb2Z0LkF0dGVzdGF0aW9uL2F0dGVzdGF0aW9uUHJvdmlkZXJzL3BzNTg3MD9hcGktdmVyc2lvbj0yMDE4LTA5LTAxLXByZXZpZXc=",
+ "RequestUri": "/subscriptions/a724c543-53ce-44a6-b633-e11ef27839b7/resourceGroups/ps9588/providers/Microsoft.Attestation/attestationProviders/ps6655?api-version=2018-09-01-preview",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYTcyNGM1NDMtNTNjZS00NGE2LWI2MzMtZTExZWYyNzgzOWI3L3Jlc291cmNlR3JvdXBzL3BzOTU4OC9wcm92aWRlcnMvTWljcm9zb2Z0LkF0dGVzdGF0aW9uL2F0dGVzdGF0aW9uUHJvdmlkZXJzL3BzNjY1NT9hcGktdmVyc2lvbj0yMDE4LTA5LTAxLXByZXZpZXc=",
"RequestMethod": "PUT",
"RequestBody": "{}",
"RequestHeaders": {
"x-ms-client-request-id": [
- "b900ae90-27f8-4608-8614-db999a3ee0b8"
+ "974278cc-55ae-4509-9a21-b1832c9612e5"
],
"Accept-Language": [
"en-US"
],
"User-Agent": [
- "FxVersion/4.6.28008.01",
+ "FxVersion/4.6.28207.03",
"OSName/Windows",
"OSVersion/Microsoft.Windows.10.0.18363.",
"Microsoft.Azure.Management.Attestation.AttestationManagementClient/0.9.6.0"
@@ -183,13 +183,13 @@
"Bearer authorization_uri=\"https://login.windows.net/72f988bf-86f1-41af-91ab-2d7cd011db47\", resource=\"https://attest.azure.net\""
],
"x-ms-request-id": [
- "c4e6ac05-88cf-48b0-9645-d19a5efe13fa"
+ "c9e0f2b7-6156-4d69-ab7c-697ddfb5cc7d"
],
"x-ms-correlation-request-id": [
- "c4e6ac05-88cf-48b0-9645-d19a5efe13fa"
+ "c9e0f2b7-6156-4d69-ab7c-697ddfb5cc7d"
],
"x-ms-routing-request-id": [
- "WESTUS:20191126T185457Z:c4e6ac05-88cf-48b0-9645-d19a5efe13fa"
+ "WESTUS:20200209T130428Z:c9e0f2b7-6156-4d69-ab7c-697ddfb5cc7d"
],
"Strict-Transport-Security": [
"max-age=31536000; includeSubDomains"
@@ -198,7 +198,7 @@
"nosniff"
],
"Date": [
- "Tue, 26 Nov 2019 18:54:56 GMT"
+ "Sun, 09 Feb 2020 13:04:27 GMT"
],
"Content-Length": [
"138"
@@ -210,23 +210,23 @@
"-1"
]
},
- "ResponseBody": "{\r\n \"error\": {\r\n \"code\": \"DuplicateTenant\",\r\n \"message\": \"The given service URI 'ps5870' is already in use. Please try again with a different name.\"\r\n }\r\n}",
+ "ResponseBody": "{\r\n \"error\": {\r\n \"code\": \"DuplicateTenant\",\r\n \"message\": \"The given service URI 'ps6655' is already in use. Please try again with a different name.\"\r\n }\r\n}",
"StatusCode": 409
},
{
- "RequestUri": "/subscriptions/a724c543-53ce-44a6-b633-e11ef27839b7/resourceGroups/ps9443/providers/Microsoft.Attestation/attestationProviders/ps5870?api-version=2018-09-01-preview",
- "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYTcyNGM1NDMtNTNjZS00NGE2LWI2MzMtZTExZWYyNzgzOWI3L3Jlc291cmNlR3JvdXBzL3BzOTQ0My9wcm92aWRlcnMvTWljcm9zb2Z0LkF0dGVzdGF0aW9uL2F0dGVzdGF0aW9uUHJvdmlkZXJzL3BzNTg3MD9hcGktdmVyc2lvbj0yMDE4LTA5LTAxLXByZXZpZXc=",
+ "RequestUri": "/subscriptions/a724c543-53ce-44a6-b633-e11ef27839b7/resourceGroups/ps9551/providers/Microsoft.Attestation/attestationProviders/ps6655?api-version=2018-09-01-preview",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYTcyNGM1NDMtNTNjZS00NGE2LWI2MzMtZTExZWYyNzgzOWI3L3Jlc291cmNlR3JvdXBzL3BzOTU1MS9wcm92aWRlcnMvTWljcm9zb2Z0LkF0dGVzdGF0aW9uL2F0dGVzdGF0aW9uUHJvdmlkZXJzL3BzNjY1NT9hcGktdmVyc2lvbj0yMDE4LTA5LTAxLXByZXZpZXc=",
"RequestMethod": "PUT",
"RequestBody": "{}",
"RequestHeaders": {
"x-ms-client-request-id": [
- "b39e8471-3604-471a-8721-a837c884c553"
+ "70914250-dcbd-4b0e-a2f4-b56c2c45d650"
],
"Accept-Language": [
"en-US"
],
"User-Agent": [
- "FxVersion/4.6.28008.01",
+ "FxVersion/4.6.28207.03",
"OSName/Windows",
"OSVersion/Microsoft.Windows.10.0.18363.",
"Microsoft.Azure.Management.Attestation.AttestationManagementClient/0.9.6.0"
@@ -249,13 +249,13 @@
"gateway"
],
"x-ms-request-id": [
- "59ed4ad8-856b-4693-8580-85b13e7a7a97"
+ "622f0f26-8b90-4e73-9ced-d9988c0f6535"
],
"x-ms-correlation-request-id": [
- "59ed4ad8-856b-4693-8580-85b13e7a7a97"
+ "622f0f26-8b90-4e73-9ced-d9988c0f6535"
],
"x-ms-routing-request-id": [
- "WESTUS:20191126T185457Z:59ed4ad8-856b-4693-8580-85b13e7a7a97"
+ "WESTUS:20200209T130428Z:622f0f26-8b90-4e73-9ced-d9988c0f6535"
],
"Strict-Transport-Security": [
"max-age=31536000; includeSubDomains"
@@ -264,7 +264,7 @@
"nosniff"
],
"Date": [
- "Tue, 26 Nov 2019 18:54:56 GMT"
+ "Sun, 09 Feb 2020 13:04:27 GMT"
],
"Content-Type": [
"application/json; charset=utf-8"
@@ -276,26 +276,26 @@
"98"
]
},
- "ResponseBody": "{\r\n \"error\": {\r\n \"code\": \"ResourceGroupNotFound\",\r\n \"message\": \"Resource group 'ps9443' could not be found.\"\r\n }\r\n}",
+ "ResponseBody": "{\r\n \"error\": {\r\n \"code\": \"ResourceGroupNotFound\",\r\n \"message\": \"Resource group 'ps9551' could not be found.\"\r\n }\r\n}",
"StatusCode": 404
},
{
- "RequestUri": "/subscriptions/a724c543-53ce-44a6-b633-e11ef27839b7/resourcegroups/ps1067?api-version=2016-09-01",
- "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYTcyNGM1NDMtNTNjZS00NGE2LWI2MzMtZTExZWYyNzgzOWI3L3Jlc291cmNlZ3JvdXBzL3BzMTA2Nz9hcGktdmVyc2lvbj0yMDE2LTA5LTAx",
+ "RequestUri": "/subscriptions/a724c543-53ce-44a6-b633-e11ef27839b7/resourcegroups/ps9588?api-version=2016-09-01",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYTcyNGM1NDMtNTNjZS00NGE2LWI2MzMtZTExZWYyNzgzOWI3L3Jlc291cmNlZ3JvdXBzL3BzOTU4OD9hcGktdmVyc2lvbj0yMDE2LTA5LTAx",
"RequestMethod": "DELETE",
"RequestBody": "",
"RequestHeaders": {
"x-ms-client-request-id": [
- "85abf734-7293-403f-8433-546b4f871ff1"
+ "eb26319e-0655-409e-87ca-779dd4956d67"
],
"Accept-Language": [
"en-US"
],
"User-Agent": [
- "FxVersion/4.6.28008.01",
+ "FxVersion/4.6.28207.03",
"OSName/Windows",
"OSVersion/Microsoft.Windows.10.0.18363.",
- "Microsoft.Azure.Management.Internal.Resources.ResourceManagementClient/1.3.2"
+ "Microsoft.Azure.Management.Internal.Resources.ResourceManagementClient/1.3.5"
]
},
"ResponseHeaders": {
@@ -306,22 +306,79 @@
"no-cache"
],
"Location": [
- "https://management.azure.com/subscriptions/a724c543-53ce-44a6-b633-e11ef27839b7/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1QUzEwNjctV0VTVFVTIiwiam9iTG9jYXRpb24iOiJ3ZXN0dXMifQ?api-version=2016-09-01"
+ "https://management.azure.com/subscriptions/a724c543-53ce-44a6-b633-e11ef27839b7/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1QUzk1ODgtV0VTVFVTIiwiam9iTG9jYXRpb24iOiJ3ZXN0dXMifQ?api-version=2016-09-01"
],
"Retry-After": [
"15"
],
"x-ms-ratelimit-remaining-subscription-deletes": [
- "14999"
+ "14998"
+ ],
+ "x-ms-request-id": [
+ "c306db41-22eb-42ba-a3b7-95c3f5af2d0f"
+ ],
+ "x-ms-correlation-request-id": [
+ "c306db41-22eb-42ba-a3b7-95c3f5af2d0f"
+ ],
+ "x-ms-routing-request-id": [
+ "WESTUS:20200209T130428Z:c306db41-22eb-42ba-a3b7-95c3f5af2d0f"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "X-Content-Type-Options": [
+ "nosniff"
+ ],
+ "Date": [
+ "Sun, 09 Feb 2020 13:04:28 GMT"
+ ],
+ "Expires": [
+ "-1"
+ ],
+ "Content-Length": [
+ "0"
+ ]
+ },
+ "ResponseBody": "",
+ "StatusCode": 202
+ },
+ {
+ "RequestUri": "/subscriptions/a724c543-53ce-44a6-b633-e11ef27839b7/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1QUzk1ODgtV0VTVFVTIiwiam9iTG9jYXRpb24iOiJ3ZXN0dXMifQ?api-version=2016-09-01",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYTcyNGM1NDMtNTNjZS00NGE2LWI2MzMtZTExZWYyNzgzOWI3L29wZXJhdGlvbnJlc3VsdHMvZXlKcWIySkpaQ0k2SWxKRlUwOVZVa05GUjFKUFZWQkVSVXhGVkVsUFRrcFBRaTFRVXprMU9EZ3RWMFZUVkZWVElpd2lhbTlpVEc5allYUnBiMjRpT2lKM1pYTjBkWE1pZlE/YXBpLXZlcnNpb249MjAxNi0wOS0wMQ==",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "User-Agent": [
+ "FxVersion/4.6.28207.03",
+ "OSName/Windows",
+ "OSVersion/Microsoft.Windows.10.0.18363.",
+ "Microsoft.Azure.Management.Internal.Resources.ResourceManagementClient/1.3.5"
+ ]
+ },
+ "ResponseHeaders": {
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "Location": [
+ "https://management.azure.com/subscriptions/a724c543-53ce-44a6-b633-e11ef27839b7/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1QUzk1ODgtV0VTVFVTIiwiam9iTG9jYXRpb24iOiJ3ZXN0dXMifQ?api-version=2016-09-01"
+ ],
+ "Retry-After": [
+ "15"
+ ],
+ "x-ms-ratelimit-remaining-subscription-reads": [
+ "11995"
],
"x-ms-request-id": [
- "7fda2b3e-f7d4-4f6c-8ea3-e3293a9233ed"
+ "2f95e2f1-6fa7-49f8-864c-9d1698b958d8"
],
"x-ms-correlation-request-id": [
- "7fda2b3e-f7d4-4f6c-8ea3-e3293a9233ed"
+ "2f95e2f1-6fa7-49f8-864c-9d1698b958d8"
],
"x-ms-routing-request-id": [
- "WESTUS:20191126T185457Z:7fda2b3e-f7d4-4f6c-8ea3-e3293a9233ed"
+ "WESTUS:20200209T130443Z:2f95e2f1-6fa7-49f8-864c-9d1698b958d8"
],
"Strict-Transport-Security": [
"max-age=31536000; includeSubDomains"
@@ -330,7 +387,7 @@
"nosniff"
],
"Date": [
- "Tue, 26 Nov 2019 18:54:57 GMT"
+ "Sun, 09 Feb 2020 13:04:42 GMT"
],
"Expires": [
"-1"
@@ -343,16 +400,16 @@
"StatusCode": 202
},
{
- "RequestUri": "/subscriptions/a724c543-53ce-44a6-b633-e11ef27839b7/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1QUzEwNjctV0VTVFVTIiwiam9iTG9jYXRpb24iOiJ3ZXN0dXMifQ?api-version=2016-09-01",
- "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYTcyNGM1NDMtNTNjZS00NGE2LWI2MzMtZTExZWYyNzgzOWI3L29wZXJhdGlvbnJlc3VsdHMvZXlKcWIySkpaQ0k2SWxKRlUwOVZVa05GUjFKUFZWQkVSVXhGVkVsUFRrcFBRaTFRVXpFd05qY3RWMFZUVkZWVElpd2lhbTlpVEc5allYUnBiMjRpT2lKM1pYTjBkWE1pZlE/YXBpLXZlcnNpb249MjAxNi0wOS0wMQ==",
+ "RequestUri": "/subscriptions/a724c543-53ce-44a6-b633-e11ef27839b7/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1QUzk1ODgtV0VTVFVTIiwiam9iTG9jYXRpb24iOiJ3ZXN0dXMifQ?api-version=2016-09-01",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYTcyNGM1NDMtNTNjZS00NGE2LWI2MzMtZTExZWYyNzgzOWI3L29wZXJhdGlvbnJlc3VsdHMvZXlKcWIySkpaQ0k2SWxKRlUwOVZVa05GUjFKUFZWQkVSVXhGVkVsUFRrcFBRaTFRVXprMU9EZ3RWMFZUVkZWVElpd2lhbTlpVEc5allYUnBiMjRpT2lKM1pYTjBkWE1pZlE/YXBpLXZlcnNpb249MjAxNi0wOS0wMQ==",
"RequestMethod": "GET",
"RequestBody": "",
"RequestHeaders": {
"User-Agent": [
- "FxVersion/4.6.28008.01",
+ "FxVersion/4.6.28207.03",
"OSName/Windows",
"OSVersion/Microsoft.Windows.10.0.18363.",
- "Microsoft.Azure.Management.Internal.Resources.ResourceManagementClient/1.3.2"
+ "Microsoft.Azure.Management.Internal.Resources.ResourceManagementClient/1.3.5"
]
},
"ResponseHeaders": {
@@ -363,22 +420,22 @@
"no-cache"
],
"Location": [
- "https://management.azure.com/subscriptions/a724c543-53ce-44a6-b633-e11ef27839b7/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1QUzEwNjctV0VTVFVTIiwiam9iTG9jYXRpb24iOiJ3ZXN0dXMifQ?api-version=2016-09-01"
+ "https://management.azure.com/subscriptions/a724c543-53ce-44a6-b633-e11ef27839b7/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1QUzk1ODgtV0VTVFVTIiwiam9iTG9jYXRpb24iOiJ3ZXN0dXMifQ?api-version=2016-09-01"
],
"Retry-After": [
"15"
],
"x-ms-ratelimit-remaining-subscription-reads": [
- "11999"
+ "11994"
],
"x-ms-request-id": [
- "4f60ab0f-2f7d-4307-a8e3-554daa2640a7"
+ "453d502f-e26e-4683-a41f-30a10b003225"
],
"x-ms-correlation-request-id": [
- "4f60ab0f-2f7d-4307-a8e3-554daa2640a7"
+ "453d502f-e26e-4683-a41f-30a10b003225"
],
"x-ms-routing-request-id": [
- "WESTUS:20191126T185513Z:4f60ab0f-2f7d-4307-a8e3-554daa2640a7"
+ "WESTUS:20200209T130458Z:453d502f-e26e-4683-a41f-30a10b003225"
],
"Strict-Transport-Security": [
"max-age=31536000; includeSubDomains"
@@ -387,7 +444,7 @@
"nosniff"
],
"Date": [
- "Tue, 26 Nov 2019 18:55:12 GMT"
+ "Sun, 09 Feb 2020 13:04:57 GMT"
],
"Expires": [
"-1"
@@ -400,16 +457,16 @@
"StatusCode": 202
},
{
- "RequestUri": "/subscriptions/a724c543-53ce-44a6-b633-e11ef27839b7/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1QUzEwNjctV0VTVFVTIiwiam9iTG9jYXRpb24iOiJ3ZXN0dXMifQ?api-version=2016-09-01",
- "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYTcyNGM1NDMtNTNjZS00NGE2LWI2MzMtZTExZWYyNzgzOWI3L29wZXJhdGlvbnJlc3VsdHMvZXlKcWIySkpaQ0k2SWxKRlUwOVZVa05GUjFKUFZWQkVSVXhGVkVsUFRrcFBRaTFRVXpFd05qY3RWMFZUVkZWVElpd2lhbTlpVEc5allYUnBiMjRpT2lKM1pYTjBkWE1pZlE/YXBpLXZlcnNpb249MjAxNi0wOS0wMQ==",
+ "RequestUri": "/subscriptions/a724c543-53ce-44a6-b633-e11ef27839b7/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1QUzk1ODgtV0VTVFVTIiwiam9iTG9jYXRpb24iOiJ3ZXN0dXMifQ?api-version=2016-09-01",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYTcyNGM1NDMtNTNjZS00NGE2LWI2MzMtZTExZWYyNzgzOWI3L29wZXJhdGlvbnJlc3VsdHMvZXlKcWIySkpaQ0k2SWxKRlUwOVZVa05GUjFKUFZWQkVSVXhGVkVsUFRrcFBRaTFRVXprMU9EZ3RWMFZUVkZWVElpd2lhbTlpVEc5allYUnBiMjRpT2lKM1pYTjBkWE1pZlE/YXBpLXZlcnNpb249MjAxNi0wOS0wMQ==",
"RequestMethod": "GET",
"RequestBody": "",
"RequestHeaders": {
"User-Agent": [
- "FxVersion/4.6.28008.01",
+ "FxVersion/4.6.28207.03",
"OSName/Windows",
"OSVersion/Microsoft.Windows.10.0.18363.",
- "Microsoft.Azure.Management.Internal.Resources.ResourceManagementClient/1.3.2"
+ "Microsoft.Azure.Management.Internal.Resources.ResourceManagementClient/1.3.5"
]
},
"ResponseHeaders": {
@@ -420,22 +477,22 @@
"no-cache"
],
"Location": [
- "https://management.azure.com/subscriptions/a724c543-53ce-44a6-b633-e11ef27839b7/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1QUzEwNjctV0VTVFVTIiwiam9iTG9jYXRpb24iOiJ3ZXN0dXMifQ?api-version=2016-09-01"
+ "https://management.azure.com/subscriptions/a724c543-53ce-44a6-b633-e11ef27839b7/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1QUzk1ODgtV0VTVFVTIiwiam9iTG9jYXRpb24iOiJ3ZXN0dXMifQ?api-version=2016-09-01"
],
"Retry-After": [
"15"
],
"x-ms-ratelimit-remaining-subscription-reads": [
- "11998"
+ "11993"
],
"x-ms-request-id": [
- "c490f1ab-a2a6-4278-ad8b-3b19eb1ba77c"
+ "9581afbc-7fd4-42fe-b85b-59e5ff5813a3"
],
"x-ms-correlation-request-id": [
- "c490f1ab-a2a6-4278-ad8b-3b19eb1ba77c"
+ "9581afbc-7fd4-42fe-b85b-59e5ff5813a3"
],
"x-ms-routing-request-id": [
- "WESTUS:20191126T185528Z:c490f1ab-a2a6-4278-ad8b-3b19eb1ba77c"
+ "WESTUS:20200209T130513Z:9581afbc-7fd4-42fe-b85b-59e5ff5813a3"
],
"Strict-Transport-Security": [
"max-age=31536000; includeSubDomains"
@@ -444,7 +501,7 @@
"nosniff"
],
"Date": [
- "Tue, 26 Nov 2019 18:55:27 GMT"
+ "Sun, 09 Feb 2020 13:05:12 GMT"
],
"Expires": [
"-1"
@@ -457,16 +514,16 @@
"StatusCode": 202
},
{
- "RequestUri": "/subscriptions/a724c543-53ce-44a6-b633-e11ef27839b7/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1QUzEwNjctV0VTVFVTIiwiam9iTG9jYXRpb24iOiJ3ZXN0dXMifQ?api-version=2016-09-01",
- "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYTcyNGM1NDMtNTNjZS00NGE2LWI2MzMtZTExZWYyNzgzOWI3L29wZXJhdGlvbnJlc3VsdHMvZXlKcWIySkpaQ0k2SWxKRlUwOVZVa05GUjFKUFZWQkVSVXhGVkVsUFRrcFBRaTFRVXpFd05qY3RWMFZUVkZWVElpd2lhbTlpVEc5allYUnBiMjRpT2lKM1pYTjBkWE1pZlE/YXBpLXZlcnNpb249MjAxNi0wOS0wMQ==",
+ "RequestUri": "/subscriptions/a724c543-53ce-44a6-b633-e11ef27839b7/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1QUzk1ODgtV0VTVFVTIiwiam9iTG9jYXRpb24iOiJ3ZXN0dXMifQ?api-version=2016-09-01",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYTcyNGM1NDMtNTNjZS00NGE2LWI2MzMtZTExZWYyNzgzOWI3L29wZXJhdGlvbnJlc3VsdHMvZXlKcWIySkpaQ0k2SWxKRlUwOVZVa05GUjFKUFZWQkVSVXhGVkVsUFRrcFBRaTFRVXprMU9EZ3RWMFZUVkZWVElpd2lhbTlpVEc5allYUnBiMjRpT2lKM1pYTjBkWE1pZlE/YXBpLXZlcnNpb249MjAxNi0wOS0wMQ==",
"RequestMethod": "GET",
"RequestBody": "",
"RequestHeaders": {
"User-Agent": [
- "FxVersion/4.6.28008.01",
+ "FxVersion/4.6.28207.03",
"OSName/Windows",
"OSVersion/Microsoft.Windows.10.0.18363.",
- "Microsoft.Azure.Management.Internal.Resources.ResourceManagementClient/1.3.2"
+ "Microsoft.Azure.Management.Internal.Resources.ResourceManagementClient/1.3.5"
]
},
"ResponseHeaders": {
@@ -477,16 +534,16 @@
"no-cache"
],
"x-ms-ratelimit-remaining-subscription-reads": [
- "11997"
+ "11992"
],
"x-ms-request-id": [
- "2a3bae19-8dfa-4d21-8a2b-6d3d517772cb"
+ "239eeb72-9a8b-4401-8722-98c36840fb3d"
],
"x-ms-correlation-request-id": [
- "2a3bae19-8dfa-4d21-8a2b-6d3d517772cb"
+ "239eeb72-9a8b-4401-8722-98c36840fb3d"
],
"x-ms-routing-request-id": [
- "WESTUS:20191126T185543Z:2a3bae19-8dfa-4d21-8a2b-6d3d517772cb"
+ "WESTUS:20200209T130528Z:239eeb72-9a8b-4401-8722-98c36840fb3d"
],
"Strict-Transport-Security": [
"max-age=31536000; includeSubDomains"
@@ -495,7 +552,7 @@
"nosniff"
],
"Date": [
- "Tue, 26 Nov 2019 18:55:42 GMT"
+ "Sun, 09 Feb 2020 13:05:27 GMT"
],
"Expires": [
"-1"
@@ -508,16 +565,16 @@
"StatusCode": 200
},
{
- "RequestUri": "/subscriptions/a724c543-53ce-44a6-b633-e11ef27839b7/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1QUzEwNjctV0VTVFVTIiwiam9iTG9jYXRpb24iOiJ3ZXN0dXMifQ?api-version=2016-09-01",
- "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYTcyNGM1NDMtNTNjZS00NGE2LWI2MzMtZTExZWYyNzgzOWI3L29wZXJhdGlvbnJlc3VsdHMvZXlKcWIySkpaQ0k2SWxKRlUwOVZVa05GUjFKUFZWQkVSVXhGVkVsUFRrcFBRaTFRVXpFd05qY3RWMFZUVkZWVElpd2lhbTlpVEc5allYUnBiMjRpT2lKM1pYTjBkWE1pZlE/YXBpLXZlcnNpb249MjAxNi0wOS0wMQ==",
+ "RequestUri": "/subscriptions/a724c543-53ce-44a6-b633-e11ef27839b7/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1QUzk1ODgtV0VTVFVTIiwiam9iTG9jYXRpb24iOiJ3ZXN0dXMifQ?api-version=2016-09-01",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYTcyNGM1NDMtNTNjZS00NGE2LWI2MzMtZTExZWYyNzgzOWI3L29wZXJhdGlvbnJlc3VsdHMvZXlKcWIySkpaQ0k2SWxKRlUwOVZVa05GUjFKUFZWQkVSVXhGVkVsUFRrcFBRaTFRVXprMU9EZ3RWMFZUVkZWVElpd2lhbTlpVEc5allYUnBiMjRpT2lKM1pYTjBkWE1pZlE/YXBpLXZlcnNpb249MjAxNi0wOS0wMQ==",
"RequestMethod": "GET",
"RequestBody": "",
"RequestHeaders": {
"User-Agent": [
- "FxVersion/4.6.28008.01",
+ "FxVersion/4.6.28207.03",
"OSName/Windows",
"OSVersion/Microsoft.Windows.10.0.18363.",
- "Microsoft.Azure.Management.Internal.Resources.ResourceManagementClient/1.3.2"
+ "Microsoft.Azure.Management.Internal.Resources.ResourceManagementClient/1.3.5"
]
},
"ResponseHeaders": {
@@ -528,16 +585,16 @@
"no-cache"
],
"x-ms-ratelimit-remaining-subscription-reads": [
- "11996"
+ "11991"
],
"x-ms-request-id": [
- "fa44660e-2953-4f80-9431-1a4c80d1165e"
+ "7e6b8ae5-168b-443f-a430-75420b18f599"
],
"x-ms-correlation-request-id": [
- "fa44660e-2953-4f80-9431-1a4c80d1165e"
+ "7e6b8ae5-168b-443f-a430-75420b18f599"
],
"x-ms-routing-request-id": [
- "WESTUS:20191126T185543Z:fa44660e-2953-4f80-9431-1a4c80d1165e"
+ "WESTUS:20200209T130528Z:7e6b8ae5-168b-443f-a430-75420b18f599"
],
"Strict-Transport-Security": [
"max-age=31536000; includeSubDomains"
@@ -546,7 +603,7 @@
"nosniff"
],
"Date": [
- "Tue, 26 Nov 2019 18:55:42 GMT"
+ "Sun, 09 Feb 2020 13:05:27 GMT"
],
"Expires": [
"-1"
@@ -561,9 +618,9 @@
],
"Names": {
"Test-CreateAttestationWithPolicySigningCertificate": [
- "ps9443",
- "ps5870",
- "ps1067"
+ "ps9551",
+ "ps6655",
+ "ps9588"
]
},
"Variables": {
diff --git a/src/Attestation/Attestation.Test/SessionRecords/Microsoft.Azure.Commands.Attestation.Test.ScenarioTests.AttstationTests/TestDeleteAttestationByName.json b/src/Attestation/Attestation.Test/SessionRecords/Microsoft.Azure.Commands.Attestation.Test.ScenarioTests.AttstationTests/TestDeleteAttestationByName.json
index 13657202815e..086500b17abf 100644
--- a/src/Attestation/Attestation.Test/SessionRecords/Microsoft.Azure.Commands.Attestation.Test.ScenarioTests.AttstationTests/TestDeleteAttestationByName.json
+++ b/src/Attestation/Attestation.Test/SessionRecords/Microsoft.Azure.Commands.Attestation.Test.ScenarioTests.AttstationTests/TestDeleteAttestationByName.json
@@ -1,22 +1,22 @@
{
"Entries": [
{
- "RequestUri": "/subscriptions/a724c543-53ce-44a6-b633-e11ef27839b7/resourcegroups/ps7764?api-version=2016-09-01",
- "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYTcyNGM1NDMtNTNjZS00NGE2LWI2MzMtZTExZWYyNzgzOWI3L3Jlc291cmNlZ3JvdXBzL3BzNzc2ND9hcGktdmVyc2lvbj0yMDE2LTA5LTAx",
+ "RequestUri": "/subscriptions/a724c543-53ce-44a6-b633-e11ef27839b7/resourcegroups/ps8427?api-version=2016-09-01",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYTcyNGM1NDMtNTNjZS00NGE2LWI2MzMtZTExZWYyNzgzOWI3L3Jlc291cmNlZ3JvdXBzL3BzODQyNz9hcGktdmVyc2lvbj0yMDE2LTA5LTAx",
"RequestMethod": "PUT",
"RequestBody": "{\r\n \"location\": \"WestUS\"\r\n}",
"RequestHeaders": {
"x-ms-client-request-id": [
- "39edee2b-111d-4af6-bc53-7e44daa88a85"
+ "3da29ab6-c163-4972-b889-53448c85ca12"
],
"Accept-Language": [
"en-US"
],
"User-Agent": [
- "FxVersion/4.6.27617.04",
+ "FxVersion/4.6.28207.03",
"OSName/Windows",
- "OSVersion/Microsoft.Windows.10.0.17763.",
- "Microsoft.Azure.Management.Internal.Resources.ResourceManagementClient/1.2.0"
+ "OSVersion/Microsoft.Windows.10.0.18363.",
+ "Microsoft.Azure.Management.Internal.Resources.ResourceManagementClient/1.3.5"
],
"Content-Type": [
"application/json; charset=utf-8"
@@ -36,13 +36,13 @@
"1199"
],
"x-ms-request-id": [
- "ae339769-9fc3-4090-9ddb-23d97b258148"
+ "31e9458f-341d-41a9-8af3-43942f48b5fb"
],
"x-ms-correlation-request-id": [
- "ae339769-9fc3-4090-9ddb-23d97b258148"
+ "31e9458f-341d-41a9-8af3-43942f48b5fb"
],
"x-ms-routing-request-id": [
- "WESTUS:20190628T212315Z:ae339769-9fc3-4090-9ddb-23d97b258148"
+ "WESTUS:20200209T130141Z:31e9458f-341d-41a9-8af3-43942f48b5fb"
],
"Strict-Transport-Security": [
"max-age=31536000; includeSubDomains"
@@ -51,7 +51,7 @@
"nosniff"
],
"Date": [
- "Fri, 28 Jun 2019 21:23:14 GMT"
+ "Sun, 09 Feb 2020 13:01:41 GMT"
],
"Content-Length": [
"165"
@@ -63,26 +63,26 @@
"-1"
]
},
- "ResponseBody": "{\r\n \"id\": \"/subscriptions/a724c543-53ce-44a6-b633-e11ef27839b7/resourceGroups/ps7764\",\r\n \"name\": \"ps7764\",\r\n \"location\": \"westus\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n}",
+ "ResponseBody": "{\r\n \"id\": \"/subscriptions/a724c543-53ce-44a6-b633-e11ef27839b7/resourceGroups/ps8427\",\r\n \"name\": \"ps8427\",\r\n \"location\": \"westus\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n}",
"StatusCode": 201
},
{
- "RequestUri": "/subscriptions/a724c543-53ce-44a6-b633-e11ef27839b7/resourceGroups/ps7764/providers/Microsoft.Attestation/attestationProviders/ps550?api-version=2018-09-01-preview",
- "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYTcyNGM1NDMtNTNjZS00NGE2LWI2MzMtZTExZWYyNzgzOWI3L3Jlc291cmNlR3JvdXBzL3BzNzc2NC9wcm92aWRlcnMvTWljcm9zb2Z0LkF0dGVzdGF0aW9uL2F0dGVzdGF0aW9uUHJvdmlkZXJzL3BzNTUwP2FwaS12ZXJzaW9uPTIwMTgtMDktMDEtcHJldmlldw==",
+ "RequestUri": "/subscriptions/a724c543-53ce-44a6-b633-e11ef27839b7/resourceGroups/ps8427/providers/Microsoft.Attestation/attestationProviders/ps359?api-version=2018-09-01-preview",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYTcyNGM1NDMtNTNjZS00NGE2LWI2MzMtZTExZWYyNzgzOWI3L3Jlc291cmNlR3JvdXBzL3BzODQyNy9wcm92aWRlcnMvTWljcm9zb2Z0LkF0dGVzdGF0aW9uL2F0dGVzdGF0aW9uUHJvdmlkZXJzL3BzMzU5P2FwaS12ZXJzaW9uPTIwMTgtMDktMDEtcHJldmlldw==",
"RequestMethod": "PUT",
"RequestBody": "{\r\n \"attestationPolicy\": \"SgxDisableDebugMode\"\r\n}",
"RequestHeaders": {
"x-ms-client-request-id": [
- "2bc5afa9-ae73-4931-83e1-8e0ac23c8772"
+ "35350016-e80e-4247-98a0-e2d7a3d2603c"
],
"Accept-Language": [
"en-US"
],
"User-Agent": [
- "FxVersion/4.6.27617.04",
+ "FxVersion/4.6.28207.03",
"OSName/Windows",
- "OSVersion/Microsoft.Windows.10.0.17763.",
- "Microsoft.Azure.Management.Attestation.AttestationManagementClient/0.9.5.0"
+ "OSVersion/Microsoft.Windows.10.0.18363.",
+ "Microsoft.Azure.Management.Attestation.AttestationManagementClient/0.9.6.0"
],
"Content-Type": [
"application/json; charset=utf-8"
@@ -99,7 +99,7 @@
"no-cache"
],
"Location": [
- "fabric:/AttestationService/Tenant/ps550"
+ "https://ps359.us.attest.azure.net/"
],
"x-ms-ratelimit-remaining-subscription-writes": [
"1199"
@@ -107,14 +107,17 @@
"Server": [
"Kestrel"
],
+ "WWW-Authenticate": [
+ "Bearer authorization_uri=\"https://login.windows.net/72f988bf-86f1-41af-91ab-2d7cd011db47\", resource=\"https://attest.azure.net\""
+ ],
"x-ms-request-id": [
- "21084aae-54c3-4e18-a45d-716f85af5dbf"
+ "971d922b-0a07-4121-b5c1-f39eb0509535"
],
"x-ms-correlation-request-id": [
- "21084aae-54c3-4e18-a45d-716f85af5dbf"
+ "971d922b-0a07-4121-b5c1-f39eb0509535"
],
"x-ms-routing-request-id": [
- "WESTUS:20190628T212318Z:21084aae-54c3-4e18-a45d-716f85af5dbf"
+ "WESTUS:20200209T130143Z:971d922b-0a07-4121-b5c1-f39eb0509535"
],
"Strict-Transport-Security": [
"max-age=31536000; includeSubDomains"
@@ -123,10 +126,10 @@
"nosniff"
],
"Date": [
- "Fri, 28 Jun 2019 21:23:17 GMT"
+ "Sun, 09 Feb 2020 13:01:43 GMT"
],
"Content-Length": [
- "290"
+ "287"
],
"Content-Type": [
"application/json; charset=utf-8"
@@ -135,26 +138,26 @@
"-1"
]
},
- "ResponseBody": "{\r\n \"id\": \"subscriptions/a724c543-53ce-44a6-b633-e11ef27839b7/resourceGroups/ps7764/providers/Microsoft.Attestation/attestationProviders/ps550\",\r\n \"name\": \"ps550\",\r\n \"type\": \"Microsoft.Attestation/attestationProviders\",\r\n \"properties\": {\r\n \"status\": \"NotReady\",\r\n \"attestUri\": \"https://ps550.us.attest.azure.net\"\r\n }\r\n}",
+ "ResponseBody": "{\r\n \"id\": \"subscriptions/a724c543-53ce-44a6-b633-e11ef27839b7/resourceGroups/ps8427/providers/Microsoft.Attestation/attestationProviders/ps359\",\r\n \"name\": \"ps359\",\r\n \"type\": \"Microsoft.Attestation/attestationProviders\",\r\n \"properties\": {\r\n \"status\": \"Ready\",\r\n \"attestUri\": \"https://ps359.us.attest.azure.net\"\r\n }\r\n}",
"StatusCode": 201
},
{
- "RequestUri": "/subscriptions/a724c543-53ce-44a6-b633-e11ef27839b7/resourceGroups/ps7764/providers/Microsoft.Attestation/attestationProviders/ps550?api-version=2018-09-01-preview",
- "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYTcyNGM1NDMtNTNjZS00NGE2LWI2MzMtZTExZWYyNzgzOWI3L3Jlc291cmNlR3JvdXBzL3BzNzc2NC9wcm92aWRlcnMvTWljcm9zb2Z0LkF0dGVzdGF0aW9uL2F0dGVzdGF0aW9uUHJvdmlkZXJzL3BzNTUwP2FwaS12ZXJzaW9uPTIwMTgtMDktMDEtcHJldmlldw==",
+ "RequestUri": "/subscriptions/a724c543-53ce-44a6-b633-e11ef27839b7/resourceGroups/ps8427/providers/Microsoft.Attestation/attestationProviders/ps359?api-version=2018-09-01-preview",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYTcyNGM1NDMtNTNjZS00NGE2LWI2MzMtZTExZWYyNzgzOWI3L3Jlc291cmNlR3JvdXBzL3BzODQyNy9wcm92aWRlcnMvTWljcm9zb2Z0LkF0dGVzdGF0aW9uL2F0dGVzdGF0aW9uUHJvdmlkZXJzL3BzMzU5P2FwaS12ZXJzaW9uPTIwMTgtMDktMDEtcHJldmlldw==",
"RequestMethod": "DELETE",
"RequestBody": "",
"RequestHeaders": {
"x-ms-client-request-id": [
- "871aa9bf-788d-4cc7-8670-e5a7cf8e4a95"
+ "25b1c885-233e-44c3-83b6-2e18838fdf17"
],
"Accept-Language": [
"en-US"
],
"User-Agent": [
- "FxVersion/4.6.27617.04",
+ "FxVersion/4.6.28207.03",
"OSName/Windows",
- "OSVersion/Microsoft.Windows.10.0.17763.",
- "Microsoft.Azure.Management.Attestation.AttestationManagementClient/0.9.5.0"
+ "OSVersion/Microsoft.Windows.10.0.18363.",
+ "Microsoft.Azure.Management.Attestation.AttestationManagementClient/0.9.6.0"
]
},
"ResponseHeaders": {
@@ -167,17 +170,20 @@
"Server": [
"Kestrel"
],
+ "WWW-Authenticate": [
+ "Bearer authorization_uri=\"https://login.windows.net/72f988bf-86f1-41af-91ab-2d7cd011db47\", resource=\"https://attest.azure.net\""
+ ],
"x-ms-ratelimit-remaining-subscription-deletes": [
"14999"
],
"x-ms-request-id": [
- "5d293431-d127-4675-ae39-1810390df6df"
+ "e1746f1a-a8c8-4737-84f3-f44bea79ae0b"
],
"x-ms-correlation-request-id": [
- "5d293431-d127-4675-ae39-1810390df6df"
+ "e1746f1a-a8c8-4737-84f3-f44bea79ae0b"
],
"x-ms-routing-request-id": [
- "WESTUS:20190628T212325Z:5d293431-d127-4675-ae39-1810390df6df"
+ "WESTUS:20200209T130143Z:e1746f1a-a8c8-4737-84f3-f44bea79ae0b"
],
"Strict-Transport-Security": [
"max-age=31536000; includeSubDomains"
@@ -186,7 +192,7 @@
"nosniff"
],
"Date": [
- "Fri, 28 Jun 2019 21:23:25 GMT"
+ "Sun, 09 Feb 2020 13:01:43 GMT"
],
"Expires": [
"-1"
@@ -199,22 +205,22 @@
"StatusCode": 202
},
{
- "RequestUri": "/subscriptions/a724c543-53ce-44a6-b633-e11ef27839b7/resourceGroups/ps7764/providers/Microsoft.Attestation/attestationProviders/ps550?api-version=2018-09-01-preview",
- "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYTcyNGM1NDMtNTNjZS00NGE2LWI2MzMtZTExZWYyNzgzOWI3L3Jlc291cmNlR3JvdXBzL3BzNzc2NC9wcm92aWRlcnMvTWljcm9zb2Z0LkF0dGVzdGF0aW9uL2F0dGVzdGF0aW9uUHJvdmlkZXJzL3BzNTUwP2FwaS12ZXJzaW9uPTIwMTgtMDktMDEtcHJldmlldw==",
+ "RequestUri": "/subscriptions/a724c543-53ce-44a6-b633-e11ef27839b7/resourceGroups/ps8427/providers/Microsoft.Attestation/attestationProviders/ps359?api-version=2018-09-01-preview",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYTcyNGM1NDMtNTNjZS00NGE2LWI2MzMtZTExZWYyNzgzOWI3L3Jlc291cmNlR3JvdXBzL3BzODQyNy9wcm92aWRlcnMvTWljcm9zb2Z0LkF0dGVzdGF0aW9uL2F0dGVzdGF0aW9uUHJvdmlkZXJzL3BzMzU5P2FwaS12ZXJzaW9uPTIwMTgtMDktMDEtcHJldmlldw==",
"RequestMethod": "GET",
"RequestBody": "",
"RequestHeaders": {
"x-ms-client-request-id": [
- "c73f983e-3a95-407a-94a8-a5c60c720569"
+ "28205461-4193-44c7-a656-8d039b878f96"
],
"Accept-Language": [
"en-US"
],
"User-Agent": [
- "FxVersion/4.6.27617.04",
+ "FxVersion/4.6.28207.03",
"OSName/Windows",
- "OSVersion/Microsoft.Windows.10.0.17763.",
- "Microsoft.Azure.Management.Attestation.AttestationManagementClient/0.9.5.0"
+ "OSVersion/Microsoft.Windows.10.0.18363.",
+ "Microsoft.Azure.Management.Attestation.AttestationManagementClient/0.9.6.0"
]
},
"ResponseHeaders": {
@@ -227,17 +233,20 @@
"Server": [
"Kestrel"
],
+ "WWW-Authenticate": [
+ "Bearer authorization_uri=\"https://login.windows.net/72f988bf-86f1-41af-91ab-2d7cd011db47\", resource=\"https://attest.azure.net\""
+ ],
"x-ms-ratelimit-remaining-subscription-reads": [
"11999"
],
"x-ms-request-id": [
- "d4ba03db-a234-474e-9d96-87c9548c7fc5"
+ "30c5104d-6c2d-452e-a143-8ffe501caf55"
],
"x-ms-correlation-request-id": [
- "d4ba03db-a234-474e-9d96-87c9548c7fc5"
+ "30c5104d-6c2d-452e-a143-8ffe501caf55"
],
"x-ms-routing-request-id": [
- "WESTUS:20190628T212329Z:d4ba03db-a234-474e-9d96-87c9548c7fc5"
+ "WESTUS:20200209T130143Z:30c5104d-6c2d-452e-a143-8ffe501caf55"
],
"Strict-Transport-Security": [
"max-age=31536000; includeSubDomains"
@@ -246,7 +255,7 @@
"nosniff"
],
"Date": [
- "Fri, 28 Jun 2019 21:23:29 GMT"
+ "Sun, 09 Feb 2020 13:01:43 GMT"
],
"Expires": [
"-1"
@@ -259,22 +268,22 @@
"StatusCode": 404
},
{
- "RequestUri": "/subscriptions/a724c543-53ce-44a6-b633-e11ef27839b7/resourcegroups/ps7764?api-version=2016-09-01",
- "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYTcyNGM1NDMtNTNjZS00NGE2LWI2MzMtZTExZWYyNzgzOWI3L3Jlc291cmNlZ3JvdXBzL3BzNzc2ND9hcGktdmVyc2lvbj0yMDE2LTA5LTAx",
+ "RequestUri": "/subscriptions/a724c543-53ce-44a6-b633-e11ef27839b7/resourcegroups/ps8427?api-version=2016-09-01",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYTcyNGM1NDMtNTNjZS00NGE2LWI2MzMtZTExZWYyNzgzOWI3L3Jlc291cmNlZ3JvdXBzL3BzODQyNz9hcGktdmVyc2lvbj0yMDE2LTA5LTAx",
"RequestMethod": "DELETE",
"RequestBody": "",
"RequestHeaders": {
"x-ms-client-request-id": [
- "2810be8b-6400-4ee5-a31a-cf690831d6c5"
+ "459c280c-5583-4aed-9bac-4686d3b0010f"
],
"Accept-Language": [
"en-US"
],
"User-Agent": [
- "FxVersion/4.6.27617.04",
+ "FxVersion/4.6.28207.03",
"OSName/Windows",
- "OSVersion/Microsoft.Windows.10.0.17763.",
- "Microsoft.Azure.Management.Internal.Resources.ResourceManagementClient/1.2.0"
+ "OSVersion/Microsoft.Windows.10.0.18363.",
+ "Microsoft.Azure.Management.Internal.Resources.ResourceManagementClient/1.3.5"
]
},
"ResponseHeaders": {
@@ -285,7 +294,7 @@
"no-cache"
],
"Location": [
- "https://management.azure.com/subscriptions/a724c543-53ce-44a6-b633-e11ef27839b7/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1QUzc3NjQtV0VTVFVTIiwiam9iTG9jYXRpb24iOiJ3ZXN0dXMifQ?api-version=2016-09-01"
+ "https://management.azure.com/subscriptions/a724c543-53ce-44a6-b633-e11ef27839b7/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1QUzg0MjctV0VTVFVTIiwiam9iTG9jYXRpb24iOiJ3ZXN0dXMifQ?api-version=2016-09-01"
],
"Retry-After": [
"15"
@@ -294,13 +303,13 @@
"14999"
],
"x-ms-request-id": [
- "ece94a15-a53f-45b4-90b6-d440bb8548f2"
+ "fee08c9d-6ca3-4930-a449-7b18efc65351"
],
"x-ms-correlation-request-id": [
- "ece94a15-a53f-45b4-90b6-d440bb8548f2"
+ "fee08c9d-6ca3-4930-a449-7b18efc65351"
],
"x-ms-routing-request-id": [
- "WESTUS:20190628T212341Z:ece94a15-a53f-45b4-90b6-d440bb8548f2"
+ "WESTUS:20200209T130144Z:fee08c9d-6ca3-4930-a449-7b18efc65351"
],
"Strict-Transport-Security": [
"max-age=31536000; includeSubDomains"
@@ -309,7 +318,7 @@
"nosniff"
],
"Date": [
- "Fri, 28 Jun 2019 21:23:41 GMT"
+ "Sun, 09 Feb 2020 13:01:44 GMT"
],
"Expires": [
"-1"
@@ -322,16 +331,16 @@
"StatusCode": 202
},
{
- "RequestUri": "/subscriptions/a724c543-53ce-44a6-b633-e11ef27839b7/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1QUzc3NjQtV0VTVFVTIiwiam9iTG9jYXRpb24iOiJ3ZXN0dXMifQ?api-version=2016-09-01",
- "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYTcyNGM1NDMtNTNjZS00NGE2LWI2MzMtZTExZWYyNzgzOWI3L29wZXJhdGlvbnJlc3VsdHMvZXlKcWIySkpaQ0k2SWxKRlUwOVZVa05GUjFKUFZWQkVSVXhGVkVsUFRrcFBRaTFRVXpjM05qUXRWMFZUVkZWVElpd2lhbTlpVEc5allYUnBiMjRpT2lKM1pYTjBkWE1pZlE/YXBpLXZlcnNpb249MjAxNi0wOS0wMQ==",
+ "RequestUri": "/subscriptions/a724c543-53ce-44a6-b633-e11ef27839b7/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1QUzg0MjctV0VTVFVTIiwiam9iTG9jYXRpb24iOiJ3ZXN0dXMifQ?api-version=2016-09-01",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYTcyNGM1NDMtNTNjZS00NGE2LWI2MzMtZTExZWYyNzgzOWI3L29wZXJhdGlvbnJlc3VsdHMvZXlKcWIySkpaQ0k2SWxKRlUwOVZVa05GUjFKUFZWQkVSVXhGVkVsUFRrcFBRaTFRVXpnME1qY3RWMFZUVkZWVElpd2lhbTlpVEc5allYUnBiMjRpT2lKM1pYTjBkWE1pZlE/YXBpLXZlcnNpb249MjAxNi0wOS0wMQ==",
"RequestMethod": "GET",
"RequestBody": "",
"RequestHeaders": {
"User-Agent": [
- "FxVersion/4.6.27617.04",
+ "FxVersion/4.6.28207.03",
"OSName/Windows",
- "OSVersion/Microsoft.Windows.10.0.17763.",
- "Microsoft.Azure.Management.Internal.Resources.ResourceManagementClient/1.2.0"
+ "OSVersion/Microsoft.Windows.10.0.18363.",
+ "Microsoft.Azure.Management.Internal.Resources.ResourceManagementClient/1.3.5"
]
},
"ResponseHeaders": {
@@ -342,7 +351,7 @@
"no-cache"
],
"Location": [
- "https://management.azure.com/subscriptions/a724c543-53ce-44a6-b633-e11ef27839b7/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1QUzc3NjQtV0VTVFVTIiwiam9iTG9jYXRpb24iOiJ3ZXN0dXMifQ?api-version=2016-09-01"
+ "https://management.azure.com/subscriptions/a724c543-53ce-44a6-b633-e11ef27839b7/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1QUzg0MjctV0VTVFVTIiwiam9iTG9jYXRpb24iOiJ3ZXN0dXMifQ?api-version=2016-09-01"
],
"Retry-After": [
"15"
@@ -351,13 +360,13 @@
"11999"
],
"x-ms-request-id": [
- "cb2c1c84-27ea-476a-88e7-f7cff7837b65"
+ "3eb02bbd-619f-4ff5-824d-a86788059fcd"
],
"x-ms-correlation-request-id": [
- "cb2c1c84-27ea-476a-88e7-f7cff7837b65"
+ "3eb02bbd-619f-4ff5-824d-a86788059fcd"
],
"x-ms-routing-request-id": [
- "WESTUS:20190628T212357Z:cb2c1c84-27ea-476a-88e7-f7cff7837b65"
+ "WESTUS:20200209T130159Z:3eb02bbd-619f-4ff5-824d-a86788059fcd"
],
"Strict-Transport-Security": [
"max-age=31536000; includeSubDomains"
@@ -366,7 +375,7 @@
"nosniff"
],
"Date": [
- "Fri, 28 Jun 2019 21:23:56 GMT"
+ "Sun, 09 Feb 2020 13:01:58 GMT"
],
"Expires": [
"-1"
@@ -379,16 +388,16 @@
"StatusCode": 202
},
{
- "RequestUri": "/subscriptions/a724c543-53ce-44a6-b633-e11ef27839b7/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1QUzc3NjQtV0VTVFVTIiwiam9iTG9jYXRpb24iOiJ3ZXN0dXMifQ?api-version=2016-09-01",
- "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYTcyNGM1NDMtNTNjZS00NGE2LWI2MzMtZTExZWYyNzgzOWI3L29wZXJhdGlvbnJlc3VsdHMvZXlKcWIySkpaQ0k2SWxKRlUwOVZVa05GUjFKUFZWQkVSVXhGVkVsUFRrcFBRaTFRVXpjM05qUXRWMFZUVkZWVElpd2lhbTlpVEc5allYUnBiMjRpT2lKM1pYTjBkWE1pZlE/YXBpLXZlcnNpb249MjAxNi0wOS0wMQ==",
+ "RequestUri": "/subscriptions/a724c543-53ce-44a6-b633-e11ef27839b7/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1QUzg0MjctV0VTVFVTIiwiam9iTG9jYXRpb24iOiJ3ZXN0dXMifQ?api-version=2016-09-01",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYTcyNGM1NDMtNTNjZS00NGE2LWI2MzMtZTExZWYyNzgzOWI3L29wZXJhdGlvbnJlc3VsdHMvZXlKcWIySkpaQ0k2SWxKRlUwOVZVa05GUjFKUFZWQkVSVXhGVkVsUFRrcFBRaTFRVXpnME1qY3RWMFZUVkZWVElpd2lhbTlpVEc5allYUnBiMjRpT2lKM1pYTjBkWE1pZlE/YXBpLXZlcnNpb249MjAxNi0wOS0wMQ==",
"RequestMethod": "GET",
"RequestBody": "",
"RequestHeaders": {
"User-Agent": [
- "FxVersion/4.6.27617.04",
+ "FxVersion/4.6.28207.03",
"OSName/Windows",
- "OSVersion/Microsoft.Windows.10.0.17763.",
- "Microsoft.Azure.Management.Internal.Resources.ResourceManagementClient/1.2.0"
+ "OSVersion/Microsoft.Windows.10.0.18363.",
+ "Microsoft.Azure.Management.Internal.Resources.ResourceManagementClient/1.3.5"
]
},
"ResponseHeaders": {
@@ -399,7 +408,7 @@
"no-cache"
],
"Location": [
- "https://management.azure.com/subscriptions/a724c543-53ce-44a6-b633-e11ef27839b7/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1QUzc3NjQtV0VTVFVTIiwiam9iTG9jYXRpb24iOiJ3ZXN0dXMifQ?api-version=2016-09-01"
+ "https://management.azure.com/subscriptions/a724c543-53ce-44a6-b633-e11ef27839b7/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1QUzg0MjctV0VTVFVTIiwiam9iTG9jYXRpb24iOiJ3ZXN0dXMifQ?api-version=2016-09-01"
],
"Retry-After": [
"15"
@@ -408,13 +417,13 @@
"11998"
],
"x-ms-request-id": [
- "67f38ecd-3d13-4696-a43d-60ce49381a45"
+ "8b72b7fa-5ddb-44d7-b562-85041825d0ea"
],
"x-ms-correlation-request-id": [
- "67f38ecd-3d13-4696-a43d-60ce49381a45"
+ "8b72b7fa-5ddb-44d7-b562-85041825d0ea"
],
"x-ms-routing-request-id": [
- "WESTUS:20190628T212412Z:67f38ecd-3d13-4696-a43d-60ce49381a45"
+ "WESTUS:20200209T130214Z:8b72b7fa-5ddb-44d7-b562-85041825d0ea"
],
"Strict-Transport-Security": [
"max-age=31536000; includeSubDomains"
@@ -423,7 +432,7 @@
"nosniff"
],
"Date": [
- "Fri, 28 Jun 2019 21:24:11 GMT"
+ "Sun, 09 Feb 2020 13:02:13 GMT"
],
"Expires": [
"-1"
@@ -436,16 +445,16 @@
"StatusCode": 202
},
{
- "RequestUri": "/subscriptions/a724c543-53ce-44a6-b633-e11ef27839b7/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1QUzc3NjQtV0VTVFVTIiwiam9iTG9jYXRpb24iOiJ3ZXN0dXMifQ?api-version=2016-09-01",
- "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYTcyNGM1NDMtNTNjZS00NGE2LWI2MzMtZTExZWYyNzgzOWI3L29wZXJhdGlvbnJlc3VsdHMvZXlKcWIySkpaQ0k2SWxKRlUwOVZVa05GUjFKUFZWQkVSVXhGVkVsUFRrcFBRaTFRVXpjM05qUXRWMFZUVkZWVElpd2lhbTlpVEc5allYUnBiMjRpT2lKM1pYTjBkWE1pZlE/YXBpLXZlcnNpb249MjAxNi0wOS0wMQ==",
+ "RequestUri": "/subscriptions/a724c543-53ce-44a6-b633-e11ef27839b7/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1QUzg0MjctV0VTVFVTIiwiam9iTG9jYXRpb24iOiJ3ZXN0dXMifQ?api-version=2016-09-01",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYTcyNGM1NDMtNTNjZS00NGE2LWI2MzMtZTExZWYyNzgzOWI3L29wZXJhdGlvbnJlc3VsdHMvZXlKcWIySkpaQ0k2SWxKRlUwOVZVa05GUjFKUFZWQkVSVXhGVkVsUFRrcFBRaTFRVXpnME1qY3RWMFZUVkZWVElpd2lhbTlpVEc5allYUnBiMjRpT2lKM1pYTjBkWE1pZlE/YXBpLXZlcnNpb249MjAxNi0wOS0wMQ==",
"RequestMethod": "GET",
"RequestBody": "",
"RequestHeaders": {
"User-Agent": [
- "FxVersion/4.6.27617.04",
+ "FxVersion/4.6.28207.03",
"OSName/Windows",
- "OSVersion/Microsoft.Windows.10.0.17763.",
- "Microsoft.Azure.Management.Internal.Resources.ResourceManagementClient/1.2.0"
+ "OSVersion/Microsoft.Windows.10.0.18363.",
+ "Microsoft.Azure.Management.Internal.Resources.ResourceManagementClient/1.3.5"
]
},
"ResponseHeaders": {
@@ -459,13 +468,13 @@
"11997"
],
"x-ms-request-id": [
- "328be16a-e202-47b2-b922-6499d82569a3"
+ "30fb2b29-58ab-4ecf-9ac3-9811c68c346f"
],
"x-ms-correlation-request-id": [
- "328be16a-e202-47b2-b922-6499d82569a3"
+ "30fb2b29-58ab-4ecf-9ac3-9811c68c346f"
],
"x-ms-routing-request-id": [
- "WESTUS:20190628T212427Z:328be16a-e202-47b2-b922-6499d82569a3"
+ "WESTUS:20200209T130229Z:30fb2b29-58ab-4ecf-9ac3-9811c68c346f"
],
"Strict-Transport-Security": [
"max-age=31536000; includeSubDomains"
@@ -474,7 +483,7 @@
"nosniff"
],
"Date": [
- "Fri, 28 Jun 2019 21:24:26 GMT"
+ "Sun, 09 Feb 2020 13:02:28 GMT"
],
"Expires": [
"-1"
@@ -487,16 +496,16 @@
"StatusCode": 200
},
{
- "RequestUri": "/subscriptions/a724c543-53ce-44a6-b633-e11ef27839b7/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1QUzc3NjQtV0VTVFVTIiwiam9iTG9jYXRpb24iOiJ3ZXN0dXMifQ?api-version=2016-09-01",
- "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYTcyNGM1NDMtNTNjZS00NGE2LWI2MzMtZTExZWYyNzgzOWI3L29wZXJhdGlvbnJlc3VsdHMvZXlKcWIySkpaQ0k2SWxKRlUwOVZVa05GUjFKUFZWQkVSVXhGVkVsUFRrcFBRaTFRVXpjM05qUXRWMFZUVkZWVElpd2lhbTlpVEc5allYUnBiMjRpT2lKM1pYTjBkWE1pZlE/YXBpLXZlcnNpb249MjAxNi0wOS0wMQ==",
+ "RequestUri": "/subscriptions/a724c543-53ce-44a6-b633-e11ef27839b7/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1QUzg0MjctV0VTVFVTIiwiam9iTG9jYXRpb24iOiJ3ZXN0dXMifQ?api-version=2016-09-01",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYTcyNGM1NDMtNTNjZS00NGE2LWI2MzMtZTExZWYyNzgzOWI3L29wZXJhdGlvbnJlc3VsdHMvZXlKcWIySkpaQ0k2SWxKRlUwOVZVa05GUjFKUFZWQkVSVXhGVkVsUFRrcFBRaTFRVXpnME1qY3RWMFZUVkZWVElpd2lhbTlpVEc5allYUnBiMjRpT2lKM1pYTjBkWE1pZlE/YXBpLXZlcnNpb249MjAxNi0wOS0wMQ==",
"RequestMethod": "GET",
"RequestBody": "",
"RequestHeaders": {
"User-Agent": [
- "FxVersion/4.6.27617.04",
+ "FxVersion/4.6.28207.03",
"OSName/Windows",
- "OSVersion/Microsoft.Windows.10.0.17763.",
- "Microsoft.Azure.Management.Internal.Resources.ResourceManagementClient/1.2.0"
+ "OSVersion/Microsoft.Windows.10.0.18363.",
+ "Microsoft.Azure.Management.Internal.Resources.ResourceManagementClient/1.3.5"
]
},
"ResponseHeaders": {
@@ -510,13 +519,13 @@
"11996"
],
"x-ms-request-id": [
- "d7372dd1-b914-4548-81ed-57e72843ade8"
+ "d530045d-420f-47f6-a2ad-2cac6cba1a85"
],
"x-ms-correlation-request-id": [
- "d7372dd1-b914-4548-81ed-57e72843ade8"
+ "d530045d-420f-47f6-a2ad-2cac6cba1a85"
],
"x-ms-routing-request-id": [
- "WESTUS:20190628T212427Z:d7372dd1-b914-4548-81ed-57e72843ade8"
+ "WESTUS:20200209T130229Z:d530045d-420f-47f6-a2ad-2cac6cba1a85"
],
"Strict-Transport-Security": [
"max-age=31536000; includeSubDomains"
@@ -525,7 +534,7 @@
"nosniff"
],
"Date": [
- "Fri, 28 Jun 2019 21:24:26 GMT"
+ "Sun, 09 Feb 2020 13:02:28 GMT"
],
"Expires": [
"-1"
@@ -540,8 +549,8 @@
],
"Names": {
"Test-DeleteAttestationByName": [
- "ps550",
- "ps7764"
+ "ps359",
+ "ps8427"
]
},
"Variables": {
diff --git a/src/Attestation/Attestation.Test/SessionRecords/Microsoft.Azure.Commands.Attestation.Test.ScenarioTests.AttstationTests/TestGetAttestation.json b/src/Attestation/Attestation.Test/SessionRecords/Microsoft.Azure.Commands.Attestation.Test.ScenarioTests.AttstationTests/TestGetAttestation.json
index 29679bdda78f..35a3bc4b3f25 100644
--- a/src/Attestation/Attestation.Test/SessionRecords/Microsoft.Azure.Commands.Attestation.Test.ScenarioTests.AttstationTests/TestGetAttestation.json
+++ b/src/Attestation/Attestation.Test/SessionRecords/Microsoft.Azure.Commands.Attestation.Test.ScenarioTests.AttstationTests/TestGetAttestation.json
@@ -1,22 +1,22 @@
{
"Entries": [
{
- "RequestUri": "/subscriptions/a724c543-53ce-44a6-b633-e11ef27839b7/resourcegroups/ps1757?api-version=2016-09-01",
- "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYTcyNGM1NDMtNTNjZS00NGE2LWI2MzMtZTExZWYyNzgzOWI3L3Jlc291cmNlZ3JvdXBzL3BzMTc1Nz9hcGktdmVyc2lvbj0yMDE2LTA5LTAx",
+ "RequestUri": "/subscriptions/a724c543-53ce-44a6-b633-e11ef27839b7/resourcegroups/ps696?api-version=2016-09-01",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYTcyNGM1NDMtNTNjZS00NGE2LWI2MzMtZTExZWYyNzgzOWI3L3Jlc291cmNlZ3JvdXBzL3BzNjk2P2FwaS12ZXJzaW9uPTIwMTYtMDktMDE=",
"RequestMethod": "PUT",
"RequestBody": "{\r\n \"location\": \"WestUS\"\r\n}",
"RequestHeaders": {
"x-ms-client-request-id": [
- "eac8baca-9d08-4fd4-b57f-4e13d5cf2600"
+ "63ce86d6-c6a2-4a5c-bdab-ccf37acc9d94"
],
"Accept-Language": [
"en-US"
],
"User-Agent": [
- "FxVersion/4.6.27617.04",
+ "FxVersion/4.6.28207.03",
"OSName/Windows",
- "OSVersion/Microsoft.Windows.10.0.17763.",
- "Microsoft.Azure.Management.Internal.Resources.ResourceManagementClient/1.2.0"
+ "OSVersion/Microsoft.Windows.10.0.18363.",
+ "Microsoft.Azure.Management.Internal.Resources.ResourceManagementClient/1.3.5"
],
"Content-Type": [
"application/json; charset=utf-8"
@@ -36,13 +36,13 @@
"1199"
],
"x-ms-request-id": [
- "3bce293a-6f91-4693-822d-9e3147c1a2ac"
+ "95e104d3-2c00-4843-a1f0-fa29af888ab9"
],
"x-ms-correlation-request-id": [
- "3bce293a-6f91-4693-822d-9e3147c1a2ac"
+ "95e104d3-2c00-4843-a1f0-fa29af888ab9"
],
"x-ms-routing-request-id": [
- "WESTUS:20190628T211833Z:3bce293a-6f91-4693-822d-9e3147c1a2ac"
+ "WESTUS:20200209T130320Z:95e104d3-2c00-4843-a1f0-fa29af888ab9"
],
"Strict-Transport-Security": [
"max-age=31536000; includeSubDomains"
@@ -51,10 +51,10 @@
"nosniff"
],
"Date": [
- "Fri, 28 Jun 2019 21:18:33 GMT"
+ "Sun, 09 Feb 2020 13:03:20 GMT"
],
"Content-Length": [
- "165"
+ "163"
],
"Content-Type": [
"application/json; charset=utf-8"
@@ -63,26 +63,26 @@
"-1"
]
},
- "ResponseBody": "{\r\n \"id\": \"/subscriptions/a724c543-53ce-44a6-b633-e11ef27839b7/resourceGroups/ps1757\",\r\n \"name\": \"ps1757\",\r\n \"location\": \"westus\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n}",
+ "ResponseBody": "{\r\n \"id\": \"/subscriptions/a724c543-53ce-44a6-b633-e11ef27839b7/resourceGroups/ps696\",\r\n \"name\": \"ps696\",\r\n \"location\": \"westus\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n}",
"StatusCode": 201
},
{
- "RequestUri": "/subscriptions/a724c543-53ce-44a6-b633-e11ef27839b7/resourceGroups/ps1757/providers/Microsoft.Attestation/attestationProviders/ps4923?api-version=2018-09-01-preview",
- "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYTcyNGM1NDMtNTNjZS00NGE2LWI2MzMtZTExZWYyNzgzOWI3L3Jlc291cmNlR3JvdXBzL3BzMTc1Ny9wcm92aWRlcnMvTWljcm9zb2Z0LkF0dGVzdGF0aW9uL2F0dGVzdGF0aW9uUHJvdmlkZXJzL3BzNDkyMz9hcGktdmVyc2lvbj0yMDE4LTA5LTAxLXByZXZpZXc=",
+ "RequestUri": "/subscriptions/a724c543-53ce-44a6-b633-e11ef27839b7/resourceGroups/ps696/providers/Microsoft.Attestation/attestationProviders/ps8104?api-version=2018-09-01-preview",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYTcyNGM1NDMtNTNjZS00NGE2LWI2MzMtZTExZWYyNzgzOWI3L3Jlc291cmNlR3JvdXBzL3BzNjk2L3Byb3ZpZGVycy9NaWNyb3NvZnQuQXR0ZXN0YXRpb24vYXR0ZXN0YXRpb25Qcm92aWRlcnMvcHM4MTA0P2FwaS12ZXJzaW9uPTIwMTgtMDktMDEtcHJldmlldw==",
"RequestMethod": "PUT",
"RequestBody": "{\r\n \"attestationPolicy\": \"SgxDisableDebugMode\"\r\n}",
"RequestHeaders": {
"x-ms-client-request-id": [
- "8358a17f-75e4-4c4e-85ad-b1b10683b56e"
+ "74563c61-7ca0-4a6f-8d00-cbfa107b0d78"
],
"Accept-Language": [
"en-US"
],
"User-Agent": [
- "FxVersion/4.6.27617.04",
+ "FxVersion/4.6.28207.03",
"OSName/Windows",
- "OSVersion/Microsoft.Windows.10.0.17763.",
- "Microsoft.Azure.Management.Attestation.AttestationManagementClient/0.9.5.0"
+ "OSVersion/Microsoft.Windows.10.0.18363.",
+ "Microsoft.Azure.Management.Attestation.AttestationManagementClient/0.9.6.0"
],
"Content-Type": [
"application/json; charset=utf-8"
@@ -99,7 +99,7 @@
"no-cache"
],
"Location": [
- "fabric:/AttestationService/Tenant/ps4923"
+ "https://ps8104.us.attest.azure.net/"
],
"x-ms-ratelimit-remaining-subscription-writes": [
"1199"
@@ -107,14 +107,17 @@
"Server": [
"Kestrel"
],
+ "WWW-Authenticate": [
+ "Bearer authorization_uri=\"https://login.windows.net/72f988bf-86f1-41af-91ab-2d7cd011db47\", resource=\"https://attest.azure.net\""
+ ],
"x-ms-request-id": [
- "4e3531b6-f1f3-4002-9ac0-79c4d4c8af02"
+ "3877512d-fa8a-464b-859e-ea570353ed56"
],
"x-ms-correlation-request-id": [
- "4e3531b6-f1f3-4002-9ac0-79c4d4c8af02"
+ "3877512d-fa8a-464b-859e-ea570353ed56"
],
"x-ms-routing-request-id": [
- "WESTUS:20190628T211836Z:4e3531b6-f1f3-4002-9ac0-79c4d4c8af02"
+ "WESTUS:20200209T130323Z:3877512d-fa8a-464b-859e-ea570353ed56"
],
"Strict-Transport-Security": [
"max-age=31536000; includeSubDomains"
@@ -123,10 +126,10 @@
"nosniff"
],
"Date": [
- "Fri, 28 Jun 2019 21:18:35 GMT"
+ "Sun, 09 Feb 2020 13:03:22 GMT"
],
"Content-Length": [
- "293"
+ "289"
],
"Content-Type": [
"application/json; charset=utf-8"
@@ -135,26 +138,26 @@
"-1"
]
},
- "ResponseBody": "{\r\n \"id\": \"subscriptions/a724c543-53ce-44a6-b633-e11ef27839b7/resourceGroups/ps1757/providers/Microsoft.Attestation/attestationProviders/ps4923\",\r\n \"name\": \"ps4923\",\r\n \"type\": \"Microsoft.Attestation/attestationProviders\",\r\n \"properties\": {\r\n \"status\": \"NotReady\",\r\n \"attestUri\": \"https://ps4923.us.attest.azure.net\"\r\n }\r\n}",
+ "ResponseBody": "{\r\n \"id\": \"subscriptions/a724c543-53ce-44a6-b633-e11ef27839b7/resourceGroups/ps696/providers/Microsoft.Attestation/attestationProviders/ps8104\",\r\n \"name\": \"ps8104\",\r\n \"type\": \"Microsoft.Attestation/attestationProviders\",\r\n \"properties\": {\r\n \"status\": \"Ready\",\r\n \"attestUri\": \"https://ps8104.us.attest.azure.net\"\r\n }\r\n}",
"StatusCode": 201
},
{
- "RequestUri": "/subscriptions/a724c543-53ce-44a6-b633-e11ef27839b7/resourceGroups/ps1757/providers/Microsoft.Attestation/attestationProviders/ps4923?api-version=2018-09-01-preview",
- "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYTcyNGM1NDMtNTNjZS00NGE2LWI2MzMtZTExZWYyNzgzOWI3L3Jlc291cmNlR3JvdXBzL3BzMTc1Ny9wcm92aWRlcnMvTWljcm9zb2Z0LkF0dGVzdGF0aW9uL2F0dGVzdGF0aW9uUHJvdmlkZXJzL3BzNDkyMz9hcGktdmVyc2lvbj0yMDE4LTA5LTAxLXByZXZpZXc=",
+ "RequestUri": "/subscriptions/a724c543-53ce-44a6-b633-e11ef27839b7/resourceGroups/ps696/providers/Microsoft.Attestation/attestationProviders/ps8104?api-version=2018-09-01-preview",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYTcyNGM1NDMtNTNjZS00NGE2LWI2MzMtZTExZWYyNzgzOWI3L3Jlc291cmNlR3JvdXBzL3BzNjk2L3Byb3ZpZGVycy9NaWNyb3NvZnQuQXR0ZXN0YXRpb24vYXR0ZXN0YXRpb25Qcm92aWRlcnMvcHM4MTA0P2FwaS12ZXJzaW9uPTIwMTgtMDktMDEtcHJldmlldw==",
"RequestMethod": "GET",
"RequestBody": "",
"RequestHeaders": {
"x-ms-client-request-id": [
- "3fbf93c1-c109-41f8-aec7-df53ad912118"
+ "7c331157-420e-485a-a6bb-7cce6c88caa4"
],
"Accept-Language": [
"en-US"
],
"User-Agent": [
- "FxVersion/4.6.27617.04",
+ "FxVersion/4.6.28207.03",
"OSName/Windows",
- "OSVersion/Microsoft.Windows.10.0.17763.",
- "Microsoft.Azure.Management.Attestation.AttestationManagementClient/0.9.5.0"
+ "OSVersion/Microsoft.Windows.10.0.18363.",
+ "Microsoft.Azure.Management.Attestation.AttestationManagementClient/0.9.6.0"
]
},
"ResponseHeaders": {
@@ -170,14 +173,17 @@
"Server": [
"Kestrel"
],
+ "WWW-Authenticate": [
+ "Bearer authorization_uri=\"https://login.windows.net/72f988bf-86f1-41af-91ab-2d7cd011db47\", resource=\"https://attest.azure.net\""
+ ],
"x-ms-request-id": [
- "ab9653ef-1c9d-4976-b753-e235641ac84e"
+ "3f2144d8-3de8-4463-9e49-98dc76d9b6e3"
],
"x-ms-correlation-request-id": [
- "ab9653ef-1c9d-4976-b753-e235641ac84e"
+ "3f2144d8-3de8-4463-9e49-98dc76d9b6e3"
],
"x-ms-routing-request-id": [
- "WESTUS:20190628T211836Z:ab9653ef-1c9d-4976-b753-e235641ac84e"
+ "WESTUS:20200209T130323Z:3f2144d8-3de8-4463-9e49-98dc76d9b6e3"
],
"Strict-Transport-Security": [
"max-age=31536000; includeSubDomains"
@@ -186,10 +192,10 @@
"nosniff"
],
"Date": [
- "Fri, 28 Jun 2019 21:18:35 GMT"
+ "Sun, 09 Feb 2020 13:03:22 GMT"
],
"Content-Length": [
- "293"
+ "289"
],
"Content-Type": [
"application/json; charset=utf-8"
@@ -198,26 +204,26 @@
"-1"
]
},
- "ResponseBody": "{\r\n \"id\": \"subscriptions/a724c543-53ce-44a6-b633-e11ef27839b7/resourceGroups/ps1757/providers/Microsoft.Attestation/attestationProviders/ps4923\",\r\n \"name\": \"ps4923\",\r\n \"type\": \"Microsoft.Attestation/attestationProviders\",\r\n \"properties\": {\r\n \"status\": \"NotReady\",\r\n \"attestUri\": \"https://ps4923.us.attest.azure.net\"\r\n }\r\n}",
+ "ResponseBody": "{\r\n \"id\": \"subscriptions/a724c543-53ce-44a6-b633-e11ef27839b7/resourceGroups/ps696/providers/Microsoft.Attestation/attestationProviders/ps8104\",\r\n \"name\": \"ps8104\",\r\n \"type\": \"Microsoft.Attestation/attestationProviders\",\r\n \"properties\": {\r\n \"status\": \"Ready\",\r\n \"attestUri\": \"https://ps8104.us.attest.azure.net\"\r\n }\r\n}",
"StatusCode": 200
},
{
- "RequestUri": "/subscriptions/a724c543-53ce-44a6-b633-e11ef27839b7/resourcegroups/ps1757?api-version=2016-09-01",
- "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYTcyNGM1NDMtNTNjZS00NGE2LWI2MzMtZTExZWYyNzgzOWI3L3Jlc291cmNlZ3JvdXBzL3BzMTc1Nz9hcGktdmVyc2lvbj0yMDE2LTA5LTAx",
+ "RequestUri": "/subscriptions/a724c543-53ce-44a6-b633-e11ef27839b7/resourcegroups/ps696?api-version=2016-09-01",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYTcyNGM1NDMtNTNjZS00NGE2LWI2MzMtZTExZWYyNzgzOWI3L3Jlc291cmNlZ3JvdXBzL3BzNjk2P2FwaS12ZXJzaW9uPTIwMTYtMDktMDE=",
"RequestMethod": "DELETE",
"RequestBody": "",
"RequestHeaders": {
"x-ms-client-request-id": [
- "5011cbaa-b6fc-4ecd-b771-21b9499b926a"
+ "96e4fe67-cb2f-45bf-8ef7-58dfdb273342"
],
"Accept-Language": [
"en-US"
],
"User-Agent": [
- "FxVersion/4.6.27617.04",
+ "FxVersion/4.6.28207.03",
"OSName/Windows",
- "OSVersion/Microsoft.Windows.10.0.17763.",
- "Microsoft.Azure.Management.Internal.Resources.ResourceManagementClient/1.2.0"
+ "OSVersion/Microsoft.Windows.10.0.18363.",
+ "Microsoft.Azure.Management.Internal.Resources.ResourceManagementClient/1.3.5"
]
},
"ResponseHeaders": {
@@ -228,7 +234,7 @@
"no-cache"
],
"Location": [
- "https://management.azure.com/subscriptions/a724c543-53ce-44a6-b633-e11ef27839b7/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1QUzE3NTctV0VTVFVTIiwiam9iTG9jYXRpb24iOiJ3ZXN0dXMifQ?api-version=2016-09-01"
+ "https://management.azure.com/subscriptions/a724c543-53ce-44a6-b633-e11ef27839b7/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1QUzY5Ni1XRVNUVVMiLCJqb2JMb2NhdGlvbiI6Indlc3R1cyJ9?api-version=2016-09-01"
],
"Retry-After": [
"15"
@@ -237,13 +243,13 @@
"14999"
],
"x-ms-request-id": [
- "e805b461-1f5f-4432-bc0d-dd02d202293c"
+ "9d2c6ff0-efbb-4c44-8786-98a5ea0b0af6"
],
"x-ms-correlation-request-id": [
- "e805b461-1f5f-4432-bc0d-dd02d202293c"
+ "9d2c6ff0-efbb-4c44-8786-98a5ea0b0af6"
],
"x-ms-routing-request-id": [
- "WESTUS:20190628T211836Z:e805b461-1f5f-4432-bc0d-dd02d202293c"
+ "WESTUS:20200209T130323Z:9d2c6ff0-efbb-4c44-8786-98a5ea0b0af6"
],
"Strict-Transport-Security": [
"max-age=31536000; includeSubDomains"
@@ -252,7 +258,7 @@
"nosniff"
],
"Date": [
- "Fri, 28 Jun 2019 21:18:36 GMT"
+ "Sun, 09 Feb 2020 13:03:23 GMT"
],
"Expires": [
"-1"
@@ -265,16 +271,16 @@
"StatusCode": 202
},
{
- "RequestUri": "/subscriptions/a724c543-53ce-44a6-b633-e11ef27839b7/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1QUzE3NTctV0VTVFVTIiwiam9iTG9jYXRpb24iOiJ3ZXN0dXMifQ?api-version=2016-09-01",
- "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYTcyNGM1NDMtNTNjZS00NGE2LWI2MzMtZTExZWYyNzgzOWI3L29wZXJhdGlvbnJlc3VsdHMvZXlKcWIySkpaQ0k2SWxKRlUwOVZVa05GUjFKUFZWQkVSVXhGVkVsUFRrcFBRaTFRVXpFM05UY3RWMFZUVkZWVElpd2lhbTlpVEc5allYUnBiMjRpT2lKM1pYTjBkWE1pZlE/YXBpLXZlcnNpb249MjAxNi0wOS0wMQ==",
+ "RequestUri": "/subscriptions/a724c543-53ce-44a6-b633-e11ef27839b7/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1QUzY5Ni1XRVNUVVMiLCJqb2JMb2NhdGlvbiI6Indlc3R1cyJ9?api-version=2016-09-01",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYTcyNGM1NDMtNTNjZS00NGE2LWI2MzMtZTExZWYyNzgzOWI3L29wZXJhdGlvbnJlc3VsdHMvZXlKcWIySkpaQ0k2SWxKRlUwOVZVa05GUjFKUFZWQkVSVXhGVkVsUFRrcFBRaTFRVXpZNU5pMVhSVk5VVlZNaUxDSnFiMkpNYjJOaGRHbHZiaUk2SW5kbGMzUjFjeUo5P2FwaS12ZXJzaW9uPTIwMTYtMDktMDE=",
"RequestMethod": "GET",
"RequestBody": "",
"RequestHeaders": {
"User-Agent": [
- "FxVersion/4.6.27617.04",
+ "FxVersion/4.6.28207.03",
"OSName/Windows",
- "OSVersion/Microsoft.Windows.10.0.17763.",
- "Microsoft.Azure.Management.Internal.Resources.ResourceManagementClient/1.2.0"
+ "OSVersion/Microsoft.Windows.10.0.18363.",
+ "Microsoft.Azure.Management.Internal.Resources.ResourceManagementClient/1.3.5"
]
},
"ResponseHeaders": {
@@ -285,7 +291,7 @@
"no-cache"
],
"Location": [
- "https://management.azure.com/subscriptions/a724c543-53ce-44a6-b633-e11ef27839b7/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1QUzE3NTctV0VTVFVTIiwiam9iTG9jYXRpb24iOiJ3ZXN0dXMifQ?api-version=2016-09-01"
+ "https://management.azure.com/subscriptions/a724c543-53ce-44a6-b633-e11ef27839b7/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1QUzY5Ni1XRVNUVVMiLCJqb2JMb2NhdGlvbiI6Indlc3R1cyJ9?api-version=2016-09-01"
],
"Retry-After": [
"15"
@@ -294,13 +300,13 @@
"11999"
],
"x-ms-request-id": [
- "d3b9a86b-e149-42fe-807c-3a0dd698f1a3"
+ "8ee7947a-e75d-4e0f-90c7-c0c180b56f27"
],
"x-ms-correlation-request-id": [
- "d3b9a86b-e149-42fe-807c-3a0dd698f1a3"
+ "8ee7947a-e75d-4e0f-90c7-c0c180b56f27"
],
"x-ms-routing-request-id": [
- "WESTUS:20190628T211851Z:d3b9a86b-e149-42fe-807c-3a0dd698f1a3"
+ "WESTUS:20200209T130338Z:8ee7947a-e75d-4e0f-90c7-c0c180b56f27"
],
"Strict-Transport-Security": [
"max-age=31536000; includeSubDomains"
@@ -309,7 +315,7 @@
"nosniff"
],
"Date": [
- "Fri, 28 Jun 2019 21:18:51 GMT"
+ "Sun, 09 Feb 2020 13:03:38 GMT"
],
"Expires": [
"-1"
@@ -322,16 +328,16 @@
"StatusCode": 202
},
{
- "RequestUri": "/subscriptions/a724c543-53ce-44a6-b633-e11ef27839b7/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1QUzE3NTctV0VTVFVTIiwiam9iTG9jYXRpb24iOiJ3ZXN0dXMifQ?api-version=2016-09-01",
- "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYTcyNGM1NDMtNTNjZS00NGE2LWI2MzMtZTExZWYyNzgzOWI3L29wZXJhdGlvbnJlc3VsdHMvZXlKcWIySkpaQ0k2SWxKRlUwOVZVa05GUjFKUFZWQkVSVXhGVkVsUFRrcFBRaTFRVXpFM05UY3RWMFZUVkZWVElpd2lhbTlpVEc5allYUnBiMjRpT2lKM1pYTjBkWE1pZlE/YXBpLXZlcnNpb249MjAxNi0wOS0wMQ==",
+ "RequestUri": "/subscriptions/a724c543-53ce-44a6-b633-e11ef27839b7/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1QUzY5Ni1XRVNUVVMiLCJqb2JMb2NhdGlvbiI6Indlc3R1cyJ9?api-version=2016-09-01",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYTcyNGM1NDMtNTNjZS00NGE2LWI2MzMtZTExZWYyNzgzOWI3L29wZXJhdGlvbnJlc3VsdHMvZXlKcWIySkpaQ0k2SWxKRlUwOVZVa05GUjFKUFZWQkVSVXhGVkVsUFRrcFBRaTFRVXpZNU5pMVhSVk5VVlZNaUxDSnFiMkpNYjJOaGRHbHZiaUk2SW5kbGMzUjFjeUo5P2FwaS12ZXJzaW9uPTIwMTYtMDktMDE=",
"RequestMethod": "GET",
"RequestBody": "",
"RequestHeaders": {
"User-Agent": [
- "FxVersion/4.6.27617.04",
+ "FxVersion/4.6.28207.03",
"OSName/Windows",
- "OSVersion/Microsoft.Windows.10.0.17763.",
- "Microsoft.Azure.Management.Internal.Resources.ResourceManagementClient/1.2.0"
+ "OSVersion/Microsoft.Windows.10.0.18363.",
+ "Microsoft.Azure.Management.Internal.Resources.ResourceManagementClient/1.3.5"
]
},
"ResponseHeaders": {
@@ -342,7 +348,7 @@
"no-cache"
],
"Location": [
- "https://management.azure.com/subscriptions/a724c543-53ce-44a6-b633-e11ef27839b7/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1QUzE3NTctV0VTVFVTIiwiam9iTG9jYXRpb24iOiJ3ZXN0dXMifQ?api-version=2016-09-01"
+ "https://management.azure.com/subscriptions/a724c543-53ce-44a6-b633-e11ef27839b7/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1QUzY5Ni1XRVNUVVMiLCJqb2JMb2NhdGlvbiI6Indlc3R1cyJ9?api-version=2016-09-01"
],
"Retry-After": [
"15"
@@ -351,13 +357,13 @@
"11998"
],
"x-ms-request-id": [
- "a75c8808-3c1f-4755-a4b8-353bf1bb1b33"
+ "37cae7dc-cc1a-4443-965c-b5fb6f373eb3"
],
"x-ms-correlation-request-id": [
- "a75c8808-3c1f-4755-a4b8-353bf1bb1b33"
+ "37cae7dc-cc1a-4443-965c-b5fb6f373eb3"
],
"x-ms-routing-request-id": [
- "WESTUS:20190628T211906Z:a75c8808-3c1f-4755-a4b8-353bf1bb1b33"
+ "WESTUS:20200209T130353Z:37cae7dc-cc1a-4443-965c-b5fb6f373eb3"
],
"Strict-Transport-Security": [
"max-age=31536000; includeSubDomains"
@@ -366,7 +372,7 @@
"nosniff"
],
"Date": [
- "Fri, 28 Jun 2019 21:19:06 GMT"
+ "Sun, 09 Feb 2020 13:03:52 GMT"
],
"Expires": [
"-1"
@@ -379,16 +385,16 @@
"StatusCode": 202
},
{
- "RequestUri": "/subscriptions/a724c543-53ce-44a6-b633-e11ef27839b7/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1QUzE3NTctV0VTVFVTIiwiam9iTG9jYXRpb24iOiJ3ZXN0dXMifQ?api-version=2016-09-01",
- "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYTcyNGM1NDMtNTNjZS00NGE2LWI2MzMtZTExZWYyNzgzOWI3L29wZXJhdGlvbnJlc3VsdHMvZXlKcWIySkpaQ0k2SWxKRlUwOVZVa05GUjFKUFZWQkVSVXhGVkVsUFRrcFBRaTFRVXpFM05UY3RWMFZUVkZWVElpd2lhbTlpVEc5allYUnBiMjRpT2lKM1pYTjBkWE1pZlE/YXBpLXZlcnNpb249MjAxNi0wOS0wMQ==",
+ "RequestUri": "/subscriptions/a724c543-53ce-44a6-b633-e11ef27839b7/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1QUzY5Ni1XRVNUVVMiLCJqb2JMb2NhdGlvbiI6Indlc3R1cyJ9?api-version=2016-09-01",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYTcyNGM1NDMtNTNjZS00NGE2LWI2MzMtZTExZWYyNzgzOWI3L29wZXJhdGlvbnJlc3VsdHMvZXlKcWIySkpaQ0k2SWxKRlUwOVZVa05GUjFKUFZWQkVSVXhGVkVsUFRrcFBRaTFRVXpZNU5pMVhSVk5VVlZNaUxDSnFiMkpNYjJOaGRHbHZiaUk2SW5kbGMzUjFjeUo5P2FwaS12ZXJzaW9uPTIwMTYtMDktMDE=",
"RequestMethod": "GET",
"RequestBody": "",
"RequestHeaders": {
"User-Agent": [
- "FxVersion/4.6.27617.04",
+ "FxVersion/4.6.28207.03",
"OSName/Windows",
- "OSVersion/Microsoft.Windows.10.0.17763.",
- "Microsoft.Azure.Management.Internal.Resources.ResourceManagementClient/1.2.0"
+ "OSVersion/Microsoft.Windows.10.0.18363.",
+ "Microsoft.Azure.Management.Internal.Resources.ResourceManagementClient/1.3.5"
]
},
"ResponseHeaders": {
@@ -398,17 +404,23 @@
"Pragma": [
"no-cache"
],
+ "Location": [
+ "https://management.azure.com/subscriptions/a724c543-53ce-44a6-b633-e11ef27839b7/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1QUzY5Ni1XRVNUVVMiLCJqb2JMb2NhdGlvbiI6Indlc3R1cyJ9?api-version=2016-09-01"
+ ],
+ "Retry-After": [
+ "15"
+ ],
"x-ms-ratelimit-remaining-subscription-reads": [
"11997"
],
"x-ms-request-id": [
- "2e554915-e71c-4829-9bc7-144616aa0320"
+ "8a3e92c3-6114-4857-b209-869ec1d54a8a"
],
"x-ms-correlation-request-id": [
- "2e554915-e71c-4829-9bc7-144616aa0320"
+ "8a3e92c3-6114-4857-b209-869ec1d54a8a"
],
"x-ms-routing-request-id": [
- "WESTUS:20190628T211921Z:2e554915-e71c-4829-9bc7-144616aa0320"
+ "WESTUS:20200209T130408Z:8a3e92c3-6114-4857-b209-869ec1d54a8a"
],
"Strict-Transport-Security": [
"max-age=31536000; includeSubDomains"
@@ -417,7 +429,7 @@
"nosniff"
],
"Date": [
- "Fri, 28 Jun 2019 21:19:21 GMT"
+ "Sun, 09 Feb 2020 13:04:08 GMT"
],
"Expires": [
"-1"
@@ -427,19 +439,19 @@
]
},
"ResponseBody": "",
- "StatusCode": 200
+ "StatusCode": 202
},
{
- "RequestUri": "/subscriptions/a724c543-53ce-44a6-b633-e11ef27839b7/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1QUzE3NTctV0VTVFVTIiwiam9iTG9jYXRpb24iOiJ3ZXN0dXMifQ?api-version=2016-09-01",
- "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYTcyNGM1NDMtNTNjZS00NGE2LWI2MzMtZTExZWYyNzgzOWI3L29wZXJhdGlvbnJlc3VsdHMvZXlKcWIySkpaQ0k2SWxKRlUwOVZVa05GUjFKUFZWQkVSVXhGVkVsUFRrcFBRaTFRVXpFM05UY3RWMFZUVkZWVElpd2lhbTlpVEc5allYUnBiMjRpT2lKM1pYTjBkWE1pZlE/YXBpLXZlcnNpb249MjAxNi0wOS0wMQ==",
+ "RequestUri": "/subscriptions/a724c543-53ce-44a6-b633-e11ef27839b7/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1QUzY5Ni1XRVNUVVMiLCJqb2JMb2NhdGlvbiI6Indlc3R1cyJ9?api-version=2016-09-01",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYTcyNGM1NDMtNTNjZS00NGE2LWI2MzMtZTExZWYyNzgzOWI3L29wZXJhdGlvbnJlc3VsdHMvZXlKcWIySkpaQ0k2SWxKRlUwOVZVa05GUjFKUFZWQkVSVXhGVkVsUFRrcFBRaTFRVXpZNU5pMVhSVk5VVlZNaUxDSnFiMkpNYjJOaGRHbHZiaUk2SW5kbGMzUjFjeUo5P2FwaS12ZXJzaW9uPTIwMTYtMDktMDE=",
"RequestMethod": "GET",
"RequestBody": "",
"RequestHeaders": {
"User-Agent": [
- "FxVersion/4.6.27617.04",
+ "FxVersion/4.6.28207.03",
"OSName/Windows",
- "OSVersion/Microsoft.Windows.10.0.17763.",
- "Microsoft.Azure.Management.Internal.Resources.ResourceManagementClient/1.2.0"
+ "OSVersion/Microsoft.Windows.10.0.18363.",
+ "Microsoft.Azure.Management.Internal.Resources.ResourceManagementClient/1.3.5"
]
},
"ResponseHeaders": {
@@ -453,13 +465,64 @@
"11996"
],
"x-ms-request-id": [
- "300c49a4-ebf2-46bf-a3ed-057e33691969"
+ "e843f790-795d-405c-abc9-57f68f6b1b33"
+ ],
+ "x-ms-correlation-request-id": [
+ "e843f790-795d-405c-abc9-57f68f6b1b33"
+ ],
+ "x-ms-routing-request-id": [
+ "WESTUS:20200209T130424Z:e843f790-795d-405c-abc9-57f68f6b1b33"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "X-Content-Type-Options": [
+ "nosniff"
+ ],
+ "Date": [
+ "Sun, 09 Feb 2020 13:04:23 GMT"
+ ],
+ "Expires": [
+ "-1"
+ ],
+ "Content-Length": [
+ "0"
+ ]
+ },
+ "ResponseBody": "",
+ "StatusCode": 200
+ },
+ {
+ "RequestUri": "/subscriptions/a724c543-53ce-44a6-b633-e11ef27839b7/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1QUzY5Ni1XRVNUVVMiLCJqb2JMb2NhdGlvbiI6Indlc3R1cyJ9?api-version=2016-09-01",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYTcyNGM1NDMtNTNjZS00NGE2LWI2MzMtZTExZWYyNzgzOWI3L29wZXJhdGlvbnJlc3VsdHMvZXlKcWIySkpaQ0k2SWxKRlUwOVZVa05GUjFKUFZWQkVSVXhGVkVsUFRrcFBRaTFRVXpZNU5pMVhSVk5VVlZNaUxDSnFiMkpNYjJOaGRHbHZiaUk2SW5kbGMzUjFjeUo5P2FwaS12ZXJzaW9uPTIwMTYtMDktMDE=",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "User-Agent": [
+ "FxVersion/4.6.28207.03",
+ "OSName/Windows",
+ "OSVersion/Microsoft.Windows.10.0.18363.",
+ "Microsoft.Azure.Management.Internal.Resources.ResourceManagementClient/1.3.5"
+ ]
+ },
+ "ResponseHeaders": {
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "x-ms-ratelimit-remaining-subscription-reads": [
+ "11995"
+ ],
+ "x-ms-request-id": [
+ "99b065d4-262f-4d09-a482-9e1b9d9a8b5c"
],
"x-ms-correlation-request-id": [
- "300c49a4-ebf2-46bf-a3ed-057e33691969"
+ "99b065d4-262f-4d09-a482-9e1b9d9a8b5c"
],
"x-ms-routing-request-id": [
- "WESTUS:20190628T211921Z:300c49a4-ebf2-46bf-a3ed-057e33691969"
+ "WESTUS:20200209T130424Z:99b065d4-262f-4d09-a482-9e1b9d9a8b5c"
],
"Strict-Transport-Security": [
"max-age=31536000; includeSubDomains"
@@ -468,7 +531,7 @@
"nosniff"
],
"Date": [
- "Fri, 28 Jun 2019 21:19:21 GMT"
+ "Sun, 09 Feb 2020 13:04:23 GMT"
],
"Expires": [
"-1"
@@ -483,8 +546,8 @@
],
"Names": {
"Test-GetAttestation": [
- "ps4923",
- "ps1757"
+ "ps8104",
+ "ps696"
]
},
"Variables": {
diff --git a/src/Attestation/Attestation/Attestation.csproj b/src/Attestation/Attestation/Attestation.csproj
index a78ded0491ed..7c751408dded 100644
--- a/src/Attestation/Attestation/Attestation.csproj
+++ b/src/Attestation/Attestation/Attestation.csproj
@@ -12,6 +12,7 @@
+
diff --git a/src/Attestation/Attestation/Az.Attestation.psd1 b/src/Attestation/Attestation/Az.Attestation.psd1
index 6d8ac8b8f9e8..7c7f493ba8ad 100644
--- a/src/Attestation/Attestation/Az.Attestation.psd1
+++ b/src/Attestation/Attestation/Az.Attestation.psd1
@@ -56,7 +56,7 @@ DotNetFrameworkVersion = '4.7.2'
RequiredModules = @(@{ModuleName = 'Az.Accounts'; ModuleVersion = '1.7.1'; })
# Assemblies that must be loaded prior to importing this module
-RequiredAssemblies = 'Microsoft.Azure.Management.Attestation.dll'
+RequiredAssemblies = 'Microsoft.Azure.Management.Attestation.dll','Microsoft.Azure.Attestation.dll'
# Script files (.ps1) that are run in the caller's environment prior to importing this module.
# ScriptsToProcess = @()
@@ -74,7 +74,7 @@ NestedModules = @('Microsoft.Azure.PowerShell.Cmdlets.Attestation.dll')
FunctionsToExport = @()
# Cmdlets to export from this module, for best performance, do not use wildcards and do not delete the entry, use an empty array if there are no cmdlets to export.
-CmdletsToExport = 'New-AzAttestation', 'Get-AzAttestation', 'Remove-AzAttestation'
+CmdletsToExport = 'New-AzAttestation', 'Get-AzAttestation', 'Remove-AzAttestation', 'Get-AzAttestationPolicy','Set-AzAttestationPolicy','Reset-AzAttestationPolicy'
# Variables to export from this module
# VariablesToExport = @()
diff --git a/src/Attestation/Attestation/ChangeLog.md b/src/Attestation/Attestation/ChangeLog.md
index bc5c9f613608..143cdc367b2d 100644
--- a/src/Attestation/Attestation/ChangeLog.md
+++ b/src/Attestation/Attestation/ChangeLog.md
@@ -20,6 +20,7 @@
## Upcoming Release
+* Added policy management cmdlets to `Az.Attestation` module
## Version 0.1.3
* Update references in .psd1 to use relative path
diff --git a/src/Attestation/Attestation/Commands/GetAzureAttestation.cs b/src/Attestation/Attestation/Commands/GetAzureAttestation.cs
index c88c7125bbd2..914c4ad619aa 100644
--- a/src/Attestation/Attestation/Commands/GetAzureAttestation.cs
+++ b/src/Attestation/Attestation/Commands/GetAzureAttestation.cs
@@ -16,7 +16,6 @@
using Microsoft.Azure.Commands.ResourceManager.Common.ArgumentCompleters;
using Microsoft.Azure.Management.Internal.Resources.Utilities.Models;
using System.Management.Automation;
-using Microsoft.Rest.Azure;
namespace Microsoft.Azure.Commands.Attestation
{
@@ -27,7 +26,7 @@ public class GetAzureAttestation : AttestationManagementCmdletBase
#region Parameter Set Names
private const string NameParameterSet = "NameParameterSet";
- private const string ResourceGroupParameterSet = "ResourceGroupParameterSet";
+ private const string ResourceIdParameterSet = "ResourceIdParameterSet";
#endregion
#region Input Parameter Definitions
@@ -49,7 +48,7 @@ public class GetAzureAttestation : AttestationManagementCmdletBase
Position = 0,
Mandatory = true,
ValueFromPipelineByPropertyName = true,
- ParameterSetName = ResourceGroupParameterSet,
+ ParameterSetName = ResourceIdParameterSet,
HelpMessage = "Specifies the name of the ResourceID associated with the attestation being queried")]
[ResourceGroupCompleter()]
[ValidateNotNullOrEmpty]
diff --git a/src/Attestation/Attestation/Commands/GetAzureAttestationPolicy.cs b/src/Attestation/Attestation/Commands/GetAzureAttestationPolicy.cs
new file mode 100644
index 000000000000..f1094ab61850
--- /dev/null
+++ b/src/Attestation/Attestation/Commands/GetAzureAttestationPolicy.cs
@@ -0,0 +1,85 @@
+// ----------------------------------------------------------------------------------
+//
+// Copyright Microsoft Corporation
+// Licensed under the Apache License, Version 2.0 (the "License");
+// you may not use this file except in compliance with the License.
+// You may obtain a copy of the License at
+// http://www.apache.org/licenses/LICENSE-2.0
+// Unless required by applicable law or agreed to in writing, software
+// distributed under the License is distributed on an "AS IS" BASIS,
+// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+// See the License for the specific language governing permissions and
+// limitations under the License.
+// ----------------------------------------------------------------------------------
+
+using System;
+using System.Management.Automation;
+using Microsoft.Azure.Commands.ResourceManager.Common.ArgumentCompleters;
+using Microsoft.Azure.Commands.Attestation.Models;
+
+namespace Microsoft.Azure.Commands.Attestation
+{
+ ///
+ /// Get AttestationPolicy.
+ ///
+ [Cmdlet("Get", ResourceManager.Common.AzureRMConstants.AzureRMPrefix + "AttestationPolicy", SupportsShouldProcess = true)]
+ [OutputType(typeof(String))]
+ public class GetAzureAttestationPolicy : AttestationDataServiceCmdletBase
+ {
+ #region Input Parameter Definitions
+
+ ///
+ /// Attestation provider name
+ ///
+ [Parameter(Mandatory = true,
+ Position = 0,
+ ValueFromPipelineByPropertyName = true,
+ ParameterSetName = NameParameterSet,
+ HelpMessage = "Specifies the name of an attestation provider.")]
+ [ResourceNameCompleter("Microsoft.Attestation", nameof(ResourceGroupName))]
+ [ValidateNotNullOrEmpty]
+ public string Name { get; set; }
+
+ ///
+ /// Resource group to which the attestation belongs.
+ ///
+ [Parameter(Mandatory = true,
+ Position = 1,
+ ValueFromPipelineByPropertyName = true,
+ ParameterSetName = NameParameterSet,
+ HelpMessage = "Specifies the resource group name of an attestation provider.")]
+ [ResourceGroupCompleter]
+ [ValidateNotNullOrEmpty()]
+ public string ResourceGroupName { get; set; }
+
+ ///
+ /// ResourceId to which the attestation belongs.
+ ///
+ [Parameter(Mandatory = true,
+ Position = 0,
+ ValueFromPipelineByPropertyName = true,
+ ParameterSetName = ResourceIdParameterSet,
+ HelpMessage = "Specifies the ResourceID of an attestation provider.")]
+ [ValidateNotNullOrEmpty]
+ public string ResourceId { get; set; }
+
+ ///
+ /// Trusted Execution Environment
+ ///
+ [Parameter(Mandatory = true,
+ HelpMessage =
+ "Specifies a type of Trusted Execution Environment. We support four types of environment: SgxEnclave, OpenEnclave, CyResComponent and VSMEnclave."
+ )]
+ [PSArgumentCompleter("SgxEnclave", "OpenEnclave", "CyResComponent", "VSMEnclave")]
+ [ValidateNotNullOrEmpty]
+ public string Tee { get; set; }
+
+ #endregion
+
+ public override void ExecuteCmdlet()
+ {
+ String policy = AttestationDataPlaneClient.GetPolicy(Name, ResourceGroupName, ResourceId, Tee);
+ WriteObject(policy);
+ }
+ }
+}
diff --git a/src/Attestation/Attestation/Commands/NewAzureAttestation.cs b/src/Attestation/Attestation/Commands/NewAzureAttestation.cs
index b8ffe1c0d370..4bc56a4c57f0 100644
--- a/src/Attestation/Attestation/Commands/NewAzureAttestation.cs
+++ b/src/Attestation/Attestation/Commands/NewAzureAttestation.cs
@@ -39,7 +39,7 @@ public class NewAzureAttestation : AttestationManagementCmdletBase
[Parameter(Mandatory = true,
ValueFromPipelineByPropertyName = true,
HelpMessage =
- "Specifies a name of the Instance to create. The name can be any combination of letters, digits, or hyphens. The name must start and end with a letter or digit. The name must be universally unique."
+ "Specifies a name for the attestation provider. The name can be any combination of letters, digits, or hyphens. The name must start and end with a letter or digit. The name must be universally unique."
)]
[ValidateNotNullOrEmpty]
[Alias("InstanceName")]
@@ -49,7 +49,7 @@ public class NewAzureAttestation : AttestationManagementCmdletBase
///
[Parameter(Mandatory = true,
ValueFromPipelineByPropertyName = true,
- HelpMessage = "Specifies the name of an existing resource group in which to create the attestation.")]
+ HelpMessage = "Specifies the name of an existing resource group in which to create the attestation provider.")]
[ResourceGroupCompleter]
[ValidateNotNullOrEmpty()]
public string ResourceGroupName { get; set; }
@@ -58,8 +58,9 @@ public class NewAzureAttestation : AttestationManagementCmdletBase
[Parameter(Mandatory = false,
ValueFromPipelineByPropertyName = true,
HelpMessage =
- "Specifies the attestation policy passed in which to create the attestation."
+ "Specifies the name of a policy template to be configured for the attestation provider."
)]
+ [PSArgumentCompleter("SgxDisableDebugMode", "SgxAllowDebugMode", "SgxRequireSqlServer", "SgxRequireSqlServerBogusMrSigner")]
public string AttestationPolicy { get; set; }
[Parameter(Mandatory = false,
diff --git a/src/Attestation/Attestation/Commands/ResetAzureAttestationPolicy.cs b/src/Attestation/Attestation/Commands/ResetAzureAttestationPolicy.cs
new file mode 100644
index 000000000000..06cbd932c8dc
--- /dev/null
+++ b/src/Attestation/Attestation/Commands/ResetAzureAttestationPolicy.cs
@@ -0,0 +1,106 @@
+// ----------------------------------------------------------------------------------
+//
+// Copyright Microsoft Corporation
+// Licensed under the Apache License, Version 2.0 (the "License");
+// you may not use this file except in compliance with the License.
+// You may obtain a copy of the License at
+// http://www.apache.org/licenses/LICENSE-2.0
+// Unless required by applicable law or agreed to in writing, software
+// distributed under the License is distributed on an "AS IS" BASIS,
+// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+// See the License for the specific language governing permissions and
+// limitations under the License.
+// ----------------------------------------------------------------------------------
+
+using System;
+using System.Management.Automation;
+using Microsoft.Rest.Azure;
+using Microsoft.Azure.Commands.Attestation.Models;
+using Microsoft.Azure.Commands.ResourceManager.Common.ArgumentCompleters;
+
+namespace Microsoft.Azure.Commands.Attestation
+{
+ ///
+ /// Reset AttestationPolicy.
+ ///
+ [Cmdlet("Reset", ResourceManager.Common.AzureRMConstants.AzureRMPrefix + "AttestationPolicy", SupportsShouldProcess = true)]
+ [OutputType(typeof(bool))]
+ public class ResetAzureAttestationPolicy : AttestationDataServiceCmdletBase
+ {
+ #region Input Parameter Definitions
+
+ ///
+ /// Attestation provider name
+ ///
+ [Parameter(Mandatory = true,
+ Position = 0,
+ ValueFromPipelineByPropertyName = true,
+ ParameterSetName = NameParameterSet,
+ HelpMessage = "Specifies the name of an attestation provider.")]
+ [ResourceNameCompleter("Microsoft.Attestation", nameof(ResourceGroupName))]
+ [ValidateNotNullOrEmpty]
+ public string Name { get; set; }
+
+ ///
+ /// Resource group to which the attestation belongs.
+ ///
+ [Parameter(Mandatory = true,
+ Position = 1,
+ ValueFromPipelineByPropertyName = true,
+ ParameterSetName = NameParameterSet,
+ HelpMessage = "Specifies the resource group name of an attestation provider.")]
+ [ResourceGroupCompleter]
+ [ValidateNotNullOrEmpty()]
+ public string ResourceGroupName { get; set; }
+
+ ///
+ /// ResourceId to which the attestation belongs.
+ ///
+ [Parameter(Mandatory = true,
+ Position = 0,
+ ValueFromPipelineByPropertyName = true,
+ ParameterSetName = ResourceIdParameterSet,
+ HelpMessage = "Specifies the ResourceID of an attestation provider.")]
+ [ValidateNotNullOrEmpty]
+ public string ResourceId { get; set; }
+
+ ///
+ /// Trusted Execution Environment
+ ///
+ [Parameter(Mandatory = true,
+ HelpMessage =
+ "Specifies a type of Trusted Execution Environment. We support four types of environment: SgxEnclave, OpenEnclave, CyResComponent and VSMEnclave."
+ )]
+ [PSArgumentCompleter("SgxEnclave", "OpenEnclave", "CyResComponent", "VSMEnclave")]
+ [ValidateNotNullOrEmpty]
+ public string Tee { get; set; }
+
+ ///
+ /// JSON Web Token
+ ///
+ [Parameter(Mandatory = false,
+ HelpMessage =
+ "Specifies the JSON Web Token describing the policy document to reset."
+ )]
+ [ValidateNotNullOrEmpty]
+ public string Policy { get; set; }
+
+ [Parameter(Mandatory = false,
+ HelpMessage = "This Cmdlet does not return an object by default. If this switch is specified, it returns true if successful.")]
+ public SwitchParameter PassThru { get; set; }
+
+ #endregion
+
+ public override void ExecuteCmdlet()
+ {
+ if (ShouldProcess(Name, "ResetAttestationPolicy"))
+ {
+ AttestationDataPlaneClient.ResetToDefaultPolicy(Name, ResourceGroupName, ResourceId, Tee, Policy);
+ if (PassThru)
+ {
+ WriteObject(true);
+ }
+ }
+ }
+ }
+}
diff --git a/src/Attestation/Attestation/Commands/SetAzureAttestationPolicy.cs b/src/Attestation/Attestation/Commands/SetAzureAttestationPolicy.cs
new file mode 100644
index 000000000000..e022b998e1e0
--- /dev/null
+++ b/src/Attestation/Attestation/Commands/SetAzureAttestationPolicy.cs
@@ -0,0 +1,105 @@
+// ----------------------------------------------------------------------------------
+//
+// Copyright Microsoft Corporation
+// Licensed under the Apache License, Version 2.0 (the "License");
+// you may not use this file except in compliance with the License.
+// You may obtain a copy of the License at
+// http://www.apache.org/licenses/LICENSE-2.0
+// Unless required by applicable law or agreed to in writing, software
+// distributed under the License is distributed on an "AS IS" BASIS,
+// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+// See the License for the specific language governing permissions and
+// limitations under the License.
+// ----------------------------------------------------------------------------------
+
+using System;
+using System.Management.Automation;
+using Microsoft.Azure.Commands.Attestation.Models;
+using Microsoft.Azure.Commands.ResourceManager.Common.ArgumentCompleters;
+
+namespace Microsoft.Azure.Commands.Attestation
+{
+ ///
+ /// Set AttestationPolicy.
+ ///
+ [Cmdlet("Set", ResourceManager.Common.AzureRMConstants.AzureRMPrefix + "AttestationPolicy", SupportsShouldProcess = true)]
+ [OutputType(typeof(String))]
+ public class SetAzureAttestationPolicy : AttestationDataServiceCmdletBase
+ {
+ #region Input Parameter Definitions
+
+ ///
+ /// Attestation provider name
+ ///
+ [Parameter(Mandatory = true,
+ Position = 0,
+ ValueFromPipelineByPropertyName = true,
+ ParameterSetName = NameParameterSet,
+ HelpMessage = "Specifies the name of an attestation provider.")]
+ [ResourceNameCompleter("Microsoft.Attestation", nameof(ResourceGroupName))]
+ [ValidateNotNullOrEmpty]
+ public string Name { get; set; }
+
+ ///
+ /// Resource group to which the attestation belongs.
+ ///
+ [Parameter(Mandatory = true,
+ Position = 1,
+ ValueFromPipelineByPropertyName = true,
+ ParameterSetName = NameParameterSet,
+ HelpMessage = "Specifies the resource group name of an attestation provider.")]
+ [ResourceGroupCompleter]
+ [ValidateNotNullOrEmpty()]
+ public string ResourceGroupName { get; set; }
+
+ ///
+ /// ResourceId to which the attestation belongs.
+ ///
+ [Parameter(Mandatory = true,
+ Position = 0,
+ ValueFromPipelineByPropertyName = true,
+ ParameterSetName = ResourceIdParameterSet,
+ HelpMessage = "Specifies the ResourceID of an attestation provider.")]
+ [ValidateNotNullOrEmpty]
+ public string ResourceId { get; set; }
+
+ ///
+ /// Trusted Execution Environment
+ ///
+ [Parameter(Mandatory = true,
+ HelpMessage =
+ "Specifies a type of Trusted Execution Environment. We support four types of environment: SgxEnclave, OpenEnclave, CyResComponent and VSMEnclave."
+ )]
+ [PSArgumentCompleter("SgxEnclave", "OpenEnclave", "CyResComponent", "VSMEnclave")]
+ [ValidateNotNullOrEmpty]
+ public string Tee { get; set; }
+
+ ///
+ /// JSON Web Token
+ ///
+ [Parameter(Mandatory = true,
+ HelpMessage =
+ "Specifies the JSON Web Token describing the policy document to set."
+ )]
+ [ValidateNotNullOrEmpty]
+ public string Policy { get; set; }
+
+ [Parameter(Mandatory = false,
+ HelpMessage = "This Cmdlet does not return an object by default. If this switch is specified, it returns true if successful.")]
+ public SwitchParameter PassThru { get; set; }
+
+ #endregion
+
+ public override void ExecuteCmdlet()
+ {
+ if (ShouldProcess(Name, "SetAttestationPolicy"))
+ {
+ AttestationDataPlaneClient.SetPolicy(Name, ResourceGroupName, ResourceId, Tee, Policy);
+ if (PassThru)
+ {
+ WriteObject(true);
+ }
+ }
+ }
+ }
+}
\ No newline at end of file
diff --git a/src/Attestation/Attestation/Models/AttestationDataServiceClient.cs b/src/Attestation/Attestation/Models/AttestationDataServiceClient.cs
new file mode 100644
index 000000000000..d90b3196d3c2
--- /dev/null
+++ b/src/Attestation/Attestation/Models/AttestationDataServiceClient.cs
@@ -0,0 +1,177 @@
+// ----------------------------------------------------------------------------------
+//
+// Copyright Microsoft Corporation
+// Licensed under the Apache License, Version 2.0 (the "License");
+// you may not use this file except in compliance with the License.
+// You may obtain a copy of the License at
+// http://www.apache.org/licenses/LICENSE-2.0
+// Unless required by applicable law or agreed to in writing, software
+// distributed under the License is distributed on an "AS IS" BASIS,
+// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+// See the License for the specific language governing permissions and
+// limitations under the License.
+// ----------------------------------------------------------------------------------
+
+using System;
+using System.Collections.Generic;
+using System.Net;
+using Microsoft.Azure.Attestation;
+using Microsoft.Azure.Attestation.Models;
+using Microsoft.Azure.Commands.Common.Authentication.Abstractions;
+using Microsoft.Azure.Commands.Common.Authentication;
+using Microsoft.Azure.Management.Attestation;
+using Microsoft.Azure.Management.Internal.Resources.Utilities.Models;
+using Microsoft.Rest;
+using Microsoft.Rest.Azure;
+
+namespace Microsoft.Azure.Commands.Attestation.Models
+{
+ public class AttestationDataServiceClient
+ {
+ private readonly Management.Attestation.AttestationManagementClient _attestationControlPlaneClient;
+ private readonly AttestationClient _attestationDataPlaneClient;
+ private static readonly Dictionary<(string, string), string> DataPlaneUriLookup = new Dictionary<(string, string), string>();
+ private const string DefaultResetPolicy = "eyJhbGciOiJub25lIn0..";
+
+ public AttestationDataServiceClient(IAuthenticationFactory authFactory, IAzureContext context)
+ {
+ if (authFactory == null)
+ throw new ArgumentNullException(nameof(authFactory));
+ if (context == null)
+ throw new ArgumentNullException(nameof(context));
+ if (context.Environment == null)
+ throw new ArgumentException(nameof(context.Environment));
+
+ ServiceClientCredentials clientCredentials = authFactory.GetServiceClientCredentials(context, AzureEnvironment.ExtendedEndpoint.AzureAttestationServiceEndpointResourceId);
+ _attestationDataPlaneClient = AzureSession.Instance.ClientFactory.CreateCustomArmClient(clientCredentials);
+ _attestationControlPlaneClient = AzureSession.Instance.ClientFactory.CreateArmClient(context, AzureEnvironment.Endpoint.ResourceManager);
+ }
+
+ public void SetPolicy(string name, string resourceGroupName, string resourceId, string tee, string policyJwt)
+ {
+ ValidateCommonParameters(ref name, ref resourceGroupName, resourceId);
+ if (string.IsNullOrEmpty(tee))
+ throw new ArgumentNullException(nameof(tee));
+ if (string.IsNullOrEmpty(policyJwt))
+ throw new ArgumentNullException(nameof(policyJwt));
+
+ // Step #1 - Ask service to prepare to set policy
+ AzureOperationResponse