From df8be988f0bba19bdd1e804bdc074d864cdad342 Mon Sep 17 00:00:00 2001 From: unknown Date: Tue, 22 Dec 2015 14:41:01 -0800 Subject: [PATCH 01/20] Updated ExpressRoute commandlets to latest package --- .../Commands.ExpressRoute/Commands.ExpressRoute.csproj | 2 +- .../ExpressRoute/Commands.ExpressRoute/ExpressRouteClient.cs | 2 +- .../ExpressRoute/Commands.ExpressRoute/packages.config | 2 +- .../Services/Commands.Test/Commands.Test.csproj | 2 +- src/ServiceManagement/Services/Commands.Test/packages.config | 2 +- 5 files changed, 5 insertions(+), 5 deletions(-) diff --git a/src/ServiceManagement/ExpressRoute/Commands.ExpressRoute/Commands.ExpressRoute.csproj b/src/ServiceManagement/ExpressRoute/Commands.ExpressRoute/Commands.ExpressRoute.csproj index 30dabfe8c164..0edb0c133cf4 100644 --- a/src/ServiceManagement/ExpressRoute/Commands.ExpressRoute/Commands.ExpressRoute.csproj +++ b/src/ServiceManagement/ExpressRoute/Commands.ExpressRoute/Commands.ExpressRoute.csproj @@ -91,7 +91,7 @@ ..\..\..\packages\Microsoft.WindowsAzure.Management.4.1.1\lib\net40\Microsoft.WindowsAzure.Management.dll - ..\..\..\packages\Microsoft.WindowsAzure.Management.ExpressRoute.0.18.12-preview\lib\net40\Microsoft.WindowsAzure.Management.ExpressRoute.dll + ..\..\..\packages\Microsoft.WindowsAzure.Management.ExpressRoute.0.18.13-preview\lib\net40\Microsoft.WindowsAzure.Management.ExpressRoute.dll True diff --git a/src/ServiceManagement/ExpressRoute/Commands.ExpressRoute/ExpressRouteClient.cs b/src/ServiceManagement/ExpressRoute/Commands.ExpressRoute/ExpressRouteClient.cs index be1b0b00903d..cd505a9e7186 100644 --- a/src/ServiceManagement/ExpressRoute/Commands.ExpressRoute/ExpressRouteClient.cs +++ b/src/ServiceManagement/ExpressRoute/Commands.ExpressRoute/ExpressRouteClient.cs @@ -145,11 +145,11 @@ public AzureDedicatedCircuit NewAzureDedicatedCircuit(string circuitName, var result = Client.DedicatedCircuits.New(new DedicatedCircuitNewParameters() { Bandwidth = bandwidth, + BillingType = billingType, CircuitName = circuitName, Location = location, ServiceProviderName = serviceProviderName, Sku = sku, - BillingType = billingType }); if (result.HttpStatusCode.Equals(HttpStatusCode.OK)) diff --git a/src/ServiceManagement/ExpressRoute/Commands.ExpressRoute/packages.config b/src/ServiceManagement/ExpressRoute/Commands.ExpressRoute/packages.config index 8dc79046e9e0..48bdd7eec5dd 100644 --- a/src/ServiceManagement/ExpressRoute/Commands.ExpressRoute/packages.config +++ b/src/ServiceManagement/ExpressRoute/Commands.ExpressRoute/packages.config @@ -13,6 +13,6 @@ - + \ No newline at end of file diff --git a/src/ServiceManagement/Services/Commands.Test/Commands.Test.csproj b/src/ServiceManagement/Services/Commands.Test/Commands.Test.csproj index dd16e8533ca1..e3e35c68089e 100644 --- a/src/ServiceManagement/Services/Commands.Test/Commands.Test.csproj +++ b/src/ServiceManagement/Services/Commands.Test/Commands.Test.csproj @@ -135,7 +135,7 @@ ..\..\..\packages\Microsoft.WindowsAzure.Management.Compute.12.3.1\lib\net40\Microsoft.WindowsAzure.Management.Compute.dll - ..\..\..\packages\Microsoft.WindowsAzure.Management.ExpressRoute.0.18.12-preview\lib\net40\Microsoft.WindowsAzure.Management.ExpressRoute.dll + ..\..\..\packages\Microsoft.WindowsAzure.Management.ExpressRoute.0.18.13-preview\lib\net40\Microsoft.WindowsAzure.Management.ExpressRoute.dll True diff --git a/src/ServiceManagement/Services/Commands.Test/packages.config b/src/ServiceManagement/Services/Commands.Test/packages.config index b799440dcbd3..259f968d1fc6 100644 --- a/src/ServiceManagement/Services/Commands.Test/packages.config +++ b/src/ServiceManagement/Services/Commands.Test/packages.config @@ -21,7 +21,7 @@ - + From d9d0ba7b06f87e014bd505e12d6e629e1a698a8f Mon Sep 17 00:00:00 2001 From: unknown Date: Wed, 23 Dec 2015 15:42:08 -0800 Subject: [PATCH 02/20] Updated to latest ExpressRoute package --- .../Commands.ExpressRoute/Commands.ExpressRoute.csproj | 4 ++-- .../ExpressRoute/Commands.ExpressRoute/packages.config | 2 +- .../Services/Commands.Test/Commands.Test.csproj | 2 +- src/ServiceManagement/Services/Commands.Test/packages.config | 2 +- 4 files changed, 5 insertions(+), 5 deletions(-) diff --git a/src/ServiceManagement/ExpressRoute/Commands.ExpressRoute/Commands.ExpressRoute.csproj b/src/ServiceManagement/ExpressRoute/Commands.ExpressRoute/Commands.ExpressRoute.csproj index 0edb0c133cf4..91f69a510ebd 100644 --- a/src/ServiceManagement/ExpressRoute/Commands.ExpressRoute/Commands.ExpressRoute.csproj +++ b/src/ServiceManagement/ExpressRoute/Commands.ExpressRoute/Commands.ExpressRoute.csproj @@ -90,8 +90,8 @@ False ..\..\..\packages\Microsoft.WindowsAzure.Management.4.1.1\lib\net40\Microsoft.WindowsAzure.Management.dll - - ..\..\..\packages\Microsoft.WindowsAzure.Management.ExpressRoute.0.18.13-preview\lib\net40\Microsoft.WindowsAzure.Management.ExpressRoute.dll + + ..\..\..\packages\Microsoft.WindowsAzure.Management.ExpressRoute.0.18.14-preview\lib\net40\Microsoft.WindowsAzure.Management.ExpressRoute.dll True diff --git a/src/ServiceManagement/ExpressRoute/Commands.ExpressRoute/packages.config b/src/ServiceManagement/ExpressRoute/Commands.ExpressRoute/packages.config index 48bdd7eec5dd..28ffd23d6803 100644 --- a/src/ServiceManagement/ExpressRoute/Commands.ExpressRoute/packages.config +++ b/src/ServiceManagement/ExpressRoute/Commands.ExpressRoute/packages.config @@ -13,6 +13,6 @@ - + \ No newline at end of file diff --git a/src/ServiceManagement/Services/Commands.Test/Commands.Test.csproj b/src/ServiceManagement/Services/Commands.Test/Commands.Test.csproj index e3e35c68089e..85e7b85707f8 100644 --- a/src/ServiceManagement/Services/Commands.Test/Commands.Test.csproj +++ b/src/ServiceManagement/Services/Commands.Test/Commands.Test.csproj @@ -135,7 +135,7 @@ ..\..\..\packages\Microsoft.WindowsAzure.Management.Compute.12.3.1\lib\net40\Microsoft.WindowsAzure.Management.Compute.dll - ..\..\..\packages\Microsoft.WindowsAzure.Management.ExpressRoute.0.18.13-preview\lib\net40\Microsoft.WindowsAzure.Management.ExpressRoute.dll + ..\..\..\packages\Microsoft.WindowsAzure.Management.ExpressRoute.0.18.14-preview\lib\net40\Microsoft.WindowsAzure.Management.ExpressRoute.dll True diff --git a/src/ServiceManagement/Services/Commands.Test/packages.config b/src/ServiceManagement/Services/Commands.Test/packages.config index 259f968d1fc6..fd48e0b6bd79 100644 --- a/src/ServiceManagement/Services/Commands.Test/packages.config +++ b/src/ServiceManagement/Services/Commands.Test/packages.config @@ -21,7 +21,7 @@ - + From db714e510a278d4ac3a78ea44e2ec8eac7096fe1 Mon Sep 17 00:00:00 2001 From: Microsoft Date: Wed, 6 Jan 2016 15:03:26 -0800 Subject: [PATCH 03/20] Re-enable server communication link tests against Stage North europe --- .../ServerCommunicationLinkCrudTests.cs | 6 +- .../ServerCommunicationLinkCrudTests.ps1 | 40 +- .../TestServerCommunicationLinkCreate.json | 1152 +++++++++++++++ .../TestServerCommunicationLinkGet.json | 1206 +++++++++++++++ .../TestServerCommunicationLinkRemove.json | 1314 +++++++++++++++++ 5 files changed, 3700 insertions(+), 18 deletions(-) create mode 100644 src/ResourceManager/Sql/Commands.Sql.Test/SessionRecords/Microsoft.Azure.Commands.Sql.Test.ScenarioTests.ServerCommunicationLinkCrudTests/TestServerCommunicationLinkCreate.json create mode 100644 src/ResourceManager/Sql/Commands.Sql.Test/SessionRecords/Microsoft.Azure.Commands.Sql.Test.ScenarioTests.ServerCommunicationLinkCrudTests/TestServerCommunicationLinkGet.json create mode 100644 src/ResourceManager/Sql/Commands.Sql.Test/SessionRecords/Microsoft.Azure.Commands.Sql.Test.ScenarioTests.ServerCommunicationLinkCrudTests/TestServerCommunicationLinkRemove.json diff --git a/src/ResourceManager/Sql/Commands.Sql.Test/ScenarioTests/ServerCommunicationLinkCrudTests.cs b/src/ResourceManager/Sql/Commands.Sql.Test/ScenarioTests/ServerCommunicationLinkCrudTests.cs index cc77e035ba2d..29e28acd7726 100644 --- a/src/ResourceManager/Sql/Commands.Sql.Test/ScenarioTests/ServerCommunicationLinkCrudTests.cs +++ b/src/ResourceManager/Sql/Commands.Sql.Test/ScenarioTests/ServerCommunicationLinkCrudTests.cs @@ -21,7 +21,7 @@ namespace Microsoft.Azure.Commands.Sql.Test.ScenarioTests public class ServerCommunicationLinkCrudTests : SqlTestsBase { // TODO: adumitr: re-enable the tests when feature is fully enabled in the region the tests use - // [Fact] + [Fact] [Trait(Category.AcceptanceType, Category.CheckIn)] public void TestServerCommunicationLinkCreate() { @@ -29,7 +29,7 @@ public void TestServerCommunicationLinkCreate() } // TODO: adumitr: re-enable the tests when feature is fully enabled in the region the tests use - // [Fact] + [Fact] [Trait(Category.AcceptanceType, Category.CheckIn)] public void TestServerCommunicationLinkGet() { @@ -37,7 +37,7 @@ public void TestServerCommunicationLinkGet() } // TODO: adumitr: re-enable the tests when feature is fully enabled in the region the tests use - // [Fact] + [Fact] [Trait(Category.AcceptanceType, Category.CheckIn)] public void TestServerCommunicationLinkRemove() { diff --git a/src/ResourceManager/Sql/Commands.Sql.Test/ScenarioTests/ServerCommunicationLinkCrudTests.ps1 b/src/ResourceManager/Sql/Commands.Sql.Test/ScenarioTests/ServerCommunicationLinkCrudTests.ps1 index c18a772f70f7..f0ff2306b762 100644 --- a/src/ResourceManager/Sql/Commands.Sql.Test/ScenarioTests/ServerCommunicationLinkCrudTests.ps1 +++ b/src/ResourceManager/Sql/Commands.Sql.Test/ScenarioTests/ServerCommunicationLinkCrudTests.ps1 @@ -19,9 +19,11 @@ function Test-CreateServerCommunicationLink { # Setup - $rg = Create-ResourceGroupForTest - $server = Create-ServerForTest $rg "Japan East" - $server2 = Create-ServerForTest $rg "Japan East" + $locationOverride = "North Europe" + $serverVersion = "12.0" + $rg = Create-ResourceGroupForTest $locationOverride + $server1 = Create-ServerForTest $rg $serverVersion $locationOverride + $server2 = Create-ServerForTest $rg $serverVersion $locationOverride try { @@ -30,6 +32,7 @@ function Test-CreateServerCommunicationLink -LinkName $linkName -PartnerServer $server2.ServerName Assert-NotNull $ep1 + Assert-AreEqual $linkName $ep1.Name Assert-AreEqual $server2.ServerName $ep1.PartnerServer } finally @@ -45,23 +48,28 @@ function Test-CreateServerCommunicationLink function Test-GetServerCommunicationLink { # Setup - $rg = Create-ResourceGroupForTest - $server = Create-ServerForTest $rg "Japan East" - $server2 = Create-ServerForTest $rg "Japan East" + $locationOverride = "North Europe" + $serverVersion = "12.0" + $rg = Create-ResourceGroupForTest $locationOverride + $server1 = Create-ServerForTest $rg $serverVersion $locationOverride + $server2 = Create-ServerForTest $rg $serverVersion $locationOverride $linkName = Get-ElasticPoolName $ep1 = New-AzureRmSqlServerCommunicationLink -ServerName $server1.ServerName -ResourceGroupName $rg.ResourceGroupName ` -LinkName $linkName -PartnerServer $server2.ServerName Assert-NotNull $ep1 + Assert-AreEqual $linkName $ep1.Name + Assert-AreEqual $server2.ServerName $ep1.PartnerServer try { $gep1 = Get-AzureRmSqlServerCommunicationLink -ServerName $server1.ServerName -ResourceGroupName $rg.ResourceGroupName ` - -LinkName $ep1.LinkName - Assert-NotNull $ep1 - Assert-AreEqual $server2.ServerName $ep1.PartnerServer + -LinkName $ep1.Name + Assert-NotNull $gep1 + Assert-AreEqual $linkName $gep1.Name + Assert-AreEqual $server2.ServerName $gep1.PartnerServer - $all = $server | Get-AzureRmSqlServerCommunicationLink + $all = $server1 | Get-AzureRmSqlServerCommunicationLink Assert-AreEqual $all.Count 1 } finally @@ -77,9 +85,11 @@ function Test-GetServerCommunicationLink function Test-RemoveServerCommunicationLink { # Setup - $rg = Create-ResourceGroupForTest - $server1 = Create-ServerForTest $rg "Japan East" - $server2 = Create-ServerForTest $rg "Japan East" + $locationOverride = "North Europe" + $serverVersion = "12.0" + $rg = Create-ResourceGroupForTest $locationOverride + $server1 = Create-ServerForTest $rg $serverVersion $locationOverride + $server2 = Create-ServerForTest $rg $serverVersion $locationOverride $linkName = Get-ElasticPoolName $ep1 = New-AzureRmSqlServerCommunicationLink -ServerName $server1.ServerName -ResourceGroupName $rg.ResourceGroupName ` @@ -88,9 +98,9 @@ function Test-RemoveServerCommunicationLink try { - Remove-AzureRmSqlServerCommunicationLink -ServerName $server1.ServerName -ResourceGroupName $rg.ResourceGroupName -LinkName $ep1.LinkName -Force + Remove-AzureRmSqlServerCommunicationLink -ServerName $server1.ServerName -ResourceGroupName $rg.ResourceGroupName -LinkName $ep1.Name -Force - $all = $server | Get-AzureRmSqlServerCommunicationLink + $all = $server1 | Get-AzureRmSqlServerCommunicationLink Assert-AreEqual $all.Count 0 } finally diff --git a/src/ResourceManager/Sql/Commands.Sql.Test/SessionRecords/Microsoft.Azure.Commands.Sql.Test.ScenarioTests.ServerCommunicationLinkCrudTests/TestServerCommunicationLinkCreate.json b/src/ResourceManager/Sql/Commands.Sql.Test/SessionRecords/Microsoft.Azure.Commands.Sql.Test.ScenarioTests.ServerCommunicationLinkCrudTests/TestServerCommunicationLinkCreate.json new file mode 100644 index 000000000000..bed376ec6448 --- /dev/null +++ b/src/ResourceManager/Sql/Commands.Sql.Test/SessionRecords/Microsoft.Azure.Commands.Sql.Test.ScenarioTests.ServerCommunicationLinkCrudTests/TestServerCommunicationLinkCreate.json @@ -0,0 +1,1152 @@ +{ + "Entries": [ + { + "RequestUri": "/subscriptions/1f7c1355-543c-4db6-b774-07b30abb8058/resourcegroups/onesdk9030?api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMWY3YzEzNTUtNTQzYy00ZGI2LWI3NzQtMDdiMzBhYmI4MDU4L3Jlc291cmNlZ3JvdXBzL29uZXNkazkwMzA/YXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestMethod": "HEAD", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Content-Length": [ + "102" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-failure-cause": [ + "gateway" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "14992" + ], + "x-ms-request-id": [ + "a07b7f6b-ab6f-4efe-9bf4-52da6ddf03db" + ], + "x-ms-correlation-request-id": [ + "a07b7f6b-ab6f-4efe-9bf4-52da6ddf03db" + ], + "x-ms-routing-request-id": [ + "CENTRALUS:20160106T225648Z:a07b7f6b-ab6f-4efe-9bf4-52da6ddf03db" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 06 Jan 2016 22:56:47 GMT" + ] + }, + "StatusCode": 404 + }, + { + "RequestUri": "/subscriptions/1f7c1355-543c-4db6-b774-07b30abb8058/resourcegroups/onesdk9030?api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMWY3YzEzNTUtNTQzYy00ZGI2LWI3NzQtMDdiMzBhYmI4MDU4L3Jlc291cmNlZ3JvdXBzL29uZXNkazkwMzA/YXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestMethod": "HEAD", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "14990" + ], + "x-ms-request-id": [ + "cbe5891f-deee-482d-9e85-bb2be6cc84f5" + ], + "x-ms-correlation-request-id": [ + "cbe5891f-deee-482d-9e85-bb2be6cc84f5" + ], + "x-ms-routing-request-id": [ + "CENTRALUS:20160106T225814Z:cbe5891f-deee-482d-9e85-bb2be6cc84f5" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 06 Jan 2016 22:58:13 GMT" + ] + }, + "StatusCode": 204 + }, + { + "RequestUri": "/subscriptions/1f7c1355-543c-4db6-b774-07b30abb8058/resourcegroups/onesdk9030?api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMWY3YzEzNTUtNTQzYy00ZGI2LWI3NzQtMDdiMzBhYmI4MDU4L3Jlc291cmNlZ3JvdXBzL29uZXNkazkwMzA/YXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestMethod": "PUT", + "RequestBody": "{\r\n \"location\": \"North Europe\"\r\n}", + "RequestHeaders": { + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Content-Length": [ + "34" + ], + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/1f7c1355-543c-4db6-b774-07b30abb8058/resourceGroups/onesdk9030\",\r\n \"name\": \"onesdk9030\",\r\n \"location\": \"northeurope\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n}", + "ResponseHeaders": { + "Content-Length": [ + "178" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-writes": [ + "1195" + ], + "x-ms-request-id": [ + "a21a9d4e-9c4d-4c25-b6bc-e3d6c3f51519" + ], + "x-ms-correlation-request-id": [ + "a21a9d4e-9c4d-4c25-b6bc-e3d6c3f51519" + ], + "x-ms-routing-request-id": [ + "CENTRALUS:20160106T225648Z:a21a9d4e-9c4d-4c25-b6bc-e3d6c3f51519" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 06 Jan 2016 22:56:47 GMT" + ] + }, + "StatusCode": 201 + }, + { + "RequestUri": "/subscriptions/1f7c1355-543c-4db6-b774-07b30abb8058/resourceGroups/onesdk9030/resources?api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMWY3YzEzNTUtNTQzYy00ZGI2LWI3NzQtMDdiMzBhYmI4MDU4L3Jlc291cmNlR3JvdXBzL29uZXNkazkwMzAvcmVzb3VyY2VzP2FwaS12ZXJzaW9uPTIwMTQtMDQtMDEtcHJldmlldw==", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"value\": []\r\n}", + "ResponseHeaders": { + "Content-Length": [ + "12" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "14991" + ], + "x-ms-request-id": [ + "2515faa6-6491-414a-a83a-552bda123fa6" + ], + "x-ms-correlation-request-id": [ + "2515faa6-6491-414a-a83a-552bda123fa6" + ], + "x-ms-routing-request-id": [ + "CENTRALUS:20160106T225648Z:2515faa6-6491-414a-a83a-552bda123fa6" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 06 Jan 2016 22:56:47 GMT" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/1f7c1355-543c-4db6-b774-07b30abb8058/resourceGroups/onesdk9030/providers/Microsoft.Sql/servers/onesdk3440?api-version=2014-04-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMWY3YzEzNTUtNTQzYy00ZGI2LWI3NzQtMDdiMzBhYmI4MDU4L3Jlc291cmNlR3JvdXBzL29uZXNkazkwMzAvcHJvdmlkZXJzL01pY3Jvc29mdC5TcWwvc2VydmVycy9vbmVzZGszNDQwP2FwaS12ZXJzaW9uPTIwMTQtMDQtMDE=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Sql.SqlManagementClient/0.9.0.0" + ], + "x-ms-client-request-id": [ + "f97267d3-abb1-4dff-84f9-32e256bacab2" + ] + }, + "ResponseBody": "{\r\n \"error\": {\r\n \"code\": \"ResourceNotFound\",\r\n \"message\": \"The Resource 'Microsoft.Sql/servers/onesdk3440' under resource group 'onesdk9030' was not found.\"\r\n }\r\n}", + "ResponseHeaders": { + "Content-Length": [ + "146" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-failure-cause": [ + "gateway" + ], + "x-ms-request-id": [ + "dc6c5aea-4d65-48cb-9d2a-ac35b293dfe8" + ], + "x-ms-correlation-request-id": [ + "dc6c5aea-4d65-48cb-9d2a-ac35b293dfe8" + ], + "x-ms-routing-request-id": [ + "CENTRALUS:20160106T225649Z:dc6c5aea-4d65-48cb-9d2a-ac35b293dfe8" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 06 Jan 2016 22:56:49 GMT" + ] + }, + "StatusCode": 404 + }, + { + "RequestUri": "/subscriptions/1f7c1355-543c-4db6-b774-07b30abb8058/resourceGroups/onesdk9030/providers/Microsoft.Sql/servers/onesdk3440?api-version=2014-04-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMWY3YzEzNTUtNTQzYy00ZGI2LWI3NzQtMDdiMzBhYmI4MDU4L3Jlc291cmNlR3JvdXBzL29uZXNkazkwMzAvcHJvdmlkZXJzL01pY3Jvc29mdC5TcWwvc2VydmVycy9vbmVzZGszNDQwP2FwaS12ZXJzaW9uPTIwMTQtMDQtMDE=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Sql.SqlManagementClient/0.9.0.0" + ], + "x-ms-client-request-id": [ + "ffaf5260-2ba0-4f08-bcf9-73792db3817c" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/1f7c1355-543c-4db6-b774-07b30abb8058/resourceGroups/onesdk9030/providers/Microsoft.Sql/servers/onesdk3440\",\r\n \"name\": \"onesdk3440\",\r\n \"type\": \"Microsoft.Sql/servers\",\r\n \"location\": \"North Europe\",\r\n \"kind\": \"v12.0\",\r\n \"properties\": {\r\n \"fullyQualifiedDomainName\": \"onesdk3440.sqltest-eg1.mscds.com\",\r\n \"administratorLogin\": \"testusername\",\r\n \"administratorLoginPassword\": null,\r\n \"externalAdministratorLogin\": null,\r\n \"externalAdministratorSid\": null,\r\n \"version\": \"12.0\",\r\n \"state\": \"Ready\"\r\n }\r\n}", + "ResponseHeaders": { + "Content-Length": [ + "467" + ], + "Content-Type": [ + "application/json; odata=minimalmetadata; streaming=true; charset=utf-8" + ], + "x-ms-request-id": [ + "b3cebf34-d8bc-46e4-9536-ef8b0f5ae371" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "DataServiceVersion": [ + "3.0;" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "14990" + ], + "x-ms-correlation-request-id": [ + "53aad8b7-d6a8-4c97-a1d0-3a676051bd27" + ], + "x-ms-routing-request-id": [ + "CENTRALUS:20160106T225808Z:53aad8b7-d6a8-4c97-a1d0-3a676051bd27" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-store, no-cache" + ], + "Date": [ + "Wed, 06 Jan 2016 22:58:08 GMT" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/1f7c1355-543c-4db6-b774-07b30abb8058/resourceGroups/onesdk9030/providers/Microsoft.Sql/servers/onesdk3440?api-version=2014-04-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMWY3YzEzNTUtNTQzYy00ZGI2LWI3NzQtMDdiMzBhYmI4MDU4L3Jlc291cmNlR3JvdXBzL29uZXNkazkwMzAvcHJvdmlkZXJzL01pY3Jvc29mdC5TcWwvc2VydmVycy9vbmVzZGszNDQwP2FwaS12ZXJzaW9uPTIwMTQtMDQtMDE=", + "RequestMethod": "PUT", + "RequestBody": "{\r\n \"properties\": {\r\n \"version\": \"12.0\",\r\n \"administratorLogin\": \"testusername\",\r\n \"administratorLoginPassword\": \"t357ingP@s5w0rd!\"\r\n },\r\n \"location\": \"North Europe\"\r\n}", + "RequestHeaders": { + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Content-Length": [ + "180" + ], + "User-Agent": [ + "Microsoft.Azure.Management.Sql.SqlManagementClient/0.9.0.0" + ], + "x-ms-client-request-id": [ + "92b832a4-8392-4132-a7e5-8f20bcc3d3d1" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/1f7c1355-543c-4db6-b774-07b30abb8058/resourceGroups/onesdk9030/providers/Microsoft.Sql/servers/onesdk3440\",\r\n \"name\": \"onesdk3440\",\r\n \"type\": \"Microsoft.Sql/servers\",\r\n \"location\": \"North Europe\",\r\n \"kind\": \"v12.0\",\r\n \"properties\": {\r\n \"fullyQualifiedDomainName\": \"onesdk3440.sqltest-eg1.mscds.com\",\r\n \"administratorLogin\": \"testusername\",\r\n \"administratorLoginPassword\": \"t357ingP@s5w0rd!\",\r\n \"externalAdministratorLogin\": null,\r\n \"externalAdministratorSid\": null,\r\n \"version\": \"12.0\",\r\n \"state\": \"Ready\"\r\n }\r\n}", + "ResponseHeaders": { + "Content-Length": [ + "481" + ], + "Content-Type": [ + "application/json; odata=minimalmetadata; streaming=true; charset=utf-8" + ], + "x-ms-request-id": [ + "5d5290b5-a4d5-44ad-80db-4d9384d6eaf8" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Preference-Applied": [ + "return-content" + ], + "DataServiceVersion": [ + "3.0;" + ], + "x-ms-ratelimit-remaining-subscription-writes": [ + "1195" + ], + "x-ms-correlation-request-id": [ + "13eed34d-dbc4-4a16-a59b-60ea18ddc5b2" + ], + "x-ms-routing-request-id": [ + "CENTRALUS:20160106T225729Z:13eed34d-dbc4-4a16-a59b-60ea18ddc5b2" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-store, no-cache" + ], + "Date": [ + "Wed, 06 Jan 2016 22:57:29 GMT" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 201 + }, + { + "RequestUri": "/subscriptions/1f7c1355-543c-4db6-b774-07b30abb8058/resourceGroups/onesdk9030/providers/Microsoft.Sql/servers/onesdk2942?api-version=2014-04-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMWY3YzEzNTUtNTQzYy00ZGI2LWI3NzQtMDdiMzBhYmI4MDU4L3Jlc291cmNlR3JvdXBzL29uZXNkazkwMzAvcHJvdmlkZXJzL01pY3Jvc29mdC5TcWwvc2VydmVycy9vbmVzZGsyOTQyP2FwaS12ZXJzaW9uPTIwMTQtMDQtMDE=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Sql.SqlManagementClient/0.9.0.0" + ], + "x-ms-client-request-id": [ + "770bb1d5-c605-4e8e-83a8-ec451bc9fb38" + ] + }, + "ResponseBody": "{\r\n \"error\": {\r\n \"code\": \"ResourceNotFound\",\r\n \"message\": \"The Resource 'Microsoft.Sql/servers/onesdk2942' under resource group 'onesdk9030' was not found.\"\r\n }\r\n}", + "ResponseHeaders": { + "Content-Length": [ + "146" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-failure-cause": [ + "gateway" + ], + "x-ms-request-id": [ + "b88ce890-e340-42d8-bba6-55699e235709" + ], + "x-ms-correlation-request-id": [ + "b88ce890-e340-42d8-bba6-55699e235709" + ], + "x-ms-routing-request-id": [ + "CENTRALUS:20160106T225730Z:b88ce890-e340-42d8-bba6-55699e235709" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 06 Jan 2016 22:57:29 GMT" + ] + }, + "StatusCode": 404 + }, + { + "RequestUri": "/subscriptions/1f7c1355-543c-4db6-b774-07b30abb8058/resourceGroups/onesdk9030/providers/Microsoft.Sql/servers/onesdk2942?api-version=2014-04-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMWY3YzEzNTUtNTQzYy00ZGI2LWI3NzQtMDdiMzBhYmI4MDU4L3Jlc291cmNlR3JvdXBzL29uZXNkazkwMzAvcHJvdmlkZXJzL01pY3Jvc29mdC5TcWwvc2VydmVycy9vbmVzZGsyOTQyP2FwaS12ZXJzaW9uPTIwMTQtMDQtMDE=", + "RequestMethod": "PUT", + "RequestBody": "{\r\n \"properties\": {\r\n \"version\": \"12.0\",\r\n \"administratorLogin\": \"testusername\",\r\n \"administratorLoginPassword\": \"t357ingP@s5w0rd!\"\r\n },\r\n \"location\": \"North Europe\"\r\n}", + "RequestHeaders": { + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Content-Length": [ + "180" + ], + "User-Agent": [ + "Microsoft.Azure.Management.Sql.SqlManagementClient/0.9.0.0" + ], + "x-ms-client-request-id": [ + "7d8a447f-93f1-44b4-82f8-42b0428b4771" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/1f7c1355-543c-4db6-b774-07b30abb8058/resourceGroups/onesdk9030/providers/Microsoft.Sql/servers/onesdk2942\",\r\n \"name\": \"onesdk2942\",\r\n \"type\": \"Microsoft.Sql/servers\",\r\n \"location\": \"North Europe\",\r\n \"kind\": \"v12.0\",\r\n \"properties\": {\r\n \"fullyQualifiedDomainName\": \"onesdk2942.sqltest-eg1.mscds.com\",\r\n \"administratorLogin\": \"testusername\",\r\n \"administratorLoginPassword\": \"t357ingP@s5w0rd!\",\r\n \"externalAdministratorLogin\": null,\r\n \"externalAdministratorSid\": null,\r\n \"version\": \"12.0\",\r\n \"state\": \"Ready\"\r\n }\r\n}", + "ResponseHeaders": { + "Content-Length": [ + "481" + ], + "Content-Type": [ + "application/json; odata=minimalmetadata; streaming=true; charset=utf-8" + ], + "x-ms-request-id": [ + "21af58bc-a218-4dc9-a8a4-4d38e52999c2" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Preference-Applied": [ + "return-content" + ], + "DataServiceVersion": [ + "3.0;" + ], + "x-ms-ratelimit-remaining-subscription-writes": [ + "1194" + ], + "x-ms-correlation-request-id": [ + "2d3d7bf3-80f0-4f94-8969-e4cf8807f750" + ], + "x-ms-routing-request-id": [ + "CENTRALUS:20160106T225807Z:2d3d7bf3-80f0-4f94-8969-e4cf8807f750" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-store, no-cache" + ], + "Date": [ + "Wed, 06 Jan 2016 22:58:07 GMT" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 201 + }, + { + "RequestUri": "/subscriptions/1f7c1355-543c-4db6-b774-07b30abb8058/resourceGroups/onesdk9030/providers/Microsoft.Sql/servers/onesdk3440/communicationLinks/onesdk4753?api-version=2014-04-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMWY3YzEzNTUtNTQzYy00ZGI2LWI3NzQtMDdiMzBhYmI4MDU4L3Jlc291cmNlR3JvdXBzL29uZXNkazkwMzAvcHJvdmlkZXJzL01pY3Jvc29mdC5TcWwvc2VydmVycy9vbmVzZGszNDQwL2NvbW11bmljYXRpb25MaW5rcy9vbmVzZGs0NzUzP2FwaS12ZXJzaW9uPTIwMTQtMDQtMDE=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Sql.SqlManagementClient/0.9.0.0" + ], + "x-ms-client-request-id": [ + "80dc8fe5-56d8-4ad0-bcc3-364a159af397" + ] + }, + "ResponseBody": "{\r\n \"code\": \"NotFound\",\r\n \"message\": \"Resource not found for the segment 'communicationLinks'.\",\r\n \"target\": null,\r\n \"details\": [],\r\n \"innererror\": []\r\n}", + "ResponseHeaders": { + "Content-Length": [ + "141" + ], + "Content-Type": [ + "application/json" + ], + "x-ms-request-id": [ + "b78678fe-2a84-4013-89b2-49869db778b3" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "DataServiceVersion": [ + "3.0;" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "14991" + ], + "x-ms-correlation-request-id": [ + "509553af-106e-45db-aabe-bfdc651bfeb8" + ], + "x-ms-routing-request-id": [ + "CENTRALUS:20160106T225808Z:509553af-106e-45db-aabe-bfdc651bfeb8" + ], + "Cache-Control": [ + "no-store, no-cache" + ], + "Date": [ + "Wed, 06 Jan 2016 22:58:08 GMT" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 404 + }, + { + "RequestUri": "/subscriptions/1f7c1355-543c-4db6-b774-07b30abb8058/resourceGroups/onesdk9030/providers/Microsoft.Sql/servers/onesdk3440/communicationLinks/onesdk4753?api-version=2014-04-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMWY3YzEzNTUtNTQzYy00ZGI2LWI3NzQtMDdiMzBhYmI4MDU4L3Jlc291cmNlR3JvdXBzL29uZXNkazkwMzAvcHJvdmlkZXJzL01pY3Jvc29mdC5TcWwvc2VydmVycy9vbmVzZGszNDQwL2NvbW11bmljYXRpb25MaW5rcy9vbmVzZGs0NzUzP2FwaS12ZXJzaW9uPTIwMTQtMDQtMDE=", + "RequestMethod": "PUT", + "RequestBody": "{\r\n \"properties\": {\r\n \"partnerServer\": \"onesdk2942\"\r\n },\r\n \"location\": \"North Europe\",\r\n \"tags\": {}\r\n}", + "RequestHeaders": { + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Content-Length": [ + "109" + ], + "User-Agent": [ + "Microsoft.Azure.Management.Sql.SqlManagementClient/0.9.0.0" + ], + "x-ms-client-request-id": [ + "e7c641f5-78b5-49fc-8669-b06c20d6117c" + ] + }, + "ResponseBody": "{\r\n \"operation\": \"CREATE\",\r\n \"startTime\": \"2016-01-06T14:58:11.997-08:00\"\r\n}", + "ResponseHeaders": { + "Content-Length": [ + "65" + ], + "Content-Type": [ + "application/json; odata=minimalmetadata; streaming=true; charset=utf-8" + ], + "Retry-After": [ + "30" + ], + "x-ms-request-id": [ + "9e646160-a25f-4012-903a-703ac74f41e6" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Preference-Applied": [ + "return-content" + ], + "DataServiceVersion": [ + "3.0;" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-ratelimit-remaining-subscription-writes": [ + "1193" + ], + "x-ms-correlation-request-id": [ + "c61838df-db26-4186-99b9-e779d55015ac" + ], + "x-ms-routing-request-id": [ + "CENTRALUS:20160106T225813Z:c61838df-db26-4186-99b9-e779d55015ac" + ], + "Cache-Control": [ + "no-store, no-cache" + ], + "Date": [ + "Wed, 06 Jan 2016 22:58:12 GMT" + ], + "Location": [ + "https://api-dogfood.resources.windows-int.net/subscriptions/1f7c1355-543c-4db6-b774-07b30abb8058/resourceGroups/onesdk9030/providers/Microsoft.Sql/servers/onesdk3440/communicationLinks/onesdk4753/operationResults/9e646160-a25f-4012-903a-703ac74f41e6?api-version=2014-04-01-Preview" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/1f7c1355-543c-4db6-b774-07b30abb8058/resourceGroups/onesdk9030/providers/Microsoft.Sql/servers/onesdk3440/communicationLinks/onesdk4753/operationResults/9e646160-a25f-4012-903a-703ac74f41e6?api-version=2014-04-01-Preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMWY3YzEzNTUtNTQzYy00ZGI2LWI3NzQtMDdiMzBhYmI4MDU4L3Jlc291cmNlR3JvdXBzL29uZXNkazkwMzAvcHJvdmlkZXJzL01pY3Jvc29mdC5TcWwvc2VydmVycy9vbmVzZGszNDQwL2NvbW11bmljYXRpb25MaW5rcy9vbmVzZGs0NzUzL29wZXJhdGlvblJlc3VsdHMvOWU2NDYxNjAtYTI1Zi00MDEyLTkwM2EtNzAzYWM3NGY0MWU2P2FwaS12ZXJzaW9uPTIwMTQtMDQtMDEtUHJldmlldw==", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Sql.SqlManagementClient/0.9.0.0" + ], + "x-ms-client-request-id": [ + "e7c641f5-78b5-49fc-8669-b06c20d6117c" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/1f7c1355-543c-4db6-b774-07b30abb8058/resourceGroups/onesdk9030/providers/Microsoft.Sql/servers/onesdk3440/communicationLinks/onesdk4753\",\r\n \"name\": \"onesdk4753\",\r\n \"type\": \"Microsoft.Sql/servers/communicationLinks\",\r\n \"location\": \"North Europe\",\r\n \"kind\": null,\r\n \"properties\": {\r\n \"state\": \"Ready\",\r\n \"partnerServer\": \"onesdk2942\"\r\n }\r\n}", + "ResponseHeaders": { + "Content-Length": [ + "327" + ], + "Content-Type": [ + "application/json; odata=minimalmetadata; streaming=true; charset=utf-8" + ], + "x-ms-request-id": [ + "0b963b5d-651d-4fe2-a8c4-7b7c8782b970" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "DataServiceVersion": [ + "3.0;" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "14989" + ], + "x-ms-correlation-request-id": [ + "e6dc14a8-d68b-41d4-9b46-3a45f634856b" + ], + "x-ms-routing-request-id": [ + "CENTRALUS:20160106T225814Z:e6dc14a8-d68b-41d4-9b46-3a45f634856b" + ], + "Cache-Control": [ + "no-store, no-cache" + ], + "Date": [ + "Wed, 06 Jan 2016 22:58:13 GMT" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 201 + }, + { + "RequestUri": "/subscriptions/1f7c1355-543c-4db6-b774-07b30abb8058/resourcegroups/onesdk9030?api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMWY3YzEzNTUtNTQzYy00ZGI2LWI3NzQtMDdiMzBhYmI4MDU4L3Jlc291cmNlZ3JvdXBzL29uZXNkazkwMzA/YXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestMethod": "DELETE", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "Retry-After": [ + "15" + ], + "x-ms-ratelimit-remaining-subscription-writes": [ + "1194" + ], + "x-ms-request-id": [ + "9b3629b4-569c-4d5d-beb7-3b0f5a589037" + ], + "x-ms-correlation-request-id": [ + "9b3629b4-569c-4d5d-beb7-3b0f5a589037" + ], + "x-ms-routing-request-id": [ + "CENTRALUS:20160106T225815Z:9b3629b4-569c-4d5d-beb7-3b0f5a589037" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 06 Jan 2016 22:58:15 GMT" + ], + "Location": [ + "https://api-dogfood.resources.windows-int.net/subscriptions/1f7c1355-543c-4db6-b774-07b30abb8058/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1PTkVTREs5MDMwLU5PUlRIRVVST1BFIiwiam9iTG9jYXRpb24iOiJub3J0aGV1cm9wZSJ9?api-version=2014-04-01-preview" + ] + }, + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/1f7c1355-543c-4db6-b774-07b30abb8058/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1PTkVTREs5MDMwLU5PUlRIRVVST1BFIiwiam9iTG9jYXRpb24iOiJub3J0aGV1cm9wZSJ9?api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMWY3YzEzNTUtNTQzYy00ZGI2LWI3NzQtMDdiMzBhYmI4MDU4L29wZXJhdGlvbnJlc3VsdHMvZXlKcWIySkpaQ0k2SWxKRlUwOVZVa05GUjFKUFZWQkVSVXhGVkVsUFRrcFBRaTFQVGtWVFJFczVNRE13TFU1UFVsUklSVlZTVDFCRklpd2lhbTlpVEc5allYUnBiMjRpT2lKdWIzSjBhR1YxY205d1pTSjk/YXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-version": [ + "2014-04-01-preview" + ], + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "Retry-After": [ + "15" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "14989" + ], + "x-ms-request-id": [ + "55f42afd-6d7b-43fc-b5d3-21061ecbdb4b" + ], + "x-ms-correlation-request-id": [ + "55f42afd-6d7b-43fc-b5d3-21061ecbdb4b" + ], + "x-ms-routing-request-id": [ + "CENTRALUS:20160106T225816Z:55f42afd-6d7b-43fc-b5d3-21061ecbdb4b" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 06 Jan 2016 22:58:15 GMT" + ], + "Location": [ + "https://api-dogfood.resources.windows-int.net/subscriptions/1f7c1355-543c-4db6-b774-07b30abb8058/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1PTkVTREs5MDMwLU5PUlRIRVVST1BFIiwiam9iTG9jYXRpb24iOiJub3J0aGV1cm9wZSJ9?api-version=2014-04-01-preview" + ] + }, + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/1f7c1355-543c-4db6-b774-07b30abb8058/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1PTkVTREs5MDMwLU5PUlRIRVVST1BFIiwiam9iTG9jYXRpb24iOiJub3J0aGV1cm9wZSJ9?api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMWY3YzEzNTUtNTQzYy00ZGI2LWI3NzQtMDdiMzBhYmI4MDU4L29wZXJhdGlvbnJlc3VsdHMvZXlKcWIySkpaQ0k2SWxKRlUwOVZVa05GUjFKUFZWQkVSVXhGVkVsUFRrcFBRaTFQVGtWVFJFczVNRE13TFU1UFVsUklSVlZTVDFCRklpd2lhbTlpVEc5allYUnBiMjRpT2lKdWIzSjBhR1YxY205d1pTSjk/YXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-version": [ + "2014-04-01-preview" + ], + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "Retry-After": [ + "15" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "14988" + ], + "x-ms-request-id": [ + "bdf37a6a-d108-4d06-86c0-fe4c6a406c59" + ], + "x-ms-correlation-request-id": [ + "bdf37a6a-d108-4d06-86c0-fe4c6a406c59" + ], + "x-ms-routing-request-id": [ + "CENTRALUS:20160106T225831Z:bdf37a6a-d108-4d06-86c0-fe4c6a406c59" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 06 Jan 2016 22:58:30 GMT" + ], + "Location": [ + "https://api-dogfood.resources.windows-int.net/subscriptions/1f7c1355-543c-4db6-b774-07b30abb8058/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1PTkVTREs5MDMwLU5PUlRIRVVST1BFIiwiam9iTG9jYXRpb24iOiJub3J0aGV1cm9wZSJ9?api-version=2014-04-01-preview" + ] + }, + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/1f7c1355-543c-4db6-b774-07b30abb8058/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1PTkVTREs5MDMwLU5PUlRIRVVST1BFIiwiam9iTG9jYXRpb24iOiJub3J0aGV1cm9wZSJ9?api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMWY3YzEzNTUtNTQzYy00ZGI2LWI3NzQtMDdiMzBhYmI4MDU4L29wZXJhdGlvbnJlc3VsdHMvZXlKcWIySkpaQ0k2SWxKRlUwOVZVa05GUjFKUFZWQkVSVXhGVkVsUFRrcFBRaTFQVGtWVFJFczVNRE13TFU1UFVsUklSVlZTVDFCRklpd2lhbTlpVEc5allYUnBiMjRpT2lKdWIzSjBhR1YxY205d1pTSjk/YXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-version": [ + "2014-04-01-preview" + ], + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "Retry-After": [ + "15" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "14987" + ], + "x-ms-request-id": [ + "16aef903-33b3-4c99-b199-7624974307dd" + ], + "x-ms-correlation-request-id": [ + "16aef903-33b3-4c99-b199-7624974307dd" + ], + "x-ms-routing-request-id": [ + "CENTRALUS:20160106T225846Z:16aef903-33b3-4c99-b199-7624974307dd" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 06 Jan 2016 22:58:45 GMT" + ], + "Location": [ + "https://api-dogfood.resources.windows-int.net/subscriptions/1f7c1355-543c-4db6-b774-07b30abb8058/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1PTkVTREs5MDMwLU5PUlRIRVVST1BFIiwiam9iTG9jYXRpb24iOiJub3J0aGV1cm9wZSJ9?api-version=2014-04-01-preview" + ] + }, + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/1f7c1355-543c-4db6-b774-07b30abb8058/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1PTkVTREs5MDMwLU5PUlRIRVVST1BFIiwiam9iTG9jYXRpb24iOiJub3J0aGV1cm9wZSJ9?api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMWY3YzEzNTUtNTQzYy00ZGI2LWI3NzQtMDdiMzBhYmI4MDU4L29wZXJhdGlvbnJlc3VsdHMvZXlKcWIySkpaQ0k2SWxKRlUwOVZVa05GUjFKUFZWQkVSVXhGVkVsUFRrcFBRaTFQVGtWVFJFczVNRE13TFU1UFVsUklSVlZTVDFCRklpd2lhbTlpVEc5allYUnBiMjRpT2lKdWIzSjBhR1YxY205d1pTSjk/YXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-version": [ + "2014-04-01-preview" + ], + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "Retry-After": [ + "15" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "14986" + ], + "x-ms-request-id": [ + "15bddc34-40ee-4185-9761-abba3dc72a83" + ], + "x-ms-correlation-request-id": [ + "15bddc34-40ee-4185-9761-abba3dc72a83" + ], + "x-ms-routing-request-id": [ + "CENTRALUS:20160106T225901Z:15bddc34-40ee-4185-9761-abba3dc72a83" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 06 Jan 2016 22:59:01 GMT" + ], + "Location": [ + "https://api-dogfood.resources.windows-int.net/subscriptions/1f7c1355-543c-4db6-b774-07b30abb8058/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1PTkVTREs5MDMwLU5PUlRIRVVST1BFIiwiam9iTG9jYXRpb24iOiJub3J0aGV1cm9wZSJ9?api-version=2014-04-01-preview" + ] + }, + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/1f7c1355-543c-4db6-b774-07b30abb8058/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1PTkVTREs5MDMwLU5PUlRIRVVST1BFIiwiam9iTG9jYXRpb24iOiJub3J0aGV1cm9wZSJ9?api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMWY3YzEzNTUtNTQzYy00ZGI2LWI3NzQtMDdiMzBhYmI4MDU4L29wZXJhdGlvbnJlc3VsdHMvZXlKcWIySkpaQ0k2SWxKRlUwOVZVa05GUjFKUFZWQkVSVXhGVkVsUFRrcFBRaTFQVGtWVFJFczVNRE13TFU1UFVsUklSVlZTVDFCRklpd2lhbTlpVEc5allYUnBiMjRpT2lKdWIzSjBhR1YxY205d1pTSjk/YXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-version": [ + "2014-04-01-preview" + ], + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "Retry-After": [ + "15" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "14985" + ], + "x-ms-request-id": [ + "88df0258-3b10-4ea4-a62a-e304fadfbac5" + ], + "x-ms-correlation-request-id": [ + "88df0258-3b10-4ea4-a62a-e304fadfbac5" + ], + "x-ms-routing-request-id": [ + "CENTRALUS:20160106T225917Z:88df0258-3b10-4ea4-a62a-e304fadfbac5" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 06 Jan 2016 22:59:17 GMT" + ], + "Location": [ + "https://api-dogfood.resources.windows-int.net/subscriptions/1f7c1355-543c-4db6-b774-07b30abb8058/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1PTkVTREs5MDMwLU5PUlRIRVVST1BFIiwiam9iTG9jYXRpb24iOiJub3J0aGV1cm9wZSJ9?api-version=2014-04-01-preview" + ] + }, + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/1f7c1355-543c-4db6-b774-07b30abb8058/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1PTkVTREs5MDMwLU5PUlRIRVVST1BFIiwiam9iTG9jYXRpb24iOiJub3J0aGV1cm9wZSJ9?api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMWY3YzEzNTUtNTQzYy00ZGI2LWI3NzQtMDdiMzBhYmI4MDU4L29wZXJhdGlvbnJlc3VsdHMvZXlKcWIySkpaQ0k2SWxKRlUwOVZVa05GUjFKUFZWQkVSVXhGVkVsUFRrcFBRaTFQVGtWVFJFczVNRE13TFU1UFVsUklSVlZTVDFCRklpd2lhbTlpVEc5allYUnBiMjRpT2lKdWIzSjBhR1YxY205d1pTSjk/YXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-version": [ + "2014-04-01-preview" + ], + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "Retry-After": [ + "15" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "14984" + ], + "x-ms-request-id": [ + "98dcd224-e5eb-4481-ac98-67d7f13436c8" + ], + "x-ms-correlation-request-id": [ + "98dcd224-e5eb-4481-ac98-67d7f13436c8" + ], + "x-ms-routing-request-id": [ + "CENTRALUS:20160106T225932Z:98dcd224-e5eb-4481-ac98-67d7f13436c8" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 06 Jan 2016 22:59:32 GMT" + ], + "Location": [ + "https://api-dogfood.resources.windows-int.net/subscriptions/1f7c1355-543c-4db6-b774-07b30abb8058/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1PTkVTREs5MDMwLU5PUlRIRVVST1BFIiwiam9iTG9jYXRpb24iOiJub3J0aGV1cm9wZSJ9?api-version=2014-04-01-preview" + ] + }, + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/1f7c1355-543c-4db6-b774-07b30abb8058/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1PTkVTREs5MDMwLU5PUlRIRVVST1BFIiwiam9iTG9jYXRpb24iOiJub3J0aGV1cm9wZSJ9?api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMWY3YzEzNTUtNTQzYy00ZGI2LWI3NzQtMDdiMzBhYmI4MDU4L29wZXJhdGlvbnJlc3VsdHMvZXlKcWIySkpaQ0k2SWxKRlUwOVZVa05GUjFKUFZWQkVSVXhGVkVsUFRrcFBRaTFQVGtWVFJFczVNRE13TFU1UFVsUklSVlZTVDFCRklpd2lhbTlpVEc5allYUnBiMjRpT2lKdWIzSjBhR1YxY205d1pTSjk/YXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-version": [ + "2014-04-01-preview" + ], + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "Retry-After": [ + "15" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "14983" + ], + "x-ms-request-id": [ + "6509fd2e-60ee-41b5-8f3f-8c5ce70f5200" + ], + "x-ms-correlation-request-id": [ + "6509fd2e-60ee-41b5-8f3f-8c5ce70f5200" + ], + "x-ms-routing-request-id": [ + "CENTRALUS:20160106T225947Z:6509fd2e-60ee-41b5-8f3f-8c5ce70f5200" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 06 Jan 2016 22:59:47 GMT" + ], + "Location": [ + "https://api-dogfood.resources.windows-int.net/subscriptions/1f7c1355-543c-4db6-b774-07b30abb8058/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1PTkVTREs5MDMwLU5PUlRIRVVST1BFIiwiam9iTG9jYXRpb24iOiJub3J0aGV1cm9wZSJ9?api-version=2014-04-01-preview" + ] + }, + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/1f7c1355-543c-4db6-b774-07b30abb8058/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1PTkVTREs5MDMwLU5PUlRIRVVST1BFIiwiam9iTG9jYXRpb24iOiJub3J0aGV1cm9wZSJ9?api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMWY3YzEzNTUtNTQzYy00ZGI2LWI3NzQtMDdiMzBhYmI4MDU4L29wZXJhdGlvbnJlc3VsdHMvZXlKcWIySkpaQ0k2SWxKRlUwOVZVa05GUjFKUFZWQkVSVXhGVkVsUFRrcFBRaTFQVGtWVFJFczVNRE13TFU1UFVsUklSVlZTVDFCRklpd2lhbTlpVEc5allYUnBiMjRpT2lKdWIzSjBhR1YxY205d1pTSjk/YXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-version": [ + "2014-04-01-preview" + ], + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "14982" + ], + "x-ms-request-id": [ + "ee1b9289-d1e8-462b-90cc-98759dff4fc6" + ], + "x-ms-correlation-request-id": [ + "ee1b9289-d1e8-462b-90cc-98759dff4fc6" + ], + "x-ms-routing-request-id": [ + "CENTRALUS:20160106T230002Z:ee1b9289-d1e8-462b-90cc-98759dff4fc6" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 06 Jan 2016 23:00:02 GMT" + ] + }, + "StatusCode": 200 + } + ], + "Names": { + "Test-CreateServerCommunicationLink": [ + "onesdk9030", + "onesdk3440", + "onesdk2942", + "onesdk4753" + ] + }, + "Variables": { + "SubscriptionId": "1f7c1355-543c-4db6-b774-07b30abb8058", + "TenantId": "40fd7297-7fa1-48b3-8666-e1255f509bfa", + "Domain": "aad141.ccsctp.net", + "User": "admin@aad141.ccsctp.net" + } +} \ No newline at end of file diff --git a/src/ResourceManager/Sql/Commands.Sql.Test/SessionRecords/Microsoft.Azure.Commands.Sql.Test.ScenarioTests.ServerCommunicationLinkCrudTests/TestServerCommunicationLinkGet.json b/src/ResourceManager/Sql/Commands.Sql.Test/SessionRecords/Microsoft.Azure.Commands.Sql.Test.ScenarioTests.ServerCommunicationLinkCrudTests/TestServerCommunicationLinkGet.json new file mode 100644 index 000000000000..c22c736bdc07 --- /dev/null +++ b/src/ResourceManager/Sql/Commands.Sql.Test/SessionRecords/Microsoft.Azure.Commands.Sql.Test.ScenarioTests.ServerCommunicationLinkCrudTests/TestServerCommunicationLinkGet.json @@ -0,0 +1,1206 @@ +{ + "Entries": [ + { + "RequestUri": "/subscriptions/1f7c1355-543c-4db6-b774-07b30abb8058/resourcegroups/onesdk5429?api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMWY3YzEzNTUtNTQzYy00ZGI2LWI3NzQtMDdiMzBhYmI4MDU4L3Jlc291cmNlZ3JvdXBzL29uZXNkazU0Mjk/YXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestMethod": "HEAD", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Content-Length": [ + "102" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-failure-cause": [ + "gateway" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "14986" + ], + "x-ms-request-id": [ + "23da82f7-b4ee-4168-b4c6-9d685675ffd1" + ], + "x-ms-correlation-request-id": [ + "23da82f7-b4ee-4168-b4c6-9d685675ffd1" + ], + "x-ms-routing-request-id": [ + "CENTRALUS:20160106T222210Z:23da82f7-b4ee-4168-b4c6-9d685675ffd1" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 06 Jan 2016 22:22:10 GMT" + ] + }, + "StatusCode": 404 + }, + { + "RequestUri": "/subscriptions/1f7c1355-543c-4db6-b774-07b30abb8058/resourcegroups/onesdk5429?api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMWY3YzEzNTUtNTQzYy00ZGI2LWI3NzQtMDdiMzBhYmI4MDU4L3Jlc291cmNlZ3JvdXBzL29uZXNkazU0Mjk/YXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestMethod": "HEAD", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "14984" + ], + "x-ms-request-id": [ + "03305109-6dca-415f-93f3-c91c344db5e4" + ], + "x-ms-correlation-request-id": [ + "03305109-6dca-415f-93f3-c91c344db5e4" + ], + "x-ms-routing-request-id": [ + "CENTRALUS:20160106T222342Z:03305109-6dca-415f-93f3-c91c344db5e4" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 06 Jan 2016 22:23:42 GMT" + ] + }, + "StatusCode": 204 + }, + { + "RequestUri": "/subscriptions/1f7c1355-543c-4db6-b774-07b30abb8058/resourcegroups/onesdk5429?api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMWY3YzEzNTUtNTQzYy00ZGI2LWI3NzQtMDdiMzBhYmI4MDU4L3Jlc291cmNlZ3JvdXBzL29uZXNkazU0Mjk/YXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestMethod": "PUT", + "RequestBody": "{\r\n \"location\": \"North Europe\"\r\n}", + "RequestHeaders": { + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Content-Length": [ + "34" + ], + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/1f7c1355-543c-4db6-b774-07b30abb8058/resourceGroups/onesdk5429\",\r\n \"name\": \"onesdk5429\",\r\n \"location\": \"northeurope\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n}", + "ResponseHeaders": { + "Content-Length": [ + "178" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-writes": [ + "1189" + ], + "x-ms-request-id": [ + "5800866f-66f6-4237-b8ea-e899bf501220" + ], + "x-ms-correlation-request-id": [ + "5800866f-66f6-4237-b8ea-e899bf501220" + ], + "x-ms-routing-request-id": [ + "CENTRALUS:20160106T222212Z:5800866f-66f6-4237-b8ea-e899bf501220" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 06 Jan 2016 22:22:12 GMT" + ] + }, + "StatusCode": 201 + }, + { + "RequestUri": "/subscriptions/1f7c1355-543c-4db6-b774-07b30abb8058/resourceGroups/onesdk5429/resources?api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMWY3YzEzNTUtNTQzYy00ZGI2LWI3NzQtMDdiMzBhYmI4MDU4L3Jlc291cmNlR3JvdXBzL29uZXNkazU0MjkvcmVzb3VyY2VzP2FwaS12ZXJzaW9uPTIwMTQtMDQtMDEtcHJldmlldw==", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"value\": []\r\n}", + "ResponseHeaders": { + "Content-Length": [ + "12" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "14985" + ], + "x-ms-request-id": [ + "4490e9a1-4af8-4652-94f3-90eeebc28ded" + ], + "x-ms-correlation-request-id": [ + "4490e9a1-4af8-4652-94f3-90eeebc28ded" + ], + "x-ms-routing-request-id": [ + "CENTRALUS:20160106T222212Z:4490e9a1-4af8-4652-94f3-90eeebc28ded" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 06 Jan 2016 22:22:12 GMT" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/1f7c1355-543c-4db6-b774-07b30abb8058/resourceGroups/onesdk5429/providers/Microsoft.Sql/servers/onesdk2125?api-version=2014-04-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMWY3YzEzNTUtNTQzYy00ZGI2LWI3NzQtMDdiMzBhYmI4MDU4L3Jlc291cmNlR3JvdXBzL29uZXNkazU0MjkvcHJvdmlkZXJzL01pY3Jvc29mdC5TcWwvc2VydmVycy9vbmVzZGsyMTI1P2FwaS12ZXJzaW9uPTIwMTQtMDQtMDE=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Sql.SqlManagementClient/0.9.0.0" + ], + "x-ms-client-request-id": [ + "dbdae440-d53b-4c9a-8cbc-62353d7ab79e" + ] + }, + "ResponseBody": "{\r\n \"error\": {\r\n \"code\": \"ResourceNotFound\",\r\n \"message\": \"The Resource 'Microsoft.Sql/servers/onesdk2125' under resource group 'onesdk5429' was not found.\"\r\n }\r\n}", + "ResponseHeaders": { + "Content-Length": [ + "146" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-failure-cause": [ + "gateway" + ], + "x-ms-request-id": [ + "589804ae-2c63-4092-82a1-fa40140597d8" + ], + "x-ms-correlation-request-id": [ + "589804ae-2c63-4092-82a1-fa40140597d8" + ], + "x-ms-routing-request-id": [ + "CENTRALUS:20160106T222213Z:589804ae-2c63-4092-82a1-fa40140597d8" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 06 Jan 2016 22:22:12 GMT" + ] + }, + "StatusCode": 404 + }, + { + "RequestUri": "/subscriptions/1f7c1355-543c-4db6-b774-07b30abb8058/resourceGroups/onesdk5429/providers/Microsoft.Sql/servers/onesdk2125?api-version=2014-04-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMWY3YzEzNTUtNTQzYy00ZGI2LWI3NzQtMDdiMzBhYmI4MDU4L3Jlc291cmNlR3JvdXBzL29uZXNkazU0MjkvcHJvdmlkZXJzL01pY3Jvc29mdC5TcWwvc2VydmVycy9vbmVzZGsyMTI1P2FwaS12ZXJzaW9uPTIwMTQtMDQtMDE=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Sql.SqlManagementClient/0.9.0.0" + ], + "x-ms-client-request-id": [ + "b37b3d88-6d60-423c-b621-ed187f6154e2" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/1f7c1355-543c-4db6-b774-07b30abb8058/resourceGroups/onesdk5429/providers/Microsoft.Sql/servers/onesdk2125\",\r\n \"name\": \"onesdk2125\",\r\n \"type\": \"Microsoft.Sql/servers\",\r\n \"location\": \"North Europe\",\r\n \"kind\": \"v12.0\",\r\n \"properties\": {\r\n \"fullyQualifiedDomainName\": \"onesdk2125.sqltest-eg1.mscds.com\",\r\n \"administratorLogin\": \"testusername\",\r\n \"administratorLoginPassword\": null,\r\n \"externalAdministratorLogin\": null,\r\n \"externalAdministratorSid\": null,\r\n \"version\": \"12.0\",\r\n \"state\": \"Ready\"\r\n }\r\n}", + "ResponseHeaders": { + "Content-Length": [ + "467" + ], + "Content-Type": [ + "application/json; odata=minimalmetadata; streaming=true; charset=utf-8" + ], + "x-ms-request-id": [ + "b34012a3-70d0-4484-9353-292402250a1d" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "DataServiceVersion": [ + "3.0;" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "14975" + ], + "x-ms-correlation-request-id": [ + "e09718ce-267d-41b4-8b64-30a2e2c6341e" + ], + "x-ms-routing-request-id": [ + "CENTRALUS:20160106T222336Z:e09718ce-267d-41b4-8b64-30a2e2c6341e" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-store, no-cache" + ], + "Date": [ + "Wed, 06 Jan 2016 22:23:36 GMT" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/1f7c1355-543c-4db6-b774-07b30abb8058/resourceGroups/onesdk5429/providers/Microsoft.Sql/servers/onesdk2125?api-version=2014-04-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMWY3YzEzNTUtNTQzYy00ZGI2LWI3NzQtMDdiMzBhYmI4MDU4L3Jlc291cmNlR3JvdXBzL29uZXNkazU0MjkvcHJvdmlkZXJzL01pY3Jvc29mdC5TcWwvc2VydmVycy9vbmVzZGsyMTI1P2FwaS12ZXJzaW9uPTIwMTQtMDQtMDE=", + "RequestMethod": "PUT", + "RequestBody": "{\r\n \"properties\": {\r\n \"version\": \"12.0\",\r\n \"administratorLogin\": \"testusername\",\r\n \"administratorLoginPassword\": \"t357ingP@s5w0rd!\"\r\n },\r\n \"location\": \"North Europe\"\r\n}", + "RequestHeaders": { + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Content-Length": [ + "180" + ], + "User-Agent": [ + "Microsoft.Azure.Management.Sql.SqlManagementClient/0.9.0.0" + ], + "x-ms-client-request-id": [ + "a896b673-c150-4c50-ba3e-59c2563b1041" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/1f7c1355-543c-4db6-b774-07b30abb8058/resourceGroups/onesdk5429/providers/Microsoft.Sql/servers/onesdk2125\",\r\n \"name\": \"onesdk2125\",\r\n \"type\": \"Microsoft.Sql/servers\",\r\n \"location\": \"North Europe\",\r\n \"kind\": \"v12.0\",\r\n \"properties\": {\r\n \"fullyQualifiedDomainName\": \"onesdk2125.sqltest-eg1.mscds.com\",\r\n \"administratorLogin\": \"testusername\",\r\n \"administratorLoginPassword\": \"t357ingP@s5w0rd!\",\r\n \"externalAdministratorLogin\": null,\r\n \"externalAdministratorSid\": null,\r\n \"version\": \"12.0\",\r\n \"state\": \"Ready\"\r\n }\r\n}", + "ResponseHeaders": { + "Content-Length": [ + "481" + ], + "Content-Type": [ + "application/json; odata=minimalmetadata; streaming=true; charset=utf-8" + ], + "x-ms-request-id": [ + "06f389f7-1cf5-4336-bb97-9b48d21847df" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Preference-Applied": [ + "return-content" + ], + "DataServiceVersion": [ + "3.0;" + ], + "x-ms-ratelimit-remaining-subscription-writes": [ + "1191" + ], + "x-ms-correlation-request-id": [ + "0f79169b-f7d5-47da-8cb3-f5c81c23acc4" + ], + "x-ms-routing-request-id": [ + "CENTRALUS:20160106T222258Z:0f79169b-f7d5-47da-8cb3-f5c81c23acc4" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-store, no-cache" + ], + "Date": [ + "Wed, 06 Jan 2016 22:22:58 GMT" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 201 + }, + { + "RequestUri": "/subscriptions/1f7c1355-543c-4db6-b774-07b30abb8058/resourceGroups/onesdk5429/providers/Microsoft.Sql/servers/onesdk4818?api-version=2014-04-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMWY3YzEzNTUtNTQzYy00ZGI2LWI3NzQtMDdiMzBhYmI4MDU4L3Jlc291cmNlR3JvdXBzL29uZXNkazU0MjkvcHJvdmlkZXJzL01pY3Jvc29mdC5TcWwvc2VydmVycy9vbmVzZGs0ODE4P2FwaS12ZXJzaW9uPTIwMTQtMDQtMDE=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Sql.SqlManagementClient/0.9.0.0" + ], + "x-ms-client-request-id": [ + "165f5bc0-c073-4d90-a88a-0f898db76da9" + ] + }, + "ResponseBody": "{\r\n \"error\": {\r\n \"code\": \"ResourceNotFound\",\r\n \"message\": \"The Resource 'Microsoft.Sql/servers/onesdk4818' under resource group 'onesdk5429' was not found.\"\r\n }\r\n}", + "ResponseHeaders": { + "Content-Length": [ + "146" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-failure-cause": [ + "gateway" + ], + "x-ms-request-id": [ + "22e468d0-4aa0-4079-8211-6fc80cd7d488" + ], + "x-ms-correlation-request-id": [ + "22e468d0-4aa0-4079-8211-6fc80cd7d488" + ], + "x-ms-routing-request-id": [ + "CENTRALUS:20160106T222258Z:22e468d0-4aa0-4079-8211-6fc80cd7d488" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 06 Jan 2016 22:22:58 GMT" + ] + }, + "StatusCode": 404 + }, + { + "RequestUri": "/subscriptions/1f7c1355-543c-4db6-b774-07b30abb8058/resourceGroups/onesdk5429/providers/Microsoft.Sql/servers/onesdk4818?api-version=2014-04-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMWY3YzEzNTUtNTQzYy00ZGI2LWI3NzQtMDdiMzBhYmI4MDU4L3Jlc291cmNlR3JvdXBzL29uZXNkazU0MjkvcHJvdmlkZXJzL01pY3Jvc29mdC5TcWwvc2VydmVycy9vbmVzZGs0ODE4P2FwaS12ZXJzaW9uPTIwMTQtMDQtMDE=", + "RequestMethod": "PUT", + "RequestBody": "{\r\n \"properties\": {\r\n \"version\": \"12.0\",\r\n \"administratorLogin\": \"testusername\",\r\n \"administratorLoginPassword\": \"t357ingP@s5w0rd!\"\r\n },\r\n \"location\": \"North Europe\"\r\n}", + "RequestHeaders": { + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Content-Length": [ + "180" + ], + "User-Agent": [ + "Microsoft.Azure.Management.Sql.SqlManagementClient/0.9.0.0" + ], + "x-ms-client-request-id": [ + "a6dc8080-c66f-4487-9e04-d16eb3d7ccac" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/1f7c1355-543c-4db6-b774-07b30abb8058/resourceGroups/onesdk5429/providers/Microsoft.Sql/servers/onesdk4818\",\r\n \"name\": \"onesdk4818\",\r\n \"type\": \"Microsoft.Sql/servers\",\r\n \"location\": \"North Europe\",\r\n \"kind\": \"v12.0\",\r\n \"properties\": {\r\n \"fullyQualifiedDomainName\": \"onesdk4818.sqltest-eg1.mscds.com\",\r\n \"administratorLogin\": \"testusername\",\r\n \"administratorLoginPassword\": \"t357ingP@s5w0rd!\",\r\n \"externalAdministratorLogin\": null,\r\n \"externalAdministratorSid\": null,\r\n \"version\": \"12.0\",\r\n \"state\": \"Ready\"\r\n }\r\n}", + "ResponseHeaders": { + "Content-Length": [ + "481" + ], + "Content-Type": [ + "application/json; odata=minimalmetadata; streaming=true; charset=utf-8" + ], + "x-ms-request-id": [ + "8bdb95e0-49a0-4a5d-a61b-76e6f9b83e32" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Preference-Applied": [ + "return-content" + ], + "DataServiceVersion": [ + "3.0;" + ], + "x-ms-ratelimit-remaining-subscription-writes": [ + "1190" + ], + "x-ms-correlation-request-id": [ + "0b85251f-2d0a-4787-a566-96f3773cfe80" + ], + "x-ms-routing-request-id": [ + "CENTRALUS:20160106T222335Z:0b85251f-2d0a-4787-a566-96f3773cfe80" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-store, no-cache" + ], + "Date": [ + "Wed, 06 Jan 2016 22:23:34 GMT" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 201 + }, + { + "RequestUri": "/subscriptions/1f7c1355-543c-4db6-b774-07b30abb8058/resourceGroups/onesdk5429/providers/Microsoft.Sql/servers/onesdk2125/communicationLinks/onesdk6279?api-version=2014-04-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMWY3YzEzNTUtNTQzYy00ZGI2LWI3NzQtMDdiMzBhYmI4MDU4L3Jlc291cmNlR3JvdXBzL29uZXNkazU0MjkvcHJvdmlkZXJzL01pY3Jvc29mdC5TcWwvc2VydmVycy9vbmVzZGsyMTI1L2NvbW11bmljYXRpb25MaW5rcy9vbmVzZGs2Mjc5P2FwaS12ZXJzaW9uPTIwMTQtMDQtMDE=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Sql.SqlManagementClient/0.9.0.0" + ], + "x-ms-client-request-id": [ + "f6dc01d8-6858-4437-863c-3b16966bf61e" + ] + }, + "ResponseBody": "{\r\n \"code\": \"NotFound\",\r\n \"message\": \"Resource not found for the segment 'communicationLinks'.\",\r\n \"target\": null,\r\n \"details\": [],\r\n \"innererror\": []\r\n}", + "ResponseHeaders": { + "Content-Length": [ + "141" + ], + "Content-Type": [ + "application/json" + ], + "x-ms-request-id": [ + "f87e8a61-edb6-475c-87d0-dc970370f5a6" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "DataServiceVersion": [ + "3.0;" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "14976" + ], + "x-ms-correlation-request-id": [ + "acefa066-d2f3-42ef-b08c-5323e83a5024" + ], + "x-ms-routing-request-id": [ + "CENTRALUS:20160106T222336Z:acefa066-d2f3-42ef-b08c-5323e83a5024" + ], + "Cache-Control": [ + "no-store, no-cache" + ], + "Date": [ + "Wed, 06 Jan 2016 22:23:36 GMT" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 404 + }, + { + "RequestUri": "/subscriptions/1f7c1355-543c-4db6-b774-07b30abb8058/resourceGroups/onesdk5429/providers/Microsoft.Sql/servers/onesdk2125/communicationLinks/onesdk6279?api-version=2014-04-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMWY3YzEzNTUtNTQzYy00ZGI2LWI3NzQtMDdiMzBhYmI4MDU4L3Jlc291cmNlR3JvdXBzL29uZXNkazU0MjkvcHJvdmlkZXJzL01pY3Jvc29mdC5TcWwvc2VydmVycy9vbmVzZGsyMTI1L2NvbW11bmljYXRpb25MaW5rcy9vbmVzZGs2Mjc5P2FwaS12ZXJzaW9uPTIwMTQtMDQtMDE=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Sql.SqlManagementClient/0.9.0.0" + ], + "x-ms-client-request-id": [ + "4af66c1d-b5fc-4196-9a08-87de049d052e" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/1f7c1355-543c-4db6-b774-07b30abb8058/resourceGroups/onesdk5429/providers/Microsoft.Sql/servers/onesdk2125/communicationLinks/onesdk6279\",\r\n \"name\": \"onesdk6279\",\r\n \"type\": \"Microsoft.Sql/servers/communicationLinks\",\r\n \"location\": \"North Europe\",\r\n \"kind\": null,\r\n \"properties\": {\r\n \"state\": \"Ready\",\r\n \"partnerServer\": \"onesdk4818\"\r\n }\r\n}", + "ResponseHeaders": { + "Content-Length": [ + "327" + ], + "Content-Type": [ + "application/json; odata=minimalmetadata; streaming=true; charset=utf-8" + ], + "x-ms-request-id": [ + "81801c10-ad83-4c96-9bbf-d1d39fee5273" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "DataServiceVersion": [ + "3.0;" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "14973" + ], + "x-ms-correlation-request-id": [ + "05b0e89c-6717-4aad-9a2f-03de449734b4" + ], + "x-ms-routing-request-id": [ + "CENTRALUS:20160106T222341Z:05b0e89c-6717-4aad-9a2f-03de449734b4" + ], + "Cache-Control": [ + "no-store, no-cache" + ], + "Date": [ + "Wed, 06 Jan 2016 22:23:40 GMT" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/1f7c1355-543c-4db6-b774-07b30abb8058/resourceGroups/onesdk5429/providers/Microsoft.Sql/servers/onesdk2125/communicationLinks/onesdk6279?api-version=2014-04-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMWY3YzEzNTUtNTQzYy00ZGI2LWI3NzQtMDdiMzBhYmI4MDU4L3Jlc291cmNlR3JvdXBzL29uZXNkazU0MjkvcHJvdmlkZXJzL01pY3Jvc29mdC5TcWwvc2VydmVycy9vbmVzZGsyMTI1L2NvbW11bmljYXRpb25MaW5rcy9vbmVzZGs2Mjc5P2FwaS12ZXJzaW9uPTIwMTQtMDQtMDE=", + "RequestMethod": "PUT", + "RequestBody": "{\r\n \"properties\": {\r\n \"partnerServer\": \"onesdk4818\"\r\n },\r\n \"location\": \"North Europe\",\r\n \"tags\": {}\r\n}", + "RequestHeaders": { + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Content-Length": [ + "109" + ], + "User-Agent": [ + "Microsoft.Azure.Management.Sql.SqlManagementClient/0.9.0.0" + ], + "x-ms-client-request-id": [ + "004468d0-be0e-4091-bb8d-4aa5630c3524" + ] + }, + "ResponseBody": "{\r\n \"operation\": \"CREATE\",\r\n \"startTime\": \"2016-01-06T14:23:38.433-08:00\"\r\n}", + "ResponseHeaders": { + "Content-Length": [ + "65" + ], + "Content-Type": [ + "application/json; odata=minimalmetadata; streaming=true; charset=utf-8" + ], + "Retry-After": [ + "30" + ], + "x-ms-request-id": [ + "c04cab87-0637-4a9f-a131-da2088b0964e" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Preference-Applied": [ + "return-content" + ], + "DataServiceVersion": [ + "3.0;" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-ratelimit-remaining-subscription-writes": [ + "1189" + ], + "x-ms-correlation-request-id": [ + "e17bf332-2b96-4035-a47c-59636edadc72" + ], + "x-ms-routing-request-id": [ + "CENTRALUS:20160106T222339Z:e17bf332-2b96-4035-a47c-59636edadc72" + ], + "Cache-Control": [ + "no-store, no-cache" + ], + "Date": [ + "Wed, 06 Jan 2016 22:23:39 GMT" + ], + "Location": [ + "https://api-dogfood.resources.windows-int.net/subscriptions/1f7c1355-543c-4db6-b774-07b30abb8058/resourceGroups/onesdk5429/providers/Microsoft.Sql/servers/onesdk2125/communicationLinks/onesdk6279/operationResults/c04cab87-0637-4a9f-a131-da2088b0964e?api-version=2014-04-01-Preview" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/1f7c1355-543c-4db6-b774-07b30abb8058/resourceGroups/onesdk5429/providers/Microsoft.Sql/servers/onesdk2125/communicationLinks/onesdk6279/operationResults/c04cab87-0637-4a9f-a131-da2088b0964e?api-version=2014-04-01-Preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMWY3YzEzNTUtNTQzYy00ZGI2LWI3NzQtMDdiMzBhYmI4MDU4L3Jlc291cmNlR3JvdXBzL29uZXNkazU0MjkvcHJvdmlkZXJzL01pY3Jvc29mdC5TcWwvc2VydmVycy9vbmVzZGsyMTI1L2NvbW11bmljYXRpb25MaW5rcy9vbmVzZGs2Mjc5L29wZXJhdGlvblJlc3VsdHMvYzA0Y2FiODctMDYzNy00YTlmLWExMzEtZGEyMDg4YjA5NjRlP2FwaS12ZXJzaW9uPTIwMTQtMDQtMDEtUHJldmlldw==", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Sql.SqlManagementClient/0.9.0.0" + ], + "x-ms-client-request-id": [ + "004468d0-be0e-4091-bb8d-4aa5630c3524" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/1f7c1355-543c-4db6-b774-07b30abb8058/resourceGroups/onesdk5429/providers/Microsoft.Sql/servers/onesdk2125/communicationLinks/onesdk6279\",\r\n \"name\": \"onesdk6279\",\r\n \"type\": \"Microsoft.Sql/servers/communicationLinks\",\r\n \"location\": \"North Europe\",\r\n \"kind\": null,\r\n \"properties\": {\r\n \"state\": \"Ready\",\r\n \"partnerServer\": \"onesdk4818\"\r\n }\r\n}", + "ResponseHeaders": { + "Content-Length": [ + "327" + ], + "Content-Type": [ + "application/json; odata=minimalmetadata; streaming=true; charset=utf-8" + ], + "x-ms-request-id": [ + "870173d7-df0a-475e-b78a-6229b8b44abe" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "DataServiceVersion": [ + "3.0;" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "14974" + ], + "x-ms-correlation-request-id": [ + "2097e5bb-4a78-4eba-b64b-239137f97097" + ], + "x-ms-routing-request-id": [ + "CENTRALUS:20160106T222340Z:2097e5bb-4a78-4eba-b64b-239137f97097" + ], + "Cache-Control": [ + "no-store, no-cache" + ], + "Date": [ + "Wed, 06 Jan 2016 22:23:39 GMT" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 201 + }, + { + "RequestUri": "/subscriptions/1f7c1355-543c-4db6-b774-07b30abb8058/resourceGroups/onesdk5429/providers/Microsoft.Sql/servers/onesdk2125/communicationLinks?api-version=2014-04-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMWY3YzEzNTUtNTQzYy00ZGI2LWI3NzQtMDdiMzBhYmI4MDU4L3Jlc291cmNlR3JvdXBzL29uZXNkazU0MjkvcHJvdmlkZXJzL01pY3Jvc29mdC5TcWwvc2VydmVycy9vbmVzZGsyMTI1L2NvbW11bmljYXRpb25MaW5rcz9hcGktdmVyc2lvbj0yMDE0LTA0LTAx", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Sql.SqlManagementClient/0.9.0.0" + ], + "x-ms-client-request-id": [ + "ad3c7d1b-4e2d-4cfc-9985-9051da8f149d" + ] + }, + "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/subscriptions/1f7c1355-543c-4db6-b774-07b30abb8058/resourceGroups/onesdk5429/providers/Microsoft.Sql/servers/onesdk2125/communicationLinks/onesdk6279\",\r\n \"name\": \"onesdk6279\",\r\n \"type\": \"Microsoft.Sql/servers/communicationLinks\",\r\n \"location\": \"North Europe\",\r\n \"kind\": null,\r\n \"properties\": {\r\n \"state\": \"Ready\",\r\n \"partnerServer\": \"onesdk4818\"\r\n }\r\n }\r\n ]\r\n}", + "ResponseHeaders": { + "Content-Length": [ + "339" + ], + "Content-Type": [ + "application/json; odata=minimalmetadata; streaming=true; charset=utf-8" + ], + "x-ms-request-id": [ + "4b4cab91-bbe1-4caf-8707-9626ebc3668e" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "DataServiceVersion": [ + "3.0;" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "14972" + ], + "x-ms-correlation-request-id": [ + "c15666ba-7b4b-48ce-8d57-120ca565445f" + ], + "x-ms-routing-request-id": [ + "CENTRALUS:20160106T222342Z:c15666ba-7b4b-48ce-8d57-120ca565445f" + ], + "Cache-Control": [ + "no-store, no-cache" + ], + "Date": [ + "Wed, 06 Jan 2016 22:23:42 GMT" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/1f7c1355-543c-4db6-b774-07b30abb8058/resourcegroups/onesdk5429?api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMWY3YzEzNTUtNTQzYy00ZGI2LWI3NzQtMDdiMzBhYmI4MDU4L3Jlc291cmNlZ3JvdXBzL29uZXNkazU0Mjk/YXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestMethod": "DELETE", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "Retry-After": [ + "15" + ], + "x-ms-ratelimit-remaining-subscription-writes": [ + "1188" + ], + "x-ms-request-id": [ + "196e9be0-a565-4957-af7b-d88173bd7f48" + ], + "x-ms-correlation-request-id": [ + "196e9be0-a565-4957-af7b-d88173bd7f48" + ], + "x-ms-routing-request-id": [ + "CENTRALUS:20160106T222344Z:196e9be0-a565-4957-af7b-d88173bd7f48" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 06 Jan 2016 22:23:44 GMT" + ], + "Location": [ + "https://api-dogfood.resources.windows-int.net/subscriptions/1f7c1355-543c-4db6-b774-07b30abb8058/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1PTkVTREs1NDI5LU5PUlRIRVVST1BFIiwiam9iTG9jYXRpb24iOiJub3J0aGV1cm9wZSJ9?api-version=2014-04-01-preview" + ] + }, + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/1f7c1355-543c-4db6-b774-07b30abb8058/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1PTkVTREs1NDI5LU5PUlRIRVVST1BFIiwiam9iTG9jYXRpb24iOiJub3J0aGV1cm9wZSJ9?api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMWY3YzEzNTUtNTQzYy00ZGI2LWI3NzQtMDdiMzBhYmI4MDU4L29wZXJhdGlvbnJlc3VsdHMvZXlKcWIySkpaQ0k2SWxKRlUwOVZVa05GUjFKUFZWQkVSVXhGVkVsUFRrcFBRaTFQVGtWVFJFczFOREk1TFU1UFVsUklSVlZTVDFCRklpd2lhbTlpVEc5allYUnBiMjRpT2lKdWIzSjBhR1YxY205d1pTSjk/YXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-version": [ + "2014-04-01-preview" + ], + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "Retry-After": [ + "15" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "14983" + ], + "x-ms-request-id": [ + "d269c1e8-54ba-4f5c-ab6d-307cfc067737" + ], + "x-ms-correlation-request-id": [ + "d269c1e8-54ba-4f5c-ab6d-307cfc067737" + ], + "x-ms-routing-request-id": [ + "CENTRALUS:20160106T222344Z:d269c1e8-54ba-4f5c-ab6d-307cfc067737" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 06 Jan 2016 22:23:44 GMT" + ], + "Location": [ + "https://api-dogfood.resources.windows-int.net/subscriptions/1f7c1355-543c-4db6-b774-07b30abb8058/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1PTkVTREs1NDI5LU5PUlRIRVVST1BFIiwiam9iTG9jYXRpb24iOiJub3J0aGV1cm9wZSJ9?api-version=2014-04-01-preview" + ] + }, + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/1f7c1355-543c-4db6-b774-07b30abb8058/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1PTkVTREs1NDI5LU5PUlRIRVVST1BFIiwiam9iTG9jYXRpb24iOiJub3J0aGV1cm9wZSJ9?api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMWY3YzEzNTUtNTQzYy00ZGI2LWI3NzQtMDdiMzBhYmI4MDU4L29wZXJhdGlvbnJlc3VsdHMvZXlKcWIySkpaQ0k2SWxKRlUwOVZVa05GUjFKUFZWQkVSVXhGVkVsUFRrcFBRaTFQVGtWVFJFczFOREk1TFU1UFVsUklSVlZTVDFCRklpd2lhbTlpVEc5allYUnBiMjRpT2lKdWIzSjBhR1YxY205d1pTSjk/YXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-version": [ + "2014-04-01-preview" + ], + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "Retry-After": [ + "15" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "14982" + ], + "x-ms-request-id": [ + "2732dc1d-4059-4a7a-a371-b54337352f50" + ], + "x-ms-correlation-request-id": [ + "2732dc1d-4059-4a7a-a371-b54337352f50" + ], + "x-ms-routing-request-id": [ + "CENTRALUS:20160106T222400Z:2732dc1d-4059-4a7a-a371-b54337352f50" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 06 Jan 2016 22:23:59 GMT" + ], + "Location": [ + "https://api-dogfood.resources.windows-int.net/subscriptions/1f7c1355-543c-4db6-b774-07b30abb8058/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1PTkVTREs1NDI5LU5PUlRIRVVST1BFIiwiam9iTG9jYXRpb24iOiJub3J0aGV1cm9wZSJ9?api-version=2014-04-01-preview" + ] + }, + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/1f7c1355-543c-4db6-b774-07b30abb8058/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1PTkVTREs1NDI5LU5PUlRIRVVST1BFIiwiam9iTG9jYXRpb24iOiJub3J0aGV1cm9wZSJ9?api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMWY3YzEzNTUtNTQzYy00ZGI2LWI3NzQtMDdiMzBhYmI4MDU4L29wZXJhdGlvbnJlc3VsdHMvZXlKcWIySkpaQ0k2SWxKRlUwOVZVa05GUjFKUFZWQkVSVXhGVkVsUFRrcFBRaTFQVGtWVFJFczFOREk1TFU1UFVsUklSVlZTVDFCRklpd2lhbTlpVEc5allYUnBiMjRpT2lKdWIzSjBhR1YxY205d1pTSjk/YXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-version": [ + "2014-04-01-preview" + ], + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "Retry-After": [ + "15" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "14981" + ], + "x-ms-request-id": [ + "37ff5dc9-59b7-4fb0-a4f3-c2b691815c97" + ], + "x-ms-correlation-request-id": [ + "37ff5dc9-59b7-4fb0-a4f3-c2b691815c97" + ], + "x-ms-routing-request-id": [ + "CENTRALUS:20160106T222415Z:37ff5dc9-59b7-4fb0-a4f3-c2b691815c97" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 06 Jan 2016 22:24:14 GMT" + ], + "Location": [ + "https://api-dogfood.resources.windows-int.net/subscriptions/1f7c1355-543c-4db6-b774-07b30abb8058/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1PTkVTREs1NDI5LU5PUlRIRVVST1BFIiwiam9iTG9jYXRpb24iOiJub3J0aGV1cm9wZSJ9?api-version=2014-04-01-preview" + ] + }, + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/1f7c1355-543c-4db6-b774-07b30abb8058/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1PTkVTREs1NDI5LU5PUlRIRVVST1BFIiwiam9iTG9jYXRpb24iOiJub3J0aGV1cm9wZSJ9?api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMWY3YzEzNTUtNTQzYy00ZGI2LWI3NzQtMDdiMzBhYmI4MDU4L29wZXJhdGlvbnJlc3VsdHMvZXlKcWIySkpaQ0k2SWxKRlUwOVZVa05GUjFKUFZWQkVSVXhGVkVsUFRrcFBRaTFQVGtWVFJFczFOREk1TFU1UFVsUklSVlZTVDFCRklpd2lhbTlpVEc5allYUnBiMjRpT2lKdWIzSjBhR1YxY205d1pTSjk/YXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-version": [ + "2014-04-01-preview" + ], + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "Retry-After": [ + "15" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "14980" + ], + "x-ms-request-id": [ + "72abcff1-c704-44ee-ac66-f089ef033071" + ], + "x-ms-correlation-request-id": [ + "72abcff1-c704-44ee-ac66-f089ef033071" + ], + "x-ms-routing-request-id": [ + "CENTRALUS:20160106T222430Z:72abcff1-c704-44ee-ac66-f089ef033071" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 06 Jan 2016 22:24:29 GMT" + ], + "Location": [ + "https://api-dogfood.resources.windows-int.net/subscriptions/1f7c1355-543c-4db6-b774-07b30abb8058/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1PTkVTREs1NDI5LU5PUlRIRVVST1BFIiwiam9iTG9jYXRpb24iOiJub3J0aGV1cm9wZSJ9?api-version=2014-04-01-preview" + ] + }, + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/1f7c1355-543c-4db6-b774-07b30abb8058/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1PTkVTREs1NDI5LU5PUlRIRVVST1BFIiwiam9iTG9jYXRpb24iOiJub3J0aGV1cm9wZSJ9?api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMWY3YzEzNTUtNTQzYy00ZGI2LWI3NzQtMDdiMzBhYmI4MDU4L29wZXJhdGlvbnJlc3VsdHMvZXlKcWIySkpaQ0k2SWxKRlUwOVZVa05GUjFKUFZWQkVSVXhGVkVsUFRrcFBRaTFQVGtWVFJFczFOREk1TFU1UFVsUklSVlZTVDFCRklpd2lhbTlpVEc5allYUnBiMjRpT2lKdWIzSjBhR1YxY205d1pTSjk/YXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-version": [ + "2014-04-01-preview" + ], + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "Retry-After": [ + "15" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "14979" + ], + "x-ms-request-id": [ + "59529bdc-9161-456b-aa4c-737797c7f68b" + ], + "x-ms-correlation-request-id": [ + "59529bdc-9161-456b-aa4c-737797c7f68b" + ], + "x-ms-routing-request-id": [ + "CENTRALUS:20160106T222445Z:59529bdc-9161-456b-aa4c-737797c7f68b" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 06 Jan 2016 22:24:45 GMT" + ], + "Location": [ + "https://api-dogfood.resources.windows-int.net/subscriptions/1f7c1355-543c-4db6-b774-07b30abb8058/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1PTkVTREs1NDI5LU5PUlRIRVVST1BFIiwiam9iTG9jYXRpb24iOiJub3J0aGV1cm9wZSJ9?api-version=2014-04-01-preview" + ] + }, + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/1f7c1355-543c-4db6-b774-07b30abb8058/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1PTkVTREs1NDI5LU5PUlRIRVVST1BFIiwiam9iTG9jYXRpb24iOiJub3J0aGV1cm9wZSJ9?api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMWY3YzEzNTUtNTQzYy00ZGI2LWI3NzQtMDdiMzBhYmI4MDU4L29wZXJhdGlvbnJlc3VsdHMvZXlKcWIySkpaQ0k2SWxKRlUwOVZVa05GUjFKUFZWQkVSVXhGVkVsUFRrcFBRaTFQVGtWVFJFczFOREk1TFU1UFVsUklSVlZTVDFCRklpd2lhbTlpVEc5allYUnBiMjRpT2lKdWIzSjBhR1YxY205d1pTSjk/YXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-version": [ + "2014-04-01-preview" + ], + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "Retry-After": [ + "15" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "14997" + ], + "x-ms-request-id": [ + "2c0610a3-6f39-45e7-ac54-bd274506e6fa" + ], + "x-ms-correlation-request-id": [ + "2c0610a3-6f39-45e7-ac54-bd274506e6fa" + ], + "x-ms-routing-request-id": [ + "CENTRALUS:20160106T222503Z:2c0610a3-6f39-45e7-ac54-bd274506e6fa" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 06 Jan 2016 22:25:03 GMT" + ], + "Location": [ + "https://api-dogfood.resources.windows-int.net/subscriptions/1f7c1355-543c-4db6-b774-07b30abb8058/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1PTkVTREs1NDI5LU5PUlRIRVVST1BFIiwiam9iTG9jYXRpb24iOiJub3J0aGV1cm9wZSJ9?api-version=2014-04-01-preview" + ] + }, + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/1f7c1355-543c-4db6-b774-07b30abb8058/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1PTkVTREs1NDI5LU5PUlRIRVVST1BFIiwiam9iTG9jYXRpb24iOiJub3J0aGV1cm9wZSJ9?api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMWY3YzEzNTUtNTQzYy00ZGI2LWI3NzQtMDdiMzBhYmI4MDU4L29wZXJhdGlvbnJlc3VsdHMvZXlKcWIySkpaQ0k2SWxKRlUwOVZVa05GUjFKUFZWQkVSVXhGVkVsUFRrcFBRaTFQVGtWVFJFczFOREk1TFU1UFVsUklSVlZTVDFCRklpd2lhbTlpVEc5allYUnBiMjRpT2lKdWIzSjBhR1YxY205d1pTSjk/YXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-version": [ + "2014-04-01-preview" + ], + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "14996" + ], + "x-ms-request-id": [ + "e4ae42cb-5c15-4f57-b584-e1bd7ff9d7af" + ], + "x-ms-correlation-request-id": [ + "e4ae42cb-5c15-4f57-b584-e1bd7ff9d7af" + ], + "x-ms-routing-request-id": [ + "CENTRALUS:20160106T222519Z:e4ae42cb-5c15-4f57-b584-e1bd7ff9d7af" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 06 Jan 2016 22:25:19 GMT" + ] + }, + "StatusCode": 200 + } + ], + "Names": { + "Test-GetServerCommunicationLink": [ + "onesdk5429", + "onesdk2125", + "onesdk4818", + "onesdk6279" + ] + }, + "Variables": { + "SubscriptionId": "1f7c1355-543c-4db6-b774-07b30abb8058", + "TenantId": "40fd7297-7fa1-48b3-8666-e1255f509bfa", + "Domain": "aad141.ccsctp.net", + "User": "admin@aad141.ccsctp.net" + } +} \ No newline at end of file diff --git a/src/ResourceManager/Sql/Commands.Sql.Test/SessionRecords/Microsoft.Azure.Commands.Sql.Test.ScenarioTests.ServerCommunicationLinkCrudTests/TestServerCommunicationLinkRemove.json b/src/ResourceManager/Sql/Commands.Sql.Test/SessionRecords/Microsoft.Azure.Commands.Sql.Test.ScenarioTests.ServerCommunicationLinkCrudTests/TestServerCommunicationLinkRemove.json new file mode 100644 index 000000000000..17220fb21672 --- /dev/null +++ b/src/ResourceManager/Sql/Commands.Sql.Test/SessionRecords/Microsoft.Azure.Commands.Sql.Test.ScenarioTests.ServerCommunicationLinkCrudTests/TestServerCommunicationLinkRemove.json @@ -0,0 +1,1314 @@ +{ + "Entries": [ + { + "RequestUri": "/subscriptions/1f7c1355-543c-4db6-b774-07b30abb8058/resourcegroups/onesdk5218?api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMWY3YzEzNTUtNTQzYy00ZGI2LWI3NzQtMDdiMzBhYmI4MDU4L3Jlc291cmNlZ3JvdXBzL29uZXNkazUyMTg/YXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestMethod": "HEAD", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Content-Length": [ + "102" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-failure-cause": [ + "gateway" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "14973" + ], + "x-ms-request-id": [ + "7debd00d-aa81-4ced-ab99-c0a5151bde72" + ], + "x-ms-correlation-request-id": [ + "7debd00d-aa81-4ced-ab99-c0a5151bde72" + ], + "x-ms-routing-request-id": [ + "CENTRALUS:20160106T224324Z:7debd00d-aa81-4ced-ab99-c0a5151bde72" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 06 Jan 2016 22:43:23 GMT" + ] + }, + "StatusCode": 404 + }, + { + "RequestUri": "/subscriptions/1f7c1355-543c-4db6-b774-07b30abb8058/resourcegroups/onesdk5218?api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMWY3YzEzNTUtNTQzYy00ZGI2LWI3NzQtMDdiMzBhYmI4MDU4L3Jlc291cmNlZ3JvdXBzL29uZXNkazUyMTg/YXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestMethod": "HEAD", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "14971" + ], + "x-ms-request-id": [ + "3a79e000-0d36-4b25-8889-fd14d4171042" + ], + "x-ms-correlation-request-id": [ + "3a79e000-0d36-4b25-8889-fd14d4171042" + ], + "x-ms-routing-request-id": [ + "CENTRALUS:20160106T224452Z:3a79e000-0d36-4b25-8889-fd14d4171042" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 06 Jan 2016 22:44:51 GMT" + ] + }, + "StatusCode": 204 + }, + { + "RequestUri": "/subscriptions/1f7c1355-543c-4db6-b774-07b30abb8058/resourcegroups/onesdk5218?api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMWY3YzEzNTUtNTQzYy00ZGI2LWI3NzQtMDdiMzBhYmI4MDU4L3Jlc291cmNlZ3JvdXBzL29uZXNkazUyMTg/YXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestMethod": "PUT", + "RequestBody": "{\r\n \"location\": \"North Europe\"\r\n}", + "RequestHeaders": { + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Content-Length": [ + "34" + ], + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/1f7c1355-543c-4db6-b774-07b30abb8058/resourceGroups/onesdk5218\",\r\n \"name\": \"onesdk5218\",\r\n \"location\": \"northeurope\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n}", + "ResponseHeaders": { + "Content-Length": [ + "178" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-writes": [ + "1189" + ], + "x-ms-request-id": [ + "88e930e2-23d8-493f-87a3-dcb53f81d545" + ], + "x-ms-correlation-request-id": [ + "88e930e2-23d8-493f-87a3-dcb53f81d545" + ], + "x-ms-routing-request-id": [ + "CENTRALUS:20160106T224325Z:88e930e2-23d8-493f-87a3-dcb53f81d545" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 06 Jan 2016 22:43:24 GMT" + ] + }, + "StatusCode": 201 + }, + { + "RequestUri": "/subscriptions/1f7c1355-543c-4db6-b774-07b30abb8058/resourceGroups/onesdk5218/resources?api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMWY3YzEzNTUtNTQzYy00ZGI2LWI3NzQtMDdiMzBhYmI4MDU4L3Jlc291cmNlR3JvdXBzL29uZXNkazUyMTgvcmVzb3VyY2VzP2FwaS12ZXJzaW9uPTIwMTQtMDQtMDEtcHJldmlldw==", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"value\": []\r\n}", + "ResponseHeaders": { + "Content-Length": [ + "12" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "14972" + ], + "x-ms-request-id": [ + "c05a868e-0d65-459b-bb34-54fe001dae3d" + ], + "x-ms-correlation-request-id": [ + "c05a868e-0d65-459b-bb34-54fe001dae3d" + ], + "x-ms-routing-request-id": [ + "CENTRALUS:20160106T224325Z:c05a868e-0d65-459b-bb34-54fe001dae3d" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 06 Jan 2016 22:43:24 GMT" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/1f7c1355-543c-4db6-b774-07b30abb8058/resourceGroups/onesdk5218/providers/Microsoft.Sql/servers/onesdk9033?api-version=2014-04-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMWY3YzEzNTUtNTQzYy00ZGI2LWI3NzQtMDdiMzBhYmI4MDU4L3Jlc291cmNlR3JvdXBzL29uZXNkazUyMTgvcHJvdmlkZXJzL01pY3Jvc29mdC5TcWwvc2VydmVycy9vbmVzZGs5MDMzP2FwaS12ZXJzaW9uPTIwMTQtMDQtMDE=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Sql.SqlManagementClient/0.9.0.0" + ], + "x-ms-client-request-id": [ + "254118f3-c155-4802-bc4a-890a0e134562" + ] + }, + "ResponseBody": "{\r\n \"error\": {\r\n \"code\": \"ResourceNotFound\",\r\n \"message\": \"The Resource 'Microsoft.Sql/servers/onesdk9033' under resource group 'onesdk5218' was not found.\"\r\n }\r\n}", + "ResponseHeaders": { + "Content-Length": [ + "146" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-failure-cause": [ + "gateway" + ], + "x-ms-request-id": [ + "6428e663-c1f8-4dce-883d-a7c9946264e6" + ], + "x-ms-correlation-request-id": [ + "6428e663-c1f8-4dce-883d-a7c9946264e6" + ], + "x-ms-routing-request-id": [ + "CENTRALUS:20160106T224325Z:6428e663-c1f8-4dce-883d-a7c9946264e6" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 06 Jan 2016 22:43:25 GMT" + ] + }, + "StatusCode": 404 + }, + { + "RequestUri": "/subscriptions/1f7c1355-543c-4db6-b774-07b30abb8058/resourceGroups/onesdk5218/providers/Microsoft.Sql/servers/onesdk9033?api-version=2014-04-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMWY3YzEzNTUtNTQzYy00ZGI2LWI3NzQtMDdiMzBhYmI4MDU4L3Jlc291cmNlR3JvdXBzL29uZXNkazUyMTgvcHJvdmlkZXJzL01pY3Jvc29mdC5TcWwvc2VydmVycy9vbmVzZGs5MDMzP2FwaS12ZXJzaW9uPTIwMTQtMDQtMDE=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Sql.SqlManagementClient/0.9.0.0" + ], + "x-ms-client-request-id": [ + "85f0eb11-df21-419d-bbcd-286a7cc6c6b4" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/1f7c1355-543c-4db6-b774-07b30abb8058/resourceGroups/onesdk5218/providers/Microsoft.Sql/servers/onesdk9033\",\r\n \"name\": \"onesdk9033\",\r\n \"type\": \"Microsoft.Sql/servers\",\r\n \"location\": \"North Europe\",\r\n \"kind\": \"v12.0\",\r\n \"properties\": {\r\n \"fullyQualifiedDomainName\": \"onesdk9033.sqltest-eg1.mscds.com\",\r\n \"administratorLogin\": \"testusername\",\r\n \"administratorLoginPassword\": null,\r\n \"externalAdministratorLogin\": null,\r\n \"externalAdministratorSid\": null,\r\n \"version\": \"12.0\",\r\n \"state\": \"Ready\"\r\n }\r\n}", + "ResponseHeaders": { + "Content-Length": [ + "467" + ], + "Content-Type": [ + "application/json; odata=minimalmetadata; streaming=true; charset=utf-8" + ], + "x-ms-request-id": [ + "5202724c-7b6e-4a3c-a754-003a1034bee7" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "DataServiceVersion": [ + "3.0;" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "14994" + ], + "x-ms-correlation-request-id": [ + "d37106c8-6f99-4cbb-8e6e-ee4958d58140" + ], + "x-ms-routing-request-id": [ + "CENTRALUS:20160106T224441Z:d37106c8-6f99-4cbb-8e6e-ee4958d58140" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-store, no-cache" + ], + "Date": [ + "Wed, 06 Jan 2016 22:44:41 GMT" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/1f7c1355-543c-4db6-b774-07b30abb8058/resourceGroups/onesdk5218/providers/Microsoft.Sql/servers/onesdk9033?api-version=2014-04-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMWY3YzEzNTUtNTQzYy00ZGI2LWI3NzQtMDdiMzBhYmI4MDU4L3Jlc291cmNlR3JvdXBzL29uZXNkazUyMTgvcHJvdmlkZXJzL01pY3Jvc29mdC5TcWwvc2VydmVycy9vbmVzZGs5MDMzP2FwaS12ZXJzaW9uPTIwMTQtMDQtMDE=", + "RequestMethod": "PUT", + "RequestBody": "{\r\n \"properties\": {\r\n \"version\": \"12.0\",\r\n \"administratorLogin\": \"testusername\",\r\n \"administratorLoginPassword\": \"t357ingP@s5w0rd!\"\r\n },\r\n \"location\": \"North Europe\"\r\n}", + "RequestHeaders": { + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Content-Length": [ + "180" + ], + "User-Agent": [ + "Microsoft.Azure.Management.Sql.SqlManagementClient/0.9.0.0" + ], + "x-ms-client-request-id": [ + "4ae9e002-23de-44b0-b891-a46d54f43ddb" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/1f7c1355-543c-4db6-b774-07b30abb8058/resourceGroups/onesdk5218/providers/Microsoft.Sql/servers/onesdk9033\",\r\n \"name\": \"onesdk9033\",\r\n \"type\": \"Microsoft.Sql/servers\",\r\n \"location\": \"North Europe\",\r\n \"kind\": \"v12.0\",\r\n \"properties\": {\r\n \"fullyQualifiedDomainName\": \"onesdk9033.sqltest-eg1.mscds.com\",\r\n \"administratorLogin\": \"testusername\",\r\n \"administratorLoginPassword\": \"t357ingP@s5w0rd!\",\r\n \"externalAdministratorLogin\": null,\r\n \"externalAdministratorSid\": null,\r\n \"version\": \"12.0\",\r\n \"state\": \"Ready\"\r\n }\r\n}", + "ResponseHeaders": { + "Content-Length": [ + "481" + ], + "Content-Type": [ + "application/json; odata=minimalmetadata; streaming=true; charset=utf-8" + ], + "x-ms-request-id": [ + "47b530f6-8438-4854-af2f-f7a1cdde1009" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Preference-Applied": [ + "return-content" + ], + "DataServiceVersion": [ + "3.0;" + ], + "x-ms-ratelimit-remaining-subscription-writes": [ + "1198" + ], + "x-ms-correlation-request-id": [ + "cdd297fc-91bf-49d7-b687-1d705e99945d" + ], + "x-ms-routing-request-id": [ + "CENTRALUS:20160106T224404Z:cdd297fc-91bf-49d7-b687-1d705e99945d" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-store, no-cache" + ], + "Date": [ + "Wed, 06 Jan 2016 22:44:04 GMT" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 201 + }, + { + "RequestUri": "/subscriptions/1f7c1355-543c-4db6-b774-07b30abb8058/resourceGroups/onesdk5218/providers/Microsoft.Sql/servers/onesdk462?api-version=2014-04-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMWY3YzEzNTUtNTQzYy00ZGI2LWI3NzQtMDdiMzBhYmI4MDU4L3Jlc291cmNlR3JvdXBzL29uZXNkazUyMTgvcHJvdmlkZXJzL01pY3Jvc29mdC5TcWwvc2VydmVycy9vbmVzZGs0NjI/YXBpLXZlcnNpb249MjAxNC0wNC0wMQ==", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Sql.SqlManagementClient/0.9.0.0" + ], + "x-ms-client-request-id": [ + "ff27dea0-8c00-4044-a825-c5c954b1c20f" + ] + }, + "ResponseBody": "{\r\n \"error\": {\r\n \"code\": \"ResourceNotFound\",\r\n \"message\": \"The Resource 'Microsoft.Sql/servers/onesdk462' under resource group 'onesdk5218' was not found.\"\r\n }\r\n}", + "ResponseHeaders": { + "Content-Length": [ + "145" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-failure-cause": [ + "gateway" + ], + "x-ms-request-id": [ + "3f89e026-3107-4170-938a-a80cc8290448" + ], + "x-ms-correlation-request-id": [ + "3f89e026-3107-4170-938a-a80cc8290448" + ], + "x-ms-routing-request-id": [ + "CENTRALUS:20160106T224404Z:3f89e026-3107-4170-938a-a80cc8290448" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 06 Jan 2016 22:44:04 GMT" + ] + }, + "StatusCode": 404 + }, + { + "RequestUri": "/subscriptions/1f7c1355-543c-4db6-b774-07b30abb8058/resourceGroups/onesdk5218/providers/Microsoft.Sql/servers/onesdk462?api-version=2014-04-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMWY3YzEzNTUtNTQzYy00ZGI2LWI3NzQtMDdiMzBhYmI4MDU4L3Jlc291cmNlR3JvdXBzL29uZXNkazUyMTgvcHJvdmlkZXJzL01pY3Jvc29mdC5TcWwvc2VydmVycy9vbmVzZGs0NjI/YXBpLXZlcnNpb249MjAxNC0wNC0wMQ==", + "RequestMethod": "PUT", + "RequestBody": "{\r\n \"properties\": {\r\n \"version\": \"12.0\",\r\n \"administratorLogin\": \"testusername\",\r\n \"administratorLoginPassword\": \"t357ingP@s5w0rd!\"\r\n },\r\n \"location\": \"North Europe\"\r\n}", + "RequestHeaders": { + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Content-Length": [ + "180" + ], + "User-Agent": [ + "Microsoft.Azure.Management.Sql.SqlManagementClient/0.9.0.0" + ], + "x-ms-client-request-id": [ + "fb7477f9-bada-45ca-8844-532c4f3b787f" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/1f7c1355-543c-4db6-b774-07b30abb8058/resourceGroups/onesdk5218/providers/Microsoft.Sql/servers/onesdk462\",\r\n \"name\": \"onesdk462\",\r\n \"type\": \"Microsoft.Sql/servers\",\r\n \"location\": \"North Europe\",\r\n \"kind\": \"v12.0\",\r\n \"properties\": {\r\n \"fullyQualifiedDomainName\": \"onesdk462.sqltest-eg1.mscds.com\",\r\n \"administratorLogin\": \"testusername\",\r\n \"administratorLoginPassword\": \"t357ingP@s5w0rd!\",\r\n \"externalAdministratorLogin\": null,\r\n \"externalAdministratorSid\": null,\r\n \"version\": \"12.0\",\r\n \"state\": \"Ready\"\r\n }\r\n}", + "ResponseHeaders": { + "Content-Length": [ + "478" + ], + "Content-Type": [ + "application/json; odata=minimalmetadata; streaming=true; charset=utf-8" + ], + "x-ms-request-id": [ + "b36af76e-224f-4018-af5a-4db0240d8d0d" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Preference-Applied": [ + "return-content" + ], + "DataServiceVersion": [ + "3.0;" + ], + "x-ms-ratelimit-remaining-subscription-writes": [ + "1197" + ], + "x-ms-correlation-request-id": [ + "d6da329e-0ce0-4411-a2df-edc066a3a509" + ], + "x-ms-routing-request-id": [ + "CENTRALUS:20160106T224440Z:d6da329e-0ce0-4411-a2df-edc066a3a509" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-store, no-cache" + ], + "Date": [ + "Wed, 06 Jan 2016 22:44:40 GMT" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 201 + }, + { + "RequestUri": "/subscriptions/1f7c1355-543c-4db6-b774-07b30abb8058/resourceGroups/onesdk5218/providers/Microsoft.Sql/servers/onesdk9033/communicationLinks/onesdk5103?api-version=2014-04-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMWY3YzEzNTUtNTQzYy00ZGI2LWI3NzQtMDdiMzBhYmI4MDU4L3Jlc291cmNlR3JvdXBzL29uZXNkazUyMTgvcHJvdmlkZXJzL01pY3Jvc29mdC5TcWwvc2VydmVycy9vbmVzZGs5MDMzL2NvbW11bmljYXRpb25MaW5rcy9vbmVzZGs1MTAzP2FwaS12ZXJzaW9uPTIwMTQtMDQtMDE=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Sql.SqlManagementClient/0.9.0.0" + ], + "x-ms-client-request-id": [ + "3d29ed72-5573-4e07-9739-b1b76b0056d7" + ] + }, + "ResponseBody": "{\r\n \"code\": \"NotFound\",\r\n \"message\": \"Resource not found for the segment 'communicationLinks'.\",\r\n \"target\": null,\r\n \"details\": [],\r\n \"innererror\": []\r\n}", + "ResponseHeaders": { + "Content-Length": [ + "141" + ], + "Content-Type": [ + "application/json" + ], + "x-ms-request-id": [ + "31426bb9-b728-46dd-b9e9-b789c4492222" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "DataServiceVersion": [ + "3.0;" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "14995" + ], + "x-ms-correlation-request-id": [ + "70197ff4-7284-4f2a-9080-075cb1842672" + ], + "x-ms-routing-request-id": [ + "CENTRALUS:20160106T224441Z:70197ff4-7284-4f2a-9080-075cb1842672" + ], + "Cache-Control": [ + "no-store, no-cache" + ], + "Date": [ + "Wed, 06 Jan 2016 22:44:41 GMT" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 404 + }, + { + "RequestUri": "/subscriptions/1f7c1355-543c-4db6-b774-07b30abb8058/resourceGroups/onesdk5218/providers/Microsoft.Sql/servers/onesdk9033/communicationLinks/onesdk5103?api-version=2014-04-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMWY3YzEzNTUtNTQzYy00ZGI2LWI3NzQtMDdiMzBhYmI4MDU4L3Jlc291cmNlR3JvdXBzL29uZXNkazUyMTgvcHJvdmlkZXJzL01pY3Jvc29mdC5TcWwvc2VydmVycy9vbmVzZGs5MDMzL2NvbW11bmljYXRpb25MaW5rcy9vbmVzZGs1MTAzP2FwaS12ZXJzaW9uPTIwMTQtMDQtMDE=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Sql.SqlManagementClient/0.9.0.0" + ], + "x-ms-client-request-id": [ + "e54a54c9-4da1-4561-b89e-a03e1f8f1bdb" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/1f7c1355-543c-4db6-b774-07b30abb8058/resourceGroups/onesdk5218/providers/Microsoft.Sql/servers/onesdk9033/communicationLinks/onesdk5103\",\r\n \"name\": \"onesdk5103\",\r\n \"type\": \"Microsoft.Sql/servers/communicationLinks\",\r\n \"location\": \"North Europe\",\r\n \"kind\": null,\r\n \"properties\": {\r\n \"state\": \"Ready\",\r\n \"partnerServer\": \"onesdk462\"\r\n }\r\n}", + "ResponseHeaders": { + "Content-Length": [ + "326" + ], + "Content-Type": [ + "application/json; odata=minimalmetadata; streaming=true; charset=utf-8" + ], + "x-ms-request-id": [ + "a3dbe1d9-d433-4546-8432-32ba3b3900e2" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "DataServiceVersion": [ + "3.0;" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "14992" + ], + "x-ms-correlation-request-id": [ + "5b4f37b5-703c-43cd-87f9-fcb204bb24ce" + ], + "x-ms-routing-request-id": [ + "CENTRALUS:20160106T224447Z:5b4f37b5-703c-43cd-87f9-fcb204bb24ce" + ], + "Cache-Control": [ + "no-store, no-cache" + ], + "Date": [ + "Wed, 06 Jan 2016 22:44:46 GMT" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/1f7c1355-543c-4db6-b774-07b30abb8058/resourceGroups/onesdk5218/providers/Microsoft.Sql/servers/onesdk9033/communicationLinks/onesdk5103?api-version=2014-04-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMWY3YzEzNTUtNTQzYy00ZGI2LWI3NzQtMDdiMzBhYmI4MDU4L3Jlc291cmNlR3JvdXBzL29uZXNkazUyMTgvcHJvdmlkZXJzL01pY3Jvc29mdC5TcWwvc2VydmVycy9vbmVzZGs5MDMzL2NvbW11bmljYXRpb25MaW5rcy9vbmVzZGs1MTAzP2FwaS12ZXJzaW9uPTIwMTQtMDQtMDE=", + "RequestMethod": "PUT", + "RequestBody": "{\r\n \"properties\": {\r\n \"partnerServer\": \"onesdk462\"\r\n },\r\n \"location\": \"North Europe\",\r\n \"tags\": {}\r\n}", + "RequestHeaders": { + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Content-Length": [ + "108" + ], + "User-Agent": [ + "Microsoft.Azure.Management.Sql.SqlManagementClient/0.9.0.0" + ], + "x-ms-client-request-id": [ + "6049d1d1-c84b-4a4f-a26e-85ffa2fa6620" + ] + }, + "ResponseBody": "{\r\n \"operation\": \"CREATE\",\r\n \"startTime\": \"2016-01-06T14:44:46.233-08:00\"\r\n}", + "ResponseHeaders": { + "Content-Length": [ + "65" + ], + "Content-Type": [ + "application/json; odata=minimalmetadata; streaming=true; charset=utf-8" + ], + "Retry-After": [ + "30" + ], + "x-ms-request-id": [ + "b3399888-928a-45f8-af94-77b98030021e" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Preference-Applied": [ + "return-content" + ], + "DataServiceVersion": [ + "3.0;" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-ratelimit-remaining-subscription-writes": [ + "1196" + ], + "x-ms-correlation-request-id": [ + "092810d6-9d4a-4833-b158-1c2a3969c7af" + ], + "x-ms-routing-request-id": [ + "CENTRALUS:20160106T224445Z:092810d6-9d4a-4833-b158-1c2a3969c7af" + ], + "Cache-Control": [ + "no-store, no-cache" + ], + "Date": [ + "Wed, 06 Jan 2016 22:44:44 GMT" + ], + "Location": [ + "https://api-dogfood.resources.windows-int.net/subscriptions/1f7c1355-543c-4db6-b774-07b30abb8058/resourceGroups/onesdk5218/providers/Microsoft.Sql/servers/onesdk9033/communicationLinks/onesdk5103/operationResults/b3399888-928a-45f8-af94-77b98030021e?api-version=2014-04-01-Preview" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/1f7c1355-543c-4db6-b774-07b30abb8058/resourceGroups/onesdk5218/providers/Microsoft.Sql/servers/onesdk9033/communicationLinks/onesdk5103/operationResults/b3399888-928a-45f8-af94-77b98030021e?api-version=2014-04-01-Preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMWY3YzEzNTUtNTQzYy00ZGI2LWI3NzQtMDdiMzBhYmI4MDU4L3Jlc291cmNlR3JvdXBzL29uZXNkazUyMTgvcHJvdmlkZXJzL01pY3Jvc29mdC5TcWwvc2VydmVycy9vbmVzZGs5MDMzL2NvbW11bmljYXRpb25MaW5rcy9vbmVzZGs1MTAzL29wZXJhdGlvblJlc3VsdHMvYjMzOTk4ODgtOTI4YS00NWY4LWFmOTQtNzdiOTgwMzAwMjFlP2FwaS12ZXJzaW9uPTIwMTQtMDQtMDEtUHJldmlldw==", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Sql.SqlManagementClient/0.9.0.0" + ], + "x-ms-client-request-id": [ + "6049d1d1-c84b-4a4f-a26e-85ffa2fa6620" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/1f7c1355-543c-4db6-b774-07b30abb8058/resourceGroups/onesdk5218/providers/Microsoft.Sql/servers/onesdk9033/communicationLinks/onesdk5103\",\r\n \"name\": \"onesdk5103\",\r\n \"type\": \"Microsoft.Sql/servers/communicationLinks\",\r\n \"location\": \"North Europe\",\r\n \"kind\": null,\r\n \"properties\": {\r\n \"state\": \"Ready\",\r\n \"partnerServer\": \"onesdk462\"\r\n }\r\n}", + "ResponseHeaders": { + "Content-Length": [ + "326" + ], + "Content-Type": [ + "application/json; odata=minimalmetadata; streaming=true; charset=utf-8" + ], + "x-ms-request-id": [ + "1939672e-713b-4589-9208-a9a15aeabf6c" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "DataServiceVersion": [ + "3.0;" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "14993" + ], + "x-ms-correlation-request-id": [ + "52ca3908-7796-4262-a9f5-d4b4d6049c74" + ], + "x-ms-routing-request-id": [ + "CENTRALUS:20160106T224446Z:52ca3908-7796-4262-a9f5-d4b4d6049c74" + ], + "Cache-Control": [ + "no-store, no-cache" + ], + "Date": [ + "Wed, 06 Jan 2016 22:44:45 GMT" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 201 + }, + { + "RequestUri": "/subscriptions/1f7c1355-543c-4db6-b774-07b30abb8058/resourceGroups/onesdk5218/providers/Microsoft.Sql/servers/onesdk9033/communicationLinks/onesdk5103?api-version=2014-04-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMWY3YzEzNTUtNTQzYy00ZGI2LWI3NzQtMDdiMzBhYmI4MDU4L3Jlc291cmNlR3JvdXBzL29uZXNkazUyMTgvcHJvdmlkZXJzL01pY3Jvc29mdC5TcWwvc2VydmVycy9vbmVzZGs5MDMzL2NvbW11bmljYXRpb25MaW5rcy9vbmVzZGs1MTAzP2FwaS12ZXJzaW9uPTIwMTQtMDQtMDE=", + "RequestMethod": "DELETE", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Sql.SqlManagementClient/0.9.0.0" + ], + "x-ms-client-request-id": [ + "ff08941c-40d4-488b-b598-91fab5aeb08e" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Content-Length": [ + "0" + ], + "Content-Type": [ + "application/xml; charset=utf-8" + ], + "x-ms-request-id": [ + "6a1ae531-63d5-42ab-8fa7-52fc16c926eb" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "DataServiceVersion": [ + "1.0;" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-ratelimit-remaining-subscription-writes": [ + "1195" + ], + "x-ms-correlation-request-id": [ + "a9edf20b-338d-4790-9865-987679679c43" + ], + "x-ms-routing-request-id": [ + "CENTRALUS:20160106T224451Z:a9edf20b-338d-4790-9865-987679679c43" + ], + "Cache-Control": [ + "no-store, no-cache" + ], + "Date": [ + "Wed, 06 Jan 2016 22:44:50 GMT" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/1f7c1355-543c-4db6-b774-07b30abb8058/resourceGroups/onesdk5218/providers/Microsoft.Sql/servers/onesdk9033/communicationLinks?api-version=2014-04-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMWY3YzEzNTUtNTQzYy00ZGI2LWI3NzQtMDdiMzBhYmI4MDU4L3Jlc291cmNlR3JvdXBzL29uZXNkazUyMTgvcHJvdmlkZXJzL01pY3Jvc29mdC5TcWwvc2VydmVycy9vbmVzZGs5MDMzL2NvbW11bmljYXRpb25MaW5rcz9hcGktdmVyc2lvbj0yMDE0LTA0LTAx", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Sql.SqlManagementClient/0.9.0.0" + ], + "x-ms-client-request-id": [ + "945f42b6-43da-48da-9d84-04867cb44723" + ] + }, + "ResponseBody": "{\r\n \"value\": []\r\n}", + "ResponseHeaders": { + "Content-Length": [ + "12" + ], + "Content-Type": [ + "application/json; odata=minimalmetadata; streaming=true; charset=utf-8" + ], + "x-ms-request-id": [ + "8774797e-ec9f-44b9-b407-5b7884367b2f" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "DataServiceVersion": [ + "3.0;" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "14991" + ], + "x-ms-correlation-request-id": [ + "d8613ce0-2279-45b2-957e-72ab888e1451" + ], + "x-ms-routing-request-id": [ + "CENTRALUS:20160106T224451Z:d8613ce0-2279-45b2-957e-72ab888e1451" + ], + "Cache-Control": [ + "no-store, no-cache" + ], + "Date": [ + "Wed, 06 Jan 2016 22:44:50 GMT" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/1f7c1355-543c-4db6-b774-07b30abb8058/resourcegroups/onesdk5218?api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMWY3YzEzNTUtNTQzYy00ZGI2LWI3NzQtMDdiMzBhYmI4MDU4L3Jlc291cmNlZ3JvdXBzL29uZXNkazUyMTg/YXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestMethod": "DELETE", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "Retry-After": [ + "15" + ], + "x-ms-ratelimit-remaining-subscription-writes": [ + "1188" + ], + "x-ms-request-id": [ + "f4f915d9-ecf2-40ba-8c79-524b6d274c4c" + ], + "x-ms-correlation-request-id": [ + "f4f915d9-ecf2-40ba-8c79-524b6d274c4c" + ], + "x-ms-routing-request-id": [ + "CENTRALUS:20160106T224454Z:f4f915d9-ecf2-40ba-8c79-524b6d274c4c" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 06 Jan 2016 22:44:54 GMT" + ], + "Location": [ + "https://api-dogfood.resources.windows-int.net/subscriptions/1f7c1355-543c-4db6-b774-07b30abb8058/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1PTkVTREs1MjE4LU5PUlRIRVVST1BFIiwiam9iTG9jYXRpb24iOiJub3J0aGV1cm9wZSJ9?api-version=2014-04-01-preview" + ] + }, + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/1f7c1355-543c-4db6-b774-07b30abb8058/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1PTkVTREs1MjE4LU5PUlRIRVVST1BFIiwiam9iTG9jYXRpb24iOiJub3J0aGV1cm9wZSJ9?api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMWY3YzEzNTUtNTQzYy00ZGI2LWI3NzQtMDdiMzBhYmI4MDU4L29wZXJhdGlvbnJlc3VsdHMvZXlKcWIySkpaQ0k2SWxKRlUwOVZVa05GUjFKUFZWQkVSVXhGVkVsUFRrcFBRaTFQVGtWVFJFczFNakU0TFU1UFVsUklSVlZTVDFCRklpd2lhbTlpVEc5allYUnBiMjRpT2lKdWIzSjBhR1YxY205d1pTSjk/YXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-version": [ + "2014-04-01-preview" + ], + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "Retry-After": [ + "15" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "14970" + ], + "x-ms-request-id": [ + "e4b0c319-4254-4bf8-b7c8-ed3c9dde3668" + ], + "x-ms-correlation-request-id": [ + "e4b0c319-4254-4bf8-b7c8-ed3c9dde3668" + ], + "x-ms-routing-request-id": [ + "CENTRALUS:20160106T224454Z:e4b0c319-4254-4bf8-b7c8-ed3c9dde3668" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 06 Jan 2016 22:44:54 GMT" + ], + "Location": [ + "https://api-dogfood.resources.windows-int.net/subscriptions/1f7c1355-543c-4db6-b774-07b30abb8058/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1PTkVTREs1MjE4LU5PUlRIRVVST1BFIiwiam9iTG9jYXRpb24iOiJub3J0aGV1cm9wZSJ9?api-version=2014-04-01-preview" + ] + }, + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/1f7c1355-543c-4db6-b774-07b30abb8058/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1PTkVTREs1MjE4LU5PUlRIRVVST1BFIiwiam9iTG9jYXRpb24iOiJub3J0aGV1cm9wZSJ9?api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMWY3YzEzNTUtNTQzYy00ZGI2LWI3NzQtMDdiMzBhYmI4MDU4L29wZXJhdGlvbnJlc3VsdHMvZXlKcWIySkpaQ0k2SWxKRlUwOVZVa05GUjFKUFZWQkVSVXhGVkVsUFRrcFBRaTFQVGtWVFJFczFNakU0TFU1UFVsUklSVlZTVDFCRklpd2lhbTlpVEc5allYUnBiMjRpT2lKdWIzSjBhR1YxY205d1pTSjk/YXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-version": [ + "2014-04-01-preview" + ], + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "Retry-After": [ + "15" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "14969" + ], + "x-ms-request-id": [ + "964da771-6347-445b-926a-c0b11dbd4cd0" + ], + "x-ms-correlation-request-id": [ + "964da771-6347-445b-926a-c0b11dbd4cd0" + ], + "x-ms-routing-request-id": [ + "CENTRALUS:20160106T224509Z:964da771-6347-445b-926a-c0b11dbd4cd0" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 06 Jan 2016 22:45:09 GMT" + ], + "Location": [ + "https://api-dogfood.resources.windows-int.net/subscriptions/1f7c1355-543c-4db6-b774-07b30abb8058/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1PTkVTREs1MjE4LU5PUlRIRVVST1BFIiwiam9iTG9jYXRpb24iOiJub3J0aGV1cm9wZSJ9?api-version=2014-04-01-preview" + ] + }, + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/1f7c1355-543c-4db6-b774-07b30abb8058/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1PTkVTREs1MjE4LU5PUlRIRVVST1BFIiwiam9iTG9jYXRpb24iOiJub3J0aGV1cm9wZSJ9?api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMWY3YzEzNTUtNTQzYy00ZGI2LWI3NzQtMDdiMzBhYmI4MDU4L29wZXJhdGlvbnJlc3VsdHMvZXlKcWIySkpaQ0k2SWxKRlUwOVZVa05GUjFKUFZWQkVSVXhGVkVsUFRrcFBRaTFQVGtWVFJFczFNakU0TFU1UFVsUklSVlZTVDFCRklpd2lhbTlpVEc5allYUnBiMjRpT2lKdWIzSjBhR1YxY205d1pTSjk/YXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-version": [ + "2014-04-01-preview" + ], + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "Retry-After": [ + "15" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "14968" + ], + "x-ms-request-id": [ + "111c3181-b4c4-47fe-affb-a45fa17fb40f" + ], + "x-ms-correlation-request-id": [ + "111c3181-b4c4-47fe-affb-a45fa17fb40f" + ], + "x-ms-routing-request-id": [ + "CENTRALUS:20160106T224525Z:111c3181-b4c4-47fe-affb-a45fa17fb40f" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 06 Jan 2016 22:45:24 GMT" + ], + "Location": [ + "https://api-dogfood.resources.windows-int.net/subscriptions/1f7c1355-543c-4db6-b774-07b30abb8058/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1PTkVTREs1MjE4LU5PUlRIRVVST1BFIiwiam9iTG9jYXRpb24iOiJub3J0aGV1cm9wZSJ9?api-version=2014-04-01-preview" + ] + }, + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/1f7c1355-543c-4db6-b774-07b30abb8058/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1PTkVTREs1MjE4LU5PUlRIRVVST1BFIiwiam9iTG9jYXRpb24iOiJub3J0aGV1cm9wZSJ9?api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMWY3YzEzNTUtNTQzYy00ZGI2LWI3NzQtMDdiMzBhYmI4MDU4L29wZXJhdGlvbnJlc3VsdHMvZXlKcWIySkpaQ0k2SWxKRlUwOVZVa05GUjFKUFZWQkVSVXhGVkVsUFRrcFBRaTFQVGtWVFJFczFNakU0TFU1UFVsUklSVlZTVDFCRklpd2lhbTlpVEc5allYUnBiMjRpT2lKdWIzSjBhR1YxY205d1pTSjk/YXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-version": [ + "2014-04-01-preview" + ], + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "Retry-After": [ + "15" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "14967" + ], + "x-ms-request-id": [ + "26d67431-b8ac-42c3-9f4e-b2eec48bcec8" + ], + "x-ms-correlation-request-id": [ + "26d67431-b8ac-42c3-9f4e-b2eec48bcec8" + ], + "x-ms-routing-request-id": [ + "CENTRALUS:20160106T224540Z:26d67431-b8ac-42c3-9f4e-b2eec48bcec8" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 06 Jan 2016 22:45:39 GMT" + ], + "Location": [ + "https://api-dogfood.resources.windows-int.net/subscriptions/1f7c1355-543c-4db6-b774-07b30abb8058/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1PTkVTREs1MjE4LU5PUlRIRVVST1BFIiwiam9iTG9jYXRpb24iOiJub3J0aGV1cm9wZSJ9?api-version=2014-04-01-preview" + ] + }, + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/1f7c1355-543c-4db6-b774-07b30abb8058/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1PTkVTREs1MjE4LU5PUlRIRVVST1BFIiwiam9iTG9jYXRpb24iOiJub3J0aGV1cm9wZSJ9?api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMWY3YzEzNTUtNTQzYy00ZGI2LWI3NzQtMDdiMzBhYmI4MDU4L29wZXJhdGlvbnJlc3VsdHMvZXlKcWIySkpaQ0k2SWxKRlUwOVZVa05GUjFKUFZWQkVSVXhGVkVsUFRrcFBRaTFQVGtWVFJFczFNakU0TFU1UFVsUklSVlZTVDFCRklpd2lhbTlpVEc5allYUnBiMjRpT2lKdWIzSjBhR1YxY205d1pTSjk/YXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-version": [ + "2014-04-01-preview" + ], + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "Retry-After": [ + "15" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "14966" + ], + "x-ms-request-id": [ + "a58dc6c5-2894-46c3-ad61-2cf5dd4fa56f" + ], + "x-ms-correlation-request-id": [ + "a58dc6c5-2894-46c3-ad61-2cf5dd4fa56f" + ], + "x-ms-routing-request-id": [ + "CENTRALUS:20160106T224555Z:a58dc6c5-2894-46c3-ad61-2cf5dd4fa56f" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 06 Jan 2016 22:45:55 GMT" + ], + "Location": [ + "https://api-dogfood.resources.windows-int.net/subscriptions/1f7c1355-543c-4db6-b774-07b30abb8058/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1PTkVTREs1MjE4LU5PUlRIRVVST1BFIiwiam9iTG9jYXRpb24iOiJub3J0aGV1cm9wZSJ9?api-version=2014-04-01-preview" + ] + }, + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/1f7c1355-543c-4db6-b774-07b30abb8058/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1PTkVTREs1MjE4LU5PUlRIRVVST1BFIiwiam9iTG9jYXRpb24iOiJub3J0aGV1cm9wZSJ9?api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMWY3YzEzNTUtNTQzYy00ZGI2LWI3NzQtMDdiMzBhYmI4MDU4L29wZXJhdGlvbnJlc3VsdHMvZXlKcWIySkpaQ0k2SWxKRlUwOVZVa05GUjFKUFZWQkVSVXhGVkVsUFRrcFBRaTFQVGtWVFJFczFNakU0TFU1UFVsUklSVlZTVDFCRklpd2lhbTlpVEc5allYUnBiMjRpT2lKdWIzSjBhR1YxY205d1pTSjk/YXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-version": [ + "2014-04-01-preview" + ], + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "Retry-After": [ + "15" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "14965" + ], + "x-ms-request-id": [ + "48c851d2-e922-4ad9-9a06-048240837957" + ], + "x-ms-correlation-request-id": [ + "48c851d2-e922-4ad9-9a06-048240837957" + ], + "x-ms-routing-request-id": [ + "CENTRALUS:20160106T224611Z:48c851d2-e922-4ad9-9a06-048240837957" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 06 Jan 2016 22:46:11 GMT" + ], + "Location": [ + "https://api-dogfood.resources.windows-int.net/subscriptions/1f7c1355-543c-4db6-b774-07b30abb8058/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1PTkVTREs1MjE4LU5PUlRIRVVST1BFIiwiam9iTG9jYXRpb24iOiJub3J0aGV1cm9wZSJ9?api-version=2014-04-01-preview" + ] + }, + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/1f7c1355-543c-4db6-b774-07b30abb8058/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1PTkVTREs1MjE4LU5PUlRIRVVST1BFIiwiam9iTG9jYXRpb24iOiJub3J0aGV1cm9wZSJ9?api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMWY3YzEzNTUtNTQzYy00ZGI2LWI3NzQtMDdiMzBhYmI4MDU4L29wZXJhdGlvbnJlc3VsdHMvZXlKcWIySkpaQ0k2SWxKRlUwOVZVa05GUjFKUFZWQkVSVXhGVkVsUFRrcFBRaTFQVGtWVFJFczFNakU0TFU1UFVsUklSVlZTVDFCRklpd2lhbTlpVEc5allYUnBiMjRpT2lKdWIzSjBhR1YxY205d1pTSjk/YXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-version": [ + "2014-04-01-preview" + ], + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "Retry-After": [ + "15" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "14964" + ], + "x-ms-request-id": [ + "e93cf9b0-d719-4d4c-b808-cf9fe8462597" + ], + "x-ms-correlation-request-id": [ + "e93cf9b0-d719-4d4c-b808-cf9fe8462597" + ], + "x-ms-routing-request-id": [ + "CENTRALUS:20160106T224626Z:e93cf9b0-d719-4d4c-b808-cf9fe8462597" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 06 Jan 2016 22:46:26 GMT" + ], + "Location": [ + "https://api-dogfood.resources.windows-int.net/subscriptions/1f7c1355-543c-4db6-b774-07b30abb8058/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1PTkVTREs1MjE4LU5PUlRIRVVST1BFIiwiam9iTG9jYXRpb24iOiJub3J0aGV1cm9wZSJ9?api-version=2014-04-01-preview" + ] + }, + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/1f7c1355-543c-4db6-b774-07b30abb8058/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1PTkVTREs1MjE4LU5PUlRIRVVST1BFIiwiam9iTG9jYXRpb24iOiJub3J0aGV1cm9wZSJ9?api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMWY3YzEzNTUtNTQzYy00ZGI2LWI3NzQtMDdiMzBhYmI4MDU4L29wZXJhdGlvbnJlc3VsdHMvZXlKcWIySkpaQ0k2SWxKRlUwOVZVa05GUjFKUFZWQkVSVXhGVkVsUFRrcFBRaTFQVGtWVFJFczFNakU0TFU1UFVsUklSVlZTVDFCRklpd2lhbTlpVEc5allYUnBiMjRpT2lKdWIzSjBhR1YxY205d1pTSjk/YXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-version": [ + "2014-04-01-preview" + ], + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "14963" + ], + "x-ms-request-id": [ + "07c0ec02-ee7e-4d8d-b1e6-b7fb02641065" + ], + "x-ms-correlation-request-id": [ + "07c0ec02-ee7e-4d8d-b1e6-b7fb02641065" + ], + "x-ms-routing-request-id": [ + "CENTRALUS:20160106T224641Z:07c0ec02-ee7e-4d8d-b1e6-b7fb02641065" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 06 Jan 2016 22:46:41 GMT" + ] + }, + "StatusCode": 200 + } + ], + "Names": { + "Test-RemoveServerCommunicationLink": [ + "onesdk5218", + "onesdk9033", + "onesdk462", + "onesdk5103" + ] + }, + "Variables": { + "SubscriptionId": "1f7c1355-543c-4db6-b774-07b30abb8058", + "TenantId": "40fd7297-7fa1-48b3-8666-e1255f509bfa", + "Domain": "aad141.ccsctp.net", + "User": "admin@aad141.ccsctp.net" + } +} \ No newline at end of file From 9d479cee936fd12ced850fe3aa9a5ed355a02997 Mon Sep 17 00:00:00 2001 From: Microsoft Date: Wed, 6 Jan 2016 15:07:44 -0800 Subject: [PATCH 04/20] remove comments from test file --- .../ScenarioTests/ServerCommunicationLinkCrudTests.cs | 3 --- 1 file changed, 3 deletions(-) diff --git a/src/ResourceManager/Sql/Commands.Sql.Test/ScenarioTests/ServerCommunicationLinkCrudTests.cs b/src/ResourceManager/Sql/Commands.Sql.Test/ScenarioTests/ServerCommunicationLinkCrudTests.cs index 29e28acd7726..a599b70ed1b4 100644 --- a/src/ResourceManager/Sql/Commands.Sql.Test/ScenarioTests/ServerCommunicationLinkCrudTests.cs +++ b/src/ResourceManager/Sql/Commands.Sql.Test/ScenarioTests/ServerCommunicationLinkCrudTests.cs @@ -20,7 +20,6 @@ namespace Microsoft.Azure.Commands.Sql.Test.ScenarioTests { public class ServerCommunicationLinkCrudTests : SqlTestsBase { - // TODO: adumitr: re-enable the tests when feature is fully enabled in the region the tests use [Fact] [Trait(Category.AcceptanceType, Category.CheckIn)] public void TestServerCommunicationLinkCreate() @@ -28,7 +27,6 @@ public void TestServerCommunicationLinkCreate() RunPowerShellTest("Test-CreateServerCommunicationLink"); } - // TODO: adumitr: re-enable the tests when feature is fully enabled in the region the tests use [Fact] [Trait(Category.AcceptanceType, Category.CheckIn)] public void TestServerCommunicationLinkGet() @@ -36,7 +34,6 @@ public void TestServerCommunicationLinkGet() RunPowerShellTest("Test-GetServerCommunicationLink"); } - // TODO: adumitr: re-enable the tests when feature is fully enabled in the region the tests use [Fact] [Trait(Category.AcceptanceType, Category.CheckIn)] public void TestServerCommunicationLinkRemove() From 7ae3ebdea8fcd33a063de4d26c10294417b2ed04 Mon Sep 17 00:00:00 2001 From: dihan Date: Wed, 6 Jan 2016 17:34:00 -0800 Subject: [PATCH 05/20] #5516630 Fix for ARP/Route API calls to return user-friendly output --- .../GetAzureDedicatedCircuitPeeringArpInfo.cs | 43 ++++++++++++++++++- ...reDedicatedCircuitPeeringRouteTableInfo.cs | 9 +++- ...edicatedCircuitPeeringRouteTableSummary.cs | 9 +++- 3 files changed, 55 insertions(+), 6 deletions(-) diff --git a/src/ServiceManagement/ExpressRoute/Commands.ExpressRoute/DedicatedCircuitStats/GetAzureDedicatedCircuitPeeringArpInfo.cs b/src/ServiceManagement/ExpressRoute/Commands.ExpressRoute/DedicatedCircuitStats/GetAzureDedicatedCircuitPeeringArpInfo.cs index afcd780665e3..09b8bc2f532e 100644 --- a/src/ServiceManagement/ExpressRoute/Commands.ExpressRoute/DedicatedCircuitStats/GetAzureDedicatedCircuitPeeringArpInfo.cs +++ b/src/ServiceManagement/ExpressRoute/Commands.ExpressRoute/DedicatedCircuitStats/GetAzureDedicatedCircuitPeeringArpInfo.cs @@ -20,6 +20,40 @@ namespace Microsoft.WindowsAzure.Commands.ExpressRoute { + using System.IO; + using System.Net; + using System.Text; + using System.Xml; + public class CommonParser + { + public static string parseResult(string url, StringBuilder sb) + { + var contents = new System.Net.WebClient().DownloadString(url); + XmlDocument xmlDoc = new XmlDocument(); + xmlDoc.LoadXml(contents); + bool firstLine = true; + StringBuilder header = new StringBuilder(); + StringBuilder body = new StringBuilder(); + foreach (XmlNode node in xmlDoc.DocumentElement.ChildNodes) + { + foreach (XmlNode nodeChild in node.ChildNodes) + { + if (firstLine) + { + header.Append(string.Format("{0,20}", nodeChild.Name)); + } + body.Append(string.Format("{0,20}", nodeChild.InnerText)); + } + firstLine = false; + body.AppendLine(); + } + sb.AppendLine(); + sb.AppendLine(header.ToString()); + sb.AppendLine(body.ToString()); + return sb.ToString(); + } + } + [Cmdlet(VerbsCommon.Get, "AzureDedicatedCircuitPeeringArpInfo"), OutputType(typeof(string), typeof(IEnumerable))] public class GetAzureDedicatedCircuitPeeringArpInfoCommand : ExpressRouteBaseCmdlet { @@ -38,8 +72,13 @@ public class GetAzureDedicatedCircuitPeeringArpInfoCommand : ExpressRouteBaseCmd public override void ExecuteCmdlet() { var arpInfo = ExpressRouteClient.GetAzureDedicatedCircuitPeeringArpInfo(ServiceKey, AccessType, BgpPeeringDevicePath); - Console.WriteLine(arpInfo); - WriteObject(arpInfo); + // parse output to a more user-friendly output + StringBuilder sb = new StringBuilder(); + sb.AppendLine(""); + sb.AppendLine("ARP Info:"); + WriteObject(CommonParser.parseResult(arpInfo, sb)); } + + } } diff --git a/src/ServiceManagement/ExpressRoute/Commands.ExpressRoute/DedicatedCircuitStats/GetAzureDedicatedCircuitPeeringRouteTableInfo.cs b/src/ServiceManagement/ExpressRoute/Commands.ExpressRoute/DedicatedCircuitStats/GetAzureDedicatedCircuitPeeringRouteTableInfo.cs index 75b9ef9ec422..e9ca1ef6111c 100644 --- a/src/ServiceManagement/ExpressRoute/Commands.ExpressRoute/DedicatedCircuitStats/GetAzureDedicatedCircuitPeeringRouteTableInfo.cs +++ b/src/ServiceManagement/ExpressRoute/Commands.ExpressRoute/DedicatedCircuitStats/GetAzureDedicatedCircuitPeeringRouteTableInfo.cs @@ -20,6 +20,8 @@ namespace Microsoft.WindowsAzure.Commands.ExpressRoute { + using System.Text; + [Cmdlet(VerbsCommon.Get, "AzureDedicatedCircuitPeeringRouteTableInfo"), OutputType(typeof(AzureDedicatedCircuitPeeringRouteTableInfo), typeof(IEnumerable))] public class GetAzureDedicatedCircuitPeeringRouteTableInfoCommand : ExpressRouteBaseCmdlet { @@ -37,8 +39,11 @@ public class GetAzureDedicatedCircuitPeeringRouteTableInfoCommand : ExpressRoute public override void ExecuteCmdlet() { - var arpInfo = ExpressRouteClient.GetAzureDedicatedCircuitPeeringRouteTableInfo(ServiceKey, AccessType, BgpPeeringDevicePath); - WriteObject(arpInfo); + var routeTable = ExpressRouteClient.GetAzureDedicatedCircuitPeeringRouteTableInfo(ServiceKey, AccessType, BgpPeeringDevicePath); + StringBuilder sb = new StringBuilder(); + sb.AppendLine(""); + sb.AppendLine("Route Table Info:"); + WriteObject(CommonParser.parseResult(routeTable, sb)); } } diff --git a/src/ServiceManagement/ExpressRoute/Commands.ExpressRoute/DedicatedCircuitStats/GetAzureDedicatedCircuitPeeringRouteTableSummary.cs b/src/ServiceManagement/ExpressRoute/Commands.ExpressRoute/DedicatedCircuitStats/GetAzureDedicatedCircuitPeeringRouteTableSummary.cs index 82b0c08ad20a..b0619b2212f5 100644 --- a/src/ServiceManagement/ExpressRoute/Commands.ExpressRoute/DedicatedCircuitStats/GetAzureDedicatedCircuitPeeringRouteTableSummary.cs +++ b/src/ServiceManagement/ExpressRoute/Commands.ExpressRoute/DedicatedCircuitStats/GetAzureDedicatedCircuitPeeringRouteTableSummary.cs @@ -20,6 +20,8 @@ namespace Microsoft.WindowsAzure.Commands.ExpressRoute { + using System.Text; + [Cmdlet(VerbsCommon.Get, "AzureDedicatedCircuitPeeringRouteTableSummary"), OutputType(typeof(AzureDedicatedCircuitPeeringRouteTableSummary), typeof(IEnumerable))] public class GetAzureDedicatedCircuitPeeringRouteTableSummaryCommand : ExpressRouteBaseCmdlet { @@ -37,8 +39,11 @@ public class GetAzureDedicatedCircuitPeeringRouteTableSummaryCommand : ExpressRo public override void ExecuteCmdlet() { - var arpInfo = ExpressRouteClient.GetAzureDedicatedCircuitPeeringRouteTableSummary(ServiceKey, AccessType, BgpPeeringDevicePath); - WriteObject(arpInfo); + var routeSummary = ExpressRouteClient.GetAzureDedicatedCircuitPeeringRouteTableSummary(ServiceKey, AccessType, BgpPeeringDevicePath); + StringBuilder sb = new StringBuilder(); + sb.AppendLine(""); + sb.AppendLine("Route Table Summary:"); + WriteObject(CommonParser.parseResult(routeSummary, sb)); } } } From 6f79281092771ee00daa7e3ffcc1c9c07db888c8 Mon Sep 17 00:00:00 2001 From: Hovsep Mkrtchyan Date: Wed, 6 Jan 2016 17:50:01 -0800 Subject: [PATCH 06/20] Fixed [#110120350] Subscriptions and tenants can be listed correctly without specifying -tenantID --- .../Models/RMProfileClient.cs | 32 +++++++++++++------ 1 file changed, 23 insertions(+), 9 deletions(-) diff --git a/src/ResourceManager/Profile/Commands.Profile/Models/RMProfileClient.cs b/src/ResourceManager/Profile/Commands.Profile/Models/RMProfileClient.cs index e0edfba6f2f4..3262a036f669 100644 --- a/src/ResourceManager/Profile/Commands.Profile/Models/RMProfileClient.cs +++ b/src/ResourceManager/Profile/Commands.Profile/Models/RMProfileClient.cs @@ -68,7 +68,7 @@ public AzureRMProfile Login( var token = AcquireAccessToken(account, environment, tenantId, password, promptBehavior); if(TryGetTenantSubscription(token, account, environment, tenantId, subscriptionId, subscriptionName, out newSubscription, out newTenant)) { - account.SetProperty(AzureAccount.Property.Tenants, new[] { newTenant.Id.ToString() }); + account.SetOrAppendProperty(AzureAccount.Property.Tenants, new[] { newTenant.Id.ToString() }); } } // (tenant is not provided and subscription is present) OR @@ -240,7 +240,7 @@ private void SwitchSubscription(AzureSubscription subscription) public List ListTenants(string tenant) { - return ListAccountTenants(_profile.Context.Account, _profile.Context.Environment, null, ShowDialog.Auto) + return ListAccountTenants(_profile.Context.Account, _profile.Context.Environment, null, ShowDialog.Never) .Where(t => tenant == null || tenant.Equals(t.Id.ToString(), StringComparison.OrdinalIgnoreCase) || tenant.Equals(t.Domain, StringComparison.OrdinalIgnoreCase)) @@ -380,7 +380,9 @@ public IEnumerable ListSubscriptions() { try { - subscriptions.AddRange(ListSubscriptions(tenant.Id.ToString())); + subscriptions.AddRange( + ListSubscriptions( + (tenant.Id == Guid.Empty) ? tenant.Domain:tenant.Id.ToString())); } catch (AadAuthenticationException) { @@ -569,10 +571,21 @@ private List ListAccountTenants(AzureAccount account, AzureEnvironm { result = account.GetPropertyAsArray(AzureAccount.Property.Tenants) - .Select( ti => new AzureTenant() - { - Id = new Guid(ti), - Domain = AccessTokenExtensions.GetDomain(account.Id) + .Select( ti => { + var tenant = new AzureTenant(); + + Guid guid; + if(Guid.TryParse(ti, out guid)) + { + tenant.Id = guid; + tenant.Domain = AccessTokenExtensions.GetDomain(account.Id); + } + else + { + tenant.Domain = ti; + } + + return tenant; }).ToList(); } @@ -608,7 +621,7 @@ private IEnumerable ListSubscriptionsForTenant(AzureAccount a subscriptions.Subscriptions.Select( (s) => s.ToAzureSubscription(new AzureContext(_profile.Context.Subscription, account, - environment, CreateTenantFromString(tenantId)))); + environment, CreateTenantFromString(tenantId, accessToken.TenantId)))); } return new List(); @@ -623,7 +636,7 @@ private void WriteWarningMessage(string message) } } - private static AzureTenant CreateTenantFromString(string tenantOrDomain) + private static AzureTenant CreateTenantFromString(string tenantOrDomain, string accessTokenTenantId) { AzureTenant result = new AzureTenant(); Guid id; @@ -633,6 +646,7 @@ private static AzureTenant CreateTenantFromString(string tenantOrDomain) } else { + result.Id = Guid.Parse(accessTokenTenantId); result.Domain = tenantOrDomain; } From aa88e5b64e0ed0969d01274940b34c7527bd216f Mon Sep 17 00:00:00 2001 From: Anthony Pham Date: Wed, 6 Jan 2016 18:05:45 -0800 Subject: [PATCH 07/20] Add Function support to Azure Stream Analytics PowerShell This updates the Azure Stream Analytics PowerShell cmdlets with new cmdlets that support Functions, a new rest-only resource at the same level of inputs, outputs and transformation. Functions have the same actions as inputs and outputs (create, delete, get, test) as well as an additional action to retrieve the default definition for a function. - Added necessary classes to create the new function cmdlets - Updated the help xml files and other help related files to include functions - Added test coverage for functions, reran the tests and updated session records - Updated Stream Analytics SDK reference to version 1.7.3 New cmdlets: New-AzureRmStreamAnalyticsFunction Get-AzureRmStreamAnalyticsFunction Test-AzureRmStreamAnalyticsFunction Get-AzureRmStreamAnalyticsDefaultFunctionDefinition Remove-AzureRmStreamAnalyticsFunction --- .../Commands.StreamAnalytics.Test.csproj | 8 +- .../Resources/Function.json | 41 + .../Resources/Job.json | 149 +- ...rieveDefaultFunctionDefinitionRequest.json | 8 + .../ScenarioTests/EndToEndTests.ps1 | 23 + .../TestStreamingAnalyticsE2E.json | 1058 ++- .../packages.config | 2 +- .../Commands.StreamAnalytics.csproj | 15 +- .../Commands.StreamAnalytics/Constants.cs | 4 + .../GetAzureStreamAnalyticsFunctionCommand.cs | 60 + ...alyticsFunctionDefaultDefinitionCommand.cs | 77 + .../NewAzureStreamAnalyticsFunctionCommand.cs | 82 + ...moveAzureStreamAnalyticsFunctionCommand.cs | 86 + ...TestAzureStreamAnalyticsFunctionCommand.cs | 90 + .../TestAzureStreamAnalyticsInputCommand.cs | 4 +- .../Job/GetAzureStreamAnalyticsJobCommand.cs | 2 +- ...ure.Commands.StreamAnalytics.dll-Help.psd1 | 4 +- ...zure.Commands.StreamAnalytics.dll-Help.xml | 7566 +++++++++-------- ...ure.Commands.StreamAnalytics.format.ps1xml | 30 + .../Models/CreatePSFunctionParameter.cs | 29 + .../Models/FunctionFilterOptions.cs | 25 + .../Models/PSFunction.cs | 72 + .../Models/PSInput.cs | 2 +- .../Commands.StreamAnalytics/Models/PSJob.cs | 2 +- .../Models/PSOutput.cs | 2 +- .../Models/PSTransformation.cs | 2 +- ...eveDefaultPSFunctionDefinitionParameter.cs | 25 + .../Models/StreamAnalyticsClient.Functions.cs | 212 + .../Models/StreamAnalyticsClient.Inputs.cs | 3 +- .../Models/StreamAnalyticsClient.Outputs.cs | 3 +- .../TestAzureStreamAnalyticsOutputCommand.cs | 4 +- .../Properties/Resources.Designer.cs | 58 +- .../Properties/Resources.resx | 233 +- .../Commands.StreamAnalytics/packages.config | 2 +- 34 files changed, 6045 insertions(+), 3938 deletions(-) create mode 100644 src/ResourceManager/StreamAnalytics/Commands.StreamAnalytics.Test/Resources/Function.json create mode 100644 src/ResourceManager/StreamAnalytics/Commands.StreamAnalytics.Test/Resources/RetrieveDefaultFunctionDefinitionRequest.json create mode 100644 src/ResourceManager/StreamAnalytics/Commands.StreamAnalytics/Function/GetAzureStreamAnalyticsFunctionCommand.cs create mode 100644 src/ResourceManager/StreamAnalytics/Commands.StreamAnalytics/Function/GetAzureStreamAnalyticsFunctionDefaultDefinitionCommand.cs create mode 100644 src/ResourceManager/StreamAnalytics/Commands.StreamAnalytics/Function/NewAzureStreamAnalyticsFunctionCommand.cs create mode 100644 src/ResourceManager/StreamAnalytics/Commands.StreamAnalytics/Function/RemoveAzureStreamAnalyticsFunctionCommand.cs create mode 100644 src/ResourceManager/StreamAnalytics/Commands.StreamAnalytics/Function/TestAzureStreamAnalyticsFunctionCommand.cs create mode 100644 src/ResourceManager/StreamAnalytics/Commands.StreamAnalytics/Models/CreatePSFunctionParameter.cs create mode 100644 src/ResourceManager/StreamAnalytics/Commands.StreamAnalytics/Models/FunctionFilterOptions.cs create mode 100644 src/ResourceManager/StreamAnalytics/Commands.StreamAnalytics/Models/PSFunction.cs create mode 100644 src/ResourceManager/StreamAnalytics/Commands.StreamAnalytics/Models/RetrieveDefaultPSFunctionDefinitionParameter.cs create mode 100644 src/ResourceManager/StreamAnalytics/Commands.StreamAnalytics/Models/StreamAnalyticsClient.Functions.cs diff --git a/src/ResourceManager/StreamAnalytics/Commands.StreamAnalytics.Test/Commands.StreamAnalytics.Test.csproj b/src/ResourceManager/StreamAnalytics/Commands.StreamAnalytics.Test/Commands.StreamAnalytics.Test.csproj index 37ae965939e4..ab6789dc5a6e 100644 --- a/src/ResourceManager/StreamAnalytics/Commands.StreamAnalytics.Test/Commands.StreamAnalytics.Test.csproj +++ b/src/ResourceManager/StreamAnalytics/Commands.StreamAnalytics.Test/Commands.StreamAnalytics.Test.csproj @@ -66,7 +66,7 @@ ..\..\..\packages\Microsoft.Azure.Management.Authorization.0.19.2-preview\lib\net40\Microsoft.Azure.Management.Authorization.dll - ..\..\..\packages\Microsoft.Azure.Management.StreamAnalytics.1.7.1\lib\net40\Microsoft.Azure.Management.StreamAnalytics.dll + ..\..\..\packages\Microsoft.Azure.Management.StreamAnalytics.1.7.3\lib\net40\Microsoft.Azure.Management.StreamAnalytics.dll False @@ -197,6 +197,9 @@ Designer + + PreserveNewest + PreserveNewest @@ -206,6 +209,9 @@ PreserveNewest + + PreserveNewest + PreserveNewest diff --git a/src/ResourceManager/StreamAnalytics/Commands.StreamAnalytics.Test/Resources/Function.json b/src/ResourceManager/StreamAnalytics/Commands.StreamAnalytics.Test/Resources/Function.json new file mode 100644 index 000000000000..90fa8213ed70 --- /dev/null +++ b/src/ResourceManager/StreamAnalytics/Commands.StreamAnalytics.Test/Resources/Function.json @@ -0,0 +1,41 @@ +{ + "name": "scoreTweet", + "properties": { + "type": "Scalar", + "properties": { + "inputs": [ + { + "dataType": "nvarchar(max)", + "isConfigurationParameter": false + } + ], + "output": { + "dataType": "nvarchar(max)" + }, + "binding": { + "type": "Microsoft.MachineLearning/WebService", + "properties": { + "endpoint": "https://ussouthcentral.services.azureml.net/workspaces/f80d5d7a77fa4a46bf2a30c63c078dca/services/b7be5e40fd194258896fb602c1858eaf/execute?api-version=2.0&details=true", + "apiKey": "$EncryptedStringForTesting", + "inputs": { + "name": "input1", + "columnNames": [ + { + "name": "tweet", + "dataType": "String", + "mapTo": 0 + } + ] + }, + "outputs": [ + { + "name": "Sentiment", + "dataType": "String" + } + ], + "batchSize": 10 + } + } + } + } +} \ No newline at end of file diff --git a/src/ResourceManager/StreamAnalytics/Commands.StreamAnalytics.Test/Resources/Job.json b/src/ResourceManager/StreamAnalytics/Commands.StreamAnalytics.Test/Resources/Job.json index b4ad25319fcf..7fd56de9e3c2 100644 --- a/src/ResourceManager/StreamAnalytics/Commands.StreamAnalytics.Test/Resources/Job.json +++ b/src/ResourceManager/StreamAnalytics/Commands.StreamAnalytics.Test/Resources/Job.json @@ -1,61 +1,104 @@ { - "location": "West US", - "tags": { "key": "value" }, + "location": "West US", + "tags": { "key": "value" }, - "properties": { - "sku": { - "name": "standard" - }, - "inputs": [ - { - "name": "Input", - "properties": { - "type": "stream", - "serialization": { - "type": "JSON", - "properties": { - "encoding": "UTF8" + "properties": { + "sku": { + "name": "standard" + }, + "inputs": [ + { + "name": "Input", + "properties": { + "type": "stream", + "serialization": { + "type": "JSON", + "properties": { + "encoding": "UTF8" + } + }, + "datasource": { + "type": "Microsoft.Storage/Blob", + "properties": { + "storageAccounts": [ + { + "accountName": "azurenrtdogfood", + "accountKey": "$EncryptedStringForTesting" + } + ], + "container": "samples", + "pathPattern": "" + } + } + } } - }, - "datasource": { - "type": "Microsoft.Storage/Blob", + ], + "transformation": { + "name": "transform1", "properties": { - "storageAccounts" : [ - { - "accountName": "azurenrtdogfood", - "accountKey": "$EncryptedStringForTesting" + "streamingUnits": 1, + "query": "select Id, Name from Input" + } + }, + "outputs": [ + { + "name": "Output", + "properties": { + "datasource": { + "type": "Microsoft.Sql/Server/Database", + "properties": { + "server": "$EncryptedStringForTesting.database.windows.net", + "database": "azurenrtsql", + "user": "azurenrt@$EncryptedStringForTesting", + "password": "$EncryptedStringForTesting", + "table": "Samples" + } + } } - ], - "container": "samples", - "pathPattern": "" } - } - } - } - ], - "transformation": { - "name": "transform1", - "properties": { - "streamingUnits": 1, - "query": "select Id, Name from Input" - } - }, - "outputs": [ - { - "name": "Output", - "properties": { - "datasource": { - "type": "Microsoft.Sql/Server/Database", - "properties": { - "server": "$EncryptedStringForTesting.database.windows.net", - "database": "azurenrtsql", - "user": "azurenrt@$EncryptedStringForTesting", - "password": "$EncryptedStringForTesting", - "table": "Samples" + ], + "functions": [ + { + "name": "scoreTweet", + "properties": { + "type": "Scalar", + "properties": { + "inputs": [ + { + "dataType": "nvarchar(max)", + "isConfigurationParameter": false + } + ], + "output": { + "dataType": "nvarchar(max)" + }, + "binding": { + "type": "Microsoft.MachineLearning/WebService", + "properties": { + "endpoint": "https://ussouthcentral.services.azureml.net/workspaces/f80d5d7a77fa4a46bf2a30c63c078dca/services/b7be5e40fd194258896fb602c1858eaf/execute?api-version=2.0&details=true", + "apiKey": "$EncryptedStringForTesting", + "inputs": { + "name": "input1", + "columnNames": [ + { + "name": "tweet", + "dataType": "String", + "mapTo": 0 + } + ] + }, + "outputs": [ + { + "name": "Sentiment", + "dataType": "String" + } + ], + "batchSize": 10 + } + } + } + } } - } - } - } - ] - } + ] + } } \ No newline at end of file diff --git a/src/ResourceManager/StreamAnalytics/Commands.StreamAnalytics.Test/Resources/RetrieveDefaultFunctionDefinitionRequest.json b/src/ResourceManager/StreamAnalytics/Commands.StreamAnalytics.Test/Resources/RetrieveDefaultFunctionDefinitionRequest.json new file mode 100644 index 000000000000..2f981405ffd2 --- /dev/null +++ b/src/ResourceManager/StreamAnalytics/Commands.StreamAnalytics.Test/Resources/RetrieveDefaultFunctionDefinitionRequest.json @@ -0,0 +1,8 @@ +{ + "bindingType": "Microsoft.MachineLearning/WebService", + "bindingRetrievalProperties": { + "executeEndpoint": "https://ussouthcentral.services.azureml.net/workspaces/f80d5d7a77fa4a46bf2a30c63c078dca/services/b7be5e40fd194258896fb602c1858eaf/execute?api-version=2.0&details=true", + "udfType": "Scalar" + } +} + diff --git a/src/ResourceManager/StreamAnalytics/Commands.StreamAnalytics.Test/ScenarioTests/EndToEndTests.ps1 b/src/ResourceManager/StreamAnalytics/Commands.StreamAnalytics.Test/ScenarioTests/EndToEndTests.ps1 index 7ab545a07d7f..1628318f4bb7 100644 --- a/src/ResourceManager/StreamAnalytics/Commands.StreamAnalytics.Test/ScenarioTests/EndToEndTests.ps1 +++ b/src/ResourceManager/StreamAnalytics/Commands.StreamAnalytics.Test/ScenarioTests/EndToEndTests.ps1 @@ -23,6 +23,7 @@ function Test-TestStreamingAnalyticsE2E $inputName = "Input" $outputName = "Output" $transformationName = "transform1" + $functionName = "scoreTweet" # Create Job $actual = New-AzureRmStreamAnalyticsJob -File .\Resources\job.json -ResourceGroupName $resourceGroup -Name $jobName -Force @@ -41,6 +42,10 @@ function Test-TestStreamingAnalyticsE2E $actual = Get-AzureRmStreamAnalyticsTransformation -JobName $jobName -Name $transformationName -ResourceGroupName $resourceGroup Assert-AreEqual $transformationName $actual.Name + # Get Job function + $actual = Get-AzureRmStreamAnalyticsFunction -JobName $jobName -Name $functionName -ResourceGroupName $resourceGroup + Assert-AreEqual $functionName $actual.Name + # New Input (Patch) $actual = New-AzureRmStreamAnalyticsInput -File .\Resources\Input.json -JobName $jobName -ResourceGroupName $resourceGroup -Force Assert-AreEqual $inputName $actual.Name @@ -63,6 +68,15 @@ function Test-TestStreamingAnalyticsE2E $actual = New-AzureRmStreamAnalyticsTransformation -File .\Resources\Transformation.json -JobName $jobName -ResourceGroupName $resourceGroup -Force Assert-AreEqual $transformationName $actual.Name + # New Function (Patch) + $actual = New-AzureRmStreamAnalyticsFunction -File .\Resources\Function.json -JobName $jobName -ResourceGroupName $resourceGroup -Force + Assert-AreEqual $functionName $actual.Name + + # Test Function + $actual = Test-AzureRmStreamAnalyticsFunction -JobName $jobName -Name $functionName -ResourceGroupName $resourceGroup + $expected = "True" + Assert-AreEqual $expected $actual + # Get Quota $actual = Get-AzureRmStreamAnalyticsQuota -Location "West US" $expected = 0 @@ -90,6 +104,15 @@ function Test-TestStreamingAnalyticsE2E $expected = "True" Assert-AreEqual $expected $actual + # Get Function Default Definition + $actual = Get-AzureRmStreamAnalyticsDefaultFunctionDefinition -File .\Resources\RetrieveDefaultFunctionDefinitionRequest.json -Name $functionName -JobName $jobName -ResourceGroupName $resourceGroup + Assert-AreEqual $functionName $actual.Name + + # Remove Function + $actual = Remove-AzureRmStreamAnalyticsFunction -JobName $jobName -Name $functionName -ResourceGroupName $resourceGroup -Force + $expected = "True" + Assert-AreEqual $expected $actual + # Remove Output $actual = Remove-AzureRmStreamAnalyticsOutput -JobName $jobName -Name Output -ResourceGroupName $resourceGroup -Force $expected = "True" diff --git a/src/ResourceManager/StreamAnalytics/Commands.StreamAnalytics.Test/SessionRecords/Microsoft.Azure.Commands.StreamAnalytics.Test.EndToEndTests/TestStreamingAnalyticsE2E.json b/src/ResourceManager/StreamAnalytics/Commands.StreamAnalytics.Test/SessionRecords/Microsoft.Azure.Commands.StreamAnalytics.Test.EndToEndTests/TestStreamingAnalyticsE2E.json index 1285fc265286..61a7bac0013d 100644 --- a/src/ResourceManager/StreamAnalytics/Commands.StreamAnalytics.Test/SessionRecords/Microsoft.Azure.Commands.StreamAnalytics.Test.EndToEndTests/TestStreamingAnalyticsE2E.json +++ b/src/ResourceManager/StreamAnalytics/Commands.StreamAnalytics.Test/SessionRecords/Microsoft.Azure.Commands.StreamAnalytics.Test.EndToEndTests/TestStreamingAnalyticsE2E.json @@ -4,25 +4,25 @@ "RequestUri": "/subscriptions/61953354-5115-4340-bf80-f4ccd1cb213e/resourcegroups/StreamAnalytics-Default-West-US/providers/Microsoft.StreamAnalytics/streamingjobs/TestJobPS?api-version=2015-09-01", "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjE5NTMzNTQtNTExNS00MzQwLWJmODAtZjRjY2QxY2IyMTNlL3Jlc291cmNlZ3JvdXBzL1N0cmVhbUFuYWx5dGljcy1EZWZhdWx0LVdlc3QtVVMvcHJvdmlkZXJzL01pY3Jvc29mdC5TdHJlYW1BbmFseXRpY3Mvc3RyZWFtaW5nam9icy9UZXN0Sm9iUFM/YXBpLXZlcnNpb249MjAxNS0wOS0wMQ==", "RequestMethod": "PUT", - "RequestBody": "{\r\n \"location\": \"West US\",\r\n \"tags\": {\r\n \"key\": \"value\"\r\n },\r\n \"properties\": {\r\n \"sku\": {\r\n \"name\": \"standard\"\r\n },\r\n \"inputs\": [\r\n {\r\n \"name\": \"Input\",\r\n \"properties\": {\r\n \"type\": \"stream\",\r\n \"serialization\": {\r\n \"type\": \"JSON\",\r\n \"properties\": {\r\n \"encoding\": \"UTF8\"\r\n }\r\n },\r\n \"datasource\": {\r\n \"type\": \"Microsoft.Storage/Blob\",\r\n \"properties\": {\r\n \"storageAccounts\": [\r\n {\r\n \"accountName\": \"azurenrtdogfood\",\r\n \"accountKey\": \"$EncryptedStringForTesting\"\r\n }\r\n ],\r\n \"container\": \"samples\",\r\n \"pathPattern\": \"\"\r\n }\r\n }\r\n }\r\n }\r\n ],\r\n \"transformation\": {\r\n \"name\": \"transform1\",\r\n \"properties\": {\r\n \"streamingUnits\": 1,\r\n \"query\": \"select Id, Name from Input\"\r\n }\r\n },\r\n \"outputs\": [\r\n {\r\n \"name\": \"Output\",\r\n \"properties\": {\r\n \"datasource\": {\r\n \"type\": \"Microsoft.Sql/Server/Database\",\r\n \"properties\": {\r\n \"server\": \"$EncryptedStringForTesting.database.windows.net\",\r\n \"database\": \"azurenrtsql\",\r\n \"user\": \"azurenrt@$EncryptedStringForTesting\",\r\n \"password\": \"$EncryptedStringForTesting\",\r\n \"table\": \"Samples\"\r\n }\r\n }\r\n }\r\n }\r\n ]\r\n }\r\n}", + "RequestBody": "{\r\n \"location\": \"West US\",\r\n \"tags\": {\r\n \"key\": \"value\"\r\n },\r\n \"properties\": {\r\n \"sku\": {\r\n \"name\": \"standard\"\r\n },\r\n \"inputs\": [\r\n {\r\n \"name\": \"Input\",\r\n \"properties\": {\r\n \"type\": \"stream\",\r\n \"serialization\": {\r\n \"type\": \"JSON\",\r\n \"properties\": {\r\n \"encoding\": \"UTF8\"\r\n }\r\n },\r\n \"datasource\": {\r\n \"type\": \"Microsoft.Storage/Blob\",\r\n \"properties\": {\r\n \"storageAccounts\": [\r\n {\r\n \"accountName\": \"azurenrtdogfood\",\r\n \"accountKey\": \"$EncryptedStringForTesting\"\r\n }\r\n ],\r\n \"container\": \"samples\",\r\n \"pathPattern\": \"\"\r\n }\r\n }\r\n }\r\n }\r\n ],\r\n \"transformation\": {\r\n \"name\": \"transform1\",\r\n \"properties\": {\r\n \"streamingUnits\": 1,\r\n \"query\": \"select Id, Name from Input\"\r\n }\r\n },\r\n \"outputs\": [\r\n {\r\n \"name\": \"Output\",\r\n \"properties\": {\r\n \"datasource\": {\r\n \"type\": \"Microsoft.Sql/Server/Database\",\r\n \"properties\": {\r\n \"server\": \"$EncryptedStringForTesting.database.windows.net\",\r\n \"database\": \"azurenrtsql\",\r\n \"user\": \"azurenrt@$EncryptedStringForTesting\",\r\n \"password\": \"$EncryptedStringForTesting\",\r\n \"table\": \"Samples\"\r\n }\r\n }\r\n }\r\n }\r\n ],\r\n \"functions\": [\r\n {\r\n \"name\": \"scoreTweet\",\r\n \"properties\": {\r\n \"type\": \"Scalar\",\r\n \"properties\": {\r\n \"inputs\": [\r\n {\r\n \"dataType\": \"nvarchar(max)\",\r\n \"isConfigurationParameter\": false\r\n }\r\n ],\r\n \"output\": {\r\n \"dataType\": \"nvarchar(max)\"\r\n },\r\n \"binding\": {\r\n \"type\": \"Microsoft.MachineLearning/WebService\",\r\n \"properties\": {\r\n \"endpoint\": \"https://ussouthcentral.services.azureml.net/workspaces/f80d5d7a77fa4a46bf2a30c63c078dca/services/b7be5e40fd194258896fb602c1858eaf/execute?api-version=2.0&details=true\",\r\n \"apiKey\": \"$EncryptedStringForTesting\",\r\n \"inputs\": {\r\n \"name\": \"input1\",\r\n \"columnNames\": [\r\n {\r\n \"name\": \"tweet\",\r\n \"dataType\": \"String\",\r\n \"mapTo\": 0\r\n }\r\n ]\r\n },\r\n \"outputs\": [\r\n {\r\n \"name\": \"Sentiment\",\r\n \"dataType\": \"String\"\r\n }\r\n ],\r\n \"batchSize\": 10\r\n }\r\n }\r\n }\r\n }\r\n }\r\n ]\r\n }\r\n}", "RequestHeaders": { "Content-Type": [ "application/json" ], "Content-Length": [ - "1516" + "4101" ], "x-ms-client-request-id": [ - "16e68eeb-203d-4893-89af-906f6f0a8c23" + "f7ecaa89-f852-46b2-be12-a6c10900f6d1" ], "User-Agent": [ "Microsoft.Azure.Management.StreamAnalytics.StreamAnalyticsManagementClient/1.0.0.0" ] }, - "ResponseBody": "{\r\n \"id\": \"/subscriptions/61953354-5115-4340-bf80-f4ccd1cb213e/resourceGroups/StreamAnalytics-Default-West-US/providers/Microsoft.StreamAnalytics/streamingjobs/TestJobPS\",\r\n \"name\": \"TestJobPS\",\r\n \"type\": \"Microsoft.StreamAnalytics/streamingjobs\",\r\n \"location\": \"West US\",\r\n \"tags\": {\r\n \"key\": \"value\"\r\n },\r\n \"properties\": {\r\n \"sku\": {\r\n \"name\": \"Standard\"\r\n },\r\n \"jobId\": \"1dbeb4c5-93cc-4b91-88c3-2255250b3055\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"jobState\": \"Created\",\r\n \"eventsLateArrivalMaxDelayInSeconds\": 5,\r\n \"dataLocale\": \"en-US\",\r\n \"createdDate\": \"2015-11-25T19:52:14.743Z\",\r\n \"inputs\": [\r\n {\r\n \"id\": \"/subscriptions/61953354-5115-4340-bf80-f4ccd1cb213e/resourceGroups/StreamAnalytics-Default-West-US/providers/Microsoft.StreamAnalytics/streamingjobs/TestJobPS/inputs/Input\",\r\n \"name\": \"Input\",\r\n \"type\": \"Microsoft.StreamAnalytics/streamingjobs/inputs\",\r\n \"properties\": {\r\n \"type\": \"Stream\",\r\n \"datasource\": {\r\n \"type\": \"Microsoft.Storage/Blob\",\r\n \"properties\": {\r\n \"storageAccounts\": [\r\n {\r\n \"accountName\": \"azurenrtdogfood\"\r\n }\r\n ],\r\n \"container\": \"samples\",\r\n \"pathPattern\": \"\"\r\n }\r\n },\r\n \"serialization\": {\r\n \"type\": \"Json\",\r\n \"properties\": {\r\n \"encoding\": \"UTF8\"\r\n }\r\n },\r\n \"etag\": \"3a7c1d4f-040a-48b2-81fb-99b1e91cc133\"\r\n }\r\n }\r\n ],\r\n \"transformation\": {\r\n \"id\": \"/subscriptions/61953354-5115-4340-bf80-f4ccd1cb213e/resourceGroups/StreamAnalytics-Default-West-US/providers/Microsoft.StreamAnalytics/streamingjobs/TestJobPS/transformations/transform1\",\r\n \"name\": \"transform1\",\r\n \"type\": \"Microsoft.StreamAnalytics/streamingjobs/transformations\",\r\n \"properties\": {\r\n \"streamingUnits\": 1,\r\n \"query\": \"select Id, Name from Input\",\r\n \"etag\": \"ad597069-4cae-4f8e-a3f6-d7b773c2e6cd\"\r\n }\r\n },\r\n \"functions\": [],\r\n \"outputs\": [\r\n {\r\n \"id\": \"/subscriptions/61953354-5115-4340-bf80-f4ccd1cb213e/resourceGroups/StreamAnalytics-Default-West-US/providers/Microsoft.StreamAnalytics/streamingjobs/TestJobPS/outputs/Output\",\r\n \"name\": \"Output\",\r\n \"type\": \"Microsoft.StreamAnalytics/streamingjobs/outputs\",\r\n \"properties\": {\r\n \"datasource\": {\r\n \"type\": \"Microsoft.Sql/Server/Database\",\r\n \"properties\": {\r\n \"server\": \"$EncryptedStringForTesting.database.windows.net\",\r\n \"database\": \"azurenrtsql\",\r\n \"table\": \"Samples\",\r\n \"user\": \"azurenrt@$EncryptedStringForTesting\"\r\n }\r\n },\r\n \"etag\": \"59a4714b-5357-49e6-80a4-25224ee60c97\"\r\n }\r\n }\r\n ]\r\n }\r\n}", + "ResponseBody": "{\r\n \"id\": \"/subscriptions/61953354-5115-4340-bf80-f4ccd1cb213e/resourceGroups/StreamAnalytics-Default-West-US/providers/Microsoft.StreamAnalytics/streamingjobs/TestJobPS\",\r\n \"name\": \"TestJobPS\",\r\n \"type\": \"Microsoft.StreamAnalytics/streamingjobs\",\r\n \"location\": \"West US\",\r\n \"tags\": {\r\n \"key\": \"value\"\r\n },\r\n \"properties\": {\r\n \"sku\": {\r\n \"name\": \"Standard\"\r\n },\r\n \"jobId\": \"06bbdad7-bb48-4978-a84b-ada03956b743\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"jobState\": \"Created\",\r\n \"eventsLateArrivalMaxDelayInSeconds\": 5,\r\n \"dataLocale\": \"en-US\",\r\n \"createdDate\": \"2016-01-07T01:02:28.31Z\",\r\n \"inputs\": [\r\n {\r\n \"id\": \"/subscriptions/61953354-5115-4340-bf80-f4ccd1cb213e/resourceGroups/StreamAnalytics-Default-West-US/providers/Microsoft.StreamAnalytics/streamingjobs/TestJobPS/inputs/Input\",\r\n \"name\": \"Input\",\r\n \"type\": \"Microsoft.StreamAnalytics/streamingjobs/inputs\",\r\n \"properties\": {\r\n \"type\": \"Stream\",\r\n \"datasource\": {\r\n \"type\": \"Microsoft.Storage/Blob\",\r\n \"properties\": {\r\n \"storageAccounts\": [\r\n {\r\n \"accountName\": \"azurenrtdogfood\"\r\n }\r\n ],\r\n \"container\": \"samples\",\r\n \"pathPattern\": \"\"\r\n }\r\n },\r\n \"serialization\": {\r\n \"type\": \"Json\",\r\n \"properties\": {\r\n \"encoding\": \"UTF8\"\r\n }\r\n },\r\n \"etag\": \"05047caf-54a4-4b93-9d17-382035c87c49\"\r\n }\r\n }\r\n ],\r\n \"transformation\": {\r\n \"id\": \"/subscriptions/61953354-5115-4340-bf80-f4ccd1cb213e/resourceGroups/StreamAnalytics-Default-West-US/providers/Microsoft.StreamAnalytics/streamingjobs/TestJobPS/transformations/transform1\",\r\n \"name\": \"transform1\",\r\n \"type\": \"Microsoft.StreamAnalytics/streamingjobs/transformations\",\r\n \"properties\": {\r\n \"streamingUnits\": 1,\r\n \"query\": \"select Id, Name from Input\",\r\n \"etag\": \"89e5a3da-f382-4336-94a0-e713b71db6e7\"\r\n }\r\n },\r\n \"functions\": [\r\n {\r\n \"id\": \"/subscriptions/61953354-5115-4340-bf80-f4ccd1cb213e/resourceGroups/StreamAnalytics-Default-West-US/providers/Microsoft.StreamAnalytics/streamingjobs/TestJobPS/functions/scoreTweet\",\r\n \"name\": \"scoreTweet\",\r\n \"type\": \"Microsoft.StreamAnalytics/streamingjobs/functions\",\r\n \"properties\": {\r\n \"type\": \"Scalar\",\r\n \"properties\": {\r\n \"inputs\": [\r\n {\r\n \"dataType\": \"nvarchar(max)\",\r\n \"isConfigurationParameter\": false\r\n }\r\n ],\r\n \"output\": {\r\n \"dataType\": \"nvarchar(max)\"\r\n },\r\n \"binding\": {\r\n \"type\": \"Microsoft.MachineLearning/WebService\",\r\n \"properties\": {\r\n \"endpoint\": \"https://ussouthcentral.services.azureml.net/workspaces/f80d5d7a77fa4a46bf2a30c63c078dca/services/b7be5e40fd194258896fb602c1858eaf/execute?api-version=2.0&details=true\",\r\n \"apiKey\": null,\r\n \"inputs\": {\r\n \"name\": \"input1\",\r\n \"columnNames\": [\r\n {\r\n \"name\": \"tweet\",\r\n \"dataType\": \"String\",\r\n \"mapTo\": 0\r\n }\r\n ]\r\n },\r\n \"outputs\": [\r\n {\r\n \"name\": \"Sentiment\",\r\n \"dataType\": \"String\"\r\n }\r\n ],\r\n \"batchSize\": 10\r\n }\r\n }\r\n },\r\n \"etag\": \"6b93e8a8-75b5-48f5-9f19-e6c52c582084\"\r\n }\r\n }\r\n ],\r\n \"outputs\": [\r\n {\r\n \"id\": \"/subscriptions/61953354-5115-4340-bf80-f4ccd1cb213e/resourceGroups/StreamAnalytics-Default-West-US/providers/Microsoft.StreamAnalytics/streamingjobs/TestJobPS/outputs/Output\",\r\n \"name\": \"Output\",\r\n \"type\": \"Microsoft.StreamAnalytics/streamingjobs/outputs\",\r\n \"properties\": {\r\n \"datasource\": {\r\n \"type\": \"Microsoft.Sql/Server/Database\",\r\n \"properties\": {\r\n \"server\": \"$EncryptedStringForTesting.database.windows.net\",\r\n \"database\": \"azurenrtsql\",\r\n \"table\": \"Samples\",\r\n \"user\": \"azurenrt@$EncryptedStringForTesting\"\r\n }\r\n },\r\n \"etag\": \"603078c7-0143-4655-bef3-3df7d4ab3fef\"\r\n }\r\n }\r\n ]\r\n }\r\n}", "ResponseHeaders": { "Content-Length": [ - "2023" + "2917" ], "Content-Type": [ "application/json; charset=utf-8" @@ -37,16 +37,16 @@ "5.0" ], "x-ms-request-id": [ - "303f70e0-76a9-4405-9a78-e6c5de713da0" + "f7ecaa89-f852-46b2-be12-a6c10900f6d1" ], "x-ms-ratelimit-remaining-subscription-writes": [ - "1197" + "1183" ], "x-ms-correlation-request-id": [ - "ed99c8ef-c442-469f-8921-0d16bdbabd13" + "0cb87705-748b-4716-b18b-c0bf43c278f3" ], "x-ms-routing-request-id": [ - "CENTRALUS:20151125T195215Z:ed99c8ef-c442-469f-8921-0d16bdbabd13" + "CENTRALUS:20160107T012726Z:0cb87705-748b-4716-b18b-c0bf43c278f3" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -55,10 +55,10 @@ "no-store, no-cache" ], "Date": [ - "Wed, 25 Nov 2015 19:52:15 GMT" + "Thu, 07 Jan 2016 01:27:25 GMT" ], "ETag": [ - "71a738dc-59de-4eb2-a6fb-ae5c52c19780" + "98df9310-4cc9-40fa-b89a-903b431283fa" ], "Server": [ "Microsoft-IIS/8.5" @@ -70,22 +70,22 @@ "StatusCode": 200 }, { - "RequestUri": "/subscriptions/61953354-5115-4340-bf80-f4ccd1cb213e/resourcegroups/StreamAnalytics-Default-West-US/providers/Microsoft.StreamAnalytics/streamingjobs/TestJobPS?$expand=inputs%2Ctransformation%2Coutputs&api-version=2015-09-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjE5NTMzNTQtNTExNS00MzQwLWJmODAtZjRjY2QxY2IyMTNlL3Jlc291cmNlZ3JvdXBzL1N0cmVhbUFuYWx5dGljcy1EZWZhdWx0LVdlc3QtVVMvcHJvdmlkZXJzL01pY3Jvc29mdC5TdHJlYW1BbmFseXRpY3Mvc3RyZWFtaW5nam9icy9UZXN0Sm9iUFM/JGV4cGFuZD1pbnB1dHMlMkN0cmFuc2Zvcm1hdGlvbiUyQ291dHB1dHMmYXBpLXZlcnNpb249MjAxNS0wOS0wMQ==", + "RequestUri": "/subscriptions/61953354-5115-4340-bf80-f4ccd1cb213e/resourcegroups/StreamAnalytics-Default-West-US/providers/Microsoft.StreamAnalytics/streamingjobs/TestJobPS?$expand=inputs%2Ctransformation%2Coutputs%2Cfunctions&api-version=2015-09-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjE5NTMzNTQtNTExNS00MzQwLWJmODAtZjRjY2QxY2IyMTNlL3Jlc291cmNlZ3JvdXBzL1N0cmVhbUFuYWx5dGljcy1EZWZhdWx0LVdlc3QtVVMvcHJvdmlkZXJzL01pY3Jvc29mdC5TdHJlYW1BbmFseXRpY3Mvc3RyZWFtaW5nam9icy9UZXN0Sm9iUFM/JGV4cGFuZD1pbnB1dHMlMkN0cmFuc2Zvcm1hdGlvbiUyQ291dHB1dHMlMkNmdW5jdGlvbnMmYXBpLXZlcnNpb249MjAxNS0wOS0wMQ==", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { "x-ms-client-request-id": [ - "9a169c0f-bb4b-4044-8e00-dcf6a3aebcc3" + "b256f569-e358-457f-96ad-198a7998a2a6" ], "User-Agent": [ "Microsoft.Azure.Management.StreamAnalytics.StreamAnalyticsManagementClient/1.0.0.0" ] }, - "ResponseBody": "{\r\n \"id\": \"/subscriptions/61953354-5115-4340-bf80-f4ccd1cb213e/resourceGroups/StreamAnalytics-Default-West-US/providers/Microsoft.StreamAnalytics/streamingjobs/TestJobPS\",\r\n \"name\": \"TestJobPS\",\r\n \"type\": \"Microsoft.StreamAnalytics/streamingjobs\",\r\n \"location\": \"West US\",\r\n \"tags\": {\r\n \"key\": \"value\"\r\n },\r\n \"properties\": {\r\n \"sku\": {\r\n \"name\": \"Standard\"\r\n },\r\n \"jobId\": \"1dbeb4c5-93cc-4b91-88c3-2255250b3055\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"jobState\": \"Created\",\r\n \"eventsLateArrivalMaxDelayInSeconds\": 5,\r\n \"dataLocale\": \"en-US\",\r\n \"createdDate\": \"2015-11-25T19:52:14.743Z\",\r\n \"inputs\": [\r\n {\r\n \"id\": \"/subscriptions/61953354-5115-4340-bf80-f4ccd1cb213e/resourceGroups/StreamAnalytics-Default-West-US/providers/Microsoft.StreamAnalytics/streamingjobs/TestJobPS/inputs/Input\",\r\n \"name\": \"Input\",\r\n \"type\": \"Microsoft.StreamAnalytics/streamingjobs/inputs\",\r\n \"properties\": {\r\n \"type\": \"Stream\",\r\n \"datasource\": {\r\n \"type\": \"Microsoft.Storage/Blob\",\r\n \"properties\": {\r\n \"storageAccounts\": [\r\n {\r\n \"accountName\": \"azurenrtdogfood\"\r\n }\r\n ],\r\n \"container\": \"samples\",\r\n \"pathPattern\": \"\"\r\n }\r\n },\r\n \"serialization\": {\r\n \"type\": \"Json\",\r\n \"properties\": {\r\n \"encoding\": \"UTF8\"\r\n }\r\n },\r\n \"etag\": \"3a7c1d4f-040a-48b2-81fb-99b1e91cc133\"\r\n }\r\n }\r\n ],\r\n \"transformation\": {\r\n \"id\": \"/subscriptions/61953354-5115-4340-bf80-f4ccd1cb213e/resourceGroups/StreamAnalytics-Default-West-US/providers/Microsoft.StreamAnalytics/streamingjobs/TestJobPS/transformations/transform1\",\r\n \"name\": \"transform1\",\r\n \"type\": \"Microsoft.StreamAnalytics/streamingjobs/transformations\",\r\n \"properties\": {\r\n \"streamingUnits\": 1,\r\n \"query\": \"select Id, Name from Input\",\r\n \"etag\": \"ad597069-4cae-4f8e-a3f6-d7b773c2e6cd\"\r\n }\r\n },\r\n \"outputs\": [\r\n {\r\n \"id\": \"/subscriptions/61953354-5115-4340-bf80-f4ccd1cb213e/resourceGroups/StreamAnalytics-Default-West-US/providers/Microsoft.StreamAnalytics/streamingjobs/TestJobPS/outputs/Output\",\r\n \"name\": \"Output\",\r\n \"type\": \"Microsoft.StreamAnalytics/streamingjobs/outputs\",\r\n \"properties\": {\r\n \"datasource\": {\r\n \"type\": \"Microsoft.Sql/Server/Database\",\r\n \"properties\": {\r\n \"server\": \"$EncryptedStringForTesting.database.windows.net\",\r\n \"database\": \"azurenrtsql\",\r\n \"table\": \"Samples\",\r\n \"user\": \"azurenrt@$EncryptedStringForTesting\"\r\n }\r\n },\r\n \"etag\": \"59a4714b-5357-49e6-80a4-25224ee60c97\"\r\n }\r\n }\r\n ]\r\n }\r\n}", + "ResponseBody": "{\r\n \"id\": \"/subscriptions/61953354-5115-4340-bf80-f4ccd1cb213e/resourceGroups/StreamAnalytics-Default-West-US/providers/Microsoft.StreamAnalytics/streamingjobs/TestJobPS\",\r\n \"name\": \"TestJobPS\",\r\n \"type\": \"Microsoft.StreamAnalytics/streamingjobs\",\r\n \"location\": \"West US\",\r\n \"tags\": {\r\n \"key\": \"value\"\r\n },\r\n \"properties\": {\r\n \"sku\": {\r\n \"name\": \"Standard\"\r\n },\r\n \"jobId\": \"06bbdad7-bb48-4978-a84b-ada03956b743\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"jobState\": \"Created\",\r\n \"eventsLateArrivalMaxDelayInSeconds\": 5,\r\n \"dataLocale\": \"en-US\",\r\n \"createdDate\": \"2016-01-07T01:02:28.31Z\",\r\n \"inputs\": [\r\n {\r\n \"id\": \"/subscriptions/61953354-5115-4340-bf80-f4ccd1cb213e/resourceGroups/StreamAnalytics-Default-West-US/providers/Microsoft.StreamAnalytics/streamingjobs/TestJobPS/inputs/Input\",\r\n \"name\": \"Input\",\r\n \"type\": \"Microsoft.StreamAnalytics/streamingjobs/inputs\",\r\n \"properties\": {\r\n \"type\": \"Stream\",\r\n \"datasource\": {\r\n \"type\": \"Microsoft.Storage/Blob\",\r\n \"properties\": {\r\n \"storageAccounts\": [\r\n {\r\n \"accountName\": \"azurenrtdogfood\"\r\n }\r\n ],\r\n \"container\": \"samples\",\r\n \"pathPattern\": \"\"\r\n }\r\n },\r\n \"serialization\": {\r\n \"type\": \"Json\",\r\n \"properties\": {\r\n \"encoding\": \"UTF8\"\r\n }\r\n },\r\n \"etag\": \"05047caf-54a4-4b93-9d17-382035c87c49\"\r\n }\r\n }\r\n ],\r\n \"transformation\": {\r\n \"id\": \"/subscriptions/61953354-5115-4340-bf80-f4ccd1cb213e/resourceGroups/StreamAnalytics-Default-West-US/providers/Microsoft.StreamAnalytics/streamingjobs/TestJobPS/transformations/transform1\",\r\n \"name\": \"transform1\",\r\n \"type\": \"Microsoft.StreamAnalytics/streamingjobs/transformations\",\r\n \"properties\": {\r\n \"streamingUnits\": 1,\r\n \"query\": \"select Id, Name from Input\",\r\n \"etag\": \"89e5a3da-f382-4336-94a0-e713b71db6e7\"\r\n }\r\n },\r\n \"functions\": [\r\n {\r\n \"id\": \"/subscriptions/61953354-5115-4340-bf80-f4ccd1cb213e/resourceGroups/StreamAnalytics-Default-West-US/providers/Microsoft.StreamAnalytics/streamingjobs/TestJobPS/functions/scoreTweet\",\r\n \"name\": \"scoreTweet\",\r\n \"type\": \"Microsoft.StreamAnalytics/streamingjobs/functions\",\r\n \"properties\": {\r\n \"type\": \"Scalar\",\r\n \"properties\": {\r\n \"inputs\": [\r\n {\r\n \"dataType\": \"nvarchar(max)\",\r\n \"isConfigurationParameter\": false\r\n }\r\n ],\r\n \"output\": {\r\n \"dataType\": \"nvarchar(max)\"\r\n },\r\n \"binding\": {\r\n \"type\": \"Microsoft.MachineLearning/WebService\",\r\n \"properties\": {\r\n \"endpoint\": \"https://ussouthcentral.services.azureml.net/workspaces/f80d5d7a77fa4a46bf2a30c63c078dca/services/b7be5e40fd194258896fb602c1858eaf/execute?api-version=2.0&details=true\",\r\n \"apiKey\": null,\r\n \"inputs\": {\r\n \"name\": \"input1\",\r\n \"columnNames\": [\r\n {\r\n \"name\": \"tweet\",\r\n \"dataType\": \"String\",\r\n \"mapTo\": 0\r\n }\r\n ]\r\n },\r\n \"outputs\": [\r\n {\r\n \"name\": \"Sentiment\",\r\n \"dataType\": \"String\"\r\n }\r\n ],\r\n \"batchSize\": 10\r\n }\r\n }\r\n },\r\n \"etag\": \"6b93e8a8-75b5-48f5-9f19-e6c52c582084\"\r\n }\r\n }\r\n ],\r\n \"outputs\": [\r\n {\r\n \"id\": \"/subscriptions/61953354-5115-4340-bf80-f4ccd1cb213e/resourceGroups/StreamAnalytics-Default-West-US/providers/Microsoft.StreamAnalytics/streamingjobs/TestJobPS/outputs/Output\",\r\n \"name\": \"Output\",\r\n \"type\": \"Microsoft.StreamAnalytics/streamingjobs/outputs\",\r\n \"properties\": {\r\n \"datasource\": {\r\n \"type\": \"Microsoft.Sql/Server/Database\",\r\n \"properties\": {\r\n \"server\": \"$EncryptedStringForTesting.database.windows.net\",\r\n \"database\": \"azurenrtsql\",\r\n \"table\": \"Samples\",\r\n \"user\": \"azurenrt@$EncryptedStringForTesting\"\r\n }\r\n },\r\n \"etag\": \"603078c7-0143-4655-bef3-3df7d4ab3fef\"\r\n }\r\n }\r\n ]\r\n }\r\n}", "ResponseHeaders": { "Content-Length": [ - "2008" + "2917" ], "Content-Type": [ "application/json; charset=utf-8" @@ -100,16 +100,16 @@ "5.0" ], "x-ms-request-id": [ - "9a169c0f-bb4b-4044-8e00-dcf6a3aebcc3" + "b256f569-e358-457f-96ad-198a7998a2a6" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "14998" + "14972" ], "x-ms-correlation-request-id": [ - "4389857a-14bd-4cb4-b95c-2459b45a52d3" + "228a42ff-0ffb-49fd-8208-e8b563172b1e" ], "x-ms-routing-request-id": [ - "CENTRALUS:20151125T195215Z:4389857a-14bd-4cb4-b95c-2459b45a52d3" + "CENTRALUS:20160107T012726Z:228a42ff-0ffb-49fd-8208-e8b563172b1e" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -118,10 +118,10 @@ "no-store, no-cache" ], "Date": [ - "Wed, 25 Nov 2015 19:52:15 GMT" + "Thu, 07 Jan 2016 01:27:26 GMT" ], "ETag": [ - "71a738dc-59de-4eb2-a6fb-ae5c52c19780" + "98df9310-4cc9-40fa-b89a-903b431283fa" ], "Server": [ "Microsoft-IIS/8.5" @@ -139,13 +139,13 @@ "RequestBody": "", "RequestHeaders": { "x-ms-client-request-id": [ - "d6f1b4bb-c9ec-4ebf-8158-f0d786e2db56" + "78919c4c-c96d-4f89-bccd-84d64420f8d2" ], "User-Agent": [ "Microsoft.Azure.Management.StreamAnalytics.StreamAnalyticsManagementClient/1.0.0.0" ] }, - "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/subscriptions/61953354-5115-4340-bf80-f4ccd1cb213e/resourceGroups/StreamAnalytics-Default-West-US/providers/Microsoft.StreamAnalytics/streamingjobs/TestJobPS/inputs/Input\",\r\n \"name\": \"Input\",\r\n \"type\": \"Microsoft.StreamAnalytics/streamingjobs/inputs\",\r\n \"properties\": {\r\n \"type\": \"Stream\",\r\n \"datasource\": {\r\n \"type\": \"Microsoft.Storage/Blob\",\r\n \"properties\": {\r\n \"storageAccounts\": [\r\n {\r\n \"accountName\": \"azurenrtdogfood\"\r\n }\r\n ],\r\n \"container\": \"samples\",\r\n \"pathPattern\": \"\"\r\n }\r\n },\r\n \"serialization\": {\r\n \"type\": \"Json\",\r\n \"properties\": {\r\n \"encoding\": \"UTF8\"\r\n }\r\n },\r\n \"etag\": \"3a7c1d4f-040a-48b2-81fb-99b1e91cc133\"\r\n }\r\n }\r\n ],\r\n \"nextLink\": null\r\n}", + "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/subscriptions/61953354-5115-4340-bf80-f4ccd1cb213e/resourceGroups/StreamAnalytics-Default-West-US/providers/Microsoft.StreamAnalytics/streamingjobs/TestJobPS/inputs/Input\",\r\n \"name\": \"Input\",\r\n \"type\": \"Microsoft.StreamAnalytics/streamingjobs/inputs\",\r\n \"properties\": {\r\n \"type\": \"Stream\",\r\n \"datasource\": {\r\n \"type\": \"Microsoft.Storage/Blob\",\r\n \"properties\": {\r\n \"storageAccounts\": [\r\n {\r\n \"accountName\": \"azurenrtdogfood\"\r\n }\r\n ],\r\n \"container\": \"samples\",\r\n \"pathPattern\": \"\"\r\n }\r\n },\r\n \"serialization\": {\r\n \"type\": \"Json\",\r\n \"properties\": {\r\n \"encoding\": \"UTF8\"\r\n }\r\n },\r\n \"etag\": \"05047caf-54a4-4b93-9d17-382035c87c49\"\r\n }\r\n }\r\n ],\r\n \"nextLink\": null\r\n}", "ResponseHeaders": { "Content-Length": [ "576" @@ -163,16 +163,16 @@ "5.0" ], "x-ms-request-id": [ - "d6f1b4bb-c9ec-4ebf-8158-f0d786e2db56" + "78919c4c-c96d-4f89-bccd-84d64420f8d2" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "14997" + "14971" ], "x-ms-correlation-request-id": [ - "56f6d77b-93d9-45be-8943-28ee35a1de63" + "39d76ba1-9dd3-4175-8877-0e4e1afe918c" ], "x-ms-routing-request-id": [ - "CENTRALUS:20151125T195216Z:56f6d77b-93d9-45be-8943-28ee35a1de63" + "CENTRALUS:20160107T012727Z:39d76ba1-9dd3-4175-8877-0e4e1afe918c" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -181,7 +181,7 @@ "no-store, no-cache" ], "Date": [ - "Wed, 25 Nov 2015 19:52:15 GMT" + "Thu, 07 Jan 2016 01:27:26 GMT" ], "Server": [ "Microsoft-IIS/8.5" @@ -199,16 +199,16 @@ "RequestBody": "", "RequestHeaders": { "x-ms-client-request-id": [ - "98c13aa8-e467-4c15-9971-5dfdcb33c138" + "95429273-df0a-4d66-8ae2-7801c69275de" ], "User-Agent": [ "Microsoft.Azure.Management.StreamAnalytics.StreamAnalyticsManagementClient/1.0.0.0" ] }, - "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/subscriptions/61953354-5115-4340-bf80-f4ccd1cb213e/resourceGroups/StreamAnalytics-Default-West-US/providers/Microsoft.StreamAnalytics/streamingjobs/TestJobPS/inputs/Input\",\r\n \"name\": \"Input\",\r\n \"type\": \"Microsoft.StreamAnalytics/streamingjobs/inputs\",\r\n \"properties\": {\r\n \"type\": \"Stream\",\r\n \"datasource\": {\r\n \"type\": \"Microsoft.Storage/Blob\",\r\n \"properties\": {\r\n \"storageAccounts\": [\r\n {\r\n \"accountName\": \"azurenrtdogfood\"\r\n }\r\n ],\r\n \"container\": \"samples\",\r\n \"pathPattern\": \"\",\r\n \"dateFormat\": \"yyyy/MM/dd\",\r\n \"timeFormat\": \"HH\"\r\n }\r\n },\r\n \"serialization\": {\r\n \"type\": \"Csv\",\r\n \"properties\": {\r\n \"fieldDelimiter\": \",\",\r\n \"encoding\": \"UTF8\"\r\n }\r\n },\r\n \"diagnostics\": {\r\n \"conditions\": [\r\n {\r\n \"since\": \"2015-11-25T19:53:40.3622274Z\",\r\n \"code\": \"INP-2\",\r\n \"message\": \"Fields referenced in query not found in input events\\r\\nFields Expected: timecreated\\r\\nFields found: id, name\\r\\nMissing fields: timecreated\"\r\n },\r\n {\r\n \"since\": \"2015-11-25T19:53:40.393563Z\",\r\n \"code\": \"INP-3\",\r\n \"message\": \"Could not deserialize the input event as Csv. Some possible reasons: 1) Malformed events 2) Input source configured with incorrect serialization format\"\r\n }\r\n ]\r\n },\r\n \"etag\": \"82dda75c-03a3-4c48-8df3-302f18c1e5fe\"\r\n }\r\n }\r\n ],\r\n \"nextLink\": null\r\n}", + "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/subscriptions/61953354-5115-4340-bf80-f4ccd1cb213e/resourceGroups/StreamAnalytics-Default-West-US/providers/Microsoft.StreamAnalytics/streamingjobs/TestJobPS/inputs/Input\",\r\n \"name\": \"Input\",\r\n \"type\": \"Microsoft.StreamAnalytics/streamingjobs/inputs\",\r\n \"properties\": {\r\n \"type\": \"Stream\",\r\n \"datasource\": {\r\n \"type\": \"Microsoft.Storage/Blob\",\r\n \"properties\": {\r\n \"storageAccounts\": [\r\n {\r\n \"accountName\": \"azurenrtdogfood\"\r\n }\r\n ],\r\n \"container\": \"samples\",\r\n \"pathPattern\": \"\",\r\n \"dateFormat\": \"yyyy/MM/dd\",\r\n \"timeFormat\": \"HH\"\r\n }\r\n },\r\n \"serialization\": {\r\n \"type\": \"Csv\",\r\n \"properties\": {\r\n \"fieldDelimiter\": \",\",\r\n \"encoding\": \"UTF8\"\r\n }\r\n },\r\n \"diagnostics\": {\r\n \"conditions\": [\r\n {\r\n \"since\": \"2016-01-07T01:29:09.3934138Z\",\r\n \"code\": \"INP-2\",\r\n \"message\": \"Fields referenced in query not found in input events\\r\\nFields Expected: timecreated\\r\\nFields found: id, name\\r\\nMissing fields: timecreated\"\r\n },\r\n {\r\n \"since\": \"2016-01-07T01:29:09.4410674Z\",\r\n \"code\": \"INP-3\",\r\n \"message\": \"Could not deserialize the input event as Csv. Some possible reasons: 1) Malformed events 2) Input source configured with incorrect serialization format\"\r\n }\r\n ]\r\n },\r\n \"etag\": \"faa74cdf-3a25-4707-9685-e70804010006\"\r\n }\r\n }\r\n ],\r\n \"nextLink\": null\r\n}", "ResponseHeaders": { "Content-Length": [ - "1100" + "1101" ], "Content-Type": [ "application/json; charset=utf-8" @@ -223,16 +223,16 @@ "5.0" ], "x-ms-request-id": [ - "98c13aa8-e467-4c15-9971-5dfdcb33c138" + "95429273-df0a-4d66-8ae2-7801c69275de" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "14983" + "14951" ], "x-ms-correlation-request-id": [ - "4f601a5e-e4ac-4635-b029-b4e20178b44d" + "5712c878-5849-4072-b309-e7c228d1596c" ], "x-ms-routing-request-id": [ - "CENTRALUS:20151125T195355Z:4f601a5e-e4ac-4635-b029-b4e20178b44d" + "CENTRALUS:20160107T012923Z:5712c878-5849-4072-b309-e7c228d1596c" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -241,7 +241,7 @@ "no-store, no-cache" ], "Date": [ - "Wed, 25 Nov 2015 19:53:54 GMT" + "Thu, 07 Jan 2016 01:29:22 GMT" ], "Server": [ "Microsoft-IIS/8.5" @@ -259,13 +259,13 @@ "RequestBody": "", "RequestHeaders": { "x-ms-client-request-id": [ - "c92228c0-5b80-43a3-a6cd-0c24b8e4fef6" + "94e4b861-7c1e-4894-aaa6-9562a889a4cd" ], "User-Agent": [ "Microsoft.Azure.Management.StreamAnalytics.StreamAnalyticsManagementClient/1.0.0.0" ] }, - "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/subscriptions/61953354-5115-4340-bf80-f4ccd1cb213e/resourceGroups/StreamAnalytics-Default-West-US/providers/Microsoft.StreamAnalytics/streamingjobs/TestJobPS/outputs/Output\",\r\n \"name\": \"Output\",\r\n \"type\": \"Microsoft.StreamAnalytics/streamingjobs/outputs\",\r\n \"properties\": {\r\n \"datasource\": {\r\n \"type\": \"Microsoft.Sql/Server/Database\",\r\n \"properties\": {\r\n \"server\": \"$EncryptedStringForTesting.database.windows.net\",\r\n \"database\": \"azurenrtsql\",\r\n \"table\": \"Samples\",\r\n \"user\": \"azurenrt@$EncryptedStringForTesting\"\r\n }\r\n },\r\n \"etag\": \"59a4714b-5357-49e6-80a4-25224ee60c97\"\r\n }\r\n }\r\n ],\r\n \"nextLink\": null\r\n}", + "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/subscriptions/61953354-5115-4340-bf80-f4ccd1cb213e/resourceGroups/StreamAnalytics-Default-West-US/providers/Microsoft.StreamAnalytics/streamingjobs/TestJobPS/outputs/Output\",\r\n \"name\": \"Output\",\r\n \"type\": \"Microsoft.StreamAnalytics/streamingjobs/outputs\",\r\n \"properties\": {\r\n \"datasource\": {\r\n \"type\": \"Microsoft.Sql/Server/Database\",\r\n \"properties\": {\r\n \"server\": \"$EncryptedStringForTesting.database.windows.net\",\r\n \"database\": \"azurenrtsql\",\r\n \"table\": \"Samples\",\r\n \"user\": \"azurenrt@$EncryptedStringForTesting\"\r\n }\r\n },\r\n \"etag\": \"603078c7-0143-4655-bef3-3df7d4ab3fef\"\r\n }\r\n }\r\n ],\r\n \"nextLink\": null\r\n}", "ResponseHeaders": { "Content-Length": [ "528" @@ -283,16 +283,16 @@ "5.0" ], "x-ms-request-id": [ - "c92228c0-5b80-43a3-a6cd-0c24b8e4fef6" + "94e4b861-7c1e-4894-aaa6-9562a889a4cd" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "14996" + "14970" ], "x-ms-correlation-request-id": [ - "dfa7bb57-83b9-41b2-bd4d-5296c0cb5eff" + "271cc270-0948-494a-bdd3-52d55339e37e" ], "x-ms-routing-request-id": [ - "CENTRALUS:20151125T195216Z:dfa7bb57-83b9-41b2-bd4d-5296c0cb5eff" + "CENTRALUS:20160107T012727Z:271cc270-0948-494a-bdd3-52d55339e37e" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -301,7 +301,7 @@ "no-store, no-cache" ], "Date": [ - "Wed, 25 Nov 2015 19:52:15 GMT" + "Thu, 07 Jan 2016 01:27:26 GMT" ], "Server": [ "Microsoft-IIS/8.5" @@ -319,7 +319,7 @@ "RequestBody": "", "RequestHeaders": { "x-ms-client-request-id": [ - "538fe5e3-f31d-4d35-85a5-6b0b09c8ad9b" + "93b18feb-b17d-41cd-8545-dc7e57fa9697" ], "User-Agent": [ "Microsoft.Azure.Management.StreamAnalytics.StreamAnalyticsManagementClient/1.0.0.0" @@ -343,16 +343,16 @@ "5.0" ], "x-ms-request-id": [ - "538fe5e3-f31d-4d35-85a5-6b0b09c8ad9b" + "93b18feb-b17d-41cd-8545-dc7e57fa9697" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "14995" + "14969" ], "x-ms-correlation-request-id": [ - "512e0b46-96a1-42a9-a520-ff6f2f283700" + "193255cf-f22f-46cd-8464-3fbead98592c" ], "x-ms-routing-request-id": [ - "CENTRALUS:20151125T195216Z:512e0b46-96a1-42a9-a520-ff6f2f283700" + "CENTRALUS:20160107T012727Z:193255cf-f22f-46cd-8464-3fbead98592c" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -361,10 +361,73 @@ "no-store, no-cache" ], "Date": [ - "Wed, 25 Nov 2015 19:52:16 GMT" + "Thu, 07 Jan 2016 01:27:26 GMT" ], "ETag": [ - "ad597069-4cae-4f8e-a3f6-d7b773c2e6cd" + "89e5a3da-f382-4336-94a0-e713b71db6e7" + ], + "Server": [ + "Microsoft-IIS/8.5" + ], + "X-Powered-By": [ + "ASP.NET" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/61953354-5115-4340-bf80-f4ccd1cb213e/resourcegroups/StreamAnalytics-Default-West-US/providers/Microsoft.StreamAnalytics/streamingjobs/TestJobPS/functions/scoreTweet?api-version=2015-09-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjE5NTMzNTQtNTExNS00MzQwLWJmODAtZjRjY2QxY2IyMTNlL3Jlc291cmNlZ3JvdXBzL1N0cmVhbUFuYWx5dGljcy1EZWZhdWx0LVdlc3QtVVMvcHJvdmlkZXJzL01pY3Jvc29mdC5TdHJlYW1BbmFseXRpY3Mvc3RyZWFtaW5nam9icy9UZXN0Sm9iUFMvZnVuY3Rpb25zL3Njb3JlVHdlZXQ/YXBpLXZlcnNpb249MjAxNS0wOS0wMQ==", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-client-request-id": [ + "5db1445c-c304-45af-bc7c-70ab8e403510" + ], + "User-Agent": [ + "Microsoft.Azure.Management.StreamAnalytics.StreamAnalyticsManagementClient/1.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/61953354-5115-4340-bf80-f4ccd1cb213e/resourceGroups/StreamAnalytics-Default-West-US/providers/Microsoft.StreamAnalytics/streamingjobs/TestJobPS/functions/scoreTweet\",\r\n \"name\": \"scoreTweet\",\r\n \"type\": \"Microsoft.StreamAnalytics/streamingjobs/functions\",\r\n \"properties\": {\r\n \"type\": \"Scalar\",\r\n \"properties\": {\r\n \"inputs\": [\r\n {\r\n \"dataType\": \"nvarchar(max)\",\r\n \"isConfigurationParameter\": false\r\n }\r\n ],\r\n \"output\": {\r\n \"dataType\": \"nvarchar(max)\"\r\n },\r\n \"binding\": {\r\n \"type\": \"Microsoft.MachineLearning/WebService\",\r\n \"properties\": {\r\n \"endpoint\": \"https://ussouthcentral.services.azureml.net/workspaces/f80d5d7a77fa4a46bf2a30c63c078dca/services/b7be5e40fd194258896fb602c1858eaf/execute?api-version=2.0&details=true\",\r\n \"apiKey\": null,\r\n \"inputs\": {\r\n \"name\": \"input1\",\r\n \"columnNames\": [\r\n {\r\n \"name\": \"tweet\",\r\n \"dataType\": \"String\",\r\n \"mapTo\": 0\r\n }\r\n ]\r\n },\r\n \"outputs\": [\r\n {\r\n \"name\": \"Sentiment\",\r\n \"dataType\": \"String\"\r\n }\r\n ],\r\n \"batchSize\": 10\r\n }\r\n }\r\n }\r\n }\r\n}", + "ResponseHeaders": { + "Content-Length": [ + "849" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "X-AspNetMvc-Version": [ + "5.0" + ], + "x-ms-request-id": [ + "5db1445c-c304-45af-bc7c-70ab8e403510" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "14968" + ], + "x-ms-correlation-request-id": [ + "eb213cf9-68e9-4636-a776-edc7dd524c29" + ], + "x-ms-routing-request-id": [ + "CENTRALUS:20160107T012727Z:eb213cf9-68e9-4636-a776-edc7dd524c29" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-store, no-cache" + ], + "Date": [ + "Thu, 07 Jan 2016 01:27:26 GMT" + ], + "ETag": [ + "6b93e8a8-75b5-48f5-9f19-e6c52c582084" ], "Server": [ "Microsoft-IIS/8.5" @@ -388,7 +451,7 @@ "915" ], "x-ms-client-request-id": [ - "414cfd43-51d3-47f9-a936-7cf4520d065e" + "24706ab8-16f6-49e7-8bf6-ba8ee9d4abce" ], "User-Agent": [ "Microsoft.Azure.Management.StreamAnalytics.StreamAnalyticsManagementClient/1.0.0.0" @@ -412,16 +475,16 @@ "5.0" ], "x-ms-request-id": [ - "ef3d2c14-8542-4d6e-a0dd-2c0d6c0dc5cc" + "cafaeef0-58a1-4559-9058-672c15ff5f62" ], "x-ms-ratelimit-remaining-subscription-writes": [ - "1196" + "1182" ], "x-ms-correlation-request-id": [ - "19b9f078-6867-4770-a297-e6f6a8851915" + "314d646d-0811-4ae7-ab60-7201e86f1f47" ], "x-ms-routing-request-id": [ - "CENTRALUS:20151125T195216Z:19b9f078-6867-4770-a297-e6f6a8851915" + "CENTRALUS:20160107T012727Z:314d646d-0811-4ae7-ab60-7201e86f1f47" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -430,10 +493,10 @@ "no-store, no-cache" ], "Date": [ - "Wed, 25 Nov 2015 19:52:16 GMT" + "Thu, 07 Jan 2016 01:27:27 GMT" ], "ETag": [ - "82dda75c-03a3-4c48-8df3-302f18c1e5fe" + "faa74cdf-3a25-4707-9685-e70804010006" ], "Server": [ "Microsoft-IIS/8.5" @@ -451,7 +514,7 @@ "RequestBody": "", "RequestHeaders": { "x-ms-client-request-id": [ - "292f1167-6169-41b7-9508-d82f9d4a4aa3" + "a09f5904-29c4-4188-923e-94283f8c1d4b" ], "User-Agent": [ "Microsoft.Azure.Management.StreamAnalytics.StreamAnalyticsManagementClient/1.0.0.0" @@ -478,16 +541,16 @@ "5.0" ], "x-ms-request-id": [ - "292f1167-6169-41b7-9508-d82f9d4a4aa3" + "a09f5904-29c4-4188-923e-94283f8c1d4b" ], "x-ms-ratelimit-remaining-subscription-writes": [ - "1195" + "1181" ], "x-ms-correlation-request-id": [ - "3c4ab273-91e3-4c0d-ade8-8b9dc4586510" + "da0458de-a190-4ded-aff4-3c04ba1f7600" ], "x-ms-routing-request-id": [ - "CENTRALUS:20151125T195217Z:3c4ab273-91e3-4c0d-ade8-8b9dc4586510" + "CENTRALUS:20160107T012728Z:da0458de-a190-4ded-aff4-3c04ba1f7600" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -496,10 +559,10 @@ "no-store, no-cache" ], "Date": [ - "Wed, 25 Nov 2015 19:52:16 GMT" + "Thu, 07 Jan 2016 01:27:27 GMT" ], "Location": [ - "https://api-dogfood.resources.windows-int.net/subscriptions/61953354-5115-4340-bf80-f4ccd1cb213e/resourcegroups/StreamAnalytics-Default-West-US/providers/Microsoft.StreamAnalytics/streamingjobs/TestJobPS/inputs/Input/OperationResults/5b771fa0-3ae1-40c9-89a0-bdc1fc7c75c5?api-version=2015-09-01" + "https://api-dogfood.resources.windows-int.net/subscriptions/61953354-5115-4340-bf80-f4ccd1cb213e/resourcegroups/StreamAnalytics-Default-West-US/providers/Microsoft.StreamAnalytics/streamingjobs/TestJobPS/inputs/Input/OperationResults/b1a99572-f2ce-4340-85d7-ca826999b3dd?api-version=2015-09-01" ], "Server": [ "Microsoft-IIS/8.5" @@ -511,13 +574,13 @@ "StatusCode": 202 }, { - "RequestUri": "/subscriptions/61953354-5115-4340-bf80-f4ccd1cb213e/resourcegroups/StreamAnalytics-Default-West-US/providers/Microsoft.StreamAnalytics/streamingjobs/TestJobPS/inputs/Input/OperationResults/5b771fa0-3ae1-40c9-89a0-bdc1fc7c75c5?api-version=2015-09-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjE5NTMzNTQtNTExNS00MzQwLWJmODAtZjRjY2QxY2IyMTNlL3Jlc291cmNlZ3JvdXBzL1N0cmVhbUFuYWx5dGljcy1EZWZhdWx0LVdlc3QtVVMvcHJvdmlkZXJzL01pY3Jvc29mdC5TdHJlYW1BbmFseXRpY3Mvc3RyZWFtaW5nam9icy9UZXN0Sm9iUFMvaW5wdXRzL0lucHV0L09wZXJhdGlvblJlc3VsdHMvNWI3NzFmYTAtM2FlMS00MGM5LTg5YTAtYmRjMWZjN2M3NWM1P2FwaS12ZXJzaW9uPTIwMTUtMDktMDE=", + "RequestUri": "/subscriptions/61953354-5115-4340-bf80-f4ccd1cb213e/resourcegroups/StreamAnalytics-Default-West-US/providers/Microsoft.StreamAnalytics/streamingjobs/TestJobPS/inputs/Input/OperationResults/b1a99572-f2ce-4340-85d7-ca826999b3dd?api-version=2015-09-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjE5NTMzNTQtNTExNS00MzQwLWJmODAtZjRjY2QxY2IyMTNlL3Jlc291cmNlZ3JvdXBzL1N0cmVhbUFuYWx5dGljcy1EZWZhdWx0LVdlc3QtVVMvcHJvdmlkZXJzL01pY3Jvc29mdC5TdHJlYW1BbmFseXRpY3Mvc3RyZWFtaW5nam9icy9UZXN0Sm9iUFMvaW5wdXRzL0lucHV0L09wZXJhdGlvblJlc3VsdHMvYjFhOTk1NzItZjJjZS00MzQwLTg1ZDctY2E4MjY5OTliM2RkP2FwaS12ZXJzaW9uPTIwMTUtMDktMDE=", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { "x-ms-client-request-id": [ - "366ee391-9fb6-48a4-a9e5-fc72bbd762e6" + "0ffcec3b-2156-4aa8-93d2-bc1a4f671a06" ], "User-Agent": [ "Microsoft.Azure.Management.StreamAnalytics.StreamAnalyticsManagementClient/1.0.0.0" @@ -544,16 +607,16 @@ "5.0" ], "x-ms-request-id": [ - "366ee391-9fb6-48a4-a9e5-fc72bbd762e6" + "0ffcec3b-2156-4aa8-93d2-bc1a4f671a06" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "14994" + "14967" ], "x-ms-correlation-request-id": [ - "b629e730-1568-46c3-a642-cb3024b3629c" + "ba801084-2d14-48d3-b8ad-755ee9613fa1" ], "x-ms-routing-request-id": [ - "CENTRALUS:20151125T195217Z:b629e730-1568-46c3-a642-cb3024b3629c" + "CENTRALUS:20160107T012728Z:ba801084-2d14-48d3-b8ad-755ee9613fa1" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -562,10 +625,10 @@ "no-store, no-cache" ], "Date": [ - "Wed, 25 Nov 2015 19:52:17 GMT" + "Thu, 07 Jan 2016 01:27:27 GMT" ], "Location": [ - "https://api-dogfood.resources.windows-int.net/subscriptions/61953354-5115-4340-bf80-f4ccd1cb213e/resourcegroups/StreamAnalytics-Default-West-US/providers/Microsoft.StreamAnalytics/streamingjobs/TestJobPS/inputs/Input/OperationResults/5b771fa0-3ae1-40c9-89a0-bdc1fc7c75c5?api-version=2015-09-01" + "https://api-dogfood.resources.windows-int.net/subscriptions/61953354-5115-4340-bf80-f4ccd1cb213e/resourcegroups/StreamAnalytics-Default-West-US/providers/Microsoft.StreamAnalytics/streamingjobs/TestJobPS/inputs/Input/OperationResults/b1a99572-f2ce-4340-85d7-ca826999b3dd?api-version=2015-09-01" ], "Server": [ "Microsoft-IIS/8.5" @@ -577,13 +640,13 @@ "StatusCode": 202 }, { - "RequestUri": "/subscriptions/61953354-5115-4340-bf80-f4ccd1cb213e/resourcegroups/StreamAnalytics-Default-West-US/providers/Microsoft.StreamAnalytics/streamingjobs/TestJobPS/inputs/Input/OperationResults/5b771fa0-3ae1-40c9-89a0-bdc1fc7c75c5?api-version=2015-09-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjE5NTMzNTQtNTExNS00MzQwLWJmODAtZjRjY2QxY2IyMTNlL3Jlc291cmNlZ3JvdXBzL1N0cmVhbUFuYWx5dGljcy1EZWZhdWx0LVdlc3QtVVMvcHJvdmlkZXJzL01pY3Jvc29mdC5TdHJlYW1BbmFseXRpY3Mvc3RyZWFtaW5nam9icy9UZXN0Sm9iUFMvaW5wdXRzL0lucHV0L09wZXJhdGlvblJlc3VsdHMvNWI3NzFmYTAtM2FlMS00MGM5LTg5YTAtYmRjMWZjN2M3NWM1P2FwaS12ZXJzaW9uPTIwMTUtMDktMDE=", + "RequestUri": "/subscriptions/61953354-5115-4340-bf80-f4ccd1cb213e/resourcegroups/StreamAnalytics-Default-West-US/providers/Microsoft.StreamAnalytics/streamingjobs/TestJobPS/inputs/Input/OperationResults/b1a99572-f2ce-4340-85d7-ca826999b3dd?api-version=2015-09-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjE5NTMzNTQtNTExNS00MzQwLWJmODAtZjRjY2QxY2IyMTNlL3Jlc291cmNlZ3JvdXBzL1N0cmVhbUFuYWx5dGljcy1EZWZhdWx0LVdlc3QtVVMvcHJvdmlkZXJzL01pY3Jvc29mdC5TdHJlYW1BbmFseXRpY3Mvc3RyZWFtaW5nam9icy9UZXN0Sm9iUFMvaW5wdXRzL0lucHV0L09wZXJhdGlvblJlc3VsdHMvYjFhOTk1NzItZjJjZS00MzQwLTg1ZDctY2E4MjY5OTliM2RkP2FwaS12ZXJzaW9uPTIwMTUtMDktMDE=", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { "x-ms-client-request-id": [ - "2273b7c5-86e1-48f7-90f4-1b05f18e4ccf" + "3d1d9ca0-6628-4941-bc4d-39a23725cbd8" ], "User-Agent": [ "Microsoft.Azure.Management.StreamAnalytics.StreamAnalyticsManagementClient/1.0.0.0" @@ -607,16 +670,16 @@ "5.0" ], "x-ms-request-id": [ - "2273b7c5-86e1-48f7-90f4-1b05f18e4ccf" + "3d1d9ca0-6628-4941-bc4d-39a23725cbd8" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "14993" + "14966" ], "x-ms-correlation-request-id": [ - "4d8a2459-e985-4f44-88e5-6f0d38823278" + "b7c91742-e892-479d-aeb9-a28ee7db7e4d" ], "x-ms-routing-request-id": [ - "CENTRALUS:20151125T195230Z:4d8a2459-e985-4f44-88e5-6f0d38823278" + "CENTRALUS:20160107T012738Z:b7c91742-e892-479d-aeb9-a28ee7db7e4d" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -625,7 +688,7 @@ "no-store, no-cache" ], "Date": [ - "Wed, 25 Nov 2015 19:52:30 GMT" + "Thu, 07 Jan 2016 01:27:38 GMT" ], "Server": [ "Microsoft-IIS/8.5" @@ -649,7 +712,7 @@ "410" ], "x-ms-client-request-id": [ - "3cb24738-88a7-4b6d-a52d-7f972af90d0b" + "a2f11913-7ed8-4360-8ca6-e408a443b87c" ], "User-Agent": [ "Microsoft.Azure.Management.StreamAnalytics.StreamAnalyticsManagementClient/1.0.0.0" @@ -673,16 +736,16 @@ "5.0" ], "x-ms-request-id": [ - "89da0b3d-a880-49c9-9169-8623ade08db0" + "04c50433-de1e-4c4e-bd55-7cfdbaf6aac2" ], "x-ms-ratelimit-remaining-subscription-writes": [ - "1194" + "1180" ], "x-ms-correlation-request-id": [ - "b8c7637d-0d24-42f9-8c83-9bfc7d9eb586" + "a9c18277-47ae-4105-9492-b337ed009ee1" ], "x-ms-routing-request-id": [ - "CENTRALUS:20151125T195230Z:b8c7637d-0d24-42f9-8c83-9bfc7d9eb586" + "CENTRALUS:20160107T012739Z:a9c18277-47ae-4105-9492-b337ed009ee1" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -691,10 +754,10 @@ "no-store, no-cache" ], "Date": [ - "Wed, 25 Nov 2015 19:52:30 GMT" + "Thu, 07 Jan 2016 01:27:38 GMT" ], "ETag": [ - "0e3eef03-28a9-4e40-9b4d-1b4185efdd79" + "5a335337-39e7-46ef-9e0f-640026f19984" ], "Server": [ "Microsoft-IIS/8.5" @@ -712,7 +775,7 @@ "RequestBody": "", "RequestHeaders": { "x-ms-client-request-id": [ - "2e5a0ec8-a430-4547-a46a-bb01226d1d42" + "e0be9308-c590-4b41-b603-49a28a6f331f" ], "User-Agent": [ "Microsoft.Azure.Management.StreamAnalytics.StreamAnalyticsManagementClient/1.0.0.0" @@ -739,16 +802,16 @@ "5.0" ], "x-ms-request-id": [ - "2e5a0ec8-a430-4547-a46a-bb01226d1d42" + "e0be9308-c590-4b41-b603-49a28a6f331f" ], "x-ms-ratelimit-remaining-subscription-writes": [ - "1193" + "1179" ], "x-ms-correlation-request-id": [ - "19a25b50-d934-4416-a955-4b7a019cd420" + "4590da4e-17bd-4d0b-8c24-0cbc03755458" ], "x-ms-routing-request-id": [ - "CENTRALUS:20151125T195230Z:19a25b50-d934-4416-a955-4b7a019cd420" + "CENTRALUS:20160107T012739Z:4590da4e-17bd-4d0b-8c24-0cbc03755458" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -757,10 +820,10 @@ "no-store, no-cache" ], "Date": [ - "Wed, 25 Nov 2015 19:52:30 GMT" + "Thu, 07 Jan 2016 01:27:39 GMT" ], "Location": [ - "https://api-dogfood.resources.windows-int.net/subscriptions/61953354-5115-4340-bf80-f4ccd1cb213e/resourcegroups/StreamAnalytics-Default-West-US/providers/Microsoft.StreamAnalytics/streamingjobs/TestJobPS/outputs/Output/OperationResults/cf9751ab-b30b-4284-b2b2-3b719f97b625?api-version=2015-09-01" + "https://api-dogfood.resources.windows-int.net/subscriptions/61953354-5115-4340-bf80-f4ccd1cb213e/resourcegroups/StreamAnalytics-Default-West-US/providers/Microsoft.StreamAnalytics/streamingjobs/TestJobPS/outputs/Output/OperationResults/f43973c5-97d7-4ce7-abc5-a14cc0e266c1?api-version=2015-09-01" ], "Server": [ "Microsoft-IIS/8.5" @@ -772,13 +835,13 @@ "StatusCode": 202 }, { - "RequestUri": "/subscriptions/61953354-5115-4340-bf80-f4ccd1cb213e/resourcegroups/StreamAnalytics-Default-West-US/providers/Microsoft.StreamAnalytics/streamingjobs/TestJobPS/outputs/Output/OperationResults/cf9751ab-b30b-4284-b2b2-3b719f97b625?api-version=2015-09-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjE5NTMzNTQtNTExNS00MzQwLWJmODAtZjRjY2QxY2IyMTNlL3Jlc291cmNlZ3JvdXBzL1N0cmVhbUFuYWx5dGljcy1EZWZhdWx0LVdlc3QtVVMvcHJvdmlkZXJzL01pY3Jvc29mdC5TdHJlYW1BbmFseXRpY3Mvc3RyZWFtaW5nam9icy9UZXN0Sm9iUFMvb3V0cHV0cy9PdXRwdXQvT3BlcmF0aW9uUmVzdWx0cy9jZjk3NTFhYi1iMzBiLTQyODQtYjJiMi0zYjcxOWY5N2I2MjU/YXBpLXZlcnNpb249MjAxNS0wOS0wMQ==", + "RequestUri": "/subscriptions/61953354-5115-4340-bf80-f4ccd1cb213e/resourcegroups/StreamAnalytics-Default-West-US/providers/Microsoft.StreamAnalytics/streamingjobs/TestJobPS/outputs/Output/OperationResults/f43973c5-97d7-4ce7-abc5-a14cc0e266c1?api-version=2015-09-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjE5NTMzNTQtNTExNS00MzQwLWJmODAtZjRjY2QxY2IyMTNlL3Jlc291cmNlZ3JvdXBzL1N0cmVhbUFuYWx5dGljcy1EZWZhdWx0LVdlc3QtVVMvcHJvdmlkZXJzL01pY3Jvc29mdC5TdHJlYW1BbmFseXRpY3Mvc3RyZWFtaW5nam9icy9UZXN0Sm9iUFMvb3V0cHV0cy9PdXRwdXQvT3BlcmF0aW9uUmVzdWx0cy9mNDM5NzNjNS05N2Q3LTRjZTctYWJjNS1hMTRjYzBlMjY2YzE/YXBpLXZlcnNpb249MjAxNS0wOS0wMQ==", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { "x-ms-client-request-id": [ - "d5db4c51-37f0-4038-80e1-00c51339673c" + "2a52669f-e276-431d-b67d-51c8389ce99a" ], "User-Agent": [ "Microsoft.Azure.Management.StreamAnalytics.StreamAnalyticsManagementClient/1.0.0.0" @@ -805,16 +868,16 @@ "5.0" ], "x-ms-request-id": [ - "d5db4c51-37f0-4038-80e1-00c51339673c" + "2a52669f-e276-431d-b67d-51c8389ce99a" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "14992" + "14965" ], "x-ms-correlation-request-id": [ - "f87dac15-68f9-4aac-96f9-02a5392c595b" + "ee674586-f245-4ee5-9b08-eb7a8869cc28" ], "x-ms-routing-request-id": [ - "CENTRALUS:20151125T195231Z:f87dac15-68f9-4aac-96f9-02a5392c595b" + "CENTRALUS:20160107T012740Z:ee674586-f245-4ee5-9b08-eb7a8869cc28" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -823,10 +886,10 @@ "no-store, no-cache" ], "Date": [ - "Wed, 25 Nov 2015 19:52:31 GMT" + "Thu, 07 Jan 2016 01:27:39 GMT" ], "Location": [ - "https://api-dogfood.resources.windows-int.net/subscriptions/61953354-5115-4340-bf80-f4ccd1cb213e/resourcegroups/StreamAnalytics-Default-West-US/providers/Microsoft.StreamAnalytics/streamingjobs/TestJobPS/outputs/Output/OperationResults/cf9751ab-b30b-4284-b2b2-3b719f97b625?api-version=2015-09-01" + "https://api-dogfood.resources.windows-int.net/subscriptions/61953354-5115-4340-bf80-f4ccd1cb213e/resourcegroups/StreamAnalytics-Default-West-US/providers/Microsoft.StreamAnalytics/streamingjobs/TestJobPS/outputs/Output/OperationResults/f43973c5-97d7-4ce7-abc5-a14cc0e266c1?api-version=2015-09-01" ], "Server": [ "Microsoft-IIS/8.5" @@ -838,13 +901,13 @@ "StatusCode": 202 }, { - "RequestUri": "/subscriptions/61953354-5115-4340-bf80-f4ccd1cb213e/resourcegroups/StreamAnalytics-Default-West-US/providers/Microsoft.StreamAnalytics/streamingjobs/TestJobPS/outputs/Output/OperationResults/cf9751ab-b30b-4284-b2b2-3b719f97b625?api-version=2015-09-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjE5NTMzNTQtNTExNS00MzQwLWJmODAtZjRjY2QxY2IyMTNlL3Jlc291cmNlZ3JvdXBzL1N0cmVhbUFuYWx5dGljcy1EZWZhdWx0LVdlc3QtVVMvcHJvdmlkZXJzL01pY3Jvc29mdC5TdHJlYW1BbmFseXRpY3Mvc3RyZWFtaW5nam9icy9UZXN0Sm9iUFMvb3V0cHV0cy9PdXRwdXQvT3BlcmF0aW9uUmVzdWx0cy9jZjk3NTFhYi1iMzBiLTQyODQtYjJiMi0zYjcxOWY5N2I2MjU/YXBpLXZlcnNpb249MjAxNS0wOS0wMQ==", + "RequestUri": "/subscriptions/61953354-5115-4340-bf80-f4ccd1cb213e/resourcegroups/StreamAnalytics-Default-West-US/providers/Microsoft.StreamAnalytics/streamingjobs/TestJobPS/outputs/Output/OperationResults/f43973c5-97d7-4ce7-abc5-a14cc0e266c1?api-version=2015-09-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjE5NTMzNTQtNTExNS00MzQwLWJmODAtZjRjY2QxY2IyMTNlL3Jlc291cmNlZ3JvdXBzL1N0cmVhbUFuYWx5dGljcy1EZWZhdWx0LVdlc3QtVVMvcHJvdmlkZXJzL01pY3Jvc29mdC5TdHJlYW1BbmFseXRpY3Mvc3RyZWFtaW5nam9icy9UZXN0Sm9iUFMvb3V0cHV0cy9PdXRwdXQvT3BlcmF0aW9uUmVzdWx0cy9mNDM5NzNjNS05N2Q3LTRjZTctYWJjNS1hMTRjYzBlMjY2YzE/YXBpLXZlcnNpb249MjAxNS0wOS0wMQ==", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { "x-ms-client-request-id": [ - "cfa46376-9201-4bd1-9a3d-df331d2aaa90" + "1874a183-a6e5-4fe4-a573-b1c535fb3ec6" ], "User-Agent": [ "Microsoft.Azure.Management.StreamAnalytics.StreamAnalyticsManagementClient/1.0.0.0" @@ -868,16 +931,16 @@ "5.0" ], "x-ms-request-id": [ - "cfa46376-9201-4bd1-9a3d-df331d2aaa90" + "1874a183-a6e5-4fe4-a573-b1c535fb3ec6" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "14991" + "14964" ], "x-ms-correlation-request-id": [ - "85b753bc-400e-4149-a618-30e554903e65" + "f9b97fb1-24ce-42b1-9d2e-aeb3d13fd47c" ], "x-ms-routing-request-id": [ - "CENTRALUS:20151125T195241Z:85b753bc-400e-4149-a618-30e554903e65" + "CENTRALUS:20160107T012751Z:f9b97fb1-24ce-42b1-9d2e-aeb3d13fd47c" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -886,7 +949,7 @@ "no-store, no-cache" ], "Date": [ - "Wed, 25 Nov 2015 19:52:40 GMT" + "Thu, 07 Jan 2016 01:27:51 GMT" ], "Server": [ "Microsoft-IIS/8.5" @@ -910,7 +973,7 @@ "165" ], "x-ms-client-request-id": [ - "b28fa718-1994-4bc3-a648-84952d7a655b" + "4d0f455b-2cde-47f1-b244-84b901126099" ], "User-Agent": [ "Microsoft.Azure.Management.StreamAnalytics.StreamAnalyticsManagementClient/1.0.0.0" @@ -934,16 +997,85 @@ "5.0" ], "x-ms-request-id": [ - "d0aa7fee-0030-4186-aabd-e320f6432edc" + "39f3b730-dca3-4c61-8ced-27a87bacbb6e" + ], + "x-ms-ratelimit-remaining-subscription-writes": [ + "1178" + ], + "x-ms-correlation-request-id": [ + "0f2bede1-db75-4aa0-a2a2-07b2bead0eea" + ], + "x-ms-routing-request-id": [ + "CENTRALUS:20160107T012751Z:0f2bede1-db75-4aa0-a2a2-07b2bead0eea" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-store, no-cache" + ], + "Date": [ + "Thu, 07 Jan 2016 01:27:51 GMT" + ], + "ETag": [ + "8022f9dc-2d21-4048-89ca-e8bbc2b73459" + ], + "Server": [ + "Microsoft-IIS/8.5" + ], + "X-Powered-By": [ + "ASP.NET" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/61953354-5115-4340-bf80-f4ccd1cb213e/resourcegroups/StreamAnalytics-Default-West-US/providers/Microsoft.StreamAnalytics/streamingjobs/TestJobPS/functions/scoreTweet?api-version=2015-09-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjE5NTMzNTQtNTExNS00MzQwLWJmODAtZjRjY2QxY2IyMTNlL3Jlc291cmNlZ3JvdXBzL1N0cmVhbUFuYWx5dGljcy1EZWZhdWx0LVdlc3QtVVMvcHJvdmlkZXJzL01pY3Jvc29mdC5TdHJlYW1BbmFseXRpY3Mvc3RyZWFtaW5nam9icy9UZXN0Sm9iUFMvZnVuY3Rpb25zL3Njb3JlVHdlZXQ/YXBpLXZlcnNpb249MjAxNS0wOS0wMQ==", + "RequestMethod": "PUT", + "RequestBody": "{\r\n \"name\": \"scoreTweet\",\r\n \"properties\": {\r\n \"type\": \"Scalar\",\r\n \"properties\": {\r\n \"inputs\": [\r\n {\r\n \"dataType\": \"nvarchar(max)\",\r\n \"isConfigurationParameter\": false\r\n }\r\n ],\r\n \"output\": {\r\n \"dataType\": \"nvarchar(max)\"\r\n },\r\n \"binding\": {\r\n \"type\": \"Microsoft.MachineLearning/WebService\",\r\n \"properties\": {\r\n \"endpoint\": \"https://ussouthcentral.services.azureml.net/workspaces/f80d5d7a77fa4a46bf2a30c63c078dca/services/b7be5e40fd194258896fb602c1858eaf/execute?api-version=2.0&details=true\",\r\n \"apiKey\": \"$EncryptedStringForTesting\",\r\n \"inputs\": {\r\n \"name\": \"input1\",\r\n \"columnNames\": [\r\n {\r\n \"name\": \"tweet\",\r\n \"dataType\": \"String\",\r\n \"mapTo\": 0\r\n }\r\n ]\r\n },\r\n \"outputs\": [\r\n {\r\n \"name\": \"Sentiment\",\r\n \"dataType\": \"String\"\r\n }\r\n ],\r\n \"batchSize\": 10\r\n }\r\n }\r\n }\r\n }\r\n}", + "RequestHeaders": { + "Content-Type": [ + "application/json" + ], + "Content-Length": [ + "1505" + ], + "x-ms-client-request-id": [ + "c3fe194b-6612-4d40-a9e0-de0e7d9a4a2a" + ], + "User-Agent": [ + "Microsoft.Azure.Management.StreamAnalytics.StreamAnalyticsManagementClient/1.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/61953354-5115-4340-bf80-f4ccd1cb213e/resourceGroups/StreamAnalytics-Default-West-US/providers/Microsoft.StreamAnalytics/streamingjobs/TestJobPS/functions/scoreTweet\",\r\n \"name\": \"scoreTweet\",\r\n \"type\": \"Microsoft.StreamAnalytics/streamingjobs/functions\",\r\n \"properties\": {\r\n \"type\": \"Scalar\",\r\n \"properties\": {\r\n \"inputs\": [\r\n {\r\n \"dataType\": \"nvarchar(max)\",\r\n \"isConfigurationParameter\": false\r\n }\r\n ],\r\n \"output\": {\r\n \"dataType\": \"nvarchar(max)\"\r\n },\r\n \"binding\": {\r\n \"type\": \"Microsoft.MachineLearning/WebService\",\r\n \"properties\": {\r\n \"endpoint\": \"https://ussouthcentral.services.azureml.net/workspaces/f80d5d7a77fa4a46bf2a30c63c078dca/services/b7be5e40fd194258896fb602c1858eaf/execute?api-version=2.0&details=true\",\r\n \"apiKey\": null,\r\n \"inputs\": {\r\n \"name\": \"input1\",\r\n \"columnNames\": [\r\n {\r\n \"name\": \"tweet\",\r\n \"dataType\": \"String\",\r\n \"mapTo\": 0\r\n }\r\n ]\r\n },\r\n \"outputs\": [\r\n {\r\n \"name\": \"Sentiment\",\r\n \"dataType\": \"String\"\r\n }\r\n ],\r\n \"batchSize\": 10\r\n }\r\n }\r\n }\r\n }\r\n}", + "ResponseHeaders": { + "Content-Length": [ + "849" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "X-AspNetMvc-Version": [ + "5.0" + ], + "x-ms-request-id": [ + "aec31108-d2b7-4dbd-94cc-78059540c364" ], "x-ms-ratelimit-remaining-subscription-writes": [ - "1192" + "1177" ], "x-ms-correlation-request-id": [ - "999a63f9-4d93-4462-b8a9-fdbe6ef2f5a4" + "00f6b4d7-bdc6-48ec-ba00-040d46d2db5f" ], "x-ms-routing-request-id": [ - "CENTRALUS:20151125T195241Z:999a63f9-4d93-4462-b8a9-fdbe6ef2f5a4" + "CENTRALUS:20160107T012753Z:00f6b4d7-bdc6-48ec-ba00-040d46d2db5f" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -952,10 +1084,202 @@ "no-store, no-cache" ], "Date": [ - "Wed, 25 Nov 2015 19:52:41 GMT" + "Thu, 07 Jan 2016 01:27:52 GMT" ], "ETag": [ - "7e18e59f-5489-4930-a9cb-707b5f7c5a39" + "85bf94c5-8e29-472d-baa0-6343190c2563" + ], + "Server": [ + "Microsoft-IIS/8.5" + ], + "X-Powered-By": [ + "ASP.NET" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/61953354-5115-4340-bf80-f4ccd1cb213e/resourcegroups/StreamAnalytics-Default-West-US/providers/Microsoft.StreamAnalytics/streamingjobs/TestJobPS/functions/scoreTweet/test?api-version=2015-09-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjE5NTMzNTQtNTExNS00MzQwLWJmODAtZjRjY2QxY2IyMTNlL3Jlc291cmNlZ3JvdXBzL1N0cmVhbUFuYWx5dGljcy1EZWZhdWx0LVdlc3QtVVMvcHJvdmlkZXJzL01pY3Jvc29mdC5TdHJlYW1BbmFseXRpY3Mvc3RyZWFtaW5nam9icy9UZXN0Sm9iUFMvZnVuY3Rpb25zL3Njb3JlVHdlZXQvdGVzdD9hcGktdmVyc2lvbj0yMDE1LTA5LTAx", + "RequestMethod": "POST", + "RequestBody": "", + "RequestHeaders": { + "x-ms-client-request-id": [ + "6fd0c22b-1501-4ed5-b2e6-8bce99395b87" + ], + "User-Agent": [ + "Microsoft.Azure.Management.StreamAnalytics.StreamAnalyticsManagementClient/1.0.0.0" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Content-Length": [ + "0" + ], + "Content-Type": [ + "application/json" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "Retry-After": [ + "10" + ], + "X-AspNetMvc-Version": [ + "5.0" + ], + "x-ms-request-id": [ + "6fd0c22b-1501-4ed5-b2e6-8bce99395b87" + ], + "x-ms-ratelimit-remaining-subscription-writes": [ + "1176" + ], + "x-ms-correlation-request-id": [ + "9daaa7df-09a2-4616-8702-98fbc0b1b0a9" + ], + "x-ms-routing-request-id": [ + "CENTRALUS:20160107T012755Z:9daaa7df-09a2-4616-8702-98fbc0b1b0a9" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-store, no-cache" + ], + "Date": [ + "Thu, 07 Jan 2016 01:27:54 GMT" + ], + "Location": [ + "https://api-dogfood.resources.windows-int.net/subscriptions/61953354-5115-4340-bf80-f4ccd1cb213e/resourcegroups/StreamAnalytics-Default-West-US/providers/Microsoft.StreamAnalytics/streamingjobs/TestJobPS/functions/scoreTweet/OperationResults/abd6b86c-fe76-4bbb-871c-64d11e5f2148?api-version=2015-09-01" + ], + "Server": [ + "Microsoft-IIS/8.5" + ], + "X-Powered-By": [ + "ASP.NET" + ] + }, + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/61953354-5115-4340-bf80-f4ccd1cb213e/resourcegroups/StreamAnalytics-Default-West-US/providers/Microsoft.StreamAnalytics/streamingjobs/TestJobPS/functions/scoreTweet/OperationResults/abd6b86c-fe76-4bbb-871c-64d11e5f2148?api-version=2015-09-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjE5NTMzNTQtNTExNS00MzQwLWJmODAtZjRjY2QxY2IyMTNlL3Jlc291cmNlZ3JvdXBzL1N0cmVhbUFuYWx5dGljcy1EZWZhdWx0LVdlc3QtVVMvcHJvdmlkZXJzL01pY3Jvc29mdC5TdHJlYW1BbmFseXRpY3Mvc3RyZWFtaW5nam9icy9UZXN0Sm9iUFMvZnVuY3Rpb25zL3Njb3JlVHdlZXQvT3BlcmF0aW9uUmVzdWx0cy9hYmQ2Yjg2Yy1mZTc2LTRiYmItODcxYy02NGQxMWU1ZjIxNDg/YXBpLXZlcnNpb249MjAxNS0wOS0wMQ==", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-client-request-id": [ + "42af636c-75e8-449f-9409-7a6236c664ff" + ], + "User-Agent": [ + "Microsoft.Azure.Management.StreamAnalytics.StreamAnalyticsManagementClient/1.0.0.0" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Content-Length": [ + "0" + ], + "Content-Type": [ + "application/json" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "Retry-After": [ + "10" + ], + "X-AspNetMvc-Version": [ + "5.0" + ], + "x-ms-request-id": [ + "42af636c-75e8-449f-9409-7a6236c664ff" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "14963" + ], + "x-ms-correlation-request-id": [ + "89fced1a-065e-4b1b-8fcd-b74acb62fe83" + ], + "x-ms-routing-request-id": [ + "CENTRALUS:20160107T012755Z:89fced1a-065e-4b1b-8fcd-b74acb62fe83" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-store, no-cache" + ], + "Date": [ + "Thu, 07 Jan 2016 01:27:55 GMT" + ], + "Location": [ + "https://api-dogfood.resources.windows-int.net/subscriptions/61953354-5115-4340-bf80-f4ccd1cb213e/resourcegroups/StreamAnalytics-Default-West-US/providers/Microsoft.StreamAnalytics/streamingjobs/TestJobPS/functions/scoreTweet/OperationResults/abd6b86c-fe76-4bbb-871c-64d11e5f2148?api-version=2015-09-01" + ], + "Server": [ + "Microsoft-IIS/8.5" + ], + "X-Powered-By": [ + "ASP.NET" + ] + }, + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/61953354-5115-4340-bf80-f4ccd1cb213e/resourcegroups/StreamAnalytics-Default-West-US/providers/Microsoft.StreamAnalytics/streamingjobs/TestJobPS/functions/scoreTweet/OperationResults/abd6b86c-fe76-4bbb-871c-64d11e5f2148?api-version=2015-09-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjE5NTMzNTQtNTExNS00MzQwLWJmODAtZjRjY2QxY2IyMTNlL3Jlc291cmNlZ3JvdXBzL1N0cmVhbUFuYWx5dGljcy1EZWZhdWx0LVdlc3QtVVMvcHJvdmlkZXJzL01pY3Jvc29mdC5TdHJlYW1BbmFseXRpY3Mvc3RyZWFtaW5nam9icy9UZXN0Sm9iUFMvZnVuY3Rpb25zL3Njb3JlVHdlZXQvT3BlcmF0aW9uUmVzdWx0cy9hYmQ2Yjg2Yy1mZTc2LTRiYmItODcxYy02NGQxMWU1ZjIxNDg/YXBpLXZlcnNpb249MjAxNS0wOS0wMQ==", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-client-request-id": [ + "aecb06c9-a82a-43a9-8764-127e4640df14" + ], + "User-Agent": [ + "Microsoft.Azure.Management.StreamAnalytics.StreamAnalyticsManagementClient/1.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"status\": \"TestSucceeded\",\r\n \"error\": null\r\n}", + "ResponseHeaders": { + "Content-Length": [ + "39" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "X-AspNetMvc-Version": [ + "5.0" + ], + "x-ms-request-id": [ + "aecb06c9-a82a-43a9-8764-127e4640df14" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "14962" + ], + "x-ms-correlation-request-id": [ + "b50fc494-4492-41fc-8598-05c2d4b43df8" + ], + "x-ms-routing-request-id": [ + "CENTRALUS:20160107T012805Z:b50fc494-4492-41fc-8598-05c2d4b43df8" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-store, no-cache" + ], + "Date": [ + "Thu, 07 Jan 2016 01:28:04 GMT" ], "Server": [ "Microsoft-IIS/8.5" @@ -973,7 +1297,7 @@ "RequestBody": "", "RequestHeaders": { "x-ms-client-request-id": [ - "57dc1c50-46fd-4152-9476-a0d138c4ea61" + "8ac5b317-223b-4613-9c11-4b9d12b3aaf8" ], "User-Agent": [ "Microsoft.Azure.Management.StreamAnalytics.StreamAnalyticsManagementClient/1.0.0.0" @@ -997,16 +1321,16 @@ "5.0" ], "x-ms-request-id": [ - "57dc1c50-46fd-4152-9476-a0d138c4ea61" + "8ac5b317-223b-4613-9c11-4b9d12b3aaf8" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "14990" + "14961" ], "x-ms-correlation-request-id": [ - "6dd9d4f4-0882-4833-8bdf-f7fd0125cc22" + "4ae3c023-0907-4d3c-95d4-c11160178dfb" ], "x-ms-routing-request-id": [ - "CENTRALUS:20151125T195242Z:6dd9d4f4-0882-4833-8bdf-f7fd0125cc22" + "CENTRALUS:20160107T012805Z:4ae3c023-0907-4d3c-95d4-c11160178dfb" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -1015,7 +1339,7 @@ "no-store, no-cache" ], "Date": [ - "Wed, 25 Nov 2015 19:52:41 GMT" + "Thu, 07 Jan 2016 01:28:04 GMT" ], "Server": [ "Microsoft-IIS/8.5" @@ -1033,7 +1357,7 @@ "RequestBody": "", "RequestHeaders": { "x-ms-client-request-id": [ - "9628d53b-3da0-42fb-ab84-494dab6d71e9" + "fc3580d3-7268-4a57-bf94-e19a683c8702" ], "User-Agent": [ "Microsoft.Azure.Management.StreamAnalytics.StreamAnalyticsManagementClient/1.0.0.0" @@ -1057,16 +1381,16 @@ "5.0" ], "x-ms-request-id": [ - "9628d53b-3da0-42fb-ab84-494dab6d71e9" + "fc3580d3-7268-4a57-bf94-e19a683c8702" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "14984" + "14952" ], "x-ms-correlation-request-id": [ - "5be2c04f-ace4-475e-a93d-bebf178946f9" + "5871cbf8-e67e-4cb7-b63f-27185aff84b1" ], "x-ms-routing-request-id": [ - "CENTRALUS:20151125T195355Z:5be2c04f-ace4-475e-a93d-bebf178946f9" + "CENTRALUS:20160107T012922Z:5871cbf8-e67e-4cb7-b63f-27185aff84b1" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -1075,7 +1399,7 @@ "no-store, no-cache" ], "Date": [ - "Wed, 25 Nov 2015 19:53:54 GMT" + "Thu, 07 Jan 2016 01:29:21 GMT" ], "Server": [ "Microsoft-IIS/8.5" @@ -1099,7 +1423,7 @@ "90" ], "x-ms-client-request-id": [ - "6945ac60-035f-448f-aebf-c85faae6ee90" + "ba052060-f08e-40cd-bb33-7e2cf86e6538" ], "User-Agent": [ "Microsoft.Azure.Management.StreamAnalytics.StreamAnalyticsManagementClient/1.0.0.0" @@ -1126,16 +1450,16 @@ "5.0" ], "x-ms-request-id": [ - "6ba41e00-bd47-475a-806f-0b2dd2cbb24c" + "d31cebdf-d487-4e01-aa8b-783f722b08df" ], "x-ms-ratelimit-remaining-subscription-writes": [ - "1191" + "1175" ], "x-ms-correlation-request-id": [ - "782732ae-cf16-4d09-9110-4f70e7757163" + "136d7364-c31a-4660-9673-34dfeea8758e" ], "x-ms-routing-request-id": [ - "CENTRALUS:20151125T195242Z:782732ae-cf16-4d09-9110-4f70e7757163" + "CENTRALUS:20160107T012806Z:136d7364-c31a-4660-9673-34dfeea8758e" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -1144,10 +1468,10 @@ "no-store, no-cache" ], "Date": [ - "Wed, 25 Nov 2015 19:52:41 GMT" + "Thu, 07 Jan 2016 01:28:06 GMT" ], "Location": [ - "https://api-dogfood.resources.windows-int.net/subscriptions/61953354-5115-4340-bf80-f4ccd1cb213e/resourcegroups/StreamAnalytics-Default-West-US/providers/Microsoft.StreamAnalytics/streamingjobs/TestJobPS/OperationResults/d27b8990-3227-468b-a242-7e6d6407c872?api-version=2015-09-01" + "https://api-dogfood.resources.windows-int.net/subscriptions/61953354-5115-4340-bf80-f4ccd1cb213e/resourcegroups/StreamAnalytics-Default-West-US/providers/Microsoft.StreamAnalytics/streamingjobs/TestJobPS/OperationResults/d1e12c27-e32b-4ee6-a3f6-8d6016c5bc07?api-version=2015-09-01" ], "Server": [ "Microsoft-IIS/8.5" @@ -1159,8 +1483,8 @@ "StatusCode": 202 }, { - "RequestUri": "/subscriptions/61953354-5115-4340-bf80-f4ccd1cb213e/resourcegroups/StreamAnalytics-Default-West-US/providers/Microsoft.StreamAnalytics/streamingjobs/TestJobPS/OperationResults/d27b8990-3227-468b-a242-7e6d6407c872?api-version=2015-09-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjE5NTMzNTQtNTExNS00MzQwLWJmODAtZjRjY2QxY2IyMTNlL3Jlc291cmNlZ3JvdXBzL1N0cmVhbUFuYWx5dGljcy1EZWZhdWx0LVdlc3QtVVMvcHJvdmlkZXJzL01pY3Jvc29mdC5TdHJlYW1BbmFseXRpY3Mvc3RyZWFtaW5nam9icy9UZXN0Sm9iUFMvT3BlcmF0aW9uUmVzdWx0cy9kMjdiODk5MC0zMjI3LTQ2OGItYTI0Mi03ZTZkNjQwN2M4NzI/YXBpLXZlcnNpb249MjAxNS0wOS0wMQ==", + "RequestUri": "/subscriptions/61953354-5115-4340-bf80-f4ccd1cb213e/resourcegroups/StreamAnalytics-Default-West-US/providers/Microsoft.StreamAnalytics/streamingjobs/TestJobPS/OperationResults/d1e12c27-e32b-4ee6-a3f6-8d6016c5bc07?api-version=2015-09-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjE5NTMzNTQtNTExNS00MzQwLWJmODAtZjRjY2QxY2IyMTNlL3Jlc291cmNlZ3JvdXBzL1N0cmVhbUFuYWx5dGljcy1EZWZhdWx0LVdlc3QtVVMvcHJvdmlkZXJzL01pY3Jvc29mdC5TdHJlYW1BbmFseXRpY3Mvc3RyZWFtaW5nam9icy9UZXN0Sm9iUFMvT3BlcmF0aW9uUmVzdWx0cy9kMWUxMmMyNy1lMzJiLTRlZTYtYTNmNi04ZDYwMTZjNWJjMDc/YXBpLXZlcnNpb249MjAxNS0wOS0wMQ==", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { @@ -1189,16 +1513,16 @@ "5.0" ], "x-ms-request-id": [ - "0c4e3617-cadf-402e-a043-1c8a3079a0d3" + "914cbbf3-c5e3-4570-8dad-abe12bb64a4c" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "14989" + "14960" ], "x-ms-correlation-request-id": [ - "cecb4f13-9f16-403a-a475-7ba18a378a5d" + "dec4cd72-8013-48e0-9ac4-412f011f37a1" ], "x-ms-routing-request-id": [ - "CENTRALUS:20151125T195244Z:cecb4f13-9f16-403a-a475-7ba18a378a5d" + "CENTRALUS:20160107T012806Z:dec4cd72-8013-48e0-9ac4-412f011f37a1" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -1207,10 +1531,10 @@ "no-store, no-cache" ], "Date": [ - "Wed, 25 Nov 2015 19:52:44 GMT" + "Thu, 07 Jan 2016 01:28:06 GMT" ], "Location": [ - "https://api-dogfood.resources.windows-int.net/subscriptions/61953354-5115-4340-bf80-f4ccd1cb213e/resourcegroups/StreamAnalytics-Default-West-US/providers/Microsoft.StreamAnalytics/streamingjobs/TestJobPS/OperationResults/d27b8990-3227-468b-a242-7e6d6407c872?api-version=2015-09-01" + "https://api-dogfood.resources.windows-int.net/subscriptions/61953354-5115-4340-bf80-f4ccd1cb213e/resourcegroups/StreamAnalytics-Default-West-US/providers/Microsoft.StreamAnalytics/streamingjobs/TestJobPS/OperationResults/d1e12c27-e32b-4ee6-a3f6-8d6016c5bc07?api-version=2015-09-01" ], "Server": [ "Microsoft-IIS/8.5" @@ -1222,8 +1546,8 @@ "StatusCode": 202 }, { - "RequestUri": "/subscriptions/61953354-5115-4340-bf80-f4ccd1cb213e/resourcegroups/StreamAnalytics-Default-West-US/providers/Microsoft.StreamAnalytics/streamingjobs/TestJobPS/OperationResults/d27b8990-3227-468b-a242-7e6d6407c872?api-version=2015-09-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjE5NTMzNTQtNTExNS00MzQwLWJmODAtZjRjY2QxY2IyMTNlL3Jlc291cmNlZ3JvdXBzL1N0cmVhbUFuYWx5dGljcy1EZWZhdWx0LVdlc3QtVVMvcHJvdmlkZXJzL01pY3Jvc29mdC5TdHJlYW1BbmFseXRpY3Mvc3RyZWFtaW5nam9icy9UZXN0Sm9iUFMvT3BlcmF0aW9uUmVzdWx0cy9kMjdiODk5MC0zMjI3LTQ2OGItYTI0Mi03ZTZkNjQwN2M4NzI/YXBpLXZlcnNpb249MjAxNS0wOS0wMQ==", + "RequestUri": "/subscriptions/61953354-5115-4340-bf80-f4ccd1cb213e/resourcegroups/StreamAnalytics-Default-West-US/providers/Microsoft.StreamAnalytics/streamingjobs/TestJobPS/OperationResults/d1e12c27-e32b-4ee6-a3f6-8d6016c5bc07?api-version=2015-09-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjE5NTMzNTQtNTExNS00MzQwLWJmODAtZjRjY2QxY2IyMTNlL3Jlc291cmNlZ3JvdXBzL1N0cmVhbUFuYWx5dGljcy1EZWZhdWx0LVdlc3QtVVMvcHJvdmlkZXJzL01pY3Jvc29mdC5TdHJlYW1BbmFseXRpY3Mvc3RyZWFtaW5nam9icy9UZXN0Sm9iUFMvT3BlcmF0aW9uUmVzdWx0cy9kMWUxMmMyNy1lMzJiLTRlZTYtYTNmNi04ZDYwMTZjNWJjMDc/YXBpLXZlcnNpb249MjAxNS0wOS0wMQ==", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { @@ -1252,16 +1576,16 @@ "5.0" ], "x-ms-request-id": [ - "ae316c15-f17a-46ed-ae45-2716f48e5aad" + "94fce534-8cf8-4944-becf-df007d12bc09" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "14988" + "14959" ], "x-ms-correlation-request-id": [ - "59d79e68-f787-4c83-8aa0-58e8421e0109" + "7c4fc1c6-7b4e-4a6f-a287-2c76882e5f32" ], "x-ms-routing-request-id": [ - "CENTRALUS:20151125T195300Z:59d79e68-f787-4c83-8aa0-58e8421e0109" + "CENTRALUS:20160107T012817Z:7c4fc1c6-7b4e-4a6f-a287-2c76882e5f32" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -1270,10 +1594,10 @@ "no-store, no-cache" ], "Date": [ - "Wed, 25 Nov 2015 19:53:00 GMT" + "Thu, 07 Jan 2016 01:28:16 GMT" ], "Location": [ - "https://api-dogfood.resources.windows-int.net/subscriptions/61953354-5115-4340-bf80-f4ccd1cb213e/resourcegroups/StreamAnalytics-Default-West-US/providers/Microsoft.StreamAnalytics/streamingjobs/TestJobPS/OperationResults/d27b8990-3227-468b-a242-7e6d6407c872?api-version=2015-09-01" + "https://api-dogfood.resources.windows-int.net/subscriptions/61953354-5115-4340-bf80-f4ccd1cb213e/resourcegroups/StreamAnalytics-Default-West-US/providers/Microsoft.StreamAnalytics/streamingjobs/TestJobPS/OperationResults/d1e12c27-e32b-4ee6-a3f6-8d6016c5bc07?api-version=2015-09-01" ], "Server": [ "Microsoft-IIS/8.5" @@ -1285,8 +1609,8 @@ "StatusCode": 202 }, { - "RequestUri": "/subscriptions/61953354-5115-4340-bf80-f4ccd1cb213e/resourcegroups/StreamAnalytics-Default-West-US/providers/Microsoft.StreamAnalytics/streamingjobs/TestJobPS/OperationResults/d27b8990-3227-468b-a242-7e6d6407c872?api-version=2015-09-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjE5NTMzNTQtNTExNS00MzQwLWJmODAtZjRjY2QxY2IyMTNlL3Jlc291cmNlZ3JvdXBzL1N0cmVhbUFuYWx5dGljcy1EZWZhdWx0LVdlc3QtVVMvcHJvdmlkZXJzL01pY3Jvc29mdC5TdHJlYW1BbmFseXRpY3Mvc3RyZWFtaW5nam9icy9UZXN0Sm9iUFMvT3BlcmF0aW9uUmVzdWx0cy9kMjdiODk5MC0zMjI3LTQ2OGItYTI0Mi03ZTZkNjQwN2M4NzI/YXBpLXZlcnNpb249MjAxNS0wOS0wMQ==", + "RequestUri": "/subscriptions/61953354-5115-4340-bf80-f4ccd1cb213e/resourcegroups/StreamAnalytics-Default-West-US/providers/Microsoft.StreamAnalytics/streamingjobs/TestJobPS/OperationResults/d1e12c27-e32b-4ee6-a3f6-8d6016c5bc07?api-version=2015-09-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjE5NTMzNTQtNTExNS00MzQwLWJmODAtZjRjY2QxY2IyMTNlL3Jlc291cmNlZ3JvdXBzL1N0cmVhbUFuYWx5dGljcy1EZWZhdWx0LVdlc3QtVVMvcHJvdmlkZXJzL01pY3Jvc29mdC5TdHJlYW1BbmFseXRpY3Mvc3RyZWFtaW5nam9icy9UZXN0Sm9iUFMvT3BlcmF0aW9uUmVzdWx0cy9kMWUxMmMyNy1lMzJiLTRlZTYtYTNmNi04ZDYwMTZjNWJjMDc/YXBpLXZlcnNpb249MjAxNS0wOS0wMQ==", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { @@ -1315,16 +1639,16 @@ "5.0" ], "x-ms-request-id": [ - "1a1885ad-9034-4435-aa6c-b5a6ff3696e3" + "7c742fe3-05e5-4f89-97a0-7ac40b0ab427" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "14987" + "14958" ], "x-ms-correlation-request-id": [ - "cab54977-51d7-408e-9dbe-40d352ec12af" + "95abe6ae-fab3-4461-967b-0990b466ae22" ], "x-ms-routing-request-id": [ - "CENTRALUS:20151125T195319Z:cab54977-51d7-408e-9dbe-40d352ec12af" + "CENTRALUS:20160107T012827Z:95abe6ae-fab3-4461-967b-0990b466ae22" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -1333,10 +1657,10 @@ "no-store, no-cache" ], "Date": [ - "Wed, 25 Nov 2015 19:53:18 GMT" + "Thu, 07 Jan 2016 01:28:27 GMT" ], "Location": [ - "https://api-dogfood.resources.windows-int.net/subscriptions/61953354-5115-4340-bf80-f4ccd1cb213e/resourcegroups/StreamAnalytics-Default-West-US/providers/Microsoft.StreamAnalytics/streamingjobs/TestJobPS/OperationResults/d27b8990-3227-468b-a242-7e6d6407c872?api-version=2015-09-01" + "https://api-dogfood.resources.windows-int.net/subscriptions/61953354-5115-4340-bf80-f4ccd1cb213e/resourcegroups/StreamAnalytics-Default-West-US/providers/Microsoft.StreamAnalytics/streamingjobs/TestJobPS/OperationResults/d1e12c27-e32b-4ee6-a3f6-8d6016c5bc07?api-version=2015-09-01" ], "Server": [ "Microsoft-IIS/8.5" @@ -1348,8 +1672,8 @@ "StatusCode": 202 }, { - "RequestUri": "/subscriptions/61953354-5115-4340-bf80-f4ccd1cb213e/resourcegroups/StreamAnalytics-Default-West-US/providers/Microsoft.StreamAnalytics/streamingjobs/TestJobPS/OperationResults/d27b8990-3227-468b-a242-7e6d6407c872?api-version=2015-09-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjE5NTMzNTQtNTExNS00MzQwLWJmODAtZjRjY2QxY2IyMTNlL3Jlc291cmNlZ3JvdXBzL1N0cmVhbUFuYWx5dGljcy1EZWZhdWx0LVdlc3QtVVMvcHJvdmlkZXJzL01pY3Jvc29mdC5TdHJlYW1BbmFseXRpY3Mvc3RyZWFtaW5nam9icy9UZXN0Sm9iUFMvT3BlcmF0aW9uUmVzdWx0cy9kMjdiODk5MC0zMjI3LTQ2OGItYTI0Mi03ZTZkNjQwN2M4NzI/YXBpLXZlcnNpb249MjAxNS0wOS0wMQ==", + "RequestUri": "/subscriptions/61953354-5115-4340-bf80-f4ccd1cb213e/resourcegroups/StreamAnalytics-Default-West-US/providers/Microsoft.StreamAnalytics/streamingjobs/TestJobPS/OperationResults/d1e12c27-e32b-4ee6-a3f6-8d6016c5bc07?api-version=2015-09-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjE5NTMzNTQtNTExNS00MzQwLWJmODAtZjRjY2QxY2IyMTNlL3Jlc291cmNlZ3JvdXBzL1N0cmVhbUFuYWx5dGljcy1EZWZhdWx0LVdlc3QtVVMvcHJvdmlkZXJzL01pY3Jvc29mdC5TdHJlYW1BbmFseXRpY3Mvc3RyZWFtaW5nam9icy9UZXN0Sm9iUFMvT3BlcmF0aW9uUmVzdWx0cy9kMWUxMmMyNy1lMzJiLTRlZTYtYTNmNi04ZDYwMTZjNWJjMDc/YXBpLXZlcnNpb249MjAxNS0wOS0wMQ==", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { @@ -1378,16 +1702,16 @@ "5.0" ], "x-ms-request-id": [ - "7a65bdde-e114-4fb0-a7f5-acdb8f82c7b5" + "0bc1e974-8991-40dd-8e63-b92f0edc223d" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "14986" + "14957" ], "x-ms-correlation-request-id": [ - "1c0c3c59-f652-474e-a894-ae741af1601d" + "388a4165-30c0-41d0-aecd-4cadf6ceac89" ], "x-ms-routing-request-id": [ - "CENTRALUS:20151125T195337Z:1c0c3c59-f652-474e-a894-ae741af1601d" + "CENTRALUS:20160107T012838Z:388a4165-30c0-41d0-aecd-4cadf6ceac89" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -1396,10 +1720,10 @@ "no-store, no-cache" ], "Date": [ - "Wed, 25 Nov 2015 19:53:37 GMT" + "Thu, 07 Jan 2016 01:28:38 GMT" ], "Location": [ - "https://api-dogfood.resources.windows-int.net/subscriptions/61953354-5115-4340-bf80-f4ccd1cb213e/resourcegroups/StreamAnalytics-Default-West-US/providers/Microsoft.StreamAnalytics/streamingjobs/TestJobPS/OperationResults/d27b8990-3227-468b-a242-7e6d6407c872?api-version=2015-09-01" + "https://api-dogfood.resources.windows-int.net/subscriptions/61953354-5115-4340-bf80-f4ccd1cb213e/resourcegroups/StreamAnalytics-Default-West-US/providers/Microsoft.StreamAnalytics/streamingjobs/TestJobPS/OperationResults/d1e12c27-e32b-4ee6-a3f6-8d6016c5bc07?api-version=2015-09-01" ], "Server": [ "Microsoft-IIS/8.5" @@ -1411,8 +1735,8 @@ "StatusCode": 202 }, { - "RequestUri": "/subscriptions/61953354-5115-4340-bf80-f4ccd1cb213e/resourcegroups/StreamAnalytics-Default-West-US/providers/Microsoft.StreamAnalytics/streamingjobs/TestJobPS/OperationResults/d27b8990-3227-468b-a242-7e6d6407c872?api-version=2015-09-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjE5NTMzNTQtNTExNS00MzQwLWJmODAtZjRjY2QxY2IyMTNlL3Jlc291cmNlZ3JvdXBzL1N0cmVhbUFuYWx5dGljcy1EZWZhdWx0LVdlc3QtVVMvcHJvdmlkZXJzL01pY3Jvc29mdC5TdHJlYW1BbmFseXRpY3Mvc3RyZWFtaW5nam9icy9UZXN0Sm9iUFMvT3BlcmF0aW9uUmVzdWx0cy9kMjdiODk5MC0zMjI3LTQ2OGItYTI0Mi03ZTZkNjQwN2M4NzI/YXBpLXZlcnNpb249MjAxNS0wOS0wMQ==", + "RequestUri": "/subscriptions/61953354-5115-4340-bf80-f4ccd1cb213e/resourcegroups/StreamAnalytics-Default-West-US/providers/Microsoft.StreamAnalytics/streamingjobs/TestJobPS/OperationResults/d1e12c27-e32b-4ee6-a3f6-8d6016c5bc07?api-version=2015-09-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjE5NTMzNTQtNTExNS00MzQwLWJmODAtZjRjY2QxY2IyMTNlL3Jlc291cmNlZ3JvdXBzL1N0cmVhbUFuYWx5dGljcy1EZWZhdWx0LVdlc3QtVVMvcHJvdmlkZXJzL01pY3Jvc29mdC5TdHJlYW1BbmFseXRpY3Mvc3RyZWFtaW5nam9icy9UZXN0Sm9iUFMvT3BlcmF0aW9uUmVzdWx0cy9kMWUxMmMyNy1lMzJiLTRlZTYtYTNmNi04ZDYwMTZjNWJjMDc/YXBpLXZlcnNpb249MjAxNS0wOS0wMQ==", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { @@ -1434,20 +1758,23 @@ "Pragma": [ "no-cache" ], + "Retry-After": [ + "10" + ], "X-AspNetMvc-Version": [ "5.0" ], "x-ms-request-id": [ - "e6639b77-8a4e-450c-9aa8-f9e1e232d180" + "01eb1e97-bb1b-4d2a-84d7-92a5294bafa3" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "14985" + "14956" ], "x-ms-correlation-request-id": [ - "1f5c5580-df8d-4596-8b4e-e4d18c028dd2" + "fe55de22-846a-4820-a418-0ee44a5a904e" ], "x-ms-routing-request-id": [ - "CENTRALUS:20151125T195354Z:1f5c5580-df8d-4596-8b4e-e4d18c028dd2" + "CENTRALUS:20160107T012849Z:fe55de22-846a-4820-a418-0ee44a5a904e" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -1456,7 +1783,10 @@ "no-store, no-cache" ], "Date": [ - "Wed, 25 Nov 2015 19:53:54 GMT" + "Thu, 07 Jan 2016 01:28:48 GMT" + ], + "Location": [ + "https://api-dogfood.resources.windows-int.net/subscriptions/61953354-5115-4340-bf80-f4ccd1cb213e/resourcegroups/StreamAnalytics-Default-West-US/providers/Microsoft.StreamAnalytics/streamingjobs/TestJobPS/OperationResults/d1e12c27-e32b-4ee6-a3f6-8d6016c5bc07?api-version=2015-09-01" ], "Server": [ "Microsoft-IIS/8.5" @@ -1465,17 +1795,14 @@ "ASP.NET" ] }, - "StatusCode": 200 + "StatusCode": 202 }, { - "RequestUri": "/subscriptions/61953354-5115-4340-bf80-f4ccd1cb213e/resourcegroups/StreamAnalytics-Default-West-US/providers/Microsoft.StreamAnalytics/streamingjobs/TestJobPS/stop?api-version=2015-09-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjE5NTMzNTQtNTExNS00MzQwLWJmODAtZjRjY2QxY2IyMTNlL3Jlc291cmNlZ3JvdXBzL1N0cmVhbUFuYWx5dGljcy1EZWZhdWx0LVdlc3QtVVMvcHJvdmlkZXJzL01pY3Jvc29mdC5TdHJlYW1BbmFseXRpY3Mvc3RyZWFtaW5nam9icy9UZXN0Sm9iUFMvc3RvcD9hcGktdmVyc2lvbj0yMDE1LTA5LTAx", - "RequestMethod": "POST", + "RequestUri": "/subscriptions/61953354-5115-4340-bf80-f4ccd1cb213e/resourcegroups/StreamAnalytics-Default-West-US/providers/Microsoft.StreamAnalytics/streamingjobs/TestJobPS/OperationResults/d1e12c27-e32b-4ee6-a3f6-8d6016c5bc07?api-version=2015-09-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjE5NTMzNTQtNTExNS00MzQwLWJmODAtZjRjY2QxY2IyMTNlL3Jlc291cmNlZ3JvdXBzL1N0cmVhbUFuYWx5dGljcy1EZWZhdWx0LVdlc3QtVVMvcHJvdmlkZXJzL01pY3Jvc29mdC5TdHJlYW1BbmFseXRpY3Mvc3RyZWFtaW5nam9icy9UZXN0Sm9iUFMvT3BlcmF0aW9uUmVzdWx0cy9kMWUxMmMyNy1lMzJiLTRlZTYtYTNmNi04ZDYwMTZjNWJjMDc/YXBpLXZlcnNpb249MjAxNS0wOS0wMQ==", + "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { - "x-ms-client-request-id": [ - "9c609f34-1534-458c-bcdd-31fec895210b" - ], "User-Agent": [ "Microsoft.Azure.Management.StreamAnalytics.StreamAnalyticsManagementClient/1.0.0.0" ] @@ -1501,16 +1828,16 @@ "5.0" ], "x-ms-request-id": [ - "9c609f34-1534-458c-bcdd-31fec895210b" + "bbb70472-4f02-4cd5-98d5-146f2d0f15fa" ], - "x-ms-ratelimit-remaining-subscription-writes": [ - "1190" + "x-ms-ratelimit-remaining-subscription-reads": [ + "14955" ], "x-ms-correlation-request-id": [ - "c16b755b-4588-4c0c-be6b-651b9dab3e26" + "b8211ca2-5553-4e0f-a0b9-e9f5a72fd9e5" ], "x-ms-routing-request-id": [ - "CENTRALUS:20151125T195355Z:c16b755b-4588-4c0c-be6b-651b9dab3e26" + "CENTRALUS:20160107T012859Z:b8211ca2-5553-4e0f-a0b9-e9f5a72fd9e5" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -1519,10 +1846,10 @@ "no-store, no-cache" ], "Date": [ - "Wed, 25 Nov 2015 19:53:55 GMT" + "Thu, 07 Jan 2016 01:28:59 GMT" ], "Location": [ - "https://api-dogfood.resources.windows-int.net/subscriptions/61953354-5115-4340-bf80-f4ccd1cb213e/resourcegroups/StreamAnalytics-Default-West-US/providers/Microsoft.StreamAnalytics/streamingjobs/TestJobPS/OperationResults/1d8c0565-e05c-41c1-bf9b-20e42d37c738?api-version=2015-09-01" + "https://api-dogfood.resources.windows-int.net/subscriptions/61953354-5115-4340-bf80-f4ccd1cb213e/resourcegroups/StreamAnalytics-Default-West-US/providers/Microsoft.StreamAnalytics/streamingjobs/TestJobPS/OperationResults/d1e12c27-e32b-4ee6-a3f6-8d6016c5bc07?api-version=2015-09-01" ], "Server": [ "Microsoft-IIS/8.5" @@ -1534,8 +1861,8 @@ "StatusCode": 202 }, { - "RequestUri": "/subscriptions/61953354-5115-4340-bf80-f4ccd1cb213e/resourcegroups/StreamAnalytics-Default-West-US/providers/Microsoft.StreamAnalytics/streamingjobs/TestJobPS/OperationResults/1d8c0565-e05c-41c1-bf9b-20e42d37c738?api-version=2015-09-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjE5NTMzNTQtNTExNS00MzQwLWJmODAtZjRjY2QxY2IyMTNlL3Jlc291cmNlZ3JvdXBzL1N0cmVhbUFuYWx5dGljcy1EZWZhdWx0LVdlc3QtVVMvcHJvdmlkZXJzL01pY3Jvc29mdC5TdHJlYW1BbmFseXRpY3Mvc3RyZWFtaW5nam9icy9UZXN0Sm9iUFMvT3BlcmF0aW9uUmVzdWx0cy8xZDhjMDU2NS1lMDVjLTQxYzEtYmY5Yi0yMGU0MmQzN2M3Mzg/YXBpLXZlcnNpb249MjAxNS0wOS0wMQ==", + "RequestUri": "/subscriptions/61953354-5115-4340-bf80-f4ccd1cb213e/resourcegroups/StreamAnalytics-Default-West-US/providers/Microsoft.StreamAnalytics/streamingjobs/TestJobPS/OperationResults/d1e12c27-e32b-4ee6-a3f6-8d6016c5bc07?api-version=2015-09-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjE5NTMzNTQtNTExNS00MzQwLWJmODAtZjRjY2QxY2IyMTNlL3Jlc291cmNlZ3JvdXBzL1N0cmVhbUFuYWx5dGljcy1EZWZhdWx0LVdlc3QtVVMvcHJvdmlkZXJzL01pY3Jvc29mdC5TdHJlYW1BbmFseXRpY3Mvc3RyZWFtaW5nam9icy9UZXN0Sm9iUFMvT3BlcmF0aW9uUmVzdWx0cy9kMWUxMmMyNy1lMzJiLTRlZTYtYTNmNi04ZDYwMTZjNWJjMDc/YXBpLXZlcnNpb249MjAxNS0wOS0wMQ==", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { @@ -1564,16 +1891,139 @@ "5.0" ], "x-ms-request-id": [ - "8cfd9d51-6e4c-460d-80a7-be77b2bd88e4" + "5c849292-0baa-4740-a9f0-5350872d8a5d" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "14954" + ], + "x-ms-correlation-request-id": [ + "f6ff90c1-4068-4d31-92a2-6241e9fc3bdc" + ], + "x-ms-routing-request-id": [ + "CENTRALUS:20160107T012911Z:f6ff90c1-4068-4d31-92a2-6241e9fc3bdc" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-store, no-cache" + ], + "Date": [ + "Thu, 07 Jan 2016 01:29:10 GMT" + ], + "Location": [ + "https://api-dogfood.resources.windows-int.net/subscriptions/61953354-5115-4340-bf80-f4ccd1cb213e/resourcegroups/StreamAnalytics-Default-West-US/providers/Microsoft.StreamAnalytics/streamingjobs/TestJobPS/OperationResults/d1e12c27-e32b-4ee6-a3f6-8d6016c5bc07?api-version=2015-09-01" + ], + "Server": [ + "Microsoft-IIS/8.5" + ], + "X-Powered-By": [ + "ASP.NET" + ] + }, + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/61953354-5115-4340-bf80-f4ccd1cb213e/resourcegroups/StreamAnalytics-Default-West-US/providers/Microsoft.StreamAnalytics/streamingjobs/TestJobPS/OperationResults/d1e12c27-e32b-4ee6-a3f6-8d6016c5bc07?api-version=2015-09-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjE5NTMzNTQtNTExNS00MzQwLWJmODAtZjRjY2QxY2IyMTNlL3Jlc291cmNlZ3JvdXBzL1N0cmVhbUFuYWx5dGljcy1EZWZhdWx0LVdlc3QtVVMvcHJvdmlkZXJzL01pY3Jvc29mdC5TdHJlYW1BbmFseXRpY3Mvc3RyZWFtaW5nam9icy9UZXN0Sm9iUFMvT3BlcmF0aW9uUmVzdWx0cy9kMWUxMmMyNy1lMzJiLTRlZTYtYTNmNi04ZDYwMTZjNWJjMDc/YXBpLXZlcnNpb249MjAxNS0wOS0wMQ==", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.StreamAnalytics.StreamAnalyticsManagementClient/1.0.0.0" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Content-Length": [ + "0" + ], + "Content-Type": [ + "application/json" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "X-AspNetMvc-Version": [ + "5.0" + ], + "x-ms-request-id": [ + "019c9630-ce1a-4fec-b17a-8e94cfaffc11" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "14980" + "14953" + ], + "x-ms-correlation-request-id": [ + "d2b94476-f161-46fc-8f68-3adf16da25c5" + ], + "x-ms-routing-request-id": [ + "CENTRALUS:20160107T012922Z:d2b94476-f161-46fc-8f68-3adf16da25c5" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-store, no-cache" + ], + "Date": [ + "Thu, 07 Jan 2016 01:29:21 GMT" + ], + "Server": [ + "Microsoft-IIS/8.5" + ], + "X-Powered-By": [ + "ASP.NET" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/61953354-5115-4340-bf80-f4ccd1cb213e/resourcegroups/StreamAnalytics-Default-West-US/providers/Microsoft.StreamAnalytics/streamingjobs/TestJobPS/stop?api-version=2015-09-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjE5NTMzNTQtNTExNS00MzQwLWJmODAtZjRjY2QxY2IyMTNlL3Jlc291cmNlZ3JvdXBzL1N0cmVhbUFuYWx5dGljcy1EZWZhdWx0LVdlc3QtVVMvcHJvdmlkZXJzL01pY3Jvc29mdC5TdHJlYW1BbmFseXRpY3Mvc3RyZWFtaW5nam9icy9UZXN0Sm9iUFMvc3RvcD9hcGktdmVyc2lvbj0yMDE1LTA5LTAx", + "RequestMethod": "POST", + "RequestBody": "", + "RequestHeaders": { + "x-ms-client-request-id": [ + "78cb8e88-480d-4475-8af1-c430a460fdb3" + ], + "User-Agent": [ + "Microsoft.Azure.Management.StreamAnalytics.StreamAnalyticsManagementClient/1.0.0.0" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Content-Length": [ + "0" + ], + "Content-Type": [ + "application/json" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "Retry-After": [ + "10" + ], + "X-AspNetMvc-Version": [ + "5.0" + ], + "x-ms-request-id": [ + "78cb8e88-480d-4475-8af1-c430a460fdb3" + ], + "x-ms-ratelimit-remaining-subscription-writes": [ + "1174" ], "x-ms-correlation-request-id": [ - "143ae2fe-3a69-40b1-b58f-05fb37945cd8" + "55a410d8-0ff0-472b-896f-54e16818f6d4" ], "x-ms-routing-request-id": [ - "CENTRALUS:20151125T195358Z:143ae2fe-3a69-40b1-b58f-05fb37945cd8" + "CENTRALUS:20160107T012923Z:55a410d8-0ff0-472b-896f-54e16818f6d4" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -1582,10 +2032,10 @@ "no-store, no-cache" ], "Date": [ - "Wed, 25 Nov 2015 19:53:58 GMT" + "Thu, 07 Jan 2016 01:29:22 GMT" ], "Location": [ - "https://api-dogfood.resources.windows-int.net/subscriptions/61953354-5115-4340-bf80-f4ccd1cb213e/resourcegroups/StreamAnalytics-Default-West-US/providers/Microsoft.StreamAnalytics/streamingjobs/TestJobPS/OperationResults/1d8c0565-e05c-41c1-bf9b-20e42d37c738?api-version=2015-09-01" + "https://api-dogfood.resources.windows-int.net/subscriptions/61953354-5115-4340-bf80-f4ccd1cb213e/resourcegroups/StreamAnalytics-Default-West-US/providers/Microsoft.StreamAnalytics/streamingjobs/TestJobPS/OperationResults/1dad9c67-48c3-4ea5-a43f-8d72b7867579?api-version=2015-09-01" ], "Server": [ "Microsoft-IIS/8.5" @@ -1597,8 +2047,8 @@ "StatusCode": 202 }, { - "RequestUri": "/subscriptions/61953354-5115-4340-bf80-f4ccd1cb213e/resourcegroups/StreamAnalytics-Default-West-US/providers/Microsoft.StreamAnalytics/streamingjobs/TestJobPS/OperationResults/1d8c0565-e05c-41c1-bf9b-20e42d37c738?api-version=2015-09-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjE5NTMzNTQtNTExNS00MzQwLWJmODAtZjRjY2QxY2IyMTNlL3Jlc291cmNlZ3JvdXBzL1N0cmVhbUFuYWx5dGljcy1EZWZhdWx0LVdlc3QtVVMvcHJvdmlkZXJzL01pY3Jvc29mdC5TdHJlYW1BbmFseXRpY3Mvc3RyZWFtaW5nam9icy9UZXN0Sm9iUFMvT3BlcmF0aW9uUmVzdWx0cy8xZDhjMDU2NS1lMDVjLTQxYzEtYmY5Yi0yMGU0MmQzN2M3Mzg/YXBpLXZlcnNpb249MjAxNS0wOS0wMQ==", + "RequestUri": "/subscriptions/61953354-5115-4340-bf80-f4ccd1cb213e/resourcegroups/StreamAnalytics-Default-West-US/providers/Microsoft.StreamAnalytics/streamingjobs/TestJobPS/OperationResults/1dad9c67-48c3-4ea5-a43f-8d72b7867579?api-version=2015-09-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjE5NTMzNTQtNTExNS00MzQwLWJmODAtZjRjY2QxY2IyMTNlL3Jlc291cmNlZ3JvdXBzL1N0cmVhbUFuYWx5dGljcy1EZWZhdWx0LVdlc3QtVVMvcHJvdmlkZXJzL01pY3Jvc29mdC5TdHJlYW1BbmFseXRpY3Mvc3RyZWFtaW5nam9icy9UZXN0Sm9iUFMvT3BlcmF0aW9uUmVzdWx0cy8xZGFkOWM2Ny00OGMzLTRlYTUtYTQzZi04ZDcyYjc4Njc1Nzk/YXBpLXZlcnNpb249MjAxNS0wOS0wMQ==", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { @@ -1627,16 +2077,16 @@ "5.0" ], "x-ms-request-id": [ - "ebc32870-4f86-490e-bd13-1e24623893ad" + "51af62bb-9909-4858-b881-0452da58c779" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "14979" + "14950" ], "x-ms-correlation-request-id": [ - "dc699461-d094-4519-9a83-954bba79e2c7" + "f8b17012-12ed-4ef0-a5cb-a8212abfbad8" ], "x-ms-routing-request-id": [ - "CENTRALUS:20151125T195411Z:dc699461-d094-4519-9a83-954bba79e2c7" + "CENTRALUS:20160107T012923Z:f8b17012-12ed-4ef0-a5cb-a8212abfbad8" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -1645,10 +2095,10 @@ "no-store, no-cache" ], "Date": [ - "Wed, 25 Nov 2015 19:54:11 GMT" + "Thu, 07 Jan 2016 01:29:22 GMT" ], "Location": [ - "https://api-dogfood.resources.windows-int.net/subscriptions/61953354-5115-4340-bf80-f4ccd1cb213e/resourcegroups/StreamAnalytics-Default-West-US/providers/Microsoft.StreamAnalytics/streamingjobs/TestJobPS/OperationResults/1d8c0565-e05c-41c1-bf9b-20e42d37c738?api-version=2015-09-01" + "https://api-dogfood.resources.windows-int.net/subscriptions/61953354-5115-4340-bf80-f4ccd1cb213e/resourcegroups/StreamAnalytics-Default-West-US/providers/Microsoft.StreamAnalytics/streamingjobs/TestJobPS/OperationResults/1dad9c67-48c3-4ea5-a43f-8d72b7867579?api-version=2015-09-01" ], "Server": [ "Microsoft-IIS/8.5" @@ -1660,8 +2110,8 @@ "StatusCode": 202 }, { - "RequestUri": "/subscriptions/61953354-5115-4340-bf80-f4ccd1cb213e/resourcegroups/StreamAnalytics-Default-West-US/providers/Microsoft.StreamAnalytics/streamingjobs/TestJobPS/OperationResults/1d8c0565-e05c-41c1-bf9b-20e42d37c738?api-version=2015-09-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjE5NTMzNTQtNTExNS00MzQwLWJmODAtZjRjY2QxY2IyMTNlL3Jlc291cmNlZ3JvdXBzL1N0cmVhbUFuYWx5dGljcy1EZWZhdWx0LVdlc3QtVVMvcHJvdmlkZXJzL01pY3Jvc29mdC5TdHJlYW1BbmFseXRpY3Mvc3RyZWFtaW5nam9icy9UZXN0Sm9iUFMvT3BlcmF0aW9uUmVzdWx0cy8xZDhjMDU2NS1lMDVjLTQxYzEtYmY5Yi0yMGU0MmQzN2M3Mzg/YXBpLXZlcnNpb249MjAxNS0wOS0wMQ==", + "RequestUri": "/subscriptions/61953354-5115-4340-bf80-f4ccd1cb213e/resourcegroups/StreamAnalytics-Default-West-US/providers/Microsoft.StreamAnalytics/streamingjobs/TestJobPS/OperationResults/1dad9c67-48c3-4ea5-a43f-8d72b7867579?api-version=2015-09-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjE5NTMzNTQtNTExNS00MzQwLWJmODAtZjRjY2QxY2IyMTNlL3Jlc291cmNlZ3JvdXBzL1N0cmVhbUFuYWx5dGljcy1EZWZhdWx0LVdlc3QtVVMvcHJvdmlkZXJzL01pY3Jvc29mdC5TdHJlYW1BbmFseXRpY3Mvc3RyZWFtaW5nam9icy9UZXN0Sm9iUFMvT3BlcmF0aW9uUmVzdWx0cy8xZGFkOWM2Ny00OGMzLTRlYTUtYTQzZi04ZDcyYjc4Njc1Nzk/YXBpLXZlcnNpb249MjAxNS0wOS0wMQ==", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { @@ -1690,16 +2140,16 @@ "5.0" ], "x-ms-request-id": [ - "70a98e31-4f07-4cbc-8fb8-1b09ea45c693" + "c556876b-4c8f-4a82-8e9b-c9817d6b699a" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "14978" + "14949" ], "x-ms-correlation-request-id": [ - "816e45a8-b501-42be-a811-20b583e2e9c5" + "402bce2f-694e-4de5-89ef-b80c3fd6594c" ], "x-ms-routing-request-id": [ - "CENTRALUS:20151125T195423Z:816e45a8-b501-42be-a811-20b583e2e9c5" + "CENTRALUS:20160107T012941Z:402bce2f-694e-4de5-89ef-b80c3fd6594c" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -1708,10 +2158,10 @@ "no-store, no-cache" ], "Date": [ - "Wed, 25 Nov 2015 19:54:22 GMT" + "Thu, 07 Jan 2016 01:29:41 GMT" ], "Location": [ - "https://api-dogfood.resources.windows-int.net/subscriptions/61953354-5115-4340-bf80-f4ccd1cb213e/resourcegroups/StreamAnalytics-Default-West-US/providers/Microsoft.StreamAnalytics/streamingjobs/TestJobPS/OperationResults/1d8c0565-e05c-41c1-bf9b-20e42d37c738?api-version=2015-09-01" + "https://api-dogfood.resources.windows-int.net/subscriptions/61953354-5115-4340-bf80-f4ccd1cb213e/resourcegroups/StreamAnalytics-Default-West-US/providers/Microsoft.StreamAnalytics/streamingjobs/TestJobPS/OperationResults/1dad9c67-48c3-4ea5-a43f-8d72b7867579?api-version=2015-09-01" ], "Server": [ "Microsoft-IIS/8.5" @@ -1723,8 +2173,8 @@ "StatusCode": 202 }, { - "RequestUri": "/subscriptions/61953354-5115-4340-bf80-f4ccd1cb213e/resourcegroups/StreamAnalytics-Default-West-US/providers/Microsoft.StreamAnalytics/streamingjobs/TestJobPS/OperationResults/1d8c0565-e05c-41c1-bf9b-20e42d37c738?api-version=2015-09-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjE5NTMzNTQtNTExNS00MzQwLWJmODAtZjRjY2QxY2IyMTNlL3Jlc291cmNlZ3JvdXBzL1N0cmVhbUFuYWx5dGljcy1EZWZhdWx0LVdlc3QtVVMvcHJvdmlkZXJzL01pY3Jvc29mdC5TdHJlYW1BbmFseXRpY3Mvc3RyZWFtaW5nam9icy9UZXN0Sm9iUFMvT3BlcmF0aW9uUmVzdWx0cy8xZDhjMDU2NS1lMDVjLTQxYzEtYmY5Yi0yMGU0MmQzN2M3Mzg/YXBpLXZlcnNpb249MjAxNS0wOS0wMQ==", + "RequestUri": "/subscriptions/61953354-5115-4340-bf80-f4ccd1cb213e/resourcegroups/StreamAnalytics-Default-West-US/providers/Microsoft.StreamAnalytics/streamingjobs/TestJobPS/OperationResults/1dad9c67-48c3-4ea5-a43f-8d72b7867579?api-version=2015-09-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjE5NTMzNTQtNTExNS00MzQwLWJmODAtZjRjY2QxY2IyMTNlL3Jlc291cmNlZ3JvdXBzL1N0cmVhbUFuYWx5dGljcy1EZWZhdWx0LVdlc3QtVVMvcHJvdmlkZXJzL01pY3Jvc29mdC5TdHJlYW1BbmFseXRpY3Mvc3RyZWFtaW5nam9icy9UZXN0Sm9iUFMvT3BlcmF0aW9uUmVzdWx0cy8xZGFkOWM2Ny00OGMzLTRlYTUtYTQzZi04ZDcyYjc4Njc1Nzk/YXBpLXZlcnNpb249MjAxNS0wOS0wMQ==", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { @@ -1750,16 +2200,142 @@ "5.0" ], "x-ms-request-id": [ - "2b373511-d50a-433a-8943-937e3ffc1263" + "cd9bab88-e4e8-4a00-9b54-e079fc8dc7b1" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "14977" + "14948" + ], + "x-ms-correlation-request-id": [ + "9df4ea79-9585-418f-b6c5-bd9305d2eaa2" + ], + "x-ms-routing-request-id": [ + "CENTRALUS:20160107T012954Z:9df4ea79-9585-418f-b6c5-bd9305d2eaa2" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-store, no-cache" + ], + "Date": [ + "Thu, 07 Jan 2016 01:29:53 GMT" + ], + "Server": [ + "Microsoft-IIS/8.5" + ], + "X-Powered-By": [ + "ASP.NET" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/61953354-5115-4340-bf80-f4ccd1cb213e/resourcegroups/StreamAnalytics-Default-West-US/providers/Microsoft.StreamAnalytics/streamingjobs/TestJobPS/functions/scoreTweet/RetrieveDefaultDefinition?api-version=2015-09-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjE5NTMzNTQtNTExNS00MzQwLWJmODAtZjRjY2QxY2IyMTNlL3Jlc291cmNlZ3JvdXBzL1N0cmVhbUFuYWx5dGljcy1EZWZhdWx0LVdlc3QtVVMvcHJvdmlkZXJzL01pY3Jvc29mdC5TdHJlYW1BbmFseXRpY3Mvc3RyZWFtaW5nam9icy9UZXN0Sm9iUFMvZnVuY3Rpb25zL3Njb3JlVHdlZXQvUmV0cmlldmVEZWZhdWx0RGVmaW5pdGlvbj9hcGktdmVyc2lvbj0yMDE1LTA5LTAx", + "RequestMethod": "POST", + "RequestBody": "{\r\n \"bindingType\": \"Microsoft.MachineLearning/WebService\",\r\n \"bindingRetrievalProperties\": {\r\n \"executeEndpoint\": \"https://ussouthcentral.services.azureml.net/workspaces/f80d5d7a77fa4a46bf2a30c63c078dca/services/b7be5e40fd194258896fb602c1858eaf/execute?api-version=2.0&details=true\",\r\n \"udfType\": \"Scalar\"\r\n }\r\n}", + "RequestHeaders": { + "Content-Type": [ + "application/json" + ], + "Content-Length": [ + "339" + ], + "x-ms-client-request-id": [ + "33db376b-ab9c-42a4-b4c5-af2e8d0054b3" + ], + "User-Agent": [ + "Microsoft.Azure.Management.StreamAnalytics.StreamAnalyticsManagementClient/1.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"name\": \"scoreTweet\",\r\n \"properties\": {\r\n \"type\": \"Scalar\",\r\n \"properties\": {\r\n \"inputs\": [\r\n {\r\n \"dataType\": \"nvarchar(max)\",\r\n \"isConfigurationParameter\": null\r\n }\r\n ],\r\n \"output\": {\r\n \"dataType\": \"nvarchar(max)\"\r\n },\r\n \"binding\": {\r\n \"type\": \"Microsoft.MachineLearning/WebService\",\r\n \"properties\": {\r\n \"endpoint\": \"https://ussouthcentral.services.azureml.net/workspaces/f80d5d7a77fa4a46bf2a30c63c078dca/services/b7be5e40fd194258896fb602c1858eaf/execute?api-version=2.0&details=true\",\r\n \"apiKey\": null,\r\n \"inputs\": {\r\n \"name\": \"input1\",\r\n \"columnNames\": [\r\n {\r\n \"name\": \"tweet\",\r\n \"dataType\": \"string\",\r\n \"mapTo\": 0\r\n }\r\n ]\r\n },\r\n \"outputs\": [\r\n {\r\n \"name\": \"Sentiment\",\r\n \"dataType\": \"string\"\r\n }\r\n ],\r\n \"batchSize\": 1000\r\n }\r\n }\r\n }\r\n }\r\n}", + "ResponseHeaders": { + "Content-Length": [ + "604" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "X-AspNetMvc-Version": [ + "5.0" + ], + "x-ms-request-id": [ + "754b7064-17ab-4d07-9d22-08fbab0c4ac4" + ], + "x-ms-ratelimit-remaining-subscription-writes": [ + "1173" + ], + "x-ms-correlation-request-id": [ + "0d3a683a-8cb8-4750-b20c-0200a52cf9cc" + ], + "x-ms-routing-request-id": [ + "CENTRALUS:20160107T013000Z:0d3a683a-8cb8-4750-b20c-0200a52cf9cc" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-store, no-cache" + ], + "Date": [ + "Thu, 07 Jan 2016 01:29:59 GMT" + ], + "Server": [ + "Microsoft-IIS/8.5" + ], + "X-Powered-By": [ + "ASP.NET" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/61953354-5115-4340-bf80-f4ccd1cb213e/resourcegroups/StreamAnalytics-Default-West-US/providers/Microsoft.StreamAnalytics/streamingjobs/TestJobPS/functions/scoreTweet?api-version=2015-09-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjE5NTMzNTQtNTExNS00MzQwLWJmODAtZjRjY2QxY2IyMTNlL3Jlc291cmNlZ3JvdXBzL1N0cmVhbUFuYWx5dGljcy1EZWZhdWx0LVdlc3QtVVMvcHJvdmlkZXJzL01pY3Jvc29mdC5TdHJlYW1BbmFseXRpY3Mvc3RyZWFtaW5nam9icy9UZXN0Sm9iUFMvZnVuY3Rpb25zL3Njb3JlVHdlZXQ/YXBpLXZlcnNpb249MjAxNS0wOS0wMQ==", + "RequestMethod": "DELETE", + "RequestBody": "", + "RequestHeaders": { + "x-ms-client-request-id": [ + "cc4baf17-a7c0-4cdc-8a08-17604832169d" + ], + "User-Agent": [ + "Microsoft.Azure.Management.StreamAnalytics.StreamAnalyticsManagementClient/1.0.0.0" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Content-Length": [ + "0" + ], + "Content-Type": [ + "application/json" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "X-AspNetMvc-Version": [ + "5.0" + ], + "x-ms-request-id": [ + "cc4baf17-a7c0-4cdc-8a08-17604832169d" + ], + "x-ms-ratelimit-remaining-subscription-writes": [ + "1172" ], "x-ms-correlation-request-id": [ - "35eabbbf-5bff-4998-8951-d7f930585f2f" + "3d2510b0-5a36-4d1c-9d5b-5078d2490ed5" ], "x-ms-routing-request-id": [ - "CENTRALUS:20151125T195433Z:35eabbbf-5bff-4998-8951-d7f930585f2f" + "CENTRALUS:20160107T013001Z:3d2510b0-5a36-4d1c-9d5b-5078d2490ed5" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -1768,7 +2344,7 @@ "no-store, no-cache" ], "Date": [ - "Wed, 25 Nov 2015 19:54:33 GMT" + "Thu, 07 Jan 2016 01:30:00 GMT" ], "Server": [ "Microsoft-IIS/8.5" @@ -1786,7 +2362,7 @@ "RequestBody": "", "RequestHeaders": { "x-ms-client-request-id": [ - "3cbd0dfe-09bd-465e-8b8e-acb5bf1ea232" + "3deb5933-eaad-4eb5-8a85-12248c68a297" ], "User-Agent": [ "Microsoft.Azure.Management.StreamAnalytics.StreamAnalyticsManagementClient/1.0.0.0" @@ -1810,16 +2386,16 @@ "5.0" ], "x-ms-request-id": [ - "3cbd0dfe-09bd-465e-8b8e-acb5bf1ea232" + "3deb5933-eaad-4eb5-8a85-12248c68a297" ], "x-ms-ratelimit-remaining-subscription-writes": [ - "1189" + "1171" ], "x-ms-correlation-request-id": [ - "ecc2fc2b-7ea2-4190-b42b-d397fa9e1895" + "830679be-728e-47d6-b6cd-2e05bef787d1" ], "x-ms-routing-request-id": [ - "CENTRALUS:20151125T195434Z:ecc2fc2b-7ea2-4190-b42b-d397fa9e1895" + "CENTRALUS:20160107T013001Z:830679be-728e-47d6-b6cd-2e05bef787d1" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -1828,7 +2404,7 @@ "no-store, no-cache" ], "Date": [ - "Wed, 25 Nov 2015 19:54:33 GMT" + "Thu, 07 Jan 2016 01:30:01 GMT" ], "Server": [ "Microsoft-IIS/8.5" @@ -1846,7 +2422,7 @@ "RequestBody": "", "RequestHeaders": { "x-ms-client-request-id": [ - "276fa455-dcb5-4f3f-8a05-88596b553b40" + "c4720b1b-9002-45b3-b593-4cd5e8b1de6e" ], "User-Agent": [ "Microsoft.Azure.Management.StreamAnalytics.StreamAnalyticsManagementClient/1.0.0.0" @@ -1870,16 +2446,16 @@ "5.0" ], "x-ms-request-id": [ - "276fa455-dcb5-4f3f-8a05-88596b553b40" + "c4720b1b-9002-45b3-b593-4cd5e8b1de6e" ], "x-ms-ratelimit-remaining-subscription-writes": [ - "1188" + "1170" ], "x-ms-correlation-request-id": [ - "f6599cc7-54d7-4de1-acb8-8040d50e8c4d" + "831a1779-1aea-492f-8414-d9ac43dfc53e" ], "x-ms-routing-request-id": [ - "CENTRALUS:20151125T195434Z:f6599cc7-54d7-4de1-acb8-8040d50e8c4d" + "CENTRALUS:20160107T013002Z:831a1779-1aea-492f-8414-d9ac43dfc53e" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -1888,7 +2464,7 @@ "no-store, no-cache" ], "Date": [ - "Wed, 25 Nov 2015 19:54:33 GMT" + "Thu, 07 Jan 2016 01:30:02 GMT" ], "Server": [ "Microsoft-IIS/8.5" @@ -1906,7 +2482,7 @@ "RequestBody": "", "RequestHeaders": { "x-ms-client-request-id": [ - "e7a22418-953b-4d77-8c81-fbaa9d92586f" + "69d0fbce-0364-4747-95e8-41f357d78c04" ], "User-Agent": [ "Microsoft.Azure.Management.StreamAnalytics.StreamAnalyticsManagementClient/1.0.0.0" @@ -1930,16 +2506,16 @@ "5.0" ], "x-ms-request-id": [ - "e7a22418-953b-4d77-8c81-fbaa9d92586f" + "69d0fbce-0364-4747-95e8-41f357d78c04" ], "x-ms-ratelimit-remaining-subscription-writes": [ - "1187" + "1169" ], "x-ms-correlation-request-id": [ - "813e5046-37d7-41ae-a9b1-6ea921fb0651" + "04dfb9d7-a38c-4fbd-9393-4148d1d12314" ], "x-ms-routing-request-id": [ - "CENTRALUS:20151125T195434Z:813e5046-37d7-41ae-a9b1-6ea921fb0651" + "CENTRALUS:20160107T013004Z:04dfb9d7-a38c-4fbd-9393-4148d1d12314" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -1948,7 +2524,7 @@ "no-store, no-cache" ], "Date": [ - "Wed, 25 Nov 2015 19:54:34 GMT" + "Thu, 07 Jan 2016 01:30:03 GMT" ], "Server": [ "Microsoft-IIS/8.5" diff --git a/src/ResourceManager/StreamAnalytics/Commands.StreamAnalytics.Test/packages.config b/src/ResourceManager/StreamAnalytics/Commands.StreamAnalytics.Test/packages.config index 8d99c59bcd26..ee131366ce61 100644 --- a/src/ResourceManager/StreamAnalytics/Commands.StreamAnalytics.Test/packages.config +++ b/src/ResourceManager/StreamAnalytics/Commands.StreamAnalytics.Test/packages.config @@ -8,7 +8,7 @@ - + diff --git a/src/ResourceManager/StreamAnalytics/Commands.StreamAnalytics/Commands.StreamAnalytics.csproj b/src/ResourceManager/StreamAnalytics/Commands.StreamAnalytics/Commands.StreamAnalytics.csproj index 761928d34e91..76fa2a6ac70e 100644 --- a/src/ResourceManager/StreamAnalytics/Commands.StreamAnalytics/Commands.StreamAnalytics.csproj +++ b/src/ResourceManager/StreamAnalytics/Commands.StreamAnalytics/Commands.StreamAnalytics.csproj @@ -67,7 +67,7 @@ False - ..\..\..\packages\Microsoft.Azure.Management.StreamAnalytics.1.7.1\lib\net40\Microsoft.Azure.Management.StreamAnalytics.dll + ..\..\..\packages\Microsoft.Azure.Management.StreamAnalytics.1.7.3\lib\net40\Microsoft.Azure.Management.StreamAnalytics.dll False @@ -139,6 +139,11 @@ + + + + + @@ -150,20 +155,25 @@ + + + + + @@ -191,6 +201,7 @@ Always + Designer AzureRM.StreamAnalytics.psd1 @@ -202,6 +213,7 @@ Always + Designer @@ -221,5 +233,6 @@ Commands.ResourceManager.Common + \ No newline at end of file diff --git a/src/ResourceManager/StreamAnalytics/Commands.StreamAnalytics/Constants.cs b/src/ResourceManager/StreamAnalytics/Commands.StreamAnalytics/Constants.cs index 308a8e3d7afa..ab5000e9bb3c 100644 --- a/src/ResourceManager/StreamAnalytics/Commands.StreamAnalytics/Constants.cs +++ b/src/ResourceManager/StreamAnalytics/Commands.StreamAnalytics/Constants.cs @@ -26,6 +26,10 @@ internal static class Constants public const string StreamAnalyticsTransformation = "AzureRmStreamAnalyticsTransformation"; + public const string StreamAnalyticsFunction = "AzureRmStreamAnalyticsFunction"; + + public const string StreamAnalyticsDefaultFunctionDefinition = "AzureRmStreamAnalyticsDefaultFunctionDefinition"; + public const string StreamAnalyticsQuota = "AzureRmStreamAnalyticsQuota"; } } \ No newline at end of file diff --git a/src/ResourceManager/StreamAnalytics/Commands.StreamAnalytics/Function/GetAzureStreamAnalyticsFunctionCommand.cs b/src/ResourceManager/StreamAnalytics/Commands.StreamAnalytics/Function/GetAzureStreamAnalyticsFunctionCommand.cs new file mode 100644 index 000000000000..fbaf73d17cca --- /dev/null +++ b/src/ResourceManager/StreamAnalytics/Commands.StreamAnalytics/Function/GetAzureStreamAnalyticsFunctionCommand.cs @@ -0,0 +1,60 @@ +// +// 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.Collections.Generic; +using System.Management.Automation; +using System.Security.Permissions; +using Microsoft.Azure.Commands.StreamAnalytics.Models; + +namespace Microsoft.Azure.Commands.StreamAnalytics +{ + [Cmdlet(VerbsCommon.Get, Constants.StreamAnalyticsFunction), OutputType(typeof(List), typeof(PSFunction))] + public class GetAzureStreamAnalyticsFunctionCommand : StreamAnalyticsResourceProviderBaseCmdlet + { + [Parameter(Position = 1, Mandatory = true, ValueFromPipelineByPropertyName = true, HelpMessage = "The azure stream analytics job name.")] + [ValidateNotNullOrEmpty] + public string JobName { get; set; } + + [Parameter(Position = 2, Mandatory = false, ValueFromPipelineByPropertyName = true, HelpMessage = "The azure stream analytics function name.")] + [ValidateNotNullOrEmpty] + public string Name { get; set; } + + [EnvironmentPermission(SecurityAction.Demand, Unrestricted = true)] + public override void ExecuteCmdlet() + { + if (ResourceGroupName != null && string.IsNullOrWhiteSpace(ResourceGroupName)) + { + throw new PSArgumentNullException("ResourceGroupName"); + } + + if (JobName != null && string.IsNullOrWhiteSpace(JobName)) + { + throw new PSArgumentNullException("JobName"); + } + + if (Name == null || string.IsNullOrWhiteSpace(Name)) + { + Name = string.Empty; + } + + FunctionFilterOptions filterOptions = new FunctionFilterOptions() + { + Name = Name, + JobName = JobName, + ResourceGroupName = ResourceGroupName + }; + + WriteObject(StreamAnalyticsClient.FilterPSFunctions(filterOptions), true); + } + } +} diff --git a/src/ResourceManager/StreamAnalytics/Commands.StreamAnalytics/Function/GetAzureStreamAnalyticsFunctionDefaultDefinitionCommand.cs b/src/ResourceManager/StreamAnalytics/Commands.StreamAnalytics/Function/GetAzureStreamAnalyticsFunctionDefaultDefinitionCommand.cs new file mode 100644 index 000000000000..a725b7dba2cf --- /dev/null +++ b/src/ResourceManager/StreamAnalytics/Commands.StreamAnalytics/Function/GetAzureStreamAnalyticsFunctionDefaultDefinitionCommand.cs @@ -0,0 +1,77 @@ +// ---------------------------------------------------------------------------------- +// +// 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 System.Security.Permissions; +using Microsoft.Azure.Commands.StreamAnalytics.Models; +using Microsoft.Azure.Commands.StreamAnalytics.Properties; +using Microsoft.WindowsAzure.Commands.Utilities.Common; + +namespace Microsoft.Azure.Commands.StreamAnalytics +{ + [Cmdlet(VerbsCommon.Get, Constants.StreamAnalyticsDefaultFunctionDefinition), OutputType(typeof(PSFunction))] + public class GetAzureStreamAnalyticsFunctionDefaultDefinitionCommand : StreamAnalyticsResourceProviderBaseCmdlet + { + [Parameter(Position = 1, Mandatory = true, ValueFromPipelineByPropertyName = true, HelpMessage = "The stream analytics job name.")] + [ValidateNotNullOrEmpty] + public string JobName { get; set; } + + [Parameter(Position = 2, Mandatory = true, ValueFromPipelineByPropertyName = true, HelpMessage = "The stream analytics function name.")] + [ValidateNotNullOrEmpty] + public string Name { get; set; } + + [Parameter(Position = 3, Mandatory = true, HelpMessage = "The stream analytics function JSON file path.")] + [ValidateNotNullOrEmpty] + public string File { get; set; } + + [EnvironmentPermission(SecurityAction.Demand, Unrestricted = true)] + public override void ExecuteCmdlet() + { + if (ResourceGroupName != null && string.IsNullOrWhiteSpace(ResourceGroupName)) + { + throw new PSArgumentNullException("ResourceGroupName"); + } + + if (JobName != null && string.IsNullOrWhiteSpace(JobName)) + { + throw new PSArgumentNullException("JobName"); + } + + if (File != null && string.IsNullOrWhiteSpace(File)) + { + throw new PSArgumentNullException("File"); + } + + string rawJsonContent = StreamAnalyticsClient.ReadJsonFileContent(this.TryResolvePath(File)); + + Name = ResolveResourceName(rawJsonContent, Name, "Function"); + + if (Name != null && string.IsNullOrWhiteSpace(Name)) + { + throw new ArgumentException(Resources.FunctionNameCannotBeEmpty); + } + + RetrieveDefaultPSFunctionDefinitionParameter parameter = new RetrieveDefaultPSFunctionDefinitionParameter + { + ResourceGroupName = ResourceGroupName, + JobName = JobName, + FunctionName = Name, + RawJsonContent = rawJsonContent + }; + + WriteObject(StreamAnalyticsClient.RetrieveDefaultPSFunctionDefinition(parameter)); + } + } +} diff --git a/src/ResourceManager/StreamAnalytics/Commands.StreamAnalytics/Function/NewAzureStreamAnalyticsFunctionCommand.cs b/src/ResourceManager/StreamAnalytics/Commands.StreamAnalytics/Function/NewAzureStreamAnalyticsFunctionCommand.cs new file mode 100644 index 000000000000..fa4f239d8a82 --- /dev/null +++ b/src/ResourceManager/StreamAnalytics/Commands.StreamAnalytics/Function/NewAzureStreamAnalyticsFunctionCommand.cs @@ -0,0 +1,82 @@ +// ---------------------------------------------------------------------------------- +// +// 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 System.Security.Permissions; +using Microsoft.Azure.Commands.StreamAnalytics.Models; +using Microsoft.Azure.Commands.StreamAnalytics.Properties; +using Microsoft.WindowsAzure.Commands.Utilities.Common; + +namespace Microsoft.Azure.Commands.StreamAnalytics +{ + [Cmdlet(VerbsCommon.New, Constants.StreamAnalyticsFunction), OutputType(typeof(PSFunction))] + public class NewAzureStreamAnalyticsFunctionCommand : StreamAnalyticsResourceProviderBaseCmdlet + { + [Parameter(Position = 1, Mandatory = true, ValueFromPipelineByPropertyName = true, HelpMessage = "The stream analytics job name.")] + [ValidateNotNullOrEmpty] + public string JobName { get; set; } + + [Parameter(Position = 2, Mandatory = false, ValueFromPipelineByPropertyName = true, HelpMessage = "The stream analytics function name.")] + [ValidateNotNullOrEmpty] + public string Name { get; set; } + + [Parameter(Position = 3, Mandatory = true, HelpMessage = "The stream analytics function JSON file path.")] + [ValidateNotNullOrEmpty] + public string File { get; set; } + + [Parameter(Mandatory = false, HelpMessage = "Don't ask for confirmation.")] + public SwitchParameter Force { get; set; } + + [EnvironmentPermission(SecurityAction.Demand, Unrestricted = true)] + public override void ExecuteCmdlet() + { + if (ResourceGroupName != null && string.IsNullOrWhiteSpace(ResourceGroupName)) + { + throw new PSArgumentNullException("ResourceGroupName"); + } + + if (JobName != null && string.IsNullOrWhiteSpace(JobName)) + { + throw new PSArgumentNullException("JobName"); + } + + if (File != null && string.IsNullOrWhiteSpace(File)) + { + throw new PSArgumentNullException("File"); + } + + string rawJsonContent = StreamAnalyticsClient.ReadJsonFileContent(this.TryResolvePath(File)); + + Name = ResolveResourceName(rawJsonContent, Name, "Function"); + + if (Name != null && string.IsNullOrWhiteSpace(Name)) + { + throw new ArgumentException(Resources.FunctionNameCannotBeEmpty); + } + + CreatePSFunctionParameter parameter = new CreatePSFunctionParameter + { + ResourceGroupName = ResourceGroupName, + JobName = JobName, + FunctionName = Name, + RawJsonContent = rawJsonContent, + Force = Force.IsPresent, + ConfirmAction = ConfirmAction + }; + + WriteObject(StreamAnalyticsClient.CreatePSFunction(parameter)); + } + } +} diff --git a/src/ResourceManager/StreamAnalytics/Commands.StreamAnalytics/Function/RemoveAzureStreamAnalyticsFunctionCommand.cs b/src/ResourceManager/StreamAnalytics/Commands.StreamAnalytics/Function/RemoveAzureStreamAnalyticsFunctionCommand.cs new file mode 100644 index 000000000000..a06fd00d843e --- /dev/null +++ b/src/ResourceManager/StreamAnalytics/Commands.StreamAnalytics/Function/RemoveAzureStreamAnalyticsFunctionCommand.cs @@ -0,0 +1,86 @@ +// ---------------------------------------------------------------------------------- +// +// 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.Globalization; +using System.Management.Automation; +using System.Net; +using System.Security.Permissions; +using Microsoft.Azure.Commands.StreamAnalytics.Properties; + +namespace Microsoft.Azure.Commands.StreamAnalytics +{ + [Cmdlet(VerbsCommon.Remove, Constants.StreamAnalyticsFunction)] + public class RemoveAzureStreamAnalyticsFunctionCommand : StreamAnalyticsResourceProviderBaseCmdlet + { + [Parameter(Position = 1, Mandatory = true, ValueFromPipelineByPropertyName = true, HelpMessage = "The azure stream analytics job name.")] + [ValidateNotNullOrEmpty] + public string JobName { get; set; } + + [Parameter(Position = 2, Mandatory = true, ValueFromPipelineByPropertyName = true, HelpMessage = "The stream analytics function name.")] + [ValidateNotNullOrEmpty] + public string Name { get; set; } + + [Parameter(Mandatory = false, HelpMessage = "Don't ask for confirmation.")] + public SwitchParameter Force { get; set; } + + [EnvironmentPermission(SecurityAction.Demand, Unrestricted = true)] + public override void ExecuteCmdlet() + { + if (ResourceGroupName != null && string.IsNullOrWhiteSpace(ResourceGroupName)) + { + throw new PSArgumentNullException("ResourceGroupName"); + } + + if (JobName != null && string.IsNullOrWhiteSpace(JobName)) + { + throw new PSArgumentNullException("JobName"); + } + + if (Name != null && string.IsNullOrWhiteSpace(Name)) + { + throw new PSArgumentNullException("Name"); + } + + this.ConfirmAction( + this.Force.IsPresent, + string.Format( + CultureInfo.InvariantCulture, + Resources.FunctionRemovalConfirmationMessage, + this.Name, + this.JobName, + this.ResourceGroupName), + string.Format( + CultureInfo.InvariantCulture, + Resources.FunctionRemoving, + this.Name, + this.JobName, + this.ResourceGroupName), + this.Name, + this.ExecuteDelete); + } + + private void ExecuteDelete() + { + HttpStatusCode statusCode = StreamAnalyticsClient.RemovePSFunction(ResourceGroupName, JobName, Name); + if (statusCode == HttpStatusCode.NoContent) + { + WriteWarning(string.Format(CultureInfo.InvariantCulture, Resources.FunctionNotFound, Name, JobName, ResourceGroupName)); + } + else + { + WriteObject(true); + } + } + } +} diff --git a/src/ResourceManager/StreamAnalytics/Commands.StreamAnalytics/Function/TestAzureStreamAnalyticsFunctionCommand.cs b/src/ResourceManager/StreamAnalytics/Commands.StreamAnalytics/Function/TestAzureStreamAnalyticsFunctionCommand.cs new file mode 100644 index 000000000000..cbaf062945e7 --- /dev/null +++ b/src/ResourceManager/StreamAnalytics/Commands.StreamAnalytics/Function/TestAzureStreamAnalyticsFunctionCommand.cs @@ -0,0 +1,90 @@ +// ---------------------------------------------------------------------------------- +// +// 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.Globalization; +using System.Management.Automation; +using System.Net; +using System.Security.Permissions; +using Microsoft.Azure.Commands.StreamAnalytics.Properties; +using Microsoft.Azure.Management.StreamAnalytics.Models; + +namespace Microsoft.Azure.Commands.StreamAnalytics +{ + [Cmdlet(VerbsDiagnostic.Test, Constants.StreamAnalyticsFunction)] + public class TestAzureStreamAnalyticsFunctionCommand : StreamAnalyticsResourceProviderBaseCmdlet + { + [Parameter(Position = 1, Mandatory = true, ValueFromPipelineByPropertyName = true, HelpMessage = "The azure stream analytics job name.")] + [ValidateNotNullOrEmpty] + public string JobName { get; set; } + + [Parameter(Position = 2, Mandatory = true, ValueFromPipelineByPropertyName = true, HelpMessage = "The stream analytics function name.")] + [ValidateNotNullOrEmpty] + public string Name { get; set; } + + [EnvironmentPermission(SecurityAction.Demand, Unrestricted = true)] + public override void ExecuteCmdlet() + { + if (ResourceGroupName != null && string.IsNullOrWhiteSpace(ResourceGroupName)) + { + throw new PSArgumentNullException("ResourceGroupName"); + } + + if (JobName != null && string.IsNullOrWhiteSpace(JobName)) + { + throw new PSArgumentNullException("JobName"); + } + + if (Name != null && string.IsNullOrWhiteSpace(Name)) + { + throw new PSArgumentNullException("Name"); + } + + try + { + ResourceTestConnectionResponse response = StreamAnalyticsClient.TestPSFunction(ResourceGroupName, JobName, Name); + if (response.StatusCode == HttpStatusCode.OK && response.ResourceTestStatus == ResourceTestStatus.TestSucceeded) + { + WriteObject(true); + } + else if (response.StatusCode == HttpStatusCode.NoContent) + { + WriteWarning(string.Format(CultureInfo.InvariantCulture, Resources.FunctionNotFound, Name, JobName, ResourceGroupName)); + } + else + { + string errorId = null; + string errorMessage = null; + string innerErrorMessage = null; + if (response.Error != null) + { + errorId = response.Error.Code; + errorMessage = response.Error.Message; + if (response.Error.Details != null) + { + innerErrorMessage = response.Error.Details.Message; + } + } + + Exception ex = new Exception(errorMessage, new Exception(innerErrorMessage)); + WriteError(new ErrorRecord(ex, errorId, ErrorCategory.ConnectionError, null)); + } + } + catch + { + WriteObject(false); + } + } + } +} diff --git a/src/ResourceManager/StreamAnalytics/Commands.StreamAnalytics/Input/TestAzureStreamAnalyticsInputCommand.cs b/src/ResourceManager/StreamAnalytics/Commands.StreamAnalytics/Input/TestAzureStreamAnalyticsInputCommand.cs index e9983374ebae..e576947f9b18 100644 --- a/src/ResourceManager/StreamAnalytics/Commands.StreamAnalytics/Input/TestAzureStreamAnalyticsInputCommand.cs +++ b/src/ResourceManager/StreamAnalytics/Commands.StreamAnalytics/Input/TestAzureStreamAnalyticsInputCommand.cs @@ -53,8 +53,8 @@ public override void ExecuteCmdlet() try { - DataSourceTestConnectionResponse response = StreamAnalyticsClient.TestPSInput(ResourceGroupName, JobName, Name); - if (response.StatusCode == HttpStatusCode.OK && response.DataSourceTestStatus == DataSourceTestStatus.TestSucceeded) + ResourceTestConnectionResponse response = StreamAnalyticsClient.TestPSInput(ResourceGroupName, JobName, Name); + if (response.StatusCode == HttpStatusCode.OK && response.ResourceTestStatus == ResourceTestStatus.TestSucceeded) { WriteObject(true); } diff --git a/src/ResourceManager/StreamAnalytics/Commands.StreamAnalytics/Job/GetAzureStreamAnalyticsJobCommand.cs b/src/ResourceManager/StreamAnalytics/Commands.StreamAnalytics/Job/GetAzureStreamAnalyticsJobCommand.cs index 4421edf2da72..baeb1fe4e3b9 100644 --- a/src/ResourceManager/StreamAnalytics/Commands.StreamAnalytics/Job/GetAzureStreamAnalyticsJobCommand.cs +++ b/src/ResourceManager/StreamAnalytics/Commands.StreamAnalytics/Job/GetAzureStreamAnalyticsJobCommand.cs @@ -49,7 +49,7 @@ public override void ExecuteCmdlet() } } - string propertiesToExpand = "inputs,transformation,outputs"; + string propertiesToExpand = "inputs,transformation,outputs,functions"; if (NoExpand.IsPresent) { propertiesToExpand = string.Empty; diff --git a/src/ResourceManager/StreamAnalytics/Commands.StreamAnalytics/Microsoft.Azure.Commands.StreamAnalytics.dll-Help.psd1 b/src/ResourceManager/StreamAnalytics/Commands.StreamAnalytics/Microsoft.Azure.Commands.StreamAnalytics.dll-Help.psd1 index a4950b85b098..6a49da571f52 100644 --- a/src/ResourceManager/StreamAnalytics/Commands.StreamAnalytics/Microsoft.Azure.Commands.StreamAnalytics.dll-Help.psd1 +++ b/src/ResourceManager/StreamAnalytics/Commands.StreamAnalytics/Microsoft.Azure.Commands.StreamAnalytics.dll-Help.psd1 @@ -55,12 +55,12 @@ ScriptsToProcess = @() # Format files (.ps1xml) to be loaded when importing this module FormatsToProcess = @( - '..\..\..\Package\Debug\ResourceManager\AzureResourceManager\StreamAnalytics\Microsoft.Azure.Commands.StreamAnalytics.format.ps1xml' + '..\..\..\Package\Debug\ResourceManager\AzureResourceManager\AzureRM.StreamAnalytics\Microsoft.Azure.Commands.StreamAnalytics.format.ps1xml' ) # Modules to import as nested modules of the module specified in ModuleToProcess NestedModules = @( - '..\..\..\Package\Debug\ResourceManager\AzureResourceManager\StreamAnalytics\Microsoft.Azure.Commands.StreamAnalytics.dll' + '..\..\..\Package\Debug\ResourceManager\AzureResourceManager\AzureRM.StreamAnalytics\Microsoft.Azure.Commands.StreamAnalytics.dll' ) # Functions to export from this module diff --git a/src/ResourceManager/StreamAnalytics/Commands.StreamAnalytics/Microsoft.Azure.Commands.StreamAnalytics.dll-Help.xml b/src/ResourceManager/StreamAnalytics/Commands.StreamAnalytics/Microsoft.Azure.Commands.StreamAnalytics.dll-Help.xml index f21b6e130d11..4c757ba08443 100644 --- a/src/ResourceManager/StreamAnalytics/Commands.StreamAnalytics/Microsoft.Azure.Commands.StreamAnalytics.dll-Help.xml +++ b/src/ResourceManager/StreamAnalytics/Commands.StreamAnalytics/Microsoft.Azure.Commands.StreamAnalytics.dll-Help.xml @@ -1,3579 +1,4091 @@ - - - - - - Get-AzureRmStreamAnalyticsInput - - Lists all of the inputs that are defined in a specified Stream Analytics job or gets information about a specific input. - - - - - Get - AzureStreamAnalyticsInput - - - - The Get-AzureRmStreamAnalyticsInput cmdlet lists all of the inputs that are defined in a specified Stream Analytics job or gets information about a specific input. - - - - Get-AzureRmStreamAnalyticsInput - - JobName - - Specifies the name of the Azure Stream Analytics job that the desired Azure Stream Analytics input belongs to. - - String - - - Name - - Specifies the name of the Azure Stream Analytics input to retrieve. - - String - - - ResourceGroupName - - Specifies the name of the resource group that the Azure Stream Analytics input belongs to. - - String - - - Profile - - - - AzureProfile - - - - - - JobName - - Specifies the name of the Azure Stream Analytics job that the desired Azure Stream Analytics input belongs to. - - String - - String - - - - - - - Name - - Specifies the name of the Azure Stream Analytics input to retrieve. - - String - - String - - - - - - - ResourceGroupName - - Specifies the name of the resource group that the Azure Stream Analytics input belongs to. - - String - - String - - - - - - - Profile - - - - AzureProfile - - AzureProfile - - - - - - - PipelineVariable - - Not Specified - - string - - string - - - - - - - - - - - - - - - - - - - - - - - - - System.Collections.Generic.List`1[[Microsoft.Azure.Commands.StreamAnalytics.Models.PSInput, Microsoft.Azure.Commands.StreamAnalytics]] + + + + + Get-AzureRmStreamAnalyticsDefaultFunctionDefinition + + Retrieves the default definition of a function + + + + + Get + AzureRmStreamAnalyticsDefaultFunctionDefinition + + + + The Get-AzureRmStreamAnalyticsDefaultFunctionDefinition cmdlet retrieves the default definition of the function specified in the request. The default definition can be used in the New-AzureRmStreamAnalyticsFunction cmdlet to actually create the function. The default definition can also be modified before creating the function, if needed. + + + + Get-AzureRmStreamAnalyticsDefaultFunctionDefinition + + JobName + + Specifies the name of the Azure Stream Analytics job that the desired Azure Stream Analytics function belongs to. + + String + + + Name + + Specifies the name of the Azure Stream Analytics function to retrieve the default definition for. + + String + + + File + + Specifies the path to a JSON file that contains the JSON representation of the request body for the retrieve default function definition request. + + String + + + ResourceGroupName + + Specifies the name of the resource group that the Azure Stream Analytics function belongs to. + + String + + + + + + JobName + + Specifies the name of the Azure Stream Analytics job that the desired Azure Stream Analytics function belongs to. + + String + + String + + + + + + Name + + Specifies the name of the Azure Stream Analytics function to retrieve the default definition for. + + String + + String + + + + + + File + + Specifies the path to a JSON file that contains the JSON representation of the request body for the retrieve default function definition request. + + String + + String + + + + + + ResourceGroupName + + Specifies the name of the resource group that the Azure Stream Analytics function belongs to. + + String + + String + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Keywords: azure, azurerm, arm, resource, management, manager, analytics, stream + + + + + -------------------------- EXAMPLE 1 -------------------------- + + PS C:\> + + Get-AzureRmStreamAnalyticsDefaultFunctionDefinition -ResourceGroupName StreamAnalytics-Default-West-US -JobName StreamingJob -File "C:\RetrieveDefaultDefinitionRequest.json" -Name ScoreTweet + + This command retrieves the default definition of the function ScoreTweet using the parameters specified in the file RetrieveDefaultDefinitionRequest.json. + + + + + + + + + + + + + + + + New-AzureRmStreamAnalyticsFunction + + + + Get-AzureRmStreamAnalyticsFunction + + + + Test-AzureRmStreamAnalyticsFunction + + + + + + + + Get-AzureRmStreamAnalyticsFunction + + Lists all of the functions that are defined in a specified Stream Analytics job or gets information about a specific function. + + + + + Get + AzureRmStreamAnalyticsFunction + + + + The Get-AzureRmStreamAnalyticsFunction cmdlet lists all of the functions that are defined in a specified Stream Analytics job or gets information about a specific function. + + + + Get-AzureRmStreamAnalyticsFunction + + JobName + + Specifies the name of the Azure Stream Analytics job that the desired Azure Stream Analytics function belongs to. + + String + + + Name + + Specifies the name of the Azure Stream Analytics function to retrieve. + + String + + + ResourceGroupName + + Specifies the name of the resource group that the Azure Stream Analytics function belongs to. + + String + + + + + + JobName + + Specifies the name of the Azure Stream Analytics job that the desired Azure Stream Analytics function belongs to. + + String + + String + + + + + + Name + + Specifies the name of the Azure Stream Analytics function to retrieve. + + String + + String + + + + + + ResourceGroupName + + Specifies the name of the resource group that the Azure Stream Analytics function belongs to. + + String + + String + + + + + + + + + + + + + + + + + + + + + System.Collections.Generic.List`1[[Microsoft.Azure.Commands.StreamAnalytics.Models.PSFunction, Microsoft.Azure.Commands.StreamAnalytics]] + Microsoft.Azure.Commands.StreamAnalytics.Models.PSFunction + + + + + + + + + + + + + + Keywords: azure, azurerm, arm, resource, management, manager, analytics, stream + + + + + -------------------------- EXAMPLE 1 -------------------------- + + PS C:\> + + Get-AzureRmStreamAnalyticsFunction -ResourceGroupName StreamAnalytics-Default-West-US -JobName StreamingJob + + This command returns information about all the functions defined on the job StreamingJob. + + + + + + + + + + + + + + -------------------------- EXAMPLE 2 -------------------------- + + PS C:\> + + Get-AzureRmStreamAnalyticsFunction -ResourceGroupName StreamAnalytics-Default-West-US -JobName StreamingJob -Name ScoreTweet + + This command returns information about the function named ScoreTweet defined on the job StreamingJob. + + + + + + + + + + + + + + + + New-AzureRmStreamAnalyticsFunction + + + + Remove-AzureRmStreamAnalyticsFunction + + + + Test-AzureRmStreamAnalyticsFunction + + + + + + + + Get-AzureRmStreamAnalyticsInput + + Lists all of the inputs that are defined in a specified Stream Analytics job or gets information about a specific input. + + + + + Get + AzureRmStreamAnalyticsInput + + + + The Get-AzureRmStreamAnalyticsInput cmdlet lists all of the inputs that are defined in a specified Stream Analytics job or gets information about a specific input. + + + + Get-AzureRmStreamAnalyticsInput + + JobName + + Specifies the name of the Azure Stream Analytics job that the desired Azure Stream Analytics input belongs to. + + String + + + Name + + Specifies the name of the Azure Stream Analytics input to retrieve. + + String + + + ResourceGroupName + + Specifies the name of the resource group that the Azure Stream Analytics input belongs to. + + String + + + + + + JobName + + Specifies the name of the Azure Stream Analytics job that the desired Azure Stream Analytics input belongs to. + + String + + String + + + + + + Name + + Specifies the name of the Azure Stream Analytics input to retrieve. + + String + + String + + + + + + ResourceGroupName + + Specifies the name of the resource group that the Azure Stream Analytics input belongs to. + + String + + String + + + + + + Profile + + + + azureprofile + + azureprofile + + + + + + PipelineVariable + + Not Specified + + string + + string + + + + + + + + + + + + + + + + + + + + + + System.Collections.Generic.List`1[[Microsoft.Azure.Commands.StreamAnalytics.Models.PSInput, Microsoft.Azure.Commands.StreamAnalytics]] Microsoft.Azure.Commands.StreamAnalytics.Models.PSInput - - - - - - - - - - - - - - - - - - - - Keywords: azure, azurerm, arm, resource, management, manager, analytics, stream - - - - - -------------------------- EXAMPLE 1 -------------------------- - - PS C:\> - - Get-AzureRmStreamAnalyticsInput -ResourceGroupName StreamAnalytics-Default-West-US -JobName StreamingJob - - This command returns information about all the inputs defined on the job StreamingJob. - - - - - - - - - - - - - - - -------------------------- EXAMPLE 2 -------------------------- - - PS C:\> - - Get-AzureRmStreamAnalyticsInput -ResourceGroupName StreamAnalytics-Default-West-US -JobName StreamingJob -Name EntryStream - - This command returns information about the input named EntryStream defined on the job StreamingJob. - - - - - - - - - - - - - - - - - New-AzureRmStreamAnalyticsInput - - - - - Remove-AzureRmStreamAnalyticsInput - - - - - Test-AzureRmStreamAnalyticsInput - - - - - - - - - Get-AzureRmStreamAnalyticsJob - - Lists all Stream Analytics jobs defined in the Azure subscription or specified resource group or gets job information about a specific job within a resource group. - - - - - Get - AzureStreamAnalyticsJob - - - - The Get-AzureRmStreamAnalyticsJob cmdlet lists all Stream Analytics jobs defined in the Azure subscription or specified resource group or gets job information about a specific job within a resource group. - - - - Get-AzureRmStreamAnalyticsJob - - ResourceGroupName - - Specifies the name of the resource group that the Azure Stream Analytics job belongs to. - - String - - - Name - - Specifies the name of the Azure Stream Analytics job to retrieve. - - String - - - NoExpand - - If this parameter is specified, the cmdlet will retrieve the Azure Stream Analytics job, but not return information on its inputs, outputs, and transformation. - - SwitchParameter - - - Profile - - - - AzureProfile - - - - Get-AzureRmStreamAnalyticsJob - - NoExpand - - If this parameter is specified, the cmdlet will retrieve the Azure Stream Analytics job, but not return information on its inputs, outputs, and transformation. - - SwitchParameter - - - Profile - - - - AzureProfile - - - - - - ResourceGroupName - - Specifies the name of the resource group that the Azure Stream Analytics job belongs to. - - String - - String - - - - - - - Name - - Specifies the name of the Azure Stream Analytics job to retrieve. - - String - - String - - - - - - - NoExpand - - If this parameter is specified, the cmdlet will retrieve the Azure Stream Analytics job, but not return information on its inputs, outputs, and transformation. - - SwitchParameter - - SwitchParameter - - - - - - - Profile - - - - AzureProfile - - AzureProfile - - - - - - - PipelineVariable - - Not Specified - - string - - string - - - - - - - - - - - - - - - - - - - - - - - - - System.Collections.Generic.List`1[[Microsoft.Azure.Commands.StreamAnalytics.Models.PSJob, Microsoft.Azure.Commands.StreamAnalytics]] + + + + + + + + + + + + + + + Keywords: azure, azurerm, arm, resource, management, manager, analytics, stream + + + + + -------------------------- EXAMPLE 1 -------------------------- + + PS C:\> + + Get-AzureRmStreamAnalyticsInput -ResourceGroupName StreamAnalytics-Default-West-US -JobName StreamingJob + + This command returns information about all the inputs defined on the job StreamingJob. + + + + + + + + + + + + + + -------------------------- EXAMPLE 2 -------------------------- + + PS C:\> + + Get-AzureRmStreamAnalyticsInput -ResourceGroupName StreamAnalytics-Default-West-US -JobName StreamingJob -Name EntryStream + + This command returns information about the input named EntryStream defined on the job StreamingJob. + + + + + + + + + + + + + + + + New-AzureRmStreamAnalyticsInput + + + + Remove-AzureRmStreamAnalyticsInput + + + + Test-AzureRmStreamAnalyticsInput + + + + + + + + Get-AzureRmStreamAnalyticsJob + + Lists all Stream Analytics jobs defined in the Azure subscription or specified resource group or gets job information about a specific job within a resource group. + + + + + Get + AzureRmStreamAnalyticsJob + + + + The Get-AzureRmStreamAnalyticsJob cmdlet lists all Stream Analytics jobs defined in the Azure subscription or specified resource group or gets job information about a specific job within a resource group. + + + + Get-AzureRmStreamAnalyticsJob + + ResourceGroupName + + Specifies the name of the resource group that the Azure Stream Analytics job belongs to. + + String + + + Name + + Specifies the name of the Azure Stream Analytics job to retrieve. + + String + + + NoExpand + + If this parameter is specified, the cmdlet will retrieve the Azure Stream Analytics job, but not return information on its inputs, outputs, and transformation. + + SwitchParameter + + + + Get-AzureRmStreamAnalyticsJob + + NoExpand + + If this parameter is specified, the cmdlet will retrieve the Azure Stream Analytics job, but not return information on its inputs, outputs, and transformation. + + SwitchParameter + + + + + + ResourceGroupName + + Specifies the name of the resource group that the Azure Stream Analytics job belongs to. + + String + + String + + + + + + Name + + Specifies the name of the Azure Stream Analytics job to retrieve. + + String + + String + + + + + + NoExpand + + If this parameter is specified, the cmdlet will retrieve the Azure Stream Analytics job, but not return information on its inputs, outputs, and transformation. + + SwitchParameter + + SwitchParameter + + + + + + Profile + + + + azureprofile + + azureprofile + + + + + + PipelineVariable + + Not Specified + + string + + string + + + + + + + + + + + + + + + + + + + + + + System.Collections.Generic.List`1[[Microsoft.Azure.Commands.StreamAnalytics.Models.PSJob, Microsoft.Azure.Commands.StreamAnalytics]] Microsoft.Azure.Commands.StreamAnalytics.Models.PSJob - - - - - - - - - - - - - - - - - - - - Keywords: azure, azurerm, arm, resource, management, manager, analytics, stream - - - - - -------------------------- EXAMPLE 1 -------------------------- - - PS C:\> - - Get-AzureRmStreamAnalyticsJob - - This command returns information about all the Stream Analytics jobs in the Azure subscription. - - - - - - - - - - - - - - - -------------------------- EXAMPLE 2 -------------------------- - - PS C:\> - - Get-AzureRmStreamAnalyticsJob -ResourceGroupName StreamAnalytics-Default-West-US - - This command returns information about all the Stream Analytics jobs in the resource group StreamAnalytics-Default-West-US. - - - - - - - - - - - - - - - -------------------------- EXAMPLE 3 -------------------------- - - PS C:\> - - Get-AzureRmStreamAnalyticsJob -ResourceGroupName StreamAnalytics-Default-West-US -Name StreamingJob - - This command returns information about the Stream Analytics job StreamingJob in the resource group StreamAnalytics-Default-West-US. - - - - - - - - - - - - - - - - - New-AzureRmStreamAnalyticsJob - - - - - Remove-AzureRmStreamAnalyticsJob - - - - - Start-AzureRmStreamAnalyticsJob - - - - - Stop-AzureRmStreamAnalyticsJob - - - - - - - - - Get-AzureRmStreamAnalyticsOutput - - Lists all of the outputs that are defined in a specified Stream Analytics job or gets information about a specific output. - - - - - Get - AzureStreamAnalyticsOutput - - - - The Get-AzureRmStreamAnalyticsOutput cmdlet lists all of the outputs that are defined in a specified Stream Analytics job or gets information about a specific output. - - - - Get-AzureRmStreamAnalyticsOutput - - JobName - - Specifies the name of the Azure Stream Analytics job that the desired Azure Stream Analytics output belongs to. - - String - - - Name - - Specifies the name of the Azure Stream Analytics output to retrieve. - - String - - - ResourceGroupName - - Specifies the name of the resource group that the Azure Stream Analytics output belongs to. - - String - - - Profile - - - - AzureProfile - - - - - - JobName - - Specifies the name of the Azure Stream Analytics job that the desired Azure Stream Analytics output belongs to. - - String - - String - - - - - - - Name - - Specifies the name of the Azure Stream Analytics output to retrieve. - - String - - String - - - - - - - ResourceGroupName - - Specifies the name of the resource group that the Azure Stream Analytics output belongs to. - - String - - String - - - - - - - Profile - - - - AzureProfile - - AzureProfile - - - - - - - PipelineVariable - - Not Specified - - string - - string - - - - - - - - - - - - - - - - - - - - - - - - - System.Collections.Generic.List`1[[Microsoft.Azure.Commands.StreamAnalytics.Models.PSOutput, Microsoft.Azure.Commands.StreamAnalytics]] + + + + + + + + + + + + + + + Keywords: azure, azurerm, arm, resource, management, manager, analytics, stream + + + + + -------------------------- EXAMPLE 1 -------------------------- + + PS C:\> + + Get-AzureRmStreamAnalyticsJob + + This command returns information about all the Stream Analytics jobs in the Azure subscription. + + + + + + + + + + + + + + -------------------------- EXAMPLE 2 -------------------------- + + PS C:\> + + Get-AzureRmStreamAnalyticsJob -ResourceGroupName StreamAnalytics-Default-West-US + + This command returns information about all the Stream Analytics jobs in the resource group StreamAnalytics-Default-West-US. + + + + + + + + + + + + + + -------------------------- EXAMPLE 3 -------------------------- + + PS C:\> + + Get-AzureRmStreamAnalyticsJob -ResourceGroupName StreamAnalytics-Default-West-US -Name StreamingJob + + This command returns information about the Stream Analytics job StreamingJob in the resource group StreamAnalytics-Default-West-US. + + + + + + + + + + + + + + + + New-AzureRmStreamAnalyticsJob + + + + Remove-AzureRmStreamAnalyticsJob + + + + Start-AzureRmStreamAnalyticsJob + + + + Stop-AzureRmStreamAnalyticsJob + + + + + + + + Get-AzureRmStreamAnalyticsOutput + + Lists all of the outputs that are defined in a specified Stream Analytics job or gets information about a specific output. + + + + + Get + AzureRmStreamAnalyticsOutput + + + + The Get-AzureRmStreamAnalyticsOutput cmdlet lists all of the outputs that are defined in a specified Stream Analytics job or gets information about a specific output. + + + + Get-AzureRmStreamAnalyticsOutput + + JobName + + Specifies the name of the Azure Stream Analytics job that the desired Azure Stream Analytics output belongs to. + + String + + + Name + + Specifies the name of the Azure Stream Analytics output to retrieve. + + String + + + ResourceGroupName + + Specifies the name of the resource group that the Azure Stream Analytics output belongs to. + + String + + + + + + JobName + + Specifies the name of the Azure Stream Analytics job that the desired Azure Stream Analytics output belongs to. + + String + + String + + + + + + Name + + Specifies the name of the Azure Stream Analytics output to retrieve. + + String + + String + + + + + + ResourceGroupName + + Specifies the name of the resource group that the Azure Stream Analytics output belongs to. + + String + + String + + + + + + Profile + + + + azureprofile + + azureprofile + + + + + + PipelineVariable + + Not Specified + + string + + string + + + + + + + + + + + + + + + + + + + + + + System.Collections.Generic.List`1[[Microsoft.Azure.Commands.StreamAnalytics.Models.PSOutput, Microsoft.Azure.Commands.StreamAnalytics]] Microsoft.Azure.Commands.StreamAnalytics.Models.PSOutput - - - - - - - - - - - - - - - - - - - - Keywords: azure, azurerm, arm, resource, management, manager, analytics, stream - - - - - -------------------------- EXAMPLE 1 -------------------------- - - PS C:\> - - Get-AzureRmStreamAnalyticsOutput -ResourceGroupName StreamAnalytics-Default-West-US -JobName StreamingJob - - This command returns information about the outputs defined on the job StreamingJob. - - - - - - - - - - - - - - - -------------------------- EXAMPLE 2 -------------------------- - - PS C:\> - - Get-AzureRmStreamAnalyticsOutput -ResourceGroupName StreamAnalytics-Default-West-US -JobName StreamingJob -Name Output - - This command returns information about the output named Output defined on the job StreamingJob. - - - - - - - - - - - - - - - - - New-AzureRmStreamAnalyticsOutput - - - - - Remove-AzureRmStreamAnalyticsOutput - - - - - Test-AzureRmStreamAnalyticsOutput - - - - - - - - - Get-AzureRmStreamAnalyticsQuota - - + + + + + + + + + + + + + + + Keywords: azure, azurerm, arm, resource, management, manager, analytics, stream + + + + + -------------------------- EXAMPLE 1 -------------------------- + + PS C:\> + + Get-AzureRmStreamAnalyticsOutput -ResourceGroupName StreamAnalytics-Default-West-US -JobName StreamingJob + + This command returns information about the outputs defined on the job StreamingJob. + + + + + + + + + + + + + + -------------------------- EXAMPLE 2 -------------------------- + + PS C:\> + + Get-AzureRmStreamAnalyticsOutput -ResourceGroupName StreamAnalytics-Default-West-US -JobName StreamingJob -Name Output + + This command returns information about the output named Output defined on the job StreamingJob. + + + + + + + + + + + + + + + + New-AzureRmStreamAnalyticsOutput + + + + Remove-AzureRmStreamAnalyticsOutput + + + + Test-AzureRmStreamAnalyticsOutput + + + + + + + + Get-AzureRmStreamAnalyticsQuota + + Gets information about the Streaming Unit quota of a specified region. - - - - - Get - AzureStreamAnalyticsQuota - - - - The Get-AzureRmStreamAnalyticsQuota cmdlet gets information about the Streaming Unit quota of a specified region. - - - - Get-AzureRmStreamAnalyticsQuota - - Location - - Specifies the name of an Azure region/Azure data center location to get Streaming Unit quota information for. See http://azure.microsoft.com/en-us/regions/#services for a list of supported Azure regions. - - String - - - Profile - - - - AzureProfile - - - - - - Location - - Specifies the name of an Azure region/Azure data center location to get Streaming Unit quota information for. See http://azure.microsoft.com/en-us/regions/#services for a list of supported Azure regions. - - String - - String - - - - - - - Profile - - - - AzureProfile - - AzureProfile - - - - - - - PipelineVariable - - Not Specified - - string - - string - - - - - - - - - - - - - - - - - - - - - - - - - System.Collections.Generic.List`1[[Microsoft.Azure.Commands.StreamAnalytics.Models.PSQuota, Microsoft.Azure.Commands.StreamAnalytics]] + + + + + Get + AzureRmStreamAnalyticsQuota + + + + The Get-AzureRmStreamAnalyticsQuota cmdlet gets information about the Streaming Unit quota of a specified region. + + + + Get-AzureRmStreamAnalyticsQuota + + Location + + Specifies the name of an Azure region/Azure data center location to get Streaming Unit quota information for. See http://azure.microsoft.com/en-us/regions/#services for a list of supported Azure regions. + + String + + + + + + Location + + Specifies the name of an Azure region/Azure data center location to get Streaming Unit quota information for. See http://azure.microsoft.com/en-us/regions/#services for a list of supported Azure regions. + + String + + String + + + + + + Profile + + + + azureprofile + + azureprofile + + + + + + PipelineVariable + + Not Specified + + string + + string + + + + + + + + + + + + + + + + + + + + + + System.Collections.Generic.List`1[[Microsoft.Azure.Commands.StreamAnalytics.Models.PSQuota, Microsoft.Azure.Commands.StreamAnalytics]] Microsoft.Azure.Commands.StreamAnalytics.Models.PSQuota - - - - - - - - - - - - - - - - - - - - Keywords: azure, azurerm, arm, resource, management, manager, analytics, stream - - - - - -------------------------- EXAMPLE 1 -------------------------- - - PS C:\> - - Get-AzureRmStreamAnalyticsQuota -Location "West US" - - This command returns information about Streaming Unit quota and usage in the West US region. - - - - - - - - - - - - - - - - - Unknown - - - - - - - - - Get-AzureRmStreamAnalyticsTransformation - - Gets information about a specific transformation defined on Stream Analytics job. - - - - - Get - AzureStreamAnalyticsTransformation - - - - The Get-AzureRmStreamAnalyticsTransformation cmdlet gets information about a specific transformation defined on Stream Analytics job. - - - - Get-AzureRmStreamAnalyticsTransformation - - JobName - - Specifies the name of the Azure Stream Analytics job that the desired Azure Stream Analytics transformation belongs to. - - String - - - Name - - Specifies the name of the Azure Stream Analytics transformation to retrieve. - - String - - - ResourceGroupName - - Specifies the name of the resource group that the Azure Stream Analytics transformation belongs to. - - String - - - Profile - - - - AzureProfile - - - - - - JobName - - Specifies the name of the Azure Stream Analytics job that the desired Azure Stream Analytics transformation belongs to. - - String - - String - - - - - - - Name - - Specifies the name of the Azure Stream Analytics transformation to retrieve. - - String - - String - - - - - - - ResourceGroupName - - Specifies the name of the resource group that the Azure Stream Analytics transformation belongs to. - - String - - String - - - - - - - Profile - - - - AzureProfile - - AzureProfile - - - - - - - PipelineVariable - - Not Specified - - string - - string - - - - - - - - - - - - - - - - - - - - - - - - - System.Collections.Generic.List`1[[Microsoft.Azure.Commands.StreamAnalytics.Models.PSTransformation, Microsoft.Azure.Commands.StreamAnalytics]] + + + + + + + + + + + + + + + Keywords: azure, azurerm, arm, resource, management, manager, analytics, stream + + + + + -------------------------- EXAMPLE 1 -------------------------- + + PS C:\> + + Get-AzureRmStreamAnalyticsQuota -Location "West US" + + This command returns information about Streaming Unit quota and usage in the West US region. + + + + + + + + + + + + + + + + Unknown + + + + + + + + Get-AzureRmStreamAnalyticsTransformation + + Gets information about a specific transformation defined on Stream Analytics job. + + + + + Get + AzureRmStreamAnalyticsTransformation + + + + The Get-AzureRmStreamAnalyticsTransformation cmdlet gets information about a specific transformation defined on Stream Analytics job. + + + + Get-AzureRmStreamAnalyticsTransformation + + JobName + + Specifies the name of the Azure Stream Analytics job that the desired Azure Stream Analytics transformation belongs to. + + String + + + Name + + Specifies the name of the Azure Stream Analytics transformation to retrieve. + + String + + + ResourceGroupName + + Specifies the name of the resource group that the Azure Stream Analytics transformation belongs to. + + String + + + + + + JobName + + Specifies the name of the Azure Stream Analytics job that the desired Azure Stream Analytics transformation belongs to. + + String + + String + + + + + + Name + + Specifies the name of the Azure Stream Analytics transformation to retrieve. + + String + + String + + + + + + ResourceGroupName + + Specifies the name of the resource group that the Azure Stream Analytics transformation belongs to. + + String + + String + + + + + + Profile + + + + azureprofile + + azureprofile + + + + + + PipelineVariable + + Not Specified + + string + + string + + + + + + + + + + + + + + + + + + + + + + System.Collections.Generic.List`1[[Microsoft.Azure.Commands.StreamAnalytics.Models.PSTransformation, Microsoft.Azure.Commands.StreamAnalytics]] Microsoft.Azure.Commands.StreamAnalytics.Models.PSTransformation - - - - - - - - - - - - - - - - - - - - Keywords: azure, azurerm, arm, resource, management, manager, analytics, stream - - - - - -------------------------- EXAMPLE 1 -------------------------- - - PS C:\> - - Get-AzureRmStreamAnalyticsTransformation -ResourceGroupName StreamAnalytics-Default-West-US -JobName StreamingJob -Name StreamingJob - - This command returns information about the transformation called StreamingJob on the job StreamingJob. - - - - - - - - - - - - - - - - - New-AzureRmStreamAnalyticsTransformation - - - - - - - - - New-AzureRmStreamAnalyticsInput - - + + + + + + + + + + + + + + + Keywords: azure, azurerm, arm, resource, management, manager, analytics, stream + + + + + -------------------------- EXAMPLE 1 -------------------------- + + PS C:\> + + Get-AzureRmStreamAnalyticsTransformation -ResourceGroupName StreamAnalytics-Default-West-US -JobName StreamingJob -Name StreamingJob + + This command returns information about the transformation called StreamingJob on the job StreamingJob. + + + + + + + + + + + + + + + + New-AzureRmStreamAnalyticsTransformation + + + + + + + + New-AzureRmStreamAnalyticsFunction + + + Creates a new function within a Stream Analytics job or updates an existing specified function. + The name of the function can be specified in the .JSON file or on the command line. If both are specified, the name on command line must be the same with the one in the file. + If you specify a function that already exists and do not specify -Force parameter, the cmdlet will ask whether or not to replace the existing function. + If you specify -Force parameter and specify an existing function name, the function will be replaced without confirmation. + + + + + New + AzureRmStreamAnalyticsFunction + + + + + The New-AzureRmStreamAnalyticsFunction cmdlet creates a new function within a Stream Analytics job or updates an existing specified function. + The name of the function can be specified in the .JSON file or on the command line. If both are specified, the name on command line must be the same with the one in the file. + If you specify a function that already exists and do not specify -Force parameter, the cmdlet will ask whether or not to replace the existing function. + If you specify -Force parameter and specify an existing function name, the function will be replaced without confirmation. + + + + New-AzureRmStreamAnalyticsFunction + + JobName + + Specifies the name of the Azure Stream Analytics job that the Azure Stream Analytics function should be created under. + + String + + + Name + + Specifies the name of the Azure Stream Analytics function to create. + + String + + + File + + Specifies the path to a JSON file that contains the JSON representation of the Azure Stream Analytics function to create. + + String + + + Force + + If this parameter is specified, the cmdlet will replace the specified Azure Stream Analytics function if it already exists without asking for confirmation. + + SwitchParameter + + + ResourceGroupName + + Specifies the name of the resource group that the Azure Streaming function should be created under. + + String + + + + + + JobName + + Specifies the name of the Azure Stream Analytics job that the Azure Stream Analytics function should be created under. + + String + + String + + + + + + Name + + Specifies the name of the Azure Stream Analytics function to create. + + String + + String + + + + + + File + + Specifies the path to a JSON file that contains the JSON representation of the Azure Stream Analytics function to create. + + String + + String + + + + + + Force + + If this parameter is specified, the cmdlet will replace the specified Azure Stream Analytics function if it already exists without asking for confirmation. + + SwitchParameter + + SwitchParameter + + + + + + ResourceGroupName + + Specifies the name of the resource group that the Azure Streaming function should be created under. + + String + + String + + + + + + + + + + + + + + + + + + + + + Microsoft.Azure.Commands.StreamAnalytics.Models.PSFunction + + + + + + + + + + + + + + Keywords: azure, azurerm, arm, resource, management, manager, analytics, stream + + + + + -------------------------- EXAMPLE 1 -------------------------- + + PS C:\> + + New-AzureRmStreamAnalyticsFunction -ResourceGroupName StreamAnalytics-Default-West-US -JobName StreamingJob -File "C:\Function.json" + + This command creates a new function from the file Function.json. If an existing function with the name specified in the function definition file is already defined, the cmdlet will ask whether or not to replace it. + + + + + + + + + + + + + + -------------------------- EXAMPLE 2 -------------------------- + + PS C:\> + + New-AzureRmStreamAnalyticsFunction -ResourceGroupName StreamAnalytics-Default-West-US -JobName StreamingJob -File "C:\Function.json" -Name ScoreTweet + + This command creates a new function on the job called ScoreTweet. If an existing function with this name is already defined, the cmdlet will ask whether or not to replace it. + + + + + + + + + + + + + + -------------------------- EXAMPLE 3 -------------------------- + + PS C:\> + + New-AzureRmStreamAnalyticsFunction -ResourceGroupName StreamAnalytics-Default-West-US -JobName StreamingJob -File "C:\Function.json" -Name ScoreTweet -Force + + This command replaces the definition of the existing function called ScoreTweet with the definition from file. + + + + + + + + + + + + + + + + Get-AzureRmStreamAnalyticsFunction + + + + Remove-AzureRmStreamAnalyticsFunction + + + + Test-AzureRmStreamAnalyticsFunction + + + + Get-AzureRmStreamAnalyticsDefaultFunctionDefinition + + + + + + + + New-AzureRmStreamAnalyticsInput + + Creates a new input within a Stream Analytics job or updates an existing specified input. The name of the input can be specified in the .JSON file or on the command line. If both are specified, the name on command line must be the same with the one in the file. If you specify an input that already exists and do not specify -Force parameter, the cmdlet will ask whether or not to replace the existing input. If you specify -Force parameter and specify an existing input name, the input will be replaced without confirmation. - - - - - New - AzureStreamAnalyticsInput - - - - + + + + + New + AzureRmStreamAnalyticsInput + + + + The New-AzureRmStreamAnalyticsInput cmdlet creates a new input within a Stream Analytics job or updates an existing specified input. The name of the input can be specified in the .JSON file or on the command line. If both are specified, the name on command line must be the same with the one in the file. If you specify an input that already exists and do not specify -Force parameter, the cmdlet will ask whether or not to replace the existing input. If you specify -Force parameter and specify an existing input name, the input will be replaced without confirmation. - - - - New-AzureRmStreamAnalyticsInput - - JobName - - Specifies the name of the Azure Stream Analytics job that the Azure Stream Analytics input should be created under. - - String - - - Name - - Specifies the name of the Azure Stream Analytics input to create. - - String - - - File - - Specifies the path to a JSON file that contains the JSON representation of the Azure Stream Analytics input to create. - - String - - - Force - - If this parameter is specified, the cmdlet will replace the specified Azure Stream Analytics input if it already exists without asking for confirmation. - - SwitchParameter - - - ResourceGroupName - - Specifies the name of the resource group that the Azure Streaming input should be created under. - - String - - - Profile - - - - AzureProfile - - - - - - JobName - - Specifies the name of the Azure Stream Analytics job that the Azure Stream Analytics input should be created under. - - String - - String - - - - - - - Name - - Specifies the name of the Azure Stream Analytics input to create. - - String - - String - - - - - - - File - - Specifies the path to a JSON file that contains the JSON representation of the Azure Stream Analytics input to create. - - String - - String - - - - - - - Force - - If this parameter is specified, the cmdlet will replace the specified Azure Stream Analytics input if it already exists without asking for confirmation. - - SwitchParameter - - SwitchParameter - - - - - - - ResourceGroupName - - Specifies the name of the resource group that the Azure Streaming input should be created under. - - String - - String - - - - - - - Profile - - - - AzureProfile - - AzureProfile - - - - - - - PipelineVariable - - Not Specified - - string - - string - - - - - - - - - - - - - - - - - - - - - - - - - Microsoft.Azure.Commands.StreamAnalytics.Models.PSInput - - - - - - - - - - - - - - - - - - - - Keywords: azure, azurerm, arm, resource, management, manager, analytics, stream - - - - - -------------------------- EXAMPLE 1 -------------------------- - - PS C:\> - - New-AzureRmStreamAnalyticsInput -ResourceGroupName StreamAnalytics-Default-West-US -JobName StreamingJob -File "C:\Input.json" - - This command creates a new input from the file Input.json. If an existing input with the name specified in the input definition file is already defined, the cmdlet will ask whether or not to replace it. - - - - - - - - - - - - - - - -------------------------- EXAMPLE 2 -------------------------- - - PS C:\> - - New-AzureRmStreamAnalyticsInput -ResourceGroupName StreamAnalytics-Default-West-US -JobName StreamingJob -File "C:\Input.json" -Name EntryStream - - This command creates a new input on the job called EntryStream. If an existing input with this name is already defined, the cmdlet will ask whether or not to replace it. - - - - - - - - - - - - - - - -------------------------- EXAMPLE 3 -------------------------- - - PS C:\> - - New-AzureRmStreamAnalyticsInput -ResourceGroupName StreamAnalytics-Default-West-US -JobName StreamingJob -File "C:\Input.json" -Name EntryStream -Force - - This command replaces the definition of the existing input source called EntryStream with the definition from file. - - - - - - - - - - - - - - - - - Get-AzureRmStreamAnalyticsInput - - - - - Remove-AzureRmStreamAnalyticsInput - - - - - Test-AzureRmStreamAnalyticsInput - - - - - - - - - New-AzureRmStreamAnalyticsJob - - + + + + New-AzureRmStreamAnalyticsInput + + JobName + + Specifies the name of the Azure Stream Analytics job that the Azure Stream Analytics input should be created under. + + String + + + Name + + Specifies the name of the Azure Stream Analytics input to create. + + String + + + File + + Specifies the path to a JSON file that contains the JSON representation of the Azure Stream Analytics input to create. + + String + + + Force + + If this parameter is specified, the cmdlet will replace the specified Azure Stream Analytics input if it already exists without asking for confirmation. + + SwitchParameter + + + ResourceGroupName + + Specifies the name of the resource group that the Azure Streaming input should be created under. + + String + + + + + + JobName + + Specifies the name of the Azure Stream Analytics job that the Azure Stream Analytics input should be created under. + + String + + String + + + + + + Name + + Specifies the name of the Azure Stream Analytics input to create. + + String + + String + + + + + + File + + Specifies the path to a JSON file that contains the JSON representation of the Azure Stream Analytics input to create. + + String + + String + + + + + + Force + + If this parameter is specified, the cmdlet will replace the specified Azure Stream Analytics input if it already exists without asking for confirmation. + + SwitchParameter + + SwitchParameter + + + + + + ResourceGroupName + + Specifies the name of the resource group that the Azure Streaming input should be created under. + + String + + String + + + + + + Profile + + + + azureprofile + + azureprofile + + + + + + PipelineVariable + + Not Specified + + string + + string + + + + + + + + + + + + + + + + + + + + + + Microsoft.Azure.Commands.StreamAnalytics.Models.PSInput + + + + + + + + + + + + + + + Keywords: azure, azurerm, arm, resource, management, manager, analytics, stream + + + + + -------------------------- EXAMPLE 1 -------------------------- + + PS C:\> + + New-AzureRmStreamAnalyticsInput -ResourceGroupName StreamAnalytics-Default-West-US -JobName StreamingJob -File "C:\Input.json" + + This command creates a new input from the file Input.json. If an existing input with the name specified in the input definition file is already defined, the cmdlet will ask whether or not to replace it. + + + + + + + + + + + + + + -------------------------- EXAMPLE 2 -------------------------- + + PS C:\> + + New-AzureRmStreamAnalyticsInput -ResourceGroupName StreamAnalytics-Default-West-US -JobName StreamingJob -File "C:\Input.json" -Name EntryStream + + This command creates a new input on the job called EntryStream. If an existing input with this name is already defined, the cmdlet will ask whether or not to replace it. + + + + + + + + + + + + + + -------------------------- EXAMPLE 3 -------------------------- + + PS C:\> + + New-AzureRmStreamAnalyticsInput -ResourceGroupName StreamAnalytics-Default-West-US -JobName StreamingJob -File "C:\Input.json" -Name EntryStream -Force + + This command replaces the definition of the existing input source called EntryStream with the definition from file. + + + + + + + + + + + + + + + + Get-AzureRmStreamAnalyticsInput + + + + Remove-AzureRmStreamAnalyticsInput + + + + Test-AzureRmStreamAnalyticsInput + + + + + + + + New-AzureRmStreamAnalyticsJob + + Creates a new Stream Analytics job in Microsoft Azure or updates the definition of an existing specified job. The name of the job can be specified in the .JSON file or on the command line. If both are specified, the name on command line must be the same with the one in the file. If you specify a job name that already exists and do not specify -Force parameter, the cmdlet will ask whether or not to replace the existing job. If you specify -Force parameter and specify an existing job name, the job definition will be replaced without confirmation. - - - - - New - AzureStreamAnalyticsJob - - - - + + + + + New + AzureRmStreamAnalyticsJob + + + + The New-AzureRmStreamAnalyticsJob cmdlet creates a new Stream Analytics job in Microsoft Azure or updates the definition of an existing specified job. The name of the job can be specified in the .JSON file or on the command line. If both are specified, the name on command line must be the same with the one in the file. If you specify a job name that already exists and do not specify -Force parameter, the cmdlet will ask whether or not to replace the existing job. If you specify -Force parameter and specify an existing job name, the job definition will be replaced without confirmation. - - - - New-AzureRmStreamAnalyticsJob - - Name - - Specifies the name of the Azure Stream Analytics job to create. - - String - - - File - - Specifies the path to a JSON file that contains the JSON representation of the Azure Stream Analytics job to create. - - String - - - Force - - If this parameter is specified, the cmdlet will replace the specified Azure Stream Analytics job if it already exists without asking for confirmation. - - SwitchParameter - - - ResourceGroupName - - Specifies the name of the resource group that the Azure Stream Analytics job should be created under. - - String - - - Profile - - - - AzureProfile - - - - - - Name - - Specifies the name of the Azure Stream Analytics job to create. - - String - - String - - - - - - - File - - Specifies the path to a JSON file that contains the JSON representation of the Azure Stream Analytics job to create. - - String - - String - - - - - - - Force - - If this parameter is specified, the cmdlet will replace the specified Azure Stream Analytics job if it already exists without asking for confirmation. - - SwitchParameter - - SwitchParameter - - - - - - - ResourceGroupName - - Specifies the name of the resource group that the Azure Stream Analytics job should be created under. - - String - - String - - - - - - - Profile - - - - AzureProfile - - AzureProfile - - - - - - - PipelineVariable - - Not Specified - - string - - string - - - - - - - - - - - - - - - - - - - - - - - - - Microsoft.Azure.Commands.StreamAnalytics.Models.PSJob - - - - - - - - - - - - - - - - - - - - Keywords: azure, azurerm, arm, resource, management, manager, analytics, stream - - - - - -------------------------- EXAMPLE 1 -------------------------- - - PS C:\> - - New-AzureRmStreamAnalyticsJob -ResourceGroupName StreamAnalytics-Default-West-US -File "C:\JobDefinition.json" - - This command creates a new job from the definition in JobDefinition.json. If an existing job with the name specified in the job definition file is already defined, the cmdlet will ask whether or not to replace it. - - - - - - - - - - - - - - - -------------------------- EXAMPLE 2 -------------------------- - - PS C:\> - - New-AzureRmStreamAnalyticsJob -ResourceGroupName StreamAnalytics-Default-West-US -File "C:\JobDefinition.json" -Name StreamingJob -Force - - This command replaces the job definition for StreamingJob. - - - - - - - - - - - - - - - - - Get-AzureRmStreamAnalyticsJob - - - - - Remove-AzureRmStreamAnalyticsJob - - - - - Start-AzureRmStreamAnalyticsJob - - - - - Stop-AzureRmStreamAnalyticsJob - - - - - - - - - New-AzureRmStreamAnalyticsOutput - - + + + + New-AzureRmStreamAnalyticsJob + + Name + + Specifies the name of the Azure Stream Analytics job to create. + + String + + + File + + Specifies the path to a JSON file that contains the JSON representation of the Azure Stream Analytics job to create. + + String + + + Force + + If this parameter is specified, the cmdlet will replace the specified Azure Stream Analytics job if it already exists without asking for confirmation. + + SwitchParameter + + + ResourceGroupName + + Specifies the name of the resource group that the Azure Stream Analytics job should be created under. + + String + + + + + + Name + + Specifies the name of the Azure Stream Analytics job to create. + + String + + String + + + + + + File + + Specifies the path to a JSON file that contains the JSON representation of the Azure Stream Analytics job to create. + + String + + String + + + + + + Force + + If this parameter is specified, the cmdlet will replace the specified Azure Stream Analytics job if it already exists without asking for confirmation. + + SwitchParameter + + SwitchParameter + + + + + + ResourceGroupName + + Specifies the name of the resource group that the Azure Stream Analytics job should be created under. + + String + + String + + + + + + Profile + + + + azureprofile + + azureprofile + + + + + + PipelineVariable + + Not Specified + + string + + string + + + + + + + + + + + + + + + + + + + + + + Microsoft.Azure.Commands.StreamAnalytics.Models.PSJob + + + + + + + + + + + + + + + Keywords: azure, azurerm, arm, resource, management, manager, analytics, stream + + + + + -------------------------- EXAMPLE 1 -------------------------- + + PS C:\> + + New-AzureRmStreamAnalyticsJob -ResourceGroupName StreamAnalytics-Default-West-US -File "C:\JobDefinition.json" + + This command creates a new job from the definition in JobDefinition.json. If an existing job with the name specified in the job definition file is already defined, the cmdlet will ask whether or not to replace it. + + + + + + + + + + + + + + -------------------------- EXAMPLE 2 -------------------------- + + PS C:\> + + New-AzureRmStreamAnalyticsJob -ResourceGroupName StreamAnalytics-Default-West-US -File "C:\JobDefinition.json" -Name StreamingJob -Force + + This command replaces the job definition for StreamingJob. + + + + + + + + + + + + + + + + Get-AzureRmStreamAnalyticsJob + + + + Remove-AzureRmStreamAnalyticsJob + + + + Start-AzureRmStreamAnalyticsJob + + + + Stop-AzureRmStreamAnalyticsJob + + + + + + + + New-AzureRmStreamAnalyticsOutput + + Creates a new output within a Stream Analytics job or updates an existing output. The name of the output can be specified in the .JSON file or on the command line. If both are specified, the name on command line must be the same with the one in the file. If you specify an output that already exists and do not specify -Force parameter, the cmdlet will ask whether or not to replace the existing output. If you specify -Force parameter and specify an existing output name, the output will be replaced without confirmation. - - - - - New - AzureStreamAnalyticsOutput - - - - + + + + + New + AzureRmStreamAnalyticsOutput + + + + The New-AzureRmStreamAnalyticsOutput cmdlet creates a new output within a Stream Analytics job or updates an existing output. The name of the output can be specified in the .JSON file or on the command line. If both are specified, the name on command line must be the same with the one in the file. If you specify an output that already exists and do not specify -Force parameter, the cmdlet will ask whether or not to replace the existing output. If you specify -Force parameter and specify an existing output name, the output will be replaced without confirmation. - - - - New-AzureRmStreamAnalyticsOutput - - JobName - - Specifies the name of the Azure Stream Analytics job that the Azure Stream Analytics output should be created under. - - String - - - Name - - Specifies the name of the Azure Stream Analytics output to create. - - String - - - File - - Specifies the path to a JSON file that contains the JSON representation of the Azure Stream Analytics output to create. - - String - - - Force - - If this parameter is specified, the cmdlet will replace the specified Azure Stream Analytics output if it already exists without asking for confirmation. - - SwitchParameter - - - ResourceGroupName - - Specifies the name of the resource group that the Azure Stream Analytics output should be created under. - - String - - - Profile - - - - AzureProfile - - - - - - JobName - - Specifies the name of the Azure Stream Analytics job that the Azure Stream Analytics output should be created under. - - String - - String - - - - - - - Name - - Specifies the name of the Azure Stream Analytics output to create. - - String - - String - - - - - - - File - - Specifies the path to a JSON file that contains the JSON representation of the Azure Stream Analytics output to create. - - String - - String - - - - - - - Force - - If this parameter is specified, the cmdlet will replace the specified Azure Stream Analytics output if it already exists without asking for confirmation. - - SwitchParameter - - SwitchParameter - - - - - - - ResourceGroupName - - Specifies the name of the resource group that the Azure Stream Analytics output should be created under. - - String - - String - - - - - - - Profile - - - - AzureProfile - - AzureProfile - - - - - - - PipelineVariable - - Not Specified - - string - - string - - - - - - - - - - - - - - - - - - - - - - - - - Microsoft.Azure.Commands.StreamAnalytics.Models.PSOutput - - - - - - - - - - - - - - - - - - - - Keywords: azure, azurerm, arm, resource, management, manager, analytics, stream - - - - - -------------------------- EXAMPLE 1 -------------------------- - - PS C:\> - - New-AzureRmStreamAnalyticsOutput -ResourceGroupName StreamAnalytics-Default-West-US -File "C:\Output.json" -JobName StreamingJob -Name output - - This command creates a new output called "output" in the job StreamingJob. If an existing output with this name + + + + New-AzureRmStreamAnalyticsOutput + + JobName + + Specifies the name of the Azure Stream Analytics job that the Azure Stream Analytics output should be created under. + + String + + + Name + + Specifies the name of the Azure Stream Analytics output to create. + + String + + + File + + Specifies the path to a JSON file that contains the JSON representation of the Azure Stream Analytics output to create. + + String + + + Force + + If this parameter is specified, the cmdlet will replace the specified Azure Stream Analytics output if it already exists without asking for confirmation. + + SwitchParameter + + + ResourceGroupName + + Specifies the name of the resource group that the Azure Stream Analytics output should be created under. + + String + + + + + + JobName + + Specifies the name of the Azure Stream Analytics job that the Azure Stream Analytics output should be created under. + + String + + String + + + + + + Name + + Specifies the name of the Azure Stream Analytics output to create. + + String + + String + + + + + + File + + Specifies the path to a JSON file that contains the JSON representation of the Azure Stream Analytics output to create. + + String + + String + + + + + + Force + + If this parameter is specified, the cmdlet will replace the specified Azure Stream Analytics output if it already exists without asking for confirmation. + + SwitchParameter + + SwitchParameter + + + + + + ResourceGroupName + + Specifies the name of the resource group that the Azure Stream Analytics output should be created under. + + String + + String + + + + + + Profile + + + + azureprofile + + azureprofile + + + + + + PipelineVariable + + Not Specified + + string + + string + + + + + + + + + + + + + + + + + + + + + + Microsoft.Azure.Commands.StreamAnalytics.Models.PSOutput + + + + + + + + + + + + + + + Keywords: azure, azurerm, arm, resource, management, manager, analytics, stream + + + + + -------------------------- EXAMPLE 1 -------------------------- + + PS C:\> + + New-AzureRmStreamAnalyticsOutput -ResourceGroupName StreamAnalytics-Default-West-US -File "C:\Output.json" -JobName StreamingJob -Name output + + This command creates a new output called "output" in the job StreamingJob. If an existing output with this name is already defined, the cmdlet will ask whether or not to replace it. - - - - - - - - - - - - - - - -------------------------- EXAMPLE 2 -------------------------- - - PS C:\> - - New-AzureRmStreamAnalyticsOutput -ResourceGroupName StreamAnalytics-Default-West-US -File "C:\Output.json" -JobName StreamingJob -Name output -Force - - This command replaces the definition for "output" in the job StreamingJob. - - - - - - - - - - - - - - - - - Get-AzureRmStreamAnalyticsOutput - - - - - Remove-AzureRmStreamAnalyticsOutput - - - - - Test-AzureRmStreamAnalyticsOutput - - - - - - - - - New-AzureRmStreamAnalyticsTransformation - - + + + + + + + + + + + + + + -------------------------- EXAMPLE 2 -------------------------- + + PS C:\> + + New-AzureRmStreamAnalyticsOutput -ResourceGroupName StreamAnalytics-Default-West-US -File "C:\Output.json" -JobName StreamingJob -Name output -Force + + This command replaces the definition for "output" in the job StreamingJob. + + + + + + + + + + + + + + + + Get-AzureRmStreamAnalyticsOutput + + + + Remove-AzureRmStreamAnalyticsOutput + + + + Test-AzureRmStreamAnalyticsOutput + + + + + + + + New-AzureRmStreamAnalyticsTransformation + + Creates a new transformation within a Stream Analytics job or updates the existing transformation. The name of the transformation can be specified in the .JSON file or on the command line. If both are specified, the name on command line must be the same with the one in the file. If you specify a transformation that already exists and do not specify -Force parameter, the cmdlet will ask whether or not to replace the existing transformation. If you specify -Force parameter and specify an existing transformation name, the transformation will be replaced without confirmation. - - - - - New - AzureStreamAnalyticsTransformation - - - - + + + + + New + AzureRmStreamAnalyticsTransformation + + + + The New-AzureRmStreamAnalyticsTransformation cmdlet creates a new transformation within a Stream Analytics job or updates the existing transformation. The name of the transformation can be specified in the .JSON file or on the command line. If both are specified, the name on command line must be the same with the one in the file. If you specify a transformation that already exists and do not specify -Force parameter, the cmdlet will ask whether or not to replace the existing transformation. If you specify -Force parameter and specify an existing transformation name, the transformation will be replaced without confirmation. - - - - New-AzureRmStreamAnalyticsTransformation - - JobName - - Specifies the name of the Azure Stream Analytics job that the Azure Stream Analytics transformation should be created under. - - String - - - Name - - Specifies the name of the Azure Stream Analytics transformation to create. - - String - - - File - - Specifies the path to a JSON file that contains the JSON representation of the Azure Stream Analytics transformation to create. - - String - - - Force - - If this parameter is specified, the cmdlet will replace the specified Azure Stream Analytics transformation if it already exists without asking for confirmation. - - SwitchParameter - - - ResourceGroupName - - Specifies the name of the resource group that the Azure Stream Analytics transformation should be created under. - - String - - - Profile - - - - AzureProfile - - - - - - JobName - - Specifies the name of the Azure Stream Analytics job that the Azure Stream Analytics transformation should be created under. - - String - - String - - - - - - - Name - - Specifies the name of the Azure Stream Analytics transformation to create. - - String - - String - - - - - - - File - - Specifies the path to a JSON file that contains the JSON representation of the Azure Stream Analytics transformation to create. - - String - - String - - - - - - - Force - - If this parameter is specified, the cmdlet will replace the specified Azure Stream Analytics transformation if it already exists without asking for confirmation. - - SwitchParameter - - SwitchParameter - - - - - - - ResourceGroupName - - Specifies the name of the resource group that the Azure Stream Analytics transformation should be created under. - - String - - String - - - - - - - Profile - - - - AzureProfile - - AzureProfile - - - - - - - PipelineVariable - - Not Specified - - string - - string - - - - - - - - - - - - - - - - - - - - - - - - - Microsoft.Azure.Commands.StreamAnalytics.Models.PSTransformation - - - - - - - - - - - - - - - - - - - - Keywords: azure, azurerm, arm, resource, management, manager, analytics, stream - - - - - -------------------------- EXAMPLE 1 -------------------------- - - PS C:\> - - New-AzureRmStreamAnalyticsTransformation -ResourceGroupName StreamAnalytics-Default-West-US -File "C:\Transformation.json" -JobName StreamingJob -Name StreamingJobTransform - - This command creates a new transformation called StreamingJobTransform in the job StreamingJob. If an existing transformation is already defined with this name, the cmdlet will ask whether or not to replace it. - - - - - - - - - - - - - - - -------------------------- EXAMPLE 2 -------------------------- - - PS C:\> - - New-AzureRmStreamAnalyticsTransformation -ResourceGroupName StreamAnalytics-Default-West-US -File "C:\Transformation.json" -JobName StreamingJob -Name StreamingJobTransform -Force - - This command replaces the definition of StreamingJobTransform in the job StreamingJob. - - - - - - - - - - - - - - - - - Get-AzureRmStreamAnalyticsTransformation - - - - - - - - - Remove-AzureRmStreamAnalyticsInput - - + + + + New-AzureRmStreamAnalyticsTransformation + + JobName + + Specifies the name of the Azure Stream Analytics job that the Azure Stream Analytics transformation should be created under. + + String + + + Name + + Specifies the name of the Azure Stream Analytics transformation to create. + + String + + + File + + Specifies the path to a JSON file that contains the JSON representation of the Azure Stream Analytics transformation to create. + + String + + + Force + + If this parameter is specified, the cmdlet will replace the specified Azure Stream Analytics transformation if it already exists without asking for confirmation. + + SwitchParameter + + + ResourceGroupName + + Specifies the name of the resource group that the Azure Stream Analytics transformation should be created under. + + String + + + + + + JobName + + Specifies the name of the Azure Stream Analytics job that the Azure Stream Analytics transformation should be created under. + + String + + String + + + + + + Name + + Specifies the name of the Azure Stream Analytics transformation to create. + + String + + String + + + + + + File + + Specifies the path to a JSON file that contains the JSON representation of the Azure Stream Analytics transformation to create. + + String + + String + + + + + + Force + + If this parameter is specified, the cmdlet will replace the specified Azure Stream Analytics transformation if it already exists without asking for confirmation. + + SwitchParameter + + SwitchParameter + + + + + + ResourceGroupName + + Specifies the name of the resource group that the Azure Stream Analytics transformation should be created under. + + String + + String + + + + + + Profile + + + + azureprofile + + azureprofile + + + + + + PipelineVariable + + Not Specified + + string + + string + + + + + + + + + + + + + + + + + + + + + + Microsoft.Azure.Commands.StreamAnalytics.Models.PSTransformation + + + + + + + + + + + + + + + Keywords: azure, azurerm, arm, resource, management, manager, analytics, stream + + + + + -------------------------- EXAMPLE 1 -------------------------- + + PS C:\> + + New-AzureRmStreamAnalyticsTransformation -ResourceGroupName StreamAnalytics-Default-West-US -File "C:\Transformation.json" -JobName StreamingJob -Name StreamingJobTransform + + This command creates a new transformation called StreamingJobTransform in the job StreamingJob. If an existing transformation is already defined with this name, the cmdlet will ask whether or not to replace it. + + + + + + + + + + + + + + -------------------------- EXAMPLE 2 -------------------------- + + PS C:\> + + New-AzureRmStreamAnalyticsTransformation -ResourceGroupName StreamAnalytics-Default-West-US -File "C:\Transformation.json" -JobName StreamingJob -Name StreamingJobTransform -Force + + This command replaces the definition of StreamingJobTransform in the job StreamingJob. + + + + + + + + + + + + + + + + Get-AzureRmStreamAnalyticsTransformation + + + + + + + + Remove-AzureRmStreamAnalyticsFunction + + + Asynchronously deletes a specific function from a Stream Analytics job in Microsoft Azure. + If you specify -Force parameter the function will be deleted without confirmation. + + + + + Remove + AzureRmStreamAnalyticsFunction + + + + + The Remove-AzureRmStreamAnalyticsFunction cmdlet asynchronously deletes a specific function from a Stream Analytics job in Microsoft Azure. + If you specify -Force parameter the function will be deleted without confirmation. + + + + Remove-AzureRmStreamAnalyticsFunction + + JobName + + Specifies the name of the Azure Stream Analytics job that the desired Azure Stream Analytics function belongs to. + + String + + + Name + + Specifies the name of the Azure Stream Analytics function to remove. + + String + + + Force + + If this parameter is specified, the cmdlet will delete the specified Azure Stream Analytics function without asking for confirmation. + + SwitchParameter + + + ResourceGroupName + + Specifies the name of the resource group that the Azure Stream Analytics function belongs to. + + String + + + + + + JobName + + Specifies the name of the Azure Stream Analytics job that the desired Azure Stream Analytics function belongs to. + + String + + String + + + + + + Name + + Specifies the name of the Azure Stream Analytics function to remove. + + String + + String + + + + + + Force + + If this parameter is specified, the cmdlet will delete the specified Azure Stream Analytics function without asking for confirmation. + + SwitchParameter + + SwitchParameter + + + + + + ResourceGroupName + + Specifies the name of the resource group that the Azure Stream Analytics function belongs to. + + String + + String + + + + + + + + + + + + + + + + + + + + + System.Object + + + + + + + + + + + + + + Keywords: azure, azurerm, arm, resource, management, manager, analytics, stream + + + + + -------------------------- EXAMPLE 1 -------------------------- + + PS C:\> + + Remove-AzureRmStreamAnalyticsFunction -ResourceGroupName StreamAnalytics-Default-West-US -JobName StreamingJob -Name ScoreTweet + + This command removes the function ScoreTweet from StreamingJob + + + + + + + + + + + + + + + + New-AzureRmStreamAnalyticsFunction + + + + Get-AzureRmStreamAnalyticsFunction + + + + Test-AzureRmStreamAnalyticsFunction + + + + + + + + Remove-AzureRmStreamAnalyticsInput + + Asynchronously deletes a specific input from a Stream Analytics job in Microsoft Azure. If you specify -Force parameter the input will be deleted without confirmation. - - - - - Remove - AzureStreamAnalyticsInput - - - - + + + + + Remove + AzureRmStreamAnalyticsInput + + + + The Remove-AzureRmStreamAnalyticsInput cmdlet asynchronously deletes a specific input from a Stream Analytics job in Microsoft Azure. If you specify -Force parameter the input will be deleted without confirmation. - - - - Remove-AzureRmStreamAnalyticsInput - - JobName - - Specifies the name of the Azure Stream Analytics job that the desired Azure Stream Analytics input belongs to. - - String - - - Name - - Specifies the name of the Azure Stream Analytics input to remove. - - String - - - Force - - If this parameter is specified, the cmdlet will delete the specified Azure Stream Analytics input without asking for confirmation. - - SwitchParameter - - - ResourceGroupName - - Specifies the name of the resource group that the Azure Stream Analytics input belongs to. - - String - - - Profile - - - - AzureProfile - - - - - - JobName - - Specifies the name of the Azure Stream Analytics job that the desired Azure Stream Analytics input belongs to. - - String - - String - - - - - - - Name - - Specifies the name of the Azure Stream Analytics input to remove. - - String - - String - - - - - - - Force - - If this parameter is specified, the cmdlet will delete the specified Azure Stream Analytics input without asking for confirmation. - - SwitchParameter - - SwitchParameter - - - - - - - ResourceGroupName - - Specifies the name of the resource group that the Azure Stream Analytics input belongs to. - - String - - String - - - - - - - Profile - - - - AzureProfile - - AzureProfile - - - - - - - PipelineVariable - - Not Specified - - string - - string - - - - - - - - - - - - - - - - - - - - - - - - - System.Object - - - - - - - - - - - - - - - - - - - - Keywords: azure, azurerm, arm, resource, management, manager, analytics, stream - - - - - -------------------------- EXAMPLE 1 -------------------------- - - PS C:\> - - Remove-AzureRmStreamAnalyticsInput -ResourceGroupName StreamAnalytics-Default-West-US -JobName StreamingJob -Name EventStream - - This command removes the input EventStream from StreamingJob - - - - - - - - - - - - - - - - - New-AzureRmStreamAnalyticsInput - - - - - Get-AzureRmStreamAnalyticsInput - - - - - Test-AzureRmStreamAnalyticsInput - - - - - - - - - Remove-AzureRmStreamAnalyticsJob - - + + + + Remove-AzureRmStreamAnalyticsInput + + JobName + + Specifies the name of the Azure Stream Analytics job that the desired Azure Stream Analytics input belongs to. + + String + + + Name + + Specifies the name of the Azure Stream Analytics input to remove. + + String + + + Force + + If this parameter is specified, the cmdlet will delete the specified Azure Stream Analytics input without asking for confirmation. + + SwitchParameter + + + ResourceGroupName + + Specifies the name of the resource group that the Azure Stream Analytics input belongs to. + + String + + + + + + JobName + + Specifies the name of the Azure Stream Analytics job that the desired Azure Stream Analytics input belongs to. + + String + + String + + + + + + Name + + Specifies the name of the Azure Stream Analytics input to remove. + + String + + String + + + + + + Force + + If this parameter is specified, the cmdlet will delete the specified Azure Stream Analytics input without asking for confirmation. + + SwitchParameter + + SwitchParameter + + + + + + ResourceGroupName + + Specifies the name of the resource group that the Azure Stream Analytics input belongs to. + + String + + String + + + + + + Profile + + + + azureprofile + + azureprofile + + + + + + PipelineVariable + + Not Specified + + string + + string + + + + + + + + + + + + + + + + + + + + + + System.Object + + + + + + + + + + + + + + + Keywords: azure, azurerm, arm, resource, management, manager, analytics, stream + + + + + -------------------------- EXAMPLE 1 -------------------------- + + PS C:\> + + Remove-AzureRmStreamAnalyticsInput -ResourceGroupName StreamAnalytics-Default-West-US -JobName StreamingJob -Name EventStream + + This command removes the input EventStream from StreamingJob + + + + + + + + + + + + + + + + New-AzureRmStreamAnalyticsInput + + + + Get-AzureRmStreamAnalyticsInput + + + + Test-AzureRmStreamAnalyticsInput + + + + + + + + Remove-AzureRmStreamAnalyticsJob + + Asynchronously deletes a specific Stream Analytics job in Microsoft Azure. If you specify -Force parameter the job will be deleted without confirmation. - - - - - Remove - AzureStreamAnalyticsJob - - - - + + + + + Remove + AzureRmStreamAnalyticsJob + + + + The Remove-AzureRmStreamAnalyticsJob cmdlet asynchronously deletes a specific Stream Analytics job in Microsoft Azure. If you specify -Force parameter the job will be deleted without confirmation. - - - - Remove-AzureRmStreamAnalyticsJob - - Name - - Specifies the name of the Azure Stream Analytics job to remove. - - String - - - Force - - If this parameter is specified, the cmdlet will delete the specified Azure Stream Analytics job without asking for confirmation. - - SwitchParameter - - - ResourceGroupName - - Specifies the name of the resource group that the Azure Stream Analytics job belongs to. - - String - - - Profile - - - - AzureProfile - - - - - - Name - - Specifies the name of the Azure Stream Analytics job to remove. - - String - - String - - - - - - - Force - - If this parameter is specified, the cmdlet will delete the specified Azure Stream Analytics job without asking for confirmation. - - SwitchParameter - - SwitchParameter - - - - - - - ResourceGroupName - - Specifies the name of the resource group that the Azure Stream Analytics job belongs to. - - String - - String - - - - - - - Profile - - - - AzureProfile - - AzureProfile - - - - - - - PipelineVariable - - Not Specified - - string - - string - - - - - - - - - - - - - - - - - - - - - - - - - System.Object - - - - - - - - - - - - - - - - - - - - Keywords: azure, azurerm, arm, resource, management, manager, analytics, stream - - - - - -------------------------- EXAMPLE 1 -------------------------- - - PS C:\> - - Remove-AzureRmStreamAnalyticsJob -ResourceGroupName StreamAnalytics-Default-West-US -Name StreamingJob - - This command removes the job StreamingJob. - - - - - - - - - - - - - - - - - Get-AzureRmStreamAnalyticsJob - - - - - New-AzureRmStreamAnalyticsJob - - - - - Start-AzureRmStreamAnalyticsJob - - - - - Stop-AzureRmStreamAnalyticsJob - - - - - - - - - Remove-AzureRmStreamAnalyticsOutput - - + + + + Remove-AzureRmStreamAnalyticsJob + + Name + + Specifies the name of the Azure Stream Analytics job to remove. + + String + + + Force + + If this parameter is specified, the cmdlet will delete the specified Azure Stream Analytics job without asking for confirmation. + + SwitchParameter + + + ResourceGroupName + + Specifies the name of the resource group that the Azure Stream Analytics job belongs to. + + String + + + + + + Name + + Specifies the name of the Azure Stream Analytics job to remove. + + String + + String + + + + + + Force + + If this parameter is specified, the cmdlet will delete the specified Azure Stream Analytics job without asking for confirmation. + + SwitchParameter + + SwitchParameter + + + + + + ResourceGroupName + + Specifies the name of the resource group that the Azure Stream Analytics job belongs to. + + String + + String + + + + + + Profile + + + + azureprofile + + azureprofile + + + + + + PipelineVariable + + Not Specified + + string + + string + + + + + + + + + + + + + + + + + + + + + + System.Object + + + + + + + + + + + + + + + Keywords: azure, azurerm, arm, resource, management, manager, analytics, stream + + + + + -------------------------- EXAMPLE 1 -------------------------- + + PS C:\> + + Remove-AzureRmStreamAnalyticsJob -ResourceGroupName StreamAnalytics-Default-West-US -Name StreamingJob + + This command removes the job StreamingJob. + + + + + + + + + + + + + + + + Get-AzureRmStreamAnalyticsJob + + + + New-AzureRmStreamAnalyticsJob + + + + Start-AzureRmStreamAnalyticsJob + + + + Stop-AzureRmStreamAnalyticsJob + + + + + + + + Remove-AzureRmStreamAnalyticsOutput + + Asynchronously deletes a specific output from a Stream Analytics job in Microsoft Azure. If you specify -Force parameter the output will be deleted without confirmation. - - - - - Remove - AzureStreamAnalyticsOutput - - - - + + + + + Remove + AzureRmStreamAnalyticsOutput + + + + The Remove-AzureRmStreamAnalyticsOutput cmdlet asynchronously deletes a specific output from a Stream Analytics job in Microsoft Azure. If you specify -Force parameter the output will be deleted without confirmation. - - - - Remove-AzureRmStreamAnalyticsOutput - - JobName - - Specifies the name of the Azure Stream Analytics job that the desired Azure Stream Analytics output belongs to. - - String - - - Name - - Specifies the name of the Azure Stream Analytics output to remove. - - String - - - Force - - If this parameter is specified, the cmdlet will delete the specified Azure Stream Analytics output without asking for confirmation. - - SwitchParameter - - - ResourceGroupName - - Specifies the name of the resource group that the Azure Stream Analytics output belongs to. - - String - - - Profile - - - - AzureProfile - - - - - - JobName - - Specifies the name of the Azure Stream Analytics job that the desired Azure Stream Analytics output belongs to. - - String - - String - - - - - - - Name - - Specifies the name of the Azure Stream Analytics output to remove. - - String - - String - - - - - - - Force - - If this parameter is specified, the cmdlet will delete the specified Azure Stream Analytics output without asking for confirmation. - - SwitchParameter - - SwitchParameter - - - - - - - ResourceGroupName - - Specifies the name of the resource group that the Azure Stream Analytics output belongs to. - - String - - String - - - - - - - Profile - - - - AzureProfile - - AzureProfile - - - - - - - PipelineVariable - - Not Specified - - string - - string - - - - - - - - - - - - - - - - - - - - - - - - - System.Object - - - - - - - - - - - - - - - - - - - - Keywords: azure, azurerm, arm, resource, management, manager, analytics, stream - - - - - -------------------------- EXAMPLE 1 -------------------------- - - PS C:\> - - Remove-AzureRmStreamAnalyticsOutput -ResourceGroupName StreamAnalytics-Default-West-US -JobName StreamingJob -Name Output - - This command removes the output Output in the job StreamingJob. - - - - - - - - - - - - - - - - - Get-AzureRmStreamAnalyticsOutput - - - - - New-AzureRmStreamAnalyticsOutput - - - - - Test-AzureRmStreamAnalyticsOutput - - - - - - - - - Start-AzureRmStreamAnalyticsJob - - Asynchronously deploys and starts a Stream Analytics job in Microsoft Azure. - - - - - Start - AzureStreamAnalyticsJob - - - - The Start-AzureRmStreamAnalyticsJob cmdlet asynchronously deploys and starts a Stream Analytics job in Microsoft Azure. - - - - Start-AzureRmStreamAnalyticsJob - - Name - - Specifies the name of the Azure Stream Analytics job to start. - - String - - - OutputStartMode - - Value may be JobStartTime, CustomTime, or LastOutputEventTime to indicate whether the starting point of the output event stream should either start whenever the job is started, start at a custom user time stamp specified via the outputStartTime property, or start from the last event output time. If the property is absent, the default is JobStartTime. - - String - - - OutputStartTime - - Value is either an ISO-8601 formatted time stamp that indicates the starting point of the output event stream, or null to indicate that the output event stream will start whenever the streaming job is started. This property must have a value if outputStartMode is set to CustomTime. - - Nullable`1[DateTime] - - - ResourceGroupName - - Specifies the name of the resource group that the Azure Stream Analytics job belongs to. - - String - - - Profile - - - - AzureProfile - - - - - - Name - - Specifies the name of the Azure Stream Analytics job to start. - - String - - String - - - - - - - OutputStartMode - - Value may be JobStartTime, CustomTime, or LastOutputEventTime to indicate whether the starting point of the output event stream should either start whenever the job is started, start at a custom user time stamp specified via the outputStartTime property, or start from the last event output time. If the property is absent, the default is JobStartTime. - - String - - String - - - - - - - OutputStartTime - - Value is either an ISO-8601 formatted time stamp that indicates the starting point of the output event stream, or null to indicate that the output event stream will start whenever the streaming job is started. This property must have a value if outputStartMode is set to CustomTime. - - Nullable`1[DateTime] - - Nullable`1[DateTime] - - - - - - - ResourceGroupName - - Specifies the name of the resource group that the Azure Stream Analytics job belongs to. - - String - - String - - - - - - - Profile - - - - AzureProfile - - AzureProfile - - - - - - - PipelineVariable - - Not Specified - - string - - string - - - - - - - - - - - - - - - - - - - - - - - - - System.Object - - - - - - - - - - - - - - - - - - - - Keywords: azure, azurerm, arm, resource, management, manager, analytics, stream - - - - - -------------------------- EXAMPLE 1 -------------------------- - - PS C:\> - - Start-AzureRmStreamAnalyticsJob -ResourceGroupName StreamAnalytics-Default-West-US -Name StreamingJob -OutputStartMode CustomTime -OutputStartTime 2014-07-03T01:00Z - - This command starts the job StreamingJob and specifies that the output event stream should start at timestamp 2014-07-03T01:00Z. - - - - - - - - - - - - - - - - - Get-AzureRmStreamAnalyticsJob - - - - - New-AzureRmStreamAnalyticsJob - - - - - Remove-AzureRmStreamAnalyticsJob - - - - - Stop-AzureRmStreamAnalyticsJob - - - - - - - - - Stop-AzureRmStreamAnalyticsJob - - Asynchronously stops a Stream Analytics job from running in Microsoft Azure and de-allocates resources that were that were being used. The job definition and meta-data will remain available within your subscription through both the Azure Portal and Management APIs, such that the job can be edited and restarted. You will not be charged for a job in the Stopped state. - - - - - Stop - AzureStreamAnalyticsJob - - - - The Stop-AzureRmStreamAnalyticsJob cmdlet asynchronously stops a Stream Analytics job from running in Microsoft Azure and de-allocates resources that were that were being used. The job definition and meta-data will remain available within your subscription through both the Azure Portal and Management APIs, such that the job can be edited and restarted. You will not be charged for a job in the Stopped state. - - - - Stop-AzureRmStreamAnalyticsJob - - Name - - Specifies the name of the Azure Stream Analytics job to stop. - - String - - - ResourceGroupName - - Specifies the name of the resource group that the Azure Stream Analytics job belongs to. - - String - - - Profile - - - - AzureProfile - - - - - - Name - - Specifies the name of the Azure Stream Analytics job to stop. - - String - - String - - - - - - - ResourceGroupName - - Specifies the name of the resource group that the Azure Stream Analytics job belongs to. - - String - - String - - - - - - - Profile - - - - AzureProfile - - AzureProfile - - - - - - - PipelineVariable - - Not Specified - - string - - string - - - - - - - - - - - - - - - - - - - - - - - - - System.Object - - - - - - - - - - - - - - - - - - - - Keywords: azure, azurerm, arm, resource, management, manager, analytics, stream - - - - - -------------------------- EXAMPLE 1 -------------------------- - - PS C:\> - - Stop-AzureRmStreamAnalyticsJob -ResourceGroupName StreamAnalytics-Default-West-US -Name StreamingJob - - This command stops the job StreamingJob. - - - - - - - - - - - - - - - - - Get-AzureRmStreamAnalyticsJob - - - - - New-AzureRmStreamAnalyticsJob - - - - - Remove-AzureRmStreamAnalyticsJob - - - - - Start-AzureRmStreamAnalyticsJob - - - - - - - - - Test-AzureRmStreamAnalyticsInput - - Tests the ability of Stream Analytics to connect to a specified input. - - - - - Test - AzureStreamAnalyticsInput - - - - The Test-AzureRmStreamAnalyticsInput cmdlet tests the ability of Stream Analytics to connect to a specified input. - - - - Test-AzureRmStreamAnalyticsInput - - JobName - - Specifies the name of the Azure Stream Analytics job that the desired Azure Stream Analytics input belongs to. - - String - - - Name - - Specifies the name of the Azure Stream Analytics input to test. - - String - - - ResourceGroupName - - Specifies the name of the resource group that the Azure Stream Analytics output belongs to. - - String - - - Profile - - - - AzureProfile - - - - - - JobName - - Specifies the name of the Azure Stream Analytics job that the desired Azure Stream Analytics input belongs to. - - String - - String - - - - - - - Name - - Specifies the name of the Azure Stream Analytics input to test. - - String - - String - - - - - - - ResourceGroupName - - Specifies the name of the resource group that the Azure Stream Analytics output belongs to. - - String - - String - - - - - - - Profile - - - - AzureProfile - - AzureProfile - - - - - - - PipelineVariable - - Not Specified - - string - - string - - - - - - - - - - - - - - - - - - - - - - - - - System.Object - - - - - - - - - - - - - - - - - - - - Keywords: azure, azurerm, arm, resource, management, manager, analytics, stream - - - - - -------------------------- EXAMPLE 1 -------------------------- - - PS C:\> - - Test-AzureRmStreamAnalyticsInput -ResourceGroupName StreamAnalytics-Default-West-US -JobName StreamingJob -Name EntryStream - - This tests the connection status of the input EntryStream in StreamingJob. - - - - - - - - - - - - - - - - - Get-AzureRmStreamAnalyticsInput - - - - - New-AzureRmStreamAnalyticsInput - - - - - Remove-AzureRmStreamAnalyticsInput - - - - - - - - - Test-AzureRmStreamAnalyticsOutput - - Tests the ability of Stream Analytics to connect to a specified output. - - - - - Test - AzureStreamAnalyticsOutput - - - - The Test-AzureRmStreamAnalyticsOutput cmdlet tests the ability of Stream Analytics to connect to a specified output. - - - - Test-AzureRmStreamAnalyticsOutput - - JobName - - Specifies the name of the Azure Stream Analytics job that the desired Azure Stream Analytics output belongs to. - - String - - - Name - - Specifies the name of the Azure Stream Analytics output to test. - - String - - - ResourceGroupName - - Specifies the name of the resource group that the Azure Stream Analytics output belongs to. - - String - - - Profile - - - - AzureProfile - - - - - - JobName - - Specifies the name of the Azure Stream Analytics job that the desired Azure Stream Analytics output belongs to. - - String - - String - - - - - - - Name - - Specifies the name of the Azure Stream Analytics output to test. - - String - - String - - - - - - - ResourceGroupName - - Specifies the name of the resource group that the Azure Stream Analytics output belongs to. - - String - - String - - - - - - - Profile - - - - AzureProfile - - AzureProfile - - - - - - - PipelineVariable - - Not Specified - - string - - string - - - - - - - - - - - - - - - - - - - - - - - - - System.Object - - - - - - - - - - - - - - - - - - - - Keywords: azure, azurerm, arm, resource, management, manager, analytics, stream - - - - - -------------------------- EXAMPLE 1 -------------------------- - - PS C:\> - - Test-AzureRmStreamAnalyticsOutput -ResourceGroupName StreamAnalytics-Default-West-US -JobName StreamingJob -Name Output - - This tests the connection status of the output Output in StreamingJob. - - - - - - - - - - - - - - - - - Get-AzureRmStreamAnalyticsOuput - - - - - New-AzureRmStreamAnalyticsOuput - - - - - Remove-AzureRmStreamAnalyticsOuput - - - - - + + + + Remove-AzureRmStreamAnalyticsOutput + + JobName + + Specifies the name of the Azure Stream Analytics job that the desired Azure Stream Analytics output belongs to. + + String + + + Name + + Specifies the name of the Azure Stream Analytics output to remove. + + String + + + Force + + If this parameter is specified, the cmdlet will delete the specified Azure Stream Analytics output without asking for confirmation. + + SwitchParameter + + + ResourceGroupName + + Specifies the name of the resource group that the Azure Stream Analytics output belongs to. + + String + + + + + + JobName + + Specifies the name of the Azure Stream Analytics job that the desired Azure Stream Analytics output belongs to. + + String + + String + + + + + + Name + + Specifies the name of the Azure Stream Analytics output to remove. + + String + + String + + + + + + Force + + If this parameter is specified, the cmdlet will delete the specified Azure Stream Analytics output without asking for confirmation. + + SwitchParameter + + SwitchParameter + + + + + + ResourceGroupName + + Specifies the name of the resource group that the Azure Stream Analytics output belongs to. + + String + + String + + + + + + Profile + + + + azureprofile + + azureprofile + + + + + + PipelineVariable + + Not Specified + + string + + string + + + + + + + + + + + + + + + + + + + + + + System.Object + + + + + + + + + + + + + + + Keywords: azure, azurerm, arm, resource, management, manager, analytics, stream + + + + + -------------------------- EXAMPLE 1 -------------------------- + + PS C:\> + + Remove-AzureRmStreamAnalyticsOutput -ResourceGroupName StreamAnalytics-Default-West-US -JobName StreamingJob -Name Output + + This command removes the output Output in the job StreamingJob. + + + + + + + + + + + + + + + + Get-AzureRmStreamAnalyticsOutput + + + + New-AzureRmStreamAnalyticsOutput + + + + Test-AzureRmStreamAnalyticsOutput + + + + + + + + Start-AzureRmStreamAnalyticsJob + + Asynchronously deploys and starts a Stream Analytics job in Microsoft Azure. + + + + + Start + AzureRmStreamAnalyticsJob + + + + The Start-AzureRmStreamAnalyticsJob cmdlet asynchronously deploys and starts a Stream Analytics job in Microsoft Azure. + + + + Start-AzureRmStreamAnalyticsJob + + Name + + Specifies the name of the Azure Stream Analytics job to start. + + String + + + OutputStartMode + + Value may be JobStartTime, CustomTime, or LastOutputEventTime to indicate whether the starting point of the output event stream should either start whenever the job is started, start at a custom user time stamp specified via the outputStartTime property, or start from the last event output time. If the property is absent, the default is JobStartTime. + + String + + + OutputStartTime + + Value is either an ISO-8601 formatted time stamp that indicates the starting point of the output event stream, or null to indicate that the output event stream will start whenever the streaming job is started. This property must have a value if outputStartMode is set to CustomTime. + + Nullable`1[DateTime] + + + ResourceGroupName + + Specifies the name of the resource group that the Azure Stream Analytics job belongs to. + + String + + + + + + Name + + Specifies the name of the Azure Stream Analytics job to start. + + String + + String + + + + + + OutputStartMode + + Value may be JobStartTime, CustomTime, or LastOutputEventTime to indicate whether the starting point of the output event stream should either start whenever the job is started, start at a custom user time stamp specified via the outputStartTime property, or start from the last event output time. If the property is absent, the default is JobStartTime. + + String + + String + + + + + + OutputStartTime + + Value is either an ISO-8601 formatted time stamp that indicates the starting point of the output event stream, or null to indicate that the output event stream will start whenever the streaming job is started. This property must have a value if outputStartMode is set to CustomTime. + + Nullable`1[DateTime] + + Nullable`1[DateTime] + + + + + + ResourceGroupName + + Specifies the name of the resource group that the Azure Stream Analytics job belongs to. + + String + + String + + + + + + Profile + + + + azureprofile + + azureprofile + + + + + + PipelineVariable + + Not Specified + + string + + string + + + + + + + + + + + + + + + + + + + + + + System.Object + + + + + + + + + + + + + + + Keywords: azure, azurerm, arm, resource, management, manager, analytics, stream + + + + + -------------------------- EXAMPLE 1 -------------------------- + + PS C:\> + + Start-AzureRmStreamAnalyticsJob -ResourceGroupName StreamAnalytics-Default-West-US -Name StreamingJob -OutputStartMode CustomTime -OutputStartTime 2014-07-03T01:00Z + + This command starts the job StreamingJob and specifies that the output event stream should start at timestamp 2014-07-03T01:00Z. + + + + + + + + + + + + + + + + Get-AzureRmStreamAnalyticsJob + + + + New-AzureRmStreamAnalyticsJob + + + + Remove-AzureRmStreamAnalyticsJob + + + + Stop-AzureRmStreamAnalyticsJob + + + + + + + + Stop-AzureRmStreamAnalyticsJob + + Asynchronously stops a Stream Analytics job from running in Microsoft Azure and de-allocates resources that were that were being used. The job definition and meta-data will remain available within your subscription through both the Azure Portal and Management APIs, such that the job can be edited and restarted. You will not be charged for a job in the Stopped state. + + + + + Stop + AzureRmStreamAnalyticsJob + + + + The Stop-AzureRmStreamAnalyticsJob cmdlet asynchronously stops a Stream Analytics job from running in Microsoft Azure and de-allocates resources that were that were being used. The job definition and meta-data will remain available within your subscription through both the Azure Portal and Management APIs, such that the job can be edited and restarted. You will not be charged for a job in the Stopped state. + + + + Stop-AzureRmStreamAnalyticsJob + + Name + + Specifies the name of the Azure Stream Analytics job to stop. + + String + + + ResourceGroupName + + Specifies the name of the resource group that the Azure Stream Analytics job belongs to. + + String + + + + + + Name + + Specifies the name of the Azure Stream Analytics job to stop. + + String + + String + + + + + + ResourceGroupName + + Specifies the name of the resource group that the Azure Stream Analytics job belongs to. + + String + + String + + + + + + Profile + + + + azureprofile + + azureprofile + + + + + + PipelineVariable + + Not Specified + + string + + string + + + + + + + + + + + + + + + + + + + + + + System.Object + + + + + + + + + + + + + + + Keywords: azure, azurerm, arm, resource, management, manager, analytics, stream + + + + + -------------------------- EXAMPLE 1 -------------------------- + + PS C:\> + + Stop-AzureRmStreamAnalyticsJob -ResourceGroupName StreamAnalytics-Default-West-US -Name StreamingJob + + This command stops the job StreamingJob. + + + + + + + + + + + + + + + + Get-AzureRmStreamAnalyticsJob + + + + New-AzureRmStreamAnalyticsJob + + + + Remove-AzureRmStreamAnalyticsJob + + + + Start-AzureRmStreamAnalyticsJob + + + + + + + + Test-AzureRmStreamAnalyticsFunction + + Tests the ability of Stream Analytics to connect to a specified function. + + + + + Test + AzureRmStreamAnalyticsFunction + + + + The Test-AzureRmStreamAnalyticsFunction cmdlet tests the ability of Stream Analytics to connect to a specified function. + + + + Test-AzureRmStreamAnalyticsFunction + + JobName + + Specifies the name of the Azure Stream Analytics job that the desired Azure Stream Analytics function belongs to. + + String + + + Name + + Specifies the name of the Azure Stream Analytics function to test. + + String + + + ResourceGroupName + + Specifies the name of the resource group that the Azure Stream Analytics function belongs to. + + String + + + + + + JobName + + Specifies the name of the Azure Stream Analytics job that the desired Azure Stream Analytics function belongs to. + + String + + String + + + + + + Name + + Specifies the name of the Azure Stream Analytics function to test. + + String + + String + + + + + + ResourceGroupName + + Specifies the name of the resource group that the Azure Stream Analytics function belongs to. + + String + + String + + + + + + + + + + + + + + + + + + + + + System.Object + + + + + + + + + + + + + + Keywords: azure, azurerm, arm, resource, management, manager, analytics, stream + + + + + -------------------------- EXAMPLE 1 -------------------------- + + PS C:\> + + Test-AzureRmStreamAnalyticsFunction -ResourceGroupName StreamAnalytics-Default-West-US -JobName StreamingJob -Name ScoreTweet + + This tests the connection status of the function ScoreTweet in StreamingJob. + + + + + + + + + + + + + + + + Get-AzureRmStreamAnalyticsFunction + + + + New-AzureRmStreamAnalyticsFunction + + + + Remove-AzureRmStreamAnalyticsFunction + + + + + + + + Test-AzureRmStreamAnalyticsInput + + Tests the ability of Stream Analytics to connect to a specified input. + + + + + Test + AzureRmStreamAnalyticsInput + + + + The Test-AzureRmStreamAnalyticsInput cmdlet tests the ability of Stream Analytics to connect to a specified input. + + + + Test-AzureRmStreamAnalyticsInput + + JobName + + Specifies the name of the Azure Stream Analytics job that the desired Azure Stream Analytics input belongs to. + + String + + + Name + + Specifies the name of the Azure Stream Analytics input to test. + + String + + + ResourceGroupName + + Specifies the name of the resource group that the Azure Stream Analytics output belongs to. + + String + + + + + + JobName + + Specifies the name of the Azure Stream Analytics job that the desired Azure Stream Analytics input belongs to. + + String + + String + + + + + + Name + + Specifies the name of the Azure Stream Analytics input to test. + + String + + String + + + + + + ResourceGroupName + + Specifies the name of the resource group that the Azure Stream Analytics output belongs to. + + String + + String + + + + + + Profile + + + + azureprofile + + azureprofile + + + + + + PipelineVariable + + Not Specified + + string + + string + + + + + + + + + + + + + + + + + + + + + + System.Object + + + + + + + + + + + + + + + Keywords: azure, azurerm, arm, resource, management, manager, analytics, stream + + + + + -------------------------- EXAMPLE 1 -------------------------- + + PS C:\> + + Test-AzureRmStreamAnalyticsInput -ResourceGroupName StreamAnalytics-Default-West-US -JobName StreamingJob -Name EntryStream + + This tests the connection status of the input EntryStream in StreamingJob. + + + + + + + + + + + + + + + + Get-AzureRmStreamAnalyticsInput + + + + New-AzureRmStreamAnalyticsInput + + + + Remove-AzureRmStreamAnalyticsInput + + + + + + + + Test-AzureRmStreamAnalyticsOutput + + Tests the ability of Stream Analytics to connect to a specified output. + + + + + Test + AzureRmStreamAnalyticsOutput + + + + The Test-AzureRmStreamAnalyticsOutput cmdlet tests the ability of Stream Analytics to connect to a specified output. + + + + Test-AzureRmStreamAnalyticsOutput + + JobName + + Specifies the name of the Azure Stream Analytics job that the desired Azure Stream Analytics output belongs to. + + String + + + Name + + Specifies the name of the Azure Stream Analytics output to test. + + String + + + ResourceGroupName + + Specifies the name of the resource group that the Azure Stream Analytics output belongs to. + + String + + + + + + JobName + + Specifies the name of the Azure Stream Analytics job that the desired Azure Stream Analytics output belongs to. + + String + + String + + + + + + Name + + Specifies the name of the Azure Stream Analytics output to test. + + String + + String + + + + + + ResourceGroupName + + Specifies the name of the resource group that the Azure Stream Analytics output belongs to. + + String + + String + + + + + + Profile + + + + azureprofile + + azureprofile + + + + + + PipelineVariable + + Not Specified + + string + + string + + + + + + + + + + + + + + + + + + + + + + System.Object + + + + + + + + + + + + + + + Keywords: azure, azurerm, arm, resource, management, manager, analytics, stream + + + + + -------------------------- EXAMPLE 1 -------------------------- + + PS C:\> + + Test-AzureRmStreamAnalyticsOutput -ResourceGroupName StreamAnalytics-Default-West-US -JobName StreamingJob -Name Output + + This tests the connection status of the output Output in StreamingJob. + + + + + + + + + + + + + + + + Get-AzureRmStreamAnalyticsOuput + + + + New-AzureRmStreamAnalyticsOuput + + + + Remove-AzureRmStreamAnalyticsOuput + + + + \ No newline at end of file diff --git a/src/ResourceManager/StreamAnalytics/Commands.StreamAnalytics/Microsoft.Azure.Commands.StreamAnalytics.format.ps1xml b/src/ResourceManager/StreamAnalytics/Commands.StreamAnalytics/Microsoft.Azure.Commands.StreamAnalytics.format.ps1xml index c62f05a2f246..50b27ff6401d 100644 --- a/src/ResourceManager/StreamAnalytics/Commands.StreamAnalytics/Microsoft.Azure.Commands.StreamAnalytics.format.ps1xml +++ b/src/ResourceManager/StreamAnalytics/Commands.StreamAnalytics/Microsoft.Azure.Commands.StreamAnalytics.format.ps1xml @@ -171,5 +171,35 @@ + + Microsoft.Azure.Commands.StreamAnalytics.Models.PSFunction + + Microsoft.Azure.Commands.StreamAnalytics.Models.PSFunction + + + + + + + + Name + + + + JobName + + + + ResourceGroupName + + + + PropertiesInJson + + + + + + diff --git a/src/ResourceManager/StreamAnalytics/Commands.StreamAnalytics/Models/CreatePSFunctionParameter.cs b/src/ResourceManager/StreamAnalytics/Commands.StreamAnalytics/Models/CreatePSFunctionParameter.cs new file mode 100644 index 000000000000..331106b6ab29 --- /dev/null +++ b/src/ResourceManager/StreamAnalytics/Commands.StreamAnalytics/Models/CreatePSFunctionParameter.cs @@ -0,0 +1,29 @@ +// ---------------------------------------------------------------------------------- +// +// 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; + +namespace Microsoft.Azure.Commands.StreamAnalytics.Models +{ + public class CreatePSFunctionParameter : JobParametersBase + { + public string FunctionName { get; set; } + + public string RawJsonContent { get; set; } + + public bool Force { get; set; } + + public Action ConfirmAction { get; set; } + } +} diff --git a/src/ResourceManager/StreamAnalytics/Commands.StreamAnalytics/Models/FunctionFilterOptions.cs b/src/ResourceManager/StreamAnalytics/Commands.StreamAnalytics/Models/FunctionFilterOptions.cs new file mode 100644 index 000000000000..b0cad89732ef --- /dev/null +++ b/src/ResourceManager/StreamAnalytics/Commands.StreamAnalytics/Models/FunctionFilterOptions.cs @@ -0,0 +1,25 @@ +// ---------------------------------------------------------------------------------- +// +// 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. +// ---------------------------------------------------------------------------------- + +namespace Microsoft.Azure.Commands.StreamAnalytics.Models +{ + public class FunctionFilterOptions + { + public string Name { get; set; } + + public string JobName { get; set; } + + public string ResourceGroupName { get; set; } + } +} diff --git a/src/ResourceManager/StreamAnalytics/Commands.StreamAnalytics/Models/PSFunction.cs b/src/ResourceManager/StreamAnalytics/Commands.StreamAnalytics/Models/PSFunction.cs new file mode 100644 index 000000000000..7595107a4639 --- /dev/null +++ b/src/ResourceManager/StreamAnalytics/Commands.StreamAnalytics/Models/PSFunction.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 System; +using Microsoft.Azure.Management.StreamAnalytics.Models; + +namespace Microsoft.Azure.Commands.StreamAnalytics.Models +{ + public class PSFunction + { + private Function function; + + public PSFunction() + { + function = new Function(); + } + + public PSFunction(Function function) + { + if (function == null) + { + throw new ArgumentNullException("function"); + } + + this.function = function; + } + + public string Name + { + get + { + return function.Name; + } + internal set + { + function.Name = value; + } + } + + public string JobName { get; set; } + + public string ResourceGroupName { get; set; } + + public FunctionProperties Properties + { + get + { + return function.Properties; + } + internal set + { + function.Properties = value; + } + } + + public string PropertiesInJson + { + get { return function.ToFormattedString(); } + } + } +} diff --git a/src/ResourceManager/StreamAnalytics/Commands.StreamAnalytics/Models/PSInput.cs b/src/ResourceManager/StreamAnalytics/Commands.StreamAnalytics/Models/PSInput.cs index 5841ffd65482..95b96fc99302 100644 --- a/src/ResourceManager/StreamAnalytics/Commands.StreamAnalytics/Models/PSInput.cs +++ b/src/ResourceManager/StreamAnalytics/Commands.StreamAnalytics/Models/PSInput.cs @@ -66,7 +66,7 @@ internal set public string PropertiesInJson { - get { return input.Properties.ToFormattedString(); } + get { return input.ToFormattedString(); } } } } diff --git a/src/ResourceManager/StreamAnalytics/Commands.StreamAnalytics/Models/PSJob.cs b/src/ResourceManager/StreamAnalytics/Commands.StreamAnalytics/Models/PSJob.cs index dd2dccc52dab..f505c7d8d61f 100644 --- a/src/ResourceManager/StreamAnalytics/Commands.StreamAnalytics/Models/PSJob.cs +++ b/src/ResourceManager/StreamAnalytics/Commands.StreamAnalytics/Models/PSJob.cs @@ -137,7 +137,7 @@ internal set public string PropertiesInJson { - get { return job.Properties.ToFormattedString(); } + get { return job.ToFormattedString(); } } } } diff --git a/src/ResourceManager/StreamAnalytics/Commands.StreamAnalytics/Models/PSOutput.cs b/src/ResourceManager/StreamAnalytics/Commands.StreamAnalytics/Models/PSOutput.cs index 4c66a9ebea8b..2e6834c7e21b 100644 --- a/src/ResourceManager/StreamAnalytics/Commands.StreamAnalytics/Models/PSOutput.cs +++ b/src/ResourceManager/StreamAnalytics/Commands.StreamAnalytics/Models/PSOutput.cs @@ -66,7 +66,7 @@ internal set public string PropertiesInJson { - get { return output.Properties.ToFormattedString(); } + get { return output.ToFormattedString(); } } } } \ No newline at end of file diff --git a/src/ResourceManager/StreamAnalytics/Commands.StreamAnalytics/Models/PSTransformation.cs b/src/ResourceManager/StreamAnalytics/Commands.StreamAnalytics/Models/PSTransformation.cs index 9f5fd43c31c9..fde302366ef7 100644 --- a/src/ResourceManager/StreamAnalytics/Commands.StreamAnalytics/Models/PSTransformation.cs +++ b/src/ResourceManager/StreamAnalytics/Commands.StreamAnalytics/Models/PSTransformation.cs @@ -66,7 +66,7 @@ internal set public string PropertiesInJson { - get { return transformation.Properties.ToFormattedString(); } + get { return transformation.ToFormattedString(); } } } } diff --git a/src/ResourceManager/StreamAnalytics/Commands.StreamAnalytics/Models/RetrieveDefaultPSFunctionDefinitionParameter.cs b/src/ResourceManager/StreamAnalytics/Commands.StreamAnalytics/Models/RetrieveDefaultPSFunctionDefinitionParameter.cs new file mode 100644 index 000000000000..e3aceb8ac50f --- /dev/null +++ b/src/ResourceManager/StreamAnalytics/Commands.StreamAnalytics/Models/RetrieveDefaultPSFunctionDefinitionParameter.cs @@ -0,0 +1,25 @@ +// ---------------------------------------------------------------------------------- +// +// 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; + +namespace Microsoft.Azure.Commands.StreamAnalytics.Models +{ + public class RetrieveDefaultPSFunctionDefinitionParameter : JobParametersBase + { + public string FunctionName { get; set; } + + public string RawJsonContent { get; set; } + } +} diff --git a/src/ResourceManager/StreamAnalytics/Commands.StreamAnalytics/Models/StreamAnalyticsClient.Functions.cs b/src/ResourceManager/StreamAnalytics/Commands.StreamAnalytics/Models/StreamAnalyticsClient.Functions.cs new file mode 100644 index 000000000000..2144284dabed --- /dev/null +++ b/src/ResourceManager/StreamAnalytics/Commands.StreamAnalytics/Models/StreamAnalyticsClient.Functions.cs @@ -0,0 +1,212 @@ +// ---------------------------------------------------------------------------------- +// +// 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.Globalization; +using System.Net; +using Microsoft.Azure.Commands.StreamAnalytics.Properties; +using Microsoft.Azure.Management.StreamAnalytics; +using Microsoft.Azure.Management.StreamAnalytics.Models; +using Hyak.Common; +using Newtonsoft.Json; + +namespace Microsoft.Azure.Commands.StreamAnalytics.Models +{ + public partial class StreamAnalyticsClient + { + public virtual PSFunction GetFunction(string resourceGroupName, string jobName, string name) + { + var response = StreamAnalyticsManagementClient.Functions.Get( + resourceGroupName, jobName, name); + + return new PSFunction(response.Function) + { + ResourceGroupName = resourceGroupName, + JobName = jobName + }; + } + + public virtual List ListFunctions(string resourceGroupName, string jobName) + { + List functions = new List(); + + var response = StreamAnalyticsManagementClient.Functions.ListFunctionsInJob(resourceGroupName, jobName); + + if (response != null && response.Value != null) + { + foreach (var function in response.Value) + { + functions.Add(new PSFunction(function) + { + ResourceGroupName = resourceGroupName, + JobName = jobName + }); + } + } + + return functions; + } + + public virtual List FilterPSFunctions(FunctionFilterOptions filterOptions) + { + if (filterOptions == null) + { + throw new ArgumentNullException("filterOptions"); + } + + if (string.IsNullOrWhiteSpace(filterOptions.ResourceGroupName)) + { + throw new ArgumentException(Resources.ResourceGroupNameCannotBeEmpty); + } + + if (string.IsNullOrWhiteSpace(filterOptions.JobName)) + { + throw new ArgumentException(Resources.JobNameCannotBeEmpty); + } + + List functions = new List(); + + if (!string.IsNullOrWhiteSpace(filterOptions.Name)) + { + functions.Add(GetFunction(filterOptions.ResourceGroupName, filterOptions.JobName, filterOptions.Name)); + } + else + { + functions.AddRange(ListFunctions(filterOptions.ResourceGroupName, filterOptions.JobName)); + } + + return functions; + } + + protected virtual Function CreateOrUpdatePSFunction(string resourceGroupName, string jobName, string functionName, string rawJsonContent) + { + if (string.IsNullOrWhiteSpace(rawJsonContent)) + { + throw new ArgumentNullException("rawJsonContent"); + } + + // If create failed, the current behavior is to throw + var response = StreamAnalyticsManagementClient.Functions.CreateOrUpdateWithRawJsonContent( + resourceGroupName, + jobName, + functionName, + new FunctionCreateOrUpdateWithRawJsonContentParameters() { Content = rawJsonContent }); + + return response.Function; + } + + public virtual PSFunction CreatePSFunction(CreatePSFunctionParameter parameter) + { + if (parameter == null) + { + throw new ArgumentNullException("parameter"); + } + + PSFunction function = null; + Action createFunction = () => + { + function = new PSFunction( + CreateOrUpdatePSFunction(parameter.ResourceGroupName, + parameter.JobName, + parameter.FunctionName, + parameter.RawJsonContent)) + { + ResourceGroupName = parameter.ResourceGroupName, + JobName = parameter.JobName + }; + }; + + if (parameter.Force) + { + // If user decides to overwrite anyway, then there is no need to check if the linked service exists or not. + createFunction(); + } + else + { + bool functionExists = CheckFunctionExists(parameter.ResourceGroupName, parameter.JobName, parameter.FunctionName); + + parameter.ConfirmAction( + !functionExists, + string.Format( + CultureInfo.InvariantCulture, + Resources.FunctionExists, + parameter.FunctionName, + parameter.JobName, + parameter.ResourceGroupName), + string.Format( + CultureInfo.InvariantCulture, + Resources.FunctionCreating, + parameter.FunctionName, + parameter.JobName, + parameter.ResourceGroupName), + parameter.FunctionName, + createFunction); + } + + return function; + } + + public virtual HttpStatusCode RemovePSFunction(string resourceGroupName, string jobName, string functionName) + { + AzureOperationResponse response = StreamAnalyticsManagementClient.Functions.Delete(resourceGroupName, jobName, functionName); + + return response.StatusCode; + } + + public virtual ResourceTestConnectionResponse TestPSFunction(string resourceGroupName, string jobName, string functionName) + { + return StreamAnalyticsManagementClient.Functions.TestConnection(resourceGroupName, jobName, functionName); + } + + public virtual PSFunction RetrieveDefaultPSFunctionDefinition(RetrieveDefaultPSFunctionDefinitionParameter parameter) + { + if (parameter == null) + { + throw new ArgumentNullException("parameter"); + } + + var response = StreamAnalyticsManagementClient.Functions.RetrieveDefaultDefinitionWithRawJsonContent( + parameter.ResourceGroupName, parameter.JobName, parameter.FunctionName, + new FunctionRetrieveDefaultDefinitionWithRawJsonContentParameters() {Content = parameter.RawJsonContent}); + + return new PSFunction(response.Function) + { + ResourceGroupName = parameter.ResourceGroupName, + JobName = parameter.JobName + }; + } + + private bool CheckFunctionExists(string resourceGroupName, string jobName, string functionName) + { + try + { + PSFunction function = GetFunction(resourceGroupName, jobName, functionName); + return true; + } + catch (CloudException e) + { + //Get throws Exception message with NotFound Status + if (e.Response.StatusCode == HttpStatusCode.NotFound) + { + return false; + } + else + { + throw; + } + } + } + } +} diff --git a/src/ResourceManager/StreamAnalytics/Commands.StreamAnalytics/Models/StreamAnalyticsClient.Inputs.cs b/src/ResourceManager/StreamAnalytics/Commands.StreamAnalytics/Models/StreamAnalyticsClient.Inputs.cs index 008d72b5f26c..a9a8cde4a6f8 100644 --- a/src/ResourceManager/StreamAnalytics/Commands.StreamAnalytics/Models/StreamAnalyticsClient.Inputs.cs +++ b/src/ResourceManager/StreamAnalytics/Commands.StreamAnalytics/Models/StreamAnalyticsClient.Inputs.cs @@ -19,7 +19,6 @@ using Microsoft.Azure.Commands.StreamAnalytics.Properties; using Microsoft.Azure.Management.StreamAnalytics; using Microsoft.Azure.Management.StreamAnalytics.Models; -using Microsoft.WindowsAzure; using Hyak.Common; namespace Microsoft.Azure.Commands.StreamAnalytics.Models @@ -165,7 +164,7 @@ public virtual HttpStatusCode RemovePSInput(string resourceGroupName, string job return response.StatusCode; } - public virtual DataSourceTestConnectionResponse TestPSInput(string resourceGroupName, string jobName, string inputName) + public virtual ResourceTestConnectionResponse TestPSInput(string resourceGroupName, string jobName, string inputName) { return StreamAnalyticsManagementClient.Inputs.TestConnection(resourceGroupName, jobName, inputName); } diff --git a/src/ResourceManager/StreamAnalytics/Commands.StreamAnalytics/Models/StreamAnalyticsClient.Outputs.cs b/src/ResourceManager/StreamAnalytics/Commands.StreamAnalytics/Models/StreamAnalyticsClient.Outputs.cs index f17fa411ac26..281cd9faf91f 100644 --- a/src/ResourceManager/StreamAnalytics/Commands.StreamAnalytics/Models/StreamAnalyticsClient.Outputs.cs +++ b/src/ResourceManager/StreamAnalytics/Commands.StreamAnalytics/Models/StreamAnalyticsClient.Outputs.cs @@ -19,7 +19,6 @@ using Microsoft.Azure.Commands.StreamAnalytics.Properties; using Microsoft.Azure.Management.StreamAnalytics; using Microsoft.Azure.Management.StreamAnalytics.Models; -using Microsoft.WindowsAzure; using Hyak.Common; namespace Microsoft.Azure.Commands.StreamAnalytics.Models @@ -165,7 +164,7 @@ public virtual HttpStatusCode RemovePSOutput(string resourceGroupName, string jo return response.StatusCode; } - public virtual DataSourceTestConnectionResponse TestPSOutput(string resourceGroupName, string jobName, string outputName) + public virtual ResourceTestConnectionResponse TestPSOutput(string resourceGroupName, string jobName, string outputName) { return StreamAnalyticsManagementClient.Outputs.TestConnection(resourceGroupName, jobName, outputName); } diff --git a/src/ResourceManager/StreamAnalytics/Commands.StreamAnalytics/Output/TestAzureStreamAnalyticsOutputCommand.cs b/src/ResourceManager/StreamAnalytics/Commands.StreamAnalytics/Output/TestAzureStreamAnalyticsOutputCommand.cs index 0167bb6182d0..50180e21f463 100644 --- a/src/ResourceManager/StreamAnalytics/Commands.StreamAnalytics/Output/TestAzureStreamAnalyticsOutputCommand.cs +++ b/src/ResourceManager/StreamAnalytics/Commands.StreamAnalytics/Output/TestAzureStreamAnalyticsOutputCommand.cs @@ -53,8 +53,8 @@ public override void ExecuteCmdlet() try { - DataSourceTestConnectionResponse response = StreamAnalyticsClient.TestPSOutput(ResourceGroupName, JobName, Name); - if (response.StatusCode == HttpStatusCode.OK && response.DataSourceTestStatus == DataSourceTestStatus.TestSucceeded) + ResourceTestConnectionResponse response = StreamAnalyticsClient.TestPSOutput(ResourceGroupName, JobName, Name); + if (response.StatusCode == HttpStatusCode.OK && response.ResourceTestStatus == ResourceTestStatus.TestSucceeded) { WriteObject(true); } diff --git a/src/ResourceManager/StreamAnalytics/Commands.StreamAnalytics/Properties/Resources.Designer.cs b/src/ResourceManager/StreamAnalytics/Commands.StreamAnalytics/Properties/Resources.Designer.cs index 79d596b5724f..5aac8c5e2568 100644 --- a/src/ResourceManager/StreamAnalytics/Commands.StreamAnalytics/Properties/Resources.Designer.cs +++ b/src/ResourceManager/StreamAnalytics/Commands.StreamAnalytics/Properties/Resources.Designer.cs @@ -1,7 +1,7 @@ //------------------------------------------------------------------------------ // // This code was generated by a tool. -// Runtime Version:4.0.30319.34014 +// Runtime Version:4.0.30319.34209 // // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. @@ -82,6 +82,62 @@ internal static string FormattedCloudExceptionMessageTemplate { } } + /// + /// Looks up a localized string similar to Creating function '{0}' in stream analytics job '{1}' in resource group '{2}'.. + /// + internal static string FunctionCreating { + get { + return ResourceManager.GetString("FunctionCreating", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to A function with the name '{0}' in the stream analytics job '{1}' in the resource group '{2}' already exists. + ///Continuing execution may overwrite the exisiting one. + ///Are you sure you want to continue?. + /// + internal static string FunctionExists { + get { + return ResourceManager.GetString("FunctionExists", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Stream analytics function name cannot be null.. + /// + internal static string FunctionNameCannotBeEmpty { + get { + return ResourceManager.GetString("FunctionNameCannotBeEmpty", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Function '{0}' does not exist in the stream analytics job '{1}' in the resource group '{2}'.. + /// + internal static string FunctionNotFound { + get { + return ResourceManager.GetString("FunctionNotFound", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Are you sure you want to remove the function '{0}' in the stream analytics job '{1}' in the resource group '{2}'?. + /// + internal static string FunctionRemovalConfirmationMessage { + get { + return ResourceManager.GetString("FunctionRemovalConfirmationMessage", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Removing the function '{0}' in the stream analytics job '{1}' in the resource group '{2}'.. + /// + internal static string FunctionRemoving { + get { + return ResourceManager.GetString("FunctionRemoving", resourceCulture); + } + } + /// /// Looks up a localized string similar to Creating input '{0}' in stream analytics job '{1}' in resource group '{2}'.. /// diff --git a/src/ResourceManager/StreamAnalytics/Commands.StreamAnalytics/Properties/Resources.resx b/src/ResourceManager/StreamAnalytics/Commands.StreamAnalytics/Properties/Resources.resx index f7637177f9b0..ecc4bbdf4310 100644 --- a/src/ResourceManager/StreamAnalytics/Commands.StreamAnalytics/Properties/Resources.resx +++ b/src/ResourceManager/StreamAnalytics/Commands.StreamAnalytics/Properties/Resources.resx @@ -1,103 +1,122 @@  - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - text/microsoft-resx - - - 1.3 - - - System.Resources.ResXResourceReader, System.Windows.Forms, Version=2.0.3500.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - - System.Resources.ResXResourceWriter, System.Windows.Forms, Version=2.0.3500.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - + mimetype: application/x-microsoft.net.object.bytearray.base64 + value : The object must be serialized into a byte array + : using a System.ComponentModel.TypeConverter + : and then encoded with base64 encoding. + --> + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + text/microsoft-resx + + + 2.0 + + + System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + HTTP Status Code: {0} Error Code: {1} @@ -188,4 +207,24 @@ Are you sure you want to continue? Removing the output '{0}' in the stream analytics job '{1}' in the resource group '{2}'. + + Creating function '{0}' in stream analytics job '{1}' in resource group '{2}'. + + + A function with the name '{0}' in the stream analytics job '{1}' in the resource group '{2}' already exists. +Continuing execution may overwrite the exisiting one. +Are you sure you want to continue? + + + Stream analytics function name cannot be null. + + + Function '{0}' does not exist in the stream analytics job '{1}' in the resource group '{2}'. + + + Are you sure you want to remove the function '{0}' in the stream analytics job '{1}' in the resource group '{2}'? + + + Removing the function '{0}' in the stream analytics job '{1}' in the resource group '{2}'. + \ No newline at end of file diff --git a/src/ResourceManager/StreamAnalytics/Commands.StreamAnalytics/packages.config b/src/ResourceManager/StreamAnalytics/Commands.StreamAnalytics/packages.config index e81db1545e68..f367b9a2418e 100644 --- a/src/ResourceManager/StreamAnalytics/Commands.StreamAnalytics/packages.config +++ b/src/ResourceManager/StreamAnalytics/Commands.StreamAnalytics/packages.config @@ -6,7 +6,7 @@ - + From 285c386a276b9487a68616e97675982256df8181 Mon Sep 17 00:00:00 2001 From: Hovsep Mkrtchyan Date: Wed, 6 Jan 2016 18:14:29 -0800 Subject: [PATCH 08/20] fixed issue #1484 --- .../Commands.Profile/Models/RMProfileClient.cs | 15 ++++++++++----- 1 file changed, 10 insertions(+), 5 deletions(-) diff --git a/src/ResourceManager/Profile/Commands.Profile/Models/RMProfileClient.cs b/src/ResourceManager/Profile/Commands.Profile/Models/RMProfileClient.cs index 3262a036f669..3b7e14db7ce2 100644 --- a/src/ResourceManager/Profile/Commands.Profile/Models/RMProfileClient.cs +++ b/src/ResourceManager/Profile/Commands.Profile/Models/RMProfileClient.cs @@ -483,19 +483,24 @@ private bool TryGetTenantSubscription(IAccessToken accessToken, } else { - var subscriptions = subscriptionClient.Subscriptions.List().Subscriptions; - if (subscriptions != null && subscriptions.Any()) + var subscriptions = (subscriptionClient.Subscriptions.List().Subscriptions ?? + new List()) + .Where(s => s.State.Equals("enabled", StringComparison.OrdinalIgnoreCase) || + s.State.Equals("warned", StringComparison.OrdinalIgnoreCase)); + + if (subscriptions.Any()) { if (subscriptionName != null) { - subscriptionFromServer = subscriptions.FirstOrDefault(s => s.DisplayName.Equals(subscriptionName, StringComparison.OrdinalIgnoreCase)); + subscriptionFromServer = subscriptions.FirstOrDefault( + s => s.DisplayName.Equals(subscriptionName, StringComparison.OrdinalIgnoreCase)); } else { - if (subscriptions.Count > 1) + if (subscriptions.Count() > 1) { WriteWarningMessage(string.Format( - "TenantId '{0}' contains more than one subscription. First one will be selected for further use. " + + "TenantId '{0}' contains more than one active subscription. First one will be selected for further use. " + "To select another subscription, use Set-AzureRmContext.", tenantId)); } From 9497268b0810b2057b96dd36d3d074c96f870215 Mon Sep 17 00:00:00 2001 From: Hovsep Mkrtchyan Date: Wed, 6 Jan 2016 18:34:26 -0800 Subject: [PATCH 09/20] Addressed review feedbacks --- .../Profile/Commands.Profile/Models/RMProfileClient.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/ResourceManager/Profile/Commands.Profile/Models/RMProfileClient.cs b/src/ResourceManager/Profile/Commands.Profile/Models/RMProfileClient.cs index 3b7e14db7ce2..f2eb97775195 100644 --- a/src/ResourceManager/Profile/Commands.Profile/Models/RMProfileClient.cs +++ b/src/ResourceManager/Profile/Commands.Profile/Models/RMProfileClient.cs @@ -485,8 +485,8 @@ private bool TryGetTenantSubscription(IAccessToken accessToken, { var subscriptions = (subscriptionClient.Subscriptions.List().Subscriptions ?? new List()) - .Where(s => s.State.Equals("enabled", StringComparison.OrdinalIgnoreCase) || - s.State.Equals("warned", StringComparison.OrdinalIgnoreCase)); + .Where(s => "enabled".Equals(s.State, StringComparison.OrdinalIgnoreCase) || + "warned".Equals(s.State, StringComparison.OrdinalIgnoreCase)); if (subscriptions.Any()) { From 1ac80ddbf754ad067d09c30facf82e7bdabbe339 Mon Sep 17 00:00:00 2001 From: dihan Date: Wed, 6 Jan 2016 18:39:57 -0800 Subject: [PATCH 10/20] #5367316 Make AccessType parameter mandatory to avoid customer confusion --- .../Commands.ExpressRoute/BgpPeerings/RemoveAzureBGPPeering.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ServiceManagement/ExpressRoute/Commands.ExpressRoute/BgpPeerings/RemoveAzureBGPPeering.cs b/src/ServiceManagement/ExpressRoute/Commands.ExpressRoute/BgpPeerings/RemoveAzureBGPPeering.cs index 8b2184186a81..4c45ab6bd68e 100644 --- a/src/ServiceManagement/ExpressRoute/Commands.ExpressRoute/BgpPeerings/RemoveAzureBGPPeering.cs +++ b/src/ServiceManagement/ExpressRoute/Commands.ExpressRoute/BgpPeerings/RemoveAzureBGPPeering.cs @@ -27,7 +27,7 @@ public class RemoveAzureBGPPeeringCommand : ExpressRouteBaseCmdlet HelpMessage = "Service Key associated with the Azure BGP Peering to be removed")] public Guid ServiceKey { get; set; } - [Parameter(Mandatory = false, ValueFromPipelineByPropertyName = true, HelpMessage = "Bgp Peering Access Type: Public or Private")] + [Parameter(Mandatory = true, ValueFromPipelineByPropertyName = true, HelpMessage = "Bgp Peering Access Type: Public or Private")] [DefaultValue("Private")] public BgpPeeringAccessType AccessType { get; set; } From 401e2dcecdca8bc0fda335df21107deb9a302027 Mon Sep 17 00:00:00 2001 From: Microsoft Date: Thu, 7 Jan 2016 10:32:38 -0800 Subject: [PATCH 11/20] Add recorded sessions to project file --- .../Sql/Commands.Sql.Test/Commands.Sql.Test.csproj | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/src/ResourceManager/Sql/Commands.Sql.Test/Commands.Sql.Test.csproj b/src/ResourceManager/Sql/Commands.Sql.Test/Commands.Sql.Test.csproj index 7db8adeddf26..f67640859650 100644 --- a/src/ResourceManager/Sql/Commands.Sql.Test/Commands.Sql.Test.csproj +++ b/src/ResourceManager/Sql/Commands.Sql.Test/Commands.Sql.Test.csproj @@ -551,6 +551,15 @@ Always + + Always + + + Always + + + Always + PreserveNewest From c41e8223100c27956ac4a8b3325afe11ccff3bae Mon Sep 17 00:00:00 2001 From: dihan Date: Thu, 7 Jan 2016 11:08:17 -0800 Subject: [PATCH 12/20] #0 rename parameter --- .../GetAzureDedicatedCircuitPeeringArpInfo.cs | 4 ++-- .../GetAzureDedicatedCircuitPeeringRouteTableInfo.cs | 4 ++-- .../GetAzureDedicatedCircuitPeeringRouteTableSummary.cs | 4 ++-- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/src/ServiceManagement/ExpressRoute/Commands.ExpressRoute/DedicatedCircuitStats/GetAzureDedicatedCircuitPeeringArpInfo.cs b/src/ServiceManagement/ExpressRoute/Commands.ExpressRoute/DedicatedCircuitStats/GetAzureDedicatedCircuitPeeringArpInfo.cs index 09b8bc2f532e..92f269159ac2 100644 --- a/src/ServiceManagement/ExpressRoute/Commands.ExpressRoute/DedicatedCircuitStats/GetAzureDedicatedCircuitPeeringArpInfo.cs +++ b/src/ServiceManagement/ExpressRoute/Commands.ExpressRoute/DedicatedCircuitStats/GetAzureDedicatedCircuitPeeringArpInfo.cs @@ -67,11 +67,11 @@ public class GetAzureDedicatedCircuitPeeringArpInfoCommand : ExpressRouteBaseCmd [Parameter(Mandatory = true, ValueFromPipelineByPropertyName = true, HelpMessage = "Device Path: Primary or Secondary")] - public DevicePath BgpPeeringDevicePath { get; set; } + public DevicePath Path { get; set; } public override void ExecuteCmdlet() { - var arpInfo = ExpressRouteClient.GetAzureDedicatedCircuitPeeringArpInfo(ServiceKey, AccessType, BgpPeeringDevicePath); + var arpInfo = ExpressRouteClient.GetAzureDedicatedCircuitPeeringArpInfo(ServiceKey, AccessType, Path); // parse output to a more user-friendly output StringBuilder sb = new StringBuilder(); sb.AppendLine(""); diff --git a/src/ServiceManagement/ExpressRoute/Commands.ExpressRoute/DedicatedCircuitStats/GetAzureDedicatedCircuitPeeringRouteTableInfo.cs b/src/ServiceManagement/ExpressRoute/Commands.ExpressRoute/DedicatedCircuitStats/GetAzureDedicatedCircuitPeeringRouteTableInfo.cs index e9ca1ef6111c..47dfc2328bf4 100644 --- a/src/ServiceManagement/ExpressRoute/Commands.ExpressRoute/DedicatedCircuitStats/GetAzureDedicatedCircuitPeeringRouteTableInfo.cs +++ b/src/ServiceManagement/ExpressRoute/Commands.ExpressRoute/DedicatedCircuitStats/GetAzureDedicatedCircuitPeeringRouteTableInfo.cs @@ -35,11 +35,11 @@ public class GetAzureDedicatedCircuitPeeringRouteTableInfoCommand : ExpressRoute [Parameter(Mandatory = true, ValueFromPipelineByPropertyName = true, HelpMessage = "Device Path: Primary or Secondary")] - public DevicePath BgpPeeringDevicePath { get; set; } + public DevicePath Path { get; set; } public override void ExecuteCmdlet() { - var routeTable = ExpressRouteClient.GetAzureDedicatedCircuitPeeringRouteTableInfo(ServiceKey, AccessType, BgpPeeringDevicePath); + var routeTable = ExpressRouteClient.GetAzureDedicatedCircuitPeeringRouteTableInfo(ServiceKey, AccessType, Path); StringBuilder sb = new StringBuilder(); sb.AppendLine(""); sb.AppendLine("Route Table Info:"); diff --git a/src/ServiceManagement/ExpressRoute/Commands.ExpressRoute/DedicatedCircuitStats/GetAzureDedicatedCircuitPeeringRouteTableSummary.cs b/src/ServiceManagement/ExpressRoute/Commands.ExpressRoute/DedicatedCircuitStats/GetAzureDedicatedCircuitPeeringRouteTableSummary.cs index b0619b2212f5..5da2cfedd61c 100644 --- a/src/ServiceManagement/ExpressRoute/Commands.ExpressRoute/DedicatedCircuitStats/GetAzureDedicatedCircuitPeeringRouteTableSummary.cs +++ b/src/ServiceManagement/ExpressRoute/Commands.ExpressRoute/DedicatedCircuitStats/GetAzureDedicatedCircuitPeeringRouteTableSummary.cs @@ -35,11 +35,11 @@ public class GetAzureDedicatedCircuitPeeringRouteTableSummaryCommand : ExpressRo [Parameter(Mandatory = true, ValueFromPipelineByPropertyName = true, HelpMessage = "Device Path: Primary or Secondary")] - public DevicePath BgpPeeringDevicePath { get; set; } + public DevicePath Path { get; set; } public override void ExecuteCmdlet() { - var routeSummary = ExpressRouteClient.GetAzureDedicatedCircuitPeeringRouteTableSummary(ServiceKey, AccessType, BgpPeeringDevicePath); + var routeSummary = ExpressRouteClient.GetAzureDedicatedCircuitPeeringRouteTableSummary(ServiceKey, AccessType, Path); StringBuilder sb = new StringBuilder(); sb.AppendLine(""); sb.AppendLine("Route Table Summary:"); From f540e6c3905954887a3f451daf3c41a98ab6934d Mon Sep 17 00:00:00 2001 From: unknown Date: Thu, 7 Jan 2016 11:38:01 -0800 Subject: [PATCH 13/20] Changed billingType to BillingType parameter. Also modified tests for BillingType. --- .../DedicatedCircuits/NewAzureDedicatedCircuit.cs | 4 ++-- .../ExpressRoute/AzureDedicatedCircuitTests.cs | 13 +++++++++++-- 2 files changed, 13 insertions(+), 4 deletions(-) diff --git a/src/ServiceManagement/ExpressRoute/Commands.ExpressRoute/DedicatedCircuits/NewAzureDedicatedCircuit.cs b/src/ServiceManagement/ExpressRoute/Commands.ExpressRoute/DedicatedCircuits/NewAzureDedicatedCircuit.cs index ee80bda3ef4f..22663d97620c 100644 --- a/src/ServiceManagement/ExpressRoute/Commands.ExpressRoute/DedicatedCircuits/NewAzureDedicatedCircuit.cs +++ b/src/ServiceManagement/ExpressRoute/Commands.ExpressRoute/DedicatedCircuits/NewAzureDedicatedCircuit.cs @@ -43,7 +43,7 @@ public class NewAzureDedicatedCircuitCommand : ExpressRouteBaseCmdlet [Parameter(Mandatory = true, ValueFromPipelineByPropertyName = true, HelpMessage = "Circuit Billing Type")] [ValidateSet("MeteredData", "UnlimitedData", IgnoreCase = true)] - public BillingType billingType { get; set; } + public BillingType BillingType { get; set; } [Parameter(HelpMessage = "Do not confirm Azure Dedicated Circuit creation")] @@ -59,7 +59,7 @@ public override void ExecuteCmdlet() () => { var circuit = ExpressRouteClient.NewAzureDedicatedCircuit(CircuitName, Bandwidth, Location, - ServiceProviderName, Sku, billingType); + ServiceProviderName, Sku, BillingType); WriteVerboseWithTimestamp(Resources.NewAzureDedicatedCircuitSucceeded); WriteObject(circuit); }); diff --git a/src/ServiceManagement/Services/Commands.Test/ExpressRoute/AzureDedicatedCircuitTests.cs b/src/ServiceManagement/Services/Commands.Test/ExpressRoute/AzureDedicatedCircuitTests.cs index a552010535a8..4ea97f51890e 100644 --- a/src/ServiceManagement/Services/Commands.Test/ExpressRoute/AzureDedicatedCircuitTests.cs +++ b/src/ServiceManagement/Services/Commands.Test/ExpressRoute/AzureDedicatedCircuitTests.cs @@ -56,6 +56,7 @@ public void NewAzureDedicatedCircuitSuccessful() string serviceProviderName = "TestProvider"; string location = "us-west"; string serviceKey = "aa28cd19-b10a-41ff-981b-53c6bbf15ead"; + BillingType billingType = BillingType.UnlimitedData; MockCommandRuntime mockCommandRuntime = new MockCommandRuntime(); Mock client = InitExpressRouteManagementClient(); @@ -68,6 +69,7 @@ public void NewAzureDedicatedCircuitSuccessful() { CircuitName = circuitName, Bandwidth = bandwidth, + BillingType = billingType.ToString(), Location = location, ServiceProviderName = serviceProviderName, ServiceKey = serviceKey, @@ -97,6 +99,7 @@ public void NewAzureDedicatedCircuitSuccessful() { CircuitName = circuitName, Bandwidth = bandwidth, + BillingType = billingType, Location = location, ServiceProviderName = serviceProviderName, CommandRuntime = mockCommandRuntime, @@ -108,6 +111,7 @@ public void NewAzureDedicatedCircuitSuccessful() // Assert AzureDedicatedCircuit actual = mockCommandRuntime.OutputPipeline[0] as AzureDedicatedCircuit; Assert.Equal(expected.DedicatedCircuit.CircuitName, actual.CircuitName); + Assert.Equal(expected.DedicatedCircuit.BillingType, actual.BillingType); Assert.Equal(expected.DedicatedCircuit.Bandwidth, actual.Bandwidth); Assert.Equal(expected.DedicatedCircuit.Location, actual.Location); Assert.Equal(expected.DedicatedCircuit.ServiceProviderName, actual.ServiceProviderName); @@ -127,6 +131,7 @@ public void GetAzureDedicatedCircuitSuccessful() string serviceProviderName = "TestProvider"; string location = "us-west"; string serviceKey = "aa28cd19-b10a-41ff-981b-53c6bbf15ead"; + BillingType billingType = BillingType.MeteredData; MockCommandRuntime mockCommandRuntime = new MockCommandRuntime(); Mock client = InitExpressRouteManagementClient(); @@ -139,6 +144,7 @@ public void GetAzureDedicatedCircuitSuccessful() { CircuitName = circuitName, Bandwidth = bandwidth, + BillingType = billingType.ToString(), Location = location, ServiceProviderName = serviceProviderName, ServiceKey = serviceKey, @@ -165,6 +171,7 @@ public void GetAzureDedicatedCircuitSuccessful() // Assert AzureDedicatedCircuit actual = mockCommandRuntime.OutputPipeline[0] as AzureDedicatedCircuit; + Assert.Equal(expected.DedicatedCircuit.BillingType, actual.BillingType); Assert.Equal(expected.DedicatedCircuit.CircuitName, actual.CircuitName); Assert.Equal(expected.DedicatedCircuit.Bandwidth, actual.Bandwidth); Assert.Equal(expected.DedicatedCircuit.Location, actual.Location); @@ -219,20 +226,22 @@ public void ListAzureDedicatedCircuitSuccessful() string serviceProviderName1 = "TestProvider"; string location1 = "us-west"; string serviceKey1 = "aa28cd19-b10a-41ff-981b-53c6bbf15ead"; + BillingType billingType1 = BillingType.MeteredData; string circuitName2 = "TestCircuit2"; uint bandwidth2 = 10; string serviceProviderName2 = "TestProvider"; string location2 = "us-north"; string serviceKey2 = "bc28cd19-b10a-41ff-981b-53c6bbf15ead"; + BillingType billingType2 = BillingType.UnlimitedData; MockCommandRuntime mockCommandRuntime = new MockCommandRuntime(); Mock client = InitExpressRouteManagementClient(); var dcMock = new Mock(); List dedicatedCircuits = new List(){ - new AzureDedicatedCircuit(){ Bandwidth = bandwidth1, CircuitName = circuitName1, ServiceKey = serviceKey1, Location = location1, ServiceProviderName = serviceProviderName1, ServiceProviderProvisioningState = ProviderProvisioningState.NotProvisioned, Status = DedicatedCircuitState.Enabled}, - new AzureDedicatedCircuit(){ Bandwidth = bandwidth2, CircuitName = circuitName2, ServiceKey = serviceKey2, Location = location2, ServiceProviderName = serviceProviderName2, ServiceProviderProvisioningState = ProviderProvisioningState.Provisioned, Status = DedicatedCircuitState.Enabled} + new AzureDedicatedCircuit(){ Bandwidth = bandwidth1, BillingType = billingType1.ToString(), CircuitName = circuitName1, ServiceKey = serviceKey1, Location = location1, ServiceProviderName = serviceProviderName1, ServiceProviderProvisioningState = ProviderProvisioningState.NotProvisioned, Status = DedicatedCircuitState.Enabled}, + new AzureDedicatedCircuit(){ Bandwidth = bandwidth2, BillingType = billingType2.ToString(), CircuitName = circuitName2, ServiceKey = serviceKey2, Location = location2, ServiceProviderName = serviceProviderName2, ServiceProviderProvisioningState = ProviderProvisioningState.Provisioned, Status = DedicatedCircuitState.Enabled} }; DedicatedCircuitListResponse expected = From 4709e151e8677bca2b51e1e9d127192c48b00ebb Mon Sep 17 00:00:00 2001 From: yugangw-msft Date: Thu, 7 Jan 2016 13:19:18 -0800 Subject: [PATCH 14/20] update certificate --- build.proj | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/build.proj b/build.proj index 5a3a28c70047..b1679966918c 100644 --- a/build.proj +++ b/build.proj @@ -219,7 +219,7 @@ UnsignedFiles="@(DelaySignedAssembliesToSign)" DestinationPath="$(LibrarySourceFolder)\Package\$(Configuration)" BasePath="$(LibrarySourceFolder)\Package\$(Configuration)" - Certificates="72, 10006" + Certificates="72, 401" SigningLogPath="$(LibraryRoot)\signing.log" ToolsPath="$(CIToolsPath)" Condition="!$(DelaySign) and '@(DelaySignedAssembliesToSign)' != ''"/> @@ -230,7 +230,7 @@ UnsignedFiles="@(ScriptsToSign)" DestinationPath="$(LibrarySourceFolder)\Package\$(Configuration)" BasePath="$(LibrarySourceFolder)\Package\$(Configuration)" - Certificates="10006" + Certificates="402" SigningLogPath="$(LibraryRoot)\signing-scripts.log" ToolsPath="$(CIToolsPath)" Condition="!$(DelaySign) and '@(ScriptsToSign)' != ''"/> @@ -272,7 +272,7 @@ UnsignedFiles="@(InstallersToSign)" DestinationPath="$(LibraryRoot)\signed" SigningLogPath="$(LibraryRoot)\msi-signing.log" - Certificates="10006" + Certificates="402" ToolsPath="$(CIToolsPath)" Condition="!$(DelaySign) and '@(InstallersToSign)' != ''"/> From 78b66aa4df89a128aac2dea3d8aaa42ef8ff2546 Mon Sep 17 00:00:00 2001 From: David Justice Date: Thu, 7 Jan 2016 14:43:45 -0800 Subject: [PATCH 15/20] Fixes #1410 Updating KeyVault Help Update to KeyVault help from content development resolves: https://github.com/Azure/azure-powershell/issues/1410 --- ...osoft.Azure.Commands.KeyVault.dll-help.xml | 2778 ++++++++--------- 1 file changed, 1291 insertions(+), 1487 deletions(-) diff --git a/src/ResourceManager/KeyVault/Commands.KeyVault/Microsoft.Azure.Commands.KeyVault.dll-help.xml b/src/ResourceManager/KeyVault/Commands.KeyVault/Microsoft.Azure.Commands.KeyVault.dll-help.xml index 6b222fd45cd2..c35017e15aac 100644 --- a/src/ResourceManager/KeyVault/Commands.KeyVault/Microsoft.Azure.Commands.KeyVault.dll-help.xml +++ b/src/ResourceManager/KeyVault/Commands.KeyVault/Microsoft.Azure.Commands.KeyVault.dll-help.xml @@ -1,6 +1,6 @@ - + - + Add-AzureKeyVaultKey @@ -15,7 +15,7 @@ - The Add-AzureKeyVaultKey cmdlet creates a key in an Azure Key Vault, or imports a key into a vault. Use this cmdlet to add keys by using any of the following methods: + The Add-AzureKeyVaultKey cmdlet creates a key in a key vault in Azure Key Vault, or imports a key into a vault. Use this cmdlet to add keys by using any of the following methods: -- Create a key in a hardware security module (HSM) in the Azure Key Vault service. -- Create a key in software in the Azure Key Vault service. @@ -28,6 +28,7 @@ For any of these operations, you can provide key attributes or accept default se If you create or import a key that has the same name as an existing key in your key vault, the original key is updated with the values that you specify for the new key. You can access the previous values by using the version-specific URI for that version of the key. To learn about key versions and the URI structure, see "About Keys and Secrets" in the Key Vault REST API documentation (http://go.microsoft.com/fwlink/?linkid=518560). Note: To import a key from your own hardware security module, you must first generate a BYOK package (a file with a .byok file name extension) by using the Azure Key Vault BYOK toolset. For more information, see How to Generate and Transfer HSM-Protected Keys for Azure Key Vault (http://go.microsoft.com/fwlink/?LinkId=522252). + As a best practice, back up your key after it is created or updated, by using the Backup-AzureKeyVaultKey cmdlet. There is no undelete functionality, so if you accidentally delete your key or delete it and then change your mind, the key is not recoverable unless you have a backup of it that you can restore. @@ -42,7 +43,7 @@ Note: To import a key from your own hardware security module, you must first gen Name - Specifies the name of the key to add to the vault. This cmdlet constructs the fully qualified domain name (FQDN) of a key based on the name that this parameter specifies, the name of the vault, and your current environment. The name must be a string of 1 through 63 characters in length that contains only 0-9, a-z, A-Z, and – (the dash symbol). + Specifies the name of the key to add to the vault. This cmdlet constructs the fully qualified domain name (FQDN) of a key based on the name that this parameter specifies, the name of the vault, and your current environment. The name must be a string of 1 through 63 characters in length that contains only 0-9, a-z, A-Z, and – (the dash symbol). String @@ -72,7 +73,7 @@ Note: To import a key from your own hardware security module, you must first gen Specifies the expiration time, as a DateTime object, for the key that this cmdlet adds. This parameter uses Coordinated Universal Time (UTC). To obtain a DateTime object, use the Get-Date cmdlet. For more information, type Get-Help Get-Date. If you do not specify this parameter, the key does not expire. - Nullable [DateTime] + DateTime] KeyFilePassword @@ -103,14 +104,7 @@ Note: To import a key from your own hardware security module, you must first gen Specifies the time, as a DateTime object, before which the key cannot be used. This parameter uses UTC. To obtain a DateTime object, use the Get-Date cmdlet. If you do not specify this parameter, the key can be used immediately. - Nullable [DateTime] - - - Profile - - Specifies the Azure profile from which this cmdlet reads. If you do not specify a profile, this cmdlet reads from the local default profile. - - Microsoft.Azure.Common.Authentication.Models.AzureProfile + DateTime] Tags @@ -143,7 +137,7 @@ Note: To import a key from your own hardware security module, you must first gen Name - Specifies the name of the key to add to the vault. This cmdlet constructs the fully qualified domain name (FQDN) of a key based on the name that this parameter specifies, the name of the vault, and your current environment. The name must be a string of 1 through 63 characters in length that contains only 0-9, a-z, A-Z, and – (the dash symbol). + Specifies the name of the key to add to the vault. This cmdlet constructs the fully qualified domain name (FQDN) of a key based on the name that this parameter specifies, the name of the vault, and your current environment. The name must be a string of 1 through 63 characters in length that contains only 0-9, a-z, A-Z, and – (the dash symbol). String @@ -158,7 +152,7 @@ Note: To import a key from your own hardware security module, you must first gen Specifies the expiration time, as a DateTime object, for the key that this cmdlet adds. This parameter uses Coordinated Universal Time (UTC). To obtain a DateTime object, use the Get-Date cmdlet. For more information, type Get-Help Get-Date. If you do not specify this parameter, the key does not expire. - Nullable [DateTime] + DateTime] KeyOps @@ -182,14 +176,7 @@ Note: To import a key from your own hardware security module, you must first gen Specifies the time, as a DateTime object, before which the key cannot be used. This parameter uses UTC. To obtain a DateTime object, use the Get-Date cmdlet. If you do not specify this parameter, the key can be used immediately. - Nullable [DateTime] - - - Profile - - Specifies the Azure profile from which this cmdlet reads. If you do not specify a profile, this cmdlet reads from the local default profile. - - Microsoft.Azure.Common.Authentication.Models.AzureProfile + DateTime] Tags @@ -250,9 +237,9 @@ Note: To import a key from your own hardware security module, you must first gen Specifies the expiration time, as a DateTime object, for the key that this cmdlet adds. This parameter uses Coordinated Universal Time (UTC). To obtain a DateTime object, use the Get-Date cmdlet. For more information, type Get-Help Get-Date. If you do not specify this parameter, the key does not expire. - Nullable [DateTime] + DateTime] - Nullable [DateTime] + DateTime] none @@ -310,7 +297,7 @@ Note: To import a key from your own hardware security module, you must first gen Name - Specifies the name of the key to add to the vault. This cmdlet constructs the fully qualified domain name (FQDN) of a key based on the name that this parameter specifies, the name of the vault, and your current environment. The name must be a string of 1 through 63 characters in length that contains only 0-9, a-z, A-Z, and – (the dash symbol). + Specifies the name of the key to add to the vault. This cmdlet constructs the fully qualified domain name (FQDN) of a key based on the name that this parameter specifies, the name of the vault, and your current environment. The name must be a string of 1 through 63 characters in length that contains only 0-9, a-z, A-Z, and – (the dash symbol). String @@ -324,21 +311,9 @@ Note: To import a key from your own hardware security module, you must first gen Specifies the time, as a DateTime object, before which the key cannot be used. This parameter uses UTC. To obtain a DateTime object, use the Get-Date cmdlet. If you do not specify this parameter, the key can be used immediately. - Nullable [DateTime] - - Nullable [DateTime] - - - none - - - Profile - - Specifies the Azure profile from which this cmdlet reads. If you do not specify a profile, this cmdlet reads from the local default profile. - - Microsoft.Azure.Common.Authentication.Models.AzureProfile + DateTime] - Microsoft.Azure.Common.Authentication.Models.AzureProfile + DateTime] none @@ -409,7 +384,7 @@ Note: To import a key from your own hardware security module, you must first gen - PS C:\>Add-AzureKeyVaultKey -VaultName "Contoso" -Name "ITSoftware" -Destination "Software" + PS C:\>Add-AzureKeyVaultKey -VaultName 'Contoso' -Name 'ITSoftware' -Destination 'Software' This command creates a software-protected key named ITSoftware in the vault named Contoso. @@ -423,12 +398,12 @@ Note: To import a key from your own hardware security module, you must first gen - Example 2: Create an HSM-protected key + Example 2: Create an HSM-protected key - PS C:\>Add-AzureKeyVaultKey -VaultName "Contoso" -Name "ITHsm" -Destination "HSM" + PS C:\>Add-AzureKeyVaultKey -VaultName 'Contoso' -Name 'ITHsm' -Destination 'HSM' This command creates an HSM-protected key in the key vault named Contoso. @@ -451,7 +426,7 @@ Note: To import a key from your own hardware security module, you must first gen PS C:\> $Expires = (Get-Date).AddYears(2).ToUniversalTime() PS C:\> $NotBefore = (Get-Date).ToUniversalTime() PS C:\> $Tags = @{'Severity' = 'high'; 'Accounting' = null} -PS C:\> Add-AzureKeyVaultKey -VaultName "Contoso" -Name "ITHsmNonDefault" -Destination "HSM" -Expires $Expires -NotBefore $NotBefore -KeyOps $KeyOperations –Disable -Tags $Tags +PS C:\> Add-AzureKeyVaultKey -VaultName 'Contoso' -Name 'ITHsmNonDefault' -Destination 'HSM' -Expires $Expires -NotBefore $NotBefore -KeyOps $KeyOperations –Disable -Tags $Tags The first command stores the values decrypt and verify in the $KeyOperations variable. @@ -473,7 +448,7 @@ PS C:\> Add-AzureKeyVaultKey -VaultName "Contoso" -Name "ITHsmNonDefault" -De - PS C:\>Add-AzureKeyVaultKey -VaultName "Contoso" -Name "ITByok" -KeyFilePath "C:\Contoso\ITByok.byok" -Destination "HSM" + PS C:\>Add-AzureKeyVaultKey -VaultName 'Contoso' -Name 'ITByok' -KeyFilePath 'C:\Contoso\ITByok.byok' -Destination 'HSM' This command imports the key named ITByok from the location that the KeyFilePath parameter specifies. The imported key is an HSM-protected key. @@ -493,8 +468,8 @@ PS C:\> Add-AzureKeyVaultKey -VaultName "Contoso" -Name "ITHsmNonDefault" -De - PS C:\>$Password = ConvertTo-SecureString -String "Password" -AsPlainText -Force -PS C:\> Add-AzureKeyVaultKey -VaultName "Contoso" -Name "ITPfx" -KeyFilePath "C:\Contoso\ITPfx.pfx" -KeyFilePassword $Password + PS C:\>$Password = ConvertTo-SecureString -String 'Password' -AsPlainText -Force +PS C:\> Add-AzureKeyVaultKey -VaultName 'Contoso' -Name 'ITPfx' -KeyFilePath 'C:\Contoso\ITPfx.pfx' -KeyFilePassword $Password The first command converts a string into a secure string by using the ConvertTo-SecureString cmdlet, and then stores that string in the $Password variable. For more information, type Get-Help ConvertTo-SecureString. @@ -514,10 +489,10 @@ PS C:\> Add-AzureKeyVaultKey -VaultName "Contoso" -Name "ITPfx" -KeyFilePath - PS C:\>$Password = ConvertTo-SecureString -String "password" -AsPlainText -Force + PS C:\>$Password = ConvertTo-SecureString -String 'password' -AsPlainText -Force PS C:\> $Expires = (Get-Date).AddYears(2).ToUniversalTime() PS C:\> $Tags = @{ 'Severity' = 'high'; 'Accounting' = null } -PS C:\> Add-AzureKeyVaultKey -VaultName "Contoso" -Name "ITPfxToHSM" -Destination "HSM" -KeyFilePath "C:\Contoso\ITPfx.pfx" -KeyFilePassword $Password -Expires $Expires -Tags $Tags +PS C:\> Add-AzureKeyVaultKey -VaultName 'Contoso' -Name 'ITPfxToHSM' -Destination 'HSM' -KeyFilePath 'C:\Contoso\ITPfx.pfx' -KeyFilePassword $Password -Expires $Expires -Tags $Tags The first command converts a string into a secure string by using the ConvertTo-SecureString cmdlet, and then stores that string in the $Password variable. @@ -537,7 +512,7 @@ PS C:\> Add-AzureKeyVaultKey -VaultName "Contoso" -Name "ITPfxToHSM" -Destina Online Version: - http://go.microsoft.com/fwlink/?LinkId=520396 + http://go.microsoft.com/fwlink/?LinkId=690295 Backup-AzureKeyVaultKey @@ -556,11 +531,6 @@ PS C:\> Add-AzureKeyVaultKey -VaultName "Contoso" -Name "ITPfxToHSM" -Destina - - - Keywords: azure, azurerm, arm, resource, management, manager, keyvalut, key, secrets, certificates, password, vault - - @@ -606,13 +576,6 @@ PS C:\> Add-AzureKeyVaultKey -VaultName "Contoso" -Name "ITPfxToHSM" -Destina String - - Profile - - Specifies the Azure profile from which this cmdlet reads. If you do not specify a profile, this cmdlet reads from the local default profile. - - AzureProfile - @@ -640,18 +603,6 @@ PS C:\> Add-AzureKeyVaultKey -VaultName "Contoso" -Name "ITPfxToHSM" -Destina none - - Profile - - Specifies the Azure profile from which this cmdlet reads. If you do not specify a profile, this cmdlet reads from the local default profile. - - AzureProfile - - AzureProfile - - - none - VaultName @@ -708,7 +659,7 @@ PS C:\> Add-AzureKeyVaultKey -VaultName "Contoso" -Name "ITPfxToHSM" -Destina - PS C:\>Backup-AzureKeyVaultKey -VaultName "MyKeyVault" -Name "MyKey" + PS C:\>Backup-AzureKeyVaultKey -VaultName 'MyKeyVault' -Name 'MyKey' This command retrieves the key named MyKey from the vault named MyKeyVault and saves a backup of that key to a file that is automatically named for you, and displays the file name. @@ -727,7 +678,7 @@ PS C:\> Add-AzureKeyVaultKey -VaultName "Contoso" -Name "ITPfxToHSM" -Destina - PS C:\>Backup-AzureKeyVaultKey -VaultName "MyKeyVault" -Name "MyKey" -OutputFile "C:\Backup.blob" + PS C:\>Backup-AzureKeyVaultKey -VaultName 'MyKeyVault' -Name 'MyKey' -OutputFile 'C:\Backup.blob' This command retrieves the key named MyKey from the vault named MyKeyVault and saves a backup of that key to a file named Backup.blob. @@ -744,7 +695,7 @@ PS C:\> Add-AzureKeyVaultKey -VaultName "Contoso" -Name "ITPfxToHSM" -Destina Online Version: - http://go.microsoft.com/fwlink/?LinkId=522259 + http://go.microsoft.com/fwlink/?LinkId=690296 Add-AzureKeyVaultKey @@ -763,11 +714,6 @@ PS C:\> Add-AzureKeyVaultKey -VaultName "Contoso" -Name "ITPfxToHSM" -Destina - - - Keywords: azure, azurerm, arm, resource, management, manager, keyvalut, key, secrets, certificates, password, vault - - @@ -783,7 +729,7 @@ PS C:\> Add-AzureKeyVaultKey -VaultName "Contoso" -Name "ITPfxToHSM" -Destina - The Get-AzureKeyVaultKey cmdlet gets the keys in an Azure Key Vault. This cmdlet gets a specific Microsoft.Azure.Commands.KeyVault.Models.KeyBundle or a list of all KeyBundle objects in a vault. + The Get-AzureKeyVaultKey cmdlet gets the keys in an Azure Key Vault instance. This cmdlet gets a specific Microsoft.Azure.Commands.KeyVault.Models.KeyBundle or a list of all KeyBundle objects in a vault. @@ -795,13 +741,6 @@ PS C:\> Add-AzureKeyVaultKey -VaultName "Contoso" -Name "ITPfxToHSM" -Destina System.String - - Profile - - Specifies the Azure profile from which this cmdlet reads. If you do not specify a profile, this cmdlet reads from the local default profile. - - Microsoft.Azure.Common.Authentication.Models.AzureProfile - IncludeVersions @@ -833,13 +772,6 @@ PS C:\> Add-AzureKeyVaultKey -VaultName "Contoso" -Name "ITPfxToHSM" -Destina String - - Profile - - Specifies the Azure profile from which this cmdlet reads. If you do not specify a profile, this cmdlet reads from the local default profile. - - Microsoft.Azure.Common.Authentication.Models.AzureProfile - Get-AzureKeyVaultKey @@ -850,13 +782,6 @@ PS C:\> Add-AzureKeyVaultKey -VaultName "Contoso" -Name "ITPfxToHSM" -Destina String - - Profile - - Specifies the Azure profile from which this cmdlet reads. If you do not specify a profile, this cmdlet reads from the local default profile. - - Microsoft.Azure.Common.Authentication.Models.AzureProfile - @@ -885,18 +810,6 @@ PS C:\> Add-AzureKeyVaultKey -VaultName "Contoso" -Name "ITPfxToHSM" -Destina none - - Profile - - Specifies the Azure profile from which this cmdlet reads. If you do not specify a profile, this cmdlet reads from the local default profile. - - Microsoft.Azure.Common.Authentication.Models.AzureProfile - - Microsoft.Azure.Common.Authentication.Models.AzureProfile - - - none - VaultName @@ -963,7 +876,7 @@ PS C:\> Add-AzureKeyVaultKey -VaultName "Contoso" -Name "ITPfxToHSM" -Destina - PS C:\>Get-AzureKeyVaultKey -VaultName "Contoso" + PS C:\>Get-AzureKeyVaultKey -VaultName 'Contoso' This command gets all the keys in the vault named Contoso. @@ -982,7 +895,7 @@ PS C:\> Add-AzureKeyVaultKey -VaultName "Contoso" -Name "ITPfxToHSM" -Destina - PS C:\>Get-AzureKeyVaultKey -VaultName "Contoso" -KeyName "ITPfx" + PS C:\>Get-AzureKeyVaultKey -VaultName 'Contoso' -KeyName 'ITPfx' This command gets the current version of the key named ITPfx in the vault named Contoso. @@ -1001,7 +914,7 @@ PS C:\> Add-AzureKeyVaultKey -VaultName "Contoso" -Name "ITPfxToHSM" -Destina - PS C:\>Get-AzureKeyVaultKey -VaultName "Contoso" -KeyName "ITPfx" -IncludeVersions + PS C:\>Get-AzureKeyVaultKey -VaultName 'Contoso' -KeyName 'ITPfx' -IncludeVersions This command gets all versions the key named ITPfx in the vault named Contoso. @@ -1020,7 +933,7 @@ PS C:\> Add-AzureKeyVaultKey -VaultName "Contoso" -Name "ITPfxToHSM" -Destina - PS C:\>$Key = Get-AzureKeyVaultKey -VaultName "Contoso" -KeyName "ITPfx" –Version "5A12A276385949DB8B5F82AFEE85CAED" + PS C:\>$Key = Get-AzureKeyVaultKey -VaultName 'Contoso' -KeyName 'ITPfx' –Version '5A12A276385949DB8B5F82AFEE85CAED' This command gets a specific version of the key named ITPfx in the vault named Contoso. After running this command, you can inspect various properties of the key by navigating the $Key object. @@ -1037,7 +950,7 @@ PS C:\> Add-AzureKeyVaultKey -VaultName "Contoso" -Name "ITPfxToHSM" -Destina Online Version: - http://go.microsoft.com/fwlink/?LinkId=521395 + http://go.microsoft.com/fwlink/?LinkId=690297 Add-AzureKeyVaultKey @@ -1052,11 +965,6 @@ PS C:\> Add-AzureKeyVaultKey -VaultName "Contoso" -Name "ITPfxToHSM" -Destina - - - Keywords: azure, azurerm, arm, resource, management, manager, keyvalut, key, secrets, certificates, password, vault - - @@ -1072,7 +980,7 @@ PS C:\> Add-AzureKeyVaultKey -VaultName "Contoso" -Name "ITPfxToHSM" -Destina - The Get-AzureKeyVaultSecret cmdlet gets secrets in an Azure Key Vault. This cmdlet gets a specific secret or all the secrets in a vault. + The Get-AzureKeyVaultSecret cmdlet gets secrets in an Azure Key Vault instance. This cmdlet gets a specific secret or all the secrets in a vault. @@ -1084,13 +992,6 @@ PS C:\> Add-AzureKeyVaultKey -VaultName "Contoso" -Name "ITPfxToHSM" -Destina System.String - - Profile - - Specifies the Azure profile from which this cmdlet reads. If you do not specify a profile, this cmdlet reads from the local default profile. - - Microsoft.Azure.Common.Authentication.Models.AzureProfile - IncludeVersions @@ -1122,13 +1023,6 @@ PS C:\> Add-AzureKeyVaultKey -VaultName "Contoso" -Name "ITPfxToHSM" -Destina String - - Profile - - Specifies the Azure profile from which this cmdlet reads. If you do not specify a profile, this cmdlet reads from the local default profile. - - Microsoft.Azure.Common.Authentication.Models.AzureProfile - Get-AzureKeyVaultSecret @@ -1139,13 +1033,6 @@ PS C:\> Add-AzureKeyVaultKey -VaultName "Contoso" -Name "ITPfxToHSM" -Destina String - - Profile - - Specifies the Azure profile from which this cmdlet reads. If you do not specify a profile, this cmdlet reads from the local default profile. - - Microsoft.Azure.Common.Authentication.Models.AzureProfile - @@ -1174,18 +1061,6 @@ PS C:\> Add-AzureKeyVaultKey -VaultName "Contoso" -Name "ITPfxToHSM" -Destina none - - Profile - - Specifies the Azure profile from which this cmdlet reads. If you do not specify a profile, this cmdlet reads from the local default profile. - - Microsoft.Azure.Common.Authentication.Models.AzureProfile - - Microsoft.Azure.Common.Authentication.Models.AzureProfile - - - none - VaultName @@ -1252,7 +1127,7 @@ PS C:\> Add-AzureKeyVaultKey -VaultName "Contoso" -Name "ITPfxToHSM" -Destina - PS C:\>Get-AzureKeyVaultSecret -VaultName "Contoso" + PS C:\>Get-AzureKeyVaultSecret -VaultName 'Contoso' This command gets the current versions of all secrets in the vault named Contoso. @@ -1271,7 +1146,7 @@ PS C:\> Add-AzureKeyVaultKey -VaultName "Contoso" -Name "ITPfxToHSM" -Destina - PS C:\>Get-AzureKeyVaultSecret -VaultName "Contoso" -Name "ITSecret" -IncludeVersions + PS C:\>Get-AzureKeyVaultSecret -VaultName 'Contoso' -Name 'ITSecret' -IncludeVersions This command gets all versions of the secret named ITSecret in the vault named Contoso. @@ -1290,7 +1165,7 @@ PS C:\> Add-AzureKeyVaultKey -VaultName "Contoso" -Name "ITPfxToHSM" -Destina - PS C:\>Get-AzureKeyVaultSecret -VaultName "Contoso" -Name "ITSecret" + PS C:\>Get-AzureKeyVaultSecret -VaultName 'Contoso' -Name 'ITSecret' This command gets the current version of the secret named ITSecret in the vault named Contoso. @@ -1309,7 +1184,7 @@ PS C:\> Add-AzureKeyVaultKey -VaultName "Contoso" -Name "ITPfxToHSM" -Destina - PS C:\>Get-AzureKeyVaultSecret -VaultName "Contoso" -Name "ITSecret" –Version "6A12A286385949DB8B5F82AFEF85CAE9" + PS C:\>Get-AzureKeyVaultSecret -VaultName 'Contoso' -Name 'ITSecret' –Version '6A12A286385949DB8B5F82AFEF85CAE9' This command gets a specific version of the secret named ITSecret in the vault named Contoso. @@ -1326,7 +1201,7 @@ PS C:\> Add-AzureKeyVaultKey -VaultName "Contoso" -Name "ITPfxToHSM" -Destina Online Version: - http://go.microsoft.com/fwlink/?LinkId=521396 + http://go.microsoft.com/fwlink/?LinkId=690298 Remove-AzureKeyVaultSecret @@ -1337,11 +1212,6 @@ PS C:\> Add-AzureKeyVaultKey -VaultName "Contoso" -Name "ITPfxToHSM" -Destina - - - Keywords: azure, azurerm, arm, resource, management, manager, keyvalut, key, secrets, certificates, password, vault - - @@ -1353,7 +1223,7 @@ PS C:\> Add-AzureKeyVaultKey -VaultName "Contoso" -Name "ITPfxToHSM" -Destina Get - AzureKeyVault + AzureRmKeyVault @@ -1368,21 +1238,14 @@ PS C:\> Add-AzureKeyVaultKey -VaultName "Contoso" -Name "ITPfxToHSM" -Destina Specifies the name of the key vault. - System.String + String ResourceGroupName Specifies the name of the resource group associated with the key vault or key vaults being queried. - System.String - - - Profile - - Specifies the Azure profile from which this cmdlet reads. If you do not specify a profile, this cmdlet reads from the local default profile. - - Microsoft.Azure.Common.Authentication.Models.AzureProfile + String @@ -1392,55 +1255,29 @@ PS C:\> Add-AzureKeyVaultKey -VaultName "Contoso" -Name "ITPfxToHSM" -Destina Specifies the name of the resource group associated with the key vault or key vaults being queried. - System.String - - - Profile - - Specifies the Azure profile from which this cmdlet reads. If you do not specify a profile, this cmdlet reads from the local default profile. - - Microsoft.Azure.Common.Authentication.Models.AzureProfile + String Get-AzureRmKeyVault - - Profile - - Specifies the Azure profile from which this cmdlet reads. If you do not specify a profile, this cmdlet reads from the local default profile. - - Microsoft.Azure.Common.Authentication.Models.AzureProfile - Tag Specifies the key and value of the specified tag to filter the list of key vaults by hash table. - System.Collections.Hashtable + Hashtable - - Profile - - Specifies the Azure profile from which this cmdlet reads. If you do not specify a profile, this cmdlet reads from the local default profile. - - Microsoft.Azure.Common.Authentication.Models.AzureProfile - - Microsoft.Azure.Common.Authentication.Models.AzureProfile - - - none - ResourceGroupName Specifies the name of the resource group associated with the key vault or key vaults being queried. - System.String + String - System.String + String none @@ -1450,9 +1287,9 @@ PS C:\> Add-AzureKeyVaultKey -VaultName "Contoso" -Name "ITPfxToHSM" -Destina Specifies the key and value of the specified tag to filter the list of key vaults by hash table. - System.Collections.Hashtable + Hashtable - System.Collections.Hashtable + Hashtable none @@ -1462,9 +1299,9 @@ PS C:\> Add-AzureKeyVaultKey -VaultName "Contoso" -Name "ITPfxToHSM" -Destina Specifies the name of the key vault. - System.String + String - System.String + String none @@ -1473,7 +1310,8 @@ PS C:\> Add-AzureKeyVaultKey -VaultName "Contoso" -Name "ITPfxToHSM" -Destina - String + + @@ -1487,7 +1325,8 @@ PS C:\> Add-AzureKeyVaultKey -VaultName "Contoso" -Name "ITPfxToHSM" -Destina - PSVault, List<PSVaultIdentityItem> + + @@ -1507,7 +1346,7 @@ PS C:\> Add-AzureKeyVaultKey -VaultName "Contoso" -Name "ITPfxToHSM" -Destina - PS C:\>Get-AzureRmKeyVault + PS C:\>Get-AzureRMKeyVault This command gets all the key vaults in your current subscription. @@ -1526,7 +1365,7 @@ PS C:\> Add-AzureKeyVaultKey -VaultName "Contoso" -Name "ITPfxToHSM" -Destina - PS C:\>$MyVault = Get-AzureRmKeyVault -VaultName "Contoso03Vault" + PS C:\>$MyVault = Get-AzureRMKeyVault -VaultName 'Contoso03Vault' This command gets the key vault named Contoso03Vault in your current subscription, and then stores it in the $MyVault variable. You can inspect the properties of $MyVault to get details about the key vault. @@ -1545,7 +1384,7 @@ PS C:\> Add-AzureKeyVaultKey -VaultName "Contoso" -Name "ITPfxToHSM" -Destina - PS C:\>Get-AzureRmKeyVault -ResourceGroupName "ContosoPayRollResourceGroup" + PS C:\>Get-AzureRMKeyVault -ResourceGroupName 'ContosoPayRollResourceGroup' This command gets all the key vaults in the resource group named ContosoPayRollResourceGroup. @@ -1562,7 +1401,7 @@ PS C:\> Add-AzureKeyVaultKey -VaultName "Contoso" -Name "ITPfxToHSM" -Destina Online Version: - http://go.microsoft.com/fwlink/?LinkId=522254 + http://go.microsoft.com/fwlink/?LinkID=690161 New-AzureRmKeyVault @@ -1573,11 +1412,6 @@ PS C:\> Add-AzureKeyVaultKey -VaultName "Contoso" -Name "ITPfxToHSM" -Destina - - - Keywords: azure, azurerm, arm, resource, management, manager, keyvalut, key, secrets, certificates, password, vault - - @@ -1589,7 +1423,7 @@ PS C:\> Add-AzureKeyVaultKey -VaultName "Contoso" -Name "ITPfxToHSM" -Destina New - AzureKeyVault + AzureRmKeyVault @@ -1615,7 +1449,7 @@ PS C:\> Add-AzureKeyVaultKey -VaultName "Contoso" -Name "ITPfxToHSM" -Destina Location - Specifies the Azure region in which to create the key vault. Use the command Get-AzureRmResourceProvider with the ProviderNamespace parameter to see your choices. + Specifies the Azure region in which to create the key vault. Use the command Get-AzureLocation to see your choices. For more information, type Get-Help Get-AzureLocation. String @@ -1625,12 +1459,18 @@ PS C:\> Add-AzureKeyVaultKey -VaultName "Contoso" -Name "ITPfxToHSM" -Destina Enables the Microsoft.Compute resource provider to retrieve secrets from this key vault when this key vault is referenced in resource creation, for example when creating a virtual machine. - - Profile + + EnabledForDiskEncryption + + Enables the Azure disk encryption service to get secrets and unwrap keys from this key vault. + + + + EnabledForTemplateDeployment - Specifies the Azure profile from which this cmdlet reads. If you do not specify a profile, this cmdlet reads from the local default profile. + Enables Azure Resource Manager to get secrets from this key vault when this key vault is referenced in a template deployment. + Note: This parameter is not currently implemented. - Microsoft.Azure.Common.Authentication.Models.AzureProfile Sku @@ -1647,7 +1487,7 @@ PS C:\> Add-AzureKeyVaultKey -VaultName "Contoso" -Name "ITPfxToHSM" -Destina Specifies a hash table that represents resource tags. - System.Collections.Hashtable[] + Hashtable[] @@ -1664,26 +1504,39 @@ PS C:\> Add-AzureKeyVaultKey -VaultName "Contoso" -Name "ITPfxToHSM" -Destina none - - Location + + EnabledForDiskEncryption - Specifies the Azure region in which to create the key vault. Use the command Get-AzureRmResourceProvider with the ProviderNamespace parameter to see your choices. + Enables the Azure disk encryption service to get secrets and unwrap keys from this key vault. - String + SwitchParameter - String + SwitchParameter none - - Profile + + EnabledForTemplateDeployment - Specifies the Azure profile from which this cmdlet reads. If you do not specify a profile, this cmdlet reads from the local default profile. + Enables Azure Resource Manager to get secrets from this key vault when this key vault is referenced in a template deployment. + Note: This parameter is not currently implemented. - Microsoft.Azure.Common.Authentication.Models.AzureProfile + SwitchParameter + + SwitchParameter + + + none + + + Location + + Specifies the Azure region in which to create the key vault. Use the command Get-AzureLocation to see your choices. For more information, type Get-Help Get-AzureLocation. + + String - Microsoft.Azure.Common.Authentication.Models.AzureProfile + String none @@ -1717,9 +1570,9 @@ PS C:\> Add-AzureKeyVaultKey -VaultName "Contoso" -Name "ITPfxToHSM" -Destina Specifies a hash table that represents resource tags. - System.Collections.Hashtable[] + Hashtable[] - System.Collections.Hashtable[] + Hashtable[] none @@ -1740,7 +1593,8 @@ PS C:\> Add-AzureKeyVaultKey -VaultName "Contoso" -Name "ITPfxToHSM" -Destina - String, Guid, Switch, Hash table + + @@ -1748,15 +1602,13 @@ PS C:\> Add-AzureKeyVaultKey -VaultName "Contoso" -Name "ITPfxToHSM" -Destina - - - Microsoft.Azure.Commands.KeyVault.Models.PSVault + Microsoft.Azure.Commands.KeyVault.Models.PSVault @@ -1764,8 +1616,6 @@ PS C:\> Add-AzureKeyVaultKey -VaultName "Contoso" -Name "ITPfxToHSM" -Destina - - @@ -1778,7 +1628,7 @@ PS C:\> Add-AzureKeyVaultKey -VaultName "Contoso" -Name "ITPfxToHSM" -Destina - PS C:\>New-AzureRmKeyVault -VaultName "Contoso03Vault" -ResourceGroupName "Group14" -Location "East US" + PS C:\>New-AzureRmKeyVault -VaultName 'Contoso03Vault' -ResourceGroupName 'Group14' -Location 'East US' This command creates a key vault named Contoso03Vault, in the Azure region East US. The command adds the key vault to the resource group named Group14. Because the command does not specify a value for the SKU parameter, it creates a Standard key vault. @@ -1797,7 +1647,7 @@ PS C:\> Add-AzureKeyVaultKey -VaultName "Contoso" -Name "ITPfxToHSM" -Destina - PS C:\>New-AzureRmKeyVault -VaultName "Contoso03Vault" -ResourceGroupName "Group14" -Location "East US" -Sku "Premium" + PS C:\>New-AzureRmKeyVault -VaultName 'Contoso03Vault' -ResourceGroupName 'Group14' -Location 'East US' -Sku 'Premium' This command creates a key vault, just like the previous example. However, it specifies a value of Premium for the SKU parameter to create a Premium key vault. @@ -1814,7 +1664,7 @@ PS C:\> Add-AzureKeyVaultKey -VaultName "Contoso" -Name "ITPfxToHSM" -Destina Online Version: - http://go.microsoft.com/fwlink/?LinkId=522255 + http://go.microsoft.com/fwlink/?LinkId=690160 Get-AzureRmKeyVault @@ -1825,194 +1675,71 @@ PS C:\> Add-AzureKeyVaultKey -VaultName "Contoso" -Name "ITPfxToHSM" -Destina - - - Keywords: azure, azurerm, arm, resource, management, manager, keyvalut, key, secrets, certificates, password, vault - - - Remove-AzureRmKeyVaultAccessPolicy + Remove-AzureKeyVaultKey - Removes all permissions for a user or application from the Azure Key Vault. + Deletes a key in a vault. Remove - AzureKeyVaultAccessPolicy + AzureKeyVaultKey - The Remove-AzureRmKeyVaultAccessPolicy cmdlet removes all permissions for a user or application or for all users and applications from the Azure Key Vault. Even if you remove all permissions, the owner of the Azure subscription that contains the vault can add permissions to the key vault. - Note that although specifying the resource group is optional for this cmdlet, you should do so for better performance. + The Remove-AzureKeyVaultKey cmdlet deletes a key in an Azure Key Vault instance. This cmdlet has a value of high for the ConfirmImpact property. - Remove-AzureRmKeyVaultAccessPolicy - - ResourceGroupName - - Specifies the name of the resource group associated with the key vault whose access policy is being modified. If not specified, this cmdlet searches for the key vault in the current subscription. - - System.String - - - EnabledForDeployment - - Enables the Microsoft.Compute resource provider to retrieve secrets from this key vault when this key vault is referenced in resource creation, for example when creating a virtual machine. - - - - PassThru - - Returns an object representing the item with which you are working. By default, this cmdlet does not generate any output. - - - - Profile - - Specifies the Azure profile from which this cmdlet reads. If you do not specify a profile, this cmdlet reads from the local default profile. - - Microsoft.Azure.Common.Authentication.Models.AzureProfile - - - - Remove-AzureRmKeyVaultAccessPolicy + Remove-AzureKeyVaultKey VaultName - Specifies the name of the key vault. This cmdlet removes permissions for the key vault that this parameter specifies. - - String - - - ResourceGroupName - - Specifies the name of the resource group associated with the key vault whose access policy is being modified. If not specified, this cmdlet searches for the key vault in the current subscription. - - System.String - - - EnabledForDeployment - - Enables the Microsoft.Compute resource provider to retrieve secrets from this key vault when this key vault is referenced in resource creation, for example when creating a virtual machine. - - - - PassThru - - Returns an object representing the item with which you are working. By default, this cmdlet does not generate any output. - - - - Profile - - Specifies the Azure profile from which this cmdlet reads. If you do not specify a profile, this cmdlet reads from the local default profile. - - Microsoft.Azure.Common.Authentication.Models.AzureProfile - - - ServicePrincipalName - - Specifies the service principal name of the application whose permissions you want to remove. Specify the application ID, also known as client ID, registered for the application in Azure Active Directory. + Specifies the name of the vault from which to remove the key. This cmdlet constructs the FQDN of a vault based on the name that this parameter specifies and your current environment. String - - - Remove-AzureRmKeyVaultAccessPolicy - - VaultName + + Name - Specifies the name of the key vault. This cmdlet removes permissions for the key vault that this parameter specifies. + Specifies the name of the key to remove. This cmdlet constructs the fully qualified domain name (FQDN) of a key based on the name that this parameter specifies, the name of the vault, and your current environment. String - - ResourceGroupName - - Specifies the name of the resource group associated with the key vault whose access policy is being modified. If not specified, this cmdlet searches for the key vault in the current subscription. - - System.String - - - EnabledForDeployment + + Force - Enables the Microsoft.Compute resource provider to retrieve secrets from this key vault when this key vault is referenced in resource creation, for example when creating a virtual machine. + Forces the command to run without asking for user confirmation. PassThru - Returns an object representing the item with which you are working. By default, this cmdlet does not generate any output. + Indicates that this cmdlet returns a Microsoft.Azure.Commands.KeyVault.Models.KeyBundle object. By default, this cmdlet does not generate any output. - - Profile + + Confirm - Specifies the Azure profile from which this cmdlet reads. If you do not specify a profile, this cmdlet reads from the local default profile. + Prompts you for confirmation before running the cmdlet.Prompts you for confirmation before running the cmdlet. - Microsoft.Azure.Common.Authentication.Models.AzureProfile - - UserPrincipalName + + WhatIf - Specifies the user principal name of the user whose access you want to remove. + Shows what would happen if the cmdlet runs. The cmdlet is not run.Shows what would happen if the cmdlet runs. The cmdlet is not run. - String - - - - Remove-AzureRmKeyVaultAccessPolicy - - VaultName - - Specifies the name of the key vault. This cmdlet removes permissions for the key vault that this parameter specifies. - - String - - - ResourceGroupName - - Specifies the name of the resource group associated with the key vault whose access policy is being modified. If not specified, this cmdlet searches for the key vault in the current subscription. - - System.String - - - EnabledForDeployment - - Enables the Microsoft.Compute resource provider to retrieve secrets from this key vault when this key vault is referenced in resource creation, for example when creating a virtual machine. - - - - PassThru - - Returns an object representing the item with which you are working. By default, this cmdlet does not generate any output. - - - - Profile - - Specifies the Azure profile from which this cmdlet reads. If you do not specify a profile, this cmdlet reads from the local default profile. - - Microsoft.Azure.Common.Authentication.Models.AzureProfile - - - ObjectId - - Specifies the object ID of the user or service principal in Azure Active Directory for which to remove permissions. - - Guid - - EnabledForDeployment + + Force - Enables the Microsoft.Compute resource provider to retrieve secrets from this key vault when this key vault is referenced in resource creation, for example when creating a virtual machine. + Forces the command to run without asking for user confirmation. SwitchParameter @@ -2021,14 +1748,14 @@ PS C:\> Add-AzureKeyVaultKey -VaultName "Contoso" -Name "ITPfxToHSM" -Destina none - - ObjectId + + Name - Specifies the object ID of the user or service principal in Azure Active Directory for which to remove permissions. + Specifies the name of the key to remove. This cmdlet constructs the fully qualified domain name (FQDN) of a key based on the name that this parameter specifies, the name of the vault, and your current environment. - Guid + String - Guid + String none @@ -2036,7 +1763,7 @@ PS C:\> Add-AzureKeyVaultKey -VaultName "Contoso" -Name "ITPfxToHSM" -Destina PassThru - Returns an object representing the item with which you are working. By default, this cmdlet does not generate any output. + Indicates that this cmdlet returns a Microsoft.Azure.Commands.KeyVault.Models.KeyBundle object. By default, this cmdlet does not generate any output. SwitchParameter @@ -2045,34 +1772,10 @@ PS C:\> Add-AzureKeyVaultKey -VaultName "Contoso" -Name "ITPfxToHSM" -Destina none - - Profile - - Specifies the Azure profile from which this cmdlet reads. If you do not specify a profile, this cmdlet reads from the local default profile. - - Microsoft.Azure.Common.Authentication.Models.AzureProfile - - Microsoft.Azure.Common.Authentication.Models.AzureProfile - - - none - - - ResourceGroupName - - Specifies the name of the resource group associated with the key vault whose access policy is being modified. If not specified, this cmdlet searches for the key vault in the current subscription. - - System.String - - System.String - - - none - - - ServicePrincipalName + + VaultName - Specifies the service principal name of the application whose permissions you want to remove. Specify the application ID, also known as client ID, registered for the application in Azure Active Directory. + Specifies the name of the vault from which to remove the key. This cmdlet constructs the FQDN of a vault based on the name that this parameter specifies and your current environment. String @@ -2081,35 +1784,35 @@ PS C:\> Add-AzureKeyVaultKey -VaultName "Contoso" -Name "ITPfxToHSM" -Destina none - - UserPrincipalName + + Confirm - Specifies the user principal name of the user whose access you want to remove. + Prompts you for confirmation before running the cmdlet.Prompts you for confirmation before running the cmdlet. - String + SwitchParameter - String + SwitchParameter - none + false - - VaultName + + WhatIf - Specifies the name of the key vault. This cmdlet removes permissions for the key vault that this parameter specifies. + Shows what would happen if the cmdlet runs. The cmdlet is not run.Shows what would happen if the cmdlet runs. The cmdlet is not run. - String + SwitchParameter - String + SwitchParameter - none + false - String, Guid + String @@ -2125,7 +1828,7 @@ PS C:\> Add-AzureKeyVaultKey -VaultName "Contoso" -Name "ITPfxToHSM" -Destina - Microsoft.Azure.Commands.KeyVault.Models.PSVault + Microsoft.Azure.Commands.KeyVault.Models.KeyBundle @@ -2133,8 +1836,7 @@ PS C:\> Add-AzureKeyVaultKey -VaultName "Contoso" -Name "ITPfxToHSM" -Destina - - + This cmdlet returns a value only if you specify the PassThru parameter. @@ -2142,15 +1844,15 @@ PS C:\> Add-AzureKeyVaultKey -VaultName "Contoso" -Name "ITPfxToHSM" -Destina - Example 1: Remove permissions for a user + Example 1: Remove a key from a vault - PS C:\>Remove-AzureRmKeyVaultAccessPolicy -VaultName "Contoso03Vault" -UserPrincipalName "PattiFuller@contoso.com" + PS C:\>Remove-AzureKeyVaultKey -VaultName 'Contoso' -Name 'ITSoftware' - This command removes all the permissions that a user PattiFuller@contoso.com has on the key vault named Contoso03Vault. + This command removes the key named ITSoftware from the vault named Contoso. @@ -2161,15 +1863,15 @@ PS C:\> Add-AzureKeyVaultKey -VaultName "Contoso" -Name "ITPfxToHSM" -Destina - Example 2: Remove permissions for an application + Example 2: Remove a key without user confirmation - PS C:\>Remove-AzureRmKeyVaultAccessPolicy -VaultName "Contoso03Vault" -ServicePrincipalName "http://payroll.contoso.com" + PS C:\>Remove-AzureKeyVaultKey -VaultName 'Contoso' -Name 'ITSoftware' -Force -Confirm:$False - This command removes all the permissions that an application has on the vault named Contoso03Vault. This example identifies the application by using the service principal name registered in Azure Active Directory, http://payroll.contoso.com. + This command removes the key named ITSoftware from the vault named Contoso. The command specifies the Force and Confirm parameters, and, therefore, the cmdlet does not prompt you for confirmation. @@ -2180,15 +1882,15 @@ PS C:\> Add-AzureKeyVaultKey -VaultName "Contoso" -Name "ITPfxToHSM" -Destina - Example 3: Remove permissions for an application by using its object ID + Example 3: Remove keys by using the pipeline operator - PS C:\>Remove-AzureRmKeyVaultAccessPolicy -VaultName "Contoso03Vault" -ObjectID 34595082-9346-41b6-8d6b-295a2808b8db + PS C:\>Get-AzureKeyVaultKey -VaultName 'Contoso' | Where-Object {$_.Attributes.Enabled -eq $False} | Remove-AzureKeyVaultKey - This command removes all the permissions that an application has on the vault named Contoso03Vault. This example identifies the application by the object ID of the service principal. + This command gets all the keys in the vault named Contoso, and passes them to the Where-Object cmdlet by using the pipeline operator. That cmdlet passes the keys that have a value of $False for the Enabled attribute to the current cmdlet. That cmdlet removes those keys. @@ -2202,49 +1904,52 @@ PS C:\> Add-AzureKeyVaultKey -VaultName "Contoso" -Name "ITPfxToHSM" -Destina Online Version: - http://go.microsoft.com/fwlink/?LinkId=522258 + http://go.microsoft.com/fwlink/?LinkId=690299 - Set-AzureRmKeyVaultAccessPolicy + Add-AzureKeyVaultKey + + + + Get-AzureKeyVaultKey + + + + Set-AzureKeyVaultKeyAttribute - - - Keywords: azure, azurerm, arm, resource, management, manager, keyvalut, key, secrets, certificates, password, vault - - - Remove-AzureKeyVaultKey + Remove-AzureKeyVaultSecret - Deletes a key in a vault. + Deletes a secret in a vault. Remove - AzureKeyVaultKey + AzureKeyVaultSecret - The Remove-AzureKeyVaultKey cmdlet deletes a key in an Azure Key Vault. This cmdlet has a value of high for the ConfirmImpact property. + The Remove-AzureKeyVaultSecret cmdlet deletes a secret in an Azure Key Vault instance. This cmdlet has a value of high for the ConfirmImpact property. - Remove-AzureKeyVaultKey + Remove-AzureKeyVaultSecret VaultName - Specifies the name of the vault from which to remove the key. This cmdlet constructs the FQDN of a vault based on the name that this parameter specifies and your current environment. + Specifies the name of the vault to which the secret belongs. This cmdlet constructs the FQDN of a vault based on the name that this parameter specifies and your current environment. String - + Name - Specifies the name of the key to remove. This cmdlet constructs the fully qualified domain name (FQDN) of a key based on the name that this parameter specifies, the name of the vault, and your current environment. + Specifies the name of a secret. This cmdlet constructs the fully qualified domain name (FQDN) of a secret based on the name that this parameter specifies, the name of the vault, and your current environment. String @@ -2257,15 +1962,20 @@ PS C:\> Add-AzureKeyVaultKey -VaultName "Contoso" -Name "ITPfxToHSM" -Destina PassThru - Indicates that this cmdlet returns a Microsoft.Azure.Commands.KeyVault.Models.KeyBundle object. By default, this cmdlet does not generate any output. + Indicates that this cmdlet returns a Microsoft.Azure.Commands.KeyVault.Models.Secret object. By default, this cmdlet does not generate any output. - - Profile + + Confirm + + Prompts you for confirmation before running the cmdlet.Prompts you for confirmation before running the cmdlet. + + + + WhatIf - Specifies the Azure profile from which this cmdlet reads. If you do not specify a profile, this cmdlet reads from the local default profile. + Shows what would happen if the cmdlet runs. The cmdlet is not run.Shows what would happen if the cmdlet runs. The cmdlet is not run. - Microsoft.Azure.Common.Authentication.Models.AzureProfile @@ -2282,10 +1992,10 @@ PS C:\> Add-AzureKeyVaultKey -VaultName "Contoso" -Name "ITPfxToHSM" -Destina none - + Name - Specifies the name of the key to remove. This cmdlet constructs the fully qualified domain name (FQDN) of a key based on the name that this parameter specifies, the name of the vault, and your current environment. + Specifies the name of a secret. This cmdlet constructs the fully qualified domain name (FQDN) of a secret based on the name that this parameter specifies, the name of the vault, and your current environment. String @@ -2297,7 +2007,7 @@ PS C:\> Add-AzureKeyVaultKey -VaultName "Contoso" -Name "ITPfxToHSM" -Destina PassThru - Indicates that this cmdlet returns a Microsoft.Azure.Commands.KeyVault.Models.KeyBundle object. By default, this cmdlet does not generate any output. + Indicates that this cmdlet returns a Microsoft.Azure.Commands.KeyVault.Models.Secret object. By default, this cmdlet does not generate any output. SwitchParameter @@ -2306,29 +2016,41 @@ PS C:\> Add-AzureKeyVaultKey -VaultName "Contoso" -Name "ITPfxToHSM" -Destina none - - Profile + + VaultName - Specifies the Azure profile from which this cmdlet reads. If you do not specify a profile, this cmdlet reads from the local default profile. + Specifies the name of the vault to which the secret belongs. This cmdlet constructs the FQDN of a vault based on the name that this parameter specifies and your current environment. - Microsoft.Azure.Common.Authentication.Models.AzureProfile + String - Microsoft.Azure.Common.Authentication.Models.AzureProfile + String none - - VaultName + + Confirm - Specifies the name of the vault from which to remove the key. This cmdlet constructs the FQDN of a vault based on the name that this parameter specifies and your current environment. + Prompts you for confirmation before running the cmdlet.Prompts you for confirmation before running the cmdlet. - String + SwitchParameter - String + SwitchParameter - none + false + + + WhatIf + + Shows what would happen if the cmdlet runs. The cmdlet is not run.Shows what would happen if the cmdlet runs. The cmdlet is not run. + + SwitchParameter + + SwitchParameter + + + false @@ -2350,7 +2072,7 @@ PS C:\> Add-AzureKeyVaultKey -VaultName "Contoso" -Name "ITPfxToHSM" -Destina - Microsoft.Azure.Commands.KeyVault.Models.KeyBundle + Microsoft.Azure.Commands.KeyVault.Models.Secret @@ -2358,7 +2080,7 @@ PS C:\> Add-AzureKeyVaultKey -VaultName "Contoso" -Name "ITPfxToHSM" -Destina - This cmdlet returns a value only if you specify the PassThru parameter. + This cmdlet returns a value only if you specify the PassThru parameter. @@ -2366,34 +2088,15 @@ PS C:\> Add-AzureKeyVaultKey -VaultName "Contoso" -Name "ITPfxToHSM" -Destina - Example 1: Remove a key from a vault - - - - - PS C:\>Remove-AzureKeyVaultKey -VaultName "Contoso" -Name "ITSoftware" - - - This command removes the key named ITSoftware from the vault named Contoso. - - - - - - - - - - - Example 2: Remove a key without user confirmation + Example 1: Remove a secret from a vault - PS C:\>Remove-AzureKeyVaultKey -VaultName "Contoso" -Name "ITSoftware" -Force -Confirm:$False + PS C:\>Remove-AzureKeyVaultSecret -VaultName 'Contoso' -Name 'FinanceSecret' - This command removes the key named ITSoftware from the vault named Contoso. The command specifies the Force and Confirm parameters, and, therefore, the cmdlet does not prompt you for confirmation. + This command removes the secret named FinanceSecret from the vault named Contoso.' @@ -2404,15 +2107,15 @@ PS C:\> Add-AzureKeyVaultKey -VaultName "Contoso" -Name "ITPfxToHSM" -Destina - Example 3: Remove keys by using the pipeline operator + Example 2: Remove a secret from a vault without user confirmation - PS C:\>Get-AzureKeyVaultKey -VaultName "Contoso" | Where-Object {$_.Attributes.Enabled -eq $False} | Remove-AzureKeyVaultKey + PS C:\>Remove-AzureKeyVaultSecret -VaultName 'Contoso' -Name 'FinanceSecret' -Force -Confirm:$False - This command gets all the keys in the vault named Contoso, and passes them to the Where-Object cmdlet by using the pipeline operator. That cmdlet passes the keys that have a value of $False for the Enabled attribute to the current cmdlet. That cmdlet removes those keys. + This command removes the secret named FinanceSecret from the vault named Contoso. The command specifies the Force and Confirm parameters, and, therefore, the cmdlet does not prompt you for confirmation. @@ -2426,110 +2129,218 @@ PS C:\> Add-AzureKeyVaultKey -VaultName "Contoso" -Name "ITPfxToHSM" -Destina Online Version: - http://go.microsoft.com/fwlink/?LinkId=521397 - - - Add-AzureKeyVaultKey - + http://go.microsoft.com/fwlink/?LinkId=690300 - Get-AzureKeyVaultKey + Get-AzureKeyVaultSecret - Set-AzureKeyVaultKeyAttribute + Set-AzureKeyVaultSecret - - - Keywords: azure, azurerm, arm, resource, management, manager, keyvalut, key, secrets, certificates, password, vault - - - Remove-AzureKeyVaultSecret + Remove-AzureRmKeyVaultAccessPolicy - Deletes a secret in a vault. + Removes all permissions for a user or application from a vault. Remove - AzureKeyVaultSecret + AzureRmKeyVaultAccessPolicy - The Remove-AzureKeyVaultSecret cmdlet deletes a secret in an Azure Key Vault. This cmdlet has a value of high for the ConfirmImpact property. + The Remove-AzureRmKeyVaultAccessPolicy cmdlet removes all permissions for a user or application or for all users and applications from the Azure Key Vault instance. Even if you remove all permissions, the owner of the Azure subscription that contains the vault can add permissions to the key vault. + Note that although specifying the resource group is optional for this cmdlet, you should do so for better performance. - Remove-AzureKeyVaultSecret + Remove-AzureRmKeyVaultAccessPolicy VaultName - Specifies the name of the vault to which the secret belongs. This cmdlet constructs the FQDN of a vault based on the name that this parameter specifies and your current environment. + Specifies the name of the key vault. This cmdlet removes permissions for the key vault that this parameter specifies. - String + System.String - - Name + + ResourceGroupName - Specifies the name of a secret. This cmdlet constructs the fully qualified domain name (FQDN) of a secret based on the name that this parameter specifies, the name of the vault, and your current environment. + Specifies the name of the resource group associated with the key vault whose access policy is being modified. If not specified, this cmdlet searches for the key vault in the current subscription. - String + System.String - - Force + + ApplicationId - Forces the command to run without asking for user confirmation. + Specifies the ID of the application to remove. + Guid] PassThru - Indicates that this cmdlet returns a Microsoft.Azure.Commands.KeyVault.Models.Secret object. By default, this cmdlet does not generate any output. + Returns an object representing the item with which you are working. By default, this cmdlet does not generate any output. - - Profile + + ObjectId - Specifies the Azure profile from which this cmdlet reads. If you do not specify a profile, this cmdlet reads from the local default profile. + Specifies the object ID of the user or service principal in Azure Active Directory for which to remove permissions. - Microsoft.Azure.Common.Authentication.Models.AzureProfile + Guid - - - - Force - - Forces the command to run without asking for user confirmation. - - SwitchParameter - - SwitchParameter - - - none - - - Name - - Specifies the name of a secret. This cmdlet constructs the fully qualified domain name (FQDN) of a secret based on the name that this parameter specifies, the name of the vault, and your current environment. - - String - - String - - - none - - - PassThru + + Remove-AzureRmKeyVaultAccessPolicy + + VaultName + + Specifies the name of the key vault. This cmdlet removes permissions for the key vault that this parameter specifies. + + System.String + + + ResourceGroupName + + Specifies the name of the resource group associated with the key vault whose access policy is being modified. If not specified, this cmdlet searches for the key vault in the current subscription. + + System.String + + + EnabledForDeployment + + Enables the Microsoft.Compute resource provider to retrieve secrets from this key vault when this key vault is referenced in resource creation, for example when creating a virtual machine. + + + + EnabledForDiskEncryption + + Enables the Azure disk encryption service to get secrets and unwrap keys from this key vault. + + + + EnabledForTemplateDeployment + + Enables Azure Resource Manager to get secrets from this key vault when this key vault is referenced in a template deployment. + Note: This parameter is not currently implemented. + + + + PassThru + + Returns an object representing the item with which you are working. By default, this cmdlet does not generate any output. + + + + + Remove-AzureRmKeyVaultAccessPolicy + + VaultName + + Specifies the name of the key vault. This cmdlet removes permissions for the key vault that this parameter specifies. + + System.String + + + ResourceGroupName + + Specifies the name of the resource group associated with the key vault whose access policy is being modified. If not specified, this cmdlet searches for the key vault in the current subscription. + + System.String + + + PassThru + + Returns an object representing the item with which you are working. By default, this cmdlet does not generate any output. + + + + ServicePrincipalName + + Specifies the service principal name of the application whose permissions you want to remove. Specify the application ID, also known as client ID, registered for the application in Azure Active Directory. + + String + + + + Remove-AzureRmKeyVaultAccessPolicy + + VaultName + + Specifies the name of the key vault. This cmdlet removes permissions for the key vault that this parameter specifies. + + System.String + + + ResourceGroupName + + Specifies the name of the resource group associated with the key vault whose access policy is being modified. If not specified, this cmdlet searches for the key vault in the current subscription. + + System.String + + + PassThru + + Returns an object representing the item with which you are working. By default, this cmdlet does not generate any output. + + + + UserPrincipalName + + Specifies the user principal name of the user whose access you want to remove. + + String + + + + + + ApplicationId - Indicates that this cmdlet returns a Microsoft.Azure.Commands.KeyVault.Models.Secret object. By default, this cmdlet does not generate any output. + Specifies the ID of the application to remove. + + Guid] + + Guid] + + + none + + + EnabledForDeployment + + Enables the Microsoft.Compute resource provider to retrieve secrets from this key vault when this key vault is referenced in resource creation, for example when creating a virtual machine. + + SwitchParameter + + SwitchParameter + + + none + + + EnabledForDiskEncryption + + Enables the Azure disk encryption service to get secrets and unwrap keys from this key vault. + + SwitchParameter + + SwitchParameter + + + none + + + EnabledForTemplateDeployment + + Enables Azure Resource Manager to get secrets from this key vault when this key vault is referenced in a template deployment. + Note: This parameter is not currently implemented. SwitchParameter @@ -2538,22 +2349,58 @@ PS C:\> Add-AzureKeyVaultKey -VaultName "Contoso" -Name "ITPfxToHSM" -Destina none + + ObjectId + + Specifies the object ID of the user or service principal in Azure Active Directory for which to remove permissions. + + Guid + + Guid + + + none + - Profile + PassThru - Specifies the Azure profile from which this cmdlet reads. If you do not specify a profile, this cmdlet reads from the local default profile. + Returns an object representing the item with which you are working. By default, this cmdlet does not generate any output. - Microsoft.Azure.Common.Authentication.Models.AzureProfile + SwitchParameter - Microsoft.Azure.Common.Authentication.Models.AzureProfile + SwitchParameter none - - VaultName + + ResourceGroupName - Specifies the name of the vault to which the secret belongs. This cmdlet constructs the FQDN of a vault based on the name that this parameter specifies and your current environment. + Specifies the name of the resource group associated with the key vault whose access policy is being modified. If not specified, this cmdlet searches for the key vault in the current subscription. + + System.String + + System.String + + + none + + + ServicePrincipalName + + Specifies the service principal name of the application whose permissions you want to remove. Specify the application ID, also known as client ID, registered for the application in Azure Active Directory. + + String + + String + + + none + + + UserPrincipalName + + Specifies the user principal name of the user whose access you want to remove. String @@ -2562,11 +2409,24 @@ PS C:\> Add-AzureKeyVaultKey -VaultName "Contoso" -Name "ITPfxToHSM" -Destina none + + VaultName + + Specifies the name of the key vault. This cmdlet removes permissions for the key vault that this parameter specifies. + + System.String + + System.String + + + none + - String + + @@ -2574,15 +2434,13 @@ PS C:\> Add-AzureKeyVaultKey -VaultName "Contoso" -Name "ITPfxToHSM" -Destina - - - Microsoft.Azure.Commands.KeyVault.Models.Secret + Microsoft.Azure.Commands.KeyVault.Models.PSVault @@ -2590,7 +2448,6 @@ PS C:\> Add-AzureKeyVaultKey -VaultName "Contoso" -Name "ITPfxToHSM" -Destina - This cmdlet returns a value only if you specify the PassThru parameter. @@ -2598,15 +2455,15 @@ PS C:\> Add-AzureKeyVaultKey -VaultName "Contoso" -Name "ITPfxToHSM" -Destina - Example 1: Remove a secret from a vault + Example 1: Remove permissions for a user - PS C:\>Remove-AzureKeyVaultSecret -VaultName "Contoso" -Name "FinanceSecret" + PS C:\>Remove-AzureRmKeyVaultAccessPolicy -VaultName 'Contoso03Vault' -UserPrincipalName 'PattiFuller@contoso.com' - This command removes the secret named FinanceSecret from the vault named Contoso. + This command removes all the permissions that a user PattiFuller@contoso.com has on the key vault named Contoso03Vault. @@ -2617,15 +2474,53 @@ PS C:\> Add-AzureKeyVaultKey -VaultName "Contoso" -Name "ITPfxToHSM" -Destina - Example 2: Remove a secret from a vault without user confirmation + Example 2: Remove permissions for an application - PS C:\>Remove-AzureKeyVaultSecret -VaultName "Contoso" -Name "FinanceSecret" -Force -Confirm:$False + PS C:\>Remove-AzureRmKeyVaultAccessPolicy -VaultName 'Contoso03Vault' -ServicePrincipalName 'http://payroll.contoso.com' - This command removes the secret named FinanceSecret from the vault named Contoso. The command specifies the Force and Confirm parameters, and, therefore, the cmdlet does not prompt you for confirmation. + This command removes all the permissions that an application has on the vault named Contoso03Vault. This example identifies the application by using the service principal name registered in Azure Active Directory, http://payroll.contoso.com. + + + + + + + + + + + Example 3: Remove permissions for an application by using its object ID + + + + + PS C:\>Remove-AzureRmKeyVaultAccessPolicy -VaultName 'Contoso03Vault' -ObjectID 34595082-9346-41b6-8d6b-295a2808b8db + + + This command removes all the permissions that an application has on the vault named Contoso03Vault. This example identifies the application by the object ID of the service principal. + + + + + + + + + + + Example 4: Remove permissions for the Microsoft.Compute resource provider + + + + + PS C:\>Remove-AzureRmKeyVaultAccessPolicy -VaultName 'Contoso03Vault' –ResourceGroupName 'Group14' -EnabledForDeployment + + + This command removes permission for the Microsoft.Compute resource provider to get secrets from the Contoso03Vault. @@ -2639,22 +2534,13 @@ PS C:\> Add-AzureKeyVaultKey -VaultName "Contoso" -Name "ITPfxToHSM" -Destina Online Version: - http://go.microsoft.com/fwlink/?LinkId=521398 - - - Get-AzureKeyVaultSecret - + http://go.microsoft.com/fwlink/?LinkId=690164 - Set-AzureKeyVaultSecret + Set-AzureRmKeyVaultAccessPolicy - - - Keywords: azure, azurerm, arm, resource, management, manager, keyvalut, key, secrets, certificates, password, vault - - @@ -2666,7 +2552,7 @@ PS C:\> Add-AzureKeyVaultKey -VaultName "Contoso" -Name "ITPfxToHSM" -Destina Remove - AzureKeyVault + AzureRmKeyVault @@ -2676,7 +2562,7 @@ PS C:\> Add-AzureKeyVaultKey -VaultName "Contoso" -Name "ITPfxToHSM" -Destina Remove-AzureRmKeyVault - + VaultName Specifies the name of the key vault to remove. @@ -2688,7 +2574,7 @@ PS C:\> Add-AzureKeyVaultKey -VaultName "Contoso" -Name "ITPfxToHSM" -Destina Specifies the name of a resource group. - System.String + String Force @@ -2696,12 +2582,17 @@ PS C:\> Add-AzureKeyVaultKey -VaultName "Contoso" -Name "ITPfxToHSM" -Destina Indicates that the cmdlet does not prompt you for confirmation. By default, this cmdlet prompts you to confirm that you want to delete the key vault. - - Profile + + Confirm + + Prompts you for confirmation before running the cmdlet.Prompts you for confirmation before running the cmdlet. + + + + WhatIf - Specifies the Azure profile from which this cmdlet reads. If you do not specify a profile, this cmdlet reads from the local default profile. + Shows what would happen if the cmdlet runs. The cmdlet is not run.Shows what would happen if the cmdlet runs. The cmdlet is not run. - Microsoft.Azure.Common.Authentication.Models.AzureProfile @@ -2718,47 +2609,60 @@ PS C:\> Add-AzureKeyVaultKey -VaultName "Contoso" -Name "ITPfxToHSM" -Destina none - - Profile + + ResourceGroupName - Specifies the Azure profile from which this cmdlet reads. If you do not specify a profile, this cmdlet reads from the local default profile. + Specifies the name of a resource group. - Microsoft.Azure.Common.Authentication.Models.AzureProfile + String - Microsoft.Azure.Common.Authentication.Models.AzureProfile + String none - - ResourceGroupName + + VaultName - Specifies the name of a resource group. + Specifies the name of the key vault to remove. - System.String + String - System.String + String none - - VaultName + + Confirm - Specifies the name of the key vault to remove. + Prompts you for confirmation before running the cmdlet.Prompts you for confirmation before running the cmdlet. - String + SwitchParameter - String + SwitchParameter - none + false + + + WhatIf + + Shows what would happen if the cmdlet runs. The cmdlet is not run.Shows what would happen if the cmdlet runs. The cmdlet is not run. + + SwitchParameter + + SwitchParameter + + + false - String + + @@ -2766,8 +2670,6 @@ PS C:\> Add-AzureKeyVaultKey -VaultName "Contoso" -Name "ITPfxToHSM" -Destina - - @@ -2783,8 +2685,6 @@ PS C:\> Add-AzureKeyVaultKey -VaultName "Contoso" -Name "ITPfxToHSM" -Destina - - @@ -2833,7 +2733,7 @@ PS C:\> Add-AzureKeyVaultKey -VaultName "Contoso" -Name "ITPfxToHSM" -Destina Online Version: - http://go.microsoft.com/fwlink/?LinkId=522256 + http://go.microsoft.com/fwlink/?LinkId=690162 Get-AzureRmKeyVault @@ -2844,17 +2744,12 @@ PS C:\> Add-AzureKeyVaultKey -VaultName "Contoso" -Name "ITPfxToHSM" -Destina - - - Keywords: azure, azurerm, arm, resource, management, manager, keyvalut, key, secrets, certificates, password, vault - - Restore-AzureKeyVaultKey - Creates a key in in a vault from a backed-up key. + Creates a key in a vault from a backed-up key. @@ -2864,7 +2759,7 @@ PS C:\> Add-AzureKeyVaultKey -VaultName "Contoso" -Name "ITPfxToHSM" -Destina - The Restore-AzureKeyVaultKey cmdlets creates a key in the specified key vault. This key is a replica of the backed-up key in the input file and has the same name as the original key. If the key vault already has a key by the same name, this cmdlet fails instead of overwriting the original key. If the backup contains multiple versions of a key, all versions are restored. + The Restore-AzureKeyVaultKey cmdlet creates a key in the specified key vault. This key is a replica of the backed-up key in the input file and has the same name as the original key. If the key vault already has a key by the same name, this cmdlet fails instead of overwriting the original key. If the backup contains multiple versions of a key, all versions are restored. The key vault that you restore the key into can be different from the key vault that you backed up the key from. However, the key vault must use the same subscription and be in an Azure region in the same geography (for example, North America). See the Microsoft Azure Trust Center (https://azure.microsoft.com/support/trust-center/) for the mapping of Azure regions to geographies. @@ -2884,13 +2779,6 @@ PS C:\> Add-AzureKeyVaultKey -VaultName "Contoso" -Name "ITPfxToHSM" -Destina String - - Profile - - Specifies the Azure profile from which this cmdlet reads. If you do not specify a profile, this cmdlet reads from the local default profile. - - AzureProfile - @@ -2906,18 +2794,6 @@ PS C:\> Add-AzureKeyVaultKey -VaultName "Contoso" -Name "ITPfxToHSM" -Destina none - - Profile - - Specifies the Azure profile from which this cmdlet reads. If you do not specify a profile, this cmdlet reads from the local default profile. - - AzureProfile - - AzureProfile - - - none - VaultName @@ -2974,7 +2850,7 @@ PS C:\> Add-AzureKeyVaultKey -VaultName "Contoso" -Name "ITPfxToHSM" -Destina - PS C:\>Restore-AzureKeyVaultKey -VaultName "MyKeyVault" -InputFile "C:\Backup.blob" + PS C:\>Restore-AzureKeyVaultKey -VaultName 'MyKeyVault' -InputFile "C:\Backup.blob" This command restores a key, including all of its versions, from the backup file named Backup.blob into the key vault named MyKeyVault. @@ -2991,7 +2867,7 @@ PS C:\> Add-AzureKeyVaultKey -VaultName "Contoso" -Name "ITPfxToHSM" -Destina Online Version: - http://go.microsoft.com/fwlink/?LinkId=522260 + http://go.microsoft.com/fwlink/?LinkId=690301 Add-AzureKeyVaultKey @@ -3010,502 +2886,199 @@ PS C:\> Add-AzureKeyVaultKey -VaultName "Contoso" -Name "ITPfxToHSM" -Destina - - - Keywords: azure, azurerm, arm, resource, management, manager, keyvalut, key, secrets, certificates, password, vault - - - Set-AzureRmKeyVaultAccessPolicy + Set-AzureKeyVaultKeyAttribute - Grants or modifies existing permissions for a user or application to perform operations with the Azure Key Vault. + Updates the attributes of a key in a vault. Set - AzureKeyVaultAccessPolicy + AzureKeyVaultKeyAttribute - The Set-AzureRmKeyVaultAccessPolicy cmdlet grants or modifies existing permissions for a user or application to perform the specified operations with the Azure Key Vault. It does not modify the permissions that other users or applications have on the key vault. - The following directories must all be the same Azure directory: - --- The Azure directory in which the key vault owner's user account resides. --- The default directory of the Azure subscription in which the key vault resides. --- The Azure directory in which the application service principal is registered. - Examples of scenarios when these conditions are not met and this cmdlet will not work are: - --- Authorizing a user from a different organization to manage your key vault. Each organization has its own directory. --- Your Azure account has multiple directories. If you register an application in a directory other than the default directory, you will not be able to authorize that application to use your key vaults. The application must be in the default directory. - Note that although specifying the resource group is optional for this cmdlet, you should do so for better performance. + The Set-AzureKeyVaultKeyAttribute cmdlet updates the editable attributes of a key in an Azure Key Vault instance. - Set-AzureRmKeyVaultAccessPolicy + Set-AzureKeyVaultKeyAttribute VaultName - Specifies the name of a key vault. This cmdlet modifies the access policy for the key vault that this parameter specifies. + Specifies the name of the vault in which this cmdlet modifies the key. This cmdlet constructs the FQDN of a vault based on the name that this parameter specifies and your current environment. String - - ResourceGroupName + + Name - Specifies the name of the resource group associated with the key vault whose access policy is being modified. If not specified, this cmdlet searches for the key vault in the current subscription. + Specifies the name of the key to update. This cmdlet constructs the fully qualified domain name (FQDN) of a key based on the name that this parameter specifies, the name of the vault, and your current environment. - System.String + String - - EnabledForDeployment + + Version - Enables the Microsoft.Compute resource provider to retrieve secrets from this key vault when this key vault is referenced in resource creation, for example when creating a virtual machine. + Specifies the key version. This cmdlet constructs the FQDN of a key based on the vault name, your currently selected environment, the key name, and the key version. + String - PassThru + Enable - Indicates that this cmdlet returns the updated key vault object. By default, this cmdlet does not generate any output. + Specifies whether to enable or disable a key. A value of $True enables the key. A value of $False disables the key. If you do not specify this parameter, this cmdlet does not modify the status of the key. + Boolean] - - PermissionsToKeys + + Expires - Specifies an array of key operation permissions to grant to a user or service principal. The acceptable values for this parameter are: - --- Decrypt --- Encrypt --- UnwrapKey --- WrapKey --- Verify --- Sign --- Get --- List --- Update --- Create --- Import --- Delete --- Backup --- Restore --- All + Specifies the expiration time, as a DateTime object, for the key that this cmdlet updates. This parameter uses Coordinated Universal Time (UTC). To obtain a DateTime object, use the Get-Date cmdlet. For more information, type Get-Help Get-Date. - - decrypt - encrypt - unwrapKey - wrapKey - verify - sign - get - list - update - create - import - delete - backup - restore - all - + DateTime] - PermissionsToSecrets + KeyOps - Specifies an array of secret operation permissions to grant to a user or service principal. The acceptable values for this parameter are: + Specifies an array of operations that can be performed by using the key that this cmdlet adds. If you do not specify this parameter, all operations can be performed. + The acceptable values for this parameter are a comma-separated list of key operations as defined by the JSON Web Key specification. These values (case-sensitive) are: --- Get --- List --- Set --- Delete --- All - - - get - list - set - delete - all - - - - Profile - - Specifies the Azure profile from which this cmdlet reads. If you do not specify a profile, this cmdlet reads from the local default profile. - - Microsoft.Azure.Common.Authentication.Models.AzureProfile - - - ObjectId - - Specifies the object ID of the user or service principal in Azure Active Directory for which to grant permissions. - - Guid - - - - Set-AzureRmKeyVaultAccessPolicy - - VaultName - - Specifies the name of a key vault. This cmdlet modifies the access policy for the key vault that this parameter specifies. - - String - - - ResourceGroupName - - Specifies the name of the resource group associated with the key vault whose access policy is being modified. If not specified, this cmdlet searches for the key vault in the current subscription. +-- encrypt +-- decrypt +-- wrap +-- unwrap +-- sign +-- verify +-- backup +-- restore - System.String + String[] - EnabledForDeployment + NotBefore - Enables the Microsoft.Compute resource provider to retrieve secrets from this key vault when this key vault is referenced in resource creation, for example when creating a virtual machine. + Specifies the time, as a DateTime object, before which the key cannot be used. This parameter uses UTC. To obtain a DateTime object, use the Get-Date cmdlet. + DateTime] PassThru - Indicates that this cmdlet returns the updated key vault object. By default, this cmdlet does not generate any output. - - - - PermissionsToKeys - - Specifies an array of key operation permissions to grant to a user or service principal. The acceptable values for this parameter are: - --- Decrypt --- Encrypt --- UnwrapKey --- WrapKey --- Verify --- Sign --- Get --- List --- Update --- Create --- Import --- Delete --- Backup --- Restore --- All - - - decrypt - encrypt - unwrapKey - wrapKey - verify - sign - get - list - update - create - import - delete - backup - restore - all - - - - PermissionsToSecrets - - Specifies an array of secret operation permissions to grant to a user or service principal. The acceptable values for this parameter are: - --- Get --- List --- Set --- Delete --- All - - - get - list - set - delete - all - - - - Profile - - Specifies the Azure profile from which this cmdlet reads. If you do not specify a profile, this cmdlet reads from the local default profile. + Returns an object representing the item with which you are working. By default, this cmdlet does not generate any output. - Microsoft.Azure.Common.Authentication.Models.AzureProfile - - ServicePrincipalName + + Tags - Specifies the service principal name of the application to which to grant permissions. Specify the application ID, also known as client ID, registered for the application in Azure Active Directory. The application with the service principal name that this parameter specifies must be registered in the Azure directory that contains your current subscription or the subscription specified by the SubscriptionName parameter, if that parameter is specified. - - String - - - - Set-AzureRmKeyVaultAccessPolicy - - VaultName - - Specifies the name of a key vault. This cmdlet modifies the access policy for the key vault that this parameter specifies. - - String - - - ResourceGroupName - - Specifies the name of the resource group associated with the key vault whose access policy is being modified. If not specified, this cmdlet searches for the key vault in the current subscription. - - System.String - - - EnabledForDeployment - - Enables the Microsoft.Compute resource provider to retrieve secrets from this key vault when this key vault is referenced in resource creation, for example when creating a virtual machine. - - - - PassThru - - Indicates that this cmdlet returns the updated key vault object. By default, this cmdlet does not generate any output. - - - - PermissionsToKeys - - Specifies an array of key operation permissions to grant to a user or service principal. The acceptable values for this parameter are: - --- Decrypt --- Encrypt --- UnwrapKey --- WrapKey --- Verify --- Sign --- Get --- List --- Update --- Create --- Import --- Delete --- Backup --- Restore --- All - - - decrypt - encrypt - unwrapKey - wrapKey - verify - sign - get - list - update - create - import - delete - backup - restore - all - - - - PermissionsToSecrets - - Specifies an array of secret operation permissions to grant to a user or service principal. The acceptable values for this parameter are: - --- Get --- List --- Set --- Delete --- All - - - get - list - set - delete - all - - - - Profile - - Specifies the Azure profile from which this cmdlet reads. If you do not specify a profile, this cmdlet reads from the local default profile. - - Microsoft.Azure.Common.Authentication.Models.AzureProfile - - - UserPrincipalName - - Specifies the user principal name of the user to whom to grant permissions. This user principal name must exist in the directory associated with the current subscription or in the subscription specified by the SubscriptionName parameter, if that parameter is specified. - - String - - - - Set-AzureRmKeyVaultAccessPolicy - - VaultName - - Specifies the name of a key vault. This cmdlet modifies the access policy for the key vault that this parameter specifies. - - String - - - ResourceGroupName - - Specifies the name of the resource group associated with the key vault whose access policy is being modified. If not specified, this cmdlet searches for the key vault in the current subscription. - - System.String - - - PassThru - - Indicates that this cmdlet returns the updated key vault object. By default, this cmdlet does not generate any output. - - - - Profile - - Specifies the Azure profile from which this cmdlet reads. If you do not specify a profile, this cmdlet reads from the local default profile. - - Microsoft.Azure.Common.Authentication.Models.AzureProfile - - - EnabledForDeployment - - Enables the Microsoft.Compute resource provider to retrieve secrets from this key vault when this key vault is referenced in resource creation, for example when creating a virtual machine. + Specifies a hash table that represents tags for a secret. If you do not specify this parameter, there is no change to the current secret's tags. To remove a tag, specify an empty hash table. For more information about resource tags, see Using tags to organize your Azure resources (http://go.microsoft.com/fwlink/?LinkId=613624). + Hashtable - - EnabledForDeployment - - Enables the Microsoft.Compute resource provider to retrieve secrets from this key vault when this key vault is referenced in resource creation, for example when creating a virtual machine. - - SwitchParameter - - SwitchParameter - - - none - - - ObjectId + + Enable - Specifies the object ID of the user or service principal in Azure Active Directory for which to grant permissions. + Specifies whether to enable or disable a key. A value of $True enables the key. A value of $False disables the key. If you do not specify this parameter, this cmdlet does not modify the status of the key. - Guid + Boolean] - Guid + Boolean] none - - PassThru + + Expires - Indicates that this cmdlet returns the updated key vault object. By default, this cmdlet does not generate any output. + Specifies the expiration time, as a DateTime object, for the key that this cmdlet updates. This parameter uses Coordinated Universal Time (UTC). To obtain a DateTime object, use the Get-Date cmdlet. For more information, type Get-Help Get-Date. - SwitchParameter + DateTime] - SwitchParameter + DateTime] none - PermissionsToKeys + KeyOps - Specifies an array of key operation permissions to grant to a user or service principal. The acceptable values for this parameter are: + Specifies an array of operations that can be performed by using the key that this cmdlet adds. If you do not specify this parameter, all operations can be performed. + The acceptable values for this parameter are a comma-separated list of key operations as defined by the JSON Web Key specification. These values (case-sensitive) are: --- Decrypt --- Encrypt --- UnwrapKey --- WrapKey --- Verify --- Sign --- Get --- List --- Update --- Create --- Import --- Delete --- Backup --- Restore --- All +-- encrypt +-- decrypt +-- wrap +-- unwrap +-- sign +-- verify +-- backup +-- restore - System.String[] + String[] - System.String[] + String[] none - - PermissionsToSecrets + + Name - Specifies an array of secret operation permissions to grant to a user or service principal. The acceptable values for this parameter are: - --- Get --- List --- Set --- Delete --- All + Specifies the name of the key to update. This cmdlet constructs the fully qualified domain name (FQDN) of a key based on the name that this parameter specifies, the name of the vault, and your current environment. - System.String[] + String - System.String[] + String none - - Profile + + NotBefore - Specifies the Azure profile from which this cmdlet reads. If you do not specify a profile, this cmdlet reads from the local default profile. + Specifies the time, as a DateTime object, before which the key cannot be used. This parameter uses UTC. To obtain a DateTime object, use the Get-Date cmdlet. - Microsoft.Azure.Common.Authentication.Models.AzureProfile + DateTime] - Microsoft.Azure.Common.Authentication.Models.AzureProfile + DateTime] none - - ResourceGroupName + + PassThru - Specifies the name of the resource group associated with the key vault whose access policy is being modified. If not specified, this cmdlet searches for the key vault in the current subscription. + Returns an object representing the item with which you are working. By default, this cmdlet does not generate any output. - System.String + SwitchParameter - System.String + SwitchParameter none - - ServicePrincipalName + + Tags - Specifies the service principal name of the application to which to grant permissions. Specify the application ID, also known as client ID, registered for the application in Azure Active Directory. The application with the service principal name that this parameter specifies must be registered in the Azure directory that contains your current subscription or the subscription specified by the SubscriptionName parameter, if that parameter is specified. + Specifies a hash table that represents tags for a secret. If you do not specify this parameter, there is no change to the current secret's tags. To remove a tag, specify an empty hash table. For more information about resource tags, see Using tags to organize your Azure resources (http://go.microsoft.com/fwlink/?LinkId=613624). - String + Hashtable - String + Hashtable none - - UserPrincipalName + + VaultName - Specifies the user principal name of the user to whom to grant permissions. This user principal name must exist in the directory associated with the current subscription or in the subscription specified by the SubscriptionName parameter, if that parameter is specified. + Specifies the name of the vault in which this cmdlet modifies the key. This cmdlet constructs the FQDN of a vault based on the name that this parameter specifies and your current environment. String @@ -3514,12 +3087,12 @@ PS C:\> Add-AzureKeyVaultKey -VaultName "Contoso" -Name "ITPfxToHSM" -Destina none - - VaultName + + Version - Specifies the name of a key vault. This cmdlet modifies the access policy for the key vault that this parameter specifies. + Specifies the key version. This cmdlet constructs the FQDN of a key based on the vault name, your currently selected environment, the key name, and the key version. - String + String String @@ -3530,7 +3103,7 @@ PS C:\> Add-AzureKeyVaultKey -VaultName "Contoso" -Name "ITPfxToHSM" -Destina - String, Guid, String[], Switch + String, Boolean, DateTime @@ -3546,7 +3119,7 @@ PS C:\> Add-AzureKeyVaultKey -VaultName "Contoso" -Name "ITPfxToHSM" -Destina - Microsoft.Azure.Commands.KeyVault.Models.PSVault + Microsoft.Azure.Commands.KeyVault.Models.KeyBundle @@ -3563,38 +3136,19 @@ PS C:\> Add-AzureKeyVaultKey -VaultName "Contoso" -Name "ITPfxToHSM" -Destina - Example 1: Grant permissions to a user for a key vault and modify the permissions - - - - - PS C:\>Set-AzureRmKeyVaultAccessPolicy -VaultName "Contoso03Vault" -UserPrincipalName "PattiFuller@contoso.com" -PermissionsToKeys create,import,delete,list -PermissionsToSecrets set,delete -PS C:\> Set-AzureRmKeyVaultAccessPolicy -VaultName "Contoso03Vault" -UserPrincipalName "PattiFuller@contoso.com" -PermissionsToSecrets set,delete,get -PassThru -PS C:\> Set-AzureRmKeyVaultAccessPolicy -VaultName "Contoso03Vault" -UserPrincipalName "PattiFuller@contoso.com" -PermissionsToKeys @() -PassThru - - - The first command grants permissions for a user in your Azure Active Directory, PattiFuller@contoso.com, to perform operations on keys and secrets with a key vault named Contoso03Vault. - The second command modifies the permissions that were granted to PattiFuller@contoso.com in the first command, to now allow getting secrets in addition to setting and deleting them. The permissions to key operations remain unchanged after this command. The PassThru parameter results in the updated key vault object being returned by the cmdlet. - The final command further modifies the existing permissions for PattiFuller@contoso.com to remove all permissions to key operations. The permissions to secret operations remain unchanged after this command. The PassThru parameter results in the updated key vault object being returned by the cmdlet. - - - - - - - - - - - Example 2: Grant permissions for an application service principal to read and write secrets + Example 1: Modify a key to enable it, and set the expiration date and tags - PS C:\>Set-AzureRmKeyVaultAccessPolicy -VaultName "Contoso03Vault" -ServicePrincipalName "http://payroll.contoso.com" -PermissionsToSecrets "get,set" + PS C:\>$Expires = (Get-Date).AddYears(2).ToUniversalTime() +PS C:\> $Tags = @{'Severity' = 'high'; 'Accounting' = null} +PS C:\> Set-AzureKeyVaultKeyAttribute -VaultName 'Contoso' -Name 'ITSoftware' -Expires $Expires -Enable $True -Tags $Tags -PassThru - This command grants permissions for an application for a vault named Contoso03Vault. The ServicePrincipalName parameter specifies the application. The application must be registered in your Azure Active Directory. The value of the ServicePrincipalName parameter must be either the service principal name of the application or the application ID GUID. This example specifies the service principal name http://payroll.contoso.com, and the command grants the application permissions to read and write secrets. + The first command creates a DateTime object by using the Get-Date cmdlet. That object specifies a time two years in the future. The command stores that date in the $Expires variable. For more information, type Get-Help Get-Date. + The second command creates a variable to store tag values of high severity and Accounting. + The final command modifies a key named ITSoftware. The command enables the key, sets its expiration time to the time stored in $Expires, and sets the tags that are stored in $Tags. @@ -3605,34 +3159,15 @@ PS C:\> Set-AzureRmKeyVaultAccessPolicy -VaultName "Contoso03Vault" -UserPrin - Example 3: Grant permissions for an application using its object ID + Example 2: Modify a key to delete all tags - PS C:\>Set-AzureRmKeyVaultAccessPolicy -VaultName "Contoso03Vault" -ObjectId 34595082-9346-41b6-8d6b-295a2808b8db -PermissionsToSecrets "get,set" + PS C:\>Set-AzureKeyVaultKeyAttribute -VaultName 'Contoso' -Name 'ITSoftware' –Version '7EEA45C6EE50490B9C3176F80AC1A0DG' –Tags @{} - This command grants the application permissions to read and write secrets. This example specifies the application using the object ID of the service principal of the application. - - - - - - - - - - - Example 4: Enable secrets to be retrieved from a vault by the Microsoft.Compute resource provider - - - - - PS C:\>Set-AzureRmKeyVaultAccessPolicy -VaultName "Contoso03Vault" –ResourceGroupName "Group14" -EnabledForDeployment - - - This command grants the permissions for secrets to be retrieved from the Contoso03Vault vault by the Microsoft.Compute resource provider. + This commands deletes all tags for a specific version of a key named ITSoftware. @@ -3646,171 +3181,146 @@ PS C:\> Set-AzureRmKeyVaultAccessPolicy -VaultName "Contoso03Vault" -UserPrin Online Version: - http://go.microsoft.com/fwlink/?LinkId=522257 + http://go.microsoft.com/fwlink/?LinkId=690302 - Remove-AzureRmKeyVaultAccessPolicy + Add-AzureKeyVaultKey + + + + Get-AzureKeyVaultKey + + + + Remove-AzureKeyVaultKey - - - Keywords: azure, azurerm, arm, resource, management, manager, keyvalut, key, secrets, certificates, password, vault - - - Set-AzureKeyVaultKeyAttribute + Set-AzureKeyVaultSecretAttribute - Updates the attributes of a key in a vault. + Updates attributes of a secret in a vault. Set - AzureKeyVaultKeyAttribute + AzureKeyVaultSecretAttribute - The Set-AzureKeyVaultKeyAttribute cmdlet updates the editable attributes of a key in an Azure Key Vault. + The Set-AzureKeyVaultSecretAttribute cmdlet updates editable attributes of a secret in an Azure Key Vault instance. - Set-AzureKeyVaultKeyAttribute + Set-AzureKeyVaultSecretAttribute VaultName - Specifies the name of the vault in which this cmdlet modifies the key. This cmdlet constructs the FQDN of a vault based on the name that this parameter specifies and your current environment. + Specifies the name of the vault to modify. This cmdlet constructs the FQDN of a vault based on the name that this parameter specifies, and your currently selected environment. String - + Name - Specifies the name of the key to update. This cmdlet constructs the fully qualified domain name (FQDN) of a key based on the name that this parameter specifies, the name of the vault, and your current environment. + Specifies the name of a secret. This cmdlet constructs the fully qualified domain name (FQDN) of a secret based on the name that this parameter specifies, the name of the vault, and your current environment. String - + Version - Specifies the key version. This cmdlet constructs the FQDN of a key based on the vault name, your currently selected environment, the key name, and the key version. + Specifies the version of a secret. This cmdlet constructs the FQDN of a secret based on the vault name, your currently selected environment, the secret name, and the secret version. + + String + + + ContentType + + Specifies the content type of a secret. If you do not specify this parameter, there is no change to the current secret's content type. To remove the existing content type, specify an empty string. - System.String [Boolean] + String Enable - Specifies whether to enable or disable a key. A value of $True enables the key. A value of $False disables the key. If you do not specify this parameter, this cmdlet does not modify the status of the key. + Indicates whether to enable a secret. Specify $False to disable a secret, or $True to enable a secret. If you do not specify this parameter, there is no change to the current secret’s enabled or disabled state. - Nullable [Boolean] + Boolean] Expires - Specifies the expiration time, as a DateTime object, for the key that this cmdlet updates. This parameter uses Coordinated Universal Time (UTC). To obtain a DateTime object, use the Get-Date cmdlet. For more information, type Get-Help Get-Date. - - Nullable [DateTime] - - - KeyOps - - Specifies an array of operations that can be performed by using the key that this cmdlet adds. If you do not specify this parameter, all operations can be performed. - The acceptable values for this parameter are a comma-separated list of key operations as defined by the JSON Web Key specification. These values are: - --- Encrypt --- Decrypt --- Wrap --- Unwrap --- Sign --- Verify --- Backup --- Restore + Specifies the date and time that a secret expires. - String[] + DateTime] NotBefore - Specifies the time, as a DateTime object, before which the key cannot be used. This parameter uses UTC. To obtain a DateTime object, use the Get-Date cmdlet. + Specifies the Coordinated Universal Time (UTC) before which the secret can't be used. If you do not specify this parameter, there is no change to the current secret's NotBefore attribute. - Nullable [DateTime] + DateTime] PassThru Returns an object representing the item with which you are working. By default, this cmdlet does not generate any output. - SwitchParameter [Boolean] - - - Profile - - Specifies the Azure profile from which this cmdlet reads. If you do not specify a profile, this cmdlet reads from the local default profile. - - Microsoft.Azure.Common.Authentication.Models.AzureProfile Tags Specifies a hash table that represents tags for a secret. If you do not specify this parameter, there is no change to the current secret's tags. To remove a tag, specify an empty hash table. For more information about resource tags, see Using tags to organize your Azure resources (http://go.microsoft.com/fwlink/?LinkId=613624). - System.Collections.Hashtable + Hashtable - - Enable + + ContentType - Specifies whether to enable or disable a key. A value of $True enables the key. A value of $False disables the key. If you do not specify this parameter, this cmdlet does not modify the status of the key. + Specifies the content type of a secret. If you do not specify this parameter, there is no change to the current secret's content type. To remove the existing content type, specify an empty string. - Nullable [Boolean] + String - Nullable [Boolean] + String none - - Expires + + Enable - Specifies the expiration time, as a DateTime object, for the key that this cmdlet updates. This parameter uses Coordinated Universal Time (UTC). To obtain a DateTime object, use the Get-Date cmdlet. For more information, type Get-Help Get-Date. + Indicates whether to enable a secret. Specify $False to disable a secret, or $True to enable a secret. If you do not specify this parameter, there is no change to the current secret’s enabled or disabled state. - Nullable [DateTime] + Boolean] - Nullable [DateTime] + Boolean] none - - KeyOps + + Expires - Specifies an array of operations that can be performed by using the key that this cmdlet adds. If you do not specify this parameter, all operations can be performed. - The acceptable values for this parameter are a comma-separated list of key operations as defined by the JSON Web Key specification. These values are: - --- Encrypt --- Decrypt --- Wrap --- Unwrap --- Sign --- Verify --- Backup --- Restore + Specifies the date and time that a secret expires. - String[] + DateTime] - String[] + DateTime] none - + Name - Specifies the name of the key to update. This cmdlet constructs the fully qualified domain name (FQDN) of a key based on the name that this parameter specifies, the name of the vault, and your current environment. + Specifies the name of a secret. This cmdlet constructs the fully qualified domain name (FQDN) of a secret based on the name that this parameter specifies, the name of the vault, and your current environment. String @@ -3822,11 +3332,11 @@ PS C:\> Set-AzureRmKeyVaultAccessPolicy -VaultName "Contoso03Vault" -UserPrin NotBefore - Specifies the time, as a DateTime object, before which the key cannot be used. This parameter uses UTC. To obtain a DateTime object, use the Get-Date cmdlet. + Specifies the Coordinated Universal Time (UTC) before which the secret can't be used. If you do not specify this parameter, there is no change to the current secret's NotBefore attribute. - Nullable [DateTime] + DateTime] - Nullable [DateTime] + DateTime] none @@ -3836,21 +3346,9 @@ PS C:\> Set-AzureRmKeyVaultAccessPolicy -VaultName "Contoso03Vault" -UserPrin Returns an object representing the item with which you are working. By default, this cmdlet does not generate any output. - SwitchParameter [Boolean] - - SwitchParameter [Boolean] - - - none - - - Profile - - Specifies the Azure profile from which this cmdlet reads. If you do not specify a profile, this cmdlet reads from the local default profile. - - Microsoft.Azure.Common.Authentication.Models.AzureProfile + SwitchParameter - Microsoft.Azure.Common.Authentication.Models.AzureProfile + SwitchParameter none @@ -3860,9 +3358,9 @@ PS C:\> Set-AzureRmKeyVaultAccessPolicy -VaultName "Contoso03Vault" -UserPrin Specifies a hash table that represents tags for a secret. If you do not specify this parameter, there is no change to the current secret's tags. To remove a tag, specify an empty hash table. For more information about resource tags, see Using tags to organize your Azure resources (http://go.microsoft.com/fwlink/?LinkId=613624). - System.Collections.Hashtable + Hashtable - System.Collections.Hashtable + Hashtable none @@ -3870,7 +3368,7 @@ PS C:\> Set-AzureRmKeyVaultAccessPolicy -VaultName "Contoso03Vault" -UserPrin VaultName - Specifies the name of the vault in which this cmdlet modifies the key. This cmdlet constructs the FQDN of a vault based on the name that this parameter specifies and your current environment. + Specifies the name of the vault to modify. This cmdlet constructs the FQDN of a vault based on the name that this parameter specifies, and your currently selected environment. String @@ -3879,14 +3377,14 @@ PS C:\> Set-AzureRmKeyVaultAccessPolicy -VaultName "Contoso03Vault" -UserPrin none - + Version - Specifies the key version. This cmdlet constructs the FQDN of a key based on the vault name, your currently selected environment, the key name, and the key version. + Specifies the version of a secret. This cmdlet constructs the FQDN of a secret based on the vault name, your currently selected environment, the secret name, and the secret version. - System.String [Boolean] + String - System.String [Boolean] + String none @@ -3895,7 +3393,7 @@ PS C:\> Set-AzureRmKeyVaultAccessPolicy -VaultName "Contoso03Vault" -UserPrin - String, Boolean, DateTime + string, bool?, DateTime?, string[], Hashtable, SwitchParameter @@ -3911,7 +3409,7 @@ PS C:\> Set-AzureRmKeyVaultAccessPolicy -VaultName "Contoso03Vault" -UserPrin - Microsoft.Azure.Commands.KeyVault.Models.KeyBundle + Return Microsoft.Azure.Commands.KeyVault.Models.Secret object if PassThru is specified. Otherwise, return nothing. @@ -3928,19 +3426,20 @@ PS C:\> Set-AzureRmKeyVaultAccessPolicy -VaultName "Contoso03Vault" -UserPrin - Example 1: Modify a key to enable it, and set the expiration date and tags + Example 1: Modify the attributes of a secret - PS C:\>$Expires = (Get-Date).AddYears(2).ToUniversalTime() -PS C:\> $Tags = @{'Severity' = 'high'; 'Accounting' = null} -PS C:\> Set-AzureKeyVaultKeyAttribute -VaultName "Contoso" -Name "ITSoftware" -Expires $Expires -Enable $True -Tags $Tags -PassThru + PS C:\>$Expires = (Get-Date).AddYears(2).ToUniversalTime() +PS C:\> $Nbf = (Get-Date).ToUniversalTime() +PS C:\> $Tags = @{ 'Severity' = 'medium'; 'HR' = null} +PS C:\> $ContentType= 'xml' +PS C:\> Set-AzureKeyVaultSecretAttribute -VaultName 'ContosoVault' -Name 'HR' -Expires $Expires -NotBefore $Nbf -ContentType $ContentType -Enable $True -Tags $Tags -PassThru - The first command creates a DateTime object by using the Get-Date cmdlet. That object specifies a time two years in the future. The command stores that date in the $Expires variable. For more information, type Get-Help Get-Date. - The second command creates a variable to store tag values of high severity and Accounting. - The final command modifies a key named ITSoftware. The command enables the key, sets its expiration time to the time stored in $Expires, and sets the tags that are stored in $Tags. + The first four commands define attributes for the expiry date, the NotBefore date, tags, and context type, and store the attributes in variables. + The final command modifies the attributes for the secret named HR in the vault named ContosoVault, using the stored variables. @@ -3951,15 +3450,61 @@ PS C:\> Set-AzureKeyVaultKeyAttribute -VaultName "Contoso" -Name "ITSoftware" - Example 2: Modify a key to delete all tags + Example 2: Delete the tags and content type for a secret - PS C:\>Set-AzureKeyVaultKeyAttribute -VaultName "Contoso" -Name "ITSoftware" –Version "7EEA45C6EE50490B9C3176F80AC1A0DG" –Tags @{} + PS C:\>Set-AzureKeyVaultSecretAttribute -VaultName 'ContosoVault' -Name 'HR' -Version '9EEA45C6EE50490B9C3176A80AC1A0DF' -ContentType '' -Tags -@{} - This commands deletes all tags for a specific version of a key named ITSoftware. + This command deletes the tags and the content type for the specified version of the secret named HR in the vault named Contoso. + + + + + + + + + + + Example 3: Disable the current version of secrets whose name begins with IT + + + + + PS C:\>$Vault = 'ContosoVault' +PS C:\> $Prefix = 'IT' +PS C:\> Get-AzureKeyVaultSecret $Vault | Where-Object {$_.Name -like $Prefix + '*'} | Set-AzureKeyVaultSecretAttribute -Enable $False + + + The first command stores the string value Contoso in the $Vault variable. + The second command stores the string value IT in the $Prefix variable. + The third command uses the Get-AzureKeyVaultSecret cmdlet to get the secrets in the specified vault, and then passes those secrets to the Where-Object cmdlet. The Where-Object cmdlet filters the secrets for names that begin with the characters IT. The command pipes the secrets that match the filter to the Set-AzureKeyVaultSecretAttribute cmdlet, which disables them. + + + + + + + + + + + Example 4: Set the ContentType for all versions of a secret + + + + + PS C:\>$VaultName = 'ContosoVault' +PS C:\> $Name = 'HR' +PS C:\> $ContentType = 'xml' +PS C:\> Get-AzureKeyVaultKey -VaultName $VaultName -Name $Name -IncludeVersions | Set-AzureKeyVaultSecretAttribute -ContentType $ContentType + + + + The first three commands define string variables to use for the VaultName, Name, and ContentType parameters. The fourth command uses the Get-AzureKeyVaultKey cmdlet to get the specified keys, and pipes the keys to the Set-AzureKeyVaultSecretAttribute cmdlet to set their content type to XML. @@ -3973,114 +3518,95 @@ PS C:\> Set-AzureKeyVaultKeyAttribute -VaultName "Contoso" -Name "ITSoftware" Online Version: - http://go.microsoft.com/fwlink/?LinkId=521399 + http://go.microsoft.com/fwlink/?LinkId=690305 - Add-AzureKeyVaultKey + Get-AzureKeyVaultKey - Get-AzureKeyVaultKey + Get-AzureKeyVaultSecret - Remove-AzureKeyVaultKey + Remove-AzureKeyVaultSecret - - - Keywords: azure, azurerm, arm, resource, management, manager, keyvalut, key, secrets, certificates, password, vault - - - Set-AzureKeyVaultSecretAttribute + Set-AzureKeyVaultSecret - Updates attributes of a secret in a vault. + Creates or updates a secret in a vault. Set - AzureKeyVaultSecretAttribute + AzureKeyVaultSecret - The Set-AzureKeyVaultSecretAttribute cmdlet updates editable attributes of a secret in an Azure Key Vault. + The Set-AzureKeyVaultSecret cmdlet creates or updates a secret in a key vault in Azure Key Vault. If the secret does not exist, this cmdlet creates it. If the secret already exists, this cmdlet replaces it with the value that you specify. - Set-AzureKeyVaultSecretAttribute + Set-AzureKeyVaultSecret VaultName - Specifies the name of the vault to modify. This cmdlet constructs the FQDN of a vault based on the name that this parameter specifies, and your currently selected environment. + Specifies the name of the vault to which this secret belongs. This cmdlet constructs the FQDN of a vault based on the name that this parameter specifies and your current environment. String Name - Specifies the name of a secret. This cmdlet constructs the fully qualified domain name (FQDN) of a secret based on the name that this parameter specifies, the name of the vault, and your current environment. + Specifies the name of a secret to modify. This cmdlet constructs the fully qualified domain name (FQDN) of a secret based on the name that this parameter specifies, the name of the vault, and your current environment. String - - Version + + SecretValue - Specifies the version of a secret. This cmdlet constructs the FQDN of a secret based on the vault name, your currently selected environment, the secret name, and the secret version. + Specifies the value for the secret as a SecureString object. To obtain a SecureString object, use the ConvertTo-SecureString cmdlet. For more information, type Get-Help ConvertTo-SecureString. - String + SecureString ContentType - Specifies the content type of a secret. If you do not specify this parameter, there is no change to the current secret's content type. To remove the existing content type, specify an empty string. + Specifies the content type of a secret. To delete the existing content type, specify an empty string. - String + System.String - Enable + Disable - Indicates whether to enable a secret. Specify $False to disable a secret, or $True to enable a secret. If you do not specify this parameter, there is no change to the current secret–s enabled or disabled state. + Indicates that this cmdlet disables a secret. - Boolean Expires - Specifies the date and time that a secret expires. + Specifies the expiration time, as a DateTime object, for the secret that this cmdlet updates. This parameter uses Coordinated Universal Time (UTC). To obtain a DateTime object, use the Get-Date cmdlet. For more information, type Get-Help Get-Date. - DateTime + Nullable [System.DateTime] NotBefore - Specifies the Coordinated Universal Time (UTC) before which the secret can't be used. If you do not specify this parameter, there is no change to the current secret's NotBefore attribute. - - DateTime - - - PassThru - - Returns an object representing the item with which you are working. By default, this cmdlet does not generate any output. - - - - Profile - - Specifies the Azure profile from which this cmdlet reads. If you do not specify a profile, this cmdlet reads from the local default profile. + Specifies the time, as a DateTime object, before which the secret cannot be used. This parameter uses UTC. To obtain a DateTime object, use the Get-Date cmdlet. - AzureProfile + Nullable [System.DateTime] Tags Specifies a hash table that represents tags for a secret. If you do not specify this parameter, there is no change to the current secret's tags. To remove a tag, specify an empty hash table. For more information about resource tags, see Using tags to organize your Azure resources (http://go.microsoft.com/fwlink/?LinkId=613624). - Hashtable + System.Collections.Hashtable @@ -4088,23 +3614,23 @@ PS C:\> Set-AzureKeyVaultKeyAttribute -VaultName "Contoso" -Name "ITSoftware" ContentType - Specifies the content type of a secret. If you do not specify this parameter, there is no change to the current secret's content type. To remove the existing content type, specify an empty string. + Specifies the content type of a secret. To delete the existing content type, specify an empty string. - String + System.String - String + System.String none - Enable + Disable - Indicates whether to enable a secret. Specify $False to disable a secret, or $True to enable a secret. If you do not specify this parameter, there is no change to the current secret–s enabled or disabled state. + Indicates that this cmdlet disables a secret. - Boolean + SwitchParameter - Boolean + SwitchParameter none @@ -4112,11 +3638,11 @@ PS C:\> Set-AzureKeyVaultKeyAttribute -VaultName "Contoso" -Name "ITSoftware" Expires - Specifies the date and time that a secret expires. + Specifies the expiration time, as a DateTime object, for the secret that this cmdlet updates. This parameter uses Coordinated Universal Time (UTC). To obtain a DateTime object, use the Get-Date cmdlet. For more information, type Get-Help Get-Date. - DateTime + Nullable [System.DateTime] - DateTime + Nullable [System.DateTime] none @@ -4124,7 +3650,7 @@ PS C:\> Set-AzureKeyVaultKeyAttribute -VaultName "Contoso" -Name "ITSoftware" Name - Specifies the name of a secret. This cmdlet constructs the fully qualified domain name (FQDN) of a secret based on the name that this parameter specifies, the name of the vault, and your current environment. + Specifies the name of a secret to modify. This cmdlet constructs the fully qualified domain name (FQDN) of a secret based on the name that this parameter specifies, the name of the vault, and your current environment. String @@ -4136,35 +3662,23 @@ PS C:\> Set-AzureKeyVaultKeyAttribute -VaultName "Contoso" -Name "ITSoftware" NotBefore - Specifies the Coordinated Universal Time (UTC) before which the secret can't be used. If you do not specify this parameter, there is no change to the current secret's NotBefore attribute. + Specifies the time, as a DateTime object, before which the secret cannot be used. This parameter uses UTC. To obtain a DateTime object, use the Get-Date cmdlet. - DateTime - - DateTime - - - none - - - PassThru - - Returns an object representing the item with which you are working. By default, this cmdlet does not generate any output. - - SwitchParameter + Nullable [System.DateTime] - SwitchParameter + Nullable [System.DateTime] none - - Profile + + SecretValue - Specifies the Azure profile from which this cmdlet reads. If you do not specify a profile, this cmdlet reads from the local default profile. + Specifies the value for the secret as a SecureString object. To obtain a SecureString object, use the ConvertTo-SecureString cmdlet. For more information, type Get-Help ConvertTo-SecureString. - AzureProfile + SecureString - AzureProfile + SecureString none @@ -4174,9 +3688,9 @@ PS C:\> Set-AzureKeyVaultKeyAttribute -VaultName "Contoso" -Name "ITSoftware" Specifies a hash table that represents tags for a secret. If you do not specify this parameter, there is no change to the current secret's tags. To remove a tag, specify an empty hash table. For more information about resource tags, see Using tags to organize your Azure resources (http://go.microsoft.com/fwlink/?LinkId=613624). - Hashtable + System.Collections.Hashtable - Hashtable + System.Collections.Hashtable none @@ -4184,7 +3698,7 @@ PS C:\> Set-AzureKeyVaultKeyAttribute -VaultName "Contoso" -Name "ITSoftware" VaultName - Specifies the name of the vault to modify. This cmdlet constructs the FQDN of a vault based on the name that this parameter specifies, and your currently selected environment. + Specifies the name of the vault to which this secret belongs. This cmdlet constructs the FQDN of a vault based on the name that this parameter specifies and your current environment. String @@ -4193,23 +3707,11 @@ PS C:\> Set-AzureKeyVaultKeyAttribute -VaultName "Contoso" -Name "ITSoftware" none - - Version - - Specifies the version of a secret. This cmdlet constructs the FQDN of a secret based on the vault name, your currently selected environment, the secret name, and the secret version. - - String - - String - - - none - - string, bool?, DateTime?, string[], Hashtable, SwitchParameter + String, SecureString @@ -4225,7 +3727,7 @@ PS C:\> Set-AzureKeyVaultKeyAttribute -VaultName "Contoso" -Name "ITSoftware" - Return Microsoft.Azure.Commands.KeyVault.Models.Secret object if PassThru is specified. Otherwise, return nothing. + Microsoft.Azure.Commands.KeyVault.Models.Secret @@ -4242,62 +3744,17 @@ PS C:\> Set-AzureKeyVaultKeyAttribute -VaultName "Contoso" -Name "ITSoftware" - Example 1: Modify the attributes of a secret - - - - - PS C:\>$Expires = (Get-Date).AddYears(2).ToUniversalTime() -PS C:\> $Nbf = (Get-Date).ToUniversalTime() -PS C:\> $Tags = @{ "Severity" = "medium"; "HR" = null} -PS C:\> $ContentType= "xml" -PS C:\> Set-AzureKeyVaultSecretAttribute -VaultName "ContosoVault" -Name "HR" -Expires $Expires -NotBefore $Nbf -ContentType $ContentType -Enable $True -Tags $Tags -PassThru - - - The first four commands define attributes for the expiry date, the NotBefore date, tags, and context type, and store the attributes in variables. - The final command modifies the attributes for the secret named HR in the vault named ContosoVault, using the stored variables. - - - - - - - - - - - Example 2: Delete the tags and content type for a secret - - - - - PS C:\>Set-AzureKeyVaultSecretAttribute -VaultName "ContosoVault" -Name "HR" -Version "9EEA45C6EE50490B9C3176A80AC1A0DF" -ContentType "" -Tags -@{} - - - This command deletes the tags and the content type for the specified version of the secret named HR in the vault named Contoso. - - - - - - - - - - - Example 3: Disable the current version of secrets whose name begins with IT + Example 1: Modify the value of a secret using default attributes - PS C:\>$Vault = "ContosoVault" -PS C:\> $Prefix = "IT" -PS C:\> Get-AzureKeyVaultSecret $Vault | Where-Object {$_.Name -like $Prefix + '*'} | Set-AzureKeyVaultSecretAttribute -Enable $False + PS C:\>$Secret = ConvertTo-SecureString -String 'Password' -AsPlainText -Force +PS C:\> Set-AzureKeyVaultSecret -VaultName 'Contoso' -Name 'ITSecret' -SecretValue $Secret - The first command stores the string value Contoso in the $Vault variable. - The second command stores the string value IT in the $Prefix variable. - The third command uses the Get-AzureKeyVaultSecret cmdlet to get the secrets in the specified vault, and then passes those secrets to the Where-Object cmdlet. The Where-Object cmdlet filters the secrets for names that begin with the characters IT. The command pipes the secrets that match the filter to the Set-AzureKeyVaultSecretAttribute cmdlet, which disables them. + The first command converts a string into a secure string by using the ConvertTo-SecureString cmdlet, and then stores that string in the $Secret variable. For more information, type Get-Help ConvertTo-SecureString. + The second command modifies value of the secret named ITSecret in the vault named Contoso. The secret value becomes the value stored in $Secret. @@ -4308,19 +3765,22 @@ PS C:\> Get-AzureKeyVaultSecret $Vault | Where-Object {$_.Name -like $Prefix - Example 4: Set the ContentType for all versions of a secret + Example 2: Modify the value of a secret using custom attributes - PS C:\>$VaultName = "ContosoVault" -PS C:\> $Name = "HR" -PS C:\> $ContentType = "xml" -PS C:\> Get-AzureKeyVaultKey -VaultName $VaultName -Name $Name -IncludeVersions | Set-AzureKeyVaultSecretAttribute -ContentType $ContentType - + PS C:\>$Secret = ConvertTo-SecureString -String 'Password' -AsPlainText -Force +PS C:\> $Expires = (Get-Date).AddYears(2).ToUniversalTime() +PS C:\> $NBF =(Get-Date).ToUniversalTime() +PS C:\> $Tags = @{ 'Severity' = 'medium'; 'IT' = null } +PS C:\> $ContentType = 'txt' +PS C:\> Set-AzureKeyVaultSecret -VaultName 'Contoso' -Name 'ITSecret' -SecretValue $Secret -Expires $Expires -NotBefore $NBF -ContentType $ContentType -Enable $True -Tags $Tags -PassThru - The first three commands define string variables to use for the VaultName, Name, and ContentType parameters. The fourth command uses the Get-AzureKeyVaultKey cmdlet to get the specified keys, and pipes the keys to the Set-AzureKeyVaultSecretAttribute cmdlet to set their content type to XML. + The first command converts a string into a secure string by using the ConvertTo-SecureString cmdlet, and then stores that string in the $Secret variable. For more information, type Get-Help ConvertTo-SecureString. + The next commands define custom attributes for the expiry date, tags, and context type, and store the attributes in variables. + The final command modifies values of the secret named ITSecret in the vault named Contoso, by using the values specified previously as variables. @@ -4334,11 +3794,7 @@ PS C:\> Get-AzureKeyVaultKey -VaultName $VaultName -Name $Name -IncludeVersio Online Version: - http://go.microsoft.com/fwlink/?LinkId=534612 - - - Get-AzureKeyVaultKey - + http://go.microsoft.com/fwlink/?LinkId=690303 Get-AzureKeyVaultSecret @@ -4348,117 +3804,366 @@ PS C:\> Get-AzureKeyVaultKey -VaultName $VaultName -Name $Name -IncludeVersio Remove-AzureKeyVaultSecret - - Set-AzureKeyVaultSecretAttribute - - - - - Keywords: azure, azurerm, arm, resource, management, manager, keyvalut, key, secrets, certificates, password, vault - - - Set-AzureKeyVaultSecret + Set-AzureRmKeyVaultAccessPolicy - Creates or updates a secret in a vault. + Grants or modifies existing permissions for a user or application to perform operations with the key vault. Set - AzureKeyVaultSecret + AzureRmKeyVaultAccessPolicy - The Set-AzureKeyVaultSecret cmdlet creates or updates a secret in an Azure Key Vault. If the secret does not exist, this cmdlet creates it. If the secret already exists, this cmdlet replaces it with the value that you specify. + The Set-AzureRmKeyVaultAccessPolicy cmdlet grants or modifies existing permissions for a user or application to perform the specified operations with the Azure Key Vault instance. It does not modify the permissions that other users or applications have on the key vault. + The following directories must all be the same Azure directory: + +-- The Azure directory in which the key vault owner's user account resides. +-- The default directory of the Azure subscription in which the key vault resides. +-- The Azure directory in which the application service principal is registered. + Examples of scenarios when these conditions are not met and this cmdlet will not work are: + +-- Authorizing a user from a different organization to manage your key vault. Each organization has its own directory. +-- Your Azure account has multiple directories. If you register an application in a directory other than the default directory, you will not be able to authorize that application to use your key vaults. The application must be in the default directory. + Note that although specifying the resource group is optional for this cmdlet, you should do so for better performance. - Set-AzureKeyVaultSecret + Set-AzureRmKeyVaultAccessPolicy VaultName - Specifies the name of the vault to which this secret belongs. This cmdlet constructs the FQDN of a vault based on the name that this parameter specifies and your current environment. + Specifies the name of a key vault. This cmdlet modifies the access policy for the key vault that this parameter specifies. - String + System.String - - Name + + ResourceGroupName - Specifies the name of a secret to modify. This cmdlet constructs the fully qualified domain name (FQDN) of a secret based on the name that this parameter specifies, the name of the vault, and your current environment. + Specifies the name of a resource group. - String + System.String - - SecretValue + + ApplicationId - Specifies the value for the secret as a SecureString object. To obtain a SecureString object, use the ConvertTo-SecureString cmdlet. For more information, type Get-Help ConvertTo-SecureString. + Specifies the ID of the application to modify. - SecureString + Guid] - - ContentType + + PassThru - Specifies the content type of a secret. To delete the existing content type, specify an empty string. + Returns an object representing the item with which you are working. By default, this cmdlet does not generate any output. + + + + PermissionsToKeys + + Specifies an array of key operation permissions to grant to a user or service principal. The acceptable values for this parameter are: + +-- Decrypt +-- Encrypt +-- UnwrapKey +-- WrapKey +-- Verify +-- Sign +-- Get +-- List +-- Update +-- Create +-- Import +-- Delete +-- Backup +-- Restore +-- All + + + decrypt + encrypt + unwrapKey + wrapKey + verify + sign + get + list + update + create + import + delete + backup + restore + all + + + + PermissionsToSecrets + + Specifies an array of secret operation permissions to grant to a user or service principal. The acceptable values for this parameter are: + +-- Get +-- List +-- Set +-- Delete +-- All + + + get + list + set + delete + all + + + + ObjectId + + Specifies the object ID of the user or service principal in Azure Active Directory for which to grant permissions. + + Guid + + + + Set-AzureRmKeyVaultAccessPolicy + + VaultName + + Specifies the name of a key vault. This cmdlet modifies the access policy for the key vault that this parameter specifies. + + System.String + + + ResourceGroupName + + Specifies the name of a resource group. System.String - - Disable + + EnabledForDeployment - Indicates that this cmdlet disables a secret. + Enables the Microsoft.Compute resource provider to retrieve secrets from this key vault when this key vault is referenced in resource creation, for example when creating a virtual machine. - Expires + EnabledForDiskEncryption - Specifies the expiration time, as a DateTime object, for the secret that this cmdlet updates. This parameter uses Coordinated Universal Time (UTC). To obtain a DateTime object, use the Get-Date cmdlet. For more information, type Get-Help Get-Date. + Enables the Azure disk encryption service to get secrets and unwrap keys from this key vault. - Nullable [System.DateTime] - NotBefore + EnabledForTemplateDeployment - Specifies the time, as a DateTime object, before which the secret cannot be used. This parameter uses UTC. To obtain a DateTime object, use the Get-Date cmdlet. + Enables Azure Resource Manager to get secrets from this key vault when this key vault is referenced in a template deployment. + Note: This parameter is not currently implemented. + + + + PassThru + + Returns an object representing the item with which you are working. By default, this cmdlet does not generate any output. + + + + + Set-AzureRmKeyVaultAccessPolicy + + VaultName + + Specifies the name of a key vault. This cmdlet modifies the access policy for the key vault that this parameter specifies. + + System.String + + + ResourceGroupName + + Specifies the name of a resource group. + + System.String + + + PassThru + + Returns an object representing the item with which you are working. By default, this cmdlet does not generate any output. + + + + PermissionsToKeys + + Specifies an array of key operation permissions to grant to a user or service principal. The acceptable values for this parameter are: + +-- Decrypt +-- Encrypt +-- UnwrapKey +-- WrapKey +-- Verify +-- Sign +-- Get +-- List +-- Update +-- Create +-- Import +-- Delete +-- Backup +-- Restore +-- All + + + decrypt + encrypt + unwrapKey + wrapKey + verify + sign + get + list + update + create + import + delete + backup + restore + all + + + + PermissionsToSecrets + + Specifies an array of secret operation permissions to grant to a user or service principal. The acceptable values for this parameter are: + +-- Get +-- List +-- Set +-- Delete +-- All + + + get + list + set + delete + all + + + + ServicePrincipalName + + Specifies the service principal name of the application to which to grant permissions. Specify the application ID, also known as client ID, registered for the application in Azure Active Directory. The application with the service principal name that this parameter specifies must be registered in the Azure directory that contains your current subscription or the subscription specified by the SubscriptionName parameter, if that parameter is specified. + + String + + + + Set-AzureRmKeyVaultAccessPolicy + + VaultName + + Specifies the name of a key vault. This cmdlet modifies the access policy for the key vault that this parameter specifies. + + System.String + + + ResourceGroupName + + Specifies the name of a resource group. + + System.String + + + PassThru + + Returns an object representing the item with which you are working. By default, this cmdlet does not generate any output. + + + + PermissionsToKeys + + Specifies an array of key operation permissions to grant to a user or service principal. The acceptable values for this parameter are: + +-- Decrypt +-- Encrypt +-- UnwrapKey +-- WrapKey +-- Verify +-- Sign +-- Get +-- List +-- Update +-- Create +-- Import +-- Delete +-- Backup +-- Restore +-- All - Nullable [System.DateTime] + + decrypt + encrypt + unwrapKey + wrapKey + verify + sign + get + list + update + create + import + delete + backup + restore + all + - - Profile + + PermissionsToSecrets - Specifies the Azure profile from which this cmdlet reads. If you do not specify a profile, this cmdlet reads from the local default profile. + Specifies an array of secret operation permissions to grant to a user or service principal. The acceptable values for this parameter are: + +-- Get +-- List +-- Set +-- Delete +-- All - Microsoft.Azure.Common.Authentication.Models.AzureProfile + + get + list + set + delete + all + - - Tags + + UserPrincipalName - Specifies a hash table that represents tags for a secret. If you do not specify this parameter, there is no change to the current secret's tags. To remove a tag, specify an empty hash table. For more information about resource tags, see Using tags to organize your Azure resources (http://go.microsoft.com/fwlink/?LinkId=613624). + Specifies the user principal name of the user to whom to grant permissions. This user principal name must exist in the directory associated with the current subscription or in the subscription specified by the SubscriptionName parameter, if that parameter is specified. - System.Collections.Hashtable + String - ContentType + ApplicationId - Specifies the content type of a secret. To delete the existing content type, specify an empty string. + Specifies the ID of the application to modify. - System.String + Guid] - System.String + Guid] none - - Disable + + EnabledForDeployment - Indicates that this cmdlet disables a secret. + Enables the Microsoft.Compute resource provider to retrieve secrets from this key vault when this key vault is referenced in resource creation, for example when creating a virtual machine. SwitchParameter @@ -4468,81 +4173,128 @@ PS C:\> Get-AzureKeyVaultKey -VaultName $VaultName -Name $Name -IncludeVersio none - Expires + EnabledForDiskEncryption - Specifies the expiration time, as a DateTime object, for the secret that this cmdlet updates. This parameter uses Coordinated Universal Time (UTC). To obtain a DateTime object, use the Get-Date cmdlet. For more information, type Get-Help Get-Date. + Enables the Azure disk encryption service to get secrets and unwrap keys from this key vault. - Nullable [System.DateTime] + SwitchParameter - Nullable [System.DateTime] + SwitchParameter none - - Name + + EnabledForTemplateDeployment - Specifies the name of a secret to modify. This cmdlet constructs the fully qualified domain name (FQDN) of a secret based on the name that this parameter specifies, the name of the vault, and your current environment. + Enables Azure Resource Manager to get secrets from this key vault when this key vault is referenced in a template deployment. + Note: This parameter is not currently implemented. - String + SwitchParameter - String + SwitchParameter none - - NotBefore + + ObjectId - Specifies the time, as a DateTime object, before which the secret cannot be used. This parameter uses UTC. To obtain a DateTime object, use the Get-Date cmdlet. + Specifies the object ID of the user or service principal in Azure Active Directory for which to grant permissions. - Nullable [System.DateTime] + Guid - Nullable [System.DateTime] + Guid none - Profile + PassThru - Specifies the Azure profile from which this cmdlet reads. If you do not specify a profile, this cmdlet reads from the local default profile. + Returns an object representing the item with which you are working. By default, this cmdlet does not generate any output. - Microsoft.Azure.Common.Authentication.Models.AzureProfile + SwitchParameter - Microsoft.Azure.Common.Authentication.Models.AzureProfile + SwitchParameter none - - SecretValue + + PermissionsToKeys - Specifies the value for the secret as a SecureString object. To obtain a SecureString object, use the ConvertTo-SecureString cmdlet. For more information, type Get-Help ConvertTo-SecureString. + Specifies an array of key operation permissions to grant to a user or service principal. The acceptable values for this parameter are: + +-- Decrypt +-- Encrypt +-- UnwrapKey +-- WrapKey +-- Verify +-- Sign +-- Get +-- List +-- Update +-- Create +-- Import +-- Delete +-- Backup +-- Restore +-- All - SecureString + String[] - SecureString + String[] none - - Tags + + PermissionsToSecrets - Specifies a hash table that represents tags for a secret. If you do not specify this parameter, there is no change to the current secret's tags. To remove a tag, specify an empty hash table. For more information about resource tags, see Using tags to organize your Azure resources (http://go.microsoft.com/fwlink/?LinkId=613624). + Specifies an array of secret operation permissions to grant to a user or service principal. The acceptable values for this parameter are: + +-- Get +-- List +-- Set +-- Delete +-- All - System.Collections.Hashtable + String[] - System.Collections.Hashtable + String[] none - - VaultName + + ResourceGroupName - Specifies the name of the vault to which this secret belongs. This cmdlet constructs the FQDN of a vault based on the name that this parameter specifies and your current environment. + Specifies the name of a resource group. + + System.String + + System.String + + + none + + + ServicePrincipalName + + Specifies the service principal name of the application to which to grant permissions. Specify the application ID, also known as client ID, registered for the application in Azure Active Directory. The application with the service principal name that this parameter specifies must be registered in the Azure directory that contains your current subscription or the subscription specified by the SubscriptionName parameter, if that parameter is specified. + + String + + String + + + none + + + UserPrincipalName + + Specifies the user principal name of the user to whom to grant permissions. This user principal name must exist in the directory associated with the current subscription or in the subscription specified by the SubscriptionName parameter, if that parameter is specified. String @@ -4551,11 +4303,23 @@ PS C:\> Get-AzureKeyVaultKey -VaultName $VaultName -Name $Name -IncludeVersio none + + VaultName + + Specifies the name of a key vault. This cmdlet modifies the access policy for the key vault that this parameter specifies. + + System.String + + System.String + + + none + - String, SecureString + String, Guid, String[], Switch @@ -4563,15 +4327,13 @@ PS C:\> Get-AzureKeyVaultKey -VaultName $VaultName -Name $Name -IncludeVersio - - - Microsoft.Azure.Commands.KeyVault.Models.Secret + Microsoft.Azure.Commands.KeyVault.Models.PSVault @@ -4579,8 +4341,6 @@ PS C:\> Get-AzureKeyVaultKey -VaultName $VaultName -Name $Name -IncludeVersio - - @@ -4588,17 +4348,19 @@ PS C:\> Get-AzureKeyVaultKey -VaultName $VaultName -Name $Name -IncludeVersio - Example 1: Modify the value of a secret using default attributes + Example 1: Grant permissions to a user for a key vault and modify the permissions - PS C:\>$Secret = ConvertTo-SecureString -String "Password" -AsPlainText -Force -PS C:\> Set-AzureKeyVaultSecret -VaultName "Contoso" -Name "ITSecret" -SecretValue $Secret + PS C:\>Set-AzureRmKeyVaultAccessPolicy -VaultName 'Contoso03Vault' -UserPrincipalName 'PattiFuller@contoso.com' -PermissionsToKeys create,import,delete,list -PermissionsToSecrets set,delete +PS C:\> Set-AzureRmKeyVaultAccessPolicy -VaultName 'Contoso03Vault' -UserPrincipalName 'PattiFuller@contoso.com' -PermissionsToSecrets set,delete,get -PassThru +PS C:\> Set-AzureRmKeyVaultAccessPolicy -VaultName 'Contoso03Vault' -UserPrincipalName 'PattiFuller@contoso.com' -PermissionsToKeys @() -PassThru - The first command converts a string into a secure string by using the ConvertTo-SecureString cmdlet, and then stores that string in the $Secret variable. For more information, type Get-Help ConvertTo-SecureString. - The second command modifies value of the secret named ITSecret in the vault named Contoso. The secret value becomes the value stored in $Secret. + The first command grants permissions for a user in your Azure Active Directory, PattiFuller@contoso.com, to perform operations on keys and secrets with a key vault named Contoso03Vault. + The second command modifies the permissions that were granted to PattiFuller@contoso.com in the first command, to now allow getting secrets in addition to setting and deleting them. The permissions to key operations remain unchanged after this command. The PassThru parameter results in the updated key vault object being returned by the cmdlet. + The final command further modifies the existing permissions for PattiFuller@contoso.com to remove all permissions to key operations. The permissions to secret operations remain unchanged after this command. The PassThru parameter results in the updated key vault object being returned by the cmdlet. @@ -4609,22 +4371,72 @@ PS C:\> Set-AzureKeyVaultSecret -VaultName "Contoso" -Name "ITSecret" -Secret - Example 2: Modify the value of a secret using custom attributes + Example 2: Grant permissions for an application service principal to read and write secrets - PS C:\>$Secret = ConvertTo-SecureString -String "Password" -AsPlainText -Force -PS C:\> $Expires = (Get-Date).AddYears(2).ToUniversalTime() -PS C:\> $NBF =(Get-Date).ToUniversalTime() -PS C:\> $Tags = @{ "Severity" = "medium"; "IT" = null } -PS C:\> $ContentType = "txt" -PS C:\> Set-AzureKeyVaultSecret -VaultName "Contoso" -Name "ITSecret" -SecretValue $Secret -Expires $Expires -NotBefore $NBF -ContentType $ContentType -Enable $True -Tags $Tags -PassThru + PS C:\>Set-AzureRmKeyVaultAccessPolicy -VaultName 'Contoso03Vault' -ServicePrincipalName 'http://payroll.contoso.com' -PermissionsToSecrets 'get,set' - The first command converts a string into a secure string by using the ConvertTo-SecureString cmdlet, and then stores that string in the $Secret variable. For more information, type Get-Help ConvertTo-SecureString. - The next commands define custom attributes for the expiry date, tags, and context type, and store the attributes in variables. - The final command modifies values of the secret named ITSecret in the vault named Contoso, by using the values specified previously as variables. + This command grants permissions for an application for a vault named Contoso03Vault. The ServicePrincipalName parameter specifies the application. The application must be registered in your Azure Active Directory. The value of the ServicePrincipalName parameter must be either the service principal name of the application or the application ID GUID. This example specifies the service principal name http://payroll.contoso.com, and the command grants the application permissions to read and write secrets. + + + + + + + + + + + Example 3: Grant permissions for an application using its object ID + + + + + PS C:\>Set-AzureRmKeyVaultAccessPolicy -VaultName 'Contoso03Vault' -ObjectId 34595082-9346-41b6-8d6b-295a2808b8db -PermissionsToSecrets 'get,set' + + + This command grants the application permissions to read and write secrets. This example specifies the application using the object ID of the service principal of the application. + + + + + + + + + + + Example 4: Grant permissions for a user principal name + + + + + PS C:\>Set-AzureRmKeyVaultAccessPolicy -VaultName 'Contoso03Vault' -UserPrincipalName 'PattiFuller@contoso.com' -PermissionsToCertificates 'get,list,set' + + + This command grants get, list, and set permissions for the specified user principal name for certificate access. + + + + + + + + + + + Example 5: Enable secrets to be retrieved from a vault by the Microsoft.Compute resource provider + + + + + PS C:\>Set-AzureRmKeyVaultAccessPolicy -VaultName 'Contoso03Vault' –ResourceGroupName 'Group14' -EnabledForDeployment + + + This command grants the permissions for secrets to be retrieved from the Contoso03Vault vault by the Microsoft.Compute resource provider. @@ -4638,21 +4450,13 @@ PS C:\> Set-AzureKeyVaultSecret -VaultName "Contoso" -Name "ITSecret" -Secret Online Version: - http://go.microsoft.com/fwlink/?LinkId=521400 - - - Get-AzureKeyVaultSecret - + http://go.microsoft.com/fwlink/?LinkId=690163 - Remove-AzureKeyVaultSecret + Remove-AzureRmKeyVaultAccessPolicy - - - Keywords: azure, azurerm, arm, resource, management, manager, keyvalut, key, secrets, certificates, password, vault - - + From 1834dd267adb7e09c6e601161186606979b8bc38 Mon Sep 17 00:00:00 2001 From: Anthony Pham Date: Thu, 7 Jan 2016 16:04:11 -0800 Subject: [PATCH 16/20] Update change log Added section describing Azure Stream Analytics changes. --- ChangeLog.md | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/ChangeLog.md b/ChangeLog.md index b285142d9ed8..d9592a255bdb 100644 --- a/ChangeLog.md +++ b/ChangeLog.md @@ -9,6 +9,13 @@ * Get-AzureRmWebAppSSLBinding * Remove-AzureRmWebAppSSLBinding * Azure Websites: Added AseName and AseResourceGroupName parameters in New-AzureRmWebApp and New-AzureRmAppServicePlan cmdlet +* Azure Stream Analytics: Added new cmdlet support for Functions. + * New-AzureRmStreamAnalyticsFunction + * Get-AzureRmStreamAnalyticsFunction + * Test-AzureRmStreamAnalyticsFunction + * Get-AzureRmStreamAnalyticsDefaultFunctionDefinition + * Remove-AzureRmStreamAnalyticsFunction + ## 2015.12.14 version 1.0.2 * Azure Compute (ARM): From fa18bcd6b7516a36e7dbf068640a8ccd1f62efaf Mon Sep 17 00:00:00 2001 From: dihan Date: Thu, 7 Jan 2016 16:51:49 -0800 Subject: [PATCH 17/20] #5461728 bug fix for get-serviceprovider API --- .../Network/Commands.Network.Test/packages.config | 2 +- .../Network/Commands.Network/Commands.Network.csproj | 2 +- src/ResourceManager/Network/Commands.Network/packages.config | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/ResourceManager/Network/Commands.Network.Test/packages.config b/src/ResourceManager/Network/Commands.Network.Test/packages.config index 645e7339d55e..aee4c0bdf324 100644 --- a/src/ResourceManager/Network/Commands.Network.Test/packages.config +++ b/src/ResourceManager/Network/Commands.Network.Test/packages.config @@ -7,7 +7,7 @@ - + diff --git a/src/ResourceManager/Network/Commands.Network/Commands.Network.csproj b/src/ResourceManager/Network/Commands.Network/Commands.Network.csproj index 906ff8b00929..bbff6dad9228 100644 --- a/src/ResourceManager/Network/Commands.Network/Commands.Network.csproj +++ b/src/ResourceManager/Network/Commands.Network/Commands.Network.csproj @@ -77,7 +77,7 @@ ..\..\..\packages\Microsoft.Azure.Management.Authorization.2.0.0\lib\net40\Microsoft.Azure.Management.Authorization.dll - ..\..\..\packages\Microsoft.Azure.Management.Network.3.0.4-preview\lib\net45\Microsoft.Azure.Management.Network.dll + ..\..\..\packages\Microsoft.Azure.Management.Network.3.0.8-preview\lib\net45\Microsoft.Azure.Management.Network.dll True diff --git a/src/ResourceManager/Network/Commands.Network/packages.config b/src/ResourceManager/Network/Commands.Network/packages.config index 679f259bbd1d..e2b99231a62b 100644 --- a/src/ResourceManager/Network/Commands.Network/packages.config +++ b/src/ResourceManager/Network/Commands.Network/packages.config @@ -9,7 +9,7 @@ - + From 398aeb1a75eb972557a1cc21e7c9af2d15170feb Mon Sep 17 00:00:00 2001 From: dihan Date: Thu, 7 Jan 2016 17:13:20 -0800 Subject: [PATCH 18/20] update version --- .../Network/Commands.Network.Test/packages.config | 2 +- .../Network/Commands.Network/Commands.Network.csproj | 2 +- src/ResourceManager/Network/Commands.Network/packages.config | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/ResourceManager/Network/Commands.Network.Test/packages.config b/src/ResourceManager/Network/Commands.Network.Test/packages.config index aee4c0bdf324..002c4d775c5d 100644 --- a/src/ResourceManager/Network/Commands.Network.Test/packages.config +++ b/src/ResourceManager/Network/Commands.Network.Test/packages.config @@ -7,7 +7,7 @@ - + diff --git a/src/ResourceManager/Network/Commands.Network/Commands.Network.csproj b/src/ResourceManager/Network/Commands.Network/Commands.Network.csproj index bbff6dad9228..9475fb7f72c3 100644 --- a/src/ResourceManager/Network/Commands.Network/Commands.Network.csproj +++ b/src/ResourceManager/Network/Commands.Network/Commands.Network.csproj @@ -77,7 +77,7 @@ ..\..\..\packages\Microsoft.Azure.Management.Authorization.2.0.0\lib\net40\Microsoft.Azure.Management.Authorization.dll - ..\..\..\packages\Microsoft.Azure.Management.Network.3.0.8-preview\lib\net45\Microsoft.Azure.Management.Network.dll + ..\..\..\packages\Microsoft.Azure.Management.Network.3.0.6-preview\lib\net45\Microsoft.Azure.Management.Network.dll True diff --git a/src/ResourceManager/Network/Commands.Network/packages.config b/src/ResourceManager/Network/Commands.Network/packages.config index e2b99231a62b..5013db0d354d 100644 --- a/src/ResourceManager/Network/Commands.Network/packages.config +++ b/src/ResourceManager/Network/Commands.Network/packages.config @@ -9,7 +9,7 @@ - + From 09c735a0e20ca01d78eeb0e2468d8b3c73221f8a Mon Sep 17 00:00:00 2001 From: deepakswifty Date: Thu, 7 Jan 2016 17:21:48 -0800 Subject: [PATCH 19/20] Sanitize input for list properties --- .../Commands.Network/Commands.Network.csproj | 7 +-- ...osoft.Azure.Commands.Network.format.ps1xml | 2 +- .../Models/PSBackendAddressPool.cs | 10 +++++ .../Models/PSFrontendIpConfiguration.cs | 14 ++++++ .../Models/PSInboundNatPool.cs | 20 +-------- .../Models/PSInboundNatRule.cs | 25 +++-------- .../Commands.Network/Models/PSInboundRule.cs | 45 +++++++++++++++++++ .../Models/PSLoadBalancingRule.cs | 26 +++-------- .../Models/PSNetworkInterface.cs | 5 +++ .../PSNetworkInterfaceIpConfiguration.cs | 10 +++++ .../Models/PSNetworkSecurityGroup.cs | 20 +++++++++ .../Commands.Network/Models/PSProbe.cs | 15 +++++++ .../Commands.Network/Models/PSRouteTable.cs | 10 +++++ .../Commands.Network/Models/PSSubnet.cs | 6 +++ 14 files changed, 153 insertions(+), 62 deletions(-) create mode 100644 src/ResourceManager/Network/Commands.Network/Models/PSInboundRule.cs diff --git a/src/ResourceManager/Network/Commands.Network/Commands.Network.csproj b/src/ResourceManager/Network/Commands.Network/Commands.Network.csproj index 906ff8b00929..7cc868321c22 100644 --- a/src/ResourceManager/Network/Commands.Network/Commands.Network.csproj +++ b/src/ResourceManager/Network/Commands.Network/Commands.Network.csproj @@ -280,6 +280,7 @@ + @@ -319,10 +320,10 @@ - - + + - + diff --git a/src/ResourceManager/Network/Commands.Network/Microsoft.Azure.Commands.Network.format.ps1xml b/src/ResourceManager/Network/Commands.Network/Microsoft.Azure.Commands.Network.format.ps1xml index 1bb3ae82eb8d..1b07735b03bb 100644 --- a/src/ResourceManager/Network/Commands.Network/Microsoft.Azure.Commands.Network.format.ps1xml +++ b/src/ResourceManager/Network/Commands.Network/Microsoft.Azure.Commands.Network.format.ps1xml @@ -512,7 +512,7 @@ - FrontendIPConfigurationsText + FrontendIpConfigurationsText diff --git a/src/ResourceManager/Network/Commands.Network/Models/PSBackendAddressPool.cs b/src/ResourceManager/Network/Commands.Network/Models/PSBackendAddressPool.cs index 656f42e11d81..e3ebaa18f165 100644 --- a/src/ResourceManager/Network/Commands.Network/Models/PSBackendAddressPool.cs +++ b/src/ResourceManager/Network/Commands.Network/Models/PSBackendAddressPool.cs @@ -41,5 +41,15 @@ public string LoadBalancingRulesText { get { return JsonConvert.SerializeObject(LoadBalancingRules, Formatting.Indented, new JsonSerializerSettings() { NullValueHandling = NullValueHandling.Ignore }); } } + + public bool ShouldSerializeBackendIpConfigurations() + { + return !string.IsNullOrEmpty(this.Name); + } + + public bool ShouldSerializeLoadBalancingRules() + { + return !string.IsNullOrEmpty(this.Name); + } } } diff --git a/src/ResourceManager/Network/Commands.Network/Models/PSFrontendIpConfiguration.cs b/src/ResourceManager/Network/Commands.Network/Models/PSFrontendIpConfiguration.cs index 94ca5ff8ce11..c47e99c8f361 100644 --- a/src/ResourceManager/Network/Commands.Network/Models/PSFrontendIpConfiguration.cs +++ b/src/ResourceManager/Network/Commands.Network/Models/PSFrontendIpConfiguration.cs @@ -48,5 +48,19 @@ public string InboundNatPoolsText get { return JsonConvert.SerializeObject(InboundNatPools, Formatting.Indented, new JsonSerializerSettings() { NullValueHandling = NullValueHandling.Ignore }); } } + public bool ShouldSerializeInboundNatRules() + { + return !string.IsNullOrEmpty(this.Name); + } + + public bool ShouldSerializeLoadBalancingRules() + { + return !string.IsNullOrEmpty(this.Name); + } + + public bool ShouldSerializeInboundNatPools() + { + return !string.IsNullOrEmpty(this.Name); + } } } diff --git a/src/ResourceManager/Network/Commands.Network/Models/PSInboundNatPool.cs b/src/ResourceManager/Network/Commands.Network/Models/PSInboundNatPool.cs index 5a938bc3d4d6..4ca4ba1d4a17 100644 --- a/src/ResourceManager/Network/Commands.Network/Models/PSInboundNatPool.cs +++ b/src/ResourceManager/Network/Commands.Network/Models/PSInboundNatPool.cs @@ -17,30 +17,12 @@ namespace Microsoft.Azure.Commands.Network.Models { using Newtonsoft.Json; - public class PSInboundNatPool : PSChildResource + public class PSInboundNatPool : PSInboundRule { - [JsonProperty(Order = 1)] - public PSResourceId FrontendIPConfiguration { get; set; } - [JsonProperty(Order = 1)] public int FrontendPortRangeStart { get; set; } [JsonProperty(Order = 1)] public int FrontendPortRangeEnd { get; set; } - - [JsonProperty(Order = 1)] - public int BackendPort { get; set; } - - [JsonProperty(Order = 1)] - public string Protocol { get; set; } - - [JsonProperty(Order = 1)] - public string ProvisioningState { get; set; } - - [JsonIgnore] - public string FrontendIPConfigurationText - { - get { return JsonConvert.SerializeObject(FrontendIPConfiguration, Formatting.Indented, new JsonSerializerSettings() { NullValueHandling = NullValueHandling.Ignore }); } - } } } diff --git a/src/ResourceManager/Network/Commands.Network/Models/PSInboundNatRule.cs b/src/ResourceManager/Network/Commands.Network/Models/PSInboundNatRule.cs index 7eb8429b1904..9bab1532c04b 100644 --- a/src/ResourceManager/Network/Commands.Network/Models/PSInboundNatRule.cs +++ b/src/ResourceManager/Network/Commands.Network/Models/PSInboundNatRule.cs @@ -17,19 +17,10 @@ namespace Microsoft.Azure.Commands.Network.Models { using Newtonsoft.Json; - public class PSInboundNatRule : PSChildResource + public class PSInboundNatRule : PSInboundRule { [JsonProperty(Order = 1)] - public PSResourceId FrontendIPConfiguration { get; set; } - - [JsonProperty(Order = 1)] - public string Protocol { get; set; } - - [JsonProperty(Order = 1)] - public int? FrontendPort { get; set; } - - [JsonProperty(Order = 1)] - public int? BackendPort { get; set; } + public int FrontendPort { get; set; } [JsonProperty(Order = 1)] public int? IdleTimeoutInMinutes { get; set; } @@ -37,22 +28,18 @@ public class PSInboundNatRule : PSChildResource [JsonProperty(Order = 1)] public bool? EnableFloatingIP { get; set; } - [JsonProperty(Order = 1)] - public string ProvisioningState { get; set; } - [JsonProperty(Order = 1)] public PSNetworkInterfaceIPConfiguration BackendIPConfiguration { get; set; } [JsonIgnore] - public string FrontendIPConfigurationText + public string BackendIPConfigurationText { - get { return JsonConvert.SerializeObject(FrontendIPConfiguration, Formatting.Indented, new JsonSerializerSettings() { NullValueHandling = NullValueHandling.Ignore }); } + get { return JsonConvert.SerializeObject(BackendIPConfiguration, Formatting.Indented, new JsonSerializerSettings() { NullValueHandling = NullValueHandling.Ignore }); } } - [JsonIgnore] - public string BackendIPConfigurationText + public bool ShouldSerializeFrontendPort() { - get { return JsonConvert.SerializeObject(BackendIPConfiguration, Formatting.Indented, new JsonSerializerSettings() { NullValueHandling = NullValueHandling.Ignore }); } + return !string.IsNullOrEmpty(this.Name); } } } diff --git a/src/ResourceManager/Network/Commands.Network/Models/PSInboundRule.cs b/src/ResourceManager/Network/Commands.Network/Models/PSInboundRule.cs new file mode 100644 index 000000000000..1bfae5db5aa8 --- /dev/null +++ b/src/ResourceManager/Network/Commands.Network/Models/PSInboundRule.cs @@ -0,0 +1,45 @@ +// +// Copyright (c) Microsoft. All rights reserved. +// +// 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. +// + +namespace Microsoft.Azure.Commands.Network.Models +{ + using Newtonsoft.Json; + + public class PSInboundRule : PSChildResource + { + [JsonProperty(Order = 1)] + public PSResourceId FrontendIPConfiguration { get; set; } + + [JsonProperty(Order = 1)] + public int BackendPort { get; set; } + + [JsonProperty(Order = 1)] + public string Protocol { get; set; } + + [JsonProperty(Order = 1)] + public string ProvisioningState { get; set; } + + [JsonIgnore] + public string FrontendIPConfigurationText + { + get { return JsonConvert.SerializeObject(FrontendIPConfiguration, Formatting.Indented, new JsonSerializerSettings() { NullValueHandling = NullValueHandling.Ignore }); } + } + + public bool ShouldSerializeBackendPort() + { + return !string.IsNullOrEmpty(this.Name); + } + } +} diff --git a/src/ResourceManager/Network/Commands.Network/Models/PSLoadBalancingRule.cs b/src/ResourceManager/Network/Commands.Network/Models/PSLoadBalancingRule.cs index 67177e801a64..a5485b4f2438 100644 --- a/src/ResourceManager/Network/Commands.Network/Models/PSLoadBalancingRule.cs +++ b/src/ResourceManager/Network/Commands.Network/Models/PSLoadBalancingRule.cs @@ -17,11 +17,8 @@ namespace Microsoft.Azure.Commands.Network.Models { using Newtonsoft.Json; - public class PSLoadBalancingRule : PSChildResource + public class PSLoadBalancingRule : PSInboundRule { - [JsonProperty(Order = 1)] - public PSResourceId FrontendIPConfiguration { get; set; } - [JsonProperty(Order = 1)] public PSResourceId BackendAddressPool { get; set; } @@ -29,13 +26,7 @@ public class PSLoadBalancingRule : PSChildResource public PSResourceId Probe { get; set; } [JsonProperty(Order = 1)] - public string Protocol { get; set; } - - [JsonProperty(Order = 1)] - public int? FrontendPort { get; set; } - - [JsonProperty(Order = 1)] - public int? BackendPort { get; set; } + public int FrontendPort { get; set; } [JsonProperty(Order = 1)] public int? IdleTimeoutInMinutes { get; set; } @@ -46,15 +37,6 @@ public class PSLoadBalancingRule : PSChildResource [JsonProperty(Order = 1)] public bool? EnableFloatingIP { get; set; } - [JsonProperty(Order = 1)] - public string ProvisioningState { get; set; } - - [JsonIgnore] - public string FrontendIPConfigurationText - { - get { return JsonConvert.SerializeObject(FrontendIPConfiguration, Formatting.Indented, new JsonSerializerSettings() { NullValueHandling = NullValueHandling.Ignore }); } - } - [JsonIgnore] public string BackendAddressPoolText { @@ -67,5 +49,9 @@ public string ProbeText get { return JsonConvert.SerializeObject(Probe, Formatting.Indented, new JsonSerializerSettings() { NullValueHandling = NullValueHandling.Ignore }); } } + public bool ShouldSerializeFrontendPort() + { + return !string.IsNullOrEmpty(this.Name); + } } } diff --git a/src/ResourceManager/Network/Commands.Network/Models/PSNetworkInterface.cs b/src/ResourceManager/Network/Commands.Network/Models/PSNetworkInterface.cs index 335a6f6a167f..3f7987847033 100644 --- a/src/ResourceManager/Network/Commands.Network/Models/PSNetworkInterface.cs +++ b/src/ResourceManager/Network/Commands.Network/Models/PSNetworkInterface.cs @@ -59,5 +59,10 @@ public string NetworkSecurityGroupText { get { return JsonConvert.SerializeObject(NetworkSecurityGroup, Formatting.Indented, new JsonSerializerSettings() { NullValueHandling = NullValueHandling.Ignore }); } } + + public bool ShouldSerializeIpConfigurations() + { + return !string.IsNullOrEmpty(this.Name); + } } } diff --git a/src/ResourceManager/Network/Commands.Network/Models/PSNetworkInterfaceIpConfiguration.cs b/src/ResourceManager/Network/Commands.Network/Models/PSNetworkInterfaceIpConfiguration.cs index 2b19c23df6e9..a5549eeb1895 100644 --- a/src/ResourceManager/Network/Commands.Network/Models/PSNetworkInterfaceIpConfiguration.cs +++ b/src/ResourceManager/Network/Commands.Network/Models/PSNetworkInterfaceIpConfiguration.cs @@ -38,5 +38,15 @@ public string LoadBalancerInboundNatRulesText { get { return JsonConvert.SerializeObject(LoadBalancerInboundNatRules, Formatting.Indented, new JsonSerializerSettings() { NullValueHandling = NullValueHandling.Ignore }); } } + + public bool ShouldSerializeLoadBalancerBackendAddressPools() + { + return !string.IsNullOrEmpty(this.Name); + } + + public bool ShouldSerializeLoadBalancerInboundNatRules() + { + return !string.IsNullOrEmpty(this.Name); + } } } diff --git a/src/ResourceManager/Network/Commands.Network/Models/PSNetworkSecurityGroup.cs b/src/ResourceManager/Network/Commands.Network/Models/PSNetworkSecurityGroup.cs index 932201bc904d..31ac26475390 100644 --- a/src/ResourceManager/Network/Commands.Network/Models/PSNetworkSecurityGroup.cs +++ b/src/ResourceManager/Network/Commands.Network/Models/PSNetworkSecurityGroup.cs @@ -54,5 +54,25 @@ public string SubnetsText { get { return JsonConvert.SerializeObject(Subnets, Formatting.Indented, new JsonSerializerSettings() { NullValueHandling = NullValueHandling.Ignore }); } } + + public bool ShouldSerializeSecurityRules() + { + return !string.IsNullOrEmpty(this.Name); + } + + public bool ShouldSerializeDefaultSecurityRules() + { + return !string.IsNullOrEmpty(this.Name); + } + + public bool ShouldSerializeNetworkInterfaces() + { + return !string.IsNullOrEmpty(this.Name); + } + + public bool ShouldSerializeSubnets() + { + return !string.IsNullOrEmpty(this.Name); + } } } diff --git a/src/ResourceManager/Network/Commands.Network/Models/PSProbe.cs b/src/ResourceManager/Network/Commands.Network/Models/PSProbe.cs index 335886f2006f..e050f9e42acd 100644 --- a/src/ResourceManager/Network/Commands.Network/Models/PSProbe.cs +++ b/src/ResourceManager/Network/Commands.Network/Models/PSProbe.cs @@ -47,5 +47,20 @@ public string LoadBalancingRulesText { get { return JsonConvert.SerializeObject(LoadBalancingRules, Formatting.Indented, new JsonSerializerSettings() { NullValueHandling = NullValueHandling.Ignore }); } } + + public bool ShouldSerializePort() + { + return !string.IsNullOrEmpty(this.Name); + } + + public bool ShouldSerializeIntervalInSeconds() + { + return !string.IsNullOrEmpty(this.Name); + } + + public bool ShouldSerializeNumberOfProbes() + { + return !string.IsNullOrEmpty(this.Name); + } } } diff --git a/src/ResourceManager/Network/Commands.Network/Models/PSRouteTable.cs b/src/ResourceManager/Network/Commands.Network/Models/PSRouteTable.cs index 0243aedeb3e7..ac05b67d18d1 100644 --- a/src/ResourceManager/Network/Commands.Network/Models/PSRouteTable.cs +++ b/src/ResourceManager/Network/Commands.Network/Models/PSRouteTable.cs @@ -38,5 +38,15 @@ public string SubnetsText { get { return JsonConvert.SerializeObject(Subnets, Formatting.Indented, new JsonSerializerSettings() { NullValueHandling = NullValueHandling.Ignore }); } } + + public bool ShouldSerializeSubnets() + { + return !string.IsNullOrEmpty(this.Name); + } + + public bool ShouldSerializeRoutes() + { + return !string.IsNullOrEmpty(this.Name); + } } } diff --git a/src/ResourceManager/Network/Commands.Network/Models/PSSubnet.cs b/src/ResourceManager/Network/Commands.Network/Models/PSSubnet.cs index 75b34c6caf75..02c1a39f7bc9 100644 --- a/src/ResourceManager/Network/Commands.Network/Models/PSSubnet.cs +++ b/src/ResourceManager/Network/Commands.Network/Models/PSSubnet.cs @@ -15,6 +15,7 @@ namespace Microsoft.Azure.Commands.Network.Models { using System.Collections.Generic; + using System.Runtime.CompilerServices; using Newtonsoft.Json; @@ -52,5 +53,10 @@ public string RouteTableText { get { return JsonConvert.SerializeObject(RouteTable, Formatting.Indented, new JsonSerializerSettings() { NullValueHandling = NullValueHandling.Ignore }); } } + + public bool ShouldSerializeIpConfigurations() + { + return !string.IsNullOrEmpty(this.Name); + } } } From 8b38ee63d441708148c92fb5aa1b79b2549439fe Mon Sep 17 00:00:00 2001 From: dihan Date: Thu, 7 Jan 2016 19:02:19 -0800 Subject: [PATCH 20/20] Enable test for get-serviceprovider cmdlet --- .../Commands.Network.Test.csproj | 2 +- .../ExpressRouteServiceProviderTests.cs | 2 +- .../ExpressRouteServiceProviderTests.ps1 | 12 +++++---- .../TestExpressRouteServiceProviderList.json | 26 ++++++++++++------- .../Commands.Network.Test/packages.config | 2 +- .../Commands.Network/Commands.Network.csproj | 2 +- .../Network/Commands.Network/packages.config | 2 +- 7 files changed, 28 insertions(+), 20 deletions(-) diff --git a/src/ResourceManager/Network/Commands.Network.Test/Commands.Network.Test.csproj b/src/ResourceManager/Network/Commands.Network.Test/Commands.Network.Test.csproj index 580a4430bbaf..d9beddaecff9 100644 --- a/src/ResourceManager/Network/Commands.Network.Test/Commands.Network.Test.csproj +++ b/src/ResourceManager/Network/Commands.Network.Test/Commands.Network.Test.csproj @@ -67,7 +67,7 @@ ..\..\..\packages\Microsoft.Azure.Management.Authorization.2.0.0\lib\net40\Microsoft.Azure.Management.Authorization.dll - ..\..\..\packages\Microsoft.Azure.Management.Network.3.0.4-preview\lib\net45\Microsoft.Azure.Management.Network.dll + ..\..\..\packages\Microsoft.Azure.Management.Network.3.1.0-preview\lib\net45\Microsoft.Azure.Management.Network.dll True diff --git a/src/ResourceManager/Network/Commands.Network.Test/ScenarioTests/ExpressRouteServiceProviderTests.cs b/src/ResourceManager/Network/Commands.Network.Test/ScenarioTests/ExpressRouteServiceProviderTests.cs index 1a88004cc52b..c21e8d453701 100644 --- a/src/ResourceManager/Network/Commands.Network.Test/ScenarioTests/ExpressRouteServiceProviderTests.cs +++ b/src/ResourceManager/Network/Commands.Network.Test/ScenarioTests/ExpressRouteServiceProviderTests.cs @@ -19,7 +19,7 @@ namespace Commands.Network.Test.ScenarioTests { public class ExpressRouteServiceProviderTests : Microsoft.WindowsAzure.Commands.Test.Utilities.Common.RMTestBase { - [Fact(Skip = "Rerecord tests")] + [Fact] [Trait(Category.AcceptanceType, Category.CheckIn)] public void TestExpressRouteServiceProviderList() { diff --git a/src/ResourceManager/Network/Commands.Network.Test/ScenarioTests/ExpressRouteServiceProviderTests.ps1 b/src/ResourceManager/Network/Commands.Network.Test/ScenarioTests/ExpressRouteServiceProviderTests.ps1 index 15767c21b6b8..7a9339f53a3b 100644 --- a/src/ResourceManager/Network/Commands.Network.Test/ScenarioTests/ExpressRouteServiceProviderTests.ps1 +++ b/src/ResourceManager/Network/Commands.Network.Test/ScenarioTests/ExpressRouteServiceProviderTests.ps1 @@ -19,9 +19,11 @@ Tests ExpressRouteServiceProviderList. function Test-ExpressRouteServiceProviderList { $providers = Get-AzureRmExpressRouteServiceProvider - - Assert-AreNotEqual 0 @($providers).Count - Assert-AreNotEqual 0 @($providers[0].PeeringLocations).Count - Assert-AreNotEqual 0 @($providers[0].BandwidthsOffered).Count - Assert-NotNull $providers[0].Name + Assert-NotNull $providers + Assert-AreNotEqual 0 @($providers).Count + Assert-NotNull $providers[0].Name + Assert-NotNull $providers[0].PeeringLocations + Assert-NotNull $providers[0].BandwidthsOffered + Assert-AreNotEqual 0 @($providers[0].PeeringLocations).Count + Assert-AreNotEqual 0 @($providers[0].BandwidthsOffered).Count } \ No newline at end of file diff --git a/src/ResourceManager/Network/Commands.Network.Test/SessionRecords/Commands.Network.Test.ScenarioTests.ExpressRouteServiceProviderTests/TestExpressRouteServiceProviderList.json b/src/ResourceManager/Network/Commands.Network.Test/SessionRecords/Commands.Network.Test.ScenarioTests.ExpressRouteServiceProviderTests/TestExpressRouteServiceProviderList.json index 3028f9c74c15..72eac396dd8e 100644 --- a/src/ResourceManager/Network/Commands.Network.Test/SessionRecords/Commands.Network.Test.ScenarioTests.ExpressRouteServiceProviderTests/TestExpressRouteServiceProviderList.json +++ b/src/ResourceManager/Network/Commands.Network.Test/SessionRecords/Commands.Network.Test.ScenarioTests.ExpressRouteServiceProviderTests/TestExpressRouteServiceProviderList.json @@ -1,19 +1,25 @@ { "Entries": [ { - "RequestUri": "/subscriptions/9532a63e-f2eb-4649-bb23-5ed01077ce80/providers/Microsoft.Network/expressRouteServiceProviders?api-version=2015-05-01-preview", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvOTUzMmE2M2UtZjJlYi00NjQ5LWJiMjMtNWVkMDEwNzdjZTgwL3Byb3ZpZGVycy9NaWNyb3NvZnQuTmV0d29yay9leHByZXNzUm91dGVTZXJ2aWNlUHJvdmlkZXJzP2FwaS12ZXJzaW9uPTIwMTUtMDUtMDEtcHJldmlldw==", + "RequestUri": "/subscriptions/9532a63e-f2eb-4649-bb23-5ed01077ce80/providers/Microsoft.Network/expressRouteServiceProviders?api-version=2015-06-15", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvOTUzMmE2M2UtZjJlYi00NjQ5LWJiMjMtNWVkMDEwNzdjZTgwL3Byb3ZpZGVycy9NaWNyb3NvZnQuTmV0d29yay9leHByZXNzUm91dGVTZXJ2aWNlUHJvdmlkZXJzP2FwaS12ZXJzaW9uPTIwMTUtMDYtMTU=", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { + "x-ms-client-request-id": [ + "46d72a52-42f7-42e9-802e-0a6eb323ec89" + ], + "accept-language": [ + "en-US" + ], "User-Agent": [ - "Microsoft.Azure.Management.Network.NetworkResourceProviderClient/2.0.0.0" + "Microsoft.Azure.Management.Network.NetworkManagementClient/3.0.0.0" ] }, - "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"name\": \"Equinix\",\r\n \"id\": \"/subscriptions//resourceGroups//providers/Microsoft.Network/expressRouteServiceProviders/\",\r\n \"type\": \"Microsoft.Network/expressRouteServiceProviders\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"peeringLocations\": [\r\n \"Amsterdam\",\r\n \"Atlanta\",\r\n \"Chicago\",\r\n \"Dallas\",\r\n \"Hong Kong\",\r\n \"London\",\r\n \"Los Angeles\",\r\n \"Melbourne\",\r\n \"New York\",\r\n \"Sao Paulo\",\r\n \"Seattle\",\r\n \"Silicon Valley\",\r\n \"Singapore\",\r\n \"Sydney\",\r\n \"Tokyo\",\r\n \"Washington DC\"\r\n ],\r\n \"bandwidthsOffered\": [\r\n {\r\n \"offerName\": \"200Mbps\",\r\n \"valueInMbps\": 200\r\n },\r\n {\r\n \"offerName\": \"500Mbps\",\r\n \"valueInMbps\": 500\r\n },\r\n {\r\n \"offerName\": \"1Gbps\",\r\n \"valueInMbps\": 1000\r\n },\r\n {\r\n \"offerName\": \"10Gbps\",\r\n \"valueInMbps\": 10000\r\n }\r\n ]\r\n }\r\n }\r\n ]\r\n}", + "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"name\": \"AT&T Netbond Test\",\r\n \"id\": \"/subscriptions//resourceGroups//providers/Microsoft.Network/expressRouteServiceProviders/\",\r\n \"type\": \"Microsoft.Network/expressRouteServiceProviders\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"peeringLocations\": [\r\n \"Area51\",\r\n \"ASCVA001\",\r\n \"SN1CA001\"\r\n ],\r\n \"bandwidthsOffered\": [\r\n {\r\n \"offerName\": \"50Mbps\",\r\n \"valueInMbps\": 50\r\n },\r\n {\r\n \"offerName\": \"100Mbps\",\r\n \"valueInMbps\": 100\r\n },\r\n {\r\n \"offerName\": \"200Mbps\",\r\n \"valueInMbps\": 200\r\n },\r\n {\r\n \"offerName\": \"500Mbps\",\r\n \"valueInMbps\": 500\r\n },\r\n {\r\n \"offerName\": \"1Gbps\",\r\n \"valueInMbps\": 1000\r\n },\r\n {\r\n \"offerName\": \"2Gbps\",\r\n \"valueInMbps\": 2000\r\n },\r\n {\r\n \"offerName\": \"5Gbps\",\r\n \"valueInMbps\": 5000\r\n },\r\n {\r\n \"offerName\": \"10Gbps\",\r\n \"valueInMbps\": 10000\r\n }\r\n ]\r\n }\r\n },\r\n {\r\n \"name\": \"BT Test\",\r\n \"id\": \"/subscriptions//resourceGroups//providers/Microsoft.Network/expressRouteServiceProviders/\",\r\n \"type\": \"Microsoft.Network/expressRouteServiceProviders\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"peeringLocations\": [\r\n \"Area51\"\r\n ],\r\n \"bandwidthsOffered\": [\r\n {\r\n \"offerName\": \"50Mbps\",\r\n \"valueInMbps\": 50\r\n },\r\n {\r\n \"offerName\": \"100Mbps\",\r\n \"valueInMbps\": 100\r\n },\r\n {\r\n \"offerName\": \"200Mbps\",\r\n \"valueInMbps\": 200\r\n },\r\n {\r\n \"offerName\": \"500Mbps\",\r\n \"valueInMbps\": 500\r\n },\r\n {\r\n \"offerName\": \"1Gbps\",\r\n \"valueInMbps\": 1000\r\n },\r\n {\r\n \"offerName\": \"2Gbps\",\r\n \"valueInMbps\": 2000\r\n },\r\n {\r\n \"offerName\": \"5Gbps\",\r\n \"valueInMbps\": 5000\r\n },\r\n {\r\n \"offerName\": \"10Gbps\",\r\n \"valueInMbps\": 10000\r\n }\r\n ]\r\n }\r\n },\r\n {\r\n \"name\": \"Equinix Test\",\r\n \"id\": \"/subscriptions//resourceGroups//providers/Microsoft.Network/expressRouteServiceProviders/\",\r\n \"type\": \"Microsoft.Network/expressRouteServiceProviders\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"peeringLocations\": [\r\n \"Area51\",\r\n \"London Test\",\r\n \"Silicon Valley Test\",\r\n \"Singapore Test\"\r\n ],\r\n \"bandwidthsOffered\": [\r\n {\r\n \"offerName\": \"50Mbps\",\r\n \"valueInMbps\": 50\r\n },\r\n {\r\n \"offerName\": \"100Mbps\",\r\n \"valueInMbps\": 100\r\n },\r\n {\r\n \"offerName\": \"200Mbps\",\r\n \"valueInMbps\": 200\r\n },\r\n {\r\n \"offerName\": \"500Mbps\",\r\n \"valueInMbps\": 500\r\n },\r\n {\r\n \"offerName\": \"1Gbps\",\r\n \"valueInMbps\": 1000\r\n },\r\n {\r\n \"offerName\": \"2Gbps\",\r\n \"valueInMbps\": 2000\r\n },\r\n {\r\n \"offerName\": \"5Gbps\",\r\n \"valueInMbps\": 5000\r\n },\r\n {\r\n \"offerName\": \"10Gbps\",\r\n \"valueInMbps\": 10000\r\n }\r\n ]\r\n }\r\n },\r\n {\r\n \"name\": \"Interxion Test\",\r\n \"id\": \"/subscriptions//resourceGroups//providers/Microsoft.Network/expressRouteServiceProviders/\",\r\n \"type\": \"Microsoft.Network/expressRouteServiceProviders\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"peeringLocations\": [\r\n \"Area51\"\r\n ],\r\n \"bandwidthsOffered\": [\r\n {\r\n \"offerName\": \"50Mbps\",\r\n \"valueInMbps\": 50\r\n },\r\n {\r\n \"offerName\": \"100Mbps\",\r\n \"valueInMbps\": 100\r\n },\r\n {\r\n \"offerName\": \"200Mbps\",\r\n \"valueInMbps\": 200\r\n },\r\n {\r\n \"offerName\": \"500Mbps\",\r\n \"valueInMbps\": 500\r\n },\r\n {\r\n \"offerName\": \"1Gbps\",\r\n \"valueInMbps\": 1000\r\n },\r\n {\r\n \"offerName\": \"2Gbps\",\r\n \"valueInMbps\": 2000\r\n },\r\n {\r\n \"offerName\": \"5Gbps\",\r\n \"valueInMbps\": 5000\r\n },\r\n {\r\n \"offerName\": \"10Gbps\",\r\n \"valueInMbps\": 10000\r\n }\r\n ]\r\n }\r\n },\r\n {\r\n \"name\": \"Microsoft ER Test\",\r\n \"id\": \"/subscriptions//resourceGroups//providers/Microsoft.Network/expressRouteServiceProviders/\",\r\n \"type\": \"Microsoft.Network/expressRouteServiceProviders\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"peeringLocations\": [\r\n \"Area51\"\r\n ],\r\n \"bandwidthsOffered\": [\r\n {\r\n \"offerName\": \"50Mbps\",\r\n \"valueInMbps\": 50\r\n },\r\n {\r\n \"offerName\": \"100Mbps\",\r\n \"valueInMbps\": 100\r\n },\r\n {\r\n \"offerName\": \"200Mbps\",\r\n \"valueInMbps\": 200\r\n },\r\n {\r\n \"offerName\": \"500Mbps\",\r\n \"valueInMbps\": 500\r\n },\r\n {\r\n \"offerName\": \"1Gbps\",\r\n \"valueInMbps\": 1000\r\n },\r\n {\r\n \"offerName\": \"2Gbps\",\r\n \"valueInMbps\": 2000\r\n },\r\n {\r\n \"offerName\": \"5Gbps\",\r\n \"valueInMbps\": 5000\r\n },\r\n {\r\n \"offerName\": \"10Gbps\",\r\n \"valueInMbps\": 10000\r\n }\r\n ]\r\n }\r\n },\r\n {\r\n \"name\": \"NTT Test\",\r\n \"id\": \"/subscriptions//resourceGroups//providers/Microsoft.Network/expressRouteServiceProviders/\",\r\n \"type\": \"Microsoft.Network/expressRouteServiceProviders\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"peeringLocations\": [\r\n \"Area51\"\r\n ],\r\n \"bandwidthsOffered\": [\r\n {\r\n \"offerName\": \"50Mbps\",\r\n \"valueInMbps\": 50\r\n },\r\n {\r\n \"offerName\": \"100Mbps\",\r\n \"valueInMbps\": 100\r\n },\r\n {\r\n \"offerName\": \"200Mbps\",\r\n \"valueInMbps\": 200\r\n },\r\n {\r\n \"offerName\": \"500Mbps\",\r\n \"valueInMbps\": 500\r\n },\r\n {\r\n \"offerName\": \"1Gbps\",\r\n \"valueInMbps\": 1000\r\n },\r\n {\r\n \"offerName\": \"2Gbps\",\r\n \"valueInMbps\": 2000\r\n },\r\n {\r\n \"offerName\": \"5Gbps\",\r\n \"valueInMbps\": 5000\r\n },\r\n {\r\n \"offerName\": \"10Gbps\",\r\n \"valueInMbps\": 10000\r\n }\r\n ]\r\n }\r\n },\r\n {\r\n \"name\": \"PCCW Test\",\r\n \"id\": \"/subscriptions//resourceGroups//providers/Microsoft.Network/expressRouteServiceProviders/\",\r\n \"type\": \"Microsoft.Network/expressRouteServiceProviders\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"peeringLocations\": [\r\n \"Area51\"\r\n ],\r\n \"bandwidthsOffered\": [\r\n {\r\n \"offerName\": \"50Mbps\",\r\n \"valueInMbps\": 50\r\n },\r\n {\r\n \"offerName\": \"100Mbps\",\r\n \"valueInMbps\": 100\r\n },\r\n {\r\n \"offerName\": \"200Mbps\",\r\n \"valueInMbps\": 200\r\n },\r\n {\r\n \"offerName\": \"500Mbps\",\r\n \"valueInMbps\": 500\r\n },\r\n {\r\n \"offerName\": \"1Gbps\",\r\n \"valueInMbps\": 1000\r\n },\r\n {\r\n \"offerName\": \"2Gbps\",\r\n \"valueInMbps\": 2000\r\n },\r\n {\r\n \"offerName\": \"5Gbps\",\r\n \"valueInMbps\": 5000\r\n },\r\n {\r\n \"offerName\": \"10Gbps\",\r\n \"valueInMbps\": 10000\r\n }\r\n ]\r\n }\r\n }\r\n ]\r\n}", "ResponseHeaders": { "Content-Length": [ - "1152" + "8284" ], "Content-Type": [ "application/json; charset=utf-8" @@ -25,7 +31,7 @@ "no-cache" ], "x-ms-request-id": [ - "db4d59f2-edf8-407a-b58b-483e934d89e7" + "502fb578-f6c7-4f35-b4c7-847e9a1e48c6" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -38,16 +44,16 @@ "Microsoft-HTTPAPI/2.0" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "14970" + "14999" ], "x-ms-correlation-request-id": [ - "b9a38c7f-045d-4b51-af24-2a69cf405513" + "3c298b9b-2cf9-4fa4-84b5-4df87b7b06ed" ], "x-ms-routing-request-id": [ - "WESTUS:20151003T000540Z:b9a38c7f-045d-4b51-af24-2a69cf405513" + "WESTUS:20151218T200124Z:3c298b9b-2cf9-4fa4-84b5-4df87b7b06ed" ], "Date": [ - "Sat, 03 Oct 2015 00:05:39 GMT" + "Fri, 18 Dec 2015 20:01:24 GMT" ] }, "StatusCode": 200 diff --git a/src/ResourceManager/Network/Commands.Network.Test/packages.config b/src/ResourceManager/Network/Commands.Network.Test/packages.config index 002c4d775c5d..992bacedd6ab 100644 --- a/src/ResourceManager/Network/Commands.Network.Test/packages.config +++ b/src/ResourceManager/Network/Commands.Network.Test/packages.config @@ -7,7 +7,7 @@ - + diff --git a/src/ResourceManager/Network/Commands.Network/Commands.Network.csproj b/src/ResourceManager/Network/Commands.Network/Commands.Network.csproj index 9475fb7f72c3..350ec492c89b 100644 --- a/src/ResourceManager/Network/Commands.Network/Commands.Network.csproj +++ b/src/ResourceManager/Network/Commands.Network/Commands.Network.csproj @@ -77,7 +77,7 @@ ..\..\..\packages\Microsoft.Azure.Management.Authorization.2.0.0\lib\net40\Microsoft.Azure.Management.Authorization.dll - ..\..\..\packages\Microsoft.Azure.Management.Network.3.0.6-preview\lib\net45\Microsoft.Azure.Management.Network.dll + ..\..\..\packages\Microsoft.Azure.Management.Network.3.1.0-preview\lib\net45\Microsoft.Azure.Management.Network.dll True diff --git a/src/ResourceManager/Network/Commands.Network/packages.config b/src/ResourceManager/Network/Commands.Network/packages.config index 5013db0d354d..1ddd89c12653 100644 --- a/src/ResourceManager/Network/Commands.Network/packages.config +++ b/src/ResourceManager/Network/Commands.Network/packages.config @@ -9,7 +9,7 @@ - +